codehere 0.4.0 → 0.5.0-alpha

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 (324) hide show
  1. package/LICENSE +1 -1
  2. package/README.md +113 -30
  3. package/dist/application/agents/execution-agent.js +2 -2
  4. package/dist/application/agents/execution-agent.js.map +1 -1
  5. package/dist/application/agents/multi-agent-orchestrator.d.ts +1 -0
  6. package/dist/application/agents/multi-agent-orchestrator.d.ts.map +1 -1
  7. package/dist/application/agents/multi-agent-orchestrator.js +10 -3
  8. package/dist/application/agents/multi-agent-orchestrator.js.map +1 -1
  9. package/dist/application/agents/planning-agent.d.ts.map +1 -1
  10. package/dist/application/agents/planning-agent.js +22 -10
  11. package/dist/application/agents/planning-agent.js.map +1 -1
  12. package/dist/application/agents/validation-agent.js +2 -2
  13. package/dist/application/agents/validation-agent.js.map +1 -1
  14. package/dist/application/reasoning/multi-model-planning-strategy.d.ts +21 -0
  15. package/dist/application/reasoning/multi-model-planning-strategy.d.ts.map +1 -0
  16. package/dist/application/reasoning/multi-model-planning-strategy.js +158 -0
  17. package/dist/application/reasoning/multi-model-planning-strategy.js.map +1 -0
  18. package/dist/application/reasoning/reasoning-config.d.ts +15 -0
  19. package/dist/application/reasoning/reasoning-config.d.ts.map +1 -0
  20. package/dist/application/reasoning/reasoning-config.js +50 -0
  21. package/dist/application/reasoning/reasoning-config.js.map +1 -0
  22. package/dist/application/reasoning/reasoning-orchestrator.d.ts +18 -0
  23. package/dist/application/reasoning/reasoning-orchestrator.d.ts.map +1 -0
  24. package/dist/application/reasoning/reasoning-orchestrator.js +170 -0
  25. package/dist/application/reasoning/reasoning-orchestrator.js.map +1 -0
  26. package/dist/application/reasoning/reasoning-strategy.interface.d.ts +24 -0
  27. package/dist/application/reasoning/reasoning-strategy.interface.d.ts.map +1 -0
  28. package/dist/application/reasoning/reasoning-strategy.interface.js +6 -0
  29. package/dist/application/reasoning/reasoning-strategy.interface.js.map +1 -0
  30. package/dist/application/reasoning/role-provider-resolver.d.ts +36 -0
  31. package/dist/application/reasoning/role-provider-resolver.d.ts.map +1 -0
  32. package/dist/application/reasoning/role-provider-resolver.js +74 -0
  33. package/dist/application/reasoning/role-provider-resolver.js.map +1 -0
  34. package/dist/application/reasoning/simple-planning-strategy.d.ts +22 -0
  35. package/dist/application/reasoning/simple-planning-strategy.d.ts.map +1 -0
  36. package/dist/application/reasoning/simple-planning-strategy.js +217 -0
  37. package/dist/application/reasoning/simple-planning-strategy.js.map +1 -0
  38. package/dist/application/reasoning/types.d.ts +65 -0
  39. package/dist/application/reasoning/types.d.ts.map +1 -0
  40. package/dist/application/reasoning/types.js +6 -0
  41. package/dist/application/reasoning/types.js.map +1 -0
  42. package/dist/application/reasoning/validator-strategy.d.ts +56 -0
  43. package/dist/application/reasoning/validator-strategy.d.ts.map +1 -0
  44. package/dist/application/reasoning/validator-strategy.js +103 -0
  45. package/dist/application/reasoning/validator-strategy.js.map +1 -0
  46. package/dist/application/services/dependency-container.d.ts +30 -6
  47. package/dist/application/services/dependency-container.d.ts.map +1 -1
  48. package/dist/application/services/dependency-container.js +96 -44
  49. package/dist/application/services/dependency-container.js.map +1 -1
  50. package/dist/application/services/intelligent-router.d.ts +6 -0
  51. package/dist/application/services/intelligent-router.d.ts.map +1 -1
  52. package/dist/application/services/intelligent-router.js +98 -9
  53. package/dist/application/services/intelligent-router.js.map +1 -1
  54. package/dist/application/use-cases/ask-question-use-case.d.ts +1 -0
  55. package/dist/application/use-cases/ask-question-use-case.d.ts.map +1 -1
  56. package/dist/application/use-cases/ask-question-use-case.js +4 -3
  57. package/dist/application/use-cases/ask-question-use-case.js.map +1 -1
  58. package/dist/application/use-cases/planning-use-case.d.ts +14 -1
  59. package/dist/application/use-cases/planning-use-case.d.ts.map +1 -1
  60. package/dist/application/use-cases/planning-use-case.js +109 -2
  61. package/dist/application/use-cases/planning-use-case.js.map +1 -1
  62. package/dist/domain/entities/memory.d.ts.map +1 -1
  63. package/dist/domain/entities/task.d.ts +1 -1
  64. package/dist/domain/entities/task.d.ts.map +1 -1
  65. package/dist/domain/entities/task.js +2 -2
  66. package/dist/domain/entities/task.js.map +1 -1
  67. package/dist/domain/errors/embeddings-not-found-error.d.ts +9 -0
  68. package/dist/domain/errors/embeddings-not-found-error.d.ts.map +1 -0
  69. package/dist/domain/errors/embeddings-not-found-error.js +13 -0
  70. package/dist/domain/errors/embeddings-not-found-error.js.map +1 -0
  71. package/dist/domain/interfaces/embedding-repository.interface.d.ts +5 -0
  72. package/dist/domain/interfaces/embedding-repository.interface.d.ts.map +1 -1
  73. package/dist/domain/services/environment-mode-manager.d.ts +4 -10
  74. package/dist/domain/services/environment-mode-manager.d.ts.map +1 -1
  75. package/dist/domain/services/environment-mode-manager.js +7 -22
  76. package/dist/domain/services/environment-mode-manager.js.map +1 -1
  77. package/dist/domain/services/query-intent-classifier.d.ts.map +1 -1
  78. package/dist/domain/services/query-intent-classifier.js +20 -1
  79. package/dist/domain/services/query-intent-classifier.js.map +1 -1
  80. package/dist/domain/services/risk-tier-detector.d.ts +8 -9
  81. package/dist/domain/services/risk-tier-detector.d.ts.map +1 -1
  82. package/dist/domain/services/risk-tier-detector.js +53 -40
  83. package/dist/domain/services/risk-tier-detector.js.map +1 -1
  84. package/dist/embed.d.ts.map +1 -1
  85. package/dist/embed.js +18 -8
  86. package/dist/embed.js.map +1 -1
  87. package/dist/index.js +405 -52
  88. package/dist/index.js.map +1 -1
  89. package/dist/infrastructure/ai/cohere-ai-service.js +4 -4
  90. package/dist/infrastructure/ai/cohere-ai-service.js.map +1 -1
  91. package/dist/infrastructure/ai/provider-ai-service.d.ts.map +1 -1
  92. package/dist/infrastructure/ai/provider-ai-service.js +7 -7
  93. package/dist/infrastructure/ai/provider-ai-service.js.map +1 -1
  94. package/dist/infrastructure/cache/query-result-cache.d.ts +14 -55
  95. package/dist/infrastructure/cache/query-result-cache.d.ts.map +1 -1
  96. package/dist/infrastructure/cache/query-result-cache.js +40 -112
  97. package/dist/infrastructure/cache/query-result-cache.js.map +1 -1
  98. package/dist/infrastructure/cache/response-cache.d.ts +10 -78
  99. package/dist/infrastructure/cache/response-cache.d.ts.map +1 -1
  100. package/dist/infrastructure/cache/response-cache.js +22 -198
  101. package/dist/infrastructure/cache/response-cache.js.map +1 -1
  102. package/dist/infrastructure/cache/security-scan-cache.d.ts +8 -49
  103. package/dist/infrastructure/cache/security-scan-cache.d.ts.map +1 -1
  104. package/dist/infrastructure/cache/security-scan-cache.js +25 -102
  105. package/dist/infrastructure/cache/security-scan-cache.js.map +1 -1
  106. package/dist/infrastructure/completion/bash-completion.d.ts +2 -3
  107. package/dist/infrastructure/completion/bash-completion.d.ts.map +1 -1
  108. package/dist/infrastructure/completion/bash-completion.js +11 -87
  109. package/dist/infrastructure/completion/bash-completion.js.map +1 -1
  110. package/dist/infrastructure/completion/fish-completion.d.ts +2 -3
  111. package/dist/infrastructure/completion/fish-completion.d.ts.map +1 -1
  112. package/dist/infrastructure/completion/fish-completion.js +15 -58
  113. package/dist/infrastructure/completion/fish-completion.js.map +1 -1
  114. package/dist/infrastructure/completion/zsh-completion.d.ts +2 -3
  115. package/dist/infrastructure/completion/zsh-completion.d.ts.map +1 -1
  116. package/dist/infrastructure/completion/zsh-completion.js +18 -73
  117. package/dist/infrastructure/completion/zsh-completion.js.map +1 -1
  118. package/dist/infrastructure/config/config-manager.d.ts +10 -0
  119. package/dist/infrastructure/config/config-manager.d.ts.map +1 -1
  120. package/dist/infrastructure/config/config-manager.js +13 -2
  121. package/dist/infrastructure/config/config-manager.js.map +1 -1
  122. package/dist/infrastructure/context/conversation-context.d.ts +27 -31
  123. package/dist/infrastructure/context/conversation-context.d.ts.map +1 -1
  124. package/dist/infrastructure/context/conversation-context.js +95 -136
  125. package/dist/infrastructure/context/conversation-context.js.map +1 -1
  126. package/dist/infrastructure/context/session-manager.d.ts +27 -11
  127. package/dist/infrastructure/context/session-manager.d.ts.map +1 -1
  128. package/dist/infrastructure/context/session-manager.js +69 -73
  129. package/dist/infrastructure/context/session-manager.js.map +1 -1
  130. package/dist/infrastructure/protocols/a2a-metadata.js +1 -1
  131. package/dist/infrastructure/protocols/mcp-oauth.js +1 -1
  132. package/dist/infrastructure/providers/cohere-provider.d.ts.map +1 -1
  133. package/dist/infrastructure/providers/cohere-provider.js +102 -17
  134. package/dist/infrastructure/providers/cohere-provider.js.map +1 -1
  135. package/dist/infrastructure/providers/openrouter-provider.d.ts +42 -0
  136. package/dist/infrastructure/providers/openrouter-provider.d.ts.map +1 -0
  137. package/dist/infrastructure/providers/openrouter-provider.js +401 -0
  138. package/dist/infrastructure/providers/openrouter-provider.js.map +1 -0
  139. package/dist/infrastructure/providers/operation-provider-resolver.d.ts.map +1 -1
  140. package/dist/infrastructure/providers/operation-provider-resolver.js +33 -7
  141. package/dist/infrastructure/providers/operation-provider-resolver.js.map +1 -1
  142. package/dist/infrastructure/security/input-validator.d.ts.map +1 -1
  143. package/dist/infrastructure/security/input-validator.js +19 -6
  144. package/dist/infrastructure/security/input-validator.js.map +1 -1
  145. package/dist/infrastructure/serialization/toon-serializer.d.ts +45 -0
  146. package/dist/infrastructure/serialization/toon-serializer.d.ts.map +1 -0
  147. package/dist/infrastructure/serialization/toon-serializer.js +119 -0
  148. package/dist/infrastructure/serialization/toon-serializer.js.map +1 -0
  149. package/dist/infrastructure/storage/embeddings-path.d.ts +18 -0
  150. package/dist/infrastructure/storage/embeddings-path.d.ts.map +1 -0
  151. package/dist/infrastructure/storage/embeddings-path.js +37 -0
  152. package/dist/infrastructure/storage/embeddings-path.js.map +1 -0
  153. package/dist/infrastructure/storage/plan-repository.d.ts +2 -0
  154. package/dist/infrastructure/storage/plan-repository.d.ts.map +1 -1
  155. package/dist/infrastructure/storage/plan-repository.js +36 -73
  156. package/dist/infrastructure/storage/plan-repository.js.map +1 -1
  157. package/dist/infrastructure/storage/sqlite-embedding-repository.d.ts +10 -1
  158. package/dist/infrastructure/storage/sqlite-embedding-repository.d.ts.map +1 -1
  159. package/dist/infrastructure/storage/sqlite-embedding-repository.js +37 -3
  160. package/dist/infrastructure/storage/sqlite-embedding-repository.js.map +1 -1
  161. package/dist/infrastructure/storage/task-helpers.d.ts +12 -1
  162. package/dist/infrastructure/storage/task-helpers.d.ts.map +1 -1
  163. package/dist/infrastructure/storage/task-helpers.js +48 -8
  164. package/dist/infrastructure/storage/task-helpers.js.map +1 -1
  165. package/dist/infrastructure/storage/task-repository.d.ts +2 -1
  166. package/dist/infrastructure/storage/task-repository.d.ts.map +1 -1
  167. package/dist/infrastructure/storage/task-repository.js +14 -3
  168. package/dist/infrastructure/storage/task-repository.js.map +1 -1
  169. package/dist/infrastructure/telemetry/telemetry-service.d.ts +74 -0
  170. package/dist/infrastructure/telemetry/telemetry-service.d.ts.map +1 -0
  171. package/dist/infrastructure/telemetry/telemetry-service.js +167 -0
  172. package/dist/infrastructure/telemetry/telemetry-service.js.map +1 -0
  173. package/dist/infrastructure/ux/capability-boundaries.d.ts +9 -37
  174. package/dist/infrastructure/ux/capability-boundaries.d.ts.map +1 -1
  175. package/dist/infrastructure/ux/capability-boundaries.js +23 -148
  176. package/dist/infrastructure/ux/capability-boundaries.js.map +1 -1
  177. package/dist/infrastructure/ux/comprehensive-formatter.d.ts +12 -54
  178. package/dist/infrastructure/ux/comprehensive-formatter.d.ts.map +1 -1
  179. package/dist/infrastructure/ux/comprehensive-formatter.js +87 -182
  180. package/dist/infrastructure/ux/comprehensive-formatter.js.map +1 -1
  181. package/dist/infrastructure/ux/contextual-feature-discovery.d.ts +5 -18
  182. package/dist/infrastructure/ux/contextual-feature-discovery.d.ts.map +1 -1
  183. package/dist/infrastructure/ux/contextual-feature-discovery.js +5 -139
  184. package/dist/infrastructure/ux/contextual-feature-discovery.js.map +1 -1
  185. package/dist/infrastructure/ux/feature-discovery.d.ts +3 -33
  186. package/dist/infrastructure/ux/feature-discovery.d.ts.map +1 -1
  187. package/dist/infrastructure/ux/feature-discovery.js +5 -181
  188. package/dist/infrastructure/ux/feature-discovery.js.map +1 -1
  189. package/dist/infrastructure/ux/feedback-prompt.d.ts +15 -31
  190. package/dist/infrastructure/ux/feedback-prompt.d.ts.map +1 -1
  191. package/dist/infrastructure/ux/feedback-prompt.js +30 -166
  192. package/dist/infrastructure/ux/feedback-prompt.js.map +1 -1
  193. package/dist/infrastructure/ux/progress-indicator.d.ts +4 -6
  194. package/dist/infrastructure/ux/progress-indicator.d.ts.map +1 -1
  195. package/dist/infrastructure/ux/progress-indicator.js +35 -50
  196. package/dist/infrastructure/ux/progress-indicator.js.map +1 -1
  197. package/dist/infrastructure/ux/review-checkpoint.d.ts +3 -1
  198. package/dist/infrastructure/ux/review-checkpoint.d.ts.map +1 -1
  199. package/dist/infrastructure/ux/review-checkpoint.js +33 -80
  200. package/dist/infrastructure/ux/review-checkpoint.js.map +1 -1
  201. package/dist/infrastructure/ux/staged-feature-intro.d.ts +14 -39
  202. package/dist/infrastructure/ux/staged-feature-intro.d.ts.map +1 -1
  203. package/dist/infrastructure/ux/staged-feature-intro.js +12 -132
  204. package/dist/infrastructure/ux/staged-feature-intro.js.map +1 -1
  205. package/dist/infrastructure/ux/syntax-highlighter.d.ts +1 -2
  206. package/dist/infrastructure/ux/syntax-highlighter.d.ts.map +1 -1
  207. package/dist/infrastructure/ux/syntax-highlighter.js +67 -148
  208. package/dist/infrastructure/ux/syntax-highlighter.js.map +1 -1
  209. package/dist/infrastructure/validation/agent-feedback.d.ts +25 -89
  210. package/dist/infrastructure/validation/agent-feedback.d.ts.map +1 -1
  211. package/dist/infrastructure/validation/agent-feedback.js +32 -204
  212. package/dist/infrastructure/validation/agent-feedback.js.map +1 -1
  213. package/dist/infrastructure/validation/agent-validation-helper.d.ts +53 -53
  214. package/dist/infrastructure/validation/agent-validation-helper.d.ts.map +1 -1
  215. package/dist/infrastructure/validation/agent-validation-helper.js +110 -61
  216. package/dist/infrastructure/validation/agent-validation-helper.js.map +1 -1
  217. package/dist/infrastructure/validation/review-handler.d.ts +13 -41
  218. package/dist/infrastructure/validation/review-handler.d.ts.map +1 -1
  219. package/dist/infrastructure/validation/review-handler.js +23 -189
  220. package/dist/infrastructure/validation/review-handler.js.map +1 -1
  221. package/dist/infrastructure/validation/summary-aggregator.d.ts +25 -22
  222. package/dist/infrastructure/validation/summary-aggregator.d.ts.map +1 -1
  223. package/dist/infrastructure/validation/summary-aggregator.js +47 -133
  224. package/dist/infrastructure/validation/summary-aggregator.js.map +1 -1
  225. package/dist/infrastructure/validation/summary-extractor.d.ts +13 -48
  226. package/dist/infrastructure/validation/summary-extractor.d.ts.map +1 -1
  227. package/dist/infrastructure/validation/summary-extractor.js +32 -89
  228. package/dist/infrastructure/validation/summary-extractor.js.map +1 -1
  229. package/dist/infrastructure/validation/trace-summary.d.ts +30 -57
  230. package/dist/infrastructure/validation/trace-summary.d.ts.map +1 -1
  231. package/dist/infrastructure/validation/trace-summary.js +37 -356
  232. package/dist/infrastructure/validation/trace-summary.js.map +1 -1
  233. package/dist/monitoring.d.ts +1 -1
  234. package/dist/monitoring.d.ts.map +1 -1
  235. package/dist/monitoring.js +12 -9
  236. package/dist/monitoring.js.map +1 -1
  237. package/dist/parallel-processor.d.ts.map +1 -1
  238. package/dist/parallel-processor.js +124 -45
  239. package/dist/parallel-processor.js.map +1 -1
  240. package/dist/presentation/cli/commands/ask-command.d.ts +2 -0
  241. package/dist/presentation/cli/commands/ask-command.d.ts.map +1 -1
  242. package/dist/presentation/cli/commands/ask-command.js +316 -129
  243. package/dist/presentation/cli/commands/ask-command.js.map +1 -1
  244. package/dist/presentation/cli/commands/config-command.d.ts.map +1 -1
  245. package/dist/presentation/cli/commands/config-command.js +22 -8
  246. package/dist/presentation/cli/commands/config-command.js.map +1 -1
  247. package/dist/presentation/cli/commands/decision-command.js +23 -6
  248. package/dist/presentation/cli/commands/decision-command.js.map +1 -1
  249. package/dist/presentation/cli/commands/docs-command.d.ts +3 -1
  250. package/dist/presentation/cli/commands/docs-command.d.ts.map +1 -1
  251. package/dist/presentation/cli/commands/docs-command.js +13 -184
  252. package/dist/presentation/cli/commands/docs-command.js.map +1 -1
  253. package/dist/presentation/cli/commands/fix-command.d.ts +2 -0
  254. package/dist/presentation/cli/commands/fix-command.d.ts.map +1 -1
  255. package/dist/presentation/cli/commands/fix-command.js +61 -276
  256. package/dist/presentation/cli/commands/fix-command.js.map +1 -1
  257. package/dist/presentation/cli/commands/help-command.d.ts.map +1 -1
  258. package/dist/presentation/cli/commands/help-command.js +21 -1
  259. package/dist/presentation/cli/commands/help-command.js.map +1 -1
  260. package/dist/presentation/cli/commands/memory-command.d.ts +17 -0
  261. package/dist/presentation/cli/commands/memory-command.d.ts.map +1 -0
  262. package/dist/presentation/cli/commands/memory-command.js +252 -0
  263. package/dist/presentation/cli/commands/memory-command.js.map +1 -0
  264. package/dist/presentation/cli/commands/models-command.d.ts +13 -0
  265. package/dist/presentation/cli/commands/models-command.d.ts.map +1 -0
  266. package/dist/presentation/cli/commands/models-command.js +194 -0
  267. package/dist/presentation/cli/commands/models-command.js.map +1 -0
  268. package/dist/presentation/cli/commands/orchestrate-command.d.ts +1 -0
  269. package/dist/presentation/cli/commands/orchestrate-command.d.ts.map +1 -1
  270. package/dist/presentation/cli/commands/orchestrate-command.js +129 -14
  271. package/dist/presentation/cli/commands/orchestrate-command.js.map +1 -1
  272. package/dist/presentation/cli/commands/plan-command.d.ts +1 -0
  273. package/dist/presentation/cli/commands/plan-command.d.ts.map +1 -1
  274. package/dist/presentation/cli/commands/plan-command.js +134 -25
  275. package/dist/presentation/cli/commands/plan-command.js.map +1 -1
  276. package/dist/presentation/cli/commands/product-command.d.ts +6 -4
  277. package/dist/presentation/cli/commands/product-command.d.ts.map +1 -1
  278. package/dist/presentation/cli/commands/product-command.js +12 -178
  279. package/dist/presentation/cli/commands/product-command.js.map +1 -1
  280. package/dist/presentation/cli/commands/react-command.d.ts.map +1 -1
  281. package/dist/presentation/cli/commands/react-command.js +5 -1
  282. package/dist/presentation/cli/commands/react-command.js.map +1 -1
  283. package/dist/presentation/cli/commands/review-command.d.ts +7 -7
  284. package/dist/presentation/cli/commands/review-command.d.ts.map +1 -1
  285. package/dist/presentation/cli/commands/review-command.js +167 -16
  286. package/dist/presentation/cli/commands/review-command.js.map +1 -1
  287. package/dist/presentation/cli/commands/run-command.d.ts +6 -8
  288. package/dist/presentation/cli/commands/run-command.d.ts.map +1 -1
  289. package/dist/presentation/cli/commands/run-command.js +182 -23
  290. package/dist/presentation/cli/commands/run-command.js.map +1 -1
  291. package/dist/presentation/cli/commands/setup-command.d.ts.map +1 -1
  292. package/dist/presentation/cli/commands/setup-command.js +15 -0
  293. package/dist/presentation/cli/commands/setup-command.js.map +1 -1
  294. package/dist/presentation/cli/commands/smart-command.d.ts.map +1 -1
  295. package/dist/presentation/cli/commands/smart-command.js +74 -6
  296. package/dist/presentation/cli/commands/smart-command.js.map +1 -1
  297. package/dist/presentation/cli/commands/status-command.d.ts +3 -0
  298. package/dist/presentation/cli/commands/status-command.d.ts.map +1 -1
  299. package/dist/presentation/cli/commands/status-command.js +151 -156
  300. package/dist/presentation/cli/commands/status-command.js.map +1 -1
  301. package/dist/presentation/cli/commands/suggest-command.d.ts +3 -5
  302. package/dist/presentation/cli/commands/suggest-command.d.ts.map +1 -1
  303. package/dist/presentation/cli/commands/suggest-command.js +132 -19
  304. package/dist/presentation/cli/commands/suggest-command.js.map +1 -1
  305. package/dist/presentation/cli/error-display.d.ts.map +1 -1
  306. package/dist/presentation/cli/error-display.js +75 -17
  307. package/dist/presentation/cli/error-display.js.map +1 -1
  308. package/dist/search.d.ts.map +1 -1
  309. package/dist/search.js +6 -1
  310. package/dist/search.js.map +1 -1
  311. package/dist/session.d.ts +1 -0
  312. package/dist/session.d.ts.map +1 -1
  313. package/dist/session.js +55 -7
  314. package/dist/session.js.map +1 -1
  315. package/dist/tools/bash.d.ts.map +1 -1
  316. package/dist/tools/bash.js +3 -0
  317. package/dist/tools/bash.js.map +1 -1
  318. package/dist/tools/git-tool.js +7 -7
  319. package/dist/tools/git-tool.js.map +1 -1
  320. package/dist/ui.d.ts +11 -0
  321. package/dist/ui.d.ts.map +1 -1
  322. package/dist/ui.js +54 -1
  323. package/dist/ui.js.map +1 -1
  324. package/package.json +14 -4
