byterover-cli 1.8.0 → 2.0.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 (1255) hide show
  1. package/README.md +64 -564
  2. package/bin/kill-daemon.js +78 -0
  3. package/bin/run.js +2 -2
  4. package/dist/agent/core/domain/blob/types.d.ts +8 -2
  5. package/dist/agent/core/domain/llm/index.d.ts +1 -1
  6. package/dist/agent/core/domain/llm/index.js +1 -1
  7. package/dist/agent/core/domain/llm/registry.js +353 -14
  8. package/dist/agent/core/domain/llm/schemas.d.ts +13 -13
  9. package/dist/agent/core/domain/llm/schemas.js +3 -3
  10. package/dist/agent/core/domain/llm/types.d.ts +15 -5
  11. package/dist/agent/core/domain/llm/types.js +8 -2
  12. package/dist/agent/core/domain/sandbox/types.d.ts +6 -0
  13. package/dist/agent/core/domain/session/session-metadata.d.ts +7 -2
  14. package/dist/agent/core/domain/session/session-metadata.js +14 -4
  15. package/dist/agent/core/domain/streaming/types.d.ts +2 -0
  16. package/dist/agent/core/domain/tools/types.d.ts +2 -0
  17. package/dist/agent/core/interfaces/i-chat-session.d.ts +1 -1
  18. package/dist/agent/core/interfaces/i-cipher-agent.d.ts +62 -0
  19. package/dist/agent/core/interfaces/i-curate-service.d.ts +23 -8
  20. package/dist/agent/core/interfaces/i-history-storage.d.ts +8 -0
  21. package/dist/agent/core/interfaces/i-key-storage.d.ts +11 -0
  22. package/dist/agent/core/interfaces/i-llm-service.d.ts +1 -1
  23. package/dist/agent/core/interfaces/i-sandbox-service.d.ts +26 -0
  24. package/dist/agent/core/interfaces/i-session-persistence.d.ts +3 -36
  25. package/dist/agent/core/interfaces/i-session-persistence.js +1 -1
  26. package/dist/agent/infra/agent/agent-schemas.d.ts +26 -5
  27. package/dist/agent/infra/agent/agent-schemas.js +10 -3
  28. package/dist/agent/infra/agent/cipher-agent.d.ts +87 -2
  29. package/dist/agent/infra/agent/cipher-agent.js +191 -16
  30. package/dist/agent/infra/agent/interactive-loop.js +1 -5
  31. package/dist/agent/infra/agent/provider-update-config.d.ts +19 -0
  32. package/dist/agent/infra/agent/service-initializer.d.ts +27 -6
  33. package/dist/agent/infra/agent/service-initializer.js +46 -60
  34. package/dist/agent/infra/blob/blob-storage-factory.d.ts +1 -1
  35. package/dist/agent/infra/blob/blob-storage-factory.js +1 -1
  36. package/dist/agent/infra/blob/sqlite-blob-storage.js +8 -5
  37. package/dist/agent/infra/file-system/file-system-service.js +6 -3
  38. package/dist/agent/infra/http/internal-llm-http-service.d.ts +9 -5
  39. package/dist/agent/infra/http/internal-llm-http-service.js +12 -7
  40. package/dist/agent/infra/llm/{internal-llm-service.d.ts → agent-llm-service.d.ts} +52 -7
  41. package/dist/agent/infra/llm/{internal-llm-service.js → agent-llm-service.js} +302 -90
  42. package/dist/agent/infra/llm/context/compaction/compaction-service.d.ts +14 -12
  43. package/dist/agent/infra/llm/context/compaction/compaction-service.js +26 -9
  44. package/dist/agent/infra/llm/context/compression/reactive-overflow.js +12 -3
  45. package/dist/agent/infra/llm/context/context-manager.d.ts +44 -3
  46. package/dist/agent/infra/llm/context/context-manager.js +203 -98
  47. package/dist/agent/infra/llm/context/deferred-effects.d.ts +30 -0
  48. package/dist/agent/infra/llm/context/deferred-effects.js +40 -0
  49. package/dist/agent/infra/llm/formatters/gemini-formatter.d.ts +1 -1
  50. package/dist/agent/infra/llm/formatters/gemini-formatter.js +14 -10
  51. package/dist/agent/infra/llm/generators/ai-sdk-content-generator.d.ts +33 -0
  52. package/dist/agent/infra/llm/generators/ai-sdk-content-generator.js +166 -0
  53. package/dist/agent/infra/llm/generators/ai-sdk-message-converter.d.ts +20 -0
  54. package/dist/agent/infra/llm/generators/ai-sdk-message-converter.js +182 -0
  55. package/dist/agent/infra/llm/generators/index.d.ts +3 -3
  56. package/dist/agent/infra/llm/generators/index.js +3 -3
  57. package/dist/agent/infra/llm/generators/retryable-content-generator.d.ts +7 -0
  58. package/dist/agent/infra/llm/generators/retryable-content-generator.js +29 -5
  59. package/dist/agent/infra/llm/index.d.ts +1 -2
  60. package/dist/agent/infra/llm/index.js +2 -3
  61. package/dist/agent/infra/llm/model-capabilities.d.ts +1 -0
  62. package/dist/agent/infra/llm/model-capabilities.js +31 -0
  63. package/dist/agent/infra/llm/providers/anthropic.d.ts +7 -0
  64. package/dist/agent/infra/llm/providers/anthropic.js +27 -0
  65. package/dist/agent/infra/llm/providers/byterover.d.ts +9 -0
  66. package/dist/agent/infra/llm/providers/byterover.js +37 -0
  67. package/dist/agent/infra/llm/providers/cerebras.d.ts +7 -0
  68. package/dist/agent/infra/llm/providers/cerebras.js +31 -0
  69. package/dist/agent/infra/llm/providers/cohere.d.ts +7 -0
  70. package/dist/agent/infra/llm/providers/cohere.js +26 -0
  71. package/dist/agent/infra/llm/providers/deepinfra.d.ts +7 -0
  72. package/dist/agent/infra/llm/providers/deepinfra.js +26 -0
  73. package/dist/agent/infra/llm/providers/glm.d.ts +7 -0
  74. package/dist/agent/infra/llm/providers/glm.js +30 -0
  75. package/dist/agent/infra/llm/providers/google-vertex.d.ts +15 -0
  76. package/dist/agent/infra/llm/providers/google-vertex.js +36 -0
  77. package/dist/agent/infra/llm/providers/google.d.ts +7 -0
  78. package/dist/agent/infra/llm/providers/google.js +25 -0
  79. package/dist/agent/infra/llm/providers/groq.d.ts +7 -0
  80. package/dist/agent/infra/llm/providers/groq.js +26 -0
  81. package/dist/agent/infra/llm/providers/index.d.ts +24 -0
  82. package/dist/agent/infra/llm/providers/index.js +75 -0
  83. package/dist/agent/infra/llm/providers/minimax.d.ts +7 -0
  84. package/dist/agent/infra/llm/providers/minimax.js +30 -0
  85. package/dist/agent/infra/llm/providers/mistral.d.ts +7 -0
  86. package/dist/agent/infra/llm/providers/mistral.js +26 -0
  87. package/dist/agent/infra/llm/providers/moonshot.d.ts +7 -0
  88. package/dist/agent/infra/llm/providers/moonshot.js +30 -0
  89. package/dist/agent/infra/llm/providers/openai-compatible.d.ts +9 -0
  90. package/dist/agent/infra/llm/providers/openai-compatible.js +30 -0
  91. package/dist/agent/infra/llm/providers/openai.d.ts +7 -0
  92. package/dist/agent/infra/llm/providers/openai.js +26 -0
  93. package/dist/agent/infra/llm/providers/openrouter.d.ts +7 -0
  94. package/dist/agent/infra/llm/providers/openrouter.js +26 -0
  95. package/dist/agent/infra/llm/providers/perplexity.d.ts +7 -0
  96. package/dist/agent/infra/llm/providers/perplexity.js +26 -0
  97. package/dist/agent/infra/llm/providers/togetherai.d.ts +7 -0
  98. package/dist/agent/infra/llm/providers/togetherai.js +26 -0
  99. package/dist/agent/infra/llm/providers/types.d.ts +81 -0
  100. package/dist/agent/infra/llm/providers/types.js +7 -0
  101. package/dist/agent/infra/llm/providers/vercel.d.ts +7 -0
  102. package/dist/agent/infra/llm/providers/vercel.js +32 -0
  103. package/dist/agent/infra/llm/providers/xai.d.ts +7 -0
  104. package/dist/agent/infra/llm/providers/xai.js +26 -0
  105. package/dist/agent/infra/llm/retry/retry-policy.d.ts +13 -0
  106. package/dist/agent/infra/llm/retry/retry-policy.js +207 -0
  107. package/dist/agent/infra/llm/tokenizers/openrouter-tokenizer.js +1 -1
  108. package/dist/agent/infra/llm/tool-output-processor.d.ts +16 -4
  109. package/dist/agent/infra/llm/tool-output-processor.js +61 -16
  110. package/dist/agent/infra/sandbox/curate-result-collector.d.ts +30 -0
  111. package/dist/agent/infra/sandbox/curate-result-collector.js +39 -0
  112. package/dist/agent/infra/sandbox/curate-service.d.ts +4 -1
  113. package/dist/agent/infra/sandbox/curate-service.js +12 -3
  114. package/dist/agent/infra/sandbox/local-sandbox.d.ts +13 -0
  115. package/dist/agent/infra/sandbox/local-sandbox.js +41 -4
  116. package/dist/agent/infra/sandbox/sandbox-service.d.ts +40 -5
  117. package/dist/agent/infra/sandbox/sandbox-service.js +97 -14
  118. package/dist/agent/infra/sandbox/tools-sdk.d.ts +42 -4
  119. package/dist/agent/infra/sandbox/tools-sdk.js +29 -4
  120. package/dist/agent/infra/session/chat-session.d.ts +1 -1
  121. package/dist/agent/infra/session/chat-session.js +2 -2
  122. package/dist/agent/infra/session/session-event-forwarder.js +6 -3
  123. package/dist/agent/infra/session/session-manager.d.ts +12 -2
  124. package/dist/agent/infra/session/session-manager.js +25 -8
  125. package/dist/agent/infra/session/session-metadata-store.d.ts +17 -10
  126. package/dist/agent/infra/session/session-metadata-store.js +12 -87
  127. package/dist/agent/infra/storage/blob-history-storage.d.ts +5 -0
  128. package/dist/agent/infra/storage/blob-history-storage.js +15 -0
  129. package/dist/agent/infra/storage/dual-format-history-storage.d.ts +6 -0
  130. package/dist/agent/infra/storage/dual-format-history-storage.js +16 -0
  131. package/dist/agent/infra/storage/message-storage-service.js +134 -22
  132. package/dist/agent/infra/storage/sqlite-key-storage.d.ts +8 -0
  133. package/dist/agent/infra/storage/sqlite-key-storage.js +47 -13
  134. package/dist/agent/infra/system-prompt/contributors/context-tree-structure-contributor.js +3 -3
  135. package/dist/agent/infra/tools/implementations/code-exec-tool.js +43 -2
  136. package/dist/agent/infra/tools/implementations/curate-tool.d.ts +98 -32
  137. package/dist/agent/infra/tools/implementations/curate-tool.js +86 -23
  138. package/dist/agent/infra/tools/implementations/memory-path-matcher.d.ts +48 -0
  139. package/dist/agent/infra/tools/implementations/memory-path-matcher.js +217 -0
  140. package/dist/agent/infra/tools/implementations/memory-symbol-tree.d.ts +101 -0
  141. package/dist/agent/infra/tools/implementations/memory-symbol-tree.js +259 -0
  142. package/dist/agent/infra/tools/implementations/search-knowledge-service.d.ts +48 -6
  143. package/dist/agent/infra/tools/implementations/search-knowledge-service.js +317 -41
  144. package/dist/agent/infra/tools/implementations/search-knowledge-tool.d.ts +2 -1
  145. package/dist/agent/infra/tools/implementations/search-knowledge-tool.js +50 -6
  146. package/dist/agent/infra/tools/tool-registry.js +2 -2
  147. package/dist/agent/infra/transport/transport-event-bridge.d.ts +42 -0
  148. package/dist/agent/infra/transport/transport-event-bridge.js +90 -0
  149. package/dist/agent/infra/validation/workspace-validator.d.ts +3 -3
  150. package/dist/agent/infra/validation/workspace-validator.js +3 -8
  151. package/dist/agent/resources/prompts/curate-detail-preservation.yml +29 -1
  152. package/dist/agent/resources/prompts/system-prompt.yml +346 -102
  153. package/dist/agent/resources/tools/code_exec.txt +97 -0
  154. package/dist/agent/resources/tools/curate.txt +25 -13
  155. package/dist/agent/resources/tools/detect_domains.txt +4 -3
  156. package/dist/oclif/commands/connectors/index.d.ts +12 -0
  157. package/dist/oclif/commands/connectors/index.js +53 -0
  158. package/dist/oclif/commands/connectors/install.d.ts +31 -0
  159. package/dist/oclif/commands/connectors/install.js +148 -0
  160. package/dist/oclif/commands/connectors/list.d.ts +5 -0
  161. package/dist/oclif/commands/connectors/list.js +8 -0
  162. package/dist/oclif/commands/{curate.d.ts → curate/index.d.ts} +11 -7
  163. package/dist/oclif/commands/curate/index.js +256 -0
  164. package/dist/oclif/commands/curate/view.d.ts +18 -0
  165. package/dist/oclif/commands/curate/view.js +104 -0
  166. package/dist/oclif/commands/debug.d.ts +35 -0
  167. package/dist/oclif/commands/debug.js +436 -0
  168. package/dist/oclif/commands/hub/index.d.ts +5 -0
  169. package/dist/oclif/commands/hub/index.js +7 -0
  170. package/dist/oclif/commands/hub/install.d.ts +23 -0
  171. package/dist/oclif/commands/hub/install.js +74 -0
  172. package/dist/oclif/commands/hub/list.d.ts +13 -0
  173. package/dist/oclif/commands/hub/list.js +65 -0
  174. package/dist/oclif/commands/hub/registry/add.d.ts +19 -0
  175. package/dist/oclif/commands/hub/registry/add.js +74 -0
  176. package/dist/oclif/commands/hub/registry/index.d.ts +5 -0
  177. package/dist/oclif/commands/hub/registry/index.js +7 -0
  178. package/dist/oclif/commands/hub/registry/list.d.ts +12 -0
  179. package/dist/oclif/commands/hub/registry/list.js +49 -0
  180. package/dist/oclif/commands/hub/registry/remove.d.ts +15 -0
  181. package/dist/oclif/commands/hub/registry/remove.js +46 -0
  182. package/dist/oclif/commands/login.d.ts +4 -0
  183. package/dist/oclif/commands/login.js +51 -31
  184. package/dist/oclif/commands/main.d.ts +3 -17
  185. package/dist/oclif/commands/main.js +15 -96
  186. package/dist/oclif/commands/mcp.js +24 -5
  187. package/dist/oclif/commands/model/index.d.ts +15 -0
  188. package/dist/oclif/commands/model/index.js +59 -0
  189. package/dist/oclif/commands/model/list.d.ts +17 -0
  190. package/dist/oclif/commands/model/list.js +89 -0
  191. package/dist/oclif/commands/model/switch.d.ts +21 -0
  192. package/dist/oclif/commands/model/switch.js +81 -0
  193. package/dist/oclif/commands/providers/connect.d.ts +28 -0
  194. package/dist/oclif/commands/providers/connect.js +141 -0
  195. package/dist/oclif/commands/providers/disconnect.d.ts +14 -0
  196. package/dist/oclif/commands/providers/disconnect.js +61 -0
  197. package/dist/oclif/commands/providers/index.d.ts +15 -0
  198. package/dist/oclif/commands/providers/index.js +59 -0
  199. package/dist/oclif/commands/providers/list.d.ts +12 -0
  200. package/dist/oclif/commands/providers/list.js +45 -0
  201. package/dist/oclif/commands/providers/switch.d.ts +17 -0
  202. package/dist/oclif/commands/providers/switch.js +61 -0
  203. package/dist/oclif/commands/pull.d.ts +1 -6
  204. package/dist/oclif/commands/pull.js +46 -49
  205. package/dist/oclif/commands/push.d.ts +1 -7
  206. package/dist/oclif/commands/push.js +66 -59
  207. package/dist/oclif/commands/query.d.ts +5 -7
  208. package/dist/oclif/commands/query.js +142 -43
  209. package/dist/oclif/commands/restart.d.ts +95 -0
  210. package/dist/oclif/commands/restart.js +333 -0
  211. package/dist/oclif/commands/space/list.d.ts +12 -0
  212. package/dist/oclif/commands/space/list.js +66 -0
  213. package/dist/oclif/commands/space/switch.d.ts +17 -0
  214. package/dist/oclif/commands/space/switch.js +87 -0
  215. package/dist/oclif/commands/status.d.ts +4 -9
  216. package/dist/oclif/commands/status.js +94 -49
  217. package/dist/oclif/hooks/prerun/validate-brv-config-version.d.ts +16 -11
  218. package/dist/oclif/hooks/prerun/validate-brv-config-version.js +67 -24
  219. package/dist/oclif/lib/daemon-client.d.ts +40 -0
  220. package/dist/oclif/lib/daemon-client.js +142 -0
  221. package/dist/oclif/lib/json-response.d.ts +9 -0
  222. package/dist/oclif/lib/json-response.js +10 -0
  223. package/dist/oclif/lib/task-client.d.ts +68 -0
  224. package/dist/oclif/lib/task-client.js +227 -0
  225. package/dist/server/config/environment.d.ts +1 -1
  226. package/dist/server/config/environment.js +2 -2
  227. package/dist/server/constants.d.ts +30 -1
  228. package/dist/server/constants.js +43 -2
  229. package/dist/server/core/domain/client/client-info.d.ts +82 -0
  230. package/dist/server/core/domain/client/client-info.js +87 -0
  231. package/dist/server/core/domain/entities/agent.d.ts +3 -6
  232. package/dist/server/core/domain/entities/agent.js +49 -54
  233. package/dist/server/core/domain/entities/brv-config.d.ts +31 -10
  234. package/dist/server/core/domain/entities/brv-config.js +68 -39
  235. package/dist/server/core/domain/entities/connector-type.d.ts +1 -11
  236. package/dist/server/core/domain/entities/connector-type.js +1 -10
  237. package/dist/server/core/domain/entities/context-tree-snapshot.d.ts +2 -11
  238. package/dist/server/core/domain/entities/curate-log-entry.d.ts +41 -0
  239. package/dist/server/core/domain/entities/curation-status.d.ts +28 -0
  240. package/dist/server/core/domain/entities/provider-config.d.ts +14 -1
  241. package/dist/server/core/domain/entities/provider-config.js +17 -6
  242. package/dist/server/core/domain/entities/provider-registry.d.ts +3 -1
  243. package/dist/server/core/domain/entities/provider-registry.js +230 -10
  244. package/dist/server/core/domain/errors/task-error.d.ts +17 -4
  245. package/dist/server/core/domain/errors/task-error.js +35 -10
  246. package/dist/server/core/domain/knowledge/markdown-writer.d.ts +58 -1
  247. package/dist/server/core/domain/knowledge/markdown-writer.js +288 -30
  248. package/dist/server/core/domain/knowledge/memory-scoring.d.ts +118 -0
  249. package/dist/server/core/domain/knowledge/memory-scoring.js +217 -0
  250. package/dist/server/core/domain/knowledge/relation-parser.d.ts +16 -0
  251. package/dist/server/core/domain/knowledge/relation-parser.js +21 -8
  252. package/dist/server/core/domain/project/project-info.d.ts +54 -0
  253. package/dist/server/core/domain/project/project-info.js +62 -0
  254. package/dist/server/core/domain/transport/schemas.d.ts +97 -19
  255. package/dist/server/core/domain/transport/schemas.js +40 -1
  256. package/dist/server/core/domain/transport/task-info.d.ts +21 -0
  257. package/dist/server/core/interfaces/agent/i-agent-pool.d.ts +88 -0
  258. package/dist/server/core/interfaces/client/i-client-manager.d.ts +117 -0
  259. package/dist/server/core/interfaces/context-tree/i-context-file-reader.d.ts +5 -1
  260. package/dist/server/core/interfaces/context-tree/i-context-tree-merger.d.ts +80 -0
  261. package/dist/server/core/interfaces/context-tree/i-context-tree-service.d.ts +5 -0
  262. package/dist/server/core/interfaces/context-tree/i-context-tree-snapshot-service.d.ts +15 -0
  263. package/dist/server/core/interfaces/daemon/i-agent-idle-timeout-policy.d.ts +39 -0
  264. package/dist/server/core/interfaces/daemon/i-daemon-resilience.d.ts +24 -0
  265. package/dist/server/core/interfaces/daemon/i-heartbeat-writer.d.ts +28 -0
  266. package/dist/server/core/interfaces/daemon/i-idle-timeout-policy.d.ts +34 -0
  267. package/dist/server/core/interfaces/daemon/i-shutdown-handler.d.ts +20 -0
  268. package/dist/server/core/interfaces/daemon/index.d.ts +4 -0
  269. package/dist/server/core/interfaces/daemon/index.js +2 -0
  270. package/dist/server/core/interfaces/executor/i-curate-executor.d.ts +2 -2
  271. package/dist/server/core/interfaces/executor/i-query-executor.d.ts +2 -2
  272. package/dist/server/core/interfaces/hub/i-hub-install-service.d.ts +45 -0
  273. package/dist/server/core/interfaces/hub/i-hub-keychain-store.d.ts +27 -0
  274. package/dist/server/core/interfaces/hub/i-hub-registry-config-store.d.ts +27 -0
  275. package/dist/server/core/interfaces/hub/i-hub-registry-service.d.ts +30 -0
  276. package/dist/server/core/interfaces/hub/i-hub-registry-service.js +1 -0
  277. package/dist/server/core/interfaces/i-provider-config-store.d.ts +3 -1
  278. package/dist/server/core/interfaces/i-provider-model-fetcher.d.ts +59 -0
  279. package/dist/server/core/interfaces/i-provider-model-fetcher.js +7 -0
  280. package/dist/server/core/interfaces/process/i-task-lifecycle-hook.d.ts +27 -0
  281. package/dist/server/core/interfaces/process/i-task-lifecycle-hook.js +1 -0
  282. package/dist/server/core/interfaces/project/i-project-registry.d.ts +46 -0
  283. package/dist/server/core/interfaces/project/i-project-registry.js +1 -0
  284. package/dist/server/core/interfaces/routing/i-project-router.d.ts +45 -0
  285. package/dist/server/core/interfaces/routing/i-project-router.js +1 -0
  286. package/dist/server/core/interfaces/routing/index.d.ts +1 -0
  287. package/dist/server/core/interfaces/routing/index.js +1 -0
  288. package/dist/server/core/interfaces/session/i-session-reader.d.ts +13 -0
  289. package/dist/server/core/interfaces/session/i-session-reader.js +1 -0
  290. package/dist/server/core/interfaces/state/i-auth-state-store.d.ts +68 -0
  291. package/dist/server/core/interfaces/state/i-auth-state-store.js +1 -0
  292. package/dist/server/core/interfaces/state/i-project-state-loader.d.ts +110 -0
  293. package/dist/server/core/interfaces/state/i-project-state-loader.js +1 -0
  294. package/dist/server/core/interfaces/storage/i-curate-log-store.d.ts +20 -0
  295. package/dist/server/core/interfaces/storage/i-curate-log-store.js +1 -0
  296. package/dist/server/core/interfaces/storage/i-global-config-store.d.ts +1 -15
  297. package/dist/server/core/interfaces/storage/i-mcp-config-writer.d.ts +5 -1
  298. package/dist/server/core/interfaces/storage/i-project-config-store.d.ts +6 -1
  299. package/dist/server/core/interfaces/transport/i-transport-server.d.ts +12 -2
  300. package/dist/server/core/interfaces/usecase/i-curate-log-use-case.d.ts +12 -0
  301. package/dist/server/core/interfaces/usecase/i-curate-log-use-case.js +1 -0
  302. package/dist/server/infra/client/client-manager.d.ts +51 -0
  303. package/dist/server/infra/client/client-manager.js +144 -0
  304. package/dist/server/infra/cogit/context-tree-to-push-context-mapper.js +2 -2
  305. package/dist/server/infra/config/auto-init.d.ts +14 -0
  306. package/dist/server/infra/config/auto-init.js +18 -0
  307. package/dist/server/infra/config/file-config-store.d.ts +1 -0
  308. package/dist/server/infra/config/file-config-store.js +15 -7
  309. package/dist/server/infra/connectors/mcp/json-mcp-config-writer.d.ts +1 -2
  310. package/dist/server/infra/connectors/mcp/json-mcp-config-writer.js +9 -8
  311. package/dist/server/infra/connectors/mcp/mcp-connector-config.d.ts +29 -6
  312. package/dist/server/infra/connectors/mcp/mcp-connector-config.js +28 -1
  313. package/dist/server/infra/connectors/mcp/mcp-connector.js +5 -5
  314. package/dist/server/infra/connectors/mcp/toml-mcp-config-writer.d.ts +1 -2
  315. package/dist/server/infra/connectors/rules/rules-connector-config.d.ts +8 -0
  316. package/dist/server/infra/connectors/rules/rules-connector-config.js +8 -0
  317. package/dist/server/infra/connectors/rules/rules-connector.js +34 -7
  318. package/dist/server/infra/connectors/shared/constants.d.ts +5 -0
  319. package/dist/server/infra/connectors/shared/constants.js +12 -0
  320. package/dist/server/infra/connectors/shared/rule-segment-patcher.d.ts +29 -0
  321. package/dist/server/infra/connectors/shared/rule-segment-patcher.js +208 -0
  322. package/dist/server/infra/connectors/skill/skill-connector-config.d.ts +79 -20
  323. package/dist/server/infra/connectors/skill/skill-connector-config.js +74 -10
  324. package/dist/server/infra/connectors/skill/skill-connector.d.ts +31 -4
  325. package/dist/server/infra/connectors/skill/skill-connector.js +136 -39
  326. package/dist/server/infra/context-tree/file-context-file-reader.js +6 -2
  327. package/dist/server/infra/context-tree/file-context-tree-merger.d.ts +51 -0
  328. package/dist/server/infra/context-tree/file-context-tree-merger.js +261 -0
  329. package/dist/server/infra/context-tree/file-context-tree-service.d.ts +1 -0
  330. package/dist/server/infra/context-tree/file-context-tree-service.js +6 -1
  331. package/dist/server/infra/context-tree/file-context-tree-snapshot-service.d.ts +2 -4
  332. package/dist/server/infra/context-tree/file-context-tree-snapshot-service.js +19 -9
  333. package/dist/server/infra/context-tree/hash-utils.d.ts +6 -0
  334. package/dist/server/infra/context-tree/hash-utils.js +9 -0
  335. package/dist/server/infra/daemon/agent-idle-timeout-policy.d.ts +36 -0
  336. package/dist/server/infra/daemon/agent-idle-timeout-policy.js +89 -0
  337. package/dist/server/infra/daemon/agent-logger.d.ts +10 -0
  338. package/dist/server/infra/daemon/agent-logger.js +22 -0
  339. package/dist/server/infra/daemon/agent-pool.d.ts +112 -0
  340. package/dist/server/infra/daemon/agent-pool.js +335 -0
  341. package/dist/server/infra/daemon/agent-process.d.ts +21 -0
  342. package/dist/server/infra/daemon/agent-process.js +610 -0
  343. package/dist/server/infra/daemon/brv-server.d.ts +23 -0
  344. package/dist/server/infra/daemon/brv-server.js +405 -0
  345. package/dist/server/infra/daemon/daemon-resilience.d.ts +34 -0
  346. package/dist/server/infra/daemon/daemon-resilience.js +100 -0
  347. package/dist/server/infra/daemon/heartbeat.d.ts +28 -0
  348. package/dist/server/infra/daemon/heartbeat.js +81 -0
  349. package/dist/server/infra/daemon/idle-timeout-policy.d.ts +38 -0
  350. package/dist/server/infra/daemon/idle-timeout-policy.js +91 -0
  351. package/dist/server/infra/daemon/index.d.ts +5 -0
  352. package/dist/server/infra/daemon/index.js +11 -0
  353. package/dist/server/infra/daemon/port-selector.d.ts +28 -0
  354. package/dist/server/infra/daemon/port-selector.js +45 -0
  355. package/dist/server/infra/daemon/project-task-queue.d.ts +54 -0
  356. package/dist/server/infra/daemon/project-task-queue.js +103 -0
  357. package/dist/server/infra/daemon/session-resolver.d.ts +26 -0
  358. package/dist/server/infra/daemon/session-resolver.js +88 -0
  359. package/dist/server/infra/daemon/shutdown-handler.d.ts +42 -0
  360. package/dist/server/infra/daemon/shutdown-handler.js +101 -0
  361. package/dist/server/infra/executor/curate-executor.d.ts +10 -2
  362. package/dist/server/infra/executor/curate-executor.js +87 -13
  363. package/dist/server/infra/executor/direct-search-responder.d.ts +11 -8
  364. package/dist/server/infra/executor/direct-search-responder.js +16 -14
  365. package/dist/server/infra/executor/folder-pack-executor.js +58 -17
  366. package/dist/server/infra/executor/query-executor.d.ts +23 -6
  367. package/dist/server/infra/executor/query-executor.js +145 -39
  368. package/dist/server/infra/http/provider-model-fetcher-registry.d.ts +31 -0
  369. package/dist/server/infra/http/provider-model-fetcher-registry.js +121 -0
  370. package/dist/server/infra/http/provider-model-fetchers.d.ts +108 -0
  371. package/dist/server/infra/http/provider-model-fetchers.js +582 -0
  372. package/dist/server/infra/hub/composite-hub-registry-service.d.ts +17 -0
  373. package/dist/server/infra/hub/composite-hub-registry-service.js +54 -0
  374. package/dist/server/infra/hub/hub-auth-headers.d.ts +11 -0
  375. package/dist/server/infra/hub/hub-auth-headers.js +29 -0
  376. package/dist/server/infra/hub/hub-install-service.d.ts +22 -0
  377. package/dist/server/infra/hub/hub-install-service.js +99 -0
  378. package/dist/server/infra/hub/hub-keychain-store.d.ts +29 -0
  379. package/dist/server/infra/hub/hub-keychain-store.js +98 -0
  380. package/dist/server/infra/hub/hub-registry-config-store.d.ts +24 -0
  381. package/dist/server/infra/hub/hub-registry-config-store.js +92 -0
  382. package/dist/server/infra/hub/hub-registry-service.d.ts +33 -0
  383. package/dist/server/infra/hub/hub-registry-service.js +109 -0
  384. package/dist/server/infra/mcp/mcp-mode-detector.d.ts +21 -0
  385. package/dist/server/infra/mcp/mcp-mode-detector.js +25 -0
  386. package/dist/server/infra/mcp/mcp-server.d.ts +15 -9
  387. package/dist/server/infra/mcp/mcp-server.js +84 -98
  388. package/dist/server/infra/mcp/tools/brv-curate-tool.d.ts +5 -10
  389. package/dist/server/infra/mcp/tools/brv-curate-tool.js +47 -17
  390. package/dist/server/infra/mcp/tools/brv-query-tool.d.ts +4 -1
  391. package/dist/server/infra/mcp/tools/brv-query-tool.js +39 -12
  392. package/dist/server/infra/mcp/tools/index.d.ts +1 -0
  393. package/dist/server/infra/mcp/tools/index.js +1 -0
  394. package/dist/server/infra/mcp/tools/resolve-client-cwd.d.ts +17 -0
  395. package/dist/server/infra/mcp/tools/resolve-client-cwd.js +27 -0
  396. package/dist/server/infra/mcp/tools/task-result-waiter.js +6 -5
  397. package/dist/server/infra/process/broadcast-utils.d.ts +16 -0
  398. package/dist/server/infra/process/broadcast-utils.js +22 -0
  399. package/dist/server/infra/process/connection-coordinator.d.ts +85 -0
  400. package/dist/server/infra/process/connection-coordinator.js +333 -0
  401. package/dist/server/infra/process/curate-log-handler.d.ts +35 -0
  402. package/dist/server/infra/process/curate-log-handler.js +179 -0
  403. package/dist/server/infra/process/feature-handlers.d.ts +25 -0
  404. package/dist/server/infra/process/feature-handlers.js +165 -0
  405. package/dist/server/infra/process/index.d.ts +6 -7
  406. package/dist/server/infra/process/index.js +5 -6
  407. package/dist/server/infra/process/task-router.d.ts +139 -0
  408. package/dist/server/infra/process/task-router.js +503 -0
  409. package/dist/server/infra/process/transport-handlers.d.ts +55 -117
  410. package/dist/server/infra/process/transport-handlers.js +50 -437
  411. package/dist/server/infra/process/types.d.ts +5 -0
  412. package/dist/server/infra/process/types.js +1 -0
  413. package/dist/server/infra/project/project-registry.d.ts +37 -0
  414. package/dist/server/infra/project/project-registry.js +147 -0
  415. package/dist/server/infra/provider/env-provider-detector.d.ts +33 -0
  416. package/dist/server/infra/provider/env-provider-detector.js +52 -0
  417. package/dist/server/infra/provider/provider-config-resolver.d.ts +30 -0
  418. package/dist/server/infra/provider/provider-config-resolver.js +167 -0
  419. package/dist/server/infra/provider/vertex-ai-utils.d.ts +10 -0
  420. package/dist/server/infra/provider/vertex-ai-utils.js +28 -0
  421. package/dist/server/infra/routing/project-router.d.ts +35 -0
  422. package/dist/server/infra/routing/project-router.js +60 -0
  423. package/dist/server/infra/session/session-reader.d.ts +18 -0
  424. package/dist/server/infra/session/session-reader.js +17 -0
  425. package/dist/server/infra/state/auth-state-store.d.ts +55 -0
  426. package/dist/server/infra/state/auth-state-store.js +111 -0
  427. package/dist/server/infra/state/project-state-loader.d.ts +69 -0
  428. package/dist/server/infra/state/project-state-loader.js +154 -0
  429. package/dist/server/infra/storage/file-curate-log-store.d.ts +61 -0
  430. package/dist/server/infra/storage/file-curate-log-store.js +198 -0
  431. package/dist/server/infra/storage/file-global-config-store.d.ts +0 -2
  432. package/dist/server/infra/storage/file-global-config-store.js +0 -19
  433. package/dist/server/infra/storage/file-onboarding-preference-store.d.ts +1 -1
  434. package/dist/server/infra/storage/file-onboarding-preference-store.js +7 -8
  435. package/dist/server/infra/storage/file-provider-config-store.d.ts +3 -2
  436. package/dist/server/infra/storage/file-provider-config-store.js +3 -3
  437. package/dist/server/infra/storage/file-provider-keychain-store.d.ts +31 -0
  438. package/dist/server/infra/storage/file-provider-keychain-store.js +110 -0
  439. package/dist/server/infra/storage/file-token-store.d.ts +2 -5
  440. package/dist/server/infra/storage/file-token-store.js +2 -5
  441. package/dist/server/infra/storage/provider-keychain-store.d.ts +2 -33
  442. package/dist/server/infra/storage/provider-keychain-store.js +4 -71
  443. package/dist/server/infra/storage/token-store.d.ts +3 -8
  444. package/dist/server/infra/storage/token-store.js +4 -11
  445. package/dist/server/infra/transport/agent-instance-discovery.d.ts +20 -0
  446. package/dist/server/infra/transport/agent-instance-discovery.js +32 -0
  447. package/dist/server/infra/transport/handlers/agent-dto-mapper.d.ts +6 -0
  448. package/dist/server/infra/transport/handlers/agent-dto-mapper.js +16 -0
  449. package/dist/server/infra/transport/handlers/auth-handler.d.ts +60 -0
  450. package/dist/server/infra/transport/handlers/auth-handler.js +257 -0
  451. package/dist/server/infra/transport/handlers/config-handler.d.ts +13 -0
  452. package/dist/server/infra/transport/handlers/config-handler.js +22 -0
  453. package/dist/server/infra/transport/handlers/connectors-handler.d.ts +23 -0
  454. package/dist/server/infra/transport/handlers/connectors-handler.js +73 -0
  455. package/dist/server/infra/transport/handlers/handler-types.d.ts +23 -0
  456. package/dist/server/infra/transport/handlers/handler-types.js +21 -0
  457. package/dist/server/infra/transport/handlers/hub-handler.d.ts +34 -0
  458. package/dist/server/infra/transport/handlers/hub-handler.js +218 -0
  459. package/dist/server/infra/transport/handlers/index.d.ts +26 -0
  460. package/dist/server/infra/transport/handlers/index.js +13 -0
  461. package/dist/server/infra/transport/handlers/init-handler.d.ts +50 -0
  462. package/dist/server/infra/transport/handlers/init-handler.js +157 -0
  463. package/dist/server/infra/transport/handlers/model-handler.d.ts +22 -0
  464. package/dist/server/infra/transport/handlers/model-handler.js +107 -0
  465. package/dist/server/infra/transport/handlers/provider-handler.d.ts +25 -0
  466. package/dist/server/infra/transport/handlers/provider-handler.js +101 -0
  467. package/dist/server/infra/transport/handlers/pull-handler.d.ts +35 -0
  468. package/dist/server/infra/transport/handlers/pull-handler.js +87 -0
  469. package/dist/server/infra/transport/handlers/push-handler.d.ts +37 -0
  470. package/dist/server/infra/transport/handlers/push-handler.js +109 -0
  471. package/dist/server/infra/transport/handlers/reset-handler.d.ts +23 -0
  472. package/dist/server/infra/transport/handlers/reset-handler.js +33 -0
  473. package/dist/server/infra/transport/handlers/space-handler.d.ts +44 -0
  474. package/dist/server/infra/transport/handlers/space-handler.js +206 -0
  475. package/dist/server/infra/transport/handlers/status-handler.d.ts +29 -0
  476. package/dist/server/infra/transport/handlers/status-handler.js +99 -0
  477. package/dist/server/infra/transport/index.d.ts +1 -1
  478. package/dist/server/infra/transport/index.js +0 -1
  479. package/dist/server/infra/transport/port-utils.d.ts +0 -35
  480. package/dist/server/infra/transport/port-utils.js +0 -62
  481. package/dist/server/infra/transport/socket-io-transport-server.d.ts +6 -1
  482. package/dist/server/infra/transport/socket-io-transport-server.js +30 -10
  483. package/dist/server/infra/transport/transport-connector.d.ts +13 -0
  484. package/dist/server/infra/transport/transport-connector.js +18 -0
  485. package/dist/server/infra/usecase/curate-log-use-case.d.ts +32 -0
  486. package/dist/server/infra/usecase/curate-log-use-case.js +142 -0
  487. package/dist/server/templates/sections/brv-instructions.md +8 -0
  488. package/dist/server/templates/sections/command-reference.md +5 -2
  489. package/dist/server/templates/sections/workflow.md +2 -0
  490. package/dist/server/templates/skill/SKILL.md +138 -59
  491. package/dist/server/utils/config-xdg-sync.d.ts +13 -0
  492. package/dist/server/utils/config-xdg-sync.js +25 -0
  493. package/dist/server/utils/curate-result-parser.d.ts +121 -0
  494. package/dist/server/utils/curate-result-parser.js +120 -0
  495. package/dist/server/utils/global-config-path.d.ts +1 -1
  496. package/dist/server/utils/global-config-path.js +5 -2
  497. package/dist/server/utils/global-data-path.d.ts +2 -2
  498. package/dist/server/utils/global-data-path.js +8 -3
  499. package/dist/server/utils/path-utils.d.ts +38 -0
  500. package/dist/server/utils/path-utils.js +92 -0
  501. package/dist/server/utils/process-logger.js +1 -1
  502. package/dist/server/utils/server-main-resolver.d.ts +9 -0
  503. package/dist/server/utils/server-main-resolver.js +17 -0
  504. package/dist/shared/transport/events/agent-events.d.ts +16 -0
  505. package/dist/shared/transport/events/agent-events.js +10 -0
  506. package/dist/shared/transport/events/auth-events.d.ts +45 -0
  507. package/dist/shared/transport/events/auth-events.js +11 -0
  508. package/dist/shared/transport/events/config-events.d.ts +18 -0
  509. package/dist/shared/transport/events/config-events.js +5 -0
  510. package/dist/shared/transport/events/connector-events.d.ts +35 -0
  511. package/dist/shared/transport/events/connector-events.js +6 -0
  512. package/dist/shared/transport/events/hub-events.d.ts +62 -0
  513. package/dist/shared/transport/events/hub-events.js +10 -0
  514. package/dist/shared/transport/events/index.d.ts +123 -0
  515. package/dist/shared/transport/events/index.js +73 -0
  516. package/dist/shared/transport/events/init-events.d.ts +41 -0
  517. package/dist/shared/transport/events/init-events.js +8 -0
  518. package/dist/shared/transport/events/llm-events.d.ts +13 -0
  519. package/dist/shared/transport/events/llm-events.js +13 -0
  520. package/dist/shared/transport/events/model-events.d.ts +30 -0
  521. package/dist/shared/transport/events/model-events.js +5 -0
  522. package/dist/shared/transport/events/onboarding-events.d.ts +18 -0
  523. package/dist/shared/transport/events/onboarding-events.js +5 -0
  524. package/dist/shared/transport/events/provider-events.d.ts +44 -0
  525. package/dist/shared/transport/events/provider-events.js +8 -0
  526. package/dist/shared/transport/events/pull-events.d.ts +26 -0
  527. package/dist/shared/transport/events/pull-events.js +5 -0
  528. package/dist/shared/transport/events/push-events.d.ts +27 -0
  529. package/dist/shared/transport/events/push-events.js +5 -0
  530. package/dist/shared/transport/events/reset-events.d.ts +6 -0
  531. package/dist/shared/transport/events/reset-events.js +3 -0
  532. package/dist/shared/transport/events/session-events.d.ts +3 -0
  533. package/dist/shared/transport/events/session-events.js +3 -0
  534. package/dist/shared/transport/events/space-events.d.ts +30 -0
  535. package/dist/shared/transport/events/space-events.js +4 -0
  536. package/dist/shared/transport/events/status-events.d.ts +7 -0
  537. package/dist/shared/transport/events/status-events.js +3 -0
  538. package/dist/shared/transport/events/task-events.d.ts +19 -0
  539. package/dist/shared/transport/events/task-events.js +9 -0
  540. package/dist/shared/transport/types/auth-scheme.d.ts +1 -0
  541. package/dist/shared/transport/types/auth-scheme.js +1 -0
  542. package/dist/shared/transport/types/dto.d.ts +112 -0
  543. package/dist/shared/transport/types/dto.js +6 -0
  544. package/dist/shared/transport/types/index.d.ts +1 -0
  545. package/dist/shared/transport/types/index.js +1 -0
  546. package/dist/shared/types/agent.d.ts +5 -0
  547. package/dist/shared/types/agent.js +27 -0
  548. package/dist/shared/types/connector-type.d.ts +18 -0
  549. package/dist/shared/types/connector-type.js +26 -0
  550. package/dist/shared/types/context-tree-changes.d.ts +11 -0
  551. package/dist/shared/types/context-tree-changes.js +1 -0
  552. package/dist/shared/types/index.d.ts +3 -0
  553. package/dist/shared/types/index.js +2 -0
  554. package/dist/tui/app/index.d.ts +9 -0
  555. package/dist/tui/app/index.js +4 -0
  556. package/dist/tui/app/layouts/main-layout.d.ts +14 -0
  557. package/dist/tui/app/layouts/main-layout.js +19 -0
  558. package/dist/tui/app/pages/config-provider-page.d.ts +8 -0
  559. package/dist/tui/app/pages/config-provider-page.js +19 -0
  560. package/dist/tui/app/pages/home-page.d.ts +8 -0
  561. package/dist/tui/app/pages/home-page.js +85 -0
  562. package/dist/tui/app/pages/login-page.d.ts +12 -0
  563. package/dist/tui/app/pages/login-page.js +87 -0
  564. package/dist/tui/app/pages/protected-routes.d.ts +8 -0
  565. package/dist/tui/app/pages/protected-routes.js +14 -0
  566. package/dist/tui/app/router.d.ts +11 -0
  567. package/dist/tui/app/router.js +21 -0
  568. package/dist/tui/components/command/command-output.d.ts +1 -1
  569. package/dist/tui/components/command/command-output.js +5 -7
  570. package/dist/tui/components/command/expanded-command-view.d.ts +1 -1
  571. package/dist/tui/components/command/expanded-command-view.js +5 -6
  572. package/dist/tui/components/command/live-streaming-output.d.ts +2 -4
  573. package/dist/tui/components/command/live-streaming-output.js +5 -19
  574. package/dist/tui/components/command-details.d.ts +1 -1
  575. package/dist/tui/components/command-details.js +3 -3
  576. package/dist/tui/components/command-input.js +84 -171
  577. package/dist/tui/components/command-item.d.ts +1 -1
  578. package/dist/tui/components/command-item.js +6 -7
  579. package/dist/tui/components/execution/execution-status.d.ts +1 -1
  580. package/dist/tui/components/execution/execution-tool.d.ts +1 -1
  581. package/dist/tui/components/execution/expanded-log-view.d.ts +1 -1
  582. package/dist/tui/components/execution/expanded-log-view.js +1 -1
  583. package/dist/tui/components/execution/log-item.d.ts +1 -1
  584. package/dist/tui/components/execution/log-item.js +1 -1
  585. package/dist/tui/components/footer.js +6 -4
  586. package/dist/tui/components/header.js +2 -2
  587. package/dist/tui/components/index.d.ts +0 -2
  588. package/dist/tui/components/index.js +0 -2
  589. package/dist/tui/components/init.d.ts +1 -1
  590. package/dist/tui/components/init.js +26 -32
  591. package/dist/tui/components/inline-prompts/inline-file-selector.d.ts +1 -1
  592. package/dist/tui/components/inline-prompts/inline-input.d.ts +6 -0
  593. package/dist/tui/components/inline-prompts/inline-input.js +53 -16
  594. package/dist/tui/components/inline-prompts/inline-search.d.ts +2 -2
  595. package/dist/tui/components/inline-prompts/inline-search.js +1 -1
  596. package/dist/tui/components/inline-prompts/inline-select.d.ts +1 -1
  597. package/dist/tui/components/inline-prompts/inline-select.js +1 -1
  598. package/dist/tui/components/message-item.d.ts +1 -1
  599. package/dist/tui/components/message-item.js +2 -2
  600. package/dist/tui/components/onboarding/welcome-box.d.ts +1 -8
  601. package/dist/tui/components/onboarding/welcome-box.js +11 -12
  602. package/dist/tui/components/onboarding-item.d.ts +1 -1
  603. package/dist/tui/components/selectable-list.d.ts +3 -1
  604. package/dist/tui/components/selectable-list.js +7 -15
  605. package/dist/tui/components/status-badge.js +1 -1
  606. package/dist/tui/components/suggestions.js +5 -18
  607. package/dist/tui/features/activity/hooks/index.d.ts +2 -0
  608. package/dist/tui/features/activity/hooks/index.js +2 -0
  609. package/dist/tui/{hooks → features/activity/hooks}/use-activity-logs.d.ts +1 -1
  610. package/dist/tui/{hooks → features/activity/hooks}/use-activity-logs.js +4 -3
  611. package/dist/tui/features/activity/hooks/use-feed-navigation.d.ts +24 -0
  612. package/dist/tui/features/activity/hooks/use-feed-navigation.js +43 -0
  613. package/dist/tui/features/activity/index.d.ts +1 -0
  614. package/dist/tui/features/activity/index.js +1 -0
  615. package/dist/tui/features/auth/api/get-auth-state.d.ts +16 -0
  616. package/dist/tui/features/auth/api/get-auth-state.js +21 -0
  617. package/dist/tui/features/auth/api/login.d.ts +3 -0
  618. package/dist/tui/features/auth/api/login.js +14 -0
  619. package/dist/tui/features/auth/api/logout.d.ts +8 -0
  620. package/dist/tui/features/auth/api/logout.js +24 -0
  621. package/dist/tui/features/auth/api/refresh-auth.d.ts +8 -0
  622. package/dist/tui/features/auth/api/refresh-auth.js +24 -0
  623. package/dist/tui/features/auth/components/auth-initializer.d.ts +10 -0
  624. package/dist/tui/features/auth/components/auth-initializer.js +82 -0
  625. package/dist/tui/features/auth/components/login-flow.d.ts +8 -0
  626. package/dist/tui/features/auth/components/login-flow.js +62 -0
  627. package/dist/tui/features/auth/components/logout-flow.d.ts +12 -0
  628. package/dist/tui/features/auth/components/logout-flow.js +81 -0
  629. package/dist/tui/features/auth/guards/auth-guard.d.ts +2 -0
  630. package/dist/tui/features/auth/guards/auth-guard.js +11 -0
  631. package/dist/tui/features/auth/stores/auth-store.d.ts +27 -0
  632. package/dist/tui/features/auth/stores/auth-store.js +29 -0
  633. package/dist/tui/features/commands/components/command-view.d.ts +17 -0
  634. package/dist/tui/features/commands/components/command-view.js +34 -0
  635. package/dist/tui/features/commands/definitions/connectors.d.ts +2 -0
  636. package/dist/tui/features/commands/definitions/connectors.js +9 -0
  637. package/dist/tui/features/commands/definitions/curate.d.ts +2 -0
  638. package/dist/tui/features/commands/definitions/curate.js +53 -0
  639. package/dist/tui/features/commands/definitions/hub-list.d.ts +2 -0
  640. package/dist/tui/features/commands/definitions/hub-list.js +9 -0
  641. package/dist/tui/features/commands/definitions/hub-registry-add.d.ts +2 -0
  642. package/dist/tui/features/commands/definitions/hub-registry-add.js +36 -0
  643. package/dist/tui/features/commands/definitions/hub-registry-list.d.ts +2 -0
  644. package/dist/tui/features/commands/definitions/hub-registry-list.js +9 -0
  645. package/dist/tui/features/commands/definitions/hub-registry-remove.d.ts +2 -0
  646. package/dist/tui/features/commands/definitions/hub-registry-remove.js +25 -0
  647. package/dist/tui/features/commands/definitions/hub-registry.d.ts +2 -0
  648. package/dist/tui/features/commands/definitions/hub-registry.js +8 -0
  649. package/dist/tui/features/commands/definitions/hub.d.ts +2 -0
  650. package/dist/tui/features/commands/definitions/hub.js +7 -0
  651. package/dist/tui/{commands → features/commands/definitions}/index.d.ts +1 -1
  652. package/dist/tui/features/commands/definitions/index.js +45 -0
  653. package/dist/tui/features/commands/definitions/login.d.ts +2 -0
  654. package/dist/tui/features/commands/definitions/login.js +12 -0
  655. package/dist/tui/features/commands/definitions/logout.d.ts +2 -0
  656. package/dist/tui/features/commands/definitions/logout.js +26 -0
  657. package/dist/tui/features/commands/definitions/model.d.ts +2 -0
  658. package/dist/tui/features/commands/definitions/model.js +9 -0
  659. package/dist/tui/features/commands/definitions/new.d.ts +2 -0
  660. package/dist/tui/features/commands/definitions/new.js +27 -0
  661. package/dist/tui/features/commands/definitions/providers.d.ts +2 -0
  662. package/dist/tui/features/commands/definitions/providers.js +9 -0
  663. package/dist/tui/features/commands/definitions/pull.d.ts +2 -0
  664. package/dist/tui/features/commands/definitions/pull.js +23 -0
  665. package/dist/tui/features/commands/definitions/push.d.ts +2 -0
  666. package/dist/tui/features/commands/definitions/push.js +29 -0
  667. package/dist/tui/features/commands/definitions/query.d.ts +2 -0
  668. package/dist/tui/features/commands/definitions/query.js +36 -0
  669. package/dist/tui/features/commands/definitions/reset.d.ts +2 -0
  670. package/dist/tui/features/commands/definitions/reset.js +22 -0
  671. package/dist/tui/features/commands/definitions/space-list.d.ts +2 -0
  672. package/dist/tui/features/commands/definitions/space-list.js +22 -0
  673. package/dist/tui/features/commands/definitions/space-switch.d.ts +2 -0
  674. package/dist/tui/features/commands/definitions/space-switch.js +9 -0
  675. package/dist/tui/features/commands/definitions/space.d.ts +2 -0
  676. package/dist/tui/features/commands/definitions/space.js +7 -0
  677. package/dist/tui/features/commands/definitions/status.d.ts +2 -0
  678. package/dist/tui/features/commands/definitions/status.js +11 -0
  679. package/dist/tui/features/commands/hooks/use-commands-controller.d.ts +38 -0
  680. package/dist/tui/features/commands/hooks/use-commands-controller.js +43 -0
  681. package/dist/tui/{hooks → features/commands/hooks}/use-slash-command-processor.d.ts +1 -1
  682. package/dist/tui/{hooks → features/commands/hooks}/use-slash-command-processor.js +33 -31
  683. package/dist/tui/{hooks → features/commands/hooks}/use-slash-completion.d.ts +1 -1
  684. package/dist/tui/{hooks → features/commands/hooks}/use-slash-completion.js +30 -25
  685. package/dist/tui/features/commands/stores/commands-store.d.ts +32 -0
  686. package/dist/tui/features/commands/stores/commands-store.js +23 -0
  687. package/dist/tui/{commands → features/commands/utils}/arg-parser.d.ts +1 -1
  688. package/dist/tui/features/connectors/api/get-agent-config-paths.d.ts +18 -0
  689. package/dist/tui/features/connectors/api/get-agent-config-paths.js +17 -0
  690. package/dist/tui/features/connectors/api/get-agents.d.ts +16 -0
  691. package/dist/tui/features/connectors/api/get-agents.js +19 -0
  692. package/dist/tui/features/connectors/api/get-connectors.d.ts +16 -0
  693. package/dist/tui/features/connectors/api/get-connectors.js +17 -0
  694. package/dist/tui/features/connectors/api/install-connector.d.ts +14 -0
  695. package/dist/tui/features/connectors/api/install-connector.js +27 -0
  696. package/dist/tui/features/connectors/components/agent-search-step.d.ts +9 -0
  697. package/dist/tui/features/connectors/components/agent-search-step.js +18 -0
  698. package/dist/tui/features/connectors/components/confirm-switch-step.d.ts +10 -0
  699. package/dist/tui/features/connectors/components/confirm-switch-step.js +13 -0
  700. package/dist/tui/features/connectors/components/connector-list-step.d.ts +11 -0
  701. package/dist/tui/features/connectors/components/connector-list-step.js +29 -0
  702. package/dist/tui/features/connectors/components/connector-type-step.d.ts +13 -0
  703. package/dist/tui/features/connectors/components/connector-type-step.js +23 -0
  704. package/dist/tui/features/connectors/components/connectors-flow.d.ts +17 -0
  705. package/dist/tui/features/connectors/components/connectors-flow.js +179 -0
  706. package/dist/tui/features/connectors/utils/get-connector-name.d.ts +3 -0
  707. package/dist/tui/features/connectors/utils/get-connector-name.js +33 -0
  708. package/dist/tui/features/curate/api/create-curate-task.d.ts +22 -0
  709. package/dist/tui/features/curate/api/create-curate-task.js +40 -0
  710. package/dist/tui/features/curate/components/curate-flow.d.ts +20 -0
  711. package/dist/tui/features/curate/components/curate-flow.js +41 -0
  712. package/dist/tui/features/hub/api/add-hub-registry.d.ts +15 -0
  713. package/dist/tui/features/hub/api/add-hub-registry.js +30 -0
  714. package/dist/tui/features/hub/api/get-hub-entries.d.ts +16 -0
  715. package/dist/tui/features/hub/api/get-hub-entries.js +17 -0
  716. package/dist/tui/features/hub/api/install-hub-entry.d.ts +14 -0
  717. package/dist/tui/features/hub/api/install-hub-entry.js +24 -0
  718. package/dist/tui/features/hub/api/list-hub-registries.d.ts +16 -0
  719. package/dist/tui/features/hub/api/list-hub-registries.js +17 -0
  720. package/dist/tui/features/hub/api/remove-hub-registry.d.ts +11 -0
  721. package/dist/tui/features/hub/api/remove-hub-registry.js +24 -0
  722. package/dist/tui/features/hub/components/hub-agent-step.d.ts +8 -0
  723. package/dist/tui/features/hub/components/hub-agent-step.js +14 -0
  724. package/dist/tui/features/hub/components/hub-detail-step.d.ts +10 -0
  725. package/dist/tui/features/hub/components/hub-detail-step.js +25 -0
  726. package/dist/tui/features/hub/components/hub-flow.d.ts +7 -0
  727. package/dist/tui/features/hub/components/hub-flow.js +90 -0
  728. package/dist/tui/features/hub/components/hub-list-step.d.ts +10 -0
  729. package/dist/tui/features/hub/components/hub-list-step.js +34 -0
  730. package/dist/tui/features/hub/components/hub-registry-add-view.d.ts +12 -0
  731. package/dist/tui/features/hub/components/hub-registry-add-view.js +36 -0
  732. package/dist/tui/features/hub/components/hub-registry-list-view.d.ts +7 -0
  733. package/dist/tui/features/hub/components/hub-registry-list-view.js +38 -0
  734. package/dist/tui/features/hub/components/hub-registry-remove-view.d.ts +8 -0
  735. package/dist/tui/features/hub/components/hub-registry-remove-view.js +17 -0
  736. package/dist/tui/features/model/api/get-models-by-providers.d.ts +20 -0
  737. package/dist/tui/features/model/api/get-models-by-providers.js +17 -0
  738. package/dist/tui/features/model/api/get-models.d.ts +20 -0
  739. package/dist/tui/features/model/api/get-models.js +17 -0
  740. package/dist/tui/features/model/api/set-active-model.d.ts +13 -0
  741. package/dist/tui/features/model/api/set-active-model.js +13 -0
  742. package/dist/tui/{components → features/model/components}/model-dialog.d.ts +4 -0
  743. package/dist/tui/{components → features/model/components}/model-dialog.js +10 -3
  744. package/dist/tui/features/model/components/model-flow.d.ts +17 -0
  745. package/dist/tui/features/model/components/model-flow.js +108 -0
  746. package/dist/tui/features/model/stores/model-store.d.ts +35 -0
  747. package/dist/tui/features/model/stores/model-store.js +26 -0
  748. package/dist/tui/features/onboarding/api/auto-setup-onboarding.d.ts +8 -0
  749. package/dist/tui/features/onboarding/api/auto-setup-onboarding.js +24 -0
  750. package/dist/tui/features/onboarding/api/complete-onboarding.d.ts +11 -0
  751. package/dist/tui/features/onboarding/api/complete-onboarding.js +24 -0
  752. package/dist/tui/features/onboarding/api/get-onboarding-state.d.ts +16 -0
  753. package/dist/tui/features/onboarding/api/get-onboarding-state.js +17 -0
  754. package/dist/tui/features/onboarding/hooks/use-app-view-mode.d.ts +27 -0
  755. package/dist/tui/features/onboarding/hooks/use-app-view-mode.js +36 -0
  756. package/dist/tui/features/onboarding/types.d.ts +7 -0
  757. package/dist/tui/features/onboarding/types.js +4 -0
  758. package/dist/tui/features/onboarding/utils.d.ts +28 -0
  759. package/dist/tui/features/onboarding/utils.js +76 -0
  760. package/dist/tui/features/provider/api/connect-provider.d.ts +13 -0
  761. package/dist/tui/features/provider/api/connect-provider.js +28 -0
  762. package/dist/tui/features/provider/api/disconnect-provider.d.ts +11 -0
  763. package/dist/tui/features/provider/api/disconnect-provider.js +26 -0
  764. package/dist/tui/features/provider/api/get-active-provider-config.d.ts +16 -0
  765. package/dist/tui/features/provider/api/get-active-provider-config.js +17 -0
  766. package/dist/tui/features/provider/api/get-providers.d.ts +16 -0
  767. package/dist/tui/features/provider/api/get-providers.js +17 -0
  768. package/dist/tui/features/provider/api/set-active-provider.d.ts +11 -0
  769. package/dist/tui/features/provider/api/set-active-provider.js +24 -0
  770. package/dist/tui/features/provider/api/validate-api-key.d.ts +12 -0
  771. package/dist/tui/features/provider/api/validate-api-key.js +13 -0
  772. package/dist/tui/{components → features/provider/components}/api-key-dialog.d.ts +5 -3
  773. package/dist/tui/features/provider/components/api-key-dialog.js +126 -0
  774. package/dist/tui/features/provider/components/base-url-dialog.d.ts +24 -0
  775. package/dist/tui/features/provider/components/base-url-dialog.js +77 -0
  776. package/dist/tui/features/provider/components/credential-path-dialog.d.ts +30 -0
  777. package/dist/tui/features/provider/components/credential-path-dialog.js +85 -0
  778. package/dist/tui/features/provider/components/model-select-step.d.ts +20 -0
  779. package/dist/tui/features/provider/components/model-select-step.js +73 -0
  780. package/dist/tui/{components → features/provider/components}/provider-dialog.d.ts +8 -6
  781. package/dist/tui/features/provider/components/provider-dialog.js +20 -0
  782. package/dist/tui/features/provider/components/provider-flow.d.ts +25 -0
  783. package/dist/tui/features/provider/components/provider-flow.js +277 -0
  784. package/dist/tui/features/provider/stores/provider-store.d.ts +28 -0
  785. package/dist/tui/features/provider/stores/provider-store.js +22 -0
  786. package/dist/tui/features/pull/api/execute-pull.d.ts +11 -0
  787. package/dist/tui/features/pull/api/execute-pull.js +13 -0
  788. package/dist/tui/features/pull/api/prepare-pull.d.ts +20 -0
  789. package/dist/tui/features/pull/api/prepare-pull.js +17 -0
  790. package/dist/tui/features/pull/components/pull-flow.d.ts +12 -0
  791. package/dist/tui/features/pull/components/pull-flow.js +70 -0
  792. package/dist/tui/features/push/api/execute-push.d.ts +11 -0
  793. package/dist/tui/features/push/api/execute-push.js +13 -0
  794. package/dist/tui/features/push/api/prepare-push.d.ts +20 -0
  795. package/dist/tui/features/push/api/prepare-push.js +17 -0
  796. package/dist/tui/features/push/components/push-flow.d.ts +13 -0
  797. package/dist/tui/features/push/components/push-flow.js +86 -0
  798. package/dist/tui/features/query/api/create-query-task.d.ts +17 -0
  799. package/dist/tui/features/query/api/create-query-task.js +27 -0
  800. package/dist/tui/features/query/components/query-flow.d.ts +18 -0
  801. package/dist/tui/features/query/components/query-flow.js +36 -0
  802. package/dist/tui/features/reset/api/execute-reset.d.ts +8 -0
  803. package/dist/tui/features/reset/api/execute-reset.js +13 -0
  804. package/dist/tui/features/reset/components/reset-flow.d.ts +12 -0
  805. package/dist/tui/features/reset/components/reset-flow.js +44 -0
  806. package/dist/tui/features/session/components/new-session-flow.d.ts +12 -0
  807. package/dist/tui/features/session/components/new-session-flow.js +28 -0
  808. package/dist/tui/features/space/api/get-spaces.d.ts +16 -0
  809. package/dist/tui/features/space/api/get-spaces.js +17 -0
  810. package/dist/tui/features/space/api/switch-space.d.ts +11 -0
  811. package/dist/tui/features/space/api/switch-space.js +24 -0
  812. package/dist/tui/features/space/components/space-list-view.d.ts +12 -0
  813. package/dist/tui/features/space/components/space-list-view.js +56 -0
  814. package/dist/tui/features/space/components/space-switch-flow.d.ts +13 -0
  815. package/dist/tui/features/space/components/space-switch-flow.js +97 -0
  816. package/dist/tui/features/status/api/get-status.d.ts +16 -0
  817. package/dist/tui/features/status/api/get-status.js +17 -0
  818. package/dist/tui/features/status/components/status-view.d.ts +12 -0
  819. package/dist/tui/features/status/components/status-view.js +26 -0
  820. package/dist/tui/features/status/utils/format-status.d.ts +5 -0
  821. package/dist/tui/features/status/utils/format-status.js +62 -0
  822. package/dist/tui/features/tasks/components/task-subscription-initializer.d.ts +5 -0
  823. package/dist/tui/features/tasks/components/task-subscription-initializer.js +9 -0
  824. package/dist/tui/features/tasks/hooks/use-task-subscriptions.d.ts +5 -0
  825. package/dist/tui/features/tasks/hooks/use-task-subscriptions.js +74 -0
  826. package/dist/tui/features/tasks/stores/tasks-store.d.ts +92 -0
  827. package/dist/tui/features/tasks/stores/tasks-store.js +262 -0
  828. package/dist/tui/features/transport/components/transport-initializer.d.ts +13 -0
  829. package/dist/tui/features/transport/components/transport-initializer.js +107 -0
  830. package/dist/tui/features/transport/hooks/use-transport.d.ts +19 -0
  831. package/dist/tui/features/transport/hooks/use-transport.js +16 -0
  832. package/dist/tui/hooks/index.d.ts +14 -13
  833. package/dist/tui/hooks/index.js +15 -9
  834. package/dist/tui/hooks/use-terminal-breakpoint.js +3 -2
  835. package/dist/tui/lib/api-client.d.ts +20 -0
  836. package/dist/tui/lib/api-client.js +29 -0
  837. package/dist/tui/lib/environment.d.ts +18 -0
  838. package/dist/tui/lib/environment.js +18 -0
  839. package/dist/tui/lib/react-query.d.ts +17 -0
  840. package/dist/tui/lib/react-query.js +17 -0
  841. package/dist/tui/lib/transport-logger.d.ts +13 -0
  842. package/dist/tui/lib/transport-logger.js +40 -0
  843. package/dist/tui/providers/app-providers.d.ts +1 -16
  844. package/dist/tui/providers/app-providers.js +26 -4
  845. package/dist/tui/repl-startup.d.ts +1 -12
  846. package/dist/tui/repl-startup.js +6 -24
  847. package/dist/tui/stores/mode-store.d.ts +25 -0
  848. package/dist/tui/stores/mode-store.js +49 -0
  849. package/dist/tui/stores/theme-store.d.ts +43 -0
  850. package/dist/tui/stores/theme-store.js +39 -0
  851. package/dist/tui/stores/transport-store.d.ts +40 -0
  852. package/dist/tui/stores/transport-store.js +40 -0
  853. package/dist/tui/types/commands.d.ts +23 -91
  854. package/dist/tui/types/commands.js +1 -13
  855. package/dist/tui/types/index.d.ts +3 -4
  856. package/dist/tui/types/index.js +0 -2
  857. package/dist/tui/types/messages.d.ts +8 -1
  858. package/dist/tui/types/ui.d.ts +0 -5
  859. package/dist/tui/utils/error-messages.d.ts +22 -0
  860. package/dist/tui/utils/error-messages.js +45 -0
  861. package/dist/tui/utils/index.d.ts +2 -0
  862. package/dist/tui/utils/index.js +2 -0
  863. package/dist/tui/utils/input.d.ts +14 -0
  864. package/dist/tui/utils/input.js +17 -0
  865. package/dist/tui/utils/log.d.ts +1 -1
  866. package/node_modules/@campfirein/brv-transport-client/README.md +79 -338
  867. package/node_modules/@campfirein/brv-transport-client/dist/constants.d.ts +18 -3
  868. package/node_modules/@campfirein/brv-transport-client/dist/constants.d.ts.map +1 -1
  869. package/node_modules/@campfirein/brv-transport-client/dist/constants.js +25 -4
  870. package/node_modules/@campfirein/brv-transport-client/dist/constants.js.map +1 -1
  871. package/node_modules/@campfirein/brv-transport-client/dist/core/domain/entities/instance-info.d.ts +4 -9
  872. package/node_modules/@campfirein/brv-transport-client/dist/core/domain/entities/instance-info.d.ts.map +1 -1
  873. package/node_modules/@campfirein/brv-transport-client/dist/core/domain/entities/instance-info.js +9 -24
  874. package/node_modules/@campfirein/brv-transport-client/dist/core/domain/entities/instance-info.js.map +1 -1
  875. package/node_modules/@campfirein/brv-transport-client/dist/core/domain/errors/connection-error.d.ts +20 -0
  876. package/node_modules/@campfirein/brv-transport-client/dist/core/domain/errors/connection-error.d.ts.map +1 -1
  877. package/node_modules/@campfirein/brv-transport-client/dist/core/domain/errors/connection-error.js +30 -0
  878. package/node_modules/@campfirein/brv-transport-client/dist/core/domain/errors/connection-error.js.map +1 -1
  879. package/node_modules/@campfirein/brv-transport-client/dist/core/domain/errors/transport-error.d.ts +3 -1
  880. package/node_modules/@campfirein/brv-transport-client/dist/core/domain/errors/transport-error.d.ts.map +1 -1
  881. package/node_modules/@campfirein/brv-transport-client/dist/core/domain/errors/transport-error.js +4 -1
  882. package/node_modules/@campfirein/brv-transport-client/dist/core/domain/errors/transport-error.js.map +1 -1
  883. package/node_modules/@campfirein/brv-transport-client/dist/core/domain/events/event-names.d.ts +10 -1
  884. package/node_modules/@campfirein/brv-transport-client/dist/core/domain/events/event-names.d.ts.map +1 -1
  885. package/node_modules/@campfirein/brv-transport-client/dist/core/domain/events/event-names.js +10 -0
  886. package/node_modules/@campfirein/brv-transport-client/dist/core/domain/events/event-names.js.map +1 -1
  887. package/node_modules/@campfirein/brv-transport-client/dist/core/domain/events/index.d.ts +1 -1
  888. package/node_modules/@campfirein/brv-transport-client/dist/core/domain/events/index.d.ts.map +1 -1
  889. package/node_modules/@campfirein/brv-transport-client/dist/core/domain/events/index.js +1 -1
  890. package/node_modules/@campfirein/brv-transport-client/dist/core/domain/events/index.js.map +1 -1
  891. package/node_modules/@campfirein/brv-transport-client/dist/core/domain/types.d.ts +9 -0
  892. package/node_modules/@campfirein/brv-transport-client/dist/core/domain/types.d.ts.map +1 -1
  893. package/node_modules/@campfirein/brv-transport-client/dist/core/domain/types.js +8 -1
  894. package/node_modules/@campfirein/brv-transport-client/dist/core/domain/types.js.map +1 -1
  895. package/node_modules/@campfirein/brv-transport-client/dist/core/domain/validators/common.d.ts.map +1 -1
  896. package/node_modules/@campfirein/brv-transport-client/dist/core/domain/validators/common.js.map +1 -1
  897. package/node_modules/@campfirein/brv-transport-client/dist/core/domain/validators/event-name-validator.d.ts.map +1 -1
  898. package/node_modules/@campfirein/brv-transport-client/dist/core/domain/validators/event-name-validator.js.map +1 -1
  899. package/node_modules/@campfirein/brv-transport-client/dist/core/domain/validators/index.d.ts.map +1 -1
  900. package/node_modules/@campfirein/brv-transport-client/dist/core/domain/validators/index.js.map +1 -1
  901. package/node_modules/@campfirein/brv-transport-client/dist/core/domain/validators/room-name-validator.d.ts.map +1 -1
  902. package/node_modules/@campfirein/brv-transport-client/dist/core/domain/validators/room-name-validator.js.map +1 -1
  903. package/node_modules/@campfirein/brv-transport-client/dist/core/domain/validators/url-validator.d.ts.map +1 -1
  904. package/node_modules/@campfirein/brv-transport-client/dist/core/domain/validators/url-validator.js.map +1 -1
  905. package/node_modules/@campfirein/brv-transport-client/dist/core/interfaces/i-client-factory-config.d.ts +150 -0
  906. package/node_modules/@campfirein/brv-transport-client/dist/core/interfaces/i-client-factory-config.d.ts.map +1 -0
  907. package/node_modules/@campfirein/brv-transport-client/dist/core/interfaces/i-client-factory-config.js +8 -0
  908. package/node_modules/@campfirein/brv-transport-client/dist/core/interfaces/i-client-factory-config.js.map +1 -0
  909. package/node_modules/@campfirein/brv-transport-client/dist/core/interfaces/i-client-factory.d.ts +9 -4
  910. package/node_modules/@campfirein/brv-transport-client/dist/core/interfaces/i-client-factory.d.ts.map +1 -1
  911. package/node_modules/@campfirein/brv-transport-client/dist/core/interfaces/i-client-factory.js.map +1 -1
  912. package/node_modules/@campfirein/brv-transport-client/dist/core/interfaces/i-client-logger.d.ts.map +1 -1
  913. package/node_modules/@campfirein/brv-transport-client/dist/core/interfaces/i-client-logger.js.map +1 -1
  914. package/node_modules/@campfirein/brv-transport-client/dist/core/interfaces/i-client.d.ts.map +1 -1
  915. package/node_modules/@campfirein/brv-transport-client/dist/core/interfaces/i-client.js.map +1 -1
  916. package/node_modules/@campfirein/brv-transport-client/dist/core/interfaces/i-connection-state.d.ts.map +1 -1
  917. package/node_modules/@campfirein/brv-transport-client/dist/core/interfaces/i-connection-state.js.map +1 -1
  918. package/node_modules/@campfirein/brv-transport-client/dist/core/interfaces/i-event-dispatcher.d.ts.map +1 -1
  919. package/node_modules/@campfirein/brv-transport-client/dist/core/interfaces/i-event-dispatcher.js.map +1 -1
  920. package/node_modules/@campfirein/brv-transport-client/dist/core/interfaces/i-force-reconnect-manager.d.ts.map +1 -1
  921. package/node_modules/@campfirein/brv-transport-client/dist/core/interfaces/i-force-reconnect-manager.js.map +1 -1
  922. package/node_modules/@campfirein/brv-transport-client/dist/core/interfaces/i-instance-discovery.d.ts +9 -22
  923. package/node_modules/@campfirein/brv-transport-client/dist/core/interfaces/i-instance-discovery.d.ts.map +1 -1
  924. package/node_modules/@campfirein/brv-transport-client/dist/core/interfaces/i-instance-discovery.js.map +1 -1
  925. package/node_modules/@campfirein/brv-transport-client/dist/core/interfaces/i-instance-manager.d.ts +46 -0
  926. package/node_modules/@campfirein/brv-transport-client/dist/core/interfaces/i-instance-manager.d.ts.map +1 -0
  927. package/node_modules/@campfirein/brv-transport-client/dist/core/interfaces/i-instance-manager.js +2 -0
  928. package/node_modules/@campfirein/brv-transport-client/dist/core/interfaces/i-instance-manager.js.map +1 -0
  929. package/node_modules/@campfirein/brv-transport-client/dist/core/interfaces/i-reconnection-strategy.d.ts.map +1 -1
  930. package/node_modules/@campfirein/brv-transport-client/dist/core/interfaces/i-reconnection-strategy.js.map +1 -1
  931. package/node_modules/@campfirein/brv-transport-client/dist/core/interfaces/i-room-manager.d.ts.map +1 -1
  932. package/node_modules/@campfirein/brv-transport-client/dist/core/interfaces/i-room-manager.js.map +1 -1
  933. package/node_modules/@campfirein/brv-transport-client/dist/core/interfaces/i-socket-provider.d.ts.map +1 -1
  934. package/node_modules/@campfirein/brv-transport-client/dist/core/interfaces/i-socket-provider.js.map +1 -1
  935. package/node_modules/@campfirein/brv-transport-client/dist/core/interfaces/i-socket.d.ts.map +1 -1
  936. package/node_modules/@campfirein/brv-transport-client/dist/core/interfaces/i-socket.js.map +1 -1
  937. package/node_modules/@campfirein/brv-transport-client/dist/core/interfaces/i-spawn-lock.d.ts +27 -0
  938. package/node_modules/@campfirein/brv-transport-client/dist/core/interfaces/i-spawn-lock.d.ts.map +1 -0
  939. package/node_modules/@campfirein/brv-transport-client/dist/core/interfaces/i-spawn-lock.js +2 -0
  940. package/node_modules/@campfirein/brv-transport-client/dist/core/interfaces/i-spawn-lock.js.map +1 -0
  941. package/node_modules/@campfirein/brv-transport-client/dist/core/interfaces/i-wake-detector.d.ts.map +1 -1
  942. package/node_modules/@campfirein/brv-transport-client/dist/core/interfaces/i-wake-detector.js.map +1 -1
  943. package/node_modules/@campfirein/brv-transport-client/dist/index.d.ts +26 -16
  944. package/node_modules/@campfirein/brv-transport-client/dist/index.d.ts.map +1 -1
  945. package/node_modules/@campfirein/brv-transport-client/dist/index.js +28 -18
  946. package/node_modules/@campfirein/brv-transport-client/dist/index.js.map +1 -1
  947. package/node_modules/@campfirein/brv-transport-client/dist/infra/client-factory.d.ts +49 -167
  948. package/node_modules/@campfirein/brv-transport-client/dist/infra/client-factory.d.ts.map +1 -1
  949. package/node_modules/@campfirein/brv-transport-client/dist/infra/client-factory.js +161 -260
  950. package/node_modules/@campfirein/brv-transport-client/dist/infra/client-factory.js.map +1 -1
  951. package/node_modules/@campfirein/brv-transport-client/dist/infra/connection-state-manager.d.ts.map +1 -1
  952. package/node_modules/@campfirein/brv-transport-client/dist/infra/connection-state-manager.js.map +1 -1
  953. package/node_modules/@campfirein/brv-transport-client/dist/infra/daemon-connector.d.ts +46 -0
  954. package/node_modules/@campfirein/brv-transport-client/dist/infra/daemon-connector.d.ts.map +1 -0
  955. package/node_modules/@campfirein/brv-transport-client/dist/infra/daemon-connector.js +47 -0
  956. package/node_modules/@campfirein/brv-transport-client/dist/infra/daemon-connector.js.map +1 -0
  957. package/node_modules/@campfirein/brv-transport-client/dist/infra/daemon-discovery-sync.d.ts +41 -0
  958. package/node_modules/@campfirein/brv-transport-client/dist/infra/daemon-discovery-sync.d.ts.map +1 -0
  959. package/node_modules/@campfirein/brv-transport-client/dist/infra/daemon-discovery-sync.js +48 -0
  960. package/node_modules/@campfirein/brv-transport-client/dist/infra/daemon-discovery-sync.js.map +1 -0
  961. package/node_modules/@campfirein/brv-transport-client/dist/infra/daemon-health.d.ts +37 -0
  962. package/node_modules/@campfirein/brv-transport-client/dist/infra/daemon-health.d.ts.map +1 -0
  963. package/node_modules/@campfirein/brv-transport-client/dist/infra/daemon-health.js +35 -0
  964. package/node_modules/@campfirein/brv-transport-client/dist/infra/daemon-health.js.map +1 -0
  965. package/node_modules/@campfirein/brv-transport-client/dist/infra/daemon-instance-discovery.d.ts +22 -0
  966. package/node_modules/@campfirein/brv-transport-client/dist/infra/daemon-instance-discovery.d.ts.map +1 -0
  967. package/node_modules/@campfirein/brv-transport-client/dist/infra/daemon-instance-discovery.js +83 -0
  968. package/node_modules/@campfirein/brv-transport-client/dist/infra/daemon-instance-discovery.js.map +1 -0
  969. package/node_modules/@campfirein/brv-transport-client/dist/infra/daemon-reconnector.d.ts +60 -0
  970. package/node_modules/@campfirein/brv-transport-client/dist/infra/daemon-reconnector.d.ts.map +1 -0
  971. package/node_modules/@campfirein/brv-transport-client/dist/infra/daemon-reconnector.js +101 -0
  972. package/node_modules/@campfirein/brv-transport-client/dist/infra/daemon-reconnector.js.map +1 -0
  973. package/node_modules/@campfirein/brv-transport-client/dist/infra/daemon-spawner.d.ts +33 -0
  974. package/node_modules/@campfirein/brv-transport-client/dist/infra/daemon-spawner.d.ts.map +1 -0
  975. package/node_modules/@campfirein/brv-transport-client/dist/infra/daemon-spawner.js +161 -0
  976. package/node_modules/@campfirein/brv-transport-client/dist/infra/daemon-spawner.js.map +1 -0
  977. package/node_modules/@campfirein/brv-transport-client/dist/infra/event-dispatcher.d.ts.map +1 -1
  978. package/node_modules/@campfirein/brv-transport-client/dist/infra/event-dispatcher.js.map +1 -1
  979. package/node_modules/@campfirein/brv-transport-client/dist/infra/find-project-root.d.ts +11 -0
  980. package/node_modules/@campfirein/brv-transport-client/dist/infra/find-project-root.d.ts.map +1 -0
  981. package/node_modules/@campfirein/brv-transport-client/dist/infra/find-project-root.js +31 -0
  982. package/node_modules/@campfirein/brv-transport-client/dist/infra/find-project-root.js.map +1 -0
  983. package/node_modules/@campfirein/brv-transport-client/dist/infra/force-reconnect-manager.d.ts +1 -0
  984. package/node_modules/@campfirein/brv-transport-client/dist/infra/force-reconnect-manager.d.ts.map +1 -1
  985. package/node_modules/@campfirein/brv-transport-client/dist/infra/force-reconnect-manager.js +4 -0
  986. package/node_modules/@campfirein/brv-transport-client/dist/infra/force-reconnect-manager.js.map +1 -1
  987. package/node_modules/@campfirein/brv-transport-client/dist/infra/global-data-path.d.ts +12 -0
  988. package/node_modules/@campfirein/brv-transport-client/dist/infra/global-data-path.d.ts.map +1 -0
  989. package/node_modules/@campfirein/brv-transport-client/dist/infra/global-data-path.js +38 -0
  990. package/node_modules/@campfirein/brv-transport-client/dist/infra/global-data-path.js.map +1 -0
  991. package/node_modules/@campfirein/brv-transport-client/dist/infra/global-instance-manager.d.ts +37 -0
  992. package/node_modules/@campfirein/brv-transport-client/dist/infra/global-instance-manager.d.ts.map +1 -0
  993. package/node_modules/@campfirein/brv-transport-client/dist/infra/global-instance-manager.js +100 -0
  994. package/node_modules/@campfirein/brv-transport-client/dist/infra/global-instance-manager.js.map +1 -0
  995. package/node_modules/@campfirein/brv-transport-client/dist/infra/heartbeat-utils.d.ts +12 -0
  996. package/node_modules/@campfirein/brv-transport-client/dist/infra/heartbeat-utils.d.ts.map +1 -0
  997. package/node_modules/@campfirein/brv-transport-client/dist/infra/heartbeat-utils.js +29 -0
  998. package/node_modules/@campfirein/brv-transport-client/dist/infra/heartbeat-utils.js.map +1 -0
  999. package/node_modules/@campfirein/brv-transport-client/dist/infra/no-op-client-logger.d.ts.map +1 -1
  1000. package/node_modules/@campfirein/brv-transport-client/dist/infra/no-op-client-logger.js.map +1 -1
  1001. package/node_modules/@campfirein/brv-transport-client/dist/infra/process-utils.d.ts.map +1 -1
  1002. package/node_modules/@campfirein/brv-transport-client/dist/infra/process-utils.js.map +1 -1
  1003. package/node_modules/@campfirein/brv-transport-client/dist/infra/reconnection-strategy.d.ts.map +1 -1
  1004. package/node_modules/@campfirein/brv-transport-client/dist/infra/reconnection-strategy.js.map +1 -1
  1005. package/node_modules/@campfirein/brv-transport-client/dist/infra/resolve-server-path.d.ts +12 -0
  1006. package/node_modules/@campfirein/brv-transport-client/dist/infra/resolve-server-path.d.ts.map +1 -0
  1007. package/node_modules/@campfirein/brv-transport-client/dist/infra/resolve-server-path.js +52 -0
  1008. package/node_modules/@campfirein/brv-transport-client/dist/infra/resolve-server-path.js.map +1 -0
  1009. package/node_modules/@campfirein/brv-transport-client/dist/infra/room-manager.d.ts.map +1 -1
  1010. package/node_modules/@campfirein/brv-transport-client/dist/infra/room-manager.js.map +1 -1
  1011. package/node_modules/@campfirein/brv-transport-client/dist/infra/schemas/index.d.ts +2 -2
  1012. package/node_modules/@campfirein/brv-transport-client/dist/infra/schemas/index.d.ts.map +1 -1
  1013. package/node_modules/@campfirein/brv-transport-client/dist/infra/schemas/index.js +4 -2
  1014. package/node_modules/@campfirein/brv-transport-client/dist/infra/schemas/index.js.map +1 -1
  1015. package/node_modules/@campfirein/brv-transport-client/dist/infra/schemas/schemas.d.ts +65 -3
  1016. package/node_modules/@campfirein/brv-transport-client/dist/infra/schemas/schemas.d.ts.map +1 -1
  1017. package/node_modules/@campfirein/brv-transport-client/dist/infra/schemas/schemas.js +44 -1
  1018. package/node_modules/@campfirein/brv-transport-client/dist/infra/schemas/schemas.js.map +1 -1
  1019. package/node_modules/@campfirein/brv-transport-client/dist/infra/schemas/types.d.ts +11 -1
  1020. package/node_modules/@campfirein/brv-transport-client/dist/infra/schemas/types.d.ts.map +1 -1
  1021. package/node_modules/@campfirein/brv-transport-client/dist/infra/schemas/types.js.map +1 -1
  1022. package/node_modules/@campfirein/brv-transport-client/dist/infra/socket-io-client.d.ts +32 -61
  1023. package/node_modules/@campfirein/brv-transport-client/dist/infra/socket-io-client.d.ts.map +1 -1
  1024. package/node_modules/@campfirein/brv-transport-client/dist/infra/socket-io-client.js +133 -37
  1025. package/node_modules/@campfirein/brv-transport-client/dist/infra/socket-io-client.js.map +1 -1
  1026. package/node_modules/@campfirein/brv-transport-client/dist/infra/spawn-lock.d.ts +27 -0
  1027. package/node_modules/@campfirein/brv-transport-client/dist/infra/spawn-lock.d.ts.map +1 -0
  1028. package/node_modules/@campfirein/brv-transport-client/dist/infra/spawn-lock.js +124 -0
  1029. package/node_modules/@campfirein/brv-transport-client/dist/infra/spawn-lock.js.map +1 -0
  1030. package/node_modules/@campfirein/brv-transport-client/dist/infra/utils/deep-freeze.d.ts.map +1 -1
  1031. package/node_modules/@campfirein/brv-transport-client/dist/infra/utils/deep-freeze.js.map +1 -1
  1032. package/node_modules/@campfirein/brv-transport-client/dist/infra/wait-for-connected-client.d.ts +13 -0
  1033. package/node_modules/@campfirein/brv-transport-client/dist/infra/wait-for-connected-client.d.ts.map +1 -0
  1034. package/node_modules/@campfirein/brv-transport-client/dist/infra/wait-for-connected-client.js +33 -0
  1035. package/node_modules/@campfirein/brv-transport-client/dist/infra/wait-for-connected-client.js.map +1 -0
  1036. package/node_modules/@campfirein/brv-transport-client/dist/infra/wake-detector.d.ts.map +1 -1
  1037. package/node_modules/@campfirein/brv-transport-client/dist/infra/wake-detector.js.map +1 -1
  1038. package/node_modules/@campfirein/brv-transport-client/package.json +3 -12
  1039. package/oclif.manifest.json +1224 -180
  1040. package/package.json +47 -8
  1041. package/dist/agent/infra/llm/generators/openrouter-content-generator.d.ts +0 -94
  1042. package/dist/agent/infra/llm/generators/openrouter-content-generator.js +0 -280
  1043. package/dist/agent/infra/llm/openrouter-llm-service.d.ts +0 -215
  1044. package/dist/agent/infra/llm/openrouter-llm-service.js +0 -572
  1045. package/dist/agent/infra/llm/stream-processor.d.ts +0 -178
  1046. package/dist/agent/infra/llm/stream-processor.js +0 -350
  1047. package/dist/agent/infra/llm/transformers/openrouter-stream-transformer.d.ts +0 -49
  1048. package/dist/agent/infra/llm/transformers/openrouter-stream-transformer.js +0 -270
  1049. package/dist/oclif/commands/curate.js +0 -96
  1050. package/dist/oclif/commands/init.d.ts +0 -18
  1051. package/dist/oclif/commands/init.js +0 -129
  1052. package/dist/server/core/domain/entities/context-tree-index.d.ts +0 -26
  1053. package/dist/server/core/domain/entities/context-tree-index.js +0 -27
  1054. package/dist/server/core/domain/entities/event.d.ts +0 -8
  1055. package/dist/server/core/domain/entities/event.js +0 -25
  1056. package/dist/server/core/domain/errors/ace-error.d.ts +0 -34
  1057. package/dist/server/core/domain/errors/ace-error.js +0 -53
  1058. package/dist/server/core/domain/errors/brv-config-version-error.d.ts +0 -16
  1059. package/dist/server/core/domain/errors/brv-config-version-error.js +0 -21
  1060. package/dist/server/core/domain/errors/core-process-error.d.ts +0 -27
  1061. package/dist/server/core/domain/errors/core-process-error.js +0 -43
  1062. package/dist/server/core/domain/instance/index.d.ts +0 -1
  1063. package/dist/server/core/domain/instance/index.js +0 -1
  1064. package/dist/server/core/domain/instance/types.d.ts +0 -57
  1065. package/dist/server/core/domain/instance/types.js +0 -72
  1066. package/dist/server/core/interfaces/instance/i-instance-discovery.d.ts +0 -45
  1067. package/dist/server/core/interfaces/instance/i-instance-manager.d.ts +0 -58
  1068. package/dist/server/core/interfaces/instance/index.d.ts +0 -2
  1069. package/dist/server/core/interfaces/instance/index.js +0 -2
  1070. package/dist/server/core/interfaces/noop-implementations.d.ts +0 -53
  1071. package/dist/server/core/interfaces/noop-implementations.js +0 -62
  1072. package/dist/server/core/interfaces/services/i-tracking-service.d.ts +0 -21
  1073. package/dist/server/core/interfaces/usecase/i-connectors-use-case.d.ts +0 -3
  1074. package/dist/server/core/interfaces/usecase/i-curate-use-case.d.ts +0 -14
  1075. package/dist/server/core/interfaces/usecase/i-init-use-case.d.ts +0 -11
  1076. package/dist/server/core/interfaces/usecase/i-login-use-case.d.ts +0 -6
  1077. package/dist/server/core/interfaces/usecase/i-logout-use-case.d.ts +0 -5
  1078. package/dist/server/core/interfaces/usecase/i-pull-use-case.d.ts +0 -7
  1079. package/dist/server/core/interfaces/usecase/i-push-use-case.d.ts +0 -8
  1080. package/dist/server/core/interfaces/usecase/i-query-use-case.d.ts +0 -11
  1081. package/dist/server/core/interfaces/usecase/i-reset-use-case.d.ts +0 -6
  1082. package/dist/server/core/interfaces/usecase/i-space-list-use-case.d.ts +0 -3
  1083. package/dist/server/core/interfaces/usecase/i-space-switch-use-case.d.ts +0 -3
  1084. package/dist/server/core/interfaces/usecase/i-status-use-case.d.ts +0 -6
  1085. package/dist/server/infra/executor/task-processor.d.ts +0 -89
  1086. package/dist/server/infra/executor/task-processor.js +0 -133
  1087. package/dist/server/infra/instance/file-instance-discovery.d.ts +0 -31
  1088. package/dist/server/infra/instance/file-instance-discovery.js +0 -84
  1089. package/dist/server/infra/instance/file-instance-manager.d.ts +0 -46
  1090. package/dist/server/infra/instance/file-instance-manager.js +0 -123
  1091. package/dist/server/infra/instance/index.d.ts +0 -3
  1092. package/dist/server/infra/instance/index.js +0 -3
  1093. package/dist/server/infra/instance/process-utils.d.ts +0 -14
  1094. package/dist/server/infra/instance/process-utils.js +0 -39
  1095. package/dist/server/infra/process/agent-worker.d.ts +0 -20
  1096. package/dist/server/infra/process/agent-worker.js +0 -1399
  1097. package/dist/server/infra/process/inline-agent-executor.d.ts +0 -32
  1098. package/dist/server/infra/process/inline-agent-executor.js +0 -278
  1099. package/dist/server/infra/process/ipc-types.d.ts +0 -68
  1100. package/dist/server/infra/process/ipc-types.js +0 -12
  1101. package/dist/server/infra/process/parent-heartbeat.d.ts +0 -47
  1102. package/dist/server/infra/process/parent-heartbeat.js +0 -118
  1103. package/dist/server/infra/process/process-manager.d.ts +0 -242
  1104. package/dist/server/infra/process/process-manager.js +0 -765
  1105. package/dist/server/infra/process/task-queue-manager.d.ts +0 -125
  1106. package/dist/server/infra/process/task-queue-manager.js +0 -185
  1107. package/dist/server/infra/process/transport-worker.d.ts +0 -20
  1108. package/dist/server/infra/process/transport-worker.js +0 -196
  1109. package/dist/server/infra/storage/keychain-token-store.d.ts +0 -13
  1110. package/dist/server/infra/storage/keychain-token-store.js +0 -42
  1111. package/dist/server/infra/terminal/oclif-terminal.d.ts +0 -19
  1112. package/dist/server/infra/terminal/oclif-terminal.js +0 -60
  1113. package/dist/server/infra/terminal/repl-terminal.d.ts +0 -31
  1114. package/dist/server/infra/terminal/repl-terminal.js +0 -116
  1115. package/dist/server/infra/tracking/mixpanel-tracking-service.d.ts +0 -24
  1116. package/dist/server/infra/tracking/mixpanel-tracking-service.js +0 -49
  1117. package/dist/server/infra/transport/transport-factory.d.ts +0 -17
  1118. package/dist/server/infra/transport/transport-factory.js +0 -31
  1119. package/dist/server/infra/usecase/connectors-use-case.d.ts +0 -63
  1120. package/dist/server/infra/usecase/connectors-use-case.js +0 -234
  1121. package/dist/server/infra/usecase/curate-use-case.d.ts +0 -59
  1122. package/dist/server/infra/usecase/curate-use-case.js +0 -274
  1123. package/dist/server/infra/usecase/init-use-case.d.ts +0 -126
  1124. package/dist/server/infra/usecase/init-use-case.js +0 -538
  1125. package/dist/server/infra/usecase/login-use-case.d.ts +0 -30
  1126. package/dist/server/infra/usecase/login-use-case.js +0 -127
  1127. package/dist/server/infra/usecase/logout-use-case.d.ts +0 -19
  1128. package/dist/server/infra/usecase/logout-use-case.js +0 -48
  1129. package/dist/server/infra/usecase/pull-use-case.d.ts +0 -49
  1130. package/dist/server/infra/usecase/pull-use-case.js +0 -147
  1131. package/dist/server/infra/usecase/push-use-case.d.ts +0 -50
  1132. package/dist/server/infra/usecase/push-use-case.js +0 -191
  1133. package/dist/server/infra/usecase/query-use-case.d.ts +0 -73
  1134. package/dist/server/infra/usecase/query-use-case.js +0 -420
  1135. package/dist/server/infra/usecase/reset-use-case.d.ts +0 -21
  1136. package/dist/server/infra/usecase/reset-use-case.js +0 -60
  1137. package/dist/server/infra/usecase/space-list-use-case.d.ts +0 -27
  1138. package/dist/server/infra/usecase/space-list-use-case.js +0 -64
  1139. package/dist/server/infra/usecase/space-switch-use-case.d.ts +0 -26
  1140. package/dist/server/infra/usecase/space-switch-use-case.js +0 -110
  1141. package/dist/server/infra/usecase/status-use-case.d.ts +0 -75
  1142. package/dist/server/infra/usecase/status-use-case.js +0 -268
  1143. package/dist/server/templates/skill/TROUBLESHOOTING.md +0 -50
  1144. package/dist/server/templates/skill/WORKFLOWS.md +0 -229
  1145. package/dist/server/utils/environment-detector.d.ts +0 -20
  1146. package/dist/server/utils/environment-detector.js +0 -92
  1147. package/dist/tui/app.d.ts +0 -9
  1148. package/dist/tui/app.js +0 -28
  1149. package/dist/tui/commands/connectors-command.d.ts +0 -8
  1150. package/dist/tui/commands/connectors-command.js +0 -49
  1151. package/dist/tui/commands/curate-command.d.ts +0 -9
  1152. package/dist/tui/commands/curate-command.js +0 -80
  1153. package/dist/tui/commands/index.js +0 -45
  1154. package/dist/tui/commands/init-command.d.ts +0 -7
  1155. package/dist/tui/commands/init-command.js +0 -87
  1156. package/dist/tui/commands/login-command.d.ts +0 -7
  1157. package/dist/tui/commands/login-command.js +0 -50
  1158. package/dist/tui/commands/logout-command.d.ts +0 -5
  1159. package/dist/tui/commands/logout-command.js +0 -46
  1160. package/dist/tui/commands/model-command.d.ts +0 -13
  1161. package/dist/tui/commands/model-command.js +0 -212
  1162. package/dist/tui/commands/new-command.d.ts +0 -14
  1163. package/dist/tui/commands/new-command.js +0 -61
  1164. package/dist/tui/commands/provider-command.d.ts +0 -13
  1165. package/dist/tui/commands/provider-command.js +0 -181
  1166. package/dist/tui/commands/pull-command.d.ts +0 -5
  1167. package/dist/tui/commands/pull-command.js +0 -61
  1168. package/dist/tui/commands/push-command.d.ts +0 -5
  1169. package/dist/tui/commands/push-command.js +0 -66
  1170. package/dist/tui/commands/query-command.d.ts +0 -5
  1171. package/dist/tui/commands/query-command.js +0 -63
  1172. package/dist/tui/commands/reset-command.d.ts +0 -5
  1173. package/dist/tui/commands/reset-command.js +0 -61
  1174. package/dist/tui/commands/space/index.d.ts +0 -5
  1175. package/dist/tui/commands/space/index.js +0 -14
  1176. package/dist/tui/commands/space/list-command.d.ts +0 -5
  1177. package/dist/tui/commands/space/list-command.js +0 -70
  1178. package/dist/tui/commands/space/switch-command.d.ts +0 -5
  1179. package/dist/tui/commands/space/switch-command.js +0 -35
  1180. package/dist/tui/commands/status-command.d.ts +0 -5
  1181. package/dist/tui/commands/status-command.js +0 -39
  1182. package/dist/tui/components/api-key-dialog.js +0 -94
  1183. package/dist/tui/components/message-list.d.ts +0 -16
  1184. package/dist/tui/components/message-list.js +0 -120
  1185. package/dist/tui/components/provider-dialog.js +0 -31
  1186. package/dist/tui/components/tab-bar.d.ts +0 -11
  1187. package/dist/tui/components/tab-bar.js +0 -11
  1188. package/dist/tui/constants.d.ts +0 -6
  1189. package/dist/tui/constants.js +0 -8
  1190. package/dist/tui/contexts/auth-context.d.ts +0 -33
  1191. package/dist/tui/contexts/auth-context.js +0 -193
  1192. package/dist/tui/contexts/commands-context.d.ts +0 -37
  1193. package/dist/tui/contexts/commands-context.js +0 -65
  1194. package/dist/tui/contexts/index.d.ts +0 -11
  1195. package/dist/tui/contexts/index.js +0 -11
  1196. package/dist/tui/contexts/mode-context.d.ts +0 -43
  1197. package/dist/tui/contexts/mode-context.js +0 -70
  1198. package/dist/tui/contexts/onboarding-context.d.ts +0 -49
  1199. package/dist/tui/contexts/onboarding-context.js +0 -193
  1200. package/dist/tui/contexts/services-context.d.ts +0 -32
  1201. package/dist/tui/contexts/services-context.js +0 -27
  1202. package/dist/tui/contexts/tasks-context.d.ts +0 -101
  1203. package/dist/tui/contexts/tasks-context.js +0 -422
  1204. package/dist/tui/contexts/theme-context.d.ts +0 -55
  1205. package/dist/tui/contexts/theme-context.js +0 -62
  1206. package/dist/tui/contexts/transport-context.d.ts +0 -29
  1207. package/dist/tui/contexts/transport-context.js +0 -81
  1208. package/dist/tui/hooks/use-auth-polling.d.ts +0 -27
  1209. package/dist/tui/hooks/use-auth-polling.js +0 -118
  1210. package/dist/tui/hooks/use-onboarding-logs.d.ts +0 -17
  1211. package/dist/tui/hooks/use-onboarding-logs.js +0 -26
  1212. package/dist/tui/hooks/use-onboarding.d.ts +0 -7
  1213. package/dist/tui/hooks/use-onboarding.js +0 -6
  1214. package/dist/tui/index.d.ts +0 -1
  1215. package/dist/tui/index.js +0 -1
  1216. package/dist/tui/types.d.ts +0 -1
  1217. package/dist/tui/types.js +0 -1
  1218. package/dist/tui/utils/transport-client-helper.d.ts +0 -9
  1219. package/dist/tui/utils/transport-client-helper.js +0 -99
  1220. package/dist/tui/views/index.d.ts +0 -5
  1221. package/dist/tui/views/index.js +0 -5
  1222. package/dist/tui/views/init-view.d.ts +0 -15
  1223. package/dist/tui/views/init-view.js +0 -41
  1224. package/dist/tui/views/login-view.d.ts +0 -10
  1225. package/dist/tui/views/login-view.js +0 -33
  1226. package/dist/tui/views/main-view.d.ts +0 -12
  1227. package/dist/tui/views/main-view.js +0 -20
  1228. package/node_modules/@campfirein/brv-transport-client/dist/core/interfaces/i-instance-reader.d.ts +0 -19
  1229. package/node_modules/@campfirein/brv-transport-client/dist/core/interfaces/i-instance-reader.d.ts.map +0 -1
  1230. package/node_modules/@campfirein/brv-transport-client/dist/core/interfaces/i-instance-reader.js +0 -2
  1231. package/node_modules/@campfirein/brv-transport-client/dist/core/interfaces/i-instance-reader.js.map +0 -1
  1232. package/node_modules/@campfirein/brv-transport-client/dist/infra/file-instance-discovery.d.ts +0 -32
  1233. package/node_modules/@campfirein/brv-transport-client/dist/infra/file-instance-discovery.d.ts.map +0 -1
  1234. package/node_modules/@campfirein/brv-transport-client/dist/infra/file-instance-discovery.js +0 -85
  1235. package/node_modules/@campfirein/brv-transport-client/dist/infra/file-instance-discovery.js.map +0 -1
  1236. package/node_modules/@campfirein/brv-transport-client/dist/infra/file-instance-reader.d.ts +0 -16
  1237. package/node_modules/@campfirein/brv-transport-client/dist/infra/file-instance-reader.d.ts.map +0 -1
  1238. package/node_modules/@campfirein/brv-transport-client/dist/infra/file-instance-reader.js +0 -47
  1239. package/node_modules/@campfirein/brv-transport-client/dist/infra/file-instance-reader.js.map +0 -1
  1240. /package/dist/{server/core/interfaces/instance/i-instance-discovery.js → agent/infra/agent/provider-update-config.js} +0 -0
  1241. /package/dist/server/core/{interfaces/instance/i-instance-manager.js → domain/entities/curate-log-entry.js} +0 -0
  1242. /package/dist/server/core/{interfaces/services/i-tracking-service.js → domain/entities/curation-status.js} +0 -0
  1243. /package/dist/server/core/{interfaces/usecase/i-connectors-use-case.js → domain/transport/task-info.js} +0 -0
  1244. /package/dist/server/core/interfaces/{usecase/i-curate-use-case.js → agent/i-agent-pool.js} +0 -0
  1245. /package/dist/server/core/interfaces/{usecase/i-init-use-case.js → client/i-client-manager.js} +0 -0
  1246. /package/dist/server/core/interfaces/{usecase/i-login-use-case.js → context-tree/i-context-tree-merger.js} +0 -0
  1247. /package/dist/server/core/interfaces/{usecase/i-logout-use-case.js → daemon/i-agent-idle-timeout-policy.js} +0 -0
  1248. /package/dist/server/core/interfaces/{usecase/i-pull-use-case.js → daemon/i-daemon-resilience.js} +0 -0
  1249. /package/dist/server/core/interfaces/{usecase/i-push-use-case.js → daemon/i-heartbeat-writer.js} +0 -0
  1250. /package/dist/server/core/interfaces/{usecase/i-query-use-case.js → daemon/i-idle-timeout-policy.js} +0 -0
  1251. /package/dist/server/core/interfaces/{usecase/i-reset-use-case.js → daemon/i-shutdown-handler.js} +0 -0
  1252. /package/dist/server/core/interfaces/{usecase/i-space-list-use-case.js → hub/i-hub-install-service.js} +0 -0
  1253. /package/dist/server/core/interfaces/{usecase/i-space-switch-use-case.js → hub/i-hub-keychain-store.js} +0 -0
  1254. /package/dist/server/core/interfaces/{usecase/i-status-use-case.js → hub/i-hub-registry-config-store.js} +0 -0
  1255. /package/dist/tui/{commands → features/commands/utils}/arg-parser.js +0 -0
