opencode-manifold 0.5.26 → 0.5.28
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/index.js +10 -8
- package/package.json +1 -1
- package/src/templates/agents/erlang.md +2 -1
- package/src/templates/agents/lead.md +2 -1
- package/src/templates/agents/systems.md +2 -1
- package/src/templates/commands/manifold-init.md +5 -0
- package/src/templates/commands/manifold-model-path.md +5 -0
package/dist/index.js
CHANGED
|
@@ -113,14 +113,16 @@ async function ensureGlobalTemplates(ctx) {
|
|
|
113
113
|
}
|
|
114
114
|
await copyFiles(bundledTemplatesDir, globalTemplatesDir);
|
|
115
115
|
const globalCommandsDir = join(homedir(), ".config", "opencode", "commands");
|
|
116
|
-
const
|
|
117
|
-
|
|
118
|
-
|
|
119
|
-
|
|
120
|
-
|
|
121
|
-
|
|
122
|
-
|
|
123
|
-
|
|
116
|
+
const bundledCommandsDir = join(bundledTemplatesDir, "commands");
|
|
117
|
+
if (existsSync(bundledCommandsDir)) {
|
|
118
|
+
const commandEntries = await readdir(bundledCommandsDir, { withFileTypes: true });
|
|
119
|
+
for (const entry of commandEntries) {
|
|
120
|
+
if (entry.isFile() && entry.name.endsWith(".md")) {
|
|
121
|
+
const src = join(bundledCommandsDir, entry.name);
|
|
122
|
+
const dest = join(globalCommandsDir, entry.name);
|
|
123
|
+
await mkdir(globalCommandsDir, { recursive: true });
|
|
124
|
+
await copyFile(src, dest);
|
|
125
|
+
}
|
|
124
126
|
}
|
|
125
127
|
}
|
|
126
128
|
await ctx.client.app.log({
|
package/package.json
CHANGED
|
@@ -0,0 +1,5 @@
|
|
|
1
|
+
---
|
|
2
|
+
description: Initialize Open Manifold multi-agent system for this project
|
|
3
|
+
agent: build
|
|
4
|
+
---
|
|
5
|
+
The /manifold-init command has been executed by the plugin. Tell the user: "Manifold is ready. Point the Manifold agent at a plan file to start executing tasks." Do not attempt any additional setup or file operations.
|