@skj1724/oh-my-opencode 3.18.23 → 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 (41) 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/index.js +3084 -1976
  6. package/dist/features/builtin-commands/templates/open-plan.d.ts +1 -1
  7. package/dist/hooks/auto-update-checker/constants.d.ts +1 -1
  8. package/dist/index.js +3443 -2179
  9. package/dist/shared/logger.d.ts +1 -0
  10. package/dist/shared/plugin-identity.d.ts +2 -2
  11. package/package.json +98 -96
  12. package/postinstall.mjs +35 -133
  13. package/src/agents/prompts-zh/atlas.md +657 -0
  14. package/src/agents/prompts-zh/general-agents.md +401 -0
  15. package/src/agents/prompts-zh/hephaestus.md +391 -0
  16. package/src/agents/prompts-zh/index.ts +17 -0
  17. package/src/agents/prompts-zh/metis.md +284 -0
  18. package/src/agents/prompts-zh/momus.md +181 -0
  19. package/src/agents/prompts-zh/oracle.md +206 -0
  20. package/src/agents/prompts-zh/prometheus.md +1327 -0
  21. package/src/agents/prompts-zh/sisyphus.md +387 -0
  22. package/dist/__tests__/perf/fixtures/in-tree/packages/pkg-one/src/file-16.d.ts +0 -1
  23. package/dist/__tests__/perf/fixtures/in-tree/packages/pkg-one/src/file-17.d.ts +0 -1
  24. package/dist/__tests__/perf/fixtures/in-tree/packages/pkg-one/src/file-18.d.ts +0 -1
  25. package/dist/__tests__/perf/fixtures/in-tree/packages/pkg-one/src/file-19.d.ts +0 -1
  26. package/dist/__tests__/perf/fixtures/in-tree/packages/pkg-one/src/file-20.d.ts +0 -1
  27. package/dist/__tests__/perf/fixtures/in-tree/src/app/file-01.d.ts +0 -1
  28. package/dist/__tests__/perf/fixtures/in-tree/src/app/file-02.d.ts +0 -1
  29. package/dist/__tests__/perf/fixtures/in-tree/src/app/file-03.d.ts +0 -1
  30. package/dist/__tests__/perf/fixtures/in-tree/src/app/file-04.d.ts +0 -1
  31. package/dist/__tests__/perf/fixtures/in-tree/src/app/file-05.d.ts +0 -1
  32. package/dist/__tests__/perf/fixtures/in-tree/src/app/file-06.d.ts +0 -1
  33. package/dist/__tests__/perf/fixtures/in-tree/src/app/file-07.d.ts +0 -1
  34. package/dist/__tests__/perf/fixtures/in-tree/src/app/file-08.d.ts +0 -1
  35. package/dist/__tests__/perf/fixtures/in-tree/src/app/file-09.d.ts +0 -1
  36. package/dist/__tests__/perf/fixtures/in-tree/src/app/file-10.d.ts +0 -1
  37. package/dist/__tests__/perf/fixtures/in-tree/src/lib/file-11.d.ts +0 -1
  38. package/dist/__tests__/perf/fixtures/in-tree/src/lib/file-12.d.ts +0 -1
  39. package/dist/__tests__/perf/fixtures/in-tree/src/lib/file-13.d.ts +0 -1
  40. package/dist/__tests__/perf/fixtures/in-tree/src/lib/file-14.d.ts +0 -1
  41. package/dist/__tests__/perf/fixtures/in-tree/src/lib/file-15.d.ts +0 -1
