@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.
Files changed (42) hide show
  1. package/bin/oh-my-opencode.js +1 -1
  2. package/dist/agents/hephaestus/agent.d.ts +1 -1
  3. package/dist/agents/load-prompt-template.d.ts +1 -0
  4. package/dist/agents/sisyphus.d.ts +3 -2
  5. package/dist/cli/doctor/constants.d.ts +1 -1
  6. package/dist/cli/index.js +3084 -1976
  7. package/dist/features/builtin-commands/templates/open-plan.d.ts +1 -1
  8. package/dist/hooks/auto-update-checker/constants.d.ts +3 -3
  9. package/dist/index.js +3443 -2179
  10. package/dist/shared/logger.d.ts +1 -0
  11. package/dist/shared/plugin-identity.d.ts +4 -4
  12. package/package.json +98 -96
  13. package/postinstall.mjs +35 -133
  14. package/src/agents/prompts-zh/atlas.md +657 -0
  15. package/src/agents/prompts-zh/general-agents.md +401 -0
  16. package/src/agents/prompts-zh/hephaestus.md +391 -0
  17. package/src/agents/prompts-zh/index.ts +17 -0
  18. package/src/agents/prompts-zh/metis.md +284 -0
  19. package/src/agents/prompts-zh/momus.md +181 -0
  20. package/src/agents/prompts-zh/oracle.md +206 -0
  21. package/src/agents/prompts-zh/prometheus.md +1327 -0
  22. package/src/agents/prompts-zh/sisyphus.md +387 -0
  23. package/dist/__tests__/perf/fixtures/in-tree/packages/pkg-one/src/file-16.d.ts +0 -1
  24. package/dist/__tests__/perf/fixtures/in-tree/packages/pkg-one/src/file-17.d.ts +0 -1
  25. package/dist/__tests__/perf/fixtures/in-tree/packages/pkg-one/src/file-18.d.ts +0 -1
  26. package/dist/__tests__/perf/fixtures/in-tree/packages/pkg-one/src/file-19.d.ts +0 -1
  27. package/dist/__tests__/perf/fixtures/in-tree/packages/pkg-one/src/file-20.d.ts +0 -1
  28. package/dist/__tests__/perf/fixtures/in-tree/src/app/file-01.d.ts +0 -1
  29. package/dist/__tests__/perf/fixtures/in-tree/src/app/file-02.d.ts +0 -1
  30. package/dist/__tests__/perf/fixtures/in-tree/src/app/file-03.d.ts +0 -1
  31. package/dist/__tests__/perf/fixtures/in-tree/src/app/file-04.d.ts +0 -1
  32. package/dist/__tests__/perf/fixtures/in-tree/src/app/file-05.d.ts +0 -1
  33. package/dist/__tests__/perf/fixtures/in-tree/src/app/file-06.d.ts +0 -1
  34. package/dist/__tests__/perf/fixtures/in-tree/src/app/file-07.d.ts +0 -1
  35. package/dist/__tests__/perf/fixtures/in-tree/src/app/file-08.d.ts +0 -1
  36. package/dist/__tests__/perf/fixtures/in-tree/src/app/file-09.d.ts +0 -1
  37. package/dist/__tests__/perf/fixtures/in-tree/src/app/file-10.d.ts +0 -1
  38. package/dist/__tests__/perf/fixtures/in-tree/src/lib/file-11.d.ts +0 -1
  39. package/dist/__tests__/perf/fixtures/in-tree/src/lib/file-12.d.ts +0 -1
  40. package/dist/__tests__/perf/fixtures/in-tree/src/lib/file-13.d.ts +0 -1
  41. package/dist/__tests__/perf/fixtures/in-tree/src/lib/file-14.d.ts +0 -1
  42. package/dist/__tests__/perf/fixtures/in-tree/src/lib/file-15.d.ts +0 -1
@@ -1,4 +1,4 @@
1
- #!/usr/bin/env node
1
+ #!/usr/bin/env node
2
2
  // bin/oh-my-opencode.js
3
3
  // Wrapper script that detects platform and spawns the correct binary
4
4
 
@@ -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 createSisyphusAgent(model: string, availableAgents?: AvailableAgent[], availableToolNames?: string[], availableSkills?: AvailableSkill[], availableCategories?: AvailableCategory[], useTaskSystem?: boolean): AgentConfig;
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"];