@@ -1,124 +1,47 @@
1
1
  /**
2
- * Infrastructure: Security Scan Cache
3
- * Caches security scan results by file content hash to avoid redundant scans
2
+ * Security Scan Cache
3
+ * Caches security scan results
4
4
  *
5
- * Performance optimization: Reduces scan latency by ~80% for unchanged files
6
- * Cache invalidation: Automatically invalidates when file content changes
5
+ * Phase 1: v0.5.0-alpha.0
7
6
  */
8
7
  import { createHash } from 'crypto';
9
- export class SecurityScanCache {
8
+ class SecurityScanCache {
10
9
  cache = new Map();
11
- maxSize;
12
- ttl; // Time to live in milliseconds
13
- constructor(maxSize = 500, ttl = 3600000) {
14
- this.maxSize = maxSize;
15
- this.ttl = ttl;
16
- }
17
- /**
18
- * Generate content hash from file path and code content
19
- */
20
- getContentHash(filepath, code) {
21
- const normalized = `${filepath}:${code}`;
22
- return createHash('sha256').update(normalized).digest('hex');
23
- }
24
- /**
25
- * Generate cache key from filepath
26
- */
27
- getCacheKey(filepath, contentHash) {
28
- return createHash('sha256').update(`${filepath}:${contentHash}`).digest('hex');
29
- }
30
- /**
31
- * Get cached scan results if available and not expired
32
- */
33
- get(filepath, code) {
34
- const contentHash = this.getContentHash(filepath, code);
35
- const key = this.getCacheKey(filepath, contentHash);
10
+ ttl = 3600000; // 1 hour
11
+ get(filepath, contentHash) {
12
+ const key = `${filepath}:${contentHash}`;
36
13
  const cached = this.cache.get(key);
37
- if (!cached) {
38
- return null;
39
- }
40
- // Verify content hash matches (file hasn't changed)
41
- if (cached.contentHash !== contentHash) {
42
- this.cache.delete(key);
43
- return null;
44
- }
45
- // Check if expired
46
- const now = Date.now();
47
- if (now - cached.timestamp > this.ttl) {
48
- this.cache.delete(key);
49
- return null;
14
+ if (cached) {
15
+ const age = Date.now() - cached.timestamp;
16
+ if (age < this.ttl) {
17
+ return cached.results;
18
+ }
19
+ else {
20
+ this.cache.delete(key);
21
+ }
50
22
  }
51
- return {
52
- sast: cached.sast,
53
- license: cached.license,
54
- providerBias: cached.providerBias,
55
- };
23
+ return null;
56
24
  }
57
- /**
58
- * Store scan results in cache
59
- */
60
25
  set(filepath, code, sast, license, providerBias) {
61
- const contentHash = this.getContentHash(filepath, code);
62
- const key = this.getCacheKey(filepath, contentHash);
63
- // Evict oldest entries if cache is full
64
- if (this.cache.size >= this.maxSize) {
65
- this.evictOldest();
66
- }
26
+ // Create hash from code content
27
+ const contentHash = createHash('sha256').update(code).digest('hex');
28
+ const key = `${filepath}:${contentHash}`;
67
29
  this.cache.set(key, {
68
30
  filepath,
69
- contentHash,
70
- sast,
71
- license,
72
- providerBias,
31
+ hash: contentHash,
32
+ results: { sast, license, providerBias },
73
33
  timestamp: Date.now(),
74
34
  });
75
35
  }
76
- /**
77
- * Evict oldest entries (LRU eviction)
78
- */
79
- evictOldest() {
80
- // Remove 10% of oldest entries
81
- const entriesToRemove = Math.ceil(this.maxSize * 0.1);
82
- const entries = Array.from(this.cache.entries())
83
- .sort((a, b) => a[1].timestamp - b[1].timestamp)
84
- .slice(0, entriesToRemove);
85
- for (const [key] of entries) {
86
- this.cache.delete(key);
87
- }
88
- }
89
- /**
90
- * Clear expired entries
91
- */
92
- clearExpired() {
93
- const now = Date.now();
94
- for (const [key, value] of this.cache.entries()) {
95
- if (now - value.timestamp > this.ttl) {
96
- this.cache.delete(key);
97
- }
98
- }
99
- }
100
- /**
101
- * Clear all cache
102
- */
103
36
  clear() {
104
37
  this.cache.clear();
105
38
  }
106
- /**
107
- * Get cache statistics
108
- */
109
- getStats() {
110
- return {
111
- size: this.cache.size,
112
- maxSize: this.maxSize,
113
- };
114
- }
115
39
  }
116
- // Singleton instance
117
- let securityScanCacheInstance = null;
40
+ let instance = null;
118
41
  export function getSecurityScanCache() {
119
- if (!securityScanCacheInstance) {
120
- securityScanCacheInstance = new SecurityScanCache();
42
+ if (!instance) {
43
+ instance = new SecurityScanCache();
121
44
  }
122
- return securityScanCacheInstance;
45
+ return instance;
123
46
  }
124
47
  //# sourceMappingURL=security-scan-cache.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"security-scan-cache.js","sourceRoot":"","sources":["../../../src/infrastructure/cache/security-scan-cache.ts"],"names":[],"mappings":"AAAA;;;;;;GAMG;AAEH,OAAO,EAAE,UAAU,EAAE,MAAM,QAAQ,CAAC;AAcpC,MAAM,OAAO,iBAAiB;IACpB,KAAK,GAAoC,IAAI,GAAG,EAAE,CAAC;IACnD,OAAO,CAAS;IAChB,GAAG,CAAS,CAAC,+BAA+B;IAEpD,YAAY,UAAkB,GAAG,EAAE,MAAc,OAAO;QACtD,IAAI,CAAC,OAAO,GAAG,OAAO,CAAC;QACvB,IAAI,CAAC,GAAG,GAAG,GAAG,CAAC;IACjB,CAAC;IAED;;OAEG;IACK,cAAc,CAAC,QAAgB,EAAE,IAAY;QACnD,MAAM,UAAU,GAAG,GAAG,QAAQ,IAAI,IAAI,EAAE,CAAC;QACzC,OAAO,UAAU,CAAC,QAAQ,CAAC,CAAC,MAAM,CAAC,UAAU,CAAC,CAAC,MAAM,CAAC,KAAK,CAAC,CAAC;IAC/D,CAAC;IAED;;OAEG;IACK,WAAW,CAAC,QAAgB,EAAE,WAAmB;QACvD,OAAO,UAAU,CAAC,QAAQ,CAAC,CAAC,MAAM,CAAC,GAAG,QAAQ,IAAI,WAAW,EAAE,CAAC,CAAC,MAAM,CAAC,KAAK,CAAC,CAAC;IACjF,CAAC;IAED;;OAEG;IACH,GAAG,CAAC,QAAgB,EAAE,IAAY;QAKhC,MAAM,WAAW,GAAG,IAAI,CAAC,cAAc,CAAC,QAAQ,EAAE,IAAI,CAAC,CAAC;QACxD,MAAM,GAAG,GAAG,IAAI,CAAC,WAAW,CAAC,QAAQ,EAAE,WAAW,CAAC,CAAC;QACpD,MAAM,MAAM,GAAG,IAAI,CAAC,KAAK,CAAC,GAAG,CAAC,GAAG,CAAC,CAAC;QAE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,IAAI,iBAAiB,EAAE,CAAC;IACtD,CAAC;IACD,OAAO,yBAAyB,CAAC;AACnC,CAAC"}
1
+ {"version":3,"file":"security-scan-cache.js","sourceRoot":"","sources":["../../../src/infrastructure/cache/security-scan-cache.ts"],"names":[],"mappings":"AAAA;;;;;GAKG;AAEH,OAAO,EAAE,UAAU,EAAE,MAAM,QAAQ,CAAC;AASpC,MAAM,iBAAiB;IACb,KAAK,GAA4B,IAAI,GAAG,EAAE,CAAC;IAClC,GAAG,GAAG,OAAO,CAAC,CAAC,SAAS;IAEzC,GAAG,CAAC,QAAgB,EAAE,WAAmB;QACvC,MAAM,GAAG,GAAG,GAAG,QAAQ,IAAI,WAAW,EAAE,CAAC;QACzC,MAAM,MAAM,GAAG,IAAI,CAAC,KAAK,CAAC,GAAG,CAAC,GAAG,CAAC,CAAC;QAEnC,IAAI,MAAM,EAAE,CAAC;YACX,MAAM,GAAG,GAAG,IAAI,CAAC,GAAG,EAAE,GAAG,MAAM,CAAC,SAAS,CAAC;YAC1C,IAAI,GAAG,GAAG,IAAI,CAAC,GAAG,EAAE,CAAC;gBACnB,OAAO,MAAM,CAAC,OAAO,CAAC;YACxB,CAAC;iBAAM,CAAC;gBACN,IAAI,CAAC,KAAK,CAAC,MAAM,CAAC,GAAG,CAAC,CAAC;YACzB,CAAC;QACH,CAAC;QAED,OAAO,IAAI,CAAC;IACd,CAAC;IAED,GAAG,CAAC,QAAgB,EAAE,IAAY,EAAE,IAAS,EAAE,OAAa,EAAE,YAAkB;QAC9E,gCAAgC;QAChC,MAAM,WAAW,GAAG,UAAU,CAAC,QAAQ,CAAC,CAAC,MAAM,CAAC,IAAI,CAAC,CAAC,MAAM,CAAC,KAAK,CAAC,CAAC;QACpE,MAAM,GAAG,GAAG,GAAG,QAAQ,IAAI,WAAW,EAAE,CAAC;QACzC,IAAI,CAAC,KAAK,CAAC,GAAG,CAAC,GAAG,EAAE;YAClB,QAAQ;YACR,IAAI,EAAE,WAAW;YACjB,OAAO,EAAE,EAAE,IAAI,EAAE,OAAO,EAAE,YAAY,EAAE;YACxC,SAAS,EAAE,IAAI,CAAC,GAAG,EAAE;SACtB,CAAC,CAAC;IACL,CAAC;IAED,KAAK;QACH,IAAI,CAAC,KAAK,CAAC,KAAK,EAAE,CAAC;IACrB,CAAC;CACF;AAED,IAAI,QAAQ,GAA6B,IAAI,CAAC;AAE9C,MAAM,UAAU,oBAAoB;IAClC,IAAI,CAAC,QAAQ,EAAE,CAAC;QACd,QAAQ,GAAG,IAAI,iBAAiB,EAAE,CAAC;IACrC,CAAC;IACD,OAAO,QAAQ,CAAC;AAClB,CAAC"}
@@ -1,8 +1,7 @@
1
1
  /**
2
2
  * Bash Completion Script Generator
3
- */
4
- /**
5
- * Generate bash completion script
3
+ *
4
+ * Phase 1: v0.5.0-alpha.0
6
5
  */
7
6
  export declare function generateBashCompletion(): string;
8
7
  //# sourceMappingURL=bash-completion.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"bash-completion.d.ts","sourceRoot":"","sources":["../../../src/infrastructure/completion/bash-completion.ts"],"names":[],"mappings":"AAAA;;GAEG;AAUH;;GAEG;AACH,wBAAgB,sBAAsB,IAAI,MAAM,CA6F/C"}
1
+ {"version":3,"file":"bash-completion.d.ts","sourceRoot":"","sources":["../../../src/infrastructure/completion/bash-completion.ts"],"names":[],"mappings":"AAAA;;;;GAIG;AAEH,wBAAgB,sBAAsB,IAAI,MAAM,CAkB/C"}
@@ -1,101 +1,25 @@
1
1
  /**
2
2
  * Bash Completion Script Generator
3
- */
4
- import { getAllCommands, } from './completion-generator.js';
5
- /**
6
- * Generate bash completion script
3
+ *
4
+ * Phase 1: v0.5.0-alpha.0
7
5
  */
8
6
  export function generateBashCompletion() {
9
- return `# Bash completion for codehere
10
- # Installation: source <(codehere --completion bash) or add to ~/.bashrc
11
-
12
- _codehere_completion() {
13
- local cur prev words cword
7
+ return `# Codehere bash completion
8
+ _complete_codehere() {
9
+ local cur prev opts
14
10
  COMPREPLY=()
15
11
  cur="\${COMP_WORDS[COMP_CWORD]}"
16
12
  prev="\${COMP_WORDS[COMP_CWORD-1]}"
17
- words=("\${COMP_WORDS[@]}")
18
- cword="\${COMP_CWORD}"
19
-
20
- # Commands list
21
- local commands="${getAllCommands().join(' ')}"
13
+ opts="ask plan orchestrate fix suggest run review status help version"
22
14
 
23
- # Main command completion
24
- if [ $COMP_CWORD -eq 1 ]; then
25
- COMPREPLY=( $(compgen -W "\${commands}" -- "\${cur}") )
26
- return 0
15
+ if [[ \${cur} == -* ]]; then
16
+ COMPREPLY=(\$(compgen -W "--help --version" -- \${cur}))
17
+ else
18
+ COMPREPLY=(\$(compgen -W "\${opts}" -- \${cur}))
27
19
  fi
28
-
29
- local command="\${words[1]}"
30
-
31
- case "\${command}" in
32
- config)
33
- if [ $COMP_CWORD -eq 2 ]; then
34
- COMPREPLY=( $(compgen -W "get set reset" -- "\${cur}") )
35
- elif [ $COMP_CWORD -eq 3 ] && [ "\${prev}" = "get" ] || [ "\${prev}" = "set" ]; then
36
- # Config keys (simplified - would need dynamic lookup)
37
- local keys="autoCommit temperature maxResults model enableStreaming enableSecurityScan enableVerification"
38
- COMPREPLY=( $(compgen -W "\${keys}" -- "\${cur}") )
39
- fi
40
- ;;
41
- undo)
42
- if [ $COMP_CWORD -eq 2 ]; then
43
- COMPREPLY=( $(compgen -W "undo list restore" -- "\${cur}") )
44
- fi
45
- ;;
46
- trace)
47
- if [ $COMP_CWORD -eq 2 ]; then
48
- COMPREPLY=( $(compgen -W "show reproduce list" -- "\${cur}") )
49
- fi
50
- ;;
51
- decision)
52
- if [ $COMP_CWORD -eq 2 ]; then
53
- COMPREPLY=( $(compgen -W "record list query explain" -- "\${cur}") )
54
- fi
55
- ;;
56
- knowledge)
57
- if [ $COMP_CWORD -eq 2 ]; then
58
- COMPREPLY=( $(compgen -W "query list summary extract" -- "\${cur}") )
59
- fi
60
- ;;
61
- learning)
62
- if [ $COMP_CWORD -eq 2 ]; then
63
- COMPREPLY=( $(compgen -W "overview patterns knowledge insights" -- "\${cur}") )
64
- fi
65
- ;;
66
- cost)
67
- if [ $COMP_CWORD -eq 2 ]; then
68
- COMPREPLY=( $(compgen -W "status summary run reset" -- "\${cur}") )
69
- fi
70
- ;;
71
- *)
72
- # Option completion for other commands
73
- if [[ "\${cur}" == -* ]]; then
74
- case "\${command}" in
75
- plan)
76
- COMPREPLY=( $(compgen -W "--execute" -- "\${cur}") )
77
- ;;
78
- orchestrate)
79
- COMPREPLY=( $(compgen -W "--mode --plan-id" -- "\${cur}") )
80
- ;;
81
- ask|react)
82
- COMPREPLY=( $(compgen -W "--stream --no-stream" -- "\${cur}") )
83
- ;;
84
- setup)
85
- COMPREPLY=( $(compgen -W "--force -f" -- "\${cur}") )
86
- ;;
87
- index)
88
- COMPREPLY=( $(compgen -W "--repo -r" -- "\${cur}") )
89
- ;;
90
- esac
91
- fi
92
- ;;
93
- esac
94
-
95
- return 0
96
20
  }
