oh-my-opencode-kikokikok 2.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 (410) hide show
  1. package/LICENSE.md +82 -0
  2. package/README.ja.md +1029 -0
  3. package/README.ko.md +1022 -0
  4. package/README.md +1100 -0
  5. package/README.zh-cn.md +1032 -0
  6. package/dist/agents/api-designer.d.ts +5 -0
  7. package/dist/agents/build-prompt.d.ts +31 -0
  8. package/dist/agents/code-indexer.d.ts +5 -0
  9. package/dist/agents/code-reviewer.d.ts +5 -0
  10. package/dist/agents/dba.d.ts +5 -0
  11. package/dist/agents/debugger.d.ts +5 -0
  12. package/dist/agents/devops-engineer.d.ts +5 -0
  13. package/dist/agents/document-writer.d.ts +5 -0
  14. package/dist/agents/enterprise-agents.test.d.ts +1 -0
  15. package/dist/agents/estimator.d.ts +5 -0
  16. package/dist/agents/explore.d.ts +5 -0
  17. package/dist/agents/frontend-ui-ux-engineer.d.ts +5 -0
  18. package/dist/agents/incident-commander.d.ts +5 -0
  19. package/dist/agents/index.d.ts +5 -0
  20. package/dist/agents/knowledge-curator.d.ts +5 -0
  21. package/dist/agents/librarian.d.ts +5 -0
  22. package/dist/agents/multimodal-looker.d.ts +5 -0
  23. package/dist/agents/oracle.d.ts +5 -0
  24. package/dist/agents/performance-analyst.d.ts +5 -0
  25. package/dist/agents/plan-prompt.d.ts +61 -0
  26. package/dist/agents/project-manager.d.ts +5 -0
  27. package/dist/agents/security-reviewer.d.ts +5 -0
  28. package/dist/agents/sisyphus-prompt-builder.d.ts +25 -0
  29. package/dist/agents/sisyphus.d.ts +4 -0
  30. package/dist/agents/test-engineer.d.ts +5 -0
  31. package/dist/agents/types.d.ts +49 -0
  32. package/dist/agents/utils.d.ts +10 -0
  33. package/dist/agents/utils.test.d.ts +1 -0
  34. package/dist/auth/antigravity/constants.d.ts +36 -0
  35. package/dist/auth/antigravity/fetch.d.ts +68 -0
  36. package/dist/auth/antigravity/index.d.ts +13 -0
  37. package/dist/auth/antigravity/message-converter.d.ts +54 -0
  38. package/dist/auth/antigravity/oauth.d.ts +85 -0
  39. package/dist/auth/antigravity/plugin.d.ts +54 -0
  40. package/dist/auth/antigravity/project.d.ts +10 -0
  41. package/dist/auth/antigravity/request.d.ts +104 -0
  42. package/dist/auth/antigravity/response.d.ts +137 -0
  43. package/dist/auth/antigravity/thinking.d.ts +234 -0
  44. package/dist/auth/antigravity/thought-signature-store.d.ts +52 -0
  45. package/dist/auth/antigravity/token.d.ts +38 -0
  46. package/dist/auth/antigravity/tools.d.ts +119 -0
  47. package/dist/auth/antigravity/types.d.ts +205 -0
  48. package/dist/cli/config-manager.d.ts +94 -0
  49. package/dist/cli/config-manager.test.d.ts +1 -0
  50. package/dist/cli/doctor/checks/auth.d.ts +7 -0
  51. package/dist/cli/doctor/checks/auth.test.d.ts +1 -0
  52. package/dist/cli/doctor/checks/config.d.ts +8 -0
  53. package/dist/cli/doctor/checks/config.test.d.ts +1 -0
  54. package/dist/cli/doctor/checks/dependencies.d.ts +8 -0
  55. package/dist/cli/doctor/checks/dependencies.test.d.ts +1 -0
  56. package/dist/cli/doctor/checks/gh.d.ts +13 -0
  57. package/dist/cli/doctor/checks/gh.test.d.ts +1 -0
  58. package/dist/cli/doctor/checks/index.d.ts +11 -0
  59. package/dist/cli/doctor/checks/lsp.d.ts +8 -0
  60. package/dist/cli/doctor/checks/lsp.test.d.ts +1 -0
  61. package/dist/cli/doctor/checks/mcp.d.ts +6 -0
  62. package/dist/cli/doctor/checks/mcp.test.d.ts +1 -0
  63. package/dist/cli/doctor/checks/opencode.d.ts +10 -0
  64. package/dist/cli/doctor/checks/opencode.test.d.ts +1 -0
  65. package/dist/cli/doctor/checks/plugin.d.ts +4 -0
  66. package/dist/cli/doctor/checks/plugin.test.d.ts +1 -0
  67. package/dist/cli/doctor/checks/version.d.ts +4 -0
  68. package/dist/cli/doctor/checks/version.test.d.ts +1 -0
  69. package/dist/cli/doctor/constants.d.ts +40 -0
  70. package/dist/cli/doctor/formatter.d.ts +12 -0
  71. package/dist/cli/doctor/formatter.test.d.ts +1 -0
  72. package/dist/cli/doctor/index.d.ts +5 -0
  73. package/dist/cli/doctor/runner.d.ts +7 -0
  74. package/dist/cli/doctor/runner.test.d.ts +1 -0
  75. package/dist/cli/doctor/types.d.ts +91 -0
  76. package/dist/cli/get-local-version/formatter.d.ts +3 -0
  77. package/dist/cli/get-local-version/index.d.ts +3 -0
  78. package/dist/cli/get-local-version/types.d.ts +13 -0
  79. package/dist/cli/index.d.ts +2 -0
  80. package/dist/cli/index.js +23400 -0
  81. package/dist/cli/install.d.ts +2 -0
  82. package/dist/cli/run/completion.d.ts +2 -0
  83. package/dist/cli/run/completion.test.d.ts +1 -0
  84. package/dist/cli/run/events.d.ts +11 -0
  85. package/dist/cli/run/events.test.d.ts +1 -0
  86. package/dist/cli/run/index.d.ts +2 -0
  87. package/dist/cli/run/runner.d.ts +2 -0
  88. package/dist/cli/run/types.d.ts +71 -0
  89. package/dist/cli/types.d.ts +27 -0
  90. package/dist/config/index.d.ts +2 -0
  91. package/dist/config/schema.d.ts +2717 -0
  92. package/dist/features/background-agent/index.d.ts +2 -0
  93. package/dist/features/background-agent/manager.d.ts +41 -0
  94. package/dist/features/background-agent/manager.test.d.ts +1 -0
  95. package/dist/features/background-agent/types.d.ts +38 -0
  96. package/dist/features/builtin-commands/commands.d.ts +2 -0
  97. package/dist/features/builtin-commands/index.d.ts +2 -0
  98. package/dist/features/builtin-commands/templates/init-deep.d.ts +1 -0
  99. package/dist/features/builtin-commands/templates/ralph-loop.d.ts +2 -0
  100. package/dist/features/builtin-commands/types.d.ts +6 -0
  101. package/dist/features/builtin-skills/api/index.d.ts +1 -0
  102. package/dist/features/builtin-skills/api/types.d.ts +193 -0
  103. package/dist/features/builtin-skills/code-index/index.d.ts +1 -0
  104. package/dist/features/builtin-skills/code-index/types.d.ts +95 -0
  105. package/dist/features/builtin-skills/db/index.d.ts +1 -0
  106. package/dist/features/builtin-skills/db/types.d.ts +210 -0
  107. package/dist/features/builtin-skills/debug/index.d.ts +1 -0
  108. package/dist/features/builtin-skills/debug/types.d.ts +229 -0
  109. package/dist/features/builtin-skills/deploy/index.d.ts +1 -0
  110. package/dist/features/builtin-skills/deploy/types.d.ts +215 -0
  111. package/dist/features/builtin-skills/incident/index.d.ts +4 -0
  112. package/dist/features/builtin-skills/incident/types.d.ts +39 -0
  113. package/dist/features/builtin-skills/index.d.ts +2 -0
  114. package/dist/features/builtin-skills/oncall/index.d.ts +1 -0
  115. package/dist/features/builtin-skills/oncall/types.d.ts +223 -0
  116. package/dist/features/builtin-skills/perf/index.d.ts +1 -0
  117. package/dist/features/builtin-skills/perf/types.d.ts +170 -0
  118. package/dist/features/builtin-skills/project/index.d.ts +1 -0
  119. package/dist/features/builtin-skills/project/types.d.ts +190 -0
  120. package/dist/features/builtin-skills/review/index.d.ts +4 -0
  121. package/dist/features/builtin-skills/review/types.d.ts +29 -0
  122. package/dist/features/builtin-skills/security/index.d.ts +4 -0
  123. package/dist/features/builtin-skills/security/types.d.ts +35 -0
  124. package/dist/features/builtin-skills/skills.d.ts +2 -0
  125. package/dist/features/builtin-skills/test/index.d.ts +1 -0
  126. package/dist/features/builtin-skills/test/types.d.ts +231 -0
  127. package/dist/features/builtin-skills/types.d.ts +15 -0
  128. package/dist/features/claude-code-agent-loader/index.d.ts +2 -0
  129. package/dist/features/claude-code-agent-loader/loader.d.ts +3 -0
  130. package/dist/features/claude-code-agent-loader/types.d.ts +14 -0
  131. package/dist/features/claude-code-command-loader/index.d.ts +2 -0
  132. package/dist/features/claude-code-command-loader/loader.d.ts +5 -0
  133. package/dist/features/claude-code-command-loader/types.d.ts +42 -0
  134. package/dist/features/claude-code-mcp-loader/env-expander.d.ts +2 -0
  135. package/dist/features/claude-code-mcp-loader/index.d.ts +10 -0
  136. package/dist/features/claude-code-mcp-loader/loader.d.ts +4 -0
  137. package/dist/features/claude-code-mcp-loader/loader.test.d.ts +1 -0
  138. package/dist/features/claude-code-mcp-loader/transformer.d.ts +2 -0
  139. package/dist/features/claude-code-mcp-loader/types.d.ts +35 -0
  140. package/dist/features/claude-code-plugin-loader/index.d.ts +3 -0
  141. package/dist/features/claude-code-plugin-loader/loader.d.ts +20 -0
  142. package/dist/features/claude-code-plugin-loader/types.d.ts +186 -0
  143. package/dist/features/claude-code-session-state/index.d.ts +1 -0
  144. package/dist/features/claude-code-session-state/state.d.ts +4 -0
  145. package/dist/features/hook-message-injector/constants.d.ts +3 -0
  146. package/dist/features/hook-message-injector/index.d.ts +4 -0
  147. package/dist/features/hook-message-injector/injector.d.ts +11 -0
  148. package/dist/features/hook-message-injector/types.d.ts +43 -0
  149. package/dist/features/knowledge-repo/cache.d.ts +28 -0
  150. package/dist/features/knowledge-repo/client.d.ts +39 -0
  151. package/dist/features/knowledge-repo/client.test.d.ts +1 -0
  152. package/dist/features/knowledge-repo/conflict-detector.d.ts +28 -0
  153. package/dist/features/knowledge-repo/index.d.ts +4 -0
  154. package/dist/features/knowledge-repo/types.d.ts +338 -0
  155. package/dist/features/mem0-memory/adapter.d.ts +19 -0
  156. package/dist/features/mem0-memory/adapter.test.d.ts +1 -0
  157. package/dist/features/mem0-memory/index.d.ts +3 -0
  158. package/dist/features/mem0-memory/layers.d.ts +29 -0
  159. package/dist/features/mem0-memory/layers.test.d.ts +1 -0
  160. package/dist/features/mem0-memory/types.d.ts +45 -0
  161. package/dist/features/opencode-skill-loader/index.d.ts +3 -0
  162. package/dist/features/opencode-skill-loader/loader.d.ts +41 -0
  163. package/dist/features/opencode-skill-loader/loader.test.d.ts +1 -0
  164. package/dist/features/opencode-skill-loader/merger.d.ts +7 -0
  165. package/dist/features/opencode-skill-loader/types.d.ts +28 -0
  166. package/dist/features/skill-mcp-manager/index.d.ts +2 -0
  167. package/dist/features/skill-mcp-manager/manager.d.ts +21 -0
  168. package/dist/features/skill-mcp-manager/manager.test.d.ts +1 -0
  169. package/dist/features/skill-mcp-manager/types.d.ts +11 -0
  170. package/dist/google-auth.d.ts +3 -0
  171. package/dist/google-auth.js +1865 -0
  172. package/dist/hooks/agent-usage-reminder/constants.d.ts +5 -0
  173. package/dist/hooks/agent-usage-reminder/index.d.ts +22 -0
  174. package/dist/hooks/agent-usage-reminder/storage.d.ts +4 -0
  175. package/dist/hooks/agent-usage-reminder/types.d.ts +6 -0
  176. package/dist/hooks/anthropic-context-window-limit-recovery/executor.d.ts +4 -0
  177. package/dist/hooks/anthropic-context-window-limit-recovery/executor.test.d.ts +1 -0
  178. package/dist/hooks/anthropic-context-window-limit-recovery/index.d.ts +17 -0
  179. package/dist/hooks/anthropic-context-window-limit-recovery/parser.d.ts +2 -0
  180. package/dist/hooks/anthropic-context-window-limit-recovery/pruning-deduplication.d.ts +7 -0
  181. package/dist/hooks/anthropic-context-window-limit-recovery/pruning-deduplication.test.d.ts +1 -0
  182. package/dist/hooks/anthropic-context-window-limit-recovery/pruning-executor.d.ts +3 -0
  183. package/dist/hooks/anthropic-context-window-limit-recovery/pruning-purge-errors.d.ts +7 -0
  184. package/dist/hooks/anthropic-context-window-limit-recovery/pruning-storage.d.ts +2 -0
  185. package/dist/hooks/anthropic-context-window-limit-recovery/pruning-supersede.d.ts +6 -0
  186. package/dist/hooks/anthropic-context-window-limit-recovery/pruning-types.d.ts +36 -0
  187. package/dist/hooks/anthropic-context-window-limit-recovery/storage.d.ts +28 -0
  188. package/dist/hooks/anthropic-context-window-limit-recovery/storage.test.d.ts +1 -0
  189. package/dist/hooks/anthropic-context-window-limit-recovery/types.d.ts +42 -0
  190. package/dist/hooks/auto-slash-command/constants.d.ts +5 -0
  191. package/dist/hooks/auto-slash-command/detector.d.ts +9 -0
  192. package/dist/hooks/auto-slash-command/detector.test.d.ts +1 -0
  193. package/dist/hooks/auto-slash-command/executor.d.ts +7 -0
  194. package/dist/hooks/auto-slash-command/index.d.ts +8 -0
  195. package/dist/hooks/auto-slash-command/index.test.d.ts +1 -0
  196. package/dist/hooks/auto-slash-command/types.d.ts +27 -0
  197. package/dist/hooks/auto-update-checker/cache.d.ts +3 -0
  198. package/dist/hooks/auto-update-checker/checker.d.ts +20 -0
  199. package/dist/hooks/auto-update-checker/constants.d.ts +13 -0
  200. package/dist/hooks/auto-update-checker/index.d.ts +13 -0
  201. package/dist/hooks/auto-update-checker/types.d.ts +25 -0
  202. package/dist/hooks/background-notification/index.d.ts +12 -0
  203. package/dist/hooks/background-notification/types.d.ts +4 -0
  204. package/dist/hooks/claude-code-hooks/config-loader.d.ts +13 -0
  205. package/dist/hooks/claude-code-hooks/config.d.ts +3 -0
  206. package/dist/hooks/claude-code-hooks/index.d.ts +47 -0
  207. package/dist/hooks/claude-code-hooks/plugin-config.d.ts +8 -0
  208. package/dist/hooks/claude-code-hooks/post-tool-use.d.ts +40 -0
  209. package/dist/hooks/claude-code-hooks/pre-compact.d.ts +16 -0
  210. package/dist/hooks/claude-code-hooks/pre-tool-use.d.ts +25 -0
  211. package/dist/hooks/claude-code-hooks/stop.d.ts +20 -0
  212. package/dist/hooks/claude-code-hooks/todo.d.ts +12 -0
  213. package/dist/hooks/claude-code-hooks/tool-input-cache.d.ts +5 -0
  214. package/dist/hooks/claude-code-hooks/transcript.d.ts +38 -0
  215. package/dist/hooks/claude-code-hooks/types.d.ts +182 -0
  216. package/dist/hooks/claude-code-hooks/user-prompt-submit.d.ts +22 -0
  217. package/dist/hooks/comment-checker/cli.d.ts +53 -0
  218. package/dist/hooks/comment-checker/constants.d.ts +3 -0
  219. package/dist/hooks/comment-checker/downloader.d.ts +25 -0
  220. package/dist/hooks/comment-checker/filters/bdd.d.ts +2 -0
  221. package/dist/hooks/comment-checker/filters/directive.d.ts +2 -0
  222. package/dist/hooks/comment-checker/filters/docstring.d.ts +2 -0
  223. package/dist/hooks/comment-checker/filters/index.d.ts +7 -0
  224. package/dist/hooks/comment-checker/filters/shebang.d.ts +2 -0
  225. package/dist/hooks/comment-checker/index.d.ts +19 -0
  226. package/dist/hooks/comment-checker/output/formatter.d.ts +2 -0
  227. package/dist/hooks/comment-checker/output/index.d.ts +2 -0
  228. package/dist/hooks/comment-checker/output/xml-builder.d.ts +2 -0
  229. package/dist/hooks/comment-checker/types.d.ts +31 -0
  230. package/dist/hooks/compaction-context-injector/index.d.ts +2 -0
  231. package/dist/hooks/context-window-monitor.d.ts +18 -0
  232. package/dist/hooks/directory-agents-injector/constants.d.ts +3 -0
  233. package/dist/hooks/directory-agents-injector/index.d.ts +26 -0
  234. package/dist/hooks/directory-agents-injector/storage.d.ts +3 -0
  235. package/dist/hooks/directory-agents-injector/types.d.ts +5 -0
  236. package/dist/hooks/directory-readme-injector/constants.d.ts +3 -0
  237. package/dist/hooks/directory-readme-injector/index.d.ts +26 -0
  238. package/dist/hooks/directory-readme-injector/storage.d.ts +3 -0
  239. package/dist/hooks/directory-readme-injector/types.d.ts +5 -0
  240. package/dist/hooks/edit-error-recovery/index.d.ts +31 -0
  241. package/dist/hooks/edit-error-recovery/index.test.d.ts +1 -0
  242. package/dist/hooks/empty-message-sanitizer/index.d.ts +12 -0
  243. package/dist/hooks/empty-task-response-detector.d.ts +12 -0
  244. package/dist/hooks/index.d.ts +27 -0
  245. package/dist/hooks/interactive-bash-session/constants.d.ts +4 -0
  246. package/dist/hooks/interactive-bash-session/index.d.ts +23 -0
  247. package/dist/hooks/interactive-bash-session/storage.d.ts +4 -0
  248. package/dist/hooks/interactive-bash-session/types.d.ts +10 -0
  249. package/dist/hooks/keyword-detector/constants.d.ts +6 -0
  250. package/dist/hooks/keyword-detector/detector.d.ts +11 -0
  251. package/dist/hooks/keyword-detector/index.d.ts +22 -0
  252. package/dist/hooks/keyword-detector/types.d.ts +4 -0
  253. package/dist/hooks/knowledge-monitor/conflict-handler.d.ts +19 -0
  254. package/dist/hooks/knowledge-monitor/conflict-handler.test.d.ts +1 -0
  255. package/dist/hooks/knowledge-monitor/constants.d.ts +8 -0
  256. package/dist/hooks/knowledge-monitor/index.d.ts +28 -0
  257. package/dist/hooks/knowledge-monitor/interruption.d.ts +18 -0
  258. package/dist/hooks/knowledge-monitor/types.d.ts +41 -0
  259. package/dist/hooks/non-interactive-env/constants.d.ts +34 -0
  260. package/dist/hooks/non-interactive-env/detector.d.ts +1 -0
  261. package/dist/hooks/non-interactive-env/index.d.ts +14 -0
  262. package/dist/hooks/non-interactive-env/index.test.d.ts +1 -0
  263. package/dist/hooks/non-interactive-env/types.d.ts +3 -0
  264. package/dist/hooks/preemptive-compaction/constants.d.ts +3 -0
  265. package/dist/hooks/preemptive-compaction/index.d.ts +24 -0
  266. package/dist/hooks/preemptive-compaction/types.d.ts +17 -0
  267. package/dist/hooks/ralph-loop/constants.d.ts +5 -0
  268. package/dist/hooks/ralph-loop/index.d.ts +20 -0
  269. package/dist/hooks/ralph-loop/index.test.d.ts +1 -0
  270. package/dist/hooks/ralph-loop/storage.d.ts +6 -0
  271. package/dist/hooks/ralph-loop/types.d.ts +15 -0
  272. package/dist/hooks/rules-injector/constants.d.ts +8 -0
  273. package/dist/hooks/rules-injector/finder.d.ts +33 -0
  274. package/dist/hooks/rules-injector/finder.test.d.ts +1 -0
  275. package/dist/hooks/rules-injector/index.d.ts +26 -0
  276. package/dist/hooks/rules-injector/matcher.d.ts +21 -0
  277. package/dist/hooks/rules-injector/parser.d.ts +18 -0
  278. package/dist/hooks/rules-injector/parser.test.d.ts +1 -0
  279. package/dist/hooks/rules-injector/storage.d.ts +9 -0
  280. package/dist/hooks/rules-injector/types.d.ts +54 -0
  281. package/dist/hooks/session-notification-utils.d.ts +9 -0
  282. package/dist/hooks/session-notification.d.ts +20 -0
  283. package/dist/hooks/session-notification.test.d.ts +1 -0
  284. package/dist/hooks/session-recovery/constants.d.ts +6 -0
  285. package/dist/hooks/session-recovery/index.d.ts +22 -0
  286. package/dist/hooks/session-recovery/index.test.d.ts +1 -0
  287. package/dist/hooks/session-recovery/storage.d.ts +19 -0
  288. package/dist/hooks/session-recovery/types.d.ts +90 -0
  289. package/dist/hooks/think-mode/detector.d.ts +5 -0
  290. package/dist/hooks/think-mode/index.d.ts +14 -0
  291. package/dist/hooks/think-mode/index.test.d.ts +1 -0
  292. package/dist/hooks/think-mode/switcher.d.ts +57 -0
  293. package/dist/hooks/think-mode/switcher.test.d.ts +1 -0
  294. package/dist/hooks/think-mode/types.d.ts +21 -0
  295. package/dist/hooks/thinking-block-validator/index.d.ts +30 -0
  296. package/dist/hooks/todo-continuation-enforcer.d.ts +16 -0
  297. package/dist/hooks/todo-continuation-enforcer.test.d.ts +1 -0
  298. package/dist/hooks/tool-output-truncator.d.ts +17 -0
  299. package/dist/index.d.ts +5 -0
  300. package/dist/index.js +50332 -0
  301. package/dist/mcp/context7.d.ts +5 -0
  302. package/dist/mcp/cypress.d.ts +5 -0
  303. package/dist/mcp/grep-app.d.ts +5 -0
  304. package/dist/mcp/honeycomb.d.ts +5 -0
  305. package/dist/mcp/index.d.ts +7 -0
  306. package/dist/mcp/index.test.d.ts +1 -0
  307. package/dist/mcp/types.d.ts +10 -0
  308. package/dist/mcp/vault.d.ts +5 -0
  309. package/dist/mcp/websearch-exa.d.ts +5 -0
  310. package/dist/plugin-config.d.ts +4 -0
  311. package/dist/plugin-handlers/config-handler.d.ts +10 -0
  312. package/dist/plugin-handlers/index.d.ts +1 -0
  313. package/dist/plugin-state.d.ts +6 -0
  314. package/dist/shared/claude-config-dir.d.ts +1 -0
  315. package/dist/shared/claude-config-dir.test.d.ts +1 -0
  316. package/dist/shared/command-executor.d.ts +21 -0
  317. package/dist/shared/config-errors.d.ts +7 -0
  318. package/dist/shared/config-path.d.ts +17 -0
  319. package/dist/shared/data-path.d.ts +14 -0
  320. package/dist/shared/deep-merge.d.ts +13 -0
  321. package/dist/shared/dynamic-truncator.d.ts +27 -0
  322. package/dist/shared/file-reference-resolver.d.ts +1 -0
  323. package/dist/shared/file-utils.d.ts +6 -0
  324. package/dist/shared/frontmatter.d.ts +5 -0
  325. package/dist/shared/frontmatter.test.d.ts +1 -0
  326. package/dist/shared/hook-disabled.d.ts +2 -0
  327. package/dist/shared/index.d.ts +18 -0
  328. package/dist/shared/jsonc-parser.d.ts +15 -0
  329. package/dist/shared/jsonc-parser.test.d.ts +1 -0
  330. package/dist/shared/logger.d.ts +2 -0
  331. package/dist/shared/migration.d.ts +11 -0
  332. package/dist/shared/migration.test.d.ts +1 -0
  333. package/dist/shared/model-sanitizer.d.ts +3 -0
  334. package/dist/shared/pattern-matcher.d.ts +3 -0
  335. package/dist/shared/snake-case.d.ts +4 -0
  336. package/dist/shared/tool-name.d.ts +1 -0
  337. package/dist/tools/ast-grep/cli.d.ts +15 -0
  338. package/dist/tools/ast-grep/constants.d.ts +29 -0
  339. package/dist/tools/ast-grep/downloader.d.ts +5 -0
  340. package/dist/tools/ast-grep/index.d.ts +8 -0
  341. package/dist/tools/ast-grep/napi.d.ts +13 -0
  342. package/dist/tools/ast-grep/tools.d.ts +3 -0
  343. package/dist/tools/ast-grep/types.d.ts +58 -0
  344. package/dist/tools/ast-grep/utils.d.ts +5 -0
  345. package/dist/tools/background-task/constants.d.ts +3 -0
  346. package/dist/tools/background-task/index.d.ts +3 -0
  347. package/dist/tools/background-task/tools.d.ts +7 -0
  348. package/dist/tools/background-task/types.d.ts +14 -0
  349. package/dist/tools/call-omo-agent/constants.d.ts +2 -0
  350. package/dist/tools/call-omo-agent/index.d.ts +3 -0
  351. package/dist/tools/call-omo-agent/tools.d.ts +3 -0
  352. package/dist/tools/call-omo-agent/types.d.ts +24 -0
  353. package/dist/tools/glob/cli.d.ts +7 -0
  354. package/dist/tools/glob/constants.d.ts +6 -0
  355. package/dist/tools/glob/index.d.ts +2 -0
  356. package/dist/tools/glob/tools.d.ts +2 -0
  357. package/dist/tools/glob/types.d.ts +19 -0
  358. package/dist/tools/glob/utils.d.ts +2 -0
  359. package/dist/tools/grep/cli.d.ts +3 -0
  360. package/dist/tools/grep/constants.d.ts +17 -0
  361. package/dist/tools/grep/downloader.d.ts +3 -0
  362. package/dist/tools/grep/downloader.test.d.ts +1 -0
  363. package/dist/tools/grep/index.d.ts +2 -0
  364. package/dist/tools/grep/tools.d.ts +2 -0
  365. package/dist/tools/grep/types.d.ts +36 -0
  366. package/dist/tools/grep/utils.d.ts +3 -0
  367. package/dist/tools/index.d.ts +11 -0
  368. package/dist/tools/interactive-bash/constants.d.ts +3 -0
  369. package/dist/tools/interactive-bash/index.d.ts +3 -0
  370. package/dist/tools/interactive-bash/tools.d.ts +7 -0
  371. package/dist/tools/interactive-bash/types.d.ts +3 -0
  372. package/dist/tools/interactive-bash/utils.d.ts +3 -0
  373. package/dist/tools/knowledge/constants.d.ts +8 -0
  374. package/dist/tools/knowledge/index.d.ts +2 -0
  375. package/dist/tools/knowledge/tools.d.ts +5 -0
  376. package/dist/tools/knowledge/types.d.ts +79 -0
  377. package/dist/tools/look-at/constants.d.ts +2 -0
  378. package/dist/tools/look-at/index.d.ts +3 -0
  379. package/dist/tools/look-at/tools.d.ts +2 -0
  380. package/dist/tools/look-at/types.d.ts +4 -0
  381. package/dist/tools/lsp/client.d.ts +59 -0
  382. package/dist/tools/lsp/config.d.ts +17 -0
  383. package/dist/tools/lsp/constants.d.ts +9 -0
  384. package/dist/tools/lsp/index.d.ts +6 -0
  385. package/dist/tools/lsp/tools.d.ts +12 -0
  386. package/dist/tools/lsp/types.d.ts +156 -0
  387. package/dist/tools/lsp/utils.d.ts +29 -0
  388. package/dist/tools/session-manager/constants.d.ts +12 -0
  389. package/dist/tools/session-manager/index.d.ts +3 -0
  390. package/dist/tools/session-manager/storage.d.ts +12 -0
  391. package/dist/tools/session-manager/storage.test.d.ts +1 -0
  392. package/dist/tools/session-manager/tools.d.ts +5 -0
  393. package/dist/tools/session-manager/tools.test.d.ts +1 -0
  394. package/dist/tools/session-manager/types.d.ts +89 -0
  395. package/dist/tools/session-manager/utils.d.ts +11 -0
  396. package/dist/tools/session-manager/utils.test.d.ts +1 -0
  397. package/dist/tools/skill/constants.d.ts +3 -0
  398. package/dist/tools/skill/index.d.ts +3 -0
  399. package/dist/tools/skill/tools.d.ts +10 -0
  400. package/dist/tools/skill/tools.test.d.ts +1 -0
  401. package/dist/tools/skill/types.d.ts +25 -0
  402. package/dist/tools/skill-mcp/constants.d.ts +2 -0
  403. package/dist/tools/skill-mcp/index.d.ts +3 -0
  404. package/dist/tools/skill-mcp/tools.d.ts +11 -0
  405. package/dist/tools/skill-mcp/tools.test.d.ts +1 -0
  406. package/dist/tools/skill-mcp/types.d.ts +8 -0
  407. package/dist/tools/slashcommand/index.d.ts +2 -0
  408. package/dist/tools/slashcommand/tools.d.ts +2 -0
  409. package/dist/tools/slashcommand/types.d.ts +16 -0
  410. package/package.json +81 -0
