@bohuyeshan/openagent-labforge-core 3.11.5 → 3.13.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 (272) hide show
  1. package/README.ja.md +130 -343
  2. package/README.ko.md +128 -337
  3. package/README.md +229 -584
  4. package/README.ru.md +131 -364
  5. package/README.zh-cn.md +231 -547
  6. package/bin/openagent-labforge.js +95 -9
  7. package/bin/platform.test.ts +20 -21
  8. package/dist/agents/article-writer.d.ts +7 -0
  9. package/dist/agents/atlas/default.d.ts +1 -1
  10. package/dist/agents/atlas/gemini.d.ts +1 -1
  11. package/dist/agents/atlas/gpt.d.ts +1 -1
  12. package/dist/agents/bio-methodologist.d.ts +1 -1
  13. package/dist/agents/bio-orchestrator.d.ts +7 -0
  14. package/dist/agents/bio-skill-guidance.d.ts +1 -0
  15. package/dist/agents/builtin-agents/general-agents.d.ts +0 -1
  16. package/dist/agents/builtin-agents/sisyphus-agent.d.ts +16 -0
  17. package/dist/agents/dynamic-agent-prompt-builder.d.ts +0 -2
  18. package/dist/agents/engineering-capability.d.ts +7 -0
  19. package/dist/agents/env-context.d.ts +1 -1
  20. package/dist/agents/github-scout.d.ts +7 -0
  21. package/dist/agents/index.d.ts +0 -1
  22. package/dist/agents/metis.d.ts +1 -1
  23. package/dist/agents/momus.d.ts +1 -1
  24. package/dist/agents/prometheus/behavioral-summary.d.ts +1 -1
  25. package/dist/agents/prometheus/gemini.d.ts +1 -1
  26. package/dist/agents/prometheus/gpt.d.ts +1 -1
  27. package/dist/agents/prometheus/interview-mode.d.ts +1 -1
  28. package/dist/agents/prometheus/plan-generation.d.ts +1 -1
  29. package/dist/agents/prometheus/plan-template.d.ts +1 -1
  30. package/dist/agents/prometheus/system-prompt.d.ts +1 -1
  31. package/dist/agents/scientific-writer.d.ts +7 -0
  32. package/dist/agents/sisyphus-junior/gpt-5-3-codex.d.ts +1 -1
  33. package/dist/agents/sisyphus-junior/gpt-5-4.d.ts +1 -1
  34. package/dist/agents/sisyphus-junior/gpt.d.ts +1 -1
  35. package/dist/agents/tech-scout.d.ts +7 -0
  36. package/dist/agents/types.d.ts +1 -1
  37. package/dist/agents/wase.d.ts +8 -0
  38. package/dist/agents/wet-lab-designer.d.ts +7 -0
  39. package/dist/agents/writing-style-rules.d.ts +1 -0
  40. package/dist/cli/config-manager/bun-install.d.ts +1 -6
  41. package/dist/cli/config-manager/cleanup-managed-mcp-from-opencode-config.d.ts +2 -0
  42. package/dist/cli/config-manager/cleanup-stale-managed-agents.d.ts +2 -0
  43. package/dist/cli/config-manager/parse-opencode-config-file.d.ts +2 -0
  44. package/dist/cli/config-manager/plugin-name-with-version.d.ts +1 -1
  45. package/dist/cli/config-manager/sync-static-agent-to-opencode-config.d.ts +2 -0
  46. package/dist/cli/config-manager/sync-static-mcp-to-opencode-config.d.ts +2 -0
  47. package/dist/cli/config-manager/write-bootstrap-skill.d.ts +15 -0
  48. package/dist/cli/config-manager.d.ts +5 -0
  49. package/dist/cli/index.js +24986 -15362
  50. package/dist/cli/install-validators.d.ts +0 -1
  51. package/dist/cli/model-fallback-types.d.ts +0 -1
  52. package/dist/cli/run/index.d.ts +0 -1
  53. package/dist/cli/run/types.d.ts +0 -1
  54. package/dist/cli/types.d.ts +0 -3
  55. package/dist/config/schema/agent-names.d.ts +36 -3
  56. package/dist/config/schema/agent-overrides.d.ts +504 -0
  57. package/dist/config/schema/background-task.d.ts +0 -2
  58. package/dist/config/schema/experimental.d.ts +5 -0
  59. package/dist/config/schema/git-master.d.ts +0 -1
  60. package/dist/config/schema/hooks.d.ts +0 -2
  61. package/dist/config/schema/mcp-policy.d.ts +1 -0
  62. package/dist/config/schema/oh-my-opencode-config.d.ts +526 -54
  63. package/dist/config/schema.d.ts +0 -1
  64. package/dist/create-hooks.d.ts +0 -13
  65. package/dist/features/background-agent/compaction-aware-message-resolver.d.ts +1 -16
  66. package/dist/features/background-agent/constants.d.ts +2 -1
  67. package/dist/features/background-agent/manager.d.ts +5 -20
  68. package/dist/features/background-agent/process-cleanup.d.ts +1 -1
  69. package/dist/features/background-agent/task-history.d.ts +0 -1
  70. package/dist/features/background-agent/task-poller.d.ts +0 -1
  71. package/dist/features/background-agent/types.d.ts +0 -4
  72. package/dist/features/builtin-commands/commands.d.ts +4 -1
  73. package/dist/features/builtin-skills/skills/bio-methods.d.ts +2 -0
  74. package/dist/features/builtin-skills/skills/bio-pipeline.d.ts +2 -0
  75. package/dist/features/builtin-skills/skills/bio-tools.d.ts +2 -0
  76. package/dist/features/builtin-skills/skills/bio-visualization.d.ts +2 -0
  77. package/dist/features/builtin-skills/skills/cell-annotation.d.ts +2 -0
  78. package/dist/features/builtin-skills/skills/differential-expression.d.ts +2 -0
  79. package/dist/features/builtin-skills/skills/geo-query.d.ts +2 -0
  80. package/dist/features/builtin-skills/skills/index.d.ts +14 -0
  81. package/dist/features/builtin-skills/skills/paper-evidence.d.ts +2 -0
  82. package/dist/features/builtin-skills/skills/pubmed-search.d.ts +2 -0
  83. package/dist/features/builtin-skills/skills/scrna-preprocessing.d.ts +2 -0
  84. package/dist/features/builtin-skills/skills/sequence-analysis.d.ts +2 -0
  85. package/dist/features/builtin-skills/skills/structural-biology.d.ts +2 -0
  86. package/dist/features/builtin-skills/skills/vector-design.d.ts +2 -0
  87. package/dist/features/builtin-skills/skills/wet-lab-design.d.ts +2 -0
  88. package/dist/features/claude-code-agent-loader/loader.d.ts +3 -3
  89. package/dist/features/claude-code-agent-loader/types.d.ts +1 -8
  90. package/dist/features/claude-code-mcp-loader/configure-allowed-env-vars.d.ts +5 -0
  91. package/dist/features/claude-code-mcp-loader/index.d.ts +1 -0
  92. package/dist/features/claude-code-mcp-loader/types.d.ts +3 -0
  93. package/dist/features/claude-code-plugin-loader/agent-loader.d.ts +2 -2
  94. package/dist/features/claude-code-plugin-loader/loader.d.ts +2 -2
  95. package/dist/features/claude-code-plugin-loader/types.d.ts +1 -1
  96. package/dist/features/claude-code-session-state/state.d.ts +5 -0
  97. package/dist/features/opencode-skill-loader/git-master-template-injection.d.ts +1 -1
  98. package/dist/features/opencode-skill-loader/project-skill-directory-discovery.d.ts +1 -0
  99. package/dist/features/opencode-skill-loader/skill-metadata-validator.d.ts +8 -0
  100. package/dist/features/skill-mcp-manager/types.d.ts +0 -4
  101. package/dist/features/tmux-subagent/index.d.ts +0 -1
  102. package/dist/features/tmux-subagent/manager.d.ts +0 -5
  103. package/dist/features/tmux-subagent/types.d.ts +0 -2
  104. package/dist/hooks/atlas/tool-execute-after.d.ts +0 -2
  105. package/dist/hooks/atlas/types.d.ts +0 -2
  106. package/dist/hooks/atlas/verification-reminders.d.ts +0 -4
  107. package/dist/hooks/auto-slash-command/hook.d.ts +0 -7
  108. package/dist/hooks/auto-update-checker/checker.d.ts +1 -3
  109. package/dist/hooks/auto-update-checker/constants.d.ts +2 -2
  110. package/dist/hooks/comment-checker/downloader.d.ts +1 -1
  111. package/dist/hooks/compaction-context-injector/hook.d.ts +1 -5
  112. package/dist/hooks/context-window-monitor.d.ts +5 -2
  113. package/dist/hooks/index.d.ts +0 -2
  114. package/dist/hooks/keyword-detector/detector.d.ts +1 -1
  115. package/dist/hooks/keyword-detector/hook.d.ts +2 -2
  116. package/dist/hooks/keyword-detector/index.d.ts +1 -0
  117. package/dist/hooks/keyword-detector/semantic-hint.d.ts +4 -0
  118. package/dist/hooks/keyword-detector/ultrawork/autonomous.d.ts +8 -0
  119. package/dist/hooks/preemptive-compaction.d.ts +5 -2
  120. package/dist/hooks/runtime-fallback/hook.d.ts +3 -2
  121. package/dist/hooks/runtime-fallback/message-update-handler.d.ts +2 -1
  122. package/dist/hooks/runtime-fallback/types.d.ts +3 -56
  123. package/dist/hooks/session-notification-scheduler.d.ts +3 -5
  124. package/dist/hooks/session-notification.d.ts +0 -2
  125. package/dist/hooks/session-recovery/tool-pairing.d.ts +16 -0
  126. package/dist/hooks/start-work/index.d.ts +1 -1
  127. package/dist/hooks/start-work/worktree-detector.d.ts +0 -7
  128. package/dist/hooks/todo-continuation-enforcer/compaction-guard.d.ts +4 -0
  129. package/dist/hooks/todo-continuation-enforcer/constants.d.ts +6 -5
  130. package/dist/hooks/todo-continuation-enforcer/handler.d.ts +0 -1
  131. package/dist/hooks/todo-continuation-enforcer/idle-event.d.ts +0 -1
  132. package/dist/hooks/todo-continuation-enforcer/resolve-message-info.d.ts +3 -0
  133. package/dist/hooks/todo-continuation-enforcer/session-state.d.ts +1 -1
  134. package/dist/hooks/todo-continuation-enforcer/types.d.ts +8 -3
  135. package/dist/hooks/tool-output-truncator.d.ts +0 -1
  136. package/dist/index.js +56627 -56933
  137. package/dist/mcp/extended.d.ts +4 -2
  138. package/dist/mcp/index.d.ts +2 -1
  139. package/dist/mcp/types.d.ts +2 -3
  140. package/dist/openagent-labforge.schema.json +1362 -83
  141. package/dist/plugin/hooks/create-continuation-hooks.d.ts +1 -2
  142. package/dist/plugin/hooks/create-core-hooks.d.ts +0 -1
  143. package/dist/plugin/hooks/create-session-hooks.d.ts +1 -2
  144. package/dist/plugin/ultrawork-model-override.d.ts +11 -1
  145. package/dist/plugin-dispose.d.ts +12 -10
  146. package/dist/plugin-handlers/agent-config-handler.d.ts +0 -1
  147. package/dist/plugin-handlers/prometheus-agent-config-builder.d.ts +1 -1
  148. package/dist/plugin-state.d.ts +0 -5
  149. package/dist/shared/agent-display-names.d.ts +1 -0
  150. package/dist/shared/data-path.d.ts +1 -1
  151. package/dist/shared/dynamic-truncator.d.ts +7 -4
  152. package/dist/shared/external-plugin-detector.d.ts +7 -0
  153. package/dist/shared/index.d.ts +5 -3
  154. package/dist/shared/jsonc-parser.d.ts +4 -0
  155. package/dist/shared/mcp-local-command-normalizer.d.ts +1 -0
  156. package/dist/shared/migrate-legacy-config-file.d.ts +1 -0
  157. package/dist/shared/model-error-classifier.d.ts +1 -2
  158. package/dist/shared/opencode-command-dirs.d.ts +0 -1
  159. package/dist/shared/plugin-identity.d.ts +2 -3
  160. package/dist/shared/project-discovery-dirs.d.ts +4 -0
  161. package/dist/shared/session-model-state.d.ts +1 -2
  162. package/dist/shared/system-directive.d.ts +5 -6
  163. package/dist/tools/call-omo-agent/background-executor.d.ts +1 -2
  164. package/dist/tools/call-omo-agent/constants.d.ts +2 -2
  165. package/dist/tools/call-omo-agent/sync-executor.d.ts +3 -11
  166. package/dist/tools/call-omo-agent/tools.d.ts +2 -2
  167. package/dist/tools/call-omo-agent/types.d.ts +13 -0
  168. package/dist/tools/delegate-task/constants.d.ts +1 -1
  169. package/dist/tools/delegate-task/model-selection.d.ts +0 -1
  170. package/dist/tools/delegate-task/model-string-parser.d.ts +3 -1
  171. package/dist/tools/delegate-task/parent-context-resolver.d.ts +22 -0
  172. package/dist/tools/lsp/constants.d.ts +0 -1
  173. package/dist/tools/lsp/lsp-client-transport.d.ts +2 -4
  174. package/dist/tools/lsp/lsp-client-wrapper.d.ts +1 -2
  175. package/generated/skills-bundles/catalog.json +1 -1
  176. package/generated/skills-bundles/full/skills/data-analysis/experiment-monitoring/auto-claude__monitor-experiment/SKILL.md +56 -55
  177. package/generated/skills-bundles/full/skills/data-analysis/experiment-ops/auto-claude__run-experiment/SKILL.md +105 -104
  178. package/generated/skills-bundles/full/skills/data-analysis/optimization/auto-claude__dse-loop/SKILL.md +272 -271
  179. package/generated/skills-bundles/full/skills/data-analysis/statistics/auto-claude__analyze-results/SKILL.md +40 -39
  180. package/generated/skills-bundles/full/skills/data-analysis/visualization/auto-claude__paper-figure/SKILL.md +274 -273
  181. package/generated/skills-bundles/full/skills/productivity/visual-design/auto-claude__pixel-art/SKILL.md +131 -130
  182. package/generated/skills-bundles/full/skills/research/document-authoring/auto-claude__paper-compile/SKILL.md +245 -244
  183. package/generated/skills-bundles/full/skills/research/document-authoring/auto-claude__paper-plan/SKILL.md +247 -246
  184. package/generated/skills-bundles/full/skills/research/document-authoring/auto-claude__paper-write/SKILL.md +303 -302
  185. package/generated/skills-bundles/full/skills/research/document-authoring/auto-claude__paper-write/templates/iclr2026.tex +84 -84
  186. package/generated/skills-bundles/full/skills/research/document-authoring/auto-claude__paper-write/templates/icml2025.tex +87 -87
  187. package/generated/skills-bundles/full/skills/research/document-authoring/auto-claude__paper-write/templates/math_commands.tex +48 -48
  188. package/generated/skills-bundles/full/skills/research/document-authoring/auto-claude__paper-write/templates/neurips2025.tex +80 -80
  189. package/generated/skills-bundles/full/skills/research/document-authoring/auto-claude__paper-writing/SKILL.md +31 -31
  190. package/generated/skills-bundles/full/skills/research/literature-and-web-search/auto-claude__arxiv/SKILL.md +126 -125
  191. package/generated/skills-bundles/full/skills/research/literature-and-web-search/auto-claude__novelty-check/SKILL.md +80 -79
  192. package/generated/skills-bundles/full/skills/research/literature-and-web-search/auto-claude__research-lit/SKILL.md +187 -186
  193. package/generated/skills-bundles/full/skills/research/research-ideation/auto-claude__idea-creator/SKILL.md +11 -11
  194. package/generated/skills-bundles/full/skills/research/research-ideation/auto-claude__idea-discovery/SKILL.md +18 -18
  195. package/generated/skills-bundles/full/skills/research/research-ideation/auto-claude__idea-discovery-robot/SKILL.md +20 -20
  196. package/generated/skills-bundles/full/skills/research/research-ideation/auto-claude__research-pipeline/SKILL.md +15 -15
  197. package/generated/skills-bundles/full/skills/research/theory-writing/auto-claude__proof-writer/SKILL.md +217 -216
  198. package/generated/skills-bundles/paper/skills/data-analysis/experiment-monitoring/auto-claude__monitor-experiment/SKILL.md +56 -55
  199. package/generated/skills-bundles/paper/skills/data-analysis/experiment-ops/auto-claude__run-experiment/SKILL.md +105 -104
  200. package/generated/skills-bundles/paper/skills/data-analysis/optimization/auto-claude__dse-loop/SKILL.md +272 -271
  201. package/generated/skills-bundles/paper/skills/data-analysis/statistics/auto-claude__analyze-results/SKILL.md +40 -39
  202. package/generated/skills-bundles/paper/skills/data-analysis/visualization/auto-claude__paper-figure/SKILL.md +274 -273
  203. package/generated/skills-bundles/paper/skills/productivity/visual-design/auto-claude__pixel-art/SKILL.md +131 -130
  204. package/generated/skills-bundles/paper/skills/research/document-authoring/auto-claude__paper-compile/SKILL.md +245 -244
  205. package/generated/skills-bundles/paper/skills/research/document-authoring/auto-claude__paper-plan/SKILL.md +247 -246
  206. package/generated/skills-bundles/paper/skills/research/document-authoring/auto-claude__paper-write/SKILL.md +303 -302
  207. package/generated/skills-bundles/paper/skills/research/document-authoring/auto-claude__paper-write/templates/iclr2026.tex +84 -84
  208. package/generated/skills-bundles/paper/skills/research/document-authoring/auto-claude__paper-write/templates/icml2025.tex +87 -87
  209. package/generated/skills-bundles/paper/skills/research/document-authoring/auto-claude__paper-write/templates/math_commands.tex +48 -48
  210. package/generated/skills-bundles/paper/skills/research/document-authoring/auto-claude__paper-write/templates/neurips2025.tex +80 -80
  211. package/generated/skills-bundles/paper/skills/research/document-authoring/auto-claude__paper-writing/SKILL.md +31 -31
  212. package/generated/skills-bundles/paper/skills/research/literature-and-web-search/auto-claude__arxiv/SKILL.md +126 -125
  213. package/generated/skills-bundles/paper/skills/research/literature-and-web-search/auto-claude__novelty-check/SKILL.md +80 -79
  214. package/generated/skills-bundles/paper/skills/research/literature-and-web-search/auto-claude__research-lit/SKILL.md +187 -186
  215. package/generated/skills-bundles/paper/skills/research/research-ideation/auto-claude__idea-creator/SKILL.md +11 -11
  216. package/generated/skills-bundles/paper/skills/research/research-ideation/auto-claude__idea-discovery/SKILL.md +18 -18
  217. package/generated/skills-bundles/paper/skills/research/research-ideation/auto-claude__idea-discovery-robot/SKILL.md +20 -20
  218. package/generated/skills-bundles/paper/skills/research/research-ideation/auto-claude__research-pipeline/SKILL.md +15 -15
  219. package/generated/skills-bundles/paper/skills/research/theory-writing/auto-claude__proof-writer/SKILL.md +217 -216
  220. package/package.json +36 -32
  221. package/dist/cli/openai-only-model-catalog.d.ts +0 -3
  222. package/dist/cli/run/model-resolver.d.ts +0 -4
  223. package/dist/config/schema/git-env-prefix.d.ts +0 -5
  224. package/dist/features/background-agent/remove-task-toast-tracking.d.ts +0 -1
  225. package/dist/features/background-agent/subagent-spawn-limits.d.ts +0 -23
  226. package/dist/features/claude-code-agent-loader/claude-model-mapper.d.ts +0 -4
  227. package/dist/features/tmux-subagent/pane-state-parser.d.ts +0 -8
  228. package/dist/features/tmux-subagent/tracked-session-state.d.ts +0 -8
  229. package/dist/hooks/atlas/boulder-session-lineage.d.ts +0 -6
  230. package/dist/hooks/atlas/final-wave-approval-gate.d.ts +0 -4
  231. package/dist/hooks/atlas/idle-event.d.ts +0 -8
  232. package/dist/hooks/atlas/resolve-active-boulder-session.d.ts +0 -11
  233. package/dist/hooks/auto-slash-command/processed-command-store.d.ts +0 -7
  234. package/dist/hooks/auto-update-checker/checker/sync-package-json.d.ts +0 -7
  235. package/dist/hooks/compaction-context-injector/compaction-context-prompt.d.ts +0 -1
  236. package/dist/hooks/compaction-context-injector/constants.d.ts +0 -5
  237. package/dist/hooks/compaction-context-injector/recovery-prompt-config.d.ts +0 -6
  238. package/dist/hooks/compaction-context-injector/recovery.d.ts +0 -6
  239. package/dist/hooks/compaction-context-injector/session-id.d.ts +0 -2
  240. package/dist/hooks/compaction-context-injector/session-prompt-config-resolver.d.ts +0 -16
  241. package/dist/hooks/compaction-context-injector/tail-monitor.d.ts +0 -13
  242. package/dist/hooks/compaction-context-injector/types.d.ts +0 -43
  243. package/dist/hooks/compaction-context-injector/validated-model.d.ts +0 -13
  244. package/dist/hooks/delegate-task-english-directive/hook.d.ts +0 -14
  245. package/dist/hooks/delegate-task-english-directive/index.d.ts +0 -1
  246. package/dist/hooks/gpt-permission-continuation/assistant-message.d.ts +0 -23
  247. package/dist/hooks/gpt-permission-continuation/constants.d.ts +0 -4
  248. package/dist/hooks/gpt-permission-continuation/detector.d.ts +0 -1
  249. package/dist/hooks/gpt-permission-continuation/handler.d.ts +0 -12
  250. package/dist/hooks/gpt-permission-continuation/index.d.ts +0 -13
  251. package/dist/hooks/gpt-permission-continuation/session-state.d.ts +0 -15
  252. package/dist/hooks/ralph-loop/pending-verification-handler.d.ts +0 -16
  253. package/dist/hooks/runtime-fallback/fallback-bootstrap-model.d.ts +0 -10
  254. package/dist/hooks/runtime-fallback/fallback-retry-dispatcher.d.ts +0 -11
  255. package/dist/hooks/runtime-fallback/last-user-retry-parts.d.ts +0 -4
  256. package/dist/hooks/runtime-fallback/retry-model-payload.d.ts +0 -7
  257. package/dist/hooks/runtime-fallback/session-messages.d.ts +0 -9
  258. package/dist/hooks/runtime-fallback/session-status-handler.d.ts +0 -3
  259. package/dist/hooks/runtime-fallback/visible-assistant-response.d.ts +0 -3
  260. package/dist/hooks/session-notification-content.d.ts +0 -30
  261. package/dist/plugin/normalize-tool-arg-schemas.d.ts +0 -2
  262. package/dist/plugin/ultrawork-variant-availability.d.ts +0 -6
  263. package/dist/shared/compaction-agent-config-checkpoint.d.ts +0 -11
  264. package/dist/shared/context-limit-resolver.d.ts +0 -5
  265. package/dist/shared/fallback-chain-from-models.d.ts +0 -3
  266. package/dist/shared/question-denied-session-permission.d.ts +0 -6
  267. package/dist/shared/retry-status-utils.d.ts +0 -2
  268. package/dist/shared/vision-capable-models-cache.d.ts +0 -4
  269. package/dist/tools/delegate-task/cancel-unstable-agent-task.d.ts +0 -2
  270. package/dist/tools/look-at/multimodal-fallback-chain.d.ts +0 -4
  271. package/dist/tools/lsp/directory-diagnostics.d.ts +0 -1
  272. package/dist/tools/lsp/server-path-bases.d.ts +0 -1