97
21
 
98
- complete -F _codehere_completion codehere
22
+ complete -F _complete_codehere codehere
99
23
  `;
100
24
  }
101
25
  //# sourceMappingURL=bash-completion.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"bash-completion.js","sourceRoot":"","sources":["../../../src/infrastructure/completion/bash-completion.ts"],"names":[],"mappings":"AAAA;;GAEG;AAEH,OAAO,EACL,cAAc,GAKf,MAAM,2BAA2B,CAAC;AAEnC;;GAEG;AACH,MAAM,UAAU,sBAAsB;IACpC,OAAO;;;;;;;;;;;;oBAYW,cAAc,EAAE,CAAC,IAAI,CAAC,GAAG,CAAC;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CA8E7C,CAAC;AAEF,CAAC"}
1
+ {"version":3,"file":"bash-completion.js","sourceRoot":"","sources":["../../../src/infrastructure/completion/bash-completion.ts"],"names":[],"mappings":"AAAA;;;;GAIG;AAEH,MAAM,UAAU,sBAAsB;IACpC,OAAO;;;;;;;;;;;;;;;;CAgBR,CAAC;AACF,CAAC"}
@@ -1,8 +1,7 @@
1
1
  /**
2
2
  * Fish Completion Script Generator
3
- */
4
- /**
5
- * Generate fish completion script
3
+ *
4
+ * Phase 1: v0.5.0-alpha.0
6
5
  */
7
6
  export declare function generateFishCompletion(): string;
8
7
  //# sourceMappingURL=fish-completion.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"fish-completion.d.ts","sourceRoot":"","sources":["../../../src/infrastructure/completion/fish-completion.ts"],"names":[],"mappings":"AAAA;;GAEG;AAUH;;GAEG;AACH,wBAAgB,sBAAsB,IAAI,MAAM,CAyD/C"}
1
+ {"version":3,"file":"fish-completion.d.ts","sourceRoot":"","sources":["../../../src/infrastructure/completion/fish-completion.ts"],"names":[],"mappings":"AAAA;;;;GAIG;AAEH,wBAAgB,sBAAsB,IAAI,MAAM,CAe/C"}
@@ -1,65 +1,22 @@
1
1
  /**
2
2
  * Fish Completion Script Generator
3
- */
4
- import { getAllCommands, } from './completion-generator.js';
5
- /**
6
- * Generate fish completion script
3
+ *
4
+ * Phase 1: v0.5.0-alpha.0
7
5
  */
8
6
  export function generateFishCompletion() {
9
- return `# Fish completion for codehere
10
- # Installation: codehere --completion fish | source
11
-
12
- function __codehere_complete_commands
13
- echo ${getAllCommands().join(' ')}
14
- end
15
-
16
- function __codehere_complete_config_actions
17
- echo get set reset
18
- end
19
-
20
- function __codehere_complete_config_keys
21
- echo autoCommit temperature maxResults model enableStreaming enableSecurityScan enableVerification
22
- end
23
-
24
- function __codehere_complete_undo_actions
25
- echo undo list restore
26
- end
27
-
28
- function __codehere_complete_trace_actions
29
- echo show reproduce list
30
- end
31
-
32
- function __codehere_complete_decision_actions
33
- echo record list query explain
34
- end
35
-
36
- function __codehere_complete_knowledge_actions
37
- echo query list summary extract
38
- end
39
-
40
- function __codehere_complete_learning_actions
41
- echo overview patterns knowledge insights
42
- end
43
-
44
- function __codehere_complete_cost_actions
45
- echo status summary run reset
46
- end
47
-
48
- complete -c codehere -f -a "(__codehere_complete_commands)"
49
-
50
- complete -c codehere -f -n "__fish_seen_subcommand_from config" -a "(__codehere_complete_config_actions)"
51
- complete -c codehere -f -n "__fish_seen_subcommand_from config; and __fish_seen_subcommand_from get set" -a "(__codehere_complete_config_keys)"
52
-
53
- complete -c codehere -f -n "__fish_seen_subcommand_from undo" -a "(__codehere_complete_undo_actions)"
54
- complete -c codehere -f -n "__fish_seen_subcommand_from trace" -a "(__codehere_complete_trace_actions)"
55
- complete -c codehere -f -n "__fish_seen_subcommand_from decision" -a "(__codehere_complete_decision_actions)"
56
- complete -c codehere -f -n "__fish_seen_subcommand_from knowledge" -a "(__codehere_complete_knowledge_actions)"
57
- complete -c codehere -f -n "__fish_seen_subcommand_from learning" -a "(__codehere_complete_learning_actions)"
58
- complete -c codehere -f -n "__fish_seen_subcommand_from cost" -a "(__codehere_complete_cost_actions)"
59
-
60
- complete -c codehere -s h -l help -d "Show help"
61
- complete -c codehere -s v -l version -d "Show version"
62
- complete -c codehere -l completion -d "Show shell completion script"
7
+ return `# Codehere fish completion
8
+ complete -c codehere -f
9
+
10
+ complete -c codehere -n __fish_use_subcommand -a ask -d "Answer questions about codebase"
11
+ complete -c codehere -n __fish_use_subcommand -a plan -d "Generate execution plan"
12
+ complete -c codehere -n __fish_use_subcommand -a orchestrate -d "Multi-agent orchestration"
13
+ complete -c codehere -n __fish_use_subcommand -a fix -d "Apply AI edits to file"
14
+ complete -c codehere -n __fish_use_subcommand -a suggest -d "Read-only assistant mode"
15
+ complete -c codehere -n __fish_use_subcommand -a run -d "Unified agentic execution"
16
+ complete -c codehere -n __fish_use_subcommand -a review -d "Task review interface"
17
+ complete -c codehere -n __fish_use_subcommand -a status -d "Show agent status"
18
+ complete -c codehere -n __fish_use_subcommand -a help -d "Show help"
19
+ complete -c codehere -n __fish_use_subcommand -a version -d "Show version"
63
20
  `;