@@ -0,0 +1,119 @@
1
+ /**
2
+ * Antigravity Tool Normalization
3
+ * Converts tools between OpenAI and Gemini formats.
4
+ *
5
+ * OpenAI format:
6
+ * { "type": "function", "function": { "name": "x", "description": "...", "parameters": {...} } }
7
+ *
8
+ * Gemini format:
9
+ * { "functionDeclarations": [{ "name": "x", "description": "...", "parameters": {...} }] }
10
+ *
11
+ * Note: This is for Gemini models ONLY. Claude models are not supported via Antigravity.
12
+ */
13
+ /**
14
+ * OpenAI function tool format
15
+ */
16
+ export interface OpenAITool {
17
+ type: string;
18
+ function?: {
19
+ name: string;
20
+ description?: string;
21
+ parameters?: Record<string, unknown>;
22
+ };
23
+ }
24
+ /**
25
+ * Gemini function declaration format
26
+ */
27
+ export interface GeminiFunctionDeclaration {
28
+ name: string;
29
+ description?: string;
30
+ parameters?: Record<string, unknown>;
31
+ }
32
+ /**
33
+ * Gemini tools format (array of functionDeclarations)
34
+ */
35
+ export interface GeminiTools {
36
+ functionDeclarations: GeminiFunctionDeclaration[];
37
+ }
38
+ /**
39
+ * OpenAI tool call in response
40
+ */
41
+ export interface OpenAIToolCall {
42
+ id: string;
43
+ type: "function";
44
+ function: {
45
+ name: string;
46
+ arguments: string;
47
+ };
48
+ }
49
+ /**
50
+ * Gemini function call in response
51
+ */
52
+ export interface GeminiFunctionCall {
53
+ name: string;
54
+ args: Record<string, unknown>;
55
+ }
56
+ /**
57
+ * Gemini function response format
58
+ */
59
+ export interface GeminiFunctionResponse {
60
+ name: string;
61
+ response: Record<string, unknown>;
62
+ }
63
+ /**
64
+ * Gemini tool result containing function calls
65
+ */
66
+ export interface GeminiToolResult {
67
+ functionCall?: GeminiFunctionCall;
68
+ functionResponse?: GeminiFunctionResponse;
69
+ }
70
+ /**
71
+ * Normalize OpenAI-format tools to Gemini format.
72
+ * Converts an array of OpenAI tools to Gemini's functionDeclarations format.
73
+ *
74
+ * - Handles `function` type tools with name, description, parameters
75
+ * - Logs warning for unsupported tool types (does NOT silently drop them)
76
+ * - Creates a single object with functionDeclarations array
77
+ *
78
+ * @param tools - Array of OpenAI-format tools
79
+ * @returns Gemini-format tools object with functionDeclarations, or undefined if no valid tools
80
+ */
81
+ export declare function normalizeToolsForGemini(tools: OpenAITool[]): GeminiTools | undefined;
82
+ /**
83
+ * Convert Gemini tool results (functionCall) back to OpenAI tool_call format.
84
+ * Handles both functionCall (request) and functionResponse (result) formats.
85
+ *
86
+ * Gemini functionCall format:
87
+ * { "name": "tool_name", "args": { ... } }
88
+ *
89
+ * OpenAI tool_call format:
90
+ * { "id": "call_xxx", "type": "function", "function": { "name": "tool_name", "arguments": "..." } }
91
+ *
92
+ * @param results - Array of Gemini tool results containing functionCall or functionResponse
93
+ * @returns Array of OpenAI-format tool calls
94
+ */
95
+ export declare function normalizeToolResultsFromGemini(results: GeminiToolResult[]): OpenAIToolCall[];
96
+ /**
97
+ * Convert a single Gemini functionCall to OpenAI tool_call format.
98
+ * Useful for streaming responses where each chunk may contain a function call.
99
+ *
100
+ * @param functionCall - Gemini function call
101
+ * @param id - Optional tool call ID (generates one if not provided)
102
+ * @returns OpenAI-format tool call
103
+ */
104
+ export declare function convertFunctionCallToToolCall(functionCall: GeminiFunctionCall, id?: string): OpenAIToolCall;
105
+ /**
106
+ * Check if a tool array contains any function-type tools.
107
+ *
108
+ * @param tools - Array of OpenAI-format tools
109
+ * @returns true if there are function tools to normalize
110
+ */
111
+ export declare function hasFunctionTools(tools: OpenAITool[]): boolean;
112
+ /**
113
+ * Extract function declarations from already-normalized Gemini tools.
114
+ * Useful when tools may already be in Gemini format.
115
+ *
116
+ * @param tools - Tools that may be in Gemini or OpenAI format
117
+ * @returns Array of function declarations
118
+ */
119
+ export declare function extractFunctionDeclarations(tools: unknown): GeminiFunctionDeclaration[];
@@ -0,0 +1,205 @@
1
+ /**
2
+ * Antigravity Auth Type Definitions
3
+ * Matches cliproxyapi/sdk/auth/antigravity.go token format exactly
4
+ */
5
+ /**
6
+ * Token storage format for Antigravity authentication
7
+ * Matches Go metadata structure: type, access_token, refresh_token, expires_in, timestamp, email, project_id
8
+ */
9
+ export interface AntigravityTokens {
10
+ /** Always "antigravity" for this auth type */
11
+ type: "antigravity";
12
+ /** OAuth access token from Google */
13
+ access_token: string;
14
+ /** OAuth refresh token from Google */
15
+ refresh_token: string;
16
+ /** Token expiration time in seconds */
17
+ expires_in: number;
18
+ /** Unix timestamp in milliseconds when tokens were obtained */
19
+ timestamp: number;
20
+ /** ISO 8601 formatted expiration datetime (optional, for display) */
21
+ expired?: string;
22
+ /** User's email address from Google userinfo */
23
+ email?: string;
24
+ /** GCP project ID from loadCodeAssist API */
25
+ project_id?: string;
26
+ }
27
+ /**
28
+ * Project context returned from loadCodeAssist API
29
+ * Used to get cloudaicompanionProject for API calls
30
+ */
31
+ export interface AntigravityProjectContext {
32
+ /** GCP project ID for Cloud AI Companion */
33
+ cloudaicompanionProject?: string;
34
+ /** Managed project ID for enterprise users (optional) */
35
+ managedProjectId?: string;
36
+ }
37
+ /**
38
+ * Metadata for loadCodeAssist API request
39
+ */
40
+ export interface AntigravityClientMetadata {
41
+ /** IDE type identifier */
42
+ ideType: "IDE_UNSPECIFIED" | string;
43
+ /** Platform identifier */
44
+ platform: "PLATFORM_UNSPECIFIED" | string;
45
+ /** Plugin type - typically "GEMINI" */
46
+ pluginType: "GEMINI" | string;
47
+ }
48
+ /**
49
+ * Request body for loadCodeAssist API
50
+ */
51
+ export interface AntigravityLoadCodeAssistRequest {
52
+ metadata: AntigravityClientMetadata;
53
+ }
54
+ export interface AntigravityUserTier {
55
+ id?: string;
56
+ isDefault?: boolean;
57
+ userDefinedCloudaicompanionProject?: boolean;
58
+ }
59
+ export interface AntigravityLoadCodeAssistResponse {
60
+ cloudaicompanionProject?: string | {
61
+ id: string;
62
+ };
63
+ currentTier?: {
64
+ id?: string;
65
+ };
66
+ allowedTiers?: AntigravityUserTier[];
67
+ }
68
+ export interface AntigravityOnboardUserPayload {
69
+ done?: boolean;
70
+ response?: {
71
+ cloudaicompanionProject?: {
72
+ id?: string;
73
+ };
74
+ };
75
+ }
76
+ /**
77
+ * Request body format for Antigravity API calls
78
+ * Wraps the actual request with project and model context
79
+ */
80
+ export interface AntigravityRequestBody {
81
+ /** GCP project ID */
82
+ project: string;
83
+ /** Model identifier (e.g., "gemini-3-pro-preview") */
84
+ model: string;
85
+ /** User agent identifier */
86
+ userAgent: string;
87
+ /** Unique request ID */
88
+ requestId: string;
89
+ /** The actual request payload */
90
+ request: Record<string, unknown>;
91
+ }
92
+ /**
93
+ * Response format from Antigravity API
94
+ * Follows OpenAI-compatible structure with Gemini extensions
95
+ */
96
+ export interface AntigravityResponse {
97
+ /** Response ID */
98
+ id?: string;
99
+ /** Object type (e.g., "chat.completion") */
100
+ object?: string;
101
+ /** Creation timestamp */
102
+ created?: number;
103
+ /** Model used for response */
104
+ model?: string;
105
+ /** Response choices */
106
+ choices?: AntigravityResponseChoice[];
107
+ /** Token usage statistics */
108
+ usage?: AntigravityUsage;
109
+ /** Error information if request failed */
110
+ error?: AntigravityError;
111
+ }
112
+ /**
113
+ * Single response choice in Antigravity response
114
+ */
115
+ export interface AntigravityResponseChoice {
116
+ /** Choice index */
117
+ index: number;
118
+ /** Message content */
119
+ message?: {
120
+ role: "assistant";
121
+ content?: string;
122
+ tool_calls?: AntigravityToolCall[];
123
+ };
124
+ /** Delta for streaming responses */
125
+ delta?: {
126
+ role?: "assistant";
127
+ content?: string;
128
+ tool_calls?: AntigravityToolCall[];
129
+ };
130
+ /** Finish reason */
131
+ finish_reason?: "stop" | "tool_calls" | "length" | "content_filter" | null;
132
+ }
133
+ /**
134
+ * Tool call in Antigravity response
135
+ */
136
+ export interface AntigravityToolCall {
137
+ id: string;
138
+ type: "function";
139
+ function: {
140
+ name: string;
141
+ arguments: string;
142
+ };
143
+ }
144
+ /**
145
+ * Token usage statistics
146
+ */
147
+ export interface AntigravityUsage {
148
+ prompt_tokens: number;
149
+ completion_tokens: number;
150
+ total_tokens: number;
151
+ }
152
+ /**
153
+ * Error response from Antigravity API
154
+ */
155
+ export interface AntigravityError {
156
+ message: string;
157
+ type?: string;
158
+ code?: string | number;
159
+ }
160
+ /**
161
+ * Token exchange result from Google OAuth
162
+ * Matches antigravityTokenResponse in Go
163
+ */
164
+ export interface AntigravityTokenExchangeResult {
165
+ access_token: string;
166
+ refresh_token: string;
167
+ expires_in: number;
168
+ token_type: string;
169
+ }
170
+ /**
171
+ * User info from Google userinfo API
172
+ */
173
+ export interface AntigravityUserInfo {
174
+ email: string;
175
+ name?: string;
176
+ picture?: string;
177
+ }
178
+ /**
179
+ * Parsed refresh token parts
180
+ * Format: refreshToken|projectId|managedProjectId
181
+ */
182
+ export interface AntigravityRefreshParts {
183
+ refreshToken: string;
184
+ projectId?: string;
185
+ managedProjectId?: string;
186
+ }
187
+ /**
188
+ * OAuth error payload from Google
189
+ * Google returns errors in multiple formats, this handles all of them
190
+ */
191
+ export interface OAuthErrorPayload {
192
+ error?: string | {
193
+ status?: string;
194
+ code?: string;
195
+ message?: string;
196
+ };
197
+ error_description?: string;
198
+ }
199
+ /**
200
+ * Parsed OAuth error with normalized fields
201
+ */
202
+ export interface ParsedOAuthError {
203
+ code?: string;
204
+ description?: string;
205
+ }
@@ -0,0 +1,94 @@
1
+ import type { ConfigMergeResult, DetectedConfig, InstallConfig } from "./types";
2
+ export declare function fetchLatestVersion(packageName: string): Promise<string | null>;
3
+ type ConfigFormat = "json" | "jsonc" | "none";
4
+ export declare function detectConfigFormat(): {
5
+ format: ConfigFormat;
6
+ path: string;
7
+ };
8
+ export declare function addPluginToOpenCodeConfig(): ConfigMergeResult;
9
+ export declare function generateOmoConfig(installConfig: InstallConfig): Record<string, unknown>;
10
+ export declare function writeOmoConfig(installConfig: InstallConfig): ConfigMergeResult;
11
+ export declare function isOpenCodeInstalled(): Promise<boolean>;
12
+ export declare function getOpenCodeVersion(): Promise<string | null>;
13
+ export declare function addAuthPlugins(config: InstallConfig): Promise<ConfigMergeResult>;
14
+ export declare function setupChatGPTHotfix(): ConfigMergeResult;
15
+ export interface BunInstallResult {
16
+ success: boolean;
17
+ timedOut?: boolean;
18
+ error?: string;
19
+ }
20
+ export declare function runBunInstall(): Promise<boolean>;
21
+ export declare function runBunInstallWithDetails(): Promise<BunInstallResult>;
22
+ export declare const ANTIGRAVITY_PROVIDER_CONFIG: {
23
+ google: {
24
+ name: string;
25
+ models: {
26
+ "gemini-3-pro-high": {
27
+ name: string;
28
+ thinking: boolean;
29
+ attachment: boolean;
30
+ limit: {
31
+ context: number;
32
+ output: number;
33
+ };
34
+ modalities: {
35
+ input: string[];
36
+ output: string[];
37
+ };
38
+ };
39
+ "gemini-3-pro-medium": {
40
+ name: string;
41
+ thinking: boolean;
42
+ attachment: boolean;
43
+ limit: {
44
+ context: number;
45
+ output: number;
46
+ };
47
+ modalities: {
48
+ input: string[];
49
+ output: string[];
50
+ };
51
+ };
52
+ "gemini-3-pro-low": {
53
+ name: string;
54
+ thinking: boolean;
55
+ attachment: boolean;
56
+ limit: {
57
+ context: number;
58
+ output: number;
59
+ };
60
+ modalities: {
61
+ input: string[];
62
+ output: string[];
63
+ };
64
+ };
65
+ "gemini-3-flash": {
66
+ name: string;
67
+ attachment: boolean;
68
+ limit: {
69
+ context: number;
70
+ output: number;
71
+ };
72
+ modalities: {
73
+ input: string[];
74
+ output: string[];
75
+ };
76
+ };
77
+ "gemini-3-flash-lite": {
78
+ name: string;
79
+ attachment: boolean;
80
+ limit: {
81
+ context: number;
82
+ output: number;
83
+ };
84
+ modalities: {
85
+ input: string[];
86
+ output: string[];
87
+ };
88
+ };
89
+ };
90
+ };
91
+ };
92
+ export declare function addProviderConfig(config: InstallConfig): ConfigMergeResult;
93
+ export declare function detectCurrentConfig(): DetectedConfig;
94
+ export {};
@@ -0,0 +1 @@
1
+ export {};
@@ -0,0 +1,7 @@
1
+ import type { CheckResult, CheckDefinition, AuthProviderInfo, AuthProviderId } from "../types";
2
+ export declare function getAuthProviderInfo(providerId: AuthProviderId): AuthProviderInfo;
3
+ export declare function checkAuthProvider(providerId: AuthProviderId): Promise<CheckResult>;
4
+ export declare function checkAnthropicAuth(): Promise<CheckResult>;
5
+ export declare function checkOpenAIAuth(): Promise<CheckResult>;
6
+ export declare function checkGoogleAuth(): Promise<CheckResult>;
7
+ export declare function getAuthCheckDefinitions(): CheckDefinition[];
@@ -0,0 +1 @@
1
+ export {};
@@ -0,0 +1,8 @@
1
+ import type { CheckResult, CheckDefinition, ConfigInfo } from "../types";
2
+ export declare function validateConfig(configPath: string): {
3
+ valid: boolean;
4
+ errors: string[];
5
+ };
6
+ export declare function getConfigInfo(): ConfigInfo;
7
+ export declare function checkConfigValidity(): Promise<CheckResult>;
8
+ export declare function getConfigCheckDefinition(): CheckDefinition;
@@ -0,0 +1 @@
1
+ export {};
@@ -0,0 +1,8 @@
1
+ import type { CheckResult, CheckDefinition, DependencyInfo } from "../types";
2
+ export declare function checkAstGrepCli(): Promise<DependencyInfo>;
3
+ export declare function checkAstGrepNapi(): DependencyInfo;
4
+ export declare function checkCommentChecker(): Promise<DependencyInfo>;
5
+ export declare function checkDependencyAstGrepCli(): Promise<CheckResult>;
6
+ export declare function checkDependencyAstGrepNapi(): Promise<CheckResult>;
7
+ export declare function checkDependencyCommentChecker(): Promise<CheckResult>;
8
+ export declare function getDependencyCheckDefinitions(): CheckDefinition[];
@@ -0,0 +1 @@
1
+ export {};
@@ -0,0 +1,13 @@
1
+ import type { CheckResult, CheckDefinition } from "../types";
2
+ export interface GhCliInfo {
3
+ installed: boolean;
4
+ version: string | null;
5
+ path: string | null;
6
+ authenticated: boolean;
7
+ username: string | null;
8
+ scopes: string[];
9
+ error: string | null;
10
+ }
11
+ export declare function getGhCliInfo(): Promise<GhCliInfo>;
12
+ export declare function checkGhCli(): Promise<CheckResult>;
13
+ export declare function getGhCliCheckDefinition(): CheckDefinition;
@@ -0,0 +1 @@
1
+ export {};
@@ -0,0 +1,11 @@
1
+ import type { CheckDefinition } from "../types";
2
+ export * from "./opencode";
3
+ export * from "./plugin";
4
+ export * from "./config";
5
+ export * from "./auth";
6
+ export * from "./dependencies";
7
+ export * from "./gh";
8
+ export * from "./lsp";
9
+ export * from "./mcp";
10
+ export * from "./version";
11
+ export declare function getAllCheckDefinitions(): CheckDefinition[];
@@ -0,0 +1,8 @@
1
+ import type { CheckResult, CheckDefinition, LspServerInfo } from "../types";
2
+ export declare function getLspServersInfo(): Promise<LspServerInfo[]>;
3
+ export declare function getLspServerStats(servers: LspServerInfo[]): {
4
+ installed: number;
5
+ total: number;
6
+ };
7
+ export declare function checkLspServers(): Promise<CheckResult>;
8
+ export declare function getLspCheckDefinition(): CheckDefinition;
@@ -0,0 +1 @@
1
+ export {};
@@ -0,0 +1,6 @@
1
+ import type { CheckResult, CheckDefinition, McpServerInfo } from "../types";
2
+ export declare function getBuiltinMcpInfo(): McpServerInfo[];
3
+ export declare function getUserMcpInfo(): McpServerInfo[];
4
+ export declare function checkBuiltinMcpServers(): Promise<CheckResult>;
5
+ export declare function checkUserMcpServers(): Promise<CheckResult>;
6
+ export declare function getMcpCheckDefinitions(): CheckDefinition[];
@@ -0,0 +1 @@
1
+ export {};
@@ -0,0 +1,10 @@
1
+ import type { CheckResult, CheckDefinition, OpenCodeInfo } from "../types";
2
+ export declare function findOpenCodeBinary(): Promise<{
3
+ binary: string;
4
+ path: string;
5
+ } | null>;
6
+ export declare function getOpenCodeVersion(binary: string): Promise<string | null>;
7
+ export declare function compareVersions(current: string, minimum: string): boolean;
8
+ export declare function getOpenCodeInfo(): Promise<OpenCodeInfo>;
9
+ export declare function checkOpenCodeInstallation(): Promise<CheckResult>;
10
+ export declare function getOpenCodeCheckDefinition(): CheckDefinition;
@@ -0,0 +1 @@
1
+ export {};
@@ -0,0 +1,4 @@
1
+ import type { CheckResult, CheckDefinition, PluginInfo } from "../types";
2
+ export declare function getPluginInfo(): PluginInfo;
3
+ export declare function checkPluginRegistration(): Promise<CheckResult>;
4
+ export declare function getPluginCheckDefinition(): CheckDefinition;
@@ -0,0 +1 @@
1
+ export {};
@@ -0,0 +1,4 @@
1
+ import type { CheckResult, CheckDefinition, VersionCheckInfo } from "../types";
2
+ export declare function getVersionInfo(): Promise<VersionCheckInfo>;
3
+ export declare function checkVersionStatus(): Promise<CheckResult>;
4
+ export declare function getVersionCheckDefinition(): CheckDefinition;
@@ -0,0 +1 @@
1
+ export {};
@@ -0,0 +1,40 @@
1
+ export declare const SYMBOLS: {
2
+ readonly check: string;
3
+ readonly cross: string;
4
+ readonly warn: string;
5
+ readonly info: string;
6
+ readonly arrow: string;
7
+ readonly bullet: string;
8
+ readonly skip: string;
9
+ };
10
+ export declare const STATUS_COLORS: {
11
+ readonly pass: import("picocolors/types").Formatter;
12
+ readonly fail: import("picocolors/types").Formatter;
13
+ readonly warn: import("picocolors/types").Formatter;
14
+ readonly skip: import("picocolors/types").Formatter;
15
+ };
16
+ export declare const CHECK_IDS: {
17
+ readonly OPENCODE_INSTALLATION: "opencode-installation";
18
+ readonly PLUGIN_REGISTRATION: "plugin-registration";
19
+ readonly CONFIG_VALIDATION: "config-validation";
20
+ readonly AUTH_ANTHROPIC: "auth-anthropic";
21
+ readonly AUTH_OPENAI: "auth-openai";
22
+ readonly AUTH_GOOGLE: "auth-google";
23
+ readonly DEP_AST_GREP_CLI: "dep-ast-grep-cli";
24
+ readonly DEP_AST_GREP_NAPI: "dep-ast-grep-napi";
25
+ readonly DEP_COMMENT_CHECKER: "dep-comment-checker";
26
+ readonly GH_CLI: "gh-cli";
27
+ readonly LSP_SERVERS: "lsp-servers";
28
+ readonly MCP_BUILTIN: "mcp-builtin";
29
+ readonly MCP_USER: "mcp-user";
30
+ readonly VERSION_STATUS: "version-status";
31
+ };
32
+ export declare const CHECK_NAMES: Record<string, string>;
33
+ export declare const CATEGORY_NAMES: Record<string, string>;
34
+ export declare const EXIT_CODES: {
35
+ readonly SUCCESS: 0;
36
+ readonly FAILURE: 1;
37
+ };
38
+ export declare const MIN_OPENCODE_VERSION = "1.0.150";
39
+ export declare const PACKAGE_NAME = "oh-my-opencode";
40
+ export declare const OPENCODE_BINARIES: readonly ["opencode", "opencode-desktop"];
@@ -0,0 +1,12 @@
1
+ import type { CheckResult, DoctorSummary, CheckCategory, DoctorResult } from "./types";
2
+ export declare function formatStatusSymbol(status: CheckResult["status"]): string;
3
+ export declare function formatCheckResult(result: CheckResult, verbose: boolean): string;
4
+ export declare function formatCategoryHeader(category: CheckCategory): string;
5
+ export declare function formatSummary(summary: DoctorSummary): string;
6
+ export declare function formatHeader(): string;
7
+ export declare function formatFooter(summary: DoctorSummary): string;
8
+ export declare function formatProgress(current: number, total: number, name: string): string;
9
+ export declare function formatJsonOutput(result: DoctorResult): string;
10
+ export declare function formatDetails(details: string[]): string;
11
+ export declare function formatBox(content: string, title?: string): string;
12
+ export declare function formatHelpSuggestions(results: CheckResult[]): string[];
@@ -0,0 +1 @@
1
+ export {};
@@ -0,0 +1,5 @@
1
+ import type { DoctorOptions } from "./types";
2
+ export declare function doctor(options?: DoctorOptions): Promise<number>;
3
+ export * from "./types";
4
+ export { runDoctor } from "./runner";
5
+ export { formatJsonOutput } from "./formatter";
@@ -0,0 +1,7 @@
1
+ import type { DoctorOptions, DoctorResult, CheckDefinition, CheckResult, DoctorSummary, CheckCategory } from "./types";
2
+ export declare function runCheck(check: CheckDefinition): Promise<CheckResult>;
3
+ export declare function calculateSummary(results: CheckResult[], duration: number): DoctorSummary;
4
+ export declare function determineExitCode(results: CheckResult[]): number;
5
+ export declare function filterChecksByCategory(checks: CheckDefinition[], category?: CheckCategory): CheckDefinition[];
6
+ export declare function groupChecksByCategory(checks: CheckDefinition[]): Map<CheckCategory, CheckDefinition[]>;
7
+ export declare function runDoctor(options: DoctorOptions): Promise<DoctorResult>;
@@ -0,0 +1 @@
1
+ export {};