opencode-orchestrator 0.1.36 → 0.1.38

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
@@ -12338,7 +12338,6 @@ function tool(input) {
12338
12338
  }
12339
12339
  tool.schema = exports_external;
12340
12340
  // src/index.ts
12341
- import { appendFileSync } from "fs";
12342
12341
  var __dirname2 = dirname(fileURLToPath(import.meta.url));
12343
12342
  var AGENTS = {
12344
12343
  orchestrator: {
@@ -12960,17 +12959,8 @@ function detectSlashCommand(text) {
12960
12959
  return null;
12961
12960
  return { command: match[1], args: match[2] || "" };
12962
12961
  }
12963
- var LOG_FILE = "/tmp/opencode_debug.log";
12964
- var log = (msg) => {
12965
- try {
12966
- appendFileSync(LOG_FILE, `[${new Date().toISOString()}] ${msg}
12967
- `);
12968
- } catch {}
12969
- };
12970
12962
  var OrchestratorPlugin = async (input) => {
12971
- log("Plugin initializing...");
12972
12963
  const { directory } = input;
12973
- log(`Directory: ${directory}`);
12974
12964
  return {
12975
12965
  tool: {
12976
12966
  call_agent: callAgentTool,
@@ -12979,7 +12969,6 @@ var OrchestratorPlugin = async (input) => {
12979
12969
  glob_search: globSearchTool(directory)
12980
12970
  },
12981
12971
  config: async (config2) => {
12982
- log("Config handler called");
12983
12972
  const existingCommands = config2.command ?? {};
12984
12973
  const orchestratorCommands = {};
12985
12974
  for (const [name, cmd] of Object.entries(COMMANDS)) {
@@ -34,9 +34,10 @@ function install() {
34
34
  const pluginPath = getPluginPath();
35
35
  const hasPlugin = config.plugin.some((p) => p === PLUGIN_NAME || p === pluginPath || p.includes("opencode-orchestrator"));
36
36
  if (!hasPlugin) {
37
- config.plugin.push(PLUGIN_NAME);
37
+ config.plugin.push(pluginPath);
38
38
  writeFileSync(CONFIG_FILE, JSON.stringify(config, null, 2));
39
39
  console.log("✅ Plugin registered!");
40
+ console.log(` Path: ${pluginPath}`);
40
41
  console.log(` Config: ${CONFIG_FILE}`);
41
42
  } else {
42
43
  console.log("✅ Plugin already registered.");
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "opencode-orchestrator",
3
- "version": "0.1.36",
3
+ "version": "0.1.38",
4
4
  "description": "6-Agent collaborative architecture for OpenCode - Make any model reliable",
5
5
  "author": "agnusdei1207",
6
6
  "license": "MIT",