oh-my-opencode-gpt-slim 0.1.2 → 0.1.3

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
@@ -71,8 +71,8 @@ bunx oh-my-opencode-gpt-slim install
71
71
  ```
72
72
 
73
73
  Config files same as upstream:
74
- - Project: `.opencode/oh-my-opencode-gpt-slim.jsonc`
75
- - User: `~/.config/opencode/oh-my-opencode-gpt-slim.jsonc`
74
+ - Project: `.opencode/oh-my-opencode-gpt-slim.json`
75
+ - User: `~/.config/opencode/oh-my-opencode-gpt-slim.json`
76
76
 
77
77
  ## Usage
78
78
 
package/README.zh-cn.md CHANGED
@@ -275,10 +275,10 @@ Agent 会自动顺藤摸瓜加载对应的 Context,免去了你所有的手动
275
275
 
276
276
  ```bash
277
277
  # 移除全局用户配置
278
- rm -f ~/.config/opencode/oh-my-opencode-gpt-slim.json ~/.config/opencode/oh-my-opencode-gpt-slim.jsonc
278
+ rm -f ~/.config/opencode/oh-my-opencode-gpt-slim.json
279
279
 
280
280
  # 移除当前项目的配置
281
- rm -f .opencode/oh-my-opencode-gpt-slim.json .opencode/oh-my-opencode-gpt-slim.jsonc
281
+ rm -f .opencode/oh-my-opencode-gpt-slim.json
282
282
  ```
283
283
 
284
284
  3. **确认卸载成功**
@@ -19,6 +19,14 @@ export interface AvailableCategory {
19
19
  model?: string;
20
20
  }
21
21
  export declare function categorizeTools(toolNames: string[]): AvailableTool[];
22
+ export declare function buildSearchGuidance(tools?: AvailableTool[]): string;
23
+ export declare function buildDefaultResearchFlow(agents: AvailableAgent[]): string;
24
+ export declare function buildExplorationParallelGuidance(agents: AvailableAgent[]): string;
25
+ export declare function buildResearchDelegationThresholds(agents: AvailableAgent[]): string;
26
+ export declare function buildResearchAnswerRouting(agents: AvailableAgent[]): string;
27
+ export declare function buildInvestigationRouting(agents: AvailableAgent[]): string;
28
+ export declare function buildResearchToolUsageRules(agents: AvailableAgent[]): string;
29
+ export declare function buildBackgroundResearchExamples(agents: AvailableAgent[]): string;
22
30
  export declare function buildKeyTriggersSection(agents: AvailableAgent[], _skills?: AvailableSkill[]): string;
23
31
  export declare function buildToolSelectionTable(agents: AvailableAgent[], tools?: AvailableTool[], _skills?: AvailableSkill[]): string;
24
32
  export declare function buildExploreSection(agents: AvailableAgent[]): string;
@@ -29,6 +37,6 @@ export declare function buildOracleSection(agents: AvailableAgent[]): string;
29
37
  export declare function buildHardBlocksSection(): string;
30
38
  export declare function buildAntiPatternsSection(): string;
31
39
  export declare function buildToolCallFormatSection(): string;
32
- export declare function buildNonClaudePlannerSection(model: string): string;
40
+ export declare function buildNonClaudePlannerSection(model: string, agents?: AvailableAgent[]): string;
33
41
  export declare function buildParallelDelegationSection(model: string, categories: AvailableCategory[]): string;
34
42
  export declare function buildUltraworkSection(agents: AvailableAgent[], categories: AvailableCategory[], skills: AvailableSkill[]): string;
@@ -7,5 +7,5 @@
7
7
  * - Removed: excessive phase gates, repetitive XML anchors, over-literal intent classification
8
8
  * - Target: ~200 lines of effective prompt (vs original ~420 lines)
9
9
  */
10
- import type { AvailableAgent, AvailableTool, AvailableSkill, AvailableCategory } from "../dynamic-agent-prompt-builder";
10
+ import { type AvailableAgent, type AvailableCategory, type AvailableSkill, type AvailableTool } from "../dynamic-agent-prompt-builder";
11
11
  export declare function buildGpt54SisyphusPrompt(model: string, availableAgents: AvailableAgent[], availableTools?: AvailableTool[], availableSkills?: AvailableSkill[], availableCategories?: AvailableCategory[], useTaskSystem?: boolean): string;
@@ -1,7 +1,7 @@
1
1
  import type { AgentConfig } from "@opencode-ai/sdk";
2
- import type { AgentPromptMetadata } from "./types";
2
+ import { type AvailableAgent, type AvailableCategory, type AvailableSkill } from "./dynamic-agent-prompt-builder";
3
+ import { type AgentPromptMetadata } from "./types";
3
4
  export declare const SISYPHUS_PROMPT_METADATA: AgentPromptMetadata;
4
- import type { AvailableAgent, AvailableSkill, AvailableCategory } from "./dynamic-agent-prompt-builder";
5
5
  export declare function createSisyphusAgent(model: string, availableAgents?: AvailableAgent[], availableToolNames?: string[], availableSkills?: AvailableSkill[], availableCategories?: AvailableCategory[], useTaskSystem?: boolean): AgentConfig;
6
6
  export declare namespace createSisyphusAgent {
7
7
  var mode: "all";
@@ -0,0 +1,10 @@
1
+ import type { OmoConfig } from "./model-resolution-types";
2
+ export interface ConfigValidationResult {
3
+ exists: boolean;
4
+ path: string | null;
5
+ valid: boolean;
6
+ config: OmoConfig | null;
7
+ errors: string[];
8
+ }
9
+ export declare function findConfigPath(): string | null;
10
+ export declare function validateConfig(): ConfigValidationResult;