opencode-orchestrator 0.1.30 → 0.1.33

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.d.ts CHANGED
@@ -61,6 +61,7 @@ declare const OrchestratorPlugin: (input: PluginInput) => Promise<{
61
61
  }, context: import("@opencode-ai/plugin").ToolContext): Promise<string>;
62
62
  };
63
63
  };
64
+ config: (config: Record<string, unknown>) => Promise<void>;
64
65
  "chat.message": (input: any, output: any) => Promise<void>;
65
66
  "tool.execute.after": (input: {
66
67
  tool: string;
package/dist/index.js CHANGED
@@ -12968,6 +12968,20 @@ var OrchestratorPlugin = async (input) => {
12968
12968
  grep_search: grepSearchTool(directory),
12969
12969
  glob_search: globSearchTool(directory)
12970
12970
  },
12971
+ config: async (config2) => {
12972
+ const existingCommands = config2.command ?? {};
12973
+ const orchestratorCommands = {};
12974
+ for (const [name, cmd] of Object.entries(COMMANDS)) {
12975
+ orchestratorCommands[name] = {
12976
+ description: cmd.description,
12977
+ template: cmd.template
12978
+ };
12979
+ }
12980
+ config2.command = {
12981
+ ...orchestratorCommands,
12982
+ ...existingCommands
12983
+ };
12984
+ },
12971
12985
  "chat.message": async (input2, output) => {
12972
12986
  const parts = output.parts;
12973
12987
  const textPartIndex = parts.findIndex((p) => p.type === "text" && p.text);
@@ -45,8 +45,9 @@ function install() {
45
45
  console.log("\uD83D\uDE80 Ready! Restart OpenCode to use.");
46
46
  console.log("");
47
47
  console.log("Commands:");
48
- console.log("Commands:");
49
- console.log(' /auto "task" - The only command you need');
48
+ console.log(' /auto "task" - Autonomous execution');
49
+ console.log(' /plan "task" - Decompose into atomic tasks');
50
+ console.log(" /review - Quality check");
50
51
  console.log("");
51
52
  }
52
53
  install();
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "opencode-orchestrator",
3
- "version": "0.1.30",
3
+ "version": "0.1.33",
4
4
  "description": "6-Agent collaborative architecture for OpenCode - Make any model reliable",
5
5
  "author": "agnusdei1207",
6
6
  "license": "MIT",
@@ -55,7 +55,8 @@
55
55
  "release:minor": "bun run build:full && bun run test && bun run version:minor && bun run publish:npm && bun run release:git",
56
56
  "release:major": "bun run build:full && bun run test && bun run version:major && bun run publish:npm && bun run release:git",
57
57
  "release:git": "git add -A && git commit -m \"Release v$(node -p \"require('./package.json').version\")\" && git tag \"v$(node -p \"require('./package.json').version\")\" && git push && git push --tags",
58
- "postinstall": "node dist/scripts/postinstall.js 2>/dev/null || true"
58
+ "postinstall": "node dist/scripts/postinstall.js 2>/dev/null || true",
59
+ "stars": "gh api repos/agnusdei1207/opencode-orchestrator/stargazers --jq '.[].login'"
59
60
  },
60
61
  "dependencies": {
61
62
  "@opencode-ai/plugin": "^1.1.1",