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":"tree-selector.js","sourceRoot":"","sources":["../../../../src/modes/interactive/components/tree-selector.ts"],"names":[],"mappings":"AAAA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ybindings,\n\tInput,\n\tmatchesKey,\n\tSpacer,\n\tText,\n\tTruncatedText,\n\ttruncateToWidth,\n} from \"@orient-cli/tui\";\nimport type { SessionTreeNode } from \"../../../core/session-manager.js\";\nimport { theme } from \"../theme/theme.js\";\nimport { DynamicBorder } from \"./dynamic-border.js\";\nimport { keyHint, keyText } from \"./keybinding-hints.js\";\n\n/** Gutter info: position (displayIndent where connector was) and whether to show │ */\ninterface GutterInfo {\n\tposition: number; // displayIndent level where the connector was shown\n\tshow: boolean; // true = show │, false = show spaces\n}\n\n/** Flattened tree node for navigation */\ninterface FlatNode {\n\tnode: SessionTreeNode;\n\t/** Indentation level (each level = 3 chars) */\n\tindent: number;\n\t/** Whether to show connector (├─ or └─) - true if parent has multiple children */\n\tshowConnector: boolean;\n\t/** If showConnector, true = last sibling (└─), false = not last (├─) */\n\tisLast: boolean;\n\t/** Gutter info for each ancestor branch point */\n\tgutters: GutterInfo[];\n\t/** True if this node is a root under a virtual branching root (multiple roots) */\n\tisVirtualRootChild: boolean;\n}\n\n/** Filter mode for tree display */\nexport type FilterMode = \"default\" | \"no-tools\" | \"user-only\" | \"labeled-only\" | \"all\";\n\n/**\n * Tree list component with selection and ASCII art visualization\n */\n/** Tool call info for lookup */\ninterface ToolCallInfo {\n\tname: string;\n\targuments: Record<string, unknown>;\n}\n\nclass TreeList implements Component {\n\tprivate flatNodes: FlatNode[] = [];\n\tprivate filteredNodes: FlatNode[] = [];\n\tprivate selectedIndex = 0;\n\tprivate currentLeafId: string | null;\n\tprivate maxVisibleLines: number;\n\tprivate filterMode: FilterMode = \"default\";\n\tprivate searchQuery = \"\";\n\tprivate toolCallMap: Map<string, ToolCallInfo> = new Map();\n\tprivate multipleRoots = false;\n\tprivate showLabelTimestamps = false;\n\tprivate activePathIds: Set<string> = new Set();\n\tprivate visibleParentMap: Map<string, string | null> = new Map();\n\tprivate visibleChildrenMap: Map<string | null, string[]> = new Map();\n\tprivate lastSelectedId: string | null = null;\n\tprivate foldedNodes: Set<string> = new Set();\n\n\tpublic onSelect?: (entryId: string) => void;\n\tpublic onCancel?: () => void;\n\tpublic onLabelEdit?: (entryId: string, currentLabel: string | undefined) => void;\n\n\tconstructor(\n\t\ttree: SessionTreeNode[],\n\t\tcurrentLeafId: string | null,\n\t\tmaxVisibleLines: number,\n\t\tinitialSelectedId?: string,\n\t\tinitialFilterMode?: FilterMode,\n\t) {\n\t\tthis.currentLeafId = currentLeafId;\n\t\tthis.maxVisibleLines = maxVisibleLines;\n\t\tthis.filterMode = initialFilterMode ?? \"default\";\n\t\tthis.multipleRoots = tree.length > 1;\n\t\tthis.flatNodes = this.flattenTree(tree);\n\t\tthis.buildActivePath();\n\t\tthis.applyFilter();\n\n\t\t// Start with initialSelectedId if provided, otherwise current leaf\n\t\tconst targetId = initialSelectedId ?? currentLeafId;\n\t\tthis.selectedIndex = this.findNearestVisibleIndex(targetId);\n\t\tthis.lastSelectedId = this.filteredNodes[this.selectedIndex]?.node.entry.id ?? null;\n\t}\n\n\t/**\n\t * Find the index of the nearest visible entry, walking up the parent chain if needed.\n\t * Returns the index in filteredNodes, or the last index as fallback.\n\t */\n\tprivate findNearestVisibleIndex(entryId: string | null): number {\n\t\tif (this.filteredNodes.length === 0) return 0;\n\n\t\t// Build a map for parent lookup\n\t\tconst entryMap = new Map<string, FlatNode>();\n\t\tfor (const flatNode of this.flatNodes) {\n\t\t\tentryMap.set(flatNode.node.entry.id, flatNode);\n\t\t}\n\n\t\t// Build a map of visible entry IDs to their indices in filteredNodes\n\t\tconst visibleIdToIndex = new Map<string, number>(this.filteredNodes.map((node, i) => [node.node.entry.id, i]));\n\n\t\t// Walk from entryId up to root, looking for a visible entry\n\t\tlet currentId = entryId;\n\t\twhile (currentId !== null) {\n\t\t\tconst index = visibleIdToIndex.get(currentId);\n\t\t\tif (index !== undefined) return index;\n\t\t\tconst node = entryMap.get(currentId);\n\t\t\tif (!node) break;\n\t\t\tcurrentId = node.node.entry.parentId ?? null;\n\t\t}\n\n\t\t// Fallback: last visible entry\n\t\treturn this.filteredNodes.length - 1;\n\t}\n\n\t/** Build the set of entry IDs on the path from root to current leaf */\n\tprivate buildActivePath(): void {\n\t\tthis.activePathIds.clear();\n\t\tif (!this.currentLeafId) return;\n\n\t\t// Build a map of id -> entry for parent lookup\n\t\tconst entryMap = new Map<string, FlatNode>();\n\t\tfor (const flatNode of this.flatNodes) {\n\t\t\tentryMap.set(flatNode.node.entry.id, flatNode);\n\t\t}\n\n\t\t// Walk from leaf to root\n\t\tlet currentId: string | null = this.currentLeafId;\n\t\twhile (currentId) {\n\t\t\tthis.activePathIds.add(currentId);\n\t\t\tconst node = entryMap.get(currentId);\n\t\t\tif (!node) break;\n\t\t\tcurrentId = node.node.entry.parentId ?? null;\n\t\t}\n\t}\n\n\tprivate flattenTree(roots: SessionTreeNode[]): FlatNode[] {\n\t\tconst result: FlatNode[] = [];\n\t\tthis.toolCallMap.clear();\n\n\t\t// Indentation rules:\n\t\t// - At indent 0: stay at 0 unless parent has >1 children (then +1)\n\t\t// - At indent 1: children always go to indent 2 (visual grouping of subtree)\n\t\t// - At indent 2+: stay flat for single-child chains, +1 only if parent branches\n\n\t\t// Stack items: [node, indent, justBranched, showConnector, isLast, gutters, isVirtualRootChild]\n\t\ttype StackItem = [SessionTreeNode, number, boolean, boolean, boolean, GutterInfo[], boolean];\n\t\tconst stack: StackItem[] = [];\n\n\t\t// Determine which subtrees contain the active leaf (to sort current branch first)\n\t\t// Use iterative post-order traversal to avoid stack overflow\n\t\tconst containsActive = new Map<SessionTreeNode, boolean>();\n\t\tconst leafId = this.currentLeafId;\n\t\t{\n\t\t\t// Build list in pre-order, then process in reverse for post-order effect\n\t\t\tconst allNodes: SessionTreeNode[] = [];\n\t\t\tconst preOrderStack: SessionTreeNode[] = [...roots];\n\t\t\twhile (preOrderStack.length > 0) {\n\t\t\t\tconst node = preOrderStack.pop()!;\n\t\t\t\tallNodes.push(node);\n\t\t\t\t// Push children in reverse so they're processed left-to-right\n\t\t\t\tfor (let i = node.children.length - 1; i >= 0; i--) {\n\t\t\t\t\tpreOrderStack.push(node.children[i]);\n\t\t\t\t}\n\t\t\t}\n\t\t\t// Process in reverse (post-order): children before parents\n\t\t\tfor (let i = allNodes.length - 1; i >= 0; i--) {\n\t\t\t\tconst node = allNodes[i];\n\t\t\t\tlet has = leafId !== null && node.entry.id === leafId;\n\t\t\t\tfor (const child of node.children) {\n\t\t\t\t\tif (containsActive.get(child)) {\n\t\t\t\t\t\thas = true;\n\t\t\t\t\t}\n\t\t\t\t}\n\t\t\t\tcontainsActive.set(node, has);\n\t\t\t}\n\t\t}\n\n\t\t// Add roots in reverse order, prioritizing the one containing the active leaf\n\t\t// If multiple roots, treat them as children of a virtual root that branches\n\t\tconst multipleRoots = roots.length > 1;\n\t\tconst orderedRoots = [...roots].sort((a, b) => Number(containsActive.get(b)) - Number(containsActive.get(a)));\n\t\tfor (let i = orderedRoots.length - 1; i >= 0; i--) {\n\t\t\tconst isLast = i === orderedRoots.length - 1;\n\t\t\tstack.push([orderedRoots[i], multipleRoots ? 1 : 0, multipleRoots, multipleRoots, isLast, [], multipleRoots]);\n\t\t}\n\n\t\twhile (stack.length > 0) {\n\t\t\tconst [node, indent, justBranched, showConnector, isLast, gutters, isVirtualRootChild] = stack.pop()!;\n\n\t\t\t// Extract tool calls from assistant messages for later lookup\n\t\t\tconst entry = node.entry;\n\t\t\tif (entry.type === \"message\" && entry.message.role === \"assistant\") {\n\t\t\t\tconst content = (entry.message as { content?: unknown }).content;\n\t\t\t\tif (Array.isArray(content)) {\n\t\t\t\t\tfor (const block of content) {\n\t\t\t\t\t\tif (typeof block === \"object\" && block !== null && \"type\" in block && block.type === \"toolCall\") {\n\t\t\t\t\t\t\tconst tc = block as { id: string; name: string; arguments: Record<string, unknown> };\n\t\t\t\t\t\t\tthis.toolCallMap.set(tc.id, { name: tc.name, arguments: tc.arguments });\n\t\t\t\t\t\t}\n\t\t\t\t\t}\n\t\t\t\t}\n\t\t\t}\n\n\t\t\tresult.push({ node, indent, showConnector, isLast, gutters, isVirtualRootChild });\n\n\t\t\tconst children = node.children;\n\t\t\tconst multipleChildren = children.length > 1;\n\n\t\t\t// Order children so the branch containing the active leaf comes first\n\t\t\tconst orderedChildren = (() => {\n\t\t\t\tconst prioritized: SessionTreeNode[] = [];\n\t\t\t\tconst rest: SessionTreeNode[] = [];\n\t\t\t\tfor (const child of children) {\n\t\t\t\t\tif (containsActive.get(child)) {\n\t\t\t\t\t\tprioritized.push(child);\n\t\t\t\t\t} else {\n\t\t\t\t\t\trest.push(child);\n\t\t\t\t\t}\n\t\t\t\t}\n\t\t\t\treturn [...prioritized, ...rest];\n\t\t\t})();\n\n\t\t\t// Calculate child indent\n\t\t\tlet childIndent: number;\n\t\t\tif (multipleChildren) {\n\t\t\t\t// Parent branches: children get +1\n\t\t\t\tchildIndent = indent + 1;\n\t\t\t} else if (justBranched && indent > 0) {\n\t\t\t\t// First generation after a branch: +1 for visual grouping\n\t\t\t\tchildIndent = indent + 1;\n\t\t\t} else {\n\t\t\t\t// Single-child chain: stay flat\n\t\t\t\tchildIndent = indent;\n\t\t\t}\n\n\t\t\t// Build gutters for children\n\t\t\t// If this node showed a connector, add a gutter entry for descendants\n\t\t\t// Only add gutter if connector is actually displayed (not suppressed for virtual root children)\n\t\t\tconst connectorDisplayed = showConnector && !isVirtualRootChild;\n\t\t\t// When connector is displayed, add a gutter entry at the connector's position\n\t\t\t// Connector is at position (displayIndent - 1), so gutter should be there too\n\t\t\tconst currentDisplayIndent = this.multipleRoots ? Math.max(0, indent - 1) : indent;\n\t\t\tconst connectorPosition = Math.max(0, currentDisplayIndent - 1);\n\t\t\tconst childGutters: GutterInfo[] = connectorDisplayed\n\t\t\t\t? [...gutters, { position: connectorPosition, show: !isLast }]\n\t\t\t\t: gutters;\n\n\t\t\t// Add children in reverse order\n\t\t\tfor (let i = orderedChildren.length - 1; i >= 0; i--) {\n\t\t\t\tconst childIsLast = i === orderedChildren.length - 1;\n\t\t\t\tstack.push([\n\t\t\t\t\torderedChildren[i],\n\t\t\t\t\tchildIndent,\n\t\t\t\t\tmultipleChildren,\n\t\t\t\t\tmultipleChildren,\n\t\t\t\t\tchildIsLast,\n\t\t\t\t\tchildGutters,\n\t\t\t\t\tfalse,\n\t\t\t\t]);\n\t\t\t}\n\t\t}\n\n\t\treturn result;\n\t}\n\n\tprivate applyFilter(): void {\n\t\t// Update lastSelectedId only when we have a valid selection (non-empty list)\n\t\t// This preserves the selection when switching through empty filter results\n\t\tif (this.filteredNodes.length > 0) {\n\t\t\tthis.lastSelectedId = this.filteredNodes[this.selectedIndex]?.node.entry.id ?? this.lastSelectedId;\n\t\t}\n\n\t\tconst searchTokens = this.searchQuery.toLowerCase().split(/\\s+/).filter(Boolean);\n\n\t\tthis.filteredNodes = this.flatNodes.filter((flatNode) => {\n\t\t\tconst entry = flatNode.node.entry;\n\t\t\tconst isCurrentLeaf = entry.id === this.currentLeafId;\n\n\t\t\t// Skip assistant messages with only tool calls (no text) unless error/aborted\n\t\t\t// Always show current leaf so active position is visible\n\t\t\tif (entry.type === \"message\" && entry.message.role === \"assistant\" && !isCurrentLeaf) {\n\t\t\t\tconst msg = entry.message as { stopReason?: string; content?: unknown };\n\t\t\t\tconst hasText = this.hasTextContent(msg.content);\n\t\t\t\tconst isErrorOrAborted = msg.stopReason && msg.stopReason !== \"stop\" && msg.stopReason !== \"toolUse\";\n\t\t\t\t// Only hide if no text AND not an error/aborted message\n\t\t\t\tif (!hasText && !isErrorOrAborted) {\n\t\t\t\t\treturn false;\n\t\t\t\t}\n\t\t\t}\n\n\t\t\t// Apply filter mode\n\t\t\tlet passesFilter = true;\n\t\t\t// Entry types hidden in default view (settings/bookkeeping)\n\t\t\tconst isSettingsEntry =\n\t\t\t\tentry.type === \"label\" ||\n\t\t\t\tentry.type === \"custom\" ||\n\t\t\t\tentry.type === \"model_change\" ||\n\t\t\t\tentry.type === \"thinking_level_change\" ||\n\t\t\t\tentry.type === \"session_info\";\n\n\t\t\tswitch (this.filterMode) {\n\t\t\t\tcase \"user-only\":\n\t\t\t\t\t// Just user messages\n\t\t\t\t\tpassesFilter = entry.type === \"message\" && entry.message.role === \"user\";\n\t\t\t\t\tbreak;\n\t\t\t\tcase \"no-tools\":\n\t\t\t\t\t// Default minus tool results\n\t\t\t\t\tpassesFilter = !isSettingsEntry && !(entry.type === \"message\" && entry.message.role === \"toolResult\");\n\t\t\t\t\tbreak;\n\t\t\t\tcase \"labeled-only\":\n\t\t\t\t\t// Just labeled entries\n\t\t\t\t\tpassesFilter = flatNode.node.label !== undefined;\n\t\t\t\t\tbreak;\n\t\t\t\tcase \"all\":\n\t\t\t\t\t// Show everything\n\t\t\t\t\tpassesFilter = true;\n\t\t\t\t\tbreak;\n\t\t\t\tdefault:\n\t\t\t\t\t// Default mode: hide settings/bookkeeping entries\n\t\t\t\t\tpassesFilter = !isSettingsEntry;\n\t\t\t\t\tbreak;\n\t\t\t}\n\n\t\t\tif (!passesFilter) return false;\n\n\t\t\t// Apply search filter\n\t\t\tif (searchTokens.length > 0) {\n\t\t\t\tconst nodeText = this.getSearchableText(flatNode.node).toLowerCase();\n\t\t\t\treturn searchTokens.every((token) => nodeText.includes(token));\n\t\t\t}\n\n\t\t\treturn true;\n\t\t});\n\n\t\t// Filter out descendants of folded nodes.\n\t\tif (this.foldedNodes.size > 0) {\n\t\t\tconst skipSet = new Set<string>();\n\t\t\tfor (const flatNode of this.flatNodes) {\n\t\t\t\tconst { id, parentId } = flatNode.node.entry;\n\t\t\t\tif (parentId != null && (this.foldedNodes.has(parentId) || skipSet.has(parentId))) {\n\t\t\t\t\tskipSet.add(id);\n\t\t\t\t}\n\t\t\t}\n\t\t\tthis.filteredNodes = this.filteredNodes.filter((flatNode) => !skipSet.has(flatNode.node.entry.id));\n\t\t}\n\n\t\t// Recalculate visual structure (indent, connectors, gutters) based on visible tree\n\t\tthis.recalculateVisualStructure();\n\n\t\t// Try to preserve cursor on the same node, or find nearest visible ancestor\n\t\tif (this.lastSelectedId) {\n\t\t\tthis.selectedIndex = this.findNearestVisibleIndex(this.lastSelectedId);\n\t\t} else if (this.selectedIndex >= this.filteredNodes.length) {\n\t\t\t// Clamp index if out of bounds\n\t\t\tthis.selectedIndex = Math.max(0, this.filteredNodes.length - 1);\n\t\t}\n\n\t\t// Update lastSelectedId to the actual selection (may have changed due to parent walk)\n\t\tif (this.filteredNodes.length > 0) {\n\t\t\tthis.lastSelectedId = this.filteredNodes[this.selectedIndex]?.node.entry.id ?? this.lastSelectedId;\n\t\t}\n\t}\n\n\t/**\n\t * Recompute indentation/connectors for the filtered view\n\t *\n\t * Filtering can hide intermediate entries; descendants attach to the nearest visible ancestor.\n\t * Keep indentation semantics aligned with flattenTree() so single-child chains don't drift right.\n\t */\n\tprivate recalculateVisualStructure(): void {\n\t\tif (this.filteredNodes.length === 0) return;\n\n\t\tconst visibleIds = new Set(this.filteredNodes.map((n) => n.node.entry.id));\n\n\t\t// Build entry map for efficient parent lookup (using full tree)\n\t\tconst entryMap = new Map<string, FlatNode>();\n\t\tfor (const flatNode of this.flatNodes) {\n\t\t\tentryMap.set(flatNode.node.entry.id, flatNode);\n\t\t}\n\n\t\t// Find nearest visible ancestor for a node\n\t\tconst findVisibleAncestor = (nodeId: string): string | null => {\n\t\t\tlet currentId = entryMap.get(nodeId)?.node.entry.parentId ?? null;\n\t\t\twhile (currentId !== null) {\n\t\t\t\tif (visibleIds.has(currentId)) {\n\t\t\t\t\treturn currentId;\n\t\t\t\t}\n\t\t\t\tcurrentId = entryMap.get(currentId)?.node.entry.parentId ?? null;\n\t\t\t}\n\t\t\treturn null;\n\t\t};\n\n\t\t// Build visible tree structure:\n\t\t// - visibleParent: nodeId → nearest visible ancestor (or null for roots)\n\t\t// - visibleChildren: parentId → list of visible children (in filteredNodes order)\n\t\tconst visibleParent = new Map<string, string | null>();\n\t\tconst visibleChildren = new Map<string | null, string[]>();\n\t\tvisibleChildren.set(null, []); // root-level nodes\n\n\t\tfor (const flatNode of this.filteredNodes) {\n\t\t\tconst nodeId = flatNode.node.entry.id;\n\t\t\tconst ancestorId = findVisibleAncestor(nodeId);\n\t\t\tvisibleParent.set(nodeId, ancestorId);\n\n\t\t\tif (!visibleChildren.has(ancestorId)) {\n\t\t\t\tvisibleChildren.set(ancestorId, []);\n\t\t\t}\n\t\t\tvisibleChildren.get(ancestorId)!.push(nodeId);\n\t\t}\n\n\t\t// Update multipleRoots based on visible roots\n\t\tconst visibleRootIds = visibleChildren.get(null)!;\n\t\tthis.multipleRoots = visibleRootIds.length > 1;\n\n\t\t// Build a map for quick lookup: nodeId → FlatNode\n\t\tconst filteredNodeMap = new Map<string, FlatNode>();\n\t\tfor (const flatNode of this.filteredNodes) {\n\t\t\tfilteredNodeMap.set(flatNode.node.entry.id, flatNode);\n\t\t}\n\n\t\t// DFS over the visible tree using flattenTree() indentation semantics\n\t\t// Stack items: [nodeId, indent, justBranched, showConnector, isLast, gutters, isVirtualRootChild]\n\t\ttype StackItem = [string, number, boolean, boolean, boolean, GutterInfo[], boolean];\n\t\tconst stack: StackItem[] = [];\n\n\t\t// Add visible roots in reverse order (to process in forward order via stack)\n\t\tfor (let i = visibleRootIds.length - 1; i >= 0; i--) {\n\t\t\tconst isLast = i === visibleRootIds.length - 1;\n\t\t\tstack.push([\n\t\t\t\tvisibleRootIds[i],\n\t\t\t\tthis.multipleRoots ? 1 : 0,\n\t\t\t\tthis.multipleRoots,\n\t\t\t\tthis.multipleRoots,\n\t\t\t\tisLast,\n\t\t\t\t[],\n\t\t\t\tthis.multipleRoots,\n\t\t\t]);\n\t\t}\n\n\t\twhile (stack.length > 0) {\n\t\t\tconst [nodeId, indent, justBranched, showConnector, isLast, gutters, isVirtualRootChild] = stack.pop()!;\n\n\t\t\tconst flatNode = filteredNodeMap.get(nodeId);\n\t\t\tif (!flatNode) continue;\n\n\t\t\t// Update this node's visual properties\n\t\t\tflatNode.indent = indent;\n\t\t\tflatNode.showConnector = showConnector;\n\t\t\tflatNode.isLast = isLast;\n\t\t\tflatNode.gutters = gutters;\n\t\t\tflatNode.isVirtualRootChild = isVirtualRootChild;\n\n\t\t\t// Get visible children of this node\n\t\t\tconst children = visibleChildren.get(nodeId) || [];\n\t\t\tconst multipleChildren = children.length > 1;\n\n\t\t\t// Child indent follows flattenTree(): branch points (and first generation after a branch) shift +1\n\t\t\tlet childIndent: number;\n\t\t\tif (multipleChildren) {\n\t\t\t\tchildIndent = indent + 1;\n\t\t\t} else if (justBranched && indent > 0) {\n\t\t\t\tchildIndent = indent + 1;\n\t\t\t} else {\n\t\t\t\tchildIndent = indent;\n\t\t\t}\n\n\t\t\t// Child gutters follow flattenTree() connector/gutter rules\n\t\t\tconst connectorDisplayed = showConnector && !isVirtualRootChild;\n\t\t\tconst currentDisplayIndent = this.multipleRoots ? Math.max(0, indent - 1) : indent;\n\t\t\tconst connectorPosition = Math.max(0, currentDisplayIndent - 1);\n\t\t\tconst childGutters: GutterInfo[] = connectorDisplayed\n\t\t\t\t? [...gutters, { position: connectorPosition, show: !isLast }]\n\t\t\t\t: gutters;\n\n\t\t\t// Add children in reverse order (to process in forward order via stack)\n\t\t\tfor (let i = children.length - 1; i >= 0; i--) {\n\t\t\t\tconst childIsLast = i === children.length - 1;\n\t\t\t\tstack.push([\n\t\t\t\t\tchildren[i],\n\t\t\t\t\tchildIndent,\n\t\t\t\t\tmultipleChildren,\n\t\t\t\t\tmultipleChildren,\n\t\t\t\t\tchildIsLast,\n\t\t\t\t\tchildGutters,\n\t\t\t\t\tfalse,\n\t\t\t\t]);\n\t\t\t}\n\t\t}\n\n\t\t// Store visible tree maps for ancestor/descendant lookups in navigation\n\t\tthis.visibleParentMap = visibleParent;\n\t\tthis.visibleChildrenMap = visibleChildren;\n\t}\n\n\t/** Get searchable text content from a node */\n\tprivate getSearchableText(node: SessionTreeNode): string {\n\t\tconst entry = node.entry;\n\t\tconst parts: string[] = [];\n\n\t\tif (node.label) {\n\t\t\tparts.push(node.label);\n\t\t}\n\n\t\tswitch (entry.type) {\n\t\t\tcase \"message\": {\n\t\t\t\tconst msg = entry.message;\n\t\t\t\tparts.push(msg.role);\n\t\t\t\tif (\"content\" in msg && msg.content) {\n\t\t\t\t\tparts.push(this.extractContent(msg.content));\n\t\t\t\t}\n\t\t\t\tif (msg.role === \"bashExecution\") {\n\t\t\t\t\tconst bashMsg = msg as { command?: string };\n\t\t\t\t\tif (bashMsg.command) parts.push(bashMsg.command);\n\t\t\t\t}\n\t\t\t\tbreak;\n\t\t\t}\n\t\t\tcase \"custom_message\": {\n\t\t\t\tparts.push(entry.customType);\n\t\t\t\tif (typeof entry.content === \"string\") {\n\t\t\t\t\tparts.push(entry.content);\n\t\t\t\t} else {\n\t\t\t\t\tparts.push(this.extractContent(entry.content));\n\t\t\t\t}\n\t\t\t\tbreak;\n\t\t\t}\n\t\t\tcase \"compaction\":\n\t\t\t\tparts.push(\"compaction\");\n\t\t\t\tbreak;\n\t\t\tcase \"branch_summary\":\n\t\t\t\tparts.push(\"branch summary\", entry.summary);\n\t\t\t\tbreak;\n\t\t\tcase \"session_info\":\n\t\t\t\tparts.push(\"title\");\n\t\t\t\tif (entry.name) parts.push(entry.name);\n\t\t\t\tbreak;\n\t\t\tcase \"model_change\":\n\t\t\t\tparts.push(\"model\", entry.modelId);\n\t\t\t\tbreak;\n\t\t\tcase \"thinking_level_change\":\n\t\t\t\tparts.push(\"thinking\", entry.thinkingLevel);\n\t\t\t\tbreak;\n\t\t\tcase \"custom\":\n\t\t\t\tparts.push(\"custom\", entry.customType);\n\t\t\t\tbreak;\n\t\t\tcase \"label\":\n\t\t\t\tparts.push(\"label\", entry.label ?? \"\");\n\t\t\t\tbreak;\n\t\t}\n\n\t\treturn parts.join(\" \");\n\t}\n\n\tinvalidate(): void {}\n\n\tgetSearchQuery(): string {\n\t\treturn this.searchQuery;\n\t}\n\n\tgetSelectedNode(): SessionTreeNode | undefined {\n\t\treturn this.filteredNodes[this.selectedIndex]?.node;\n\t}\n\n\tupdateNodeLabel(entryId: string, label: string | undefined, labelTimestamp?: string): void {\n\t\tfor (const flatNode of this.flatNodes) {\n\t\t\tif (flatNode.node.entry.id === entryId) {\n\t\t\t\tflatNode.node.label = label;\n\t\t\t\tflatNode.node.labelTimestamp = label ? (labelTimestamp ?? new Date().toISOString()) : undefined;\n\t\t\t\tbreak;\n\t\t\t}\n\t\t}\n\t}\n\n\tprivate getStatusLabels(): string {\n\t\tlet labels = \"\";\n\t\tswitch (this.filterMode) {\n\t\t\tcase \"no-tools\":\n\t\t\t\tlabels += \" [no-tools]\";\n\t\t\t\tbreak;\n\t\t\tcase \"user-only\":\n\t\t\t\tlabels += \" [user]\";\n\t\t\t\tbreak;\n\t\t\tcase \"labeled-only\":\n\t\t\t\tlabels += \" [labeled]\";\n\t\t\t\tbreak;\n\t\t\tcase \"all\":\n\t\t\t\tlabels += \" [all]\";\n\t\t\t\tbreak;\n\t\t}\n\t\tif (this.showLabelTimestamps) {\n\t\t\tlabels += \" [+label time]\";\n\t\t}\n\t\treturn labels;\n\t}\n\n\trender(width: number): string[] {\n\t\tconst lines: string[] = [];\n\n\t\tif (this.filteredNodes.length === 0) {\n\t\t\tlines.push(truncateToWidth(theme.fg(\"muted\", \" No entries found\"), width));\n\t\t\tlines.push(truncateToWidth(theme.fg(\"muted\", ` (0/0)${this.getStatusLabels()}`), width));\n\t\t\treturn lines;\n\t\t}\n\n\t\tconst startIndex = Math.max(\n\t\t\t0,\n\t\t\tMath.min(\n\t\t\t\tthis.selectedIndex - Math.floor(this.maxVisibleLines / 2),\n\t\t\t\tthis.filteredNodes.length - this.maxVisibleLines,\n\t\t\t),\n\t\t);\n\t\tconst endIndex = Math.min(startIndex + this.maxVisibleLines, this.filteredNodes.length);\n\n\t\tfor (let i = startIndex; i < endIndex; i++) {\n\t\t\tconst flatNode = this.filteredNodes[i];\n\t\t\tconst entry = flatNode.node.entry;\n\t\t\tconst isSelected = i === this.selectedIndex;\n\n\t\t\t// Build line: cursor + prefix + path marker + label + content\n\t\t\tconst cursor = isSelected ? theme.fg(\"accent\", \"› \") : \" \";\n\n\t\t\t// If multiple roots, shift display (roots at 0, not 1)\n\t\t\tconst displayIndent = this.multipleRoots ? Math.max(0, flatNode.indent - 1) : flatNode.indent;\n\n\t\t\t// Build prefix with gutters at their correct positions\n\t\t\t// Each gutter has a position (displayIndent where its connector was shown)\n\t\t\tconst connector =\n\t\t\t\tflatNode.showConnector && !flatNode.isVirtualRootChild ? (flatNode.isLast ? \"└─ \" : \"├─ \") : \"\";\n\t\t\tconst connectorPosition = connector ? displayIndent - 1 : -1;\n\n\t\t\t// Build prefix char by char, placing gutters and connector at their positions\n\t\t\tconst totalChars = displayIndent * 3;\n\t\t\tconst prefixChars: string[] = [];\n\t\t\tconst isFolded = this.foldedNodes.has(entry.id);\n\t\t\tfor (let i = 0; i < totalChars; i++) {\n\t\t\t\tconst level = Math.floor(i / 3);\n\t\t\t\tconst posInLevel = i % 3;\n\n\t\t\t\t// Check if there's a gutter at this level\n\t\t\t\tconst gutter = flatNode.gutters.find((g) => g.position === level);\n\t\t\t\tif (gutter) {\n\t\t\t\t\tif (posInLevel === 0) {\n\t\t\t\t\t\tprefixChars.push(gutter.show ? \"│\" : \" \");\n\t\t\t\t\t} else {\n\t\t\t\t\t\tprefixChars.push(\" \");\n\t\t\t\t\t}\n\t\t\t\t} else if (connector && level === connectorPosition) {\n\t\t\t\t\t// Connector at this level, with fold indicator\n\t\t\t\t\tif (posInLevel === 0) {\n\t\t\t\t\t\tprefixChars.push(flatNode.isLast ? \"└\" : \"├\");\n\t\t\t\t\t} else if (posInLevel === 1) {\n\t\t\t\t\t\tconst foldable = this.isFoldable(entry.id);\n\t\t\t\t\t\tprefixChars.push(isFolded ? \"⊞\" : foldable ? \"⊟\" : \"─\");\n\t\t\t\t\t} else {\n\t\t\t\t\t\tprefixChars.push(\" \");\n\t\t\t\t\t}\n\t\t\t\t} else {\n\t\t\t\t\tprefixChars.push(\" \");\n\t\t\t\t}\n\t\t\t}\n\t\t\tconst prefix = prefixChars.join(\"\");\n\n\t\t\t// Fold marker for nodes without connectors (roots)\n\t\t\tconst showsFoldInConnector = flatNode.showConnector && !flatNode.isVirtualRootChild;\n\t\t\tconst foldMarker = isFolded && !showsFoldInConnector ? theme.fg(\"accent\", \"⊞ \") : \"\";\n\n\t\t\t// Active path marker - shown right before the entry text\n\t\t\tconst isOnActivePath = this.activePathIds.has(entry.id);\n\t\t\tconst pathMarker = isOnActivePath ? theme.fg(\"accent\", \"• \") : \"\";\n\n\t\t\tconst label = flatNode.node.label ? theme.fg(\"warning\", `[${flatNode.node.label}] `) : \"\";\n\t\t\tconst labelTimestamp =\n\t\t\t\tthis.showLabelTimestamps && flatNode.node.label && flatNode.node.labelTimestamp\n\t\t\t\t\t? theme.fg(\"muted\", `${this.formatLabelTimestamp(flatNode.node.labelTimestamp)} `)\n\t\t\t\t\t: \"\";\n\t\t\tconst content = this.getEntryDisplayText(flatNode.node, isSelected);\n\n\t\t\tlet line = cursor + theme.fg(\"dim\", prefix) + foldMarker + pathMarker + label + labelTimestamp + content;\n\t\t\tif (isSelected) {\n\t\t\t\tline = theme.bg(\"selectedBg\", line);\n\t\t\t}\n\t\t\tlines.push(truncateToWidth(line, width));\n\t\t}\n\n\t\tlines.push(\n\t\t\ttruncateToWidth(\n\t\t\t\ttheme.fg(\"muted\", ` (${this.selectedIndex + 1}/${this.filteredNodes.length})${this.getStatusLabels()}`),\n\t\t\t\twidth,\n\t\t\t),\n\t\t);\n\n\t\treturn lines;\n\t}\n\n\tprivate getEntryDisplayText(node: SessionTreeNode, isSelected: boolean): string {\n\t\tconst entry = node.entry;\n\t\tlet result: string;\n\n\t\tconst normalize = (s: string) => s.replace(/[\\n\\t]/g, \" \").trim();\n\n\t\tswitch (entry.type) {\n\t\t\tcase \"message\": {\n\t\t\t\tconst msg = entry.message;\n\t\t\t\tconst role = msg.role;\n\t\t\t\tif (role === \"user\") {\n\t\t\t\t\tconst msgWithContent = msg as { content?: unknown };\n\t\t\t\t\tconst content = normalize(this.extractContent(msgWithContent.content));\n\t\t\t\t\tresult = theme.fg(\"accent\", \"user: \") + content;\n\t\t\t\t} else if (role === \"assistant\") {\n\t\t\t\t\tconst msgWithContent = msg as { content?: unknown; stopReason?: string; errorMessage?: string };\n\t\t\t\t\tconst textContent = normalize(this.extractContent(msgWithContent.content));\n\t\t\t\t\tif (textContent) {\n\t\t\t\t\t\tresult = theme.fg(\"success\", \"assistant: \") + textContent;\n\t\t\t\t\t} else if (msgWithContent.stopReason === \"aborted\") {\n\t\t\t\t\t\tresult = theme.fg(\"success\", \"assistant: \") + theme.fg(\"muted\", \"(aborted)\");\n\t\t\t\t\t} else if (msgWithContent.errorMessage) {\n\t\t\t\t\t\tconst errMsg = normalize(msgWithContent.errorMessage).slice(0, 80);\n\t\t\t\t\t\tresult = theme.fg(\"success\", \"assistant: \") + theme.fg(\"error\", errMsg);\n\t\t\t\t\t} else {\n\t\t\t\t\t\tresult = theme.fg(\"success\", \"assistant: \") + theme.fg(\"muted\", \"(no content)\");\n\t\t\t\t\t}\n\t\t\t\t} else if (role === \"toolResult\") {\n\t\t\t\t\tconst toolMsg = msg as { toolCallId?: string; toolName?: string };\n\t\t\t\t\tconst toolCall = toolMsg.toolCallId ? this.toolCallMap.get(toolMsg.toolCallId) : undefined;\n\t\t\t\t\tif (toolCall) {\n\t\t\t\t\t\tresult = theme.fg(\"muted\", this.formatToolCall(toolCall.name, toolCall.arguments));\n\t\t\t\t\t} else {\n\t\t\t\t\t\tresult = theme.fg(\"muted\", `[${toolMsg.toolName ?? \"tool\"}]`);\n\t\t\t\t\t}\n\t\t\t\t} else if (role === \"bashExecution\") {\n\t\t\t\t\tconst bashMsg = msg as { command?: string };\n\t\t\t\t\tresult = theme.fg(\"dim\", `[bash]: ${normalize(bashMsg.command ?? \"\")}`);\n\t\t\t\t} else {\n\t\t\t\t\tresult = theme.fg(\"dim\", `[${role}]`);\n\t\t\t\t}\n\t\t\t\tbreak;\n\t\t\t}\n\t\t\tcase \"custom_message\": {\n\t\t\t\tconst content =\n\t\t\t\t\ttypeof entry.content === \"string\"\n\t\t\t\t\t\t? entry.content\n\t\t\t\t\t\t: entry.content\n\t\t\t\t\t\t\t\t.filter((c): c is { type: \"text\"; text: string } => c.type === \"text\")\n\t\t\t\t\t\t\t\t.map((c) => c.text)\n\t\t\t\t\t\t\t\t.join(\"\");\n\t\t\t\tresult = theme.fg(\"customMessageLabel\", `[${entry.customType}]: `) + normalize(content);\n\t\t\t\tbreak;\n\t\t\t}\n\t\t\tcase \"compaction\": {\n\t\t\t\tconst tokens = Math.round(entry.tokensBefore / 1000);\n\t\t\t\tresult = theme.fg(\"borderAccent\", `[compaction: ${tokens}k tokens]`);\n\t\t\t\tbreak;\n\t\t\t}\n\t\t\tcase \"branch_summary\":\n\t\t\t\tresult = theme.fg(\"warning\", `[branch summary]: `) + normalize(entry.summary);\n\t\t\t\tbreak;\n\t\t\tcase \"model_change\":\n\t\t\t\tresult = theme.fg(\"dim\", `[model: ${entry.modelId}]`);\n\t\t\t\tbreak;\n\t\t\tcase \"thinking_level_change\":\n\t\t\t\tresult = theme.fg(\"dim\", `[thinking: ${entry.thinkingLevel}]`);\n\t\t\t\tbreak;\n\t\t\tcase \"custom\":\n\t\t\t\tresult = theme.fg(\"dim\", `[custom: ${entry.customType}]`);\n\t\t\t\tbreak;\n\t\t\tcase \"label\":\n\t\t\t\tresult = theme.fg(\"dim\", `[label: ${entry.label ?? \"(cleared)\"}]`);\n\t\t\t\tbreak;\n\t\t\tcase \"session_info\":\n\t\t\t\tresult = entry.name\n\t\t\t\t\t? [theme.fg(\"dim\", \"[title: \"), theme.fg(\"dim\", entry.name), theme.fg(\"dim\", \"]\")].join(\"\")\n\t\t\t\t\t: [theme.fg(\"dim\", \"[title: \"), theme.italic(theme.fg(\"dim\", \"empty\")), theme.fg(\"dim\", \"]\")].join(\"\");\n\t\t\t\tbreak;\n\t\t\tdefault:\n\t\t\t\tresult = \"\";\n\t\t}\n\n\t\treturn isSelected ? theme.bold(result) : result;\n\t}\n\n\tprivate formatLabelTimestamp(timestamp: string): string {\n\t\tconst date = new Date(timestamp);\n\t\tconst now = new Date();\n\t\tconst hours = date.getHours().toString().padStart(2, \"0\");\n\t\tconst minutes = date.getMinutes().toString().padStart(2, \"0\");\n\t\tconst time = `${hours}:${minutes}`;\n\n\t\tif (\n\t\t\tdate.getFullYear() === now.getFullYear() &&\n\t\t\tdate.getMonth() === now.getMonth() &&\n\t\t\tdate.getDate() === now.getDate()\n\t\t) {\n\t\t\treturn time;\n\t\t}\n\n\t\tconst month = date.getMonth() + 1;\n\t\tconst day = date.getDate();\n\t\tif (date.getFullYear() === now.getFullYear()) {\n\t\t\treturn `${month}/${day} ${time}`;\n\t\t}\n\n\t\tconst year = date.getFullYear().toString().slice(-2);\n\t\treturn `${year}/${month}/${day} ${time}`;\n\t}\n\n\tprivate extractContent(content: unknown): string {\n\t\tconst maxLen = 200;\n\t\tif (typeof content === \"string\") return content.slice(0, maxLen);\n\t\tif (Array.isArray(content)) {\n\t\t\tlet result = \"\";\n\t\t\tfor (const c of content) {\n\t\t\t\tif (typeof c === \"object\" && c !== null && \"type\" in c && c.type === \"text\") {\n\t\t\t\t\tresult += (c as { text: string }).text;\n\t\t\t\t\tif (result.length >= maxLen) return result.slice(0, maxLen);\n\t\t\t\t}\n\t\t\t}\n\t\t\treturn result;\n\t\t}\n\t\treturn \"\";\n\t}\n\n\tprivate hasTextContent(content: unknown): boolean {\n\t\tif (typeof content === \"string\") return content.trim().length > 0;\n\t\tif (Array.isArray(content)) {\n\t\t\tfor (const c of content) {\n\t\t\t\tif (typeof c === \"object\" && c !== null && \"type\" in c && c.type === \"text\") {\n\t\t\t\t\tconst text = (c as { text?: string }).text;\n\t\t\t\t\tif (text && text.trim().length > 0) return true;\n\t\t\t\t}\n\t\t\t}\n\t\t}\n\t\treturn false;\n\t}\n\n\tprivate formatToolCall(name: string, args: Record<string, unknown>): string {\n\t\tconst shortenPath = (p: string): string => {\n\t\t\tconst home = process.env.HOME || process.env.USERPROFILE || \"\";\n\t\t\tif (home && p.startsWith(home)) return `~${p.slice(home.length)}`;\n\t\t\treturn p;\n\t\t};\n\n\t\tswitch (name) {\n\t\t\tcase \"read\": {\n\t\t\t\tconst path = shortenPath(String(args.path || args.file_path || \"\"));\n\t\t\t\tconst offset = args.offset as number | undefined;\n\t\t\t\tconst limit = args.limit as number | undefined;\n\t\t\t\tlet display = path;\n\t\t\t\tif (offset !== undefined || limit !== undefined) {\n\t\t\t\t\tconst start = offset ?? 1;\n\t\t\t\t\tconst end = limit !== undefined ? start + limit - 1 : \"\";\n\t\t\t\t\tdisplay += `:${start}${end ? `-${end}` : \"\"}`;\n\t\t\t\t}\n\t\t\t\treturn `[read: ${display}]`;\n\t\t\t}\n\t\t\tcase \"write\": {\n\t\t\t\tconst path = shortenPath(String(args.path || args.file_path || \"\"));\n\t\t\t\treturn `[write: ${path}]`;\n\t\t\t}\n\t\t\tcase \"edit\": {\n\t\t\t\tconst path = shortenPath(String(args.path || args.file_path || \"\"));\n\t\t\t\treturn `[edit: ${path}]`;\n\t\t\t}\n\t\t\tcase \"bash\": {\n\t\t\t\tconst rawCmd = String(args.command || \"\");\n\t\t\t\tconst cmd = rawCmd\n\t\t\t\t\t.replace(/[\\n\\t]/g, \" \")\n\t\t\t\t\t.trim()\n\t\t\t\t\t.slice(0, 50);\n\t\t\t\treturn `[bash: ${cmd}${rawCmd.length > 50 ? \"...\" : \"\"}]`;\n\t\t\t}\n\t\t\tcase \"grep\": {\n\t\t\t\tconst pattern = String(args.pattern || \"\");\n\t\t\t\tconst path = shortenPath(String(args.path || \".\"));\n\t\t\t\treturn `[grep: /${pattern}/ in ${path}]`;\n\t\t\t}\n\t\t\tcase \"find\": {\n\t\t\t\tconst pattern = String(args.pattern || \"\");\n\t\t\t\tconst path = shortenPath(String(args.path || \".\"));\n\t\t\t\treturn `[find: ${pattern} in ${path}]`;\n\t\t\t}\n\t\t\tcase \"ls\": {\n\t\t\t\tconst path = shortenPath(String(args.path || \".\"));\n\t\t\t\treturn `[ls: ${path}]`;\n\t\t\t}\n\t\t\tdefault: {\n\t\t\t\t// Custom tool - show name and truncated JSON args\n\t\t\t\tconst argsStr = JSON.stringify(args).slice(0, 40);\n\t\t\t\treturn `[${name}: ${argsStr}${JSON.stringify(args).length > 40 ? \"...\" : \"\"}]`;\n\t\t\t}\n\t\t}\n\t}\n\n\thandleInput(keyData: string): void {\n\t\tconst kb = getKeybindings();\n\t\tif (kb.matches(keyData, \"tui.select.up\")) {\n\t\t\tthis.selectedIndex = this.selectedIndex === 0 ? this.filteredNodes.length - 1 : this.selectedIndex - 1;\n\t\t} else if (kb.matches(keyData, \"tui.select.down\")) {\n\t\t\tthis.selectedIndex = this.selectedIndex === this.filteredNodes.length - 1 ? 0 : this.selectedIndex + 1;\n\t\t} else if (kb.matches(keyData, \"app.tree.foldOrUp\")) {\n\t\t\tconst currentId = this.filteredNodes[this.selectedIndex]?.node.entry.id;\n\t\t\tif (currentId && this.isFoldable(currentId) && !this.foldedNodes.has(currentId)) {\n\t\t\t\tthis.foldedNodes.add(currentId);\n\t\t\t\tthis.applyFilter();\n\t\t\t} else {\n\t\t\t\tthis.selectedIndex = this.findBranchSegmentStart(\"up\");\n\t\t\t}\n\t\t} else if (kb.matches(keyData, \"app.tree.unfoldOrDown\")) {\n\t\t\tconst currentId = this.filteredNodes[this.selectedIndex]?.node.entry.id;\n\t\t\tif (currentId && this.foldedNodes.has(currentId)) {\n\t\t\t\tthis.foldedNodes.delete(currentId);\n\t\t\t\tthis.applyFilter();\n\t\t\t} else {\n\t\t\t\tthis.selectedIndex = this.findBranchSegmentStart(\"down\");\n\t\t\t}\n\t\t} else if (kb.matches(keyData, \"tui.editor.cursorLeft\") || kb.matches(keyData, \"tui.select.pageUp\")) {\n\t\t\t// Page up\n\t\t\tthis.selectedIndex = Math.max(0, this.selectedIndex - this.maxVisibleLines);\n\t\t} else if (kb.matches(keyData, \"tui.editor.cursorRight\") || kb.matches(keyData, \"tui.select.pageDown\")) {\n\t\t\t// Page down\n\t\t\tthis.selectedIndex = Math.min(this.filteredNodes.length - 1, this.selectedIndex + this.maxVisibleLines);\n\t\t} else if (kb.matches(keyData, \"tui.select.confirm\")) {\n\t\t\tconst selected = this.filteredNodes[this.selectedIndex];\n\t\t\tif (selected && this.onSelect) {\n\t\t\t\tthis.onSelect(selected.node.entry.id);\n\t\t\t}\n\t\t} else if (kb.matches(keyData, \"tui.select.cancel\")) {\n\t\t\tif (this.searchQuery) {\n\t\t\t\tthis.searchQuery = \"\";\n\t\t\t\tthis.foldedNodes.clear();\n\t\t\t\tthis.applyFilter();\n\t\t\t} else {\n\t\t\t\tthis.onCancel?.();\n\t\t\t}\n\t\t} else if (matchesKey(keyData, \"ctrl+d\")) {\n\t\t\t// Direct filter: default\n\t\t\tthis.filterMode = \"default\";\n\t\t\tthis.foldedNodes.clear();\n\t\t\tthis.applyFilter();\n\t\t} else if (matchesKey(keyData, \"ctrl+t\")) {\n\t\t\t// Toggle filter: no-tools ↔ default\n\t\t\tthis.filterMode = this.filterMode === \"no-tools\" ? \"default\" : \"no-tools\";\n\t\t\tthis.foldedNodes.clear();\n\t\t\tthis.applyFilter();\n\t\t} else if (matchesKey(keyData, \"ctrl+u\")) {\n\t\t\t// Toggle filter: user-only ↔ default\n\t\t\tthis.filterMode = this.filterMode === \"user-only\" ? \"default\" : \"user-only\";\n\t\t\tthis.foldedNodes.clear();\n\t\t\tthis.applyFilter();\n\t\t} else if (matchesKey(keyData, \"ctrl+l\")) {\n\t\t\t// Toggle filter: labeled-only ↔ default\n\t\t\tthis.filterMode = this.filterMode === \"labeled-only\" ? \"default\" : \"labeled-only\";\n\t\t\tthis.foldedNodes.clear();\n\t\t\tthis.applyFilter();\n\t\t} else if (matchesKey(keyData, \"ctrl+a\")) {\n\t\t\t// Toggle filter: all ↔ default\n\t\t\tthis.filterMode = this.filterMode === \"all\" ? \"default\" : \"all\";\n\t\t\tthis.foldedNodes.clear();\n\t\t\tthis.applyFilter();\n\t\t} else if (matchesKey(keyData, \"shift+ctrl+o\")) {\n\t\t\t// Cycle filter backwards\n\t\t\tconst modes: FilterMode[] = [\"default\", \"no-tools\", \"user-only\", \"labeled-only\", \"all\"];\n\t\t\tconst currentIndex = modes.indexOf(this.filterMode);\n\t\t\tthis.filterMode = modes[(currentIndex - 1 + modes.length) % modes.length];\n\t\t\tthis.foldedNodes.clear();\n\t\t\tthis.applyFilter();\n\t\t} else if (matchesKey(keyData, \"ctrl+o\")) {\n\t\t\t// Cycle filter forwards: default → no-tools → user-only → labeled-only → all → default\n\t\t\tconst modes: FilterMode[] = [\"default\", \"no-tools\", \"user-only\", \"labeled-only\", \"all\"];\n\t\t\tconst currentIndex = modes.indexOf(this.filterMode);\n\t\t\tthis.filterMode = modes[(currentIndex + 1) % modes.length];\n\t\t\tthis.foldedNodes.clear();\n\t\t\tthis.applyFilter();\n\t\t} else if (kb.matches(keyData, \"tui.editor.deleteCharBackward\")) {\n\t\t\tif (this.searchQuery.length > 0) {\n\t\t\t\tthis.searchQuery = this.searchQuery.slice(0, -1);\n\t\t\t\tthis.foldedNodes.clear();\n\t\t\t\tthis.applyFilter();\n\t\t\t}\n\t\t} else if (kb.matches(keyData, \"app.tree.editLabel\")) {\n\t\t\tconst selected = this.filteredNodes[this.selectedIndex];\n\t\t\tif (selected && this.onLabelEdit) {\n\t\t\t\tthis.onLabelEdit(selected.node.entry.id, selected.node.label);\n\t\t\t}\n\t\t} else if (kb.matches(keyData, \"app.tree.toggleLabelTimestamp\")) {\n\t\t\tthis.showLabelTimestamps = !this.showLabelTimestamps;\n\t\t} else {\n\t\t\tconst hasControlChars = [...keyData].some((ch) => {\n\t\t\t\tconst code = ch.charCodeAt(0);\n\t\t\t\treturn code < 32 || code === 0x7f || (code >= 0x80 && code <= 0x9f);\n\t\t\t});\n\t\t\tif (!hasControlChars && keyData.length > 0) {\n\t\t\t\tthis.searchQuery += keyData;\n\t\t\t\tthis.foldedNodes.clear();\n\t\t\t\tthis.applyFilter();\n\t\t\t}\n\t\t}\n\t}\n\n\t/**\n\t * Whether a node can be folded. A node is foldable if it has visible children\n\t * and is either a root (no visible parent) or a segment start (visible parent\n\t * has multiple visible children).\n\t */\n\tprivate isFoldable(entryId: string): boolean {\n\t\tconst children = this.visibleChildrenMap.get(entryId);\n\t\tif (!children || children.length === 0) return false;\n\t\tconst parentId = this.visibleParentMap.get(entryId);\n\t\tif (parentId === null || parentId === undefined) return true;\n\t\tconst siblings = this.visibleChildrenMap.get(parentId);\n\t\treturn siblings !== undefined && siblings.length > 1;\n\t}\n\n\t/**\n\t * Find the index of the next branch segment start in the given direction.\n\t * A segment start is the first child of a branch point.\n\t *\n\t * \"up\" walks the visible parent chain; \"down\" walks visible children\n\t * (always following the first child).\n\t */\n\tprivate findBranchSegmentStart(direction: \"up\" | \"down\"): number {\n\t\tconst selectedId = this.filteredNodes[this.selectedIndex]?.node.entry.id;\n\t\tif (!selectedId) return this.selectedIndex;\n\n\t\tconst indexByEntryId = new Map(this.filteredNodes.map((node, i) => [node.node.entry.id, i]));\n\t\tlet currentId: string = selectedId;\n\t\tif (direction === \"down\") {\n\t\t\twhile (true) {\n\t\t\t\tconst children: string[] = this.visibleChildrenMap.get(currentId) ?? [];\n\t\t\t\tif (children.length === 0) return indexByEntryId.get(currentId)!;\n\t\t\t\tif (children.length > 1) return indexByEntryId.get(children[0])!;\n\t\t\t\tcurrentId = children[0];\n\t\t\t}\n\t\t}\n\n\t\t// direction === \"up\"\n\t\twhile (true) {\n\t\t\tconst parentId: string | null = this.visibleParentMap.get(currentId) ?? null;\n\t\t\tif (parentId === null) return indexByEntryId.get(currentId)!;\n\t\t\tconst children = this.visibleChildrenMap.get(parentId) ?? [];\n\t\t\tif (children.length > 1) {\n\t\t\t\tconst segmentStart = indexByEntryId.get(currentId)!;\n\t\t\t\tif (segmentStart < this.selectedIndex) {\n\t\t\t\t\treturn segmentStart;\n\t\t\t\t}\n\t\t\t}\n\t\t\tcurrentId = parentId;\n\t\t}\n\t}\n}\n\n/** Component that displays the current search query */\nclass SearchLine implements Component {\n\tconstructor(private treeList: TreeList) {}\n\n\tinvalidate(): void {}\n\n\trender(width: number): string[] {\n\t\tconst query = this.treeList.getSearchQuery();\n\t\tif (query) {\n\t\t\treturn [truncateToWidth(` ${theme.fg(\"muted\", \"Type to search:\")} ${theme.fg(\"accent\", query)}`, width)];\n\t\t}\n\t\treturn [truncateToWidth(` ${theme.fg(\"muted\", \"Type to search:\")}`, width)];\n\t}\n\n\thandleInput(_keyData: string): void {}\n}\n\n/** Label input component shown when editing a label */\nclass LabelInput implements Component, Focusable {\n\tprivate input: Input;\n\tprivate entryId: string;\n\tpublic onSubmit?: (entryId: string, label: string | undefined) => void;\n\tpublic onCancel?: () => void;\n\n\t// Focusable implementation - propagate to input for IME cursor positioning\n\tprivate _focused = false;\n\tget focused(): boolean {\n\t\treturn this._focused;\n\t}\n\tset focused(value: boolean) {\n\t\tthis._focused = value;\n\t\tthis.input.focused = value;\n\t}\n\n\tconstructor(entryId: string, currentLabel: string | undefined) {\n\t\tthis.entryId = entryId;\n\t\tthis.input = new Input();\n\t\tif (currentLabel) {\n\t\t\tthis.input.setValue(currentLabel);\n\t\t}\n\t}\n\n\tinvalidate(): void {}\n\n\trender(width: number): string[] {\n\t\tconst lines: string[] = [];\n\t\tconst indent = \" \";\n\t\tconst availableWidth = width - indent.length;\n\t\tlines.push(truncateToWidth(`${indent}${theme.fg(\"muted\", \"Label (empty to remove):\")}`, width));\n\t\tlines.push(...this.input.render(availableWidth).map((line) => truncateToWidth(`${indent}${line}`, width)));\n\t\tlines.push(\n\t\t\ttruncateToWidth(\n\t\t\t\t`${indent}${keyHint(\"tui.select.confirm\", \"save\")} ${keyHint(\"tui.select.cancel\", \"cancel\")}`,\n\t\t\t\twidth,\n\t\t\t),\n\t\t);\n\t\treturn lines;\n\t}\n\n\thandleInput(keyData: string): void {\n\t\tconst kb = getKeybindings();\n\t\tif (kb.matches(keyData, \"tui.select.confirm\")) {\n\t\t\tconst value = this.input.getValue().trim();\n\t\t\tthis.onSubmit?.(this.entryId, value || undefined);\n\t\t} else if (kb.matches(keyData, \"tui.select.cancel\")) {\n\t\t\tthis.onCancel?.();\n\t\t} else {\n\t\t\tthis.input.handleInput(keyData);\n\t\t}\n\t}\n}\n\n/**\n * Component that renders a session tree selector for navigation\n */\nexport class TreeSelectorComponent extends Container implements Focusable {\n\tprivate treeList: TreeList;\n\tprivate labelInput: LabelInput | null = null;\n\tprivate labelInputContainer: Container;\n\tprivate treeContainer: Container;\n\tprivate onLabelChangeCallback?: (entryId: string, label: string | undefined) => void;\n\n\t// Focusable implementation - propagate to labelInput when active for IME cursor positioning\n\tprivate _focused = false;\n\tget focused(): boolean {\n\t\treturn this._focused;\n\t}\n\tset focused(value: boolean) {\n\t\tthis._focused = value;\n\t\t// Propagate to labelInput when it's active\n\t\tif (this.labelInput) {\n\t\t\tthis.labelInput.focused = value;\n\t\t}\n\t}\n\n\tconstructor(\n\t\ttree: SessionTreeNode[],\n\t\tcurrentLeafId: string | null,\n\t\tterminalHeight: number,\n\t\tonSelect: (entryId: string) => void,\n\t\tonCancel: () => void,\n\t\tonLabelChange?: (entryId: string, label: string | undefined) => void,\n\t\tinitialSelectedId?: string,\n\t\tinitialFilterMode?: FilterMode,\n\t) {\n\t\tsuper();\n\n\t\tthis.onLabelChangeCallback = onLabelChange;\n\t\tconst maxVisibleLines = Math.max(5, Math.floor(terminalHeight / 2));\n\n\t\tthis.treeList = new TreeList(tree, currentLeafId, maxVisibleLines, initialSelectedId, initialFilterMode);\n\t\tthis.treeList.onSelect = onSelect;\n\t\tthis.treeList.onCancel = onCancel;\n\t\tthis.treeList.onLabelEdit = (entryId, currentLabel) => this.showLabelInput(entryId, currentLabel);\n\n\t\tthis.treeContainer = new Container();\n\t\tthis.treeContainer.addChild(this.treeList);\n\n\t\tthis.labelInputContainer = new Container();\n\n\t\tthis.addChild(new Spacer(1));\n\t\tthis.addChild(new DynamicBorder());\n\t\tthis.addChild(new Text(theme.bold(\" Session Tree\"), 1, 0));\n\t\tthis.addChild(\n\t\t\tnew TruncatedText(\n\t\t\t\ttheme.fg(\n\t\t\t\t\t\"muted\",\n\t\t\t\t\t` ↑/↓: move. ←/→: page. ^←/^→ or Alt+←/Alt+→: fold/branch. ${keyText(\"app.tree.editLabel\")}: label. ^D/^T/^U/^L/^A: filters (^O/⇧^O cycle). ${keyText(\"app.tree.toggleLabelTimestamp\")}: label time`,\n\t\t\t\t),\n\t\t\t\t0,\n\t\t\t\t0,\n\t\t\t),\n\t\t);\n\t\tthis.addChild(new SearchLine(this.treeList));\n\t\tthis.addChild(new DynamicBorder());\n\t\tthis.addChild(new Spacer(1));\n\t\tthis.addChild(this.treeContainer);\n\t\tthis.addChild(this.labelInputContainer);\n\t\tthis.addChild(new Spacer(1));\n\t\tthis.addChild(new DynamicBorder());\n\n\t\tif (tree.length === 0) {\n\t\t\tsetTimeout(() => onCancel(), 100);\n\t\t}\n\t}\n\n\tprivate showLabelInput(entryId: string, currentLabel: string | undefined): void {\n\t\tthis.labelInput = new LabelInput(entryId, currentLabel);\n\t\tthis.labelInput.onSubmit = (id, label) => {\n\t\t\tthis.treeList.updateNodeLabel(id, label);\n\t\t\tthis.onLabelChangeCallback?.(id, label);\n\t\t\tthis.hideLabelInput();\n\t\t};\n\t\tthis.labelInput.onCancel = () => this.hideLabelInput();\n\n\t\t// Propagate current focused state to the new labelInput\n\t\tthis.labelInput.focused = this._focused;\n\n\t\tthis.treeContainer.clear();\n\t\tthis.labelInputContainer.clear();\n\t\tthis.labelInputContainer.addChild(this.labelInput);\n\t}\n\n\tprivate hideLabelInput(): void {\n\t\tthis.labelInput = null;\n\t\tthis.labelInputContainer.clear();\n\t\tthis.treeContainer.clear();\n\t\tthis.treeContainer.addChild(this.treeList);\n\t}\n\n\thandleInput(keyData: string): void {\n\t\tif (this.labelInput) {\n\t\t\tthis.labelInput.handleInput(keyData);\n\t\t} else {\n\t\t\tthis.treeList.handleInput(keyData);\n\t\t}\n\t}\n\n\tgetTreeList(): TreeList {\n\t\treturn this.treeList;\n\t}\n}\n"]}
@@ -1 +0,0 @@
1
- {"version":3,"file":"user-message-selector.d.ts","sourceRoot":"","sources":["../../../../src/modes/interactive/components/user-message-selector.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,KAAK,SAAS,EAAE,SAAS,EAAiD,MAAM,iBAAiB,CAAC;AAI3G,UAAU,eAAe;IACxB,EAAE,EAAE,MAAM,CAAC;IACX,IAAI,EAAE,MAAM,CAAC;IACb,SAAS,CAAC,EAAE,MAAM,CAAC;CACnB;AAED;;GAEG;AACH,cAAM,eAAgB,YAAW,SAAS;IACzC,OAAO,CAAC,QAAQ,CAAyB;IACzC,OAAO,CAAC,aAAa,CAAa;IAC3B,QAAQ,CAAC,EAAE,CAAC,OAAO,EAAE,MAAM,KAAK,IAAI,CAAC;IACrC,QAAQ,CAAC,EAAE,MAAM,IAAI,CAAC;IAC7B,OAAO,CAAC,UAAU,CAAc;IAEhC,YAAY,QAAQ,EAAE,eAAe,EAAE,EAKtC;IAED,UAAU,IAAI,IAAI,CAEjB;IAED,MAAM,CAAC,KAAK,EAAE,MAAM,GAAG,MAAM,EAAE,CA8C9B;IAED,WAAW,CAAC,OAAO,EAAE,MAAM,GAAG,IAAI,CAuBjC;CACD;AAED;;GAEG;AACH,qBAAa,4BAA6B,SAAQ,SAAS;IAC1D,OAAO,CAAC,WAAW,CAAkB;IAErC,YAAY,QAAQ,EAAE,eAAe,EAAE,EAAE,QAAQ,EAAE,CAAC,OAAO,EAAE,MAAM,KAAK,IAAI,EAAE,QAAQ,EAAE,MAAM,IAAI,EA0BjG;IAED,cAAc,IAAI,eAAe,CAEhC;CACD","sourcesContent":["import { type Component, Container, getKeybindings, Spacer, Text, truncateToWidth } from \"@orient-cli/tui\";\nimport { theme } from \"../theme/theme.js\";\nimport { DynamicBorder } from \"./dynamic-border.js\";\n\ninterface UserMessageItem {\n\tid: string; // Entry ID in the session\n\ttext: string; // The message text\n\ttimestamp?: string; // Optional timestamp if available\n}\n\n/**\n * Custom user message list component with selection\n */\nclass UserMessageList implements Component {\n\tprivate messages: UserMessageItem[] = [];\n\tprivate selectedIndex: number = 0;\n\tpublic onSelect?: (entryId: string) => void;\n\tpublic onCancel?: () => void;\n\tprivate maxVisible: number = 10; // Max messages visible\n\n\tconstructor(messages: UserMessageItem[]) {\n\t\t// Store messages in chronological order (oldest to newest)\n\t\tthis.messages = messages;\n\t\t// Start with the last (most recent) message selected\n\t\tthis.selectedIndex = Math.max(0, messages.length - 1);\n\t}\n\n\tinvalidate(): void {\n\t\t// No cached state to invalidate currently\n\t}\n\n\trender(width: number): string[] {\n\t\tconst lines: string[] = [];\n\n\t\tif (this.messages.length === 0) {\n\t\t\tlines.push(theme.fg(\"muted\", \" No user messages found\"));\n\t\t\treturn lines;\n\t\t}\n\n\t\t// Calculate visible range with scrolling\n\t\tconst startIndex = Math.max(\n\t\t\t0,\n\t\t\tMath.min(this.selectedIndex - Math.floor(this.maxVisible / 2), this.messages.length - this.maxVisible),\n\t\t);\n\t\tconst endIndex = Math.min(startIndex + this.maxVisible, this.messages.length);\n\n\t\t// Render visible messages (2 lines per message + blank line)\n\t\tfor (let i = startIndex; i < endIndex; i++) {\n\t\t\tconst message = this.messages[i];\n\t\t\tconst isSelected = i === this.selectedIndex;\n\n\t\t\t// Normalize message to single line\n\t\t\tconst normalizedMessage = message.text.replace(/\\n/g, \" \").trim();\n\n\t\t\t// First line: cursor + message\n\t\t\tconst cursor = isSelected ? theme.fg(\"accent\", \"› \") : \" \";\n\t\t\tconst maxMsgWidth = width - 2; // Account for cursor (2 chars)\n\t\t\tconst truncatedMsg = truncateToWidth(normalizedMessage, maxMsgWidth);\n\t\t\tconst messageLine = cursor + (isSelected ? theme.bold(truncatedMsg) : truncatedMsg);\n\n\t\t\tlines.push(messageLine);\n\n\t\t\t// Second line: metadata (position in history)\n\t\t\tconst position = i + 1;\n\t\t\tconst metadata = ` Message ${position} of ${this.messages.length}`;\n\t\t\tconst metadataLine = theme.fg(\"muted\", metadata);\n\t\t\tlines.push(metadataLine);\n\t\t\tlines.push(\"\"); // Blank line between messages\n\t\t}\n\n\t\t// Add scroll indicator if needed\n\t\tif (startIndex > 0 || endIndex < this.messages.length) {\n\t\t\tconst scrollInfo = theme.fg(\"muted\", ` (${this.selectedIndex + 1}/${this.messages.length})`);\n\t\t\tlines.push(scrollInfo);\n\t\t}\n\n\t\treturn lines;\n\t}\n\n\thandleInput(keyData: string): void {\n\t\tconst kb = getKeybindings();\n\t\t// Up arrow - go to previous (older) message, wrap to bottom when at top\n\t\tif (kb.matches(keyData, \"tui.select.up\")) {\n\t\t\tthis.selectedIndex = this.selectedIndex === 0 ? this.messages.length - 1 : this.selectedIndex - 1;\n\t\t}\n\t\t// Down arrow - go to next (newer) message, wrap to top when at bottom\n\t\telse if (kb.matches(keyData, \"tui.select.down\")) {\n\t\t\tthis.selectedIndex = this.selectedIndex === this.messages.length - 1 ? 0 : this.selectedIndex + 1;\n\t\t}\n\t\t// Enter - select message and branch\n\t\telse if (kb.matches(keyData, \"tui.select.confirm\")) {\n\t\t\tconst selected = this.messages[this.selectedIndex];\n\t\t\tif (selected && this.onSelect) {\n\t\t\t\tthis.onSelect(selected.id);\n\t\t\t}\n\t\t}\n\t\t// Escape - cancel\n\t\telse if (kb.matches(keyData, \"tui.select.cancel\")) {\n\t\t\tif (this.onCancel) {\n\t\t\t\tthis.onCancel();\n\t\t\t}\n\t\t}\n\t}\n}\n\n/**\n * Component that renders a user message selector for branching\n */\nexport class UserMessageSelectorComponent extends Container {\n\tprivate messageList: UserMessageList;\n\n\tconstructor(messages: UserMessageItem[], onSelect: (entryId: string) => void, onCancel: () => void) {\n\t\tsuper();\n\n\t\t// Add header\n\t\tthis.addChild(new Spacer(1));\n\t\tthis.addChild(new Text(theme.bold(\"Branch from Message\"), 1, 0));\n\t\tthis.addChild(new Text(theme.fg(\"muted\", \"Select a message to create a new branch from that point\"), 1, 0));\n\t\tthis.addChild(new Spacer(1));\n\t\tthis.addChild(new DynamicBorder());\n\t\tthis.addChild(new Spacer(1));\n\n\t\t// Create message list\n\t\tthis.messageList = new UserMessageList(messages);\n\t\tthis.messageList.onSelect = onSelect;\n\t\tthis.messageList.onCancel = onCancel;\n\n\t\tthis.addChild(this.messageList);\n\n\t\t// Add bottom border\n\t\tthis.addChild(new Spacer(1));\n\t\tthis.addChild(new DynamicBorder());\n\n\t\t// Auto-cancel if no messages\n\t\tif (messages.length === 0) {\n\t\t\tsetTimeout(() => onCancel(), 100);\n\t\t}\n\t}\n\n\tgetMessageList(): UserMessageList {\n\t\treturn this.messageList;\n\t}\n}\n"]}
@@ -1,113 +0,0 @@
1
- import { Container, getKeybindings, Spacer, Text, truncateToWidth } from "@orient-cli/tui";
2
- import { theme } from "../theme/theme.js";
3
- import { DynamicBorder } from "./dynamic-border.js";
4
- /**
5
- * Custom user message list component with selection
6
- */
7
- class UserMessageList {
8
- messages = [];
9
- selectedIndex = 0;
10
- onSelect;
11
- onCancel;
12
- maxVisible = 10; // Max messages visible
13
- constructor(messages) {
14
- // Store messages in chronological order (oldest to newest)
15
- this.messages = messages;
16
- // Start with the last (most recent) message selected
17
- this.selectedIndex = Math.max(0, messages.length - 1);
18
- }
19
- invalidate() {
20
- // No cached state to invalidate currently
21
- }
22
- render(width) {
23
- const lines = [];
24
- if (this.messages.length === 0) {
25
- lines.push(theme.fg("muted", " No user messages found"));
26
- return lines;
27
- }
28
- // Calculate visible range with scrolling
29
- const startIndex = Math.max(0, Math.min(this.selectedIndex - Math.floor(this.maxVisible / 2), this.messages.length - this.maxVisible));
30
- const endIndex = Math.min(startIndex + this.maxVisible, this.messages.length);
31
- // Render visible messages (2 lines per message + blank line)
32
- for (let i = startIndex; i < endIndex; i++) {
33
- const message = this.messages[i];
34
- const isSelected = i === this.selectedIndex;
35
- // Normalize message to single line
36
- const normalizedMessage = message.text.replace(/\n/g, " ").trim();
37
- // First line: cursor + message
38
- const cursor = isSelected ? theme.fg("accent", "› ") : " ";
39
- const maxMsgWidth = width - 2; // Account for cursor (2 chars)
40
- const truncatedMsg = truncateToWidth(normalizedMessage, maxMsgWidth);
41
- const messageLine = cursor + (isSelected ? theme.bold(truncatedMsg) : truncatedMsg);
42
- lines.push(messageLine);
43
- // Second line: metadata (position in history)
44
- const position = i + 1;
45
- const metadata = ` Message ${position} of ${this.messages.length}`;
46
- const metadataLine = theme.fg("muted", metadata);
47
- lines.push(metadataLine);
48
- lines.push(""); // Blank line between messages
49
- }
50
- // Add scroll indicator if needed
51
- if (startIndex > 0 || endIndex < this.messages.length) {
52
- const scrollInfo = theme.fg("muted", ` (${this.selectedIndex + 1}/${this.messages.length})`);
53
- lines.push(scrollInfo);
54
- }
55
- return lines;
56
- }
57
- handleInput(keyData) {
58
- const kb = getKeybindings();
59
- // Up arrow - go to previous (older) message, wrap to bottom when at top
60
- if (kb.matches(keyData, "tui.select.up")) {
61
- this.selectedIndex = this.selectedIndex === 0 ? this.messages.length - 1 : this.selectedIndex - 1;
62
- }
63
- // Down arrow - go to next (newer) message, wrap to top when at bottom
64
- else if (kb.matches(keyData, "tui.select.down")) {
65
- this.selectedIndex = this.selectedIndex === this.messages.length - 1 ? 0 : this.selectedIndex + 1;
66
- }
67
- // Enter - select message and branch
68
- else if (kb.matches(keyData, "tui.select.confirm")) {
69
- const selected = this.messages[this.selectedIndex];
70
- if (selected && this.onSelect) {
71
- this.onSelect(selected.id);
72
- }
73
- }
74
- // Escape - cancel
75
- else if (kb.matches(keyData, "tui.select.cancel")) {
76
- if (this.onCancel) {
77
- this.onCancel();
78
- }
79
- }
80
- }
81
- }
82
- /**
83
- * Component that renders a user message selector for branching
84
- */
85
- export class UserMessageSelectorComponent extends Container {
86
- messageList;
87
- constructor(messages, onSelect, onCancel) {
88
- super();
89
- // Add header
90
- this.addChild(new Spacer(1));
91
- this.addChild(new Text(theme.bold("Branch from Message"), 1, 0));
92
- this.addChild(new Text(theme.fg("muted", "Select a message to create a new branch from that point"), 1, 0));
93
- this.addChild(new Spacer(1));
94
- this.addChild(new DynamicBorder());
95
- this.addChild(new Spacer(1));
96
- // Create message list
97
- this.messageList = new UserMessageList(messages);
98
- this.messageList.onSelect = onSelect;
99
- this.messageList.onCancel = onCancel;
100
- this.addChild(this.messageList);
101
- // Add bottom border
102
- this.addChild(new Spacer(1));
103
- this.addChild(new DynamicBorder());
104
- // Auto-cancel if no messages
105
- if (messages.length === 0) {
106
- setTimeout(() => onCancel(), 100);
107
- }
108
- }
109
- getMessageList() {
110
- return this.messageList;
111
- }
112
- }
113
- //# sourceMappingURL=user-message-selector.js.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"user-message-selector.js","sourceRoot":"","sources":["../../../../src/modes/interactive/components/user-message-selector.ts"],"names":[],"mappings":"AAAA,OAAO,EAAkB,SAAS,EAAE,cAAc,EAAE,MAAM,EAAE,IAAI,EAAE,eAAe,EAAE,MAAM,iBAAiB,CAAC;AAC3G,OAAO,EAAE,KAAK,EAAE,MAAM,mBAAmB,CAAC;AAC1C,OAAO,EAAE,aAAa,EAAE,MAAM,qBAAqB,CAAC;AAQpD;;GAEG;AACH,MAAM,eAAe;IACZ,QAAQ,GAAsB,EAAE,CAAC;IACjC,aAAa,GAAW,CAAC,CAAC;IAC3B,QAAQ,CAA6B;IACrC,QAAQ,CAAc;IACrB,UAAU,GAAW,EAAE,CAAC,CAAC,uBAAuB;IAExD,YAAY,QAA2B,EAAE;QACxC,2DAA2D;QAC3D,IAAI,CAAC,QAAQ,GAAG,QAAQ,CAAC;QACzB,qDAAqD;QACrD,IAAI,CAAC,aAAa,GAAG,IAAI,CAAC,GAAG,CAAC,CAAC,EAAE,QAAQ,CAAC,MAAM,GAAG,CAAC,CAAC,CAAC;IAAA,CACtD;IAED,UAAU,GAAS;QAClB,0CAA0C;IADvB,CAEnB;IAED,MAAM,CAAC,KAAa,EAAY;QAC/B,MAAM,KAAK,GAAa,EAAE,CAAC;QAE3B,IAAI,IAAI,CAAC,QAAQ,CAAC,MAAM,KAAK,CAAC,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CAAC,CAAC,CAAC;QAC5G,IAAI,CAAC,QAAQ,CAAC,IAAI,MAAM,CAAC,CAAC,CAAC,CAAC,CAAC;QAC7B,IAAI,CAAC,QAAQ,CAAC,IAAI,aAAa,EAAE,CAAC,CAAC;QACnC,IAAI,CAAC,QAAQ,CAAC,IAAI,MAAM,CAAC,CAAC,CAAC,CAAC,CAAC;QAE7B,sBAAsB;QACtB,IAAI,CAAC,WAAW,GAAG,IAAI,eAAe,CAAC,QAAQ,CAAC,CAAC;QACjD,IAAI,CAAC,WAAW,CAAC,QAAQ,GAAG,QAAQ,CAAC;QACrC,IAAI,CAAC,WAAW,CAAC,QAAQ,GAAG,QAAQ,CAAC;QAErC,IAAI,CAAC,QAAQ,CAAC,IAAI,CAAC,WAAW,CAAC,CAAC;QAEhC,oBAAoB;QACpB,IAAI,CAAC,QAAQ,CAAC,IAAI,MAAM,CAAC,CAAC,CAAC,CAAC,CAAC;QAC7B,IAAI,CAAC,QAAQ,CAAC,IAAI,aAAa,EAAE,CAAC,CAAC;QAEnC,6BAA6B;QAC7B,IAAI,QAAQ,CAAC,MAAM,KAAK,CAAC,EAAE,CAAC;YAC3B,UAAU,CAAC,GAAG,EAAE,CAAC,QAAQ,EAAE,EAAE,GAAG,CAAC,CAAC;QACnC,CAAC;IAAA,CACD;IAED,cAAc,GAAoB;QACjC,OAAO,IAAI,CAAC,WAAW,CAAC;IAAA,CACxB;CACD","sourcesContent":["import { type Component, Container, getKeybindings, Spacer, Text, truncateToWidth } from \"@orient-cli/tui\";\nimport { theme } from \"../theme/theme.js\";\nimport { DynamicBorder } from \"./dynamic-border.js\";\n\ninterface UserMessageItem {\n\tid: string; // Entry ID in the session\n\ttext: string; // The message text\n\ttimestamp?: string; // Optional timestamp if available\n}\n\n/**\n * Custom user message list component with selection\n */\nclass UserMessageList implements Component {\n\tprivate messages: UserMessageItem[] = [];\n\tprivate selectedIndex: number = 0;\n\tpublic onSelect?: (entryId: string) => void;\n\tpublic onCancel?: () => void;\n\tprivate maxVisible: number = 10; // Max messages visible\n\n\tconstructor(messages: UserMessageItem[]) {\n\t\t// Store messages in chronological order (oldest to newest)\n\t\tthis.messages = messages;\n\t\t// Start with the last (most recent) message selected\n\t\tthis.selectedIndex = Math.max(0, messages.length - 1);\n\t}\n\n\tinvalidate(): void {\n\t\t// No cached state to invalidate currently\n\t}\n\n\trender(width: number): string[] {\n\t\tconst lines: string[] = [];\n\n\t\tif (this.messages.length === 0) {\n\t\t\tlines.push(theme.fg(\"muted\", \" No user messages found\"));\n\t\t\treturn lines;\n\t\t}\n\n\t\t// Calculate visible range with scrolling\n\t\tconst startIndex = Math.max(\n\t\t\t0,\n\t\t\tMath.min(this.selectedIndex - Math.floor(this.maxVisible / 2), this.messages.length - this.maxVisible),\n\t\t);\n\t\tconst endIndex = Math.min(startIndex + this.maxVisible, this.messages.length);\n\n\t\t// Render visible messages (2 lines per message + blank line)\n\t\tfor (let i = startIndex; i < endIndex; i++) {\n\t\t\tconst message = this.messages[i];\n\t\t\tconst isSelected = i === this.selectedIndex;\n\n\t\t\t// Normalize message to single line\n\t\t\tconst normalizedMessage = message.text.replace(/\\n/g, \" \").trim();\n\n\t\t\t// First line: cursor + message\n\t\t\tconst cursor = isSelected ? theme.fg(\"accent\", \"› \") : \" \";\n\t\t\tconst maxMsgWidth = width - 2; // Account for cursor (2 chars)\n\t\t\tconst truncatedMsg = truncateToWidth(normalizedMessage, maxMsgWidth);\n\t\t\tconst messageLine = cursor + (isSelected ? theme.bold(truncatedMsg) : truncatedMsg);\n\n\t\t\tlines.push(messageLine);\n\n\t\t\t// Second line: metadata (position in history)\n\t\t\tconst position = i + 1;\n\t\t\tconst metadata = ` Message ${position} of ${this.messages.length}`;\n\t\t\tconst metadataLine = theme.fg(\"muted\", metadata);\n\t\t\tlines.push(metadataLine);\n\t\t\tlines.push(\"\"); // Blank line between messages\n\t\t}\n\n\t\t// Add scroll indicator if needed\n\t\tif (startIndex > 0 || endIndex < this.messages.length) {\n\t\t\tconst scrollInfo = theme.fg(\"muted\", ` (${this.selectedIndex + 1}/${this.messages.length})`);\n\t\t\tlines.push(scrollInfo);\n\t\t}\n\n\t\treturn lines;\n\t}\n\n\thandleInput(keyData: string): void {\n\t\tconst kb = getKeybindings();\n\t\t// Up arrow - go to previous (older) message, wrap to bottom when at top\n\t\tif (kb.matches(keyData, \"tui.select.up\")) {\n\t\t\tthis.selectedIndex = this.selectedIndex === 0 ? this.messages.length - 1 : this.selectedIndex - 1;\n\t\t}\n\t\t// Down arrow - go to next (newer) message, wrap to top when at bottom\n\t\telse if (kb.matches(keyData, \"tui.select.down\")) {\n\t\t\tthis.selectedIndex = this.selectedIndex === this.messages.length - 1 ? 0 : this.selectedIndex + 1;\n\t\t}\n\t\t// Enter - select message and branch\n\t\telse if (kb.matches(keyData, \"tui.select.confirm\")) {\n\t\t\tconst selected = this.messages[this.selectedIndex];\n\t\t\tif (selected && this.onSelect) {\n\t\t\t\tthis.onSelect(selected.id);\n\t\t\t}\n\t\t}\n\t\t// Escape - cancel\n\t\telse if (kb.matches(keyData, \"tui.select.cancel\")) {\n\t\t\tif (this.onCancel) {\n\t\t\t\tthis.onCancel();\n\t\t\t}\n\t\t}\n\t}\n}\n\n/**\n * Component that renders a user message selector for branching\n */\nexport class UserMessageSelectorComponent extends Container {\n\tprivate messageList: UserMessageList;\n\n\tconstructor(messages: UserMessageItem[], onSelect: (entryId: string) => void, onCancel: () => void) {\n\t\tsuper();\n\n\t\t// Add header\n\t\tthis.addChild(new Spacer(1));\n\t\tthis.addChild(new Text(theme.bold(\"Branch from Message\"), 1, 0));\n\t\tthis.addChild(new Text(theme.fg(\"muted\", \"Select a message to create a new branch from that point\"), 1, 0));\n\t\tthis.addChild(new Spacer(1));\n\t\tthis.addChild(new DynamicBorder());\n\t\tthis.addChild(new Spacer(1));\n\n\t\t// Create message list\n\t\tthis.messageList = new UserMessageList(messages);\n\t\tthis.messageList.onSelect = onSelect;\n\t\tthis.messageList.onCancel = onCancel;\n\n\t\tthis.addChild(this.messageList);\n\n\t\t// Add bottom border\n\t\tthis.addChild(new Spacer(1));\n\t\tthis.addChild(new DynamicBorder());\n\n\t\t// Auto-cancel if no messages\n\t\tif (messages.length === 0) {\n\t\t\tsetTimeout(() => onCancel(), 100);\n\t\t}\n\t}\n\n\tgetMessageList(): UserMessageList {\n\t\treturn this.messageList;\n\t}\n}\n"]}
@@ -1 +0,0 @@
1
- {"version":3,"file":"user-message.d.ts","sourceRoot":"","sources":["../../../../src/modes/interactive/components/user-message.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,SAAS,EAAY,KAAK,aAAa,EAAU,MAAM,iBAAiB,CAAC;AAOlF;;GAEG;AACH,qBAAa,oBAAqB,SAAQ,SAAS;IAClD,YAAY,IAAI,EAAE,MAAM,EAAE,aAAa,GAAE,aAAkC,EAS1E;IAEQ,MAAM,CAAC,KAAK,EAAE,MAAM,GAAG,MAAM,EAAE,CASvC;CACD","sourcesContent":["import { Container, Markdown, type MarkdownTheme, Spacer } from \"@orient-cli/tui\";\nimport { getMarkdownTheme, theme } from \"../theme/theme.js\";\n\nconst OSC133_ZONE_START = \"\\x1b]133;A\\x07\";\nconst OSC133_ZONE_END = \"\\x1b]133;B\\x07\";\nconst OSC133_ZONE_FINAL = \"\\x1b]133;C\\x07\";\n\n/**\n * Component that renders a user message\n */\nexport class UserMessageComponent extends Container {\n\tconstructor(text: string, markdownTheme: MarkdownTheme = getMarkdownTheme()) {\n\t\tsuper();\n\t\tthis.addChild(new Spacer(1));\n\t\tthis.addChild(\n\t\t\tnew Markdown(text, 1, 1, markdownTheme, {\n\t\t\t\tbgColor: (text: string) => theme.bg(\"userMessageBg\", text),\n\t\t\t\tcolor: (text: string) => theme.fg(\"userMessageText\", text),\n\t\t\t}),\n\t\t);\n\t}\n\n\toverride render(width: number): string[] {\n\t\tconst lines = super.render(width);\n\t\tif (lines.length === 0) {\n\t\t\treturn lines;\n\t\t}\n\n\t\tlines[0] = OSC133_ZONE_START + lines[0];\n\t\tlines[lines.length - 1] = lines[lines.length - 1] + OSC133_ZONE_END + OSC133_ZONE_FINAL;\n\t\treturn lines;\n\t}\n}\n"]}
@@ -1 +0,0 @@
1
- {"version":3,"file":"user-message.js","sourceRoot":"","sources":["../../../../src/modes/interactive/components/user-message.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,SAAS,EAAE,QAAQ,EAAsB,MAAM,EAAE,MAAM,iBAAiB,CAAC;AAClF,OAAO,EAAE,gBAAgB,EAAE,KAAK,EAAE,MAAM,mBAAmB,CAAC;AAE5D,MAAM,iBAAiB,GAAG,gBAAgB,CAAC;AAC3C,MAAM,eAAe,GAAG,gBAAgB,CAAC;AACzC,MAAM,iBAAiB,GAAG,gBAAgB,CAAC;AAE3C;;GAEG;AACH,MAAM,OAAO,oBAAqB,SAAQ,SAAS;IAClD,YAAY,IAAY,EAAE,aAAa,GAAkB,gBAAgB,EAAE,EAAE;QAC5E,KAAK,EAAE,CAAC;QACR,IAAI,CAAC,QAAQ,CAAC,IAAI,MAAM,CAAC,CAAC,CAAC,CAAC,CAAC;QAC7B,IAAI,CAAC,QAAQ,CACZ,IAAI,QAAQ,CAAC,IAAI,EAAE,CAAC,EAAE,CAAC,EAAE,aAAa,EAAE;YACvC,OAAO,EAAE,CAAC,IAAY,EAAE,EAAE,CAAC,KAAK,CAAC,EAAE,CAAC,eAAe,EAAE,IAAI,CAAC;YAC1D,KAAK,EAAE,CAAC,IAAY,EAAE,EAAE,CAAC,KAAK,CAAC,EAAE,CAAC,iBAAiB,EAAE,IAAI,CAAC;SAC1D,CAAC,CACF,CAAC;IAAA,CACF;IAEQ,MAAM,CAAC,KAAa,EAAY;QACxC,MAAM,KAAK,GAAG,KAAK,CAAC,MAAM,CAAC,KAAK,CAAC,CAAC;QAClC,IAAI,KAAK,CAAC,MAAM,KAAK,CAAC,EAAE,CAAC;YACxB,OAAO,KAAK,CAAC;QACd,CAAC;QAED,KAAK,CAAC,CAAC,CAAC,GAAG,iBAAiB,GAAG,KAAK,CAAC,CAAC,CAAC,CAAC;QACxC,KAAK,CAAC,KAAK,CAAC,MAAM,GAAG,CAAC,CAAC,GAAG,KAAK,CAAC,KAAK,CAAC,MAAM,GAAG,CAAC,CAAC,GAAG,eAAe,GAAG,iBAAiB,CAAC;QACxF,OAAO,KAAK,CAAC;IAAA,CACb;CACD","sourcesContent":["import { Container, Markdown, type MarkdownTheme, Spacer } from \"@orient-cli/tui\";\nimport { getMarkdownTheme, theme } from \"../theme/theme.js\";\n\nconst OSC133_ZONE_START = \"\\x1b]133;A\\x07\";\nconst OSC133_ZONE_END = \"\\x1b]133;B\\x07\";\nconst OSC133_ZONE_FINAL = \"\\x1b]133;C\\x07\";\n\n/**\n * Component that renders a user message\n */\nexport class UserMessageComponent extends Container {\n\tconstructor(text: string, markdownTheme: MarkdownTheme = getMarkdownTheme()) {\n\t\tsuper();\n\t\tthis.addChild(new Spacer(1));\n\t\tthis.addChild(\n\t\t\tnew Markdown(text, 1, 1, markdownTheme, {\n\t\t\t\tbgColor: (text: string) => theme.bg(\"userMessageBg\", text),\n\t\t\t\tcolor: (text: string) => theme.fg(\"userMessageText\", text),\n\t\t\t}),\n\t\t);\n\t}\n\n\toverride render(width: number): string[] {\n\t\tconst lines = super.render(width);\n\t\tif (lines.length === 0) {\n\t\t\treturn lines;\n\t\t}\n\n\t\tlines[0] = OSC133_ZONE_START + lines[0];\n\t\tlines[lines.length - 1] = lines[lines.length - 1] + OSC133_ZONE_END + OSC133_ZONE_FINAL;\n\t\treturn lines;\n\t}\n}\n"]}
@@ -1 +0,0 @@
1
- {"version":3,"file":"visual-truncate.d.ts","sourceRoot":"","sources":["../../../../src/modes/interactive/components/visual-truncate.ts"],"names":[],"mappings":"AAAA;;;GAGG;AAIH,MAAM,WAAW,oBAAoB;IACpC,kCAAkC;IAClC,WAAW,EAAE,MAAM,EAAE,CAAC;IACtB,wDAAwD;IACxD,YAAY,EAAE,MAAM,CAAC;CACrB;AAED;;;;;;;;;;;GAWG;AACH,wBAAgB,qBAAqB,CACpC,IAAI,EAAE,MAAM,EACZ,cAAc,EAAE,MAAM,EACtB,KAAK,EAAE,MAAM,EACb,QAAQ,GAAE,MAAU,GAClB,oBAAoB,CAkBtB","sourcesContent":["/**\n * Shared utility for truncating text to visual lines (accounting for line wrapping).\n * Used by both tool-execution.ts and bash-execution.ts for consistent behavior.\n */\n\nimport { Text } from \"@orient-cli/tui\";\n\nexport interface VisualTruncateResult {\n\t/** The visual lines to display */\n\tvisualLines: string[];\n\t/** Number of visual lines that were skipped (hidden) */\n\tskippedCount: number;\n}\n\n/**\n * Truncate text to a maximum number of visual lines (from the end).\n * This accounts for line wrapping based on terminal width.\n *\n * @param text - The text content (may contain newlines)\n * @param maxVisualLines - Maximum number of visual lines to show\n * @param width - Terminal/render width\n * @param paddingX - Horizontal padding for Text component (default 0).\n * Use 0 when result will be placed in a Box (Box adds its own padding).\n * Use 1 when result will be placed in a plain Container.\n * @returns The truncated visual lines and count of skipped lines\n */\nexport function truncateToVisualLines(\n\ttext: string,\n\tmaxVisualLines: number,\n\twidth: number,\n\tpaddingX: number = 0,\n): VisualTruncateResult {\n\tif (!text) {\n\t\treturn { visualLines: [], skippedCount: 0 };\n\t}\n\n\t// Create a temporary Text component to render and get visual lines\n\tconst tempText = new Text(text, paddingX, 0);\n\tconst allVisualLines = tempText.render(width);\n\n\tif (allVisualLines.length <= maxVisualLines) {\n\t\treturn { visualLines: allVisualLines, skippedCount: 0 };\n\t}\n\n\t// Take the last N visual lines\n\tconst truncatedLines = allVisualLines.slice(-maxVisualLines);\n\tconst skippedCount = allVisualLines.length - maxVisualLines;\n\n\treturn { visualLines: truncatedLines, skippedCount };\n}\n"]}
@@ -1 +0,0 @@
1
- {"version":3,"file":"visual-truncate.js","sourceRoot":"","sources":["../../../../src/modes/interactive/components/visual-truncate.ts"],"names":[],"mappings":"AAAA;;;GAGG;AAEH,OAAO,EAAE,IAAI,EAAE,MAAM,iBAAiB,CAAC;AASvC;;;;;;;;;;;GAWG;AACH,MAAM,UAAU,qBAAqB,CACpC,IAAY,EACZ,cAAsB,EACtB,KAAa,EACb,QAAQ,GAAW,CAAC,EACG;IACvB,IAAI,CAAC,IAAI,EAAE,CAAC;QACX,OAAO,EAAE,WAAW,EAAE,EAAE,EAAE,YAAY,EAAE,CAAC,EAAE,CAAC;IAC7C,CAAC;IAED,mEAAmE;IACnE,MAAM,QAAQ,GAAG,IAAI,IAAI,CAAC,IAAI,EAAE,QAAQ,EAAE,CAAC,CAAC,CAAC;IAC7C,MAAM,cAAc,GAAG,QAAQ,CAAC,MAAM,CAAC,KAAK,CAAC,CAAC;IAE9C,IAAI,cAAc,CAAC,MAAM,IAAI,cAAc,EAAE,CAAC;QAC7C,OAAO,EAAE,WAAW,EAAE,cAAc,EAAE,YAAY,EAAE,CAAC,EAAE,CAAC;IACzD,CAAC;IAED,+BAA+B;IAC/B,MAAM,cAAc,GAAG,cAAc,CAAC,KAAK,CAAC,CAAC,cAAc,CAAC,CAAC;IAC7D,MAAM,YAAY,GAAG,cAAc,CAAC,MAAM,GAAG,cAAc,CAAC;IAE5D,OAAO,EAAE,WAAW,EAAE,cAAc,EAAE,YAAY,EAAE,CAAC;AAAA,CACrD","sourcesContent":["/**\n * Shared utility for truncating text to visual lines (accounting for line wrapping).\n * Used by both tool-execution.ts and bash-execution.ts for consistent behavior.\n */\n\nimport { Text } from \"@orient-cli/tui\";\n\nexport interface VisualTruncateResult {\n\t/** The visual lines to display */\n\tvisualLines: string[];\n\t/** Number of visual lines that were skipped (hidden) */\n\tskippedCount: number;\n}\n\n/**\n * Truncate text to a maximum number of visual lines (from the end).\n * This accounts for line wrapping based on terminal width.\n *\n * @param text - The text content (may contain newlines)\n * @param maxVisualLines - Maximum number of visual lines to show\n * @param width - Terminal/render width\n * @param paddingX - Horizontal padding for Text component (default 0).\n * Use 0 when result will be placed in a Box (Box adds its own padding).\n * Use 1 when result will be placed in a plain Container.\n * @returns The truncated visual lines and count of skipped lines\n */\nexport function truncateToVisualLines(\n\ttext: string,\n\tmaxVisualLines: number,\n\twidth: number,\n\tpaddingX: number = 0,\n): VisualTruncateResult {\n\tif (!text) {\n\t\treturn { visualLines: [], skippedCount: 0 };\n\t}\n\n\t// Create a temporary Text component to render and get visual lines\n\tconst tempText = new Text(text, paddingX, 0);\n\tconst allVisualLines = tempText.render(width);\n\n\tif (allVisualLines.length <= maxVisualLines) {\n\t\treturn { visualLines: allVisualLines, skippedCount: 0 };\n\t}\n\n\t// Take the last N visual lines\n\tconst truncatedLines = allVisualLines.slice(-maxVisualLines);\n\tconst skippedCount = allVisualLines.length - maxVisualLines;\n\n\treturn { visualLines: truncatedLines, skippedCount };\n}\n"]}