oh-my-opencode 3.7.4 → 3.8.0

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 (127) hide show
  1. package/README.ja.md +206 -243
  2. package/README.ko.md +205 -244
  3. package/README.md +176 -174
  4. package/README.zh-cn.md +211 -255
  5. package/dist/agents/atlas/default.d.ts +1 -1
  6. package/dist/agents/atlas/gpt.d.ts +1 -1
  7. package/dist/agents/atlas/prompt-section-builder.d.ts +1 -1
  8. package/dist/agents/builtin-agents/environment-context.d.ts +5 -1
  9. package/dist/agents/builtin-agents/general-agents.d.ts +1 -0
  10. package/dist/agents/builtin-agents/hephaestus-agent.d.ts +1 -0
  11. package/dist/agents/builtin-agents/sisyphus-agent.d.ts +1 -0
  12. package/dist/agents/builtin-agents.d.ts +1 -1
  13. package/dist/agents/dynamic-agent-prompt-builder.d.ts +0 -5
  14. package/dist/agents/index.d.ts +2 -1
  15. package/dist/agents/prometheus/gpt.d.ts +24 -0
  16. package/dist/agents/prometheus/index.d.ts +3 -1
  17. package/dist/agents/prometheus/system-prompt.d.ts +12 -1
  18. package/dist/agents/types.d.ts +1 -0
  19. package/dist/cli/fallback-chain-resolution.d.ts +1 -1
  20. package/dist/cli/index.js +366 -118
  21. package/dist/cli/model-fallback-requirements.d.ts +3 -0
  22. package/dist/cli/model-fallback-types.d.ts +0 -5
  23. package/dist/cli/provider-model-id-transform.d.ts +1 -1
  24. package/dist/cli/run/timestamp-output.d.ts +5 -0
  25. package/dist/cli/run/types.d.ts +1 -0
  26. package/dist/config/index.d.ts +2 -2
  27. package/dist/config/schema/agent-overrides.d.ts +75 -60
  28. package/dist/config/schema/categories.d.ts +2 -0
  29. package/dist/config/schema/experimental.d.ts +2 -0
  30. package/dist/config/schema/fallback-models.d.ts +3 -0
  31. package/dist/config/schema/hooks.d.ts +3 -3
  32. package/dist/config/schema/oh-my-opencode-config.d.ts +87 -104
  33. package/dist/config/schema/ralph-loop.d.ts +4 -0
  34. package/dist/config/schema/runtime-fallback.d.ts +10 -0
  35. package/dist/config/schema.d.ts +2 -0
  36. package/dist/create-hooks.d.ts +7 -5
  37. package/dist/features/background-agent/manager.d.ts +3 -0
  38. package/dist/features/background-agent/types.d.ts +7 -0
  39. package/dist/features/builtin-commands/templates/ralph-loop.d.ts +1 -1
  40. package/dist/features/claude-code-session-state/state.d.ts +1 -0
  41. package/dist/features/task-toast-manager/manager.d.ts +5 -0
  42. package/dist/features/task-toast-manager/types.d.ts +2 -1
  43. package/dist/features/tmux-subagent/action-executor.d.ts +10 -3
  44. package/dist/features/tmux-subagent/grid-planning.d.ts +5 -3
  45. package/dist/features/tmux-subagent/manager.d.ts +12 -0
  46. package/dist/features/tmux-subagent/pane-split-availability.d.ts +0 -1
  47. package/dist/features/tmux-subagent/spawn-target-finder.d.ts +2 -2
  48. package/dist/features/tmux-subagent/tmux-grid-constants.d.ts +4 -0
  49. package/dist/features/tmux-subagent/types.d.ts +2 -0
  50. package/dist/hooks/hashline-edit-diff-enhancer/hook.d.ts +28 -0
  51. package/dist/hooks/hashline-edit-diff-enhancer/index.d.ts +1 -0
  52. package/dist/hooks/index.d.ts +4 -2
  53. package/dist/hooks/model-fallback/hook.d.ts +60 -0
  54. package/dist/hooks/no-hephaestus-non-gpt/hook.d.ts +16 -0
  55. package/dist/hooks/no-hephaestus-non-gpt/index.d.ts +1 -0
  56. package/dist/hooks/ralph-loop/command-arguments.d.ts +8 -0
  57. package/dist/hooks/ralph-loop/continuation-prompt-injector.d.ts +1 -0
  58. package/dist/hooks/ralph-loop/iteration-continuation.d.ts +12 -0
  59. package/dist/hooks/ralph-loop/loop-state-controller.d.ts +2 -0
  60. package/dist/hooks/ralph-loop/ralph-loop-event-handler.d.ts +1 -0
  61. package/dist/hooks/ralph-loop/ralph-loop-hook.d.ts +1 -0
  62. package/dist/hooks/ralph-loop/session-reset-strategy.d.ts +3 -0
  63. package/dist/hooks/ralph-loop/types.d.ts +1 -0
  64. package/dist/hooks/runtime-fallback/agent-resolver.d.ts +5 -0
  65. package/dist/hooks/runtime-fallback/auto-retry.d.ts +10 -0
  66. package/dist/hooks/runtime-fallback/chat-message-handler.d.ts +20 -0
  67. package/dist/hooks/runtime-fallback/constants.d.ts +19 -0
  68. package/dist/hooks/runtime-fallback/error-classifier.d.ts +17 -0
  69. package/dist/hooks/runtime-fallback/event-handler.d.ts +8 -0
  70. package/dist/hooks/runtime-fallback/fallback-models.d.ts +2 -0
  71. package/dist/hooks/runtime-fallback/fallback-state.d.ts +6 -0
  72. package/dist/hooks/runtime-fallback/hook.d.ts +3 -0
  73. package/dist/hooks/runtime-fallback/index.d.ts +2 -0
  74. package/dist/hooks/runtime-fallback/message-update-handler.d.ts +5 -0
  75. package/dist/hooks/runtime-fallback/types.d.ts +59 -0
  76. package/dist/hooks/session-recovery/detect-error-type.d.ts +2 -1
  77. package/dist/hooks/session-recovery/recover-unavailable-tool.d.ts +5 -0
  78. package/dist/hooks/todo-continuation-enforcer/continuation-injection.d.ts +1 -0
  79. package/dist/hooks/todo-continuation-enforcer/countdown.d.ts +1 -0
  80. package/dist/hooks/write-existing-file-guard/hook.d.ts +1 -0
  81. package/dist/index.js +6179 -2820
  82. package/dist/oh-my-opencode.schema.json +3681 -0
  83. package/dist/plugin/chat-headers.d.ts +4 -0
  84. package/dist/plugin/chat-message.d.ts +9 -8
  85. package/dist/plugin/chat-params.d.ts +2 -3
  86. package/dist/plugin/event.d.ts +2 -6
  87. package/dist/plugin/hooks/create-core-hooks.d.ts +7 -5
  88. package/dist/plugin/hooks/create-session-hooks.d.ts +6 -6
  89. package/dist/plugin/hooks/create-tool-guard-hooks.d.ts +2 -1
  90. package/dist/plugin/hooks/create-transform-hooks.d.ts +1 -1
  91. package/dist/plugin/system-transform.d.ts +5 -0
  92. package/dist/plugin/types.d.ts +7 -1
  93. package/dist/plugin/ultrawork-db-model-override.d.ts +11 -0
  94. package/dist/plugin/ultrawork-model-override.d.ts +37 -0
  95. package/dist/shared/index.d.ts +3 -0
  96. package/dist/shared/internal-initiator-marker.d.ts +5 -0
  97. package/dist/shared/model-error-classifier.d.ts +31 -0
  98. package/dist/shared/model-resolution-pipeline.d.ts +1 -0
  99. package/dist/shared/model-resolver.d.ts +6 -0
  100. package/dist/shared/provider-model-id-transform.d.ts +1 -0
  101. package/dist/shared/session-category-registry.d.ts +32 -0
  102. package/dist/shared/session-model-state.d.ts +7 -0
  103. package/dist/shared/tmux/tmux-utils/layout.d.ts +17 -2
  104. package/dist/tools/delegate-task/background-task.d.ts +2 -1
  105. package/dist/tools/delegate-task/category-resolver.d.ts +2 -0
  106. package/dist/tools/delegate-task/skill-resolver.d.ts +1 -0
  107. package/dist/tools/delegate-task/subagent-resolver.d.ts +2 -0
  108. package/dist/tools/delegate-task/sync-task.d.ts +1 -1
  109. package/dist/tools/hashline-edit/constants.d.ts +5 -2
  110. package/dist/tools/hashline-edit/diff-utils.d.ts +6 -0
  111. package/dist/tools/hashline-edit/edit-operations.d.ts +4 -4
  112. package/dist/tools/hashline-edit/hash-computation.d.ts +1 -1
  113. package/dist/tools/hashline-edit/index.d.ts +1 -1
  114. package/dist/tools/hashline-edit/types.d.ts +4 -4
  115. package/dist/tools/hashline-edit/validation.d.ts +1 -0
  116. package/dist/tools/index.d.ts +2 -2
  117. package/dist/tools/skill/constants.d.ts +2 -2
  118. package/dist/tools/skill/types.d.ts +4 -0
  119. package/dist/tools/slashcommand/index.d.ts +1 -1
  120. package/dist/tools/slashcommand/types.d.ts +1 -7
  121. package/package.json +10 -10
  122. package/dist/hooks/ultrawork-model-override/hook.d.ts +0 -6
  123. package/dist/hooks/ultrawork-model-override/index.d.ts +0 -1
  124. package/dist/tools/slashcommand/skill-command-converter.d.ts +0 -3
  125. package/dist/tools/slashcommand/slashcommand-description.d.ts +0 -3
  126. package/dist/tools/slashcommand/slashcommand-tool.d.ts +0 -4
  127. package/dist/tools/slashcommand/tools.d.ts +0 -2
