orient-cli 0.3.0 → 0.3.2

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 (1134) hide show
  1. package/dist/integrations/notebooklm/notebooklm-extension.js +3 -8
  2. package/dist/integrations/notebooklm/notebooklm-extension.js.map +1 -1
  3. package/dist/integrations/playwright/playwright-extension.js +4 -14
  4. package/dist/integrations/playwright/playwright-extension.js.map +1 -1
  5. package/dist/integrations/web-search/bridge.js +12 -23
  6. package/dist/integrations/web-search/bridge.js.map +1 -1
  7. package/dist/integrations/web-search/web-search-extension.js +0 -3
  8. package/dist/integrations/web-search/web-search-extension.js.map +1 -1
  9. package/dist/orient/orient-extension.js +6 -14
  10. package/dist/orient/orient-extension.js.map +1 -1
  11. package/package.json +3 -10
  12. package/scripts/postinstall.mjs +40 -1
  13. package/vendor/@orient-cli/coding-agent/dist/bun/cli.d.ts.map +1 -0
  14. package/vendor/@orient-cli/coding-agent/dist/bun/cli.js.map +1 -0
  15. package/vendor/@orient-cli/coding-agent/dist/bun/register-bedrock.d.ts.map +1 -0
  16. package/vendor/@orient-cli/coding-agent/dist/cli/args.d.ts.map +1 -0
  17. package/vendor/@orient-cli/coding-agent/dist/cli/args.js.map +1 -0
  18. package/vendor/@orient-cli/coding-agent/dist/cli/config-selector.d.ts.map +1 -0
  19. package/vendor/@orient-cli/coding-agent/dist/cli/config-selector.js.map +1 -0
  20. package/vendor/@orient-cli/coding-agent/dist/cli/file-processor.d.ts.map +1 -0
  21. package/vendor/@orient-cli/coding-agent/dist/cli/file-processor.js.map +1 -0
  22. package/vendor/@orient-cli/coding-agent/dist/cli/initial-message.d.ts +18 -0
  23. package/vendor/@orient-cli/coding-agent/dist/cli/initial-message.d.ts.map +1 -0
  24. package/vendor/@orient-cli/coding-agent/dist/cli/initial-message.js.map +1 -0
  25. package/vendor/@orient-cli/coding-agent/dist/cli/list-models.d.ts.map +1 -0
  26. package/vendor/@orient-cli/coding-agent/dist/cli/list-models.js.map +1 -0
  27. package/vendor/@orient-cli/coding-agent/dist/cli/session-picker.d.ts.map +1 -0
  28. package/vendor/@orient-cli/coding-agent/dist/cli/session-picker.js.map +1 -0
  29. package/vendor/@orient-cli/coding-agent/dist/cli.d.ts.map +1 -0
  30. package/{node_modules → vendor}/@orient-cli/coding-agent/dist/cli.js +0 -0
  31. package/vendor/@orient-cli/coding-agent/dist/cli.js.map +1 -0
  32. package/vendor/@orient-cli/coding-agent/dist/config.d.ts.map +1 -0
  33. package/vendor/@orient-cli/coding-agent/dist/config.js +251 -0
  34. package/vendor/@orient-cli/coding-agent/dist/config.js.map +1 -0
  35. package/vendor/@orient-cli/coding-agent/dist/core/agent-session-runtime.d.ts.map +1 -0
  36. package/vendor/@orient-cli/coding-agent/dist/core/agent-session-runtime.js +231 -0
  37. package/vendor/@orient-cli/coding-agent/dist/core/agent-session-runtime.js.map +1 -0
  38. package/vendor/@orient-cli/coding-agent/dist/core/agent-session-services.d.ts.map +1 -0
  39. package/vendor/@orient-cli/coding-agent/dist/core/agent-session-services.js.map +1 -0
  40. package/vendor/@orient-cli/coding-agent/dist/core/agent-session.d.ts +617 -0
  41. package/vendor/@orient-cli/coding-agent/dist/core/agent-session.d.ts.map +1 -0
  42. package/vendor/@orient-cli/coding-agent/dist/core/agent-session.js +2477 -0
  43. package/vendor/@orient-cli/coding-agent/dist/core/agent-session.js.map +1 -0
  44. package/vendor/@orient-cli/coding-agent/dist/core/auth-storage.d.ts +136 -0
  45. package/vendor/@orient-cli/coding-agent/dist/core/auth-storage.d.ts.map +1 -0
  46. package/vendor/@orient-cli/coding-agent/dist/core/auth-storage.js +418 -0
  47. package/vendor/@orient-cli/coding-agent/dist/core/auth-storage.js.map +1 -0
  48. package/vendor/@orient-cli/coding-agent/dist/core/bash-executor.d.ts.map +1 -0
  49. package/vendor/@orient-cli/coding-agent/dist/core/bash-executor.js.map +1 -0
  50. package/vendor/@orient-cli/coding-agent/dist/core/compaction/branch-summarization.d.ts.map +1 -0
  51. package/vendor/@orient-cli/coding-agent/dist/core/compaction/branch-summarization.js.map +1 -0
  52. package/vendor/@orient-cli/coding-agent/dist/core/compaction/compaction.d.ts.map +1 -0
  53. package/vendor/@orient-cli/coding-agent/dist/core/compaction/compaction.js.map +1 -0
  54. package/vendor/@orient-cli/coding-agent/dist/core/compaction/index.d.ts.map +1 -0
  55. package/vendor/@orient-cli/coding-agent/dist/core/compaction/utils.d.ts.map +1 -0
  56. package/vendor/@orient-cli/coding-agent/dist/core/compaction/utils.js.map +1 -0
  57. package/vendor/@orient-cli/coding-agent/dist/core/defaults.d.ts.map +1 -0
  58. package/vendor/@orient-cli/coding-agent/dist/core/diagnostics.d.ts.map +1 -0
  59. package/vendor/@orient-cli/coding-agent/dist/core/event-bus.d.ts.map +1 -0
  60. package/vendor/@orient-cli/coding-agent/dist/core/event-bus.js.map +1 -0
  61. package/vendor/@orient-cli/coding-agent/dist/core/exec.d.ts.map +1 -0
  62. package/vendor/@orient-cli/coding-agent/dist/core/exec.js.map +1 -0
  63. package/vendor/@orient-cli/coding-agent/dist/core/export-html/ansi-to-html.d.ts.map +1 -0
  64. package/vendor/@orient-cli/coding-agent/dist/core/export-html/ansi-to-html.js.map +1 -0
  65. package/vendor/@orient-cli/coding-agent/dist/core/export-html/index.d.ts.map +1 -0
  66. package/vendor/@orient-cli/coding-agent/dist/core/export-html/index.js.map +1 -0
  67. package/vendor/@orient-cli/coding-agent/dist/core/export-html/tool-renderer.d.ts.map +1 -0
  68. package/vendor/@orient-cli/coding-agent/dist/core/export-html/tool-renderer.js.map +1 -0
  69. package/vendor/@orient-cli/coding-agent/dist/core/extensions/index.d.ts.map +1 -0
  70. package/vendor/@orient-cli/coding-agent/dist/core/extensions/loader.d.ts.map +1 -0
  71. package/vendor/@orient-cli/coding-agent/dist/core/extensions/loader.js.map +1 -0
  72. package/vendor/@orient-cli/coding-agent/dist/core/extensions/runner.d.ts.map +1 -0
  73. package/vendor/@orient-cli/coding-agent/dist/core/extensions/runner.js +695 -0
  74. package/vendor/@orient-cli/coding-agent/dist/core/extensions/runner.js.map +1 -0
  75. package/vendor/@orient-cli/coding-agent/dist/core/extensions/types.d.ts.map +1 -0
  76. package/vendor/@orient-cli/coding-agent/dist/core/extensions/types.js.map +1 -0
  77. package/vendor/@orient-cli/coding-agent/dist/core/extensions/wrapper.d.ts.map +1 -0
  78. package/vendor/@orient-cli/coding-agent/dist/core/extensions/wrapper.js.map +1 -0
  79. package/vendor/@orient-cli/coding-agent/dist/core/footer-data-provider.d.ts.map +1 -0
  80. package/vendor/@orient-cli/coding-agent/dist/core/footer-data-provider.js +313 -0
  81. package/vendor/@orient-cli/coding-agent/dist/core/footer-data-provider.js.map +1 -0
  82. package/vendor/@orient-cli/coding-agent/dist/core/index.d.ts.map +1 -0
  83. package/vendor/@orient-cli/coding-agent/dist/core/keybindings.d.ts +293 -0
  84. package/vendor/@orient-cli/coding-agent/dist/core/keybindings.d.ts.map +1 -0
  85. package/vendor/@orient-cli/coding-agent/dist/core/keybindings.js +247 -0
  86. package/vendor/@orient-cli/coding-agent/dist/core/keybindings.js.map +1 -0
  87. package/vendor/@orient-cli/coding-agent/dist/core/messages.d.ts.map +1 -0
  88. package/vendor/@orient-cli/coding-agent/dist/core/messages.js.map +1 -0
  89. package/vendor/@orient-cli/coding-agent/dist/core/model-registry.d.ts.map +1 -0
  90. package/vendor/@orient-cli/coding-agent/dist/core/model-registry.js +612 -0
  91. package/vendor/@orient-cli/coding-agent/dist/core/model-registry.js.map +1 -0
  92. package/vendor/@orient-cli/coding-agent/dist/core/model-resolver.d.ts.map +1 -0
  93. package/vendor/@orient-cli/coding-agent/dist/core/model-resolver.js.map +1 -0
  94. package/vendor/@orient-cli/coding-agent/dist/core/output-guard.d.ts.map +1 -0
  95. package/vendor/@orient-cli/coding-agent/dist/core/output-guard.js.map +1 -0
  96. package/vendor/@orient-cli/coding-agent/dist/core/package-manager.d.ts.map +1 -0
  97. package/vendor/@orient-cli/coding-agent/dist/core/package-manager.js +1823 -0
  98. package/vendor/@orient-cli/coding-agent/dist/core/package-manager.js.map +1 -0
  99. package/vendor/@orient-cli/coding-agent/dist/core/prompt-templates.d.ts.map +1 -0
  100. package/vendor/@orient-cli/coding-agent/dist/core/prompt-templates.js.map +1 -0
  101. package/vendor/@orient-cli/coding-agent/dist/core/resolve-config-value.d.ts.map +1 -0
  102. package/vendor/@orient-cli/coding-agent/dist/core/resolve-config-value.js.map +1 -0
  103. package/vendor/@orient-cli/coding-agent/dist/core/resource-loader.d.ts.map +1 -0
  104. package/vendor/@orient-cli/coding-agent/dist/core/resource-loader.js +681 -0
  105. package/vendor/@orient-cli/coding-agent/dist/core/resource-loader.js.map +1 -0
  106. package/vendor/@orient-cli/coding-agent/dist/core/sdk.d.ts.map +1 -0
  107. package/vendor/@orient-cli/coding-agent/dist/core/sdk.js.map +1 -0
  108. package/vendor/@orient-cli/coding-agent/dist/core/session-cwd.d.ts.map +1 -0
  109. package/vendor/@orient-cli/coding-agent/dist/core/session-cwd.js +37 -0
  110. package/vendor/@orient-cli/coding-agent/dist/core/session-cwd.js.map +1 -0
  111. package/vendor/@orient-cli/coding-agent/dist/core/session-manager.d.ts.map +1 -0
  112. package/vendor/@orient-cli/coding-agent/dist/core/session-manager.js +1101 -0
  113. package/vendor/@orient-cli/coding-agent/dist/core/session-manager.js.map +1 -0
  114. package/vendor/@orient-cli/coding-agent/dist/core/settings-manager.d.ts.map +1 -0
  115. package/vendor/@orient-cli/coding-agent/dist/core/settings-manager.js +699 -0
  116. package/vendor/@orient-cli/coding-agent/dist/core/settings-manager.js.map +1 -0
  117. package/vendor/@orient-cli/coding-agent/dist/core/skills.d.ts.map +1 -0
  118. package/vendor/@orient-cli/coding-agent/dist/core/skills.js.map +1 -0
  119. package/vendor/@orient-cli/coding-agent/dist/core/slash-commands.d.ts.map +1 -0
  120. package/vendor/@orient-cli/coding-agent/dist/core/source-info.d.ts.map +1 -0
  121. package/vendor/@orient-cli/coding-agent/dist/core/source-info.js.map +1 -0
  122. package/vendor/@orient-cli/coding-agent/dist/core/system-prompt.d.ts.map +1 -0
  123. package/vendor/@orient-cli/coding-agent/dist/core/system-prompt.js.map +1 -0
  124. package/vendor/@orient-cli/coding-agent/dist/core/timings.d.ts.map +1 -0
  125. package/vendor/@orient-cli/coding-agent/dist/core/timings.js.map +1 -0
  126. package/vendor/@orient-cli/coding-agent/dist/core/tools/bash.d.ts.map +1 -0
  127. package/vendor/@orient-cli/coding-agent/dist/core/tools/bash.js +355 -0
  128. package/vendor/@orient-cli/coding-agent/dist/core/tools/bash.js.map +1 -0
  129. package/vendor/@orient-cli/coding-agent/dist/core/tools/edit-diff.d.ts.map +1 -0
  130. package/vendor/@orient-cli/coding-agent/dist/core/tools/edit-diff.js.map +1 -0
  131. package/vendor/@orient-cli/coding-agent/dist/core/tools/edit.d.ts.map +1 -0
  132. package/vendor/@orient-cli/coding-agent/dist/core/tools/edit.js.map +1 -0
  133. package/vendor/@orient-cli/coding-agent/dist/core/tools/file-mutation-queue.d.ts.map +1 -0
  134. package/vendor/@orient-cli/coding-agent/dist/core/tools/file-mutation-queue.js.map +1 -0
  135. package/vendor/@orient-cli/coding-agent/dist/core/tools/find.d.ts.map +1 -0
  136. package/vendor/@orient-cli/coding-agent/dist/core/tools/find.js.map +1 -0
  137. package/vendor/@orient-cli/coding-agent/dist/core/tools/grep.d.ts.map +1 -0
  138. package/vendor/@orient-cli/coding-agent/dist/core/tools/grep.js.map +1 -0
  139. package/vendor/@orient-cli/coding-agent/dist/core/tools/index.d.ts.map +1 -0
  140. package/vendor/@orient-cli/coding-agent/dist/core/tools/index.js.map +1 -0
  141. package/vendor/@orient-cli/coding-agent/dist/core/tools/ls.d.ts.map +1 -0
  142. package/vendor/@orient-cli/coding-agent/dist/core/tools/ls.js.map +1 -0
  143. package/vendor/@orient-cli/coding-agent/dist/core/tools/path-utils.d.ts.map +1 -0
  144. package/vendor/@orient-cli/coding-agent/dist/core/tools/path-utils.js.map +1 -0
  145. package/vendor/@orient-cli/coding-agent/dist/core/tools/read.d.ts.map +1 -0
  146. package/vendor/@orient-cli/coding-agent/dist/core/tools/read.js.map +1 -0
  147. package/vendor/@orient-cli/coding-agent/dist/core/tools/render-utils.d.ts.map +1 -0
  148. package/vendor/@orient-cli/coding-agent/dist/core/tools/render-utils.js.map +1 -0
  149. package/vendor/@orient-cli/coding-agent/dist/core/tools/tool-definition-wrapper.d.ts.map +1 -0
  150. package/vendor/@orient-cli/coding-agent/dist/core/tools/tool-definition-wrapper.js.map +1 -0
  151. package/vendor/@orient-cli/coding-agent/dist/core/tools/truncate.d.ts.map +1 -0
  152. package/vendor/@orient-cli/coding-agent/dist/core/tools/truncate.js.map +1 -0
  153. package/vendor/@orient-cli/coding-agent/dist/core/tools/write.d.ts.map +1 -0
  154. package/vendor/@orient-cli/coding-agent/dist/core/tools/write.js +215 -0
  155. package/vendor/@orient-cli/coding-agent/dist/core/tools/write.js.map +1 -0
  156. package/vendor/@orient-cli/coding-agent/dist/index.d.ts.map +1 -0
  157. package/vendor/@orient-cli/coding-agent/dist/main.d.ts.map +1 -0
  158. package/vendor/@orient-cli/coding-agent/dist/main.js.map +1 -0
  159. package/vendor/@orient-cli/coding-agent/dist/migrations.d.ts.map +1 -0
  160. package/vendor/@orient-cli/coding-agent/dist/migrations.js.map +1 -0
  161. package/vendor/@orient-cli/coding-agent/dist/modes/index.d.ts.map +1 -0
  162. package/vendor/@orient-cli/coding-agent/dist/modes/interactive/components/assistant-message.d.ts.map +1 -0
  163. package/vendor/@orient-cli/coding-agent/dist/modes/interactive/components/assistant-message.js +102 -0
  164. package/vendor/@orient-cli/coding-agent/dist/modes/interactive/components/assistant-message.js.map +1 -0
  165. package/vendor/@orient-cli/coding-agent/dist/modes/interactive/components/bash-execution.d.ts.map +1 -0
  166. package/vendor/@orient-cli/coding-agent/dist/modes/interactive/components/bash-execution.js +170 -0
  167. package/vendor/@orient-cli/coding-agent/dist/modes/interactive/components/bash-execution.js.map +1 -0
  168. package/vendor/@orient-cli/coding-agent/dist/modes/interactive/components/bordered-loader.d.ts.map +1 -0
  169. package/vendor/@orient-cli/coding-agent/dist/modes/interactive/components/bordered-loader.js +48 -0
  170. package/vendor/@orient-cli/coding-agent/dist/modes/interactive/components/bordered-loader.js.map +1 -0
  171. package/vendor/@orient-cli/coding-agent/dist/modes/interactive/components/branch-summary-message.d.ts.map +1 -0
  172. package/vendor/@orient-cli/coding-agent/dist/modes/interactive/components/branch-summary-message.js +42 -0
  173. package/vendor/@orient-cli/coding-agent/dist/modes/interactive/components/branch-summary-message.js.map +1 -0
  174. package/vendor/@orient-cli/coding-agent/dist/modes/interactive/components/compaction-summary-message.d.ts.map +1 -0
  175. package/vendor/@orient-cli/coding-agent/dist/modes/interactive/components/compaction-summary-message.js +43 -0
  176. package/vendor/@orient-cli/coding-agent/dist/modes/interactive/components/compaction-summary-message.js.map +1 -0
  177. package/vendor/@orient-cli/coding-agent/dist/modes/interactive/components/config-selector.d.ts.map +1 -0
  178. package/vendor/@orient-cli/coding-agent/dist/modes/interactive/components/config-selector.js +470 -0
  179. package/vendor/@orient-cli/coding-agent/dist/modes/interactive/components/config-selector.js.map +1 -0
  180. package/vendor/@orient-cli/coding-agent/dist/modes/interactive/components/countdown-timer.d.ts.map +1 -0
  181. package/vendor/@orient-cli/coding-agent/dist/modes/interactive/components/countdown-timer.js +28 -0
  182. package/vendor/@orient-cli/coding-agent/dist/modes/interactive/components/countdown-timer.js.map +1 -0
  183. package/vendor/@orient-cli/coding-agent/dist/modes/interactive/components/custom-editor.d.ts.map +1 -0
  184. package/vendor/@orient-cli/coding-agent/dist/modes/interactive/components/custom-editor.js +63 -0
  185. package/vendor/@orient-cli/coding-agent/dist/modes/interactive/components/custom-editor.js.map +1 -0
  186. package/vendor/@orient-cli/coding-agent/dist/modes/interactive/components/custom-message.d.ts.map +1 -0
  187. package/vendor/@orient-cli/coding-agent/dist/modes/interactive/components/custom-message.js +74 -0
  188. package/vendor/@orient-cli/coding-agent/dist/modes/interactive/components/custom-message.js.map +1 -0
  189. package/vendor/@orient-cli/coding-agent/dist/modes/interactive/components/diff.d.ts.map +1 -0
  190. package/vendor/@orient-cli/coding-agent/dist/modes/interactive/components/diff.js.map +1 -0
  191. package/vendor/@orient-cli/coding-agent/dist/modes/interactive/components/dynamic-border.d.ts.map +1 -0
  192. package/vendor/@orient-cli/coding-agent/dist/modes/interactive/components/dynamic-border.js +20 -0
  193. package/vendor/@orient-cli/coding-agent/dist/modes/interactive/components/dynamic-border.js.map +1 -0
  194. package/vendor/@orient-cli/coding-agent/dist/modes/interactive/components/extension-editor.d.ts.map +1 -0
  195. package/vendor/@orient-cli/coding-agent/dist/modes/interactive/components/extension-editor.js +106 -0
  196. package/vendor/@orient-cli/coding-agent/dist/modes/interactive/components/extension-editor.js.map +1 -0
  197. package/vendor/@orient-cli/coding-agent/dist/modes/interactive/components/extension-input.d.ts.map +1 -0
  198. package/vendor/@orient-cli/coding-agent/dist/modes/interactive/components/extension-input.js +55 -0
  199. package/vendor/@orient-cli/coding-agent/dist/modes/interactive/components/extension-input.js.map +1 -0
  200. package/vendor/@orient-cli/coding-agent/dist/modes/interactive/components/extension-selector.d.ts.map +1 -0
  201. package/vendor/@orient-cli/coding-agent/dist/modes/interactive/components/extension-selector.js +71 -0
  202. package/vendor/@orient-cli/coding-agent/dist/modes/interactive/components/extension-selector.js.map +1 -0
  203. package/vendor/@orient-cli/coding-agent/dist/modes/interactive/components/footer.d.ts.map +1 -0
  204. package/vendor/@orient-cli/coding-agent/dist/modes/interactive/components/footer.js +199 -0
  205. package/vendor/@orient-cli/coding-agent/dist/modes/interactive/components/footer.js.map +1 -0
  206. package/vendor/@orient-cli/coding-agent/dist/modes/interactive/components/index.d.ts.map +1 -0
  207. package/vendor/@orient-cli/coding-agent/dist/modes/interactive/components/index.js.map +1 -0
  208. package/vendor/@orient-cli/coding-agent/dist/modes/interactive/components/keybinding-hints.d.ts.map +1 -0
  209. package/vendor/@orient-cli/coding-agent/dist/modes/interactive/components/keybinding-hints.js.map +1 -0
  210. package/vendor/@orient-cli/coding-agent/dist/modes/interactive/components/login-dialog.d.ts.map +1 -0
  211. package/vendor/@orient-cli/coding-agent/dist/modes/interactive/components/login-dialog.js +139 -0
  212. package/vendor/@orient-cli/coding-agent/dist/modes/interactive/components/login-dialog.js.map +1 -0
  213. package/vendor/@orient-cli/coding-agent/dist/modes/interactive/components/model-selector.d.ts.map +1 -0
  214. package/vendor/@orient-cli/coding-agent/dist/modes/interactive/components/model-selector.js +263 -0
  215. package/vendor/@orient-cli/coding-agent/dist/modes/interactive/components/model-selector.js.map +1 -0
  216. package/vendor/@orient-cli/coding-agent/dist/modes/interactive/components/oauth-selector.d.ts.map +1 -0
  217. package/vendor/@orient-cli/coding-agent/dist/modes/interactive/components/oauth-selector.js +92 -0
  218. package/vendor/@orient-cli/coding-agent/dist/modes/interactive/components/oauth-selector.js.map +1 -0
  219. package/vendor/@orient-cli/coding-agent/dist/modes/interactive/components/orient-banner.d.ts.map +1 -0
  220. package/vendor/@orient-cli/coding-agent/dist/modes/interactive/components/orient-banner.js.map +1 -0
  221. package/vendor/@orient-cli/coding-agent/dist/modes/interactive/components/scoped-models-selector.d.ts.map +1 -0
  222. package/vendor/@orient-cli/coding-agent/dist/modes/interactive/components/scoped-models-selector.js +271 -0
  223. package/vendor/@orient-cli/coding-agent/dist/modes/interactive/components/scoped-models-selector.js.map +1 -0
  224. package/vendor/@orient-cli/coding-agent/dist/modes/interactive/components/session-selector-search.d.ts.map +1 -0
  225. package/vendor/@orient-cli/coding-agent/dist/modes/interactive/components/session-selector-search.js.map +1 -0
  226. package/vendor/@orient-cli/coding-agent/dist/modes/interactive/components/session-selector.d.ts.map +1 -0
  227. package/vendor/@orient-cli/coding-agent/dist/modes/interactive/components/session-selector.js +823 -0
  228. package/vendor/@orient-cli/coding-agent/dist/modes/interactive/components/session-selector.js.map +1 -0
  229. package/vendor/@orient-cli/coding-agent/dist/modes/interactive/components/settings-selector.d.ts.map +1 -0
  230. package/vendor/@orient-cli/coding-agent/dist/modes/interactive/components/settings-selector.js +299 -0
  231. package/vendor/@orient-cli/coding-agent/dist/modes/interactive/components/settings-selector.js.map +1 -0
  232. package/vendor/@orient-cli/coding-agent/dist/modes/interactive/components/show-images-selector.d.ts.map +1 -0
  233. package/vendor/@orient-cli/coding-agent/dist/modes/interactive/components/show-images-selector.js +38 -0
  234. package/vendor/@orient-cli/coding-agent/dist/modes/interactive/components/show-images-selector.js.map +1 -0
  235. package/vendor/@orient-cli/coding-agent/dist/modes/interactive/components/skill-invocation-message.d.ts.map +1 -0
  236. package/vendor/@orient-cli/coding-agent/dist/modes/interactive/components/skill-invocation-message.js +45 -0
  237. package/vendor/@orient-cli/coding-agent/dist/modes/interactive/components/skill-invocation-message.js.map +1 -0
  238. package/vendor/@orient-cli/coding-agent/dist/modes/interactive/components/theme-selector.d.ts.map +1 -0
  239. package/vendor/@orient-cli/coding-agent/dist/modes/interactive/components/theme-selector.js +48 -0
  240. package/vendor/@orient-cli/coding-agent/dist/modes/interactive/components/theme-selector.js.map +1 -0
  241. package/vendor/@orient-cli/coding-agent/dist/modes/interactive/components/thinking-selector.d.ts.map +1 -0
  242. package/vendor/@orient-cli/coding-agent/dist/modes/interactive/components/thinking-selector.js +50 -0
  243. package/vendor/@orient-cli/coding-agent/dist/modes/interactive/components/thinking-selector.js.map +1 -0
  244. package/vendor/@orient-cli/coding-agent/dist/modes/interactive/components/tool-execution.d.ts.map +1 -0
  245. package/vendor/@orient-cli/coding-agent/dist/modes/interactive/components/tool-execution.js +261 -0
  246. package/vendor/@orient-cli/coding-agent/dist/modes/interactive/components/tool-execution.js.map +1 -0
  247. package/vendor/@orient-cli/coding-agent/dist/modes/interactive/components/tree-selector.d.ts.map +1 -0
  248. package/vendor/@orient-cli/coding-agent/dist/modes/interactive/components/tree-selector.js +1070 -0
  249. package/vendor/@orient-cli/coding-agent/dist/modes/interactive/components/tree-selector.js.map +1 -0
  250. package/vendor/@orient-cli/coding-agent/dist/modes/interactive/components/user-message-selector.d.ts.map +1 -0
  251. package/vendor/@orient-cli/coding-agent/dist/modes/interactive/components/user-message-selector.js +110 -0
  252. package/vendor/@orient-cli/coding-agent/dist/modes/interactive/components/user-message-selector.js.map +1 -0
  253. package/vendor/@orient-cli/coding-agent/dist/modes/interactive/components/user-message.d.ts.map +1 -0
  254. package/vendor/@orient-cli/coding-agent/dist/modes/interactive/components/user-message.js.map +1 -0
  255. package/vendor/@orient-cli/coding-agent/dist/modes/interactive/components/visual-truncate.d.ts.map +1 -0
  256. package/vendor/@orient-cli/coding-agent/dist/modes/interactive/components/visual-truncate.js.map +1 -0
  257. package/vendor/@orient-cli/coding-agent/dist/modes/interactive/interactive-mode.d.ts +359 -0
  258. package/vendor/@orient-cli/coding-agent/dist/modes/interactive/interactive-mode.d.ts.map +1 -0
  259. package/vendor/@orient-cli/coding-agent/dist/modes/interactive/interactive-mode.js +4081 -0
  260. package/vendor/@orient-cli/coding-agent/dist/modes/interactive/interactive-mode.js.map +1 -0
  261. package/vendor/@orient-cli/coding-agent/dist/modes/interactive/theme/theme.d.ts.map +1 -0
  262. package/vendor/@orient-cli/coding-agent/dist/modes/interactive/theme/theme.js +973 -0
  263. package/vendor/@orient-cli/coding-agent/dist/modes/interactive/theme/theme.js.map +1 -0
  264. package/vendor/@orient-cli/coding-agent/dist/modes/print-mode.d.ts.map +1 -0
  265. package/vendor/@orient-cli/coding-agent/dist/modes/print-mode.js.map +1 -0
  266. package/vendor/@orient-cli/coding-agent/dist/modes/rpc/jsonl.d.ts.map +1 -0
  267. package/vendor/@orient-cli/coding-agent/dist/modes/rpc/jsonl.js.map +1 -0
  268. package/vendor/@orient-cli/coding-agent/dist/modes/rpc/rpc-client.d.ts.map +1 -0
  269. package/vendor/@orient-cli/coding-agent/dist/modes/rpc/rpc-client.js +401 -0
  270. package/vendor/@orient-cli/coding-agent/dist/modes/rpc/rpc-client.js.map +1 -0
  271. package/vendor/@orient-cli/coding-agent/dist/modes/rpc/rpc-mode.d.ts.map +1 -0
  272. package/vendor/@orient-cli/coding-agent/dist/modes/rpc/rpc-mode.js.map +1 -0
  273. package/vendor/@orient-cli/coding-agent/dist/modes/rpc/rpc-types.d.ts.map +1 -0
  274. package/vendor/@orient-cli/coding-agent/dist/package-manager-cli.d.ts.map +1 -0
  275. package/vendor/@orient-cli/coding-agent/dist/package-manager-cli.js.map +1 -0
  276. package/vendor/@orient-cli/coding-agent/dist/utils/changelog.d.ts.map +1 -0
  277. package/vendor/@orient-cli/coding-agent/dist/utils/changelog.js.map +1 -0
  278. package/vendor/@orient-cli/coding-agent/dist/utils/child-process.d.ts.map +1 -0
  279. package/vendor/@orient-cli/coding-agent/dist/utils/child-process.js.map +1 -0
  280. package/vendor/@orient-cli/coding-agent/dist/utils/clipboard-image.d.ts.map +1 -0
  281. package/vendor/@orient-cli/coding-agent/dist/utils/clipboard-image.js.map +1 -0
  282. package/vendor/@orient-cli/coding-agent/dist/utils/clipboard-native.d.ts.map +1 -0
  283. package/vendor/@orient-cli/coding-agent/dist/utils/clipboard-native.js.map +1 -0
  284. package/vendor/@orient-cli/coding-agent/dist/utils/clipboard.d.ts.map +1 -0
  285. package/vendor/@orient-cli/coding-agent/dist/utils/clipboard.js.map +1 -0
  286. package/vendor/@orient-cli/coding-agent/dist/utils/exif-orientation.d.ts.map +1 -0
  287. package/vendor/@orient-cli/coding-agent/dist/utils/exif-orientation.js.map +1 -0
  288. package/vendor/@orient-cli/coding-agent/dist/utils/frontmatter.d.ts.map +1 -0
  289. package/vendor/@orient-cli/coding-agent/dist/utils/frontmatter.js.map +1 -0
  290. package/vendor/@orient-cli/coding-agent/dist/utils/git.d.ts.map +1 -0
  291. package/vendor/@orient-cli/coding-agent/dist/utils/git.js.map +1 -0
  292. package/vendor/@orient-cli/coding-agent/dist/utils/image-convert.d.ts.map +1 -0
  293. package/vendor/@orient-cli/coding-agent/dist/utils/image-convert.js.map +1 -0
  294. package/vendor/@orient-cli/coding-agent/dist/utils/image-resize.d.ts.map +1 -0
  295. package/vendor/@orient-cli/coding-agent/dist/utils/image-resize.js.map +1 -0
  296. package/vendor/@orient-cli/coding-agent/dist/utils/mime.d.ts.map +1 -0
  297. package/vendor/@orient-cli/coding-agent/dist/utils/mime.js.map +1 -0
  298. package/vendor/@orient-cli/coding-agent/dist/utils/paths.d.ts.map +1 -0
  299. package/vendor/@orient-cli/coding-agent/dist/utils/paths.js.map +1 -0
  300. package/vendor/@orient-cli/coding-agent/dist/utils/photon.d.ts.map +1 -0
  301. package/vendor/@orient-cli/coding-agent/dist/utils/photon.js.map +1 -0
  302. package/vendor/@orient-cli/coding-agent/dist/utils/shell.d.ts.map +1 -0
  303. package/vendor/@orient-cli/coding-agent/dist/utils/shell.js.map +1 -0
  304. package/vendor/@orient-cli/coding-agent/dist/utils/sleep.d.ts.map +1 -0
  305. package/vendor/@orient-cli/coding-agent/dist/utils/sleep.js.map +1 -0
  306. package/vendor/@orient-cli/coding-agent/dist/utils/tools-manager.d.ts.map +1 -0
  307. package/vendor/@orient-cli/coding-agent/dist/utils/tools-manager.js.map +1 -0
  308. package/node_modules/@orient-cli/agent-core/README.md +0 -456
  309. package/node_modules/@orient-cli/ai/README.md +0 -1315
  310. package/node_modules/@orient-cli/coding-agent/README.md +0 -618
  311. package/node_modules/@orient-cli/coding-agent/dist/bun/cli.d.ts.map +0 -1
  312. package/node_modules/@orient-cli/coding-agent/dist/bun/cli.js.map +0 -1
  313. package/node_modules/@orient-cli/coding-agent/dist/bun/register-bedrock.d.ts.map +0 -1
  314. package/node_modules/@orient-cli/coding-agent/dist/cli/args.d.ts.map +0 -1
  315. package/node_modules/@orient-cli/coding-agent/dist/cli/args.js.map +0 -1
  316. package/node_modules/@orient-cli/coding-agent/dist/cli/config-selector.d.ts.map +0 -1
  317. package/node_modules/@orient-cli/coding-agent/dist/cli/config-selector.js.map +0 -1
  318. package/node_modules/@orient-cli/coding-agent/dist/cli/file-processor.d.ts.map +0 -1
  319. package/node_modules/@orient-cli/coding-agent/dist/cli/file-processor.js.map +0 -1
  320. package/node_modules/@orient-cli/coding-agent/dist/cli/initial-message.d.ts +0 -18
  321. package/node_modules/@orient-cli/coding-agent/dist/cli/initial-message.d.ts.map +0 -1
  322. package/node_modules/@orient-cli/coding-agent/dist/cli/initial-message.js.map +0 -1
  323. package/node_modules/@orient-cli/coding-agent/dist/cli/list-models.d.ts.map +0 -1
  324. package/node_modules/@orient-cli/coding-agent/dist/cli/list-models.js.map +0 -1
  325. package/node_modules/@orient-cli/coding-agent/dist/cli/session-picker.d.ts.map +0 -1
  326. package/node_modules/@orient-cli/coding-agent/dist/cli/session-picker.js.map +0 -1
  327. package/node_modules/@orient-cli/coding-agent/dist/cli.d.ts.map +0 -1
  328. package/node_modules/@orient-cli/coding-agent/dist/cli.js.map +0 -1
  329. package/node_modules/@orient-cli/coding-agent/dist/config.d.ts.map +0 -1
  330. package/node_modules/@orient-cli/coding-agent/dist/config.js +0 -229
  331. package/node_modules/@orient-cli/coding-agent/dist/config.js.map +0 -1
  332. package/node_modules/@orient-cli/coding-agent/dist/core/agent-session-runtime.d.ts.map +0 -1
  333. package/node_modules/@orient-cli/coding-agent/dist/core/agent-session-runtime.js +0 -236
  334. package/node_modules/@orient-cli/coding-agent/dist/core/agent-session-runtime.js.map +0 -1
  335. package/node_modules/@orient-cli/coding-agent/dist/core/agent-session-services.d.ts.map +0 -1
  336. package/node_modules/@orient-cli/coding-agent/dist/core/agent-session-services.js.map +0 -1
  337. package/node_modules/@orient-cli/coding-agent/dist/core/agent-session.d.ts +0 -585
  338. package/node_modules/@orient-cli/coding-agent/dist/core/agent-session.d.ts.map +0 -1
  339. package/node_modules/@orient-cli/coding-agent/dist/core/agent-session.js +0 -2497
  340. package/node_modules/@orient-cli/coding-agent/dist/core/agent-session.js.map +0 -1
  341. package/node_modules/@orient-cli/coding-agent/dist/core/auth-storage.d.ts +0 -132
  342. package/node_modules/@orient-cli/coding-agent/dist/core/auth-storage.d.ts.map +0 -1
  343. package/node_modules/@orient-cli/coding-agent/dist/core/auth-storage.js +0 -422
  344. package/node_modules/@orient-cli/coding-agent/dist/core/auth-storage.js.map +0 -1
  345. package/node_modules/@orient-cli/coding-agent/dist/core/bash-executor.d.ts.map +0 -1
  346. package/node_modules/@orient-cli/coding-agent/dist/core/bash-executor.js.map +0 -1
  347. package/node_modules/@orient-cli/coding-agent/dist/core/compaction/branch-summarization.d.ts.map +0 -1
  348. package/node_modules/@orient-cli/coding-agent/dist/core/compaction/branch-summarization.js.map +0 -1
  349. package/node_modules/@orient-cli/coding-agent/dist/core/compaction/compaction.d.ts.map +0 -1
  350. package/node_modules/@orient-cli/coding-agent/dist/core/compaction/compaction.js.map +0 -1
  351. package/node_modules/@orient-cli/coding-agent/dist/core/compaction/index.d.ts.map +0 -1
  352. package/node_modules/@orient-cli/coding-agent/dist/core/compaction/utils.d.ts.map +0 -1
  353. package/node_modules/@orient-cli/coding-agent/dist/core/compaction/utils.js.map +0 -1
  354. package/node_modules/@orient-cli/coding-agent/dist/core/defaults.d.ts.map +0 -1
  355. package/node_modules/@orient-cli/coding-agent/dist/core/diagnostics.d.ts.map +0 -1
  356. package/node_modules/@orient-cli/coding-agent/dist/core/event-bus.d.ts.map +0 -1
  357. package/node_modules/@orient-cli/coding-agent/dist/core/event-bus.js.map +0 -1
  358. package/node_modules/@orient-cli/coding-agent/dist/core/exec.d.ts.map +0 -1
  359. package/node_modules/@orient-cli/coding-agent/dist/core/exec.js.map +0 -1
  360. package/node_modules/@orient-cli/coding-agent/dist/core/export-html/ansi-to-html.d.ts.map +0 -1
  361. package/node_modules/@orient-cli/coding-agent/dist/core/export-html/ansi-to-html.js.map +0 -1
  362. package/node_modules/@orient-cli/coding-agent/dist/core/export-html/index.d.ts.map +0 -1
  363. package/node_modules/@orient-cli/coding-agent/dist/core/export-html/index.js.map +0 -1
  364. package/node_modules/@orient-cli/coding-agent/dist/core/export-html/template.css +0 -1001
  365. package/node_modules/@orient-cli/coding-agent/dist/core/export-html/template.html +0 -55
  366. package/node_modules/@orient-cli/coding-agent/dist/core/export-html/template.js +0 -1690
  367. package/node_modules/@orient-cli/coding-agent/dist/core/export-html/tool-renderer.d.ts.map +0 -1
  368. package/node_modules/@orient-cli/coding-agent/dist/core/export-html/tool-renderer.js.map +0 -1
  369. package/node_modules/@orient-cli/coding-agent/dist/core/export-html/vendor/highlight.min.js +0 -1213
  370. package/node_modules/@orient-cli/coding-agent/dist/core/export-html/vendor/marked.min.js +0 -6
  371. package/node_modules/@orient-cli/coding-agent/dist/core/extensions/index.d.ts.map +0 -1
  372. package/node_modules/@orient-cli/coding-agent/dist/core/extensions/loader.d.ts.map +0 -1
  373. package/node_modules/@orient-cli/coding-agent/dist/core/extensions/loader.js.map +0 -1
  374. package/node_modules/@orient-cli/coding-agent/dist/core/extensions/runner.d.ts.map +0 -1
  375. package/node_modules/@orient-cli/coding-agent/dist/core/extensions/runner.js +0 -701
  376. package/node_modules/@orient-cli/coding-agent/dist/core/extensions/runner.js.map +0 -1
  377. package/node_modules/@orient-cli/coding-agent/dist/core/extensions/types.d.ts.map +0 -1
  378. package/node_modules/@orient-cli/coding-agent/dist/core/extensions/types.js.map +0 -1
  379. package/node_modules/@orient-cli/coding-agent/dist/core/extensions/wrapper.d.ts.map +0 -1
  380. package/node_modules/@orient-cli/coding-agent/dist/core/extensions/wrapper.js.map +0 -1
  381. package/node_modules/@orient-cli/coding-agent/dist/core/footer-data-provider.d.ts.map +0 -1
  382. package/node_modules/@orient-cli/coding-agent/dist/core/footer-data-provider.js +0 -314
  383. package/node_modules/@orient-cli/coding-agent/dist/core/footer-data-provider.js.map +0 -1
  384. package/node_modules/@orient-cli/coding-agent/dist/core/index.d.ts.map +0 -1
  385. package/node_modules/@orient-cli/coding-agent/dist/core/keybindings.d.ts +0 -293
  386. package/node_modules/@orient-cli/coding-agent/dist/core/keybindings.d.ts.map +0 -1
  387. package/node_modules/@orient-cli/coding-agent/dist/core/keybindings.js +0 -248
  388. package/node_modules/@orient-cli/coding-agent/dist/core/keybindings.js.map +0 -1
  389. package/node_modules/@orient-cli/coding-agent/dist/core/messages.d.ts.map +0 -1
  390. package/node_modules/@orient-cli/coding-agent/dist/core/messages.js.map +0 -1
  391. package/node_modules/@orient-cli/coding-agent/dist/core/model-registry.d.ts.map +0 -1
  392. package/node_modules/@orient-cli/coding-agent/dist/core/model-registry.js +0 -612
  393. package/node_modules/@orient-cli/coding-agent/dist/core/model-registry.js.map +0 -1
  394. package/node_modules/@orient-cli/coding-agent/dist/core/model-resolver.d.ts.map +0 -1
  395. package/node_modules/@orient-cli/coding-agent/dist/core/model-resolver.js.map +0 -1
  396. package/node_modules/@orient-cli/coding-agent/dist/core/output-guard.d.ts.map +0 -1
  397. package/node_modules/@orient-cli/coding-agent/dist/core/output-guard.js.map +0 -1
  398. package/node_modules/@orient-cli/coding-agent/dist/core/package-manager.d.ts.map +0 -1
  399. package/node_modules/@orient-cli/coding-agent/dist/core/package-manager.js +0 -1829
  400. package/node_modules/@orient-cli/coding-agent/dist/core/package-manager.js.map +0 -1
  401. package/node_modules/@orient-cli/coding-agent/dist/core/prompt-templates.d.ts.map +0 -1
  402. package/node_modules/@orient-cli/coding-agent/dist/core/prompt-templates.js.map +0 -1
  403. package/node_modules/@orient-cli/coding-agent/dist/core/resolve-config-value.d.ts.map +0 -1
  404. package/node_modules/@orient-cli/coding-agent/dist/core/resolve-config-value.js.map +0 -1
  405. package/node_modules/@orient-cli/coding-agent/dist/core/resource-loader.d.ts.map +0 -1
  406. package/node_modules/@orient-cli/coding-agent/dist/core/resource-loader.js +0 -720
  407. package/node_modules/@orient-cli/coding-agent/dist/core/resource-loader.js.map +0 -1
  408. package/node_modules/@orient-cli/coding-agent/dist/core/sdk.d.ts.map +0 -1
  409. package/node_modules/@orient-cli/coding-agent/dist/core/sdk.js.map +0 -1
  410. package/node_modules/@orient-cli/coding-agent/dist/core/session-cwd.d.ts.map +0 -1
  411. package/node_modules/@orient-cli/coding-agent/dist/core/session-cwd.js +0 -38
  412. package/node_modules/@orient-cli/coding-agent/dist/core/session-cwd.js.map +0 -1
  413. package/node_modules/@orient-cli/coding-agent/dist/core/session-manager.d.ts.map +0 -1
  414. package/node_modules/@orient-cli/coding-agent/dist/core/session-manager.js +0 -1105
  415. package/node_modules/@orient-cli/coding-agent/dist/core/session-manager.js.map +0 -1
  416. package/node_modules/@orient-cli/coding-agent/dist/core/settings-manager.d.ts.map +0 -1
  417. package/node_modules/@orient-cli/coding-agent/dist/core/settings-manager.js +0 -708
  418. package/node_modules/@orient-cli/coding-agent/dist/core/settings-manager.js.map +0 -1
  419. package/node_modules/@orient-cli/coding-agent/dist/core/skills.d.ts.map +0 -1
  420. package/node_modules/@orient-cli/coding-agent/dist/core/skills.js.map +0 -1
  421. package/node_modules/@orient-cli/coding-agent/dist/core/slash-commands.d.ts.map +0 -1
  422. package/node_modules/@orient-cli/coding-agent/dist/core/source-info.d.ts.map +0 -1
  423. package/node_modules/@orient-cli/coding-agent/dist/core/source-info.js.map +0 -1
  424. package/node_modules/@orient-cli/coding-agent/dist/core/system-prompt.d.ts.map +0 -1
  425. package/node_modules/@orient-cli/coding-agent/dist/core/system-prompt.js.map +0 -1
  426. package/node_modules/@orient-cli/coding-agent/dist/core/timings.d.ts.map +0 -1
  427. package/node_modules/@orient-cli/coding-agent/dist/core/timings.js.map +0 -1
  428. package/node_modules/@orient-cli/coding-agent/dist/core/tools/bash.d.ts.map +0 -1
  429. package/node_modules/@orient-cli/coding-agent/dist/core/tools/bash.js +0 -352
  430. package/node_modules/@orient-cli/coding-agent/dist/core/tools/bash.js.map +0 -1
  431. package/node_modules/@orient-cli/coding-agent/dist/core/tools/edit-diff.d.ts.map +0 -1
  432. package/node_modules/@orient-cli/coding-agent/dist/core/tools/edit-diff.js.map +0 -1
  433. package/node_modules/@orient-cli/coding-agent/dist/core/tools/edit.d.ts.map +0 -1
  434. package/node_modules/@orient-cli/coding-agent/dist/core/tools/edit.js.map +0 -1
  435. package/node_modules/@orient-cli/coding-agent/dist/core/tools/file-mutation-queue.d.ts.map +0 -1
  436. package/node_modules/@orient-cli/coding-agent/dist/core/tools/file-mutation-queue.js.map +0 -1
  437. package/node_modules/@orient-cli/coding-agent/dist/core/tools/find.d.ts.map +0 -1
  438. package/node_modules/@orient-cli/coding-agent/dist/core/tools/find.js.map +0 -1
  439. package/node_modules/@orient-cli/coding-agent/dist/core/tools/grep.d.ts.map +0 -1
  440. package/node_modules/@orient-cli/coding-agent/dist/core/tools/grep.js.map +0 -1
  441. package/node_modules/@orient-cli/coding-agent/dist/core/tools/index.d.ts.map +0 -1
  442. package/node_modules/@orient-cli/coding-agent/dist/core/tools/index.js.map +0 -1
  443. package/node_modules/@orient-cli/coding-agent/dist/core/tools/ls.d.ts.map +0 -1
  444. package/node_modules/@orient-cli/coding-agent/dist/core/tools/ls.js.map +0 -1
  445. package/node_modules/@orient-cli/coding-agent/dist/core/tools/path-utils.d.ts.map +0 -1
  446. package/node_modules/@orient-cli/coding-agent/dist/core/tools/path-utils.js.map +0 -1
  447. package/node_modules/@orient-cli/coding-agent/dist/core/tools/read.d.ts.map +0 -1
  448. package/node_modules/@orient-cli/coding-agent/dist/core/tools/read.js.map +0 -1
  449. package/node_modules/@orient-cli/coding-agent/dist/core/tools/render-utils.d.ts.map +0 -1
  450. package/node_modules/@orient-cli/coding-agent/dist/core/tools/render-utils.js.map +0 -1
  451. package/node_modules/@orient-cli/coding-agent/dist/core/tools/tool-definition-wrapper.d.ts.map +0 -1
  452. package/node_modules/@orient-cli/coding-agent/dist/core/tools/tool-definition-wrapper.js.map +0 -1
  453. package/node_modules/@orient-cli/coding-agent/dist/core/tools/truncate.d.ts.map +0 -1
  454. package/node_modules/@orient-cli/coding-agent/dist/core/tools/truncate.js.map +0 -1
  455. package/node_modules/@orient-cli/coding-agent/dist/core/tools/write.d.ts.map +0 -1
  456. package/node_modules/@orient-cli/coding-agent/dist/core/tools/write.js +0 -216
  457. package/node_modules/@orient-cli/coding-agent/dist/core/tools/write.js.map +0 -1
  458. package/node_modules/@orient-cli/coding-agent/dist/index.d.ts.map +0 -1
  459. package/node_modules/@orient-cli/coding-agent/dist/main.d.ts.map +0 -1
  460. package/node_modules/@orient-cli/coding-agent/dist/main.js.map +0 -1
  461. package/node_modules/@orient-cli/coding-agent/dist/migrations.d.ts.map +0 -1
  462. package/node_modules/@orient-cli/coding-agent/dist/migrations.js.map +0 -1
  463. package/node_modules/@orient-cli/coding-agent/dist/modes/index.d.ts.map +0 -1
  464. package/node_modules/@orient-cli/coding-agent/dist/modes/interactive/components/assistant-message.d.ts.map +0 -1
  465. package/node_modules/@orient-cli/coding-agent/dist/modes/interactive/components/assistant-message.js +0 -107
  466. package/node_modules/@orient-cli/coding-agent/dist/modes/interactive/components/assistant-message.js.map +0 -1
  467. package/node_modules/@orient-cli/coding-agent/dist/modes/interactive/components/bash-execution.d.ts.map +0 -1
  468. package/node_modules/@orient-cli/coding-agent/dist/modes/interactive/components/bash-execution.js +0 -175
  469. package/node_modules/@orient-cli/coding-agent/dist/modes/interactive/components/bash-execution.js.map +0 -1
  470. package/node_modules/@orient-cli/coding-agent/dist/modes/interactive/components/bordered-loader.d.ts.map +0 -1
  471. package/node_modules/@orient-cli/coding-agent/dist/modes/interactive/components/bordered-loader.js +0 -51
  472. package/node_modules/@orient-cli/coding-agent/dist/modes/interactive/components/bordered-loader.js.map +0 -1
  473. package/node_modules/@orient-cli/coding-agent/dist/modes/interactive/components/branch-summary-message.d.ts.map +0 -1
  474. package/node_modules/@orient-cli/coding-agent/dist/modes/interactive/components/branch-summary-message.js +0 -44
  475. package/node_modules/@orient-cli/coding-agent/dist/modes/interactive/components/branch-summary-message.js.map +0 -1
  476. package/node_modules/@orient-cli/coding-agent/dist/modes/interactive/components/compaction-summary-message.d.ts.map +0 -1
  477. package/node_modules/@orient-cli/coding-agent/dist/modes/interactive/components/compaction-summary-message.js +0 -45
  478. package/node_modules/@orient-cli/coding-agent/dist/modes/interactive/components/compaction-summary-message.js.map +0 -1
  479. package/node_modules/@orient-cli/coding-agent/dist/modes/interactive/components/config-selector.d.ts.map +0 -1
  480. package/node_modules/@orient-cli/coding-agent/dist/modes/interactive/components/config-selector.js +0 -479
  481. package/node_modules/@orient-cli/coding-agent/dist/modes/interactive/components/config-selector.js.map +0 -1
  482. package/node_modules/@orient-cli/coding-agent/dist/modes/interactive/components/countdown-timer.d.ts.map +0 -1
  483. package/node_modules/@orient-cli/coding-agent/dist/modes/interactive/components/countdown-timer.js +0 -33
  484. package/node_modules/@orient-cli/coding-agent/dist/modes/interactive/components/countdown-timer.js.map +0 -1
  485. package/node_modules/@orient-cli/coding-agent/dist/modes/interactive/components/custom-editor.d.ts.map +0 -1
  486. package/node_modules/@orient-cli/coding-agent/dist/modes/interactive/components/custom-editor.js +0 -70
  487. package/node_modules/@orient-cli/coding-agent/dist/modes/interactive/components/custom-editor.js.map +0 -1
  488. package/node_modules/@orient-cli/coding-agent/dist/modes/interactive/components/custom-message.d.ts.map +0 -1
  489. package/node_modules/@orient-cli/coding-agent/dist/modes/interactive/components/custom-message.js +0 -79
  490. package/node_modules/@orient-cli/coding-agent/dist/modes/interactive/components/custom-message.js.map +0 -1
  491. package/node_modules/@orient-cli/coding-agent/dist/modes/interactive/components/diff.d.ts.map +0 -1
  492. package/node_modules/@orient-cli/coding-agent/dist/modes/interactive/components/diff.js.map +0 -1
  493. package/node_modules/@orient-cli/coding-agent/dist/modes/interactive/components/dynamic-border.d.ts.map +0 -1
  494. package/node_modules/@orient-cli/coding-agent/dist/modes/interactive/components/dynamic-border.js +0 -21
  495. package/node_modules/@orient-cli/coding-agent/dist/modes/interactive/components/dynamic-border.js.map +0 -1
  496. package/node_modules/@orient-cli/coding-agent/dist/modes/interactive/components/extension-editor.d.ts.map +0 -1
  497. package/node_modules/@orient-cli/coding-agent/dist/modes/interactive/components/extension-editor.js +0 -111
  498. package/node_modules/@orient-cli/coding-agent/dist/modes/interactive/components/extension-editor.js.map +0 -1
  499. package/node_modules/@orient-cli/coding-agent/dist/modes/interactive/components/extension-input.d.ts.map +0 -1
  500. package/node_modules/@orient-cli/coding-agent/dist/modes/interactive/components/extension-input.js +0 -61
  501. package/node_modules/@orient-cli/coding-agent/dist/modes/interactive/components/extension-input.js.map +0 -1
  502. package/node_modules/@orient-cli/coding-agent/dist/modes/interactive/components/extension-selector.d.ts.map +0 -1
  503. package/node_modules/@orient-cli/coding-agent/dist/modes/interactive/components/extension-selector.js +0 -78
  504. package/node_modules/@orient-cli/coding-agent/dist/modes/interactive/components/extension-selector.js.map +0 -1
  505. package/node_modules/@orient-cli/coding-agent/dist/modes/interactive/components/footer.d.ts.map +0 -1
  506. package/node_modules/@orient-cli/coding-agent/dist/modes/interactive/components/footer.js +0 -201
  507. package/node_modules/@orient-cli/coding-agent/dist/modes/interactive/components/footer.js.map +0 -1
  508. package/node_modules/@orient-cli/coding-agent/dist/modes/interactive/components/index.d.ts.map +0 -1
  509. package/node_modules/@orient-cli/coding-agent/dist/modes/interactive/components/index.js.map +0 -1
  510. package/node_modules/@orient-cli/coding-agent/dist/modes/interactive/components/keybinding-hints.d.ts.map +0 -1
  511. package/node_modules/@orient-cli/coding-agent/dist/modes/interactive/components/keybinding-hints.js.map +0 -1
  512. package/node_modules/@orient-cli/coding-agent/dist/modes/interactive/components/login-dialog.d.ts.map +0 -1
  513. package/node_modules/@orient-cli/coding-agent/dist/modes/interactive/components/login-dialog.js +0 -145
  514. package/node_modules/@orient-cli/coding-agent/dist/modes/interactive/components/login-dialog.js.map +0 -1
  515. package/node_modules/@orient-cli/coding-agent/dist/modes/interactive/components/model-selector.d.ts.map +0 -1
  516. package/node_modules/@orient-cli/coding-agent/dist/modes/interactive/components/model-selector.js +0 -275
  517. package/node_modules/@orient-cli/coding-agent/dist/modes/interactive/components/model-selector.js.map +0 -1
  518. package/node_modules/@orient-cli/coding-agent/dist/modes/interactive/components/oauth-selector.d.ts.map +0 -1
  519. package/node_modules/@orient-cli/coding-agent/dist/modes/interactive/components/oauth-selector.js +0 -97
  520. package/node_modules/@orient-cli/coding-agent/dist/modes/interactive/components/oauth-selector.js.map +0 -1
  521. package/node_modules/@orient-cli/coding-agent/dist/modes/interactive/components/orient-banner.d.ts.map +0 -1
  522. package/node_modules/@orient-cli/coding-agent/dist/modes/interactive/components/orient-banner.js.map +0 -1
  523. package/node_modules/@orient-cli/coding-agent/dist/modes/interactive/components/scoped-models-selector.d.ts.map +0 -1
  524. package/node_modules/@orient-cli/coding-agent/dist/modes/interactive/components/scoped-models-selector.js +0 -275
  525. package/node_modules/@orient-cli/coding-agent/dist/modes/interactive/components/scoped-models-selector.js.map +0 -1
  526. package/node_modules/@orient-cli/coding-agent/dist/modes/interactive/components/session-selector-search.d.ts.map +0 -1
  527. package/node_modules/@orient-cli/coding-agent/dist/modes/interactive/components/session-selector-search.js.map +0 -1
  528. package/node_modules/@orient-cli/coding-agent/dist/modes/interactive/components/session-selector.d.ts.map +0 -1
  529. package/node_modules/@orient-cli/coding-agent/dist/modes/interactive/components/session-selector.js +0 -848
  530. package/node_modules/@orient-cli/coding-agent/dist/modes/interactive/components/session-selector.js.map +0 -1
  531. package/node_modules/@orient-cli/coding-agent/dist/modes/interactive/components/settings-selector.d.ts.map +0 -1
  532. package/node_modules/@orient-cli/coding-agent/dist/modes/interactive/components/settings-selector.js +0 -301
  533. package/node_modules/@orient-cli/coding-agent/dist/modes/interactive/components/settings-selector.js.map +0 -1
  534. package/node_modules/@orient-cli/coding-agent/dist/modes/interactive/components/show-images-selector.d.ts.map +0 -1
  535. package/node_modules/@orient-cli/coding-agent/dist/modes/interactive/components/show-images-selector.js +0 -39
  536. package/node_modules/@orient-cli/coding-agent/dist/modes/interactive/components/show-images-selector.js.map +0 -1
  537. package/node_modules/@orient-cli/coding-agent/dist/modes/interactive/components/skill-invocation-message.d.ts.map +0 -1
  538. package/node_modules/@orient-cli/coding-agent/dist/modes/interactive/components/skill-invocation-message.js +0 -47
  539. package/node_modules/@orient-cli/coding-agent/dist/modes/interactive/components/skill-invocation-message.js.map +0 -1
  540. package/node_modules/@orient-cli/coding-agent/dist/modes/interactive/components/theme-selector.d.ts.map +0 -1
  541. package/node_modules/@orient-cli/coding-agent/dist/modes/interactive/components/theme-selector.js +0 -50
  542. package/node_modules/@orient-cli/coding-agent/dist/modes/interactive/components/theme-selector.js.map +0 -1
  543. package/node_modules/@orient-cli/coding-agent/dist/modes/interactive/components/thinking-selector.d.ts.map +0 -1
  544. package/node_modules/@orient-cli/coding-agent/dist/modes/interactive/components/thinking-selector.js +0 -51
  545. package/node_modules/@orient-cli/coding-agent/dist/modes/interactive/components/thinking-selector.js.map +0 -1
  546. package/node_modules/@orient-cli/coding-agent/dist/modes/interactive/components/tool-execution.d.ts.map +0 -1
  547. package/node_modules/@orient-cli/coding-agent/dist/modes/interactive/components/tool-execution.js +0 -274
  548. package/node_modules/@orient-cli/coding-agent/dist/modes/interactive/components/tool-execution.js.map +0 -1
  549. package/node_modules/@orient-cli/coding-agent/dist/modes/interactive/components/tree-selector.d.ts.map +0 -1
  550. package/node_modules/@orient-cli/coding-agent/dist/modes/interactive/components/tree-selector.js +0 -1084
  551. package/node_modules/@orient-cli/coding-agent/dist/modes/interactive/components/tree-selector.js.map +0 -1
  552. package/node_modules/@orient-cli/coding-agent/dist/modes/interactive/components/user-message-selector.d.ts.map +0 -1
  553. package/node_modules/@orient-cli/coding-agent/dist/modes/interactive/components/user-message-selector.js +0 -113
  554. package/node_modules/@orient-cli/coding-agent/dist/modes/interactive/components/user-message-selector.js.map +0 -1
  555. package/node_modules/@orient-cli/coding-agent/dist/modes/interactive/components/user-message.d.ts.map +0 -1
  556. package/node_modules/@orient-cli/coding-agent/dist/modes/interactive/components/user-message.js.map +0 -1
  557. package/node_modules/@orient-cli/coding-agent/dist/modes/interactive/components/visual-truncate.d.ts.map +0 -1
  558. package/node_modules/@orient-cli/coding-agent/dist/modes/interactive/components/visual-truncate.js.map +0 -1
  559. package/node_modules/@orient-cli/coding-agent/dist/modes/interactive/interactive-mode.d.ts +0 -345
  560. package/node_modules/@orient-cli/coding-agent/dist/modes/interactive/interactive-mode.d.ts.map +0 -1
  561. package/node_modules/@orient-cli/coding-agent/dist/modes/interactive/interactive-mode.js +0 -4106
  562. package/node_modules/@orient-cli/coding-agent/dist/modes/interactive/interactive-mode.js.map +0 -1
  563. package/node_modules/@orient-cli/coding-agent/dist/modes/interactive/theme/dark.json +0 -85
  564. package/node_modules/@orient-cli/coding-agent/dist/modes/interactive/theme/light.json +0 -84
  565. package/node_modules/@orient-cli/coding-agent/dist/modes/interactive/theme/theme-schema.json +0 -335
  566. package/node_modules/@orient-cli/coding-agent/dist/modes/interactive/theme/theme.d.ts.map +0 -1
  567. package/node_modules/@orient-cli/coding-agent/dist/modes/interactive/theme/theme.js +0 -979
  568. package/node_modules/@orient-cli/coding-agent/dist/modes/interactive/theme/theme.js.map +0 -1
  569. package/node_modules/@orient-cli/coding-agent/dist/modes/print-mode.d.ts.map +0 -1
  570. package/node_modules/@orient-cli/coding-agent/dist/modes/print-mode.js.map +0 -1
  571. package/node_modules/@orient-cli/coding-agent/dist/modes/rpc/jsonl.d.ts.map +0 -1
  572. package/node_modules/@orient-cli/coding-agent/dist/modes/rpc/jsonl.js.map +0 -1
  573. package/node_modules/@orient-cli/coding-agent/dist/modes/rpc/rpc-client.d.ts.map +0 -1
  574. package/node_modules/@orient-cli/coding-agent/dist/modes/rpc/rpc-client.js +0 -402
  575. package/node_modules/@orient-cli/coding-agent/dist/modes/rpc/rpc-client.js.map +0 -1
  576. package/node_modules/@orient-cli/coding-agent/dist/modes/rpc/rpc-mode.d.ts.map +0 -1
  577. package/node_modules/@orient-cli/coding-agent/dist/modes/rpc/rpc-mode.js.map +0 -1
  578. package/node_modules/@orient-cli/coding-agent/dist/modes/rpc/rpc-types.d.ts.map +0 -1
  579. package/node_modules/@orient-cli/coding-agent/dist/package-manager-cli.d.ts.map +0 -1
  580. package/node_modules/@orient-cli/coding-agent/dist/package-manager-cli.js.map +0 -1
  581. package/node_modules/@orient-cli/coding-agent/dist/utils/changelog.d.ts.map +0 -1
  582. package/node_modules/@orient-cli/coding-agent/dist/utils/changelog.js.map +0 -1
  583. package/node_modules/@orient-cli/coding-agent/dist/utils/child-process.d.ts.map +0 -1
  584. package/node_modules/@orient-cli/coding-agent/dist/utils/child-process.js.map +0 -1
  585. package/node_modules/@orient-cli/coding-agent/dist/utils/clipboard-image.d.ts.map +0 -1
  586. package/node_modules/@orient-cli/coding-agent/dist/utils/clipboard-image.js.map +0 -1
  587. package/node_modules/@orient-cli/coding-agent/dist/utils/clipboard-native.d.ts.map +0 -1
  588. package/node_modules/@orient-cli/coding-agent/dist/utils/clipboard-native.js.map +0 -1
  589. package/node_modules/@orient-cli/coding-agent/dist/utils/clipboard.d.ts.map +0 -1
  590. package/node_modules/@orient-cli/coding-agent/dist/utils/clipboard.js.map +0 -1
  591. package/node_modules/@orient-cli/coding-agent/dist/utils/exif-orientation.d.ts.map +0 -1
  592. package/node_modules/@orient-cli/coding-agent/dist/utils/exif-orientation.js.map +0 -1
  593. package/node_modules/@orient-cli/coding-agent/dist/utils/frontmatter.d.ts.map +0 -1
  594. package/node_modules/@orient-cli/coding-agent/dist/utils/frontmatter.js.map +0 -1
  595. package/node_modules/@orient-cli/coding-agent/dist/utils/git.d.ts.map +0 -1
  596. package/node_modules/@orient-cli/coding-agent/dist/utils/git.js.map +0 -1
  597. package/node_modules/@orient-cli/coding-agent/dist/utils/image-convert.d.ts.map +0 -1
  598. package/node_modules/@orient-cli/coding-agent/dist/utils/image-convert.js.map +0 -1
  599. package/node_modules/@orient-cli/coding-agent/dist/utils/image-resize.d.ts.map +0 -1
  600. package/node_modules/@orient-cli/coding-agent/dist/utils/image-resize.js.map +0 -1
  601. package/node_modules/@orient-cli/coding-agent/dist/utils/mime.d.ts.map +0 -1
  602. package/node_modules/@orient-cli/coding-agent/dist/utils/mime.js.map +0 -1
  603. package/node_modules/@orient-cli/coding-agent/dist/utils/paths.d.ts.map +0 -1
  604. package/node_modules/@orient-cli/coding-agent/dist/utils/paths.js.map +0 -1
  605. package/node_modules/@orient-cli/coding-agent/dist/utils/photon.d.ts.map +0 -1
  606. package/node_modules/@orient-cli/coding-agent/dist/utils/photon.js.map +0 -1
  607. package/node_modules/@orient-cli/coding-agent/dist/utils/shell.d.ts.map +0 -1
  608. package/node_modules/@orient-cli/coding-agent/dist/utils/shell.js.map +0 -1
  609. package/node_modules/@orient-cli/coding-agent/dist/utils/sleep.d.ts.map +0 -1
  610. package/node_modules/@orient-cli/coding-agent/dist/utils/sleep.js.map +0 -1
  611. package/node_modules/@orient-cli/coding-agent/dist/utils/tools-manager.d.ts.map +0 -1
  612. package/node_modules/@orient-cli/coding-agent/dist/utils/tools-manager.js.map +0 -1
  613. package/node_modules/@orient-cli/tui/README.md +0 -767
  614. package/node_modules/mime-db/HISTORY.md +0 -541
  615. package/node_modules/mime-db/LICENSE +0 -23
  616. package/node_modules/mime-db/README.md +0 -109
  617. package/node_modules/mime-db/db.json +0 -9342
  618. package/node_modules/mime-db/index.js +0 -12
  619. package/node_modules/mime-db/package.json +0 -56
  620. package/node_modules/mime-types/HISTORY.md +0 -428
  621. package/node_modules/mime-types/LICENSE +0 -23
  622. package/node_modules/mime-types/README.md +0 -126
  623. package/node_modules/mime-types/index.js +0 -211
  624. package/node_modules/mime-types/mimeScore.js +0 -57
  625. package/node_modules/mime-types/package.json +0 -49
  626. /package/{node_modules → vendor}/@orient-cli/agent-core/dist/agent-loop.d.ts +0 -0
  627. /package/{node_modules → vendor}/@orient-cli/agent-core/dist/agent-loop.d.ts.map +0 -0
  628. /package/{node_modules → vendor}/@orient-cli/agent-core/dist/agent-loop.js +0 -0
  629. /package/{node_modules → vendor}/@orient-cli/agent-core/dist/agent-loop.js.map +0 -0
  630. /package/{node_modules → vendor}/@orient-cli/agent-core/dist/agent.d.ts +0 -0
  631. /package/{node_modules → vendor}/@orient-cli/agent-core/dist/agent.d.ts.map +0 -0
  632. /package/{node_modules → vendor}/@orient-cli/agent-core/dist/agent.js +0 -0
  633. /package/{node_modules → vendor}/@orient-cli/agent-core/dist/agent.js.map +0 -0
  634. /package/{node_modules → vendor}/@orient-cli/agent-core/dist/index.d.ts +0 -0
  635. /package/{node_modules → vendor}/@orient-cli/agent-core/dist/index.d.ts.map +0 -0
  636. /package/{node_modules → vendor}/@orient-cli/agent-core/dist/index.js +0 -0
  637. /package/{node_modules → vendor}/@orient-cli/agent-core/dist/index.js.map +0 -0
  638. /package/{node_modules → vendor}/@orient-cli/agent-core/dist/proxy.d.ts +0 -0
  639. /package/{node_modules → vendor}/@orient-cli/agent-core/dist/proxy.d.ts.map +0 -0
  640. /package/{node_modules → vendor}/@orient-cli/agent-core/dist/proxy.js +0 -0
  641. /package/{node_modules → vendor}/@orient-cli/agent-core/dist/proxy.js.map +0 -0
  642. /package/{node_modules → vendor}/@orient-cli/agent-core/dist/types.d.ts +0 -0
  643. /package/{node_modules → vendor}/@orient-cli/agent-core/dist/types.d.ts.map +0 -0
  644. /package/{node_modules → vendor}/@orient-cli/agent-core/dist/types.js +0 -0
  645. /package/{node_modules → vendor}/@orient-cli/agent-core/dist/types.js.map +0 -0
  646. /package/{node_modules → vendor}/@orient-cli/agent-core/package.json +0 -0
  647. /package/{node_modules → vendor}/@orient-cli/ai/dist/api-registry.d.ts +0 -0
  648. /package/{node_modules → vendor}/@orient-cli/ai/dist/api-registry.d.ts.map +0 -0
  649. /package/{node_modules → vendor}/@orient-cli/ai/dist/api-registry.js +0 -0
  650. /package/{node_modules → vendor}/@orient-cli/ai/dist/api-registry.js.map +0 -0
  651. /package/{node_modules → vendor}/@orient-cli/ai/dist/bedrock-provider.d.ts +0 -0
  652. /package/{node_modules → vendor}/@orient-cli/ai/dist/bedrock-provider.d.ts.map +0 -0
  653. /package/{node_modules → vendor}/@orient-cli/ai/dist/bedrock-provider.js +0 -0
  654. /package/{node_modules → vendor}/@orient-cli/ai/dist/bedrock-provider.js.map +0 -0
  655. /package/{node_modules → vendor}/@orient-cli/ai/dist/cli.d.ts +0 -0
  656. /package/{node_modules → vendor}/@orient-cli/ai/dist/cli.d.ts.map +0 -0
  657. /package/{node_modules → vendor}/@orient-cli/ai/dist/cli.js +0 -0
  658. /package/{node_modules → vendor}/@orient-cli/ai/dist/cli.js.map +0 -0
  659. /package/{node_modules → vendor}/@orient-cli/ai/dist/env-api-keys.d.ts +0 -0
  660. /package/{node_modules → vendor}/@orient-cli/ai/dist/env-api-keys.d.ts.map +0 -0
  661. /package/{node_modules → vendor}/@orient-cli/ai/dist/env-api-keys.js +0 -0
  662. /package/{node_modules → vendor}/@orient-cli/ai/dist/env-api-keys.js.map +0 -0
  663. /package/{node_modules → vendor}/@orient-cli/ai/dist/index.d.ts +0 -0
  664. /package/{node_modules → vendor}/@orient-cli/ai/dist/index.d.ts.map +0 -0
  665. /package/{node_modules → vendor}/@orient-cli/ai/dist/index.js +0 -0
  666. /package/{node_modules → vendor}/@orient-cli/ai/dist/index.js.map +0 -0
  667. /package/{node_modules → vendor}/@orient-cli/ai/dist/models.d.ts +0 -0
  668. /package/{node_modules → vendor}/@orient-cli/ai/dist/models.d.ts.map +0 -0
  669. /package/{node_modules → vendor}/@orient-cli/ai/dist/models.generated.d.ts +0 -0
  670. /package/{node_modules → vendor}/@orient-cli/ai/dist/models.generated.d.ts.map +0 -0
  671. /package/{node_modules → vendor}/@orient-cli/ai/dist/models.generated.js +0 -0
  672. /package/{node_modules → vendor}/@orient-cli/ai/dist/models.generated.js.map +0 -0
  673. /package/{node_modules → vendor}/@orient-cli/ai/dist/models.js +0 -0
  674. /package/{node_modules → vendor}/@orient-cli/ai/dist/models.js.map +0 -0
  675. /package/{node_modules → vendor}/@orient-cli/ai/dist/oauth.d.ts +0 -0
  676. /package/{node_modules → vendor}/@orient-cli/ai/dist/oauth.d.ts.map +0 -0
  677. /package/{node_modules → vendor}/@orient-cli/ai/dist/oauth.js +0 -0
  678. /package/{node_modules → vendor}/@orient-cli/ai/dist/oauth.js.map +0 -0
  679. /package/{node_modules → vendor}/@orient-cli/ai/dist/providers/amazon-bedrock.d.ts +0 -0
  680. /package/{node_modules → vendor}/@orient-cli/ai/dist/providers/amazon-bedrock.d.ts.map +0 -0
  681. /package/{node_modules → vendor}/@orient-cli/ai/dist/providers/amazon-bedrock.js +0 -0
  682. /package/{node_modules → vendor}/@orient-cli/ai/dist/providers/amazon-bedrock.js.map +0 -0
  683. /package/{node_modules → vendor}/@orient-cli/ai/dist/providers/anthropic.d.ts +0 -0
  684. /package/{node_modules → vendor}/@orient-cli/ai/dist/providers/anthropic.d.ts.map +0 -0
  685. /package/{node_modules → vendor}/@orient-cli/ai/dist/providers/anthropic.js +0 -0
  686. /package/{node_modules → vendor}/@orient-cli/ai/dist/providers/anthropic.js.map +0 -0
  687. /package/{node_modules → vendor}/@orient-cli/ai/dist/providers/azure-openai-responses.d.ts +0 -0
  688. /package/{node_modules → vendor}/@orient-cli/ai/dist/providers/azure-openai-responses.d.ts.map +0 -0
  689. /package/{node_modules → vendor}/@orient-cli/ai/dist/providers/azure-openai-responses.js +0 -0
  690. /package/{node_modules → vendor}/@orient-cli/ai/dist/providers/azure-openai-responses.js.map +0 -0
  691. /package/{node_modules → vendor}/@orient-cli/ai/dist/providers/faux.d.ts +0 -0
  692. /package/{node_modules → vendor}/@orient-cli/ai/dist/providers/faux.d.ts.map +0 -0
  693. /package/{node_modules → vendor}/@orient-cli/ai/dist/providers/faux.js +0 -0
  694. /package/{node_modules → vendor}/@orient-cli/ai/dist/providers/faux.js.map +0 -0
  695. /package/{node_modules → vendor}/@orient-cli/ai/dist/providers/github-copilot-headers.d.ts +0 -0
  696. /package/{node_modules → vendor}/@orient-cli/ai/dist/providers/github-copilot-headers.d.ts.map +0 -0
  697. /package/{node_modules → vendor}/@orient-cli/ai/dist/providers/github-copilot-headers.js +0 -0
  698. /package/{node_modules → vendor}/@orient-cli/ai/dist/providers/github-copilot-headers.js.map +0 -0
  699. /package/{node_modules → vendor}/@orient-cli/ai/dist/providers/google-gemini-cli.d.ts +0 -0
  700. /package/{node_modules → vendor}/@orient-cli/ai/dist/providers/google-gemini-cli.d.ts.map +0 -0
  701. /package/{node_modules → vendor}/@orient-cli/ai/dist/providers/google-gemini-cli.js +0 -0
  702. /package/{node_modules → vendor}/@orient-cli/ai/dist/providers/google-gemini-cli.js.map +0 -0
  703. /package/{node_modules → vendor}/@orient-cli/ai/dist/providers/google-shared.d.ts +0 -0
  704. /package/{node_modules → vendor}/@orient-cli/ai/dist/providers/google-shared.d.ts.map +0 -0
  705. /package/{node_modules → vendor}/@orient-cli/ai/dist/providers/google-shared.js +0 -0
  706. /package/{node_modules → vendor}/@orient-cli/ai/dist/providers/google-shared.js.map +0 -0
  707. /package/{node_modules → vendor}/@orient-cli/ai/dist/providers/google-vertex.d.ts +0 -0
  708. /package/{node_modules → vendor}/@orient-cli/ai/dist/providers/google-vertex.d.ts.map +0 -0
  709. /package/{node_modules → vendor}/@orient-cli/ai/dist/providers/google-vertex.js +0 -0
  710. /package/{node_modules → vendor}/@orient-cli/ai/dist/providers/google-vertex.js.map +0 -0
  711. /package/{node_modules → vendor}/@orient-cli/ai/dist/providers/google.d.ts +0 -0
  712. /package/{node_modules → vendor}/@orient-cli/ai/dist/providers/google.d.ts.map +0 -0
  713. /package/{node_modules → vendor}/@orient-cli/ai/dist/providers/google.js +0 -0
  714. /package/{node_modules → vendor}/@orient-cli/ai/dist/providers/google.js.map +0 -0
  715. /package/{node_modules → vendor}/@orient-cli/ai/dist/providers/mistral.d.ts +0 -0
  716. /package/{node_modules → vendor}/@orient-cli/ai/dist/providers/mistral.d.ts.map +0 -0
  717. /package/{node_modules → vendor}/@orient-cli/ai/dist/providers/mistral.js +0 -0
  718. /package/{node_modules → vendor}/@orient-cli/ai/dist/providers/mistral.js.map +0 -0
  719. /package/{node_modules → vendor}/@orient-cli/ai/dist/providers/openai-codex-responses.d.ts +0 -0
  720. /package/{node_modules → vendor}/@orient-cli/ai/dist/providers/openai-codex-responses.d.ts.map +0 -0
  721. /package/{node_modules → vendor}/@orient-cli/ai/dist/providers/openai-codex-responses.js +0 -0
  722. /package/{node_modules → vendor}/@orient-cli/ai/dist/providers/openai-codex-responses.js.map +0 -0
  723. /package/{node_modules → vendor}/@orient-cli/ai/dist/providers/openai-completions.d.ts +0 -0
  724. /package/{node_modules → vendor}/@orient-cli/ai/dist/providers/openai-completions.d.ts.map +0 -0
  725. /package/{node_modules → vendor}/@orient-cli/ai/dist/providers/openai-completions.js +0 -0
  726. /package/{node_modules → vendor}/@orient-cli/ai/dist/providers/openai-completions.js.map +0 -0
  727. /package/{node_modules → vendor}/@orient-cli/ai/dist/providers/openai-responses-shared.d.ts +0 -0
  728. /package/{node_modules → vendor}/@orient-cli/ai/dist/providers/openai-responses-shared.d.ts.map +0 -0
  729. /package/{node_modules → vendor}/@orient-cli/ai/dist/providers/openai-responses-shared.js +0 -0
  730. /package/{node_modules → vendor}/@orient-cli/ai/dist/providers/openai-responses-shared.js.map +0 -0
  731. /package/{node_modules → vendor}/@orient-cli/ai/dist/providers/openai-responses.d.ts +0 -0
  732. /package/{node_modules → vendor}/@orient-cli/ai/dist/providers/openai-responses.d.ts.map +0 -0
  733. /package/{node_modules → vendor}/@orient-cli/ai/dist/providers/openai-responses.js +0 -0
  734. /package/{node_modules → vendor}/@orient-cli/ai/dist/providers/openai-responses.js.map +0 -0
  735. /package/{node_modules → vendor}/@orient-cli/ai/dist/providers/register-builtins.d.ts +0 -0
  736. /package/{node_modules → vendor}/@orient-cli/ai/dist/providers/register-builtins.d.ts.map +0 -0
  737. /package/{node_modules → vendor}/@orient-cli/ai/dist/providers/register-builtins.js +0 -0
  738. /package/{node_modules → vendor}/@orient-cli/ai/dist/providers/register-builtins.js.map +0 -0
  739. /package/{node_modules → vendor}/@orient-cli/ai/dist/providers/simple-options.d.ts +0 -0
  740. /package/{node_modules → vendor}/@orient-cli/ai/dist/providers/simple-options.d.ts.map +0 -0
  741. /package/{node_modules → vendor}/@orient-cli/ai/dist/providers/simple-options.js +0 -0
  742. /package/{node_modules → vendor}/@orient-cli/ai/dist/providers/simple-options.js.map +0 -0
  743. /package/{node_modules → vendor}/@orient-cli/ai/dist/providers/transform-messages.d.ts +0 -0
  744. /package/{node_modules → vendor}/@orient-cli/ai/dist/providers/transform-messages.d.ts.map +0 -0
  745. /package/{node_modules → vendor}/@orient-cli/ai/dist/providers/transform-messages.js +0 -0
  746. /package/{node_modules → vendor}/@orient-cli/ai/dist/providers/transform-messages.js.map +0 -0
  747. /package/{node_modules → vendor}/@orient-cli/ai/dist/stream.d.ts +0 -0
  748. /package/{node_modules → vendor}/@orient-cli/ai/dist/stream.d.ts.map +0 -0
  749. /package/{node_modules → vendor}/@orient-cli/ai/dist/stream.js +0 -0
  750. /package/{node_modules → vendor}/@orient-cli/ai/dist/stream.js.map +0 -0
  751. /package/{node_modules → vendor}/@orient-cli/ai/dist/types.d.ts +0 -0
  752. /package/{node_modules → vendor}/@orient-cli/ai/dist/types.d.ts.map +0 -0
  753. /package/{node_modules → vendor}/@orient-cli/ai/dist/types.js +0 -0
  754. /package/{node_modules → vendor}/@orient-cli/ai/dist/types.js.map +0 -0
  755. /package/{node_modules → vendor}/@orient-cli/ai/dist/utils/event-stream.d.ts +0 -0
  756. /package/{node_modules → vendor}/@orient-cli/ai/dist/utils/event-stream.d.ts.map +0 -0
  757. /package/{node_modules → vendor}/@orient-cli/ai/dist/utils/event-stream.js +0 -0
  758. /package/{node_modules → vendor}/@orient-cli/ai/dist/utils/event-stream.js.map +0 -0
  759. /package/{node_modules → vendor}/@orient-cli/ai/dist/utils/hash.d.ts +0 -0
  760. /package/{node_modules → vendor}/@orient-cli/ai/dist/utils/hash.d.ts.map +0 -0
  761. /package/{node_modules → vendor}/@orient-cli/ai/dist/utils/hash.js +0 -0
  762. /package/{node_modules → vendor}/@orient-cli/ai/dist/utils/hash.js.map +0 -0
  763. /package/{node_modules → vendor}/@orient-cli/ai/dist/utils/json-parse.d.ts +0 -0
  764. /package/{node_modules → vendor}/@orient-cli/ai/dist/utils/json-parse.d.ts.map +0 -0
  765. /package/{node_modules → vendor}/@orient-cli/ai/dist/utils/json-parse.js +0 -0
  766. /package/{node_modules → vendor}/@orient-cli/ai/dist/utils/json-parse.js.map +0 -0
  767. /package/{node_modules → vendor}/@orient-cli/ai/dist/utils/oauth/anthropic.d.ts +0 -0
  768. /package/{node_modules → vendor}/@orient-cli/ai/dist/utils/oauth/anthropic.d.ts.map +0 -0
  769. /package/{node_modules → vendor}/@orient-cli/ai/dist/utils/oauth/anthropic.js +0 -0
  770. /package/{node_modules → vendor}/@orient-cli/ai/dist/utils/oauth/anthropic.js.map +0 -0
  771. /package/{node_modules → vendor}/@orient-cli/ai/dist/utils/oauth/github-copilot.d.ts +0 -0
  772. /package/{node_modules → vendor}/@orient-cli/ai/dist/utils/oauth/github-copilot.d.ts.map +0 -0
  773. /package/{node_modules → vendor}/@orient-cli/ai/dist/utils/oauth/github-copilot.js +0 -0
  774. /package/{node_modules → vendor}/@orient-cli/ai/dist/utils/oauth/github-copilot.js.map +0 -0
  775. /package/{node_modules → vendor}/@orient-cli/ai/dist/utils/oauth/google-antigravity.d.ts +0 -0
  776. /package/{node_modules → vendor}/@orient-cli/ai/dist/utils/oauth/google-antigravity.d.ts.map +0 -0
  777. /package/{node_modules → vendor}/@orient-cli/ai/dist/utils/oauth/google-antigravity.js +0 -0
  778. /package/{node_modules → vendor}/@orient-cli/ai/dist/utils/oauth/google-antigravity.js.map +0 -0
  779. /package/{node_modules → vendor}/@orient-cli/ai/dist/utils/oauth/google-gemini-cli.d.ts +0 -0
  780. /package/{node_modules → vendor}/@orient-cli/ai/dist/utils/oauth/google-gemini-cli.d.ts.map +0 -0
  781. /package/{node_modules → vendor}/@orient-cli/ai/dist/utils/oauth/google-gemini-cli.js +0 -0
  782. /package/{node_modules → vendor}/@orient-cli/ai/dist/utils/oauth/google-gemini-cli.js.map +0 -0
  783. /package/{node_modules → vendor}/@orient-cli/ai/dist/utils/oauth/index.d.ts +0 -0
  784. /package/{node_modules → vendor}/@orient-cli/ai/dist/utils/oauth/index.d.ts.map +0 -0
  785. /package/{node_modules → vendor}/@orient-cli/ai/dist/utils/oauth/index.js +0 -0
  786. /package/{node_modules → vendor}/@orient-cli/ai/dist/utils/oauth/index.js.map +0 -0
  787. /package/{node_modules → vendor}/@orient-cli/ai/dist/utils/oauth/oauth-page.d.ts +0 -0
  788. /package/{node_modules → vendor}/@orient-cli/ai/dist/utils/oauth/oauth-page.d.ts.map +0 -0
  789. /package/{node_modules → vendor}/@orient-cli/ai/dist/utils/oauth/oauth-page.js +0 -0
  790. /package/{node_modules → vendor}/@orient-cli/ai/dist/utils/oauth/oauth-page.js.map +0 -0
  791. /package/{node_modules → vendor}/@orient-cli/ai/dist/utils/oauth/openai-codex.d.ts +0 -0
  792. /package/{node_modules → vendor}/@orient-cli/ai/dist/utils/oauth/openai-codex.d.ts.map +0 -0
  793. /package/{node_modules → vendor}/@orient-cli/ai/dist/utils/oauth/openai-codex.js +0 -0
  794. /package/{node_modules → vendor}/@orient-cli/ai/dist/utils/oauth/openai-codex.js.map +0 -0
  795. /package/{node_modules → vendor}/@orient-cli/ai/dist/utils/oauth/pkce.d.ts +0 -0
  796. /package/{node_modules → vendor}/@orient-cli/ai/dist/utils/oauth/pkce.d.ts.map +0 -0
  797. /package/{node_modules → vendor}/@orient-cli/ai/dist/utils/oauth/pkce.js +0 -0
  798. /package/{node_modules → vendor}/@orient-cli/ai/dist/utils/oauth/pkce.js.map +0 -0
  799. /package/{node_modules → vendor}/@orient-cli/ai/dist/utils/oauth/types.d.ts +0 -0
  800. /package/{node_modules → vendor}/@orient-cli/ai/dist/utils/oauth/types.d.ts.map +0 -0
  801. /package/{node_modules → vendor}/@orient-cli/ai/dist/utils/oauth/types.js +0 -0
  802. /package/{node_modules → vendor}/@orient-cli/ai/dist/utils/oauth/types.js.map +0 -0
  803. /package/{node_modules → vendor}/@orient-cli/ai/dist/utils/overflow.d.ts +0 -0
  804. /package/{node_modules → vendor}/@orient-cli/ai/dist/utils/overflow.d.ts.map +0 -0
  805. /package/{node_modules → vendor}/@orient-cli/ai/dist/utils/overflow.js +0 -0
  806. /package/{node_modules → vendor}/@orient-cli/ai/dist/utils/overflow.js.map +0 -0
  807. /package/{node_modules → vendor}/@orient-cli/ai/dist/utils/sanitize-unicode.d.ts +0 -0
  808. /package/{node_modules → vendor}/@orient-cli/ai/dist/utils/sanitize-unicode.d.ts.map +0 -0
  809. /package/{node_modules → vendor}/@orient-cli/ai/dist/utils/sanitize-unicode.js +0 -0
  810. /package/{node_modules → vendor}/@orient-cli/ai/dist/utils/sanitize-unicode.js.map +0 -0
  811. /package/{node_modules → vendor}/@orient-cli/ai/dist/utils/typebox-helpers.d.ts +0 -0
  812. /package/{node_modules → vendor}/@orient-cli/ai/dist/utils/typebox-helpers.d.ts.map +0 -0
  813. /package/{node_modules → vendor}/@orient-cli/ai/dist/utils/typebox-helpers.js +0 -0
  814. /package/{node_modules → vendor}/@orient-cli/ai/dist/utils/typebox-helpers.js.map +0 -0
  815. /package/{node_modules → vendor}/@orient-cli/ai/dist/utils/validation.d.ts +0 -0
  816. /package/{node_modules → vendor}/@orient-cli/ai/dist/utils/validation.d.ts.map +0 -0
  817. /package/{node_modules → vendor}/@orient-cli/ai/dist/utils/validation.js +0 -0
  818. /package/{node_modules → vendor}/@orient-cli/ai/dist/utils/validation.js.map +0 -0
  819. /package/{node_modules → vendor}/@orient-cli/ai/package.json +0 -0
  820. /package/{node_modules → vendor}/@orient-cli/coding-agent/dist/bun/cli.d.ts +0 -0
  821. /package/{node_modules → vendor}/@orient-cli/coding-agent/dist/bun/cli.js +0 -0
  822. /package/{node_modules → vendor}/@orient-cli/coding-agent/dist/bun/register-bedrock.d.ts +0 -0
  823. /package/{node_modules → vendor}/@orient-cli/coding-agent/dist/bun/register-bedrock.js +0 -0
  824. /package/{node_modules → vendor}/@orient-cli/coding-agent/dist/bun/register-bedrock.js.map +0 -0
  825. /package/{node_modules → vendor}/@orient-cli/coding-agent/dist/cli/args.d.ts +0 -0
  826. /package/{node_modules → vendor}/@orient-cli/coding-agent/dist/cli/args.js +0 -0
  827. /package/{node_modules → vendor}/@orient-cli/coding-agent/dist/cli/config-selector.d.ts +0 -0
  828. /package/{node_modules → vendor}/@orient-cli/coding-agent/dist/cli/config-selector.js +0 -0
  829. /package/{node_modules → vendor}/@orient-cli/coding-agent/dist/cli/file-processor.d.ts +0 -0
  830. /package/{node_modules → vendor}/@orient-cli/coding-agent/dist/cli/file-processor.js +0 -0
  831. /package/{node_modules → vendor}/@orient-cli/coding-agent/dist/cli/initial-message.js +0 -0
  832. /package/{node_modules → vendor}/@orient-cli/coding-agent/dist/cli/list-models.d.ts +0 -0
  833. /package/{node_modules → vendor}/@orient-cli/coding-agent/dist/cli/list-models.js +0 -0
  834. /package/{node_modules → vendor}/@orient-cli/coding-agent/dist/cli/session-picker.d.ts +0 -0
  835. /package/{node_modules → vendor}/@orient-cli/coding-agent/dist/cli/session-picker.js +0 -0
  836. /package/{node_modules → vendor}/@orient-cli/coding-agent/dist/cli.d.ts +0 -0
  837. /package/{node_modules → vendor}/@orient-cli/coding-agent/dist/config.d.ts +0 -0
  838. /package/{node_modules → vendor}/@orient-cli/coding-agent/dist/core/agent-session-runtime.d.ts +0 -0
  839. /package/{node_modules → vendor}/@orient-cli/coding-agent/dist/core/agent-session-services.d.ts +0 -0
  840. /package/{node_modules → vendor}/@orient-cli/coding-agent/dist/core/agent-session-services.js +0 -0
  841. /package/{node_modules → vendor}/@orient-cli/coding-agent/dist/core/bash-executor.d.ts +0 -0
  842. /package/{node_modules → vendor}/@orient-cli/coding-agent/dist/core/bash-executor.js +0 -0
  843. /package/{node_modules → vendor}/@orient-cli/coding-agent/dist/core/compaction/branch-summarization.d.ts +0 -0
  844. /package/{node_modules → vendor}/@orient-cli/coding-agent/dist/core/compaction/branch-summarization.js +0 -0
  845. /package/{node_modules → vendor}/@orient-cli/coding-agent/dist/core/compaction/compaction.d.ts +0 -0
  846. /package/{node_modules → vendor}/@orient-cli/coding-agent/dist/core/compaction/compaction.js +0 -0
  847. /package/{node_modules → vendor}/@orient-cli/coding-agent/dist/core/compaction/index.d.ts +0 -0
  848. /package/{node_modules → vendor}/@orient-cli/coding-agent/dist/core/compaction/index.js +0 -0
  849. /package/{node_modules → vendor}/@orient-cli/coding-agent/dist/core/compaction/index.js.map +0 -0
  850. /package/{node_modules → vendor}/@orient-cli/coding-agent/dist/core/compaction/utils.d.ts +0 -0
  851. /package/{node_modules → vendor}/@orient-cli/coding-agent/dist/core/compaction/utils.js +0 -0
  852. /package/{node_modules → vendor}/@orient-cli/coding-agent/dist/core/defaults.d.ts +0 -0
  853. /package/{node_modules → vendor}/@orient-cli/coding-agent/dist/core/defaults.js +0 -0
  854. /package/{node_modules → vendor}/@orient-cli/coding-agent/dist/core/defaults.js.map +0 -0
  855. /package/{node_modules → vendor}/@orient-cli/coding-agent/dist/core/diagnostics.d.ts +0 -0
  856. /package/{node_modules → vendor}/@orient-cli/coding-agent/dist/core/diagnostics.js +0 -0
  857. /package/{node_modules → vendor}/@orient-cli/coding-agent/dist/core/diagnostics.js.map +0 -0
  858. /package/{node_modules → vendor}/@orient-cli/coding-agent/dist/core/event-bus.d.ts +0 -0
  859. /package/{node_modules → vendor}/@orient-cli/coding-agent/dist/core/event-bus.js +0 -0
  860. /package/{node_modules → vendor}/@orient-cli/coding-agent/dist/core/exec.d.ts +0 -0
  861. /package/{node_modules → vendor}/@orient-cli/coding-agent/dist/core/exec.js +0 -0
  862. /package/{node_modules → vendor}/@orient-cli/coding-agent/dist/core/export-html/ansi-to-html.d.ts +0 -0
  863. /package/{node_modules → vendor}/@orient-cli/coding-agent/dist/core/export-html/ansi-to-html.js +0 -0
  864. /package/{node_modules → vendor}/@orient-cli/coding-agent/dist/core/export-html/index.d.ts +0 -0
  865. /package/{node_modules → vendor}/@orient-cli/coding-agent/dist/core/export-html/index.js +0 -0
  866. /package/{node_modules → vendor}/@orient-cli/coding-agent/dist/core/export-html/tool-renderer.d.ts +0 -0
  867. /package/{node_modules → vendor}/@orient-cli/coding-agent/dist/core/export-html/tool-renderer.js +0 -0
  868. /package/{node_modules → vendor}/@orient-cli/coding-agent/dist/core/extensions/index.d.ts +0 -0
  869. /package/{node_modules → vendor}/@orient-cli/coding-agent/dist/core/extensions/index.js +0 -0
  870. /package/{node_modules → vendor}/@orient-cli/coding-agent/dist/core/extensions/index.js.map +0 -0
  871. /package/{node_modules → vendor}/@orient-cli/coding-agent/dist/core/extensions/loader.d.ts +0 -0
  872. /package/{node_modules → vendor}/@orient-cli/coding-agent/dist/core/extensions/loader.js +0 -0
  873. /package/{node_modules → vendor}/@orient-cli/coding-agent/dist/core/extensions/runner.d.ts +0 -0
  874. /package/{node_modules → vendor}/@orient-cli/coding-agent/dist/core/extensions/types.d.ts +0 -0
  875. /package/{node_modules → vendor}/@orient-cli/coding-agent/dist/core/extensions/types.js +0 -0
  876. /package/{node_modules → vendor}/@orient-cli/coding-agent/dist/core/extensions/wrapper.d.ts +0 -0
  877. /package/{node_modules → vendor}/@orient-cli/coding-agent/dist/core/extensions/wrapper.js +0 -0
  878. /package/{node_modules → vendor}/@orient-cli/coding-agent/dist/core/footer-data-provider.d.ts +0 -0
  879. /package/{node_modules → vendor}/@orient-cli/coding-agent/dist/core/index.d.ts +0 -0
  880. /package/{node_modules → vendor}/@orient-cli/coding-agent/dist/core/index.js +0 -0
  881. /package/{node_modules → vendor}/@orient-cli/coding-agent/dist/core/index.js.map +0 -0
  882. /package/{node_modules → vendor}/@orient-cli/coding-agent/dist/core/messages.d.ts +0 -0
  883. /package/{node_modules → vendor}/@orient-cli/coding-agent/dist/core/messages.js +0 -0
  884. /package/{node_modules → vendor}/@orient-cli/coding-agent/dist/core/model-registry.d.ts +0 -0
  885. /package/{node_modules → vendor}/@orient-cli/coding-agent/dist/core/model-resolver.d.ts +0 -0
  886. /package/{node_modules → vendor}/@orient-cli/coding-agent/dist/core/model-resolver.js +0 -0
  887. /package/{node_modules → vendor}/@orient-cli/coding-agent/dist/core/output-guard.d.ts +0 -0
  888. /package/{node_modules → vendor}/@orient-cli/coding-agent/dist/core/output-guard.js +0 -0
  889. /package/{node_modules → vendor}/@orient-cli/coding-agent/dist/core/package-manager.d.ts +0 -0
  890. /package/{node_modules → vendor}/@orient-cli/coding-agent/dist/core/prompt-templates.d.ts +0 -0
  891. /package/{node_modules → vendor}/@orient-cli/coding-agent/dist/core/prompt-templates.js +0 -0
  892. /package/{node_modules → vendor}/@orient-cli/coding-agent/dist/core/resolve-config-value.d.ts +0 -0
  893. /package/{node_modules → vendor}/@orient-cli/coding-agent/dist/core/resolve-config-value.js +0 -0
  894. /package/{node_modules → vendor}/@orient-cli/coding-agent/dist/core/resource-loader.d.ts +0 -0
  895. /package/{node_modules → vendor}/@orient-cli/coding-agent/dist/core/sdk.d.ts +0 -0
  896. /package/{node_modules → vendor}/@orient-cli/coding-agent/dist/core/sdk.js +0 -0
  897. /package/{node_modules → vendor}/@orient-cli/coding-agent/dist/core/session-cwd.d.ts +0 -0
  898. /package/{node_modules → vendor}/@orient-cli/coding-agent/dist/core/session-manager.d.ts +0 -0
  899. /package/{node_modules → vendor}/@orient-cli/coding-agent/dist/core/settings-manager.d.ts +0 -0
  900. /package/{node_modules → vendor}/@orient-cli/coding-agent/dist/core/skills.d.ts +0 -0
  901. /package/{node_modules → vendor}/@orient-cli/coding-agent/dist/core/skills.js +0 -0
  902. /package/{node_modules → vendor}/@orient-cli/coding-agent/dist/core/slash-commands.d.ts +0 -0
  903. /package/{node_modules → vendor}/@orient-cli/coding-agent/dist/core/slash-commands.js +0 -0
  904. /package/{node_modules → vendor}/@orient-cli/coding-agent/dist/core/slash-commands.js.map +0 -0
  905. /package/{node_modules → vendor}/@orient-cli/coding-agent/dist/core/source-info.d.ts +0 -0
  906. /package/{node_modules → vendor}/@orient-cli/coding-agent/dist/core/source-info.js +0 -0
  907. /package/{node_modules → vendor}/@orient-cli/coding-agent/dist/core/system-prompt.d.ts +0 -0
  908. /package/{node_modules → vendor}/@orient-cli/coding-agent/dist/core/system-prompt.js +0 -0
  909. /package/{node_modules → vendor}/@orient-cli/coding-agent/dist/core/timings.d.ts +0 -0
  910. /package/{node_modules → vendor}/@orient-cli/coding-agent/dist/core/timings.js +0 -0
  911. /package/{node_modules → vendor}/@orient-cli/coding-agent/dist/core/tools/bash.d.ts +0 -0
  912. /package/{node_modules → vendor}/@orient-cli/coding-agent/dist/core/tools/edit-diff.d.ts +0 -0
  913. /package/{node_modules → vendor}/@orient-cli/coding-agent/dist/core/tools/edit-diff.js +0 -0
  914. /package/{node_modules → vendor}/@orient-cli/coding-agent/dist/core/tools/edit.d.ts +0 -0
  915. /package/{node_modules → vendor}/@orient-cli/coding-agent/dist/core/tools/edit.js +0 -0
  916. /package/{node_modules → vendor}/@orient-cli/coding-agent/dist/core/tools/file-mutation-queue.d.ts +0 -0
  917. /package/{node_modules → vendor}/@orient-cli/coding-agent/dist/core/tools/file-mutation-queue.js +0 -0
  918. /package/{node_modules → vendor}/@orient-cli/coding-agent/dist/core/tools/find.d.ts +0 -0
  919. /package/{node_modules → vendor}/@orient-cli/coding-agent/dist/core/tools/find.js +0 -0
  920. /package/{node_modules → vendor}/@orient-cli/coding-agent/dist/core/tools/grep.d.ts +0 -0
  921. /package/{node_modules → vendor}/@orient-cli/coding-agent/dist/core/tools/grep.js +0 -0
  922. /package/{node_modules → vendor}/@orient-cli/coding-agent/dist/core/tools/index.d.ts +0 -0
  923. /package/{node_modules → vendor}/@orient-cli/coding-agent/dist/core/tools/index.js +0 -0
  924. /package/{node_modules → vendor}/@orient-cli/coding-agent/dist/core/tools/ls.d.ts +0 -0
  925. /package/{node_modules → vendor}/@orient-cli/coding-agent/dist/core/tools/ls.js +0 -0
  926. /package/{node_modules → vendor}/@orient-cli/coding-agent/dist/core/tools/path-utils.d.ts +0 -0
  927. /package/{node_modules → vendor}/@orient-cli/coding-agent/dist/core/tools/path-utils.js +0 -0
  928. /package/{node_modules → vendor}/@orient-cli/coding-agent/dist/core/tools/read.d.ts +0 -0
  929. /package/{node_modules → vendor}/@orient-cli/coding-agent/dist/core/tools/read.js +0 -0
  930. /package/{node_modules → vendor}/@orient-cli/coding-agent/dist/core/tools/render-utils.d.ts +0 -0
  931. /package/{node_modules → vendor}/@orient-cli/coding-agent/dist/core/tools/render-utils.js +0 -0
  932. /package/{node_modules → vendor}/@orient-cli/coding-agent/dist/core/tools/tool-definition-wrapper.d.ts +0 -0
  933. /package/{node_modules → vendor}/@orient-cli/coding-agent/dist/core/tools/tool-definition-wrapper.js +0 -0
  934. /package/{node_modules → vendor}/@orient-cli/coding-agent/dist/core/tools/truncate.d.ts +0 -0
  935. /package/{node_modules → vendor}/@orient-cli/coding-agent/dist/core/tools/truncate.js +0 -0
  936. /package/{node_modules → vendor}/@orient-cli/coding-agent/dist/core/tools/write.d.ts +0 -0
  937. /package/{node_modules → vendor}/@orient-cli/coding-agent/dist/index.d.ts +0 -0
  938. /package/{node_modules → vendor}/@orient-cli/coding-agent/dist/index.js +0 -0
  939. /package/{node_modules → vendor}/@orient-cli/coding-agent/dist/index.js.map +0 -0
  940. /package/{node_modules → vendor}/@orient-cli/coding-agent/dist/main.d.ts +0 -0
  941. /package/{node_modules → vendor}/@orient-cli/coding-agent/dist/main.js +0 -0
  942. /package/{node_modules → vendor}/@orient-cli/coding-agent/dist/migrations.d.ts +0 -0
  943. /package/{node_modules → vendor}/@orient-cli/coding-agent/dist/migrations.js +0 -0
  944. /package/{node_modules → vendor}/@orient-cli/coding-agent/dist/modes/index.d.ts +0 -0
  945. /package/{node_modules → vendor}/@orient-cli/coding-agent/dist/modes/index.js +0 -0
  946. /package/{node_modules → vendor}/@orient-cli/coding-agent/dist/modes/index.js.map +0 -0
  947. /package/{node_modules → vendor}/@orient-cli/coding-agent/dist/modes/interactive/components/assistant-message.d.ts +0 -0
  948. /package/{node_modules → vendor}/@orient-cli/coding-agent/dist/modes/interactive/components/bash-execution.d.ts +0 -0
  949. /package/{node_modules → vendor}/@orient-cli/coding-agent/dist/modes/interactive/components/bordered-loader.d.ts +0 -0
  950. /package/{node_modules → vendor}/@orient-cli/coding-agent/dist/modes/interactive/components/branch-summary-message.d.ts +0 -0
  951. /package/{node_modules → vendor}/@orient-cli/coding-agent/dist/modes/interactive/components/compaction-summary-message.d.ts +0 -0
  952. /package/{node_modules → vendor}/@orient-cli/coding-agent/dist/modes/interactive/components/config-selector.d.ts +0 -0
  953. /package/{node_modules → vendor}/@orient-cli/coding-agent/dist/modes/interactive/components/countdown-timer.d.ts +0 -0
  954. /package/{node_modules → vendor}/@orient-cli/coding-agent/dist/modes/interactive/components/custom-editor.d.ts +0 -0
  955. /package/{node_modules → vendor}/@orient-cli/coding-agent/dist/modes/interactive/components/custom-message.d.ts +0 -0
  956. /package/{node_modules → vendor}/@orient-cli/coding-agent/dist/modes/interactive/components/diff.d.ts +0 -0
  957. /package/{node_modules → vendor}/@orient-cli/coding-agent/dist/modes/interactive/components/diff.js +0 -0
  958. /package/{node_modules → vendor}/@orient-cli/coding-agent/dist/modes/interactive/components/dynamic-border.d.ts +0 -0
  959. /package/{node_modules → vendor}/@orient-cli/coding-agent/dist/modes/interactive/components/extension-editor.d.ts +0 -0
  960. /package/{node_modules → vendor}/@orient-cli/coding-agent/dist/modes/interactive/components/extension-input.d.ts +0 -0
  961. /package/{node_modules → vendor}/@orient-cli/coding-agent/dist/modes/interactive/components/extension-selector.d.ts +0 -0
  962. /package/{node_modules → vendor}/@orient-cli/coding-agent/dist/modes/interactive/components/footer.d.ts +0 -0
  963. /package/{node_modules → vendor}/@orient-cli/coding-agent/dist/modes/interactive/components/index.d.ts +0 -0
  964. /package/{node_modules → vendor}/@orient-cli/coding-agent/dist/modes/interactive/components/index.js +0 -0
  965. /package/{node_modules → vendor}/@orient-cli/coding-agent/dist/modes/interactive/components/keybinding-hints.d.ts +0 -0
  966. /package/{node_modules → vendor}/@orient-cli/coding-agent/dist/modes/interactive/components/keybinding-hints.js +0 -0
  967. /package/{node_modules → vendor}/@orient-cli/coding-agent/dist/modes/interactive/components/login-dialog.d.ts +0 -0
  968. /package/{node_modules → vendor}/@orient-cli/coding-agent/dist/modes/interactive/components/model-selector.d.ts +0 -0
  969. /package/{node_modules → vendor}/@orient-cli/coding-agent/dist/modes/interactive/components/oauth-selector.d.ts +0 -0
  970. /package/{node_modules → vendor}/@orient-cli/coding-agent/dist/modes/interactive/components/orient-banner.d.ts +0 -0
  971. /package/{node_modules → vendor}/@orient-cli/coding-agent/dist/modes/interactive/components/orient-banner.js +0 -0
  972. /package/{node_modules → vendor}/@orient-cli/coding-agent/dist/modes/interactive/components/scoped-models-selector.d.ts +0 -0
  973. /package/{node_modules → vendor}/@orient-cli/coding-agent/dist/modes/interactive/components/session-selector-search.d.ts +0 -0
  974. /package/{node_modules → vendor}/@orient-cli/coding-agent/dist/modes/interactive/components/session-selector-search.js +0 -0
  975. /package/{node_modules → vendor}/@orient-cli/coding-agent/dist/modes/interactive/components/session-selector.d.ts +0 -0
  976. /package/{node_modules → vendor}/@orient-cli/coding-agent/dist/modes/interactive/components/settings-selector.d.ts +0 -0
  977. /package/{node_modules → vendor}/@orient-cli/coding-agent/dist/modes/interactive/components/show-images-selector.d.ts +0 -0
  978. /package/{node_modules → vendor}/@orient-cli/coding-agent/dist/modes/interactive/components/skill-invocation-message.d.ts +0 -0
  979. /package/{node_modules → vendor}/@orient-cli/coding-agent/dist/modes/interactive/components/theme-selector.d.ts +0 -0
  980. /package/{node_modules → vendor}/@orient-cli/coding-agent/dist/modes/interactive/components/thinking-selector.d.ts +0 -0
  981. /package/{node_modules → vendor}/@orient-cli/coding-agent/dist/modes/interactive/components/tool-execution.d.ts +0 -0
  982. /package/{node_modules → vendor}/@orient-cli/coding-agent/dist/modes/interactive/components/tree-selector.d.ts +0 -0
  983. /package/{node_modules → vendor}/@orient-cli/coding-agent/dist/modes/interactive/components/user-message-selector.d.ts +0 -0
  984. /package/{node_modules → vendor}/@orient-cli/coding-agent/dist/modes/interactive/components/user-message.d.ts +0 -0
  985. /package/{node_modules → vendor}/@orient-cli/coding-agent/dist/modes/interactive/components/user-message.js +0 -0
  986. /package/{node_modules → vendor}/@orient-cli/coding-agent/dist/modes/interactive/components/visual-truncate.d.ts +0 -0
  987. /package/{node_modules → vendor}/@orient-cli/coding-agent/dist/modes/interactive/components/visual-truncate.js +0 -0
  988. /package/{node_modules → vendor}/@orient-cli/coding-agent/dist/modes/interactive/theme/theme.d.ts +0 -0
  989. /package/{node_modules → vendor}/@orient-cli/coding-agent/dist/modes/print-mode.d.ts +0 -0
  990. /package/{node_modules → vendor}/@orient-cli/coding-agent/dist/modes/print-mode.js +0 -0
  991. /package/{node_modules → vendor}/@orient-cli/coding-agent/dist/modes/rpc/jsonl.d.ts +0 -0
  992. /package/{node_modules → vendor}/@orient-cli/coding-agent/dist/modes/rpc/jsonl.js +0 -0
  993. /package/{node_modules → vendor}/@orient-cli/coding-agent/dist/modes/rpc/rpc-client.d.ts +0 -0
  994. /package/{node_modules → vendor}/@orient-cli/coding-agent/dist/modes/rpc/rpc-mode.d.ts +0 -0
  995. /package/{node_modules → vendor}/@orient-cli/coding-agent/dist/modes/rpc/rpc-mode.js +0 -0
  996. /package/{node_modules → vendor}/@orient-cli/coding-agent/dist/modes/rpc/rpc-types.d.ts +0 -0
  997. /package/{node_modules → vendor}/@orient-cli/coding-agent/dist/modes/rpc/rpc-types.js +0 -0
  998. /package/{node_modules → vendor}/@orient-cli/coding-agent/dist/modes/rpc/rpc-types.js.map +0 -0
  999. /package/{node_modules → vendor}/@orient-cli/coding-agent/dist/package-manager-cli.d.ts +0 -0
  1000. /package/{node_modules → vendor}/@orient-cli/coding-agent/dist/package-manager-cli.js +0 -0
  1001. /package/{node_modules → vendor}/@orient-cli/coding-agent/dist/utils/changelog.d.ts +0 -0
  1002. /package/{node_modules → vendor}/@orient-cli/coding-agent/dist/utils/changelog.js +0 -0
  1003. /package/{node_modules → vendor}/@orient-cli/coding-agent/dist/utils/child-process.d.ts +0 -0
  1004. /package/{node_modules → vendor}/@orient-cli/coding-agent/dist/utils/child-process.js +0 -0
  1005. /package/{node_modules → vendor}/@orient-cli/coding-agent/dist/utils/clipboard-image.d.ts +0 -0
  1006. /package/{node_modules → vendor}/@orient-cli/coding-agent/dist/utils/clipboard-image.js +0 -0
  1007. /package/{node_modules → vendor}/@orient-cli/coding-agent/dist/utils/clipboard-native.d.ts +0 -0
  1008. /package/{node_modules → vendor}/@orient-cli/coding-agent/dist/utils/clipboard-native.js +0 -0
  1009. /package/{node_modules → vendor}/@orient-cli/coding-agent/dist/utils/clipboard.d.ts +0 -0
  1010. /package/{node_modules → vendor}/@orient-cli/coding-agent/dist/utils/clipboard.js +0 -0
  1011. /package/{node_modules → vendor}/@orient-cli/coding-agent/dist/utils/exif-orientation.d.ts +0 -0
  1012. /package/{node_modules → vendor}/@orient-cli/coding-agent/dist/utils/exif-orientation.js +0 -0
  1013. /package/{node_modules → vendor}/@orient-cli/coding-agent/dist/utils/frontmatter.d.ts +0 -0
  1014. /package/{node_modules → vendor}/@orient-cli/coding-agent/dist/utils/frontmatter.js +0 -0
  1015. /package/{node_modules → vendor}/@orient-cli/coding-agent/dist/utils/git.d.ts +0 -0
  1016. /package/{node_modules → vendor}/@orient-cli/coding-agent/dist/utils/git.js +0 -0
  1017. /package/{node_modules → vendor}/@orient-cli/coding-agent/dist/utils/image-convert.d.ts +0 -0
  1018. /package/{node_modules → vendor}/@orient-cli/coding-agent/dist/utils/image-convert.js +0 -0
  1019. /package/{node_modules → vendor}/@orient-cli/coding-agent/dist/utils/image-resize.d.ts +0 -0
  1020. /package/{node_modules → vendor}/@orient-cli/coding-agent/dist/utils/image-resize.js +0 -0
  1021. /package/{node_modules → vendor}/@orient-cli/coding-agent/dist/utils/mime.d.ts +0 -0
  1022. /package/{node_modules → vendor}/@orient-cli/coding-agent/dist/utils/mime.js +0 -0
  1023. /package/{node_modules → vendor}/@orient-cli/coding-agent/dist/utils/paths.d.ts +0 -0
  1024. /package/{node_modules → vendor}/@orient-cli/coding-agent/dist/utils/paths.js +0 -0
  1025. /package/{node_modules → vendor}/@orient-cli/coding-agent/dist/utils/photon.d.ts +0 -0
  1026. /package/{node_modules → vendor}/@orient-cli/coding-agent/dist/utils/photon.js +0 -0
  1027. /package/{node_modules → vendor}/@orient-cli/coding-agent/dist/utils/shell.d.ts +0 -0
  1028. /package/{node_modules → vendor}/@orient-cli/coding-agent/dist/utils/shell.js +0 -0
  1029. /package/{node_modules → vendor}/@orient-cli/coding-agent/dist/utils/sleep.d.ts +0 -0
  1030. /package/{node_modules → vendor}/@orient-cli/coding-agent/dist/utils/sleep.js +0 -0
  1031. /package/{node_modules → vendor}/@orient-cli/coding-agent/dist/utils/tools-manager.d.ts +0 -0
  1032. /package/{node_modules → vendor}/@orient-cli/coding-agent/dist/utils/tools-manager.js +0 -0
  1033. /package/{node_modules → vendor}/@orient-cli/coding-agent/package.json +0 -0
  1034. /package/{node_modules → vendor}/@orient-cli/tui/dist/autocomplete.d.ts +0 -0
  1035. /package/{node_modules → vendor}/@orient-cli/tui/dist/autocomplete.d.ts.map +0 -0
  1036. /package/{node_modules → vendor}/@orient-cli/tui/dist/autocomplete.js +0 -0
  1037. /package/{node_modules → vendor}/@orient-cli/tui/dist/autocomplete.js.map +0 -0
  1038. /package/{node_modules → vendor}/@orient-cli/tui/dist/components/box.d.ts +0 -0
  1039. /package/{node_modules → vendor}/@orient-cli/tui/dist/components/box.d.ts.map +0 -0
  1040. /package/{node_modules → vendor}/@orient-cli/tui/dist/components/box.js +0 -0
  1041. /package/{node_modules → vendor}/@orient-cli/tui/dist/components/box.js.map +0 -0
  1042. /package/{node_modules → vendor}/@orient-cli/tui/dist/components/cancellable-loader.d.ts +0 -0
  1043. /package/{node_modules → vendor}/@orient-cli/tui/dist/components/cancellable-loader.d.ts.map +0 -0
  1044. /package/{node_modules → vendor}/@orient-cli/tui/dist/components/cancellable-loader.js +0 -0
  1045. /package/{node_modules → vendor}/@orient-cli/tui/dist/components/cancellable-loader.js.map +0 -0
  1046. /package/{node_modules → vendor}/@orient-cli/tui/dist/components/editor.d.ts +0 -0
  1047. /package/{node_modules → vendor}/@orient-cli/tui/dist/components/editor.d.ts.map +0 -0
  1048. /package/{node_modules → vendor}/@orient-cli/tui/dist/components/editor.js +0 -0
  1049. /package/{node_modules → vendor}/@orient-cli/tui/dist/components/editor.js.map +0 -0
  1050. /package/{node_modules → vendor}/@orient-cli/tui/dist/components/image.d.ts +0 -0
  1051. /package/{node_modules → vendor}/@orient-cli/tui/dist/components/image.d.ts.map +0 -0
  1052. /package/{node_modules → vendor}/@orient-cli/tui/dist/components/image.js +0 -0
  1053. /package/{node_modules → vendor}/@orient-cli/tui/dist/components/image.js.map +0 -0
  1054. /package/{node_modules → vendor}/@orient-cli/tui/dist/components/input.d.ts +0 -0
  1055. /package/{node_modules → vendor}/@orient-cli/tui/dist/components/input.d.ts.map +0 -0
  1056. /package/{node_modules → vendor}/@orient-cli/tui/dist/components/input.js +0 -0
  1057. /package/{node_modules → vendor}/@orient-cli/tui/dist/components/input.js.map +0 -0
  1058. /package/{node_modules → vendor}/@orient-cli/tui/dist/components/loader.d.ts +0 -0
  1059. /package/{node_modules → vendor}/@orient-cli/tui/dist/components/loader.d.ts.map +0 -0
  1060. /package/{node_modules → vendor}/@orient-cli/tui/dist/components/loader.js +0 -0
  1061. /package/{node_modules → vendor}/@orient-cli/tui/dist/components/loader.js.map +0 -0
  1062. /package/{node_modules → vendor}/@orient-cli/tui/dist/components/markdown.d.ts +0 -0
  1063. /package/{node_modules → vendor}/@orient-cli/tui/dist/components/markdown.d.ts.map +0 -0
  1064. /package/{node_modules → vendor}/@orient-cli/tui/dist/components/markdown.js +0 -0
  1065. /package/{node_modules → vendor}/@orient-cli/tui/dist/components/markdown.js.map +0 -0
  1066. /package/{node_modules → vendor}/@orient-cli/tui/dist/components/select-list.d.ts +0 -0
  1067. /package/{node_modules → vendor}/@orient-cli/tui/dist/components/select-list.d.ts.map +0 -0
  1068. /package/{node_modules → vendor}/@orient-cli/tui/dist/components/select-list.js +0 -0
  1069. /package/{node_modules → vendor}/@orient-cli/tui/dist/components/select-list.js.map +0 -0
  1070. /package/{node_modules → vendor}/@orient-cli/tui/dist/components/settings-list.d.ts +0 -0
  1071. /package/{node_modules → vendor}/@orient-cli/tui/dist/components/settings-list.d.ts.map +0 -0
  1072. /package/{node_modules → vendor}/@orient-cli/tui/dist/components/settings-list.js +0 -0
  1073. /package/{node_modules → vendor}/@orient-cli/tui/dist/components/settings-list.js.map +0 -0
  1074. /package/{node_modules → vendor}/@orient-cli/tui/dist/components/spacer.d.ts +0 -0
  1075. /package/{node_modules → vendor}/@orient-cli/tui/dist/components/spacer.d.ts.map +0 -0
  1076. /package/{node_modules → vendor}/@orient-cli/tui/dist/components/spacer.js +0 -0
  1077. /package/{node_modules → vendor}/@orient-cli/tui/dist/components/spacer.js.map +0 -0
  1078. /package/{node_modules → vendor}/@orient-cli/tui/dist/components/text.d.ts +0 -0
  1079. /package/{node_modules → vendor}/@orient-cli/tui/dist/components/text.d.ts.map +0 -0
  1080. /package/{node_modules → vendor}/@orient-cli/tui/dist/components/text.js +0 -0
  1081. /package/{node_modules → vendor}/@orient-cli/tui/dist/components/text.js.map +0 -0
  1082. /package/{node_modules → vendor}/@orient-cli/tui/dist/components/truncated-text.d.ts +0 -0
  1083. /package/{node_modules → vendor}/@orient-cli/tui/dist/components/truncated-text.d.ts.map +0 -0
  1084. /package/{node_modules → vendor}/@orient-cli/tui/dist/components/truncated-text.js +0 -0
  1085. /package/{node_modules → vendor}/@orient-cli/tui/dist/components/truncated-text.js.map +0 -0
  1086. /package/{node_modules → vendor}/@orient-cli/tui/dist/editor-component.d.ts +0 -0
  1087. /package/{node_modules → vendor}/@orient-cli/tui/dist/editor-component.d.ts.map +0 -0
  1088. /package/{node_modules → vendor}/@orient-cli/tui/dist/editor-component.js +0 -0
  1089. /package/{node_modules → vendor}/@orient-cli/tui/dist/editor-component.js.map +0 -0
  1090. /package/{node_modules → vendor}/@orient-cli/tui/dist/fuzzy.d.ts +0 -0
  1091. /package/{node_modules → vendor}/@orient-cli/tui/dist/fuzzy.d.ts.map +0 -0
  1092. /package/{node_modules → vendor}/@orient-cli/tui/dist/fuzzy.js +0 -0
  1093. /package/{node_modules → vendor}/@orient-cli/tui/dist/fuzzy.js.map +0 -0
  1094. /package/{node_modules → vendor}/@orient-cli/tui/dist/index.d.ts +0 -0
  1095. /package/{node_modules → vendor}/@orient-cli/tui/dist/index.d.ts.map +0 -0
  1096. /package/{node_modules → vendor}/@orient-cli/tui/dist/index.js +0 -0
  1097. /package/{node_modules → vendor}/@orient-cli/tui/dist/index.js.map +0 -0
  1098. /package/{node_modules → vendor}/@orient-cli/tui/dist/keybindings.d.ts +0 -0
  1099. /package/{node_modules → vendor}/@orient-cli/tui/dist/keybindings.d.ts.map +0 -0
  1100. /package/{node_modules → vendor}/@orient-cli/tui/dist/keybindings.js +0 -0
  1101. /package/{node_modules → vendor}/@orient-cli/tui/dist/keybindings.js.map +0 -0
  1102. /package/{node_modules → vendor}/@orient-cli/tui/dist/keys.d.ts +0 -0
  1103. /package/{node_modules → vendor}/@orient-cli/tui/dist/keys.d.ts.map +0 -0
  1104. /package/{node_modules → vendor}/@orient-cli/tui/dist/keys.js +0 -0
  1105. /package/{node_modules → vendor}/@orient-cli/tui/dist/keys.js.map +0 -0
  1106. /package/{node_modules → vendor}/@orient-cli/tui/dist/kill-ring.d.ts +0 -0
  1107. /package/{node_modules → vendor}/@orient-cli/tui/dist/kill-ring.d.ts.map +0 -0
  1108. /package/{node_modules → vendor}/@orient-cli/tui/dist/kill-ring.js +0 -0
  1109. /package/{node_modules → vendor}/@orient-cli/tui/dist/kill-ring.js.map +0 -0
  1110. /package/{node_modules → vendor}/@orient-cli/tui/dist/stdin-buffer.d.ts +0 -0
  1111. /package/{node_modules → vendor}/@orient-cli/tui/dist/stdin-buffer.d.ts.map +0 -0
  1112. /package/{node_modules → vendor}/@orient-cli/tui/dist/stdin-buffer.js +0 -0
  1113. /package/{node_modules → vendor}/@orient-cli/tui/dist/stdin-buffer.js.map +0 -0
  1114. /package/{node_modules → vendor}/@orient-cli/tui/dist/terminal-image.d.ts +0 -0
  1115. /package/{node_modules → vendor}/@orient-cli/tui/dist/terminal-image.d.ts.map +0 -0
  1116. /package/{node_modules → vendor}/@orient-cli/tui/dist/terminal-image.js +0 -0
  1117. /package/{node_modules → vendor}/@orient-cli/tui/dist/terminal-image.js.map +0 -0
  1118. /package/{node_modules → vendor}/@orient-cli/tui/dist/terminal.d.ts +0 -0
  1119. /package/{node_modules → vendor}/@orient-cli/tui/dist/terminal.d.ts.map +0 -0
  1120. /package/{node_modules → vendor}/@orient-cli/tui/dist/terminal.js +0 -0
  1121. /package/{node_modules → vendor}/@orient-cli/tui/dist/terminal.js.map +0 -0
  1122. /package/{node_modules → vendor}/@orient-cli/tui/dist/tui.d.ts +0 -0
  1123. /package/{node_modules → vendor}/@orient-cli/tui/dist/tui.d.ts.map +0 -0
  1124. /package/{node_modules → vendor}/@orient-cli/tui/dist/tui.js +0 -0
  1125. /package/{node_modules → vendor}/@orient-cli/tui/dist/tui.js.map +0 -0
  1126. /package/{node_modules → vendor}/@orient-cli/tui/dist/undo-stack.d.ts +0 -0
  1127. /package/{node_modules → vendor}/@orient-cli/tui/dist/undo-stack.d.ts.map +0 -0
  1128. /package/{node_modules → vendor}/@orient-cli/tui/dist/undo-stack.js +0 -0
  1129. /package/{node_modules → vendor}/@orient-cli/tui/dist/undo-stack.js.map +0 -0
  1130. /package/{node_modules → vendor}/@orient-cli/tui/dist/utils.d.ts +0 -0
  1131. /package/{node_modules → vendor}/@orient-cli/tui/dist/utils.d.ts.map +0 -0
  1132. /package/{node_modules → vendor}/@orient-cli/tui/dist/utils.js +0 -0
  1133. /package/{node_modules → vendor}/@orient-cli/tui/dist/utils.js.map +0 -0
  1134. /package/{node_modules → vendor}/@orient-cli/tui/package.json +0 -0