@@ -5,15 +5,6 @@ import type { BackgroundManager } from "./features/background-agent";
5
5
  import type { PluginContext } from "./plugin/types";
6
6
  import type { ModelCacheState } from "./plugin-state";
7
7
  export type CreatedHooks = ReturnType<typeof createHooks>;
8
- type DisposableHook = {
9
- dispose?: () => void;
10
- } | null | undefined;
11
- export type DisposableCreatedHooks = {
12
- runtimeFallback?: DisposableHook;
13
- todoContinuationEnforcer?: DisposableHook;
14
- autoSlashCommand?: DisposableHook;
15
- };
16
- export declare function disposeCreatedHooks(hooks: DisposableCreatedHooks): void;
17
8
  export declare function createHooks(args: {
18
9
  ctx: PluginContext;
19
10
  pluginConfig: OhMyOpenCodeConfig;
@@ -24,10 +15,8 @@ export declare function createHooks(args: {
24
15
  getMergedSkills: () => Promise<LoadedSkill[]>;
25
16
  availableSkills: AvailableSkill[];
26
17
  }): {
27
- disposeHooks: () => void;
28
18
  categorySkillReminder: ReturnType<typeof import("./hooks").createCategorySkillReminderHook> | null;
29
19
  autoSlashCommand: ReturnType<typeof import("./hooks").createAutoSlashCommandHook> | null;
30
- gptPermissionContinuation: ReturnType<typeof import("./hooks").createGptPermissionContinuationHook> | null;
31
20
  stopContinuationGuard: ReturnType<typeof import("./hooks").createStopContinuationGuardHook> | null;
32
21
  compactionContextInjector: ReturnType<typeof import("./hooks").createCompactionContextInjector> | null;
33
22
  compactionTodoPreserver: ReturnType<typeof import("./hooks").createCompactionTodoPreserverHook> | null;
@@ -73,6 +62,4 @@ export declare function createHooks(args: {
73
62
  taskResumeInfo: ReturnType<typeof import("./hooks").createTaskResumeInfoHook> | null;
74
63
  anthropicEffort: ReturnType<typeof import("./hooks/anthropic-effort").createAnthropicEffortHook> | null;
75
64
  runtimeFallback: ReturnType<typeof import("./hooks").createRuntimeFallbackHook> | null;
76
- delegateTaskEnglishDirective: ReturnType<typeof import("./hooks").createDelegateTaskEnglishDirectiveHook> | null;
77
65
  };
78
- export {};
@@ -1,18 +1,3 @@
1
1
  import type { StoredMessage } from "../hook-message-injector";
2
- type SessionMessage = {
3
- info?: {
4
- agent?: string;
5
- model?: {
6
- providerID?: string;
7
- modelID?: string;
8
- variant?: string;
9
- };
10
- providerID?: string;
11
- modelID?: string;
12
- tools?: StoredMessage["tools"];
13
- };
14
- };
15
2
  export declare function isCompactionAgent(agent: string | undefined): boolean;
16
- export declare function resolvePromptContextFromSessionMessages(messages: SessionMessage[], sessionID?: string): StoredMessage | null;
17
- export declare function findNearestMessageExcludingCompaction(messageDir: string, sessionID?: string): StoredMessage | null;
18
- export {};
3
+ export declare function findNearestMessageExcludingCompaction(messageDir: string): StoredMessage | null;
@@ -3,8 +3,9 @@ import type { BackgroundTask, LaunchInput } from "./types";
3
3
  export declare const TASK_TTL_MS: number;
4
4
  export declare const MIN_STABILITY_TIME_MS: number;
5
5
  export declare const DEFAULT_STALE_TIMEOUT_MS = 180000;
6
- export declare const DEFAULT_MESSAGE_STALENESS_TIMEOUT_MS = 1800000;
6
+ export declare const DEFAULT_MESSAGE_STALENESS_TIMEOUT_MS = 600000;
7
7
  export declare const MIN_RUNTIME_BEFORE_STALE_MS = 30000;
8
+ export declare const RUNNING_SESSION_STALENESS_TIMEOUT_MS: number;
8
9
  export declare const MIN_IDLE_TIME_MS = 5000;
9
10
  export declare const POLLING_INTERVAL_MS = 3000;
10
11
  export declare const TASK_CLEANUP_DELAY_MS: number;
@@ -2,7 +2,6 @@ import type { PluginInput } from "@opencode-ai/plugin";
2
2
  import type { BackgroundTask, LaunchInput, ResumeInput } from "./types";
3
3
  import { TaskHistory } from "./task-history";
4
4
  import type { BackgroundTaskConfig, TmuxConfig } from "../../config/schema";
5
- import { type SubagentSpawnContext } from "./subagent-spawn-limits";
6
5
  interface EventProperties {
7
6
  sessionID?: string;
8
7
  info?: {
@@ -38,31 +37,16 @@ export declare class BackgroundManager {
38
37
  private queuesByKey;
39
38
  private processingKeys;
40
39
  private completionTimers;
41
- private completedTaskSummaries;
42
40
  private idleDeferralTimers;
43
41
  private notificationQueueByParent;
44
- private rootDescendantCounts;
45
- private preStartDescendantReservations;
46
42
  private enableParentSessionNotifications;
47
43
  readonly taskHistory: TaskHistory;
48
44
  constructor(ctx: PluginInput, config?: BackgroundTaskConfig, options?: {
49
45
  tmuxConfig?: TmuxConfig;
50
46
  onSubagentSessionCreated?: OnSubagentSessionCreated;
51
- onShutdown?: () => void | Promise<void>;
47
+ onShutdown?: () => void;
52
48
  enableParentSessionNotifications?: boolean;
53
49
  });
54
- assertCanSpawn(parentSessionID: string): Promise<SubagentSpawnContext>;
55
- reserveSubagentSpawn(parentSessionID: string): Promise<{
56
- spawnContext: SubagentSpawnContext;
57
- descendantCount: number;
58
- commit: () => number;
59
- rollback: () => void;
60
- }>;
61
- private registerRootDescendant;
62
- private unregisterRootDescendant;
63
- private markPreStartDescendantReservation;
64
- private settlePreStartDescendantReservation;
65
- private rollbackPreStartDescendantReservation;
66
50
  launch(input: LaunchInput): Promise<BackgroundTask>;
67
51
  private processKey;
68
52
  private startTask;
@@ -88,6 +72,7 @@ export declare class BackgroundManager {
88
72
  private checkSessionTodos;
89
73
  handleEvent(event: Event): void;
90
74
  private tryFallbackRetry;
75
+ private clearTaskSessionState;
91
76
  markForNotification(task: BackgroundTask): void;
92
77
  getPendingNotifications(sessionID: string): BackgroundTask[];
93
78
  clearNotifications(sessionID: string): void;
@@ -110,8 +95,6 @@ export declare class BackgroundManager {
110
95
  * Cleans up the parent entry if no pending tasks remain.
111
96
  */
112
97
  private cleanupPendingByParent;
113
- private clearTaskHistoryWhenParentTasksGone;
114
- private scheduleTaskRemoval;
115
98
  cancelTask(taskId: string, options?: {
116
99
  source?: string;
117
100
  reason?: string;
@@ -141,6 +124,8 @@ export declare class BackgroundManager {
141
124
  */
142
125
  private tryCompleteTask;
143
126
  private notifyParentSession;
127
+ private formatDuration;
128
+ private isAbortedSessionError;
144
129
  private hasRunningTasks;
145
130
  private pruneStaleTasksAndNotifications;
146
131
  private checkAndInterruptStaleTasks;
@@ -150,7 +135,7 @@ export declare class BackgroundManager {
150
135
  * Cancels all pending concurrency waiters and clears timers.
151
136
  * Should be called when the plugin is unloaded.
152
137
  */
153
- shutdown(): Promise<void>;
138
+ shutdown(): void;
154
139
  private enqueueNotificationForParent;
155
140
  }
156
141
  export {};
@@ -1,5 +1,5 @@
1
1
  interface CleanupTarget {
2
- shutdown(): void | Promise<void>;
2
+ shutdown(): void;
3
3
  }
4
4
  export declare function registerManagerForCleanup(manager: CleanupTarget): void;
5
5
  export declare function unregisterManagerForCleanup(manager: CleanupTarget): void;
@@ -14,6 +14,5 @@ export declare class TaskHistory {
14
14
  record(parentSessionID: string | undefined, entry: TaskHistoryEntry): void;
15
15
  getByParentSession(parentSessionID: string): TaskHistoryEntry[];
16
16
  clearSession(parentSessionID: string): void;
17
- clearAll(): void;
18
17
  formatForCompaction(parentSessionID: string): string | null;
19
18
  }
@@ -17,5 +17,4 @@ export declare function checkAndInterruptStaleTasks(args: {
17
17
  concurrencyManager: ConcurrencyManager;
18
18
  notifyParentSession: (task: BackgroundTask) => Promise<void>;
19
19
  sessionStatuses?: SessionStatusMap;
20
- onTaskInterrupted?: (task: BackgroundTask) => void;
21
20
  }): Promise<void>;
@@ -1,5 +1,4 @@
1
1
  import type { FallbackEntry } from "../../shared/model-requirements";
2
- import type { SessionPermissionRule } from "../../shared/question-denied-session-permission";
3
2
  export type BackgroundTaskStatus = "pending" | "running" | "completed" | "error" | "cancelled" | "interrupt";
4
3
  export interface TaskProgress {
5
4
  toolCalls: number;
@@ -11,13 +10,11 @@ export interface TaskProgress {
11
10
  export interface BackgroundTask {
12
11
  id: string;
13
12
  sessionID?: string;
14
- rootSessionID?: string;
15
13
  parentSessionID: string;
16
14
  parentMessageID: string;
17
15
  description: string;
18
16
  prompt: string;
19
17
  agent: string;
20
- spawnDepth?: number;
21
18
  status: BackgroundTaskStatus;
22
19
  queuedAt?: Date;
23
20
  startedAt?: Date;
@@ -78,7 +75,6 @@ export interface LaunchInput {
78
75
  skills?: string[];
79
76
  skillContent?: string;
80
77
  category?: string;
81
- sessionPermission?: SessionPermissionRule[];
82
78
  }
83
79
  export interface ResumeInput {
84
80
  sessionId: string;
@@ -1,2 +1,5 @@
1
1
  import type { BuiltinCommandName, BuiltinCommands } from "./types";
2
- export declare function loadBuiltinCommands(disabledCommands?: BuiltinCommandName[]): BuiltinCommands;
2
+ export interface LoadBuiltinCommandsOptions {
3
+ useRegisteredAgents?: boolean;
4
+ }
5
+ export declare function loadBuiltinCommands(disabledCommands?: BuiltinCommandName[], options?: LoadBuiltinCommandsOptions): BuiltinCommands;
@@ -0,0 +1,2 @@
1
+ import type { BuiltinSkill } from "../types";
2
+ export declare const bioMethodsSkill: BuiltinSkill;
@@ -0,0 +1,2 @@
1
+ import type { BuiltinSkill } from "../types";
2
+ export declare const bioPipelineSkill: BuiltinSkill;
@@ -0,0 +1,2 @@
1
+ import type { BuiltinSkill } from "../types";
2
+ export declare const bioToolsSkill: BuiltinSkill;
@@ -0,0 +1,2 @@
1
+ import type { BuiltinSkill } from "../types";
2
+ export declare const bioVisualizationSkill: BuiltinSkill;
@@ -0,0 +1,2 @@
1
+ import type { BuiltinSkill } from "../types";
2
+ export declare const cellAnnotationSkill: BuiltinSkill;
@@ -0,0 +1,2 @@
1
+ import type { BuiltinSkill } from "../types";
2
+ export declare const differentialExpressionSkill: BuiltinSkill;
@@ -0,0 +1,2 @@
1
+ import type { BuiltinSkill } from "../types";
2
+ export declare const geoQuerySkill: BuiltinSkill;
@@ -9,3 +9,17 @@ export { pptxSkill } from "./pptx";
9
9
  export { xlsxSkill } from "./xlsx";
10
10
  export { webResearchSkill } from "./web-research";
11
11
  export { dataAnalysisSkill } from "./data-analysis";
12
+ export { bioToolsSkill } from "./bio-tools";
13
+ export { bioMethodsSkill } from "./bio-methods";
14
+ export { bioVisualizationSkill } from "./bio-visualization";
15
+ export { wetLabDesignSkill } from "./wet-lab-design";
16
+ export { bioPipelineSkill } from "./bio-pipeline";
17
+ export { paperEvidenceSkill } from "./paper-evidence";
18
+ export { differentialExpressionSkill } from "./differential-expression";
19
+ export { scrnaPreprocessingSkill } from "./scrna-preprocessing";
20
+ export { cellAnnotationSkill } from "./cell-annotation";
21
+ export { pubmedSearchSkill } from "./pubmed-search";
22
+ export { geoQuerySkill } from "./geo-query";
23
+ export { sequenceAnalysisSkill } from "./sequence-analysis";
24
+ export { structuralBiologySkill } from "./structural-biology";
25
+ export { vectorDesignSkill } from "./vector-design";
@@ -0,0 +1,2 @@
1
+ import type { BuiltinSkill } from "../types";
2
+ export declare const paperEvidenceSkill: BuiltinSkill;
@@ -0,0 +1,2 @@
1
+ import type { BuiltinSkill } from "../types";
2
+ export declare const pubmedSearchSkill: BuiltinSkill;
@@ -0,0 +1,2 @@
1
+ import type { BuiltinSkill } from "../types";
2
+ export declare const scrnaPreprocessingSkill: BuiltinSkill;
@@ -0,0 +1,2 @@
1
+ import type { BuiltinSkill } from "../types";
2
+ export declare const sequenceAnalysisSkill: BuiltinSkill;
@@ -0,0 +1,2 @@
1
+ import type { BuiltinSkill } from "../types";
2
+ export declare const structuralBiologySkill: BuiltinSkill;
@@ -0,0 +1,2 @@
1
+ import type { BuiltinSkill } from "../types";
2
+ export declare const vectorDesignSkill: BuiltinSkill;
@@ -0,0 +1,2 @@
1
+ import type { BuiltinSkill } from "../types";
2
+ export declare const wetLabDesignSkill: BuiltinSkill;
@@ -1,3 +1,3 @@
1
- import type { ClaudeCodeAgentConfig } from "./types";
2
- export declare function loadUserAgents(): Record<string, ClaudeCodeAgentConfig>;
3
- export declare function loadProjectAgents(directory?: string): Record<string, ClaudeCodeAgentConfig>;
1
+ import type { AgentConfig } from "@opencode-ai/sdk";
2
+ export declare function loadUserAgents(): Record<string, AgentConfig>;
3
+ export declare function loadProjectAgents(directory?: string): Record<string, AgentConfig>;
@@ -1,21 +1,14 @@
1
1
  import type { AgentConfig } from "@opencode-ai/sdk";
2
2
  export type AgentScope = "user" | "project";
3
- export type ClaudeCodeAgentConfig = Omit<AgentConfig, "model"> & {
4
- model?: string | {
5
- providerID: string;
6
- modelID: string;
7
- };
8
- };
9
3
  export interface AgentFrontmatter {
10
4
  name?: string;
11
5
  description?: string;
12
6
  model?: string;
13
7
  tools?: string;
14
- mode?: "subagent" | "primary" | "all";
15
8
  }
16
9
  export interface LoadedAgent {
17
10
  name: string;
18
11
  path: string;
19
- config: ClaudeCodeAgentConfig;
12
+ config: AgentConfig;
20
13
  scope: AgentScope;
21
14
  }
@@ -0,0 +1,5 @@
1
+ export declare function getAllowedMcpEnvVars(): Set<string>;
2
+ export declare function isSensitiveMcpEnvVar(varName: string): boolean;
3
+ export declare function isAllowedMcpEnvVar(varName: string): boolean;
4
+ export declare function setAdditionalAllowedMcpEnvVars(varNames: string[]): void;
5
+ export declare function resetAdditionalAllowedMcpEnvVars(): void;
@@ -8,3 +8,4 @@ export * from "./types";
8
8
  export * from "./loader";
9
9
  export * from "./transformer";
10
10
  export * from "./env-expander";
11
+ export * from "./configure-allowed-env-vars";
@@ -6,6 +6,7 @@ export interface ClaudeCodeMcpServer {
6
6
  args?: string[];
7
7
  env?: Record<string, string>;
8
8
  headers?: Record<string, string>;
9
+ timeout?: number;
9
10
  oauth?: {
10
11
  clientId?: string;
11
12
  scopes?: string[];
@@ -20,12 +21,14 @@ export interface McpLocalConfig {
20
21
  command: string[];
21
22
  environment?: Record<string, string>;
22
23
  enabled?: boolean;
24
+ timeout?: number;
23
25
  }
24
26
  export interface McpRemoteConfig {
25
27
  type: "remote";
26
28
  url: string;
27
29
  headers?: Record<string, string>;
28
30
  enabled?: boolean;
31
+ timeout?: number;
29
32
  }
30
33
  export type McpServerConfig = McpLocalConfig | McpRemoteConfig;
31
34
  export interface LoadedMcpServer {
@@ -1,3 +1,3 @@
1
- import type { ClaudeCodeAgentConfig } from "../claude-code-agent-loader/types";
1
+ import type { AgentConfig } from "@opencode-ai/sdk";
2
2
  import type { LoadedPlugin } from "./types";
3
- export declare function loadPluginAgents(plugins: LoadedPlugin[]): Record<string, ClaudeCodeAgentConfig>;
3
+ export declare function loadPluginAgents(plugins: LoadedPlugin[]): Record<string, AgentConfig>;
@@ -1,6 +1,6 @@
1
+ import type { AgentConfig } from "@opencode-ai/sdk";
1
2
  import type { CommandDefinition } from "../claude-code-command-loader/types";
2
3
  import type { McpServerConfig } from "../claude-code-mcp-loader/types";
3
- import type { ClaudeCodeAgentConfig } from "../claude-code-agent-loader/types";
4
4
  import type { HooksConfig, LoadedPlugin, PluginLoadError, PluginLoaderOptions } from "./types";
5
5
  export { discoverInstalledPlugins } from "./discovery";
6
6
  export { loadPluginCommands } from "./command-loader";
@@ -11,7 +11,7 @@ export { loadPluginHooksConfigs } from "./hook-loader";
11
11
  export interface PluginComponentsResult {
12
12
  commands: Record<string, CommandDefinition>;
13
13
  skills: Record<string, CommandDefinition>;
14
- agents: Record<string, ClaudeCodeAgentConfig>;
14
+ agents: Record<string, AgentConfig>;
15
15
  mcpServers: Record<string, McpServerConfig>;
16
16
  hooksConfigs: HooksConfig[];
17
17
  plugins: LoadedPlugin[];
@@ -186,7 +186,7 @@ export interface ClaudeSettings {
186
186
  */
187
187
  export interface PluginLoaderOptions {
188
188
  /**
189
- * Override enabled plugins from openagent-labforge config.
189
+ * Override enabled plugins from oh-my-opencode config.
190
190
  * Key format: "pluginName@marketplace" (e.g., "shell-scripting@claude-code-workflows")
191
191
  * Value: true = enabled, false = disabled
192
192
  *
@@ -2,9 +2,14 @@ export declare const subagentSessions: Set<string>;
2
2
  export declare const syncSubagentSessions: Set<string>;
3
3
  export declare function setMainSession(id: string | undefined): void;
4
4
  export declare function getMainSessionID(): string | undefined;
5
+ export declare function registerAgentName(name: string): void;
6
+ export declare function isAgentRegistered(name: string): boolean;
5
7
  /** @internal For testing only */
6
8
  export declare function _resetForTesting(): void;
7
9
  export declare function setSessionAgent(sessionID: string, agent: string): void;
8
10
  export declare function updateSessionAgent(sessionID: string, agent: string): void;
9
11
  export declare function getSessionAgent(sessionID: string): string | undefined;
10
12
  export declare function clearSessionAgent(sessionID: string): void;
13
+ export declare function setUltraworkAutonomousSession(sessionID: string, enabled: boolean): void;
14
+ export declare function isUltraworkAutonomousSession(sessionID: string): boolean;
15
+ export declare function clearUltraworkAutonomousSession(sessionID: string): void;
@@ -1,2 +1,2 @@
1
- import { type GitMasterConfig } from "../../config/schema";
1
+ import type { GitMasterConfig } from "../../config/schema";
2
2
  export declare function injectGitMasterConfig(template: string, config?: GitMasterConfig): string;
@@ -0,0 +1 @@
1
+ export declare function discoverProjectSkillDirectories(startDirectory: string, skillDirectoryName: string): string[];
@@ -0,0 +1,8 @@
1
+ import type { SkillMetadata } from "./types";
2
+ export declare function validateSkillMetadata(options: {
3
+ data: SkillMetadata;
4
+ defaultName: string;
5
+ skillPath: string;
6
+ resolvedPath: string;
7
+ parseError: boolean;
8
+ }): string | null;
@@ -41,15 +41,11 @@ export interface ProcessCleanupHandler {
41
41
  export interface SkillMcpManagerState {
42
42
  clients: Map<string, ManagedClient>;
43
43
  pendingConnections: Map<string, Promise<Client>>;
44
- disconnectedSessions: Map<string, number>;
45
44
  authProviders: Map<string, McpOAuthProvider>;
46
45
  cleanupRegistered: boolean;
47
46
  cleanupInterval: ReturnType<typeof setInterval> | null;
48
47
  cleanupHandlers: ProcessCleanupHandler[];
49
48
  idleTimeoutMs: number;
50
- shutdownGeneration: number;
51
- inFlightConnections: Map<string, number>;
52
- disposed: boolean;
53
49
  }
54
50
  export interface SkillMcpClientConnectionParams {
55
51
  state: SkillMcpManagerState;
@@ -10,7 +10,6 @@ export * from "./session-status-parser";
10
10
  export * from "./session-message-count";
11
11
  export * from "./session-ready-waiter";
12
12
  export * from "./types";
13
- export * from "./pane-state-parser";
14
13
  export * from "./pane-state-querier";
15
14
  export * from "./decision-engine";
16
15
  export * from "./action-executor";
@@ -45,11 +45,6 @@ export declare class TmuxSessionManager {
45
45
  private isEnabled;
46
46
  private getCapacityConfig;
47
47
  private getSessionMappings;
48
- private removeTrackedSession;
49
- private markSessionClosePending;
50
- private queryWindowStateSafely;
51
- private tryCloseTrackedSession;
52
- private retryPendingCloses;
53
48
  private enqueueDeferredSession;
54
49
  private removeDeferredSession;
55
50
  private startDeferredAttachLoop;
@@ -4,8 +4,6 @@ export interface TrackedSession {
4
4
  description: string;
5
5
  createdAt: Date;
6
6
  lastSeenAt: Date;
7
- closePending: boolean;
8
- closeRetryCount: number;
9
7
  lastMessageCount?: number;
10
8
  stableIdlePolls?: number;
11
9
  }
@@ -1,9 +1,7 @@
1
1
  import type { PluginInput } from "@opencode-ai/plugin";
2
- import type { SessionState } from "./types";
3
2
  import type { ToolExecuteAfterInput, ToolExecuteAfterOutput } from "./types";
4
3
  export declare function createToolExecuteAfterHandler(input: {
5
4
  ctx: PluginInput;
6
5
  pendingFilePaths: Map<string, string>;
7
6
  autoCommit: boolean;
8
- getState: (sessionID: string) => SessionState;
9
7
  }): (toolInput: ToolExecuteAfterInput, toolOutput: ToolExecuteAfterOutput) => Promise<void>;
@@ -8,7 +8,6 @@ export interface AtlasHookOptions {
8
8
  directory: string;
9
9
  backgroundManager?: BackgroundManager;
10
10
  isContinuationStopped?: (sessionID: string) => boolean;
11
- shouldSkipContinuation?: (sessionID: string) => boolean;
12
11
  agentOverrides?: AgentOverrides;
13
12
  /** Enable auto-commit after each atomic task completion (default: true) */
14
13
  autoCommit?: boolean;
@@ -29,5 +28,4 @@ export interface SessionState {
29
28
  promptFailureCount: number;
30
29
  lastFailureAt?: number;
31
30
  pendingRetryTimer?: ReturnType<typeof setTimeout>;
32
- waitingForFinalWaveApproval?: boolean;
33
31
  }
@@ -3,8 +3,4 @@ export declare function buildOrchestratorReminder(planName: string, progress: {
3
3
  total: number;
4
4
  completed: number;
5
5
  }, sessionId: string, autoCommit?: boolean, includeCompletionGate?: boolean): string;
6
- export declare function buildFinalWaveApprovalReminder(planName: string, progress: {
7
- total: number;
8
- completed: number;
9
- }, sessionId: string): string;
10
6
  export declare function buildStandaloneVerificationReminder(sessionId: string): string;
@@ -9,11 +9,4 @@ export interface AutoSlashCommandHookOptions {
9
9
  export declare function createAutoSlashCommandHook(options?: AutoSlashCommandHookOptions): {
10
10
  "chat.message": (input: AutoSlashCommandHookInput, output: AutoSlashCommandHookOutput) => Promise<void>;
11
11
  "command.execute.before": (input: CommandExecuteBeforeInput, output: CommandExecuteBeforeOutput) => Promise<void>;
12
- event: ({ event, }: {
13
- event: {
14
- type: string;
15
- properties?: unknown;
16
- };
17
- }) => Promise<void>;
18
- dispose: () => void;
19
12
  };
@@ -3,8 +3,6 @@ export { getLocalDevVersion } from "./checker/local-dev-version";
3
3
  export { findPluginEntry } from "./checker/plugin-entry";
4
4
  export type { PluginEntryInfo } from "./checker/plugin-entry";
5
5
  export { getCachedVersion } from "./checker/cached-version";
6
- export { updatePinnedVersion } from "./checker/pinned-version-updater";
6
+ export { updatePinnedVersion, revertPinnedVersion } from "./checker/pinned-version-updater";
7
7
  export { getLatestVersion } from "./checker/latest-version";
8
8
  export { checkForUpdate } from "./checker/check-for-update";
9
- export { syncCachePackageJsonToIntent } from "./checker/sync-package-json";
10
- export type { SyncResult } from "./checker/sync-package-json";
@@ -1,5 +1,5 @@
1
- export declare const PACKAGE_NAME = "openagent-labforge";
2
- export declare const NPM_REGISTRY_URL = "https://registry.npmjs.org/-/package/openagent-labforge/dist-tags";
1
+ export declare const PACKAGE_NAME = "@bohuyeshan/openagent-labforge-core";
2
+ export declare const NPM_REGISTRY_URL: string;
3
3
  export declare const NPM_FETCH_TIMEOUT = 5000;
4
4
  export declare const CACHE_DIR: string;
5
5
  export declare const VERSION_FILE: string;
@@ -1,5 +1,5 @@
1
1
  /**
2
- * Get the cache directory for openagent-labforge binaries.
2
+ * Get the cache directory for oh-my-opencode binaries.
3
3
  * On Windows: Uses %LOCALAPPDATA% or %APPDATA% (Windows conventions)
4
4
  * On Unix: Follows XDG Base Directory Specification
5
5
  */
@@ -1,6 +1,2 @@
1
1
  import type { BackgroundManager } from "../../features/background-agent";
2
- import type { CompactionContextClient, CompactionContextInjector } from "./types";
3
- export declare function createCompactionContextInjector(options?: {
4
- ctx?: CompactionContextClient;
5
- backgroundManager?: BackgroundManager;
6
- }): CompactionContextInjector;
2
+ export declare function createCompactionContextInjector(backgroundManager?: BackgroundManager): (sessionID?: string) => string;
@@ -1,6 +1,8 @@
1
1
  import type { PluginInput } from "@opencode-ai/plugin";
2
- import { type ContextLimitModelCacheState } from "../shared/context-limit-resolver";
3
- export declare function createContextWindowMonitorHook(_ctx: PluginInput, modelCacheState?: ContextLimitModelCacheState): {
2
+ type ModelCacheStateLike = {
3
+ anthropicContext1MEnabled: boolean;
4
+ };
5
+ export declare function createContextWindowMonitorHook(_ctx: PluginInput, modelCacheState?: ModelCacheStateLike): {
4
6
  "tool.execute.after": (input: {
5
7
  tool: string;
6
8
  sessionID: string;
@@ -17,3 +19,4 @@ export declare function createContextWindowMonitorHook(_ctx: PluginInput, modelC
17
19
  };
18
20
  }) => Promise<void>;
19
21
  };
22
+ export {};
@@ -27,7 +27,6 @@ export { createCategorySkillReminderHook } from "./category-skill-reminder";
27
27
  export { createRalphLoopHook, type RalphLoopHook } from "./ralph-loop";
28
28
  export { createNoSisyphusGptHook } from "./no-sisyphus-gpt";
29
29
  export { createNoHephaestusNonGptHook } from "./no-hephaestus-non-gpt";
30
- export { createGptPermissionContinuationHook, type GptPermissionContinuationHook } from "./gpt-permission-continuation";
31
30
  export { createAutoSlashCommandHook } from "./auto-slash-command";
32
31
  export { createEditErrorRecoveryHook } from "./edit-error-recovery";
33
32
  export { createPrometheusMdOnlyHook } from "./prometheus-md-only";
@@ -48,4 +47,3 @@ export { createWriteExistingFileGuardHook } from "./write-existing-file-guard";
48
47
  export { createHashlineReadEnhancerHook } from "./hashline-read-enhancer";
49
48
  export { createJsonErrorRecoveryHook, JSON_ERROR_TOOL_EXCLUDE_LIST, JSON_ERROR_PATTERNS, JSON_ERROR_REMINDER } from "./json-error-recovery";
50
49
  export { createReadImageResizerHook } from "./read-image-resizer";
51
- export { createDelegateTaskEnglishDirectiveHook } from "./delegate-task-english-directive";
@@ -1,5 +1,5 @@
1
1
  export interface DetectedKeyword {
2
- type: "ultrawork" | "search" | "analyze";
2
+ type: "ultrawork" | "ultrawork-autonomous" | "search" | "analyze";
3
3
  message: string;
4
4
  }
5
5
  export declare function removeCodeBlocks(text: string): string;
@@ -1,6 +1,7 @@
1
1
  import type { PluginInput } from "@opencode-ai/plugin";
2
+ import type { OhMyOpenCodeConfig } from "../../config";
2
3
  import type { ContextCollector } from "../../features/context-injector";
3
- export declare function createKeywordDetectorHook(ctx: PluginInput, _collector?: ContextCollector): {
4
+ export declare function createKeywordDetectorHook(ctx: PluginInput, _collector?: ContextCollector, pluginConfig?: OhMyOpenCodeConfig): {
4
5
  "chat.message": (input: {
5
6
  sessionID: string;
6
7
  agent?: string;
@@ -9,7 +10,6 @@ export declare function createKeywordDetectorHook(ctx: PluginInput, _collector?:
9
10
  modelID: string;
10
11
  };
11
12
  messageID?: string;
12
- variant?: string;
13
13
  }, output: {
14
14
  message: Record<string, unknown>;
15
15
  parts: Array<{
@@ -1,4 +1,5 @@
1
1
  export * from "./detector";
2
2
  export * from "./constants";
3
3
  export * from "./types";
4
+ export * from "./semantic-hint";
4
5
  export { createKeywordDetectorHook } from "./hook";
@@ -0,0 +1,4 @@
1
+ type SemanticHintType = "search" | "analyze" | "write" | "review";
2
+ export declare function detectSemanticHintType(text: string): SemanticHintType | null;
3
+ export declare function buildSemanticHintMessage(type: SemanticHintType): string;
4
+ export {};