64
21
  }
65
22
  //# sourceMappingURL=fish-completion.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"fish-completion.js","sourceRoot":"","sources":["../../../src/infrastructure/completion/fish-completion.ts"],"names":[],"mappings":"AAAA;;GAEG;AAEH,OAAO,EACL,cAAc,GAKf,MAAM,2BAA2B,CAAC;AAEnC;;GAEG;AACH,MAAM,UAAU,sBAAsB;IACpC,OAAO;;;;SAIA,cAAc,EAAE,CAAC,IAAI,CAAC,GAAG,CAAC;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CAkDlC,CAAC;AAEF,CAAC"}
1
+ {"version":3,"file":"fish-completion.js","sourceRoot":"","sources":["../../../src/infrastructure/completion/fish-completion.ts"],"names":[],"mappings":"AAAA;;;;GAIG;AAEH,MAAM,UAAU,sBAAsB;IACpC,OAAO;;;;;;;;;;;;;CAaR,CAAC;AACF,CAAC"}
@@ -1,8 +1,7 @@
1
1
  /**
2
2
  * Zsh Completion Script Generator
3
- */
4
- /**
5
- * Generate zsh completion script
3
+ *
4
+ * Phase 1: v0.5.0-alpha.0
6
5
  */
7
6
  export declare function generateZshCompletion(): string;
