@entelligentsia/forgecli 0.2.0 → 0.6.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 (3631) hide show
  1. package/CHANGELOG.md +474 -6
  2. package/README.md +181 -10
  3. package/dist/bin/argv.d.ts +13 -2
  4. package/dist/bin/argv.js +32 -0
  5. package/dist/bin/argv.js.map +1 -1
  6. package/dist/bin/forge.js +17 -2
  7. package/dist/bin/forge.js.map +1 -1
  8. package/dist/extensions/forgecli/ask-user-tool.d.ts +17 -0
  9. package/dist/extensions/forgecli/ask-user-tool.js +153 -0
  10. package/dist/extensions/forgecli/ask-user-tool.js.map +1 -0
  11. package/dist/extensions/forgecli/audience-gate.d.ts +26 -0
  12. package/dist/extensions/forgecli/audience-gate.js +46 -0
  13. package/dist/extensions/forgecli/audience-gate.js.map +1 -0
  14. package/dist/extensions/forgecli/enhance.d.ts +29 -0
  15. package/dist/extensions/forgecli/enhance.js +264 -0
  16. package/dist/extensions/forgecli/enhance.js.map +1 -0
  17. package/dist/extensions/forgecli/forge-commands.d.ts +2 -1
  18. package/dist/extensions/forgecli/forge-commands.js +34 -20
  19. package/dist/extensions/forgecli/forge-commands.js.map +1 -1
  20. package/dist/extensions/forgecli/forge-header.d.ts +12 -0
  21. package/dist/extensions/forgecli/forge-header.js +108 -0
  22. package/dist/extensions/forgecli/forge-header.js.map +1 -0
  23. package/dist/extensions/forgecli/forge-init.d.ts +3 -3
  24. package/dist/extensions/forgecli/forge-init.js +222 -43
  25. package/dist/extensions/forgecli/forge-init.js.map +1 -1
  26. package/dist/extensions/forgecli/forge-subagent.d.ts +81 -0
  27. package/dist/extensions/forgecli/forge-subagent.js +233 -0
  28. package/dist/extensions/forgecli/forge-subagent.js.map +1 -0
  29. package/dist/extensions/forgecli/forge-tools.d.ts +1 -1
  30. package/dist/extensions/forgecli/forge-tools.js +191 -17
  31. package/dist/extensions/forgecli/forge-tools.js.map +1 -1
  32. package/dist/extensions/forgecli/forge-update-command.d.ts +1 -1
  33. package/dist/extensions/forgecli/health-check.d.ts +1 -1
  34. package/dist/extensions/forgecli/health-check.js +2 -2
  35. package/dist/extensions/forgecli/health-check.js.map +1 -1
  36. package/dist/extensions/forgecli/hook-dispatcher.d.ts +35 -2
  37. package/dist/extensions/forgecli/hook-dispatcher.js +253 -3
  38. package/dist/extensions/forgecli/hook-dispatcher.js.map +1 -1
  39. package/dist/extensions/forgecli/hooks/two-layer-guard.d.ts +28 -0
  40. package/dist/extensions/forgecli/hooks/two-layer-guard.js +57 -0
  41. package/dist/extensions/forgecli/hooks/two-layer-guard.js.map +1 -0
  42. package/dist/extensions/forgecli/implement.d.ts +24 -0
  43. package/dist/extensions/forgecli/implement.js +217 -0
  44. package/dist/extensions/forgecli/implement.js.map +1 -0
  45. package/dist/extensions/forgecli/index.d.ts +1 -1
  46. package/dist/extensions/forgecli/index.js +136 -3
  47. package/dist/extensions/forgecli/index.js.map +1 -1
  48. package/dist/extensions/forgecli/kickoff.d.ts +10 -0
  49. package/dist/extensions/forgecli/kickoff.js +24 -0
  50. package/dist/extensions/forgecli/kickoff.js.map +1 -0
  51. package/dist/extensions/forgecli/loaders/persona-skill-loader.d.ts +45 -0
  52. package/dist/extensions/forgecli/loaders/persona-skill-loader.js +227 -0
  53. package/dist/extensions/forgecli/loaders/persona-skill-loader.js.map +1 -0
  54. package/dist/extensions/forgecli/loaders/template-render.d.ts +20 -0
  55. package/dist/extensions/forgecli/loaders/template-render.js +85 -0
  56. package/dist/extensions/forgecli/loaders/template-render.js.map +1 -0
  57. package/dist/extensions/forgecli/loaders/workflow-loader.d.ts +41 -0
  58. package/dist/extensions/forgecli/loaders/workflow-loader.js +164 -0
  59. package/dist/extensions/forgecli/loaders/workflow-loader.js.map +1 -0
  60. package/dist/extensions/forgecli/plan.d.ts +24 -0
  61. package/dist/extensions/forgecli/plan.js +212 -0
  62. package/dist/extensions/forgecli/plan.js.map +1 -0
  63. package/dist/extensions/forgecli/project-orientation.d.ts +1 -0
  64. package/dist/extensions/forgecli/project-orientation.js +83 -0
  65. package/dist/extensions/forgecli/project-orientation.js.map +1 -0
  66. package/dist/extensions/forgecli/read-command.d.ts +2 -0
  67. package/dist/extensions/forgecli/read-command.js +100 -0
  68. package/dist/extensions/forgecli/read-command.js.map +1 -0
  69. package/dist/extensions/forgecli/regenerate.d.ts +2 -0
  70. package/dist/extensions/forgecli/regenerate.js +169 -0
  71. package/dist/extensions/forgecli/regenerate.js.map +1 -0
  72. package/dist/extensions/forgecli/review-server.d.ts +10 -0
  73. package/dist/extensions/forgecli/review-server.js +894 -0
  74. package/dist/extensions/forgecli/review-server.js.map +1 -0
  75. package/dist/extensions/forgecli/run-sprint.d.ts +5 -0
  76. package/dist/extensions/forgecli/run-sprint.js +529 -0
  77. package/dist/extensions/forgecli/run-sprint.js.map +1 -0
  78. package/dist/extensions/forgecli/run-task.d.ts +114 -0
  79. package/dist/extensions/forgecli/run-task.js +868 -0
  80. package/dist/extensions/forgecli/run-task.js.map +1 -0
  81. package/dist/extensions/forgecli/session-monitor-widget.d.ts +37 -0
  82. package/dist/extensions/forgecli/session-monitor-widget.js +320 -0
  83. package/dist/extensions/forgecli/session-monitor-widget.js.map +1 -0
  84. package/dist/extensions/forgecli/session-monitor.d.ts +2 -0
  85. package/dist/extensions/forgecli/session-monitor.js +135 -0
  86. package/dist/extensions/forgecli/session-monitor.js.map +1 -0
  87. package/dist/extensions/forgecli/session-registry.d.ts +71 -0
  88. package/dist/extensions/forgecli/session-registry.js +215 -0
  89. package/dist/extensions/forgecli/session-registry.js.map +1 -0
  90. package/dist/extensions/forgecli/sprint-intake.d.ts +10 -0
  91. package/dist/extensions/forgecli/sprint-intake.js +91 -0
  92. package/dist/extensions/forgecli/sprint-intake.js.map +1 -0
  93. package/dist/extensions/forgecli/sprint-plan.d.ts +14 -0
  94. package/dist/extensions/forgecli/sprint-plan.js +122 -0
  95. package/dist/extensions/forgecli/sprint-plan.js.map +1 -0
  96. package/dist/extensions/forgecli/store-resolver.d.ts +38 -0
  97. package/dist/extensions/forgecli/store-resolver.js +232 -0
  98. package/dist/extensions/forgecli/store-resolver.js.map +1 -0
  99. package/dist/extensions/forgecli/store-validator.d.ts +13 -0
  100. package/dist/extensions/forgecli/store-validator.js +35 -0
  101. package/dist/extensions/forgecli/store-validator.js.map +1 -0
  102. package/dist/extensions/forgecli/subagent/agents.d.ts +1 -1
  103. package/dist/extensions/forgecli/subagent/agents.js +2 -2
  104. package/dist/extensions/forgecli/subagent/caller-context.d.ts +26 -0
  105. package/dist/extensions/forgecli/subagent/caller-context.js +67 -0
  106. package/dist/extensions/forgecli/subagent/caller-context.js.map +1 -0
  107. package/dist/extensions/forgecli/subagent/index.d.ts +2 -2
  108. package/dist/extensions/forgecli/subagent/index.js +4 -4
  109. package/dist/extensions/forgecli/test-orchestrate.d.ts +2 -0
  110. package/dist/extensions/forgecli/test-orchestrate.js +181 -0
  111. package/dist/extensions/forgecli/test-orchestrate.js.map +1 -0
  112. package/dist/extensions/forgecli/thread-switcher.d.ts +2 -0
  113. package/dist/extensions/forgecli/thread-switcher.js +476 -0
  114. package/dist/extensions/forgecli/thread-switcher.js.map +1 -0
  115. package/dist/extensions/forgecli/transition-guard.d.ts +20 -0
  116. package/dist/extensions/forgecli/transition-guard.js +125 -0
  117. package/dist/extensions/forgecli/transition-guard.js.map +1 -0
  118. package/dist/extensions/forgecli/usage-hook.d.ts +49 -0
  119. package/dist/extensions/forgecli/usage-hook.js +123 -0
  120. package/dist/extensions/forgecli/usage-hook.js.map +1 -0
  121. package/dist/forge-payload/.base-pack/workflows/_fragments/event-emission-schema.md +71 -27
  122. package/dist/forge-payload/.base-pack/workflows/_fragments/finalize.md +9 -19
  123. package/dist/forge-payload/.base-pack/workflows/_fragments/friction-emit.md +73 -0
  124. package/dist/forge-payload/.base-pack/workflows/_fragments/store-cli-verbs.md +23 -0
  125. package/dist/forge-payload/.base-pack/workflows/architect_approve.md +27 -5
  126. package/dist/forge-payload/.base-pack/workflows/architect_review_sprint_completion.md +10 -3
  127. package/dist/forge-payload/.base-pack/workflows/architect_sprint_intake.md +21 -14
  128. package/dist/forge-payload/.base-pack/workflows/architect_sprint_plan.md +9 -11
  129. package/dist/forge-payload/.base-pack/workflows/collator_agent.md +20 -2
  130. package/dist/forge-payload/.base-pack/workflows/commit_task.md +22 -4
  131. package/dist/forge-payload/.base-pack/workflows/enhance.md +274 -0
  132. package/dist/forge-payload/.base-pack/workflows/fix_bug.md +18 -3
  133. package/dist/forge-payload/.base-pack/workflows/implement_plan.md +33 -5
  134. package/dist/forge-payload/.base-pack/workflows/orchestrate_task.md +71 -14
  135. package/dist/forge-payload/.base-pack/workflows/plan_task.md +29 -4
  136. package/dist/forge-payload/.base-pack/workflows/review_code.md +18 -5
  137. package/dist/forge-payload/.base-pack/workflows/review_plan.md +23 -5
  138. package/dist/forge-payload/.base-pack/workflows/run_sprint.md +27 -1
  139. package/dist/forge-payload/.base-pack/workflows/sprint_retrospective.md +2 -3
  140. package/dist/forge-payload/.base-pack/workflows/update_implementation.md +21 -4
  141. package/dist/forge-payload/.base-pack/workflows/update_plan.md +20 -3
  142. package/dist/forge-payload/.base-pack/workflows/validate_task.md +25 -4
  143. package/dist/forge-payload/.claude-plugin/plugin.json +10 -4
  144. package/dist/forge-payload/.schemas/event-sidecar.schema.json +1 -1
  145. package/dist/forge-payload/.schemas/event.schema.json +121 -6
  146. package/dist/forge-payload/tools/backfill-provider.cjs +112 -0
  147. package/dist/forge-payload/tools/collate.cjs +1042 -0
  148. package/dist/forge-payload/tools/friction-emit.cjs +112 -0
  149. package/dist/forge-payload/tools/lib/store-facade.cjs +162 -0
  150. package/dist/forge-payload/tools/lib/store-nlp.cjs +250 -0
  151. package/dist/forge-payload/tools/lib/store-query-exec.cjs +272 -0
  152. package/dist/forge-payload/tools/lib/validate.js +141 -0
  153. package/dist/forge-payload/tools/package.json +3 -0
  154. package/dist/forge-payload/tools/parse-gates.cjs +151 -0
  155. package/dist/forge-payload/tools/preflight-gate.cjs +366 -0
  156. package/dist/forge-payload/tools/prompts/sprint-plan-prompt.md +70 -0
  157. package/dist/forge-payload/tools/read-verdict.cjs +121 -0
  158. package/dist/forge-payload/tools/schemas/task-list.schema.json +53 -0
  159. package/dist/forge-payload/tools/store-cli.cjs +1349 -0
  160. package/dist/forge-payload/tools/store-query.cjs +362 -0
  161. package/dist/forge-payload/tools/validate-store.cjs +597 -0
  162. package/node_modules/@aws-sdk/client-bedrock-runtime/dist-cjs/auth/httpAuthSchemeProvider.js +4 -4
  163. package/node_modules/@aws-sdk/client-bedrock-runtime/dist-cjs/endpoint/bdd.js +2 -2
  164. package/node_modules/@aws-sdk/client-bedrock-runtime/dist-cjs/endpoint/endpointResolver.js +4 -4
  165. package/node_modules/@aws-sdk/client-bedrock-runtime/dist-cjs/index.js +38 -39
  166. package/node_modules/@aws-sdk/client-bedrock-runtime/dist-cjs/models/BedrockRuntimeServiceException.js +3 -3
  167. package/node_modules/@aws-sdk/client-bedrock-runtime/dist-cjs/runtimeConfig.browser.js +14 -16
  168. package/node_modules/@aws-sdk/client-bedrock-runtime/dist-cjs/runtimeConfig.js +20 -24
  169. package/node_modules/@aws-sdk/client-bedrock-runtime/dist-cjs/runtimeConfig.native.js +2 -2
  170. package/node_modules/@aws-sdk/client-bedrock-runtime/dist-cjs/runtimeConfig.shared.js +9 -10
  171. package/node_modules/@aws-sdk/client-bedrock-runtime/dist-es/BedrockRuntime.js +1 -1
  172. package/node_modules/@aws-sdk/client-bedrock-runtime/dist-es/BedrockRuntimeClient.js +6 -6
  173. package/node_modules/@aws-sdk/client-bedrock-runtime/dist-es/auth/httpAuthSchemeProvider.js +1 -1
  174. package/node_modules/@aws-sdk/client-bedrock-runtime/dist-es/commands/ApplyGuardrailCommand.js +2 -2
  175. package/node_modules/@aws-sdk/client-bedrock-runtime/dist-es/commands/ConverseCommand.js +2 -2
  176. package/node_modules/@aws-sdk/client-bedrock-runtime/dist-es/commands/ConverseStreamCommand.js +2 -2
  177. package/node_modules/@aws-sdk/client-bedrock-runtime/dist-es/commands/CountTokensCommand.js +2 -2
  178. package/node_modules/@aws-sdk/client-bedrock-runtime/dist-es/commands/GetAsyncInvokeCommand.js +2 -2
  179. package/node_modules/@aws-sdk/client-bedrock-runtime/dist-es/commands/InvokeModelCommand.js +2 -2
  180. package/node_modules/@aws-sdk/client-bedrock-runtime/dist-es/commands/InvokeModelWithBidirectionalStreamCommand.js +2 -2
  181. package/node_modules/@aws-sdk/client-bedrock-runtime/dist-es/commands/InvokeModelWithResponseStreamCommand.js +2 -2
  182. package/node_modules/@aws-sdk/client-bedrock-runtime/dist-es/commands/ListAsyncInvokesCommand.js +2 -2
  183. package/node_modules/@aws-sdk/client-bedrock-runtime/dist-es/commands/StartAsyncInvokeCommand.js +2 -2
  184. package/node_modules/@aws-sdk/client-bedrock-runtime/dist-es/endpoint/bdd.js +1 -1
  185. package/node_modules/@aws-sdk/client-bedrock-runtime/dist-es/endpoint/endpointResolver.js +1 -1
  186. package/node_modules/@aws-sdk/client-bedrock-runtime/dist-es/models/BedrockRuntimeServiceException.js +1 -1
  187. package/node_modules/@aws-sdk/client-bedrock-runtime/dist-es/runtimeConfig.browser.js +5 -7
  188. package/node_modules/@aws-sdk/client-bedrock-runtime/dist-es/runtimeConfig.js +5 -9
  189. package/node_modules/@aws-sdk/client-bedrock-runtime/dist-es/runtimeConfig.native.js +1 -1
  190. package/node_modules/@aws-sdk/client-bedrock-runtime/dist-es/runtimeConfig.shared.js +3 -4
  191. package/node_modules/@aws-sdk/client-bedrock-runtime/dist-es/runtimeExtensions.js +2 -2
  192. package/node_modules/@aws-sdk/client-bedrock-runtime/dist-types/BedrockRuntimeClient.d.ts +6 -6
  193. package/node_modules/@aws-sdk/client-bedrock-runtime/dist-types/commands/ApplyGuardrailCommand.d.ts +6 -4
  194. package/node_modules/@aws-sdk/client-bedrock-runtime/dist-types/commands/ConverseCommand.d.ts +6 -4
  195. package/node_modules/@aws-sdk/client-bedrock-runtime/dist-types/commands/ConverseStreamCommand.d.ts +6 -4
  196. package/node_modules/@aws-sdk/client-bedrock-runtime/dist-types/commands/CountTokensCommand.d.ts +6 -4
  197. package/node_modules/@aws-sdk/client-bedrock-runtime/dist-types/commands/GetAsyncInvokeCommand.d.ts +6 -4
  198. package/node_modules/@aws-sdk/client-bedrock-runtime/dist-types/commands/InvokeModelCommand.d.ts +7 -5
  199. package/node_modules/@aws-sdk/client-bedrock-runtime/dist-types/commands/InvokeModelWithBidirectionalStreamCommand.d.ts +6 -4
  200. package/node_modules/@aws-sdk/client-bedrock-runtime/dist-types/commands/InvokeModelWithResponseStreamCommand.d.ts +6 -4
  201. package/node_modules/@aws-sdk/client-bedrock-runtime/dist-types/commands/ListAsyncInvokesCommand.d.ts +6 -4
  202. package/node_modules/@aws-sdk/client-bedrock-runtime/dist-types/commands/StartAsyncInvokeCommand.d.ts +6 -4
  203. package/node_modules/@aws-sdk/client-bedrock-runtime/dist-types/endpoint/bdd.d.ts +1 -1
  204. package/node_modules/@aws-sdk/client-bedrock-runtime/dist-types/extensionConfiguration.d.ts +1 -1
  205. package/node_modules/@aws-sdk/client-bedrock-runtime/dist-types/models/BedrockRuntimeServiceException.d.ts +1 -1
  206. package/node_modules/@aws-sdk/client-bedrock-runtime/dist-types/models/errors.d.ts +1 -1
  207. package/node_modules/@aws-sdk/client-bedrock-runtime/dist-types/runtimeConfig.browser.d.ts +1 -1
  208. package/node_modules/@aws-sdk/client-bedrock-runtime/dist-types/runtimeConfig.d.ts +2 -2
  209. package/node_modules/@aws-sdk/client-bedrock-runtime/dist-types/runtimeConfig.native.d.ts +2 -2
  210. package/node_modules/@aws-sdk/client-bedrock-runtime/dist-types/ts3.4/BedrockRuntimeClient.d.ts +12 -18
  211. package/node_modules/@aws-sdk/client-bedrock-runtime/dist-types/ts3.4/commands/ApplyGuardrailCommand.d.ts +6 -4
  212. package/node_modules/@aws-sdk/client-bedrock-runtime/dist-types/ts3.4/commands/ConverseCommand.d.ts +6 -8
  213. package/node_modules/@aws-sdk/client-bedrock-runtime/dist-types/ts3.4/commands/ConverseStreamCommand.d.ts +6 -4
  214. package/node_modules/@aws-sdk/client-bedrock-runtime/dist-types/ts3.4/commands/CountTokensCommand.d.ts +6 -4
  215. package/node_modules/@aws-sdk/client-bedrock-runtime/dist-types/ts3.4/commands/GetAsyncInvokeCommand.d.ts +6 -4
  216. package/node_modules/@aws-sdk/client-bedrock-runtime/dist-types/ts3.4/commands/InvokeModelCommand.d.ts +7 -5
  217. package/node_modules/@aws-sdk/client-bedrock-runtime/dist-types/ts3.4/commands/InvokeModelWithBidirectionalStreamCommand.d.ts +6 -4
  218. package/node_modules/@aws-sdk/client-bedrock-runtime/dist-types/ts3.4/commands/InvokeModelWithResponseStreamCommand.d.ts +6 -4
  219. package/node_modules/@aws-sdk/client-bedrock-runtime/dist-types/ts3.4/commands/ListAsyncInvokesCommand.d.ts +6 -4
  220. package/node_modules/@aws-sdk/client-bedrock-runtime/dist-types/ts3.4/commands/StartAsyncInvokeCommand.d.ts +6 -4
  221. package/node_modules/@aws-sdk/client-bedrock-runtime/dist-types/ts3.4/endpoint/bdd.d.ts +1 -1
  222. package/node_modules/@aws-sdk/client-bedrock-runtime/dist-types/ts3.4/extensionConfiguration.d.ts +1 -1
  223. package/node_modules/@aws-sdk/client-bedrock-runtime/dist-types/ts3.4/models/BedrockRuntimeServiceException.d.ts +1 -1
  224. package/node_modules/@aws-sdk/client-bedrock-runtime/dist-types/ts3.4/models/errors.d.ts +1 -1
  225. package/node_modules/@aws-sdk/client-bedrock-runtime/dist-types/ts3.4/runtimeConfig.browser.d.ts +1 -1
  226. package/node_modules/@aws-sdk/client-bedrock-runtime/dist-types/ts3.4/runtimeConfig.d.ts +2 -2
  227. package/node_modules/@aws-sdk/client-bedrock-runtime/dist-types/ts3.4/runtimeConfig.native.d.ts +4 -4
  228. package/node_modules/@aws-sdk/client-bedrock-runtime/package.json +18 -43
  229. package/node_modules/@aws-sdk/core/dist-cjs/index.js +65 -51
  230. package/node_modules/@aws-sdk/core/dist-cjs/submodules/account-id-endpoint/index.js +2 -2
  231. package/node_modules/@aws-sdk/core/dist-cjs/submodules/client/index.js +2 -2
  232. package/node_modules/@aws-sdk/core/dist-cjs/submodules/httpAuthSchemes/index.js +7 -7
  233. package/node_modules/@aws-sdk/core/dist-cjs/submodules/protocols/index.js +56 -41
  234. package/node_modules/@aws-sdk/core/dist-cjs/submodules/util/index.js +59 -0
  235. package/node_modules/@aws-sdk/core/dist-es/submodules/account-id-endpoint/AccountIdEndpointModeConfigResolver.js +1 -1
  236. package/node_modules/@aws-sdk/core/dist-es/submodules/client/setFeature.js +1 -1
  237. package/node_modules/@aws-sdk/core/dist-es/submodules/httpAuthSchemes/aws_sdk/AwsSdkSigV4ASigner.js +1 -1
  238. package/node_modules/@aws-sdk/core/dist-es/submodules/httpAuthSchemes/aws_sdk/AwsSdkSigV4Signer.js +1 -1
  239. package/node_modules/@aws-sdk/core/dist-es/submodules/httpAuthSchemes/aws_sdk/resolveAwsSdkSigV4AConfig.js +1 -1
  240. package/node_modules/@aws-sdk/core/dist-es/submodules/httpAuthSchemes/utils/getDateHeader.js +1 -1
  241. package/node_modules/@aws-sdk/core/dist-es/submodules/protocols/ProtocolLib.js +1 -1
  242. package/node_modules/@aws-sdk/core/dist-es/submodules/protocols/cbor/AwsSmithyRpcV2CborProtocol.js +1 -1
  243. package/node_modules/@aws-sdk/core/dist-es/submodules/protocols/common.js +2 -2
  244. package/node_modules/@aws-sdk/core/dist-es/submodules/protocols/json/AwsJsonRpcProtocol.js +7 -6
  245. package/node_modules/@aws-sdk/core/dist-es/submodules/protocols/json/AwsRestJsonProtocol.js +1 -1
  246. package/node_modules/@aws-sdk/core/dist-es/submodules/protocols/json/JsonShapeDeserializer.js +1 -1
  247. package/node_modules/@aws-sdk/core/dist-es/submodules/protocols/json/JsonShapeSerializer.js +1 -2
  248. package/node_modules/@aws-sdk/core/dist-es/submodules/protocols/json/awsExpectUnion.js +1 -1
  249. package/node_modules/@aws-sdk/core/dist-es/submodules/protocols/json/experimental/SinglePassJsonShapeSerializer.js +1 -2
  250. package/node_modules/@aws-sdk/core/dist-es/submodules/protocols/json/parseJsonBody.js +28 -13
  251. package/node_modules/@aws-sdk/core/dist-es/submodules/protocols/query/AwsQueryProtocol.js +1 -1
  252. package/node_modules/@aws-sdk/core/dist-es/submodules/protocols/query/QueryShapeSerializer.js +2 -3
  253. package/node_modules/@aws-sdk/core/dist-es/submodules/protocols/xml/AwsRestXmlProtocol.js +1 -1
  254. package/node_modules/@aws-sdk/core/dist-es/submodules/protocols/xml/XmlShapeDeserializer.js +2 -2
  255. package/node_modules/@aws-sdk/core/dist-es/submodules/protocols/xml/XmlShapeSerializer.js +2 -3
  256. package/node_modules/@aws-sdk/core/dist-es/submodules/protocols/xml/parseXmlBody.js +1 -1
  257. package/node_modules/@aws-sdk/core/dist-es/submodules/util/index.js +2 -0
  258. package/node_modules/@aws-sdk/core/dist-es/submodules/util/util-format-url/format-url.js +29 -0
  259. package/node_modules/@aws-sdk/core/dist-types/api-extractor-type-index.d.ts +1 -0
  260. package/node_modules/@aws-sdk/core/dist-types/index.d.ts +1 -0
  261. package/node_modules/@aws-sdk/core/dist-types/submodules/account-id-endpoint/NodeAccountIdEndpointModeConfigOptions.d.ts +1 -1
  262. package/node_modules/@aws-sdk/core/dist-types/submodules/httpAuthSchemes/aws_sdk/NODE_AUTH_SCHEME_PREFERENCE_OPTIONS.d.ts +1 -1
  263. package/node_modules/@aws-sdk/core/dist-types/submodules/httpAuthSchemes/aws_sdk/resolveAwsSdkSigV4AConfig.d.ts +1 -1
  264. package/node_modules/@aws-sdk/core/dist-types/submodules/protocols/ProtocolLib.d.ts +1 -1
  265. package/node_modules/@aws-sdk/core/dist-types/submodules/protocols/json/parseJsonBody.d.ts +4 -0
  266. package/node_modules/@aws-sdk/core/dist-types/submodules/util/index.d.ts +2 -0
  267. package/node_modules/@aws-sdk/core/dist-types/ts3.4/api-extractor-type-index.d.ts +1 -0
  268. package/node_modules/@aws-sdk/core/dist-types/ts3.4/submodules/account-id-endpoint/NodeAccountIdEndpointModeConfigOptions.d.ts +1 -1
  269. package/node_modules/@aws-sdk/core/dist-types/ts3.4/submodules/httpAuthSchemes/aws_sdk/NODE_AUTH_SCHEME_PREFERENCE_OPTIONS.d.ts +1 -1
  270. package/node_modules/@aws-sdk/core/dist-types/ts3.4/submodules/httpAuthSchemes/aws_sdk/resolveAwsSdkSigV4AConfig.d.ts +1 -1
  271. package/node_modules/@aws-sdk/core/dist-types/ts3.4/submodules/protocols/ProtocolLib.d.ts +1 -1
  272. package/node_modules/@aws-sdk/core/dist-types/ts3.4/submodules/protocols/json/parseJsonBody.d.ts +6 -0
  273. package/node_modules/@aws-sdk/core/dist-types/ts3.4/submodules/util/index.d.ts +2 -0
  274. package/node_modules/@aws-sdk/core/package.json +16 -13
  275. package/node_modules/@aws-sdk/core/util.d.ts +7 -0
  276. package/node_modules/@aws-sdk/core/util.js +5 -0
  277. package/node_modules/@aws-sdk/credential-provider-env/dist-cjs/index.js +2 -2
  278. package/node_modules/@aws-sdk/credential-provider-env/dist-es/fromEnv.js +1 -1
  279. package/node_modules/@aws-sdk/credential-provider-env/package.json +3 -3
  280. package/node_modules/@aws-sdk/credential-provider-http/dist-cjs/fromHttp/checkUrl.js +2 -2
  281. package/node_modules/@aws-sdk/credential-provider-http/dist-cjs/fromHttp/fromHttp.browser.js +2 -2
  282. package/node_modules/@aws-sdk/credential-provider-http/dist-cjs/fromHttp/fromHttp.js +3 -3
  283. package/node_modules/@aws-sdk/credential-provider-http/dist-cjs/fromHttp/requestHelpers.js +10 -10
  284. package/node_modules/@aws-sdk/credential-provider-http/dist-cjs/index.js +7 -5
  285. package/node_modules/@aws-sdk/credential-provider-http/dist-es/fromHttp/checkUrl.js +1 -1
  286. package/node_modules/@aws-sdk/credential-provider-http/dist-es/fromHttp/fromHttp.browser.js +1 -1
  287. package/node_modules/@aws-sdk/credential-provider-http/dist-es/fromHttp/fromHttp.js +1 -1
  288. package/node_modules/@aws-sdk/credential-provider-http/dist-es/fromHttp/requestHelpers.js +4 -4
  289. package/node_modules/@aws-sdk/credential-provider-http/dist-types/fromHttp/requestHelpers.d.ts +1 -1
  290. package/node_modules/@aws-sdk/credential-provider-http/dist-types/ts3.4/fromHttp/requestHelpers.d.ts +1 -1
  291. package/node_modules/@aws-sdk/credential-provider-http/package.json +15 -10
  292. package/node_modules/@aws-sdk/credential-provider-ini/dist-cjs/index.js +9 -10
  293. package/node_modules/@aws-sdk/credential-provider-ini/dist-es/fromIni.js +1 -1
  294. package/node_modules/@aws-sdk/credential-provider-ini/dist-es/resolveAssumeRoleCredentials.js +1 -2
  295. package/node_modules/@aws-sdk/credential-provider-ini/dist-es/resolveCredentialSource.js +1 -1
  296. package/node_modules/@aws-sdk/credential-provider-ini/dist-es/resolveProfileData.js +1 -1
  297. package/node_modules/@aws-sdk/credential-provider-ini/dist-types/fromIni.d.ts +1 -1
  298. package/node_modules/@aws-sdk/credential-provider-ini/dist-types/ts3.4/fromIni.d.ts +1 -1
  299. package/node_modules/@aws-sdk/credential-provider-ini/package.json +11 -12
  300. package/node_modules/@aws-sdk/credential-provider-login/dist-cjs/index.js +14 -15
  301. package/node_modules/@aws-sdk/credential-provider-login/dist-es/LoginCredentialsFetcher.js +2 -3
  302. package/node_modules/@aws-sdk/credential-provider-login/dist-es/fromLoginCredentials.js +1 -2
  303. package/node_modules/@aws-sdk/credential-provider-login/dist-types/ts3.4/types.d.ts +1 -1
  304. package/node_modules/@aws-sdk/credential-provider-login/dist-types/types.d.ts +1 -1
  305. package/node_modules/@aws-sdk/credential-provider-login/package.json +4 -6
  306. package/node_modules/@aws-sdk/credential-provider-node/dist-cjs/index.js +7 -8
  307. package/node_modules/@aws-sdk/credential-provider-node/dist-es/defaultProvider.js +1 -2
  308. package/node_modules/@aws-sdk/credential-provider-node/dist-es/remoteProvider.js +1 -1
  309. package/node_modules/@aws-sdk/credential-provider-node/package.json +9 -10
  310. package/node_modules/@aws-sdk/credential-provider-process/dist-cjs/index.js +7 -8
  311. package/node_modules/@aws-sdk/credential-provider-process/dist-es/fromProcess.js +1 -1
  312. package/node_modules/@aws-sdk/credential-provider-process/dist-es/resolveProcessCredentials.js +1 -2
  313. package/node_modules/@aws-sdk/credential-provider-process/dist-types/fromProcess.d.ts +1 -1
  314. package/node_modules/@aws-sdk/credential-provider-process/dist-types/ts3.4/fromProcess.d.ts +1 -1
  315. package/node_modules/@aws-sdk/credential-provider-process/package.json +3 -4
  316. package/node_modules/@aws-sdk/credential-provider-sso/dist-cjs/index.js +16 -17
  317. package/node_modules/@aws-sdk/credential-provider-sso/dist-es/fromSSO.js +1 -2
  318. package/node_modules/@aws-sdk/credential-provider-sso/dist-es/resolveSSOCredentials.js +2 -3
  319. package/node_modules/@aws-sdk/credential-provider-sso/dist-es/validateSsoProfile.js +1 -1
  320. package/node_modules/@aws-sdk/credential-provider-sso/dist-types/fromSSO.d.ts +1 -1
  321. package/node_modules/@aws-sdk/credential-provider-sso/dist-types/ts3.4/fromSSO.d.ts +1 -1
  322. package/node_modules/@aws-sdk/credential-provider-sso/package.json +5 -6
  323. package/node_modules/@aws-sdk/credential-provider-web-identity/dist-cjs/fromTokenFile.js +3 -4
  324. package/node_modules/@aws-sdk/credential-provider-web-identity/dist-cjs/fromWebToken.js +1 -34
  325. package/node_modules/@aws-sdk/credential-provider-web-identity/dist-es/fromTokenFile.js +1 -2
  326. package/node_modules/@aws-sdk/credential-provider-web-identity/package.json +4 -5
  327. package/node_modules/@aws-sdk/eventstream-handler-node/dist-cjs/index.js +2 -2
  328. package/node_modules/@aws-sdk/eventstream-handler-node/dist-es/EventStreamPayloadHandler.js +1 -1
  329. package/node_modules/@aws-sdk/eventstream-handler-node/dist-types/EventSigningTransformStream.d.ts +1 -1
  330. package/node_modules/@aws-sdk/eventstream-handler-node/dist-types/ts3.4/EventSigningTransformStream.d.ts +1 -1
  331. package/node_modules/@aws-sdk/eventstream-handler-node/package.json +2 -3
  332. package/node_modules/@aws-sdk/middleware-eventstream/dist-cjs/index.js +3 -3
  333. package/node_modules/@aws-sdk/middleware-eventstream/dist-es/eventStreamHandlingMiddleware.js +1 -1
  334. package/node_modules/@aws-sdk/middleware-eventstream/dist-es/eventStreamHeaderMiddleware.js +1 -1
  335. package/node_modules/@aws-sdk/middleware-eventstream/package.json +2 -2
  336. package/node_modules/@aws-sdk/middleware-host-header/dist-cjs/index.js +2 -2
  337. package/node_modules/@aws-sdk/middleware-host-header/dist-es/index.js +1 -1
  338. package/node_modules/@aws-sdk/middleware-host-header/package.json +2 -2
  339. package/node_modules/@aws-sdk/middleware-recursion-detection/dist-cjs/recursionDetectionMiddleware.browser.js +5 -0
  340. package/node_modules/@aws-sdk/middleware-recursion-detection/dist-cjs/recursionDetectionMiddleware.js +2 -2
  341. package/node_modules/@aws-sdk/middleware-recursion-detection/dist-es/recursionDetectionMiddleware.js +1 -1
  342. package/node_modules/@aws-sdk/middleware-recursion-detection/package.json +6 -3
  343. package/node_modules/@aws-sdk/middleware-user-agent/dist-cjs/index.js +5 -5
  344. package/node_modules/@aws-sdk/middleware-user-agent/dist-es/check-features.js +1 -1
  345. package/node_modules/@aws-sdk/middleware-user-agent/dist-es/user-agent-middleware.js +1 -1
  346. package/node_modules/@aws-sdk/middleware-user-agent/package.json +4 -6
  347. package/node_modules/@aws-sdk/middleware-websocket/dist-cjs/index.js +13 -15
  348. package/node_modules/@aws-sdk/middleware-websocket/dist-es/WebSocketFetchHandler.js +5 -5
  349. package/node_modules/@aws-sdk/middleware-websocket/dist-es/WebsocketSignatureV4.js +1 -1
  350. package/node_modules/@aws-sdk/middleware-websocket/dist-es/middlewares/websocketEndpointMiddleware.js +1 -1
  351. package/node_modules/@aws-sdk/middleware-websocket/dist-es/ws-eventstream/EventSigningTransformStream.js +1 -1
  352. package/node_modules/@aws-sdk/middleware-websocket/dist-es/ws-eventstream/EventStreamPayloadHandler.js +1 -1
  353. package/node_modules/@aws-sdk/middleware-websocket/dist-types/WebSocketFetchHandler.d.ts +2 -2
  354. package/node_modules/@aws-sdk/middleware-websocket/dist-types/ts3.4/WebSocketFetchHandler.d.ts +2 -2
  355. package/node_modules/@aws-sdk/middleware-websocket/dist-types/ts3.4/ws-eventstream/EventSigningTransformStream.d.ts +1 -1
  356. package/node_modules/@aws-sdk/middleware-websocket/dist-types/ws-eventstream/EventSigningTransformStream.d.ts +1 -1
  357. package/node_modules/@aws-sdk/middleware-websocket/package.json +5 -10
  358. package/node_modules/@aws-sdk/nested-clients/dist-cjs/submodules/cognito-identity/index.js +520 -52
  359. package/node_modules/@aws-sdk/nested-clients/dist-cjs/submodules/signin/index.js +454 -49
  360. package/node_modules/@aws-sdk/nested-clients/dist-cjs/submodules/sso/index.js +399 -49
  361. package/node_modules/@aws-sdk/nested-clients/dist-cjs/submodules/sso-oidc/index.js +593 -49
  362. package/node_modules/@aws-sdk/nested-clients/dist-cjs/submodules/sts/index.js +835 -55
  363. package/node_modules/@aws-sdk/nested-clients/dist-es/submodules/cognito-identity/CognitoIdentity.js +1 -1
  364. package/node_modules/@aws-sdk/nested-clients/dist-es/submodules/cognito-identity/CognitoIdentityClient.js +5 -5
  365. package/node_modules/@aws-sdk/nested-clients/dist-es/submodules/cognito-identity/auth/httpAuthSchemeProvider.js +1 -1
  366. package/node_modules/@aws-sdk/nested-clients/dist-es/submodules/cognito-identity/commands/GetCredentialsForIdentityCommand.js +2 -2
  367. package/node_modules/@aws-sdk/nested-clients/dist-es/submodules/cognito-identity/commands/GetIdCommand.js +2 -2
  368. package/node_modules/@aws-sdk/nested-clients/dist-es/submodules/cognito-identity/endpoint/bdd.js +1 -1
  369. package/node_modules/@aws-sdk/nested-clients/dist-es/submodules/cognito-identity/endpoint/endpointResolver.js +1 -1
  370. package/node_modules/@aws-sdk/nested-clients/dist-es/submodules/cognito-identity/models/CognitoIdentityServiceException.js +1 -1
  371. package/node_modules/@aws-sdk/nested-clients/dist-es/submodules/cognito-identity/runtimeConfig.browser.js +4 -6
  372. package/node_modules/@aws-sdk/nested-clients/dist-es/submodules/cognito-identity/runtimeConfig.js +4 -8
  373. package/node_modules/@aws-sdk/nested-clients/dist-es/submodules/cognito-identity/runtimeConfig.shared.js +3 -4
  374. package/node_modules/@aws-sdk/nested-clients/dist-es/submodules/cognito-identity/runtimeExtensions.js +2 -2
  375. package/node_modules/@aws-sdk/nested-clients/dist-es/submodules/signin/Signin.js +1 -1
  376. package/node_modules/@aws-sdk/nested-clients/dist-es/submodules/signin/SigninClient.js +5 -5
  377. package/node_modules/@aws-sdk/nested-clients/dist-es/submodules/signin/auth/httpAuthSchemeProvider.js +1 -1
  378. package/node_modules/@aws-sdk/nested-clients/dist-es/submodules/signin/commands/CreateOAuth2TokenCommand.js +2 -2
  379. package/node_modules/@aws-sdk/nested-clients/dist-es/submodules/signin/endpoint/bdd.js +1 -1
  380. package/node_modules/@aws-sdk/nested-clients/dist-es/submodules/signin/endpoint/endpointResolver.js +1 -1
  381. package/node_modules/@aws-sdk/nested-clients/dist-es/submodules/signin/models/SigninServiceException.js +1 -1
  382. package/node_modules/@aws-sdk/nested-clients/dist-es/submodules/signin/runtimeConfig.browser.js +4 -6
  383. package/node_modules/@aws-sdk/nested-clients/dist-es/submodules/signin/runtimeConfig.js +4 -8
  384. package/node_modules/@aws-sdk/nested-clients/dist-es/submodules/signin/runtimeConfig.shared.js +3 -4
  385. package/node_modules/@aws-sdk/nested-clients/dist-es/submodules/signin/runtimeExtensions.js +2 -2
  386. package/node_modules/@aws-sdk/nested-clients/dist-es/submodules/sso/SSO.js +1 -1
  387. package/node_modules/@aws-sdk/nested-clients/dist-es/submodules/sso/SSOClient.js +5 -5
  388. package/node_modules/@aws-sdk/nested-clients/dist-es/submodules/sso/auth/httpAuthSchemeProvider.js +1 -1
  389. package/node_modules/@aws-sdk/nested-clients/dist-es/submodules/sso/commands/GetRoleCredentialsCommand.js +2 -2
  390. package/node_modules/@aws-sdk/nested-clients/dist-es/submodules/sso/endpoint/bdd.js +1 -1
  391. package/node_modules/@aws-sdk/nested-clients/dist-es/submodules/sso/endpoint/endpointResolver.js +1 -1
  392. package/node_modules/@aws-sdk/nested-clients/dist-es/submodules/sso/models/SSOServiceException.js +1 -1
  393. package/node_modules/@aws-sdk/nested-clients/dist-es/submodules/sso/runtimeConfig.browser.js +4 -6
  394. package/node_modules/@aws-sdk/nested-clients/dist-es/submodules/sso/runtimeConfig.js +4 -8
  395. package/node_modules/@aws-sdk/nested-clients/dist-es/submodules/sso/runtimeConfig.shared.js +3 -4
  396. package/node_modules/@aws-sdk/nested-clients/dist-es/submodules/sso/runtimeExtensions.js +2 -2
  397. package/node_modules/@aws-sdk/nested-clients/dist-es/submodules/sso-oidc/SSOOIDC.js +1 -1
  398. package/node_modules/@aws-sdk/nested-clients/dist-es/submodules/sso-oidc/SSOOIDCClient.js +5 -5
  399. package/node_modules/@aws-sdk/nested-clients/dist-es/submodules/sso-oidc/auth/httpAuthSchemeProvider.js +1 -1
  400. package/node_modules/@aws-sdk/nested-clients/dist-es/submodules/sso-oidc/commands/CreateTokenCommand.js +2 -2
  401. package/node_modules/@aws-sdk/nested-clients/dist-es/submodules/sso-oidc/endpoint/bdd.js +1 -1
  402. package/node_modules/@aws-sdk/nested-clients/dist-es/submodules/sso-oidc/endpoint/endpointResolver.js +1 -1
  403. package/node_modules/@aws-sdk/nested-clients/dist-es/submodules/sso-oidc/models/SSOOIDCServiceException.js +1 -1
  404. package/node_modules/@aws-sdk/nested-clients/dist-es/submodules/sso-oidc/runtimeConfig.browser.js +4 -6
  405. package/node_modules/@aws-sdk/nested-clients/dist-es/submodules/sso-oidc/runtimeConfig.js +4 -8
  406. package/node_modules/@aws-sdk/nested-clients/dist-es/submodules/sso-oidc/runtimeConfig.shared.js +3 -4
  407. package/node_modules/@aws-sdk/nested-clients/dist-es/submodules/sso-oidc/runtimeExtensions.js +2 -2
  408. package/node_modules/@aws-sdk/nested-clients/dist-es/submodules/sts/STS.js +1 -1
  409. package/node_modules/@aws-sdk/nested-clients/dist-es/submodules/sts/STSClient.js +5 -5
  410. package/node_modules/@aws-sdk/nested-clients/dist-es/submodules/sts/auth/httpAuthSchemeProvider.js +5 -10
  411. package/node_modules/@aws-sdk/nested-clients/dist-es/submodules/sts/commands/AssumeRoleCommand.js +2 -2
  412. package/node_modules/@aws-sdk/nested-clients/dist-es/submodules/sts/commands/AssumeRoleWithWebIdentityCommand.js +2 -2
  413. package/node_modules/@aws-sdk/nested-clients/dist-es/submodules/sts/defaultStsRoleAssumers.js +0 -5
  414. package/node_modules/@aws-sdk/nested-clients/dist-es/submodules/sts/endpoint/bdd.js +1 -1
  415. package/node_modules/@aws-sdk/nested-clients/dist-es/submodules/sts/endpoint/endpointResolver.js +1 -1
  416. package/node_modules/@aws-sdk/nested-clients/dist-es/submodules/sts/models/STSServiceException.js +1 -1
  417. package/node_modules/@aws-sdk/nested-clients/dist-es/submodules/sts/runtimeConfig.browser.js +4 -6
  418. package/node_modules/@aws-sdk/nested-clients/dist-es/submodules/sts/runtimeConfig.js +4 -8
  419. package/node_modules/@aws-sdk/nested-clients/dist-es/submodules/sts/runtimeConfig.shared.js +3 -4
  420. package/node_modules/@aws-sdk/nested-clients/dist-es/submodules/sts/runtimeExtensions.js +2 -2
  421. package/node_modules/@aws-sdk/nested-clients/dist-types/submodules/cognito-identity/CognitoIdentityClient.d.ts +5 -5
  422. package/node_modules/@aws-sdk/nested-clients/dist-types/submodules/cognito-identity/commands/GetCredentialsForIdentityCommand.d.ts +6 -4
  423. package/node_modules/@aws-sdk/nested-clients/dist-types/submodules/cognito-identity/commands/GetIdCommand.d.ts +6 -4
  424. package/node_modules/@aws-sdk/nested-clients/dist-types/submodules/cognito-identity/endpoint/bdd.d.ts +1 -1
  425. package/node_modules/@aws-sdk/nested-clients/dist-types/submodules/cognito-identity/extensionConfiguration.d.ts +1 -1
  426. package/node_modules/@aws-sdk/nested-clients/dist-types/submodules/cognito-identity/models/CognitoIdentityServiceException.d.ts +1 -1
  427. package/node_modules/@aws-sdk/nested-clients/dist-types/submodules/cognito-identity/models/errors.d.ts +1 -1
  428. package/node_modules/@aws-sdk/nested-clients/dist-types/submodules/cognito-identity/runtimeConfig.browser.d.ts +4 -4
  429. package/node_modules/@aws-sdk/nested-clients/dist-types/submodules/cognito-identity/runtimeConfig.d.ts +3 -3
  430. package/node_modules/@aws-sdk/nested-clients/dist-types/submodules/cognito-identity/runtimeConfig.native.d.ts +4 -4
  431. package/node_modules/@aws-sdk/nested-clients/dist-types/submodules/signin/SigninClient.d.ts +5 -5
  432. package/node_modules/@aws-sdk/nested-clients/dist-types/submodules/signin/commands/CreateOAuth2TokenCommand.d.ts +6 -4
  433. package/node_modules/@aws-sdk/nested-clients/dist-types/submodules/signin/endpoint/bdd.d.ts +1 -1
  434. package/node_modules/@aws-sdk/nested-clients/dist-types/submodules/signin/extensionConfiguration.d.ts +1 -1
  435. package/node_modules/@aws-sdk/nested-clients/dist-types/submodules/signin/models/SigninServiceException.d.ts +1 -1
  436. package/node_modules/@aws-sdk/nested-clients/dist-types/submodules/signin/models/errors.d.ts +1 -1
  437. package/node_modules/@aws-sdk/nested-clients/dist-types/submodules/signin/runtimeConfig.browser.d.ts +4 -4
  438. package/node_modules/@aws-sdk/nested-clients/dist-types/submodules/signin/runtimeConfig.d.ts +3 -3
  439. package/node_modules/@aws-sdk/nested-clients/dist-types/submodules/signin/runtimeConfig.native.d.ts +4 -4
  440. package/node_modules/@aws-sdk/nested-clients/dist-types/submodules/sso/SSOClient.d.ts +5 -5
  441. package/node_modules/@aws-sdk/nested-clients/dist-types/submodules/sso/commands/GetRoleCredentialsCommand.d.ts +6 -4
  442. package/node_modules/@aws-sdk/nested-clients/dist-types/submodules/sso/endpoint/bdd.d.ts +1 -1
  443. package/node_modules/@aws-sdk/nested-clients/dist-types/submodules/sso/extensionConfiguration.d.ts +1 -1
  444. package/node_modules/@aws-sdk/nested-clients/dist-types/submodules/sso/models/SSOServiceException.d.ts +1 -1
  445. package/node_modules/@aws-sdk/nested-clients/dist-types/submodules/sso/models/errors.d.ts +1 -1
  446. package/node_modules/@aws-sdk/nested-clients/dist-types/submodules/sso/runtimeConfig.browser.d.ts +4 -4
  447. package/node_modules/@aws-sdk/nested-clients/dist-types/submodules/sso/runtimeConfig.d.ts +3 -3
  448. package/node_modules/@aws-sdk/nested-clients/dist-types/submodules/sso/runtimeConfig.native.d.ts +4 -4
  449. package/node_modules/@aws-sdk/nested-clients/dist-types/submodules/sso-oidc/SSOOIDCClient.d.ts +5 -5
  450. package/node_modules/@aws-sdk/nested-clients/dist-types/submodules/sso-oidc/commands/CreateTokenCommand.d.ts +6 -4
  451. package/node_modules/@aws-sdk/nested-clients/dist-types/submodules/sso-oidc/endpoint/bdd.d.ts +1 -1
  452. package/node_modules/@aws-sdk/nested-clients/dist-types/submodules/sso-oidc/extensionConfiguration.d.ts +1 -1
  453. package/node_modules/@aws-sdk/nested-clients/dist-types/submodules/sso-oidc/models/SSOOIDCServiceException.d.ts +1 -1
  454. package/node_modules/@aws-sdk/nested-clients/dist-types/submodules/sso-oidc/models/errors.d.ts +1 -1
  455. package/node_modules/@aws-sdk/nested-clients/dist-types/submodules/sso-oidc/runtimeConfig.browser.d.ts +4 -4
  456. package/node_modules/@aws-sdk/nested-clients/dist-types/submodules/sso-oidc/runtimeConfig.d.ts +3 -3
  457. package/node_modules/@aws-sdk/nested-clients/dist-types/submodules/sso-oidc/runtimeConfig.native.d.ts +4 -4
  458. package/node_modules/@aws-sdk/nested-clients/dist-types/submodules/sts/STSClient.d.ts +5 -5
  459. package/node_modules/@aws-sdk/nested-clients/dist-types/submodules/sts/auth/httpAuthSchemeProvider.d.ts +3 -13
  460. package/node_modules/@aws-sdk/nested-clients/dist-types/submodules/sts/commands/AssumeRoleCommand.d.ts +6 -4
  461. package/node_modules/@aws-sdk/nested-clients/dist-types/submodules/sts/commands/AssumeRoleWithWebIdentityCommand.d.ts +6 -4
  462. package/node_modules/@aws-sdk/nested-clients/dist-types/submodules/sts/defaultStsRoleAssumers.d.ts +0 -9
  463. package/node_modules/@aws-sdk/nested-clients/dist-types/submodules/sts/endpoint/bdd.d.ts +1 -1
  464. package/node_modules/@aws-sdk/nested-clients/dist-types/submodules/sts/extensionConfiguration.d.ts +1 -1
  465. package/node_modules/@aws-sdk/nested-clients/dist-types/submodules/sts/models/STSServiceException.d.ts +1 -1
  466. package/node_modules/@aws-sdk/nested-clients/dist-types/submodules/sts/models/errors.d.ts +1 -1
  467. package/node_modules/@aws-sdk/nested-clients/dist-types/submodules/sts/runtimeConfig.browser.d.ts +4 -4
  468. package/node_modules/@aws-sdk/nested-clients/dist-types/submodules/sts/runtimeConfig.d.ts +3 -3
  469. package/node_modules/@aws-sdk/nested-clients/dist-types/submodules/sts/runtimeConfig.native.d.ts +4 -4
  470. package/node_modules/@aws-sdk/nested-clients/dist-types/ts3.4/submodules/cognito-identity/CognitoIdentityClient.d.ts +8 -14
  471. package/node_modules/@aws-sdk/nested-clients/dist-types/ts3.4/submodules/cognito-identity/commands/GetCredentialsForIdentityCommand.d.ts +6 -4
  472. package/node_modules/@aws-sdk/nested-clients/dist-types/ts3.4/submodules/cognito-identity/commands/GetIdCommand.d.ts +6 -4
  473. package/node_modules/@aws-sdk/nested-clients/dist-types/ts3.4/submodules/cognito-identity/endpoint/bdd.d.ts +1 -1
  474. package/node_modules/@aws-sdk/nested-clients/dist-types/ts3.4/submodules/cognito-identity/extensionConfiguration.d.ts +1 -1
  475. package/node_modules/@aws-sdk/nested-clients/dist-types/ts3.4/submodules/cognito-identity/models/CognitoIdentityServiceException.d.ts +1 -1
  476. package/node_modules/@aws-sdk/nested-clients/dist-types/ts3.4/submodules/cognito-identity/models/errors.d.ts +1 -1
  477. package/node_modules/@aws-sdk/nested-clients/dist-types/ts3.4/submodules/cognito-identity/runtimeConfig.browser.d.ts +4 -4
  478. package/node_modules/@aws-sdk/nested-clients/dist-types/ts3.4/submodules/cognito-identity/runtimeConfig.d.ts +3 -3
  479. package/node_modules/@aws-sdk/nested-clients/dist-types/ts3.4/submodules/cognito-identity/runtimeConfig.native.d.ts +5 -5
  480. package/node_modules/@aws-sdk/nested-clients/dist-types/ts3.4/submodules/signin/SigninClient.d.ts +8 -14
  481. package/node_modules/@aws-sdk/nested-clients/dist-types/ts3.4/submodules/signin/commands/CreateOAuth2TokenCommand.d.ts +6 -4
  482. package/node_modules/@aws-sdk/nested-clients/dist-types/ts3.4/submodules/signin/endpoint/bdd.d.ts +1 -1
  483. package/node_modules/@aws-sdk/nested-clients/dist-types/ts3.4/submodules/signin/extensionConfiguration.d.ts +1 -1
  484. package/node_modules/@aws-sdk/nested-clients/dist-types/ts3.4/submodules/signin/models/SigninServiceException.d.ts +1 -1
  485. package/node_modules/@aws-sdk/nested-clients/dist-types/ts3.4/submodules/signin/models/errors.d.ts +1 -1
  486. package/node_modules/@aws-sdk/nested-clients/dist-types/ts3.4/submodules/signin/runtimeConfig.browser.d.ts +4 -4
  487. package/node_modules/@aws-sdk/nested-clients/dist-types/ts3.4/submodules/signin/runtimeConfig.d.ts +3 -3
  488. package/node_modules/@aws-sdk/nested-clients/dist-types/ts3.4/submodules/signin/runtimeConfig.native.d.ts +5 -5
  489. package/node_modules/@aws-sdk/nested-clients/dist-types/ts3.4/submodules/sso/SSOClient.d.ts +8 -14
  490. package/node_modules/@aws-sdk/nested-clients/dist-types/ts3.4/submodules/sso/commands/GetRoleCredentialsCommand.d.ts +6 -4
  491. package/node_modules/@aws-sdk/nested-clients/dist-types/ts3.4/submodules/sso/endpoint/bdd.d.ts +1 -1
  492. package/node_modules/@aws-sdk/nested-clients/dist-types/ts3.4/submodules/sso/extensionConfiguration.d.ts +1 -1
  493. package/node_modules/@aws-sdk/nested-clients/dist-types/ts3.4/submodules/sso/models/SSOServiceException.d.ts +1 -1
  494. package/node_modules/@aws-sdk/nested-clients/dist-types/ts3.4/submodules/sso/models/errors.d.ts +1 -1
  495. package/node_modules/@aws-sdk/nested-clients/dist-types/ts3.4/submodules/sso/runtimeConfig.browser.d.ts +4 -4
  496. package/node_modules/@aws-sdk/nested-clients/dist-types/ts3.4/submodules/sso/runtimeConfig.d.ts +3 -3
  497. package/node_modules/@aws-sdk/nested-clients/dist-types/ts3.4/submodules/sso/runtimeConfig.native.d.ts +5 -5
  498. package/node_modules/@aws-sdk/nested-clients/dist-types/ts3.4/submodules/sso-oidc/SSOOIDCClient.d.ts +8 -14
  499. package/node_modules/@aws-sdk/nested-clients/dist-types/ts3.4/submodules/sso-oidc/commands/CreateTokenCommand.d.ts +6 -4
  500. package/node_modules/@aws-sdk/nested-clients/dist-types/ts3.4/submodules/sso-oidc/endpoint/bdd.d.ts +1 -1
  501. package/node_modules/@aws-sdk/nested-clients/dist-types/ts3.4/submodules/sso-oidc/extensionConfiguration.d.ts +1 -1
  502. package/node_modules/@aws-sdk/nested-clients/dist-types/ts3.4/submodules/sso-oidc/models/SSOOIDCServiceException.d.ts +1 -1
  503. package/node_modules/@aws-sdk/nested-clients/dist-types/ts3.4/submodules/sso-oidc/models/errors.d.ts +1 -1
  504. package/node_modules/@aws-sdk/nested-clients/dist-types/ts3.4/submodules/sso-oidc/runtimeConfig.browser.d.ts +4 -4
  505. package/node_modules/@aws-sdk/nested-clients/dist-types/ts3.4/submodules/sso-oidc/runtimeConfig.d.ts +3 -3
  506. package/node_modules/@aws-sdk/nested-clients/dist-types/ts3.4/submodules/sso-oidc/runtimeConfig.native.d.ts +5 -5
  507. package/node_modules/@aws-sdk/nested-clients/dist-types/ts3.4/submodules/sts/STSClient.d.ts +8 -14
  508. package/node_modules/@aws-sdk/nested-clients/dist-types/ts3.4/submodules/sts/auth/httpAuthSchemeProvider.d.ts +2 -12
  509. package/node_modules/@aws-sdk/nested-clients/dist-types/ts3.4/submodules/sts/commands/AssumeRoleCommand.d.ts +6 -4
  510. package/node_modules/@aws-sdk/nested-clients/dist-types/ts3.4/submodules/sts/commands/AssumeRoleWithWebIdentityCommand.d.ts +6 -4
  511. package/node_modules/@aws-sdk/nested-clients/dist-types/ts3.4/submodules/sts/defaultStsRoleAssumers.d.ts +0 -3
  512. package/node_modules/@aws-sdk/nested-clients/dist-types/ts3.4/submodules/sts/endpoint/bdd.d.ts +1 -1
  513. package/node_modules/@aws-sdk/nested-clients/dist-types/ts3.4/submodules/sts/extensionConfiguration.d.ts +1 -1
  514. package/node_modules/@aws-sdk/nested-clients/dist-types/ts3.4/submodules/sts/models/STSServiceException.d.ts +1 -1
  515. package/node_modules/@aws-sdk/nested-clients/dist-types/ts3.4/submodules/sts/models/errors.d.ts +1 -1
  516. package/node_modules/@aws-sdk/nested-clients/dist-types/ts3.4/submodules/sts/runtimeConfig.browser.d.ts +4 -4
  517. package/node_modules/@aws-sdk/nested-clients/dist-types/ts3.4/submodules/sts/runtimeConfig.d.ts +3 -3
  518. package/node_modules/@aws-sdk/nested-clients/dist-types/ts3.4/submodules/sts/runtimeConfig.native.d.ts +5 -5
  519. package/node_modules/@aws-sdk/nested-clients/package.json +13 -34
  520. package/node_modules/@aws-sdk/region-config-resolver/dist-cjs/index.js +6 -6
  521. package/node_modules/@aws-sdk/region-config-resolver/dist-cjs/regionConfig/stsRegionDefaultResolver.browser.js +6 -0
  522. package/node_modules/@aws-sdk/region-config-resolver/dist-cjs/regionConfig/stsRegionDefaultResolver.js +4 -5
  523. package/node_modules/@aws-sdk/region-config-resolver/dist-es/regionConfig/awsRegionConfig.js +2 -2
  524. package/node_modules/@aws-sdk/region-config-resolver/dist-es/regionConfig/stsRegionDefaultResolver.js +1 -2
  525. package/node_modules/@aws-sdk/region-config-resolver/dist-types/regionConfig/awsRegionConfig.d.ts +3 -3
  526. package/node_modules/@aws-sdk/region-config-resolver/dist-types/regionConfig/stsRegionDefaultResolver.d.ts +1 -1
  527. package/node_modules/@aws-sdk/region-config-resolver/dist-types/ts3.4/regionConfig/awsRegionConfig.d.ts +3 -6
  528. package/node_modules/@aws-sdk/region-config-resolver/dist-types/ts3.4/regionConfig/stsRegionDefaultResolver.d.ts +1 -1
  529. package/node_modules/@aws-sdk/region-config-resolver/package.json +6 -4
  530. package/node_modules/@aws-sdk/signature-v4-multi-region/dist-cjs/index.js +38 -2
  531. package/node_modules/@aws-sdk/signature-v4-multi-region/dist-es/SignatureV4MultiRegion.js +2 -2
  532. package/node_modules/@aws-sdk/signature-v4-multi-region/dist-es/SignatureV4SignWithCredentials.js +36 -0
  533. package/node_modules/@aws-sdk/signature-v4-multi-region/dist-es/index.js +3 -2
  534. package/node_modules/@aws-sdk/signature-v4-multi-region/dist-types/SignatureV4MultiRegion.d.ts +1 -1
  535. package/node_modules/@aws-sdk/signature-v4-multi-region/dist-types/SignatureV4SignWithCredentials.d.ts +20 -0
  536. package/node_modules/@aws-sdk/signature-v4-multi-region/dist-types/index.d.ts +3 -5
  537. package/node_modules/@aws-sdk/signature-v4-multi-region/dist-types/ts3.4/SignatureV4SignWithCredentials.d.ts +21 -0
  538. package/node_modules/@aws-sdk/signature-v4-multi-region/dist-types/ts3.4/index.d.ts +9 -2
  539. package/node_modules/@aws-sdk/signature-v4-multi-region/package.json +3 -4
  540. package/node_modules/@aws-sdk/token-providers/dist-cjs/index.js +18 -19
  541. package/node_modules/@aws-sdk/token-providers/dist-es/fromEnvSigningName.js +1 -1
  542. package/node_modules/@aws-sdk/token-providers/dist-es/fromSso.js +1 -2
  543. package/node_modules/@aws-sdk/token-providers/dist-es/fromStatic.js +1 -1
  544. package/node_modules/@aws-sdk/token-providers/dist-es/nodeProvider.js +1 -1
  545. package/node_modules/@aws-sdk/token-providers/dist-es/validateTokenExpiry.js +1 -1
  546. package/node_modules/@aws-sdk/token-providers/dist-es/validateTokenKey.js +1 -1
  547. package/node_modules/@aws-sdk/token-providers/dist-es/writeSSOTokenToFile.js +1 -1
  548. package/node_modules/@aws-sdk/token-providers/dist-types/fromSso.d.ts +1 -1
  549. package/node_modules/@aws-sdk/token-providers/dist-types/getNewSsoOidcToken.d.ts +1 -1
  550. package/node_modules/@aws-sdk/token-providers/dist-types/ts3.4/fromSso.d.ts +1 -1
  551. package/node_modules/@aws-sdk/token-providers/dist-types/ts3.4/getNewSsoOidcToken.d.ts +1 -1
  552. package/node_modules/@aws-sdk/token-providers/dist-types/ts3.4/writeSSOTokenToFile.d.ts +1 -1
  553. package/node_modules/@aws-sdk/token-providers/dist-types/writeSSOTokenToFile.d.ts +1 -1
  554. package/node_modules/@aws-sdk/token-providers/package.json +4 -5
  555. package/node_modules/@aws-sdk/util-endpoints/dist-cjs/index.js +9 -9
  556. package/node_modules/@aws-sdk/util-endpoints/dist-es/aws.js +1 -1
  557. package/node_modules/@aws-sdk/util-endpoints/dist-es/lib/aws/isVirtualHostableS3Bucket.js +1 -1
  558. package/node_modules/@aws-sdk/util-endpoints/dist-es/lib/isIpAddress.js +1 -1
  559. package/node_modules/@aws-sdk/util-endpoints/dist-es/resolveDefaultAwsRegionalEndpointsConfig.js +1 -1
  560. package/node_modules/@aws-sdk/util-endpoints/dist-es/resolveEndpoint.js +1 -1
  561. package/node_modules/@aws-sdk/util-endpoints/dist-es/types/EndpointError.js +1 -1
  562. package/node_modules/@aws-sdk/util-endpoints/dist-types/aws.d.ts +1 -1
  563. package/node_modules/@aws-sdk/util-endpoints/dist-types/lib/isIpAddress.d.ts +1 -1
  564. package/node_modules/@aws-sdk/util-endpoints/dist-types/resolveEndpoint.d.ts +1 -1
  565. package/node_modules/@aws-sdk/util-endpoints/dist-types/ts3.4/aws.d.ts +1 -1
  566. package/node_modules/@aws-sdk/util-endpoints/dist-types/ts3.4/lib/isIpAddress.d.ts +1 -1
  567. package/node_modules/@aws-sdk/util-endpoints/dist-types/ts3.4/resolveEndpoint.d.ts +1 -1
  568. package/node_modules/@aws-sdk/util-endpoints/dist-types/ts3.4/types/EndpointError.d.ts +1 -1
  569. package/node_modules/@aws-sdk/util-endpoints/dist-types/ts3.4/types/EndpointRuleObject.d.ts +1 -1
  570. package/node_modules/@aws-sdk/util-endpoints/dist-types/ts3.4/types/ErrorRuleObject.d.ts +1 -1
  571. package/node_modules/@aws-sdk/util-endpoints/dist-types/ts3.4/types/RuleSetObject.d.ts +1 -1
  572. package/node_modules/@aws-sdk/util-endpoints/dist-types/ts3.4/types/TreeRuleObject.d.ts +1 -1
  573. package/node_modules/@aws-sdk/util-endpoints/dist-types/ts3.4/types/shared.d.ts +1 -1
  574. package/node_modules/@aws-sdk/util-endpoints/dist-types/types/EndpointError.d.ts +1 -1
  575. package/node_modules/@aws-sdk/util-endpoints/dist-types/types/EndpointRuleObject.d.ts +1 -1
  576. package/node_modules/@aws-sdk/util-endpoints/dist-types/types/ErrorRuleObject.d.ts +1 -1
  577. package/node_modules/@aws-sdk/util-endpoints/dist-types/types/RuleSetObject.d.ts +1 -1
  578. package/node_modules/@aws-sdk/util-endpoints/dist-types/types/TreeRuleObject.d.ts +1 -1
  579. package/node_modules/@aws-sdk/util-endpoints/dist-types/types/shared.d.ts +1 -1
  580. package/node_modules/@aws-sdk/util-endpoints/package.json +2 -3
  581. package/node_modules/@aws-sdk/util-user-agent-browser/dist-cjs/createUserAgentStringParsingProvider.js +1 -34
  582. package/node_modules/@aws-sdk/util-user-agent-browser/dist-cjs/index.browser.js +4 -0
  583. package/node_modules/@aws-sdk/util-user-agent-browser/dist-cjs/index.js +13 -10
  584. package/node_modules/@aws-sdk/util-user-agent-browser/dist-es/index.browser.js +1 -0
  585. package/node_modules/@aws-sdk/util-user-agent-browser/dist-types/index.browser.d.ts +1 -0
  586. package/node_modules/@aws-sdk/util-user-agent-browser/dist-types/ts3.4/index.browser.d.ts +1 -0
  587. package/node_modules/@aws-sdk/util-user-agent-browser/package.json +8 -3
  588. package/node_modules/@aws-sdk/util-user-agent-node/dist-cjs/index.js +2 -2
  589. package/node_modules/@aws-sdk/util-user-agent-node/dist-es/getTypeScriptUserAgentPair.js +1 -1
  590. package/node_modules/@aws-sdk/util-user-agent-node/dist-types/nodeAppIdConfigOptions.d.ts +1 -1
  591. package/node_modules/@aws-sdk/util-user-agent-node/dist-types/ts3.4/nodeAppIdConfigOptions.d.ts +1 -1
  592. package/node_modules/@aws-sdk/util-user-agent-node/package.json +3 -4
  593. package/node_modules/@aws-sdk/xml-builder/dist-cjs/xml-parser.browser.js +60 -0
  594. package/node_modules/@aws-sdk/xml-builder/package.json +3 -3
  595. package/node_modules/@entelligentsia/pi-agent-core/README.md +488 -0
  596. package/node_modules/@entelligentsia/pi-agent-core/dist/agent-loop.d.ts +24 -0
  597. package/node_modules/@entelligentsia/pi-agent-core/dist/agent-loop.d.ts.map +1 -0
  598. package/node_modules/@entelligentsia/pi-agent-core/dist/agent-loop.js +458 -0
  599. package/node_modules/@entelligentsia/pi-agent-core/dist/agent-loop.js.map +1 -0
  600. package/node_modules/@entelligentsia/pi-agent-core/dist/agent.d.ts +117 -0
  601. package/node_modules/@entelligentsia/pi-agent-core/dist/agent.d.ts.map +1 -0
  602. package/node_modules/@entelligentsia/pi-agent-core/dist/agent.js +398 -0
  603. package/node_modules/@entelligentsia/pi-agent-core/dist/agent.js.map +1 -0
  604. package/node_modules/@entelligentsia/pi-agent-core/dist/proxy.d.ts +69 -0
  605. package/node_modules/@entelligentsia/pi-agent-core/dist/proxy.d.ts.map +1 -0
  606. package/node_modules/@entelligentsia/pi-agent-core/dist/proxy.js +278 -0
  607. package/node_modules/@entelligentsia/pi-agent-core/dist/proxy.js.map +1 -0
  608. package/node_modules/@entelligentsia/pi-agent-core/dist/types.d.ts +369 -0
  609. package/node_modules/@entelligentsia/pi-agent-core/dist/types.d.ts.map +1 -0
  610. package/node_modules/@entelligentsia/pi-agent-core/dist/types.js.map +1 -0
  611. package/node_modules/@entelligentsia/pi-agent-core/package.json +45 -0
  612. package/node_modules/@entelligentsia/pi-ai/README.md +1313 -0
  613. package/node_modules/@entelligentsia/pi-ai/dist/cli.d.ts.map +1 -0
  614. package/node_modules/@entelligentsia/pi-ai/dist/cli.js +116 -0
  615. package/node_modules/@entelligentsia/pi-ai/dist/cli.js.map +1 -0
  616. package/node_modules/@entelligentsia/pi-ai/dist/models.generated.d.ts +17265 -0
  617. package/node_modules/@entelligentsia/pi-ai/dist/models.generated.d.ts.map +1 -0
  618. package/node_modules/@entelligentsia/pi-ai/dist/models.generated.js +16500 -0
  619. package/node_modules/@entelligentsia/pi-ai/dist/models.generated.js.map +1 -0
  620. package/node_modules/@entelligentsia/pi-ai/package.json +108 -0
  621. package/node_modules/@entelligentsia/pi-coding-agent/CHANGELOG.md +4166 -0
  622. package/node_modules/@entelligentsia/pi-coding-agent/README.md +652 -0
  623. package/node_modules/@entelligentsia/pi-coding-agent/dist/bun/register-bedrock.d.ts.map +1 -0
  624. package/node_modules/@entelligentsia/pi-coding-agent/dist/bun/register-bedrock.js +4 -0
  625. package/node_modules/@entelligentsia/pi-coding-agent/dist/bun/register-bedrock.js.map +1 -0
  626. package/node_modules/@entelligentsia/pi-coding-agent/dist/cli/args.d.ts +53 -0
  627. package/node_modules/@entelligentsia/pi-coding-agent/dist/cli/args.d.ts.map +1 -0
  628. package/node_modules/@entelligentsia/pi-coding-agent/dist/cli/args.js.map +1 -0
  629. package/node_modules/@entelligentsia/pi-coding-agent/dist/cli/config-selector.d.ts.map +1 -0
  630. package/node_modules/@entelligentsia/pi-coding-agent/dist/cli/config-selector.js +31 -0
  631. package/node_modules/@entelligentsia/pi-coding-agent/dist/cli/config-selector.js.map +1 -0
  632. package/node_modules/@entelligentsia/pi-coding-agent/dist/cli/file-processor.d.ts +15 -0
  633. package/node_modules/@entelligentsia/pi-coding-agent/dist/cli/file-processor.d.ts.map +1 -0
  634. package/node_modules/@entelligentsia/pi-coding-agent/dist/cli/file-processor.js.map +1 -0
  635. package/node_modules/@entelligentsia/pi-coding-agent/dist/cli/initial-message.d.ts +18 -0
  636. package/node_modules/@entelligentsia/pi-coding-agent/dist/cli/initial-message.d.ts.map +1 -0
  637. package/node_modules/@entelligentsia/pi-coding-agent/dist/cli/initial-message.js.map +1 -0
  638. package/node_modules/@entelligentsia/pi-coding-agent/dist/cli/list-models.d.ts.map +1 -0
  639. package/node_modules/@entelligentsia/pi-coding-agent/dist/cli/list-models.js +98 -0
  640. package/node_modules/@entelligentsia/pi-coding-agent/dist/cli/list-models.js.map +1 -0
  641. package/node_modules/@entelligentsia/pi-coding-agent/dist/cli/session-picker.d.ts.map +1 -0
  642. package/node_modules/@entelligentsia/pi-coding-agent/dist/cli/session-picker.js +35 -0
  643. package/node_modules/@entelligentsia/pi-coding-agent/dist/cli/session-picker.js.map +1 -0
  644. package/node_modules/@entelligentsia/pi-coding-agent/dist/config.d.ts.map +1 -0
  645. package/node_modules/@entelligentsia/pi-coding-agent/dist/config.js +399 -0
  646. package/node_modules/@entelligentsia/pi-coding-agent/dist/config.js.map +1 -0
  647. package/node_modules/@entelligentsia/pi-coding-agent/dist/core/agent-session-services.d.ts +86 -0
  648. package/node_modules/@entelligentsia/pi-coding-agent/dist/core/agent-session-services.d.ts.map +1 -0
  649. package/node_modules/@entelligentsia/pi-coding-agent/dist/core/agent-session-services.js.map +1 -0
  650. package/node_modules/@entelligentsia/pi-coding-agent/dist/core/agent-session.d.ts +595 -0
  651. package/node_modules/@entelligentsia/pi-coding-agent/dist/core/agent-session.d.ts.map +1 -0
  652. package/node_modules/@entelligentsia/pi-coding-agent/dist/core/agent-session.js +2521 -0
  653. package/node_modules/@entelligentsia/pi-coding-agent/dist/core/agent-session.js.map +1 -0
  654. package/node_modules/@entelligentsia/pi-coding-agent/dist/core/auth-storage.d.ts +141 -0
  655. package/node_modules/@entelligentsia/pi-coding-agent/dist/core/auth-storage.d.ts.map +1 -0
  656. package/node_modules/@entelligentsia/pi-coding-agent/dist/core/auth-storage.js +441 -0
  657. package/node_modules/@entelligentsia/pi-coding-agent/dist/core/auth-storage.js.map +1 -0
  658. package/node_modules/@entelligentsia/pi-coding-agent/dist/core/compaction/branch-summarization.d.ts +88 -0
  659. package/node_modules/@entelligentsia/pi-coding-agent/dist/core/compaction/branch-summarization.d.ts.map +1 -0
  660. package/node_modules/@entelligentsia/pi-coding-agent/dist/core/compaction/branch-summarization.js +243 -0
  661. package/node_modules/@entelligentsia/pi-coding-agent/dist/core/compaction/branch-summarization.js.map +1 -0
  662. package/node_modules/@entelligentsia/pi-coding-agent/dist/core/compaction/compaction.d.ts +121 -0
  663. package/node_modules/@entelligentsia/pi-coding-agent/dist/core/compaction/compaction.d.ts.map +1 -0
  664. package/node_modules/@entelligentsia/pi-coding-agent/dist/core/compaction/compaction.js +615 -0
  665. package/node_modules/@entelligentsia/pi-coding-agent/dist/core/compaction/compaction.js.map +1 -0
  666. package/node_modules/@entelligentsia/pi-coding-agent/dist/core/compaction/utils.d.ts +38 -0
  667. package/node_modules/@entelligentsia/pi-coding-agent/dist/core/compaction/utils.d.ts.map +1 -0
  668. package/node_modules/@entelligentsia/pi-coding-agent/dist/core/compaction/utils.js.map +1 -0
  669. package/node_modules/@entelligentsia/pi-coding-agent/dist/core/defaults.d.ts +3 -0
  670. package/node_modules/@entelligentsia/pi-coding-agent/dist/core/defaults.d.ts.map +1 -0
  671. package/node_modules/@entelligentsia/pi-coding-agent/dist/core/defaults.js.map +1 -0
  672. package/node_modules/@entelligentsia/pi-coding-agent/dist/core/export-html/index.d.ts +37 -0
  673. package/node_modules/@entelligentsia/pi-coding-agent/dist/core/export-html/index.d.ts.map +1 -0
  674. package/node_modules/@entelligentsia/pi-coding-agent/dist/core/export-html/index.js.map +1 -0
  675. package/node_modules/@entelligentsia/pi-coding-agent/dist/core/export-html/tool-renderer.d.ts.map +1 -0
  676. package/node_modules/@entelligentsia/pi-coding-agent/dist/core/export-html/tool-renderer.js.map +1 -0
  677. package/node_modules/@entelligentsia/pi-coding-agent/dist/core/extensions/loader.d.ts.map +1 -0
  678. package/node_modules/@entelligentsia/pi-coding-agent/dist/core/extensions/loader.js +498 -0
  679. package/node_modules/@entelligentsia/pi-coding-agent/dist/core/extensions/loader.js.map +1 -0
  680. package/node_modules/@entelligentsia/pi-coding-agent/dist/core/extensions/runner.d.ts +159 -0
  681. package/node_modules/@entelligentsia/pi-coding-agent/dist/core/extensions/runner.d.ts.map +1 -0
  682. package/node_modules/@entelligentsia/pi-coding-agent/dist/core/extensions/runner.js +825 -0
  683. package/node_modules/@entelligentsia/pi-coding-agent/dist/core/extensions/runner.js.map +1 -0
  684. package/node_modules/@entelligentsia/pi-coding-agent/dist/core/extensions/types.d.ts +1187 -0
  685. package/node_modules/@entelligentsia/pi-coding-agent/dist/core/extensions/types.d.ts.map +1 -0
  686. package/node_modules/@entelligentsia/pi-coding-agent/dist/core/extensions/types.js.map +1 -0
  687. package/node_modules/@entelligentsia/pi-coding-agent/dist/core/extensions/wrapper.d.ts +20 -0
  688. package/node_modules/@entelligentsia/pi-coding-agent/dist/core/extensions/wrapper.d.ts.map +1 -0
  689. package/node_modules/@entelligentsia/pi-coding-agent/dist/core/extensions/wrapper.js.map +1 -0
  690. package/node_modules/@entelligentsia/pi-coding-agent/dist/core/keybindings.d.ts +353 -0
  691. package/node_modules/@entelligentsia/pi-coding-agent/dist/core/keybindings.d.ts.map +1 -0
  692. package/node_modules/@entelligentsia/pi-coding-agent/dist/core/keybindings.js +295 -0
  693. package/node_modules/@entelligentsia/pi-coding-agent/dist/core/keybindings.js.map +1 -0
  694. package/node_modules/@entelligentsia/pi-coding-agent/dist/core/messages.d.ts +77 -0
  695. package/node_modules/@entelligentsia/pi-coding-agent/dist/core/messages.d.ts.map +1 -0
  696. package/node_modules/@entelligentsia/pi-coding-agent/dist/core/messages.js.map +1 -0
  697. package/node_modules/@entelligentsia/pi-coding-agent/dist/core/model-registry.d.ts +150 -0
  698. package/node_modules/@entelligentsia/pi-coding-agent/dist/core/model-registry.d.ts.map +1 -0
  699. package/node_modules/@entelligentsia/pi-coding-agent/dist/core/model-registry.js +727 -0
  700. package/node_modules/@entelligentsia/pi-coding-agent/dist/core/model-registry.js.map +1 -0
  701. package/node_modules/@entelligentsia/pi-coding-agent/dist/core/model-resolver.d.ts +110 -0
  702. package/node_modules/@entelligentsia/pi-coding-agent/dist/core/model-resolver.d.ts.map +1 -0
  703. package/node_modules/@entelligentsia/pi-coding-agent/dist/core/model-resolver.js +494 -0
  704. package/node_modules/@entelligentsia/pi-coding-agent/dist/core/model-resolver.js.map +1 -0
  705. package/node_modules/@entelligentsia/pi-coding-agent/dist/core/sdk.d.ts +107 -0
  706. package/node_modules/@entelligentsia/pi-coding-agent/dist/core/sdk.d.ts.map +1 -0
  707. package/node_modules/@entelligentsia/pi-coding-agent/dist/core/sdk.js +282 -0
  708. package/node_modules/@entelligentsia/pi-coding-agent/dist/core/sdk.js.map +1 -0
  709. package/node_modules/@entelligentsia/pi-coding-agent/dist/core/session-manager.d.ts +333 -0
  710. package/node_modules/@entelligentsia/pi-coding-agent/dist/core/session-manager.d.ts.map +1 -0
  711. package/node_modules/@entelligentsia/pi-coding-agent/dist/core/session-manager.js.map +1 -0
  712. package/node_modules/@entelligentsia/pi-coding-agent/dist/core/settings-manager.d.ts +261 -0
  713. package/node_modules/@entelligentsia/pi-coding-agent/dist/core/settings-manager.d.ts.map +1 -0
  714. package/node_modules/@entelligentsia/pi-coding-agent/dist/core/settings-manager.js.map +1 -0
  715. package/node_modules/@entelligentsia/pi-coding-agent/dist/core/tools/bash.d.ts +68 -0
  716. package/node_modules/@entelligentsia/pi-coding-agent/dist/core/tools/bash.d.ts.map +1 -0
  717. package/node_modules/@entelligentsia/pi-coding-agent/dist/core/tools/bash.js +335 -0
  718. package/node_modules/@entelligentsia/pi-coding-agent/dist/core/tools/bash.js.map +1 -0
  719. package/node_modules/@entelligentsia/pi-coding-agent/dist/core/tools/edit.d.ts +49 -0
  720. package/node_modules/@entelligentsia/pi-coding-agent/dist/core/tools/edit.d.ts.map +1 -0
  721. package/node_modules/@entelligentsia/pi-coding-agent/dist/core/tools/edit.js +324 -0
  722. package/node_modules/@entelligentsia/pi-coding-agent/dist/core/tools/edit.js.map +1 -0
  723. package/node_modules/@entelligentsia/pi-coding-agent/dist/core/tools/find.d.ts +35 -0
  724. package/node_modules/@entelligentsia/pi-coding-agent/dist/core/tools/find.d.ts.map +1 -0
  725. package/node_modules/@entelligentsia/pi-coding-agent/dist/core/tools/find.js +298 -0
  726. package/node_modules/@entelligentsia/pi-coding-agent/dist/core/tools/find.js.map +1 -0
  727. package/node_modules/@entelligentsia/pi-coding-agent/dist/core/tools/grep.d.ts +37 -0
  728. package/node_modules/@entelligentsia/pi-coding-agent/dist/core/tools/grep.d.ts.map +1 -0
  729. package/node_modules/@entelligentsia/pi-coding-agent/dist/core/tools/grep.js +304 -0
  730. package/node_modules/@entelligentsia/pi-coding-agent/dist/core/tools/grep.js.map +1 -0
  731. package/node_modules/@entelligentsia/pi-coding-agent/dist/core/tools/index.d.ts +40 -0
  732. package/node_modules/@entelligentsia/pi-coding-agent/dist/core/tools/index.d.ts.map +1 -0
  733. package/node_modules/@entelligentsia/pi-coding-agent/dist/core/tools/index.js.map +1 -0
  734. package/node_modules/@entelligentsia/pi-coding-agent/dist/core/tools/ls.d.ts +37 -0
  735. package/node_modules/@entelligentsia/pi-coding-agent/dist/core/tools/ls.d.ts.map +1 -0
  736. package/node_modules/@entelligentsia/pi-coding-agent/dist/core/tools/ls.js +169 -0
  737. package/node_modules/@entelligentsia/pi-coding-agent/dist/core/tools/ls.js.map +1 -0
  738. package/node_modules/@entelligentsia/pi-coding-agent/dist/core/tools/read.d.ts +35 -0
  739. package/node_modules/@entelligentsia/pi-coding-agent/dist/core/tools/read.d.ts.map +1 -0
  740. package/node_modules/@entelligentsia/pi-coding-agent/dist/core/tools/read.js +289 -0
  741. package/node_modules/@entelligentsia/pi-coding-agent/dist/core/tools/read.js.map +1 -0
  742. package/node_modules/@entelligentsia/pi-coding-agent/dist/core/tools/render-utils.d.ts +21 -0
  743. package/node_modules/@entelligentsia/pi-coding-agent/dist/core/tools/render-utils.d.ts.map +1 -0
  744. package/node_modules/@entelligentsia/pi-coding-agent/dist/core/tools/render-utils.js +49 -0
  745. package/node_modules/@entelligentsia/pi-coding-agent/dist/core/tools/render-utils.js.map +1 -0
  746. package/node_modules/@entelligentsia/pi-coding-agent/dist/core/tools/tool-definition-wrapper.d.ts +14 -0
  747. package/node_modules/@entelligentsia/pi-coding-agent/dist/core/tools/tool-definition-wrapper.d.ts.map +1 -0
  748. package/node_modules/@entelligentsia/pi-coding-agent/dist/core/tools/tool-definition-wrapper.js.map +1 -0
  749. package/node_modules/@entelligentsia/pi-coding-agent/dist/core/tools/write.d.ts +26 -0
  750. package/node_modules/@entelligentsia/pi-coding-agent/dist/core/tools/write.d.ts.map +1 -0
  751. package/node_modules/@entelligentsia/pi-coding-agent/dist/core/tools/write.js +213 -0
  752. package/node_modules/@entelligentsia/pi-coding-agent/dist/core/tools/write.js.map +1 -0
  753. package/node_modules/@entelligentsia/pi-coding-agent/dist/main.d.ts.map +1 -0
  754. package/node_modules/@entelligentsia/pi-coding-agent/dist/main.js +583 -0
  755. package/node_modules/@entelligentsia/pi-coding-agent/dist/main.js.map +1 -0
  756. package/node_modules/@entelligentsia/pi-coding-agent/dist/modes/interactive/components/armin.d.ts +34 -0
  757. package/node_modules/@entelligentsia/pi-coding-agent/dist/modes/interactive/components/armin.d.ts.map +1 -0
  758. package/node_modules/@entelligentsia/pi-coding-agent/dist/modes/interactive/components/armin.js.map +1 -0
  759. package/node_modules/@entelligentsia/pi-coding-agent/dist/modes/interactive/components/assistant-message.d.ts +20 -0
  760. package/node_modules/@entelligentsia/pi-coding-agent/dist/modes/interactive/components/assistant-message.d.ts.map +1 -0
  761. package/node_modules/@entelligentsia/pi-coding-agent/dist/modes/interactive/components/assistant-message.js +121 -0
  762. package/node_modules/@entelligentsia/pi-coding-agent/dist/modes/interactive/components/assistant-message.js.map +1 -0
  763. package/node_modules/@entelligentsia/pi-coding-agent/dist/modes/interactive/components/bash-execution.d.ts +34 -0
  764. package/node_modules/@entelligentsia/pi-coding-agent/dist/modes/interactive/components/bash-execution.d.ts.map +1 -0
  765. package/node_modules/@entelligentsia/pi-coding-agent/dist/modes/interactive/components/bash-execution.js +175 -0
  766. package/node_modules/@entelligentsia/pi-coding-agent/dist/modes/interactive/components/bash-execution.js.map +1 -0
  767. package/node_modules/@entelligentsia/pi-coding-agent/dist/modes/interactive/components/bordered-loader.d.ts +16 -0
  768. package/node_modules/@entelligentsia/pi-coding-agent/dist/modes/interactive/components/bordered-loader.d.ts.map +1 -0
  769. package/node_modules/@entelligentsia/pi-coding-agent/dist/modes/interactive/components/bordered-loader.js +54 -0
  770. package/node_modules/@entelligentsia/pi-coding-agent/dist/modes/interactive/components/bordered-loader.js.map +1 -0
  771. package/node_modules/@entelligentsia/pi-coding-agent/dist/modes/interactive/components/branch-summary-message.d.ts +16 -0
  772. package/node_modules/@entelligentsia/pi-coding-agent/dist/modes/interactive/components/branch-summary-message.d.ts.map +1 -0
  773. package/node_modules/@entelligentsia/pi-coding-agent/dist/modes/interactive/components/branch-summary-message.js +44 -0
  774. package/node_modules/@entelligentsia/pi-coding-agent/dist/modes/interactive/components/branch-summary-message.js.map +1 -0
  775. package/node_modules/@entelligentsia/pi-coding-agent/dist/modes/interactive/components/compaction-summary-message.d.ts +16 -0
  776. package/node_modules/@entelligentsia/pi-coding-agent/dist/modes/interactive/components/compaction-summary-message.d.ts.map +1 -0
  777. package/node_modules/@entelligentsia/pi-coding-agent/dist/modes/interactive/components/compaction-summary-message.js +45 -0
  778. package/node_modules/@entelligentsia/pi-coding-agent/dist/modes/interactive/components/compaction-summary-message.js.map +1 -0
  779. package/node_modules/@entelligentsia/pi-coding-agent/dist/modes/interactive/components/config-selector.d.ts +71 -0
  780. package/node_modules/@entelligentsia/pi-coding-agent/dist/modes/interactive/components/config-selector.d.ts.map +1 -0
  781. package/node_modules/@entelligentsia/pi-coding-agent/dist/modes/interactive/components/config-selector.js +481 -0
  782. package/node_modules/@entelligentsia/pi-coding-agent/dist/modes/interactive/components/config-selector.js.map +1 -0
  783. package/node_modules/@entelligentsia/pi-coding-agent/dist/modes/interactive/components/countdown-timer.d.ts +14 -0
  784. package/node_modules/@entelligentsia/pi-coding-agent/dist/modes/interactive/components/countdown-timer.d.ts.map +1 -0
  785. package/node_modules/@entelligentsia/pi-coding-agent/dist/modes/interactive/components/countdown-timer.js.map +1 -0
  786. package/node_modules/@entelligentsia/pi-coding-agent/dist/modes/interactive/components/custom-editor.d.ts +21 -0
  787. package/node_modules/@entelligentsia/pi-coding-agent/dist/modes/interactive/components/custom-editor.d.ts.map +1 -0
  788. package/node_modules/@entelligentsia/pi-coding-agent/dist/modes/interactive/components/custom-editor.js +70 -0
  789. package/node_modules/@entelligentsia/pi-coding-agent/dist/modes/interactive/components/custom-editor.js.map +1 -0
  790. package/node_modules/@entelligentsia/pi-coding-agent/dist/modes/interactive/components/custom-message.d.ts +20 -0
  791. package/node_modules/@entelligentsia/pi-coding-agent/dist/modes/interactive/components/custom-message.d.ts.map +1 -0
  792. package/node_modules/@entelligentsia/pi-coding-agent/dist/modes/interactive/components/custom-message.js +79 -0
  793. package/node_modules/@entelligentsia/pi-coding-agent/dist/modes/interactive/components/custom-message.js.map +1 -0
  794. package/node_modules/@entelligentsia/pi-coding-agent/dist/modes/interactive/components/daxnuts.d.ts +23 -0
  795. package/node_modules/@entelligentsia/pi-coding-agent/dist/modes/interactive/components/daxnuts.d.ts.map +1 -0
  796. package/node_modules/@entelligentsia/pi-coding-agent/dist/modes/interactive/components/daxnuts.js.map +1 -0
  797. package/node_modules/@entelligentsia/pi-coding-agent/dist/modes/interactive/components/dynamic-border.d.ts +15 -0
  798. package/node_modules/@entelligentsia/pi-coding-agent/dist/modes/interactive/components/dynamic-border.d.ts.map +1 -0
  799. package/node_modules/@entelligentsia/pi-coding-agent/dist/modes/interactive/components/dynamic-border.js.map +1 -0
  800. package/node_modules/@entelligentsia/pi-coding-agent/dist/modes/interactive/components/earendil-announcement.d.ts +5 -0
  801. package/node_modules/@entelligentsia/pi-coding-agent/dist/modes/interactive/components/earendil-announcement.d.ts.map +1 -0
  802. package/node_modules/@entelligentsia/pi-coding-agent/dist/modes/interactive/components/earendil-announcement.js +40 -0
  803. package/node_modules/@entelligentsia/pi-coding-agent/dist/modes/interactive/components/earendil-announcement.js.map +1 -0
  804. package/node_modules/@entelligentsia/pi-coding-agent/dist/modes/interactive/components/extension-editor.d.ts +20 -0
  805. package/node_modules/@entelligentsia/pi-coding-agent/dist/modes/interactive/components/extension-editor.d.ts.map +1 -0
  806. package/node_modules/@entelligentsia/pi-coding-agent/dist/modes/interactive/components/extension-editor.js +111 -0
  807. package/node_modules/@entelligentsia/pi-coding-agent/dist/modes/interactive/components/extension-editor.js.map +1 -0
  808. package/node_modules/@entelligentsia/pi-coding-agent/dist/modes/interactive/components/extension-input.d.ts +23 -0
  809. package/node_modules/@entelligentsia/pi-coding-agent/dist/modes/interactive/components/extension-input.d.ts.map +1 -0
  810. package/node_modules/@entelligentsia/pi-coding-agent/dist/modes/interactive/components/extension-input.js +61 -0
  811. package/node_modules/@entelligentsia/pi-coding-agent/dist/modes/interactive/components/extension-input.js.map +1 -0
  812. package/node_modules/@entelligentsia/pi-coding-agent/dist/modes/interactive/components/extension-selector.d.ts +24 -0
  813. package/node_modules/@entelligentsia/pi-coding-agent/dist/modes/interactive/components/extension-selector.d.ts.map +1 -0
  814. package/node_modules/@entelligentsia/pi-coding-agent/dist/modes/interactive/components/extension-selector.js +78 -0
  815. package/node_modules/@entelligentsia/pi-coding-agent/dist/modes/interactive/components/extension-selector.js.map +1 -0
  816. package/node_modules/@entelligentsia/pi-coding-agent/dist/modes/interactive/components/footer.d.ts +27 -0
  817. package/node_modules/@entelligentsia/pi-coding-agent/dist/modes/interactive/components/footer.d.ts.map +1 -0
  818. package/node_modules/@entelligentsia/pi-coding-agent/dist/modes/interactive/components/footer.js +201 -0
  819. package/node_modules/@entelligentsia/pi-coding-agent/dist/modes/interactive/components/footer.js.map +1 -0
  820. package/node_modules/@entelligentsia/pi-coding-agent/dist/modes/interactive/components/keybinding-hints.d.ts +8 -0
  821. package/node_modules/@entelligentsia/pi-coding-agent/dist/modes/interactive/components/keybinding-hints.d.ts.map +1 -0
  822. package/node_modules/@entelligentsia/pi-coding-agent/dist/modes/interactive/components/keybinding-hints.js +22 -0
  823. package/node_modules/@entelligentsia/pi-coding-agent/dist/modes/interactive/components/keybinding-hints.js.map +1 -0
  824. package/node_modules/@entelligentsia/pi-coding-agent/dist/modes/interactive/components/login-dialog.d.ts +46 -0
  825. package/node_modules/@entelligentsia/pi-coding-agent/dist/modes/interactive/components/login-dialog.d.ts.map +1 -0
  826. package/node_modules/@entelligentsia/pi-coding-agent/dist/modes/interactive/components/login-dialog.js +160 -0
  827. package/node_modules/@entelligentsia/pi-coding-agent/dist/modes/interactive/components/login-dialog.js.map +1 -0
  828. package/node_modules/@entelligentsia/pi-coding-agent/dist/modes/interactive/components/model-selector.d.ts +47 -0
  829. package/node_modules/@entelligentsia/pi-coding-agent/dist/modes/interactive/components/model-selector.d.ts.map +1 -0
  830. package/node_modules/@entelligentsia/pi-coding-agent/dist/modes/interactive/components/model-selector.js +278 -0
  831. package/node_modules/@entelligentsia/pi-coding-agent/dist/modes/interactive/components/model-selector.js.map +1 -0
  832. package/node_modules/@entelligentsia/pi-coding-agent/dist/modes/interactive/components/oauth-selector.d.ts +31 -0
  833. package/node_modules/@entelligentsia/pi-coding-agent/dist/modes/interactive/components/oauth-selector.d.ts.map +1 -0
  834. package/node_modules/@entelligentsia/pi-coding-agent/dist/modes/interactive/components/oauth-selector.js +165 -0
  835. package/node_modules/@entelligentsia/pi-coding-agent/dist/modes/interactive/components/oauth-selector.js.map +1 -0
  836. package/node_modules/@entelligentsia/pi-coding-agent/dist/modes/interactive/components/scoped-models-selector.d.ts +42 -0
  837. package/node_modules/@entelligentsia/pi-coding-agent/dist/modes/interactive/components/scoped-models-selector.d.ts.map +1 -0
  838. package/node_modules/@entelligentsia/pi-coding-agent/dist/modes/interactive/components/scoped-models-selector.js +290 -0
  839. package/node_modules/@entelligentsia/pi-coding-agent/dist/modes/interactive/components/scoped-models-selector.js.map +1 -0
  840. package/node_modules/@entelligentsia/pi-coding-agent/dist/modes/interactive/components/session-selector-search.d.ts.map +1 -0
  841. package/node_modules/@entelligentsia/pi-coding-agent/dist/modes/interactive/components/session-selector-search.js +155 -0
  842. package/node_modules/@entelligentsia/pi-coding-agent/dist/modes/interactive/components/session-selector-search.js.map +1 -0
  843. package/node_modules/@entelligentsia/pi-coding-agent/dist/modes/interactive/components/session-selector.d.ts +96 -0
  844. package/node_modules/@entelligentsia/pi-coding-agent/dist/modes/interactive/components/session-selector.d.ts.map +1 -0
  845. package/node_modules/@entelligentsia/pi-coding-agent/dist/modes/interactive/components/session-selector.js +861 -0
  846. package/node_modules/@entelligentsia/pi-coding-agent/dist/modes/interactive/components/session-selector.js.map +1 -0
  847. package/node_modules/@entelligentsia/pi-coding-agent/dist/modes/interactive/components/settings-selector.d.ts +67 -0
  848. package/node_modules/@entelligentsia/pi-coding-agent/dist/modes/interactive/components/settings-selector.d.ts.map +1 -0
  849. package/node_modules/@entelligentsia/pi-coding-agent/dist/modes/interactive/components/settings-selector.js +373 -0
  850. package/node_modules/@entelligentsia/pi-coding-agent/dist/modes/interactive/components/settings-selector.js.map +1 -0
  851. package/node_modules/@entelligentsia/pi-coding-agent/dist/modes/interactive/components/show-images-selector.d.ts +10 -0
  852. package/node_modules/@entelligentsia/pi-coding-agent/dist/modes/interactive/components/show-images-selector.d.ts.map +1 -0
  853. package/node_modules/@entelligentsia/pi-coding-agent/dist/modes/interactive/components/show-images-selector.js +39 -0
  854. package/node_modules/@entelligentsia/pi-coding-agent/dist/modes/interactive/components/show-images-selector.js.map +1 -0
  855. package/node_modules/@entelligentsia/pi-coding-agent/dist/modes/interactive/components/skill-invocation-message.d.ts +17 -0
  856. package/node_modules/@entelligentsia/pi-coding-agent/dist/modes/interactive/components/skill-invocation-message.d.ts.map +1 -0
  857. package/node_modules/@entelligentsia/pi-coding-agent/dist/modes/interactive/components/skill-invocation-message.js +47 -0
  858. package/node_modules/@entelligentsia/pi-coding-agent/dist/modes/interactive/components/skill-invocation-message.js.map +1 -0
  859. package/node_modules/@entelligentsia/pi-coding-agent/dist/modes/interactive/components/theme-selector.d.ts +11 -0
  860. package/node_modules/@entelligentsia/pi-coding-agent/dist/modes/interactive/components/theme-selector.d.ts.map +1 -0
  861. package/node_modules/@entelligentsia/pi-coding-agent/dist/modes/interactive/components/theme-selector.js +50 -0
  862. package/node_modules/@entelligentsia/pi-coding-agent/dist/modes/interactive/components/theme-selector.js.map +1 -0
  863. package/node_modules/@entelligentsia/pi-coding-agent/dist/modes/interactive/components/thinking-selector.d.ts +11 -0
  864. package/node_modules/@entelligentsia/pi-coding-agent/dist/modes/interactive/components/thinking-selector.d.ts.map +1 -0
  865. package/node_modules/@entelligentsia/pi-coding-agent/dist/modes/interactive/components/thinking-selector.js +51 -0
  866. package/node_modules/@entelligentsia/pi-coding-agent/dist/modes/interactive/components/thinking-selector.js.map +1 -0
  867. package/node_modules/@entelligentsia/pi-coding-agent/dist/modes/interactive/components/tool-execution.d.ts +63 -0
  868. package/node_modules/@entelligentsia/pi-coding-agent/dist/modes/interactive/components/tool-execution.d.ts.map +1 -0
  869. package/node_modules/@entelligentsia/pi-coding-agent/dist/modes/interactive/components/tool-execution.js +295 -0
  870. package/node_modules/@entelligentsia/pi-coding-agent/dist/modes/interactive/components/tool-execution.js.map +1 -0
  871. package/node_modules/@entelligentsia/pi-coding-agent/dist/modes/interactive/components/tree-selector.d.ts +89 -0
  872. package/node_modules/@entelligentsia/pi-coding-agent/dist/modes/interactive/components/tree-selector.d.ts.map +1 -0
  873. package/node_modules/@entelligentsia/pi-coding-agent/dist/modes/interactive/components/tree-selector.js +1092 -0
  874. package/node_modules/@entelligentsia/pi-coding-agent/dist/modes/interactive/components/tree-selector.js.map +1 -0
  875. package/node_modules/@entelligentsia/pi-coding-agent/dist/modes/interactive/components/user-message-selector.d.ts +30 -0
  876. package/node_modules/@entelligentsia/pi-coding-agent/dist/modes/interactive/components/user-message-selector.d.ts.map +1 -0
  877. package/node_modules/@entelligentsia/pi-coding-agent/dist/modes/interactive/components/user-message-selector.js +114 -0
  878. package/node_modules/@entelligentsia/pi-coding-agent/dist/modes/interactive/components/user-message-selector.js.map +1 -0
  879. package/node_modules/@entelligentsia/pi-coding-agent/dist/modes/interactive/components/user-message.d.ts +10 -0
  880. package/node_modules/@entelligentsia/pi-coding-agent/dist/modes/interactive/components/user-message.d.ts.map +1 -0
  881. package/node_modules/@entelligentsia/pi-coding-agent/dist/modes/interactive/components/user-message.js +29 -0
  882. package/node_modules/@entelligentsia/pi-coding-agent/dist/modes/interactive/components/user-message.js.map +1 -0
  883. package/node_modules/@entelligentsia/pi-coding-agent/dist/modes/interactive/components/visual-truncate.d.ts.map +1 -0
  884. package/node_modules/@entelligentsia/pi-coding-agent/dist/modes/interactive/components/visual-truncate.js +33 -0
  885. package/node_modules/@entelligentsia/pi-coding-agent/dist/modes/interactive/components/visual-truncate.js.map +1 -0
  886. package/node_modules/@entelligentsia/pi-coding-agent/dist/modes/interactive/interactive-mode.d.ts +374 -0
  887. package/node_modules/@entelligentsia/pi-coding-agent/dist/modes/interactive/interactive-mode.d.ts.map +1 -0
  888. package/node_modules/@entelligentsia/pi-coding-agent/dist/modes/interactive/interactive-mode.js +4625 -0
  889. package/node_modules/@entelligentsia/pi-coding-agent/dist/modes/interactive/interactive-mode.js.map +1 -0
  890. package/node_modules/@entelligentsia/pi-coding-agent/dist/modes/interactive/theme/theme.d.ts +81 -0
  891. package/node_modules/@entelligentsia/pi-coding-agent/dist/modes/interactive/theme/theme.d.ts.map +1 -0
  892. package/node_modules/@entelligentsia/pi-coding-agent/dist/modes/interactive/theme/theme.js +971 -0
  893. package/node_modules/@entelligentsia/pi-coding-agent/dist/modes/interactive/theme/theme.js.map +1 -0
  894. package/node_modules/@entelligentsia/pi-coding-agent/dist/modes/print-mode.d.ts +28 -0
  895. package/node_modules/@entelligentsia/pi-coding-agent/dist/modes/print-mode.d.ts.map +1 -0
  896. package/node_modules/@entelligentsia/pi-coding-agent/dist/modes/print-mode.js.map +1 -0
  897. package/node_modules/@entelligentsia/pi-coding-agent/dist/modes/rpc/rpc-client.d.ts +224 -0
  898. package/node_modules/@entelligentsia/pi-coding-agent/dist/modes/rpc/rpc-client.d.ts.map +1 -0
  899. package/node_modules/@entelligentsia/pi-coding-agent/dist/modes/rpc/rpc-client.js.map +1 -0
  900. package/node_modules/@entelligentsia/pi-coding-agent/dist/modes/rpc/rpc-mode.d.ts.map +1 -0
  901. package/node_modules/@entelligentsia/pi-coding-agent/dist/modes/rpc/rpc-mode.js +604 -0
  902. package/node_modules/@entelligentsia/pi-coding-agent/dist/modes/rpc/rpc-mode.js.map +1 -0
  903. package/node_modules/@entelligentsia/pi-coding-agent/dist/modes/rpc/rpc-types.d.ts +419 -0
  904. package/node_modules/@entelligentsia/pi-coding-agent/dist/modes/rpc/rpc-types.d.ts.map +1 -0
  905. package/node_modules/@entelligentsia/pi-coding-agent/dist/modes/rpc/rpc-types.js.map +1 -0
  906. package/node_modules/@entelligentsia/pi-coding-agent/dist/utils/image-resize.d.ts +36 -0
  907. package/node_modules/@entelligentsia/pi-coding-agent/dist/utils/image-resize.d.ts.map +1 -0
  908. package/node_modules/@entelligentsia/pi-coding-agent/dist/utils/image-resize.js.map +1 -0
  909. package/node_modules/@entelligentsia/pi-coding-agent/dist/utils/paths.d.ts +16 -0
  910. package/node_modules/@entelligentsia/pi-coding-agent/dist/utils/paths.d.ts.map +1 -0
  911. package/node_modules/@entelligentsia/pi-coding-agent/dist/utils/paths.js +50 -0
  912. package/node_modules/@entelligentsia/pi-coding-agent/dist/utils/paths.js.map +1 -0
  913. package/node_modules/@entelligentsia/pi-coding-agent/docs/compaction.md +394 -0
  914. package/node_modules/@entelligentsia/pi-coding-agent/docs/custom-provider.md +646 -0
  915. package/node_modules/@entelligentsia/pi-coding-agent/docs/extensions.md +2596 -0
  916. package/node_modules/@entelligentsia/pi-coding-agent/docs/index.md +70 -0
  917. package/node_modules/@entelligentsia/pi-coding-agent/docs/packages.md +223 -0
  918. package/node_modules/@entelligentsia/pi-coding-agent/docs/quickstart.md +142 -0
  919. package/node_modules/@entelligentsia/pi-coding-agent/docs/rpc.md +1407 -0
  920. package/node_modules/@entelligentsia/pi-coding-agent/docs/sdk.md +1149 -0
  921. package/node_modules/@entelligentsia/pi-coding-agent/docs/session-format.md +412 -0
  922. package/node_modules/@entelligentsia/pi-coding-agent/docs/termux.md +127 -0
  923. package/node_modules/@entelligentsia/pi-coding-agent/docs/tui.md +918 -0
  924. package/node_modules/@entelligentsia/pi-coding-agent/examples/extensions/README.md +208 -0
  925. package/node_modules/@entelligentsia/pi-coding-agent/examples/extensions/auto-commit-on-exit.ts +49 -0
  926. package/node_modules/@entelligentsia/pi-coding-agent/examples/extensions/bash-spawn-hook.ts +30 -0
  927. package/node_modules/@entelligentsia/pi-coding-agent/examples/extensions/bookmark.ts +50 -0
  928. package/node_modules/@entelligentsia/pi-coding-agent/examples/extensions/border-status-editor.ts +150 -0
  929. package/node_modules/@entelligentsia/pi-coding-agent/examples/extensions/built-in-tool-renderer.ts +249 -0
  930. package/node_modules/@entelligentsia/pi-coding-agent/examples/extensions/claude-rules.ts +86 -0
  931. package/node_modules/@entelligentsia/pi-coding-agent/examples/extensions/commands.ts +72 -0
  932. package/node_modules/@entelligentsia/pi-coding-agent/examples/extensions/confirm-destructive.ts +59 -0
  933. package/node_modules/@entelligentsia/pi-coding-agent/examples/extensions/custom-compaction.ts +127 -0
  934. package/node_modules/@entelligentsia/pi-coding-agent/examples/extensions/custom-footer.ts +64 -0
  935. package/node_modules/@entelligentsia/pi-coding-agent/examples/extensions/custom-header.ts +73 -0
  936. package/node_modules/@entelligentsia/pi-coding-agent/examples/extensions/custom-provider-anthropic/index.ts +604 -0
  937. package/node_modules/@entelligentsia/pi-coding-agent/examples/extensions/custom-provider-anthropic/package-lock.json +24 -0
  938. package/node_modules/@entelligentsia/pi-coding-agent/examples/extensions/custom-provider-anthropic/package.json +19 -0
  939. package/node_modules/@entelligentsia/pi-coding-agent/examples/extensions/custom-provider-gitlab-duo/index.ts +349 -0
  940. package/node_modules/@entelligentsia/pi-coding-agent/examples/extensions/custom-provider-gitlab-duo/package.json +16 -0
  941. package/node_modules/@entelligentsia/pi-coding-agent/examples/extensions/custom-provider-gitlab-duo/test.ts +82 -0
  942. package/node_modules/@entelligentsia/pi-coding-agent/examples/extensions/dirty-repo-guard.ts +56 -0
  943. package/node_modules/@entelligentsia/pi-coding-agent/examples/extensions/doom-overlay/doom-component.ts +132 -0
  944. package/node_modules/@entelligentsia/pi-coding-agent/examples/extensions/doom-overlay/doom-keys.ts +104 -0
  945. package/node_modules/@entelligentsia/pi-coding-agent/examples/extensions/doom-overlay/index.ts +74 -0
  946. package/node_modules/@entelligentsia/pi-coding-agent/examples/extensions/dynamic-resources/index.ts +15 -0
  947. package/node_modules/@entelligentsia/pi-coding-agent/examples/extensions/dynamic-tools.ts +74 -0
  948. package/node_modules/@entelligentsia/pi-coding-agent/examples/extensions/event-bus.ts +43 -0
  949. package/node_modules/@entelligentsia/pi-coding-agent/examples/extensions/file-trigger.ts +41 -0
  950. package/node_modules/@entelligentsia/pi-coding-agent/examples/extensions/git-checkpoint.ts +53 -0
  951. package/node_modules/@entelligentsia/pi-coding-agent/examples/extensions/github-issue-autocomplete.ts +185 -0
  952. package/node_modules/@entelligentsia/pi-coding-agent/examples/extensions/handoff.ts +191 -0
  953. package/node_modules/@entelligentsia/pi-coding-agent/examples/extensions/hello.ts +26 -0
  954. package/node_modules/@entelligentsia/pi-coding-agent/examples/extensions/hidden-thinking-label.ts +53 -0
  955. package/node_modules/@entelligentsia/pi-coding-agent/examples/extensions/inline-bash.ts +94 -0
  956. package/node_modules/@entelligentsia/pi-coding-agent/examples/extensions/input-transform.ts +43 -0
  957. package/node_modules/@entelligentsia/pi-coding-agent/examples/extensions/interactive-shell.ts +196 -0
  958. package/node_modules/@entelligentsia/pi-coding-agent/examples/extensions/mac-system-theme.ts +47 -0
  959. package/node_modules/@entelligentsia/pi-coding-agent/examples/extensions/message-renderer.ts +59 -0
  960. package/node_modules/@entelligentsia/pi-coding-agent/examples/extensions/minimal-mode.ts +426 -0
  961. package/node_modules/@entelligentsia/pi-coding-agent/examples/extensions/modal-editor.ts +85 -0
  962. package/node_modules/@entelligentsia/pi-coding-agent/examples/extensions/model-status.ts +31 -0
  963. package/node_modules/@entelligentsia/pi-coding-agent/examples/extensions/notify.ts +55 -0
  964. package/node_modules/@entelligentsia/pi-coding-agent/examples/extensions/overlay-qa-tests.ts +1348 -0
  965. package/node_modules/@entelligentsia/pi-coding-agent/examples/extensions/overlay-test.ts +150 -0
  966. package/node_modules/@entelligentsia/pi-coding-agent/examples/extensions/permission-gate.ts +34 -0
  967. package/node_modules/@entelligentsia/pi-coding-agent/examples/extensions/pirate.ts +47 -0
  968. package/node_modules/@entelligentsia/pi-coding-agent/examples/extensions/plan-mode/index.ts +340 -0
  969. package/node_modules/@entelligentsia/pi-coding-agent/examples/extensions/preset.ts +430 -0
  970. package/node_modules/@entelligentsia/pi-coding-agent/examples/extensions/prompt-customizer.ts +97 -0
  971. package/node_modules/@entelligentsia/pi-coding-agent/examples/extensions/protected-paths.ts +30 -0
  972. package/node_modules/@entelligentsia/pi-coding-agent/examples/extensions/provider-payload.ts +18 -0
  973. package/node_modules/@entelligentsia/pi-coding-agent/examples/extensions/qna.ts +122 -0
  974. package/node_modules/@entelligentsia/pi-coding-agent/examples/extensions/question.ts +264 -0
  975. package/node_modules/@entelligentsia/pi-coding-agent/examples/extensions/questionnaire.ts +427 -0
  976. package/node_modules/@entelligentsia/pi-coding-agent/examples/extensions/rainbow-editor.ts +88 -0
  977. package/node_modules/@entelligentsia/pi-coding-agent/examples/extensions/reload-runtime.ts +37 -0
  978. package/node_modules/@entelligentsia/pi-coding-agent/examples/extensions/rpc-demo.ts +118 -0
  979. package/node_modules/@entelligentsia/pi-coding-agent/examples/extensions/sandbox/index.ts +321 -0
  980. package/node_modules/@entelligentsia/pi-coding-agent/examples/extensions/sandbox/package-lock.json +92 -0
  981. package/node_modules/@entelligentsia/pi-coding-agent/examples/extensions/sandbox/package.json +19 -0
  982. package/node_modules/@entelligentsia/pi-coding-agent/examples/extensions/send-user-message.ts +97 -0
  983. package/node_modules/@entelligentsia/pi-coding-agent/examples/extensions/session-name.ts +27 -0
  984. package/node_modules/@entelligentsia/pi-coding-agent/examples/extensions/shutdown-command.ts +63 -0
  985. package/node_modules/@entelligentsia/pi-coding-agent/examples/extensions/snake.ts +343 -0
  986. package/node_modules/@entelligentsia/pi-coding-agent/examples/extensions/space-invaders.ts +560 -0
  987. package/node_modules/@entelligentsia/pi-coding-agent/examples/extensions/ssh.ts +220 -0
  988. package/node_modules/@entelligentsia/pi-coding-agent/examples/extensions/status-line.ts +32 -0
  989. package/node_modules/@entelligentsia/pi-coding-agent/examples/extensions/structured-output.ts +65 -0
  990. package/node_modules/@entelligentsia/pi-coding-agent/examples/extensions/subagent/agents.ts +126 -0
  991. package/node_modules/@entelligentsia/pi-coding-agent/examples/extensions/subagent/index.ts +987 -0
  992. package/node_modules/@entelligentsia/pi-coding-agent/examples/extensions/summarize.ts +206 -0
  993. package/node_modules/@entelligentsia/pi-coding-agent/examples/extensions/system-prompt-header.ts +17 -0
  994. package/node_modules/@entelligentsia/pi-coding-agent/examples/extensions/tic-tac-toe.ts +1008 -0
  995. package/node_modules/@entelligentsia/pi-coding-agent/examples/extensions/timed-confirm.ts +70 -0
  996. package/node_modules/@entelligentsia/pi-coding-agent/examples/extensions/titlebar-spinner.ts +58 -0
  997. package/node_modules/@entelligentsia/pi-coding-agent/examples/extensions/todo.ts +297 -0
  998. package/node_modules/@entelligentsia/pi-coding-agent/examples/extensions/tool-override.ts +144 -0
  999. package/node_modules/@entelligentsia/pi-coding-agent/examples/extensions/tools.ts +141 -0
  1000. package/node_modules/@entelligentsia/pi-coding-agent/examples/extensions/trigger-compact.ts +50 -0
  1001. package/node_modules/@entelligentsia/pi-coding-agent/examples/extensions/truncated-tool.ts +195 -0
  1002. package/node_modules/@entelligentsia/pi-coding-agent/examples/extensions/widget-placement.ts +9 -0
  1003. package/node_modules/@entelligentsia/pi-coding-agent/examples/extensions/with-deps/index.ts +32 -0
  1004. package/node_modules/@entelligentsia/pi-coding-agent/examples/extensions/with-deps/package-lock.json +31 -0
  1005. package/node_modules/@entelligentsia/pi-coding-agent/examples/extensions/with-deps/package.json +22 -0
  1006. package/node_modules/@entelligentsia/pi-coding-agent/examples/extensions/working-indicator.ts +123 -0
  1007. package/node_modules/@entelligentsia/pi-coding-agent/examples/extensions/working-message-test.ts +25 -0
  1008. package/node_modules/@entelligentsia/pi-coding-agent/examples/rpc-extension-ui.ts +632 -0
  1009. package/node_modules/@entelligentsia/pi-coding-agent/examples/sdk/01-minimal.ts +22 -0
  1010. package/node_modules/@entelligentsia/pi-coding-agent/examples/sdk/02-custom-model.ts +49 -0
  1011. package/node_modules/@entelligentsia/pi-coding-agent/examples/sdk/03-custom-prompt.ts +67 -0
  1012. package/node_modules/@entelligentsia/pi-coding-agent/examples/sdk/04-skills.ts +55 -0
  1013. package/node_modules/@entelligentsia/pi-coding-agent/examples/sdk/05-tools.ts +44 -0
  1014. package/node_modules/@entelligentsia/pi-coding-agent/examples/sdk/06-extensions.ts +95 -0
  1015. package/node_modules/@entelligentsia/pi-coding-agent/examples/sdk/07-context-files.ts +47 -0
  1016. package/node_modules/@entelligentsia/pi-coding-agent/examples/sdk/08-prompt-templates.ts +51 -0
  1017. package/node_modules/@entelligentsia/pi-coding-agent/examples/sdk/09-api-keys-and-oauth.ts +48 -0
  1018. package/node_modules/@entelligentsia/pi-coding-agent/examples/sdk/10-settings.ts +53 -0
  1019. package/node_modules/@entelligentsia/pi-coding-agent/examples/sdk/11-sessions.ts +48 -0
  1020. package/node_modules/@entelligentsia/pi-coding-agent/examples/sdk/12-full-control.ts +73 -0
  1021. package/node_modules/@entelligentsia/pi-coding-agent/examples/sdk/13-session-runtime.ts +67 -0
  1022. package/node_modules/@entelligentsia/pi-coding-agent/examples/sdk/README.md +147 -0
  1023. package/node_modules/@entelligentsia/pi-coding-agent/package.json +97 -0
  1024. package/node_modules/@entelligentsia/pi-tui/README.md +779 -0
  1025. package/node_modules/@entelligentsia/pi-tui/package.json +49 -0
  1026. package/node_modules/@smithy/core/checksum.d.ts +5 -0
  1027. package/node_modules/@smithy/core/checksum.js +5 -0
  1028. package/node_modules/@smithy/core/client.d.ts +7 -0
  1029. package/node_modules/@smithy/core/client.js +6 -0
  1030. package/node_modules/@smithy/core/config.d.ts +5 -0
  1031. package/node_modules/@smithy/core/config.js +5 -0
  1032. package/node_modules/@smithy/core/dist-cjs/index.js +6 -7
  1033. package/node_modules/@smithy/core/dist-cjs/middleware-http-auth-scheme/httpAuthSchemeMiddleware.js +2 -2
  1034. package/node_modules/@smithy/core/dist-cjs/middleware-http-signing/httpSigningMiddleware.js +4 -4
  1035. package/node_modules/@smithy/core/dist-cjs/submodules/cbor/index.js +9 -13
  1036. package/node_modules/@smithy/core/dist-cjs/submodules/checksum/index.browser.js +202 -0
  1037. package/node_modules/@smithy/core/dist-cjs/submodules/checksum/index.js +259 -0
  1038. package/node_modules/@smithy/core/dist-cjs/submodules/checksum/index.native.js +229 -0
  1039. package/node_modules/@smithy/core/dist-cjs/submodules/client/index.js +1136 -0
  1040. package/node_modules/@smithy/core/dist-cjs/submodules/config/index.browser.js +375 -0
  1041. package/node_modules/@smithy/core/dist-cjs/submodules/config/index.js +735 -0
  1042. package/node_modules/@smithy/core/dist-cjs/submodules/config/index.native.js +364 -0
  1043. package/node_modules/@smithy/core/dist-cjs/submodules/endpoints/index.browser.js +860 -0
  1044. package/node_modules/@smithy/core/dist-cjs/submodules/endpoints/index.js +873 -3
  1045. package/node_modules/@smithy/core/dist-cjs/submodules/event-streams/index.browser.js +866 -0
  1046. package/node_modules/@smithy/core/dist-cjs/submodules/event-streams/index.js +627 -3
  1047. package/node_modules/@smithy/core/dist-cjs/submodules/protocols/index.js +297 -20
  1048. package/node_modules/@smithy/core/dist-cjs/submodules/retry/index.browser.js +800 -0
  1049. package/node_modules/@smithy/core/dist-cjs/submodules/retry/index.js +827 -0
  1050. package/node_modules/@smithy/core/dist-cjs/submodules/schema/index.js +17 -5
  1051. package/node_modules/@smithy/core/dist-cjs/submodules/serde/index.browser.js +1405 -0
  1052. package/node_modules/@smithy/core/dist-cjs/submodules/serde/index.js +1094 -2
  1053. package/node_modules/@smithy/core/dist-cjs/submodules/serde/index.native.js +1405 -0
  1054. package/node_modules/@smithy/core/dist-cjs/util-identity-and-auth/httpAuthSchemes/httpApiKeyAuth.js +2 -2
  1055. package/node_modules/@smithy/core/dist-cjs/util-identity-and-auth/httpAuthSchemes/httpBearerAuth.js +2 -2
  1056. package/node_modules/@smithy/core/dist-es/middleware-http-auth-scheme/httpAuthSchemeMiddleware.js +1 -1
  1057. package/node_modules/@smithy/core/dist-es/middleware-http-signing/httpSigningMiddleware.js +2 -2
  1058. package/node_modules/@smithy/core/dist-es/submodules/cbor/CborCodec.js +1 -3
  1059. package/node_modules/@smithy/core/dist-es/submodules/cbor/SmithyRpcV2CborProtocol.js +3 -4
  1060. package/node_modules/@smithy/core/dist-es/submodules/cbor/cbor-decode.js +1 -2
  1061. package/node_modules/@smithy/core/dist-es/submodules/cbor/cbor-encode.js +1 -2
  1062. package/node_modules/@smithy/core/dist-es/submodules/cbor/parseCborBody.js +2 -3
  1063. package/node_modules/@smithy/core/dist-es/submodules/checksum/chunked-blob-reader/chunked-blob-reader.js +9 -0
  1064. package/node_modules/@smithy/core/dist-es/submodules/checksum/chunked-blob-reader/chunked-blob-reader.native.js +27 -0
  1065. package/node_modules/@smithy/core/dist-es/submodules/checksum/hash-blob-browser/blobHasher.js +8 -0
  1066. package/node_modules/@smithy/core/dist-es/submodules/checksum/hash-stream-node/HashCalculator.js +18 -0
  1067. package/node_modules/@smithy/core/dist-es/submodules/checksum/hash-stream-node/fileStreamHasher.js +24 -0
  1068. package/node_modules/@smithy/core/dist-es/submodules/checksum/hash-stream-node/readableStreamHasher.js +19 -0
  1069. package/node_modules/@smithy/core/dist-es/submodules/checksum/index.browser.js +6 -0
  1070. package/node_modules/@smithy/core/dist-es/submodules/checksum/index.js +5 -0
  1071. package/node_modules/@smithy/core/dist-es/submodules/checksum/index.native.js +6 -0
  1072. package/node_modules/@smithy/core/dist-es/submodules/checksum/md5-js/constants.js +3 -0
  1073. package/node_modules/@smithy/core/dist-es/submodules/checksum/md5-js/md5.js +168 -0
  1074. package/node_modules/@smithy/core/dist-es/submodules/client/index.js +26 -0
  1075. package/node_modules/@smithy/core/dist-es/submodules/client/smithy-client/client.js +51 -0
  1076. package/node_modules/@smithy/core/dist-es/submodules/client/smithy-client/command.js +131 -0
  1077. package/node_modules/@smithy/core/dist-es/submodules/client/smithy-client/extensions/checksum.js +49 -0
  1078. package/node_modules/@smithy/core/dist-es/submodules/client/smithy-client/extensions/defaultExtensionConfiguration.js +9 -0
  1079. package/node_modules/@smithy/core/dist-es/submodules/client/util-waiter/circularReplacer.js +12 -0
  1080. package/node_modules/@smithy/core/dist-es/submodules/client/util-waiter/createWaiter.js +48 -0
  1081. package/node_modules/@smithy/core/dist-es/submodules/client/util-waiter/poller.js +87 -0
  1082. package/node_modules/@smithy/core/dist-es/submodules/client/util-waiter/utils/sleep.js +3 -0
  1083. package/node_modules/@smithy/core/dist-es/submodules/client/util-waiter/utils/validate.js +17 -0
  1084. package/node_modules/@smithy/core/dist-es/submodules/client/util-waiter/waiter.js +35 -0
  1085. package/node_modules/@smithy/core/dist-es/submodules/config/config-resolver/endpointsConfig/NodeUseDualstackEndpointConfigOptions.js +15 -0
  1086. package/node_modules/@smithy/core/dist-es/submodules/config/config-resolver/endpointsConfig/NodeUseFipsEndpointConfigOptions.js +15 -0
  1087. package/node_modules/@smithy/core/dist-es/submodules/config/config-resolver/endpointsConfig/resolveCustomEndpointsConfig.js +10 -0
  1088. package/node_modules/@smithy/core/dist-es/submodules/config/config-resolver/endpointsConfig/resolveEndpointsConfig.js +14 -0
  1089. package/node_modules/@smithy/core/dist-es/submodules/config/config-resolver/regionConfig/checkRegion.js +15 -0
  1090. package/node_modules/@smithy/core/dist-es/submodules/config/defaults-mode/resolveDefaultsModeConfig.browser.js +30 -0
  1091. package/node_modules/@smithy/core/dist-es/submodules/config/defaults-mode/resolveDefaultsModeConfig.js +98 -0
  1092. package/node_modules/@smithy/core/dist-es/submodules/config/defaults-mode/resolveDefaultsModeConfig.native.js +19 -0
  1093. package/node_modules/@smithy/core/dist-es/submodules/config/index.browser.js +43 -0
  1094. package/node_modules/@smithy/core/dist-es/submodules/config/index.js +29 -0
  1095. package/node_modules/@smithy/core/dist-es/submodules/config/index.native.js +43 -0
  1096. package/node_modules/@smithy/core/dist-es/submodules/config/node-config-provider/configLoader.js +10 -0
  1097. package/node_modules/@smithy/core/dist-es/submodules/config/node-config-provider/fromEnv.js +14 -0
  1098. package/node_modules/@smithy/core/dist-es/submodules/config/node-config-provider/fromSharedConfigFiles.js +24 -0
  1099. package/node_modules/@smithy/core/dist-es/submodules/config/node-config-provider/fromStatic.js +3 -0
  1100. package/node_modules/@smithy/core/dist-es/submodules/config/property-provider/fromValue.js +1 -0
  1101. package/node_modules/@smithy/core/dist-es/submodules/config/shared-ini-file-loader/getConfigFilepath.js +4 -0
  1102. package/node_modules/@smithy/core/dist-es/submodules/config/shared-ini-file-loader/getCredentialsFilepath.js +4 -0
  1103. package/node_modules/@smithy/core/dist-es/submodules/config/shared-ini-file-loader/getHomeDir.js +22 -0
  1104. package/node_modules/@smithy/core/dist-es/submodules/config/shared-ini-file-loader/getSSOTokenFilepath.js +8 -0
  1105. package/node_modules/@smithy/core/dist-es/submodules/config/shared-ini-file-loader/getSSOTokenFromFile.js +11 -0
  1106. package/node_modules/@smithy/core/dist-es/submodules/config/shared-ini-file-loader/loadSharedConfigFiles.js +39 -0
  1107. package/node_modules/@smithy/core/dist-es/submodules/endpoints/index.browser.js +22 -0
  1108. package/node_modules/@smithy/core/dist-es/submodules/endpoints/index.js +21 -0
  1109. package/node_modules/@smithy/core/dist-es/submodules/endpoints/middleware-endpoint/adaptors/getEndpointFromConfig.js +3 -0
  1110. package/node_modules/@smithy/core/dist-es/submodules/endpoints/middleware-endpoint/adaptors/getEndpointFromInstructions.js +65 -0
  1111. package/node_modules/@smithy/core/dist-es/submodules/endpoints/middleware-endpoint/adaptors/getEndpointUrlConfig.js +31 -0
  1112. package/node_modules/@smithy/core/dist-es/submodules/endpoints/middleware-endpoint/adaptors/toEndpointV1.js +1 -0
  1113. package/node_modules/@smithy/core/dist-es/submodules/endpoints/middleware-endpoint/endpointMiddleware.js +47 -0
  1114. package/node_modules/@smithy/core/dist-es/submodules/endpoints/middleware-endpoint/getEndpointPlugin.js +26 -0
  1115. package/node_modules/@smithy/core/dist-es/submodules/endpoints/middleware-endpoint/resolveEndpointConfig.js +25 -0
  1116. package/node_modules/@smithy/core/dist-es/submodules/endpoints/toEndpointV1.js +1 -1
  1117. package/node_modules/@smithy/core/dist-es/submodules/endpoints/util-endpoints/utils/evaluateExpression.js +46 -0
  1118. package/node_modules/@smithy/core/dist-es/submodules/event-streams/EventStreamSerde.js +1 -1
  1119. package/node_modules/@smithy/core/dist-es/submodules/event-streams/eventstream-codec/HeaderMarshaller.js +184 -0
  1120. package/node_modules/@smithy/core/dist-es/submodules/event-streams/eventstream-codec/Int64.js +44 -0
  1121. package/node_modules/@smithy/core/dist-es/submodules/event-streams/eventstream-serde/EventStreamMarshaller.browser.js +21 -0
  1122. package/node_modules/@smithy/core/dist-es/submodules/event-streams/eventstream-serde/EventStreamMarshaller.js +45 -0
  1123. package/node_modules/@smithy/core/dist-es/submodules/event-streams/eventstream-serde/utils.js +28 -0
  1124. package/node_modules/@smithy/core/dist-es/submodules/event-streams/eventstream-serde-universal/EventStreamMarshaller.js +30 -0
  1125. package/node_modules/@smithy/core/dist-es/submodules/event-streams/index.browser.js +14 -0
  1126. package/node_modules/@smithy/core/dist-es/submodules/event-streams/index.js +14 -1
  1127. package/node_modules/@smithy/core/dist-es/submodules/protocols/HttpBindingProtocol.js +3 -4
  1128. package/node_modules/@smithy/core/dist-es/submodules/protocols/HttpProtocol.js +3 -2
  1129. package/node_modules/@smithy/core/dist-es/submodules/protocols/RpcProtocol.js +2 -2
  1130. package/node_modules/@smithy/core/dist-es/submodules/protocols/collect-stream-body.js +1 -1
  1131. package/node_modules/@smithy/core/dist-es/submodules/protocols/index.js +12 -0
  1132. package/node_modules/@smithy/core/dist-es/submodules/protocols/middleware-content-length/contentLengthMiddleware.js +39 -0
  1133. package/node_modules/@smithy/core/dist-es/submodules/protocols/querystring-builder/buildQueryString.js +21 -0
  1134. package/node_modules/@smithy/core/dist-es/submodules/protocols/requestBuilder.js +1 -1
  1135. package/node_modules/@smithy/core/dist-es/submodules/protocols/serde/FromStringShapeDeserializer.js +1 -3
  1136. package/node_modules/@smithy/core/dist-es/submodules/protocols/serde/HttpInterceptingShapeDeserializer.js +1 -1
  1137. package/node_modules/@smithy/core/dist-es/submodules/protocols/serde/ToStringShapeSerializer.js +1 -2
  1138. package/node_modules/@smithy/core/dist-es/submodules/protocols/url-parser/parseUrl.js +18 -0
  1139. package/node_modules/@smithy/core/dist-es/submodules/retry/index.browser.js +27 -0
  1140. package/node_modules/@smithy/core/dist-es/submodules/retry/index.js +20 -0
  1141. package/node_modules/@smithy/core/dist-es/submodules/retry/middleware-retry/configurations.js +50 -0
  1142. package/node_modules/@smithy/core/dist-es/submodules/retry/middleware-retry/isStreamingPayload/isStreamingPayload.js +3 -0
  1143. package/node_modules/@smithy/core/dist-es/submodules/retry/middleware-retry/omitRetryHeadersMiddleware.js +22 -0
  1144. package/node_modules/@smithy/core/dist-es/submodules/retry/middleware-retry/parseRetryAfterHeader.js +49 -0
  1145. package/node_modules/@smithy/core/dist-es/submodules/retry/middleware-retry/retry-pre-sra-deprecated/AdaptiveRetryStrategy.js +22 -0
  1146. package/node_modules/@smithy/core/dist-es/submodules/retry/middleware-retry/retry-pre-sra-deprecated/StandardRetryStrategy.js +95 -0
  1147. package/node_modules/@smithy/core/dist-es/submodules/retry/middleware-retry/retry-pre-sra-deprecated/defaultRetryQuota.js +27 -0
  1148. package/node_modules/@smithy/core/dist-es/submodules/retry/middleware-retry/retry-pre-sra-deprecated/delayDecider.js +2 -0
  1149. package/node_modules/@smithy/core/dist-es/submodules/retry/middleware-retry/retry-pre-sra-deprecated/retryDecider.js +7 -0
  1150. package/node_modules/@smithy/core/dist-es/submodules/retry/middleware-retry/retryMiddleware.js +109 -0
  1151. package/node_modules/@smithy/core/dist-es/submodules/retry/util-retry/AdaptiveRetryStrategy.js +36 -0
  1152. package/node_modules/@smithy/core/dist-es/submodules/retry/util-retry/ConfiguredRetryStrategy.js +19 -0
  1153. package/node_modules/@smithy/core/dist-es/submodules/retry/util-retry/DefaultRateLimiter.js +111 -0
  1154. package/node_modules/@smithy/core/dist-es/submodules/retry/util-retry/StandardRetryStrategy.js +93 -0
  1155. package/node_modules/@smithy/core/dist-es/submodules/schema/TypeRegistry.js +12 -0
  1156. package/node_modules/@smithy/core/dist-es/submodules/schema/middleware/schemaDeserializationMiddleware.js +2 -2
  1157. package/node_modules/@smithy/core/dist-es/submodules/schema/middleware/schemaSerializationMiddleware.js +1 -1
  1158. package/node_modules/@smithy/core/dist-es/submodules/serde/hash-node/hash-node.js +36 -0
  1159. package/node_modules/@smithy/core/dist-es/submodules/serde/index.browser.js +41 -0
  1160. package/node_modules/@smithy/core/dist-es/submodules/serde/index.js +40 -10
  1161. package/node_modules/@smithy/core/dist-es/submodules/serde/index.native.js +43 -0
  1162. package/node_modules/@smithy/core/dist-es/submodules/serde/middleware-serde/deserializerMiddleware.js +58 -0
  1163. package/node_modules/@smithy/core/dist-es/submodules/serde/util-base64/fromBase64.browser.js +36 -0
  1164. package/node_modules/@smithy/core/dist-es/submodules/serde/util-base64/fromBase64.js +12 -0
  1165. package/node_modules/@smithy/core/dist-es/submodules/serde/util-base64/toBase64.browser.js +35 -0
  1166. package/node_modules/@smithy/core/dist-es/submodules/serde/util-base64/toBase64.js +15 -0
  1167. package/node_modules/@smithy/core/dist-es/submodules/serde/util-body-length/calculateBodyLength.js +27 -0
  1168. package/node_modules/@smithy/core/dist-es/submodules/serde/util-buffer-from/buffer-from.js +13 -0
  1169. package/node_modules/@smithy/core/dist-es/submodules/serde/util-stream/blob/Uint8ArrayBlobAdapter.js +23 -0
  1170. package/node_modules/@smithy/core/dist-es/submodules/serde/util-stream/checksum/ChecksumStream.js +60 -0
  1171. package/node_modules/@smithy/core/dist-es/submodules/serde/util-stream/checksum/createChecksumStream.browser.js +35 -0
  1172. package/node_modules/@smithy/core/dist-es/submodules/serde/util-stream/checksum/createChecksumStream.js +9 -0
  1173. package/node_modules/@smithy/core/dist-es/submodules/serde/util-stream/createBufferedReadable.js +57 -0
  1174. package/node_modules/@smithy/core/dist-es/submodules/serde/util-stream/headStream.js +38 -0
  1175. package/node_modules/@smithy/core/dist-es/submodules/serde/util-stream/sdk-stream-mixin.browser.js +64 -0
  1176. package/node_modules/@smithy/core/dist-es/submodules/serde/util-stream/sdk-stream-mixin.js +50 -0
  1177. package/node_modules/@smithy/core/dist-es/submodules/serde/util-stream/splitStream.js +13 -0
  1178. package/node_modules/@smithy/core/dist-es/submodules/serde/util-stream/stream-collector.browser.js +53 -0
  1179. package/node_modules/@smithy/core/dist-es/submodules/serde/util-stream/stream-collector.js +48 -0
  1180. package/node_modules/@smithy/core/dist-es/submodules/serde/util-utf8/fromUtf8.js +5 -0
  1181. package/node_modules/@smithy/core/dist-es/submodules/serde/util-utf8/toUint8Array.browser.js +10 -0
  1182. package/node_modules/@smithy/core/dist-es/submodules/serde/util-utf8/toUtf8.js +10 -0
  1183. package/node_modules/@smithy/core/dist-es/submodules/serde/uuid/v4.js +32 -0
  1184. package/node_modules/@smithy/core/dist-es/util-identity-and-auth/httpAuthSchemes/httpApiKeyAuth.js +2 -2
  1185. package/node_modules/@smithy/core/dist-es/util-identity-and-auth/httpAuthSchemes/httpBearerAuth.js +1 -1
  1186. package/node_modules/@smithy/core/dist-types/getSmithyContext.d.ts +1 -1
  1187. package/node_modules/@smithy/core/dist-types/middleware-http-auth-scheme/getHttpAuthSchemeEndpointRuleSetPlugin.d.ts +1 -1
  1188. package/node_modules/@smithy/core/dist-types/middleware-http-auth-scheme/getHttpAuthSchemePlugin.d.ts +1 -1
  1189. package/node_modules/@smithy/core/dist-types/middleware-http-auth-scheme/httpAuthSchemeMiddleware.d.ts +1 -1
  1190. package/node_modules/@smithy/core/dist-types/pagination/createPaginator.d.ts +2 -2
  1191. package/node_modules/@smithy/core/dist-types/request-builder/requestBuilder.d.ts +2 -1
  1192. package/node_modules/@smithy/core/dist-types/setFeature.d.ts +3 -3
  1193. package/node_modules/@smithy/core/dist-types/submodules/cbor/cbor-decode.d.ts +5 -4
  1194. package/node_modules/@smithy/core/dist-types/submodules/cbor/cbor-types.d.ts +4 -4
  1195. package/node_modules/@smithy/core/dist-types/submodules/cbor/cbor.d.ts +3 -4
  1196. package/node_modules/@smithy/core/dist-types/submodules/cbor/parseCborBody.d.ts +3 -3
  1197. package/node_modules/@smithy/core/dist-types/submodules/checksum/chunked-blob-reader/chunked-blob-reader.d.ts +6 -0
  1198. package/node_modules/@smithy/core/dist-types/submodules/checksum/chunked-blob-reader/chunked-blob-reader.native.d.ts +4 -0
  1199. package/node_modules/@smithy/core/dist-types/submodules/checksum/hash-blob-browser/blobHasher.d.ts +5 -0
  1200. package/node_modules/@smithy/core/dist-types/submodules/checksum/hash-stream-node/HashCalculator.d.ts +10 -0
  1201. package/node_modules/@smithy/core/dist-types/submodules/checksum/hash-stream-node/fileStreamHasher.d.ts +6 -0
  1202. package/node_modules/@smithy/core/dist-types/submodules/checksum/hash-stream-node/readableStreamHasher.d.ts +6 -0
  1203. package/node_modules/@smithy/core/dist-types/submodules/checksum/index.browser.d.ts +5 -0
  1204. package/node_modules/@smithy/core/dist-types/submodules/checksum/index.d.ts +5 -0
  1205. package/node_modules/@smithy/core/dist-types/submodules/checksum/index.native.d.ts +5 -0
  1206. package/node_modules/@smithy/core/dist-types/submodules/checksum/md5-js/constants.d.ts +12 -0
  1207. package/node_modules/@smithy/core/dist-types/submodules/checksum/md5-js/md5.d.ts +16 -0
  1208. package/node_modules/@smithy/core/dist-types/submodules/client/index.d.ts +26 -0
  1209. package/node_modules/@smithy/core/dist-types/submodules/client/smithy-client/client.d.ts +84 -0
  1210. package/node_modules/@smithy/core/dist-types/submodules/client/smithy-client/command.d.ts +119 -0
  1211. package/node_modules/@smithy/core/dist-types/submodules/client/smithy-client/create-aggregated-client.d.ts +16 -0
  1212. package/node_modules/@smithy/core/dist-types/submodules/client/smithy-client/default-error-handler.d.ts +15 -0
  1213. package/node_modules/@smithy/core/dist-types/submodules/client/smithy-client/emitWarningIfUnsupportedVersion.d.ts +7 -0
  1214. package/node_modules/@smithy/core/dist-types/submodules/client/smithy-client/exceptions.d.ts +42 -0
  1215. package/node_modules/@smithy/core/dist-types/submodules/client/smithy-client/extensions/checksum.d.ts +25 -0
  1216. package/node_modules/@smithy/core/dist-types/submodules/client/smithy-client/extensions/defaultExtensionConfiguration.d.ts +38 -0
  1217. package/node_modules/@smithy/core/dist-types/submodules/client/smithy-client/get-array-if-single-item.d.ts +7 -0
  1218. package/node_modules/@smithy/core/dist-types/submodules/client/smithy-client/get-value-from-text-node.d.ts +7 -0
  1219. package/node_modules/@smithy/core/dist-types/submodules/client/smithy-client/object-mapping.d.ts +163 -0
  1220. package/node_modules/@smithy/core/dist-types/submodules/client/smithy-client/ser-utils.d.ts +14 -0
  1221. package/node_modules/@smithy/core/dist-types/submodules/client/smithy-client/serde-json.d.ts +10 -0
  1222. package/node_modules/@smithy/core/dist-types/submodules/client/util-middleware/getSmithyContext.d.ts +5 -0
  1223. package/node_modules/@smithy/core/dist-types/submodules/client/util-waiter/circularReplacer.d.ts +6 -0
  1224. package/node_modules/@smithy/core/dist-types/submodules/client/util-waiter/createWaiter.d.ts +11 -0
  1225. package/node_modules/@smithy/core/dist-types/submodules/client/util-waiter/poller.d.ts +11 -0
  1226. package/node_modules/@smithy/core/dist-types/submodules/client/util-waiter/utils/sleep.d.ts +4 -0
  1227. package/node_modules/@smithy/core/dist-types/submodules/client/util-waiter/utils/validate.d.ts +8 -0
  1228. package/node_modules/@smithy/core/dist-types/submodules/client/util-waiter/waiter.d.ts +49 -0
  1229. package/node_modules/@smithy/core/dist-types/submodules/config/config-resolver/endpointsConfig/NodeUseDualstackEndpointConfigOptions.d.ts +23 -0
  1230. package/node_modules/@smithy/core/dist-types/submodules/config/config-resolver/endpointsConfig/NodeUseFipsEndpointConfigOptions.d.ts +23 -0
  1231. package/node_modules/@smithy/core/dist-types/submodules/config/config-resolver/endpointsConfig/resolveEndpointsConfig.d.ts +57 -0
  1232. package/node_modules/@smithy/core/dist-types/submodules/config/config-resolver/regionConfig/config.d.ts +17 -0
  1233. package/node_modules/@smithy/core/dist-types/submodules/config/defaults-mode/defaultsModeConfig.d.ts +6 -0
  1234. package/node_modules/@smithy/core/dist-types/submodules/config/defaults-mode/resolveDefaultsModeConfig.browser.d.ts +17 -0
  1235. package/node_modules/@smithy/core/dist-types/submodules/config/defaults-mode/resolveDefaultsModeConfig.d.ts +17 -0
  1236. package/node_modules/@smithy/core/dist-types/submodules/config/defaults-mode/resolveDefaultsModeConfig.native.d.ts +16 -0
  1237. package/node_modules/@smithy/core/dist-types/submodules/config/index.browser.d.ts +55 -0
  1238. package/node_modules/@smithy/core/dist-types/submodules/config/index.d.ts +36 -0
  1239. package/node_modules/@smithy/core/dist-types/submodules/config/index.native.d.ts +55 -0
  1240. package/node_modules/@smithy/core/dist-types/submodules/config/node-config-provider/configLoader.d.ts +31 -0
  1241. package/node_modules/@smithy/core/dist-types/submodules/config/node-config-provider/fromSharedConfigFiles.d.ts +22 -0
  1242. package/node_modules/@smithy/core/dist-types/submodules/config/property-provider/CredentialsProviderError.d.ts +29 -0
  1243. package/node_modules/@smithy/core/dist-types/submodules/config/property-provider/ProviderError.d.ts +38 -0
  1244. package/node_modules/@smithy/core/dist-types/submodules/config/property-provider/TokenProviderError.d.ts +29 -0
  1245. package/node_modules/@smithy/core/dist-types/submodules/config/property-provider/chain.d.ts +12 -0
  1246. package/node_modules/@smithy/core/dist-types/submodules/config/property-provider/fromValue.d.ts +5 -0
  1247. package/node_modules/@smithy/core/dist-types/submodules/config/shared-ini-file-loader/getConfigData.d.ts +8 -0
  1248. package/node_modules/@smithy/core/dist-types/submodules/config/shared-ini-file-loader/getSSOTokenFromFile.d.ts +53 -0
  1249. package/node_modules/@smithy/core/dist-types/submodules/config/shared-ini-file-loader/getSsoSessionData.d.ts +6 -0
  1250. package/node_modules/@smithy/core/dist-types/submodules/config/shared-ini-file-loader/parseIni.d.ts +2 -0
  1251. package/node_modules/@smithy/core/dist-types/submodules/config/shared-ini-file-loader/parseKnownFiles.d.ts +18 -0
  1252. package/node_modules/@smithy/core/dist-types/submodules/endpoints/index.browser.d.ts +24 -0
  1253. package/node_modules/@smithy/core/dist-types/submodules/endpoints/index.d.ts +23 -0
  1254. package/node_modules/@smithy/core/dist-types/submodules/endpoints/middleware-endpoint/adaptors/getEndpointFromConfig.browser.d.ts +1 -0
  1255. package/node_modules/@smithy/core/dist-types/submodules/endpoints/middleware-endpoint/adaptors/getEndpointFromInstructions.d.ts +21 -0
  1256. package/node_modules/@smithy/core/dist-types/submodules/endpoints/middleware-endpoint/adaptors/getEndpointUrlConfig.d.ts +2 -0
  1257. package/node_modules/@smithy/core/dist-types/submodules/endpoints/middleware-endpoint/adaptors/toEndpointV1.d.ts +5 -0
  1258. package/node_modules/@smithy/core/dist-types/submodules/endpoints/middleware-endpoint/endpointMiddleware.d.ts +11 -0
  1259. package/node_modules/@smithy/core/dist-types/submodules/endpoints/middleware-endpoint/getEndpointPlugin.d.ts +12 -0
  1260. package/node_modules/@smithy/core/dist-types/submodules/endpoints/middleware-endpoint/resolveEndpointConfig.d.ts +110 -0
  1261. package/node_modules/@smithy/core/dist-types/submodules/endpoints/util-endpoints/cache/EndpointCache.d.ts +34 -0
  1262. package/node_modules/@smithy/core/dist-types/submodules/endpoints/util-endpoints/decideEndpoint.d.ts +7 -0
  1263. package/node_modules/@smithy/core/dist-types/submodules/endpoints/util-endpoints/getEndpointUrlConfig.d.ts +12 -0
  1264. package/node_modules/@smithy/core/dist-types/submodules/endpoints/util-endpoints/lib/parseURL.d.ts +5 -0
  1265. package/node_modules/@smithy/core/dist-types/submodules/endpoints/util-endpoints/resolveEndpoint.d.ts +6 -0
  1266. package/node_modules/@smithy/core/dist-types/submodules/endpoints/util-endpoints/utils/evaluateCondition.d.ts +11 -0
  1267. package/node_modules/@smithy/core/dist-types/submodules/endpoints/util-endpoints/utils/evaluateErrorRule.d.ts +2 -0
  1268. package/node_modules/@smithy/core/dist-types/submodules/endpoints/util-endpoints/utils/evaluateExpression.d.ts +7 -0
  1269. package/node_modules/@smithy/core/dist-types/submodules/endpoints/util-endpoints/utils/evaluateRules.d.ts +8 -0
  1270. package/node_modules/@smithy/core/dist-types/submodules/endpoints/util-endpoints/utils/getEndpointHeaders.d.ts +2 -0
  1271. package/node_modules/@smithy/core/dist-types/submodules/endpoints/util-endpoints/utils/getEndpointProperties.d.ts +8 -0
  1272. package/node_modules/@smithy/core/dist-types/submodules/endpoints/util-endpoints/utils/getEndpointUrl.d.ts +2 -0
  1273. package/node_modules/@smithy/core/dist-types/submodules/event-streams/eventstream-codec/EventStreamCodec.d.ts +30 -0
  1274. package/node_modules/@smithy/core/dist-types/submodules/event-streams/eventstream-serde/EventStreamMarshaller.browser.d.ts +46 -0
  1275. package/node_modules/@smithy/core/dist-types/submodules/event-streams/eventstream-serde/EventStreamMarshaller.d.ts +31 -0
  1276. package/node_modules/@smithy/core/dist-types/submodules/event-streams/eventstream-serde/utils.d.ts +11 -0
  1277. package/node_modules/@smithy/core/dist-types/submodules/event-streams/eventstream-serde-universal/EventStreamMarshaller.d.ts +22 -0
  1278. package/node_modules/@smithy/core/dist-types/submodules/event-streams/eventstream-serde-universal/getUnmarshalledStream.d.ts +18 -0
  1279. package/node_modules/@smithy/core/dist-types/submodules/event-streams/index.browser.d.ts +23 -0
  1280. package/node_modules/@smithy/core/dist-types/submodules/event-streams/index.d.ts +23 -1
  1281. package/node_modules/@smithy/core/dist-types/submodules/protocols/HttpBindingProtocol.d.ts +2 -2
  1282. package/node_modules/@smithy/core/dist-types/submodules/protocols/collect-stream-body.d.ts +3 -3
  1283. package/node_modules/@smithy/core/dist-types/submodules/protocols/extended-encode-uri-component.d.ts +2 -2
  1284. package/node_modules/@smithy/core/dist-types/submodules/protocols/index.d.ts +14 -0
  1285. package/node_modules/@smithy/core/dist-types/submodules/protocols/protocol-http/Field.d.ts +49 -0
  1286. package/node_modules/@smithy/core/dist-types/submodules/protocols/protocol-http/extensions/httpExtensionConfiguration.d.ts +33 -0
  1287. package/node_modules/@smithy/core/dist-types/submodules/protocols/protocol-http/httpHandler.d.ts +32 -0
  1288. package/node_modules/@smithy/core/dist-types/submodules/protocols/protocol-http/httpRequest.d.ts +55 -0
  1289. package/node_modules/@smithy/core/dist-types/submodules/protocols/requestBuilder.d.ts +3 -2
  1290. package/node_modules/@smithy/core/dist-types/submodules/retry/index.browser.d.ts +26 -0
  1291. package/node_modules/@smithy/core/dist-types/submodules/retry/index.d.ts +20 -0
  1292. package/node_modules/@smithy/core/dist-types/submodules/retry/middleware-retry/configurations.d.ts +68 -0
  1293. package/node_modules/@smithy/core/dist-types/submodules/retry/middleware-retry/isStreamingPayload/isStreamingPayload.browser.d.ts +5 -0
  1294. package/node_modules/@smithy/core/dist-types/submodules/retry/middleware-retry/isStreamingPayload/isStreamingPayload.d.ts +5 -0
  1295. package/node_modules/@smithy/core/dist-types/submodules/retry/middleware-retry/retry-pre-sra-deprecated/AdaptiveRetryStrategy.d.ts +23 -0
  1296. package/node_modules/@smithy/core/dist-types/submodules/retry/middleware-retry/retryMiddleware.d.ts +19 -0
  1297. package/node_modules/@smithy/core/dist-types/submodules/retry/util-retry/AdaptiveRetryStrategy.d.ts +38 -0
  1298. package/node_modules/@smithy/core/dist-types/submodules/retry/util-retry/constants.d.ts +60 -0
  1299. package/node_modules/@smithy/core/dist-types/submodules/retry/util-retry/retries-2026-config.d.ts +11 -0
  1300. package/node_modules/@smithy/core/dist-types/submodules/schema/schemas/StructureSchema.d.ts +1 -1
  1301. package/node_modules/@smithy/core/dist-types/submodules/serde/date-utils.d.ts +7 -19
  1302. package/node_modules/@smithy/core/dist-types/submodules/serde/index.browser.d.ts +39 -0
  1303. package/node_modules/@smithy/core/dist-types/submodules/serde/index.d.ts +37 -10
  1304. package/node_modules/@smithy/core/dist-types/submodules/serde/index.native.d.ts +37 -0
  1305. package/node_modules/@smithy/core/dist-types/submodules/serde/lazy-json.d.ts +4 -6
  1306. package/node_modules/@smithy/core/dist-types/submodules/serde/parse-utils.d.ts +31 -51
  1307. package/node_modules/@smithy/core/dist-types/submodules/serde/schema-serde-lib/schema-date-utils.d.ts +3 -12
  1308. package/node_modules/@smithy/core/dist-types/submodules/serde/split-every.d.ts +1 -2
  1309. package/node_modules/@smithy/core/dist-types/submodules/serde/util-buffer-from/buffer-from.d.ts +12 -0
  1310. package/node_modules/@smithy/core/dist-types/submodules/serde/util-stream/blob/Uint8ArrayBlobAdapter.d.ts +18 -0
  1311. package/node_modules/@smithy/core/dist-types/submodules/serde/util-stream/checksum/ChecksumStream.d.ts +60 -0
  1312. package/node_modules/@smithy/core/dist-types/submodules/serde/util-stream/checksum/createChecksumStream.browser.d.ts +14 -0
  1313. package/node_modules/@smithy/core/dist-types/submodules/serde/util-stream/checksum/createChecksumStream.d.ts +13 -0
  1314. package/node_modules/@smithy/core/dist-types/submodules/serde/util-stream/createBufferedReadable.browser.d.ts +51 -0
  1315. package/node_modules/@smithy/core/dist-types/submodules/serde/util-stream/createBufferedReadable.d.ts +16 -0
  1316. package/node_modules/@smithy/core/dist-types/submodules/serde/util-stream/getAwsChunkedEncodingStream.d.ts +10 -0
  1317. package/node_modules/@smithy/core/dist-types/submodules/serde/util-stream/headStream.d.ts +9 -0
  1318. package/node_modules/@smithy/core/dist-types/submodules/serde/util-stream/sdk-stream-mixin.d.ts +8 -0
  1319. package/node_modules/@smithy/core/dist-types/submodules/serde/util-stream/splitStream.d.ts +11 -0
  1320. package/node_modules/@smithy/core/dist-types/submodules/serde/util-stream/stream-collector.browser.d.ts +6 -0
  1321. package/node_modules/@smithy/core/dist-types/submodules/serde/util-stream/stream-collector.d.ts +3 -0
  1322. package/node_modules/@smithy/core/dist-types/submodules/serde/util-utf8/toUint8Array.browser.d.ts +4 -0
  1323. package/node_modules/@smithy/core/dist-types/submodules/serde/uuid/v4.d.ts +24 -0
  1324. package/node_modules/@smithy/core/dist-types/util-identity-and-auth/httpAuthSchemes/httpApiKeyAuth.d.ts +2 -2
  1325. package/node_modules/@smithy/core/dist-types/util-identity-and-auth/httpAuthSchemes/httpBearerAuth.d.ts +2 -2
  1326. package/node_modules/@smithy/core/dist-types/util-identity-and-auth/memoizeIdentityProvider.d.ts +2 -1
  1327. package/node_modules/@smithy/core/package.json +110 -11
  1328. package/node_modules/@smithy/core/retry.d.ts +5 -0
  1329. package/node_modules/@smithy/core/retry.js +5 -0
  1330. package/node_modules/@smithy/credential-provider-imds/dist-cjs/index.js +39 -41
  1331. package/node_modules/@smithy/credential-provider-imds/dist-es/error/InstanceMetadataV1FallbackError.js +1 -1
  1332. package/node_modules/@smithy/credential-provider-imds/dist-es/fromContainerMetadata.js +3 -3
  1333. package/node_modules/@smithy/credential-provider-imds/dist-es/fromInstanceMetadata.js +2 -3
  1334. package/node_modules/@smithy/credential-provider-imds/dist-es/remoteProvider/httpRequest.js +2 -3
  1335. package/node_modules/@smithy/credential-provider-imds/dist-es/utils/getInstanceMetadataEndpoint.js +2 -2
  1336. package/node_modules/@smithy/credential-provider-imds/dist-types/config/EndpointConfigOptions.d.ts +1 -1
  1337. package/node_modules/@smithy/credential-provider-imds/dist-types/config/EndpointModeConfigOptions.d.ts +1 -1
  1338. package/node_modules/@smithy/credential-provider-imds/dist-types/error/InstanceMetadataV1FallbackError.d.ts +3 -3
  1339. package/node_modules/@smithy/credential-provider-imds/dist-types/fromContainerMetadata.d.ts +3 -3
  1340. package/node_modules/@smithy/credential-provider-imds/dist-types/fromInstanceMetadata.d.ts +3 -3
  1341. package/node_modules/@smithy/credential-provider-imds/dist-types/remoteProvider/httpRequest.d.ts +1 -2
  1342. package/node_modules/@smithy/credential-provider-imds/dist-types/utils/staticStabilityProvider.d.ts +1 -2
  1343. package/node_modules/@smithy/credential-provider-imds/package.json +2 -4
  1344. package/node_modules/@smithy/fetch-http-handler/dist-cjs/index.js +6 -7
  1345. package/node_modules/@smithy/fetch-http-handler/dist-es/fetch-http-handler.js +1 -2
  1346. package/node_modules/@smithy/fetch-http-handler/dist-es/stream-collector.js +1 -1
  1347. package/node_modules/@smithy/fetch-http-handler/dist-types/create-request.d.ts +2 -1
  1348. package/node_modules/@smithy/fetch-http-handler/dist-types/fetch-http-handler.d.ts +6 -7
  1349. package/node_modules/@smithy/fetch-http-handler/package.json +2 -4
  1350. package/node_modules/@smithy/is-array-buffer/dist-cjs/index.js +30 -4
  1351. package/node_modules/@smithy/is-array-buffer/package.json +12 -13
  1352. package/node_modules/@smithy/node-http-handler/dist-cjs/index.js +45 -25
  1353. package/node_modules/@smithy/node-http-handler/dist-es/get-transformed-headers.js +1 -1
  1354. package/node_modules/@smithy/node-http-handler/dist-es/node-http-handler.js +26 -16
  1355. package/node_modules/@smithy/node-http-handler/dist-es/node-http2-connection-manager.js +9 -2
  1356. package/node_modules/@smithy/node-http-handler/dist-es/node-http2-handler.js +6 -4
  1357. package/node_modules/@smithy/node-http-handler/dist-es/server.mock.js +1 -1
  1358. package/node_modules/@smithy/node-http-handler/dist-es/write-request-body.js +2 -2
  1359. package/node_modules/@smithy/node-http-handler/dist-types/get-transformed-headers.d.ts +1 -1
  1360. package/node_modules/@smithy/node-http-handler/dist-types/node-http-handler.d.ts +6 -5
  1361. package/node_modules/@smithy/node-http-handler/dist-types/node-http2-connection-manager.d.ts +4 -0
  1362. package/node_modules/@smithy/node-http-handler/dist-types/node-http2-connection-pool.d.ts +1 -1
  1363. package/node_modules/@smithy/node-http-handler/dist-types/node-http2-handler.d.ts +7 -2
  1364. package/node_modules/@smithy/node-http-handler/dist-types/readable.mock.d.ts +1 -2
  1365. package/node_modules/@smithy/node-http-handler/dist-types/server.mock.d.ts +3 -3
  1366. package/node_modules/@smithy/node-http-handler/dist-types/set-request-timeout.d.ts +1 -1
  1367. package/node_modules/@smithy/node-http-handler/dist-types/stream-collector/index.d.ts +2 -1
  1368. package/node_modules/@smithy/node-http-handler/dist-types/stream-collector/readable.mock.d.ts +1 -2
  1369. package/node_modules/@smithy/node-http-handler/dist-types/timing.d.ts +2 -1
  1370. package/node_modules/@smithy/node-http-handler/dist-types/write-request-body.d.ts +2 -2
  1371. package/node_modules/@smithy/node-http-handler/package.json +2 -3
  1372. package/node_modules/@smithy/signature-v4/dist-cjs/index.js +167 -170
  1373. package/node_modules/@smithy/signature-v4/dist-es/HeaderFormatter.js +1 -2
  1374. package/node_modules/@smithy/signature-v4/dist-es/SignatureV4.js +3 -4
  1375. package/node_modules/@smithy/signature-v4/dist-es/SignatureV4Base.js +3 -4
  1376. package/node_modules/@smithy/signature-v4/dist-es/credentialDerivation.js +1 -2
  1377. package/node_modules/@smithy/signature-v4/dist-es/getCanonicalQuery.js +1 -1
  1378. package/node_modules/@smithy/signature-v4/dist-es/getPayloadHash.js +1 -3
  1379. package/node_modules/@smithy/signature-v4/dist-es/moveHeadersToQuery.js +1 -1
  1380. package/node_modules/@smithy/signature-v4/dist-es/prepareRequest.js +1 -1
  1381. package/node_modules/@smithy/signature-v4/dist-types/HeaderFormatter.d.ts +2 -1
  1382. package/node_modules/@smithy/signature-v4/dist-types/SignatureV4.d.ts +1 -2
  1383. package/node_modules/@smithy/signature-v4/dist-types/index.d.ts +1 -1
  1384. package/node_modules/@smithy/signature-v4/dist-types/signature-v4a-container.d.ts +2 -3
  1385. package/node_modules/@smithy/signature-v4/package.json +2 -7
  1386. package/node_modules/@smithy/util-buffer-from/dist-cjs/index.js +44 -17
  1387. package/node_modules/@smithy/util-buffer-from/package.json +14 -15
  1388. package/node_modules/@smithy/util-utf8/dist-cjs/index.js +60 -27
  1389. package/node_modules/@smithy/util-utf8/package.json +13 -14
  1390. package/node_modules/@types/node/README.md +1 -1
  1391. package/node_modules/@types/node/http2.d.ts +21 -12
  1392. package/node_modules/@types/node/package.json +2 -2
  1393. package/node_modules/fast-xml-builder/CHANGELOG.md +4 -0
  1394. package/node_modules/fast-xml-builder/lib/fxb.cjs +1 -1
  1395. package/node_modules/fast-xml-builder/lib/fxb.d.cts +91 -1
  1396. package/node_modules/fast-xml-builder/lib/fxb.min.js +1 -1
  1397. package/node_modules/fast-xml-builder/lib/fxb.min.js.map +1 -1
  1398. package/node_modules/fast-xml-builder/package.json +3 -2
  1399. package/node_modules/fast-xml-builder/src/fxb.d.ts +92 -3
  1400. package/node_modules/fast-xml-builder/src/fxb.js +92 -31
  1401. package/node_modules/fast-xml-builder/src/orderedJs2Xml.js +87 -33
  1402. package/node_modules/protobufjs/dist/light/protobuf.js +39 -13
  1403. package/node_modules/protobufjs/dist/light/protobuf.js.map +1 -1
  1404. package/node_modules/protobufjs/dist/light/protobuf.min.js +3 -3
  1405. package/node_modules/protobufjs/dist/light/protobuf.min.js.map +1 -1
  1406. package/node_modules/protobufjs/dist/minimal/protobuf.js +2 -2
  1407. package/node_modules/protobufjs/dist/minimal/protobuf.min.js +2 -2
  1408. package/node_modules/protobufjs/dist/protobuf.js +74 -43
  1409. package/node_modules/protobufjs/dist/protobuf.js.map +1 -1
  1410. package/node_modules/protobufjs/dist/protobuf.min.js +3 -3
  1411. package/node_modules/protobufjs/dist/protobuf.min.js.map +1 -1
  1412. package/node_modules/protobufjs/index.d.ts +18 -5
  1413. package/node_modules/protobufjs/package.json +1 -1
  1414. package/node_modules/protobufjs/src/namespace.js +11 -5
  1415. package/node_modules/protobufjs/src/parse.js +35 -30
  1416. package/node_modules/protobufjs/src/root.js +4 -2
  1417. package/node_modules/protobufjs/src/service.js +4 -2
  1418. package/node_modules/protobufjs/src/type.js +4 -2
  1419. package/node_modules/protobufjs/src/util.js +14 -0
  1420. package/node_modules/socks/package.json +2 -2
  1421. package/node_modules/ws/lib/sender.js +6 -1
  1422. package/node_modules/ws/package.json +1 -1
  1423. package/node_modules/xml-naming/README.md +189 -0
  1424. package/node_modules/xml-naming/package.json +54 -0
  1425. package/node_modules/xml-naming/src/index.d.ts +74 -0
  1426. package/node_modules/xml-naming/src/index.js +270 -0
  1427. package/node_modules/yaml/browser/dist/compose/composer.js +4 -2
  1428. package/node_modules/yaml/browser/dist/parse/lexer.js +28 -24
  1429. package/node_modules/yaml/browser/dist/parse/parser.js +12 -4
  1430. package/node_modules/yaml/dist/compose/composer.js +4 -2
  1431. package/node_modules/yaml/dist/parse/lexer.js +28 -24
  1432. package/node_modules/yaml/dist/parse/parser.js +12 -4
  1433. package/node_modules/yaml/package.json +1 -1
  1434. package/package.json +89 -81
  1435. package/themes/forge-dark.json +84 -0
  1436. package/dist/forge-payload/.tools/collate.cjs +0 -1041
  1437. package/dist/forge-payload/.tools/lib/validate.js +0 -131
  1438. package/dist/forge-payload/.tools/store-cli.cjs +0 -1123
  1439. package/dist/forge-payload/.tools/validate-store.cjs +0 -522
  1440. package/node_modules/@aws-crypto/sha256-browser/node_modules/@smithy/is-array-buffer/LICENSE +0 -201
  1441. package/node_modules/@aws-crypto/sha256-browser/node_modules/@smithy/is-array-buffer/README.md +0 -10
  1442. package/node_modules/@aws-crypto/sha256-browser/node_modules/@smithy/is-array-buffer/dist-cjs/index.js +0 -32
  1443. package/node_modules/@aws-crypto/sha256-browser/node_modules/@smithy/is-array-buffer/dist-types/ts3.4/index.d.ts +0 -4
  1444. package/node_modules/@aws-crypto/sha256-browser/node_modules/@smithy/is-array-buffer/package.json +0 -60
  1445. package/node_modules/@aws-crypto/sha256-browser/node_modules/@smithy/util-buffer-from/LICENSE +0 -201
  1446. package/node_modules/@aws-crypto/sha256-browser/node_modules/@smithy/util-buffer-from/README.md +0 -10
  1447. package/node_modules/@aws-crypto/sha256-browser/node_modules/@smithy/util-buffer-from/dist-cjs/index.js +0 -47
  1448. package/node_modules/@aws-crypto/sha256-browser/node_modules/@smithy/util-buffer-from/dist-es/index.js +0 -14
  1449. package/node_modules/@aws-crypto/sha256-browser/node_modules/@smithy/util-buffer-from/dist-types/index.d.ts +0 -13
  1450. package/node_modules/@aws-crypto/sha256-browser/node_modules/@smithy/util-buffer-from/dist-types/ts3.4/index.d.ts +0 -13
  1451. package/node_modules/@aws-crypto/sha256-browser/node_modules/@smithy/util-buffer-from/package.json +0 -61
  1452. package/node_modules/@aws-crypto/sha256-browser/node_modules/@smithy/util-utf8/LICENSE +0 -201
  1453. package/node_modules/@aws-crypto/sha256-browser/node_modules/@smithy/util-utf8/README.md +0 -4
  1454. package/node_modules/@aws-crypto/sha256-browser/node_modules/@smithy/util-utf8/dist-cjs/index.js +0 -65
  1455. package/node_modules/@aws-crypto/sha256-browser/node_modules/@smithy/util-utf8/dist-es/fromUtf8.js +0 -5
  1456. package/node_modules/@aws-crypto/sha256-browser/node_modules/@smithy/util-utf8/dist-es/index.js +0 -3
  1457. package/node_modules/@aws-crypto/sha256-browser/node_modules/@smithy/util-utf8/dist-es/toUtf8.js +0 -10
  1458. package/node_modules/@aws-crypto/sha256-browser/node_modules/@smithy/util-utf8/dist-types/index.d.ts +0 -3
  1459. package/node_modules/@aws-crypto/sha256-browser/node_modules/@smithy/util-utf8/dist-types/ts3.4/fromUtf8.browser.d.ts +0 -1
  1460. package/node_modules/@aws-crypto/sha256-browser/node_modules/@smithy/util-utf8/dist-types/ts3.4/fromUtf8.d.ts +0 -1
  1461. package/node_modules/@aws-crypto/sha256-browser/node_modules/@smithy/util-utf8/dist-types/ts3.4/index.d.ts +0 -3
  1462. package/node_modules/@aws-crypto/sha256-browser/node_modules/@smithy/util-utf8/dist-types/ts3.4/toUint8Array.d.ts +0 -1
  1463. package/node_modules/@aws-crypto/sha256-browser/node_modules/@smithy/util-utf8/dist-types/ts3.4/toUtf8.browser.d.ts +0 -7
  1464. package/node_modules/@aws-crypto/sha256-browser/node_modules/@smithy/util-utf8/dist-types/ts3.4/toUtf8.d.ts +0 -7
  1465. package/node_modules/@aws-crypto/sha256-browser/node_modules/@smithy/util-utf8/package.json +0 -66
  1466. package/node_modules/@aws-crypto/util/node_modules/@smithy/is-array-buffer/LICENSE +0 -201
  1467. package/node_modules/@aws-crypto/util/node_modules/@smithy/is-array-buffer/README.md +0 -10
  1468. package/node_modules/@aws-crypto/util/node_modules/@smithy/is-array-buffer/dist-cjs/index.js +0 -32
  1469. package/node_modules/@aws-crypto/util/node_modules/@smithy/is-array-buffer/dist-es/index.js +0 -2
  1470. package/node_modules/@aws-crypto/util/node_modules/@smithy/is-array-buffer/dist-types/index.d.ts +0 -4
  1471. package/node_modules/@aws-crypto/util/node_modules/@smithy/is-array-buffer/dist-types/ts3.4/index.d.ts +0 -4
  1472. package/node_modules/@aws-crypto/util/node_modules/@smithy/is-array-buffer/package.json +0 -60
  1473. package/node_modules/@aws-crypto/util/node_modules/@smithy/util-buffer-from/LICENSE +0 -201
  1474. package/node_modules/@aws-crypto/util/node_modules/@smithy/util-buffer-from/README.md +0 -10
  1475. package/node_modules/@aws-crypto/util/node_modules/@smithy/util-buffer-from/dist-cjs/index.js +0 -47
  1476. package/node_modules/@aws-crypto/util/node_modules/@smithy/util-buffer-from/dist-es/index.js +0 -14
  1477. package/node_modules/@aws-crypto/util/node_modules/@smithy/util-buffer-from/dist-types/index.d.ts +0 -13
  1478. package/node_modules/@aws-crypto/util/node_modules/@smithy/util-buffer-from/dist-types/ts3.4/index.d.ts +0 -13
  1479. package/node_modules/@aws-crypto/util/node_modules/@smithy/util-buffer-from/package.json +0 -61
  1480. package/node_modules/@aws-crypto/util/node_modules/@smithy/util-utf8/LICENSE +0 -201
  1481. package/node_modules/@aws-crypto/util/node_modules/@smithy/util-utf8/README.md +0 -4
  1482. package/node_modules/@aws-crypto/util/node_modules/@smithy/util-utf8/dist-cjs/fromUtf8.browser.js +0 -1
  1483. package/node_modules/@aws-crypto/util/node_modules/@smithy/util-utf8/dist-cjs/fromUtf8.js +0 -1
  1484. package/node_modules/@aws-crypto/util/node_modules/@smithy/util-utf8/dist-cjs/index.js +0 -65
  1485. package/node_modules/@aws-crypto/util/node_modules/@smithy/util-utf8/dist-cjs/toUint8Array.js +0 -1
  1486. package/node_modules/@aws-crypto/util/node_modules/@smithy/util-utf8/dist-cjs/toUtf8.browser.js +0 -1
  1487. package/node_modules/@aws-crypto/util/node_modules/@smithy/util-utf8/dist-cjs/toUtf8.js +0 -1
  1488. package/node_modules/@aws-crypto/util/node_modules/@smithy/util-utf8/dist-es/fromUtf8.browser.js +0 -1
  1489. package/node_modules/@aws-crypto/util/node_modules/@smithy/util-utf8/dist-es/fromUtf8.js +0 -5
  1490. package/node_modules/@aws-crypto/util/node_modules/@smithy/util-utf8/dist-es/index.js +0 -3
  1491. package/node_modules/@aws-crypto/util/node_modules/@smithy/util-utf8/dist-es/toUint8Array.js +0 -10
  1492. package/node_modules/@aws-crypto/util/node_modules/@smithy/util-utf8/dist-es/toUtf8.browser.js +0 -9
  1493. package/node_modules/@aws-crypto/util/node_modules/@smithy/util-utf8/dist-es/toUtf8.js +0 -10
  1494. package/node_modules/@aws-crypto/util/node_modules/@smithy/util-utf8/dist-types/fromUtf8.browser.d.ts +0 -1
  1495. package/node_modules/@aws-crypto/util/node_modules/@smithy/util-utf8/dist-types/fromUtf8.d.ts +0 -1
  1496. package/node_modules/@aws-crypto/util/node_modules/@smithy/util-utf8/dist-types/index.d.ts +0 -3
  1497. package/node_modules/@aws-crypto/util/node_modules/@smithy/util-utf8/dist-types/toUint8Array.d.ts +0 -1
  1498. package/node_modules/@aws-crypto/util/node_modules/@smithy/util-utf8/dist-types/toUtf8.browser.d.ts +0 -7
  1499. package/node_modules/@aws-crypto/util/node_modules/@smithy/util-utf8/dist-types/toUtf8.d.ts +0 -7
  1500. package/node_modules/@aws-crypto/util/node_modules/@smithy/util-utf8/dist-types/ts3.4/fromUtf8.browser.d.ts +0 -1
  1501. package/node_modules/@aws-crypto/util/node_modules/@smithy/util-utf8/dist-types/ts3.4/fromUtf8.d.ts +0 -1
  1502. package/node_modules/@aws-crypto/util/node_modules/@smithy/util-utf8/dist-types/ts3.4/index.d.ts +0 -3
  1503. package/node_modules/@aws-crypto/util/node_modules/@smithy/util-utf8/dist-types/ts3.4/toUint8Array.d.ts +0 -1
  1504. package/node_modules/@aws-crypto/util/node_modules/@smithy/util-utf8/dist-types/ts3.4/toUtf8.browser.d.ts +0 -7
  1505. package/node_modules/@aws-crypto/util/node_modules/@smithy/util-utf8/dist-types/ts3.4/toUtf8.d.ts +0 -7
  1506. package/node_modules/@aws-crypto/util/node_modules/@smithy/util-utf8/package.json +0 -66
  1507. package/node_modules/@aws-sdk/credential-provider-http/dist-cjs/fromHttp/fromHttpTypes.js +0 -2
  1508. package/node_modules/@aws-sdk/credential-provider-sso/node_modules/@aws-sdk/token-providers/LICENSE +0 -201
  1509. package/node_modules/@aws-sdk/credential-provider-sso/node_modules/@aws-sdk/token-providers/README.md +0 -62
  1510. package/node_modules/@aws-sdk/credential-provider-sso/node_modules/@aws-sdk/token-providers/dist-cjs/index.js +0 -157
  1511. package/node_modules/@aws-sdk/credential-provider-sso/node_modules/@aws-sdk/token-providers/dist-es/constants.js +0 -2
  1512. package/node_modules/@aws-sdk/credential-provider-sso/node_modules/@aws-sdk/token-providers/dist-es/fromEnvSigningName.js +0 -16
  1513. package/node_modules/@aws-sdk/credential-provider-sso/node_modules/@aws-sdk/token-providers/dist-es/fromSso.js +0 -81
  1514. package/node_modules/@aws-sdk/credential-provider-sso/node_modules/@aws-sdk/token-providers/dist-es/fromStatic.js +0 -8
  1515. package/node_modules/@aws-sdk/credential-provider-sso/node_modules/@aws-sdk/token-providers/dist-es/getNewSsoOidcToken.js +0 -11
  1516. package/node_modules/@aws-sdk/credential-provider-sso/node_modules/@aws-sdk/token-providers/dist-es/getSsoOidcClient.js +0 -10
  1517. package/node_modules/@aws-sdk/credential-provider-sso/node_modules/@aws-sdk/token-providers/dist-es/index.js +0 -4
  1518. package/node_modules/@aws-sdk/credential-provider-sso/node_modules/@aws-sdk/token-providers/dist-es/nodeProvider.js +0 -5
  1519. package/node_modules/@aws-sdk/credential-provider-sso/node_modules/@aws-sdk/token-providers/dist-es/validateTokenExpiry.js +0 -7
  1520. package/node_modules/@aws-sdk/credential-provider-sso/node_modules/@aws-sdk/token-providers/dist-es/validateTokenKey.js +0 -7
  1521. package/node_modules/@aws-sdk/credential-provider-sso/node_modules/@aws-sdk/token-providers/dist-es/writeSSOTokenToFile.js +0 -8
  1522. package/node_modules/@aws-sdk/credential-provider-sso/node_modules/@aws-sdk/token-providers/dist-types/constants.d.ts +0 -8
  1523. package/node_modules/@aws-sdk/credential-provider-sso/node_modules/@aws-sdk/token-providers/dist-types/fromEnvSigningName.d.ts +0 -18
  1524. package/node_modules/@aws-sdk/credential-provider-sso/node_modules/@aws-sdk/token-providers/dist-types/fromSso.d.ts +0 -12
  1525. package/node_modules/@aws-sdk/credential-provider-sso/node_modules/@aws-sdk/token-providers/dist-types/fromStatic.d.ts +0 -9
  1526. package/node_modules/@aws-sdk/credential-provider-sso/node_modules/@aws-sdk/token-providers/dist-types/getNewSsoOidcToken.d.ts +0 -8
  1527. package/node_modules/@aws-sdk/credential-provider-sso/node_modules/@aws-sdk/token-providers/dist-types/getSsoOidcClient.d.ts +0 -7
  1528. package/node_modules/@aws-sdk/credential-provider-sso/node_modules/@aws-sdk/token-providers/dist-types/index.d.ts +0 -4
  1529. package/node_modules/@aws-sdk/credential-provider-sso/node_modules/@aws-sdk/token-providers/dist-types/nodeProvider.d.ts +0 -18
  1530. package/node_modules/@aws-sdk/credential-provider-sso/node_modules/@aws-sdk/token-providers/dist-types/ts3.4/constants.d.ts +0 -3
  1531. package/node_modules/@aws-sdk/credential-provider-sso/node_modules/@aws-sdk/token-providers/dist-types/ts3.4/fromEnvSigningName.d.ts +0 -11
  1532. package/node_modules/@aws-sdk/credential-provider-sso/node_modules/@aws-sdk/token-providers/dist-types/ts3.4/fromSso.d.ts +0 -14
  1533. package/node_modules/@aws-sdk/credential-provider-sso/node_modules/@aws-sdk/token-providers/dist-types/ts3.4/fromStatic.d.ts +0 -12
  1534. package/node_modules/@aws-sdk/credential-provider-sso/node_modules/@aws-sdk/token-providers/dist-types/ts3.4/getNewSsoOidcToken.d.ts +0 -11
  1535. package/node_modules/@aws-sdk/credential-provider-sso/node_modules/@aws-sdk/token-providers/dist-types/ts3.4/getSsoOidcClient.d.ts +0 -7
  1536. package/node_modules/@aws-sdk/credential-provider-sso/node_modules/@aws-sdk/token-providers/dist-types/ts3.4/index.d.ts +0 -4
  1537. package/node_modules/@aws-sdk/credential-provider-sso/node_modules/@aws-sdk/token-providers/dist-types/ts3.4/nodeProvider.d.ts +0 -5
  1538. package/node_modules/@aws-sdk/credential-provider-sso/node_modules/@aws-sdk/token-providers/dist-types/ts3.4/validateTokenExpiry.d.ts +0 -2
  1539. package/node_modules/@aws-sdk/credential-provider-sso/node_modules/@aws-sdk/token-providers/dist-types/ts3.4/validateTokenKey.d.ts +0 -5
  1540. package/node_modules/@aws-sdk/credential-provider-sso/node_modules/@aws-sdk/token-providers/dist-types/ts3.4/writeSSOTokenToFile.d.ts +0 -5
  1541. package/node_modules/@aws-sdk/credential-provider-sso/node_modules/@aws-sdk/token-providers/dist-types/validateTokenExpiry.d.ts +0 -5
  1542. package/node_modules/@aws-sdk/credential-provider-sso/node_modules/@aws-sdk/token-providers/dist-types/validateTokenKey.d.ts +0 -4
  1543. package/node_modules/@aws-sdk/credential-provider-sso/node_modules/@aws-sdk/token-providers/dist-types/writeSSOTokenToFile.d.ts +0 -5
  1544. package/node_modules/@aws-sdk/credential-provider-sso/node_modules/@aws-sdk/token-providers/package.json +0 -70
  1545. package/node_modules/@aws-sdk/middleware-sdk-s3/LICENSE +0 -201
  1546. package/node_modules/@aws-sdk/middleware-sdk-s3/README.md +0 -4
  1547. package/node_modules/@aws-sdk/middleware-sdk-s3/dist-cjs/index.js +0 -581
  1548. package/node_modules/@aws-sdk/middleware-sdk-s3/dist-cjs/toStream.browser.js +0 -11
  1549. package/node_modules/@aws-sdk/middleware-sdk-s3/dist-cjs/toStream.js +0 -7
  1550. package/node_modules/@aws-sdk/middleware-sdk-s3/dist-es/bucket-endpoint-middleware.js +0 -36
  1551. package/node_modules/@aws-sdk/middleware-sdk-s3/dist-es/check-content-length-header.js +0 -32
  1552. package/node_modules/@aws-sdk/middleware-sdk-s3/dist-es/index.js +0 -9
  1553. package/node_modules/@aws-sdk/middleware-sdk-s3/dist-es/protocol/S3RestXmlProtocol.js +0 -25
  1554. package/node_modules/@aws-sdk/middleware-sdk-s3/dist-es/region-redirect-endpoint-middleware.js +0 -41
  1555. package/node_modules/@aws-sdk/middleware-sdk-s3/dist-es/region-redirect-middleware.js +0 -42
  1556. package/node_modules/@aws-sdk/middleware-sdk-s3/dist-es/s3-expires-middleware.js +0 -33
  1557. package/node_modules/@aws-sdk/middleware-sdk-s3/dist-es/s3-express/classes/S3ExpressIdentityCache.js +0 -39
  1558. package/node_modules/@aws-sdk/middleware-sdk-s3/dist-es/s3-express/classes/S3ExpressIdentityCacheEntry.js +0 -14
  1559. package/node_modules/@aws-sdk/middleware-sdk-s3/dist-es/s3-express/classes/S3ExpressIdentityProviderImpl.js +0 -49
  1560. package/node_modules/@aws-sdk/middleware-sdk-s3/dist-es/s3-express/classes/SignatureV4S3Express.js +0 -41
  1561. package/node_modules/@aws-sdk/middleware-sdk-s3/dist-es/s3-express/constants.js +0 -13
  1562. package/node_modules/@aws-sdk/middleware-sdk-s3/dist-es/s3-express/functions/s3ExpressHttpSigningMiddleware.js +0 -38
  1563. package/node_modules/@aws-sdk/middleware-sdk-s3/dist-es/s3-express/functions/s3ExpressMiddleware.js +0 -41
  1564. package/node_modules/@aws-sdk/middleware-sdk-s3/dist-es/s3-express/functions/signS3Express.js +0 -7
  1565. package/node_modules/@aws-sdk/middleware-sdk-s3/dist-es/s3-express/index.js +0 -7
  1566. package/node_modules/@aws-sdk/middleware-sdk-s3/dist-es/s3-express/interfaces/S3ExpressIdentity.js +0 -1
  1567. package/node_modules/@aws-sdk/middleware-sdk-s3/dist-es/s3-express/interfaces/S3ExpressIdentityProvider.js +0 -1
  1568. package/node_modules/@aws-sdk/middleware-sdk-s3/dist-es/s3Configuration.js +0 -17
  1569. package/node_modules/@aws-sdk/middleware-sdk-s3/dist-es/throw-200-exceptions.js +0 -51
  1570. package/node_modules/@aws-sdk/middleware-sdk-s3/dist-es/toStream.browser.js +0 -8
  1571. package/node_modules/@aws-sdk/middleware-sdk-s3/dist-es/toStream.js +0 -4
  1572. package/node_modules/@aws-sdk/middleware-sdk-s3/dist-es/validate-bucket-name.js +0 -25
  1573. package/node_modules/@aws-sdk/middleware-sdk-s3/dist-types/bucket-endpoint-middleware.d.ts +0 -13
  1574. package/node_modules/@aws-sdk/middleware-sdk-s3/dist-types/check-content-length-header.d.ts +0 -16
  1575. package/node_modules/@aws-sdk/middleware-sdk-s3/dist-types/index.d.ts +0 -9
  1576. package/node_modules/@aws-sdk/middleware-sdk-s3/dist-types/protocol/S3RestXmlProtocol.d.ts +0 -20
  1577. package/node_modules/@aws-sdk/middleware-sdk-s3/dist-types/region-redirect-endpoint-middleware.d.ts +0 -10
  1578. package/node_modules/@aws-sdk/middleware-sdk-s3/dist-types/region-redirect-middleware.d.ts +0 -20
  1579. package/node_modules/@aws-sdk/middleware-sdk-s3/dist-types/s3-expires-middleware.d.ts +0 -26
  1580. package/node_modules/@aws-sdk/middleware-sdk-s3/dist-types/s3-express/classes/S3ExpressIdentityCache.d.ts +0 -16
  1581. package/node_modules/@aws-sdk/middleware-sdk-s3/dist-types/s3-express/classes/S3ExpressIdentityCacheEntry.d.ts +0 -16
  1582. package/node_modules/@aws-sdk/middleware-sdk-s3/dist-types/s3-express/classes/S3ExpressIdentityProviderImpl.d.ts +0 -32
  1583. package/node_modules/@aws-sdk/middleware-sdk-s3/dist-types/s3-express/classes/SignatureV4S3Express.d.ts +0 -17
  1584. package/node_modules/@aws-sdk/middleware-sdk-s3/dist-types/s3-express/constants.d.ts +0 -37
  1585. package/node_modules/@aws-sdk/middleware-sdk-s3/dist-types/s3-express/functions/s3ExpressHttpSigningMiddleware.d.ts +0 -27
  1586. package/node_modules/@aws-sdk/middleware-sdk-s3/dist-types/s3-express/functions/s3ExpressMiddleware.d.ts +0 -32
  1587. package/node_modules/@aws-sdk/middleware-sdk-s3/dist-types/s3-express/functions/signS3Express.d.ts +0 -9
  1588. package/node_modules/@aws-sdk/middleware-sdk-s3/dist-types/s3-express/index.d.ts +0 -9
  1589. package/node_modules/@aws-sdk/middleware-sdk-s3/dist-types/s3-express/interfaces/S3ExpressIdentity.d.ts +0 -6
  1590. package/node_modules/@aws-sdk/middleware-sdk-s3/dist-types/s3-express/interfaces/S3ExpressIdentityProvider.d.ts +0 -12
  1591. package/node_modules/@aws-sdk/middleware-sdk-s3/dist-types/s3Configuration.d.ts +0 -79
  1592. package/node_modules/@aws-sdk/middleware-sdk-s3/dist-types/throw-200-exceptions.d.ts +0 -21
  1593. package/node_modules/@aws-sdk/middleware-sdk-s3/dist-types/toStream.browser.d.ts +0 -4
  1594. package/node_modules/@aws-sdk/middleware-sdk-s3/dist-types/toStream.d.ts +0 -5
  1595. package/node_modules/@aws-sdk/middleware-sdk-s3/dist-types/ts3.4/bucket-endpoint-middleware.d.ts +0 -9
  1596. package/node_modules/@aws-sdk/middleware-sdk-s3/dist-types/ts3.4/check-content-length-header.d.ts +0 -13
  1597. package/node_modules/@aws-sdk/middleware-sdk-s3/dist-types/ts3.4/index.d.ts +0 -9
  1598. package/node_modules/@aws-sdk/middleware-sdk-s3/dist-types/ts3.4/protocol/S3RestXmlProtocol.d.ts +0 -15
  1599. package/node_modules/@aws-sdk/middleware-sdk-s3/dist-types/ts3.4/region-redirect-endpoint-middleware.d.ts +0 -6
  1600. package/node_modules/@aws-sdk/middleware-sdk-s3/dist-types/ts3.4/region-redirect-middleware.d.ts +0 -17
  1601. package/node_modules/@aws-sdk/middleware-sdk-s3/dist-types/ts3.4/s3-expires-middleware.d.ts +0 -14
  1602. package/node_modules/@aws-sdk/middleware-sdk-s3/dist-types/ts3.4/s3-express/classes/S3ExpressIdentityCache.d.ts +0 -14
  1603. package/node_modules/@aws-sdk/middleware-sdk-s3/dist-types/ts3.4/s3-express/classes/S3ExpressIdentityCacheEntry.d.ts +0 -12
  1604. package/node_modules/@aws-sdk/middleware-sdk-s3/dist-types/ts3.4/s3-express/classes/S3ExpressIdentityProviderImpl.d.ts +0 -31
  1605. package/node_modules/@aws-sdk/middleware-sdk-s3/dist-types/ts3.4/s3-express/classes/SignatureV4S3Express.d.ts +0 -19
  1606. package/node_modules/@aws-sdk/middleware-sdk-s3/dist-types/ts3.4/s3-express/constants.d.ts +0 -11
  1607. package/node_modules/@aws-sdk/middleware-sdk-s3/dist-types/ts3.4/s3-express/functions/s3ExpressHttpSigningMiddleware.d.ts +0 -40
  1608. package/node_modules/@aws-sdk/middleware-sdk-s3/dist-types/ts3.4/s3-express/functions/s3ExpressMiddleware.d.ts +0 -27
  1609. package/node_modules/@aws-sdk/middleware-sdk-s3/dist-types/ts3.4/s3-express/functions/signS3Express.d.ts +0 -21
  1610. package/node_modules/@aws-sdk/middleware-sdk-s3/dist-types/ts3.4/s3-express/index.d.ts +0 -17
  1611. package/node_modules/@aws-sdk/middleware-sdk-s3/dist-types/ts3.4/s3-express/interfaces/S3ExpressIdentity.d.ts +0 -2
  1612. package/node_modules/@aws-sdk/middleware-sdk-s3/dist-types/ts3.4/s3-express/interfaces/S3ExpressIdentityProvider.d.ts +0 -8
  1613. package/node_modules/@aws-sdk/middleware-sdk-s3/dist-types/ts3.4/s3Configuration.d.ts +0 -33
  1614. package/node_modules/@aws-sdk/middleware-sdk-s3/dist-types/ts3.4/throw-200-exceptions.d.ts +0 -19
  1615. package/node_modules/@aws-sdk/middleware-sdk-s3/dist-types/ts3.4/toStream.browser.d.ts +0 -1
  1616. package/node_modules/@aws-sdk/middleware-sdk-s3/dist-types/ts3.4/toStream.d.ts +0 -2
  1617. package/node_modules/@aws-sdk/middleware-sdk-s3/dist-types/ts3.4/validate-bucket-name.d.ts +0 -13
  1618. package/node_modules/@aws-sdk/middleware-sdk-s3/dist-types/validate-bucket-name.d.ts +0 -14
  1619. package/node_modules/@aws-sdk/middleware-sdk-s3/package.json +0 -79
  1620. package/node_modules/@aws-sdk/nested-clients/dist-cjs/submodules/cognito-identity/auth/httpAuthSchemeProvider.js +0 -60
  1621. package/node_modules/@aws-sdk/nested-clients/dist-cjs/submodules/cognito-identity/endpoint/bdd.js +0 -100
  1622. package/node_modules/@aws-sdk/nested-clients/dist-cjs/submodules/cognito-identity/endpoint/endpointResolver.js +0 -18
  1623. package/node_modules/@aws-sdk/nested-clients/dist-cjs/submodules/cognito-identity/models/CognitoIdentityServiceException.js +0 -12
  1624. package/node_modules/@aws-sdk/nested-clients/dist-cjs/submodules/cognito-identity/models/errors.js +0 -121
  1625. package/node_modules/@aws-sdk/nested-clients/dist-cjs/submodules/cognito-identity/runtimeConfig.browser.js +0 -38
  1626. package/node_modules/@aws-sdk/nested-clients/dist-cjs/submodules/cognito-identity/runtimeConfig.js +0 -54
  1627. package/node_modules/@aws-sdk/nested-clients/dist-cjs/submodules/cognito-identity/runtimeConfig.native.js +0 -15
  1628. package/node_modules/@aws-sdk/nested-clients/dist-cjs/submodules/cognito-identity/runtimeConfig.shared.js +0 -50
  1629. package/node_modules/@aws-sdk/nested-clients/dist-cjs/submodules/cognito-identity/schemas/schemas_0.js +0 -110
  1630. package/node_modules/@aws-sdk/nested-clients/dist-cjs/submodules/signin/auth/httpAuthSchemeProvider.js +0 -56
  1631. package/node_modules/@aws-sdk/nested-clients/dist-cjs/submodules/signin/endpoint/bdd.js +0 -90
  1632. package/node_modules/@aws-sdk/nested-clients/dist-cjs/submodules/signin/endpoint/endpointResolver.js +0 -18
  1633. package/node_modules/@aws-sdk/nested-clients/dist-cjs/submodules/signin/models/SigninServiceException.js +0 -12
  1634. package/node_modules/@aws-sdk/nested-clients/dist-cjs/submodules/signin/models/errors.js +0 -64
  1635. package/node_modules/@aws-sdk/nested-clients/dist-cjs/submodules/signin/runtimeConfig.browser.js +0 -39
  1636. package/node_modules/@aws-sdk/nested-clients/dist-cjs/submodules/signin/runtimeConfig.js +0 -54
  1637. package/node_modules/@aws-sdk/nested-clients/dist-cjs/submodules/signin/runtimeConfig.native.js +0 -15
  1638. package/node_modules/@aws-sdk/nested-clients/dist-cjs/submodules/signin/runtimeConfig.shared.js +0 -49
  1639. package/node_modules/@aws-sdk/nested-clients/dist-cjs/submodules/signin/schemas/schemas_0.js +0 -125
  1640. package/node_modules/@aws-sdk/nested-clients/dist-cjs/submodules/sso/auth/httpAuthSchemeProvider.js +0 -56
  1641. package/node_modules/@aws-sdk/nested-clients/dist-cjs/submodules/sso/endpoint/bdd.js +0 -80
  1642. package/node_modules/@aws-sdk/nested-clients/dist-cjs/submodules/sso/endpoint/endpointResolver.js +0 -18
  1643. package/node_modules/@aws-sdk/nested-clients/dist-cjs/submodules/sso/models/SSOServiceException.js +0 -12
  1644. package/node_modules/@aws-sdk/nested-clients/dist-cjs/submodules/sso/models/errors.js +0 -56
  1645. package/node_modules/@aws-sdk/nested-clients/dist-cjs/submodules/sso/runtimeConfig.browser.js +0 -38
  1646. package/node_modules/@aws-sdk/nested-clients/dist-cjs/submodules/sso/runtimeConfig.js +0 -54
  1647. package/node_modules/@aws-sdk/nested-clients/dist-cjs/submodules/sso/runtimeConfig.native.js +0 -15
  1648. package/node_modules/@aws-sdk/nested-clients/dist-cjs/submodules/sso/runtimeConfig.shared.js +0 -49
  1649. package/node_modules/@aws-sdk/nested-clients/dist-cjs/submodules/sso/schemas/schemas_0.js +0 -90
  1650. package/node_modules/@aws-sdk/nested-clients/dist-cjs/submodules/sso-oidc/auth/httpAuthSchemeProvider.js +0 -56
  1651. package/node_modules/@aws-sdk/nested-clients/dist-cjs/submodules/sso-oidc/endpoint/bdd.js +0 -80
  1652. package/node_modules/@aws-sdk/nested-clients/dist-cjs/submodules/sso-oidc/endpoint/endpointResolver.js +0 -18
  1653. package/node_modules/@aws-sdk/nested-clients/dist-cjs/submodules/sso-oidc/models/SSOOIDCServiceException.js +0 -12
  1654. package/node_modules/@aws-sdk/nested-clients/dist-cjs/submodules/sso-oidc/models/errors.js +0 -195
  1655. package/node_modules/@aws-sdk/nested-clients/dist-cjs/submodules/sso-oidc/runtimeConfig.browser.js +0 -38
  1656. package/node_modules/@aws-sdk/nested-clients/dist-cjs/submodules/sso-oidc/runtimeConfig.js +0 -54
  1657. package/node_modules/@aws-sdk/nested-clients/dist-cjs/submodules/sso-oidc/runtimeConfig.native.js +0 -15
  1658. package/node_modules/@aws-sdk/nested-clients/dist-cjs/submodules/sso-oidc/runtimeConfig.shared.js +0 -49
  1659. package/node_modules/@aws-sdk/nested-clients/dist-cjs/submodules/sso-oidc/schemas/schemas_0.js +0 -140
  1660. package/node_modules/@aws-sdk/nested-clients/dist-cjs/submodules/sts/STSClient.js +0 -55
  1661. package/node_modules/@aws-sdk/nested-clients/dist-cjs/submodules/sts/auth/httpAuthExtensionConfiguration.js +0 -43
  1662. package/node_modules/@aws-sdk/nested-clients/dist-cjs/submodules/sts/auth/httpAuthSchemeProvider.js +0 -144
  1663. package/node_modules/@aws-sdk/nested-clients/dist-cjs/submodules/sts/endpoint/EndpointParameters.js +0 -19
  1664. package/node_modules/@aws-sdk/nested-clients/dist-cjs/submodules/sts/endpoint/bdd.js +0 -150
  1665. package/node_modules/@aws-sdk/nested-clients/dist-cjs/submodules/sts/endpoint/endpointResolver.js +0 -18
  1666. package/node_modules/@aws-sdk/nested-clients/dist-cjs/submodules/sts/models/STSServiceException.js +0 -12
  1667. package/node_modules/@aws-sdk/nested-clients/dist-cjs/submodules/sts/models/errors.js +0 -96
  1668. package/node_modules/@aws-sdk/nested-clients/dist-cjs/submodules/sts/runtimeConfig.browser.js +0 -39
  1669. package/node_modules/@aws-sdk/nested-clients/dist-cjs/submodules/sts/runtimeConfig.js +0 -74
  1670. package/node_modules/@aws-sdk/nested-clients/dist-cjs/submodules/sts/runtimeConfig.native.js +0 -15
  1671. package/node_modules/@aws-sdk/nested-clients/dist-cjs/submodules/sts/runtimeConfig.shared.js +0 -57
  1672. package/node_modules/@aws-sdk/nested-clients/dist-cjs/submodules/sts/runtimeExtensions.js +0 -13
  1673. package/node_modules/@aws-sdk/nested-clients/dist-cjs/submodules/sts/schemas/schemas_0.js +0 -195
  1674. package/node_modules/@aws-sdk/util-arn-parser/LICENSE +0 -201
  1675. package/node_modules/@aws-sdk/util-arn-parser/README.md +0 -4
  1676. package/node_modules/@aws-sdk/util-arn-parser/dist-cjs/index.js +0 -27
  1677. package/node_modules/@aws-sdk/util-arn-parser/package.json +0 -55
  1678. package/node_modules/@aws-sdk/util-format-url/LICENSE +0 -201
  1679. package/node_modules/@aws-sdk/util-format-url/README.md +0 -4
  1680. package/node_modules/@aws-sdk/util-format-url/dist-cjs/index.js +0 -34
  1681. package/node_modules/@aws-sdk/util-format-url/dist-es/index.js +0 -29
  1682. package/node_modules/@aws-sdk/util-format-url/package.json +0 -56
  1683. package/node_modules/@aws-sdk/util-user-agent-browser/dist-cjs/configurations.js +0 -2
  1684. package/node_modules/@earendil-works/pi-agent-core/README.md +0 -488
  1685. package/node_modules/@earendil-works/pi-agent-core/dist/agent-loop.d.ts +0 -24
  1686. package/node_modules/@earendil-works/pi-agent-core/dist/agent-loop.d.ts.map +0 -1
  1687. package/node_modules/@earendil-works/pi-agent-core/dist/agent-loop.js +0 -458
  1688. package/node_modules/@earendil-works/pi-agent-core/dist/agent-loop.js.map +0 -1
  1689. package/node_modules/@earendil-works/pi-agent-core/dist/agent.d.ts +0 -117
  1690. package/node_modules/@earendil-works/pi-agent-core/dist/agent.d.ts.map +0 -1
  1691. package/node_modules/@earendil-works/pi-agent-core/dist/agent.js +0 -398
  1692. package/node_modules/@earendil-works/pi-agent-core/dist/agent.js.map +0 -1
  1693. package/node_modules/@earendil-works/pi-agent-core/dist/proxy.d.ts +0 -69
  1694. package/node_modules/@earendil-works/pi-agent-core/dist/proxy.d.ts.map +0 -1
  1695. package/node_modules/@earendil-works/pi-agent-core/dist/proxy.js +0 -278
  1696. package/node_modules/@earendil-works/pi-agent-core/dist/proxy.js.map +0 -1
  1697. package/node_modules/@earendil-works/pi-agent-core/dist/types.d.ts +0 -369
  1698. package/node_modules/@earendil-works/pi-agent-core/dist/types.d.ts.map +0 -1
  1699. package/node_modules/@earendil-works/pi-agent-core/dist/types.js.map +0 -1
  1700. package/node_modules/@earendil-works/pi-agent-core/package.json +0 -45
  1701. package/node_modules/@earendil-works/pi-ai/README.md +0 -1313
  1702. package/node_modules/@earendil-works/pi-ai/dist/cli.d.ts.map +0 -1
  1703. package/node_modules/@earendil-works/pi-ai/dist/cli.js +0 -116
  1704. package/node_modules/@earendil-works/pi-ai/dist/cli.js.map +0 -1
  1705. package/node_modules/@earendil-works/pi-ai/dist/models.generated.d.ts +0 -17588
  1706. package/node_modules/@earendil-works/pi-ai/dist/models.generated.d.ts.map +0 -1
  1707. package/node_modules/@earendil-works/pi-ai/dist/models.generated.js +0 -16796
  1708. package/node_modules/@earendil-works/pi-ai/dist/models.generated.js.map +0 -1
  1709. package/node_modules/@earendil-works/pi-ai/package.json +0 -108
  1710. package/node_modules/@earendil-works/pi-coding-agent/CHANGELOG.md +0 -4164
  1711. package/node_modules/@earendil-works/pi-coding-agent/README.md +0 -651
  1712. package/node_modules/@earendil-works/pi-coding-agent/dist/bun/register-bedrock.d.ts.map +0 -1
  1713. package/node_modules/@earendil-works/pi-coding-agent/dist/bun/register-bedrock.js +0 -4
  1714. package/node_modules/@earendil-works/pi-coding-agent/dist/bun/register-bedrock.js.map +0 -1
  1715. package/node_modules/@earendil-works/pi-coding-agent/dist/cli/args.d.ts +0 -53
  1716. package/node_modules/@earendil-works/pi-coding-agent/dist/cli/args.d.ts.map +0 -1
  1717. package/node_modules/@earendil-works/pi-coding-agent/dist/cli/args.js.map +0 -1
  1718. package/node_modules/@earendil-works/pi-coding-agent/dist/cli/config-selector.d.ts.map +0 -1
  1719. package/node_modules/@earendil-works/pi-coding-agent/dist/cli/config-selector.js +0 -31
  1720. package/node_modules/@earendil-works/pi-coding-agent/dist/cli/config-selector.js.map +0 -1
  1721. package/node_modules/@earendil-works/pi-coding-agent/dist/cli/file-processor.d.ts +0 -15
  1722. package/node_modules/@earendil-works/pi-coding-agent/dist/cli/file-processor.d.ts.map +0 -1
  1723. package/node_modules/@earendil-works/pi-coding-agent/dist/cli/file-processor.js.map +0 -1
  1724. package/node_modules/@earendil-works/pi-coding-agent/dist/cli/initial-message.d.ts +0 -18
  1725. package/node_modules/@earendil-works/pi-coding-agent/dist/cli/initial-message.d.ts.map +0 -1
  1726. package/node_modules/@earendil-works/pi-coding-agent/dist/cli/initial-message.js.map +0 -1
  1727. package/node_modules/@earendil-works/pi-coding-agent/dist/cli/list-models.d.ts.map +0 -1
  1728. package/node_modules/@earendil-works/pi-coding-agent/dist/cli/list-models.js +0 -98
  1729. package/node_modules/@earendil-works/pi-coding-agent/dist/cli/list-models.js.map +0 -1
  1730. package/node_modules/@earendil-works/pi-coding-agent/dist/cli/session-picker.d.ts.map +0 -1
  1731. package/node_modules/@earendil-works/pi-coding-agent/dist/cli/session-picker.js +0 -35
  1732. package/node_modules/@earendil-works/pi-coding-agent/dist/cli/session-picker.js.map +0 -1
  1733. package/node_modules/@earendil-works/pi-coding-agent/dist/config.d.ts.map +0 -1
  1734. package/node_modules/@earendil-works/pi-coding-agent/dist/config.js +0 -402
  1735. package/node_modules/@earendil-works/pi-coding-agent/dist/config.js.map +0 -1
  1736. package/node_modules/@earendil-works/pi-coding-agent/dist/core/agent-session-services.d.ts +0 -86
  1737. package/node_modules/@earendil-works/pi-coding-agent/dist/core/agent-session-services.d.ts.map +0 -1
  1738. package/node_modules/@earendil-works/pi-coding-agent/dist/core/agent-session-services.js.map +0 -1
  1739. package/node_modules/@earendil-works/pi-coding-agent/dist/core/agent-session.d.ts +0 -595
  1740. package/node_modules/@earendil-works/pi-coding-agent/dist/core/agent-session.d.ts.map +0 -1
  1741. package/node_modules/@earendil-works/pi-coding-agent/dist/core/agent-session.js +0 -2521
  1742. package/node_modules/@earendil-works/pi-coding-agent/dist/core/agent-session.js.map +0 -1
  1743. package/node_modules/@earendil-works/pi-coding-agent/dist/core/auth-storage.d.ts +0 -141
  1744. package/node_modules/@earendil-works/pi-coding-agent/dist/core/auth-storage.d.ts.map +0 -1
  1745. package/node_modules/@earendil-works/pi-coding-agent/dist/core/auth-storage.js +0 -441
  1746. package/node_modules/@earendil-works/pi-coding-agent/dist/core/auth-storage.js.map +0 -1
  1747. package/node_modules/@earendil-works/pi-coding-agent/dist/core/compaction/branch-summarization.d.ts +0 -88
  1748. package/node_modules/@earendil-works/pi-coding-agent/dist/core/compaction/branch-summarization.d.ts.map +0 -1
  1749. package/node_modules/@earendil-works/pi-coding-agent/dist/core/compaction/branch-summarization.js +0 -243
  1750. package/node_modules/@earendil-works/pi-coding-agent/dist/core/compaction/branch-summarization.js.map +0 -1
  1751. package/node_modules/@earendil-works/pi-coding-agent/dist/core/compaction/compaction.d.ts +0 -121
  1752. package/node_modules/@earendil-works/pi-coding-agent/dist/core/compaction/compaction.d.ts.map +0 -1
  1753. package/node_modules/@earendil-works/pi-coding-agent/dist/core/compaction/compaction.js +0 -615
  1754. package/node_modules/@earendil-works/pi-coding-agent/dist/core/compaction/compaction.js.map +0 -1
  1755. package/node_modules/@earendil-works/pi-coding-agent/dist/core/compaction/utils.d.ts +0 -38
  1756. package/node_modules/@earendil-works/pi-coding-agent/dist/core/compaction/utils.d.ts.map +0 -1
  1757. package/node_modules/@earendil-works/pi-coding-agent/dist/core/compaction/utils.js.map +0 -1
  1758. package/node_modules/@earendil-works/pi-coding-agent/dist/core/defaults.d.ts +0 -3
  1759. package/node_modules/@earendil-works/pi-coding-agent/dist/core/defaults.d.ts.map +0 -1
  1760. package/node_modules/@earendil-works/pi-coding-agent/dist/core/defaults.js.map +0 -1
  1761. package/node_modules/@earendil-works/pi-coding-agent/dist/core/export-html/index.d.ts +0 -37
  1762. package/node_modules/@earendil-works/pi-coding-agent/dist/core/export-html/index.d.ts.map +0 -1
  1763. package/node_modules/@earendil-works/pi-coding-agent/dist/core/export-html/index.js.map +0 -1
  1764. package/node_modules/@earendil-works/pi-coding-agent/dist/core/export-html/tool-renderer.d.ts.map +0 -1
  1765. package/node_modules/@earendil-works/pi-coding-agent/dist/core/export-html/tool-renderer.js.map +0 -1
  1766. package/node_modules/@earendil-works/pi-coding-agent/dist/core/extensions/loader.d.ts.map +0 -1
  1767. package/node_modules/@earendil-works/pi-coding-agent/dist/core/extensions/loader.js +0 -498
  1768. package/node_modules/@earendil-works/pi-coding-agent/dist/core/extensions/loader.js.map +0 -1
  1769. package/node_modules/@earendil-works/pi-coding-agent/dist/core/extensions/runner.d.ts +0 -159
  1770. package/node_modules/@earendil-works/pi-coding-agent/dist/core/extensions/runner.d.ts.map +0 -1
  1771. package/node_modules/@earendil-works/pi-coding-agent/dist/core/extensions/runner.js +0 -824
  1772. package/node_modules/@earendil-works/pi-coding-agent/dist/core/extensions/runner.js.map +0 -1
  1773. package/node_modules/@earendil-works/pi-coding-agent/dist/core/extensions/types.d.ts +0 -1173
  1774. package/node_modules/@earendil-works/pi-coding-agent/dist/core/extensions/types.d.ts.map +0 -1
  1775. package/node_modules/@earendil-works/pi-coding-agent/dist/core/extensions/types.js.map +0 -1
  1776. package/node_modules/@earendil-works/pi-coding-agent/dist/core/extensions/wrapper.d.ts +0 -20
  1777. package/node_modules/@earendil-works/pi-coding-agent/dist/core/extensions/wrapper.d.ts.map +0 -1
  1778. package/node_modules/@earendil-works/pi-coding-agent/dist/core/extensions/wrapper.js.map +0 -1
  1779. package/node_modules/@earendil-works/pi-coding-agent/dist/core/keybindings.d.ts +0 -353
  1780. package/node_modules/@earendil-works/pi-coding-agent/dist/core/keybindings.d.ts.map +0 -1
  1781. package/node_modules/@earendil-works/pi-coding-agent/dist/core/keybindings.js +0 -295
  1782. package/node_modules/@earendil-works/pi-coding-agent/dist/core/keybindings.js.map +0 -1
  1783. package/node_modules/@earendil-works/pi-coding-agent/dist/core/messages.d.ts +0 -77
  1784. package/node_modules/@earendil-works/pi-coding-agent/dist/core/messages.d.ts.map +0 -1
  1785. package/node_modules/@earendil-works/pi-coding-agent/dist/core/messages.js.map +0 -1
  1786. package/node_modules/@earendil-works/pi-coding-agent/dist/core/model-registry.d.ts +0 -150
  1787. package/node_modules/@earendil-works/pi-coding-agent/dist/core/model-registry.d.ts.map +0 -1
  1788. package/node_modules/@earendil-works/pi-coding-agent/dist/core/model-registry.js +0 -727
  1789. package/node_modules/@earendil-works/pi-coding-agent/dist/core/model-registry.js.map +0 -1
  1790. package/node_modules/@earendil-works/pi-coding-agent/dist/core/model-resolver.d.ts +0 -110
  1791. package/node_modules/@earendil-works/pi-coding-agent/dist/core/model-resolver.d.ts.map +0 -1
  1792. package/node_modules/@earendil-works/pi-coding-agent/dist/core/model-resolver.js +0 -494
  1793. package/node_modules/@earendil-works/pi-coding-agent/dist/core/model-resolver.js.map +0 -1
  1794. package/node_modules/@earendil-works/pi-coding-agent/dist/core/sdk.d.ts +0 -107
  1795. package/node_modules/@earendil-works/pi-coding-agent/dist/core/sdk.d.ts.map +0 -1
  1796. package/node_modules/@earendil-works/pi-coding-agent/dist/core/sdk.js +0 -282
  1797. package/node_modules/@earendil-works/pi-coding-agent/dist/core/sdk.js.map +0 -1
  1798. package/node_modules/@earendil-works/pi-coding-agent/dist/core/session-manager.d.ts +0 -333
  1799. package/node_modules/@earendil-works/pi-coding-agent/dist/core/session-manager.d.ts.map +0 -1
  1800. package/node_modules/@earendil-works/pi-coding-agent/dist/core/session-manager.js.map +0 -1
  1801. package/node_modules/@earendil-works/pi-coding-agent/dist/core/settings-manager.d.ts +0 -261
  1802. package/node_modules/@earendil-works/pi-coding-agent/dist/core/settings-manager.d.ts.map +0 -1
  1803. package/node_modules/@earendil-works/pi-coding-agent/dist/core/settings-manager.js.map +0 -1
  1804. package/node_modules/@earendil-works/pi-coding-agent/dist/core/tools/bash.d.ts +0 -68
  1805. package/node_modules/@earendil-works/pi-coding-agent/dist/core/tools/bash.d.ts.map +0 -1
  1806. package/node_modules/@earendil-works/pi-coding-agent/dist/core/tools/bash.js +0 -335
  1807. package/node_modules/@earendil-works/pi-coding-agent/dist/core/tools/bash.js.map +0 -1
  1808. package/node_modules/@earendil-works/pi-coding-agent/dist/core/tools/edit.d.ts +0 -49
  1809. package/node_modules/@earendil-works/pi-coding-agent/dist/core/tools/edit.d.ts.map +0 -1
  1810. package/node_modules/@earendil-works/pi-coding-agent/dist/core/tools/edit.js +0 -324
  1811. package/node_modules/@earendil-works/pi-coding-agent/dist/core/tools/edit.js.map +0 -1
  1812. package/node_modules/@earendil-works/pi-coding-agent/dist/core/tools/find.d.ts +0 -35
  1813. package/node_modules/@earendil-works/pi-coding-agent/dist/core/tools/find.d.ts.map +0 -1
  1814. package/node_modules/@earendil-works/pi-coding-agent/dist/core/tools/find.js +0 -298
  1815. package/node_modules/@earendil-works/pi-coding-agent/dist/core/tools/find.js.map +0 -1
  1816. package/node_modules/@earendil-works/pi-coding-agent/dist/core/tools/grep.d.ts +0 -37
  1817. package/node_modules/@earendil-works/pi-coding-agent/dist/core/tools/grep.d.ts.map +0 -1
  1818. package/node_modules/@earendil-works/pi-coding-agent/dist/core/tools/grep.js +0 -304
  1819. package/node_modules/@earendil-works/pi-coding-agent/dist/core/tools/grep.js.map +0 -1
  1820. package/node_modules/@earendil-works/pi-coding-agent/dist/core/tools/index.d.ts +0 -40
  1821. package/node_modules/@earendil-works/pi-coding-agent/dist/core/tools/index.d.ts.map +0 -1
  1822. package/node_modules/@earendil-works/pi-coding-agent/dist/core/tools/index.js.map +0 -1
  1823. package/node_modules/@earendil-works/pi-coding-agent/dist/core/tools/ls.d.ts +0 -37
  1824. package/node_modules/@earendil-works/pi-coding-agent/dist/core/tools/ls.d.ts.map +0 -1
  1825. package/node_modules/@earendil-works/pi-coding-agent/dist/core/tools/ls.js +0 -169
  1826. package/node_modules/@earendil-works/pi-coding-agent/dist/core/tools/ls.js.map +0 -1
  1827. package/node_modules/@earendil-works/pi-coding-agent/dist/core/tools/read.d.ts +0 -35
  1828. package/node_modules/@earendil-works/pi-coding-agent/dist/core/tools/read.d.ts.map +0 -1
  1829. package/node_modules/@earendil-works/pi-coding-agent/dist/core/tools/read.js +0 -288
  1830. package/node_modules/@earendil-works/pi-coding-agent/dist/core/tools/read.js.map +0 -1
  1831. package/node_modules/@earendil-works/pi-coding-agent/dist/core/tools/render-utils.d.ts +0 -21
  1832. package/node_modules/@earendil-works/pi-coding-agent/dist/core/tools/render-utils.d.ts.map +0 -1
  1833. package/node_modules/@earendil-works/pi-coding-agent/dist/core/tools/render-utils.js +0 -49
  1834. package/node_modules/@earendil-works/pi-coding-agent/dist/core/tools/render-utils.js.map +0 -1
  1835. package/node_modules/@earendil-works/pi-coding-agent/dist/core/tools/tool-definition-wrapper.d.ts +0 -14
  1836. package/node_modules/@earendil-works/pi-coding-agent/dist/core/tools/tool-definition-wrapper.d.ts.map +0 -1
  1837. package/node_modules/@earendil-works/pi-coding-agent/dist/core/tools/tool-definition-wrapper.js.map +0 -1
  1838. package/node_modules/@earendil-works/pi-coding-agent/dist/core/tools/write.d.ts +0 -26
  1839. package/node_modules/@earendil-works/pi-coding-agent/dist/core/tools/write.d.ts.map +0 -1
  1840. package/node_modules/@earendil-works/pi-coding-agent/dist/core/tools/write.js +0 -213
  1841. package/node_modules/@earendil-works/pi-coding-agent/dist/core/tools/write.js.map +0 -1
  1842. package/node_modules/@earendil-works/pi-coding-agent/dist/main.d.ts.map +0 -1
  1843. package/node_modules/@earendil-works/pi-coding-agent/dist/main.js +0 -583
  1844. package/node_modules/@earendil-works/pi-coding-agent/dist/main.js.map +0 -1
  1845. package/node_modules/@earendil-works/pi-coding-agent/dist/modes/interactive/components/armin.d.ts +0 -34
  1846. package/node_modules/@earendil-works/pi-coding-agent/dist/modes/interactive/components/armin.d.ts.map +0 -1
  1847. package/node_modules/@earendil-works/pi-coding-agent/dist/modes/interactive/components/armin.js.map +0 -1
  1848. package/node_modules/@earendil-works/pi-coding-agent/dist/modes/interactive/components/assistant-message.d.ts +0 -20
  1849. package/node_modules/@earendil-works/pi-coding-agent/dist/modes/interactive/components/assistant-message.d.ts.map +0 -1
  1850. package/node_modules/@earendil-works/pi-coding-agent/dist/modes/interactive/components/assistant-message.js +0 -121
  1851. package/node_modules/@earendil-works/pi-coding-agent/dist/modes/interactive/components/assistant-message.js.map +0 -1
  1852. package/node_modules/@earendil-works/pi-coding-agent/dist/modes/interactive/components/bash-execution.d.ts +0 -34
  1853. package/node_modules/@earendil-works/pi-coding-agent/dist/modes/interactive/components/bash-execution.d.ts.map +0 -1
  1854. package/node_modules/@earendil-works/pi-coding-agent/dist/modes/interactive/components/bash-execution.js +0 -175
  1855. package/node_modules/@earendil-works/pi-coding-agent/dist/modes/interactive/components/bash-execution.js.map +0 -1
  1856. package/node_modules/@earendil-works/pi-coding-agent/dist/modes/interactive/components/bordered-loader.d.ts +0 -16
  1857. package/node_modules/@earendil-works/pi-coding-agent/dist/modes/interactive/components/bordered-loader.d.ts.map +0 -1
  1858. package/node_modules/@earendil-works/pi-coding-agent/dist/modes/interactive/components/bordered-loader.js +0 -54
  1859. package/node_modules/@earendil-works/pi-coding-agent/dist/modes/interactive/components/bordered-loader.js.map +0 -1
  1860. package/node_modules/@earendil-works/pi-coding-agent/dist/modes/interactive/components/branch-summary-message.d.ts +0 -16
  1861. package/node_modules/@earendil-works/pi-coding-agent/dist/modes/interactive/components/branch-summary-message.d.ts.map +0 -1
  1862. package/node_modules/@earendil-works/pi-coding-agent/dist/modes/interactive/components/branch-summary-message.js +0 -44
  1863. package/node_modules/@earendil-works/pi-coding-agent/dist/modes/interactive/components/branch-summary-message.js.map +0 -1
  1864. package/node_modules/@earendil-works/pi-coding-agent/dist/modes/interactive/components/compaction-summary-message.d.ts +0 -16
  1865. package/node_modules/@earendil-works/pi-coding-agent/dist/modes/interactive/components/compaction-summary-message.d.ts.map +0 -1
  1866. package/node_modules/@earendil-works/pi-coding-agent/dist/modes/interactive/components/compaction-summary-message.js +0 -45
  1867. package/node_modules/@earendil-works/pi-coding-agent/dist/modes/interactive/components/compaction-summary-message.js.map +0 -1
  1868. package/node_modules/@earendil-works/pi-coding-agent/dist/modes/interactive/components/config-selector.d.ts +0 -71
  1869. package/node_modules/@earendil-works/pi-coding-agent/dist/modes/interactive/components/config-selector.d.ts.map +0 -1
  1870. package/node_modules/@earendil-works/pi-coding-agent/dist/modes/interactive/components/config-selector.js +0 -481
  1871. package/node_modules/@earendil-works/pi-coding-agent/dist/modes/interactive/components/config-selector.js.map +0 -1
  1872. package/node_modules/@earendil-works/pi-coding-agent/dist/modes/interactive/components/countdown-timer.d.ts +0 -14
  1873. package/node_modules/@earendil-works/pi-coding-agent/dist/modes/interactive/components/countdown-timer.d.ts.map +0 -1
  1874. package/node_modules/@earendil-works/pi-coding-agent/dist/modes/interactive/components/countdown-timer.js.map +0 -1
  1875. package/node_modules/@earendil-works/pi-coding-agent/dist/modes/interactive/components/custom-editor.d.ts +0 -21
  1876. package/node_modules/@earendil-works/pi-coding-agent/dist/modes/interactive/components/custom-editor.d.ts.map +0 -1
  1877. package/node_modules/@earendil-works/pi-coding-agent/dist/modes/interactive/components/custom-editor.js +0 -70
  1878. package/node_modules/@earendil-works/pi-coding-agent/dist/modes/interactive/components/custom-editor.js.map +0 -1
  1879. package/node_modules/@earendil-works/pi-coding-agent/dist/modes/interactive/components/custom-message.d.ts +0 -20
  1880. package/node_modules/@earendil-works/pi-coding-agent/dist/modes/interactive/components/custom-message.d.ts.map +0 -1
  1881. package/node_modules/@earendil-works/pi-coding-agent/dist/modes/interactive/components/custom-message.js +0 -79
  1882. package/node_modules/@earendil-works/pi-coding-agent/dist/modes/interactive/components/custom-message.js.map +0 -1
  1883. package/node_modules/@earendil-works/pi-coding-agent/dist/modes/interactive/components/daxnuts.d.ts +0 -23
  1884. package/node_modules/@earendil-works/pi-coding-agent/dist/modes/interactive/components/daxnuts.d.ts.map +0 -1
  1885. package/node_modules/@earendil-works/pi-coding-agent/dist/modes/interactive/components/daxnuts.js.map +0 -1
  1886. package/node_modules/@earendil-works/pi-coding-agent/dist/modes/interactive/components/dynamic-border.d.ts +0 -15
  1887. package/node_modules/@earendil-works/pi-coding-agent/dist/modes/interactive/components/dynamic-border.d.ts.map +0 -1
  1888. package/node_modules/@earendil-works/pi-coding-agent/dist/modes/interactive/components/dynamic-border.js.map +0 -1
  1889. package/node_modules/@earendil-works/pi-coding-agent/dist/modes/interactive/components/earendil-announcement.d.ts +0 -5
  1890. package/node_modules/@earendil-works/pi-coding-agent/dist/modes/interactive/components/earendil-announcement.d.ts.map +0 -1
  1891. package/node_modules/@earendil-works/pi-coding-agent/dist/modes/interactive/components/earendil-announcement.js +0 -40
  1892. package/node_modules/@earendil-works/pi-coding-agent/dist/modes/interactive/components/earendil-announcement.js.map +0 -1
  1893. package/node_modules/@earendil-works/pi-coding-agent/dist/modes/interactive/components/extension-editor.d.ts +0 -20
  1894. package/node_modules/@earendil-works/pi-coding-agent/dist/modes/interactive/components/extension-editor.d.ts.map +0 -1
  1895. package/node_modules/@earendil-works/pi-coding-agent/dist/modes/interactive/components/extension-editor.js +0 -111
  1896. package/node_modules/@earendil-works/pi-coding-agent/dist/modes/interactive/components/extension-editor.js.map +0 -1
  1897. package/node_modules/@earendil-works/pi-coding-agent/dist/modes/interactive/components/extension-input.d.ts +0 -23
  1898. package/node_modules/@earendil-works/pi-coding-agent/dist/modes/interactive/components/extension-input.d.ts.map +0 -1
  1899. package/node_modules/@earendil-works/pi-coding-agent/dist/modes/interactive/components/extension-input.js +0 -61
  1900. package/node_modules/@earendil-works/pi-coding-agent/dist/modes/interactive/components/extension-input.js.map +0 -1
  1901. package/node_modules/@earendil-works/pi-coding-agent/dist/modes/interactive/components/extension-selector.d.ts +0 -24
  1902. package/node_modules/@earendil-works/pi-coding-agent/dist/modes/interactive/components/extension-selector.d.ts.map +0 -1
  1903. package/node_modules/@earendil-works/pi-coding-agent/dist/modes/interactive/components/extension-selector.js +0 -78
  1904. package/node_modules/@earendil-works/pi-coding-agent/dist/modes/interactive/components/extension-selector.js.map +0 -1
  1905. package/node_modules/@earendil-works/pi-coding-agent/dist/modes/interactive/components/footer.d.ts +0 -27
  1906. package/node_modules/@earendil-works/pi-coding-agent/dist/modes/interactive/components/footer.d.ts.map +0 -1
  1907. package/node_modules/@earendil-works/pi-coding-agent/dist/modes/interactive/components/footer.js +0 -201
  1908. package/node_modules/@earendil-works/pi-coding-agent/dist/modes/interactive/components/footer.js.map +0 -1
  1909. package/node_modules/@earendil-works/pi-coding-agent/dist/modes/interactive/components/keybinding-hints.d.ts +0 -8
  1910. package/node_modules/@earendil-works/pi-coding-agent/dist/modes/interactive/components/keybinding-hints.d.ts.map +0 -1
  1911. package/node_modules/@earendil-works/pi-coding-agent/dist/modes/interactive/components/keybinding-hints.js +0 -22
  1912. package/node_modules/@earendil-works/pi-coding-agent/dist/modes/interactive/components/keybinding-hints.js.map +0 -1
  1913. package/node_modules/@earendil-works/pi-coding-agent/dist/modes/interactive/components/login-dialog.d.ts +0 -46
  1914. package/node_modules/@earendil-works/pi-coding-agent/dist/modes/interactive/components/login-dialog.d.ts.map +0 -1
  1915. package/node_modules/@earendil-works/pi-coding-agent/dist/modes/interactive/components/login-dialog.js +0 -160
  1916. package/node_modules/@earendil-works/pi-coding-agent/dist/modes/interactive/components/login-dialog.js.map +0 -1
  1917. package/node_modules/@earendil-works/pi-coding-agent/dist/modes/interactive/components/model-selector.d.ts +0 -47
  1918. package/node_modules/@earendil-works/pi-coding-agent/dist/modes/interactive/components/model-selector.d.ts.map +0 -1
  1919. package/node_modules/@earendil-works/pi-coding-agent/dist/modes/interactive/components/model-selector.js +0 -278
  1920. package/node_modules/@earendil-works/pi-coding-agent/dist/modes/interactive/components/model-selector.js.map +0 -1
  1921. package/node_modules/@earendil-works/pi-coding-agent/dist/modes/interactive/components/oauth-selector.d.ts +0 -31
  1922. package/node_modules/@earendil-works/pi-coding-agent/dist/modes/interactive/components/oauth-selector.d.ts.map +0 -1
  1923. package/node_modules/@earendil-works/pi-coding-agent/dist/modes/interactive/components/oauth-selector.js +0 -165
  1924. package/node_modules/@earendil-works/pi-coding-agent/dist/modes/interactive/components/oauth-selector.js.map +0 -1
  1925. package/node_modules/@earendil-works/pi-coding-agent/dist/modes/interactive/components/scoped-models-selector.d.ts +0 -42
  1926. package/node_modules/@earendil-works/pi-coding-agent/dist/modes/interactive/components/scoped-models-selector.d.ts.map +0 -1
  1927. package/node_modules/@earendil-works/pi-coding-agent/dist/modes/interactive/components/scoped-models-selector.js +0 -290
  1928. package/node_modules/@earendil-works/pi-coding-agent/dist/modes/interactive/components/scoped-models-selector.js.map +0 -1
  1929. package/node_modules/@earendil-works/pi-coding-agent/dist/modes/interactive/components/session-selector-search.d.ts.map +0 -1
  1930. package/node_modules/@earendil-works/pi-coding-agent/dist/modes/interactive/components/session-selector-search.js +0 -155
  1931. package/node_modules/@earendil-works/pi-coding-agent/dist/modes/interactive/components/session-selector-search.js.map +0 -1
  1932. package/node_modules/@earendil-works/pi-coding-agent/dist/modes/interactive/components/session-selector.d.ts +0 -96
  1933. package/node_modules/@earendil-works/pi-coding-agent/dist/modes/interactive/components/session-selector.d.ts.map +0 -1
  1934. package/node_modules/@earendil-works/pi-coding-agent/dist/modes/interactive/components/session-selector.js +0 -861
  1935. package/node_modules/@earendil-works/pi-coding-agent/dist/modes/interactive/components/session-selector.js.map +0 -1
  1936. package/node_modules/@earendil-works/pi-coding-agent/dist/modes/interactive/components/settings-selector.d.ts +0 -67
  1937. package/node_modules/@earendil-works/pi-coding-agent/dist/modes/interactive/components/settings-selector.d.ts.map +0 -1
  1938. package/node_modules/@earendil-works/pi-coding-agent/dist/modes/interactive/components/settings-selector.js +0 -373
  1939. package/node_modules/@earendil-works/pi-coding-agent/dist/modes/interactive/components/settings-selector.js.map +0 -1
  1940. package/node_modules/@earendil-works/pi-coding-agent/dist/modes/interactive/components/show-images-selector.d.ts +0 -10
  1941. package/node_modules/@earendil-works/pi-coding-agent/dist/modes/interactive/components/show-images-selector.d.ts.map +0 -1
  1942. package/node_modules/@earendil-works/pi-coding-agent/dist/modes/interactive/components/show-images-selector.js +0 -39
  1943. package/node_modules/@earendil-works/pi-coding-agent/dist/modes/interactive/components/show-images-selector.js.map +0 -1
  1944. package/node_modules/@earendil-works/pi-coding-agent/dist/modes/interactive/components/skill-invocation-message.d.ts +0 -17
  1945. package/node_modules/@earendil-works/pi-coding-agent/dist/modes/interactive/components/skill-invocation-message.d.ts.map +0 -1
  1946. package/node_modules/@earendil-works/pi-coding-agent/dist/modes/interactive/components/skill-invocation-message.js +0 -47
  1947. package/node_modules/@earendil-works/pi-coding-agent/dist/modes/interactive/components/skill-invocation-message.js.map +0 -1
  1948. package/node_modules/@earendil-works/pi-coding-agent/dist/modes/interactive/components/theme-selector.d.ts +0 -11
  1949. package/node_modules/@earendil-works/pi-coding-agent/dist/modes/interactive/components/theme-selector.d.ts.map +0 -1
  1950. package/node_modules/@earendil-works/pi-coding-agent/dist/modes/interactive/components/theme-selector.js +0 -50
  1951. package/node_modules/@earendil-works/pi-coding-agent/dist/modes/interactive/components/theme-selector.js.map +0 -1
  1952. package/node_modules/@earendil-works/pi-coding-agent/dist/modes/interactive/components/thinking-selector.d.ts +0 -11
  1953. package/node_modules/@earendil-works/pi-coding-agent/dist/modes/interactive/components/thinking-selector.d.ts.map +0 -1
  1954. package/node_modules/@earendil-works/pi-coding-agent/dist/modes/interactive/components/thinking-selector.js +0 -51
  1955. package/node_modules/@earendil-works/pi-coding-agent/dist/modes/interactive/components/thinking-selector.js.map +0 -1
  1956. package/node_modules/@earendil-works/pi-coding-agent/dist/modes/interactive/components/tool-execution.d.ts +0 -63
  1957. package/node_modules/@earendil-works/pi-coding-agent/dist/modes/interactive/components/tool-execution.d.ts.map +0 -1
  1958. package/node_modules/@earendil-works/pi-coding-agent/dist/modes/interactive/components/tool-execution.js +0 -295
  1959. package/node_modules/@earendil-works/pi-coding-agent/dist/modes/interactive/components/tool-execution.js.map +0 -1
  1960. package/node_modules/@earendil-works/pi-coding-agent/dist/modes/interactive/components/tree-selector.d.ts +0 -89
  1961. package/node_modules/@earendil-works/pi-coding-agent/dist/modes/interactive/components/tree-selector.d.ts.map +0 -1
  1962. package/node_modules/@earendil-works/pi-coding-agent/dist/modes/interactive/components/tree-selector.js +0 -1092
  1963. package/node_modules/@earendil-works/pi-coding-agent/dist/modes/interactive/components/tree-selector.js.map +0 -1
  1964. package/node_modules/@earendil-works/pi-coding-agent/dist/modes/interactive/components/user-message-selector.d.ts +0 -30
  1965. package/node_modules/@earendil-works/pi-coding-agent/dist/modes/interactive/components/user-message-selector.d.ts.map +0 -1
  1966. package/node_modules/@earendil-works/pi-coding-agent/dist/modes/interactive/components/user-message-selector.js +0 -114
  1967. package/node_modules/@earendil-works/pi-coding-agent/dist/modes/interactive/components/user-message-selector.js.map +0 -1
  1968. package/node_modules/@earendil-works/pi-coding-agent/dist/modes/interactive/components/user-message.d.ts +0 -10
  1969. package/node_modules/@earendil-works/pi-coding-agent/dist/modes/interactive/components/user-message.d.ts.map +0 -1
  1970. package/node_modules/@earendil-works/pi-coding-agent/dist/modes/interactive/components/user-message.js +0 -29
  1971. package/node_modules/@earendil-works/pi-coding-agent/dist/modes/interactive/components/user-message.js.map +0 -1
  1972. package/node_modules/@earendil-works/pi-coding-agent/dist/modes/interactive/components/visual-truncate.d.ts.map +0 -1
  1973. package/node_modules/@earendil-works/pi-coding-agent/dist/modes/interactive/components/visual-truncate.js +0 -33
  1974. package/node_modules/@earendil-works/pi-coding-agent/dist/modes/interactive/components/visual-truncate.js.map +0 -1
  1975. package/node_modules/@earendil-works/pi-coding-agent/dist/modes/interactive/interactive-mode.d.ts +0 -361
  1976. package/node_modules/@earendil-works/pi-coding-agent/dist/modes/interactive/interactive-mode.d.ts.map +0 -1
  1977. package/node_modules/@earendil-works/pi-coding-agent/dist/modes/interactive/interactive-mode.js +0 -4585
  1978. package/node_modules/@earendil-works/pi-coding-agent/dist/modes/interactive/interactive-mode.js.map +0 -1
  1979. package/node_modules/@earendil-works/pi-coding-agent/dist/modes/interactive/theme/theme.d.ts +0 -81
  1980. package/node_modules/@earendil-works/pi-coding-agent/dist/modes/interactive/theme/theme.d.ts.map +0 -1
  1981. package/node_modules/@earendil-works/pi-coding-agent/dist/modes/interactive/theme/theme.js +0 -971
  1982. package/node_modules/@earendil-works/pi-coding-agent/dist/modes/interactive/theme/theme.js.map +0 -1
  1983. package/node_modules/@earendil-works/pi-coding-agent/dist/modes/print-mode.d.ts +0 -28
  1984. package/node_modules/@earendil-works/pi-coding-agent/dist/modes/print-mode.d.ts.map +0 -1
  1985. package/node_modules/@earendil-works/pi-coding-agent/dist/modes/print-mode.js.map +0 -1
  1986. package/node_modules/@earendil-works/pi-coding-agent/dist/modes/rpc/rpc-client.d.ts +0 -224
  1987. package/node_modules/@earendil-works/pi-coding-agent/dist/modes/rpc/rpc-client.d.ts.map +0 -1
  1988. package/node_modules/@earendil-works/pi-coding-agent/dist/modes/rpc/rpc-client.js.map +0 -1
  1989. package/node_modules/@earendil-works/pi-coding-agent/dist/modes/rpc/rpc-mode.d.ts.map +0 -1
  1990. package/node_modules/@earendil-works/pi-coding-agent/dist/modes/rpc/rpc-mode.js +0 -601
  1991. package/node_modules/@earendil-works/pi-coding-agent/dist/modes/rpc/rpc-mode.js.map +0 -1
  1992. package/node_modules/@earendil-works/pi-coding-agent/dist/modes/rpc/rpc-types.d.ts +0 -419
  1993. package/node_modules/@earendil-works/pi-coding-agent/dist/modes/rpc/rpc-types.d.ts.map +0 -1
  1994. package/node_modules/@earendil-works/pi-coding-agent/dist/modes/rpc/rpc-types.js.map +0 -1
  1995. package/node_modules/@earendil-works/pi-coding-agent/dist/utils/image-resize.d.ts +0 -36
  1996. package/node_modules/@earendil-works/pi-coding-agent/dist/utils/image-resize.d.ts.map +0 -1
  1997. package/node_modules/@earendil-works/pi-coding-agent/dist/utils/image-resize.js.map +0 -1
  1998. package/node_modules/@earendil-works/pi-coding-agent/dist/utils/paths.d.ts +0 -14
  1999. package/node_modules/@earendil-works/pi-coding-agent/dist/utils/paths.d.ts.map +0 -1
  2000. package/node_modules/@earendil-works/pi-coding-agent/dist/utils/paths.js +0 -34
  2001. package/node_modules/@earendil-works/pi-coding-agent/dist/utils/paths.js.map +0 -1
  2002. package/node_modules/@earendil-works/pi-coding-agent/docs/compaction.md +0 -394
  2003. package/node_modules/@earendil-works/pi-coding-agent/docs/custom-provider.md +0 -646
  2004. package/node_modules/@earendil-works/pi-coding-agent/docs/extensions.md +0 -2596
  2005. package/node_modules/@earendil-works/pi-coding-agent/docs/index.md +0 -64
  2006. package/node_modules/@earendil-works/pi-coding-agent/docs/packages.md +0 -223
  2007. package/node_modules/@earendil-works/pi-coding-agent/docs/quickstart.md +0 -142
  2008. package/node_modules/@earendil-works/pi-coding-agent/docs/rpc.md +0 -1407
  2009. package/node_modules/@earendil-works/pi-coding-agent/docs/sdk.md +0 -1149
  2010. package/node_modules/@earendil-works/pi-coding-agent/docs/session-format.md +0 -412
  2011. package/node_modules/@earendil-works/pi-coding-agent/docs/termux.md +0 -127
  2012. package/node_modules/@earendil-works/pi-coding-agent/docs/tui.md +0 -918
  2013. package/node_modules/@earendil-works/pi-coding-agent/examples/extensions/README.md +0 -208
  2014. package/node_modules/@earendil-works/pi-coding-agent/examples/extensions/auto-commit-on-exit.ts +0 -49
  2015. package/node_modules/@earendil-works/pi-coding-agent/examples/extensions/bash-spawn-hook.ts +0 -30
  2016. package/node_modules/@earendil-works/pi-coding-agent/examples/extensions/bookmark.ts +0 -50
  2017. package/node_modules/@earendil-works/pi-coding-agent/examples/extensions/border-status-editor.ts +0 -150
  2018. package/node_modules/@earendil-works/pi-coding-agent/examples/extensions/built-in-tool-renderer.ts +0 -249
  2019. package/node_modules/@earendil-works/pi-coding-agent/examples/extensions/claude-rules.ts +0 -86
  2020. package/node_modules/@earendil-works/pi-coding-agent/examples/extensions/commands.ts +0 -72
  2021. package/node_modules/@earendil-works/pi-coding-agent/examples/extensions/confirm-destructive.ts +0 -59
  2022. package/node_modules/@earendil-works/pi-coding-agent/examples/extensions/custom-compaction.ts +0 -127
  2023. package/node_modules/@earendil-works/pi-coding-agent/examples/extensions/custom-footer.ts +0 -64
  2024. package/node_modules/@earendil-works/pi-coding-agent/examples/extensions/custom-header.ts +0 -73
  2025. package/node_modules/@earendil-works/pi-coding-agent/examples/extensions/custom-provider-anthropic/index.ts +0 -604
  2026. package/node_modules/@earendil-works/pi-coding-agent/examples/extensions/custom-provider-anthropic/package-lock.json +0 -24
  2027. package/node_modules/@earendil-works/pi-coding-agent/examples/extensions/custom-provider-anthropic/package.json +0 -19
  2028. package/node_modules/@earendil-works/pi-coding-agent/examples/extensions/custom-provider-gitlab-duo/index.ts +0 -349
  2029. package/node_modules/@earendil-works/pi-coding-agent/examples/extensions/custom-provider-gitlab-duo/package.json +0 -16
  2030. package/node_modules/@earendil-works/pi-coding-agent/examples/extensions/custom-provider-gitlab-duo/test.ts +0 -82
  2031. package/node_modules/@earendil-works/pi-coding-agent/examples/extensions/dirty-repo-guard.ts +0 -56
  2032. package/node_modules/@earendil-works/pi-coding-agent/examples/extensions/doom-overlay/doom-component.ts +0 -132
  2033. package/node_modules/@earendil-works/pi-coding-agent/examples/extensions/doom-overlay/doom-keys.ts +0 -104
  2034. package/node_modules/@earendil-works/pi-coding-agent/examples/extensions/doom-overlay/index.ts +0 -74
  2035. package/node_modules/@earendil-works/pi-coding-agent/examples/extensions/dynamic-resources/index.ts +0 -15
  2036. package/node_modules/@earendil-works/pi-coding-agent/examples/extensions/dynamic-tools.ts +0 -74
  2037. package/node_modules/@earendil-works/pi-coding-agent/examples/extensions/event-bus.ts +0 -43
  2038. package/node_modules/@earendil-works/pi-coding-agent/examples/extensions/file-trigger.ts +0 -41
  2039. package/node_modules/@earendil-works/pi-coding-agent/examples/extensions/git-checkpoint.ts +0 -53
  2040. package/node_modules/@earendil-works/pi-coding-agent/examples/extensions/github-issue-autocomplete.ts +0 -185
  2041. package/node_modules/@earendil-works/pi-coding-agent/examples/extensions/handoff.ts +0 -191
  2042. package/node_modules/@earendil-works/pi-coding-agent/examples/extensions/hello.ts +0 -26
  2043. package/node_modules/@earendil-works/pi-coding-agent/examples/extensions/hidden-thinking-label.ts +0 -53
  2044. package/node_modules/@earendil-works/pi-coding-agent/examples/extensions/inline-bash.ts +0 -94
  2045. package/node_modules/@earendil-works/pi-coding-agent/examples/extensions/input-transform.ts +0 -43
  2046. package/node_modules/@earendil-works/pi-coding-agent/examples/extensions/interactive-shell.ts +0 -196
  2047. package/node_modules/@earendil-works/pi-coding-agent/examples/extensions/mac-system-theme.ts +0 -47
  2048. package/node_modules/@earendil-works/pi-coding-agent/examples/extensions/message-renderer.ts +0 -59
  2049. package/node_modules/@earendil-works/pi-coding-agent/examples/extensions/minimal-mode.ts +0 -426
  2050. package/node_modules/@earendil-works/pi-coding-agent/examples/extensions/modal-editor.ts +0 -85
  2051. package/node_modules/@earendil-works/pi-coding-agent/examples/extensions/model-status.ts +0 -31
  2052. package/node_modules/@earendil-works/pi-coding-agent/examples/extensions/notify.ts +0 -55
  2053. package/node_modules/@earendil-works/pi-coding-agent/examples/extensions/overlay-qa-tests.ts +0 -1348
  2054. package/node_modules/@earendil-works/pi-coding-agent/examples/extensions/overlay-test.ts +0 -150
  2055. package/node_modules/@earendil-works/pi-coding-agent/examples/extensions/permission-gate.ts +0 -34
  2056. package/node_modules/@earendil-works/pi-coding-agent/examples/extensions/pirate.ts +0 -47
  2057. package/node_modules/@earendil-works/pi-coding-agent/examples/extensions/plan-mode/index.ts +0 -340
  2058. package/node_modules/@earendil-works/pi-coding-agent/examples/extensions/preset.ts +0 -430
  2059. package/node_modules/@earendil-works/pi-coding-agent/examples/extensions/prompt-customizer.ts +0 -97
  2060. package/node_modules/@earendil-works/pi-coding-agent/examples/extensions/protected-paths.ts +0 -30
  2061. package/node_modules/@earendil-works/pi-coding-agent/examples/extensions/provider-payload.ts +0 -18
  2062. package/node_modules/@earendil-works/pi-coding-agent/examples/extensions/qna.ts +0 -122
  2063. package/node_modules/@earendil-works/pi-coding-agent/examples/extensions/question.ts +0 -264
  2064. package/node_modules/@earendil-works/pi-coding-agent/examples/extensions/questionnaire.ts +0 -427
  2065. package/node_modules/@earendil-works/pi-coding-agent/examples/extensions/rainbow-editor.ts +0 -88
  2066. package/node_modules/@earendil-works/pi-coding-agent/examples/extensions/reload-runtime.ts +0 -37
  2067. package/node_modules/@earendil-works/pi-coding-agent/examples/extensions/rpc-demo.ts +0 -118
  2068. package/node_modules/@earendil-works/pi-coding-agent/examples/extensions/sandbox/index.ts +0 -321
  2069. package/node_modules/@earendil-works/pi-coding-agent/examples/extensions/sandbox/package-lock.json +0 -92
  2070. package/node_modules/@earendil-works/pi-coding-agent/examples/extensions/sandbox/package.json +0 -19
  2071. package/node_modules/@earendil-works/pi-coding-agent/examples/extensions/send-user-message.ts +0 -97
  2072. package/node_modules/@earendil-works/pi-coding-agent/examples/extensions/session-name.ts +0 -27
  2073. package/node_modules/@earendil-works/pi-coding-agent/examples/extensions/shutdown-command.ts +0 -63
  2074. package/node_modules/@earendil-works/pi-coding-agent/examples/extensions/snake.ts +0 -343
  2075. package/node_modules/@earendil-works/pi-coding-agent/examples/extensions/space-invaders.ts +0 -560
  2076. package/node_modules/@earendil-works/pi-coding-agent/examples/extensions/ssh.ts +0 -220
  2077. package/node_modules/@earendil-works/pi-coding-agent/examples/extensions/status-line.ts +0 -32
  2078. package/node_modules/@earendil-works/pi-coding-agent/examples/extensions/structured-output.ts +0 -65
  2079. package/node_modules/@earendil-works/pi-coding-agent/examples/extensions/subagent/agents.ts +0 -126
  2080. package/node_modules/@earendil-works/pi-coding-agent/examples/extensions/subagent/index.ts +0 -987
  2081. package/node_modules/@earendil-works/pi-coding-agent/examples/extensions/summarize.ts +0 -206
  2082. package/node_modules/@earendil-works/pi-coding-agent/examples/extensions/system-prompt-header.ts +0 -17
  2083. package/node_modules/@earendil-works/pi-coding-agent/examples/extensions/tic-tac-toe.ts +0 -1008
  2084. package/node_modules/@earendil-works/pi-coding-agent/examples/extensions/timed-confirm.ts +0 -70
  2085. package/node_modules/@earendil-works/pi-coding-agent/examples/extensions/titlebar-spinner.ts +0 -58
  2086. package/node_modules/@earendil-works/pi-coding-agent/examples/extensions/todo.ts +0 -297
  2087. package/node_modules/@earendil-works/pi-coding-agent/examples/extensions/tool-override.ts +0 -144
  2088. package/node_modules/@earendil-works/pi-coding-agent/examples/extensions/tools.ts +0 -141
  2089. package/node_modules/@earendil-works/pi-coding-agent/examples/extensions/trigger-compact.ts +0 -50
  2090. package/node_modules/@earendil-works/pi-coding-agent/examples/extensions/truncated-tool.ts +0 -195
  2091. package/node_modules/@earendil-works/pi-coding-agent/examples/extensions/widget-placement.ts +0 -9
  2092. package/node_modules/@earendil-works/pi-coding-agent/examples/extensions/with-deps/index.ts +0 -32
  2093. package/node_modules/@earendil-works/pi-coding-agent/examples/extensions/with-deps/package-lock.json +0 -31
  2094. package/node_modules/@earendil-works/pi-coding-agent/examples/extensions/with-deps/package.json +0 -22
  2095. package/node_modules/@earendil-works/pi-coding-agent/examples/extensions/working-indicator.ts +0 -123
  2096. package/node_modules/@earendil-works/pi-coding-agent/examples/extensions/working-message-test.ts +0 -25
  2097. package/node_modules/@earendil-works/pi-coding-agent/examples/rpc-extension-ui.ts +0 -632
  2098. package/node_modules/@earendil-works/pi-coding-agent/examples/sdk/01-minimal.ts +0 -22
  2099. package/node_modules/@earendil-works/pi-coding-agent/examples/sdk/02-custom-model.ts +0 -49
  2100. package/node_modules/@earendil-works/pi-coding-agent/examples/sdk/03-custom-prompt.ts +0 -67
  2101. package/node_modules/@earendil-works/pi-coding-agent/examples/sdk/04-skills.ts +0 -55
  2102. package/node_modules/@earendil-works/pi-coding-agent/examples/sdk/05-tools.ts +0 -44
  2103. package/node_modules/@earendil-works/pi-coding-agent/examples/sdk/06-extensions.ts +0 -95
  2104. package/node_modules/@earendil-works/pi-coding-agent/examples/sdk/07-context-files.ts +0 -47
  2105. package/node_modules/@earendil-works/pi-coding-agent/examples/sdk/08-prompt-templates.ts +0 -51
  2106. package/node_modules/@earendil-works/pi-coding-agent/examples/sdk/09-api-keys-and-oauth.ts +0 -48
  2107. package/node_modules/@earendil-works/pi-coding-agent/examples/sdk/10-settings.ts +0 -53
  2108. package/node_modules/@earendil-works/pi-coding-agent/examples/sdk/11-sessions.ts +0 -48
  2109. package/node_modules/@earendil-works/pi-coding-agent/examples/sdk/12-full-control.ts +0 -73
  2110. package/node_modules/@earendil-works/pi-coding-agent/examples/sdk/13-session-runtime.ts +0 -67
  2111. package/node_modules/@earendil-works/pi-coding-agent/examples/sdk/README.md +0 -147
  2112. package/node_modules/@earendil-works/pi-coding-agent/package.json +0 -100
  2113. package/node_modules/@earendil-works/pi-tui/README.md +0 -779
  2114. package/node_modules/@earendil-works/pi-tui/package.json +0 -52
  2115. package/node_modules/@mariozechner/clipboard/.yarnrc.yml +0 -1
  2116. package/node_modules/@mariozechner/clipboard/Cargo.toml +0 -26
  2117. package/node_modules/@mariozechner/clipboard/README.md +0 -58
  2118. package/node_modules/@mariozechner/clipboard/build.rs +0 -5
  2119. package/node_modules/@mariozechner/clipboard/exp.ts +0 -12
  2120. package/node_modules/@mariozechner/clipboard/index.d.ts +0 -23
  2121. package/node_modules/@mariozechner/clipboard/index.js +0 -317
  2122. package/node_modules/@mariozechner/clipboard/package.json +0 -56
  2123. package/node_modules/@mariozechner/clipboard/src/lib.rs +0 -196
  2124. package/node_modules/@mariozechner/clipboard-linux-x64-gnu/README.md +0 -3
  2125. package/node_modules/@mariozechner/clipboard-linux-x64-gnu/clipboard.linux-x64-gnu.node +0 -0
  2126. package/node_modules/@mariozechner/clipboard-linux-x64-gnu/package.json +0 -25
  2127. package/node_modules/@smithy/config-resolver/LICENSE +0 -201
  2128. package/node_modules/@smithy/config-resolver/README.md +0 -17
  2129. package/node_modules/@smithy/config-resolver/dist-cjs/index.js +0 -198
  2130. package/node_modules/@smithy/config-resolver/dist-es/endpointsConfig/NodeUseDualstackEndpointConfigOptions.js +0 -14
  2131. package/node_modules/@smithy/config-resolver/dist-es/endpointsConfig/NodeUseFipsEndpointConfigOptions.js +0 -14
  2132. package/node_modules/@smithy/config-resolver/dist-es/endpointsConfig/index.js +0 -4
  2133. package/node_modules/@smithy/config-resolver/dist-es/endpointsConfig/resolveCustomEndpointsConfig.js +0 -10
  2134. package/node_modules/@smithy/config-resolver/dist-es/endpointsConfig/resolveEndpointsConfig.js +0 -14
  2135. package/node_modules/@smithy/config-resolver/dist-es/index.js +0 -3
  2136. package/node_modules/@smithy/config-resolver/dist-es/regionConfig/checkRegion.js +0 -15
  2137. package/node_modules/@smithy/config-resolver/dist-es/regionConfig/index.js +0 -2
  2138. package/node_modules/@smithy/config-resolver/dist-es/regionInfo/index.js +0 -3
  2139. package/node_modules/@smithy/config-resolver/dist-types/endpointsConfig/NodeUseDualstackEndpointConfigOptions.d.ts +0 -23
  2140. package/node_modules/@smithy/config-resolver/dist-types/endpointsConfig/NodeUseFipsEndpointConfigOptions.d.ts +0 -23
  2141. package/node_modules/@smithy/config-resolver/dist-types/endpointsConfig/index.d.ts +0 -16
  2142. package/node_modules/@smithy/config-resolver/dist-types/endpointsConfig/resolveEndpointsConfig.d.ts +0 -57
  2143. package/node_modules/@smithy/config-resolver/dist-types/index.d.ts +0 -12
  2144. package/node_modules/@smithy/config-resolver/dist-types/regionConfig/config.d.ts +0 -17
  2145. package/node_modules/@smithy/config-resolver/dist-types/regionConfig/index.d.ts +0 -8
  2146. package/node_modules/@smithy/config-resolver/dist-types/regionInfo/index.d.ts +0 -12
  2147. package/node_modules/@smithy/config-resolver/package.json +0 -65
  2148. package/node_modules/@smithy/core/dist-es/submodules/serde/generateIdempotencyToken.js +0 -2
  2149. package/node_modules/@smithy/core/dist-types/submodules/serde/generateIdempotencyToken.d.ts +0 -2
  2150. package/node_modules/@smithy/eventstream-codec/LICENSE +0 -201
  2151. package/node_modules/@smithy/eventstream-codec/README.md +0 -17
  2152. package/node_modules/@smithy/eventstream-codec/dist-cjs/index.js +0 -401
  2153. package/node_modules/@smithy/eventstream-codec/dist-es/HeaderMarshaller.js +0 -184
  2154. package/node_modules/@smithy/eventstream-codec/dist-es/Int64.js +0 -44
  2155. package/node_modules/@smithy/eventstream-codec/dist-es/index.js +0 -8
  2156. package/node_modules/@smithy/eventstream-codec/dist-types/EventStreamCodec.d.ts +0 -31
  2157. package/node_modules/@smithy/eventstream-codec/dist-types/index.d.ts +0 -8
  2158. package/node_modules/@smithy/eventstream-codec/package.json +0 -64
  2159. package/node_modules/@smithy/eventstream-serde-browser/LICENSE +0 -201
  2160. package/node_modules/@smithy/eventstream-serde-browser/README.md +0 -17
  2161. package/node_modules/@smithy/eventstream-serde-browser/dist-cjs/index.js +0 -58
  2162. package/node_modules/@smithy/eventstream-serde-browser/dist-es/EventStreamMarshaller.js +0 -20
  2163. package/node_modules/@smithy/eventstream-serde-browser/dist-es/index.js +0 -3
  2164. package/node_modules/@smithy/eventstream-serde-browser/dist-es/provider.js +0 -2
  2165. package/node_modules/@smithy/eventstream-serde-browser/dist-es/utils.js +0 -28
  2166. package/node_modules/@smithy/eventstream-serde-browser/dist-types/EventStreamMarshaller.d.ts +0 -47
  2167. package/node_modules/@smithy/eventstream-serde-browser/dist-types/index.d.ts +0 -12
  2168. package/node_modules/@smithy/eventstream-serde-browser/dist-types/provider.d.ts +0 -3
  2169. package/node_modules/@smithy/eventstream-serde-browser/dist-types/utils.d.ts +0 -13
  2170. package/node_modules/@smithy/eventstream-serde-browser/package.json +0 -60
  2171. package/node_modules/@smithy/eventstream-serde-config-resolver/LICENSE +0 -201
  2172. package/node_modules/@smithy/eventstream-serde-config-resolver/README.md +0 -17
  2173. package/node_modules/@smithy/eventstream-serde-config-resolver/dist-cjs/index.js +0 -7
  2174. package/node_modules/@smithy/eventstream-serde-config-resolver/dist-es/index.js +0 -1
  2175. package/node_modules/@smithy/eventstream-serde-config-resolver/dist-types/index.d.ts +0 -4
  2176. package/node_modules/@smithy/eventstream-serde-config-resolver/package.json +0 -61
  2177. package/node_modules/@smithy/eventstream-serde-node/LICENSE +0 -201
  2178. package/node_modules/@smithy/eventstream-serde-node/README.md +0 -17
  2179. package/node_modules/@smithy/eventstream-serde-node/dist-cjs/index.js +0 -53
  2180. package/node_modules/@smithy/eventstream-serde-node/dist-es/EventStreamMarshaller.js +0 -19
  2181. package/node_modules/@smithy/eventstream-serde-node/dist-es/index.js +0 -2
  2182. package/node_modules/@smithy/eventstream-serde-node/dist-es/provider.js +0 -2
  2183. package/node_modules/@smithy/eventstream-serde-node/dist-es/utils.js +0 -26
  2184. package/node_modules/@smithy/eventstream-serde-node/dist-types/EventStreamMarshaller.d.ts +0 -23
  2185. package/node_modules/@smithy/eventstream-serde-node/dist-types/index.d.ts +0 -8
  2186. package/node_modules/@smithy/eventstream-serde-node/dist-types/provider.d.ts +0 -3
  2187. package/node_modules/@smithy/eventstream-serde-node/dist-types/utils.d.ts +0 -12
  2188. package/node_modules/@smithy/eventstream-serde-node/package.json +0 -61
  2189. package/node_modules/@smithy/eventstream-serde-universal/LICENSE +0 -201
  2190. package/node_modules/@smithy/eventstream-serde-universal/README.md +0 -17
  2191. package/node_modules/@smithy/eventstream-serde-universal/dist-cjs/index.js +0 -132
  2192. package/node_modules/@smithy/eventstream-serde-universal/dist-es/EventStreamMarshaller.js +0 -25
  2193. package/node_modules/@smithy/eventstream-serde-universal/dist-es/index.js +0 -2
  2194. package/node_modules/@smithy/eventstream-serde-universal/dist-es/provider.js +0 -2
  2195. package/node_modules/@smithy/eventstream-serde-universal/dist-types/EventStreamMarshaller.d.ts +0 -23
  2196. package/node_modules/@smithy/eventstream-serde-universal/dist-types/getUnmarshalledStream.d.ts +0 -18
  2197. package/node_modules/@smithy/eventstream-serde-universal/dist-types/index.d.ts +0 -8
  2198. package/node_modules/@smithy/eventstream-serde-universal/dist-types/provider.d.ts +0 -3
  2199. package/node_modules/@smithy/eventstream-serde-universal/package.json +0 -65
  2200. package/node_modules/@smithy/hash-node/LICENSE +0 -201
  2201. package/node_modules/@smithy/hash-node/README.md +0 -17
  2202. package/node_modules/@smithy/hash-node/dist-cjs/index.js +0 -42
  2203. package/node_modules/@smithy/hash-node/dist-es/index.js +0 -37
  2204. package/node_modules/@smithy/hash-node/package.json +0 -64
  2205. package/node_modules/@smithy/invalid-dependency/LICENSE +0 -201
  2206. package/node_modules/@smithy/invalid-dependency/README.md +0 -17
  2207. package/node_modules/@smithy/invalid-dependency/dist-cjs/index.js +0 -10
  2208. package/node_modules/@smithy/invalid-dependency/dist-es/index.js +0 -2
  2209. package/node_modules/@smithy/invalid-dependency/dist-types/index.d.ts +0 -8
  2210. package/node_modules/@smithy/invalid-dependency/package.json +0 -60
  2211. package/node_modules/@smithy/middleware-content-length/LICENSE +0 -201
  2212. package/node_modules/@smithy/middleware-content-length/README.md +0 -17
  2213. package/node_modules/@smithy/middleware-content-length/dist-cjs/index.js +0 -46
  2214. package/node_modules/@smithy/middleware-content-length/dist-es/index.js +0 -39
  2215. package/node_modules/@smithy/middleware-content-length/package.json +0 -63
  2216. package/node_modules/@smithy/middleware-endpoint/LICENSE +0 -201
  2217. package/node_modules/@smithy/middleware-endpoint/README.md +0 -17
  2218. package/node_modules/@smithy/middleware-endpoint/dist-cjs/adaptors/getEndpointFromConfig.browser.js +0 -5
  2219. package/node_modules/@smithy/middleware-endpoint/dist-cjs/adaptors/getEndpointFromConfig.js +0 -7
  2220. package/node_modules/@smithy/middleware-endpoint/dist-cjs/adaptors/getEndpointUrlConfig.js +0 -35
  2221. package/node_modules/@smithy/middleware-endpoint/dist-cjs/index.js +0 -264
  2222. package/node_modules/@smithy/middleware-endpoint/dist-es/adaptors/getEndpointFromConfig.js +0 -3
  2223. package/node_modules/@smithy/middleware-endpoint/dist-es/adaptors/getEndpointFromInstructions.js +0 -64
  2224. package/node_modules/@smithy/middleware-endpoint/dist-es/adaptors/getEndpointUrlConfig.js +0 -31
  2225. package/node_modules/@smithy/middleware-endpoint/dist-es/adaptors/index.js +0 -2
  2226. package/node_modules/@smithy/middleware-endpoint/dist-es/adaptors/toEndpointV1.js +0 -17
  2227. package/node_modules/@smithy/middleware-endpoint/dist-es/endpointMiddleware.js +0 -36
  2228. package/node_modules/@smithy/middleware-endpoint/dist-es/getEndpointPlugin.js +0 -18
  2229. package/node_modules/@smithy/middleware-endpoint/dist-es/index.js +0 -6
  2230. package/node_modules/@smithy/middleware-endpoint/dist-es/resolveEndpointConfig.js +0 -24
  2231. package/node_modules/@smithy/middleware-endpoint/dist-types/adaptors/getEndpointFromConfig.browser.d.ts +0 -1
  2232. package/node_modules/@smithy/middleware-endpoint/dist-types/adaptors/getEndpointFromInstructions.d.ts +0 -28
  2233. package/node_modules/@smithy/middleware-endpoint/dist-types/adaptors/getEndpointUrlConfig.d.ts +0 -2
  2234. package/node_modules/@smithy/middleware-endpoint/dist-types/adaptors/index.d.ts +0 -8
  2235. package/node_modules/@smithy/middleware-endpoint/dist-types/adaptors/toEndpointV1.d.ts +0 -6
  2236. package/node_modules/@smithy/middleware-endpoint/dist-types/endpointMiddleware.d.ts +0 -10
  2237. package/node_modules/@smithy/middleware-endpoint/dist-types/getEndpointPlugin.d.ts +0 -11
  2238. package/node_modules/@smithy/middleware-endpoint/dist-types/index.d.ts +0 -18
  2239. package/node_modules/@smithy/middleware-endpoint/dist-types/resolveEndpointConfig.d.ts +0 -109
  2240. package/node_modules/@smithy/middleware-endpoint/package.json +0 -74
  2241. package/node_modules/@smithy/middleware-retry/LICENSE +0 -201
  2242. package/node_modules/@smithy/middleware-retry/README.md +0 -24
  2243. package/node_modules/@smithy/middleware-retry/dist-cjs/index.js +0 -396
  2244. package/node_modules/@smithy/middleware-retry/dist-cjs/isStreamingPayload/isStreamingPayload.browser.js +0 -5
  2245. package/node_modules/@smithy/middleware-retry/dist-cjs/isStreamingPayload/isStreamingPayload.js +0 -7
  2246. package/node_modules/@smithy/middleware-retry/dist-es/configurations.js +0 -48
  2247. package/node_modules/@smithy/middleware-retry/dist-es/index.js +0 -8
  2248. package/node_modules/@smithy/middleware-retry/dist-es/isStreamingPayload/isStreamingPayload.js +0 -3
  2249. package/node_modules/@smithy/middleware-retry/dist-es/omitRetryHeadersMiddleware.js +0 -22
  2250. package/node_modules/@smithy/middleware-retry/dist-es/parseRetryAfterHeader.js +0 -49
  2251. package/node_modules/@smithy/middleware-retry/dist-es/retry-pre-sra-deprecated/AdaptiveRetryStrategy.js +0 -21
  2252. package/node_modules/@smithy/middleware-retry/dist-es/retry-pre-sra-deprecated/StandardRetryStrategy.js +0 -94
  2253. package/node_modules/@smithy/middleware-retry/dist-es/retry-pre-sra-deprecated/defaultRetryQuota.js +0 -27
  2254. package/node_modules/@smithy/middleware-retry/dist-es/retry-pre-sra-deprecated/delayDecider.js +0 -2
  2255. package/node_modules/@smithy/middleware-retry/dist-es/retry-pre-sra-deprecated/retryDecider.js +0 -7
  2256. package/node_modules/@smithy/middleware-retry/dist-es/retryMiddleware.js +0 -105
  2257. package/node_modules/@smithy/middleware-retry/dist-types/configurations.d.ts +0 -68
  2258. package/node_modules/@smithy/middleware-retry/dist-types/index.d.ts +0 -8
  2259. package/node_modules/@smithy/middleware-retry/dist-types/isStreamingPayload/isStreamingPayload.browser.d.ts +0 -5
  2260. package/node_modules/@smithy/middleware-retry/dist-types/isStreamingPayload/isStreamingPayload.d.ts +0 -5
  2261. package/node_modules/@smithy/middleware-retry/dist-types/retry-pre-sra-deprecated/AdaptiveRetryStrategy.d.ts +0 -24
  2262. package/node_modules/@smithy/middleware-retry/dist-types/retryMiddleware.d.ts +0 -14
  2263. package/node_modules/@smithy/middleware-retry/package.json +0 -79
  2264. package/node_modules/@smithy/middleware-serde/LICENSE +0 -201
  2265. package/node_modules/@smithy/middleware-serde/README.md +0 -17
  2266. package/node_modules/@smithy/middleware-serde/dist-cjs/index.js +0 -104
  2267. package/node_modules/@smithy/middleware-serde/dist-es/deserializerMiddleware.js +0 -58
  2268. package/node_modules/@smithy/middleware-serde/dist-es/index.js +0 -3
  2269. package/node_modules/@smithy/middleware-serde/dist-types/index.d.ts +0 -3
  2270. package/node_modules/@smithy/middleware-serde/package.json +0 -65
  2271. package/node_modules/@smithy/middleware-stack/LICENSE +0 -201
  2272. package/node_modules/@smithy/middleware-stack/README.md +0 -91
  2273. package/node_modules/@smithy/middleware-stack/dist-cjs/index.js +0 -285
  2274. package/node_modules/@smithy/middleware-stack/dist-es/index.js +0 -1
  2275. package/node_modules/@smithy/middleware-stack/dist-types/index.d.ts +0 -1
  2276. package/node_modules/@smithy/middleware-stack/package.json +0 -63
  2277. package/node_modules/@smithy/node-config-provider/LICENSE +0 -201
  2278. package/node_modules/@smithy/node-config-provider/README.md +0 -17
  2279. package/node_modules/@smithy/node-config-provider/dist-cjs/index.js +0 -62
  2280. package/node_modules/@smithy/node-config-provider/dist-es/configLoader.js +0 -9
  2281. package/node_modules/@smithy/node-config-provider/dist-es/fromEnv.js +0 -14
  2282. package/node_modules/@smithy/node-config-provider/dist-es/fromSharedConfigFiles.js +0 -23
  2283. package/node_modules/@smithy/node-config-provider/dist-es/fromStatic.js +0 -3
  2284. package/node_modules/@smithy/node-config-provider/dist-es/index.js +0 -1
  2285. package/node_modules/@smithy/node-config-provider/dist-types/configLoader.d.ts +0 -31
  2286. package/node_modules/@smithy/node-config-provider/dist-types/fromSharedConfigFiles.d.ts +0 -22
  2287. package/node_modules/@smithy/node-config-provider/dist-types/index.d.ts +0 -4
  2288. package/node_modules/@smithy/node-config-provider/package.json +0 -65
  2289. package/node_modules/@smithy/property-provider/LICENSE +0 -201
  2290. package/node_modules/@smithy/property-provider/README.md +0 -17
  2291. package/node_modules/@smithy/property-provider/dist-cjs/index.js +0 -117
  2292. package/node_modules/@smithy/property-provider/dist-es/fromStatic.js +0 -1
  2293. package/node_modules/@smithy/property-provider/dist-es/index.js +0 -6
  2294. package/node_modules/@smithy/property-provider/dist-types/CredentialsProviderError.d.ts +0 -31
  2295. package/node_modules/@smithy/property-provider/dist-types/ProviderError.d.ts +0 -39
  2296. package/node_modules/@smithy/property-provider/dist-types/TokenProviderError.d.ts +0 -31
  2297. package/node_modules/@smithy/property-provider/dist-types/chain.d.ts +0 -13
  2298. package/node_modules/@smithy/property-provider/dist-types/fromStatic.d.ts +0 -5
  2299. package/node_modules/@smithy/property-provider/dist-types/index.d.ts +0 -24
  2300. package/node_modules/@smithy/property-provider/package.json +0 -60
  2301. package/node_modules/@smithy/protocol-http/LICENSE +0 -201
  2302. package/node_modules/@smithy/protocol-http/README.md +0 -17
  2303. package/node_modules/@smithy/protocol-http/dist-cjs/index.js +0 -169
  2304. package/node_modules/@smithy/protocol-http/dist-es/extensions/index.js +0 -1
  2305. package/node_modules/@smithy/protocol-http/dist-es/index.js +0 -8
  2306. package/node_modules/@smithy/protocol-http/dist-types/Field.d.ts +0 -50
  2307. package/node_modules/@smithy/protocol-http/dist-types/extensions/httpExtensionConfiguration.d.ts +0 -33
  2308. package/node_modules/@smithy/protocol-http/dist-types/extensions/index.d.ts +0 -1
  2309. package/node_modules/@smithy/protocol-http/dist-types/httpHandler.d.ts +0 -35
  2310. package/node_modules/@smithy/protocol-http/dist-types/httpRequest.d.ts +0 -56
  2311. package/node_modules/@smithy/protocol-http/dist-types/index.d.ts +0 -8
  2312. package/node_modules/@smithy/protocol-http/package.json +0 -61
  2313. package/node_modules/@smithy/querystring-builder/LICENSE +0 -201
  2314. package/node_modules/@smithy/querystring-builder/README.md +0 -17
  2315. package/node_modules/@smithy/querystring-builder/dist-cjs/index.js +0 -26
  2316. package/node_modules/@smithy/querystring-builder/dist-es/index.js +0 -21
  2317. package/node_modules/@smithy/querystring-builder/package.json +0 -60
  2318. package/node_modules/@smithy/querystring-parser/LICENSE +0 -201
  2319. package/node_modules/@smithy/querystring-parser/README.md +0 -17
  2320. package/node_modules/@smithy/querystring-parser/dist-cjs/index.js +0 -27
  2321. package/node_modules/@smithy/querystring-parser/package.json +0 -60
  2322. package/node_modules/@smithy/service-error-classification/LICENSE +0 -201
  2323. package/node_modules/@smithy/service-error-classification/README.md +0 -17
  2324. package/node_modules/@smithy/service-error-classification/dist-cjs/index.js +0 -83
  2325. package/node_modules/@smithy/service-error-classification/package.json +0 -59
  2326. package/node_modules/@smithy/shared-ini-file-loader/LICENSE +0 -201
  2327. package/node_modules/@smithy/shared-ini-file-loader/README.md +0 -105
  2328. package/node_modules/@smithy/shared-ini-file-loader/dist-cjs/getHomeDir.js +0 -26
  2329. package/node_modules/@smithy/shared-ini-file-loader/dist-cjs/getSSOTokenFilepath.js +0 -12
  2330. package/node_modules/@smithy/shared-ini-file-loader/dist-cjs/getSSOTokenFromFile.js +0 -15
  2331. package/node_modules/@smithy/shared-ini-file-loader/dist-cjs/index.js +0 -196
  2332. package/node_modules/@smithy/shared-ini-file-loader/dist-cjs/readFile.js +0 -16
  2333. package/node_modules/@smithy/shared-ini-file-loader/dist-es/getConfigFilepath.js +0 -4
  2334. package/node_modules/@smithy/shared-ini-file-loader/dist-es/getCredentialsFilepath.js +0 -4
  2335. package/node_modules/@smithy/shared-ini-file-loader/dist-es/getHomeDir.js +0 -22
  2336. package/node_modules/@smithy/shared-ini-file-loader/dist-es/getSSOTokenFilepath.js +0 -8
  2337. package/node_modules/@smithy/shared-ini-file-loader/dist-es/getSSOTokenFromFile.js +0 -11
  2338. package/node_modules/@smithy/shared-ini-file-loader/dist-es/index.js +0 -10
  2339. package/node_modules/@smithy/shared-ini-file-loader/dist-es/loadSharedConfigFiles.js +0 -39
  2340. package/node_modules/@smithy/shared-ini-file-loader/dist-types/getConfigData.d.ts +0 -8
  2341. package/node_modules/@smithy/shared-ini-file-loader/dist-types/getSSOTokenFromFile.d.ts +0 -52
  2342. package/node_modules/@smithy/shared-ini-file-loader/dist-types/getSsoSessionData.d.ts +0 -6
  2343. package/node_modules/@smithy/shared-ini-file-loader/dist-types/index.d.ts +0 -10
  2344. package/node_modules/@smithy/shared-ini-file-loader/dist-types/parseIni.d.ts +0 -2
  2345. package/node_modules/@smithy/shared-ini-file-loader/dist-types/parseKnownFiles.d.ts +0 -18
  2346. package/node_modules/@smithy/shared-ini-file-loader/package.json +0 -72
  2347. package/node_modules/@smithy/smithy-client/LICENSE +0 -201
  2348. package/node_modules/@smithy/smithy-client/README.md +0 -17
  2349. package/node_modules/@smithy/smithy-client/dist-cjs/index.js +0 -642
  2350. package/node_modules/@smithy/smithy-client/dist-es/client.js +0 -51
  2351. package/node_modules/@smithy/smithy-client/dist-es/collect-stream-body.js +0 -1
  2352. package/node_modules/@smithy/smithy-client/dist-es/command.js +0 -131
  2353. package/node_modules/@smithy/smithy-client/dist-es/extended-encode-uri-component.js +0 -1
  2354. package/node_modules/@smithy/smithy-client/dist-es/extensions/checksum.js +0 -49
  2355. package/node_modules/@smithy/smithy-client/dist-es/extensions/defaultExtensionConfiguration.js +0 -9
  2356. package/node_modules/@smithy/smithy-client/dist-es/extensions/index.js +0 -1
  2357. package/node_modules/@smithy/smithy-client/dist-es/index.js +0 -20
  2358. package/node_modules/@smithy/smithy-client/dist-es/resolve-path.js +0 -1
  2359. package/node_modules/@smithy/smithy-client/dist-types/client.d.ts +0 -87
  2360. package/node_modules/@smithy/smithy-client/dist-types/collect-stream-body.d.ts +0 -5
  2361. package/node_modules/@smithy/smithy-client/dist-types/command.d.ts +0 -119
  2362. package/node_modules/@smithy/smithy-client/dist-types/create-aggregated-client.d.ts +0 -18
  2363. package/node_modules/@smithy/smithy-client/dist-types/default-error-handler.d.ts +0 -15
  2364. package/node_modules/@smithy/smithy-client/dist-types/emitWarningIfUnsupportedVersion.d.ts +0 -8
  2365. package/node_modules/@smithy/smithy-client/dist-types/exceptions.d.ts +0 -42
  2366. package/node_modules/@smithy/smithy-client/dist-types/extended-encode-uri-component.d.ts +0 -5
  2367. package/node_modules/@smithy/smithy-client/dist-types/extensions/checksum.d.ts +0 -26
  2368. package/node_modules/@smithy/smithy-client/dist-types/extensions/defaultExtensionConfiguration.d.ts +0 -38
  2369. package/node_modules/@smithy/smithy-client/dist-types/extensions/index.d.ts +0 -1
  2370. package/node_modules/@smithy/smithy-client/dist-types/get-array-if-single-item.d.ts +0 -7
  2371. package/node_modules/@smithy/smithy-client/dist-types/get-value-from-text-node.d.ts +0 -7
  2372. package/node_modules/@smithy/smithy-client/dist-types/index.d.ts +0 -21
  2373. package/node_modules/@smithy/smithy-client/dist-types/object-mapping.d.ts +0 -162
  2374. package/node_modules/@smithy/smithy-client/dist-types/resolve-path.d.ts +0 -5
  2375. package/node_modules/@smithy/smithy-client/dist-types/ser-utils.d.ts +0 -15
  2376. package/node_modules/@smithy/smithy-client/dist-types/serde-json.d.ts +0 -12
  2377. package/node_modules/@smithy/smithy-client/package.json +0 -69
  2378. package/node_modules/@smithy/url-parser/LICENSE +0 -201
  2379. package/node_modules/@smithy/url-parser/README.md +0 -17
  2380. package/node_modules/@smithy/url-parser/dist-cjs/index.js +0 -23
  2381. package/node_modules/@smithy/url-parser/dist-es/index.js +0 -18
  2382. package/node_modules/@smithy/url-parser/package.json +0 -61
  2383. package/node_modules/@smithy/util-base64/LICENSE +0 -201
  2384. package/node_modules/@smithy/util-base64/README.md +0 -4
  2385. package/node_modules/@smithy/util-base64/dist-cjs/constants.browser.js +0 -12
  2386. package/node_modules/@smithy/util-base64/dist-cjs/fromBase64.browser.js +0 -40
  2387. package/node_modules/@smithy/util-base64/dist-cjs/fromBase64.js +0 -16
  2388. package/node_modules/@smithy/util-base64/dist-cjs/index.js +0 -27
  2389. package/node_modules/@smithy/util-base64/dist-cjs/toBase64.browser.js +0 -38
  2390. package/node_modules/@smithy/util-base64/dist-cjs/toBase64.js +0 -19
  2391. package/node_modules/@smithy/util-base64/dist-es/fromBase64.browser.js +0 -36
  2392. package/node_modules/@smithy/util-base64/dist-es/fromBase64.js +0 -12
  2393. package/node_modules/@smithy/util-base64/dist-es/index.js +0 -2
  2394. package/node_modules/@smithy/util-base64/dist-es/toBase64.browser.js +0 -35
  2395. package/node_modules/@smithy/util-base64/dist-es/toBase64.js +0 -15
  2396. package/node_modules/@smithy/util-base64/dist-types/index.d.ts +0 -2
  2397. package/node_modules/@smithy/util-base64/dist-types/ts3.4/constants.browser.d.ts +0 -5
  2398. package/node_modules/@smithy/util-base64/dist-types/ts3.4/fromBase64.browser.d.ts +0 -8
  2399. package/node_modules/@smithy/util-base64/dist-types/ts3.4/fromBase64.d.ts +0 -7
  2400. package/node_modules/@smithy/util-base64/dist-types/ts3.4/index.d.ts +0 -2
  2401. package/node_modules/@smithy/util-base64/dist-types/ts3.4/toBase64.browser.d.ts +0 -9
  2402. package/node_modules/@smithy/util-base64/dist-types/ts3.4/toBase64.d.ts +0 -8
  2403. package/node_modules/@smithy/util-base64/package.json +0 -74
  2404. package/node_modules/@smithy/util-body-length-browser/LICENSE +0 -201
  2405. package/node_modules/@smithy/util-body-length-browser/README.md +0 -12
  2406. package/node_modules/@smithy/util-body-length-browser/dist-cjs/index.js +0 -30
  2407. package/node_modules/@smithy/util-body-length-browser/dist-es/index.js +0 -1
  2408. package/node_modules/@smithy/util-body-length-browser/dist-types/index.d.ts +0 -4
  2409. package/node_modules/@smithy/util-body-length-browser/dist-types/ts3.4/calculateBodyLength.d.ts +0 -4
  2410. package/node_modules/@smithy/util-body-length-browser/dist-types/ts3.4/index.d.ts +0 -4
  2411. package/node_modules/@smithy/util-body-length-browser/package.json +0 -61
  2412. package/node_modules/@smithy/util-body-length-node/LICENSE +0 -201
  2413. package/node_modules/@smithy/util-body-length-node/README.md +0 -12
  2414. package/node_modules/@smithy/util-body-length-node/dist-cjs/index.js +0 -32
  2415. package/node_modules/@smithy/util-body-length-node/dist-es/calculateBodyLength.js +0 -27
  2416. package/node_modules/@smithy/util-body-length-node/dist-es/index.js +0 -1
  2417. package/node_modules/@smithy/util-body-length-node/dist-types/index.d.ts +0 -4
  2418. package/node_modules/@smithy/util-body-length-node/dist-types/ts3.4/calculateBodyLength.d.ts +0 -4
  2419. package/node_modules/@smithy/util-body-length-node/dist-types/ts3.4/index.d.ts +0 -4
  2420. package/node_modules/@smithy/util-body-length-node/package.json +0 -62
  2421. package/node_modules/@smithy/util-config-provider/LICENSE +0 -201
  2422. package/node_modules/@smithy/util-config-provider/README.md +0 -4
  2423. package/node_modules/@smithy/util-config-provider/dist-cjs/index.js +0 -30
  2424. package/node_modules/@smithy/util-config-provider/dist-es/index.js +0 -3
  2425. package/node_modules/@smithy/util-config-provider/dist-types/index.d.ts +0 -3
  2426. package/node_modules/@smithy/util-config-provider/dist-types/ts3.4/booleanSelector.d.ts +0 -10
  2427. package/node_modules/@smithy/util-config-provider/dist-types/ts3.4/index.d.ts +0 -3
  2428. package/node_modules/@smithy/util-config-provider/dist-types/ts3.4/numberSelector.d.ts +0 -9
  2429. package/node_modules/@smithy/util-config-provider/dist-types/ts3.4/types.d.ts +0 -4
  2430. package/node_modules/@smithy/util-config-provider/package.json +0 -63
  2431. package/node_modules/@smithy/util-defaults-mode-browser/LICENSE +0 -201
  2432. package/node_modules/@smithy/util-defaults-mode-browser/README.md +0 -17
  2433. package/node_modules/@smithy/util-defaults-mode-browser/dist-cjs/constants.js +0 -4
  2434. package/node_modules/@smithy/util-defaults-mode-browser/dist-cjs/index.js +0 -16
  2435. package/node_modules/@smithy/util-defaults-mode-browser/dist-cjs/resolveDefaultsModeConfig.js +0 -34
  2436. package/node_modules/@smithy/util-defaults-mode-browser/dist-cjs/resolveDefaultsModeConfig.native.js +0 -23
  2437. package/node_modules/@smithy/util-defaults-mode-browser/dist-es/constants.js +0 -1
  2438. package/node_modules/@smithy/util-defaults-mode-browser/dist-es/index.js +0 -1
  2439. package/node_modules/@smithy/util-defaults-mode-browser/dist-es/resolveDefaultsModeConfig.js +0 -30
  2440. package/node_modules/@smithy/util-defaults-mode-browser/dist-es/resolveDefaultsModeConfig.native.js +0 -19
  2441. package/node_modules/@smithy/util-defaults-mode-browser/dist-types/constants.d.ts +0 -12
  2442. package/node_modules/@smithy/util-defaults-mode-browser/dist-types/index.d.ts +0 -4
  2443. package/node_modules/@smithy/util-defaults-mode-browser/dist-types/resolveDefaultsModeConfig.d.ts +0 -17
  2444. package/node_modules/@smithy/util-defaults-mode-browser/dist-types/resolveDefaultsModeConfig.native.d.ts +0 -16
  2445. package/node_modules/@smithy/util-defaults-mode-browser/package.json +0 -65
  2446. package/node_modules/@smithy/util-defaults-mode-node/LICENSE +0 -201
  2447. package/node_modules/@smithy/util-defaults-mode-node/README.md +0 -17
  2448. package/node_modules/@smithy/util-defaults-mode-node/dist-cjs/index.js +0 -74
  2449. package/node_modules/@smithy/util-defaults-mode-node/dist-es/index.js +0 -1
  2450. package/node_modules/@smithy/util-defaults-mode-node/dist-es/resolveDefaultsModeConfig.js +0 -52
  2451. package/node_modules/@smithy/util-defaults-mode-node/dist-types/defaultsModeConfig.d.ts +0 -6
  2452. package/node_modules/@smithy/util-defaults-mode-node/dist-types/index.d.ts +0 -4
  2453. package/node_modules/@smithy/util-defaults-mode-node/dist-types/resolveDefaultsModeConfig.d.ts +0 -17
  2454. package/node_modules/@smithy/util-defaults-mode-node/package.json +0 -66
  2455. package/node_modules/@smithy/util-endpoints/LICENSE +0 -201
  2456. package/node_modules/@smithy/util-endpoints/README.md +0 -17
  2457. package/node_modules/@smithy/util-endpoints/dist-cjs/index.js +0 -573
  2458. package/node_modules/@smithy/util-endpoints/dist-es/index.js +0 -8
  2459. package/node_modules/@smithy/util-endpoints/dist-es/utils/evaluateExpression.js +0 -46
  2460. package/node_modules/@smithy/util-endpoints/dist-types/cache/EndpointCache.d.ts +0 -34
  2461. package/node_modules/@smithy/util-endpoints/dist-types/decideEndpoint.d.ts +0 -7
  2462. package/node_modules/@smithy/util-endpoints/dist-types/getEndpointUrlConfig.d.ts +0 -2
  2463. package/node_modules/@smithy/util-endpoints/dist-types/index.d.ts +0 -8
  2464. package/node_modules/@smithy/util-endpoints/dist-types/lib/parseURL.d.ts +0 -5
  2465. package/node_modules/@smithy/util-endpoints/dist-types/resolveEndpoint.d.ts +0 -6
  2466. package/node_modules/@smithy/util-endpoints/dist-types/utils/evaluateCondition.d.ts +0 -11
  2467. package/node_modules/@smithy/util-endpoints/dist-types/utils/evaluateErrorRule.d.ts +0 -2
  2468. package/node_modules/@smithy/util-endpoints/dist-types/utils/evaluateExpression.d.ts +0 -7
  2469. package/node_modules/@smithy/util-endpoints/dist-types/utils/evaluateRules.d.ts +0 -8
  2470. package/node_modules/@smithy/util-endpoints/dist-types/utils/getEndpointHeaders.d.ts +0 -2
  2471. package/node_modules/@smithy/util-endpoints/dist-types/utils/getEndpointProperties.d.ts +0 -8
  2472. package/node_modules/@smithy/util-endpoints/dist-types/utils/getEndpointUrl.d.ts +0 -2
  2473. package/node_modules/@smithy/util-endpoints/package.json +0 -68
  2474. package/node_modules/@smithy/util-hex-encoding/LICENSE +0 -201
  2475. package/node_modules/@smithy/util-hex-encoding/README.md +0 -4
  2476. package/node_modules/@smithy/util-hex-encoding/dist-cjs/index.js +0 -38
  2477. package/node_modules/@smithy/util-hex-encoding/dist-types/ts3.4/index.d.ts +0 -12
  2478. package/node_modules/@smithy/util-hex-encoding/package.json +0 -61
  2479. package/node_modules/@smithy/util-middleware/LICENSE +0 -201
  2480. package/node_modules/@smithy/util-middleware/README.md +0 -17
  2481. package/node_modules/@smithy/util-middleware/dist-cjs/index.js +0 -15
  2482. package/node_modules/@smithy/util-middleware/dist-es/index.js +0 -2
  2483. package/node_modules/@smithy/util-middleware/dist-types/getSmithyContext.d.ts +0 -5
  2484. package/node_modules/@smithy/util-middleware/dist-types/index.d.ts +0 -8
  2485. package/node_modules/@smithy/util-middleware/package.json +0 -66
  2486. package/node_modules/@smithy/util-retry/LICENSE +0 -201
  2487. package/node_modules/@smithy/util-retry/README.md +0 -78
  2488. package/node_modules/@smithy/util-retry/dist-cjs/index.js +0 -347
  2489. package/node_modules/@smithy/util-retry/dist-es/AdaptiveRetryStrategy.js +0 -36
  2490. package/node_modules/@smithy/util-retry/dist-es/ConfiguredRetryStrategy.js +0 -19
  2491. package/node_modules/@smithy/util-retry/dist-es/DefaultRateLimiter.js +0 -111
  2492. package/node_modules/@smithy/util-retry/dist-es/StandardRetryStrategy.js +0 -93
  2493. package/node_modules/@smithy/util-retry/dist-es/index.js +0 -8
  2494. package/node_modules/@smithy/util-retry/dist-types/AdaptiveRetryStrategy.d.ts +0 -38
  2495. package/node_modules/@smithy/util-retry/dist-types/constants.d.ts +0 -60
  2496. package/node_modules/@smithy/util-retry/dist-types/index.d.ts +0 -8
  2497. package/node_modules/@smithy/util-retry/dist-types/retries-2026-config.d.ts +0 -11
  2498. package/node_modules/@smithy/util-retry/package.json +0 -70
  2499. package/node_modules/@smithy/util-stream/LICENSE +0 -201
  2500. package/node_modules/@smithy/util-stream/README.md +0 -6
  2501. package/node_modules/@smithy/util-stream/dist-cjs/ByteArrayCollector.js +0 -36
  2502. package/node_modules/@smithy/util-stream/dist-cjs/checksum/ChecksumStream.browser.js +0 -7
  2503. package/node_modules/@smithy/util-stream/dist-cjs/checksum/ChecksumStream.js +0 -64
  2504. package/node_modules/@smithy/util-stream/dist-cjs/checksum/createChecksumStream.browser.js +0 -39
  2505. package/node_modules/@smithy/util-stream/dist-cjs/checksum/createChecksumStream.js +0 -12
  2506. package/node_modules/@smithy/util-stream/dist-cjs/createBufferedReadable.js +0 -60
  2507. package/node_modules/@smithy/util-stream/dist-cjs/createBufferedReadableStream.js +0 -103
  2508. package/node_modules/@smithy/util-stream/dist-cjs/getAwsChunkedEncodingStream.browser.js +0 -31
  2509. package/node_modules/@smithy/util-stream/dist-cjs/getAwsChunkedEncodingStream.js +0 -41
  2510. package/node_modules/@smithy/util-stream/dist-cjs/headStream.browser.js +0 -34
  2511. package/node_modules/@smithy/util-stream/dist-cjs/headStream.js +0 -42
  2512. package/node_modules/@smithy/util-stream/dist-cjs/index.js +0 -108
  2513. package/node_modules/@smithy/util-stream/dist-cjs/sdk-stream-mixin.browser.js +0 -68
  2514. package/node_modules/@smithy/util-stream/dist-cjs/sdk-stream-mixin.js +0 -54
  2515. package/node_modules/@smithy/util-stream/dist-cjs/splitStream.browser.js +0 -10
  2516. package/node_modules/@smithy/util-stream/dist-cjs/splitStream.js +0 -16
  2517. package/node_modules/@smithy/util-stream/dist-cjs/stream-type-check.js +0 -10
  2518. package/node_modules/@smithy/util-stream/dist-es/blob/Uint8ArrayBlobAdapter.js +0 -23
  2519. package/node_modules/@smithy/util-stream/dist-es/checksum/ChecksumStream.js +0 -60
  2520. package/node_modules/@smithy/util-stream/dist-es/checksum/createChecksumStream.browser.js +0 -35
  2521. package/node_modules/@smithy/util-stream/dist-es/checksum/createChecksumStream.js +0 -9
  2522. package/node_modules/@smithy/util-stream/dist-es/createBufferedReadable.js +0 -57
  2523. package/node_modules/@smithy/util-stream/dist-es/headStream.js +0 -38
  2524. package/node_modules/@smithy/util-stream/dist-es/index.js +0 -9
  2525. package/node_modules/@smithy/util-stream/dist-es/sdk-stream-mixin.browser.js +0 -64
  2526. package/node_modules/@smithy/util-stream/dist-es/sdk-stream-mixin.js +0 -50
  2527. package/node_modules/@smithy/util-stream/dist-es/splitStream.js +0 -13
  2528. package/node_modules/@smithy/util-stream/dist-types/blob/Uint8ArrayBlobAdapter.d.ts +0 -22
  2529. package/node_modules/@smithy/util-stream/dist-types/checksum/ChecksumStream.d.ts +0 -61
  2530. package/node_modules/@smithy/util-stream/dist-types/checksum/createChecksumStream.browser.d.ts +0 -14
  2531. package/node_modules/@smithy/util-stream/dist-types/checksum/createChecksumStream.d.ts +0 -13
  2532. package/node_modules/@smithy/util-stream/dist-types/createBufferedReadable.d.ts +0 -15
  2533. package/node_modules/@smithy/util-stream/dist-types/createBufferedReadableStream.d.ts +0 -50
  2534. package/node_modules/@smithy/util-stream/dist-types/getAwsChunkedEncodingStream.d.ts +0 -10
  2535. package/node_modules/@smithy/util-stream/dist-types/headStream.d.ts +0 -9
  2536. package/node_modules/@smithy/util-stream/dist-types/index.d.ts +0 -12
  2537. package/node_modules/@smithy/util-stream/dist-types/sdk-stream-mixin.d.ts +0 -8
  2538. package/node_modules/@smithy/util-stream/dist-types/splitStream.d.ts +0 -11
  2539. package/node_modules/@smithy/util-stream/package.json +0 -98
  2540. package/node_modules/@smithy/util-uri-escape/LICENSE +0 -201
  2541. package/node_modules/@smithy/util-uri-escape/README.md +0 -10
  2542. package/node_modules/@smithy/util-uri-escape/dist-cjs/index.js +0 -9
  2543. package/node_modules/@smithy/util-uri-escape/dist-es/index.js +0 -2
  2544. package/node_modules/@smithy/util-uri-escape/dist-types/index.d.ts +0 -8
  2545. package/node_modules/@smithy/util-uri-escape/dist-types/ts3.4/escape-uri-path.d.ts +0 -4
  2546. package/node_modules/@smithy/util-uri-escape/dist-types/ts3.4/escape-uri.d.ts +0 -4
  2547. package/node_modules/@smithy/util-uri-escape/dist-types/ts3.4/index.d.ts +0 -8
  2548. package/node_modules/@smithy/util-uri-escape/package.json +0 -60
  2549. package/node_modules/@smithy/uuid/LICENSE +0 -201
  2550. package/node_modules/@smithy/uuid/README.md +0 -10
  2551. package/node_modules/@smithy/uuid/dist-cjs/index.js +0 -36
  2552. package/node_modules/@smithy/uuid/dist-cjs/randomUUID.js +0 -6
  2553. package/node_modules/@smithy/uuid/dist-cjs/randomUUID.native.js +0 -4
  2554. package/node_modules/@smithy/uuid/dist-es/index.js +0 -1
  2555. package/node_modules/@smithy/uuid/dist-es/randomUUID.browser.js +0 -1
  2556. package/node_modules/@smithy/uuid/dist-es/randomUUID.js +0 -2
  2557. package/node_modules/@smithy/uuid/dist-es/randomUUID.native.js +0 -1
  2558. package/node_modules/@smithy/uuid/dist-es/v4.js +0 -31
  2559. package/node_modules/@smithy/uuid/dist-types/index.d.ts +0 -1
  2560. package/node_modules/@smithy/uuid/dist-types/randomUUID.browser.d.ts +0 -1
  2561. package/node_modules/@smithy/uuid/dist-types/randomUUID.d.ts +0 -2
  2562. package/node_modules/@smithy/uuid/dist-types/randomUUID.native.d.ts +0 -1
  2563. package/node_modules/@smithy/uuid/dist-types/ts3.4/index.d.ts +0 -1
  2564. package/node_modules/@smithy/uuid/dist-types/ts3.4/randomUUID.browser.d.ts +0 -1
  2565. package/node_modules/@smithy/uuid/dist-types/ts3.4/randomUUID.d.ts +0 -2
  2566. package/node_modules/@smithy/uuid/dist-types/ts3.4/randomUUID.native.d.ts +0 -1
  2567. package/node_modules/@smithy/uuid/dist-types/ts3.4/v4.d.ts +0 -19
  2568. package/node_modules/@smithy/uuid/dist-types/v4.d.ts +0 -19
  2569. package/node_modules/@smithy/uuid/package.json +0 -66
  2570. package/node_modules/cliui/CHANGELOG.md +0 -121
  2571. package/node_modules/color-convert/CHANGELOG.md +0 -54
  2572. package/node_modules/esprima/ChangeLog +0 -235
  2573. package/node_modules/koffi/CHANGELOG.md +0 -1093
  2574. package/node_modules/koffi/LICENSE.txt +0 -22
  2575. package/node_modules/koffi/README.md +0 -43
  2576. package/node_modules/koffi/build/koffi/darwin_arm64/koffi.node +0 -0
  2577. package/node_modules/koffi/build/koffi/darwin_x64/koffi.node +0 -0
  2578. package/node_modules/koffi/build/koffi/freebsd_arm64/koffi.node +0 -0
  2579. package/node_modules/koffi/build/koffi/freebsd_ia32/koffi.node +0 -0
  2580. package/node_modules/koffi/build/koffi/freebsd_x64/koffi.node +0 -0
  2581. package/node_modules/koffi/build/koffi/linux_arm64/koffi.node +0 -0
  2582. package/node_modules/koffi/build/koffi/linux_armhf/koffi.node +0 -0
  2583. package/node_modules/koffi/build/koffi/linux_ia32/koffi.node +0 -0
  2584. package/node_modules/koffi/build/koffi/linux_loong64/koffi.node +0 -0
  2585. package/node_modules/koffi/build/koffi/linux_riscv64d/koffi.node +0 -0
  2586. package/node_modules/koffi/build/koffi/linux_x64/koffi.node +0 -0
  2587. package/node_modules/koffi/build/koffi/musl_arm64/koffi.node +0 -0
  2588. package/node_modules/koffi/build/koffi/musl_x64/koffi.node +0 -0
  2589. package/node_modules/koffi/build/koffi/openbsd_ia32/koffi.node +0 -0
  2590. package/node_modules/koffi/build/koffi/openbsd_x64/koffi.node +0 -0
  2591. package/node_modules/koffi/build/koffi/win32_arm64/koffi.exp +0 -0
  2592. package/node_modules/koffi/build/koffi/win32_arm64/koffi.lib +0 -0
  2593. package/node_modules/koffi/build/koffi/win32_arm64/koffi.node +0 -0
  2594. package/node_modules/koffi/build/koffi/win32_ia32/koffi.exp +0 -0
  2595. package/node_modules/koffi/build/koffi/win32_ia32/koffi.lib +0 -0
  2596. package/node_modules/koffi/build/koffi/win32_ia32/koffi.node +0 -0
  2597. package/node_modules/koffi/build/koffi/win32_x64/koffi.exp +0 -0
  2598. package/node_modules/koffi/build/koffi/win32_x64/koffi.lib +0 -0
  2599. package/node_modules/koffi/build/koffi/win32_x64/koffi.node +0 -0
  2600. package/node_modules/koffi/doc/benchmarks.md +0 -126
  2601. package/node_modules/koffi/doc/callbacks.md +0 -210
  2602. package/node_modules/koffi/doc/contribute.md +0 -148
  2603. package/node_modules/koffi/doc/functions.md +0 -250
  2604. package/node_modules/koffi/doc/index.md +0 -61
  2605. package/node_modules/koffi/doc/input.md +0 -471
  2606. package/node_modules/koffi/doc/migration.md +0 -159
  2607. package/node_modules/koffi/doc/misc.md +0 -180
  2608. package/node_modules/koffi/doc/output.md +0 -305
  2609. package/node_modules/koffi/doc/packaging.md +0 -88
  2610. package/node_modules/koffi/doc/platforms.md +0 -36
  2611. package/node_modules/koffi/doc/pointers.md +0 -328
  2612. package/node_modules/koffi/doc/start.md +0 -118
  2613. package/node_modules/koffi/doc/unions.md +0 -186
  2614. package/node_modules/koffi/doc/variables.md +0 -102
  2615. package/node_modules/koffi/index.d.ts +0 -288
  2616. package/node_modules/koffi/index.js +0 -634
  2617. package/node_modules/koffi/indirect.js +0 -533
  2618. package/node_modules/koffi/lib/native/base/base.cc +0 -11015
  2619. package/node_modules/koffi/lib/native/base/base.hh +0 -6003
  2620. package/node_modules/koffi/lib/native/base/crc.inc +0 -2214
  2621. package/node_modules/koffi/lib/native/base/crc_gen.py +0 -72
  2622. package/node_modules/koffi/lib/native/base/mimetypes.inc +0 -1248
  2623. package/node_modules/koffi/lib/native/base/mimetypes_gen.py +0 -58
  2624. package/node_modules/koffi/lib/native/base/tower.cc +0 -821
  2625. package/node_modules/koffi/lib/native/base/tower.hh +0 -81
  2626. package/node_modules/koffi/lib/native/base/unicode.inc +0 -408
  2627. package/node_modules/koffi/lib/native/base/unicode_gen.py +0 -152
  2628. package/node_modules/koffi/package.json +0 -38
  2629. package/node_modules/koffi/src/cnoke/LICENSE.txt +0 -22
  2630. package/node_modules/koffi/src/cnoke/README.md +0 -99
  2631. package/node_modules/koffi/src/cnoke/assets/FindCNoke.cmake +0 -127
  2632. package/node_modules/koffi/src/cnoke/assets/toolchains.json +0 -126
  2633. package/node_modules/koffi/src/cnoke/assets/win_delay_hook.c +0 -36
  2634. package/node_modules/koffi/src/cnoke/cnoke.js +0 -170
  2635. package/node_modules/koffi/src/cnoke/package.json +0 -24
  2636. package/node_modules/koffi/src/cnoke/src/builder.js +0 -511
  2637. package/node_modules/koffi/src/cnoke/src/index.js +0 -10
  2638. package/node_modules/koffi/src/cnoke/src/tools.js +0 -407
  2639. package/node_modules/koffi/src/koffi/CMakeLists.txt +0 -182
  2640. package/node_modules/koffi/src/koffi/src/abi_arm32.cc +0 -1018
  2641. package/node_modules/koffi/src/koffi/src/abi_arm32_asm.S +0 -169
  2642. package/node_modules/koffi/src/koffi/src/abi_arm64.cc +0 -1295
  2643. package/node_modules/koffi/src/koffi/src/abi_arm64_asm.S +0 -195
  2644. package/node_modules/koffi/src/koffi/src/abi_arm64_asm.asm +0 -174
  2645. package/node_modules/koffi/src/koffi/src/abi_loong64.cc +0 -5
  2646. package/node_modules/koffi/src/koffi/src/abi_loong64_asm.S +0 -204
  2647. package/node_modules/koffi/src/koffi/src/abi_riscv64.cc +0 -915
  2648. package/node_modules/koffi/src/koffi/src/abi_riscv64_asm.S +0 -203
  2649. package/node_modules/koffi/src/koffi/src/abi_x64_sysv.cc +0 -939
  2650. package/node_modules/koffi/src/koffi/src/abi_x64_sysv_asm.S +0 -231
  2651. package/node_modules/koffi/src/koffi/src/abi_x64_win.cc +0 -715
  2652. package/node_modules/koffi/src/koffi/src/abi_x64_win_asm.S +0 -166
  2653. package/node_modules/koffi/src/koffi/src/abi_x64_win_asm.asm +0 -192
  2654. package/node_modules/koffi/src/koffi/src/abi_x86.cc +0 -860
  2655. package/node_modules/koffi/src/koffi/src/abi_x86_asm.S +0 -193
  2656. package/node_modules/koffi/src/koffi/src/abi_x86_asm.asm +0 -177
  2657. package/node_modules/koffi/src/koffi/src/call.cc +0 -1326
  2658. package/node_modules/koffi/src/koffi/src/call.hh +0 -179
  2659. package/node_modules/koffi/src/koffi/src/errno.inc +0 -462
  2660. package/node_modules/koffi/src/koffi/src/ffi.cc +0 -2702
  2661. package/node_modules/koffi/src/koffi/src/ffi.hh +0 -354
  2662. package/node_modules/koffi/src/koffi/src/init.js +0 -105
  2663. package/node_modules/koffi/src/koffi/src/parser.cc +0 -220
  2664. package/node_modules/koffi/src/koffi/src/parser.hh +0 -54
  2665. package/node_modules/koffi/src/koffi/src/util.cc +0 -1807
  2666. package/node_modules/koffi/src/koffi/src/util.hh +0 -221
  2667. package/node_modules/koffi/src/koffi/src/uv.cc +0 -193
  2668. package/node_modules/koffi/src/koffi/src/uv.def +0 -10
  2669. package/node_modules/koffi/src/koffi/src/uv.hh +0 -40
  2670. package/node_modules/koffi/src/koffi/src/win32.cc +0 -198
  2671. package/node_modules/koffi/src/koffi/src/win32.hh +0 -119
  2672. package/node_modules/koffi/src/koffi/tools/write_trampolines.js +0 -77
  2673. package/node_modules/koffi/vendor/node-addon-api/LICENSE.md +0 -9
  2674. package/node_modules/koffi/vendor/node-addon-api/README.md +0 -95
  2675. package/node_modules/koffi/vendor/node-addon-api/napi-inl.deprecated.h +0 -186
  2676. package/node_modules/koffi/vendor/node-addon-api/napi-inl.h +0 -7033
  2677. package/node_modules/koffi/vendor/node-addon-api/napi.h +0 -3309
  2678. package/node_modules/koffi/vendor/node-api-headers/LICENSE +0 -21
  2679. package/node_modules/koffi/vendor/node-api-headers/README.md +0 -95
  2680. package/node_modules/koffi/vendor/node-api-headers/def/js_native_api.def +0 -125
  2681. package/node_modules/koffi/vendor/node-api-headers/def/node_api.def +0 -157
  2682. package/node_modules/koffi/vendor/node-api-headers/include/js_native_api.h +0 -591
  2683. package/node_modules/koffi/vendor/node-api-headers/include/js_native_api_types.h +0 -210
  2684. package/node_modules/koffi/vendor/node-api-headers/include/node_api.h +0 -265
  2685. package/node_modules/koffi/vendor/node-api-headers/include/node_api_types.h +0 -58
  2686. package/node_modules/koffi/vendor/node-api-headers/include/uv/aix.h +0 -32
  2687. package/node_modules/koffi/vendor/node-api-headers/include/uv/bsd.h +0 -34
  2688. package/node_modules/koffi/vendor/node-api-headers/include/uv/darwin.h +0 -61
  2689. package/node_modules/koffi/vendor/node-api-headers/include/uv/errno.h +0 -483
  2690. package/node_modules/koffi/vendor/node-api-headers/include/uv/linux.h +0 -34
  2691. package/node_modules/koffi/vendor/node-api-headers/include/uv/os390.h +0 -33
  2692. package/node_modules/koffi/vendor/node-api-headers/include/uv/posix.h +0 -31
  2693. package/node_modules/koffi/vendor/node-api-headers/include/uv/sunos.h +0 -44
  2694. package/node_modules/koffi/vendor/node-api-headers/include/uv/threadpool.h +0 -37
  2695. package/node_modules/koffi/vendor/node-api-headers/include/uv/tree.h +0 -521
  2696. package/node_modules/koffi/vendor/node-api-headers/include/uv/unix.h +0 -512
  2697. package/node_modules/koffi/vendor/node-api-headers/include/uv/version.h +0 -43
  2698. package/node_modules/koffi/vendor/node-api-headers/include/uv/win.h +0 -698
  2699. package/node_modules/koffi/vendor/node-api-headers/include/uv.h +0 -1990
  2700. package/node_modules/mz/HISTORY.md +0 -66
  2701. package/node_modules/proper-lockfile/CHANGELOG.md +0 -108
  2702. package/node_modules/socks/.claude/settings.local.json +0 -26
  2703. package/node_modules/source-map/CHANGELOG.md +0 -301
  2704. package/node_modules/thenify/History.md +0 -11
  2705. package/node_modules/thenify-all/History.md +0 -11
  2706. package/node_modules/y18n/CHANGELOG.md +0 -100
  2707. package/node_modules/yargs/CHANGELOG.md +0 -88
  2708. package/node_modules/yargs-parser/CHANGELOG.md +0 -263
  2709. /package/dist/forge-payload/{.tools → tools}/banners.cjs +0 -0
  2710. /package/dist/forge-payload/{.tools → tools}/build-context-pack.cjs +0 -0
  2711. /package/dist/forge-payload/{.tools → tools}/build-init-context.cjs +0 -0
  2712. /package/dist/forge-payload/{.tools → tools}/build-overlay.cjs +0 -0
  2713. /package/dist/forge-payload/{.tools → tools}/build-persona-pack.cjs +0 -0
  2714. /package/dist/forge-payload/{.tools → tools}/generation-manifest.cjs +0 -0
  2715. /package/dist/forge-payload/{.tools → tools}/lib/forge-root.cjs +0 -0
  2716. /package/dist/forge-payload/{.tools → tools}/lib/paths.cjs +0 -0
  2717. /package/dist/forge-payload/{.tools → tools}/lib/pricing.cjs +0 -0
  2718. /package/dist/forge-payload/{.tools → tools}/lib/project-root.cjs +0 -0
  2719. /package/dist/forge-payload/{.tools → tools}/lib/result.js +0 -0
  2720. /package/dist/forge-payload/{.tools → tools}/manage-config.cjs +0 -0
  2721. /package/dist/forge-payload/{.tools → tools}/manage-versions.cjs +0 -0
  2722. /package/dist/forge-payload/{.tools → tools}/seed-store.cjs +0 -0
  2723. /package/dist/forge-payload/{.tools → tools}/store.cjs +0 -0
  2724. /package/dist/forge-payload/{.tools → tools}/substitute-placeholders.cjs +0 -0
  2725. /package/node_modules/@aws-sdk/{util-arn-parser/dist-es/index.js → core/dist-es/submodules/util/util-arn-parser/arn.js} +0 -0
  2726. /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
  2727. /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
  2728. /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
  2729. /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
  2730. /package/node_modules/{@earendil-works → @entelligentsia}/pi-agent-core/dist/index.d.ts +0 -0
  2731. /package/node_modules/{@earendil-works → @entelligentsia}/pi-agent-core/dist/index.d.ts.map +0 -0
  2732. /package/node_modules/{@earendil-works → @entelligentsia}/pi-agent-core/dist/index.js +0 -0
  2733. /package/node_modules/{@earendil-works → @entelligentsia}/pi-agent-core/dist/index.js.map +0 -0
  2734. /package/node_modules/{@earendil-works → @entelligentsia}/pi-agent-core/dist/types.js +0 -0
  2735. /package/node_modules/{@earendil-works → @entelligentsia}/pi-ai/dist/api-registry.d.ts +0 -0
  2736. /package/node_modules/{@earendil-works → @entelligentsia}/pi-ai/dist/api-registry.d.ts.map +0 -0
  2737. /package/node_modules/{@earendil-works → @entelligentsia}/pi-ai/dist/api-registry.js +0 -0
  2738. /package/node_modules/{@earendil-works → @entelligentsia}/pi-ai/dist/api-registry.js.map +0 -0
  2739. /package/node_modules/{@earendil-works → @entelligentsia}/pi-ai/dist/bedrock-provider.d.ts +0 -0
  2740. /package/node_modules/{@earendil-works → @entelligentsia}/pi-ai/dist/bedrock-provider.d.ts.map +0 -0
  2741. /package/node_modules/{@earendil-works → @entelligentsia}/pi-ai/dist/bedrock-provider.js +0 -0
  2742. /package/node_modules/{@earendil-works → @entelligentsia}/pi-ai/dist/bedrock-provider.js.map +0 -0
  2743. /package/node_modules/{@earendil-works → @entelligentsia}/pi-ai/dist/cli.d.ts +0 -0
  2744. /package/node_modules/{@earendil-works → @entelligentsia}/pi-ai/dist/env-api-keys.d.ts +0 -0
  2745. /package/node_modules/{@earendil-works → @entelligentsia}/pi-ai/dist/env-api-keys.d.ts.map +0 -0
  2746. /package/node_modules/{@earendil-works → @entelligentsia}/pi-ai/dist/env-api-keys.js +0 -0
  2747. /package/node_modules/{@earendil-works → @entelligentsia}/pi-ai/dist/env-api-keys.js.map +0 -0
  2748. /package/node_modules/{@earendil-works → @entelligentsia}/pi-ai/dist/index.d.ts +0 -0
  2749. /package/node_modules/{@earendil-works → @entelligentsia}/pi-ai/dist/index.d.ts.map +0 -0
  2750. /package/node_modules/{@earendil-works → @entelligentsia}/pi-ai/dist/index.js +0 -0
  2751. /package/node_modules/{@earendil-works → @entelligentsia}/pi-ai/dist/index.js.map +0 -0
  2752. /package/node_modules/{@earendil-works → @entelligentsia}/pi-ai/dist/models.d.ts +0 -0
  2753. /package/node_modules/{@earendil-works → @entelligentsia}/pi-ai/dist/models.d.ts.map +0 -0
  2754. /package/node_modules/{@earendil-works → @entelligentsia}/pi-ai/dist/models.js +0 -0
  2755. /package/node_modules/{@earendil-works → @entelligentsia}/pi-ai/dist/models.js.map +0 -0
  2756. /package/node_modules/{@earendil-works → @entelligentsia}/pi-ai/dist/oauth.d.ts +0 -0
  2757. /package/node_modules/{@earendil-works → @entelligentsia}/pi-ai/dist/oauth.d.ts.map +0 -0
  2758. /package/node_modules/{@earendil-works → @entelligentsia}/pi-ai/dist/oauth.js +0 -0
  2759. /package/node_modules/{@earendil-works → @entelligentsia}/pi-ai/dist/oauth.js.map +0 -0
  2760. /package/node_modules/{@earendil-works → @entelligentsia}/pi-ai/dist/providers/amazon-bedrock.d.ts +0 -0
  2761. /package/node_modules/{@earendil-works → @entelligentsia}/pi-ai/dist/providers/amazon-bedrock.d.ts.map +0 -0
  2762. /package/node_modules/{@earendil-works → @entelligentsia}/pi-ai/dist/providers/amazon-bedrock.js +0 -0
  2763. /package/node_modules/{@earendil-works → @entelligentsia}/pi-ai/dist/providers/amazon-bedrock.js.map +0 -0
  2764. /package/node_modules/{@earendil-works → @entelligentsia}/pi-ai/dist/providers/anthropic.d.ts +0 -0
  2765. /package/node_modules/{@earendil-works → @entelligentsia}/pi-ai/dist/providers/anthropic.d.ts.map +0 -0
  2766. /package/node_modules/{@earendil-works → @entelligentsia}/pi-ai/dist/providers/anthropic.js +0 -0
  2767. /package/node_modules/{@earendil-works → @entelligentsia}/pi-ai/dist/providers/anthropic.js.map +0 -0
  2768. /package/node_modules/{@earendil-works → @entelligentsia}/pi-ai/dist/providers/azure-openai-responses.d.ts +0 -0
  2769. /package/node_modules/{@earendil-works → @entelligentsia}/pi-ai/dist/providers/azure-openai-responses.d.ts.map +0 -0
  2770. /package/node_modules/{@earendil-works → @entelligentsia}/pi-ai/dist/providers/azure-openai-responses.js +0 -0
  2771. /package/node_modules/{@earendil-works → @entelligentsia}/pi-ai/dist/providers/azure-openai-responses.js.map +0 -0
  2772. /package/node_modules/{@earendil-works → @entelligentsia}/pi-ai/dist/providers/cloudflare.d.ts +0 -0
  2773. /package/node_modules/{@earendil-works → @entelligentsia}/pi-ai/dist/providers/cloudflare.d.ts.map +0 -0
  2774. /package/node_modules/{@earendil-works → @entelligentsia}/pi-ai/dist/providers/cloudflare.js +0 -0
  2775. /package/node_modules/{@earendil-works → @entelligentsia}/pi-ai/dist/providers/cloudflare.js.map +0 -0
  2776. /package/node_modules/{@earendil-works → @entelligentsia}/pi-ai/dist/providers/faux.d.ts +0 -0
  2777. /package/node_modules/{@earendil-works → @entelligentsia}/pi-ai/dist/providers/faux.d.ts.map +0 -0
  2778. /package/node_modules/{@earendil-works → @entelligentsia}/pi-ai/dist/providers/faux.js +0 -0
  2779. /package/node_modules/{@earendil-works → @entelligentsia}/pi-ai/dist/providers/faux.js.map +0 -0
  2780. /package/node_modules/{@earendil-works → @entelligentsia}/pi-ai/dist/providers/github-copilot-headers.d.ts +0 -0
  2781. /package/node_modules/{@earendil-works → @entelligentsia}/pi-ai/dist/providers/github-copilot-headers.d.ts.map +0 -0
  2782. /package/node_modules/{@earendil-works → @entelligentsia}/pi-ai/dist/providers/github-copilot-headers.js +0 -0
  2783. /package/node_modules/{@earendil-works → @entelligentsia}/pi-ai/dist/providers/github-copilot-headers.js.map +0 -0
  2784. /package/node_modules/{@earendil-works → @entelligentsia}/pi-ai/dist/providers/google-shared.d.ts +0 -0
  2785. /package/node_modules/{@earendil-works → @entelligentsia}/pi-ai/dist/providers/google-shared.d.ts.map +0 -0
  2786. /package/node_modules/{@earendil-works → @entelligentsia}/pi-ai/dist/providers/google-shared.js +0 -0
  2787. /package/node_modules/{@earendil-works → @entelligentsia}/pi-ai/dist/providers/google-shared.js.map +0 -0
  2788. /package/node_modules/{@earendil-works → @entelligentsia}/pi-ai/dist/providers/google-vertex.d.ts +0 -0
  2789. /package/node_modules/{@earendil-works → @entelligentsia}/pi-ai/dist/providers/google-vertex.d.ts.map +0 -0
  2790. /package/node_modules/{@earendil-works → @entelligentsia}/pi-ai/dist/providers/google-vertex.js +0 -0
  2791. /package/node_modules/{@earendil-works → @entelligentsia}/pi-ai/dist/providers/google-vertex.js.map +0 -0
  2792. /package/node_modules/{@earendil-works → @entelligentsia}/pi-ai/dist/providers/google.d.ts +0 -0
  2793. /package/node_modules/{@earendil-works → @entelligentsia}/pi-ai/dist/providers/google.d.ts.map +0 -0
  2794. /package/node_modules/{@earendil-works → @entelligentsia}/pi-ai/dist/providers/google.js +0 -0
  2795. /package/node_modules/{@earendil-works → @entelligentsia}/pi-ai/dist/providers/google.js.map +0 -0
  2796. /package/node_modules/{@earendil-works → @entelligentsia}/pi-ai/dist/providers/mistral.d.ts +0 -0
  2797. /package/node_modules/{@earendil-works → @entelligentsia}/pi-ai/dist/providers/mistral.d.ts.map +0 -0
  2798. /package/node_modules/{@earendil-works → @entelligentsia}/pi-ai/dist/providers/mistral.js +0 -0
  2799. /package/node_modules/{@earendil-works → @entelligentsia}/pi-ai/dist/providers/mistral.js.map +0 -0
  2800. /package/node_modules/{@earendil-works → @entelligentsia}/pi-ai/dist/providers/openai-codex-responses.d.ts +0 -0
  2801. /package/node_modules/{@earendil-works → @entelligentsia}/pi-ai/dist/providers/openai-codex-responses.d.ts.map +0 -0
  2802. /package/node_modules/{@earendil-works → @entelligentsia}/pi-ai/dist/providers/openai-codex-responses.js +0 -0
  2803. /package/node_modules/{@earendil-works → @entelligentsia}/pi-ai/dist/providers/openai-codex-responses.js.map +0 -0
  2804. /package/node_modules/{@earendil-works → @entelligentsia}/pi-ai/dist/providers/openai-completions.d.ts +0 -0
  2805. /package/node_modules/{@earendil-works → @entelligentsia}/pi-ai/dist/providers/openai-completions.d.ts.map +0 -0
  2806. /package/node_modules/{@earendil-works → @entelligentsia}/pi-ai/dist/providers/openai-completions.js +0 -0
  2807. /package/node_modules/{@earendil-works → @entelligentsia}/pi-ai/dist/providers/openai-completions.js.map +0 -0
  2808. /package/node_modules/{@earendil-works → @entelligentsia}/pi-ai/dist/providers/openai-responses-shared.d.ts +0 -0
  2809. /package/node_modules/{@earendil-works → @entelligentsia}/pi-ai/dist/providers/openai-responses-shared.d.ts.map +0 -0
  2810. /package/node_modules/{@earendil-works → @entelligentsia}/pi-ai/dist/providers/openai-responses-shared.js +0 -0
  2811. /package/node_modules/{@earendil-works → @entelligentsia}/pi-ai/dist/providers/openai-responses-shared.js.map +0 -0
  2812. /package/node_modules/{@earendil-works → @entelligentsia}/pi-ai/dist/providers/openai-responses.d.ts +0 -0
  2813. /package/node_modules/{@earendil-works → @entelligentsia}/pi-ai/dist/providers/openai-responses.d.ts.map +0 -0
  2814. /package/node_modules/{@earendil-works → @entelligentsia}/pi-ai/dist/providers/openai-responses.js +0 -0
  2815. /package/node_modules/{@earendil-works → @entelligentsia}/pi-ai/dist/providers/openai-responses.js.map +0 -0
  2816. /package/node_modules/{@earendil-works → @entelligentsia}/pi-ai/dist/providers/register-builtins.d.ts +0 -0
  2817. /package/node_modules/{@earendil-works → @entelligentsia}/pi-ai/dist/providers/register-builtins.d.ts.map +0 -0
  2818. /package/node_modules/{@earendil-works → @entelligentsia}/pi-ai/dist/providers/register-builtins.js +0 -0
  2819. /package/node_modules/{@earendil-works → @entelligentsia}/pi-ai/dist/providers/register-builtins.js.map +0 -0
  2820. /package/node_modules/{@earendil-works → @entelligentsia}/pi-ai/dist/providers/simple-options.d.ts +0 -0
  2821. /package/node_modules/{@earendil-works → @entelligentsia}/pi-ai/dist/providers/simple-options.d.ts.map +0 -0
  2822. /package/node_modules/{@earendil-works → @entelligentsia}/pi-ai/dist/providers/simple-options.js +0 -0
  2823. /package/node_modules/{@earendil-works → @entelligentsia}/pi-ai/dist/providers/simple-options.js.map +0 -0
  2824. /package/node_modules/{@earendil-works → @entelligentsia}/pi-ai/dist/providers/transform-messages.d.ts +0 -0
  2825. /package/node_modules/{@earendil-works → @entelligentsia}/pi-ai/dist/providers/transform-messages.d.ts.map +0 -0
  2826. /package/node_modules/{@earendil-works → @entelligentsia}/pi-ai/dist/providers/transform-messages.js +0 -0
  2827. /package/node_modules/{@earendil-works → @entelligentsia}/pi-ai/dist/providers/transform-messages.js.map +0 -0
  2828. /package/node_modules/{@earendil-works → @entelligentsia}/pi-ai/dist/session-resources.d.ts +0 -0
  2829. /package/node_modules/{@earendil-works → @entelligentsia}/pi-ai/dist/session-resources.d.ts.map +0 -0
  2830. /package/node_modules/{@earendil-works → @entelligentsia}/pi-ai/dist/session-resources.js +0 -0
  2831. /package/node_modules/{@earendil-works → @entelligentsia}/pi-ai/dist/session-resources.js.map +0 -0
  2832. /package/node_modules/{@earendil-works → @entelligentsia}/pi-ai/dist/stream.d.ts +0 -0
  2833. /package/node_modules/{@earendil-works → @entelligentsia}/pi-ai/dist/stream.d.ts.map +0 -0
  2834. /package/node_modules/{@earendil-works → @entelligentsia}/pi-ai/dist/stream.js +0 -0
  2835. /package/node_modules/{@earendil-works → @entelligentsia}/pi-ai/dist/stream.js.map +0 -0
  2836. /package/node_modules/{@earendil-works → @entelligentsia}/pi-ai/dist/types.d.ts +0 -0
  2837. /package/node_modules/{@earendil-works → @entelligentsia}/pi-ai/dist/types.d.ts.map +0 -0
  2838. /package/node_modules/{@earendil-works → @entelligentsia}/pi-ai/dist/types.js +0 -0
  2839. /package/node_modules/{@earendil-works → @entelligentsia}/pi-ai/dist/types.js.map +0 -0
  2840. /package/node_modules/{@earendil-works → @entelligentsia}/pi-ai/dist/utils/diagnostics.d.ts +0 -0
  2841. /package/node_modules/{@earendil-works → @entelligentsia}/pi-ai/dist/utils/diagnostics.d.ts.map +0 -0
  2842. /package/node_modules/{@earendil-works → @entelligentsia}/pi-ai/dist/utils/diagnostics.js +0 -0
  2843. /package/node_modules/{@earendil-works → @entelligentsia}/pi-ai/dist/utils/diagnostics.js.map +0 -0
  2844. /package/node_modules/{@earendil-works → @entelligentsia}/pi-ai/dist/utils/event-stream.d.ts +0 -0
  2845. /package/node_modules/{@earendil-works → @entelligentsia}/pi-ai/dist/utils/event-stream.d.ts.map +0 -0
  2846. /package/node_modules/{@earendil-works → @entelligentsia}/pi-ai/dist/utils/event-stream.js +0 -0
  2847. /package/node_modules/{@earendil-works → @entelligentsia}/pi-ai/dist/utils/event-stream.js.map +0 -0
  2848. /package/node_modules/{@earendil-works → @entelligentsia}/pi-ai/dist/utils/hash.d.ts +0 -0
  2849. /package/node_modules/{@earendil-works → @entelligentsia}/pi-ai/dist/utils/hash.d.ts.map +0 -0
  2850. /package/node_modules/{@earendil-works → @entelligentsia}/pi-ai/dist/utils/hash.js +0 -0
  2851. /package/node_modules/{@earendil-works → @entelligentsia}/pi-ai/dist/utils/hash.js.map +0 -0
  2852. /package/node_modules/{@earendil-works → @entelligentsia}/pi-ai/dist/utils/headers.d.ts +0 -0
  2853. /package/node_modules/{@earendil-works → @entelligentsia}/pi-ai/dist/utils/headers.d.ts.map +0 -0
  2854. /package/node_modules/{@earendil-works → @entelligentsia}/pi-ai/dist/utils/headers.js +0 -0
  2855. /package/node_modules/{@earendil-works → @entelligentsia}/pi-ai/dist/utils/headers.js.map +0 -0
  2856. /package/node_modules/{@earendil-works → @entelligentsia}/pi-ai/dist/utils/json-parse.d.ts +0 -0
  2857. /package/node_modules/{@earendil-works → @entelligentsia}/pi-ai/dist/utils/json-parse.d.ts.map +0 -0
  2858. /package/node_modules/{@earendil-works → @entelligentsia}/pi-ai/dist/utils/json-parse.js +0 -0
  2859. /package/node_modules/{@earendil-works → @entelligentsia}/pi-ai/dist/utils/json-parse.js.map +0 -0
  2860. /package/node_modules/{@earendil-works → @entelligentsia}/pi-ai/dist/utils/oauth/anthropic.d.ts +0 -0
  2861. /package/node_modules/{@earendil-works → @entelligentsia}/pi-ai/dist/utils/oauth/anthropic.d.ts.map +0 -0
  2862. /package/node_modules/{@earendil-works → @entelligentsia}/pi-ai/dist/utils/oauth/anthropic.js +0 -0
  2863. /package/node_modules/{@earendil-works → @entelligentsia}/pi-ai/dist/utils/oauth/anthropic.js.map +0 -0
  2864. /package/node_modules/{@earendil-works → @entelligentsia}/pi-ai/dist/utils/oauth/github-copilot.d.ts +0 -0
  2865. /package/node_modules/{@earendil-works → @entelligentsia}/pi-ai/dist/utils/oauth/github-copilot.d.ts.map +0 -0
  2866. /package/node_modules/{@earendil-works → @entelligentsia}/pi-ai/dist/utils/oauth/github-copilot.js +0 -0
  2867. /package/node_modules/{@earendil-works → @entelligentsia}/pi-ai/dist/utils/oauth/github-copilot.js.map +0 -0
  2868. /package/node_modules/{@earendil-works → @entelligentsia}/pi-ai/dist/utils/oauth/index.d.ts +0 -0
  2869. /package/node_modules/{@earendil-works → @entelligentsia}/pi-ai/dist/utils/oauth/index.d.ts.map +0 -0
  2870. /package/node_modules/{@earendil-works → @entelligentsia}/pi-ai/dist/utils/oauth/index.js +0 -0
  2871. /package/node_modules/{@earendil-works → @entelligentsia}/pi-ai/dist/utils/oauth/index.js.map +0 -0
  2872. /package/node_modules/{@earendil-works → @entelligentsia}/pi-ai/dist/utils/oauth/oauth-page.d.ts +0 -0
  2873. /package/node_modules/{@earendil-works → @entelligentsia}/pi-ai/dist/utils/oauth/oauth-page.d.ts.map +0 -0
  2874. /package/node_modules/{@earendil-works → @entelligentsia}/pi-ai/dist/utils/oauth/oauth-page.js +0 -0
  2875. /package/node_modules/{@earendil-works → @entelligentsia}/pi-ai/dist/utils/oauth/oauth-page.js.map +0 -0
  2876. /package/node_modules/{@earendil-works → @entelligentsia}/pi-ai/dist/utils/oauth/openai-codex.d.ts +0 -0
  2877. /package/node_modules/{@earendil-works → @entelligentsia}/pi-ai/dist/utils/oauth/openai-codex.d.ts.map +0 -0
  2878. /package/node_modules/{@earendil-works → @entelligentsia}/pi-ai/dist/utils/oauth/openai-codex.js +0 -0
  2879. /package/node_modules/{@earendil-works → @entelligentsia}/pi-ai/dist/utils/oauth/openai-codex.js.map +0 -0
  2880. /package/node_modules/{@earendil-works → @entelligentsia}/pi-ai/dist/utils/oauth/pkce.d.ts +0 -0
  2881. /package/node_modules/{@earendil-works → @entelligentsia}/pi-ai/dist/utils/oauth/pkce.d.ts.map +0 -0
  2882. /package/node_modules/{@earendil-works → @entelligentsia}/pi-ai/dist/utils/oauth/pkce.js +0 -0
  2883. /package/node_modules/{@earendil-works → @entelligentsia}/pi-ai/dist/utils/oauth/pkce.js.map +0 -0
  2884. /package/node_modules/{@earendil-works → @entelligentsia}/pi-ai/dist/utils/oauth/types.d.ts +0 -0
  2885. /package/node_modules/{@earendil-works → @entelligentsia}/pi-ai/dist/utils/oauth/types.d.ts.map +0 -0
  2886. /package/node_modules/{@earendil-works → @entelligentsia}/pi-ai/dist/utils/oauth/types.js +0 -0
  2887. /package/node_modules/{@earendil-works → @entelligentsia}/pi-ai/dist/utils/oauth/types.js.map +0 -0
  2888. /package/node_modules/{@earendil-works → @entelligentsia}/pi-ai/dist/utils/overflow.d.ts +0 -0
  2889. /package/node_modules/{@earendil-works → @entelligentsia}/pi-ai/dist/utils/overflow.d.ts.map +0 -0
  2890. /package/node_modules/{@earendil-works → @entelligentsia}/pi-ai/dist/utils/overflow.js +0 -0
  2891. /package/node_modules/{@earendil-works → @entelligentsia}/pi-ai/dist/utils/overflow.js.map +0 -0
  2892. /package/node_modules/{@earendil-works → @entelligentsia}/pi-ai/dist/utils/sanitize-unicode.d.ts +0 -0
  2893. /package/node_modules/{@earendil-works → @entelligentsia}/pi-ai/dist/utils/sanitize-unicode.d.ts.map +0 -0
  2894. /package/node_modules/{@earendil-works → @entelligentsia}/pi-ai/dist/utils/sanitize-unicode.js +0 -0
  2895. /package/node_modules/{@earendil-works → @entelligentsia}/pi-ai/dist/utils/sanitize-unicode.js.map +0 -0
  2896. /package/node_modules/{@earendil-works → @entelligentsia}/pi-ai/dist/utils/typebox-helpers.d.ts +0 -0
  2897. /package/node_modules/{@earendil-works → @entelligentsia}/pi-ai/dist/utils/typebox-helpers.d.ts.map +0 -0
  2898. /package/node_modules/{@earendil-works → @entelligentsia}/pi-ai/dist/utils/typebox-helpers.js +0 -0
  2899. /package/node_modules/{@earendil-works → @entelligentsia}/pi-ai/dist/utils/typebox-helpers.js.map +0 -0
  2900. /package/node_modules/{@earendil-works → @entelligentsia}/pi-ai/dist/utils/validation.d.ts +0 -0
  2901. /package/node_modules/{@earendil-works → @entelligentsia}/pi-ai/dist/utils/validation.d.ts.map +0 -0
  2902. /package/node_modules/{@earendil-works → @entelligentsia}/pi-ai/dist/utils/validation.js +0 -0
  2903. /package/node_modules/{@earendil-works → @entelligentsia}/pi-ai/dist/utils/validation.js.map +0 -0
  2904. /package/node_modules/{@earendil-works → @entelligentsia}/pi-coding-agent/dist/bun/cli.d.ts +0 -0
  2905. /package/node_modules/{@earendil-works → @entelligentsia}/pi-coding-agent/dist/bun/cli.d.ts.map +0 -0
  2906. /package/node_modules/{@earendil-works → @entelligentsia}/pi-coding-agent/dist/bun/cli.js +0 -0
  2907. /package/node_modules/{@earendil-works → @entelligentsia}/pi-coding-agent/dist/bun/cli.js.map +0 -0
  2908. /package/node_modules/{@earendil-works → @entelligentsia}/pi-coding-agent/dist/bun/register-bedrock.d.ts +0 -0
  2909. /package/node_modules/{@earendil-works → @entelligentsia}/pi-coding-agent/dist/bun/restore-sandbox-env.d.ts +0 -0
  2910. /package/node_modules/{@earendil-works → @entelligentsia}/pi-coding-agent/dist/bun/restore-sandbox-env.d.ts.map +0 -0
  2911. /package/node_modules/{@earendil-works → @entelligentsia}/pi-coding-agent/dist/bun/restore-sandbox-env.js +0 -0
  2912. /package/node_modules/{@earendil-works → @entelligentsia}/pi-coding-agent/dist/bun/restore-sandbox-env.js.map +0 -0
  2913. /package/node_modules/{@earendil-works → @entelligentsia}/pi-coding-agent/dist/cli/args.js +0 -0
  2914. /package/node_modules/{@earendil-works → @entelligentsia}/pi-coding-agent/dist/cli/config-selector.d.ts +0 -0
  2915. /package/node_modules/{@earendil-works → @entelligentsia}/pi-coding-agent/dist/cli/file-processor.js +0 -0
  2916. /package/node_modules/{@earendil-works → @entelligentsia}/pi-coding-agent/dist/cli/initial-message.js +0 -0
  2917. /package/node_modules/{@earendil-works → @entelligentsia}/pi-coding-agent/dist/cli/list-models.d.ts +0 -0
  2918. /package/node_modules/{@earendil-works → @entelligentsia}/pi-coding-agent/dist/cli/session-picker.d.ts +0 -0
  2919. /package/node_modules/{@earendil-works → @entelligentsia}/pi-coding-agent/dist/cli.d.ts +0 -0
  2920. /package/node_modules/{@earendil-works → @entelligentsia}/pi-coding-agent/dist/cli.d.ts.map +0 -0
  2921. /package/node_modules/{@earendil-works → @entelligentsia}/pi-coding-agent/dist/cli.js +0 -0
  2922. /package/node_modules/{@earendil-works → @entelligentsia}/pi-coding-agent/dist/cli.js.map +0 -0
  2923. /package/node_modules/{@earendil-works → @entelligentsia}/pi-coding-agent/dist/config.d.ts +0 -0
  2924. /package/node_modules/{@earendil-works → @entelligentsia}/pi-coding-agent/dist/core/agent-session-runtime.d.ts +0 -0
  2925. /package/node_modules/{@earendil-works → @entelligentsia}/pi-coding-agent/dist/core/agent-session-runtime.d.ts.map +0 -0
  2926. /package/node_modules/{@earendil-works → @entelligentsia}/pi-coding-agent/dist/core/agent-session-runtime.js +0 -0
  2927. /package/node_modules/{@earendil-works → @entelligentsia}/pi-coding-agent/dist/core/agent-session-runtime.js.map +0 -0
  2928. /package/node_modules/{@earendil-works → @entelligentsia}/pi-coding-agent/dist/core/agent-session-services.js +0 -0
  2929. /package/node_modules/{@earendil-works → @entelligentsia}/pi-coding-agent/dist/core/auth-guidance.d.ts +0 -0
  2930. /package/node_modules/{@earendil-works → @entelligentsia}/pi-coding-agent/dist/core/auth-guidance.d.ts.map +0 -0
  2931. /package/node_modules/{@earendil-works → @entelligentsia}/pi-coding-agent/dist/core/auth-guidance.js +0 -0
  2932. /package/node_modules/{@earendil-works → @entelligentsia}/pi-coding-agent/dist/core/auth-guidance.js.map +0 -0
  2933. /package/node_modules/{@earendil-works → @entelligentsia}/pi-coding-agent/dist/core/bash-executor.d.ts +0 -0
  2934. /package/node_modules/{@earendil-works → @entelligentsia}/pi-coding-agent/dist/core/bash-executor.d.ts.map +0 -0
  2935. /package/node_modules/{@earendil-works → @entelligentsia}/pi-coding-agent/dist/core/bash-executor.js +0 -0
  2936. /package/node_modules/{@earendil-works → @entelligentsia}/pi-coding-agent/dist/core/bash-executor.js.map +0 -0
  2937. /package/node_modules/{@earendil-works → @entelligentsia}/pi-coding-agent/dist/core/compaction/index.d.ts +0 -0
  2938. /package/node_modules/{@earendil-works → @entelligentsia}/pi-coding-agent/dist/core/compaction/index.d.ts.map +0 -0
  2939. /package/node_modules/{@earendil-works → @entelligentsia}/pi-coding-agent/dist/core/compaction/index.js +0 -0
  2940. /package/node_modules/{@earendil-works → @entelligentsia}/pi-coding-agent/dist/core/compaction/index.js.map +0 -0
  2941. /package/node_modules/{@earendil-works → @entelligentsia}/pi-coding-agent/dist/core/compaction/utils.js +0 -0
  2942. /package/node_modules/{@earendil-works → @entelligentsia}/pi-coding-agent/dist/core/defaults.js +0 -0
  2943. /package/node_modules/{@earendil-works → @entelligentsia}/pi-coding-agent/dist/core/diagnostics.d.ts +0 -0
  2944. /package/node_modules/{@earendil-works → @entelligentsia}/pi-coding-agent/dist/core/diagnostics.d.ts.map +0 -0
  2945. /package/node_modules/{@earendil-works → @entelligentsia}/pi-coding-agent/dist/core/diagnostics.js +0 -0
  2946. /package/node_modules/{@earendil-works → @entelligentsia}/pi-coding-agent/dist/core/diagnostics.js.map +0 -0
  2947. /package/node_modules/{@earendil-works → @entelligentsia}/pi-coding-agent/dist/core/event-bus.d.ts +0 -0
  2948. /package/node_modules/{@earendil-works → @entelligentsia}/pi-coding-agent/dist/core/event-bus.d.ts.map +0 -0
  2949. /package/node_modules/{@earendil-works → @entelligentsia}/pi-coding-agent/dist/core/event-bus.js +0 -0
  2950. /package/node_modules/{@earendil-works → @entelligentsia}/pi-coding-agent/dist/core/event-bus.js.map +0 -0
  2951. /package/node_modules/{@earendil-works → @entelligentsia}/pi-coding-agent/dist/core/exec.d.ts +0 -0
  2952. /package/node_modules/{@earendil-works → @entelligentsia}/pi-coding-agent/dist/core/exec.d.ts.map +0 -0
  2953. /package/node_modules/{@earendil-works → @entelligentsia}/pi-coding-agent/dist/core/exec.js +0 -0
  2954. /package/node_modules/{@earendil-works → @entelligentsia}/pi-coding-agent/dist/core/exec.js.map +0 -0
  2955. /package/node_modules/{@earendil-works → @entelligentsia}/pi-coding-agent/dist/core/export-html/ansi-to-html.d.ts +0 -0
  2956. /package/node_modules/{@earendil-works → @entelligentsia}/pi-coding-agent/dist/core/export-html/ansi-to-html.d.ts.map +0 -0
  2957. /package/node_modules/{@earendil-works → @entelligentsia}/pi-coding-agent/dist/core/export-html/ansi-to-html.js +0 -0
  2958. /package/node_modules/{@earendil-works → @entelligentsia}/pi-coding-agent/dist/core/export-html/ansi-to-html.js.map +0 -0
  2959. /package/node_modules/{@earendil-works → @entelligentsia}/pi-coding-agent/dist/core/export-html/index.js +0 -0
  2960. /package/node_modules/{@earendil-works → @entelligentsia}/pi-coding-agent/dist/core/export-html/template.css +0 -0
  2961. /package/node_modules/{@earendil-works → @entelligentsia}/pi-coding-agent/dist/core/export-html/template.html +0 -0
  2962. /package/node_modules/{@earendil-works → @entelligentsia}/pi-coding-agent/dist/core/export-html/template.js +0 -0
  2963. /package/node_modules/{@earendil-works → @entelligentsia}/pi-coding-agent/dist/core/export-html/tool-renderer.d.ts +0 -0
  2964. /package/node_modules/{@earendil-works → @entelligentsia}/pi-coding-agent/dist/core/export-html/tool-renderer.js +0 -0
  2965. /package/node_modules/{@earendil-works → @entelligentsia}/pi-coding-agent/dist/core/export-html/vendor/highlight.min.js +0 -0
  2966. /package/node_modules/{@earendil-works → @entelligentsia}/pi-coding-agent/dist/core/export-html/vendor/marked.min.js +0 -0
  2967. /package/node_modules/{@earendil-works → @entelligentsia}/pi-coding-agent/dist/core/extensions/index.d.ts +0 -0
  2968. /package/node_modules/{@earendil-works → @entelligentsia}/pi-coding-agent/dist/core/extensions/index.d.ts.map +0 -0
  2969. /package/node_modules/{@earendil-works → @entelligentsia}/pi-coding-agent/dist/core/extensions/index.js +0 -0
  2970. /package/node_modules/{@earendil-works → @entelligentsia}/pi-coding-agent/dist/core/extensions/index.js.map +0 -0
  2971. /package/node_modules/{@earendil-works → @entelligentsia}/pi-coding-agent/dist/core/extensions/loader.d.ts +0 -0
  2972. /package/node_modules/{@earendil-works → @entelligentsia}/pi-coding-agent/dist/core/extensions/types.js +0 -0
  2973. /package/node_modules/{@earendil-works → @entelligentsia}/pi-coding-agent/dist/core/extensions/wrapper.js +0 -0
  2974. /package/node_modules/{@earendil-works → @entelligentsia}/pi-coding-agent/dist/core/footer-data-provider.d.ts +0 -0
  2975. /package/node_modules/{@earendil-works → @entelligentsia}/pi-coding-agent/dist/core/footer-data-provider.d.ts.map +0 -0
  2976. /package/node_modules/{@earendil-works → @entelligentsia}/pi-coding-agent/dist/core/footer-data-provider.js +0 -0
  2977. /package/node_modules/{@earendil-works → @entelligentsia}/pi-coding-agent/dist/core/footer-data-provider.js.map +0 -0
  2978. /package/node_modules/{@earendil-works → @entelligentsia}/pi-coding-agent/dist/core/index.d.ts +0 -0
  2979. /package/node_modules/{@earendil-works → @entelligentsia}/pi-coding-agent/dist/core/index.d.ts.map +0 -0
  2980. /package/node_modules/{@earendil-works → @entelligentsia}/pi-coding-agent/dist/core/index.js +0 -0
  2981. /package/node_modules/{@earendil-works → @entelligentsia}/pi-coding-agent/dist/core/index.js.map +0 -0
  2982. /package/node_modules/{@earendil-works → @entelligentsia}/pi-coding-agent/dist/core/messages.js +0 -0
  2983. /package/node_modules/{@earendil-works → @entelligentsia}/pi-coding-agent/dist/core/output-guard.d.ts +0 -0
  2984. /package/node_modules/{@earendil-works → @entelligentsia}/pi-coding-agent/dist/core/output-guard.d.ts.map +0 -0
  2985. /package/node_modules/{@earendil-works → @entelligentsia}/pi-coding-agent/dist/core/output-guard.js +0 -0
  2986. /package/node_modules/{@earendil-works → @entelligentsia}/pi-coding-agent/dist/core/output-guard.js.map +0 -0
  2987. /package/node_modules/{@earendil-works → @entelligentsia}/pi-coding-agent/dist/core/package-manager.d.ts +0 -0
  2988. /package/node_modules/{@earendil-works → @entelligentsia}/pi-coding-agent/dist/core/package-manager.d.ts.map +0 -0
  2989. /package/node_modules/{@earendil-works → @entelligentsia}/pi-coding-agent/dist/core/package-manager.js +0 -0
  2990. /package/node_modules/{@earendil-works → @entelligentsia}/pi-coding-agent/dist/core/package-manager.js.map +0 -0
  2991. /package/node_modules/{@earendil-works → @entelligentsia}/pi-coding-agent/dist/core/prompt-templates.d.ts +0 -0
  2992. /package/node_modules/{@earendil-works → @entelligentsia}/pi-coding-agent/dist/core/prompt-templates.d.ts.map +0 -0
  2993. /package/node_modules/{@earendil-works → @entelligentsia}/pi-coding-agent/dist/core/prompt-templates.js +0 -0
  2994. /package/node_modules/{@earendil-works → @entelligentsia}/pi-coding-agent/dist/core/prompt-templates.js.map +0 -0
  2995. /package/node_modules/{@earendil-works → @entelligentsia}/pi-coding-agent/dist/core/provider-display-names.d.ts +0 -0
  2996. /package/node_modules/{@earendil-works → @entelligentsia}/pi-coding-agent/dist/core/provider-display-names.d.ts.map +0 -0
  2997. /package/node_modules/{@earendil-works → @entelligentsia}/pi-coding-agent/dist/core/provider-display-names.js +0 -0
  2998. /package/node_modules/{@earendil-works → @entelligentsia}/pi-coding-agent/dist/core/provider-display-names.js.map +0 -0
  2999. /package/node_modules/{@earendil-works → @entelligentsia}/pi-coding-agent/dist/core/resolve-config-value.d.ts +0 -0
  3000. /package/node_modules/{@earendil-works → @entelligentsia}/pi-coding-agent/dist/core/resolve-config-value.d.ts.map +0 -0
  3001. /package/node_modules/{@earendil-works → @entelligentsia}/pi-coding-agent/dist/core/resolve-config-value.js +0 -0
  3002. /package/node_modules/{@earendil-works → @entelligentsia}/pi-coding-agent/dist/core/resolve-config-value.js.map +0 -0
  3003. /package/node_modules/{@earendil-works → @entelligentsia}/pi-coding-agent/dist/core/resource-loader.d.ts +0 -0
  3004. /package/node_modules/{@earendil-works → @entelligentsia}/pi-coding-agent/dist/core/resource-loader.d.ts.map +0 -0
  3005. /package/node_modules/{@earendil-works → @entelligentsia}/pi-coding-agent/dist/core/resource-loader.js +0 -0
  3006. /package/node_modules/{@earendil-works → @entelligentsia}/pi-coding-agent/dist/core/resource-loader.js.map +0 -0
  3007. /package/node_modules/{@earendil-works → @entelligentsia}/pi-coding-agent/dist/core/session-cwd.d.ts +0 -0
  3008. /package/node_modules/{@earendil-works → @entelligentsia}/pi-coding-agent/dist/core/session-cwd.d.ts.map +0 -0
  3009. /package/node_modules/{@earendil-works → @entelligentsia}/pi-coding-agent/dist/core/session-cwd.js +0 -0
  3010. /package/node_modules/{@earendil-works → @entelligentsia}/pi-coding-agent/dist/core/session-cwd.js.map +0 -0
  3011. /package/node_modules/{@earendil-works → @entelligentsia}/pi-coding-agent/dist/core/session-manager.js +0 -0
  3012. /package/node_modules/{@earendil-works → @entelligentsia}/pi-coding-agent/dist/core/settings-manager.js +0 -0
  3013. /package/node_modules/{@earendil-works → @entelligentsia}/pi-coding-agent/dist/core/skills.d.ts +0 -0
  3014. /package/node_modules/{@earendil-works → @entelligentsia}/pi-coding-agent/dist/core/skills.d.ts.map +0 -0
  3015. /package/node_modules/{@earendil-works → @entelligentsia}/pi-coding-agent/dist/core/skills.js +0 -0
  3016. /package/node_modules/{@earendil-works → @entelligentsia}/pi-coding-agent/dist/core/skills.js.map +0 -0
  3017. /package/node_modules/{@earendil-works → @entelligentsia}/pi-coding-agent/dist/core/slash-commands.d.ts +0 -0
  3018. /package/node_modules/{@earendil-works → @entelligentsia}/pi-coding-agent/dist/core/slash-commands.d.ts.map +0 -0
  3019. /package/node_modules/{@earendil-works → @entelligentsia}/pi-coding-agent/dist/core/slash-commands.js +0 -0
  3020. /package/node_modules/{@earendil-works → @entelligentsia}/pi-coding-agent/dist/core/slash-commands.js.map +0 -0
  3021. /package/node_modules/{@earendil-works → @entelligentsia}/pi-coding-agent/dist/core/source-info.d.ts +0 -0
  3022. /package/node_modules/{@earendil-works → @entelligentsia}/pi-coding-agent/dist/core/source-info.d.ts.map +0 -0
  3023. /package/node_modules/{@earendil-works → @entelligentsia}/pi-coding-agent/dist/core/source-info.js +0 -0
  3024. /package/node_modules/{@earendil-works → @entelligentsia}/pi-coding-agent/dist/core/source-info.js.map +0 -0
  3025. /package/node_modules/{@earendil-works → @entelligentsia}/pi-coding-agent/dist/core/system-prompt.d.ts +0 -0
  3026. /package/node_modules/{@earendil-works → @entelligentsia}/pi-coding-agent/dist/core/system-prompt.d.ts.map +0 -0
  3027. /package/node_modules/{@earendil-works → @entelligentsia}/pi-coding-agent/dist/core/system-prompt.js +0 -0
  3028. /package/node_modules/{@earendil-works → @entelligentsia}/pi-coding-agent/dist/core/system-prompt.js.map +0 -0
  3029. /package/node_modules/{@earendil-works → @entelligentsia}/pi-coding-agent/dist/core/telemetry.d.ts +0 -0
  3030. /package/node_modules/{@earendil-works → @entelligentsia}/pi-coding-agent/dist/core/telemetry.d.ts.map +0 -0
  3031. /package/node_modules/{@earendil-works → @entelligentsia}/pi-coding-agent/dist/core/telemetry.js +0 -0
  3032. /package/node_modules/{@earendil-works → @entelligentsia}/pi-coding-agent/dist/core/telemetry.js.map +0 -0
  3033. /package/node_modules/{@earendil-works → @entelligentsia}/pi-coding-agent/dist/core/timings.d.ts +0 -0
  3034. /package/node_modules/{@earendil-works → @entelligentsia}/pi-coding-agent/dist/core/timings.d.ts.map +0 -0
  3035. /package/node_modules/{@earendil-works → @entelligentsia}/pi-coding-agent/dist/core/timings.js +0 -0
  3036. /package/node_modules/{@earendil-works → @entelligentsia}/pi-coding-agent/dist/core/timings.js.map +0 -0
  3037. /package/node_modules/{@earendil-works → @entelligentsia}/pi-coding-agent/dist/core/tools/edit-diff.d.ts +0 -0
  3038. /package/node_modules/{@earendil-works → @entelligentsia}/pi-coding-agent/dist/core/tools/edit-diff.d.ts.map +0 -0
  3039. /package/node_modules/{@earendil-works → @entelligentsia}/pi-coding-agent/dist/core/tools/edit-diff.js +0 -0
  3040. /package/node_modules/{@earendil-works → @entelligentsia}/pi-coding-agent/dist/core/tools/edit-diff.js.map +0 -0
  3041. /package/node_modules/{@earendil-works → @entelligentsia}/pi-coding-agent/dist/core/tools/file-mutation-queue.d.ts +0 -0
  3042. /package/node_modules/{@earendil-works → @entelligentsia}/pi-coding-agent/dist/core/tools/file-mutation-queue.d.ts.map +0 -0
  3043. /package/node_modules/{@earendil-works → @entelligentsia}/pi-coding-agent/dist/core/tools/file-mutation-queue.js +0 -0
  3044. /package/node_modules/{@earendil-works → @entelligentsia}/pi-coding-agent/dist/core/tools/file-mutation-queue.js.map +0 -0
  3045. /package/node_modules/{@earendil-works → @entelligentsia}/pi-coding-agent/dist/core/tools/index.js +0 -0
  3046. /package/node_modules/{@earendil-works → @entelligentsia}/pi-coding-agent/dist/core/tools/output-accumulator.d.ts +0 -0
  3047. /package/node_modules/{@earendil-works → @entelligentsia}/pi-coding-agent/dist/core/tools/output-accumulator.d.ts.map +0 -0
  3048. /package/node_modules/{@earendil-works → @entelligentsia}/pi-coding-agent/dist/core/tools/output-accumulator.js +0 -0
  3049. /package/node_modules/{@earendil-works → @entelligentsia}/pi-coding-agent/dist/core/tools/output-accumulator.js.map +0 -0
  3050. /package/node_modules/{@earendil-works → @entelligentsia}/pi-coding-agent/dist/core/tools/path-utils.d.ts +0 -0
  3051. /package/node_modules/{@earendil-works → @entelligentsia}/pi-coding-agent/dist/core/tools/path-utils.d.ts.map +0 -0
  3052. /package/node_modules/{@earendil-works → @entelligentsia}/pi-coding-agent/dist/core/tools/path-utils.js +0 -0
  3053. /package/node_modules/{@earendil-works → @entelligentsia}/pi-coding-agent/dist/core/tools/path-utils.js.map +0 -0
  3054. /package/node_modules/{@earendil-works → @entelligentsia}/pi-coding-agent/dist/core/tools/tool-definition-wrapper.js +0 -0
  3055. /package/node_modules/{@earendil-works → @entelligentsia}/pi-coding-agent/dist/core/tools/truncate.d.ts +0 -0
  3056. /package/node_modules/{@earendil-works → @entelligentsia}/pi-coding-agent/dist/core/tools/truncate.d.ts.map +0 -0
  3057. /package/node_modules/{@earendil-works → @entelligentsia}/pi-coding-agent/dist/core/tools/truncate.js +0 -0
  3058. /package/node_modules/{@earendil-works → @entelligentsia}/pi-coding-agent/dist/core/tools/truncate.js.map +0 -0
  3059. /package/node_modules/{@earendil-works → @entelligentsia}/pi-coding-agent/dist/index.d.ts +0 -0
  3060. /package/node_modules/{@earendil-works → @entelligentsia}/pi-coding-agent/dist/index.d.ts.map +0 -0
  3061. /package/node_modules/{@earendil-works → @entelligentsia}/pi-coding-agent/dist/index.js +0 -0
  3062. /package/node_modules/{@earendil-works → @entelligentsia}/pi-coding-agent/dist/index.js.map +0 -0
  3063. /package/node_modules/{@earendil-works → @entelligentsia}/pi-coding-agent/dist/main.d.ts +0 -0
  3064. /package/node_modules/{@earendil-works → @entelligentsia}/pi-coding-agent/dist/migrations.d.ts +0 -0
  3065. /package/node_modules/{@earendil-works → @entelligentsia}/pi-coding-agent/dist/migrations.d.ts.map +0 -0
  3066. /package/node_modules/{@earendil-works → @entelligentsia}/pi-coding-agent/dist/migrations.js +0 -0
  3067. /package/node_modules/{@earendil-works → @entelligentsia}/pi-coding-agent/dist/migrations.js.map +0 -0
  3068. /package/node_modules/{@earendil-works → @entelligentsia}/pi-coding-agent/dist/modes/index.d.ts +0 -0
  3069. /package/node_modules/{@earendil-works → @entelligentsia}/pi-coding-agent/dist/modes/index.d.ts.map +0 -0
  3070. /package/node_modules/{@earendil-works → @entelligentsia}/pi-coding-agent/dist/modes/index.js +0 -0
  3071. /package/node_modules/{@earendil-works → @entelligentsia}/pi-coding-agent/dist/modes/index.js.map +0 -0
  3072. /package/node_modules/{@earendil-works → @entelligentsia}/pi-coding-agent/dist/modes/interactive/assets/clankolas.png +0 -0
  3073. /package/node_modules/{@earendil-works → @entelligentsia}/pi-coding-agent/dist/modes/interactive/components/armin.js +0 -0
  3074. /package/node_modules/{@earendil-works → @entelligentsia}/pi-coding-agent/dist/modes/interactive/components/countdown-timer.js +0 -0
  3075. /package/node_modules/{@earendil-works → @entelligentsia}/pi-coding-agent/dist/modes/interactive/components/daxnuts.js +0 -0
  3076. /package/node_modules/{@earendil-works → @entelligentsia}/pi-coding-agent/dist/modes/interactive/components/diff.d.ts +0 -0
  3077. /package/node_modules/{@earendil-works → @entelligentsia}/pi-coding-agent/dist/modes/interactive/components/diff.d.ts.map +0 -0
  3078. /package/node_modules/{@earendil-works → @entelligentsia}/pi-coding-agent/dist/modes/interactive/components/diff.js +0 -0
  3079. /package/node_modules/{@earendil-works → @entelligentsia}/pi-coding-agent/dist/modes/interactive/components/diff.js.map +0 -0
  3080. /package/node_modules/{@earendil-works → @entelligentsia}/pi-coding-agent/dist/modes/interactive/components/dynamic-border.js +0 -0
  3081. /package/node_modules/{@earendil-works → @entelligentsia}/pi-coding-agent/dist/modes/interactive/components/index.d.ts +0 -0
  3082. /package/node_modules/{@earendil-works → @entelligentsia}/pi-coding-agent/dist/modes/interactive/components/index.d.ts.map +0 -0
  3083. /package/node_modules/{@earendil-works → @entelligentsia}/pi-coding-agent/dist/modes/interactive/components/index.js +0 -0
  3084. /package/node_modules/{@earendil-works → @entelligentsia}/pi-coding-agent/dist/modes/interactive/components/index.js.map +0 -0
  3085. /package/node_modules/{@earendil-works → @entelligentsia}/pi-coding-agent/dist/modes/interactive/components/session-selector-search.d.ts +0 -0
  3086. /package/node_modules/{@earendil-works → @entelligentsia}/pi-coding-agent/dist/modes/interactive/components/visual-truncate.d.ts +0 -0
  3087. /package/node_modules/{@earendil-works → @entelligentsia}/pi-coding-agent/dist/modes/interactive/theme/dark.json +0 -0
  3088. /package/node_modules/{@earendil-works → @entelligentsia}/pi-coding-agent/dist/modes/interactive/theme/light.json +0 -0
  3089. /package/node_modules/{@earendil-works → @entelligentsia}/pi-coding-agent/dist/modes/interactive/theme/theme-schema.json +0 -0
  3090. /package/node_modules/{@earendil-works → @entelligentsia}/pi-coding-agent/dist/modes/print-mode.js +0 -0
  3091. /package/node_modules/{@earendil-works → @entelligentsia}/pi-coding-agent/dist/modes/rpc/jsonl.d.ts +0 -0
  3092. /package/node_modules/{@earendil-works → @entelligentsia}/pi-coding-agent/dist/modes/rpc/jsonl.d.ts.map +0 -0
  3093. /package/node_modules/{@earendil-works → @entelligentsia}/pi-coding-agent/dist/modes/rpc/jsonl.js +0 -0
  3094. /package/node_modules/{@earendil-works → @entelligentsia}/pi-coding-agent/dist/modes/rpc/jsonl.js.map +0 -0
  3095. /package/node_modules/{@earendil-works → @entelligentsia}/pi-coding-agent/dist/modes/rpc/rpc-client.js +0 -0
  3096. /package/node_modules/{@earendil-works → @entelligentsia}/pi-coding-agent/dist/modes/rpc/rpc-mode.d.ts +0 -0
  3097. /package/node_modules/{@earendil-works → @entelligentsia}/pi-coding-agent/dist/modes/rpc/rpc-types.js +0 -0
  3098. /package/node_modules/{@earendil-works → @entelligentsia}/pi-coding-agent/dist/package-manager-cli.d.ts +0 -0
  3099. /package/node_modules/{@earendil-works → @entelligentsia}/pi-coding-agent/dist/package-manager-cli.d.ts.map +0 -0
  3100. /package/node_modules/{@earendil-works → @entelligentsia}/pi-coding-agent/dist/package-manager-cli.js +0 -0
  3101. /package/node_modules/{@earendil-works → @entelligentsia}/pi-coding-agent/dist/package-manager-cli.js.map +0 -0
  3102. /package/node_modules/{@earendil-works → @entelligentsia}/pi-coding-agent/dist/utils/changelog.d.ts +0 -0
  3103. /package/node_modules/{@earendil-works → @entelligentsia}/pi-coding-agent/dist/utils/changelog.d.ts.map +0 -0
  3104. /package/node_modules/{@earendil-works → @entelligentsia}/pi-coding-agent/dist/utils/changelog.js +0 -0
  3105. /package/node_modules/{@earendil-works → @entelligentsia}/pi-coding-agent/dist/utils/changelog.js.map +0 -0
  3106. /package/node_modules/{@earendil-works → @entelligentsia}/pi-coding-agent/dist/utils/child-process.d.ts +0 -0
  3107. /package/node_modules/{@earendil-works → @entelligentsia}/pi-coding-agent/dist/utils/child-process.d.ts.map +0 -0
  3108. /package/node_modules/{@earendil-works → @entelligentsia}/pi-coding-agent/dist/utils/child-process.js +0 -0
  3109. /package/node_modules/{@earendil-works → @entelligentsia}/pi-coding-agent/dist/utils/child-process.js.map +0 -0
  3110. /package/node_modules/{@earendil-works → @entelligentsia}/pi-coding-agent/dist/utils/clipboard-image.d.ts +0 -0
  3111. /package/node_modules/{@earendil-works → @entelligentsia}/pi-coding-agent/dist/utils/clipboard-image.d.ts.map +0 -0
  3112. /package/node_modules/{@earendil-works → @entelligentsia}/pi-coding-agent/dist/utils/clipboard-image.js +0 -0
  3113. /package/node_modules/{@earendil-works → @entelligentsia}/pi-coding-agent/dist/utils/clipboard-image.js.map +0 -0
  3114. /package/node_modules/{@earendil-works → @entelligentsia}/pi-coding-agent/dist/utils/clipboard-native.d.ts +0 -0
  3115. /package/node_modules/{@earendil-works → @entelligentsia}/pi-coding-agent/dist/utils/clipboard-native.d.ts.map +0 -0
  3116. /package/node_modules/{@earendil-works → @entelligentsia}/pi-coding-agent/dist/utils/clipboard-native.js +0 -0
  3117. /package/node_modules/{@earendil-works → @entelligentsia}/pi-coding-agent/dist/utils/clipboard-native.js.map +0 -0
  3118. /package/node_modules/{@earendil-works → @entelligentsia}/pi-coding-agent/dist/utils/clipboard.d.ts +0 -0
  3119. /package/node_modules/{@earendil-works → @entelligentsia}/pi-coding-agent/dist/utils/clipboard.d.ts.map +0 -0
  3120. /package/node_modules/{@earendil-works → @entelligentsia}/pi-coding-agent/dist/utils/clipboard.js +0 -0
  3121. /package/node_modules/{@earendil-works → @entelligentsia}/pi-coding-agent/dist/utils/clipboard.js.map +0 -0
  3122. /package/node_modules/{@earendil-works → @entelligentsia}/pi-coding-agent/dist/utils/exif-orientation.d.ts +0 -0
  3123. /package/node_modules/{@earendil-works → @entelligentsia}/pi-coding-agent/dist/utils/exif-orientation.d.ts.map +0 -0
  3124. /package/node_modules/{@earendil-works → @entelligentsia}/pi-coding-agent/dist/utils/exif-orientation.js +0 -0
  3125. /package/node_modules/{@earendil-works → @entelligentsia}/pi-coding-agent/dist/utils/exif-orientation.js.map +0 -0
  3126. /package/node_modules/{@earendil-works → @entelligentsia}/pi-coding-agent/dist/utils/frontmatter.d.ts +0 -0
  3127. /package/node_modules/{@earendil-works → @entelligentsia}/pi-coding-agent/dist/utils/frontmatter.d.ts.map +0 -0
  3128. /package/node_modules/{@earendil-works → @entelligentsia}/pi-coding-agent/dist/utils/frontmatter.js +0 -0
  3129. /package/node_modules/{@earendil-works → @entelligentsia}/pi-coding-agent/dist/utils/frontmatter.js.map +0 -0
  3130. /package/node_modules/{@earendil-works → @entelligentsia}/pi-coding-agent/dist/utils/fs-watch.d.ts +0 -0
  3131. /package/node_modules/{@earendil-works → @entelligentsia}/pi-coding-agent/dist/utils/fs-watch.d.ts.map +0 -0
  3132. /package/node_modules/{@earendil-works → @entelligentsia}/pi-coding-agent/dist/utils/fs-watch.js +0 -0
  3133. /package/node_modules/{@earendil-works → @entelligentsia}/pi-coding-agent/dist/utils/fs-watch.js.map +0 -0
  3134. /package/node_modules/{@earendil-works → @entelligentsia}/pi-coding-agent/dist/utils/git.d.ts +0 -0
  3135. /package/node_modules/{@earendil-works → @entelligentsia}/pi-coding-agent/dist/utils/git.d.ts.map +0 -0
  3136. /package/node_modules/{@earendil-works → @entelligentsia}/pi-coding-agent/dist/utils/git.js +0 -0
  3137. /package/node_modules/{@earendil-works → @entelligentsia}/pi-coding-agent/dist/utils/git.js.map +0 -0
  3138. /package/node_modules/{@earendil-works → @entelligentsia}/pi-coding-agent/dist/utils/image-convert.d.ts +0 -0
  3139. /package/node_modules/{@earendil-works → @entelligentsia}/pi-coding-agent/dist/utils/image-convert.d.ts.map +0 -0
  3140. /package/node_modules/{@earendil-works → @entelligentsia}/pi-coding-agent/dist/utils/image-convert.js +0 -0
  3141. /package/node_modules/{@earendil-works → @entelligentsia}/pi-coding-agent/dist/utils/image-convert.js.map +0 -0
  3142. /package/node_modules/{@earendil-works → @entelligentsia}/pi-coding-agent/dist/utils/image-resize.js +0 -0
  3143. /package/node_modules/{@earendil-works → @entelligentsia}/pi-coding-agent/dist/utils/mime.d.ts +0 -0
  3144. /package/node_modules/{@earendil-works → @entelligentsia}/pi-coding-agent/dist/utils/mime.d.ts.map +0 -0
  3145. /package/node_modules/{@earendil-works → @entelligentsia}/pi-coding-agent/dist/utils/mime.js +0 -0
  3146. /package/node_modules/{@earendil-works → @entelligentsia}/pi-coding-agent/dist/utils/mime.js.map +0 -0
  3147. /package/node_modules/{@earendil-works → @entelligentsia}/pi-coding-agent/dist/utils/photon.d.ts +0 -0
  3148. /package/node_modules/{@earendil-works → @entelligentsia}/pi-coding-agent/dist/utils/photon.d.ts.map +0 -0
  3149. /package/node_modules/{@earendil-works → @entelligentsia}/pi-coding-agent/dist/utils/photon.js +0 -0
  3150. /package/node_modules/{@earendil-works → @entelligentsia}/pi-coding-agent/dist/utils/photon.js.map +0 -0
  3151. /package/node_modules/{@earendil-works → @entelligentsia}/pi-coding-agent/dist/utils/pi-user-agent.d.ts +0 -0
  3152. /package/node_modules/{@earendil-works → @entelligentsia}/pi-coding-agent/dist/utils/pi-user-agent.d.ts.map +0 -0
  3153. /package/node_modules/{@earendil-works → @entelligentsia}/pi-coding-agent/dist/utils/pi-user-agent.js +0 -0
  3154. /package/node_modules/{@earendil-works → @entelligentsia}/pi-coding-agent/dist/utils/pi-user-agent.js.map +0 -0
  3155. /package/node_modules/{@earendil-works → @entelligentsia}/pi-coding-agent/dist/utils/shell.d.ts +0 -0
  3156. /package/node_modules/{@earendil-works → @entelligentsia}/pi-coding-agent/dist/utils/shell.d.ts.map +0 -0
  3157. /package/node_modules/{@earendil-works → @entelligentsia}/pi-coding-agent/dist/utils/shell.js +0 -0
  3158. /package/node_modules/{@earendil-works → @entelligentsia}/pi-coding-agent/dist/utils/shell.js.map +0 -0
  3159. /package/node_modules/{@earendil-works → @entelligentsia}/pi-coding-agent/dist/utils/sleep.d.ts +0 -0
  3160. /package/node_modules/{@earendil-works → @entelligentsia}/pi-coding-agent/dist/utils/sleep.d.ts.map +0 -0
  3161. /package/node_modules/{@earendil-works → @entelligentsia}/pi-coding-agent/dist/utils/sleep.js +0 -0
  3162. /package/node_modules/{@earendil-works → @entelligentsia}/pi-coding-agent/dist/utils/sleep.js.map +0 -0
  3163. /package/node_modules/{@earendil-works → @entelligentsia}/pi-coding-agent/dist/utils/tools-manager.d.ts +0 -0
  3164. /package/node_modules/{@earendil-works → @entelligentsia}/pi-coding-agent/dist/utils/tools-manager.d.ts.map +0 -0
  3165. /package/node_modules/{@earendil-works → @entelligentsia}/pi-coding-agent/dist/utils/tools-manager.js +0 -0
  3166. /package/node_modules/{@earendil-works → @entelligentsia}/pi-coding-agent/dist/utils/tools-manager.js.map +0 -0
  3167. /package/node_modules/{@earendil-works → @entelligentsia}/pi-coding-agent/dist/utils/version-check.d.ts +0 -0
  3168. /package/node_modules/{@earendil-works → @entelligentsia}/pi-coding-agent/dist/utils/version-check.d.ts.map +0 -0
  3169. /package/node_modules/{@earendil-works → @entelligentsia}/pi-coding-agent/dist/utils/version-check.js +0 -0
  3170. /package/node_modules/{@earendil-works → @entelligentsia}/pi-coding-agent/dist/utils/version-check.js.map +0 -0
  3171. /package/node_modules/{@earendil-works → @entelligentsia}/pi-coding-agent/docs/development.md +0 -0
  3172. /package/node_modules/{@earendil-works → @entelligentsia}/pi-coding-agent/docs/docs.json +0 -0
  3173. /package/node_modules/{@earendil-works → @entelligentsia}/pi-coding-agent/docs/images/doom-extension.png +0 -0
  3174. /package/node_modules/{@earendil-works → @entelligentsia}/pi-coding-agent/docs/images/exy.png +0 -0
  3175. /package/node_modules/{@earendil-works → @entelligentsia}/pi-coding-agent/docs/images/interactive-mode.png +0 -0
  3176. /package/node_modules/{@earendil-works → @entelligentsia}/pi-coding-agent/docs/images/tree-view.png +0 -0
  3177. /package/node_modules/{@earendil-works → @entelligentsia}/pi-coding-agent/docs/json.md +0 -0
  3178. /package/node_modules/{@earendil-works → @entelligentsia}/pi-coding-agent/docs/keybindings.md +0 -0
  3179. /package/node_modules/{@earendil-works → @entelligentsia}/pi-coding-agent/docs/models.md +0 -0
  3180. /package/node_modules/{@earendil-works → @entelligentsia}/pi-coding-agent/docs/prompt-templates.md +0 -0
  3181. /package/node_modules/{@earendil-works → @entelligentsia}/pi-coding-agent/docs/providers.md +0 -0
  3182. /package/node_modules/{@earendil-works → @entelligentsia}/pi-coding-agent/docs/sessions.md +0 -0
  3183. /package/node_modules/{@earendil-works → @entelligentsia}/pi-coding-agent/docs/settings.md +0 -0
  3184. /package/node_modules/{@earendil-works → @entelligentsia}/pi-coding-agent/docs/shell-aliases.md +0 -0
  3185. /package/node_modules/{@earendil-works → @entelligentsia}/pi-coding-agent/docs/skills.md +0 -0
  3186. /package/node_modules/{@earendil-works → @entelligentsia}/pi-coding-agent/docs/terminal-setup.md +0 -0
  3187. /package/node_modules/{@earendil-works → @entelligentsia}/pi-coding-agent/docs/themes.md +0 -0
  3188. /package/node_modules/{@earendil-works → @entelligentsia}/pi-coding-agent/docs/tmux.md +0 -0
  3189. /package/node_modules/{@earendil-works → @entelligentsia}/pi-coding-agent/docs/usage.md +0 -0
  3190. /package/node_modules/{@earendil-works → @entelligentsia}/pi-coding-agent/docs/windows.md +0 -0
  3191. /package/node_modules/{@earendil-works → @entelligentsia}/pi-coding-agent/examples/README.md +0 -0
  3192. /package/node_modules/{@earendil-works → @entelligentsia}/pi-coding-agent/examples/extensions/doom-overlay/README.md +0 -0
  3193. /package/node_modules/{@earendil-works → @entelligentsia}/pi-coding-agent/examples/extensions/doom-overlay/doom/build/doom.js +0 -0
  3194. /package/node_modules/{@earendil-works → @entelligentsia}/pi-coding-agent/examples/extensions/doom-overlay/doom/build/doom.wasm +0 -0
  3195. /package/node_modules/{@earendil-works → @entelligentsia}/pi-coding-agent/examples/extensions/doom-overlay/doom/build.sh +0 -0
  3196. /package/node_modules/{@earendil-works → @entelligentsia}/pi-coding-agent/examples/extensions/doom-overlay/doom/doomgeneric_pi.c +0 -0
  3197. /package/node_modules/{@earendil-works → @entelligentsia}/pi-coding-agent/examples/extensions/doom-overlay/doom-engine.ts +0 -0
  3198. /package/node_modules/{@earendil-works → @entelligentsia}/pi-coding-agent/examples/extensions/doom-overlay/wad-finder.ts +0 -0
  3199. /package/node_modules/{@earendil-works → @entelligentsia}/pi-coding-agent/examples/extensions/dynamic-resources/SKILL.md +0 -0
  3200. /package/node_modules/{@earendil-works → @entelligentsia}/pi-coding-agent/examples/extensions/dynamic-resources/dynamic.json +0 -0
  3201. /package/node_modules/{@earendil-works → @entelligentsia}/pi-coding-agent/examples/extensions/dynamic-resources/dynamic.md +0 -0
  3202. /package/node_modules/{@earendil-works → @entelligentsia}/pi-coding-agent/examples/extensions/plan-mode/README.md +0 -0
  3203. /package/node_modules/{@earendil-works → @entelligentsia}/pi-coding-agent/examples/extensions/plan-mode/utils.ts +0 -0
  3204. /package/node_modules/{@earendil-works → @entelligentsia}/pi-coding-agent/examples/extensions/subagent/README.md +0 -0
  3205. /package/node_modules/{@earendil-works → @entelligentsia}/pi-coding-agent/examples/extensions/subagent/agents/planner.md +0 -0
  3206. /package/node_modules/{@earendil-works → @entelligentsia}/pi-coding-agent/examples/extensions/subagent/agents/reviewer.md +0 -0
  3207. /package/node_modules/{@earendil-works → @entelligentsia}/pi-coding-agent/examples/extensions/subagent/agents/scout.md +0 -0
  3208. /package/node_modules/{@earendil-works → @entelligentsia}/pi-coding-agent/examples/extensions/subagent/agents/worker.md +0 -0
  3209. /package/node_modules/{@earendil-works → @entelligentsia}/pi-coding-agent/examples/extensions/subagent/prompts/implement-and-review.md +0 -0
  3210. /package/node_modules/{@earendil-works → @entelligentsia}/pi-coding-agent/examples/extensions/subagent/prompts/implement.md +0 -0
  3211. /package/node_modules/{@earendil-works → @entelligentsia}/pi-coding-agent/examples/extensions/subagent/prompts/scout-and-plan.md +0 -0
  3212. /package/node_modules/{@earendil-works → @entelligentsia}/pi-tui/dist/autocomplete.d.ts +0 -0
  3213. /package/node_modules/{@earendil-works → @entelligentsia}/pi-tui/dist/autocomplete.d.ts.map +0 -0
  3214. /package/node_modules/{@earendil-works → @entelligentsia}/pi-tui/dist/autocomplete.js +0 -0
  3215. /package/node_modules/{@earendil-works → @entelligentsia}/pi-tui/dist/autocomplete.js.map +0 -0
  3216. /package/node_modules/{@earendil-works → @entelligentsia}/pi-tui/dist/components/box.d.ts +0 -0
  3217. /package/node_modules/{@earendil-works → @entelligentsia}/pi-tui/dist/components/box.d.ts.map +0 -0
  3218. /package/node_modules/{@earendil-works → @entelligentsia}/pi-tui/dist/components/box.js +0 -0
  3219. /package/node_modules/{@earendil-works → @entelligentsia}/pi-tui/dist/components/box.js.map +0 -0
  3220. /package/node_modules/{@earendil-works → @entelligentsia}/pi-tui/dist/components/cancellable-loader.d.ts +0 -0
  3221. /package/node_modules/{@earendil-works → @entelligentsia}/pi-tui/dist/components/cancellable-loader.d.ts.map +0 -0
  3222. /package/node_modules/{@earendil-works → @entelligentsia}/pi-tui/dist/components/cancellable-loader.js +0 -0
  3223. /package/node_modules/{@earendil-works → @entelligentsia}/pi-tui/dist/components/cancellable-loader.js.map +0 -0
  3224. /package/node_modules/{@earendil-works → @entelligentsia}/pi-tui/dist/components/editor.d.ts +0 -0
  3225. /package/node_modules/{@earendil-works → @entelligentsia}/pi-tui/dist/components/editor.d.ts.map +0 -0
  3226. /package/node_modules/{@earendil-works → @entelligentsia}/pi-tui/dist/components/editor.js +0 -0
  3227. /package/node_modules/{@earendil-works → @entelligentsia}/pi-tui/dist/components/editor.js.map +0 -0
  3228. /package/node_modules/{@earendil-works → @entelligentsia}/pi-tui/dist/components/image.d.ts +0 -0
  3229. /package/node_modules/{@earendil-works → @entelligentsia}/pi-tui/dist/components/image.d.ts.map +0 -0
  3230. /package/node_modules/{@earendil-works → @entelligentsia}/pi-tui/dist/components/image.js +0 -0
  3231. /package/node_modules/{@earendil-works → @entelligentsia}/pi-tui/dist/components/image.js.map +0 -0
  3232. /package/node_modules/{@earendil-works → @entelligentsia}/pi-tui/dist/components/input.d.ts +0 -0
  3233. /package/node_modules/{@earendil-works → @entelligentsia}/pi-tui/dist/components/input.d.ts.map +0 -0
  3234. /package/node_modules/{@earendil-works → @entelligentsia}/pi-tui/dist/components/input.js +0 -0
  3235. /package/node_modules/{@earendil-works → @entelligentsia}/pi-tui/dist/components/input.js.map +0 -0
  3236. /package/node_modules/{@earendil-works → @entelligentsia}/pi-tui/dist/components/loader.d.ts +0 -0
  3237. /package/node_modules/{@earendil-works → @entelligentsia}/pi-tui/dist/components/loader.d.ts.map +0 -0
  3238. /package/node_modules/{@earendil-works → @entelligentsia}/pi-tui/dist/components/loader.js +0 -0
  3239. /package/node_modules/{@earendil-works → @entelligentsia}/pi-tui/dist/components/loader.js.map +0 -0
  3240. /package/node_modules/{@earendil-works → @entelligentsia}/pi-tui/dist/components/markdown.d.ts +0 -0
  3241. /package/node_modules/{@earendil-works → @entelligentsia}/pi-tui/dist/components/markdown.d.ts.map +0 -0
  3242. /package/node_modules/{@earendil-works → @entelligentsia}/pi-tui/dist/components/markdown.js +0 -0
  3243. /package/node_modules/{@earendil-works → @entelligentsia}/pi-tui/dist/components/markdown.js.map +0 -0
  3244. /package/node_modules/{@earendil-works → @entelligentsia}/pi-tui/dist/components/select-list.d.ts +0 -0
  3245. /package/node_modules/{@earendil-works → @entelligentsia}/pi-tui/dist/components/select-list.d.ts.map +0 -0
  3246. /package/node_modules/{@earendil-works → @entelligentsia}/pi-tui/dist/components/select-list.js +0 -0
  3247. /package/node_modules/{@earendil-works → @entelligentsia}/pi-tui/dist/components/select-list.js.map +0 -0
  3248. /package/node_modules/{@earendil-works → @entelligentsia}/pi-tui/dist/components/settings-list.d.ts +0 -0
  3249. /package/node_modules/{@earendil-works → @entelligentsia}/pi-tui/dist/components/settings-list.d.ts.map +0 -0
  3250. /package/node_modules/{@earendil-works → @entelligentsia}/pi-tui/dist/components/settings-list.js +0 -0
  3251. /package/node_modules/{@earendil-works → @entelligentsia}/pi-tui/dist/components/settings-list.js.map +0 -0
  3252. /package/node_modules/{@earendil-works → @entelligentsia}/pi-tui/dist/components/spacer.d.ts +0 -0
  3253. /package/node_modules/{@earendil-works → @entelligentsia}/pi-tui/dist/components/spacer.d.ts.map +0 -0
  3254. /package/node_modules/{@earendil-works → @entelligentsia}/pi-tui/dist/components/spacer.js +0 -0
  3255. /package/node_modules/{@earendil-works → @entelligentsia}/pi-tui/dist/components/spacer.js.map +0 -0
  3256. /package/node_modules/{@earendil-works → @entelligentsia}/pi-tui/dist/components/text.d.ts +0 -0
  3257. /package/node_modules/{@earendil-works → @entelligentsia}/pi-tui/dist/components/text.d.ts.map +0 -0
  3258. /package/node_modules/{@earendil-works → @entelligentsia}/pi-tui/dist/components/text.js +0 -0
  3259. /package/node_modules/{@earendil-works → @entelligentsia}/pi-tui/dist/components/text.js.map +0 -0
  3260. /package/node_modules/{@earendil-works → @entelligentsia}/pi-tui/dist/components/truncated-text.d.ts +0 -0
  3261. /package/node_modules/{@earendil-works → @entelligentsia}/pi-tui/dist/components/truncated-text.d.ts.map +0 -0
  3262. /package/node_modules/{@earendil-works → @entelligentsia}/pi-tui/dist/components/truncated-text.js +0 -0
  3263. /package/node_modules/{@earendil-works → @entelligentsia}/pi-tui/dist/components/truncated-text.js.map +0 -0
  3264. /package/node_modules/{@earendil-works → @entelligentsia}/pi-tui/dist/editor-component.d.ts +0 -0
  3265. /package/node_modules/{@earendil-works → @entelligentsia}/pi-tui/dist/editor-component.d.ts.map +0 -0
  3266. /package/node_modules/{@earendil-works → @entelligentsia}/pi-tui/dist/editor-component.js +0 -0
  3267. /package/node_modules/{@earendil-works → @entelligentsia}/pi-tui/dist/editor-component.js.map +0 -0
  3268. /package/node_modules/{@earendil-works → @entelligentsia}/pi-tui/dist/fuzzy.d.ts +0 -0
  3269. /package/node_modules/{@earendil-works → @entelligentsia}/pi-tui/dist/fuzzy.d.ts.map +0 -0
  3270. /package/node_modules/{@earendil-works → @entelligentsia}/pi-tui/dist/fuzzy.js +0 -0
  3271. /package/node_modules/{@earendil-works → @entelligentsia}/pi-tui/dist/fuzzy.js.map +0 -0
  3272. /package/node_modules/{@earendil-works → @entelligentsia}/pi-tui/dist/index.d.ts +0 -0
  3273. /package/node_modules/{@earendil-works → @entelligentsia}/pi-tui/dist/index.d.ts.map +0 -0
  3274. /package/node_modules/{@earendil-works → @entelligentsia}/pi-tui/dist/index.js +0 -0
  3275. /package/node_modules/{@earendil-works → @entelligentsia}/pi-tui/dist/index.js.map +0 -0
  3276. /package/node_modules/{@earendil-works → @entelligentsia}/pi-tui/dist/keybindings.d.ts +0 -0
  3277. /package/node_modules/{@earendil-works → @entelligentsia}/pi-tui/dist/keybindings.d.ts.map +0 -0
  3278. /package/node_modules/{@earendil-works → @entelligentsia}/pi-tui/dist/keybindings.js +0 -0
  3279. /package/node_modules/{@earendil-works → @entelligentsia}/pi-tui/dist/keybindings.js.map +0 -0
  3280. /package/node_modules/{@earendil-works → @entelligentsia}/pi-tui/dist/keys.d.ts +0 -0
  3281. /package/node_modules/{@earendil-works → @entelligentsia}/pi-tui/dist/keys.d.ts.map +0 -0
  3282. /package/node_modules/{@earendil-works → @entelligentsia}/pi-tui/dist/keys.js +0 -0
  3283. /package/node_modules/{@earendil-works → @entelligentsia}/pi-tui/dist/keys.js.map +0 -0
  3284. /package/node_modules/{@earendil-works → @entelligentsia}/pi-tui/dist/kill-ring.d.ts +0 -0
  3285. /package/node_modules/{@earendil-works → @entelligentsia}/pi-tui/dist/kill-ring.d.ts.map +0 -0
  3286. /package/node_modules/{@earendil-works → @entelligentsia}/pi-tui/dist/kill-ring.js +0 -0
  3287. /package/node_modules/{@earendil-works → @entelligentsia}/pi-tui/dist/kill-ring.js.map +0 -0
  3288. /package/node_modules/{@earendil-works → @entelligentsia}/pi-tui/dist/stdin-buffer.d.ts +0 -0
  3289. /package/node_modules/{@earendil-works → @entelligentsia}/pi-tui/dist/stdin-buffer.d.ts.map +0 -0
  3290. /package/node_modules/{@earendil-works → @entelligentsia}/pi-tui/dist/stdin-buffer.js +0 -0
  3291. /package/node_modules/{@earendil-works → @entelligentsia}/pi-tui/dist/stdin-buffer.js.map +0 -0
  3292. /package/node_modules/{@earendil-works → @entelligentsia}/pi-tui/dist/terminal-image.d.ts +0 -0
  3293. /package/node_modules/{@earendil-works → @entelligentsia}/pi-tui/dist/terminal-image.d.ts.map +0 -0
  3294. /package/node_modules/{@earendil-works → @entelligentsia}/pi-tui/dist/terminal-image.js +0 -0
  3295. /package/node_modules/{@earendil-works → @entelligentsia}/pi-tui/dist/terminal-image.js.map +0 -0
  3296. /package/node_modules/{@earendil-works → @entelligentsia}/pi-tui/dist/terminal.d.ts +0 -0
  3297. /package/node_modules/{@earendil-works → @entelligentsia}/pi-tui/dist/terminal.d.ts.map +0 -0
  3298. /package/node_modules/{@earendil-works → @entelligentsia}/pi-tui/dist/terminal.js +0 -0
  3299. /package/node_modules/{@earendil-works → @entelligentsia}/pi-tui/dist/terminal.js.map +0 -0
  3300. /package/node_modules/{@earendil-works → @entelligentsia}/pi-tui/dist/tui.d.ts +0 -0
  3301. /package/node_modules/{@earendil-works → @entelligentsia}/pi-tui/dist/tui.d.ts.map +0 -0
  3302. /package/node_modules/{@earendil-works → @entelligentsia}/pi-tui/dist/tui.js +0 -0
  3303. /package/node_modules/{@earendil-works → @entelligentsia}/pi-tui/dist/tui.js.map +0 -0
  3304. /package/node_modules/{@earendil-works → @entelligentsia}/pi-tui/dist/undo-stack.d.ts +0 -0
  3305. /package/node_modules/{@earendil-works → @entelligentsia}/pi-tui/dist/undo-stack.d.ts.map +0 -0
  3306. /package/node_modules/{@earendil-works → @entelligentsia}/pi-tui/dist/undo-stack.js +0 -0
  3307. /package/node_modules/{@earendil-works → @entelligentsia}/pi-tui/dist/undo-stack.js.map +0 -0
  3308. /package/node_modules/{@earendil-works → @entelligentsia}/pi-tui/dist/utils.d.ts +0 -0
  3309. /package/node_modules/{@earendil-works → @entelligentsia}/pi-tui/dist/utils.d.ts.map +0 -0
  3310. /package/node_modules/{@earendil-works → @entelligentsia}/pi-tui/dist/utils.js +0 -0
  3311. /package/node_modules/{@earendil-works → @entelligentsia}/pi-tui/dist/utils.js.map +0 -0
  3312. /package/node_modules/@smithy/{invalid-dependency/dist-es → core/dist-es/submodules/client/invalid-dependency}/invalidFunction.js +0 -0
  3313. /package/node_modules/@smithy/{invalid-dependency/dist-es → core/dist-es/submodules/client/invalid-dependency}/invalidProvider.js +0 -0
  3314. /package/node_modules/@smithy/{middleware-stack/dist-es → core/dist-es/submodules/client/middleware-stack}/MiddlewareStack.js +0 -0
  3315. /package/node_modules/@smithy/{middleware-endpoint/dist-es → core/dist-es/submodules/client/middleware-stack}/types.js +0 -0
  3316. /package/node_modules/@smithy/{smithy-client/dist-es → core/dist-es/submodules/client/smithy-client}/NoOpLogger.js +0 -0
  3317. /package/node_modules/@smithy/{smithy-client/dist-es → core/dist-es/submodules/client/smithy-client}/constants.js +0 -0
  3318. /package/node_modules/@smithy/{smithy-client/dist-es → core/dist-es/submodules/client/smithy-client}/create-aggregated-client.js +0 -0
  3319. /package/node_modules/@smithy/{smithy-client/dist-es → core/dist-es/submodules/client/smithy-client}/default-error-handler.js +0 -0
  3320. /package/node_modules/@smithy/{smithy-client/dist-es → core/dist-es/submodules/client/smithy-client}/defaults-mode.js +0 -0
  3321. /package/node_modules/@smithy/{smithy-client/dist-es → core/dist-es/submodules/client/smithy-client}/emitWarningIfUnsupportedVersion.js +0 -0
  3322. /package/node_modules/@smithy/{smithy-client/dist-es → core/dist-es/submodules/client/smithy-client}/exceptions.js +0 -0
  3323. /package/node_modules/@smithy/{smithy-client/dist-es → core/dist-es/submodules/client/smithy-client}/extensions/retry.js +0 -0
  3324. /package/node_modules/@smithy/{smithy-client/dist-es → core/dist-es/submodules/client/smithy-client}/get-array-if-single-item.js +0 -0
  3325. /package/node_modules/@smithy/{smithy-client/dist-es → core/dist-es/submodules/client/smithy-client}/get-value-from-text-node.js +0 -0
  3326. /package/node_modules/@smithy/{smithy-client/dist-es → core/dist-es/submodules/client/smithy-client}/is-serializable-header-value.js +0 -0
  3327. /package/node_modules/@smithy/{smithy-client/dist-es → core/dist-es/submodules/client/smithy-client}/object-mapping.js +0 -0
  3328. /package/node_modules/@smithy/{smithy-client/dist-es → core/dist-es/submodules/client/smithy-client}/schemaLogFilter.js +0 -0
  3329. /package/node_modules/@smithy/{smithy-client/dist-es → core/dist-es/submodules/client/smithy-client}/ser-utils.js +0 -0
  3330. /package/node_modules/@smithy/{smithy-client/dist-es → core/dist-es/submodules/client/smithy-client}/serde-json.js +0 -0
  3331. /package/node_modules/@smithy/{util-middleware/dist-es → core/dist-es/submodules/client/util-middleware}/getSmithyContext.js +0 -0
  3332. /package/node_modules/@smithy/{util-middleware/dist-es → core/dist-es/submodules/client/util-middleware}/normalizeProvider.js +0 -0
  3333. /package/node_modules/@smithy/{config-resolver/dist-es → core/dist-es/submodules/config/config-resolver}/endpointsConfig/utils/getEndpointFromRegion.js +0 -0
  3334. /package/node_modules/@smithy/{config-resolver/dist-es → core/dist-es/submodules/config/config-resolver}/regionConfig/config.js +0 -0
  3335. /package/node_modules/@smithy/{config-resolver/dist-es → core/dist-es/submodules/config/config-resolver}/regionConfig/getRealRegion.js +0 -0
  3336. /package/node_modules/@smithy/{config-resolver/dist-es → core/dist-es/submodules/config/config-resolver}/regionConfig/isFipsRegion.js +0 -0
  3337. /package/node_modules/@smithy/{config-resolver/dist-es → core/dist-es/submodules/config/config-resolver}/regionConfig/resolveRegionConfig.js +0 -0
  3338. /package/node_modules/@smithy/{config-resolver/dist-es → core/dist-es/submodules/config/config-resolver}/regionInfo/EndpointVariant.js +0 -0
  3339. /package/node_modules/@smithy/{config-resolver/dist-es → core/dist-es/submodules/config/config-resolver}/regionInfo/EndpointVariantTag.js +0 -0
  3340. /package/node_modules/@smithy/{config-resolver/dist-es → core/dist-es/submodules/config/config-resolver}/regionInfo/PartitionHash.js +0 -0
  3341. /package/node_modules/@smithy/{config-resolver/dist-es → core/dist-es/submodules/config/config-resolver}/regionInfo/RegionHash.js +0 -0
  3342. /package/node_modules/@smithy/{config-resolver/dist-es → core/dist-es/submodules/config/config-resolver}/regionInfo/getHostnameFromVariants.js +0 -0
  3343. /package/node_modules/@smithy/{config-resolver/dist-es → core/dist-es/submodules/config/config-resolver}/regionInfo/getRegionInfo.js +0 -0
  3344. /package/node_modules/@smithy/{config-resolver/dist-es → core/dist-es/submodules/config/config-resolver}/regionInfo/getResolvedHostname.js +0 -0
  3345. /package/node_modules/@smithy/{config-resolver/dist-es → core/dist-es/submodules/config/config-resolver}/regionInfo/getResolvedPartition.js +0 -0
  3346. /package/node_modules/@smithy/{config-resolver/dist-es → core/dist-es/submodules/config/config-resolver}/regionInfo/getResolvedSigningRegion.js +0 -0
  3347. /package/node_modules/@smithy/{util-defaults-mode-node/dist-es → core/dist-es/submodules/config/defaults-mode}/constants.js +0 -0
  3348. /package/node_modules/@smithy/{util-defaults-mode-node/dist-es → core/dist-es/submodules/config/defaults-mode}/defaultsModeConfig.js +0 -0
  3349. /package/node_modules/@smithy/{node-config-provider/dist-es → core/dist-es/submodules/config/node-config-provider}/getSelectorName.js +0 -0
  3350. /package/node_modules/@smithy/{property-provider/dist-es → core/dist-es/submodules/config/property-provider}/CredentialsProviderError.js +0 -0
  3351. /package/node_modules/@smithy/{property-provider/dist-es → core/dist-es/submodules/config/property-provider}/ProviderError.js +0 -0
  3352. /package/node_modules/@smithy/{property-provider/dist-es → core/dist-es/submodules/config/property-provider}/TokenProviderError.js +0 -0
  3353. /package/node_modules/@smithy/{property-provider/dist-es → core/dist-es/submodules/config/property-provider}/chain.js +0 -0
  3354. /package/node_modules/@smithy/{property-provider/dist-es → core/dist-es/submodules/config/property-provider}/memoize.js +0 -0
  3355. /package/node_modules/@smithy/{shared-ini-file-loader/dist-es → core/dist-es/submodules/config/shared-ini-file-loader}/constants.js +0 -0
  3356. /package/node_modules/@smithy/{shared-ini-file-loader/dist-es → core/dist-es/submodules/config/shared-ini-file-loader}/externalDataInterceptor.js +0 -0
  3357. /package/node_modules/@smithy/{shared-ini-file-loader/dist-es → core/dist-es/submodules/config/shared-ini-file-loader}/getConfigData.js +0 -0
  3358. /package/node_modules/@smithy/{shared-ini-file-loader/dist-es → core/dist-es/submodules/config/shared-ini-file-loader}/getProfileName.js +0 -0
  3359. /package/node_modules/@smithy/{shared-ini-file-loader/dist-es → core/dist-es/submodules/config/shared-ini-file-loader}/getSsoSessionData.js +0 -0
  3360. /package/node_modules/@smithy/{shared-ini-file-loader/dist-es → core/dist-es/submodules/config/shared-ini-file-loader}/loadSsoSessionData.js +0 -0
  3361. /package/node_modules/@smithy/{shared-ini-file-loader/dist-es → core/dist-es/submodules/config/shared-ini-file-loader}/mergeConfigFiles.js +0 -0
  3362. /package/node_modules/@smithy/{shared-ini-file-loader/dist-es → core/dist-es/submodules/config/shared-ini-file-loader}/parseIni.js +0 -0
  3363. /package/node_modules/@smithy/{shared-ini-file-loader/dist-es → core/dist-es/submodules/config/shared-ini-file-loader}/parseKnownFiles.js +0 -0
  3364. /package/node_modules/@smithy/{shared-ini-file-loader/dist-es → core/dist-es/submodules/config/shared-ini-file-loader}/readFile.js +0 -0
  3365. /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
  3366. /package/node_modules/@smithy/{util-config-provider/dist-es → core/dist-es/submodules/config/util-config-provider}/booleanSelector.js +0 -0
  3367. /package/node_modules/@smithy/{util-config-provider/dist-es → core/dist-es/submodules/config/util-config-provider}/numberSelector.js +0 -0
  3368. /package/node_modules/@smithy/{util-config-provider/dist-es → core/dist-es/submodules/config/util-config-provider}/types.js +0 -0
  3369. /package/node_modules/@smithy/{middleware-endpoint/dist-es → core/dist-es/submodules/endpoints/middleware-endpoint}/adaptors/createConfigValueProvider.js +0 -0
  3370. /package/node_modules/@smithy/{middleware-endpoint/dist-es → core/dist-es/submodules/endpoints/middleware-endpoint}/adaptors/getEndpointFromConfig.browser.js +0 -0
  3371. /package/node_modules/@smithy/{middleware-endpoint/dist-es → core/dist-es/submodules/endpoints/middleware-endpoint}/resolveEndpointRequiredConfig.js +0 -0
  3372. /package/node_modules/@smithy/{middleware-endpoint/dist-es → core/dist-es/submodules/endpoints/middleware-endpoint}/service-customizations/index.js +0 -0
  3373. /package/node_modules/@smithy/{middleware-endpoint/dist-es → core/dist-es/submodules/endpoints/middleware-endpoint}/service-customizations/s3.js +0 -0
  3374. /package/node_modules/@smithy/{middleware-stack/dist-es → core/dist-es/submodules/endpoints/middleware-endpoint}/types.js +0 -0
  3375. /package/node_modules/@smithy/{util-endpoints/dist-es → core/dist-es/submodules/endpoints/util-endpoints}/bdd/BinaryDecisionDiagram.js +0 -0
  3376. /package/node_modules/@smithy/{util-endpoints/dist-es → core/dist-es/submodules/endpoints/util-endpoints}/cache/EndpointCache.js +0 -0
  3377. /package/node_modules/@smithy/{util-endpoints/dist-es → core/dist-es/submodules/endpoints/util-endpoints}/debug/debugId.js +0 -0
  3378. /package/node_modules/@smithy/{util-endpoints/dist-es → core/dist-es/submodules/endpoints/util-endpoints}/debug/index.js +0 -0
  3379. /package/node_modules/@smithy/{util-endpoints/dist-es → core/dist-es/submodules/endpoints/util-endpoints}/debug/toDebugString.js +0 -0
  3380. /package/node_modules/@smithy/{util-endpoints/dist-es → core/dist-es/submodules/endpoints/util-endpoints}/decideEndpoint.js +0 -0
  3381. /package/node_modules/@smithy/{util-endpoints/dist-es → core/dist-es/submodules/endpoints/util-endpoints}/getEndpointUrlConfig.js +0 -0
  3382. /package/node_modules/@smithy/{util-endpoints/dist-es → core/dist-es/submodules/endpoints/util-endpoints}/lib/booleanEquals.js +0 -0
  3383. /package/node_modules/@smithy/{util-endpoints/dist-es → core/dist-es/submodules/endpoints/util-endpoints}/lib/coalesce.js +0 -0
  3384. /package/node_modules/@smithy/{util-endpoints/dist-es → core/dist-es/submodules/endpoints/util-endpoints}/lib/getAttr.js +0 -0
  3385. /package/node_modules/@smithy/{util-endpoints/dist-es → core/dist-es/submodules/endpoints/util-endpoints}/lib/getAttrPathList.js +0 -0
  3386. /package/node_modules/@smithy/{util-endpoints/dist-es → core/dist-es/submodules/endpoints/util-endpoints}/lib/index.js +0 -0
  3387. /package/node_modules/@smithy/{util-endpoints/dist-es → core/dist-es/submodules/endpoints/util-endpoints}/lib/isIpAddress.js +0 -0
  3388. /package/node_modules/@smithy/{util-endpoints/dist-es → core/dist-es/submodules/endpoints/util-endpoints}/lib/isSet.js +0 -0
  3389. /package/node_modules/@smithy/{util-endpoints/dist-es → core/dist-es/submodules/endpoints/util-endpoints}/lib/isValidHostLabel.js +0 -0
  3390. /package/node_modules/@smithy/{util-endpoints/dist-es → core/dist-es/submodules/endpoints/util-endpoints}/lib/ite.js +0 -0
  3391. /package/node_modules/@smithy/{util-endpoints/dist-es → core/dist-es/submodules/endpoints/util-endpoints}/lib/not.js +0 -0
  3392. /package/node_modules/@smithy/{util-endpoints/dist-es → core/dist-es/submodules/endpoints/util-endpoints}/lib/parseURL.js +0 -0
  3393. /package/node_modules/@smithy/{util-endpoints/dist-es → core/dist-es/submodules/endpoints/util-endpoints}/lib/split.js +0 -0
  3394. /package/node_modules/@smithy/{util-endpoints/dist-es → core/dist-es/submodules/endpoints/util-endpoints}/lib/stringEquals.js +0 -0
  3395. /package/node_modules/@smithy/{util-endpoints/dist-es → core/dist-es/submodules/endpoints/util-endpoints}/lib/substring.js +0 -0
  3396. /package/node_modules/@smithy/{util-endpoints/dist-es → core/dist-es/submodules/endpoints/util-endpoints}/lib/uriEncode.js +0 -0
  3397. /package/node_modules/@smithy/{util-endpoints/dist-es → core/dist-es/submodules/endpoints/util-endpoints}/resolveEndpoint.js +0 -0
  3398. /package/node_modules/@smithy/{util-endpoints/dist-es → core/dist-es/submodules/endpoints/util-endpoints}/types/EndpointError.js +0 -0
  3399. /package/node_modules/@smithy/{util-endpoints/dist-es → core/dist-es/submodules/endpoints/util-endpoints}/types/EndpointFunctions.js +0 -0
  3400. /package/node_modules/@smithy/{util-endpoints/dist-es → core/dist-es/submodules/endpoints/util-endpoints}/types/EndpointRuleObject.js +0 -0
  3401. /package/node_modules/@smithy/{util-endpoints/dist-es → core/dist-es/submodules/endpoints/util-endpoints}/types/ErrorRuleObject.js +0 -0
  3402. /package/node_modules/@smithy/{util-endpoints/dist-es → core/dist-es/submodules/endpoints/util-endpoints}/types/RuleSetObject.js +0 -0
  3403. /package/node_modules/@smithy/{util-endpoints/dist-es → core/dist-es/submodules/endpoints/util-endpoints}/types/TreeRuleObject.js +0 -0
  3404. /package/node_modules/@smithy/{util-endpoints/dist-es → core/dist-es/submodules/endpoints/util-endpoints}/types/index.js +0 -0
  3405. /package/node_modules/@smithy/{util-endpoints/dist-es → core/dist-es/submodules/endpoints/util-endpoints}/types/shared.js +0 -0
  3406. /package/node_modules/@smithy/{util-endpoints/dist-es → core/dist-es/submodules/endpoints/util-endpoints}/utils/callFunction.js +0 -0
  3407. /package/node_modules/@smithy/{util-endpoints/dist-es → core/dist-es/submodules/endpoints/util-endpoints}/utils/customEndpointFunctions.js +0 -0
  3408. /package/node_modules/@smithy/{util-endpoints/dist-es → core/dist-es/submodules/endpoints/util-endpoints}/utils/endpointFunctions.js +0 -0
  3409. /package/node_modules/@smithy/{util-endpoints/dist-es → core/dist-es/submodules/endpoints/util-endpoints}/utils/evaluateCondition.js +0 -0
  3410. /package/node_modules/@smithy/{util-endpoints/dist-es → core/dist-es/submodules/endpoints/util-endpoints}/utils/evaluateConditions.js +0 -0
  3411. /package/node_modules/@smithy/{util-endpoints/dist-es → core/dist-es/submodules/endpoints/util-endpoints}/utils/evaluateEndpointRule.js +0 -0
  3412. /package/node_modules/@smithy/{util-endpoints/dist-es → core/dist-es/submodules/endpoints/util-endpoints}/utils/evaluateErrorRule.js +0 -0
  3413. /package/node_modules/@smithy/{util-endpoints/dist-es → core/dist-es/submodules/endpoints/util-endpoints}/utils/evaluateRules.js +0 -0
  3414. /package/node_modules/@smithy/{util-endpoints/dist-es → core/dist-es/submodules/endpoints/util-endpoints}/utils/evaluateTemplate.js +0 -0
  3415. /package/node_modules/@smithy/{util-endpoints/dist-es → core/dist-es/submodules/endpoints/util-endpoints}/utils/evaluateTreeRule.js +0 -0
  3416. /package/node_modules/@smithy/{util-endpoints/dist-es → core/dist-es/submodules/endpoints/util-endpoints}/utils/getEndpointHeaders.js +0 -0
  3417. /package/node_modules/@smithy/{util-endpoints/dist-es → core/dist-es/submodules/endpoints/util-endpoints}/utils/getEndpointProperties.js +0 -0
  3418. /package/node_modules/@smithy/{util-endpoints/dist-es → core/dist-es/submodules/endpoints/util-endpoints}/utils/getEndpointProperty.js +0 -0
  3419. /package/node_modules/@smithy/{util-endpoints/dist-es → core/dist-es/submodules/endpoints/util-endpoints}/utils/getEndpointUrl.js +0 -0
  3420. /package/node_modules/@smithy/{util-endpoints/dist-es → core/dist-es/submodules/endpoints/util-endpoints}/utils/getReferenceValue.js +0 -0
  3421. /package/node_modules/@smithy/{util-endpoints/dist-es → core/dist-es/submodules/endpoints/util-endpoints}/utils/index.js +0 -0
  3422. /package/node_modules/@smithy/{eventstream-codec/dist-es → core/dist-es/submodules/event-streams/eventstream-codec}/EventStreamCodec.js +0 -0
  3423. /package/node_modules/@smithy/{eventstream-codec/dist-es → core/dist-es/submodules/event-streams/eventstream-codec}/Message.js +0 -0
  3424. /package/node_modules/@smithy/{eventstream-codec/dist-es → core/dist-es/submodules/event-streams/eventstream-codec}/MessageDecoderStream.js +0 -0
  3425. /package/node_modules/@smithy/{eventstream-codec/dist-es → core/dist-es/submodules/event-streams/eventstream-codec}/MessageEncoderStream.js +0 -0
  3426. /package/node_modules/@smithy/{eventstream-codec/dist-es → core/dist-es/submodules/event-streams/eventstream-codec}/SmithyMessageDecoderStream.js +0 -0
  3427. /package/node_modules/@smithy/{eventstream-codec/dist-es → core/dist-es/submodules/event-streams/eventstream-codec}/SmithyMessageEncoderStream.js +0 -0
  3428. /package/node_modules/@smithy/{eventstream-codec/dist-es → core/dist-es/submodules/event-streams/eventstream-codec}/TestVectors.fixture.js +0 -0
  3429. /package/node_modules/@smithy/{eventstream-codec/dist-es → core/dist-es/submodules/event-streams/eventstream-codec}/splitMessage.js +0 -0
  3430. /package/node_modules/@smithy/{eventstream-codec/dist-es → core/dist-es/submodules/event-streams/eventstream-codec}/vectorTypes.fixture.js +0 -0
  3431. /package/node_modules/@smithy/{eventstream-serde-config-resolver/dist-es → core/dist-es/submodules/event-streams/eventstream-serde-config-resolver}/EventStreamSerdeConfig.js +0 -0
  3432. /package/node_modules/@smithy/{eventstream-serde-universal/dist-es → core/dist-es/submodules/event-streams/eventstream-serde-universal}/getChunkedStream.js +0 -0
  3433. /package/node_modules/@smithy/{eventstream-serde-universal/dist-es → core/dist-es/submodules/event-streams/eventstream-serde-universal}/getUnmarshalledStream.js +0 -0
  3434. /package/node_modules/@smithy/{protocol-http/dist-es → core/dist-es/submodules/protocols/protocol-http}/Field.js +0 -0
  3435. /package/node_modules/@smithy/{protocol-http/dist-es → core/dist-es/submodules/protocols/protocol-http}/Fields.js +0 -0
  3436. /package/node_modules/@smithy/{protocol-http/dist-es → core/dist-es/submodules/protocols/protocol-http}/extensions/httpExtensionConfiguration.js +0 -0
  3437. /package/node_modules/@smithy/{protocol-http/dist-es → core/dist-es/submodules/protocols/protocol-http}/httpHandler.js +0 -0
  3438. /package/node_modules/@smithy/{protocol-http/dist-es → core/dist-es/submodules/protocols/protocol-http}/httpRequest.js +0 -0
  3439. /package/node_modules/@smithy/{protocol-http/dist-es → core/dist-es/submodules/protocols/protocol-http}/httpResponse.js +0 -0
  3440. /package/node_modules/@smithy/{protocol-http/dist-es → core/dist-es/submodules/protocols/protocol-http}/isValidHostname.js +0 -0
  3441. /package/node_modules/@smithy/{protocol-http/dist-es → core/dist-es/submodules/protocols/protocol-http}/types.js +0 -0
  3442. /package/node_modules/@smithy/{querystring-parser/dist-es/index.js → core/dist-es/submodules/protocols/querystring-parser/parseQueryString.js} +0 -0
  3443. /package/node_modules/@smithy/{util-uri-escape/dist-es → core/dist-es/submodules/protocols/util-uri-escape}/escape-uri-path.js +0 -0
  3444. /package/node_modules/@smithy/{util-uri-escape/dist-es → core/dist-es/submodules/protocols/util-uri-escape}/escape-uri.js +0 -0
  3445. /package/node_modules/@smithy/{middleware-retry/dist-es → core/dist-es/submodules/retry/middleware-retry}/isStreamingPayload/isStreamingPayload.browser.js +0 -0
  3446. /package/node_modules/@smithy/{middleware-retry/dist-es → core/dist-es/submodules/retry/middleware-retry}/longPollMiddleware.js +0 -0
  3447. /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
  3448. /package/node_modules/@smithy/{middleware-retry/dist-es → core/dist-es/submodules/retry/middleware-retry}/util.js +0 -0
  3449. /package/node_modules/@smithy/{service-error-classification/dist-es → core/dist-es/submodules/retry/service-error-classification}/constants.js +0 -0
  3450. /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
  3451. /package/node_modules/@smithy/{util-retry/dist-es → core/dist-es/submodules/retry/util-retry}/DefaultRetryBackoffStrategy.js +0 -0
  3452. /package/node_modules/@smithy/{util-retry/dist-es → core/dist-es/submodules/retry/util-retry}/DefaultRetryToken.js +0 -0
  3453. /package/node_modules/@smithy/{util-retry/dist-es → core/dist-es/submodules/retry/util-retry}/config.js +0 -0
  3454. /package/node_modules/@smithy/{util-retry/dist-es → core/dist-es/submodules/retry/util-retry}/constants.js +0 -0
  3455. /package/node_modules/@smithy/{util-retry/dist-es → core/dist-es/submodules/retry/util-retry}/retries-2026-config.js +0 -0
  3456. /package/node_modules/@smithy/{util-retry/dist-es → core/dist-es/submodules/retry/util-retry}/types.js +0 -0
  3457. /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
  3458. /package/node_modules/@smithy/{middleware-serde/dist-es → core/dist-es/submodules/serde/middleware-serde}/serdePlugin.js +0 -0
  3459. /package/node_modules/@smithy/{middleware-serde/dist-es → core/dist-es/submodules/serde/middleware-serde}/serializerMiddleware.js +0 -0
  3460. /package/node_modules/@smithy/{util-base64/dist-es/constants.browser.js → core/dist-es/submodules/serde/util-base64/constants-for-browser.js} +0 -0
  3461. /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
  3462. /package/node_modules/@smithy/{util-hex-encoding/dist-es/index.js → core/dist-es/submodules/serde/util-hex-encoding/hex-encoding.js} +0 -0
  3463. /package/node_modules/@smithy/{util-stream/dist-es → core/dist-es/submodules/serde/util-stream}/ByteArrayCollector.js +0 -0
  3464. /package/node_modules/@smithy/{util-stream/dist-es → core/dist-es/submodules/serde/util-stream}/checksum/ChecksumStream.browser.js +0 -0
  3465. /package/node_modules/@smithy/{util-stream/dist-es/createBufferedReadableStream.js → core/dist-es/submodules/serde/util-stream/createBufferedReadable.browser.js} +0 -0
  3466. /package/node_modules/@smithy/{util-stream/dist-es → core/dist-es/submodules/serde/util-stream}/getAwsChunkedEncodingStream.browser.js +0 -0
  3467. /package/node_modules/@smithy/{util-stream/dist-es → core/dist-es/submodules/serde/util-stream}/getAwsChunkedEncodingStream.js +0 -0
  3468. /package/node_modules/@smithy/{util-stream/dist-es → core/dist-es/submodules/serde/util-stream}/headStream.browser.js +0 -0
  3469. /package/node_modules/@smithy/{util-stream/dist-es → core/dist-es/submodules/serde/util-stream}/splitStream.browser.js +0 -0
  3470. /package/node_modules/@smithy/{util-stream/dist-es → core/dist-es/submodules/serde/util-stream}/stream-type-check.js +0 -0
  3471. /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
  3472. /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
  3473. /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
  3474. /package/node_modules/@smithy/{invalid-dependency/dist-types → core/dist-types/submodules/client/invalid-dependency}/invalidFunction.d.ts +0 -0
  3475. /package/node_modules/@smithy/{invalid-dependency/dist-types → core/dist-types/submodules/client/invalid-dependency}/invalidProvider.d.ts +0 -0
  3476. /package/node_modules/@smithy/{middleware-stack/dist-types → core/dist-types/submodules/client/middleware-stack}/MiddlewareStack.d.ts +0 -0
  3477. /package/node_modules/@smithy/{middleware-stack/dist-types → core/dist-types/submodules/client/middleware-stack}/types.d.ts +0 -0
  3478. /package/node_modules/@smithy/{smithy-client/dist-types → core/dist-types/submodules/client/smithy-client}/NoOpLogger.d.ts +0 -0
  3479. /package/node_modules/@smithy/{smithy-client/dist-types → core/dist-types/submodules/client/smithy-client}/constants.d.ts +0 -0
  3480. /package/node_modules/@smithy/{smithy-client/dist-types → core/dist-types/submodules/client/smithy-client}/defaults-mode.d.ts +0 -0
  3481. /package/node_modules/@smithy/{smithy-client/dist-types → core/dist-types/submodules/client/smithy-client}/extensions/retry.d.ts +0 -0
  3482. /package/node_modules/@smithy/{smithy-client/dist-types → core/dist-types/submodules/client/smithy-client}/is-serializable-header-value.d.ts +0 -0
  3483. /package/node_modules/@smithy/{smithy-client/dist-types → core/dist-types/submodules/client/smithy-client}/schemaLogFilter.d.ts +0 -0
  3484. /package/node_modules/@smithy/{util-middleware/dist-types → core/dist-types/submodules/client/util-middleware}/normalizeProvider.d.ts +0 -0
  3485. /package/node_modules/@smithy/{config-resolver/dist-types → core/dist-types/submodules/config/config-resolver}/endpointsConfig/resolveCustomEndpointsConfig.d.ts +0 -0
  3486. /package/node_modules/@smithy/{config-resolver/dist-types → core/dist-types/submodules/config/config-resolver}/endpointsConfig/utils/getEndpointFromRegion.d.ts +0 -0
  3487. /package/node_modules/@smithy/{config-resolver/dist-types → core/dist-types/submodules/config/config-resolver}/regionConfig/checkRegion.d.ts +0 -0
  3488. /package/node_modules/@smithy/{config-resolver/dist-types → core/dist-types/submodules/config/config-resolver}/regionConfig/getRealRegion.d.ts +0 -0
  3489. /package/node_modules/@smithy/{config-resolver/dist-types → core/dist-types/submodules/config/config-resolver}/regionConfig/isFipsRegion.d.ts +0 -0
  3490. /package/node_modules/@smithy/{config-resolver/dist-types → core/dist-types/submodules/config/config-resolver}/regionConfig/resolveRegionConfig.d.ts +0 -0
  3491. /package/node_modules/@smithy/{config-resolver/dist-types → core/dist-types/submodules/config/config-resolver}/regionInfo/EndpointVariant.d.ts +0 -0
  3492. /package/node_modules/@smithy/{config-resolver/dist-types → core/dist-types/submodules/config/config-resolver}/regionInfo/EndpointVariantTag.d.ts +0 -0
  3493. /package/node_modules/@smithy/{config-resolver/dist-types → core/dist-types/submodules/config/config-resolver}/regionInfo/PartitionHash.d.ts +0 -0
  3494. /package/node_modules/@smithy/{config-resolver/dist-types → core/dist-types/submodules/config/config-resolver}/regionInfo/RegionHash.d.ts +0 -0
  3495. /package/node_modules/@smithy/{config-resolver/dist-types → core/dist-types/submodules/config/config-resolver}/regionInfo/getHostnameFromVariants.d.ts +0 -0
  3496. /package/node_modules/@smithy/{config-resolver/dist-types → core/dist-types/submodules/config/config-resolver}/regionInfo/getRegionInfo.d.ts +0 -0
  3497. /package/node_modules/@smithy/{config-resolver/dist-types → core/dist-types/submodules/config/config-resolver}/regionInfo/getResolvedHostname.d.ts +0 -0
  3498. /package/node_modules/@smithy/{config-resolver/dist-types → core/dist-types/submodules/config/config-resolver}/regionInfo/getResolvedPartition.d.ts +0 -0
  3499. /package/node_modules/@smithy/{config-resolver/dist-types → core/dist-types/submodules/config/config-resolver}/regionInfo/getResolvedSigningRegion.d.ts +0 -0
  3500. /package/node_modules/@smithy/{util-defaults-mode-node/dist-types → core/dist-types/submodules/config/defaults-mode}/constants.d.ts +0 -0
  3501. /package/node_modules/@smithy/{node-config-provider/dist-types → core/dist-types/submodules/config/node-config-provider}/fromEnv.d.ts +0 -0
  3502. /package/node_modules/@smithy/{node-config-provider/dist-types → core/dist-types/submodules/config/node-config-provider}/fromStatic.d.ts +0 -0
  3503. /package/node_modules/@smithy/{node-config-provider/dist-types → core/dist-types/submodules/config/node-config-provider}/getSelectorName.d.ts +0 -0
  3504. /package/node_modules/@smithy/{property-provider/dist-types → core/dist-types/submodules/config/property-provider}/memoize.d.ts +0 -0
  3505. /package/node_modules/@smithy/{shared-ini-file-loader/dist-types → core/dist-types/submodules/config/shared-ini-file-loader}/constants.d.ts +0 -0
  3506. /package/node_modules/@smithy/{shared-ini-file-loader/dist-types → core/dist-types/submodules/config/shared-ini-file-loader}/externalDataInterceptor.d.ts +0 -0
  3507. /package/node_modules/@smithy/{shared-ini-file-loader/dist-types → core/dist-types/submodules/config/shared-ini-file-loader}/getConfigFilepath.d.ts +0 -0
  3508. /package/node_modules/@smithy/{shared-ini-file-loader/dist-types → core/dist-types/submodules/config/shared-ini-file-loader}/getCredentialsFilepath.d.ts +0 -0
  3509. /package/node_modules/@smithy/{shared-ini-file-loader/dist-types → core/dist-types/submodules/config/shared-ini-file-loader}/getHomeDir.d.ts +0 -0
  3510. /package/node_modules/@smithy/{shared-ini-file-loader/dist-types → core/dist-types/submodules/config/shared-ini-file-loader}/getProfileName.d.ts +0 -0
  3511. /package/node_modules/@smithy/{shared-ini-file-loader/dist-types → core/dist-types/submodules/config/shared-ini-file-loader}/getSSOTokenFilepath.d.ts +0 -0
  3512. /package/node_modules/@smithy/{shared-ini-file-loader/dist-types → core/dist-types/submodules/config/shared-ini-file-loader}/loadSharedConfigFiles.d.ts +0 -0
  3513. /package/node_modules/@smithy/{shared-ini-file-loader/dist-types → core/dist-types/submodules/config/shared-ini-file-loader}/loadSsoSessionData.d.ts +0 -0
  3514. /package/node_modules/@smithy/{shared-ini-file-loader/dist-types → core/dist-types/submodules/config/shared-ini-file-loader}/mergeConfigFiles.d.ts +0 -0
  3515. /package/node_modules/@smithy/{shared-ini-file-loader/dist-types → core/dist-types/submodules/config/shared-ini-file-loader}/readFile.d.ts +0 -0
  3516. /package/node_modules/@smithy/{shared-ini-file-loader/dist-types → core/dist-types/submodules/config/shared-ini-file-loader}/types.d.ts +0 -0
  3517. /package/node_modules/@smithy/{util-config-provider/dist-types → core/dist-types/submodules/config/util-config-provider}/booleanSelector.d.ts +0 -0
  3518. /package/node_modules/@smithy/{util-config-provider/dist-types → core/dist-types/submodules/config/util-config-provider}/numberSelector.d.ts +0 -0
  3519. /package/node_modules/@smithy/{util-config-provider/dist-types → core/dist-types/submodules/config/util-config-provider}/types.d.ts +0 -0
  3520. /package/node_modules/@smithy/{middleware-endpoint/dist-types → core/dist-types/submodules/endpoints/middleware-endpoint}/adaptors/createConfigValueProvider.d.ts +0 -0
  3521. /package/node_modules/@smithy/{middleware-endpoint/dist-types → core/dist-types/submodules/endpoints/middleware-endpoint}/adaptors/getEndpointFromConfig.d.ts +0 -0
  3522. /package/node_modules/@smithy/{middleware-endpoint/dist-types → core/dist-types/submodules/endpoints/middleware-endpoint}/resolveEndpointRequiredConfig.d.ts +0 -0
  3523. /package/node_modules/@smithy/{middleware-endpoint/dist-types → core/dist-types/submodules/endpoints/middleware-endpoint}/service-customizations/index.d.ts +0 -0
  3524. /package/node_modules/@smithy/{middleware-endpoint/dist-types → core/dist-types/submodules/endpoints/middleware-endpoint}/service-customizations/s3.d.ts +0 -0
  3525. /package/node_modules/@smithy/{middleware-endpoint/dist-types → core/dist-types/submodules/endpoints/middleware-endpoint}/types.d.ts +0 -0
  3526. /package/node_modules/@smithy/{util-endpoints/dist-types → core/dist-types/submodules/endpoints/util-endpoints}/bdd/BinaryDecisionDiagram.d.ts +0 -0
  3527. /package/node_modules/@smithy/{util-endpoints/dist-types → core/dist-types/submodules/endpoints/util-endpoints}/debug/debugId.d.ts +0 -0
  3528. /package/node_modules/@smithy/{util-endpoints/dist-types → core/dist-types/submodules/endpoints/util-endpoints}/debug/index.d.ts +0 -0
  3529. /package/node_modules/@smithy/{util-endpoints/dist-types → core/dist-types/submodules/endpoints/util-endpoints}/debug/toDebugString.d.ts +0 -0
  3530. /package/node_modules/@smithy/{util-endpoints/dist-types → core/dist-types/submodules/endpoints/util-endpoints}/lib/booleanEquals.d.ts +0 -0
  3531. /package/node_modules/@smithy/{util-endpoints/dist-types → core/dist-types/submodules/endpoints/util-endpoints}/lib/coalesce.d.ts +0 -0
  3532. /package/node_modules/@smithy/{util-endpoints/dist-types → core/dist-types/submodules/endpoints/util-endpoints}/lib/getAttr.d.ts +0 -0
  3533. /package/node_modules/@smithy/{util-endpoints/dist-types → core/dist-types/submodules/endpoints/util-endpoints}/lib/getAttrPathList.d.ts +0 -0
  3534. /package/node_modules/@smithy/{util-endpoints/dist-types → core/dist-types/submodules/endpoints/util-endpoints}/lib/index.d.ts +0 -0
  3535. /package/node_modules/@smithy/{util-endpoints/dist-types → core/dist-types/submodules/endpoints/util-endpoints}/lib/isIpAddress.d.ts +0 -0
  3536. /package/node_modules/@smithy/{util-endpoints/dist-types → core/dist-types/submodules/endpoints/util-endpoints}/lib/isSet.d.ts +0 -0
  3537. /package/node_modules/@smithy/{util-endpoints/dist-types → core/dist-types/submodules/endpoints/util-endpoints}/lib/isValidHostLabel.d.ts +0 -0
  3538. /package/node_modules/@smithy/{util-endpoints/dist-types → core/dist-types/submodules/endpoints/util-endpoints}/lib/ite.d.ts +0 -0
  3539. /package/node_modules/@smithy/{util-endpoints/dist-types → core/dist-types/submodules/endpoints/util-endpoints}/lib/not.d.ts +0 -0
  3540. /package/node_modules/@smithy/{util-endpoints/dist-types → core/dist-types/submodules/endpoints/util-endpoints}/lib/split.d.ts +0 -0
  3541. /package/node_modules/@smithy/{util-endpoints/dist-types → core/dist-types/submodules/endpoints/util-endpoints}/lib/stringEquals.d.ts +0 -0
  3542. /package/node_modules/@smithy/{util-endpoints/dist-types → core/dist-types/submodules/endpoints/util-endpoints}/lib/substring.d.ts +0 -0
  3543. /package/node_modules/@smithy/{util-endpoints/dist-types → core/dist-types/submodules/endpoints/util-endpoints}/lib/uriEncode.d.ts +0 -0
  3544. /package/node_modules/@smithy/{util-endpoints/dist-types → core/dist-types/submodules/endpoints/util-endpoints}/types/EndpointError.d.ts +0 -0
  3545. /package/node_modules/@smithy/{util-endpoints/dist-types → core/dist-types/submodules/endpoints/util-endpoints}/types/EndpointFunctions.d.ts +0 -0
  3546. /package/node_modules/@smithy/{util-endpoints/dist-types → core/dist-types/submodules/endpoints/util-endpoints}/types/EndpointRuleObject.d.ts +0 -0
  3547. /package/node_modules/@smithy/{util-endpoints/dist-types → core/dist-types/submodules/endpoints/util-endpoints}/types/ErrorRuleObject.d.ts +0 -0
  3548. /package/node_modules/@smithy/{util-endpoints/dist-types → core/dist-types/submodules/endpoints/util-endpoints}/types/RuleSetObject.d.ts +0 -0
  3549. /package/node_modules/@smithy/{util-endpoints/dist-types → core/dist-types/submodules/endpoints/util-endpoints}/types/TreeRuleObject.d.ts +0 -0
  3550. /package/node_modules/@smithy/{util-endpoints/dist-types → core/dist-types/submodules/endpoints/util-endpoints}/types/index.d.ts +0 -0
  3551. /package/node_modules/@smithy/{util-endpoints/dist-types → core/dist-types/submodules/endpoints/util-endpoints}/types/shared.d.ts +0 -0
  3552. /package/node_modules/@smithy/{util-endpoints/dist-types → core/dist-types/submodules/endpoints/util-endpoints}/utils/callFunction.d.ts +0 -0
  3553. /package/node_modules/@smithy/{util-endpoints/dist-types → core/dist-types/submodules/endpoints/util-endpoints}/utils/customEndpointFunctions.d.ts +0 -0
  3554. /package/node_modules/@smithy/{util-endpoints/dist-types → core/dist-types/submodules/endpoints/util-endpoints}/utils/endpointFunctions.d.ts +0 -0
  3555. /package/node_modules/@smithy/{util-endpoints/dist-types → core/dist-types/submodules/endpoints/util-endpoints}/utils/evaluateConditions.d.ts +0 -0
  3556. /package/node_modules/@smithy/{util-endpoints/dist-types → core/dist-types/submodules/endpoints/util-endpoints}/utils/evaluateEndpointRule.d.ts +0 -0
  3557. /package/node_modules/@smithy/{util-endpoints/dist-types → core/dist-types/submodules/endpoints/util-endpoints}/utils/evaluateTemplate.d.ts +0 -0
  3558. /package/node_modules/@smithy/{util-endpoints/dist-types → core/dist-types/submodules/endpoints/util-endpoints}/utils/evaluateTreeRule.d.ts +0 -0
  3559. /package/node_modules/@smithy/{util-endpoints/dist-types → core/dist-types/submodules/endpoints/util-endpoints}/utils/getEndpointProperty.d.ts +0 -0
  3560. /package/node_modules/@smithy/{util-endpoints/dist-types → core/dist-types/submodules/endpoints/util-endpoints}/utils/getReferenceValue.d.ts +0 -0
  3561. /package/node_modules/@smithy/{util-endpoints/dist-types → core/dist-types/submodules/endpoints/util-endpoints}/utils/index.d.ts +0 -0
  3562. /package/node_modules/@smithy/{eventstream-codec/dist-types → core/dist-types/submodules/event-streams/eventstream-codec}/HeaderMarshaller.d.ts +0 -0
  3563. /package/node_modules/@smithy/{eventstream-codec/dist-types → core/dist-types/submodules/event-streams/eventstream-codec}/Int64.d.ts +0 -0
  3564. /package/node_modules/@smithy/{eventstream-codec/dist-types → core/dist-types/submodules/event-streams/eventstream-codec}/Message.d.ts +0 -0
  3565. /package/node_modules/@smithy/{eventstream-codec/dist-types → core/dist-types/submodules/event-streams/eventstream-codec}/MessageDecoderStream.d.ts +0 -0
  3566. /package/node_modules/@smithy/{eventstream-codec/dist-types → core/dist-types/submodules/event-streams/eventstream-codec}/MessageEncoderStream.d.ts +0 -0
  3567. /package/node_modules/@smithy/{eventstream-codec/dist-types → core/dist-types/submodules/event-streams/eventstream-codec}/SmithyMessageDecoderStream.d.ts +0 -0
  3568. /package/node_modules/@smithy/{eventstream-codec/dist-types → core/dist-types/submodules/event-streams/eventstream-codec}/SmithyMessageEncoderStream.d.ts +0 -0
  3569. /package/node_modules/@smithy/{eventstream-codec/dist-types → core/dist-types/submodules/event-streams/eventstream-codec}/TestVectors.fixture.d.ts +0 -0
  3570. /package/node_modules/@smithy/{eventstream-codec/dist-types → core/dist-types/submodules/event-streams/eventstream-codec}/splitMessage.d.ts +0 -0
  3571. /package/node_modules/@smithy/{eventstream-codec/dist-types → core/dist-types/submodules/event-streams/eventstream-codec}/vectorTypes.fixture.d.ts +0 -0
  3572. /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
  3573. /package/node_modules/@smithy/{eventstream-serde-universal/dist-types → core/dist-types/submodules/event-streams/eventstream-serde-universal}/getChunkedStream.d.ts +0 -0
  3574. /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
  3575. /package/node_modules/@smithy/{protocol-http/dist-types → core/dist-types/submodules/protocols/protocol-http}/Fields.d.ts +0 -0
  3576. /package/node_modules/@smithy/{protocol-http/dist-types → core/dist-types/submodules/protocols/protocol-http}/httpResponse.d.ts +0 -0
  3577. /package/node_modules/@smithy/{protocol-http/dist-types → core/dist-types/submodules/protocols/protocol-http}/isValidHostname.d.ts +0 -0
  3578. /package/node_modules/@smithy/{protocol-http/dist-types → core/dist-types/submodules/protocols/protocol-http}/types.d.ts +0 -0
  3579. /package/node_modules/@smithy/{querystring-builder/dist-types/index.d.ts → core/dist-types/submodules/protocols/querystring-builder/buildQueryString.d.ts} +0 -0
  3580. /package/node_modules/@smithy/{querystring-parser/dist-types/index.d.ts → core/dist-types/submodules/protocols/querystring-parser/parseQueryString.d.ts} +0 -0
  3581. /package/node_modules/@smithy/{url-parser/dist-types/index.d.ts → core/dist-types/submodules/protocols/url-parser/parseUrl.d.ts} +0 -0
  3582. /package/node_modules/@smithy/{util-uri-escape/dist-types → core/dist-types/submodules/protocols/util-uri-escape}/escape-uri-path.d.ts +0 -0
  3583. /package/node_modules/@smithy/{util-uri-escape/dist-types → core/dist-types/submodules/protocols/util-uri-escape}/escape-uri.d.ts +0 -0
  3584. /package/node_modules/@smithy/{middleware-retry/dist-types → core/dist-types/submodules/retry/middleware-retry}/longPollMiddleware.d.ts +0 -0
  3585. /package/node_modules/@smithy/{middleware-retry/dist-types → core/dist-types/submodules/retry/middleware-retry}/omitRetryHeadersMiddleware.d.ts +0 -0
  3586. /package/node_modules/@smithy/{middleware-retry/dist-types → core/dist-types/submodules/retry/middleware-retry}/parseRetryAfterHeader.d.ts +0 -0
  3587. /package/node_modules/@smithy/{middleware-retry/dist-types → core/dist-types/submodules/retry/middleware-retry}/retry-pre-sra-deprecated/StandardRetryStrategy.d.ts +0 -0
  3588. /package/node_modules/@smithy/{middleware-retry/dist-types → core/dist-types/submodules/retry/middleware-retry}/retry-pre-sra-deprecated/defaultRetryQuota.d.ts +0 -0
  3589. /package/node_modules/@smithy/{middleware-retry/dist-types → core/dist-types/submodules/retry/middleware-retry}/retry-pre-sra-deprecated/delayDecider.d.ts +0 -0
  3590. /package/node_modules/@smithy/{middleware-retry/dist-types → core/dist-types/submodules/retry/middleware-retry}/retry-pre-sra-deprecated/retryDecider.d.ts +0 -0
  3591. /package/node_modules/@smithy/{middleware-retry/dist-types → core/dist-types/submodules/retry/middleware-retry}/retry-pre-sra-deprecated/types.d.ts +0 -0
  3592. /package/node_modules/@smithy/{middleware-retry/dist-types → core/dist-types/submodules/retry/middleware-retry}/util.d.ts +0 -0
  3593. /package/node_modules/@smithy/{service-error-classification/dist-types → core/dist-types/submodules/retry/service-error-classification}/constants.d.ts +0 -0
  3594. /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
  3595. /package/node_modules/@smithy/{util-retry/dist-types → core/dist-types/submodules/retry/util-retry}/ConfiguredRetryStrategy.d.ts +0 -0
  3596. /package/node_modules/@smithy/{util-retry/dist-types → core/dist-types/submodules/retry/util-retry}/DefaultRateLimiter.d.ts +0 -0
  3597. /package/node_modules/@smithy/{util-retry/dist-types → core/dist-types/submodules/retry/util-retry}/DefaultRetryBackoffStrategy.d.ts +0 -0
  3598. /package/node_modules/@smithy/{util-retry/dist-types → core/dist-types/submodules/retry/util-retry}/DefaultRetryToken.d.ts +0 -0
  3599. /package/node_modules/@smithy/{util-retry/dist-types → core/dist-types/submodules/retry/util-retry}/StandardRetryStrategy.d.ts +0 -0
  3600. /package/node_modules/@smithy/{util-retry/dist-types → core/dist-types/submodules/retry/util-retry}/config.d.ts +0 -0
  3601. /package/node_modules/@smithy/{util-retry/dist-types → core/dist-types/submodules/retry/util-retry}/types.d.ts +0 -0
  3602. /package/node_modules/@smithy/{hash-node/dist-types/index.d.ts → core/dist-types/submodules/serde/hash-node/hash-node.d.ts} +0 -0
  3603. /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
  3604. /package/node_modules/@smithy/{middleware-serde/dist-types → core/dist-types/submodules/serde/middleware-serde}/deserializerMiddleware.d.ts +0 -0
  3605. /package/node_modules/@smithy/{middleware-serde/dist-types → core/dist-types/submodules/serde/middleware-serde}/serdePlugin.d.ts +0 -0
  3606. /package/node_modules/@smithy/{middleware-serde/dist-types → core/dist-types/submodules/serde/middleware-serde}/serializerMiddleware.d.ts +0 -0
  3607. /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
  3608. /package/node_modules/@smithy/{util-base64/dist-types → core/dist-types/submodules/serde/util-base64}/fromBase64.browser.d.ts +0 -0
  3609. /package/node_modules/@smithy/{util-base64/dist-types → core/dist-types/submodules/serde/util-base64}/fromBase64.d.ts +0 -0
  3610. /package/node_modules/@smithy/{util-base64/dist-types → core/dist-types/submodules/serde/util-base64}/toBase64.browser.d.ts +0 -0
  3611. /package/node_modules/@smithy/{util-base64/dist-types → core/dist-types/submodules/serde/util-base64}/toBase64.d.ts +0 -0
  3612. /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
  3613. /package/node_modules/@smithy/{util-body-length-node/dist-types → core/dist-types/submodules/serde/util-body-length}/calculateBodyLength.d.ts +0 -0
  3614. /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
  3615. /package/node_modules/@smithy/{util-stream/dist-types → core/dist-types/submodules/serde/util-stream}/ByteArrayCollector.d.ts +0 -0
  3616. /package/node_modules/@smithy/{util-stream/dist-types → core/dist-types/submodules/serde/util-stream}/checksum/ChecksumStream.browser.d.ts +0 -0
  3617. /package/node_modules/@smithy/{util-stream/dist-types → core/dist-types/submodules/serde/util-stream}/getAwsChunkedEncodingStream.browser.d.ts +0 -0
  3618. /package/node_modules/@smithy/{util-stream/dist-types → core/dist-types/submodules/serde/util-stream}/headStream.browser.d.ts +0 -0
  3619. /package/node_modules/@smithy/{util-stream/dist-types → core/dist-types/submodules/serde/util-stream}/sdk-stream-mixin.browser.d.ts +0 -0
  3620. /package/node_modules/@smithy/{util-stream/dist-types → core/dist-types/submodules/serde/util-stream}/splitStream.browser.d.ts +0 -0
  3621. /package/node_modules/@smithy/{util-stream/dist-types → core/dist-types/submodules/serde/util-stream}/stream-type-check.d.ts +0 -0
  3622. /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
  3623. /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
  3624. /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
  3625. /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
  3626. /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
  3627. /package/node_modules/{@aws-crypto/sha256-browser/node_modules/@smithy → @smithy}/util-utf8/dist-cjs/fromUtf8.browser.js +0 -0
  3628. /package/node_modules/{@aws-crypto/sha256-browser/node_modules/@smithy → @smithy}/util-utf8/dist-cjs/fromUtf8.js +0 -0
  3629. /package/node_modules/{@aws-crypto/sha256-browser/node_modules/@smithy → @smithy}/util-utf8/dist-cjs/toUint8Array.js +0 -0
  3630. /package/node_modules/{@aws-crypto/sha256-browser/node_modules/@smithy → @smithy}/util-utf8/dist-cjs/toUtf8.browser.js +0 -0
  3631. /package/node_modules/{@aws-crypto/sha256-browser/node_modules/@smithy → @smithy}/util-utf8/dist-cjs/toUtf8.js +0 -0
@@ -1,4585 +0,0 @@
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 "@earendil-works/pi-ai";
10
- import { CombinedAutocompleteProvider, Container, fuzzyFilter, Loader, Markdown, matchesKey, ProcessTerminal, Spacer, setKeybindings, Text, TruncatedText, TUI, visibleWidth, } from "@earendil-works/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 { getPiUserAgent } from "../../utils/pi-user-agent.js";
30
- import { killTrackedDetachedChildren } from "../../utils/shell.js";
31
- import { ensureTool } from "../../utils/tools-manager.js";
32
- import { checkForNewPiVersion } from "../../utils/version-check.js";
33
- import { ArminComponent } from "./components/armin.js";
34
- import { AssistantMessageComponent } from "./components/assistant-message.js";
35
- import { BashExecutionComponent } from "./components/bash-execution.js";
36
- import { BorderedLoader } from "./components/bordered-loader.js";
37
- import { BranchSummaryMessageComponent } from "./components/branch-summary-message.js";
38
- import { CompactionSummaryMessageComponent } from "./components/compaction-summary-message.js";
39
- import { CountdownTimer } from "./components/countdown-timer.js";
40
- import { CustomEditor } from "./components/custom-editor.js";
41
- import { CustomMessageComponent } from "./components/custom-message.js";
42
- import { DaxnutsComponent } from "./components/daxnuts.js";
43
- import { DynamicBorder } from "./components/dynamic-border.js";
44
- import { EarendilAnnouncementComponent } from "./components/earendil-announcement.js";
45
- import { ExtensionEditorComponent } from "./components/extension-editor.js";
46
- import { ExtensionInputComponent } from "./components/extension-input.js";
47
- import { ExtensionSelectorComponent } from "./components/extension-selector.js";
48
- import { FooterComponent } from "./components/footer.js";
49
- import { keyHint, keyText, rawKeyHint } from "./components/keybinding-hints.js";
50
- import { LoginDialogComponent } from "./components/login-dialog.js";
51
- import { ModelSelectorComponent } from "./components/model-selector.js";
52
- import { OAuthSelectorComponent } from "./components/oauth-selector.js";
53
- import { ScopedModelsSelectorComponent } from "./components/scoped-models-selector.js";
54
- import { SessionSelectorComponent } from "./components/session-selector.js";
55
- import { SettingsSelectorComponent } from "./components/settings-selector.js";
56
- import { SkillInvocationMessageComponent } from "./components/skill-invocation-message.js";
57
- import { ToolExecutionComponent } from "./components/tool-execution.js";
58
- import { TreeSelectorComponent } from "./components/tree-selector.js";
59
- import { UserMessageComponent } from "./components/user-message.js";
60
- import { UserMessageSelectorComponent } from "./components/user-message-selector.js";
61
- import { getAvailableThemes, getAvailableThemesWithPaths, getEditorTheme, getMarkdownTheme, getThemeByName, initTheme, onThemeChange, setRegisteredThemes, setTheme, setThemeInstance, stopThemeWatcher, Theme, theme, } from "./theme/theme.js";
62
- function isExpandable(obj) {
63
- return typeof obj === "object" && obj !== null && "setExpanded" in obj && typeof obj.setExpanded === "function";
64
- }
65
- class ExpandableText extends Text {
66
- getCollapsedText;
67
- getExpandedText;
68
- constructor(getCollapsedText, getExpandedText, expanded = false, paddingX = 0, paddingY = 0) {
69
- super(expanded ? getExpandedText() : getCollapsedText(), paddingX, paddingY);
70
- this.getCollapsedText = getCollapsedText;
71
- this.getExpandedText = getExpandedText;
72
- }
73
- setExpanded(expanded) {
74
- this.setText(expanded ? this.getExpandedText() : this.getCollapsedText());
75
- }
76
- }
77
- const DEAD_TERMINAL_ERROR_CODES = new Set(["EIO", "EPIPE", "ENOTCONN"]);
78
- function isDeadTerminalError(error) {
79
- if (!error || typeof error !== "object" || !("code" in error)) {
80
- return false;
81
- }
82
- const code = error.code;
83
- return code !== undefined && DEAD_TERMINAL_ERROR_CODES.has(code);
84
- }
85
- 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.";
86
- function isAnthropicSubscriptionAuthKey(apiKey) {
87
- return typeof apiKey === "string" && apiKey.startsWith("sk-ant-oat");
88
- }
89
- function isUnknownModel(model) {
90
- return !!model && model.provider === "unknown" && model.id === "unknown" && model.api === "unknown";
91
- }
92
- function hasDefaultModelProvider(providerId) {
93
- return providerId in defaultModelPerProvider;
94
- }
95
- const BEDROCK_PROVIDER_ID = "amazon-bedrock";
96
- const BUILT_IN_MODEL_PROVIDERS = new Set(getProviders());
97
- export function isApiKeyLoginProvider(providerId, oauthProviderIds, builtInProviderIds = BUILT_IN_MODEL_PROVIDERS) {
98
- if (BUILT_IN_PROVIDER_DISPLAY_NAMES[providerId]) {
99
- return true;
100
- }
101
- if (builtInProviderIds.has(providerId)) {
102
- return false;
103
- }
104
- return !oauthProviderIds.has(providerId);
105
- }
106
- export class InteractiveMode {
107
- options;
108
- runtimeHost;
109
- ui;
110
- chatContainer;
111
- pendingMessagesContainer;
112
- statusContainer;
113
- defaultEditor;
114
- editor;
115
- editorComponentFactory;
116
- autocompleteProvider;
117
- autocompleteProviderWrappers = [];
118
- fdPath;
119
- editorContainer;
120
- footer;
121
- footerDataProvider;
122
- // Stored so the same manager can be injected into custom editors, selectors, and extension UI.
123
- keybindings;
124
- version;
125
- isInitialized = false;
126
- onInputCallback;
127
- loadingAnimation = undefined;
128
- workingMessage = undefined;
129
- workingVisible = true;
130
- workingIndicatorOptions = undefined;
131
- defaultWorkingMessage = "Working...";
132
- defaultHiddenThinkingLabel = "Thinking...";
133
- hiddenThinkingLabel = this.defaultHiddenThinkingLabel;
134
- lastSigintTime = 0;
135
- lastEscapeTime = 0;
136
- changelogMarkdown = undefined;
137
- startupNoticesShown = false;
138
- anthropicSubscriptionWarningShown = false;
139
- // Status line tracking (for mutating immediately-sequential status updates)
140
- lastStatusSpacer = undefined;
141
- lastStatusText = undefined;
142
- // Streaming message tracking
143
- streamingComponent = undefined;
144
- streamingMessage = undefined;
145
- // Tool execution tracking: toolCallId -> component
146
- pendingTools = new Map();
147
- // Tool output expansion state
148
- toolOutputExpanded = false;
149
- // Thinking block visibility state
150
- hideThinkingBlock = false;
151
- // Skill commands: command name -> skill file path
152
- skillCommands = new Map();
153
- // Agent subscription unsubscribe function
154
- unsubscribe;
155
- signalCleanupHandlers = [];
156
- // Track if editor is in bash mode (text starts with !)
157
- isBashMode = false;
158
- // Track current bash execution component
159
- bashComponent = undefined;
160
- // Track pending bash components (shown in pending area, moved to chat on submit)
161
- pendingBashComponents = [];
162
- // Auto-compaction state
163
- autoCompactionLoader = undefined;
164
- autoCompactionEscapeHandler;
165
- // Auto-retry state
166
- retryLoader = undefined;
167
- retryCountdown = undefined;
168
- retryEscapeHandler;
169
- // Messages queued while compaction is running
170
- compactionQueuedMessages = [];
171
- // Shutdown state
172
- shutdownRequested = false;
173
- // Extension UI state
174
- extensionSelector = undefined;
175
- extensionInput = undefined;
176
- extensionEditor = undefined;
177
- extensionTerminalInputUnsubscribers = new Set();
178
- // Extension widgets (components rendered above/below the editor)
179
- extensionWidgetsAbove = new Map();
180
- extensionWidgetsBelow = new Map();
181
- widgetContainerAbove;
182
- widgetContainerBelow;
183
- // Custom footer from extension (undefined = use built-in footer)
184
- customFooter = undefined;
185
- // Header container that holds the built-in or custom header
186
- headerContainer;
187
- // Built-in header (logo + keybinding hints + changelog)
188
- builtInHeader = undefined;
189
- // Custom header from extension (undefined = use built-in header)
190
- customHeader = undefined;
191
- // Convenience accessors
192
- get session() {
193
- return this.runtimeHost.session;
194
- }
195
- get agent() {
196
- return this.session.agent;
197
- }
198
- get sessionManager() {
199
- return this.session.sessionManager;
200
- }
201
- get settingsManager() {
202
- return this.session.settingsManager;
203
- }
204
- constructor(runtimeHost, options = {}) {
205
- this.options = options;
206
- this.runtimeHost = runtimeHost;
207
- this.runtimeHost.setBeforeSessionInvalidate(() => {
208
- this.resetExtensionUI();
209
- });
210
- this.runtimeHost.setRebindSession(async () => {
211
- await this.rebindCurrentSession();
212
- });
213
- this.version = VERSION;
214
- this.ui = new TUI(new ProcessTerminal(), this.settingsManager.getShowHardwareCursor());
215
- this.ui.setClearOnShrink(this.settingsManager.getClearOnShrink());
216
- this.headerContainer = new Container();
217
- this.chatContainer = new Container();
218
- this.pendingMessagesContainer = new Container();
219
- this.statusContainer = new Container();
220
- this.widgetContainerAbove = new Container();
221
- this.widgetContainerBelow = new Container();
222
- this.keybindings = KeybindingsManager.create();
223
- setKeybindings(this.keybindings);
224
- const editorPaddingX = this.settingsManager.getEditorPaddingX();
225
- const autocompleteMaxVisible = this.settingsManager.getAutocompleteMaxVisible();
226
- this.defaultEditor = new CustomEditor(this.ui, getEditorTheme(), this.keybindings, {
227
- paddingX: editorPaddingX,
228
- autocompleteMaxVisible,
229
- });
230
- this.editor = this.defaultEditor;
231
- this.editorContainer = new Container();
232
- this.editorContainer.addChild(this.editor);
233
- this.footerDataProvider = new FooterDataProvider(this.sessionManager.getCwd());
234
- this.footer = new FooterComponent(this.session, this.footerDataProvider);
235
- this.footer.setAutoCompactEnabled(this.session.autoCompactionEnabled);
236
- // Load hide thinking block setting
237
- this.hideThinkingBlock = this.settingsManager.getHideThinkingBlock();
238
- // Register themes from resource loader and initialize
239
- setRegisteredThemes(this.session.resourceLoader.getThemes().themes);
240
- initTheme(this.settingsManager.getTheme(), true);
241
- }
242
- getAutocompleteSourceTag(sourceInfo) {
243
- if (!sourceInfo) {
244
- return undefined;
245
- }
246
- const scopePrefix = sourceInfo.scope === "user" ? "u" : sourceInfo.scope === "project" ? "p" : "t";
247
- const source = sourceInfo.source.trim();
248
- if (source === "auto" || source === "local" || source === "cli") {
249
- return scopePrefix;
250
- }
251
- if (source.startsWith("npm:")) {
252
- return `${scopePrefix}:${source}`;
253
- }
254
- const gitSource = parseGitUrl(source);
255
- if (gitSource) {
256
- const ref = gitSource.ref ? `@${gitSource.ref}` : "";
257
- return `${scopePrefix}:git:${gitSource.host}/${gitSource.path}${ref}`;
258
- }
259
- return scopePrefix;
260
- }
261
- prefixAutocompleteDescription(description, sourceInfo) {
262
- const sourceTag = this.getAutocompleteSourceTag(sourceInfo);
263
- if (!sourceTag) {
264
- return description;
265
- }
266
- return description ? `[${sourceTag}] ${description}` : `[${sourceTag}]`;
267
- }
268
- getBuiltInCommandConflictDiagnostics(extensionRunner) {
269
- const builtinNames = new Set(BUILTIN_SLASH_COMMANDS.map((command) => command.name));
270
- return extensionRunner
271
- .getRegisteredCommands()
272
- .filter((command) => builtinNames.has(command.name))
273
- .map((command) => ({
274
- type: "warning",
275
- message: command.invocationName === command.name
276
- ? `Extension command '/${command.name}' conflicts with built-in interactive command. Skipping in autocomplete.`
277
- : `Extension command '/${command.name}' conflicts with built-in interactive command. Available as '/${command.invocationName}'.`,
278
- path: command.sourceInfo.path,
279
- }));
280
- }
281
- createBaseAutocompleteProvider() {
282
- // Define commands for autocomplete
283
- const slashCommands = BUILTIN_SLASH_COMMANDS.map((command) => ({
284
- name: command.name,
285
- description: command.description,
286
- }));
287
- const modelCommand = slashCommands.find((command) => command.name === "model");
288
- if (modelCommand) {
289
- modelCommand.getArgumentCompletions = (prefix) => {
290
- // Get available models (scoped or from registry)
291
- const models = this.session.scopedModels.length > 0
292
- ? this.session.scopedModels.map((s) => s.model)
293
- : this.session.modelRegistry.getAvailable();
294
- if (models.length === 0)
295
- return null;
296
- // Create items with provider/id format
297
- const items = models.map((m) => ({
298
- id: m.id,
299
- provider: m.provider,
300
- label: `${m.provider}/${m.id}`,
301
- }));
302
- // Fuzzy filter by model ID + provider (allows "opus anthropic" to match)
303
- const filtered = fuzzyFilter(items, prefix, (item) => `${item.id} ${item.provider}`);
304
- if (filtered.length === 0)
305
- return null;
306
- return filtered.map((item) => ({
307
- value: item.label,
308
- label: item.id,
309
- description: item.provider,
310
- }));
311
- };
312
- }
313
- // Convert prompt templates to SlashCommand format for autocomplete
314
- const templateCommands = this.session.promptTemplates.map((cmd) => ({
315
- name: cmd.name,
316
- description: this.prefixAutocompleteDescription(cmd.description, cmd.sourceInfo),
317
- ...(cmd.argumentHint && { argumentHint: cmd.argumentHint }),
318
- }));
319
- // Convert extension commands to SlashCommand format
320
- const builtinCommandNames = new Set(slashCommands.map((c) => c.name));
321
- const extensionCommands = this.session.extensionRunner
322
- .getRegisteredCommands()
323
- .filter((cmd) => !builtinCommandNames.has(cmd.name))
324
- .map((cmd) => ({
325
- name: cmd.invocationName,
326
- description: this.prefixAutocompleteDescription(cmd.description, cmd.sourceInfo),
327
- getArgumentCompletions: cmd.getArgumentCompletions,
328
- }));
329
- // Build skill commands from session.skills (if enabled)
330
- this.skillCommands.clear();
331
- const skillCommandList = [];
332
- if (this.settingsManager.getEnableSkillCommands()) {
333
- for (const skill of this.session.resourceLoader.getSkills().skills) {
334
- const commandName = `skill:${skill.name}`;
335
- this.skillCommands.set(commandName, skill.filePath);
336
- skillCommandList.push({
337
- name: commandName,
338
- description: this.prefixAutocompleteDescription(skill.description, skill.sourceInfo),
339
- });
340
- }
341
- }
342
- return new CombinedAutocompleteProvider([...slashCommands, ...templateCommands, ...extensionCommands, ...skillCommandList], this.sessionManager.getCwd(), this.fdPath);
343
- }
344
- setupAutocompleteProvider() {
345
- let provider = this.createBaseAutocompleteProvider();
346
- for (const wrapProvider of this.autocompleteProviderWrappers) {
347
- provider = wrapProvider(provider);
348
- }
349
- this.autocompleteProvider = provider;
350
- this.defaultEditor.setAutocompleteProvider(provider);
351
- if (this.editor !== this.defaultEditor) {
352
- this.editor.setAutocompleteProvider?.(provider);
353
- }
354
- }
355
- showStartupNoticesIfNeeded() {
356
- if (this.startupNoticesShown) {
357
- return;
358
- }
359
- this.startupNoticesShown = true;
360
- if (!this.changelogMarkdown) {
361
- return;
362
- }
363
- if (this.chatContainer.children.length > 0) {
364
- this.chatContainer.addChild(new Spacer(1));
365
- }
366
- this.chatContainer.addChild(new DynamicBorder());
367
- if (this.settingsManager.getCollapseChangelog()) {
368
- const versionMatch = this.changelogMarkdown.match(/##\s+\[?(\d+\.\d+\.\d+)\]?/);
369
- const latestVersion = versionMatch ? versionMatch[1] : this.version;
370
- const condensedText = `Updated to v${latestVersion}. Use ${theme.bold("/changelog")} to view full changelog.`;
371
- this.chatContainer.addChild(new Text(condensedText, 1, 0));
372
- }
373
- else {
374
- this.chatContainer.addChild(new Text(theme.bold(theme.fg("accent", "What's New")), 1, 0));
375
- this.chatContainer.addChild(new Spacer(1));
376
- this.chatContainer.addChild(new Markdown(this.changelogMarkdown.trim(), 1, 0, this.getMarkdownThemeWithSettings()));
377
- this.chatContainer.addChild(new Spacer(1));
378
- }
379
- this.chatContainer.addChild(new DynamicBorder());
380
- }
381
- async init() {
382
- if (this.isInitialized)
383
- return;
384
- this.registerSignalHandlers();
385
- // Load changelog (only show new entries, skip for resumed sessions)
386
- this.changelogMarkdown = this.getChangelogForDisplay();
387
- // Ensure fd and rg are available (downloads if missing, adds to PATH via getBinDir)
388
- // Both are needed: fd for autocomplete, rg for grep tool and bash commands
389
- const [fdPath] = await Promise.all([ensureTool("fd"), ensureTool("rg")]);
390
- this.fdPath = fdPath;
391
- // Add header container as first child
392
- this.ui.addChild(this.headerContainer);
393
- // Add header with keybindings from config (unless silenced)
394
- if (this.options.verbose || !this.settingsManager.getQuietStartup()) {
395
- const logo = theme.bold(theme.fg("accent", APP_NAME)) + theme.fg("dim", ` v${this.version}`);
396
- // Build startup instructions using keybinding hint helpers
397
- const hint = (keybinding, description) => keyHint(keybinding, description);
398
- const expandedInstructions = [
399
- hint("app.interrupt", "to interrupt"),
400
- hint("app.clear", "to clear"),
401
- rawKeyHint(`${keyText("app.clear")} twice`, "to exit"),
402
- hint("app.exit", "to exit (empty)"),
403
- hint("app.suspend", "to suspend"),
404
- keyHint("tui.editor.deleteToLineEnd", "to delete to end"),
405
- hint("app.thinking.cycle", "to cycle thinking level"),
406
- rawKeyHint(`${keyText("app.model.cycleForward")}/${keyText("app.model.cycleBackward")}`, "to cycle models"),
407
- hint("app.model.select", "to select model"),
408
- hint("app.tools.expand", "to expand tools"),
409
- hint("app.thinking.toggle", "to expand thinking"),
410
- hint("app.editor.external", "for external editor"),
411
- rawKeyHint("/", "for commands"),
412
- rawKeyHint("!", "to run bash"),
413
- rawKeyHint("!!", "to run bash (no context)"),
414
- hint("app.message.followUp", "to queue follow-up"),
415
- hint("app.message.dequeue", "to edit all queued messages"),
416
- hint("app.clipboard.pasteImage", "to paste image"),
417
- rawKeyHint("drop files", "to attach"),
418
- ].join("\n");
419
- const compactInstructions = [
420
- hint("app.interrupt", "interrupt"),
421
- rawKeyHint(`${keyText("app.clear")}/${keyText("app.exit")}`, "clear/exit"),
422
- rawKeyHint("/", "commands"),
423
- rawKeyHint("!", "bash"),
424
- hint("app.tools.expand", "more"),
425
- ].join(theme.fg("muted", " · "));
426
- const compactOnboarding = theme.fg("dim", `Press ${keyText("app.tools.expand")} to show full startup help and loaded resources.`);
427
- const onboarding = theme.fg("dim", `Pi can explain its own features and look up its docs. Ask it how to use or extend Pi.`);
428
- this.builtInHeader = new ExpandableText(() => `${logo}\n${compactInstructions}\n${compactOnboarding}\n\n${onboarding}`, () => `${logo}\n${expandedInstructions}\n\n${onboarding}`, this.getStartupExpansionState(), 1, 0);
429
- // Setup UI layout
430
- this.headerContainer.addChild(new Spacer(1));
431
- this.headerContainer.addChild(this.builtInHeader);
432
- this.headerContainer.addChild(new Spacer(1));
433
- }
434
- else {
435
- // Minimal header when silenced
436
- this.builtInHeader = new Text("", 0, 0);
437
- this.headerContainer.addChild(this.builtInHeader);
438
- }
439
- this.ui.addChild(this.chatContainer);
440
- this.ui.addChild(this.pendingMessagesContainer);
441
- this.ui.addChild(this.statusContainer);
442
- this.renderWidgets(); // Initialize with default spacer
443
- this.ui.addChild(this.widgetContainerAbove);
444
- this.ui.addChild(this.editorContainer);
445
- this.ui.addChild(this.widgetContainerBelow);
446
- this.ui.addChild(this.footer);
447
- this.ui.setFocus(this.editor);
448
- this.setupKeyHandlers();
449
- this.setupEditorSubmitHandler();
450
- // Start the UI before initializing extensions so session_start handlers can use interactive dialogs
451
- this.ui.start();
452
- this.isInitialized = true;
453
- // Initialize extensions first so resources are shown before messages
454
- await this.rebindCurrentSession();
455
- // Render initial messages AFTER showing loaded resources
456
- this.renderInitialMessages();
457
- // Set up theme file watcher
458
- onThemeChange(() => {
459
- this.ui.invalidate();
460
- this.updateEditorBorderColor();
461
- this.ui.requestRender();
462
- });
463
- // Set up git branch watcher (uses provider instead of footer)
464
- this.footerDataProvider.onBranchChange(() => {
465
- this.ui.requestRender();
466
- });
467
- // Initialize available provider count for footer display
468
- await this.updateAvailableProviderCount();
469
- }
470
- /**
471
- * Update terminal title with session name and cwd.
472
- */
473
- updateTerminalTitle() {
474
- const cwdBasename = path.basename(this.sessionManager.getCwd());
475
- const sessionName = this.sessionManager.getSessionName();
476
- if (sessionName) {
477
- this.ui.terminal.setTitle(`${APP_TITLE} - ${sessionName} - ${cwdBasename}`);
478
- }
479
- else {
480
- this.ui.terminal.setTitle(`${APP_TITLE} - ${cwdBasename}`);
481
- }
482
- }
483
- /**
484
- * Run the interactive mode. This is the main entry point.
485
- * Initializes the UI, shows warnings, processes initial messages, and starts the interactive loop.
486
- */
487
- async run() {
488
- await this.init();
489
- // Start version check asynchronously
490
- checkForNewPiVersion(this.version).then((newVersion) => {
491
- if (newVersion) {
492
- this.showNewVersionNotification(newVersion);
493
- }
494
- });
495
- // Start package update check asynchronously
496
- this.checkForPackageUpdates().then((updates) => {
497
- if (updates.length > 0) {
498
- this.showPackageUpdateNotification(updates);
499
- }
500
- });
501
- // Check tmux keyboard setup asynchronously
502
- this.checkTmuxKeyboardSetup().then((warning) => {
503
- if (warning) {
504
- this.showWarning(warning);
505
- }
506
- });
507
- // Show startup warnings
508
- const { migratedProviders, modelFallbackMessage, initialMessage, initialImages, initialMessages } = this.options;
509
- if (migratedProviders && migratedProviders.length > 0) {
510
- this.showWarning(`Migrated credentials to auth.json: ${migratedProviders.join(", ")}`);
511
- }
512
- const modelsJsonError = this.session.modelRegistry.getError();
513
- if (modelsJsonError) {
514
- this.showError(`models.json error: ${modelsJsonError}`);
515
- }
516
- if (modelFallbackMessage) {
517
- this.showWarning(modelFallbackMessage);
518
- }
519
- void this.maybeWarnAboutAnthropicSubscriptionAuth();
520
- // Process initial messages
521
- if (initialMessage) {
522
- try {
523
- await this.session.prompt(initialMessage, { images: initialImages });
524
- }
525
- catch (error) {
526
- const errorMessage = error instanceof Error ? error.message : "Unknown error occurred";
527
- this.showError(errorMessage);
528
- }
529
- }
530
- if (initialMessages) {
531
- for (const message of initialMessages) {
532
- try {
533
- await this.session.prompt(message);
534
- }
535
- catch (error) {
536
- const errorMessage = error instanceof Error ? error.message : "Unknown error occurred";
537
- this.showError(errorMessage);
538
- }
539
- }
540
- }
541
- // Main interactive loop
542
- while (true) {
543
- const userInput = await this.getUserInput();
544
- try {
545
- await this.session.prompt(userInput);
546
- }
547
- catch (error) {
548
- const errorMessage = error instanceof Error ? error.message : "Unknown error occurred";
549
- this.showError(errorMessage);
550
- }
551
- }
552
- }
553
- async checkForPackageUpdates() {
554
- if (process.env.PI_OFFLINE) {
555
- return [];
556
- }
557
- try {
558
- const packageManager = new DefaultPackageManager({
559
- cwd: this.sessionManager.getCwd(),
560
- agentDir: getAgentDir(),
561
- settingsManager: this.settingsManager,
562
- });
563
- const updates = await packageManager.checkForAvailableUpdates();
564
- return updates.map((update) => update.displayName);
565
- }
566
- catch {
567
- return [];
568
- }
569
- }
570
- async checkTmuxKeyboardSetup() {
571
- if (!process.env.TMUX)
572
- return undefined;
573
- const runTmuxShow = (option) => {
574
- return new Promise((resolve) => {
575
- const proc = spawn("tmux", ["show", "-gv", option], {
576
- stdio: ["ignore", "pipe", "ignore"],
577
- });
578
- let stdout = "";
579
- const timer = setTimeout(() => {
580
- proc.kill();
581
- resolve(undefined);
582
- }, 2000);
583
- proc.stdout?.on("data", (data) => {
584
- stdout += data.toString();
585
- });
586
- proc.on("error", () => {
587
- clearTimeout(timer);
588
- resolve(undefined);
589
- });
590
- proc.on("close", (code) => {
591
- clearTimeout(timer);
592
- resolve(code === 0 ? stdout.trim() : undefined);
593
- });
594
- });
595
- };
596
- const [extendedKeys, extendedKeysFormat] = await Promise.all([
597
- runTmuxShow("extended-keys"),
598
- runTmuxShow("extended-keys-format"),
599
- ]);
600
- // If we couldn't query tmux (timeout, sandbox, etc.), don't warn
601
- if (extendedKeys === undefined)
602
- return undefined;
603
- if (extendedKeys !== "on" && extendedKeys !== "always") {
604
- return "tmux extended-keys is off. Modified Enter keys may not work. Add `set -g extended-keys on` to ~/.tmux.conf and restart tmux.";
605
- }
606
- if (extendedKeysFormat === "xterm") {
607
- 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.";
608
- }
609
- return undefined;
610
- }
611
- /**
612
- * Get changelog entries to display on startup.
613
- * Only shows new entries since last seen version, skips for resumed sessions.
614
- */
615
- getChangelogForDisplay() {
616
- // Skip changelog for resumed/continued sessions (already have messages)
617
- if (this.session.state.messages.length > 0) {
618
- return undefined;
619
- }
620
- const lastVersion = this.settingsManager.getLastChangelogVersion();
621
- const changelogPath = getChangelogPath();
622
- const entries = parseChangelog(changelogPath);
623
- if (!lastVersion) {
624
- // Fresh install - record the version, send telemetry, don't show changelog
625
- this.settingsManager.setLastChangelogVersion(VERSION);
626
- this.reportInstallTelemetry(VERSION);
627
- return undefined;
628
- }
629
- const newEntries = getNewEntries(entries, lastVersion);
630
- if (newEntries.length > 0) {
631
- this.settingsManager.setLastChangelogVersion(VERSION);
632
- this.reportInstallTelemetry(VERSION);
633
- return newEntries.map((e) => e.content).join("\n\n");
634
- }
635
- return undefined;
636
- }
637
- reportInstallTelemetry(version) {
638
- if (process.env.PI_OFFLINE) {
639
- return;
640
- }
641
- if (!isInstallTelemetryEnabled(this.settingsManager)) {
642
- return;
643
- }
644
- void fetch(`https://pi.dev/api/report-install?version=${encodeURIComponent(version)}`, {
645
- headers: {
646
- "User-Agent": getPiUserAgent(version),
647
- },
648
- signal: AbortSignal.timeout(5000),
649
- })
650
- .then(() => undefined)
651
- .catch(() => undefined);
652
- }
653
- getMarkdownThemeWithSettings() {
654
- return {
655
- ...getMarkdownTheme(),
656
- codeBlockIndent: this.settingsManager.getCodeBlockIndent(),
657
- };
658
- }
659
- // =========================================================================
660
- // Extension System
661
- // =========================================================================
662
- formatDisplayPath(p) {
663
- const home = os.homedir();
664
- let result = p;
665
- // Replace home directory with ~
666
- if (result.startsWith(home)) {
667
- result = `~${result.slice(home.length)}`;
668
- }
669
- return result;
670
- }
671
- formatExtensionDisplayPath(path) {
672
- let result = this.formatDisplayPath(path);
673
- result = result.replace(/\/index\.ts$/, "").replace(/\/index\.js$/, "");
674
- return result;
675
- }
676
- formatContextPath(p) {
677
- const cwd = path.resolve(this.sessionManager.getCwd());
678
- const absolutePath = path.isAbsolute(p) ? path.resolve(p) : path.resolve(cwd, p);
679
- const relativePath = path.relative(cwd, absolutePath);
680
- const isInsideCwd = relativePath === "" ||
681
- (!relativePath.startsWith("..") &&
682
- !relativePath.startsWith(`..${path.sep}`) &&
683
- !path.isAbsolute(relativePath));
684
- if (isInsideCwd) {
685
- return relativePath || ".";
686
- }
687
- return this.formatDisplayPath(absolutePath);
688
- }
689
- getStartupExpansionState() {
690
- return this.options.verbose || this.toolOutputExpanded;
691
- }
692
- /**
693
- * Get a short path relative to the package root for display.
694
- */
695
- getShortPath(fullPath, sourceInfo) {
696
- const baseDir = sourceInfo?.baseDir;
697
- if (baseDir && this.isPackageSource(sourceInfo)) {
698
- const relativePath = path.relative(path.resolve(baseDir), path.resolve(fullPath));
699
- if (relativePath &&
700
- relativePath !== "." &&
701
- !relativePath.startsWith("..") &&
702
- !relativePath.startsWith(`..${path.sep}`) &&
703
- !path.isAbsolute(relativePath)) {
704
- return relativePath.replace(/\\/g, "/");
705
- }
706
- }
707
- const source = sourceInfo?.source ?? "";
708
- const npmMatch = fullPath.match(/node_modules\/(@?[^/]+(?:\/[^/]+)?)\/(.*)/);
709
- if (npmMatch && source.startsWith("npm:")) {
710
- return npmMatch[2];
711
- }
712
- const gitMatch = fullPath.match(/git\/[^/]+\/[^/]+\/(.*)/);
713
- if (gitMatch && source.startsWith("git:")) {
714
- return gitMatch[1];
715
- }
716
- return this.formatDisplayPath(fullPath);
717
- }
718
- getCompactPathLabel(resourcePath, sourceInfo) {
719
- const shortPath = this.getShortPath(resourcePath, sourceInfo);
720
- const normalizedPath = shortPath.replace(/\\/g, "/");
721
- const segments = normalizedPath.split("/").filter((segment) => segment.length > 0 && segment !== "~");
722
- if (segments.length > 0) {
723
- return segments[segments.length - 1];
724
- }
725
- return shortPath;
726
- }
727
- getCompactPackageSourceLabel(sourceInfo) {
728
- const source = sourceInfo?.source ?? "";
729
- if (source.startsWith("npm:")) {
730
- return source.slice("npm:".length) || source;
731
- }
732
- const gitSource = parseGitUrl(source);
733
- if (gitSource) {
734
- return gitSource.path || source;
735
- }
736
- return source;
737
- }
738
- getCompactExtensionLabel(resourcePath, sourceInfo) {
739
- if (!this.isPackageSource(sourceInfo)) {
740
- return this.getCompactPathLabel(resourcePath, sourceInfo);
741
- }
742
- const sourceLabel = this.getCompactPackageSourceLabel(sourceInfo);
743
- if (!sourceLabel) {
744
- return this.getCompactPathLabel(resourcePath, sourceInfo);
745
- }
746
- const shortPath = this.getShortPath(resourcePath, sourceInfo).replace(/\\/g, "/");
747
- const packagePath = shortPath.startsWith("extensions/") ? shortPath.slice("extensions/".length) : shortPath;
748
- const parsedPath = path.posix.parse(packagePath);
749
- if (parsedPath.name === "index") {
750
- return !parsedPath.dir || parsedPath.dir === "." ? sourceLabel : `${sourceLabel}:${parsedPath.dir}`;
751
- }
752
- return `${sourceLabel}:${packagePath}`;
753
- }
754
- getCompactDisplayPathSegments(resourcePath) {
755
- return this.formatDisplayPath(resourcePath)
756
- .replace(/\\/g, "/")
757
- .split("/")
758
- .filter((segment) => segment.length > 0 && segment !== "~");
759
- }
760
- getCompactNonPackageExtensionLabel(resourcePath, index, allPaths) {
761
- const segments = allPaths[index]?.segments;
762
- if (!segments || segments.length === 0) {
763
- return this.getCompactPathLabel(resourcePath);
764
- }
765
- for (let segmentCount = 1; segmentCount <= segments.length; segmentCount += 1) {
766
- const candidate = segments.slice(-segmentCount).join("/");
767
- const isUnique = allPaths.every((item, itemIndex) => {
768
- if (itemIndex === index) {
769
- return true;
770
- }
771
- return item.segments.slice(-segmentCount).join("/") !== candidate;
772
- });
773
- if (isUnique) {
774
- return candidate;
775
- }
776
- }
777
- return segments.join("/");
778
- }
779
- getCompactExtensionLabels(extensions) {
780
- const nonPackageExtensions = extensions
781
- .map((extension) => {
782
- const segments = this.getCompactDisplayPathSegments(extension.path);
783
- const lastSegment = segments[segments.length - 1];
784
- if (segments.length > 1 && (lastSegment === "index.ts" || lastSegment === "index.js")) {
785
- segments.pop();
786
- }
787
- return {
788
- path: extension.path,
789
- sourceInfo: extension.sourceInfo,
790
- segments,
791
- };
792
- })
793
- .filter((extension) => !this.isPackageSource(extension.sourceInfo));
794
- return extensions.map((extension) => {
795
- if (this.isPackageSource(extension.sourceInfo)) {
796
- return this.getCompactExtensionLabel(extension.path, extension.sourceInfo);
797
- }
798
- const nonPackageIndex = nonPackageExtensions.findIndex((item) => item.path === extension.path);
799
- if (nonPackageIndex === -1) {
800
- return this.getCompactPathLabel(extension.path, extension.sourceInfo);
801
- }
802
- return this.getCompactNonPackageExtensionLabel(extension.path, nonPackageIndex, nonPackageExtensions);
803
- });
804
- }
805
- getDisplaySourceInfo(sourceInfo) {
806
- const source = sourceInfo?.source ?? "local";
807
- const scope = sourceInfo?.scope ?? "project";
808
- if (source === "local") {
809
- if (scope === "user") {
810
- return { label: "user", color: "muted" };
811
- }
812
- if (scope === "project") {
813
- return { label: "project", color: "muted" };
814
- }
815
- if (scope === "temporary") {
816
- return { label: "path", scopeLabel: "temp", color: "muted" };
817
- }
818
- return { label: "path", color: "muted" };
819
- }
820
- if (source === "cli") {
821
- return { label: "path", scopeLabel: scope === "temporary" ? "temp" : undefined, color: "muted" };
822
- }
823
- const scopeLabel = scope === "user" ? "user" : scope === "project" ? "project" : scope === "temporary" ? "temp" : undefined;
824
- return { label: source, scopeLabel, color: "accent" };
825
- }
826
- getScopeGroup(sourceInfo) {
827
- const source = sourceInfo?.source ?? "local";
828
- const scope = sourceInfo?.scope ?? "project";
829
- if (source === "cli" || scope === "temporary")
830
- return "path";
831
- if (scope === "user")
832
- return "user";
833
- if (scope === "project")
834
- return "project";
835
- return "path";
836
- }
837
- isPackageSource(sourceInfo) {
838
- const source = sourceInfo?.source ?? "";
839
- return source.startsWith("npm:") || source.startsWith("git:");
840
- }
841
- buildScopeGroups(items) {
842
- const groups = {
843
- user: { scope: "user", paths: [], packages: new Map() },
844
- project: { scope: "project", paths: [], packages: new Map() },
845
- path: { scope: "path", paths: [], packages: new Map() },
846
- };
847
- for (const item of items) {
848
- const groupKey = this.getScopeGroup(item.sourceInfo);
849
- const group = groups[groupKey];
850
- const source = item.sourceInfo?.source ?? "local";
851
- if (this.isPackageSource(item.sourceInfo)) {
852
- const list = group.packages.get(source) ?? [];
853
- list.push(item);
854
- group.packages.set(source, list);
855
- }
856
- else {
857
- group.paths.push(item);
858
- }
859
- }
860
- return [groups.project, groups.user, groups.path].filter((group) => group.paths.length > 0 || group.packages.size > 0);
861
- }
862
- formatScopeGroups(groups, options) {
863
- const lines = [];
864
- for (const group of groups) {
865
- lines.push(` ${theme.fg("accent", group.scope)}`);
866
- const sortedPaths = [...group.paths].sort((a, b) => a.path.localeCompare(b.path));
867
- for (const item of sortedPaths) {
868
- lines.push(theme.fg("dim", ` ${options.formatPath(item)}`));
869
- }
870
- const sortedPackages = Array.from(group.packages.entries()).sort(([a], [b]) => a.localeCompare(b));
871
- for (const [source, items] of sortedPackages) {
872
- lines.push(` ${theme.fg("mdLink", source)}`);
873
- const sortedPackagePaths = [...items].sort((a, b) => a.path.localeCompare(b.path));
874
- for (const item of sortedPackagePaths) {
875
- lines.push(theme.fg("dim", ` ${options.formatPackagePath(item, source)}`));
876
- }
877
- }
878
- }
879
- return lines.join("\n");
880
- }
881
- findSourceInfoForPath(p, sourceInfos) {
882
- const exact = sourceInfos.get(p);
883
- if (exact)
884
- return exact;
885
- let current = p;
886
- while (current.includes("/")) {
887
- current = current.substring(0, current.lastIndexOf("/"));
888
- const parent = sourceInfos.get(current);
889
- if (parent)
890
- return parent;
891
- }
892
- return undefined;
893
- }
894
- formatPathWithSource(p, sourceInfo) {
895
- if (sourceInfo) {
896
- const shortPath = this.getShortPath(p, sourceInfo);
897
- const { label, scopeLabel } = this.getDisplaySourceInfo(sourceInfo);
898
- const labelText = scopeLabel ? `${label} (${scopeLabel})` : label;
899
- return `${labelText} ${shortPath}`;
900
- }
901
- return this.formatDisplayPath(p);
902
- }
903
- formatDiagnostics(diagnostics, sourceInfos) {
904
- const lines = [];
905
- // Group collision diagnostics by name
906
- const collisions = new Map();
907
- const otherDiagnostics = [];
908
- for (const d of diagnostics) {
909
- if (d.type === "collision" && d.collision) {
910
- const list = collisions.get(d.collision.name) ?? [];
911
- list.push(d);
912
- collisions.set(d.collision.name, list);
913
- }
914
- else {
915
- otherDiagnostics.push(d);
916
- }
917
- }
918
- // Format collision diagnostics grouped by name
919
- for (const [name, collisionList] of collisions) {
920
- const first = collisionList[0]?.collision;
921
- if (!first)
922
- continue;
923
- lines.push(theme.fg("warning", ` "${name}" collision:`));
924
- lines.push(theme.fg("dim", ` ${theme.fg("success", "✓")} ${this.formatPathWithSource(first.winnerPath, this.findSourceInfoForPath(first.winnerPath, sourceInfos))}`));
925
- for (const d of collisionList) {
926
- if (d.collision) {
927
- lines.push(theme.fg("dim", ` ${theme.fg("warning", "✗")} ${this.formatPathWithSource(d.collision.loserPath, this.findSourceInfoForPath(d.collision.loserPath, sourceInfos))} (skipped)`));
928
- }
929
- }
930
- }
931
- for (const d of otherDiagnostics) {
932
- if (d.path) {
933
- const formattedPath = this.formatPathWithSource(d.path, this.findSourceInfoForPath(d.path, sourceInfos));
934
- lines.push(theme.fg(d.type === "error" ? "error" : "warning", ` ${formattedPath}`));
935
- lines.push(theme.fg(d.type === "error" ? "error" : "warning", ` ${d.message}`));
936
- }
937
- else {
938
- lines.push(theme.fg(d.type === "error" ? "error" : "warning", ` ${d.message}`));
939
- }
940
- }
941
- return lines.join("\n");
942
- }
943
- showLoadedResources(options) {
944
- const showListing = options?.force || this.options.verbose || !this.settingsManager.getQuietStartup();
945
- const showDiagnostics = showListing || options?.showDiagnosticsWhenQuiet === true;
946
- if (!showListing && !showDiagnostics) {
947
- return;
948
- }
949
- const sectionHeader = (name, color = "mdHeading") => theme.fg(color, `[${name}]`);
950
- const formatCompactList = (items, options) => {
951
- const labels = items.map((item) => item.trim()).filter((item) => item.length > 0);
952
- if (options?.sort !== false) {
953
- labels.sort((a, b) => a.localeCompare(b));
954
- }
955
- return theme.fg("dim", ` ${labels.join(", ")}`);
956
- };
957
- const addLoadedSection = (name, collapsedBody, expandedBody = collapsedBody, color = "mdHeading") => {
958
- const section = new ExpandableText(() => `${sectionHeader(name, color)}\n${collapsedBody}`, () => `${sectionHeader(name, color)}\n${expandedBody}`, this.getStartupExpansionState(), 0, 0);
959
- this.chatContainer.addChild(section);
960
- this.chatContainer.addChild(new Spacer(1));
961
- };
962
- const skillsResult = this.session.resourceLoader.getSkills();
963
- const promptsResult = this.session.resourceLoader.getPrompts();
964
- const themesResult = this.session.resourceLoader.getThemes();
965
- const extensions = options?.extensions ??
966
- this.session.resourceLoader.getExtensions().extensions.map((extension) => ({
967
- path: extension.path,
968
- sourceInfo: extension.sourceInfo,
969
- }));
970
- const sourceInfos = new Map();
971
- for (const extension of extensions) {
972
- if (extension.sourceInfo) {
973
- sourceInfos.set(extension.path, extension.sourceInfo);
974
- }
975
- }
976
- for (const skill of skillsResult.skills) {
977
- if (skill.sourceInfo) {
978
- sourceInfos.set(skill.filePath, skill.sourceInfo);
979
- }
980
- }
981
- for (const prompt of promptsResult.prompts) {
982
- if (prompt.sourceInfo) {
983
- sourceInfos.set(prompt.filePath, prompt.sourceInfo);
984
- }
985
- }
986
- for (const loadedTheme of themesResult.themes) {
987
- if (loadedTheme.sourcePath && loadedTheme.sourceInfo) {
988
- sourceInfos.set(loadedTheme.sourcePath, loadedTheme.sourceInfo);
989
- }
990
- }
991
- if (showListing) {
992
- const contextFiles = this.session.resourceLoader.getAgentsFiles().agentsFiles;
993
- if (contextFiles.length > 0) {
994
- this.chatContainer.addChild(new Spacer(1));
995
- const contextList = contextFiles
996
- .map((f) => theme.fg("dim", ` ${this.formatDisplayPath(f.path)}`))
997
- .join("\n");
998
- const contextCompactList = formatCompactList(contextFiles.map((contextFile) => this.formatContextPath(contextFile.path)), { sort: false });
999
- addLoadedSection("Context", contextCompactList, contextList);
1000
- }
1001
- const skills = skillsResult.skills;
1002
- if (skills.length > 0) {
1003
- const groups = this.buildScopeGroups(skills.map((skill) => ({ path: skill.filePath, sourceInfo: skill.sourceInfo })));
1004
- const skillList = this.formatScopeGroups(groups, {
1005
- formatPath: (item) => this.formatDisplayPath(item.path),
1006
- formatPackagePath: (item) => this.getShortPath(item.path, item.sourceInfo),
1007
- });
1008
- const skillCompactList = formatCompactList(skills.map((skill) => skill.name));
1009
- addLoadedSection("Skills", skillCompactList, skillList);
1010
- }
1011
- const templates = this.session.promptTemplates;
1012
- if (templates.length > 0) {
1013
- const groups = this.buildScopeGroups(templates.map((template) => ({ path: template.filePath, sourceInfo: template.sourceInfo })));
1014
- const templateByPath = new Map(templates.map((t) => [t.filePath, t]));
1015
- const templateList = this.formatScopeGroups(groups, {
1016
- formatPath: (item) => {
1017
- const template = templateByPath.get(item.path);
1018
- return template ? `/${template.name}` : this.formatDisplayPath(item.path);
1019
- },
1020
- formatPackagePath: (item) => {
1021
- const template = templateByPath.get(item.path);
1022
- return template ? `/${template.name}` : this.formatDisplayPath(item.path);
1023
- },
1024
- });
1025
- const promptCompactList = formatCompactList(templates.map((template) => `/${template.name}`));
1026
- addLoadedSection("Prompts", promptCompactList, templateList);
1027
- }
1028
- if (extensions.length > 0) {
1029
- const groups = this.buildScopeGroups(extensions);
1030
- const extList = this.formatScopeGroups(groups, {
1031
- formatPath: (item) => this.formatExtensionDisplayPath(item.path),
1032
- formatPackagePath: (item) => this.formatExtensionDisplayPath(this.getShortPath(item.path, item.sourceInfo)),
1033
- });
1034
- const extensionCompactList = formatCompactList(this.getCompactExtensionLabels(extensions));
1035
- addLoadedSection("Extensions", extensionCompactList, extList, "mdHeading");
1036
- }
1037
- // Show loaded themes (excluding built-in)
1038
- const loadedThemes = themesResult.themes;
1039
- const customThemes = loadedThemes.filter((t) => t.sourcePath);
1040
- if (customThemes.length > 0) {
1041
- const groups = this.buildScopeGroups(customThemes.map((loadedTheme) => ({
1042
- path: loadedTheme.sourcePath,
1043
- sourceInfo: loadedTheme.sourceInfo,
1044
- })));
1045
- const themeList = this.formatScopeGroups(groups, {
1046
- formatPath: (item) => this.formatDisplayPath(item.path),
1047
- formatPackagePath: (item) => this.getShortPath(item.path, item.sourceInfo),
1048
- });
1049
- const themeCompactList = formatCompactList(customThemes.map((loadedTheme) => loadedTheme.name ?? this.getCompactPathLabel(loadedTheme.sourcePath, loadedTheme.sourceInfo)));
1050
- addLoadedSection("Themes", themeCompactList, themeList);
1051
- }
1052
- }
1053
- if (showDiagnostics) {
1054
- const skillDiagnostics = skillsResult.diagnostics;
1055
- if (skillDiagnostics.length > 0) {
1056
- const warningLines = this.formatDiagnostics(skillDiagnostics, sourceInfos);
1057
- this.chatContainer.addChild(new Text(`${theme.fg("warning", "[Skill conflicts]")}\n${warningLines}`, 0, 0));
1058
- this.chatContainer.addChild(new Spacer(1));
1059
- }
1060
- const promptDiagnostics = promptsResult.diagnostics;
1061
- if (promptDiagnostics.length > 0) {
1062
- const warningLines = this.formatDiagnostics(promptDiagnostics, sourceInfos);
1063
- this.chatContainer.addChild(new Text(`${theme.fg("warning", "[Prompt conflicts]")}\n${warningLines}`, 0, 0));
1064
- this.chatContainer.addChild(new Spacer(1));
1065
- }
1066
- const extensionDiagnostics = [];
1067
- const extensionErrors = this.session.resourceLoader.getExtensions().errors;
1068
- if (extensionErrors.length > 0) {
1069
- for (const error of extensionErrors) {
1070
- extensionDiagnostics.push({ type: "error", message: error.error, path: error.path });
1071
- }
1072
- }
1073
- const commandDiagnostics = this.session.extensionRunner.getCommandDiagnostics();
1074
- extensionDiagnostics.push(...commandDiagnostics);
1075
- extensionDiagnostics.push(...this.getBuiltInCommandConflictDiagnostics(this.session.extensionRunner));
1076
- const shortcutDiagnostics = this.session.extensionRunner.getShortcutDiagnostics();
1077
- extensionDiagnostics.push(...shortcutDiagnostics);
1078
- if (extensionDiagnostics.length > 0) {
1079
- const warningLines = this.formatDiagnostics(extensionDiagnostics, sourceInfos);
1080
- this.chatContainer.addChild(new Text(`${theme.fg("warning", "[Extension issues]")}\n${warningLines}`, 0, 0));
1081
- this.chatContainer.addChild(new Spacer(1));
1082
- }
1083
- const themeDiagnostics = themesResult.diagnostics;
1084
- if (themeDiagnostics.length > 0) {
1085
- const warningLines = this.formatDiagnostics(themeDiagnostics, sourceInfos);
1086
- this.chatContainer.addChild(new Text(`${theme.fg("warning", "[Theme conflicts]")}\n${warningLines}`, 0, 0));
1087
- this.chatContainer.addChild(new Spacer(1));
1088
- }
1089
- }
1090
- }
1091
- /**
1092
- * Initialize the extension system with TUI-based UI context.
1093
- */
1094
- async bindCurrentSessionExtensions() {
1095
- const uiContext = this.createExtensionUIContext();
1096
- await this.session.bindExtensions({
1097
- uiContext,
1098
- commandContextActions: {
1099
- waitForIdle: () => this.session.agent.waitForIdle(),
1100
- newSession: async (options) => {
1101
- if (this.loadingAnimation) {
1102
- this.loadingAnimation.stop();
1103
- this.loadingAnimation = undefined;
1104
- }
1105
- this.statusContainer.clear();
1106
- try {
1107
- const result = await this.runtimeHost.newSession(options);
1108
- if (!result.cancelled) {
1109
- this.renderCurrentSessionState();
1110
- this.ui.requestRender();
1111
- }
1112
- return result;
1113
- }
1114
- catch (error) {
1115
- return this.handleFatalRuntimeError("Failed to create session", error);
1116
- }
1117
- },
1118
- fork: async (entryId, options) => {
1119
- try {
1120
- const result = await this.runtimeHost.fork(entryId, options);
1121
- if (!result.cancelled) {
1122
- this.renderCurrentSessionState();
1123
- this.editor.setText(result.selectedText ?? "");
1124
- this.showStatus("Forked to new session");
1125
- }
1126
- return { cancelled: result.cancelled };
1127
- }
1128
- catch (error) {
1129
- return this.handleFatalRuntimeError("Failed to fork session", error);
1130
- }
1131
- },
1132
- navigateTree: async (targetId, options) => {
1133
- const result = await this.session.navigateTree(targetId, {
1134
- summarize: options?.summarize,
1135
- customInstructions: options?.customInstructions,
1136
- replaceInstructions: options?.replaceInstructions,
1137
- label: options?.label,
1138
- });
1139
- if (result.cancelled) {
1140
- return { cancelled: true };
1141
- }
1142
- this.chatContainer.clear();
1143
- this.renderInitialMessages();
1144
- if (result.editorText && !this.editor.getText().trim()) {
1145
- this.editor.setText(result.editorText);
1146
- }
1147
- this.showStatus("Navigated to selected point");
1148
- void this.flushCompactionQueue({ willRetry: false });
1149
- return { cancelled: false };
1150
- },
1151
- switchSession: async (sessionPath, options) => {
1152
- return this.handleResumeSession(sessionPath, options);
1153
- },
1154
- reload: async () => {
1155
- await this.handleReloadCommand();
1156
- },
1157
- },
1158
- shutdownHandler: () => {
1159
- this.shutdownRequested = true;
1160
- if (!this.session.isStreaming) {
1161
- void this.shutdown();
1162
- }
1163
- },
1164
- onError: (error) => {
1165
- this.showExtensionError(error.extensionPath, error.error, error.stack);
1166
- },
1167
- });
1168
- setRegisteredThemes(this.session.resourceLoader.getThemes().themes);
1169
- this.setupAutocompleteProvider();
1170
- const extensionRunner = this.session.extensionRunner;
1171
- this.setupExtensionShortcuts(extensionRunner);
1172
- this.showLoadedResources({ force: false, showDiagnosticsWhenQuiet: true });
1173
- this.showStartupNoticesIfNeeded();
1174
- }
1175
- applyRuntimeSettings() {
1176
- this.footer.setSession(this.session);
1177
- this.footer.setAutoCompactEnabled(this.session.autoCompactionEnabled);
1178
- this.footerDataProvider.setCwd(this.sessionManager.getCwd());
1179
- this.hideThinkingBlock = this.settingsManager.getHideThinkingBlock();
1180
- this.ui.setShowHardwareCursor(this.settingsManager.getShowHardwareCursor());
1181
- this.ui.setClearOnShrink(this.settingsManager.getClearOnShrink());
1182
- const editorPaddingX = this.settingsManager.getEditorPaddingX();
1183
- const autocompleteMaxVisible = this.settingsManager.getAutocompleteMaxVisible();
1184
- this.defaultEditor.setPaddingX(editorPaddingX);
1185
- this.defaultEditor.setAutocompleteMaxVisible(autocompleteMaxVisible);
1186
- if (this.editor !== this.defaultEditor) {
1187
- this.editor.setPaddingX?.(editorPaddingX);
1188
- this.editor.setAutocompleteMaxVisible?.(autocompleteMaxVisible);
1189
- }
1190
- }
1191
- async rebindCurrentSession() {
1192
- this.unsubscribe?.();
1193
- this.unsubscribe = undefined;
1194
- this.applyRuntimeSettings();
1195
- await this.bindCurrentSessionExtensions();
1196
- this.subscribeToAgent();
1197
- await this.updateAvailableProviderCount();
1198
- this.updateEditorBorderColor();
1199
- this.updateTerminalTitle();
1200
- }
1201
- async handleFatalRuntimeError(prefix, error) {
1202
- const message = error instanceof Error ? error.message : String(error);
1203
- this.showError(`${prefix}: ${message}`);
1204
- stopThemeWatcher();
1205
- this.stop();
1206
- process.exit(1);
1207
- }
1208
- renderCurrentSessionState() {
1209
- this.chatContainer.clear();
1210
- this.pendingMessagesContainer.clear();
1211
- this.compactionQueuedMessages = [];
1212
- this.streamingComponent = undefined;
1213
- this.streamingMessage = undefined;
1214
- this.pendingTools.clear();
1215
- this.renderInitialMessages();
1216
- }
1217
- /**
1218
- * Get a registered tool definition by name (for custom rendering).
1219
- */
1220
- getRegisteredToolDefinition(toolName) {
1221
- return this.session.getToolDefinition(toolName);
1222
- }
1223
- /**
1224
- * Set up keyboard shortcuts registered by extensions.
1225
- */
1226
- setupExtensionShortcuts(extensionRunner) {
1227
- const shortcuts = extensionRunner.getShortcuts(this.keybindings.getEffectiveConfig());
1228
- if (shortcuts.size === 0)
1229
- return;
1230
- // Create a context for shortcut handlers
1231
- const createContext = () => ({
1232
- ui: this.createExtensionUIContext(),
1233
- hasUI: true,
1234
- cwd: this.sessionManager.getCwd(),
1235
- sessionManager: this.sessionManager,
1236
- modelRegistry: this.session.modelRegistry,
1237
- model: this.session.model,
1238
- isIdle: () => !this.session.isStreaming,
1239
- signal: this.session.agent.signal,
1240
- abort: () => this.session.abort(),
1241
- hasPendingMessages: () => this.session.pendingMessageCount > 0,
1242
- shutdown: () => {
1243
- this.shutdownRequested = true;
1244
- },
1245
- getContextUsage: () => this.session.getContextUsage(),
1246
- compact: (options) => {
1247
- void (async () => {
1248
- try {
1249
- const result = await this.session.compact(options?.customInstructions);
1250
- options?.onComplete?.(result);
1251
- }
1252
- catch (error) {
1253
- const err = error instanceof Error ? error : new Error(String(error));
1254
- options?.onError?.(err);
1255
- }
1256
- })();
1257
- },
1258
- getSystemPrompt: () => this.session.systemPrompt,
1259
- });
1260
- // Set up the extension shortcut handler on the default editor
1261
- this.defaultEditor.onExtensionShortcut = (data) => {
1262
- for (const [shortcutStr, shortcut] of shortcuts) {
1263
- // Cast to KeyId - extension shortcuts use the same format
1264
- if (matchesKey(data, shortcutStr)) {
1265
- // Run handler async, don't block input
1266
- Promise.resolve(shortcut.handler(createContext())).catch((err) => {
1267
- this.showError(`Shortcut handler error: ${err instanceof Error ? err.message : String(err)}`);
1268
- });
1269
- return true;
1270
- }
1271
- }
1272
- return false;
1273
- };
1274
- }
1275
- /**
1276
- * Set extension status text in the footer.
1277
- */
1278
- setExtensionStatus(key, text) {
1279
- this.footerDataProvider.setExtensionStatus(key, text);
1280
- this.ui.requestRender();
1281
- }
1282
- getWorkingLoaderMessage() {
1283
- return this.workingMessage ?? this.defaultWorkingMessage;
1284
- }
1285
- createWorkingLoader() {
1286
- return new Loader(this.ui, (spinner) => theme.fg("accent", spinner), (text) => theme.fg("muted", text), this.getWorkingLoaderMessage(), this.workingIndicatorOptions);
1287
- }
1288
- stopWorkingLoader() {
1289
- if (this.loadingAnimation) {
1290
- this.loadingAnimation.stop();
1291
- this.loadingAnimation = undefined;
1292
- }
1293
- this.statusContainer.clear();
1294
- }
1295
- setWorkingVisible(visible) {
1296
- this.workingVisible = visible;
1297
- if (!visible) {
1298
- this.stopWorkingLoader();
1299
- this.ui.requestRender();
1300
- return;
1301
- }
1302
- if (this.session.isStreaming && !this.loadingAnimation) {
1303
- this.statusContainer.clear();
1304
- this.loadingAnimation = this.createWorkingLoader();
1305
- this.statusContainer.addChild(this.loadingAnimation);
1306
- }
1307
- this.ui.requestRender();
1308
- }
1309
- setWorkingIndicator(options) {
1310
- this.workingIndicatorOptions = options;
1311
- this.loadingAnimation?.setIndicator(options);
1312
- this.ui.requestRender();
1313
- }
1314
- setHiddenThinkingLabel(label) {
1315
- this.hiddenThinkingLabel = label ?? this.defaultHiddenThinkingLabel;
1316
- for (const child of this.chatContainer.children) {
1317
- if (child instanceof AssistantMessageComponent) {
1318
- child.setHiddenThinkingLabel(this.hiddenThinkingLabel);
1319
- }
1320
- }
1321
- if (this.streamingComponent) {
1322
- this.streamingComponent.setHiddenThinkingLabel(this.hiddenThinkingLabel);
1323
- }
1324
- this.ui.requestRender();
1325
- }
1326
- /**
1327
- * Set an extension widget (string array or custom component).
1328
- */
1329
- setExtensionWidget(key, content, options) {
1330
- const placement = options?.placement ?? "aboveEditor";
1331
- const removeExisting = (map) => {
1332
- const existing = map.get(key);
1333
- if (existing?.dispose)
1334
- existing.dispose();
1335
- map.delete(key);
1336
- };
1337
- removeExisting(this.extensionWidgetsAbove);
1338
- removeExisting(this.extensionWidgetsBelow);
1339
- if (content === undefined) {
1340
- this.renderWidgets();
1341
- return;
1342
- }
1343
- let component;
1344
- if (Array.isArray(content)) {
1345
- // Wrap string array in a Container with Text components
1346
- const container = new Container();
1347
- for (const line of content.slice(0, InteractiveMode.MAX_WIDGET_LINES)) {
1348
- container.addChild(new Text(line, 1, 0));
1349
- }
1350
- if (content.length > InteractiveMode.MAX_WIDGET_LINES) {
1351
- container.addChild(new Text(theme.fg("muted", "... (widget truncated)"), 1, 0));
1352
- }
1353
- component = container;
1354
- }
1355
- else {
1356
- // Factory function - create component
1357
- component = content(this.ui, theme);
1358
- }
1359
- const targetMap = placement === "belowEditor" ? this.extensionWidgetsBelow : this.extensionWidgetsAbove;
1360
- targetMap.set(key, component);
1361
- this.renderWidgets();
1362
- }
1363
- clearExtensionWidgets() {
1364
- for (const widget of this.extensionWidgetsAbove.values()) {
1365
- widget.dispose?.();
1366
- }
1367
- for (const widget of this.extensionWidgetsBelow.values()) {
1368
- widget.dispose?.();
1369
- }
1370
- this.extensionWidgetsAbove.clear();
1371
- this.extensionWidgetsBelow.clear();
1372
- this.renderWidgets();
1373
- }
1374
- resetExtensionUI() {
1375
- if (this.extensionSelector) {
1376
- this.hideExtensionSelector();
1377
- }
1378
- if (this.extensionInput) {
1379
- this.hideExtensionInput();
1380
- }
1381
- if (this.extensionEditor) {
1382
- this.hideExtensionEditor();
1383
- }
1384
- this.ui.hideOverlay();
1385
- this.clearExtensionTerminalInputListeners();
1386
- this.setExtensionFooter(undefined);
1387
- this.setExtensionHeader(undefined);
1388
- this.clearExtensionWidgets();
1389
- this.footerDataProvider.clearExtensionStatuses();
1390
- this.footer.invalidate();
1391
- this.autocompleteProviderWrappers = [];
1392
- this.setCustomEditorComponent(undefined);
1393
- this.setupAutocompleteProvider();
1394
- this.defaultEditor.onExtensionShortcut = undefined;
1395
- this.updateTerminalTitle();
1396
- this.workingMessage = undefined;
1397
- this.workingVisible = true;
1398
- this.setWorkingIndicator();
1399
- if (this.loadingAnimation) {
1400
- this.loadingAnimation.setMessage(`${this.defaultWorkingMessage} (${keyText("app.interrupt")} to interrupt)`);
1401
- }
1402
- this.setHiddenThinkingLabel();
1403
- }
1404
- // Maximum total widget lines to prevent viewport overflow
1405
- static MAX_WIDGET_LINES = 10;
1406
- /**
1407
- * Render all extension widgets to the widget container.
1408
- */
1409
- renderWidgets() {
1410
- if (!this.widgetContainerAbove || !this.widgetContainerBelow)
1411
- return;
1412
- this.renderWidgetContainer(this.widgetContainerAbove, this.extensionWidgetsAbove, true, true);
1413
- this.renderWidgetContainer(this.widgetContainerBelow, this.extensionWidgetsBelow, false, false);
1414
- this.ui.requestRender();
1415
- }
1416
- renderWidgetContainer(container, widgets, spacerWhenEmpty, leadingSpacer) {
1417
- container.clear();
1418
- if (widgets.size === 0) {
1419
- if (spacerWhenEmpty) {
1420
- container.addChild(new Spacer(1));
1421
- }
1422
- return;
1423
- }
1424
- if (leadingSpacer) {
1425
- container.addChild(new Spacer(1));
1426
- }
1427
- for (const component of widgets.values()) {
1428
- container.addChild(component);
1429
- }
1430
- }
1431
- /**
1432
- * Set a custom footer component, or restore the built-in footer.
1433
- */
1434
- setExtensionFooter(factory) {
1435
- // Dispose existing custom footer
1436
- if (this.customFooter?.dispose) {
1437
- this.customFooter.dispose();
1438
- }
1439
- // Remove current footer from UI
1440
- if (this.customFooter) {
1441
- this.ui.removeChild(this.customFooter);
1442
- }
1443
- else {
1444
- this.ui.removeChild(this.footer);
1445
- }
1446
- if (factory) {
1447
- // Create and add custom footer, passing the data provider
1448
- this.customFooter = factory(this.ui, theme, this.footerDataProvider);
1449
- this.ui.addChild(this.customFooter);
1450
- }
1451
- else {
1452
- // Restore built-in footer
1453
- this.customFooter = undefined;
1454
- this.ui.addChild(this.footer);
1455
- }
1456
- this.ui.requestRender();
1457
- }
1458
- /**
1459
- * Set a custom header component, or restore the built-in header.
1460
- */
1461
- setExtensionHeader(factory) {
1462
- // Header may not be initialized yet if called during early initialization
1463
- if (!this.builtInHeader) {
1464
- return;
1465
- }
1466
- // Dispose existing custom header
1467
- if (this.customHeader?.dispose) {
1468
- this.customHeader.dispose();
1469
- }
1470
- // Find the index of the current header in the header container
1471
- const currentHeader = this.customHeader || this.builtInHeader;
1472
- const index = this.headerContainer.children.indexOf(currentHeader);
1473
- if (factory) {
1474
- // Create and add custom header
1475
- this.customHeader = factory(this.ui, theme);
1476
- if (isExpandable(this.customHeader)) {
1477
- this.customHeader.setExpanded(this.toolOutputExpanded);
1478
- }
1479
- if (index !== -1) {
1480
- this.headerContainer.children[index] = this.customHeader;
1481
- }
1482
- else {
1483
- // If not found (e.g. builtInHeader was never added), add at the top
1484
- this.headerContainer.children.unshift(this.customHeader);
1485
- }
1486
- }
1487
- else {
1488
- // Restore built-in header
1489
- this.customHeader = undefined;
1490
- if (isExpandable(this.builtInHeader)) {
1491
- this.builtInHeader.setExpanded(this.toolOutputExpanded);
1492
- }
1493
- if (index !== -1) {
1494
- this.headerContainer.children[index] = this.builtInHeader;
1495
- }
1496
- }
1497
- this.ui.requestRender();
1498
- }
1499
- addExtensionTerminalInputListener(handler) {
1500
- const unsubscribe = this.ui.addInputListener(handler);
1501
- this.extensionTerminalInputUnsubscribers.add(unsubscribe);
1502
- return () => {
1503
- unsubscribe();
1504
- this.extensionTerminalInputUnsubscribers.delete(unsubscribe);
1505
- };
1506
- }
1507
- clearExtensionTerminalInputListeners() {
1508
- for (const unsubscribe of this.extensionTerminalInputUnsubscribers) {
1509
- unsubscribe();
1510
- }
1511
- this.extensionTerminalInputUnsubscribers.clear();
1512
- }
1513
- /**
1514
- * Create the ExtensionUIContext for extensions.
1515
- */
1516
- createExtensionUIContext() {
1517
- return {
1518
- select: (title, options, opts) => this.showExtensionSelector(title, options, opts),
1519
- confirm: (title, message, opts) => this.showExtensionConfirm(title, message, opts),
1520
- input: (title, placeholder, opts) => this.showExtensionInput(title, placeholder, opts),
1521
- notify: (message, type) => this.showExtensionNotify(message, type),
1522
- onTerminalInput: (handler) => this.addExtensionTerminalInputListener(handler),
1523
- setStatus: (key, text) => this.setExtensionStatus(key, text),
1524
- setWorkingMessage: (message) => {
1525
- this.workingMessage = message;
1526
- if (this.loadingAnimation) {
1527
- this.loadingAnimation.setMessage(message ?? this.defaultWorkingMessage);
1528
- }
1529
- },
1530
- setWorkingVisible: (visible) => this.setWorkingVisible(visible),
1531
- setWorkingIndicator: (options) => this.setWorkingIndicator(options),
1532
- setHiddenThinkingLabel: (label) => this.setHiddenThinkingLabel(label),
1533
- setWidget: (key, content, options) => this.setExtensionWidget(key, content, options),
1534
- setFooter: (factory) => this.setExtensionFooter(factory),
1535
- setHeader: (factory) => this.setExtensionHeader(factory),
1536
- setTitle: (title) => this.ui.terminal.setTitle(title),
1537
- custom: (factory, options) => this.showExtensionCustom(factory, options),
1538
- pasteToEditor: (text) => this.editor.handleInput(`\x1b[200~${text}\x1b[201~`),
1539
- setEditorText: (text) => this.editor.setText(text),
1540
- getEditorText: () => this.editor.getExpandedText?.() ?? this.editor.getText(),
1541
- editor: (title, prefill) => this.showExtensionEditor(title, prefill),
1542
- addAutocompleteProvider: (factory) => {
1543
- this.autocompleteProviderWrappers.push(factory);
1544
- this.setupAutocompleteProvider();
1545
- },
1546
- setEditorComponent: (factory) => this.setCustomEditorComponent(factory),
1547
- getEditorComponent: () => this.editorComponentFactory,
1548
- get theme() {
1549
- return theme;
1550
- },
1551
- getAllThemes: () => getAvailableThemesWithPaths(),
1552
- getTheme: (name) => getThemeByName(name),
1553
- setTheme: (themeOrName) => {
1554
- if (themeOrName instanceof Theme) {
1555
- setThemeInstance(themeOrName);
1556
- this.ui.requestRender();
1557
- return { success: true };
1558
- }
1559
- const result = setTheme(themeOrName, true);
1560
- if (result.success) {
1561
- if (this.settingsManager.getTheme() !== themeOrName) {
1562
- this.settingsManager.setTheme(themeOrName);
1563
- }
1564
- this.ui.requestRender();
1565
- }
1566
- return result;
1567
- },
1568
- getToolsExpanded: () => this.toolOutputExpanded,
1569
- setToolsExpanded: (expanded) => this.setToolsExpanded(expanded),
1570
- };
1571
- }
1572
- /**
1573
- * Show a selector for extensions.
1574
- */
1575
- showExtensionSelector(title, options, opts) {
1576
- return new Promise((resolve) => {
1577
- if (opts?.signal?.aborted) {
1578
- resolve(undefined);
1579
- return;
1580
- }
1581
- const onAbort = () => {
1582
- this.hideExtensionSelector();
1583
- resolve(undefined);
1584
- };
1585
- opts?.signal?.addEventListener("abort", onAbort, { once: true });
1586
- this.extensionSelector = new ExtensionSelectorComponent(title, options, (option) => {
1587
- opts?.signal?.removeEventListener("abort", onAbort);
1588
- this.hideExtensionSelector();
1589
- resolve(option);
1590
- }, () => {
1591
- opts?.signal?.removeEventListener("abort", onAbort);
1592
- this.hideExtensionSelector();
1593
- resolve(undefined);
1594
- }, { tui: this.ui, timeout: opts?.timeout });
1595
- this.editorContainer.clear();
1596
- this.editorContainer.addChild(this.extensionSelector);
1597
- this.ui.setFocus(this.extensionSelector);
1598
- this.ui.requestRender();
1599
- });
1600
- }
1601
- /**
1602
- * Hide the extension selector.
1603
- */
1604
- hideExtensionSelector() {
1605
- this.extensionSelector?.dispose();
1606
- this.editorContainer.clear();
1607
- this.editorContainer.addChild(this.editor);
1608
- this.extensionSelector = undefined;
1609
- this.ui.setFocus(this.editor);
1610
- this.ui.requestRender();
1611
- }
1612
- /**
1613
- * Show a confirmation dialog for extensions.
1614
- */
1615
- async showExtensionConfirm(title, message, opts) {
1616
- const result = await this.showExtensionSelector(`${title}\n${message}`, ["Yes", "No"], opts);
1617
- return result === "Yes";
1618
- }
1619
- async promptForMissingSessionCwd(error) {
1620
- const confirmed = await this.showExtensionConfirm("Session cwd not found", formatMissingSessionCwdPrompt(error.issue));
1621
- return confirmed ? error.issue.fallbackCwd : undefined;
1622
- }
1623
- /**
1624
- * Show a text input for extensions.
1625
- */
1626
- showExtensionInput(title, placeholder, opts) {
1627
- return new Promise((resolve) => {
1628
- if (opts?.signal?.aborted) {
1629
- resolve(undefined);
1630
- return;
1631
- }
1632
- const onAbort = () => {
1633
- this.hideExtensionInput();
1634
- resolve(undefined);
1635
- };
1636
- opts?.signal?.addEventListener("abort", onAbort, { once: true });
1637
- this.extensionInput = new ExtensionInputComponent(title, placeholder, (value) => {
1638
- opts?.signal?.removeEventListener("abort", onAbort);
1639
- this.hideExtensionInput();
1640
- resolve(value);
1641
- }, () => {
1642
- opts?.signal?.removeEventListener("abort", onAbort);
1643
- this.hideExtensionInput();
1644
- resolve(undefined);
1645
- }, { tui: this.ui, timeout: opts?.timeout });
1646
- this.editorContainer.clear();
1647
- this.editorContainer.addChild(this.extensionInput);
1648
- this.ui.setFocus(this.extensionInput);
1649
- this.ui.requestRender();
1650
- });
1651
- }
1652
- /**
1653
- * Hide the extension input.
1654
- */
1655
- hideExtensionInput() {
1656
- this.extensionInput?.dispose();
1657
- this.editorContainer.clear();
1658
- this.editorContainer.addChild(this.editor);
1659
- this.extensionInput = undefined;
1660
- this.ui.setFocus(this.editor);
1661
- this.ui.requestRender();
1662
- }
1663
- /**
1664
- * Show a multi-line editor for extensions (with Ctrl+G support).
1665
- */
1666
- showExtensionEditor(title, prefill) {
1667
- return new Promise((resolve) => {
1668
- this.extensionEditor = new ExtensionEditorComponent(this.ui, this.keybindings, title, prefill, (value) => {
1669
- this.hideExtensionEditor();
1670
- resolve(value);
1671
- }, () => {
1672
- this.hideExtensionEditor();
1673
- resolve(undefined);
1674
- });
1675
- this.editorContainer.clear();
1676
- this.editorContainer.addChild(this.extensionEditor);
1677
- this.ui.setFocus(this.extensionEditor);
1678
- this.ui.requestRender();
1679
- });
1680
- }
1681
- /**
1682
- * Hide the extension editor.
1683
- */
1684
- hideExtensionEditor() {
1685
- this.editorContainer.clear();
1686
- this.editorContainer.addChild(this.editor);
1687
- this.extensionEditor = undefined;
1688
- this.ui.setFocus(this.editor);
1689
- this.ui.requestRender();
1690
- }
1691
- /**
1692
- * Set a custom editor component from an extension.
1693
- * Pass undefined to restore the default editor.
1694
- */
1695
- setCustomEditorComponent(factory) {
1696
- this.editorComponentFactory = factory;
1697
- // Save text from current editor before switching
1698
- const currentText = this.editor.getText();
1699
- this.editorContainer.clear();
1700
- if (factory) {
1701
- // Create the custom editor with tui, theme, and keybindings
1702
- const newEditor = factory(this.ui, getEditorTheme(), this.keybindings);
1703
- // Wire up callbacks from the default editor
1704
- newEditor.onSubmit = this.defaultEditor.onSubmit;
1705
- newEditor.onChange = this.defaultEditor.onChange;
1706
- // Copy text from previous editor
1707
- newEditor.setText(currentText);
1708
- // Copy appearance settings if supported
1709
- if (newEditor.borderColor !== undefined) {
1710
- newEditor.borderColor = this.defaultEditor.borderColor;
1711
- }
1712
- if (newEditor.setPaddingX !== undefined) {
1713
- newEditor.setPaddingX(this.defaultEditor.getPaddingX());
1714
- }
1715
- // Set autocomplete if supported
1716
- if (newEditor.setAutocompleteProvider && this.autocompleteProvider) {
1717
- newEditor.setAutocompleteProvider(this.autocompleteProvider);
1718
- }
1719
- // If extending CustomEditor, copy app-level handlers
1720
- // Use duck typing since instanceof fails across jiti module boundaries
1721
- const customEditor = newEditor;
1722
- if ("actionHandlers" in customEditor && customEditor.actionHandlers instanceof Map) {
1723
- if (!customEditor.onEscape) {
1724
- customEditor.onEscape = () => this.defaultEditor.onEscape?.();
1725
- }
1726
- if (!customEditor.onCtrlD) {
1727
- customEditor.onCtrlD = () => this.defaultEditor.onCtrlD?.();
1728
- }
1729
- if (!customEditor.onPasteImage) {
1730
- customEditor.onPasteImage = () => this.defaultEditor.onPasteImage?.();
1731
- }
1732
- if (!customEditor.onExtensionShortcut) {
1733
- customEditor.onExtensionShortcut = (data) => this.defaultEditor.onExtensionShortcut?.(data);
1734
- }
1735
- // Copy action handlers (clear, suspend, model switching, etc.)
1736
- for (const [action, handler] of this.defaultEditor.actionHandlers) {
1737
- customEditor.actionHandlers.set(action, handler);
1738
- }
1739
- }
1740
- this.editor = newEditor;
1741
- }
1742
- else {
1743
- // Restore default editor with text from custom editor
1744
- this.defaultEditor.setText(currentText);
1745
- this.editor = this.defaultEditor;
1746
- }
1747
- this.editorContainer.addChild(this.editor);
1748
- this.ui.setFocus(this.editor);
1749
- this.ui.requestRender();
1750
- }
1751
- /**
1752
- * Show a notification for extensions.
1753
- */
1754
- showExtensionNotify(message, type) {
1755
- if (type === "error") {
1756
- this.showError(message);
1757
- }
1758
- else if (type === "warning") {
1759
- this.showWarning(message);
1760
- }
1761
- else {
1762
- this.showStatus(message);
1763
- }
1764
- }
1765
- /** Show a custom component with keyboard focus. Overlay mode renders on top of existing content. */
1766
- async showExtensionCustom(factory, options) {
1767
- const savedText = this.editor.getText();
1768
- const isOverlay = options?.overlay ?? false;
1769
- const restoreEditor = () => {
1770
- this.editorContainer.clear();
1771
- this.editorContainer.addChild(this.editor);
1772
- this.editor.setText(savedText);
1773
- this.ui.setFocus(this.editor);
1774
- this.ui.requestRender();
1775
- };
1776
- return new Promise((resolve, reject) => {
1777
- let component;
1778
- let closed = false;
1779
- const close = (result) => {
1780
- if (closed)
1781
- return;
1782
- closed = true;
1783
- if (isOverlay)
1784
- this.ui.hideOverlay();
1785
- else
1786
- restoreEditor();
1787
- // Note: both branches above already call requestRender
1788
- resolve(result);
1789
- try {
1790
- component?.dispose?.();
1791
- }
1792
- catch {
1793
- /* ignore dispose errors */
1794
- }
1795
- };
1796
- Promise.resolve(factory(this.ui, theme, this.keybindings, close))
1797
- .then((c) => {
1798
- if (closed)
1799
- return;
1800
- component = c;
1801
- if (isOverlay) {
1802
- // Resolve overlay options - can be static or dynamic function
1803
- const resolveOptions = () => {
1804
- if (options?.overlayOptions) {
1805
- const opts = typeof options.overlayOptions === "function"
1806
- ? options.overlayOptions()
1807
- : options.overlayOptions;
1808
- return opts;
1809
- }
1810
- // Fallback: use component's width property if available
1811
- const w = component.width;
1812
- return w ? { width: w } : undefined;
1813
- };
1814
- const handle = this.ui.showOverlay(component, resolveOptions());
1815
- // Expose handle to caller for visibility control
1816
- options?.onHandle?.(handle);
1817
- }
1818
- else {
1819
- this.editorContainer.clear();
1820
- this.editorContainer.addChild(component);
1821
- this.ui.setFocus(component);
1822
- this.ui.requestRender();
1823
- }
1824
- })
1825
- .catch((err) => {
1826
- if (closed)
1827
- return;
1828
- if (!isOverlay)
1829
- restoreEditor();
1830
- reject(err);
1831
- });
1832
- });
1833
- }
1834
- /**
1835
- * Show an extension error in the UI.
1836
- */
1837
- showExtensionError(extensionPath, error, stack) {
1838
- const errorMsg = `Extension "${extensionPath}" error: ${error}`;
1839
- const errorText = new Text(theme.fg("error", errorMsg), 1, 0);
1840
- this.chatContainer.addChild(errorText);
1841
- if (stack) {
1842
- // Show stack trace in dim color, indented
1843
- const stackLines = stack
1844
- .split("\n")
1845
- .slice(1) // Skip first line (duplicates error message)
1846
- .map((line) => theme.fg("dim", ` ${line.trim()}`))
1847
- .join("\n");
1848
- if (stackLines) {
1849
- this.chatContainer.addChild(new Text(stackLines, 1, 0));
1850
- }
1851
- }
1852
- this.ui.requestRender();
1853
- }
1854
- // =========================================================================
1855
- // Key Handlers
1856
- // =========================================================================
1857
- setupKeyHandlers() {
1858
- // Set up handlers on defaultEditor - they use this.editor for text access
1859
- // so they work correctly regardless of which editor is active
1860
- this.defaultEditor.onEscape = () => {
1861
- if (this.session.isStreaming) {
1862
- this.restoreQueuedMessagesToEditor({ abort: true });
1863
- }
1864
- else if (this.session.isBashRunning) {
1865
- this.session.abortBash();
1866
- }
1867
- else if (this.isBashMode) {
1868
- this.editor.setText("");
1869
- this.isBashMode = false;
1870
- this.updateEditorBorderColor();
1871
- }
1872
- else if (!this.editor.getText().trim()) {
1873
- // Double-escape with empty editor triggers /tree, /fork, or nothing based on setting
1874
- const action = this.settingsManager.getDoubleEscapeAction();
1875
- if (action !== "none") {
1876
- const now = Date.now();
1877
- if (now - this.lastEscapeTime < 500) {
1878
- if (action === "tree") {
1879
- this.showTreeSelector();
1880
- }
1881
- else {
1882
- this.showUserMessageSelector();
1883
- }
1884
- this.lastEscapeTime = 0;
1885
- }
1886
- else {
1887
- this.lastEscapeTime = now;
1888
- }
1889
- }
1890
- }
1891
- };
1892
- // Register app action handlers
1893
- this.defaultEditor.onAction("app.clear", () => this.handleCtrlC());
1894
- this.defaultEditor.onCtrlD = () => this.handleCtrlD();
1895
- this.defaultEditor.onAction("app.suspend", () => this.handleCtrlZ());
1896
- this.defaultEditor.onAction("app.thinking.cycle", () => this.cycleThinkingLevel());
1897
- this.defaultEditor.onAction("app.model.cycleForward", () => this.cycleModel("forward"));
1898
- this.defaultEditor.onAction("app.model.cycleBackward", () => this.cycleModel("backward"));
1899
- // Global debug handler on TUI (works regardless of focus)
1900
- this.ui.onDebug = () => this.handleDebugCommand();
1901
- this.defaultEditor.onAction("app.model.select", () => this.showModelSelector());
1902
- this.defaultEditor.onAction("app.tools.expand", () => this.toggleToolOutputExpansion());
1903
- this.defaultEditor.onAction("app.thinking.toggle", () => this.toggleThinkingBlockVisibility());
1904
- this.defaultEditor.onAction("app.editor.external", () => this.openExternalEditor());
1905
- this.defaultEditor.onAction("app.message.followUp", () => this.handleFollowUp());
1906
- this.defaultEditor.onAction("app.message.dequeue", () => this.handleDequeue());
1907
- this.defaultEditor.onAction("app.session.new", () => this.handleClearCommand());
1908
- this.defaultEditor.onAction("app.session.tree", () => this.showTreeSelector());
1909
- this.defaultEditor.onAction("app.session.fork", () => this.showUserMessageSelector());
1910
- this.defaultEditor.onAction("app.session.resume", () => this.showSessionSelector());
1911
- this.defaultEditor.onChange = (text) => {
1912
- const wasBashMode = this.isBashMode;
1913
- this.isBashMode = text.trimStart().startsWith("!");
1914
- if (wasBashMode !== this.isBashMode) {
1915
- this.updateEditorBorderColor();
1916
- }
1917
- };
1918
- // Handle clipboard image paste (triggered on Ctrl+V)
1919
- this.defaultEditor.onPasteImage = () => {
1920
- this.handleClipboardImagePaste();
1921
- };
1922
- }
1923
- async handleClipboardImagePaste() {
1924
- try {
1925
- const image = await readClipboardImage();
1926
- if (!image) {
1927
- return;
1928
- }
1929
- // Write to temp file
1930
- const tmpDir = os.tmpdir();
1931
- const ext = extensionForImageMimeType(image.mimeType) ?? "png";
1932
- const fileName = `pi-clipboard-${crypto.randomUUID()}.${ext}`;
1933
- const filePath = path.join(tmpDir, fileName);
1934
- fs.writeFileSync(filePath, Buffer.from(image.bytes));
1935
- // Insert file path directly
1936
- this.editor.insertTextAtCursor?.(filePath);
1937
- this.ui.requestRender();
1938
- }
1939
- catch {
1940
- // Silently ignore clipboard errors (may not have permission, etc.)
1941
- }
1942
- }
1943
- setupEditorSubmitHandler() {
1944
- this.defaultEditor.onSubmit = async (text) => {
1945
- text = text.trim();
1946
- if (!text)
1947
- return;
1948
- // Handle commands
1949
- if (text === "/settings") {
1950
- this.showSettingsSelector();
1951
- this.editor.setText("");
1952
- return;
1953
- }
1954
- if (text === "/scoped-models") {
1955
- this.editor.setText("");
1956
- await this.showModelsSelector();
1957
- return;
1958
- }
1959
- if (text === "/model" || text.startsWith("/model ")) {
1960
- const searchTerm = text.startsWith("/model ") ? text.slice(7).trim() : undefined;
1961
- this.editor.setText("");
1962
- await this.handleModelCommand(searchTerm);
1963
- return;
1964
- }
1965
- if (text === "/export" || text.startsWith("/export ")) {
1966
- await this.handleExportCommand(text);
1967
- this.editor.setText("");
1968
- return;
1969
- }
1970
- if (text === "/import" || text.startsWith("/import ")) {
1971
- await this.handleImportCommand(text);
1972
- this.editor.setText("");
1973
- return;
1974
- }
1975
- if (text === "/share") {
1976
- await this.handleShareCommand();
1977
- this.editor.setText("");
1978
- return;
1979
- }
1980
- if (text === "/copy") {
1981
- await this.handleCopyCommand();
1982
- this.editor.setText("");
1983
- return;
1984
- }
1985
- if (text === "/name" || text.startsWith("/name ")) {
1986
- this.handleNameCommand(text);
1987
- this.editor.setText("");
1988
- return;
1989
- }
1990
- if (text === "/session") {
1991
- this.handleSessionCommand();
1992
- this.editor.setText("");
1993
- return;
1994
- }
1995
- if (text === "/changelog") {
1996
- this.handleChangelogCommand();
1997
- this.editor.setText("");
1998
- return;
1999
- }
2000
- if (text === "/hotkeys") {
2001
- this.handleHotkeysCommand();
2002
- this.editor.setText("");
2003
- return;
2004
- }
2005
- if (text === "/fork") {
2006
- this.showUserMessageSelector();
2007
- this.editor.setText("");
2008
- return;
2009
- }
2010
- if (text === "/clone") {
2011
- this.editor.setText("");
2012
- await this.handleCloneCommand();
2013
- return;
2014
- }
2015
- if (text === "/tree") {
2016
- this.showTreeSelector();
2017
- this.editor.setText("");
2018
- return;
2019
- }
2020
- if (text === "/login") {
2021
- this.showOAuthSelector("login");
2022
- this.editor.setText("");
2023
- return;
2024
- }
2025
- if (text === "/logout") {
2026
- this.showOAuthSelector("logout");
2027
- this.editor.setText("");
2028
- return;
2029
- }
2030
- if (text === "/new") {
2031
- this.editor.setText("");
2032
- await this.handleClearCommand();
2033
- return;
2034
- }
2035
- if (text === "/compact" || text.startsWith("/compact ")) {
2036
- const customInstructions = text.startsWith("/compact ") ? text.slice(9).trim() : undefined;
2037
- this.editor.setText("");
2038
- await this.handleCompactCommand(customInstructions);
2039
- return;
2040
- }
2041
- if (text === "/reload") {
2042
- this.editor.setText("");
2043
- await this.handleReloadCommand();
2044
- return;
2045
- }
2046
- if (text === "/debug") {
2047
- this.handleDebugCommand();
2048
- this.editor.setText("");
2049
- return;
2050
- }
2051
- if (text === "/arminsayshi") {
2052
- this.handleArminSaysHi();
2053
- this.editor.setText("");
2054
- return;
2055
- }
2056
- if (text === "/dementedelves") {
2057
- this.handleDementedDelves();
2058
- this.editor.setText("");
2059
- return;
2060
- }
2061
- if (text === "/resume") {
2062
- this.showSessionSelector();
2063
- this.editor.setText("");
2064
- return;
2065
- }
2066
- if (text === "/quit") {
2067
- this.editor.setText("");
2068
- await this.shutdown();
2069
- return;
2070
- }
2071
- // Handle bash command (! for normal, !! for excluded from context)
2072
- if (text.startsWith("!")) {
2073
- const isExcluded = text.startsWith("!!");
2074
- const command = isExcluded ? text.slice(2).trim() : text.slice(1).trim();
2075
- if (command) {
2076
- if (this.session.isBashRunning) {
2077
- this.showWarning("A bash command is already running. Press Esc to cancel it first.");
2078
- this.editor.setText(text);
2079
- return;
2080
- }
2081
- this.editor.addToHistory?.(text);
2082
- await this.handleBashCommand(command, isExcluded);
2083
- this.isBashMode = false;
2084
- this.updateEditorBorderColor();
2085
- return;
2086
- }
2087
- }
2088
- // Queue input during compaction (extension commands execute immediately)
2089
- if (this.session.isCompacting) {
2090
- if (this.isExtensionCommand(text)) {
2091
- this.editor.addToHistory?.(text);
2092
- this.editor.setText("");
2093
- await this.session.prompt(text);
2094
- }
2095
- else {
2096
- this.queueCompactionMessage(text, "steer");
2097
- }
2098
- return;
2099
- }
2100
- // If streaming, use prompt() with steer behavior
2101
- // This handles extension commands (execute immediately), prompt template expansion, and queueing
2102
- if (this.session.isStreaming) {
2103
- this.editor.addToHistory?.(text);
2104
- this.editor.setText("");
2105
- await this.session.prompt(text, { streamingBehavior: "steer" });
2106
- this.updatePendingMessagesDisplay();
2107
- this.ui.requestRender();
2108
- return;
2109
- }
2110
- // Normal message submission
2111
- // First, move any pending bash components to chat
2112
- this.flushPendingBashComponents();
2113
- if (this.onInputCallback) {
2114
- this.onInputCallback(text);
2115
- }
2116
- this.editor.addToHistory?.(text);
2117
- };
2118
- }
2119
- subscribeToAgent() {
2120
- this.unsubscribe = this.session.subscribe(async (event) => {
2121
- await this.handleEvent(event);
2122
- });
2123
- }
2124
- async handleEvent(event) {
2125
- if (!this.isInitialized) {
2126
- await this.init();
2127
- }
2128
- this.footer.invalidate();
2129
- switch (event.type) {
2130
- case "agent_start":
2131
- this.pendingTools.clear();
2132
- if (this.settingsManager.getShowTerminalProgress()) {
2133
- this.ui.terminal.setProgress(true);
2134
- }
2135
- // Restore main escape handler if retry handler is still active
2136
- // (retry success event fires later, but we need main handler now)
2137
- if (this.retryEscapeHandler) {
2138
- this.defaultEditor.onEscape = this.retryEscapeHandler;
2139
- this.retryEscapeHandler = undefined;
2140
- }
2141
- if (this.retryCountdown) {
2142
- this.retryCountdown.dispose();
2143
- this.retryCountdown = undefined;
2144
- }
2145
- if (this.retryLoader) {
2146
- this.retryLoader.stop();
2147
- this.retryLoader = undefined;
2148
- }
2149
- this.stopWorkingLoader();
2150
- if (this.workingVisible) {
2151
- this.loadingAnimation = this.createWorkingLoader();
2152
- this.statusContainer.addChild(this.loadingAnimation);
2153
- }
2154
- this.ui.requestRender();
2155
- break;
2156
- case "queue_update":
2157
- this.updatePendingMessagesDisplay();
2158
- this.ui.requestRender();
2159
- break;
2160
- case "session_info_changed":
2161
- this.updateTerminalTitle();
2162
- this.footer.invalidate();
2163
- this.ui.requestRender();
2164
- break;
2165
- case "thinking_level_changed":
2166
- this.footer.invalidate();
2167
- this.updateEditorBorderColor();
2168
- break;
2169
- case "message_start":
2170
- if (event.message.role === "custom") {
2171
- this.addMessageToChat(event.message);
2172
- this.ui.requestRender();
2173
- }
2174
- else if (event.message.role === "user") {
2175
- this.addMessageToChat(event.message);
2176
- this.updatePendingMessagesDisplay();
2177
- this.ui.requestRender();
2178
- }
2179
- else if (event.message.role === "assistant") {
2180
- this.streamingComponent = new AssistantMessageComponent(undefined, this.hideThinkingBlock, this.getMarkdownThemeWithSettings(), this.hiddenThinkingLabel);
2181
- this.streamingMessage = event.message;
2182
- this.chatContainer.addChild(this.streamingComponent);
2183
- this.streamingComponent.updateContent(this.streamingMessage);
2184
- this.ui.requestRender();
2185
- }
2186
- break;
2187
- case "message_update":
2188
- if (this.streamingComponent && event.message.role === "assistant") {
2189
- this.streamingMessage = event.message;
2190
- this.streamingComponent.updateContent(this.streamingMessage);
2191
- for (const content of this.streamingMessage.content) {
2192
- if (content.type === "toolCall") {
2193
- if (!this.pendingTools.has(content.id)) {
2194
- const component = new ToolExecutionComponent(content.name, content.id, content.arguments, {
2195
- showImages: this.settingsManager.getShowImages(),
2196
- imageWidthCells: this.settingsManager.getImageWidthCells(),
2197
- }, this.getRegisteredToolDefinition(content.name), this.ui, this.sessionManager.getCwd());
2198
- component.setExpanded(this.toolOutputExpanded);
2199
- this.chatContainer.addChild(component);
2200
- this.pendingTools.set(content.id, component);
2201
- }
2202
- else {
2203
- const component = this.pendingTools.get(content.id);
2204
- if (component) {
2205
- component.updateArgs(content.arguments);
2206
- }
2207
- }
2208
- }
2209
- }
2210
- this.ui.requestRender();
2211
- }
2212
- break;
2213
- case "message_end":
2214
- if (event.message.role === "user")
2215
- break;
2216
- if (this.streamingComponent && event.message.role === "assistant") {
2217
- this.streamingMessage = event.message;
2218
- let errorMessage;
2219
- if (this.streamingMessage.stopReason === "aborted") {
2220
- const retryAttempt = this.session.retryAttempt;
2221
- errorMessage =
2222
- retryAttempt > 0
2223
- ? `Aborted after ${retryAttempt} retry attempt${retryAttempt > 1 ? "s" : ""}`
2224
- : "Operation aborted";
2225
- this.streamingMessage.errorMessage = errorMessage;
2226
- }
2227
- this.streamingComponent.updateContent(this.streamingMessage);
2228
- if (this.streamingMessage.stopReason === "aborted" || this.streamingMessage.stopReason === "error") {
2229
- if (!errorMessage) {
2230
- errorMessage = this.streamingMessage.errorMessage || "Error";
2231
- }
2232
- for (const [, component] of this.pendingTools.entries()) {
2233
- component.updateResult({
2234
- content: [{ type: "text", text: errorMessage }],
2235
- isError: true,
2236
- });
2237
- }
2238
- this.pendingTools.clear();
2239
- }
2240
- else {
2241
- // Args are now complete - trigger diff computation for edit tools
2242
- for (const [, component] of this.pendingTools.entries()) {
2243
- component.setArgsComplete();
2244
- }
2245
- }
2246
- this.streamingComponent = undefined;
2247
- this.streamingMessage = undefined;
2248
- this.footer.invalidate();
2249
- }
2250
- this.ui.requestRender();
2251
- break;
2252
- case "tool_execution_start": {
2253
- let component = this.pendingTools.get(event.toolCallId);
2254
- if (!component) {
2255
- component = new ToolExecutionComponent(event.toolName, event.toolCallId, event.args, {
2256
- showImages: this.settingsManager.getShowImages(),
2257
- imageWidthCells: this.settingsManager.getImageWidthCells(),
2258
- }, this.getRegisteredToolDefinition(event.toolName), this.ui, this.sessionManager.getCwd());
2259
- component.setExpanded(this.toolOutputExpanded);
2260
- this.chatContainer.addChild(component);
2261
- this.pendingTools.set(event.toolCallId, component);
2262
- }
2263
- component.markExecutionStarted();
2264
- this.ui.requestRender();
2265
- break;
2266
- }
2267
- case "tool_execution_update": {
2268
- const component = this.pendingTools.get(event.toolCallId);
2269
- if (component) {
2270
- component.updateResult({ ...event.partialResult, isError: false }, true);
2271
- this.ui.requestRender();
2272
- }
2273
- break;
2274
- }
2275
- case "tool_execution_end": {
2276
- const component = this.pendingTools.get(event.toolCallId);
2277
- if (component) {
2278
- component.updateResult({ ...event.result, isError: event.isError });
2279
- this.pendingTools.delete(event.toolCallId);
2280
- this.ui.requestRender();
2281
- }
2282
- break;
2283
- }
2284
- case "agent_end":
2285
- if (this.settingsManager.getShowTerminalProgress()) {
2286
- this.ui.terminal.setProgress(false);
2287
- }
2288
- if (this.loadingAnimation) {
2289
- this.loadingAnimation.stop();
2290
- this.loadingAnimation = undefined;
2291
- this.statusContainer.clear();
2292
- }
2293
- if (this.streamingComponent) {
2294
- this.chatContainer.removeChild(this.streamingComponent);
2295
- this.streamingComponent = undefined;
2296
- this.streamingMessage = undefined;
2297
- }
2298
- this.pendingTools.clear();
2299
- await this.checkShutdownRequested();
2300
- this.ui.requestRender();
2301
- break;
2302
- case "compaction_start": {
2303
- if (this.settingsManager.getShowTerminalProgress()) {
2304
- this.ui.terminal.setProgress(true);
2305
- }
2306
- // Keep editor active; submissions are queued during compaction.
2307
- this.autoCompactionEscapeHandler = this.defaultEditor.onEscape;
2308
- this.defaultEditor.onEscape = () => {
2309
- this.session.abortCompaction();
2310
- };
2311
- this.statusContainer.clear();
2312
- const cancelHint = `(${keyText("app.interrupt")} to cancel)`;
2313
- const label = event.reason === "manual"
2314
- ? `Compacting context... ${cancelHint}`
2315
- : `${event.reason === "overflow" ? "Context overflow detected, " : ""}Auto-compacting... ${cancelHint}`;
2316
- this.autoCompactionLoader = new Loader(this.ui, (spinner) => theme.fg("accent", spinner), (text) => theme.fg("muted", text), label);
2317
- this.statusContainer.addChild(this.autoCompactionLoader);
2318
- this.ui.requestRender();
2319
- break;
2320
- }
2321
- case "compaction_end": {
2322
- if (this.settingsManager.getShowTerminalProgress()) {
2323
- this.ui.terminal.setProgress(false);
2324
- }
2325
- if (this.autoCompactionEscapeHandler) {
2326
- this.defaultEditor.onEscape = this.autoCompactionEscapeHandler;
2327
- this.autoCompactionEscapeHandler = undefined;
2328
- }
2329
- if (this.autoCompactionLoader) {
2330
- this.autoCompactionLoader.stop();
2331
- this.autoCompactionLoader = undefined;
2332
- this.statusContainer.clear();
2333
- }
2334
- if (event.aborted) {
2335
- if (event.reason === "manual") {
2336
- this.showError("Compaction cancelled");
2337
- }
2338
- else {
2339
- this.showStatus("Auto-compaction cancelled");
2340
- }
2341
- }
2342
- else if (event.result) {
2343
- this.chatContainer.clear();
2344
- this.rebuildChatFromMessages();
2345
- this.addMessageToChat(createCompactionSummaryMessage(event.result.summary, event.result.tokensBefore, new Date().toISOString()));
2346
- this.footer.invalidate();
2347
- }
2348
- else if (event.errorMessage) {
2349
- if (event.reason === "manual") {
2350
- this.showError(event.errorMessage);
2351
- }
2352
- else {
2353
- this.chatContainer.addChild(new Spacer(1));
2354
- this.chatContainer.addChild(new Text(theme.fg("error", event.errorMessage), 1, 0));
2355
- }
2356
- }
2357
- void this.flushCompactionQueue({ willRetry: event.willRetry });
2358
- this.ui.requestRender();
2359
- break;
2360
- }
2361
- case "auto_retry_start": {
2362
- // Set up escape to abort retry
2363
- this.retryEscapeHandler = this.defaultEditor.onEscape;
2364
- this.defaultEditor.onEscape = () => {
2365
- this.session.abortRetry();
2366
- };
2367
- // Show retry indicator
2368
- this.statusContainer.clear();
2369
- this.retryCountdown?.dispose();
2370
- const retryMessage = (seconds) => `Retrying (${event.attempt}/${event.maxAttempts}) in ${seconds}s... (${keyText("app.interrupt")} to cancel)`;
2371
- this.retryLoader = new Loader(this.ui, (spinner) => theme.fg("warning", spinner), (text) => theme.fg("muted", text), retryMessage(Math.ceil(event.delayMs / 1000)));
2372
- this.retryCountdown = new CountdownTimer(event.delayMs, this.ui, (seconds) => {
2373
- this.retryLoader?.setMessage(retryMessage(seconds));
2374
- }, () => {
2375
- this.retryCountdown = undefined;
2376
- });
2377
- this.statusContainer.addChild(this.retryLoader);
2378
- this.ui.requestRender();
2379
- break;
2380
- }
2381
- case "auto_retry_end": {
2382
- // Restore escape handler
2383
- if (this.retryEscapeHandler) {
2384
- this.defaultEditor.onEscape = this.retryEscapeHandler;
2385
- this.retryEscapeHandler = undefined;
2386
- }
2387
- if (this.retryCountdown) {
2388
- this.retryCountdown.dispose();
2389
- this.retryCountdown = undefined;
2390
- }
2391
- // Stop loader
2392
- if (this.retryLoader) {
2393
- this.retryLoader.stop();
2394
- this.retryLoader = undefined;
2395
- this.statusContainer.clear();
2396
- }
2397
- // Show error only on final failure (success shows normal response)
2398
- if (!event.success) {
2399
- this.showError(`Retry failed after ${event.attempt} attempts: ${event.finalError || "Unknown error"}`);
2400
- }
2401
- this.ui.requestRender();
2402
- break;
2403
- }
2404
- }
2405
- }
2406
- /** Extract text content from a user message */
2407
- getUserMessageText(message) {
2408
- if (message.role !== "user")
2409
- return "";
2410
- const textBlocks = typeof message.content === "string"
2411
- ? [{ type: "text", text: message.content }]
2412
- : message.content.filter((c) => c.type === "text");
2413
- return textBlocks.map((c) => c.text).join("");
2414
- }
2415
- /**
2416
- * Show a status message in the chat.
2417
- *
2418
- * If multiple status messages are emitted back-to-back (without anything else being added to the chat),
2419
- * we update the previous status line instead of appending new ones to avoid log spam.
2420
- */
2421
- showStatus(message) {
2422
- const children = this.chatContainer.children;
2423
- const last = children.length > 0 ? children[children.length - 1] : undefined;
2424
- const secondLast = children.length > 1 ? children[children.length - 2] : undefined;
2425
- if (last && secondLast && last === this.lastStatusText && secondLast === this.lastStatusSpacer) {
2426
- this.lastStatusText.setText(theme.fg("dim", message));
2427
- this.ui.requestRender();
2428
- return;
2429
- }
2430
- const spacer = new Spacer(1);
2431
- const text = new Text(theme.fg("dim", message), 1, 0);
2432
- this.chatContainer.addChild(spacer);
2433
- this.chatContainer.addChild(text);
2434
- this.lastStatusSpacer = spacer;
2435
- this.lastStatusText = text;
2436
- this.ui.requestRender();
2437
- }
2438
- addMessageToChat(message, options) {
2439
- switch (message.role) {
2440
- case "bashExecution": {
2441
- const component = new BashExecutionComponent(message.command, this.ui, message.excludeFromContext);
2442
- if (message.output) {
2443
- component.appendOutput(message.output);
2444
- }
2445
- component.setComplete(message.exitCode, message.cancelled, message.truncated ? { truncated: true } : undefined, message.fullOutputPath);
2446
- this.chatContainer.addChild(component);
2447
- break;
2448
- }
2449
- case "custom": {
2450
- if (message.display) {
2451
- const renderer = this.session.extensionRunner.getMessageRenderer(message.customType);
2452
- const component = new CustomMessageComponent(message, renderer, this.getMarkdownThemeWithSettings());
2453
- component.setExpanded(this.toolOutputExpanded);
2454
- this.chatContainer.addChild(component);
2455
- }
2456
- break;
2457
- }
2458
- case "compactionSummary": {
2459
- this.chatContainer.addChild(new Spacer(1));
2460
- const component = new CompactionSummaryMessageComponent(message, this.getMarkdownThemeWithSettings());
2461
- component.setExpanded(this.toolOutputExpanded);
2462
- this.chatContainer.addChild(component);
2463
- break;
2464
- }
2465
- case "branchSummary": {
2466
- this.chatContainer.addChild(new Spacer(1));
2467
- const component = new BranchSummaryMessageComponent(message, this.getMarkdownThemeWithSettings());
2468
- component.setExpanded(this.toolOutputExpanded);
2469
- this.chatContainer.addChild(component);
2470
- break;
2471
- }
2472
- case "user": {
2473
- const textContent = this.getUserMessageText(message);
2474
- if (textContent) {
2475
- if (this.chatContainer.children.length > 0) {
2476
- this.chatContainer.addChild(new Spacer(1));
2477
- }
2478
- const skillBlock = parseSkillBlock(textContent);
2479
- if (skillBlock) {
2480
- // Render skill block (collapsible)
2481
- const component = new SkillInvocationMessageComponent(skillBlock, this.getMarkdownThemeWithSettings());
2482
- component.setExpanded(this.toolOutputExpanded);
2483
- this.chatContainer.addChild(component);
2484
- // Render user message separately if present
2485
- if (skillBlock.userMessage) {
2486
- const userComponent = new UserMessageComponent(skillBlock.userMessage, this.getMarkdownThemeWithSettings());
2487
- this.chatContainer.addChild(userComponent);
2488
- }
2489
- }
2490
- else {
2491
- const userComponent = new UserMessageComponent(textContent, this.getMarkdownThemeWithSettings());
2492
- this.chatContainer.addChild(userComponent);
2493
- }
2494
- if (options?.populateHistory) {
2495
- this.editor.addToHistory?.(textContent);
2496
- }
2497
- }
2498
- break;
2499
- }
2500
- case "assistant": {
2501
- const assistantComponent = new AssistantMessageComponent(message, this.hideThinkingBlock, this.getMarkdownThemeWithSettings(), this.hiddenThinkingLabel);
2502
- this.chatContainer.addChild(assistantComponent);
2503
- break;
2504
- }
2505
- case "toolResult": {
2506
- // Tool results are rendered inline with tool calls, handled separately
2507
- break;
2508
- }
2509
- default: {
2510
- const _exhaustive = message;
2511
- }
2512
- }
2513
- }
2514
- /**
2515
- * Render session context to chat. Used for initial load and rebuild after compaction.
2516
- * @param sessionContext Session context to render
2517
- * @param options.updateFooter Update footer state
2518
- * @param options.populateHistory Add user messages to editor history
2519
- */
2520
- renderSessionContext(sessionContext, options = {}) {
2521
- this.pendingTools.clear();
2522
- const renderedPendingTools = new Map();
2523
- if (options.updateFooter) {
2524
- this.footer.invalidate();
2525
- this.updateEditorBorderColor();
2526
- }
2527
- for (const message of sessionContext.messages) {
2528
- // Assistant messages need special handling for tool calls
2529
- if (message.role === "assistant") {
2530
- this.addMessageToChat(message);
2531
- // Render tool call components
2532
- for (const content of message.content) {
2533
- if (content.type === "toolCall") {
2534
- const component = new ToolExecutionComponent(content.name, content.id, content.arguments, {
2535
- showImages: this.settingsManager.getShowImages(),
2536
- imageWidthCells: this.settingsManager.getImageWidthCells(),
2537
- }, this.getRegisteredToolDefinition(content.name), this.ui, this.sessionManager.getCwd());
2538
- component.setExpanded(this.toolOutputExpanded);
2539
- this.chatContainer.addChild(component);
2540
- if (message.stopReason === "aborted" || message.stopReason === "error") {
2541
- let errorMessage;
2542
- if (message.stopReason === "aborted") {
2543
- const retryAttempt = this.session.retryAttempt;
2544
- errorMessage =
2545
- retryAttempt > 0
2546
- ? `Aborted after ${retryAttempt} retry attempt${retryAttempt > 1 ? "s" : ""}`
2547
- : "Operation aborted";
2548
- }
2549
- else {
2550
- errorMessage = message.errorMessage || "Error";
2551
- }
2552
- component.updateResult({ content: [{ type: "text", text: errorMessage }], isError: true });
2553
- }
2554
- else {
2555
- renderedPendingTools.set(content.id, component);
2556
- }
2557
- }
2558
- }
2559
- }
2560
- else if (message.role === "toolResult") {
2561
- // Match tool results to pending tool components
2562
- const component = renderedPendingTools.get(message.toolCallId);
2563
- if (component) {
2564
- component.updateResult(message);
2565
- renderedPendingTools.delete(message.toolCallId);
2566
- }
2567
- }
2568
- else {
2569
- // All other messages use standard rendering
2570
- this.addMessageToChat(message, options);
2571
- }
2572
- }
2573
- for (const [toolCallId, component] of renderedPendingTools) {
2574
- this.pendingTools.set(toolCallId, component);
2575
- }
2576
- this.ui.requestRender();
2577
- }
2578
- renderInitialMessages() {
2579
- // Get aligned messages and entries from session context
2580
- const context = this.sessionManager.buildSessionContext();
2581
- this.renderSessionContext(context, {
2582
- updateFooter: true,
2583
- populateHistory: true,
2584
- });
2585
- // Show compaction info if session was compacted
2586
- const allEntries = this.sessionManager.getEntries();
2587
- const compactionCount = allEntries.filter((e) => e.type === "compaction").length;
2588
- if (compactionCount > 0) {
2589
- const times = compactionCount === 1 ? "1 time" : `${compactionCount} times`;
2590
- this.showStatus(`Session compacted ${times}`);
2591
- }
2592
- }
2593
- async getUserInput() {
2594
- return new Promise((resolve) => {
2595
- this.onInputCallback = (text) => {
2596
- this.onInputCallback = undefined;
2597
- resolve(text);
2598
- };
2599
- });
2600
- }
2601
- rebuildChatFromMessages() {
2602
- this.chatContainer.clear();
2603
- const context = this.sessionManager.buildSessionContext();
2604
- this.renderSessionContext(context);
2605
- }
2606
- // =========================================================================
2607
- // Key handlers
2608
- // =========================================================================
2609
- handleCtrlC() {
2610
- const now = Date.now();
2611
- if (now - this.lastSigintTime < 500) {
2612
- void this.shutdown();
2613
- }
2614
- else {
2615
- this.clearEditor();
2616
- this.lastSigintTime = now;
2617
- }
2618
- }
2619
- handleCtrlD() {
2620
- // Only called when editor is empty (enforced by CustomEditor)
2621
- void this.shutdown();
2622
- }
2623
- /**
2624
- * Gracefully shutdown the agent.
2625
- * Stops the TUI before emitting shutdown events so extension UI cleanup cannot
2626
- * repaint the final frame while the process is exiting.
2627
- */
2628
- isShuttingDown = false;
2629
- async shutdown() {
2630
- if (this.isShuttingDown)
2631
- return;
2632
- this.isShuttingDown = true;
2633
- this.unregisterSignalHandlers();
2634
- // Drain any in-flight Kitty key release events before stopping.
2635
- // This prevents escape sequences from leaking to the parent shell over slow SSH.
2636
- await this.ui.terminal.drainInput(1000);
2637
- this.stop();
2638
- await this.runtimeHost.dispose();
2639
- process.exit(0);
2640
- }
2641
- emergencyTerminalExit() {
2642
- this.isShuttingDown = true;
2643
- this.unregisterSignalHandlers();
2644
- killTrackedDetachedChildren();
2645
- // The terminal is gone. Do not run normal shutdown because TUI and
2646
- // extension cleanup can write restore sequences and re-trigger EIO.
2647
- process.exit(129);
2648
- }
2649
- /**
2650
- * Check if shutdown was requested and perform shutdown if so.
2651
- */
2652
- async checkShutdownRequested() {
2653
- if (!this.shutdownRequested)
2654
- return;
2655
- await this.shutdown();
2656
- }
2657
- registerSignalHandlers() {
2658
- this.unregisterSignalHandlers();
2659
- const signals = ["SIGTERM"];
2660
- if (process.platform !== "win32") {
2661
- signals.push("SIGHUP");
2662
- }
2663
- for (const signal of signals) {
2664
- const handler = () => {
2665
- if (signal === "SIGHUP") {
2666
- this.emergencyTerminalExit();
2667
- }
2668
- killTrackedDetachedChildren();
2669
- void this.shutdown();
2670
- };
2671
- process.prependListener(signal, handler);
2672
- this.signalCleanupHandlers.push(() => process.off(signal, handler));
2673
- }
2674
- const terminalErrorHandler = (error) => {
2675
- if (isDeadTerminalError(error)) {
2676
- this.emergencyTerminalExit();
2677
- }
2678
- throw error;
2679
- };
2680
- process.stdout.on("error", terminalErrorHandler);
2681
- process.stderr.on("error", terminalErrorHandler);
2682
- this.signalCleanupHandlers.push(() => process.stdout.off("error", terminalErrorHandler));
2683
- this.signalCleanupHandlers.push(() => process.stderr.off("error", terminalErrorHandler));
2684
- }
2685
- unregisterSignalHandlers() {
2686
- for (const cleanup of this.signalCleanupHandlers) {
2687
- cleanup();
2688
- }
2689
- this.signalCleanupHandlers = [];
2690
- }
2691
- handleCtrlZ() {
2692
- if (process.platform === "win32") {
2693
- this.showStatus("Suspend to background is not supported on Windows");
2694
- return;
2695
- }
2696
- // Keep the event loop alive while suspended. Without this, stopping the TUI
2697
- // can leave Node with no ref'ed handles, causing the process to exit on fg
2698
- // before the SIGCONT handler gets a chance to restore the terminal.
2699
- const suspendKeepAlive = setInterval(() => { }, 2 ** 30);
2700
- // Ignore SIGINT while suspended so Ctrl+C in the terminal does not
2701
- // kill the backgrounded process. The handler is removed on resume.
2702
- const ignoreSigint = () => { };
2703
- process.on("SIGINT", ignoreSigint);
2704
- // Set up handler to restore TUI when resumed
2705
- process.once("SIGCONT", () => {
2706
- clearInterval(suspendKeepAlive);
2707
- process.removeListener("SIGINT", ignoreSigint);
2708
- this.ui.start();
2709
- this.ui.requestRender(true);
2710
- });
2711
- try {
2712
- // Stop the TUI (restore terminal to normal mode)
2713
- this.ui.stop();
2714
- // Send SIGTSTP to process group (pid=0 means all processes in group)
2715
- process.kill(0, "SIGTSTP");
2716
- }
2717
- catch (error) {
2718
- clearInterval(suspendKeepAlive);
2719
- process.removeListener("SIGINT", ignoreSigint);
2720
- throw error;
2721
- }
2722
- }
2723
- async handleFollowUp() {
2724
- const text = (this.editor.getExpandedText?.() ?? this.editor.getText()).trim();
2725
- if (!text)
2726
- return;
2727
- // Queue input during compaction (extension commands execute immediately)
2728
- if (this.session.isCompacting) {
2729
- if (this.isExtensionCommand(text)) {
2730
- this.editor.addToHistory?.(text);
2731
- this.editor.setText("");
2732
- await this.session.prompt(text);
2733
- }
2734
- else {
2735
- this.queueCompactionMessage(text, "followUp");
2736
- }
2737
- return;
2738
- }
2739
- // Alt+Enter queues a follow-up message (waits until agent finishes)
2740
- // This handles extension commands (execute immediately), prompt template expansion, and queueing
2741
- if (this.session.isStreaming) {
2742
- this.editor.addToHistory?.(text);
2743
- this.editor.setText("");
2744
- await this.session.prompt(text, { streamingBehavior: "followUp" });
2745
- this.updatePendingMessagesDisplay();
2746
- this.ui.requestRender();
2747
- }
2748
- // If not streaming, Alt+Enter acts like regular Enter (trigger onSubmit)
2749
- else if (this.editor.onSubmit) {
2750
- this.editor.setText("");
2751
- this.editor.onSubmit(text);
2752
- }
2753
- }
2754
- handleDequeue() {
2755
- const restored = this.restoreQueuedMessagesToEditor();
2756
- if (restored === 0) {
2757
- this.showStatus("No queued messages to restore");
2758
- }
2759
- else {
2760
- this.showStatus(`Restored ${restored} queued message${restored > 1 ? "s" : ""} to editor`);
2761
- }
2762
- }
2763
- updateEditorBorderColor() {
2764
- if (this.isBashMode) {
2765
- this.editor.borderColor = theme.getBashModeBorderColor();
2766
- }
2767
- else {
2768
- const level = this.session.thinkingLevel || "off";
2769
- this.editor.borderColor = theme.getThinkingBorderColor(level);
2770
- }
2771
- this.ui.requestRender();
2772
- }
2773
- cycleThinkingLevel() {
2774
- const newLevel = this.session.cycleThinkingLevel();
2775
- if (newLevel === undefined) {
2776
- this.showStatus("Current model does not support thinking");
2777
- }
2778
- else {
2779
- this.footer.invalidate();
2780
- this.updateEditorBorderColor();
2781
- this.showStatus(`Thinking level: ${newLevel}`);
2782
- }
2783
- }
2784
- async cycleModel(direction) {
2785
- try {
2786
- const result = await this.session.cycleModel(direction);
2787
- if (result === undefined) {
2788
- const msg = this.session.scopedModels.length > 0 ? "Only one model in scope" : "Only one model available";
2789
- this.showStatus(msg);
2790
- }
2791
- else {
2792
- this.footer.invalidate();
2793
- this.updateEditorBorderColor();
2794
- const thinkingStr = result.model.reasoning && result.thinkingLevel !== "off" ? ` (thinking: ${result.thinkingLevel})` : "";
2795
- this.showStatus(`Switched to ${result.model.name || result.model.id}${thinkingStr}`);
2796
- void this.maybeWarnAboutAnthropicSubscriptionAuth(result.model);
2797
- }
2798
- }
2799
- catch (error) {
2800
- this.showError(error instanceof Error ? error.message : String(error));
2801
- }
2802
- }
2803
- toggleToolOutputExpansion() {
2804
- this.setToolsExpanded(!this.toolOutputExpanded);
2805
- }
2806
- setToolsExpanded(expanded) {
2807
- this.toolOutputExpanded = expanded;
2808
- const activeHeader = this.customHeader ?? this.builtInHeader;
2809
- if (isExpandable(activeHeader)) {
2810
- activeHeader.setExpanded(expanded);
2811
- }
2812
- for (const child of this.chatContainer.children) {
2813
- if (isExpandable(child)) {
2814
- child.setExpanded(expanded);
2815
- }
2816
- }
2817
- this.ui.requestRender();
2818
- }
2819
- toggleThinkingBlockVisibility() {
2820
- this.hideThinkingBlock = !this.hideThinkingBlock;
2821
- this.settingsManager.setHideThinkingBlock(this.hideThinkingBlock);
2822
- // Rebuild chat from session messages
2823
- this.chatContainer.clear();
2824
- this.rebuildChatFromMessages();
2825
- // If streaming, re-add the streaming component with updated visibility and re-render
2826
- if (this.streamingComponent && this.streamingMessage) {
2827
- this.streamingComponent.setHideThinkingBlock(this.hideThinkingBlock);
2828
- this.streamingComponent.updateContent(this.streamingMessage);
2829
- this.chatContainer.addChild(this.streamingComponent);
2830
- }
2831
- this.showStatus(`Thinking blocks: ${this.hideThinkingBlock ? "hidden" : "visible"}`);
2832
- }
2833
- openExternalEditor() {
2834
- // Determine editor (respect $VISUAL, then $EDITOR)
2835
- const editorCmd = process.env.VISUAL || process.env.EDITOR;
2836
- if (!editorCmd) {
2837
- this.showWarning("No editor configured. Set $VISUAL or $EDITOR environment variable.");
2838
- return;
2839
- }
2840
- const currentText = this.editor.getExpandedText?.() ?? this.editor.getText();
2841
- const tmpFile = path.join(os.tmpdir(), `pi-editor-${Date.now()}.pi.md`);
2842
- try {
2843
- // Write current content to temp file
2844
- fs.writeFileSync(tmpFile, currentText, "utf-8");
2845
- // Stop TUI to release terminal
2846
- this.ui.stop();
2847
- // Split by space to support editor arguments (e.g., "code --wait")
2848
- const [editor, ...editorArgs] = editorCmd.split(" ");
2849
- // Spawn editor synchronously with inherited stdio for interactive editing
2850
- const result = spawnSync(editor, [...editorArgs, tmpFile], {
2851
- stdio: "inherit",
2852
- shell: process.platform === "win32",
2853
- });
2854
- // On successful exit (status 0), replace editor content
2855
- if (result.status === 0) {
2856
- const newContent = fs.readFileSync(tmpFile, "utf-8").replace(/\n$/, "");
2857
- this.editor.setText(newContent);
2858
- }
2859
- // On non-zero exit, keep original text (no action needed)
2860
- }
2861
- finally {
2862
- // Clean up temp file
2863
- try {
2864
- fs.unlinkSync(tmpFile);
2865
- }
2866
- catch {
2867
- // Ignore cleanup errors
2868
- }
2869
- // Restart TUI
2870
- this.ui.start();
2871
- // Force full re-render since external editor uses alternate screen
2872
- this.ui.requestRender(true);
2873
- }
2874
- }
2875
- // =========================================================================
2876
- // UI helpers
2877
- // =========================================================================
2878
- clearEditor() {
2879
- this.editor.setText("");
2880
- this.ui.requestRender();
2881
- }
2882
- showError(errorMessage) {
2883
- this.chatContainer.addChild(new Spacer(1));
2884
- this.chatContainer.addChild(new Text(theme.fg("error", `Error: ${errorMessage}`), 1, 0));
2885
- this.ui.requestRender();
2886
- }
2887
- showWarning(warningMessage) {
2888
- this.chatContainer.addChild(new Spacer(1));
2889
- this.chatContainer.addChild(new Text(theme.fg("warning", `Warning: ${warningMessage}`), 1, 0));
2890
- this.ui.requestRender();
2891
- }
2892
- showNewVersionNotification(newVersion) {
2893
- const action = theme.fg("accent", `${APP_NAME} update`);
2894
- const updateInstruction = theme.fg("muted", `New version ${newVersion} is available. Run `) + action;
2895
- const changelogUrl = theme.fg("accent", "https://github.com/earendil-works/pi-mono/blob/main/packages/coding-agent/CHANGELOG.md");
2896
- const changelogLine = theme.fg("muted", "Changelog: ") + changelogUrl;
2897
- this.chatContainer.addChild(new Spacer(1));
2898
- this.chatContainer.addChild(new DynamicBorder((text) => theme.fg("warning", text)));
2899
- this.chatContainer.addChild(new Text(`${theme.bold(theme.fg("warning", "Update Available"))}\n${updateInstruction}\n${changelogLine}`, 1, 0));
2900
- this.chatContainer.addChild(new DynamicBorder((text) => theme.fg("warning", text)));
2901
- this.ui.requestRender();
2902
- }
2903
- showPackageUpdateNotification(packages) {
2904
- const action = theme.fg("accent", `${APP_NAME} update`);
2905
- const updateInstruction = theme.fg("muted", "Package updates are available. Run ") + action;
2906
- const packageLines = packages.map((pkg) => `- ${pkg}`).join("\n");
2907
- this.chatContainer.addChild(new Spacer(1));
2908
- this.chatContainer.addChild(new DynamicBorder((text) => theme.fg("warning", text)));
2909
- this.chatContainer.addChild(new Text(`${theme.bold(theme.fg("warning", "Package Updates Available"))}\n${updateInstruction}\n${theme.fg("muted", "Packages:")}\n${packageLines}`, 1, 0));
2910
- this.chatContainer.addChild(new DynamicBorder((text) => theme.fg("warning", text)));
2911
- this.ui.requestRender();
2912
- }
2913
- /**
2914
- * Get all queued messages (read-only).
2915
- * Combines session queue and compaction queue.
2916
- */
2917
- getAllQueuedMessages() {
2918
- return {
2919
- steering: [
2920
- ...this.session.getSteeringMessages(),
2921
- ...this.compactionQueuedMessages.filter((msg) => msg.mode === "steer").map((msg) => msg.text),
2922
- ],
2923
- followUp: [
2924
- ...this.session.getFollowUpMessages(),
2925
- ...this.compactionQueuedMessages.filter((msg) => msg.mode === "followUp").map((msg) => msg.text),
2926
- ],
2927
- };
2928
- }
2929
- /**
2930
- * Clear all queued messages and return their contents.
2931
- * Clears both session queue and compaction queue.
2932
- */
2933
- clearAllQueues() {
2934
- const { steering, followUp } = this.session.clearQueue();
2935
- const compactionSteering = this.compactionQueuedMessages
2936
- .filter((msg) => msg.mode === "steer")
2937
- .map((msg) => msg.text);
2938
- const compactionFollowUp = this.compactionQueuedMessages
2939
- .filter((msg) => msg.mode === "followUp")
2940
- .map((msg) => msg.text);
2941
- this.compactionQueuedMessages = [];
2942
- return {
2943
- steering: [...steering, ...compactionSteering],
2944
- followUp: [...followUp, ...compactionFollowUp],
2945
- };
2946
- }
2947
- updatePendingMessagesDisplay() {
2948
- this.pendingMessagesContainer.clear();
2949
- const { steering: steeringMessages, followUp: followUpMessages } = this.getAllQueuedMessages();
2950
- if (steeringMessages.length > 0 || followUpMessages.length > 0) {
2951
- this.pendingMessagesContainer.addChild(new Spacer(1));
2952
- for (const message of steeringMessages) {
2953
- const text = theme.fg("dim", `Steering: ${message}`);
2954
- this.pendingMessagesContainer.addChild(new TruncatedText(text, 1, 0));
2955
- }
2956
- for (const message of followUpMessages) {
2957
- const text = theme.fg("dim", `Follow-up: ${message}`);
2958
- this.pendingMessagesContainer.addChild(new TruncatedText(text, 1, 0));
2959
- }
2960
- const dequeueHint = this.getAppKeyDisplay("app.message.dequeue");
2961
- const hintText = theme.fg("dim", `↳ ${dequeueHint} to edit all queued messages`);
2962
- this.pendingMessagesContainer.addChild(new TruncatedText(hintText, 1, 0));
2963
- }
2964
- }
2965
- restoreQueuedMessagesToEditor(options) {
2966
- const { steering, followUp } = this.clearAllQueues();
2967
- const allQueued = [...steering, ...followUp];
2968
- if (allQueued.length === 0) {
2969
- this.updatePendingMessagesDisplay();
2970
- if (options?.abort) {
2971
- this.agent.abort();
2972
- }
2973
- return 0;
2974
- }
2975
- const queuedText = allQueued.join("\n\n");
2976
- const currentText = options?.currentText ?? this.editor.getText();
2977
- const combinedText = [queuedText, currentText].filter((t) => t.trim()).join("\n\n");
2978
- this.editor.setText(combinedText);
2979
- this.updatePendingMessagesDisplay();
2980
- if (options?.abort) {
2981
- this.agent.abort();
2982
- }
2983
- return allQueued.length;
2984
- }
2985
- queueCompactionMessage(text, mode) {
2986
- this.compactionQueuedMessages.push({ text, mode });
2987
- this.editor.addToHistory?.(text);
2988
- this.editor.setText("");
2989
- this.updatePendingMessagesDisplay();
2990
- this.showStatus("Queued message for after compaction");
2991
- }
2992
- isExtensionCommand(text) {
2993
- if (!text.startsWith("/"))
2994
- return false;
2995
- const extensionRunner = this.session.extensionRunner;
2996
- const spaceIndex = text.indexOf(" ");
2997
- const commandName = spaceIndex === -1 ? text.slice(1) : text.slice(1, spaceIndex);
2998
- return !!extensionRunner.getCommand(commandName);
2999
- }
3000
- async flushCompactionQueue(options) {
3001
- if (this.compactionQueuedMessages.length === 0) {
3002
- return;
3003
- }
3004
- const queuedMessages = [...this.compactionQueuedMessages];
3005
- this.compactionQueuedMessages = [];
3006
- this.updatePendingMessagesDisplay();
3007
- const restoreQueue = (error) => {
3008
- this.session.clearQueue();
3009
- this.compactionQueuedMessages = queuedMessages;
3010
- this.updatePendingMessagesDisplay();
3011
- this.showError(`Failed to send queued message${queuedMessages.length > 1 ? "s" : ""}: ${error instanceof Error ? error.message : String(error)}`);
3012
- };
3013
- try {
3014
- if (options?.willRetry) {
3015
- // When retry is pending, queue messages for the retry turn
3016
- for (const message of queuedMessages) {
3017
- if (this.isExtensionCommand(message.text)) {
3018
- await this.session.prompt(message.text);
3019
- }
3020
- else if (message.mode === "followUp") {
3021
- await this.session.followUp(message.text);
3022
- }
3023
- else {
3024
- await this.session.steer(message.text);
3025
- }
3026
- }
3027
- this.updatePendingMessagesDisplay();
3028
- return;
3029
- }
3030
- // Find first non-extension-command message to use as prompt
3031
- const firstPromptIndex = queuedMessages.findIndex((message) => !this.isExtensionCommand(message.text));
3032
- if (firstPromptIndex === -1) {
3033
- // All extension commands - execute them all
3034
- for (const message of queuedMessages) {
3035
- await this.session.prompt(message.text);
3036
- }
3037
- return;
3038
- }
3039
- // Execute any extension commands before the first prompt
3040
- const preCommands = queuedMessages.slice(0, firstPromptIndex);
3041
- const firstPrompt = queuedMessages[firstPromptIndex];
3042
- const rest = queuedMessages.slice(firstPromptIndex + 1);
3043
- for (const message of preCommands) {
3044
- await this.session.prompt(message.text);
3045
- }
3046
- // Send first prompt (starts streaming)
3047
- const promptPromise = this.session.prompt(firstPrompt.text).catch((error) => {
3048
- restoreQueue(error);
3049
- });
3050
- // Queue remaining messages
3051
- for (const message of rest) {
3052
- if (this.isExtensionCommand(message.text)) {
3053
- await this.session.prompt(message.text);
3054
- }
3055
- else if (message.mode === "followUp") {
3056
- await this.session.followUp(message.text);
3057
- }
3058
- else {
3059
- await this.session.steer(message.text);
3060
- }
3061
- }
3062
- this.updatePendingMessagesDisplay();
3063
- void promptPromise;
3064
- }
3065
- catch (error) {
3066
- restoreQueue(error);
3067
- }
3068
- }
3069
- /** Move pending bash components from pending area to chat */
3070
- flushPendingBashComponents() {
3071
- for (const component of this.pendingBashComponents) {
3072
- this.pendingMessagesContainer.removeChild(component);
3073
- this.chatContainer.addChild(component);
3074
- }
3075
- this.pendingBashComponents = [];
3076
- }
3077
- // =========================================================================
3078
- // Selectors
3079
- // =========================================================================
3080
- /**
3081
- * Shows a selector component in place of the editor.
3082
- * @param create Factory that receives a `done` callback and returns the component and focus target
3083
- */
3084
- showSelector(create) {
3085
- const done = () => {
3086
- this.editorContainer.clear();
3087
- this.editorContainer.addChild(this.editor);
3088
- this.ui.setFocus(this.editor);
3089
- };
3090
- const { component, focus } = create(done);
3091
- this.editorContainer.clear();
3092
- this.editorContainer.addChild(component);
3093
- this.ui.setFocus(focus);
3094
- this.ui.requestRender();
3095
- }
3096
- showSettingsSelector() {
3097
- this.showSelector((done) => {
3098
- const selector = new SettingsSelectorComponent({
3099
- autoCompact: this.session.autoCompactionEnabled,
3100
- showImages: this.settingsManager.getShowImages(),
3101
- imageWidthCells: this.settingsManager.getImageWidthCells(),
3102
- autoResizeImages: this.settingsManager.getImageAutoResize(),
3103
- blockImages: this.settingsManager.getBlockImages(),
3104
- enableSkillCommands: this.settingsManager.getEnableSkillCommands(),
3105
- steeringMode: this.session.steeringMode,
3106
- followUpMode: this.session.followUpMode,
3107
- transport: this.settingsManager.getTransport(),
3108
- thinkingLevel: this.session.thinkingLevel,
3109
- availableThinkingLevels: this.session.getAvailableThinkingLevels(),
3110
- currentTheme: this.settingsManager.getTheme() || "dark",
3111
- availableThemes: getAvailableThemes(),
3112
- hideThinkingBlock: this.hideThinkingBlock,
3113
- collapseChangelog: this.settingsManager.getCollapseChangelog(),
3114
- enableInstallTelemetry: this.settingsManager.getEnableInstallTelemetry(),
3115
- doubleEscapeAction: this.settingsManager.getDoubleEscapeAction(),
3116
- treeFilterMode: this.settingsManager.getTreeFilterMode(),
3117
- showHardwareCursor: this.settingsManager.getShowHardwareCursor(),
3118
- editorPaddingX: this.settingsManager.getEditorPaddingX(),
3119
- autocompleteMaxVisible: this.settingsManager.getAutocompleteMaxVisible(),
3120
- quietStartup: this.settingsManager.getQuietStartup(),
3121
- clearOnShrink: this.settingsManager.getClearOnShrink(),
3122
- showTerminalProgress: this.settingsManager.getShowTerminalProgress(),
3123
- warnings: this.settingsManager.getWarnings(),
3124
- }, {
3125
- onAutoCompactChange: (enabled) => {
3126
- this.session.setAutoCompactionEnabled(enabled);
3127
- this.footer.setAutoCompactEnabled(enabled);
3128
- },
3129
- onShowImagesChange: (enabled) => {
3130
- this.settingsManager.setShowImages(enabled);
3131
- for (const child of this.chatContainer.children) {
3132
- if (child instanceof ToolExecutionComponent) {
3133
- child.setShowImages(enabled);
3134
- }
3135
- }
3136
- },
3137
- onImageWidthCellsChange: (width) => {
3138
- this.settingsManager.setImageWidthCells(width);
3139
- for (const child of this.chatContainer.children) {
3140
- if (child instanceof ToolExecutionComponent) {
3141
- child.setImageWidthCells(width);
3142
- }
3143
- }
3144
- },
3145
- onAutoResizeImagesChange: (enabled) => {
3146
- this.settingsManager.setImageAutoResize(enabled);
3147
- },
3148
- onBlockImagesChange: (blocked) => {
3149
- this.settingsManager.setBlockImages(blocked);
3150
- },
3151
- onEnableSkillCommandsChange: (enabled) => {
3152
- this.settingsManager.setEnableSkillCommands(enabled);
3153
- this.setupAutocompleteProvider();
3154
- },
3155
- onSteeringModeChange: (mode) => {
3156
- this.session.setSteeringMode(mode);
3157
- },
3158
- onFollowUpModeChange: (mode) => {
3159
- this.session.setFollowUpMode(mode);
3160
- },
3161
- onTransportChange: (transport) => {
3162
- this.settingsManager.setTransport(transport);
3163
- this.session.agent.transport = transport;
3164
- },
3165
- onThinkingLevelChange: (level) => {
3166
- this.session.setThinkingLevel(level);
3167
- this.footer.invalidate();
3168
- this.updateEditorBorderColor();
3169
- },
3170
- onThemeChange: (themeName) => {
3171
- const result = setTheme(themeName, true);
3172
- this.settingsManager.setTheme(themeName);
3173
- this.ui.invalidate();
3174
- if (!result.success) {
3175
- this.showError(`Failed to load theme "${themeName}": ${result.error}\nFell back to dark theme.`);
3176
- }
3177
- },
3178
- onThemePreview: (themeName) => {
3179
- const result = setTheme(themeName, true);
3180
- if (result.success) {
3181
- this.ui.invalidate();
3182
- this.ui.requestRender();
3183
- }
3184
- },
3185
- onHideThinkingBlockChange: (hidden) => {
3186
- this.hideThinkingBlock = hidden;
3187
- this.settingsManager.setHideThinkingBlock(hidden);
3188
- for (const child of this.chatContainer.children) {
3189
- if (child instanceof AssistantMessageComponent) {
3190
- child.setHideThinkingBlock(hidden);
3191
- }
3192
- }
3193
- this.chatContainer.clear();
3194
- this.rebuildChatFromMessages();
3195
- },
3196
- onCollapseChangelogChange: (collapsed) => {
3197
- this.settingsManager.setCollapseChangelog(collapsed);
3198
- },
3199
- onEnableInstallTelemetryChange: (enabled) => {
3200
- this.settingsManager.setEnableInstallTelemetry(enabled);
3201
- },
3202
- onQuietStartupChange: (enabled) => {
3203
- this.settingsManager.setQuietStartup(enabled);
3204
- },
3205
- onDoubleEscapeActionChange: (action) => {
3206
- this.settingsManager.setDoubleEscapeAction(action);
3207
- },
3208
- onTreeFilterModeChange: (mode) => {
3209
- this.settingsManager.setTreeFilterMode(mode);
3210
- },
3211
- onShowHardwareCursorChange: (enabled) => {
3212
- this.settingsManager.setShowHardwareCursor(enabled);
3213
- this.ui.setShowHardwareCursor(enabled);
3214
- },
3215
- onEditorPaddingXChange: (padding) => {
3216
- this.settingsManager.setEditorPaddingX(padding);
3217
- this.defaultEditor.setPaddingX(padding);
3218
- if (this.editor !== this.defaultEditor && this.editor.setPaddingX !== undefined) {
3219
- this.editor.setPaddingX(padding);
3220
- }
3221
- },
3222
- onAutocompleteMaxVisibleChange: (maxVisible) => {
3223
- this.settingsManager.setAutocompleteMaxVisible(maxVisible);
3224
- this.defaultEditor.setAutocompleteMaxVisible(maxVisible);
3225
- if (this.editor !== this.defaultEditor && this.editor.setAutocompleteMaxVisible !== undefined) {
3226
- this.editor.setAutocompleteMaxVisible(maxVisible);
3227
- }
3228
- },
3229
- onClearOnShrinkChange: (enabled) => {
3230
- this.settingsManager.setClearOnShrink(enabled);
3231
- this.ui.setClearOnShrink(enabled);
3232
- },
3233
- onShowTerminalProgressChange: (enabled) => {
3234
- this.settingsManager.setShowTerminalProgress(enabled);
3235
- },
3236
- onWarningsChange: (warnings) => {
3237
- this.settingsManager.setWarnings(warnings);
3238
- },
3239
- onCancel: () => {
3240
- done();
3241
- this.ui.requestRender();
3242
- },
3243
- });
3244
- return { component: selector, focus: selector.getSettingsList() };
3245
- });
3246
- }
3247
- async handleModelCommand(searchTerm) {
3248
- if (!searchTerm) {
3249
- this.showModelSelector();
3250
- return;
3251
- }
3252
- const model = await this.findExactModelMatch(searchTerm);
3253
- if (model) {
3254
- try {
3255
- await this.session.setModel(model);
3256
- this.footer.invalidate();
3257
- this.updateEditorBorderColor();
3258
- this.showStatus(`Model: ${model.id}`);
3259
- void this.maybeWarnAboutAnthropicSubscriptionAuth(model);
3260
- this.checkDaxnutsEasterEgg(model);
3261
- }
3262
- catch (error) {
3263
- this.showError(error instanceof Error ? error.message : String(error));
3264
- }
3265
- return;
3266
- }
3267
- this.showModelSelector(searchTerm);
3268
- }
3269
- async findExactModelMatch(searchTerm) {
3270
- const models = await this.getModelCandidates();
3271
- return findExactModelReferenceMatch(searchTerm, models);
3272
- }
3273
- async getModelCandidates() {
3274
- if (this.session.scopedModels.length > 0) {
3275
- return this.session.scopedModels.map((scoped) => scoped.model);
3276
- }
3277
- this.session.modelRegistry.refresh();
3278
- try {
3279
- return await this.session.modelRegistry.getAvailable();
3280
- }
3281
- catch {
3282
- return [];
3283
- }
3284
- }
3285
- /** Update the footer's available provider count from current model candidates */
3286
- async updateAvailableProviderCount() {
3287
- const models = await this.getModelCandidates();
3288
- const uniqueProviders = new Set(models.map((m) => m.provider));
3289
- this.footerDataProvider.setAvailableProviderCount(uniqueProviders.size);
3290
- }
3291
- async maybeWarnAboutAnthropicSubscriptionAuth(model = this.session.model) {
3292
- if (this.settingsManager.getWarnings().anthropicExtraUsage === false) {
3293
- return;
3294
- }
3295
- if (this.anthropicSubscriptionWarningShown) {
3296
- return;
3297
- }
3298
- if (!model || model.provider !== "anthropic") {
3299
- return;
3300
- }
3301
- const storedCredential = this.session.modelRegistry.authStorage.get("anthropic");
3302
- if (storedCredential?.type === "oauth") {
3303
- this.anthropicSubscriptionWarningShown = true;
3304
- this.showWarning(ANTHROPIC_SUBSCRIPTION_AUTH_WARNING);
3305
- return;
3306
- }
3307
- try {
3308
- const apiKey = await this.session.modelRegistry.getApiKeyForProvider(model.provider);
3309
- if (!isAnthropicSubscriptionAuthKey(apiKey)) {
3310
- return;
3311
- }
3312
- this.anthropicSubscriptionWarningShown = true;
3313
- this.showWarning(ANTHROPIC_SUBSCRIPTION_AUTH_WARNING);
3314
- }
3315
- catch {
3316
- // Ignore auth lookup failures for warning-only checks.
3317
- }
3318
- }
3319
- showModelSelector(initialSearchInput) {
3320
- this.showSelector((done) => {
3321
- const selector = new ModelSelectorComponent(this.ui, this.session.model, this.settingsManager, this.session.modelRegistry, this.session.scopedModels, async (model) => {
3322
- try {
3323
- await this.session.setModel(model);
3324
- this.footer.invalidate();
3325
- this.updateEditorBorderColor();
3326
- done();
3327
- this.showStatus(`Model: ${model.id}`);
3328
- void this.maybeWarnAboutAnthropicSubscriptionAuth(model);
3329
- this.checkDaxnutsEasterEgg(model);
3330
- }
3331
- catch (error) {
3332
- done();
3333
- this.showError(error instanceof Error ? error.message : String(error));
3334
- }
3335
- }, () => {
3336
- done();
3337
- this.ui.requestRender();
3338
- }, initialSearchInput);
3339
- return { component: selector, focus: selector };
3340
- });
3341
- }
3342
- async showModelsSelector() {
3343
- // Get all available models
3344
- this.session.modelRegistry.refresh();
3345
- const allModels = this.session.modelRegistry.getAvailable();
3346
- if (allModels.length === 0) {
3347
- this.showStatus("No models available");
3348
- return;
3349
- }
3350
- // Check if session has scoped models (from previous session-only changes or CLI --models)
3351
- const sessionScopedModels = this.session.scopedModels;
3352
- const hasSessionScope = sessionScopedModels.length > 0;
3353
- // Build enabled model IDs from session state or settings
3354
- let currentEnabledIds = null;
3355
- if (hasSessionScope) {
3356
- // Use current session's scoped models
3357
- currentEnabledIds = sessionScopedModels.map((scoped) => `${scoped.model.provider}/${scoped.model.id}`);
3358
- }
3359
- else {
3360
- // Fall back to settings
3361
- const patterns = this.settingsManager.getEnabledModels();
3362
- if (patterns !== undefined && patterns.length > 0) {
3363
- const scopedModels = await resolveModelScope(patterns, this.session.modelRegistry);
3364
- currentEnabledIds = scopedModels.map((scoped) => `${scoped.model.provider}/${scoped.model.id}`);
3365
- }
3366
- }
3367
- // Helper to update session's scoped models (session-only, no persist)
3368
- const updateSessionModels = async (enabledIds) => {
3369
- currentEnabledIds = enabledIds === null ? null : [...enabledIds];
3370
- if (enabledIds && enabledIds.length > 0 && enabledIds.length < allModels.length) {
3371
- const newScopedModels = await resolveModelScope(enabledIds, this.session.modelRegistry);
3372
- this.session.setScopedModels(newScopedModels.map((sm) => ({
3373
- model: sm.model,
3374
- thinkingLevel: sm.thinkingLevel,
3375
- })));
3376
- }
3377
- else {
3378
- // All enabled or none enabled = no filter
3379
- this.session.setScopedModels([]);
3380
- }
3381
- await this.updateAvailableProviderCount();
3382
- this.ui.requestRender();
3383
- };
3384
- this.showSelector((done) => {
3385
- const selector = new ScopedModelsSelectorComponent({
3386
- allModels,
3387
- enabledModelIds: currentEnabledIds,
3388
- }, {
3389
- onChange: async (enabledIds) => {
3390
- await updateSessionModels(enabledIds);
3391
- },
3392
- onPersist: (enabledIds) => {
3393
- // Persist to settings
3394
- const newPatterns = enabledIds === null || enabledIds.length === allModels.length
3395
- ? undefined // All enabled = clear filter
3396
- : enabledIds;
3397
- this.settingsManager.setEnabledModels(newPatterns ? [...newPatterns] : undefined);
3398
- this.showStatus("Model selection saved to settings");
3399
- },
3400
- onCancel: () => {
3401
- done();
3402
- this.ui.requestRender();
3403
- },
3404
- });
3405
- return { component: selector, focus: selector };
3406
- });
3407
- }
3408
- showUserMessageSelector() {
3409
- const userMessages = this.session.getUserMessagesForForking();
3410
- if (userMessages.length === 0) {
3411
- this.showStatus("No messages to fork from");
3412
- return;
3413
- }
3414
- const initialSelectedId = userMessages[userMessages.length - 1]?.entryId;
3415
- this.showSelector((done) => {
3416
- const selector = new UserMessageSelectorComponent(userMessages.map((m) => ({ id: m.entryId, text: m.text })), async (entryId) => {
3417
- try {
3418
- const result = await this.runtimeHost.fork(entryId);
3419
- if (result.cancelled) {
3420
- done();
3421
- this.ui.requestRender();
3422
- return;
3423
- }
3424
- this.renderCurrentSessionState();
3425
- this.editor.setText(result.selectedText ?? "");
3426
- done();
3427
- this.showStatus("Forked to new session");
3428
- }
3429
- catch (error) {
3430
- done();
3431
- this.showError(error instanceof Error ? error.message : String(error));
3432
- }
3433
- }, () => {
3434
- done();
3435
- this.ui.requestRender();
3436
- }, initialSelectedId);
3437
- return { component: selector, focus: selector.getMessageList() };
3438
- });
3439
- }
3440
- async handleCloneCommand() {
3441
- const leafId = this.sessionManager.getLeafId();
3442
- if (!leafId) {
3443
- this.showStatus("Nothing to clone yet");
3444
- return;
3445
- }
3446
- try {
3447
- const result = await this.runtimeHost.fork(leafId, { position: "at" });
3448
- if (result.cancelled) {
3449
- this.ui.requestRender();
3450
- return;
3451
- }
3452
- this.renderCurrentSessionState();
3453
- this.editor.setText("");
3454
- this.showStatus("Cloned to new session");
3455
- }
3456
- catch (error) {
3457
- this.showError(error instanceof Error ? error.message : String(error));
3458
- }
3459
- }
3460
- showTreeSelector(initialSelectedId) {
3461
- const tree = this.sessionManager.getTree();
3462
- const realLeafId = this.sessionManager.getLeafId();
3463
- const initialFilterMode = this.settingsManager.getTreeFilterMode();
3464
- if (tree.length === 0) {
3465
- this.showStatus("No entries in session");
3466
- return;
3467
- }
3468
- this.showSelector((done) => {
3469
- const selector = new TreeSelectorComponent(tree, realLeafId, this.ui.terminal.rows, async (entryId) => {
3470
- // Selecting the current leaf is a no-op (already there)
3471
- if (entryId === realLeafId) {
3472
- done();
3473
- this.showStatus("Already at this point");
3474
- return;
3475
- }
3476
- // Ask about summarization
3477
- done(); // Close selector first
3478
- // Loop until user makes a complete choice or cancels to tree
3479
- let wantsSummary = false;
3480
- let customInstructions;
3481
- // Check if we should skip the prompt (user preference to always default to no summary)
3482
- if (!this.settingsManager.getBranchSummarySkipPrompt()) {
3483
- while (true) {
3484
- const summaryChoice = await this.showExtensionSelector("Summarize branch?", [
3485
- "No summary",
3486
- "Summarize",
3487
- "Summarize with custom prompt",
3488
- ]);
3489
- if (summaryChoice === undefined) {
3490
- // User pressed escape - re-show tree selector with same selection
3491
- this.showTreeSelector(entryId);
3492
- return;
3493
- }
3494
- wantsSummary = summaryChoice !== "No summary";
3495
- if (summaryChoice === "Summarize with custom prompt") {
3496
- customInstructions = await this.showExtensionEditor("Custom summarization instructions");
3497
- if (customInstructions === undefined) {
3498
- // User cancelled - loop back to summary selector
3499
- continue;
3500
- }
3501
- }
3502
- // User made a complete choice
3503
- break;
3504
- }
3505
- }
3506
- // Set up escape handler and loader if summarizing
3507
- let summaryLoader;
3508
- const originalOnEscape = this.defaultEditor.onEscape;
3509
- if (wantsSummary) {
3510
- this.defaultEditor.onEscape = () => {
3511
- this.session.abortBranchSummary();
3512
- };
3513
- this.chatContainer.addChild(new Spacer(1));
3514
- summaryLoader = new Loader(this.ui, (spinner) => theme.fg("accent", spinner), (text) => theme.fg("muted", text), `Summarizing branch... (${keyText("app.interrupt")} to cancel)`);
3515
- this.statusContainer.addChild(summaryLoader);
3516
- this.ui.requestRender();
3517
- }
3518
- try {
3519
- const result = await this.session.navigateTree(entryId, {
3520
- summarize: wantsSummary,
3521
- customInstructions,
3522
- });
3523
- if (result.aborted) {
3524
- // Summarization aborted - re-show tree selector with same selection
3525
- this.showStatus("Branch summarization cancelled");
3526
- this.showTreeSelector(entryId);
3527
- return;
3528
- }
3529
- if (result.cancelled) {
3530
- this.showStatus("Navigation cancelled");
3531
- return;
3532
- }
3533
- // Update UI
3534
- this.chatContainer.clear();
3535
- this.renderInitialMessages();
3536
- if (result.editorText && !this.editor.getText().trim()) {
3537
- this.editor.setText(result.editorText);
3538
- }
3539
- this.showStatus("Navigated to selected point");
3540
- void this.flushCompactionQueue({ willRetry: false });
3541
- }
3542
- catch (error) {
3543
- this.showError(error instanceof Error ? error.message : String(error));
3544
- }
3545
- finally {
3546
- if (summaryLoader) {
3547
- summaryLoader.stop();
3548
- this.statusContainer.clear();
3549
- }
3550
- this.defaultEditor.onEscape = originalOnEscape;
3551
- }
3552
- }, () => {
3553
- done();
3554
- this.ui.requestRender();
3555
- }, (entryId, label) => {
3556
- this.sessionManager.appendLabelChange(entryId, label);
3557
- this.ui.requestRender();
3558
- }, initialSelectedId, initialFilterMode);
3559
- return { component: selector, focus: selector };
3560
- });
3561
- }
3562
- showSessionSelector() {
3563
- this.showSelector((done) => {
3564
- const selector = new SessionSelectorComponent((onProgress) => SessionManager.list(this.sessionManager.getCwd(), this.sessionManager.getSessionDir(), onProgress), SessionManager.listAll, async (sessionPath) => {
3565
- done();
3566
- await this.handleResumeSession(sessionPath);
3567
- }, () => {
3568
- done();
3569
- this.ui.requestRender();
3570
- }, () => {
3571
- void this.shutdown();
3572
- }, () => this.ui.requestRender(), {
3573
- renameSession: async (sessionFilePath, nextName) => {
3574
- const next = (nextName ?? "").trim();
3575
- if (!next)
3576
- return;
3577
- const mgr = SessionManager.open(sessionFilePath);
3578
- mgr.appendSessionInfo(next);
3579
- },
3580
- showRenameHint: true,
3581
- keybindings: this.keybindings,
3582
- }, this.sessionManager.getSessionFile());
3583
- return { component: selector, focus: selector };
3584
- });
3585
- }
3586
- async handleResumeSession(sessionPath, options) {
3587
- if (this.loadingAnimation) {
3588
- this.loadingAnimation.stop();
3589
- this.loadingAnimation = undefined;
3590
- }
3591
- this.statusContainer.clear();
3592
- try {
3593
- const result = await this.runtimeHost.switchSession(sessionPath, {
3594
- withSession: options?.withSession,
3595
- });
3596
- if (result.cancelled) {
3597
- return result;
3598
- }
3599
- this.renderCurrentSessionState();
3600
- this.showStatus("Resumed session");
3601
- return result;
3602
- }
3603
- catch (error) {
3604
- if (error instanceof MissingSessionCwdError) {
3605
- const selectedCwd = await this.promptForMissingSessionCwd(error);
3606
- if (!selectedCwd) {
3607
- this.showStatus("Resume cancelled");
3608
- return { cancelled: true };
3609
- }
3610
- const result = await this.runtimeHost.switchSession(sessionPath, {
3611
- cwdOverride: selectedCwd,
3612
- withSession: options?.withSession,
3613
- });
3614
- if (result.cancelled) {
3615
- return result;
3616
- }
3617
- this.renderCurrentSessionState();
3618
- this.showStatus("Resumed session in current cwd");
3619
- return result;
3620
- }
3621
- return this.handleFatalRuntimeError("Failed to resume session", error);
3622
- }
3623
- }
3624
- getLoginProviderOptions(authType) {
3625
- const authStorage = this.session.modelRegistry.authStorage;
3626
- const oauthProviders = authStorage.getOAuthProviders();
3627
- const oauthProviderIds = new Set(oauthProviders.map((provider) => provider.id));
3628
- const options = oauthProviders.map((provider) => ({
3629
- id: provider.id,
3630
- name: provider.name,
3631
- authType: "oauth",
3632
- }));
3633
- const modelProviders = new Set(this.session.modelRegistry.getAll().map((model) => model.provider));
3634
- for (const providerId of modelProviders) {
3635
- if (!isApiKeyLoginProvider(providerId, oauthProviderIds)) {
3636
- continue;
3637
- }
3638
- options.push({
3639
- id: providerId,
3640
- name: this.session.modelRegistry.getProviderDisplayName(providerId),
3641
- authType: "api_key",
3642
- });
3643
- }
3644
- const filteredOptions = authType ? options.filter((option) => option.authType === authType) : options;
3645
- return filteredOptions.sort((a, b) => a.name.localeCompare(b.name));
3646
- }
3647
- getLogoutProviderOptions() {
3648
- const authStorage = this.session.modelRegistry.authStorage;
3649
- const options = [];
3650
- for (const providerId of authStorage.list()) {
3651
- const credential = authStorage.get(providerId);
3652
- if (!credential) {
3653
- continue;
3654
- }
3655
- options.push({
3656
- id: providerId,
3657
- name: this.session.modelRegistry.getProviderDisplayName(providerId),
3658
- authType: credential.type,
3659
- });
3660
- }
3661
- return options.sort((a, b) => a.name.localeCompare(b.name));
3662
- }
3663
- showLoginAuthTypeSelector() {
3664
- const subscriptionLabel = "Use a subscription";
3665
- const apiKeyLabel = "Use an API key";
3666
- this.showSelector((done) => {
3667
- const selector = new ExtensionSelectorComponent("Select authentication method:", [subscriptionLabel, apiKeyLabel], (option) => {
3668
- done();
3669
- const authType = option === subscriptionLabel ? "oauth" : "api_key";
3670
- this.showLoginProviderSelector(authType);
3671
- }, () => {
3672
- done();
3673
- this.ui.requestRender();
3674
- });
3675
- return { component: selector, focus: selector };
3676
- });
3677
- }
3678
- showLoginProviderSelector(authType) {
3679
- const providerOptions = this.getLoginProviderOptions(authType);
3680
- if (providerOptions.length === 0) {
3681
- this.showStatus(authType === "oauth" ? "No subscription providers available." : "No API key providers available.");
3682
- return;
3683
- }
3684
- this.showSelector((done) => {
3685
- const selector = new OAuthSelectorComponent("login", this.session.modelRegistry.authStorage, providerOptions, async (providerId) => {
3686
- done();
3687
- const providerOption = providerOptions.find((provider) => provider.id === providerId);
3688
- if (!providerOption) {
3689
- return;
3690
- }
3691
- if (providerOption.authType === "oauth") {
3692
- await this.showLoginDialog(providerOption.id, providerOption.name);
3693
- }
3694
- else if (providerOption.id === BEDROCK_PROVIDER_ID) {
3695
- this.showBedrockSetupDialog(providerOption.id, providerOption.name);
3696
- }
3697
- else {
3698
- await this.showApiKeyLoginDialog(providerOption.id, providerOption.name);
3699
- }
3700
- }, () => {
3701
- done();
3702
- this.showLoginAuthTypeSelector();
3703
- }, (providerId) => this.session.modelRegistry.getProviderAuthStatus(providerId));
3704
- return { component: selector, focus: selector };
3705
- });
3706
- }
3707
- async showOAuthSelector(mode) {
3708
- if (mode === "login") {
3709
- this.showLoginAuthTypeSelector();
3710
- return;
3711
- }
3712
- const providerOptions = this.getLogoutProviderOptions();
3713
- if (providerOptions.length === 0) {
3714
- this.showStatus("No stored credentials to remove. /logout only removes credentials saved by /login; environment variables and models.json config are unchanged.");
3715
- return;
3716
- }
3717
- this.showSelector((done) => {
3718
- const selector = new OAuthSelectorComponent(mode, this.session.modelRegistry.authStorage, providerOptions, async (providerId) => {
3719
- done();
3720
- const providerOption = providerOptions.find((provider) => provider.id === providerId);
3721
- if (!providerOption) {
3722
- return;
3723
- }
3724
- try {
3725
- this.session.modelRegistry.authStorage.logout(providerOption.id);
3726
- this.session.modelRegistry.refresh();
3727
- await this.updateAvailableProviderCount();
3728
- const message = providerOption.authType === "oauth"
3729
- ? `Logged out of ${providerOption.name}`
3730
- : `Removed stored API key for ${providerOption.name}. Environment variables and models.json config are unchanged.`;
3731
- this.showStatus(message);
3732
- }
3733
- catch (error) {
3734
- this.showError(`Logout failed: ${error instanceof Error ? error.message : String(error)}`);
3735
- }
3736
- }, () => {
3737
- done();
3738
- this.ui.requestRender();
3739
- });
3740
- return { component: selector, focus: selector };
3741
- });
3742
- }
3743
- async completeProviderAuthentication(providerId, providerName, authType, previousModel) {
3744
- this.session.modelRegistry.refresh();
3745
- const actionLabel = authType === "oauth" ? `Logged in to ${providerName}` : `Saved API key for ${providerName}`;
3746
- let selectedModel;
3747
- let selectionError;
3748
- if (isUnknownModel(previousModel)) {
3749
- const availableModels = this.session.modelRegistry.getAvailable();
3750
- const providerModels = availableModels.filter((model) => model.provider === providerId);
3751
- if (!hasDefaultModelProvider(providerId)) {
3752
- selectionError = `${actionLabel}, but no default model is configured for provider "${providerId}". Use /model to select a model.`;
3753
- }
3754
- else if (providerModels.length === 0) {
3755
- selectionError = `${actionLabel}, but no models are available for that provider. Use /model to select a model.`;
3756
- }
3757
- else {
3758
- const defaultModelId = defaultModelPerProvider[providerId];
3759
- selectedModel = providerModels.find((model) => model.id === defaultModelId);
3760
- if (!selectedModel) {
3761
- selectionError = `${actionLabel}, but its default model "${defaultModelId}" is not available. Use /model to select a model.`;
3762
- }
3763
- else {
3764
- try {
3765
- await this.session.setModel(selectedModel);
3766
- }
3767
- catch (error) {
3768
- selectedModel = undefined;
3769
- const errorMessage = error instanceof Error ? error.message : String(error);
3770
- selectionError = `${actionLabel}, but selecting its default model failed: ${errorMessage}. Use /model to select a model.`;
3771
- }
3772
- }
3773
- }
3774
- }
3775
- await this.updateAvailableProviderCount();
3776
- this.footer.invalidate();
3777
- this.updateEditorBorderColor();
3778
- if (selectedModel) {
3779
- this.showStatus(`${actionLabel}. Selected ${selectedModel.id}. Credentials saved to ${getAuthPath()}`);
3780
- void this.maybeWarnAboutAnthropicSubscriptionAuth(selectedModel);
3781
- this.checkDaxnutsEasterEgg(selectedModel);
3782
- }
3783
- else {
3784
- this.showStatus(`${actionLabel}. Credentials saved to ${getAuthPath()}`);
3785
- if (selectionError) {
3786
- this.showError(selectionError);
3787
- }
3788
- else {
3789
- void this.maybeWarnAboutAnthropicSubscriptionAuth();
3790
- }
3791
- }
3792
- }
3793
- showBedrockSetupDialog(providerId, providerName) {
3794
- const restoreEditor = () => {
3795
- this.editorContainer.clear();
3796
- this.editorContainer.addChild(this.editor);
3797
- this.ui.setFocus(this.editor);
3798
- this.ui.requestRender();
3799
- };
3800
- const dialog = new LoginDialogComponent(this.ui, providerId, () => restoreEditor(), providerName, "Amazon Bedrock setup");
3801
- dialog.showInfo([
3802
- theme.fg("text", "Amazon Bedrock uses AWS credentials instead of a single API key."),
3803
- theme.fg("text", "Configure an AWS profile, IAM keys, bearer token, or role-based credentials."),
3804
- theme.fg("muted", "See:"),
3805
- theme.fg("accent", ` ${path.join(getDocsPath(), "providers.md")}`),
3806
- ]);
3807
- this.editorContainer.clear();
3808
- this.editorContainer.addChild(dialog);
3809
- this.ui.setFocus(dialog);
3810
- this.ui.requestRender();
3811
- }
3812
- async showApiKeyLoginDialog(providerId, providerName) {
3813
- const previousModel = this.session.model;
3814
- const dialog = new LoginDialogComponent(this.ui, providerId, (_success, _message) => {
3815
- // Completion handled below
3816
- }, providerName);
3817
- this.editorContainer.clear();
3818
- this.editorContainer.addChild(dialog);
3819
- this.ui.setFocus(dialog);
3820
- this.ui.requestRender();
3821
- const restoreEditor = () => {
3822
- this.editorContainer.clear();
3823
- this.editorContainer.addChild(this.editor);
3824
- this.ui.setFocus(this.editor);
3825
- this.ui.requestRender();
3826
- };
3827
- try {
3828
- const apiKey = (await dialog.showPrompt("Enter API key:")).trim();
3829
- if (!apiKey) {
3830
- throw new Error("API key cannot be empty.");
3831
- }
3832
- this.session.modelRegistry.authStorage.set(providerId, { type: "api_key", key: apiKey });
3833
- restoreEditor();
3834
- await this.completeProviderAuthentication(providerId, providerName, "api_key", previousModel);
3835
- }
3836
- catch (error) {
3837
- restoreEditor();
3838
- const errorMsg = error instanceof Error ? error.message : String(error);
3839
- if (errorMsg !== "Login cancelled") {
3840
- this.showError(`Failed to save API key for ${providerName}: ${errorMsg}`);
3841
- }
3842
- }
3843
- }
3844
- showOAuthLoginSelect(dialog, prompt) {
3845
- return new Promise((resolve) => {
3846
- const restoreDialog = () => {
3847
- this.editorContainer.clear();
3848
- this.editorContainer.addChild(dialog);
3849
- this.ui.setFocus(dialog);
3850
- this.ui.requestRender();
3851
- };
3852
- const labels = prompt.options.map((option) => option.label);
3853
- const selector = new ExtensionSelectorComponent(prompt.message, labels, (optionLabel) => {
3854
- restoreDialog();
3855
- resolve(prompt.options.find((option) => option.label === optionLabel)?.id);
3856
- }, () => {
3857
- restoreDialog();
3858
- resolve(undefined);
3859
- });
3860
- this.editorContainer.clear();
3861
- this.editorContainer.addChild(selector);
3862
- this.ui.setFocus(selector);
3863
- this.ui.requestRender();
3864
- });
3865
- }
3866
- async showLoginDialog(providerId, providerName) {
3867
- const providerInfo = this.session.modelRegistry.authStorage
3868
- .getOAuthProviders()
3869
- .find((provider) => provider.id === providerId);
3870
- const previousModel = this.session.model;
3871
- // Providers that use callback servers (can paste redirect URL)
3872
- const usesCallbackServer = providerInfo?.usesCallbackServer ?? false;
3873
- // Create login dialog component
3874
- const dialog = new LoginDialogComponent(this.ui, providerId, (_success, _message) => {
3875
- // Completion handled below
3876
- }, providerName);
3877
- // Show dialog in editor container
3878
- this.editorContainer.clear();
3879
- this.editorContainer.addChild(dialog);
3880
- this.ui.setFocus(dialog);
3881
- this.ui.requestRender();
3882
- // Promise for manual code input (racing with callback server)
3883
- let manualCodeResolve;
3884
- let manualCodeReject;
3885
- const manualCodePromise = new Promise((resolve, reject) => {
3886
- manualCodeResolve = resolve;
3887
- manualCodeReject = reject;
3888
- });
3889
- // Restore editor helper
3890
- const restoreEditor = () => {
3891
- this.editorContainer.clear();
3892
- this.editorContainer.addChild(this.editor);
3893
- this.ui.setFocus(this.editor);
3894
- this.ui.requestRender();
3895
- };
3896
- try {
3897
- await this.session.modelRegistry.authStorage.login(providerId, {
3898
- onAuth: (info) => {
3899
- dialog.showAuth(info.url, info.instructions);
3900
- if (usesCallbackServer) {
3901
- // Show input for manual paste, racing with callback
3902
- dialog
3903
- .showManualInput("Paste redirect URL below, or complete login in browser:")
3904
- .then((value) => {
3905
- if (value && manualCodeResolve) {
3906
- manualCodeResolve(value);
3907
- manualCodeResolve = undefined;
3908
- }
3909
- })
3910
- .catch(() => {
3911
- if (manualCodeReject) {
3912
- manualCodeReject(new Error("Login cancelled"));
3913
- manualCodeReject = undefined;
3914
- }
3915
- });
3916
- }
3917
- else if (providerId === "github-copilot") {
3918
- // GitHub Copilot polls after onAuth
3919
- dialog.showWaiting("Waiting for browser authentication...");
3920
- }
3921
- // For Anthropic: onPrompt is called immediately after
3922
- },
3923
- onPrompt: async (prompt) => {
3924
- return dialog.showPrompt(prompt.message, prompt.placeholder);
3925
- },
3926
- onProgress: (message) => {
3927
- dialog.showProgress(message);
3928
- },
3929
- onSelect: (prompt) => this.showOAuthLoginSelect(dialog, prompt),
3930
- onManualCodeInput: () => manualCodePromise,
3931
- signal: dialog.signal,
3932
- });
3933
- // Success
3934
- restoreEditor();
3935
- await this.completeProviderAuthentication(providerId, providerName, "oauth", previousModel);
3936
- }
3937
- catch (error) {
3938
- restoreEditor();
3939
- const errorMsg = error instanceof Error ? error.message : String(error);
3940
- if (errorMsg !== "Login cancelled") {
3941
- this.showError(`Failed to login to ${providerName}: ${errorMsg}`);
3942
- }
3943
- }
3944
- }
3945
- // =========================================================================
3946
- // Command handlers
3947
- // =========================================================================
3948
- async handleReloadCommand() {
3949
- if (this.session.isStreaming) {
3950
- this.showWarning("Wait for the current response to finish before reloading.");
3951
- return;
3952
- }
3953
- if (this.session.isCompacting) {
3954
- this.showWarning("Wait for compaction to finish before reloading.");
3955
- return;
3956
- }
3957
- this.resetExtensionUI();
3958
- const reloadBox = new Container();
3959
- const borderColor = (s) => theme.fg("border", s);
3960
- reloadBox.addChild(new DynamicBorder(borderColor));
3961
- reloadBox.addChild(new Spacer(1));
3962
- reloadBox.addChild(new Text(theme.fg("muted", "Reloading keybindings, extensions, skills, prompts, themes..."), 1, 0));
3963
- reloadBox.addChild(new Spacer(1));
3964
- reloadBox.addChild(new DynamicBorder(borderColor));
3965
- const previousEditor = this.editor;
3966
- this.editorContainer.clear();
3967
- this.editorContainer.addChild(reloadBox);
3968
- this.ui.setFocus(reloadBox);
3969
- this.ui.requestRender(true);
3970
- await new Promise((resolve) => process.nextTick(resolve));
3971
- const dismissReloadBox = (editor) => {
3972
- this.editorContainer.clear();
3973
- this.editorContainer.addChild(editor);
3974
- this.ui.setFocus(editor);
3975
- this.ui.requestRender();
3976
- };
3977
- try {
3978
- await this.session.reload();
3979
- this.keybindings.reload();
3980
- const activeHeader = this.customHeader ?? this.builtInHeader;
3981
- if (isExpandable(activeHeader)) {
3982
- activeHeader.setExpanded(this.toolOutputExpanded);
3983
- }
3984
- setRegisteredThemes(this.session.resourceLoader.getThemes().themes);
3985
- this.hideThinkingBlock = this.settingsManager.getHideThinkingBlock();
3986
- const themeName = this.settingsManager.getTheme();
3987
- const themeResult = themeName ? setTheme(themeName, true) : { success: true };
3988
- if (!themeResult.success) {
3989
- this.showError(`Failed to load theme "${themeName}": ${themeResult.error}\nFell back to dark theme.`);
3990
- }
3991
- const editorPaddingX = this.settingsManager.getEditorPaddingX();
3992
- const autocompleteMaxVisible = this.settingsManager.getAutocompleteMaxVisible();
3993
- this.defaultEditor.setPaddingX(editorPaddingX);
3994
- this.defaultEditor.setAutocompleteMaxVisible(autocompleteMaxVisible);
3995
- if (this.editor !== this.defaultEditor) {
3996
- this.editor.setPaddingX?.(editorPaddingX);
3997
- this.editor.setAutocompleteMaxVisible?.(autocompleteMaxVisible);
3998
- }
3999
- this.ui.setShowHardwareCursor(this.settingsManager.getShowHardwareCursor());
4000
- this.ui.setClearOnShrink(this.settingsManager.getClearOnShrink());
4001
- this.setupAutocompleteProvider();
4002
- const runner = this.session.extensionRunner;
4003
- this.setupExtensionShortcuts(runner);
4004
- this.rebuildChatFromMessages();
4005
- dismissReloadBox(this.editor);
4006
- this.showLoadedResources({
4007
- force: false,
4008
- showDiagnosticsWhenQuiet: true,
4009
- });
4010
- const modelsJsonError = this.session.modelRegistry.getError();
4011
- if (modelsJsonError) {
4012
- this.showError(`models.json error: ${modelsJsonError}`);
4013
- }
4014
- this.showStatus("Reloaded keybindings, extensions, skills, prompts, themes");
4015
- }
4016
- catch (error) {
4017
- dismissReloadBox(previousEditor);
4018
- this.showError(`Reload failed: ${error instanceof Error ? error.message : String(error)}`);
4019
- }
4020
- }
4021
- async handleExportCommand(text) {
4022
- const outputPath = this.getPathCommandArgument(text, "/export");
4023
- try {
4024
- if (outputPath?.endsWith(".jsonl")) {
4025
- const filePath = this.session.exportToJsonl(outputPath);
4026
- this.showStatus(`Session exported to: ${filePath}`);
4027
- }
4028
- else {
4029
- const filePath = await this.session.exportToHtml(outputPath);
4030
- this.showStatus(`Session exported to: ${filePath}`);
4031
- }
4032
- }
4033
- catch (error) {
4034
- this.showError(`Failed to export session: ${error instanceof Error ? error.message : "Unknown error"}`);
4035
- }
4036
- }
4037
- getPathCommandArgument(text, command) {
4038
- if (text === command) {
4039
- return undefined;
4040
- }
4041
- if (!text.startsWith(`${command} `)) {
4042
- return undefined;
4043
- }
4044
- const argsString = text.slice(command.length + 1).trimStart();
4045
- if (!argsString) {
4046
- return undefined;
4047
- }
4048
- const firstChar = argsString[0];
4049
- if (firstChar === '"' || firstChar === "'") {
4050
- const closingQuoteIndex = argsString.indexOf(firstChar, 1);
4051
- if (closingQuoteIndex < 0) {
4052
- return undefined;
4053
- }
4054
- return argsString.slice(1, closingQuoteIndex);
4055
- }
4056
- const firstWhitespaceIndex = argsString.search(/\s/);
4057
- if (firstWhitespaceIndex < 0) {
4058
- return argsString;
4059
- }
4060
- return argsString.slice(0, firstWhitespaceIndex);
4061
- }
4062
- async handleImportCommand(text) {
4063
- const inputPath = this.getPathCommandArgument(text, "/import");
4064
- if (!inputPath) {
4065
- this.showError("Usage: /import <path.jsonl>");
4066
- return;
4067
- }
4068
- const confirmed = await this.showExtensionConfirm("Import session", `Replace current session with ${inputPath}?`);
4069
- if (!confirmed) {
4070
- this.showStatus("Import cancelled");
4071
- return;
4072
- }
4073
- try {
4074
- if (this.loadingAnimation) {
4075
- this.loadingAnimation.stop();
4076
- this.loadingAnimation = undefined;
4077
- }
4078
- this.statusContainer.clear();
4079
- const result = await this.runtimeHost.importFromJsonl(inputPath);
4080
- if (result.cancelled) {
4081
- this.showStatus("Import cancelled");
4082
- return;
4083
- }
4084
- this.renderCurrentSessionState();
4085
- this.showStatus(`Session imported from: ${inputPath}`);
4086
- }
4087
- catch (error) {
4088
- if (error instanceof MissingSessionCwdError) {
4089
- const selectedCwd = await this.promptForMissingSessionCwd(error);
4090
- if (!selectedCwd) {
4091
- this.showStatus("Import cancelled");
4092
- return;
4093
- }
4094
- const result = await this.runtimeHost.importFromJsonl(inputPath, selectedCwd);
4095
- if (result.cancelled) {
4096
- this.showStatus("Import cancelled");
4097
- return;
4098
- }
4099
- this.renderCurrentSessionState();
4100
- this.showStatus(`Session imported from: ${inputPath}`);
4101
- return;
4102
- }
4103
- if (error instanceof SessionImportFileNotFoundError) {
4104
- this.showError(`Failed to import session: ${error.message}`);
4105
- return;
4106
- }
4107
- await this.handleFatalRuntimeError("Failed to import session", error);
4108
- }
4109
- }
4110
- async handleShareCommand() {
4111
- // Check if gh is available and logged in
4112
- try {
4113
- const authResult = spawnSync("gh", ["auth", "status"], { encoding: "utf-8" });
4114
- if (authResult.status !== 0) {
4115
- this.showError("GitHub CLI is not logged in. Run 'gh auth login' first.");
4116
- return;
4117
- }
4118
- }
4119
- catch {
4120
- this.showError("GitHub CLI (gh) is not installed. Install it from https://cli.github.com/");
4121
- return;
4122
- }
4123
- // Export to a temp file
4124
- const tmpFile = path.join(os.tmpdir(), "session.html");
4125
- try {
4126
- await this.session.exportToHtml(tmpFile);
4127
- }
4128
- catch (error) {
4129
- this.showError(`Failed to export session: ${error instanceof Error ? error.message : "Unknown error"}`);
4130
- return;
4131
- }
4132
- // Show cancellable loader, replacing the editor
4133
- const loader = new BorderedLoader(this.ui, theme, "Creating gist...");
4134
- this.editorContainer.clear();
4135
- this.editorContainer.addChild(loader);
4136
- this.ui.setFocus(loader);
4137
- this.ui.requestRender();
4138
- const restoreEditor = () => {
4139
- loader.dispose();
4140
- this.editorContainer.clear();
4141
- this.editorContainer.addChild(this.editor);
4142
- this.ui.setFocus(this.editor);
4143
- try {
4144
- fs.unlinkSync(tmpFile);
4145
- }
4146
- catch {
4147
- // Ignore cleanup errors
4148
- }
4149
- };
4150
- // Create a secret gist asynchronously
4151
- let proc = null;
4152
- loader.onAbort = () => {
4153
- proc?.kill();
4154
- restoreEditor();
4155
- this.showStatus("Share cancelled");
4156
- };
4157
- try {
4158
- const result = await new Promise((resolve) => {
4159
- proc = spawn("gh", ["gist", "create", "--public=false", tmpFile]);
4160
- let stdout = "";
4161
- let stderr = "";
4162
- proc.stdout?.on("data", (data) => {
4163
- stdout += data.toString();
4164
- });
4165
- proc.stderr?.on("data", (data) => {
4166
- stderr += data.toString();
4167
- });
4168
- proc.on("close", (code) => resolve({ stdout, stderr, code }));
4169
- });
4170
- if (loader.signal.aborted)
4171
- return;
4172
- restoreEditor();
4173
- if (result.code !== 0) {
4174
- const errorMsg = result.stderr?.trim() || "Unknown error";
4175
- this.showError(`Failed to create gist: ${errorMsg}`);
4176
- return;
4177
- }
4178
- // Extract gist ID from the URL returned by gh
4179
- // gh returns something like: https://gist.github.com/username/GIST_ID
4180
- const gistUrl = result.stdout?.trim();
4181
- const gistId = gistUrl?.split("/").pop();
4182
- if (!gistId) {
4183
- this.showError("Failed to parse gist ID from gh output");
4184
- return;
4185
- }
4186
- // Create the preview URL
4187
- const previewUrl = getShareViewerUrl(gistId);
4188
- this.showStatus(`Share URL: ${previewUrl}\nGist: ${gistUrl}`);
4189
- }
4190
- catch (error) {
4191
- if (!loader.signal.aborted) {
4192
- restoreEditor();
4193
- this.showError(`Failed to create gist: ${error instanceof Error ? error.message : "Unknown error"}`);
4194
- }
4195
- }
4196
- }
4197
- async handleCopyCommand() {
4198
- const text = this.session.getLastAssistantText();
4199
- if (!text) {
4200
- this.showError("No agent messages to copy yet.");
4201
- return;
4202
- }
4203
- try {
4204
- await copyToClipboard(text);
4205
- this.showStatus("Copied last agent message to clipboard");
4206
- }
4207
- catch (error) {
4208
- this.showError(error instanceof Error ? error.message : String(error));
4209
- }
4210
- }
4211
- handleNameCommand(text) {
4212
- const name = text.replace(/^\/name\s*/, "").trim();
4213
- if (!name) {
4214
- const currentName = this.sessionManager.getSessionName();
4215
- if (currentName) {
4216
- this.chatContainer.addChild(new Spacer(1));
4217
- this.chatContainer.addChild(new Text(theme.fg("dim", `Session name: ${currentName}`), 1, 0));
4218
- }
4219
- else {
4220
- this.showWarning("Usage: /name <name>");
4221
- }
4222
- this.ui.requestRender();
4223
- return;
4224
- }
4225
- this.session.setSessionName(name);
4226
- this.chatContainer.addChild(new Spacer(1));
4227
- this.chatContainer.addChild(new Text(theme.fg("dim", `Session name set: ${name}`), 1, 0));
4228
- this.ui.requestRender();
4229
- }
4230
- handleSessionCommand() {
4231
- const stats = this.session.getSessionStats();
4232
- const sessionName = this.sessionManager.getSessionName();
4233
- let info = `${theme.bold("Session Info")}\n\n`;
4234
- if (sessionName) {
4235
- info += `${theme.fg("dim", "Name:")} ${sessionName}\n`;
4236
- }
4237
- info += `${theme.fg("dim", "File:")} ${stats.sessionFile ?? "In-memory"}\n`;
4238
- info += `${theme.fg("dim", "ID:")} ${stats.sessionId}\n\n`;
4239
- info += `${theme.bold("Messages")}\n`;
4240
- info += `${theme.fg("dim", "User:")} ${stats.userMessages}\n`;
4241
- info += `${theme.fg("dim", "Assistant:")} ${stats.assistantMessages}\n`;
4242
- info += `${theme.fg("dim", "Tool Calls:")} ${stats.toolCalls}\n`;
4243
- info += `${theme.fg("dim", "Tool Results:")} ${stats.toolResults}\n`;
4244
- info += `${theme.fg("dim", "Total:")} ${stats.totalMessages}\n\n`;
4245
- info += `${theme.bold("Tokens")}\n`;
4246
- info += `${theme.fg("dim", "Input:")} ${stats.tokens.input.toLocaleString()}\n`;
4247
- info += `${theme.fg("dim", "Output:")} ${stats.tokens.output.toLocaleString()}\n`;
4248
- if (stats.tokens.cacheRead > 0) {
4249
- info += `${theme.fg("dim", "Cache Read:")} ${stats.tokens.cacheRead.toLocaleString()}\n`;
4250
- }
4251
- if (stats.tokens.cacheWrite > 0) {
4252
- info += `${theme.fg("dim", "Cache Write:")} ${stats.tokens.cacheWrite.toLocaleString()}\n`;
4253
- }
4254
- info += `${theme.fg("dim", "Total:")} ${stats.tokens.total.toLocaleString()}\n`;
4255
- if (stats.cost > 0) {
4256
- info += `\n${theme.bold("Cost")}\n`;
4257
- info += `${theme.fg("dim", "Total:")} ${stats.cost.toFixed(4)}`;
4258
- }
4259
- this.chatContainer.addChild(new Spacer(1));
4260
- this.chatContainer.addChild(new Text(info, 1, 0));
4261
- this.ui.requestRender();
4262
- }
4263
- handleChangelogCommand() {
4264
- const changelogPath = getChangelogPath();
4265
- const allEntries = parseChangelog(changelogPath);
4266
- const changelogMarkdown = allEntries.length > 0
4267
- ? allEntries
4268
- .reverse()
4269
- .map((e) => e.content)
4270
- .join("\n\n")
4271
- : "No changelog entries found.";
4272
- this.chatContainer.addChild(new Spacer(1));
4273
- this.chatContainer.addChild(new DynamicBorder());
4274
- this.chatContainer.addChild(new Text(theme.bold(theme.fg("accent", "What's New")), 1, 0));
4275
- this.chatContainer.addChild(new Spacer(1));
4276
- this.chatContainer.addChild(new Markdown(changelogMarkdown, 1, 1, this.getMarkdownThemeWithSettings()));
4277
- this.chatContainer.addChild(new DynamicBorder());
4278
- this.ui.requestRender();
4279
- }
4280
- /**
4281
- * Capitalize keybinding for display (e.g., "ctrl+c" -> "Ctrl+C").
4282
- */
4283
- capitalizeKey(key) {
4284
- return key
4285
- .split("/")
4286
- .map((k) => k
4287
- .split("+")
4288
- .map((part) => part.charAt(0).toUpperCase() + part.slice(1))
4289
- .join("+"))
4290
- .join("/");
4291
- }
4292
- /**
4293
- * Get capitalized display string for an app keybinding action.
4294
- */
4295
- getAppKeyDisplay(action) {
4296
- return this.capitalizeKey(keyText(action));
4297
- }
4298
- /**
4299
- * Get capitalized display string for an editor keybinding action.
4300
- */
4301
- getEditorKeyDisplay(action) {
4302
- return this.capitalizeKey(keyText(action));
4303
- }
4304
- handleHotkeysCommand() {
4305
- // Navigation keybindings
4306
- const cursorUp = this.getEditorKeyDisplay("tui.editor.cursorUp");
4307
- const cursorDown = this.getEditorKeyDisplay("tui.editor.cursorDown");
4308
- const cursorLeft = this.getEditorKeyDisplay("tui.editor.cursorLeft");
4309
- const cursorRight = this.getEditorKeyDisplay("tui.editor.cursorRight");
4310
- const cursorWordLeft = this.getEditorKeyDisplay("tui.editor.cursorWordLeft");
4311
- const cursorWordRight = this.getEditorKeyDisplay("tui.editor.cursorWordRight");
4312
- const cursorLineStart = this.getEditorKeyDisplay("tui.editor.cursorLineStart");
4313
- const cursorLineEnd = this.getEditorKeyDisplay("tui.editor.cursorLineEnd");
4314
- const jumpForward = this.getEditorKeyDisplay("tui.editor.jumpForward");
4315
- const jumpBackward = this.getEditorKeyDisplay("tui.editor.jumpBackward");
4316
- const pageUp = this.getEditorKeyDisplay("tui.editor.pageUp");
4317
- const pageDown = this.getEditorKeyDisplay("tui.editor.pageDown");
4318
- // Editing keybindings
4319
- const submit = this.getEditorKeyDisplay("tui.input.submit");
4320
- const newLine = this.getEditorKeyDisplay("tui.input.newLine");
4321
- const deleteWordBackward = this.getEditorKeyDisplay("tui.editor.deleteWordBackward");
4322
- const deleteWordForward = this.getEditorKeyDisplay("tui.editor.deleteWordForward");
4323
- const deleteToLineStart = this.getEditorKeyDisplay("tui.editor.deleteToLineStart");
4324
- const deleteToLineEnd = this.getEditorKeyDisplay("tui.editor.deleteToLineEnd");
4325
- const yank = this.getEditorKeyDisplay("tui.editor.yank");
4326
- const yankPop = this.getEditorKeyDisplay("tui.editor.yankPop");
4327
- const undo = this.getEditorKeyDisplay("tui.editor.undo");
4328
- const tab = this.getEditorKeyDisplay("tui.input.tab");
4329
- // App keybindings
4330
- const interrupt = this.getAppKeyDisplay("app.interrupt");
4331
- const clear = this.getAppKeyDisplay("app.clear");
4332
- const exit = this.getAppKeyDisplay("app.exit");
4333
- const suspend = this.getAppKeyDisplay("app.suspend");
4334
- const cycleThinkingLevel = this.getAppKeyDisplay("app.thinking.cycle");
4335
- const cycleModelForward = this.getAppKeyDisplay("app.model.cycleForward");
4336
- const selectModel = this.getAppKeyDisplay("app.model.select");
4337
- const expandTools = this.getAppKeyDisplay("app.tools.expand");
4338
- const toggleThinking = this.getAppKeyDisplay("app.thinking.toggle");
4339
- const externalEditor = this.getAppKeyDisplay("app.editor.external");
4340
- const cycleModelBackward = this.getAppKeyDisplay("app.model.cycleBackward");
4341
- const followUp = this.getAppKeyDisplay("app.message.followUp");
4342
- const dequeue = this.getAppKeyDisplay("app.message.dequeue");
4343
- const pasteImage = this.getAppKeyDisplay("app.clipboard.pasteImage");
4344
- let hotkeys = `
4345
- **Navigation**
4346
- | Key | Action |
4347
- |-----|--------|
4348
- | \`${cursorUp}\` / \`${cursorDown}\` / \`${cursorLeft}\` / \`${cursorRight}\` | Move cursor / browse history (Up when empty) |
4349
- | \`${cursorWordLeft}\` / \`${cursorWordRight}\` | Move by word |
4350
- | \`${cursorLineStart}\` | Start of line |
4351
- | \`${cursorLineEnd}\` | End of line |
4352
- | \`${jumpForward}\` | Jump forward to character |
4353
- | \`${jumpBackward}\` | Jump backward to character |
4354
- | \`${pageUp}\` / \`${pageDown}\` | Scroll by page |
4355
-
4356
- **Editing**
4357
- | Key | Action |
4358
- |-----|--------|
4359
- | \`${submit}\` | Send message |
4360
- | \`${newLine}\` | New line${process.platform === "win32" ? " (Ctrl+Enter on Windows Terminal)" : ""} |
4361
- | \`${deleteWordBackward}\` | Delete word backwards |
4362
- | \`${deleteWordForward}\` | Delete word forwards |
4363
- | \`${deleteToLineStart}\` | Delete to start of line |
4364
- | \`${deleteToLineEnd}\` | Delete to end of line |
4365
- | \`${yank}\` | Paste the most-recently-deleted text |
4366
- | \`${yankPop}\` | Cycle through the deleted text after pasting |
4367
- | \`${undo}\` | Undo |
4368
-
4369
- **Other**
4370
- | Key | Action |
4371
- |-----|--------|
4372
- | \`${tab}\` | Path completion / accept autocomplete |
4373
- | \`${interrupt}\` | Cancel autocomplete / abort streaming |
4374
- | \`${clear}\` | Clear editor (first) / exit (second) |
4375
- | \`${exit}\` | Exit (when editor is empty) |
4376
- | \`${suspend}\` | Suspend to background |
4377
- | \`${cycleThinkingLevel}\` | Cycle thinking level |
4378
- | \`${cycleModelForward}\` / \`${cycleModelBackward}\` | Cycle models |
4379
- | \`${selectModel}\` | Open model selector |
4380
- | \`${expandTools}\` | Toggle tool output expansion |
4381
- | \`${toggleThinking}\` | Toggle thinking block visibility |
4382
- | \`${externalEditor}\` | Edit message in external editor |
4383
- | \`${followUp}\` | Queue follow-up message |
4384
- | \`${dequeue}\` | Restore queued messages |
4385
- | \`${pasteImage}\` | Paste image from clipboard |
4386
- | \`/\` | Slash commands |
4387
- | \`!\` | Run bash command |
4388
- | \`!!\` | Run bash command (excluded from context) |
4389
- `;
4390
- // Add extension-registered shortcuts
4391
- const extensionRunner = this.session.extensionRunner;
4392
- const shortcuts = extensionRunner.getShortcuts(this.keybindings.getEffectiveConfig());
4393
- if (shortcuts.size > 0) {
4394
- hotkeys += `
4395
- **Extensions**
4396
- | Key | Action |
4397
- |-----|--------|
4398
- `;
4399
- for (const [key, shortcut] of shortcuts) {
4400
- const description = shortcut.description ?? shortcut.extensionPath;
4401
- const keyDisplay = key.replace(/\b\w/g, (c) => c.toUpperCase());
4402
- hotkeys += `| \`${keyDisplay}\` | ${description} |\n`;
4403
- }
4404
- }
4405
- this.chatContainer.addChild(new Spacer(1));
4406
- this.chatContainer.addChild(new DynamicBorder());
4407
- this.chatContainer.addChild(new Text(theme.bold(theme.fg("accent", "Keyboard Shortcuts")), 1, 0));
4408
- this.chatContainer.addChild(new Spacer(1));
4409
- this.chatContainer.addChild(new Markdown(hotkeys.trim(), 1, 1, this.getMarkdownThemeWithSettings()));
4410
- this.chatContainer.addChild(new DynamicBorder());
4411
- this.ui.requestRender();
4412
- }
4413
- async handleClearCommand() {
4414
- if (this.loadingAnimation) {
4415
- this.loadingAnimation.stop();
4416
- this.loadingAnimation = undefined;
4417
- }
4418
- this.statusContainer.clear();
4419
- try {
4420
- const result = await this.runtimeHost.newSession();
4421
- if (result.cancelled) {
4422
- return;
4423
- }
4424
- this.renderCurrentSessionState();
4425
- this.chatContainer.addChild(new Spacer(1));
4426
- this.chatContainer.addChild(new Text(`${theme.fg("accent", "✓ New session started")}`, 1, 1));
4427
- this.ui.requestRender();
4428
- }
4429
- catch (error) {
4430
- await this.handleFatalRuntimeError("Failed to create session", error);
4431
- }
4432
- }
4433
- handleDebugCommand() {
4434
- const width = this.ui.terminal.columns;
4435
- const height = this.ui.terminal.rows;
4436
- const allLines = this.ui.render(width);
4437
- const debugLogPath = getDebugLogPath();
4438
- const debugData = [
4439
- `Debug output at ${new Date().toISOString()}`,
4440
- `Terminal: ${width}x${height}`,
4441
- `Total lines: ${allLines.length}`,
4442
- "",
4443
- "=== All rendered lines with visible widths ===",
4444
- ...allLines.map((line, idx) => {
4445
- const vw = visibleWidth(line);
4446
- const escaped = JSON.stringify(line);
4447
- return `[${idx}] (w=${vw}) ${escaped}`;
4448
- }),
4449
- "",
4450
- "=== Agent messages (JSONL) ===",
4451
- ...this.session.messages.map((msg) => JSON.stringify(msg)),
4452
- "",
4453
- ].join("\n");
4454
- fs.mkdirSync(path.dirname(debugLogPath), { recursive: true });
4455
- fs.writeFileSync(debugLogPath, debugData);
4456
- this.chatContainer.addChild(new Spacer(1));
4457
- this.chatContainer.addChild(new Text(`${theme.fg("accent", "✓ Debug log written")}\n${theme.fg("muted", debugLogPath)}`, 1, 1));
4458
- this.ui.requestRender();
4459
- }
4460
- handleArminSaysHi() {
4461
- this.chatContainer.addChild(new Spacer(1));
4462
- this.chatContainer.addChild(new ArminComponent(this.ui));
4463
- this.ui.requestRender();
4464
- }
4465
- handleDementedDelves() {
4466
- this.chatContainer.addChild(new Spacer(1));
4467
- this.chatContainer.addChild(new EarendilAnnouncementComponent());
4468
- this.ui.requestRender();
4469
- }
4470
- handleDaxnuts() {
4471
- this.chatContainer.addChild(new Spacer(1));
4472
- this.chatContainer.addChild(new DaxnutsComponent(this.ui));
4473
- this.ui.requestRender();
4474
- }
4475
- checkDaxnutsEasterEgg(model) {
4476
- if (model.provider === "opencode" && model.id.toLowerCase().includes("kimi-k2.5")) {
4477
- this.handleDaxnuts();
4478
- }
4479
- }
4480
- async handleBashCommand(command, excludeFromContext = false) {
4481
- const extensionRunner = this.session.extensionRunner;
4482
- // Emit user_bash event to let extensions intercept
4483
- const eventResult = await extensionRunner.emitUserBash({
4484
- type: "user_bash",
4485
- command,
4486
- excludeFromContext,
4487
- cwd: this.sessionManager.getCwd(),
4488
- });
4489
- // If extension returned a full result, use it directly
4490
- if (eventResult?.result) {
4491
- const result = eventResult.result;
4492
- // Create UI component for display
4493
- this.bashComponent = new BashExecutionComponent(command, this.ui, excludeFromContext);
4494
- if (this.session.isStreaming) {
4495
- this.pendingMessagesContainer.addChild(this.bashComponent);
4496
- this.pendingBashComponents.push(this.bashComponent);
4497
- }
4498
- else {
4499
- this.chatContainer.addChild(this.bashComponent);
4500
- }
4501
- // Show output and complete
4502
- if (result.output) {
4503
- this.bashComponent.appendOutput(result.output);
4504
- }
4505
- this.bashComponent.setComplete(result.exitCode, result.cancelled, result.truncated ? { truncated: true, content: result.output } : undefined, result.fullOutputPath);
4506
- // Record the result in session
4507
- this.session.recordBashResult(command, result, { excludeFromContext });
4508
- this.bashComponent = undefined;
4509
- this.ui.requestRender();
4510
- return;
4511
- }
4512
- // Normal execution path (possibly with custom operations)
4513
- const isDeferred = this.session.isStreaming;
4514
- this.bashComponent = new BashExecutionComponent(command, this.ui, excludeFromContext);
4515
- if (isDeferred) {
4516
- // Show in pending area when agent is streaming
4517
- this.pendingMessagesContainer.addChild(this.bashComponent);
4518
- this.pendingBashComponents.push(this.bashComponent);
4519
- }
4520
- else {
4521
- // Show in chat immediately when agent is idle
4522
- this.chatContainer.addChild(this.bashComponent);
4523
- }
4524
- this.ui.requestRender();
4525
- try {
4526
- const result = await this.session.executeBash(command, (chunk) => {
4527
- if (this.bashComponent) {
4528
- this.bashComponent.appendOutput(chunk);
4529
- this.ui.requestRender();
4530
- }
4531
- }, { excludeFromContext, operations: eventResult?.operations });
4532
- if (this.bashComponent) {
4533
- this.bashComponent.setComplete(result.exitCode, result.cancelled, result.truncated ? { truncated: true, content: result.output } : undefined, result.fullOutputPath);
4534
- }
4535
- }
4536
- catch (error) {
4537
- if (this.bashComponent) {
4538
- this.bashComponent.setComplete(undefined, false);
4539
- }
4540
- this.showError(`Bash command failed: ${error instanceof Error ? error.message : "Unknown error"}`);
4541
- }
4542
- this.bashComponent = undefined;
4543
- this.ui.requestRender();
4544
- }
4545
- async handleCompactCommand(customInstructions) {
4546
- const entries = this.sessionManager.getEntries();
4547
- const messageCount = entries.filter((e) => e.type === "message").length;
4548
- if (messageCount < 2) {
4549
- this.showWarning("Nothing to compact (no messages yet)");
4550
- return;
4551
- }
4552
- if (this.loadingAnimation) {
4553
- this.loadingAnimation.stop();
4554
- this.loadingAnimation = undefined;
4555
- }
4556
- this.statusContainer.clear();
4557
- try {
4558
- await this.session.compact(customInstructions);
4559
- }
4560
- catch {
4561
- // Ignore, will be emitted as an event
4562
- }
4563
- }
4564
- stop() {
4565
- this.unregisterSignalHandlers();
4566
- if (this.settingsManager.getShowTerminalProgress()) {
4567
- this.ui.terminal.setProgress(false);
4568
- }
4569
- if (this.loadingAnimation) {
4570
- this.loadingAnimation.stop();
4571
- this.loadingAnimation = undefined;
4572
- }
4573
- this.clearExtensionTerminalInputListeners();
4574
- this.footer.dispose();
4575
- this.footerDataProvider.dispose();
4576
- if (this.unsubscribe) {
4577
- this.unsubscribe();
4578
- }
4579
- if (this.isInitialized) {
4580
- this.ui.stop();
4581
- this.isInitialized = false;
4582
- }
4583
- }
4584
- }
4585
- //# sourceMappingURL=interactive-mode.js.map