@@ -1,70 +1,45 @@
1
1
  {
2
2
  "commands": {
3
- "curate": {
3
+ "debug": {
4
4
  "aliases": [],
5
- "args": {
6
- "context": {
7
- "description": "Knowledge context: patterns, decisions, errors, or insights",
8
- "name": "context",
9
- "required": false
10
- }
11
- },
12
- "description": "Curate context to the context tree (connects to running brv instance)\n\nRequires a running brv instance. Start one with: brv\n\nGood examples:\n- \"Auth uses JWT with 24h expiry. Tokens stored in httpOnly cookies via authMiddleware.ts\"\n- \"API rate limit is 100 req/min per user. Implemented using Redis with sliding window in rateLimiter.ts\"\nBad examples:\n- \"Authentication\" or \"JWT tokens\" (too vague, lacks context)\n- \"Rate limiting\" (no implementation details or file references)",
5
+ "args": {},
6
+ "description": "Live monitor for daemon internal state (development only)",
13
7
  "examples": [
14
- "# Curate context - queues task for background processing",
15
- "<%= config.bin %> <%= command.id %> \"Auth uses JWT with 24h expiry. Tokens stored in httpOnly cookies via authMiddleware.ts\"",
16
- "",
17
- "# Include relevant files for comprehensive context (max 5 files)",
18
- "<%= config.bin %> <%= command.id %> \"Authentication middleware validates JWT tokens\" -f src/middleware/auth.ts",
19
- "",
20
- "# Multiple files",
21
- "<%= config.bin %> <%= command.id %> \"JWT authentication implementation\" --files src/auth/jwt.ts --files docs/auth.md",
22
- "",
23
- "# Folder pack - analyze and curate entire folder",
24
- "<%= config.bin %> <%= command.id %> --folder src/auth/",
25
- "",
26
- "# Folder pack with context",
27
- "<%= config.bin %> <%= command.id %> \"Analyze authentication module\" -d src/auth/"
8
+ "<%= config.bin %> <%= command.id %>",
9
+ "<%= config.bin %> <%= command.id %> --format json",
10
+ "<%= config.bin %> <%= command.id %> --once"
28
11
  ],
29
12
  "flags": {
30
- "files": {
31
- "char": "f",
32
- "description": "Include specific file paths for critical context (max 5 files)",
33
- "name": "files",
34
- "hasDynamicHelp": false,
35
- "multiple": true,
36
- "type": "option"
37
- },
38
- "folder": {
39
- "char": "d",
40
- "description": "Folder path to pack and analyze (triggers folder pack flow)",
41
- "name": "folder",
42
- "hasDynamicHelp": false,
43
- "multiple": true,
44
- "type": "option"
13
+ "force": {
14
+ "description": "Kill existing daemon and start fresh",
15
+ "name": "force",
16
+ "allowNo": false,
17
+ "type": "boolean"
45
18
  },
46
19
  "format": {
47
- "description": "Output format (text or json)",
20
+ "char": "f",
21
+ "description": "Output format",
48
22
  "name": "format",
49
- "default": "text",
23
+ "default": "tree",
50
24
  "hasDynamicHelp": false,
51
25
  "multiple": false,
52
26
  "options": [
53
- "text",
27
+ "tree",
54
28
  "json"
55
29
  ],
56
30
  "type": "option"
57
31
  },
58
- "headless": {
59
- "description": "Run in headless mode (no TTY required, suitable for automation)",
60
- "name": "headless",
32
+ "once": {
33
+ "description": "Print once and exit (no live monitoring)",
34
+ "name": "once",
61
35
  "allowNo": false,
62
36
  "type": "boolean"
63
37
  }
64
38
  },
65
39
  "hasDynamicHelp": false,
40
+ "hidden": true,
66
41
  "hiddenAliases": [],
67
- "id": "curate",
42
+ "id": "debug",
68
43
  "pluginAlias": "byterover-cli",
69
44
  "pluginName": "byterover-cli",
70
45
  "pluginType": "core",
@@ -75,7 +50,7 @@
75
50
  "dist",
76
51
  "oclif",
77
52
  "commands",
78
- "curate.js"
53
+ "debug.js"
79
54
  ]
80
55
  },
81
56
  "hook-prompt-submit": {
@@ -100,30 +75,25 @@
100
75
  "hook-prompt-submit.js"
101
76
  ]
102
77
  },
103
- "init": {
78
+ "login": {
104
79
  "aliases": [],
105
80
  "args": {},
106
- "description": "Initialize a project with ByteRover\n\nSets up ByteRover for the current project by selecting a team and space.\nFor headless mode, you must provide --team and --space (ID or name).",
81
+ "description": "Authenticate with ByteRover for cloud sync features (optional for local usage)",
107
82
  "examples": [
108
- "# Interactive initialization",
109
- "<%= config.bin %> <%= command.id %>",
110
- "",
111
- "# Force re-initialization",
112
- "<%= config.bin %> <%= command.id %> --force",
83
+ "<%= config.bin %> <%= command.id %> --api-key <key>",
113
84
  "",
114
- "# Headless mode with team/space names",
115
- "<%= config.bin %> <%= command.id %> --headless --team my-team --space my-space --format json",
116
- "",
117
- "# Headless mode with team/space IDs",
118
- "<%= config.bin %> <%= command.id %> --headless --team team-abc123 --space space-xyz789 --format json"
85
+ "# JSON output (for automation)",
86
+ "<%= config.bin %> <%= command.id %> --api-key <key> --format json"
119
87
  ],
120
88
  "flags": {
121
- "force": {
122
- "char": "f",
123
- "description": "Force re-initialization without confirmation prompt",
124
- "name": "force",
125
- "allowNo": false,
126
- "type": "boolean"
89
+ "api-key": {
90
+ "char": "k",
91
+ "description": "API key for authentication (get yours at https://app.byterover.dev/settings/keys)",
92
+ "name": "api-key",
93
+ "required": true,
94
+ "hasDynamicHelp": false,
95
+ "multiple": false,
96
+ "type": "option"
127
97
  },
128
98
  "format": {
129
99
  "description": "Output format (text or json)",
@@ -136,60 +106,6 @@
136
106
  "json"
137
107
  ],
138
108
  "type": "option"
139
- },
140
- "headless": {
141
- "description": "Run in headless mode (no TTY required, requires --team and --space)",
142
- "name": "headless",
143
- "allowNo": false,
144
- "type": "boolean"
145
- },
146
- "space": {
147
- "description": "Space ID or name (required for headless mode)",
148
- "name": "space",
149
- "hasDynamicHelp": false,
150
- "multiple": false,
151
- "type": "option"
152
- },
153
- "team": {
154
- "description": "Team ID or name (required for headless mode)",
155
- "name": "team",
156
- "hasDynamicHelp": false,
157
- "multiple": false,
158
- "type": "option"
159
- }
160
- },
161
- "hasDynamicHelp": false,
162
- "hiddenAliases": [],
163
- "id": "init",
164
- "pluginAlias": "byterover-cli",
165
- "pluginName": "byterover-cli",
166
- "pluginType": "core",
167
- "strict": true,
168
- "enableJsonFlag": false,
169
- "isESM": true,
170
- "relativePath": [
171
- "dist",
172
- "oclif",
173
- "commands",
174
- "init.js"
175
- ]
176
- },
177
- "login": {
178
- "aliases": [],
179
- "args": {},
180
- "description": "Authenticate with ByteRover using an API key",
181
- "examples": [
182
- "<%= config.bin %> <%= command.id %> --api-key <key>"
183
- ],
184
- "flags": {
185
- "api-key": {
186
- "char": "k",
187
- "description": "API key for authentication (get yours at https://app.byterover.dev/settings/keys)",
188
- "name": "api-key",
189
- "required": true,
190
- "hasDynamicHelp": false,
191
- "multiple": false,
192
- "type": "option"
193
109
  }
194
110
  },
195
111
  "hasDynamicHelp": false,
@@ -233,7 +149,7 @@
233
149
  "mcp": {
234
150
  "aliases": [],
235
151
  "args": {},
236
- "description": "Start MCP server for coding agent integration\n\nConnects to a running brv instance via Socket.IO.\nRequires: brv running in another terminal.\n\nExposes tools:\n- brv-query: Query the context tree\n- brv-curate: Curate context to the tree",
152
+ "description": "Start MCP server for coding agent integration\n\nExposes tools:\n- brv-query: Query the context tree\n- brv-curate: Curate context to the tree",
237
153
  "examples": [
238
154
  "# Start MCP server (typically called by coding agents)",
239
155
  "<%= config.bin %> <%= command.id %>"
@@ -266,9 +182,7 @@
266
182
  "",
267
183
  "# Pull from specific branch",
268
184
  "<%= config.bin %> <%= command.id %> --branch feature-branch",
269
- "",
270
- "# Headless mode with JSON output",
271
- "<%= config.bin %> <%= command.id %> --headless --format json"
185
+ ""
272
186
  ],
273
187
  "flags": {
274
188
  "branch": {
@@ -291,12 +205,6 @@
291
205
  "json"
292
206
  ],
293
207
  "type": "option"
294
- },
295
- "headless": {
296
- "description": "Run in headless mode (no TTY required, suitable for automation)",
297
- "name": "headless",
298
- "allowNo": false,
299
- "type": "boolean"
300
208
  }
301
209
  },
302
210
  "hasDynamicHelp": false,
@@ -324,13 +232,7 @@
324
232
  "<%= config.bin %> <%= command.id %>",
325
233
  "",
326
234
  "# Push to specific branch",
327
- "<%= config.bin %> <%= command.id %> --branch feature-branch",
328
- "",
329
- "# Skip confirmation prompt",
330
- "<%= config.bin %> <%= command.id %> -y",
331
- "",
332
- "# Headless mode with JSON output",
333
- "<%= config.bin %> <%= command.id %> --headless --format json -y"
235
+ "<%= config.bin %> <%= command.id %> --branch feature-branch"
334
236
  ],
335
237
  "flags": {
336
238
  "branch": {
@@ -353,19 +255,6 @@
353
255
  "json"
354
256
  ],
355
257
  "type": "option"
356
- },
357
- "headless": {
358
- "description": "Run in headless mode (no TTY required, suitable for automation)",
359
- "name": "headless",
360
- "allowNo": false,
361
- "type": "boolean"
362
- },
363
- "yes": {
364
- "char": "y",
365
- "description": "Skip confirmation prompt",
366
- "name": "yes",
367
- "allowNo": false,
368
- "type": "boolean"
369
258
  }
370
259
  },
371
260
  "hasDynamicHelp": false,
@@ -393,14 +282,14 @@
393
282
  "required": true
394
283
  }
395
284
  },
396
- "description": "Query and retrieve information from the context tree (connects to running brv instance)\n\nRequires a running brv instance. Start one with: brv\n\nGood:\n- \"How is user authentication implemented?\"\n- \"What are the API rate limits and where are they enforced?\"\nBad:\n- \"auth\" or \"authentication\" (too vague, not a question)\n- \"show me code\" (not specific about what information is needed)",
285
+ "description": "Query and retrieve information from the context tree\n\nGood:\n- \"How is user authentication implemented?\"\n- \"What are the API rate limits and where are they enforced?\"\nBad:\n- \"auth\" or \"authentication\" (too vague, not a question)\n- \"show me code\" (not specific about what information is needed)",
397
286
  "examples": [
398
287
  "# Ask questions about patterns, decisions, or implementation details",
399
288
  "<%= config.bin %> <%= command.id %> What are the coding standards?",
400
289
  "<%= config.bin %> <%= command.id %> How is authentication implemented?",
401
290
  "",
402
- "# Headless mode with JSON output (for automation)",
403
- "<%= config.bin %> <%= command.id %> \"How does auth work?\" --headless --format json"
291
+ "# JSON output (for automation)",
292
+ "<%= config.bin %> <%= command.id %> \"How does auth work?\" --format json"
404
293
  ],
405
294
  "flags": {
406
295
  "format": {
@@ -414,12 +303,6 @@
414
303
  "json"
415
304
  ],
416
305
  "type": "option"
417
- },
418
- "headless": {
419
- "description": "Run in headless mode (no TTY required, suitable for automation)",
420
- "name": "headless",
421
- "allowNo": false,
422
- "type": "boolean"
423
306
  }
424
307
  },
