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.
- package/dist/agents/utils.d.ts +3 -2
- package/dist/cli/index.js +313 -106
- package/dist/cli/index.test.d.ts +1 -0
- package/dist/config/index.d.ts +2 -2
- package/dist/config/schema.d.ts +602 -3
- package/dist/features/background-agent/manager.d.ts +13 -2
- package/dist/features/builtin-commands/templates/start-work.d.ts +1 -1
- package/dist/features/builtin-skills/index.d.ts +1 -1
- package/dist/features/builtin-skills/skills.d.ts +5 -1
- package/dist/features/builtin-skills/skills.test.d.ts +1 -0
- package/dist/features/opencode-skill-loader/skill-content.d.ts +3 -2
- package/dist/features/tmux-subagent/action-executor.d.ts +22 -0
- package/dist/features/tmux-subagent/decision-engine.d.ts +38 -0
- package/dist/features/tmux-subagent/decision-engine.test.d.ts +1 -0
- package/dist/features/tmux-subagent/index.d.ts +5 -0
- package/dist/features/tmux-subagent/manager.d.ts +54 -0
- package/dist/features/tmux-subagent/manager.test.d.ts +1 -0
- package/dist/features/tmux-subagent/pane-state-querier.d.ts +2 -0
- package/dist/features/tmux-subagent/types.d.ts +51 -0
- package/dist/hooks/category-skill-reminder/index.d.ts +22 -0
- package/dist/hooks/category-skill-reminder/index.test.d.ts +1 -0
- package/dist/hooks/index.d.ts +2 -0
- package/dist/hooks/sisyphus-junior-notepad/constants.d.ts +2 -0
- package/dist/hooks/sisyphus-junior-notepad/index.d.ts +12 -0
- package/dist/index.js +3265 -1073
- package/dist/shared/connected-providers-cache.d.ts +52 -0
- package/dist/shared/data-path.d.ts +16 -0
- package/dist/shared/index.d.ts +3 -0
- package/dist/shared/model-availability.d.ts +4 -5
- package/dist/shared/model-resolver.d.ts +4 -4
- package/dist/shared/session-utils.d.ts +2 -0
- package/dist/shared/tmux/constants.d.ts +5 -0
- package/dist/shared/tmux/index.d.ts +3 -0
- package/dist/shared/tmux/tmux-utils.d.ts +17 -0
- package/dist/shared/tmux/tmux-utils.test.d.ts +1 -0
- package/dist/shared/tmux/types.d.ts +4 -0
- package/dist/tools/delegate-task/constants.d.ts +18 -0
- package/dist/tools/delegate-task/tools.d.ts +11 -3
- package/dist/tools/slashcommand/tools.test.d.ts +1 -0
- package/package.json +8 -8
package/dist/agents/utils.d.ts
CHANGED
|
@@ -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 {};
|