oh-my-opencode 3.0.1 → 3.1.1

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.
Files changed (40) hide show
  1. package/dist/agents/utils.d.ts +3 -2
  2. package/dist/cli/index.js +313 -106
  3. package/dist/cli/index.test.d.ts +1 -0
  4. package/dist/config/index.d.ts +2 -2
  5. package/dist/config/schema.d.ts +602 -3
  6. package/dist/features/background-agent/manager.d.ts +13 -2
  7. package/dist/features/builtin-commands/templates/start-work.d.ts +1 -1
  8. package/dist/features/builtin-skills/index.d.ts +1 -1
  9. package/dist/features/builtin-skills/skills.d.ts +5 -1
  10. package/dist/features/builtin-skills/skills.test.d.ts +1 -0
  11. package/dist/features/opencode-skill-loader/skill-content.d.ts +3 -2
  12. package/dist/features/tmux-subagent/action-executor.d.ts +22 -0
  13. package/dist/features/tmux-subagent/decision-engine.d.ts +38 -0
  14. package/dist/features/tmux-subagent/decision-engine.test.d.ts +1 -0
  15. package/dist/features/tmux-subagent/index.d.ts +5 -0
  16. package/dist/features/tmux-subagent/manager.d.ts +54 -0
  17. package/dist/features/tmux-subagent/manager.test.d.ts +1 -0
  18. package/dist/features/tmux-subagent/pane-state-querier.d.ts +2 -0
  19. package/dist/features/tmux-subagent/types.d.ts +51 -0
  20. package/dist/hooks/category-skill-reminder/index.d.ts +22 -0
  21. package/dist/hooks/category-skill-reminder/index.test.d.ts +1 -0
  22. package/dist/hooks/index.d.ts +2 -0
  23. package/dist/hooks/sisyphus-junior-notepad/constants.d.ts +2 -0
  24. package/dist/hooks/sisyphus-junior-notepad/index.d.ts +12 -0
  25. package/dist/index.js +3265 -1073
  26. package/dist/shared/connected-providers-cache.d.ts +52 -0
  27. package/dist/shared/data-path.d.ts +16 -0
  28. package/dist/shared/index.d.ts +3 -0
  29. package/dist/shared/model-availability.d.ts +4 -5
  30. package/dist/shared/model-resolver.d.ts +4 -4
  31. package/dist/shared/session-utils.d.ts +2 -0
  32. package/dist/shared/tmux/constants.d.ts +5 -0
  33. package/dist/shared/tmux/index.d.ts +3 -0
  34. package/dist/shared/tmux/tmux-utils.d.ts +17 -0
  35. package/dist/shared/tmux/tmux-utils.test.d.ts +1 -0
  36. package/dist/shared/tmux/types.d.ts +4 -0
  37. package/dist/tools/delegate-task/constants.d.ts +18 -0
  38. package/dist/tools/delegate-task/tools.d.ts +11 -3
  39. package/dist/tools/slashcommand/tools.test.d.ts +1 -0
  40. package/package.json +8 -8
@@ -2,8 +2,9 @@ import type { AgentConfig } from "@opencode-ai/sdk";
2
2
  import type { AgentOverrides, AgentFactory } from "./types";
3
3
  import type { CategoriesConfig, GitMasterConfig } from "../config/schema";
4
4
  import type { LoadedSkill } from "../features/opencode-skill-loader/types";
5
+ import type { BrowserAutomationProvider } from "../config/schema";
5
6
  type AgentSource = AgentFactory | AgentConfig;
6
- export declare function buildAgent(source: AgentSource, model: string, categories?: CategoriesConfig, gitMasterConfig?: GitMasterConfig): AgentConfig;
7
+ export declare function buildAgent(source: AgentSource, model: string, categories?: CategoriesConfig, gitMasterConfig?: GitMasterConfig, browserProvider?: BrowserAutomationProvider): AgentConfig;
7
8
  /**
8
9
  * Creates OmO-specific environment context (time, timezone, locale).
9
10
  * Note: Working directory, platform, and date are already provided by OpenCode's system.ts,
@@ -11,5 +12,5 @@ export declare function buildAgent(source: AgentSource, model: string, categorie
11
12
  * See: https://github.com/code-yeongyu/oh-my-opencode/issues/379
12
13
  */
13
14
  export declare function createEnvContext(): string;
14
- export declare function createBuiltinAgents(disabledAgents?: string[], agentOverrides?: AgentOverrides, directory?: string, systemDefaultModel?: string, categories?: CategoriesConfig, gitMasterConfig?: GitMasterConfig, discoveredSkills?: LoadedSkill[], client?: any): Promise<Record<string, AgentConfig>>;
15
+ export declare function createBuiltinAgents(disabledAgents?: string[], agentOverrides?: AgentOverrides, directory?: string, systemDefaultModel?: string, categories?: CategoriesConfig, gitMasterConfig?: GitMasterConfig, discoveredSkills?: LoadedSkill[], client?: any, browserProvider?: BrowserAutomationProvider): Promise<Record<string, AgentConfig>>;
15
16
  export {};