@skj1724/oh-my-opencode 3.18.21 → 3.18.24
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/bin/oh-my-opencode.js +1 -1
- package/dist/agents/hephaestus/agent.d.ts +1 -1
- package/dist/agents/load-prompt-template.d.ts +1 -0
- package/dist/agents/sisyphus.d.ts +3 -2
- package/dist/cli/doctor/constants.d.ts +1 -1
- package/dist/cli/index.js +3084 -1976
- package/dist/features/builtin-commands/templates/open-plan.d.ts +1 -1
- package/dist/hooks/auto-update-checker/constants.d.ts +3 -3
- package/dist/index.js +3443 -2179
- package/dist/shared/logger.d.ts +1 -0
- package/dist/shared/plugin-identity.d.ts +4 -4
- package/package.json +98 -96
- package/postinstall.mjs +35 -133
- package/src/agents/prompts-zh/atlas.md +657 -0
- package/src/agents/prompts-zh/general-agents.md +401 -0
- package/src/agents/prompts-zh/hephaestus.md +391 -0
- package/src/agents/prompts-zh/index.ts +17 -0
- package/src/agents/prompts-zh/metis.md +284 -0
- package/src/agents/prompts-zh/momus.md +181 -0
- package/src/agents/prompts-zh/oracle.md +206 -0
- package/src/agents/prompts-zh/prometheus.md +1327 -0
- package/src/agents/prompts-zh/sisyphus.md +387 -0
- package/dist/__tests__/perf/fixtures/in-tree/packages/pkg-one/src/file-16.d.ts +0 -1
- package/dist/__tests__/perf/fixtures/in-tree/packages/pkg-one/src/file-17.d.ts +0 -1
- package/dist/__tests__/perf/fixtures/in-tree/packages/pkg-one/src/file-18.d.ts +0 -1
- package/dist/__tests__/perf/fixtures/in-tree/packages/pkg-one/src/file-19.d.ts +0 -1
- package/dist/__tests__/perf/fixtures/in-tree/packages/pkg-one/src/file-20.d.ts +0 -1
- package/dist/__tests__/perf/fixtures/in-tree/src/app/file-01.d.ts +0 -1
- package/dist/__tests__/perf/fixtures/in-tree/src/app/file-02.d.ts +0 -1
- package/dist/__tests__/perf/fixtures/in-tree/src/app/file-03.d.ts +0 -1
- package/dist/__tests__/perf/fixtures/in-tree/src/app/file-04.d.ts +0 -1
- package/dist/__tests__/perf/fixtures/in-tree/src/app/file-05.d.ts +0 -1
- package/dist/__tests__/perf/fixtures/in-tree/src/app/file-06.d.ts +0 -1
- package/dist/__tests__/perf/fixtures/in-tree/src/app/file-07.d.ts +0 -1
- package/dist/__tests__/perf/fixtures/in-tree/src/app/file-08.d.ts +0 -1
- package/dist/__tests__/perf/fixtures/in-tree/src/app/file-09.d.ts +0 -1
- package/dist/__tests__/perf/fixtures/in-tree/src/app/file-10.d.ts +0 -1
- package/dist/__tests__/perf/fixtures/in-tree/src/lib/file-11.d.ts +0 -1
- package/dist/__tests__/perf/fixtures/in-tree/src/lib/file-12.d.ts +0 -1
- package/dist/__tests__/perf/fixtures/in-tree/src/lib/file-13.d.ts +0 -1
- package/dist/__tests__/perf/fixtures/in-tree/src/lib/file-14.d.ts +0 -1
- package/dist/__tests__/perf/fixtures/in-tree/src/lib/file-15.d.ts +0 -1
package/bin/oh-my-opencode.js
CHANGED
|
@@ -12,7 +12,7 @@ export interface HephaestusContext {
|
|
|
12
12
|
useTaskSystem?: boolean;
|
|
13
13
|
}
|
|
14
14
|
export declare function getHephaestusPrompt(model?: string, useTaskSystem?: boolean): string;
|
|
15
|
-
export declare function createHephaestusAgent(model: string, availableAgents?: AvailableAgent[], availableToolNames?: string[], availableSkills?: AvailableSkill[], availableCategories?: AvailableCategory[], useTaskSystem?: boolean): AgentConfig;
|
|
15
|
+
export declare function createHephaestusAgent(model: string, availableAgents?: AvailableAgent[], availableToolNames?: string[], availableSkills?: AvailableSkill[], availableCategories?: AvailableCategory[], useTaskSystem?: boolean, language?: string): AgentConfig;
|
|
16
16
|
export declare namespace createHephaestusAgent {
|
|
17
17
|
var mode: "primary";
|
|
18
18
|
}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export declare function loadPromptTemplate(language: string, agentName: string): string | null;
|
|
@@ -1,8 +1,9 @@
|
|
|
1
1
|
import type { AgentConfig } from "@opencode-ai/sdk";
|
|
2
2
|
import type { AgentPromptMetadata } from "./types";
|
|
3
3
|
export declare const SISYPHUS_PROMPT_METADATA: AgentPromptMetadata;
|
|
4
|
-
import type { AvailableAgent, AvailableSkill, AvailableCategory } from "./dynamic-agent-prompt-builder";
|
|
5
|
-
export declare function
|
|
4
|
+
import type { AvailableAgent, AvailableTool, AvailableSkill, AvailableCategory } from "./dynamic-agent-prompt-builder";
|
|
5
|
+
export declare function buildDynamicSisyphusPromptZh(model: string, availableAgents: AvailableAgent[], availableTools?: AvailableTool[], availableSkills?: AvailableSkill[], availableCategories?: AvailableCategory[], useTaskSystem?: boolean): string;
|
|
6
|
+
export declare function createSisyphusAgent(model: string, availableAgents?: AvailableAgent[], availableToolNames?: string[], availableSkills?: AvailableSkill[], availableCategories?: AvailableCategory[], useTaskSystem?: boolean, language?: string): AgentConfig;
|
|
6
7
|
export declare namespace createSisyphusAgent {
|
|
7
8
|
var mode: "primary";
|
|
8
9
|
}
|
|
@@ -25,5 +25,5 @@ export declare const EXIT_CODES: {
|
|
|
25
25
|
readonly FAILURE: 1;
|
|
26
26
|
};
|
|
27
27
|
export declare const MIN_OPENCODE_VERSION = "1.4.0";
|
|
28
|
-
export declare const PACKAGE_NAME = "oh-my-opencode";
|
|
28
|
+
export declare const PACKAGE_NAME = "@skj1724/oh-my-opencode";
|
|
29
29
|
export declare const OPENCODE_BINARIES: readonly ["opencode", "opencode-desktop"];
|