@reinamaccredy/oh-my-opencode 3.0.1-beta.1 → 3.0.1-beta.3

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 (404) hide show
  1. package/dist/cli/index.js +44 -23
  2. package/dist/index.js +19100 -28924
  3. package/package.json +3 -2
  4. package/dist/agents/build-prompt.d.ts +0 -31
  5. package/dist/agents/document-writer.d.ts +0 -5
  6. package/dist/agents/explore.d.ts +0 -5
  7. package/dist/agents/frontend-ui-ux-engineer.d.ts +0 -5
  8. package/dist/agents/index.d.ts +0 -5
  9. package/dist/agents/librarian.d.ts +0 -5
  10. package/dist/agents/metis.d.ts +0 -19
  11. package/dist/agents/momus.d.ts +0 -6
  12. package/dist/agents/multimodal-looker.d.ts +0 -5
  13. package/dist/agents/oracle.d.ts +0 -5
  14. package/dist/agents/orchestrator-sisyphus.d.ts +0 -20
  15. package/dist/agents/plan-prompt.d.ts +0 -64
  16. package/dist/agents/prometheus-prompt.d.ts +0 -27
  17. package/dist/agents/sisyphus-junior.d.ts +0 -3
  18. package/dist/agents/sisyphus-prompt-builder.d.ts +0 -26
  19. package/dist/agents/sisyphus.d.ts +0 -4
  20. package/dist/agents/types.d.ts +0 -51
  21. package/dist/agents/utils.d.ts +0 -13
  22. package/dist/agents/utils.test.d.ts +0 -1
  23. package/dist/cli/config-manager.d.ts +0 -77
  24. package/dist/cli/doctor/checks/auth.d.ts +0 -7
  25. package/dist/cli/doctor/checks/auth.test.d.ts +0 -1
  26. package/dist/cli/doctor/checks/config.d.ts +0 -8
  27. package/dist/cli/doctor/checks/config.test.d.ts +0 -1
  28. package/dist/cli/doctor/checks/dependencies.d.ts +0 -8
  29. package/dist/cli/doctor/checks/dependencies.test.d.ts +0 -1
  30. package/dist/cli/doctor/checks/gh.d.ts +0 -13
  31. package/dist/cli/doctor/checks/gh.test.d.ts +0 -1
  32. package/dist/cli/doctor/checks/index.d.ts +0 -11
  33. package/dist/cli/doctor/checks/lsp.d.ts +0 -8
  34. package/dist/cli/doctor/checks/lsp.test.d.ts +0 -1
  35. package/dist/cli/doctor/checks/mcp.d.ts +0 -6
  36. package/dist/cli/doctor/checks/mcp.test.d.ts +0 -1
  37. package/dist/cli/doctor/checks/opencode.d.ts +0 -10
  38. package/dist/cli/doctor/checks/opencode.test.d.ts +0 -1
  39. package/dist/cli/doctor/checks/plugin.d.ts +0 -4
  40. package/dist/cli/doctor/checks/plugin.test.d.ts +0 -1
  41. package/dist/cli/doctor/checks/version.d.ts +0 -4
  42. package/dist/cli/doctor/checks/version.test.d.ts +0 -1
  43. package/dist/cli/doctor/constants.d.ts +0 -40
  44. package/dist/cli/doctor/formatter.d.ts +0 -12
  45. package/dist/cli/doctor/formatter.test.d.ts +0 -1
  46. package/dist/cli/doctor/index.d.ts +0 -5
  47. package/dist/cli/doctor/runner.d.ts +0 -7
  48. package/dist/cli/doctor/runner.test.d.ts +0 -1
  49. package/dist/cli/doctor/types.d.ts +0 -91
  50. package/dist/cli/get-local-version/formatter.d.ts +0 -3
  51. package/dist/cli/get-local-version/index.d.ts +0 -3
  52. package/dist/cli/get-local-version/types.d.ts +0 -13
  53. package/dist/cli/index.d.ts +0 -2
  54. package/dist/cli/install.d.ts +0 -2
  55. package/dist/cli/run/completion.d.ts +0 -2
  56. package/dist/cli/run/completion.test.d.ts +0 -1
  57. package/dist/cli/run/events.d.ts +0 -11
  58. package/dist/cli/run/events.test.d.ts +0 -1
  59. package/dist/cli/run/index.d.ts +0 -2
  60. package/dist/cli/run/runner.d.ts +0 -2
  61. package/dist/cli/run/types.d.ts +0 -71
  62. package/dist/cli/types.d.ts +0 -29
  63. package/dist/config/index.d.ts +0 -2
  64. package/dist/config/schema.d.ts +0 -1948
  65. package/dist/config/schema.test.d.ts +0 -1
  66. package/dist/features/background-agent/concurrency.d.ts +0 -10
  67. package/dist/features/background-agent/concurrency.test.d.ts +0 -1
  68. package/dist/features/background-agent/index.d.ts +0 -3
  69. package/dist/features/background-agent/manager.d.ts +0 -66
  70. package/dist/features/background-agent/manager.test.d.ts +0 -1
  71. package/dist/features/background-agent/types.d.ts +0 -68
  72. package/dist/features/boulder-state/constants.d.ts +0 -10
  73. package/dist/features/boulder-state/index.d.ts +0 -4
  74. package/dist/features/boulder-state/storage.d.ts +0 -28
  75. package/dist/features/boulder-state/storage.test.d.ts +0 -1
  76. package/dist/features/boulder-state/types.d.ts +0 -24
  77. package/dist/features/boulder-state/unified-state.d.ts +0 -86
  78. package/dist/features/builtin-commands/commands.d.ts +0 -2
  79. package/dist/features/builtin-commands/index.d.ts +0 -2
  80. package/dist/features/builtin-commands/templates/init-deep.d.ts +0 -1
  81. package/dist/features/builtin-commands/templates/ralph-loop.d.ts +0 -2
  82. package/dist/features/builtin-commands/templates/refactor.d.ts +0 -1
  83. package/dist/features/builtin-commands/templates/start-work.d.ts +0 -1
  84. package/dist/features/builtin-commands/types.d.ts +0 -6
  85. package/dist/features/builtin-skills/index.d.ts +0 -2
  86. package/dist/features/builtin-skills/skills.d.ts +0 -2
  87. package/dist/features/builtin-skills/types.d.ts +0 -15
  88. package/dist/features/claude-code-agent-loader/index.d.ts +0 -2
  89. package/dist/features/claude-code-agent-loader/loader.d.ts +0 -3
  90. package/dist/features/claude-code-agent-loader/types.d.ts +0 -14
  91. package/dist/features/claude-code-command-loader/index.d.ts +0 -2
  92. package/dist/features/claude-code-command-loader/loader.d.ts +0 -6
  93. package/dist/features/claude-code-command-loader/types.d.ts +0 -42
  94. package/dist/features/claude-code-mcp-loader/env-expander.d.ts +0 -2
  95. package/dist/features/claude-code-mcp-loader/index.d.ts +0 -10
  96. package/dist/features/claude-code-mcp-loader/loader.d.ts +0 -4
  97. package/dist/features/claude-code-mcp-loader/loader.test.d.ts +0 -1
  98. package/dist/features/claude-code-mcp-loader/transformer.d.ts +0 -2
  99. package/dist/features/claude-code-mcp-loader/types.d.ts +0 -35
  100. package/dist/features/claude-code-plugin-loader/index.d.ts +0 -3
  101. package/dist/features/claude-code-plugin-loader/loader.d.ts +0 -20
  102. package/dist/features/claude-code-plugin-loader/types.d.ts +0 -186
  103. package/dist/features/claude-code-session-state/index.d.ts +0 -1
  104. package/dist/features/claude-code-session-state/state.d.ts +0 -4
  105. package/dist/features/context-injector/collector.d.ts +0 -11
  106. package/dist/features/context-injector/collector.test.d.ts +0 -1
  107. package/dist/features/context-injector/index.d.ts +0 -3
  108. package/dist/features/context-injector/injector.d.ts +0 -39
  109. package/dist/features/context-injector/injector.test.d.ts +0 -1
  110. package/dist/features/context-injector/types.d.ts +0 -83
  111. package/dist/features/hook-message-injector/constants.d.ts +0 -3
  112. package/dist/features/hook-message-injector/index.d.ts +0 -4
  113. package/dist/features/hook-message-injector/injector.d.ts +0 -11
  114. package/dist/features/hook-message-injector/types.d.ts +0 -44
  115. package/dist/features/maestro/hooks/index.d.ts +0 -16
  116. package/dist/features/maestro/index.d.ts +0 -4
  117. package/dist/features/maestro/skills/index.d.ts +0 -4
  118. package/dist/features/maestro/types.d.ts +0 -42
  119. package/dist/features/maestro/utils/index.d.ts +0 -4
  120. package/dist/features/opencode-skill-loader/async-loader.d.ts +0 -6
  121. package/dist/features/opencode-skill-loader/async-loader.test.d.ts +0 -1
  122. package/dist/features/opencode-skill-loader/blocking.d.ts +0 -2
  123. package/dist/features/opencode-skill-loader/blocking.test.d.ts +0 -1
  124. package/dist/features/opencode-skill-loader/discover-worker.d.ts +0 -1
  125. package/dist/features/opencode-skill-loader/index.d.ts +0 -4
  126. package/dist/features/opencode-skill-loader/loader.d.ts +0 -16
  127. package/dist/features/opencode-skill-loader/loader.test.d.ts +0 -1
  128. package/dist/features/opencode-skill-loader/merger.d.ts +0 -7
  129. package/dist/features/opencode-skill-loader/skill-content.d.ts +0 -5
  130. package/dist/features/opencode-skill-loader/skill-content.test.d.ts +0 -1
  131. package/dist/features/opencode-skill-loader/types.d.ts +0 -34
  132. package/dist/features/skill-mcp-manager/env-cleaner.d.ts +0 -2
  133. package/dist/features/skill-mcp-manager/env-cleaner.test.d.ts +0 -1
  134. package/dist/features/skill-mcp-manager/index.d.ts +0 -2
  135. package/dist/features/skill-mcp-manager/manager.d.ts +0 -29
  136. package/dist/features/skill-mcp-manager/manager.test.d.ts +0 -1
  137. package/dist/features/skill-mcp-manager/types.d.ts +0 -11
  138. package/dist/features/task-toast-manager/index.d.ts +0 -2
  139. package/dist/features/task-toast-manager/manager.d.ts +0 -56
  140. package/dist/features/task-toast-manager/manager.test.d.ts +0 -1
  141. package/dist/features/task-toast-manager/types.d.ts +0 -16
  142. package/dist/features/workflow-engine/adapters/index.d.ts +0 -2
  143. package/dist/features/workflow-engine/adapters/maestro/index.d.ts +0 -43
  144. package/dist/features/workflow-engine/adapters/sisyphus/index.d.ts +0 -30
  145. package/dist/features/workflow-engine/contracts/v1/contract.test.d.ts +0 -1
  146. package/dist/features/workflow-engine/contracts/v1/engine.contract.d.ts +0 -27
  147. package/dist/features/workflow-engine/contracts/v1/index.d.ts +0 -2
  148. package/dist/features/workflow-engine/contracts/v1/types.d.ts +0 -346
  149. package/dist/features/workflow-engine/engines/index.d.ts +0 -1
  150. package/dist/features/workflow-engine/engines/maestro-engine.d.ts +0 -40
  151. package/dist/features/workflow-engine/index.d.ts +0 -4
  152. package/dist/features/workflow-engine/service.d.ts +0 -6
  153. package/dist/hooks/agent-usage-reminder/constants.d.ts +0 -5
  154. package/dist/hooks/agent-usage-reminder/index.d.ts +0 -22
  155. package/dist/hooks/agent-usage-reminder/storage.d.ts +0 -4
  156. package/dist/hooks/agent-usage-reminder/types.d.ts +0 -6
  157. package/dist/hooks/anthropic-context-window-limit-recovery/executor.d.ts +0 -4
  158. package/dist/hooks/anthropic-context-window-limit-recovery/executor.test.d.ts +0 -1
  159. package/dist/hooks/anthropic-context-window-limit-recovery/index.d.ts +0 -17
  160. package/dist/hooks/anthropic-context-window-limit-recovery/parser.d.ts +0 -2
  161. package/dist/hooks/anthropic-context-window-limit-recovery/pruning-deduplication.d.ts +0 -7
  162. package/dist/hooks/anthropic-context-window-limit-recovery/pruning-deduplication.test.d.ts +0 -1
  163. package/dist/hooks/anthropic-context-window-limit-recovery/pruning-executor.d.ts +0 -3
  164. package/dist/hooks/anthropic-context-window-limit-recovery/pruning-purge-errors.d.ts +0 -7
  165. package/dist/hooks/anthropic-context-window-limit-recovery/pruning-storage.d.ts +0 -2
  166. package/dist/hooks/anthropic-context-window-limit-recovery/pruning-supersede.d.ts +0 -6
  167. package/dist/hooks/anthropic-context-window-limit-recovery/pruning-types.d.ts +0 -36
  168. package/dist/hooks/anthropic-context-window-limit-recovery/storage.d.ts +0 -28
  169. package/dist/hooks/anthropic-context-window-limit-recovery/storage.test.d.ts +0 -1
  170. package/dist/hooks/anthropic-context-window-limit-recovery/types.d.ts +0 -42
  171. package/dist/hooks/auto-slash-command/constants.d.ts +0 -5
  172. package/dist/hooks/auto-slash-command/detector.d.ts +0 -9
  173. package/dist/hooks/auto-slash-command/detector.test.d.ts +0 -1
  174. package/dist/hooks/auto-slash-command/executor.d.ts +0 -11
  175. package/dist/hooks/auto-slash-command/index.d.ts +0 -12
  176. package/dist/hooks/auto-slash-command/index.test.d.ts +0 -1
  177. package/dist/hooks/auto-slash-command/types.d.ts +0 -27
  178. package/dist/hooks/auto-update-checker/cache.d.ts +0 -3
  179. package/dist/hooks/auto-update-checker/checker.d.ts +0 -20
  180. package/dist/hooks/auto-update-checker/constants.d.ts +0 -13
  181. package/dist/hooks/auto-update-checker/index.d.ts +0 -16
  182. package/dist/hooks/auto-update-checker/index.test.d.ts +0 -1
  183. package/dist/hooks/auto-update-checker/types.d.ts +0 -25
  184. package/dist/hooks/background-notification/index.d.ts +0 -22
  185. package/dist/hooks/background-notification/types.d.ts +0 -4
  186. package/dist/hooks/claude-code-hooks/config-loader.d.ts +0 -13
  187. package/dist/hooks/claude-code-hooks/config.d.ts +0 -3
  188. package/dist/hooks/claude-code-hooks/index.d.ts +0 -48
  189. package/dist/hooks/claude-code-hooks/plugin-config.d.ts +0 -8
  190. package/dist/hooks/claude-code-hooks/post-tool-use.d.ts +0 -40
  191. package/dist/hooks/claude-code-hooks/pre-compact.d.ts +0 -16
  192. package/dist/hooks/claude-code-hooks/pre-tool-use.d.ts +0 -25
  193. package/dist/hooks/claude-code-hooks/stop.d.ts +0 -20
  194. package/dist/hooks/claude-code-hooks/todo.d.ts +0 -12
  195. package/dist/hooks/claude-code-hooks/tool-input-cache.d.ts +0 -5
  196. package/dist/hooks/claude-code-hooks/transcript.d.ts +0 -38
  197. package/dist/hooks/claude-code-hooks/types.d.ts +0 -183
  198. package/dist/hooks/claude-code-hooks/user-prompt-submit.d.ts +0 -22
  199. package/dist/hooks/comment-checker/cli.d.ts +0 -53
  200. package/dist/hooks/comment-checker/constants.d.ts +0 -3
  201. package/dist/hooks/comment-checker/downloader.d.ts +0 -25
  202. package/dist/hooks/comment-checker/filters/bdd.d.ts +0 -2
  203. package/dist/hooks/comment-checker/filters/directive.d.ts +0 -2
  204. package/dist/hooks/comment-checker/filters/docstring.d.ts +0 -2
  205. package/dist/hooks/comment-checker/filters/index.d.ts +0 -7
  206. package/dist/hooks/comment-checker/filters/shebang.d.ts +0 -2
  207. package/dist/hooks/comment-checker/index.d.ts +0 -19
  208. package/dist/hooks/comment-checker/output/formatter.d.ts +0 -2
  209. package/dist/hooks/comment-checker/output/index.d.ts +0 -2
  210. package/dist/hooks/comment-checker/output/xml-builder.d.ts +0 -2
  211. package/dist/hooks/comment-checker/types.d.ts +0 -31
  212. package/dist/hooks/compaction-context-injector/index.d.ts +0 -2
  213. package/dist/hooks/context-window-monitor.d.ts +0 -18
  214. package/dist/hooks/directory-agents-injector/constants.d.ts +0 -3
  215. package/dist/hooks/directory-agents-injector/index.d.ts +0 -26
  216. package/dist/hooks/directory-agents-injector/storage.d.ts +0 -3
  217. package/dist/hooks/directory-agents-injector/types.d.ts +0 -5
  218. package/dist/hooks/directory-readme-injector/constants.d.ts +0 -3
  219. package/dist/hooks/directory-readme-injector/index.d.ts +0 -26
  220. package/dist/hooks/directory-readme-injector/storage.d.ts +0 -3
  221. package/dist/hooks/directory-readme-injector/types.d.ts +0 -5
  222. package/dist/hooks/edit-error-recovery/index.d.ts +0 -31
  223. package/dist/hooks/edit-error-recovery/index.test.d.ts +0 -1
  224. package/dist/hooks/empty-message-sanitizer/index.d.ts +0 -12
  225. package/dist/hooks/empty-task-response-detector.d.ts +0 -12
  226. package/dist/hooks/index.d.ts +0 -33
  227. package/dist/hooks/interactive-bash-session/constants.d.ts +0 -4
  228. package/dist/hooks/interactive-bash-session/index.d.ts +0 -23
  229. package/dist/hooks/interactive-bash-session/storage.d.ts +0 -4
  230. package/dist/hooks/interactive-bash-session/types.d.ts +0 -10
  231. package/dist/hooks/keyword-detector/constants.d.ts +0 -12
  232. package/dist/hooks/keyword-detector/detector.d.ts +0 -11
  233. package/dist/hooks/keyword-detector/index.d.ts +0 -22
  234. package/dist/hooks/keyword-detector/index.test.d.ts +0 -1
  235. package/dist/hooks/keyword-detector/types.d.ts +0 -4
  236. package/dist/hooks/maestro-sisyphus-bridge/constants.d.ts +0 -9
  237. package/dist/hooks/maestro-sisyphus-bridge/index.d.ts +0 -53
  238. package/dist/hooks/non-interactive-env/constants.d.ts +0 -34
  239. package/dist/hooks/non-interactive-env/detector.d.ts +0 -1
  240. package/dist/hooks/non-interactive-env/index.d.ts +0 -14
  241. package/dist/hooks/non-interactive-env/index.test.d.ts +0 -1
  242. package/dist/hooks/non-interactive-env/types.d.ts +0 -3
  243. package/dist/hooks/preemptive-compaction/constants.d.ts +0 -3
  244. package/dist/hooks/preemptive-compaction/index.d.ts +0 -24
  245. package/dist/hooks/preemptive-compaction/types.d.ts +0 -17
  246. package/dist/hooks/prometheus-md-only/constants.d.ts +0 -6
  247. package/dist/hooks/prometheus-md-only/index.d.ts +0 -12
  248. package/dist/hooks/prometheus-md-only/index.test.d.ts +0 -1
  249. package/dist/hooks/ralph-loop/constants.d.ts +0 -5
  250. package/dist/hooks/ralph-loop/index.d.ts +0 -20
  251. package/dist/hooks/ralph-loop/index.test.d.ts +0 -1
  252. package/dist/hooks/ralph-loop/storage.d.ts +0 -6
  253. package/dist/hooks/ralph-loop/types.d.ts +0 -16
  254. package/dist/hooks/rules-injector/constants.d.ts +0 -8
  255. package/dist/hooks/rules-injector/finder.d.ts +0 -33
  256. package/dist/hooks/rules-injector/finder.test.d.ts +0 -1
  257. package/dist/hooks/rules-injector/index.d.ts +0 -26
  258. package/dist/hooks/rules-injector/matcher.d.ts +0 -21
  259. package/dist/hooks/rules-injector/parser.d.ts +0 -18
  260. package/dist/hooks/rules-injector/parser.test.d.ts +0 -1
  261. package/dist/hooks/rules-injector/storage.d.ts +0 -9
  262. package/dist/hooks/rules-injector/types.d.ts +0 -54
  263. package/dist/hooks/session-notification-utils.d.ts +0 -9
  264. package/dist/hooks/session-notification.d.ts +0 -20
  265. package/dist/hooks/session-notification.test.d.ts +0 -1
  266. package/dist/hooks/session-recovery/constants.d.ts +0 -6
  267. package/dist/hooks/session-recovery/index.d.ts +0 -22
  268. package/dist/hooks/session-recovery/index.test.d.ts +0 -1
  269. package/dist/hooks/session-recovery/storage.d.ts +0 -19
  270. package/dist/hooks/session-recovery/types.d.ts +0 -90
  271. package/dist/hooks/sisyphus-orchestrator/index.d.ts +0 -35
  272. package/dist/hooks/sisyphus-orchestrator/index.test.d.ts +0 -1
  273. package/dist/hooks/start-work/index.d.ts +0 -16
  274. package/dist/hooks/start-work/index.test.d.ts +0 -1
  275. package/dist/hooks/task-resume-info/index.d.ts +0 -11
  276. package/dist/hooks/tdd-enforcement/constants.d.ts +0 -16
  277. package/dist/hooks/tdd-enforcement/index.d.ts +0 -54
  278. package/dist/hooks/think-mode/detector.d.ts +0 -5
  279. package/dist/hooks/think-mode/index.d.ts +0 -14
  280. package/dist/hooks/think-mode/index.test.d.ts +0 -1
  281. package/dist/hooks/think-mode/switcher.d.ts +0 -57
  282. package/dist/hooks/think-mode/switcher.test.d.ts +0 -1
  283. package/dist/hooks/think-mode/types.d.ts +0 -21
  284. package/dist/hooks/thinking-block-validator/index.d.ts +0 -30
  285. package/dist/hooks/todo-continuation-enforcer.d.ts +0 -17
  286. package/dist/hooks/todo-continuation-enforcer.test.d.ts +0 -1
  287. package/dist/hooks/tool-output-truncator.d.ts +0 -17
  288. package/dist/hooks/tool-output-truncator.test.d.ts +0 -1
  289. package/dist/index.d.ts +0 -5
  290. package/dist/mcp/context7.d.ts +0 -5
  291. package/dist/mcp/grep-app.d.ts +0 -5
  292. package/dist/mcp/index.d.ts +0 -8
  293. package/dist/mcp/index.test.d.ts +0 -1
  294. package/dist/mcp/types.d.ts +0 -9
  295. package/dist/mcp/websearch.d.ts +0 -8
  296. package/dist/plugin-config.d.ts +0 -4
  297. package/dist/plugin-handlers/config-handler.d.ts +0 -10
  298. package/dist/plugin-handlers/index.d.ts +0 -1
  299. package/dist/plugin-state.d.ts +0 -6
  300. package/dist/shared/claude-config-dir.d.ts +0 -1
  301. package/dist/shared/claude-config-dir.test.d.ts +0 -1
  302. package/dist/shared/command-executor.d.ts +0 -21
  303. package/dist/shared/config-errors.d.ts +0 -7
  304. package/dist/shared/config-path.d.ts +0 -17
  305. package/dist/shared/data-path.d.ts +0 -14
  306. package/dist/shared/deep-merge.d.ts +0 -13
  307. package/dist/shared/dynamic-truncator.d.ts +0 -27
  308. package/dist/shared/external-plugin-detector.d.ts +0 -18
  309. package/dist/shared/external-plugin-detector.test.d.ts +0 -1
  310. package/dist/shared/file-reference-resolver.d.ts +0 -1
  311. package/dist/shared/file-utils.d.ts +0 -7
  312. package/dist/shared/frontmatter.d.ts +0 -7
  313. package/dist/shared/frontmatter.test.d.ts +0 -1
  314. package/dist/shared/hook-disabled.d.ts +0 -2
  315. package/dist/shared/index.d.ts +0 -22
  316. package/dist/shared/jsonc-parser.d.ts +0 -15
  317. package/dist/shared/jsonc-parser.test.d.ts +0 -1
  318. package/dist/shared/logger.d.ts +0 -2
  319. package/dist/shared/migration.d.ts +0 -30
  320. package/dist/shared/migration.test.d.ts +0 -1
  321. package/dist/shared/model-sanitizer.d.ts +0 -3
  322. package/dist/shared/opencode-config-dir.d.ts +0 -19
  323. package/dist/shared/opencode-config-dir.test.d.ts +0 -1
  324. package/dist/shared/opencode-version.d.ts +0 -10
  325. package/dist/shared/opencode-version.test.d.ts +0 -1
  326. package/dist/shared/pattern-matcher.d.ts +0 -3
  327. package/dist/shared/permission-compat.d.ts +0 -12
  328. package/dist/shared/permission-compat.test.d.ts +0 -1
  329. package/dist/shared/snake-case.d.ts +0 -4
  330. package/dist/shared/tool-name.d.ts +0 -1
  331. package/dist/tools/ast-grep/cli.d.ts +0 -15
  332. package/dist/tools/ast-grep/constants.d.ts +0 -29
  333. package/dist/tools/ast-grep/downloader.d.ts +0 -5
  334. package/dist/tools/ast-grep/index.d.ts +0 -8
  335. package/dist/tools/ast-grep/napi.d.ts +0 -13
  336. package/dist/tools/ast-grep/tools.d.ts +0 -3
  337. package/dist/tools/ast-grep/types.d.ts +0 -58
  338. package/dist/tools/ast-grep/utils.d.ts +0 -5
  339. package/dist/tools/background-task/constants.d.ts +0 -3
  340. package/dist/tools/background-task/index.d.ts +0 -3
  341. package/dist/tools/background-task/tools.d.ts +0 -7
  342. package/dist/tools/background-task/types.d.ts +0 -14
  343. package/dist/tools/call-omo-agent/constants.d.ts +0 -2
  344. package/dist/tools/call-omo-agent/index.d.ts +0 -3
  345. package/dist/tools/call-omo-agent/tools.d.ts +0 -3
  346. package/dist/tools/call-omo-agent/types.d.ts +0 -24
  347. package/dist/tools/glob/cli.d.ts +0 -7
  348. package/dist/tools/glob/constants.d.ts +0 -6
  349. package/dist/tools/glob/index.d.ts +0 -2
  350. package/dist/tools/glob/tools.d.ts +0 -2
  351. package/dist/tools/glob/types.d.ts +0 -19
  352. package/dist/tools/glob/utils.d.ts +0 -2
  353. package/dist/tools/grep/cli.d.ts +0 -3
  354. package/dist/tools/grep/constants.d.ts +0 -17
  355. package/dist/tools/grep/downloader.d.ts +0 -3
  356. package/dist/tools/grep/downloader.test.d.ts +0 -1
  357. package/dist/tools/grep/index.d.ts +0 -2
  358. package/dist/tools/grep/tools.d.ts +0 -2
  359. package/dist/tools/grep/types.d.ts +0 -36
  360. package/dist/tools/grep/utils.d.ts +0 -3
  361. package/dist/tools/index.d.ts +0 -14
  362. package/dist/tools/interactive-bash/constants.d.ts +0 -3
  363. package/dist/tools/interactive-bash/index.d.ts +0 -3
  364. package/dist/tools/interactive-bash/tools.d.ts +0 -7
  365. package/dist/tools/interactive-bash/types.d.ts +0 -3
  366. package/dist/tools/interactive-bash/utils.d.ts +0 -3
  367. package/dist/tools/look-at/constants.d.ts +0 -2
  368. package/dist/tools/look-at/index.d.ts +0 -3
  369. package/dist/tools/look-at/tools.d.ts +0 -2
  370. package/dist/tools/look-at/types.d.ts +0 -4
  371. package/dist/tools/lsp/client.d.ts +0 -59
  372. package/dist/tools/lsp/config.d.ts +0 -17
  373. package/dist/tools/lsp/constants.d.ts +0 -9
  374. package/dist/tools/lsp/index.d.ts +0 -6
  375. package/dist/tools/lsp/tools.d.ts +0 -12
  376. package/dist/tools/lsp/types.d.ts +0 -156
  377. package/dist/tools/lsp/utils.d.ts +0 -29
  378. package/dist/tools/session-manager/constants.d.ts +0 -12
  379. package/dist/tools/session-manager/index.d.ts +0 -3
  380. package/dist/tools/session-manager/storage.d.ts +0 -12
  381. package/dist/tools/session-manager/storage.test.d.ts +0 -1
  382. package/dist/tools/session-manager/tools.d.ts +0 -5
  383. package/dist/tools/session-manager/tools.test.d.ts +0 -1
  384. package/dist/tools/session-manager/types.d.ts +0 -89
  385. package/dist/tools/session-manager/utils.d.ts +0 -11
  386. package/dist/tools/session-manager/utils.test.d.ts +0 -1
  387. package/dist/tools/sisyphus-task/constants.d.ts +0 -12
  388. package/dist/tools/sisyphus-task/index.d.ts +0 -3
  389. package/dist/tools/sisyphus-task/tools.d.ts +0 -16
  390. package/dist/tools/sisyphus-task/tools.test.d.ts +0 -1
  391. package/dist/tools/sisyphus-task/types.d.ts +0 -9
  392. package/dist/tools/skill/constants.d.ts +0 -3
  393. package/dist/tools/skill/index.d.ts +0 -3
  394. package/dist/tools/skill/tools.d.ts +0 -4
  395. package/dist/tools/skill/tools.test.d.ts +0 -1
  396. package/dist/tools/skill/types.d.ts +0 -25
  397. package/dist/tools/skill-mcp/constants.d.ts +0 -2
  398. package/dist/tools/skill-mcp/index.d.ts +0 -3
  399. package/dist/tools/skill-mcp/tools.d.ts +0 -11
  400. package/dist/tools/skill-mcp/tools.test.d.ts +0 -1
  401. package/dist/tools/skill-mcp/types.d.ts +0 -8
  402. package/dist/tools/slashcommand/index.d.ts +0 -2
  403. package/dist/tools/slashcommand/tools.d.ts +0 -5
  404. package/dist/tools/slashcommand/types.d.ts +0 -24