8
7
  //# sourceMappingURL=zsh-completion.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"zsh-completion.d.ts","sourceRoot":"","sources":["../../../src/infrastructure/completion/zsh-completion.ts"],"names":[],"mappings":"AAAA;;GAEG;AAUH;;GAEG;AACH,wBAAgB,qBAAqB,IAAI,MAAM,CA6E9C"}
1
+ {"version":3,"file":"zsh-completion.d.ts","sourceRoot":"","sources":["../../../src/infrastructure/completion/zsh-completion.ts"],"names":[],"mappings":"AAAA;;;;GAIG;AAEH,wBAAgB,qBAAqB,IAAI,MAAM,CAuB9C"}
@@ -1,85 +1,30 @@
1
1
  /**
2
2
  * Zsh Completion Script Generator
3
- */
4
- import { getAllCommands, } from './completion-generator.js';
5
- /**
6
- * Generate zsh completion script
3
+ *
4
+ * Phase 1: v0.5.0-alpha.0
7
5
  */
8
6
  export function generateZshCompletion() {
9
- return `# Zsh completion for codehere
10
- # Installation: source <(codehere --completion zsh) or add to ~/.zshrc
7
+ return `#compdef codehere
11
8
 
12
9
  _codehere() {
13
- local context state state_descr line
14
- typeset -A opt_args
15
-
16
- _arguments -C \\
17
- "1: :->command" \\
18
- "*::arg:->args"
10
+ local -a commands
11
+ commands=(
12
+ 'ask:Answer questions about codebase'
13
+ 'plan:Generate execution plan'
14
+ 'orchestrate:Multi-agent orchestration'
15
+ 'fix:Apply AI edits to file'
16
+ 'suggest:Read-only assistant mode'
17
+ 'run:Unified agentic execution'
18
+ 'review:Task review interface'
19
+ 'status:Show agent status'
20
+ 'help:Show help'
21
+ 'version:Show version'
22
+ )
19
23
 
20
- case $state in
21
- command)
22
- local commands="${getAllCommands().join(' ')}"
23
- _values 'commands' $commands
24
- ;;
25
- args)
26
- case $words[1] in
27
- config)
28
- _arguments \\
29
- "1: :->config_action" \\
30
- "*::arg:->config_args"
31
- ;;
32
- undo)
33
- _arguments \\
34
- "1: :->undo_action"
35
- ;;
36
- trace)
37
- _arguments \\
38
- "1: :->trace_action"
39
- ;;
40
- decision)
41
- _arguments \\
42
- "1: :->decision_action"
43
- ;;
44
- knowledge)
45
- _arguments \\
46
- "1: :->knowledge_action"
47
- ;;
48
- learning)
49
- _arguments \\
50
- "1: :->learning_action"
51
- ;;
52
- cost)
53
- _arguments \\
54
- "1: :->cost_action"
55
- ;;
56
- esac
57
- ;;
58
- config_action)
59
- _values 'config actions' get set reset
60
- ;;
61
- undo_action)
62
- _values 'undo actions' undo list restore
63
- ;;
64
- trace_action)
65
- _values 'trace actions' show reproduce list
66
- ;;
67
- decision_action)
68
- _values 'decision actions' record list query explain
69
- ;;
70
- knowledge_action)
71
- _values 'knowledge actions' query list summary extract
72
- ;;
73
- learning_action)
74
- _values 'learning actions' overview patterns knowledge insights
75
- ;;
76
- cost_action)
77
- _values 'cost actions' status summary run reset
78
- ;;
79
- esac
24
+ _describe 'codehere' commands
80
25
  }
