oh-my-claudecode-opencode 0.5.2 → 0.5.4

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/README.md CHANGED
@@ -192,14 +192,14 @@ background_cancel(all=true)
192
192
 
193
193
  ```typescript
194
194
  // Synchronous call
195
- call_omo_agent(
195
+ call_omco_agent(
196
196
  subagent_type="oracle",
197
197
  prompt="Review this architecture decision...",
198
198
  run_in_background=false
199
199
  )
200
200
 
201
201
  // Async call
202
- call_omo_agent(
202
+ call_omco_agent(
203
203
  subagent_type="explore",
204
204
  prompt="Find all React components",
205
205
  run_in_background=true
package/dist/index.js CHANGED
@@ -20830,7 +20830,7 @@ async function loadAllAgents(directory) {
20830
20830
  }
20831
20831
  function getAgentsDirectory() {
20832
20832
  const currentFile = fileURLToPath(import.meta.url);
20833
- const projectRoot = join2(dirname(currentFile), "..", "..");
20833
+ const projectRoot = join2(dirname(currentFile), "..");
20834
20834
  return join2(projectRoot, "assets", "agents");
20835
20835
  }
20836
20836
 
@@ -34200,8 +34200,8 @@ Use \`background_output\` to get results. Prompts MUST be in English.`,
34200
34200
  };
34201
34201
  }
34202
34202
 
34203
- // src/tools/call-omo-agent.ts
34204
- function createCallOmoAgent(ctx, manager) {
34203
+ // src/tools/call-omco-agent.ts
34204
+ function createCallOmcoAgent(ctx, manager) {
34205
34205
  const agentNames = listAgentNames();
34206
34206
  const agentList = agentNames.map((name) => {
34207
34207
  const agent = getAgent(name);
@@ -34441,7 +34441,7 @@ function loadAllSkills(directory) {
34441
34441
 
34442
34442
  // src/skills/index.ts
34443
34443
  var __dirname2 = dirname2(fileURLToPath2(import.meta.url));
34444
- var SKILLS_DIR = join4(__dirname2, "../../assets/skills");
34444
+ var SKILLS_DIR = join4(__dirname2, "../assets/skills");
34445
34445
  var skillsCache = null;
34446
34446
  function getSkillsCache() {
34447
34447
  if (!skillsCache) {
@@ -36976,7 +36976,7 @@ function createSystemPromptInjector(_ctx) {
36976
36976
  }
36977
36977
 
36978
36978
  // src/hooks/remember-tag-processor.ts
36979
- var DEFAULT_TOOLS = ["Task", "task", "call_omo_agent"];
36979
+ var DEFAULT_TOOLS = ["Task", "task", "call_omco_agent"];
36980
36980
  function createRememberTagProcessor(ctx, options = {}) {
36981
36981
  const taskToolOnly = options.taskToolOnly ?? true;
36982
36982
  const toolNames = options.toolNames ?? DEFAULT_TOOLS;
@@ -38235,7 +38235,7 @@ var OmoOmcsPlugin = async (ctx) => {
38235
38235
  console.log("[omco] Config loaded:", pluginConfig);
38236
38236
  const backgroundManager = createBackgroundManager(ctx, pluginConfig.background_task);
38237
38237
  const backgroundTools = createBackgroundTools(backgroundManager, ctx.client);
38238
- const callOmoAgent = createCallOmoAgent(ctx, backgroundManager);
38238
+ const callOmcoAgent = createCallOmcoAgent(ctx, backgroundManager);
38239
38239
  const systemPromptInjector = createSystemPromptInjector(ctx);
38240
38240
  const skillInjector = createSkillInjector(ctx);
38241
38241
  const ralphLoop = createRalphLoopHook(ctx, {
@@ -38358,7 +38358,7 @@ var OmoOmcsPlugin = async (ctx) => {
38358
38358
  },
38359
38359
  tool: {
38360
38360
  ...backgroundTools,
38361
- call_omo_agent: callOmoAgent
38361
+ call_omco_agent: callOmcoAgent
38362
38362
  }
38363
38363
  };
38364
38364
  };
@@ -1,3 +1,3 @@
1
1
  import { type PluginInput, type ToolDefinition } from "@opencode-ai/plugin";
2
2
  import type { BackgroundManager } from "./background-manager";
3
- export declare function createCallOmoAgent(ctx: PluginInput, manager: BackgroundManager): ToolDefinition;
3
+ export declare function createCallOmcoAgent(ctx: PluginInput, manager: BackgroundManager): ToolDefinition;
@@ -1,4 +1,4 @@
1
1
  export { createBackgroundManager, type BackgroundManager, type BackgroundTask } from "./background-manager";
2
2
  export { createBackgroundTools } from "./background-tools";
3
- export { createCallOmoAgent } from "./call-omo-agent";
3
+ export { createCallOmcoAgent } from "./call-omco-agent";
4
4
  export { builtinTools } from "./builtin";
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "oh-my-claudecode-opencode",
3
- "version": "0.5.2",
3
+ "version": "0.5.4",
4
4
  "description": "OpenCode port of oh-my-claudecode - Multi-agent orchestration plugin (omco)",
5
5
  "main": "dist/index.js",
6
6
  "types": "dist/index.d.ts",