@entelligentsia/forgecli 0.3.0 → 0.7.6

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 (3740) hide show
  1. package/CHANGELOG.md +476 -6
  2. package/README.md +77 -6
  3. package/dist/bin/argv.d.ts +13 -2
  4. package/dist/bin/argv.js +27 -0
  5. package/dist/bin/argv.js.map +1 -1
  6. package/dist/bin/forge.js +36 -2
  7. package/dist/bin/forge.js.map +1 -1
  8. package/dist/extensions/forgecli/approve.d.ts +24 -0
  9. package/dist/extensions/forgecli/approve.js +202 -0
  10. package/dist/extensions/forgecli/approve.js.map +1 -0
  11. package/dist/extensions/forgecli/ask-user-tool.d.ts +1 -1
  12. package/dist/extensions/forgecli/ask-user-tool.js +17 -3
  13. package/dist/extensions/forgecli/ask-user-tool.js.map +1 -1
  14. package/dist/extensions/forgecli/audience-gate.d.ts +30 -0
  15. package/dist/extensions/forgecli/audience-gate.js +49 -0
  16. package/dist/extensions/forgecli/audience-gate.js.map +1 -0
  17. package/dist/extensions/forgecli/collate.d.ts +24 -0
  18. package/dist/extensions/forgecli/collate.js +199 -0
  19. package/dist/extensions/forgecli/collate.js.map +1 -0
  20. package/dist/extensions/forgecli/commit.d.ts +24 -0
  21. package/dist/extensions/forgecli/commit.js +202 -0
  22. package/dist/extensions/forgecli/commit.js.map +1 -0
  23. package/dist/extensions/forgecli/enhance.d.ts +29 -0
  24. package/dist/extensions/forgecli/enhance.js +264 -0
  25. package/dist/extensions/forgecli/enhance.js.map +1 -0
  26. package/dist/extensions/forgecli/fix-bug.d.ts +75 -0
  27. package/dist/extensions/forgecli/fix-bug.js +1133 -0
  28. package/dist/extensions/forgecli/fix-bug.js.map +1 -0
  29. package/dist/extensions/forgecli/forge-commands.d.ts +2 -1
  30. package/dist/extensions/forgecli/forge-commands.js +41 -20
  31. package/dist/extensions/forgecli/forge-commands.js.map +1 -1
  32. package/dist/extensions/forgecli/forge-header.d.ts +12 -0
  33. package/dist/extensions/forgecli/forge-header.js +108 -0
  34. package/dist/extensions/forgecli/forge-header.js.map +1 -0
  35. package/dist/extensions/forgecli/forge-init.d.ts +3 -3
  36. package/dist/extensions/forgecli/forge-init.js +196 -41
  37. package/dist/extensions/forgecli/forge-init.js.map +1 -1
  38. package/dist/extensions/forgecli/forge-subagent.d.ts +110 -0
  39. package/dist/extensions/forgecli/forge-subagent.js +246 -0
  40. package/dist/extensions/forgecli/forge-subagent.js.map +1 -0
  41. package/dist/extensions/forgecli/forge-tools.d.ts +1 -1
  42. package/dist/extensions/forgecli/forge-tools.js +191 -17
  43. package/dist/extensions/forgecli/forge-tools.js.map +1 -1
  44. package/dist/extensions/forgecli/forge-update-command.d.ts +1 -1
  45. package/dist/extensions/forgecli/health-check.d.ts +1 -1
  46. package/dist/extensions/forgecli/health-check.js +2 -2
  47. package/dist/extensions/forgecli/health-check.js.map +1 -1
  48. package/dist/extensions/forgecli/hook-dispatcher.d.ts +53 -1
  49. package/dist/extensions/forgecli/hook-dispatcher.js +64 -2
  50. package/dist/extensions/forgecli/hook-dispatcher.js.map +1 -1
  51. package/dist/extensions/forgecli/hooks/post-init-hook.d.ts +15 -0
  52. package/dist/extensions/forgecli/hooks/post-init-hook.js +127 -0
  53. package/dist/extensions/forgecli/hooks/post-init-hook.js.map +1 -0
  54. package/dist/extensions/forgecli/hooks/post-sprint-hook.d.ts +37 -0
  55. package/dist/extensions/forgecli/hooks/post-sprint-hook.js +166 -0
  56. package/dist/extensions/forgecli/hooks/post-sprint-hook.js.map +1 -0
  57. package/dist/extensions/forgecli/hooks/two-layer-guard.d.ts +28 -0
  58. package/dist/extensions/forgecli/hooks/two-layer-guard.js +57 -0
  59. package/dist/extensions/forgecli/hooks/two-layer-guard.js.map +1 -0
  60. package/dist/extensions/forgecli/implement.d.ts +24 -0
  61. package/dist/extensions/forgecli/implement.js +217 -0
  62. package/dist/extensions/forgecli/implement.js.map +1 -0
  63. package/dist/extensions/forgecli/index.d.ts +1 -1
  64. package/dist/extensions/forgecli/index.js +177 -1
  65. package/dist/extensions/forgecli/index.js.map +1 -1
  66. package/dist/extensions/forgecli/kickoff.d.ts +10 -0
  67. package/dist/extensions/forgecli/kickoff.js +24 -0
  68. package/dist/extensions/forgecli/kickoff.js.map +1 -0
  69. package/dist/extensions/forgecli/loaders/persona-skill-loader.d.ts +45 -0
  70. package/dist/extensions/forgecli/loaders/persona-skill-loader.js +227 -0
  71. package/dist/extensions/forgecli/loaders/persona-skill-loader.js.map +1 -0
  72. package/dist/extensions/forgecli/loaders/template-render.d.ts +20 -0
  73. package/dist/extensions/forgecli/loaders/template-render.js +85 -0
  74. package/dist/extensions/forgecli/loaders/template-render.js.map +1 -0
  75. package/dist/extensions/forgecli/loaders/workflow-loader.d.ts +41 -0
  76. package/dist/extensions/forgecli/loaders/workflow-loader.js +164 -0
  77. package/dist/extensions/forgecli/loaders/workflow-loader.js.map +1 -0
  78. package/dist/extensions/forgecli/plan.d.ts +24 -0
  79. package/dist/extensions/forgecli/plan.js +212 -0
  80. package/dist/extensions/forgecli/plan.js.map +1 -0
  81. package/dist/extensions/forgecli/project-orientation.d.ts +1 -0
  82. package/dist/extensions/forgecli/project-orientation.js +83 -0
  83. package/dist/extensions/forgecli/project-orientation.js.map +1 -0
  84. package/dist/extensions/forgecli/read-command.d.ts +2 -0
  85. package/dist/extensions/forgecli/read-command.js +100 -0
  86. package/dist/extensions/forgecli/read-command.js.map +1 -0
  87. package/dist/extensions/forgecli/regenerate.d.ts +2 -0
  88. package/dist/extensions/forgecli/regenerate.js +169 -0
  89. package/dist/extensions/forgecli/regenerate.js.map +1 -0
  90. package/dist/extensions/forgecli/review-code.d.ts +24 -0
  91. package/dist/extensions/forgecli/review-code.js +202 -0
  92. package/dist/extensions/forgecli/review-code.js.map +1 -0
  93. package/dist/extensions/forgecli/review-plan.d.ts +24 -0
  94. package/dist/extensions/forgecli/review-plan.js +203 -0
  95. package/dist/extensions/forgecli/review-plan.js.map +1 -0
  96. package/dist/extensions/forgecli/review-server.d.ts +10 -0
  97. package/dist/extensions/forgecli/review-server.js +894 -0
  98. package/dist/extensions/forgecli/review-server.js.map +1 -0
  99. package/dist/extensions/forgecli/run-sprint.d.ts +23 -0
  100. package/dist/extensions/forgecli/run-sprint.js +561 -0
  101. package/dist/extensions/forgecli/run-sprint.js.map +1 -0
  102. package/dist/extensions/forgecli/run-task.d.ts +133 -0
  103. package/dist/extensions/forgecli/run-task.js +892 -0
  104. package/dist/extensions/forgecli/run-task.js.map +1 -0
  105. package/dist/extensions/forgecli/session-registry.d.ts +81 -0
  106. package/dist/extensions/forgecli/session-registry.js +224 -0
  107. package/dist/extensions/forgecli/session-registry.js.map +1 -0
  108. package/dist/extensions/forgecli/sprint-intake.d.ts +10 -0
  109. package/dist/extensions/forgecli/sprint-intake.js +91 -0
  110. package/dist/extensions/forgecli/sprint-intake.js.map +1 -0
  111. package/dist/extensions/forgecli/sprint-plan.d.ts +14 -0
  112. package/dist/extensions/forgecli/sprint-plan.js +122 -0
  113. package/dist/extensions/forgecli/sprint-plan.js.map +1 -0
  114. package/dist/extensions/forgecli/store-resolver.d.ts +38 -0
  115. package/dist/extensions/forgecli/store-resolver.js +232 -0
  116. package/dist/extensions/forgecli/store-resolver.js.map +1 -0
  117. package/dist/extensions/forgecli/subagent/agents.d.ts +1 -1
  118. package/dist/extensions/forgecli/subagent/agents.js +2 -2
  119. package/dist/extensions/forgecli/subagent/caller-context.d.ts +26 -0
  120. package/dist/extensions/forgecli/subagent/caller-context.js +67 -0
  121. package/dist/extensions/forgecli/subagent/caller-context.js.map +1 -0
  122. package/dist/extensions/forgecli/subagent/index.d.ts +2 -2
  123. package/dist/extensions/forgecli/subagent/index.js +4 -4
  124. package/dist/extensions/forgecli/test-orchestrate.d.ts +2 -0
  125. package/dist/extensions/forgecli/test-orchestrate.js +181 -0
  126. package/dist/extensions/forgecli/test-orchestrate.js.map +1 -0
  127. package/dist/extensions/forgecli/thread-switcher.d.ts +2 -0
  128. package/dist/extensions/forgecli/thread-switcher.js +476 -0
  129. package/dist/extensions/forgecli/thread-switcher.js.map +1 -0
  130. package/dist/extensions/forgecli/usage-hook.d.ts +49 -0
  131. package/dist/extensions/forgecli/usage-hook.js +123 -0
  132. package/dist/extensions/forgecli/usage-hook.js.map +1 -0
  133. package/dist/extensions/forgecli/validate.d.ts +24 -0
  134. package/dist/extensions/forgecli/validate.js +202 -0
  135. package/dist/extensions/forgecli/validate.js.map +1 -0
  136. package/dist/extensions/forgecli/wf-engine/engine.d.ts +23 -0
  137. package/dist/extensions/forgecli/wf-engine/engine.js +384 -0
  138. package/dist/extensions/forgecli/wf-engine/engine.js.map +1 -0
  139. package/dist/extensions/forgecli/wf-engine/event-parser.d.ts +6 -0
  140. package/dist/extensions/forgecli/wf-engine/event-parser.js +29 -0
  141. package/dist/extensions/forgecli/wf-engine/event-parser.js.map +1 -0
  142. package/dist/extensions/forgecli/wf-engine/id-gen.d.ts +6 -0
  143. package/dist/extensions/forgecli/wf-engine/id-gen.js +17 -0
  144. package/dist/extensions/forgecli/wf-engine/id-gen.js.map +1 -0
  145. package/dist/extensions/forgecli/wf-engine/loader.d.ts +2 -0
  146. package/dist/extensions/forgecli/wf-engine/loader.js +100 -0
  147. package/dist/extensions/forgecli/wf-engine/loader.js.map +1 -0
  148. package/dist/extensions/forgecli/wf-engine/predicate.d.ts +7 -0
  149. package/dist/extensions/forgecli/wf-engine/predicate.js +36 -0
  150. package/dist/extensions/forgecli/wf-engine/predicate.js.map +1 -0
  151. package/dist/extensions/forgecli/wf-engine/prompt-compiler.d.ts +15 -0
  152. package/dist/extensions/forgecli/wf-engine/prompt-compiler.js +23 -0
  153. package/dist/extensions/forgecli/wf-engine/prompt-compiler.js.map +1 -0
  154. package/dist/extensions/forgecli/wf-engine/register.d.ts +9 -0
  155. package/dist/extensions/forgecli/wf-engine/register.js +59 -0
  156. package/dist/extensions/forgecli/wf-engine/register.js.map +1 -0
  157. package/dist/extensions/forgecli/wf-engine/remit-check.d.ts +6 -0
  158. package/dist/extensions/forgecli/wf-engine/remit-check.js +42 -0
  159. package/dist/extensions/forgecli/wf-engine/remit-check.js.map +1 -0
  160. package/dist/extensions/forgecli/wf-engine/state-store.d.ts +13 -0
  161. package/dist/extensions/forgecli/wf-engine/state-store.js +43 -0
  162. package/dist/extensions/forgecli/wf-engine/state-store.js.map +1 -0
  163. package/dist/extensions/forgecli/wf-engine/types.d.ts +66 -0
  164. package/dist/extensions/forgecli/wf-engine/types.js.map +1 -0
  165. package/dist/extensions/forgecli/wf-engine/worker.d.ts +11 -0
  166. package/dist/extensions/forgecli/wf-engine/worker.js +50 -0
  167. package/dist/extensions/forgecli/wf-engine/worker.js.map +1 -0
  168. package/dist/forge-payload/.base-pack/workflows/_fragments/context-injection.md +10 -4
  169. package/dist/forge-payload/.base-pack/workflows/_fragments/event-emission-schema.md +71 -27
  170. package/dist/forge-payload/.base-pack/workflows/_fragments/finalize.md +9 -19
  171. package/dist/forge-payload/.base-pack/workflows/_fragments/friction-emit.md +73 -0
  172. package/dist/forge-payload/.base-pack/workflows/_fragments/store-cli-verbs.md +23 -0
  173. package/dist/forge-payload/.base-pack/workflows/architect_approve.md +27 -5
  174. package/dist/forge-payload/.base-pack/workflows/architect_review_sprint_completion.md +10 -3
  175. package/dist/forge-payload/.base-pack/workflows/architect_sprint_intake.md +21 -14
  176. package/dist/forge-payload/.base-pack/workflows/architect_sprint_plan.md +9 -11
  177. package/dist/forge-payload/.base-pack/workflows/collator_agent.md +20 -2
  178. package/dist/forge-payload/.base-pack/workflows/commit_task.md +22 -4
  179. package/dist/forge-payload/.base-pack/workflows/enhance.md +274 -0
  180. package/dist/forge-payload/.base-pack/workflows/fix_bug.md +30 -3
  181. package/dist/forge-payload/.base-pack/workflows/implement_plan.md +33 -5
  182. package/dist/forge-payload/.base-pack/workflows/orchestrate_task.md +71 -14
  183. package/dist/forge-payload/.base-pack/workflows/plan_task.md +29 -4
  184. package/dist/forge-payload/.base-pack/workflows/review_code.md +18 -5
  185. package/dist/forge-payload/.base-pack/workflows/review_plan.md +23 -5
  186. package/dist/forge-payload/.base-pack/workflows/run_sprint.md +27 -1
  187. package/dist/forge-payload/.base-pack/workflows/sprint_retrospective.md +2 -3
  188. package/dist/forge-payload/.base-pack/workflows/update_implementation.md +21 -4
  189. package/dist/forge-payload/.base-pack/workflows/update_plan.md +20 -3
  190. package/dist/forge-payload/.base-pack/workflows/validate_task.md +25 -4
  191. package/dist/forge-payload/.claude-plugin/plugin.json +10 -4
  192. package/dist/forge-payload/.schemas/bug.schema.json +4 -2
  193. package/dist/forge-payload/.schemas/event-sidecar.schema.json +1 -1
  194. package/dist/forge-payload/.schemas/event.schema.json +140 -6
  195. package/dist/forge-payload/commands/add-pipeline.md +342 -0
  196. package/dist/forge-payload/commands/add-task.md +269 -0
  197. package/dist/forge-payload/commands/ask.md +43 -0
  198. package/dist/forge-payload/commands/calibrate.md +356 -0
  199. package/dist/forge-payload/commands/config.md +202 -0
  200. package/dist/forge-payload/commands/enhance.md +38 -0
  201. package/dist/forge-payload/commands/health.md +225 -0
  202. package/dist/forge-payload/commands/init.md +165 -0
  203. package/dist/forge-payload/commands/materialize.md +119 -0
  204. package/dist/forge-payload/commands/migrate.md +160 -0
  205. package/dist/forge-payload/commands/quiz-agent.md +38 -0
  206. package/dist/forge-payload/commands/regenerate.md +673 -0
  207. package/dist/forge-payload/commands/remove.md +174 -0
  208. package/dist/forge-payload/commands/report-bug.md +191 -0
  209. package/dist/forge-payload/commands/store-query.md +73 -0
  210. package/dist/forge-payload/commands/store-repair.md +187 -0
  211. package/dist/forge-payload/commands/update-tools.md +56 -0
  212. package/dist/forge-payload/commands/update.md +1376 -0
  213. package/dist/forge-payload/tools/backfill-provider.cjs +112 -0
  214. package/dist/forge-payload/tools/collate.cjs +1042 -0
  215. package/dist/forge-payload/tools/friction-emit.cjs +112 -0
  216. package/dist/forge-payload/tools/lib/store-facade.cjs +162 -0
  217. package/dist/forge-payload/tools/lib/store-nlp.cjs +250 -0
  218. package/dist/forge-payload/tools/lib/store-query-exec.cjs +272 -0
  219. package/dist/forge-payload/tools/lib/validate.js +141 -0
  220. package/dist/forge-payload/tools/package.json +3 -0
  221. package/dist/forge-payload/tools/parse-gates.cjs +151 -0
  222. package/dist/forge-payload/tools/preflight-gate.cjs +367 -0
  223. package/dist/forge-payload/tools/prompts/sprint-plan-prompt.md +70 -0
  224. package/dist/forge-payload/tools/read-verdict.cjs +154 -0
  225. package/dist/forge-payload/tools/schemas/task-list.schema.json +53 -0
  226. package/dist/forge-payload/tools/store-cli.cjs +1350 -0
  227. package/dist/forge-payload/tools/store-query.cjs +362 -0
  228. package/dist/forge-payload/tools/validate-store.cjs +597 -0
  229. package/node_modules/@aws-sdk/client-bedrock-runtime/dist-cjs/auth/httpAuthSchemeProvider.js +4 -4
  230. package/node_modules/@aws-sdk/client-bedrock-runtime/dist-cjs/endpoint/bdd.js +2 -2
  231. package/node_modules/@aws-sdk/client-bedrock-runtime/dist-cjs/endpoint/endpointResolver.js +4 -4
  232. package/node_modules/@aws-sdk/client-bedrock-runtime/dist-cjs/index.js +38 -39
  233. package/node_modules/@aws-sdk/client-bedrock-runtime/dist-cjs/models/BedrockRuntimeServiceException.js +3 -3
  234. package/node_modules/@aws-sdk/client-bedrock-runtime/dist-cjs/runtimeConfig.browser.js +14 -16
  235. package/node_modules/@aws-sdk/client-bedrock-runtime/dist-cjs/runtimeConfig.js +20 -24
  236. package/node_modules/@aws-sdk/client-bedrock-runtime/dist-cjs/runtimeConfig.native.js +2 -2
  237. package/node_modules/@aws-sdk/client-bedrock-runtime/dist-cjs/runtimeConfig.shared.js +9 -10
  238. package/node_modules/@aws-sdk/client-bedrock-runtime/dist-es/BedrockRuntime.js +1 -1
  239. package/node_modules/@aws-sdk/client-bedrock-runtime/dist-es/BedrockRuntimeClient.js +6 -6
  240. package/node_modules/@aws-sdk/client-bedrock-runtime/dist-es/auth/httpAuthSchemeProvider.js +1 -1
  241. package/node_modules/@aws-sdk/client-bedrock-runtime/dist-es/commands/ApplyGuardrailCommand.js +2 -2
  242. package/node_modules/@aws-sdk/client-bedrock-runtime/dist-es/commands/ConverseCommand.js +2 -2
  243. package/node_modules/@aws-sdk/client-bedrock-runtime/dist-es/commands/ConverseStreamCommand.js +2 -2
  244. package/node_modules/@aws-sdk/client-bedrock-runtime/dist-es/commands/CountTokensCommand.js +2 -2
  245. package/node_modules/@aws-sdk/client-bedrock-runtime/dist-es/commands/GetAsyncInvokeCommand.js +2 -2
  246. package/node_modules/@aws-sdk/client-bedrock-runtime/dist-es/commands/InvokeModelCommand.js +2 -2
  247. package/node_modules/@aws-sdk/client-bedrock-runtime/dist-es/commands/InvokeModelWithBidirectionalStreamCommand.js +2 -2
  248. package/node_modules/@aws-sdk/client-bedrock-runtime/dist-es/commands/InvokeModelWithResponseStreamCommand.js +2 -2
  249. package/node_modules/@aws-sdk/client-bedrock-runtime/dist-es/commands/ListAsyncInvokesCommand.js +2 -2
  250. package/node_modules/@aws-sdk/client-bedrock-runtime/dist-es/commands/StartAsyncInvokeCommand.js +2 -2
  251. package/node_modules/@aws-sdk/client-bedrock-runtime/dist-es/endpoint/bdd.js +1 -1
  252. package/node_modules/@aws-sdk/client-bedrock-runtime/dist-es/endpoint/endpointResolver.js +1 -1
  253. package/node_modules/@aws-sdk/client-bedrock-runtime/dist-es/models/BedrockRuntimeServiceException.js +1 -1
  254. package/node_modules/@aws-sdk/client-bedrock-runtime/dist-es/runtimeConfig.browser.js +5 -7
  255. package/node_modules/@aws-sdk/client-bedrock-runtime/dist-es/runtimeConfig.js +5 -9
  256. package/node_modules/@aws-sdk/client-bedrock-runtime/dist-es/runtimeConfig.native.js +1 -1
  257. package/node_modules/@aws-sdk/client-bedrock-runtime/dist-es/runtimeConfig.shared.js +3 -4
  258. package/node_modules/@aws-sdk/client-bedrock-runtime/dist-es/runtimeExtensions.js +2 -2
  259. package/node_modules/@aws-sdk/client-bedrock-runtime/dist-types/BedrockRuntimeClient.d.ts +6 -6
  260. package/node_modules/@aws-sdk/client-bedrock-runtime/dist-types/commands/ApplyGuardrailCommand.d.ts +6 -4
  261. package/node_modules/@aws-sdk/client-bedrock-runtime/dist-types/commands/ConverseCommand.d.ts +6 -4
  262. package/node_modules/@aws-sdk/client-bedrock-runtime/dist-types/commands/ConverseStreamCommand.d.ts +6 -4
  263. package/node_modules/@aws-sdk/client-bedrock-runtime/dist-types/commands/CountTokensCommand.d.ts +6 -4
  264. package/node_modules/@aws-sdk/client-bedrock-runtime/dist-types/commands/GetAsyncInvokeCommand.d.ts +6 -4
  265. package/node_modules/@aws-sdk/client-bedrock-runtime/dist-types/commands/InvokeModelCommand.d.ts +7 -5
  266. package/node_modules/@aws-sdk/client-bedrock-runtime/dist-types/commands/InvokeModelWithBidirectionalStreamCommand.d.ts +6 -4
  267. package/node_modules/@aws-sdk/client-bedrock-runtime/dist-types/commands/InvokeModelWithResponseStreamCommand.d.ts +6 -4
  268. package/node_modules/@aws-sdk/client-bedrock-runtime/dist-types/commands/ListAsyncInvokesCommand.d.ts +6 -4
  269. package/node_modules/@aws-sdk/client-bedrock-runtime/dist-types/commands/StartAsyncInvokeCommand.d.ts +6 -4
  270. package/node_modules/@aws-sdk/client-bedrock-runtime/dist-types/endpoint/bdd.d.ts +1 -1
  271. package/node_modules/@aws-sdk/client-bedrock-runtime/dist-types/extensionConfiguration.d.ts +1 -1
  272. package/node_modules/@aws-sdk/client-bedrock-runtime/dist-types/models/BedrockRuntimeServiceException.d.ts +1 -1
  273. package/node_modules/@aws-sdk/client-bedrock-runtime/dist-types/models/errors.d.ts +1 -1
  274. package/node_modules/@aws-sdk/client-bedrock-runtime/dist-types/runtimeConfig.browser.d.ts +1 -1
  275. package/node_modules/@aws-sdk/client-bedrock-runtime/dist-types/runtimeConfig.d.ts +2 -2
  276. package/node_modules/@aws-sdk/client-bedrock-runtime/dist-types/runtimeConfig.native.d.ts +2 -2
  277. package/node_modules/@aws-sdk/client-bedrock-runtime/dist-types/ts3.4/BedrockRuntimeClient.d.ts +12 -18
  278. package/node_modules/@aws-sdk/client-bedrock-runtime/dist-types/ts3.4/commands/ApplyGuardrailCommand.d.ts +6 -4
  279. package/node_modules/@aws-sdk/client-bedrock-runtime/dist-types/ts3.4/commands/ConverseCommand.d.ts +6 -8
  280. package/node_modules/@aws-sdk/client-bedrock-runtime/dist-types/ts3.4/commands/ConverseStreamCommand.d.ts +6 -4
  281. package/node_modules/@aws-sdk/client-bedrock-runtime/dist-types/ts3.4/commands/CountTokensCommand.d.ts +6 -4
  282. package/node_modules/@aws-sdk/client-bedrock-runtime/dist-types/ts3.4/commands/GetAsyncInvokeCommand.d.ts +6 -4
  283. package/node_modules/@aws-sdk/client-bedrock-runtime/dist-types/ts3.4/commands/InvokeModelCommand.d.ts +7 -5
  284. package/node_modules/@aws-sdk/client-bedrock-runtime/dist-types/ts3.4/commands/InvokeModelWithBidirectionalStreamCommand.d.ts +6 -4
  285. package/node_modules/@aws-sdk/client-bedrock-runtime/dist-types/ts3.4/commands/InvokeModelWithResponseStreamCommand.d.ts +6 -4
  286. package/node_modules/@aws-sdk/client-bedrock-runtime/dist-types/ts3.4/commands/ListAsyncInvokesCommand.d.ts +6 -4
  287. package/node_modules/@aws-sdk/client-bedrock-runtime/dist-types/ts3.4/commands/StartAsyncInvokeCommand.d.ts +6 -4
  288. package/node_modules/@aws-sdk/client-bedrock-runtime/dist-types/ts3.4/endpoint/bdd.d.ts +1 -1
  289. package/node_modules/@aws-sdk/client-bedrock-runtime/dist-types/ts3.4/extensionConfiguration.d.ts +1 -1
  290. package/node_modules/@aws-sdk/client-bedrock-runtime/dist-types/ts3.4/models/BedrockRuntimeServiceException.d.ts +1 -1
  291. package/node_modules/@aws-sdk/client-bedrock-runtime/dist-types/ts3.4/models/errors.d.ts +1 -1
  292. package/node_modules/@aws-sdk/client-bedrock-runtime/dist-types/ts3.4/runtimeConfig.browser.d.ts +1 -1
  293. package/node_modules/@aws-sdk/client-bedrock-runtime/dist-types/ts3.4/runtimeConfig.d.ts +2 -2
  294. package/node_modules/@aws-sdk/client-bedrock-runtime/dist-types/ts3.4/runtimeConfig.native.d.ts +4 -4
  295. package/node_modules/@aws-sdk/client-bedrock-runtime/package.json +18 -43
  296. package/node_modules/@aws-sdk/core/dist-cjs/index.js +65 -51
  297. package/node_modules/@aws-sdk/core/dist-cjs/submodules/account-id-endpoint/index.js +2 -2
  298. package/node_modules/@aws-sdk/core/dist-cjs/submodules/client/index.js +2 -2
  299. package/node_modules/@aws-sdk/core/dist-cjs/submodules/httpAuthSchemes/index.js +7 -7
  300. package/node_modules/@aws-sdk/core/dist-cjs/submodules/protocols/index.js +56 -41
  301. package/node_modules/@aws-sdk/core/dist-cjs/submodules/util/index.js +59 -0
  302. package/node_modules/@aws-sdk/core/dist-es/submodules/account-id-endpoint/AccountIdEndpointModeConfigResolver.js +1 -1
  303. package/node_modules/@aws-sdk/core/dist-es/submodules/client/setFeature.js +1 -1
  304. package/node_modules/@aws-sdk/core/dist-es/submodules/httpAuthSchemes/aws_sdk/AwsSdkSigV4ASigner.js +1 -1
  305. package/node_modules/@aws-sdk/core/dist-es/submodules/httpAuthSchemes/aws_sdk/AwsSdkSigV4Signer.js +1 -1
  306. package/node_modules/@aws-sdk/core/dist-es/submodules/httpAuthSchemes/aws_sdk/resolveAwsSdkSigV4AConfig.js +1 -1
  307. package/node_modules/@aws-sdk/core/dist-es/submodules/httpAuthSchemes/utils/getDateHeader.js +1 -1
  308. package/node_modules/@aws-sdk/core/dist-es/submodules/protocols/ProtocolLib.js +1 -1
  309. package/node_modules/@aws-sdk/core/dist-es/submodules/protocols/cbor/AwsSmithyRpcV2CborProtocol.js +1 -1
  310. package/node_modules/@aws-sdk/core/dist-es/submodules/protocols/common.js +2 -2
  311. package/node_modules/@aws-sdk/core/dist-es/submodules/protocols/json/AwsJsonRpcProtocol.js +7 -6
  312. package/node_modules/@aws-sdk/core/dist-es/submodules/protocols/json/AwsRestJsonProtocol.js +1 -1
  313. package/node_modules/@aws-sdk/core/dist-es/submodules/protocols/json/JsonShapeDeserializer.js +1 -1
  314. package/node_modules/@aws-sdk/core/dist-es/submodules/protocols/json/JsonShapeSerializer.js +1 -2
  315. package/node_modules/@aws-sdk/core/dist-es/submodules/protocols/json/awsExpectUnion.js +1 -1
  316. package/node_modules/@aws-sdk/core/dist-es/submodules/protocols/json/experimental/SinglePassJsonShapeSerializer.js +1 -2
  317. package/node_modules/@aws-sdk/core/dist-es/submodules/protocols/json/parseJsonBody.js +28 -13
  318. package/node_modules/@aws-sdk/core/dist-es/submodules/protocols/query/AwsQueryProtocol.js +1 -1
  319. package/node_modules/@aws-sdk/core/dist-es/submodules/protocols/query/QueryShapeSerializer.js +2 -3
  320. package/node_modules/@aws-sdk/core/dist-es/submodules/protocols/xml/AwsRestXmlProtocol.js +1 -1
  321. package/node_modules/@aws-sdk/core/dist-es/submodules/protocols/xml/XmlShapeDeserializer.js +2 -2
  322. package/node_modules/@aws-sdk/core/dist-es/submodules/protocols/xml/XmlShapeSerializer.js +2 -3
  323. package/node_modules/@aws-sdk/core/dist-es/submodules/protocols/xml/parseXmlBody.js +1 -1
  324. package/node_modules/@aws-sdk/core/dist-es/submodules/util/index.js +2 -0
  325. package/node_modules/@aws-sdk/core/dist-es/submodules/util/util-format-url/format-url.js +29 -0
  326. package/node_modules/@aws-sdk/core/dist-types/api-extractor-type-index.d.ts +1 -0
  327. package/node_modules/@aws-sdk/core/dist-types/index.d.ts +1 -0
  328. package/node_modules/@aws-sdk/core/dist-types/submodules/account-id-endpoint/NodeAccountIdEndpointModeConfigOptions.d.ts +1 -1
  329. package/node_modules/@aws-sdk/core/dist-types/submodules/httpAuthSchemes/aws_sdk/NODE_AUTH_SCHEME_PREFERENCE_OPTIONS.d.ts +1 -1
  330. package/node_modules/@aws-sdk/core/dist-types/submodules/httpAuthSchemes/aws_sdk/resolveAwsSdkSigV4AConfig.d.ts +1 -1
  331. package/node_modules/@aws-sdk/core/dist-types/submodules/protocols/ProtocolLib.d.ts +1 -1
  332. package/node_modules/@aws-sdk/core/dist-types/submodules/protocols/json/parseJsonBody.d.ts +4 -0
  333. package/node_modules/@aws-sdk/core/dist-types/submodules/util/index.d.ts +2 -0
  334. package/node_modules/@aws-sdk/core/dist-types/ts3.4/api-extractor-type-index.d.ts +1 -0
  335. package/node_modules/@aws-sdk/core/dist-types/ts3.4/submodules/account-id-endpoint/NodeAccountIdEndpointModeConfigOptions.d.ts +1 -1
  336. package/node_modules/@aws-sdk/core/dist-types/ts3.4/submodules/httpAuthSchemes/aws_sdk/NODE_AUTH_SCHEME_PREFERENCE_OPTIONS.d.ts +1 -1
  337. package/node_modules/@aws-sdk/core/dist-types/ts3.4/submodules/httpAuthSchemes/aws_sdk/resolveAwsSdkSigV4AConfig.d.ts +1 -1
  338. package/node_modules/@aws-sdk/core/dist-types/ts3.4/submodules/protocols/ProtocolLib.d.ts +1 -1
  339. package/node_modules/@aws-sdk/core/dist-types/ts3.4/submodules/protocols/json/parseJsonBody.d.ts +6 -0
  340. package/node_modules/@aws-sdk/core/dist-types/ts3.4/submodules/util/index.d.ts +2 -0
  341. package/node_modules/@aws-sdk/core/package.json +16 -13
  342. package/node_modules/@aws-sdk/core/util.d.ts +7 -0
  343. package/node_modules/@aws-sdk/core/util.js +5 -0
  344. package/node_modules/@aws-sdk/credential-provider-env/dist-cjs/index.js +2 -2
  345. package/node_modules/@aws-sdk/credential-provider-env/dist-es/fromEnv.js +1 -1
  346. package/node_modules/@aws-sdk/credential-provider-env/package.json +3 -3
  347. package/node_modules/@aws-sdk/credential-provider-http/dist-cjs/fromHttp/checkUrl.js +2 -2
  348. package/node_modules/@aws-sdk/credential-provider-http/dist-cjs/fromHttp/fromHttp.browser.js +2 -2
  349. package/node_modules/@aws-sdk/credential-provider-http/dist-cjs/fromHttp/fromHttp.js +3 -3
  350. package/node_modules/@aws-sdk/credential-provider-http/dist-cjs/fromHttp/requestHelpers.js +10 -10
  351. package/node_modules/@aws-sdk/credential-provider-http/dist-cjs/index.js +7 -5
  352. package/node_modules/@aws-sdk/credential-provider-http/dist-es/fromHttp/checkUrl.js +1 -1
  353. package/node_modules/@aws-sdk/credential-provider-http/dist-es/fromHttp/fromHttp.browser.js +1 -1
  354. package/node_modules/@aws-sdk/credential-provider-http/dist-es/fromHttp/fromHttp.js +1 -1
  355. package/node_modules/@aws-sdk/credential-provider-http/dist-es/fromHttp/requestHelpers.js +4 -4
  356. package/node_modules/@aws-sdk/credential-provider-http/dist-types/fromHttp/requestHelpers.d.ts +1 -1
  357. package/node_modules/@aws-sdk/credential-provider-http/dist-types/ts3.4/fromHttp/requestHelpers.d.ts +1 -1
  358. package/node_modules/@aws-sdk/credential-provider-http/package.json +15 -10
  359. package/node_modules/@aws-sdk/credential-provider-ini/dist-cjs/index.js +9 -10
  360. package/node_modules/@aws-sdk/credential-provider-ini/dist-es/fromIni.js +1 -1
  361. package/node_modules/@aws-sdk/credential-provider-ini/dist-es/resolveAssumeRoleCredentials.js +1 -2
  362. package/node_modules/@aws-sdk/credential-provider-ini/dist-es/resolveCredentialSource.js +1 -1
  363. package/node_modules/@aws-sdk/credential-provider-ini/dist-es/resolveProfileData.js +1 -1
  364. package/node_modules/@aws-sdk/credential-provider-ini/dist-types/fromIni.d.ts +1 -1
  365. package/node_modules/@aws-sdk/credential-provider-ini/dist-types/ts3.4/fromIni.d.ts +1 -1
  366. package/node_modules/@aws-sdk/credential-provider-ini/package.json +11 -12
  367. package/node_modules/@aws-sdk/credential-provider-login/dist-cjs/index.js +14 -15
  368. package/node_modules/@aws-sdk/credential-provider-login/dist-es/LoginCredentialsFetcher.js +2 -3
  369. package/node_modules/@aws-sdk/credential-provider-login/dist-es/fromLoginCredentials.js +1 -2
  370. package/node_modules/@aws-sdk/credential-provider-login/dist-types/ts3.4/types.d.ts +1 -1
  371. package/node_modules/@aws-sdk/credential-provider-login/dist-types/types.d.ts +1 -1
  372. package/node_modules/@aws-sdk/credential-provider-login/package.json +4 -6
  373. package/node_modules/@aws-sdk/credential-provider-node/dist-cjs/index.js +7 -8
  374. package/node_modules/@aws-sdk/credential-provider-node/dist-es/defaultProvider.js +1 -2
  375. package/node_modules/@aws-sdk/credential-provider-node/dist-es/remoteProvider.js +1 -1
  376. package/node_modules/@aws-sdk/credential-provider-node/package.json +9 -10
  377. package/node_modules/@aws-sdk/credential-provider-process/dist-cjs/index.js +7 -8
  378. package/node_modules/@aws-sdk/credential-provider-process/dist-es/fromProcess.js +1 -1
  379. package/node_modules/@aws-sdk/credential-provider-process/dist-es/resolveProcessCredentials.js +1 -2
  380. package/node_modules/@aws-sdk/credential-provider-process/dist-types/fromProcess.d.ts +1 -1
  381. package/node_modules/@aws-sdk/credential-provider-process/dist-types/ts3.4/fromProcess.d.ts +1 -1
  382. package/node_modules/@aws-sdk/credential-provider-process/package.json +3 -4
  383. package/node_modules/@aws-sdk/credential-provider-sso/dist-cjs/index.js +16 -17
  384. package/node_modules/@aws-sdk/credential-provider-sso/dist-es/fromSSO.js +1 -2
  385. package/node_modules/@aws-sdk/credential-provider-sso/dist-es/resolveSSOCredentials.js +2 -3
  386. package/node_modules/@aws-sdk/credential-provider-sso/dist-es/validateSsoProfile.js +1 -1
  387. package/node_modules/@aws-sdk/credential-provider-sso/dist-types/fromSSO.d.ts +1 -1
  388. package/node_modules/@aws-sdk/credential-provider-sso/dist-types/ts3.4/fromSSO.d.ts +1 -1
  389. package/node_modules/@aws-sdk/credential-provider-sso/package.json +5 -6
  390. package/node_modules/@aws-sdk/credential-provider-web-identity/dist-cjs/fromTokenFile.js +3 -4
  391. package/node_modules/@aws-sdk/credential-provider-web-identity/dist-cjs/fromWebToken.js +1 -34
  392. package/node_modules/@aws-sdk/credential-provider-web-identity/dist-es/fromTokenFile.js +1 -2
  393. package/node_modules/@aws-sdk/credential-provider-web-identity/package.json +4 -5
  394. package/node_modules/@aws-sdk/eventstream-handler-node/dist-cjs/index.js +2 -2
  395. package/node_modules/@aws-sdk/eventstream-handler-node/dist-es/EventStreamPayloadHandler.js +1 -1
  396. package/node_modules/@aws-sdk/eventstream-handler-node/dist-types/EventSigningTransformStream.d.ts +1 -1
  397. package/node_modules/@aws-sdk/eventstream-handler-node/dist-types/ts3.4/EventSigningTransformStream.d.ts +1 -1
  398. package/node_modules/@aws-sdk/eventstream-handler-node/package.json +2 -3
  399. package/node_modules/@aws-sdk/middleware-eventstream/dist-cjs/index.js +3 -3
  400. package/node_modules/@aws-sdk/middleware-eventstream/dist-es/eventStreamHandlingMiddleware.js +1 -1
  401. package/node_modules/@aws-sdk/middleware-eventstream/dist-es/eventStreamHeaderMiddleware.js +1 -1
  402. package/node_modules/@aws-sdk/middleware-eventstream/package.json +2 -2
  403. package/node_modules/@aws-sdk/middleware-host-header/dist-cjs/index.js +2 -2
  404. package/node_modules/@aws-sdk/middleware-host-header/dist-es/index.js +1 -1
  405. package/node_modules/@aws-sdk/middleware-host-header/package.json +2 -2
  406. package/node_modules/@aws-sdk/middleware-recursion-detection/dist-cjs/recursionDetectionMiddleware.browser.js +5 -0
  407. package/node_modules/@aws-sdk/middleware-recursion-detection/dist-cjs/recursionDetectionMiddleware.js +2 -2
  408. package/node_modules/@aws-sdk/middleware-recursion-detection/dist-es/recursionDetectionMiddleware.js +1 -1
  409. package/node_modules/@aws-sdk/middleware-recursion-detection/package.json +6 -3
  410. package/node_modules/@aws-sdk/middleware-user-agent/dist-cjs/index.js +5 -5
  411. package/node_modules/@aws-sdk/middleware-user-agent/dist-es/check-features.js +1 -1
  412. package/node_modules/@aws-sdk/middleware-user-agent/dist-es/user-agent-middleware.js +1 -1
  413. package/node_modules/@aws-sdk/middleware-user-agent/package.json +4 -6
  414. package/node_modules/@aws-sdk/middleware-websocket/dist-cjs/index.js +13 -15
  415. package/node_modules/@aws-sdk/middleware-websocket/dist-es/WebSocketFetchHandler.js +5 -5
  416. package/node_modules/@aws-sdk/middleware-websocket/dist-es/WebsocketSignatureV4.js +1 -1
  417. package/node_modules/@aws-sdk/middleware-websocket/dist-es/middlewares/websocketEndpointMiddleware.js +1 -1
  418. package/node_modules/@aws-sdk/middleware-websocket/dist-es/ws-eventstream/EventSigningTransformStream.js +1 -1
  419. package/node_modules/@aws-sdk/middleware-websocket/dist-es/ws-eventstream/EventStreamPayloadHandler.js +1 -1
  420. package/node_modules/@aws-sdk/middleware-websocket/dist-types/WebSocketFetchHandler.d.ts +2 -2
  421. package/node_modules/@aws-sdk/middleware-websocket/dist-types/ts3.4/WebSocketFetchHandler.d.ts +2 -2
  422. package/node_modules/@aws-sdk/middleware-websocket/dist-types/ts3.4/ws-eventstream/EventSigningTransformStream.d.ts +1 -1
  423. package/node_modules/@aws-sdk/middleware-websocket/dist-types/ws-eventstream/EventSigningTransformStream.d.ts +1 -1
  424. package/node_modules/@aws-sdk/middleware-websocket/package.json +5 -10
  425. package/node_modules/@aws-sdk/nested-clients/dist-cjs/submodules/cognito-identity/index.js +520 -52
  426. package/node_modules/@aws-sdk/nested-clients/dist-cjs/submodules/signin/index.js +454 -49
  427. package/node_modules/@aws-sdk/nested-clients/dist-cjs/submodules/sso/index.js +399 -49
  428. package/node_modules/@aws-sdk/nested-clients/dist-cjs/submodules/sso-oidc/index.js +593 -49
  429. package/node_modules/@aws-sdk/nested-clients/dist-cjs/submodules/sts/index.js +835 -55
  430. package/node_modules/@aws-sdk/nested-clients/dist-es/submodules/cognito-identity/CognitoIdentity.js +1 -1
  431. package/node_modules/@aws-sdk/nested-clients/dist-es/submodules/cognito-identity/CognitoIdentityClient.js +5 -5
  432. package/node_modules/@aws-sdk/nested-clients/dist-es/submodules/cognito-identity/auth/httpAuthSchemeProvider.js +1 -1
  433. package/node_modules/@aws-sdk/nested-clients/dist-es/submodules/cognito-identity/commands/GetCredentialsForIdentityCommand.js +2 -2
  434. package/node_modules/@aws-sdk/nested-clients/dist-es/submodules/cognito-identity/commands/GetIdCommand.js +2 -2
  435. package/node_modules/@aws-sdk/nested-clients/dist-es/submodules/cognito-identity/endpoint/bdd.js +1 -1
  436. package/node_modules/@aws-sdk/nested-clients/dist-es/submodules/cognito-identity/endpoint/endpointResolver.js +1 -1
  437. package/node_modules/@aws-sdk/nested-clients/dist-es/submodules/cognito-identity/models/CognitoIdentityServiceException.js +1 -1
  438. package/node_modules/@aws-sdk/nested-clients/dist-es/submodules/cognito-identity/runtimeConfig.browser.js +4 -6
  439. package/node_modules/@aws-sdk/nested-clients/dist-es/submodules/cognito-identity/runtimeConfig.js +4 -8
  440. package/node_modules/@aws-sdk/nested-clients/dist-es/submodules/cognito-identity/runtimeConfig.shared.js +3 -4
  441. package/node_modules/@aws-sdk/nested-clients/dist-es/submodules/cognito-identity/runtimeExtensions.js +2 -2
  442. package/node_modules/@aws-sdk/nested-clients/dist-es/submodules/signin/Signin.js +1 -1
  443. package/node_modules/@aws-sdk/nested-clients/dist-es/submodules/signin/SigninClient.js +5 -5
  444. package/node_modules/@aws-sdk/nested-clients/dist-es/submodules/signin/auth/httpAuthSchemeProvider.js +1 -1
  445. package/node_modules/@aws-sdk/nested-clients/dist-es/submodules/signin/commands/CreateOAuth2TokenCommand.js +2 -2
  446. package/node_modules/@aws-sdk/nested-clients/dist-es/submodules/signin/endpoint/bdd.js +1 -1
  447. package/node_modules/@aws-sdk/nested-clients/dist-es/submodules/signin/endpoint/endpointResolver.js +1 -1
  448. package/node_modules/@aws-sdk/nested-clients/dist-es/submodules/signin/models/SigninServiceException.js +1 -1
  449. package/node_modules/@aws-sdk/nested-clients/dist-es/submodules/signin/runtimeConfig.browser.js +4 -6
  450. package/node_modules/@aws-sdk/nested-clients/dist-es/submodules/signin/runtimeConfig.js +4 -8
  451. package/node_modules/@aws-sdk/nested-clients/dist-es/submodules/signin/runtimeConfig.shared.js +3 -4
  452. package/node_modules/@aws-sdk/nested-clients/dist-es/submodules/signin/runtimeExtensions.js +2 -2
  453. package/node_modules/@aws-sdk/nested-clients/dist-es/submodules/sso/SSO.js +1 -1
  454. package/node_modules/@aws-sdk/nested-clients/dist-es/submodules/sso/SSOClient.js +5 -5
  455. package/node_modules/@aws-sdk/nested-clients/dist-es/submodules/sso/auth/httpAuthSchemeProvider.js +1 -1
  456. package/node_modules/@aws-sdk/nested-clients/dist-es/submodules/sso/commands/GetRoleCredentialsCommand.js +2 -2
  457. package/node_modules/@aws-sdk/nested-clients/dist-es/submodules/sso/endpoint/bdd.js +1 -1
  458. package/node_modules/@aws-sdk/nested-clients/dist-es/submodules/sso/endpoint/endpointResolver.js +1 -1
  459. package/node_modules/@aws-sdk/nested-clients/dist-es/submodules/sso/models/SSOServiceException.js +1 -1
  460. package/node_modules/@aws-sdk/nested-clients/dist-es/submodules/sso/runtimeConfig.browser.js +4 -6
  461. package/node_modules/@aws-sdk/nested-clients/dist-es/submodules/sso/runtimeConfig.js +4 -8
  462. package/node_modules/@aws-sdk/nested-clients/dist-es/submodules/sso/runtimeConfig.shared.js +3 -4
  463. package/node_modules/@aws-sdk/nested-clients/dist-es/submodules/sso/runtimeExtensions.js +2 -2
  464. package/node_modules/@aws-sdk/nested-clients/dist-es/submodules/sso-oidc/SSOOIDC.js +1 -1
  465. package/node_modules/@aws-sdk/nested-clients/dist-es/submodules/sso-oidc/SSOOIDCClient.js +5 -5
  466. package/node_modules/@aws-sdk/nested-clients/dist-es/submodules/sso-oidc/auth/httpAuthSchemeProvider.js +1 -1
  467. package/node_modules/@aws-sdk/nested-clients/dist-es/submodules/sso-oidc/commands/CreateTokenCommand.js +2 -2
  468. package/node_modules/@aws-sdk/nested-clients/dist-es/submodules/sso-oidc/endpoint/bdd.js +1 -1
  469. package/node_modules/@aws-sdk/nested-clients/dist-es/submodules/sso-oidc/endpoint/endpointResolver.js +1 -1
  470. package/node_modules/@aws-sdk/nested-clients/dist-es/submodules/sso-oidc/models/SSOOIDCServiceException.js +1 -1
  471. package/node_modules/@aws-sdk/nested-clients/dist-es/submodules/sso-oidc/runtimeConfig.browser.js +4 -6
  472. package/node_modules/@aws-sdk/nested-clients/dist-es/submodules/sso-oidc/runtimeConfig.js +4 -8
  473. package/node_modules/@aws-sdk/nested-clients/dist-es/submodules/sso-oidc/runtimeConfig.shared.js +3 -4
  474. package/node_modules/@aws-sdk/nested-clients/dist-es/submodules/sso-oidc/runtimeExtensions.js +2 -2
  475. package/node_modules/@aws-sdk/nested-clients/dist-es/submodules/sts/STS.js +1 -1
  476. package/node_modules/@aws-sdk/nested-clients/dist-es/submodules/sts/STSClient.js +5 -5
  477. package/node_modules/@aws-sdk/nested-clients/dist-es/submodules/sts/auth/httpAuthSchemeProvider.js +5 -10
  478. package/node_modules/@aws-sdk/nested-clients/dist-es/submodules/sts/commands/AssumeRoleCommand.js +2 -2
  479. package/node_modules/@aws-sdk/nested-clients/dist-es/submodules/sts/commands/AssumeRoleWithWebIdentityCommand.js +2 -2
  480. package/node_modules/@aws-sdk/nested-clients/dist-es/submodules/sts/defaultStsRoleAssumers.js +0 -5
  481. package/node_modules/@aws-sdk/nested-clients/dist-es/submodules/sts/endpoint/bdd.js +1 -1
  482. package/node_modules/@aws-sdk/nested-clients/dist-es/submodules/sts/endpoint/endpointResolver.js +1 -1
  483. package/node_modules/@aws-sdk/nested-clients/dist-es/submodules/sts/models/STSServiceException.js +1 -1
  484. package/node_modules/@aws-sdk/nested-clients/dist-es/submodules/sts/runtimeConfig.browser.js +4 -6
  485. package/node_modules/@aws-sdk/nested-clients/dist-es/submodules/sts/runtimeConfig.js +4 -8
  486. package/node_modules/@aws-sdk/nested-clients/dist-es/submodules/sts/runtimeConfig.shared.js +3 -4
  487. package/node_modules/@aws-sdk/nested-clients/dist-es/submodules/sts/runtimeExtensions.js +2 -2
  488. package/node_modules/@aws-sdk/nested-clients/dist-types/submodules/cognito-identity/CognitoIdentityClient.d.ts +5 -5
  489. package/node_modules/@aws-sdk/nested-clients/dist-types/submodules/cognito-identity/commands/GetCredentialsForIdentityCommand.d.ts +6 -4
  490. package/node_modules/@aws-sdk/nested-clients/dist-types/submodules/cognito-identity/commands/GetIdCommand.d.ts +6 -4
  491. package/node_modules/@aws-sdk/nested-clients/dist-types/submodules/cognito-identity/endpoint/bdd.d.ts +1 -1
  492. package/node_modules/@aws-sdk/nested-clients/dist-types/submodules/cognito-identity/extensionConfiguration.d.ts +1 -1
  493. package/node_modules/@aws-sdk/nested-clients/dist-types/submodules/cognito-identity/models/CognitoIdentityServiceException.d.ts +1 -1
  494. package/node_modules/@aws-sdk/nested-clients/dist-types/submodules/cognito-identity/models/errors.d.ts +1 -1
  495. package/node_modules/@aws-sdk/nested-clients/dist-types/submodules/cognito-identity/runtimeConfig.browser.d.ts +4 -4
  496. package/node_modules/@aws-sdk/nested-clients/dist-types/submodules/cognito-identity/runtimeConfig.d.ts +3 -3
  497. package/node_modules/@aws-sdk/nested-clients/dist-types/submodules/cognito-identity/runtimeConfig.native.d.ts +4 -4
  498. package/node_modules/@aws-sdk/nested-clients/dist-types/submodules/signin/SigninClient.d.ts +5 -5
  499. package/node_modules/@aws-sdk/nested-clients/dist-types/submodules/signin/commands/CreateOAuth2TokenCommand.d.ts +6 -4
  500. package/node_modules/@aws-sdk/nested-clients/dist-types/submodules/signin/endpoint/bdd.d.ts +1 -1
  501. package/node_modules/@aws-sdk/nested-clients/dist-types/submodules/signin/extensionConfiguration.d.ts +1 -1
  502. package/node_modules/@aws-sdk/nested-clients/dist-types/submodules/signin/models/SigninServiceException.d.ts +1 -1
  503. package/node_modules/@aws-sdk/nested-clients/dist-types/submodules/signin/models/errors.d.ts +1 -1
  504. package/node_modules/@aws-sdk/nested-clients/dist-types/submodules/signin/runtimeConfig.browser.d.ts +4 -4
  505. package/node_modules/@aws-sdk/nested-clients/dist-types/submodules/signin/runtimeConfig.d.ts +3 -3
  506. package/node_modules/@aws-sdk/nested-clients/dist-types/submodules/signin/runtimeConfig.native.d.ts +4 -4
  507. package/node_modules/@aws-sdk/nested-clients/dist-types/submodules/sso/SSOClient.d.ts +5 -5
  508. package/node_modules/@aws-sdk/nested-clients/dist-types/submodules/sso/commands/GetRoleCredentialsCommand.d.ts +6 -4
  509. package/node_modules/@aws-sdk/nested-clients/dist-types/submodules/sso/endpoint/bdd.d.ts +1 -1
  510. package/node_modules/@aws-sdk/nested-clients/dist-types/submodules/sso/extensionConfiguration.d.ts +1 -1
  511. package/node_modules/@aws-sdk/nested-clients/dist-types/submodules/sso/models/SSOServiceException.d.ts +1 -1
  512. package/node_modules/@aws-sdk/nested-clients/dist-types/submodules/sso/models/errors.d.ts +1 -1
  513. package/node_modules/@aws-sdk/nested-clients/dist-types/submodules/sso/runtimeConfig.browser.d.ts +4 -4
  514. package/node_modules/@aws-sdk/nested-clients/dist-types/submodules/sso/runtimeConfig.d.ts +3 -3
  515. package/node_modules/@aws-sdk/nested-clients/dist-types/submodules/sso/runtimeConfig.native.d.ts +4 -4
  516. package/node_modules/@aws-sdk/nested-clients/dist-types/submodules/sso-oidc/SSOOIDCClient.d.ts +5 -5
  517. package/node_modules/@aws-sdk/nested-clients/dist-types/submodules/sso-oidc/commands/CreateTokenCommand.d.ts +6 -4
  518. package/node_modules/@aws-sdk/nested-clients/dist-types/submodules/sso-oidc/endpoint/bdd.d.ts +1 -1
  519. package/node_modules/@aws-sdk/nested-clients/dist-types/submodules/sso-oidc/extensionConfiguration.d.ts +1 -1
  520. package/node_modules/@aws-sdk/nested-clients/dist-types/submodules/sso-oidc/models/SSOOIDCServiceException.d.ts +1 -1
  521. package/node_modules/@aws-sdk/nested-clients/dist-types/submodules/sso-oidc/models/errors.d.ts +1 -1
  522. package/node_modules/@aws-sdk/nested-clients/dist-types/submodules/sso-oidc/runtimeConfig.browser.d.ts +4 -4
  523. package/node_modules/@aws-sdk/nested-clients/dist-types/submodules/sso-oidc/runtimeConfig.d.ts +3 -3
  524. package/node_modules/@aws-sdk/nested-clients/dist-types/submodules/sso-oidc/runtimeConfig.native.d.ts +4 -4
  525. package/node_modules/@aws-sdk/nested-clients/dist-types/submodules/sts/STSClient.d.ts +5 -5
  526. package/node_modules/@aws-sdk/nested-clients/dist-types/submodules/sts/auth/httpAuthSchemeProvider.d.ts +3 -13
  527. package/node_modules/@aws-sdk/nested-clients/dist-types/submodules/sts/commands/AssumeRoleCommand.d.ts +6 -4
  528. package/node_modules/@aws-sdk/nested-clients/dist-types/submodules/sts/commands/AssumeRoleWithWebIdentityCommand.d.ts +6 -4
  529. package/node_modules/@aws-sdk/nested-clients/dist-types/submodules/sts/defaultStsRoleAssumers.d.ts +0 -9
  530. package/node_modules/@aws-sdk/nested-clients/dist-types/submodules/sts/endpoint/bdd.d.ts +1 -1
  531. package/node_modules/@aws-sdk/nested-clients/dist-types/submodules/sts/extensionConfiguration.d.ts +1 -1
  532. package/node_modules/@aws-sdk/nested-clients/dist-types/submodules/sts/models/STSServiceException.d.ts +1 -1
  533. package/node_modules/@aws-sdk/nested-clients/dist-types/submodules/sts/models/errors.d.ts +1 -1
  534. package/node_modules/@aws-sdk/nested-clients/dist-types/submodules/sts/runtimeConfig.browser.d.ts +4 -4
  535. package/node_modules/@aws-sdk/nested-clients/dist-types/submodules/sts/runtimeConfig.d.ts +3 -3
  536. package/node_modules/@aws-sdk/nested-clients/dist-types/submodules/sts/runtimeConfig.native.d.ts +4 -4
  537. package/node_modules/@aws-sdk/nested-clients/dist-types/ts3.4/submodules/cognito-identity/CognitoIdentityClient.d.ts +8 -14
  538. package/node_modules/@aws-sdk/nested-clients/dist-types/ts3.4/submodules/cognito-identity/commands/GetCredentialsForIdentityCommand.d.ts +6 -4
  539. package/node_modules/@aws-sdk/nested-clients/dist-types/ts3.4/submodules/cognito-identity/commands/GetIdCommand.d.ts +6 -4
  540. package/node_modules/@aws-sdk/nested-clients/dist-types/ts3.4/submodules/cognito-identity/endpoint/bdd.d.ts +1 -1
  541. package/node_modules/@aws-sdk/nested-clients/dist-types/ts3.4/submodules/cognito-identity/extensionConfiguration.d.ts +1 -1
  542. package/node_modules/@aws-sdk/nested-clients/dist-types/ts3.4/submodules/cognito-identity/models/CognitoIdentityServiceException.d.ts +1 -1
  543. package/node_modules/@aws-sdk/nested-clients/dist-types/ts3.4/submodules/cognito-identity/models/errors.d.ts +1 -1
  544. package/node_modules/@aws-sdk/nested-clients/dist-types/ts3.4/submodules/cognito-identity/runtimeConfig.browser.d.ts +4 -4
  545. package/node_modules/@aws-sdk/nested-clients/dist-types/ts3.4/submodules/cognito-identity/runtimeConfig.d.ts +3 -3
  546. package/node_modules/@aws-sdk/nested-clients/dist-types/ts3.4/submodules/cognito-identity/runtimeConfig.native.d.ts +5 -5
  547. package/node_modules/@aws-sdk/nested-clients/dist-types/ts3.4/submodules/signin/SigninClient.d.ts +8 -14
  548. package/node_modules/@aws-sdk/nested-clients/dist-types/ts3.4/submodules/signin/commands/CreateOAuth2TokenCommand.d.ts +6 -4
  549. package/node_modules/@aws-sdk/nested-clients/dist-types/ts3.4/submodules/signin/endpoint/bdd.d.ts +1 -1
  550. package/node_modules/@aws-sdk/nested-clients/dist-types/ts3.4/submodules/signin/extensionConfiguration.d.ts +1 -1
  551. package/node_modules/@aws-sdk/nested-clients/dist-types/ts3.4/submodules/signin/models/SigninServiceException.d.ts +1 -1
  552. package/node_modules/@aws-sdk/nested-clients/dist-types/ts3.4/submodules/signin/models/errors.d.ts +1 -1
  553. package/node_modules/@aws-sdk/nested-clients/dist-types/ts3.4/submodules/signin/runtimeConfig.browser.d.ts +4 -4
  554. package/node_modules/@aws-sdk/nested-clients/dist-types/ts3.4/submodules/signin/runtimeConfig.d.ts +3 -3
  555. package/node_modules/@aws-sdk/nested-clients/dist-types/ts3.4/submodules/signin/runtimeConfig.native.d.ts +5 -5
  556. package/node_modules/@aws-sdk/nested-clients/dist-types/ts3.4/submodules/sso/SSOClient.d.ts +8 -14
  557. package/node_modules/@aws-sdk/nested-clients/dist-types/ts3.4/submodules/sso/commands/GetRoleCredentialsCommand.d.ts +6 -4
  558. package/node_modules/@aws-sdk/nested-clients/dist-types/ts3.4/submodules/sso/endpoint/bdd.d.ts +1 -1
  559. package/node_modules/@aws-sdk/nested-clients/dist-types/ts3.4/submodules/sso/extensionConfiguration.d.ts +1 -1
  560. package/node_modules/@aws-sdk/nested-clients/dist-types/ts3.4/submodules/sso/models/SSOServiceException.d.ts +1 -1
  561. package/node_modules/@aws-sdk/nested-clients/dist-types/ts3.4/submodules/sso/models/errors.d.ts +1 -1
  562. package/node_modules/@aws-sdk/nested-clients/dist-types/ts3.4/submodules/sso/runtimeConfig.browser.d.ts +4 -4
  563. package/node_modules/@aws-sdk/nested-clients/dist-types/ts3.4/submodules/sso/runtimeConfig.d.ts +3 -3
  564. package/node_modules/@aws-sdk/nested-clients/dist-types/ts3.4/submodules/sso/runtimeConfig.native.d.ts +5 -5
  565. package/node_modules/@aws-sdk/nested-clients/dist-types/ts3.4/submodules/sso-oidc/SSOOIDCClient.d.ts +8 -14
  566. package/node_modules/@aws-sdk/nested-clients/dist-types/ts3.4/submodules/sso-oidc/commands/CreateTokenCommand.d.ts +6 -4
  567. package/node_modules/@aws-sdk/nested-clients/dist-types/ts3.4/submodules/sso-oidc/endpoint/bdd.d.ts +1 -1
  568. package/node_modules/@aws-sdk/nested-clients/dist-types/ts3.4/submodules/sso-oidc/extensionConfiguration.d.ts +1 -1
  569. package/node_modules/@aws-sdk/nested-clients/dist-types/ts3.4/submodules/sso-oidc/models/SSOOIDCServiceException.d.ts +1 -1
  570. package/node_modules/@aws-sdk/nested-clients/dist-types/ts3.4/submodules/sso-oidc/models/errors.d.ts +1 -1
  571. package/node_modules/@aws-sdk/nested-clients/dist-types/ts3.4/submodules/sso-oidc/runtimeConfig.browser.d.ts +4 -4
  572. package/node_modules/@aws-sdk/nested-clients/dist-types/ts3.4/submodules/sso-oidc/runtimeConfig.d.ts +3 -3
  573. package/node_modules/@aws-sdk/nested-clients/dist-types/ts3.4/submodules/sso-oidc/runtimeConfig.native.d.ts +5 -5
  574. package/node_modules/@aws-sdk/nested-clients/dist-types/ts3.4/submodules/sts/STSClient.d.ts +8 -14
  575. package/node_modules/@aws-sdk/nested-clients/dist-types/ts3.4/submodules/sts/auth/httpAuthSchemeProvider.d.ts +2 -12
  576. package/node_modules/@aws-sdk/nested-clients/dist-types/ts3.4/submodules/sts/commands/AssumeRoleCommand.d.ts +6 -4
  577. package/node_modules/@aws-sdk/nested-clients/dist-types/ts3.4/submodules/sts/commands/AssumeRoleWithWebIdentityCommand.d.ts +6 -4
  578. package/node_modules/@aws-sdk/nested-clients/dist-types/ts3.4/submodules/sts/defaultStsRoleAssumers.d.ts +0 -3
  579. package/node_modules/@aws-sdk/nested-clients/dist-types/ts3.4/submodules/sts/endpoint/bdd.d.ts +1 -1
  580. package/node_modules/@aws-sdk/nested-clients/dist-types/ts3.4/submodules/sts/extensionConfiguration.d.ts +1 -1
  581. package/node_modules/@aws-sdk/nested-clients/dist-types/ts3.4/submodules/sts/models/STSServiceException.d.ts +1 -1
  582. package/node_modules/@aws-sdk/nested-clients/dist-types/ts3.4/submodules/sts/models/errors.d.ts +1 -1
  583. package/node_modules/@aws-sdk/nested-clients/dist-types/ts3.4/submodules/sts/runtimeConfig.browser.d.ts +4 -4
  584. package/node_modules/@aws-sdk/nested-clients/dist-types/ts3.4/submodules/sts/runtimeConfig.d.ts +3 -3
  585. package/node_modules/@aws-sdk/nested-clients/dist-types/ts3.4/submodules/sts/runtimeConfig.native.d.ts +5 -5
  586. package/node_modules/@aws-sdk/nested-clients/package.json +13 -34
  587. package/node_modules/@aws-sdk/region-config-resolver/dist-cjs/index.js +6 -6
  588. package/node_modules/@aws-sdk/region-config-resolver/dist-cjs/regionConfig/stsRegionDefaultResolver.browser.js +6 -0
  589. package/node_modules/@aws-sdk/region-config-resolver/dist-cjs/regionConfig/stsRegionDefaultResolver.js +4 -5
  590. package/node_modules/@aws-sdk/region-config-resolver/dist-es/regionConfig/awsRegionConfig.js +2 -2
  591. package/node_modules/@aws-sdk/region-config-resolver/dist-es/regionConfig/stsRegionDefaultResolver.js +1 -2
  592. package/node_modules/@aws-sdk/region-config-resolver/dist-types/regionConfig/awsRegionConfig.d.ts +3 -3
  593. package/node_modules/@aws-sdk/region-config-resolver/dist-types/regionConfig/stsRegionDefaultResolver.d.ts +1 -1
  594. package/node_modules/@aws-sdk/region-config-resolver/dist-types/ts3.4/regionConfig/awsRegionConfig.d.ts +3 -6
  595. package/node_modules/@aws-sdk/region-config-resolver/dist-types/ts3.4/regionConfig/stsRegionDefaultResolver.d.ts +1 -1
  596. package/node_modules/@aws-sdk/region-config-resolver/package.json +6 -4
  597. package/node_modules/@aws-sdk/signature-v4-multi-region/dist-cjs/index.js +38 -2
  598. package/node_modules/@aws-sdk/signature-v4-multi-region/dist-es/SignatureV4MultiRegion.js +2 -2
  599. package/node_modules/@aws-sdk/signature-v4-multi-region/dist-es/SignatureV4SignWithCredentials.js +36 -0
  600. package/node_modules/@aws-sdk/signature-v4-multi-region/dist-es/index.js +3 -2
  601. package/node_modules/@aws-sdk/signature-v4-multi-region/dist-types/SignatureV4MultiRegion.d.ts +1 -1
  602. package/node_modules/@aws-sdk/signature-v4-multi-region/dist-types/SignatureV4SignWithCredentials.d.ts +20 -0
  603. package/node_modules/@aws-sdk/signature-v4-multi-region/dist-types/index.d.ts +3 -5
  604. package/node_modules/@aws-sdk/signature-v4-multi-region/dist-types/ts3.4/SignatureV4SignWithCredentials.d.ts +21 -0
  605. package/node_modules/@aws-sdk/signature-v4-multi-region/dist-types/ts3.4/index.d.ts +9 -2
  606. package/node_modules/@aws-sdk/signature-v4-multi-region/package.json +3 -4
  607. package/node_modules/@aws-sdk/token-providers/dist-cjs/index.js +18 -19
  608. package/node_modules/@aws-sdk/token-providers/dist-es/fromEnvSigningName.js +1 -1
  609. package/node_modules/@aws-sdk/token-providers/dist-es/fromSso.js +1 -2
  610. package/node_modules/@aws-sdk/token-providers/dist-es/fromStatic.js +1 -1
  611. package/node_modules/@aws-sdk/token-providers/dist-es/nodeProvider.js +1 -1
  612. package/node_modules/@aws-sdk/token-providers/dist-es/validateTokenExpiry.js +1 -1
  613. package/node_modules/@aws-sdk/token-providers/dist-es/validateTokenKey.js +1 -1
  614. package/node_modules/@aws-sdk/token-providers/dist-es/writeSSOTokenToFile.js +1 -1
  615. package/node_modules/@aws-sdk/token-providers/dist-types/fromSso.d.ts +1 -1
  616. package/node_modules/@aws-sdk/token-providers/dist-types/getNewSsoOidcToken.d.ts +1 -1
  617. package/node_modules/@aws-sdk/token-providers/dist-types/ts3.4/fromSso.d.ts +1 -1
  618. package/node_modules/@aws-sdk/token-providers/dist-types/ts3.4/getNewSsoOidcToken.d.ts +1 -1
  619. package/node_modules/@aws-sdk/token-providers/dist-types/ts3.4/writeSSOTokenToFile.d.ts +1 -1
  620. package/node_modules/@aws-sdk/token-providers/dist-types/writeSSOTokenToFile.d.ts +1 -1
  621. package/node_modules/@aws-sdk/token-providers/package.json +4 -5
  622. package/node_modules/@aws-sdk/util-endpoints/dist-cjs/index.js +9 -9
  623. package/node_modules/@aws-sdk/util-endpoints/dist-es/aws.js +1 -1
  624. package/node_modules/@aws-sdk/util-endpoints/dist-es/lib/aws/isVirtualHostableS3Bucket.js +1 -1
  625. package/node_modules/@aws-sdk/util-endpoints/dist-es/lib/isIpAddress.js +1 -1
  626. package/node_modules/@aws-sdk/util-endpoints/dist-es/resolveDefaultAwsRegionalEndpointsConfig.js +1 -1
  627. package/node_modules/@aws-sdk/util-endpoints/dist-es/resolveEndpoint.js +1 -1
  628. package/node_modules/@aws-sdk/util-endpoints/dist-es/types/EndpointError.js +1 -1
  629. package/node_modules/@aws-sdk/util-endpoints/dist-types/aws.d.ts +1 -1
  630. package/node_modules/@aws-sdk/util-endpoints/dist-types/lib/isIpAddress.d.ts +1 -1
  631. package/node_modules/@aws-sdk/util-endpoints/dist-types/resolveEndpoint.d.ts +1 -1
  632. package/node_modules/@aws-sdk/util-endpoints/dist-types/ts3.4/aws.d.ts +1 -1
  633. package/node_modules/@aws-sdk/util-endpoints/dist-types/ts3.4/lib/isIpAddress.d.ts +1 -1
  634. package/node_modules/@aws-sdk/util-endpoints/dist-types/ts3.4/resolveEndpoint.d.ts +1 -1
  635. package/node_modules/@aws-sdk/util-endpoints/dist-types/ts3.4/types/EndpointError.d.ts +1 -1
  636. package/node_modules/@aws-sdk/util-endpoints/dist-types/ts3.4/types/EndpointRuleObject.d.ts +1 -1
  637. package/node_modules/@aws-sdk/util-endpoints/dist-types/ts3.4/types/ErrorRuleObject.d.ts +1 -1
  638. package/node_modules/@aws-sdk/util-endpoints/dist-types/ts3.4/types/RuleSetObject.d.ts +1 -1
  639. package/node_modules/@aws-sdk/util-endpoints/dist-types/ts3.4/types/TreeRuleObject.d.ts +1 -1
  640. package/node_modules/@aws-sdk/util-endpoints/dist-types/ts3.4/types/shared.d.ts +1 -1
  641. package/node_modules/@aws-sdk/util-endpoints/dist-types/types/EndpointError.d.ts +1 -1
  642. package/node_modules/@aws-sdk/util-endpoints/dist-types/types/EndpointRuleObject.d.ts +1 -1
  643. package/node_modules/@aws-sdk/util-endpoints/dist-types/types/ErrorRuleObject.d.ts +1 -1
  644. package/node_modules/@aws-sdk/util-endpoints/dist-types/types/RuleSetObject.d.ts +1 -1
  645. package/node_modules/@aws-sdk/util-endpoints/dist-types/types/TreeRuleObject.d.ts +1 -1
  646. package/node_modules/@aws-sdk/util-endpoints/dist-types/types/shared.d.ts +1 -1
  647. package/node_modules/@aws-sdk/util-endpoints/package.json +2 -3
  648. package/node_modules/@aws-sdk/util-user-agent-browser/dist-cjs/createUserAgentStringParsingProvider.js +1 -34
  649. package/node_modules/@aws-sdk/util-user-agent-browser/dist-cjs/index.browser.js +4 -0
  650. package/node_modules/@aws-sdk/util-user-agent-browser/dist-cjs/index.js +13 -10
  651. package/node_modules/@aws-sdk/util-user-agent-browser/dist-es/index.browser.js +1 -0
  652. package/node_modules/@aws-sdk/util-user-agent-browser/dist-types/index.browser.d.ts +1 -0
  653. package/node_modules/@aws-sdk/util-user-agent-browser/dist-types/ts3.4/index.browser.d.ts +1 -0
  654. package/node_modules/@aws-sdk/util-user-agent-browser/package.json +8 -3
  655. package/node_modules/@aws-sdk/util-user-agent-node/dist-cjs/index.js +2 -2
  656. package/node_modules/@aws-sdk/util-user-agent-node/dist-es/getTypeScriptUserAgentPair.js +1 -1
  657. package/node_modules/@aws-sdk/util-user-agent-node/dist-types/nodeAppIdConfigOptions.d.ts +1 -1
  658. package/node_modules/@aws-sdk/util-user-agent-node/dist-types/ts3.4/nodeAppIdConfigOptions.d.ts +1 -1
  659. package/node_modules/@aws-sdk/util-user-agent-node/package.json +3 -4
  660. package/node_modules/@aws-sdk/xml-builder/dist-cjs/xml-parser.browser.js +60 -0
  661. package/node_modules/@aws-sdk/xml-builder/package.json +3 -3
  662. package/node_modules/@entelligentsia/pi-agent-core/README.md +488 -0
  663. package/node_modules/@entelligentsia/pi-agent-core/dist/agent-loop.d.ts +24 -0
  664. package/node_modules/@entelligentsia/pi-agent-core/dist/agent-loop.d.ts.map +1 -0
  665. package/node_modules/@entelligentsia/pi-agent-core/dist/agent-loop.js +458 -0
  666. package/node_modules/@entelligentsia/pi-agent-core/dist/agent-loop.js.map +1 -0
  667. package/node_modules/@entelligentsia/pi-agent-core/dist/agent.d.ts +117 -0
  668. package/node_modules/@entelligentsia/pi-agent-core/dist/agent.d.ts.map +1 -0
  669. package/node_modules/@entelligentsia/pi-agent-core/dist/agent.js +398 -0
  670. package/node_modules/@entelligentsia/pi-agent-core/dist/agent.js.map +1 -0
  671. package/node_modules/@entelligentsia/pi-agent-core/dist/proxy.d.ts +69 -0
  672. package/node_modules/@entelligentsia/pi-agent-core/dist/proxy.d.ts.map +1 -0
  673. package/node_modules/@entelligentsia/pi-agent-core/dist/proxy.js +278 -0
  674. package/node_modules/@entelligentsia/pi-agent-core/dist/proxy.js.map +1 -0
  675. package/node_modules/@entelligentsia/pi-agent-core/dist/types.d.ts +369 -0
  676. package/node_modules/@entelligentsia/pi-agent-core/dist/types.d.ts.map +1 -0
  677. package/node_modules/@entelligentsia/pi-agent-core/dist/types.js.map +1 -0
  678. package/node_modules/@entelligentsia/pi-agent-core/package.json +45 -0
  679. package/node_modules/@entelligentsia/pi-ai/README.md +1313 -0
  680. package/node_modules/@entelligentsia/pi-ai/dist/cli.d.ts.map +1 -0
  681. package/node_modules/@entelligentsia/pi-ai/dist/cli.js +116 -0
  682. package/node_modules/@entelligentsia/pi-ai/dist/cli.js.map +1 -0
  683. package/node_modules/@entelligentsia/pi-ai/dist/models.generated.d.ts +17265 -0
  684. package/node_modules/@entelligentsia/pi-ai/dist/models.generated.d.ts.map +1 -0
  685. package/node_modules/@entelligentsia/pi-ai/dist/models.generated.js +16500 -0
  686. package/node_modules/@entelligentsia/pi-ai/dist/models.generated.js.map +1 -0
  687. package/node_modules/@entelligentsia/pi-ai/dist/utils/oauth/types.js +2 -0
  688. package/node_modules/@entelligentsia/pi-ai/package.json +108 -0
  689. package/node_modules/@entelligentsia/pi-coding-agent/CHANGELOG.md +4166 -0
  690. package/node_modules/@entelligentsia/pi-coding-agent/README.md +652 -0
  691. package/node_modules/@entelligentsia/pi-coding-agent/dist/bun/register-bedrock.d.ts.map +1 -0
  692. package/node_modules/@entelligentsia/pi-coding-agent/dist/bun/register-bedrock.js +4 -0
  693. package/node_modules/@entelligentsia/pi-coding-agent/dist/bun/register-bedrock.js.map +1 -0
  694. package/node_modules/@entelligentsia/pi-coding-agent/dist/cli/args.d.ts +53 -0
  695. package/node_modules/@entelligentsia/pi-coding-agent/dist/cli/args.d.ts.map +1 -0
  696. package/node_modules/@entelligentsia/pi-coding-agent/dist/cli/args.js.map +1 -0
  697. package/node_modules/@entelligentsia/pi-coding-agent/dist/cli/config-selector.d.ts.map +1 -0
  698. package/node_modules/@entelligentsia/pi-coding-agent/dist/cli/config-selector.js +31 -0
  699. package/node_modules/@entelligentsia/pi-coding-agent/dist/cli/config-selector.js.map +1 -0
  700. package/node_modules/@entelligentsia/pi-coding-agent/dist/cli/file-processor.d.ts +15 -0
  701. package/node_modules/@entelligentsia/pi-coding-agent/dist/cli/file-processor.d.ts.map +1 -0
  702. package/node_modules/@entelligentsia/pi-coding-agent/dist/cli/file-processor.js.map +1 -0
  703. package/node_modules/@entelligentsia/pi-coding-agent/dist/cli/initial-message.d.ts +18 -0
  704. package/node_modules/@entelligentsia/pi-coding-agent/dist/cli/initial-message.d.ts.map +1 -0
  705. package/node_modules/@entelligentsia/pi-coding-agent/dist/cli/initial-message.js.map +1 -0
  706. package/node_modules/@entelligentsia/pi-coding-agent/dist/cli/list-models.d.ts.map +1 -0
  707. package/node_modules/@entelligentsia/pi-coding-agent/dist/cli/list-models.js +98 -0
  708. package/node_modules/@entelligentsia/pi-coding-agent/dist/cli/list-models.js.map +1 -0
  709. package/node_modules/@entelligentsia/pi-coding-agent/dist/cli/session-picker.d.ts.map +1 -0
  710. package/node_modules/@entelligentsia/pi-coding-agent/dist/cli/session-picker.js +35 -0
  711. package/node_modules/@entelligentsia/pi-coding-agent/dist/cli/session-picker.js.map +1 -0
  712. package/node_modules/@entelligentsia/pi-coding-agent/dist/config.d.ts.map +1 -0
  713. package/node_modules/@entelligentsia/pi-coding-agent/dist/config.js +399 -0
  714. package/node_modules/@entelligentsia/pi-coding-agent/dist/config.js.map +1 -0
  715. package/node_modules/@entelligentsia/pi-coding-agent/dist/core/agent-session-services.d.ts +86 -0
  716. package/node_modules/@entelligentsia/pi-coding-agent/dist/core/agent-session-services.d.ts.map +1 -0
  717. package/node_modules/@entelligentsia/pi-coding-agent/dist/core/agent-session-services.js.map +1 -0
  718. package/node_modules/@entelligentsia/pi-coding-agent/dist/core/agent-session.d.ts +595 -0
  719. package/node_modules/@entelligentsia/pi-coding-agent/dist/core/agent-session.d.ts.map +1 -0
  720. package/node_modules/@entelligentsia/pi-coding-agent/dist/core/agent-session.js +2521 -0
  721. package/node_modules/@entelligentsia/pi-coding-agent/dist/core/agent-session.js.map +1 -0
  722. package/node_modules/@entelligentsia/pi-coding-agent/dist/core/auth-storage.d.ts +141 -0
  723. package/node_modules/@entelligentsia/pi-coding-agent/dist/core/auth-storage.d.ts.map +1 -0
  724. package/node_modules/@entelligentsia/pi-coding-agent/dist/core/auth-storage.js +441 -0
  725. package/node_modules/@entelligentsia/pi-coding-agent/dist/core/auth-storage.js.map +1 -0
  726. package/node_modules/@entelligentsia/pi-coding-agent/dist/core/compaction/branch-summarization.d.ts +88 -0
  727. package/node_modules/@entelligentsia/pi-coding-agent/dist/core/compaction/branch-summarization.d.ts.map +1 -0
  728. package/node_modules/@entelligentsia/pi-coding-agent/dist/core/compaction/branch-summarization.js +243 -0
  729. package/node_modules/@entelligentsia/pi-coding-agent/dist/core/compaction/branch-summarization.js.map +1 -0
  730. package/node_modules/@entelligentsia/pi-coding-agent/dist/core/compaction/compaction.d.ts +121 -0
  731. package/node_modules/@entelligentsia/pi-coding-agent/dist/core/compaction/compaction.d.ts.map +1 -0
  732. package/node_modules/@entelligentsia/pi-coding-agent/dist/core/compaction/compaction.js +615 -0
  733. package/node_modules/@entelligentsia/pi-coding-agent/dist/core/compaction/compaction.js.map +1 -0
  734. package/node_modules/@entelligentsia/pi-coding-agent/dist/core/compaction/utils.d.ts +38 -0
  735. package/node_modules/@entelligentsia/pi-coding-agent/dist/core/compaction/utils.d.ts.map +1 -0
  736. package/node_modules/@entelligentsia/pi-coding-agent/dist/core/compaction/utils.js.map +1 -0
  737. package/node_modules/@entelligentsia/pi-coding-agent/dist/core/defaults.d.ts +3 -0
  738. package/node_modules/@entelligentsia/pi-coding-agent/dist/core/defaults.d.ts.map +1 -0
  739. package/node_modules/@entelligentsia/pi-coding-agent/dist/core/defaults.js.map +1 -0
  740. package/node_modules/@entelligentsia/pi-coding-agent/dist/core/export-html/index.d.ts +37 -0
  741. package/node_modules/@entelligentsia/pi-coding-agent/dist/core/export-html/index.d.ts.map +1 -0
  742. package/node_modules/@entelligentsia/pi-coding-agent/dist/core/export-html/index.js.map +1 -0
  743. package/node_modules/@entelligentsia/pi-coding-agent/dist/core/export-html/tool-renderer.d.ts.map +1 -0
  744. package/node_modules/@entelligentsia/pi-coding-agent/dist/core/export-html/tool-renderer.js.map +1 -0
  745. package/node_modules/@entelligentsia/pi-coding-agent/dist/core/extensions/loader.d.ts.map +1 -0
  746. package/node_modules/@entelligentsia/pi-coding-agent/dist/core/extensions/loader.js +498 -0
  747. package/node_modules/@entelligentsia/pi-coding-agent/dist/core/extensions/loader.js.map +1 -0
  748. package/node_modules/@entelligentsia/pi-coding-agent/dist/core/extensions/runner.d.ts +159 -0
  749. package/node_modules/@entelligentsia/pi-coding-agent/dist/core/extensions/runner.d.ts.map +1 -0
  750. package/node_modules/@entelligentsia/pi-coding-agent/dist/core/extensions/runner.js +825 -0
  751. package/node_modules/@entelligentsia/pi-coding-agent/dist/core/extensions/runner.js.map +1 -0
  752. package/node_modules/@entelligentsia/pi-coding-agent/dist/core/extensions/types.d.ts +1187 -0
  753. package/node_modules/@entelligentsia/pi-coding-agent/dist/core/extensions/types.d.ts.map +1 -0
  754. package/node_modules/@entelligentsia/pi-coding-agent/dist/core/extensions/types.js.map +1 -0
  755. package/node_modules/@entelligentsia/pi-coding-agent/dist/core/extensions/wrapper.d.ts +20 -0
  756. package/node_modules/@entelligentsia/pi-coding-agent/dist/core/extensions/wrapper.d.ts.map +1 -0
  757. package/node_modules/@entelligentsia/pi-coding-agent/dist/core/extensions/wrapper.js.map +1 -0
  758. package/node_modules/@entelligentsia/pi-coding-agent/dist/core/keybindings.d.ts +353 -0
  759. package/node_modules/@entelligentsia/pi-coding-agent/dist/core/keybindings.d.ts.map +1 -0
  760. package/node_modules/@entelligentsia/pi-coding-agent/dist/core/keybindings.js +295 -0
  761. package/node_modules/@entelligentsia/pi-coding-agent/dist/core/keybindings.js.map +1 -0
  762. package/node_modules/@entelligentsia/pi-coding-agent/dist/core/messages.d.ts +77 -0
  763. package/node_modules/@entelligentsia/pi-coding-agent/dist/core/messages.d.ts.map +1 -0
  764. package/node_modules/@entelligentsia/pi-coding-agent/dist/core/messages.js.map +1 -0
  765. package/node_modules/@entelligentsia/pi-coding-agent/dist/core/model-registry.d.ts +150 -0
  766. package/node_modules/@entelligentsia/pi-coding-agent/dist/core/model-registry.d.ts.map +1 -0
  767. package/node_modules/@entelligentsia/pi-coding-agent/dist/core/model-registry.js +727 -0
  768. package/node_modules/@entelligentsia/pi-coding-agent/dist/core/model-registry.js.map +1 -0
  769. package/node_modules/@entelligentsia/pi-coding-agent/dist/core/model-resolver.d.ts +110 -0
  770. package/node_modules/@entelligentsia/pi-coding-agent/dist/core/model-resolver.d.ts.map +1 -0
  771. package/node_modules/@entelligentsia/pi-coding-agent/dist/core/model-resolver.js +494 -0
  772. package/node_modules/@entelligentsia/pi-coding-agent/dist/core/model-resolver.js.map +1 -0
  773. package/node_modules/@entelligentsia/pi-coding-agent/dist/core/sdk.d.ts +107 -0
  774. package/node_modules/@entelligentsia/pi-coding-agent/dist/core/sdk.d.ts.map +1 -0
  775. package/node_modules/@entelligentsia/pi-coding-agent/dist/core/sdk.js +282 -0
  776. package/node_modules/@entelligentsia/pi-coding-agent/dist/core/sdk.js.map +1 -0
  777. package/node_modules/@entelligentsia/pi-coding-agent/dist/core/session-manager.d.ts +333 -0
  778. package/node_modules/@entelligentsia/pi-coding-agent/dist/core/session-manager.d.ts.map +1 -0
  779. package/node_modules/@entelligentsia/pi-coding-agent/dist/core/session-manager.js.map +1 -0
  780. package/node_modules/@entelligentsia/pi-coding-agent/dist/core/settings-manager.d.ts +261 -0
  781. package/node_modules/@entelligentsia/pi-coding-agent/dist/core/settings-manager.d.ts.map +1 -0
  782. package/node_modules/@entelligentsia/pi-coding-agent/dist/core/settings-manager.js.map +1 -0
  783. package/node_modules/@entelligentsia/pi-coding-agent/dist/core/tools/bash.d.ts +68 -0
  784. package/node_modules/@entelligentsia/pi-coding-agent/dist/core/tools/bash.d.ts.map +1 -0
  785. package/node_modules/@entelligentsia/pi-coding-agent/dist/core/tools/bash.js +335 -0
  786. package/node_modules/@entelligentsia/pi-coding-agent/dist/core/tools/bash.js.map +1 -0
  787. package/node_modules/@entelligentsia/pi-coding-agent/dist/core/tools/edit.d.ts +49 -0
  788. package/node_modules/@entelligentsia/pi-coding-agent/dist/core/tools/edit.d.ts.map +1 -0
  789. package/node_modules/@entelligentsia/pi-coding-agent/dist/core/tools/edit.js +324 -0
  790. package/node_modules/@entelligentsia/pi-coding-agent/dist/core/tools/edit.js.map +1 -0
  791. package/node_modules/@entelligentsia/pi-coding-agent/dist/core/tools/find.d.ts +35 -0
  792. package/node_modules/@entelligentsia/pi-coding-agent/dist/core/tools/find.d.ts.map +1 -0
  793. package/node_modules/@entelligentsia/pi-coding-agent/dist/core/tools/find.js +298 -0
  794. package/node_modules/@entelligentsia/pi-coding-agent/dist/core/tools/find.js.map +1 -0
  795. package/node_modules/@entelligentsia/pi-coding-agent/dist/core/tools/grep.d.ts +37 -0
  796. package/node_modules/@entelligentsia/pi-coding-agent/dist/core/tools/grep.d.ts.map +1 -0
  797. package/node_modules/@entelligentsia/pi-coding-agent/dist/core/tools/grep.js +304 -0
  798. package/node_modules/@entelligentsia/pi-coding-agent/dist/core/tools/grep.js.map +1 -0
  799. package/node_modules/@entelligentsia/pi-coding-agent/dist/core/tools/index.d.ts +40 -0
  800. package/node_modules/@entelligentsia/pi-coding-agent/dist/core/tools/index.d.ts.map +1 -0
  801. package/node_modules/@entelligentsia/pi-coding-agent/dist/core/tools/index.js.map +1 -0
  802. package/node_modules/@entelligentsia/pi-coding-agent/dist/core/tools/ls.d.ts +37 -0
  803. package/node_modules/@entelligentsia/pi-coding-agent/dist/core/tools/ls.d.ts.map +1 -0
  804. package/node_modules/@entelligentsia/pi-coding-agent/dist/core/tools/ls.js +169 -0
  805. package/node_modules/@entelligentsia/pi-coding-agent/dist/core/tools/ls.js.map +1 -0
  806. package/node_modules/@entelligentsia/pi-coding-agent/dist/core/tools/read.d.ts +35 -0
  807. package/node_modules/@entelligentsia/pi-coding-agent/dist/core/tools/read.d.ts.map +1 -0
  808. package/node_modules/@entelligentsia/pi-coding-agent/dist/core/tools/read.js +289 -0
  809. package/node_modules/@entelligentsia/pi-coding-agent/dist/core/tools/read.js.map +1 -0
  810. package/node_modules/@entelligentsia/pi-coding-agent/dist/core/tools/render-utils.d.ts +21 -0
  811. package/node_modules/@entelligentsia/pi-coding-agent/dist/core/tools/render-utils.d.ts.map +1 -0
  812. package/node_modules/@entelligentsia/pi-coding-agent/dist/core/tools/render-utils.js +49 -0
  813. package/node_modules/@entelligentsia/pi-coding-agent/dist/core/tools/render-utils.js.map +1 -0
  814. package/node_modules/@entelligentsia/pi-coding-agent/dist/core/tools/tool-definition-wrapper.d.ts +14 -0
  815. package/node_modules/@entelligentsia/pi-coding-agent/dist/core/tools/tool-definition-wrapper.d.ts.map +1 -0
  816. package/node_modules/@entelligentsia/pi-coding-agent/dist/core/tools/tool-definition-wrapper.js.map +1 -0
  817. package/node_modules/@entelligentsia/pi-coding-agent/dist/core/tools/write.d.ts +26 -0
  818. package/node_modules/@entelligentsia/pi-coding-agent/dist/core/tools/write.d.ts.map +1 -0
  819. package/node_modules/@entelligentsia/pi-coding-agent/dist/core/tools/write.js +213 -0
  820. package/node_modules/@entelligentsia/pi-coding-agent/dist/core/tools/write.js.map +1 -0
  821. package/node_modules/@entelligentsia/pi-coding-agent/dist/main.d.ts.map +1 -0
  822. package/node_modules/@entelligentsia/pi-coding-agent/dist/main.js +583 -0
  823. package/node_modules/@entelligentsia/pi-coding-agent/dist/main.js.map +1 -0
  824. package/node_modules/@entelligentsia/pi-coding-agent/dist/modes/interactive/components/armin.d.ts +34 -0
  825. package/node_modules/@entelligentsia/pi-coding-agent/dist/modes/interactive/components/armin.d.ts.map +1 -0
  826. package/node_modules/@entelligentsia/pi-coding-agent/dist/modes/interactive/components/armin.js.map +1 -0
  827. package/node_modules/@entelligentsia/pi-coding-agent/dist/modes/interactive/components/assistant-message.d.ts +20 -0
  828. package/node_modules/@entelligentsia/pi-coding-agent/dist/modes/interactive/components/assistant-message.d.ts.map +1 -0
  829. package/node_modules/@entelligentsia/pi-coding-agent/dist/modes/interactive/components/assistant-message.js +121 -0
  830. package/node_modules/@entelligentsia/pi-coding-agent/dist/modes/interactive/components/assistant-message.js.map +1 -0
  831. package/node_modules/@entelligentsia/pi-coding-agent/dist/modes/interactive/components/bash-execution.d.ts +34 -0
  832. package/node_modules/@entelligentsia/pi-coding-agent/dist/modes/interactive/components/bash-execution.d.ts.map +1 -0
  833. package/node_modules/@entelligentsia/pi-coding-agent/dist/modes/interactive/components/bash-execution.js +175 -0
  834. package/node_modules/@entelligentsia/pi-coding-agent/dist/modes/interactive/components/bash-execution.js.map +1 -0
  835. package/node_modules/@entelligentsia/pi-coding-agent/dist/modes/interactive/components/bordered-loader.d.ts +16 -0
  836. package/node_modules/@entelligentsia/pi-coding-agent/dist/modes/interactive/components/bordered-loader.d.ts.map +1 -0
  837. package/node_modules/@entelligentsia/pi-coding-agent/dist/modes/interactive/components/bordered-loader.js +54 -0
  838. package/node_modules/@entelligentsia/pi-coding-agent/dist/modes/interactive/components/bordered-loader.js.map +1 -0
  839. package/node_modules/@entelligentsia/pi-coding-agent/dist/modes/interactive/components/branch-summary-message.d.ts +16 -0
  840. package/node_modules/@entelligentsia/pi-coding-agent/dist/modes/interactive/components/branch-summary-message.d.ts.map +1 -0
  841. package/node_modules/@entelligentsia/pi-coding-agent/dist/modes/interactive/components/branch-summary-message.js +44 -0
  842. package/node_modules/@entelligentsia/pi-coding-agent/dist/modes/interactive/components/branch-summary-message.js.map +1 -0
  843. package/node_modules/@entelligentsia/pi-coding-agent/dist/modes/interactive/components/compaction-summary-message.d.ts +16 -0
  844. package/node_modules/@entelligentsia/pi-coding-agent/dist/modes/interactive/components/compaction-summary-message.d.ts.map +1 -0
  845. package/node_modules/@entelligentsia/pi-coding-agent/dist/modes/interactive/components/compaction-summary-message.js +45 -0
  846. package/node_modules/@entelligentsia/pi-coding-agent/dist/modes/interactive/components/compaction-summary-message.js.map +1 -0
  847. package/node_modules/@entelligentsia/pi-coding-agent/dist/modes/interactive/components/config-selector.d.ts +71 -0
  848. package/node_modules/@entelligentsia/pi-coding-agent/dist/modes/interactive/components/config-selector.d.ts.map +1 -0
  849. package/node_modules/@entelligentsia/pi-coding-agent/dist/modes/interactive/components/config-selector.js +481 -0
  850. package/node_modules/@entelligentsia/pi-coding-agent/dist/modes/interactive/components/config-selector.js.map +1 -0
  851. package/node_modules/@entelligentsia/pi-coding-agent/dist/modes/interactive/components/countdown-timer.d.ts +14 -0
  852. package/node_modules/@entelligentsia/pi-coding-agent/dist/modes/interactive/components/countdown-timer.d.ts.map +1 -0
  853. package/node_modules/@entelligentsia/pi-coding-agent/dist/modes/interactive/components/countdown-timer.js.map +1 -0
  854. package/node_modules/@entelligentsia/pi-coding-agent/dist/modes/interactive/components/custom-editor.d.ts +21 -0
  855. package/node_modules/@entelligentsia/pi-coding-agent/dist/modes/interactive/components/custom-editor.d.ts.map +1 -0
  856. package/node_modules/@entelligentsia/pi-coding-agent/dist/modes/interactive/components/custom-editor.js +70 -0
  857. package/node_modules/@entelligentsia/pi-coding-agent/dist/modes/interactive/components/custom-editor.js.map +1 -0
  858. package/node_modules/@entelligentsia/pi-coding-agent/dist/modes/interactive/components/custom-message.d.ts +20 -0
  859. package/node_modules/@entelligentsia/pi-coding-agent/dist/modes/interactive/components/custom-message.d.ts.map +1 -0
  860. package/node_modules/@entelligentsia/pi-coding-agent/dist/modes/interactive/components/custom-message.js +79 -0
  861. package/node_modules/@entelligentsia/pi-coding-agent/dist/modes/interactive/components/custom-message.js.map +1 -0
  862. package/node_modules/@entelligentsia/pi-coding-agent/dist/modes/interactive/components/daxnuts.d.ts +23 -0
  863. package/node_modules/@entelligentsia/pi-coding-agent/dist/modes/interactive/components/daxnuts.d.ts.map +1 -0
  864. package/node_modules/@entelligentsia/pi-coding-agent/dist/modes/interactive/components/daxnuts.js.map +1 -0
  865. package/node_modules/@entelligentsia/pi-coding-agent/dist/modes/interactive/components/dynamic-border.d.ts +15 -0
  866. package/node_modules/@entelligentsia/pi-coding-agent/dist/modes/interactive/components/dynamic-border.d.ts.map +1 -0
  867. package/node_modules/@entelligentsia/pi-coding-agent/dist/modes/interactive/components/dynamic-border.js.map +1 -0
  868. package/node_modules/@entelligentsia/pi-coding-agent/dist/modes/interactive/components/earendil-announcement.d.ts +5 -0
  869. package/node_modules/@entelligentsia/pi-coding-agent/dist/modes/interactive/components/earendil-announcement.d.ts.map +1 -0
  870. package/node_modules/@entelligentsia/pi-coding-agent/dist/modes/interactive/components/earendil-announcement.js +40 -0
  871. package/node_modules/@entelligentsia/pi-coding-agent/dist/modes/interactive/components/earendil-announcement.js.map +1 -0
  872. package/node_modules/@entelligentsia/pi-coding-agent/dist/modes/interactive/components/extension-editor.d.ts +20 -0
  873. package/node_modules/@entelligentsia/pi-coding-agent/dist/modes/interactive/components/extension-editor.d.ts.map +1 -0
  874. package/node_modules/@entelligentsia/pi-coding-agent/dist/modes/interactive/components/extension-editor.js +111 -0
  875. package/node_modules/@entelligentsia/pi-coding-agent/dist/modes/interactive/components/extension-editor.js.map +1 -0
  876. package/node_modules/@entelligentsia/pi-coding-agent/dist/modes/interactive/components/extension-input.d.ts +23 -0
  877. package/node_modules/@entelligentsia/pi-coding-agent/dist/modes/interactive/components/extension-input.d.ts.map +1 -0
  878. package/node_modules/@entelligentsia/pi-coding-agent/dist/modes/interactive/components/extension-input.js +61 -0
  879. package/node_modules/@entelligentsia/pi-coding-agent/dist/modes/interactive/components/extension-input.js.map +1 -0
  880. package/node_modules/@entelligentsia/pi-coding-agent/dist/modes/interactive/components/extension-selector.d.ts +24 -0
  881. package/node_modules/@entelligentsia/pi-coding-agent/dist/modes/interactive/components/extension-selector.d.ts.map +1 -0
  882. package/node_modules/@entelligentsia/pi-coding-agent/dist/modes/interactive/components/extension-selector.js +78 -0
  883. package/node_modules/@entelligentsia/pi-coding-agent/dist/modes/interactive/components/extension-selector.js.map +1 -0
  884. package/node_modules/@entelligentsia/pi-coding-agent/dist/modes/interactive/components/footer.d.ts +27 -0
  885. package/node_modules/@entelligentsia/pi-coding-agent/dist/modes/interactive/components/footer.d.ts.map +1 -0
  886. package/node_modules/@entelligentsia/pi-coding-agent/dist/modes/interactive/components/footer.js +201 -0
  887. package/node_modules/@entelligentsia/pi-coding-agent/dist/modes/interactive/components/footer.js.map +1 -0
  888. package/node_modules/@entelligentsia/pi-coding-agent/dist/modes/interactive/components/keybinding-hints.d.ts +8 -0
  889. package/node_modules/@entelligentsia/pi-coding-agent/dist/modes/interactive/components/keybinding-hints.d.ts.map +1 -0
  890. package/node_modules/@entelligentsia/pi-coding-agent/dist/modes/interactive/components/keybinding-hints.js +22 -0
  891. package/node_modules/@entelligentsia/pi-coding-agent/dist/modes/interactive/components/keybinding-hints.js.map +1 -0
  892. package/node_modules/@entelligentsia/pi-coding-agent/dist/modes/interactive/components/login-dialog.d.ts +46 -0
  893. package/node_modules/@entelligentsia/pi-coding-agent/dist/modes/interactive/components/login-dialog.d.ts.map +1 -0
  894. package/node_modules/@entelligentsia/pi-coding-agent/dist/modes/interactive/components/login-dialog.js +160 -0
  895. package/node_modules/@entelligentsia/pi-coding-agent/dist/modes/interactive/components/login-dialog.js.map +1 -0
  896. package/node_modules/@entelligentsia/pi-coding-agent/dist/modes/interactive/components/model-selector.d.ts +47 -0
  897. package/node_modules/@entelligentsia/pi-coding-agent/dist/modes/interactive/components/model-selector.d.ts.map +1 -0
  898. package/node_modules/@entelligentsia/pi-coding-agent/dist/modes/interactive/components/model-selector.js +278 -0
  899. package/node_modules/@entelligentsia/pi-coding-agent/dist/modes/interactive/components/model-selector.js.map +1 -0
  900. package/node_modules/@entelligentsia/pi-coding-agent/dist/modes/interactive/components/oauth-selector.d.ts +31 -0
  901. package/node_modules/@entelligentsia/pi-coding-agent/dist/modes/interactive/components/oauth-selector.d.ts.map +1 -0
  902. package/node_modules/@entelligentsia/pi-coding-agent/dist/modes/interactive/components/oauth-selector.js +165 -0
  903. package/node_modules/@entelligentsia/pi-coding-agent/dist/modes/interactive/components/oauth-selector.js.map +1 -0
  904. package/node_modules/@entelligentsia/pi-coding-agent/dist/modes/interactive/components/scoped-models-selector.d.ts +42 -0
  905. package/node_modules/@entelligentsia/pi-coding-agent/dist/modes/interactive/components/scoped-models-selector.d.ts.map +1 -0
  906. package/node_modules/@entelligentsia/pi-coding-agent/dist/modes/interactive/components/scoped-models-selector.js +290 -0
  907. package/node_modules/@entelligentsia/pi-coding-agent/dist/modes/interactive/components/scoped-models-selector.js.map +1 -0
  908. package/node_modules/@entelligentsia/pi-coding-agent/dist/modes/interactive/components/session-selector-search.d.ts.map +1 -0
  909. package/node_modules/@entelligentsia/pi-coding-agent/dist/modes/interactive/components/session-selector-search.js +155 -0
  910. package/node_modules/@entelligentsia/pi-coding-agent/dist/modes/interactive/components/session-selector-search.js.map +1 -0
  911. package/node_modules/@entelligentsia/pi-coding-agent/dist/modes/interactive/components/session-selector.d.ts +96 -0
  912. package/node_modules/@entelligentsia/pi-coding-agent/dist/modes/interactive/components/session-selector.d.ts.map +1 -0
  913. package/node_modules/@entelligentsia/pi-coding-agent/dist/modes/interactive/components/session-selector.js +861 -0
  914. package/node_modules/@entelligentsia/pi-coding-agent/dist/modes/interactive/components/session-selector.js.map +1 -0
  915. package/node_modules/@entelligentsia/pi-coding-agent/dist/modes/interactive/components/settings-selector.d.ts +67 -0
  916. package/node_modules/@entelligentsia/pi-coding-agent/dist/modes/interactive/components/settings-selector.d.ts.map +1 -0
  917. package/node_modules/@entelligentsia/pi-coding-agent/dist/modes/interactive/components/settings-selector.js +373 -0
  918. package/node_modules/@entelligentsia/pi-coding-agent/dist/modes/interactive/components/settings-selector.js.map +1 -0
  919. package/node_modules/@entelligentsia/pi-coding-agent/dist/modes/interactive/components/show-images-selector.d.ts +10 -0
  920. package/node_modules/@entelligentsia/pi-coding-agent/dist/modes/interactive/components/show-images-selector.d.ts.map +1 -0
  921. package/node_modules/@entelligentsia/pi-coding-agent/dist/modes/interactive/components/show-images-selector.js +39 -0
  922. package/node_modules/@entelligentsia/pi-coding-agent/dist/modes/interactive/components/show-images-selector.js.map +1 -0
  923. package/node_modules/@entelligentsia/pi-coding-agent/dist/modes/interactive/components/skill-invocation-message.d.ts +17 -0
  924. package/node_modules/@entelligentsia/pi-coding-agent/dist/modes/interactive/components/skill-invocation-message.d.ts.map +1 -0
  925. package/node_modules/@entelligentsia/pi-coding-agent/dist/modes/interactive/components/skill-invocation-message.js +47 -0
  926. package/node_modules/@entelligentsia/pi-coding-agent/dist/modes/interactive/components/skill-invocation-message.js.map +1 -0
  927. package/node_modules/@entelligentsia/pi-coding-agent/dist/modes/interactive/components/theme-selector.d.ts +11 -0
  928. package/node_modules/@entelligentsia/pi-coding-agent/dist/modes/interactive/components/theme-selector.d.ts.map +1 -0
  929. package/node_modules/@entelligentsia/pi-coding-agent/dist/modes/interactive/components/theme-selector.js +50 -0
  930. package/node_modules/@entelligentsia/pi-coding-agent/dist/modes/interactive/components/theme-selector.js.map +1 -0
  931. package/node_modules/@entelligentsia/pi-coding-agent/dist/modes/interactive/components/thinking-selector.d.ts +11 -0
  932. package/node_modules/@entelligentsia/pi-coding-agent/dist/modes/interactive/components/thinking-selector.d.ts.map +1 -0
  933. package/node_modules/@entelligentsia/pi-coding-agent/dist/modes/interactive/components/thinking-selector.js +51 -0
  934. package/node_modules/@entelligentsia/pi-coding-agent/dist/modes/interactive/components/thinking-selector.js.map +1 -0
  935. package/node_modules/@entelligentsia/pi-coding-agent/dist/modes/interactive/components/tool-execution.d.ts +63 -0
  936. package/node_modules/@entelligentsia/pi-coding-agent/dist/modes/interactive/components/tool-execution.d.ts.map +1 -0
  937. package/node_modules/@entelligentsia/pi-coding-agent/dist/modes/interactive/components/tool-execution.js +295 -0
  938. package/node_modules/@entelligentsia/pi-coding-agent/dist/modes/interactive/components/tool-execution.js.map +1 -0
  939. package/node_modules/@entelligentsia/pi-coding-agent/dist/modes/interactive/components/tree-selector.d.ts +89 -0
  940. package/node_modules/@entelligentsia/pi-coding-agent/dist/modes/interactive/components/tree-selector.d.ts.map +1 -0
  941. package/node_modules/@entelligentsia/pi-coding-agent/dist/modes/interactive/components/tree-selector.js +1092 -0
  942. package/node_modules/@entelligentsia/pi-coding-agent/dist/modes/interactive/components/tree-selector.js.map +1 -0
  943. package/node_modules/@entelligentsia/pi-coding-agent/dist/modes/interactive/components/user-message-selector.d.ts +30 -0
  944. package/node_modules/@entelligentsia/pi-coding-agent/dist/modes/interactive/components/user-message-selector.d.ts.map +1 -0
  945. package/node_modules/@entelligentsia/pi-coding-agent/dist/modes/interactive/components/user-message-selector.js +114 -0
  946. package/node_modules/@entelligentsia/pi-coding-agent/dist/modes/interactive/components/user-message-selector.js.map +1 -0
  947. package/node_modules/@entelligentsia/pi-coding-agent/dist/modes/interactive/components/user-message.d.ts +10 -0
  948. package/node_modules/@entelligentsia/pi-coding-agent/dist/modes/interactive/components/user-message.d.ts.map +1 -0
  949. package/node_modules/@entelligentsia/pi-coding-agent/dist/modes/interactive/components/user-message.js +29 -0
  950. package/node_modules/@entelligentsia/pi-coding-agent/dist/modes/interactive/components/user-message.js.map +1 -0
  951. package/node_modules/@entelligentsia/pi-coding-agent/dist/modes/interactive/components/visual-truncate.d.ts.map +1 -0
  952. package/node_modules/@entelligentsia/pi-coding-agent/dist/modes/interactive/components/visual-truncate.js +33 -0
  953. package/node_modules/@entelligentsia/pi-coding-agent/dist/modes/interactive/components/visual-truncate.js.map +1 -0
  954. package/node_modules/@entelligentsia/pi-coding-agent/dist/modes/interactive/interactive-mode.d.ts +374 -0
  955. package/node_modules/@entelligentsia/pi-coding-agent/dist/modes/interactive/interactive-mode.d.ts.map +1 -0
  956. package/node_modules/@entelligentsia/pi-coding-agent/dist/modes/interactive/interactive-mode.js +4625 -0
  957. package/node_modules/@entelligentsia/pi-coding-agent/dist/modes/interactive/interactive-mode.js.map +1 -0
  958. package/node_modules/@entelligentsia/pi-coding-agent/dist/modes/interactive/theme/theme.d.ts +81 -0
  959. package/node_modules/@entelligentsia/pi-coding-agent/dist/modes/interactive/theme/theme.d.ts.map +1 -0
  960. package/node_modules/@entelligentsia/pi-coding-agent/dist/modes/interactive/theme/theme.js +971 -0
  961. package/node_modules/@entelligentsia/pi-coding-agent/dist/modes/interactive/theme/theme.js.map +1 -0
  962. package/node_modules/@entelligentsia/pi-coding-agent/dist/modes/print-mode.d.ts +28 -0
  963. package/node_modules/@entelligentsia/pi-coding-agent/dist/modes/print-mode.d.ts.map +1 -0
  964. package/node_modules/@entelligentsia/pi-coding-agent/dist/modes/print-mode.js.map +1 -0
  965. package/node_modules/@entelligentsia/pi-coding-agent/dist/modes/rpc/rpc-client.d.ts +224 -0
  966. package/node_modules/@entelligentsia/pi-coding-agent/dist/modes/rpc/rpc-client.d.ts.map +1 -0
  967. package/node_modules/@entelligentsia/pi-coding-agent/dist/modes/rpc/rpc-client.js.map +1 -0
  968. package/node_modules/@entelligentsia/pi-coding-agent/dist/modes/rpc/rpc-mode.d.ts.map +1 -0
  969. package/node_modules/@entelligentsia/pi-coding-agent/dist/modes/rpc/rpc-mode.js +604 -0
  970. package/node_modules/@entelligentsia/pi-coding-agent/dist/modes/rpc/rpc-mode.js.map +1 -0
  971. package/node_modules/@entelligentsia/pi-coding-agent/dist/modes/rpc/rpc-types.d.ts +419 -0
  972. package/node_modules/@entelligentsia/pi-coding-agent/dist/modes/rpc/rpc-types.d.ts.map +1 -0
  973. package/node_modules/@entelligentsia/pi-coding-agent/dist/modes/rpc/rpc-types.js.map +1 -0
  974. package/node_modules/@entelligentsia/pi-coding-agent/dist/utils/image-resize.d.ts +36 -0
  975. package/node_modules/@entelligentsia/pi-coding-agent/dist/utils/image-resize.d.ts.map +1 -0
  976. package/node_modules/@entelligentsia/pi-coding-agent/dist/utils/image-resize.js.map +1 -0
  977. package/node_modules/@entelligentsia/pi-coding-agent/dist/utils/paths.d.ts +16 -0
  978. package/node_modules/@entelligentsia/pi-coding-agent/dist/utils/paths.d.ts.map +1 -0
  979. package/node_modules/@entelligentsia/pi-coding-agent/dist/utils/paths.js +50 -0
  980. package/node_modules/@entelligentsia/pi-coding-agent/dist/utils/paths.js.map +1 -0
  981. package/node_modules/@entelligentsia/pi-coding-agent/docs/compaction.md +394 -0
  982. package/node_modules/@entelligentsia/pi-coding-agent/docs/custom-provider.md +646 -0
  983. package/node_modules/@entelligentsia/pi-coding-agent/docs/extensions.md +2596 -0
  984. package/node_modules/@entelligentsia/pi-coding-agent/docs/index.md +70 -0
  985. package/node_modules/@entelligentsia/pi-coding-agent/docs/packages.md +223 -0
  986. package/node_modules/@entelligentsia/pi-coding-agent/docs/quickstart.md +142 -0
  987. package/node_modules/@entelligentsia/pi-coding-agent/docs/rpc.md +1407 -0
  988. package/node_modules/@entelligentsia/pi-coding-agent/docs/sdk.md +1149 -0
  989. package/node_modules/@entelligentsia/pi-coding-agent/docs/session-format.md +412 -0
  990. package/node_modules/@entelligentsia/pi-coding-agent/docs/termux.md +127 -0
  991. package/node_modules/@entelligentsia/pi-coding-agent/docs/tui.md +918 -0
  992. package/node_modules/@entelligentsia/pi-coding-agent/examples/extensions/README.md +208 -0
  993. package/node_modules/@entelligentsia/pi-coding-agent/examples/extensions/auto-commit-on-exit.ts +49 -0
  994. package/node_modules/@entelligentsia/pi-coding-agent/examples/extensions/bash-spawn-hook.ts +30 -0
  995. package/node_modules/@entelligentsia/pi-coding-agent/examples/extensions/bookmark.ts +50 -0
  996. package/node_modules/@entelligentsia/pi-coding-agent/examples/extensions/border-status-editor.ts +150 -0
  997. package/node_modules/@entelligentsia/pi-coding-agent/examples/extensions/built-in-tool-renderer.ts +249 -0
  998. package/node_modules/@entelligentsia/pi-coding-agent/examples/extensions/claude-rules.ts +86 -0
  999. package/node_modules/@entelligentsia/pi-coding-agent/examples/extensions/commands.ts +72 -0
  1000. package/node_modules/@entelligentsia/pi-coding-agent/examples/extensions/confirm-destructive.ts +59 -0
  1001. package/node_modules/@entelligentsia/pi-coding-agent/examples/extensions/custom-compaction.ts +127 -0
  1002. package/node_modules/@entelligentsia/pi-coding-agent/examples/extensions/custom-footer.ts +64 -0
  1003. package/node_modules/@entelligentsia/pi-coding-agent/examples/extensions/custom-header.ts +73 -0
  1004. package/node_modules/@entelligentsia/pi-coding-agent/examples/extensions/custom-provider-anthropic/index.ts +604 -0
  1005. package/node_modules/@entelligentsia/pi-coding-agent/examples/extensions/custom-provider-anthropic/package-lock.json +24 -0
  1006. package/node_modules/@entelligentsia/pi-coding-agent/examples/extensions/custom-provider-anthropic/package.json +19 -0
  1007. package/node_modules/@entelligentsia/pi-coding-agent/examples/extensions/custom-provider-gitlab-duo/index.ts +349 -0
  1008. package/node_modules/@entelligentsia/pi-coding-agent/examples/extensions/custom-provider-gitlab-duo/package.json +16 -0
  1009. package/node_modules/@entelligentsia/pi-coding-agent/examples/extensions/custom-provider-gitlab-duo/test.ts +82 -0
  1010. package/node_modules/@entelligentsia/pi-coding-agent/examples/extensions/dirty-repo-guard.ts +56 -0
  1011. package/node_modules/@entelligentsia/pi-coding-agent/examples/extensions/doom-overlay/doom-component.ts +132 -0
  1012. package/node_modules/@entelligentsia/pi-coding-agent/examples/extensions/doom-overlay/doom-keys.ts +104 -0
  1013. package/node_modules/@entelligentsia/pi-coding-agent/examples/extensions/doom-overlay/index.ts +74 -0
  1014. package/node_modules/@entelligentsia/pi-coding-agent/examples/extensions/dynamic-resources/index.ts +15 -0
  1015. package/node_modules/@entelligentsia/pi-coding-agent/examples/extensions/dynamic-tools.ts +74 -0
  1016. package/node_modules/@entelligentsia/pi-coding-agent/examples/extensions/event-bus.ts +43 -0
  1017. package/node_modules/@entelligentsia/pi-coding-agent/examples/extensions/file-trigger.ts +41 -0
  1018. package/node_modules/@entelligentsia/pi-coding-agent/examples/extensions/git-checkpoint.ts +53 -0
  1019. package/node_modules/@entelligentsia/pi-coding-agent/examples/extensions/github-issue-autocomplete.ts +185 -0
  1020. package/node_modules/@entelligentsia/pi-coding-agent/examples/extensions/handoff.ts +191 -0
  1021. package/node_modules/@entelligentsia/pi-coding-agent/examples/extensions/hello.ts +26 -0
  1022. package/node_modules/@entelligentsia/pi-coding-agent/examples/extensions/hidden-thinking-label.ts +53 -0
  1023. package/node_modules/@entelligentsia/pi-coding-agent/examples/extensions/inline-bash.ts +94 -0
  1024. package/node_modules/@entelligentsia/pi-coding-agent/examples/extensions/input-transform.ts +43 -0
  1025. package/node_modules/@entelligentsia/pi-coding-agent/examples/extensions/interactive-shell.ts +196 -0
  1026. package/node_modules/@entelligentsia/pi-coding-agent/examples/extensions/mac-system-theme.ts +47 -0
  1027. package/node_modules/@entelligentsia/pi-coding-agent/examples/extensions/message-renderer.ts +59 -0
  1028. package/node_modules/@entelligentsia/pi-coding-agent/examples/extensions/minimal-mode.ts +426 -0
  1029. package/node_modules/@entelligentsia/pi-coding-agent/examples/extensions/modal-editor.ts +85 -0
  1030. package/node_modules/@entelligentsia/pi-coding-agent/examples/extensions/model-status.ts +31 -0
  1031. package/node_modules/@entelligentsia/pi-coding-agent/examples/extensions/notify.ts +55 -0
  1032. package/node_modules/@entelligentsia/pi-coding-agent/examples/extensions/overlay-qa-tests.ts +1348 -0
  1033. package/node_modules/@entelligentsia/pi-coding-agent/examples/extensions/overlay-test.ts +150 -0
  1034. package/node_modules/@entelligentsia/pi-coding-agent/examples/extensions/permission-gate.ts +34 -0
  1035. package/node_modules/@entelligentsia/pi-coding-agent/examples/extensions/pirate.ts +47 -0
  1036. package/node_modules/@entelligentsia/pi-coding-agent/examples/extensions/plan-mode/index.ts +340 -0
  1037. package/node_modules/@entelligentsia/pi-coding-agent/examples/extensions/preset.ts +430 -0
  1038. package/node_modules/@entelligentsia/pi-coding-agent/examples/extensions/prompt-customizer.ts +97 -0
  1039. package/node_modules/@entelligentsia/pi-coding-agent/examples/extensions/protected-paths.ts +30 -0
  1040. package/node_modules/@entelligentsia/pi-coding-agent/examples/extensions/provider-payload.ts +18 -0
  1041. package/node_modules/@entelligentsia/pi-coding-agent/examples/extensions/qna.ts +122 -0
  1042. package/node_modules/@entelligentsia/pi-coding-agent/examples/extensions/question.ts +264 -0
  1043. package/node_modules/@entelligentsia/pi-coding-agent/examples/extensions/questionnaire.ts +427 -0
  1044. package/node_modules/@entelligentsia/pi-coding-agent/examples/extensions/rainbow-editor.ts +88 -0
  1045. package/node_modules/@entelligentsia/pi-coding-agent/examples/extensions/reload-runtime.ts +37 -0
  1046. package/node_modules/@entelligentsia/pi-coding-agent/examples/extensions/rpc-demo.ts +118 -0
  1047. package/node_modules/@entelligentsia/pi-coding-agent/examples/extensions/sandbox/index.ts +321 -0
  1048. package/node_modules/@entelligentsia/pi-coding-agent/examples/extensions/sandbox/package-lock.json +92 -0
  1049. package/node_modules/@entelligentsia/pi-coding-agent/examples/extensions/sandbox/package.json +19 -0
  1050. package/node_modules/@entelligentsia/pi-coding-agent/examples/extensions/send-user-message.ts +97 -0
  1051. package/node_modules/@entelligentsia/pi-coding-agent/examples/extensions/session-name.ts +27 -0
  1052. package/node_modules/@entelligentsia/pi-coding-agent/examples/extensions/shutdown-command.ts +63 -0
  1053. package/node_modules/@entelligentsia/pi-coding-agent/examples/extensions/snake.ts +343 -0
  1054. package/node_modules/@entelligentsia/pi-coding-agent/examples/extensions/space-invaders.ts +560 -0
  1055. package/node_modules/@entelligentsia/pi-coding-agent/examples/extensions/ssh.ts +220 -0
  1056. package/node_modules/@entelligentsia/pi-coding-agent/examples/extensions/status-line.ts +32 -0
  1057. package/node_modules/@entelligentsia/pi-coding-agent/examples/extensions/structured-output.ts +65 -0
  1058. package/node_modules/@entelligentsia/pi-coding-agent/examples/extensions/subagent/agents.ts +126 -0
  1059. package/node_modules/@entelligentsia/pi-coding-agent/examples/extensions/subagent/index.ts +987 -0
  1060. package/node_modules/@entelligentsia/pi-coding-agent/examples/extensions/summarize.ts +206 -0
  1061. package/node_modules/@entelligentsia/pi-coding-agent/examples/extensions/system-prompt-header.ts +17 -0
  1062. package/node_modules/@entelligentsia/pi-coding-agent/examples/extensions/tic-tac-toe.ts +1008 -0
  1063. package/node_modules/@entelligentsia/pi-coding-agent/examples/extensions/timed-confirm.ts +70 -0
  1064. package/node_modules/@entelligentsia/pi-coding-agent/examples/extensions/titlebar-spinner.ts +58 -0
  1065. package/node_modules/@entelligentsia/pi-coding-agent/examples/extensions/todo.ts +297 -0
  1066. package/node_modules/@entelligentsia/pi-coding-agent/examples/extensions/tool-override.ts +144 -0
  1067. package/node_modules/@entelligentsia/pi-coding-agent/examples/extensions/tools.ts +141 -0
  1068. package/node_modules/@entelligentsia/pi-coding-agent/examples/extensions/trigger-compact.ts +50 -0
  1069. package/node_modules/@entelligentsia/pi-coding-agent/examples/extensions/truncated-tool.ts +195 -0
  1070. package/node_modules/@entelligentsia/pi-coding-agent/examples/extensions/widget-placement.ts +9 -0
  1071. package/node_modules/@entelligentsia/pi-coding-agent/examples/extensions/with-deps/index.ts +32 -0
  1072. package/node_modules/@entelligentsia/pi-coding-agent/examples/extensions/with-deps/package-lock.json +31 -0
  1073. package/node_modules/@entelligentsia/pi-coding-agent/examples/extensions/with-deps/package.json +22 -0
  1074. package/node_modules/@entelligentsia/pi-coding-agent/examples/extensions/working-indicator.ts +123 -0
  1075. package/node_modules/@entelligentsia/pi-coding-agent/examples/extensions/working-message-test.ts +25 -0
  1076. package/node_modules/@entelligentsia/pi-coding-agent/examples/rpc-extension-ui.ts +632 -0
  1077. package/node_modules/@entelligentsia/pi-coding-agent/examples/sdk/01-minimal.ts +22 -0
  1078. package/node_modules/@entelligentsia/pi-coding-agent/examples/sdk/02-custom-model.ts +49 -0
  1079. package/node_modules/@entelligentsia/pi-coding-agent/examples/sdk/03-custom-prompt.ts +67 -0
  1080. package/node_modules/@entelligentsia/pi-coding-agent/examples/sdk/04-skills.ts +55 -0
  1081. package/node_modules/@entelligentsia/pi-coding-agent/examples/sdk/05-tools.ts +44 -0
  1082. package/node_modules/@entelligentsia/pi-coding-agent/examples/sdk/06-extensions.ts +95 -0
  1083. package/node_modules/@entelligentsia/pi-coding-agent/examples/sdk/07-context-files.ts +47 -0
  1084. package/node_modules/@entelligentsia/pi-coding-agent/examples/sdk/08-prompt-templates.ts +51 -0
  1085. package/node_modules/@entelligentsia/pi-coding-agent/examples/sdk/09-api-keys-and-oauth.ts +48 -0
  1086. package/node_modules/@entelligentsia/pi-coding-agent/examples/sdk/10-settings.ts +53 -0
  1087. package/node_modules/@entelligentsia/pi-coding-agent/examples/sdk/11-sessions.ts +48 -0
  1088. package/node_modules/@entelligentsia/pi-coding-agent/examples/sdk/12-full-control.ts +73 -0
  1089. package/node_modules/@entelligentsia/pi-coding-agent/examples/sdk/13-session-runtime.ts +67 -0
  1090. package/node_modules/@entelligentsia/pi-coding-agent/examples/sdk/README.md +147 -0
  1091. package/node_modules/@entelligentsia/pi-coding-agent/package.json +97 -0
  1092. package/node_modules/@entelligentsia/pi-tui/README.md +779 -0
  1093. package/node_modules/@entelligentsia/pi-tui/package.json +49 -0
  1094. package/node_modules/@smithy/core/checksum.d.ts +5 -0
  1095. package/node_modules/@smithy/core/checksum.js +5 -0
  1096. package/node_modules/@smithy/core/client.d.ts +7 -0
  1097. package/node_modules/@smithy/core/client.js +6 -0
  1098. package/node_modules/@smithy/core/config.d.ts +5 -0
  1099. package/node_modules/@smithy/core/config.js +5 -0
  1100. package/node_modules/@smithy/core/dist-cjs/index.js +6 -7
  1101. package/node_modules/@smithy/core/dist-cjs/middleware-http-auth-scheme/httpAuthSchemeMiddleware.js +2 -2
  1102. package/node_modules/@smithy/core/dist-cjs/middleware-http-signing/httpSigningMiddleware.js +4 -4
  1103. package/node_modules/@smithy/core/dist-cjs/submodules/cbor/index.js +9 -13
  1104. package/node_modules/@smithy/core/dist-cjs/submodules/checksum/index.browser.js +202 -0
  1105. package/node_modules/@smithy/core/dist-cjs/submodules/checksum/index.js +259 -0
  1106. package/node_modules/@smithy/core/dist-cjs/submodules/checksum/index.native.js +229 -0
  1107. package/node_modules/@smithy/core/dist-cjs/submodules/client/index.js +1136 -0
  1108. package/node_modules/@smithy/core/dist-cjs/submodules/config/index.browser.js +375 -0
  1109. package/node_modules/@smithy/core/dist-cjs/submodules/config/index.js +735 -0
  1110. package/node_modules/@smithy/core/dist-cjs/submodules/config/index.native.js +364 -0
  1111. package/node_modules/@smithy/core/dist-cjs/submodules/endpoints/index.browser.js +860 -0
  1112. package/node_modules/@smithy/core/dist-cjs/submodules/endpoints/index.js +873 -3
  1113. package/node_modules/@smithy/core/dist-cjs/submodules/event-streams/index.browser.js +866 -0
  1114. package/node_modules/@smithy/core/dist-cjs/submodules/event-streams/index.js +627 -3
  1115. package/node_modules/@smithy/core/dist-cjs/submodules/protocols/index.js +297 -20
  1116. package/node_modules/@smithy/core/dist-cjs/submodules/retry/index.browser.js +800 -0
  1117. package/node_modules/@smithy/core/dist-cjs/submodules/retry/index.js +827 -0
  1118. package/node_modules/@smithy/core/dist-cjs/submodules/schema/index.js +17 -5
  1119. package/node_modules/@smithy/core/dist-cjs/submodules/serde/index.browser.js +1405 -0
  1120. package/node_modules/@smithy/core/dist-cjs/submodules/serde/index.js +1094 -2
  1121. package/node_modules/@smithy/core/dist-cjs/submodules/serde/index.native.js +1405 -0
  1122. package/node_modules/@smithy/core/dist-cjs/util-identity-and-auth/httpAuthSchemes/httpApiKeyAuth.js +2 -2
  1123. package/node_modules/@smithy/core/dist-cjs/util-identity-and-auth/httpAuthSchemes/httpBearerAuth.js +2 -2
  1124. package/node_modules/@smithy/core/dist-es/middleware-http-auth-scheme/httpAuthSchemeMiddleware.js +1 -1
  1125. package/node_modules/@smithy/core/dist-es/middleware-http-signing/httpSigningMiddleware.js +2 -2
  1126. package/node_modules/@smithy/core/dist-es/submodules/cbor/CborCodec.js +1 -3
  1127. package/node_modules/@smithy/core/dist-es/submodules/cbor/SmithyRpcV2CborProtocol.js +3 -4
  1128. package/node_modules/@smithy/core/dist-es/submodules/cbor/cbor-decode.js +1 -2
  1129. package/node_modules/@smithy/core/dist-es/submodules/cbor/cbor-encode.js +1 -2
  1130. package/node_modules/@smithy/core/dist-es/submodules/cbor/parseCborBody.js +2 -3
  1131. package/node_modules/@smithy/core/dist-es/submodules/checksum/chunked-blob-reader/chunked-blob-reader.js +9 -0
  1132. package/node_modules/@smithy/core/dist-es/submodules/checksum/chunked-blob-reader/chunked-blob-reader.native.js +27 -0
  1133. package/node_modules/@smithy/core/dist-es/submodules/checksum/hash-blob-browser/blobHasher.js +8 -0
  1134. package/node_modules/@smithy/core/dist-es/submodules/checksum/hash-stream-node/HashCalculator.js +18 -0
  1135. package/node_modules/@smithy/core/dist-es/submodules/checksum/hash-stream-node/fileStreamHasher.js +24 -0
  1136. package/node_modules/@smithy/core/dist-es/submodules/checksum/hash-stream-node/readableStreamHasher.js +19 -0
  1137. package/node_modules/@smithy/core/dist-es/submodules/checksum/index.browser.js +6 -0
  1138. package/node_modules/@smithy/core/dist-es/submodules/checksum/index.js +5 -0
  1139. package/node_modules/@smithy/core/dist-es/submodules/checksum/index.native.js +6 -0
  1140. package/node_modules/@smithy/core/dist-es/submodules/checksum/md5-js/constants.js +3 -0
  1141. package/node_modules/@smithy/core/dist-es/submodules/checksum/md5-js/md5.js +168 -0
  1142. package/node_modules/@smithy/core/dist-es/submodules/client/index.js +26 -0
  1143. package/node_modules/@smithy/core/dist-es/submodules/client/smithy-client/client.js +51 -0
  1144. package/node_modules/@smithy/core/dist-es/submodules/client/smithy-client/command.js +131 -0
  1145. package/node_modules/@smithy/core/dist-es/submodules/client/smithy-client/extensions/checksum.js +49 -0
  1146. package/node_modules/@smithy/core/dist-es/submodules/client/smithy-client/extensions/defaultExtensionConfiguration.js +9 -0
  1147. package/node_modules/@smithy/core/dist-es/submodules/client/util-waiter/circularReplacer.js +12 -0
  1148. package/node_modules/@smithy/core/dist-es/submodules/client/util-waiter/createWaiter.js +48 -0
  1149. package/node_modules/@smithy/core/dist-es/submodules/client/util-waiter/poller.js +87 -0
  1150. package/node_modules/@smithy/core/dist-es/submodules/client/util-waiter/utils/sleep.js +3 -0
  1151. package/node_modules/@smithy/core/dist-es/submodules/client/util-waiter/utils/validate.js +17 -0
  1152. package/node_modules/@smithy/core/dist-es/submodules/client/util-waiter/waiter.js +35 -0
  1153. package/node_modules/@smithy/core/dist-es/submodules/config/config-resolver/endpointsConfig/NodeUseDualstackEndpointConfigOptions.js +15 -0
  1154. package/node_modules/@smithy/core/dist-es/submodules/config/config-resolver/endpointsConfig/NodeUseFipsEndpointConfigOptions.js +15 -0
  1155. package/node_modules/@smithy/core/dist-es/submodules/config/config-resolver/endpointsConfig/resolveCustomEndpointsConfig.js +10 -0
  1156. package/node_modules/@smithy/core/dist-es/submodules/config/config-resolver/endpointsConfig/resolveEndpointsConfig.js +14 -0
  1157. package/node_modules/@smithy/core/dist-es/submodules/config/config-resolver/regionConfig/checkRegion.js +15 -0
  1158. package/node_modules/@smithy/core/dist-es/submodules/config/defaults-mode/resolveDefaultsModeConfig.browser.js +30 -0
  1159. package/node_modules/@smithy/core/dist-es/submodules/config/defaults-mode/resolveDefaultsModeConfig.js +98 -0
  1160. package/node_modules/@smithy/core/dist-es/submodules/config/defaults-mode/resolveDefaultsModeConfig.native.js +19 -0
  1161. package/node_modules/@smithy/core/dist-es/submodules/config/index.browser.js +43 -0
  1162. package/node_modules/@smithy/core/dist-es/submodules/config/index.js +29 -0
  1163. package/node_modules/@smithy/core/dist-es/submodules/config/index.native.js +43 -0
  1164. package/node_modules/@smithy/core/dist-es/submodules/config/node-config-provider/configLoader.js +10 -0
  1165. package/node_modules/@smithy/core/dist-es/submodules/config/node-config-provider/fromEnv.js +14 -0
  1166. package/node_modules/@smithy/core/dist-es/submodules/config/node-config-provider/fromSharedConfigFiles.js +24 -0
  1167. package/node_modules/@smithy/core/dist-es/submodules/config/node-config-provider/fromStatic.js +3 -0
  1168. package/node_modules/@smithy/core/dist-es/submodules/config/property-provider/fromValue.js +1 -0
  1169. package/node_modules/@smithy/core/dist-es/submodules/config/shared-ini-file-loader/getConfigFilepath.js +4 -0
  1170. package/node_modules/@smithy/core/dist-es/submodules/config/shared-ini-file-loader/getCredentialsFilepath.js +4 -0
  1171. package/node_modules/@smithy/core/dist-es/submodules/config/shared-ini-file-loader/getHomeDir.js +22 -0
  1172. package/node_modules/@smithy/core/dist-es/submodules/config/shared-ini-file-loader/getSSOTokenFilepath.js +8 -0
  1173. package/node_modules/@smithy/core/dist-es/submodules/config/shared-ini-file-loader/getSSOTokenFromFile.js +11 -0
  1174. package/node_modules/@smithy/core/dist-es/submodules/config/shared-ini-file-loader/loadSharedConfigFiles.js +39 -0
  1175. package/node_modules/@smithy/core/dist-es/submodules/endpoints/index.browser.js +22 -0
  1176. package/node_modules/@smithy/core/dist-es/submodules/endpoints/index.js +21 -0
  1177. package/node_modules/@smithy/core/dist-es/submodules/endpoints/middleware-endpoint/adaptors/getEndpointFromConfig.js +3 -0
  1178. package/node_modules/@smithy/core/dist-es/submodules/endpoints/middleware-endpoint/adaptors/getEndpointFromInstructions.js +65 -0
  1179. package/node_modules/@smithy/core/dist-es/submodules/endpoints/middleware-endpoint/adaptors/getEndpointUrlConfig.js +31 -0
  1180. package/node_modules/@smithy/core/dist-es/submodules/endpoints/middleware-endpoint/adaptors/toEndpointV1.js +1 -0
  1181. package/node_modules/@smithy/core/dist-es/submodules/endpoints/middleware-endpoint/endpointMiddleware.js +47 -0
  1182. package/node_modules/@smithy/core/dist-es/submodules/endpoints/middleware-endpoint/getEndpointPlugin.js +26 -0
  1183. package/node_modules/@smithy/core/dist-es/submodules/endpoints/middleware-endpoint/resolveEndpointConfig.js +25 -0
  1184. package/node_modules/@smithy/core/dist-es/submodules/endpoints/toEndpointV1.js +1 -1
  1185. package/node_modules/@smithy/core/dist-es/submodules/endpoints/util-endpoints/utils/evaluateExpression.js +46 -0
  1186. package/node_modules/@smithy/core/dist-es/submodules/event-streams/EventStreamSerde.js +1 -1
  1187. package/node_modules/@smithy/core/dist-es/submodules/event-streams/eventstream-codec/HeaderMarshaller.js +184 -0
  1188. package/node_modules/@smithy/core/dist-es/submodules/event-streams/eventstream-codec/Int64.js +44 -0
  1189. package/node_modules/@smithy/core/dist-es/submodules/event-streams/eventstream-serde/EventStreamMarshaller.browser.js +21 -0
  1190. package/node_modules/@smithy/core/dist-es/submodules/event-streams/eventstream-serde/EventStreamMarshaller.js +45 -0
  1191. package/node_modules/@smithy/core/dist-es/submodules/event-streams/eventstream-serde/utils.js +28 -0
  1192. package/node_modules/@smithy/core/dist-es/submodules/event-streams/eventstream-serde-universal/EventStreamMarshaller.js +30 -0
  1193. package/node_modules/@smithy/core/dist-es/submodules/event-streams/index.browser.js +14 -0
  1194. package/node_modules/@smithy/core/dist-es/submodules/event-streams/index.js +14 -1
  1195. package/node_modules/@smithy/core/dist-es/submodules/protocols/HttpBindingProtocol.js +3 -4
  1196. package/node_modules/@smithy/core/dist-es/submodules/protocols/HttpProtocol.js +3 -2
  1197. package/node_modules/@smithy/core/dist-es/submodules/protocols/RpcProtocol.js +2 -2
  1198. package/node_modules/@smithy/core/dist-es/submodules/protocols/collect-stream-body.js +1 -1
  1199. package/node_modules/@smithy/core/dist-es/submodules/protocols/index.js +12 -0
  1200. package/node_modules/@smithy/core/dist-es/submodules/protocols/middleware-content-length/contentLengthMiddleware.js +39 -0
  1201. package/node_modules/@smithy/core/dist-es/submodules/protocols/querystring-builder/buildQueryString.js +21 -0
  1202. package/node_modules/@smithy/core/dist-es/submodules/protocols/requestBuilder.js +1 -1
  1203. package/node_modules/@smithy/core/dist-es/submodules/protocols/serde/FromStringShapeDeserializer.js +1 -3
  1204. package/node_modules/@smithy/core/dist-es/submodules/protocols/serde/HttpInterceptingShapeDeserializer.js +1 -1
  1205. package/node_modules/@smithy/core/dist-es/submodules/protocols/serde/ToStringShapeSerializer.js +1 -2
  1206. package/node_modules/@smithy/core/dist-es/submodules/protocols/url-parser/parseUrl.js +18 -0
  1207. package/node_modules/@smithy/core/dist-es/submodules/retry/index.browser.js +27 -0
  1208. package/node_modules/@smithy/core/dist-es/submodules/retry/index.js +20 -0
  1209. package/node_modules/@smithy/core/dist-es/submodules/retry/middleware-retry/configurations.js +50 -0
  1210. package/node_modules/@smithy/core/dist-es/submodules/retry/middleware-retry/isStreamingPayload/isStreamingPayload.js +3 -0
  1211. package/node_modules/@smithy/core/dist-es/submodules/retry/middleware-retry/omitRetryHeadersMiddleware.js +22 -0
  1212. package/node_modules/@smithy/core/dist-es/submodules/retry/middleware-retry/parseRetryAfterHeader.js +49 -0
  1213. package/node_modules/@smithy/core/dist-es/submodules/retry/middleware-retry/retry-pre-sra-deprecated/AdaptiveRetryStrategy.js +22 -0
  1214. package/node_modules/@smithy/core/dist-es/submodules/retry/middleware-retry/retry-pre-sra-deprecated/StandardRetryStrategy.js +95 -0
  1215. package/node_modules/@smithy/core/dist-es/submodules/retry/middleware-retry/retry-pre-sra-deprecated/defaultRetryQuota.js +27 -0
  1216. package/node_modules/@smithy/core/dist-es/submodules/retry/middleware-retry/retry-pre-sra-deprecated/delayDecider.js +2 -0
  1217. package/node_modules/@smithy/core/dist-es/submodules/retry/middleware-retry/retry-pre-sra-deprecated/retryDecider.js +7 -0
  1218. package/node_modules/@smithy/core/dist-es/submodules/retry/middleware-retry/retryMiddleware.js +109 -0
  1219. package/node_modules/@smithy/core/dist-es/submodules/retry/util-retry/AdaptiveRetryStrategy.js +36 -0
  1220. package/node_modules/@smithy/core/dist-es/submodules/retry/util-retry/ConfiguredRetryStrategy.js +19 -0
  1221. package/node_modules/@smithy/core/dist-es/submodules/retry/util-retry/DefaultRateLimiter.js +111 -0
  1222. package/node_modules/@smithy/core/dist-es/submodules/retry/util-retry/StandardRetryStrategy.js +93 -0
  1223. package/node_modules/@smithy/core/dist-es/submodules/schema/TypeRegistry.js +12 -0
  1224. package/node_modules/@smithy/core/dist-es/submodules/schema/middleware/schemaDeserializationMiddleware.js +2 -2
  1225. package/node_modules/@smithy/core/dist-es/submodules/schema/middleware/schemaSerializationMiddleware.js +1 -1
  1226. package/node_modules/@smithy/core/dist-es/submodules/serde/hash-node/hash-node.js +36 -0
  1227. package/node_modules/@smithy/core/dist-es/submodules/serde/index.browser.js +41 -0
  1228. package/node_modules/@smithy/core/dist-es/submodules/serde/index.js +40 -10
  1229. package/node_modules/@smithy/core/dist-es/submodules/serde/index.native.js +43 -0
  1230. package/node_modules/@smithy/core/dist-es/submodules/serde/middleware-serde/deserializerMiddleware.js +58 -0
  1231. package/node_modules/@smithy/core/dist-es/submodules/serde/util-base64/fromBase64.browser.js +36 -0
  1232. package/node_modules/@smithy/core/dist-es/submodules/serde/util-base64/fromBase64.js +12 -0
  1233. package/node_modules/@smithy/core/dist-es/submodules/serde/util-base64/toBase64.browser.js +35 -0
  1234. package/node_modules/@smithy/core/dist-es/submodules/serde/util-base64/toBase64.js +15 -0
  1235. package/node_modules/@smithy/core/dist-es/submodules/serde/util-body-length/calculateBodyLength.js +27 -0
  1236. package/node_modules/@smithy/core/dist-es/submodules/serde/util-buffer-from/buffer-from.js +13 -0
  1237. package/node_modules/@smithy/core/dist-es/submodules/serde/util-stream/blob/Uint8ArrayBlobAdapter.js +23 -0
  1238. package/node_modules/@smithy/core/dist-es/submodules/serde/util-stream/checksum/ChecksumStream.js +60 -0
  1239. package/node_modules/@smithy/core/dist-es/submodules/serde/util-stream/checksum/createChecksumStream.browser.js +35 -0
  1240. package/node_modules/@smithy/core/dist-es/submodules/serde/util-stream/checksum/createChecksumStream.js +9 -0
  1241. package/node_modules/@smithy/core/dist-es/submodules/serde/util-stream/createBufferedReadable.js +57 -0
  1242. package/node_modules/@smithy/core/dist-es/submodules/serde/util-stream/headStream.js +38 -0
  1243. package/node_modules/@smithy/core/dist-es/submodules/serde/util-stream/sdk-stream-mixin.browser.js +64 -0
  1244. package/node_modules/@smithy/core/dist-es/submodules/serde/util-stream/sdk-stream-mixin.js +50 -0
  1245. package/node_modules/@smithy/core/dist-es/submodules/serde/util-stream/splitStream.js +13 -0
  1246. package/node_modules/@smithy/core/dist-es/submodules/serde/util-stream/stream-collector.browser.js +53 -0
  1247. package/node_modules/@smithy/core/dist-es/submodules/serde/util-stream/stream-collector.js +48 -0
  1248. package/node_modules/@smithy/core/dist-es/submodules/serde/util-utf8/fromUtf8.js +5 -0
  1249. package/node_modules/@smithy/core/dist-es/submodules/serde/util-utf8/toUint8Array.browser.js +10 -0
  1250. package/node_modules/@smithy/core/dist-es/submodules/serde/util-utf8/toUtf8.js +10 -0
  1251. package/node_modules/@smithy/core/dist-es/submodules/serde/uuid/v4.js +32 -0
  1252. package/node_modules/@smithy/core/dist-es/util-identity-and-auth/httpAuthSchemes/httpApiKeyAuth.js +2 -2
  1253. package/node_modules/@smithy/core/dist-es/util-identity-and-auth/httpAuthSchemes/httpBearerAuth.js +1 -1
  1254. package/node_modules/@smithy/core/dist-types/getSmithyContext.d.ts +1 -1
  1255. package/node_modules/@smithy/core/dist-types/middleware-http-auth-scheme/getHttpAuthSchemeEndpointRuleSetPlugin.d.ts +1 -1
  1256. package/node_modules/@smithy/core/dist-types/middleware-http-auth-scheme/getHttpAuthSchemePlugin.d.ts +1 -1
  1257. package/node_modules/@smithy/core/dist-types/middleware-http-auth-scheme/httpAuthSchemeMiddleware.d.ts +1 -1
  1258. package/node_modules/@smithy/core/dist-types/pagination/createPaginator.d.ts +2 -2
  1259. package/node_modules/@smithy/core/dist-types/request-builder/requestBuilder.d.ts +2 -1
  1260. package/node_modules/@smithy/core/dist-types/setFeature.d.ts +3 -3
  1261. package/node_modules/@smithy/core/dist-types/submodules/cbor/cbor-decode.d.ts +5 -4
  1262. package/node_modules/@smithy/core/dist-types/submodules/cbor/cbor-types.d.ts +4 -4
  1263. package/node_modules/@smithy/core/dist-types/submodules/cbor/cbor.d.ts +3 -4
  1264. package/node_modules/@smithy/core/dist-types/submodules/cbor/parseCborBody.d.ts +3 -3
  1265. package/node_modules/@smithy/core/dist-types/submodules/checksum/chunked-blob-reader/chunked-blob-reader.d.ts +6 -0
  1266. package/node_modules/@smithy/core/dist-types/submodules/checksum/chunked-blob-reader/chunked-blob-reader.native.d.ts +4 -0
  1267. package/node_modules/@smithy/core/dist-types/submodules/checksum/hash-blob-browser/blobHasher.d.ts +5 -0
  1268. package/node_modules/@smithy/core/dist-types/submodules/checksum/hash-stream-node/HashCalculator.d.ts +10 -0
  1269. package/node_modules/@smithy/core/dist-types/submodules/checksum/hash-stream-node/fileStreamHasher.d.ts +6 -0
  1270. package/node_modules/@smithy/core/dist-types/submodules/checksum/hash-stream-node/readableStreamHasher.d.ts +6 -0
  1271. package/node_modules/@smithy/core/dist-types/submodules/checksum/index.browser.d.ts +5 -0
  1272. package/node_modules/@smithy/core/dist-types/submodules/checksum/index.d.ts +5 -0
  1273. package/node_modules/@smithy/core/dist-types/submodules/checksum/index.native.d.ts +5 -0
  1274. package/node_modules/@smithy/core/dist-types/submodules/checksum/md5-js/constants.d.ts +12 -0
  1275. package/node_modules/@smithy/core/dist-types/submodules/checksum/md5-js/md5.d.ts +16 -0
  1276. package/node_modules/@smithy/core/dist-types/submodules/client/index.d.ts +26 -0
  1277. package/node_modules/@smithy/core/dist-types/submodules/client/smithy-client/client.d.ts +84 -0
  1278. package/node_modules/@smithy/core/dist-types/submodules/client/smithy-client/command.d.ts +119 -0
  1279. package/node_modules/@smithy/core/dist-types/submodules/client/smithy-client/create-aggregated-client.d.ts +16 -0
  1280. package/node_modules/@smithy/core/dist-types/submodules/client/smithy-client/default-error-handler.d.ts +15 -0
  1281. package/node_modules/@smithy/core/dist-types/submodules/client/smithy-client/emitWarningIfUnsupportedVersion.d.ts +7 -0
  1282. package/node_modules/@smithy/core/dist-types/submodules/client/smithy-client/exceptions.d.ts +42 -0
  1283. package/node_modules/@smithy/core/dist-types/submodules/client/smithy-client/extensions/checksum.d.ts +25 -0
  1284. package/node_modules/@smithy/core/dist-types/submodules/client/smithy-client/extensions/defaultExtensionConfiguration.d.ts +38 -0
  1285. package/node_modules/@smithy/core/dist-types/submodules/client/smithy-client/get-array-if-single-item.d.ts +7 -0
  1286. package/node_modules/@smithy/core/dist-types/submodules/client/smithy-client/get-value-from-text-node.d.ts +7 -0
  1287. package/node_modules/@smithy/core/dist-types/submodules/client/smithy-client/object-mapping.d.ts +163 -0
  1288. package/node_modules/@smithy/core/dist-types/submodules/client/smithy-client/ser-utils.d.ts +14 -0
  1289. package/node_modules/@smithy/core/dist-types/submodules/client/smithy-client/serde-json.d.ts +10 -0
  1290. package/node_modules/@smithy/core/dist-types/submodules/client/util-middleware/getSmithyContext.d.ts +5 -0
  1291. package/node_modules/@smithy/core/dist-types/submodules/client/util-waiter/circularReplacer.d.ts +6 -0
  1292. package/node_modules/@smithy/core/dist-types/submodules/client/util-waiter/createWaiter.d.ts +11 -0
  1293. package/node_modules/@smithy/core/dist-types/submodules/client/util-waiter/poller.d.ts +11 -0
  1294. package/node_modules/@smithy/core/dist-types/submodules/client/util-waiter/utils/sleep.d.ts +4 -0
  1295. package/node_modules/@smithy/core/dist-types/submodules/client/util-waiter/utils/validate.d.ts +8 -0
  1296. package/node_modules/@smithy/core/dist-types/submodules/client/util-waiter/waiter.d.ts +49 -0
  1297. package/node_modules/@smithy/core/dist-types/submodules/config/config-resolver/endpointsConfig/NodeUseDualstackEndpointConfigOptions.d.ts +23 -0
  1298. package/node_modules/@smithy/core/dist-types/submodules/config/config-resolver/endpointsConfig/NodeUseFipsEndpointConfigOptions.d.ts +23 -0
  1299. package/node_modules/@smithy/core/dist-types/submodules/config/config-resolver/endpointsConfig/resolveEndpointsConfig.d.ts +57 -0
  1300. package/node_modules/@smithy/core/dist-types/submodules/config/config-resolver/regionConfig/config.d.ts +17 -0
  1301. package/node_modules/@smithy/core/dist-types/submodules/config/defaults-mode/defaultsModeConfig.d.ts +6 -0
  1302. package/node_modules/@smithy/core/dist-types/submodules/config/defaults-mode/resolveDefaultsModeConfig.browser.d.ts +17 -0
  1303. package/node_modules/@smithy/core/dist-types/submodules/config/defaults-mode/resolveDefaultsModeConfig.d.ts +17 -0
  1304. package/node_modules/@smithy/core/dist-types/submodules/config/defaults-mode/resolveDefaultsModeConfig.native.d.ts +16 -0
  1305. package/node_modules/@smithy/core/dist-types/submodules/config/index.browser.d.ts +55 -0
  1306. package/node_modules/@smithy/core/dist-types/submodules/config/index.d.ts +36 -0
  1307. package/node_modules/@smithy/core/dist-types/submodules/config/index.native.d.ts +55 -0
  1308. package/node_modules/@smithy/core/dist-types/submodules/config/node-config-provider/configLoader.d.ts +31 -0
  1309. package/node_modules/@smithy/core/dist-types/submodules/config/node-config-provider/fromSharedConfigFiles.d.ts +22 -0
  1310. package/node_modules/@smithy/core/dist-types/submodules/config/property-provider/CredentialsProviderError.d.ts +29 -0
  1311. package/node_modules/@smithy/core/dist-types/submodules/config/property-provider/ProviderError.d.ts +38 -0
  1312. package/node_modules/@smithy/core/dist-types/submodules/config/property-provider/TokenProviderError.d.ts +29 -0
  1313. package/node_modules/@smithy/core/dist-types/submodules/config/property-provider/chain.d.ts +12 -0
  1314. package/node_modules/@smithy/core/dist-types/submodules/config/property-provider/fromValue.d.ts +5 -0
  1315. package/node_modules/@smithy/core/dist-types/submodules/config/shared-ini-file-loader/getConfigData.d.ts +8 -0
  1316. package/node_modules/@smithy/core/dist-types/submodules/config/shared-ini-file-loader/getSSOTokenFromFile.d.ts +53 -0
  1317. package/node_modules/@smithy/core/dist-types/submodules/config/shared-ini-file-loader/getSsoSessionData.d.ts +6 -0
  1318. package/node_modules/@smithy/core/dist-types/submodules/config/shared-ini-file-loader/parseIni.d.ts +2 -0
  1319. package/node_modules/@smithy/core/dist-types/submodules/config/shared-ini-file-loader/parseKnownFiles.d.ts +18 -0
  1320. package/node_modules/@smithy/core/dist-types/submodules/endpoints/index.browser.d.ts +24 -0
  1321. package/node_modules/@smithy/core/dist-types/submodules/endpoints/index.d.ts +23 -0
  1322. package/node_modules/@smithy/core/dist-types/submodules/endpoints/middleware-endpoint/adaptors/getEndpointFromConfig.browser.d.ts +1 -0
  1323. package/node_modules/@smithy/core/dist-types/submodules/endpoints/middleware-endpoint/adaptors/getEndpointFromInstructions.d.ts +21 -0
  1324. package/node_modules/@smithy/core/dist-types/submodules/endpoints/middleware-endpoint/adaptors/getEndpointUrlConfig.d.ts +2 -0
  1325. package/node_modules/@smithy/core/dist-types/submodules/endpoints/middleware-endpoint/adaptors/toEndpointV1.d.ts +5 -0
  1326. package/node_modules/@smithy/core/dist-types/submodules/endpoints/middleware-endpoint/endpointMiddleware.d.ts +11 -0
  1327. package/node_modules/@smithy/core/dist-types/submodules/endpoints/middleware-endpoint/getEndpointPlugin.d.ts +12 -0
  1328. package/node_modules/@smithy/core/dist-types/submodules/endpoints/middleware-endpoint/resolveEndpointConfig.d.ts +110 -0
  1329. package/node_modules/@smithy/core/dist-types/submodules/endpoints/util-endpoints/cache/EndpointCache.d.ts +34 -0
  1330. package/node_modules/@smithy/core/dist-types/submodules/endpoints/util-endpoints/decideEndpoint.d.ts +7 -0
  1331. package/node_modules/@smithy/core/dist-types/submodules/endpoints/util-endpoints/getEndpointUrlConfig.d.ts +12 -0
  1332. package/node_modules/@smithy/core/dist-types/submodules/endpoints/util-endpoints/lib/parseURL.d.ts +5 -0
  1333. package/node_modules/@smithy/core/dist-types/submodules/endpoints/util-endpoints/resolveEndpoint.d.ts +6 -0
  1334. package/node_modules/@smithy/core/dist-types/submodules/endpoints/util-endpoints/utils/evaluateCondition.d.ts +11 -0
  1335. package/node_modules/@smithy/core/dist-types/submodules/endpoints/util-endpoints/utils/evaluateErrorRule.d.ts +2 -0
  1336. package/node_modules/@smithy/core/dist-types/submodules/endpoints/util-endpoints/utils/evaluateExpression.d.ts +7 -0
  1337. package/node_modules/@smithy/core/dist-types/submodules/endpoints/util-endpoints/utils/evaluateRules.d.ts +8 -0
  1338. package/node_modules/@smithy/core/dist-types/submodules/endpoints/util-endpoints/utils/getEndpointHeaders.d.ts +2 -0
  1339. package/node_modules/@smithy/core/dist-types/submodules/endpoints/util-endpoints/utils/getEndpointProperties.d.ts +8 -0
  1340. package/node_modules/@smithy/core/dist-types/submodules/endpoints/util-endpoints/utils/getEndpointUrl.d.ts +2 -0
  1341. package/node_modules/@smithy/core/dist-types/submodules/event-streams/eventstream-codec/EventStreamCodec.d.ts +30 -0
  1342. package/node_modules/@smithy/core/dist-types/submodules/event-streams/eventstream-serde/EventStreamMarshaller.browser.d.ts +46 -0
  1343. package/node_modules/@smithy/core/dist-types/submodules/event-streams/eventstream-serde/EventStreamMarshaller.d.ts +31 -0
  1344. package/node_modules/@smithy/core/dist-types/submodules/event-streams/eventstream-serde/utils.d.ts +11 -0
  1345. package/node_modules/@smithy/core/dist-types/submodules/event-streams/eventstream-serde-universal/EventStreamMarshaller.d.ts +22 -0
  1346. package/node_modules/@smithy/core/dist-types/submodules/event-streams/eventstream-serde-universal/getUnmarshalledStream.d.ts +18 -0
  1347. package/node_modules/@smithy/core/dist-types/submodules/event-streams/index.browser.d.ts +23 -0
  1348. package/node_modules/@smithy/core/dist-types/submodules/event-streams/index.d.ts +23 -1
  1349. package/node_modules/@smithy/core/dist-types/submodules/protocols/HttpBindingProtocol.d.ts +2 -2
  1350. package/node_modules/@smithy/core/dist-types/submodules/protocols/collect-stream-body.d.ts +3 -3
  1351. package/node_modules/@smithy/core/dist-types/submodules/protocols/extended-encode-uri-component.d.ts +2 -2
  1352. package/node_modules/@smithy/core/dist-types/submodules/protocols/index.d.ts +14 -0
  1353. package/node_modules/@smithy/core/dist-types/submodules/protocols/protocol-http/Field.d.ts +49 -0
  1354. package/node_modules/@smithy/core/dist-types/submodules/protocols/protocol-http/extensions/httpExtensionConfiguration.d.ts +33 -0
  1355. package/node_modules/@smithy/core/dist-types/submodules/protocols/protocol-http/httpHandler.d.ts +32 -0
  1356. package/node_modules/@smithy/core/dist-types/submodules/protocols/protocol-http/httpRequest.d.ts +55 -0
  1357. package/node_modules/@smithy/core/dist-types/submodules/protocols/requestBuilder.d.ts +3 -2
  1358. package/node_modules/@smithy/core/dist-types/submodules/retry/index.browser.d.ts +26 -0
  1359. package/node_modules/@smithy/core/dist-types/submodules/retry/index.d.ts +20 -0
  1360. package/node_modules/@smithy/core/dist-types/submodules/retry/middleware-retry/configurations.d.ts +68 -0
  1361. package/node_modules/@smithy/core/dist-types/submodules/retry/middleware-retry/isStreamingPayload/isStreamingPayload.browser.d.ts +5 -0
  1362. package/node_modules/@smithy/core/dist-types/submodules/retry/middleware-retry/isStreamingPayload/isStreamingPayload.d.ts +5 -0
  1363. package/node_modules/@smithy/core/dist-types/submodules/retry/middleware-retry/retry-pre-sra-deprecated/AdaptiveRetryStrategy.d.ts +23 -0
  1364. package/node_modules/@smithy/core/dist-types/submodules/retry/middleware-retry/retryMiddleware.d.ts +19 -0
  1365. package/node_modules/@smithy/core/dist-types/submodules/retry/util-retry/AdaptiveRetryStrategy.d.ts +38 -0
  1366. package/node_modules/@smithy/core/dist-types/submodules/retry/util-retry/constants.d.ts +60 -0
  1367. package/node_modules/@smithy/core/dist-types/submodules/retry/util-retry/retries-2026-config.d.ts +11 -0
  1368. package/node_modules/@smithy/core/dist-types/submodules/schema/schemas/StructureSchema.d.ts +1 -1
  1369. package/node_modules/@smithy/core/dist-types/submodules/serde/date-utils.d.ts +7 -19
  1370. package/node_modules/@smithy/core/dist-types/submodules/serde/index.browser.d.ts +39 -0
  1371. package/node_modules/@smithy/core/dist-types/submodules/serde/index.d.ts +37 -10
  1372. package/node_modules/@smithy/core/dist-types/submodules/serde/index.native.d.ts +37 -0
  1373. package/node_modules/@smithy/core/dist-types/submodules/serde/lazy-json.d.ts +4 -6
  1374. package/node_modules/@smithy/core/dist-types/submodules/serde/parse-utils.d.ts +31 -51
  1375. package/node_modules/@smithy/core/dist-types/submodules/serde/schema-serde-lib/schema-date-utils.d.ts +3 -12
  1376. package/node_modules/@smithy/core/dist-types/submodules/serde/split-every.d.ts +1 -2
  1377. package/node_modules/@smithy/core/dist-types/submodules/serde/util-buffer-from/buffer-from.d.ts +12 -0
  1378. package/node_modules/@smithy/core/dist-types/submodules/serde/util-stream/blob/Uint8ArrayBlobAdapter.d.ts +18 -0
  1379. package/node_modules/@smithy/core/dist-types/submodules/serde/util-stream/checksum/ChecksumStream.d.ts +60 -0
  1380. package/node_modules/@smithy/core/dist-types/submodules/serde/util-stream/checksum/createChecksumStream.browser.d.ts +14 -0
  1381. package/node_modules/@smithy/core/dist-types/submodules/serde/util-stream/checksum/createChecksumStream.d.ts +13 -0
  1382. package/node_modules/@smithy/core/dist-types/submodules/serde/util-stream/createBufferedReadable.browser.d.ts +51 -0
  1383. package/node_modules/@smithy/core/dist-types/submodules/serde/util-stream/createBufferedReadable.d.ts +16 -0
  1384. package/node_modules/@smithy/core/dist-types/submodules/serde/util-stream/getAwsChunkedEncodingStream.d.ts +10 -0
  1385. package/node_modules/@smithy/core/dist-types/submodules/serde/util-stream/headStream.d.ts +9 -0
  1386. package/node_modules/@smithy/core/dist-types/submodules/serde/util-stream/sdk-stream-mixin.d.ts +8 -0
  1387. package/node_modules/@smithy/core/dist-types/submodules/serde/util-stream/splitStream.d.ts +11 -0
  1388. package/node_modules/@smithy/core/dist-types/submodules/serde/util-stream/stream-collector.browser.d.ts +6 -0
  1389. package/node_modules/@smithy/core/dist-types/submodules/serde/util-stream/stream-collector.d.ts +3 -0
  1390. package/node_modules/@smithy/core/dist-types/submodules/serde/util-utf8/toUint8Array.browser.d.ts +4 -0
  1391. package/node_modules/@smithy/core/dist-types/submodules/serde/uuid/v4.d.ts +24 -0
  1392. package/node_modules/@smithy/core/dist-types/util-identity-and-auth/httpAuthSchemes/httpApiKeyAuth.d.ts +2 -2
  1393. package/node_modules/@smithy/core/dist-types/util-identity-and-auth/httpAuthSchemes/httpBearerAuth.d.ts +2 -2
  1394. package/node_modules/@smithy/core/dist-types/util-identity-and-auth/memoizeIdentityProvider.d.ts +2 -1
  1395. package/node_modules/@smithy/core/package.json +110 -11
  1396. package/node_modules/@smithy/core/retry.d.ts +5 -0
  1397. package/node_modules/@smithy/core/retry.js +5 -0
  1398. package/node_modules/@smithy/credential-provider-imds/dist-cjs/index.js +39 -41
  1399. package/node_modules/@smithy/credential-provider-imds/dist-es/error/InstanceMetadataV1FallbackError.js +1 -1
  1400. package/node_modules/@smithy/credential-provider-imds/dist-es/fromContainerMetadata.js +3 -3
  1401. package/node_modules/@smithy/credential-provider-imds/dist-es/fromInstanceMetadata.js +2 -3
  1402. package/node_modules/@smithy/credential-provider-imds/dist-es/remoteProvider/httpRequest.js +2 -3
  1403. package/node_modules/@smithy/credential-provider-imds/dist-es/utils/getInstanceMetadataEndpoint.js +2 -2
  1404. package/node_modules/@smithy/credential-provider-imds/dist-types/config/EndpointConfigOptions.d.ts +1 -1
  1405. package/node_modules/@smithy/credential-provider-imds/dist-types/config/EndpointModeConfigOptions.d.ts +1 -1
  1406. package/node_modules/@smithy/credential-provider-imds/dist-types/error/InstanceMetadataV1FallbackError.d.ts +3 -3
  1407. package/node_modules/@smithy/credential-provider-imds/dist-types/fromContainerMetadata.d.ts +3 -3
  1408. package/node_modules/@smithy/credential-provider-imds/dist-types/fromInstanceMetadata.d.ts +3 -3
  1409. package/node_modules/@smithy/credential-provider-imds/dist-types/remoteProvider/httpRequest.d.ts +1 -2
  1410. package/node_modules/@smithy/credential-provider-imds/dist-types/utils/staticStabilityProvider.d.ts +1 -2
  1411. package/node_modules/@smithy/credential-provider-imds/package.json +2 -4
  1412. package/node_modules/@smithy/fetch-http-handler/dist-cjs/index.js +6 -7
  1413. package/node_modules/@smithy/fetch-http-handler/dist-es/fetch-http-handler.js +1 -2
  1414. package/node_modules/@smithy/fetch-http-handler/dist-es/stream-collector.js +1 -1
  1415. package/node_modules/@smithy/fetch-http-handler/dist-types/create-request.d.ts +2 -1
  1416. package/node_modules/@smithy/fetch-http-handler/dist-types/fetch-http-handler.d.ts +6 -7
  1417. package/node_modules/@smithy/fetch-http-handler/package.json +2 -4
  1418. package/node_modules/@smithy/is-array-buffer/dist-cjs/index.js +30 -4
  1419. package/node_modules/@smithy/is-array-buffer/package.json +12 -13
  1420. package/node_modules/@smithy/node-http-handler/dist-cjs/index.js +45 -25
  1421. package/node_modules/@smithy/node-http-handler/dist-es/get-transformed-headers.js +1 -1
  1422. package/node_modules/@smithy/node-http-handler/dist-es/node-http-handler.js +26 -16
  1423. package/node_modules/@smithy/node-http-handler/dist-es/node-http2-connection-manager.js +9 -2
  1424. package/node_modules/@smithy/node-http-handler/dist-es/node-http2-handler.js +6 -4
  1425. package/node_modules/@smithy/node-http-handler/dist-es/server.mock.js +1 -1
  1426. package/node_modules/@smithy/node-http-handler/dist-es/write-request-body.js +2 -2
  1427. package/node_modules/@smithy/node-http-handler/dist-types/get-transformed-headers.d.ts +1 -1
  1428. package/node_modules/@smithy/node-http-handler/dist-types/node-http-handler.d.ts +6 -5
  1429. package/node_modules/@smithy/node-http-handler/dist-types/node-http2-connection-manager.d.ts +4 -0
  1430. package/node_modules/@smithy/node-http-handler/dist-types/node-http2-connection-pool.d.ts +1 -1
  1431. package/node_modules/@smithy/node-http-handler/dist-types/node-http2-handler.d.ts +7 -2
  1432. package/node_modules/@smithy/node-http-handler/dist-types/readable.mock.d.ts +1 -2
  1433. package/node_modules/@smithy/node-http-handler/dist-types/server.mock.d.ts +3 -3
  1434. package/node_modules/@smithy/node-http-handler/dist-types/set-request-timeout.d.ts +1 -1
  1435. package/node_modules/@smithy/node-http-handler/dist-types/stream-collector/index.d.ts +2 -1
  1436. package/node_modules/@smithy/node-http-handler/dist-types/stream-collector/readable.mock.d.ts +1 -2
  1437. package/node_modules/@smithy/node-http-handler/dist-types/timing.d.ts +2 -1
  1438. package/node_modules/@smithy/node-http-handler/dist-types/write-request-body.d.ts +2 -2
  1439. package/node_modules/@smithy/node-http-handler/package.json +2 -3
  1440. package/node_modules/@smithy/signature-v4/dist-cjs/index.js +167 -170
  1441. package/node_modules/@smithy/signature-v4/dist-es/HeaderFormatter.js +1 -2
  1442. package/node_modules/@smithy/signature-v4/dist-es/SignatureV4.js +3 -4
  1443. package/node_modules/@smithy/signature-v4/dist-es/SignatureV4Base.js +3 -4
  1444. package/node_modules/@smithy/signature-v4/dist-es/credentialDerivation.js +1 -2
  1445. package/node_modules/@smithy/signature-v4/dist-es/getCanonicalQuery.js +1 -1
  1446. package/node_modules/@smithy/signature-v4/dist-es/getPayloadHash.js +1 -3
  1447. package/node_modules/@smithy/signature-v4/dist-es/moveHeadersToQuery.js +1 -1
  1448. package/node_modules/@smithy/signature-v4/dist-es/prepareRequest.js +1 -1
  1449. package/node_modules/@smithy/signature-v4/dist-types/HeaderFormatter.d.ts +2 -1
  1450. package/node_modules/@smithy/signature-v4/dist-types/SignatureV4.d.ts +1 -2
  1451. package/node_modules/@smithy/signature-v4/dist-types/index.d.ts +1 -1
  1452. package/node_modules/@smithy/signature-v4/dist-types/signature-v4a-container.d.ts +2 -3
  1453. package/node_modules/@smithy/signature-v4/package.json +2 -7
  1454. package/node_modules/@smithy/util-buffer-from/dist-cjs/index.js +44 -17
  1455. package/node_modules/@smithy/util-buffer-from/package.json +14 -15
  1456. package/node_modules/@smithy/util-utf8/dist-cjs/index.js +60 -27
  1457. package/node_modules/@smithy/util-utf8/package.json +13 -14
  1458. package/node_modules/@types/node/README.md +1 -1
  1459. package/node_modules/@types/node/http2.d.ts +21 -12
  1460. package/node_modules/@types/node/package.json +2 -2
  1461. package/node_modules/argparse/CHANGELOG.md +216 -0
  1462. package/node_modules/argparse/LICENSE +254 -0
  1463. package/node_modules/argparse/README.md +84 -0
  1464. package/node_modules/argparse/argparse.js +3707 -0
  1465. package/node_modules/argparse/lib/sub.js +67 -0
  1466. package/node_modules/argparse/lib/textwrap.js +440 -0
  1467. package/node_modules/argparse/package.json +31 -0
  1468. package/node_modules/fast-xml-builder/CHANGELOG.md +4 -0
  1469. package/node_modules/fast-xml-builder/lib/fxb.cjs +1 -1
  1470. package/node_modules/fast-xml-builder/lib/fxb.d.cts +91 -1
  1471. package/node_modules/fast-xml-builder/lib/fxb.min.js +1 -1
  1472. package/node_modules/fast-xml-builder/lib/fxb.min.js.map +1 -1
  1473. package/node_modules/fast-xml-builder/package.json +3 -2
  1474. package/node_modules/fast-xml-builder/src/fxb.d.ts +92 -3
  1475. package/node_modules/fast-xml-builder/src/fxb.js +92 -31
  1476. package/node_modules/fast-xml-builder/src/orderedJs2Xml.js +87 -33
  1477. package/node_modules/js-yaml/LICENSE +21 -0
  1478. package/node_modules/js-yaml/README.md +247 -0
  1479. package/node_modules/js-yaml/bin/js-yaml.js +126 -0
  1480. package/node_modules/js-yaml/dist/js-yaml.js +3880 -0
  1481. package/node_modules/js-yaml/dist/js-yaml.min.js +2 -0
  1482. package/node_modules/js-yaml/dist/js-yaml.mjs +3856 -0
  1483. package/node_modules/js-yaml/index.js +47 -0
  1484. package/node_modules/js-yaml/lib/common.js +59 -0
  1485. package/node_modules/js-yaml/lib/dumper.js +965 -0
  1486. package/node_modules/js-yaml/lib/exception.js +55 -0
  1487. package/node_modules/js-yaml/lib/loader.js +1733 -0
  1488. package/node_modules/js-yaml/lib/schema/core.js +11 -0
  1489. package/node_modules/js-yaml/lib/schema/default.js +22 -0
  1490. package/node_modules/js-yaml/lib/schema/failsafe.js +17 -0
  1491. package/node_modules/js-yaml/lib/schema/json.js +19 -0
  1492. package/node_modules/js-yaml/lib/schema.js +121 -0
  1493. package/node_modules/js-yaml/lib/snippet.js +101 -0
  1494. package/node_modules/js-yaml/lib/type/binary.js +125 -0
  1495. package/node_modules/js-yaml/lib/type/bool.js +35 -0
  1496. package/node_modules/js-yaml/lib/type/float.js +97 -0
  1497. package/node_modules/js-yaml/lib/type/int.js +156 -0
  1498. package/node_modules/js-yaml/lib/type/map.js +8 -0
  1499. package/node_modules/js-yaml/lib/type/merge.js +12 -0
  1500. package/node_modules/js-yaml/lib/type/null.js +35 -0
  1501. package/node_modules/js-yaml/lib/type/omap.js +44 -0
  1502. package/node_modules/js-yaml/lib/type/pairs.js +53 -0
  1503. package/node_modules/js-yaml/lib/type/seq.js +8 -0
  1504. package/node_modules/js-yaml/lib/type/set.js +29 -0
  1505. package/node_modules/js-yaml/lib/type/str.js +8 -0
  1506. package/node_modules/js-yaml/lib/type/timestamp.js +88 -0
  1507. package/node_modules/js-yaml/lib/type.js +66 -0
  1508. package/node_modules/js-yaml/package.json +66 -0
  1509. package/node_modules/protobufjs/dist/light/protobuf.js +39 -13
  1510. package/node_modules/protobufjs/dist/light/protobuf.js.map +1 -1
  1511. package/node_modules/protobufjs/dist/light/protobuf.min.js +3 -3
  1512. package/node_modules/protobufjs/dist/light/protobuf.min.js.map +1 -1
  1513. package/node_modules/protobufjs/dist/minimal/protobuf.js +2 -2
  1514. package/node_modules/protobufjs/dist/minimal/protobuf.min.js +2 -2
  1515. package/node_modules/protobufjs/dist/protobuf.js +74 -43
  1516. package/node_modules/protobufjs/dist/protobuf.js.map +1 -1
  1517. package/node_modules/protobufjs/dist/protobuf.min.js +3 -3
  1518. package/node_modules/protobufjs/dist/protobuf.min.js.map +1 -1
  1519. package/node_modules/protobufjs/index.d.ts +18 -5
  1520. package/node_modules/protobufjs/package.json +1 -1
  1521. package/node_modules/protobufjs/src/namespace.js +11 -5
  1522. package/node_modules/protobufjs/src/parse.js +35 -30
  1523. package/node_modules/protobufjs/src/root.js +4 -2
  1524. package/node_modules/protobufjs/src/service.js +4 -2
  1525. package/node_modules/protobufjs/src/type.js +4 -2
  1526. package/node_modules/protobufjs/src/util.js +14 -0
  1527. package/node_modules/socks/package.json +2 -2
  1528. package/node_modules/ws/lib/sender.js +6 -1
  1529. package/node_modules/ws/package.json +1 -1
  1530. package/node_modules/xml-naming/README.md +189 -0
  1531. package/node_modules/xml-naming/package.json +54 -0
  1532. package/node_modules/xml-naming/src/index.d.ts +74 -0
  1533. package/node_modules/xml-naming/src/index.js +270 -0
  1534. package/node_modules/yaml/browser/dist/compose/composer.js +4 -2
  1535. package/node_modules/yaml/browser/dist/parse/lexer.js +28 -24
  1536. package/node_modules/yaml/browser/dist/parse/parser.js +12 -4
  1537. package/node_modules/yaml/dist/compose/composer.js +4 -2
  1538. package/node_modules/yaml/dist/parse/lexer.js +28 -24
  1539. package/node_modules/yaml/dist/parse/parser.js +12 -4
  1540. package/node_modules/yaml/package.json +1 -1
  1541. package/package.json +93 -81
  1542. package/themes/forge-dark.json +84 -0
  1543. package/workflows/lead-qualifier/prompts/digest.md +44 -0
  1544. package/workflows/lead-qualifier/prompts/draft-outreach.md +44 -0
  1545. package/workflows/lead-qualifier/prompts/enrich.md +52 -0
  1546. package/workflows/lead-qualifier/prompts/intake.md +48 -0
  1547. package/workflows/lead-qualifier/prompts/mark-cold.md +38 -0
  1548. package/workflows/lead-qualifier/prompts/score.md +45 -0
  1549. package/workflows/lead-qualifier/workflow.yaml +95 -0
  1550. package/workflows/research-brief/prompts/brief-synthesize.md +43 -0
  1551. package/workflows/research-brief/prompts/intake.md +51 -0
  1552. package/workflows/research-brief/prompts/source-critique.md +38 -0
  1553. package/workflows/research-brief/prompts/source-score.md +38 -0
  1554. package/workflows/research-brief/prompts/source-summarize.md +54 -0
  1555. package/workflows/research-brief/workflow.yaml +66 -0
  1556. package/dist/forge-payload/.tools/collate.cjs +0 -1041
  1557. package/dist/forge-payload/.tools/lib/validate.js +0 -131
  1558. package/dist/forge-payload/.tools/store-cli.cjs +0 -1123
  1559. package/dist/forge-payload/.tools/validate-store.cjs +0 -522
  1560. package/node_modules/@aws-crypto/sha256-browser/node_modules/@smithy/is-array-buffer/LICENSE +0 -201
  1561. package/node_modules/@aws-crypto/sha256-browser/node_modules/@smithy/is-array-buffer/README.md +0 -10
  1562. package/node_modules/@aws-crypto/sha256-browser/node_modules/@smithy/is-array-buffer/dist-cjs/index.js +0 -32
  1563. package/node_modules/@aws-crypto/sha256-browser/node_modules/@smithy/is-array-buffer/dist-types/ts3.4/index.d.ts +0 -4
  1564. package/node_modules/@aws-crypto/sha256-browser/node_modules/@smithy/is-array-buffer/package.json +0 -60
  1565. package/node_modules/@aws-crypto/sha256-browser/node_modules/@smithy/util-buffer-from/LICENSE +0 -201
  1566. package/node_modules/@aws-crypto/sha256-browser/node_modules/@smithy/util-buffer-from/README.md +0 -10
  1567. package/node_modules/@aws-crypto/sha256-browser/node_modules/@smithy/util-buffer-from/dist-cjs/index.js +0 -47
  1568. package/node_modules/@aws-crypto/sha256-browser/node_modules/@smithy/util-buffer-from/dist-es/index.js +0 -14
  1569. package/node_modules/@aws-crypto/sha256-browser/node_modules/@smithy/util-buffer-from/dist-types/index.d.ts +0 -13
  1570. package/node_modules/@aws-crypto/sha256-browser/node_modules/@smithy/util-buffer-from/dist-types/ts3.4/index.d.ts +0 -13
  1571. package/node_modules/@aws-crypto/sha256-browser/node_modules/@smithy/util-buffer-from/package.json +0 -61
  1572. package/node_modules/@aws-crypto/sha256-browser/node_modules/@smithy/util-utf8/LICENSE +0 -201
  1573. package/node_modules/@aws-crypto/sha256-browser/node_modules/@smithy/util-utf8/README.md +0 -4
  1574. package/node_modules/@aws-crypto/sha256-browser/node_modules/@smithy/util-utf8/dist-cjs/index.js +0 -65
  1575. package/node_modules/@aws-crypto/sha256-browser/node_modules/@smithy/util-utf8/dist-es/fromUtf8.js +0 -5
  1576. package/node_modules/@aws-crypto/sha256-browser/node_modules/@smithy/util-utf8/dist-es/index.js +0 -3
  1577. package/node_modules/@aws-crypto/sha256-browser/node_modules/@smithy/util-utf8/dist-es/toUtf8.js +0 -10
  1578. package/node_modules/@aws-crypto/sha256-browser/node_modules/@smithy/util-utf8/dist-types/index.d.ts +0 -3
  1579. package/node_modules/@aws-crypto/sha256-browser/node_modules/@smithy/util-utf8/dist-types/ts3.4/fromUtf8.browser.d.ts +0 -1
  1580. package/node_modules/@aws-crypto/sha256-browser/node_modules/@smithy/util-utf8/dist-types/ts3.4/fromUtf8.d.ts +0 -1
  1581. package/node_modules/@aws-crypto/sha256-browser/node_modules/@smithy/util-utf8/dist-types/ts3.4/index.d.ts +0 -3
  1582. package/node_modules/@aws-crypto/sha256-browser/node_modules/@smithy/util-utf8/dist-types/ts3.4/toUint8Array.d.ts +0 -1
  1583. package/node_modules/@aws-crypto/sha256-browser/node_modules/@smithy/util-utf8/dist-types/ts3.4/toUtf8.browser.d.ts +0 -7
  1584. package/node_modules/@aws-crypto/sha256-browser/node_modules/@smithy/util-utf8/dist-types/ts3.4/toUtf8.d.ts +0 -7
  1585. package/node_modules/@aws-crypto/sha256-browser/node_modules/@smithy/util-utf8/package.json +0 -66
  1586. package/node_modules/@aws-crypto/util/node_modules/@smithy/is-array-buffer/LICENSE +0 -201
  1587. package/node_modules/@aws-crypto/util/node_modules/@smithy/is-array-buffer/README.md +0 -10
  1588. package/node_modules/@aws-crypto/util/node_modules/@smithy/is-array-buffer/dist-cjs/index.js +0 -32
  1589. package/node_modules/@aws-crypto/util/node_modules/@smithy/is-array-buffer/dist-es/index.js +0 -2
  1590. package/node_modules/@aws-crypto/util/node_modules/@smithy/is-array-buffer/dist-types/index.d.ts +0 -4
  1591. package/node_modules/@aws-crypto/util/node_modules/@smithy/is-array-buffer/dist-types/ts3.4/index.d.ts +0 -4
  1592. package/node_modules/@aws-crypto/util/node_modules/@smithy/is-array-buffer/package.json +0 -60
  1593. package/node_modules/@aws-crypto/util/node_modules/@smithy/util-buffer-from/LICENSE +0 -201
  1594. package/node_modules/@aws-crypto/util/node_modules/@smithy/util-buffer-from/README.md +0 -10
  1595. package/node_modules/@aws-crypto/util/node_modules/@smithy/util-buffer-from/dist-cjs/index.js +0 -47
  1596. package/node_modules/@aws-crypto/util/node_modules/@smithy/util-buffer-from/dist-es/index.js +0 -14
  1597. package/node_modules/@aws-crypto/util/node_modules/@smithy/util-buffer-from/dist-types/index.d.ts +0 -13
  1598. package/node_modules/@aws-crypto/util/node_modules/@smithy/util-buffer-from/dist-types/ts3.4/index.d.ts +0 -13
  1599. package/node_modules/@aws-crypto/util/node_modules/@smithy/util-buffer-from/package.json +0 -61
  1600. package/node_modules/@aws-crypto/util/node_modules/@smithy/util-utf8/LICENSE +0 -201
  1601. package/node_modules/@aws-crypto/util/node_modules/@smithy/util-utf8/README.md +0 -4
  1602. package/node_modules/@aws-crypto/util/node_modules/@smithy/util-utf8/dist-cjs/fromUtf8.browser.js +0 -1
  1603. package/node_modules/@aws-crypto/util/node_modules/@smithy/util-utf8/dist-cjs/fromUtf8.js +0 -1
  1604. package/node_modules/@aws-crypto/util/node_modules/@smithy/util-utf8/dist-cjs/index.js +0 -65
  1605. package/node_modules/@aws-crypto/util/node_modules/@smithy/util-utf8/dist-cjs/toUint8Array.js +0 -1
  1606. package/node_modules/@aws-crypto/util/node_modules/@smithy/util-utf8/dist-cjs/toUtf8.browser.js +0 -1
  1607. package/node_modules/@aws-crypto/util/node_modules/@smithy/util-utf8/dist-cjs/toUtf8.js +0 -1
  1608. package/node_modules/@aws-crypto/util/node_modules/@smithy/util-utf8/dist-es/fromUtf8.browser.js +0 -1
  1609. package/node_modules/@aws-crypto/util/node_modules/@smithy/util-utf8/dist-es/fromUtf8.js +0 -5
  1610. package/node_modules/@aws-crypto/util/node_modules/@smithy/util-utf8/dist-es/index.js +0 -3
  1611. package/node_modules/@aws-crypto/util/node_modules/@smithy/util-utf8/dist-es/toUint8Array.js +0 -10
  1612. package/node_modules/@aws-crypto/util/node_modules/@smithy/util-utf8/dist-es/toUtf8.browser.js +0 -9
  1613. package/node_modules/@aws-crypto/util/node_modules/@smithy/util-utf8/dist-es/toUtf8.js +0 -10
  1614. package/node_modules/@aws-crypto/util/node_modules/@smithy/util-utf8/dist-types/fromUtf8.browser.d.ts +0 -1
  1615. package/node_modules/@aws-crypto/util/node_modules/@smithy/util-utf8/dist-types/fromUtf8.d.ts +0 -1
  1616. package/node_modules/@aws-crypto/util/node_modules/@smithy/util-utf8/dist-types/index.d.ts +0 -3
  1617. package/node_modules/@aws-crypto/util/node_modules/@smithy/util-utf8/dist-types/toUint8Array.d.ts +0 -1
  1618. package/node_modules/@aws-crypto/util/node_modules/@smithy/util-utf8/dist-types/toUtf8.browser.d.ts +0 -7
  1619. package/node_modules/@aws-crypto/util/node_modules/@smithy/util-utf8/dist-types/toUtf8.d.ts +0 -7
  1620. package/node_modules/@aws-crypto/util/node_modules/@smithy/util-utf8/dist-types/ts3.4/fromUtf8.browser.d.ts +0 -1
  1621. package/node_modules/@aws-crypto/util/node_modules/@smithy/util-utf8/dist-types/ts3.4/fromUtf8.d.ts +0 -1
  1622. package/node_modules/@aws-crypto/util/node_modules/@smithy/util-utf8/dist-types/ts3.4/index.d.ts +0 -3
  1623. package/node_modules/@aws-crypto/util/node_modules/@smithy/util-utf8/dist-types/ts3.4/toUint8Array.d.ts +0 -1
  1624. package/node_modules/@aws-crypto/util/node_modules/@smithy/util-utf8/dist-types/ts3.4/toUtf8.browser.d.ts +0 -7
  1625. package/node_modules/@aws-crypto/util/node_modules/@smithy/util-utf8/dist-types/ts3.4/toUtf8.d.ts +0 -7
  1626. package/node_modules/@aws-crypto/util/node_modules/@smithy/util-utf8/package.json +0 -66
  1627. package/node_modules/@aws-sdk/credential-provider-http/dist-cjs/fromHttp/fromHttpTypes.js +0 -2
  1628. package/node_modules/@aws-sdk/credential-provider-sso/node_modules/@aws-sdk/token-providers/LICENSE +0 -201
  1629. package/node_modules/@aws-sdk/credential-provider-sso/node_modules/@aws-sdk/token-providers/README.md +0 -62
  1630. package/node_modules/@aws-sdk/credential-provider-sso/node_modules/@aws-sdk/token-providers/dist-cjs/index.js +0 -157
  1631. package/node_modules/@aws-sdk/credential-provider-sso/node_modules/@aws-sdk/token-providers/dist-es/constants.js +0 -2
  1632. package/node_modules/@aws-sdk/credential-provider-sso/node_modules/@aws-sdk/token-providers/dist-es/fromEnvSigningName.js +0 -16
  1633. package/node_modules/@aws-sdk/credential-provider-sso/node_modules/@aws-sdk/token-providers/dist-es/fromSso.js +0 -81
  1634. package/node_modules/@aws-sdk/credential-provider-sso/node_modules/@aws-sdk/token-providers/dist-es/fromStatic.js +0 -8
  1635. package/node_modules/@aws-sdk/credential-provider-sso/node_modules/@aws-sdk/token-providers/dist-es/getNewSsoOidcToken.js +0 -11
  1636. package/node_modules/@aws-sdk/credential-provider-sso/node_modules/@aws-sdk/token-providers/dist-es/getSsoOidcClient.js +0 -10
  1637. package/node_modules/@aws-sdk/credential-provider-sso/node_modules/@aws-sdk/token-providers/dist-es/index.js +0 -4
  1638. package/node_modules/@aws-sdk/credential-provider-sso/node_modules/@aws-sdk/token-providers/dist-es/nodeProvider.js +0 -5
  1639. package/node_modules/@aws-sdk/credential-provider-sso/node_modules/@aws-sdk/token-providers/dist-es/validateTokenExpiry.js +0 -7
  1640. package/node_modules/@aws-sdk/credential-provider-sso/node_modules/@aws-sdk/token-providers/dist-es/validateTokenKey.js +0 -7
  1641. package/node_modules/@aws-sdk/credential-provider-sso/node_modules/@aws-sdk/token-providers/dist-es/writeSSOTokenToFile.js +0 -8
  1642. package/node_modules/@aws-sdk/credential-provider-sso/node_modules/@aws-sdk/token-providers/dist-types/constants.d.ts +0 -8
  1643. package/node_modules/@aws-sdk/credential-provider-sso/node_modules/@aws-sdk/token-providers/dist-types/fromEnvSigningName.d.ts +0 -18
  1644. package/node_modules/@aws-sdk/credential-provider-sso/node_modules/@aws-sdk/token-providers/dist-types/fromSso.d.ts +0 -12
  1645. package/node_modules/@aws-sdk/credential-provider-sso/node_modules/@aws-sdk/token-providers/dist-types/fromStatic.d.ts +0 -9
  1646. package/node_modules/@aws-sdk/credential-provider-sso/node_modules/@aws-sdk/token-providers/dist-types/getNewSsoOidcToken.d.ts +0 -8
  1647. package/node_modules/@aws-sdk/credential-provider-sso/node_modules/@aws-sdk/token-providers/dist-types/getSsoOidcClient.d.ts +0 -7
  1648. package/node_modules/@aws-sdk/credential-provider-sso/node_modules/@aws-sdk/token-providers/dist-types/index.d.ts +0 -4
  1649. package/node_modules/@aws-sdk/credential-provider-sso/node_modules/@aws-sdk/token-providers/dist-types/nodeProvider.d.ts +0 -18
  1650. package/node_modules/@aws-sdk/credential-provider-sso/node_modules/@aws-sdk/token-providers/dist-types/ts3.4/constants.d.ts +0 -3
  1651. package/node_modules/@aws-sdk/credential-provider-sso/node_modules/@aws-sdk/token-providers/dist-types/ts3.4/fromEnvSigningName.d.ts +0 -11
  1652. package/node_modules/@aws-sdk/credential-provider-sso/node_modules/@aws-sdk/token-providers/dist-types/ts3.4/fromSso.d.ts +0 -14
  1653. package/node_modules/@aws-sdk/credential-provider-sso/node_modules/@aws-sdk/token-providers/dist-types/ts3.4/fromStatic.d.ts +0 -12
  1654. package/node_modules/@aws-sdk/credential-provider-sso/node_modules/@aws-sdk/token-providers/dist-types/ts3.4/getNewSsoOidcToken.d.ts +0 -11
  1655. package/node_modules/@aws-sdk/credential-provider-sso/node_modules/@aws-sdk/token-providers/dist-types/ts3.4/getSsoOidcClient.d.ts +0 -7
  1656. package/node_modules/@aws-sdk/credential-provider-sso/node_modules/@aws-sdk/token-providers/dist-types/ts3.4/index.d.ts +0 -4
  1657. package/node_modules/@aws-sdk/credential-provider-sso/node_modules/@aws-sdk/token-providers/dist-types/ts3.4/nodeProvider.d.ts +0 -5
  1658. package/node_modules/@aws-sdk/credential-provider-sso/node_modules/@aws-sdk/token-providers/dist-types/ts3.4/validateTokenExpiry.d.ts +0 -2
  1659. package/node_modules/@aws-sdk/credential-provider-sso/node_modules/@aws-sdk/token-providers/dist-types/ts3.4/validateTokenKey.d.ts +0 -5
  1660. package/node_modules/@aws-sdk/credential-provider-sso/node_modules/@aws-sdk/token-providers/dist-types/ts3.4/writeSSOTokenToFile.d.ts +0 -5
  1661. package/node_modules/@aws-sdk/credential-provider-sso/node_modules/@aws-sdk/token-providers/dist-types/validateTokenExpiry.d.ts +0 -5
  1662. package/node_modules/@aws-sdk/credential-provider-sso/node_modules/@aws-sdk/token-providers/dist-types/validateTokenKey.d.ts +0 -4
  1663. package/node_modules/@aws-sdk/credential-provider-sso/node_modules/@aws-sdk/token-providers/dist-types/writeSSOTokenToFile.d.ts +0 -5
  1664. package/node_modules/@aws-sdk/credential-provider-sso/node_modules/@aws-sdk/token-providers/package.json +0 -70
  1665. package/node_modules/@aws-sdk/middleware-sdk-s3/LICENSE +0 -201
  1666. package/node_modules/@aws-sdk/middleware-sdk-s3/README.md +0 -4
  1667. package/node_modules/@aws-sdk/middleware-sdk-s3/dist-cjs/index.js +0 -581
  1668. package/node_modules/@aws-sdk/middleware-sdk-s3/dist-cjs/toStream.browser.js +0 -11
  1669. package/node_modules/@aws-sdk/middleware-sdk-s3/dist-cjs/toStream.js +0 -7
  1670. package/node_modules/@aws-sdk/middleware-sdk-s3/dist-es/bucket-endpoint-middleware.js +0 -36
  1671. package/node_modules/@aws-sdk/middleware-sdk-s3/dist-es/check-content-length-header.js +0 -32
  1672. package/node_modules/@aws-sdk/middleware-sdk-s3/dist-es/index.js +0 -9
  1673. package/node_modules/@aws-sdk/middleware-sdk-s3/dist-es/protocol/S3RestXmlProtocol.js +0 -25
  1674. package/node_modules/@aws-sdk/middleware-sdk-s3/dist-es/region-redirect-endpoint-middleware.js +0 -41
  1675. package/node_modules/@aws-sdk/middleware-sdk-s3/dist-es/region-redirect-middleware.js +0 -42
  1676. package/node_modules/@aws-sdk/middleware-sdk-s3/dist-es/s3-expires-middleware.js +0 -33
  1677. package/node_modules/@aws-sdk/middleware-sdk-s3/dist-es/s3-express/classes/S3ExpressIdentityCache.js +0 -39
  1678. package/node_modules/@aws-sdk/middleware-sdk-s3/dist-es/s3-express/classes/S3ExpressIdentityCacheEntry.js +0 -14
  1679. package/node_modules/@aws-sdk/middleware-sdk-s3/dist-es/s3-express/classes/S3ExpressIdentityProviderImpl.js +0 -49
  1680. package/node_modules/@aws-sdk/middleware-sdk-s3/dist-es/s3-express/classes/SignatureV4S3Express.js +0 -41
  1681. package/node_modules/@aws-sdk/middleware-sdk-s3/dist-es/s3-express/constants.js +0 -13
  1682. package/node_modules/@aws-sdk/middleware-sdk-s3/dist-es/s3-express/functions/s3ExpressHttpSigningMiddleware.js +0 -38
  1683. package/node_modules/@aws-sdk/middleware-sdk-s3/dist-es/s3-express/functions/s3ExpressMiddleware.js +0 -41
  1684. package/node_modules/@aws-sdk/middleware-sdk-s3/dist-es/s3-express/functions/signS3Express.js +0 -7
  1685. package/node_modules/@aws-sdk/middleware-sdk-s3/dist-es/s3-express/index.js +0 -7
  1686. package/node_modules/@aws-sdk/middleware-sdk-s3/dist-es/s3-express/interfaces/S3ExpressIdentity.js +0 -1
  1687. package/node_modules/@aws-sdk/middleware-sdk-s3/dist-es/s3-express/interfaces/S3ExpressIdentityProvider.js +0 -1
  1688. package/node_modules/@aws-sdk/middleware-sdk-s3/dist-es/s3Configuration.js +0 -17
  1689. package/node_modules/@aws-sdk/middleware-sdk-s3/dist-es/throw-200-exceptions.js +0 -51
  1690. package/node_modules/@aws-sdk/middleware-sdk-s3/dist-es/toStream.browser.js +0 -8
  1691. package/node_modules/@aws-sdk/middleware-sdk-s3/dist-es/toStream.js +0 -4
  1692. package/node_modules/@aws-sdk/middleware-sdk-s3/dist-es/validate-bucket-name.js +0 -25
  1693. package/node_modules/@aws-sdk/middleware-sdk-s3/dist-types/bucket-endpoint-middleware.d.ts +0 -13
  1694. package/node_modules/@aws-sdk/middleware-sdk-s3/dist-types/check-content-length-header.d.ts +0 -16
  1695. package/node_modules/@aws-sdk/middleware-sdk-s3/dist-types/index.d.ts +0 -9
  1696. package/node_modules/@aws-sdk/middleware-sdk-s3/dist-types/protocol/S3RestXmlProtocol.d.ts +0 -20
  1697. package/node_modules/@aws-sdk/middleware-sdk-s3/dist-types/region-redirect-endpoint-middleware.d.ts +0 -10
  1698. package/node_modules/@aws-sdk/middleware-sdk-s3/dist-types/region-redirect-middleware.d.ts +0 -20
  1699. package/node_modules/@aws-sdk/middleware-sdk-s3/dist-types/s3-expires-middleware.d.ts +0 -26
  1700. package/node_modules/@aws-sdk/middleware-sdk-s3/dist-types/s3-express/classes/S3ExpressIdentityCache.d.ts +0 -16
  1701. package/node_modules/@aws-sdk/middleware-sdk-s3/dist-types/s3-express/classes/S3ExpressIdentityCacheEntry.d.ts +0 -16
  1702. package/node_modules/@aws-sdk/middleware-sdk-s3/dist-types/s3-express/classes/S3ExpressIdentityProviderImpl.d.ts +0 -32
  1703. package/node_modules/@aws-sdk/middleware-sdk-s3/dist-types/s3-express/classes/SignatureV4S3Express.d.ts +0 -17
  1704. package/node_modules/@aws-sdk/middleware-sdk-s3/dist-types/s3-express/constants.d.ts +0 -37
  1705. package/node_modules/@aws-sdk/middleware-sdk-s3/dist-types/s3-express/functions/s3ExpressHttpSigningMiddleware.d.ts +0 -27
  1706. package/node_modules/@aws-sdk/middleware-sdk-s3/dist-types/s3-express/functions/s3ExpressMiddleware.d.ts +0 -32
  1707. package/node_modules/@aws-sdk/middleware-sdk-s3/dist-types/s3-express/functions/signS3Express.d.ts +0 -9
  1708. package/node_modules/@aws-sdk/middleware-sdk-s3/dist-types/s3-express/index.d.ts +0 -9
  1709. package/node_modules/@aws-sdk/middleware-sdk-s3/dist-types/s3-express/interfaces/S3ExpressIdentity.d.ts +0 -6
  1710. package/node_modules/@aws-sdk/middleware-sdk-s3/dist-types/s3-express/interfaces/S3ExpressIdentityProvider.d.ts +0 -12
  1711. package/node_modules/@aws-sdk/middleware-sdk-s3/dist-types/s3Configuration.d.ts +0 -79
  1712. package/node_modules/@aws-sdk/middleware-sdk-s3/dist-types/throw-200-exceptions.d.ts +0 -21
  1713. package/node_modules/@aws-sdk/middleware-sdk-s3/dist-types/toStream.browser.d.ts +0 -4
  1714. package/node_modules/@aws-sdk/middleware-sdk-s3/dist-types/toStream.d.ts +0 -5
  1715. package/node_modules/@aws-sdk/middleware-sdk-s3/dist-types/ts3.4/bucket-endpoint-middleware.d.ts +0 -9
  1716. package/node_modules/@aws-sdk/middleware-sdk-s3/dist-types/ts3.4/check-content-length-header.d.ts +0 -13
  1717. package/node_modules/@aws-sdk/middleware-sdk-s3/dist-types/ts3.4/index.d.ts +0 -9
  1718. package/node_modules/@aws-sdk/middleware-sdk-s3/dist-types/ts3.4/protocol/S3RestXmlProtocol.d.ts +0 -15
  1719. package/node_modules/@aws-sdk/middleware-sdk-s3/dist-types/ts3.4/region-redirect-endpoint-middleware.d.ts +0 -6
  1720. package/node_modules/@aws-sdk/middleware-sdk-s3/dist-types/ts3.4/region-redirect-middleware.d.ts +0 -17
  1721. package/node_modules/@aws-sdk/middleware-sdk-s3/dist-types/ts3.4/s3-expires-middleware.d.ts +0 -14
  1722. package/node_modules/@aws-sdk/middleware-sdk-s3/dist-types/ts3.4/s3-express/classes/S3ExpressIdentityCache.d.ts +0 -14
  1723. package/node_modules/@aws-sdk/middleware-sdk-s3/dist-types/ts3.4/s3-express/classes/S3ExpressIdentityCacheEntry.d.ts +0 -12
  1724. package/node_modules/@aws-sdk/middleware-sdk-s3/dist-types/ts3.4/s3-express/classes/S3ExpressIdentityProviderImpl.d.ts +0 -31
  1725. package/node_modules/@aws-sdk/middleware-sdk-s3/dist-types/ts3.4/s3-express/classes/SignatureV4S3Express.d.ts +0 -19
  1726. package/node_modules/@aws-sdk/middleware-sdk-s3/dist-types/ts3.4/s3-express/constants.d.ts +0 -11
  1727. package/node_modules/@aws-sdk/middleware-sdk-s3/dist-types/ts3.4/s3-express/functions/s3ExpressHttpSigningMiddleware.d.ts +0 -40
  1728. package/node_modules/@aws-sdk/middleware-sdk-s3/dist-types/ts3.4/s3-express/functions/s3ExpressMiddleware.d.ts +0 -27
  1729. package/node_modules/@aws-sdk/middleware-sdk-s3/dist-types/ts3.4/s3-express/functions/signS3Express.d.ts +0 -21
  1730. package/node_modules/@aws-sdk/middleware-sdk-s3/dist-types/ts3.4/s3-express/index.d.ts +0 -17
  1731. package/node_modules/@aws-sdk/middleware-sdk-s3/dist-types/ts3.4/s3-express/interfaces/S3ExpressIdentity.d.ts +0 -2
  1732. package/node_modules/@aws-sdk/middleware-sdk-s3/dist-types/ts3.4/s3-express/interfaces/S3ExpressIdentityProvider.d.ts +0 -8
  1733. package/node_modules/@aws-sdk/middleware-sdk-s3/dist-types/ts3.4/s3Configuration.d.ts +0 -33
  1734. package/node_modules/@aws-sdk/middleware-sdk-s3/dist-types/ts3.4/throw-200-exceptions.d.ts +0 -19
  1735. package/node_modules/@aws-sdk/middleware-sdk-s3/dist-types/ts3.4/toStream.browser.d.ts +0 -1
  1736. package/node_modules/@aws-sdk/middleware-sdk-s3/dist-types/ts3.4/toStream.d.ts +0 -2
  1737. package/node_modules/@aws-sdk/middleware-sdk-s3/dist-types/ts3.4/validate-bucket-name.d.ts +0 -13
  1738. package/node_modules/@aws-sdk/middleware-sdk-s3/dist-types/validate-bucket-name.d.ts +0 -14
  1739. package/node_modules/@aws-sdk/middleware-sdk-s3/package.json +0 -79
  1740. package/node_modules/@aws-sdk/nested-clients/dist-cjs/submodules/cognito-identity/auth/httpAuthSchemeProvider.js +0 -60
  1741. package/node_modules/@aws-sdk/nested-clients/dist-cjs/submodules/cognito-identity/endpoint/bdd.js +0 -100
  1742. package/node_modules/@aws-sdk/nested-clients/dist-cjs/submodules/cognito-identity/endpoint/endpointResolver.js +0 -18
  1743. package/node_modules/@aws-sdk/nested-clients/dist-cjs/submodules/cognito-identity/models/CognitoIdentityServiceException.js +0 -12
  1744. package/node_modules/@aws-sdk/nested-clients/dist-cjs/submodules/cognito-identity/models/errors.js +0 -121
  1745. package/node_modules/@aws-sdk/nested-clients/dist-cjs/submodules/cognito-identity/runtimeConfig.browser.js +0 -38
  1746. package/node_modules/@aws-sdk/nested-clients/dist-cjs/submodules/cognito-identity/runtimeConfig.js +0 -54
  1747. package/node_modules/@aws-sdk/nested-clients/dist-cjs/submodules/cognito-identity/runtimeConfig.native.js +0 -15
  1748. package/node_modules/@aws-sdk/nested-clients/dist-cjs/submodules/cognito-identity/runtimeConfig.shared.js +0 -50
  1749. package/node_modules/@aws-sdk/nested-clients/dist-cjs/submodules/cognito-identity/schemas/schemas_0.js +0 -110
  1750. package/node_modules/@aws-sdk/nested-clients/dist-cjs/submodules/signin/auth/httpAuthSchemeProvider.js +0 -56
  1751. package/node_modules/@aws-sdk/nested-clients/dist-cjs/submodules/signin/endpoint/bdd.js +0 -90
  1752. package/node_modules/@aws-sdk/nested-clients/dist-cjs/submodules/signin/endpoint/endpointResolver.js +0 -18
  1753. package/node_modules/@aws-sdk/nested-clients/dist-cjs/submodules/signin/models/SigninServiceException.js +0 -12
  1754. package/node_modules/@aws-sdk/nested-clients/dist-cjs/submodules/signin/models/errors.js +0 -64
  1755. package/node_modules/@aws-sdk/nested-clients/dist-cjs/submodules/signin/runtimeConfig.browser.js +0 -39
  1756. package/node_modules/@aws-sdk/nested-clients/dist-cjs/submodules/signin/runtimeConfig.js +0 -54
  1757. package/node_modules/@aws-sdk/nested-clients/dist-cjs/submodules/signin/runtimeConfig.native.js +0 -15
  1758. package/node_modules/@aws-sdk/nested-clients/dist-cjs/submodules/signin/runtimeConfig.shared.js +0 -49
  1759. package/node_modules/@aws-sdk/nested-clients/dist-cjs/submodules/signin/schemas/schemas_0.js +0 -125
  1760. package/node_modules/@aws-sdk/nested-clients/dist-cjs/submodules/sso/auth/httpAuthSchemeProvider.js +0 -56
  1761. package/node_modules/@aws-sdk/nested-clients/dist-cjs/submodules/sso/endpoint/bdd.js +0 -80
  1762. package/node_modules/@aws-sdk/nested-clients/dist-cjs/submodules/sso/endpoint/endpointResolver.js +0 -18
  1763. package/node_modules/@aws-sdk/nested-clients/dist-cjs/submodules/sso/models/SSOServiceException.js +0 -12
  1764. package/node_modules/@aws-sdk/nested-clients/dist-cjs/submodules/sso/models/errors.js +0 -56
  1765. package/node_modules/@aws-sdk/nested-clients/dist-cjs/submodules/sso/runtimeConfig.browser.js +0 -38
  1766. package/node_modules/@aws-sdk/nested-clients/dist-cjs/submodules/sso/runtimeConfig.js +0 -54
  1767. package/node_modules/@aws-sdk/nested-clients/dist-cjs/submodules/sso/runtimeConfig.native.js +0 -15
  1768. package/node_modules/@aws-sdk/nested-clients/dist-cjs/submodules/sso/runtimeConfig.shared.js +0 -49
  1769. package/node_modules/@aws-sdk/nested-clients/dist-cjs/submodules/sso/schemas/schemas_0.js +0 -90
  1770. package/node_modules/@aws-sdk/nested-clients/dist-cjs/submodules/sso-oidc/auth/httpAuthSchemeProvider.js +0 -56
  1771. package/node_modules/@aws-sdk/nested-clients/dist-cjs/submodules/sso-oidc/endpoint/bdd.js +0 -80
  1772. package/node_modules/@aws-sdk/nested-clients/dist-cjs/submodules/sso-oidc/endpoint/endpointResolver.js +0 -18
  1773. package/node_modules/@aws-sdk/nested-clients/dist-cjs/submodules/sso-oidc/models/SSOOIDCServiceException.js +0 -12
  1774. package/node_modules/@aws-sdk/nested-clients/dist-cjs/submodules/sso-oidc/models/errors.js +0 -195
  1775. package/node_modules/@aws-sdk/nested-clients/dist-cjs/submodules/sso-oidc/runtimeConfig.browser.js +0 -38
  1776. package/node_modules/@aws-sdk/nested-clients/dist-cjs/submodules/sso-oidc/runtimeConfig.js +0 -54
  1777. package/node_modules/@aws-sdk/nested-clients/dist-cjs/submodules/sso-oidc/runtimeConfig.native.js +0 -15
  1778. package/node_modules/@aws-sdk/nested-clients/dist-cjs/submodules/sso-oidc/runtimeConfig.shared.js +0 -49
  1779. package/node_modules/@aws-sdk/nested-clients/dist-cjs/submodules/sso-oidc/schemas/schemas_0.js +0 -140
  1780. package/node_modules/@aws-sdk/nested-clients/dist-cjs/submodules/sts/STSClient.js +0 -55
  1781. package/node_modules/@aws-sdk/nested-clients/dist-cjs/submodules/sts/auth/httpAuthExtensionConfiguration.js +0 -43
  1782. package/node_modules/@aws-sdk/nested-clients/dist-cjs/submodules/sts/auth/httpAuthSchemeProvider.js +0 -144
  1783. package/node_modules/@aws-sdk/nested-clients/dist-cjs/submodules/sts/endpoint/EndpointParameters.js +0 -19
  1784. package/node_modules/@aws-sdk/nested-clients/dist-cjs/submodules/sts/endpoint/bdd.js +0 -150
  1785. package/node_modules/@aws-sdk/nested-clients/dist-cjs/submodules/sts/endpoint/endpointResolver.js +0 -18
  1786. package/node_modules/@aws-sdk/nested-clients/dist-cjs/submodules/sts/models/STSServiceException.js +0 -12
  1787. package/node_modules/@aws-sdk/nested-clients/dist-cjs/submodules/sts/models/errors.js +0 -96
  1788. package/node_modules/@aws-sdk/nested-clients/dist-cjs/submodules/sts/runtimeConfig.browser.js +0 -39
  1789. package/node_modules/@aws-sdk/nested-clients/dist-cjs/submodules/sts/runtimeConfig.js +0 -74
  1790. package/node_modules/@aws-sdk/nested-clients/dist-cjs/submodules/sts/runtimeConfig.native.js +0 -15
  1791. package/node_modules/@aws-sdk/nested-clients/dist-cjs/submodules/sts/runtimeConfig.shared.js +0 -57
  1792. package/node_modules/@aws-sdk/nested-clients/dist-cjs/submodules/sts/runtimeExtensions.js +0 -13
  1793. package/node_modules/@aws-sdk/nested-clients/dist-cjs/submodules/sts/schemas/schemas_0.js +0 -195
  1794. package/node_modules/@aws-sdk/util-arn-parser/LICENSE +0 -201
  1795. package/node_modules/@aws-sdk/util-arn-parser/README.md +0 -4
  1796. package/node_modules/@aws-sdk/util-arn-parser/dist-cjs/index.js +0 -27
  1797. package/node_modules/@aws-sdk/util-arn-parser/package.json +0 -55
  1798. package/node_modules/@aws-sdk/util-format-url/LICENSE +0 -201
  1799. package/node_modules/@aws-sdk/util-format-url/README.md +0 -4
  1800. package/node_modules/@aws-sdk/util-format-url/dist-cjs/index.js +0 -34
  1801. package/node_modules/@aws-sdk/util-format-url/dist-es/index.js +0 -29
  1802. package/node_modules/@aws-sdk/util-format-url/package.json +0 -56
  1803. package/node_modules/@aws-sdk/util-user-agent-browser/dist-cjs/configurations.js +0 -2
  1804. package/node_modules/@earendil-works/pi-agent-core/README.md +0 -488
  1805. package/node_modules/@earendil-works/pi-agent-core/dist/agent-loop.d.ts +0 -24
  1806. package/node_modules/@earendil-works/pi-agent-core/dist/agent-loop.d.ts.map +0 -1
  1807. package/node_modules/@earendil-works/pi-agent-core/dist/agent-loop.js +0 -458
  1808. package/node_modules/@earendil-works/pi-agent-core/dist/agent-loop.js.map +0 -1
  1809. package/node_modules/@earendil-works/pi-agent-core/dist/agent.d.ts +0 -117
  1810. package/node_modules/@earendil-works/pi-agent-core/dist/agent.d.ts.map +0 -1
  1811. package/node_modules/@earendil-works/pi-agent-core/dist/agent.js +0 -398
  1812. package/node_modules/@earendil-works/pi-agent-core/dist/agent.js.map +0 -1
  1813. package/node_modules/@earendil-works/pi-agent-core/dist/proxy.d.ts +0 -69
  1814. package/node_modules/@earendil-works/pi-agent-core/dist/proxy.d.ts.map +0 -1
  1815. package/node_modules/@earendil-works/pi-agent-core/dist/proxy.js +0 -278
  1816. package/node_modules/@earendil-works/pi-agent-core/dist/proxy.js.map +0 -1
  1817. package/node_modules/@earendil-works/pi-agent-core/dist/types.d.ts +0 -369
  1818. package/node_modules/@earendil-works/pi-agent-core/dist/types.d.ts.map +0 -1
  1819. package/node_modules/@earendil-works/pi-agent-core/dist/types.js.map +0 -1
  1820. package/node_modules/@earendil-works/pi-agent-core/package.json +0 -45
  1821. package/node_modules/@earendil-works/pi-ai/README.md +0 -1313
  1822. package/node_modules/@earendil-works/pi-ai/dist/cli.d.ts.map +0 -1
  1823. package/node_modules/@earendil-works/pi-ai/dist/cli.js +0 -116
  1824. package/node_modules/@earendil-works/pi-ai/dist/cli.js.map +0 -1
  1825. package/node_modules/@earendil-works/pi-ai/dist/models.generated.d.ts +0 -17588
  1826. package/node_modules/@earendil-works/pi-ai/dist/models.generated.d.ts.map +0 -1
  1827. package/node_modules/@earendil-works/pi-ai/dist/models.generated.js +0 -16796
  1828. package/node_modules/@earendil-works/pi-ai/dist/models.generated.js.map +0 -1
  1829. package/node_modules/@earendil-works/pi-ai/package.json +0 -108
  1830. package/node_modules/@earendil-works/pi-coding-agent/CHANGELOG.md +0 -4164
  1831. package/node_modules/@earendil-works/pi-coding-agent/README.md +0 -651
  1832. package/node_modules/@earendil-works/pi-coding-agent/dist/bun/register-bedrock.d.ts.map +0 -1
  1833. package/node_modules/@earendil-works/pi-coding-agent/dist/bun/register-bedrock.js +0 -4
  1834. package/node_modules/@earendil-works/pi-coding-agent/dist/bun/register-bedrock.js.map +0 -1
  1835. package/node_modules/@earendil-works/pi-coding-agent/dist/cli/args.d.ts +0 -53
  1836. package/node_modules/@earendil-works/pi-coding-agent/dist/cli/args.d.ts.map +0 -1
  1837. package/node_modules/@earendil-works/pi-coding-agent/dist/cli/args.js.map +0 -1
  1838. package/node_modules/@earendil-works/pi-coding-agent/dist/cli/config-selector.d.ts.map +0 -1
  1839. package/node_modules/@earendil-works/pi-coding-agent/dist/cli/config-selector.js +0 -31
  1840. package/node_modules/@earendil-works/pi-coding-agent/dist/cli/config-selector.js.map +0 -1
  1841. package/node_modules/@earendil-works/pi-coding-agent/dist/cli/file-processor.d.ts +0 -15
  1842. package/node_modules/@earendil-works/pi-coding-agent/dist/cli/file-processor.d.ts.map +0 -1
  1843. package/node_modules/@earendil-works/pi-coding-agent/dist/cli/file-processor.js.map +0 -1
  1844. package/node_modules/@earendil-works/pi-coding-agent/dist/cli/initial-message.d.ts +0 -18
  1845. package/node_modules/@earendil-works/pi-coding-agent/dist/cli/initial-message.d.ts.map +0 -1
  1846. package/node_modules/@earendil-works/pi-coding-agent/dist/cli/initial-message.js.map +0 -1
  1847. package/node_modules/@earendil-works/pi-coding-agent/dist/cli/list-models.d.ts.map +0 -1
  1848. package/node_modules/@earendil-works/pi-coding-agent/dist/cli/list-models.js +0 -98
  1849. package/node_modules/@earendil-works/pi-coding-agent/dist/cli/list-models.js.map +0 -1
  1850. package/node_modules/@earendil-works/pi-coding-agent/dist/cli/session-picker.d.ts.map +0 -1
  1851. package/node_modules/@earendil-works/pi-coding-agent/dist/cli/session-picker.js +0 -35
  1852. package/node_modules/@earendil-works/pi-coding-agent/dist/cli/session-picker.js.map +0 -1
  1853. package/node_modules/@earendil-works/pi-coding-agent/dist/config.d.ts.map +0 -1
  1854. package/node_modules/@earendil-works/pi-coding-agent/dist/config.js +0 -402
  1855. package/node_modules/@earendil-works/pi-coding-agent/dist/config.js.map +0 -1
  1856. package/node_modules/@earendil-works/pi-coding-agent/dist/core/agent-session-services.d.ts +0 -86
  1857. package/node_modules/@earendil-works/pi-coding-agent/dist/core/agent-session-services.d.ts.map +0 -1
  1858. package/node_modules/@earendil-works/pi-coding-agent/dist/core/agent-session-services.js.map +0 -1
  1859. package/node_modules/@earendil-works/pi-coding-agent/dist/core/agent-session.d.ts +0 -595
  1860. package/node_modules/@earendil-works/pi-coding-agent/dist/core/agent-session.d.ts.map +0 -1
  1861. package/node_modules/@earendil-works/pi-coding-agent/dist/core/agent-session.js +0 -2521
  1862. package/node_modules/@earendil-works/pi-coding-agent/dist/core/agent-session.js.map +0 -1
  1863. package/node_modules/@earendil-works/pi-coding-agent/dist/core/auth-storage.d.ts +0 -141
  1864. package/node_modules/@earendil-works/pi-coding-agent/dist/core/auth-storage.d.ts.map +0 -1
  1865. package/node_modules/@earendil-works/pi-coding-agent/dist/core/auth-storage.js +0 -441
  1866. package/node_modules/@earendil-works/pi-coding-agent/dist/core/auth-storage.js.map +0 -1
  1867. package/node_modules/@earendil-works/pi-coding-agent/dist/core/compaction/branch-summarization.d.ts +0 -88
  1868. package/node_modules/@earendil-works/pi-coding-agent/dist/core/compaction/branch-summarization.d.ts.map +0 -1
  1869. package/node_modules/@earendil-works/pi-coding-agent/dist/core/compaction/branch-summarization.js +0 -243
  1870. package/node_modules/@earendil-works/pi-coding-agent/dist/core/compaction/branch-summarization.js.map +0 -1
  1871. package/node_modules/@earendil-works/pi-coding-agent/dist/core/compaction/compaction.d.ts +0 -121
  1872. package/node_modules/@earendil-works/pi-coding-agent/dist/core/compaction/compaction.d.ts.map +0 -1
  1873. package/node_modules/@earendil-works/pi-coding-agent/dist/core/compaction/compaction.js +0 -615
  1874. package/node_modules/@earendil-works/pi-coding-agent/dist/core/compaction/compaction.js.map +0 -1
  1875. package/node_modules/@earendil-works/pi-coding-agent/dist/core/compaction/utils.d.ts +0 -38
  1876. package/node_modules/@earendil-works/pi-coding-agent/dist/core/compaction/utils.d.ts.map +0 -1
  1877. package/node_modules/@earendil-works/pi-coding-agent/dist/core/compaction/utils.js.map +0 -1
  1878. package/node_modules/@earendil-works/pi-coding-agent/dist/core/defaults.d.ts +0 -3
  1879. package/node_modules/@earendil-works/pi-coding-agent/dist/core/defaults.d.ts.map +0 -1
  1880. package/node_modules/@earendil-works/pi-coding-agent/dist/core/defaults.js.map +0 -1
  1881. package/node_modules/@earendil-works/pi-coding-agent/dist/core/export-html/index.d.ts +0 -37
  1882. package/node_modules/@earendil-works/pi-coding-agent/dist/core/export-html/index.d.ts.map +0 -1
  1883. package/node_modules/@earendil-works/pi-coding-agent/dist/core/export-html/index.js.map +0 -1
  1884. package/node_modules/@earendil-works/pi-coding-agent/dist/core/export-html/tool-renderer.d.ts.map +0 -1
  1885. package/node_modules/@earendil-works/pi-coding-agent/dist/core/export-html/tool-renderer.js.map +0 -1
  1886. package/node_modules/@earendil-works/pi-coding-agent/dist/core/extensions/loader.d.ts.map +0 -1
  1887. package/node_modules/@earendil-works/pi-coding-agent/dist/core/extensions/loader.js +0 -498
  1888. package/node_modules/@earendil-works/pi-coding-agent/dist/core/extensions/loader.js.map +0 -1
  1889. package/node_modules/@earendil-works/pi-coding-agent/dist/core/extensions/runner.d.ts +0 -159
  1890. package/node_modules/@earendil-works/pi-coding-agent/dist/core/extensions/runner.d.ts.map +0 -1
  1891. package/node_modules/@earendil-works/pi-coding-agent/dist/core/extensions/runner.js +0 -824
  1892. package/node_modules/@earendil-works/pi-coding-agent/dist/core/extensions/runner.js.map +0 -1
  1893. package/node_modules/@earendil-works/pi-coding-agent/dist/core/extensions/types.d.ts +0 -1173
  1894. package/node_modules/@earendil-works/pi-coding-agent/dist/core/extensions/types.d.ts.map +0 -1
  1895. package/node_modules/@earendil-works/pi-coding-agent/dist/core/extensions/types.js.map +0 -1
  1896. package/node_modules/@earendil-works/pi-coding-agent/dist/core/extensions/wrapper.d.ts +0 -20
  1897. package/node_modules/@earendil-works/pi-coding-agent/dist/core/extensions/wrapper.d.ts.map +0 -1
  1898. package/node_modules/@earendil-works/pi-coding-agent/dist/core/extensions/wrapper.js.map +0 -1
  1899. package/node_modules/@earendil-works/pi-coding-agent/dist/core/keybindings.d.ts +0 -353
  1900. package/node_modules/@earendil-works/pi-coding-agent/dist/core/keybindings.d.ts.map +0 -1
  1901. package/node_modules/@earendil-works/pi-coding-agent/dist/core/keybindings.js +0 -295
  1902. package/node_modules/@earendil-works/pi-coding-agent/dist/core/keybindings.js.map +0 -1
  1903. package/node_modules/@earendil-works/pi-coding-agent/dist/core/messages.d.ts +0 -77
  1904. package/node_modules/@earendil-works/pi-coding-agent/dist/core/messages.d.ts.map +0 -1
  1905. package/node_modules/@earendil-works/pi-coding-agent/dist/core/messages.js.map +0 -1
  1906. package/node_modules/@earendil-works/pi-coding-agent/dist/core/model-registry.d.ts +0 -150
  1907. package/node_modules/@earendil-works/pi-coding-agent/dist/core/model-registry.d.ts.map +0 -1
  1908. package/node_modules/@earendil-works/pi-coding-agent/dist/core/model-registry.js +0 -727
  1909. package/node_modules/@earendil-works/pi-coding-agent/dist/core/model-registry.js.map +0 -1
  1910. package/node_modules/@earendil-works/pi-coding-agent/dist/core/model-resolver.d.ts +0 -110
  1911. package/node_modules/@earendil-works/pi-coding-agent/dist/core/model-resolver.d.ts.map +0 -1
  1912. package/node_modules/@earendil-works/pi-coding-agent/dist/core/model-resolver.js +0 -494
  1913. package/node_modules/@earendil-works/pi-coding-agent/dist/core/model-resolver.js.map +0 -1
  1914. package/node_modules/@earendil-works/pi-coding-agent/dist/core/sdk.d.ts +0 -107
  1915. package/node_modules/@earendil-works/pi-coding-agent/dist/core/sdk.d.ts.map +0 -1
  1916. package/node_modules/@earendil-works/pi-coding-agent/dist/core/sdk.js +0 -282
  1917. package/node_modules/@earendil-works/pi-coding-agent/dist/core/sdk.js.map +0 -1
  1918. package/node_modules/@earendil-works/pi-coding-agent/dist/core/session-manager.d.ts +0 -333
  1919. package/node_modules/@earendil-works/pi-coding-agent/dist/core/session-manager.d.ts.map +0 -1
  1920. package/node_modules/@earendil-works/pi-coding-agent/dist/core/session-manager.js.map +0 -1
  1921. package/node_modules/@earendil-works/pi-coding-agent/dist/core/settings-manager.d.ts +0 -261
  1922. package/node_modules/@earendil-works/pi-coding-agent/dist/core/settings-manager.d.ts.map +0 -1
  1923. package/node_modules/@earendil-works/pi-coding-agent/dist/core/settings-manager.js.map +0 -1
  1924. package/node_modules/@earendil-works/pi-coding-agent/dist/core/tools/bash.d.ts +0 -68
  1925. package/node_modules/@earendil-works/pi-coding-agent/dist/core/tools/bash.d.ts.map +0 -1
  1926. package/node_modules/@earendil-works/pi-coding-agent/dist/core/tools/bash.js +0 -335
  1927. package/node_modules/@earendil-works/pi-coding-agent/dist/core/tools/bash.js.map +0 -1
  1928. package/node_modules/@earendil-works/pi-coding-agent/dist/core/tools/edit.d.ts +0 -49
  1929. package/node_modules/@earendil-works/pi-coding-agent/dist/core/tools/edit.d.ts.map +0 -1
  1930. package/node_modules/@earendil-works/pi-coding-agent/dist/core/tools/edit.js +0 -324
  1931. package/node_modules/@earendil-works/pi-coding-agent/dist/core/tools/edit.js.map +0 -1
  1932. package/node_modules/@earendil-works/pi-coding-agent/dist/core/tools/find.d.ts +0 -35
  1933. package/node_modules/@earendil-works/pi-coding-agent/dist/core/tools/find.d.ts.map +0 -1
  1934. package/node_modules/@earendil-works/pi-coding-agent/dist/core/tools/find.js +0 -298
  1935. package/node_modules/@earendil-works/pi-coding-agent/dist/core/tools/find.js.map +0 -1
  1936. package/node_modules/@earendil-works/pi-coding-agent/dist/core/tools/grep.d.ts +0 -37
  1937. package/node_modules/@earendil-works/pi-coding-agent/dist/core/tools/grep.d.ts.map +0 -1
  1938. package/node_modules/@earendil-works/pi-coding-agent/dist/core/tools/grep.js +0 -304
  1939. package/node_modules/@earendil-works/pi-coding-agent/dist/core/tools/grep.js.map +0 -1
  1940. package/node_modules/@earendil-works/pi-coding-agent/dist/core/tools/index.d.ts +0 -40
  1941. package/node_modules/@earendil-works/pi-coding-agent/dist/core/tools/index.d.ts.map +0 -1
  1942. package/node_modules/@earendil-works/pi-coding-agent/dist/core/tools/index.js.map +0 -1
  1943. package/node_modules/@earendil-works/pi-coding-agent/dist/core/tools/ls.d.ts +0 -37
  1944. package/node_modules/@earendil-works/pi-coding-agent/dist/core/tools/ls.d.ts.map +0 -1
  1945. package/node_modules/@earendil-works/pi-coding-agent/dist/core/tools/ls.js +0 -169
  1946. package/node_modules/@earendil-works/pi-coding-agent/dist/core/tools/ls.js.map +0 -1
  1947. package/node_modules/@earendil-works/pi-coding-agent/dist/core/tools/read.d.ts +0 -35
  1948. package/node_modules/@earendil-works/pi-coding-agent/dist/core/tools/read.d.ts.map +0 -1
  1949. package/node_modules/@earendil-works/pi-coding-agent/dist/core/tools/read.js +0 -288
  1950. package/node_modules/@earendil-works/pi-coding-agent/dist/core/tools/read.js.map +0 -1
  1951. package/node_modules/@earendil-works/pi-coding-agent/dist/core/tools/render-utils.d.ts +0 -21
  1952. package/node_modules/@earendil-works/pi-coding-agent/dist/core/tools/render-utils.d.ts.map +0 -1
  1953. package/node_modules/@earendil-works/pi-coding-agent/dist/core/tools/render-utils.js +0 -49
  1954. package/node_modules/@earendil-works/pi-coding-agent/dist/core/tools/render-utils.js.map +0 -1
  1955. package/node_modules/@earendil-works/pi-coding-agent/dist/core/tools/tool-definition-wrapper.d.ts +0 -14
  1956. package/node_modules/@earendil-works/pi-coding-agent/dist/core/tools/tool-definition-wrapper.d.ts.map +0 -1
  1957. package/node_modules/@earendil-works/pi-coding-agent/dist/core/tools/tool-definition-wrapper.js.map +0 -1
  1958. package/node_modules/@earendil-works/pi-coding-agent/dist/core/tools/write.d.ts +0 -26
  1959. package/node_modules/@earendil-works/pi-coding-agent/dist/core/tools/write.d.ts.map +0 -1
  1960. package/node_modules/@earendil-works/pi-coding-agent/dist/core/tools/write.js +0 -213
  1961. package/node_modules/@earendil-works/pi-coding-agent/dist/core/tools/write.js.map +0 -1
  1962. package/node_modules/@earendil-works/pi-coding-agent/dist/main.d.ts.map +0 -1
  1963. package/node_modules/@earendil-works/pi-coding-agent/dist/main.js +0 -583
  1964. package/node_modules/@earendil-works/pi-coding-agent/dist/main.js.map +0 -1
  1965. package/node_modules/@earendil-works/pi-coding-agent/dist/modes/interactive/components/armin.d.ts +0 -34
  1966. package/node_modules/@earendil-works/pi-coding-agent/dist/modes/interactive/components/armin.d.ts.map +0 -1
  1967. package/node_modules/@earendil-works/pi-coding-agent/dist/modes/interactive/components/armin.js.map +0 -1
  1968. package/node_modules/@earendil-works/pi-coding-agent/dist/modes/interactive/components/assistant-message.d.ts +0 -20
  1969. package/node_modules/@earendil-works/pi-coding-agent/dist/modes/interactive/components/assistant-message.d.ts.map +0 -1
  1970. package/node_modules/@earendil-works/pi-coding-agent/dist/modes/interactive/components/assistant-message.js +0 -121
  1971. package/node_modules/@earendil-works/pi-coding-agent/dist/modes/interactive/components/assistant-message.js.map +0 -1
  1972. package/node_modules/@earendil-works/pi-coding-agent/dist/modes/interactive/components/bash-execution.d.ts +0 -34
  1973. package/node_modules/@earendil-works/pi-coding-agent/dist/modes/interactive/components/bash-execution.d.ts.map +0 -1
  1974. package/node_modules/@earendil-works/pi-coding-agent/dist/modes/interactive/components/bash-execution.js +0 -175
  1975. package/node_modules/@earendil-works/pi-coding-agent/dist/modes/interactive/components/bash-execution.js.map +0 -1
  1976. package/node_modules/@earendil-works/pi-coding-agent/dist/modes/interactive/components/bordered-loader.d.ts +0 -16
  1977. package/node_modules/@earendil-works/pi-coding-agent/dist/modes/interactive/components/bordered-loader.d.ts.map +0 -1
  1978. package/node_modules/@earendil-works/pi-coding-agent/dist/modes/interactive/components/bordered-loader.js +0 -54
  1979. package/node_modules/@earendil-works/pi-coding-agent/dist/modes/interactive/components/bordered-loader.js.map +0 -1
  1980. package/node_modules/@earendil-works/pi-coding-agent/dist/modes/interactive/components/branch-summary-message.d.ts +0 -16
  1981. package/node_modules/@earendil-works/pi-coding-agent/dist/modes/interactive/components/branch-summary-message.d.ts.map +0 -1
  1982. package/node_modules/@earendil-works/pi-coding-agent/dist/modes/interactive/components/branch-summary-message.js +0 -44
  1983. package/node_modules/@earendil-works/pi-coding-agent/dist/modes/interactive/components/branch-summary-message.js.map +0 -1
  1984. package/node_modules/@earendil-works/pi-coding-agent/dist/modes/interactive/components/compaction-summary-message.d.ts +0 -16
  1985. package/node_modules/@earendil-works/pi-coding-agent/dist/modes/interactive/components/compaction-summary-message.d.ts.map +0 -1
  1986. package/node_modules/@earendil-works/pi-coding-agent/dist/modes/interactive/components/compaction-summary-message.js +0 -45
  1987. package/node_modules/@earendil-works/pi-coding-agent/dist/modes/interactive/components/compaction-summary-message.js.map +0 -1
  1988. package/node_modules/@earendil-works/pi-coding-agent/dist/modes/interactive/components/config-selector.d.ts +0 -71
  1989. package/node_modules/@earendil-works/pi-coding-agent/dist/modes/interactive/components/config-selector.d.ts.map +0 -1
  1990. package/node_modules/@earendil-works/pi-coding-agent/dist/modes/interactive/components/config-selector.js +0 -481
  1991. package/node_modules/@earendil-works/pi-coding-agent/dist/modes/interactive/components/config-selector.js.map +0 -1
  1992. package/node_modules/@earendil-works/pi-coding-agent/dist/modes/interactive/components/countdown-timer.d.ts +0 -14
  1993. package/node_modules/@earendil-works/pi-coding-agent/dist/modes/interactive/components/countdown-timer.d.ts.map +0 -1
  1994. package/node_modules/@earendil-works/pi-coding-agent/dist/modes/interactive/components/countdown-timer.js.map +0 -1
  1995. package/node_modules/@earendil-works/pi-coding-agent/dist/modes/interactive/components/custom-editor.d.ts +0 -21
  1996. package/node_modules/@earendil-works/pi-coding-agent/dist/modes/interactive/components/custom-editor.d.ts.map +0 -1
  1997. package/node_modules/@earendil-works/pi-coding-agent/dist/modes/interactive/components/custom-editor.js +0 -70
  1998. package/node_modules/@earendil-works/pi-coding-agent/dist/modes/interactive/components/custom-editor.js.map +0 -1
  1999. package/node_modules/@earendil-works/pi-coding-agent/dist/modes/interactive/components/custom-message.d.ts +0 -20
  2000. package/node_modules/@earendil-works/pi-coding-agent/dist/modes/interactive/components/custom-message.d.ts.map +0 -1
  2001. package/node_modules/@earendil-works/pi-coding-agent/dist/modes/interactive/components/custom-message.js +0 -79
  2002. package/node_modules/@earendil-works/pi-coding-agent/dist/modes/interactive/components/custom-message.js.map +0 -1
  2003. package/node_modules/@earendil-works/pi-coding-agent/dist/modes/interactive/components/daxnuts.d.ts +0 -23
  2004. package/node_modules/@earendil-works/pi-coding-agent/dist/modes/interactive/components/daxnuts.d.ts.map +0 -1
  2005. package/node_modules/@earendil-works/pi-coding-agent/dist/modes/interactive/components/daxnuts.js.map +0 -1
  2006. package/node_modules/@earendil-works/pi-coding-agent/dist/modes/interactive/components/dynamic-border.d.ts +0 -15
  2007. package/node_modules/@earendil-works/pi-coding-agent/dist/modes/interactive/components/dynamic-border.d.ts.map +0 -1
  2008. package/node_modules/@earendil-works/pi-coding-agent/dist/modes/interactive/components/dynamic-border.js.map +0 -1
  2009. package/node_modules/@earendil-works/pi-coding-agent/dist/modes/interactive/components/earendil-announcement.d.ts +0 -5
  2010. package/node_modules/@earendil-works/pi-coding-agent/dist/modes/interactive/components/earendil-announcement.d.ts.map +0 -1
  2011. package/node_modules/@earendil-works/pi-coding-agent/dist/modes/interactive/components/earendil-announcement.js +0 -40
  2012. package/node_modules/@earendil-works/pi-coding-agent/dist/modes/interactive/components/earendil-announcement.js.map +0 -1
  2013. package/node_modules/@earendil-works/pi-coding-agent/dist/modes/interactive/components/extension-editor.d.ts +0 -20
  2014. package/node_modules/@earendil-works/pi-coding-agent/dist/modes/interactive/components/extension-editor.d.ts.map +0 -1
  2015. package/node_modules/@earendil-works/pi-coding-agent/dist/modes/interactive/components/extension-editor.js +0 -111
  2016. package/node_modules/@earendil-works/pi-coding-agent/dist/modes/interactive/components/extension-editor.js.map +0 -1
  2017. package/node_modules/@earendil-works/pi-coding-agent/dist/modes/interactive/components/extension-input.d.ts +0 -23
  2018. package/node_modules/@earendil-works/pi-coding-agent/dist/modes/interactive/components/extension-input.d.ts.map +0 -1
  2019. package/node_modules/@earendil-works/pi-coding-agent/dist/modes/interactive/components/extension-input.js +0 -61
  2020. package/node_modules/@earendil-works/pi-coding-agent/dist/modes/interactive/components/extension-input.js.map +0 -1
  2021. package/node_modules/@earendil-works/pi-coding-agent/dist/modes/interactive/components/extension-selector.d.ts +0 -24
  2022. package/node_modules/@earendil-works/pi-coding-agent/dist/modes/interactive/components/extension-selector.d.ts.map +0 -1
  2023. package/node_modules/@earendil-works/pi-coding-agent/dist/modes/interactive/components/extension-selector.js +0 -78
  2024. package/node_modules/@earendil-works/pi-coding-agent/dist/modes/interactive/components/extension-selector.js.map +0 -1
  2025. package/node_modules/@earendil-works/pi-coding-agent/dist/modes/interactive/components/footer.d.ts +0 -27
  2026. package/node_modules/@earendil-works/pi-coding-agent/dist/modes/interactive/components/footer.d.ts.map +0 -1
  2027. package/node_modules/@earendil-works/pi-coding-agent/dist/modes/interactive/components/footer.js +0 -201
  2028. package/node_modules/@earendil-works/pi-coding-agent/dist/modes/interactive/components/footer.js.map +0 -1
  2029. package/node_modules/@earendil-works/pi-coding-agent/dist/modes/interactive/components/keybinding-hints.d.ts +0 -8
  2030. package/node_modules/@earendil-works/pi-coding-agent/dist/modes/interactive/components/keybinding-hints.d.ts.map +0 -1
  2031. package/node_modules/@earendil-works/pi-coding-agent/dist/modes/interactive/components/keybinding-hints.js +0 -22
  2032. package/node_modules/@earendil-works/pi-coding-agent/dist/modes/interactive/components/keybinding-hints.js.map +0 -1
  2033. package/node_modules/@earendil-works/pi-coding-agent/dist/modes/interactive/components/login-dialog.d.ts +0 -46
  2034. package/node_modules/@earendil-works/pi-coding-agent/dist/modes/interactive/components/login-dialog.d.ts.map +0 -1
  2035. package/node_modules/@earendil-works/pi-coding-agent/dist/modes/interactive/components/login-dialog.js +0 -160
  2036. package/node_modules/@earendil-works/pi-coding-agent/dist/modes/interactive/components/login-dialog.js.map +0 -1
  2037. package/node_modules/@earendil-works/pi-coding-agent/dist/modes/interactive/components/model-selector.d.ts +0 -47
  2038. package/node_modules/@earendil-works/pi-coding-agent/dist/modes/interactive/components/model-selector.d.ts.map +0 -1
  2039. package/node_modules/@earendil-works/pi-coding-agent/dist/modes/interactive/components/model-selector.js +0 -278
  2040. package/node_modules/@earendil-works/pi-coding-agent/dist/modes/interactive/components/model-selector.js.map +0 -1
  2041. package/node_modules/@earendil-works/pi-coding-agent/dist/modes/interactive/components/oauth-selector.d.ts +0 -31
  2042. package/node_modules/@earendil-works/pi-coding-agent/dist/modes/interactive/components/oauth-selector.d.ts.map +0 -1
  2043. package/node_modules/@earendil-works/pi-coding-agent/dist/modes/interactive/components/oauth-selector.js +0 -165
  2044. package/node_modules/@earendil-works/pi-coding-agent/dist/modes/interactive/components/oauth-selector.js.map +0 -1
  2045. package/node_modules/@earendil-works/pi-coding-agent/dist/modes/interactive/components/scoped-models-selector.d.ts +0 -42
  2046. package/node_modules/@earendil-works/pi-coding-agent/dist/modes/interactive/components/scoped-models-selector.d.ts.map +0 -1
  2047. package/node_modules/@earendil-works/pi-coding-agent/dist/modes/interactive/components/scoped-models-selector.js +0 -290
  2048. package/node_modules/@earendil-works/pi-coding-agent/dist/modes/interactive/components/scoped-models-selector.js.map +0 -1
  2049. package/node_modules/@earendil-works/pi-coding-agent/dist/modes/interactive/components/session-selector-search.d.ts.map +0 -1
  2050. package/node_modules/@earendil-works/pi-coding-agent/dist/modes/interactive/components/session-selector-search.js +0 -155
  2051. package/node_modules/@earendil-works/pi-coding-agent/dist/modes/interactive/components/session-selector-search.js.map +0 -1
  2052. package/node_modules/@earendil-works/pi-coding-agent/dist/modes/interactive/components/session-selector.d.ts +0 -96
  2053. package/node_modules/@earendil-works/pi-coding-agent/dist/modes/interactive/components/session-selector.d.ts.map +0 -1
  2054. package/node_modules/@earendil-works/pi-coding-agent/dist/modes/interactive/components/session-selector.js +0 -861
  2055. package/node_modules/@earendil-works/pi-coding-agent/dist/modes/interactive/components/session-selector.js.map +0 -1
  2056. package/node_modules/@earendil-works/pi-coding-agent/dist/modes/interactive/components/settings-selector.d.ts +0 -67
  2057. package/node_modules/@earendil-works/pi-coding-agent/dist/modes/interactive/components/settings-selector.d.ts.map +0 -1
  2058. package/node_modules/@earendil-works/pi-coding-agent/dist/modes/interactive/components/settings-selector.js +0 -373
  2059. package/node_modules/@earendil-works/pi-coding-agent/dist/modes/interactive/components/settings-selector.js.map +0 -1
  2060. package/node_modules/@earendil-works/pi-coding-agent/dist/modes/interactive/components/show-images-selector.d.ts +0 -10
  2061. package/node_modules/@earendil-works/pi-coding-agent/dist/modes/interactive/components/show-images-selector.d.ts.map +0 -1
  2062. package/node_modules/@earendil-works/pi-coding-agent/dist/modes/interactive/components/show-images-selector.js +0 -39
  2063. package/node_modules/@earendil-works/pi-coding-agent/dist/modes/interactive/components/show-images-selector.js.map +0 -1
  2064. package/node_modules/@earendil-works/pi-coding-agent/dist/modes/interactive/components/skill-invocation-message.d.ts +0 -17
  2065. package/node_modules/@earendil-works/pi-coding-agent/dist/modes/interactive/components/skill-invocation-message.d.ts.map +0 -1
  2066. package/node_modules/@earendil-works/pi-coding-agent/dist/modes/interactive/components/skill-invocation-message.js +0 -47
  2067. package/node_modules/@earendil-works/pi-coding-agent/dist/modes/interactive/components/skill-invocation-message.js.map +0 -1
  2068. package/node_modules/@earendil-works/pi-coding-agent/dist/modes/interactive/components/theme-selector.d.ts +0 -11
  2069. package/node_modules/@earendil-works/pi-coding-agent/dist/modes/interactive/components/theme-selector.d.ts.map +0 -1
  2070. package/node_modules/@earendil-works/pi-coding-agent/dist/modes/interactive/components/theme-selector.js +0 -50
  2071. package/node_modules/@earendil-works/pi-coding-agent/dist/modes/interactive/components/theme-selector.js.map +0 -1
  2072. package/node_modules/@earendil-works/pi-coding-agent/dist/modes/interactive/components/thinking-selector.d.ts +0 -11
  2073. package/node_modules/@earendil-works/pi-coding-agent/dist/modes/interactive/components/thinking-selector.d.ts.map +0 -1
  2074. package/node_modules/@earendil-works/pi-coding-agent/dist/modes/interactive/components/thinking-selector.js +0 -51
  2075. package/node_modules/@earendil-works/pi-coding-agent/dist/modes/interactive/components/thinking-selector.js.map +0 -1
  2076. package/node_modules/@earendil-works/pi-coding-agent/dist/modes/interactive/components/tool-execution.d.ts +0 -63
  2077. package/node_modules/@earendil-works/pi-coding-agent/dist/modes/interactive/components/tool-execution.d.ts.map +0 -1
  2078. package/node_modules/@earendil-works/pi-coding-agent/dist/modes/interactive/components/tool-execution.js +0 -295
  2079. package/node_modules/@earendil-works/pi-coding-agent/dist/modes/interactive/components/tool-execution.js.map +0 -1
  2080. package/node_modules/@earendil-works/pi-coding-agent/dist/modes/interactive/components/tree-selector.d.ts +0 -89
  2081. package/node_modules/@earendil-works/pi-coding-agent/dist/modes/interactive/components/tree-selector.d.ts.map +0 -1
  2082. package/node_modules/@earendil-works/pi-coding-agent/dist/modes/interactive/components/tree-selector.js +0 -1092
  2083. package/node_modules/@earendil-works/pi-coding-agent/dist/modes/interactive/components/tree-selector.js.map +0 -1
  2084. package/node_modules/@earendil-works/pi-coding-agent/dist/modes/interactive/components/user-message-selector.d.ts +0 -30
  2085. package/node_modules/@earendil-works/pi-coding-agent/dist/modes/interactive/components/user-message-selector.d.ts.map +0 -1
  2086. package/node_modules/@earendil-works/pi-coding-agent/dist/modes/interactive/components/user-message-selector.js +0 -114
  2087. package/node_modules/@earendil-works/pi-coding-agent/dist/modes/interactive/components/user-message-selector.js.map +0 -1
  2088. package/node_modules/@earendil-works/pi-coding-agent/dist/modes/interactive/components/user-message.d.ts +0 -10
  2089. package/node_modules/@earendil-works/pi-coding-agent/dist/modes/interactive/components/user-message.d.ts.map +0 -1
  2090. package/node_modules/@earendil-works/pi-coding-agent/dist/modes/interactive/components/user-message.js +0 -29
  2091. package/node_modules/@earendil-works/pi-coding-agent/dist/modes/interactive/components/user-message.js.map +0 -1
  2092. package/node_modules/@earendil-works/pi-coding-agent/dist/modes/interactive/components/visual-truncate.d.ts.map +0 -1
  2093. package/node_modules/@earendil-works/pi-coding-agent/dist/modes/interactive/components/visual-truncate.js +0 -33
  2094. package/node_modules/@earendil-works/pi-coding-agent/dist/modes/interactive/components/visual-truncate.js.map +0 -1
  2095. package/node_modules/@earendil-works/pi-coding-agent/dist/modes/interactive/interactive-mode.d.ts +0 -361
  2096. package/node_modules/@earendil-works/pi-coding-agent/dist/modes/interactive/interactive-mode.d.ts.map +0 -1
  2097. package/node_modules/@earendil-works/pi-coding-agent/dist/modes/interactive/interactive-mode.js +0 -4585
  2098. package/node_modules/@earendil-works/pi-coding-agent/dist/modes/interactive/interactive-mode.js.map +0 -1
  2099. package/node_modules/@earendil-works/pi-coding-agent/dist/modes/interactive/theme/theme.d.ts +0 -81
  2100. package/node_modules/@earendil-works/pi-coding-agent/dist/modes/interactive/theme/theme.d.ts.map +0 -1
  2101. package/node_modules/@earendil-works/pi-coding-agent/dist/modes/interactive/theme/theme.js +0 -971
  2102. package/node_modules/@earendil-works/pi-coding-agent/dist/modes/interactive/theme/theme.js.map +0 -1
  2103. package/node_modules/@earendil-works/pi-coding-agent/dist/modes/print-mode.d.ts +0 -28
  2104. package/node_modules/@earendil-works/pi-coding-agent/dist/modes/print-mode.d.ts.map +0 -1
  2105. package/node_modules/@earendil-works/pi-coding-agent/dist/modes/print-mode.js.map +0 -1
  2106. package/node_modules/@earendil-works/pi-coding-agent/dist/modes/rpc/rpc-client.d.ts +0 -224
  2107. package/node_modules/@earendil-works/pi-coding-agent/dist/modes/rpc/rpc-client.d.ts.map +0 -1
  2108. package/node_modules/@earendil-works/pi-coding-agent/dist/modes/rpc/rpc-client.js.map +0 -1
  2109. package/node_modules/@earendil-works/pi-coding-agent/dist/modes/rpc/rpc-mode.d.ts.map +0 -1
  2110. package/node_modules/@earendil-works/pi-coding-agent/dist/modes/rpc/rpc-mode.js +0 -601
  2111. package/node_modules/@earendil-works/pi-coding-agent/dist/modes/rpc/rpc-mode.js.map +0 -1
  2112. package/node_modules/@earendil-works/pi-coding-agent/dist/modes/rpc/rpc-types.d.ts +0 -419
  2113. package/node_modules/@earendil-works/pi-coding-agent/dist/modes/rpc/rpc-types.d.ts.map +0 -1
  2114. package/node_modules/@earendil-works/pi-coding-agent/dist/modes/rpc/rpc-types.js.map +0 -1
  2115. package/node_modules/@earendil-works/pi-coding-agent/dist/utils/image-resize.d.ts +0 -36
  2116. package/node_modules/@earendil-works/pi-coding-agent/dist/utils/image-resize.d.ts.map +0 -1
  2117. package/node_modules/@earendil-works/pi-coding-agent/dist/utils/image-resize.js.map +0 -1
  2118. package/node_modules/@earendil-works/pi-coding-agent/dist/utils/paths.d.ts +0 -14
  2119. package/node_modules/@earendil-works/pi-coding-agent/dist/utils/paths.d.ts.map +0 -1
  2120. package/node_modules/@earendil-works/pi-coding-agent/dist/utils/paths.js +0 -34
  2121. package/node_modules/@earendil-works/pi-coding-agent/dist/utils/paths.js.map +0 -1
  2122. package/node_modules/@earendil-works/pi-coding-agent/docs/compaction.md +0 -394
  2123. package/node_modules/@earendil-works/pi-coding-agent/docs/custom-provider.md +0 -646
  2124. package/node_modules/@earendil-works/pi-coding-agent/docs/extensions.md +0 -2596
  2125. package/node_modules/@earendil-works/pi-coding-agent/docs/index.md +0 -64
  2126. package/node_modules/@earendil-works/pi-coding-agent/docs/packages.md +0 -223
  2127. package/node_modules/@earendil-works/pi-coding-agent/docs/quickstart.md +0 -142
  2128. package/node_modules/@earendil-works/pi-coding-agent/docs/rpc.md +0 -1407
  2129. package/node_modules/@earendil-works/pi-coding-agent/docs/sdk.md +0 -1149
  2130. package/node_modules/@earendil-works/pi-coding-agent/docs/session-format.md +0 -412
  2131. package/node_modules/@earendil-works/pi-coding-agent/docs/termux.md +0 -127
  2132. package/node_modules/@earendil-works/pi-coding-agent/docs/tui.md +0 -918
  2133. package/node_modules/@earendil-works/pi-coding-agent/examples/extensions/README.md +0 -208
  2134. package/node_modules/@earendil-works/pi-coding-agent/examples/extensions/auto-commit-on-exit.ts +0 -49
  2135. package/node_modules/@earendil-works/pi-coding-agent/examples/extensions/bash-spawn-hook.ts +0 -30
  2136. package/node_modules/@earendil-works/pi-coding-agent/examples/extensions/bookmark.ts +0 -50
  2137. package/node_modules/@earendil-works/pi-coding-agent/examples/extensions/border-status-editor.ts +0 -150
  2138. package/node_modules/@earendil-works/pi-coding-agent/examples/extensions/built-in-tool-renderer.ts +0 -249
  2139. package/node_modules/@earendil-works/pi-coding-agent/examples/extensions/claude-rules.ts +0 -86
  2140. package/node_modules/@earendil-works/pi-coding-agent/examples/extensions/commands.ts +0 -72
  2141. package/node_modules/@earendil-works/pi-coding-agent/examples/extensions/confirm-destructive.ts +0 -59
  2142. package/node_modules/@earendil-works/pi-coding-agent/examples/extensions/custom-compaction.ts +0 -127
  2143. package/node_modules/@earendil-works/pi-coding-agent/examples/extensions/custom-footer.ts +0 -64
  2144. package/node_modules/@earendil-works/pi-coding-agent/examples/extensions/custom-header.ts +0 -73
  2145. package/node_modules/@earendil-works/pi-coding-agent/examples/extensions/custom-provider-anthropic/index.ts +0 -604
  2146. package/node_modules/@earendil-works/pi-coding-agent/examples/extensions/custom-provider-anthropic/package-lock.json +0 -24
  2147. package/node_modules/@earendil-works/pi-coding-agent/examples/extensions/custom-provider-anthropic/package.json +0 -19
  2148. package/node_modules/@earendil-works/pi-coding-agent/examples/extensions/custom-provider-gitlab-duo/index.ts +0 -349
  2149. package/node_modules/@earendil-works/pi-coding-agent/examples/extensions/custom-provider-gitlab-duo/package.json +0 -16
  2150. package/node_modules/@earendil-works/pi-coding-agent/examples/extensions/custom-provider-gitlab-duo/test.ts +0 -82
  2151. package/node_modules/@earendil-works/pi-coding-agent/examples/extensions/dirty-repo-guard.ts +0 -56
  2152. package/node_modules/@earendil-works/pi-coding-agent/examples/extensions/doom-overlay/doom-component.ts +0 -132
  2153. package/node_modules/@earendil-works/pi-coding-agent/examples/extensions/doom-overlay/doom-keys.ts +0 -104
  2154. package/node_modules/@earendil-works/pi-coding-agent/examples/extensions/doom-overlay/index.ts +0 -74
  2155. package/node_modules/@earendil-works/pi-coding-agent/examples/extensions/dynamic-resources/index.ts +0 -15
  2156. package/node_modules/@earendil-works/pi-coding-agent/examples/extensions/dynamic-tools.ts +0 -74
  2157. package/node_modules/@earendil-works/pi-coding-agent/examples/extensions/event-bus.ts +0 -43
  2158. package/node_modules/@earendil-works/pi-coding-agent/examples/extensions/file-trigger.ts +0 -41
  2159. package/node_modules/@earendil-works/pi-coding-agent/examples/extensions/git-checkpoint.ts +0 -53
  2160. package/node_modules/@earendil-works/pi-coding-agent/examples/extensions/github-issue-autocomplete.ts +0 -185
  2161. package/node_modules/@earendil-works/pi-coding-agent/examples/extensions/handoff.ts +0 -191
  2162. package/node_modules/@earendil-works/pi-coding-agent/examples/extensions/hello.ts +0 -26
  2163. package/node_modules/@earendil-works/pi-coding-agent/examples/extensions/hidden-thinking-label.ts +0 -53
  2164. package/node_modules/@earendil-works/pi-coding-agent/examples/extensions/inline-bash.ts +0 -94
  2165. package/node_modules/@earendil-works/pi-coding-agent/examples/extensions/input-transform.ts +0 -43
  2166. package/node_modules/@earendil-works/pi-coding-agent/examples/extensions/interactive-shell.ts +0 -196
  2167. package/node_modules/@earendil-works/pi-coding-agent/examples/extensions/mac-system-theme.ts +0 -47
  2168. package/node_modules/@earendil-works/pi-coding-agent/examples/extensions/message-renderer.ts +0 -59
  2169. package/node_modules/@earendil-works/pi-coding-agent/examples/extensions/minimal-mode.ts +0 -426
  2170. package/node_modules/@earendil-works/pi-coding-agent/examples/extensions/modal-editor.ts +0 -85
  2171. package/node_modules/@earendil-works/pi-coding-agent/examples/extensions/model-status.ts +0 -31
  2172. package/node_modules/@earendil-works/pi-coding-agent/examples/extensions/notify.ts +0 -55
  2173. package/node_modules/@earendil-works/pi-coding-agent/examples/extensions/overlay-qa-tests.ts +0 -1348
  2174. package/node_modules/@earendil-works/pi-coding-agent/examples/extensions/overlay-test.ts +0 -150
  2175. package/node_modules/@earendil-works/pi-coding-agent/examples/extensions/permission-gate.ts +0 -34
  2176. package/node_modules/@earendil-works/pi-coding-agent/examples/extensions/pirate.ts +0 -47
  2177. package/node_modules/@earendil-works/pi-coding-agent/examples/extensions/plan-mode/index.ts +0 -340
  2178. package/node_modules/@earendil-works/pi-coding-agent/examples/extensions/preset.ts +0 -430
  2179. package/node_modules/@earendil-works/pi-coding-agent/examples/extensions/prompt-customizer.ts +0 -97
  2180. package/node_modules/@earendil-works/pi-coding-agent/examples/extensions/protected-paths.ts +0 -30
  2181. package/node_modules/@earendil-works/pi-coding-agent/examples/extensions/provider-payload.ts +0 -18
  2182. package/node_modules/@earendil-works/pi-coding-agent/examples/extensions/qna.ts +0 -122
  2183. package/node_modules/@earendil-works/pi-coding-agent/examples/extensions/question.ts +0 -264
  2184. package/node_modules/@earendil-works/pi-coding-agent/examples/extensions/questionnaire.ts +0 -427
  2185. package/node_modules/@earendil-works/pi-coding-agent/examples/extensions/rainbow-editor.ts +0 -88
  2186. package/node_modules/@earendil-works/pi-coding-agent/examples/extensions/reload-runtime.ts +0 -37
  2187. package/node_modules/@earendil-works/pi-coding-agent/examples/extensions/rpc-demo.ts +0 -118
  2188. package/node_modules/@earendil-works/pi-coding-agent/examples/extensions/sandbox/index.ts +0 -321
  2189. package/node_modules/@earendil-works/pi-coding-agent/examples/extensions/sandbox/package-lock.json +0 -92
  2190. package/node_modules/@earendil-works/pi-coding-agent/examples/extensions/sandbox/package.json +0 -19
  2191. package/node_modules/@earendil-works/pi-coding-agent/examples/extensions/send-user-message.ts +0 -97
  2192. package/node_modules/@earendil-works/pi-coding-agent/examples/extensions/session-name.ts +0 -27
  2193. package/node_modules/@earendil-works/pi-coding-agent/examples/extensions/shutdown-command.ts +0 -63
  2194. package/node_modules/@earendil-works/pi-coding-agent/examples/extensions/snake.ts +0 -343
  2195. package/node_modules/@earendil-works/pi-coding-agent/examples/extensions/space-invaders.ts +0 -560
  2196. package/node_modules/@earendil-works/pi-coding-agent/examples/extensions/ssh.ts +0 -220
  2197. package/node_modules/@earendil-works/pi-coding-agent/examples/extensions/status-line.ts +0 -32
  2198. package/node_modules/@earendil-works/pi-coding-agent/examples/extensions/structured-output.ts +0 -65
  2199. package/node_modules/@earendil-works/pi-coding-agent/examples/extensions/subagent/agents.ts +0 -126
  2200. package/node_modules/@earendil-works/pi-coding-agent/examples/extensions/subagent/index.ts +0 -987
  2201. package/node_modules/@earendil-works/pi-coding-agent/examples/extensions/summarize.ts +0 -206
  2202. package/node_modules/@earendil-works/pi-coding-agent/examples/extensions/system-prompt-header.ts +0 -17
  2203. package/node_modules/@earendil-works/pi-coding-agent/examples/extensions/tic-tac-toe.ts +0 -1008
  2204. package/node_modules/@earendil-works/pi-coding-agent/examples/extensions/timed-confirm.ts +0 -70
  2205. package/node_modules/@earendil-works/pi-coding-agent/examples/extensions/titlebar-spinner.ts +0 -58
  2206. package/node_modules/@earendil-works/pi-coding-agent/examples/extensions/todo.ts +0 -297
  2207. package/node_modules/@earendil-works/pi-coding-agent/examples/extensions/tool-override.ts +0 -144
  2208. package/node_modules/@earendil-works/pi-coding-agent/examples/extensions/tools.ts +0 -141
  2209. package/node_modules/@earendil-works/pi-coding-agent/examples/extensions/trigger-compact.ts +0 -50
  2210. package/node_modules/@earendil-works/pi-coding-agent/examples/extensions/truncated-tool.ts +0 -195
  2211. package/node_modules/@earendil-works/pi-coding-agent/examples/extensions/widget-placement.ts +0 -9
  2212. package/node_modules/@earendil-works/pi-coding-agent/examples/extensions/with-deps/index.ts +0 -32
  2213. package/node_modules/@earendil-works/pi-coding-agent/examples/extensions/with-deps/package-lock.json +0 -31
  2214. package/node_modules/@earendil-works/pi-coding-agent/examples/extensions/with-deps/package.json +0 -22
  2215. package/node_modules/@earendil-works/pi-coding-agent/examples/extensions/working-indicator.ts +0 -123
  2216. package/node_modules/@earendil-works/pi-coding-agent/examples/extensions/working-message-test.ts +0 -25
  2217. package/node_modules/@earendil-works/pi-coding-agent/examples/rpc-extension-ui.ts +0 -632
  2218. package/node_modules/@earendil-works/pi-coding-agent/examples/sdk/01-minimal.ts +0 -22
  2219. package/node_modules/@earendil-works/pi-coding-agent/examples/sdk/02-custom-model.ts +0 -49
  2220. package/node_modules/@earendil-works/pi-coding-agent/examples/sdk/03-custom-prompt.ts +0 -67
  2221. package/node_modules/@earendil-works/pi-coding-agent/examples/sdk/04-skills.ts +0 -55
  2222. package/node_modules/@earendil-works/pi-coding-agent/examples/sdk/05-tools.ts +0 -44
  2223. package/node_modules/@earendil-works/pi-coding-agent/examples/sdk/06-extensions.ts +0 -95
  2224. package/node_modules/@earendil-works/pi-coding-agent/examples/sdk/07-context-files.ts +0 -47
  2225. package/node_modules/@earendil-works/pi-coding-agent/examples/sdk/08-prompt-templates.ts +0 -51
  2226. package/node_modules/@earendil-works/pi-coding-agent/examples/sdk/09-api-keys-and-oauth.ts +0 -48
  2227. package/node_modules/@earendil-works/pi-coding-agent/examples/sdk/10-settings.ts +0 -53
  2228. package/node_modules/@earendil-works/pi-coding-agent/examples/sdk/11-sessions.ts +0 -48
  2229. package/node_modules/@earendil-works/pi-coding-agent/examples/sdk/12-full-control.ts +0 -73
  2230. package/node_modules/@earendil-works/pi-coding-agent/examples/sdk/13-session-runtime.ts +0 -67
  2231. package/node_modules/@earendil-works/pi-coding-agent/examples/sdk/README.md +0 -147
  2232. package/node_modules/@earendil-works/pi-coding-agent/package.json +0 -100
  2233. package/node_modules/@earendil-works/pi-tui/README.md +0 -779
  2234. package/node_modules/@earendil-works/pi-tui/package.json +0 -52
  2235. package/node_modules/@mariozechner/clipboard/.yarnrc.yml +0 -1
  2236. package/node_modules/@mariozechner/clipboard/Cargo.toml +0 -26
  2237. package/node_modules/@mariozechner/clipboard/README.md +0 -58
  2238. package/node_modules/@mariozechner/clipboard/build.rs +0 -5
  2239. package/node_modules/@mariozechner/clipboard/exp.ts +0 -12
  2240. package/node_modules/@mariozechner/clipboard/index.d.ts +0 -23
  2241. package/node_modules/@mariozechner/clipboard/index.js +0 -317
  2242. package/node_modules/@mariozechner/clipboard/package.json +0 -56
  2243. package/node_modules/@mariozechner/clipboard/src/lib.rs +0 -196
  2244. package/node_modules/@mariozechner/clipboard-linux-x64-gnu/README.md +0 -3
  2245. package/node_modules/@mariozechner/clipboard-linux-x64-gnu/clipboard.linux-x64-gnu.node +0 -0
  2246. package/node_modules/@mariozechner/clipboard-linux-x64-gnu/package.json +0 -25
  2247. package/node_modules/@smithy/config-resolver/LICENSE +0 -201
  2248. package/node_modules/@smithy/config-resolver/README.md +0 -17
  2249. package/node_modules/@smithy/config-resolver/dist-cjs/index.js +0 -198
  2250. package/node_modules/@smithy/config-resolver/dist-es/endpointsConfig/NodeUseDualstackEndpointConfigOptions.js +0 -14
  2251. package/node_modules/@smithy/config-resolver/dist-es/endpointsConfig/NodeUseFipsEndpointConfigOptions.js +0 -14
  2252. package/node_modules/@smithy/config-resolver/dist-es/endpointsConfig/index.js +0 -4
  2253. package/node_modules/@smithy/config-resolver/dist-es/endpointsConfig/resolveCustomEndpointsConfig.js +0 -10
  2254. package/node_modules/@smithy/config-resolver/dist-es/endpointsConfig/resolveEndpointsConfig.js +0 -14
  2255. package/node_modules/@smithy/config-resolver/dist-es/index.js +0 -3
  2256. package/node_modules/@smithy/config-resolver/dist-es/regionConfig/checkRegion.js +0 -15
  2257. package/node_modules/@smithy/config-resolver/dist-es/regionConfig/index.js +0 -2
  2258. package/node_modules/@smithy/config-resolver/dist-es/regionInfo/index.js +0 -3
  2259. package/node_modules/@smithy/config-resolver/dist-types/endpointsConfig/NodeUseDualstackEndpointConfigOptions.d.ts +0 -23
  2260. package/node_modules/@smithy/config-resolver/dist-types/endpointsConfig/NodeUseFipsEndpointConfigOptions.d.ts +0 -23
  2261. package/node_modules/@smithy/config-resolver/dist-types/endpointsConfig/index.d.ts +0 -16
  2262. package/node_modules/@smithy/config-resolver/dist-types/endpointsConfig/resolveEndpointsConfig.d.ts +0 -57
  2263. package/node_modules/@smithy/config-resolver/dist-types/index.d.ts +0 -12
  2264. package/node_modules/@smithy/config-resolver/dist-types/regionConfig/config.d.ts +0 -17
  2265. package/node_modules/@smithy/config-resolver/dist-types/regionConfig/index.d.ts +0 -8
  2266. package/node_modules/@smithy/config-resolver/dist-types/regionInfo/index.d.ts +0 -12
  2267. package/node_modules/@smithy/config-resolver/package.json +0 -65
  2268. package/node_modules/@smithy/core/dist-es/submodules/serde/generateIdempotencyToken.js +0 -2
  2269. package/node_modules/@smithy/core/dist-types/submodules/serde/generateIdempotencyToken.d.ts +0 -2
  2270. package/node_modules/@smithy/eventstream-codec/LICENSE +0 -201
  2271. package/node_modules/@smithy/eventstream-codec/README.md +0 -17
  2272. package/node_modules/@smithy/eventstream-codec/dist-cjs/index.js +0 -401
  2273. package/node_modules/@smithy/eventstream-codec/dist-es/HeaderMarshaller.js +0 -184
  2274. package/node_modules/@smithy/eventstream-codec/dist-es/Int64.js +0 -44
  2275. package/node_modules/@smithy/eventstream-codec/dist-es/index.js +0 -8
  2276. package/node_modules/@smithy/eventstream-codec/dist-types/EventStreamCodec.d.ts +0 -31
  2277. package/node_modules/@smithy/eventstream-codec/dist-types/index.d.ts +0 -8
  2278. package/node_modules/@smithy/eventstream-codec/package.json +0 -64
  2279. package/node_modules/@smithy/eventstream-serde-browser/LICENSE +0 -201
  2280. package/node_modules/@smithy/eventstream-serde-browser/README.md +0 -17
  2281. package/node_modules/@smithy/eventstream-serde-browser/dist-cjs/index.js +0 -58
  2282. package/node_modules/@smithy/eventstream-serde-browser/dist-es/EventStreamMarshaller.js +0 -20
  2283. package/node_modules/@smithy/eventstream-serde-browser/dist-es/index.js +0 -3
  2284. package/node_modules/@smithy/eventstream-serde-browser/dist-es/provider.js +0 -2
  2285. package/node_modules/@smithy/eventstream-serde-browser/dist-es/utils.js +0 -28
  2286. package/node_modules/@smithy/eventstream-serde-browser/dist-types/EventStreamMarshaller.d.ts +0 -47
  2287. package/node_modules/@smithy/eventstream-serde-browser/dist-types/index.d.ts +0 -12
  2288. package/node_modules/@smithy/eventstream-serde-browser/dist-types/provider.d.ts +0 -3
  2289. package/node_modules/@smithy/eventstream-serde-browser/dist-types/utils.d.ts +0 -13
  2290. package/node_modules/@smithy/eventstream-serde-browser/package.json +0 -60
  2291. package/node_modules/@smithy/eventstream-serde-config-resolver/LICENSE +0 -201
  2292. package/node_modules/@smithy/eventstream-serde-config-resolver/README.md +0 -17
  2293. package/node_modules/@smithy/eventstream-serde-config-resolver/dist-cjs/index.js +0 -7
  2294. package/node_modules/@smithy/eventstream-serde-config-resolver/dist-es/index.js +0 -1
  2295. package/node_modules/@smithy/eventstream-serde-config-resolver/dist-types/index.d.ts +0 -4
  2296. package/node_modules/@smithy/eventstream-serde-config-resolver/package.json +0 -61
  2297. package/node_modules/@smithy/eventstream-serde-node/LICENSE +0 -201
  2298. package/node_modules/@smithy/eventstream-serde-node/README.md +0 -17
  2299. package/node_modules/@smithy/eventstream-serde-node/dist-cjs/index.js +0 -53
  2300. package/node_modules/@smithy/eventstream-serde-node/dist-es/EventStreamMarshaller.js +0 -19
  2301. package/node_modules/@smithy/eventstream-serde-node/dist-es/index.js +0 -2
  2302. package/node_modules/@smithy/eventstream-serde-node/dist-es/provider.js +0 -2
  2303. package/node_modules/@smithy/eventstream-serde-node/dist-es/utils.js +0 -26
  2304. package/node_modules/@smithy/eventstream-serde-node/dist-types/EventStreamMarshaller.d.ts +0 -23
  2305. package/node_modules/@smithy/eventstream-serde-node/dist-types/index.d.ts +0 -8
  2306. package/node_modules/@smithy/eventstream-serde-node/dist-types/provider.d.ts +0 -3
  2307. package/node_modules/@smithy/eventstream-serde-node/dist-types/utils.d.ts +0 -12
  2308. package/node_modules/@smithy/eventstream-serde-node/package.json +0 -61
  2309. package/node_modules/@smithy/eventstream-serde-universal/LICENSE +0 -201
  2310. package/node_modules/@smithy/eventstream-serde-universal/README.md +0 -17
  2311. package/node_modules/@smithy/eventstream-serde-universal/dist-cjs/index.js +0 -132
  2312. package/node_modules/@smithy/eventstream-serde-universal/dist-es/EventStreamMarshaller.js +0 -25
  2313. package/node_modules/@smithy/eventstream-serde-universal/dist-es/index.js +0 -2
  2314. package/node_modules/@smithy/eventstream-serde-universal/dist-es/provider.js +0 -2
  2315. package/node_modules/@smithy/eventstream-serde-universal/dist-types/EventStreamMarshaller.d.ts +0 -23
  2316. package/node_modules/@smithy/eventstream-serde-universal/dist-types/getUnmarshalledStream.d.ts +0 -18
  2317. package/node_modules/@smithy/eventstream-serde-universal/dist-types/index.d.ts +0 -8
  2318. package/node_modules/@smithy/eventstream-serde-universal/dist-types/provider.d.ts +0 -3
  2319. package/node_modules/@smithy/eventstream-serde-universal/package.json +0 -65
  2320. package/node_modules/@smithy/hash-node/LICENSE +0 -201
  2321. package/node_modules/@smithy/hash-node/README.md +0 -17
  2322. package/node_modules/@smithy/hash-node/dist-cjs/index.js +0 -42
  2323. package/node_modules/@smithy/hash-node/dist-es/index.js +0 -37
  2324. package/node_modules/@smithy/hash-node/package.json +0 -64
  2325. package/node_modules/@smithy/invalid-dependency/LICENSE +0 -201
  2326. package/node_modules/@smithy/invalid-dependency/README.md +0 -17
  2327. package/node_modules/@smithy/invalid-dependency/dist-cjs/index.js +0 -10
  2328. package/node_modules/@smithy/invalid-dependency/dist-es/index.js +0 -2
  2329. package/node_modules/@smithy/invalid-dependency/dist-types/index.d.ts +0 -8
  2330. package/node_modules/@smithy/invalid-dependency/package.json +0 -60
  2331. package/node_modules/@smithy/middleware-content-length/LICENSE +0 -201
  2332. package/node_modules/@smithy/middleware-content-length/README.md +0 -17
  2333. package/node_modules/@smithy/middleware-content-length/dist-cjs/index.js +0 -46
  2334. package/node_modules/@smithy/middleware-content-length/dist-es/index.js +0 -39
  2335. package/node_modules/@smithy/middleware-content-length/package.json +0 -63
  2336. package/node_modules/@smithy/middleware-endpoint/LICENSE +0 -201
  2337. package/node_modules/@smithy/middleware-endpoint/README.md +0 -17
  2338. package/node_modules/@smithy/middleware-endpoint/dist-cjs/adaptors/getEndpointFromConfig.browser.js +0 -5
  2339. package/node_modules/@smithy/middleware-endpoint/dist-cjs/adaptors/getEndpointFromConfig.js +0 -7
  2340. package/node_modules/@smithy/middleware-endpoint/dist-cjs/adaptors/getEndpointUrlConfig.js +0 -35
  2341. package/node_modules/@smithy/middleware-endpoint/dist-cjs/index.js +0 -264
  2342. package/node_modules/@smithy/middleware-endpoint/dist-es/adaptors/getEndpointFromConfig.js +0 -3
  2343. package/node_modules/@smithy/middleware-endpoint/dist-es/adaptors/getEndpointFromInstructions.js +0 -64
  2344. package/node_modules/@smithy/middleware-endpoint/dist-es/adaptors/getEndpointUrlConfig.js +0 -31
  2345. package/node_modules/@smithy/middleware-endpoint/dist-es/adaptors/index.js +0 -2
  2346. package/node_modules/@smithy/middleware-endpoint/dist-es/adaptors/toEndpointV1.js +0 -17
  2347. package/node_modules/@smithy/middleware-endpoint/dist-es/endpointMiddleware.js +0 -36
  2348. package/node_modules/@smithy/middleware-endpoint/dist-es/getEndpointPlugin.js +0 -18
  2349. package/node_modules/@smithy/middleware-endpoint/dist-es/index.js +0 -6
  2350. package/node_modules/@smithy/middleware-endpoint/dist-es/resolveEndpointConfig.js +0 -24
  2351. package/node_modules/@smithy/middleware-endpoint/dist-types/adaptors/getEndpointFromConfig.browser.d.ts +0 -1
  2352. package/node_modules/@smithy/middleware-endpoint/dist-types/adaptors/getEndpointFromInstructions.d.ts +0 -28
  2353. package/node_modules/@smithy/middleware-endpoint/dist-types/adaptors/getEndpointUrlConfig.d.ts +0 -2
  2354. package/node_modules/@smithy/middleware-endpoint/dist-types/adaptors/index.d.ts +0 -8
  2355. package/node_modules/@smithy/middleware-endpoint/dist-types/adaptors/toEndpointV1.d.ts +0 -6
  2356. package/node_modules/@smithy/middleware-endpoint/dist-types/endpointMiddleware.d.ts +0 -10
  2357. package/node_modules/@smithy/middleware-endpoint/dist-types/getEndpointPlugin.d.ts +0 -11
  2358. package/node_modules/@smithy/middleware-endpoint/dist-types/index.d.ts +0 -18
  2359. package/node_modules/@smithy/middleware-endpoint/dist-types/resolveEndpointConfig.d.ts +0 -109
  2360. package/node_modules/@smithy/middleware-endpoint/package.json +0 -74
  2361. package/node_modules/@smithy/middleware-retry/LICENSE +0 -201
  2362. package/node_modules/@smithy/middleware-retry/README.md +0 -24
  2363. package/node_modules/@smithy/middleware-retry/dist-cjs/index.js +0 -396
  2364. package/node_modules/@smithy/middleware-retry/dist-cjs/isStreamingPayload/isStreamingPayload.browser.js +0 -5
  2365. package/node_modules/@smithy/middleware-retry/dist-cjs/isStreamingPayload/isStreamingPayload.js +0 -7
  2366. package/node_modules/@smithy/middleware-retry/dist-es/configurations.js +0 -48
  2367. package/node_modules/@smithy/middleware-retry/dist-es/index.js +0 -8
  2368. package/node_modules/@smithy/middleware-retry/dist-es/isStreamingPayload/isStreamingPayload.js +0 -3
  2369. package/node_modules/@smithy/middleware-retry/dist-es/omitRetryHeadersMiddleware.js +0 -22
  2370. package/node_modules/@smithy/middleware-retry/dist-es/parseRetryAfterHeader.js +0 -49
  2371. package/node_modules/@smithy/middleware-retry/dist-es/retry-pre-sra-deprecated/AdaptiveRetryStrategy.js +0 -21
  2372. package/node_modules/@smithy/middleware-retry/dist-es/retry-pre-sra-deprecated/StandardRetryStrategy.js +0 -94
  2373. package/node_modules/@smithy/middleware-retry/dist-es/retry-pre-sra-deprecated/defaultRetryQuota.js +0 -27
  2374. package/node_modules/@smithy/middleware-retry/dist-es/retry-pre-sra-deprecated/delayDecider.js +0 -2
  2375. package/node_modules/@smithy/middleware-retry/dist-es/retry-pre-sra-deprecated/retryDecider.js +0 -7
  2376. package/node_modules/@smithy/middleware-retry/dist-es/retryMiddleware.js +0 -105
  2377. package/node_modules/@smithy/middleware-retry/dist-types/configurations.d.ts +0 -68
  2378. package/node_modules/@smithy/middleware-retry/dist-types/index.d.ts +0 -8
  2379. package/node_modules/@smithy/middleware-retry/dist-types/isStreamingPayload/isStreamingPayload.browser.d.ts +0 -5
  2380. package/node_modules/@smithy/middleware-retry/dist-types/isStreamingPayload/isStreamingPayload.d.ts +0 -5
  2381. package/node_modules/@smithy/middleware-retry/dist-types/retry-pre-sra-deprecated/AdaptiveRetryStrategy.d.ts +0 -24
  2382. package/node_modules/@smithy/middleware-retry/dist-types/retryMiddleware.d.ts +0 -14
  2383. package/node_modules/@smithy/middleware-retry/package.json +0 -79
  2384. package/node_modules/@smithy/middleware-serde/LICENSE +0 -201
  2385. package/node_modules/@smithy/middleware-serde/README.md +0 -17
  2386. package/node_modules/@smithy/middleware-serde/dist-cjs/index.js +0 -104
  2387. package/node_modules/@smithy/middleware-serde/dist-es/deserializerMiddleware.js +0 -58
  2388. package/node_modules/@smithy/middleware-serde/dist-es/index.js +0 -3
  2389. package/node_modules/@smithy/middleware-serde/dist-types/index.d.ts +0 -3
  2390. package/node_modules/@smithy/middleware-serde/package.json +0 -65
  2391. package/node_modules/@smithy/middleware-stack/LICENSE +0 -201
  2392. package/node_modules/@smithy/middleware-stack/README.md +0 -91
  2393. package/node_modules/@smithy/middleware-stack/dist-cjs/index.js +0 -285
  2394. package/node_modules/@smithy/middleware-stack/dist-es/index.js +0 -1
  2395. package/node_modules/@smithy/middleware-stack/dist-types/index.d.ts +0 -1
  2396. package/node_modules/@smithy/middleware-stack/package.json +0 -63
  2397. package/node_modules/@smithy/node-config-provider/LICENSE +0 -201
  2398. package/node_modules/@smithy/node-config-provider/README.md +0 -17
  2399. package/node_modules/@smithy/node-config-provider/dist-cjs/index.js +0 -62
  2400. package/node_modules/@smithy/node-config-provider/dist-es/configLoader.js +0 -9
  2401. package/node_modules/@smithy/node-config-provider/dist-es/fromEnv.js +0 -14
  2402. package/node_modules/@smithy/node-config-provider/dist-es/fromSharedConfigFiles.js +0 -23
  2403. package/node_modules/@smithy/node-config-provider/dist-es/fromStatic.js +0 -3
  2404. package/node_modules/@smithy/node-config-provider/dist-es/index.js +0 -1
  2405. package/node_modules/@smithy/node-config-provider/dist-types/configLoader.d.ts +0 -31
  2406. package/node_modules/@smithy/node-config-provider/dist-types/fromSharedConfigFiles.d.ts +0 -22
  2407. package/node_modules/@smithy/node-config-provider/dist-types/index.d.ts +0 -4
  2408. package/node_modules/@smithy/node-config-provider/package.json +0 -65
  2409. package/node_modules/@smithy/property-provider/LICENSE +0 -201
  2410. package/node_modules/@smithy/property-provider/README.md +0 -17
  2411. package/node_modules/@smithy/property-provider/dist-cjs/index.js +0 -117
  2412. package/node_modules/@smithy/property-provider/dist-es/fromStatic.js +0 -1
  2413. package/node_modules/@smithy/property-provider/dist-es/index.js +0 -6
  2414. package/node_modules/@smithy/property-provider/dist-types/CredentialsProviderError.d.ts +0 -31
  2415. package/node_modules/@smithy/property-provider/dist-types/ProviderError.d.ts +0 -39
  2416. package/node_modules/@smithy/property-provider/dist-types/TokenProviderError.d.ts +0 -31
  2417. package/node_modules/@smithy/property-provider/dist-types/chain.d.ts +0 -13
  2418. package/node_modules/@smithy/property-provider/dist-types/fromStatic.d.ts +0 -5
  2419. package/node_modules/@smithy/property-provider/dist-types/index.d.ts +0 -24
  2420. package/node_modules/@smithy/property-provider/package.json +0 -60
  2421. package/node_modules/@smithy/protocol-http/LICENSE +0 -201
  2422. package/node_modules/@smithy/protocol-http/README.md +0 -17
  2423. package/node_modules/@smithy/protocol-http/dist-cjs/index.js +0 -169
  2424. package/node_modules/@smithy/protocol-http/dist-es/extensions/index.js +0 -1
  2425. package/node_modules/@smithy/protocol-http/dist-es/index.js +0 -8
  2426. package/node_modules/@smithy/protocol-http/dist-types/Field.d.ts +0 -50
  2427. package/node_modules/@smithy/protocol-http/dist-types/extensions/httpExtensionConfiguration.d.ts +0 -33
  2428. package/node_modules/@smithy/protocol-http/dist-types/extensions/index.d.ts +0 -1
  2429. package/node_modules/@smithy/protocol-http/dist-types/httpHandler.d.ts +0 -35
  2430. package/node_modules/@smithy/protocol-http/dist-types/httpRequest.d.ts +0 -56
  2431. package/node_modules/@smithy/protocol-http/dist-types/index.d.ts +0 -8
  2432. package/node_modules/@smithy/protocol-http/package.json +0 -61
  2433. package/node_modules/@smithy/querystring-builder/LICENSE +0 -201
  2434. package/node_modules/@smithy/querystring-builder/README.md +0 -17
  2435. package/node_modules/@smithy/querystring-builder/dist-cjs/index.js +0 -26
  2436. package/node_modules/@smithy/querystring-builder/dist-es/index.js +0 -21
  2437. package/node_modules/@smithy/querystring-builder/package.json +0 -60
  2438. package/node_modules/@smithy/querystring-parser/LICENSE +0 -201
  2439. package/node_modules/@smithy/querystring-parser/README.md +0 -17
  2440. package/node_modules/@smithy/querystring-parser/dist-cjs/index.js +0 -27
  2441. package/node_modules/@smithy/querystring-parser/package.json +0 -60
  2442. package/node_modules/@smithy/service-error-classification/LICENSE +0 -201
  2443. package/node_modules/@smithy/service-error-classification/README.md +0 -17
  2444. package/node_modules/@smithy/service-error-classification/dist-cjs/index.js +0 -83
  2445. package/node_modules/@smithy/service-error-classification/package.json +0 -59
  2446. package/node_modules/@smithy/shared-ini-file-loader/LICENSE +0 -201
  2447. package/node_modules/@smithy/shared-ini-file-loader/README.md +0 -105
  2448. package/node_modules/@smithy/shared-ini-file-loader/dist-cjs/getHomeDir.js +0 -26
  2449. package/node_modules/@smithy/shared-ini-file-loader/dist-cjs/getSSOTokenFilepath.js +0 -12
  2450. package/node_modules/@smithy/shared-ini-file-loader/dist-cjs/getSSOTokenFromFile.js +0 -15
  2451. package/node_modules/@smithy/shared-ini-file-loader/dist-cjs/index.js +0 -196
  2452. package/node_modules/@smithy/shared-ini-file-loader/dist-cjs/readFile.js +0 -16
  2453. package/node_modules/@smithy/shared-ini-file-loader/dist-es/getConfigFilepath.js +0 -4
  2454. package/node_modules/@smithy/shared-ini-file-loader/dist-es/getCredentialsFilepath.js +0 -4
  2455. package/node_modules/@smithy/shared-ini-file-loader/dist-es/getHomeDir.js +0 -22
  2456. package/node_modules/@smithy/shared-ini-file-loader/dist-es/getSSOTokenFilepath.js +0 -8
  2457. package/node_modules/@smithy/shared-ini-file-loader/dist-es/getSSOTokenFromFile.js +0 -11
  2458. package/node_modules/@smithy/shared-ini-file-loader/dist-es/index.js +0 -10
  2459. package/node_modules/@smithy/shared-ini-file-loader/dist-es/loadSharedConfigFiles.js +0 -39
  2460. package/node_modules/@smithy/shared-ini-file-loader/dist-types/getConfigData.d.ts +0 -8
  2461. package/node_modules/@smithy/shared-ini-file-loader/dist-types/getSSOTokenFromFile.d.ts +0 -52
  2462. package/node_modules/@smithy/shared-ini-file-loader/dist-types/getSsoSessionData.d.ts +0 -6
  2463. package/node_modules/@smithy/shared-ini-file-loader/dist-types/index.d.ts +0 -10
  2464. package/node_modules/@smithy/shared-ini-file-loader/dist-types/parseIni.d.ts +0 -2
  2465. package/node_modules/@smithy/shared-ini-file-loader/dist-types/parseKnownFiles.d.ts +0 -18
  2466. package/node_modules/@smithy/shared-ini-file-loader/package.json +0 -72
  2467. package/node_modules/@smithy/smithy-client/LICENSE +0 -201
  2468. package/node_modules/@smithy/smithy-client/README.md +0 -17
  2469. package/node_modules/@smithy/smithy-client/dist-cjs/index.js +0 -642
  2470. package/node_modules/@smithy/smithy-client/dist-es/client.js +0 -51
  2471. package/node_modules/@smithy/smithy-client/dist-es/collect-stream-body.js +0 -1
  2472. package/node_modules/@smithy/smithy-client/dist-es/command.js +0 -131
  2473. package/node_modules/@smithy/smithy-client/dist-es/extended-encode-uri-component.js +0 -1
  2474. package/node_modules/@smithy/smithy-client/dist-es/extensions/checksum.js +0 -49
  2475. package/node_modules/@smithy/smithy-client/dist-es/extensions/defaultExtensionConfiguration.js +0 -9
  2476. package/node_modules/@smithy/smithy-client/dist-es/extensions/index.js +0 -1
  2477. package/node_modules/@smithy/smithy-client/dist-es/index.js +0 -20
  2478. package/node_modules/@smithy/smithy-client/dist-es/resolve-path.js +0 -1
  2479. package/node_modules/@smithy/smithy-client/dist-types/client.d.ts +0 -87
  2480. package/node_modules/@smithy/smithy-client/dist-types/collect-stream-body.d.ts +0 -5
  2481. package/node_modules/@smithy/smithy-client/dist-types/command.d.ts +0 -119
  2482. package/node_modules/@smithy/smithy-client/dist-types/create-aggregated-client.d.ts +0 -18
  2483. package/node_modules/@smithy/smithy-client/dist-types/default-error-handler.d.ts +0 -15
  2484. package/node_modules/@smithy/smithy-client/dist-types/emitWarningIfUnsupportedVersion.d.ts +0 -8
  2485. package/node_modules/@smithy/smithy-client/dist-types/exceptions.d.ts +0 -42
  2486. package/node_modules/@smithy/smithy-client/dist-types/extended-encode-uri-component.d.ts +0 -5
  2487. package/node_modules/@smithy/smithy-client/dist-types/extensions/checksum.d.ts +0 -26
  2488. package/node_modules/@smithy/smithy-client/dist-types/extensions/defaultExtensionConfiguration.d.ts +0 -38
  2489. package/node_modules/@smithy/smithy-client/dist-types/extensions/index.d.ts +0 -1
  2490. package/node_modules/@smithy/smithy-client/dist-types/get-array-if-single-item.d.ts +0 -7
  2491. package/node_modules/@smithy/smithy-client/dist-types/get-value-from-text-node.d.ts +0 -7
  2492. package/node_modules/@smithy/smithy-client/dist-types/index.d.ts +0 -21
  2493. package/node_modules/@smithy/smithy-client/dist-types/object-mapping.d.ts +0 -162
  2494. package/node_modules/@smithy/smithy-client/dist-types/resolve-path.d.ts +0 -5
  2495. package/node_modules/@smithy/smithy-client/dist-types/ser-utils.d.ts +0 -15
  2496. package/node_modules/@smithy/smithy-client/dist-types/serde-json.d.ts +0 -12
  2497. package/node_modules/@smithy/smithy-client/package.json +0 -69
  2498. package/node_modules/@smithy/url-parser/LICENSE +0 -201
  2499. package/node_modules/@smithy/url-parser/README.md +0 -17
  2500. package/node_modules/@smithy/url-parser/dist-cjs/index.js +0 -23
  2501. package/node_modules/@smithy/url-parser/dist-es/index.js +0 -18
  2502. package/node_modules/@smithy/url-parser/package.json +0 -61
  2503. package/node_modules/@smithy/util-base64/LICENSE +0 -201
  2504. package/node_modules/@smithy/util-base64/README.md +0 -4
  2505. package/node_modules/@smithy/util-base64/dist-cjs/constants.browser.js +0 -12
  2506. package/node_modules/@smithy/util-base64/dist-cjs/fromBase64.browser.js +0 -40
  2507. package/node_modules/@smithy/util-base64/dist-cjs/fromBase64.js +0 -16
  2508. package/node_modules/@smithy/util-base64/dist-cjs/index.js +0 -27
  2509. package/node_modules/@smithy/util-base64/dist-cjs/toBase64.browser.js +0 -38
  2510. package/node_modules/@smithy/util-base64/dist-cjs/toBase64.js +0 -19
  2511. package/node_modules/@smithy/util-base64/dist-es/fromBase64.browser.js +0 -36
  2512. package/node_modules/@smithy/util-base64/dist-es/fromBase64.js +0 -12
  2513. package/node_modules/@smithy/util-base64/dist-es/index.js +0 -2
  2514. package/node_modules/@smithy/util-base64/dist-es/toBase64.browser.js +0 -35
  2515. package/node_modules/@smithy/util-base64/dist-es/toBase64.js +0 -15
  2516. package/node_modules/@smithy/util-base64/dist-types/index.d.ts +0 -2
  2517. package/node_modules/@smithy/util-base64/dist-types/ts3.4/constants.browser.d.ts +0 -5
  2518. package/node_modules/@smithy/util-base64/dist-types/ts3.4/fromBase64.browser.d.ts +0 -8
  2519. package/node_modules/@smithy/util-base64/dist-types/ts3.4/fromBase64.d.ts +0 -7
  2520. package/node_modules/@smithy/util-base64/dist-types/ts3.4/index.d.ts +0 -2
  2521. package/node_modules/@smithy/util-base64/dist-types/ts3.4/toBase64.browser.d.ts +0 -9
  2522. package/node_modules/@smithy/util-base64/dist-types/ts3.4/toBase64.d.ts +0 -8
  2523. package/node_modules/@smithy/util-base64/package.json +0 -74
  2524. package/node_modules/@smithy/util-body-length-browser/LICENSE +0 -201
  2525. package/node_modules/@smithy/util-body-length-browser/README.md +0 -12
  2526. package/node_modules/@smithy/util-body-length-browser/dist-cjs/index.js +0 -30
  2527. package/node_modules/@smithy/util-body-length-browser/dist-es/index.js +0 -1
  2528. package/node_modules/@smithy/util-body-length-browser/dist-types/index.d.ts +0 -4
  2529. package/node_modules/@smithy/util-body-length-browser/dist-types/ts3.4/calculateBodyLength.d.ts +0 -4
  2530. package/node_modules/@smithy/util-body-length-browser/dist-types/ts3.4/index.d.ts +0 -4
  2531. package/node_modules/@smithy/util-body-length-browser/package.json +0 -61
  2532. package/node_modules/@smithy/util-body-length-node/LICENSE +0 -201
  2533. package/node_modules/@smithy/util-body-length-node/README.md +0 -12
  2534. package/node_modules/@smithy/util-body-length-node/dist-cjs/index.js +0 -32
  2535. package/node_modules/@smithy/util-body-length-node/dist-es/calculateBodyLength.js +0 -27
  2536. package/node_modules/@smithy/util-body-length-node/dist-es/index.js +0 -1
  2537. package/node_modules/@smithy/util-body-length-node/dist-types/index.d.ts +0 -4
  2538. package/node_modules/@smithy/util-body-length-node/dist-types/ts3.4/calculateBodyLength.d.ts +0 -4
  2539. package/node_modules/@smithy/util-body-length-node/dist-types/ts3.4/index.d.ts +0 -4
  2540. package/node_modules/@smithy/util-body-length-node/package.json +0 -62
  2541. package/node_modules/@smithy/util-config-provider/LICENSE +0 -201
  2542. package/node_modules/@smithy/util-config-provider/README.md +0 -4
  2543. package/node_modules/@smithy/util-config-provider/dist-cjs/index.js +0 -30
  2544. package/node_modules/@smithy/util-config-provider/dist-es/index.js +0 -3
  2545. package/node_modules/@smithy/util-config-provider/dist-types/index.d.ts +0 -3
  2546. package/node_modules/@smithy/util-config-provider/dist-types/ts3.4/booleanSelector.d.ts +0 -10
  2547. package/node_modules/@smithy/util-config-provider/dist-types/ts3.4/index.d.ts +0 -3
  2548. package/node_modules/@smithy/util-config-provider/dist-types/ts3.4/numberSelector.d.ts +0 -9
  2549. package/node_modules/@smithy/util-config-provider/dist-types/ts3.4/types.d.ts +0 -4
  2550. package/node_modules/@smithy/util-config-provider/package.json +0 -63
  2551. package/node_modules/@smithy/util-defaults-mode-browser/LICENSE +0 -201
  2552. package/node_modules/@smithy/util-defaults-mode-browser/README.md +0 -17
  2553. package/node_modules/@smithy/util-defaults-mode-browser/dist-cjs/constants.js +0 -4
  2554. package/node_modules/@smithy/util-defaults-mode-browser/dist-cjs/index.js +0 -16
  2555. package/node_modules/@smithy/util-defaults-mode-browser/dist-cjs/resolveDefaultsModeConfig.js +0 -34
  2556. package/node_modules/@smithy/util-defaults-mode-browser/dist-cjs/resolveDefaultsModeConfig.native.js +0 -23
  2557. package/node_modules/@smithy/util-defaults-mode-browser/dist-es/constants.js +0 -1
  2558. package/node_modules/@smithy/util-defaults-mode-browser/dist-es/index.js +0 -1
  2559. package/node_modules/@smithy/util-defaults-mode-browser/dist-es/resolveDefaultsModeConfig.js +0 -30
  2560. package/node_modules/@smithy/util-defaults-mode-browser/dist-es/resolveDefaultsModeConfig.native.js +0 -19
  2561. package/node_modules/@smithy/util-defaults-mode-browser/dist-types/constants.d.ts +0 -12
  2562. package/node_modules/@smithy/util-defaults-mode-browser/dist-types/index.d.ts +0 -4
  2563. package/node_modules/@smithy/util-defaults-mode-browser/dist-types/resolveDefaultsModeConfig.d.ts +0 -17
  2564. package/node_modules/@smithy/util-defaults-mode-browser/dist-types/resolveDefaultsModeConfig.native.d.ts +0 -16
  2565. package/node_modules/@smithy/util-defaults-mode-browser/package.json +0 -65
  2566. package/node_modules/@smithy/util-defaults-mode-node/LICENSE +0 -201
  2567. package/node_modules/@smithy/util-defaults-mode-node/README.md +0 -17
  2568. package/node_modules/@smithy/util-defaults-mode-node/dist-cjs/index.js +0 -74
  2569. package/node_modules/@smithy/util-defaults-mode-node/dist-es/index.js +0 -1
  2570. package/node_modules/@smithy/util-defaults-mode-node/dist-es/resolveDefaultsModeConfig.js +0 -52
  2571. package/node_modules/@smithy/util-defaults-mode-node/dist-types/defaultsModeConfig.d.ts +0 -6
  2572. package/node_modules/@smithy/util-defaults-mode-node/dist-types/index.d.ts +0 -4
  2573. package/node_modules/@smithy/util-defaults-mode-node/dist-types/resolveDefaultsModeConfig.d.ts +0 -17
  2574. package/node_modules/@smithy/util-defaults-mode-node/package.json +0 -66
  2575. package/node_modules/@smithy/util-endpoints/LICENSE +0 -201
  2576. package/node_modules/@smithy/util-endpoints/README.md +0 -17
  2577. package/node_modules/@smithy/util-endpoints/dist-cjs/index.js +0 -573
  2578. package/node_modules/@smithy/util-endpoints/dist-es/index.js +0 -8
  2579. package/node_modules/@smithy/util-endpoints/dist-es/utils/evaluateExpression.js +0 -46
  2580. package/node_modules/@smithy/util-endpoints/dist-types/cache/EndpointCache.d.ts +0 -34
  2581. package/node_modules/@smithy/util-endpoints/dist-types/decideEndpoint.d.ts +0 -7
  2582. package/node_modules/@smithy/util-endpoints/dist-types/getEndpointUrlConfig.d.ts +0 -2
  2583. package/node_modules/@smithy/util-endpoints/dist-types/index.d.ts +0 -8
  2584. package/node_modules/@smithy/util-endpoints/dist-types/lib/parseURL.d.ts +0 -5
  2585. package/node_modules/@smithy/util-endpoints/dist-types/resolveEndpoint.d.ts +0 -6
  2586. package/node_modules/@smithy/util-endpoints/dist-types/utils/evaluateCondition.d.ts +0 -11
  2587. package/node_modules/@smithy/util-endpoints/dist-types/utils/evaluateErrorRule.d.ts +0 -2
  2588. package/node_modules/@smithy/util-endpoints/dist-types/utils/evaluateExpression.d.ts +0 -7
  2589. package/node_modules/@smithy/util-endpoints/dist-types/utils/evaluateRules.d.ts +0 -8
  2590. package/node_modules/@smithy/util-endpoints/dist-types/utils/getEndpointHeaders.d.ts +0 -2
  2591. package/node_modules/@smithy/util-endpoints/dist-types/utils/getEndpointProperties.d.ts +0 -8
  2592. package/node_modules/@smithy/util-endpoints/dist-types/utils/getEndpointUrl.d.ts +0 -2
  2593. package/node_modules/@smithy/util-endpoints/package.json +0 -68
  2594. package/node_modules/@smithy/util-hex-encoding/LICENSE +0 -201
  2595. package/node_modules/@smithy/util-hex-encoding/README.md +0 -4
  2596. package/node_modules/@smithy/util-hex-encoding/dist-cjs/index.js +0 -38
  2597. package/node_modules/@smithy/util-hex-encoding/dist-types/ts3.4/index.d.ts +0 -12
  2598. package/node_modules/@smithy/util-hex-encoding/package.json +0 -61
  2599. package/node_modules/@smithy/util-middleware/LICENSE +0 -201
  2600. package/node_modules/@smithy/util-middleware/README.md +0 -17
  2601. package/node_modules/@smithy/util-middleware/dist-cjs/index.js +0 -15
  2602. package/node_modules/@smithy/util-middleware/dist-es/index.js +0 -2
  2603. package/node_modules/@smithy/util-middleware/dist-types/getSmithyContext.d.ts +0 -5
  2604. package/node_modules/@smithy/util-middleware/dist-types/index.d.ts +0 -8
  2605. package/node_modules/@smithy/util-middleware/package.json +0 -66
  2606. package/node_modules/@smithy/util-retry/LICENSE +0 -201
  2607. package/node_modules/@smithy/util-retry/README.md +0 -78
  2608. package/node_modules/@smithy/util-retry/dist-cjs/index.js +0 -347
  2609. package/node_modules/@smithy/util-retry/dist-es/AdaptiveRetryStrategy.js +0 -36
  2610. package/node_modules/@smithy/util-retry/dist-es/ConfiguredRetryStrategy.js +0 -19
  2611. package/node_modules/@smithy/util-retry/dist-es/DefaultRateLimiter.js +0 -111
  2612. package/node_modules/@smithy/util-retry/dist-es/StandardRetryStrategy.js +0 -93
  2613. package/node_modules/@smithy/util-retry/dist-es/index.js +0 -8
  2614. package/node_modules/@smithy/util-retry/dist-types/AdaptiveRetryStrategy.d.ts +0 -38
  2615. package/node_modules/@smithy/util-retry/dist-types/constants.d.ts +0 -60
  2616. package/node_modules/@smithy/util-retry/dist-types/index.d.ts +0 -8
  2617. package/node_modules/@smithy/util-retry/dist-types/retries-2026-config.d.ts +0 -11
  2618. package/node_modules/@smithy/util-retry/package.json +0 -70
  2619. package/node_modules/@smithy/util-stream/LICENSE +0 -201
  2620. package/node_modules/@smithy/util-stream/README.md +0 -6
  2621. package/node_modules/@smithy/util-stream/dist-cjs/ByteArrayCollector.js +0 -36
  2622. package/node_modules/@smithy/util-stream/dist-cjs/checksum/ChecksumStream.browser.js +0 -7
  2623. package/node_modules/@smithy/util-stream/dist-cjs/checksum/ChecksumStream.js +0 -64
  2624. package/node_modules/@smithy/util-stream/dist-cjs/checksum/createChecksumStream.browser.js +0 -39
  2625. package/node_modules/@smithy/util-stream/dist-cjs/checksum/createChecksumStream.js +0 -12
  2626. package/node_modules/@smithy/util-stream/dist-cjs/createBufferedReadable.js +0 -60
  2627. package/node_modules/@smithy/util-stream/dist-cjs/createBufferedReadableStream.js +0 -103
  2628. package/node_modules/@smithy/util-stream/dist-cjs/getAwsChunkedEncodingStream.browser.js +0 -31
  2629. package/node_modules/@smithy/util-stream/dist-cjs/getAwsChunkedEncodingStream.js +0 -41
  2630. package/node_modules/@smithy/util-stream/dist-cjs/headStream.browser.js +0 -34
  2631. package/node_modules/@smithy/util-stream/dist-cjs/headStream.js +0 -42
  2632. package/node_modules/@smithy/util-stream/dist-cjs/index.js +0 -108
  2633. package/node_modules/@smithy/util-stream/dist-cjs/sdk-stream-mixin.browser.js +0 -68
  2634. package/node_modules/@smithy/util-stream/dist-cjs/sdk-stream-mixin.js +0 -54
  2635. package/node_modules/@smithy/util-stream/dist-cjs/splitStream.browser.js +0 -10
  2636. package/node_modules/@smithy/util-stream/dist-cjs/splitStream.js +0 -16
  2637. package/node_modules/@smithy/util-stream/dist-cjs/stream-type-check.js +0 -10
  2638. package/node_modules/@smithy/util-stream/dist-es/blob/Uint8ArrayBlobAdapter.js +0 -23
  2639. package/node_modules/@smithy/util-stream/dist-es/checksum/ChecksumStream.js +0 -60
  2640. package/node_modules/@smithy/util-stream/dist-es/checksum/createChecksumStream.browser.js +0 -35
  2641. package/node_modules/@smithy/util-stream/dist-es/checksum/createChecksumStream.js +0 -9
  2642. package/node_modules/@smithy/util-stream/dist-es/createBufferedReadable.js +0 -57
  2643. package/node_modules/@smithy/util-stream/dist-es/headStream.js +0 -38
  2644. package/node_modules/@smithy/util-stream/dist-es/index.js +0 -9
  2645. package/node_modules/@smithy/util-stream/dist-es/sdk-stream-mixin.browser.js +0 -64
  2646. package/node_modules/@smithy/util-stream/dist-es/sdk-stream-mixin.js +0 -50
  2647. package/node_modules/@smithy/util-stream/dist-es/splitStream.js +0 -13
  2648. package/node_modules/@smithy/util-stream/dist-types/blob/Uint8ArrayBlobAdapter.d.ts +0 -22
  2649. package/node_modules/@smithy/util-stream/dist-types/checksum/ChecksumStream.d.ts +0 -61
  2650. package/node_modules/@smithy/util-stream/dist-types/checksum/createChecksumStream.browser.d.ts +0 -14
  2651. package/node_modules/@smithy/util-stream/dist-types/checksum/createChecksumStream.d.ts +0 -13
  2652. package/node_modules/@smithy/util-stream/dist-types/createBufferedReadable.d.ts +0 -15
  2653. package/node_modules/@smithy/util-stream/dist-types/createBufferedReadableStream.d.ts +0 -50
  2654. package/node_modules/@smithy/util-stream/dist-types/getAwsChunkedEncodingStream.d.ts +0 -10
  2655. package/node_modules/@smithy/util-stream/dist-types/headStream.d.ts +0 -9
  2656. package/node_modules/@smithy/util-stream/dist-types/index.d.ts +0 -12
  2657. package/node_modules/@smithy/util-stream/dist-types/sdk-stream-mixin.d.ts +0 -8
  2658. package/node_modules/@smithy/util-stream/dist-types/splitStream.d.ts +0 -11
  2659. package/node_modules/@smithy/util-stream/package.json +0 -98
  2660. package/node_modules/@smithy/util-uri-escape/LICENSE +0 -201
  2661. package/node_modules/@smithy/util-uri-escape/README.md +0 -10
  2662. package/node_modules/@smithy/util-uri-escape/dist-cjs/index.js +0 -9
  2663. package/node_modules/@smithy/util-uri-escape/dist-es/index.js +0 -2
  2664. package/node_modules/@smithy/util-uri-escape/dist-types/index.d.ts +0 -8
  2665. package/node_modules/@smithy/util-uri-escape/dist-types/ts3.4/escape-uri-path.d.ts +0 -4
  2666. package/node_modules/@smithy/util-uri-escape/dist-types/ts3.4/escape-uri.d.ts +0 -4
  2667. package/node_modules/@smithy/util-uri-escape/dist-types/ts3.4/index.d.ts +0 -8
  2668. package/node_modules/@smithy/util-uri-escape/package.json +0 -60
  2669. package/node_modules/@smithy/uuid/LICENSE +0 -201
  2670. package/node_modules/@smithy/uuid/README.md +0 -10
  2671. package/node_modules/@smithy/uuid/dist-cjs/index.js +0 -36
  2672. package/node_modules/@smithy/uuid/dist-cjs/randomUUID.js +0 -6
  2673. package/node_modules/@smithy/uuid/dist-cjs/randomUUID.native.js +0 -4
  2674. package/node_modules/@smithy/uuid/dist-es/index.js +0 -1
  2675. package/node_modules/@smithy/uuid/dist-es/randomUUID.browser.js +0 -1
  2676. package/node_modules/@smithy/uuid/dist-es/randomUUID.js +0 -2
  2677. package/node_modules/@smithy/uuid/dist-es/randomUUID.native.js +0 -1
  2678. package/node_modules/@smithy/uuid/dist-es/v4.js +0 -31
  2679. package/node_modules/@smithy/uuid/dist-types/index.d.ts +0 -1
  2680. package/node_modules/@smithy/uuid/dist-types/randomUUID.browser.d.ts +0 -1
  2681. package/node_modules/@smithy/uuid/dist-types/randomUUID.d.ts +0 -2
  2682. package/node_modules/@smithy/uuid/dist-types/randomUUID.native.d.ts +0 -1
  2683. package/node_modules/@smithy/uuid/dist-types/ts3.4/index.d.ts +0 -1
  2684. package/node_modules/@smithy/uuid/dist-types/ts3.4/randomUUID.browser.d.ts +0 -1
  2685. package/node_modules/@smithy/uuid/dist-types/ts3.4/randomUUID.d.ts +0 -2
  2686. package/node_modules/@smithy/uuid/dist-types/ts3.4/randomUUID.native.d.ts +0 -1
  2687. package/node_modules/@smithy/uuid/dist-types/ts3.4/v4.d.ts +0 -19
  2688. package/node_modules/@smithy/uuid/dist-types/v4.d.ts +0 -19
  2689. package/node_modules/@smithy/uuid/package.json +0 -66
  2690. package/node_modules/koffi/CHANGELOG.md +0 -1093
  2691. package/node_modules/koffi/LICENSE.txt +0 -22
  2692. package/node_modules/koffi/README.md +0 -43
  2693. package/node_modules/koffi/build/koffi/darwin_arm64/koffi.node +0 -0
  2694. package/node_modules/koffi/build/koffi/darwin_x64/koffi.node +0 -0
  2695. package/node_modules/koffi/build/koffi/freebsd_arm64/koffi.node +0 -0
  2696. package/node_modules/koffi/build/koffi/freebsd_ia32/koffi.node +0 -0
  2697. package/node_modules/koffi/build/koffi/freebsd_x64/koffi.node +0 -0
  2698. package/node_modules/koffi/build/koffi/linux_arm64/koffi.node +0 -0
  2699. package/node_modules/koffi/build/koffi/linux_armhf/koffi.node +0 -0
  2700. package/node_modules/koffi/build/koffi/linux_ia32/koffi.node +0 -0
  2701. package/node_modules/koffi/build/koffi/linux_loong64/koffi.node +0 -0
  2702. package/node_modules/koffi/build/koffi/linux_riscv64d/koffi.node +0 -0
  2703. package/node_modules/koffi/build/koffi/linux_x64/koffi.node +0 -0
  2704. package/node_modules/koffi/build/koffi/musl_arm64/koffi.node +0 -0
  2705. package/node_modules/koffi/build/koffi/musl_x64/koffi.node +0 -0
  2706. package/node_modules/koffi/build/koffi/openbsd_ia32/koffi.node +0 -0
  2707. package/node_modules/koffi/build/koffi/openbsd_x64/koffi.node +0 -0
  2708. package/node_modules/koffi/build/koffi/win32_arm64/koffi.exp +0 -0
  2709. package/node_modules/koffi/build/koffi/win32_arm64/koffi.lib +0 -0
  2710. package/node_modules/koffi/build/koffi/win32_arm64/koffi.node +0 -0
  2711. package/node_modules/koffi/build/koffi/win32_ia32/koffi.exp +0 -0
  2712. package/node_modules/koffi/build/koffi/win32_ia32/koffi.lib +0 -0
  2713. package/node_modules/koffi/build/koffi/win32_ia32/koffi.node +0 -0
  2714. package/node_modules/koffi/build/koffi/win32_x64/koffi.exp +0 -0
  2715. package/node_modules/koffi/build/koffi/win32_x64/koffi.lib +0 -0
  2716. package/node_modules/koffi/build/koffi/win32_x64/koffi.node +0 -0
  2717. package/node_modules/koffi/doc/benchmarks.md +0 -126
  2718. package/node_modules/koffi/doc/callbacks.md +0 -210
  2719. package/node_modules/koffi/doc/contribute.md +0 -148
  2720. package/node_modules/koffi/doc/functions.md +0 -250
  2721. package/node_modules/koffi/doc/index.md +0 -61
  2722. package/node_modules/koffi/doc/input.md +0 -471
  2723. package/node_modules/koffi/doc/migration.md +0 -159
  2724. package/node_modules/koffi/doc/misc.md +0 -180
  2725. package/node_modules/koffi/doc/output.md +0 -305
  2726. package/node_modules/koffi/doc/packaging.md +0 -88
  2727. package/node_modules/koffi/doc/platforms.md +0 -36
  2728. package/node_modules/koffi/doc/pointers.md +0 -328
  2729. package/node_modules/koffi/doc/start.md +0 -118
  2730. package/node_modules/koffi/doc/unions.md +0 -186
  2731. package/node_modules/koffi/doc/variables.md +0 -102
  2732. package/node_modules/koffi/index.d.ts +0 -288
  2733. package/node_modules/koffi/index.js +0 -634
  2734. package/node_modules/koffi/indirect.js +0 -533
  2735. package/node_modules/koffi/lib/native/base/base.cc +0 -11015
  2736. package/node_modules/koffi/lib/native/base/base.hh +0 -6003
  2737. package/node_modules/koffi/lib/native/base/crc.inc +0 -2214
  2738. package/node_modules/koffi/lib/native/base/crc_gen.py +0 -72
  2739. package/node_modules/koffi/lib/native/base/mimetypes.inc +0 -1248
  2740. package/node_modules/koffi/lib/native/base/mimetypes_gen.py +0 -58
  2741. package/node_modules/koffi/lib/native/base/tower.cc +0 -821
  2742. package/node_modules/koffi/lib/native/base/tower.hh +0 -81
  2743. package/node_modules/koffi/lib/native/base/unicode.inc +0 -408
  2744. package/node_modules/koffi/lib/native/base/unicode_gen.py +0 -152
  2745. package/node_modules/koffi/package.json +0 -38
  2746. package/node_modules/koffi/src/cnoke/LICENSE.txt +0 -22
  2747. package/node_modules/koffi/src/cnoke/README.md +0 -99
  2748. package/node_modules/koffi/src/cnoke/assets/FindCNoke.cmake +0 -127
  2749. package/node_modules/koffi/src/cnoke/assets/toolchains.json +0 -126
  2750. package/node_modules/koffi/src/cnoke/assets/win_delay_hook.c +0 -36
  2751. package/node_modules/koffi/src/cnoke/cnoke.js +0 -170
  2752. package/node_modules/koffi/src/cnoke/package.json +0 -24
  2753. package/node_modules/koffi/src/cnoke/src/builder.js +0 -511
  2754. package/node_modules/koffi/src/cnoke/src/index.js +0 -10
  2755. package/node_modules/koffi/src/cnoke/src/tools.js +0 -407
  2756. package/node_modules/koffi/src/koffi/CMakeLists.txt +0 -182
  2757. package/node_modules/koffi/src/koffi/src/abi_arm32.cc +0 -1018
  2758. package/node_modules/koffi/src/koffi/src/abi_arm32_asm.S +0 -169
  2759. package/node_modules/koffi/src/koffi/src/abi_arm64.cc +0 -1295
  2760. package/node_modules/koffi/src/koffi/src/abi_arm64_asm.S +0 -195
  2761. package/node_modules/koffi/src/koffi/src/abi_arm64_asm.asm +0 -174
  2762. package/node_modules/koffi/src/koffi/src/abi_loong64.cc +0 -5
  2763. package/node_modules/koffi/src/koffi/src/abi_loong64_asm.S +0 -204
  2764. package/node_modules/koffi/src/koffi/src/abi_riscv64.cc +0 -915
  2765. package/node_modules/koffi/src/koffi/src/abi_riscv64_asm.S +0 -203
  2766. package/node_modules/koffi/src/koffi/src/abi_x64_sysv.cc +0 -939
  2767. package/node_modules/koffi/src/koffi/src/abi_x64_sysv_asm.S +0 -231
  2768. package/node_modules/koffi/src/koffi/src/abi_x64_win.cc +0 -715
  2769. package/node_modules/koffi/src/koffi/src/abi_x64_win_asm.S +0 -166
  2770. package/node_modules/koffi/src/koffi/src/abi_x64_win_asm.asm +0 -192
  2771. package/node_modules/koffi/src/koffi/src/abi_x86.cc +0 -860
  2772. package/node_modules/koffi/src/koffi/src/abi_x86_asm.S +0 -193
  2773. package/node_modules/koffi/src/koffi/src/abi_x86_asm.asm +0 -177
  2774. package/node_modules/koffi/src/koffi/src/call.cc +0 -1326
  2775. package/node_modules/koffi/src/koffi/src/call.hh +0 -179
  2776. package/node_modules/koffi/src/koffi/src/errno.inc +0 -462
  2777. package/node_modules/koffi/src/koffi/src/ffi.cc +0 -2702
  2778. package/node_modules/koffi/src/koffi/src/ffi.hh +0 -354
  2779. package/node_modules/koffi/src/koffi/src/init.js +0 -105
  2780. package/node_modules/koffi/src/koffi/src/parser.cc +0 -220
  2781. package/node_modules/koffi/src/koffi/src/parser.hh +0 -54
  2782. package/node_modules/koffi/src/koffi/src/util.cc +0 -1807
  2783. package/node_modules/koffi/src/koffi/src/util.hh +0 -221
  2784. package/node_modules/koffi/src/koffi/src/uv.cc +0 -193
  2785. package/node_modules/koffi/src/koffi/src/uv.def +0 -10
  2786. package/node_modules/koffi/src/koffi/src/uv.hh +0 -40
  2787. package/node_modules/koffi/src/koffi/src/win32.cc +0 -198
  2788. package/node_modules/koffi/src/koffi/src/win32.hh +0 -119
  2789. package/node_modules/koffi/src/koffi/tools/write_trampolines.js +0 -77
  2790. package/node_modules/koffi/vendor/node-addon-api/LICENSE.md +0 -9
  2791. package/node_modules/koffi/vendor/node-addon-api/README.md +0 -95
  2792. package/node_modules/koffi/vendor/node-addon-api/napi-inl.deprecated.h +0 -186
  2793. package/node_modules/koffi/vendor/node-addon-api/napi-inl.h +0 -7033
  2794. package/node_modules/koffi/vendor/node-addon-api/napi.h +0 -3309
  2795. package/node_modules/koffi/vendor/node-api-headers/LICENSE +0 -21
  2796. package/node_modules/koffi/vendor/node-api-headers/README.md +0 -95
  2797. package/node_modules/koffi/vendor/node-api-headers/def/js_native_api.def +0 -125
  2798. package/node_modules/koffi/vendor/node-api-headers/def/node_api.def +0 -157
  2799. package/node_modules/koffi/vendor/node-api-headers/include/js_native_api.h +0 -591
  2800. package/node_modules/koffi/vendor/node-api-headers/include/js_native_api_types.h +0 -210
  2801. package/node_modules/koffi/vendor/node-api-headers/include/node_api.h +0 -265
  2802. package/node_modules/koffi/vendor/node-api-headers/include/node_api_types.h +0 -58
  2803. package/node_modules/koffi/vendor/node-api-headers/include/uv/aix.h +0 -32
  2804. package/node_modules/koffi/vendor/node-api-headers/include/uv/bsd.h +0 -34
  2805. package/node_modules/koffi/vendor/node-api-headers/include/uv/darwin.h +0 -61
  2806. package/node_modules/koffi/vendor/node-api-headers/include/uv/errno.h +0 -483
  2807. package/node_modules/koffi/vendor/node-api-headers/include/uv/linux.h +0 -34
  2808. package/node_modules/koffi/vendor/node-api-headers/include/uv/os390.h +0 -33
  2809. package/node_modules/koffi/vendor/node-api-headers/include/uv/posix.h +0 -31
  2810. package/node_modules/koffi/vendor/node-api-headers/include/uv/sunos.h +0 -44
  2811. package/node_modules/koffi/vendor/node-api-headers/include/uv/threadpool.h +0 -37
  2812. package/node_modules/koffi/vendor/node-api-headers/include/uv/tree.h +0 -521
  2813. package/node_modules/koffi/vendor/node-api-headers/include/uv/unix.h +0 -512
  2814. package/node_modules/koffi/vendor/node-api-headers/include/uv/version.h +0 -43
  2815. package/node_modules/koffi/vendor/node-api-headers/include/uv/win.h +0 -698
  2816. package/node_modules/koffi/vendor/node-api-headers/include/uv.h +0 -1990
  2817. package/node_modules/socks/.claude/settings.local.json +0 -26
  2818. /package/{node_modules/@earendil-works/pi-agent-core/dist → dist/extensions/forgecli/wf-engine}/types.js +0 -0
  2819. /package/dist/forge-payload/{.tools → tools}/banners.cjs +0 -0
  2820. /package/dist/forge-payload/{.tools → tools}/build-context-pack.cjs +0 -0
  2821. /package/dist/forge-payload/{.tools → tools}/build-init-context.cjs +0 -0
  2822. /package/dist/forge-payload/{.tools → tools}/build-overlay.cjs +0 -0
  2823. /package/dist/forge-payload/{.tools → tools}/build-persona-pack.cjs +0 -0
  2824. /package/dist/forge-payload/{.tools → tools}/generation-manifest.cjs +0 -0
  2825. /package/dist/forge-payload/{.tools → tools}/lib/forge-root.cjs +0 -0
  2826. /package/dist/forge-payload/{.tools → tools}/lib/paths.cjs +0 -0
  2827. /package/dist/forge-payload/{.tools → tools}/lib/pricing.cjs +0 -0
  2828. /package/dist/forge-payload/{.tools → tools}/lib/project-root.cjs +0 -0
  2829. /package/dist/forge-payload/{.tools → tools}/lib/result.js +0 -0
  2830. /package/dist/forge-payload/{.tools → tools}/manage-config.cjs +0 -0
  2831. /package/dist/forge-payload/{.tools → tools}/manage-versions.cjs +0 -0
  2832. /package/dist/forge-payload/{.tools → tools}/seed-store.cjs +0 -0
  2833. /package/dist/forge-payload/{.tools → tools}/store.cjs +0 -0
  2834. /package/dist/forge-payload/{.tools → tools}/substitute-placeholders.cjs +0 -0
  2835. /package/node_modules/@aws-sdk/{util-arn-parser/dist-es/index.js → core/dist-es/submodules/util/util-arn-parser/arn.js} +0 -0
  2836. /package/node_modules/@aws-sdk/{util-arn-parser/dist-types/index.d.ts → core/dist-types/submodules/util/util-arn-parser/arn.d.ts} +0 -0
  2837. /package/node_modules/@aws-sdk/{util-format-url/dist-types/index.d.ts → core/dist-types/submodules/util/util-format-url/format-url.d.ts} +0 -0
  2838. /package/node_modules/@aws-sdk/{util-arn-parser/dist-types/ts3.4/index.d.ts → core/dist-types/ts3.4/submodules/util/util-arn-parser/arn.d.ts} +0 -0
  2839. /package/node_modules/@aws-sdk/{util-format-url/dist-types/ts3.4/index.d.ts → core/dist-types/ts3.4/submodules/util/util-format-url/format-url.d.ts} +0 -0
  2840. /package/node_modules/{@earendil-works → @entelligentsia}/pi-agent-core/dist/index.d.ts +0 -0
  2841. /package/node_modules/{@earendil-works → @entelligentsia}/pi-agent-core/dist/index.d.ts.map +0 -0
  2842. /package/node_modules/{@earendil-works → @entelligentsia}/pi-agent-core/dist/index.js +0 -0
  2843. /package/node_modules/{@earendil-works → @entelligentsia}/pi-agent-core/dist/index.js.map +0 -0
  2844. /package/node_modules/{@earendil-works/pi-ai → @entelligentsia/pi-agent-core}/dist/types.js +0 -0
  2845. /package/node_modules/{@earendil-works → @entelligentsia}/pi-ai/dist/api-registry.d.ts +0 -0
  2846. /package/node_modules/{@earendil-works → @entelligentsia}/pi-ai/dist/api-registry.d.ts.map +0 -0
  2847. /package/node_modules/{@earendil-works → @entelligentsia}/pi-ai/dist/api-registry.js +0 -0
  2848. /package/node_modules/{@earendil-works → @entelligentsia}/pi-ai/dist/api-registry.js.map +0 -0
  2849. /package/node_modules/{@earendil-works → @entelligentsia}/pi-ai/dist/bedrock-provider.d.ts +0 -0
  2850. /package/node_modules/{@earendil-works → @entelligentsia}/pi-ai/dist/bedrock-provider.d.ts.map +0 -0
  2851. /package/node_modules/{@earendil-works → @entelligentsia}/pi-ai/dist/bedrock-provider.js +0 -0
  2852. /package/node_modules/{@earendil-works → @entelligentsia}/pi-ai/dist/bedrock-provider.js.map +0 -0
  2853. /package/node_modules/{@earendil-works → @entelligentsia}/pi-ai/dist/cli.d.ts +0 -0
  2854. /package/node_modules/{@earendil-works → @entelligentsia}/pi-ai/dist/env-api-keys.d.ts +0 -0
  2855. /package/node_modules/{@earendil-works → @entelligentsia}/pi-ai/dist/env-api-keys.d.ts.map +0 -0
  2856. /package/node_modules/{@earendil-works → @entelligentsia}/pi-ai/dist/env-api-keys.js +0 -0
  2857. /package/node_modules/{@earendil-works → @entelligentsia}/pi-ai/dist/env-api-keys.js.map +0 -0
  2858. /package/node_modules/{@earendil-works → @entelligentsia}/pi-ai/dist/index.d.ts +0 -0
  2859. /package/node_modules/{@earendil-works → @entelligentsia}/pi-ai/dist/index.d.ts.map +0 -0
  2860. /package/node_modules/{@earendil-works → @entelligentsia}/pi-ai/dist/index.js +0 -0
  2861. /package/node_modules/{@earendil-works → @entelligentsia}/pi-ai/dist/index.js.map +0 -0
  2862. /package/node_modules/{@earendil-works → @entelligentsia}/pi-ai/dist/models.d.ts +0 -0
  2863. /package/node_modules/{@earendil-works → @entelligentsia}/pi-ai/dist/models.d.ts.map +0 -0
  2864. /package/node_modules/{@earendil-works → @entelligentsia}/pi-ai/dist/models.js +0 -0
  2865. /package/node_modules/{@earendil-works → @entelligentsia}/pi-ai/dist/models.js.map +0 -0
  2866. /package/node_modules/{@earendil-works → @entelligentsia}/pi-ai/dist/oauth.d.ts +0 -0
  2867. /package/node_modules/{@earendil-works → @entelligentsia}/pi-ai/dist/oauth.d.ts.map +0 -0
  2868. /package/node_modules/{@earendil-works → @entelligentsia}/pi-ai/dist/oauth.js +0 -0
  2869. /package/node_modules/{@earendil-works → @entelligentsia}/pi-ai/dist/oauth.js.map +0 -0
  2870. /package/node_modules/{@earendil-works → @entelligentsia}/pi-ai/dist/providers/amazon-bedrock.d.ts +0 -0
  2871. /package/node_modules/{@earendil-works → @entelligentsia}/pi-ai/dist/providers/amazon-bedrock.d.ts.map +0 -0
  2872. /package/node_modules/{@earendil-works → @entelligentsia}/pi-ai/dist/providers/amazon-bedrock.js +0 -0
  2873. /package/node_modules/{@earendil-works → @entelligentsia}/pi-ai/dist/providers/amazon-bedrock.js.map +0 -0
  2874. /package/node_modules/{@earendil-works → @entelligentsia}/pi-ai/dist/providers/anthropic.d.ts +0 -0
  2875. /package/node_modules/{@earendil-works → @entelligentsia}/pi-ai/dist/providers/anthropic.d.ts.map +0 -0
  2876. /package/node_modules/{@earendil-works → @entelligentsia}/pi-ai/dist/providers/anthropic.js +0 -0
  2877. /package/node_modules/{@earendil-works → @entelligentsia}/pi-ai/dist/providers/anthropic.js.map +0 -0
  2878. /package/node_modules/{@earendil-works → @entelligentsia}/pi-ai/dist/providers/azure-openai-responses.d.ts +0 -0
  2879. /package/node_modules/{@earendil-works → @entelligentsia}/pi-ai/dist/providers/azure-openai-responses.d.ts.map +0 -0
  2880. /package/node_modules/{@earendil-works → @entelligentsia}/pi-ai/dist/providers/azure-openai-responses.js +0 -0
  2881. /package/node_modules/{@earendil-works → @entelligentsia}/pi-ai/dist/providers/azure-openai-responses.js.map +0 -0
  2882. /package/node_modules/{@earendil-works → @entelligentsia}/pi-ai/dist/providers/cloudflare.d.ts +0 -0
  2883. /package/node_modules/{@earendil-works → @entelligentsia}/pi-ai/dist/providers/cloudflare.d.ts.map +0 -0
  2884. /package/node_modules/{@earendil-works → @entelligentsia}/pi-ai/dist/providers/cloudflare.js +0 -0
  2885. /package/node_modules/{@earendil-works → @entelligentsia}/pi-ai/dist/providers/cloudflare.js.map +0 -0
  2886. /package/node_modules/{@earendil-works → @entelligentsia}/pi-ai/dist/providers/faux.d.ts +0 -0
  2887. /package/node_modules/{@earendil-works → @entelligentsia}/pi-ai/dist/providers/faux.d.ts.map +0 -0
  2888. /package/node_modules/{@earendil-works → @entelligentsia}/pi-ai/dist/providers/faux.js +0 -0
  2889. /package/node_modules/{@earendil-works → @entelligentsia}/pi-ai/dist/providers/faux.js.map +0 -0
  2890. /package/node_modules/{@earendil-works → @entelligentsia}/pi-ai/dist/providers/github-copilot-headers.d.ts +0 -0
  2891. /package/node_modules/{@earendil-works → @entelligentsia}/pi-ai/dist/providers/github-copilot-headers.d.ts.map +0 -0
  2892. /package/node_modules/{@earendil-works → @entelligentsia}/pi-ai/dist/providers/github-copilot-headers.js +0 -0
  2893. /package/node_modules/{@earendil-works → @entelligentsia}/pi-ai/dist/providers/github-copilot-headers.js.map +0 -0
  2894. /package/node_modules/{@earendil-works → @entelligentsia}/pi-ai/dist/providers/google-shared.d.ts +0 -0
  2895. /package/node_modules/{@earendil-works → @entelligentsia}/pi-ai/dist/providers/google-shared.d.ts.map +0 -0
  2896. /package/node_modules/{@earendil-works → @entelligentsia}/pi-ai/dist/providers/google-shared.js +0 -0
  2897. /package/node_modules/{@earendil-works → @entelligentsia}/pi-ai/dist/providers/google-shared.js.map +0 -0
  2898. /package/node_modules/{@earendil-works → @entelligentsia}/pi-ai/dist/providers/google-vertex.d.ts +0 -0
  2899. /package/node_modules/{@earendil-works → @entelligentsia}/pi-ai/dist/providers/google-vertex.d.ts.map +0 -0
  2900. /package/node_modules/{@earendil-works → @entelligentsia}/pi-ai/dist/providers/google-vertex.js +0 -0
  2901. /package/node_modules/{@earendil-works → @entelligentsia}/pi-ai/dist/providers/google-vertex.js.map +0 -0
  2902. /package/node_modules/{@earendil-works → @entelligentsia}/pi-ai/dist/providers/google.d.ts +0 -0
  2903. /package/node_modules/{@earendil-works → @entelligentsia}/pi-ai/dist/providers/google.d.ts.map +0 -0
  2904. /package/node_modules/{@earendil-works → @entelligentsia}/pi-ai/dist/providers/google.js +0 -0
  2905. /package/node_modules/{@earendil-works → @entelligentsia}/pi-ai/dist/providers/google.js.map +0 -0
  2906. /package/node_modules/{@earendil-works → @entelligentsia}/pi-ai/dist/providers/mistral.d.ts +0 -0
  2907. /package/node_modules/{@earendil-works → @entelligentsia}/pi-ai/dist/providers/mistral.d.ts.map +0 -0
  2908. /package/node_modules/{@earendil-works → @entelligentsia}/pi-ai/dist/providers/mistral.js +0 -0
  2909. /package/node_modules/{@earendil-works → @entelligentsia}/pi-ai/dist/providers/mistral.js.map +0 -0
  2910. /package/node_modules/{@earendil-works → @entelligentsia}/pi-ai/dist/providers/openai-codex-responses.d.ts +0 -0
  2911. /package/node_modules/{@earendil-works → @entelligentsia}/pi-ai/dist/providers/openai-codex-responses.d.ts.map +0 -0
  2912. /package/node_modules/{@earendil-works → @entelligentsia}/pi-ai/dist/providers/openai-codex-responses.js +0 -0
  2913. /package/node_modules/{@earendil-works → @entelligentsia}/pi-ai/dist/providers/openai-codex-responses.js.map +0 -0
  2914. /package/node_modules/{@earendil-works → @entelligentsia}/pi-ai/dist/providers/openai-completions.d.ts +0 -0
  2915. /package/node_modules/{@earendil-works → @entelligentsia}/pi-ai/dist/providers/openai-completions.d.ts.map +0 -0
  2916. /package/node_modules/{@earendil-works → @entelligentsia}/pi-ai/dist/providers/openai-completions.js +0 -0
  2917. /package/node_modules/{@earendil-works → @entelligentsia}/pi-ai/dist/providers/openai-completions.js.map +0 -0
  2918. /package/node_modules/{@earendil-works → @entelligentsia}/pi-ai/dist/providers/openai-responses-shared.d.ts +0 -0
  2919. /package/node_modules/{@earendil-works → @entelligentsia}/pi-ai/dist/providers/openai-responses-shared.d.ts.map +0 -0
  2920. /package/node_modules/{@earendil-works → @entelligentsia}/pi-ai/dist/providers/openai-responses-shared.js +0 -0
  2921. /package/node_modules/{@earendil-works → @entelligentsia}/pi-ai/dist/providers/openai-responses-shared.js.map +0 -0
  2922. /package/node_modules/{@earendil-works → @entelligentsia}/pi-ai/dist/providers/openai-responses.d.ts +0 -0
  2923. /package/node_modules/{@earendil-works → @entelligentsia}/pi-ai/dist/providers/openai-responses.d.ts.map +0 -0
  2924. /package/node_modules/{@earendil-works → @entelligentsia}/pi-ai/dist/providers/openai-responses.js +0 -0
  2925. /package/node_modules/{@earendil-works → @entelligentsia}/pi-ai/dist/providers/openai-responses.js.map +0 -0
  2926. /package/node_modules/{@earendil-works → @entelligentsia}/pi-ai/dist/providers/register-builtins.d.ts +0 -0
  2927. /package/node_modules/{@earendil-works → @entelligentsia}/pi-ai/dist/providers/register-builtins.d.ts.map +0 -0
  2928. /package/node_modules/{@earendil-works → @entelligentsia}/pi-ai/dist/providers/register-builtins.js +0 -0
  2929. /package/node_modules/{@earendil-works → @entelligentsia}/pi-ai/dist/providers/register-builtins.js.map +0 -0
  2930. /package/node_modules/{@earendil-works → @entelligentsia}/pi-ai/dist/providers/simple-options.d.ts +0 -0
  2931. /package/node_modules/{@earendil-works → @entelligentsia}/pi-ai/dist/providers/simple-options.d.ts.map +0 -0
  2932. /package/node_modules/{@earendil-works → @entelligentsia}/pi-ai/dist/providers/simple-options.js +0 -0
  2933. /package/node_modules/{@earendil-works → @entelligentsia}/pi-ai/dist/providers/simple-options.js.map +0 -0
  2934. /package/node_modules/{@earendil-works → @entelligentsia}/pi-ai/dist/providers/transform-messages.d.ts +0 -0
  2935. /package/node_modules/{@earendil-works → @entelligentsia}/pi-ai/dist/providers/transform-messages.d.ts.map +0 -0
  2936. /package/node_modules/{@earendil-works → @entelligentsia}/pi-ai/dist/providers/transform-messages.js +0 -0
  2937. /package/node_modules/{@earendil-works → @entelligentsia}/pi-ai/dist/providers/transform-messages.js.map +0 -0
  2938. /package/node_modules/{@earendil-works → @entelligentsia}/pi-ai/dist/session-resources.d.ts +0 -0
  2939. /package/node_modules/{@earendil-works → @entelligentsia}/pi-ai/dist/session-resources.d.ts.map +0 -0
  2940. /package/node_modules/{@earendil-works → @entelligentsia}/pi-ai/dist/session-resources.js +0 -0
  2941. /package/node_modules/{@earendil-works → @entelligentsia}/pi-ai/dist/session-resources.js.map +0 -0
  2942. /package/node_modules/{@earendil-works → @entelligentsia}/pi-ai/dist/stream.d.ts +0 -0
  2943. /package/node_modules/{@earendil-works → @entelligentsia}/pi-ai/dist/stream.d.ts.map +0 -0
  2944. /package/node_modules/{@earendil-works → @entelligentsia}/pi-ai/dist/stream.js +0 -0
  2945. /package/node_modules/{@earendil-works → @entelligentsia}/pi-ai/dist/stream.js.map +0 -0
  2946. /package/node_modules/{@earendil-works → @entelligentsia}/pi-ai/dist/types.d.ts +0 -0
  2947. /package/node_modules/{@earendil-works → @entelligentsia}/pi-ai/dist/types.d.ts.map +0 -0
  2948. /package/node_modules/{@earendil-works/pi-ai/dist/utils/oauth → @entelligentsia/pi-ai/dist}/types.js +0 -0
  2949. /package/node_modules/{@earendil-works → @entelligentsia}/pi-ai/dist/types.js.map +0 -0
  2950. /package/node_modules/{@earendil-works → @entelligentsia}/pi-ai/dist/utils/diagnostics.d.ts +0 -0
  2951. /package/node_modules/{@earendil-works → @entelligentsia}/pi-ai/dist/utils/diagnostics.d.ts.map +0 -0
  2952. /package/node_modules/{@earendil-works → @entelligentsia}/pi-ai/dist/utils/diagnostics.js +0 -0
  2953. /package/node_modules/{@earendil-works → @entelligentsia}/pi-ai/dist/utils/diagnostics.js.map +0 -0
  2954. /package/node_modules/{@earendil-works → @entelligentsia}/pi-ai/dist/utils/event-stream.d.ts +0 -0
  2955. /package/node_modules/{@earendil-works → @entelligentsia}/pi-ai/dist/utils/event-stream.d.ts.map +0 -0
  2956. /package/node_modules/{@earendil-works → @entelligentsia}/pi-ai/dist/utils/event-stream.js +0 -0
  2957. /package/node_modules/{@earendil-works → @entelligentsia}/pi-ai/dist/utils/event-stream.js.map +0 -0
  2958. /package/node_modules/{@earendil-works → @entelligentsia}/pi-ai/dist/utils/hash.d.ts +0 -0
  2959. /package/node_modules/{@earendil-works → @entelligentsia}/pi-ai/dist/utils/hash.d.ts.map +0 -0
  2960. /package/node_modules/{@earendil-works → @entelligentsia}/pi-ai/dist/utils/hash.js +0 -0
  2961. /package/node_modules/{@earendil-works → @entelligentsia}/pi-ai/dist/utils/hash.js.map +0 -0
  2962. /package/node_modules/{@earendil-works → @entelligentsia}/pi-ai/dist/utils/headers.d.ts +0 -0
  2963. /package/node_modules/{@earendil-works → @entelligentsia}/pi-ai/dist/utils/headers.d.ts.map +0 -0
  2964. /package/node_modules/{@earendil-works → @entelligentsia}/pi-ai/dist/utils/headers.js +0 -0
  2965. /package/node_modules/{@earendil-works → @entelligentsia}/pi-ai/dist/utils/headers.js.map +0 -0
  2966. /package/node_modules/{@earendil-works → @entelligentsia}/pi-ai/dist/utils/json-parse.d.ts +0 -0
  2967. /package/node_modules/{@earendil-works → @entelligentsia}/pi-ai/dist/utils/json-parse.d.ts.map +0 -0
  2968. /package/node_modules/{@earendil-works → @entelligentsia}/pi-ai/dist/utils/json-parse.js +0 -0
  2969. /package/node_modules/{@earendil-works → @entelligentsia}/pi-ai/dist/utils/json-parse.js.map +0 -0
  2970. /package/node_modules/{@earendil-works → @entelligentsia}/pi-ai/dist/utils/oauth/anthropic.d.ts +0 -0
  2971. /package/node_modules/{@earendil-works → @entelligentsia}/pi-ai/dist/utils/oauth/anthropic.d.ts.map +0 -0
  2972. /package/node_modules/{@earendil-works → @entelligentsia}/pi-ai/dist/utils/oauth/anthropic.js +0 -0
  2973. /package/node_modules/{@earendil-works → @entelligentsia}/pi-ai/dist/utils/oauth/anthropic.js.map +0 -0
  2974. /package/node_modules/{@earendil-works → @entelligentsia}/pi-ai/dist/utils/oauth/github-copilot.d.ts +0 -0
  2975. /package/node_modules/{@earendil-works → @entelligentsia}/pi-ai/dist/utils/oauth/github-copilot.d.ts.map +0 -0
  2976. /package/node_modules/{@earendil-works → @entelligentsia}/pi-ai/dist/utils/oauth/github-copilot.js +0 -0
  2977. /package/node_modules/{@earendil-works → @entelligentsia}/pi-ai/dist/utils/oauth/github-copilot.js.map +0 -0
  2978. /package/node_modules/{@earendil-works → @entelligentsia}/pi-ai/dist/utils/oauth/index.d.ts +0 -0
  2979. /package/node_modules/{@earendil-works → @entelligentsia}/pi-ai/dist/utils/oauth/index.d.ts.map +0 -0
  2980. /package/node_modules/{@earendil-works → @entelligentsia}/pi-ai/dist/utils/oauth/index.js +0 -0
  2981. /package/node_modules/{@earendil-works → @entelligentsia}/pi-ai/dist/utils/oauth/index.js.map +0 -0
  2982. /package/node_modules/{@earendil-works → @entelligentsia}/pi-ai/dist/utils/oauth/oauth-page.d.ts +0 -0
  2983. /package/node_modules/{@earendil-works → @entelligentsia}/pi-ai/dist/utils/oauth/oauth-page.d.ts.map +0 -0
  2984. /package/node_modules/{@earendil-works → @entelligentsia}/pi-ai/dist/utils/oauth/oauth-page.js +0 -0
  2985. /package/node_modules/{@earendil-works → @entelligentsia}/pi-ai/dist/utils/oauth/oauth-page.js.map +0 -0
  2986. /package/node_modules/{@earendil-works → @entelligentsia}/pi-ai/dist/utils/oauth/openai-codex.d.ts +0 -0
  2987. /package/node_modules/{@earendil-works → @entelligentsia}/pi-ai/dist/utils/oauth/openai-codex.d.ts.map +0 -0
  2988. /package/node_modules/{@earendil-works → @entelligentsia}/pi-ai/dist/utils/oauth/openai-codex.js +0 -0
  2989. /package/node_modules/{@earendil-works → @entelligentsia}/pi-ai/dist/utils/oauth/openai-codex.js.map +0 -0
  2990. /package/node_modules/{@earendil-works → @entelligentsia}/pi-ai/dist/utils/oauth/pkce.d.ts +0 -0
  2991. /package/node_modules/{@earendil-works → @entelligentsia}/pi-ai/dist/utils/oauth/pkce.d.ts.map +0 -0
  2992. /package/node_modules/{@earendil-works → @entelligentsia}/pi-ai/dist/utils/oauth/pkce.js +0 -0
  2993. /package/node_modules/{@earendil-works → @entelligentsia}/pi-ai/dist/utils/oauth/pkce.js.map +0 -0
  2994. /package/node_modules/{@earendil-works → @entelligentsia}/pi-ai/dist/utils/oauth/types.d.ts +0 -0
  2995. /package/node_modules/{@earendil-works → @entelligentsia}/pi-ai/dist/utils/oauth/types.d.ts.map +0 -0
  2996. /package/node_modules/{@earendil-works → @entelligentsia}/pi-ai/dist/utils/oauth/types.js.map +0 -0
  2997. /package/node_modules/{@earendil-works → @entelligentsia}/pi-ai/dist/utils/overflow.d.ts +0 -0
  2998. /package/node_modules/{@earendil-works → @entelligentsia}/pi-ai/dist/utils/overflow.d.ts.map +0 -0
  2999. /package/node_modules/{@earendil-works → @entelligentsia}/pi-ai/dist/utils/overflow.js +0 -0
  3000. /package/node_modules/{@earendil-works → @entelligentsia}/pi-ai/dist/utils/overflow.js.map +0 -0
  3001. /package/node_modules/{@earendil-works → @entelligentsia}/pi-ai/dist/utils/sanitize-unicode.d.ts +0 -0
  3002. /package/node_modules/{@earendil-works → @entelligentsia}/pi-ai/dist/utils/sanitize-unicode.d.ts.map +0 -0
  3003. /package/node_modules/{@earendil-works → @entelligentsia}/pi-ai/dist/utils/sanitize-unicode.js +0 -0
  3004. /package/node_modules/{@earendil-works → @entelligentsia}/pi-ai/dist/utils/sanitize-unicode.js.map +0 -0
  3005. /package/node_modules/{@earendil-works → @entelligentsia}/pi-ai/dist/utils/typebox-helpers.d.ts +0 -0
  3006. /package/node_modules/{@earendil-works → @entelligentsia}/pi-ai/dist/utils/typebox-helpers.d.ts.map +0 -0
  3007. /package/node_modules/{@earendil-works → @entelligentsia}/pi-ai/dist/utils/typebox-helpers.js +0 -0
  3008. /package/node_modules/{@earendil-works → @entelligentsia}/pi-ai/dist/utils/typebox-helpers.js.map +0 -0
  3009. /package/node_modules/{@earendil-works → @entelligentsia}/pi-ai/dist/utils/validation.d.ts +0 -0
  3010. /package/node_modules/{@earendil-works → @entelligentsia}/pi-ai/dist/utils/validation.d.ts.map +0 -0
  3011. /package/node_modules/{@earendil-works → @entelligentsia}/pi-ai/dist/utils/validation.js +0 -0
  3012. /package/node_modules/{@earendil-works → @entelligentsia}/pi-ai/dist/utils/validation.js.map +0 -0
  3013. /package/node_modules/{@earendil-works → @entelligentsia}/pi-coding-agent/dist/bun/cli.d.ts +0 -0
  3014. /package/node_modules/{@earendil-works → @entelligentsia}/pi-coding-agent/dist/bun/cli.d.ts.map +0 -0
  3015. /package/node_modules/{@earendil-works → @entelligentsia}/pi-coding-agent/dist/bun/cli.js +0 -0
  3016. /package/node_modules/{@earendil-works → @entelligentsia}/pi-coding-agent/dist/bun/cli.js.map +0 -0
  3017. /package/node_modules/{@earendil-works → @entelligentsia}/pi-coding-agent/dist/bun/register-bedrock.d.ts +0 -0
  3018. /package/node_modules/{@earendil-works → @entelligentsia}/pi-coding-agent/dist/bun/restore-sandbox-env.d.ts +0 -0
  3019. /package/node_modules/{@earendil-works → @entelligentsia}/pi-coding-agent/dist/bun/restore-sandbox-env.d.ts.map +0 -0
  3020. /package/node_modules/{@earendil-works → @entelligentsia}/pi-coding-agent/dist/bun/restore-sandbox-env.js +0 -0
  3021. /package/node_modules/{@earendil-works → @entelligentsia}/pi-coding-agent/dist/bun/restore-sandbox-env.js.map +0 -0
  3022. /package/node_modules/{@earendil-works → @entelligentsia}/pi-coding-agent/dist/cli/args.js +0 -0
  3023. /package/node_modules/{@earendil-works → @entelligentsia}/pi-coding-agent/dist/cli/config-selector.d.ts +0 -0
  3024. /package/node_modules/{@earendil-works → @entelligentsia}/pi-coding-agent/dist/cli/file-processor.js +0 -0
  3025. /package/node_modules/{@earendil-works → @entelligentsia}/pi-coding-agent/dist/cli/initial-message.js +0 -0
  3026. /package/node_modules/{@earendil-works → @entelligentsia}/pi-coding-agent/dist/cli/list-models.d.ts +0 -0
  3027. /package/node_modules/{@earendil-works → @entelligentsia}/pi-coding-agent/dist/cli/session-picker.d.ts +0 -0
  3028. /package/node_modules/{@earendil-works → @entelligentsia}/pi-coding-agent/dist/cli.d.ts +0 -0
  3029. /package/node_modules/{@earendil-works → @entelligentsia}/pi-coding-agent/dist/cli.d.ts.map +0 -0
  3030. /package/node_modules/{@earendil-works → @entelligentsia}/pi-coding-agent/dist/cli.js +0 -0
  3031. /package/node_modules/{@earendil-works → @entelligentsia}/pi-coding-agent/dist/cli.js.map +0 -0
  3032. /package/node_modules/{@earendil-works → @entelligentsia}/pi-coding-agent/dist/config.d.ts +0 -0
  3033. /package/node_modules/{@earendil-works → @entelligentsia}/pi-coding-agent/dist/core/agent-session-runtime.d.ts +0 -0
  3034. /package/node_modules/{@earendil-works → @entelligentsia}/pi-coding-agent/dist/core/agent-session-runtime.d.ts.map +0 -0
  3035. /package/node_modules/{@earendil-works → @entelligentsia}/pi-coding-agent/dist/core/agent-session-runtime.js +0 -0
  3036. /package/node_modules/{@earendil-works → @entelligentsia}/pi-coding-agent/dist/core/agent-session-runtime.js.map +0 -0
  3037. /package/node_modules/{@earendil-works → @entelligentsia}/pi-coding-agent/dist/core/agent-session-services.js +0 -0
  3038. /package/node_modules/{@earendil-works → @entelligentsia}/pi-coding-agent/dist/core/auth-guidance.d.ts +0 -0
  3039. /package/node_modules/{@earendil-works → @entelligentsia}/pi-coding-agent/dist/core/auth-guidance.d.ts.map +0 -0
  3040. /package/node_modules/{@earendil-works → @entelligentsia}/pi-coding-agent/dist/core/auth-guidance.js +0 -0
  3041. /package/node_modules/{@earendil-works → @entelligentsia}/pi-coding-agent/dist/core/auth-guidance.js.map +0 -0
  3042. /package/node_modules/{@earendil-works → @entelligentsia}/pi-coding-agent/dist/core/bash-executor.d.ts +0 -0
  3043. /package/node_modules/{@earendil-works → @entelligentsia}/pi-coding-agent/dist/core/bash-executor.d.ts.map +0 -0
  3044. /package/node_modules/{@earendil-works → @entelligentsia}/pi-coding-agent/dist/core/bash-executor.js +0 -0
  3045. /package/node_modules/{@earendil-works → @entelligentsia}/pi-coding-agent/dist/core/bash-executor.js.map +0 -0
  3046. /package/node_modules/{@earendil-works → @entelligentsia}/pi-coding-agent/dist/core/compaction/index.d.ts +0 -0
  3047. /package/node_modules/{@earendil-works → @entelligentsia}/pi-coding-agent/dist/core/compaction/index.d.ts.map +0 -0
  3048. /package/node_modules/{@earendil-works → @entelligentsia}/pi-coding-agent/dist/core/compaction/index.js +0 -0
  3049. /package/node_modules/{@earendil-works → @entelligentsia}/pi-coding-agent/dist/core/compaction/index.js.map +0 -0
  3050. /package/node_modules/{@earendil-works → @entelligentsia}/pi-coding-agent/dist/core/compaction/utils.js +0 -0
  3051. /package/node_modules/{@earendil-works → @entelligentsia}/pi-coding-agent/dist/core/defaults.js +0 -0
  3052. /package/node_modules/{@earendil-works → @entelligentsia}/pi-coding-agent/dist/core/diagnostics.d.ts +0 -0
  3053. /package/node_modules/{@earendil-works → @entelligentsia}/pi-coding-agent/dist/core/diagnostics.d.ts.map +0 -0
  3054. /package/node_modules/{@earendil-works → @entelligentsia}/pi-coding-agent/dist/core/diagnostics.js +0 -0
  3055. /package/node_modules/{@earendil-works → @entelligentsia}/pi-coding-agent/dist/core/diagnostics.js.map +0 -0
  3056. /package/node_modules/{@earendil-works → @entelligentsia}/pi-coding-agent/dist/core/event-bus.d.ts +0 -0
  3057. /package/node_modules/{@earendil-works → @entelligentsia}/pi-coding-agent/dist/core/event-bus.d.ts.map +0 -0
  3058. /package/node_modules/{@earendil-works → @entelligentsia}/pi-coding-agent/dist/core/event-bus.js +0 -0
  3059. /package/node_modules/{@earendil-works → @entelligentsia}/pi-coding-agent/dist/core/event-bus.js.map +0 -0
  3060. /package/node_modules/{@earendil-works → @entelligentsia}/pi-coding-agent/dist/core/exec.d.ts +0 -0
  3061. /package/node_modules/{@earendil-works → @entelligentsia}/pi-coding-agent/dist/core/exec.d.ts.map +0 -0
  3062. /package/node_modules/{@earendil-works → @entelligentsia}/pi-coding-agent/dist/core/exec.js +0 -0
  3063. /package/node_modules/{@earendil-works → @entelligentsia}/pi-coding-agent/dist/core/exec.js.map +0 -0
  3064. /package/node_modules/{@earendil-works → @entelligentsia}/pi-coding-agent/dist/core/export-html/ansi-to-html.d.ts +0 -0
  3065. /package/node_modules/{@earendil-works → @entelligentsia}/pi-coding-agent/dist/core/export-html/ansi-to-html.d.ts.map +0 -0
  3066. /package/node_modules/{@earendil-works → @entelligentsia}/pi-coding-agent/dist/core/export-html/ansi-to-html.js +0 -0
  3067. /package/node_modules/{@earendil-works → @entelligentsia}/pi-coding-agent/dist/core/export-html/ansi-to-html.js.map +0 -0
  3068. /package/node_modules/{@earendil-works → @entelligentsia}/pi-coding-agent/dist/core/export-html/index.js +0 -0
  3069. /package/node_modules/{@earendil-works → @entelligentsia}/pi-coding-agent/dist/core/export-html/template.css +0 -0
  3070. /package/node_modules/{@earendil-works → @entelligentsia}/pi-coding-agent/dist/core/export-html/template.html +0 -0
  3071. /package/node_modules/{@earendil-works → @entelligentsia}/pi-coding-agent/dist/core/export-html/template.js +0 -0
  3072. /package/node_modules/{@earendil-works → @entelligentsia}/pi-coding-agent/dist/core/export-html/tool-renderer.d.ts +0 -0
  3073. /package/node_modules/{@earendil-works → @entelligentsia}/pi-coding-agent/dist/core/export-html/tool-renderer.js +0 -0
  3074. /package/node_modules/{@earendil-works → @entelligentsia}/pi-coding-agent/dist/core/export-html/vendor/highlight.min.js +0 -0
  3075. /package/node_modules/{@earendil-works → @entelligentsia}/pi-coding-agent/dist/core/export-html/vendor/marked.min.js +0 -0
  3076. /package/node_modules/{@earendil-works → @entelligentsia}/pi-coding-agent/dist/core/extensions/index.d.ts +0 -0
  3077. /package/node_modules/{@earendil-works → @entelligentsia}/pi-coding-agent/dist/core/extensions/index.d.ts.map +0 -0
  3078. /package/node_modules/{@earendil-works → @entelligentsia}/pi-coding-agent/dist/core/extensions/index.js +0 -0
  3079. /package/node_modules/{@earendil-works → @entelligentsia}/pi-coding-agent/dist/core/extensions/index.js.map +0 -0
  3080. /package/node_modules/{@earendil-works → @entelligentsia}/pi-coding-agent/dist/core/extensions/loader.d.ts +0 -0
  3081. /package/node_modules/{@earendil-works → @entelligentsia}/pi-coding-agent/dist/core/extensions/types.js +0 -0
  3082. /package/node_modules/{@earendil-works → @entelligentsia}/pi-coding-agent/dist/core/extensions/wrapper.js +0 -0
  3083. /package/node_modules/{@earendil-works → @entelligentsia}/pi-coding-agent/dist/core/footer-data-provider.d.ts +0 -0
  3084. /package/node_modules/{@earendil-works → @entelligentsia}/pi-coding-agent/dist/core/footer-data-provider.d.ts.map +0 -0
  3085. /package/node_modules/{@earendil-works → @entelligentsia}/pi-coding-agent/dist/core/footer-data-provider.js +0 -0
  3086. /package/node_modules/{@earendil-works → @entelligentsia}/pi-coding-agent/dist/core/footer-data-provider.js.map +0 -0
  3087. /package/node_modules/{@earendil-works → @entelligentsia}/pi-coding-agent/dist/core/index.d.ts +0 -0
  3088. /package/node_modules/{@earendil-works → @entelligentsia}/pi-coding-agent/dist/core/index.d.ts.map +0 -0
  3089. /package/node_modules/{@earendil-works → @entelligentsia}/pi-coding-agent/dist/core/index.js +0 -0
  3090. /package/node_modules/{@earendil-works → @entelligentsia}/pi-coding-agent/dist/core/index.js.map +0 -0
  3091. /package/node_modules/{@earendil-works → @entelligentsia}/pi-coding-agent/dist/core/messages.js +0 -0
  3092. /package/node_modules/{@earendil-works → @entelligentsia}/pi-coding-agent/dist/core/output-guard.d.ts +0 -0
  3093. /package/node_modules/{@earendil-works → @entelligentsia}/pi-coding-agent/dist/core/output-guard.d.ts.map +0 -0
  3094. /package/node_modules/{@earendil-works → @entelligentsia}/pi-coding-agent/dist/core/output-guard.js +0 -0
  3095. /package/node_modules/{@earendil-works → @entelligentsia}/pi-coding-agent/dist/core/output-guard.js.map +0 -0
  3096. /package/node_modules/{@earendil-works → @entelligentsia}/pi-coding-agent/dist/core/package-manager.d.ts +0 -0
  3097. /package/node_modules/{@earendil-works → @entelligentsia}/pi-coding-agent/dist/core/package-manager.d.ts.map +0 -0
  3098. /package/node_modules/{@earendil-works → @entelligentsia}/pi-coding-agent/dist/core/package-manager.js +0 -0
  3099. /package/node_modules/{@earendil-works → @entelligentsia}/pi-coding-agent/dist/core/package-manager.js.map +0 -0
  3100. /package/node_modules/{@earendil-works → @entelligentsia}/pi-coding-agent/dist/core/prompt-templates.d.ts +0 -0
  3101. /package/node_modules/{@earendil-works → @entelligentsia}/pi-coding-agent/dist/core/prompt-templates.d.ts.map +0 -0
  3102. /package/node_modules/{@earendil-works → @entelligentsia}/pi-coding-agent/dist/core/prompt-templates.js +0 -0
  3103. /package/node_modules/{@earendil-works → @entelligentsia}/pi-coding-agent/dist/core/prompt-templates.js.map +0 -0
  3104. /package/node_modules/{@earendil-works → @entelligentsia}/pi-coding-agent/dist/core/provider-display-names.d.ts +0 -0
  3105. /package/node_modules/{@earendil-works → @entelligentsia}/pi-coding-agent/dist/core/provider-display-names.d.ts.map +0 -0
  3106. /package/node_modules/{@earendil-works → @entelligentsia}/pi-coding-agent/dist/core/provider-display-names.js +0 -0
  3107. /package/node_modules/{@earendil-works → @entelligentsia}/pi-coding-agent/dist/core/provider-display-names.js.map +0 -0
  3108. /package/node_modules/{@earendil-works → @entelligentsia}/pi-coding-agent/dist/core/resolve-config-value.d.ts +0 -0
  3109. /package/node_modules/{@earendil-works → @entelligentsia}/pi-coding-agent/dist/core/resolve-config-value.d.ts.map +0 -0
  3110. /package/node_modules/{@earendil-works → @entelligentsia}/pi-coding-agent/dist/core/resolve-config-value.js +0 -0
  3111. /package/node_modules/{@earendil-works → @entelligentsia}/pi-coding-agent/dist/core/resolve-config-value.js.map +0 -0
  3112. /package/node_modules/{@earendil-works → @entelligentsia}/pi-coding-agent/dist/core/resource-loader.d.ts +0 -0
  3113. /package/node_modules/{@earendil-works → @entelligentsia}/pi-coding-agent/dist/core/resource-loader.d.ts.map +0 -0
  3114. /package/node_modules/{@earendil-works → @entelligentsia}/pi-coding-agent/dist/core/resource-loader.js +0 -0
  3115. /package/node_modules/{@earendil-works → @entelligentsia}/pi-coding-agent/dist/core/resource-loader.js.map +0 -0
  3116. /package/node_modules/{@earendil-works → @entelligentsia}/pi-coding-agent/dist/core/session-cwd.d.ts +0 -0
  3117. /package/node_modules/{@earendil-works → @entelligentsia}/pi-coding-agent/dist/core/session-cwd.d.ts.map +0 -0
  3118. /package/node_modules/{@earendil-works → @entelligentsia}/pi-coding-agent/dist/core/session-cwd.js +0 -0
  3119. /package/node_modules/{@earendil-works → @entelligentsia}/pi-coding-agent/dist/core/session-cwd.js.map +0 -0
  3120. /package/node_modules/{@earendil-works → @entelligentsia}/pi-coding-agent/dist/core/session-manager.js +0 -0
  3121. /package/node_modules/{@earendil-works → @entelligentsia}/pi-coding-agent/dist/core/settings-manager.js +0 -0
  3122. /package/node_modules/{@earendil-works → @entelligentsia}/pi-coding-agent/dist/core/skills.d.ts +0 -0
  3123. /package/node_modules/{@earendil-works → @entelligentsia}/pi-coding-agent/dist/core/skills.d.ts.map +0 -0
  3124. /package/node_modules/{@earendil-works → @entelligentsia}/pi-coding-agent/dist/core/skills.js +0 -0
  3125. /package/node_modules/{@earendil-works → @entelligentsia}/pi-coding-agent/dist/core/skills.js.map +0 -0
  3126. /package/node_modules/{@earendil-works → @entelligentsia}/pi-coding-agent/dist/core/slash-commands.d.ts +0 -0
  3127. /package/node_modules/{@earendil-works → @entelligentsia}/pi-coding-agent/dist/core/slash-commands.d.ts.map +0 -0
  3128. /package/node_modules/{@earendil-works → @entelligentsia}/pi-coding-agent/dist/core/slash-commands.js +0 -0
  3129. /package/node_modules/{@earendil-works → @entelligentsia}/pi-coding-agent/dist/core/slash-commands.js.map +0 -0
  3130. /package/node_modules/{@earendil-works → @entelligentsia}/pi-coding-agent/dist/core/source-info.d.ts +0 -0
  3131. /package/node_modules/{@earendil-works → @entelligentsia}/pi-coding-agent/dist/core/source-info.d.ts.map +0 -0
  3132. /package/node_modules/{@earendil-works → @entelligentsia}/pi-coding-agent/dist/core/source-info.js +0 -0
  3133. /package/node_modules/{@earendil-works → @entelligentsia}/pi-coding-agent/dist/core/source-info.js.map +0 -0
  3134. /package/node_modules/{@earendil-works → @entelligentsia}/pi-coding-agent/dist/core/system-prompt.d.ts +0 -0
  3135. /package/node_modules/{@earendil-works → @entelligentsia}/pi-coding-agent/dist/core/system-prompt.d.ts.map +0 -0
  3136. /package/node_modules/{@earendil-works → @entelligentsia}/pi-coding-agent/dist/core/system-prompt.js +0 -0
  3137. /package/node_modules/{@earendil-works → @entelligentsia}/pi-coding-agent/dist/core/system-prompt.js.map +0 -0
  3138. /package/node_modules/{@earendil-works → @entelligentsia}/pi-coding-agent/dist/core/telemetry.d.ts +0 -0
  3139. /package/node_modules/{@earendil-works → @entelligentsia}/pi-coding-agent/dist/core/telemetry.d.ts.map +0 -0
  3140. /package/node_modules/{@earendil-works → @entelligentsia}/pi-coding-agent/dist/core/telemetry.js +0 -0
  3141. /package/node_modules/{@earendil-works → @entelligentsia}/pi-coding-agent/dist/core/telemetry.js.map +0 -0
  3142. /package/node_modules/{@earendil-works → @entelligentsia}/pi-coding-agent/dist/core/timings.d.ts +0 -0
  3143. /package/node_modules/{@earendil-works → @entelligentsia}/pi-coding-agent/dist/core/timings.d.ts.map +0 -0
  3144. /package/node_modules/{@earendil-works → @entelligentsia}/pi-coding-agent/dist/core/timings.js +0 -0
  3145. /package/node_modules/{@earendil-works → @entelligentsia}/pi-coding-agent/dist/core/timings.js.map +0 -0
  3146. /package/node_modules/{@earendil-works → @entelligentsia}/pi-coding-agent/dist/core/tools/edit-diff.d.ts +0 -0
  3147. /package/node_modules/{@earendil-works → @entelligentsia}/pi-coding-agent/dist/core/tools/edit-diff.d.ts.map +0 -0
  3148. /package/node_modules/{@earendil-works → @entelligentsia}/pi-coding-agent/dist/core/tools/edit-diff.js +0 -0
  3149. /package/node_modules/{@earendil-works → @entelligentsia}/pi-coding-agent/dist/core/tools/edit-diff.js.map +0 -0
  3150. /package/node_modules/{@earendil-works → @entelligentsia}/pi-coding-agent/dist/core/tools/file-mutation-queue.d.ts +0 -0
  3151. /package/node_modules/{@earendil-works → @entelligentsia}/pi-coding-agent/dist/core/tools/file-mutation-queue.d.ts.map +0 -0
  3152. /package/node_modules/{@earendil-works → @entelligentsia}/pi-coding-agent/dist/core/tools/file-mutation-queue.js +0 -0
  3153. /package/node_modules/{@earendil-works → @entelligentsia}/pi-coding-agent/dist/core/tools/file-mutation-queue.js.map +0 -0
  3154. /package/node_modules/{@earendil-works → @entelligentsia}/pi-coding-agent/dist/core/tools/index.js +0 -0
  3155. /package/node_modules/{@earendil-works → @entelligentsia}/pi-coding-agent/dist/core/tools/output-accumulator.d.ts +0 -0
  3156. /package/node_modules/{@earendil-works → @entelligentsia}/pi-coding-agent/dist/core/tools/output-accumulator.d.ts.map +0 -0
  3157. /package/node_modules/{@earendil-works → @entelligentsia}/pi-coding-agent/dist/core/tools/output-accumulator.js +0 -0
  3158. /package/node_modules/{@earendil-works → @entelligentsia}/pi-coding-agent/dist/core/tools/output-accumulator.js.map +0 -0
  3159. /package/node_modules/{@earendil-works → @entelligentsia}/pi-coding-agent/dist/core/tools/path-utils.d.ts +0 -0
  3160. /package/node_modules/{@earendil-works → @entelligentsia}/pi-coding-agent/dist/core/tools/path-utils.d.ts.map +0 -0
  3161. /package/node_modules/{@earendil-works → @entelligentsia}/pi-coding-agent/dist/core/tools/path-utils.js +0 -0
  3162. /package/node_modules/{@earendil-works → @entelligentsia}/pi-coding-agent/dist/core/tools/path-utils.js.map +0 -0
  3163. /package/node_modules/{@earendil-works → @entelligentsia}/pi-coding-agent/dist/core/tools/tool-definition-wrapper.js +0 -0
  3164. /package/node_modules/{@earendil-works → @entelligentsia}/pi-coding-agent/dist/core/tools/truncate.d.ts +0 -0
  3165. /package/node_modules/{@earendil-works → @entelligentsia}/pi-coding-agent/dist/core/tools/truncate.d.ts.map +0 -0
  3166. /package/node_modules/{@earendil-works → @entelligentsia}/pi-coding-agent/dist/core/tools/truncate.js +0 -0
  3167. /package/node_modules/{@earendil-works → @entelligentsia}/pi-coding-agent/dist/core/tools/truncate.js.map +0 -0
  3168. /package/node_modules/{@earendil-works → @entelligentsia}/pi-coding-agent/dist/index.d.ts +0 -0
  3169. /package/node_modules/{@earendil-works → @entelligentsia}/pi-coding-agent/dist/index.d.ts.map +0 -0
  3170. /package/node_modules/{@earendil-works → @entelligentsia}/pi-coding-agent/dist/index.js +0 -0
  3171. /package/node_modules/{@earendil-works → @entelligentsia}/pi-coding-agent/dist/index.js.map +0 -0
  3172. /package/node_modules/{@earendil-works → @entelligentsia}/pi-coding-agent/dist/main.d.ts +0 -0
  3173. /package/node_modules/{@earendil-works → @entelligentsia}/pi-coding-agent/dist/migrations.d.ts +0 -0
  3174. /package/node_modules/{@earendil-works → @entelligentsia}/pi-coding-agent/dist/migrations.d.ts.map +0 -0
  3175. /package/node_modules/{@earendil-works → @entelligentsia}/pi-coding-agent/dist/migrations.js +0 -0
  3176. /package/node_modules/{@earendil-works → @entelligentsia}/pi-coding-agent/dist/migrations.js.map +0 -0
  3177. /package/node_modules/{@earendil-works → @entelligentsia}/pi-coding-agent/dist/modes/index.d.ts +0 -0
  3178. /package/node_modules/{@earendil-works → @entelligentsia}/pi-coding-agent/dist/modes/index.d.ts.map +0 -0
  3179. /package/node_modules/{@earendil-works → @entelligentsia}/pi-coding-agent/dist/modes/index.js +0 -0
  3180. /package/node_modules/{@earendil-works → @entelligentsia}/pi-coding-agent/dist/modes/index.js.map +0 -0
  3181. /package/node_modules/{@earendil-works → @entelligentsia}/pi-coding-agent/dist/modes/interactive/assets/clankolas.png +0 -0
  3182. /package/node_modules/{@earendil-works → @entelligentsia}/pi-coding-agent/dist/modes/interactive/components/armin.js +0 -0
  3183. /package/node_modules/{@earendil-works → @entelligentsia}/pi-coding-agent/dist/modes/interactive/components/countdown-timer.js +0 -0
  3184. /package/node_modules/{@earendil-works → @entelligentsia}/pi-coding-agent/dist/modes/interactive/components/daxnuts.js +0 -0
  3185. /package/node_modules/{@earendil-works → @entelligentsia}/pi-coding-agent/dist/modes/interactive/components/diff.d.ts +0 -0
  3186. /package/node_modules/{@earendil-works → @entelligentsia}/pi-coding-agent/dist/modes/interactive/components/diff.d.ts.map +0 -0
  3187. /package/node_modules/{@earendil-works → @entelligentsia}/pi-coding-agent/dist/modes/interactive/components/diff.js +0 -0
  3188. /package/node_modules/{@earendil-works → @entelligentsia}/pi-coding-agent/dist/modes/interactive/components/diff.js.map +0 -0
  3189. /package/node_modules/{@earendil-works → @entelligentsia}/pi-coding-agent/dist/modes/interactive/components/dynamic-border.js +0 -0
  3190. /package/node_modules/{@earendil-works → @entelligentsia}/pi-coding-agent/dist/modes/interactive/components/index.d.ts +0 -0
  3191. /package/node_modules/{@earendil-works → @entelligentsia}/pi-coding-agent/dist/modes/interactive/components/index.d.ts.map +0 -0
  3192. /package/node_modules/{@earendil-works → @entelligentsia}/pi-coding-agent/dist/modes/interactive/components/index.js +0 -0
  3193. /package/node_modules/{@earendil-works → @entelligentsia}/pi-coding-agent/dist/modes/interactive/components/index.js.map +0 -0
  3194. /package/node_modules/{@earendil-works → @entelligentsia}/pi-coding-agent/dist/modes/interactive/components/session-selector-search.d.ts +0 -0
  3195. /package/node_modules/{@earendil-works → @entelligentsia}/pi-coding-agent/dist/modes/interactive/components/visual-truncate.d.ts +0 -0
  3196. /package/node_modules/{@earendil-works → @entelligentsia}/pi-coding-agent/dist/modes/interactive/theme/dark.json +0 -0
  3197. /package/node_modules/{@earendil-works → @entelligentsia}/pi-coding-agent/dist/modes/interactive/theme/light.json +0 -0
  3198. /package/node_modules/{@earendil-works → @entelligentsia}/pi-coding-agent/dist/modes/interactive/theme/theme-schema.json +0 -0
  3199. /package/node_modules/{@earendil-works → @entelligentsia}/pi-coding-agent/dist/modes/print-mode.js +0 -0
  3200. /package/node_modules/{@earendil-works → @entelligentsia}/pi-coding-agent/dist/modes/rpc/jsonl.d.ts +0 -0
  3201. /package/node_modules/{@earendil-works → @entelligentsia}/pi-coding-agent/dist/modes/rpc/jsonl.d.ts.map +0 -0
  3202. /package/node_modules/{@earendil-works → @entelligentsia}/pi-coding-agent/dist/modes/rpc/jsonl.js +0 -0
  3203. /package/node_modules/{@earendil-works → @entelligentsia}/pi-coding-agent/dist/modes/rpc/jsonl.js.map +0 -0
  3204. /package/node_modules/{@earendil-works → @entelligentsia}/pi-coding-agent/dist/modes/rpc/rpc-client.js +0 -0
  3205. /package/node_modules/{@earendil-works → @entelligentsia}/pi-coding-agent/dist/modes/rpc/rpc-mode.d.ts +0 -0
  3206. /package/node_modules/{@earendil-works → @entelligentsia}/pi-coding-agent/dist/modes/rpc/rpc-types.js +0 -0
  3207. /package/node_modules/{@earendil-works → @entelligentsia}/pi-coding-agent/dist/package-manager-cli.d.ts +0 -0
  3208. /package/node_modules/{@earendil-works → @entelligentsia}/pi-coding-agent/dist/package-manager-cli.d.ts.map +0 -0
  3209. /package/node_modules/{@earendil-works → @entelligentsia}/pi-coding-agent/dist/package-manager-cli.js +0 -0
  3210. /package/node_modules/{@earendil-works → @entelligentsia}/pi-coding-agent/dist/package-manager-cli.js.map +0 -0
  3211. /package/node_modules/{@earendil-works → @entelligentsia}/pi-coding-agent/dist/utils/changelog.d.ts +0 -0
  3212. /package/node_modules/{@earendil-works → @entelligentsia}/pi-coding-agent/dist/utils/changelog.d.ts.map +0 -0
  3213. /package/node_modules/{@earendil-works → @entelligentsia}/pi-coding-agent/dist/utils/changelog.js +0 -0
  3214. /package/node_modules/{@earendil-works → @entelligentsia}/pi-coding-agent/dist/utils/changelog.js.map +0 -0
  3215. /package/node_modules/{@earendil-works → @entelligentsia}/pi-coding-agent/dist/utils/child-process.d.ts +0 -0
  3216. /package/node_modules/{@earendil-works → @entelligentsia}/pi-coding-agent/dist/utils/child-process.d.ts.map +0 -0
  3217. /package/node_modules/{@earendil-works → @entelligentsia}/pi-coding-agent/dist/utils/child-process.js +0 -0
  3218. /package/node_modules/{@earendil-works → @entelligentsia}/pi-coding-agent/dist/utils/child-process.js.map +0 -0
  3219. /package/node_modules/{@earendil-works → @entelligentsia}/pi-coding-agent/dist/utils/clipboard-image.d.ts +0 -0
  3220. /package/node_modules/{@earendil-works → @entelligentsia}/pi-coding-agent/dist/utils/clipboard-image.d.ts.map +0 -0
  3221. /package/node_modules/{@earendil-works → @entelligentsia}/pi-coding-agent/dist/utils/clipboard-image.js +0 -0
  3222. /package/node_modules/{@earendil-works → @entelligentsia}/pi-coding-agent/dist/utils/clipboard-image.js.map +0 -0
  3223. /package/node_modules/{@earendil-works → @entelligentsia}/pi-coding-agent/dist/utils/clipboard-native.d.ts +0 -0
  3224. /package/node_modules/{@earendil-works → @entelligentsia}/pi-coding-agent/dist/utils/clipboard-native.d.ts.map +0 -0
  3225. /package/node_modules/{@earendil-works → @entelligentsia}/pi-coding-agent/dist/utils/clipboard-native.js +0 -0
  3226. /package/node_modules/{@earendil-works → @entelligentsia}/pi-coding-agent/dist/utils/clipboard-native.js.map +0 -0
  3227. /package/node_modules/{@earendil-works → @entelligentsia}/pi-coding-agent/dist/utils/clipboard.d.ts +0 -0
  3228. /package/node_modules/{@earendil-works → @entelligentsia}/pi-coding-agent/dist/utils/clipboard.d.ts.map +0 -0
  3229. /package/node_modules/{@earendil-works → @entelligentsia}/pi-coding-agent/dist/utils/clipboard.js +0 -0
  3230. /package/node_modules/{@earendil-works → @entelligentsia}/pi-coding-agent/dist/utils/clipboard.js.map +0 -0
  3231. /package/node_modules/{@earendil-works → @entelligentsia}/pi-coding-agent/dist/utils/exif-orientation.d.ts +0 -0
  3232. /package/node_modules/{@earendil-works → @entelligentsia}/pi-coding-agent/dist/utils/exif-orientation.d.ts.map +0 -0
  3233. /package/node_modules/{@earendil-works → @entelligentsia}/pi-coding-agent/dist/utils/exif-orientation.js +0 -0
  3234. /package/node_modules/{@earendil-works → @entelligentsia}/pi-coding-agent/dist/utils/exif-orientation.js.map +0 -0
  3235. /package/node_modules/{@earendil-works → @entelligentsia}/pi-coding-agent/dist/utils/frontmatter.d.ts +0 -0
  3236. /package/node_modules/{@earendil-works → @entelligentsia}/pi-coding-agent/dist/utils/frontmatter.d.ts.map +0 -0
  3237. /package/node_modules/{@earendil-works → @entelligentsia}/pi-coding-agent/dist/utils/frontmatter.js +0 -0
  3238. /package/node_modules/{@earendil-works → @entelligentsia}/pi-coding-agent/dist/utils/frontmatter.js.map +0 -0
  3239. /package/node_modules/{@earendil-works → @entelligentsia}/pi-coding-agent/dist/utils/fs-watch.d.ts +0 -0
  3240. /package/node_modules/{@earendil-works → @entelligentsia}/pi-coding-agent/dist/utils/fs-watch.d.ts.map +0 -0
  3241. /package/node_modules/{@earendil-works → @entelligentsia}/pi-coding-agent/dist/utils/fs-watch.js +0 -0
  3242. /package/node_modules/{@earendil-works → @entelligentsia}/pi-coding-agent/dist/utils/fs-watch.js.map +0 -0
  3243. /package/node_modules/{@earendil-works → @entelligentsia}/pi-coding-agent/dist/utils/git.d.ts +0 -0
  3244. /package/node_modules/{@earendil-works → @entelligentsia}/pi-coding-agent/dist/utils/git.d.ts.map +0 -0
  3245. /package/node_modules/{@earendil-works → @entelligentsia}/pi-coding-agent/dist/utils/git.js +0 -0
  3246. /package/node_modules/{@earendil-works → @entelligentsia}/pi-coding-agent/dist/utils/git.js.map +0 -0
  3247. /package/node_modules/{@earendil-works → @entelligentsia}/pi-coding-agent/dist/utils/image-convert.d.ts +0 -0
  3248. /package/node_modules/{@earendil-works → @entelligentsia}/pi-coding-agent/dist/utils/image-convert.d.ts.map +0 -0
  3249. /package/node_modules/{@earendil-works → @entelligentsia}/pi-coding-agent/dist/utils/image-convert.js +0 -0
  3250. /package/node_modules/{@earendil-works → @entelligentsia}/pi-coding-agent/dist/utils/image-convert.js.map +0 -0
  3251. /package/node_modules/{@earendil-works → @entelligentsia}/pi-coding-agent/dist/utils/image-resize.js +0 -0
  3252. /package/node_modules/{@earendil-works → @entelligentsia}/pi-coding-agent/dist/utils/mime.d.ts +0 -0
  3253. /package/node_modules/{@earendil-works → @entelligentsia}/pi-coding-agent/dist/utils/mime.d.ts.map +0 -0
  3254. /package/node_modules/{@earendil-works → @entelligentsia}/pi-coding-agent/dist/utils/mime.js +0 -0
  3255. /package/node_modules/{@earendil-works → @entelligentsia}/pi-coding-agent/dist/utils/mime.js.map +0 -0
  3256. /package/node_modules/{@earendil-works → @entelligentsia}/pi-coding-agent/dist/utils/photon.d.ts +0 -0
  3257. /package/node_modules/{@earendil-works → @entelligentsia}/pi-coding-agent/dist/utils/photon.d.ts.map +0 -0
  3258. /package/node_modules/{@earendil-works → @entelligentsia}/pi-coding-agent/dist/utils/photon.js +0 -0
  3259. /package/node_modules/{@earendil-works → @entelligentsia}/pi-coding-agent/dist/utils/photon.js.map +0 -0
  3260. /package/node_modules/{@earendil-works → @entelligentsia}/pi-coding-agent/dist/utils/pi-user-agent.d.ts +0 -0
  3261. /package/node_modules/{@earendil-works → @entelligentsia}/pi-coding-agent/dist/utils/pi-user-agent.d.ts.map +0 -0
  3262. /package/node_modules/{@earendil-works → @entelligentsia}/pi-coding-agent/dist/utils/pi-user-agent.js +0 -0
  3263. /package/node_modules/{@earendil-works → @entelligentsia}/pi-coding-agent/dist/utils/pi-user-agent.js.map +0 -0
  3264. /package/node_modules/{@earendil-works → @entelligentsia}/pi-coding-agent/dist/utils/shell.d.ts +0 -0
  3265. /package/node_modules/{@earendil-works → @entelligentsia}/pi-coding-agent/dist/utils/shell.d.ts.map +0 -0
  3266. /package/node_modules/{@earendil-works → @entelligentsia}/pi-coding-agent/dist/utils/shell.js +0 -0
  3267. /package/node_modules/{@earendil-works → @entelligentsia}/pi-coding-agent/dist/utils/shell.js.map +0 -0
  3268. /package/node_modules/{@earendil-works → @entelligentsia}/pi-coding-agent/dist/utils/sleep.d.ts +0 -0
  3269. /package/node_modules/{@earendil-works → @entelligentsia}/pi-coding-agent/dist/utils/sleep.d.ts.map +0 -0
  3270. /package/node_modules/{@earendil-works → @entelligentsia}/pi-coding-agent/dist/utils/sleep.js +0 -0
  3271. /package/node_modules/{@earendil-works → @entelligentsia}/pi-coding-agent/dist/utils/sleep.js.map +0 -0
  3272. /package/node_modules/{@earendil-works → @entelligentsia}/pi-coding-agent/dist/utils/tools-manager.d.ts +0 -0
  3273. /package/node_modules/{@earendil-works → @entelligentsia}/pi-coding-agent/dist/utils/tools-manager.d.ts.map +0 -0
  3274. /package/node_modules/{@earendil-works → @entelligentsia}/pi-coding-agent/dist/utils/tools-manager.js +0 -0
  3275. /package/node_modules/{@earendil-works → @entelligentsia}/pi-coding-agent/dist/utils/tools-manager.js.map +0 -0
  3276. /package/node_modules/{@earendil-works → @entelligentsia}/pi-coding-agent/dist/utils/version-check.d.ts +0 -0
  3277. /package/node_modules/{@earendil-works → @entelligentsia}/pi-coding-agent/dist/utils/version-check.d.ts.map +0 -0
  3278. /package/node_modules/{@earendil-works → @entelligentsia}/pi-coding-agent/dist/utils/version-check.js +0 -0
  3279. /package/node_modules/{@earendil-works → @entelligentsia}/pi-coding-agent/dist/utils/version-check.js.map +0 -0
  3280. /package/node_modules/{@earendil-works → @entelligentsia}/pi-coding-agent/docs/development.md +0 -0
  3281. /package/node_modules/{@earendil-works → @entelligentsia}/pi-coding-agent/docs/docs.json +0 -0
  3282. /package/node_modules/{@earendil-works → @entelligentsia}/pi-coding-agent/docs/images/doom-extension.png +0 -0
  3283. /package/node_modules/{@earendil-works → @entelligentsia}/pi-coding-agent/docs/images/exy.png +0 -0
  3284. /package/node_modules/{@earendil-works → @entelligentsia}/pi-coding-agent/docs/images/interactive-mode.png +0 -0
  3285. /package/node_modules/{@earendil-works → @entelligentsia}/pi-coding-agent/docs/images/tree-view.png +0 -0
  3286. /package/node_modules/{@earendil-works → @entelligentsia}/pi-coding-agent/docs/json.md +0 -0
  3287. /package/node_modules/{@earendil-works → @entelligentsia}/pi-coding-agent/docs/keybindings.md +0 -0
  3288. /package/node_modules/{@earendil-works → @entelligentsia}/pi-coding-agent/docs/models.md +0 -0
  3289. /package/node_modules/{@earendil-works → @entelligentsia}/pi-coding-agent/docs/prompt-templates.md +0 -0
  3290. /package/node_modules/{@earendil-works → @entelligentsia}/pi-coding-agent/docs/providers.md +0 -0
  3291. /package/node_modules/{@earendil-works → @entelligentsia}/pi-coding-agent/docs/sessions.md +0 -0
  3292. /package/node_modules/{@earendil-works → @entelligentsia}/pi-coding-agent/docs/settings.md +0 -0
  3293. /package/node_modules/{@earendil-works → @entelligentsia}/pi-coding-agent/docs/shell-aliases.md +0 -0
  3294. /package/node_modules/{@earendil-works → @entelligentsia}/pi-coding-agent/docs/skills.md +0 -0
  3295. /package/node_modules/{@earendil-works → @entelligentsia}/pi-coding-agent/docs/terminal-setup.md +0 -0
  3296. /package/node_modules/{@earendil-works → @entelligentsia}/pi-coding-agent/docs/themes.md +0 -0
  3297. /package/node_modules/{@earendil-works → @entelligentsia}/pi-coding-agent/docs/tmux.md +0 -0
  3298. /package/node_modules/{@earendil-works → @entelligentsia}/pi-coding-agent/docs/usage.md +0 -0
  3299. /package/node_modules/{@earendil-works → @entelligentsia}/pi-coding-agent/docs/windows.md +0 -0
  3300. /package/node_modules/{@earendil-works → @entelligentsia}/pi-coding-agent/examples/README.md +0 -0
  3301. /package/node_modules/{@earendil-works → @entelligentsia}/pi-coding-agent/examples/extensions/doom-overlay/README.md +0 -0
  3302. /package/node_modules/{@earendil-works → @entelligentsia}/pi-coding-agent/examples/extensions/doom-overlay/doom/build/doom.js +0 -0
  3303. /package/node_modules/{@earendil-works → @entelligentsia}/pi-coding-agent/examples/extensions/doom-overlay/doom/build/doom.wasm +0 -0
  3304. /package/node_modules/{@earendil-works → @entelligentsia}/pi-coding-agent/examples/extensions/doom-overlay/doom/build.sh +0 -0
  3305. /package/node_modules/{@earendil-works → @entelligentsia}/pi-coding-agent/examples/extensions/doom-overlay/doom/doomgeneric_pi.c +0 -0
  3306. /package/node_modules/{@earendil-works → @entelligentsia}/pi-coding-agent/examples/extensions/doom-overlay/doom-engine.ts +0 -0
  3307. /package/node_modules/{@earendil-works → @entelligentsia}/pi-coding-agent/examples/extensions/doom-overlay/wad-finder.ts +0 -0
  3308. /package/node_modules/{@earendil-works → @entelligentsia}/pi-coding-agent/examples/extensions/dynamic-resources/SKILL.md +0 -0
  3309. /package/node_modules/{@earendil-works → @entelligentsia}/pi-coding-agent/examples/extensions/dynamic-resources/dynamic.json +0 -0
  3310. /package/node_modules/{@earendil-works → @entelligentsia}/pi-coding-agent/examples/extensions/dynamic-resources/dynamic.md +0 -0
  3311. /package/node_modules/{@earendil-works → @entelligentsia}/pi-coding-agent/examples/extensions/plan-mode/README.md +0 -0
  3312. /package/node_modules/{@earendil-works → @entelligentsia}/pi-coding-agent/examples/extensions/plan-mode/utils.ts +0 -0
  3313. /package/node_modules/{@earendil-works → @entelligentsia}/pi-coding-agent/examples/extensions/subagent/README.md +0 -0
  3314. /package/node_modules/{@earendil-works → @entelligentsia}/pi-coding-agent/examples/extensions/subagent/agents/planner.md +0 -0
  3315. /package/node_modules/{@earendil-works → @entelligentsia}/pi-coding-agent/examples/extensions/subagent/agents/reviewer.md +0 -0
  3316. /package/node_modules/{@earendil-works → @entelligentsia}/pi-coding-agent/examples/extensions/subagent/agents/scout.md +0 -0
  3317. /package/node_modules/{@earendil-works → @entelligentsia}/pi-coding-agent/examples/extensions/subagent/agents/worker.md +0 -0
  3318. /package/node_modules/{@earendil-works → @entelligentsia}/pi-coding-agent/examples/extensions/subagent/prompts/implement-and-review.md +0 -0
  3319. /package/node_modules/{@earendil-works → @entelligentsia}/pi-coding-agent/examples/extensions/subagent/prompts/implement.md +0 -0
  3320. /package/node_modules/{@earendil-works → @entelligentsia}/pi-coding-agent/examples/extensions/subagent/prompts/scout-and-plan.md +0 -0
  3321. /package/node_modules/{@earendil-works → @entelligentsia}/pi-tui/dist/autocomplete.d.ts +0 -0
  3322. /package/node_modules/{@earendil-works → @entelligentsia}/pi-tui/dist/autocomplete.d.ts.map +0 -0
  3323. /package/node_modules/{@earendil-works → @entelligentsia}/pi-tui/dist/autocomplete.js +0 -0
  3324. /package/node_modules/{@earendil-works → @entelligentsia}/pi-tui/dist/autocomplete.js.map +0 -0
  3325. /package/node_modules/{@earendil-works → @entelligentsia}/pi-tui/dist/components/box.d.ts +0 -0
  3326. /package/node_modules/{@earendil-works → @entelligentsia}/pi-tui/dist/components/box.d.ts.map +0 -0
  3327. /package/node_modules/{@earendil-works → @entelligentsia}/pi-tui/dist/components/box.js +0 -0
  3328. /package/node_modules/{@earendil-works → @entelligentsia}/pi-tui/dist/components/box.js.map +0 -0
  3329. /package/node_modules/{@earendil-works → @entelligentsia}/pi-tui/dist/components/cancellable-loader.d.ts +0 -0
  3330. /package/node_modules/{@earendil-works → @entelligentsia}/pi-tui/dist/components/cancellable-loader.d.ts.map +0 -0
  3331. /package/node_modules/{@earendil-works → @entelligentsia}/pi-tui/dist/components/cancellable-loader.js +0 -0
  3332. /package/node_modules/{@earendil-works → @entelligentsia}/pi-tui/dist/components/cancellable-loader.js.map +0 -0
  3333. /package/node_modules/{@earendil-works → @entelligentsia}/pi-tui/dist/components/editor.d.ts +0 -0
  3334. /package/node_modules/{@earendil-works → @entelligentsia}/pi-tui/dist/components/editor.d.ts.map +0 -0
  3335. /package/node_modules/{@earendil-works → @entelligentsia}/pi-tui/dist/components/editor.js +0 -0
  3336. /package/node_modules/{@earendil-works → @entelligentsia}/pi-tui/dist/components/editor.js.map +0 -0
  3337. /package/node_modules/{@earendil-works → @entelligentsia}/pi-tui/dist/components/image.d.ts +0 -0
  3338. /package/node_modules/{@earendil-works → @entelligentsia}/pi-tui/dist/components/image.d.ts.map +0 -0
  3339. /package/node_modules/{@earendil-works → @entelligentsia}/pi-tui/dist/components/image.js +0 -0
  3340. /package/node_modules/{@earendil-works → @entelligentsia}/pi-tui/dist/components/image.js.map +0 -0
  3341. /package/node_modules/{@earendil-works → @entelligentsia}/pi-tui/dist/components/input.d.ts +0 -0
  3342. /package/node_modules/{@earendil-works → @entelligentsia}/pi-tui/dist/components/input.d.ts.map +0 -0
  3343. /package/node_modules/{@earendil-works → @entelligentsia}/pi-tui/dist/components/input.js +0 -0
  3344. /package/node_modules/{@earendil-works → @entelligentsia}/pi-tui/dist/components/input.js.map +0 -0
  3345. /package/node_modules/{@earendil-works → @entelligentsia}/pi-tui/dist/components/loader.d.ts +0 -0
  3346. /package/node_modules/{@earendil-works → @entelligentsia}/pi-tui/dist/components/loader.d.ts.map +0 -0
  3347. /package/node_modules/{@earendil-works → @entelligentsia}/pi-tui/dist/components/loader.js +0 -0
  3348. /package/node_modules/{@earendil-works → @entelligentsia}/pi-tui/dist/components/loader.js.map +0 -0
  3349. /package/node_modules/{@earendil-works → @entelligentsia}/pi-tui/dist/components/markdown.d.ts +0 -0
  3350. /package/node_modules/{@earendil-works → @entelligentsia}/pi-tui/dist/components/markdown.d.ts.map +0 -0
  3351. /package/node_modules/{@earendil-works → @entelligentsia}/pi-tui/dist/components/markdown.js +0 -0
  3352. /package/node_modules/{@earendil-works → @entelligentsia}/pi-tui/dist/components/markdown.js.map +0 -0
  3353. /package/node_modules/{@earendil-works → @entelligentsia}/pi-tui/dist/components/select-list.d.ts +0 -0
  3354. /package/node_modules/{@earendil-works → @entelligentsia}/pi-tui/dist/components/select-list.d.ts.map +0 -0
  3355. /package/node_modules/{@earendil-works → @entelligentsia}/pi-tui/dist/components/select-list.js +0 -0
  3356. /package/node_modules/{@earendil-works → @entelligentsia}/pi-tui/dist/components/select-list.js.map +0 -0
  3357. /package/node_modules/{@earendil-works → @entelligentsia}/pi-tui/dist/components/settings-list.d.ts +0 -0
  3358. /package/node_modules/{@earendil-works → @entelligentsia}/pi-tui/dist/components/settings-list.d.ts.map +0 -0
  3359. /package/node_modules/{@earendil-works → @entelligentsia}/pi-tui/dist/components/settings-list.js +0 -0
  3360. /package/node_modules/{@earendil-works → @entelligentsia}/pi-tui/dist/components/settings-list.js.map +0 -0
  3361. /package/node_modules/{@earendil-works → @entelligentsia}/pi-tui/dist/components/spacer.d.ts +0 -0
  3362. /package/node_modules/{@earendil-works → @entelligentsia}/pi-tui/dist/components/spacer.d.ts.map +0 -0
  3363. /package/node_modules/{@earendil-works → @entelligentsia}/pi-tui/dist/components/spacer.js +0 -0
  3364. /package/node_modules/{@earendil-works → @entelligentsia}/pi-tui/dist/components/spacer.js.map +0 -0
  3365. /package/node_modules/{@earendil-works → @entelligentsia}/pi-tui/dist/components/text.d.ts +0 -0
  3366. /package/node_modules/{@earendil-works → @entelligentsia}/pi-tui/dist/components/text.d.ts.map +0 -0
  3367. /package/node_modules/{@earendil-works → @entelligentsia}/pi-tui/dist/components/text.js +0 -0
  3368. /package/node_modules/{@earendil-works → @entelligentsia}/pi-tui/dist/components/text.js.map +0 -0
  3369. /package/node_modules/{@earendil-works → @entelligentsia}/pi-tui/dist/components/truncated-text.d.ts +0 -0
  3370. /package/node_modules/{@earendil-works → @entelligentsia}/pi-tui/dist/components/truncated-text.d.ts.map +0 -0
  3371. /package/node_modules/{@earendil-works → @entelligentsia}/pi-tui/dist/components/truncated-text.js +0 -0
  3372. /package/node_modules/{@earendil-works → @entelligentsia}/pi-tui/dist/components/truncated-text.js.map +0 -0
  3373. /package/node_modules/{@earendil-works → @entelligentsia}/pi-tui/dist/editor-component.d.ts +0 -0
  3374. /package/node_modules/{@earendil-works → @entelligentsia}/pi-tui/dist/editor-component.d.ts.map +0 -0
  3375. /package/node_modules/{@earendil-works → @entelligentsia}/pi-tui/dist/editor-component.js +0 -0
  3376. /package/node_modules/{@earendil-works → @entelligentsia}/pi-tui/dist/editor-component.js.map +0 -0
  3377. /package/node_modules/{@earendil-works → @entelligentsia}/pi-tui/dist/fuzzy.d.ts +0 -0
  3378. /package/node_modules/{@earendil-works → @entelligentsia}/pi-tui/dist/fuzzy.d.ts.map +0 -0
  3379. /package/node_modules/{@earendil-works → @entelligentsia}/pi-tui/dist/fuzzy.js +0 -0
  3380. /package/node_modules/{@earendil-works → @entelligentsia}/pi-tui/dist/fuzzy.js.map +0 -0
  3381. /package/node_modules/{@earendil-works → @entelligentsia}/pi-tui/dist/index.d.ts +0 -0
  3382. /package/node_modules/{@earendil-works → @entelligentsia}/pi-tui/dist/index.d.ts.map +0 -0
  3383. /package/node_modules/{@earendil-works → @entelligentsia}/pi-tui/dist/index.js +0 -0
  3384. /package/node_modules/{@earendil-works → @entelligentsia}/pi-tui/dist/index.js.map +0 -0
  3385. /package/node_modules/{@earendil-works → @entelligentsia}/pi-tui/dist/keybindings.d.ts +0 -0
  3386. /package/node_modules/{@earendil-works → @entelligentsia}/pi-tui/dist/keybindings.d.ts.map +0 -0
  3387. /package/node_modules/{@earendil-works → @entelligentsia}/pi-tui/dist/keybindings.js +0 -0
  3388. /package/node_modules/{@earendil-works → @entelligentsia}/pi-tui/dist/keybindings.js.map +0 -0
  3389. /package/node_modules/{@earendil-works → @entelligentsia}/pi-tui/dist/keys.d.ts +0 -0
  3390. /package/node_modules/{@earendil-works → @entelligentsia}/pi-tui/dist/keys.d.ts.map +0 -0
  3391. /package/node_modules/{@earendil-works → @entelligentsia}/pi-tui/dist/keys.js +0 -0
  3392. /package/node_modules/{@earendil-works → @entelligentsia}/pi-tui/dist/keys.js.map +0 -0
  3393. /package/node_modules/{@earendil-works → @entelligentsia}/pi-tui/dist/kill-ring.d.ts +0 -0
  3394. /package/node_modules/{@earendil-works → @entelligentsia}/pi-tui/dist/kill-ring.d.ts.map +0 -0
  3395. /package/node_modules/{@earendil-works → @entelligentsia}/pi-tui/dist/kill-ring.js +0 -0
  3396. /package/node_modules/{@earendil-works → @entelligentsia}/pi-tui/dist/kill-ring.js.map +0 -0
  3397. /package/node_modules/{@earendil-works → @entelligentsia}/pi-tui/dist/stdin-buffer.d.ts +0 -0
  3398. /package/node_modules/{@earendil-works → @entelligentsia}/pi-tui/dist/stdin-buffer.d.ts.map +0 -0
  3399. /package/node_modules/{@earendil-works → @entelligentsia}/pi-tui/dist/stdin-buffer.js +0 -0
  3400. /package/node_modules/{@earendil-works → @entelligentsia}/pi-tui/dist/stdin-buffer.js.map +0 -0
  3401. /package/node_modules/{@earendil-works → @entelligentsia}/pi-tui/dist/terminal-image.d.ts +0 -0
  3402. /package/node_modules/{@earendil-works → @entelligentsia}/pi-tui/dist/terminal-image.d.ts.map +0 -0
  3403. /package/node_modules/{@earendil-works → @entelligentsia}/pi-tui/dist/terminal-image.js +0 -0
  3404. /package/node_modules/{@earendil-works → @entelligentsia}/pi-tui/dist/terminal-image.js.map +0 -0
  3405. /package/node_modules/{@earendil-works → @entelligentsia}/pi-tui/dist/terminal.d.ts +0 -0
  3406. /package/node_modules/{@earendil-works → @entelligentsia}/pi-tui/dist/terminal.d.ts.map +0 -0
  3407. /package/node_modules/{@earendil-works → @entelligentsia}/pi-tui/dist/terminal.js +0 -0
  3408. /package/node_modules/{@earendil-works → @entelligentsia}/pi-tui/dist/terminal.js.map +0 -0
  3409. /package/node_modules/{@earendil-works → @entelligentsia}/pi-tui/dist/tui.d.ts +0 -0
  3410. /package/node_modules/{@earendil-works → @entelligentsia}/pi-tui/dist/tui.d.ts.map +0 -0
  3411. /package/node_modules/{@earendil-works → @entelligentsia}/pi-tui/dist/tui.js +0 -0
  3412. /package/node_modules/{@earendil-works → @entelligentsia}/pi-tui/dist/tui.js.map +0 -0
  3413. /package/node_modules/{@earendil-works → @entelligentsia}/pi-tui/dist/undo-stack.d.ts +0 -0
  3414. /package/node_modules/{@earendil-works → @entelligentsia}/pi-tui/dist/undo-stack.d.ts.map +0 -0
  3415. /package/node_modules/{@earendil-works → @entelligentsia}/pi-tui/dist/undo-stack.js +0 -0
  3416. /package/node_modules/{@earendil-works → @entelligentsia}/pi-tui/dist/undo-stack.js.map +0 -0
  3417. /package/node_modules/{@earendil-works → @entelligentsia}/pi-tui/dist/utils.d.ts +0 -0
  3418. /package/node_modules/{@earendil-works → @entelligentsia}/pi-tui/dist/utils.d.ts.map +0 -0
  3419. /package/node_modules/{@earendil-works → @entelligentsia}/pi-tui/dist/utils.js +0 -0
  3420. /package/node_modules/{@earendil-works → @entelligentsia}/pi-tui/dist/utils.js.map +0 -0
  3421. /package/node_modules/@smithy/{invalid-dependency/dist-es → core/dist-es/submodules/client/invalid-dependency}/invalidFunction.js +0 -0
  3422. /package/node_modules/@smithy/{invalid-dependency/dist-es → core/dist-es/submodules/client/invalid-dependency}/invalidProvider.js +0 -0
  3423. /package/node_modules/@smithy/{middleware-stack/dist-es → core/dist-es/submodules/client/middleware-stack}/MiddlewareStack.js +0 -0
  3424. /package/node_modules/@smithy/{middleware-endpoint/dist-es → core/dist-es/submodules/client/middleware-stack}/types.js +0 -0
  3425. /package/node_modules/@smithy/{smithy-client/dist-es → core/dist-es/submodules/client/smithy-client}/NoOpLogger.js +0 -0
  3426. /package/node_modules/@smithy/{smithy-client/dist-es → core/dist-es/submodules/client/smithy-client}/constants.js +0 -0
  3427. /package/node_modules/@smithy/{smithy-client/dist-es → core/dist-es/submodules/client/smithy-client}/create-aggregated-client.js +0 -0
  3428. /package/node_modules/@smithy/{smithy-client/dist-es → core/dist-es/submodules/client/smithy-client}/default-error-handler.js +0 -0
  3429. /package/node_modules/@smithy/{smithy-client/dist-es → core/dist-es/submodules/client/smithy-client}/defaults-mode.js +0 -0
  3430. /package/node_modules/@smithy/{smithy-client/dist-es → core/dist-es/submodules/client/smithy-client}/emitWarningIfUnsupportedVersion.js +0 -0
  3431. /package/node_modules/@smithy/{smithy-client/dist-es → core/dist-es/submodules/client/smithy-client}/exceptions.js +0 -0
  3432. /package/node_modules/@smithy/{smithy-client/dist-es → core/dist-es/submodules/client/smithy-client}/extensions/retry.js +0 -0
  3433. /package/node_modules/@smithy/{smithy-client/dist-es → core/dist-es/submodules/client/smithy-client}/get-array-if-single-item.js +0 -0
  3434. /package/node_modules/@smithy/{smithy-client/dist-es → core/dist-es/submodules/client/smithy-client}/get-value-from-text-node.js +0 -0
  3435. /package/node_modules/@smithy/{smithy-client/dist-es → core/dist-es/submodules/client/smithy-client}/is-serializable-header-value.js +0 -0
  3436. /package/node_modules/@smithy/{smithy-client/dist-es → core/dist-es/submodules/client/smithy-client}/object-mapping.js +0 -0
  3437. /package/node_modules/@smithy/{smithy-client/dist-es → core/dist-es/submodules/client/smithy-client}/schemaLogFilter.js +0 -0
  3438. /package/node_modules/@smithy/{smithy-client/dist-es → core/dist-es/submodules/client/smithy-client}/ser-utils.js +0 -0
  3439. /package/node_modules/@smithy/{smithy-client/dist-es → core/dist-es/submodules/client/smithy-client}/serde-json.js +0 -0
  3440. /package/node_modules/@smithy/{util-middleware/dist-es → core/dist-es/submodules/client/util-middleware}/getSmithyContext.js +0 -0
  3441. /package/node_modules/@smithy/{util-middleware/dist-es → core/dist-es/submodules/client/util-middleware}/normalizeProvider.js +0 -0
  3442. /package/node_modules/@smithy/{config-resolver/dist-es → core/dist-es/submodules/config/config-resolver}/endpointsConfig/utils/getEndpointFromRegion.js +0 -0
  3443. /package/node_modules/@smithy/{config-resolver/dist-es → core/dist-es/submodules/config/config-resolver}/regionConfig/config.js +0 -0
  3444. /package/node_modules/@smithy/{config-resolver/dist-es → core/dist-es/submodules/config/config-resolver}/regionConfig/getRealRegion.js +0 -0
  3445. /package/node_modules/@smithy/{config-resolver/dist-es → core/dist-es/submodules/config/config-resolver}/regionConfig/isFipsRegion.js +0 -0
  3446. /package/node_modules/@smithy/{config-resolver/dist-es → core/dist-es/submodules/config/config-resolver}/regionConfig/resolveRegionConfig.js +0 -0
  3447. /package/node_modules/@smithy/{config-resolver/dist-es → core/dist-es/submodules/config/config-resolver}/regionInfo/EndpointVariant.js +0 -0
  3448. /package/node_modules/@smithy/{config-resolver/dist-es → core/dist-es/submodules/config/config-resolver}/regionInfo/EndpointVariantTag.js +0 -0
  3449. /package/node_modules/@smithy/{config-resolver/dist-es → core/dist-es/submodules/config/config-resolver}/regionInfo/PartitionHash.js +0 -0
  3450. /package/node_modules/@smithy/{config-resolver/dist-es → core/dist-es/submodules/config/config-resolver}/regionInfo/RegionHash.js +0 -0
  3451. /package/node_modules/@smithy/{config-resolver/dist-es → core/dist-es/submodules/config/config-resolver}/regionInfo/getHostnameFromVariants.js +0 -0
  3452. /package/node_modules/@smithy/{config-resolver/dist-es → core/dist-es/submodules/config/config-resolver}/regionInfo/getRegionInfo.js +0 -0
  3453. /package/node_modules/@smithy/{config-resolver/dist-es → core/dist-es/submodules/config/config-resolver}/regionInfo/getResolvedHostname.js +0 -0
  3454. /package/node_modules/@smithy/{config-resolver/dist-es → core/dist-es/submodules/config/config-resolver}/regionInfo/getResolvedPartition.js +0 -0
  3455. /package/node_modules/@smithy/{config-resolver/dist-es → core/dist-es/submodules/config/config-resolver}/regionInfo/getResolvedSigningRegion.js +0 -0
  3456. /package/node_modules/@smithy/{util-defaults-mode-node/dist-es → core/dist-es/submodules/config/defaults-mode}/constants.js +0 -0
  3457. /package/node_modules/@smithy/{util-defaults-mode-node/dist-es → core/dist-es/submodules/config/defaults-mode}/defaultsModeConfig.js +0 -0
  3458. /package/node_modules/@smithy/{node-config-provider/dist-es → core/dist-es/submodules/config/node-config-provider}/getSelectorName.js +0 -0
  3459. /package/node_modules/@smithy/{property-provider/dist-es → core/dist-es/submodules/config/property-provider}/CredentialsProviderError.js +0 -0
  3460. /package/node_modules/@smithy/{property-provider/dist-es → core/dist-es/submodules/config/property-provider}/ProviderError.js +0 -0
  3461. /package/node_modules/@smithy/{property-provider/dist-es → core/dist-es/submodules/config/property-provider}/TokenProviderError.js +0 -0
  3462. /package/node_modules/@smithy/{property-provider/dist-es → core/dist-es/submodules/config/property-provider}/chain.js +0 -0
  3463. /package/node_modules/@smithy/{property-provider/dist-es → core/dist-es/submodules/config/property-provider}/memoize.js +0 -0
  3464. /package/node_modules/@smithy/{shared-ini-file-loader/dist-es → core/dist-es/submodules/config/shared-ini-file-loader}/constants.js +0 -0
  3465. /package/node_modules/@smithy/{shared-ini-file-loader/dist-es → core/dist-es/submodules/config/shared-ini-file-loader}/externalDataInterceptor.js +0 -0
  3466. /package/node_modules/@smithy/{shared-ini-file-loader/dist-es → core/dist-es/submodules/config/shared-ini-file-loader}/getConfigData.js +0 -0
  3467. /package/node_modules/@smithy/{shared-ini-file-loader/dist-es → core/dist-es/submodules/config/shared-ini-file-loader}/getProfileName.js +0 -0
  3468. /package/node_modules/@smithy/{shared-ini-file-loader/dist-es → core/dist-es/submodules/config/shared-ini-file-loader}/getSsoSessionData.js +0 -0
  3469. /package/node_modules/@smithy/{shared-ini-file-loader/dist-es → core/dist-es/submodules/config/shared-ini-file-loader}/loadSsoSessionData.js +0 -0
  3470. /package/node_modules/@smithy/{shared-ini-file-loader/dist-es → core/dist-es/submodules/config/shared-ini-file-loader}/mergeConfigFiles.js +0 -0
  3471. /package/node_modules/@smithy/{shared-ini-file-loader/dist-es → core/dist-es/submodules/config/shared-ini-file-loader}/parseIni.js +0 -0
  3472. /package/node_modules/@smithy/{shared-ini-file-loader/dist-es → core/dist-es/submodules/config/shared-ini-file-loader}/parseKnownFiles.js +0 -0
  3473. /package/node_modules/@smithy/{shared-ini-file-loader/dist-es → core/dist-es/submodules/config/shared-ini-file-loader}/readFile.js +0 -0
  3474. /package/node_modules/@smithy/{middleware-retry/dist-es/retry-pre-sra-deprecated → core/dist-es/submodules/config/shared-ini-file-loader}/types.js +0 -0
  3475. /package/node_modules/@smithy/{util-config-provider/dist-es → core/dist-es/submodules/config/util-config-provider}/booleanSelector.js +0 -0
  3476. /package/node_modules/@smithy/{util-config-provider/dist-es → core/dist-es/submodules/config/util-config-provider}/numberSelector.js +0 -0
  3477. /package/node_modules/@smithy/{util-config-provider/dist-es → core/dist-es/submodules/config/util-config-provider}/types.js +0 -0
  3478. /package/node_modules/@smithy/{middleware-endpoint/dist-es → core/dist-es/submodules/endpoints/middleware-endpoint}/adaptors/createConfigValueProvider.js +0 -0
  3479. /package/node_modules/@smithy/{middleware-endpoint/dist-es → core/dist-es/submodules/endpoints/middleware-endpoint}/adaptors/getEndpointFromConfig.browser.js +0 -0
  3480. /package/node_modules/@smithy/{middleware-endpoint/dist-es → core/dist-es/submodules/endpoints/middleware-endpoint}/resolveEndpointRequiredConfig.js +0 -0
  3481. /package/node_modules/@smithy/{middleware-endpoint/dist-es → core/dist-es/submodules/endpoints/middleware-endpoint}/service-customizations/index.js +0 -0
  3482. /package/node_modules/@smithy/{middleware-endpoint/dist-es → core/dist-es/submodules/endpoints/middleware-endpoint}/service-customizations/s3.js +0 -0
  3483. /package/node_modules/@smithy/{middleware-stack/dist-es → core/dist-es/submodules/endpoints/middleware-endpoint}/types.js +0 -0
  3484. /package/node_modules/@smithy/{util-endpoints/dist-es → core/dist-es/submodules/endpoints/util-endpoints}/bdd/BinaryDecisionDiagram.js +0 -0
  3485. /package/node_modules/@smithy/{util-endpoints/dist-es → core/dist-es/submodules/endpoints/util-endpoints}/cache/EndpointCache.js +0 -0
  3486. /package/node_modules/@smithy/{util-endpoints/dist-es → core/dist-es/submodules/endpoints/util-endpoints}/debug/debugId.js +0 -0
  3487. /package/node_modules/@smithy/{util-endpoints/dist-es → core/dist-es/submodules/endpoints/util-endpoints}/debug/index.js +0 -0
  3488. /package/node_modules/@smithy/{util-endpoints/dist-es → core/dist-es/submodules/endpoints/util-endpoints}/debug/toDebugString.js +0 -0
  3489. /package/node_modules/@smithy/{util-endpoints/dist-es → core/dist-es/submodules/endpoints/util-endpoints}/decideEndpoint.js +0 -0
  3490. /package/node_modules/@smithy/{util-endpoints/dist-es → core/dist-es/submodules/endpoints/util-endpoints}/getEndpointUrlConfig.js +0 -0
  3491. /package/node_modules/@smithy/{util-endpoints/dist-es → core/dist-es/submodules/endpoints/util-endpoints}/lib/booleanEquals.js +0 -0
  3492. /package/node_modules/@smithy/{util-endpoints/dist-es → core/dist-es/submodules/endpoints/util-endpoints}/lib/coalesce.js +0 -0
  3493. /package/node_modules/@smithy/{util-endpoints/dist-es → core/dist-es/submodules/endpoints/util-endpoints}/lib/getAttr.js +0 -0
  3494. /package/node_modules/@smithy/{util-endpoints/dist-es → core/dist-es/submodules/endpoints/util-endpoints}/lib/getAttrPathList.js +0 -0
  3495. /package/node_modules/@smithy/{util-endpoints/dist-es → core/dist-es/submodules/endpoints/util-endpoints}/lib/index.js +0 -0
  3496. /package/node_modules/@smithy/{util-endpoints/dist-es → core/dist-es/submodules/endpoints/util-endpoints}/lib/isIpAddress.js +0 -0
  3497. /package/node_modules/@smithy/{util-endpoints/dist-es → core/dist-es/submodules/endpoints/util-endpoints}/lib/isSet.js +0 -0
  3498. /package/node_modules/@smithy/{util-endpoints/dist-es → core/dist-es/submodules/endpoints/util-endpoints}/lib/isValidHostLabel.js +0 -0
  3499. /package/node_modules/@smithy/{util-endpoints/dist-es → core/dist-es/submodules/endpoints/util-endpoints}/lib/ite.js +0 -0
  3500. /package/node_modules/@smithy/{util-endpoints/dist-es → core/dist-es/submodules/endpoints/util-endpoints}/lib/not.js +0 -0
  3501. /package/node_modules/@smithy/{util-endpoints/dist-es → core/dist-es/submodules/endpoints/util-endpoints}/lib/parseURL.js +0 -0
  3502. /package/node_modules/@smithy/{util-endpoints/dist-es → core/dist-es/submodules/endpoints/util-endpoints}/lib/split.js +0 -0
  3503. /package/node_modules/@smithy/{util-endpoints/dist-es → core/dist-es/submodules/endpoints/util-endpoints}/lib/stringEquals.js +0 -0
  3504. /package/node_modules/@smithy/{util-endpoints/dist-es → core/dist-es/submodules/endpoints/util-endpoints}/lib/substring.js +0 -0
  3505. /package/node_modules/@smithy/{util-endpoints/dist-es → core/dist-es/submodules/endpoints/util-endpoints}/lib/uriEncode.js +0 -0
  3506. /package/node_modules/@smithy/{util-endpoints/dist-es → core/dist-es/submodules/endpoints/util-endpoints}/resolveEndpoint.js +0 -0
  3507. /package/node_modules/@smithy/{util-endpoints/dist-es → core/dist-es/submodules/endpoints/util-endpoints}/types/EndpointError.js +0 -0
  3508. /package/node_modules/@smithy/{util-endpoints/dist-es → core/dist-es/submodules/endpoints/util-endpoints}/types/EndpointFunctions.js +0 -0
  3509. /package/node_modules/@smithy/{util-endpoints/dist-es → core/dist-es/submodules/endpoints/util-endpoints}/types/EndpointRuleObject.js +0 -0
  3510. /package/node_modules/@smithy/{util-endpoints/dist-es → core/dist-es/submodules/endpoints/util-endpoints}/types/ErrorRuleObject.js +0 -0
  3511. /package/node_modules/@smithy/{util-endpoints/dist-es → core/dist-es/submodules/endpoints/util-endpoints}/types/RuleSetObject.js +0 -0
  3512. /package/node_modules/@smithy/{util-endpoints/dist-es → core/dist-es/submodules/endpoints/util-endpoints}/types/TreeRuleObject.js +0 -0
  3513. /package/node_modules/@smithy/{util-endpoints/dist-es → core/dist-es/submodules/endpoints/util-endpoints}/types/index.js +0 -0
  3514. /package/node_modules/@smithy/{util-endpoints/dist-es → core/dist-es/submodules/endpoints/util-endpoints}/types/shared.js +0 -0
  3515. /package/node_modules/@smithy/{util-endpoints/dist-es → core/dist-es/submodules/endpoints/util-endpoints}/utils/callFunction.js +0 -0
  3516. /package/node_modules/@smithy/{util-endpoints/dist-es → core/dist-es/submodules/endpoints/util-endpoints}/utils/customEndpointFunctions.js +0 -0
  3517. /package/node_modules/@smithy/{util-endpoints/dist-es → core/dist-es/submodules/endpoints/util-endpoints}/utils/endpointFunctions.js +0 -0
  3518. /package/node_modules/@smithy/{util-endpoints/dist-es → core/dist-es/submodules/endpoints/util-endpoints}/utils/evaluateCondition.js +0 -0
  3519. /package/node_modules/@smithy/{util-endpoints/dist-es → core/dist-es/submodules/endpoints/util-endpoints}/utils/evaluateConditions.js +0 -0
  3520. /package/node_modules/@smithy/{util-endpoints/dist-es → core/dist-es/submodules/endpoints/util-endpoints}/utils/evaluateEndpointRule.js +0 -0
  3521. /package/node_modules/@smithy/{util-endpoints/dist-es → core/dist-es/submodules/endpoints/util-endpoints}/utils/evaluateErrorRule.js +0 -0
  3522. /package/node_modules/@smithy/{util-endpoints/dist-es → core/dist-es/submodules/endpoints/util-endpoints}/utils/evaluateRules.js +0 -0
  3523. /package/node_modules/@smithy/{util-endpoints/dist-es → core/dist-es/submodules/endpoints/util-endpoints}/utils/evaluateTemplate.js +0 -0
  3524. /package/node_modules/@smithy/{util-endpoints/dist-es → core/dist-es/submodules/endpoints/util-endpoints}/utils/evaluateTreeRule.js +0 -0
  3525. /package/node_modules/@smithy/{util-endpoints/dist-es → core/dist-es/submodules/endpoints/util-endpoints}/utils/getEndpointHeaders.js +0 -0
  3526. /package/node_modules/@smithy/{util-endpoints/dist-es → core/dist-es/submodules/endpoints/util-endpoints}/utils/getEndpointProperties.js +0 -0
  3527. /package/node_modules/@smithy/{util-endpoints/dist-es → core/dist-es/submodules/endpoints/util-endpoints}/utils/getEndpointProperty.js +0 -0
  3528. /package/node_modules/@smithy/{util-endpoints/dist-es → core/dist-es/submodules/endpoints/util-endpoints}/utils/getEndpointUrl.js +0 -0
  3529. /package/node_modules/@smithy/{util-endpoints/dist-es → core/dist-es/submodules/endpoints/util-endpoints}/utils/getReferenceValue.js +0 -0
  3530. /package/node_modules/@smithy/{util-endpoints/dist-es → core/dist-es/submodules/endpoints/util-endpoints}/utils/index.js +0 -0
  3531. /package/node_modules/@smithy/{eventstream-codec/dist-es → core/dist-es/submodules/event-streams/eventstream-codec}/EventStreamCodec.js +0 -0
  3532. /package/node_modules/@smithy/{eventstream-codec/dist-es → core/dist-es/submodules/event-streams/eventstream-codec}/Message.js +0 -0
  3533. /package/node_modules/@smithy/{eventstream-codec/dist-es → core/dist-es/submodules/event-streams/eventstream-codec}/MessageDecoderStream.js +0 -0
  3534. /package/node_modules/@smithy/{eventstream-codec/dist-es → core/dist-es/submodules/event-streams/eventstream-codec}/MessageEncoderStream.js +0 -0
  3535. /package/node_modules/@smithy/{eventstream-codec/dist-es → core/dist-es/submodules/event-streams/eventstream-codec}/SmithyMessageDecoderStream.js +0 -0
  3536. /package/node_modules/@smithy/{eventstream-codec/dist-es → core/dist-es/submodules/event-streams/eventstream-codec}/SmithyMessageEncoderStream.js +0 -0
  3537. /package/node_modules/@smithy/{eventstream-codec/dist-es → core/dist-es/submodules/event-streams/eventstream-codec}/TestVectors.fixture.js +0 -0
  3538. /package/node_modules/@smithy/{eventstream-codec/dist-es → core/dist-es/submodules/event-streams/eventstream-codec}/splitMessage.js +0 -0
  3539. /package/node_modules/@smithy/{eventstream-codec/dist-es → core/dist-es/submodules/event-streams/eventstream-codec}/vectorTypes.fixture.js +0 -0
  3540. /package/node_modules/@smithy/{eventstream-serde-config-resolver/dist-es → core/dist-es/submodules/event-streams/eventstream-serde-config-resolver}/EventStreamSerdeConfig.js +0 -0
  3541. /package/node_modules/@smithy/{eventstream-serde-universal/dist-es → core/dist-es/submodules/event-streams/eventstream-serde-universal}/getChunkedStream.js +0 -0
  3542. /package/node_modules/@smithy/{eventstream-serde-universal/dist-es → core/dist-es/submodules/event-streams/eventstream-serde-universal}/getUnmarshalledStream.js +0 -0
  3543. /package/node_modules/@smithy/{protocol-http/dist-es → core/dist-es/submodules/protocols/protocol-http}/Field.js +0 -0
  3544. /package/node_modules/@smithy/{protocol-http/dist-es → core/dist-es/submodules/protocols/protocol-http}/Fields.js +0 -0
  3545. /package/node_modules/@smithy/{protocol-http/dist-es → core/dist-es/submodules/protocols/protocol-http}/extensions/httpExtensionConfiguration.js +0 -0
  3546. /package/node_modules/@smithy/{protocol-http/dist-es → core/dist-es/submodules/protocols/protocol-http}/httpHandler.js +0 -0
  3547. /package/node_modules/@smithy/{protocol-http/dist-es → core/dist-es/submodules/protocols/protocol-http}/httpRequest.js +0 -0
  3548. /package/node_modules/@smithy/{protocol-http/dist-es → core/dist-es/submodules/protocols/protocol-http}/httpResponse.js +0 -0
  3549. /package/node_modules/@smithy/{protocol-http/dist-es → core/dist-es/submodules/protocols/protocol-http}/isValidHostname.js +0 -0
  3550. /package/node_modules/@smithy/{protocol-http/dist-es → core/dist-es/submodules/protocols/protocol-http}/types.js +0 -0
  3551. /package/node_modules/@smithy/{querystring-parser/dist-es/index.js → core/dist-es/submodules/protocols/querystring-parser/parseQueryString.js} +0 -0
  3552. /package/node_modules/@smithy/{util-uri-escape/dist-es → core/dist-es/submodules/protocols/util-uri-escape}/escape-uri-path.js +0 -0
  3553. /package/node_modules/@smithy/{util-uri-escape/dist-es → core/dist-es/submodules/protocols/util-uri-escape}/escape-uri.js +0 -0
  3554. /package/node_modules/@smithy/{middleware-retry/dist-es → core/dist-es/submodules/retry/middleware-retry}/isStreamingPayload/isStreamingPayload.browser.js +0 -0
  3555. /package/node_modules/@smithy/{middleware-retry/dist-es → core/dist-es/submodules/retry/middleware-retry}/longPollMiddleware.js +0 -0
  3556. /package/node_modules/@smithy/{shared-ini-file-loader/dist-es → core/dist-es/submodules/retry/middleware-retry/retry-pre-sra-deprecated}/types.js +0 -0
  3557. /package/node_modules/@smithy/{middleware-retry/dist-es → core/dist-es/submodules/retry/middleware-retry}/util.js +0 -0
  3558. /package/node_modules/@smithy/{service-error-classification/dist-es → core/dist-es/submodules/retry/service-error-classification}/constants.js +0 -0
  3559. /package/node_modules/@smithy/{service-error-classification/dist-es/index.js → core/dist-es/submodules/retry/service-error-classification/service-error-classification.js} +0 -0
  3560. /package/node_modules/@smithy/{util-retry/dist-es → core/dist-es/submodules/retry/util-retry}/DefaultRetryBackoffStrategy.js +0 -0
  3561. /package/node_modules/@smithy/{util-retry/dist-es → core/dist-es/submodules/retry/util-retry}/DefaultRetryToken.js +0 -0
  3562. /package/node_modules/@smithy/{util-retry/dist-es → core/dist-es/submodules/retry/util-retry}/config.js +0 -0
  3563. /package/node_modules/@smithy/{util-retry/dist-es → core/dist-es/submodules/retry/util-retry}/constants.js +0 -0
  3564. /package/node_modules/@smithy/{util-retry/dist-es → core/dist-es/submodules/retry/util-retry}/retries-2026-config.js +0 -0
  3565. /package/node_modules/@smithy/{util-retry/dist-es → core/dist-es/submodules/retry/util-retry}/types.js +0 -0
  3566. /package/node_modules/{@aws-crypto/sha256-browser/node_modules/@smithy/is-array-buffer/dist-es/index.js → @smithy/core/dist-es/submodules/serde/is-array-buffer/is-array-buffer.js} +0 -0
  3567. /package/node_modules/@smithy/{middleware-serde/dist-es → core/dist-es/submodules/serde/middleware-serde}/serdePlugin.js +0 -0
  3568. /package/node_modules/@smithy/{middleware-serde/dist-es → core/dist-es/submodules/serde/middleware-serde}/serializerMiddleware.js +0 -0
  3569. /package/node_modules/@smithy/{util-base64/dist-es/constants.browser.js → core/dist-es/submodules/serde/util-base64/constants-for-browser.js} +0 -0
  3570. /package/node_modules/@smithy/{util-body-length-browser/dist-es/calculateBodyLength.js → core/dist-es/submodules/serde/util-body-length/calculateBodyLength.browser.js} +0 -0
  3571. /package/node_modules/@smithy/{util-hex-encoding/dist-es/index.js → core/dist-es/submodules/serde/util-hex-encoding/hex-encoding.js} +0 -0
  3572. /package/node_modules/@smithy/{util-stream/dist-es → core/dist-es/submodules/serde/util-stream}/ByteArrayCollector.js +0 -0
  3573. /package/node_modules/@smithy/{util-stream/dist-es → core/dist-es/submodules/serde/util-stream}/checksum/ChecksumStream.browser.js +0 -0
  3574. /package/node_modules/@smithy/{util-stream/dist-es/createBufferedReadableStream.js → core/dist-es/submodules/serde/util-stream/createBufferedReadable.browser.js} +0 -0
  3575. /package/node_modules/@smithy/{util-stream/dist-es → core/dist-es/submodules/serde/util-stream}/getAwsChunkedEncodingStream.browser.js +0 -0
  3576. /package/node_modules/@smithy/{util-stream/dist-es → core/dist-es/submodules/serde/util-stream}/getAwsChunkedEncodingStream.js +0 -0
  3577. /package/node_modules/@smithy/{util-stream/dist-es → core/dist-es/submodules/serde/util-stream}/headStream.browser.js +0 -0
  3578. /package/node_modules/@smithy/{util-stream/dist-es → core/dist-es/submodules/serde/util-stream}/splitStream.browser.js +0 -0
  3579. /package/node_modules/@smithy/{util-stream/dist-es → core/dist-es/submodules/serde/util-stream}/stream-type-check.js +0 -0
  3580. /package/node_modules/{@aws-crypto/sha256-browser/node_modules/@smithy/util-utf8/dist-es → @smithy/core/dist-es/submodules/serde/util-utf8}/fromUtf8.browser.js +0 -0
  3581. /package/node_modules/{@aws-crypto/sha256-browser/node_modules/@smithy/util-utf8/dist-es → @smithy/core/dist-es/submodules/serde/util-utf8}/toUint8Array.js +0 -0
  3582. /package/node_modules/{@aws-crypto/sha256-browser/node_modules/@smithy/util-utf8/dist-es → @smithy/core/dist-es/submodules/serde/util-utf8}/toUtf8.browser.js +0 -0
  3583. /package/node_modules/@smithy/{invalid-dependency/dist-types → core/dist-types/submodules/client/invalid-dependency}/invalidFunction.d.ts +0 -0
  3584. /package/node_modules/@smithy/{invalid-dependency/dist-types → core/dist-types/submodules/client/invalid-dependency}/invalidProvider.d.ts +0 -0
  3585. /package/node_modules/@smithy/{middleware-stack/dist-types → core/dist-types/submodules/client/middleware-stack}/MiddlewareStack.d.ts +0 -0
  3586. /package/node_modules/@smithy/{middleware-stack/dist-types → core/dist-types/submodules/client/middleware-stack}/types.d.ts +0 -0
  3587. /package/node_modules/@smithy/{smithy-client/dist-types → core/dist-types/submodules/client/smithy-client}/NoOpLogger.d.ts +0 -0
  3588. /package/node_modules/@smithy/{smithy-client/dist-types → core/dist-types/submodules/client/smithy-client}/constants.d.ts +0 -0
  3589. /package/node_modules/@smithy/{smithy-client/dist-types → core/dist-types/submodules/client/smithy-client}/defaults-mode.d.ts +0 -0
  3590. /package/node_modules/@smithy/{smithy-client/dist-types → core/dist-types/submodules/client/smithy-client}/extensions/retry.d.ts +0 -0
  3591. /package/node_modules/@smithy/{smithy-client/dist-types → core/dist-types/submodules/client/smithy-client}/is-serializable-header-value.d.ts +0 -0
  3592. /package/node_modules/@smithy/{smithy-client/dist-types → core/dist-types/submodules/client/smithy-client}/schemaLogFilter.d.ts +0 -0
  3593. /package/node_modules/@smithy/{util-middleware/dist-types → core/dist-types/submodules/client/util-middleware}/normalizeProvider.d.ts +0 -0
  3594. /package/node_modules/@smithy/{config-resolver/dist-types → core/dist-types/submodules/config/config-resolver}/endpointsConfig/resolveCustomEndpointsConfig.d.ts +0 -0
  3595. /package/node_modules/@smithy/{config-resolver/dist-types → core/dist-types/submodules/config/config-resolver}/endpointsConfig/utils/getEndpointFromRegion.d.ts +0 -0
  3596. /package/node_modules/@smithy/{config-resolver/dist-types → core/dist-types/submodules/config/config-resolver}/regionConfig/checkRegion.d.ts +0 -0
  3597. /package/node_modules/@smithy/{config-resolver/dist-types → core/dist-types/submodules/config/config-resolver}/regionConfig/getRealRegion.d.ts +0 -0
  3598. /package/node_modules/@smithy/{config-resolver/dist-types → core/dist-types/submodules/config/config-resolver}/regionConfig/isFipsRegion.d.ts +0 -0
  3599. /package/node_modules/@smithy/{config-resolver/dist-types → core/dist-types/submodules/config/config-resolver}/regionConfig/resolveRegionConfig.d.ts +0 -0
  3600. /package/node_modules/@smithy/{config-resolver/dist-types → core/dist-types/submodules/config/config-resolver}/regionInfo/EndpointVariant.d.ts +0 -0
  3601. /package/node_modules/@smithy/{config-resolver/dist-types → core/dist-types/submodules/config/config-resolver}/regionInfo/EndpointVariantTag.d.ts +0 -0
  3602. /package/node_modules/@smithy/{config-resolver/dist-types → core/dist-types/submodules/config/config-resolver}/regionInfo/PartitionHash.d.ts +0 -0
  3603. /package/node_modules/@smithy/{config-resolver/dist-types → core/dist-types/submodules/config/config-resolver}/regionInfo/RegionHash.d.ts +0 -0
  3604. /package/node_modules/@smithy/{config-resolver/dist-types → core/dist-types/submodules/config/config-resolver}/regionInfo/getHostnameFromVariants.d.ts +0 -0
  3605. /package/node_modules/@smithy/{config-resolver/dist-types → core/dist-types/submodules/config/config-resolver}/regionInfo/getRegionInfo.d.ts +0 -0
  3606. /package/node_modules/@smithy/{config-resolver/dist-types → core/dist-types/submodules/config/config-resolver}/regionInfo/getResolvedHostname.d.ts +0 -0
  3607. /package/node_modules/@smithy/{config-resolver/dist-types → core/dist-types/submodules/config/config-resolver}/regionInfo/getResolvedPartition.d.ts +0 -0
  3608. /package/node_modules/@smithy/{config-resolver/dist-types → core/dist-types/submodules/config/config-resolver}/regionInfo/getResolvedSigningRegion.d.ts +0 -0
  3609. /package/node_modules/@smithy/{util-defaults-mode-node/dist-types → core/dist-types/submodules/config/defaults-mode}/constants.d.ts +0 -0
  3610. /package/node_modules/@smithy/{node-config-provider/dist-types → core/dist-types/submodules/config/node-config-provider}/fromEnv.d.ts +0 -0
  3611. /package/node_modules/@smithy/{node-config-provider/dist-types → core/dist-types/submodules/config/node-config-provider}/fromStatic.d.ts +0 -0
  3612. /package/node_modules/@smithy/{node-config-provider/dist-types → core/dist-types/submodules/config/node-config-provider}/getSelectorName.d.ts +0 -0
  3613. /package/node_modules/@smithy/{property-provider/dist-types → core/dist-types/submodules/config/property-provider}/memoize.d.ts +0 -0
  3614. /package/node_modules/@smithy/{shared-ini-file-loader/dist-types → core/dist-types/submodules/config/shared-ini-file-loader}/constants.d.ts +0 -0
  3615. /package/node_modules/@smithy/{shared-ini-file-loader/dist-types → core/dist-types/submodules/config/shared-ini-file-loader}/externalDataInterceptor.d.ts +0 -0
  3616. /package/node_modules/@smithy/{shared-ini-file-loader/dist-types → core/dist-types/submodules/config/shared-ini-file-loader}/getConfigFilepath.d.ts +0 -0
  3617. /package/node_modules/@smithy/{shared-ini-file-loader/dist-types → core/dist-types/submodules/config/shared-ini-file-loader}/getCredentialsFilepath.d.ts +0 -0
  3618. /package/node_modules/@smithy/{shared-ini-file-loader/dist-types → core/dist-types/submodules/config/shared-ini-file-loader}/getHomeDir.d.ts +0 -0
  3619. /package/node_modules/@smithy/{shared-ini-file-loader/dist-types → core/dist-types/submodules/config/shared-ini-file-loader}/getProfileName.d.ts +0 -0
  3620. /package/node_modules/@smithy/{shared-ini-file-loader/dist-types → core/dist-types/submodules/config/shared-ini-file-loader}/getSSOTokenFilepath.d.ts +0 -0
  3621. /package/node_modules/@smithy/{shared-ini-file-loader/dist-types → core/dist-types/submodules/config/shared-ini-file-loader}/loadSharedConfigFiles.d.ts +0 -0
  3622. /package/node_modules/@smithy/{shared-ini-file-loader/dist-types → core/dist-types/submodules/config/shared-ini-file-loader}/loadSsoSessionData.d.ts +0 -0
  3623. /package/node_modules/@smithy/{shared-ini-file-loader/dist-types → core/dist-types/submodules/config/shared-ini-file-loader}/mergeConfigFiles.d.ts +0 -0
  3624. /package/node_modules/@smithy/{shared-ini-file-loader/dist-types → core/dist-types/submodules/config/shared-ini-file-loader}/readFile.d.ts +0 -0
  3625. /package/node_modules/@smithy/{shared-ini-file-loader/dist-types → core/dist-types/submodules/config/shared-ini-file-loader}/types.d.ts +0 -0
  3626. /package/node_modules/@smithy/{util-config-provider/dist-types → core/dist-types/submodules/config/util-config-provider}/booleanSelector.d.ts +0 -0
  3627. /package/node_modules/@smithy/{util-config-provider/dist-types → core/dist-types/submodules/config/util-config-provider}/numberSelector.d.ts +0 -0
  3628. /package/node_modules/@smithy/{util-config-provider/dist-types → core/dist-types/submodules/config/util-config-provider}/types.d.ts +0 -0
  3629. /package/node_modules/@smithy/{middleware-endpoint/dist-types → core/dist-types/submodules/endpoints/middleware-endpoint}/adaptors/createConfigValueProvider.d.ts +0 -0
  3630. /package/node_modules/@smithy/{middleware-endpoint/dist-types → core/dist-types/submodules/endpoints/middleware-endpoint}/adaptors/getEndpointFromConfig.d.ts +0 -0
  3631. /package/node_modules/@smithy/{middleware-endpoint/dist-types → core/dist-types/submodules/endpoints/middleware-endpoint}/resolveEndpointRequiredConfig.d.ts +0 -0
  3632. /package/node_modules/@smithy/{middleware-endpoint/dist-types → core/dist-types/submodules/endpoints/middleware-endpoint}/service-customizations/index.d.ts +0 -0
  3633. /package/node_modules/@smithy/{middleware-endpoint/dist-types → core/dist-types/submodules/endpoints/middleware-endpoint}/service-customizations/s3.d.ts +0 -0
  3634. /package/node_modules/@smithy/{middleware-endpoint/dist-types → core/dist-types/submodules/endpoints/middleware-endpoint}/types.d.ts +0 -0
  3635. /package/node_modules/@smithy/{util-endpoints/dist-types → core/dist-types/submodules/endpoints/util-endpoints}/bdd/BinaryDecisionDiagram.d.ts +0 -0
  3636. /package/node_modules/@smithy/{util-endpoints/dist-types → core/dist-types/submodules/endpoints/util-endpoints}/debug/debugId.d.ts +0 -0
  3637. /package/node_modules/@smithy/{util-endpoints/dist-types → core/dist-types/submodules/endpoints/util-endpoints}/debug/index.d.ts +0 -0
  3638. /package/node_modules/@smithy/{util-endpoints/dist-types → core/dist-types/submodules/endpoints/util-endpoints}/debug/toDebugString.d.ts +0 -0
  3639. /package/node_modules/@smithy/{util-endpoints/dist-types → core/dist-types/submodules/endpoints/util-endpoints}/lib/booleanEquals.d.ts +0 -0
  3640. /package/node_modules/@smithy/{util-endpoints/dist-types → core/dist-types/submodules/endpoints/util-endpoints}/lib/coalesce.d.ts +0 -0
  3641. /package/node_modules/@smithy/{util-endpoints/dist-types → core/dist-types/submodules/endpoints/util-endpoints}/lib/getAttr.d.ts +0 -0
  3642. /package/node_modules/@smithy/{util-endpoints/dist-types → core/dist-types/submodules/endpoints/util-endpoints}/lib/getAttrPathList.d.ts +0 -0
  3643. /package/node_modules/@smithy/{util-endpoints/dist-types → core/dist-types/submodules/endpoints/util-endpoints}/lib/index.d.ts +0 -0
  3644. /package/node_modules/@smithy/{util-endpoints/dist-types → core/dist-types/submodules/endpoints/util-endpoints}/lib/isIpAddress.d.ts +0 -0
  3645. /package/node_modules/@smithy/{util-endpoints/dist-types → core/dist-types/submodules/endpoints/util-endpoints}/lib/isSet.d.ts +0 -0
  3646. /package/node_modules/@smithy/{util-endpoints/dist-types → core/dist-types/submodules/endpoints/util-endpoints}/lib/isValidHostLabel.d.ts +0 -0
  3647. /package/node_modules/@smithy/{util-endpoints/dist-types → core/dist-types/submodules/endpoints/util-endpoints}/lib/ite.d.ts +0 -0
  3648. /package/node_modules/@smithy/{util-endpoints/dist-types → core/dist-types/submodules/endpoints/util-endpoints}/lib/not.d.ts +0 -0
  3649. /package/node_modules/@smithy/{util-endpoints/dist-types → core/dist-types/submodules/endpoints/util-endpoints}/lib/split.d.ts +0 -0
  3650. /package/node_modules/@smithy/{util-endpoints/dist-types → core/dist-types/submodules/endpoints/util-endpoints}/lib/stringEquals.d.ts +0 -0
  3651. /package/node_modules/@smithy/{util-endpoints/dist-types → core/dist-types/submodules/endpoints/util-endpoints}/lib/substring.d.ts +0 -0
  3652. /package/node_modules/@smithy/{util-endpoints/dist-types → core/dist-types/submodules/endpoints/util-endpoints}/lib/uriEncode.d.ts +0 -0
  3653. /package/node_modules/@smithy/{util-endpoints/dist-types → core/dist-types/submodules/endpoints/util-endpoints}/types/EndpointError.d.ts +0 -0
  3654. /package/node_modules/@smithy/{util-endpoints/dist-types → core/dist-types/submodules/endpoints/util-endpoints}/types/EndpointFunctions.d.ts +0 -0
  3655. /package/node_modules/@smithy/{util-endpoints/dist-types → core/dist-types/submodules/endpoints/util-endpoints}/types/EndpointRuleObject.d.ts +0 -0
  3656. /package/node_modules/@smithy/{util-endpoints/dist-types → core/dist-types/submodules/endpoints/util-endpoints}/types/ErrorRuleObject.d.ts +0 -0
  3657. /package/node_modules/@smithy/{util-endpoints/dist-types → core/dist-types/submodules/endpoints/util-endpoints}/types/RuleSetObject.d.ts +0 -0
  3658. /package/node_modules/@smithy/{util-endpoints/dist-types → core/dist-types/submodules/endpoints/util-endpoints}/types/TreeRuleObject.d.ts +0 -0
  3659. /package/node_modules/@smithy/{util-endpoints/dist-types → core/dist-types/submodules/endpoints/util-endpoints}/types/index.d.ts +0 -0
  3660. /package/node_modules/@smithy/{util-endpoints/dist-types → core/dist-types/submodules/endpoints/util-endpoints}/types/shared.d.ts +0 -0
  3661. /package/node_modules/@smithy/{util-endpoints/dist-types → core/dist-types/submodules/endpoints/util-endpoints}/utils/callFunction.d.ts +0 -0
  3662. /package/node_modules/@smithy/{util-endpoints/dist-types → core/dist-types/submodules/endpoints/util-endpoints}/utils/customEndpointFunctions.d.ts +0 -0
  3663. /package/node_modules/@smithy/{util-endpoints/dist-types → core/dist-types/submodules/endpoints/util-endpoints}/utils/endpointFunctions.d.ts +0 -0
  3664. /package/node_modules/@smithy/{util-endpoints/dist-types → core/dist-types/submodules/endpoints/util-endpoints}/utils/evaluateConditions.d.ts +0 -0
  3665. /package/node_modules/@smithy/{util-endpoints/dist-types → core/dist-types/submodules/endpoints/util-endpoints}/utils/evaluateEndpointRule.d.ts +0 -0
  3666. /package/node_modules/@smithy/{util-endpoints/dist-types → core/dist-types/submodules/endpoints/util-endpoints}/utils/evaluateTemplate.d.ts +0 -0
  3667. /package/node_modules/@smithy/{util-endpoints/dist-types → core/dist-types/submodules/endpoints/util-endpoints}/utils/evaluateTreeRule.d.ts +0 -0
  3668. /package/node_modules/@smithy/{util-endpoints/dist-types → core/dist-types/submodules/endpoints/util-endpoints}/utils/getEndpointProperty.d.ts +0 -0
  3669. /package/node_modules/@smithy/{util-endpoints/dist-types → core/dist-types/submodules/endpoints/util-endpoints}/utils/getReferenceValue.d.ts +0 -0
  3670. /package/node_modules/@smithy/{util-endpoints/dist-types → core/dist-types/submodules/endpoints/util-endpoints}/utils/index.d.ts +0 -0
  3671. /package/node_modules/@smithy/{eventstream-codec/dist-types → core/dist-types/submodules/event-streams/eventstream-codec}/HeaderMarshaller.d.ts +0 -0
  3672. /package/node_modules/@smithy/{eventstream-codec/dist-types → core/dist-types/submodules/event-streams/eventstream-codec}/Int64.d.ts +0 -0
  3673. /package/node_modules/@smithy/{eventstream-codec/dist-types → core/dist-types/submodules/event-streams/eventstream-codec}/Message.d.ts +0 -0
  3674. /package/node_modules/@smithy/{eventstream-codec/dist-types → core/dist-types/submodules/event-streams/eventstream-codec}/MessageDecoderStream.d.ts +0 -0
  3675. /package/node_modules/@smithy/{eventstream-codec/dist-types → core/dist-types/submodules/event-streams/eventstream-codec}/MessageEncoderStream.d.ts +0 -0
  3676. /package/node_modules/@smithy/{eventstream-codec/dist-types → core/dist-types/submodules/event-streams/eventstream-codec}/SmithyMessageDecoderStream.d.ts +0 -0
  3677. /package/node_modules/@smithy/{eventstream-codec/dist-types → core/dist-types/submodules/event-streams/eventstream-codec}/SmithyMessageEncoderStream.d.ts +0 -0
  3678. /package/node_modules/@smithy/{eventstream-codec/dist-types → core/dist-types/submodules/event-streams/eventstream-codec}/TestVectors.fixture.d.ts +0 -0
  3679. /package/node_modules/@smithy/{eventstream-codec/dist-types → core/dist-types/submodules/event-streams/eventstream-codec}/splitMessage.d.ts +0 -0
  3680. /package/node_modules/@smithy/{eventstream-codec/dist-types → core/dist-types/submodules/event-streams/eventstream-codec}/vectorTypes.fixture.d.ts +0 -0
  3681. /package/node_modules/@smithy/{eventstream-serde-config-resolver/dist-types → core/dist-types/submodules/event-streams/eventstream-serde-config-resolver}/EventStreamSerdeConfig.d.ts +0 -0
  3682. /package/node_modules/@smithy/{eventstream-serde-universal/dist-types → core/dist-types/submodules/event-streams/eventstream-serde-universal}/getChunkedStream.d.ts +0 -0
  3683. /package/node_modules/@smithy/{middleware-content-length/dist-types/index.d.ts → core/dist-types/submodules/protocols/middleware-content-length/contentLengthMiddleware.d.ts} +0 -0
  3684. /package/node_modules/@smithy/{protocol-http/dist-types → core/dist-types/submodules/protocols/protocol-http}/Fields.d.ts +0 -0
  3685. /package/node_modules/@smithy/{protocol-http/dist-types → core/dist-types/submodules/protocols/protocol-http}/httpResponse.d.ts +0 -0
  3686. /package/node_modules/@smithy/{protocol-http/dist-types → core/dist-types/submodules/protocols/protocol-http}/isValidHostname.d.ts +0 -0
  3687. /package/node_modules/@smithy/{protocol-http/dist-types → core/dist-types/submodules/protocols/protocol-http}/types.d.ts +0 -0
  3688. /package/node_modules/@smithy/{querystring-builder/dist-types/index.d.ts → core/dist-types/submodules/protocols/querystring-builder/buildQueryString.d.ts} +0 -0
  3689. /package/node_modules/@smithy/{querystring-parser/dist-types/index.d.ts → core/dist-types/submodules/protocols/querystring-parser/parseQueryString.d.ts} +0 -0
  3690. /package/node_modules/@smithy/{url-parser/dist-types/index.d.ts → core/dist-types/submodules/protocols/url-parser/parseUrl.d.ts} +0 -0
  3691. /package/node_modules/@smithy/{util-uri-escape/dist-types → core/dist-types/submodules/protocols/util-uri-escape}/escape-uri-path.d.ts +0 -0
  3692. /package/node_modules/@smithy/{util-uri-escape/dist-types → core/dist-types/submodules/protocols/util-uri-escape}/escape-uri.d.ts +0 -0
  3693. /package/node_modules/@smithy/{middleware-retry/dist-types → core/dist-types/submodules/retry/middleware-retry}/longPollMiddleware.d.ts +0 -0
  3694. /package/node_modules/@smithy/{middleware-retry/dist-types → core/dist-types/submodules/retry/middleware-retry}/omitRetryHeadersMiddleware.d.ts +0 -0
  3695. /package/node_modules/@smithy/{middleware-retry/dist-types → core/dist-types/submodules/retry/middleware-retry}/parseRetryAfterHeader.d.ts +0 -0
  3696. /package/node_modules/@smithy/{middleware-retry/dist-types → core/dist-types/submodules/retry/middleware-retry}/retry-pre-sra-deprecated/StandardRetryStrategy.d.ts +0 -0
  3697. /package/node_modules/@smithy/{middleware-retry/dist-types → core/dist-types/submodules/retry/middleware-retry}/retry-pre-sra-deprecated/defaultRetryQuota.d.ts +0 -0
  3698. /package/node_modules/@smithy/{middleware-retry/dist-types → core/dist-types/submodules/retry/middleware-retry}/retry-pre-sra-deprecated/delayDecider.d.ts +0 -0
  3699. /package/node_modules/@smithy/{middleware-retry/dist-types → core/dist-types/submodules/retry/middleware-retry}/retry-pre-sra-deprecated/retryDecider.d.ts +0 -0
  3700. /package/node_modules/@smithy/{middleware-retry/dist-types → core/dist-types/submodules/retry/middleware-retry}/retry-pre-sra-deprecated/types.d.ts +0 -0
  3701. /package/node_modules/@smithy/{middleware-retry/dist-types → core/dist-types/submodules/retry/middleware-retry}/util.d.ts +0 -0
  3702. /package/node_modules/@smithy/{service-error-classification/dist-types → core/dist-types/submodules/retry/service-error-classification}/constants.d.ts +0 -0
  3703. /package/node_modules/@smithy/{service-error-classification/dist-types/index.d.ts → core/dist-types/submodules/retry/service-error-classification/service-error-classification.d.ts} +0 -0
  3704. /package/node_modules/@smithy/{util-retry/dist-types → core/dist-types/submodules/retry/util-retry}/ConfiguredRetryStrategy.d.ts +0 -0
  3705. /package/node_modules/@smithy/{util-retry/dist-types → core/dist-types/submodules/retry/util-retry}/DefaultRateLimiter.d.ts +0 -0
  3706. /package/node_modules/@smithy/{util-retry/dist-types → core/dist-types/submodules/retry/util-retry}/DefaultRetryBackoffStrategy.d.ts +0 -0
  3707. /package/node_modules/@smithy/{util-retry/dist-types → core/dist-types/submodules/retry/util-retry}/DefaultRetryToken.d.ts +0 -0
  3708. /package/node_modules/@smithy/{util-retry/dist-types → core/dist-types/submodules/retry/util-retry}/StandardRetryStrategy.d.ts +0 -0
  3709. /package/node_modules/@smithy/{util-retry/dist-types → core/dist-types/submodules/retry/util-retry}/config.d.ts +0 -0
  3710. /package/node_modules/@smithy/{util-retry/dist-types → core/dist-types/submodules/retry/util-retry}/types.d.ts +0 -0
  3711. /package/node_modules/@smithy/{hash-node/dist-types/index.d.ts → core/dist-types/submodules/serde/hash-node/hash-node.d.ts} +0 -0
  3712. /package/node_modules/{@aws-crypto/sha256-browser/node_modules/@smithy/is-array-buffer/dist-types/index.d.ts → @smithy/core/dist-types/submodules/serde/is-array-buffer/is-array-buffer.d.ts} +0 -0
  3713. /package/node_modules/@smithy/{middleware-serde/dist-types → core/dist-types/submodules/serde/middleware-serde}/deserializerMiddleware.d.ts +0 -0
  3714. /package/node_modules/@smithy/{middleware-serde/dist-types → core/dist-types/submodules/serde/middleware-serde}/serdePlugin.d.ts +0 -0
  3715. /package/node_modules/@smithy/{middleware-serde/dist-types → core/dist-types/submodules/serde/middleware-serde}/serializerMiddleware.d.ts +0 -0
  3716. /package/node_modules/@smithy/{util-base64/dist-types/constants.browser.d.ts → core/dist-types/submodules/serde/util-base64/constants-for-browser.d.ts} +0 -0
  3717. /package/node_modules/@smithy/{util-base64/dist-types → core/dist-types/submodules/serde/util-base64}/fromBase64.browser.d.ts +0 -0
  3718. /package/node_modules/@smithy/{util-base64/dist-types → core/dist-types/submodules/serde/util-base64}/fromBase64.d.ts +0 -0
  3719. /package/node_modules/@smithy/{util-base64/dist-types → core/dist-types/submodules/serde/util-base64}/toBase64.browser.d.ts +0 -0
  3720. /package/node_modules/@smithy/{util-base64/dist-types → core/dist-types/submodules/serde/util-base64}/toBase64.d.ts +0 -0
  3721. /package/node_modules/@smithy/{util-body-length-browser/dist-types/calculateBodyLength.d.ts → core/dist-types/submodules/serde/util-body-length/calculateBodyLength.browser.d.ts} +0 -0
  3722. /package/node_modules/@smithy/{util-body-length-node/dist-types → core/dist-types/submodules/serde/util-body-length}/calculateBodyLength.d.ts +0 -0
  3723. /package/node_modules/@smithy/{util-hex-encoding/dist-types/index.d.ts → core/dist-types/submodules/serde/util-hex-encoding/hex-encoding.d.ts} +0 -0
  3724. /package/node_modules/@smithy/{util-stream/dist-types → core/dist-types/submodules/serde/util-stream}/ByteArrayCollector.d.ts +0 -0
  3725. /package/node_modules/@smithy/{util-stream/dist-types → core/dist-types/submodules/serde/util-stream}/checksum/ChecksumStream.browser.d.ts +0 -0
  3726. /package/node_modules/@smithy/{util-stream/dist-types → core/dist-types/submodules/serde/util-stream}/getAwsChunkedEncodingStream.browser.d.ts +0 -0
  3727. /package/node_modules/@smithy/{util-stream/dist-types → core/dist-types/submodules/serde/util-stream}/headStream.browser.d.ts +0 -0
  3728. /package/node_modules/@smithy/{util-stream/dist-types → core/dist-types/submodules/serde/util-stream}/sdk-stream-mixin.browser.d.ts +0 -0
  3729. /package/node_modules/@smithy/{util-stream/dist-types → core/dist-types/submodules/serde/util-stream}/splitStream.browser.d.ts +0 -0
  3730. /package/node_modules/@smithy/{util-stream/dist-types → core/dist-types/submodules/serde/util-stream}/stream-type-check.d.ts +0 -0
  3731. /package/node_modules/{@aws-crypto/sha256-browser/node_modules/@smithy/util-utf8/dist-types → @smithy/core/dist-types/submodules/serde/util-utf8}/fromUtf8.browser.d.ts +0 -0
  3732. /package/node_modules/{@aws-crypto/sha256-browser/node_modules/@smithy/util-utf8/dist-types → @smithy/core/dist-types/submodules/serde/util-utf8}/fromUtf8.d.ts +0 -0
  3733. /package/node_modules/{@aws-crypto/sha256-browser/node_modules/@smithy/util-utf8/dist-types → @smithy/core/dist-types/submodules/serde/util-utf8}/toUint8Array.d.ts +0 -0
  3734. /package/node_modules/{@aws-crypto/sha256-browser/node_modules/@smithy/util-utf8/dist-types → @smithy/core/dist-types/submodules/serde/util-utf8}/toUtf8.browser.d.ts +0 -0
  3735. /package/node_modules/{@aws-crypto/sha256-browser/node_modules/@smithy/util-utf8/dist-types → @smithy/core/dist-types/submodules/serde/util-utf8}/toUtf8.d.ts +0 -0
  3736. /package/node_modules/{@aws-crypto/sha256-browser/node_modules/@smithy → @smithy}/util-utf8/dist-cjs/fromUtf8.browser.js +0 -0
  3737. /package/node_modules/{@aws-crypto/sha256-browser/node_modules/@smithy → @smithy}/util-utf8/dist-cjs/fromUtf8.js +0 -0
  3738. /package/node_modules/{@aws-crypto/sha256-browser/node_modules/@smithy → @smithy}/util-utf8/dist-cjs/toUint8Array.js +0 -0
  3739. /package/node_modules/{@aws-crypto/sha256-browser/node_modules/@smithy → @smithy}/util-utf8/dist-cjs/toUtf8.browser.js +0 -0
  3740. /package/node_modules/{@aws-crypto/sha256-browser/node_modules/@smithy → @smithy}/util-utf8/dist-cjs/toUtf8.js +0 -0
@@ -0,0 +1,4625 @@
1
+ /**
2
+ * Interactive mode for the coding agent.
3
+ * Handles TUI rendering and user interaction, delegating business logic to AgentSession.
4
+ */
5
+ import * as crypto from "node:crypto";
6
+ import * as fs from "node:fs";
7
+ import * as os from "node:os";
8
+ import * as path from "node:path";
9
+ import { getProviders, } from "@entelligentsia/pi-ai";
10
+ import { CombinedAutocompleteProvider, Container, fuzzyFilter, Loader, Markdown, matchesKey, ProcessTerminal, Spacer, setKeybindings, Text, TruncatedText, TUI, visibleWidth, } from "@entelligentsia/pi-tui";
11
+ import { spawn, spawnSync } from "child_process";
12
+ import { APP_NAME, APP_TITLE, getAgentDir, getAuthPath, getDebugLogPath, getDocsPath, getShareViewerUrl, VERSION, } from "../../config.js";
13
+ import { parseSkillBlock } from "../../core/agent-session.js";
14
+ import { SessionImportFileNotFoundError } from "../../core/agent-session-runtime.js";
15
+ import { FooterDataProvider } from "../../core/footer-data-provider.js";
16
+ import { KeybindingsManager } from "../../core/keybindings.js";
17
+ import { createCompactionSummaryMessage } from "../../core/messages.js";
18
+ import { defaultModelPerProvider, findExactModelReferenceMatch, resolveModelScope } from "../../core/model-resolver.js";
19
+ import { DefaultPackageManager } from "../../core/package-manager.js";
20
+ import { BUILT_IN_PROVIDER_DISPLAY_NAMES } from "../../core/provider-display-names.js";
21
+ import { formatMissingSessionCwdPrompt, MissingSessionCwdError } from "../../core/session-cwd.js";
22
+ import { SessionManager } from "../../core/session-manager.js";
23
+ import { BUILTIN_SLASH_COMMANDS } from "../../core/slash-commands.js";
24
+ import { isInstallTelemetryEnabled } from "../../core/telemetry.js";
25
+ import { getChangelogPath, getNewEntries, parseChangelog } from "../../utils/changelog.js";
26
+ import { copyToClipboard } from "../../utils/clipboard.js";
27
+ import { extensionForImageMimeType, readClipboardImage } from "../../utils/clipboard-image.js";
28
+ import { parseGitUrl } from "../../utils/git.js";
29
+ import { getCwdRelativePath } from "../../utils/paths.js";
30
+ import { getPiUserAgent } from "../../utils/pi-user-agent.js";
31
+ import { killTrackedDetachedChildren } from "../../utils/shell.js";
32
+ import { ensureTool } from "../../utils/tools-manager.js";
33
+ import { checkForNewPiVersion } from "../../utils/version-check.js";
34
+ import { ArminComponent } from "./components/armin.js";
35
+ import { AssistantMessageComponent } from "./components/assistant-message.js";
36
+ import { BashExecutionComponent } from "./components/bash-execution.js";
37
+ import { BorderedLoader } from "./components/bordered-loader.js";
38
+ import { BranchSummaryMessageComponent } from "./components/branch-summary-message.js";
39
+ import { CompactionSummaryMessageComponent } from "./components/compaction-summary-message.js";
40
+ import { CountdownTimer } from "./components/countdown-timer.js";
41
+ import { CustomEditor } from "./components/custom-editor.js";
42
+ import { CustomMessageComponent } from "./components/custom-message.js";
43
+ import { DaxnutsComponent } from "./components/daxnuts.js";
44
+ import { DynamicBorder } from "./components/dynamic-border.js";
45
+ import { EarendilAnnouncementComponent } from "./components/earendil-announcement.js";
46
+ import { ExtensionEditorComponent } from "./components/extension-editor.js";
47
+ import { ExtensionInputComponent } from "./components/extension-input.js";
48
+ import { ExtensionSelectorComponent } from "./components/extension-selector.js";
49
+ import { FooterComponent } from "./components/footer.js";
50
+ import { keyHint, keyText, rawKeyHint } from "./components/keybinding-hints.js";
51
+ import { LoginDialogComponent } from "./components/login-dialog.js";
52
+ import { ModelSelectorComponent } from "./components/model-selector.js";
53
+ import { OAuthSelectorComponent } from "./components/oauth-selector.js";
54
+ import { ScopedModelsSelectorComponent } from "./components/scoped-models-selector.js";
55
+ import { SessionSelectorComponent } from "./components/session-selector.js";
56
+ import { SettingsSelectorComponent } from "./components/settings-selector.js";
57
+ import { SkillInvocationMessageComponent } from "./components/skill-invocation-message.js";
58
+ import { ToolExecutionComponent } from "./components/tool-execution.js";
59
+ import { TreeSelectorComponent } from "./components/tree-selector.js";
60
+ import { UserMessageComponent } from "./components/user-message.js";
61
+ import { UserMessageSelectorComponent } from "./components/user-message-selector.js";
62
+ import { getAvailableThemes, getAvailableThemesWithPaths, getEditorTheme, getMarkdownTheme, getThemeByName, initTheme, onThemeChange, setRegisteredThemes, setTheme, setThemeInstance, stopThemeWatcher, Theme, theme, } from "./theme/theme.js";
63
+ function isExpandable(obj) {
64
+ return typeof obj === "object" && obj !== null && "setExpanded" in obj && typeof obj.setExpanded === "function";
65
+ }
66
+ class ExpandableText extends Text {
67
+ getCollapsedText;
68
+ getExpandedText;
69
+ constructor(getCollapsedText, getExpandedText, expanded = false, paddingX = 0, paddingY = 0) {
70
+ super(expanded ? getExpandedText() : getCollapsedText(), paddingX, paddingY);
71
+ this.getCollapsedText = getCollapsedText;
72
+ this.getExpandedText = getExpandedText;
73
+ }
74
+ setExpanded(expanded) {
75
+ this.setText(expanded ? this.getExpandedText() : this.getCollapsedText());
76
+ }
77
+ }
78
+ /**
79
+ * Container that can have its rendered output overridden by a single Component.
80
+ *
81
+ * Used for the chat output viewport. By default it renders its children (the
82
+ * normal message history). When `sourceOverride` is set, it delegates rendering
83
+ * to that component instead, while preserving the original children so the
84
+ * override can be cleared without rebuilding history.
85
+ *
86
+ * Drives the extension-side `ctx.ui.setOutputSource(component)` API — extensions
87
+ * that mount a swap-target (e.g. a thread-switcher viewing a subagent tail) can
88
+ * take over the main chat viewport on user command and restore it on dismiss.
89
+ */
90
+ class SourceOverridableContainer extends Container {
91
+ sourceOverride = null;
92
+ render(width) {
93
+ if (this.sourceOverride) {
94
+ return this.sourceOverride.render(width);
95
+ }
96
+ return super.render(width);
97
+ }
98
+ invalidate() {
99
+ this.sourceOverride?.invalidate?.();
100
+ super.invalidate();
101
+ }
102
+ }
103
+ const DEAD_TERMINAL_ERROR_CODES = new Set(["EIO", "EPIPE", "ENOTCONN"]);
104
+ function isDeadTerminalError(error) {
105
+ if (!error || typeof error !== "object" || !("code" in error)) {
106
+ return false;
107
+ }
108
+ const code = error.code;
109
+ return code !== undefined && DEAD_TERMINAL_ERROR_CODES.has(code);
110
+ }
111
+ const ANTHROPIC_SUBSCRIPTION_AUTH_WARNING = "Anthropic subscription auth is active. Third-party harness usage draws from extra usage and is billed per token, not your Claude plan limits. Manage extra usage at https://claude.ai/settings/usage.";
112
+ function isAnthropicSubscriptionAuthKey(apiKey) {
113
+ return typeof apiKey === "string" && apiKey.startsWith("sk-ant-oat");
114
+ }
115
+ function isUnknownModel(model) {
116
+ return !!model && model.provider === "unknown" && model.id === "unknown" && model.api === "unknown";
117
+ }
118
+ function hasDefaultModelProvider(providerId) {
119
+ return providerId in defaultModelPerProvider;
120
+ }
121
+ const BEDROCK_PROVIDER_ID = "amazon-bedrock";
122
+ const BUILT_IN_MODEL_PROVIDERS = new Set(getProviders());
123
+ export function isApiKeyLoginProvider(providerId, oauthProviderIds, builtInProviderIds = BUILT_IN_MODEL_PROVIDERS) {
124
+ if (BUILT_IN_PROVIDER_DISPLAY_NAMES[providerId]) {
125
+ return true;
126
+ }
127
+ if (builtInProviderIds.has(providerId)) {
128
+ return false;
129
+ }
130
+ return !oauthProviderIds.has(providerId);
131
+ }
132
+ export class InteractiveMode {
133
+ options;
134
+ runtimeHost;
135
+ ui;
136
+ chatContainer;
137
+ pendingMessagesContainer;
138
+ statusContainer;
139
+ defaultEditor;
140
+ editor;
141
+ editorComponentFactory;
142
+ autocompleteProvider;
143
+ autocompleteProviderWrappers = [];
144
+ fdPath;
145
+ editorContainer;
146
+ footer;
147
+ footerDataProvider;
148
+ // Stored so the same manager can be injected into custom editors, selectors, and extension UI.
149
+ keybindings;
150
+ version;
151
+ isInitialized = false;
152
+ onInputCallback;
153
+ loadingAnimation = undefined;
154
+ workingMessage = undefined;
155
+ workingVisible = true;
156
+ workingIndicatorOptions = undefined;
157
+ defaultWorkingMessage = "Working...";
158
+ defaultHiddenThinkingLabel = "Thinking...";
159
+ hiddenThinkingLabel = this.defaultHiddenThinkingLabel;
160
+ lastSigintTime = 0;
161
+ lastEscapeTime = 0;
162
+ changelogMarkdown = undefined;
163
+ startupNoticesShown = false;
164
+ anthropicSubscriptionWarningShown = false;
165
+ // Status line tracking (for mutating immediately-sequential status updates)
166
+ lastStatusSpacer = undefined;
167
+ lastStatusText = undefined;
168
+ // Streaming message tracking
169
+ streamingComponent = undefined;
170
+ streamingMessage = undefined;
171
+ // Tool execution tracking: toolCallId -> component
172
+ pendingTools = new Map();
173
+ // Tool output expansion state
174
+ toolOutputExpanded = false;
175
+ // Thinking block visibility state
176
+ hideThinkingBlock = false;
177
+ // Skill commands: command name -> skill file path
178
+ skillCommands = new Map();
179
+ // Agent subscription unsubscribe function
180
+ unsubscribe;
181
+ signalCleanupHandlers = [];
182
+ // Track if editor is in bash mode (text starts with !)
183
+ isBashMode = false;
184
+ // Track current bash execution component
185
+ bashComponent = undefined;
186
+ // Track pending bash components (shown in pending area, moved to chat on submit)
187
+ pendingBashComponents = [];
188
+ // Auto-compaction state
189
+ autoCompactionLoader = undefined;
190
+ autoCompactionEscapeHandler;
191
+ // Auto-retry state
192
+ retryLoader = undefined;
193
+ retryCountdown = undefined;
194
+ retryEscapeHandler;
195
+ // Messages queued while compaction is running
196
+ compactionQueuedMessages = [];
197
+ // Shutdown state
198
+ shutdownRequested = false;
199
+ // Extension UI state
200
+ extensionSelector = undefined;
201
+ extensionInput = undefined;
202
+ extensionEditor = undefined;
203
+ extensionTerminalInputUnsubscribers = new Set();
204
+ // Extension widgets (components rendered above/below the editor)
205
+ extensionWidgetsAbove = new Map();
206
+ extensionWidgetsBelow = new Map();
207
+ widgetContainerAbove;
208
+ widgetContainerBelow;
209
+ // Custom footer from extension (undefined = use built-in footer)
210
+ customFooter = undefined;
211
+ // Header container that holds the built-in or custom header
212
+ headerContainer;
213
+ // Built-in header (logo + keybinding hints + changelog)
214
+ builtInHeader = undefined;
215
+ // Custom header from extension (undefined = use built-in header)
216
+ customHeader = undefined;
217
+ // Convenience accessors
218
+ get session() {
219
+ return this.runtimeHost.session;
220
+ }
221
+ get agent() {
222
+ return this.session.agent;
223
+ }
224
+ get sessionManager() {
225
+ return this.session.sessionManager;
226
+ }
227
+ get settingsManager() {
228
+ return this.session.settingsManager;
229
+ }
230
+ constructor(runtimeHost, options = {}) {
231
+ this.options = options;
232
+ this.runtimeHost = runtimeHost;
233
+ this.runtimeHost.setBeforeSessionInvalidate(() => {
234
+ this.resetExtensionUI();
235
+ });
236
+ this.runtimeHost.setRebindSession(async () => {
237
+ await this.rebindCurrentSession();
238
+ });
239
+ this.version = VERSION;
240
+ this.ui = new TUI(new ProcessTerminal(), this.settingsManager.getShowHardwareCursor());
241
+ this.ui.setClearOnShrink(this.settingsManager.getClearOnShrink());
242
+ this.headerContainer = new Container();
243
+ this.chatContainer = new SourceOverridableContainer();
244
+ this.pendingMessagesContainer = new Container();
245
+ this.statusContainer = new Container();
246
+ this.widgetContainerAbove = new Container();
247
+ this.widgetContainerBelow = new Container();
248
+ this.keybindings = KeybindingsManager.create();
249
+ setKeybindings(this.keybindings);
250
+ const editorPaddingX = this.settingsManager.getEditorPaddingX();
251
+ const autocompleteMaxVisible = this.settingsManager.getAutocompleteMaxVisible();
252
+ this.defaultEditor = new CustomEditor(this.ui, getEditorTheme(), this.keybindings, {
253
+ paddingX: editorPaddingX,
254
+ autocompleteMaxVisible,
255
+ });
256
+ this.editor = this.defaultEditor;
257
+ this.editorContainer = new Container();
258
+ this.editorContainer.addChild(this.editor);
259
+ this.footerDataProvider = new FooterDataProvider(this.sessionManager.getCwd());
260
+ this.footer = new FooterComponent(this.session, this.footerDataProvider);
261
+ this.footer.setAutoCompactEnabled(this.session.autoCompactionEnabled);
262
+ // Load hide thinking block setting
263
+ this.hideThinkingBlock = this.settingsManager.getHideThinkingBlock();
264
+ // Register themes from resource loader and initialize
265
+ setRegisteredThemes(this.session.resourceLoader.getThemes().themes);
266
+ initTheme(this.settingsManager.getTheme(), true);
267
+ }
268
+ getAutocompleteSourceTag(sourceInfo) {
269
+ if (!sourceInfo) {
270
+ return undefined;
271
+ }
272
+ const scopePrefix = sourceInfo.scope === "user" ? "u" : sourceInfo.scope === "project" ? "p" : "t";
273
+ const source = sourceInfo.source.trim();
274
+ if (source === "auto" || source === "local" || source === "cli") {
275
+ return scopePrefix;
276
+ }
277
+ if (source.startsWith("npm:")) {
278
+ return `${scopePrefix}:${source}`;
279
+ }
280
+ const gitSource = parseGitUrl(source);
281
+ if (gitSource) {
282
+ const ref = gitSource.ref ? `@${gitSource.ref}` : "";
283
+ return `${scopePrefix}:git:${gitSource.host}/${gitSource.path}${ref}`;
284
+ }
285
+ return scopePrefix;
286
+ }
287
+ prefixAutocompleteDescription(description, sourceInfo) {
288
+ const sourceTag = this.getAutocompleteSourceTag(sourceInfo);
289
+ if (!sourceTag) {
290
+ return description;
291
+ }
292
+ return description ? `[${sourceTag}] ${description}` : `[${sourceTag}]`;
293
+ }
294
+ getBuiltInCommandConflictDiagnostics(extensionRunner) {
295
+ const builtinNames = new Set(BUILTIN_SLASH_COMMANDS.map((command) => command.name));
296
+ return extensionRunner
297
+ .getRegisteredCommands()
298
+ .filter((command) => builtinNames.has(command.name))
299
+ .map((command) => ({
300
+ type: "warning",
301
+ message: command.invocationName === command.name
302
+ ? `Extension command '/${command.name}' conflicts with built-in interactive command. Skipping in autocomplete.`
303
+ : `Extension command '/${command.name}' conflicts with built-in interactive command. Available as '/${command.invocationName}'.`,
304
+ path: command.sourceInfo.path,
305
+ }));
306
+ }
307
+ createBaseAutocompleteProvider() {
308
+ // Define commands for autocomplete
309
+ const slashCommands = BUILTIN_SLASH_COMMANDS.map((command) => ({
310
+ name: command.name,
311
+ description: command.description,
312
+ }));
313
+ const modelCommand = slashCommands.find((command) => command.name === "model");
314
+ if (modelCommand) {
315
+ modelCommand.getArgumentCompletions = (prefix) => {
316
+ // Get available models (scoped or from registry)
317
+ const models = this.session.scopedModels.length > 0
318
+ ? this.session.scopedModels.map((s) => s.model)
319
+ : this.session.modelRegistry.getAvailable();
320
+ if (models.length === 0)
321
+ return null;
322
+ // Create items with provider/id format
323
+ const items = models.map((m) => ({
324
+ id: m.id,
325
+ provider: m.provider,
326
+ label: `${m.provider}/${m.id}`,
327
+ }));
328
+ // Fuzzy filter by model ID + provider (allows "opus anthropic" to match)
329
+ const filtered = fuzzyFilter(items, prefix, (item) => `${item.id} ${item.provider}`);
330
+ if (filtered.length === 0)
331
+ return null;
332
+ return filtered.map((item) => ({
333
+ value: item.label,
334
+ label: item.id,
335
+ description: item.provider,
336
+ }));
337
+ };
338
+ }
339
+ // Convert prompt templates to SlashCommand format for autocomplete
340
+ const templateCommands = this.session.promptTemplates.map((cmd) => ({
341
+ name: cmd.name,
342
+ description: this.prefixAutocompleteDescription(cmd.description, cmd.sourceInfo),
343
+ ...(cmd.argumentHint && { argumentHint: cmd.argumentHint }),
344
+ }));
345
+ // Convert extension commands to SlashCommand format
346
+ const builtinCommandNames = new Set(slashCommands.map((c) => c.name));
347
+ const extensionCommands = this.session.extensionRunner
348
+ .getRegisteredCommands()
349
+ .filter((cmd) => !builtinCommandNames.has(cmd.name))
350
+ .map((cmd) => ({
351
+ name: cmd.invocationName,
352
+ description: this.prefixAutocompleteDescription(cmd.description, cmd.sourceInfo),
353
+ getArgumentCompletions: cmd.getArgumentCompletions,
354
+ }));
355
+ // Build skill commands from session.skills (if enabled)
356
+ this.skillCommands.clear();
357
+ const skillCommandList = [];
358
+ if (this.settingsManager.getEnableSkillCommands()) {
359
+ for (const skill of this.session.resourceLoader.getSkills().skills) {
360
+ const commandName = `skill:${skill.name}`;
361
+ this.skillCommands.set(commandName, skill.filePath);
362
+ skillCommandList.push({
363
+ name: commandName,
364
+ description: this.prefixAutocompleteDescription(skill.description, skill.sourceInfo),
365
+ });
366
+ }
367
+ }
368
+ return new CombinedAutocompleteProvider([...slashCommands, ...templateCommands, ...extensionCommands, ...skillCommandList], this.sessionManager.getCwd(), this.fdPath);
369
+ }
370
+ setupAutocompleteProvider() {
371
+ let provider = this.createBaseAutocompleteProvider();
372
+ for (const wrapProvider of this.autocompleteProviderWrappers) {
373
+ provider = wrapProvider(provider);
374
+ }
375
+ this.autocompleteProvider = provider;
376
+ this.defaultEditor.setAutocompleteProvider(provider);
377
+ if (this.editor !== this.defaultEditor) {
378
+ this.editor.setAutocompleteProvider?.(provider);
379
+ }
380
+ }
381
+ showStartupNoticesIfNeeded() {
382
+ if (this.startupNoticesShown) {
383
+ return;
384
+ }
385
+ this.startupNoticesShown = true;
386
+ if (!this.changelogMarkdown) {
387
+ return;
388
+ }
389
+ if (this.chatContainer.children.length > 0) {
390
+ this.chatContainer.addChild(new Spacer(1));
391
+ }
392
+ this.chatContainer.addChild(new DynamicBorder());
393
+ if (this.settingsManager.getCollapseChangelog()) {
394
+ const versionMatch = this.changelogMarkdown.match(/##\s+\[?(\d+\.\d+\.\d+)\]?/);
395
+ const latestVersion = versionMatch ? versionMatch[1] : this.version;
396
+ const condensedText = `Updated to v${latestVersion}. Use ${theme.bold("/changelog")} to view full changelog.`;
397
+ this.chatContainer.addChild(new Text(condensedText, 1, 0));
398
+ }
399
+ else {
400
+ this.chatContainer.addChild(new Text(theme.bold(theme.fg("accent", "What's New")), 1, 0));
401
+ this.chatContainer.addChild(new Spacer(1));
402
+ this.chatContainer.addChild(new Markdown(this.changelogMarkdown.trim(), 1, 0, this.getMarkdownThemeWithSettings()));
403
+ this.chatContainer.addChild(new Spacer(1));
404
+ }
405
+ this.chatContainer.addChild(new DynamicBorder());
406
+ }
407
+ async init() {
408
+ if (this.isInitialized)
409
+ return;
410
+ this.registerSignalHandlers();
411
+ // Load changelog (only show new entries, skip for resumed sessions)
412
+ this.changelogMarkdown = this.getChangelogForDisplay();
413
+ // Ensure fd and rg are available (downloads if missing, adds to PATH via getBinDir)
414
+ // Both are needed: fd for autocomplete, rg for grep tool and bash commands
415
+ const [fdPath] = await Promise.all([ensureTool("fd"), ensureTool("rg")]);
416
+ this.fdPath = fdPath;
417
+ // Add header container as first child
418
+ this.ui.addChild(this.headerContainer);
419
+ // Add header with keybindings from config (unless silenced)
420
+ if (this.options.verbose || !this.settingsManager.getQuietStartup()) {
421
+ const logo = theme.bold(theme.fg("accent", APP_NAME)) + theme.fg("dim", ` v${this.version}`);
422
+ // Build startup instructions using keybinding hint helpers
423
+ const hint = (keybinding, description) => keyHint(keybinding, description);
424
+ const expandedInstructions = [
425
+ hint("app.interrupt", "to interrupt"),
426
+ hint("app.clear", "to clear"),
427
+ rawKeyHint(`${keyText("app.clear")} twice`, "to exit"),
428
+ hint("app.exit", "to exit (empty)"),
429
+ hint("app.suspend", "to suspend"),
430
+ keyHint("tui.editor.deleteToLineEnd", "to delete to end"),
431
+ hint("app.thinking.cycle", "to cycle thinking level"),
432
+ rawKeyHint(`${keyText("app.model.cycleForward")}/${keyText("app.model.cycleBackward")}`, "to cycle models"),
433
+ hint("app.model.select", "to select model"),
434
+ hint("app.tools.expand", "to expand tools"),
435
+ hint("app.thinking.toggle", "to expand thinking"),
436
+ hint("app.editor.external", "for external editor"),
437
+ rawKeyHint("/", "for commands"),
438
+ rawKeyHint("!", "to run bash"),
439
+ rawKeyHint("!!", "to run bash (no context)"),
440
+ hint("app.message.followUp", "to queue follow-up"),
441
+ hint("app.message.dequeue", "to edit all queued messages"),
442
+ hint("app.clipboard.pasteImage", "to paste image"),
443
+ rawKeyHint("drop files", "to attach"),
444
+ ].join("\n");
445
+ const compactInstructions = [
446
+ hint("app.interrupt", "interrupt"),
447
+ rawKeyHint(`${keyText("app.clear")}/${keyText("app.exit")}`, "clear/exit"),
448
+ rawKeyHint("/", "commands"),
449
+ rawKeyHint("!", "bash"),
450
+ hint("app.tools.expand", "more"),
451
+ ].join(theme.fg("muted", " · "));
452
+ const compactOnboarding = theme.fg("dim", `Press ${keyText("app.tools.expand")} to show full startup help and loaded resources.`);
453
+ const onboarding = theme.fg("dim", `Pi can explain its own features and look up its docs. Ask it how to use or extend Pi.`);
454
+ this.builtInHeader = new ExpandableText(() => `${logo}\n${compactInstructions}\n${compactOnboarding}\n\n${onboarding}`, () => `${logo}\n${expandedInstructions}\n\n${onboarding}`, this.getStartupExpansionState(), 1, 0);
455
+ // Setup UI layout
456
+ this.headerContainer.addChild(new Spacer(1));
457
+ this.headerContainer.addChild(this.builtInHeader);
458
+ this.headerContainer.addChild(new Spacer(1));
459
+ }
460
+ else {
461
+ // Minimal header when silenced
462
+ this.builtInHeader = new Text("", 0, 0);
463
+ this.headerContainer.addChild(this.builtInHeader);
464
+ }
465
+ this.ui.addChild(this.chatContainer);
466
+ this.ui.addChild(this.pendingMessagesContainer);
467
+ this.ui.addChild(this.statusContainer);
468
+ this.renderWidgets(); // Initialize with default spacer
469
+ this.ui.addChild(this.widgetContainerAbove);
470
+ this.ui.addChild(this.editorContainer);
471
+ this.ui.addChild(this.widgetContainerBelow);
472
+ this.ui.addChild(this.footer);
473
+ this.ui.setFocus(this.editor);
474
+ this.setupKeyHandlers();
475
+ this.setupEditorSubmitHandler();
476
+ // Start the UI before initializing extensions so session_start handlers can use interactive dialogs
477
+ this.ui.start();
478
+ this.isInitialized = true;
479
+ // Initialize extensions first so resources are shown before messages
480
+ await this.rebindCurrentSession();
481
+ // Render initial messages AFTER showing loaded resources
482
+ this.renderInitialMessages();
483
+ // Set up theme file watcher
484
+ onThemeChange(() => {
485
+ this.ui.invalidate();
486
+ this.updateEditorBorderColor();
487
+ this.ui.requestRender();
488
+ });
489
+ // Set up git branch watcher (uses provider instead of footer)
490
+ this.footerDataProvider.onBranchChange(() => {
491
+ this.ui.requestRender();
492
+ });
493
+ // Initialize available provider count for footer display
494
+ await this.updateAvailableProviderCount();
495
+ }
496
+ /**
497
+ * Update terminal title with session name and cwd.
498
+ */
499
+ updateTerminalTitle() {
500
+ const cwdBasename = path.basename(this.sessionManager.getCwd());
501
+ const sessionName = this.sessionManager.getSessionName();
502
+ if (sessionName) {
503
+ this.ui.terminal.setTitle(`${APP_TITLE} - ${sessionName} - ${cwdBasename}`);
504
+ }
505
+ else {
506
+ this.ui.terminal.setTitle(`${APP_TITLE} - ${cwdBasename}`);
507
+ }
508
+ }
509
+ /**
510
+ * Run the interactive mode. This is the main entry point.
511
+ * Initializes the UI, shows warnings, processes initial messages, and starts the interactive loop.
512
+ */
513
+ async run() {
514
+ await this.init();
515
+ // Start version check asynchronously
516
+ checkForNewPiVersion(this.version).then((newVersion) => {
517
+ if (newVersion) {
518
+ this.showNewVersionNotification(newVersion);
519
+ }
520
+ });
521
+ // Start package update check asynchronously
522
+ this.checkForPackageUpdates().then((updates) => {
523
+ if (updates.length > 0) {
524
+ this.showPackageUpdateNotification(updates);
525
+ }
526
+ });
527
+ // Check tmux keyboard setup asynchronously
528
+ this.checkTmuxKeyboardSetup().then((warning) => {
529
+ if (warning) {
530
+ this.showWarning(warning);
531
+ }
532
+ });
533
+ // Show startup warnings
534
+ const { migratedProviders, modelFallbackMessage, initialMessage, initialImages, initialMessages } = this.options;
535
+ if (migratedProviders && migratedProviders.length > 0) {
536
+ this.showWarning(`Migrated credentials to auth.json: ${migratedProviders.join(", ")}`);
537
+ }
538
+ const modelsJsonError = this.session.modelRegistry.getError();
539
+ if (modelsJsonError) {
540
+ this.showError(`models.json error: ${modelsJsonError}`);
541
+ }
542
+ if (modelFallbackMessage) {
543
+ this.showWarning(modelFallbackMessage);
544
+ }
545
+ void this.maybeWarnAboutAnthropicSubscriptionAuth();
546
+ // Process initial messages
547
+ if (initialMessage) {
548
+ try {
549
+ await this.session.prompt(initialMessage, { images: initialImages });
550
+ }
551
+ catch (error) {
552
+ const errorMessage = error instanceof Error ? error.message : "Unknown error occurred";
553
+ this.showError(errorMessage);
554
+ }
555
+ }
556
+ if (initialMessages) {
557
+ for (const message of initialMessages) {
558
+ try {
559
+ await this.session.prompt(message);
560
+ }
561
+ catch (error) {
562
+ const errorMessage = error instanceof Error ? error.message : "Unknown error occurred";
563
+ this.showError(errorMessage);
564
+ }
565
+ }
566
+ }
567
+ // Main interactive loop
568
+ while (true) {
569
+ const userInput = await this.getUserInput();
570
+ try {
571
+ await this.session.prompt(userInput);
572
+ }
573
+ catch (error) {
574
+ const errorMessage = error instanceof Error ? error.message : "Unknown error occurred";
575
+ this.showError(errorMessage);
576
+ }
577
+ }
578
+ }
579
+ async checkForPackageUpdates() {
580
+ if (process.env.PI_OFFLINE) {
581
+ return [];
582
+ }
583
+ try {
584
+ const packageManager = new DefaultPackageManager({
585
+ cwd: this.sessionManager.getCwd(),
586
+ agentDir: getAgentDir(),
587
+ settingsManager: this.settingsManager,
588
+ });
589
+ const updates = await packageManager.checkForAvailableUpdates();
590
+ return updates.map((update) => update.displayName);
591
+ }
592
+ catch {
593
+ return [];
594
+ }
595
+ }
596
+ async checkTmuxKeyboardSetup() {
597
+ if (!process.env.TMUX)
598
+ return undefined;
599
+ const runTmuxShow = (option) => {
600
+ return new Promise((resolve) => {
601
+ const proc = spawn("tmux", ["show", "-gv", option], {
602
+ stdio: ["ignore", "pipe", "ignore"],
603
+ });
604
+ let stdout = "";
605
+ const timer = setTimeout(() => {
606
+ proc.kill();
607
+ resolve(undefined);
608
+ }, 2000);
609
+ proc.stdout?.on("data", (data) => {
610
+ stdout += data.toString();
611
+ });
612
+ proc.on("error", () => {
613
+ clearTimeout(timer);
614
+ resolve(undefined);
615
+ });
616
+ proc.on("close", (code) => {
617
+ clearTimeout(timer);
618
+ resolve(code === 0 ? stdout.trim() : undefined);
619
+ });
620
+ });
621
+ };
622
+ const [extendedKeys, extendedKeysFormat] = await Promise.all([
623
+ runTmuxShow("extended-keys"),
624
+ runTmuxShow("extended-keys-format"),
625
+ ]);
626
+ // If we couldn't query tmux (timeout, sandbox, etc.), don't warn
627
+ if (extendedKeys === undefined)
628
+ return undefined;
629
+ if (extendedKeys !== "on" && extendedKeys !== "always") {
630
+ return "tmux extended-keys is off. Modified Enter keys may not work. Add `set -g extended-keys on` to ~/.tmux.conf and restart tmux.";
631
+ }
632
+ if (extendedKeysFormat === "xterm") {
633
+ return "tmux extended-keys-format is xterm. Pi works best with csi-u. Add `set -g extended-keys-format csi-u` to ~/.tmux.conf and restart tmux.";
634
+ }
635
+ return undefined;
636
+ }
637
+ /**
638
+ * Get changelog entries to display on startup.
639
+ * Only shows new entries since last seen version, skips for resumed sessions.
640
+ */
641
+ getChangelogForDisplay() {
642
+ // Skip changelog for resumed/continued sessions (already have messages)
643
+ if (this.session.state.messages.length > 0) {
644
+ return undefined;
645
+ }
646
+ const lastVersion = this.settingsManager.getLastChangelogVersion();
647
+ const changelogPath = getChangelogPath();
648
+ const entries = parseChangelog(changelogPath);
649
+ if (!lastVersion) {
650
+ // Fresh install - record the version, send telemetry, don't show changelog
651
+ this.settingsManager.setLastChangelogVersion(VERSION);
652
+ this.reportInstallTelemetry(VERSION);
653
+ return undefined;
654
+ }
655
+ const newEntries = getNewEntries(entries, lastVersion);
656
+ if (newEntries.length > 0) {
657
+ this.settingsManager.setLastChangelogVersion(VERSION);
658
+ this.reportInstallTelemetry(VERSION);
659
+ return newEntries.map((e) => e.content).join("\n\n");
660
+ }
661
+ return undefined;
662
+ }
663
+ reportInstallTelemetry(version) {
664
+ if (process.env.PI_OFFLINE) {
665
+ return;
666
+ }
667
+ if (!isInstallTelemetryEnabled(this.settingsManager)) {
668
+ return;
669
+ }
670
+ void fetch(`https://pi.dev/api/report-install?version=${encodeURIComponent(version)}`, {
671
+ headers: {
672
+ "User-Agent": getPiUserAgent(version),
673
+ },
674
+ signal: AbortSignal.timeout(5000),
675
+ })
676
+ .then(() => undefined)
677
+ .catch(() => undefined);
678
+ }
679
+ getMarkdownThemeWithSettings() {
680
+ return {
681
+ ...getMarkdownTheme(),
682
+ codeBlockIndent: this.settingsManager.getCodeBlockIndent(),
683
+ };
684
+ }
685
+ // =========================================================================
686
+ // Extension System
687
+ // =========================================================================
688
+ formatDisplayPath(p) {
689
+ const home = os.homedir();
690
+ let result = p;
691
+ // Replace home directory with ~
692
+ if (result.startsWith(home)) {
693
+ result = `~${result.slice(home.length)}`;
694
+ }
695
+ return result;
696
+ }
697
+ formatExtensionDisplayPath(path) {
698
+ let result = this.formatDisplayPath(path);
699
+ result = result.replace(/\/index\.ts$/, "").replace(/\/index\.js$/, "");
700
+ return result;
701
+ }
702
+ formatContextPath(p) {
703
+ const cwd = path.resolve(this.sessionManager.getCwd());
704
+ const absolutePath = path.isAbsolute(p) ? path.resolve(p) : path.resolve(cwd, p);
705
+ const relativePath = getCwdRelativePath(absolutePath, cwd);
706
+ if (relativePath !== undefined) {
707
+ return relativePath;
708
+ }
709
+ return this.formatDisplayPath(absolutePath);
710
+ }
711
+ getStartupExpansionState() {
712
+ return this.options.verbose || this.toolOutputExpanded;
713
+ }
714
+ /**
715
+ * Get a short path relative to the package root for display.
716
+ */
717
+ getShortPath(fullPath, sourceInfo) {
718
+ const baseDir = sourceInfo?.baseDir;
719
+ if (baseDir && this.isPackageSource(sourceInfo)) {
720
+ const relativePath = path.relative(path.resolve(baseDir), path.resolve(fullPath));
721
+ if (relativePath &&
722
+ relativePath !== "." &&
723
+ !relativePath.startsWith("..") &&
724
+ !relativePath.startsWith(`..${path.sep}`) &&
725
+ !path.isAbsolute(relativePath)) {
726
+ return relativePath.replace(/\\/g, "/");
727
+ }
728
+ }
729
+ const source = sourceInfo?.source ?? "";
730
+ const npmMatch = fullPath.match(/node_modules\/(@?[^/]+(?:\/[^/]+)?)\/(.*)/);
731
+ if (npmMatch && source.startsWith("npm:")) {
732
+ return npmMatch[2];
733
+ }
734
+ const gitMatch = fullPath.match(/git\/[^/]+\/[^/]+\/(.*)/);
735
+ if (gitMatch && source.startsWith("git:")) {
736
+ return gitMatch[1];
737
+ }
738
+ return this.formatDisplayPath(fullPath);
739
+ }
740
+ getCompactPathLabel(resourcePath, sourceInfo) {
741
+ const shortPath = this.getShortPath(resourcePath, sourceInfo);
742
+ const normalizedPath = shortPath.replace(/\\/g, "/");
743
+ const segments = normalizedPath.split("/").filter((segment) => segment.length > 0 && segment !== "~");
744
+ if (segments.length > 0) {
745
+ return segments[segments.length - 1];
746
+ }
747
+ return shortPath;
748
+ }
749
+ getCompactPackageSourceLabel(sourceInfo) {
750
+ const source = sourceInfo?.source ?? "";
751
+ if (source.startsWith("npm:")) {
752
+ return source.slice("npm:".length) || source;
753
+ }
754
+ const gitSource = parseGitUrl(source);
755
+ if (gitSource) {
756
+ return gitSource.path || source;
757
+ }
758
+ return source;
759
+ }
760
+ getCompactExtensionLabel(resourcePath, sourceInfo) {
761
+ if (!this.isPackageSource(sourceInfo)) {
762
+ return this.getCompactPathLabel(resourcePath, sourceInfo);
763
+ }
764
+ const sourceLabel = this.getCompactPackageSourceLabel(sourceInfo);
765
+ if (!sourceLabel) {
766
+ return this.getCompactPathLabel(resourcePath, sourceInfo);
767
+ }
768
+ const shortPath = this.getShortPath(resourcePath, sourceInfo).replace(/\\/g, "/");
769
+ const packagePath = shortPath.startsWith("extensions/") ? shortPath.slice("extensions/".length) : shortPath;
770
+ const parsedPath = path.posix.parse(packagePath);
771
+ if (parsedPath.name === "index") {
772
+ return !parsedPath.dir || parsedPath.dir === "." ? sourceLabel : `${sourceLabel}:${parsedPath.dir}`;
773
+ }
774
+ return `${sourceLabel}:${packagePath}`;
775
+ }
776
+ getCompactDisplayPathSegments(resourcePath) {
777
+ return this.formatDisplayPath(resourcePath)
778
+ .replace(/\\/g, "/")
779
+ .split("/")
780
+ .filter((segment) => segment.length > 0 && segment !== "~");
781
+ }
782
+ getCompactNonPackageExtensionLabel(resourcePath, index, allPaths) {
783
+ const segments = allPaths[index]?.segments;
784
+ if (!segments || segments.length === 0) {
785
+ return this.getCompactPathLabel(resourcePath);
786
+ }
787
+ for (let segmentCount = 1; segmentCount <= segments.length; segmentCount += 1) {
788
+ const candidate = segments.slice(-segmentCount).join("/");
789
+ const isUnique = allPaths.every((item, itemIndex) => {
790
+ if (itemIndex === index) {
791
+ return true;
792
+ }
793
+ return item.segments.slice(-segmentCount).join("/") !== candidate;
794
+ });
795
+ if (isUnique) {
796
+ return candidate;
797
+ }
798
+ }
799
+ return segments.join("/");
800
+ }
801
+ getCompactExtensionLabels(extensions) {
802
+ const nonPackageExtensions = extensions
803
+ .map((extension) => {
804
+ const segments = this.getCompactDisplayPathSegments(extension.path);
805
+ const lastSegment = segments[segments.length - 1];
806
+ if (segments.length > 1 && (lastSegment === "index.ts" || lastSegment === "index.js")) {
807
+ segments.pop();
808
+ }
809
+ return {
810
+ path: extension.path,
811
+ sourceInfo: extension.sourceInfo,
812
+ segments,
813
+ };
814
+ })
815
+ .filter((extension) => !this.isPackageSource(extension.sourceInfo));
816
+ return extensions.map((extension) => {
817
+ if (this.isPackageSource(extension.sourceInfo)) {
818
+ return this.getCompactExtensionLabel(extension.path, extension.sourceInfo);
819
+ }
820
+ const nonPackageIndex = nonPackageExtensions.findIndex((item) => item.path === extension.path);
821
+ if (nonPackageIndex === -1) {
822
+ return this.getCompactPathLabel(extension.path, extension.sourceInfo);
823
+ }
824
+ return this.getCompactNonPackageExtensionLabel(extension.path, nonPackageIndex, nonPackageExtensions);
825
+ });
826
+ }
827
+ getDisplaySourceInfo(sourceInfo) {
828
+ const source = sourceInfo?.source ?? "local";
829
+ const scope = sourceInfo?.scope ?? "project";
830
+ if (source === "local") {
831
+ if (scope === "user") {
832
+ return { label: "user", color: "muted" };
833
+ }
834
+ if (scope === "project") {
835
+ return { label: "project", color: "muted" };
836
+ }
837
+ if (scope === "temporary") {
838
+ return { label: "path", scopeLabel: "temp", color: "muted" };
839
+ }
840
+ return { label: "path", color: "muted" };
841
+ }
842
+ if (source === "cli") {
843
+ return { label: "path", scopeLabel: scope === "temporary" ? "temp" : undefined, color: "muted" };
844
+ }
845
+ const scopeLabel = scope === "user" ? "user" : scope === "project" ? "project" : scope === "temporary" ? "temp" : undefined;
846
+ return { label: source, scopeLabel, color: "accent" };
847
+ }
848
+ getScopeGroup(sourceInfo) {
849
+ const source = sourceInfo?.source ?? "local";
850
+ const scope = sourceInfo?.scope ?? "project";
851
+ if (source === "cli" || scope === "temporary")
852
+ return "path";
853
+ if (scope === "user")
854
+ return "user";
855
+ if (scope === "project")
856
+ return "project";
857
+ return "path";
858
+ }
859
+ isPackageSource(sourceInfo) {
860
+ const source = sourceInfo?.source ?? "";
861
+ return source.startsWith("npm:") || source.startsWith("git:");
862
+ }
863
+ buildScopeGroups(items) {
864
+ const groups = {
865
+ user: { scope: "user", paths: [], packages: new Map() },
866
+ project: { scope: "project", paths: [], packages: new Map() },
867
+ path: { scope: "path", paths: [], packages: new Map() },
868
+ };
869
+ for (const item of items) {
870
+ const groupKey = this.getScopeGroup(item.sourceInfo);
871
+ const group = groups[groupKey];
872
+ const source = item.sourceInfo?.source ?? "local";
873
+ if (this.isPackageSource(item.sourceInfo)) {
874
+ const list = group.packages.get(source) ?? [];
875
+ list.push(item);
876
+ group.packages.set(source, list);
877
+ }
878
+ else {
879
+ group.paths.push(item);
880
+ }
881
+ }
882
+ return [groups.project, groups.user, groups.path].filter((group) => group.paths.length > 0 || group.packages.size > 0);
883
+ }
884
+ formatScopeGroups(groups, options) {
885
+ const lines = [];
886
+ for (const group of groups) {
887
+ lines.push(` ${theme.fg("accent", group.scope)}`);
888
+ const sortedPaths = [...group.paths].sort((a, b) => a.path.localeCompare(b.path));
889
+ for (const item of sortedPaths) {
890
+ lines.push(theme.fg("dim", ` ${options.formatPath(item)}`));
891
+ }
892
+ const sortedPackages = Array.from(group.packages.entries()).sort(([a], [b]) => a.localeCompare(b));
893
+ for (const [source, items] of sortedPackages) {
894
+ lines.push(` ${theme.fg("mdLink", source)}`);
895
+ const sortedPackagePaths = [...items].sort((a, b) => a.path.localeCompare(b.path));
896
+ for (const item of sortedPackagePaths) {
897
+ lines.push(theme.fg("dim", ` ${options.formatPackagePath(item, source)}`));
898
+ }
899
+ }
900
+ }
901
+ return lines.join("\n");
902
+ }
903
+ findSourceInfoForPath(p, sourceInfos) {
904
+ const exact = sourceInfos.get(p);
905
+ if (exact)
906
+ return exact;
907
+ let current = p;
908
+ while (current.includes("/")) {
909
+ current = current.substring(0, current.lastIndexOf("/"));
910
+ const parent = sourceInfos.get(current);
911
+ if (parent)
912
+ return parent;
913
+ }
914
+ return undefined;
915
+ }
916
+ formatPathWithSource(p, sourceInfo) {
917
+ if (sourceInfo) {
918
+ const shortPath = this.getShortPath(p, sourceInfo);
919
+ const { label, scopeLabel } = this.getDisplaySourceInfo(sourceInfo);
920
+ const labelText = scopeLabel ? `${label} (${scopeLabel})` : label;
921
+ return `${labelText} ${shortPath}`;
922
+ }
923
+ return this.formatDisplayPath(p);
924
+ }
925
+ formatDiagnostics(diagnostics, sourceInfos) {
926
+ const lines = [];
927
+ // Group collision diagnostics by name
928
+ const collisions = new Map();
929
+ const otherDiagnostics = [];
930
+ for (const d of diagnostics) {
931
+ if (d.type === "collision" && d.collision) {
932
+ const list = collisions.get(d.collision.name) ?? [];
933
+ list.push(d);
934
+ collisions.set(d.collision.name, list);
935
+ }
936
+ else {
937
+ otherDiagnostics.push(d);
938
+ }
939
+ }
940
+ // Format collision diagnostics grouped by name
941
+ for (const [name, collisionList] of collisions) {
942
+ const first = collisionList[0]?.collision;
943
+ if (!first)
944
+ continue;
945
+ lines.push(theme.fg("warning", ` "${name}" collision:`));
946
+ lines.push(theme.fg("dim", ` ${theme.fg("success", "✓")} ${this.formatPathWithSource(first.winnerPath, this.findSourceInfoForPath(first.winnerPath, sourceInfos))}`));
947
+ for (const d of collisionList) {
948
+ if (d.collision) {
949
+ lines.push(theme.fg("dim", ` ${theme.fg("warning", "✗")} ${this.formatPathWithSource(d.collision.loserPath, this.findSourceInfoForPath(d.collision.loserPath, sourceInfos))} (skipped)`));
950
+ }
951
+ }
952
+ }
953
+ for (const d of otherDiagnostics) {
954
+ if (d.path) {
955
+ const formattedPath = this.formatPathWithSource(d.path, this.findSourceInfoForPath(d.path, sourceInfos));
956
+ lines.push(theme.fg(d.type === "error" ? "error" : "warning", ` ${formattedPath}`));
957
+ lines.push(theme.fg(d.type === "error" ? "error" : "warning", ` ${d.message}`));
958
+ }
959
+ else {
960
+ lines.push(theme.fg(d.type === "error" ? "error" : "warning", ` ${d.message}`));
961
+ }
962
+ }
963
+ return lines.join("\n");
964
+ }
965
+ showLoadedResources(options) {
966
+ const showListing = options?.force || this.options.verbose || !this.settingsManager.getQuietStartup();
967
+ const showDiagnostics = showListing || options?.showDiagnosticsWhenQuiet === true;
968
+ if (!showListing && !showDiagnostics) {
969
+ return;
970
+ }
971
+ const sectionHeader = (name, color = "mdHeading") => theme.fg(color, `[${name}]`);
972
+ const formatCompactList = (items, options) => {
973
+ const labels = items.map((item) => item.trim()).filter((item) => item.length > 0);
974
+ if (options?.sort !== false) {
975
+ labels.sort((a, b) => a.localeCompare(b));
976
+ }
977
+ return theme.fg("dim", ` ${labels.join(", ")}`);
978
+ };
979
+ const addLoadedSection = (name, collapsedBody, expandedBody = collapsedBody, color = "mdHeading") => {
980
+ const section = new ExpandableText(() => `${sectionHeader(name, color)}\n${collapsedBody}`, () => `${sectionHeader(name, color)}\n${expandedBody}`, this.getStartupExpansionState(), 0, 0);
981
+ this.chatContainer.addChild(section);
982
+ this.chatContainer.addChild(new Spacer(1));
983
+ };
984
+ const skillsResult = this.session.resourceLoader.getSkills();
985
+ const promptsResult = this.session.resourceLoader.getPrompts();
986
+ const themesResult = this.session.resourceLoader.getThemes();
987
+ const extensions = options?.extensions ??
988
+ this.session.resourceLoader.getExtensions().extensions.map((extension) => ({
989
+ path: extension.path,
990
+ sourceInfo: extension.sourceInfo,
991
+ }));
992
+ const sourceInfos = new Map();
993
+ for (const extension of extensions) {
994
+ if (extension.sourceInfo) {
995
+ sourceInfos.set(extension.path, extension.sourceInfo);
996
+ }
997
+ }
998
+ for (const skill of skillsResult.skills) {
999
+ if (skill.sourceInfo) {
1000
+ sourceInfos.set(skill.filePath, skill.sourceInfo);
1001
+ }
1002
+ }
1003
+ for (const prompt of promptsResult.prompts) {
1004
+ if (prompt.sourceInfo) {
1005
+ sourceInfos.set(prompt.filePath, prompt.sourceInfo);
1006
+ }
1007
+ }
1008
+ for (const loadedTheme of themesResult.themes) {
1009
+ if (loadedTheme.sourcePath && loadedTheme.sourceInfo) {
1010
+ sourceInfos.set(loadedTheme.sourcePath, loadedTheme.sourceInfo);
1011
+ }
1012
+ }
1013
+ if (showListing) {
1014
+ const contextFiles = this.session.resourceLoader.getAgentsFiles().agentsFiles;
1015
+ if (contextFiles.length > 0) {
1016
+ this.chatContainer.addChild(new Spacer(1));
1017
+ const contextList = contextFiles
1018
+ .map((f) => theme.fg("dim", ` ${this.formatDisplayPath(f.path)}`))
1019
+ .join("\n");
1020
+ const contextCompactList = formatCompactList(contextFiles.map((contextFile) => this.formatContextPath(contextFile.path)), { sort: false });
1021
+ addLoadedSection("Context", contextCompactList, contextList);
1022
+ }
1023
+ const skills = skillsResult.skills;
1024
+ if (skills.length > 0) {
1025
+ const groups = this.buildScopeGroups(skills.map((skill) => ({ path: skill.filePath, sourceInfo: skill.sourceInfo })));
1026
+ const skillList = this.formatScopeGroups(groups, {
1027
+ formatPath: (item) => this.formatDisplayPath(item.path),
1028
+ formatPackagePath: (item) => this.getShortPath(item.path, item.sourceInfo),
1029
+ });
1030
+ const skillCompactList = formatCompactList(skills.map((skill) => skill.name));
1031
+ addLoadedSection("Skills", skillCompactList, skillList);
1032
+ }
1033
+ const templates = this.session.promptTemplates;
1034
+ if (templates.length > 0) {
1035
+ const groups = this.buildScopeGroups(templates.map((template) => ({ path: template.filePath, sourceInfo: template.sourceInfo })));
1036
+ const templateByPath = new Map(templates.map((t) => [t.filePath, t]));
1037
+ const templateList = this.formatScopeGroups(groups, {
1038
+ formatPath: (item) => {
1039
+ const template = templateByPath.get(item.path);
1040
+ return template ? `/${template.name}` : this.formatDisplayPath(item.path);
1041
+ },
1042
+ formatPackagePath: (item) => {
1043
+ const template = templateByPath.get(item.path);
1044
+ return template ? `/${template.name}` : this.formatDisplayPath(item.path);
1045
+ },
1046
+ });
1047
+ const promptCompactList = formatCompactList(templates.map((template) => `/${template.name}`));
1048
+ addLoadedSection("Prompts", promptCompactList, templateList);
1049
+ }
1050
+ if (extensions.length > 0) {
1051
+ const groups = this.buildScopeGroups(extensions);
1052
+ const extList = this.formatScopeGroups(groups, {
1053
+ formatPath: (item) => this.formatExtensionDisplayPath(item.path),
1054
+ formatPackagePath: (item) => this.formatExtensionDisplayPath(this.getShortPath(item.path, item.sourceInfo)),
1055
+ });
1056
+ const extensionCompactList = formatCompactList(this.getCompactExtensionLabels(extensions));
1057
+ addLoadedSection("Extensions", extensionCompactList, extList, "mdHeading");
1058
+ }
1059
+ // Show loaded themes (excluding built-in)
1060
+ const loadedThemes = themesResult.themes;
1061
+ const customThemes = loadedThemes.filter((t) => t.sourcePath);
1062
+ if (customThemes.length > 0) {
1063
+ const groups = this.buildScopeGroups(customThemes.map((loadedTheme) => ({
1064
+ path: loadedTheme.sourcePath,
1065
+ sourceInfo: loadedTheme.sourceInfo,
1066
+ })));
1067
+ const themeList = this.formatScopeGroups(groups, {
1068
+ formatPath: (item) => this.formatDisplayPath(item.path),
1069
+ formatPackagePath: (item) => this.getShortPath(item.path, item.sourceInfo),
1070
+ });
1071
+ const themeCompactList = formatCompactList(customThemes.map((loadedTheme) => loadedTheme.name ?? this.getCompactPathLabel(loadedTheme.sourcePath, loadedTheme.sourceInfo)));
1072
+ addLoadedSection("Themes", themeCompactList, themeList);
1073
+ }
1074
+ }
1075
+ if (showDiagnostics) {
1076
+ const skillDiagnostics = skillsResult.diagnostics;
1077
+ if (skillDiagnostics.length > 0) {
1078
+ const warningLines = this.formatDiagnostics(skillDiagnostics, sourceInfos);
1079
+ this.chatContainer.addChild(new Text(`${theme.fg("warning", "[Skill conflicts]")}\n${warningLines}`, 0, 0));
1080
+ this.chatContainer.addChild(new Spacer(1));
1081
+ }
1082
+ const promptDiagnostics = promptsResult.diagnostics;
1083
+ if (promptDiagnostics.length > 0) {
1084
+ const warningLines = this.formatDiagnostics(promptDiagnostics, sourceInfos);
1085
+ this.chatContainer.addChild(new Text(`${theme.fg("warning", "[Prompt conflicts]")}\n${warningLines}`, 0, 0));
1086
+ this.chatContainer.addChild(new Spacer(1));
1087
+ }
1088
+ const extensionDiagnostics = [];
1089
+ const extensionErrors = this.session.resourceLoader.getExtensions().errors;
1090
+ if (extensionErrors.length > 0) {
1091
+ for (const error of extensionErrors) {
1092
+ extensionDiagnostics.push({ type: "error", message: error.error, path: error.path });
1093
+ }
1094
+ }
1095
+ const commandDiagnostics = this.session.extensionRunner.getCommandDiagnostics();
1096
+ extensionDiagnostics.push(...commandDiagnostics);
1097
+ extensionDiagnostics.push(...this.getBuiltInCommandConflictDiagnostics(this.session.extensionRunner));
1098
+ const shortcutDiagnostics = this.session.extensionRunner.getShortcutDiagnostics();
1099
+ extensionDiagnostics.push(...shortcutDiagnostics);
1100
+ if (extensionDiagnostics.length > 0) {
1101
+ const warningLines = this.formatDiagnostics(extensionDiagnostics, sourceInfos);
1102
+ this.chatContainer.addChild(new Text(`${theme.fg("warning", "[Extension issues]")}\n${warningLines}`, 0, 0));
1103
+ this.chatContainer.addChild(new Spacer(1));
1104
+ }
1105
+ const themeDiagnostics = themesResult.diagnostics;
1106
+ if (themeDiagnostics.length > 0) {
1107
+ const warningLines = this.formatDiagnostics(themeDiagnostics, sourceInfos);
1108
+ this.chatContainer.addChild(new Text(`${theme.fg("warning", "[Theme conflicts]")}\n${warningLines}`, 0, 0));
1109
+ this.chatContainer.addChild(new Spacer(1));
1110
+ }
1111
+ }
1112
+ }
1113
+ /**
1114
+ * Initialize the extension system with TUI-based UI context.
1115
+ */
1116
+ async bindCurrentSessionExtensions() {
1117
+ const uiContext = this.createExtensionUIContext();
1118
+ await this.session.bindExtensions({
1119
+ uiContext,
1120
+ commandContextActions: {
1121
+ waitForIdle: () => this.session.agent.waitForIdle(),
1122
+ newSession: async (options) => {
1123
+ if (this.loadingAnimation) {
1124
+ this.loadingAnimation.stop();
1125
+ this.loadingAnimation = undefined;
1126
+ }
1127
+ this.statusContainer.clear();
1128
+ try {
1129
+ const result = await this.runtimeHost.newSession(options);
1130
+ if (!result.cancelled) {
1131
+ this.renderCurrentSessionState();
1132
+ this.ui.requestRender();
1133
+ }
1134
+ return result;
1135
+ }
1136
+ catch (error) {
1137
+ return this.handleFatalRuntimeError("Failed to create session", error);
1138
+ }
1139
+ },
1140
+ fork: async (entryId, options) => {
1141
+ try {
1142
+ const result = await this.runtimeHost.fork(entryId, options);
1143
+ if (!result.cancelled) {
1144
+ this.renderCurrentSessionState();
1145
+ this.editor.setText(result.selectedText ?? "");
1146
+ this.showStatus("Forked to new session");
1147
+ }
1148
+ return { cancelled: result.cancelled };
1149
+ }
1150
+ catch (error) {
1151
+ return this.handleFatalRuntimeError("Failed to fork session", error);
1152
+ }
1153
+ },
1154
+ navigateTree: async (targetId, options) => {
1155
+ const result = await this.session.navigateTree(targetId, {
1156
+ summarize: options?.summarize,
1157
+ customInstructions: options?.customInstructions,
1158
+ replaceInstructions: options?.replaceInstructions,
1159
+ label: options?.label,
1160
+ });
1161
+ if (result.cancelled) {
1162
+ return { cancelled: true };
1163
+ }
1164
+ this.chatContainer.clear();
1165
+ this.renderInitialMessages();
1166
+ if (result.editorText && !this.editor.getText().trim()) {
1167
+ this.editor.setText(result.editorText);
1168
+ }
1169
+ this.showStatus("Navigated to selected point");
1170
+ void this.flushCompactionQueue({ willRetry: false });
1171
+ return { cancelled: false };
1172
+ },
1173
+ switchSession: async (sessionPath, options) => {
1174
+ return this.handleResumeSession(sessionPath, options);
1175
+ },
1176
+ reload: async () => {
1177
+ await this.handleReloadCommand();
1178
+ },
1179
+ },
1180
+ shutdownHandler: () => {
1181
+ this.shutdownRequested = true;
1182
+ if (!this.session.isStreaming) {
1183
+ void this.shutdown();
1184
+ }
1185
+ },
1186
+ onError: (error) => {
1187
+ this.showExtensionError(error.extensionPath, error.error, error.stack);
1188
+ },
1189
+ });
1190
+ setRegisteredThemes(this.session.resourceLoader.getThemes().themes);
1191
+ this.setupAutocompleteProvider();
1192
+ const extensionRunner = this.session.extensionRunner;
1193
+ this.setupExtensionShortcuts(extensionRunner);
1194
+ this.showLoadedResources({ force: false, showDiagnosticsWhenQuiet: true });
1195
+ this.showStartupNoticesIfNeeded();
1196
+ }
1197
+ applyRuntimeSettings() {
1198
+ this.footer.setSession(this.session);
1199
+ this.footer.setAutoCompactEnabled(this.session.autoCompactionEnabled);
1200
+ this.footerDataProvider.setCwd(this.sessionManager.getCwd());
1201
+ this.hideThinkingBlock = this.settingsManager.getHideThinkingBlock();
1202
+ this.ui.setShowHardwareCursor(this.settingsManager.getShowHardwareCursor());
1203
+ this.ui.setClearOnShrink(this.settingsManager.getClearOnShrink());
1204
+ const editorPaddingX = this.settingsManager.getEditorPaddingX();
1205
+ const autocompleteMaxVisible = this.settingsManager.getAutocompleteMaxVisible();
1206
+ this.defaultEditor.setPaddingX(editorPaddingX);
1207
+ this.defaultEditor.setAutocompleteMaxVisible(autocompleteMaxVisible);
1208
+ if (this.editor !== this.defaultEditor) {
1209
+ this.editor.setPaddingX?.(editorPaddingX);
1210
+ this.editor.setAutocompleteMaxVisible?.(autocompleteMaxVisible);
1211
+ }
1212
+ }
1213
+ async rebindCurrentSession() {
1214
+ this.unsubscribe?.();
1215
+ this.unsubscribe = undefined;
1216
+ this.applyRuntimeSettings();
1217
+ await this.bindCurrentSessionExtensions();
1218
+ this.subscribeToAgent();
1219
+ await this.updateAvailableProviderCount();
1220
+ this.updateEditorBorderColor();
1221
+ this.updateTerminalTitle();
1222
+ }
1223
+ async handleFatalRuntimeError(prefix, error) {
1224
+ const message = error instanceof Error ? error.message : String(error);
1225
+ this.showError(`${prefix}: ${message}`);
1226
+ stopThemeWatcher();
1227
+ this.stop();
1228
+ process.exit(1);
1229
+ }
1230
+ renderCurrentSessionState() {
1231
+ this.chatContainer.clear();
1232
+ this.pendingMessagesContainer.clear();
1233
+ this.compactionQueuedMessages = [];
1234
+ this.streamingComponent = undefined;
1235
+ this.streamingMessage = undefined;
1236
+ this.pendingTools.clear();
1237
+ this.renderInitialMessages();
1238
+ }
1239
+ /**
1240
+ * Get a registered tool definition by name (for custom rendering).
1241
+ */
1242
+ getRegisteredToolDefinition(toolName) {
1243
+ return this.session.getToolDefinition(toolName);
1244
+ }
1245
+ /**
1246
+ * Set up keyboard shortcuts registered by extensions.
1247
+ */
1248
+ setupExtensionShortcuts(extensionRunner) {
1249
+ const shortcuts = extensionRunner.getShortcuts(this.keybindings.getEffectiveConfig());
1250
+ if (shortcuts.size === 0)
1251
+ return;
1252
+ // Create a context for shortcut handlers
1253
+ const createContext = () => ({
1254
+ ui: this.createExtensionUIContext(),
1255
+ hasUI: true,
1256
+ cwd: this.sessionManager.getCwd(),
1257
+ sessionManager: this.sessionManager,
1258
+ modelRegistry: this.session.modelRegistry,
1259
+ model: this.session.model,
1260
+ isIdle: () => !this.session.isStreaming,
1261
+ signal: this.session.agent.signal,
1262
+ abort: () => this.session.abort(),
1263
+ hasPendingMessages: () => this.session.pendingMessageCount > 0,
1264
+ shutdown: () => {
1265
+ this.shutdownRequested = true;
1266
+ },
1267
+ getContextUsage: () => this.session.getContextUsage(),
1268
+ compact: (options) => {
1269
+ void (async () => {
1270
+ try {
1271
+ const result = await this.session.compact(options?.customInstructions);
1272
+ options?.onComplete?.(result);
1273
+ }
1274
+ catch (error) {
1275
+ const err = error instanceof Error ? error : new Error(String(error));
1276
+ options?.onError?.(err);
1277
+ }
1278
+ })();
1279
+ },
1280
+ getSystemPrompt: () => this.session.systemPrompt,
1281
+ });
1282
+ // Set up the extension shortcut handler on the default editor
1283
+ this.defaultEditor.onExtensionShortcut = (data) => {
1284
+ for (const [shortcutStr, shortcut] of shortcuts) {
1285
+ // Cast to KeyId - extension shortcuts use the same format
1286
+ if (matchesKey(data, shortcutStr)) {
1287
+ // Run handler async, don't block input
1288
+ Promise.resolve(shortcut.handler(createContext())).catch((err) => {
1289
+ this.showError(`Shortcut handler error: ${err instanceof Error ? err.message : String(err)}`);
1290
+ });
1291
+ return true;
1292
+ }
1293
+ }
1294
+ return false;
1295
+ };
1296
+ }
1297
+ /**
1298
+ * Set extension status text in the footer.
1299
+ */
1300
+ setExtensionStatus(key, text) {
1301
+ this.footerDataProvider.setExtensionStatus(key, text);
1302
+ this.ui.requestRender();
1303
+ }
1304
+ getWorkingLoaderMessage() {
1305
+ return this.workingMessage ?? this.defaultWorkingMessage;
1306
+ }
1307
+ createWorkingLoader() {
1308
+ return new Loader(this.ui, (spinner) => theme.fg("accent", spinner), (text) => theme.fg("muted", text), this.getWorkingLoaderMessage(), this.workingIndicatorOptions);
1309
+ }
1310
+ stopWorkingLoader() {
1311
+ if (this.loadingAnimation) {
1312
+ this.loadingAnimation.stop();
1313
+ this.loadingAnimation = undefined;
1314
+ }
1315
+ this.statusContainer.clear();
1316
+ }
1317
+ setWorkingVisible(visible) {
1318
+ this.workingVisible = visible;
1319
+ if (!visible) {
1320
+ this.stopWorkingLoader();
1321
+ this.ui.requestRender();
1322
+ return;
1323
+ }
1324
+ if (this.session.isStreaming && !this.loadingAnimation) {
1325
+ this.statusContainer.clear();
1326
+ this.loadingAnimation = this.createWorkingLoader();
1327
+ this.statusContainer.addChild(this.loadingAnimation);
1328
+ }
1329
+ this.ui.requestRender();
1330
+ }
1331
+ setWorkingIndicator(options) {
1332
+ this.workingIndicatorOptions = options;
1333
+ this.loadingAnimation?.setIndicator(options);
1334
+ this.ui.requestRender();
1335
+ }
1336
+ setHiddenThinkingLabel(label) {
1337
+ this.hiddenThinkingLabel = label ?? this.defaultHiddenThinkingLabel;
1338
+ for (const child of this.chatContainer.children) {
1339
+ if (child instanceof AssistantMessageComponent) {
1340
+ child.setHiddenThinkingLabel(this.hiddenThinkingLabel);
1341
+ }
1342
+ }
1343
+ if (this.streamingComponent) {
1344
+ this.streamingComponent.setHiddenThinkingLabel(this.hiddenThinkingLabel);
1345
+ }
1346
+ this.ui.requestRender();
1347
+ }
1348
+ /**
1349
+ * Set an extension widget (string array or custom component).
1350
+ */
1351
+ /**
1352
+ * Implements ctx.ui.setOutputSource — swap the chat viewport's rendering source.
1353
+ *
1354
+ * Passing a Component delegates the chat viewport's render() to it; the
1355
+ * original message-history children are preserved. Passing null restores
1356
+ * the default child-rendering behaviour.
1357
+ *
1358
+ * Extensions that own a tail buffer (e.g. forge-cli's thread-switcher
1359
+ * targeting a subagent log) supply a Component that yields lines from
1360
+ * that buffer; the user sees that content in the main viewport until the
1361
+ * extension calls setOutputSource(null).
1362
+ */
1363
+ setChatOutputSource(component) {
1364
+ this.chatContainer.sourceOverride = component;
1365
+ this.chatContainer.invalidate();
1366
+ this.ui.requestRender();
1367
+ }
1368
+ setExtensionWidget(key, content, options) {
1369
+ const placement = options?.placement ?? "aboveEditor";
1370
+ const removeExisting = (map) => {
1371
+ const existing = map.get(key);
1372
+ if (existing?.dispose)
1373
+ existing.dispose();
1374
+ map.delete(key);
1375
+ };
1376
+ removeExisting(this.extensionWidgetsAbove);
1377
+ removeExisting(this.extensionWidgetsBelow);
1378
+ if (content === undefined) {
1379
+ this.renderWidgets();
1380
+ return;
1381
+ }
1382
+ let component;
1383
+ if (Array.isArray(content)) {
1384
+ // Wrap string array in a Container with Text components
1385
+ const container = new Container();
1386
+ for (const line of content.slice(0, InteractiveMode.MAX_WIDGET_LINES)) {
1387
+ container.addChild(new Text(line, 1, 0));
1388
+ }
1389
+ if (content.length > InteractiveMode.MAX_WIDGET_LINES) {
1390
+ container.addChild(new Text(theme.fg("muted", "... (widget truncated)"), 1, 0));
1391
+ }
1392
+ component = container;
1393
+ }
1394
+ else {
1395
+ // Factory function - create component
1396
+ component = content(this.ui, theme);
1397
+ }
1398
+ const targetMap = placement === "belowEditor" ? this.extensionWidgetsBelow : this.extensionWidgetsAbove;
1399
+ targetMap.set(key, component);
1400
+ this.renderWidgets();
1401
+ }
1402
+ clearExtensionWidgets() {
1403
+ for (const widget of this.extensionWidgetsAbove.values()) {
1404
+ widget.dispose?.();
1405
+ }
1406
+ for (const widget of this.extensionWidgetsBelow.values()) {
1407
+ widget.dispose?.();
1408
+ }
1409
+ this.extensionWidgetsAbove.clear();
1410
+ this.extensionWidgetsBelow.clear();
1411
+ this.renderWidgets();
1412
+ }
1413
+ resetExtensionUI() {
1414
+ if (this.extensionSelector) {
1415
+ this.hideExtensionSelector();
1416
+ }
1417
+ if (this.extensionInput) {
1418
+ this.hideExtensionInput();
1419
+ }
1420
+ if (this.extensionEditor) {
1421
+ this.hideExtensionEditor();
1422
+ }
1423
+ this.ui.hideOverlay();
1424
+ this.clearExtensionTerminalInputListeners();
1425
+ this.setExtensionFooter(undefined);
1426
+ this.setExtensionHeader(undefined);
1427
+ this.clearExtensionWidgets();
1428
+ this.footerDataProvider.clearExtensionStatuses();
1429
+ this.footer.invalidate();
1430
+ this.autocompleteProviderWrappers = [];
1431
+ this.setCustomEditorComponent(undefined);
1432
+ this.setupAutocompleteProvider();
1433
+ this.defaultEditor.onExtensionShortcut = undefined;
1434
+ this.updateTerminalTitle();
1435
+ this.workingMessage = undefined;
1436
+ this.workingVisible = true;
1437
+ this.setWorkingIndicator();
1438
+ if (this.loadingAnimation) {
1439
+ this.loadingAnimation.setMessage(`${this.defaultWorkingMessage} (${keyText("app.interrupt")} to interrupt)`);
1440
+ }
1441
+ this.setHiddenThinkingLabel();
1442
+ }
1443
+ // Maximum total widget lines to prevent viewport overflow
1444
+ static MAX_WIDGET_LINES = 10;
1445
+ /**
1446
+ * Render all extension widgets to the widget container.
1447
+ */
1448
+ renderWidgets() {
1449
+ if (!this.widgetContainerAbove || !this.widgetContainerBelow)
1450
+ return;
1451
+ this.renderWidgetContainer(this.widgetContainerAbove, this.extensionWidgetsAbove, true, true);
1452
+ this.renderWidgetContainer(this.widgetContainerBelow, this.extensionWidgetsBelow, false, false);
1453
+ this.ui.requestRender();
1454
+ }
1455
+ renderWidgetContainer(container, widgets, spacerWhenEmpty, leadingSpacer) {
1456
+ container.clear();
1457
+ if (widgets.size === 0) {
1458
+ if (spacerWhenEmpty) {
1459
+ container.addChild(new Spacer(1));
1460
+ }
1461
+ return;
1462
+ }
1463
+ if (leadingSpacer) {
1464
+ container.addChild(new Spacer(1));
1465
+ }
1466
+ for (const component of widgets.values()) {
1467
+ container.addChild(component);
1468
+ }
1469
+ }
1470
+ /**
1471
+ * Set a custom footer component, or restore the built-in footer.
1472
+ */
1473
+ setExtensionFooter(factory) {
1474
+ // Dispose existing custom footer
1475
+ if (this.customFooter?.dispose) {
1476
+ this.customFooter.dispose();
1477
+ }
1478
+ // Remove current footer from UI
1479
+ if (this.customFooter) {
1480
+ this.ui.removeChild(this.customFooter);
1481
+ }
1482
+ else {
1483
+ this.ui.removeChild(this.footer);
1484
+ }
1485
+ if (factory) {
1486
+ // Create and add custom footer, passing the data provider
1487
+ this.customFooter = factory(this.ui, theme, this.footerDataProvider);
1488
+ this.ui.addChild(this.customFooter);
1489
+ }
1490
+ else {
1491
+ // Restore built-in footer
1492
+ this.customFooter = undefined;
1493
+ this.ui.addChild(this.footer);
1494
+ }
1495
+ this.ui.requestRender();
1496
+ }
1497
+ /**
1498
+ * Set a custom header component, or restore the built-in header.
1499
+ */
1500
+ setExtensionHeader(factory) {
1501
+ // Header may not be initialized yet if called during early initialization
1502
+ if (!this.builtInHeader) {
1503
+ return;
1504
+ }
1505
+ // Dispose existing custom header
1506
+ if (this.customHeader?.dispose) {
1507
+ this.customHeader.dispose();
1508
+ }
1509
+ // Find the index of the current header in the header container
1510
+ const currentHeader = this.customHeader || this.builtInHeader;
1511
+ const index = this.headerContainer.children.indexOf(currentHeader);
1512
+ if (factory) {
1513
+ // Create and add custom header
1514
+ this.customHeader = factory(this.ui, theme);
1515
+ if (isExpandable(this.customHeader)) {
1516
+ this.customHeader.setExpanded(this.toolOutputExpanded);
1517
+ }
1518
+ if (index !== -1) {
1519
+ this.headerContainer.children[index] = this.customHeader;
1520
+ }
1521
+ else {
1522
+ // If not found (e.g. builtInHeader was never added), add at the top
1523
+ this.headerContainer.children.unshift(this.customHeader);
1524
+ }
1525
+ }
1526
+ else {
1527
+ // Restore built-in header
1528
+ this.customHeader = undefined;
1529
+ if (isExpandable(this.builtInHeader)) {
1530
+ this.builtInHeader.setExpanded(this.toolOutputExpanded);
1531
+ }
1532
+ if (index !== -1) {
1533
+ this.headerContainer.children[index] = this.builtInHeader;
1534
+ }
1535
+ }
1536
+ this.ui.requestRender();
1537
+ }
1538
+ addExtensionTerminalInputListener(handler) {
1539
+ const unsubscribe = this.ui.addInputListener(handler);
1540
+ this.extensionTerminalInputUnsubscribers.add(unsubscribe);
1541
+ return () => {
1542
+ unsubscribe();
1543
+ this.extensionTerminalInputUnsubscribers.delete(unsubscribe);
1544
+ };
1545
+ }
1546
+ clearExtensionTerminalInputListeners() {
1547
+ for (const unsubscribe of this.extensionTerminalInputUnsubscribers) {
1548
+ unsubscribe();
1549
+ }
1550
+ this.extensionTerminalInputUnsubscribers.clear();
1551
+ }
1552
+ /**
1553
+ * Create the ExtensionUIContext for extensions.
1554
+ */
1555
+ createExtensionUIContext() {
1556
+ return {
1557
+ select: (title, options, opts) => this.showExtensionSelector(title, options, opts),
1558
+ confirm: (title, message, opts) => this.showExtensionConfirm(title, message, opts),
1559
+ input: (title, placeholder, opts) => this.showExtensionInput(title, placeholder, opts),
1560
+ notify: (message, type) => this.showExtensionNotify(message, type),
1561
+ onTerminalInput: (handler) => this.addExtensionTerminalInputListener(handler),
1562
+ setStatus: (key, text) => this.setExtensionStatus(key, text),
1563
+ setWorkingMessage: (message) => {
1564
+ this.workingMessage = message;
1565
+ if (this.loadingAnimation) {
1566
+ this.loadingAnimation.setMessage(message ?? this.defaultWorkingMessage);
1567
+ }
1568
+ },
1569
+ setWorkingVisible: (visible) => this.setWorkingVisible(visible),
1570
+ setWorkingIndicator: (options) => this.setWorkingIndicator(options),
1571
+ setHiddenThinkingLabel: (label) => this.setHiddenThinkingLabel(label),
1572
+ setWidget: (key, content, options) => this.setExtensionWidget(key, content, options),
1573
+ setOutputSource: (component) => this.setChatOutputSource(component),
1574
+ setFooter: (factory) => this.setExtensionFooter(factory),
1575
+ setHeader: (factory) => this.setExtensionHeader(factory),
1576
+ setTitle: (title) => this.ui.terminal.setTitle(title),
1577
+ custom: (factory, options) => this.showExtensionCustom(factory, options),
1578
+ pasteToEditor: (text) => this.editor.handleInput(`\x1b[200~${text}\x1b[201~`),
1579
+ setEditorText: (text) => this.editor.setText(text),
1580
+ getEditorText: () => this.editor.getExpandedText?.() ?? this.editor.getText(),
1581
+ editor: (title, prefill) => this.showExtensionEditor(title, prefill),
1582
+ addAutocompleteProvider: (factory) => {
1583
+ this.autocompleteProviderWrappers.push(factory);
1584
+ this.setupAutocompleteProvider();
1585
+ },
1586
+ setEditorComponent: (factory) => this.setCustomEditorComponent(factory),
1587
+ getEditorComponent: () => this.editorComponentFactory,
1588
+ get theme() {
1589
+ return theme;
1590
+ },
1591
+ getAllThemes: () => getAvailableThemesWithPaths(),
1592
+ getTheme: (name) => getThemeByName(name),
1593
+ setTheme: (themeOrName) => {
1594
+ if (themeOrName instanceof Theme) {
1595
+ setThemeInstance(themeOrName);
1596
+ this.ui.requestRender();
1597
+ return { success: true };
1598
+ }
1599
+ const result = setTheme(themeOrName, true);
1600
+ if (result.success) {
1601
+ if (this.settingsManager.getTheme() !== themeOrName) {
1602
+ this.settingsManager.setTheme(themeOrName);
1603
+ }
1604
+ this.ui.requestRender();
1605
+ }
1606
+ return result;
1607
+ },
1608
+ getToolsExpanded: () => this.toolOutputExpanded,
1609
+ setToolsExpanded: (expanded) => this.setToolsExpanded(expanded),
1610
+ };
1611
+ }
1612
+ /**
1613
+ * Show a selector for extensions.
1614
+ */
1615
+ showExtensionSelector(title, options, opts) {
1616
+ return new Promise((resolve) => {
1617
+ if (opts?.signal?.aborted) {
1618
+ resolve(undefined);
1619
+ return;
1620
+ }
1621
+ const onAbort = () => {
1622
+ this.hideExtensionSelector();
1623
+ resolve(undefined);
1624
+ };
1625
+ opts?.signal?.addEventListener("abort", onAbort, { once: true });
1626
+ this.extensionSelector = new ExtensionSelectorComponent(title, options, (option) => {
1627
+ opts?.signal?.removeEventListener("abort", onAbort);
1628
+ this.hideExtensionSelector();
1629
+ resolve(option);
1630
+ }, () => {
1631
+ opts?.signal?.removeEventListener("abort", onAbort);
1632
+ this.hideExtensionSelector();
1633
+ resolve(undefined);
1634
+ }, { tui: this.ui, timeout: opts?.timeout });
1635
+ this.editorContainer.clear();
1636
+ this.editorContainer.addChild(this.extensionSelector);
1637
+ this.ui.setFocus(this.extensionSelector);
1638
+ this.ui.requestRender();
1639
+ });
1640
+ }
1641
+ /**
1642
+ * Hide the extension selector.
1643
+ */
1644
+ hideExtensionSelector() {
1645
+ this.extensionSelector?.dispose();
1646
+ this.editorContainer.clear();
1647
+ this.editorContainer.addChild(this.editor);
1648
+ this.extensionSelector = undefined;
1649
+ this.ui.setFocus(this.editor);
1650
+ this.ui.requestRender();
1651
+ }
1652
+ /**
1653
+ * Show a confirmation dialog for extensions.
1654
+ */
1655
+ async showExtensionConfirm(title, message, opts) {
1656
+ const result = await this.showExtensionSelector(`${title}\n${message}`, ["Yes", "No"], opts);
1657
+ return result === "Yes";
1658
+ }
1659
+ async promptForMissingSessionCwd(error) {
1660
+ const confirmed = await this.showExtensionConfirm("Session cwd not found", formatMissingSessionCwdPrompt(error.issue));
1661
+ return confirmed ? error.issue.fallbackCwd : undefined;
1662
+ }
1663
+ /**
1664
+ * Show a text input for extensions.
1665
+ */
1666
+ showExtensionInput(title, placeholder, opts) {
1667
+ return new Promise((resolve) => {
1668
+ if (opts?.signal?.aborted) {
1669
+ resolve(undefined);
1670
+ return;
1671
+ }
1672
+ const onAbort = () => {
1673
+ this.hideExtensionInput();
1674
+ resolve(undefined);
1675
+ };
1676
+ opts?.signal?.addEventListener("abort", onAbort, { once: true });
1677
+ this.extensionInput = new ExtensionInputComponent(title, placeholder, (value) => {
1678
+ opts?.signal?.removeEventListener("abort", onAbort);
1679
+ this.hideExtensionInput();
1680
+ resolve(value);
1681
+ }, () => {
1682
+ opts?.signal?.removeEventListener("abort", onAbort);
1683
+ this.hideExtensionInput();
1684
+ resolve(undefined);
1685
+ }, { tui: this.ui, timeout: opts?.timeout });
1686
+ this.editorContainer.clear();
1687
+ this.editorContainer.addChild(this.extensionInput);
1688
+ this.ui.setFocus(this.extensionInput);
1689
+ this.ui.requestRender();
1690
+ });
1691
+ }
1692
+ /**
1693
+ * Hide the extension input.
1694
+ */
1695
+ hideExtensionInput() {
1696
+ this.extensionInput?.dispose();
1697
+ this.editorContainer.clear();
1698
+ this.editorContainer.addChild(this.editor);
1699
+ this.extensionInput = undefined;
1700
+ this.ui.setFocus(this.editor);
1701
+ this.ui.requestRender();
1702
+ }
1703
+ /**
1704
+ * Show a multi-line editor for extensions (with Ctrl+G support).
1705
+ */
1706
+ showExtensionEditor(title, prefill) {
1707
+ return new Promise((resolve) => {
1708
+ this.extensionEditor = new ExtensionEditorComponent(this.ui, this.keybindings, title, prefill, (value) => {
1709
+ this.hideExtensionEditor();
1710
+ resolve(value);
1711
+ }, () => {
1712
+ this.hideExtensionEditor();
1713
+ resolve(undefined);
1714
+ });
1715
+ this.editorContainer.clear();
1716
+ this.editorContainer.addChild(this.extensionEditor);
1717
+ this.ui.setFocus(this.extensionEditor);
1718
+ this.ui.requestRender();
1719
+ });
1720
+ }
1721
+ /**
1722
+ * Hide the extension editor.
1723
+ */
1724
+ hideExtensionEditor() {
1725
+ this.editorContainer.clear();
1726
+ this.editorContainer.addChild(this.editor);
1727
+ this.extensionEditor = undefined;
1728
+ this.ui.setFocus(this.editor);
1729
+ this.ui.requestRender();
1730
+ }
1731
+ /**
1732
+ * Set a custom editor component from an extension.
1733
+ * Pass undefined to restore the default editor.
1734
+ */
1735
+ setCustomEditorComponent(factory) {
1736
+ this.editorComponentFactory = factory;
1737
+ // Save text from current editor before switching
1738
+ const currentText = this.editor.getText();
1739
+ this.editorContainer.clear();
1740
+ if (factory) {
1741
+ // Create the custom editor with tui, theme, and keybindings
1742
+ const newEditor = factory(this.ui, getEditorTheme(), this.keybindings);
1743
+ // Wire up callbacks from the default editor
1744
+ newEditor.onSubmit = this.defaultEditor.onSubmit;
1745
+ newEditor.onChange = this.defaultEditor.onChange;
1746
+ // Copy text from previous editor
1747
+ newEditor.setText(currentText);
1748
+ // Copy appearance settings if supported
1749
+ if (newEditor.borderColor !== undefined) {
1750
+ newEditor.borderColor = this.defaultEditor.borderColor;
1751
+ }
1752
+ if (newEditor.setPaddingX !== undefined) {
1753
+ newEditor.setPaddingX(this.defaultEditor.getPaddingX());
1754
+ }
1755
+ // Set autocomplete if supported
1756
+ if (newEditor.setAutocompleteProvider && this.autocompleteProvider) {
1757
+ newEditor.setAutocompleteProvider(this.autocompleteProvider);
1758
+ }
1759
+ // If extending CustomEditor, copy app-level handlers
1760
+ // Use duck typing since instanceof fails across jiti module boundaries
1761
+ const customEditor = newEditor;
1762
+ if ("actionHandlers" in customEditor && customEditor.actionHandlers instanceof Map) {
1763
+ if (!customEditor.onEscape) {
1764
+ customEditor.onEscape = () => this.defaultEditor.onEscape?.();
1765
+ }
1766
+ if (!customEditor.onCtrlD) {
1767
+ customEditor.onCtrlD = () => this.defaultEditor.onCtrlD?.();
1768
+ }
1769
+ if (!customEditor.onPasteImage) {
1770
+ customEditor.onPasteImage = () => this.defaultEditor.onPasteImage?.();
1771
+ }
1772
+ if (!customEditor.onExtensionShortcut) {
1773
+ customEditor.onExtensionShortcut = (data) => this.defaultEditor.onExtensionShortcut?.(data);
1774
+ }
1775
+ // Copy action handlers (clear, suspend, model switching, etc.)
1776
+ for (const [action, handler] of this.defaultEditor.actionHandlers) {
1777
+ customEditor.actionHandlers.set(action, handler);
1778
+ }
1779
+ }
1780
+ this.editor = newEditor;
1781
+ }
1782
+ else {
1783
+ // Restore default editor with text from custom editor
1784
+ this.defaultEditor.setText(currentText);
1785
+ this.editor = this.defaultEditor;
1786
+ }
1787
+ this.editorContainer.addChild(this.editor);
1788
+ this.ui.setFocus(this.editor);
1789
+ this.ui.requestRender();
1790
+ }
1791
+ /**
1792
+ * Show a notification for extensions.
1793
+ */
1794
+ showExtensionNotify(message, type) {
1795
+ if (type === "error") {
1796
+ this.showError(message);
1797
+ }
1798
+ else if (type === "warning") {
1799
+ this.showWarning(message);
1800
+ }
1801
+ else {
1802
+ this.showStatus(message);
1803
+ }
1804
+ }
1805
+ /** Show a custom component with keyboard focus. Overlay mode renders on top of existing content. */
1806
+ async showExtensionCustom(factory, options) {
1807
+ const savedText = this.editor.getText();
1808
+ const isOverlay = options?.overlay ?? false;
1809
+ const restoreEditor = () => {
1810
+ this.editorContainer.clear();
1811
+ this.editorContainer.addChild(this.editor);
1812
+ this.editor.setText(savedText);
1813
+ this.ui.setFocus(this.editor);
1814
+ this.ui.requestRender();
1815
+ };
1816
+ return new Promise((resolve, reject) => {
1817
+ let component;
1818
+ let closed = false;
1819
+ const close = (result) => {
1820
+ if (closed)
1821
+ return;
1822
+ closed = true;
1823
+ if (isOverlay)
1824
+ this.ui.hideOverlay();
1825
+ else
1826
+ restoreEditor();
1827
+ // Note: both branches above already call requestRender
1828
+ resolve(result);
1829
+ try {
1830
+ component?.dispose?.();
1831
+ }
1832
+ catch {
1833
+ /* ignore dispose errors */
1834
+ }
1835
+ };
1836
+ Promise.resolve(factory(this.ui, theme, this.keybindings, close))
1837
+ .then((c) => {
1838
+ if (closed)
1839
+ return;
1840
+ component = c;
1841
+ if (isOverlay) {
1842
+ // Resolve overlay options - can be static or dynamic function
1843
+ const resolveOptions = () => {
1844
+ if (options?.overlayOptions) {
1845
+ const opts = typeof options.overlayOptions === "function"
1846
+ ? options.overlayOptions()
1847
+ : options.overlayOptions;
1848
+ return opts;
1849
+ }
1850
+ // Fallback: use component's width property if available
1851
+ const w = component.width;
1852
+ return w ? { width: w } : undefined;
1853
+ };
1854
+ const handle = this.ui.showOverlay(component, resolveOptions());
1855
+ // Expose handle to caller for visibility control
1856
+ options?.onHandle?.(handle);
1857
+ }
1858
+ else {
1859
+ this.editorContainer.clear();
1860
+ this.editorContainer.addChild(component);
1861
+ this.ui.setFocus(component);
1862
+ this.ui.requestRender();
1863
+ }
1864
+ })
1865
+ .catch((err) => {
1866
+ if (closed)
1867
+ return;
1868
+ if (!isOverlay)
1869
+ restoreEditor();
1870
+ reject(err);
1871
+ });
1872
+ });
1873
+ }
1874
+ /**
1875
+ * Show an extension error in the UI.
1876
+ */
1877
+ showExtensionError(extensionPath, error, stack) {
1878
+ const errorMsg = `Extension "${extensionPath}" error: ${error}`;
1879
+ const errorText = new Text(theme.fg("error", errorMsg), 1, 0);
1880
+ this.chatContainer.addChild(errorText);
1881
+ if (stack) {
1882
+ // Show stack trace in dim color, indented
1883
+ const stackLines = stack
1884
+ .split("\n")
1885
+ .slice(1) // Skip first line (duplicates error message)
1886
+ .map((line) => theme.fg("dim", ` ${line.trim()}`))
1887
+ .join("\n");
1888
+ if (stackLines) {
1889
+ this.chatContainer.addChild(new Text(stackLines, 1, 0));
1890
+ }
1891
+ }
1892
+ this.ui.requestRender();
1893
+ }
1894
+ // =========================================================================
1895
+ // Key Handlers
1896
+ // =========================================================================
1897
+ setupKeyHandlers() {
1898
+ // Set up handlers on defaultEditor - they use this.editor for text access
1899
+ // so they work correctly regardless of which editor is active
1900
+ this.defaultEditor.onEscape = () => {
1901
+ if (this.session.isStreaming) {
1902
+ this.restoreQueuedMessagesToEditor({ abort: true });
1903
+ }
1904
+ else if (this.session.isBashRunning) {
1905
+ this.session.abortBash();
1906
+ }
1907
+ else if (this.isBashMode) {
1908
+ this.editor.setText("");
1909
+ this.isBashMode = false;
1910
+ this.updateEditorBorderColor();
1911
+ }
1912
+ else if (!this.editor.getText().trim()) {
1913
+ // Double-escape with empty editor triggers /tree, /fork, or nothing based on setting
1914
+ const action = this.settingsManager.getDoubleEscapeAction();
1915
+ if (action !== "none") {
1916
+ const now = Date.now();
1917
+ if (now - this.lastEscapeTime < 500) {
1918
+ if (action === "tree") {
1919
+ this.showTreeSelector();
1920
+ }
1921
+ else {
1922
+ this.showUserMessageSelector();
1923
+ }
1924
+ this.lastEscapeTime = 0;
1925
+ }
1926
+ else {
1927
+ this.lastEscapeTime = now;
1928
+ }
1929
+ }
1930
+ }
1931
+ };
1932
+ // Register app action handlers
1933
+ this.defaultEditor.onAction("app.clear", () => this.handleCtrlC());
1934
+ this.defaultEditor.onCtrlD = () => this.handleCtrlD();
1935
+ this.defaultEditor.onAction("app.suspend", () => this.handleCtrlZ());
1936
+ this.defaultEditor.onAction("app.thinking.cycle", () => this.cycleThinkingLevel());
1937
+ this.defaultEditor.onAction("app.model.cycleForward", () => this.cycleModel("forward"));
1938
+ this.defaultEditor.onAction("app.model.cycleBackward", () => this.cycleModel("backward"));
1939
+ // Global debug handler on TUI (works regardless of focus)
1940
+ this.ui.onDebug = () => this.handleDebugCommand();
1941
+ this.defaultEditor.onAction("app.model.select", () => this.showModelSelector());
1942
+ this.defaultEditor.onAction("app.tools.expand", () => this.toggleToolOutputExpansion());
1943
+ this.defaultEditor.onAction("app.thinking.toggle", () => this.toggleThinkingBlockVisibility());
1944
+ this.defaultEditor.onAction("app.editor.external", () => this.openExternalEditor());
1945
+ this.defaultEditor.onAction("app.message.followUp", () => this.handleFollowUp());
1946
+ this.defaultEditor.onAction("app.message.dequeue", () => this.handleDequeue());
1947
+ this.defaultEditor.onAction("app.session.new", () => this.handleClearCommand());
1948
+ this.defaultEditor.onAction("app.session.tree", () => this.showTreeSelector());
1949
+ this.defaultEditor.onAction("app.session.fork", () => this.showUserMessageSelector());
1950
+ this.defaultEditor.onAction("app.session.resume", () => this.showSessionSelector());
1951
+ this.defaultEditor.onChange = (text) => {
1952
+ const wasBashMode = this.isBashMode;
1953
+ this.isBashMode = text.trimStart().startsWith("!");
1954
+ if (wasBashMode !== this.isBashMode) {
1955
+ this.updateEditorBorderColor();
1956
+ }
1957
+ };
1958
+ // Handle clipboard image paste (triggered on Ctrl+V)
1959
+ this.defaultEditor.onPasteImage = () => {
1960
+ this.handleClipboardImagePaste();
1961
+ };
1962
+ }
1963
+ async handleClipboardImagePaste() {
1964
+ try {
1965
+ const image = await readClipboardImage();
1966
+ if (!image) {
1967
+ return;
1968
+ }
1969
+ // Write to temp file
1970
+ const tmpDir = os.tmpdir();
1971
+ const ext = extensionForImageMimeType(image.mimeType) ?? "png";
1972
+ const fileName = `pi-clipboard-${crypto.randomUUID()}.${ext}`;
1973
+ const filePath = path.join(tmpDir, fileName);
1974
+ fs.writeFileSync(filePath, Buffer.from(image.bytes));
1975
+ // Insert file path directly
1976
+ this.editor.insertTextAtCursor?.(filePath);
1977
+ this.ui.requestRender();
1978
+ }
1979
+ catch {
1980
+ // Silently ignore clipboard errors (may not have permission, etc.)
1981
+ }
1982
+ }
1983
+ setupEditorSubmitHandler() {
1984
+ this.defaultEditor.onSubmit = async (text) => {
1985
+ text = text.trim();
1986
+ if (!text)
1987
+ return;
1988
+ // Handle commands
1989
+ if (text === "/settings") {
1990
+ this.showSettingsSelector();
1991
+ this.editor.setText("");
1992
+ return;
1993
+ }
1994
+ if (text === "/scoped-models") {
1995
+ this.editor.setText("");
1996
+ await this.showModelsSelector();
1997
+ return;
1998
+ }
1999
+ if (text === "/model" || text.startsWith("/model ")) {
2000
+ const searchTerm = text.startsWith("/model ") ? text.slice(7).trim() : undefined;
2001
+ this.editor.setText("");
2002
+ await this.handleModelCommand(searchTerm);
2003
+ return;
2004
+ }
2005
+ if (text === "/export" || text.startsWith("/export ")) {
2006
+ await this.handleExportCommand(text);
2007
+ this.editor.setText("");
2008
+ return;
2009
+ }
2010
+ if (text === "/import" || text.startsWith("/import ")) {
2011
+ await this.handleImportCommand(text);
2012
+ this.editor.setText("");
2013
+ return;
2014
+ }
2015
+ if (text === "/share") {
2016
+ await this.handleShareCommand();
2017
+ this.editor.setText("");
2018
+ return;
2019
+ }
2020
+ if (text === "/copy") {
2021
+ await this.handleCopyCommand();
2022
+ this.editor.setText("");
2023
+ return;
2024
+ }
2025
+ if (text === "/name" || text.startsWith("/name ")) {
2026
+ this.handleNameCommand(text);
2027
+ this.editor.setText("");
2028
+ return;
2029
+ }
2030
+ if (text === "/session") {
2031
+ this.handleSessionCommand();
2032
+ this.editor.setText("");
2033
+ return;
2034
+ }
2035
+ if (text === "/changelog") {
2036
+ this.handleChangelogCommand();
2037
+ this.editor.setText("");
2038
+ return;
2039
+ }
2040
+ if (text === "/hotkeys") {
2041
+ this.handleHotkeysCommand();
2042
+ this.editor.setText("");
2043
+ return;
2044
+ }
2045
+ if (text === "/fork") {
2046
+ this.showUserMessageSelector();
2047
+ this.editor.setText("");
2048
+ return;
2049
+ }
2050
+ if (text === "/clone") {
2051
+ this.editor.setText("");
2052
+ await this.handleCloneCommand();
2053
+ return;
2054
+ }
2055
+ if (text === "/tree") {
2056
+ this.showTreeSelector();
2057
+ this.editor.setText("");
2058
+ return;
2059
+ }
2060
+ if (text === "/login") {
2061
+ this.showOAuthSelector("login");
2062
+ this.editor.setText("");
2063
+ return;
2064
+ }
2065
+ if (text === "/logout") {
2066
+ this.showOAuthSelector("logout");
2067
+ this.editor.setText("");
2068
+ return;
2069
+ }
2070
+ if (text === "/new") {
2071
+ this.editor.setText("");
2072
+ await this.handleClearCommand();
2073
+ return;
2074
+ }
2075
+ if (text === "/compact" || text.startsWith("/compact ")) {
2076
+ const customInstructions = text.startsWith("/compact ") ? text.slice(9).trim() : undefined;
2077
+ this.editor.setText("");
2078
+ await this.handleCompactCommand(customInstructions);
2079
+ return;
2080
+ }
2081
+ if (text === "/reload") {
2082
+ this.editor.setText("");
2083
+ await this.handleReloadCommand();
2084
+ return;
2085
+ }
2086
+ if (text === "/debug") {
2087
+ this.handleDebugCommand();
2088
+ this.editor.setText("");
2089
+ return;
2090
+ }
2091
+ if (text === "/arminsayshi") {
2092
+ this.handleArminSaysHi();
2093
+ this.editor.setText("");
2094
+ return;
2095
+ }
2096
+ if (text === "/dementedelves") {
2097
+ this.handleDementedDelves();
2098
+ this.editor.setText("");
2099
+ return;
2100
+ }
2101
+ if (text === "/resume") {
2102
+ this.showSessionSelector();
2103
+ this.editor.setText("");
2104
+ return;
2105
+ }
2106
+ if (text === "/quit") {
2107
+ this.editor.setText("");
2108
+ await this.shutdown();
2109
+ return;
2110
+ }
2111
+ // Handle bash command (! for normal, !! for excluded from context)
2112
+ if (text.startsWith("!")) {
2113
+ const isExcluded = text.startsWith("!!");
2114
+ const command = isExcluded ? text.slice(2).trim() : text.slice(1).trim();
2115
+ if (command) {
2116
+ if (this.session.isBashRunning) {
2117
+ this.showWarning("A bash command is already running. Press Esc to cancel it first.");
2118
+ this.editor.setText(text);
2119
+ return;
2120
+ }
2121
+ this.editor.addToHistory?.(text);
2122
+ await this.handleBashCommand(command, isExcluded);
2123
+ this.isBashMode = false;
2124
+ this.updateEditorBorderColor();
2125
+ return;
2126
+ }
2127
+ }
2128
+ // Queue input during compaction (extension commands execute immediately)
2129
+ if (this.session.isCompacting) {
2130
+ if (this.isExtensionCommand(text)) {
2131
+ this.editor.addToHistory?.(text);
2132
+ this.editor.setText("");
2133
+ await this.session.prompt(text);
2134
+ }
2135
+ else {
2136
+ this.queueCompactionMessage(text, "steer");
2137
+ }
2138
+ return;
2139
+ }
2140
+ // If streaming, use prompt() with steer behavior
2141
+ // This handles extension commands (execute immediately), prompt template expansion, and queueing
2142
+ if (this.session.isStreaming) {
2143
+ this.editor.addToHistory?.(text);
2144
+ this.editor.setText("");
2145
+ await this.session.prompt(text, { streamingBehavior: "steer" });
2146
+ this.updatePendingMessagesDisplay();
2147
+ this.ui.requestRender();
2148
+ return;
2149
+ }
2150
+ // Normal message submission
2151
+ // First, move any pending bash components to chat
2152
+ this.flushPendingBashComponents();
2153
+ if (this.onInputCallback) {
2154
+ this.onInputCallback(text);
2155
+ }
2156
+ this.editor.addToHistory?.(text);
2157
+ };
2158
+ }
2159
+ subscribeToAgent() {
2160
+ this.unsubscribe = this.session.subscribe(async (event) => {
2161
+ await this.handleEvent(event);
2162
+ });
2163
+ }
2164
+ async handleEvent(event) {
2165
+ if (!this.isInitialized) {
2166
+ await this.init();
2167
+ }
2168
+ this.footer.invalidate();
2169
+ switch (event.type) {
2170
+ case "agent_start":
2171
+ this.pendingTools.clear();
2172
+ if (this.settingsManager.getShowTerminalProgress()) {
2173
+ this.ui.terminal.setProgress(true);
2174
+ }
2175
+ // Restore main escape handler if retry handler is still active
2176
+ // (retry success event fires later, but we need main handler now)
2177
+ if (this.retryEscapeHandler) {
2178
+ this.defaultEditor.onEscape = this.retryEscapeHandler;
2179
+ this.retryEscapeHandler = undefined;
2180
+ }
2181
+ if (this.retryCountdown) {
2182
+ this.retryCountdown.dispose();
2183
+ this.retryCountdown = undefined;
2184
+ }
2185
+ if (this.retryLoader) {
2186
+ this.retryLoader.stop();
2187
+ this.retryLoader = undefined;
2188
+ }
2189
+ this.stopWorkingLoader();
2190
+ if (this.workingVisible) {
2191
+ this.loadingAnimation = this.createWorkingLoader();
2192
+ this.statusContainer.addChild(this.loadingAnimation);
2193
+ }
2194
+ this.ui.requestRender();
2195
+ break;
2196
+ case "queue_update":
2197
+ this.updatePendingMessagesDisplay();
2198
+ this.ui.requestRender();
2199
+ break;
2200
+ case "session_info_changed":
2201
+ this.updateTerminalTitle();
2202
+ this.footer.invalidate();
2203
+ this.ui.requestRender();
2204
+ break;
2205
+ case "thinking_level_changed":
2206
+ this.footer.invalidate();
2207
+ this.updateEditorBorderColor();
2208
+ break;
2209
+ case "message_start":
2210
+ if (event.message.role === "custom") {
2211
+ this.addMessageToChat(event.message);
2212
+ this.ui.requestRender();
2213
+ }
2214
+ else if (event.message.role === "user") {
2215
+ this.addMessageToChat(event.message);
2216
+ this.updatePendingMessagesDisplay();
2217
+ this.ui.requestRender();
2218
+ }
2219
+ else if (event.message.role === "assistant") {
2220
+ this.streamingComponent = new AssistantMessageComponent(undefined, this.hideThinkingBlock, this.getMarkdownThemeWithSettings(), this.hiddenThinkingLabel);
2221
+ this.streamingMessage = event.message;
2222
+ this.chatContainer.addChild(this.streamingComponent);
2223
+ this.streamingComponent.updateContent(this.streamingMessage);
2224
+ this.ui.requestRender();
2225
+ }
2226
+ break;
2227
+ case "message_update":
2228
+ if (this.streamingComponent && event.message.role === "assistant") {
2229
+ this.streamingMessage = event.message;
2230
+ this.streamingComponent.updateContent(this.streamingMessage);
2231
+ for (const content of this.streamingMessage.content) {
2232
+ if (content.type === "toolCall") {
2233
+ if (!this.pendingTools.has(content.id)) {
2234
+ const component = new ToolExecutionComponent(content.name, content.id, content.arguments, {
2235
+ showImages: this.settingsManager.getShowImages(),
2236
+ imageWidthCells: this.settingsManager.getImageWidthCells(),
2237
+ }, this.getRegisteredToolDefinition(content.name), this.ui, this.sessionManager.getCwd());
2238
+ component.setExpanded(this.toolOutputExpanded);
2239
+ this.chatContainer.addChild(component);
2240
+ this.pendingTools.set(content.id, component);
2241
+ }
2242
+ else {
2243
+ const component = this.pendingTools.get(content.id);
2244
+ if (component) {
2245
+ component.updateArgs(content.arguments);
2246
+ }
2247
+ }
2248
+ }
2249
+ }
2250
+ this.ui.requestRender();
2251
+ }
2252
+ break;
2253
+ case "message_end":
2254
+ if (event.message.role === "user")
2255
+ break;
2256
+ if (this.streamingComponent && event.message.role === "assistant") {
2257
+ this.streamingMessage = event.message;
2258
+ let errorMessage;
2259
+ if (this.streamingMessage.stopReason === "aborted") {
2260
+ const retryAttempt = this.session.retryAttempt;
2261
+ errorMessage =
2262
+ retryAttempt > 0
2263
+ ? `Aborted after ${retryAttempt} retry attempt${retryAttempt > 1 ? "s" : ""}`
2264
+ : "Operation aborted";
2265
+ this.streamingMessage.errorMessage = errorMessage;
2266
+ }
2267
+ this.streamingComponent.updateContent(this.streamingMessage);
2268
+ if (this.streamingMessage.stopReason === "aborted" || this.streamingMessage.stopReason === "error") {
2269
+ if (!errorMessage) {
2270
+ errorMessage = this.streamingMessage.errorMessage || "Error";
2271
+ }
2272
+ for (const [, component] of this.pendingTools.entries()) {
2273
+ component.updateResult({
2274
+ content: [{ type: "text", text: errorMessage }],
2275
+ isError: true,
2276
+ });
2277
+ }
2278
+ this.pendingTools.clear();
2279
+ }
2280
+ else {
2281
+ // Args are now complete - trigger diff computation for edit tools
2282
+ for (const [, component] of this.pendingTools.entries()) {
2283
+ component.setArgsComplete();
2284
+ }
2285
+ }
2286
+ this.streamingComponent = undefined;
2287
+ this.streamingMessage = undefined;
2288
+ this.footer.invalidate();
2289
+ }
2290
+ this.ui.requestRender();
2291
+ break;
2292
+ case "tool_execution_start": {
2293
+ let component = this.pendingTools.get(event.toolCallId);
2294
+ if (!component) {
2295
+ component = new ToolExecutionComponent(event.toolName, event.toolCallId, event.args, {
2296
+ showImages: this.settingsManager.getShowImages(),
2297
+ imageWidthCells: this.settingsManager.getImageWidthCells(),
2298
+ }, this.getRegisteredToolDefinition(event.toolName), this.ui, this.sessionManager.getCwd());
2299
+ component.setExpanded(this.toolOutputExpanded);
2300
+ this.chatContainer.addChild(component);
2301
+ this.pendingTools.set(event.toolCallId, component);
2302
+ }
2303
+ component.markExecutionStarted();
2304
+ this.ui.requestRender();
2305
+ break;
2306
+ }
2307
+ case "tool_execution_update": {
2308
+ const component = this.pendingTools.get(event.toolCallId);
2309
+ if (component) {
2310
+ component.updateResult({ ...event.partialResult, isError: false }, true);
2311
+ this.ui.requestRender();
2312
+ }
2313
+ break;
2314
+ }
2315
+ case "tool_execution_end": {
2316
+ const component = this.pendingTools.get(event.toolCallId);
2317
+ if (component) {
2318
+ component.updateResult({ ...event.result, isError: event.isError });
2319
+ this.pendingTools.delete(event.toolCallId);
2320
+ this.ui.requestRender();
2321
+ }
2322
+ break;
2323
+ }
2324
+ case "agent_end":
2325
+ if (this.settingsManager.getShowTerminalProgress()) {
2326
+ this.ui.terminal.setProgress(false);
2327
+ }
2328
+ if (this.loadingAnimation) {
2329
+ this.loadingAnimation.stop();
2330
+ this.loadingAnimation = undefined;
2331
+ this.statusContainer.clear();
2332
+ }
2333
+ if (this.streamingComponent) {
2334
+ this.chatContainer.removeChild(this.streamingComponent);
2335
+ this.streamingComponent = undefined;
2336
+ this.streamingMessage = undefined;
2337
+ }
2338
+ this.pendingTools.clear();
2339
+ await this.checkShutdownRequested();
2340
+ this.ui.requestRender();
2341
+ break;
2342
+ case "compaction_start": {
2343
+ if (this.settingsManager.getShowTerminalProgress()) {
2344
+ this.ui.terminal.setProgress(true);
2345
+ }
2346
+ // Keep editor active; submissions are queued during compaction.
2347
+ this.autoCompactionEscapeHandler = this.defaultEditor.onEscape;
2348
+ this.defaultEditor.onEscape = () => {
2349
+ this.session.abortCompaction();
2350
+ };
2351
+ this.statusContainer.clear();
2352
+ const cancelHint = `(${keyText("app.interrupt")} to cancel)`;
2353
+ const label = event.reason === "manual"
2354
+ ? `Compacting context... ${cancelHint}`
2355
+ : `${event.reason === "overflow" ? "Context overflow detected, " : ""}Auto-compacting... ${cancelHint}`;
2356
+ this.autoCompactionLoader = new Loader(this.ui, (spinner) => theme.fg("accent", spinner), (text) => theme.fg("muted", text), label);
2357
+ this.statusContainer.addChild(this.autoCompactionLoader);
2358
+ this.ui.requestRender();
2359
+ break;
2360
+ }
2361
+ case "compaction_end": {
2362
+ if (this.settingsManager.getShowTerminalProgress()) {
2363
+ this.ui.terminal.setProgress(false);
2364
+ }
2365
+ if (this.autoCompactionEscapeHandler) {
2366
+ this.defaultEditor.onEscape = this.autoCompactionEscapeHandler;
2367
+ this.autoCompactionEscapeHandler = undefined;
2368
+ }
2369
+ if (this.autoCompactionLoader) {
2370
+ this.autoCompactionLoader.stop();
2371
+ this.autoCompactionLoader = undefined;
2372
+ this.statusContainer.clear();
2373
+ }
2374
+ if (event.aborted) {
2375
+ if (event.reason === "manual") {
2376
+ this.showError("Compaction cancelled");
2377
+ }
2378
+ else {
2379
+ this.showStatus("Auto-compaction cancelled");
2380
+ }
2381
+ }
2382
+ else if (event.result) {
2383
+ this.chatContainer.clear();
2384
+ this.rebuildChatFromMessages();
2385
+ this.addMessageToChat(createCompactionSummaryMessage(event.result.summary, event.result.tokensBefore, new Date().toISOString()));
2386
+ this.footer.invalidate();
2387
+ }
2388
+ else if (event.errorMessage) {
2389
+ if (event.reason === "manual") {
2390
+ this.showError(event.errorMessage);
2391
+ }
2392
+ else {
2393
+ this.chatContainer.addChild(new Spacer(1));
2394
+ this.chatContainer.addChild(new Text(theme.fg("error", event.errorMessage), 1, 0));
2395
+ }
2396
+ }
2397
+ void this.flushCompactionQueue({ willRetry: event.willRetry });
2398
+ this.ui.requestRender();
2399
+ break;
2400
+ }
2401
+ case "auto_retry_start": {
2402
+ // Set up escape to abort retry
2403
+ this.retryEscapeHandler = this.defaultEditor.onEscape;
2404
+ this.defaultEditor.onEscape = () => {
2405
+ this.session.abortRetry();
2406
+ };
2407
+ // Show retry indicator
2408
+ this.statusContainer.clear();
2409
+ this.retryCountdown?.dispose();
2410
+ const retryMessage = (seconds) => `Retrying (${event.attempt}/${event.maxAttempts}) in ${seconds}s... (${keyText("app.interrupt")} to cancel)`;
2411
+ this.retryLoader = new Loader(this.ui, (spinner) => theme.fg("warning", spinner), (text) => theme.fg("muted", text), retryMessage(Math.ceil(event.delayMs / 1000)));
2412
+ this.retryCountdown = new CountdownTimer(event.delayMs, this.ui, (seconds) => {
2413
+ this.retryLoader?.setMessage(retryMessage(seconds));
2414
+ }, () => {
2415
+ this.retryCountdown = undefined;
2416
+ });
2417
+ this.statusContainer.addChild(this.retryLoader);
2418
+ this.ui.requestRender();
2419
+ break;
2420
+ }
2421
+ case "auto_retry_end": {
2422
+ // Restore escape handler
2423
+ if (this.retryEscapeHandler) {
2424
+ this.defaultEditor.onEscape = this.retryEscapeHandler;
2425
+ this.retryEscapeHandler = undefined;
2426
+ }
2427
+ if (this.retryCountdown) {
2428
+ this.retryCountdown.dispose();
2429
+ this.retryCountdown = undefined;
2430
+ }
2431
+ // Stop loader
2432
+ if (this.retryLoader) {
2433
+ this.retryLoader.stop();
2434
+ this.retryLoader = undefined;
2435
+ this.statusContainer.clear();
2436
+ }
2437
+ // Show error only on final failure (success shows normal response)
2438
+ if (!event.success) {
2439
+ this.showError(`Retry failed after ${event.attempt} attempts: ${event.finalError || "Unknown error"}`);
2440
+ }
2441
+ this.ui.requestRender();
2442
+ break;
2443
+ }
2444
+ }
2445
+ }
2446
+ /** Extract text content from a user message */
2447
+ getUserMessageText(message) {
2448
+ if (message.role !== "user")
2449
+ return "";
2450
+ const textBlocks = typeof message.content === "string"
2451
+ ? [{ type: "text", text: message.content }]
2452
+ : message.content.filter((c) => c.type === "text");
2453
+ return textBlocks.map((c) => c.text).join("");
2454
+ }
2455
+ /**
2456
+ * Show a status message in the chat.
2457
+ *
2458
+ * If multiple status messages are emitted back-to-back (without anything else being added to the chat),
2459
+ * we update the previous status line instead of appending new ones to avoid log spam.
2460
+ */
2461
+ showStatus(message) {
2462
+ const children = this.chatContainer.children;
2463
+ const last = children.length > 0 ? children[children.length - 1] : undefined;
2464
+ const secondLast = children.length > 1 ? children[children.length - 2] : undefined;
2465
+ if (last && secondLast && last === this.lastStatusText && secondLast === this.lastStatusSpacer) {
2466
+ this.lastStatusText.setText(theme.fg("dim", message));
2467
+ this.ui.requestRender();
2468
+ return;
2469
+ }
2470
+ const spacer = new Spacer(1);
2471
+ const text = new Text(theme.fg("dim", message), 1, 0);
2472
+ this.chatContainer.addChild(spacer);
2473
+ this.chatContainer.addChild(text);
2474
+ this.lastStatusSpacer = spacer;
2475
+ this.lastStatusText = text;
2476
+ this.ui.requestRender();
2477
+ }
2478
+ addMessageToChat(message, options) {
2479
+ switch (message.role) {
2480
+ case "bashExecution": {
2481
+ const component = new BashExecutionComponent(message.command, this.ui, message.excludeFromContext);
2482
+ if (message.output) {
2483
+ component.appendOutput(message.output);
2484
+ }
2485
+ component.setComplete(message.exitCode, message.cancelled, message.truncated ? { truncated: true } : undefined, message.fullOutputPath);
2486
+ this.chatContainer.addChild(component);
2487
+ break;
2488
+ }
2489
+ case "custom": {
2490
+ if (message.display) {
2491
+ const renderer = this.session.extensionRunner.getMessageRenderer(message.customType);
2492
+ const component = new CustomMessageComponent(message, renderer, this.getMarkdownThemeWithSettings());
2493
+ component.setExpanded(this.toolOutputExpanded);
2494
+ this.chatContainer.addChild(component);
2495
+ }
2496
+ break;
2497
+ }
2498
+ case "compactionSummary": {
2499
+ this.chatContainer.addChild(new Spacer(1));
2500
+ const component = new CompactionSummaryMessageComponent(message, this.getMarkdownThemeWithSettings());
2501
+ component.setExpanded(this.toolOutputExpanded);
2502
+ this.chatContainer.addChild(component);
2503
+ break;
2504
+ }
2505
+ case "branchSummary": {
2506
+ this.chatContainer.addChild(new Spacer(1));
2507
+ const component = new BranchSummaryMessageComponent(message, this.getMarkdownThemeWithSettings());
2508
+ component.setExpanded(this.toolOutputExpanded);
2509
+ this.chatContainer.addChild(component);
2510
+ break;
2511
+ }
2512
+ case "user": {
2513
+ const textContent = this.getUserMessageText(message);
2514
+ if (textContent) {
2515
+ if (this.chatContainer.children.length > 0) {
2516
+ this.chatContainer.addChild(new Spacer(1));
2517
+ }
2518
+ const skillBlock = parseSkillBlock(textContent);
2519
+ if (skillBlock) {
2520
+ // Render skill block (collapsible)
2521
+ const component = new SkillInvocationMessageComponent(skillBlock, this.getMarkdownThemeWithSettings());
2522
+ component.setExpanded(this.toolOutputExpanded);
2523
+ this.chatContainer.addChild(component);
2524
+ // Render user message separately if present
2525
+ if (skillBlock.userMessage) {
2526
+ const userComponent = new UserMessageComponent(skillBlock.userMessage, this.getMarkdownThemeWithSettings());
2527
+ this.chatContainer.addChild(userComponent);
2528
+ }
2529
+ }
2530
+ else {
2531
+ const userComponent = new UserMessageComponent(textContent, this.getMarkdownThemeWithSettings());
2532
+ this.chatContainer.addChild(userComponent);
2533
+ }
2534
+ if (options?.populateHistory) {
2535
+ this.editor.addToHistory?.(textContent);
2536
+ }
2537
+ }
2538
+ break;
2539
+ }
2540
+ case "assistant": {
2541
+ const assistantComponent = new AssistantMessageComponent(message, this.hideThinkingBlock, this.getMarkdownThemeWithSettings(), this.hiddenThinkingLabel);
2542
+ this.chatContainer.addChild(assistantComponent);
2543
+ break;
2544
+ }
2545
+ case "toolResult": {
2546
+ // Tool results are rendered inline with tool calls, handled separately
2547
+ break;
2548
+ }
2549
+ default: {
2550
+ const _exhaustive = message;
2551
+ }
2552
+ }
2553
+ }
2554
+ /**
2555
+ * Render session context to chat. Used for initial load and rebuild after compaction.
2556
+ * @param sessionContext Session context to render
2557
+ * @param options.updateFooter Update footer state
2558
+ * @param options.populateHistory Add user messages to editor history
2559
+ */
2560
+ renderSessionContext(sessionContext, options = {}) {
2561
+ this.pendingTools.clear();
2562
+ const renderedPendingTools = new Map();
2563
+ if (options.updateFooter) {
2564
+ this.footer.invalidate();
2565
+ this.updateEditorBorderColor();
2566
+ }
2567
+ for (const message of sessionContext.messages) {
2568
+ // Assistant messages need special handling for tool calls
2569
+ if (message.role === "assistant") {
2570
+ this.addMessageToChat(message);
2571
+ // Render tool call components
2572
+ for (const content of message.content) {
2573
+ if (content.type === "toolCall") {
2574
+ const component = new ToolExecutionComponent(content.name, content.id, content.arguments, {
2575
+ showImages: this.settingsManager.getShowImages(),
2576
+ imageWidthCells: this.settingsManager.getImageWidthCells(),
2577
+ }, this.getRegisteredToolDefinition(content.name), this.ui, this.sessionManager.getCwd());
2578
+ component.setExpanded(this.toolOutputExpanded);
2579
+ this.chatContainer.addChild(component);
2580
+ if (message.stopReason === "aborted" || message.stopReason === "error") {
2581
+ let errorMessage;
2582
+ if (message.stopReason === "aborted") {
2583
+ const retryAttempt = this.session.retryAttempt;
2584
+ errorMessage =
2585
+ retryAttempt > 0
2586
+ ? `Aborted after ${retryAttempt} retry attempt${retryAttempt > 1 ? "s" : ""}`
2587
+ : "Operation aborted";
2588
+ }
2589
+ else {
2590
+ errorMessage = message.errorMessage || "Error";
2591
+ }
2592
+ component.updateResult({ content: [{ type: "text", text: errorMessage }], isError: true });
2593
+ }
2594
+ else {
2595
+ renderedPendingTools.set(content.id, component);
2596
+ }
2597
+ }
2598
+ }
2599
+ }
2600
+ else if (message.role === "toolResult") {
2601
+ // Match tool results to pending tool components
2602
+ const component = renderedPendingTools.get(message.toolCallId);
2603
+ if (component) {
2604
+ component.updateResult(message);
2605
+ renderedPendingTools.delete(message.toolCallId);
2606
+ }
2607
+ }
2608
+ else {
2609
+ // All other messages use standard rendering
2610
+ this.addMessageToChat(message, options);
2611
+ }
2612
+ }
2613
+ for (const [toolCallId, component] of renderedPendingTools) {
2614
+ this.pendingTools.set(toolCallId, component);
2615
+ }
2616
+ this.ui.requestRender();
2617
+ }
2618
+ renderInitialMessages() {
2619
+ // Get aligned messages and entries from session context
2620
+ const context = this.sessionManager.buildSessionContext();
2621
+ this.renderSessionContext(context, {
2622
+ updateFooter: true,
2623
+ populateHistory: true,
2624
+ });
2625
+ // Show compaction info if session was compacted
2626
+ const allEntries = this.sessionManager.getEntries();
2627
+ const compactionCount = allEntries.filter((e) => e.type === "compaction").length;
2628
+ if (compactionCount > 0) {
2629
+ const times = compactionCount === 1 ? "1 time" : `${compactionCount} times`;
2630
+ this.showStatus(`Session compacted ${times}`);
2631
+ }
2632
+ }
2633
+ async getUserInput() {
2634
+ return new Promise((resolve) => {
2635
+ this.onInputCallback = (text) => {
2636
+ this.onInputCallback = undefined;
2637
+ resolve(text);
2638
+ };
2639
+ });
2640
+ }
2641
+ rebuildChatFromMessages() {
2642
+ this.chatContainer.clear();
2643
+ const context = this.sessionManager.buildSessionContext();
2644
+ this.renderSessionContext(context);
2645
+ }
2646
+ // =========================================================================
2647
+ // Key handlers
2648
+ // =========================================================================
2649
+ handleCtrlC() {
2650
+ const now = Date.now();
2651
+ if (now - this.lastSigintTime < 500) {
2652
+ void this.shutdown();
2653
+ }
2654
+ else {
2655
+ this.clearEditor();
2656
+ this.lastSigintTime = now;
2657
+ }
2658
+ }
2659
+ handleCtrlD() {
2660
+ // Only called when editor is empty (enforced by CustomEditor)
2661
+ void this.shutdown();
2662
+ }
2663
+ /**
2664
+ * Gracefully shutdown the agent.
2665
+ * Stops the TUI before emitting shutdown events so extension UI cleanup cannot
2666
+ * repaint the final frame while the process is exiting.
2667
+ */
2668
+ isShuttingDown = false;
2669
+ async shutdown() {
2670
+ if (this.isShuttingDown)
2671
+ return;
2672
+ this.isShuttingDown = true;
2673
+ this.unregisterSignalHandlers();
2674
+ // Drain any in-flight Kitty key release events before stopping.
2675
+ // This prevents escape sequences from leaking to the parent shell over slow SSH.
2676
+ await this.ui.terminal.drainInput(1000);
2677
+ this.stop();
2678
+ await this.runtimeHost.dispose();
2679
+ process.exit(0);
2680
+ }
2681
+ emergencyTerminalExit() {
2682
+ this.isShuttingDown = true;
2683
+ this.unregisterSignalHandlers();
2684
+ killTrackedDetachedChildren();
2685
+ // The terminal is gone. Do not run normal shutdown because TUI and
2686
+ // extension cleanup can write restore sequences and re-trigger EIO.
2687
+ process.exit(129);
2688
+ }
2689
+ /**
2690
+ * Check if shutdown was requested and perform shutdown if so.
2691
+ */
2692
+ async checkShutdownRequested() {
2693
+ if (!this.shutdownRequested)
2694
+ return;
2695
+ await this.shutdown();
2696
+ }
2697
+ registerSignalHandlers() {
2698
+ this.unregisterSignalHandlers();
2699
+ const signals = ["SIGTERM"];
2700
+ if (process.platform !== "win32") {
2701
+ signals.push("SIGHUP");
2702
+ }
2703
+ for (const signal of signals) {
2704
+ const handler = () => {
2705
+ if (signal === "SIGHUP") {
2706
+ this.emergencyTerminalExit();
2707
+ }
2708
+ killTrackedDetachedChildren();
2709
+ void this.shutdown();
2710
+ };
2711
+ process.prependListener(signal, handler);
2712
+ this.signalCleanupHandlers.push(() => process.off(signal, handler));
2713
+ }
2714
+ const terminalErrorHandler = (error) => {
2715
+ if (isDeadTerminalError(error)) {
2716
+ this.emergencyTerminalExit();
2717
+ }
2718
+ throw error;
2719
+ };
2720
+ process.stdout.on("error", terminalErrorHandler);
2721
+ process.stderr.on("error", terminalErrorHandler);
2722
+ this.signalCleanupHandlers.push(() => process.stdout.off("error", terminalErrorHandler));
2723
+ this.signalCleanupHandlers.push(() => process.stderr.off("error", terminalErrorHandler));
2724
+ }
2725
+ unregisterSignalHandlers() {
2726
+ for (const cleanup of this.signalCleanupHandlers) {
2727
+ cleanup();
2728
+ }
2729
+ this.signalCleanupHandlers = [];
2730
+ }
2731
+ handleCtrlZ() {
2732
+ if (process.platform === "win32") {
2733
+ this.showStatus("Suspend to background is not supported on Windows");
2734
+ return;
2735
+ }
2736
+ // Keep the event loop alive while suspended. Without this, stopping the TUI
2737
+ // can leave Node with no ref'ed handles, causing the process to exit on fg
2738
+ // before the SIGCONT handler gets a chance to restore the terminal.
2739
+ const suspendKeepAlive = setInterval(() => { }, 2 ** 30);
2740
+ // Ignore SIGINT while suspended so Ctrl+C in the terminal does not
2741
+ // kill the backgrounded process. The handler is removed on resume.
2742
+ const ignoreSigint = () => { };
2743
+ process.on("SIGINT", ignoreSigint);
2744
+ // Set up handler to restore TUI when resumed
2745
+ process.once("SIGCONT", () => {
2746
+ clearInterval(suspendKeepAlive);
2747
+ process.removeListener("SIGINT", ignoreSigint);
2748
+ this.ui.start();
2749
+ this.ui.requestRender(true);
2750
+ });
2751
+ try {
2752
+ // Stop the TUI (restore terminal to normal mode)
2753
+ this.ui.stop();
2754
+ // Send SIGTSTP to process group (pid=0 means all processes in group)
2755
+ process.kill(0, "SIGTSTP");
2756
+ }
2757
+ catch (error) {
2758
+ clearInterval(suspendKeepAlive);
2759
+ process.removeListener("SIGINT", ignoreSigint);
2760
+ throw error;
2761
+ }
2762
+ }
2763
+ async handleFollowUp() {
2764
+ const text = (this.editor.getExpandedText?.() ?? this.editor.getText()).trim();
2765
+ if (!text)
2766
+ return;
2767
+ // Queue input during compaction (extension commands execute immediately)
2768
+ if (this.session.isCompacting) {
2769
+ if (this.isExtensionCommand(text)) {
2770
+ this.editor.addToHistory?.(text);
2771
+ this.editor.setText("");
2772
+ await this.session.prompt(text);
2773
+ }
2774
+ else {
2775
+ this.queueCompactionMessage(text, "followUp");
2776
+ }
2777
+ return;
2778
+ }
2779
+ // Alt+Enter queues a follow-up message (waits until agent finishes)
2780
+ // This handles extension commands (execute immediately), prompt template expansion, and queueing
2781
+ if (this.session.isStreaming) {
2782
+ this.editor.addToHistory?.(text);
2783
+ this.editor.setText("");
2784
+ await this.session.prompt(text, { streamingBehavior: "followUp" });
2785
+ this.updatePendingMessagesDisplay();
2786
+ this.ui.requestRender();
2787
+ }
2788
+ // If not streaming, Alt+Enter acts like regular Enter (trigger onSubmit)
2789
+ else if (this.editor.onSubmit) {
2790
+ this.editor.setText("");
2791
+ this.editor.onSubmit(text);
2792
+ }
2793
+ }
2794
+ handleDequeue() {
2795
+ const restored = this.restoreQueuedMessagesToEditor();
2796
+ if (restored === 0) {
2797
+ this.showStatus("No queued messages to restore");
2798
+ }
2799
+ else {
2800
+ this.showStatus(`Restored ${restored} queued message${restored > 1 ? "s" : ""} to editor`);
2801
+ }
2802
+ }
2803
+ updateEditorBorderColor() {
2804
+ if (this.isBashMode) {
2805
+ this.editor.borderColor = theme.getBashModeBorderColor();
2806
+ }
2807
+ else {
2808
+ const level = this.session.thinkingLevel || "off";
2809
+ this.editor.borderColor = theme.getThinkingBorderColor(level);
2810
+ }
2811
+ this.ui.requestRender();
2812
+ }
2813
+ cycleThinkingLevel() {
2814
+ const newLevel = this.session.cycleThinkingLevel();
2815
+ if (newLevel === undefined) {
2816
+ this.showStatus("Current model does not support thinking");
2817
+ }
2818
+ else {
2819
+ this.footer.invalidate();
2820
+ this.updateEditorBorderColor();
2821
+ this.showStatus(`Thinking level: ${newLevel}`);
2822
+ }
2823
+ }
2824
+ async cycleModel(direction) {
2825
+ try {
2826
+ const result = await this.session.cycleModel(direction);
2827
+ if (result === undefined) {
2828
+ const msg = this.session.scopedModels.length > 0 ? "Only one model in scope" : "Only one model available";
2829
+ this.showStatus(msg);
2830
+ }
2831
+ else {
2832
+ this.footer.invalidate();
2833
+ this.updateEditorBorderColor();
2834
+ const thinkingStr = result.model.reasoning && result.thinkingLevel !== "off" ? ` (thinking: ${result.thinkingLevel})` : "";
2835
+ this.showStatus(`Switched to ${result.model.name || result.model.id}${thinkingStr}`);
2836
+ void this.maybeWarnAboutAnthropicSubscriptionAuth(result.model);
2837
+ }
2838
+ }
2839
+ catch (error) {
2840
+ this.showError(error instanceof Error ? error.message : String(error));
2841
+ }
2842
+ }
2843
+ toggleToolOutputExpansion() {
2844
+ this.setToolsExpanded(!this.toolOutputExpanded);
2845
+ }
2846
+ setToolsExpanded(expanded) {
2847
+ this.toolOutputExpanded = expanded;
2848
+ const activeHeader = this.customHeader ?? this.builtInHeader;
2849
+ if (isExpandable(activeHeader)) {
2850
+ activeHeader.setExpanded(expanded);
2851
+ }
2852
+ for (const child of this.chatContainer.children) {
2853
+ if (isExpandable(child)) {
2854
+ child.setExpanded(expanded);
2855
+ }
2856
+ }
2857
+ this.ui.requestRender();
2858
+ }
2859
+ toggleThinkingBlockVisibility() {
2860
+ this.hideThinkingBlock = !this.hideThinkingBlock;
2861
+ this.settingsManager.setHideThinkingBlock(this.hideThinkingBlock);
2862
+ // Rebuild chat from session messages
2863
+ this.chatContainer.clear();
2864
+ this.rebuildChatFromMessages();
2865
+ // If streaming, re-add the streaming component with updated visibility and re-render
2866
+ if (this.streamingComponent && this.streamingMessage) {
2867
+ this.streamingComponent.setHideThinkingBlock(this.hideThinkingBlock);
2868
+ this.streamingComponent.updateContent(this.streamingMessage);
2869
+ this.chatContainer.addChild(this.streamingComponent);
2870
+ }
2871
+ this.showStatus(`Thinking blocks: ${this.hideThinkingBlock ? "hidden" : "visible"}`);
2872
+ }
2873
+ openExternalEditor() {
2874
+ // Determine editor (respect $VISUAL, then $EDITOR)
2875
+ const editorCmd = process.env.VISUAL || process.env.EDITOR;
2876
+ if (!editorCmd) {
2877
+ this.showWarning("No editor configured. Set $VISUAL or $EDITOR environment variable.");
2878
+ return;
2879
+ }
2880
+ const currentText = this.editor.getExpandedText?.() ?? this.editor.getText();
2881
+ const tmpFile = path.join(os.tmpdir(), `pi-editor-${Date.now()}.pi.md`);
2882
+ try {
2883
+ // Write current content to temp file
2884
+ fs.writeFileSync(tmpFile, currentText, "utf-8");
2885
+ // Stop TUI to release terminal
2886
+ this.ui.stop();
2887
+ // Split by space to support editor arguments (e.g., "code --wait")
2888
+ const [editor, ...editorArgs] = editorCmd.split(" ");
2889
+ // Spawn editor synchronously with inherited stdio for interactive editing
2890
+ const result = spawnSync(editor, [...editorArgs, tmpFile], {
2891
+ stdio: "inherit",
2892
+ shell: process.platform === "win32",
2893
+ });
2894
+ // On successful exit (status 0), replace editor content
2895
+ if (result.status === 0) {
2896
+ const newContent = fs.readFileSync(tmpFile, "utf-8").replace(/\n$/, "");
2897
+ this.editor.setText(newContent);
2898
+ }
2899
+ // On non-zero exit, keep original text (no action needed)
2900
+ }
2901
+ finally {
2902
+ // Clean up temp file
2903
+ try {
2904
+ fs.unlinkSync(tmpFile);
2905
+ }
2906
+ catch {
2907
+ // Ignore cleanup errors
2908
+ }
2909
+ // Restart TUI
2910
+ this.ui.start();
2911
+ // Force full re-render since external editor uses alternate screen
2912
+ this.ui.requestRender(true);
2913
+ }
2914
+ }
2915
+ // =========================================================================
2916
+ // UI helpers
2917
+ // =========================================================================
2918
+ clearEditor() {
2919
+ this.editor.setText("");
2920
+ this.ui.requestRender();
2921
+ }
2922
+ showError(errorMessage) {
2923
+ this.chatContainer.addChild(new Spacer(1));
2924
+ this.chatContainer.addChild(new Text(theme.fg("error", `Error: ${errorMessage}`), 1, 0));
2925
+ this.ui.requestRender();
2926
+ }
2927
+ showWarning(warningMessage) {
2928
+ this.chatContainer.addChild(new Spacer(1));
2929
+ this.chatContainer.addChild(new Text(theme.fg("warning", `Warning: ${warningMessage}`), 1, 0));
2930
+ this.ui.requestRender();
2931
+ }
2932
+ showNewVersionNotification(newVersion) {
2933
+ const action = theme.fg("accent", `${APP_NAME} update`);
2934
+ const updateInstruction = theme.fg("muted", `New version ${newVersion} is available. Run `) + action;
2935
+ const changelogUrl = theme.fg("accent", "https://github.com/earendil-works/pi-mono/blob/main/packages/coding-agent/CHANGELOG.md");
2936
+ const changelogLine = theme.fg("muted", "Changelog: ") + changelogUrl;
2937
+ this.chatContainer.addChild(new Spacer(1));
2938
+ this.chatContainer.addChild(new DynamicBorder((text) => theme.fg("warning", text)));
2939
+ this.chatContainer.addChild(new Text(`${theme.bold(theme.fg("warning", "Update Available"))}\n${updateInstruction}\n${changelogLine}`, 1, 0));
2940
+ this.chatContainer.addChild(new DynamicBorder((text) => theme.fg("warning", text)));
2941
+ this.ui.requestRender();
2942
+ }
2943
+ showPackageUpdateNotification(packages) {
2944
+ const action = theme.fg("accent", `${APP_NAME} update`);
2945
+ const updateInstruction = theme.fg("muted", "Package updates are available. Run ") + action;
2946
+ const packageLines = packages.map((pkg) => `- ${pkg}`).join("\n");
2947
+ this.chatContainer.addChild(new Spacer(1));
2948
+ this.chatContainer.addChild(new DynamicBorder((text) => theme.fg("warning", text)));
2949
+ this.chatContainer.addChild(new Text(`${theme.bold(theme.fg("warning", "Package Updates Available"))}\n${updateInstruction}\n${theme.fg("muted", "Packages:")}\n${packageLines}`, 1, 0));
2950
+ this.chatContainer.addChild(new DynamicBorder((text) => theme.fg("warning", text)));
2951
+ this.ui.requestRender();
2952
+ }
2953
+ /**
2954
+ * Get all queued messages (read-only).
2955
+ * Combines session queue and compaction queue.
2956
+ */
2957
+ getAllQueuedMessages() {
2958
+ return {
2959
+ steering: [
2960
+ ...this.session.getSteeringMessages(),
2961
+ ...this.compactionQueuedMessages.filter((msg) => msg.mode === "steer").map((msg) => msg.text),
2962
+ ],
2963
+ followUp: [
2964
+ ...this.session.getFollowUpMessages(),
2965
+ ...this.compactionQueuedMessages.filter((msg) => msg.mode === "followUp").map((msg) => msg.text),
2966
+ ],
2967
+ };
2968
+ }
2969
+ /**
2970
+ * Clear all queued messages and return their contents.
2971
+ * Clears both session queue and compaction queue.
2972
+ */
2973
+ clearAllQueues() {
2974
+ const { steering, followUp } = this.session.clearQueue();
2975
+ const compactionSteering = this.compactionQueuedMessages
2976
+ .filter((msg) => msg.mode === "steer")
2977
+ .map((msg) => msg.text);
2978
+ const compactionFollowUp = this.compactionQueuedMessages
2979
+ .filter((msg) => msg.mode === "followUp")
2980
+ .map((msg) => msg.text);
2981
+ this.compactionQueuedMessages = [];
2982
+ return {
2983
+ steering: [...steering, ...compactionSteering],
2984
+ followUp: [...followUp, ...compactionFollowUp],
2985
+ };
2986
+ }
2987
+ updatePendingMessagesDisplay() {
2988
+ this.pendingMessagesContainer.clear();
2989
+ const { steering: steeringMessages, followUp: followUpMessages } = this.getAllQueuedMessages();
2990
+ if (steeringMessages.length > 0 || followUpMessages.length > 0) {
2991
+ this.pendingMessagesContainer.addChild(new Spacer(1));
2992
+ for (const message of steeringMessages) {
2993
+ const text = theme.fg("dim", `Steering: ${message}`);
2994
+ this.pendingMessagesContainer.addChild(new TruncatedText(text, 1, 0));
2995
+ }
2996
+ for (const message of followUpMessages) {
2997
+ const text = theme.fg("dim", `Follow-up: ${message}`);
2998
+ this.pendingMessagesContainer.addChild(new TruncatedText(text, 1, 0));
2999
+ }
3000
+ const dequeueHint = this.getAppKeyDisplay("app.message.dequeue");
3001
+ const hintText = theme.fg("dim", `↳ ${dequeueHint} to edit all queued messages`);
3002
+ this.pendingMessagesContainer.addChild(new TruncatedText(hintText, 1, 0));
3003
+ }
3004
+ }
3005
+ restoreQueuedMessagesToEditor(options) {
3006
+ const { steering, followUp } = this.clearAllQueues();
3007
+ const allQueued = [...steering, ...followUp];
3008
+ if (allQueued.length === 0) {
3009
+ this.updatePendingMessagesDisplay();
3010
+ if (options?.abort) {
3011
+ this.agent.abort();
3012
+ }
3013
+ return 0;
3014
+ }
3015
+ const queuedText = allQueued.join("\n\n");
3016
+ const currentText = options?.currentText ?? this.editor.getText();
3017
+ const combinedText = [queuedText, currentText].filter((t) => t.trim()).join("\n\n");
3018
+ this.editor.setText(combinedText);
3019
+ this.updatePendingMessagesDisplay();
3020
+ if (options?.abort) {
3021
+ this.agent.abort();
3022
+ }
3023
+ return allQueued.length;
3024
+ }
3025
+ queueCompactionMessage(text, mode) {
3026
+ this.compactionQueuedMessages.push({ text, mode });
3027
+ this.editor.addToHistory?.(text);
3028
+ this.editor.setText("");
3029
+ this.updatePendingMessagesDisplay();
3030
+ this.showStatus("Queued message for after compaction");
3031
+ }
3032
+ isExtensionCommand(text) {
3033
+ if (!text.startsWith("/"))
3034
+ return false;
3035
+ const extensionRunner = this.session.extensionRunner;
3036
+ const spaceIndex = text.indexOf(" ");
3037
+ const commandName = spaceIndex === -1 ? text.slice(1) : text.slice(1, spaceIndex);
3038
+ return !!extensionRunner.getCommand(commandName);
3039
+ }
3040
+ async flushCompactionQueue(options) {
3041
+ if (this.compactionQueuedMessages.length === 0) {
3042
+ return;
3043
+ }
3044
+ const queuedMessages = [...this.compactionQueuedMessages];
3045
+ this.compactionQueuedMessages = [];
3046
+ this.updatePendingMessagesDisplay();
3047
+ const restoreQueue = (error) => {
3048
+ this.session.clearQueue();
3049
+ this.compactionQueuedMessages = queuedMessages;
3050
+ this.updatePendingMessagesDisplay();
3051
+ this.showError(`Failed to send queued message${queuedMessages.length > 1 ? "s" : ""}: ${error instanceof Error ? error.message : String(error)}`);
3052
+ };
3053
+ try {
3054
+ if (options?.willRetry) {
3055
+ // When retry is pending, queue messages for the retry turn
3056
+ for (const message of queuedMessages) {
3057
+ if (this.isExtensionCommand(message.text)) {
3058
+ await this.session.prompt(message.text);
3059
+ }
3060
+ else if (message.mode === "followUp") {
3061
+ await this.session.followUp(message.text);
3062
+ }
3063
+ else {
3064
+ await this.session.steer(message.text);
3065
+ }
3066
+ }
3067
+ this.updatePendingMessagesDisplay();
3068
+ return;
3069
+ }
3070
+ // Find first non-extension-command message to use as prompt
3071
+ const firstPromptIndex = queuedMessages.findIndex((message) => !this.isExtensionCommand(message.text));
3072
+ if (firstPromptIndex === -1) {
3073
+ // All extension commands - execute them all
3074
+ for (const message of queuedMessages) {
3075
+ await this.session.prompt(message.text);
3076
+ }
3077
+ return;
3078
+ }
3079
+ // Execute any extension commands before the first prompt
3080
+ const preCommands = queuedMessages.slice(0, firstPromptIndex);
3081
+ const firstPrompt = queuedMessages[firstPromptIndex];
3082
+ const rest = queuedMessages.slice(firstPromptIndex + 1);
3083
+ for (const message of preCommands) {
3084
+ await this.session.prompt(message.text);
3085
+ }
3086
+ // Send first prompt (starts streaming)
3087
+ const promptPromise = this.session.prompt(firstPrompt.text).catch((error) => {
3088
+ restoreQueue(error);
3089
+ });
3090
+ // Queue remaining messages
3091
+ for (const message of rest) {
3092
+ if (this.isExtensionCommand(message.text)) {
3093
+ await this.session.prompt(message.text);
3094
+ }
3095
+ else if (message.mode === "followUp") {
3096
+ await this.session.followUp(message.text);
3097
+ }
3098
+ else {
3099
+ await this.session.steer(message.text);
3100
+ }
3101
+ }
3102
+ this.updatePendingMessagesDisplay();
3103
+ void promptPromise;
3104
+ }
3105
+ catch (error) {
3106
+ restoreQueue(error);
3107
+ }
3108
+ }
3109
+ /** Move pending bash components from pending area to chat */
3110
+ flushPendingBashComponents() {
3111
+ for (const component of this.pendingBashComponents) {
3112
+ this.pendingMessagesContainer.removeChild(component);
3113
+ this.chatContainer.addChild(component);
3114
+ }
3115
+ this.pendingBashComponents = [];
3116
+ }
3117
+ // =========================================================================
3118
+ // Selectors
3119
+ // =========================================================================
3120
+ /**
3121
+ * Shows a selector component in place of the editor.
3122
+ * @param create Factory that receives a `done` callback and returns the component and focus target
3123
+ */
3124
+ showSelector(create) {
3125
+ const done = () => {
3126
+ this.editorContainer.clear();
3127
+ this.editorContainer.addChild(this.editor);
3128
+ this.ui.setFocus(this.editor);
3129
+ };
3130
+ const { component, focus } = create(done);
3131
+ this.editorContainer.clear();
3132
+ this.editorContainer.addChild(component);
3133
+ this.ui.setFocus(focus);
3134
+ this.ui.requestRender();
3135
+ }
3136
+ showSettingsSelector() {
3137
+ this.showSelector((done) => {
3138
+ const selector = new SettingsSelectorComponent({
3139
+ autoCompact: this.session.autoCompactionEnabled,
3140
+ showImages: this.settingsManager.getShowImages(),
3141
+ imageWidthCells: this.settingsManager.getImageWidthCells(),
3142
+ autoResizeImages: this.settingsManager.getImageAutoResize(),
3143
+ blockImages: this.settingsManager.getBlockImages(),
3144
+ enableSkillCommands: this.settingsManager.getEnableSkillCommands(),
3145
+ steeringMode: this.session.steeringMode,
3146
+ followUpMode: this.session.followUpMode,
3147
+ transport: this.settingsManager.getTransport(),
3148
+ thinkingLevel: this.session.thinkingLevel,
3149
+ availableThinkingLevels: this.session.getAvailableThinkingLevels(),
3150
+ currentTheme: this.settingsManager.getTheme() || "dark",
3151
+ availableThemes: getAvailableThemes(),
3152
+ hideThinkingBlock: this.hideThinkingBlock,
3153
+ collapseChangelog: this.settingsManager.getCollapseChangelog(),
3154
+ enableInstallTelemetry: this.settingsManager.getEnableInstallTelemetry(),
3155
+ doubleEscapeAction: this.settingsManager.getDoubleEscapeAction(),
3156
+ treeFilterMode: this.settingsManager.getTreeFilterMode(),
3157
+ showHardwareCursor: this.settingsManager.getShowHardwareCursor(),
3158
+ editorPaddingX: this.settingsManager.getEditorPaddingX(),
3159
+ autocompleteMaxVisible: this.settingsManager.getAutocompleteMaxVisible(),
3160
+ quietStartup: this.settingsManager.getQuietStartup(),
3161
+ clearOnShrink: this.settingsManager.getClearOnShrink(),
3162
+ showTerminalProgress: this.settingsManager.getShowTerminalProgress(),
3163
+ warnings: this.settingsManager.getWarnings(),
3164
+ }, {
3165
+ onAutoCompactChange: (enabled) => {
3166
+ this.session.setAutoCompactionEnabled(enabled);
3167
+ this.footer.setAutoCompactEnabled(enabled);
3168
+ },
3169
+ onShowImagesChange: (enabled) => {
3170
+ this.settingsManager.setShowImages(enabled);
3171
+ for (const child of this.chatContainer.children) {
3172
+ if (child instanceof ToolExecutionComponent) {
3173
+ child.setShowImages(enabled);
3174
+ }
3175
+ }
3176
+ },
3177
+ onImageWidthCellsChange: (width) => {
3178
+ this.settingsManager.setImageWidthCells(width);
3179
+ for (const child of this.chatContainer.children) {
3180
+ if (child instanceof ToolExecutionComponent) {
3181
+ child.setImageWidthCells(width);
3182
+ }
3183
+ }
3184
+ },
3185
+ onAutoResizeImagesChange: (enabled) => {
3186
+ this.settingsManager.setImageAutoResize(enabled);
3187
+ },
3188
+ onBlockImagesChange: (blocked) => {
3189
+ this.settingsManager.setBlockImages(blocked);
3190
+ },
3191
+ onEnableSkillCommandsChange: (enabled) => {
3192
+ this.settingsManager.setEnableSkillCommands(enabled);
3193
+ this.setupAutocompleteProvider();
3194
+ },
3195
+ onSteeringModeChange: (mode) => {
3196
+ this.session.setSteeringMode(mode);
3197
+ },
3198
+ onFollowUpModeChange: (mode) => {
3199
+ this.session.setFollowUpMode(mode);
3200
+ },
3201
+ onTransportChange: (transport) => {
3202
+ this.settingsManager.setTransport(transport);
3203
+ this.session.agent.transport = transport;
3204
+ },
3205
+ onThinkingLevelChange: (level) => {
3206
+ this.session.setThinkingLevel(level);
3207
+ this.footer.invalidate();
3208
+ this.updateEditorBorderColor();
3209
+ },
3210
+ onThemeChange: (themeName) => {
3211
+ const result = setTheme(themeName, true);
3212
+ this.settingsManager.setTheme(themeName);
3213
+ this.ui.invalidate();
3214
+ if (!result.success) {
3215
+ this.showError(`Failed to load theme "${themeName}": ${result.error}\nFell back to dark theme.`);
3216
+ }
3217
+ },
3218
+ onThemePreview: (themeName) => {
3219
+ const result = setTheme(themeName, true);
3220
+ if (result.success) {
3221
+ this.ui.invalidate();
3222
+ this.ui.requestRender();
3223
+ }
3224
+ },
3225
+ onHideThinkingBlockChange: (hidden) => {
3226
+ this.hideThinkingBlock = hidden;
3227
+ this.settingsManager.setHideThinkingBlock(hidden);
3228
+ for (const child of this.chatContainer.children) {
3229
+ if (child instanceof AssistantMessageComponent) {
3230
+ child.setHideThinkingBlock(hidden);
3231
+ }
3232
+ }
3233
+ this.chatContainer.clear();
3234
+ this.rebuildChatFromMessages();
3235
+ },
3236
+ onCollapseChangelogChange: (collapsed) => {
3237
+ this.settingsManager.setCollapseChangelog(collapsed);
3238
+ },
3239
+ onEnableInstallTelemetryChange: (enabled) => {
3240
+ this.settingsManager.setEnableInstallTelemetry(enabled);
3241
+ },
3242
+ onQuietStartupChange: (enabled) => {
3243
+ this.settingsManager.setQuietStartup(enabled);
3244
+ },
3245
+ onDoubleEscapeActionChange: (action) => {
3246
+ this.settingsManager.setDoubleEscapeAction(action);
3247
+ },
3248
+ onTreeFilterModeChange: (mode) => {
3249
+ this.settingsManager.setTreeFilterMode(mode);
3250
+ },
3251
+ onShowHardwareCursorChange: (enabled) => {
3252
+ this.settingsManager.setShowHardwareCursor(enabled);
3253
+ this.ui.setShowHardwareCursor(enabled);
3254
+ },
3255
+ onEditorPaddingXChange: (padding) => {
3256
+ this.settingsManager.setEditorPaddingX(padding);
3257
+ this.defaultEditor.setPaddingX(padding);
3258
+ if (this.editor !== this.defaultEditor && this.editor.setPaddingX !== undefined) {
3259
+ this.editor.setPaddingX(padding);
3260
+ }
3261
+ },
3262
+ onAutocompleteMaxVisibleChange: (maxVisible) => {
3263
+ this.settingsManager.setAutocompleteMaxVisible(maxVisible);
3264
+ this.defaultEditor.setAutocompleteMaxVisible(maxVisible);
3265
+ if (this.editor !== this.defaultEditor && this.editor.setAutocompleteMaxVisible !== undefined) {
3266
+ this.editor.setAutocompleteMaxVisible(maxVisible);
3267
+ }
3268
+ },
3269
+ onClearOnShrinkChange: (enabled) => {
3270
+ this.settingsManager.setClearOnShrink(enabled);
3271
+ this.ui.setClearOnShrink(enabled);
3272
+ },
3273
+ onShowTerminalProgressChange: (enabled) => {
3274
+ this.settingsManager.setShowTerminalProgress(enabled);
3275
+ },
3276
+ onWarningsChange: (warnings) => {
3277
+ this.settingsManager.setWarnings(warnings);
3278
+ },
3279
+ onCancel: () => {
3280
+ done();
3281
+ this.ui.requestRender();
3282
+ },
3283
+ });
3284
+ return { component: selector, focus: selector.getSettingsList() };
3285
+ });
3286
+ }
3287
+ async handleModelCommand(searchTerm) {
3288
+ if (!searchTerm) {
3289
+ this.showModelSelector();
3290
+ return;
3291
+ }
3292
+ const model = await this.findExactModelMatch(searchTerm);
3293
+ if (model) {
3294
+ try {
3295
+ await this.session.setModel(model);
3296
+ this.footer.invalidate();
3297
+ this.updateEditorBorderColor();
3298
+ this.showStatus(`Model: ${model.id}`);
3299
+ void this.maybeWarnAboutAnthropicSubscriptionAuth(model);
3300
+ this.checkDaxnutsEasterEgg(model);
3301
+ }
3302
+ catch (error) {
3303
+ this.showError(error instanceof Error ? error.message : String(error));
3304
+ }
3305
+ return;
3306
+ }
3307
+ this.showModelSelector(searchTerm);
3308
+ }
3309
+ async findExactModelMatch(searchTerm) {
3310
+ const models = await this.getModelCandidates();
3311
+ return findExactModelReferenceMatch(searchTerm, models);
3312
+ }
3313
+ async getModelCandidates() {
3314
+ if (this.session.scopedModels.length > 0) {
3315
+ return this.session.scopedModels.map((scoped) => scoped.model);
3316
+ }
3317
+ this.session.modelRegistry.refresh();
3318
+ try {
3319
+ return await this.session.modelRegistry.getAvailable();
3320
+ }
3321
+ catch {
3322
+ return [];
3323
+ }
3324
+ }
3325
+ /** Update the footer's available provider count from current model candidates */
3326
+ async updateAvailableProviderCount() {
3327
+ const models = await this.getModelCandidates();
3328
+ const uniqueProviders = new Set(models.map((m) => m.provider));
3329
+ this.footerDataProvider.setAvailableProviderCount(uniqueProviders.size);
3330
+ }
3331
+ async maybeWarnAboutAnthropicSubscriptionAuth(model = this.session.model) {
3332
+ if (this.settingsManager.getWarnings().anthropicExtraUsage === false) {
3333
+ return;
3334
+ }
3335
+ if (this.anthropicSubscriptionWarningShown) {
3336
+ return;
3337
+ }
3338
+ if (!model || model.provider !== "anthropic") {
3339
+ return;
3340
+ }
3341
+ const storedCredential = this.session.modelRegistry.authStorage.get("anthropic");
3342
+ if (storedCredential?.type === "oauth") {
3343
+ this.anthropicSubscriptionWarningShown = true;
3344
+ this.showWarning(ANTHROPIC_SUBSCRIPTION_AUTH_WARNING);
3345
+ return;
3346
+ }
3347
+ try {
3348
+ const apiKey = await this.session.modelRegistry.getApiKeyForProvider(model.provider);
3349
+ if (!isAnthropicSubscriptionAuthKey(apiKey)) {
3350
+ return;
3351
+ }
3352
+ this.anthropicSubscriptionWarningShown = true;
3353
+ this.showWarning(ANTHROPIC_SUBSCRIPTION_AUTH_WARNING);
3354
+ }
3355
+ catch {
3356
+ // Ignore auth lookup failures for warning-only checks.
3357
+ }
3358
+ }
3359
+ showModelSelector(initialSearchInput) {
3360
+ this.showSelector((done) => {
3361
+ const selector = new ModelSelectorComponent(this.ui, this.session.model, this.settingsManager, this.session.modelRegistry, this.session.scopedModels, async (model) => {
3362
+ try {
3363
+ await this.session.setModel(model);
3364
+ this.footer.invalidate();
3365
+ this.updateEditorBorderColor();
3366
+ done();
3367
+ this.showStatus(`Model: ${model.id}`);
3368
+ void this.maybeWarnAboutAnthropicSubscriptionAuth(model);
3369
+ this.checkDaxnutsEasterEgg(model);
3370
+ }
3371
+ catch (error) {
3372
+ done();
3373
+ this.showError(error instanceof Error ? error.message : String(error));
3374
+ }
3375
+ }, () => {
3376
+ done();
3377
+ this.ui.requestRender();
3378
+ }, initialSearchInput);
3379
+ return { component: selector, focus: selector };
3380
+ });
3381
+ }
3382
+ async showModelsSelector() {
3383
+ // Get all available models
3384
+ this.session.modelRegistry.refresh();
3385
+ const allModels = this.session.modelRegistry.getAvailable();
3386
+ if (allModels.length === 0) {
3387
+ this.showStatus("No models available");
3388
+ return;
3389
+ }
3390
+ // Check if session has scoped models (from previous session-only changes or CLI --models)
3391
+ const sessionScopedModels = this.session.scopedModels;
3392
+ const hasSessionScope = sessionScopedModels.length > 0;
3393
+ // Build enabled model IDs from session state or settings
3394
+ let currentEnabledIds = null;
3395
+ if (hasSessionScope) {
3396
+ // Use current session's scoped models
3397
+ currentEnabledIds = sessionScopedModels.map((scoped) => `${scoped.model.provider}/${scoped.model.id}`);
3398
+ }
3399
+ else {
3400
+ // Fall back to settings
3401
+ const patterns = this.settingsManager.getEnabledModels();
3402
+ if (patterns !== undefined && patterns.length > 0) {
3403
+ const scopedModels = await resolveModelScope(patterns, this.session.modelRegistry);
3404
+ currentEnabledIds = scopedModels.map((scoped) => `${scoped.model.provider}/${scoped.model.id}`);
3405
+ }
3406
+ }
3407
+ // Helper to update session's scoped models (session-only, no persist)
3408
+ const updateSessionModels = async (enabledIds) => {
3409
+ currentEnabledIds = enabledIds === null ? null : [...enabledIds];
3410
+ if (enabledIds && enabledIds.length > 0 && enabledIds.length < allModels.length) {
3411
+ const newScopedModels = await resolveModelScope(enabledIds, this.session.modelRegistry);
3412
+ this.session.setScopedModels(newScopedModels.map((sm) => ({
3413
+ model: sm.model,
3414
+ thinkingLevel: sm.thinkingLevel,
3415
+ })));
3416
+ }
3417
+ else {
3418
+ // All enabled or none enabled = no filter
3419
+ this.session.setScopedModels([]);
3420
+ }
3421
+ await this.updateAvailableProviderCount();
3422
+ this.ui.requestRender();
3423
+ };
3424
+ this.showSelector((done) => {
3425
+ const selector = new ScopedModelsSelectorComponent({
3426
+ allModels,
3427
+ enabledModelIds: currentEnabledIds,
3428
+ }, {
3429
+ onChange: async (enabledIds) => {
3430
+ await updateSessionModels(enabledIds);
3431
+ },
3432
+ onPersist: (enabledIds) => {
3433
+ // Persist to settings
3434
+ const newPatterns = enabledIds === null || enabledIds.length === allModels.length
3435
+ ? undefined // All enabled = clear filter
3436
+ : enabledIds;
3437
+ this.settingsManager.setEnabledModels(newPatterns ? [...newPatterns] : undefined);
3438
+ this.showStatus("Model selection saved to settings");
3439
+ },
3440
+ onCancel: () => {
3441
+ done();
3442
+ this.ui.requestRender();
3443
+ },
3444
+ });
3445
+ return { component: selector, focus: selector };
3446
+ });
3447
+ }
3448
+ showUserMessageSelector() {
3449
+ const userMessages = this.session.getUserMessagesForForking();
3450
+ if (userMessages.length === 0) {
3451
+ this.showStatus("No messages to fork from");
3452
+ return;
3453
+ }
3454
+ const initialSelectedId = userMessages[userMessages.length - 1]?.entryId;
3455
+ this.showSelector((done) => {
3456
+ const selector = new UserMessageSelectorComponent(userMessages.map((m) => ({ id: m.entryId, text: m.text })), async (entryId) => {
3457
+ try {
3458
+ const result = await this.runtimeHost.fork(entryId);
3459
+ if (result.cancelled) {
3460
+ done();
3461
+ this.ui.requestRender();
3462
+ return;
3463
+ }
3464
+ this.renderCurrentSessionState();
3465
+ this.editor.setText(result.selectedText ?? "");
3466
+ done();
3467
+ this.showStatus("Forked to new session");
3468
+ }
3469
+ catch (error) {
3470
+ done();
3471
+ this.showError(error instanceof Error ? error.message : String(error));
3472
+ }
3473
+ }, () => {
3474
+ done();
3475
+ this.ui.requestRender();
3476
+ }, initialSelectedId);
3477
+ return { component: selector, focus: selector.getMessageList() };
3478
+ });
3479
+ }
3480
+ async handleCloneCommand() {
3481
+ const leafId = this.sessionManager.getLeafId();
3482
+ if (!leafId) {
3483
+ this.showStatus("Nothing to clone yet");
3484
+ return;
3485
+ }
3486
+ try {
3487
+ const result = await this.runtimeHost.fork(leafId, { position: "at" });
3488
+ if (result.cancelled) {
3489
+ this.ui.requestRender();
3490
+ return;
3491
+ }
3492
+ this.renderCurrentSessionState();
3493
+ this.editor.setText("");
3494
+ this.showStatus("Cloned to new session");
3495
+ }
3496
+ catch (error) {
3497
+ this.showError(error instanceof Error ? error.message : String(error));
3498
+ }
3499
+ }
3500
+ showTreeSelector(initialSelectedId) {
3501
+ const tree = this.sessionManager.getTree();
3502
+ const realLeafId = this.sessionManager.getLeafId();
3503
+ const initialFilterMode = this.settingsManager.getTreeFilterMode();
3504
+ if (tree.length === 0) {
3505
+ this.showStatus("No entries in session");
3506
+ return;
3507
+ }
3508
+ this.showSelector((done) => {
3509
+ const selector = new TreeSelectorComponent(tree, realLeafId, this.ui.terminal.rows, async (entryId) => {
3510
+ // Selecting the current leaf is a no-op (already there)
3511
+ if (entryId === realLeafId) {
3512
+ done();
3513
+ this.showStatus("Already at this point");
3514
+ return;
3515
+ }
3516
+ // Ask about summarization
3517
+ done(); // Close selector first
3518
+ // Loop until user makes a complete choice or cancels to tree
3519
+ let wantsSummary = false;
3520
+ let customInstructions;
3521
+ // Check if we should skip the prompt (user preference to always default to no summary)
3522
+ if (!this.settingsManager.getBranchSummarySkipPrompt()) {
3523
+ while (true) {
3524
+ const summaryChoice = await this.showExtensionSelector("Summarize branch?", [
3525
+ "No summary",
3526
+ "Summarize",
3527
+ "Summarize with custom prompt",
3528
+ ]);
3529
+ if (summaryChoice === undefined) {
3530
+ // User pressed escape - re-show tree selector with same selection
3531
+ this.showTreeSelector(entryId);
3532
+ return;
3533
+ }
3534
+ wantsSummary = summaryChoice !== "No summary";
3535
+ if (summaryChoice === "Summarize with custom prompt") {
3536
+ customInstructions = await this.showExtensionEditor("Custom summarization instructions");
3537
+ if (customInstructions === undefined) {
3538
+ // User cancelled - loop back to summary selector
3539
+ continue;
3540
+ }
3541
+ }
3542
+ // User made a complete choice
3543
+ break;
3544
+ }
3545
+ }
3546
+ // Set up escape handler and loader if summarizing
3547
+ let summaryLoader;
3548
+ const originalOnEscape = this.defaultEditor.onEscape;
3549
+ if (wantsSummary) {
3550
+ this.defaultEditor.onEscape = () => {
3551
+ this.session.abortBranchSummary();
3552
+ };
3553
+ this.chatContainer.addChild(new Spacer(1));
3554
+ summaryLoader = new Loader(this.ui, (spinner) => theme.fg("accent", spinner), (text) => theme.fg("muted", text), `Summarizing branch... (${keyText("app.interrupt")} to cancel)`);
3555
+ this.statusContainer.addChild(summaryLoader);
3556
+ this.ui.requestRender();
3557
+ }
3558
+ try {
3559
+ const result = await this.session.navigateTree(entryId, {
3560
+ summarize: wantsSummary,
3561
+ customInstructions,
3562
+ });
3563
+ if (result.aborted) {
3564
+ // Summarization aborted - re-show tree selector with same selection
3565
+ this.showStatus("Branch summarization cancelled");
3566
+ this.showTreeSelector(entryId);
3567
+ return;
3568
+ }
3569
+ if (result.cancelled) {
3570
+ this.showStatus("Navigation cancelled");
3571
+ return;
3572
+ }
3573
+ // Update UI
3574
+ this.chatContainer.clear();
3575
+ this.renderInitialMessages();
3576
+ if (result.editorText && !this.editor.getText().trim()) {
3577
+ this.editor.setText(result.editorText);
3578
+ }
3579
+ this.showStatus("Navigated to selected point");
3580
+ void this.flushCompactionQueue({ willRetry: false });
3581
+ }
3582
+ catch (error) {
3583
+ this.showError(error instanceof Error ? error.message : String(error));
3584
+ }
3585
+ finally {
3586
+ if (summaryLoader) {
3587
+ summaryLoader.stop();
3588
+ this.statusContainer.clear();
3589
+ }
3590
+ this.defaultEditor.onEscape = originalOnEscape;
3591
+ }
3592
+ }, () => {
3593
+ done();
3594
+ this.ui.requestRender();
3595
+ }, (entryId, label) => {
3596
+ this.sessionManager.appendLabelChange(entryId, label);
3597
+ this.ui.requestRender();
3598
+ }, initialSelectedId, initialFilterMode);
3599
+ return { component: selector, focus: selector };
3600
+ });
3601
+ }
3602
+ showSessionSelector() {
3603
+ this.showSelector((done) => {
3604
+ const selector = new SessionSelectorComponent((onProgress) => SessionManager.list(this.sessionManager.getCwd(), this.sessionManager.getSessionDir(), onProgress), SessionManager.listAll, async (sessionPath) => {
3605
+ done();
3606
+ await this.handleResumeSession(sessionPath);
3607
+ }, () => {
3608
+ done();
3609
+ this.ui.requestRender();
3610
+ }, () => {
3611
+ void this.shutdown();
3612
+ }, () => this.ui.requestRender(), {
3613
+ renameSession: async (sessionFilePath, nextName) => {
3614
+ const next = (nextName ?? "").trim();
3615
+ if (!next)
3616
+ return;
3617
+ const mgr = SessionManager.open(sessionFilePath);
3618
+ mgr.appendSessionInfo(next);
3619
+ },
3620
+ showRenameHint: true,
3621
+ keybindings: this.keybindings,
3622
+ }, this.sessionManager.getSessionFile());
3623
+ return { component: selector, focus: selector };
3624
+ });
3625
+ }
3626
+ async handleResumeSession(sessionPath, options) {
3627
+ if (this.loadingAnimation) {
3628
+ this.loadingAnimation.stop();
3629
+ this.loadingAnimation = undefined;
3630
+ }
3631
+ this.statusContainer.clear();
3632
+ try {
3633
+ const result = await this.runtimeHost.switchSession(sessionPath, {
3634
+ withSession: options?.withSession,
3635
+ });
3636
+ if (result.cancelled) {
3637
+ return result;
3638
+ }
3639
+ this.renderCurrentSessionState();
3640
+ this.showStatus("Resumed session");
3641
+ return result;
3642
+ }
3643
+ catch (error) {
3644
+ if (error instanceof MissingSessionCwdError) {
3645
+ const selectedCwd = await this.promptForMissingSessionCwd(error);
3646
+ if (!selectedCwd) {
3647
+ this.showStatus("Resume cancelled");
3648
+ return { cancelled: true };
3649
+ }
3650
+ const result = await this.runtimeHost.switchSession(sessionPath, {
3651
+ cwdOverride: selectedCwd,
3652
+ withSession: options?.withSession,
3653
+ });
3654
+ if (result.cancelled) {
3655
+ return result;
3656
+ }
3657
+ this.renderCurrentSessionState();
3658
+ this.showStatus("Resumed session in current cwd");
3659
+ return result;
3660
+ }
3661
+ return this.handleFatalRuntimeError("Failed to resume session", error);
3662
+ }
3663
+ }
3664
+ getLoginProviderOptions(authType) {
3665
+ const authStorage = this.session.modelRegistry.authStorage;
3666
+ const oauthProviders = authStorage.getOAuthProviders();
3667
+ const oauthProviderIds = new Set(oauthProviders.map((provider) => provider.id));
3668
+ const options = oauthProviders.map((provider) => ({
3669
+ id: provider.id,
3670
+ name: provider.name,
3671
+ authType: "oauth",
3672
+ }));
3673
+ const modelProviders = new Set(this.session.modelRegistry.getAll().map((model) => model.provider));
3674
+ for (const providerId of modelProviders) {
3675
+ if (!isApiKeyLoginProvider(providerId, oauthProviderIds)) {
3676
+ continue;
3677
+ }
3678
+ options.push({
3679
+ id: providerId,
3680
+ name: this.session.modelRegistry.getProviderDisplayName(providerId),
3681
+ authType: "api_key",
3682
+ });
3683
+ }
3684
+ const filteredOptions = authType ? options.filter((option) => option.authType === authType) : options;
3685
+ return filteredOptions.sort((a, b) => a.name.localeCompare(b.name));
3686
+ }
3687
+ getLogoutProviderOptions() {
3688
+ const authStorage = this.session.modelRegistry.authStorage;
3689
+ const options = [];
3690
+ for (const providerId of authStorage.list()) {
3691
+ const credential = authStorage.get(providerId);
3692
+ if (!credential) {
3693
+ continue;
3694
+ }
3695
+ options.push({
3696
+ id: providerId,
3697
+ name: this.session.modelRegistry.getProviderDisplayName(providerId),
3698
+ authType: credential.type,
3699
+ });
3700
+ }
3701
+ return options.sort((a, b) => a.name.localeCompare(b.name));
3702
+ }
3703
+ showLoginAuthTypeSelector() {
3704
+ const subscriptionLabel = "Use a subscription";
3705
+ const apiKeyLabel = "Use an API key";
3706
+ this.showSelector((done) => {
3707
+ const selector = new ExtensionSelectorComponent("Select authentication method:", [subscriptionLabel, apiKeyLabel], (option) => {
3708
+ done();
3709
+ const authType = option === subscriptionLabel ? "oauth" : "api_key";
3710
+ this.showLoginProviderSelector(authType);
3711
+ }, () => {
3712
+ done();
3713
+ this.ui.requestRender();
3714
+ });
3715
+ return { component: selector, focus: selector };
3716
+ });
3717
+ }
3718
+ showLoginProviderSelector(authType) {
3719
+ const providerOptions = this.getLoginProviderOptions(authType);
3720
+ if (providerOptions.length === 0) {
3721
+ this.showStatus(authType === "oauth" ? "No subscription providers available." : "No API key providers available.");
3722
+ return;
3723
+ }
3724
+ this.showSelector((done) => {
3725
+ const selector = new OAuthSelectorComponent("login", this.session.modelRegistry.authStorage, providerOptions, async (providerId) => {
3726
+ done();
3727
+ const providerOption = providerOptions.find((provider) => provider.id === providerId);
3728
+ if (!providerOption) {
3729
+ return;
3730
+ }
3731
+ if (providerOption.authType === "oauth") {
3732
+ await this.showLoginDialog(providerOption.id, providerOption.name);
3733
+ }
3734
+ else if (providerOption.id === BEDROCK_PROVIDER_ID) {
3735
+ this.showBedrockSetupDialog(providerOption.id, providerOption.name);
3736
+ }
3737
+ else {
3738
+ await this.showApiKeyLoginDialog(providerOption.id, providerOption.name);
3739
+ }
3740
+ }, () => {
3741
+ done();
3742
+ this.showLoginAuthTypeSelector();
3743
+ }, (providerId) => this.session.modelRegistry.getProviderAuthStatus(providerId));
3744
+ return { component: selector, focus: selector };
3745
+ });
3746
+ }
3747
+ async showOAuthSelector(mode) {
3748
+ if (mode === "login") {
3749
+ this.showLoginAuthTypeSelector();
3750
+ return;
3751
+ }
3752
+ const providerOptions = this.getLogoutProviderOptions();
3753
+ if (providerOptions.length === 0) {
3754
+ this.showStatus("No stored credentials to remove. /logout only removes credentials saved by /login; environment variables and models.json config are unchanged.");
3755
+ return;
3756
+ }
3757
+ this.showSelector((done) => {
3758
+ const selector = new OAuthSelectorComponent(mode, this.session.modelRegistry.authStorage, providerOptions, async (providerId) => {
3759
+ done();
3760
+ const providerOption = providerOptions.find((provider) => provider.id === providerId);
3761
+ if (!providerOption) {
3762
+ return;
3763
+ }
3764
+ try {
3765
+ this.session.modelRegistry.authStorage.logout(providerOption.id);
3766
+ this.session.modelRegistry.refresh();
3767
+ await this.updateAvailableProviderCount();
3768
+ const message = providerOption.authType === "oauth"
3769
+ ? `Logged out of ${providerOption.name}`
3770
+ : `Removed stored API key for ${providerOption.name}. Environment variables and models.json config are unchanged.`;
3771
+ this.showStatus(message);
3772
+ }
3773
+ catch (error) {
3774
+ this.showError(`Logout failed: ${error instanceof Error ? error.message : String(error)}`);
3775
+ }
3776
+ }, () => {
3777
+ done();
3778
+ this.ui.requestRender();
3779
+ });
3780
+ return { component: selector, focus: selector };
3781
+ });
3782
+ }
3783
+ async completeProviderAuthentication(providerId, providerName, authType, previousModel) {
3784
+ this.session.modelRegistry.refresh();
3785
+ const actionLabel = authType === "oauth" ? `Logged in to ${providerName}` : `Saved API key for ${providerName}`;
3786
+ let selectedModel;
3787
+ let selectionError;
3788
+ if (isUnknownModel(previousModel)) {
3789
+ const availableModels = this.session.modelRegistry.getAvailable();
3790
+ const providerModels = availableModels.filter((model) => model.provider === providerId);
3791
+ if (!hasDefaultModelProvider(providerId)) {
3792
+ selectionError = `${actionLabel}, but no default model is configured for provider "${providerId}". Use /model to select a model.`;
3793
+ }
3794
+ else if (providerModels.length === 0) {
3795
+ selectionError = `${actionLabel}, but no models are available for that provider. Use /model to select a model.`;
3796
+ }
3797
+ else {
3798
+ const defaultModelId = defaultModelPerProvider[providerId];
3799
+ selectedModel = providerModels.find((model) => model.id === defaultModelId);
3800
+ if (!selectedModel) {
3801
+ selectionError = `${actionLabel}, but its default model "${defaultModelId}" is not available. Use /model to select a model.`;
3802
+ }
3803
+ else {
3804
+ try {
3805
+ await this.session.setModel(selectedModel);
3806
+ }
3807
+ catch (error) {
3808
+ selectedModel = undefined;
3809
+ const errorMessage = error instanceof Error ? error.message : String(error);
3810
+ selectionError = `${actionLabel}, but selecting its default model failed: ${errorMessage}. Use /model to select a model.`;
3811
+ }
3812
+ }
3813
+ }
3814
+ }
3815
+ await this.updateAvailableProviderCount();
3816
+ this.footer.invalidate();
3817
+ this.updateEditorBorderColor();
3818
+ if (selectedModel) {
3819
+ this.showStatus(`${actionLabel}. Selected ${selectedModel.id}. Credentials saved to ${getAuthPath()}`);
3820
+ void this.maybeWarnAboutAnthropicSubscriptionAuth(selectedModel);
3821
+ this.checkDaxnutsEasterEgg(selectedModel);
3822
+ }
3823
+ else {
3824
+ this.showStatus(`${actionLabel}. Credentials saved to ${getAuthPath()}`);
3825
+ if (selectionError) {
3826
+ this.showError(selectionError);
3827
+ }
3828
+ else {
3829
+ void this.maybeWarnAboutAnthropicSubscriptionAuth();
3830
+ }
3831
+ }
3832
+ }
3833
+ showBedrockSetupDialog(providerId, providerName) {
3834
+ const restoreEditor = () => {
3835
+ this.editorContainer.clear();
3836
+ this.editorContainer.addChild(this.editor);
3837
+ this.ui.setFocus(this.editor);
3838
+ this.ui.requestRender();
3839
+ };
3840
+ const dialog = new LoginDialogComponent(this.ui, providerId, () => restoreEditor(), providerName, "Amazon Bedrock setup");
3841
+ dialog.showInfo([
3842
+ theme.fg("text", "Amazon Bedrock uses AWS credentials instead of a single API key."),
3843
+ theme.fg("text", "Configure an AWS profile, IAM keys, bearer token, or role-based credentials."),
3844
+ theme.fg("muted", "See:"),
3845
+ theme.fg("accent", ` ${path.join(getDocsPath(), "providers.md")}`),
3846
+ ]);
3847
+ this.editorContainer.clear();
3848
+ this.editorContainer.addChild(dialog);
3849
+ this.ui.setFocus(dialog);
3850
+ this.ui.requestRender();
3851
+ }
3852
+ async showApiKeyLoginDialog(providerId, providerName) {
3853
+ const previousModel = this.session.model;
3854
+ const dialog = new LoginDialogComponent(this.ui, providerId, (_success, _message) => {
3855
+ // Completion handled below
3856
+ }, providerName);
3857
+ this.editorContainer.clear();
3858
+ this.editorContainer.addChild(dialog);
3859
+ this.ui.setFocus(dialog);
3860
+ this.ui.requestRender();
3861
+ const restoreEditor = () => {
3862
+ this.editorContainer.clear();
3863
+ this.editorContainer.addChild(this.editor);
3864
+ this.ui.setFocus(this.editor);
3865
+ this.ui.requestRender();
3866
+ };
3867
+ try {
3868
+ const apiKey = (await dialog.showPrompt("Enter API key:")).trim();
3869
+ if (!apiKey) {
3870
+ throw new Error("API key cannot be empty.");
3871
+ }
3872
+ this.session.modelRegistry.authStorage.set(providerId, { type: "api_key", key: apiKey });
3873
+ restoreEditor();
3874
+ await this.completeProviderAuthentication(providerId, providerName, "api_key", previousModel);
3875
+ }
3876
+ catch (error) {
3877
+ restoreEditor();
3878
+ const errorMsg = error instanceof Error ? error.message : String(error);
3879
+ if (errorMsg !== "Login cancelled") {
3880
+ this.showError(`Failed to save API key for ${providerName}: ${errorMsg}`);
3881
+ }
3882
+ }
3883
+ }
3884
+ showOAuthLoginSelect(dialog, prompt) {
3885
+ return new Promise((resolve) => {
3886
+ const restoreDialog = () => {
3887
+ this.editorContainer.clear();
3888
+ this.editorContainer.addChild(dialog);
3889
+ this.ui.setFocus(dialog);
3890
+ this.ui.requestRender();
3891
+ };
3892
+ const labels = prompt.options.map((option) => option.label);
3893
+ const selector = new ExtensionSelectorComponent(prompt.message, labels, (optionLabel) => {
3894
+ restoreDialog();
3895
+ resolve(prompt.options.find((option) => option.label === optionLabel)?.id);
3896
+ }, () => {
3897
+ restoreDialog();
3898
+ resolve(undefined);
3899
+ });
3900
+ this.editorContainer.clear();
3901
+ this.editorContainer.addChild(selector);
3902
+ this.ui.setFocus(selector);
3903
+ this.ui.requestRender();
3904
+ });
3905
+ }
3906
+ async showLoginDialog(providerId, providerName) {
3907
+ const providerInfo = this.session.modelRegistry.authStorage
3908
+ .getOAuthProviders()
3909
+ .find((provider) => provider.id === providerId);
3910
+ const previousModel = this.session.model;
3911
+ // Providers that use callback servers (can paste redirect URL)
3912
+ const usesCallbackServer = providerInfo?.usesCallbackServer ?? false;
3913
+ // Create login dialog component
3914
+ const dialog = new LoginDialogComponent(this.ui, providerId, (_success, _message) => {
3915
+ // Completion handled below
3916
+ }, providerName);
3917
+ // Show dialog in editor container
3918
+ this.editorContainer.clear();
3919
+ this.editorContainer.addChild(dialog);
3920
+ this.ui.setFocus(dialog);
3921
+ this.ui.requestRender();
3922
+ // Promise for manual code input (racing with callback server)
3923
+ let manualCodeResolve;
3924
+ let manualCodeReject;
3925
+ const manualCodePromise = new Promise((resolve, reject) => {
3926
+ manualCodeResolve = resolve;
3927
+ manualCodeReject = reject;
3928
+ });
3929
+ // Restore editor helper
3930
+ const restoreEditor = () => {
3931
+ this.editorContainer.clear();
3932
+ this.editorContainer.addChild(this.editor);
3933
+ this.ui.setFocus(this.editor);
3934
+ this.ui.requestRender();
3935
+ };
3936
+ try {
3937
+ await this.session.modelRegistry.authStorage.login(providerId, {
3938
+ onAuth: (info) => {
3939
+ dialog.showAuth(info.url, info.instructions);
3940
+ if (usesCallbackServer) {
3941
+ // Show input for manual paste, racing with callback
3942
+ dialog
3943
+ .showManualInput("Paste redirect URL below, or complete login in browser:")
3944
+ .then((value) => {
3945
+ if (value && manualCodeResolve) {
3946
+ manualCodeResolve(value);
3947
+ manualCodeResolve = undefined;
3948
+ }
3949
+ })
3950
+ .catch(() => {
3951
+ if (manualCodeReject) {
3952
+ manualCodeReject(new Error("Login cancelled"));
3953
+ manualCodeReject = undefined;
3954
+ }
3955
+ });
3956
+ }
3957
+ else if (providerId === "github-copilot") {
3958
+ // GitHub Copilot polls after onAuth
3959
+ dialog.showWaiting("Waiting for browser authentication...");
3960
+ }
3961
+ // For Anthropic: onPrompt is called immediately after
3962
+ },
3963
+ onPrompt: async (prompt) => {
3964
+ return dialog.showPrompt(prompt.message, prompt.placeholder);
3965
+ },
3966
+ onProgress: (message) => {
3967
+ dialog.showProgress(message);
3968
+ },
3969
+ onSelect: (prompt) => this.showOAuthLoginSelect(dialog, prompt),
3970
+ onManualCodeInput: () => manualCodePromise,
3971
+ signal: dialog.signal,
3972
+ });
3973
+ // Success
3974
+ restoreEditor();
3975
+ await this.completeProviderAuthentication(providerId, providerName, "oauth", previousModel);
3976
+ }
3977
+ catch (error) {
3978
+ restoreEditor();
3979
+ const errorMsg = error instanceof Error ? error.message : String(error);
3980
+ if (errorMsg !== "Login cancelled") {
3981
+ this.showError(`Failed to login to ${providerName}: ${errorMsg}`);
3982
+ }
3983
+ }
3984
+ }
3985
+ // =========================================================================
3986
+ // Command handlers
3987
+ // =========================================================================
3988
+ async handleReloadCommand() {
3989
+ if (this.session.isStreaming) {
3990
+ this.showWarning("Wait for the current response to finish before reloading.");
3991
+ return;
3992
+ }
3993
+ if (this.session.isCompacting) {
3994
+ this.showWarning("Wait for compaction to finish before reloading.");
3995
+ return;
3996
+ }
3997
+ this.resetExtensionUI();
3998
+ const reloadBox = new Container();
3999
+ const borderColor = (s) => theme.fg("border", s);
4000
+ reloadBox.addChild(new DynamicBorder(borderColor));
4001
+ reloadBox.addChild(new Spacer(1));
4002
+ reloadBox.addChild(new Text(theme.fg("muted", "Reloading keybindings, extensions, skills, prompts, themes..."), 1, 0));
4003
+ reloadBox.addChild(new Spacer(1));
4004
+ reloadBox.addChild(new DynamicBorder(borderColor));
4005
+ const previousEditor = this.editor;
4006
+ this.editorContainer.clear();
4007
+ this.editorContainer.addChild(reloadBox);
4008
+ this.ui.setFocus(reloadBox);
4009
+ this.ui.requestRender(true);
4010
+ await new Promise((resolve) => process.nextTick(resolve));
4011
+ const dismissReloadBox = (editor) => {
4012
+ this.editorContainer.clear();
4013
+ this.editorContainer.addChild(editor);
4014
+ this.ui.setFocus(editor);
4015
+ this.ui.requestRender();
4016
+ };
4017
+ try {
4018
+ await this.session.reload();
4019
+ this.keybindings.reload();
4020
+ const activeHeader = this.customHeader ?? this.builtInHeader;
4021
+ if (isExpandable(activeHeader)) {
4022
+ activeHeader.setExpanded(this.toolOutputExpanded);
4023
+ }
4024
+ setRegisteredThemes(this.session.resourceLoader.getThemes().themes);
4025
+ this.hideThinkingBlock = this.settingsManager.getHideThinkingBlock();
4026
+ const themeName = this.settingsManager.getTheme();
4027
+ const themeResult = themeName ? setTheme(themeName, true) : { success: true };
4028
+ if (!themeResult.success) {
4029
+ this.showError(`Failed to load theme "${themeName}": ${themeResult.error}\nFell back to dark theme.`);
4030
+ }
4031
+ const editorPaddingX = this.settingsManager.getEditorPaddingX();
4032
+ const autocompleteMaxVisible = this.settingsManager.getAutocompleteMaxVisible();
4033
+ this.defaultEditor.setPaddingX(editorPaddingX);
4034
+ this.defaultEditor.setAutocompleteMaxVisible(autocompleteMaxVisible);
4035
+ if (this.editor !== this.defaultEditor) {
4036
+ this.editor.setPaddingX?.(editorPaddingX);
4037
+ this.editor.setAutocompleteMaxVisible?.(autocompleteMaxVisible);
4038
+ }
4039
+ this.ui.setShowHardwareCursor(this.settingsManager.getShowHardwareCursor());
4040
+ this.ui.setClearOnShrink(this.settingsManager.getClearOnShrink());
4041
+ this.setupAutocompleteProvider();
4042
+ const runner = this.session.extensionRunner;
4043
+ this.setupExtensionShortcuts(runner);
4044
+ this.rebuildChatFromMessages();
4045
+ dismissReloadBox(this.editor);
4046
+ this.showLoadedResources({
4047
+ force: false,
4048
+ showDiagnosticsWhenQuiet: true,
4049
+ });
4050
+ const modelsJsonError = this.session.modelRegistry.getError();
4051
+ if (modelsJsonError) {
4052
+ this.showError(`models.json error: ${modelsJsonError}`);
4053
+ }
4054
+ this.showStatus("Reloaded keybindings, extensions, skills, prompts, themes");
4055
+ }
4056
+ catch (error) {
4057
+ dismissReloadBox(previousEditor);
4058
+ this.showError(`Reload failed: ${error instanceof Error ? error.message : String(error)}`);
4059
+ }
4060
+ }
4061
+ async handleExportCommand(text) {
4062
+ const outputPath = this.getPathCommandArgument(text, "/export");
4063
+ try {
4064
+ if (outputPath?.endsWith(".jsonl")) {
4065
+ const filePath = this.session.exportToJsonl(outputPath);
4066
+ this.showStatus(`Session exported to: ${filePath}`);
4067
+ }
4068
+ else {
4069
+ const filePath = await this.session.exportToHtml(outputPath);
4070
+ this.showStatus(`Session exported to: ${filePath}`);
4071
+ }
4072
+ }
4073
+ catch (error) {
4074
+ this.showError(`Failed to export session: ${error instanceof Error ? error.message : "Unknown error"}`);
4075
+ }
4076
+ }
4077
+ getPathCommandArgument(text, command) {
4078
+ if (text === command) {
4079
+ return undefined;
4080
+ }
4081
+ if (!text.startsWith(`${command} `)) {
4082
+ return undefined;
4083
+ }
4084
+ const argsString = text.slice(command.length + 1).trimStart();
4085
+ if (!argsString) {
4086
+ return undefined;
4087
+ }
4088
+ const firstChar = argsString[0];
4089
+ if (firstChar === '"' || firstChar === "'") {
4090
+ const closingQuoteIndex = argsString.indexOf(firstChar, 1);
4091
+ if (closingQuoteIndex < 0) {
4092
+ return undefined;
4093
+ }
4094
+ return argsString.slice(1, closingQuoteIndex);
4095
+ }
4096
+ const firstWhitespaceIndex = argsString.search(/\s/);
4097
+ if (firstWhitespaceIndex < 0) {
4098
+ return argsString;
4099
+ }
4100
+ return argsString.slice(0, firstWhitespaceIndex);
4101
+ }
4102
+ async handleImportCommand(text) {
4103
+ const inputPath = this.getPathCommandArgument(text, "/import");
4104
+ if (!inputPath) {
4105
+ this.showError("Usage: /import <path.jsonl>");
4106
+ return;
4107
+ }
4108
+ const confirmed = await this.showExtensionConfirm("Import session", `Replace current session with ${inputPath}?`);
4109
+ if (!confirmed) {
4110
+ this.showStatus("Import cancelled");
4111
+ return;
4112
+ }
4113
+ try {
4114
+ if (this.loadingAnimation) {
4115
+ this.loadingAnimation.stop();
4116
+ this.loadingAnimation = undefined;
4117
+ }
4118
+ this.statusContainer.clear();
4119
+ const result = await this.runtimeHost.importFromJsonl(inputPath);
4120
+ if (result.cancelled) {
4121
+ this.showStatus("Import cancelled");
4122
+ return;
4123
+ }
4124
+ this.renderCurrentSessionState();
4125
+ this.showStatus(`Session imported from: ${inputPath}`);
4126
+ }
4127
+ catch (error) {
4128
+ if (error instanceof MissingSessionCwdError) {
4129
+ const selectedCwd = await this.promptForMissingSessionCwd(error);
4130
+ if (!selectedCwd) {
4131
+ this.showStatus("Import cancelled");
4132
+ return;
4133
+ }
4134
+ const result = await this.runtimeHost.importFromJsonl(inputPath, selectedCwd);
4135
+ if (result.cancelled) {
4136
+ this.showStatus("Import cancelled");
4137
+ return;
4138
+ }
4139
+ this.renderCurrentSessionState();
4140
+ this.showStatus(`Session imported from: ${inputPath}`);
4141
+ return;
4142
+ }
4143
+ if (error instanceof SessionImportFileNotFoundError) {
4144
+ this.showError(`Failed to import session: ${error.message}`);
4145
+ return;
4146
+ }
4147
+ await this.handleFatalRuntimeError("Failed to import session", error);
4148
+ }
4149
+ }
4150
+ async handleShareCommand() {
4151
+ // Check if gh is available and logged in
4152
+ try {
4153
+ const authResult = spawnSync("gh", ["auth", "status"], { encoding: "utf-8" });
4154
+ if (authResult.status !== 0) {
4155
+ this.showError("GitHub CLI is not logged in. Run 'gh auth login' first.");
4156
+ return;
4157
+ }
4158
+ }
4159
+ catch {
4160
+ this.showError("GitHub CLI (gh) is not installed. Install it from https://cli.github.com/");
4161
+ return;
4162
+ }
4163
+ // Export to a temp file
4164
+ const tmpFile = path.join(os.tmpdir(), "session.html");
4165
+ try {
4166
+ await this.session.exportToHtml(tmpFile);
4167
+ }
4168
+ catch (error) {
4169
+ this.showError(`Failed to export session: ${error instanceof Error ? error.message : "Unknown error"}`);
4170
+ return;
4171
+ }
4172
+ // Show cancellable loader, replacing the editor
4173
+ const loader = new BorderedLoader(this.ui, theme, "Creating gist...");
4174
+ this.editorContainer.clear();
4175
+ this.editorContainer.addChild(loader);
4176
+ this.ui.setFocus(loader);
4177
+ this.ui.requestRender();
4178
+ const restoreEditor = () => {
4179
+ loader.dispose();
4180
+ this.editorContainer.clear();
4181
+ this.editorContainer.addChild(this.editor);
4182
+ this.ui.setFocus(this.editor);
4183
+ try {
4184
+ fs.unlinkSync(tmpFile);
4185
+ }
4186
+ catch {
4187
+ // Ignore cleanup errors
4188
+ }
4189
+ };
4190
+ // Create a secret gist asynchronously
4191
+ let proc = null;
4192
+ loader.onAbort = () => {
4193
+ proc?.kill();
4194
+ restoreEditor();
4195
+ this.showStatus("Share cancelled");
4196
+ };
4197
+ try {
4198
+ const result = await new Promise((resolve) => {
4199
+ proc = spawn("gh", ["gist", "create", "--public=false", tmpFile]);
4200
+ let stdout = "";
4201
+ let stderr = "";
4202
+ proc.stdout?.on("data", (data) => {
4203
+ stdout += data.toString();
4204
+ });
4205
+ proc.stderr?.on("data", (data) => {
4206
+ stderr += data.toString();
4207
+ });
4208
+ proc.on("close", (code) => resolve({ stdout, stderr, code }));
4209
+ });
4210
+ if (loader.signal.aborted)
4211
+ return;
4212
+ restoreEditor();
4213
+ if (result.code !== 0) {
4214
+ const errorMsg = result.stderr?.trim() || "Unknown error";
4215
+ this.showError(`Failed to create gist: ${errorMsg}`);
4216
+ return;
4217
+ }
4218
+ // Extract gist ID from the URL returned by gh
4219
+ // gh returns something like: https://gist.github.com/username/GIST_ID
4220
+ const gistUrl = result.stdout?.trim();
4221
+ const gistId = gistUrl?.split("/").pop();
4222
+ if (!gistId) {
4223
+ this.showError("Failed to parse gist ID from gh output");
4224
+ return;
4225
+ }
4226
+ // Create the preview URL
4227
+ const previewUrl = getShareViewerUrl(gistId);
4228
+ this.showStatus(`Share URL: ${previewUrl}\nGist: ${gistUrl}`);
4229
+ }
4230
+ catch (error) {
4231
+ if (!loader.signal.aborted) {
4232
+ restoreEditor();
4233
+ this.showError(`Failed to create gist: ${error instanceof Error ? error.message : "Unknown error"}`);
4234
+ }
4235
+ }
4236
+ }
4237
+ async handleCopyCommand() {
4238
+ const text = this.session.getLastAssistantText();
4239
+ if (!text) {
4240
+ this.showError("No agent messages to copy yet.");
4241
+ return;
4242
+ }
4243
+ try {
4244
+ await copyToClipboard(text);
4245
+ this.showStatus("Copied last agent message to clipboard");
4246
+ }
4247
+ catch (error) {
4248
+ this.showError(error instanceof Error ? error.message : String(error));
4249
+ }
4250
+ }
4251
+ handleNameCommand(text) {
4252
+ const name = text.replace(/^\/name\s*/, "").trim();
4253
+ if (!name) {
4254
+ const currentName = this.sessionManager.getSessionName();
4255
+ if (currentName) {
4256
+ this.chatContainer.addChild(new Spacer(1));
4257
+ this.chatContainer.addChild(new Text(theme.fg("dim", `Session name: ${currentName}`), 1, 0));
4258
+ }
4259
+ else {
4260
+ this.showWarning("Usage: /name <name>");
4261
+ }
4262
+ this.ui.requestRender();
4263
+ return;
4264
+ }
4265
+ this.session.setSessionName(name);
4266
+ this.chatContainer.addChild(new Spacer(1));
4267
+ this.chatContainer.addChild(new Text(theme.fg("dim", `Session name set: ${name}`), 1, 0));
4268
+ this.ui.requestRender();
4269
+ }
4270
+ handleSessionCommand() {
4271
+ const stats = this.session.getSessionStats();
4272
+ const sessionName = this.sessionManager.getSessionName();
4273
+ let info = `${theme.bold("Session Info")}\n\n`;
4274
+ if (sessionName) {
4275
+ info += `${theme.fg("dim", "Name:")} ${sessionName}\n`;
4276
+ }
4277
+ info += `${theme.fg("dim", "File:")} ${stats.sessionFile ?? "In-memory"}\n`;
4278
+ info += `${theme.fg("dim", "ID:")} ${stats.sessionId}\n\n`;
4279
+ info += `${theme.bold("Messages")}\n`;
4280
+ info += `${theme.fg("dim", "User:")} ${stats.userMessages}\n`;
4281
+ info += `${theme.fg("dim", "Assistant:")} ${stats.assistantMessages}\n`;
4282
+ info += `${theme.fg("dim", "Tool Calls:")} ${stats.toolCalls}\n`;
4283
+ info += `${theme.fg("dim", "Tool Results:")} ${stats.toolResults}\n`;
4284
+ info += `${theme.fg("dim", "Total:")} ${stats.totalMessages}\n\n`;
4285
+ info += `${theme.bold("Tokens")}\n`;
4286
+ info += `${theme.fg("dim", "Input:")} ${stats.tokens.input.toLocaleString()}\n`;
4287
+ info += `${theme.fg("dim", "Output:")} ${stats.tokens.output.toLocaleString()}\n`;
4288
+ if (stats.tokens.cacheRead > 0) {
4289
+ info += `${theme.fg("dim", "Cache Read:")} ${stats.tokens.cacheRead.toLocaleString()}\n`;
4290
+ }
4291
+ if (stats.tokens.cacheWrite > 0) {
4292
+ info += `${theme.fg("dim", "Cache Write:")} ${stats.tokens.cacheWrite.toLocaleString()}\n`;
4293
+ }
4294
+ info += `${theme.fg("dim", "Total:")} ${stats.tokens.total.toLocaleString()}\n`;
4295
+ if (stats.cost > 0) {
4296
+ info += `\n${theme.bold("Cost")}\n`;
4297
+ info += `${theme.fg("dim", "Total:")} ${stats.cost.toFixed(4)}`;
4298
+ }
4299
+ this.chatContainer.addChild(new Spacer(1));
4300
+ this.chatContainer.addChild(new Text(info, 1, 0));
4301
+ this.ui.requestRender();
4302
+ }
4303
+ handleChangelogCommand() {
4304
+ const changelogPath = getChangelogPath();
4305
+ const allEntries = parseChangelog(changelogPath);
4306
+ const changelogMarkdown = allEntries.length > 0
4307
+ ? allEntries
4308
+ .reverse()
4309
+ .map((e) => e.content)
4310
+ .join("\n\n")
4311
+ : "No changelog entries found.";
4312
+ this.chatContainer.addChild(new Spacer(1));
4313
+ this.chatContainer.addChild(new DynamicBorder());
4314
+ this.chatContainer.addChild(new Text(theme.bold(theme.fg("accent", "What's New")), 1, 0));
4315
+ this.chatContainer.addChild(new Spacer(1));
4316
+ this.chatContainer.addChild(new Markdown(changelogMarkdown, 1, 1, this.getMarkdownThemeWithSettings()));
4317
+ this.chatContainer.addChild(new DynamicBorder());
4318
+ this.ui.requestRender();
4319
+ }
4320
+ /**
4321
+ * Capitalize keybinding for display (e.g., "ctrl+c" -> "Ctrl+C").
4322
+ */
4323
+ capitalizeKey(key) {
4324
+ return key
4325
+ .split("/")
4326
+ .map((k) => k
4327
+ .split("+")
4328
+ .map((part) => part.charAt(0).toUpperCase() + part.slice(1))
4329
+ .join("+"))
4330
+ .join("/");
4331
+ }
4332
+ /**
4333
+ * Get capitalized display string for an app keybinding action.
4334
+ */
4335
+ getAppKeyDisplay(action) {
4336
+ return this.capitalizeKey(keyText(action));
4337
+ }
4338
+ /**
4339
+ * Get capitalized display string for an editor keybinding action.
4340
+ */
4341
+ getEditorKeyDisplay(action) {
4342
+ return this.capitalizeKey(keyText(action));
4343
+ }
4344
+ handleHotkeysCommand() {
4345
+ // Navigation keybindings
4346
+ const cursorUp = this.getEditorKeyDisplay("tui.editor.cursorUp");
4347
+ const cursorDown = this.getEditorKeyDisplay("tui.editor.cursorDown");
4348
+ const cursorLeft = this.getEditorKeyDisplay("tui.editor.cursorLeft");
4349
+ const cursorRight = this.getEditorKeyDisplay("tui.editor.cursorRight");
4350
+ const cursorWordLeft = this.getEditorKeyDisplay("tui.editor.cursorWordLeft");
4351
+ const cursorWordRight = this.getEditorKeyDisplay("tui.editor.cursorWordRight");
4352
+ const cursorLineStart = this.getEditorKeyDisplay("tui.editor.cursorLineStart");
4353
+ const cursorLineEnd = this.getEditorKeyDisplay("tui.editor.cursorLineEnd");
4354
+ const jumpForward = this.getEditorKeyDisplay("tui.editor.jumpForward");
4355
+ const jumpBackward = this.getEditorKeyDisplay("tui.editor.jumpBackward");
4356
+ const pageUp = this.getEditorKeyDisplay("tui.editor.pageUp");
4357
+ const pageDown = this.getEditorKeyDisplay("tui.editor.pageDown");
4358
+ // Editing keybindings
4359
+ const submit = this.getEditorKeyDisplay("tui.input.submit");
4360
+ const newLine = this.getEditorKeyDisplay("tui.input.newLine");
4361
+ const deleteWordBackward = this.getEditorKeyDisplay("tui.editor.deleteWordBackward");
4362
+ const deleteWordForward = this.getEditorKeyDisplay("tui.editor.deleteWordForward");
4363
+ const deleteToLineStart = this.getEditorKeyDisplay("tui.editor.deleteToLineStart");
4364
+ const deleteToLineEnd = this.getEditorKeyDisplay("tui.editor.deleteToLineEnd");
4365
+ const yank = this.getEditorKeyDisplay("tui.editor.yank");
4366
+ const yankPop = this.getEditorKeyDisplay("tui.editor.yankPop");
4367
+ const undo = this.getEditorKeyDisplay("tui.editor.undo");
4368
+ const tab = this.getEditorKeyDisplay("tui.input.tab");
4369
+ // App keybindings
4370
+ const interrupt = this.getAppKeyDisplay("app.interrupt");
4371
+ const clear = this.getAppKeyDisplay("app.clear");
4372
+ const exit = this.getAppKeyDisplay("app.exit");
4373
+ const suspend = this.getAppKeyDisplay("app.suspend");
4374
+ const cycleThinkingLevel = this.getAppKeyDisplay("app.thinking.cycle");
4375
+ const cycleModelForward = this.getAppKeyDisplay("app.model.cycleForward");
4376
+ const selectModel = this.getAppKeyDisplay("app.model.select");
4377
+ const expandTools = this.getAppKeyDisplay("app.tools.expand");
4378
+ const toggleThinking = this.getAppKeyDisplay("app.thinking.toggle");
4379
+ const externalEditor = this.getAppKeyDisplay("app.editor.external");
4380
+ const cycleModelBackward = this.getAppKeyDisplay("app.model.cycleBackward");
4381
+ const followUp = this.getAppKeyDisplay("app.message.followUp");
4382
+ const dequeue = this.getAppKeyDisplay("app.message.dequeue");
4383
+ const pasteImage = this.getAppKeyDisplay("app.clipboard.pasteImage");
4384
+ let hotkeys = `
4385
+ **Navigation**
4386
+ | Key | Action |
4387
+ |-----|--------|
4388
+ | \`${cursorUp}\` / \`${cursorDown}\` / \`${cursorLeft}\` / \`${cursorRight}\` | Move cursor / browse history (Up when empty) |
4389
+ | \`${cursorWordLeft}\` / \`${cursorWordRight}\` | Move by word |
4390
+ | \`${cursorLineStart}\` | Start of line |
4391
+ | \`${cursorLineEnd}\` | End of line |
4392
+ | \`${jumpForward}\` | Jump forward to character |
4393
+ | \`${jumpBackward}\` | Jump backward to character |
4394
+ | \`${pageUp}\` / \`${pageDown}\` | Scroll by page |
4395
+
4396
+ **Editing**
4397
+ | Key | Action |
4398
+ |-----|--------|
4399
+ | \`${submit}\` | Send message |
4400
+ | \`${newLine}\` | New line${process.platform === "win32" ? " (Ctrl+Enter on Windows Terminal)" : ""} |
4401
+ | \`${deleteWordBackward}\` | Delete word backwards |
4402
+ | \`${deleteWordForward}\` | Delete word forwards |
4403
+ | \`${deleteToLineStart}\` | Delete to start of line |
4404
+ | \`${deleteToLineEnd}\` | Delete to end of line |
4405
+ | \`${yank}\` | Paste the most-recently-deleted text |
4406
+ | \`${yankPop}\` | Cycle through the deleted text after pasting |
4407
+ | \`${undo}\` | Undo |
4408
+
4409
+ **Other**
4410
+ | Key | Action |
4411
+ |-----|--------|
4412
+ | \`${tab}\` | Path completion / accept autocomplete |
4413
+ | \`${interrupt}\` | Cancel autocomplete / abort streaming |
4414
+ | \`${clear}\` | Clear editor (first) / exit (second) |
4415
+ | \`${exit}\` | Exit (when editor is empty) |
4416
+ | \`${suspend}\` | Suspend to background |
4417
+ | \`${cycleThinkingLevel}\` | Cycle thinking level |
4418
+ | \`${cycleModelForward}\` / \`${cycleModelBackward}\` | Cycle models |
4419
+ | \`${selectModel}\` | Open model selector |
4420
+ | \`${expandTools}\` | Toggle tool output expansion |
4421
+ | \`${toggleThinking}\` | Toggle thinking block visibility |
4422
+ | \`${externalEditor}\` | Edit message in external editor |
4423
+ | \`${followUp}\` | Queue follow-up message |
4424
+ | \`${dequeue}\` | Restore queued messages |
4425
+ | \`${pasteImage}\` | Paste image from clipboard |
4426
+ | \`/\` | Slash commands |
4427
+ | \`!\` | Run bash command |
4428
+ | \`!!\` | Run bash command (excluded from context) |
4429
+ `;
4430
+ // Add extension-registered shortcuts
4431
+ const extensionRunner = this.session.extensionRunner;
4432
+ const shortcuts = extensionRunner.getShortcuts(this.keybindings.getEffectiveConfig());
4433
+ if (shortcuts.size > 0) {
4434
+ hotkeys += `
4435
+ **Extensions**
4436
+ | Key | Action |
4437
+ |-----|--------|
4438
+ `;
4439
+ for (const [key, shortcut] of shortcuts) {
4440
+ const description = shortcut.description ?? shortcut.extensionPath;
4441
+ const keyDisplay = key.replace(/\b\w/g, (c) => c.toUpperCase());
4442
+ hotkeys += `| \`${keyDisplay}\` | ${description} |\n`;
4443
+ }
4444
+ }
4445
+ this.chatContainer.addChild(new Spacer(1));
4446
+ this.chatContainer.addChild(new DynamicBorder());
4447
+ this.chatContainer.addChild(new Text(theme.bold(theme.fg("accent", "Keyboard Shortcuts")), 1, 0));
4448
+ this.chatContainer.addChild(new Spacer(1));
4449
+ this.chatContainer.addChild(new Markdown(hotkeys.trim(), 1, 1, this.getMarkdownThemeWithSettings()));
4450
+ this.chatContainer.addChild(new DynamicBorder());
4451
+ this.ui.requestRender();
4452
+ }
4453
+ async handleClearCommand() {
4454
+ if (this.loadingAnimation) {
4455
+ this.loadingAnimation.stop();
4456
+ this.loadingAnimation = undefined;
4457
+ }
4458
+ this.statusContainer.clear();
4459
+ try {
4460
+ const result = await this.runtimeHost.newSession();
4461
+ if (result.cancelled) {
4462
+ return;
4463
+ }
4464
+ this.renderCurrentSessionState();
4465
+ this.chatContainer.addChild(new Spacer(1));
4466
+ this.chatContainer.addChild(new Text(`${theme.fg("accent", "✓ New session started")}`, 1, 1));
4467
+ this.ui.requestRender();
4468
+ }
4469
+ catch (error) {
4470
+ await this.handleFatalRuntimeError("Failed to create session", error);
4471
+ }
4472
+ }
4473
+ handleDebugCommand() {
4474
+ const width = this.ui.terminal.columns;
4475
+ const height = this.ui.terminal.rows;
4476
+ const allLines = this.ui.render(width);
4477
+ const debugLogPath = getDebugLogPath();
4478
+ const debugData = [
4479
+ `Debug output at ${new Date().toISOString()}`,
4480
+ `Terminal: ${width}x${height}`,
4481
+ `Total lines: ${allLines.length}`,
4482
+ "",
4483
+ "=== All rendered lines with visible widths ===",
4484
+ ...allLines.map((line, idx) => {
4485
+ const vw = visibleWidth(line);
4486
+ const escaped = JSON.stringify(line);
4487
+ return `[${idx}] (w=${vw}) ${escaped}`;
4488
+ }),
4489
+ "",
4490
+ "=== Agent messages (JSONL) ===",
4491
+ ...this.session.messages.map((msg) => JSON.stringify(msg)),
4492
+ "",
4493
+ ].join("\n");
4494
+ fs.mkdirSync(path.dirname(debugLogPath), { recursive: true });
4495
+ fs.writeFileSync(debugLogPath, debugData);
4496
+ this.chatContainer.addChild(new Spacer(1));
4497
+ this.chatContainer.addChild(new Text(`${theme.fg("accent", "✓ Debug log written")}\n${theme.fg("muted", debugLogPath)}`, 1, 1));
4498
+ this.ui.requestRender();
4499
+ }
4500
+ handleArminSaysHi() {
4501
+ this.chatContainer.addChild(new Spacer(1));
4502
+ this.chatContainer.addChild(new ArminComponent(this.ui));
4503
+ this.ui.requestRender();
4504
+ }
4505
+ handleDementedDelves() {
4506
+ this.chatContainer.addChild(new Spacer(1));
4507
+ this.chatContainer.addChild(new EarendilAnnouncementComponent());
4508
+ this.ui.requestRender();
4509
+ }
4510
+ handleDaxnuts() {
4511
+ this.chatContainer.addChild(new Spacer(1));
4512
+ this.chatContainer.addChild(new DaxnutsComponent(this.ui));
4513
+ this.ui.requestRender();
4514
+ }
4515
+ checkDaxnutsEasterEgg(model) {
4516
+ if (model.provider === "opencode" && model.id.toLowerCase().includes("kimi-k2.5")) {
4517
+ this.handleDaxnuts();
4518
+ }
4519
+ }
4520
+ async handleBashCommand(command, excludeFromContext = false) {
4521
+ const extensionRunner = this.session.extensionRunner;
4522
+ // Emit user_bash event to let extensions intercept
4523
+ const eventResult = await extensionRunner.emitUserBash({
4524
+ type: "user_bash",
4525
+ command,
4526
+ excludeFromContext,
4527
+ cwd: this.sessionManager.getCwd(),
4528
+ });
4529
+ // If extension returned a full result, use it directly
4530
+ if (eventResult?.result) {
4531
+ const result = eventResult.result;
4532
+ // Create UI component for display
4533
+ this.bashComponent = new BashExecutionComponent(command, this.ui, excludeFromContext);
4534
+ if (this.session.isStreaming) {
4535
+ this.pendingMessagesContainer.addChild(this.bashComponent);
4536
+ this.pendingBashComponents.push(this.bashComponent);
4537
+ }
4538
+ else {
4539
+ this.chatContainer.addChild(this.bashComponent);
4540
+ }
4541
+ // Show output and complete
4542
+ if (result.output) {
4543
+ this.bashComponent.appendOutput(result.output);
4544
+ }
4545
+ this.bashComponent.setComplete(result.exitCode, result.cancelled, result.truncated ? { truncated: true, content: result.output } : undefined, result.fullOutputPath);
4546
+ // Record the result in session
4547
+ this.session.recordBashResult(command, result, { excludeFromContext });
4548
+ this.bashComponent = undefined;
4549
+ this.ui.requestRender();
4550
+ return;
4551
+ }
4552
+ // Normal execution path (possibly with custom operations)
4553
+ const isDeferred = this.session.isStreaming;
4554
+ this.bashComponent = new BashExecutionComponent(command, this.ui, excludeFromContext);
4555
+ if (isDeferred) {
4556
+ // Show in pending area when agent is streaming
4557
+ this.pendingMessagesContainer.addChild(this.bashComponent);
4558
+ this.pendingBashComponents.push(this.bashComponent);
4559
+ }
4560
+ else {
4561
+ // Show in chat immediately when agent is idle
4562
+ this.chatContainer.addChild(this.bashComponent);
4563
+ }
4564
+ this.ui.requestRender();
4565
+ try {
4566
+ const result = await this.session.executeBash(command, (chunk) => {
4567
+ if (this.bashComponent) {
4568
+ this.bashComponent.appendOutput(chunk);
4569
+ this.ui.requestRender();
4570
+ }
4571
+ }, { excludeFromContext, operations: eventResult?.operations });
4572
+ if (this.bashComponent) {
4573
+ this.bashComponent.setComplete(result.exitCode, result.cancelled, result.truncated ? { truncated: true, content: result.output } : undefined, result.fullOutputPath);
4574
+ }
4575
+ }
4576
+ catch (error) {
4577
+ if (this.bashComponent) {
4578
+ this.bashComponent.setComplete(undefined, false);
4579
+ }
4580
+ this.showError(`Bash command failed: ${error instanceof Error ? error.message : "Unknown error"}`);
4581
+ }
4582
+ this.bashComponent = undefined;
4583
+ this.ui.requestRender();
4584
+ }
4585
+ async handleCompactCommand(customInstructions) {
4586
+ const entries = this.sessionManager.getEntries();
4587
+ const messageCount = entries.filter((e) => e.type === "message").length;
4588
+ if (messageCount < 2) {
4589
+ this.showWarning("Nothing to compact (no messages yet)");
4590
+ return;
4591
+ }
4592
+ if (this.loadingAnimation) {
4593
+ this.loadingAnimation.stop();
4594
+ this.loadingAnimation = undefined;
4595
+ }
4596
+ this.statusContainer.clear();
4597
+ try {
4598
+ await this.session.compact(customInstructions);
4599
+ }
4600
+ catch {
4601
+ // Ignore, will be emitted as an event
4602
+ }
4603
+ }
4604
+ stop() {
4605
+ this.unregisterSignalHandlers();
4606
+ if (this.settingsManager.getShowTerminalProgress()) {
4607
+ this.ui.terminal.setProgress(false);
4608
+ }
4609
+ if (this.loadingAnimation) {
4610
+ this.loadingAnimation.stop();
4611
+ this.loadingAnimation = undefined;
4612
+ }
4613
+ this.clearExtensionTerminalInputListeners();
4614
+ this.footer.dispose();
4615
+ this.footerDataProvider.dispose();
4616
+ if (this.unsubscribe) {
4617
+ this.unsubscribe();
4618
+ }
4619
+ if (this.isInitialized) {
4620
+ this.ui.stop();
4621
+ this.isInitialized = false;
4622
+ }
4623
+ }
4624
+ }
4625
+ //# sourceMappingURL=interactive-mode.js.map