425
308
  "hasDynamicHelp": false,
@@ -438,27 +321,36 @@
438
321
  "query.js"
439
322
  ]
440
323
  },
324
+ "restart": {
325
+ "aliases": [],
326
+ "args": {},
327
+ "description": "Restart ByteRover — stop everything and start fresh.\n\nRun this when ByteRover is unresponsive, stuck, or after installing an update.\nAll open sessions and background processes are stopped before the fresh start.",
328
+ "examples": [
329
+ "<%= config.bin %> <%= command.id %>"
330
+ ],
331
+ "flags": {},
332
+ "hasDynamicHelp": false,
333
+ "hiddenAliases": [],
334
+ "id": "restart",
335
+ "pluginAlias": "byterover-cli",
336
+ "pluginName": "byterover-cli",
337
+ "pluginType": "core",
338
+ "strict": true,
339
+ "enableJsonFlag": false,
340
+ "isESM": true,
341
+ "relativePath": [
342
+ "dist",
343
+ "oclif",
344
+ "commands",
345
+ "restart.js"
346
+ ]
347
+ },
441
348
  "status": {
442
349
  "aliases": [],
443
- "args": {
444
- "directory": {
445
- "description": "Project directory (defaults to current directory)",
446
- "name": "directory",
447
- "required": false
448
- }
449
- },
350
+ "args": {},
450
351
  "description": "Show CLI status and project information. Display local context tree managed by ByteRover CLI",
451
352
  "examples": [
452
353
  "<%= config.bin %> <%= command.id %>",
453
- "# Check status after login (in REPL):",
454
- "/login",
455
- "/status",
456
- "",
457
- "# Verify project initialization (in REPL):",
458
- "/init",
459
- "/status",
460
- "",
461
- "<%= config.bin %> <%= command.id %> /path/to/project",
462
354
  "<%= config.bin %> <%= command.id %> --format json"
463
355
  ],
464
356
  "flags": {
@@ -474,12 +366,6 @@
474
366
  "json"
475
367
  ],
476
368
  "type": "option"
477
- },
478
- "headless": {
479
- "description": "Run in headless mode (no TTY required, suitable for automation)",
480
- "name": "headless",
481
- "allowNo": false,
482
- "type": "boolean"
483
369
  }