@@ -1 +1 @@
1
- export declare const OPEN_PLAN_TEMPLATE = "You are executing the /open-plan command.\n\n## WHAT TO DO\n\n1. **Read the current boulder state**: Read `.sisyphus/boulder.json` to find the active plan path.\n\n2. **Check if active plan exists**:\n - If `active_plan` field exists and is not empty \u2192 proceed to step 3\n - If no active plan (file doesn't exist, or `active_plan` is null/empty) \u2192 output error and stop\n\n3. **Output the /editor command**:\n Output exactly the following format (replace with actual path):\n `/editor <active_plan_path>`\n\n For example, if the active plan is `C:/projects/myproject/.sisyphus/plans/my-feature.md`, output:\n `/editor C:/projects/myproject/.sisyphus/plans/my-feature.md`\n\n## ERROR HANDLING\n\nIf no active plan exists, output exactly:\n```\nNo active plan. Use /start-work to set a plan first.\n```\n\n## EXAMPLE\n\nIf `.sisyphus/boulder.json` contains:\n```json\n{\n \"active_plan\": \"C:/projects/myproject/.sisyphus/plans/my-feature.md\",\n \"plan_name\": \"my-feature\"\n}\n```\n\nOutput:\n`/editor C:/projects/myproject/.sisyphus/plans/my-feature.md`";
1
+ export declare const OPEN_PLAN_TEMPLATE = "You are executing the /open-plan command.\n\n## ARGUMENTS\n\n- `/open-plan [plan-name]`\n - `plan-name` (optional): name of the plan to open. If omitted, opens the active plan from boulder.json.\n\n## WHAT TO DO\n\n1. **Check if a plan name argument was provided**:\n - If `$ARGUMENTS` is not empty \u2192 use it as the plan name\n - If `$ARGUMENTS` is empty \u2192 read `.sisyphus/boulder.json` to find `active_plan`\n\n2. **Find the plan file**:\n - If plan-name was provided:\n - Construct path as `.sisyphus/plans/{plan-name}.md` (append .md if not already present)\n - If file exists at that path \u2192 use it\n - If file doesn't exist \u2192 output error and stop\n - If using active_plan from boulder.json:\n - If `active_plan` field exists and is not empty \u2192 use it\n - If no active plan (file doesn't exist, or `active_plan` is null/empty) \u2192 output error and stop\n\n3. **Output the /editor command**:\n Output exactly the following format (replace with actual path):\n `/editor <plan_path>`\n\n## ERROR HANDLING\n\nIf a plan name was provided but the file doesn't exist:\n```\nNo plan found at \".sisyphus/plans/{plan-name}.md\". Use /start-work to create a plan first.\n```\n\nIf no plan name was provided and no active plan exists:\n```\nNo active plan. Use /start-work to set a plan first.\n```\n\n## EXAMPLE\n\nExample 1 - Opening active plan (no argument):\nIf `.sisyphus/boulder.json` contains:\n```json\n{\n \"active_plan\": \"C:/projects/myproject/.sisyphus/plans/my-feature.md\",\n \"plan_name\": \"my-feature\"\n}\n```\n\nOutput:\n`/editor C:/projects/myproject/.sisyphus/plans/my-feature.md`\n\nExample 2 - Opening specific plan (with argument \"my-feature\"):\nIf `my-feature.md` exists at `.sisyphus/plans/my-feature.md`:\n\nOutput:\n`/editor C:/projects/myproject/.sisyphus/plans/my-feature.md`";
@@ -8,7 +8,7 @@ export declare const PACKAGE_NAME = "@skj1724/oh-my-opencode";
8
8
  * because the installed name depends on which package the user added to
9
9
  * their config. Code that *writes* continues to use {@link PACKAGE_NAME}.
10
10
  */
11
- export declare const ACCEPTED_PACKAGE_NAMES: readonly ["@skj1724/oh-my-opencode", "@skj1724/oh-my-opencode"];
11
+ export declare const ACCEPTED_PACKAGE_NAMES: readonly ["@skj1724/oh-my-opencode", "@skj1724/oh-my-openagent"];
12
12
  export declare const NPM_REGISTRY_URL = "https://registry.npmjs.org/-/package/@skj1724/oh-my-opencode/dist-tags";
13
13
  export declare const NPM_FETCH_TIMEOUT = 5000;
14
14
  export declare const CACHE_ROOT_DIR: string;