oh-my-opencode 3.2.2 → 3.2.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.
Files changed (42) hide show
  1. package/README.ja.md +0 -10
  2. package/README.ko.md +0 -14
  3. package/README.md +1 -15
  4. package/README.zh-cn.md +0 -14
  5. package/bin/oh-my-opencode.js +0 -0
  6. package/dist/agents/atlas/utils.d.ts +1 -1
  7. package/dist/agents/dynamic-agent-prompt-builder.d.ts +6 -0
  8. package/dist/agents/utils.d.ts +2 -2
  9. package/dist/cli/doctor/checks/model-resolution.d.ts +5 -0
  10. package/dist/cli/index.js +2423 -3508
  11. package/dist/config/schema.d.ts +98 -55
  12. package/dist/features/background-agent/manager.d.ts +2 -0
  13. package/dist/features/boulder-state/storage.d.ts +1 -1
  14. package/dist/features/boulder-state/types.d.ts +2 -0
  15. package/dist/features/builtin-skills/skills.d.ts +1 -0
  16. package/dist/features/claude-tasks/storage.d.ts +2 -0
  17. package/dist/features/opencode-skill-loader/skill-content.d.ts +1 -0
  18. package/dist/hooks/auto-update-checker/constants.d.ts +1 -1
  19. package/dist/hooks/category-skill-reminder/index.d.ts +2 -1
  20. package/dist/hooks/compaction-context-injector/index.d.ts +1 -8
  21. package/dist/hooks/index.d.ts +2 -1
  22. package/dist/hooks/write-existing-file-guard/index.d.ts +2 -0
  23. package/dist/index.js +2916 -15810
  24. package/dist/mcp/index.d.ts +2 -1
  25. package/dist/mcp/websearch.d.ts +7 -5
  26. package/dist/plugin-state.d.ts +0 -1
  27. package/dist/shared/connected-providers-cache.d.ts +8 -1
  28. package/dist/shared/disabled-tools.d.ts +2 -0
  29. package/dist/shared/index.d.ts +2 -0
  30. package/dist/shared/migration.d.ts +12 -0
  31. package/dist/shared/model-availability.d.ts +2 -1
  32. package/dist/shared/model-requirements.d.ts +1 -0
  33. package/dist/shared/opencode-server-auth.d.ts +19 -0
  34. package/dist/shared/port-utils.d.ts +9 -0
  35. package/dist/tools/delegate-task/constants.d.ts +5 -1
  36. package/dist/tools/delegate-task/executor.d.ts +1 -0
  37. package/dist/tools/delegate-task/types.d.ts +6 -0
  38. package/dist/tools/look-at/types.d.ts +2 -1
  39. package/dist/tools/lsp/client.d.ts +6 -0
  40. package/dist/tools/skill/types.d.ts +1 -0
  41. package/package.json +8 -8
  42. package/dist/shared/ollama-ndjson-parser.d.ts +0 -108
