No JSDoc comment in source yet.
API
@Component({
contributes: {
// How the Plugins page shows this module (read from ifaces.json, never by booting it).
"PluginLibraryModule.cards": [
{
id: "agent-state-git.card",
title: "Native Git for Agent State",
titleZh: "Agent State 原生 Git",
descriptionZh:
"PenguinHarness 的 Agent State 历史原生 Git:以 GitHub Desktop 的 dugite 构建写入与读回 Workbench 版本,应用越大越比内置引擎快。",
shortDescription: "Record workbench versions with native Git.",
shortDescriptionZh: "以原生 Git 记录 Workbench 版本。",
icon: "icon.svg",
preinstall: true,
preinstallExistingProjects: false,
},
],
// The engine; its id also names its directory under the data root's `cache/`.
"AgentStateHistoryModule.engines": [{ id: "agent-state-git.engine", name: "agent-state-git" }],
},
})
export class AgentStateGit {
@Bind("agent-state-git.engine") engine!: AgentStateEngineSource;
setup();
}Dependencies & Wiring
Extracted from class decorators@Bindbinds (1)
engine → agent-state-git.engine: AgentStateEngineSourceContributes
{
"PluginLibraryModule.cards": [
{
"id": "agent-state-git.card",
"title": "Native Git for Agent State",
"titleZh": "Agent State 原生 Git",
"descriptionZh": "PenguinHarness 的 Agent State 历史原生 Git:以 GitHub Desktop 的 dugite 构建写入与读回 Workbench 版本,应用越大越比内置引擎快。",
"shortDescription": "Record workbench versions with native Git.",
"shortDescriptionZh": "以原生 Git 记录 Workbench 版本。",
"icon": "icon.svg",
"preinstall": true,
"preinstallExistingProjects": false
}
],
"AgentStateHistoryModule.engines": [
{
"id": "agent-state-git.engine",
"name": "agent-state-git"
}
]
}Target slots: PluginLibraryModule.cards · AgentStateHistoryModule.engines
Methods (1)
setup
setup()