@@ -1 +0,0 @@
1
- export {};
@@ -1,2 +0,0 @@
1
- import type { ClaudeHookEvent, PluginConfig } from "../hooks/claude-code-hooks/types";
2
- export declare function isHookDisabled(config: PluginConfig, hookType: ClaudeHookEvent): boolean;
@@ -1,22 +0,0 @@
1
- export * from "./frontmatter";
2
- export * from "./command-executor";
3
- export * from "./file-reference-resolver";
4
- export * from "./model-sanitizer";
5
- export * from "./logger";
6
- export * from "./snake-case";
7
- export * from "./tool-name";
8
- export * from "./pattern-matcher";
9
- export * from "./hook-disabled";
10
- export * from "./deep-merge";
11
- export * from "./file-utils";
12
- export * from "./dynamic-truncator";
13
- export * from "./config-path";
14
- export * from "./data-path";
15
- export * from "./config-errors";
16
- export * from "./claude-config-dir";
17
- export * from "./jsonc-parser";
18
- export * from "./migration";
19
- export * from "./opencode-config-dir";
20
- export * from "./opencode-version";
21
- export * from "./permission-compat";
22
- export * from "./external-plugin-detector";
@@ -1,15 +0,0 @@
1
- export interface JsoncParseResult<T> {
2
- data: T | null;
3
- errors: Array<{
4
- message: string;
5
- offset: number;
6
- length: number;
7
- }>;
8
- }
9
- export declare function parseJsonc<T = unknown>(content: string): T;
10
- export declare function parseJsoncSafe<T = unknown>(content: string): JsoncParseResult<T>;
11
- export declare function readJsoncFile<T = unknown>(filePath: string): T | null;
12
- export declare function detectConfigFile(basePath: string): {
13
- format: "json" | "jsonc" | "none";
14
- path: string;
15
- };
@@ -1 +0,0 @@
1
- export {};
@@ -1,2 +0,0 @@
1
- export declare function log(message: string, data?: unknown): void;
2
- export declare function getLogFilePath(): string;
@@ -1,30 +0,0 @@
1
- export declare const AGENT_NAME_MAP: Record<string, string>;
2
- export declare const HOOK_NAME_MAP: Record<string, string>;
3
- export declare const GOOGLE_TO_PROXYPAL_MODEL_MAP: Record<string, string>;
4
- /**
5
- * LEGACY model to category mapping - only for deprecated models needing migration.
6
- * WARNING: Do NOT add installer-generated models (proxypal/*) - causes backup loop.
7
- */
8
- export declare const MODEL_TO_CATEGORY_MAP: Record<string, string>;
9
- export declare function migrateGoogleToProxypalModel(model: string): {
10
- migrated: string;
11
- changed: boolean;
12
- };
13
- export declare function migrateModelsInConfig(config: Record<string, unknown>): {
14
- migrated: Record<string, unknown>;
15
- changed: boolean;
16
- };
17
- export declare function migrateAgentNames(agents: Record<string, unknown>): {
18
- migrated: Record<string, unknown>;
19
- changed: boolean;
20
- };
21
- export declare function migrateHookNames(hooks: string[]): {
22
- migrated: string[];
23
- changed: boolean;
24
- };
25
- export declare function migrateAgentConfigToCategory(config: Record<string, unknown>): {
26
- migrated: Record<string, unknown>;
27
- changed: boolean;
28
- };
29
- export declare function shouldDeleteAgentConfig(config: Record<string, unknown>, category: string): boolean;
30
- export declare function migrateConfigFile(configPath: string, rawConfig: Record<string, unknown>): boolean;
@@ -1 +0,0 @@
1
- export {};
@@ -1,3 +0,0 @@
1
- type CommandSource = "claude-code" | "opencode";
2
- export declare function sanitizeModelField(model: unknown, source?: CommandSource): string | undefined;
3
- export {};
@@ -1,19 +0,0 @@
1
- export type OpenCodeBinaryType = "opencode" | "opencode-desktop";
2
- export interface OpenCodeConfigDirOptions {
3
- binary: OpenCodeBinaryType;
4
- version?: string | null;
5
- checkExisting?: boolean;
6
- }
7
- export interface OpenCodeConfigPaths {
8
- configDir: string;
9
- configJson: string;
10
- configJsonc: string;
11
- packageJson: string;
12
- omoConfig: string;
13
- }
14
- export declare const TAURI_APP_IDENTIFIER = "ai.opencode.desktop";
15
- export declare const TAURI_APP_IDENTIFIER_DEV = "ai.opencode.desktop.dev";
16
- export declare function isDevBuild(version: string | null | undefined): boolean;
17
- export declare function getOpenCodeConfigDir(options: OpenCodeConfigDirOptions): string;
18
- export declare function getOpenCodeConfigPaths(options: OpenCodeConfigDirOptions): OpenCodeConfigPaths;
19
- export declare function detectExistingConfigDir(binary: OpenCodeBinaryType, version?: string | null): string | null;
@@ -1 +0,0 @@
1
- export {};
@@ -1,10 +0,0 @@
1
- export declare const PERMISSION_BREAKING_VERSION = "1.1.1";
2
- export declare function parseVersion(version: string): number[];
3
- export declare function compareVersions(a: string, b: string): -1 | 0 | 1;
4
- export declare function isVersionGte(a: string, b: string): boolean;
5
- export declare function isVersionLt(a: string, b: string): boolean;
6
- export declare function getOpenCodeVersion(): string | null;
7
- export declare function supportsNewPermissionSystem(): boolean;
8
- export declare function usesLegacyToolsSystem(): boolean;
9
- export declare function resetVersionCache(): void;
10
- export declare function setVersionCache(version: string | null): void;
@@ -1 +0,0 @@
1
- export {};
@@ -1,3 +0,0 @@
1
- import type { ClaudeHooksConfig, HookMatcher } from "../hooks/claude-code-hooks/types";
2
- export declare function matchesToolMatcher(toolName: string, matcher: string): boolean;
3
- export declare function findMatchingHooks(config: ClaudeHooksConfig, eventName: keyof ClaudeHooksConfig, toolName?: string): HookMatcher[];
@@ -1,12 +0,0 @@
1
- export type PermissionValue = "ask" | "allow" | "deny";
2
- export interface LegacyToolsFormat {
3
- tools: Record<string, boolean>;
4
- }
5
- export interface NewPermissionFormat {
6
- permission: Record<string, PermissionValue>;
7
- }
8
- export type VersionAwareRestrictions = LegacyToolsFormat | NewPermissionFormat;
9
- export declare function createAgentToolRestrictions(denyTools: string[]): VersionAwareRestrictions;
10
- export declare function migrateToolsToPermission(tools: Record<string, boolean>): Record<string, PermissionValue>;
11
- export declare function migratePermissionToTools(permission: Record<string, PermissionValue>): Record<string, boolean>;
12
- export declare function migrateAgentConfig(config: Record<string, unknown>): Record<string, unknown>;
@@ -1 +0,0 @@
1
- export {};
@@ -1,4 +0,0 @@
1
- export declare function camelToSnake(str: string): string;
2
- export declare function snakeToCamel(str: string): string;
3
- export declare function objectToSnakeCase(obj: Record<string, unknown>, deep?: boolean): Record<string, unknown>;
4
- export declare function objectToCamelCase(obj: Record<string, unknown>, deep?: boolean): Record<string, unknown>;
@@ -1 +0,0 @@
1
- export declare function transformToolName(toolName: string): string;
@@ -1,15 +0,0 @@
1
- import type { CliLanguage, SgResult } from "./types";
2
- export interface RunOptions {
3
- pattern: string;
4
- lang: CliLanguage;
5
- paths?: string[];
6
- globs?: string[];
7
- rewrite?: string;
8
- context?: number;
9
- updateAll?: boolean;
10
- }
11
- export declare function getAstGrepPath(): Promise<string | null>;
12
- export declare function startBackgroundInit(): void;
13
- export declare function runSg(options: RunOptions): Promise<SgResult>;
14
- export declare function isCliAvailable(): boolean;
15
- export declare function ensureCliAvailable(): Promise<boolean>;
@@ -1,29 +0,0 @@
1
- export declare function findSgCliPathSync(): string | null;
2
- export declare function getSgCliPath(): string;
3
- export declare function setSgCliPath(path: string): void;
4
- export declare const CLI_LANGUAGES: readonly ["bash", "c", "cpp", "csharp", "css", "elixir", "go", "haskell", "html", "java", "javascript", "json", "kotlin", "lua", "nix", "php", "python", "ruby", "rust", "scala", "solidity", "swift", "typescript", "tsx", "yaml"];
5
- export declare const NAPI_LANGUAGES: readonly ["html", "javascript", "tsx", "css", "typescript"];
6
- export declare const DEFAULT_TIMEOUT_MS = 300000;
7
- export declare const DEFAULT_MAX_OUTPUT_BYTES: number;
8
- export declare const DEFAULT_MAX_MATCHES = 500;
9
- export declare const LANG_EXTENSIONS: Record<string, string[]>;
10
- export interface EnvironmentCheckResult {
11
- cli: {
12
- available: boolean;
13
- path: string;
14
- error?: string;
15
- };
16
- napi: {
17
- available: boolean;
18
- error?: string;
19
- };
20
- }
21
- /**
22
- * Check if ast-grep CLI and NAPI are available.
23
- * Call this at startup to provide early feedback about missing dependencies.
24
- */
25
- export declare function checkEnvironment(): EnvironmentCheckResult;
26
- /**
27
- * Format environment check result as user-friendly message.
28
- */
29
- export declare function formatEnvironmentCheck(result: EnvironmentCheckResult): string;
@@ -1,5 +0,0 @@
1
- export declare function getCacheDir(): string;
2
- export declare function getBinaryName(): string;
3
- export declare function getCachedBinaryPath(): string | null;
4
- export declare function downloadAstGrep(version?: string): Promise<string | null>;
5
- export declare function ensureAstGrepBinary(): Promise<string | null>;
@@ -1,8 +0,0 @@
1
- import type { ToolDefinition } from "@opencode-ai/plugin";
2
- import { ast_grep_search, ast_grep_replace } from "./tools";
3
- export declare const builtinTools: Record<string, ToolDefinition>;
4
- export { ast_grep_search, ast_grep_replace };
5
- export { ensureAstGrepBinary, getCachedBinaryPath, getCacheDir } from "./downloader";
6
- export { getAstGrepPath, isCliAvailable, ensureCliAvailable, startBackgroundInit } from "./cli";
7
- export { checkEnvironment, formatEnvironmentCheck } from "./constants";
8
- export type { EnvironmentCheckResult } from "./constants";
@@ -1,13 +0,0 @@
1
- import type { NapiLanguage, AnalyzeResult, MetaVariable } from "./types";
2
- export declare function parseCode(code: string, lang: NapiLanguage): import("@ast-grep/napi").SgRoot<import("@ast-grep/napi/types/staticTypes").TypesMap>;
3
- export declare function findPattern(root: ReturnType<typeof parseCode>, pattern: string): import("@ast-grep/napi").SgNode<import("@ast-grep/napi/types/staticTypes").TypesMap, import("@ast-grep/napi/types/staticTypes").Kinds<import("@ast-grep/napi/types/staticTypes").TypesMap>>[];
4
- export declare function extractMetaVariables(node: ReturnType<ReturnType<typeof parseCode>["root"]>, pattern: string): MetaVariable[];
5
- export declare function analyzeCode(code: string, lang: NapiLanguage, pattern: string, shouldExtractMetaVars: boolean): AnalyzeResult[];
6
- export declare function transformCode(code: string, lang: NapiLanguage, pattern: string, rewrite: string): {
7
- transformed: string;
8
- editCount: number;
9
- };
10
- export declare function getRootInfo(code: string, lang: NapiLanguage): {
11
- kind: string;
12
- childCount: number;
13
- };
@@ -1,3 +0,0 @@
1
- import { type ToolDefinition } from "@opencode-ai/plugin/tool";
2
- export declare const ast_grep_search: ToolDefinition;
3
- export declare const ast_grep_replace: ToolDefinition;
@@ -1,58 +0,0 @@
1
- import type { CLI_LANGUAGES, NAPI_LANGUAGES } from "./constants";
2
- export type CliLanguage = (typeof CLI_LANGUAGES)[number];
3
- export type NapiLanguage = (typeof NAPI_LANGUAGES)[number];
4
- export interface Position {
5
- line: number;
6
- column: number;
7
- }
8
- export interface Range {
9
- start: Position;
10
- end: Position;
11
- }
12
- export interface CliMatch {
13
- text: string;
14
- range: {
15
- byteOffset: {
16
- start: number;
17
- end: number;
18
- };
19
- start: Position;
20
- end: Position;
21
- };
22
- file: string;
23
- lines: string;
24
- charCount: {
25
- leading: number;
26
- trailing: number;
27
- };
28
- language: string;
29
- }
30
- export interface SearchMatch {
31
- file: string;
32
- text: string;
33
- range: Range;
34
- lines: string;
35
- }
36
- export interface MetaVariable {
37
- name: string;
38
- text: string;
39
- kind: string;
40
- }
41
- export interface AnalyzeResult {
42
- text: string;
43
- range: Range;
44
- kind: string;
45
- metaVariables: MetaVariable[];
46
- }
47
- export interface TransformResult {
48
- original: string;
49
- transformed: string;
50
- editCount: number;
51
- }
52
- export interface SgResult {
53
- matches: CliMatch[];
54
- totalMatches: number;
55
- truncated: boolean;
56
- truncatedReason?: "max_matches" | "max_output_bytes" | "timeout";
57
- error?: string;
58
- }
@@ -1,5 +0,0 @@
1
- import type { AnalyzeResult, SgResult } from "./types";
2
- export declare function formatSearchResult(result: SgResult): string;
3
- export declare function formatReplaceResult(result: SgResult, isDryRun: boolean): string;
4
- export declare function formatAnalyzeResult(results: AnalyzeResult[], extractedMetaVars: boolean): string;
5
- export declare function formatTransformResult(_original: string, transformed: string, editCount: number): string;
@@ -1,3 +0,0 @@
1
- export declare const BACKGROUND_TASK_DESCRIPTION = "Run agent task in background. Returns task_id immediately; notifies on completion.\n\nUse `background_output` to get results. Prompts MUST be in English.";
2
- export declare const BACKGROUND_OUTPUT_DESCRIPTION = "Get output from background task. System notifies on completion, so block=true rarely needed.";
3
- export declare const BACKGROUND_CANCEL_DESCRIPTION = "Cancel running background task(s). Use all=true to cancel ALL before final answer.";
@@ -1,3 +0,0 @@
1
- export { createBackgroundOutput, createBackgroundCancel, } from "./tools";
2
- export type * from "./types";
3
- export * from "./constants";
@@ -1,7 +0,0 @@
1
- import { type PluginInput, type ToolDefinition } from "@opencode-ai/plugin";
2
- import type { BackgroundManager } from "../../features/background-agent";
3
- type OpencodeClient = PluginInput["client"];
4
- export declare function createBackgroundTask(manager: BackgroundManager): ToolDefinition;
5
- export declare function createBackgroundOutput(manager: BackgroundManager, client: OpencodeClient): ToolDefinition;
6
- export declare function createBackgroundCancel(manager: BackgroundManager, client: OpencodeClient): ToolDefinition;
7
- export {};
@@ -1,14 +0,0 @@
1
- export interface BackgroundTaskArgs {
2
- description: string;
3
- prompt: string;
4
- agent: string;
5
- }
6
- export interface BackgroundOutputArgs {
7
- task_id: string;
8
- block?: boolean;
9
- timeout?: number;
10
- }
11
- export interface BackgroundCancelArgs {
12
- taskId?: string;
13
- all?: boolean;
14
- }
@@ -1,2 +0,0 @@
1
- export declare const ALLOWED_AGENTS: readonly ["explore", "librarian"];
2
- export declare const CALL_OMO_AGENT_DESCRIPTION = "Spawn explore/librarian agent. run_in_background REQUIRED (true=async with task_id, false=sync).\n\nAvailable: {agents}\n\nPass `resume=session_id` to continue previous agent with full context. Prompts MUST be in English. Use `background_output` for async results.";
@@ -1,3 +0,0 @@
1
- export * from "./types";
2
- export * from "./constants";
3
- export { createCallOmoAgent } from "./tools";
@@ -1,3 +0,0 @@
1
- import { type PluginInput, type ToolDefinition } from "@opencode-ai/plugin";
2
- import type { BackgroundManager } from "../../features/background-agent";
3
- export declare function createCallOmoAgent(ctx: PluginInput, backgroundManager: BackgroundManager): ToolDefinition;
@@ -1,24 +0,0 @@
1
- import type { ALLOWED_AGENTS } from "./constants";
2
- export type AllowedAgentType = (typeof ALLOWED_AGENTS)[number];
3
- export interface CallOmoAgentArgs {
4
- description: string;
5
- prompt: string;
6
- subagent_type: string;
7
- run_in_background: boolean;
8
- session_id?: string;
9
- }
10
- export interface CallOmoAgentSyncResult {
11
- title: string;
12
- metadata: {
13
- summary?: Array<{
14
- id: string;
15
- tool: string;
16
- state: {
17
- status: string;
18
- title?: string;
19
- };
20
- }>;
21
- sessionId: string;
22
- };
23
- output: string;
24
- }
@@ -1,7 +0,0 @@
1
- import { type GrepBackend } from "./constants";
2
- import type { GlobOptions, GlobResult } from "./types";
3
- export interface ResolvedCli {
4
- path: string;
5
- backend: GrepBackend;
6
- }
7
- export declare function runRgFiles(options: GlobOptions, resolvedCli?: ResolvedCli): Promise<GlobResult>;
@@ -1,6 +0,0 @@
1
- export { resolveGrepCli, resolveGrepCliWithAutoInstall, type GrepBackend } from "../grep/constants";
2
- export declare const DEFAULT_TIMEOUT_MS = 60000;
3
- export declare const DEFAULT_LIMIT = 100;
4
- export declare const DEFAULT_MAX_DEPTH = 20;
5
- export declare const DEFAULT_MAX_OUTPUT_BYTES: number;
6
- export declare const RG_FILES_FLAGS: readonly ["--files", "--color=never", "--glob=!.git/*"];
@@ -1,2 +0,0 @@
1
- import { glob } from "./tools";
2
- export { glob };
@@ -1,2 +0,0 @@
1
- import { type ToolDefinition } from "@opencode-ai/plugin/tool";
2
- export declare const glob: ToolDefinition;
@@ -1,19 +0,0 @@
1
- export interface FileMatch {
2
- path: string;
3
- mtime: number;
4
- }
5
- export interface GlobResult {
6
- files: FileMatch[];
7
- totalFiles: number;
8
- truncated: boolean;
9
- error?: string;
10
- }
11
- export interface GlobOptions {
12
- pattern: string;
13
- paths?: string[];
14
- hidden?: boolean;
15
- noIgnore?: boolean;
16
- maxDepth?: number;
17
- timeout?: number;
18
- limit?: number;
19
- }
@@ -1,2 +0,0 @@
1
- import type { GlobResult } from "./types";
2
- export declare function formatGlobResult(result: GlobResult): string;
@@ -1,3 +0,0 @@
1
- import type { GrepOptions, GrepResult, CountResult } from "./types";
2
- export declare function runRg(options: GrepOptions): Promise<GrepResult>;
3
- export declare function runRgCount(options: Omit<GrepOptions, "context">): Promise<CountResult[]>;
@@ -1,17 +0,0 @@
1
- export type GrepBackend = "rg" | "grep";
2
- interface ResolvedCli {
3
- path: string;
4
- backend: GrepBackend;
5
- }
6
- export declare function resolveGrepCli(): ResolvedCli;
7
- export declare function resolveGrepCliWithAutoInstall(): Promise<ResolvedCli>;
8
- export declare const DEFAULT_MAX_DEPTH = 20;
9
- export declare const DEFAULT_MAX_FILESIZE = "10M";
10
- export declare const DEFAULT_MAX_COUNT = 500;
11
- export declare const DEFAULT_MAX_COLUMNS = 1000;
12
- export declare const DEFAULT_CONTEXT = 2;
13
- export declare const DEFAULT_TIMEOUT_MS = 300000;
14
- export declare const DEFAULT_MAX_OUTPUT_BYTES: number;
15
- export declare const RG_SAFETY_FLAGS: readonly ["--no-follow", "--color=never", "--no-heading", "--line-number", "--with-filename"];
16
- export declare const GREP_SAFETY_FLAGS: readonly ["-n", "-H", "--color=never"];
17
- export {};
@@ -1,3 +0,0 @@
1
- export declare function findFileRecursive(dir: string, filename: string): string | null;
2
- export declare function downloadAndInstallRipgrep(): Promise<string>;
3
- export declare function getInstalledRipgrepPath(): string | null;
@@ -1 +0,0 @@
1
- export {};
@@ -1,2 +0,0 @@
1
- import { grep } from "./tools";
2
- export { grep };
@@ -1,2 +0,0 @@
1
- import { type ToolDefinition } from "@opencode-ai/plugin/tool";
2
- export declare const grep: ToolDefinition;
@@ -1,36 +0,0 @@
1
- export interface GrepMatch {
2
- file: string;
3
- line: number;
4
- column?: number;
5
- text: string;
6
- }
7
- export interface GrepResult {
8
- matches: GrepMatch[];
9
- totalMatches: number;
10
- filesSearched: number;
11
- truncated: boolean;
12
- error?: string;
13
- }
14
- export interface GrepOptions {
15
- pattern: string;
16
- paths?: string[];
17
- globs?: string[];
18
- excludeGlobs?: string[];
19
- context?: number;
20
- maxDepth?: number;
21
- maxFilesize?: string;
22
- maxCount?: number;
23
- maxColumns?: number;
24
- caseSensitive?: boolean;
25
- wholeWord?: boolean;
26
- fixedStrings?: boolean;
27
- multiline?: boolean;
28
- hidden?: boolean;
29
- noIgnore?: boolean;
30
- fileType?: string[];
31
- timeout?: number;
32
- }
33
- export interface CountResult {
34
- file: string;
35
- count: number;
36
- }
@@ -1,3 +0,0 @@
1
- import type { GrepResult, CountResult } from "./types";
2
- export declare function formatGrepResult(result: GrepResult): string;
3
- export declare function formatCountResult(results: CountResult[]): string;
@@ -1,14 +0,0 @@
1
- export { createSlashcommandTool, discoverCommandsSync } from "./slashcommand";
2
- export { sessionExists } from "./session-manager/storage";
3
- export { interactive_bash, startBackgroundCheck as startTmuxCheck } from "./interactive-bash";
4
- export { createSkillTool } from "./skill";
5
- export { getTmuxPath } from "./interactive-bash/utils";
6
- export { createSkillMcpTool } from "./skill-mcp";
7
- import type { PluginInput, ToolDefinition } from "@opencode-ai/plugin";
8
- import type { BackgroundManager } from "../features/background-agent";
9
- type OpencodeClient = PluginInput["client"];
10
- export { createCallOmoAgent } from "./call-omo-agent";
11
- export { createLookAt } from "./look-at";
12
- export { createSisyphusTask, type SisyphusTaskToolOptions, DEFAULT_CATEGORIES, CATEGORY_PROMPT_APPENDS } from "./sisyphus-task";
13
- export declare function createBackgroundTools(manager: BackgroundManager, client: OpencodeClient): Record<string, ToolDefinition>;
14
- export declare const builtinTools: Record<string, ToolDefinition>;
@@ -1,3 +0,0 @@
1
- export declare const DEFAULT_TIMEOUT_MS = 60000;
2
- export declare const BLOCKED_TMUX_SUBCOMMANDS: string[];
3
- export declare const INTERACTIVE_BASH_DESCRIPTION = "Execute tmux commands. Use \"omo-{name}\" session pattern.\n\nFor: server processes, long-running tasks, background jobs, interactive CLI tools.\n\nBlocked (use bash instead): capture-pane, save-buffer, show-buffer, pipe-pane.";
@@ -1,3 +0,0 @@
1
- import { interactive_bash } from "./tools";
2
- import { startBackgroundCheck } from "./utils";
3
- export { interactive_bash, startBackgroundCheck };
@@ -1,7 +0,0 @@
1
- import { type ToolDefinition } from "@opencode-ai/plugin/tool";
2
- /**
3
- * Quote-aware command tokenizer with escape handling
4
- * Handles single/double quotes and backslash escapes without external dependencies
5
- */
6
- export declare function tokenizeCommand(cmd: string): string[];
7
- export declare const interactive_bash: ToolDefinition;
@@ -1,3 +0,0 @@
1
- export interface InteractiveBashArgs {
2
- tmux_command: string;
3
- }
@@ -1,3 +0,0 @@
1
- export declare function getTmuxPath(): Promise<string | null>;
2
- export declare function getCachedTmuxPath(): string | null;
3
- export declare function startBackgroundCheck(): void;
@@ -1,2 +0,0 @@
1
- export declare const MULTIMODAL_LOOKER_AGENT: "multimodal-looker";
2
- export declare const LOOK_AT_DESCRIPTION = "Analyze media files (PDFs, images, diagrams) that require interpretation beyond raw text. Extracts specific information or summaries from documents, describes visual content. Use when you need analyzed/extracted data rather than literal file contents.";
@@ -1,3 +0,0 @@
1
- export * from "./types";
2
- export * from "./constants";
3
- export { createLookAt } from "./tools";
@@ -1,2 +0,0 @@
1
- import { type PluginInput, type ToolDefinition } from "@opencode-ai/plugin";
2
- export declare function createLookAt(ctx: PluginInput): ToolDefinition;
@@ -1,4 +0,0 @@
1
- export interface LookAtArgs {
2
- file_path: string;
3
- goal: string;
4
- }