484
370
  },
485
371
  "hasDynamicHelp": false,
@@ -497,7 +383,1165 @@
497
383
  "commands",
498
384
  "status.js"
499
385
  ]
386
+ },
387
+ "connectors": {
388
+ "aliases": [],
389
+ "args": {},
390
+ "description": "List installed agent connectors",
391
+ "examples": [
392
+ "<%= config.bin %> connectors",
393
+ "<%= config.bin %> connectors --format json"
394
+ ],
395
+ "flags": {
396
+ "format": {
397
+ "description": "Output format (text or json)",
398
+ "name": "format",
399
+ "default": "text",
400
+ "hasDynamicHelp": false,
401
+ "multiple": false,
402
+ "options": [
403
+ "text",
404
+ "json"
405
+ ],
406
+ "type": "option"
407
+ }
408
+ },
409
+ "hasDynamicHelp": false,
410
+ "hiddenAliases": [],
411
+ "id": "connectors",
412
+ "pluginAlias": "byterover-cli",
413
+ "pluginName": "byterover-cli",
414
+ "pluginType": "core",
415
+ "strict": true,
416
+ "enableJsonFlag": false,
417
+ "isESM": true,
418
+ "relativePath": [
419
+ "dist",
420
+ "oclif",
421
+ "commands",
422
+ "connectors",
423
+ "index.js"
424
+ ]
425
+ },
426
+ "connectors:install": {
427
+ "aliases": [],
428
+ "args": {
429
+ "agent": {
430
+ "description": "Agent name to install connector for (e.g., \"Claude Code\", \"Cursor\")",
431
+ "name": "agent",
432
+ "required": true
433
+ }
434
+ },
435
+ "description": "Install or switch a connector for an agent\n\n Connector Types:\n Rules Agent reads instructions from rule file\n Hook Instructions injected on each prompt\n MCP Agent connects via MCP protocol\n Agent Skill Agent reads skill files from project directory\n\n Available agents Default Supported Types\n ──────────────────── ─────────────── ─────────────────────────\n Amp Agent Skill Rules, MCP, Agent Skill\n Antigravity Agent Skill Rules, MCP, Agent Skill\n Auggie CLI Agent Skill Rules, MCP, Agent Skill\n Augment Code MCP Rules, MCP\n Claude Code Agent Skill Rules, Hook, MCP, Agent Skill\n Cline MCP Rules, MCP\n Codex Agent Skill Rules, MCP, Agent Skill\n Cursor Agent Skill Rules, MCP, Agent Skill\n Gemini CLI Agent Skill Rules, MCP, Agent Skill\n Github Copilot Agent Skill Rules, MCP, Agent Skill\n Junie Agent Skill Rules, MCP, Agent Skill\n Kilo Code Agent Skill Rules, MCP, Agent Skill\n Kiro Agent Skill Rules, MCP, Agent Skill\n OpenClaw Agent Skill Agent Skill\n OpenCode Agent Skill Rules, MCP, Agent Skill\n Qoder Agent Skill Rules, MCP, Agent Skill\n Qwen Code MCP Rules, MCP\n Roo Code Agent Skill Rules, MCP, Agent Skill\n Trae.ai Agent Skill Rules, MCP, Agent Skill\n Warp Agent Skill Rules, MCP, Agent Skill\n Windsurf Agent Skill Rules, MCP, Agent Skill\n Zed MCP Rules, MCP",
436
+ "examples": [
437
+ "<%= config.bin %> connectors install \"Claude Code\"",
438
+ "<%= config.bin %> connectors install \"Claude Code\" --type mcp",
439
+ "<%= config.bin %> connectors install Cursor --type rules"
440
+ ],
441
+ "flags": {
442
+ "format": {
443
+ "description": "Output format (text or json)",
444
+ "name": "format",
445
+ "default": "text",
446
+ "hasDynamicHelp": false,
447
+ "multiple": false,
448
+ "options": [
449
+ "text",
450
+ "json"
451
+ ],
452
+ "type": "option"
453
+ },
454
+ "type": {
455
+ "char": "t",
456
+ "description": "Connector type (rules, hook, mcp, skill). Defaults to agent's recommended type.",
457
+ "name": "type",
458
+ "hasDynamicHelp": false,
459
+ "multiple": false,
460
+ "options": [
461
+ "rules",
462
+ "hook",
463
+ "mcp",
464
+ "skill"
465
+ ],
466
+ "type": "option"
467
+ }
468
+ },
469
+ "hasDynamicHelp": false,
470
+ "hiddenAliases": [],
471
+ "id": "connectors:install",
472
+ "pluginAlias": "byterover-cli",
473
+ "pluginName": "byterover-cli",
474
+ "pluginType": "core",
475
+ "strict": true,
476
+ "enableJsonFlag": false,
477
+ "isESM": true,
478
+ "relativePath": [
479
+ "dist",
480
+ "oclif",
481
+ "commands",
482
+ "connectors",
483
+ "install.js"
484
+ ]
485
+ },
486
+ "connectors:list": {
487
+ "aliases": [],
488
+ "args": {},
489
+ "description": "List installed agent connectors",
490
+ "examples": [
491
+ "<%= config.bin %> connectors list",
492
+ "<%= config.bin %> connectors list --format json"
493
+ ],
494
+ "flags": {
495
+ "format": {
496
+ "description": "Output format (text or json)",
497
+ "name": "format",
498
+ "default": "text",
499
+ "hasDynamicHelp": false,
500
+ "multiple": false,
501
+ "options": [
502
+ "text",
503
+ "json"
504
+ ],
505
+ "type": "option"
506
+ }
507
+ },
508
+ "hasDynamicHelp": false,
509
+ "hiddenAliases": [],
510
+ "id": "connectors:list",
511
+ "pluginAlias": "byterover-cli",
512
+ "pluginName": "byterover-cli",
513
+ "pluginType": "core",
514
+ "strict": true,
515
+ "enableJsonFlag": false,
516
+ "isESM": true,
517
+ "relativePath": [
518
+ "dist",
519
+ "oclif",
520
+ "commands",
521
+ "connectors",
522
+ "list.js"
523
+ ]
524
+ },
525
+ "curate": {
526
+ "aliases": [],
527
+ "args": {
528
+ "context": {
529
+ "description": "Knowledge context: patterns, decisions, errors, or insights",
530
+ "name": "context",
531
+ "required": false
532
+ }
533
+ },
534
+ "description": "Curate context to the context tree\n\nGood examples:\n- \"Auth uses JWT with 24h expiry. Tokens stored in httpOnly cookies via authMiddleware.ts\"\n- \"API rate limit is 100 req/min per user. Implemented using Redis with sliding window in rateLimiter.ts\"\nBad examples:\n- \"Authentication\" or \"JWT tokens\" (too vague, lacks context)\n- \"Rate limiting\" (no implementation details or file references)",
535
+ "examples": [
536
+ "# Curate context - queues task for background processing",
537
+ "<%= config.bin %> <%= command.id %> \"Auth uses JWT with 24h expiry. Tokens stored in httpOnly cookies via authMiddleware.ts\"",
538
+ "",
539
+ "# Include relevant files for comprehensive context (max 5 files)",
540
+ "<%= config.bin %> <%= command.id %> \"Authentication middleware validates JWT tokens\" -f src/middleware/auth.ts",
541
+ "",
542
+ "# Multiple files",
543
+ "<%= config.bin %> <%= command.id %> \"JWT authentication implementation\" --files src/auth/jwt.ts --files docs/auth.md",
544
+ "",
545
+ "# Folder pack - analyze and curate entire folder",
546
+ "<%= config.bin %> <%= command.id %> --folder src/auth/",
547
+ "",
548
+ "# Folder pack with context",
549
+ "<%= config.bin %> <%= command.id %> \"Analyze authentication module\" -d src/auth/",
550
+ "",
551
+ "# View curate history",
552
+ "<%= config.bin %> curate view",
553
+ "<%= config.bin %> curate view --status completed --since 1h"
554
+ ],
555
+ "flags": {
556
+ "detach": {
557
+ "description": "Queue task and exit without waiting for completion",
558
+ "name": "detach",
559
+ "allowNo": false,
560
+ "type": "boolean"
561
+ },
562
+ "files": {
563
+ "char": "f",
564
+ "description": "Include specific file paths for critical context (max 5 files)",
565
+ "name": "files",
566
+ "hasDynamicHelp": false,
567
+ "multiple": true,
568
+ "type": "option"
569
+ },
570
+ "folder": {
571
+ "char": "d",
572
+ "description": "Folder path to pack and analyze (triggers folder pack flow)",
573
+ "name": "folder",
574
+ "hasDynamicHelp": false,
575
+ "multiple": true,
576
+ "type": "option"
577
+ },
578
+ "format": {
579
+ "description": "Output format (text or json)",
580
+ "name": "format",
581
+ "default": "text",
582
+ "hasDynamicHelp": false,
583
+ "multiple": false,
584
+ "options": [
585
+ "text",
586
+ "json"
587
+ ],
588
+ "type": "option"
589
+ }
590
+ },
591
+ "hasDynamicHelp": false,
592
+ "hiddenAliases": [],
593
+ "id": "curate",
594
+ "pluginAlias": "byterover-cli",
595
+ "pluginName": "byterover-cli",
596
+ "pluginType": "core",
597
+ "strict": true,
598
+ "enableJsonFlag": false,
599
+ "isESM": true,
600
+ "relativePath": [
601
+ "dist",
602
+ "oclif",
603
+ "commands",
604
+ "curate",
605
+ "index.js"
606
+ ]
607
+ },
608
+ "curate:view": {
609
+ "aliases": [],
610
+ "args": {
611
+ "id": {
612
+ "description": "Log entry ID to view in detail",
613
+ "name": "id",
614
+ "required": false
615
+ }
616
+ },
617
+ "description": "View curate history",
618
+ "examples": [
619
+ "<%= config.bin %> <%= command.id %>",
620
+ "<%= config.bin %> <%= command.id %> cur-1739700001000",
621
+ "<%= config.bin %> <%= command.id %> --limit 20",
622
+ "<%= config.bin %> <%= command.id %> --status completed",
623
+ "<%= config.bin %> <%= command.id %> --status completed --status error",
624
+ "<%= config.bin %> <%= command.id %> --since 1h",
625
+ "<%= config.bin %> <%= command.id %> --since 2024-01-15",
626
+ "<%= config.bin %> <%= command.id %> --before 2024-02-01",
627
+ "<%= config.bin %> <%= command.id %> --detail",
628
+ "<%= config.bin %> <%= command.id %> --format json"
629
+ ],
630
+ "flags": {
631
+ "before": {
632
+ "description": "Show entries started before this time (ISO date or relative: 1h, 24h, 7d, 2w)",
633
+ "name": "before",
634
+ "hasDynamicHelp": false,
635
+ "multiple": false,
636
+ "type": "option"
637
+ },
638
+ "detail": {
639
+ "description": "Show operations for each entry in list view",
640
+ "name": "detail",
641
+ "allowNo": false,
642
+ "type": "boolean"
643
+ },
644
+ "format": {
645
+ "description": "Output format",
646
+ "name": "format",
647
+ "default": "text",
648
+ "hasDynamicHelp": false,
649
+ "multiple": false,
650
+ "options": [
651
+ "text",
652
+ "json"
653
+ ],
654
+ "type": "option"
655
+ },
656
+ "limit": {
657
+ "description": "Maximum number of log entries to display",
658
+ "name": "limit",
659
+ "default": 10,
660
+ "hasDynamicHelp": false,
661
+ "multiple": false,
662
+ "type": "option"
663
+ },
664
+ "since": {
665
+ "description": "Show entries started after this time (ISO date or relative: 1h, 24h, 7d, 2w)",
666
+ "name": "since",
667
+ "hasDynamicHelp": false,
668
+ "multiple": false,
669
+ "type": "option"
670
+ },
671
+ "status": {
672
+ "description": "Filter by status (can be repeated). Options: cancelled, completed, error, processing",
673
+ "name": "status",
674
+ "hasDynamicHelp": false,
675
+ "multiple": true,
676
+ "options": [
677
+ "cancelled",
678
+ "completed",
679
+ "error",
680
+ "processing"
681
+ ],
682
+ "type": "option"
683
+ }
684
+ },
685
+ "hasDynamicHelp": false,
686
+ "hiddenAliases": [],
687
+ "id": "curate:view",
688
+ "pluginAlias": "byterover-cli",
689
+ "pluginName": "byterover-cli",
690
+ "pluginType": "core",
691
+ "strict": true,
692
+ "enableJsonFlag": false,
693
+ "isESM": true,
694
+ "relativePath": [
695
+ "dist",
696
+ "oclif",
697
+ "commands",
698
+ "curate",
699
+ "view.js"
700
+ ]
701
+ },
702
+ "hub": {
703
+ "aliases": [],
704
+ "args": {},
705
+ "description": "Browse and manage skills & bundles registry",
706
+ "flags": {},
707
+ "hasDynamicHelp": false,
708
+ "hiddenAliases": [],
709
+ "id": "hub",
710
+ "pluginAlias": "byterover-cli",
711
+ "pluginName": "byterover-cli",
712
+ "pluginType": "core",
713
+ "strict": true,
714
+ "enableJsonFlag": false,
715
+ "isESM": true,
716
+ "relativePath": [
717
+ "dist",
718
+ "oclif",
719
+ "commands",
720
+ "hub",
721
+ "index.js"
722
+ ]
723
+ },
724
+ "hub:install": {
725
+ "aliases": [],
726
+ "args": {
727
+ "id": {
728
+ "description": "Entry ID to install",
729
+ "name": "id",
730
+ "required": true
731
+ }
732
+ },
733
+ "description": "Install a skill or bundle from the hub",
734
+ "examples": [
735
+ "<%= config.bin %> hub install byterover-review --agent \"Claude Code\"",
736
+ "<%= config.bin %> hub install typescript-kickstart",
737
+ "<%= config.bin %> hub install byterover-review --registry myco"
738
+ ],
739
+ "flags": {
740
+ "agent": {
741
+ "char": "a",
742
+ "description": "Target agent for skill install",
743
+ "name": "agent",
744
+ "hasDynamicHelp": false,
745
+ "multiple": false,
746
+ "options": [
747
+ "Amp",
748
+ "Antigravity",
749
+ "Auggie CLI",
750
+ "Claude Code",
751
+ "Codex",
752
+ "Cursor",
753
+ "Gemini CLI",
754
+ "Github Copilot",
755
+ "Junie",
756
+ "Kilo Code",
757
+ "Kiro",
758
+ "OpenClaw",
759
+ "OpenCode",
760
+ "Qoder",
761
+ "Roo Code",
762
+ "Trae.ai",
763
+ "Warp",
764
+ "Windsurf"
765
+ ],
766
+ "type": "option"
767
+ },
768
+ "format": {
769
+ "char": "f",
770
+ "description": "Output format",
771
+ "name": "format",
772
+ "default": "text",
773
+ "hasDynamicHelp": false,
774
+ "multiple": false,
775
+ "options": [
776
+ "text",
777
+ "json"
778
+ ],
779
+ "type": "option"
780
+ },
781
+ "registry": {
782
+ "char": "r",
783
+ "description": "Registry to install from (when ID exists in multiple registries)",
784
+ "name": "registry",
785
+ "hasDynamicHelp": false,
786
+ "multiple": false,
787
+ "type": "option"
788
+ },
789
+ "scope": {
790
+ "char": "s",
791
+ "description": "Install scope for skills (global: home directory, project: current project)",
792
+ "name": "scope",
793
+ "default": "project",
794
+ "hasDynamicHelp": false,
795
+ "multiple": false,
796
+ "options": [
797
+ "global",
798
+ "project"
799
+ ],
800
+ "type": "option"
801
+ }
802
+ },
803
+ "hasDynamicHelp": false,
804
+ "hiddenAliases": [],
805
+ "id": "hub:install",
806
+ "pluginAlias": "byterover-cli",
807
+ "pluginName": "byterover-cli",
808
+ "pluginType": "core",
809
+ "strict": true,
810
+ "enableJsonFlag": false,
811
+ "isESM": true,
812
+ "relativePath": [
813
+ "dist",
814
+ "oclif",
815
+ "commands",
816
+ "hub",
817
+ "install.js"
818
+ ]
819
+ },
820
+ "hub:list": {
821
+ "aliases": [],
822
+ "args": {},
823
+ "description": "List available skills & bundles from the hub",
824
+ "examples": [
825
+ "<%= config.bin %> hub list",
826
+ "<%= config.bin %> hub list --format json"
827
+ ],
828
+ "flags": {
829
+ "format": {
830
+ "char": "f",
831
+ "description": "Output format",
832
+ "name": "format",
833
+ "default": "text",
834
+ "hasDynamicHelp": false,
835
+ "multiple": false,
836
+ "options": [
837
+ "text",
838
+ "json"
839
+ ],
840
+ "type": "option"
841
+ }
842
+ },
843
+ "hasDynamicHelp": false,
844
+ "hiddenAliases": [],
845
+ "id": "hub:list",
846
+ "pluginAlias": "byterover-cli",
847
+ "pluginName": "byterover-cli",
848
+ "pluginType": "core",
849
+ "strict": true,
850
+ "enableJsonFlag": false,
851
+ "isESM": true,
852
+ "relativePath": [
853
+ "dist",
854
+ "oclif",
855
+ "commands",
856
+ "hub",
857
+ "list.js"
858
+ ]
859
+ },
860
+ "model": {
861
+ "aliases": [],
862
+ "args": {},
863
+ "description": "Show the active model",
864
+ "examples": [
865
+ "<%= config.bin %> model",
866
+ "<%= config.bin %> model --format json"
867
+ ],
868
+ "flags": {
869
+ "format": {
870
+ "description": "Output format (text or json)",
871
+ "name": "format",
872
+ "default": "text",
873
+ "hasDynamicHelp": false,
874
+ "multiple": false,
875
+ "options": [
876
+ "text",
877
+ "json"
878
+ ],
879
+ "type": "option"
880
+ }
881
+ },
882
+ "hasDynamicHelp": false,
883
+ "hiddenAliases": [],
884
+ "id": "model",
885
+ "pluginAlias": "byterover-cli",
886
+ "pluginName": "byterover-cli",
887
+ "pluginType": "core",
888
+ "strict": true,
889
+ "enableJsonFlag": false,
890
+ "isESM": true,
891
+ "relativePath": [
892
+ "dist",
893
+ "oclif",
894
+ "commands",
895
+ "model",
896
+ "index.js"
897
+ ]
898
+ },
899
+ "model:list": {
900
+ "aliases": [],
901
+ "args": {},
902
+ "description": "List available models from all connected providers",
903
+ "examples": [
904
+ "<%= config.bin %> model list",
905
+ "<%= config.bin %> model list --format json"
906
+ ],
907
+ "flags": {
908
+ "format": {
909
+ "description": "Output format (text or json)",
910
+ "name": "format",
911
+ "default": "text",
912
+ "hasDynamicHelp": false,
913
+ "multiple": false,
914
+ "options": [
915
+ "text",
916
+ "json"
917
+ ],
918
+ "type": "option"
919
+ },
920
+ "provider": {
921
+ "char": "p",
922
+ "description": "Only list models for a specific provider",
923
+ "name": "provider",
924
+ "hasDynamicHelp": false,
925
+ "multiple": false,
926
+ "type": "option"
927
+ }
928
+ },
929
+ "hasDynamicHelp": false,
930
+ "hiddenAliases": [],
931
+ "id": "model:list",
932
+ "pluginAlias": "byterover-cli",
933
+ "pluginName": "byterover-cli",
934
+ "pluginType": "core",
935
+ "strict": true,
936
+ "enableJsonFlag": false,
937
+ "isESM": true,
938
+ "relativePath": [
939
+ "dist",
940
+ "oclif",
941
+ "commands",
942
+ "model",
943
+ "list.js"
944
+ ]
945
+ },
946
+ "model:switch": {
947
+ "aliases": [],
948
+ "args": {
949
+ "model": {
950
+ "description": "Model ID to switch to (e.g., claude-sonnet-4-5, gpt-4.1)",
951
+ "name": "model",
952
+ "required": true
953
+ }
954
+ },
955
+ "description": "Switch the active model",
956
+ "examples": [
957
+ "<%= config.bin %> model switch claude-sonnet-4-5",
958
+ "<%= config.bin %> model switch gpt-4.1 --provider openai",
959
+ "<%= config.bin %> model switch claude-sonnet-4-5 --format json"
960
+ ],
961
+ "flags": {
962
+ "format": {
963
+ "description": "Output format (text or json)",
964
+ "name": "format",
965
+ "default": "text",
966
+ "hasDynamicHelp": false,
967
+ "multiple": false,
968
+ "options": [
969
+ "text",
970
+ "json"
971
+ ],
972
+ "type": "option"
973
+ },
974
+ "provider": {
975
+ "char": "p",
976
+ "description": "Provider ID (defaults to active provider)",
977
+ "name": "provider",
978
+ "hasDynamicHelp": false,
979
+ "multiple": false,
980
+ "type": "option"
981
+ }
982
+ },
983
+ "hasDynamicHelp": false,
984
+ "hiddenAliases": [],
985
+ "id": "model:switch",
986
+ "pluginAlias": "byterover-cli",
987
+ "pluginName": "byterover-cli",
988
+ "pluginType": "core",
989
+ "strict": true,
990
+ "enableJsonFlag": false,
991
+ "isESM": true,
992
+ "relativePath": [
993
+ "dist",
994
+ "oclif",
995
+ "commands",
996
+ "model",
997
+ "switch.js"
998
+ ]
999
+ },
1000
+ "providers:connect": {
1001
+ "aliases": [],
1002
+ "args": {
1003
+ "provider": {
1004
+ "description": "Provider ID to connect (e.g., anthropic, openai, openrouter)",
1005
+ "name": "provider",
1006
+ "required": true
1007
+ }
1008
+ },
1009
+ "description": "Connect or switch to an LLM provider",
1010
+ "examples": [
1011
+ "<%= config.bin %> providers connect anthropic --api-key sk-xxx",
1012
+ "<%= config.bin %> providers connect openai --api-key sk-xxx --model gpt-4.1",
1013
+ "<%= config.bin %> providers connect byterover",
1014
+ "<%= config.bin %> providers connect openai-compatible --base-url http://localhost:11434/v1",
1015
+ "<%= config.bin %> providers connect openai-compatible --base-url http://localhost:11434/v1 --api-key sk-xxx --model llama3",
1016
+ "<%= config.bin %> providers connect google-vertex --credential-file /path/to/service-account.json"
1017
+ ],
1018
+ "flags": {
1019
+ "api-key": {
1020
+ "char": "k",
1021
+ "description": "API key for the provider",
1022
+ "name": "api-key",
1023
+ "hasDynamicHelp": false,
1024
+ "multiple": false,
1025
+ "type": "option"
1026
+ },
1027
+ "base-url": {
1028
+ "char": "b",
1029
+ "description": "Base URL for OpenAI-compatible providers (e.g., http://localhost:11434/v1)",
1030
+ "name": "base-url",
1031
+ "hasDynamicHelp": false,
1032
+ "multiple": false,
1033
+ "type": "option"
1034
+ },
1035
+ "credential-file": {
1036
+ "char": "f",
1037
+ "description": "Path to service account JSON key file (for Google Vertex AI)",
1038
+ "name": "credential-file",
1039
+ "hasDynamicHelp": false,
1040
+ "multiple": false,
1041
+ "type": "option"
1042
+ },
1043
+ "format": {
1044
+ "description": "Output format (text or json)",
1045
+ "name": "format",
1046
+ "default": "text",
1047
+ "hasDynamicHelp": false,
1048
+ "multiple": false,
1049
+ "options": [
1050
+ "text",
1051
+ "json"
1052
+ ],
1053
+ "type": "option"
1054
+ },
1055
+ "model": {
1056
+ "char": "m",
1057
+ "description": "Model to set as active after connecting",
1058
+ "name": "model",
1059
+ "hasDynamicHelp": false,
1060
+ "multiple": false,
1061
+ "type": "option"
1062
+ }
1063
+ },
1064
+ "hasDynamicHelp": false,
1065
+ "hiddenAliases": [],
1066
+ "id": "providers:connect",
1067
+ "pluginAlias": "byterover-cli",
1068
+ "pluginName": "byterover-cli",
1069
+ "pluginType": "core",
1070
+ "strict": true,
1071
+ "enableJsonFlag": false,
1072
+ "isESM": true,
1073
+ "relativePath": [
1074
+ "dist",
1075
+ "oclif",
1076
+ "commands",
1077
+ "providers",
1078
+ "connect.js"
1079
+ ]
1080
+ },
1081
+ "providers:disconnect": {
1082
+ "aliases": [],
1083
+ "args": {
1084
+ "provider": {
1085
+ "description": "Provider ID to disconnect",
1086
+ "name": "provider",
1087
+ "required": true
1088
+ }
1089
+ },
1090
+ "description": "Disconnect an LLM provider",
1091
+ "examples": [
1092
+ "<%= config.bin %> providers disconnect anthropic",
1093
+ "<%= config.bin %> providers disconnect openai --format json"
1094
+ ],
1095
+ "flags": {
1096
+ "format": {
1097
+ "description": "Output format (text or json)",
1098
+ "name": "format",
1099
+ "default": "text",
1100
+ "hasDynamicHelp": false,
1101
+ "multiple": false,
1102
+ "options": [
1103
+ "text",
1104
+ "json"
1105
+ ],
1106
+ "type": "option"
1107
+ }
1108
+ },
1109
+ "hasDynamicHelp": false,
1110
+ "hiddenAliases": [],
1111
+ "id": "providers:disconnect",
1112
+ "pluginAlias": "byterover-cli",
1113
+ "pluginName": "byterover-cli",
1114
+ "pluginType": "core",
1115
+ "strict": true,
1116
+ "enableJsonFlag": false,
1117
+ "isESM": true,
1118
+ "relativePath": [
1119
+ "dist",
1120
+ "oclif",
1121
+ "commands",
1122
+ "providers",
1123
+ "disconnect.js"
1124
+ ]
1125
+ },
1126
+ "providers": {
1127
+ "aliases": [],
1128
+ "args": {},
1129
+ "description": "Show active provider and model",
1130
+ "examples": [
1131
+ "<%= config.bin %> providers",
1132
+ "<%= config.bin %> providers --format json"
1133
+ ],
1134
+ "flags": {
1135
+ "format": {
1136
+ "description": "Output format (text or json)",
1137
+ "name": "format",
1138
+ "default": "text",
1139
+ "hasDynamicHelp": false,
1140
+ "multiple": false,
1141
+ "options": [
1142
+ "text",
1143
+ "json"
1144
+ ],
1145
+ "type": "option"
1146
+ }
1147
+ },
1148
+ "hasDynamicHelp": false,
1149
+ "hiddenAliases": [],
1150
+ "id": "providers",
1151
+ "pluginAlias": "byterover-cli",
1152
+ "pluginName": "byterover-cli",
1153
+ "pluginType": "core",
1154
+ "strict": true,
1155
+ "enableJsonFlag": false,
1156
+ "isESM": true,
1157
+ "relativePath": [
1158
+ "dist",
1159
+ "oclif",
1160
+ "commands",
1161
+ "providers",
1162
+ "index.js"
1163
+ ]
1164
+ },
1165
+ "providers:list": {
1166
+ "aliases": [],
1167
+ "args": {},
1168
+ "description": "List all available providers and their connection status",
1169
+ "examples": [
1170
+ "<%= config.bin %> providers list",
1171
+ "<%= config.bin %> providers list --format json"
1172
+ ],
1173
+ "flags": {
1174
+ "format": {
1175
+ "description": "Output format (text or json)",
1176
+ "name": "format",
1177
+ "default": "text",
1178
+ "hasDynamicHelp": false,
1179
+ "multiple": false,
1180
+ "options": [
1181
+ "text",
1182
+ "json"
1183
+ ],
1184
+ "type": "option"
1185
+ }
1186
+ },
1187
+ "hasDynamicHelp": false,
1188
+ "hiddenAliases": [],
1189
+ "id": "providers:list",
1190
+ "pluginAlias": "byterover-cli",
1191
+ "pluginName": "byterover-cli",
1192
+ "pluginType": "core",
1193
+ "strict": true,
1194
+ "enableJsonFlag": false,
1195
+ "isESM": true,
1196
+ "relativePath": [
1197
+ "dist",
1198
+ "oclif",
1199
+ "commands",
1200
+ "providers",
1201
+ "list.js"
1202
+ ]
1203
+ },
1204
+ "providers:switch": {
1205
+ "aliases": [],
1206
+ "args": {
1207
+ "provider": {
1208
+ "description": "Provider ID to switch to (e.g., anthropic, openai)",
1209
+ "name": "provider",
1210
+ "required": true
1211
+ }
1212
+ },
1213
+ "description": "Switch the active provider",
1214
+ "examples": [
1215
+ "<%= config.bin %> providers switch anthropic",
1216
+ "<%= config.bin %> providers switch openai --format json"
1217
+ ],
1218
+ "flags": {
1219
+ "format": {
1220
+ "description": "Output format (text or json)",
1221
+ "name": "format",
1222
+ "default": "text",
1223
+ "hasDynamicHelp": false,
1224
+ "multiple": false,
1225
+ "options": [
1226
+ "text",
1227
+ "json"
1228
+ ],
1229
+ "type": "option"
1230
+ }
1231
+ },
1232
+ "hasDynamicHelp": false,
1233
+ "hiddenAliases": [],
1234
+ "id": "providers:switch",
1235
+ "pluginAlias": "byterover-cli",
1236
+ "pluginName": "byterover-cli",
1237
+ "pluginType": "core",
1238
+ "strict": true,
1239
+ "enableJsonFlag": false,
1240
+ "isESM": true,
1241
+ "relativePath": [
1242
+ "dist",
1243
+ "oclif",
1244
+ "commands",
1245
+ "providers",
1246
+ "switch.js"
1247
+ ]
1248
+ },
1249
+ "space:list": {
1250
+ "aliases": [],
1251
+ "args": {},
1252
+ "description": "List all teams and spaces",
1253
+ "examples": [
1254
+ "<%= config.bin %> space list",
1255
+ "<%= config.bin %> space list --format json"
1256
+ ],
1257
+ "flags": {
1258
+ "format": {
1259
+ "char": "f",
1260
+ "description": "Output format",
1261
+ "name": "format",
1262
+ "default": "text",
1263
+ "hasDynamicHelp": false,
1264
+ "multiple": false,
1265
+ "options": [
1266
+ "text",
1267
+ "json"
1268
+ ],
1269
+ "type": "option"
1270
+ }
1271
+ },
1272
+ "hasDynamicHelp": false,
1273
+ "hiddenAliases": [],
1274
+ "id": "space:list",
1275
+ "pluginAlias": "byterover-cli",
1276
+ "pluginName": "byterover-cli",
1277
+ "pluginType": "core",
1278
+ "strict": true,
1279
+ "enableJsonFlag": false,
1280
+ "isESM": true,
1281
+ "relativePath": [
1282
+ "dist",
1283
+ "oclif",
1284
+ "commands",
1285
+ "space",
1286
+ "list.js"
1287
+ ]
1288
+ },
1289
+ "space:switch": {
1290
+ "aliases": [],
1291
+ "args": {},
1292
+ "description": "Switch to a different space",
1293
+ "examples": [
1294
+ "<%= config.bin %> space switch --team acme --name my-space",
1295
+ "<%= config.bin %> space switch --team acme --name my-space --format json"
1296
+ ],
1297
+ "flags": {
1298
+ "format": {
1299
+ "char": "f",
1300
+ "description": "Output format",
1301
+ "name": "format",
1302
+ "default": "text",
1303
+ "hasDynamicHelp": false,
1304
+ "multiple": false,
1305
+ "options": [
1306
+ "text",
1307
+ "json"
1308
+ ],
1309
+ "type": "option"
1310
+ },
1311
+ "name": {
1312
+ "char": "n",
1313
+ "description": "Name of the space to switch to",
1314
+ "name": "name",
1315
+ "required": true,
1316
+ "hasDynamicHelp": false,
1317
+ "multiple": false,
1318
+ "type": "option"
1319
+ },
1320
+ "team": {
1321
+ "char": "t",
1322
+ "description": "Team name",
1323
+ "name": "team",
1324
+ "required": true,
1325
+ "hasDynamicHelp": false,
1326
+ "multiple": false,
1327
+ "type": "option"
1328
+ }
1329
+ },
1330
+ "hasDynamicHelp": false,
1331
+ "hiddenAliases": [],
1332
+ "id": "space:switch",
1333
+ "pluginAlias": "byterover-cli",
1334
+ "pluginName": "byterover-cli",
1335
+ "pluginType": "core",
1336
+ "strict": true,
1337
+ "enableJsonFlag": false,
1338
+ "isESM": true,
1339
+ "relativePath": [
1340
+ "dist",
1341
+ "oclif",
1342
+ "commands",
1343
+ "space",
1344
+ "switch.js"
1345
+ ]
1346
+ },
1347
+ "hub:registry:add": {
1348
+ "aliases": [],
1349
+ "args": {
1350
+ "name": {
1351
+ "description": "Registry name",
1352
+ "name": "name",
1353
+ "required": true
1354
+ }
1355
+ },
1356
+ "description": "Add a hub registry",
1357
+ "examples": [
1358
+ "<%= config.bin %> hub registry add myco --url https://example.com/registry.json",
1359
+ "<%= config.bin %> hub registry add myco --url https://example.com/registry.json --token secret",
1360
+ "<%= config.bin %> hub registry add ghrepo --url https://raw.githubusercontent.com/org/repo/main/registry.json --auth-scheme token --token ghp_xxx",
1361
+ "<%= config.bin %> hub registry add gitlab --url https://gitlab.com/.../registry.json --auth-scheme custom-header --header-name PRIVATE-TOKEN --token glpat-xxx"
1362
+ ],
1363
+ "flags": {
1364
+ "auth-scheme": {
1365
+ "char": "s",
1366
+ "description": "Auth scheme for hub registry",
1367
+ "name": "auth-scheme",
1368
+ "hasDynamicHelp": false,
1369
+ "multiple": false,
1370
+ "options": [
1371
+ "bearer",
1372
+ "token",
1373
+ "basic",
1374
+ "custom-header",
1375
+ "none"
1376
+ ],
1377
+ "type": "option"
1378
+ },
1379
+ "format": {
1380
+ "char": "f",
1381
+ "description": "Output format",
1382
+ "name": "format",
1383
+ "default": "text",
1384
+ "hasDynamicHelp": false,
1385
+ "multiple": false,
1386
+ "options": [
1387
+ "text",
1388
+ "json"
1389
+ ],
1390
+ "type": "option"
1391
+ },
1392
+ "header-name": {
1393
+ "description": "Custom header name (for custom-header auth scheme)",
1394
+ "name": "header-name",
1395
+ "hasDynamicHelp": false,
1396
+ "multiple": false,
1397
+ "type": "option"
1398
+ },
1399
+ "token": {
1400
+ "char": "t",
1401
+ "description": "Auth token for private hub registry",
1402
+ "name": "token",
1403
+ "hasDynamicHelp": false,
1404
+ "multiple": false,
1405
+ "type": "option"
1406
+ },
1407
+ "url": {
1408
+ "char": "u",
1409
+ "description": "Registry URL",
1410
+ "name": "url",
1411
+ "required": true,
1412
+ "hasDynamicHelp": false,
1413
+ "multiple": false,
1414
+ "type": "option"
1415
+ }
1416
+ },
1417
+ "hasDynamicHelp": false,
1418
+ "hiddenAliases": [],
1419
+ "id": "hub:registry:add",
1420
+ "pluginAlias": "byterover-cli",
1421
+ "pluginName": "byterover-cli",
1422
+ "pluginType": "core",
1423
+ "strict": true,
1424
+ "enableJsonFlag": false,
1425
+ "isESM": true,
1426
+ "relativePath": [
1427
+ "dist",
1428
+ "oclif",
1429
+ "commands",
1430
+ "hub",
1431
+ "registry",
1432
+ "add.js"
1433
+ ]
1434
+ },
1435
+ "hub:registry": {
1436
+ "aliases": [],
1437
+ "args": {},
1438
+ "description": "Manage hub registries",
1439
+ "flags": {},
1440
+ "hasDynamicHelp": false,
1441
+ "hiddenAliases": [],
1442
+ "id": "hub:registry",
1443
+ "pluginAlias": "byterover-cli",
1444
+ "pluginName": "byterover-cli",
1445
+ "pluginType": "core",
1446
+ "strict": true,
1447
+ "enableJsonFlag": false,
1448
+ "isESM": true,
1449
+ "relativePath": [
1450
+ "dist",
1451
+ "oclif",
1452
+ "commands",
1453
+ "hub",
1454
+ "registry",
1455
+ "index.js"
1456
+ ]
1457
+ },
1458
+ "hub:registry:list": {
1459
+ "aliases": [],
1460
+ "args": {},
1461
+ "description": "List configured hub registries",
1462
+ "examples": [
1463
+ "<%= config.bin %> hub registry list",
1464
+ "<%= config.bin %> hub registry list --format json"
1465
+ ],
1466
+ "flags": {
1467
+ "format": {
1468
+ "char": "f",
1469
+ "description": "Output format",
1470
+ "name": "format",
1471
+ "default": "text",
1472
+ "hasDynamicHelp": false,
1473
+ "multiple": false,
1474
+ "options": [
1475
+ "text",
1476
+ "json"
1477
+ ],
1478
+ "type": "option"
1479
+ }
1480
+ },
1481
+ "hasDynamicHelp": false,
1482
+ "hiddenAliases": [],
1483
+ "id": "hub:registry:list",
1484
+ "pluginAlias": "byterover-cli",
1485
+ "pluginName": "byterover-cli",
1486
+ "pluginType": "core",
1487
+ "strict": true,
1488
+ "enableJsonFlag": false,
1489
+ "isESM": true,
1490
+ "relativePath": [
1491
+ "dist",
1492
+ "oclif",
1493
+ "commands",
1494
+ "hub",
1495
+ "registry",
1496
+ "list.js"
1497
+ ]
1498
+ },
1499
+ "hub:registry:remove": {
1500
+ "aliases": [],
1501
+ "args": {
1502
+ "name": {
1503
+ "description": "Registry name to remove",
1504
+ "name": "name",
1505
+ "required": true
1506
+ }
1507
+ },
1508
+ "description": "Remove a hub registry",
1509
+ "examples": [
1510
+ "<%= config.bin %> hub registry remove myco"
1511
+ ],
1512
+ "flags": {
1513
+ "format": {
1514
+ "char": "f",
1515
+ "description": "Output format",
1516
+ "name": "format",
1517
+ "default": "text",
1518
+ "hasDynamicHelp": false,
1519
+ "multiple": false,
1520
+ "options": [
1521
+ "text",
1522
+ "json"
1523
+ ],
1524
+ "type": "option"
1525
+ }
1526
+ },
1527
+ "hasDynamicHelp": false,
1528
+ "hiddenAliases": [],
1529
+ "id": "hub:registry:remove",
1530
+ "pluginAlias": "byterover-cli",
1531
+ "pluginName": "byterover-cli",
1532
+ "pluginType": "core",
1533
+ "strict": true,
1534
+ "enableJsonFlag": false,
1535
+ "isESM": true,
1536
+ "relativePath": [
1537
+ "dist",
1538
+ "oclif",
1539
+ "commands",
1540
+ "hub",
1541
+ "registry",
1542
+ "remove.js"
1543
+ ]
500
1544
  }
501
1545
  },
502
- "version": "1.8.0"
1546
+ "version": "2.0.0"
503
1547
  }