@entelligentsia/forgecli 0.7.6 → 0.7.9

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 (2885) hide show
  1. package/CHANGELOG.md +59 -0
  2. package/README.md +105 -215
  3. package/dist/CHANGELOG-forge-plugin.md +1233 -0
  4. package/dist/CHANGELOG-pi.md +4205 -0
  5. package/dist/bin/forge.js +2 -2
  6. package/dist/extensions/forgecli/approve.d.ts +1 -1
  7. package/dist/extensions/forgecli/ask-user-tool.d.ts +1 -1
  8. package/dist/extensions/forgecli/audience-gate.d.ts +1 -1
  9. package/dist/extensions/forgecli/collate.d.ts +1 -1
  10. package/dist/extensions/forgecli/commit.d.ts +1 -1
  11. package/dist/extensions/forgecli/enhance.d.ts +1 -1
  12. package/dist/extensions/forgecli/fix-bug.d.ts +1 -1
  13. package/dist/extensions/forgecli/forge-commands.d.ts +1 -1
  14. package/dist/extensions/forgecli/forge-header.d.ts +3 -3
  15. package/dist/extensions/forgecli/forge-header.js +12 -6
  16. package/dist/extensions/forgecli/forge-header.js.map +1 -1
  17. package/dist/extensions/forgecli/forge-init.d.ts +1 -1
  18. package/dist/extensions/forgecli/forge-subagent.d.ts +3 -3
  19. package/dist/extensions/forgecli/forge-subagent.js +2 -2
  20. package/dist/extensions/forgecli/forge-tools.d.ts +1 -1
  21. package/dist/extensions/forgecli/forge-update-command.d.ts +1 -1
  22. package/dist/extensions/forgecli/hook-dispatcher.d.ts +1 -1
  23. package/dist/extensions/forgecli/hook-dispatcher.js +1 -1
  24. package/dist/extensions/forgecli/hooks/post-init-hook.d.ts +1 -1
  25. package/dist/extensions/forgecli/hooks/post-sprint-hook.d.ts +1 -1
  26. package/dist/extensions/forgecli/implement.d.ts +1 -1
  27. package/dist/extensions/forgecli/index.d.ts +1 -1
  28. package/dist/extensions/forgecli/index.js +41 -6
  29. package/dist/extensions/forgecli/index.js.map +1 -1
  30. package/dist/extensions/forgecli/kickoff.d.ts +1 -1
  31. package/dist/extensions/forgecli/plan.d.ts +1 -1
  32. package/dist/extensions/forgecli/read-command.d.ts +1 -1
  33. package/dist/extensions/forgecli/regenerate.d.ts +1 -1
  34. package/dist/extensions/forgecli/review-code.d.ts +1 -1
  35. package/dist/extensions/forgecli/review-plan.d.ts +1 -1
  36. package/dist/extensions/forgecli/run-sprint.d.ts +2 -2
  37. package/dist/extensions/forgecli/run-task.d.ts +2 -2
  38. package/dist/extensions/forgecli/sprint-intake.d.ts +1 -1
  39. package/dist/extensions/forgecli/sprint-plan.d.ts +1 -1
  40. package/dist/extensions/forgecli/store-resolver.d.ts +1 -1
  41. package/dist/extensions/forgecli/subagent/agents.js +1 -1
  42. package/dist/extensions/forgecli/subagent/index.d.ts +1 -1
  43. package/dist/extensions/forgecli/subagent/index.js +3 -3
  44. package/dist/extensions/forgecli/test-orchestrate.d.ts +1 -1
  45. package/dist/extensions/forgecli/thread-switcher.d.ts +1 -1
  46. package/dist/extensions/forgecli/thread-switcher.js +1 -1
  47. package/dist/extensions/forgecli/usage-hook.d.ts +1 -1
  48. package/dist/extensions/forgecli/validate.d.ts +1 -1
  49. package/dist/extensions/forgecli/wf-engine/register.d.ts +1 -1
  50. package/dist/extensions/forgecli/wf-engine/worker.d.ts +1 -1
  51. package/dist/extensions/forgecli/wf-engine/worker.js +1 -1
  52. package/dist/extensions/forgecli/whats-new-widget.d.ts +21 -0
  53. package/dist/extensions/forgecli/whats-new-widget.js +303 -0
  54. package/dist/extensions/forgecli/whats-new-widget.js.map +1 -0
  55. package/dist/extensions/forgecli/whats-new.d.ts +120 -0
  56. package/dist/extensions/forgecli/whats-new.js +469 -0
  57. package/dist/extensions/forgecli/whats-new.js.map +1 -0
  58. package/node_modules/@earendil-works/pi-agent-core/README.md +488 -0
  59. package/node_modules/@earendil-works/pi-agent-core/dist/agent-loop.d.ts +24 -0
  60. package/node_modules/@earendil-works/pi-agent-core/dist/agent-loop.d.ts.map +1 -0
  61. package/node_modules/@earendil-works/pi-agent-core/dist/agent-loop.js +479 -0
  62. package/node_modules/@earendil-works/pi-agent-core/dist/agent-loop.js.map +1 -0
  63. package/node_modules/@earendil-works/pi-agent-core/dist/agent.d.ts +118 -0
  64. package/node_modules/@earendil-works/pi-agent-core/dist/agent.d.ts.map +1 -0
  65. package/node_modules/@earendil-works/pi-agent-core/dist/agent.js +402 -0
  66. package/node_modules/@earendil-works/pi-agent-core/dist/agent.js.map +1 -0
  67. package/node_modules/@earendil-works/pi-agent-core/dist/harness/agent-harness.d.ts +92 -0
  68. package/node_modules/@earendil-works/pi-agent-core/dist/harness/agent-harness.d.ts.map +1 -0
  69. package/node_modules/@earendil-works/pi-agent-core/dist/harness/agent-harness.js +900 -0
  70. package/node_modules/@earendil-works/pi-agent-core/dist/harness/agent-harness.js.map +1 -0
  71. package/node_modules/@earendil-works/pi-agent-core/dist/harness/compaction/branch-summarization.d.ts +53 -0
  72. package/node_modules/@earendil-works/pi-agent-core/dist/harness/compaction/branch-summarization.d.ts.map +1 -0
  73. package/node_modules/@earendil-works/pi-agent-core/dist/harness/compaction/branch-summarization.js +174 -0
  74. package/node_modules/@earendil-works/pi-agent-core/dist/harness/compaction/branch-summarization.js.map +1 -0
  75. package/node_modules/@earendil-works/pi-agent-core/dist/harness/compaction/compaction.d.ts +95 -0
  76. package/node_modules/@earendil-works/pi-agent-core/dist/harness/compaction/compaction.d.ts.map +1 -0
  77. package/node_modules/@earendil-works/pi-agent-core/dist/harness/compaction/compaction.js +533 -0
  78. package/node_modules/@earendil-works/pi-agent-core/dist/harness/compaction/compaction.js.map +1 -0
  79. package/node_modules/@earendil-works/pi-agent-core/dist/harness/compaction/utils.d.ts +25 -0
  80. package/node_modules/@earendil-works/pi-agent-core/dist/harness/compaction/utils.d.ts.map +1 -0
  81. package/node_modules/@earendil-works/pi-agent-core/dist/harness/compaction/utils.js +131 -0
  82. package/node_modules/@earendil-works/pi-agent-core/dist/harness/compaction/utils.js.map +1 -0
  83. package/node_modules/@earendil-works/pi-agent-core/dist/harness/env/nodejs.d.ts +51 -0
  84. package/node_modules/@earendil-works/pi-agent-core/dist/harness/env/nodejs.d.ts.map +1 -0
  85. package/node_modules/@earendil-works/pi-agent-core/dist/harness/env/nodejs.js +481 -0
  86. package/node_modules/@earendil-works/pi-agent-core/dist/harness/env/nodejs.js.map +1 -0
  87. package/node_modules/@earendil-works/pi-agent-core/dist/harness/execution-env.d.ts +4 -0
  88. package/node_modules/@earendil-works/pi-agent-core/dist/harness/execution-env.d.ts.map +1 -0
  89. package/node_modules/@earendil-works/pi-agent-core/dist/harness/execution-env.js +3 -0
  90. package/node_modules/@earendil-works/pi-agent-core/dist/harness/execution-env.js.map +1 -0
  91. package/node_modules/@earendil-works/pi-agent-core/dist/harness/messages.d.ts +51 -0
  92. package/node_modules/@earendil-works/pi-agent-core/dist/harness/messages.d.ts.map +1 -0
  93. package/node_modules/@earendil-works/pi-agent-core/dist/harness/messages.js +102 -0
  94. package/node_modules/@earendil-works/pi-agent-core/dist/harness/messages.js.map +1 -0
  95. package/node_modules/@earendil-works/pi-agent-core/dist/harness/prompt-templates.d.ts +48 -0
  96. package/node_modules/@earendil-works/pi-agent-core/dist/harness/prompt-templates.d.ts.map +1 -0
  97. package/node_modules/@earendil-works/pi-agent-core/dist/harness/prompt-templates.js +230 -0
  98. package/node_modules/@earendil-works/pi-agent-core/dist/harness/prompt-templates.js.map +1 -0
  99. package/node_modules/@earendil-works/pi-agent-core/dist/harness/session/jsonl-repo.d.ts +26 -0
  100. package/node_modules/@earendil-works/pi-agent-core/dist/harness/session/jsonl-repo.d.ts.map +1 -0
  101. package/node_modules/@earendil-works/pi-agent-core/dist/harness/session/jsonl-repo.js +101 -0
  102. package/node_modules/@earendil-works/pi-agent-core/dist/harness/session/jsonl-repo.js.map +1 -0
  103. package/node_modules/@earendil-works/pi-agent-core/dist/harness/session/jsonl-storage.d.ts +33 -0
  104. package/node_modules/@earendil-works/pi-agent-core/dist/harness/session/jsonl-storage.d.ts.map +1 -0
  105. package/node_modules/@earendil-works/pi-agent-core/dist/harness/session/jsonl-storage.js +231 -0
  106. package/node_modules/@earendil-works/pi-agent-core/dist/harness/session/jsonl-storage.js.map +1 -0
  107. package/node_modules/@earendil-works/pi-agent-core/dist/harness/session/memory-repo.d.ts +18 -0
  108. package/node_modules/@earendil-works/pi-agent-core/dist/harness/session/memory-repo.d.ts.map +1 -0
  109. package/node_modules/@earendil-works/pi-agent-core/dist/harness/session/memory-repo.js +42 -0
  110. package/node_modules/@earendil-works/pi-agent-core/dist/harness/session/memory-repo.js.map +1 -0
  111. package/node_modules/@earendil-works/pi-agent-core/dist/harness/session/memory-storage.d.ts +25 -0
  112. package/node_modules/@earendil-works/pi-agent-core/dist/harness/session/memory-storage.d.ts.map +1 -0
  113. package/node_modules/@earendil-works/pi-agent-core/dist/harness/session/memory-storage.js +114 -0
  114. package/node_modules/@earendil-works/pi-agent-core/dist/harness/session/memory-storage.js.map +1 -0
  115. package/node_modules/@earendil-works/pi-agent-core/dist/harness/session/repo/jsonl.d.ts +20 -0
  116. package/node_modules/@earendil-works/pi-agent-core/dist/harness/session/repo/jsonl.d.ts.map +1 -0
  117. package/node_modules/@earendil-works/pi-agent-core/dist/harness/session/repo/jsonl.js +92 -0
  118. package/node_modules/@earendil-works/pi-agent-core/dist/harness/session/repo/jsonl.js.map +1 -0
  119. package/node_modules/@earendil-works/pi-agent-core/dist/harness/session/repo/memory.d.ts +18 -0
  120. package/node_modules/@earendil-works/pi-agent-core/dist/harness/session/repo/memory.d.ts.map +1 -0
  121. package/node_modules/@earendil-works/pi-agent-core/dist/harness/session/repo/memory.js +42 -0
  122. package/node_modules/@earendil-works/pi-agent-core/dist/harness/session/repo/memory.js.map +1 -0
  123. package/node_modules/@earendil-works/pi-agent-core/dist/harness/session/repo/shared.d.ts +10 -0
  124. package/node_modules/@earendil-works/pi-agent-core/dist/harness/session/repo/shared.d.ts.map +1 -0
  125. package/node_modules/@earendil-works/pi-agent-core/dist/harness/session/repo/shared.js +31 -0
  126. package/node_modules/@earendil-works/pi-agent-core/dist/harness/session/repo/shared.js.map +1 -0
  127. package/node_modules/@earendil-works/pi-agent-core/dist/harness/session/repo-utils.d.ts +11 -0
  128. package/node_modules/@earendil-works/pi-agent-core/dist/harness/session/repo-utils.d.ts.map +1 -0
  129. package/node_modules/@earendil-works/pi-agent-core/dist/harness/session/repo-utils.js +39 -0
  130. package/node_modules/@earendil-works/pi-agent-core/dist/harness/session/repo-utils.js.map +1 -0
  131. package/node_modules/@earendil-works/pi-agent-core/dist/harness/session/session.d.ts +32 -0
  132. package/node_modules/@earendil-works/pi-agent-core/dist/harness/session/session.d.ts.map +1 -0
  133. package/node_modules/@earendil-works/pi-agent-core/dist/harness/session/session.js +197 -0
  134. package/node_modules/@earendil-works/pi-agent-core/dist/harness/session/session.js.map +1 -0
  135. package/node_modules/@earendil-works/pi-agent-core/dist/harness/session/storage/jsonl.d.ts +30 -0
  136. package/node_modules/@earendil-works/pi-agent-core/dist/harness/session/storage/jsonl.d.ts.map +1 -0
  137. package/node_modules/@earendil-works/pi-agent-core/dist/harness/session/storage/jsonl.js +170 -0
  138. package/node_modules/@earendil-works/pi-agent-core/dist/harness/session/storage/jsonl.js.map +1 -0
  139. package/node_modules/@earendil-works/pi-agent-core/dist/harness/session/storage/memory.d.ts +26 -0
  140. package/node_modules/@earendil-works/pi-agent-core/dist/harness/session/storage/memory.d.ts.map +1 -0
  141. package/node_modules/@earendil-works/pi-agent-core/dist/harness/session/storage/memory.js +90 -0
  142. package/node_modules/@earendil-works/pi-agent-core/dist/harness/session/storage/memory.js.map +1 -0
  143. package/node_modules/@earendil-works/pi-agent-core/dist/harness/session/uuid.d.ts +2 -0
  144. package/node_modules/@earendil-works/pi-agent-core/dist/harness/session/uuid.d.ts.map +1 -0
  145. package/node_modules/@earendil-works/pi-agent-core/dist/harness/session/uuid.js +50 -0
  146. package/node_modules/@earendil-works/pi-agent-core/dist/harness/session/uuid.js.map +1 -0
  147. package/node_modules/@earendil-works/pi-agent-core/dist/harness/skills.d.ts +44 -0
  148. package/node_modules/@earendil-works/pi-agent-core/dist/harness/skills.d.ts.map +1 -0
  149. package/node_modules/@earendil-works/pi-agent-core/dist/harness/skills.js +311 -0
  150. package/node_modules/@earendil-works/pi-agent-core/dist/harness/skills.js.map +1 -0
  151. package/node_modules/@earendil-works/pi-agent-core/dist/harness/system-prompt.d.ts +3 -0
  152. package/node_modules/@earendil-works/pi-agent-core/dist/harness/system-prompt.d.ts.map +1 -0
  153. package/node_modules/@earendil-works/pi-agent-core/dist/harness/system-prompt.js +30 -0
  154. package/node_modules/@earendil-works/pi-agent-core/dist/harness/system-prompt.js.map +1 -0
  155. package/node_modules/@earendil-works/pi-agent-core/dist/harness/types.d.ts +613 -0
  156. package/node_modules/@earendil-works/pi-agent-core/dist/harness/types.d.ts.map +1 -0
  157. package/node_modules/@earendil-works/pi-agent-core/dist/harness/types.js +100 -0
  158. package/node_modules/@earendil-works/pi-agent-core/dist/harness/types.js.map +1 -0
  159. package/node_modules/@earendil-works/pi-agent-core/dist/harness/utils/shell-output.d.ts +14 -0
  160. package/node_modules/@earendil-works/pi-agent-core/dist/harness/utils/shell-output.d.ts.map +1 -0
  161. package/node_modules/@earendil-works/pi-agent-core/dist/harness/utils/shell-output.js +126 -0
  162. package/node_modules/@earendil-works/pi-agent-core/dist/harness/utils/shell-output.js.map +1 -0
  163. package/node_modules/@earendil-works/pi-agent-core/dist/harness/utils/truncate.d.ts.map +1 -0
  164. package/node_modules/@earendil-works/pi-agent-core/dist/harness/utils/truncate.js +288 -0
  165. package/node_modules/@earendil-works/pi-agent-core/dist/harness/utils/truncate.js.map +1 -0
  166. package/node_modules/@earendil-works/pi-agent-core/dist/index.d.ts +20 -0
  167. package/node_modules/@earendil-works/pi-agent-core/dist/index.d.ts.map +1 -0
  168. package/node_modules/@earendil-works/pi-agent-core/dist/index.js +25 -0
  169. package/node_modules/@earendil-works/pi-agent-core/dist/index.js.map +1 -0
  170. package/node_modules/@earendil-works/pi-agent-core/dist/node.d.ts +3 -0
  171. package/node_modules/@earendil-works/pi-agent-core/dist/node.d.ts.map +1 -0
  172. package/node_modules/@earendil-works/pi-agent-core/dist/node.js +3 -0
  173. package/node_modules/@earendil-works/pi-agent-core/dist/node.js.map +1 -0
  174. package/node_modules/@earendil-works/pi-agent-core/dist/proxy.d.ts +69 -0
  175. package/node_modules/@earendil-works/pi-agent-core/dist/proxy.d.ts.map +1 -0
  176. package/node_modules/@earendil-works/pi-agent-core/dist/proxy.js +278 -0
  177. package/node_modules/@earendil-works/pi-agent-core/dist/proxy.js.map +1 -0
  178. package/node_modules/@earendil-works/pi-agent-core/dist/types.d.ts +393 -0
  179. package/node_modules/@earendil-works/pi-agent-core/dist/types.d.ts.map +1 -0
  180. package/node_modules/@earendil-works/pi-agent-core/dist/types.js.map +1 -0
  181. package/node_modules/@earendil-works/pi-agent-core/package.json +61 -0
  182. package/node_modules/@earendil-works/pi-ai/README.md +1383 -0
  183. package/node_modules/@earendil-works/pi-ai/dist/cli.d.ts.map +1 -0
  184. package/node_modules/@earendil-works/pi-ai/dist/cli.js +116 -0
  185. package/node_modules/@earendil-works/pi-ai/dist/cli.js.map +1 -0
  186. package/node_modules/@earendil-works/pi-ai/dist/env-api-keys.d.ts.map +1 -0
  187. package/node_modules/@earendil-works/pi-ai/dist/env-api-keys.js +170 -0
  188. package/node_modules/@earendil-works/pi-ai/dist/env-api-keys.js.map +1 -0
  189. package/node_modules/@earendil-works/pi-ai/dist/image-models.d.ts +10 -0
  190. package/node_modules/@earendil-works/pi-ai/dist/image-models.d.ts.map +1 -0
  191. package/node_modules/@earendil-works/pi-ai/dist/image-models.generated.d.ts +425 -0
  192. package/node_modules/@earendil-works/pi-ai/dist/image-models.generated.d.ts.map +1 -0
  193. package/node_modules/@earendil-works/pi-ai/dist/image-models.generated.js +427 -0
  194. package/node_modules/@earendil-works/pi-ai/dist/image-models.generated.js.map +1 -0
  195. package/node_modules/@earendil-works/pi-ai/dist/image-models.js +23 -0
  196. package/node_modules/@earendil-works/pi-ai/dist/image-models.js.map +1 -0
  197. package/node_modules/@earendil-works/pi-ai/dist/images-api-registry.d.ts +14 -0
  198. package/node_modules/@earendil-works/pi-ai/dist/images-api-registry.d.ts.map +1 -0
  199. package/node_modules/@earendil-works/pi-ai/dist/images-api-registry.js +22 -0
  200. package/node_modules/@earendil-works/pi-ai/dist/images-api-registry.js.map +1 -0
  201. package/node_modules/@earendil-works/pi-ai/dist/images.d.ts +4 -0
  202. package/node_modules/@earendil-works/pi-ai/dist/images.d.ts.map +1 -0
  203. package/node_modules/@earendil-works/pi-ai/dist/images.js +14 -0
  204. package/node_modules/@earendil-works/pi-ai/dist/images.js.map +1 -0
  205. package/node_modules/@earendil-works/pi-ai/dist/index.d.ts +32 -0
  206. package/node_modules/@earendil-works/pi-ai/dist/index.d.ts.map +1 -0
  207. package/node_modules/@earendil-works/pi-ai/dist/index.js +20 -0
  208. package/node_modules/@earendil-works/pi-ai/dist/index.js.map +1 -0
  209. package/node_modules/@earendil-works/pi-ai/dist/models.generated.d.ts +17435 -0
  210. package/node_modules/@earendil-works/pi-ai/dist/models.generated.d.ts.map +1 -0
  211. package/node_modules/@earendil-works/pi-ai/dist/models.generated.js +16383 -0
  212. package/node_modules/@earendil-works/pi-ai/dist/models.generated.js.map +1 -0
  213. package/node_modules/@earendil-works/pi-ai/dist/providers/amazon-bedrock.d.ts.map +1 -0
  214. package/node_modules/@earendil-works/pi-ai/dist/providers/amazon-bedrock.js +750 -0
  215. package/node_modules/@earendil-works/pi-ai/dist/providers/amazon-bedrock.js.map +1 -0
  216. package/node_modules/@earendil-works/pi-ai/dist/providers/anthropic.d.ts.map +1 -0
  217. package/node_modules/@earendil-works/pi-ai/dist/providers/anthropic.js +960 -0
  218. package/node_modules/@earendil-works/pi-ai/dist/providers/anthropic.js.map +1 -0
  219. package/node_modules/@earendil-works/pi-ai/dist/providers/images/openrouter.d.ts +3 -0
  220. package/node_modules/@earendil-works/pi-ai/dist/providers/images/openrouter.d.ts.map +1 -0
  221. package/node_modules/@earendil-works/pi-ai/dist/providers/images/openrouter.js +129 -0
  222. package/node_modules/@earendil-works/pi-ai/dist/providers/images/openrouter.js.map +1 -0
  223. package/node_modules/@earendil-works/pi-ai/dist/providers/images/register-builtins.d.ts +4 -0
  224. package/node_modules/@earendil-works/pi-ai/dist/providers/images/register-builtins.d.ts.map +1 -0
  225. package/node_modules/@earendil-works/pi-ai/dist/providers/images/register-builtins.js +34 -0
  226. package/node_modules/@earendil-works/pi-ai/dist/providers/images/register-builtins.js.map +1 -0
  227. package/node_modules/@earendil-works/pi-ai/dist/providers/openai-codex-responses.d.ts.map +1 -0
  228. package/node_modules/@earendil-works/pi-ai/dist/providers/openai-codex-responses.js +1080 -0
  229. package/node_modules/@earendil-works/pi-ai/dist/providers/openai-codex-responses.js.map +1 -0
  230. package/node_modules/@earendil-works/pi-ai/dist/providers/openai-completions.d.ts.map +1 -0
  231. package/node_modules/@earendil-works/pi-ai/dist/providers/openai-completions.js +943 -0
  232. package/node_modules/@earendil-works/pi-ai/dist/providers/openai-completions.js.map +1 -0
  233. package/node_modules/@earendil-works/pi-ai/dist/providers/simple-options.d.ts.map +1 -0
  234. package/node_modules/@earendil-works/pi-ai/dist/providers/simple-options.js +39 -0
  235. package/node_modules/@earendil-works/pi-ai/dist/providers/simple-options.js.map +1 -0
  236. package/node_modules/@earendil-works/pi-ai/dist/types.d.ts +488 -0
  237. package/node_modules/@earendil-works/pi-ai/dist/types.d.ts.map +1 -0
  238. package/node_modules/@earendil-works/pi-ai/dist/types.js.map +1 -0
  239. package/node_modules/@earendil-works/pi-ai/dist/utils/node-http-proxy.d.ts +10 -0
  240. package/node_modules/@earendil-works/pi-ai/dist/utils/node-http-proxy.d.ts.map +1 -0
  241. package/node_modules/@earendil-works/pi-ai/dist/utils/node-http-proxy.js +97 -0
  242. package/node_modules/@earendil-works/pi-ai/dist/utils/node-http-proxy.js.map +1 -0
  243. package/node_modules/@earendil-works/pi-ai/dist/utils/overflow.d.ts +56 -0
  244. package/node_modules/@earendil-works/pi-ai/dist/utils/overflow.d.ts.map +1 -0
  245. package/node_modules/@earendil-works/pi-ai/dist/utils/overflow.js +151 -0
  246. package/node_modules/@earendil-works/pi-ai/dist/utils/overflow.js.map +1 -0
  247. package/node_modules/@earendil-works/pi-ai/package.json +107 -0
  248. package/node_modules/@earendil-works/pi-coding-agent/CHANGELOG.md +4205 -0
  249. package/node_modules/@earendil-works/pi-coding-agent/README.md +653 -0
  250. package/node_modules/@earendil-works/pi-coding-agent/dist/bun/register-bedrock.d.ts.map +1 -0
  251. package/node_modules/@earendil-works/pi-coding-agent/dist/bun/register-bedrock.js +4 -0
  252. package/node_modules/@earendil-works/pi-coding-agent/dist/bun/register-bedrock.js.map +1 -0
  253. package/node_modules/@earendil-works/pi-coding-agent/dist/cli/args.d.ts +53 -0
  254. package/node_modules/@earendil-works/pi-coding-agent/dist/cli/args.d.ts.map +1 -0
  255. package/node_modules/@earendil-works/pi-coding-agent/dist/cli/args.js +341 -0
  256. package/node_modules/@earendil-works/pi-coding-agent/dist/cli/args.js.map +1 -0
  257. package/node_modules/@earendil-works/pi-coding-agent/dist/cli/config-selector.d.ts.map +1 -0
  258. package/node_modules/@earendil-works/pi-coding-agent/dist/cli/config-selector.js +31 -0
  259. package/node_modules/@earendil-works/pi-coding-agent/dist/cli/config-selector.js.map +1 -0
  260. package/node_modules/@earendil-works/pi-coding-agent/dist/cli/file-processor.d.ts +15 -0
  261. package/node_modules/@earendil-works/pi-coding-agent/dist/cli/file-processor.d.ts.map +1 -0
  262. package/node_modules/@earendil-works/pi-coding-agent/dist/cli/file-processor.js.map +1 -0
  263. package/node_modules/@earendil-works/pi-coding-agent/dist/cli/initial-message.d.ts +18 -0
  264. package/node_modules/@earendil-works/pi-coding-agent/dist/cli/initial-message.d.ts.map +1 -0
  265. package/node_modules/@earendil-works/pi-coding-agent/dist/cli/initial-message.js.map +1 -0
  266. package/node_modules/@earendil-works/pi-coding-agent/dist/cli/list-models.d.ts.map +1 -0
  267. package/node_modules/@earendil-works/pi-coding-agent/dist/cli/list-models.js +98 -0
  268. package/node_modules/@earendil-works/pi-coding-agent/dist/cli/list-models.js.map +1 -0
  269. package/node_modules/@earendil-works/pi-coding-agent/dist/cli/session-picker.d.ts.map +1 -0
  270. package/node_modules/@earendil-works/pi-coding-agent/dist/cli/session-picker.js +35 -0
  271. package/node_modules/@earendil-works/pi-coding-agent/dist/cli/session-picker.js.map +1 -0
  272. package/node_modules/@earendil-works/pi-coding-agent/dist/cli.d.ts.map +1 -0
  273. package/node_modules/@earendil-works/pi-coding-agent/dist/cli.js +28 -0
  274. package/node_modules/@earendil-works/pi-coding-agent/dist/cli.js.map +1 -0
  275. package/node_modules/@earendil-works/pi-coding-agent/dist/config.d.ts.map +1 -0
  276. package/node_modules/@earendil-works/pi-coding-agent/dist/config.js +399 -0
  277. package/node_modules/@earendil-works/pi-coding-agent/dist/config.js.map +1 -0
  278. package/node_modules/@earendil-works/pi-coding-agent/dist/core/agent-session-services.d.ts +86 -0
  279. package/node_modules/@earendil-works/pi-coding-agent/dist/core/agent-session-services.d.ts.map +1 -0
  280. package/node_modules/@earendil-works/pi-coding-agent/dist/core/agent-session-services.js.map +1 -0
  281. package/node_modules/@earendil-works/pi-coding-agent/dist/core/agent-session.d.ts +595 -0
  282. package/node_modules/@earendil-works/pi-coding-agent/dist/core/agent-session.d.ts.map +1 -0
  283. package/node_modules/@earendil-works/pi-coding-agent/dist/core/agent-session.js +2521 -0
  284. package/node_modules/@earendil-works/pi-coding-agent/dist/core/agent-session.js.map +1 -0
  285. package/node_modules/@earendil-works/pi-coding-agent/dist/core/auth-storage.d.ts +141 -0
  286. package/node_modules/@earendil-works/pi-coding-agent/dist/core/auth-storage.d.ts.map +1 -0
  287. package/node_modules/@earendil-works/pi-coding-agent/dist/core/auth-storage.js +441 -0
  288. package/node_modules/@earendil-works/pi-coding-agent/dist/core/auth-storage.js.map +1 -0
  289. package/node_modules/@earendil-works/pi-coding-agent/dist/core/bash-executor.d.ts.map +1 -0
  290. package/node_modules/@earendil-works/pi-coding-agent/dist/core/bash-executor.js +111 -0
  291. package/node_modules/@earendil-works/pi-coding-agent/dist/core/bash-executor.js.map +1 -0
  292. package/node_modules/@earendil-works/pi-coding-agent/dist/core/compaction/branch-summarization.d.ts +88 -0
  293. package/node_modules/@earendil-works/pi-coding-agent/dist/core/compaction/branch-summarization.d.ts.map +1 -0
  294. package/node_modules/@earendil-works/pi-coding-agent/dist/core/compaction/branch-summarization.js +243 -0
  295. package/node_modules/@earendil-works/pi-coding-agent/dist/core/compaction/branch-summarization.js.map +1 -0
  296. package/node_modules/@earendil-works/pi-coding-agent/dist/core/compaction/compaction.d.ts +121 -0
  297. package/node_modules/@earendil-works/pi-coding-agent/dist/core/compaction/compaction.d.ts.map +1 -0
  298. package/node_modules/@earendil-works/pi-coding-agent/dist/core/compaction/compaction.js +615 -0
  299. package/node_modules/@earendil-works/pi-coding-agent/dist/core/compaction/compaction.js.map +1 -0
  300. package/node_modules/@earendil-works/pi-coding-agent/dist/core/compaction/utils.d.ts +38 -0
  301. package/node_modules/@earendil-works/pi-coding-agent/dist/core/compaction/utils.d.ts.map +1 -0
  302. package/node_modules/@earendil-works/pi-coding-agent/dist/core/compaction/utils.js.map +1 -0
  303. package/node_modules/@earendil-works/pi-coding-agent/dist/core/defaults.d.ts +3 -0
  304. package/node_modules/@earendil-works/pi-coding-agent/dist/core/defaults.d.ts.map +1 -0
  305. package/node_modules/@earendil-works/pi-coding-agent/dist/core/defaults.js.map +1 -0
  306. package/node_modules/@earendil-works/pi-coding-agent/dist/core/export-html/index.d.ts +37 -0
  307. package/node_modules/@earendil-works/pi-coding-agent/dist/core/export-html/index.d.ts.map +1 -0
  308. package/node_modules/@earendil-works/pi-coding-agent/dist/core/export-html/index.js.map +1 -0
  309. package/node_modules/@earendil-works/pi-coding-agent/dist/core/export-html/tool-renderer.d.ts.map +1 -0
  310. package/node_modules/@earendil-works/pi-coding-agent/dist/core/export-html/tool-renderer.js.map +1 -0
  311. package/node_modules/@earendil-works/pi-coding-agent/dist/core/extensions/loader.d.ts.map +1 -0
  312. package/node_modules/@earendil-works/pi-coding-agent/dist/core/extensions/loader.js +498 -0
  313. package/node_modules/@earendil-works/pi-coding-agent/dist/core/extensions/loader.js.map +1 -0
  314. package/node_modules/@earendil-works/pi-coding-agent/dist/core/extensions/runner.d.ts +159 -0
  315. package/node_modules/@earendil-works/pi-coding-agent/dist/core/extensions/runner.d.ts.map +1 -0
  316. package/node_modules/@earendil-works/pi-coding-agent/dist/core/extensions/runner.js +825 -0
  317. package/node_modules/@earendil-works/pi-coding-agent/dist/core/extensions/runner.js.map +1 -0
  318. package/node_modules/@earendil-works/pi-coding-agent/dist/core/extensions/types.d.ts +1187 -0
  319. package/node_modules/@earendil-works/pi-coding-agent/dist/core/extensions/types.d.ts.map +1 -0
  320. package/node_modules/@earendil-works/pi-coding-agent/dist/core/extensions/types.js.map +1 -0
  321. package/node_modules/@earendil-works/pi-coding-agent/dist/core/extensions/wrapper.d.ts +20 -0
  322. package/node_modules/@earendil-works/pi-coding-agent/dist/core/extensions/wrapper.d.ts.map +1 -0
  323. package/node_modules/@earendil-works/pi-coding-agent/dist/core/extensions/wrapper.js.map +1 -0
  324. package/node_modules/@earendil-works/pi-coding-agent/dist/core/keybindings.d.ts +353 -0
  325. package/node_modules/@earendil-works/pi-coding-agent/dist/core/keybindings.d.ts.map +1 -0
  326. package/node_modules/@earendil-works/pi-coding-agent/dist/core/keybindings.js +295 -0
  327. package/node_modules/@earendil-works/pi-coding-agent/dist/core/keybindings.js.map +1 -0
  328. package/node_modules/@earendil-works/pi-coding-agent/dist/core/messages.d.ts +77 -0
  329. package/node_modules/@earendil-works/pi-coding-agent/dist/core/messages.d.ts.map +1 -0
  330. package/node_modules/@earendil-works/pi-coding-agent/dist/core/messages.js.map +1 -0
  331. package/node_modules/@earendil-works/pi-coding-agent/dist/core/model-registry.d.ts +150 -0
  332. package/node_modules/@earendil-works/pi-coding-agent/dist/core/model-registry.d.ts.map +1 -0
  333. package/node_modules/@earendil-works/pi-coding-agent/dist/core/model-registry.js +728 -0
  334. package/node_modules/@earendil-works/pi-coding-agent/dist/core/model-registry.js.map +1 -0
  335. package/node_modules/@earendil-works/pi-coding-agent/dist/core/model-resolver.d.ts +110 -0
  336. package/node_modules/@earendil-works/pi-coding-agent/dist/core/model-resolver.d.ts.map +1 -0
  337. package/node_modules/@earendil-works/pi-coding-agent/dist/core/model-resolver.js +495 -0
  338. package/node_modules/@earendil-works/pi-coding-agent/dist/core/model-resolver.js.map +1 -0
  339. package/node_modules/@earendil-works/pi-coding-agent/dist/core/package-manager.d.ts +199 -0
  340. package/node_modules/@earendil-works/pi-coding-agent/dist/core/package-manager.d.ts.map +1 -0
  341. package/node_modules/@earendil-works/pi-coding-agent/dist/core/package-manager.js +1996 -0
  342. package/node_modules/@earendil-works/pi-coding-agent/dist/core/package-manager.js.map +1 -0
  343. package/node_modules/@earendil-works/pi-coding-agent/dist/core/prompt-templates.d.ts.map +1 -0
  344. package/node_modules/@earendil-works/pi-coding-agent/dist/core/prompt-templates.js +252 -0
  345. package/node_modules/@earendil-works/pi-coding-agent/dist/core/prompt-templates.js.map +1 -0
  346. package/node_modules/@earendil-works/pi-coding-agent/dist/core/provider-display-names.d.ts.map +1 -0
  347. package/node_modules/@earendil-works/pi-coding-agent/dist/core/provider-display-names.js +33 -0
  348. package/node_modules/@earendil-works/pi-coding-agent/dist/core/provider-display-names.js.map +1 -0
  349. package/node_modules/@earendil-works/pi-coding-agent/dist/core/sdk.d.ts +107 -0
  350. package/node_modules/@earendil-works/pi-coding-agent/dist/core/sdk.d.ts.map +1 -0
  351. package/node_modules/@earendil-works/pi-coding-agent/dist/core/sdk.js +282 -0
  352. package/node_modules/@earendil-works/pi-coding-agent/dist/core/sdk.js.map +1 -0
  353. package/node_modules/@earendil-works/pi-coding-agent/dist/core/session-manager.d.ts +333 -0
  354. package/node_modules/@earendil-works/pi-coding-agent/dist/core/session-manager.d.ts.map +1 -0
  355. package/node_modules/@earendil-works/pi-coding-agent/dist/core/session-manager.js +1139 -0
  356. package/node_modules/@earendil-works/pi-coding-agent/dist/core/session-manager.js.map +1 -0
  357. package/node_modules/@earendil-works/pi-coding-agent/dist/core/settings-manager.d.ts +261 -0
  358. package/node_modules/@earendil-works/pi-coding-agent/dist/core/settings-manager.d.ts.map +1 -0
  359. package/node_modules/@earendil-works/pi-coding-agent/dist/core/settings-manager.js.map +1 -0
  360. package/node_modules/@earendil-works/pi-coding-agent/dist/core/skills.d.ts.map +1 -0
  361. package/node_modules/@earendil-works/pi-coding-agent/dist/core/skills.js +401 -0
  362. package/node_modules/@earendil-works/pi-coding-agent/dist/core/skills.js.map +1 -0
  363. package/node_modules/@earendil-works/pi-coding-agent/dist/core/tools/bash.d.ts +68 -0
  364. package/node_modules/@earendil-works/pi-coding-agent/dist/core/tools/bash.d.ts.map +1 -0
  365. package/node_modules/@earendil-works/pi-coding-agent/dist/core/tools/bash.js +335 -0
  366. package/node_modules/@earendil-works/pi-coding-agent/dist/core/tools/bash.js.map +1 -0
  367. package/node_modules/@earendil-works/pi-coding-agent/dist/core/tools/edit.d.ts +49 -0
  368. package/node_modules/@earendil-works/pi-coding-agent/dist/core/tools/edit.d.ts.map +1 -0
  369. package/node_modules/@earendil-works/pi-coding-agent/dist/core/tools/edit.js +324 -0
  370. package/node_modules/@earendil-works/pi-coding-agent/dist/core/tools/edit.js.map +1 -0
  371. package/node_modules/@earendil-works/pi-coding-agent/dist/core/tools/find.d.ts +35 -0
  372. package/node_modules/@earendil-works/pi-coding-agent/dist/core/tools/find.d.ts.map +1 -0
  373. package/node_modules/@earendil-works/pi-coding-agent/dist/core/tools/find.js +298 -0
  374. package/node_modules/@earendil-works/pi-coding-agent/dist/core/tools/find.js.map +1 -0
  375. package/node_modules/@earendil-works/pi-coding-agent/dist/core/tools/grep.d.ts +37 -0
  376. package/node_modules/@earendil-works/pi-coding-agent/dist/core/tools/grep.d.ts.map +1 -0
  377. package/node_modules/@earendil-works/pi-coding-agent/dist/core/tools/grep.js +304 -0
  378. package/node_modules/@earendil-works/pi-coding-agent/dist/core/tools/grep.js.map +1 -0
  379. package/node_modules/@earendil-works/pi-coding-agent/dist/core/tools/index.d.ts +40 -0
  380. package/node_modules/@earendil-works/pi-coding-agent/dist/core/tools/index.d.ts.map +1 -0
  381. package/node_modules/@earendil-works/pi-coding-agent/dist/core/tools/index.js.map +1 -0
  382. package/node_modules/@earendil-works/pi-coding-agent/dist/core/tools/ls.d.ts +37 -0
  383. package/node_modules/@earendil-works/pi-coding-agent/dist/core/tools/ls.d.ts.map +1 -0
  384. package/node_modules/@earendil-works/pi-coding-agent/dist/core/tools/ls.js +169 -0
  385. package/node_modules/@earendil-works/pi-coding-agent/dist/core/tools/ls.js.map +1 -0
  386. package/node_modules/@earendil-works/pi-coding-agent/dist/core/tools/read.d.ts +35 -0
  387. package/node_modules/@earendil-works/pi-coding-agent/dist/core/tools/read.d.ts.map +1 -0
  388. package/node_modules/@earendil-works/pi-coding-agent/dist/core/tools/read.js +289 -0
  389. package/node_modules/@earendil-works/pi-coding-agent/dist/core/tools/read.js.map +1 -0
  390. package/node_modules/@earendil-works/pi-coding-agent/dist/core/tools/render-utils.d.ts +21 -0
  391. package/node_modules/@earendil-works/pi-coding-agent/dist/core/tools/render-utils.d.ts.map +1 -0
  392. package/node_modules/@earendil-works/pi-coding-agent/dist/core/tools/render-utils.js +49 -0
  393. package/node_modules/@earendil-works/pi-coding-agent/dist/core/tools/render-utils.js.map +1 -0
  394. package/node_modules/@earendil-works/pi-coding-agent/dist/core/tools/tool-definition-wrapper.d.ts +14 -0
  395. package/node_modules/@earendil-works/pi-coding-agent/dist/core/tools/tool-definition-wrapper.d.ts.map +1 -0
  396. package/node_modules/@earendil-works/pi-coding-agent/dist/core/tools/tool-definition-wrapper.js.map +1 -0
  397. package/node_modules/@earendil-works/pi-coding-agent/dist/core/tools/truncate.d.ts +70 -0
  398. package/node_modules/@earendil-works/pi-coding-agent/dist/core/tools/write.d.ts +26 -0
  399. package/node_modules/@earendil-works/pi-coding-agent/dist/core/tools/write.d.ts.map +1 -0
  400. package/node_modules/@earendil-works/pi-coding-agent/dist/core/tools/write.js +213 -0
  401. package/node_modules/@earendil-works/pi-coding-agent/dist/core/tools/write.js.map +1 -0
  402. package/node_modules/@earendil-works/pi-coding-agent/dist/main.d.ts.map +1 -0
  403. package/node_modules/@earendil-works/pi-coding-agent/dist/main.js +573 -0
  404. package/node_modules/@earendil-works/pi-coding-agent/dist/main.js.map +1 -0
  405. package/node_modules/@earendil-works/pi-coding-agent/dist/modes/interactive/components/armin.d.ts +34 -0
  406. package/node_modules/@earendil-works/pi-coding-agent/dist/modes/interactive/components/armin.d.ts.map +1 -0
  407. package/node_modules/@earendil-works/pi-coding-agent/dist/modes/interactive/components/armin.js.map +1 -0
  408. package/node_modules/@earendil-works/pi-coding-agent/dist/modes/interactive/components/assistant-message.d.ts +20 -0
  409. package/node_modules/@earendil-works/pi-coding-agent/dist/modes/interactive/components/assistant-message.d.ts.map +1 -0
  410. package/node_modules/@earendil-works/pi-coding-agent/dist/modes/interactive/components/assistant-message.js +121 -0
  411. package/node_modules/@earendil-works/pi-coding-agent/dist/modes/interactive/components/assistant-message.js.map +1 -0
  412. package/node_modules/@earendil-works/pi-coding-agent/dist/modes/interactive/components/bash-execution.d.ts +34 -0
  413. package/node_modules/@earendil-works/pi-coding-agent/dist/modes/interactive/components/bash-execution.d.ts.map +1 -0
  414. package/node_modules/@earendil-works/pi-coding-agent/dist/modes/interactive/components/bash-execution.js +175 -0
  415. package/node_modules/@earendil-works/pi-coding-agent/dist/modes/interactive/components/bash-execution.js.map +1 -0
  416. package/node_modules/@earendil-works/pi-coding-agent/dist/modes/interactive/components/bordered-loader.d.ts +16 -0
  417. package/node_modules/@earendil-works/pi-coding-agent/dist/modes/interactive/components/bordered-loader.d.ts.map +1 -0
  418. package/node_modules/@earendil-works/pi-coding-agent/dist/modes/interactive/components/bordered-loader.js +54 -0
  419. package/node_modules/@earendil-works/pi-coding-agent/dist/modes/interactive/components/bordered-loader.js.map +1 -0
  420. package/node_modules/@earendil-works/pi-coding-agent/dist/modes/interactive/components/branch-summary-message.d.ts +16 -0
  421. package/node_modules/@earendil-works/pi-coding-agent/dist/modes/interactive/components/branch-summary-message.d.ts.map +1 -0
  422. package/node_modules/@earendil-works/pi-coding-agent/dist/modes/interactive/components/branch-summary-message.js +44 -0
  423. package/node_modules/@earendil-works/pi-coding-agent/dist/modes/interactive/components/branch-summary-message.js.map +1 -0
  424. package/node_modules/@earendil-works/pi-coding-agent/dist/modes/interactive/components/compaction-summary-message.d.ts +16 -0
  425. package/node_modules/@earendil-works/pi-coding-agent/dist/modes/interactive/components/compaction-summary-message.d.ts.map +1 -0
  426. package/node_modules/@earendil-works/pi-coding-agent/dist/modes/interactive/components/compaction-summary-message.js +45 -0
  427. package/node_modules/@earendil-works/pi-coding-agent/dist/modes/interactive/components/compaction-summary-message.js.map +1 -0
  428. package/node_modules/@earendil-works/pi-coding-agent/dist/modes/interactive/components/config-selector.d.ts +71 -0
  429. package/node_modules/@earendil-works/pi-coding-agent/dist/modes/interactive/components/config-selector.d.ts.map +1 -0
  430. package/node_modules/@earendil-works/pi-coding-agent/dist/modes/interactive/components/config-selector.js +503 -0
  431. package/node_modules/@earendil-works/pi-coding-agent/dist/modes/interactive/components/config-selector.js.map +1 -0
  432. package/node_modules/@earendil-works/pi-coding-agent/dist/modes/interactive/components/countdown-timer.d.ts +14 -0
  433. package/node_modules/@earendil-works/pi-coding-agent/dist/modes/interactive/components/countdown-timer.d.ts.map +1 -0
  434. package/node_modules/@earendil-works/pi-coding-agent/dist/modes/interactive/components/countdown-timer.js.map +1 -0
  435. package/node_modules/@earendil-works/pi-coding-agent/dist/modes/interactive/components/custom-editor.d.ts +21 -0
  436. package/node_modules/@earendil-works/pi-coding-agent/dist/modes/interactive/components/custom-editor.d.ts.map +1 -0
  437. package/node_modules/@earendil-works/pi-coding-agent/dist/modes/interactive/components/custom-editor.js +70 -0
  438. package/node_modules/@earendil-works/pi-coding-agent/dist/modes/interactive/components/custom-editor.js.map +1 -0
  439. package/node_modules/@earendil-works/pi-coding-agent/dist/modes/interactive/components/custom-message.d.ts +20 -0
  440. package/node_modules/@earendil-works/pi-coding-agent/dist/modes/interactive/components/custom-message.d.ts.map +1 -0
  441. package/node_modules/@earendil-works/pi-coding-agent/dist/modes/interactive/components/custom-message.js +79 -0
  442. package/node_modules/@earendil-works/pi-coding-agent/dist/modes/interactive/components/custom-message.js.map +1 -0
  443. package/node_modules/@earendil-works/pi-coding-agent/dist/modes/interactive/components/daxnuts.d.ts +23 -0
  444. package/node_modules/@earendil-works/pi-coding-agent/dist/modes/interactive/components/daxnuts.d.ts.map +1 -0
  445. package/node_modules/@earendil-works/pi-coding-agent/dist/modes/interactive/components/daxnuts.js.map +1 -0
  446. package/node_modules/@earendil-works/pi-coding-agent/dist/modes/interactive/components/dynamic-border.d.ts +15 -0
  447. package/node_modules/@earendil-works/pi-coding-agent/dist/modes/interactive/components/dynamic-border.d.ts.map +1 -0
  448. package/node_modules/@earendil-works/pi-coding-agent/dist/modes/interactive/components/dynamic-border.js.map +1 -0
  449. package/node_modules/@earendil-works/pi-coding-agent/dist/modes/interactive/components/earendil-announcement.d.ts +5 -0
  450. package/node_modules/@earendil-works/pi-coding-agent/dist/modes/interactive/components/earendil-announcement.d.ts.map +1 -0
  451. package/node_modules/@earendil-works/pi-coding-agent/dist/modes/interactive/components/earendil-announcement.js +40 -0
  452. package/node_modules/@earendil-works/pi-coding-agent/dist/modes/interactive/components/earendil-announcement.js.map +1 -0
  453. package/node_modules/@earendil-works/pi-coding-agent/dist/modes/interactive/components/extension-editor.d.ts +20 -0
  454. package/node_modules/@earendil-works/pi-coding-agent/dist/modes/interactive/components/extension-editor.d.ts.map +1 -0
  455. package/node_modules/@earendil-works/pi-coding-agent/dist/modes/interactive/components/extension-editor.js +111 -0
  456. package/node_modules/@earendil-works/pi-coding-agent/dist/modes/interactive/components/extension-editor.js.map +1 -0
  457. package/node_modules/@earendil-works/pi-coding-agent/dist/modes/interactive/components/extension-input.d.ts +23 -0
  458. package/node_modules/@earendil-works/pi-coding-agent/dist/modes/interactive/components/extension-input.d.ts.map +1 -0
  459. package/node_modules/@earendil-works/pi-coding-agent/dist/modes/interactive/components/extension-input.js +61 -0
  460. package/node_modules/@earendil-works/pi-coding-agent/dist/modes/interactive/components/extension-input.js.map +1 -0
  461. package/node_modules/@earendil-works/pi-coding-agent/dist/modes/interactive/components/extension-selector.d.ts +26 -0
  462. package/node_modules/@earendil-works/pi-coding-agent/dist/modes/interactive/components/extension-selector.d.ts.map +1 -0
  463. package/node_modules/@earendil-works/pi-coding-agent/dist/modes/interactive/components/extension-selector.js +83 -0
  464. package/node_modules/@earendil-works/pi-coding-agent/dist/modes/interactive/components/extension-selector.js.map +1 -0
  465. package/node_modules/@earendil-works/pi-coding-agent/dist/modes/interactive/components/footer.d.ts +27 -0
  466. package/node_modules/@earendil-works/pi-coding-agent/dist/modes/interactive/components/footer.d.ts.map +1 -0
  467. package/node_modules/@earendil-works/pi-coding-agent/dist/modes/interactive/components/footer.js +201 -0
  468. package/node_modules/@earendil-works/pi-coding-agent/dist/modes/interactive/components/footer.js.map +1 -0
  469. package/node_modules/@earendil-works/pi-coding-agent/dist/modes/interactive/components/keybinding-hints.d.ts +13 -0
  470. package/node_modules/@earendil-works/pi-coding-agent/dist/modes/interactive/components/keybinding-hints.d.ts.map +1 -0
  471. package/node_modules/@earendil-works/pi-coding-agent/dist/modes/interactive/components/keybinding-hints.js +36 -0
  472. package/node_modules/@earendil-works/pi-coding-agent/dist/modes/interactive/components/keybinding-hints.js.map +1 -0
  473. package/node_modules/@earendil-works/pi-coding-agent/dist/modes/interactive/components/login-dialog.d.ts +46 -0
  474. package/node_modules/@earendil-works/pi-coding-agent/dist/modes/interactive/components/login-dialog.d.ts.map +1 -0
  475. package/node_modules/@earendil-works/pi-coding-agent/dist/modes/interactive/components/login-dialog.js +160 -0
  476. package/node_modules/@earendil-works/pi-coding-agent/dist/modes/interactive/components/login-dialog.js.map +1 -0
  477. package/node_modules/@earendil-works/pi-coding-agent/dist/modes/interactive/components/model-selector.d.ts +47 -0
  478. package/node_modules/@earendil-works/pi-coding-agent/dist/modes/interactive/components/model-selector.d.ts.map +1 -0
  479. package/node_modules/@earendil-works/pi-coding-agent/dist/modes/interactive/components/model-selector.js +278 -0
  480. package/node_modules/@earendil-works/pi-coding-agent/dist/modes/interactive/components/model-selector.js.map +1 -0
  481. package/node_modules/@earendil-works/pi-coding-agent/dist/modes/interactive/components/oauth-selector.d.ts +31 -0
  482. package/node_modules/@earendil-works/pi-coding-agent/dist/modes/interactive/components/oauth-selector.d.ts.map +1 -0
  483. package/node_modules/@earendil-works/pi-coding-agent/dist/modes/interactive/components/oauth-selector.js +165 -0
  484. package/node_modules/@earendil-works/pi-coding-agent/dist/modes/interactive/components/oauth-selector.js.map +1 -0
  485. package/node_modules/@earendil-works/pi-coding-agent/dist/modes/interactive/components/scoped-models-selector.d.ts +42 -0
  486. package/node_modules/@earendil-works/pi-coding-agent/dist/modes/interactive/components/scoped-models-selector.d.ts.map +1 -0
  487. package/node_modules/@earendil-works/pi-coding-agent/dist/modes/interactive/components/scoped-models-selector.js +290 -0
  488. package/node_modules/@earendil-works/pi-coding-agent/dist/modes/interactive/components/scoped-models-selector.js.map +1 -0
  489. package/node_modules/@earendil-works/pi-coding-agent/dist/modes/interactive/components/session-selector-search.d.ts.map +1 -0
  490. package/node_modules/@earendil-works/pi-coding-agent/dist/modes/interactive/components/session-selector-search.js +155 -0
  491. package/node_modules/@earendil-works/pi-coding-agent/dist/modes/interactive/components/session-selector-search.js.map +1 -0
  492. package/node_modules/@earendil-works/pi-coding-agent/dist/modes/interactive/components/session-selector.d.ts +96 -0
  493. package/node_modules/@earendil-works/pi-coding-agent/dist/modes/interactive/components/session-selector.d.ts.map +1 -0
  494. package/node_modules/@earendil-works/pi-coding-agent/dist/modes/interactive/components/session-selector.js +861 -0
  495. package/node_modules/@earendil-works/pi-coding-agent/dist/modes/interactive/components/session-selector.js.map +1 -0
  496. package/node_modules/@earendil-works/pi-coding-agent/dist/modes/interactive/components/settings-selector.d.ts +67 -0
  497. package/node_modules/@earendil-works/pi-coding-agent/dist/modes/interactive/components/settings-selector.d.ts.map +1 -0
  498. package/node_modules/@earendil-works/pi-coding-agent/dist/modes/interactive/components/settings-selector.js +375 -0
  499. package/node_modules/@earendil-works/pi-coding-agent/dist/modes/interactive/components/settings-selector.js.map +1 -0
  500. package/node_modules/@earendil-works/pi-coding-agent/dist/modes/interactive/components/show-images-selector.d.ts +10 -0
  501. package/node_modules/@earendil-works/pi-coding-agent/dist/modes/interactive/components/show-images-selector.d.ts.map +1 -0
  502. package/node_modules/@earendil-works/pi-coding-agent/dist/modes/interactive/components/show-images-selector.js +39 -0
  503. package/node_modules/@earendil-works/pi-coding-agent/dist/modes/interactive/components/show-images-selector.js.map +1 -0
  504. package/node_modules/@earendil-works/pi-coding-agent/dist/modes/interactive/components/skill-invocation-message.d.ts +17 -0
  505. package/node_modules/@earendil-works/pi-coding-agent/dist/modes/interactive/components/skill-invocation-message.d.ts.map +1 -0
  506. package/node_modules/@earendil-works/pi-coding-agent/dist/modes/interactive/components/skill-invocation-message.js +47 -0
  507. package/node_modules/@earendil-works/pi-coding-agent/dist/modes/interactive/components/skill-invocation-message.js.map +1 -0
  508. package/node_modules/@earendil-works/pi-coding-agent/dist/modes/interactive/components/theme-selector.d.ts +11 -0
  509. package/node_modules/@earendil-works/pi-coding-agent/dist/modes/interactive/components/theme-selector.d.ts.map +1 -0
  510. package/node_modules/@earendil-works/pi-coding-agent/dist/modes/interactive/components/theme-selector.js +50 -0
  511. package/node_modules/@earendil-works/pi-coding-agent/dist/modes/interactive/components/theme-selector.js.map +1 -0
  512. package/node_modules/@earendil-works/pi-coding-agent/dist/modes/interactive/components/thinking-selector.d.ts +11 -0
  513. package/node_modules/@earendil-works/pi-coding-agent/dist/modes/interactive/components/thinking-selector.d.ts.map +1 -0
  514. package/node_modules/@earendil-works/pi-coding-agent/dist/modes/interactive/components/thinking-selector.js +51 -0
  515. package/node_modules/@earendil-works/pi-coding-agent/dist/modes/interactive/components/thinking-selector.js.map +1 -0
  516. package/node_modules/@earendil-works/pi-coding-agent/dist/modes/interactive/components/tool-execution.d.ts +63 -0
  517. package/node_modules/@earendil-works/pi-coding-agent/dist/modes/interactive/components/tool-execution.d.ts.map +1 -0
  518. package/node_modules/@earendil-works/pi-coding-agent/dist/modes/interactive/components/tool-execution.js +295 -0
  519. package/node_modules/@earendil-works/pi-coding-agent/dist/modes/interactive/components/tool-execution.js.map +1 -0
  520. package/node_modules/@earendil-works/pi-coding-agent/dist/modes/interactive/components/tree-selector.d.ts +89 -0
  521. package/node_modules/@earendil-works/pi-coding-agent/dist/modes/interactive/components/tree-selector.d.ts.map +1 -0
  522. package/node_modules/@earendil-works/pi-coding-agent/dist/modes/interactive/components/tree-selector.js +1093 -0
  523. package/node_modules/@earendil-works/pi-coding-agent/dist/modes/interactive/components/tree-selector.js.map +1 -0
  524. package/node_modules/@earendil-works/pi-coding-agent/dist/modes/interactive/components/user-message-selector.d.ts +30 -0
  525. package/node_modules/@earendil-works/pi-coding-agent/dist/modes/interactive/components/user-message-selector.d.ts.map +1 -0
  526. package/node_modules/@earendil-works/pi-coding-agent/dist/modes/interactive/components/user-message-selector.js +114 -0
  527. package/node_modules/@earendil-works/pi-coding-agent/dist/modes/interactive/components/user-message-selector.js.map +1 -0
  528. package/node_modules/@earendil-works/pi-coding-agent/dist/modes/interactive/components/user-message.d.ts +10 -0
  529. package/node_modules/@earendil-works/pi-coding-agent/dist/modes/interactive/components/user-message.d.ts.map +1 -0
  530. package/node_modules/@earendil-works/pi-coding-agent/dist/modes/interactive/components/user-message.js +29 -0
  531. package/node_modules/@earendil-works/pi-coding-agent/dist/modes/interactive/components/user-message.js.map +1 -0
  532. package/node_modules/@earendil-works/pi-coding-agent/dist/modes/interactive/components/visual-truncate.d.ts.map +1 -0
  533. package/node_modules/@earendil-works/pi-coding-agent/dist/modes/interactive/components/visual-truncate.js +33 -0
  534. package/node_modules/@earendil-works/pi-coding-agent/dist/modes/interactive/components/visual-truncate.js.map +1 -0
  535. package/node_modules/@earendil-works/pi-coding-agent/dist/modes/interactive/interactive-mode.d.ts +382 -0
  536. package/node_modules/@earendil-works/pi-coding-agent/dist/modes/interactive/interactive-mode.d.ts.map +1 -0
  537. package/node_modules/@earendil-works/pi-coding-agent/dist/modes/interactive/interactive-mode.js +4668 -0
  538. package/node_modules/@earendil-works/pi-coding-agent/dist/modes/interactive/interactive-mode.js.map +1 -0
  539. package/node_modules/@earendil-works/pi-coding-agent/dist/modes/interactive/theme/dark.json +85 -0
  540. package/node_modules/@earendil-works/pi-coding-agent/dist/modes/interactive/theme/light.json +84 -0
  541. package/node_modules/@earendil-works/pi-coding-agent/dist/modes/interactive/theme/theme.d.ts +81 -0
  542. package/node_modules/@earendil-works/pi-coding-agent/dist/modes/interactive/theme/theme.d.ts.map +1 -0
  543. package/node_modules/@earendil-works/pi-coding-agent/dist/modes/interactive/theme/theme.js +973 -0
  544. package/node_modules/@earendil-works/pi-coding-agent/dist/modes/interactive/theme/theme.js.map +1 -0
  545. package/node_modules/@earendil-works/pi-coding-agent/dist/modes/print-mode.d.ts +28 -0
  546. package/node_modules/@earendil-works/pi-coding-agent/dist/modes/print-mode.d.ts.map +1 -0
  547. package/node_modules/@earendil-works/pi-coding-agent/dist/modes/print-mode.js.map +1 -0
  548. package/node_modules/@earendil-works/pi-coding-agent/dist/modes/rpc/rpc-client.d.ts +224 -0
  549. package/node_modules/@earendil-works/pi-coding-agent/dist/modes/rpc/rpc-client.d.ts.map +1 -0
  550. package/node_modules/@earendil-works/pi-coding-agent/dist/modes/rpc/rpc-client.js.map +1 -0
  551. package/node_modules/@earendil-works/pi-coding-agent/dist/modes/rpc/rpc-mode.d.ts.map +1 -0
  552. package/node_modules/@earendil-works/pi-coding-agent/dist/modes/rpc/rpc-mode.js +605 -0
  553. package/node_modules/@earendil-works/pi-coding-agent/dist/modes/rpc/rpc-mode.js.map +1 -0
  554. package/node_modules/@earendil-works/pi-coding-agent/dist/modes/rpc/rpc-types.d.ts +419 -0
  555. package/node_modules/@earendil-works/pi-coding-agent/dist/modes/rpc/rpc-types.d.ts.map +1 -0
  556. package/node_modules/@earendil-works/pi-coding-agent/dist/modes/rpc/rpc-types.js.map +1 -0
  557. package/node_modules/@earendil-works/pi-coding-agent/dist/utils/ansi.d.ts +2 -0
  558. package/node_modules/@earendil-works/pi-coding-agent/dist/utils/ansi.d.ts.map +1 -0
  559. package/node_modules/@earendil-works/pi-coding-agent/dist/utils/ansi.js +52 -0
  560. package/node_modules/@earendil-works/pi-coding-agent/dist/utils/ansi.js.map +1 -0
  561. package/node_modules/@earendil-works/pi-coding-agent/dist/utils/html.d.ts +7 -0
  562. package/node_modules/@earendil-works/pi-coding-agent/dist/utils/html.d.ts.map +1 -0
  563. package/node_modules/@earendil-works/pi-coding-agent/dist/utils/html.js +40 -0
  564. package/node_modules/@earendil-works/pi-coding-agent/dist/utils/html.js.map +1 -0
  565. package/node_modules/@earendil-works/pi-coding-agent/dist/utils/image-resize.d.ts +36 -0
  566. package/node_modules/@earendil-works/pi-coding-agent/dist/utils/image-resize.d.ts.map +1 -0
  567. package/node_modules/@earendil-works/pi-coding-agent/dist/utils/image-resize.js.map +1 -0
  568. package/node_modules/@earendil-works/pi-coding-agent/dist/utils/mime.d.ts +3 -0
  569. package/node_modules/@earendil-works/pi-coding-agent/dist/utils/mime.d.ts.map +1 -0
  570. package/node_modules/@earendil-works/pi-coding-agent/dist/utils/mime.js +69 -0
  571. package/node_modules/@earendil-works/pi-coding-agent/dist/utils/mime.js.map +1 -0
  572. package/node_modules/@earendil-works/pi-coding-agent/dist/utils/syntax-highlight.d.ts +12 -0
  573. package/node_modules/@earendil-works/pi-coding-agent/dist/utils/syntax-highlight.d.ts.map +1 -0
  574. package/node_modules/@earendil-works/pi-coding-agent/dist/utils/syntax-highlight.js +118 -0
  575. package/node_modules/@earendil-works/pi-coding-agent/dist/utils/syntax-highlight.js.map +1 -0
  576. package/node_modules/@earendil-works/pi-coding-agent/dist/utils/tools-manager.d.ts.map +1 -0
  577. package/node_modules/@earendil-works/pi-coding-agent/dist/utils/tools-manager.js +328 -0
  578. package/node_modules/@earendil-works/pi-coding-agent/dist/utils/tools-manager.js.map +1 -0
  579. package/node_modules/@earendil-works/pi-coding-agent/docs/compaction.md +394 -0
  580. package/node_modules/@earendil-works/pi-coding-agent/docs/custom-provider.md +701 -0
  581. package/node_modules/@earendil-works/pi-coding-agent/docs/extensions.md +2596 -0
  582. package/node_modules/@earendil-works/pi-coding-agent/docs/index.md +70 -0
  583. package/node_modules/@earendil-works/pi-coding-agent/docs/models.md +474 -0
  584. package/node_modules/@earendil-works/pi-coding-agent/docs/packages.md +223 -0
  585. package/node_modules/@earendil-works/pi-coding-agent/docs/providers.md +243 -0
  586. package/node_modules/@earendil-works/pi-coding-agent/docs/quickstart.md +142 -0
  587. package/node_modules/@earendil-works/pi-coding-agent/docs/rpc.md +1407 -0
  588. package/node_modules/@earendil-works/pi-coding-agent/docs/sdk.md +1129 -0
  589. package/node_modules/@earendil-works/pi-coding-agent/docs/session-format.md +412 -0
  590. package/node_modules/@earendil-works/pi-coding-agent/docs/skills.md +231 -0
  591. package/node_modules/@earendil-works/pi-coding-agent/docs/termux.md +127 -0
  592. package/node_modules/@earendil-works/pi-coding-agent/docs/themes.md +295 -0
  593. package/node_modules/@earendil-works/pi-coding-agent/docs/tui.md +918 -0
  594. package/node_modules/@earendil-works/pi-coding-agent/examples/extensions/README.md +208 -0
  595. package/node_modules/@earendil-works/pi-coding-agent/examples/extensions/auto-commit-on-exit.ts +49 -0
  596. package/node_modules/@earendil-works/pi-coding-agent/examples/extensions/bash-spawn-hook.ts +30 -0
  597. package/node_modules/@earendil-works/pi-coding-agent/examples/extensions/bookmark.ts +50 -0
  598. package/node_modules/@earendil-works/pi-coding-agent/examples/extensions/border-status-editor.ts +150 -0
  599. package/node_modules/@earendil-works/pi-coding-agent/examples/extensions/built-in-tool-renderer.ts +249 -0
  600. package/node_modules/@earendil-works/pi-coding-agent/examples/extensions/claude-rules.ts +86 -0
  601. package/node_modules/@earendil-works/pi-coding-agent/examples/extensions/commands.ts +72 -0
  602. package/node_modules/@earendil-works/pi-coding-agent/examples/extensions/confirm-destructive.ts +59 -0
  603. package/node_modules/@earendil-works/pi-coding-agent/examples/extensions/custom-compaction.ts +127 -0
  604. package/node_modules/@earendil-works/pi-coding-agent/examples/extensions/custom-footer.ts +64 -0
  605. package/node_modules/@earendil-works/pi-coding-agent/examples/extensions/custom-header.ts +73 -0
  606. package/node_modules/@earendil-works/pi-coding-agent/examples/extensions/custom-provider-anthropic/index.ts +604 -0
  607. package/node_modules/@earendil-works/pi-coding-agent/examples/extensions/custom-provider-anthropic/package-lock.json +24 -0
  608. package/node_modules/@earendil-works/pi-coding-agent/examples/extensions/custom-provider-anthropic/package.json +19 -0
  609. package/node_modules/@earendil-works/pi-coding-agent/examples/extensions/custom-provider-gitlab-duo/index.ts +349 -0
  610. package/node_modules/@earendil-works/pi-coding-agent/examples/extensions/custom-provider-gitlab-duo/package.json +16 -0
  611. package/node_modules/@earendil-works/pi-coding-agent/examples/extensions/custom-provider-gitlab-duo/test.ts +82 -0
  612. package/node_modules/@earendil-works/pi-coding-agent/examples/extensions/dirty-repo-guard.ts +56 -0
  613. package/node_modules/@earendil-works/pi-coding-agent/examples/extensions/doom-overlay/doom-component.ts +132 -0
  614. package/node_modules/@earendil-works/pi-coding-agent/examples/extensions/doom-overlay/doom-keys.ts +104 -0
  615. package/node_modules/@earendil-works/pi-coding-agent/examples/extensions/doom-overlay/index.ts +74 -0
  616. package/node_modules/@earendil-works/pi-coding-agent/examples/extensions/dynamic-resources/dynamic.json +79 -0
  617. package/node_modules/@earendil-works/pi-coding-agent/examples/extensions/dynamic-resources/index.ts +15 -0
  618. package/node_modules/@earendil-works/pi-coding-agent/examples/extensions/dynamic-tools.ts +74 -0
  619. package/node_modules/@earendil-works/pi-coding-agent/examples/extensions/event-bus.ts +43 -0
  620. package/node_modules/@earendil-works/pi-coding-agent/examples/extensions/file-trigger.ts +41 -0
  621. package/node_modules/@earendil-works/pi-coding-agent/examples/extensions/git-checkpoint.ts +53 -0
  622. package/node_modules/@earendil-works/pi-coding-agent/examples/extensions/github-issue-autocomplete.ts +185 -0
  623. package/node_modules/@earendil-works/pi-coding-agent/examples/extensions/handoff.ts +191 -0
  624. package/node_modules/@earendil-works/pi-coding-agent/examples/extensions/hello.ts +26 -0
  625. package/node_modules/@earendil-works/pi-coding-agent/examples/extensions/hidden-thinking-label.ts +53 -0
  626. package/node_modules/@earendil-works/pi-coding-agent/examples/extensions/inline-bash.ts +94 -0
  627. package/node_modules/@earendil-works/pi-coding-agent/examples/extensions/input-transform.ts +43 -0
  628. package/node_modules/@earendil-works/pi-coding-agent/examples/extensions/interactive-shell.ts +196 -0
  629. package/node_modules/@earendil-works/pi-coding-agent/examples/extensions/mac-system-theme.ts +47 -0
  630. package/node_modules/@earendil-works/pi-coding-agent/examples/extensions/message-renderer.ts +59 -0
  631. package/node_modules/@earendil-works/pi-coding-agent/examples/extensions/minimal-mode.ts +426 -0
  632. package/node_modules/@earendil-works/pi-coding-agent/examples/extensions/modal-editor.ts +85 -0
  633. package/node_modules/@earendil-works/pi-coding-agent/examples/extensions/model-status.ts +31 -0
  634. package/node_modules/@earendil-works/pi-coding-agent/examples/extensions/notify.ts +55 -0
  635. package/node_modules/@earendil-works/pi-coding-agent/examples/extensions/overlay-qa-tests.ts +1348 -0
  636. package/node_modules/@earendil-works/pi-coding-agent/examples/extensions/overlay-test.ts +150 -0
  637. package/node_modules/@earendil-works/pi-coding-agent/examples/extensions/permission-gate.ts +34 -0
  638. package/node_modules/@earendil-works/pi-coding-agent/examples/extensions/pirate.ts +47 -0
  639. package/node_modules/@earendil-works/pi-coding-agent/examples/extensions/plan-mode/index.ts +340 -0
  640. package/node_modules/@earendil-works/pi-coding-agent/examples/extensions/preset.ts +430 -0
  641. package/node_modules/@earendil-works/pi-coding-agent/examples/extensions/prompt-customizer.ts +97 -0
  642. package/node_modules/@earendil-works/pi-coding-agent/examples/extensions/protected-paths.ts +30 -0
  643. package/node_modules/@earendil-works/pi-coding-agent/examples/extensions/provider-payload.ts +18 -0
  644. package/node_modules/@earendil-works/pi-coding-agent/examples/extensions/qna.ts +122 -0
  645. package/node_modules/@earendil-works/pi-coding-agent/examples/extensions/question.ts +264 -0
  646. package/node_modules/@earendil-works/pi-coding-agent/examples/extensions/questionnaire.ts +427 -0
  647. package/node_modules/@earendil-works/pi-coding-agent/examples/extensions/rainbow-editor.ts +88 -0
  648. package/node_modules/@earendil-works/pi-coding-agent/examples/extensions/reload-runtime.ts +37 -0
  649. package/node_modules/@earendil-works/pi-coding-agent/examples/extensions/rpc-demo.ts +118 -0
  650. package/node_modules/@earendil-works/pi-coding-agent/examples/extensions/sandbox/index.ts +321 -0
  651. package/node_modules/@earendil-works/pi-coding-agent/examples/extensions/sandbox/package-lock.json +92 -0
  652. package/node_modules/@earendil-works/pi-coding-agent/examples/extensions/sandbox/package.json +19 -0
  653. package/node_modules/@earendil-works/pi-coding-agent/examples/extensions/send-user-message.ts +97 -0
  654. package/node_modules/@earendil-works/pi-coding-agent/examples/extensions/session-name.ts +27 -0
  655. package/node_modules/@earendil-works/pi-coding-agent/examples/extensions/shutdown-command.ts +63 -0
  656. package/node_modules/@earendil-works/pi-coding-agent/examples/extensions/snake.ts +343 -0
  657. package/node_modules/@earendil-works/pi-coding-agent/examples/extensions/space-invaders.ts +560 -0
  658. package/node_modules/@earendil-works/pi-coding-agent/examples/extensions/ssh.ts +220 -0
  659. package/node_modules/@earendil-works/pi-coding-agent/examples/extensions/status-line.ts +32 -0
  660. package/node_modules/@earendil-works/pi-coding-agent/examples/extensions/structured-output.ts +65 -0
  661. package/node_modules/@earendil-works/pi-coding-agent/examples/extensions/subagent/agents.ts +126 -0
  662. package/node_modules/@earendil-works/pi-coding-agent/examples/extensions/subagent/index.ts +987 -0
  663. package/node_modules/@earendil-works/pi-coding-agent/examples/extensions/summarize.ts +206 -0
  664. package/node_modules/@earendil-works/pi-coding-agent/examples/extensions/system-prompt-header.ts +17 -0
  665. package/node_modules/@earendil-works/pi-coding-agent/examples/extensions/tic-tac-toe.ts +1008 -0
  666. package/node_modules/@earendil-works/pi-coding-agent/examples/extensions/timed-confirm.ts +70 -0
  667. package/node_modules/@earendil-works/pi-coding-agent/examples/extensions/titlebar-spinner.ts +58 -0
  668. package/node_modules/@earendil-works/pi-coding-agent/examples/extensions/todo.ts +297 -0
  669. package/node_modules/@earendil-works/pi-coding-agent/examples/extensions/tool-override.ts +144 -0
  670. package/node_modules/@earendil-works/pi-coding-agent/examples/extensions/tools.ts +141 -0
  671. package/node_modules/@earendil-works/pi-coding-agent/examples/extensions/trigger-compact.ts +50 -0
  672. package/node_modules/@earendil-works/pi-coding-agent/examples/extensions/truncated-tool.ts +195 -0
  673. package/node_modules/@earendil-works/pi-coding-agent/examples/extensions/widget-placement.ts +9 -0
  674. package/node_modules/@earendil-works/pi-coding-agent/examples/extensions/with-deps/index.ts +32 -0
  675. package/node_modules/@earendil-works/pi-coding-agent/examples/extensions/with-deps/package-lock.json +31 -0
  676. package/node_modules/@earendil-works/pi-coding-agent/examples/extensions/with-deps/package.json +22 -0
  677. package/node_modules/@earendil-works/pi-coding-agent/examples/extensions/working-indicator.ts +123 -0
  678. package/node_modules/@earendil-works/pi-coding-agent/examples/extensions/working-message-test.ts +25 -0
  679. package/node_modules/@earendil-works/pi-coding-agent/examples/rpc-extension-ui.ts +632 -0
  680. package/node_modules/@earendil-works/pi-coding-agent/examples/sdk/01-minimal.ts +26 -0
  681. package/node_modules/@earendil-works/pi-coding-agent/examples/sdk/02-custom-model.ts +53 -0
  682. package/node_modules/@earendil-works/pi-coding-agent/examples/sdk/03-custom-prompt.ts +75 -0
  683. package/node_modules/@earendil-works/pi-coding-agent/examples/sdk/04-skills.ts +55 -0
  684. package/node_modules/@earendil-works/pi-coding-agent/examples/sdk/05-tools.ts +48 -0
  685. package/node_modules/@earendil-works/pi-coding-agent/examples/sdk/06-extensions.ts +99 -0
  686. package/node_modules/@earendil-works/pi-coding-agent/examples/sdk/07-context-files.ts +47 -0
  687. package/node_modules/@earendil-works/pi-coding-agent/examples/sdk/08-prompt-templates.ts +51 -0
  688. package/node_modules/@earendil-works/pi-coding-agent/examples/sdk/09-api-keys-and-oauth.ts +52 -0
  689. package/node_modules/@earendil-works/pi-coding-agent/examples/sdk/10-settings.ts +53 -0
  690. package/node_modules/@earendil-works/pi-coding-agent/examples/sdk/11-sessions.ts +52 -0
  691. package/node_modules/@earendil-works/pi-coding-agent/examples/sdk/12-full-control.ts +77 -0
  692. package/node_modules/@earendil-works/pi-coding-agent/examples/sdk/13-session-runtime.ts +67 -0
  693. package/node_modules/@earendil-works/pi-coding-agent/examples/sdk/README.md +144 -0
  694. package/node_modules/@earendil-works/pi-coding-agent/package.json +95 -0
  695. package/node_modules/@earendil-works/pi-tui/README.md +779 -0
  696. package/node_modules/@earendil-works/pi-tui/dist/components/image.d.ts.map +1 -0
  697. package/node_modules/@earendil-works/pi-tui/dist/components/image.js +89 -0
  698. package/node_modules/@earendil-works/pi-tui/dist/components/image.js.map +1 -0
  699. package/node_modules/@earendil-works/pi-tui/dist/components/markdown.d.ts +90 -0
  700. package/node_modules/@earendil-works/pi-tui/dist/components/markdown.d.ts.map +1 -0
  701. package/node_modules/@earendil-works/pi-tui/dist/components/markdown.js +634 -0
  702. package/node_modules/@earendil-works/pi-tui/dist/components/markdown.js.map +1 -0
  703. package/node_modules/@earendil-works/pi-tui/dist/stdin-buffer.d.ts.map +1 -0
  704. package/node_modules/@earendil-works/pi-tui/dist/stdin-buffer.js +361 -0
  705. package/node_modules/@earendil-works/pi-tui/dist/stdin-buffer.js.map +1 -0
  706. package/node_modules/@earendil-works/pi-tui/dist/terminal-image.d.ts +90 -0
  707. package/node_modules/@earendil-works/pi-tui/dist/terminal-image.d.ts.map +1 -0
  708. package/node_modules/@earendil-works/pi-tui/dist/terminal-image.js +337 -0
  709. package/node_modules/@earendil-works/pi-tui/dist/terminal-image.js.map +1 -0
  710. package/node_modules/@earendil-works/pi-tui/package.json +50 -0
  711. package/node_modules/@mariozechner/clipboard/.yarnrc.yml +1 -0
  712. package/node_modules/@mariozechner/clipboard/Cargo.toml +45 -0
  713. package/node_modules/@mariozechner/clipboard/README.md +60 -0
  714. package/node_modules/@mariozechner/clipboard/build.rs +5 -0
  715. package/node_modules/@mariozechner/clipboard/exp.ts +12 -0
  716. package/node_modules/@mariozechner/clipboard/index.d.ts +23 -0
  717. package/node_modules/@mariozechner/clipboard/index.js +317 -0
  718. package/node_modules/@mariozechner/clipboard/package.json +47 -0
  719. package/node_modules/@mariozechner/clipboard/package.json.prepack-backup +56 -0
  720. package/node_modules/@mariozechner/clipboard/src/clipboard_rs/common.rs +307 -0
  721. package/node_modules/@mariozechner/clipboard/src/clipboard_rs/mod.rs +93 -0
  722. package/node_modules/@mariozechner/clipboard/src/clipboard_rs/platform/ios.rs +313 -0
  723. package/node_modules/@mariozechner/clipboard/src/clipboard_rs/platform/macos.rs +471 -0
  724. package/node_modules/@mariozechner/clipboard/src/clipboard_rs/platform/mod.rs +252 -0
  725. package/node_modules/@mariozechner/clipboard/src/clipboard_rs/platform/wayland.rs +431 -0
  726. package/node_modules/@mariozechner/clipboard/src/clipboard_rs/platform/win.rs +712 -0
  727. package/node_modules/@mariozechner/clipboard/src/clipboard_rs/platform/x11.rs +916 -0
  728. package/node_modules/@mariozechner/clipboard/src/lib.rs +199 -0
  729. package/node_modules/@mariozechner/clipboard-linux-x64-gnu/README.md +3 -0
  730. package/node_modules/@mariozechner/clipboard-linux-x64-gnu/clipboard.linux-x64-gnu.node +0 -0
  731. package/node_modules/@mariozechner/clipboard-linux-x64-gnu/package.json +25 -0
  732. package/node_modules/koffi/CHANGELOG.md +1093 -0
  733. package/node_modules/koffi/LICENSE.txt +22 -0
  734. package/node_modules/koffi/README.md +43 -0
  735. package/node_modules/koffi/build/koffi/darwin_arm64/koffi.node +0 -0
  736. package/node_modules/koffi/build/koffi/darwin_x64/koffi.node +0 -0
  737. package/node_modules/koffi/build/koffi/freebsd_arm64/koffi.node +0 -0
  738. package/node_modules/koffi/build/koffi/freebsd_ia32/koffi.node +0 -0
  739. package/node_modules/koffi/build/koffi/freebsd_x64/koffi.node +0 -0
  740. package/node_modules/koffi/build/koffi/linux_arm64/koffi.node +0 -0
  741. package/node_modules/koffi/build/koffi/linux_armhf/koffi.node +0 -0
  742. package/node_modules/koffi/build/koffi/linux_ia32/koffi.node +0 -0
  743. package/node_modules/koffi/build/koffi/linux_loong64/koffi.node +0 -0
  744. package/node_modules/koffi/build/koffi/linux_riscv64d/koffi.node +0 -0
  745. package/node_modules/koffi/build/koffi/linux_x64/koffi.node +0 -0
  746. package/node_modules/koffi/build/koffi/musl_arm64/koffi.node +0 -0
  747. package/node_modules/koffi/build/koffi/musl_x64/koffi.node +0 -0
  748. package/node_modules/koffi/build/koffi/openbsd_ia32/koffi.node +0 -0
  749. package/node_modules/koffi/build/koffi/openbsd_x64/koffi.node +0 -0
  750. package/node_modules/koffi/build/koffi/win32_arm64/koffi.exp +0 -0
  751. package/node_modules/koffi/build/koffi/win32_arm64/koffi.lib +0 -0
  752. package/node_modules/koffi/build/koffi/win32_arm64/koffi.node +0 -0
  753. package/node_modules/koffi/build/koffi/win32_ia32/koffi.exp +0 -0
  754. package/node_modules/koffi/build/koffi/win32_ia32/koffi.lib +0 -0
  755. package/node_modules/koffi/build/koffi/win32_ia32/koffi.node +0 -0
  756. package/node_modules/koffi/build/koffi/win32_x64/koffi.exp +0 -0
  757. package/node_modules/koffi/build/koffi/win32_x64/koffi.lib +0 -0
  758. package/node_modules/koffi/build/koffi/win32_x64/koffi.node +0 -0
  759. package/node_modules/koffi/doc/benchmarks.md +126 -0
  760. package/node_modules/koffi/doc/callbacks.md +210 -0
  761. package/node_modules/koffi/doc/contribute.md +148 -0
  762. package/node_modules/koffi/doc/functions.md +250 -0
  763. package/node_modules/koffi/doc/index.md +61 -0
  764. package/node_modules/koffi/doc/input.md +471 -0
  765. package/node_modules/koffi/doc/migration.md +159 -0
  766. package/node_modules/koffi/doc/misc.md +180 -0
  767. package/node_modules/koffi/doc/output.md +305 -0
  768. package/node_modules/koffi/doc/packaging.md +88 -0
  769. package/node_modules/koffi/doc/platforms.md +36 -0
  770. package/node_modules/koffi/doc/pointers.md +328 -0
  771. package/node_modules/koffi/doc/start.md +118 -0
  772. package/node_modules/koffi/doc/unions.md +186 -0
  773. package/node_modules/koffi/doc/variables.md +102 -0
  774. package/node_modules/koffi/index.d.ts +288 -0
  775. package/node_modules/koffi/index.js +634 -0
  776. package/node_modules/koffi/indirect.js +533 -0
  777. package/node_modules/koffi/lib/native/base/base.cc +11015 -0
  778. package/node_modules/koffi/lib/native/base/base.hh +6003 -0
  779. package/node_modules/koffi/lib/native/base/crc.inc +2214 -0
  780. package/node_modules/koffi/lib/native/base/crc_gen.py +72 -0
  781. package/node_modules/koffi/lib/native/base/mimetypes.inc +1248 -0
  782. package/node_modules/koffi/lib/native/base/mimetypes_gen.py +58 -0
  783. package/node_modules/koffi/lib/native/base/tower.cc +821 -0
  784. package/node_modules/koffi/lib/native/base/tower.hh +81 -0
  785. package/node_modules/koffi/lib/native/base/unicode.inc +408 -0
  786. package/node_modules/koffi/lib/native/base/unicode_gen.py +152 -0
  787. package/node_modules/koffi/package.json +38 -0
  788. package/node_modules/koffi/src/cnoke/LICENSE.txt +22 -0
  789. package/node_modules/koffi/src/cnoke/README.md +99 -0
  790. package/node_modules/koffi/src/cnoke/assets/FindCNoke.cmake +127 -0
  791. package/node_modules/koffi/src/cnoke/assets/toolchains.json +126 -0
  792. package/node_modules/koffi/src/cnoke/assets/win_delay_hook.c +36 -0
  793. package/node_modules/koffi/src/cnoke/cnoke.js +170 -0
  794. package/node_modules/koffi/src/cnoke/package.json +24 -0
  795. package/node_modules/koffi/src/cnoke/src/builder.js +511 -0
  796. package/node_modules/koffi/src/cnoke/src/index.js +10 -0
  797. package/node_modules/koffi/src/cnoke/src/tools.js +407 -0
  798. package/node_modules/koffi/src/koffi/CMakeLists.txt +182 -0
  799. package/node_modules/koffi/src/koffi/src/abi_arm32.cc +1018 -0
  800. package/node_modules/koffi/src/koffi/src/abi_arm32_asm.S +169 -0
  801. package/node_modules/koffi/src/koffi/src/abi_arm64.cc +1295 -0
  802. package/node_modules/koffi/src/koffi/src/abi_arm64_asm.S +195 -0
  803. package/node_modules/koffi/src/koffi/src/abi_arm64_asm.asm +174 -0
  804. package/node_modules/koffi/src/koffi/src/abi_loong64.cc +5 -0
  805. package/node_modules/koffi/src/koffi/src/abi_loong64_asm.S +204 -0
  806. package/node_modules/koffi/src/koffi/src/abi_riscv64.cc +915 -0
  807. package/node_modules/koffi/src/koffi/src/abi_riscv64_asm.S +203 -0
  808. package/node_modules/koffi/src/koffi/src/abi_x64_sysv.cc +939 -0
  809. package/node_modules/koffi/src/koffi/src/abi_x64_sysv_asm.S +231 -0
  810. package/node_modules/koffi/src/koffi/src/abi_x64_win.cc +715 -0
  811. package/node_modules/koffi/src/koffi/src/abi_x64_win_asm.S +166 -0
  812. package/node_modules/koffi/src/koffi/src/abi_x64_win_asm.asm +192 -0
  813. package/node_modules/koffi/src/koffi/src/abi_x86.cc +860 -0
  814. package/node_modules/koffi/src/koffi/src/abi_x86_asm.S +193 -0
  815. package/node_modules/koffi/src/koffi/src/abi_x86_asm.asm +177 -0
  816. package/node_modules/koffi/src/koffi/src/call.cc +1326 -0
  817. package/node_modules/koffi/src/koffi/src/call.hh +179 -0
  818. package/node_modules/koffi/src/koffi/src/errno.inc +462 -0
  819. package/node_modules/koffi/src/koffi/src/ffi.cc +2702 -0
  820. package/node_modules/koffi/src/koffi/src/ffi.hh +354 -0
  821. package/node_modules/koffi/src/koffi/src/init.js +105 -0
  822. package/node_modules/koffi/src/koffi/src/parser.cc +220 -0
  823. package/node_modules/koffi/src/koffi/src/parser.hh +54 -0
  824. package/node_modules/koffi/src/koffi/src/util.cc +1807 -0
  825. package/node_modules/koffi/src/koffi/src/util.hh +221 -0
  826. package/node_modules/koffi/src/koffi/src/uv.cc +193 -0
  827. package/node_modules/koffi/src/koffi/src/uv.def +10 -0
  828. package/node_modules/koffi/src/koffi/src/uv.hh +40 -0
  829. package/node_modules/koffi/src/koffi/src/win32.cc +198 -0
  830. package/node_modules/koffi/src/koffi/src/win32.hh +119 -0
  831. package/node_modules/koffi/src/koffi/tools/write_trampolines.js +77 -0
  832. package/node_modules/koffi/vendor/node-addon-api/LICENSE.md +9 -0
  833. package/node_modules/koffi/vendor/node-addon-api/README.md +95 -0
  834. package/node_modules/koffi/vendor/node-addon-api/napi-inl.deprecated.h +186 -0
  835. package/node_modules/koffi/vendor/node-addon-api/napi-inl.h +7033 -0
  836. package/node_modules/koffi/vendor/node-addon-api/napi.h +3309 -0
  837. package/node_modules/koffi/vendor/node-api-headers/LICENSE +21 -0
  838. package/node_modules/koffi/vendor/node-api-headers/README.md +95 -0
  839. package/node_modules/koffi/vendor/node-api-headers/def/js_native_api.def +125 -0
  840. package/node_modules/koffi/vendor/node-api-headers/def/node_api.def +157 -0
  841. package/node_modules/koffi/vendor/node-api-headers/include/js_native_api.h +591 -0
  842. package/node_modules/koffi/vendor/node-api-headers/include/js_native_api_types.h +210 -0
  843. package/node_modules/koffi/vendor/node-api-headers/include/node_api.h +265 -0
  844. package/node_modules/koffi/vendor/node-api-headers/include/node_api_types.h +58 -0
  845. package/node_modules/koffi/vendor/node-api-headers/include/uv/aix.h +32 -0
  846. package/node_modules/koffi/vendor/node-api-headers/include/uv/bsd.h +34 -0
  847. package/node_modules/koffi/vendor/node-api-headers/include/uv/darwin.h +61 -0
  848. package/node_modules/koffi/vendor/node-api-headers/include/uv/errno.h +483 -0
  849. package/node_modules/koffi/vendor/node-api-headers/include/uv/linux.h +34 -0
  850. package/node_modules/koffi/vendor/node-api-headers/include/uv/os390.h +33 -0
  851. package/node_modules/koffi/vendor/node-api-headers/include/uv/posix.h +31 -0
  852. package/node_modules/koffi/vendor/node-api-headers/include/uv/sunos.h +44 -0
  853. package/node_modules/koffi/vendor/node-api-headers/include/uv/threadpool.h +37 -0
  854. package/node_modules/koffi/vendor/node-api-headers/include/uv/tree.h +521 -0
  855. package/node_modules/koffi/vendor/node-api-headers/include/uv/unix.h +512 -0
  856. package/node_modules/koffi/vendor/node-api-headers/include/uv/version.h +43 -0
  857. package/node_modules/koffi/vendor/node-api-headers/include/uv/win.h +698 -0
  858. package/node_modules/koffi/vendor/node-api-headers/include/uv.h +1990 -0
  859. package/package.json +12 -12
  860. package/themes/forge-matrix.json +89 -0
  861. package/themes/forge-mono.json +86 -0
  862. package/node_modules/@borewit/text-codec/LICENSE.txt +0 -9
  863. package/node_modules/@borewit/text-codec/README.md +0 -87
  864. package/node_modules/@borewit/text-codec/lib/index.d.ts +0 -6
  865. package/node_modules/@borewit/text-codec/lib/index.js +0 -380
  866. package/node_modules/@borewit/text-codec/package.json +0 -70
  867. package/node_modules/@entelligentsia/pi-agent-core/README.md +0 -488
  868. package/node_modules/@entelligentsia/pi-agent-core/dist/agent-loop.d.ts +0 -24
  869. package/node_modules/@entelligentsia/pi-agent-core/dist/agent-loop.d.ts.map +0 -1
  870. package/node_modules/@entelligentsia/pi-agent-core/dist/agent-loop.js +0 -458
  871. package/node_modules/@entelligentsia/pi-agent-core/dist/agent-loop.js.map +0 -1
  872. package/node_modules/@entelligentsia/pi-agent-core/dist/agent.d.ts +0 -117
  873. package/node_modules/@entelligentsia/pi-agent-core/dist/agent.d.ts.map +0 -1
  874. package/node_modules/@entelligentsia/pi-agent-core/dist/agent.js +0 -398
  875. package/node_modules/@entelligentsia/pi-agent-core/dist/agent.js.map +0 -1
  876. package/node_modules/@entelligentsia/pi-agent-core/dist/index.d.ts +0 -5
  877. package/node_modules/@entelligentsia/pi-agent-core/dist/index.d.ts.map +0 -1
  878. package/node_modules/@entelligentsia/pi-agent-core/dist/index.js +0 -9
  879. package/node_modules/@entelligentsia/pi-agent-core/dist/index.js.map +0 -1
  880. package/node_modules/@entelligentsia/pi-agent-core/dist/proxy.d.ts +0 -69
  881. package/node_modules/@entelligentsia/pi-agent-core/dist/proxy.d.ts.map +0 -1
  882. package/node_modules/@entelligentsia/pi-agent-core/dist/proxy.js +0 -278
  883. package/node_modules/@entelligentsia/pi-agent-core/dist/proxy.js.map +0 -1
  884. package/node_modules/@entelligentsia/pi-agent-core/dist/types.d.ts +0 -369
  885. package/node_modules/@entelligentsia/pi-agent-core/dist/types.d.ts.map +0 -1
  886. package/node_modules/@entelligentsia/pi-agent-core/dist/types.js.map +0 -1
  887. package/node_modules/@entelligentsia/pi-agent-core/package.json +0 -45
  888. package/node_modules/@entelligentsia/pi-ai/README.md +0 -1313
  889. package/node_modules/@entelligentsia/pi-ai/dist/cli.d.ts.map +0 -1
  890. package/node_modules/@entelligentsia/pi-ai/dist/cli.js +0 -116
  891. package/node_modules/@entelligentsia/pi-ai/dist/cli.js.map +0 -1
  892. package/node_modules/@entelligentsia/pi-ai/dist/env-api-keys.d.ts.map +0 -1
  893. package/node_modules/@entelligentsia/pi-ai/dist/env-api-keys.js +0 -169
  894. package/node_modules/@entelligentsia/pi-ai/dist/env-api-keys.js.map +0 -1
  895. package/node_modules/@entelligentsia/pi-ai/dist/index.d.ts +0 -28
  896. package/node_modules/@entelligentsia/pi-ai/dist/index.d.ts.map +0 -1
  897. package/node_modules/@entelligentsia/pi-ai/dist/index.js +0 -16
  898. package/node_modules/@entelligentsia/pi-ai/dist/index.js.map +0 -1
  899. package/node_modules/@entelligentsia/pi-ai/dist/models.generated.d.ts +0 -17265
  900. package/node_modules/@entelligentsia/pi-ai/dist/models.generated.d.ts.map +0 -1
  901. package/node_modules/@entelligentsia/pi-ai/dist/models.generated.js +0 -16500
  902. package/node_modules/@entelligentsia/pi-ai/dist/models.generated.js.map +0 -1
  903. package/node_modules/@entelligentsia/pi-ai/dist/providers/amazon-bedrock.d.ts.map +0 -1
  904. package/node_modules/@entelligentsia/pi-ai/dist/providers/amazon-bedrock.js +0 -759
  905. package/node_modules/@entelligentsia/pi-ai/dist/providers/amazon-bedrock.js.map +0 -1
  906. package/node_modules/@entelligentsia/pi-ai/dist/providers/anthropic.d.ts.map +0 -1
  907. package/node_modules/@entelligentsia/pi-ai/dist/providers/anthropic.js +0 -951
  908. package/node_modules/@entelligentsia/pi-ai/dist/providers/anthropic.js.map +0 -1
  909. package/node_modules/@entelligentsia/pi-ai/dist/providers/openai-codex-responses.d.ts.map +0 -1
  910. package/node_modules/@entelligentsia/pi-ai/dist/providers/openai-codex-responses.js +0 -1034
  911. package/node_modules/@entelligentsia/pi-ai/dist/providers/openai-codex-responses.js.map +0 -1
  912. package/node_modules/@entelligentsia/pi-ai/dist/providers/openai-completions.d.ts.map +0 -1
  913. package/node_modules/@entelligentsia/pi-ai/dist/providers/openai-completions.js +0 -925
  914. package/node_modules/@entelligentsia/pi-ai/dist/providers/openai-completions.js.map +0 -1
  915. package/node_modules/@entelligentsia/pi-ai/dist/providers/simple-options.d.ts.map +0 -1
  916. package/node_modules/@entelligentsia/pi-ai/dist/providers/simple-options.js +0 -39
  917. package/node_modules/@entelligentsia/pi-ai/dist/providers/simple-options.js.map +0 -1
  918. package/node_modules/@entelligentsia/pi-ai/dist/types.d.ts +0 -405
  919. package/node_modules/@entelligentsia/pi-ai/dist/types.d.ts.map +0 -1
  920. package/node_modules/@entelligentsia/pi-ai/dist/types.js.map +0 -1
  921. package/node_modules/@entelligentsia/pi-ai/dist/utils/overflow.d.ts +0 -55
  922. package/node_modules/@entelligentsia/pi-ai/dist/utils/overflow.d.ts.map +0 -1
  923. package/node_modules/@entelligentsia/pi-ai/dist/utils/overflow.js +0 -146
  924. package/node_modules/@entelligentsia/pi-ai/dist/utils/overflow.js.map +0 -1
  925. package/node_modules/@entelligentsia/pi-ai/package.json +0 -108
  926. package/node_modules/@entelligentsia/pi-coding-agent/CHANGELOG.md +0 -4166
  927. package/node_modules/@entelligentsia/pi-coding-agent/README.md +0 -652
  928. package/node_modules/@entelligentsia/pi-coding-agent/dist/bun/register-bedrock.d.ts.map +0 -1
  929. package/node_modules/@entelligentsia/pi-coding-agent/dist/bun/register-bedrock.js +0 -4
  930. package/node_modules/@entelligentsia/pi-coding-agent/dist/bun/register-bedrock.js.map +0 -1
  931. package/node_modules/@entelligentsia/pi-coding-agent/dist/cli/args.d.ts +0 -53
  932. package/node_modules/@entelligentsia/pi-coding-agent/dist/cli/args.d.ts.map +0 -1
  933. package/node_modules/@entelligentsia/pi-coding-agent/dist/cli/args.js +0 -340
  934. package/node_modules/@entelligentsia/pi-coding-agent/dist/cli/args.js.map +0 -1
  935. package/node_modules/@entelligentsia/pi-coding-agent/dist/cli/config-selector.d.ts.map +0 -1
  936. package/node_modules/@entelligentsia/pi-coding-agent/dist/cli/config-selector.js +0 -31
  937. package/node_modules/@entelligentsia/pi-coding-agent/dist/cli/config-selector.js.map +0 -1
  938. package/node_modules/@entelligentsia/pi-coding-agent/dist/cli/file-processor.d.ts +0 -15
  939. package/node_modules/@entelligentsia/pi-coding-agent/dist/cli/file-processor.d.ts.map +0 -1
  940. package/node_modules/@entelligentsia/pi-coding-agent/dist/cli/file-processor.js.map +0 -1
  941. package/node_modules/@entelligentsia/pi-coding-agent/dist/cli/initial-message.d.ts +0 -18
  942. package/node_modules/@entelligentsia/pi-coding-agent/dist/cli/initial-message.d.ts.map +0 -1
  943. package/node_modules/@entelligentsia/pi-coding-agent/dist/cli/initial-message.js.map +0 -1
  944. package/node_modules/@entelligentsia/pi-coding-agent/dist/cli/list-models.d.ts.map +0 -1
  945. package/node_modules/@entelligentsia/pi-coding-agent/dist/cli/list-models.js +0 -98
  946. package/node_modules/@entelligentsia/pi-coding-agent/dist/cli/list-models.js.map +0 -1
  947. package/node_modules/@entelligentsia/pi-coding-agent/dist/cli/session-picker.d.ts.map +0 -1
  948. package/node_modules/@entelligentsia/pi-coding-agent/dist/cli/session-picker.js +0 -35
  949. package/node_modules/@entelligentsia/pi-coding-agent/dist/cli/session-picker.js.map +0 -1
  950. package/node_modules/@entelligentsia/pi-coding-agent/dist/cli.d.ts.map +0 -1
  951. package/node_modules/@entelligentsia/pi-coding-agent/dist/cli.js +0 -20
  952. package/node_modules/@entelligentsia/pi-coding-agent/dist/cli.js.map +0 -1
  953. package/node_modules/@entelligentsia/pi-coding-agent/dist/config.d.ts.map +0 -1
  954. package/node_modules/@entelligentsia/pi-coding-agent/dist/config.js +0 -399
  955. package/node_modules/@entelligentsia/pi-coding-agent/dist/config.js.map +0 -1
  956. package/node_modules/@entelligentsia/pi-coding-agent/dist/core/agent-session-services.d.ts +0 -86
  957. package/node_modules/@entelligentsia/pi-coding-agent/dist/core/agent-session-services.d.ts.map +0 -1
  958. package/node_modules/@entelligentsia/pi-coding-agent/dist/core/agent-session-services.js.map +0 -1
  959. package/node_modules/@entelligentsia/pi-coding-agent/dist/core/agent-session.d.ts +0 -595
  960. package/node_modules/@entelligentsia/pi-coding-agent/dist/core/agent-session.d.ts.map +0 -1
  961. package/node_modules/@entelligentsia/pi-coding-agent/dist/core/agent-session.js +0 -2521
  962. package/node_modules/@entelligentsia/pi-coding-agent/dist/core/agent-session.js.map +0 -1
  963. package/node_modules/@entelligentsia/pi-coding-agent/dist/core/auth-storage.d.ts +0 -141
  964. package/node_modules/@entelligentsia/pi-coding-agent/dist/core/auth-storage.d.ts.map +0 -1
  965. package/node_modules/@entelligentsia/pi-coding-agent/dist/core/auth-storage.js +0 -441
  966. package/node_modules/@entelligentsia/pi-coding-agent/dist/core/auth-storage.js.map +0 -1
  967. package/node_modules/@entelligentsia/pi-coding-agent/dist/core/bash-executor.d.ts.map +0 -1
  968. package/node_modules/@entelligentsia/pi-coding-agent/dist/core/bash-executor.js +0 -111
  969. package/node_modules/@entelligentsia/pi-coding-agent/dist/core/bash-executor.js.map +0 -1
  970. package/node_modules/@entelligentsia/pi-coding-agent/dist/core/compaction/branch-summarization.d.ts +0 -88
  971. package/node_modules/@entelligentsia/pi-coding-agent/dist/core/compaction/branch-summarization.d.ts.map +0 -1
  972. package/node_modules/@entelligentsia/pi-coding-agent/dist/core/compaction/branch-summarization.js +0 -243
  973. package/node_modules/@entelligentsia/pi-coding-agent/dist/core/compaction/branch-summarization.js.map +0 -1
  974. package/node_modules/@entelligentsia/pi-coding-agent/dist/core/compaction/compaction.d.ts +0 -121
  975. package/node_modules/@entelligentsia/pi-coding-agent/dist/core/compaction/compaction.d.ts.map +0 -1
  976. package/node_modules/@entelligentsia/pi-coding-agent/dist/core/compaction/compaction.js +0 -615
  977. package/node_modules/@entelligentsia/pi-coding-agent/dist/core/compaction/compaction.js.map +0 -1
  978. package/node_modules/@entelligentsia/pi-coding-agent/dist/core/compaction/utils.d.ts +0 -38
  979. package/node_modules/@entelligentsia/pi-coding-agent/dist/core/compaction/utils.d.ts.map +0 -1
  980. package/node_modules/@entelligentsia/pi-coding-agent/dist/core/compaction/utils.js.map +0 -1
  981. package/node_modules/@entelligentsia/pi-coding-agent/dist/core/defaults.d.ts +0 -3
  982. package/node_modules/@entelligentsia/pi-coding-agent/dist/core/defaults.d.ts.map +0 -1
  983. package/node_modules/@entelligentsia/pi-coding-agent/dist/core/defaults.js.map +0 -1
  984. package/node_modules/@entelligentsia/pi-coding-agent/dist/core/export-html/index.d.ts +0 -37
  985. package/node_modules/@entelligentsia/pi-coding-agent/dist/core/export-html/index.d.ts.map +0 -1
  986. package/node_modules/@entelligentsia/pi-coding-agent/dist/core/export-html/index.js.map +0 -1
  987. package/node_modules/@entelligentsia/pi-coding-agent/dist/core/export-html/tool-renderer.d.ts.map +0 -1
  988. package/node_modules/@entelligentsia/pi-coding-agent/dist/core/export-html/tool-renderer.js.map +0 -1
  989. package/node_modules/@entelligentsia/pi-coding-agent/dist/core/extensions/loader.d.ts.map +0 -1
  990. package/node_modules/@entelligentsia/pi-coding-agent/dist/core/extensions/loader.js +0 -498
  991. package/node_modules/@entelligentsia/pi-coding-agent/dist/core/extensions/loader.js.map +0 -1
  992. package/node_modules/@entelligentsia/pi-coding-agent/dist/core/extensions/runner.d.ts +0 -159
  993. package/node_modules/@entelligentsia/pi-coding-agent/dist/core/extensions/runner.d.ts.map +0 -1
  994. package/node_modules/@entelligentsia/pi-coding-agent/dist/core/extensions/runner.js +0 -825
  995. package/node_modules/@entelligentsia/pi-coding-agent/dist/core/extensions/runner.js.map +0 -1
  996. package/node_modules/@entelligentsia/pi-coding-agent/dist/core/extensions/types.d.ts +0 -1187
  997. package/node_modules/@entelligentsia/pi-coding-agent/dist/core/extensions/types.d.ts.map +0 -1
  998. package/node_modules/@entelligentsia/pi-coding-agent/dist/core/extensions/types.js.map +0 -1
  999. package/node_modules/@entelligentsia/pi-coding-agent/dist/core/extensions/wrapper.d.ts +0 -20
  1000. package/node_modules/@entelligentsia/pi-coding-agent/dist/core/extensions/wrapper.d.ts.map +0 -1
  1001. package/node_modules/@entelligentsia/pi-coding-agent/dist/core/extensions/wrapper.js.map +0 -1
  1002. package/node_modules/@entelligentsia/pi-coding-agent/dist/core/keybindings.d.ts +0 -353
  1003. package/node_modules/@entelligentsia/pi-coding-agent/dist/core/keybindings.d.ts.map +0 -1
  1004. package/node_modules/@entelligentsia/pi-coding-agent/dist/core/keybindings.js +0 -295
  1005. package/node_modules/@entelligentsia/pi-coding-agent/dist/core/keybindings.js.map +0 -1
  1006. package/node_modules/@entelligentsia/pi-coding-agent/dist/core/messages.d.ts +0 -77
  1007. package/node_modules/@entelligentsia/pi-coding-agent/dist/core/messages.d.ts.map +0 -1
  1008. package/node_modules/@entelligentsia/pi-coding-agent/dist/core/messages.js.map +0 -1
  1009. package/node_modules/@entelligentsia/pi-coding-agent/dist/core/model-registry.d.ts +0 -150
  1010. package/node_modules/@entelligentsia/pi-coding-agent/dist/core/model-registry.d.ts.map +0 -1
  1011. package/node_modules/@entelligentsia/pi-coding-agent/dist/core/model-registry.js +0 -727
  1012. package/node_modules/@entelligentsia/pi-coding-agent/dist/core/model-registry.js.map +0 -1
  1013. package/node_modules/@entelligentsia/pi-coding-agent/dist/core/model-resolver.d.ts +0 -110
  1014. package/node_modules/@entelligentsia/pi-coding-agent/dist/core/model-resolver.d.ts.map +0 -1
  1015. package/node_modules/@entelligentsia/pi-coding-agent/dist/core/model-resolver.js +0 -494
  1016. package/node_modules/@entelligentsia/pi-coding-agent/dist/core/model-resolver.js.map +0 -1
  1017. package/node_modules/@entelligentsia/pi-coding-agent/dist/core/package-manager.d.ts +0 -198
  1018. package/node_modules/@entelligentsia/pi-coding-agent/dist/core/package-manager.d.ts.map +0 -1
  1019. package/node_modules/@entelligentsia/pi-coding-agent/dist/core/package-manager.js +0 -1958
  1020. package/node_modules/@entelligentsia/pi-coding-agent/dist/core/package-manager.js.map +0 -1
  1021. package/node_modules/@entelligentsia/pi-coding-agent/dist/core/prompt-templates.d.ts.map +0 -1
  1022. package/node_modules/@entelligentsia/pi-coding-agent/dist/core/prompt-templates.js +0 -250
  1023. package/node_modules/@entelligentsia/pi-coding-agent/dist/core/prompt-templates.js.map +0 -1
  1024. package/node_modules/@entelligentsia/pi-coding-agent/dist/core/provider-display-names.d.ts.map +0 -1
  1025. package/node_modules/@entelligentsia/pi-coding-agent/dist/core/provider-display-names.js +0 -32
  1026. package/node_modules/@entelligentsia/pi-coding-agent/dist/core/provider-display-names.js.map +0 -1
  1027. package/node_modules/@entelligentsia/pi-coding-agent/dist/core/sdk.d.ts +0 -107
  1028. package/node_modules/@entelligentsia/pi-coding-agent/dist/core/sdk.d.ts.map +0 -1
  1029. package/node_modules/@entelligentsia/pi-coding-agent/dist/core/sdk.js +0 -282
  1030. package/node_modules/@entelligentsia/pi-coding-agent/dist/core/sdk.js.map +0 -1
  1031. package/node_modules/@entelligentsia/pi-coding-agent/dist/core/session-manager.d.ts +0 -333
  1032. package/node_modules/@entelligentsia/pi-coding-agent/dist/core/session-manager.d.ts.map +0 -1
  1033. package/node_modules/@entelligentsia/pi-coding-agent/dist/core/session-manager.js +0 -1109
  1034. package/node_modules/@entelligentsia/pi-coding-agent/dist/core/session-manager.js.map +0 -1
  1035. package/node_modules/@entelligentsia/pi-coding-agent/dist/core/settings-manager.d.ts +0 -261
  1036. package/node_modules/@entelligentsia/pi-coding-agent/dist/core/settings-manager.d.ts.map +0 -1
  1037. package/node_modules/@entelligentsia/pi-coding-agent/dist/core/settings-manager.js.map +0 -1
  1038. package/node_modules/@entelligentsia/pi-coding-agent/dist/core/skills.d.ts.map +0 -1
  1039. package/node_modules/@entelligentsia/pi-coding-agent/dist/core/skills.js +0 -404
  1040. package/node_modules/@entelligentsia/pi-coding-agent/dist/core/skills.js.map +0 -1
  1041. package/node_modules/@entelligentsia/pi-coding-agent/dist/core/tools/bash.d.ts +0 -68
  1042. package/node_modules/@entelligentsia/pi-coding-agent/dist/core/tools/bash.d.ts.map +0 -1
  1043. package/node_modules/@entelligentsia/pi-coding-agent/dist/core/tools/bash.js +0 -335
  1044. package/node_modules/@entelligentsia/pi-coding-agent/dist/core/tools/bash.js.map +0 -1
  1045. package/node_modules/@entelligentsia/pi-coding-agent/dist/core/tools/edit.d.ts +0 -49
  1046. package/node_modules/@entelligentsia/pi-coding-agent/dist/core/tools/edit.d.ts.map +0 -1
  1047. package/node_modules/@entelligentsia/pi-coding-agent/dist/core/tools/edit.js +0 -324
  1048. package/node_modules/@entelligentsia/pi-coding-agent/dist/core/tools/edit.js.map +0 -1
  1049. package/node_modules/@entelligentsia/pi-coding-agent/dist/core/tools/find.d.ts +0 -35
  1050. package/node_modules/@entelligentsia/pi-coding-agent/dist/core/tools/find.d.ts.map +0 -1
  1051. package/node_modules/@entelligentsia/pi-coding-agent/dist/core/tools/find.js +0 -298
  1052. package/node_modules/@entelligentsia/pi-coding-agent/dist/core/tools/find.js.map +0 -1
  1053. package/node_modules/@entelligentsia/pi-coding-agent/dist/core/tools/grep.d.ts +0 -37
  1054. package/node_modules/@entelligentsia/pi-coding-agent/dist/core/tools/grep.d.ts.map +0 -1
  1055. package/node_modules/@entelligentsia/pi-coding-agent/dist/core/tools/grep.js +0 -304
  1056. package/node_modules/@entelligentsia/pi-coding-agent/dist/core/tools/grep.js.map +0 -1
  1057. package/node_modules/@entelligentsia/pi-coding-agent/dist/core/tools/index.d.ts +0 -40
  1058. package/node_modules/@entelligentsia/pi-coding-agent/dist/core/tools/index.d.ts.map +0 -1
  1059. package/node_modules/@entelligentsia/pi-coding-agent/dist/core/tools/index.js.map +0 -1
  1060. package/node_modules/@entelligentsia/pi-coding-agent/dist/core/tools/ls.d.ts +0 -37
  1061. package/node_modules/@entelligentsia/pi-coding-agent/dist/core/tools/ls.d.ts.map +0 -1
  1062. package/node_modules/@entelligentsia/pi-coding-agent/dist/core/tools/ls.js +0 -169
  1063. package/node_modules/@entelligentsia/pi-coding-agent/dist/core/tools/ls.js.map +0 -1
  1064. package/node_modules/@entelligentsia/pi-coding-agent/dist/core/tools/read.d.ts +0 -35
  1065. package/node_modules/@entelligentsia/pi-coding-agent/dist/core/tools/read.d.ts.map +0 -1
  1066. package/node_modules/@entelligentsia/pi-coding-agent/dist/core/tools/read.js +0 -289
  1067. package/node_modules/@entelligentsia/pi-coding-agent/dist/core/tools/read.js.map +0 -1
  1068. package/node_modules/@entelligentsia/pi-coding-agent/dist/core/tools/render-utils.d.ts +0 -21
  1069. package/node_modules/@entelligentsia/pi-coding-agent/dist/core/tools/render-utils.d.ts.map +0 -1
  1070. package/node_modules/@entelligentsia/pi-coding-agent/dist/core/tools/render-utils.js +0 -49
  1071. package/node_modules/@entelligentsia/pi-coding-agent/dist/core/tools/render-utils.js.map +0 -1
  1072. package/node_modules/@entelligentsia/pi-coding-agent/dist/core/tools/tool-definition-wrapper.d.ts +0 -14
  1073. package/node_modules/@entelligentsia/pi-coding-agent/dist/core/tools/tool-definition-wrapper.d.ts.map +0 -1
  1074. package/node_modules/@entelligentsia/pi-coding-agent/dist/core/tools/tool-definition-wrapper.js.map +0 -1
  1075. package/node_modules/@entelligentsia/pi-coding-agent/dist/core/tools/write.d.ts +0 -26
  1076. package/node_modules/@entelligentsia/pi-coding-agent/dist/core/tools/write.d.ts.map +0 -1
  1077. package/node_modules/@entelligentsia/pi-coding-agent/dist/core/tools/write.js +0 -213
  1078. package/node_modules/@entelligentsia/pi-coding-agent/dist/core/tools/write.js.map +0 -1
  1079. package/node_modules/@entelligentsia/pi-coding-agent/dist/main.d.ts.map +0 -1
  1080. package/node_modules/@entelligentsia/pi-coding-agent/dist/main.js +0 -583
  1081. package/node_modules/@entelligentsia/pi-coding-agent/dist/main.js.map +0 -1
  1082. package/node_modules/@entelligentsia/pi-coding-agent/dist/modes/interactive/components/armin.d.ts +0 -34
  1083. package/node_modules/@entelligentsia/pi-coding-agent/dist/modes/interactive/components/armin.d.ts.map +0 -1
  1084. package/node_modules/@entelligentsia/pi-coding-agent/dist/modes/interactive/components/armin.js.map +0 -1
  1085. package/node_modules/@entelligentsia/pi-coding-agent/dist/modes/interactive/components/assistant-message.d.ts +0 -20
  1086. package/node_modules/@entelligentsia/pi-coding-agent/dist/modes/interactive/components/assistant-message.d.ts.map +0 -1
  1087. package/node_modules/@entelligentsia/pi-coding-agent/dist/modes/interactive/components/assistant-message.js +0 -121
  1088. package/node_modules/@entelligentsia/pi-coding-agent/dist/modes/interactive/components/assistant-message.js.map +0 -1
  1089. package/node_modules/@entelligentsia/pi-coding-agent/dist/modes/interactive/components/bash-execution.d.ts +0 -34
  1090. package/node_modules/@entelligentsia/pi-coding-agent/dist/modes/interactive/components/bash-execution.d.ts.map +0 -1
  1091. package/node_modules/@entelligentsia/pi-coding-agent/dist/modes/interactive/components/bash-execution.js +0 -175
  1092. package/node_modules/@entelligentsia/pi-coding-agent/dist/modes/interactive/components/bash-execution.js.map +0 -1
  1093. package/node_modules/@entelligentsia/pi-coding-agent/dist/modes/interactive/components/bordered-loader.d.ts +0 -16
  1094. package/node_modules/@entelligentsia/pi-coding-agent/dist/modes/interactive/components/bordered-loader.d.ts.map +0 -1
  1095. package/node_modules/@entelligentsia/pi-coding-agent/dist/modes/interactive/components/bordered-loader.js +0 -54
  1096. package/node_modules/@entelligentsia/pi-coding-agent/dist/modes/interactive/components/bordered-loader.js.map +0 -1
  1097. package/node_modules/@entelligentsia/pi-coding-agent/dist/modes/interactive/components/branch-summary-message.d.ts +0 -16
  1098. package/node_modules/@entelligentsia/pi-coding-agent/dist/modes/interactive/components/branch-summary-message.d.ts.map +0 -1
  1099. package/node_modules/@entelligentsia/pi-coding-agent/dist/modes/interactive/components/branch-summary-message.js +0 -44
  1100. package/node_modules/@entelligentsia/pi-coding-agent/dist/modes/interactive/components/branch-summary-message.js.map +0 -1
  1101. package/node_modules/@entelligentsia/pi-coding-agent/dist/modes/interactive/components/compaction-summary-message.d.ts +0 -16
  1102. package/node_modules/@entelligentsia/pi-coding-agent/dist/modes/interactive/components/compaction-summary-message.d.ts.map +0 -1
  1103. package/node_modules/@entelligentsia/pi-coding-agent/dist/modes/interactive/components/compaction-summary-message.js +0 -45
  1104. package/node_modules/@entelligentsia/pi-coding-agent/dist/modes/interactive/components/compaction-summary-message.js.map +0 -1
  1105. package/node_modules/@entelligentsia/pi-coding-agent/dist/modes/interactive/components/config-selector.d.ts +0 -71
  1106. package/node_modules/@entelligentsia/pi-coding-agent/dist/modes/interactive/components/config-selector.d.ts.map +0 -1
  1107. package/node_modules/@entelligentsia/pi-coding-agent/dist/modes/interactive/components/config-selector.js +0 -481
  1108. package/node_modules/@entelligentsia/pi-coding-agent/dist/modes/interactive/components/config-selector.js.map +0 -1
  1109. package/node_modules/@entelligentsia/pi-coding-agent/dist/modes/interactive/components/countdown-timer.d.ts +0 -14
  1110. package/node_modules/@entelligentsia/pi-coding-agent/dist/modes/interactive/components/countdown-timer.d.ts.map +0 -1
  1111. package/node_modules/@entelligentsia/pi-coding-agent/dist/modes/interactive/components/countdown-timer.js.map +0 -1
  1112. package/node_modules/@entelligentsia/pi-coding-agent/dist/modes/interactive/components/custom-editor.d.ts +0 -21
  1113. package/node_modules/@entelligentsia/pi-coding-agent/dist/modes/interactive/components/custom-editor.d.ts.map +0 -1
  1114. package/node_modules/@entelligentsia/pi-coding-agent/dist/modes/interactive/components/custom-editor.js +0 -70
  1115. package/node_modules/@entelligentsia/pi-coding-agent/dist/modes/interactive/components/custom-editor.js.map +0 -1
  1116. package/node_modules/@entelligentsia/pi-coding-agent/dist/modes/interactive/components/custom-message.d.ts +0 -20
  1117. package/node_modules/@entelligentsia/pi-coding-agent/dist/modes/interactive/components/custom-message.d.ts.map +0 -1
  1118. package/node_modules/@entelligentsia/pi-coding-agent/dist/modes/interactive/components/custom-message.js +0 -79
  1119. package/node_modules/@entelligentsia/pi-coding-agent/dist/modes/interactive/components/custom-message.js.map +0 -1
  1120. package/node_modules/@entelligentsia/pi-coding-agent/dist/modes/interactive/components/daxnuts.d.ts +0 -23
  1121. package/node_modules/@entelligentsia/pi-coding-agent/dist/modes/interactive/components/daxnuts.d.ts.map +0 -1
  1122. package/node_modules/@entelligentsia/pi-coding-agent/dist/modes/interactive/components/daxnuts.js.map +0 -1
  1123. package/node_modules/@entelligentsia/pi-coding-agent/dist/modes/interactive/components/dynamic-border.d.ts +0 -15
  1124. package/node_modules/@entelligentsia/pi-coding-agent/dist/modes/interactive/components/dynamic-border.d.ts.map +0 -1
  1125. package/node_modules/@entelligentsia/pi-coding-agent/dist/modes/interactive/components/dynamic-border.js.map +0 -1
  1126. package/node_modules/@entelligentsia/pi-coding-agent/dist/modes/interactive/components/earendil-announcement.d.ts +0 -5
  1127. package/node_modules/@entelligentsia/pi-coding-agent/dist/modes/interactive/components/earendil-announcement.d.ts.map +0 -1
  1128. package/node_modules/@entelligentsia/pi-coding-agent/dist/modes/interactive/components/earendil-announcement.js +0 -40
  1129. package/node_modules/@entelligentsia/pi-coding-agent/dist/modes/interactive/components/earendil-announcement.js.map +0 -1
  1130. package/node_modules/@entelligentsia/pi-coding-agent/dist/modes/interactive/components/extension-editor.d.ts +0 -20
  1131. package/node_modules/@entelligentsia/pi-coding-agent/dist/modes/interactive/components/extension-editor.d.ts.map +0 -1
  1132. package/node_modules/@entelligentsia/pi-coding-agent/dist/modes/interactive/components/extension-editor.js +0 -111
  1133. package/node_modules/@entelligentsia/pi-coding-agent/dist/modes/interactive/components/extension-editor.js.map +0 -1
  1134. package/node_modules/@entelligentsia/pi-coding-agent/dist/modes/interactive/components/extension-input.d.ts +0 -23
  1135. package/node_modules/@entelligentsia/pi-coding-agent/dist/modes/interactive/components/extension-input.d.ts.map +0 -1
  1136. package/node_modules/@entelligentsia/pi-coding-agent/dist/modes/interactive/components/extension-input.js +0 -61
  1137. package/node_modules/@entelligentsia/pi-coding-agent/dist/modes/interactive/components/extension-input.js.map +0 -1
  1138. package/node_modules/@entelligentsia/pi-coding-agent/dist/modes/interactive/components/extension-selector.d.ts +0 -24
  1139. package/node_modules/@entelligentsia/pi-coding-agent/dist/modes/interactive/components/extension-selector.d.ts.map +0 -1
  1140. package/node_modules/@entelligentsia/pi-coding-agent/dist/modes/interactive/components/extension-selector.js +0 -78
  1141. package/node_modules/@entelligentsia/pi-coding-agent/dist/modes/interactive/components/extension-selector.js.map +0 -1
  1142. package/node_modules/@entelligentsia/pi-coding-agent/dist/modes/interactive/components/footer.d.ts +0 -27
  1143. package/node_modules/@entelligentsia/pi-coding-agent/dist/modes/interactive/components/footer.d.ts.map +0 -1
  1144. package/node_modules/@entelligentsia/pi-coding-agent/dist/modes/interactive/components/footer.js +0 -201
  1145. package/node_modules/@entelligentsia/pi-coding-agent/dist/modes/interactive/components/footer.js.map +0 -1
  1146. package/node_modules/@entelligentsia/pi-coding-agent/dist/modes/interactive/components/keybinding-hints.d.ts +0 -8
  1147. package/node_modules/@entelligentsia/pi-coding-agent/dist/modes/interactive/components/keybinding-hints.d.ts.map +0 -1
  1148. package/node_modules/@entelligentsia/pi-coding-agent/dist/modes/interactive/components/keybinding-hints.js +0 -22
  1149. package/node_modules/@entelligentsia/pi-coding-agent/dist/modes/interactive/components/keybinding-hints.js.map +0 -1
  1150. package/node_modules/@entelligentsia/pi-coding-agent/dist/modes/interactive/components/login-dialog.d.ts +0 -46
  1151. package/node_modules/@entelligentsia/pi-coding-agent/dist/modes/interactive/components/login-dialog.d.ts.map +0 -1
  1152. package/node_modules/@entelligentsia/pi-coding-agent/dist/modes/interactive/components/login-dialog.js +0 -160
  1153. package/node_modules/@entelligentsia/pi-coding-agent/dist/modes/interactive/components/login-dialog.js.map +0 -1
  1154. package/node_modules/@entelligentsia/pi-coding-agent/dist/modes/interactive/components/model-selector.d.ts +0 -47
  1155. package/node_modules/@entelligentsia/pi-coding-agent/dist/modes/interactive/components/model-selector.d.ts.map +0 -1
  1156. package/node_modules/@entelligentsia/pi-coding-agent/dist/modes/interactive/components/model-selector.js +0 -278
  1157. package/node_modules/@entelligentsia/pi-coding-agent/dist/modes/interactive/components/model-selector.js.map +0 -1
  1158. package/node_modules/@entelligentsia/pi-coding-agent/dist/modes/interactive/components/oauth-selector.d.ts +0 -31
  1159. package/node_modules/@entelligentsia/pi-coding-agent/dist/modes/interactive/components/oauth-selector.d.ts.map +0 -1
  1160. package/node_modules/@entelligentsia/pi-coding-agent/dist/modes/interactive/components/oauth-selector.js +0 -165
  1161. package/node_modules/@entelligentsia/pi-coding-agent/dist/modes/interactive/components/oauth-selector.js.map +0 -1
  1162. package/node_modules/@entelligentsia/pi-coding-agent/dist/modes/interactive/components/scoped-models-selector.d.ts +0 -42
  1163. package/node_modules/@entelligentsia/pi-coding-agent/dist/modes/interactive/components/scoped-models-selector.d.ts.map +0 -1
  1164. package/node_modules/@entelligentsia/pi-coding-agent/dist/modes/interactive/components/scoped-models-selector.js +0 -290
  1165. package/node_modules/@entelligentsia/pi-coding-agent/dist/modes/interactive/components/scoped-models-selector.js.map +0 -1
  1166. package/node_modules/@entelligentsia/pi-coding-agent/dist/modes/interactive/components/session-selector-search.d.ts.map +0 -1
  1167. package/node_modules/@entelligentsia/pi-coding-agent/dist/modes/interactive/components/session-selector-search.js +0 -155
  1168. package/node_modules/@entelligentsia/pi-coding-agent/dist/modes/interactive/components/session-selector-search.js.map +0 -1
  1169. package/node_modules/@entelligentsia/pi-coding-agent/dist/modes/interactive/components/session-selector.d.ts +0 -96
  1170. package/node_modules/@entelligentsia/pi-coding-agent/dist/modes/interactive/components/session-selector.d.ts.map +0 -1
  1171. package/node_modules/@entelligentsia/pi-coding-agent/dist/modes/interactive/components/session-selector.js +0 -861
  1172. package/node_modules/@entelligentsia/pi-coding-agent/dist/modes/interactive/components/session-selector.js.map +0 -1
  1173. package/node_modules/@entelligentsia/pi-coding-agent/dist/modes/interactive/components/settings-selector.d.ts +0 -67
  1174. package/node_modules/@entelligentsia/pi-coding-agent/dist/modes/interactive/components/settings-selector.d.ts.map +0 -1
  1175. package/node_modules/@entelligentsia/pi-coding-agent/dist/modes/interactive/components/settings-selector.js +0 -373
  1176. package/node_modules/@entelligentsia/pi-coding-agent/dist/modes/interactive/components/settings-selector.js.map +0 -1
  1177. package/node_modules/@entelligentsia/pi-coding-agent/dist/modes/interactive/components/show-images-selector.d.ts +0 -10
  1178. package/node_modules/@entelligentsia/pi-coding-agent/dist/modes/interactive/components/show-images-selector.d.ts.map +0 -1
  1179. package/node_modules/@entelligentsia/pi-coding-agent/dist/modes/interactive/components/show-images-selector.js +0 -39
  1180. package/node_modules/@entelligentsia/pi-coding-agent/dist/modes/interactive/components/show-images-selector.js.map +0 -1
  1181. package/node_modules/@entelligentsia/pi-coding-agent/dist/modes/interactive/components/skill-invocation-message.d.ts +0 -17
  1182. package/node_modules/@entelligentsia/pi-coding-agent/dist/modes/interactive/components/skill-invocation-message.d.ts.map +0 -1
  1183. package/node_modules/@entelligentsia/pi-coding-agent/dist/modes/interactive/components/skill-invocation-message.js +0 -47
  1184. package/node_modules/@entelligentsia/pi-coding-agent/dist/modes/interactive/components/skill-invocation-message.js.map +0 -1
  1185. package/node_modules/@entelligentsia/pi-coding-agent/dist/modes/interactive/components/theme-selector.d.ts +0 -11
  1186. package/node_modules/@entelligentsia/pi-coding-agent/dist/modes/interactive/components/theme-selector.d.ts.map +0 -1
  1187. package/node_modules/@entelligentsia/pi-coding-agent/dist/modes/interactive/components/theme-selector.js +0 -50
  1188. package/node_modules/@entelligentsia/pi-coding-agent/dist/modes/interactive/components/theme-selector.js.map +0 -1
  1189. package/node_modules/@entelligentsia/pi-coding-agent/dist/modes/interactive/components/thinking-selector.d.ts +0 -11
  1190. package/node_modules/@entelligentsia/pi-coding-agent/dist/modes/interactive/components/thinking-selector.d.ts.map +0 -1
  1191. package/node_modules/@entelligentsia/pi-coding-agent/dist/modes/interactive/components/thinking-selector.js +0 -51
  1192. package/node_modules/@entelligentsia/pi-coding-agent/dist/modes/interactive/components/thinking-selector.js.map +0 -1
  1193. package/node_modules/@entelligentsia/pi-coding-agent/dist/modes/interactive/components/tool-execution.d.ts +0 -63
  1194. package/node_modules/@entelligentsia/pi-coding-agent/dist/modes/interactive/components/tool-execution.d.ts.map +0 -1
  1195. package/node_modules/@entelligentsia/pi-coding-agent/dist/modes/interactive/components/tool-execution.js +0 -295
  1196. package/node_modules/@entelligentsia/pi-coding-agent/dist/modes/interactive/components/tool-execution.js.map +0 -1
  1197. package/node_modules/@entelligentsia/pi-coding-agent/dist/modes/interactive/components/tree-selector.d.ts +0 -89
  1198. package/node_modules/@entelligentsia/pi-coding-agent/dist/modes/interactive/components/tree-selector.d.ts.map +0 -1
  1199. package/node_modules/@entelligentsia/pi-coding-agent/dist/modes/interactive/components/tree-selector.js +0 -1092
  1200. package/node_modules/@entelligentsia/pi-coding-agent/dist/modes/interactive/components/tree-selector.js.map +0 -1
  1201. package/node_modules/@entelligentsia/pi-coding-agent/dist/modes/interactive/components/user-message-selector.d.ts +0 -30
  1202. package/node_modules/@entelligentsia/pi-coding-agent/dist/modes/interactive/components/user-message-selector.d.ts.map +0 -1
  1203. package/node_modules/@entelligentsia/pi-coding-agent/dist/modes/interactive/components/user-message-selector.js +0 -114
  1204. package/node_modules/@entelligentsia/pi-coding-agent/dist/modes/interactive/components/user-message-selector.js.map +0 -1
  1205. package/node_modules/@entelligentsia/pi-coding-agent/dist/modes/interactive/components/user-message.d.ts +0 -10
  1206. package/node_modules/@entelligentsia/pi-coding-agent/dist/modes/interactive/components/user-message.d.ts.map +0 -1
  1207. package/node_modules/@entelligentsia/pi-coding-agent/dist/modes/interactive/components/user-message.js +0 -29
  1208. package/node_modules/@entelligentsia/pi-coding-agent/dist/modes/interactive/components/user-message.js.map +0 -1
  1209. package/node_modules/@entelligentsia/pi-coding-agent/dist/modes/interactive/components/visual-truncate.d.ts.map +0 -1
  1210. package/node_modules/@entelligentsia/pi-coding-agent/dist/modes/interactive/components/visual-truncate.js +0 -33
  1211. package/node_modules/@entelligentsia/pi-coding-agent/dist/modes/interactive/components/visual-truncate.js.map +0 -1
  1212. package/node_modules/@entelligentsia/pi-coding-agent/dist/modes/interactive/interactive-mode.d.ts +0 -374
  1213. package/node_modules/@entelligentsia/pi-coding-agent/dist/modes/interactive/interactive-mode.d.ts.map +0 -1
  1214. package/node_modules/@entelligentsia/pi-coding-agent/dist/modes/interactive/interactive-mode.js +0 -4625
  1215. package/node_modules/@entelligentsia/pi-coding-agent/dist/modes/interactive/interactive-mode.js.map +0 -1
  1216. package/node_modules/@entelligentsia/pi-coding-agent/dist/modes/interactive/theme/dark.json +0 -85
  1217. package/node_modules/@entelligentsia/pi-coding-agent/dist/modes/interactive/theme/light.json +0 -84
  1218. package/node_modules/@entelligentsia/pi-coding-agent/dist/modes/interactive/theme/theme.d.ts +0 -81
  1219. package/node_modules/@entelligentsia/pi-coding-agent/dist/modes/interactive/theme/theme.d.ts.map +0 -1
  1220. package/node_modules/@entelligentsia/pi-coding-agent/dist/modes/interactive/theme/theme.js +0 -971
  1221. package/node_modules/@entelligentsia/pi-coding-agent/dist/modes/interactive/theme/theme.js.map +0 -1
  1222. package/node_modules/@entelligentsia/pi-coding-agent/dist/modes/print-mode.d.ts +0 -28
  1223. package/node_modules/@entelligentsia/pi-coding-agent/dist/modes/print-mode.d.ts.map +0 -1
  1224. package/node_modules/@entelligentsia/pi-coding-agent/dist/modes/print-mode.js.map +0 -1
  1225. package/node_modules/@entelligentsia/pi-coding-agent/dist/modes/rpc/rpc-client.d.ts +0 -224
  1226. package/node_modules/@entelligentsia/pi-coding-agent/dist/modes/rpc/rpc-client.d.ts.map +0 -1
  1227. package/node_modules/@entelligentsia/pi-coding-agent/dist/modes/rpc/rpc-client.js.map +0 -1
  1228. package/node_modules/@entelligentsia/pi-coding-agent/dist/modes/rpc/rpc-mode.d.ts.map +0 -1
  1229. package/node_modules/@entelligentsia/pi-coding-agent/dist/modes/rpc/rpc-mode.js +0 -604
  1230. package/node_modules/@entelligentsia/pi-coding-agent/dist/modes/rpc/rpc-mode.js.map +0 -1
  1231. package/node_modules/@entelligentsia/pi-coding-agent/dist/modes/rpc/rpc-types.d.ts +0 -419
  1232. package/node_modules/@entelligentsia/pi-coding-agent/dist/modes/rpc/rpc-types.d.ts.map +0 -1
  1233. package/node_modules/@entelligentsia/pi-coding-agent/dist/modes/rpc/rpc-types.js.map +0 -1
  1234. package/node_modules/@entelligentsia/pi-coding-agent/dist/utils/image-resize.d.ts +0 -36
  1235. package/node_modules/@entelligentsia/pi-coding-agent/dist/utils/image-resize.d.ts.map +0 -1
  1236. package/node_modules/@entelligentsia/pi-coding-agent/dist/utils/image-resize.js.map +0 -1
  1237. package/node_modules/@entelligentsia/pi-coding-agent/dist/utils/mime.d.ts +0 -2
  1238. package/node_modules/@entelligentsia/pi-coding-agent/dist/utils/mime.d.ts.map +0 -1
  1239. package/node_modules/@entelligentsia/pi-coding-agent/dist/utils/mime.js +0 -26
  1240. package/node_modules/@entelligentsia/pi-coding-agent/dist/utils/mime.js.map +0 -1
  1241. package/node_modules/@entelligentsia/pi-coding-agent/dist/utils/tools-manager.d.ts.map +0 -1
  1242. package/node_modules/@entelligentsia/pi-coding-agent/dist/utils/tools-manager.js +0 -256
  1243. package/node_modules/@entelligentsia/pi-coding-agent/dist/utils/tools-manager.js.map +0 -1
  1244. package/node_modules/@entelligentsia/pi-coding-agent/docs/compaction.md +0 -394
  1245. package/node_modules/@entelligentsia/pi-coding-agent/docs/custom-provider.md +0 -646
  1246. package/node_modules/@entelligentsia/pi-coding-agent/docs/extensions.md +0 -2596
  1247. package/node_modules/@entelligentsia/pi-coding-agent/docs/index.md +0 -70
  1248. package/node_modules/@entelligentsia/pi-coding-agent/docs/models.md +0 -474
  1249. package/node_modules/@entelligentsia/pi-coding-agent/docs/packages.md +0 -223
  1250. package/node_modules/@entelligentsia/pi-coding-agent/docs/providers.md +0 -241
  1251. package/node_modules/@entelligentsia/pi-coding-agent/docs/quickstart.md +0 -142
  1252. package/node_modules/@entelligentsia/pi-coding-agent/docs/rpc.md +0 -1407
  1253. package/node_modules/@entelligentsia/pi-coding-agent/docs/sdk.md +0 -1149
  1254. package/node_modules/@entelligentsia/pi-coding-agent/docs/session-format.md +0 -412
  1255. package/node_modules/@entelligentsia/pi-coding-agent/docs/skills.md +0 -232
  1256. package/node_modules/@entelligentsia/pi-coding-agent/docs/termux.md +0 -127
  1257. package/node_modules/@entelligentsia/pi-coding-agent/docs/themes.md +0 -295
  1258. package/node_modules/@entelligentsia/pi-coding-agent/docs/tui.md +0 -918
  1259. package/node_modules/@entelligentsia/pi-coding-agent/examples/extensions/README.md +0 -208
  1260. package/node_modules/@entelligentsia/pi-coding-agent/examples/extensions/auto-commit-on-exit.ts +0 -49
  1261. package/node_modules/@entelligentsia/pi-coding-agent/examples/extensions/bash-spawn-hook.ts +0 -30
  1262. package/node_modules/@entelligentsia/pi-coding-agent/examples/extensions/bookmark.ts +0 -50
  1263. package/node_modules/@entelligentsia/pi-coding-agent/examples/extensions/border-status-editor.ts +0 -150
  1264. package/node_modules/@entelligentsia/pi-coding-agent/examples/extensions/built-in-tool-renderer.ts +0 -249
  1265. package/node_modules/@entelligentsia/pi-coding-agent/examples/extensions/claude-rules.ts +0 -86
  1266. package/node_modules/@entelligentsia/pi-coding-agent/examples/extensions/commands.ts +0 -72
  1267. package/node_modules/@entelligentsia/pi-coding-agent/examples/extensions/confirm-destructive.ts +0 -59
  1268. package/node_modules/@entelligentsia/pi-coding-agent/examples/extensions/custom-compaction.ts +0 -127
  1269. package/node_modules/@entelligentsia/pi-coding-agent/examples/extensions/custom-footer.ts +0 -64
  1270. package/node_modules/@entelligentsia/pi-coding-agent/examples/extensions/custom-header.ts +0 -73
  1271. package/node_modules/@entelligentsia/pi-coding-agent/examples/extensions/custom-provider-anthropic/index.ts +0 -604
  1272. package/node_modules/@entelligentsia/pi-coding-agent/examples/extensions/custom-provider-anthropic/package-lock.json +0 -24
  1273. package/node_modules/@entelligentsia/pi-coding-agent/examples/extensions/custom-provider-anthropic/package.json +0 -19
  1274. package/node_modules/@entelligentsia/pi-coding-agent/examples/extensions/custom-provider-gitlab-duo/index.ts +0 -349
  1275. package/node_modules/@entelligentsia/pi-coding-agent/examples/extensions/custom-provider-gitlab-duo/package.json +0 -16
  1276. package/node_modules/@entelligentsia/pi-coding-agent/examples/extensions/custom-provider-gitlab-duo/test.ts +0 -82
  1277. package/node_modules/@entelligentsia/pi-coding-agent/examples/extensions/dirty-repo-guard.ts +0 -56
  1278. package/node_modules/@entelligentsia/pi-coding-agent/examples/extensions/doom-overlay/doom-component.ts +0 -132
  1279. package/node_modules/@entelligentsia/pi-coding-agent/examples/extensions/doom-overlay/doom-keys.ts +0 -104
  1280. package/node_modules/@entelligentsia/pi-coding-agent/examples/extensions/doom-overlay/index.ts +0 -74
  1281. package/node_modules/@entelligentsia/pi-coding-agent/examples/extensions/dynamic-resources/dynamic.json +0 -79
  1282. package/node_modules/@entelligentsia/pi-coding-agent/examples/extensions/dynamic-resources/index.ts +0 -15
  1283. package/node_modules/@entelligentsia/pi-coding-agent/examples/extensions/dynamic-tools.ts +0 -74
  1284. package/node_modules/@entelligentsia/pi-coding-agent/examples/extensions/event-bus.ts +0 -43
  1285. package/node_modules/@entelligentsia/pi-coding-agent/examples/extensions/file-trigger.ts +0 -41
  1286. package/node_modules/@entelligentsia/pi-coding-agent/examples/extensions/git-checkpoint.ts +0 -53
  1287. package/node_modules/@entelligentsia/pi-coding-agent/examples/extensions/github-issue-autocomplete.ts +0 -185
  1288. package/node_modules/@entelligentsia/pi-coding-agent/examples/extensions/handoff.ts +0 -191
  1289. package/node_modules/@entelligentsia/pi-coding-agent/examples/extensions/hello.ts +0 -26
  1290. package/node_modules/@entelligentsia/pi-coding-agent/examples/extensions/hidden-thinking-label.ts +0 -53
  1291. package/node_modules/@entelligentsia/pi-coding-agent/examples/extensions/inline-bash.ts +0 -94
  1292. package/node_modules/@entelligentsia/pi-coding-agent/examples/extensions/input-transform.ts +0 -43
  1293. package/node_modules/@entelligentsia/pi-coding-agent/examples/extensions/interactive-shell.ts +0 -196
  1294. package/node_modules/@entelligentsia/pi-coding-agent/examples/extensions/mac-system-theme.ts +0 -47
  1295. package/node_modules/@entelligentsia/pi-coding-agent/examples/extensions/message-renderer.ts +0 -59
  1296. package/node_modules/@entelligentsia/pi-coding-agent/examples/extensions/minimal-mode.ts +0 -426
  1297. package/node_modules/@entelligentsia/pi-coding-agent/examples/extensions/modal-editor.ts +0 -85
  1298. package/node_modules/@entelligentsia/pi-coding-agent/examples/extensions/model-status.ts +0 -31
  1299. package/node_modules/@entelligentsia/pi-coding-agent/examples/extensions/notify.ts +0 -55
  1300. package/node_modules/@entelligentsia/pi-coding-agent/examples/extensions/overlay-qa-tests.ts +0 -1348
  1301. package/node_modules/@entelligentsia/pi-coding-agent/examples/extensions/overlay-test.ts +0 -150
  1302. package/node_modules/@entelligentsia/pi-coding-agent/examples/extensions/permission-gate.ts +0 -34
  1303. package/node_modules/@entelligentsia/pi-coding-agent/examples/extensions/pirate.ts +0 -47
  1304. package/node_modules/@entelligentsia/pi-coding-agent/examples/extensions/plan-mode/index.ts +0 -340
  1305. package/node_modules/@entelligentsia/pi-coding-agent/examples/extensions/preset.ts +0 -430
  1306. package/node_modules/@entelligentsia/pi-coding-agent/examples/extensions/prompt-customizer.ts +0 -97
  1307. package/node_modules/@entelligentsia/pi-coding-agent/examples/extensions/protected-paths.ts +0 -30
  1308. package/node_modules/@entelligentsia/pi-coding-agent/examples/extensions/provider-payload.ts +0 -18
  1309. package/node_modules/@entelligentsia/pi-coding-agent/examples/extensions/qna.ts +0 -122
  1310. package/node_modules/@entelligentsia/pi-coding-agent/examples/extensions/question.ts +0 -264
  1311. package/node_modules/@entelligentsia/pi-coding-agent/examples/extensions/questionnaire.ts +0 -427
  1312. package/node_modules/@entelligentsia/pi-coding-agent/examples/extensions/rainbow-editor.ts +0 -88
  1313. package/node_modules/@entelligentsia/pi-coding-agent/examples/extensions/reload-runtime.ts +0 -37
  1314. package/node_modules/@entelligentsia/pi-coding-agent/examples/extensions/rpc-demo.ts +0 -118
  1315. package/node_modules/@entelligentsia/pi-coding-agent/examples/extensions/sandbox/index.ts +0 -321
  1316. package/node_modules/@entelligentsia/pi-coding-agent/examples/extensions/sandbox/package-lock.json +0 -92
  1317. package/node_modules/@entelligentsia/pi-coding-agent/examples/extensions/sandbox/package.json +0 -19
  1318. package/node_modules/@entelligentsia/pi-coding-agent/examples/extensions/send-user-message.ts +0 -97
  1319. package/node_modules/@entelligentsia/pi-coding-agent/examples/extensions/session-name.ts +0 -27
  1320. package/node_modules/@entelligentsia/pi-coding-agent/examples/extensions/shutdown-command.ts +0 -63
  1321. package/node_modules/@entelligentsia/pi-coding-agent/examples/extensions/snake.ts +0 -343
  1322. package/node_modules/@entelligentsia/pi-coding-agent/examples/extensions/space-invaders.ts +0 -560
  1323. package/node_modules/@entelligentsia/pi-coding-agent/examples/extensions/ssh.ts +0 -220
  1324. package/node_modules/@entelligentsia/pi-coding-agent/examples/extensions/status-line.ts +0 -32
  1325. package/node_modules/@entelligentsia/pi-coding-agent/examples/extensions/structured-output.ts +0 -65
  1326. package/node_modules/@entelligentsia/pi-coding-agent/examples/extensions/subagent/agents.ts +0 -126
  1327. package/node_modules/@entelligentsia/pi-coding-agent/examples/extensions/subagent/index.ts +0 -987
  1328. package/node_modules/@entelligentsia/pi-coding-agent/examples/extensions/summarize.ts +0 -206
  1329. package/node_modules/@entelligentsia/pi-coding-agent/examples/extensions/system-prompt-header.ts +0 -17
  1330. package/node_modules/@entelligentsia/pi-coding-agent/examples/extensions/tic-tac-toe.ts +0 -1008
  1331. package/node_modules/@entelligentsia/pi-coding-agent/examples/extensions/timed-confirm.ts +0 -70
  1332. package/node_modules/@entelligentsia/pi-coding-agent/examples/extensions/titlebar-spinner.ts +0 -58
  1333. package/node_modules/@entelligentsia/pi-coding-agent/examples/extensions/todo.ts +0 -297
  1334. package/node_modules/@entelligentsia/pi-coding-agent/examples/extensions/tool-override.ts +0 -144
  1335. package/node_modules/@entelligentsia/pi-coding-agent/examples/extensions/tools.ts +0 -141
  1336. package/node_modules/@entelligentsia/pi-coding-agent/examples/extensions/trigger-compact.ts +0 -50
  1337. package/node_modules/@entelligentsia/pi-coding-agent/examples/extensions/truncated-tool.ts +0 -195
  1338. package/node_modules/@entelligentsia/pi-coding-agent/examples/extensions/widget-placement.ts +0 -9
  1339. package/node_modules/@entelligentsia/pi-coding-agent/examples/extensions/with-deps/index.ts +0 -32
  1340. package/node_modules/@entelligentsia/pi-coding-agent/examples/extensions/with-deps/package-lock.json +0 -31
  1341. package/node_modules/@entelligentsia/pi-coding-agent/examples/extensions/with-deps/package.json +0 -22
  1342. package/node_modules/@entelligentsia/pi-coding-agent/examples/extensions/working-indicator.ts +0 -123
  1343. package/node_modules/@entelligentsia/pi-coding-agent/examples/extensions/working-message-test.ts +0 -25
  1344. package/node_modules/@entelligentsia/pi-coding-agent/examples/rpc-extension-ui.ts +0 -632
  1345. package/node_modules/@entelligentsia/pi-coding-agent/examples/sdk/01-minimal.ts +0 -22
  1346. package/node_modules/@entelligentsia/pi-coding-agent/examples/sdk/02-custom-model.ts +0 -49
  1347. package/node_modules/@entelligentsia/pi-coding-agent/examples/sdk/03-custom-prompt.ts +0 -67
  1348. package/node_modules/@entelligentsia/pi-coding-agent/examples/sdk/04-skills.ts +0 -55
  1349. package/node_modules/@entelligentsia/pi-coding-agent/examples/sdk/05-tools.ts +0 -44
  1350. package/node_modules/@entelligentsia/pi-coding-agent/examples/sdk/06-extensions.ts +0 -95
  1351. package/node_modules/@entelligentsia/pi-coding-agent/examples/sdk/07-context-files.ts +0 -47
  1352. package/node_modules/@entelligentsia/pi-coding-agent/examples/sdk/08-prompt-templates.ts +0 -51
  1353. package/node_modules/@entelligentsia/pi-coding-agent/examples/sdk/09-api-keys-and-oauth.ts +0 -48
  1354. package/node_modules/@entelligentsia/pi-coding-agent/examples/sdk/10-settings.ts +0 -53
  1355. package/node_modules/@entelligentsia/pi-coding-agent/examples/sdk/11-sessions.ts +0 -48
  1356. package/node_modules/@entelligentsia/pi-coding-agent/examples/sdk/12-full-control.ts +0 -73
  1357. package/node_modules/@entelligentsia/pi-coding-agent/examples/sdk/13-session-runtime.ts +0 -67
  1358. package/node_modules/@entelligentsia/pi-coding-agent/examples/sdk/README.md +0 -147
  1359. package/node_modules/@entelligentsia/pi-coding-agent/package.json +0 -97
  1360. package/node_modules/@entelligentsia/pi-tui/README.md +0 -779
  1361. package/node_modules/@entelligentsia/pi-tui/dist/components/image.d.ts.map +0 -1
  1362. package/node_modules/@entelligentsia/pi-tui/dist/components/image.js +0 -76
  1363. package/node_modules/@entelligentsia/pi-tui/dist/components/image.js.map +0 -1
  1364. package/node_modules/@entelligentsia/pi-tui/dist/components/markdown.d.ts +0 -95
  1365. package/node_modules/@entelligentsia/pi-tui/dist/components/markdown.d.ts.map +0 -1
  1366. package/node_modules/@entelligentsia/pi-tui/dist/components/markdown.js +0 -688
  1367. package/node_modules/@entelligentsia/pi-tui/dist/components/markdown.js.map +0 -1
  1368. package/node_modules/@entelligentsia/pi-tui/dist/stdin-buffer.d.ts.map +0 -1
  1369. package/node_modules/@entelligentsia/pi-tui/dist/stdin-buffer.js +0 -339
  1370. package/node_modules/@entelligentsia/pi-tui/dist/stdin-buffer.js.map +0 -1
  1371. package/node_modules/@entelligentsia/pi-tui/dist/terminal-image.d.ts +0 -85
  1372. package/node_modules/@entelligentsia/pi-tui/dist/terminal-image.d.ts.map +0 -1
  1373. package/node_modules/@entelligentsia/pi-tui/dist/terminal-image.js +0 -324
  1374. package/node_modules/@entelligentsia/pi-tui/dist/terminal-image.js.map +0 -1
  1375. package/node_modules/@entelligentsia/pi-tui/package.json +0 -49
  1376. package/node_modules/@tokenizer/inflate/LICENSE +0 -15
  1377. package/node_modules/@tokenizer/inflate/README.md +0 -114
  1378. package/node_modules/@tokenizer/inflate/lib/GzipHandler.d.ts +0 -6
  1379. package/node_modules/@tokenizer/inflate/lib/GzipHandler.js +0 -19
  1380. package/node_modules/@tokenizer/inflate/lib/ZipHandler.d.ts +0 -26
  1381. package/node_modules/@tokenizer/inflate/lib/ZipHandler.js +0 -233
  1382. package/node_modules/@tokenizer/inflate/lib/ZipToken.d.ts +0 -94
  1383. package/node_modules/@tokenizer/inflate/lib/ZipToken.js +0 -117
  1384. package/node_modules/@tokenizer/inflate/lib/index.d.ts +0 -3
  1385. package/node_modules/@tokenizer/inflate/lib/index.js +0 -2
  1386. package/node_modules/@tokenizer/inflate/package.json +0 -76
  1387. package/node_modules/@tokenizer/token/README.md +0 -19
  1388. package/node_modules/@tokenizer/token/index.d.ts +0 -30
  1389. package/node_modules/@tokenizer/token/package.json +0 -33
  1390. package/node_modules/@tootallnate/quickjs-emscripten/LICENSE +0 -21
  1391. package/node_modules/@tootallnate/quickjs-emscripten/README.md +0 -597
  1392. package/node_modules/@tootallnate/quickjs-emscripten/c/interface.c +0 -819
  1393. package/node_modules/@tootallnate/quickjs-emscripten/dist/asyncify-helpers.d.ts +0 -24
  1394. package/node_modules/@tootallnate/quickjs-emscripten/dist/asyncify-helpers.js +0 -53
  1395. package/node_modules/@tootallnate/quickjs-emscripten/dist/asyncify-helpers.js.map +0 -1
  1396. package/node_modules/@tootallnate/quickjs-emscripten/dist/context-asyncify.d.ts +0 -48
  1397. package/node_modules/@tootallnate/quickjs-emscripten/dist/context-asyncify.js +0 -58
  1398. package/node_modules/@tootallnate/quickjs-emscripten/dist/context-asyncify.js.map +0 -1
  1399. package/node_modules/@tootallnate/quickjs-emscripten/dist/context.d.ts +0 -371
  1400. package/node_modules/@tootallnate/quickjs-emscripten/dist/context.js +0 -691
  1401. package/node_modules/@tootallnate/quickjs-emscripten/dist/context.js.map +0 -1
  1402. package/node_modules/@tootallnate/quickjs-emscripten/dist/debug.d.ts +0 -5
  1403. package/node_modules/@tootallnate/quickjs-emscripten/dist/debug.js +0 -6
  1404. package/node_modules/@tootallnate/quickjs-emscripten/dist/debug.js.map +0 -1
  1405. package/node_modules/@tootallnate/quickjs-emscripten/dist/deferred-promise.d.ts +0 -75
  1406. package/node_modules/@tootallnate/quickjs-emscripten/dist/deferred-promise.js +0 -96
  1407. package/node_modules/@tootallnate/quickjs-emscripten/dist/deferred-promise.js.map +0 -1
  1408. package/node_modules/@tootallnate/quickjs-emscripten/dist/emscripten-types.d.ts +0 -97
  1409. package/node_modules/@tootallnate/quickjs-emscripten/dist/emscripten-types.js +0 -15
  1410. package/node_modules/@tootallnate/quickjs-emscripten/dist/emscripten-types.js.map +0 -1
  1411. package/node_modules/@tootallnate/quickjs-emscripten/dist/errors.d.ts +0 -28
  1412. package/node_modules/@tootallnate/quickjs-emscripten/dist/errors.js +0 -58
  1413. package/node_modules/@tootallnate/quickjs-emscripten/dist/errors.js.map +0 -1
  1414. package/node_modules/@tootallnate/quickjs-emscripten/dist/esmHelpers.d.ts +0 -9
  1415. package/node_modules/@tootallnate/quickjs-emscripten/dist/esmHelpers.js +0 -19
  1416. package/node_modules/@tootallnate/quickjs-emscripten/dist/esmHelpers.js.map +0 -1
  1417. package/node_modules/@tootallnate/quickjs-emscripten/dist/generated/emscripten-module.WASM_RELEASE_SYNC.d.ts +0 -5
  1418. package/node_modules/@tootallnate/quickjs-emscripten/dist/generated/emscripten-module.WASM_RELEASE_SYNC.js +0 -387
  1419. package/node_modules/@tootallnate/quickjs-emscripten/dist/generated/emscripten-module.WASM_RELEASE_SYNC.js.map +0 -1
  1420. package/node_modules/@tootallnate/quickjs-emscripten/dist/generated/ffi.WASM_RELEASE_SYNC.d.ts +0 -67
  1421. package/node_modules/@tootallnate/quickjs-emscripten/dist/generated/ffi.WASM_RELEASE_SYNC.js +0 -71
  1422. package/node_modules/@tootallnate/quickjs-emscripten/dist/generated/ffi.WASM_RELEASE_SYNC.js.map +0 -1
  1423. package/node_modules/@tootallnate/quickjs-emscripten/dist/index.d.ts +0 -75
  1424. package/node_modules/@tootallnate/quickjs-emscripten/dist/index.js +0 -128
  1425. package/node_modules/@tootallnate/quickjs-emscripten/dist/index.js.map +0 -1
  1426. package/node_modules/@tootallnate/quickjs-emscripten/dist/lifetime.d.ts +0 -115
  1427. package/node_modules/@tootallnate/quickjs-emscripten/dist/lifetime.js +0 -227
  1428. package/node_modules/@tootallnate/quickjs-emscripten/dist/lifetime.js.map +0 -1
  1429. package/node_modules/@tootallnate/quickjs-emscripten/dist/memory.d.ts +0 -18
  1430. package/node_modules/@tootallnate/quickjs-emscripten/dist/memory.js +0 -41
  1431. package/node_modules/@tootallnate/quickjs-emscripten/dist/memory.js.map +0 -1
  1432. package/node_modules/@tootallnate/quickjs-emscripten/dist/module-asyncify.d.ts +0 -53
  1433. package/node_modules/@tootallnate/quickjs-emscripten/dist/module-asyncify.js +0 -97
  1434. package/node_modules/@tootallnate/quickjs-emscripten/dist/module-asyncify.js.map +0 -1
  1435. package/node_modules/@tootallnate/quickjs-emscripten/dist/module-test.d.ts +0 -27
  1436. package/node_modules/@tootallnate/quickjs-emscripten/dist/module-test.js +0 -77
  1437. package/node_modules/@tootallnate/quickjs-emscripten/dist/module-test.js.map +0 -1
  1438. package/node_modules/@tootallnate/quickjs-emscripten/dist/module.d.ts +0 -152
  1439. package/node_modules/@tootallnate/quickjs-emscripten/dist/module.js +0 -302
  1440. package/node_modules/@tootallnate/quickjs-emscripten/dist/module.js.map +0 -1
  1441. package/node_modules/@tootallnate/quickjs-emscripten/dist/runtime-asyncify.d.ts +0 -38
  1442. package/node_modules/@tootallnate/quickjs-emscripten/dist/runtime-asyncify.js +0 -49
  1443. package/node_modules/@tootallnate/quickjs-emscripten/dist/runtime-asyncify.js.map +0 -1
  1444. package/node_modules/@tootallnate/quickjs-emscripten/dist/runtime.d.ts +0 -174
  1445. package/node_modules/@tootallnate/quickjs-emscripten/dist/runtime.js +0 -300
  1446. package/node_modules/@tootallnate/quickjs-emscripten/dist/runtime.js.map +0 -1
  1447. package/node_modules/@tootallnate/quickjs-emscripten/dist/types-ffi.d.ts +0 -114
  1448. package/node_modules/@tootallnate/quickjs-emscripten/dist/types-ffi.js +0 -38
  1449. package/node_modules/@tootallnate/quickjs-emscripten/dist/types-ffi.js.map +0 -1
  1450. package/node_modules/@tootallnate/quickjs-emscripten/dist/types.d.ts +0 -158
  1451. package/node_modules/@tootallnate/quickjs-emscripten/dist/types.js +0 -58
  1452. package/node_modules/@tootallnate/quickjs-emscripten/dist/types.js.map +0 -1
  1453. package/node_modules/@tootallnate/quickjs-emscripten/dist/variants.d.ts +0 -113
  1454. package/node_modules/@tootallnate/quickjs-emscripten/dist/variants.js +0 -169
  1455. package/node_modules/@tootallnate/quickjs-emscripten/dist/variants.js.map +0 -1
  1456. package/node_modules/@tootallnate/quickjs-emscripten/dist/vm-interface.d.ts +0 -68
  1457. package/node_modules/@tootallnate/quickjs-emscripten/dist/vm-interface.js +0 -12
  1458. package/node_modules/@tootallnate/quickjs-emscripten/dist/vm-interface.js.map +0 -1
  1459. package/node_modules/@tootallnate/quickjs-emscripten/package.json +0 -60
  1460. package/node_modules/@types/mime-types/LICENSE +0 -21
  1461. package/node_modules/@types/mime-types/README.md +0 -28
  1462. package/node_modules/@types/mime-types/index.d.ts +0 -9
  1463. package/node_modules/@types/mime-types/package.json +0 -25
  1464. package/node_modules/@types/yauzl/LICENSE +0 -21
  1465. package/node_modules/@types/yauzl/README.md +0 -15
  1466. package/node_modules/@types/yauzl/index.d.ts +0 -110
  1467. package/node_modules/@types/yauzl/package.json +0 -27
  1468. package/node_modules/ansi-regex/index.d.ts +0 -33
  1469. package/node_modules/ansi-regex/index.js +0 -14
  1470. package/node_modules/ansi-regex/license +0 -9
  1471. package/node_modules/ansi-regex/package.json +0 -61
  1472. package/node_modules/ansi-regex/readme.md +0 -66
  1473. package/node_modules/ansi-styles/index.d.ts +0 -345
  1474. package/node_modules/ansi-styles/index.js +0 -163
  1475. package/node_modules/ansi-styles/license +0 -9
  1476. package/node_modules/ansi-styles/package.json +0 -56
  1477. package/node_modules/ansi-styles/readme.md +0 -152
  1478. package/node_modules/any-promise/.jshintrc +0 -4
  1479. package/node_modules/any-promise/.npmignore +0 -7
  1480. package/node_modules/any-promise/LICENSE +0 -19
  1481. package/node_modules/any-promise/README.md +0 -161
  1482. package/node_modules/any-promise/implementation.d.ts +0 -3
  1483. package/node_modules/any-promise/implementation.js +0 -1
  1484. package/node_modules/any-promise/index.d.ts +0 -73
  1485. package/node_modules/any-promise/index.js +0 -1
  1486. package/node_modules/any-promise/loader.js +0 -78
  1487. package/node_modules/any-promise/optional.js +0 -6
  1488. package/node_modules/any-promise/package.json +0 -45
  1489. package/node_modules/any-promise/register/bluebird.d.ts +0 -1
  1490. package/node_modules/any-promise/register/bluebird.js +0 -2
  1491. package/node_modules/any-promise/register/es6-promise.d.ts +0 -1
  1492. package/node_modules/any-promise/register/es6-promise.js +0 -2
  1493. package/node_modules/any-promise/register/lie.d.ts +0 -1
  1494. package/node_modules/any-promise/register/lie.js +0 -2
  1495. package/node_modules/any-promise/register/native-promise-only.d.ts +0 -1
  1496. package/node_modules/any-promise/register/native-promise-only.js +0 -2
  1497. package/node_modules/any-promise/register/pinkie.d.ts +0 -1
  1498. package/node_modules/any-promise/register/pinkie.js +0 -2
  1499. package/node_modules/any-promise/register/promise.d.ts +0 -1
  1500. package/node_modules/any-promise/register/promise.js +0 -2
  1501. package/node_modules/any-promise/register/q.d.ts +0 -1
  1502. package/node_modules/any-promise/register/q.js +0 -2
  1503. package/node_modules/any-promise/register/rsvp.d.ts +0 -1
  1504. package/node_modules/any-promise/register/rsvp.js +0 -2
  1505. package/node_modules/any-promise/register/vow.d.ts +0 -1
  1506. package/node_modules/any-promise/register/vow.js +0 -2
  1507. package/node_modules/any-promise/register/when.d.ts +0 -1
  1508. package/node_modules/any-promise/register/when.js +0 -2
  1509. package/node_modules/any-promise/register-shim.js +0 -18
  1510. package/node_modules/any-promise/register.d.ts +0 -17
  1511. package/node_modules/any-promise/register.js +0 -94
  1512. package/node_modules/argparse/CHANGELOG.md +0 -216
  1513. package/node_modules/ast-types/.github/dependabot.yml +0 -9
  1514. package/node_modules/ast-types/.github/workflows/main.yml +0 -29
  1515. package/node_modules/ast-types/LICENSE +0 -20
  1516. package/node_modules/ast-types/README.md +0 -512
  1517. package/node_modules/ast-types/def/babel-core.d.ts +0 -2
  1518. package/node_modules/ast-types/def/babel-core.js +0 -256
  1519. package/node_modules/ast-types/def/babel.d.ts +0 -2
  1520. package/node_modules/ast-types/def/babel.js +0 -11
  1521. package/node_modules/ast-types/def/core.d.ts +0 -2
  1522. package/node_modules/ast-types/def/core.js +0 -298
  1523. package/node_modules/ast-types/def/es-proposals.d.ts +0 -2
  1524. package/node_modules/ast-types/def/es-proposals.js +0 -33
  1525. package/node_modules/ast-types/def/es2020.d.ts +0 -2
  1526. package/node_modules/ast-types/def/es2020.js +0 -16
  1527. package/node_modules/ast-types/def/es6.d.ts +0 -2
  1528. package/node_modules/ast-types/def/es6.js +0 -210
  1529. package/node_modules/ast-types/def/es7.d.ts +0 -2
  1530. package/node_modules/ast-types/def/es7.js +0 -34
  1531. package/node_modules/ast-types/def/esprima.d.ts +0 -2
  1532. package/node_modules/ast-types/def/esprima.js +0 -49
  1533. package/node_modules/ast-types/def/flow.d.ts +0 -2
  1534. package/node_modules/ast-types/def/flow.js +0 -292
  1535. package/node_modules/ast-types/def/jsx.d.ts +0 -2
  1536. package/node_modules/ast-types/def/jsx.js +0 -103
  1537. package/node_modules/ast-types/def/type-annotations.d.ts +0 -7
  1538. package/node_modules/ast-types/def/type-annotations.js +0 -40
  1539. package/node_modules/ast-types/def/typescript.d.ts +0 -2
  1540. package/node_modules/ast-types/def/typescript.js +0 -344
  1541. package/node_modules/ast-types/fork.d.ts +0 -42
  1542. package/node_modules/ast-types/fork.js +0 -52
  1543. package/node_modules/ast-types/gen/builders.d.ts +0 -2584
  1544. package/node_modules/ast-types/gen/builders.js +0 -2
  1545. package/node_modules/ast-types/gen/kinds.d.ts +0 -264
  1546. package/node_modules/ast-types/gen/kinds.js +0 -2
  1547. package/node_modules/ast-types/gen/namedTypes.d.ts +0 -1809
  1548. package/node_modules/ast-types/gen/namedTypes.js +0 -6
  1549. package/node_modules/ast-types/gen/visitor.d.ts +0 -268
  1550. package/node_modules/ast-types/gen/visitor.js +0 -2
  1551. package/node_modules/ast-types/lib/equiv.d.ts +0 -5
  1552. package/node_modules/ast-types/lib/equiv.js +0 -154
  1553. package/node_modules/ast-types/lib/node-path.d.ts +0 -22
  1554. package/node_modules/ast-types/lib/node-path.js +0 -411
  1555. package/node_modules/ast-types/lib/path-visitor.d.ts +0 -52
  1556. package/node_modules/ast-types/lib/path-visitor.js +0 -343
  1557. package/node_modules/ast-types/lib/path.d.ts +0 -25
  1558. package/node_modules/ast-types/lib/path.js +0 -331
  1559. package/node_modules/ast-types/lib/scope.d.ts +0 -26
  1560. package/node_modules/ast-types/lib/scope.js +0 -318
  1561. package/node_modules/ast-types/lib/shared.d.ts +0 -13
  1562. package/node_modules/ast-types/lib/shared.js +0 -47
  1563. package/node_modules/ast-types/lib/types.d.ts +0 -136
  1564. package/node_modules/ast-types/lib/types.js +0 -780
  1565. package/node_modules/ast-types/main.d.ts +0 -28
  1566. package/node_modules/ast-types/main.js +0 -53
  1567. package/node_modules/ast-types/package.json +0 -65
  1568. package/node_modules/ast-types/tsconfig.json +0 -21
  1569. package/node_modules/ast-types/types.d.ts +0 -6
  1570. package/node_modules/ast-types/types.js +0 -2
  1571. package/node_modules/basic-ftp/LICENSE.txt +0 -19
  1572. package/node_modules/basic-ftp/README.md +0 -244
  1573. package/node_modules/basic-ftp/dist/Client.d.ts +0 -340
  1574. package/node_modules/basic-ftp/dist/Client.js +0 -785
  1575. package/node_modules/basic-ftp/dist/FileInfo.d.ts +0 -80
  1576. package/node_modules/basic-ftp/dist/FileInfo.js +0 -92
  1577. package/node_modules/basic-ftp/dist/FtpContext.d.ts +0 -175
  1578. package/node_modules/basic-ftp/dist/FtpContext.js +0 -375
  1579. package/node_modules/basic-ftp/dist/ProgressTracker.d.ts +0 -45
  1580. package/node_modules/basic-ftp/dist/ProgressTracker.js +0 -72
  1581. package/node_modules/basic-ftp/dist/StringEncoding.d.ts +0 -1
  1582. package/node_modules/basic-ftp/dist/StringEncoding.js +0 -2
  1583. package/node_modules/basic-ftp/dist/StringWriter.d.ts +0 -10
  1584. package/node_modules/basic-ftp/dist/StringWriter.js +0 -29
  1585. package/node_modules/basic-ftp/dist/index.d.ts +0 -9
  1586. package/node_modules/basic-ftp/dist/index.js +0 -28
  1587. package/node_modules/basic-ftp/dist/netUtils.d.ts +0 -21
  1588. package/node_modules/basic-ftp/dist/netUtils.js +0 -66
  1589. package/node_modules/basic-ftp/dist/parseControlResponse.d.ts +0 -22
  1590. package/node_modules/basic-ftp/dist/parseControlResponse.js +0 -66
  1591. package/node_modules/basic-ftp/dist/parseList.d.ts +0 -5
  1592. package/node_modules/basic-ftp/dist/parseList.js +0 -79
  1593. package/node_modules/basic-ftp/dist/parseListDOS.d.ts +0 -12
  1594. package/node_modules/basic-ftp/dist/parseListDOS.js +0 -52
  1595. package/node_modules/basic-ftp/dist/parseListMLSD.d.ts +0 -20
  1596. package/node_modules/basic-ftp/dist/parseListMLSD.js +0 -187
  1597. package/node_modules/basic-ftp/dist/parseListUnix.d.ts +0 -12
  1598. package/node_modules/basic-ftp/dist/parseListUnix.js +0 -155
  1599. package/node_modules/basic-ftp/dist/transfer.d.ts +0 -39
  1600. package/node_modules/basic-ftp/dist/transfer.js +0 -318
  1601. package/node_modules/basic-ftp/package.json +0 -52
  1602. package/node_modules/buffer-crc32/LICENSE +0 -19
  1603. package/node_modules/buffer-crc32/README.md +0 -47
  1604. package/node_modules/buffer-crc32/index.js +0 -111
  1605. package/node_modules/buffer-crc32/package.json +0 -39
  1606. package/node_modules/cli-highlight/LICENSE.txt +0 -15
  1607. package/node_modules/cli-highlight/README.md +0 -88
  1608. package/node_modules/cli-highlight/bin/highlight +0 -2
  1609. package/node_modules/cli-highlight/dist/cli.d.ts +0 -1
  1610. package/node_modules/cli-highlight/dist/cli.js +0 -102
  1611. package/node_modules/cli-highlight/dist/cli.js.map +0 -1
  1612. package/node_modules/cli-highlight/dist/index.d.ts +0 -53
  1613. package/node_modules/cli-highlight/dist/index.js +0 -112
  1614. package/node_modules/cli-highlight/dist/index.js.map +0 -1
  1615. package/node_modules/cli-highlight/dist/test/test.d.ts +0 -1
  1616. package/node_modules/cli-highlight/dist/test/test.js +0 -62
  1617. package/node_modules/cli-highlight/dist/test/test.js.map +0 -1
  1618. package/node_modules/cli-highlight/dist/theme.d.ts +0 -270
  1619. package/node_modules/cli-highlight/dist/theme.js +0 -265
  1620. package/node_modules/cli-highlight/dist/theme.js.map +0 -1
  1621. package/node_modules/cli-highlight/node_modules/chalk/index.d.ts +0 -415
  1622. package/node_modules/cli-highlight/node_modules/chalk/license +0 -9
  1623. package/node_modules/cli-highlight/node_modules/chalk/package.json +0 -68
  1624. package/node_modules/cli-highlight/node_modules/chalk/readme.md +0 -341
  1625. package/node_modules/cli-highlight/node_modules/chalk/source/index.js +0 -229
  1626. package/node_modules/cli-highlight/node_modules/chalk/source/templates.js +0 -134
  1627. package/node_modules/cli-highlight/node_modules/chalk/source/util.js +0 -39
  1628. package/node_modules/cli-highlight/package.json +0 -129
  1629. package/node_modules/cliui/CHANGELOG.md +0 -121
  1630. package/node_modules/cliui/LICENSE.txt +0 -14
  1631. package/node_modules/cliui/README.md +0 -141
  1632. package/node_modules/cliui/build/index.cjs +0 -302
  1633. package/node_modules/cliui/build/lib/index.js +0 -287
  1634. package/node_modules/cliui/build/lib/string-utils.js +0 -27
  1635. package/node_modules/cliui/index.mjs +0 -13
  1636. package/node_modules/cliui/node_modules/ansi-regex/index.d.ts +0 -37
  1637. package/node_modules/cliui/node_modules/ansi-regex/index.js +0 -10
  1638. package/node_modules/cliui/node_modules/ansi-regex/license +0 -9
  1639. package/node_modules/cliui/node_modules/ansi-regex/package.json +0 -55
  1640. package/node_modules/cliui/node_modules/ansi-regex/readme.md +0 -78
  1641. package/node_modules/cliui/node_modules/strip-ansi/index.d.ts +0 -17
  1642. package/node_modules/cliui/node_modules/strip-ansi/index.js +0 -4
  1643. package/node_modules/cliui/node_modules/strip-ansi/license +0 -9
  1644. package/node_modules/cliui/node_modules/strip-ansi/package.json +0 -54
  1645. package/node_modules/cliui/node_modules/strip-ansi/readme.md +0 -46
  1646. package/node_modules/cliui/package.json +0 -83
  1647. package/node_modules/color-convert/CHANGELOG.md +0 -54
  1648. package/node_modules/color-convert/LICENSE +0 -21
  1649. package/node_modules/color-convert/README.md +0 -68
  1650. package/node_modules/color-convert/conversions.js +0 -839
  1651. package/node_modules/color-convert/index.js +0 -81
  1652. package/node_modules/color-convert/package.json +0 -48
  1653. package/node_modules/color-convert/route.js +0 -97
  1654. package/node_modules/color-name/LICENSE +0 -8
  1655. package/node_modules/color-name/README.md +0 -11
  1656. package/node_modules/color-name/index.js +0 -152
  1657. package/node_modules/color-name/package.json +0 -28
  1658. package/node_modules/degenerator/README.md +0 -117
  1659. package/node_modules/degenerator/dist/compile.d.ts +0 -11
  1660. package/node_modules/degenerator/dist/compile.d.ts.map +0 -1
  1661. package/node_modules/degenerator/dist/compile.js +0 -107
  1662. package/node_modules/degenerator/dist/compile.js.map +0 -1
  1663. package/node_modules/degenerator/dist/degenerator.d.ts +0 -12
  1664. package/node_modules/degenerator/dist/degenerator.d.ts.map +0 -1
  1665. package/node_modules/degenerator/dist/degenerator.js +0 -156
  1666. package/node_modules/degenerator/dist/degenerator.js.map +0 -1
  1667. package/node_modules/degenerator/dist/index.d.ts +0 -3
  1668. package/node_modules/degenerator/dist/index.d.ts.map +0 -1
  1669. package/node_modules/degenerator/dist/index.js +0 -19
  1670. package/node_modules/degenerator/dist/index.js.map +0 -1
  1671. package/node_modules/degenerator/package.json +0 -42
  1672. package/node_modules/emoji-regex/LICENSE-MIT.txt +0 -20
  1673. package/node_modules/emoji-regex/README.md +0 -73
  1674. package/node_modules/emoji-regex/es2015/index.js +0 -6
  1675. package/node_modules/emoji-regex/es2015/text.js +0 -6
  1676. package/node_modules/emoji-regex/index.d.ts +0 -23
  1677. package/node_modules/emoji-regex/index.js +0 -6
  1678. package/node_modules/emoji-regex/package.json +0 -50
  1679. package/node_modules/emoji-regex/text.js +0 -6
  1680. package/node_modules/end-of-stream/LICENSE +0 -21
  1681. package/node_modules/end-of-stream/README.md +0 -54
  1682. package/node_modules/end-of-stream/index.js +0 -96
  1683. package/node_modules/end-of-stream/package.json +0 -37
  1684. package/node_modules/escalade/dist/index.js +0 -22
  1685. package/node_modules/escalade/dist/index.mjs +0 -22
  1686. package/node_modules/escalade/index.d.mts +0 -11
  1687. package/node_modules/escalade/index.d.ts +0 -15
  1688. package/node_modules/escalade/license +0 -9
  1689. package/node_modules/escalade/package.json +0 -74
  1690. package/node_modules/escalade/readme.md +0 -211
  1691. package/node_modules/escalade/sync/index.d.mts +0 -9
  1692. package/node_modules/escalade/sync/index.d.ts +0 -13
  1693. package/node_modules/escalade/sync/index.js +0 -18
  1694. package/node_modules/escalade/sync/index.mjs +0 -18
  1695. package/node_modules/escodegen/LICENSE.BSD +0 -21
  1696. package/node_modules/escodegen/README.md +0 -84
  1697. package/node_modules/escodegen/bin/escodegen.js +0 -77
  1698. package/node_modules/escodegen/bin/esgenerate.js +0 -64
  1699. package/node_modules/escodegen/escodegen.js +0 -2667
  1700. package/node_modules/escodegen/package.json +0 -63
  1701. package/node_modules/esprima/ChangeLog +0 -235
  1702. package/node_modules/esprima/LICENSE.BSD +0 -21
  1703. package/node_modules/esprima/README.md +0 -46
  1704. package/node_modules/esprima/bin/esparse.js +0 -139
  1705. package/node_modules/esprima/bin/esvalidate.js +0 -236
  1706. package/node_modules/esprima/dist/esprima.js +0 -6709
  1707. package/node_modules/esprima/package.json +0 -112
  1708. package/node_modules/estraverse/.jshintrc +0 -16
  1709. package/node_modules/estraverse/LICENSE.BSD +0 -19
  1710. package/node_modules/estraverse/README.md +0 -153
  1711. package/node_modules/estraverse/estraverse.js +0 -805
  1712. package/node_modules/estraverse/gulpfile.js +0 -70
  1713. package/node_modules/estraverse/package.json +0 -40
  1714. package/node_modules/esutils/LICENSE.BSD +0 -19
  1715. package/node_modules/esutils/README.md +0 -174
  1716. package/node_modules/esutils/lib/ast.js +0 -144
  1717. package/node_modules/esutils/lib/code.js +0 -135
  1718. package/node_modules/esutils/lib/keyword.js +0 -165
  1719. package/node_modules/esutils/lib/utils.js +0 -33
  1720. package/node_modules/esutils/package.json +0 -44
  1721. package/node_modules/extract-zip/LICENSE +0 -23
  1722. package/node_modules/extract-zip/cli.js +0 -19
  1723. package/node_modules/extract-zip/index.d.ts +0 -21
  1724. package/node_modules/extract-zip/index.js +0 -173
  1725. package/node_modules/extract-zip/package.json +0 -80
  1726. package/node_modules/extract-zip/readme.md +0 -57
  1727. package/node_modules/fd-slicer/.npmignore +0 -2
  1728. package/node_modules/fd-slicer/.travis.yml +0 -7
  1729. package/node_modules/fd-slicer/CHANGELOG.md +0 -49
  1730. package/node_modules/fd-slicer/LICENSE +0 -21
  1731. package/node_modules/fd-slicer/README.md +0 -199
  1732. package/node_modules/fd-slicer/index.js +0 -296
  1733. package/node_modules/fd-slicer/package.json +0 -36
  1734. package/node_modules/fd-slicer/test/test.js +0 -350
  1735. package/node_modules/file-type/core.d.ts +0 -253
  1736. package/node_modules/file-type/core.js +0 -2899
  1737. package/node_modules/file-type/index.d.ts +0 -98
  1738. package/node_modules/file-type/index.js +0 -163
  1739. package/node_modules/file-type/license +0 -9
  1740. package/node_modules/file-type/package.json +0 -290
  1741. package/node_modules/file-type/readme.md +0 -667
  1742. package/node_modules/file-type/supported.js +0 -360
  1743. package/node_modules/file-type/util.js +0 -60
  1744. package/node_modules/get-caller-file/LICENSE.md +0 -6
  1745. package/node_modules/get-caller-file/README.md +0 -41
  1746. package/node_modules/get-caller-file/index.d.ts +0 -2
  1747. package/node_modules/get-caller-file/index.js +0 -22
  1748. package/node_modules/get-caller-file/index.js.map +0 -1
  1749. package/node_modules/get-caller-file/package.json +0 -42
  1750. package/node_modules/get-stream/buffer-stream.js +0 -52
  1751. package/node_modules/get-stream/index.d.ts +0 -108
  1752. package/node_modules/get-stream/index.js +0 -60
  1753. package/node_modules/get-stream/license +0 -9
  1754. package/node_modules/get-stream/package.json +0 -50
  1755. package/node_modules/get-stream/readme.md +0 -124
  1756. package/node_modules/get-uri/LICENSE +0 -22
  1757. package/node_modules/get-uri/README.md +0 -109
  1758. package/node_modules/get-uri/dist/data.d.ts +0 -16
  1759. package/node_modules/get-uri/dist/data.js +0 -43
  1760. package/node_modules/get-uri/dist/data.js.map +0 -1
  1761. package/node_modules/get-uri/dist/file.d.ts +0 -17
  1762. package/node_modules/get-uri/dist/file.js +0 -57
  1763. package/node_modules/get-uri/dist/file.js.map +0 -1
  1764. package/node_modules/get-uri/dist/ftp.d.ts +0 -14
  1765. package/node_modules/get-uri/dist/ftp.js +0 -93
  1766. package/node_modules/get-uri/dist/ftp.js.map +0 -1
  1767. package/node_modules/get-uri/dist/http-error.d.ts +0 -8
  1768. package/node_modules/get-uri/dist/http-error.js +0 -15
  1769. package/node_modules/get-uri/dist/http-error.js.map +0 -1
  1770. package/node_modules/get-uri/dist/http.d.ts +0 -29
  1771. package/node_modules/get-uri/dist/http.js +0 -191
  1772. package/node_modules/get-uri/dist/http.js.map +0 -1
  1773. package/node_modules/get-uri/dist/https.d.ts +0 -6
  1774. package/node_modules/get-uri/dist/https.js +0 -16
  1775. package/node_modules/get-uri/dist/https.js.map +0 -1
  1776. package/node_modules/get-uri/dist/index.d.ts +0 -37
  1777. package/node_modules/get-uri/dist/index.js +0 -57
  1778. package/node_modules/get-uri/dist/index.js.map +0 -1
  1779. package/node_modules/get-uri/dist/notfound.d.ts +0 -10
  1780. package/node_modules/get-uri/dist/notfound.js +0 -16
  1781. package/node_modules/get-uri/dist/notfound.js.map +0 -1
  1782. package/node_modules/get-uri/dist/notmodified.d.ts +0 -10
  1783. package/node_modules/get-uri/dist/notmodified.js +0 -17
  1784. package/node_modules/get-uri/dist/notmodified.js.map +0 -1
  1785. package/node_modules/get-uri/node_modules/data-uri-to-buffer/LICENSE +0 -22
  1786. package/node_modules/get-uri/node_modules/data-uri-to-buffer/README.md +0 -61
  1787. package/node_modules/get-uri/node_modules/data-uri-to-buffer/dist/common.d.ts +0 -17
  1788. package/node_modules/get-uri/node_modules/data-uri-to-buffer/dist/common.d.ts.map +0 -1
  1789. package/node_modules/get-uri/node_modules/data-uri-to-buffer/dist/common.js +0 -54
  1790. package/node_modules/get-uri/node_modules/data-uri-to-buffer/dist/common.js.map +0 -1
  1791. package/node_modules/get-uri/node_modules/data-uri-to-buffer/dist/index.d.ts +0 -8
  1792. package/node_modules/get-uri/node_modules/data-uri-to-buffer/dist/index.d.ts.map +0 -1
  1793. package/node_modules/get-uri/node_modules/data-uri-to-buffer/dist/index.js +0 -48
  1794. package/node_modules/get-uri/node_modules/data-uri-to-buffer/dist/index.js.map +0 -1
  1795. package/node_modules/get-uri/node_modules/data-uri-to-buffer/dist/node.d.ts +0 -8
  1796. package/node_modules/get-uri/node_modules/data-uri-to-buffer/dist/node.d.ts.map +0 -1
  1797. package/node_modules/get-uri/node_modules/data-uri-to-buffer/dist/node.js +0 -26
  1798. package/node_modules/get-uri/node_modules/data-uri-to-buffer/dist/node.js.map +0 -1
  1799. package/node_modules/get-uri/node_modules/data-uri-to-buffer/package.json +0 -48
  1800. package/node_modules/get-uri/package.json +0 -58
  1801. package/node_modules/has-flag/index.d.ts +0 -39
  1802. package/node_modules/has-flag/index.js +0 -8
  1803. package/node_modules/has-flag/license +0 -9
  1804. package/node_modules/has-flag/package.json +0 -46
  1805. package/node_modules/has-flag/readme.md +0 -89
  1806. package/node_modules/ieee754/LICENSE +0 -11
  1807. package/node_modules/ieee754/README.md +0 -51
  1808. package/node_modules/ieee754/index.d.ts +0 -10
  1809. package/node_modules/ieee754/index.js +0 -85
  1810. package/node_modules/ieee754/package.json +0 -52
  1811. package/node_modules/ip-address/LICENSE +0 -19
  1812. package/node_modules/ip-address/README.md +0 -278
  1813. package/node_modules/ip-address/dist/address-error.d.ts +0 -4
  1814. package/node_modules/ip-address/dist/address-error.js +0 -12
  1815. package/node_modules/ip-address/dist/address-error.js.map +0 -1
  1816. package/node_modules/ip-address/dist/common.d.ts +0 -20
  1817. package/node_modules/ip-address/dist/common.js +0 -67
  1818. package/node_modules/ip-address/dist/common.js.map +0 -1
  1819. package/node_modules/ip-address/dist/ip-address.d.ts +0 -7
  1820. package/node_modules/ip-address/dist/ip-address.js +0 -35
  1821. package/node_modules/ip-address/dist/ip-address.js.map +0 -1
  1822. package/node_modules/ip-address/dist/ipv4.d.ts +0 -267
  1823. package/node_modules/ip-address/dist/ipv4.js +0 -485
  1824. package/node_modules/ip-address/dist/ipv4.js.map +0 -1
  1825. package/node_modules/ip-address/dist/ipv6.d.ts +0 -489
  1826. package/node_modules/ip-address/dist/ipv6.js +0 -1217
  1827. package/node_modules/ip-address/dist/ipv6.js.map +0 -1
  1828. package/node_modules/ip-address/dist/v4/constants.d.ts +0 -4
  1829. package/node_modules/ip-address/dist/v4/constants.js +0 -8
  1830. package/node_modules/ip-address/dist/v4/constants.js.map +0 -1
  1831. package/node_modules/ip-address/dist/v6/constants.d.ts +0 -44
  1832. package/node_modules/ip-address/dist/v6/constants.js +0 -81
  1833. package/node_modules/ip-address/dist/v6/constants.js.map +0 -1
  1834. package/node_modules/ip-address/dist/v6/helpers.d.ts +0 -18
  1835. package/node_modules/ip-address/dist/v6/helpers.js +0 -54
  1836. package/node_modules/ip-address/dist/v6/helpers.js.map +0 -1
  1837. package/node_modules/ip-address/dist/v6/regular-expressions.d.ts +0 -5
  1838. package/node_modules/ip-address/dist/v6/regular-expressions.js +0 -95
  1839. package/node_modules/ip-address/dist/v6/regular-expressions.js.map +0 -1
  1840. package/node_modules/ip-address/package.json +0 -88
  1841. package/node_modules/is-fullwidth-code-point/index.d.ts +0 -17
  1842. package/node_modules/is-fullwidth-code-point/index.js +0 -50
  1843. package/node_modules/is-fullwidth-code-point/license +0 -9
  1844. package/node_modules/is-fullwidth-code-point/package.json +0 -42
  1845. package/node_modules/is-fullwidth-code-point/readme.md +0 -39
  1846. package/node_modules/mime-db/HISTORY.md +0 -541
  1847. package/node_modules/mime-db/LICENSE +0 -23
  1848. package/node_modules/mime-db/README.md +0 -109
  1849. package/node_modules/mime-db/db.json +0 -9342
  1850. package/node_modules/mime-db/index.js +0 -12
  1851. package/node_modules/mime-db/package.json +0 -56
  1852. package/node_modules/mime-types/HISTORY.md +0 -428
  1853. package/node_modules/mime-types/LICENSE +0 -23
  1854. package/node_modules/mime-types/README.md +0 -126
  1855. package/node_modules/mime-types/index.js +0 -211
  1856. package/node_modules/mime-types/mimeScore.js +0 -57
  1857. package/node_modules/mime-types/package.json +0 -49
  1858. package/node_modules/mz/HISTORY.md +0 -66
  1859. package/node_modules/mz/LICENSE +0 -22
  1860. package/node_modules/mz/README.md +0 -106
  1861. package/node_modules/mz/child_process.js +0 -8
  1862. package/node_modules/mz/crypto.js +0 -9
  1863. package/node_modules/mz/dns.js +0 -16
  1864. package/node_modules/mz/fs.js +0 -62
  1865. package/node_modules/mz/index.js +0 -8
  1866. package/node_modules/mz/package.json +0 -44
  1867. package/node_modules/mz/readline.js +0 -64
  1868. package/node_modules/mz/zlib.js +0 -13
  1869. package/node_modules/netmask/CHANGELOG.md +0 -66
  1870. package/node_modules/netmask/LICENSE.md +0 -21
  1871. package/node_modules/netmask/README.md +0 -112
  1872. package/node_modules/netmask/dist/netmask.d.ts +0 -21
  1873. package/node_modules/netmask/dist/netmask.js +0 -68
  1874. package/node_modules/netmask/dist/netmask4.d.ts +0 -20
  1875. package/node_modules/netmask/dist/netmask4.js +0 -189
  1876. package/node_modules/netmask/dist/netmask6.d.ts +0 -20
  1877. package/node_modules/netmask/dist/netmask6.js +0 -187
  1878. package/node_modules/netmask/package.json +0 -45
  1879. package/node_modules/object-assign/index.js +0 -90
  1880. package/node_modules/object-assign/license +0 -21
  1881. package/node_modules/object-assign/package.json +0 -42
  1882. package/node_modules/object-assign/readme.md +0 -61
  1883. package/node_modules/once/LICENSE +0 -15
  1884. package/node_modules/once/README.md +0 -79
  1885. package/node_modules/once/once.js +0 -42
  1886. package/node_modules/once/package.json +0 -33
  1887. package/node_modules/pac-proxy-agent/LICENSE +0 -22
  1888. package/node_modules/pac-proxy-agent/README.md +0 -27
  1889. package/node_modules/pac-proxy-agent/dist/index.d.ts +0 -60
  1890. package/node_modules/pac-proxy-agent/dist/index.d.ts.map +0 -1
  1891. package/node_modules/pac-proxy-agent/dist/index.js +0 -238
  1892. package/node_modules/pac-proxy-agent/dist/index.js.map +0 -1
  1893. package/node_modules/pac-proxy-agent/package.json +0 -58
  1894. package/node_modules/pac-resolver/LICENSE +0 -22
  1895. package/node_modules/pac-resolver/README.md +0 -59
  1896. package/node_modules/pac-resolver/dist/dateRange.d.ts +0 -67
  1897. package/node_modules/pac-resolver/dist/dateRange.d.ts.map +0 -1
  1898. package/node_modules/pac-resolver/dist/dateRange.js +0 -73
  1899. package/node_modules/pac-resolver/dist/dateRange.js.map +0 -1
  1900. package/node_modules/pac-resolver/dist/dnsDomainIs.d.ts +0 -23
  1901. package/node_modules/pac-resolver/dist/dnsDomainIs.d.ts.map +0 -1
  1902. package/node_modules/pac-resolver/dist/dnsDomainIs.js +0 -30
  1903. package/node_modules/pac-resolver/dist/dnsDomainIs.js.map +0 -1
  1904. package/node_modules/pac-resolver/dist/dnsDomainLevels.d.ts +0 -18
  1905. package/node_modules/pac-resolver/dist/dnsDomainLevels.d.ts.map +0 -1
  1906. package/node_modules/pac-resolver/dist/dnsDomainLevels.js +0 -28
  1907. package/node_modules/pac-resolver/dist/dnsDomainLevels.js.map +0 -1
  1908. package/node_modules/pac-resolver/dist/dnsResolve.d.ts +0 -16
  1909. package/node_modules/pac-resolver/dist/dnsResolve.d.ts.map +0 -1
  1910. package/node_modules/pac-resolver/dist/dnsResolve.js +0 -32
  1911. package/node_modules/pac-resolver/dist/dnsResolve.js.map +0 -1
  1912. package/node_modules/pac-resolver/dist/index.d.ts +0 -50
  1913. package/node_modules/pac-resolver/dist/index.d.ts.map +0 -1
  1914. package/node_modules/pac-resolver/dist/index.js +0 -87
  1915. package/node_modules/pac-resolver/dist/index.js.map +0 -1
  1916. package/node_modules/pac-resolver/dist/ip.d.ts +0 -8
  1917. package/node_modules/pac-resolver/dist/ip.d.ts.map +0 -1
  1918. package/node_modules/pac-resolver/dist/ip.js +0 -50
  1919. package/node_modules/pac-resolver/dist/ip.js.map +0 -1
  1920. package/node_modules/pac-resolver/dist/isInNet.d.ts +0 -24
  1921. package/node_modules/pac-resolver/dist/isInNet.d.ts.map +0 -1
  1922. package/node_modules/pac-resolver/dist/isInNet.js +0 -42
  1923. package/node_modules/pac-resolver/dist/isInNet.js.map +0 -1
  1924. package/node_modules/pac-resolver/dist/isPlainHostName.d.ts +0 -18
  1925. package/node_modules/pac-resolver/dist/isPlainHostName.d.ts.map +0 -1
  1926. package/node_modules/pac-resolver/dist/isPlainHostName.js +0 -23
  1927. package/node_modules/pac-resolver/dist/isPlainHostName.js.map +0 -1
  1928. package/node_modules/pac-resolver/dist/isResolvable.d.ts +0 -8
  1929. package/node_modules/pac-resolver/dist/isResolvable.d.ts.map +0 -1
  1930. package/node_modules/pac-resolver/dist/isResolvable.js +0 -23
  1931. package/node_modules/pac-resolver/dist/isResolvable.js.map +0 -1
  1932. package/node_modules/pac-resolver/dist/localHostOrDomainIs.d.ts +0 -26
  1933. package/node_modules/pac-resolver/dist/localHostOrDomainIs.d.ts.map +0 -1
  1934. package/node_modules/pac-resolver/dist/localHostOrDomainIs.js +0 -40
  1935. package/node_modules/pac-resolver/dist/localHostOrDomainIs.js.map +0 -1
  1936. package/node_modules/pac-resolver/dist/myIpAddress.d.ts +0 -16
  1937. package/node_modules/pac-resolver/dist/myIpAddress.d.ts.map +0 -1
  1938. package/node_modules/pac-resolver/dist/myIpAddress.js +0 -50
  1939. package/node_modules/pac-resolver/dist/myIpAddress.js.map +0 -1
  1940. package/node_modules/pac-resolver/dist/shExpMatch.d.ts +0 -23
  1941. package/node_modules/pac-resolver/dist/shExpMatch.d.ts.map +0 -1
  1942. package/node_modules/pac-resolver/dist/shExpMatch.js +0 -41
  1943. package/node_modules/pac-resolver/dist/shExpMatch.js.map +0 -1
  1944. package/node_modules/pac-resolver/dist/timeRange.d.ts +0 -43
  1945. package/node_modules/pac-resolver/dist/timeRange.d.ts.map +0 -1
  1946. package/node_modules/pac-resolver/dist/timeRange.js +0 -92
  1947. package/node_modules/pac-resolver/dist/timeRange.js.map +0 -1
  1948. package/node_modules/pac-resolver/dist/util.d.ts +0 -6
  1949. package/node_modules/pac-resolver/dist/util.d.ts.map +0 -1
  1950. package/node_modules/pac-resolver/dist/util.js +0 -22
  1951. package/node_modules/pac-resolver/dist/util.js.map +0 -1
  1952. package/node_modules/pac-resolver/dist/weekdayRange.d.ts +0 -45
  1953. package/node_modules/pac-resolver/dist/weekdayRange.d.ts.map +0 -1
  1954. package/node_modules/pac-resolver/dist/weekdayRange.js +0 -91
  1955. package/node_modules/pac-resolver/dist/weekdayRange.js.map +0 -1
  1956. package/node_modules/pac-resolver/package.json +0 -47
  1957. package/node_modules/parse5/LICENSE +0 -19
  1958. package/node_modules/parse5/README.md +0 -38
  1959. package/node_modules/parse5/lib/common/doctype.js +0 -162
  1960. package/node_modules/parse5/lib/common/error-codes.js +0 -65
  1961. package/node_modules/parse5/lib/common/foreign-content.js +0 -265
  1962. package/node_modules/parse5/lib/common/html.js +0 -272
  1963. package/node_modules/parse5/lib/common/unicode.js +0 -109
  1964. package/node_modules/parse5/lib/extensions/error-reporting/mixin-base.js +0 -43
  1965. package/node_modules/parse5/lib/extensions/error-reporting/parser-mixin.js +0 -52
  1966. package/node_modules/parse5/lib/extensions/error-reporting/preprocessor-mixin.js +0 -24
  1967. package/node_modules/parse5/lib/extensions/error-reporting/tokenizer-mixin.js +0 -17
  1968. package/node_modules/parse5/lib/extensions/location-info/open-element-stack-mixin.js +0 -35
  1969. package/node_modules/parse5/lib/extensions/location-info/parser-mixin.js +0 -222
  1970. package/node_modules/parse5/lib/extensions/location-info/tokenizer-mixin.js +0 -146
  1971. package/node_modules/parse5/lib/extensions/position-tracking/preprocessor-mixin.js +0 -64
  1972. package/node_modules/parse5/lib/index.js +0 -29
  1973. package/node_modules/parse5/lib/parser/formatting-element-list.js +0 -181
  1974. package/node_modules/parse5/lib/parser/index.js +0 -2956
  1975. package/node_modules/parse5/lib/parser/open-element-stack.js +0 -482
  1976. package/node_modules/parse5/lib/serializer/index.js +0 -176
  1977. package/node_modules/parse5/lib/tokenizer/index.js +0 -2196
  1978. package/node_modules/parse5/lib/tokenizer/named-entity-data.js +0 -5
  1979. package/node_modules/parse5/lib/tokenizer/preprocessor.js +0 -159
  1980. package/node_modules/parse5/lib/tree-adapters/default.js +0 -217
  1981. package/node_modules/parse5/lib/utils/merge-options.js +0 -13
  1982. package/node_modules/parse5/lib/utils/mixin.js +0 -39
  1983. package/node_modules/parse5/package.json +0 -35
  1984. package/node_modules/parse5-htmlparser2-tree-adapter/LICENSE +0 -19
  1985. package/node_modules/parse5-htmlparser2-tree-adapter/README.md +0 -34
  1986. package/node_modules/parse5-htmlparser2-tree-adapter/lib/index.js +0 -348
  1987. package/node_modules/parse5-htmlparser2-tree-adapter/node_modules/parse5/LICENSE +0 -19
  1988. package/node_modules/parse5-htmlparser2-tree-adapter/node_modules/parse5/README.md +0 -38
  1989. package/node_modules/parse5-htmlparser2-tree-adapter/node_modules/parse5/lib/common/doctype.js +0 -162
  1990. package/node_modules/parse5-htmlparser2-tree-adapter/node_modules/parse5/lib/common/error-codes.js +0 -65
  1991. package/node_modules/parse5-htmlparser2-tree-adapter/node_modules/parse5/lib/common/foreign-content.js +0 -265
  1992. package/node_modules/parse5-htmlparser2-tree-adapter/node_modules/parse5/lib/common/html.js +0 -272
  1993. package/node_modules/parse5-htmlparser2-tree-adapter/node_modules/parse5/lib/common/unicode.js +0 -109
  1994. package/node_modules/parse5-htmlparser2-tree-adapter/node_modules/parse5/lib/extensions/error-reporting/mixin-base.js +0 -43
  1995. package/node_modules/parse5-htmlparser2-tree-adapter/node_modules/parse5/lib/extensions/error-reporting/parser-mixin.js +0 -52
  1996. package/node_modules/parse5-htmlparser2-tree-adapter/node_modules/parse5/lib/extensions/error-reporting/preprocessor-mixin.js +0 -24
  1997. package/node_modules/parse5-htmlparser2-tree-adapter/node_modules/parse5/lib/extensions/error-reporting/tokenizer-mixin.js +0 -17
  1998. package/node_modules/parse5-htmlparser2-tree-adapter/node_modules/parse5/lib/extensions/location-info/open-element-stack-mixin.js +0 -35
  1999. package/node_modules/parse5-htmlparser2-tree-adapter/node_modules/parse5/lib/extensions/location-info/parser-mixin.js +0 -223
  2000. package/node_modules/parse5-htmlparser2-tree-adapter/node_modules/parse5/lib/extensions/location-info/tokenizer-mixin.js +0 -146
  2001. package/node_modules/parse5-htmlparser2-tree-adapter/node_modules/parse5/lib/extensions/position-tracking/preprocessor-mixin.js +0 -64
  2002. package/node_modules/parse5-htmlparser2-tree-adapter/node_modules/parse5/lib/index.js +0 -29
  2003. package/node_modules/parse5-htmlparser2-tree-adapter/node_modules/parse5/lib/parser/formatting-element-list.js +0 -181
  2004. package/node_modules/parse5-htmlparser2-tree-adapter/node_modules/parse5/lib/parser/index.js +0 -2956
  2005. package/node_modules/parse5-htmlparser2-tree-adapter/node_modules/parse5/lib/parser/open-element-stack.js +0 -482
  2006. package/node_modules/parse5-htmlparser2-tree-adapter/node_modules/parse5/lib/serializer/index.js +0 -176
  2007. package/node_modules/parse5-htmlparser2-tree-adapter/node_modules/parse5/lib/tokenizer/index.js +0 -2196
  2008. package/node_modules/parse5-htmlparser2-tree-adapter/node_modules/parse5/lib/tokenizer/named-entity-data.js +0 -5
  2009. package/node_modules/parse5-htmlparser2-tree-adapter/node_modules/parse5/lib/tokenizer/preprocessor.js +0 -159
  2010. package/node_modules/parse5-htmlparser2-tree-adapter/node_modules/parse5/lib/tree-adapters/default.js +0 -221
  2011. package/node_modules/parse5-htmlparser2-tree-adapter/node_modules/parse5/lib/utils/merge-options.js +0 -13
  2012. package/node_modules/parse5-htmlparser2-tree-adapter/node_modules/parse5/lib/utils/mixin.js +0 -39
  2013. package/node_modules/parse5-htmlparser2-tree-adapter/node_modules/parse5/package.json +0 -35
  2014. package/node_modules/parse5-htmlparser2-tree-adapter/package.json +0 -27
  2015. package/node_modules/pend/LICENSE +0 -23
  2016. package/node_modules/pend/README.md +0 -41
  2017. package/node_modules/pend/index.js +0 -55
  2018. package/node_modules/pend/package.json +0 -18
  2019. package/node_modules/pend/test.js +0 -137
  2020. package/node_modules/proper-lockfile/CHANGELOG.md +0 -108
  2021. package/node_modules/proxy-agent/LICENSE +0 -22
  2022. package/node_modules/proxy-agent/README.md +0 -59
  2023. package/node_modules/proxy-agent/dist/index.d.ts +0 -62
  2024. package/node_modules/proxy-agent/dist/index.d.ts.map +0 -1
  2025. package/node_modules/proxy-agent/dist/index.js +0 -138
  2026. package/node_modules/proxy-agent/dist/index.js.map +0 -1
  2027. package/node_modules/proxy-agent/node_modules/lru-cache/LICENSE +0 -15
  2028. package/node_modules/proxy-agent/node_modules/lru-cache/README.md +0 -1117
  2029. package/node_modules/proxy-agent/node_modules/lru-cache/index.d.ts +0 -869
  2030. package/node_modules/proxy-agent/node_modules/lru-cache/index.js +0 -1227
  2031. package/node_modules/proxy-agent/node_modules/lru-cache/index.mjs +0 -1227
  2032. package/node_modules/proxy-agent/node_modules/lru-cache/package.json +0 -96
  2033. package/node_modules/proxy-agent/package.json +0 -60
  2034. package/node_modules/proxy-from-env/.eslintrc +0 -29
  2035. package/node_modules/proxy-from-env/.travis.yml +0 -10
  2036. package/node_modules/proxy-from-env/LICENSE +0 -20
  2037. package/node_modules/proxy-from-env/README.md +0 -131
  2038. package/node_modules/proxy-from-env/index.js +0 -108
  2039. package/node_modules/proxy-from-env/package.json +0 -34
  2040. package/node_modules/proxy-from-env/test.js +0 -483
  2041. package/node_modules/pump/.github/FUNDING.yml +0 -2
  2042. package/node_modules/pump/.travis.yml +0 -5
  2043. package/node_modules/pump/LICENSE +0 -21
  2044. package/node_modules/pump/README.md +0 -74
  2045. package/node_modules/pump/SECURITY.md +0 -5
  2046. package/node_modules/pump/empty.js +0 -1
  2047. package/node_modules/pump/index.js +0 -86
  2048. package/node_modules/pump/package.json +0 -30
  2049. package/node_modules/pump/test-browser.js +0 -66
  2050. package/node_modules/pump/test-node.js +0 -53
  2051. package/node_modules/require-directory/.jshintrc +0 -67
  2052. package/node_modules/require-directory/.npmignore +0 -1
  2053. package/node_modules/require-directory/.travis.yml +0 -3
  2054. package/node_modules/require-directory/LICENSE +0 -22
  2055. package/node_modules/require-directory/README.markdown +0 -184
  2056. package/node_modules/require-directory/index.js +0 -86
  2057. package/node_modules/require-directory/package.json +0 -40
  2058. package/node_modules/smart-buffer/.prettierrc.yaml +0 -5
  2059. package/node_modules/smart-buffer/.travis.yml +0 -13
  2060. package/node_modules/smart-buffer/LICENSE +0 -20
  2061. package/node_modules/smart-buffer/README.md +0 -633
  2062. package/node_modules/smart-buffer/build/smartbuffer.js +0 -1233
  2063. package/node_modules/smart-buffer/build/smartbuffer.js.map +0 -1
  2064. package/node_modules/smart-buffer/build/utils.js +0 -108
  2065. package/node_modules/smart-buffer/build/utils.js.map +0 -1
  2066. package/node_modules/smart-buffer/docs/CHANGELOG.md +0 -70
  2067. package/node_modules/smart-buffer/docs/README_v3.md +0 -367
  2068. package/node_modules/smart-buffer/docs/ROADMAP.md +0 -0
  2069. package/node_modules/smart-buffer/package.json +0 -79
  2070. package/node_modules/smart-buffer/typings/smartbuffer.d.ts +0 -755
  2071. package/node_modules/smart-buffer/typings/utils.d.ts +0 -66
  2072. package/node_modules/socks/.eslintrc.cjs +0 -11
  2073. package/node_modules/socks/.prettierrc.yaml +0 -7
  2074. package/node_modules/socks/LICENSE +0 -20
  2075. package/node_modules/socks/README.md +0 -686
  2076. package/node_modules/socks/build/client/socksclient.js +0 -793
  2077. package/node_modules/socks/build/client/socksclient.js.map +0 -1
  2078. package/node_modules/socks/build/common/constants.js +0 -108
  2079. package/node_modules/socks/build/common/constants.js.map +0 -1
  2080. package/node_modules/socks/build/common/helpers.js +0 -167
  2081. package/node_modules/socks/build/common/helpers.js.map +0 -1
  2082. package/node_modules/socks/build/common/receivebuffer.js +0 -43
  2083. package/node_modules/socks/build/common/receivebuffer.js.map +0 -1
  2084. package/node_modules/socks/build/common/util.js +0 -25
  2085. package/node_modules/socks/build/common/util.js.map +0 -1
  2086. package/node_modules/socks/build/index.js +0 -18
  2087. package/node_modules/socks/build/index.js.map +0 -1
  2088. package/node_modules/socks/docs/examples/index.md +0 -17
  2089. package/node_modules/socks/docs/examples/javascript/associateExample.md +0 -90
  2090. package/node_modules/socks/docs/examples/javascript/bindExample.md +0 -83
  2091. package/node_modules/socks/docs/examples/javascript/connectExample.md +0 -258
  2092. package/node_modules/socks/docs/examples/typescript/associateExample.md +0 -93
  2093. package/node_modules/socks/docs/examples/typescript/bindExample.md +0 -86
  2094. package/node_modules/socks/docs/examples/typescript/connectExample.md +0 -265
  2095. package/node_modules/socks/docs/index.md +0 -5
  2096. package/node_modules/socks/docs/migratingFromV1.md +0 -86
  2097. package/node_modules/socks/package.json +0 -58
  2098. package/node_modules/socks/typings/client/socksclient.d.ts +0 -162
  2099. package/node_modules/socks/typings/common/constants.d.ts +0 -151
  2100. package/node_modules/socks/typings/common/helpers.d.ts +0 -17
  2101. package/node_modules/socks/typings/common/receivebuffer.d.ts +0 -12
  2102. package/node_modules/socks/typings/common/util.d.ts +0 -14
  2103. package/node_modules/socks/typings/index.d.ts +0 -1
  2104. package/node_modules/socks-proxy-agent/LICENSE +0 -22
  2105. package/node_modules/socks-proxy-agent/README.md +0 -50
  2106. package/node_modules/socks-proxy-agent/dist/index.d.ts +0 -27
  2107. package/node_modules/socks-proxy-agent/dist/index.d.ts.map +0 -1
  2108. package/node_modules/socks-proxy-agent/dist/index.js +0 -195
  2109. package/node_modules/socks-proxy-agent/dist/index.js.map +0 -1
  2110. package/node_modules/socks-proxy-agent/package.json +0 -142
  2111. package/node_modules/source-map/CHANGELOG.md +0 -301
  2112. package/node_modules/source-map/LICENSE +0 -28
  2113. package/node_modules/source-map/README.md +0 -742
  2114. package/node_modules/source-map/dist/source-map.debug.js +0 -3234
  2115. package/node_modules/source-map/dist/source-map.js +0 -3233
  2116. package/node_modules/source-map/dist/source-map.min.js +0 -2
  2117. package/node_modules/source-map/dist/source-map.min.js.map +0 -1
  2118. package/node_modules/source-map/lib/array-set.js +0 -121
  2119. package/node_modules/source-map/lib/base64-vlq.js +0 -140
  2120. package/node_modules/source-map/lib/base64.js +0 -67
  2121. package/node_modules/source-map/lib/binary-search.js +0 -111
  2122. package/node_modules/source-map/lib/mapping-list.js +0 -79
  2123. package/node_modules/source-map/lib/quick-sort.js +0 -114
  2124. package/node_modules/source-map/lib/source-map-consumer.js +0 -1145
  2125. package/node_modules/source-map/lib/source-map-generator.js +0 -425
  2126. package/node_modules/source-map/lib/source-node.js +0 -413
  2127. package/node_modules/source-map/lib/util.js +0 -488
  2128. package/node_modules/source-map/package.json +0 -73
  2129. package/node_modules/source-map/source-map.d.ts +0 -98
  2130. package/node_modules/source-map/source-map.js +0 -8
  2131. package/node_modules/string-width/index.d.ts +0 -29
  2132. package/node_modules/string-width/index.js +0 -47
  2133. package/node_modules/string-width/license +0 -9
  2134. package/node_modules/string-width/node_modules/ansi-regex/index.d.ts +0 -37
  2135. package/node_modules/string-width/node_modules/ansi-regex/index.js +0 -10
  2136. package/node_modules/string-width/node_modules/ansi-regex/license +0 -9
  2137. package/node_modules/string-width/node_modules/ansi-regex/package.json +0 -55
  2138. package/node_modules/string-width/node_modules/ansi-regex/readme.md +0 -78
  2139. package/node_modules/string-width/node_modules/strip-ansi/index.d.ts +0 -17
  2140. package/node_modules/string-width/node_modules/strip-ansi/index.js +0 -4
  2141. package/node_modules/string-width/node_modules/strip-ansi/license +0 -9
  2142. package/node_modules/string-width/node_modules/strip-ansi/package.json +0 -54
  2143. package/node_modules/string-width/node_modules/strip-ansi/readme.md +0 -46
  2144. package/node_modules/string-width/package.json +0 -56
  2145. package/node_modules/string-width/readme.md +0 -50
  2146. package/node_modules/strip-ansi/index.d.ts +0 -15
  2147. package/node_modules/strip-ansi/index.js +0 -19
  2148. package/node_modules/strip-ansi/license +0 -9
  2149. package/node_modules/strip-ansi/package.json +0 -59
  2150. package/node_modules/strip-ansi/readme.md +0 -37
  2151. package/node_modules/strtok3/LICENSE.txt +0 -21
  2152. package/node_modules/strtok3/README.md +0 -399
  2153. package/node_modules/strtok3/lib/AbstractTokenizer.d.ts +0 -76
  2154. package/node_modules/strtok3/lib/AbstractTokenizer.js +0 -111
  2155. package/node_modules/strtok3/lib/BlobTokenizer.d.ts +0 -29
  2156. package/node_modules/strtok3/lib/BlobTokenizer.js +0 -53
  2157. package/node_modules/strtok3/lib/BufferTokenizer.d.ts +0 -29
  2158. package/node_modules/strtok3/lib/BufferTokenizer.js +0 -52
  2159. package/node_modules/strtok3/lib/FileTokenizer.d.ts +0 -37
  2160. package/node_modules/strtok3/lib/FileTokenizer.js +0 -61
  2161. package/node_modules/strtok3/lib/ReadStreamTokenizer.d.ts +0 -34
  2162. package/node_modules/strtok3/lib/ReadStreamTokenizer.js +0 -107
  2163. package/node_modules/strtok3/lib/core.d.ts +0 -40
  2164. package/node_modules/strtok3/lib/core.js +0 -62
  2165. package/node_modules/strtok3/lib/index.d.ts +0 -16
  2166. package/node_modules/strtok3/lib/index.js +0 -22
  2167. package/node_modules/strtok3/lib/stream/AbstractStreamReader.d.ts +0 -54
  2168. package/node_modules/strtok3/lib/stream/AbstractStreamReader.js +0 -71
  2169. package/node_modules/strtok3/lib/stream/Deferred.d.ts +0 -6
  2170. package/node_modules/strtok3/lib/stream/Deferred.js +0 -10
  2171. package/node_modules/strtok3/lib/stream/Errors.d.ts +0 -10
  2172. package/node_modules/strtok3/lib/stream/Errors.js +0 -16
  2173. package/node_modules/strtok3/lib/stream/StreamReader.d.ts +0 -29
  2174. package/node_modules/strtok3/lib/stream/StreamReader.js +0 -83
  2175. package/node_modules/strtok3/lib/stream/WebStreamByobReader.d.ts +0 -14
  2176. package/node_modules/strtok3/lib/stream/WebStreamByobReader.js +0 -27
  2177. package/node_modules/strtok3/lib/stream/WebStreamDefaultReader.d.ts +0 -19
  2178. package/node_modules/strtok3/lib/stream/WebStreamDefaultReader.js +0 -62
  2179. package/node_modules/strtok3/lib/stream/WebStreamReader.d.ts +0 -14
  2180. package/node_modules/strtok3/lib/stream/WebStreamReader.js +0 -13
  2181. package/node_modules/strtok3/lib/stream/WebStreamReaderFactory.d.ts +0 -5
  2182. package/node_modules/strtok3/lib/stream/WebStreamReaderFactory.js +0 -19
  2183. package/node_modules/strtok3/lib/stream/index.d.ts +0 -6
  2184. package/node_modules/strtok3/lib/stream/index.js +0 -5
  2185. package/node_modules/strtok3/lib/types.d.ts +0 -139
  2186. package/node_modules/strtok3/lib/types.js +0 -1
  2187. package/node_modules/strtok3/package.json +0 -94
  2188. package/node_modules/supports-color/browser.js +0 -5
  2189. package/node_modules/supports-color/index.js +0 -135
  2190. package/node_modules/supports-color/license +0 -9
  2191. package/node_modules/supports-color/package.json +0 -53
  2192. package/node_modules/supports-color/readme.md +0 -76
  2193. package/node_modules/thenify/History.md +0 -11
  2194. package/node_modules/thenify/LICENSE +0 -22
  2195. package/node_modules/thenify/README.md +0 -120
  2196. package/node_modules/thenify/index.js +0 -77
  2197. package/node_modules/thenify/package.json +0 -31
  2198. package/node_modules/thenify-all/History.md +0 -11
  2199. package/node_modules/thenify-all/LICENSE +0 -22
  2200. package/node_modules/thenify-all/README.md +0 -66
  2201. package/node_modules/thenify-all/index.js +0 -73
  2202. package/node_modules/thenify-all/package.json +0 -34
  2203. package/node_modules/token-types/LICENSE.txt +0 -9
  2204. package/node_modules/token-types/README.md +0 -120
  2205. package/node_modules/token-types/lib/index.d.ts +0 -135
  2206. package/node_modules/token-types/lib/index.js +0 -401
  2207. package/node_modules/token-types/package.json +0 -81
  2208. package/node_modules/uint8array-extras/index.d.ts +0 -331
  2209. package/node_modules/uint8array-extras/index.js +0 -318
  2210. package/node_modules/uint8array-extras/license +0 -9
  2211. package/node_modules/uint8array-extras/package.json +0 -54
  2212. package/node_modules/uint8array-extras/readme.md +0 -318
  2213. package/node_modules/uuid/LICENSE.md +0 -9
  2214. package/node_modules/uuid/README.md +0 -491
  2215. package/node_modules/uuid/dist/index.d.ts +0 -15
  2216. package/node_modules/uuid/dist/index.js +0 -14
  2217. package/node_modules/uuid/dist/max.d.ts +0 -2
  2218. package/node_modules/uuid/dist/max.js +0 -1
  2219. package/node_modules/uuid/dist/md5.d.ts +0 -2
  2220. package/node_modules/uuid/dist/md5.js +0 -135
  2221. package/node_modules/uuid/dist/nil.d.ts +0 -2
  2222. package/node_modules/uuid/dist/nil.js +0 -1
  2223. package/node_modules/uuid/dist/parse.d.ts +0 -3
  2224. package/node_modules/uuid/dist/parse.js +0 -9
  2225. package/node_modules/uuid/dist/regex.d.ts +0 -2
  2226. package/node_modules/uuid/dist/regex.js +0 -1
  2227. package/node_modules/uuid/dist/rng.d.ts +0 -1
  2228. package/node_modules/uuid/dist/rng.js +0 -4
  2229. package/node_modules/uuid/dist/sha1.d.ts +0 -2
  2230. package/node_modules/uuid/dist/sha1.js +0 -70
  2231. package/node_modules/uuid/dist/stringify.d.ts +0 -3
  2232. package/node_modules/uuid/dist/stringify.js +0 -35
  2233. package/node_modules/uuid/dist/types.d.ts +0 -22
  2234. package/node_modules/uuid/dist/types.js +0 -1
  2235. package/node_modules/uuid/dist/uuid-bin.d.ts +0 -1
  2236. package/node_modules/uuid/dist/uuid-bin.js +0 -70
  2237. package/node_modules/uuid/dist/v1.d.ts +0 -11
  2238. package/node_modules/uuid/dist/v1.js +0 -83
  2239. package/node_modules/uuid/dist/v1ToV6.d.ts +0 -3
  2240. package/node_modules/uuid/dist/v1ToV6.js +0 -10
  2241. package/node_modules/uuid/dist/v3.d.ts +0 -9
  2242. package/node_modules/uuid/dist/v3.js +0 -9
  2243. package/node_modules/uuid/dist/v35.d.ts +0 -7
  2244. package/node_modules/uuid/dist/v35.js +0 -39
  2245. package/node_modules/uuid/dist/v4.d.ts +0 -4
  2246. package/node_modules/uuid/dist/v4.js +0 -29
  2247. package/node_modules/uuid/dist/v5.d.ts +0 -9
  2248. package/node_modules/uuid/dist/v5.js +0 -9
  2249. package/node_modules/uuid/dist/v6.d.ts +0 -4
  2250. package/node_modules/uuid/dist/v6.js +0 -20
  2251. package/node_modules/uuid/dist/v6ToV1.d.ts +0 -2
  2252. package/node_modules/uuid/dist/v6ToV1.js +0 -10
  2253. package/node_modules/uuid/dist/v7.d.ts +0 -9
  2254. package/node_modules/uuid/dist/v7.js +0 -65
  2255. package/node_modules/uuid/dist/validate.d.ts +0 -2
  2256. package/node_modules/uuid/dist/validate.js +0 -5
  2257. package/node_modules/uuid/dist/version.d.ts +0 -2
  2258. package/node_modules/uuid/dist/version.js +0 -8
  2259. package/node_modules/uuid/dist-node/bin/uuid +0 -2
  2260. package/node_modules/uuid/dist-node/index.js +0 -14
  2261. package/node_modules/uuid/dist-node/max.js +0 -1
  2262. package/node_modules/uuid/dist-node/md5.js +0 -11
  2263. package/node_modules/uuid/dist-node/nil.js +0 -1
  2264. package/node_modules/uuid/dist-node/parse.js +0 -9
  2265. package/node_modules/uuid/dist-node/regex.js +0 -1
  2266. package/node_modules/uuid/dist-node/rng.js +0 -4
  2267. package/node_modules/uuid/dist-node/sha1.js +0 -11
  2268. package/node_modules/uuid/dist-node/stringify.js +0 -35
  2269. package/node_modules/uuid/dist-node/types.js +0 -1
  2270. package/node_modules/uuid/dist-node/uuid-bin.js +0 -70
  2271. package/node_modules/uuid/dist-node/v1.js +0 -83
  2272. package/node_modules/uuid/dist-node/v1ToV6.js +0 -10
  2273. package/node_modules/uuid/dist-node/v3.js +0 -9
  2274. package/node_modules/uuid/dist-node/v35.js +0 -39
  2275. package/node_modules/uuid/dist-node/v4.js +0 -29
  2276. package/node_modules/uuid/dist-node/v5.js +0 -9
  2277. package/node_modules/uuid/dist-node/v6.js +0 -20
  2278. package/node_modules/uuid/dist-node/v6ToV1.js +0 -10
  2279. package/node_modules/uuid/dist-node/v7.js +0 -65
  2280. package/node_modules/uuid/dist-node/validate.js +0 -5
  2281. package/node_modules/uuid/dist-node/version.js +0 -8
  2282. package/node_modules/uuid/package.json +0 -110
  2283. package/node_modules/wrap-ansi/index.js +0 -216
  2284. package/node_modules/wrap-ansi/license +0 -9
  2285. package/node_modules/wrap-ansi/node_modules/ansi-regex/index.d.ts +0 -37
  2286. package/node_modules/wrap-ansi/node_modules/ansi-regex/index.js +0 -10
  2287. package/node_modules/wrap-ansi/node_modules/ansi-regex/license +0 -9
  2288. package/node_modules/wrap-ansi/node_modules/ansi-regex/package.json +0 -55
  2289. package/node_modules/wrap-ansi/node_modules/ansi-regex/readme.md +0 -78
  2290. package/node_modules/wrap-ansi/node_modules/strip-ansi/index.d.ts +0 -17
  2291. package/node_modules/wrap-ansi/node_modules/strip-ansi/index.js +0 -4
  2292. package/node_modules/wrap-ansi/node_modules/strip-ansi/license +0 -9
  2293. package/node_modules/wrap-ansi/node_modules/strip-ansi/package.json +0 -54
  2294. package/node_modules/wrap-ansi/node_modules/strip-ansi/readme.md +0 -46
  2295. package/node_modules/wrap-ansi/package.json +0 -62
  2296. package/node_modules/wrap-ansi/readme.md +0 -91
  2297. package/node_modules/wrappy/LICENSE +0 -15
  2298. package/node_modules/wrappy/README.md +0 -36
  2299. package/node_modules/wrappy/package.json +0 -29
  2300. package/node_modules/wrappy/wrappy.js +0 -33
  2301. package/node_modules/y18n/CHANGELOG.md +0 -100
  2302. package/node_modules/y18n/LICENSE +0 -13
  2303. package/node_modules/y18n/README.md +0 -127
  2304. package/node_modules/y18n/build/index.cjs +0 -203
  2305. package/node_modules/y18n/build/lib/cjs.js +0 -6
  2306. package/node_modules/y18n/build/lib/index.js +0 -174
  2307. package/node_modules/y18n/build/lib/platform-shims/node.js +0 -19
  2308. package/node_modules/y18n/index.mjs +0 -8
  2309. package/node_modules/y18n/package.json +0 -70
  2310. package/node_modules/yargs/CHANGELOG.md +0 -88
  2311. package/node_modules/yargs/LICENSE +0 -21
  2312. package/node_modules/yargs/README.md +0 -202
  2313. package/node_modules/yargs/browser.mjs +0 -7
  2314. package/node_modules/yargs/build/index.cjs +0 -2920
  2315. package/node_modules/yargs/build/lib/argsert.js +0 -62
  2316. package/node_modules/yargs/build/lib/command.js +0 -382
  2317. package/node_modules/yargs/build/lib/completion-templates.js +0 -47
  2318. package/node_modules/yargs/build/lib/completion.js +0 -128
  2319. package/node_modules/yargs/build/lib/middleware.js +0 -53
  2320. package/node_modules/yargs/build/lib/parse-command.js +0 -32
  2321. package/node_modules/yargs/build/lib/typings/common-types.js +0 -9
  2322. package/node_modules/yargs/build/lib/typings/yargs-parser-types.js +0 -1
  2323. package/node_modules/yargs/build/lib/usage.js +0 -548
  2324. package/node_modules/yargs/build/lib/utils/apply-extends.js +0 -59
  2325. package/node_modules/yargs/build/lib/utils/is-promise.js +0 -5
  2326. package/node_modules/yargs/build/lib/utils/levenshtein.js +0 -26
  2327. package/node_modules/yargs/build/lib/utils/obj-filter.js +0 -10
  2328. package/node_modules/yargs/build/lib/utils/process-argv.js +0 -17
  2329. package/node_modules/yargs/build/lib/utils/set-blocking.js +0 -12
  2330. package/node_modules/yargs/build/lib/utils/which-module.js +0 -10
  2331. package/node_modules/yargs/build/lib/validation.js +0 -308
  2332. package/node_modules/yargs/build/lib/yargs-factory.js +0 -1143
  2333. package/node_modules/yargs/build/lib/yerror.js +0 -7
  2334. package/node_modules/yargs/helpers/helpers.mjs +0 -10
  2335. package/node_modules/yargs/helpers/index.js +0 -14
  2336. package/node_modules/yargs/helpers/package.json +0 -3
  2337. package/node_modules/yargs/index.cjs +0 -39
  2338. package/node_modules/yargs/index.mjs +0 -8
  2339. package/node_modules/yargs/lib/platform-shims/browser.mjs +0 -92
  2340. package/node_modules/yargs/lib/platform-shims/esm.mjs +0 -67
  2341. package/node_modules/yargs/locales/be.json +0 -46
  2342. package/node_modules/yargs/locales/de.json +0 -46
  2343. package/node_modules/yargs/locales/en.json +0 -51
  2344. package/node_modules/yargs/locales/es.json +0 -46
  2345. package/node_modules/yargs/locales/fi.json +0 -49
  2346. package/node_modules/yargs/locales/fr.json +0 -53
  2347. package/node_modules/yargs/locales/hi.json +0 -49
  2348. package/node_modules/yargs/locales/hu.json +0 -46
  2349. package/node_modules/yargs/locales/id.json +0 -50
  2350. package/node_modules/yargs/locales/it.json +0 -46
  2351. package/node_modules/yargs/locales/ja.json +0 -51
  2352. package/node_modules/yargs/locales/ko.json +0 -49
  2353. package/node_modules/yargs/locales/nb.json +0 -44
  2354. package/node_modules/yargs/locales/nl.json +0 -49
  2355. package/node_modules/yargs/locales/nn.json +0 -44
  2356. package/node_modules/yargs/locales/pirate.json +0 -13
  2357. package/node_modules/yargs/locales/pl.json +0 -49
  2358. package/node_modules/yargs/locales/pt.json +0 -45
  2359. package/node_modules/yargs/locales/pt_BR.json +0 -48
  2360. package/node_modules/yargs/locales/ru.json +0 -46
  2361. package/node_modules/yargs/locales/th.json +0 -46
  2362. package/node_modules/yargs/locales/tr.json +0 -48
  2363. package/node_modules/yargs/locales/zh_CN.json +0 -48
  2364. package/node_modules/yargs/locales/zh_TW.json +0 -47
  2365. package/node_modules/yargs/package.json +0 -122
  2366. package/node_modules/yargs/yargs +0 -9
  2367. package/node_modules/yargs-parser/CHANGELOG.md +0 -263
  2368. package/node_modules/yargs-parser/LICENSE.txt +0 -14
  2369. package/node_modules/yargs-parser/README.md +0 -518
  2370. package/node_modules/yargs-parser/browser.js +0 -29
  2371. package/node_modules/yargs-parser/build/index.cjs +0 -1042
  2372. package/node_modules/yargs-parser/build/lib/index.js +0 -59
  2373. package/node_modules/yargs-parser/build/lib/string-utils.js +0 -65
  2374. package/node_modules/yargs-parser/build/lib/tokenize-arg-string.js +0 -40
  2375. package/node_modules/yargs-parser/build/lib/yargs-parser-types.js +0 -12
  2376. package/node_modules/yargs-parser/build/lib/yargs-parser.js +0 -1037
  2377. package/node_modules/yargs-parser/package.json +0 -87
  2378. package/node_modules/yauzl/LICENSE +0 -21
  2379. package/node_modules/yauzl/README.md +0 -658
  2380. package/node_modules/yauzl/index.js +0 -796
  2381. package/node_modules/yauzl/package.json +0 -40
  2382. /package/node_modules/{@entelligentsia/pi-coding-agent/dist/core/tools → @earendil-works/pi-agent-core/dist/harness/utils}/truncate.d.ts +0 -0
  2383. /package/node_modules/{@entelligentsia → @earendil-works}/pi-agent-core/dist/types.js +0 -0
  2384. /package/node_modules/{@entelligentsia → @earendil-works}/pi-ai/dist/api-registry.d.ts +0 -0
  2385. /package/node_modules/{@entelligentsia → @earendil-works}/pi-ai/dist/api-registry.d.ts.map +0 -0
  2386. /package/node_modules/{@entelligentsia → @earendil-works}/pi-ai/dist/api-registry.js +0 -0
  2387. /package/node_modules/{@entelligentsia → @earendil-works}/pi-ai/dist/api-registry.js.map +0 -0
  2388. /package/node_modules/{@entelligentsia → @earendil-works}/pi-ai/dist/bedrock-provider.d.ts +0 -0
  2389. /package/node_modules/{@entelligentsia → @earendil-works}/pi-ai/dist/bedrock-provider.d.ts.map +0 -0
  2390. /package/node_modules/{@entelligentsia → @earendil-works}/pi-ai/dist/bedrock-provider.js +0 -0
  2391. /package/node_modules/{@entelligentsia → @earendil-works}/pi-ai/dist/bedrock-provider.js.map +0 -0
  2392. /package/node_modules/{@entelligentsia → @earendil-works}/pi-ai/dist/cli.d.ts +0 -0
  2393. /package/node_modules/{@entelligentsia → @earendil-works}/pi-ai/dist/env-api-keys.d.ts +0 -0
  2394. /package/node_modules/{@entelligentsia → @earendil-works}/pi-ai/dist/models.d.ts +0 -0
  2395. /package/node_modules/{@entelligentsia → @earendil-works}/pi-ai/dist/models.d.ts.map +0 -0
  2396. /package/node_modules/{@entelligentsia → @earendil-works}/pi-ai/dist/models.js +0 -0
  2397. /package/node_modules/{@entelligentsia → @earendil-works}/pi-ai/dist/models.js.map +0 -0
  2398. /package/node_modules/{@entelligentsia → @earendil-works}/pi-ai/dist/oauth.d.ts +0 -0
  2399. /package/node_modules/{@entelligentsia → @earendil-works}/pi-ai/dist/oauth.d.ts.map +0 -0
  2400. /package/node_modules/{@entelligentsia → @earendil-works}/pi-ai/dist/oauth.js +0 -0
  2401. /package/node_modules/{@entelligentsia → @earendil-works}/pi-ai/dist/oauth.js.map +0 -0
  2402. /package/node_modules/{@entelligentsia → @earendil-works}/pi-ai/dist/providers/amazon-bedrock.d.ts +0 -0
  2403. /package/node_modules/{@entelligentsia → @earendil-works}/pi-ai/dist/providers/anthropic.d.ts +0 -0
  2404. /package/node_modules/{@entelligentsia → @earendil-works}/pi-ai/dist/providers/azure-openai-responses.d.ts +0 -0
  2405. /package/node_modules/{@entelligentsia → @earendil-works}/pi-ai/dist/providers/azure-openai-responses.d.ts.map +0 -0
  2406. /package/node_modules/{@entelligentsia → @earendil-works}/pi-ai/dist/providers/azure-openai-responses.js +0 -0
  2407. /package/node_modules/{@entelligentsia → @earendil-works}/pi-ai/dist/providers/azure-openai-responses.js.map +0 -0
  2408. /package/node_modules/{@entelligentsia → @earendil-works}/pi-ai/dist/providers/cloudflare.d.ts +0 -0
  2409. /package/node_modules/{@entelligentsia → @earendil-works}/pi-ai/dist/providers/cloudflare.d.ts.map +0 -0
  2410. /package/node_modules/{@entelligentsia → @earendil-works}/pi-ai/dist/providers/cloudflare.js +0 -0
  2411. /package/node_modules/{@entelligentsia → @earendil-works}/pi-ai/dist/providers/cloudflare.js.map +0 -0
  2412. /package/node_modules/{@entelligentsia → @earendil-works}/pi-ai/dist/providers/faux.d.ts +0 -0
  2413. /package/node_modules/{@entelligentsia → @earendil-works}/pi-ai/dist/providers/faux.d.ts.map +0 -0
  2414. /package/node_modules/{@entelligentsia → @earendil-works}/pi-ai/dist/providers/faux.js +0 -0
  2415. /package/node_modules/{@entelligentsia → @earendil-works}/pi-ai/dist/providers/faux.js.map +0 -0
  2416. /package/node_modules/{@entelligentsia → @earendil-works}/pi-ai/dist/providers/github-copilot-headers.d.ts +0 -0
  2417. /package/node_modules/{@entelligentsia → @earendil-works}/pi-ai/dist/providers/github-copilot-headers.d.ts.map +0 -0
  2418. /package/node_modules/{@entelligentsia → @earendil-works}/pi-ai/dist/providers/github-copilot-headers.js +0 -0
  2419. /package/node_modules/{@entelligentsia → @earendil-works}/pi-ai/dist/providers/github-copilot-headers.js.map +0 -0
  2420. /package/node_modules/{@entelligentsia → @earendil-works}/pi-ai/dist/providers/google-shared.d.ts +0 -0
  2421. /package/node_modules/{@entelligentsia → @earendil-works}/pi-ai/dist/providers/google-shared.d.ts.map +0 -0
  2422. /package/node_modules/{@entelligentsia → @earendil-works}/pi-ai/dist/providers/google-shared.js +0 -0
  2423. /package/node_modules/{@entelligentsia → @earendil-works}/pi-ai/dist/providers/google-shared.js.map +0 -0
  2424. /package/node_modules/{@entelligentsia → @earendil-works}/pi-ai/dist/providers/google-vertex.d.ts +0 -0
  2425. /package/node_modules/{@entelligentsia → @earendil-works}/pi-ai/dist/providers/google-vertex.d.ts.map +0 -0
  2426. /package/node_modules/{@entelligentsia → @earendil-works}/pi-ai/dist/providers/google-vertex.js +0 -0
  2427. /package/node_modules/{@entelligentsia → @earendil-works}/pi-ai/dist/providers/google-vertex.js.map +0 -0
  2428. /package/node_modules/{@entelligentsia → @earendil-works}/pi-ai/dist/providers/google.d.ts +0 -0
  2429. /package/node_modules/{@entelligentsia → @earendil-works}/pi-ai/dist/providers/google.d.ts.map +0 -0
  2430. /package/node_modules/{@entelligentsia → @earendil-works}/pi-ai/dist/providers/google.js +0 -0
  2431. /package/node_modules/{@entelligentsia → @earendil-works}/pi-ai/dist/providers/google.js.map +0 -0
  2432. /package/node_modules/{@entelligentsia → @earendil-works}/pi-ai/dist/providers/mistral.d.ts +0 -0
  2433. /package/node_modules/{@entelligentsia → @earendil-works}/pi-ai/dist/providers/mistral.d.ts.map +0 -0
  2434. /package/node_modules/{@entelligentsia → @earendil-works}/pi-ai/dist/providers/mistral.js +0 -0
  2435. /package/node_modules/{@entelligentsia → @earendil-works}/pi-ai/dist/providers/mistral.js.map +0 -0
  2436. /package/node_modules/{@entelligentsia → @earendil-works}/pi-ai/dist/providers/openai-codex-responses.d.ts +0 -0
  2437. /package/node_modules/{@entelligentsia → @earendil-works}/pi-ai/dist/providers/openai-completions.d.ts +0 -0
  2438. /package/node_modules/{@entelligentsia → @earendil-works}/pi-ai/dist/providers/openai-responses-shared.d.ts +0 -0
  2439. /package/node_modules/{@entelligentsia → @earendil-works}/pi-ai/dist/providers/openai-responses-shared.d.ts.map +0 -0
  2440. /package/node_modules/{@entelligentsia → @earendil-works}/pi-ai/dist/providers/openai-responses-shared.js +0 -0
  2441. /package/node_modules/{@entelligentsia → @earendil-works}/pi-ai/dist/providers/openai-responses-shared.js.map +0 -0
  2442. /package/node_modules/{@entelligentsia → @earendil-works}/pi-ai/dist/providers/openai-responses.d.ts +0 -0
  2443. /package/node_modules/{@entelligentsia → @earendil-works}/pi-ai/dist/providers/openai-responses.d.ts.map +0 -0
  2444. /package/node_modules/{@entelligentsia → @earendil-works}/pi-ai/dist/providers/openai-responses.js +0 -0
  2445. /package/node_modules/{@entelligentsia → @earendil-works}/pi-ai/dist/providers/openai-responses.js.map +0 -0
  2446. /package/node_modules/{@entelligentsia → @earendil-works}/pi-ai/dist/providers/register-builtins.d.ts +0 -0
  2447. /package/node_modules/{@entelligentsia → @earendil-works}/pi-ai/dist/providers/register-builtins.d.ts.map +0 -0
  2448. /package/node_modules/{@entelligentsia → @earendil-works}/pi-ai/dist/providers/register-builtins.js +0 -0
  2449. /package/node_modules/{@entelligentsia → @earendil-works}/pi-ai/dist/providers/register-builtins.js.map +0 -0
  2450. /package/node_modules/{@entelligentsia → @earendil-works}/pi-ai/dist/providers/simple-options.d.ts +0 -0
  2451. /package/node_modules/{@entelligentsia → @earendil-works}/pi-ai/dist/providers/transform-messages.d.ts +0 -0
  2452. /package/node_modules/{@entelligentsia → @earendil-works}/pi-ai/dist/providers/transform-messages.d.ts.map +0 -0
  2453. /package/node_modules/{@entelligentsia → @earendil-works}/pi-ai/dist/providers/transform-messages.js +0 -0
  2454. /package/node_modules/{@entelligentsia → @earendil-works}/pi-ai/dist/providers/transform-messages.js.map +0 -0
  2455. /package/node_modules/{@entelligentsia → @earendil-works}/pi-ai/dist/session-resources.d.ts +0 -0
  2456. /package/node_modules/{@entelligentsia → @earendil-works}/pi-ai/dist/session-resources.d.ts.map +0 -0
  2457. /package/node_modules/{@entelligentsia → @earendil-works}/pi-ai/dist/session-resources.js +0 -0
  2458. /package/node_modules/{@entelligentsia → @earendil-works}/pi-ai/dist/session-resources.js.map +0 -0
  2459. /package/node_modules/{@entelligentsia → @earendil-works}/pi-ai/dist/stream.d.ts +0 -0
  2460. /package/node_modules/{@entelligentsia → @earendil-works}/pi-ai/dist/stream.d.ts.map +0 -0
  2461. /package/node_modules/{@entelligentsia → @earendil-works}/pi-ai/dist/stream.js +0 -0
  2462. /package/node_modules/{@entelligentsia → @earendil-works}/pi-ai/dist/stream.js.map +0 -0
  2463. /package/node_modules/{@entelligentsia → @earendil-works}/pi-ai/dist/types.js +0 -0
  2464. /package/node_modules/{@entelligentsia → @earendil-works}/pi-ai/dist/utils/diagnostics.d.ts +0 -0
  2465. /package/node_modules/{@entelligentsia → @earendil-works}/pi-ai/dist/utils/diagnostics.d.ts.map +0 -0
  2466. /package/node_modules/{@entelligentsia → @earendil-works}/pi-ai/dist/utils/diagnostics.js +0 -0
  2467. /package/node_modules/{@entelligentsia → @earendil-works}/pi-ai/dist/utils/diagnostics.js.map +0 -0
  2468. /package/node_modules/{@entelligentsia → @earendil-works}/pi-ai/dist/utils/event-stream.d.ts +0 -0
  2469. /package/node_modules/{@entelligentsia → @earendil-works}/pi-ai/dist/utils/event-stream.d.ts.map +0 -0
  2470. /package/node_modules/{@entelligentsia → @earendil-works}/pi-ai/dist/utils/event-stream.js +0 -0
  2471. /package/node_modules/{@entelligentsia → @earendil-works}/pi-ai/dist/utils/event-stream.js.map +0 -0
  2472. /package/node_modules/{@entelligentsia → @earendil-works}/pi-ai/dist/utils/hash.d.ts +0 -0
  2473. /package/node_modules/{@entelligentsia → @earendil-works}/pi-ai/dist/utils/hash.d.ts.map +0 -0
  2474. /package/node_modules/{@entelligentsia → @earendil-works}/pi-ai/dist/utils/hash.js +0 -0
  2475. /package/node_modules/{@entelligentsia → @earendil-works}/pi-ai/dist/utils/hash.js.map +0 -0
  2476. /package/node_modules/{@entelligentsia → @earendil-works}/pi-ai/dist/utils/headers.d.ts +0 -0
  2477. /package/node_modules/{@entelligentsia → @earendil-works}/pi-ai/dist/utils/headers.d.ts.map +0 -0
  2478. /package/node_modules/{@entelligentsia → @earendil-works}/pi-ai/dist/utils/headers.js +0 -0
  2479. /package/node_modules/{@entelligentsia → @earendil-works}/pi-ai/dist/utils/headers.js.map +0 -0
  2480. /package/node_modules/{@entelligentsia → @earendil-works}/pi-ai/dist/utils/json-parse.d.ts +0 -0
  2481. /package/node_modules/{@entelligentsia → @earendil-works}/pi-ai/dist/utils/json-parse.d.ts.map +0 -0
  2482. /package/node_modules/{@entelligentsia → @earendil-works}/pi-ai/dist/utils/json-parse.js +0 -0
  2483. /package/node_modules/{@entelligentsia → @earendil-works}/pi-ai/dist/utils/json-parse.js.map +0 -0
  2484. /package/node_modules/{@entelligentsia → @earendil-works}/pi-ai/dist/utils/oauth/anthropic.d.ts +0 -0
  2485. /package/node_modules/{@entelligentsia → @earendil-works}/pi-ai/dist/utils/oauth/anthropic.d.ts.map +0 -0
  2486. /package/node_modules/{@entelligentsia → @earendil-works}/pi-ai/dist/utils/oauth/anthropic.js +0 -0
  2487. /package/node_modules/{@entelligentsia → @earendil-works}/pi-ai/dist/utils/oauth/anthropic.js.map +0 -0
  2488. /package/node_modules/{@entelligentsia → @earendil-works}/pi-ai/dist/utils/oauth/github-copilot.d.ts +0 -0
  2489. /package/node_modules/{@entelligentsia → @earendil-works}/pi-ai/dist/utils/oauth/github-copilot.d.ts.map +0 -0
  2490. /package/node_modules/{@entelligentsia → @earendil-works}/pi-ai/dist/utils/oauth/github-copilot.js +0 -0
  2491. /package/node_modules/{@entelligentsia → @earendil-works}/pi-ai/dist/utils/oauth/github-copilot.js.map +0 -0
  2492. /package/node_modules/{@entelligentsia → @earendil-works}/pi-ai/dist/utils/oauth/index.d.ts +0 -0
  2493. /package/node_modules/{@entelligentsia → @earendil-works}/pi-ai/dist/utils/oauth/index.d.ts.map +0 -0
  2494. /package/node_modules/{@entelligentsia → @earendil-works}/pi-ai/dist/utils/oauth/index.js +0 -0
  2495. /package/node_modules/{@entelligentsia → @earendil-works}/pi-ai/dist/utils/oauth/index.js.map +0 -0
  2496. /package/node_modules/{@entelligentsia → @earendil-works}/pi-ai/dist/utils/oauth/oauth-page.d.ts +0 -0
  2497. /package/node_modules/{@entelligentsia → @earendil-works}/pi-ai/dist/utils/oauth/oauth-page.d.ts.map +0 -0
  2498. /package/node_modules/{@entelligentsia → @earendil-works}/pi-ai/dist/utils/oauth/oauth-page.js +0 -0
  2499. /package/node_modules/{@entelligentsia → @earendil-works}/pi-ai/dist/utils/oauth/oauth-page.js.map +0 -0
  2500. /package/node_modules/{@entelligentsia → @earendil-works}/pi-ai/dist/utils/oauth/openai-codex.d.ts +0 -0
  2501. /package/node_modules/{@entelligentsia → @earendil-works}/pi-ai/dist/utils/oauth/openai-codex.d.ts.map +0 -0
  2502. /package/node_modules/{@entelligentsia → @earendil-works}/pi-ai/dist/utils/oauth/openai-codex.js +0 -0
  2503. /package/node_modules/{@entelligentsia → @earendil-works}/pi-ai/dist/utils/oauth/openai-codex.js.map +0 -0
  2504. /package/node_modules/{@entelligentsia → @earendil-works}/pi-ai/dist/utils/oauth/pkce.d.ts +0 -0
  2505. /package/node_modules/{@entelligentsia → @earendil-works}/pi-ai/dist/utils/oauth/pkce.d.ts.map +0 -0
  2506. /package/node_modules/{@entelligentsia → @earendil-works}/pi-ai/dist/utils/oauth/pkce.js +0 -0
  2507. /package/node_modules/{@entelligentsia → @earendil-works}/pi-ai/dist/utils/oauth/pkce.js.map +0 -0
  2508. /package/node_modules/{@entelligentsia → @earendil-works}/pi-ai/dist/utils/oauth/types.d.ts +0 -0
  2509. /package/node_modules/{@entelligentsia → @earendil-works}/pi-ai/dist/utils/oauth/types.d.ts.map +0 -0
  2510. /package/node_modules/{@entelligentsia → @earendil-works}/pi-ai/dist/utils/oauth/types.js +0 -0
  2511. /package/node_modules/{@entelligentsia → @earendil-works}/pi-ai/dist/utils/oauth/types.js.map +0 -0
  2512. /package/node_modules/{@entelligentsia → @earendil-works}/pi-ai/dist/utils/sanitize-unicode.d.ts +0 -0
  2513. /package/node_modules/{@entelligentsia → @earendil-works}/pi-ai/dist/utils/sanitize-unicode.d.ts.map +0 -0
  2514. /package/node_modules/{@entelligentsia → @earendil-works}/pi-ai/dist/utils/sanitize-unicode.js +0 -0
  2515. /package/node_modules/{@entelligentsia → @earendil-works}/pi-ai/dist/utils/sanitize-unicode.js.map +0 -0
  2516. /package/node_modules/{@entelligentsia → @earendil-works}/pi-ai/dist/utils/typebox-helpers.d.ts +0 -0
  2517. /package/node_modules/{@entelligentsia → @earendil-works}/pi-ai/dist/utils/typebox-helpers.d.ts.map +0 -0
  2518. /package/node_modules/{@entelligentsia → @earendil-works}/pi-ai/dist/utils/typebox-helpers.js +0 -0
  2519. /package/node_modules/{@entelligentsia → @earendil-works}/pi-ai/dist/utils/typebox-helpers.js.map +0 -0
  2520. /package/node_modules/{@entelligentsia → @earendil-works}/pi-ai/dist/utils/validation.d.ts +0 -0
  2521. /package/node_modules/{@entelligentsia → @earendil-works}/pi-ai/dist/utils/validation.d.ts.map +0 -0
  2522. /package/node_modules/{@entelligentsia → @earendil-works}/pi-ai/dist/utils/validation.js +0 -0
  2523. /package/node_modules/{@entelligentsia → @earendil-works}/pi-ai/dist/utils/validation.js.map +0 -0
  2524. /package/node_modules/{@entelligentsia → @earendil-works}/pi-coding-agent/dist/bun/cli.d.ts +0 -0
  2525. /package/node_modules/{@entelligentsia → @earendil-works}/pi-coding-agent/dist/bun/cli.d.ts.map +0 -0
  2526. /package/node_modules/{@entelligentsia → @earendil-works}/pi-coding-agent/dist/bun/cli.js +0 -0
  2527. /package/node_modules/{@entelligentsia → @earendil-works}/pi-coding-agent/dist/bun/cli.js.map +0 -0
  2528. /package/node_modules/{@entelligentsia → @earendil-works}/pi-coding-agent/dist/bun/register-bedrock.d.ts +0 -0
  2529. /package/node_modules/{@entelligentsia → @earendil-works}/pi-coding-agent/dist/bun/restore-sandbox-env.d.ts +0 -0
  2530. /package/node_modules/{@entelligentsia → @earendil-works}/pi-coding-agent/dist/bun/restore-sandbox-env.d.ts.map +0 -0
  2531. /package/node_modules/{@entelligentsia → @earendil-works}/pi-coding-agent/dist/bun/restore-sandbox-env.js +0 -0
  2532. /package/node_modules/{@entelligentsia → @earendil-works}/pi-coding-agent/dist/bun/restore-sandbox-env.js.map +0 -0
  2533. /package/node_modules/{@entelligentsia → @earendil-works}/pi-coding-agent/dist/cli/config-selector.d.ts +0 -0
  2534. /package/node_modules/{@entelligentsia → @earendil-works}/pi-coding-agent/dist/cli/file-processor.js +0 -0
  2535. /package/node_modules/{@entelligentsia → @earendil-works}/pi-coding-agent/dist/cli/initial-message.js +0 -0
  2536. /package/node_modules/{@entelligentsia → @earendil-works}/pi-coding-agent/dist/cli/list-models.d.ts +0 -0
  2537. /package/node_modules/{@entelligentsia → @earendil-works}/pi-coding-agent/dist/cli/session-picker.d.ts +0 -0
  2538. /package/node_modules/{@entelligentsia → @earendil-works}/pi-coding-agent/dist/cli.d.ts +0 -0
  2539. /package/node_modules/{@entelligentsia → @earendil-works}/pi-coding-agent/dist/config.d.ts +0 -0
  2540. /package/node_modules/{@entelligentsia → @earendil-works}/pi-coding-agent/dist/core/agent-session-runtime.d.ts +0 -0
  2541. /package/node_modules/{@entelligentsia → @earendil-works}/pi-coding-agent/dist/core/agent-session-runtime.d.ts.map +0 -0
  2542. /package/node_modules/{@entelligentsia → @earendil-works}/pi-coding-agent/dist/core/agent-session-runtime.js +0 -0
  2543. /package/node_modules/{@entelligentsia → @earendil-works}/pi-coding-agent/dist/core/agent-session-runtime.js.map +0 -0
  2544. /package/node_modules/{@entelligentsia → @earendil-works}/pi-coding-agent/dist/core/agent-session-services.js +0 -0
  2545. /package/node_modules/{@entelligentsia → @earendil-works}/pi-coding-agent/dist/core/auth-guidance.d.ts +0 -0
  2546. /package/node_modules/{@entelligentsia → @earendil-works}/pi-coding-agent/dist/core/auth-guidance.d.ts.map +0 -0
  2547. /package/node_modules/{@entelligentsia → @earendil-works}/pi-coding-agent/dist/core/auth-guidance.js +0 -0
  2548. /package/node_modules/{@entelligentsia → @earendil-works}/pi-coding-agent/dist/core/auth-guidance.js.map +0 -0
  2549. /package/node_modules/{@entelligentsia → @earendil-works}/pi-coding-agent/dist/core/bash-executor.d.ts +0 -0
  2550. /package/node_modules/{@entelligentsia → @earendil-works}/pi-coding-agent/dist/core/compaction/index.d.ts +0 -0
  2551. /package/node_modules/{@entelligentsia → @earendil-works}/pi-coding-agent/dist/core/compaction/index.d.ts.map +0 -0
  2552. /package/node_modules/{@entelligentsia → @earendil-works}/pi-coding-agent/dist/core/compaction/index.js +0 -0
  2553. /package/node_modules/{@entelligentsia → @earendil-works}/pi-coding-agent/dist/core/compaction/index.js.map +0 -0
  2554. /package/node_modules/{@entelligentsia → @earendil-works}/pi-coding-agent/dist/core/compaction/utils.js +0 -0
  2555. /package/node_modules/{@entelligentsia → @earendil-works}/pi-coding-agent/dist/core/defaults.js +0 -0
  2556. /package/node_modules/{@entelligentsia → @earendil-works}/pi-coding-agent/dist/core/diagnostics.d.ts +0 -0
  2557. /package/node_modules/{@entelligentsia → @earendil-works}/pi-coding-agent/dist/core/diagnostics.d.ts.map +0 -0
  2558. /package/node_modules/{@entelligentsia → @earendil-works}/pi-coding-agent/dist/core/diagnostics.js +0 -0
  2559. /package/node_modules/{@entelligentsia → @earendil-works}/pi-coding-agent/dist/core/diagnostics.js.map +0 -0
  2560. /package/node_modules/{@entelligentsia → @earendil-works}/pi-coding-agent/dist/core/event-bus.d.ts +0 -0
  2561. /package/node_modules/{@entelligentsia → @earendil-works}/pi-coding-agent/dist/core/event-bus.d.ts.map +0 -0
  2562. /package/node_modules/{@entelligentsia → @earendil-works}/pi-coding-agent/dist/core/event-bus.js +0 -0
  2563. /package/node_modules/{@entelligentsia → @earendil-works}/pi-coding-agent/dist/core/event-bus.js.map +0 -0
  2564. /package/node_modules/{@entelligentsia → @earendil-works}/pi-coding-agent/dist/core/exec.d.ts +0 -0
  2565. /package/node_modules/{@entelligentsia → @earendil-works}/pi-coding-agent/dist/core/exec.d.ts.map +0 -0
  2566. /package/node_modules/{@entelligentsia → @earendil-works}/pi-coding-agent/dist/core/exec.js +0 -0
  2567. /package/node_modules/{@entelligentsia → @earendil-works}/pi-coding-agent/dist/core/exec.js.map +0 -0
  2568. /package/node_modules/{@entelligentsia → @earendil-works}/pi-coding-agent/dist/core/export-html/ansi-to-html.d.ts +0 -0
  2569. /package/node_modules/{@entelligentsia → @earendil-works}/pi-coding-agent/dist/core/export-html/ansi-to-html.d.ts.map +0 -0
  2570. /package/node_modules/{@entelligentsia → @earendil-works}/pi-coding-agent/dist/core/export-html/ansi-to-html.js +0 -0
  2571. /package/node_modules/{@entelligentsia → @earendil-works}/pi-coding-agent/dist/core/export-html/ansi-to-html.js.map +0 -0
  2572. /package/node_modules/{@entelligentsia → @earendil-works}/pi-coding-agent/dist/core/export-html/index.js +0 -0
  2573. /package/node_modules/{@entelligentsia → @earendil-works}/pi-coding-agent/dist/core/export-html/template.css +0 -0
  2574. /package/node_modules/{@entelligentsia → @earendil-works}/pi-coding-agent/dist/core/export-html/template.html +0 -0
  2575. /package/node_modules/{@entelligentsia → @earendil-works}/pi-coding-agent/dist/core/export-html/template.js +0 -0
  2576. /package/node_modules/{@entelligentsia → @earendil-works}/pi-coding-agent/dist/core/export-html/tool-renderer.d.ts +0 -0
  2577. /package/node_modules/{@entelligentsia → @earendil-works}/pi-coding-agent/dist/core/export-html/tool-renderer.js +0 -0
  2578. /package/node_modules/{@entelligentsia → @earendil-works}/pi-coding-agent/dist/core/export-html/vendor/highlight.min.js +0 -0
  2579. /package/node_modules/{@entelligentsia → @earendil-works}/pi-coding-agent/dist/core/export-html/vendor/marked.min.js +0 -0
  2580. /package/node_modules/{@entelligentsia → @earendil-works}/pi-coding-agent/dist/core/extensions/index.d.ts +0 -0
  2581. /package/node_modules/{@entelligentsia → @earendil-works}/pi-coding-agent/dist/core/extensions/index.d.ts.map +0 -0
  2582. /package/node_modules/{@entelligentsia → @earendil-works}/pi-coding-agent/dist/core/extensions/index.js +0 -0
  2583. /package/node_modules/{@entelligentsia → @earendil-works}/pi-coding-agent/dist/core/extensions/index.js.map +0 -0
  2584. /package/node_modules/{@entelligentsia → @earendil-works}/pi-coding-agent/dist/core/extensions/loader.d.ts +0 -0
  2585. /package/node_modules/{@entelligentsia → @earendil-works}/pi-coding-agent/dist/core/extensions/types.js +0 -0
  2586. /package/node_modules/{@entelligentsia → @earendil-works}/pi-coding-agent/dist/core/extensions/wrapper.js +0 -0
  2587. /package/node_modules/{@entelligentsia → @earendil-works}/pi-coding-agent/dist/core/footer-data-provider.d.ts +0 -0
  2588. /package/node_modules/{@entelligentsia → @earendil-works}/pi-coding-agent/dist/core/footer-data-provider.d.ts.map +0 -0
  2589. /package/node_modules/{@entelligentsia → @earendil-works}/pi-coding-agent/dist/core/footer-data-provider.js +0 -0
  2590. /package/node_modules/{@entelligentsia → @earendil-works}/pi-coding-agent/dist/core/footer-data-provider.js.map +0 -0
  2591. /package/node_modules/{@entelligentsia → @earendil-works}/pi-coding-agent/dist/core/index.d.ts +0 -0
  2592. /package/node_modules/{@entelligentsia → @earendil-works}/pi-coding-agent/dist/core/index.d.ts.map +0 -0
  2593. /package/node_modules/{@entelligentsia → @earendil-works}/pi-coding-agent/dist/core/index.js +0 -0
  2594. /package/node_modules/{@entelligentsia → @earendil-works}/pi-coding-agent/dist/core/index.js.map +0 -0
  2595. /package/node_modules/{@entelligentsia → @earendil-works}/pi-coding-agent/dist/core/messages.js +0 -0
  2596. /package/node_modules/{@entelligentsia → @earendil-works}/pi-coding-agent/dist/core/output-guard.d.ts +0 -0
  2597. /package/node_modules/{@entelligentsia → @earendil-works}/pi-coding-agent/dist/core/output-guard.d.ts.map +0 -0
  2598. /package/node_modules/{@entelligentsia → @earendil-works}/pi-coding-agent/dist/core/output-guard.js +0 -0
  2599. /package/node_modules/{@entelligentsia → @earendil-works}/pi-coding-agent/dist/core/output-guard.js.map +0 -0
  2600. /package/node_modules/{@entelligentsia → @earendil-works}/pi-coding-agent/dist/core/prompt-templates.d.ts +0 -0
  2601. /package/node_modules/{@entelligentsia → @earendil-works}/pi-coding-agent/dist/core/provider-display-names.d.ts +0 -0
  2602. /package/node_modules/{@entelligentsia → @earendil-works}/pi-coding-agent/dist/core/resolve-config-value.d.ts +0 -0
  2603. /package/node_modules/{@entelligentsia → @earendil-works}/pi-coding-agent/dist/core/resolve-config-value.d.ts.map +0 -0
  2604. /package/node_modules/{@entelligentsia → @earendil-works}/pi-coding-agent/dist/core/resolve-config-value.js +0 -0
  2605. /package/node_modules/{@entelligentsia → @earendil-works}/pi-coding-agent/dist/core/resolve-config-value.js.map +0 -0
  2606. /package/node_modules/{@entelligentsia → @earendil-works}/pi-coding-agent/dist/core/resource-loader.d.ts +0 -0
  2607. /package/node_modules/{@entelligentsia → @earendil-works}/pi-coding-agent/dist/core/resource-loader.d.ts.map +0 -0
  2608. /package/node_modules/{@entelligentsia → @earendil-works}/pi-coding-agent/dist/core/resource-loader.js +0 -0
  2609. /package/node_modules/{@entelligentsia → @earendil-works}/pi-coding-agent/dist/core/resource-loader.js.map +0 -0
  2610. /package/node_modules/{@entelligentsia → @earendil-works}/pi-coding-agent/dist/core/session-cwd.d.ts +0 -0
  2611. /package/node_modules/{@entelligentsia → @earendil-works}/pi-coding-agent/dist/core/session-cwd.d.ts.map +0 -0
  2612. /package/node_modules/{@entelligentsia → @earendil-works}/pi-coding-agent/dist/core/session-cwd.js +0 -0
  2613. /package/node_modules/{@entelligentsia → @earendil-works}/pi-coding-agent/dist/core/session-cwd.js.map +0 -0
  2614. /package/node_modules/{@entelligentsia → @earendil-works}/pi-coding-agent/dist/core/settings-manager.js +0 -0
  2615. /package/node_modules/{@entelligentsia → @earendil-works}/pi-coding-agent/dist/core/skills.d.ts +0 -0
  2616. /package/node_modules/{@entelligentsia → @earendil-works}/pi-coding-agent/dist/core/slash-commands.d.ts +0 -0
  2617. /package/node_modules/{@entelligentsia → @earendil-works}/pi-coding-agent/dist/core/slash-commands.d.ts.map +0 -0
  2618. /package/node_modules/{@entelligentsia → @earendil-works}/pi-coding-agent/dist/core/slash-commands.js +0 -0
  2619. /package/node_modules/{@entelligentsia → @earendil-works}/pi-coding-agent/dist/core/slash-commands.js.map +0 -0
  2620. /package/node_modules/{@entelligentsia → @earendil-works}/pi-coding-agent/dist/core/source-info.d.ts +0 -0
  2621. /package/node_modules/{@entelligentsia → @earendil-works}/pi-coding-agent/dist/core/source-info.d.ts.map +0 -0
  2622. /package/node_modules/{@entelligentsia → @earendil-works}/pi-coding-agent/dist/core/source-info.js +0 -0
  2623. /package/node_modules/{@entelligentsia → @earendil-works}/pi-coding-agent/dist/core/source-info.js.map +0 -0
  2624. /package/node_modules/{@entelligentsia → @earendil-works}/pi-coding-agent/dist/core/system-prompt.d.ts +0 -0
  2625. /package/node_modules/{@entelligentsia → @earendil-works}/pi-coding-agent/dist/core/system-prompt.d.ts.map +0 -0
  2626. /package/node_modules/{@entelligentsia → @earendil-works}/pi-coding-agent/dist/core/system-prompt.js +0 -0
  2627. /package/node_modules/{@entelligentsia → @earendil-works}/pi-coding-agent/dist/core/system-prompt.js.map +0 -0
  2628. /package/node_modules/{@entelligentsia → @earendil-works}/pi-coding-agent/dist/core/telemetry.d.ts +0 -0
  2629. /package/node_modules/{@entelligentsia → @earendil-works}/pi-coding-agent/dist/core/telemetry.d.ts.map +0 -0
  2630. /package/node_modules/{@entelligentsia → @earendil-works}/pi-coding-agent/dist/core/telemetry.js +0 -0
  2631. /package/node_modules/{@entelligentsia → @earendil-works}/pi-coding-agent/dist/core/telemetry.js.map +0 -0
  2632. /package/node_modules/{@entelligentsia → @earendil-works}/pi-coding-agent/dist/core/timings.d.ts +0 -0
  2633. /package/node_modules/{@entelligentsia → @earendil-works}/pi-coding-agent/dist/core/timings.d.ts.map +0 -0
  2634. /package/node_modules/{@entelligentsia → @earendil-works}/pi-coding-agent/dist/core/timings.js +0 -0
  2635. /package/node_modules/{@entelligentsia → @earendil-works}/pi-coding-agent/dist/core/timings.js.map +0 -0
  2636. /package/node_modules/{@entelligentsia → @earendil-works}/pi-coding-agent/dist/core/tools/edit-diff.d.ts +0 -0
  2637. /package/node_modules/{@entelligentsia → @earendil-works}/pi-coding-agent/dist/core/tools/edit-diff.d.ts.map +0 -0
  2638. /package/node_modules/{@entelligentsia → @earendil-works}/pi-coding-agent/dist/core/tools/edit-diff.js +0 -0
  2639. /package/node_modules/{@entelligentsia → @earendil-works}/pi-coding-agent/dist/core/tools/edit-diff.js.map +0 -0
  2640. /package/node_modules/{@entelligentsia → @earendil-works}/pi-coding-agent/dist/core/tools/file-mutation-queue.d.ts +0 -0
  2641. /package/node_modules/{@entelligentsia → @earendil-works}/pi-coding-agent/dist/core/tools/file-mutation-queue.d.ts.map +0 -0
  2642. /package/node_modules/{@entelligentsia → @earendil-works}/pi-coding-agent/dist/core/tools/file-mutation-queue.js +0 -0
  2643. /package/node_modules/{@entelligentsia → @earendil-works}/pi-coding-agent/dist/core/tools/file-mutation-queue.js.map +0 -0
  2644. /package/node_modules/{@entelligentsia → @earendil-works}/pi-coding-agent/dist/core/tools/index.js +0 -0
  2645. /package/node_modules/{@entelligentsia → @earendil-works}/pi-coding-agent/dist/core/tools/output-accumulator.d.ts +0 -0
  2646. /package/node_modules/{@entelligentsia → @earendil-works}/pi-coding-agent/dist/core/tools/output-accumulator.d.ts.map +0 -0
  2647. /package/node_modules/{@entelligentsia → @earendil-works}/pi-coding-agent/dist/core/tools/output-accumulator.js +0 -0
  2648. /package/node_modules/{@entelligentsia → @earendil-works}/pi-coding-agent/dist/core/tools/output-accumulator.js.map +0 -0
  2649. /package/node_modules/{@entelligentsia → @earendil-works}/pi-coding-agent/dist/core/tools/path-utils.d.ts +0 -0
  2650. /package/node_modules/{@entelligentsia → @earendil-works}/pi-coding-agent/dist/core/tools/path-utils.d.ts.map +0 -0
  2651. /package/node_modules/{@entelligentsia → @earendil-works}/pi-coding-agent/dist/core/tools/path-utils.js +0 -0
  2652. /package/node_modules/{@entelligentsia → @earendil-works}/pi-coding-agent/dist/core/tools/path-utils.js.map +0 -0
  2653. /package/node_modules/{@entelligentsia → @earendil-works}/pi-coding-agent/dist/core/tools/tool-definition-wrapper.js +0 -0
  2654. /package/node_modules/{@entelligentsia → @earendil-works}/pi-coding-agent/dist/core/tools/truncate.d.ts.map +0 -0
  2655. /package/node_modules/{@entelligentsia → @earendil-works}/pi-coding-agent/dist/core/tools/truncate.js +0 -0
  2656. /package/node_modules/{@entelligentsia → @earendil-works}/pi-coding-agent/dist/core/tools/truncate.js.map +0 -0
  2657. /package/node_modules/{@entelligentsia → @earendil-works}/pi-coding-agent/dist/index.d.ts +0 -0
  2658. /package/node_modules/{@entelligentsia → @earendil-works}/pi-coding-agent/dist/index.d.ts.map +0 -0
  2659. /package/node_modules/{@entelligentsia → @earendil-works}/pi-coding-agent/dist/index.js +0 -0
  2660. /package/node_modules/{@entelligentsia → @earendil-works}/pi-coding-agent/dist/index.js.map +0 -0
  2661. /package/node_modules/{@entelligentsia → @earendil-works}/pi-coding-agent/dist/main.d.ts +0 -0
  2662. /package/node_modules/{@entelligentsia → @earendil-works}/pi-coding-agent/dist/migrations.d.ts +0 -0
  2663. /package/node_modules/{@entelligentsia → @earendil-works}/pi-coding-agent/dist/migrations.d.ts.map +0 -0
  2664. /package/node_modules/{@entelligentsia → @earendil-works}/pi-coding-agent/dist/migrations.js +0 -0
  2665. /package/node_modules/{@entelligentsia → @earendil-works}/pi-coding-agent/dist/migrations.js.map +0 -0
  2666. /package/node_modules/{@entelligentsia → @earendil-works}/pi-coding-agent/dist/modes/index.d.ts +0 -0
  2667. /package/node_modules/{@entelligentsia → @earendil-works}/pi-coding-agent/dist/modes/index.d.ts.map +0 -0
  2668. /package/node_modules/{@entelligentsia → @earendil-works}/pi-coding-agent/dist/modes/index.js +0 -0
  2669. /package/node_modules/{@entelligentsia → @earendil-works}/pi-coding-agent/dist/modes/index.js.map +0 -0
  2670. /package/node_modules/{@entelligentsia → @earendil-works}/pi-coding-agent/dist/modes/interactive/assets/clankolas.png +0 -0
  2671. /package/node_modules/{@entelligentsia → @earendil-works}/pi-coding-agent/dist/modes/interactive/components/armin.js +0 -0
  2672. /package/node_modules/{@entelligentsia → @earendil-works}/pi-coding-agent/dist/modes/interactive/components/countdown-timer.js +0 -0
  2673. /package/node_modules/{@entelligentsia → @earendil-works}/pi-coding-agent/dist/modes/interactive/components/daxnuts.js +0 -0
  2674. /package/node_modules/{@entelligentsia → @earendil-works}/pi-coding-agent/dist/modes/interactive/components/diff.d.ts +0 -0
  2675. /package/node_modules/{@entelligentsia → @earendil-works}/pi-coding-agent/dist/modes/interactive/components/diff.d.ts.map +0 -0
  2676. /package/node_modules/{@entelligentsia → @earendil-works}/pi-coding-agent/dist/modes/interactive/components/diff.js +0 -0
  2677. /package/node_modules/{@entelligentsia → @earendil-works}/pi-coding-agent/dist/modes/interactive/components/diff.js.map +0 -0
  2678. /package/node_modules/{@entelligentsia → @earendil-works}/pi-coding-agent/dist/modes/interactive/components/dynamic-border.js +0 -0
  2679. /package/node_modules/{@entelligentsia → @earendil-works}/pi-coding-agent/dist/modes/interactive/components/index.d.ts +0 -0
  2680. /package/node_modules/{@entelligentsia → @earendil-works}/pi-coding-agent/dist/modes/interactive/components/index.d.ts.map +0 -0
  2681. /package/node_modules/{@entelligentsia → @earendil-works}/pi-coding-agent/dist/modes/interactive/components/index.js +0 -0
  2682. /package/node_modules/{@entelligentsia → @earendil-works}/pi-coding-agent/dist/modes/interactive/components/index.js.map +0 -0
  2683. /package/node_modules/{@entelligentsia → @earendil-works}/pi-coding-agent/dist/modes/interactive/components/session-selector-search.d.ts +0 -0
  2684. /package/node_modules/{@entelligentsia → @earendil-works}/pi-coding-agent/dist/modes/interactive/components/visual-truncate.d.ts +0 -0
  2685. /package/node_modules/{@entelligentsia → @earendil-works}/pi-coding-agent/dist/modes/interactive/theme/theme-schema.json +0 -0
  2686. /package/node_modules/{@entelligentsia → @earendil-works}/pi-coding-agent/dist/modes/print-mode.js +0 -0
  2687. /package/node_modules/{@entelligentsia → @earendil-works}/pi-coding-agent/dist/modes/rpc/jsonl.d.ts +0 -0
  2688. /package/node_modules/{@entelligentsia → @earendil-works}/pi-coding-agent/dist/modes/rpc/jsonl.d.ts.map +0 -0
  2689. /package/node_modules/{@entelligentsia → @earendil-works}/pi-coding-agent/dist/modes/rpc/jsonl.js +0 -0
  2690. /package/node_modules/{@entelligentsia → @earendil-works}/pi-coding-agent/dist/modes/rpc/jsonl.js.map +0 -0
  2691. /package/node_modules/{@entelligentsia → @earendil-works}/pi-coding-agent/dist/modes/rpc/rpc-client.js +0 -0
  2692. /package/node_modules/{@entelligentsia → @earendil-works}/pi-coding-agent/dist/modes/rpc/rpc-mode.d.ts +0 -0
  2693. /package/node_modules/{@entelligentsia → @earendil-works}/pi-coding-agent/dist/modes/rpc/rpc-types.js +0 -0
  2694. /package/node_modules/{@entelligentsia → @earendil-works}/pi-coding-agent/dist/package-manager-cli.d.ts +0 -0
  2695. /package/node_modules/{@entelligentsia → @earendil-works}/pi-coding-agent/dist/package-manager-cli.d.ts.map +0 -0
  2696. /package/node_modules/{@entelligentsia → @earendil-works}/pi-coding-agent/dist/package-manager-cli.js +0 -0
  2697. /package/node_modules/{@entelligentsia → @earendil-works}/pi-coding-agent/dist/package-manager-cli.js.map +0 -0
  2698. /package/node_modules/{@entelligentsia → @earendil-works}/pi-coding-agent/dist/utils/changelog.d.ts +0 -0
  2699. /package/node_modules/{@entelligentsia → @earendil-works}/pi-coding-agent/dist/utils/changelog.d.ts.map +0 -0
  2700. /package/node_modules/{@entelligentsia → @earendil-works}/pi-coding-agent/dist/utils/changelog.js +0 -0
  2701. /package/node_modules/{@entelligentsia → @earendil-works}/pi-coding-agent/dist/utils/changelog.js.map +0 -0
  2702. /package/node_modules/{@entelligentsia → @earendil-works}/pi-coding-agent/dist/utils/child-process.d.ts +0 -0
  2703. /package/node_modules/{@entelligentsia → @earendil-works}/pi-coding-agent/dist/utils/child-process.d.ts.map +0 -0
  2704. /package/node_modules/{@entelligentsia → @earendil-works}/pi-coding-agent/dist/utils/child-process.js +0 -0
  2705. /package/node_modules/{@entelligentsia → @earendil-works}/pi-coding-agent/dist/utils/child-process.js.map +0 -0
  2706. /package/node_modules/{@entelligentsia → @earendil-works}/pi-coding-agent/dist/utils/clipboard-image.d.ts +0 -0
  2707. /package/node_modules/{@entelligentsia → @earendil-works}/pi-coding-agent/dist/utils/clipboard-image.d.ts.map +0 -0
  2708. /package/node_modules/{@entelligentsia → @earendil-works}/pi-coding-agent/dist/utils/clipboard-image.js +0 -0
  2709. /package/node_modules/{@entelligentsia → @earendil-works}/pi-coding-agent/dist/utils/clipboard-image.js.map +0 -0
  2710. /package/node_modules/{@entelligentsia → @earendil-works}/pi-coding-agent/dist/utils/clipboard-native.d.ts +0 -0
  2711. /package/node_modules/{@entelligentsia → @earendil-works}/pi-coding-agent/dist/utils/clipboard-native.d.ts.map +0 -0
  2712. /package/node_modules/{@entelligentsia → @earendil-works}/pi-coding-agent/dist/utils/clipboard-native.js +0 -0
  2713. /package/node_modules/{@entelligentsia → @earendil-works}/pi-coding-agent/dist/utils/clipboard-native.js.map +0 -0
  2714. /package/node_modules/{@entelligentsia → @earendil-works}/pi-coding-agent/dist/utils/clipboard.d.ts +0 -0
  2715. /package/node_modules/{@entelligentsia → @earendil-works}/pi-coding-agent/dist/utils/clipboard.d.ts.map +0 -0
  2716. /package/node_modules/{@entelligentsia → @earendil-works}/pi-coding-agent/dist/utils/clipboard.js +0 -0
  2717. /package/node_modules/{@entelligentsia → @earendil-works}/pi-coding-agent/dist/utils/clipboard.js.map +0 -0
  2718. /package/node_modules/{@entelligentsia → @earendil-works}/pi-coding-agent/dist/utils/exif-orientation.d.ts +0 -0
  2719. /package/node_modules/{@entelligentsia → @earendil-works}/pi-coding-agent/dist/utils/exif-orientation.d.ts.map +0 -0
  2720. /package/node_modules/{@entelligentsia → @earendil-works}/pi-coding-agent/dist/utils/exif-orientation.js +0 -0
  2721. /package/node_modules/{@entelligentsia → @earendil-works}/pi-coding-agent/dist/utils/exif-orientation.js.map +0 -0
  2722. /package/node_modules/{@entelligentsia → @earendil-works}/pi-coding-agent/dist/utils/frontmatter.d.ts +0 -0
  2723. /package/node_modules/{@entelligentsia → @earendil-works}/pi-coding-agent/dist/utils/frontmatter.d.ts.map +0 -0
  2724. /package/node_modules/{@entelligentsia → @earendil-works}/pi-coding-agent/dist/utils/frontmatter.js +0 -0
  2725. /package/node_modules/{@entelligentsia → @earendil-works}/pi-coding-agent/dist/utils/frontmatter.js.map +0 -0
  2726. /package/node_modules/{@entelligentsia → @earendil-works}/pi-coding-agent/dist/utils/fs-watch.d.ts +0 -0
  2727. /package/node_modules/{@entelligentsia → @earendil-works}/pi-coding-agent/dist/utils/fs-watch.d.ts.map +0 -0
  2728. /package/node_modules/{@entelligentsia → @earendil-works}/pi-coding-agent/dist/utils/fs-watch.js +0 -0
  2729. /package/node_modules/{@entelligentsia → @earendil-works}/pi-coding-agent/dist/utils/fs-watch.js.map +0 -0
  2730. /package/node_modules/{@entelligentsia → @earendil-works}/pi-coding-agent/dist/utils/git.d.ts +0 -0
  2731. /package/node_modules/{@entelligentsia → @earendil-works}/pi-coding-agent/dist/utils/git.d.ts.map +0 -0
  2732. /package/node_modules/{@entelligentsia → @earendil-works}/pi-coding-agent/dist/utils/git.js +0 -0
  2733. /package/node_modules/{@entelligentsia → @earendil-works}/pi-coding-agent/dist/utils/git.js.map +0 -0
  2734. /package/node_modules/{@entelligentsia → @earendil-works}/pi-coding-agent/dist/utils/image-convert.d.ts +0 -0
  2735. /package/node_modules/{@entelligentsia → @earendil-works}/pi-coding-agent/dist/utils/image-convert.d.ts.map +0 -0
  2736. /package/node_modules/{@entelligentsia → @earendil-works}/pi-coding-agent/dist/utils/image-convert.js +0 -0
  2737. /package/node_modules/{@entelligentsia → @earendil-works}/pi-coding-agent/dist/utils/image-convert.js.map +0 -0
  2738. /package/node_modules/{@entelligentsia → @earendil-works}/pi-coding-agent/dist/utils/image-resize.js +0 -0
  2739. /package/node_modules/{@entelligentsia → @earendil-works}/pi-coding-agent/dist/utils/paths.d.ts +0 -0
  2740. /package/node_modules/{@entelligentsia → @earendil-works}/pi-coding-agent/dist/utils/paths.d.ts.map +0 -0
  2741. /package/node_modules/{@entelligentsia → @earendil-works}/pi-coding-agent/dist/utils/paths.js +0 -0
  2742. /package/node_modules/{@entelligentsia → @earendil-works}/pi-coding-agent/dist/utils/paths.js.map +0 -0
  2743. /package/node_modules/{@entelligentsia → @earendil-works}/pi-coding-agent/dist/utils/photon.d.ts +0 -0
  2744. /package/node_modules/{@entelligentsia → @earendil-works}/pi-coding-agent/dist/utils/photon.d.ts.map +0 -0
  2745. /package/node_modules/{@entelligentsia → @earendil-works}/pi-coding-agent/dist/utils/photon.js +0 -0
  2746. /package/node_modules/{@entelligentsia → @earendil-works}/pi-coding-agent/dist/utils/photon.js.map +0 -0
  2747. /package/node_modules/{@entelligentsia → @earendil-works}/pi-coding-agent/dist/utils/pi-user-agent.d.ts +0 -0
  2748. /package/node_modules/{@entelligentsia → @earendil-works}/pi-coding-agent/dist/utils/pi-user-agent.d.ts.map +0 -0
  2749. /package/node_modules/{@entelligentsia → @earendil-works}/pi-coding-agent/dist/utils/pi-user-agent.js +0 -0
  2750. /package/node_modules/{@entelligentsia → @earendil-works}/pi-coding-agent/dist/utils/pi-user-agent.js.map +0 -0
  2751. /package/node_modules/{@entelligentsia → @earendil-works}/pi-coding-agent/dist/utils/shell.d.ts +0 -0
  2752. /package/node_modules/{@entelligentsia → @earendil-works}/pi-coding-agent/dist/utils/shell.d.ts.map +0 -0
  2753. /package/node_modules/{@entelligentsia → @earendil-works}/pi-coding-agent/dist/utils/shell.js +0 -0
  2754. /package/node_modules/{@entelligentsia → @earendil-works}/pi-coding-agent/dist/utils/shell.js.map +0 -0
  2755. /package/node_modules/{@entelligentsia → @earendil-works}/pi-coding-agent/dist/utils/sleep.d.ts +0 -0
  2756. /package/node_modules/{@entelligentsia → @earendil-works}/pi-coding-agent/dist/utils/sleep.d.ts.map +0 -0
  2757. /package/node_modules/{@entelligentsia → @earendil-works}/pi-coding-agent/dist/utils/sleep.js +0 -0
  2758. /package/node_modules/{@entelligentsia → @earendil-works}/pi-coding-agent/dist/utils/sleep.js.map +0 -0
  2759. /package/node_modules/{@entelligentsia → @earendil-works}/pi-coding-agent/dist/utils/tools-manager.d.ts +0 -0
  2760. /package/node_modules/{@entelligentsia → @earendil-works}/pi-coding-agent/dist/utils/version-check.d.ts +0 -0
  2761. /package/node_modules/{@entelligentsia → @earendil-works}/pi-coding-agent/dist/utils/version-check.d.ts.map +0 -0
  2762. /package/node_modules/{@entelligentsia → @earendil-works}/pi-coding-agent/dist/utils/version-check.js +0 -0
  2763. /package/node_modules/{@entelligentsia → @earendil-works}/pi-coding-agent/dist/utils/version-check.js.map +0 -0
  2764. /package/node_modules/{@entelligentsia → @earendil-works}/pi-coding-agent/docs/development.md +0 -0
  2765. /package/node_modules/{@entelligentsia → @earendil-works}/pi-coding-agent/docs/docs.json +0 -0
  2766. /package/node_modules/{@entelligentsia → @earendil-works}/pi-coding-agent/docs/images/doom-extension.png +0 -0
  2767. /package/node_modules/{@entelligentsia → @earendil-works}/pi-coding-agent/docs/images/exy.png +0 -0
  2768. /package/node_modules/{@entelligentsia → @earendil-works}/pi-coding-agent/docs/images/interactive-mode.png +0 -0
  2769. /package/node_modules/{@entelligentsia → @earendil-works}/pi-coding-agent/docs/images/tree-view.png +0 -0
  2770. /package/node_modules/{@entelligentsia → @earendil-works}/pi-coding-agent/docs/json.md +0 -0
  2771. /package/node_modules/{@entelligentsia → @earendil-works}/pi-coding-agent/docs/keybindings.md +0 -0
  2772. /package/node_modules/{@entelligentsia → @earendil-works}/pi-coding-agent/docs/prompt-templates.md +0 -0
  2773. /package/node_modules/{@entelligentsia → @earendil-works}/pi-coding-agent/docs/sessions.md +0 -0
  2774. /package/node_modules/{@entelligentsia → @earendil-works}/pi-coding-agent/docs/settings.md +0 -0
  2775. /package/node_modules/{@entelligentsia → @earendil-works}/pi-coding-agent/docs/shell-aliases.md +0 -0
  2776. /package/node_modules/{@entelligentsia → @earendil-works}/pi-coding-agent/docs/terminal-setup.md +0 -0
  2777. /package/node_modules/{@entelligentsia → @earendil-works}/pi-coding-agent/docs/tmux.md +0 -0
  2778. /package/node_modules/{@entelligentsia → @earendil-works}/pi-coding-agent/docs/usage.md +0 -0
  2779. /package/node_modules/{@entelligentsia → @earendil-works}/pi-coding-agent/docs/windows.md +0 -0
  2780. /package/node_modules/{@entelligentsia → @earendil-works}/pi-coding-agent/examples/README.md +0 -0
  2781. /package/node_modules/{@entelligentsia → @earendil-works}/pi-coding-agent/examples/extensions/doom-overlay/README.md +0 -0
  2782. /package/node_modules/{@entelligentsia → @earendil-works}/pi-coding-agent/examples/extensions/doom-overlay/doom/build/doom.js +0 -0
  2783. /package/node_modules/{@entelligentsia → @earendil-works}/pi-coding-agent/examples/extensions/doom-overlay/doom/build/doom.wasm +0 -0
  2784. /package/node_modules/{@entelligentsia → @earendil-works}/pi-coding-agent/examples/extensions/doom-overlay/doom/build.sh +0 -0
  2785. /package/node_modules/{@entelligentsia → @earendil-works}/pi-coding-agent/examples/extensions/doom-overlay/doom/doomgeneric_pi.c +0 -0
  2786. /package/node_modules/{@entelligentsia → @earendil-works}/pi-coding-agent/examples/extensions/doom-overlay/doom-engine.ts +0 -0
  2787. /package/node_modules/{@entelligentsia → @earendil-works}/pi-coding-agent/examples/extensions/doom-overlay/wad-finder.ts +0 -0
  2788. /package/node_modules/{@entelligentsia → @earendil-works}/pi-coding-agent/examples/extensions/dynamic-resources/SKILL.md +0 -0
  2789. /package/node_modules/{@entelligentsia → @earendil-works}/pi-coding-agent/examples/extensions/dynamic-resources/dynamic.md +0 -0
  2790. /package/node_modules/{@entelligentsia → @earendil-works}/pi-coding-agent/examples/extensions/plan-mode/README.md +0 -0
  2791. /package/node_modules/{@entelligentsia → @earendil-works}/pi-coding-agent/examples/extensions/plan-mode/utils.ts +0 -0
  2792. /package/node_modules/{@entelligentsia → @earendil-works}/pi-coding-agent/examples/extensions/subagent/README.md +0 -0
  2793. /package/node_modules/{@entelligentsia → @earendil-works}/pi-coding-agent/examples/extensions/subagent/agents/planner.md +0 -0
  2794. /package/node_modules/{@entelligentsia → @earendil-works}/pi-coding-agent/examples/extensions/subagent/agents/reviewer.md +0 -0
  2795. /package/node_modules/{@entelligentsia → @earendil-works}/pi-coding-agent/examples/extensions/subagent/agents/scout.md +0 -0
  2796. /package/node_modules/{@entelligentsia → @earendil-works}/pi-coding-agent/examples/extensions/subagent/agents/worker.md +0 -0
  2797. /package/node_modules/{@entelligentsia → @earendil-works}/pi-coding-agent/examples/extensions/subagent/prompts/implement-and-review.md +0 -0
  2798. /package/node_modules/{@entelligentsia → @earendil-works}/pi-coding-agent/examples/extensions/subagent/prompts/implement.md +0 -0
  2799. /package/node_modules/{@entelligentsia → @earendil-works}/pi-coding-agent/examples/extensions/subagent/prompts/scout-and-plan.md +0 -0
  2800. /package/node_modules/{@entelligentsia → @earendil-works}/pi-tui/dist/autocomplete.d.ts +0 -0
  2801. /package/node_modules/{@entelligentsia → @earendil-works}/pi-tui/dist/autocomplete.d.ts.map +0 -0
  2802. /package/node_modules/{@entelligentsia → @earendil-works}/pi-tui/dist/autocomplete.js +0 -0
  2803. /package/node_modules/{@entelligentsia → @earendil-works}/pi-tui/dist/autocomplete.js.map +0 -0
  2804. /package/node_modules/{@entelligentsia → @earendil-works}/pi-tui/dist/components/box.d.ts +0 -0
  2805. /package/node_modules/{@entelligentsia → @earendil-works}/pi-tui/dist/components/box.d.ts.map +0 -0
  2806. /package/node_modules/{@entelligentsia → @earendil-works}/pi-tui/dist/components/box.js +0 -0
  2807. /package/node_modules/{@entelligentsia → @earendil-works}/pi-tui/dist/components/box.js.map +0 -0
  2808. /package/node_modules/{@entelligentsia → @earendil-works}/pi-tui/dist/components/cancellable-loader.d.ts +0 -0
  2809. /package/node_modules/{@entelligentsia → @earendil-works}/pi-tui/dist/components/cancellable-loader.d.ts.map +0 -0
  2810. /package/node_modules/{@entelligentsia → @earendil-works}/pi-tui/dist/components/cancellable-loader.js +0 -0
  2811. /package/node_modules/{@entelligentsia → @earendil-works}/pi-tui/dist/components/cancellable-loader.js.map +0 -0
  2812. /package/node_modules/{@entelligentsia → @earendil-works}/pi-tui/dist/components/editor.d.ts +0 -0
  2813. /package/node_modules/{@entelligentsia → @earendil-works}/pi-tui/dist/components/editor.d.ts.map +0 -0
  2814. /package/node_modules/{@entelligentsia → @earendil-works}/pi-tui/dist/components/editor.js +0 -0
  2815. /package/node_modules/{@entelligentsia → @earendil-works}/pi-tui/dist/components/editor.js.map +0 -0
  2816. /package/node_modules/{@entelligentsia → @earendil-works}/pi-tui/dist/components/image.d.ts +0 -0
  2817. /package/node_modules/{@entelligentsia → @earendil-works}/pi-tui/dist/components/input.d.ts +0 -0
  2818. /package/node_modules/{@entelligentsia → @earendil-works}/pi-tui/dist/components/input.d.ts.map +0 -0
  2819. /package/node_modules/{@entelligentsia → @earendil-works}/pi-tui/dist/components/input.js +0 -0
  2820. /package/node_modules/{@entelligentsia → @earendil-works}/pi-tui/dist/components/input.js.map +0 -0
  2821. /package/node_modules/{@entelligentsia → @earendil-works}/pi-tui/dist/components/loader.d.ts +0 -0
  2822. /package/node_modules/{@entelligentsia → @earendil-works}/pi-tui/dist/components/loader.d.ts.map +0 -0
  2823. /package/node_modules/{@entelligentsia → @earendil-works}/pi-tui/dist/components/loader.js +0 -0
  2824. /package/node_modules/{@entelligentsia → @earendil-works}/pi-tui/dist/components/loader.js.map +0 -0
  2825. /package/node_modules/{@entelligentsia → @earendil-works}/pi-tui/dist/components/select-list.d.ts +0 -0
  2826. /package/node_modules/{@entelligentsia → @earendil-works}/pi-tui/dist/components/select-list.d.ts.map +0 -0
  2827. /package/node_modules/{@entelligentsia → @earendil-works}/pi-tui/dist/components/select-list.js +0 -0
  2828. /package/node_modules/{@entelligentsia → @earendil-works}/pi-tui/dist/components/select-list.js.map +0 -0
  2829. /package/node_modules/{@entelligentsia → @earendil-works}/pi-tui/dist/components/settings-list.d.ts +0 -0
  2830. /package/node_modules/{@entelligentsia → @earendil-works}/pi-tui/dist/components/settings-list.d.ts.map +0 -0
  2831. /package/node_modules/{@entelligentsia → @earendil-works}/pi-tui/dist/components/settings-list.js +0 -0
  2832. /package/node_modules/{@entelligentsia → @earendil-works}/pi-tui/dist/components/settings-list.js.map +0 -0
  2833. /package/node_modules/{@entelligentsia → @earendil-works}/pi-tui/dist/components/spacer.d.ts +0 -0
  2834. /package/node_modules/{@entelligentsia → @earendil-works}/pi-tui/dist/components/spacer.d.ts.map +0 -0
  2835. /package/node_modules/{@entelligentsia → @earendil-works}/pi-tui/dist/components/spacer.js +0 -0
  2836. /package/node_modules/{@entelligentsia → @earendil-works}/pi-tui/dist/components/spacer.js.map +0 -0
  2837. /package/node_modules/{@entelligentsia → @earendil-works}/pi-tui/dist/components/text.d.ts +0 -0
  2838. /package/node_modules/{@entelligentsia → @earendil-works}/pi-tui/dist/components/text.d.ts.map +0 -0
  2839. /package/node_modules/{@entelligentsia → @earendil-works}/pi-tui/dist/components/text.js +0 -0
  2840. /package/node_modules/{@entelligentsia → @earendil-works}/pi-tui/dist/components/text.js.map +0 -0
  2841. /package/node_modules/{@entelligentsia → @earendil-works}/pi-tui/dist/components/truncated-text.d.ts +0 -0
  2842. /package/node_modules/{@entelligentsia → @earendil-works}/pi-tui/dist/components/truncated-text.d.ts.map +0 -0
  2843. /package/node_modules/{@entelligentsia → @earendil-works}/pi-tui/dist/components/truncated-text.js +0 -0
  2844. /package/node_modules/{@entelligentsia → @earendil-works}/pi-tui/dist/components/truncated-text.js.map +0 -0
  2845. /package/node_modules/{@entelligentsia → @earendil-works}/pi-tui/dist/editor-component.d.ts +0 -0
  2846. /package/node_modules/{@entelligentsia → @earendil-works}/pi-tui/dist/editor-component.d.ts.map +0 -0
  2847. /package/node_modules/{@entelligentsia → @earendil-works}/pi-tui/dist/editor-component.js +0 -0
  2848. /package/node_modules/{@entelligentsia → @earendil-works}/pi-tui/dist/editor-component.js.map +0 -0
  2849. /package/node_modules/{@entelligentsia → @earendil-works}/pi-tui/dist/fuzzy.d.ts +0 -0
  2850. /package/node_modules/{@entelligentsia → @earendil-works}/pi-tui/dist/fuzzy.d.ts.map +0 -0
  2851. /package/node_modules/{@entelligentsia → @earendil-works}/pi-tui/dist/fuzzy.js +0 -0
  2852. /package/node_modules/{@entelligentsia → @earendil-works}/pi-tui/dist/fuzzy.js.map +0 -0
  2853. /package/node_modules/{@entelligentsia → @earendil-works}/pi-tui/dist/index.d.ts +0 -0
  2854. /package/node_modules/{@entelligentsia → @earendil-works}/pi-tui/dist/index.d.ts.map +0 -0
  2855. /package/node_modules/{@entelligentsia → @earendil-works}/pi-tui/dist/index.js +0 -0
  2856. /package/node_modules/{@entelligentsia → @earendil-works}/pi-tui/dist/index.js.map +0 -0
  2857. /package/node_modules/{@entelligentsia → @earendil-works}/pi-tui/dist/keybindings.d.ts +0 -0
  2858. /package/node_modules/{@entelligentsia → @earendil-works}/pi-tui/dist/keybindings.d.ts.map +0 -0
  2859. /package/node_modules/{@entelligentsia → @earendil-works}/pi-tui/dist/keybindings.js +0 -0
  2860. /package/node_modules/{@entelligentsia → @earendil-works}/pi-tui/dist/keybindings.js.map +0 -0
  2861. /package/node_modules/{@entelligentsia → @earendil-works}/pi-tui/dist/keys.d.ts +0 -0
  2862. /package/node_modules/{@entelligentsia → @earendil-works}/pi-tui/dist/keys.d.ts.map +0 -0
  2863. /package/node_modules/{@entelligentsia → @earendil-works}/pi-tui/dist/keys.js +0 -0
  2864. /package/node_modules/{@entelligentsia → @earendil-works}/pi-tui/dist/keys.js.map +0 -0
  2865. /package/node_modules/{@entelligentsia → @earendil-works}/pi-tui/dist/kill-ring.d.ts +0 -0
  2866. /package/node_modules/{@entelligentsia → @earendil-works}/pi-tui/dist/kill-ring.d.ts.map +0 -0
  2867. /package/node_modules/{@entelligentsia → @earendil-works}/pi-tui/dist/kill-ring.js +0 -0
  2868. /package/node_modules/{@entelligentsia → @earendil-works}/pi-tui/dist/kill-ring.js.map +0 -0
  2869. /package/node_modules/{@entelligentsia → @earendil-works}/pi-tui/dist/stdin-buffer.d.ts +0 -0
  2870. /package/node_modules/{@entelligentsia → @earendil-works}/pi-tui/dist/terminal.d.ts +0 -0
  2871. /package/node_modules/{@entelligentsia → @earendil-works}/pi-tui/dist/terminal.d.ts.map +0 -0
  2872. /package/node_modules/{@entelligentsia → @earendil-works}/pi-tui/dist/terminal.js +0 -0
  2873. /package/node_modules/{@entelligentsia → @earendil-works}/pi-tui/dist/terminal.js.map +0 -0
  2874. /package/node_modules/{@entelligentsia → @earendil-works}/pi-tui/dist/tui.d.ts +0 -0
  2875. /package/node_modules/{@entelligentsia → @earendil-works}/pi-tui/dist/tui.d.ts.map +0 -0
  2876. /package/node_modules/{@entelligentsia → @earendil-works}/pi-tui/dist/tui.js +0 -0
  2877. /package/node_modules/{@entelligentsia → @earendil-works}/pi-tui/dist/tui.js.map +0 -0
  2878. /package/node_modules/{@entelligentsia → @earendil-works}/pi-tui/dist/undo-stack.d.ts +0 -0
  2879. /package/node_modules/{@entelligentsia → @earendil-works}/pi-tui/dist/undo-stack.d.ts.map +0 -0
  2880. /package/node_modules/{@entelligentsia → @earendil-works}/pi-tui/dist/undo-stack.js +0 -0
  2881. /package/node_modules/{@entelligentsia → @earendil-works}/pi-tui/dist/undo-stack.js.map +0 -0
  2882. /package/node_modules/{@entelligentsia → @earendil-works}/pi-tui/dist/utils.d.ts +0 -0
  2883. /package/node_modules/{@entelligentsia → @earendil-works}/pi-tui/dist/utils.d.ts.map +0 -0
  2884. /package/node_modules/{@entelligentsia → @earendil-works}/pi-tui/dist/utils.js +0 -0
  2885. /package/node_modules/{@entelligentsia → @earendil-works}/pi-tui/dist/utils.js.map +0 -0
@@ -0,0 +1 @@
1
+ {"version":3,"file":"agent-harness.js","sourceRoot":"","sources":["../../src/harness/agent-harness.ts"],"names":[],"mappings":"AAAA,OAAO,EAIN,YAAY,GAEZ,MAAM,uBAAuB,CAAC;AAC/B,OAAO,EAAE,YAAY,EAAE,MAAM,kBAAkB,CAAC;AAWhD,OAAO,EAAE,8BAA8B,EAAE,qBAAqB,EAAE,MAAM,sCAAsC,CAAC;AAC7G,OAAO,EAAE,OAAO,EAAE,2BAA2B,EAAE,iBAAiB,EAAE,MAAM,4BAA4B,CAAC;AACrG,OAAO,EAAE,YAAY,EAAE,MAAM,eAAe,CAAC;AAC7C,OAAO,EAAE,8BAA8B,EAAE,MAAM,uBAAuB,CAAC;AACvE,OAAO,EAAE,qBAAqB,EAAE,MAAM,aAAa,CAAC;AAkBpD,OAAO,EAAE,iBAAiB,EAAE,kBAAkB,EAAE,eAAe,EAAE,YAAY,EAAE,OAAO,EAAE,MAAM,YAAY,CAAC;AAE3G,SAAS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qBAAqB,CAAC,CAAC;QACxD,IAAI,CAAC,QAAQ,EAAE,CAAC;YACf,QAAQ,GAAG,IAAI,GAAG,EAAE,CAAC;YACrB,IAAI,CAAC,QAAQ,CAAC,GAAG,CAAC,qBAAqB,EAAE,QAAQ,CAAC,CAAC;QACpD,CAAC;QACD,QAAQ,CAAC,GAAG,CAAC,QAA+B,CAAC,CAAC;QAC9C,OAAO,GAAG,EAAE,CAAC,QAAS,CAAC,MAAM,CAAC,QAA+B,CAAC,CAAC;IAAA,CAC/D;IAED,EAAE,CACD,IAAW,EACX,OAEmF,EACtE;QACb,IAAI,QAAQ,GAAG,IAAI,CAAC,QAAQ,CAAC,GAAG,CAAC,IAAI,CAAC,CAAC;QACvC,IAAI,CAAC,QAAQ,EAAE,CAAC;YACf,QAAQ,GAAG,IAAI,GAAG,EAAE,CAAC;YACrB,IAAI,CAAC,QAAQ,CAAC,GAAG,CAAC,IAAI,EAAE,QAAQ,CAAC,CAAC;QACnC,CAAC;QACD,QAAQ,CAAC,GAAG,CAAC,OAA8B,CAAC,CAAC;QAC7C,OAAO,GAAG,EAAE,CAAC,QAAS,CAAC,MAAM,CAAC,OAA8B,CAAC,CAAC;IAAA,CAC9D;CACD","sourcesContent":["import {\n\ttype AssistantMessage,\n\ttype ImageContent,\n\ttype Model,\n\tstreamSimple,\n\ttype UserMessage,\n} from \"@earendil-works/pi-ai\";\nimport { runAgentLoop } from \"../agent-loop.js\";\nimport type {\n\tAgentContext,\n\tAgentEvent,\n\tAgentLoopConfig,\n\tAgentMessage,\n\tAgentTool,\n\tQueueMode,\n\tStreamFn,\n\tThinkingLevel,\n} from \"../types.js\";\nimport { collectEntriesForBranchSummary, generateBranchSummary } from \"./compaction/branch-summarization.js\";\nimport { compact, DEFAULT_COMPACTION_SETTINGS, prepareCompaction } from \"./compaction/compaction.js\";\nimport { convertToLlm } from \"./messages.js\";\nimport { formatPromptTemplateInvocation } from \"./prompt-templates.js\";\nimport { formatSkillInvocation } from \"./skills.js\";\nimport type {\n\tAbortResult,\n\tAgentHarnessEvent,\n\tAgentHarnessEventResultMap,\n\tAgentHarnessOptions,\n\tAgentHarnessOwnEvent,\n\tAgentHarnessPhase,\n\tAgentHarnessResources,\n\tAgentHarnessStreamOptions,\n\tAgentHarnessStreamOptionsPatch,\n\tExecutionEnv,\n\tNavigateTreeResult,\n\tPendingSessionWrite,\n\tPromptTemplate,\n\tSession,\n\tSkill,\n} from \"./types.js\";\nimport { AgentHarnessError, BranchSummaryError, CompactionError, SessionError, toError } from \"./types.js\";\n\nfunction createUserMessage(text: string, images?: ImageContent[]): UserMessage {\n\tconst content: Array<{ type: \"text\"; text: string } | ImageContent> = [{ type: \"text\", text }];\n\tif (images) content.push(...images);\n\treturn { role: \"user\", content, timestamp: Date.now() };\n}\n\nfunction createFailureMessage(model: Model<any>, error: unknown, aborted: boolean): AssistantMessage {\n\treturn {\n\t\trole: \"assistant\",\n\t\tcontent: [{ type: \"text\", text: \"\" }],\n\t\tapi: model.api,\n\t\tprovider: model.provider,\n\t\tmodel: model.id,\n\t\tstopReason: aborted ? \"aborted\" : \"error\",\n\t\terrorMessage: error instanceof Error ? error.message : String(error),\n\t\ttimestamp: Date.now(),\n\t\tusage: {\n\t\t\tinput: 0,\n\t\t\toutput: 0,\n\t\t\tcacheRead: 0,\n\t\t\tcacheWrite: 0,\n\t\t\ttotalTokens: 0,\n\t\t\tcost: { input: 0, output: 0, cacheRead: 0, cacheWrite: 0, total: 0 },\n\t\t},\n\t};\n}\n\nfunction cloneStreamOptions(streamOptions?: AgentHarnessStreamOptions): AgentHarnessStreamOptions {\n\treturn {\n\t\t...streamOptions,\n\t\theaders: streamOptions?.headers ? { ...streamOptions.headers } : undefined,\n\t\tmetadata: streamOptions?.metadata ? { ...streamOptions.metadata } : undefined,\n\t};\n}\n\nfunction mergeHeaders(...headers: Array<Record<string, string> | undefined>): Record<string, string> | undefined {\n\tconst merged: Record<string, string> = {};\n\tlet hasHeaders = false;\n\tfor (const entry of headers) {\n\t\tif (!entry) continue;\n\t\tObject.assign(merged, entry);\n\t\thasHeaders = true;\n\t}\n\treturn hasHeaders ? merged : undefined;\n}\n\nfunction applyStreamOptionsPatch(\n\tbase: AgentHarnessStreamOptions,\n\tpatch?: AgentHarnessStreamOptionsPatch,\n): AgentHarnessStreamOptions {\n\tconst result = cloneStreamOptions(base);\n\tif (!patch) return result;\n\n\tif (Object.hasOwn(patch, \"transport\")) result.transport = patch.transport;\n\tif (Object.hasOwn(patch, \"timeoutMs\")) result.timeoutMs = patch.timeoutMs;\n\tif (Object.hasOwn(patch, \"maxRetries\")) result.maxRetries = patch.maxRetries;\n\tif (Object.hasOwn(patch, \"maxRetryDelayMs\")) result.maxRetryDelayMs = patch.maxRetryDelayMs;\n\tif (Object.hasOwn(patch, \"cacheRetention\")) result.cacheRetention = patch.cacheRetention;\n\n\tif (Object.hasOwn(patch, \"headers\")) {\n\t\tif (patch.headers === undefined) {\n\t\t\tresult.headers = undefined;\n\t\t} else {\n\t\t\tconst headers = { ...(result.headers ?? {}) };\n\t\t\tfor (const [key, value] of Object.entries(patch.headers)) {\n\t\t\t\tif (value === undefined) delete headers[key];\n\t\t\t\telse headers[key] = value;\n\t\t\t}\n\t\t\tresult.headers = Object.keys(headers).length > 0 ? headers : undefined;\n\t\t}\n\t}\n\n\tif (Object.hasOwn(patch, \"metadata\")) {\n\t\tif (patch.metadata === undefined) {\n\t\t\tresult.metadata = undefined;\n\t\t} else {\n\t\t\tconst metadata = { ...(result.metadata ?? {}) };\n\t\t\tfor (const [key, value] of Object.entries(patch.metadata)) {\n\t\t\t\tif (value === undefined) delete metadata[key];\n\t\t\t\telse metadata[key] = value;\n\t\t\t}\n\t\t\tresult.metadata = Object.keys(metadata).length > 0 ? metadata : undefined;\n\t\t}\n\t}\n\n\treturn result;\n}\n\nconst SUBSCRIBER_EVENT_TYPE = \"*\";\n\ntype AgentHarnessHandler = (event: any, signal?: AbortSignal) => Promise<any> | any;\n\nfunction normalizeHarnessError(error: unknown, fallbackCode: AgentHarnessError[\"code\"]): AgentHarnessError {\n\tif (error instanceof AgentHarnessError) return error;\n\tconst cause = toError(error);\n\tif (cause instanceof SessionError) return new AgentHarnessError(\"session\", cause.message, cause);\n\tif (cause instanceof CompactionError) return new AgentHarnessError(\"compaction\", cause.message, cause);\n\tif (cause instanceof BranchSummaryError) return new AgentHarnessError(\"branch_summary\", cause.message, cause);\n\treturn new AgentHarnessError(fallbackCode, cause.message, cause);\n}\n\nfunction normalizeHookError(error: unknown): AgentHarnessError {\n\treturn normalizeHarnessError(error, \"hook\");\n}\n\ninterface AgentHarnessTurnState<\n\tTSkill extends Skill = Skill,\n\tTPromptTemplate extends PromptTemplate = PromptTemplate,\n\tTTool extends AgentTool = AgentTool,\n> {\n\tmessages: AgentMessage[];\n\tresources: AgentHarnessResources<TSkill, TPromptTemplate>;\n\tstreamOptions: AgentHarnessStreamOptions;\n\tsessionId: string;\n\tsystemPrompt: string;\n\tmodel: Model<any>;\n\tthinkingLevel: ThinkingLevel;\n\ttools: TTool[];\n\tactiveTools: TTool[];\n}\n\nexport class AgentHarness<\n\tTSkill extends Skill = Skill,\n\tTPromptTemplate extends PromptTemplate = PromptTemplate,\n\tTTool extends AgentTool = AgentTool,\n> {\n\treadonly env: ExecutionEnv;\n\tprivate session: Session;\n\tprivate phase: AgentHarnessPhase = \"idle\";\n\tprivate runAbortController?: AbortController;\n\tprivate runPromise?: Promise<void>;\n\tprivate pendingSessionWrites: PendingSessionWrite[] = [];\n\tprivate model: Model<any>;\n\tprivate thinkingLevel: ThinkingLevel;\n\tprivate systemPrompt: AgentHarnessOptions<TSkill, TPromptTemplate, TTool>[\"systemPrompt\"];\n\tprivate streamOptions: AgentHarnessStreamOptions;\n\tprivate getApiKeyAndHeaders?: AgentHarnessOptions[\"getApiKeyAndHeaders\"];\n\tprivate resources: AgentHarnessResources<TSkill, TPromptTemplate>;\n\tprivate tools = new Map<string, TTool>();\n\tprivate activeToolNames: string[];\n\tprivate steerQueue: UserMessage[] = [];\n\tprivate steeringQueueMode: QueueMode;\n\tprivate followUpQueue: UserMessage[] = [];\n\tprivate followUpQueueMode: QueueMode;\n\tprivate nextTurnQueue: AgentMessage[] = [];\n\tprivate handlers = new Map<string, Set<AgentHarnessHandler>>();\n\n\tconstructor(options: AgentHarnessOptions<TSkill, TPromptTemplate, TTool>) {\n\t\tthis.env = options.env;\n\t\tthis.session = options.session;\n\t\tthis.resources = options.resources ?? {};\n\t\tthis.streamOptions = cloneStreamOptions(options.streamOptions);\n\t\tthis.systemPrompt = options.systemPrompt;\n\t\tthis.getApiKeyAndHeaders = options.getApiKeyAndHeaders;\n\t\tfor (const tool of options.tools ?? []) {\n\t\t\tthis.tools.set(tool.name, tool);\n\t\t}\n\t\tthis.model = options.model;\n\t\tthis.thinkingLevel = options.thinkingLevel ?? \"off\";\n\t\tthis.activeToolNames = options.activeToolNames ?? (options.tools ?? []).map((tool) => tool.name);\n\t\tthis.steeringQueueMode = options.steeringMode ?? \"one-at-a-time\";\n\t\tthis.followUpQueueMode = options.followUpMode ?? \"one-at-a-time\";\n\t}\n\n\tprivate getHandlers(type: string): Set<AgentHarnessHandler> | undefined {\n\t\treturn this.handlers.get(type);\n\t}\n\n\tprivate async emitOwn(event: AgentHarnessOwnEvent<TSkill, TPromptTemplate>, signal?: AbortSignal): Promise<void> {\n\t\tfor (const listener of this.getHandlers(SUBSCRIBER_EVENT_TYPE) ?? []) {\n\t\t\ttry {\n\t\t\t\tawait listener(event, signal);\n\t\t\t} catch (error) {\n\t\t\t\tthrow normalizeHookError(error);\n\t\t\t}\n\t\t}\n\t}\n\n\tprivate async emitAny(event: AgentHarnessEvent<TSkill, TPromptTemplate>, signal?: AbortSignal): Promise<void> {\n\t\tfor (const listener of this.getHandlers(SUBSCRIBER_EVENT_TYPE) ?? []) {\n\t\t\ttry {\n\t\t\t\tawait listener(event, signal);\n\t\t\t} catch (error) {\n\t\t\t\tthrow normalizeHookError(error);\n\t\t\t}\n\t\t}\n\t}\n\n\tprivate async emitHook<TType extends keyof AgentHarnessEventResultMap>(\n\t\tevent: Extract<AgentHarnessOwnEvent, { type: TType }>,\n\t): Promise<AgentHarnessEventResultMap[TType] | undefined> {\n\t\tconst handlers = this.getHandlers(event.type as TType);\n\t\tif (!handlers || handlers.size === 0) return undefined;\n\t\tlet lastResult: AgentHarnessEventResultMap[TType] | undefined;\n\t\tfor (const handler of handlers) {\n\t\t\ttry {\n\t\t\t\tconst result = await handler(event);\n\t\t\t\tif (result !== undefined) {\n\t\t\t\t\tlastResult = result;\n\t\t\t\t}\n\t\t\t} catch (error) {\n\t\t\t\tthrow normalizeHookError(error);\n\t\t\t}\n\t\t}\n\t\treturn lastResult;\n\t}\n\n\tprivate async emitBeforeProviderRequest(\n\t\tmodel: Model<any>,\n\t\tsessionId: string,\n\t\tstreamOptions: AgentHarnessStreamOptions,\n\t): Promise<AgentHarnessStreamOptions> {\n\t\tconst handlers = this.getHandlers(\"before_provider_request\");\n\t\tlet current = cloneStreamOptions(streamOptions);\n\t\tif (!handlers || handlers.size === 0) return current;\n\t\tfor (const handler of handlers) {\n\t\t\ttry {\n\t\t\t\tconst result = await handler({\n\t\t\t\t\ttype: \"before_provider_request\",\n\t\t\t\t\tmodel,\n\t\t\t\t\tsessionId,\n\t\t\t\t\tstreamOptions: cloneStreamOptions(current),\n\t\t\t\t});\n\t\t\t\tif (result?.streamOptions) {\n\t\t\t\t\tcurrent = applyStreamOptionsPatch(current, result.streamOptions);\n\t\t\t\t}\n\t\t\t} catch (error) {\n\t\t\t\tthrow normalizeHookError(error);\n\t\t\t}\n\t\t}\n\t\treturn current;\n\t}\n\n\tprivate async emitBeforeProviderPayload(model: Model<any>, payload: unknown): Promise<unknown> {\n\t\tconst handlers = this.getHandlers(\"before_provider_payload\");\n\t\tlet current = payload;\n\t\tif (!handlers || handlers.size === 0) return current;\n\t\tfor (const handler of handlers) {\n\t\t\ttry {\n\t\t\t\tconst result = await handler({ type: \"before_provider_payload\", model, payload: current });\n\t\t\t\tif (result !== undefined) {\n\t\t\t\t\tcurrent = result.payload;\n\t\t\t\t}\n\t\t\t} catch (error) {\n\t\t\t\tthrow normalizeHookError(error);\n\t\t\t}\n\t\t}\n\t\treturn current;\n\t}\n\n\tprivate async emitQueueUpdate(): Promise<void> {\n\t\tawait this.emitOwn({\n\t\t\ttype: \"queue_update\",\n\t\t\tsteer: [...this.steerQueue],\n\t\t\tfollowUp: [...this.followUpQueue],\n\t\t\tnextTurn: [...this.nextTurnQueue],\n\t\t});\n\t}\n\n\tprivate startRunPromise(): () => void {\n\t\tlet finish = () => {};\n\t\tthis.runPromise = new Promise<void>((resolve) => {\n\t\t\tfinish = resolve;\n\t\t});\n\t\treturn () => {\n\t\t\tthis.runPromise = undefined;\n\t\t\tfinish();\n\t\t};\n\t}\n\n\tprivate async createTurnState(): Promise<AgentHarnessTurnState<TSkill, TPromptTemplate, TTool>> {\n\t\tconst context = await this.session.buildContext();\n\t\tconst resources = this.getResources();\n\t\tconst sessionMetadata = await this.session.getMetadata();\n\t\tconst tools = [...this.tools.values()];\n\t\tconst activeTools = this.activeToolNames\n\t\t\t.map((name) => this.tools.get(name))\n\t\t\t.filter((tool): tool is TTool => tool !== undefined);\n\t\tlet systemPrompt = \"You are a helpful assistant.\";\n\t\tif (typeof this.systemPrompt === \"string\") {\n\t\t\tsystemPrompt = this.systemPrompt;\n\t\t} else if (this.systemPrompt) {\n\t\t\tsystemPrompt = await this.systemPrompt({\n\t\t\t\tenv: this.env,\n\t\t\t\tsession: this.session,\n\t\t\t\tmodel: this.model,\n\t\t\t\tthinkingLevel: this.thinkingLevel,\n\t\t\t\tactiveTools,\n\t\t\t\tresources,\n\t\t\t});\n\t\t}\n\t\treturn {\n\t\t\tmessages: context.messages,\n\t\t\tresources,\n\t\t\tstreamOptions: cloneStreamOptions(this.streamOptions),\n\t\t\tsessionId: sessionMetadata.id,\n\t\t\tsystemPrompt,\n\t\t\tmodel: this.model,\n\t\t\tthinkingLevel: this.thinkingLevel,\n\t\t\ttools,\n\t\t\tactiveTools,\n\t\t};\n\t}\n\n\tprivate createContext(\n\t\tturnState: AgentHarnessTurnState<TSkill, TPromptTemplate, TTool>,\n\t\tsystemPrompt?: string,\n\t): AgentContext {\n\t\treturn {\n\t\t\tsystemPrompt: systemPrompt ?? turnState.systemPrompt,\n\t\t\tmessages: turnState.messages.slice(),\n\t\t\ttools: turnState.activeTools.slice(),\n\t\t};\n\t}\n\n\tprivate createStreamFn(getTurnState: () => AgentHarnessTurnState<TSkill, TPromptTemplate, TTool>): StreamFn {\n\t\treturn async (model, context, streamOptions) => {\n\t\t\tconst turnState = getTurnState();\n\t\t\tconst auth = await this.getApiKeyAndHeaders?.(model);\n\t\t\tconst snapshotOptions: AgentHarnessStreamOptions = {\n\t\t\t\t...turnState.streamOptions,\n\t\t\t\theaders: mergeHeaders(turnState.streamOptions.headers, auth?.headers),\n\t\t\t};\n\t\t\tconst requestOptions = await this.emitBeforeProviderRequest(model, turnState.sessionId, snapshotOptions);\n\t\t\treturn streamSimple(model, context, {\n\t\t\t\tcacheRetention: requestOptions.cacheRetention,\n\t\t\t\theaders: requestOptions.headers,\n\t\t\t\tmaxRetries: requestOptions.maxRetries,\n\t\t\t\tmaxRetryDelayMs: requestOptions.maxRetryDelayMs,\n\t\t\t\tmetadata: requestOptions.metadata,\n\t\t\t\tonPayload: async (payload) => await this.emitBeforeProviderPayload(model, payload),\n\t\t\t\tonResponse: async (response) => {\n\t\t\t\t\tconst headers = { ...(response.headers as Record<string, string>) };\n\t\t\t\t\tawait this.emitOwn(\n\t\t\t\t\t\t{ type: \"after_provider_response\", status: response.status, headers },\n\t\t\t\t\t\tstreamOptions?.signal,\n\t\t\t\t\t);\n\t\t\t\t},\n\t\t\t\treasoning: streamOptions?.reasoning,\n\t\t\t\tsignal: streamOptions?.signal,\n\t\t\t\tsessionId: turnState.sessionId,\n\t\t\t\ttimeoutMs: requestOptions.timeoutMs,\n\t\t\t\ttransport: requestOptions.transport,\n\t\t\t\tapiKey: auth?.apiKey,\n\t\t\t});\n\t\t};\n\t}\n\n\tprivate async drainQueuedMessages(queue: AgentMessage[], mode: QueueMode): Promise<AgentMessage[]> {\n\t\tconst messages = mode === \"all\" ? queue.splice(0) : queue.splice(0, 1);\n\t\tif (messages.length === 0) return messages;\n\t\ttry {\n\t\t\tawait this.emitQueueUpdate();\n\t\t\treturn messages;\n\t\t} catch (error) {\n\t\t\tqueue.unshift(...messages);\n\t\t\tthrow normalizeHookError(error);\n\t\t}\n\t}\n\n\tprivate createLoopConfig(\n\t\tgetTurnState: () => AgentHarnessTurnState<TSkill, TPromptTemplate, TTool>,\n\t\tsetTurnState: (turnState: AgentHarnessTurnState<TSkill, TPromptTemplate, TTool>) => void,\n\t): AgentLoopConfig {\n\t\tconst turnState = getTurnState();\n\t\treturn {\n\t\t\tmodel: turnState.model,\n\t\t\treasoning: turnState.thinkingLevel === \"off\" ? undefined : turnState.thinkingLevel,\n\t\t\tconvertToLlm,\n\t\t\ttransformContext: async (messages) => {\n\t\t\t\tconst result = await this.emitHook({ type: \"context\", messages: [...messages] });\n\t\t\t\treturn result?.messages ?? messages;\n\t\t\t},\n\t\t\tbeforeToolCall: async ({ toolCall, args }) => {\n\t\t\t\tconst result = await this.emitHook({\n\t\t\t\t\ttype: \"tool_call\",\n\t\t\t\t\ttoolCallId: toolCall.id,\n\t\t\t\t\ttoolName: toolCall.name,\n\t\t\t\t\tinput: args as Record<string, unknown>,\n\t\t\t\t});\n\t\t\t\treturn result ? { block: result.block, reason: result.reason } : undefined;\n\t\t\t},\n\t\t\tafterToolCall: async ({ toolCall, args, result, isError }) => {\n\t\t\t\tconst patch = await this.emitHook({\n\t\t\t\t\ttype: \"tool_result\",\n\t\t\t\t\ttoolCallId: toolCall.id,\n\t\t\t\t\ttoolName: toolCall.name,\n\t\t\t\t\tinput: args as Record<string, unknown>,\n\t\t\t\t\tcontent: result.content,\n\t\t\t\t\tdetails: result.details,\n\t\t\t\t\tisError,\n\t\t\t\t});\n\t\t\t\treturn patch\n\t\t\t\t\t? { content: patch.content, details: patch.details, isError: patch.isError, terminate: patch.terminate }\n\t\t\t\t\t: undefined;\n\t\t\t},\n\t\t\tprepareNextTurn: async () => {\n\t\t\t\tawait this.flushPendingSessionWrites();\n\t\t\t\tconst nextTurnState = await this.createTurnState();\n\t\t\t\tsetTurnState(nextTurnState);\n\t\t\t\treturn {\n\t\t\t\t\tcontext: this.createContext(nextTurnState),\n\t\t\t\t\tmodel: nextTurnState.model,\n\t\t\t\t\tthinkingLevel: nextTurnState.thinkingLevel,\n\t\t\t\t};\n\t\t\t},\n\t\t\tgetSteeringMessages: async () => this.drainQueuedMessages(this.steerQueue, this.steeringQueueMode),\n\t\t\tgetFollowUpMessages: async () => this.drainQueuedMessages(this.followUpQueue, this.followUpQueueMode),\n\t\t};\n\t}\n\n\tprivate validateToolNames(toolNames: string[], tools: Map<string, TTool> = this.tools): void {\n\t\tconst missing = toolNames.filter((name) => !tools.has(name));\n\t\tif (missing.length > 0) throw new AgentHarnessError(\"invalid_argument\", `Unknown tool(s): ${missing.join(\", \")}`);\n\t}\n\n\tprivate async flushPendingSessionWrites(): Promise<void> {\n\t\twhile (this.pendingSessionWrites.length > 0) {\n\t\t\tconst write = this.pendingSessionWrites[0]!;\n\t\t\tif (write.type === \"message\") {\n\t\t\t\tawait this.session.appendMessage(write.message);\n\t\t\t} else if (write.type === \"model_change\") {\n\t\t\t\tawait this.session.appendModelChange(write.provider, write.modelId);\n\t\t\t} else if (write.type === \"thinking_level_change\") {\n\t\t\t\tawait this.session.appendThinkingLevelChange(write.thinkingLevel);\n\t\t\t} else if (write.type === \"custom\") {\n\t\t\t\tawait this.session.appendCustomEntry(write.customType, write.data);\n\t\t\t} else if (write.type === \"custom_message\") {\n\t\t\t\tawait this.session.appendCustomMessageEntry(write.customType, write.content, write.display, write.details);\n\t\t\t} else if (write.type === \"label\") {\n\t\t\t\tawait this.session.appendLabel(write.targetId, write.label);\n\t\t\t} else if (write.type === \"session_info\") {\n\t\t\t\tawait this.session.appendSessionName(write.name ?? \"\");\n\t\t\t} else if (write.type === \"leaf\") {\n\t\t\t\tawait this.session.getStorage().setLeafId(write.targetId);\n\t\t\t}\n\t\t\tthis.pendingSessionWrites.shift();\n\t\t}\n\t}\n\n\tprivate async handleAgentEvent(event: AgentEvent, signal?: AbortSignal): Promise<void> {\n\t\tif (event.type === \"message_end\") {\n\t\t\tawait this.session.appendMessage(event.message);\n\t\t\tawait this.emitAny(event, signal);\n\t\t\treturn;\n\t\t}\n\t\tif (event.type === \"turn_end\") {\n\t\t\tlet eventError: unknown;\n\t\t\ttry {\n\t\t\t\tawait this.emitAny(event, signal);\n\t\t\t} catch (error) {\n\t\t\t\teventError = error;\n\t\t\t}\n\t\t\tconst hadPendingMutations = this.pendingSessionWrites.length > 0;\n\t\t\tawait this.flushPendingSessionWrites();\n\t\t\tif (eventError) throw eventError;\n\t\t\tawait this.emitOwn({ type: \"save_point\", hadPendingMutations });\n\t\t\treturn;\n\t\t}\n\t\tif (event.type === \"agent_end\") {\n\t\t\tawait this.flushPendingSessionWrites();\n\t\t\tthis.phase = \"idle\";\n\t\t\tawait this.emitAny(event, signal);\n\t\t\tawait this.emitOwn({ type: \"settled\", nextTurnCount: this.nextTurnQueue.length }, signal);\n\t\t\treturn;\n\t\t}\n\t\tawait this.emitAny(event, signal);\n\t}\n\n\tprivate async emitRunFailure(\n\t\tmodel: Model<any>,\n\t\terror: unknown,\n\t\taborted: boolean,\n\t\tsignal: AbortSignal,\n\t): Promise<AgentMessage[]> {\n\t\tconst failureMessage = createFailureMessage(model, error, aborted);\n\t\tawait this.handleAgentEvent({ type: \"message_start\", message: failureMessage }, signal);\n\t\tawait this.handleAgentEvent({ type: \"message_end\", message: failureMessage }, signal);\n\t\tawait this.handleAgentEvent({ type: \"turn_end\", message: failureMessage, toolResults: [] }, signal);\n\t\tawait this.handleAgentEvent({ type: \"agent_end\", messages: [failureMessage] }, signal);\n\t\treturn [failureMessage];\n\t}\n\n\tprivate async executeTurn(\n\t\tturnState: AgentHarnessTurnState<TSkill, TPromptTemplate, TTool>,\n\t\ttext: string,\n\t\toptions?: { images?: ImageContent[] },\n\t): Promise<AssistantMessage> {\n\t\tlet activeTurnState = turnState;\n\t\tlet messages: AgentMessage[] = [createUserMessage(text, options?.images)];\n\t\tif (this.nextTurnQueue.length > 0) {\n\t\t\tconst queuedMessages = this.nextTurnQueue.splice(0);\n\t\t\ttry {\n\t\t\t\tawait this.emitQueueUpdate();\n\t\t\t} catch (error) {\n\t\t\t\tthis.nextTurnQueue.unshift(...queuedMessages);\n\t\t\t\tthrow normalizeHookError(error);\n\t\t\t}\n\t\t\tmessages = [...queuedMessages, messages[0]!];\n\t\t}\n\t\tconst beforeResult = await this.emitHook({\n\t\t\ttype: \"before_agent_start\",\n\t\t\tprompt: text,\n\t\t\timages: options?.images,\n\t\t\tsystemPrompt: turnState.systemPrompt,\n\t\t\tresources: turnState.resources,\n\t\t});\n\t\tif (beforeResult?.messages) messages = [...messages, ...beforeResult.messages];\n\n\t\tconst abortController = new AbortController();\n\t\tconst getTurnState = () => activeTurnState;\n\t\tconst setTurnState = (nextTurnState: AgentHarnessTurnState<TSkill, TPromptTemplate, TTool>) => {\n\t\t\tactiveTurnState = nextTurnState;\n\t\t};\n\t\tthis.runAbortController = abortController;\n\t\tconst runResultPromise = (async () => {\n\t\t\ttry {\n\t\t\t\treturn await runAgentLoop(\n\t\t\t\t\tmessages,\n\t\t\t\t\tthis.createContext(turnState, beforeResult?.systemPrompt),\n\t\t\t\t\tthis.createLoopConfig(getTurnState, setTurnState),\n\t\t\t\t\t(event) => this.handleAgentEvent(event, abortController.signal),\n\t\t\t\t\tabortController.signal,\n\t\t\t\t\tthis.createStreamFn(getTurnState),\n\t\t\t\t);\n\t\t\t} catch (error) {\n\t\t\t\ttry {\n\t\t\t\t\treturn await this.emitRunFailure(\n\t\t\t\t\t\tactiveTurnState.model,\n\t\t\t\t\t\terror,\n\t\t\t\t\t\tabortController.signal.aborted,\n\t\t\t\t\t\tabortController.signal,\n\t\t\t\t\t);\n\t\t\t\t} catch (failureError) {\n\t\t\t\t\tconst cause = new AggregateError(\n\t\t\t\t\t\t[toError(error), toError(failureError)],\n\t\t\t\t\t\t\"Agent run failed and failure reporting failed\",\n\t\t\t\t\t);\n\t\t\t\t\tthrow new AgentHarnessError(\"unknown\", cause.message, cause);\n\t\t\t\t}\n\t\t\t}\n\t\t})();\n\t\ttry {\n\t\t\tconst newMessages = await runResultPromise;\n\t\t\tfor (let i = newMessages.length - 1; i >= 0; i--) {\n\t\t\t\tconst message = newMessages[i]!;\n\t\t\t\tif (message.role === \"assistant\") {\n\t\t\t\t\treturn message;\n\t\t\t\t}\n\t\t\t}\n\t\t\tthrow new AgentHarnessError(\"invalid_state\", \"AgentHarness prompt completed without an assistant message\");\n\t\t} finally {\n\t\t\ttry {\n\t\t\t\tawait this.flushPendingSessionWrites();\n\t\t\t} finally {\n\t\t\t\tthis.runAbortController = undefined;\n\t\t\t}\n\t\t}\n\t}\n\n\tasync prompt(text: string, options?: { images?: ImageContent[] }): Promise<AssistantMessage> {\n\t\tif (this.phase !== \"idle\") throw new AgentHarnessError(\"busy\", \"AgentHarness is busy\");\n\t\tthis.phase = \"turn\";\n\t\tconst finishRunPromise = this.startRunPromise();\n\t\ttry {\n\t\t\tconst turnState = await this.createTurnState();\n\t\t\treturn await this.executeTurn(turnState, text, options);\n\t\t} catch (error) {\n\t\t\tthis.phase = \"idle\";\n\t\t\tthrow normalizeHarnessError(error, \"unknown\");\n\t\t} finally {\n\t\t\tfinishRunPromise();\n\t\t}\n\t}\n\n\tasync skill(name: string, additionalInstructions?: string): Promise<AssistantMessage> {\n\t\tif (this.phase !== \"idle\") throw new AgentHarnessError(\"busy\", \"AgentHarness is busy\");\n\t\tthis.phase = \"turn\";\n\t\tconst finishRunPromise = this.startRunPromise();\n\t\ttry {\n\t\t\tconst turnState = await this.createTurnState();\n\t\t\tconst skill = (turnState.resources.skills ?? []).find((candidate) => candidate.name === name);\n\t\t\tif (!skill) throw new AgentHarnessError(\"invalid_argument\", `Unknown skill: ${name}`);\n\t\t\treturn await this.executeTurn(turnState, formatSkillInvocation(skill, additionalInstructions));\n\t\t} catch (error) {\n\t\t\tthis.phase = \"idle\";\n\t\t\tthrow normalizeHarnessError(error, \"unknown\");\n\t\t} finally {\n\t\t\tfinishRunPromise();\n\t\t}\n\t}\n\n\tasync promptFromTemplate(name: string, args: string[] = []): Promise<AssistantMessage> {\n\t\tif (this.phase !== \"idle\") throw new AgentHarnessError(\"busy\", \"AgentHarness is busy\");\n\t\tthis.phase = \"turn\";\n\t\tconst finishRunPromise = this.startRunPromise();\n\t\ttry {\n\t\t\tconst turnState = await this.createTurnState();\n\t\t\tconst template = (turnState.resources.promptTemplates ?? []).find((candidate) => candidate.name === name);\n\t\t\tif (!template) throw new AgentHarnessError(\"invalid_argument\", `Unknown prompt template: ${name}`);\n\t\t\treturn await this.executeTurn(turnState, formatPromptTemplateInvocation(template, args));\n\t\t} catch (error) {\n\t\t\tthis.phase = \"idle\";\n\t\t\tthrow normalizeHarnessError(error, \"unknown\");\n\t\t} finally {\n\t\t\tfinishRunPromise();\n\t\t}\n\t}\n\n\tasync steer(text: string, options?: { images?: ImageContent[] }): Promise<void> {\n\t\tif (this.phase === \"idle\") throw new AgentHarnessError(\"invalid_state\", \"Cannot steer while idle\");\n\t\tthis.steerQueue.push(createUserMessage(text, options?.images));\n\t\tawait this.emitQueueUpdate();\n\t}\n\n\tasync followUp(text: string, options?: { images?: ImageContent[] }): Promise<void> {\n\t\tif (this.phase === \"idle\") throw new AgentHarnessError(\"invalid_state\", \"Cannot follow up while idle\");\n\t\tthis.followUpQueue.push(createUserMessage(text, options?.images));\n\t\tawait this.emitQueueUpdate();\n\t}\n\n\tasync nextTurn(text: string, options?: { images?: ImageContent[] }): Promise<void> {\n\t\tthis.nextTurnQueue.push(createUserMessage(text, options?.images));\n\t\tawait this.emitQueueUpdate();\n\t}\n\n\tasync appendMessage(message: AgentMessage): Promise<void> {\n\t\ttry {\n\t\t\tif (this.phase === \"idle\") {\n\t\t\t\tawait this.session.appendMessage(message);\n\t\t\t} else {\n\t\t\t\tthis.pendingSessionWrites.push({ type: \"message\", message });\n\t\t\t}\n\t\t} catch (error) {\n\t\t\tthrow normalizeHarnessError(error, \"session\");\n\t\t}\n\t}\n\n\tasync compact(\n\t\tcustomInstructions?: string,\n\t): Promise<{ summary: string; firstKeptEntryId: string; tokensBefore: number; details?: unknown }> {\n\t\tif (this.phase !== \"idle\") throw new AgentHarnessError(\"busy\", \"compact() requires idle harness\");\n\t\tthis.phase = \"compaction\";\n\t\ttry {\n\t\t\tconst model = this.model;\n\t\t\tif (!model) throw new AgentHarnessError(\"invalid_state\", \"No model set for compaction\");\n\t\t\tconst auth = await this.getApiKeyAndHeaders?.(model);\n\t\t\tif (!auth) throw new AgentHarnessError(\"auth\", \"No auth available for compaction\");\n\t\t\tconst branchEntries = await this.session.getBranch();\n\t\t\tconst preparationResult = prepareCompaction(branchEntries, DEFAULT_COMPACTION_SETTINGS);\n\t\t\tif (!preparationResult.ok) throw preparationResult.error;\n\t\t\tconst preparation = preparationResult.value;\n\t\t\tif (!preparation) throw new AgentHarnessError(\"compaction\", \"Nothing to compact\");\n\t\t\tconst hookResult = await this.emitHook({\n\t\t\t\ttype: \"session_before_compact\",\n\t\t\t\tpreparation,\n\t\t\t\tbranchEntries,\n\t\t\t\tcustomInstructions,\n\t\t\t\tsignal: new AbortController().signal,\n\t\t\t});\n\t\t\tif (hookResult?.cancel) throw new AgentHarnessError(\"compaction\", \"Compaction cancelled\");\n\t\t\tconst provided = hookResult?.compaction;\n\t\t\tconst compactResult = provided\n\t\t\t\t? { ok: true as const, value: provided }\n\t\t\t\t: await compact(\n\t\t\t\t\t\tpreparation,\n\t\t\t\t\t\tmodel,\n\t\t\t\t\t\tauth.apiKey,\n\t\t\t\t\t\tauth.headers,\n\t\t\t\t\t\tcustomInstructions,\n\t\t\t\t\t\tundefined,\n\t\t\t\t\t\tthis.thinkingLevel,\n\t\t\t\t\t);\n\t\t\tif (!compactResult.ok) throw compactResult.error;\n\t\t\tconst result = compactResult.value;\n\t\t\tconst entryId = await this.session.appendCompaction(\n\t\t\t\tresult.summary,\n\t\t\t\tresult.firstKeptEntryId,\n\t\t\t\tresult.tokensBefore,\n\t\t\t\tresult.details,\n\t\t\t\tprovided !== undefined,\n\t\t\t);\n\t\t\tconst entry = await this.session.getEntry(entryId);\n\t\t\tif (entry?.type === \"compaction\") {\n\t\t\t\tawait this.emitOwn({ type: \"session_compact\", compactionEntry: entry, fromHook: provided !== undefined });\n\t\t\t}\n\t\t\treturn result;\n\t\t} catch (error) {\n\t\t\tthrow normalizeHarnessError(error, \"compaction\");\n\t\t} finally {\n\t\t\tthis.phase = \"idle\";\n\t\t}\n\t}\n\n\tasync navigateTree(\n\t\ttargetId: string,\n\t\toptions?: { summarize?: boolean; customInstructions?: string; replaceInstructions?: boolean; label?: string },\n\t): Promise<NavigateTreeResult> {\n\t\tif (this.phase !== \"idle\") throw new AgentHarnessError(\"busy\", \"navigateTree() requires idle harness\");\n\t\tthis.phase = \"branch_summary\";\n\t\ttry {\n\t\t\tconst oldLeafId = await this.session.getLeafId();\n\t\t\tif (oldLeafId === targetId) return { cancelled: false };\n\t\t\tconst targetEntry = await this.session.getEntry(targetId);\n\t\t\tif (!targetEntry) throw new AgentHarnessError(\"invalid_argument\", `Entry ${targetId} not found`);\n\t\t\tconst { entries, commonAncestorId } = await collectEntriesForBranchSummary(this.session, oldLeafId, targetId);\n\t\t\tconst preparation = {\n\t\t\t\ttargetId,\n\t\t\t\toldLeafId,\n\t\t\t\tcommonAncestorId,\n\t\t\t\tentriesToSummarize: entries,\n\t\t\t\tuserWantsSummary: options?.summarize ?? false,\n\t\t\t\tcustomInstructions: options?.customInstructions,\n\t\t\t\treplaceInstructions: options?.replaceInstructions,\n\t\t\t\tlabel: options?.label,\n\t\t\t};\n\t\t\tconst signal = new AbortController().signal;\n\t\t\tconst hookResult = await this.emitHook({ type: \"session_before_tree\", preparation, signal });\n\t\t\tif (hookResult?.cancel) return { cancelled: true };\n\t\t\tlet summaryEntry: NavigateTreeResult[\"summaryEntry\"];\n\t\t\tlet summaryText: string | undefined = hookResult?.summary?.summary;\n\t\t\tlet summaryDetails: unknown = hookResult?.summary?.details;\n\t\t\tif (!summaryText && options?.summarize && entries.length > 0) {\n\t\t\t\tconst model = this.model;\n\t\t\t\tif (!model) throw new AgentHarnessError(\"invalid_state\", \"No model set for branch summary\");\n\t\t\t\tconst auth = await this.getApiKeyAndHeaders?.(model);\n\t\t\t\tif (!auth) throw new AgentHarnessError(\"auth\", \"No auth available for branch summary\");\n\t\t\t\tconst branchSummary = await generateBranchSummary(entries, {\n\t\t\t\t\tmodel,\n\t\t\t\t\tapiKey: auth.apiKey,\n\t\t\t\t\theaders: auth.headers,\n\t\t\t\t\tsignal: new AbortController().signal,\n\t\t\t\t\tcustomInstructions: hookResult?.customInstructions ?? options?.customInstructions,\n\t\t\t\t\treplaceInstructions: hookResult?.replaceInstructions ?? options?.replaceInstructions,\n\t\t\t\t});\n\t\t\t\tif (!branchSummary.ok) {\n\t\t\t\t\tif (branchSummary.error.code === \"aborted\") return { cancelled: true };\n\t\t\t\t\tthrow new AgentHarnessError(\"branch_summary\", branchSummary.error.message, branchSummary.error);\n\t\t\t\t}\n\t\t\t\tsummaryText = branchSummary.value.summary;\n\t\t\t\tsummaryDetails = {\n\t\t\t\t\treadFiles: branchSummary.value.readFiles,\n\t\t\t\t\tmodifiedFiles: branchSummary.value.modifiedFiles,\n\t\t\t\t};\n\t\t\t}\n\t\t\tlet editorText: string | undefined;\n\t\t\tlet newLeafId: string | null;\n\t\t\tif (targetEntry.type === \"message\" && targetEntry.message.role === \"user\") {\n\t\t\t\tnewLeafId = targetEntry.parentId;\n\t\t\t\tconst content = targetEntry.message.content;\n\t\t\t\teditorText =\n\t\t\t\t\ttypeof content === \"string\"\n\t\t\t\t\t\t? content\n\t\t\t\t\t\t: content\n\t\t\t\t\t\t\t\t.filter((c): c is { readonly type: \"text\"; readonly text: string } => c.type === \"text\")\n\t\t\t\t\t\t\t\t.map((c) => c.text)\n\t\t\t\t\t\t\t\t.join(\"\");\n\t\t\t} else if (targetEntry.type === \"custom_message\") {\n\t\t\t\tnewLeafId = targetEntry.parentId;\n\t\t\t\teditorText =\n\t\t\t\t\ttypeof targetEntry.content === \"string\"\n\t\t\t\t\t\t? targetEntry.content\n\t\t\t\t\t\t: targetEntry.content\n\t\t\t\t\t\t\t\t.filter((c): c is { readonly type: \"text\"; readonly text: string } => c.type === \"text\")\n\t\t\t\t\t\t\t\t.map((c) => c.text)\n\t\t\t\t\t\t\t\t.join(\"\");\n\t\t\t} else {\n\t\t\t\tnewLeafId = targetId;\n\t\t\t}\n\t\t\tconst summaryId = await this.session.moveTo(\n\t\t\t\tnewLeafId,\n\t\t\t\tsummaryText\n\t\t\t\t\t? { summary: summaryText, details: summaryDetails, fromHook: hookResult?.summary !== undefined }\n\t\t\t\t\t: undefined,\n\t\t\t);\n\t\t\tif (summaryId) {\n\t\t\t\tconst entry = await this.session.getEntry(summaryId);\n\t\t\t\tif (entry?.type === \"branch_summary\") summaryEntry = entry;\n\t\t\t}\n\t\t\tawait this.emitOwn({\n\t\t\t\ttype: \"session_tree\",\n\t\t\t\tnewLeafId: await this.session.getLeafId(),\n\t\t\t\toldLeafId,\n\t\t\t\tsummaryEntry,\n\t\t\t\tfromHook: hookResult?.summary !== undefined,\n\t\t\t});\n\t\t\treturn { cancelled: false, editorText, summaryEntry };\n\t\t} catch (error) {\n\t\t\tthrow normalizeHarnessError(error, \"branch_summary\");\n\t\t} finally {\n\t\t\tthis.phase = \"idle\";\n\t\t}\n\t}\n\n\tgetModel(): Model<any> {\n\t\treturn this.model;\n\t}\n\n\tgetThinkingLevel(): ThinkingLevel {\n\t\treturn this.thinkingLevel;\n\t}\n\n\tasync setModel(model: Model<any>): Promise<void> {\n\t\ttry {\n\t\t\tconst previousModel = this.model;\n\t\t\tif (this.phase === \"idle\") {\n\t\t\t\tawait this.session.appendModelChange(model.provider, model.id);\n\t\t\t} else {\n\t\t\t\tthis.pendingSessionWrites.push({ type: \"model_change\", provider: model.provider, modelId: model.id });\n\t\t\t}\n\t\t\tthis.model = model;\n\t\t\tawait this.emitOwn({ type: \"model_select\", model, previousModel, source: \"set\" });\n\t\t} catch (error) {\n\t\t\tthrow normalizeHarnessError(error, \"session\");\n\t\t}\n\t}\n\n\tasync setThinkingLevel(level: ThinkingLevel): Promise<void> {\n\t\ttry {\n\t\t\tconst previousLevel = this.thinkingLevel;\n\t\t\tif (this.phase === \"idle\") {\n\t\t\t\tawait this.session.appendThinkingLevelChange(level);\n\t\t\t} else {\n\t\t\t\tthis.pendingSessionWrites.push({ type: \"thinking_level_change\", thinkingLevel: level });\n\t\t\t}\n\t\t\tthis.thinkingLevel = level;\n\t\t\tawait this.emitOwn({ type: \"thinking_level_select\", level, previousLevel });\n\t\t} catch (error) {\n\t\t\tthrow normalizeHarnessError(error, \"session\");\n\t\t}\n\t}\n\n\tasync setActiveTools(toolNames: string[]): Promise<void> {\n\t\ttry {\n\t\t\tthis.validateToolNames(toolNames);\n\t\t\tthis.activeToolNames = [...toolNames];\n\t\t} catch (error) {\n\t\t\tthrow normalizeHarnessError(error, \"invalid_argument\");\n\t\t}\n\t}\n\n\tgetSteeringMode(): QueueMode {\n\t\treturn this.steeringQueueMode;\n\t}\n\n\tasync setSteeringMode(mode: QueueMode): Promise<void> {\n\t\tthis.steeringQueueMode = mode;\n\t}\n\n\tgetFollowUpMode(): QueueMode {\n\t\treturn this.followUpQueueMode;\n\t}\n\n\tasync setFollowUpMode(mode: QueueMode): Promise<void> {\n\t\tthis.followUpQueueMode = mode;\n\t}\n\n\tgetResources(): AgentHarnessResources<TSkill, TPromptTemplate> {\n\t\treturn {\n\t\t\tskills: this.resources.skills?.slice(),\n\t\t\tpromptTemplates: this.resources.promptTemplates?.slice(),\n\t\t};\n\t}\n\n\tasync setResources(resources: AgentHarnessResources<TSkill, TPromptTemplate>): Promise<void> {\n\t\tconst previousResources = this.getResources();\n\t\tthis.resources = {\n\t\t\tskills: resources.skills?.slice(),\n\t\t\tpromptTemplates: resources.promptTemplates?.slice(),\n\t\t};\n\t\tawait this.emitOwn({ type: \"resources_update\", resources: this.getResources(), previousResources });\n\t}\n\n\tgetStreamOptions(): AgentHarnessStreamOptions {\n\t\treturn cloneStreamOptions(this.streamOptions);\n\t}\n\n\tasync setStreamOptions(streamOptions: AgentHarnessStreamOptions): Promise<void> {\n\t\tthis.streamOptions = cloneStreamOptions(streamOptions);\n\t}\n\n\tasync setTools(tools: TTool[], activeToolNames?: string[]): Promise<void> {\n\t\ttry {\n\t\t\tconst nextTools = new Map(tools.map((tool) => [tool.name, tool]));\n\t\t\tconst nextActiveToolNames = activeToolNames ? [...activeToolNames] : this.activeToolNames;\n\t\t\tthis.validateToolNames(nextActiveToolNames, nextTools);\n\t\t\tthis.tools = nextTools;\n\t\t\tthis.activeToolNames = [...nextActiveToolNames];\n\t\t} catch (error) {\n\t\t\tthrow normalizeHarnessError(error, \"invalid_argument\");\n\t\t}\n\t}\n\n\tasync abort(): Promise<AbortResult> {\n\t\tconst clearedSteer = [...this.steerQueue];\n\t\tconst clearedFollowUp = [...this.followUpQueue];\n\t\tthis.steerQueue = [];\n\t\tthis.followUpQueue = [];\n\t\tthis.runAbortController?.abort();\n\t\tconst errors: Error[] = [];\n\t\ttry {\n\t\t\tawait this.emitQueueUpdate();\n\t\t} catch (error) {\n\t\t\terrors.push(toError(error));\n\t\t}\n\t\ttry {\n\t\t\tawait this.waitForIdle();\n\t\t} catch (error) {\n\t\t\terrors.push(toError(error));\n\t\t}\n\t\ttry {\n\t\t\tawait this.emitOwn({ type: \"abort\", clearedSteer, clearedFollowUp });\n\t\t} catch (error) {\n\t\t\terrors.push(toError(error));\n\t\t}\n\t\tif (errors.length > 0) {\n\t\t\tconst cause = errors.length === 1 ? errors[0]! : new AggregateError(errors, \"Abort completed with errors\");\n\t\t\tthrow normalizeHarnessError(cause, \"hook\");\n\t\t}\n\t\treturn { clearedSteer, clearedFollowUp };\n\t}\n\n\tasync waitForIdle(): Promise<void> {\n\t\tawait this.runPromise;\n\t}\n\n\tsubscribe(\n\t\tlistener: (event: AgentHarnessEvent<TSkill, TPromptTemplate>, signal?: AbortSignal) => Promise<void> | void,\n\t): () => void {\n\t\tlet handlers = this.handlers.get(SUBSCRIBER_EVENT_TYPE);\n\t\tif (!handlers) {\n\t\t\thandlers = new Set();\n\t\t\tthis.handlers.set(SUBSCRIBER_EVENT_TYPE, handlers);\n\t\t}\n\t\thandlers.add(listener as AgentHarnessHandler);\n\t\treturn () => handlers!.delete(listener as AgentHarnessHandler);\n\t}\n\n\ton<TType extends keyof AgentHarnessEventResultMap>(\n\t\ttype: TType,\n\t\thandler: (\n\t\t\tevent: Extract<AgentHarnessOwnEvent, { type: TType }>,\n\t\t) => Promise<AgentHarnessEventResultMap[TType]> | AgentHarnessEventResultMap[TType],\n\t): () => void {\n\t\tlet handlers = this.handlers.get(type);\n\t\tif (!handlers) {\n\t\t\thandlers = new Set();\n\t\t\tthis.handlers.set(type, handlers);\n\t\t}\n\t\thandlers.add(handler as AgentHarnessHandler);\n\t\treturn () => handlers!.delete(handler as AgentHarnessHandler);\n\t}\n}\n"]}
@@ -0,0 +1,53 @@
1
+ import type { Model } from "@earendil-works/pi-ai";
2
+ import type { AgentMessage } from "../../types.js";
3
+ import type { BranchSummaryResult, Session, SessionTreeEntry } from "../types.js";
4
+ import { BranchSummaryError, type Result } from "../types.js";
5
+ import { type FileOperations } from "./utils.js";
6
+ /** File-operation details stored on generated branch summary entries. */
7
+ export interface BranchSummaryDetails {
8
+ /** Files read while exploring the summarized branch. */
9
+ readFiles: string[];
10
+ /** Files modified while exploring the summarized branch. */
11
+ modifiedFiles: string[];
12
+ }
13
+ export type { FileOperations } from "./utils.js";
14
+ /** Prepared branch content for summarization. */
15
+ export interface BranchPreparation {
16
+ /** Messages selected for the branch summary. */
17
+ messages: AgentMessage[];
18
+ /** File operations extracted from the branch. */
19
+ fileOps: FileOperations;
20
+ /** Estimated token count for selected messages. */
21
+ totalTokens: number;
22
+ }
23
+ /** Entries selected for branch summarization. */
24
+ export interface CollectEntriesResult {
25
+ /** Entries to summarize in chronological order. */
26
+ entries: SessionTreeEntry[];
27
+ /** Deepest common ancestor between the previous leaf and target entry. */
28
+ commonAncestorId: string | null;
29
+ }
30
+ /** Options for generating a branch summary. */
31
+ export interface GenerateBranchSummaryOptions {
32
+ /** Model used for summarization. */
33
+ model: Model<any>;
34
+ /** API key forwarded to the provider. */
35
+ apiKey: string;
36
+ /** Optional request headers forwarded to the provider. */
37
+ headers?: Record<string, string>;
38
+ /** Abort signal for the summarization request. */
39
+ signal: AbortSignal;
40
+ /** Optional instructions appended to or replacing the default prompt. */
41
+ customInstructions?: string;
42
+ /** Replace the default prompt with custom instructions instead of appending them. */
43
+ replaceInstructions?: boolean;
44
+ /** Tokens reserved for prompt and model output. Defaults to 16384. */
45
+ reserveTokens?: number;
46
+ }
47
+ /** Collect entries that should be summarized before navigating to a different session tree entry. */
48
+ export declare function collectEntriesForBranchSummary(session: Session, oldLeafId: string | null, targetId: string): Promise<CollectEntriesResult>;
49
+ /** Prepare branch entries for summarization within an optional token budget. */
50
+ export declare function prepareBranchEntries(entries: SessionTreeEntry[], tokenBudget?: number): BranchPreparation;
51
+ /** Generate a summary for abandoned branch entries. */
52
+ export declare function generateBranchSummary(entries: SessionTreeEntry[], options: GenerateBranchSummaryOptions): Promise<Result<BranchSummaryResult, BranchSummaryError>>;
53
+ //# sourceMappingURL=branch-summarization.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"branch-summarization.d.ts","sourceRoot":"","sources":["../../../src/harness/compaction/branch-summarization.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,KAAK,EAAE,MAAM,uBAAuB,CAAC;AAEnD,OAAO,KAAK,EAAE,YAAY,EAAE,MAAM,gBAAgB,CAAC;AAOn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OAAO,EAAE,OAAO,EAChB,SAAS,EAAE,MAAM,GAAG,IAAI,EACxB,QAAQ,EAAE,MAAM,GACd,OAAO,CAAC,oBAAoB,CAAC,CAyB/B;AAyBD,gFAAgF;AAChF,wBAAgB,oBAAoB,CAAC,OAAO,EAAE,gBAAgB,EAAE,EAAE,WAAW,GAAE,MAAU,GAAG,iBAAiB,CAuC5G;AAoCD,uDAAuD;AACvD,wBAAsB,qBAAqB,CAC1C,OAAO,EAAE,gBAAgB,EAAE,EAC3B,OAAO,EAAE,4BAA4B,GACnC,OAAO,CAAC,MAAM,CAAC,mBAAmB,EAAE,kBAAkB,CAAC,CAAC,CA2D1D","sourcesContent":["import type { Model } from \"@earendil-works/pi-ai\";\nimport { completeSimple } from \"@earendil-works/pi-ai\";\nimport type { AgentMessage } from \"../../types.js\";\nimport {\n\tconvertToLlm,\n\tcreateBranchSummaryMessage,\n\tcreateCompactionSummaryMessage,\n\tcreateCustomMessage,\n} from \"../messages.js\";\nimport type { BranchSummaryResult, Session, SessionTreeEntry } from \"../types.js\";\nimport { BranchSummaryError, err, ok, type Result, SessionError } from \"../types.js\";\nimport { estimateTokens, SUMMARIZATION_SYSTEM_PROMPT } from \"./compaction.js\";\nimport {\n\tcomputeFileLists,\n\tcreateFileOps,\n\textractFileOpsFromMessage,\n\ttype FileOperations,\n\tformatFileOperations,\n\tserializeConversation,\n} from \"./utils.js\";\n\n/** File-operation details stored on generated branch summary entries. */\nexport interface BranchSummaryDetails {\n\t/** Files read while exploring the summarized branch. */\n\treadFiles: string[];\n\t/** Files modified while exploring the summarized branch. */\n\tmodifiedFiles: string[];\n}\n\nexport type { FileOperations } from \"./utils.js\";\n\n/** Prepared branch content for summarization. */\nexport interface BranchPreparation {\n\t/** Messages selected for the branch summary. */\n\tmessages: AgentMessage[];\n\t/** File operations extracted from the branch. */\n\tfileOps: FileOperations;\n\t/** Estimated token count for selected messages. */\n\ttotalTokens: number;\n}\n\n/** Entries selected for branch summarization. */\nexport interface CollectEntriesResult {\n\t/** Entries to summarize in chronological order. */\n\tentries: SessionTreeEntry[];\n\t/** Deepest common ancestor between the previous leaf and target entry. */\n\tcommonAncestorId: string | null;\n}\n\n/** Options for generating a branch summary. */\nexport interface GenerateBranchSummaryOptions {\n\t/** Model used for summarization. */\n\tmodel: Model<any>;\n\t/** API key forwarded to the provider. */\n\tapiKey: string;\n\t/** Optional request headers forwarded to the provider. */\n\theaders?: Record<string, string>;\n\t/** Abort signal for the summarization request. */\n\tsignal: AbortSignal;\n\t/** Optional instructions appended to or replacing the default prompt. */\n\tcustomInstructions?: string;\n\t/** Replace the default prompt with custom instructions instead of appending them. */\n\treplaceInstructions?: boolean;\n\t/** Tokens reserved for prompt and model output. Defaults to 16384. */\n\treserveTokens?: number;\n}\n\n/** Collect entries that should be summarized before navigating to a different session tree entry. */\nexport async function collectEntriesForBranchSummary(\n\tsession: Session,\n\toldLeafId: string | null,\n\ttargetId: string,\n): Promise<CollectEntriesResult> {\n\tif (!oldLeafId) {\n\t\treturn { entries: [], commonAncestorId: null };\n\t}\n\tconst oldPath = new Set((await session.getBranch(oldLeafId)).map((e) => e.id));\n\tconst targetPath = await session.getBranch(targetId);\n\tlet commonAncestorId: string | null = null;\n\tfor (let i = targetPath.length - 1; i >= 0; i--) {\n\t\tif (oldPath.has(targetPath[i].id)) {\n\t\t\tcommonAncestorId = targetPath[i].id;\n\t\t\tbreak;\n\t\t}\n\t}\n\tconst entries: SessionTreeEntry[] = [];\n\tlet current: string | null = oldLeafId;\n\n\twhile (current && current !== commonAncestorId) {\n\t\tconst entry = await session.getEntry(current);\n\t\tif (!entry) throw new SessionError(\"invalid_session\", `Entry ${current} not found`);\n\t\tentries.push(entry as SessionTreeEntry);\n\t\tcurrent = entry.parentId;\n\t}\n\tentries.reverse();\n\n\treturn { entries, commonAncestorId };\n}\nfunction getMessageFromEntry(entry: SessionTreeEntry): AgentMessage | undefined {\n\tswitch (entry.type) {\n\t\tcase \"message\":\n\t\t\tif (entry.message.role === \"toolResult\") return undefined;\n\t\t\treturn entry.message;\n\n\t\tcase \"custom_message\":\n\t\t\treturn createCustomMessage(entry.customType, entry.content, entry.display, entry.details, entry.timestamp);\n\n\t\tcase \"branch_summary\":\n\t\t\treturn createBranchSummaryMessage(entry.summary, entry.fromId, entry.timestamp);\n\n\t\tcase \"compaction\":\n\t\t\treturn createCompactionSummaryMessage(entry.summary, entry.tokensBefore, entry.timestamp);\n\t\tcase \"thinking_level_change\":\n\t\tcase \"model_change\":\n\t\tcase \"custom\":\n\t\tcase \"label\":\n\t\tcase \"session_info\":\n\t\tcase \"leaf\":\n\t\t\treturn undefined;\n\t}\n}\n\n/** Prepare branch entries for summarization within an optional token budget. */\nexport function prepareBranchEntries(entries: SessionTreeEntry[], tokenBudget: number = 0): BranchPreparation {\n\tconst messages: AgentMessage[] = [];\n\tconst fileOps = createFileOps();\n\tlet totalTokens = 0;\n\tfor (const entry of entries) {\n\t\tif (entry.type === \"branch_summary\" && !entry.fromHook && entry.details) {\n\t\t\tconst details = entry.details as BranchSummaryDetails;\n\t\t\tif (Array.isArray(details.readFiles)) {\n\t\t\t\tfor (const f of details.readFiles) fileOps.read.add(f);\n\t\t\t}\n\t\t\tif (Array.isArray(details.modifiedFiles)) {\n\t\t\t\tfor (const f of details.modifiedFiles) {\n\t\t\t\t\tfileOps.edited.add(f);\n\t\t\t\t}\n\t\t\t}\n\t\t}\n\t}\n\tfor (let i = entries.length - 1; i >= 0; i--) {\n\t\tconst entry = entries[i];\n\t\tconst message = getMessageFromEntry(entry);\n\t\tif (!message) continue;\n\t\textractFileOpsFromMessage(message, fileOps);\n\n\t\tconst tokens = estimateTokens(message);\n\t\tif (tokenBudget > 0 && totalTokens + tokens > tokenBudget) {\n\t\t\tif (entry.type === \"compaction\" || entry.type === \"branch_summary\") {\n\t\t\t\tif (totalTokens < tokenBudget * 0.9) {\n\t\t\t\t\tmessages.unshift(message);\n\t\t\t\t\ttotalTokens += tokens;\n\t\t\t\t}\n\t\t\t}\n\t\t\tbreak;\n\t\t}\n\n\t\tmessages.unshift(message);\n\t\ttotalTokens += tokens;\n\t}\n\n\treturn { messages, fileOps, totalTokens };\n}\n\nconst BRANCH_SUMMARY_PREAMBLE = `The user explored a different conversation branch before returning here.\nSummary of that exploration:\n\n`;\n\nconst BRANCH_SUMMARY_PROMPT = `Create a structured summary of this conversation branch for context when returning later.\n\nUse this EXACT format:\n\n## Goal\n[What was the user trying to accomplish in this branch?]\n\n## Constraints & Preferences\n- [Any constraints, preferences, or requirements mentioned]\n- [Or \"(none)\" if none were mentioned]\n\n## Progress\n### Done\n- [x] [Completed tasks/changes]\n\n### In Progress\n- [ ] [Work that was started but not finished]\n\n### Blocked\n- [Issues preventing progress, if any]\n\n## Key Decisions\n- **[Decision]**: [Brief rationale]\n\n## Next Steps\n1. [What should happen next to continue this work]\n\nKeep each section concise. Preserve exact file paths, function names, and error messages.`;\n\n/** Generate a summary for abandoned branch entries. */\nexport async function generateBranchSummary(\n\tentries: SessionTreeEntry[],\n\toptions: GenerateBranchSummaryOptions,\n): Promise<Result<BranchSummaryResult, BranchSummaryError>> {\n\tconst { model, apiKey, headers, signal, customInstructions, replaceInstructions, reserveTokens = 16384 } = options;\n\tconst contextWindow = model.contextWindow || 128000;\n\tconst tokenBudget = contextWindow - reserveTokens;\n\n\tconst { messages, fileOps } = prepareBranchEntries(entries, tokenBudget);\n\n\tif (messages.length === 0) {\n\t\treturn ok({ summary: \"No content to summarize\", readFiles: [], modifiedFiles: [] });\n\t}\n\tconst llmMessages = convertToLlm(messages);\n\tconst conversationText = serializeConversation(llmMessages);\n\tlet instructions: string;\n\tif (replaceInstructions && customInstructions) {\n\t\tinstructions = customInstructions;\n\t} else if (customInstructions) {\n\t\tinstructions = `${BRANCH_SUMMARY_PROMPT}\\n\\nAdditional focus: ${customInstructions}`;\n\t} else {\n\t\tinstructions = BRANCH_SUMMARY_PROMPT;\n\t}\n\tconst promptText = `<conversation>\\n${conversationText}\\n</conversation>\\n\\n${instructions}`;\n\n\tconst summarizationMessages = [\n\t\t{\n\t\t\trole: \"user\" as const,\n\t\t\tcontent: [{ type: \"text\" as const, text: promptText }],\n\t\t\ttimestamp: Date.now(),\n\t\t},\n\t];\n\tconst response = await completeSimple(\n\t\tmodel,\n\t\t{ systemPrompt: SUMMARIZATION_SYSTEM_PROMPT, messages: summarizationMessages },\n\t\t{ apiKey, headers, signal, maxTokens: 2048 },\n\t);\n\tif (response.stopReason === \"aborted\") {\n\t\treturn err(new BranchSummaryError(\"aborted\", response.errorMessage || \"Branch summary aborted\"));\n\t}\n\tif (response.stopReason === \"error\") {\n\t\treturn err(\n\t\t\tnew BranchSummaryError(\n\t\t\t\t\"summarization_failed\",\n\t\t\t\t`Branch summary failed: ${response.errorMessage || \"Unknown error\"}`,\n\t\t\t),\n\t\t);\n\t}\n\n\tlet summary = response.content\n\t\t.filter((c): c is { type: \"text\"; text: string } => c.type === \"text\")\n\t\t.map((c) => c.text)\n\t\t.join(\"\\n\");\n\tsummary = BRANCH_SUMMARY_PREAMBLE + summary;\n\tconst { readFiles, modifiedFiles } = computeFileLists(fileOps);\n\tsummary += formatFileOperations(readFiles, modifiedFiles);\n\n\treturn ok({\n\t\tsummary: summary || \"No summary generated\",\n\t\treadFiles,\n\t\tmodifiedFiles,\n\t});\n}\n"]}
@@ -0,0 +1,174 @@
1
+ import { completeSimple } from "@earendil-works/pi-ai";
2
+ import { convertToLlm, createBranchSummaryMessage, createCompactionSummaryMessage, createCustomMessage, } from "../messages.js";
3
+ import { BranchSummaryError, err, ok, SessionError } from "../types.js";
4
+ import { estimateTokens, SUMMARIZATION_SYSTEM_PROMPT } from "./compaction.js";
5
+ import { computeFileLists, createFileOps, extractFileOpsFromMessage, formatFileOperations, serializeConversation, } from "./utils.js";
6
+ /** Collect entries that should be summarized before navigating to a different session tree entry. */
7
+ export async function collectEntriesForBranchSummary(session, oldLeafId, targetId) {
8
+ if (!oldLeafId) {
9
+ return { entries: [], commonAncestorId: null };
10
+ }
11
+ const oldPath = new Set((await session.getBranch(oldLeafId)).map((e) => e.id));
12
+ const targetPath = await session.getBranch(targetId);
13
+ let commonAncestorId = null;
14
+ for (let i = targetPath.length - 1; i >= 0; i--) {
15
+ if (oldPath.has(targetPath[i].id)) {
16
+ commonAncestorId = targetPath[i].id;
17
+ break;
18
+ }
19
+ }
20
+ const entries = [];
21
+ let current = oldLeafId;
22
+ while (current && current !== commonAncestorId) {
23
+ const entry = await session.getEntry(current);
24
+ if (!entry)
25
+ throw new SessionError("invalid_session", `Entry ${current} not found`);
26
+ entries.push(entry);
27
+ current = entry.parentId;
28
+ }
29
+ entries.reverse();
30
+ return { entries, commonAncestorId };
31
+ }
32
+ function getMessageFromEntry(entry) {
33
+ switch (entry.type) {
34
+ case "message":
35
+ if (entry.message.role === "toolResult")
36
+ return undefined;
37
+ return entry.message;
38
+ case "custom_message":
39
+ return createCustomMessage(entry.customType, entry.content, entry.display, entry.details, entry.timestamp);
40
+ case "branch_summary":
41
+ return createBranchSummaryMessage(entry.summary, entry.fromId, entry.timestamp);
42
+ case "compaction":
43
+ return createCompactionSummaryMessage(entry.summary, entry.tokensBefore, entry.timestamp);
44
+ case "thinking_level_change":
45
+ case "model_change":
46
+ case "custom":
47
+ case "label":
48
+ case "session_info":
49
+ case "leaf":
50
+ return undefined;
51
+ }
52
+ }
53
+ /** Prepare branch entries for summarization within an optional token budget. */
54
+ export function prepareBranchEntries(entries, tokenBudget = 0) {
55
+ const messages = [];
56
+ const fileOps = createFileOps();
57
+ let totalTokens = 0;
58
+ for (const entry of entries) {
59
+ if (entry.type === "branch_summary" && !entry.fromHook && entry.details) {
60
+ const details = entry.details;
61
+ if (Array.isArray(details.readFiles)) {
62
+ for (const f of details.readFiles)
63
+ fileOps.read.add(f);
64
+ }
65
+ if (Array.isArray(details.modifiedFiles)) {
66
+ for (const f of details.modifiedFiles) {
67
+ fileOps.edited.add(f);
68
+ }
69
+ }
70
+ }
71
+ }
72
+ for (let i = entries.length - 1; i >= 0; i--) {
73
+ const entry = entries[i];
74
+ const message = getMessageFromEntry(entry);
75
+ if (!message)
76
+ continue;
77
+ extractFileOpsFromMessage(message, fileOps);
78
+ const tokens = estimateTokens(message);
79
+ if (tokenBudget > 0 && totalTokens + tokens > tokenBudget) {
80
+ if (entry.type === "compaction" || entry.type === "branch_summary") {
81
+ if (totalTokens < tokenBudget * 0.9) {
82
+ messages.unshift(message);
83
+ totalTokens += tokens;
84
+ }
85
+ }
86
+ break;
87
+ }
88
+ messages.unshift(message);
89
+ totalTokens += tokens;
90
+ }
91
+ return { messages, fileOps, totalTokens };
92
+ }
93
+ const BRANCH_SUMMARY_PREAMBLE = `The user explored a different conversation branch before returning here.
94
+ Summary of that exploration:
95
+
96
+ `;
97
+ const BRANCH_SUMMARY_PROMPT = `Create a structured summary of this conversation branch for context when returning later.
98
+
99
+ Use this EXACT format:
100
+
101
+ ## Goal
102
+ [What was the user trying to accomplish in this branch?]
103
+
104
+ ## Constraints & Preferences
105
+ - [Any constraints, preferences, or requirements mentioned]
106
+ - [Or "(none)" if none were mentioned]
107
+
108
+ ## Progress
109
+ ### Done
110
+ - [x] [Completed tasks/changes]
111
+
112
+ ### In Progress
113
+ - [ ] [Work that was started but not finished]
114
+
115
+ ### Blocked
116
+ - [Issues preventing progress, if any]
117
+
118
+ ## Key Decisions
119
+ - **[Decision]**: [Brief rationale]
120
+
121
+ ## Next Steps
122
+ 1. [What should happen next to continue this work]
123
+
124
+ Keep each section concise. Preserve exact file paths, function names, and error messages.`;
125
+ /** Generate a summary for abandoned branch entries. */
126
+ export async function generateBranchSummary(entries, options) {
127
+ const { model, apiKey, headers, signal, customInstructions, replaceInstructions, reserveTokens = 16384 } = options;
128
+ const contextWindow = model.contextWindow || 128000;
129
+ const tokenBudget = contextWindow - reserveTokens;
130
+ const { messages, fileOps } = prepareBranchEntries(entries, tokenBudget);
131
+ if (messages.length === 0) {
132
+ return ok({ summary: "No content to summarize", readFiles: [], modifiedFiles: [] });
133
+ }
134
+ const llmMessages = convertToLlm(messages);
135
+ const conversationText = serializeConversation(llmMessages);
136
+ let instructions;
137
+ if (replaceInstructions && customInstructions) {
138
+ instructions = customInstructions;
139
+ }
140
+ else if (customInstructions) {
141
+ instructions = `${BRANCH_SUMMARY_PROMPT}\n\nAdditional focus: ${customInstructions}`;
142
+ }
143
+ else {
144
+ instructions = BRANCH_SUMMARY_PROMPT;
145
+ }
146
+ const promptText = `<conversation>\n${conversationText}\n</conversation>\n\n${instructions}`;
147
+ const summarizationMessages = [
148
+ {
149
+ role: "user",
150
+ content: [{ type: "text", text: promptText }],
151
+ timestamp: Date.now(),
152
+ },
153
+ ];
154
+ const response = await completeSimple(model, { systemPrompt: SUMMARIZATION_SYSTEM_PROMPT, messages: summarizationMessages }, { apiKey, headers, signal, maxTokens: 2048 });
155
+ if (response.stopReason === "aborted") {
156
+ return err(new BranchSummaryError("aborted", response.errorMessage || "Branch summary aborted"));
157
+ }
158
+ if (response.stopReason === "error") {
159
+ return err(new BranchSummaryError("summarization_failed", `Branch summary failed: ${response.errorMessage || "Unknown error"}`));
160
+ }
161
+ let summary = response.content
162
+ .filter((c) => c.type === "text")
163
+ .map((c) => c.text)
164
+ .join("\n");
165
+ summary = BRANCH_SUMMARY_PREAMBLE + summary;
166
+ const { readFiles, modifiedFiles } = computeFileLists(fileOps);
167
+ summary += formatFileOperations(readFiles, modifiedFiles);
168
+ return ok({
169
+ summary: summary || "No summary generated",
170
+ readFiles,
171
+ modifiedFiles,
172
+ });
173
+ }
174
+ //# sourceMappingURL=branch-summarization.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"branch-summarization.js","sourceRoot":"","sources":["../../../src/harness/compaction/branch-summarization.ts"],"names":[],"mappings":"AACA,OAAO,EAAE,cAAc,EAAE,MAAM,uBAAuB,CAAC;AAEvD,OAAO,EACN,YAAY,EACZ,0BAA0B,EAC1B,8BAA8B,EAC9B,mBAAmB,GACnB,MAAM,gBAAgB,CAAC;AAExB,OAAO,EAAE,kBAAkB,EAAE,GAAG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CAAC,CAAC,IAAI,KAAK,MAAM,CAAC;SACrE,GAAG,CAAC,CAAC,CAAC,EAAE,EAAE,CAAC,CAAC,CAAC,IAAI,CAAC;SAClB,IAAI,CAAC,IAAI,CAAC,CAAC;IACb,OAAO,GAAG,uBAAuB,GAAG,OAAO,CAAC;IAC5C,MAAM,EAAE,SAAS,EAAE,aAAa,EAAE,GAAG,gBAAgB,CAAC,OAAO,CAAC,CAAC;IAC/D,OAAO,IAAI,oBAAoB,CAAC,SAAS,EAAE,aAAa,CAAC,CAAC;IAE1D,OAAO,EAAE,CAAC;QACT,OAAO,EAAE,OAAO,IAAI,sBAAsB;QAC1C,SAAS;QACT,aAAa;KACb,CAAC,CAAC;AAAA,CACH","sourcesContent":["import type { Model } from \"@earendil-works/pi-ai\";\nimport { completeSimple } from \"@earendil-works/pi-ai\";\nimport type { AgentMessage } from \"../../types.js\";\nimport {\n\tconvertToLlm,\n\tcreateBranchSummaryMessage,\n\tcreateCompactionSummaryMessage,\n\tcreateCustomMessage,\n} from \"../messages.js\";\nimport type { BranchSummaryResult, Session, SessionTreeEntry } from \"../types.js\";\nimport { BranchSummaryError, err, ok, type Result, SessionError } from \"../types.js\";\nimport { estimateTokens, SUMMARIZATION_SYSTEM_PROMPT } from \"./compaction.js\";\nimport {\n\tcomputeFileLists,\n\tcreateFileOps,\n\textractFileOpsFromMessage,\n\ttype FileOperations,\n\tformatFileOperations,\n\tserializeConversation,\n} from \"./utils.js\";\n\n/** File-operation details stored on generated branch summary entries. */\nexport interface BranchSummaryDetails {\n\t/** Files read while exploring the summarized branch. */\n\treadFiles: string[];\n\t/** Files modified while exploring the summarized branch. */\n\tmodifiedFiles: string[];\n}\n\nexport type { FileOperations } from \"./utils.js\";\n\n/** Prepared branch content for summarization. */\nexport interface BranchPreparation {\n\t/** Messages selected for the branch summary. */\n\tmessages: AgentMessage[];\n\t/** File operations extracted from the branch. */\n\tfileOps: FileOperations;\n\t/** Estimated token count for selected messages. */\n\ttotalTokens: number;\n}\n\n/** Entries selected for branch summarization. */\nexport interface CollectEntriesResult {\n\t/** Entries to summarize in chronological order. */\n\tentries: SessionTreeEntry[];\n\t/** Deepest common ancestor between the previous leaf and target entry. */\n\tcommonAncestorId: string | null;\n}\n\n/** Options for generating a branch summary. */\nexport interface GenerateBranchSummaryOptions {\n\t/** Model used for summarization. */\n\tmodel: Model<any>;\n\t/** API key forwarded to the provider. */\n\tapiKey: string;\n\t/** Optional request headers forwarded to the provider. */\n\theaders?: Record<string, string>;\n\t/** Abort signal for the summarization request. */\n\tsignal: AbortSignal;\n\t/** Optional instructions appended to or replacing the default prompt. */\n\tcustomInstructions?: string;\n\t/** Replace the default prompt with custom instructions instead of appending them. */\n\treplaceInstructions?: boolean;\n\t/** Tokens reserved for prompt and model output. Defaults to 16384. */\n\treserveTokens?: number;\n}\n\n/** Collect entries that should be summarized before navigating to a different session tree entry. */\nexport async function collectEntriesForBranchSummary(\n\tsession: Session,\n\toldLeafId: string | null,\n\ttargetId: string,\n): Promise<CollectEntriesResult> {\n\tif (!oldLeafId) {\n\t\treturn { entries: [], commonAncestorId: null };\n\t}\n\tconst oldPath = new Set((await session.getBranch(oldLeafId)).map((e) => e.id));\n\tconst targetPath = await session.getBranch(targetId);\n\tlet commonAncestorId: string | null = null;\n\tfor (let i = targetPath.length - 1; i >= 0; i--) {\n\t\tif (oldPath.has(targetPath[i].id)) {\n\t\t\tcommonAncestorId = targetPath[i].id;\n\t\t\tbreak;\n\t\t}\n\t}\n\tconst entries: SessionTreeEntry[] = [];\n\tlet current: string | null = oldLeafId;\n\n\twhile (current && current !== commonAncestorId) {\n\t\tconst entry = await session.getEntry(current);\n\t\tif (!entry) throw new SessionError(\"invalid_session\", `Entry ${current} not found`);\n\t\tentries.push(entry as SessionTreeEntry);\n\t\tcurrent = entry.parentId;\n\t}\n\tentries.reverse();\n\n\treturn { entries, commonAncestorId };\n}\nfunction getMessageFromEntry(entry: SessionTreeEntry): AgentMessage | undefined {\n\tswitch (entry.type) {\n\t\tcase \"message\":\n\t\t\tif (entry.message.role === \"toolResult\") return undefined;\n\t\t\treturn entry.message;\n\n\t\tcase \"custom_message\":\n\t\t\treturn createCustomMessage(entry.customType, entry.content, entry.display, entry.details, entry.timestamp);\n\n\t\tcase \"branch_summary\":\n\t\t\treturn createBranchSummaryMessage(entry.summary, entry.fromId, entry.timestamp);\n\n\t\tcase \"compaction\":\n\t\t\treturn createCompactionSummaryMessage(entry.summary, entry.tokensBefore, entry.timestamp);\n\t\tcase \"thinking_level_change\":\n\t\tcase \"model_change\":\n\t\tcase \"custom\":\n\t\tcase \"label\":\n\t\tcase \"session_info\":\n\t\tcase \"leaf\":\n\t\t\treturn undefined;\n\t}\n}\n\n/** Prepare branch entries for summarization within an optional token budget. */\nexport function prepareBranchEntries(entries: SessionTreeEntry[], tokenBudget: number = 0): BranchPreparation {\n\tconst messages: AgentMessage[] = [];\n\tconst fileOps = createFileOps();\n\tlet totalTokens = 0;\n\tfor (const entry of entries) {\n\t\tif (entry.type === \"branch_summary\" && !entry.fromHook && entry.details) {\n\t\t\tconst details = entry.details as BranchSummaryDetails;\n\t\t\tif (Array.isArray(details.readFiles)) {\n\t\t\t\tfor (const f of details.readFiles) fileOps.read.add(f);\n\t\t\t}\n\t\t\tif (Array.isArray(details.modifiedFiles)) {\n\t\t\t\tfor (const f of details.modifiedFiles) {\n\t\t\t\t\tfileOps.edited.add(f);\n\t\t\t\t}\n\t\t\t}\n\t\t}\n\t}\n\tfor (let i = entries.length - 1; i >= 0; i--) {\n\t\tconst entry = entries[i];\n\t\tconst message = getMessageFromEntry(entry);\n\t\tif (!message) continue;\n\t\textractFileOpsFromMessage(message, fileOps);\n\n\t\tconst tokens = estimateTokens(message);\n\t\tif (tokenBudget > 0 && totalTokens + tokens > tokenBudget) {\n\t\t\tif (entry.type === \"compaction\" || entry.type === \"branch_summary\") {\n\t\t\t\tif (totalTokens < tokenBudget * 0.9) {\n\t\t\t\t\tmessages.unshift(message);\n\t\t\t\t\ttotalTokens += tokens;\n\t\t\t\t}\n\t\t\t}\n\t\t\tbreak;\n\t\t}\n\n\t\tmessages.unshift(message);\n\t\ttotalTokens += tokens;\n\t}\n\n\treturn { messages, fileOps, totalTokens };\n}\n\nconst BRANCH_SUMMARY_PREAMBLE = `The user explored a different conversation branch before returning here.\nSummary of that exploration:\n\n`;\n\nconst BRANCH_SUMMARY_PROMPT = `Create a structured summary of this conversation branch for context when returning later.\n\nUse this EXACT format:\n\n## Goal\n[What was the user trying to accomplish in this branch?]\n\n## Constraints & Preferences\n- [Any constraints, preferences, or requirements mentioned]\n- [Or \"(none)\" if none were mentioned]\n\n## Progress\n### Done\n- [x] [Completed tasks/changes]\n\n### In Progress\n- [ ] [Work that was started but not finished]\n\n### Blocked\n- [Issues preventing progress, if any]\n\n## Key Decisions\n- **[Decision]**: [Brief rationale]\n\n## Next Steps\n1. [What should happen next to continue this work]\n\nKeep each section concise. Preserve exact file paths, function names, and error messages.`;\n\n/** Generate a summary for abandoned branch entries. */\nexport async function generateBranchSummary(\n\tentries: SessionTreeEntry[],\n\toptions: GenerateBranchSummaryOptions,\n): Promise<Result<BranchSummaryResult, BranchSummaryError>> {\n\tconst { model, apiKey, headers, signal, customInstructions, replaceInstructions, reserveTokens = 16384 } = options;\n\tconst contextWindow = model.contextWindow || 128000;\n\tconst tokenBudget = contextWindow - reserveTokens;\n\n\tconst { messages, fileOps } = prepareBranchEntries(entries, tokenBudget);\n\n\tif (messages.length === 0) {\n\t\treturn ok({ summary: \"No content to summarize\", readFiles: [], modifiedFiles: [] });\n\t}\n\tconst llmMessages = convertToLlm(messages);\n\tconst conversationText = serializeConversation(llmMessages);\n\tlet instructions: string;\n\tif (replaceInstructions && customInstructions) {\n\t\tinstructions = customInstructions;\n\t} else if (customInstructions) {\n\t\tinstructions = `${BRANCH_SUMMARY_PROMPT}\\n\\nAdditional focus: ${customInstructions}`;\n\t} else {\n\t\tinstructions = BRANCH_SUMMARY_PROMPT;\n\t}\n\tconst promptText = `<conversation>\\n${conversationText}\\n</conversation>\\n\\n${instructions}`;\n\n\tconst summarizationMessages = [\n\t\t{\n\t\t\trole: \"user\" as const,\n\t\t\tcontent: [{ type: \"text\" as const, text: promptText }],\n\t\t\ttimestamp: Date.now(),\n\t\t},\n\t];\n\tconst response = await completeSimple(\n\t\tmodel,\n\t\t{ systemPrompt: SUMMARIZATION_SYSTEM_PROMPT, messages: summarizationMessages },\n\t\t{ apiKey, headers, signal, maxTokens: 2048 },\n\t);\n\tif (response.stopReason === \"aborted\") {\n\t\treturn err(new BranchSummaryError(\"aborted\", response.errorMessage || \"Branch summary aborted\"));\n\t}\n\tif (response.stopReason === \"error\") {\n\t\treturn err(\n\t\t\tnew BranchSummaryError(\n\t\t\t\t\"summarization_failed\",\n\t\t\t\t`Branch summary failed: ${response.errorMessage || \"Unknown error\"}`,\n\t\t\t),\n\t\t);\n\t}\n\n\tlet summary = response.content\n\t\t.filter((c): c is { type: \"text\"; text: string } => c.type === \"text\")\n\t\t.map((c) => c.text)\n\t\t.join(\"\\n\");\n\tsummary = BRANCH_SUMMARY_PREAMBLE + summary;\n\tconst { readFiles, modifiedFiles } = computeFileLists(fileOps);\n\tsummary += formatFileOperations(readFiles, modifiedFiles);\n\n\treturn ok({\n\t\tsummary: summary || \"No summary generated\",\n\t\treadFiles,\n\t\tmodifiedFiles,\n\t});\n}\n"]}
@@ -0,0 +1,95 @@
1
+ import type { Model, Usage } from "@earendil-works/pi-ai";
2
+ import type { AgentMessage, ThinkingLevel } from "../../types.js";
3
+ import { CompactionError, type Result, type SessionTreeEntry } from "../types.js";
4
+ import { type FileOperations } from "./utils.js";
5
+ /** File-operation details stored on generated compaction entries. */
6
+ export interface CompactionDetails {
7
+ /** Files read in the compacted history. */
8
+ readFiles: string[];
9
+ /** Files modified in the compacted history. */
10
+ modifiedFiles: string[];
11
+ }
12
+ /** Generated compaction data ready to be persisted as a compaction entry. */
13
+ export interface CompactionResult<T = unknown> {
14
+ /** Summary text that replaces compacted history in future context. */
15
+ summary: string;
16
+ /** Entry id where retained history starts. */
17
+ firstKeptEntryId: string;
18
+ /** Estimated context tokens before compaction. */
19
+ tokensBefore: number;
20
+ /** Optional implementation-specific details stored with the compaction entry. */
21
+ details?: T;
22
+ }
23
+ /** Compaction thresholds and retention settings. */
24
+ export interface CompactionSettings {
25
+ /** Enable automatic compaction decisions. */
26
+ enabled: boolean;
27
+ /** Tokens reserved for summary prompt and output. */
28
+ reserveTokens: number;
29
+ /** Approximate recent-context tokens to keep after compaction. */
30
+ keepRecentTokens: number;
31
+ }
32
+ /** Default compaction settings used by the harness. */
33
+ export declare const DEFAULT_COMPACTION_SETTINGS: CompactionSettings;
34
+ /** Calculate total context tokens from provider usage. */
35
+ export declare function calculateContextTokens(usage: Usage): number;
36
+ /** Return usage from the last successful assistant message in session entries. */
37
+ export declare function getLastAssistantUsage(entries: SessionTreeEntry[]): Usage | undefined;
38
+ /** Estimated context-token usage for a message list. */
39
+ export interface ContextUsageEstimate {
40
+ /** Estimated total context tokens. */
41
+ tokens: number;
42
+ /** Tokens reported by the most recent assistant usage block. */
43
+ usageTokens: number;
44
+ /** Estimated tokens after the most recent assistant usage block. */
45
+ trailingTokens: number;
46
+ /** Index of the message that provided usage, or null when none exists. */
47
+ lastUsageIndex: number | null;
48
+ }
49
+ /** Estimate context tokens for messages using provider usage when available. */
50
+ export declare function estimateContextTokens(messages: AgentMessage[]): ContextUsageEstimate;
51
+ /** Return whether context usage exceeds the configured compaction threshold. */
52
+ export declare function shouldCompact(contextTokens: number, contextWindow: number, settings: CompactionSettings): boolean;
53
+ /** Estimate token count for one message using a conservative character heuristic. */
54
+ export declare function estimateTokens(message: AgentMessage): number;
55
+ /** Find the user-visible message that starts the turn containing an entry. */
56
+ export declare function findTurnStartIndex(entries: SessionTreeEntry[], entryIndex: number, startIndex: number): number;
57
+ /** Cut point selected for compaction. */
58
+ export interface CutPointResult {
59
+ /** Index of the first entry retained after compaction. */
60
+ firstKeptEntryIndex: number;
61
+ /** Index of the turn-start entry when the cut splits a turn, otherwise -1. */
62
+ turnStartIndex: number;
63
+ /** Whether the selected cut point splits an in-progress turn. */
64
+ isSplitTurn: boolean;
65
+ }
66
+ /** Find the compaction cut point that keeps approximately the requested recent-token budget. */
67
+ export declare function findCutPoint(entries: SessionTreeEntry[], startIndex: number, endIndex: number, keepRecentTokens: number): CutPointResult;
68
+ export declare const SUMMARIZATION_SYSTEM_PROMPT = "You are a context summarization assistant. Your task is to read a conversation between a user and an AI coding assistant, then produce a structured summary following the exact format specified.\n\nDo NOT continue the conversation. Do NOT respond to any questions in the conversation. ONLY output the structured summary.";
69
+ /** Generate or update a conversation summary for compaction. */
70
+ export declare function generateSummary(currentMessages: AgentMessage[], model: Model<any>, reserveTokens: number, apiKey: string, headers?: Record<string, string>, signal?: AbortSignal, customInstructions?: string, previousSummary?: string, thinkingLevel?: ThinkingLevel): Promise<Result<string, CompactionError>>;
71
+ /** Prepared inputs for a compaction run. */
72
+ export interface CompactionPreparation {
73
+ /** Entry id where retained history starts. */
74
+ firstKeptEntryId: string;
75
+ /** Messages summarized into the history summary. */
76
+ messagesToSummarize: AgentMessage[];
77
+ /** Prefix messages summarized separately when compaction splits a turn. */
78
+ turnPrefixMessages: AgentMessage[];
79
+ /** Whether compaction splits a turn. */
80
+ isSplitTurn: boolean;
81
+ /** Estimated context tokens before compaction. */
82
+ tokensBefore: number;
83
+ /** Previous compaction summary used for iterative updates. */
84
+ previousSummary?: string;
85
+ /** File operations extracted from summarized history. */
86
+ fileOps: FileOperations;
87
+ /** Settings used to prepare compaction. */
88
+ settings: CompactionSettings;
89
+ }
90
+ /** Prepare session entries for compaction, or return undefined when compaction is not applicable. */
91
+ export declare function prepareCompaction(pathEntries: SessionTreeEntry[], settings: CompactionSettings): Result<CompactionPreparation | undefined, CompactionError>;
92
+ export { serializeConversation } from "./utils.js";
93
+ /** Generate compaction summary data from prepared session history. */
94
+ export declare function compact(preparation: CompactionPreparation, model: Model<any>, apiKey: string, headers?: Record<string, string>, customInstructions?: string, signal?: AbortSignal, thinkingLevel?: ThinkingLevel): Promise<Result<CompactionResult, CompactionError>>;
95
+ //# sourceMappingURL=compaction.d.ts.map