package/package.json CHANGED
@@ -1,12 +1,12 @@
1
1
  {
2
2
  "name": "oh-my-opencode",
3
- "version": "3.7.4",
3
+ "version": "3.8.0",
4
4
  "description": "The Best AI Agent Harness - Batteries-Included OpenCode Plugin with Multi-Model Orchestration, Parallel Background Agents, and Crafted LSP/AST Tools",
5
5
  "main": "dist/index.js",
6
6
  "types": "dist/index.d.ts",
7
7
  "type": "module",
8
8
  "bin": {
9
- "oh-my-opencode": "./bin/oh-my-opencode.js"
9
+ "oh-my-opencode": "bin/oh-my-opencode.js"
10
10
  },
11
11
  "files": [
12
12
  "dist",
@@ -55,7 +55,7 @@
55
55
  "@ast-grep/napi": "^0.40.0",
56
56
  "@clack/prompts": "^0.11.0",
57
57
  "@code-yeongyu/comment-checker": "^0.6.1",
58
- "@modelcontextprotocol/sdk": "^1.25.1",
58
+ "@modelcontextprotocol/sdk": "^1.25.2",
59
59
  "@opencode-ai/plugin": "^1.1.19",
60
60
  "@opencode-ai/sdk": "^1.1.19",
61
61
  "commander": "^14.0.2",
@@ -74,13 +74,13 @@
74
74
  "typescript": "^5.7.3"
75
75
  },
76
76
  "optionalDependencies": {
77
- "oh-my-opencode-darwin-arm64": "3.7.4",
78
- "oh-my-opencode-darwin-x64": "3.7.4",
79
- "oh-my-opencode-linux-arm64": "3.7.4",
80
- "oh-my-opencode-linux-arm64-musl": "3.7.4",
81
- "oh-my-opencode-linux-x64": "3.7.4",
82
- "oh-my-opencode-linux-x64-musl": "3.7.4",
83
- "oh-my-opencode-windows-x64": "3.7.4"
77
+ "oh-my-opencode-darwin-arm64": "3.8.0",
78
+ "oh-my-opencode-darwin-x64": "3.8.0",
79
+ "oh-my-opencode-linux-arm64": "3.8.0",
80
+ "oh-my-opencode-linux-arm64-musl": "3.8.0",
81
+ "oh-my-opencode-linux-x64": "3.8.0",
82
+ "oh-my-opencode-linux-x64-musl": "3.8.0",
83
+ "oh-my-opencode-windows-x64": "3.8.0"
84
84
  },
85
85
  "trustedDependencies": [
86
86
  "@ast-grep/cli",
@@ -1,6 +0,0 @@
1
- import type { AgentOverrides } from "../../config";
2
- export declare function createUltraworkModelOverrideHook(args: {
3
- agents?: AgentOverrides;
4
- }): {
5
- "chat.params": (input: unknown, output: unknown) => Promise<void>;
6
- };
@@ -1 +0,0 @@
1
- export { createUltraworkModelOverrideHook } from "./hook";
@@ -1,3 +0,0 @@
1
- import type { LoadedSkill } from "../../features/opencode-skill-loader";
2
- import type { CommandInfo } from "./types";
3
- export declare function skillToCommandInfo(skill: LoadedSkill): CommandInfo;
@@ -1,3 +0,0 @@
1
- import type { CommandInfo } from "./types";
2
- export declare const TOOL_DESCRIPTION_PREFIX = "Load a skill or execute a command to get detailed instructions for a specific task.\n\nSkills and commands provide specialized knowledge and step-by-step guidance.\nUse this when a task matches an available skill's or command's description.\n\n**How to use:**\n- Call with command name only: command='publish'\n- Call with command and arguments: command='publish' user_message='patch'\n- The tool will return detailed instructions for the command with your arguments substituted.\n";
3
- export declare function buildDescriptionFromItems(items: CommandInfo[]): string;
@@ -1,4 +0,0 @@
1
- import { type ToolDefinition } from "@opencode-ai/plugin";
2
- import type { SlashcommandToolOptions } from "./types";
3
- export declare function createSlashcommandTool(options?: SlashcommandToolOptions): ToolDefinition;
4
- export declare const slashcommand: ToolDefinition;
@@ -1,2 +0,0 @@
1
- export { discoverCommandsSync } from "./command-discovery";
2
- export { createSlashcommandTool, slashcommand } from "./slashcommand-tool";