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 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 initCommandSrc = join(bundledTemplatesDir, "commands", "manifold-init.md");
117
- const initCommandDest = join(globalCommandsDir, "manifold-init.md");
118
- if (existsSync(initCommandSrc)) {
119
- await copyFile(initCommandSrc, initCommandDest);
120
- } else {
121
- if (existsSync(initCommandDest)) {
122
- const { rm } = await import("fs/promises");
123
- await rm(initCommandDest, { force: true });
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
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "opencode-manifold",
3
- "version": "0.5.26",
3
+ "version": "0.5.28",
4
4
  "description": "Multi-agent development system for opencode with persistent knowledge",
5
5
  "main": "dist/index.js",
6
6
  "type": "module",
@@ -1,7 +1,8 @@
1
1
  ---
2
2
  description: The Pragmatic Functional Architect focused on simplicity and DX
3
3
  color: "#A0E040"
4
- mode: secondary
4
+ mode: subagent
5
+ model:
5
6
  hidden: true
6
7
  permission:
7
8
  edit:
@@ -1,7 +1,8 @@
1
1
  ---
2
2
  description: The Socratic Lead Architect who synthesizes consensus from dialectic debate
3
3
  color: "#FFD700"
4
- mode: secondary
4
+ mode: subagent
5
+ model:
5
6
  hidden: true
6
7
  permission:
7
8
  edit:
@@ -1,7 +1,8 @@
1
1
  ---
2
2
  description: The Security-Focused Systems Engineer focused on performance and safety
3
3
  color: "#40A0E0"
4
- mode: secondary
4
+ mode: subagent
5
+ model:
5
6
  hidden: true
6
7
  permission:
7
8
  edit:
@@ -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.
@@ -0,0 +1,5 @@
1
+ ---
2
+ description: Display the currently active model path (provider/model) for agent configuration
3
+ agent: build
4
+ ---
5
+ The /manifold-model-path command has been executed by the plugin. The plugin will respond with the current model path.