package/README.ja.md CHANGED
@@ -121,16 +121,6 @@
121
121
  - [アンインストール](#アンインストール)
122
122
  - [機能](#機能)
123
123
  - [設定](#設定)
124
- - [JSONC のサポート](#jsonc-のサポート)
125
- - [Google Auth](#google-auth)
126
- - [Agents](#agents)
127
- - [Permission オプション](#permission-オプション)
128
- - [Sisyphus Agent](#sisyphus-agent)
129
- - [Background Tasks](#background-tasks)
130
- - [Hooks](#hooks)
131
- - [MCPs](#mcps)
132
- - [LSP](#lsp)
133
- - [Experimental](#experimental)
134
124
  - [作者のノート](#作者のノート)
135
125
  - [注意](#注意)
136
126
  - [こちらの企業の専門家にご愛用いただいています](#こちらの企業の専門家にご愛用いただいています)
package/README.ko.md CHANGED
@@ -123,20 +123,6 @@
123
123
  - [제거](#제거)
124
124
  - [기능](#기능)
125
125
  - [구성](#구성)
126
- - [JSONC 지원](#jsonc-지원)
127
- - [Google 인증](#google-인증)
128
- - [에이전트](#에이전트)
129
- - [권한 옵션](#권한-옵션)
130
- - [내장 스킬](#내장-스킬)
131
- - [Git Master](#git-master)
132
- - [Sisyphus 에이전트](#sisyphus-에이전트)
133
- - [백그라운드 작업](#백그라운드-작업)
134
- - [카테고리](#카테고리)
135
- - [훅](#훅)
136
- - [MCP](#mcp)
137
- - [LSP](#lsp)
138
- - [실험적 기능](#실험적-기능)
139
- - [환경 변수](#환경-변수)
140
126
  - [작성자의 메모](#작성자의-메모)
141
127
  - [경고](#경고)
142
128
  - [다음 기업 전문가들이 사랑합니다](#다음-기업-전문가들이-사랑합니다)
package/README.md CHANGED
@@ -121,21 +121,7 @@ Yes, technically possible. But I cannot recommend using it.
121
121
  - [For LLM Agents](#for-llm-agents)
122
122
  - [Uninstallation](#uninstallation)
123
123
  - [Features](#features)
124
- - [Configuration](#configuration)
125
- - [JSONC Support](#jsonc-support)
126
- - [Google Auth](#google-auth)
127
- - [Agents](#agents)
128
- - [Permission Options](#permission-options)
129
- - [Built-in Skills](#built-in-skills)
130
- - [Git Master](#git-master)
131
- - [Sisyphus Agent](#sisyphus-agent)
132
- - [Background Tasks](#background-tasks)
133
- - [Categories](#categories)
134
- - [Hooks](#hooks)
135
- - [MCPs](#mcps)
136
- - [LSP](#lsp)
137
- - [Experimental](#experimental)
138
- - [Environment Variables](#environment-variables)
124
+ - [Configuration](#configuration)
139
125
  - [Author's Note](#authors-note)
140
126
  - [Warnings](#warnings)
141
127
  - [Loved by professionals at](#loved-by-professionals-at)
package/README.zh-cn.md CHANGED
@@ -122,20 +122,6 @@
122
122
  - [卸载](#卸载)
123
123
  - [功能特性](#功能特性)
124
124
  - [配置](#配置)
125
- - [JSONC 支持](#jsonc-支持)
126
- - [Google 认证](#google-认证)
127
- - [智能体](#智能体)
128
- - [权限选项](#权限选项)
129
- - [内置技能](#内置技能)
130
- - [Git Master](#git-master)
131
- - [Sisyphus 智能体](#sisyphus-智能体)
132
- - [后台任务](#后台任务)
133
- - [类别](#类别)
134
- - [钩子](#钩子)
135
- - [MCP](#mcp)
136
- - [LSP](#lsp)
137
- - [实验性功能](#实验性功能)
138
- - [环境变量](#环境变量)
139
125
  - [作者札记](#作者札记)
140
126
  - [警告](#警告)
141
127
  - [受到以下专业人士的喜爱](#受到以下专业人士的喜爱)
File without changes
@@ -5,7 +5,7 @@
5
5
  * default (Claude-optimized) and GPT-optimized prompts.
6
6
  */
7
7
  import type { CategoryConfig } from "../../config/schema";
8
- import type { AvailableAgent, AvailableSkill } from "../dynamic-agent-prompt-builder";
8
+ import { type AvailableAgent, type AvailableSkill } from "../dynamic-agent-prompt-builder";
9
9
  export declare const getCategoryDescription: (name: string, userCategories?: Record<string, CategoryConfig>) => string;
10
10
  export declare function buildAgentSelectionSection(agents: AvailableAgent[]): string;
11
11
  export declare function buildCategorySection(userCategories?: Record<string, CategoryConfig>): string;
@@ -16,6 +16,7 @@ export interface AvailableSkill {
16
16
  export interface AvailableCategory {
17
17
  name: string;
18
18
  description: string;
19
+ model?: string;
19
20
  }
20
21
  export declare function categorizeTools(toolNames: string[]): AvailableTool[];
21
22
  export declare function buildKeyTriggersSection(agents: AvailableAgent[], _skills?: AvailableSkill[]): string;
@@ -23,6 +24,11 @@ export declare function buildToolSelectionTable(agents: AvailableAgent[], tools?
23
24
  export declare function buildExploreSection(agents: AvailableAgent[]): string;
24
25
  export declare function buildLibrarianSection(agents: AvailableAgent[]): string;
25
26
  export declare function buildDelegationTable(agents: AvailableAgent[]): string;
27
+ /**
28
+ * Renders the "User-Installed Skills (HIGH PRIORITY)" block used across multiple agent prompts.
29
+ * Extracted to avoid duplication between buildCategorySkillsDelegationGuide, buildSkillsSection, etc.
30
+ */
31
+ export declare function formatCustomSkillsBlock(customRows: string[], customSkills: AvailableSkill[], headerLevel?: "####" | "**"): string;
26
32
  export declare function buildCategorySkillsDelegationGuide(categories: AvailableCategory[], skills: AvailableSkill[]): string;
27
33
  export declare function buildOracleSection(agents: AvailableAgent[]): string;
28
34
  export declare function buildHardBlocksSection(): string;
@@ -4,7 +4,7 @@ import type { CategoriesConfig, GitMasterConfig } from "../config/schema";
4
4
  import type { LoadedSkill } from "../features/opencode-skill-loader/types";
5
5
  import type { BrowserAutomationProvider } from "../config/schema";
6
6
  type AgentSource = AgentFactory | AgentConfig;
7
- export declare function buildAgent(source: AgentSource, model: string, categories?: CategoriesConfig, gitMasterConfig?: GitMasterConfig, browserProvider?: BrowserAutomationProvider): AgentConfig;
7
+ export declare function buildAgent(source: AgentSource, model: string, categories?: CategoriesConfig, gitMasterConfig?: GitMasterConfig, browserProvider?: BrowserAutomationProvider, disabledSkills?: Set<string>): AgentConfig;
8
8
  /**
9
9
  * Creates OmO-specific environment context (time, timezone, locale).
10
10
  * Note: Working directory, platform, and date are already provided by OpenCode's system.ts,
@@ -12,5 +12,5 @@ export declare function buildAgent(source: AgentSource, model: string, categorie
12
12
  * See: https://github.com/code-yeongyu/oh-my-opencode/issues/379
13
13
  */
14
14
  export declare function createEnvContext(): string;
15
- export declare function createBuiltinAgents(disabledAgents?: string[], agentOverrides?: AgentOverrides, directory?: string, systemDefaultModel?: string, categories?: CategoriesConfig, gitMasterConfig?: GitMasterConfig, discoveredSkills?: LoadedSkill[], client?: any, browserProvider?: BrowserAutomationProvider, uiSelectedModel?: string): 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, uiSelectedModel?: string, disabledSkills?: Set<string>): Promise<Record<string, AgentConfig>>;
16
16
  export {};
@@ -4,6 +4,7 @@ export interface AgentResolutionInfo {
4
4
  name: string;
5
5
  requirement: ModelRequirement;
6
6
  userOverride?: string;
7
+ userVariant?: string;
7
8
  effectiveModel: string;
8
9
  effectiveResolution: string;
9
10
  }
@@ -11,6 +12,7 @@ export interface CategoryResolutionInfo {
11
12
  name: string;
12
13
  requirement: ModelRequirement;
13
14
  userOverride?: string;
15
+ userVariant?: string;
14
16
  effectiveModel: string;
15
17
  effectiveResolution: string;
16
18
  }
@@ -21,9 +23,12 @@ export interface ModelResolutionInfo {
21
23
  interface OmoConfig {
22
24
  agents?: Record<string, {
23
25
  model?: string;
26
+ variant?: string;
27
+ category?: string;
24
28
  }>;
25
29
  categories?: Record<string, {
26
30
  model?: string;
31
+ variant?: string;
27
32
  }>;
28
33
  }
29
34
  export declare function getModelResolutionInfo(): ModelResolutionInfo;