@@ -1 +0,0 @@
1
- {"version":3,"file":"assistant-message.d.ts","sourceRoot":"","sources":["../../../../src/modes/interactive/components/assistant-message.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,gBAAgB,EAAE,MAAM,gBAAgB,CAAC;AACvD,OAAO,EAAE,SAAS,EAAY,KAAK,aAAa,EAAgB,MAAM,iBAAiB,CAAC;AAGxF;;GAEG;AACH,qBAAa,yBAA0B,SAAQ,SAAS;IACvD,OAAO,CAAC,gBAAgB,CAAY;IACpC,OAAO,CAAC,iBAAiB,CAAU;IACnC,OAAO,CAAC,aAAa,CAAgB;IACrC,OAAO,CAAC,mBAAmB,CAAS;IACpC,OAAO,CAAC,WAAW,CAAC,CAAmB;IAEvC,YACC,OAAO,CAAC,EAAE,gBAAgB,EAC1B,iBAAiB,UAAQ,EACzB,aAAa,GAAE,aAAkC,EACjD,mBAAmB,SAAgB,EAenC;IAEQ,UAAU,IAAI,IAAI,CAK1B;IAED,oBAAoB,CAAC,IAAI,EAAE,OAAO,GAAG,IAAI,CAKxC;IAED,sBAAsB,CAAC,KAAK,EAAE,MAAM,GAAG,IAAI,CAK1C;IAED,aAAa,CAAC,OAAO,EAAE,gBAAgB,GAAG,IAAI,CAwE7C;CACD","sourcesContent":["import type { AssistantMessage } from \"@orient-cli/ai\";\nimport { Container, Markdown, type MarkdownTheme, Spacer, Text } from \"@orient-cli/tui\";\nimport { getMarkdownTheme, theme } from \"../theme/theme.js\";\n\n/**\n * Component that renders a complete assistant message\n */\nexport class AssistantMessageComponent extends Container {\n\tprivate contentContainer: Container;\n\tprivate hideThinkingBlock: boolean;\n\tprivate markdownTheme: MarkdownTheme;\n\tprivate hiddenThinkingLabel: string;\n\tprivate lastMessage?: AssistantMessage;\n\n\tconstructor(\n\t\tmessage?: AssistantMessage,\n\t\thideThinkingBlock = false,\n\t\tmarkdownTheme: MarkdownTheme = getMarkdownTheme(),\n\t\thiddenThinkingLabel = \"Thinking...\",\n\t) {\n\t\tsuper();\n\n\t\tthis.hideThinkingBlock = hideThinkingBlock;\n\t\tthis.markdownTheme = markdownTheme;\n\t\tthis.hiddenThinkingLabel = hiddenThinkingLabel;\n\n\t\t// Container for text/thinking content\n\t\tthis.contentContainer = new Container();\n\t\tthis.addChild(this.contentContainer);\n\n\t\tif (message) {\n\t\t\tthis.updateContent(message);\n\t\t}\n\t}\n\n\toverride invalidate(): void {\n\t\tsuper.invalidate();\n\t\tif (this.lastMessage) {\n\t\t\tthis.updateContent(this.lastMessage);\n\t\t}\n\t}\n\n\tsetHideThinkingBlock(hide: boolean): void {\n\t\tthis.hideThinkingBlock = hide;\n\t\tif (this.lastMessage) {\n\t\t\tthis.updateContent(this.lastMessage);\n\t\t}\n\t}\n\n\tsetHiddenThinkingLabel(label: string): void {\n\t\tthis.hiddenThinkingLabel = label;\n\t\tif (this.lastMessage) {\n\t\t\tthis.updateContent(this.lastMessage);\n\t\t}\n\t}\n\n\tupdateContent(message: AssistantMessage): void {\n\t\tthis.lastMessage = message;\n\n\t\t// Clear content container\n\t\tthis.contentContainer.clear();\n\n\t\tconst hasVisibleContent = message.content.some(\n\t\t\t(c) => (c.type === \"text\" && c.text.trim()) || (c.type === \"thinking\" && c.thinking.trim()),\n\t\t);\n\n\t\tif (hasVisibleContent) {\n\t\t\tthis.contentContainer.addChild(new Spacer(1));\n\t\t}\n\n\t\t// Render content in order\n\t\tfor (let i = 0; i < message.content.length; i++) {\n\t\t\tconst content = message.content[i];\n\t\t\tif (content.type === \"text\" && content.text.trim()) {\n\t\t\t\t// Assistant text messages with no background - trim the text\n\t\t\t\t// Set paddingY=0 to avoid extra spacing before tool executions\n\t\t\t\tthis.contentContainer.addChild(new Markdown(content.text.trim(), 1, 0, this.markdownTheme));\n\t\t\t} else if (content.type === \"thinking\" && content.thinking.trim()) {\n\t\t\t\t// Add spacing only when another visible assistant content block follows.\n\t\t\t\t// This avoids a superfluous blank line before separately-rendered tool execution blocks.\n\t\t\t\tconst hasVisibleContentAfter = message.content\n\t\t\t\t\t.slice(i + 1)\n\t\t\t\t\t.some((c) => (c.type === \"text\" && c.text.trim()) || (c.type === \"thinking\" && c.thinking.trim()));\n\n\t\t\t\tif (this.hideThinkingBlock) {\n\t\t\t\t\t// Show static thinking label when hidden\n\t\t\t\t\tthis.contentContainer.addChild(\n\t\t\t\t\t\tnew Text(theme.italic(theme.fg(\"thinkingText\", this.hiddenThinkingLabel)), 1, 0),\n\t\t\t\t\t);\n\t\t\t\t\tif (hasVisibleContentAfter) {\n\t\t\t\t\t\tthis.contentContainer.addChild(new Spacer(1));\n\t\t\t\t\t}\n\t\t\t\t} else {\n\t\t\t\t\t// Thinking traces in thinkingText color, italic\n\t\t\t\t\tthis.contentContainer.addChild(\n\t\t\t\t\t\tnew Markdown(content.thinking.trim(), 1, 0, this.markdownTheme, {\n\t\t\t\t\t\t\tcolor: (text: string) => theme.fg(\"thinkingText\", text),\n\t\t\t\t\t\t\titalic: true,\n\t\t\t\t\t\t}),\n\t\t\t\t\t);\n\t\t\t\t\tif (hasVisibleContentAfter) {\n\t\t\t\t\t\tthis.contentContainer.addChild(new Spacer(1));\n\t\t\t\t\t}\n\t\t\t\t}\n\t\t\t}\n\t\t}\n\n\t\t// Check if aborted - show after partial content\n\t\t// But only if there are no tool calls (tool execution components will show the error)\n\t\tconst hasToolCalls = message.content.some((c) => c.type === \"toolCall\");\n\t\tif (!hasToolCalls) {\n\t\t\tif (message.stopReason === \"aborted\") {\n\t\t\t\tconst abortMessage =\n\t\t\t\t\tmessage.errorMessage && message.errorMessage !== \"Request was aborted\"\n\t\t\t\t\t\t? message.errorMessage\n\t\t\t\t\t\t: \"Operation aborted\";\n\t\t\t\tif (hasVisibleContent) {\n\t\t\t\t\tthis.contentContainer.addChild(new Spacer(1));\n\t\t\t\t} else {\n\t\t\t\t\tthis.contentContainer.addChild(new Spacer(1));\n\t\t\t\t}\n\t\t\t\tthis.contentContainer.addChild(new Text(theme.fg(\"error\", abortMessage), 1, 0));\n\t\t\t} else if (message.stopReason === \"error\") {\n\t\t\t\tconst errorMsg = message.errorMessage || \"Unknown error\";\n\t\t\t\tthis.contentContainer.addChild(new Spacer(1));\n\t\t\t\tthis.contentContainer.addChild(new Text(theme.fg(\"error\", `Error: ${errorMsg}`), 1, 0));\n\t\t\t}\n\t\t}\n\t}\n}\n"]}
@@ -1,107 +0,0 @@
1
- import { Container, Markdown, Spacer, Text } from "@orient-cli/tui";
2
- import { getMarkdownTheme, theme } from "../theme/theme.js";
3
- /**
4
- * Component that renders a complete assistant message
5
- */
6
- export class AssistantMessageComponent extends Container {
7
- contentContainer;
8
- hideThinkingBlock;
9
- markdownTheme;
10
- hiddenThinkingLabel;
11
- lastMessage;
12
- constructor(message, hideThinkingBlock = false, markdownTheme = getMarkdownTheme(), hiddenThinkingLabel = "Thinking...") {
13
- super();
14
- this.hideThinkingBlock = hideThinkingBlock;
15
- this.markdownTheme = markdownTheme;
16
- this.hiddenThinkingLabel = hiddenThinkingLabel;
17
- // Container for text/thinking content
18
- this.contentContainer = new Container();
19
- this.addChild(this.contentContainer);
20
- if (message) {
21
- this.updateContent(message);
22
- }
23
- }
24
- invalidate() {
25
- super.invalidate();
26
- if (this.lastMessage) {
27
- this.updateContent(this.lastMessage);
28
- }
29
- }
30
- setHideThinkingBlock(hide) {
31
- this.hideThinkingBlock = hide;
32
- if (this.lastMessage) {
33
- this.updateContent(this.lastMessage);
34
- }
35
- }
36
- setHiddenThinkingLabel(label) {
37
- this.hiddenThinkingLabel = label;
38
- if (this.lastMessage) {
39
- this.updateContent(this.lastMessage);
40
- }
41
- }
42
- updateContent(message) {
43
- this.lastMessage = message;
44
- // Clear content container
45
- this.contentContainer.clear();
46
- const hasVisibleContent = message.content.some((c) => (c.type === "text" && c.text.trim()) || (c.type === "thinking" && c.thinking.trim()));
47
- if (hasVisibleContent) {
48
- this.contentContainer.addChild(new Spacer(1));
49
- }
50
- // Render content in order
51
- for (let i = 0; i < message.content.length; i++) {
52
- const content = message.content[i];
53
- if (content.type === "text" && content.text.trim()) {
54
- // Assistant text messages with no background - trim the text
55
- // Set paddingY=0 to avoid extra spacing before tool executions
56
- this.contentContainer.addChild(new Markdown(content.text.trim(), 1, 0, this.markdownTheme));
57
- }
58
- else if (content.type === "thinking" && content.thinking.trim()) {
59
- // Add spacing only when another visible assistant content block follows.
60
- // This avoids a superfluous blank line before separately-rendered tool execution blocks.
61
- const hasVisibleContentAfter = message.content
62
- .slice(i + 1)
63
- .some((c) => (c.type === "text" && c.text.trim()) || (c.type === "thinking" && c.thinking.trim()));
64
- if (this.hideThinkingBlock) {
65
- // Show static thinking label when hidden
66
- this.contentContainer.addChild(new Text(theme.italic(theme.fg("thinkingText", this.hiddenThinkingLabel)), 1, 0));
67
- if (hasVisibleContentAfter) {
68
- this.contentContainer.addChild(new Spacer(1));
69
- }
70
- }
71
- else {
72
- // Thinking traces in thinkingText color, italic
73
- this.contentContainer.addChild(new Markdown(content.thinking.trim(), 1, 0, this.markdownTheme, {
74
- color: (text) => theme.fg("thinkingText", text),
75
- italic: true,
76
- }));
77
- if (hasVisibleContentAfter) {
78
- this.contentContainer.addChild(new Spacer(1));
79
- }
80
- }
81
- }
82
- }
83
- // Check if aborted - show after partial content
84
- // But only if there are no tool calls (tool execution components will show the error)
85
- const hasToolCalls = message.content.some((c) => c.type === "toolCall");
86
- if (!hasToolCalls) {
87
- if (message.stopReason === "aborted") {
88
- const abortMessage = message.errorMessage && message.errorMessage !== "Request was aborted"
89
- ? message.errorMessage
90
- : "Operation aborted";
91
- if (hasVisibleContent) {
92
- this.contentContainer.addChild(new Spacer(1));
93
- }
94
- else {
95
- this.contentContainer.addChild(new Spacer(1));
96
- }
97
- this.contentContainer.addChild(new Text(theme.fg("error", abortMessage), 1, 0));
98
- }
99
- else if (message.stopReason === "error") {
100
- const errorMsg = message.errorMessage || "Unknown error";
101
- this.contentContainer.addChild(new Spacer(1));
102
- this.contentContainer.addChild(new Text(theme.fg("error", `Error: ${errorMsg}`), 1, 0));
103
- }
104
- }
105
- }
106
- }
107
- //# sourceMappingURL=assistant-message.js.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"assistant-message.js","sourceRoot":"","sources":["../../../../src/modes/interactive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C,gBAAgB,CAAC,QAAQ,CAAC,IAAI,IAAI,CAAC,KAAK,CAAC,EAAE,CAAC,OAAO,EAAE,UAAU,QAAQ,EAAE,CAAC,EAAE,CAAC,EAAE,CAAC,CAAC,CAAC,CAAC;YACzF,CAAC;QACF,CAAC;IAAA,CACD;CACD","sourcesContent":["import type { AssistantMessage } from \"@orient-cli/ai\";\nimport { Container, Markdown, type MarkdownTheme, Spacer, Text } from \"@orient-cli/tui\";\nimport { getMarkdownTheme, theme } from \"../theme/theme.js\";\n\n/**\n * Component that renders a complete assistant message\n */\nexport class AssistantMessageComponent extends Container {\n\tprivate contentContainer: Container;\n\tprivate hideThinkingBlock: boolean;\n\tprivate markdownTheme: MarkdownTheme;\n\tprivate hiddenThinkingLabel: string;\n\tprivate lastMessage?: AssistantMessage;\n\n\tconstructor(\n\t\tmessage?: AssistantMessage,\n\t\thideThinkingBlock = false,\n\t\tmarkdownTheme: MarkdownTheme = getMarkdownTheme(),\n\t\thiddenThinkingLabel = \"Thinking...\",\n\t) {\n\t\tsuper();\n\n\t\tthis.hideThinkingBlock = hideThinkingBlock;\n\t\tthis.markdownTheme = markdownTheme;\n\t\tthis.hiddenThinkingLabel = hiddenThinkingLabel;\n\n\t\t// Container for text/thinking content\n\t\tthis.contentContainer = new Container();\n\t\tthis.addChild(this.contentContainer);\n\n\t\tif (message) {\n\t\t\tthis.updateContent(message);\n\t\t}\n\t}\n\n\toverride invalidate(): void {\n\t\tsuper.invalidate();\n\t\tif (this.lastMessage) {\n\t\t\tthis.updateContent(this.lastMessage);\n\t\t}\n\t}\n\n\tsetHideThinkingBlock(hide: boolean): void {\n\t\tthis.hideThinkingBlock = hide;\n\t\tif (this.lastMessage) {\n\t\t\tthis.updateContent(this.lastMessage);\n\t\t}\n\t}\n\n\tsetHiddenThinkingLabel(label: string): void {\n\t\tthis.hiddenThinkingLabel = label;\n\t\tif (this.lastMessage) {\n\t\t\tthis.updateContent(this.lastMessage);\n\t\t}\n\t}\n\n\tupdateContent(message: AssistantMessage): void {\n\t\tthis.lastMessage = message;\n\n\t\t// Clear content container\n\t\tthis.contentContainer.clear();\n\n\t\tconst hasVisibleContent = message.content.some(\n\t\t\t(c) => (c.type === \"text\" && c.text.trim()) || (c.type === \"thinking\" && c.thinking.trim()),\n\t\t);\n\n\t\tif (hasVisibleContent) {\n\t\t\tthis.contentContainer.addChild(new Spacer(1));\n\t\t}\n\n\t\t// Render content in order\n\t\tfor (let i = 0; i < message.content.length; i++) {\n\t\t\tconst content = message.content[i];\n\t\t\tif (content.type === \"text\" && content.text.trim()) {\n\t\t\t\t// Assistant text messages with no background - trim the text\n\t\t\t\t// Set paddingY=0 to avoid extra spacing before tool executions\n\t\t\t\tthis.contentContainer.addChild(new Markdown(content.text.trim(), 1, 0, this.markdownTheme));\n\t\t\t} else if (content.type === \"thinking\" && content.thinking.trim()) {\n\t\t\t\t// Add spacing only when another visible assistant content block follows.\n\t\t\t\t// This avoids a superfluous blank line before separately-rendered tool execution blocks.\n\t\t\t\tconst hasVisibleContentAfter = message.content\n\t\t\t\t\t.slice(i + 1)\n\t\t\t\t\t.some((c) => (c.type === \"text\" && c.text.trim()) || (c.type === \"thinking\" && c.thinking.trim()));\n\n\t\t\t\tif (this.hideThinkingBlock) {\n\t\t\t\t\t// Show static thinking label when hidden\n\t\t\t\t\tthis.contentContainer.addChild(\n\t\t\t\t\t\tnew Text(theme.italic(theme.fg(\"thinkingText\", this.hiddenThinkingLabel)), 1, 0),\n\t\t\t\t\t);\n\t\t\t\t\tif (hasVisibleContentAfter) {\n\t\t\t\t\t\tthis.contentContainer.addChild(new Spacer(1));\n\t\t\t\t\t}\n\t\t\t\t} else {\n\t\t\t\t\t// Thinking traces in thinkingText color, italic\n\t\t\t\t\tthis.contentContainer.addChild(\n\t\t\t\t\t\tnew Markdown(content.thinking.trim(), 1, 0, this.markdownTheme, {\n\t\t\t\t\t\t\tcolor: (text: string) => theme.fg(\"thinkingText\", text),\n\t\t\t\t\t\t\titalic: true,\n\t\t\t\t\t\t}),\n\t\t\t\t\t);\n\t\t\t\t\tif (hasVisibleContentAfter) {\n\t\t\t\t\t\tthis.contentContainer.addChild(new Spacer(1));\n\t\t\t\t\t}\n\t\t\t\t}\n\t\t\t}\n\t\t}\n\n\t\t// Check if aborted - show after partial content\n\t\t// But only if there are no tool calls (tool execution components will show the error)\n\t\tconst hasToolCalls = message.content.some((c) => c.type === \"toolCall\");\n\t\tif (!hasToolCalls) {\n\t\t\tif (message.stopReason === \"aborted\") {\n\t\t\t\tconst abortMessage =\n\t\t\t\t\tmessage.errorMessage && message.errorMessage !== \"Request was aborted\"\n\t\t\t\t\t\t? message.errorMessage\n\t\t\t\t\t\t: \"Operation aborted\";\n\t\t\t\tif (hasVisibleContent) {\n\t\t\t\t\tthis.contentContainer.addChild(new Spacer(1));\n\t\t\t\t} else {\n\t\t\t\t\tthis.contentContainer.addChild(new Spacer(1));\n\t\t\t\t}\n\t\t\t\tthis.contentContainer.addChild(new Text(theme.fg(\"error\", abortMessage), 1, 0));\n\t\t\t} else if (message.stopReason === \"error\") {\n\t\t\t\tconst errorMsg = message.errorMessage || \"Unknown error\";\n\t\t\t\tthis.contentContainer.addChild(new Spacer(1));\n\t\t\t\tthis.contentContainer.addChild(new Text(theme.fg(\"error\", `Error: ${errorMsg}`), 1, 0));\n\t\t\t}\n\t\t}\n\t}\n}\n"]}
@@ -1 +0,0 @@
1
- {"version":3,"file":"bash-execution.d.ts","sourceRoot":"","sources":["../../../../src/modes/interactive/components/bash-execution.ts"],"names":[],"mappings":"AAAA;;GAEG;AAEH,OAAO,EAAE,SAAS,EAAwB,KAAK,GAAG,EAAE,MAAM,iBAAiB,CAAC;AAE5E,OAAO,EAGN,KAAK,gBAAgB,EAErB,MAAM,iCAAiC,CAAC;AASzC,qBAAa,sBAAuB,SAAQ,SAAS;IACpD,OAAO,CAAC,OAAO,CAAS;IACxB,OAAO,CAAC,WAAW,CAAgB;IACnC,OAAO,CAAC,MAAM,CAA6D;IAC3E,OAAO,CAAC,QAAQ,CAAiC;IACjD,OAAO,CAAC,MAAM,CAAS;IACvB,OAAO,CAAC,gBAAgB,CAAC,CAAmB;IAC5C,OAAO,CAAC,cAAc,CAAC,CAAS;IAChC,OAAO,CAAC,QAAQ,CAAS;IACzB,OAAO,CAAC,gBAAgB,CAAY;IAEpC,YAAY,OAAO,EAAE,MAAM,EAAE,EAAE,EAAE,GAAG,EAAE,kBAAkB,UAAQ,EAiC/D;IAED;;OAEG;IACH,WAAW,CAAC,QAAQ,EAAE,OAAO,GAAG,IAAI,CAGnC;IAEQ,UAAU,IAAI,IAAI,CAG1B;IAED,YAAY,CAAC,KAAK,EAAE,MAAM,GAAG,IAAI,CAgBhC;IAED,WAAW,CACV,QAAQ,EAAE,MAAM,GAAG,SAAS,EAC5B,SAAS,EAAE,OAAO,EAClB,gBAAgB,CAAC,EAAE,gBAAgB,EACnC,cAAc,CAAC,EAAE,MAAM,GACrB,IAAI,CAcN;IAED,OAAO,CAAC,aAAa;IAsFrB;;OAEG;IACH,SAAS,IAAI,MAAM,CAElB;IAED;;OAEG;IACH,UAAU,IAAI,MAAM,CAEnB;CACD","sourcesContent":["/**\n * Component for displaying bash command execution with streaming output.\n */\n\nimport { Container, Loader, Spacer, Text, type TUI } from \"@orient-cli/tui\";\nimport stripAnsi from \"strip-ansi\";\nimport {\n\tDEFAULT_MAX_BYTES,\n\tDEFAULT_MAX_LINES,\n\ttype TruncationResult,\n\ttruncateTail,\n} from \"../../../core/tools/truncate.js\";\nimport { theme } from \"../theme/theme.js\";\nimport { DynamicBorder } from \"./dynamic-border.js\";\nimport { keyHint, keyText } from \"./keybinding-hints.js\";\nimport { truncateToVisualLines } from \"./visual-truncate.js\";\n\n// Preview line limit when not expanded (matches tool execution behavior)\nconst PREVIEW_LINES = 20;\n\nexport class BashExecutionComponent extends Container {\n\tprivate command: string;\n\tprivate outputLines: string[] = [];\n\tprivate status: \"running\" | \"complete\" | \"cancelled\" | \"error\" = \"running\";\n\tprivate exitCode: number | undefined = undefined;\n\tprivate loader: Loader;\n\tprivate truncationResult?: TruncationResult;\n\tprivate fullOutputPath?: string;\n\tprivate expanded = false;\n\tprivate contentContainer: Container;\n\n\tconstructor(command: string, ui: TUI, excludeFromContext = false) {\n\t\tsuper();\n\t\tthis.command = command;\n\n\t\t// Use dim border for excluded-from-context commands (!! prefix)\n\t\tconst colorKey = excludeFromContext ? \"dim\" : \"bashMode\";\n\t\tconst borderColor = (str: string) => theme.fg(colorKey, str);\n\n\t\t// Add spacer\n\t\tthis.addChild(new Spacer(1));\n\n\t\t// Top border\n\t\tthis.addChild(new DynamicBorder(borderColor));\n\n\t\t// Content container (holds dynamic content between borders)\n\t\tthis.contentContainer = new Container();\n\t\tthis.addChild(this.contentContainer);\n\n\t\t// Command header\n\t\tconst header = new Text(theme.fg(colorKey, theme.bold(`$ ${command}`)), 1, 0);\n\t\tthis.contentContainer.addChild(header);\n\n\t\t// Loader\n\t\tthis.loader = new Loader(\n\t\t\tui,\n\t\t\t(spinner) => theme.fg(colorKey, spinner),\n\t\t\t(text) => theme.fg(\"muted\", text),\n\t\t\t`Running... (${keyText(\"tui.select.cancel\")} to cancel)`, // Plain text for loader\n\t\t);\n\t\tthis.contentContainer.addChild(this.loader);\n\n\t\t// Bottom border\n\t\tthis.addChild(new DynamicBorder(borderColor));\n\t}\n\n\t/**\n\t * Set whether the output is expanded (shows full output) or collapsed (preview only).\n\t */\n\tsetExpanded(expanded: boolean): void {\n\t\tthis.expanded = expanded;\n\t\tthis.updateDisplay();\n\t}\n\n\toverride invalidate(): void {\n\t\tsuper.invalidate();\n\t\tthis.updateDisplay();\n\t}\n\n\tappendOutput(chunk: string): void {\n\t\t// Strip ANSI codes and normalize line endings\n\t\t// Note: binary data is already sanitized in tui-renderer.ts executeBashCommand\n\t\tconst clean = stripAnsi(chunk).replace(/\\r\\n/g, \"\\n\").replace(/\\r/g, \"\\n\");\n\n\t\t// Append to output lines\n\t\tconst newLines = clean.split(\"\\n\");\n\t\tif (this.outputLines.length > 0 && newLines.length > 0) {\n\t\t\t// Append first chunk to last line (incomplete line continuation)\n\t\t\tthis.outputLines[this.outputLines.length - 1] += newLines[0];\n\t\t\tthis.outputLines.push(...newLines.slice(1));\n\t\t} else {\n\t\t\tthis.outputLines.push(...newLines);\n\t\t}\n\n\t\tthis.updateDisplay();\n\t}\n\n\tsetComplete(\n\t\texitCode: number | undefined,\n\t\tcancelled: boolean,\n\t\ttruncationResult?: TruncationResult,\n\t\tfullOutputPath?: string,\n\t): void {\n\t\tthis.exitCode = exitCode;\n\t\tthis.status = cancelled\n\t\t\t? \"cancelled\"\n\t\t\t: exitCode !== 0 && exitCode !== undefined && exitCode !== null\n\t\t\t\t? \"error\"\n\t\t\t\t: \"complete\";\n\t\tthis.truncationResult = truncationResult;\n\t\tthis.fullOutputPath = fullOutputPath;\n\n\t\t// Stop loader\n\t\tthis.loader.stop();\n\n\t\tthis.updateDisplay();\n\t}\n\n\tprivate updateDisplay(): void {\n\t\t// Apply truncation for LLM context limits (same limits as bash tool)\n\t\tconst fullOutput = this.outputLines.join(\"\\n\");\n\t\tconst contextTruncation = truncateTail(fullOutput, {\n\t\t\tmaxLines: DEFAULT_MAX_LINES,\n\t\t\tmaxBytes: DEFAULT_MAX_BYTES,\n\t\t});\n\n\t\t// Get the lines to potentially display (after context truncation)\n\t\tconst availableLines = contextTruncation.content ? contextTruncation.content.split(\"\\n\") : [];\n\n\t\t// Apply preview truncation based on expanded state\n\t\tconst previewLogicalLines = availableLines.slice(-PREVIEW_LINES);\n\t\tconst hiddenLineCount = availableLines.length - previewLogicalLines.length;\n\n\t\t// Rebuild content container\n\t\tthis.contentContainer.clear();\n\n\t\t// Command header\n\t\tconst header = new Text(theme.fg(\"bashMode\", theme.bold(`$ ${this.command}`)), 1, 0);\n\t\tthis.contentContainer.addChild(header);\n\n\t\t// Output\n\t\tif (availableLines.length > 0) {\n\t\t\tif (this.expanded) {\n\t\t\t\t// Show all lines\n\t\t\t\tconst displayText = availableLines.map((line) => theme.fg(\"muted\", line)).join(\"\\n\");\n\t\t\t\tthis.contentContainer.addChild(new Text(`\\n${displayText}`, 1, 0));\n\t\t\t} else {\n\t\t\t\t// Use shared visual truncation utility with width-aware caching\n\t\t\t\tconst styledOutput = previewLogicalLines.map((line) => theme.fg(\"muted\", line)).join(\"\\n\");\n\t\t\t\tconst styledInput = `\\n${styledOutput}`;\n\t\t\t\tlet cachedWidth: number | undefined;\n\t\t\t\tlet cachedLines: string[] | undefined;\n\t\t\t\tthis.contentContainer.addChild({\n\t\t\t\t\trender: (width: number) => {\n\t\t\t\t\t\tif (cachedLines === undefined || cachedWidth !== width) {\n\t\t\t\t\t\t\tconst result = truncateToVisualLines(styledInput, PREVIEW_LINES, width, 1);\n\t\t\t\t\t\t\tcachedLines = result.visualLines;\n\t\t\t\t\t\t\tcachedWidth = width;\n\t\t\t\t\t\t}\n\t\t\t\t\t\treturn cachedLines ?? [];\n\t\t\t\t\t},\n\t\t\t\t\tinvalidate: () => {\n\t\t\t\t\t\tcachedWidth = undefined;\n\t\t\t\t\t\tcachedLines = undefined;\n\t\t\t\t\t},\n\t\t\t\t});\n\t\t\t}\n\t\t}\n\n\t\t// Loader or status\n\t\tif (this.status === \"running\") {\n\t\t\tthis.contentContainer.addChild(this.loader);\n\t\t} else {\n\t\t\tconst statusParts: string[] = [];\n\n\t\t\t// Show how many lines are hidden (collapsed preview)\n\t\t\tif (hiddenLineCount > 0) {\n\t\t\t\tif (this.expanded) {\n\t\t\t\t\tstatusParts.push(`(${keyHint(\"app.tools.expand\", \"to collapse\")})`);\n\t\t\t\t} else {\n\t\t\t\t\tstatusParts.push(\n\t\t\t\t\t\t`${theme.fg(\"muted\", `... ${hiddenLineCount} more lines`)} (${keyHint(\"app.tools.expand\", \"to expand\")})`,\n\t\t\t\t\t);\n\t\t\t\t}\n\t\t\t}\n\n\t\t\tif (this.status === \"cancelled\") {\n\t\t\t\tstatusParts.push(theme.fg(\"warning\", \"(cancelled)\"));\n\t\t\t} else if (this.status === \"error\") {\n\t\t\t\tstatusParts.push(theme.fg(\"error\", `(exit ${this.exitCode})`));\n\t\t\t}\n\n\t\t\t// Add truncation warning (context truncation, not preview truncation)\n\t\t\tconst wasTruncated = this.truncationResult?.truncated || contextTruncation.truncated;\n\t\t\tif (wasTruncated && this.fullOutputPath) {\n\t\t\t\tstatusParts.push(theme.fg(\"warning\", `Output truncated. Full output: ${this.fullOutputPath}`));\n\t\t\t}\n\n\t\t\tif (statusParts.length > 0) {\n\t\t\t\tthis.contentContainer.addChild(new Text(`\\n${statusParts.join(\"\\n\")}`, 1, 0));\n\t\t\t}\n\t\t}\n\t}\n\n\t/**\n\t * Get the raw output for creating BashExecutionMessage.\n\t */\n\tgetOutput(): string {\n\t\treturn this.outputLines.join(\"\\n\");\n\t}\n\n\t/**\n\t * Get the command that was executed.\n\t */\n\tgetCommand(): string {\n\t\treturn this.command;\n\t}\n}\n"]}
@@ -1,175 +0,0 @@
1
- /**
2
- * Component for displaying bash command execution with streaming output.
3
- */
4
- import { Container, Loader, Spacer, Text } from "@orient-cli/tui";
5
- import stripAnsi from "strip-ansi";
6
- import { DEFAULT_MAX_BYTES, DEFAULT_MAX_LINES, truncateTail, } from "../../../core/tools/truncate.js";
7
- import { theme } from "../theme/theme.js";
8
- import { DynamicBorder } from "./dynamic-border.js";
9
- import { keyHint, keyText } from "./keybinding-hints.js";
10
- import { truncateToVisualLines } from "./visual-truncate.js";
11
- // Preview line limit when not expanded (matches tool execution behavior)
12
- const PREVIEW_LINES = 20;
13
- export class BashExecutionComponent extends Container {
14
- command;
15
- outputLines = [];
16
- status = "running";
17
- exitCode = undefined;
18
- loader;
19
- truncationResult;
20
- fullOutputPath;
21
- expanded = false;
22
- contentContainer;
23
- constructor(command, ui, excludeFromContext = false) {
24
- super();
25
- this.command = command;
26
- // Use dim border for excluded-from-context commands (!! prefix)
27
- const colorKey = excludeFromContext ? "dim" : "bashMode";
28
- const borderColor = (str) => theme.fg(colorKey, str);
29
- // Add spacer
30
- this.addChild(new Spacer(1));
31
- // Top border
32
- this.addChild(new DynamicBorder(borderColor));
33
- // Content container (holds dynamic content between borders)
34
- this.contentContainer = new Container();
35
- this.addChild(this.contentContainer);
36
- // Command header
37
- const header = new Text(theme.fg(colorKey, theme.bold(`$ ${command}`)), 1, 0);
38
- this.contentContainer.addChild(header);
39
- // Loader
40
- this.loader = new Loader(ui, (spinner) => theme.fg(colorKey, spinner), (text) => theme.fg("muted", text), `Running... (${keyText("tui.select.cancel")} to cancel)`);
41
- this.contentContainer.addChild(this.loader);
42
- // Bottom border
43
- this.addChild(new DynamicBorder(borderColor));
44
- }
45
- /**
46
- * Set whether the output is expanded (shows full output) or collapsed (preview only).
47
- */
48
- setExpanded(expanded) {
49
- this.expanded = expanded;
50
- this.updateDisplay();
51
- }
52
- invalidate() {
53
- super.invalidate();
54
- this.updateDisplay();
55
- }
56
- appendOutput(chunk) {
57
- // Strip ANSI codes and normalize line endings
58
- // Note: binary data is already sanitized in tui-renderer.ts executeBashCommand
59
- const clean = stripAnsi(chunk).replace(/\r\n/g, "\n").replace(/\r/g, "\n");
60
- // Append to output lines
61
- const newLines = clean.split("\n");
62
- if (this.outputLines.length > 0 && newLines.length > 0) {
63
- // Append first chunk to last line (incomplete line continuation)
64
- this.outputLines[this.outputLines.length - 1] += newLines[0];
65
- this.outputLines.push(...newLines.slice(1));
66
- }
67
- else {
68
- this.outputLines.push(...newLines);
69
- }
70
- this.updateDisplay();
71
- }
72
- setComplete(exitCode, cancelled, truncationResult, fullOutputPath) {
73
- this.exitCode = exitCode;
74
- this.status = cancelled
75
- ? "cancelled"
76
- : exitCode !== 0 && exitCode !== undefined && exitCode !== null
77
- ? "error"
78
- : "complete";
79
- this.truncationResult = truncationResult;
80
- this.fullOutputPath = fullOutputPath;
81
- // Stop loader
82
- this.loader.stop();
83
- this.updateDisplay();
84
- }
85
- updateDisplay() {
86
- // Apply truncation for LLM context limits (same limits as bash tool)
87
- const fullOutput = this.outputLines.join("\n");
88
- const contextTruncation = truncateTail(fullOutput, {
89
- maxLines: DEFAULT_MAX_LINES,
90
- maxBytes: DEFAULT_MAX_BYTES,
91
- });
92
- // Get the lines to potentially display (after context truncation)
93
- const availableLines = contextTruncation.content ? contextTruncation.content.split("\n") : [];
94
- // Apply preview truncation based on expanded state
95
- const previewLogicalLines = availableLines.slice(-PREVIEW_LINES);
96
- const hiddenLineCount = availableLines.length - previewLogicalLines.length;
97
- // Rebuild content container
98
- this.contentContainer.clear();
99
- // Command header
100
- const header = new Text(theme.fg("bashMode", theme.bold(`$ ${this.command}`)), 1, 0);
101
- this.contentContainer.addChild(header);
102
- // Output
103
- if (availableLines.length > 0) {
104
- if (this.expanded) {
105
- // Show all lines
106
- const displayText = availableLines.map((line) => theme.fg("muted", line)).join("\n");
107
- this.contentContainer.addChild(new Text(`\n${displayText}`, 1, 0));
108
- }
109
- else {
110
- // Use shared visual truncation utility with width-aware caching
111
- const styledOutput = previewLogicalLines.map((line) => theme.fg("muted", line)).join("\n");
112
- const styledInput = `\n${styledOutput}`;
113
- let cachedWidth;
114
- let cachedLines;
115
- this.contentContainer.addChild({
116
- render: (width) => {
117
- if (cachedLines === undefined || cachedWidth !== width) {
118
- const result = truncateToVisualLines(styledInput, PREVIEW_LINES, width, 1);
119
- cachedLines = result.visualLines;
120
- cachedWidth = width;
121
- }
122
- return cachedLines ?? [];
123
- },
124
- invalidate: () => {
125
- cachedWidth = undefined;
126
- cachedLines = undefined;
127
- },
128
- });
129
- }
130
- }
131
- // Loader or status
132
- if (this.status === "running") {
133
- this.contentContainer.addChild(this.loader);
134
- }
135
- else {
136
- const statusParts = [];
137
- // Show how many lines are hidden (collapsed preview)
138
- if (hiddenLineCount > 0) {
139
- if (this.expanded) {
140
- statusParts.push(`(${keyHint("app.tools.expand", "to collapse")})`);
141
- }
142
- else {
143
- statusParts.push(`${theme.fg("muted", `... ${hiddenLineCount} more lines`)} (${keyHint("app.tools.expand", "to expand")})`);
144
- }
145
- }
146
- if (this.status === "cancelled") {
147
- statusParts.push(theme.fg("warning", "(cancelled)"));
148
- }
149
- else if (this.status === "error") {
150
- statusParts.push(theme.fg("error", `(exit ${this.exitCode})`));
151
- }
152
- // Add truncation warning (context truncation, not preview truncation)
153
- const wasTruncated = this.truncationResult?.truncated || contextTruncation.truncated;
154
- if (wasTruncated && this.fullOutputPath) {
155
- statusParts.push(theme.fg("warning", `Output truncated. Full output: ${this.fullOutputPath}`));
156
- }
157
- if (statusParts.length > 0) {
158
- this.contentContainer.addChild(new Text(`\n${statusParts.join("\n")}`, 1, 0));
159
- }
160
- }
161
- }
162
- /**
163
- * Get the raw output for creating BashExecutionMessage.
164
- */
165
- getOutput() {
166
- return this.outputLines.join("\n");
167
- }
168
- /**
169
- * Get the command that was executed.
170
- */
171
- getCommand() {
172
- return this.command;
173
- }
174
- }
175
- //# sourceMappingURL=bash-execution.js.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"bash-execution.js","sourceRoot":"","sources":["../../../../src/modes/interactive/components/bash-execution.ts"],"names":[],"mappings":"AAAA;;GAEG;AAEH,OAAO,EAAE,SAAS,EAAE,MAAM,EAAE,MAAM,EAAE,IAAI,EAAY,MAAM,iBAAiB,CAAC;AAC5E,OAAO,SAAS,MAAM,YAAY,CAAC;AACnC,OAAO,EACN,iBAAiB,EACjB,iBAAiB,EAEjB,YAAY,GACZ,MAAM,iCAAiC,CAAC;AACzC,OAAO,EAAE,KAAK,EAAE,MAAM,mBAAmB,CAAC;AAC1C,OAAO,EAAE,aAAa,EAAE,MAAM,qBAAqB,CAAC;AACpD,OAAO,EAAE,OAAO,EAAE,OAAO,EAAE,MAAM,uBAAuB,CAAC;AACzD,OAAO,EAAE,qBAAqB,EAAE,MAAM,sBAAsB,CAAC;AAE7D,yEAAyE;AACzE,MAAM,aAAa,GAAG,EAAE,CAAC;AAEzB,MAAM,OAAO,sBAAuB,SAAQ,SAAS;IAC5C,OAAO,CAAS;IAChB,WAAW,GAAa,EAAE,CAAC;IAC3B,MAAM,G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ChE,CAAC;YAED,sEAAsE;YACtE,MAAM,YAAY,GAAG,IAAI,CAAC,gBAAgB,EAAE,SAAS,IAAI,iBAAiB,CAAC,SAAS,CAAC;YACrF,IAAI,YAAY,IAAI,IAAI,CAAC,cAAc,EAAE,CAAC;gBACzC,WAAW,CAAC,IAAI,CAAC,KAAK,CAAC,EAAE,CAAC,SAAS,EAAE,kCAAkC,IAAI,CAAC,cAAc,EAAE,CAAC,CAAC,CAAC;YAChG,CAAC;YAED,IAAI,WAAW,CAAC,MAAM,GAAG,CAAC,EAAE,CAAC;gBAC5B,IAAI,CAAC,gBAAgB,CAAC,QAAQ,CAAC,IAAI,IAAI,CAAC,KAAK,WAAW,CAAC,IAAI,CAAC,IAAI,CAAC,EAAE,EAAE,CAAC,EAAE,CAAC,CAAC,CAAC,CAAC;YAC/E,CAAC;QACF,CAAC;IAAA,CACD;IAED;;OAEG;IACH,SAAS,GAAW;QACnB,OAAO,IAAI,CAAC,WAAW,CAAC,IAAI,CAAC,IAAI,CAAC,CAAC;IAAA,CACnC;IAED;;OAEG;IACH,UAAU,GAAW;QACpB,OAAO,IAAI,CAAC,OAAO,CAAC;IAAA,CACpB;CACD","sourcesContent":["/**\n * Component for displaying bash command execution with streaming output.\n */\n\nimport { Container, Loader, Spacer, Text, type TUI } from \"@orient-cli/tui\";\nimport stripAnsi from \"strip-ansi\";\nimport {\n\tDEFAULT_MAX_BYTES,\n\tDEFAULT_MAX_LINES,\n\ttype TruncationResult,\n\ttruncateTail,\n} from \"../../../core/tools/truncate.js\";\nimport { theme } from \"../theme/theme.js\";\nimport { DynamicBorder } from \"./dynamic-border.js\";\nimport { keyHint, keyText } from \"./keybinding-hints.js\";\nimport { truncateToVisualLines } from \"./visual-truncate.js\";\n\n// Preview line limit when not expanded (matches tool execution behavior)\nconst PREVIEW_LINES = 20;\n\nexport class BashExecutionComponent extends Container {\n\tprivate command: string;\n\tprivate outputLines: string[] = [];\n\tprivate status: \"running\" | \"complete\" | \"cancelled\" | \"error\" = \"running\";\n\tprivate exitCode: number | undefined = undefined;\n\tprivate loader: Loader;\n\tprivate truncationResult?: TruncationResult;\n\tprivate fullOutputPath?: string;\n\tprivate expanded = false;\n\tprivate contentContainer: Container;\n\n\tconstructor(command: string, ui: TUI, excludeFromContext = false) {\n\t\tsuper();\n\t\tthis.command = command;\n\n\t\t// Use dim border for excluded-from-context commands (!! prefix)\n\t\tconst colorKey = excludeFromContext ? \"dim\" : \"bashMode\";\n\t\tconst borderColor = (str: string) => theme.fg(colorKey, str);\n\n\t\t// Add spacer\n\t\tthis.addChild(new Spacer(1));\n\n\t\t// Top border\n\t\tthis.addChild(new DynamicBorder(borderColor));\n\n\t\t// Content container (holds dynamic content between borders)\n\t\tthis.contentContainer = new Container();\n\t\tthis.addChild(this.contentContainer);\n\n\t\t// Command header\n\t\tconst header = new Text(theme.fg(colorKey, theme.bold(`$ ${command}`)), 1, 0);\n\t\tthis.contentContainer.addChild(header);\n\n\t\t// Loader\n\t\tthis.loader = new Loader(\n\t\t\tui,\n\t\t\t(spinner) => theme.fg(colorKey, spinner),\n\t\t\t(text) => theme.fg(\"muted\", text),\n\t\t\t`Running... (${keyText(\"tui.select.cancel\")} to cancel)`, // Plain text for loader\n\t\t);\n\t\tthis.contentContainer.addChild(this.loader);\n\n\t\t// Bottom border\n\t\tthis.addChild(new DynamicBorder(borderColor));\n\t}\n\n\t/**\n\t * Set whether the output is expanded (shows full output) or collapsed (preview only).\n\t */\n\tsetExpanded(expanded: boolean): void {\n\t\tthis.expanded = expanded;\n\t\tthis.updateDisplay();\n\t}\n\n\toverride invalidate(): void {\n\t\tsuper.invalidate();\n\t\tthis.updateDisplay();\n\t}\n\n\tappendOutput(chunk: string): void {\n\t\t// Strip ANSI codes and normalize line endings\n\t\t// Note: binary data is already sanitized in tui-renderer.ts executeBashCommand\n\t\tconst clean = stripAnsi(chunk).replace(/\\r\\n/g, \"\\n\").replace(/\\r/g, \"\\n\");\n\n\t\t// Append to output lines\n\t\tconst newLines = clean.split(\"\\n\");\n\t\tif (this.outputLines.length > 0 && newLines.length > 0) {\n\t\t\t// Append first chunk to last line (incomplete line continuation)\n\t\t\tthis.outputLines[this.outputLines.length - 1] += newLines[0];\n\t\t\tthis.outputLines.push(...newLines.slice(1));\n\t\t} else {\n\t\t\tthis.outputLines.push(...newLines);\n\t\t}\n\n\t\tthis.updateDisplay();\n\t}\n\n\tsetComplete(\n\t\texitCode: number | undefined,\n\t\tcancelled: boolean,\n\t\ttruncationResult?: TruncationResult,\n\t\tfullOutputPath?: string,\n\t): void {\n\t\tthis.exitCode = exitCode;\n\t\tthis.status = cancelled\n\t\t\t? \"cancelled\"\n\t\t\t: exitCode !== 0 && exitCode !== undefined && exitCode !== null\n\t\t\t\t? \"error\"\n\t\t\t\t: \"complete\";\n\t\tthis.truncationResult = truncationResult;\n\t\tthis.fullOutputPath = fullOutputPath;\n\n\t\t// Stop loader\n\t\tthis.loader.stop();\n\n\t\tthis.updateDisplay();\n\t}\n\n\tprivate updateDisplay(): void {\n\t\t// Apply truncation for LLM context limits (same limits as bash tool)\n\t\tconst fullOutput = this.outputLines.join(\"\\n\");\n\t\tconst contextTruncation = truncateTail(fullOutput, {\n\t\t\tmaxLines: DEFAULT_MAX_LINES,\n\t\t\tmaxBytes: DEFAULT_MAX_BYTES,\n\t\t});\n\n\t\t// Get the lines to potentially display (after context truncation)\n\t\tconst availableLines = contextTruncation.content ? contextTruncation.content.split(\"\\n\") : [];\n\n\t\t// Apply preview truncation based on expanded state\n\t\tconst previewLogicalLines = availableLines.slice(-PREVIEW_LINES);\n\t\tconst hiddenLineCount = availableLines.length - previewLogicalLines.length;\n\n\t\t// Rebuild content container\n\t\tthis.contentContainer.clear();\n\n\t\t// Command header\n\t\tconst header = new Text(theme.fg(\"bashMode\", theme.bold(`$ ${this.command}`)), 1, 0);\n\t\tthis.contentContainer.addChild(header);\n\n\t\t// Output\n\t\tif (availableLines.length > 0) {\n\t\t\tif (this.expanded) {\n\t\t\t\t// Show all lines\n\t\t\t\tconst displayText = availableLines.map((line) => theme.fg(\"muted\", line)).join(\"\\n\");\n\t\t\t\tthis.contentContainer.addChild(new Text(`\\n${displayText}`, 1, 0));\n\t\t\t} else {\n\t\t\t\t// Use shared visual truncation utility with width-aware caching\n\t\t\t\tconst styledOutput = previewLogicalLines.map((line) => theme.fg(\"muted\", line)).join(\"\\n\");\n\t\t\t\tconst styledInput = `\\n${styledOutput}`;\n\t\t\t\tlet cachedWidth: number | undefined;\n\t\t\t\tlet cachedLines: string[] | undefined;\n\t\t\t\tthis.contentContainer.addChild({\n\t\t\t\t\trender: (width: number) => {\n\t\t\t\t\t\tif (cachedLines === undefined || cachedWidth !== width) {\n\t\t\t\t\t\t\tconst result = truncateToVisualLines(styledInput, PREVIEW_LINES, width, 1);\n\t\t\t\t\t\t\tcachedLines = result.visualLines;\n\t\t\t\t\t\t\tcachedWidth = width;\n\t\t\t\t\t\t}\n\t\t\t\t\t\treturn cachedLines ?? [];\n\t\t\t\t\t},\n\t\t\t\t\tinvalidate: () => {\n\t\t\t\t\t\tcachedWidth = undefined;\n\t\t\t\t\t\tcachedLines = undefined;\n\t\t\t\t\t},\n\t\t\t\t});\n\t\t\t}\n\t\t}\n\n\t\t// Loader or status\n\t\tif (this.status === \"running\") {\n\t\t\tthis.contentContainer.addChild(this.loader);\n\t\t} else {\n\t\t\tconst statusParts: string[] = [];\n\n\t\t\t// Show how many lines are hidden (collapsed preview)\n\t\t\tif (hiddenLineCount > 0) {\n\t\t\t\tif (this.expanded) {\n\t\t\t\t\tstatusParts.push(`(${keyHint(\"app.tools.expand\", \"to collapse\")})`);\n\t\t\t\t} else {\n\t\t\t\t\tstatusParts.push(\n\t\t\t\t\t\t`${theme.fg(\"muted\", `... ${hiddenLineCount} more lines`)} (${keyHint(\"app.tools.expand\", \"to expand\")})`,\n\t\t\t\t\t);\n\t\t\t\t}\n\t\t\t}\n\n\t\t\tif (this.status === \"cancelled\") {\n\t\t\t\tstatusParts.push(theme.fg(\"warning\", \"(cancelled)\"));\n\t\t\t} else if (this.status === \"error\") {\n\t\t\t\tstatusParts.push(theme.fg(\"error\", `(exit ${this.exitCode})`));\n\t\t\t}\n\n\t\t\t// Add truncation warning (context truncation, not preview truncation)\n\t\t\tconst wasTruncated = this.truncationResult?.truncated || contextTruncation.truncated;\n\t\t\tif (wasTruncated && this.fullOutputPath) {\n\t\t\t\tstatusParts.push(theme.fg(\"warning\", `Output truncated. Full output: ${this.fullOutputPath}`));\n\t\t\t}\n\n\t\t\tif (statusParts.length > 0) {\n\t\t\t\tthis.contentContainer.addChild(new Text(`\\n${statusParts.join(\"\\n\")}`, 1, 0));\n\t\t\t}\n\t\t}\n\t}\n\n\t/**\n\t * Get the raw output for creating BashExecutionMessage.\n\t */\n\tgetOutput(): string {\n\t\treturn this.outputLines.join(\"\\n\");\n\t}\n\n\t/**\n\t * Get the command that was executed.\n\t */\n\tgetCommand(): string {\n\t\treturn this.command;\n\t}\n}\n"]}
@@ -1 +0,0 @@
1
- {"version":3,"file":"bordered-loader.d.ts","sourceRoot":"","sources":["../../../../src/modes/interactive/components/bordered-loader.ts"],"names":[],"mappings":"AAAA,OAAO,EAAqB,SAAS,EAAwB,KAAK,GAAG,EAAE,MAAM,iBAAiB,CAAC;AAC/F,OAAO,KAAK,EAAE,KAAK,EAAE,MAAM,mBAAmB,CAAC;AAI/C,mDAAmD;AACnD,qBAAa,cAAe,SAAQ,SAAS;IAC5C,OAAO,CAAC,MAAM,CAA6B;IAC3C,OAAO,CAAC,WAAW,CAAU;IAC7B,OAAO,CAAC,gBAAgB,CAAC,CAAkB;IAE3C,YAAY,GAAG,EAAE,GAAG,EAAE,KAAK,EAAE,KAAK,EAAE,OAAO,EAAE,MAAM,EAAE,OAAO,CAAC,EAAE;QAAE,WAAW,CAAC,EAAE,OAAO,CAAA;KAAE,EA4BvF;IAED,IAAI,MAAM,IAAI,WAAW,CAKxB;IAED,IAAI,OAAO,CAAC,EAAE,EAAE,CAAC,MAAM,IAAI,CAAC,GAAG,SAAS,EAIvC;IAED,WAAW,CAAC,IAAI,EAAE,MAAM,GAAG,IAAI,CAI9B;IAED,OAAO,IAAI,IAAI,CAId;CACD","sourcesContent":["import { CancellableLoader, Container, Loader, Spacer, Text, type TUI } from \"@orient-cli/tui\";\nimport type { Theme } from \"../theme/theme.js\";\nimport { DynamicBorder } from \"./dynamic-border.js\";\nimport { keyHint } from \"./keybinding-hints.js\";\n\n/** Loader wrapped with borders for extension UI */\nexport class BorderedLoader extends Container {\n\tprivate loader: CancellableLoader | Loader;\n\tprivate cancellable: boolean;\n\tprivate signalController?: AbortController;\n\n\tconstructor(tui: TUI, theme: Theme, message: string, options?: { cancellable?: boolean }) {\n\t\tsuper();\n\t\tthis.cancellable = options?.cancellable ?? true;\n\t\tconst borderColor = (s: string) => theme.fg(\"border\", s);\n\t\tthis.addChild(new DynamicBorder(borderColor));\n\t\tif (this.cancellable) {\n\t\t\tthis.loader = new CancellableLoader(\n\t\t\t\ttui,\n\t\t\t\t(s) => theme.fg(\"accent\", s),\n\t\t\t\t(s) => theme.fg(\"muted\", s),\n\t\t\t\tmessage,\n\t\t\t);\n\t\t} else {\n\t\t\tthis.signalController = new AbortController();\n\t\t\tthis.loader = new Loader(\n\t\t\t\ttui,\n\t\t\t\t(s) => theme.fg(\"accent\", s),\n\t\t\t\t(s) => theme.fg(\"muted\", s),\n\t\t\t\tmessage,\n\t\t\t);\n\t\t}\n\t\tthis.addChild(this.loader);\n\t\tif (this.cancellable) {\n\t\t\tthis.addChild(new Spacer(1));\n\t\t\tthis.addChild(new Text(keyHint(\"tui.select.cancel\", \"cancel\"), 1, 0));\n\t\t}\n\t\tthis.addChild(new Spacer(1));\n\t\tthis.addChild(new DynamicBorder(borderColor));\n\t}\n\n\tget signal(): AbortSignal {\n\t\tif (this.cancellable) {\n\t\t\treturn (this.loader as CancellableLoader).signal;\n\t\t}\n\t\treturn this.signalController?.signal ?? new AbortController().signal;\n\t}\n\n\tset onAbort(fn: (() => void) | undefined) {\n\t\tif (this.cancellable) {\n\t\t\t(this.loader as CancellableLoader).onAbort = fn;\n\t\t}\n\t}\n\n\thandleInput(data: string): void {\n\t\tif (this.cancellable) {\n\t\t\t(this.loader as CancellableLoader).handleInput(data);\n\t\t}\n\t}\n\n\tdispose(): void {\n\t\tif (\"dispose\" in this.loader && typeof this.loader.dispose === \"function\") {\n\t\t\tthis.loader.dispose();\n\t\t}\n\t}\n}\n"]}
@@ -1,51 +0,0 @@
1
- import { CancellableLoader, Container, Loader, Spacer, Text } from "@orient-cli/tui";
2
- import { DynamicBorder } from "./dynamic-border.js";
3
- import { keyHint } from "./keybinding-hints.js";
4
- /** Loader wrapped with borders for extension UI */
5
- export class BorderedLoader extends Container {
6
- loader;
7
- cancellable;
8
- signalController;
9
- constructor(tui, theme, message, options) {
10
- super();
11
- this.cancellable = options?.cancellable ?? true;
12
- const borderColor = (s) => theme.fg("border", s);
13
- this.addChild(new DynamicBorder(borderColor));
14
- if (this.cancellable) {
15
- this.loader = new CancellableLoader(tui, (s) => theme.fg("accent", s), (s) => theme.fg("muted", s), message);
16
- }
17
- else {
18
- this.signalController = new AbortController();
19
- this.loader = new Loader(tui, (s) => theme.fg("accent", s), (s) => theme.fg("muted", s), message);
20
- }
21
- this.addChild(this.loader);
22
- if (this.cancellable) {
23
- this.addChild(new Spacer(1));
24
- this.addChild(new Text(keyHint("tui.select.cancel", "cancel"), 1, 0));
25
- }
26
- this.addChild(new Spacer(1));
27
- this.addChild(new DynamicBorder(borderColor));
28
- }
29
- get signal() {
30
- if (this.cancellable) {
31
- return this.loader.signal;
32
- }
33
- return this.signalController?.signal ?? new AbortController().signal;
34
- }
35
- set onAbort(fn) {
36
- if (this.cancellable) {
37
- this.loader.onAbort = fn;
38
- }
39
- }
40
- handleInput(data) {
41
- if (this.cancellable) {
42
- this.loader.handleInput(data);
43
- }
44
- }
45
- dispose() {
46
- if ("dispose" in this.loader && typeof this.loader.dispose === "function") {
47
- this.loader.dispose();
48
- }
49
- }
50
- }
51
- //# sourceMappingURL=bordered-loader.js.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"bordered-loader.js","sourceRoot":"","sources":["../../../../src/modes/interactive/components/bordered-loader.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,iBAAiB,EAAE,SAAS,EAAE,MAAM,EAAE,MAAM,EAAE,IAAI,EAAY,MAAM,iBAAiB,CAAC;AAE/F,OAAO,EAAE,aAAa,EAAE,MAAM,qBAAqB,CAAC;AACpD,OAAO,EAAE,OAAO,EAAE,MAAM,uBAAuB,CAAC;AAEhD,mDAAmD;AACnD,MAAM,OAAO,cAAe,SAAQ,SAAS;IACpC,MAAM,CAA6B;IACnC,WAAW,CAAU;IACrB,gBAAgB,CAAmB;IAE3C,YAAY,GAAQ,EAAE,KAAY,EAAE,OAAe,EAAE,OAAmC,EAAE;QACzF,KAAK,EAAE,CAAC;QACR,IAAI,CAAC,WAAW,GAAG,OAAO,EAAE,WAAW,IAAI,IAAI,CAAC;QAChD,MAAM,WAAW,GAAG,CAAC,CAAS,EAAE,EAAE,CAAC,KAAK,CAAC,EAAE,CAAC,QAAQ,EAAE,CAAC,CAAC,CAAC;QACzD,IAAI,CAAC,QAAQ,CAAC,IAAI,aAAa,CAAC,WAAW,CAAC,CAAC,CAAC;QAC9C,IAAI,IAAI,CAAC,WAAW,EAAE,CAAC;YACtB,IAAI,CAAC,MAAM,GAAG,IAAI,iBAAiB,CAClC,GAAG,EACH,CAAC,CAAC,EAAE,EAAE,CAAC,KAAK,CAAC,EAAE,CAAC,QAAQ,EAAE,CAAC,CAAC,EAC5B,CAAC,CAAC,EAAE,EAAE,CAAC,KAAK,CAAC,EAAE,CAAC,OAAO,EAAE,CAAC,CAAC,EAC3B,OAAO,CACP,CAAC;QACH,CAAC;aAAM,CAAC;YACP,IAAI,CAAC,gBAAgB,GAAG,IAAI,eAAe,EAAE,CAAC;YAC9C,IAAI,CAAC,MAAM,GAAG,IAAI,MAAM,CACvB,GAAG,EACH,CAAC,CAAC,E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AI,SAAS,IAAI,IAAI,CAAC,MAAM,IAAI,OAAO,IAAI,CAAC,MAAM,CAAC,OAAO,KAAK,UAAU,EAAE,CAAC;YAC3E,IAAI,CAAC,MAAM,CAAC,OAAO,EAAE,CAAC;QACvB,CAAC;IAAA,CACD;CACD","sourcesContent":["import { CancellableLoader, Container, Loader, Spacer, Text, type TUI } from \"@orient-cli/tui\";\nimport type { Theme } from \"../theme/theme.js\";\nimport { DynamicBorder } from \"./dynamic-border.js\";\nimport { keyHint } from \"./keybinding-hints.js\";\n\n/** Loader wrapped with borders for extension UI */\nexport class BorderedLoader extends Container {\n\tprivate loader: CancellableLoader | Loader;\n\tprivate cancellable: boolean;\n\tprivate signalController?: AbortController;\n\n\tconstructor(tui: TUI, theme: Theme, message: string, options?: { cancellable?: boolean }) {\n\t\tsuper();\n\t\tthis.cancellable = options?.cancellable ?? true;\n\t\tconst borderColor = (s: string) => theme.fg(\"border\", s);\n\t\tthis.addChild(new DynamicBorder(borderColor));\n\t\tif (this.cancellable) {\n\t\t\tthis.loader = new CancellableLoader(\n\t\t\t\ttui,\n\t\t\t\t(s) => theme.fg(\"accent\", s),\n\t\t\t\t(s) => theme.fg(\"muted\", s),\n\t\t\t\tmessage,\n\t\t\t);\n\t\t} else {\n\t\t\tthis.signalController = new AbortController();\n\t\t\tthis.loader = new Loader(\n\t\t\t\ttui,\n\t\t\t\t(s) => theme.fg(\"accent\", s),\n\t\t\t\t(s) => theme.fg(\"muted\", s),\n\t\t\t\tmessage,\n\t\t\t);\n\t\t}\n\t\tthis.addChild(this.loader);\n\t\tif (this.cancellable) {\n\t\t\tthis.addChild(new Spacer(1));\n\t\t\tthis.addChild(new Text(keyHint(\"tui.select.cancel\", \"cancel\"), 1, 0));\n\t\t}\n\t\tthis.addChild(new Spacer(1));\n\t\tthis.addChild(new DynamicBorder(borderColor));\n\t}\n\n\tget signal(): AbortSignal {\n\t\tif (this.cancellable) {\n\t\t\treturn (this.loader as CancellableLoader).signal;\n\t\t}\n\t\treturn this.signalController?.signal ?? new AbortController().signal;\n\t}\n\n\tset onAbort(fn: (() => void) | undefined) {\n\t\tif (this.cancellable) {\n\t\t\t(this.loader as CancellableLoader).onAbort = fn;\n\t\t}\n\t}\n\n\thandleInput(data: string): void {\n\t\tif (this.cancellable) {\n\t\t\t(this.loader as CancellableLoader).handleInput(data);\n\t\t}\n\t}\n\n\tdispose(): void {\n\t\tif (\"dispose\" in this.loader && typeof this.loader.dispose === \"function\") {\n\t\t\tthis.loader.dispose();\n\t\t}\n\t}\n}\n"]}
@@ -1 +0,0 @@
1
- {"version":3,"file":"branch-summary-message.d.ts","sourceRoot":"","sources":["../../../../src/modes/interactive/components/branch-summary-message.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,GAAG,EAAY,KAAK,aAAa,EAAgB,MAAM,iBAAiB,CAAC;AAClF,OAAO,KAAK,EAAE,oBAAoB,EAAE,MAAM,2BAA2B,CAAC;AAItE;;;GAGG;AACH,qBAAa,6BAA8B,SAAQ,GAAG;IACrD,OAAO,CAAC,QAAQ,CAAS;IACzB,OAAO,CAAC,OAAO,CAAuB;IACtC,OAAO,CAAC,aAAa,CAAgB;IAErC,YAAY,OAAO,EAAE,oBAAoB,EAAE,aAAa,GAAE,aAAkC,EAK3F;IAED,WAAW,CAAC,QAAQ,EAAE,OAAO,GAAG,IAAI,CAGnC;IAEQ,UAAU,IAAI,IAAI,CAG1B;IAED,OAAO,CAAC,aAAa;CA0BrB","sourcesContent":["import { Box, Markdown, type MarkdownTheme, Spacer, Text } from \"@orient-cli/tui\";\nimport type { BranchSummaryMessage } from \"../../../core/messages.js\";\nimport { getMarkdownTheme, theme } from \"../theme/theme.js\";\nimport { keyText } from \"./keybinding-hints.js\";\n\n/**\n * Component that renders a branch summary message with collapsed/expanded state.\n * Uses same background color as custom messages for visual consistency.\n */\nexport class BranchSummaryMessageComponent extends Box {\n\tprivate expanded = false;\n\tprivate message: BranchSummaryMessage;\n\tprivate markdownTheme: MarkdownTheme;\n\n\tconstructor(message: BranchSummaryMessage, markdownTheme: MarkdownTheme = getMarkdownTheme()) {\n\t\tsuper(1, 1, (t) => theme.bg(\"customMessageBg\", t));\n\t\tthis.message = message;\n\t\tthis.markdownTheme = markdownTheme;\n\t\tthis.updateDisplay();\n\t}\n\n\tsetExpanded(expanded: boolean): void {\n\t\tthis.expanded = expanded;\n\t\tthis.updateDisplay();\n\t}\n\n\toverride invalidate(): void {\n\t\tsuper.invalidate();\n\t\tthis.updateDisplay();\n\t}\n\n\tprivate updateDisplay(): void {\n\t\tthis.clear();\n\n\t\tconst label = theme.fg(\"customMessageLabel\", `\\x1b[1m[branch]\\x1b[22m`);\n\t\tthis.addChild(new Text(label, 0, 0));\n\t\tthis.addChild(new Spacer(1));\n\n\t\tif (this.expanded) {\n\t\t\tconst header = \"**Branch Summary**\\n\\n\";\n\t\t\tthis.addChild(\n\t\t\t\tnew Markdown(header + this.message.summary, 0, 0, this.markdownTheme, {\n\t\t\t\t\tcolor: (text: string) => theme.fg(\"customMessageText\", text),\n\t\t\t\t}),\n\t\t\t);\n\t\t} else {\n\t\t\tthis.addChild(\n\t\t\t\tnew Text(\n\t\t\t\t\ttheme.fg(\"customMessageText\", \"Branch summary (\") +\n\t\t\t\t\t\ttheme.fg(\"dim\", keyText(\"app.tools.expand\")) +\n\t\t\t\t\t\ttheme.fg(\"customMessageText\", \" to expand)\"),\n\t\t\t\t\t0,\n\t\t\t\t\t0,\n\t\t\t\t),\n\t\t\t);\n\t\t}\n\t}\n}\n"]}
@@ -1,44 +0,0 @@
1
- import { Box, Markdown, Spacer, Text } from "@orient-cli/tui";
2
- import { getMarkdownTheme, theme } from "../theme/theme.js";
3
- import { keyText } from "./keybinding-hints.js";
4
- /**
5
- * Component that renders a branch summary message with collapsed/expanded state.
6
- * Uses same background color as custom messages for visual consistency.
7
- */
8
- export class BranchSummaryMessageComponent extends Box {
9
- expanded = false;
10
- message;
11
- markdownTheme;
12
- constructor(message, markdownTheme = getMarkdownTheme()) {
13
- super(1, 1, (t) => theme.bg("customMessageBg", t));
14
- this.message = message;
15
- this.markdownTheme = markdownTheme;
16
- this.updateDisplay();
17
- }
18
- setExpanded(expanded) {
19
- this.expanded = expanded;
20
- this.updateDisplay();
21
- }
22
- invalidate() {
23
- super.invalidate();
24
- this.updateDisplay();
25
- }
26
- updateDisplay() {
27
- this.clear();
28
- const label = theme.fg("customMessageLabel", `\x1b[1m[branch]\x1b[22m`);
29
- this.addChild(new Text(label, 0, 0));
30
- this.addChild(new Spacer(1));
31
- if (this.expanded) {
32
- const header = "**Branch Summary**\n\n";
33
- this.addChild(new Markdown(header + this.message.summary, 0, 0, this.markdownTheme, {
34
- color: (text) => theme.fg("customMessageText", text),
35
- }));
36
- }
37
- else {
38
- this.addChild(new Text(theme.fg("customMessageText", "Branch summary (") +
39
- theme.fg("dim", keyText("app.tools.expand")) +
40
- theme.fg("customMessageText", " to expand)"), 0, 0));
41
- }
42
- }
43
- }
44
- //# sourceMappingURL=branch-summary-message.js.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"branch-summary-message.js","sourceRoot":"","sources":["../../../../src/modes/interactive/components/branch-summary-message.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,GAAG,EAAE,QAAQ,EAAsB,MAAM,EAAE,IAAI,EAAE,MAAM,iBAAiB,CAAC;AAElF,OAAO,EAAE,gBAAgB,EAAE,KAAK,EAAE,MAAM,mBAAmB,CAAC;AAC5D,OAAO,EAAE,OAAO,EAAE,MAAM,uBAAuB,CAAC;AAEhD;;;GAGG;AACH,MAAM,OAAO,6BAA8B,SAAQ,GAAG;IAC7C,QAAQ,GAAG,KAAK,CAAC;IACjB,OAAO,CAAuB;IAC9B,aAAa,CAAgB;IAErC,YAAY,OAA6B,EAAE,aAAa,GAAkB,gBAAgB,EAAE,EAAE;QAC7F,KAAK,CAAC,CAAC,EAAE,CAAC,EAAE,CAAC,CAAC,EAAE,EAAE,CAAC,KAAK,CAAC,EAAE,CAAC,iBAAiB,EAAE,CAAC,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C,CAAC;gBAC5C,KAAK,CAAC,EAAE,CAAC,mBAAmB,EAAE,aAAa,CAAC,EAC7C,CAAC,EACD,CAAC,CACD,CACD,CAAC;QACH,CAAC;IAAA,CACD;CACD","sourcesContent":["import { Box, Markdown, type MarkdownTheme, Spacer, Text } from \"@orient-cli/tui\";\nimport type { BranchSummaryMessage } from \"../../../core/messages.js\";\nimport { getMarkdownTheme, theme } from \"../theme/theme.js\";\nimport { keyText } from \"./keybinding-hints.js\";\n\n/**\n * Component that renders a branch summary message with collapsed/expanded state.\n * Uses same background color as custom messages for visual consistency.\n */\nexport class BranchSummaryMessageComponent extends Box {\n\tprivate expanded = false;\n\tprivate message: BranchSummaryMessage;\n\tprivate markdownTheme: MarkdownTheme;\n\n\tconstructor(message: BranchSummaryMessage, markdownTheme: MarkdownTheme = getMarkdownTheme()) {\n\t\tsuper(1, 1, (t) => theme.bg(\"customMessageBg\", t));\n\t\tthis.message = message;\n\t\tthis.markdownTheme = markdownTheme;\n\t\tthis.updateDisplay();\n\t}\n\n\tsetExpanded(expanded: boolean): void {\n\t\tthis.expanded = expanded;\n\t\tthis.updateDisplay();\n\t}\n\n\toverride invalidate(): void {\n\t\tsuper.invalidate();\n\t\tthis.updateDisplay();\n\t}\n\n\tprivate updateDisplay(): void {\n\t\tthis.clear();\n\n\t\tconst label = theme.fg(\"customMessageLabel\", `\\x1b[1m[branch]\\x1b[22m`);\n\t\tthis.addChild(new Text(label, 0, 0));\n\t\tthis.addChild(new Spacer(1));\n\n\t\tif (this.expanded) {\n\t\t\tconst header = \"**Branch Summary**\\n\\n\";\n\t\t\tthis.addChild(\n\t\t\t\tnew Markdown(header + this.message.summary, 0, 0, this.markdownTheme, {\n\t\t\t\t\tcolor: (text: string) => theme.fg(\"customMessageText\", text),\n\t\t\t\t}),\n\t\t\t);\n\t\t} else {\n\t\t\tthis.addChild(\n\t\t\t\tnew Text(\n\t\t\t\t\ttheme.fg(\"customMessageText\", \"Branch summary (\") +\n\t\t\t\t\t\ttheme.fg(\"dim\", keyText(\"app.tools.expand\")) +\n\t\t\t\t\t\ttheme.fg(\"customMessageText\", \" to expand)\"),\n\t\t\t\t\t0,\n\t\t\t\t\t0,\n\t\t\t\t),\n\t\t\t);\n\t\t}\n\t}\n}\n"]}
@@ -1 +0,0 @@
1
- {"version":3,"file":"compaction-summary-message.d.ts","sourceRoot":"","sources":["../../../../src/modes/interactive/components/compaction-summary-message.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,GAAG,EAAY,KAAK,aAAa,EAAgB,MAAM,iBAAiB,CAAC;AAClF,OAAO,KAAK,EAAE,wBAAwB,EAAE,MAAM,2BAA2B,CAAC;AAI1E;;;GAGG;AACH,qBAAa,iCAAkC,SAAQ,GAAG;IACzD,OAAO,CAAC,QAAQ,CAAS;IACzB,OAAO,CAAC,OAAO,CAA2B;IAC1C,OAAO,CAAC,aAAa,CAAgB;IAErC,YAAY,OAAO,EAAE,wBAAwB,EAAE,aAAa,GAAE,aAAkC,EAK/F;IAED,WAAW,CAAC,QAAQ,EAAE,OAAO,GAAG,IAAI,CAGnC;IAEQ,UAAU,IAAI,IAAI,CAG1B;IAED,OAAO,CAAC,aAAa;CA2BrB","sourcesContent":["import { Box, Markdown, type MarkdownTheme, Spacer, Text } from \"@orient-cli/tui\";\nimport type { CompactionSummaryMessage } from \"../../../core/messages.js\";\nimport { getMarkdownTheme, theme } from \"../theme/theme.js\";\nimport { keyText } from \"./keybinding-hints.js\";\n\n/**\n * Component that renders a compaction message with collapsed/expanded state.\n * Uses same background color as custom messages for visual consistency.\n */\nexport class CompactionSummaryMessageComponent extends Box {\n\tprivate expanded = false;\n\tprivate message: CompactionSummaryMessage;\n\tprivate markdownTheme: MarkdownTheme;\n\n\tconstructor(message: CompactionSummaryMessage, markdownTheme: MarkdownTheme = getMarkdownTheme()) {\n\t\tsuper(1, 1, (t) => theme.bg(\"customMessageBg\", t));\n\t\tthis.message = message;\n\t\tthis.markdownTheme = markdownTheme;\n\t\tthis.updateDisplay();\n\t}\n\n\tsetExpanded(expanded: boolean): void {\n\t\tthis.expanded = expanded;\n\t\tthis.updateDisplay();\n\t}\n\n\toverride invalidate(): void {\n\t\tsuper.invalidate();\n\t\tthis.updateDisplay();\n\t}\n\n\tprivate updateDisplay(): void {\n\t\tthis.clear();\n\n\t\tconst tokenStr = this.message.tokensBefore.toLocaleString();\n\t\tconst label = theme.fg(\"customMessageLabel\", `\\x1b[1m[compaction]\\x1b[22m`);\n\t\tthis.addChild(new Text(label, 0, 0));\n\t\tthis.addChild(new Spacer(1));\n\n\t\tif (this.expanded) {\n\t\t\tconst header = `**Compacted from ${tokenStr} tokens**\\n\\n`;\n\t\t\tthis.addChild(\n\t\t\t\tnew Markdown(header + this.message.summary, 0, 0, this.markdownTheme, {\n\t\t\t\t\tcolor: (text: string) => theme.fg(\"customMessageText\", text),\n\t\t\t\t}),\n\t\t\t);\n\t\t} else {\n\t\t\tthis.addChild(\n\t\t\t\tnew Text(\n\t\t\t\t\ttheme.fg(\"customMessageText\", `Compacted from ${tokenStr} tokens (`) +\n\t\t\t\t\t\ttheme.fg(\"dim\", keyText(\"app.tools.expand\")) +\n\t\t\t\t\t\ttheme.fg(\"customMessageText\", \" to expand)\"),\n\t\t\t\t\t0,\n\t\t\t\t\t0,\n\t\t\t\t),\n\t\t\t);\n\t\t}\n\t}\n}\n"]}
@@ -1,45 +0,0 @@
1
- import { Box, Markdown, Spacer, Text } from "@orient-cli/tui";
2
- import { getMarkdownTheme, theme } from "../theme/theme.js";
3
- import { keyText } from "./keybinding-hints.js";
4
- /**
5
- * Component that renders a compaction message with collapsed/expanded state.
6
- * Uses same background color as custom messages for visual consistency.
7
- */
8
- export class CompactionSummaryMessageComponent extends Box {
9
- expanded = false;
10
- message;
11
- markdownTheme;
12
- constructor(message, markdownTheme = getMarkdownTheme()) {
13
- super(1, 1, (t) => theme.bg("customMessageBg", t));
14
- this.message = message;
15
- this.markdownTheme = markdownTheme;
16
- this.updateDisplay();
17
- }
18
- setExpanded(expanded) {
19
- this.expanded = expanded;
20
- this.updateDisplay();
21
- }
22
- invalidate() {
23
- super.invalidate();
24
- this.updateDisplay();
25
- }
26
- updateDisplay() {
27
- this.clear();
28
- const tokenStr = this.message.tokensBefore.toLocaleString();
29
- const label = theme.fg("customMessageLabel", `\x1b[1m[compaction]\x1b[22m`);
30
- this.addChild(new Text(label, 0, 0));
31
- this.addChild(new Spacer(1));
32
- if (this.expanded) {
33
- const header = `**Compacted from ${tokenStr} tokens**\n\n`;
34
- this.addChild(new Markdown(header + this.message.summary, 0, 0, this.markdownTheme, {
35
- color: (text) => theme.fg("customMessageText", text),
36
- }));
37
- }
38
- else {
39
- this.addChild(new Text(theme.fg("customMessageText", `Compacted from ${tokenStr} tokens (`) +
40
- theme.fg("dim", keyText("app.tools.expand")) +
41
- theme.fg("customMessageText", " to expand)"), 0, 0));
42
- }
43
- }
44
- }
45
- //# sourceMappingURL=compaction-summary-message.js.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"compaction-summary-message.js","sourceRoot":"","sources":["../../../../src/modes/interactive/components/compaction-summary-message.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,GAAG,EAAE,QAAQ,EAAsB,MAAM,EAAE,IAAI,EAAE,MAAM,iBAAiB,CAAC;AAElF,OAAO,EAAE,gBAAgB,EAAE,KAAK,EAAE,MAAM,mBAAmB,CAAC;AAC5D,OAAO,EAAE,OAAO,EAAE,MAAM,uBAAuB,CAAC;AAEhD;;;GAGG;AACH,MAAM,OAAO,iCAAkC,SAAQ,GAAG;IACjD,QAAQ,GAAG,KAAK,CAAC;IACjB,OAAO,CAA2B;IAClC,aAAa,CAAgB;IAErC,YAAY,OAAiC,EAAE,aAAa,GAAkB,gBAAgB,EAAE,EAAE;QACjG,KAAK,CAAC,CAAC,EAAE,CAAC,EAAE,CAAC,CAAC,EAAE,EAAE,CAAC,KAAK,CAAC,EAAE,CAAC,iBAAiB,EAAE,CAAC,CAAC,CAAC,CAAC;QACnD,IAAI,CAAC,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CAAC;gBACnE,KAAK,CAAC,EAAE,CAAC,KAAK,EAAE,OAAO,CAAC,kBAAkB,CAAC,CAAC;gBAC5C,KAAK,CAAC,EAAE,CAAC,mBAAmB,EAAE,aAAa,CAAC,EAC7C,CAAC,EACD,CAAC,CACD,CACD,CAAC;QACH,CAAC;IAAA,CACD;CACD","sourcesContent":["import { Box, Markdown, type MarkdownTheme, Spacer, Text } from \"@orient-cli/tui\";\nimport type { CompactionSummaryMessage } from \"../../../core/messages.js\";\nimport { getMarkdownTheme, theme } from \"../theme/theme.js\";\nimport { keyText } from \"./keybinding-hints.js\";\n\n/**\n * Component that renders a compaction message with collapsed/expanded state.\n * Uses same background color as custom messages for visual consistency.\n */\nexport class CompactionSummaryMessageComponent extends Box {\n\tprivate expanded = false;\n\tprivate message: CompactionSummaryMessage;\n\tprivate markdownTheme: MarkdownTheme;\n\n\tconstructor(message: CompactionSummaryMessage, markdownTheme: MarkdownTheme = getMarkdownTheme()) {\n\t\tsuper(1, 1, (t) => theme.bg(\"customMessageBg\", t));\n\t\tthis.message = message;\n\t\tthis.markdownTheme = markdownTheme;\n\t\tthis.updateDisplay();\n\t}\n\n\tsetExpanded(expanded: boolean): void {\n\t\tthis.expanded = expanded;\n\t\tthis.updateDisplay();\n\t}\n\n\toverride invalidate(): void {\n\t\tsuper.invalidate();\n\t\tthis.updateDisplay();\n\t}\n\n\tprivate updateDisplay(): void {\n\t\tthis.clear();\n\n\t\tconst tokenStr = this.message.tokensBefore.toLocaleString();\n\t\tconst label = theme.fg(\"customMessageLabel\", `\\x1b[1m[compaction]\\x1b[22m`);\n\t\tthis.addChild(new Text(label, 0, 0));\n\t\tthis.addChild(new Spacer(1));\n\n\t\tif (this.expanded) {\n\t\t\tconst header = `**Compacted from ${tokenStr} tokens**\\n\\n`;\n\t\t\tthis.addChild(\n\t\t\t\tnew Markdown(header + this.message.summary, 0, 0, this.markdownTheme, {\n\t\t\t\t\tcolor: (text: string) => theme.fg(\"customMessageText\", text),\n\t\t\t\t}),\n\t\t\t);\n\t\t} else {\n\t\t\tthis.addChild(\n\t\t\t\tnew Text(\n\t\t\t\t\ttheme.fg(\"customMessageText\", `Compacted from ${tokenStr} tokens (`) +\n\t\t\t\t\t\ttheme.fg(\"dim\", keyText(\"app.tools.expand\")) +\n\t\t\t\t\t\ttheme.fg(\"customMessageText\", \" to expand)\"),\n\t\t\t\t\t0,\n\t\t\t\t\t0,\n\t\t\t\t),\n\t\t\t);\n\t\t}\n\t}\n}\n"]}