81
26
 
82
- compdef _codehere codehere
27
+ _codehere "$@"
83
28
  `;
84
29
  }
85
30
  //# sourceMappingURL=zsh-completion.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"zsh-completion.js","sourceRoot":"","sources":["../../../src/infrastructure/completion/zsh-completion.ts"],"names":[],"mappings":"AAAA;;GAEG;AAEH,OAAO,EACL,cAAc,GAKf,MAAM,2BAA2B,CAAC;AAEnC;;GAEG;AACH,MAAM,UAAU,qBAAqB;IACnC,OAAO;;;;;;;;;;;;;wBAae,cAAc,EAAE,CAAC,IAAI,CAAC,GAAG,CAAC;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CA6DjD,CAAC;AAEF,CAAC"}
1
+ {"version":3,"file":"zsh-completion.js","sourceRoot":"","sources":["../../../src/infrastructure/completion/zsh-completion.ts"],"names":[],"mappings":"AAAA;;;;GAIG;AAEH,MAAM,UAAU,qBAAqB;IACnC,OAAO;;;;;;;;;;;;;;;;;;;;;CAqBR,CAAC;AACF,CAAC"}
@@ -29,6 +29,16 @@ export interface CodehereConfig {
29
29
  showSummary?: boolean;
30
30
  outputFormat?: 'full' | 'compact' | 'minimal';
31
31
  };
32
+ reasoning?: {
33
+ enabled?: boolean;
34
+ multiModel?: {
35
+ enabled?: boolean;
36
+ roles?: {
37
+ planner?: string;
38
+ validator?: string;
39
+ };
40
+ };
41
+ };
32
42
  }
33
43
  export declare class ConfigManager {
34
44
  private configPath;
@@ -1 +1 @@
1
- {"version":3,"file":"config-manager.d.ts","sourceRoot":"","sources":["../../../src/infrastructure/config/config-manager.ts"],"names":[],"mappings":"AAAA;;;;GAIG;AAMH,MAAM,WAAW,cAAc;IAC7B,OAAO,EAAE,MAAM,CAAC;IAChB,WAAW,EAAE;QACX,UAAU,CAAC,EAAE,OAAO,CAAC;QACrB,oBAAoB,CAAC,EAAE,OAAO,CAAC;QAC/B,uBAAuB,CAAC,EAAE,OAAO,CAAC;QAClC,YAAY,CAAC,EAAE,MAAM,CAAC;QACtB,SAAS,CAAC,EAAE,MAAM,CAAC;QACnB,WAA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E,cAAc,CAAC,aAAa,CAAC,CAAC,CAAC,CAAC,GAAG,IAAI;IAInH;;OAEG;IACH,cAAc,CAAC,IAAI,EAAE,MAAM,EAAE,SAAS,CAAC,EAAE,MAAM,GAAG,IAAI;IAQtD;;OAEG;IACH,MAAM,IAAI,cAAc;IAIxB;;OAEG;IACH,KAAK,IAAI,IAAI;IAKb;;OAEG;IACH,aAAa,IAAI,MAAM;CAGxB;AAOD,wBAAgB,gBAAgB,CAAC,SAAS,CAAC,EAAE,MAAM,GAAG,aAAa,CAKlE"}
1
+ {"version":3,"file":"config-manager.d.ts","sourceRoot":"","sources":["../../../src/infrastructure/config/config-manager.ts"],"names":[],"mappings":"AAAA;;;;GAIG;AAMH,MAAM,WAAW,cAAc;IAC7B,OAAO,EAAE,MAAM,CAAC;IAChB,WAAW,EAAE;QACX,UAAU,CAAC,EAAE,OAAO,CAAC;QACrB,oBAAoB,CAAC,EAAE,OAAO,CAAC;QAC/B,uBAAuB,CAAC,EAAE,OAAO,CAAC;QAClC,YAAY,CAAC,EAAE,MAAM,CAAC;QACtB,SAAS,CAAC,EAAE,MAAM,CAAC;QACnB,WAAW,CAAC,EAAE,MAAM,CAAC;QACrB,eAAe,CAAC,EAAE,OAAO,CAAC;KAC3B,CAAC;IACF,QAAQ,EAAE;QACR,IAAI,CAAC,EAAE,MAAM,CAAC;QACd,SAAS,CAAC,EAAE,MAAM,CAAC;QACnB,WAAW,CAAC,EAAE,MAAM,CAAC;KACtB,CAAC;IACF,GAAG,EAAE;QACH,QAAQ,CAAC,EAAE,MAAM,CAAC;QAClB,KAAK,CAAC,EAAE,MAAM,CAAC;QACf,iBAAiB,CAAC,EAAE,OAAO,GAAG,MAAM,GAAG,OAAO,CAAC;KAChD,CAAC;IACF,EAAE,EAAE;QACF,YAAY,CAAC,EAAE,OAAO,CAAC;QACvB,WAAW,CAAC,EAAE,OAAO,CAAC;QACtB,YAAY,CAAC,EAAE,MAAM,GAAG,SAAS,GAAG,SAAS,CAAC;KA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B,gBAAgB,CAAC,SAAS,CAAC,EAAE,MAAM,GAAG,aAAa,CAKlE"}
@@ -12,7 +12,7 @@ const DEFAULT_CONFIG = {
12
12
  autoCommit: false,
13
13
  askBeforeDestructive: true,
14
14
  enableCrossTeamLearning: false,
15
- defaultModel: 'command-r-plus',
15
+ defaultModel: 'command-r-08-2024', // command-r and command-r-plus were deprecated Sept 2025
16
16
  maxTokens: 4096,
17
17
  temperature: 0.3,
18
18
  enableStreaming: true,
@@ -20,7 +20,7 @@ const DEFAULT_CONFIG = {
20
20
  codebase: {},
21
21
  api: {
22
22
  provider: 'cohere',
23
- model: 'command-r-plus',
23
+ model: 'command-r-08-2024', // command-r and command-r-plus were deprecated Sept 2025
24
24
  rateLimitHandling: 'retry',
25
25
  },
26
26
  ui: {
@@ -28,6 +28,9 @@ const DEFAULT_CONFIG = {
28
28
  showSummary: true,
29
29
  outputFormat: 'full',
30
30
  },
31
+ reasoning: {
32
+ enabled: false, // Default: disabled for backward compatibility
33
+ },
31
34
  };
32
35
  export class ConfigManager {
33
36
  configPath;
@@ -71,6 +74,14 @@ export class ConfigManager {
71
74
  ...DEFAULT_CONFIG.ui,
72
75
  ...loaded.ui,
73
76
  },
77
+ reasoning: {
78
+ ...DEFAULT_CONFIG.reasoning,
79
+ ...loaded.reasoning,
80
+ multiModel: {
81
+ ...DEFAULT_CONFIG.reasoning?.multiModel,
82
+ ...loaded.reasoning?.multiModel,
83
+ },
84
+ },
74
85
  };
75
86
  }
76
87
  catch (error) {
@@ -1 +1 @@
1
- {"version":3,"file":"config-manager.js","sourceRoot":"","sources":["../../../src/infrastructure/config/config-manager.ts"],"names":[],"mappings":"AAAA;;;;GAIG;AAEH,OAAO,EAAE,YAAY,EAAE,aAAa,EAAE,UAAU,EAAE,SAAS,EAAE,MAAM,IAAI,CAAC;AACxE,OAAO,EAAE,IAAI,EAAE,MAAM,MAAM,CAAC;AAC5B,OAAO,EAAE,UAAU,EAAE,MAAM,wBAAwB,CAAC;AA8BpD,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B,GAAyB,IAAI,CAAC;AAErD,MAAM,UAAU,gBAAgB,CAAC,SAAkB;IACjD,IAAI,CAAC,mBAAmB,EAAE,CAAC;QACzB,mBAAmB,GAAG,IAAI,aAAa,CAAC,SAAS,CAAC,CAAC;IACrD,CAAC;IACD,OAAO,mBAAmB,CAAC;AAC7B,CAAC"}
1
+ {"version":3,"file":"config-manager.js","sourceRoot":"","sources":["../../../src/infrastructure/config/config-manager.ts"],"names":[],"mappings":"AAAA;;;;GAIG;AAEH,OAAO,EAAE,YAAY,EAAE,aAAa,EAAE,UAAU,EAAE,SAAS,EAAE,MAAM,IAAI,CAAC;AACxE,OAAO,EAAE,IAAI,EAAE,MAAM,MAAM,CAAC;AAC5B,OAAO,EAAE,UAAU,EAAE,MAAM,wBAAwB,CAAC;AAwCpD,MAAM,cAAc,GAAmB;IACrC,OAAO,EAAE,UAAU,EAAE;IACrB,WAAW,EAAE;QACX,UAAU,EAAE,KAAK;QACjB,oBAAoB,EAAE,IAAI;QAC1B,uBAAuB,EAAE,KAAK;QAC9B,YAAY,EAAE,mBAAmB,EAAE,yDAAyD;QAC5F,SAAS,EAAE,IAAI;QACf,WAAW,EAAE,GAAG;QAChB,eAAe,EAAE,IAAI;KACtB;IACD,QAAQ,EAAE,EAAE;IACZ,GAAG,EAAE;QACH,QAAQ,EAAE,QAAQ;QAClB,KAAK,EAAE,mBAAmB,EAAE,yDAAyD;QACrF,iBAAiB,EAAE,OAAO;KAC3B;IACD,EAAE,EAAE;QACF,YAAY,EAAE,IAAI;QAClB,WAAW,EAAE,IAAI;QACjB,YAAY,EAAE,MAAM;KACrB;IACD,SAAS,EAAE;QACT,OAAO,EAAE,KAAK,EAAE,+CAA+C;KAChE;CACF,CAAC;AAEF,MAAM,OAAO,aAAa;IAChB,UAAU,CAAS;IACnB,MAAM,CAAiB;IAE/B,YAAY,SAAkB;QAC5B,MAAM,OAAO,GAAG,SAAS,IAAI,OAAO,CAAC,GAAG,EAAE,CAAC;QAC3C,IAAI,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