@entelligentsia/forgecli 0.7.7 → 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 (2882) hide show
  1. package/CHANGELOG.md +35 -0
  2. package/README.md +9 -1
  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 +2 -2
  16. package/dist/extensions/forgecli/forge-init.d.ts +1 -1
  17. package/dist/extensions/forgecli/forge-subagent.d.ts +3 -3
  18. package/dist/extensions/forgecli/forge-subagent.js +2 -2
  19. package/dist/extensions/forgecli/forge-tools.d.ts +1 -1
  20. package/dist/extensions/forgecli/forge-update-command.d.ts +1 -1
  21. package/dist/extensions/forgecli/hook-dispatcher.d.ts +1 -1
  22. package/dist/extensions/forgecli/hook-dispatcher.js +1 -1
  23. package/dist/extensions/forgecli/hooks/post-init-hook.d.ts +1 -1
  24. package/dist/extensions/forgecli/hooks/post-sprint-hook.d.ts +1 -1
  25. package/dist/extensions/forgecli/implement.d.ts +1 -1
  26. package/dist/extensions/forgecli/index.d.ts +1 -1
  27. package/dist/extensions/forgecli/index.js +32 -1
  28. package/dist/extensions/forgecli/index.js.map +1 -1
  29. package/dist/extensions/forgecli/kickoff.d.ts +1 -1
  30. package/dist/extensions/forgecli/plan.d.ts +1 -1
  31. package/dist/extensions/forgecli/read-command.d.ts +1 -1
  32. package/dist/extensions/forgecli/regenerate.d.ts +1 -1
  33. package/dist/extensions/forgecli/review-code.d.ts +1 -1
  34. package/dist/extensions/forgecli/review-plan.d.ts +1 -1
  35. package/dist/extensions/forgecli/run-sprint.d.ts +2 -2
  36. package/dist/extensions/forgecli/run-task.d.ts +2 -2
  37. package/dist/extensions/forgecli/sprint-intake.d.ts +1 -1
  38. package/dist/extensions/forgecli/sprint-plan.d.ts +1 -1
  39. package/dist/extensions/forgecli/store-resolver.d.ts +1 -1
  40. package/dist/extensions/forgecli/subagent/agents.js +1 -1
  41. package/dist/extensions/forgecli/subagent/index.d.ts +1 -1
  42. package/dist/extensions/forgecli/subagent/index.js +3 -3
  43. package/dist/extensions/forgecli/test-orchestrate.d.ts +1 -1
  44. package/dist/extensions/forgecli/thread-switcher.d.ts +1 -1
  45. package/dist/extensions/forgecli/thread-switcher.js +1 -1
  46. package/dist/extensions/forgecli/usage-hook.d.ts +1 -1
  47. package/dist/extensions/forgecli/validate.d.ts +1 -1
  48. package/dist/extensions/forgecli/wf-engine/register.d.ts +1 -1
  49. package/dist/extensions/forgecli/wf-engine/worker.d.ts +1 -1
  50. package/dist/extensions/forgecli/wf-engine/worker.js +1 -1
  51. package/dist/extensions/forgecli/whats-new-widget.d.ts +21 -0
  52. package/dist/extensions/forgecli/whats-new-widget.js +303 -0
  53. package/dist/extensions/forgecli/whats-new-widget.js.map +1 -0
  54. package/dist/extensions/forgecli/whats-new.d.ts +120 -0
  55. package/dist/extensions/forgecli/whats-new.js +469 -0
  56. package/dist/extensions/forgecli/whats-new.js.map +1 -0
  57. package/node_modules/@earendil-works/pi-agent-core/README.md +488 -0
  58. package/node_modules/@earendil-works/pi-agent-core/dist/agent-loop.d.ts +24 -0
  59. package/node_modules/@earendil-works/pi-agent-core/dist/agent-loop.d.ts.map +1 -0
  60. package/node_modules/@earendil-works/pi-agent-core/dist/agent-loop.js +479 -0
  61. package/node_modules/@earendil-works/pi-agent-core/dist/agent-loop.js.map +1 -0
  62. package/node_modules/@earendil-works/pi-agent-core/dist/agent.d.ts +118 -0
  63. package/node_modules/@earendil-works/pi-agent-core/dist/agent.d.ts.map +1 -0
  64. package/node_modules/@earendil-works/pi-agent-core/dist/agent.js +402 -0
  65. package/node_modules/@earendil-works/pi-agent-core/dist/agent.js.map +1 -0
  66. package/node_modules/@earendil-works/pi-agent-core/dist/harness/agent-harness.d.ts +92 -0
  67. package/node_modules/@earendil-works/pi-agent-core/dist/harness/agent-harness.d.ts.map +1 -0
  68. package/node_modules/@earendil-works/pi-agent-core/dist/harness/agent-harness.js +900 -0
  69. package/node_modules/@earendil-works/pi-agent-core/dist/harness/agent-harness.js.map +1 -0
  70. package/node_modules/@earendil-works/pi-agent-core/dist/harness/compaction/branch-summarization.d.ts +53 -0
  71. package/node_modules/@earendil-works/pi-agent-core/dist/harness/compaction/branch-summarization.d.ts.map +1 -0
  72. package/node_modules/@earendil-works/pi-agent-core/dist/harness/compaction/branch-summarization.js +174 -0
  73. package/node_modules/@earendil-works/pi-agent-core/dist/harness/compaction/branch-summarization.js.map +1 -0
  74. package/node_modules/@earendil-works/pi-agent-core/dist/harness/compaction/compaction.d.ts +95 -0
  75. package/node_modules/@earendil-works/pi-agent-core/dist/harness/compaction/compaction.d.ts.map +1 -0
  76. package/node_modules/@earendil-works/pi-agent-core/dist/harness/compaction/compaction.js +533 -0
  77. package/node_modules/@earendil-works/pi-agent-core/dist/harness/compaction/compaction.js.map +1 -0
  78. package/node_modules/@earendil-works/pi-agent-core/dist/harness/compaction/utils.d.ts +25 -0
  79. package/node_modules/@earendil-works/pi-agent-core/dist/harness/compaction/utils.d.ts.map +1 -0
  80. package/node_modules/@earendil-works/pi-agent-core/dist/harness/compaction/utils.js +131 -0
  81. package/node_modules/@earendil-works/pi-agent-core/dist/harness/compaction/utils.js.map +1 -0
  82. package/node_modules/@earendil-works/pi-agent-core/dist/harness/env/nodejs.d.ts +51 -0
  83. package/node_modules/@earendil-works/pi-agent-core/dist/harness/env/nodejs.d.ts.map +1 -0
  84. package/node_modules/@earendil-works/pi-agent-core/dist/harness/env/nodejs.js +481 -0
  85. package/node_modules/@earendil-works/pi-agent-core/dist/harness/env/nodejs.js.map +1 -0
  86. package/node_modules/@earendil-works/pi-agent-core/dist/harness/execution-env.d.ts +4 -0
  87. package/node_modules/@earendil-works/pi-agent-core/dist/harness/execution-env.d.ts.map +1 -0
  88. package/node_modules/@earendil-works/pi-agent-core/dist/harness/execution-env.js +3 -0
  89. package/node_modules/@earendil-works/pi-agent-core/dist/harness/execution-env.js.map +1 -0
  90. package/node_modules/@earendil-works/pi-agent-core/dist/harness/messages.d.ts +51 -0
  91. package/node_modules/@earendil-works/pi-agent-core/dist/harness/messages.d.ts.map +1 -0
  92. package/node_modules/@earendil-works/pi-agent-core/dist/harness/messages.js +102 -0
  93. package/node_modules/@earendil-works/pi-agent-core/dist/harness/messages.js.map +1 -0
  94. package/node_modules/@earendil-works/pi-agent-core/dist/harness/prompt-templates.d.ts +48 -0
  95. package/node_modules/@earendil-works/pi-agent-core/dist/harness/prompt-templates.d.ts.map +1 -0
  96. package/node_modules/@earendil-works/pi-agent-core/dist/harness/prompt-templates.js +230 -0
  97. package/node_modules/@earendil-works/pi-agent-core/dist/harness/prompt-templates.js.map +1 -0
  98. package/node_modules/@earendil-works/pi-agent-core/dist/harness/session/jsonl-repo.d.ts +26 -0
  99. package/node_modules/@earendil-works/pi-agent-core/dist/harness/session/jsonl-repo.d.ts.map +1 -0
  100. package/node_modules/@earendil-works/pi-agent-core/dist/harness/session/jsonl-repo.js +101 -0
  101. package/node_modules/@earendil-works/pi-agent-core/dist/harness/session/jsonl-repo.js.map +1 -0
  102. package/node_modules/@earendil-works/pi-agent-core/dist/harness/session/jsonl-storage.d.ts +33 -0
  103. package/node_modules/@earendil-works/pi-agent-core/dist/harness/session/jsonl-storage.d.ts.map +1 -0
  104. package/node_modules/@earendil-works/pi-agent-core/dist/harness/session/jsonl-storage.js +231 -0
  105. package/node_modules/@earendil-works/pi-agent-core/dist/harness/session/jsonl-storage.js.map +1 -0
  106. package/node_modules/@earendil-works/pi-agent-core/dist/harness/session/memory-repo.d.ts +18 -0
  107. package/node_modules/@earendil-works/pi-agent-core/dist/harness/session/memory-repo.d.ts.map +1 -0
  108. package/node_modules/@earendil-works/pi-agent-core/dist/harness/session/memory-repo.js +42 -0
  109. package/node_modules/@earendil-works/pi-agent-core/dist/harness/session/memory-repo.js.map +1 -0
  110. package/node_modules/@earendil-works/pi-agent-core/dist/harness/session/memory-storage.d.ts +25 -0
  111. package/node_modules/@earendil-works/pi-agent-core/dist/harness/session/memory-storage.d.ts.map +1 -0
  112. package/node_modules/@earendil-works/pi-agent-core/dist/harness/session/memory-storage.js +114 -0
  113. package/node_modules/@earendil-works/pi-agent-core/dist/harness/session/memory-storage.js.map +1 -0
  114. package/node_modules/@earendil-works/pi-agent-core/dist/harness/session/repo/jsonl.d.ts +20 -0
  115. package/node_modules/@earendil-works/pi-agent-core/dist/harness/session/repo/jsonl.d.ts.map +1 -0
  116. package/node_modules/@earendil-works/pi-agent-core/dist/harness/session/repo/jsonl.js +92 -0
  117. package/node_modules/@earendil-works/pi-agent-core/dist/harness/session/repo/jsonl.js.map +1 -0
  118. package/node_modules/@earendil-works/pi-agent-core/dist/harness/session/repo/memory.d.ts +18 -0
  119. package/node_modules/@earendil-works/pi-agent-core/dist/harness/session/repo/memory.d.ts.map +1 -0
  120. package/node_modules/@earendil-works/pi-agent-core/dist/harness/session/repo/memory.js +42 -0
  121. package/node_modules/@earendil-works/pi-agent-core/dist/harness/session/repo/memory.js.map +1 -0
  122. package/node_modules/@earendil-works/pi-agent-core/dist/harness/session/repo/shared.d.ts +10 -0
  123. package/node_modules/@earendil-works/pi-agent-core/dist/harness/session/repo/shared.d.ts.map +1 -0
  124. package/node_modules/@earendil-works/pi-agent-core/dist/harness/session/repo/shared.js +31 -0
  125. package/node_modules/@earendil-works/pi-agent-core/dist/harness/session/repo/shared.js.map +1 -0
  126. package/node_modules/@earendil-works/pi-agent-core/dist/harness/session/repo-utils.d.ts +11 -0
  127. package/node_modules/@earendil-works/pi-agent-core/dist/harness/session/repo-utils.d.ts.map +1 -0
  128. package/node_modules/@earendil-works/pi-agent-core/dist/harness/session/repo-utils.js +39 -0
  129. package/node_modules/@earendil-works/pi-agent-core/dist/harness/session/repo-utils.js.map +1 -0
  130. package/node_modules/@earendil-works/pi-agent-core/dist/harness/session/session.d.ts +32 -0
  131. package/node_modules/@earendil-works/pi-agent-core/dist/harness/session/session.d.ts.map +1 -0
  132. package/node_modules/@earendil-works/pi-agent-core/dist/harness/session/session.js +197 -0
  133. package/node_modules/@earendil-works/pi-agent-core/dist/harness/session/session.js.map +1 -0
  134. package/node_modules/@earendil-works/pi-agent-core/dist/harness/session/storage/jsonl.d.ts +30 -0
  135. package/node_modules/@earendil-works/pi-agent-core/dist/harness/session/storage/jsonl.d.ts.map +1 -0
  136. package/node_modules/@earendil-works/pi-agent-core/dist/harness/session/storage/jsonl.js +170 -0
  137. package/node_modules/@earendil-works/pi-agent-core/dist/harness/session/storage/jsonl.js.map +1 -0
  138. package/node_modules/@earendil-works/pi-agent-core/dist/harness/session/storage/memory.d.ts +26 -0
  139. package/node_modules/@earendil-works/pi-agent-core/dist/harness/session/storage/memory.d.ts.map +1 -0
  140. package/node_modules/@earendil-works/pi-agent-core/dist/harness/session/storage/memory.js +90 -0
  141. package/node_modules/@earendil-works/pi-agent-core/dist/harness/session/storage/memory.js.map +1 -0
  142. package/node_modules/@earendil-works/pi-agent-core/dist/harness/session/uuid.d.ts +2 -0
  143. package/node_modules/@earendil-works/pi-agent-core/dist/harness/session/uuid.d.ts.map +1 -0
  144. package/node_modules/@earendil-works/pi-agent-core/dist/harness/session/uuid.js +50 -0
  145. package/node_modules/@earendil-works/pi-agent-core/dist/harness/session/uuid.js.map +1 -0
  146. package/node_modules/@earendil-works/pi-agent-core/dist/harness/skills.d.ts +44 -0
  147. package/node_modules/@earendil-works/pi-agent-core/dist/harness/skills.d.ts.map +1 -0
  148. package/node_modules/@earendil-works/pi-agent-core/dist/harness/skills.js +311 -0
  149. package/node_modules/@earendil-works/pi-agent-core/dist/harness/skills.js.map +1 -0
  150. package/node_modules/@earendil-works/pi-agent-core/dist/harness/system-prompt.d.ts +3 -0
  151. package/node_modules/@earendil-works/pi-agent-core/dist/harness/system-prompt.d.ts.map +1 -0
  152. package/node_modules/@earendil-works/pi-agent-core/dist/harness/system-prompt.js +30 -0
  153. package/node_modules/@earendil-works/pi-agent-core/dist/harness/system-prompt.js.map +1 -0
  154. package/node_modules/@earendil-works/pi-agent-core/dist/harness/types.d.ts +613 -0
  155. package/node_modules/@earendil-works/pi-agent-core/dist/harness/types.d.ts.map +1 -0
  156. package/node_modules/@earendil-works/pi-agent-core/dist/harness/types.js +100 -0
  157. package/node_modules/@earendil-works/pi-agent-core/dist/harness/types.js.map +1 -0
  158. package/node_modules/@earendil-works/pi-agent-core/dist/harness/utils/shell-output.d.ts +14 -0
  159. package/node_modules/@earendil-works/pi-agent-core/dist/harness/utils/shell-output.d.ts.map +1 -0
  160. package/node_modules/@earendil-works/pi-agent-core/dist/harness/utils/shell-output.js +126 -0
  161. package/node_modules/@earendil-works/pi-agent-core/dist/harness/utils/shell-output.js.map +1 -0
  162. package/node_modules/@earendil-works/pi-agent-core/dist/harness/utils/truncate.d.ts.map +1 -0
  163. package/node_modules/@earendil-works/pi-agent-core/dist/harness/utils/truncate.js +288 -0
  164. package/node_modules/@earendil-works/pi-agent-core/dist/harness/utils/truncate.js.map +1 -0
  165. package/node_modules/@earendil-works/pi-agent-core/dist/index.d.ts +20 -0
  166. package/node_modules/@earendil-works/pi-agent-core/dist/index.d.ts.map +1 -0
  167. package/node_modules/@earendil-works/pi-agent-core/dist/index.js +25 -0
  168. package/node_modules/@earendil-works/pi-agent-core/dist/index.js.map +1 -0
  169. package/node_modules/@earendil-works/pi-agent-core/dist/node.d.ts +3 -0
  170. package/node_modules/@earendil-works/pi-agent-core/dist/node.d.ts.map +1 -0
  171. package/node_modules/@earendil-works/pi-agent-core/dist/node.js +3 -0
  172. package/node_modules/@earendil-works/pi-agent-core/dist/node.js.map +1 -0
  173. package/node_modules/@earendil-works/pi-agent-core/dist/proxy.d.ts +69 -0
  174. package/node_modules/@earendil-works/pi-agent-core/dist/proxy.d.ts.map +1 -0
  175. package/node_modules/@earendil-works/pi-agent-core/dist/proxy.js +278 -0
  176. package/node_modules/@earendil-works/pi-agent-core/dist/proxy.js.map +1 -0
  177. package/node_modules/@earendil-works/pi-agent-core/dist/types.d.ts +393 -0
  178. package/node_modules/@earendil-works/pi-agent-core/dist/types.d.ts.map +1 -0
  179. package/node_modules/@earendil-works/pi-agent-core/dist/types.js.map +1 -0
  180. package/node_modules/@earendil-works/pi-agent-core/package.json +61 -0
  181. package/node_modules/@earendil-works/pi-ai/README.md +1383 -0
  182. package/node_modules/@earendil-works/pi-ai/dist/cli.d.ts.map +1 -0
  183. package/node_modules/@earendil-works/pi-ai/dist/cli.js +116 -0
  184. package/node_modules/@earendil-works/pi-ai/dist/cli.js.map +1 -0
  185. package/node_modules/@earendil-works/pi-ai/dist/env-api-keys.d.ts.map +1 -0
  186. package/node_modules/@earendil-works/pi-ai/dist/env-api-keys.js +170 -0
  187. package/node_modules/@earendil-works/pi-ai/dist/env-api-keys.js.map +1 -0
  188. package/node_modules/@earendil-works/pi-ai/dist/image-models.d.ts +10 -0
  189. package/node_modules/@earendil-works/pi-ai/dist/image-models.d.ts.map +1 -0
  190. package/node_modules/@earendil-works/pi-ai/dist/image-models.generated.d.ts +425 -0
  191. package/node_modules/@earendil-works/pi-ai/dist/image-models.generated.d.ts.map +1 -0
  192. package/node_modules/@earendil-works/pi-ai/dist/image-models.generated.js +427 -0
  193. package/node_modules/@earendil-works/pi-ai/dist/image-models.generated.js.map +1 -0
  194. package/node_modules/@earendil-works/pi-ai/dist/image-models.js +23 -0
  195. package/node_modules/@earendil-works/pi-ai/dist/image-models.js.map +1 -0
  196. package/node_modules/@earendil-works/pi-ai/dist/images-api-registry.d.ts +14 -0
  197. package/node_modules/@earendil-works/pi-ai/dist/images-api-registry.d.ts.map +1 -0
  198. package/node_modules/@earendil-works/pi-ai/dist/images-api-registry.js +22 -0
  199. package/node_modules/@earendil-works/pi-ai/dist/images-api-registry.js.map +1 -0
  200. package/node_modules/@earendil-works/pi-ai/dist/images.d.ts +4 -0
  201. package/node_modules/@earendil-works/pi-ai/dist/images.d.ts.map +1 -0
  202. package/node_modules/@earendil-works/pi-ai/dist/images.js +14 -0
  203. package/node_modules/@earendil-works/pi-ai/dist/images.js.map +1 -0
  204. package/node_modules/@earendil-works/pi-ai/dist/index.d.ts +32 -0
  205. package/node_modules/@earendil-works/pi-ai/dist/index.d.ts.map +1 -0
  206. package/node_modules/@earendil-works/pi-ai/dist/index.js +20 -0
  207. package/node_modules/@earendil-works/pi-ai/dist/index.js.map +1 -0
  208. package/node_modules/@earendil-works/pi-ai/dist/models.generated.d.ts +17435 -0
  209. package/node_modules/@earendil-works/pi-ai/dist/models.generated.d.ts.map +1 -0
  210. package/node_modules/@earendil-works/pi-ai/dist/models.generated.js +16383 -0
  211. package/node_modules/@earendil-works/pi-ai/dist/models.generated.js.map +1 -0
  212. package/node_modules/@earendil-works/pi-ai/dist/providers/amazon-bedrock.d.ts.map +1 -0
  213. package/node_modules/@earendil-works/pi-ai/dist/providers/amazon-bedrock.js +750 -0
  214. package/node_modules/@earendil-works/pi-ai/dist/providers/amazon-bedrock.js.map +1 -0
  215. package/node_modules/@earendil-works/pi-ai/dist/providers/anthropic.d.ts.map +1 -0
  216. package/node_modules/@earendil-works/pi-ai/dist/providers/anthropic.js +960 -0
  217. package/node_modules/@earendil-works/pi-ai/dist/providers/anthropic.js.map +1 -0
  218. package/node_modules/@earendil-works/pi-ai/dist/providers/images/openrouter.d.ts +3 -0
  219. package/node_modules/@earendil-works/pi-ai/dist/providers/images/openrouter.d.ts.map +1 -0
  220. package/node_modules/@earendil-works/pi-ai/dist/providers/images/openrouter.js +129 -0
  221. package/node_modules/@earendil-works/pi-ai/dist/providers/images/openrouter.js.map +1 -0
  222. package/node_modules/@earendil-works/pi-ai/dist/providers/images/register-builtins.d.ts +4 -0
  223. package/node_modules/@earendil-works/pi-ai/dist/providers/images/register-builtins.d.ts.map +1 -0
  224. package/node_modules/@earendil-works/pi-ai/dist/providers/images/register-builtins.js +34 -0
  225. package/node_modules/@earendil-works/pi-ai/dist/providers/images/register-builtins.js.map +1 -0
  226. package/node_modules/@earendil-works/pi-ai/dist/providers/openai-codex-responses.d.ts.map +1 -0
  227. package/node_modules/@earendil-works/pi-ai/dist/providers/openai-codex-responses.js +1080 -0
  228. package/node_modules/@earendil-works/pi-ai/dist/providers/openai-codex-responses.js.map +1 -0
  229. package/node_modules/@earendil-works/pi-ai/dist/providers/openai-completions.d.ts.map +1 -0
  230. package/node_modules/@earendil-works/pi-ai/dist/providers/openai-completions.js +943 -0
  231. package/node_modules/@earendil-works/pi-ai/dist/providers/openai-completions.js.map +1 -0
  232. package/node_modules/@earendil-works/pi-ai/dist/providers/simple-options.d.ts.map +1 -0
  233. package/node_modules/@earendil-works/pi-ai/dist/providers/simple-options.js +39 -0
  234. package/node_modules/@earendil-works/pi-ai/dist/providers/simple-options.js.map +1 -0
  235. package/node_modules/@earendil-works/pi-ai/dist/types.d.ts +488 -0
  236. package/node_modules/@earendil-works/pi-ai/dist/types.d.ts.map +1 -0
  237. package/node_modules/@earendil-works/pi-ai/dist/types.js.map +1 -0
  238. package/node_modules/@earendil-works/pi-ai/dist/utils/node-http-proxy.d.ts +10 -0
  239. package/node_modules/@earendil-works/pi-ai/dist/utils/node-http-proxy.d.ts.map +1 -0
  240. package/node_modules/@earendil-works/pi-ai/dist/utils/node-http-proxy.js +97 -0
  241. package/node_modules/@earendil-works/pi-ai/dist/utils/node-http-proxy.js.map +1 -0
  242. package/node_modules/@earendil-works/pi-ai/dist/utils/overflow.d.ts +56 -0
  243. package/node_modules/@earendil-works/pi-ai/dist/utils/overflow.d.ts.map +1 -0
  244. package/node_modules/@earendil-works/pi-ai/dist/utils/overflow.js +151 -0
  245. package/node_modules/@earendil-works/pi-ai/dist/utils/overflow.js.map +1 -0
  246. package/node_modules/@earendil-works/pi-ai/package.json +107 -0
  247. package/node_modules/@earendil-works/pi-coding-agent/CHANGELOG.md +4205 -0
  248. package/node_modules/@earendil-works/pi-coding-agent/README.md +653 -0
  249. package/node_modules/@earendil-works/pi-coding-agent/dist/bun/register-bedrock.d.ts.map +1 -0
  250. package/node_modules/@earendil-works/pi-coding-agent/dist/bun/register-bedrock.js +4 -0
  251. package/node_modules/@earendil-works/pi-coding-agent/dist/bun/register-bedrock.js.map +1 -0
  252. package/node_modules/@earendil-works/pi-coding-agent/dist/cli/args.d.ts +53 -0
  253. package/node_modules/@earendil-works/pi-coding-agent/dist/cli/args.d.ts.map +1 -0
  254. package/node_modules/@earendil-works/pi-coding-agent/dist/cli/args.js +341 -0
  255. package/node_modules/@earendil-works/pi-coding-agent/dist/cli/args.js.map +1 -0
  256. package/node_modules/@earendil-works/pi-coding-agent/dist/cli/config-selector.d.ts.map +1 -0
  257. package/node_modules/@earendil-works/pi-coding-agent/dist/cli/config-selector.js +31 -0
  258. package/node_modules/@earendil-works/pi-coding-agent/dist/cli/config-selector.js.map +1 -0
  259. package/node_modules/@earendil-works/pi-coding-agent/dist/cli/file-processor.d.ts +15 -0
  260. package/node_modules/@earendil-works/pi-coding-agent/dist/cli/file-processor.d.ts.map +1 -0
  261. package/node_modules/@earendil-works/pi-coding-agent/dist/cli/file-processor.js.map +1 -0
  262. package/node_modules/@earendil-works/pi-coding-agent/dist/cli/initial-message.d.ts +18 -0
  263. package/node_modules/@earendil-works/pi-coding-agent/dist/cli/initial-message.d.ts.map +1 -0
  264. package/node_modules/@earendil-works/pi-coding-agent/dist/cli/initial-message.js.map +1 -0
  265. package/node_modules/@earendil-works/pi-coding-agent/dist/cli/list-models.d.ts.map +1 -0
  266. package/node_modules/@earendil-works/pi-coding-agent/dist/cli/list-models.js +98 -0
  267. package/node_modules/@earendil-works/pi-coding-agent/dist/cli/list-models.js.map +1 -0
  268. package/node_modules/@earendil-works/pi-coding-agent/dist/cli/session-picker.d.ts.map +1 -0
  269. package/node_modules/@earendil-works/pi-coding-agent/dist/cli/session-picker.js +35 -0
  270. package/node_modules/@earendil-works/pi-coding-agent/dist/cli/session-picker.js.map +1 -0
  271. package/node_modules/@earendil-works/pi-coding-agent/dist/cli.d.ts.map +1 -0
  272. package/node_modules/@earendil-works/pi-coding-agent/dist/cli.js +28 -0
  273. package/node_modules/@earendil-works/pi-coding-agent/dist/cli.js.map +1 -0
  274. package/node_modules/@earendil-works/pi-coding-agent/dist/config.d.ts.map +1 -0
  275. package/node_modules/@earendil-works/pi-coding-agent/dist/config.js +399 -0
  276. package/node_modules/@earendil-works/pi-coding-agent/dist/config.js.map +1 -0
  277. package/node_modules/@earendil-works/pi-coding-agent/dist/core/agent-session-services.d.ts +86 -0
  278. package/node_modules/@earendil-works/pi-coding-agent/dist/core/agent-session-services.d.ts.map +1 -0
  279. package/node_modules/@earendil-works/pi-coding-agent/dist/core/agent-session-services.js.map +1 -0
  280. package/node_modules/@earendil-works/pi-coding-agent/dist/core/agent-session.d.ts +595 -0
  281. package/node_modules/@earendil-works/pi-coding-agent/dist/core/agent-session.d.ts.map +1 -0
  282. package/node_modules/@earendil-works/pi-coding-agent/dist/core/agent-session.js +2521 -0
  283. package/node_modules/@earendil-works/pi-coding-agent/dist/core/agent-session.js.map +1 -0
  284. package/node_modules/@earendil-works/pi-coding-agent/dist/core/auth-storage.d.ts +141 -0
  285. package/node_modules/@earendil-works/pi-coding-agent/dist/core/auth-storage.d.ts.map +1 -0
  286. package/node_modules/@earendil-works/pi-coding-agent/dist/core/auth-storage.js +441 -0
  287. package/node_modules/@earendil-works/pi-coding-agent/dist/core/auth-storage.js.map +1 -0
  288. package/node_modules/@earendil-works/pi-coding-agent/dist/core/bash-executor.d.ts.map +1 -0
  289. package/node_modules/@earendil-works/pi-coding-agent/dist/core/bash-executor.js +111 -0
  290. package/node_modules/@earendil-works/pi-coding-agent/dist/core/bash-executor.js.map +1 -0
  291. package/node_modules/@earendil-works/pi-coding-agent/dist/core/compaction/branch-summarization.d.ts +88 -0
  292. package/node_modules/@earendil-works/pi-coding-agent/dist/core/compaction/branch-summarization.d.ts.map +1 -0
  293. package/node_modules/@earendil-works/pi-coding-agent/dist/core/compaction/branch-summarization.js +243 -0
  294. package/node_modules/@earendil-works/pi-coding-agent/dist/core/compaction/branch-summarization.js.map +1 -0
  295. package/node_modules/@earendil-works/pi-coding-agent/dist/core/compaction/compaction.d.ts +121 -0
  296. package/node_modules/@earendil-works/pi-coding-agent/dist/core/compaction/compaction.d.ts.map +1 -0
  297. package/node_modules/@earendil-works/pi-coding-agent/dist/core/compaction/compaction.js +615 -0
  298. package/node_modules/@earendil-works/pi-coding-agent/dist/core/compaction/compaction.js.map +1 -0
  299. package/node_modules/@earendil-works/pi-coding-agent/dist/core/compaction/utils.d.ts +38 -0
  300. package/node_modules/@earendil-works/pi-coding-agent/dist/core/compaction/utils.d.ts.map +1 -0
  301. package/node_modules/@earendil-works/pi-coding-agent/dist/core/compaction/utils.js.map +1 -0
  302. package/node_modules/@earendil-works/pi-coding-agent/dist/core/defaults.d.ts +3 -0
  303. package/node_modules/@earendil-works/pi-coding-agent/dist/core/defaults.d.ts.map +1 -0
  304. package/node_modules/@earendil-works/pi-coding-agent/dist/core/defaults.js.map +1 -0
  305. package/node_modules/@earendil-works/pi-coding-agent/dist/core/export-html/index.d.ts +37 -0
  306. package/node_modules/@earendil-works/pi-coding-agent/dist/core/export-html/index.d.ts.map +1 -0
  307. package/node_modules/@earendil-works/pi-coding-agent/dist/core/export-html/index.js.map +1 -0
  308. package/node_modules/@earendil-works/pi-coding-agent/dist/core/export-html/tool-renderer.d.ts.map +1 -0
  309. package/node_modules/@earendil-works/pi-coding-agent/dist/core/export-html/tool-renderer.js.map +1 -0
  310. package/node_modules/@earendil-works/pi-coding-agent/dist/core/extensions/loader.d.ts.map +1 -0
  311. package/node_modules/@earendil-works/pi-coding-agent/dist/core/extensions/loader.js +498 -0
  312. package/node_modules/@earendil-works/pi-coding-agent/dist/core/extensions/loader.js.map +1 -0
  313. package/node_modules/@earendil-works/pi-coding-agent/dist/core/extensions/runner.d.ts +159 -0
  314. package/node_modules/@earendil-works/pi-coding-agent/dist/core/extensions/runner.d.ts.map +1 -0
  315. package/node_modules/@earendil-works/pi-coding-agent/dist/core/extensions/runner.js +825 -0
  316. package/node_modules/@earendil-works/pi-coding-agent/dist/core/extensions/runner.js.map +1 -0
  317. package/node_modules/@earendil-works/pi-coding-agent/dist/core/extensions/types.d.ts +1187 -0
  318. package/node_modules/@earendil-works/pi-coding-agent/dist/core/extensions/types.d.ts.map +1 -0
  319. package/node_modules/@earendil-works/pi-coding-agent/dist/core/extensions/types.js.map +1 -0
  320. package/node_modules/@earendil-works/pi-coding-agent/dist/core/extensions/wrapper.d.ts +20 -0
  321. package/node_modules/@earendil-works/pi-coding-agent/dist/core/extensions/wrapper.d.ts.map +1 -0
  322. package/node_modules/@earendil-works/pi-coding-agent/dist/core/extensions/wrapper.js.map +1 -0
  323. package/node_modules/@earendil-works/pi-coding-agent/dist/core/keybindings.d.ts +353 -0
  324. package/node_modules/@earendil-works/pi-coding-agent/dist/core/keybindings.d.ts.map +1 -0
  325. package/node_modules/@earendil-works/pi-coding-agent/dist/core/keybindings.js +295 -0
  326. package/node_modules/@earendil-works/pi-coding-agent/dist/core/keybindings.js.map +1 -0
  327. package/node_modules/@earendil-works/pi-coding-agent/dist/core/messages.d.ts +77 -0
  328. package/node_modules/@earendil-works/pi-coding-agent/dist/core/messages.d.ts.map +1 -0
  329. package/node_modules/@earendil-works/pi-coding-agent/dist/core/messages.js.map +1 -0
  330. package/node_modules/@earendil-works/pi-coding-agent/dist/core/model-registry.d.ts +150 -0
  331. package/node_modules/@earendil-works/pi-coding-agent/dist/core/model-registry.d.ts.map +1 -0
  332. package/node_modules/@earendil-works/pi-coding-agent/dist/core/model-registry.js +728 -0
  333. package/node_modules/@earendil-works/pi-coding-agent/dist/core/model-registry.js.map +1 -0
  334. package/node_modules/@earendil-works/pi-coding-agent/dist/core/model-resolver.d.ts +110 -0
  335. package/node_modules/@earendil-works/pi-coding-agent/dist/core/model-resolver.d.ts.map +1 -0
  336. package/node_modules/@earendil-works/pi-coding-agent/dist/core/model-resolver.js +495 -0
  337. package/node_modules/@earendil-works/pi-coding-agent/dist/core/model-resolver.js.map +1 -0
  338. package/node_modules/@earendil-works/pi-coding-agent/dist/core/package-manager.d.ts +199 -0
  339. package/node_modules/@earendil-works/pi-coding-agent/dist/core/package-manager.d.ts.map +1 -0
  340. package/node_modules/@earendil-works/pi-coding-agent/dist/core/package-manager.js +1996 -0
  341. package/node_modules/@earendil-works/pi-coding-agent/dist/core/package-manager.js.map +1 -0
  342. package/node_modules/@earendil-works/pi-coding-agent/dist/core/prompt-templates.d.ts.map +1 -0
  343. package/node_modules/@earendil-works/pi-coding-agent/dist/core/prompt-templates.js +252 -0
  344. package/node_modules/@earendil-works/pi-coding-agent/dist/core/prompt-templates.js.map +1 -0
  345. package/node_modules/@earendil-works/pi-coding-agent/dist/core/provider-display-names.d.ts.map +1 -0
  346. package/node_modules/@earendil-works/pi-coding-agent/dist/core/provider-display-names.js +33 -0
  347. package/node_modules/@earendil-works/pi-coding-agent/dist/core/provider-display-names.js.map +1 -0
  348. package/node_modules/@earendil-works/pi-coding-agent/dist/core/sdk.d.ts +107 -0
  349. package/node_modules/@earendil-works/pi-coding-agent/dist/core/sdk.d.ts.map +1 -0
  350. package/node_modules/@earendil-works/pi-coding-agent/dist/core/sdk.js +282 -0
  351. package/node_modules/@earendil-works/pi-coding-agent/dist/core/sdk.js.map +1 -0
  352. package/node_modules/@earendil-works/pi-coding-agent/dist/core/session-manager.d.ts +333 -0
  353. package/node_modules/@earendil-works/pi-coding-agent/dist/core/session-manager.d.ts.map +1 -0
  354. package/node_modules/@earendil-works/pi-coding-agent/dist/core/session-manager.js +1139 -0
  355. package/node_modules/@earendil-works/pi-coding-agent/dist/core/session-manager.js.map +1 -0
  356. package/node_modules/@earendil-works/pi-coding-agent/dist/core/settings-manager.d.ts +261 -0
  357. package/node_modules/@earendil-works/pi-coding-agent/dist/core/settings-manager.d.ts.map +1 -0
  358. package/node_modules/@earendil-works/pi-coding-agent/dist/core/settings-manager.js.map +1 -0
  359. package/node_modules/@earendil-works/pi-coding-agent/dist/core/skills.d.ts.map +1 -0
  360. package/node_modules/@earendil-works/pi-coding-agent/dist/core/skills.js +401 -0
  361. package/node_modules/@earendil-works/pi-coding-agent/dist/core/skills.js.map +1 -0
  362. package/node_modules/@earendil-works/pi-coding-agent/dist/core/tools/bash.d.ts +68 -0
  363. package/node_modules/@earendil-works/pi-coding-agent/dist/core/tools/bash.d.ts.map +1 -0
  364. package/node_modules/@earendil-works/pi-coding-agent/dist/core/tools/bash.js +335 -0
  365. package/node_modules/@earendil-works/pi-coding-agent/dist/core/tools/bash.js.map +1 -0
  366. package/node_modules/@earendil-works/pi-coding-agent/dist/core/tools/edit.d.ts +49 -0
  367. package/node_modules/@earendil-works/pi-coding-agent/dist/core/tools/edit.d.ts.map +1 -0
  368. package/node_modules/@earendil-works/pi-coding-agent/dist/core/tools/edit.js +324 -0
  369. package/node_modules/@earendil-works/pi-coding-agent/dist/core/tools/edit.js.map +1 -0
  370. package/node_modules/@earendil-works/pi-coding-agent/dist/core/tools/find.d.ts +35 -0
  371. package/node_modules/@earendil-works/pi-coding-agent/dist/core/tools/find.d.ts.map +1 -0
  372. package/node_modules/@earendil-works/pi-coding-agent/dist/core/tools/find.js +298 -0
  373. package/node_modules/@earendil-works/pi-coding-agent/dist/core/tools/find.js.map +1 -0
  374. package/node_modules/@earendil-works/pi-coding-agent/dist/core/tools/grep.d.ts +37 -0
  375. package/node_modules/@earendil-works/pi-coding-agent/dist/core/tools/grep.d.ts.map +1 -0
  376. package/node_modules/@earendil-works/pi-coding-agent/dist/core/tools/grep.js +304 -0
  377. package/node_modules/@earendil-works/pi-coding-agent/dist/core/tools/grep.js.map +1 -0
  378. package/node_modules/@earendil-works/pi-coding-agent/dist/core/tools/index.d.ts +40 -0
  379. package/node_modules/@earendil-works/pi-coding-agent/dist/core/tools/index.d.ts.map +1 -0
  380. package/node_modules/@earendil-works/pi-coding-agent/dist/core/tools/index.js.map +1 -0
  381. package/node_modules/@earendil-works/pi-coding-agent/dist/core/tools/ls.d.ts +37 -0
  382. package/node_modules/@earendil-works/pi-coding-agent/dist/core/tools/ls.d.ts.map +1 -0
  383. package/node_modules/@earendil-works/pi-coding-agent/dist/core/tools/ls.js +169 -0
  384. package/node_modules/@earendil-works/pi-coding-agent/dist/core/tools/ls.js.map +1 -0
  385. package/node_modules/@earendil-works/pi-coding-agent/dist/core/tools/read.d.ts +35 -0
  386. package/node_modules/@earendil-works/pi-coding-agent/dist/core/tools/read.d.ts.map +1 -0
  387. package/node_modules/@earendil-works/pi-coding-agent/dist/core/tools/read.js +289 -0
  388. package/node_modules/@earendil-works/pi-coding-agent/dist/core/tools/read.js.map +1 -0
  389. package/node_modules/@earendil-works/pi-coding-agent/dist/core/tools/render-utils.d.ts +21 -0
  390. package/node_modules/@earendil-works/pi-coding-agent/dist/core/tools/render-utils.d.ts.map +1 -0
  391. package/node_modules/@earendil-works/pi-coding-agent/dist/core/tools/render-utils.js +49 -0
  392. package/node_modules/@earendil-works/pi-coding-agent/dist/core/tools/render-utils.js.map +1 -0
  393. package/node_modules/@earendil-works/pi-coding-agent/dist/core/tools/tool-definition-wrapper.d.ts +14 -0
  394. package/node_modules/@earendil-works/pi-coding-agent/dist/core/tools/tool-definition-wrapper.d.ts.map +1 -0
  395. package/node_modules/@earendil-works/pi-coding-agent/dist/core/tools/tool-definition-wrapper.js.map +1 -0
  396. package/node_modules/@earendil-works/pi-coding-agent/dist/core/tools/truncate.d.ts +70 -0
  397. package/node_modules/@earendil-works/pi-coding-agent/dist/core/tools/write.d.ts +26 -0
  398. package/node_modules/@earendil-works/pi-coding-agent/dist/core/tools/write.d.ts.map +1 -0
  399. package/node_modules/@earendil-works/pi-coding-agent/dist/core/tools/write.js +213 -0
  400. package/node_modules/@earendil-works/pi-coding-agent/dist/core/tools/write.js.map +1 -0
  401. package/node_modules/@earendil-works/pi-coding-agent/dist/main.d.ts.map +1 -0
  402. package/node_modules/@earendil-works/pi-coding-agent/dist/main.js +573 -0
  403. package/node_modules/@earendil-works/pi-coding-agent/dist/main.js.map +1 -0
  404. package/node_modules/@earendil-works/pi-coding-agent/dist/modes/interactive/components/armin.d.ts +34 -0
  405. package/node_modules/@earendil-works/pi-coding-agent/dist/modes/interactive/components/armin.d.ts.map +1 -0
  406. package/node_modules/@earendil-works/pi-coding-agent/dist/modes/interactive/components/armin.js.map +1 -0
  407. package/node_modules/@earendil-works/pi-coding-agent/dist/modes/interactive/components/assistant-message.d.ts +20 -0
  408. package/node_modules/@earendil-works/pi-coding-agent/dist/modes/interactive/components/assistant-message.d.ts.map +1 -0
  409. package/node_modules/@earendil-works/pi-coding-agent/dist/modes/interactive/components/assistant-message.js +121 -0
  410. package/node_modules/@earendil-works/pi-coding-agent/dist/modes/interactive/components/assistant-message.js.map +1 -0
  411. package/node_modules/@earendil-works/pi-coding-agent/dist/modes/interactive/components/bash-execution.d.ts +34 -0
  412. package/node_modules/@earendil-works/pi-coding-agent/dist/modes/interactive/components/bash-execution.d.ts.map +1 -0
  413. package/node_modules/@earendil-works/pi-coding-agent/dist/modes/interactive/components/bash-execution.js +175 -0
  414. package/node_modules/@earendil-works/pi-coding-agent/dist/modes/interactive/components/bash-execution.js.map +1 -0
  415. package/node_modules/@earendil-works/pi-coding-agent/dist/modes/interactive/components/bordered-loader.d.ts +16 -0
  416. package/node_modules/@earendil-works/pi-coding-agent/dist/modes/interactive/components/bordered-loader.d.ts.map +1 -0
  417. package/node_modules/@earendil-works/pi-coding-agent/dist/modes/interactive/components/bordered-loader.js +54 -0
  418. package/node_modules/@earendil-works/pi-coding-agent/dist/modes/interactive/components/bordered-loader.js.map +1 -0
  419. package/node_modules/@earendil-works/pi-coding-agent/dist/modes/interactive/components/branch-summary-message.d.ts +16 -0
  420. package/node_modules/@earendil-works/pi-coding-agent/dist/modes/interactive/components/branch-summary-message.d.ts.map +1 -0
  421. package/node_modules/@earendil-works/pi-coding-agent/dist/modes/interactive/components/branch-summary-message.js +44 -0
  422. package/node_modules/@earendil-works/pi-coding-agent/dist/modes/interactive/components/branch-summary-message.js.map +1 -0
  423. package/node_modules/@earendil-works/pi-coding-agent/dist/modes/interactive/components/compaction-summary-message.d.ts +16 -0
  424. package/node_modules/@earendil-works/pi-coding-agent/dist/modes/interactive/components/compaction-summary-message.d.ts.map +1 -0
  425. package/node_modules/@earendil-works/pi-coding-agent/dist/modes/interactive/components/compaction-summary-message.js +45 -0
  426. package/node_modules/@earendil-works/pi-coding-agent/dist/modes/interactive/components/compaction-summary-message.js.map +1 -0
  427. package/node_modules/@earendil-works/pi-coding-agent/dist/modes/interactive/components/config-selector.d.ts +71 -0
  428. package/node_modules/@earendil-works/pi-coding-agent/dist/modes/interactive/components/config-selector.d.ts.map +1 -0
  429. package/node_modules/@earendil-works/pi-coding-agent/dist/modes/interactive/components/config-selector.js +503 -0
  430. package/node_modules/@earendil-works/pi-coding-agent/dist/modes/interactive/components/config-selector.js.map +1 -0
  431. package/node_modules/@earendil-works/pi-coding-agent/dist/modes/interactive/components/countdown-timer.d.ts +14 -0
  432. package/node_modules/@earendil-works/pi-coding-agent/dist/modes/interactive/components/countdown-timer.d.ts.map +1 -0
  433. package/node_modules/@earendil-works/pi-coding-agent/dist/modes/interactive/components/countdown-timer.js.map +1 -0
  434. package/node_modules/@earendil-works/pi-coding-agent/dist/modes/interactive/components/custom-editor.d.ts +21 -0
  435. package/node_modules/@earendil-works/pi-coding-agent/dist/modes/interactive/components/custom-editor.d.ts.map +1 -0
  436. package/node_modules/@earendil-works/pi-coding-agent/dist/modes/interactive/components/custom-editor.js +70 -0
  437. package/node_modules/@earendil-works/pi-coding-agent/dist/modes/interactive/components/custom-editor.js.map +1 -0
  438. package/node_modules/@earendil-works/pi-coding-agent/dist/modes/interactive/components/custom-message.d.ts +20 -0
  439. package/node_modules/@earendil-works/pi-coding-agent/dist/modes/interactive/components/custom-message.d.ts.map +1 -0
  440. package/node_modules/@earendil-works/pi-coding-agent/dist/modes/interactive/components/custom-message.js +79 -0
  441. package/node_modules/@earendil-works/pi-coding-agent/dist/modes/interactive/components/custom-message.js.map +1 -0
  442. package/node_modules/@earendil-works/pi-coding-agent/dist/modes/interactive/components/daxnuts.d.ts +23 -0
  443. package/node_modules/@earendil-works/pi-coding-agent/dist/modes/interactive/components/daxnuts.d.ts.map +1 -0
  444. package/node_modules/@earendil-works/pi-coding-agent/dist/modes/interactive/components/daxnuts.js.map +1 -0
  445. package/node_modules/@earendil-works/pi-coding-agent/dist/modes/interactive/components/dynamic-border.d.ts +15 -0
  446. package/node_modules/@earendil-works/pi-coding-agent/dist/modes/interactive/components/dynamic-border.d.ts.map +1 -0
  447. package/node_modules/@earendil-works/pi-coding-agent/dist/modes/interactive/components/dynamic-border.js.map +1 -0
  448. package/node_modules/@earendil-works/pi-coding-agent/dist/modes/interactive/components/earendil-announcement.d.ts +5 -0
  449. package/node_modules/@earendil-works/pi-coding-agent/dist/modes/interactive/components/earendil-announcement.d.ts.map +1 -0
  450. package/node_modules/@earendil-works/pi-coding-agent/dist/modes/interactive/components/earendil-announcement.js +40 -0
  451. package/node_modules/@earendil-works/pi-coding-agent/dist/modes/interactive/components/earendil-announcement.js.map +1 -0
  452. package/node_modules/@earendil-works/pi-coding-agent/dist/modes/interactive/components/extension-editor.d.ts +20 -0
  453. package/node_modules/@earendil-works/pi-coding-agent/dist/modes/interactive/components/extension-editor.d.ts.map +1 -0
  454. package/node_modules/@earendil-works/pi-coding-agent/dist/modes/interactive/components/extension-editor.js +111 -0
  455. package/node_modules/@earendil-works/pi-coding-agent/dist/modes/interactive/components/extension-editor.js.map +1 -0
  456. package/node_modules/@earendil-works/pi-coding-agent/dist/modes/interactive/components/extension-input.d.ts +23 -0
  457. package/node_modules/@earendil-works/pi-coding-agent/dist/modes/interactive/components/extension-input.d.ts.map +1 -0
  458. package/node_modules/@earendil-works/pi-coding-agent/dist/modes/interactive/components/extension-input.js +61 -0
  459. package/node_modules/@earendil-works/pi-coding-agent/dist/modes/interactive/components/extension-input.js.map +1 -0
  460. package/node_modules/@earendil-works/pi-coding-agent/dist/modes/interactive/components/extension-selector.d.ts +26 -0
  461. package/node_modules/@earendil-works/pi-coding-agent/dist/modes/interactive/components/extension-selector.d.ts.map +1 -0
  462. package/node_modules/@earendil-works/pi-coding-agent/dist/modes/interactive/components/extension-selector.js +83 -0
  463. package/node_modules/@earendil-works/pi-coding-agent/dist/modes/interactive/components/extension-selector.js.map +1 -0
  464. package/node_modules/@earendil-works/pi-coding-agent/dist/modes/interactive/components/footer.d.ts +27 -0
  465. package/node_modules/@earendil-works/pi-coding-agent/dist/modes/interactive/components/footer.d.ts.map +1 -0
  466. package/node_modules/@earendil-works/pi-coding-agent/dist/modes/interactive/components/footer.js +201 -0
  467. package/node_modules/@earendil-works/pi-coding-agent/dist/modes/interactive/components/footer.js.map +1 -0
  468. package/node_modules/@earendil-works/pi-coding-agent/dist/modes/interactive/components/keybinding-hints.d.ts +13 -0
  469. package/node_modules/@earendil-works/pi-coding-agent/dist/modes/interactive/components/keybinding-hints.d.ts.map +1 -0
  470. package/node_modules/@earendil-works/pi-coding-agent/dist/modes/interactive/components/keybinding-hints.js +36 -0
  471. package/node_modules/@earendil-works/pi-coding-agent/dist/modes/interactive/components/keybinding-hints.js.map +1 -0
  472. package/node_modules/@earendil-works/pi-coding-agent/dist/modes/interactive/components/login-dialog.d.ts +46 -0
  473. package/node_modules/@earendil-works/pi-coding-agent/dist/modes/interactive/components/login-dialog.d.ts.map +1 -0
  474. package/node_modules/@earendil-works/pi-coding-agent/dist/modes/interactive/components/login-dialog.js +160 -0
  475. package/node_modules/@earendil-works/pi-coding-agent/dist/modes/interactive/components/login-dialog.js.map +1 -0
  476. package/node_modules/@earendil-works/pi-coding-agent/dist/modes/interactive/components/model-selector.d.ts +47 -0
  477. package/node_modules/@earendil-works/pi-coding-agent/dist/modes/interactive/components/model-selector.d.ts.map +1 -0
  478. package/node_modules/@earendil-works/pi-coding-agent/dist/modes/interactive/components/model-selector.js +278 -0
  479. package/node_modules/@earendil-works/pi-coding-agent/dist/modes/interactive/components/model-selector.js.map +1 -0
  480. package/node_modules/@earendil-works/pi-coding-agent/dist/modes/interactive/components/oauth-selector.d.ts +31 -0
  481. package/node_modules/@earendil-works/pi-coding-agent/dist/modes/interactive/components/oauth-selector.d.ts.map +1 -0
  482. package/node_modules/@earendil-works/pi-coding-agent/dist/modes/interactive/components/oauth-selector.js +165 -0
  483. package/node_modules/@earendil-works/pi-coding-agent/dist/modes/interactive/components/oauth-selector.js.map +1 -0
  484. package/node_modules/@earendil-works/pi-coding-agent/dist/modes/interactive/components/scoped-models-selector.d.ts +42 -0
  485. package/node_modules/@earendil-works/pi-coding-agent/dist/modes/interactive/components/scoped-models-selector.d.ts.map +1 -0
  486. package/node_modules/@earendil-works/pi-coding-agent/dist/modes/interactive/components/scoped-models-selector.js +290 -0
  487. package/node_modules/@earendil-works/pi-coding-agent/dist/modes/interactive/components/scoped-models-selector.js.map +1 -0
  488. package/node_modules/@earendil-works/pi-coding-agent/dist/modes/interactive/components/session-selector-search.d.ts.map +1 -0
  489. package/node_modules/@earendil-works/pi-coding-agent/dist/modes/interactive/components/session-selector-search.js +155 -0
  490. package/node_modules/@earendil-works/pi-coding-agent/dist/modes/interactive/components/session-selector-search.js.map +1 -0
  491. package/node_modules/@earendil-works/pi-coding-agent/dist/modes/interactive/components/session-selector.d.ts +96 -0
  492. package/node_modules/@earendil-works/pi-coding-agent/dist/modes/interactive/components/session-selector.d.ts.map +1 -0
  493. package/node_modules/@earendil-works/pi-coding-agent/dist/modes/interactive/components/session-selector.js +861 -0
  494. package/node_modules/@earendil-works/pi-coding-agent/dist/modes/interactive/components/session-selector.js.map +1 -0
  495. package/node_modules/@earendil-works/pi-coding-agent/dist/modes/interactive/components/settings-selector.d.ts +67 -0
  496. package/node_modules/@earendil-works/pi-coding-agent/dist/modes/interactive/components/settings-selector.d.ts.map +1 -0
  497. package/node_modules/@earendil-works/pi-coding-agent/dist/modes/interactive/components/settings-selector.js +375 -0
  498. package/node_modules/@earendil-works/pi-coding-agent/dist/modes/interactive/components/settings-selector.js.map +1 -0
  499. package/node_modules/@earendil-works/pi-coding-agent/dist/modes/interactive/components/show-images-selector.d.ts +10 -0
  500. package/node_modules/@earendil-works/pi-coding-agent/dist/modes/interactive/components/show-images-selector.d.ts.map +1 -0
  501. package/node_modules/@earendil-works/pi-coding-agent/dist/modes/interactive/components/show-images-selector.js +39 -0
  502. package/node_modules/@earendil-works/pi-coding-agent/dist/modes/interactive/components/show-images-selector.js.map +1 -0
  503. package/node_modules/@earendil-works/pi-coding-agent/dist/modes/interactive/components/skill-invocation-message.d.ts +17 -0
  504. package/node_modules/@earendil-works/pi-coding-agent/dist/modes/interactive/components/skill-invocation-message.d.ts.map +1 -0
  505. package/node_modules/@earendil-works/pi-coding-agent/dist/modes/interactive/components/skill-invocation-message.js +47 -0
  506. package/node_modules/@earendil-works/pi-coding-agent/dist/modes/interactive/components/skill-invocation-message.js.map +1 -0
  507. package/node_modules/@earendil-works/pi-coding-agent/dist/modes/interactive/components/theme-selector.d.ts +11 -0
  508. package/node_modules/@earendil-works/pi-coding-agent/dist/modes/interactive/components/theme-selector.d.ts.map +1 -0
  509. package/node_modules/@earendil-works/pi-coding-agent/dist/modes/interactive/components/theme-selector.js +50 -0
  510. package/node_modules/@earendil-works/pi-coding-agent/dist/modes/interactive/components/theme-selector.js.map +1 -0
  511. package/node_modules/@earendil-works/pi-coding-agent/dist/modes/interactive/components/thinking-selector.d.ts +11 -0
  512. package/node_modules/@earendil-works/pi-coding-agent/dist/modes/interactive/components/thinking-selector.d.ts.map +1 -0
  513. package/node_modules/@earendil-works/pi-coding-agent/dist/modes/interactive/components/thinking-selector.js +51 -0
  514. package/node_modules/@earendil-works/pi-coding-agent/dist/modes/interactive/components/thinking-selector.js.map +1 -0
  515. package/node_modules/@earendil-works/pi-coding-agent/dist/modes/interactive/components/tool-execution.d.ts +63 -0
  516. package/node_modules/@earendil-works/pi-coding-agent/dist/modes/interactive/components/tool-execution.d.ts.map +1 -0
  517. package/node_modules/@earendil-works/pi-coding-agent/dist/modes/interactive/components/tool-execution.js +295 -0
  518. package/node_modules/@earendil-works/pi-coding-agent/dist/modes/interactive/components/tool-execution.js.map +1 -0
  519. package/node_modules/@earendil-works/pi-coding-agent/dist/modes/interactive/components/tree-selector.d.ts +89 -0
  520. package/node_modules/@earendil-works/pi-coding-agent/dist/modes/interactive/components/tree-selector.d.ts.map +1 -0
  521. package/node_modules/@earendil-works/pi-coding-agent/dist/modes/interactive/components/tree-selector.js +1093 -0
  522. package/node_modules/@earendil-works/pi-coding-agent/dist/modes/interactive/components/tree-selector.js.map +1 -0
  523. package/node_modules/@earendil-works/pi-coding-agent/dist/modes/interactive/components/user-message-selector.d.ts +30 -0
  524. package/node_modules/@earendil-works/pi-coding-agent/dist/modes/interactive/components/user-message-selector.d.ts.map +1 -0
  525. package/node_modules/@earendil-works/pi-coding-agent/dist/modes/interactive/components/user-message-selector.js +114 -0
  526. package/node_modules/@earendil-works/pi-coding-agent/dist/modes/interactive/components/user-message-selector.js.map +1 -0
  527. package/node_modules/@earendil-works/pi-coding-agent/dist/modes/interactive/components/user-message.d.ts +10 -0
  528. package/node_modules/@earendil-works/pi-coding-agent/dist/modes/interactive/components/user-message.d.ts.map +1 -0
  529. package/node_modules/@earendil-works/pi-coding-agent/dist/modes/interactive/components/user-message.js +29 -0
  530. package/node_modules/@earendil-works/pi-coding-agent/dist/modes/interactive/components/user-message.js.map +1 -0
  531. package/node_modules/@earendil-works/pi-coding-agent/dist/modes/interactive/components/visual-truncate.d.ts.map +1 -0
  532. package/node_modules/@earendil-works/pi-coding-agent/dist/modes/interactive/components/visual-truncate.js +33 -0
  533. package/node_modules/@earendil-works/pi-coding-agent/dist/modes/interactive/components/visual-truncate.js.map +1 -0
  534. package/node_modules/@earendil-works/pi-coding-agent/dist/modes/interactive/interactive-mode.d.ts +382 -0
  535. package/node_modules/@earendil-works/pi-coding-agent/dist/modes/interactive/interactive-mode.d.ts.map +1 -0
  536. package/node_modules/@earendil-works/pi-coding-agent/dist/modes/interactive/interactive-mode.js +4668 -0
  537. package/node_modules/@earendil-works/pi-coding-agent/dist/modes/interactive/interactive-mode.js.map +1 -0
  538. package/node_modules/@earendil-works/pi-coding-agent/dist/modes/interactive/theme/dark.json +85 -0
  539. package/node_modules/@earendil-works/pi-coding-agent/dist/modes/interactive/theme/light.json +84 -0
  540. package/node_modules/@earendil-works/pi-coding-agent/dist/modes/interactive/theme/theme.d.ts +81 -0
  541. package/node_modules/@earendil-works/pi-coding-agent/dist/modes/interactive/theme/theme.d.ts.map +1 -0
  542. package/node_modules/@earendil-works/pi-coding-agent/dist/modes/interactive/theme/theme.js +973 -0
  543. package/node_modules/@earendil-works/pi-coding-agent/dist/modes/interactive/theme/theme.js.map +1 -0
  544. package/node_modules/@earendil-works/pi-coding-agent/dist/modes/print-mode.d.ts +28 -0
  545. package/node_modules/@earendil-works/pi-coding-agent/dist/modes/print-mode.d.ts.map +1 -0
  546. package/node_modules/@earendil-works/pi-coding-agent/dist/modes/print-mode.js.map +1 -0
  547. package/node_modules/@earendil-works/pi-coding-agent/dist/modes/rpc/rpc-client.d.ts +224 -0
  548. package/node_modules/@earendil-works/pi-coding-agent/dist/modes/rpc/rpc-client.d.ts.map +1 -0
  549. package/node_modules/@earendil-works/pi-coding-agent/dist/modes/rpc/rpc-client.js.map +1 -0
  550. package/node_modules/@earendil-works/pi-coding-agent/dist/modes/rpc/rpc-mode.d.ts.map +1 -0
  551. package/node_modules/@earendil-works/pi-coding-agent/dist/modes/rpc/rpc-mode.js +605 -0
  552. package/node_modules/@earendil-works/pi-coding-agent/dist/modes/rpc/rpc-mode.js.map +1 -0
  553. package/node_modules/@earendil-works/pi-coding-agent/dist/modes/rpc/rpc-types.d.ts +419 -0
  554. package/node_modules/@earendil-works/pi-coding-agent/dist/modes/rpc/rpc-types.d.ts.map +1 -0
  555. package/node_modules/@earendil-works/pi-coding-agent/dist/modes/rpc/rpc-types.js.map +1 -0
  556. package/node_modules/@earendil-works/pi-coding-agent/dist/utils/ansi.d.ts +2 -0
  557. package/node_modules/@earendil-works/pi-coding-agent/dist/utils/ansi.d.ts.map +1 -0
  558. package/node_modules/@earendil-works/pi-coding-agent/dist/utils/ansi.js +52 -0
  559. package/node_modules/@earendil-works/pi-coding-agent/dist/utils/ansi.js.map +1 -0
  560. package/node_modules/@earendil-works/pi-coding-agent/dist/utils/html.d.ts +7 -0
  561. package/node_modules/@earendil-works/pi-coding-agent/dist/utils/html.d.ts.map +1 -0
  562. package/node_modules/@earendil-works/pi-coding-agent/dist/utils/html.js +40 -0
  563. package/node_modules/@earendil-works/pi-coding-agent/dist/utils/html.js.map +1 -0
  564. package/node_modules/@earendil-works/pi-coding-agent/dist/utils/image-resize.d.ts +36 -0
  565. package/node_modules/@earendil-works/pi-coding-agent/dist/utils/image-resize.d.ts.map +1 -0
  566. package/node_modules/@earendil-works/pi-coding-agent/dist/utils/image-resize.js.map +1 -0
  567. package/node_modules/@earendil-works/pi-coding-agent/dist/utils/mime.d.ts +3 -0
  568. package/node_modules/@earendil-works/pi-coding-agent/dist/utils/mime.d.ts.map +1 -0
  569. package/node_modules/@earendil-works/pi-coding-agent/dist/utils/mime.js +69 -0
  570. package/node_modules/@earendil-works/pi-coding-agent/dist/utils/mime.js.map +1 -0
  571. package/node_modules/@earendil-works/pi-coding-agent/dist/utils/syntax-highlight.d.ts +12 -0
  572. package/node_modules/@earendil-works/pi-coding-agent/dist/utils/syntax-highlight.d.ts.map +1 -0
  573. package/node_modules/@earendil-works/pi-coding-agent/dist/utils/syntax-highlight.js +118 -0
  574. package/node_modules/@earendil-works/pi-coding-agent/dist/utils/syntax-highlight.js.map +1 -0
  575. package/node_modules/@earendil-works/pi-coding-agent/dist/utils/tools-manager.d.ts.map +1 -0
  576. package/node_modules/@earendil-works/pi-coding-agent/dist/utils/tools-manager.js +328 -0
  577. package/node_modules/@earendil-works/pi-coding-agent/dist/utils/tools-manager.js.map +1 -0
  578. package/node_modules/@earendil-works/pi-coding-agent/docs/compaction.md +394 -0
  579. package/node_modules/@earendil-works/pi-coding-agent/docs/custom-provider.md +701 -0
  580. package/node_modules/@earendil-works/pi-coding-agent/docs/extensions.md +2596 -0
  581. package/node_modules/@earendil-works/pi-coding-agent/docs/index.md +70 -0
  582. package/node_modules/@earendil-works/pi-coding-agent/docs/models.md +474 -0
  583. package/node_modules/@earendil-works/pi-coding-agent/docs/packages.md +223 -0
  584. package/node_modules/@earendil-works/pi-coding-agent/docs/providers.md +243 -0
  585. package/node_modules/@earendil-works/pi-coding-agent/docs/quickstart.md +142 -0
  586. package/node_modules/@earendil-works/pi-coding-agent/docs/rpc.md +1407 -0
  587. package/node_modules/@earendil-works/pi-coding-agent/docs/sdk.md +1129 -0
  588. package/node_modules/@earendil-works/pi-coding-agent/docs/session-format.md +412 -0
  589. package/node_modules/@earendil-works/pi-coding-agent/docs/skills.md +231 -0
  590. package/node_modules/@earendil-works/pi-coding-agent/docs/termux.md +127 -0
  591. package/node_modules/@earendil-works/pi-coding-agent/docs/themes.md +295 -0
  592. package/node_modules/@earendil-works/pi-coding-agent/docs/tui.md +918 -0
  593. package/node_modules/@earendil-works/pi-coding-agent/examples/extensions/README.md +208 -0
  594. package/node_modules/@earendil-works/pi-coding-agent/examples/extensions/auto-commit-on-exit.ts +49 -0
  595. package/node_modules/@earendil-works/pi-coding-agent/examples/extensions/bash-spawn-hook.ts +30 -0
  596. package/node_modules/@earendil-works/pi-coding-agent/examples/extensions/bookmark.ts +50 -0
  597. package/node_modules/@earendil-works/pi-coding-agent/examples/extensions/border-status-editor.ts +150 -0
  598. package/node_modules/@earendil-works/pi-coding-agent/examples/extensions/built-in-tool-renderer.ts +249 -0
  599. package/node_modules/@earendil-works/pi-coding-agent/examples/extensions/claude-rules.ts +86 -0
  600. package/node_modules/@earendil-works/pi-coding-agent/examples/extensions/commands.ts +72 -0
  601. package/node_modules/@earendil-works/pi-coding-agent/examples/extensions/confirm-destructive.ts +59 -0
  602. package/node_modules/@earendil-works/pi-coding-agent/examples/extensions/custom-compaction.ts +127 -0
  603. package/node_modules/@earendil-works/pi-coding-agent/examples/extensions/custom-footer.ts +64 -0
  604. package/node_modules/@earendil-works/pi-coding-agent/examples/extensions/custom-header.ts +73 -0
  605. package/node_modules/@earendil-works/pi-coding-agent/examples/extensions/custom-provider-anthropic/index.ts +604 -0
  606. package/node_modules/@earendil-works/pi-coding-agent/examples/extensions/custom-provider-anthropic/package-lock.json +24 -0
  607. package/node_modules/@earendil-works/pi-coding-agent/examples/extensions/custom-provider-anthropic/package.json +19 -0
  608. package/node_modules/@earendil-works/pi-coding-agent/examples/extensions/custom-provider-gitlab-duo/index.ts +349 -0
  609. package/node_modules/@earendil-works/pi-coding-agent/examples/extensions/custom-provider-gitlab-duo/package.json +16 -0
  610. package/node_modules/@earendil-works/pi-coding-agent/examples/extensions/custom-provider-gitlab-duo/test.ts +82 -0
  611. package/node_modules/@earendil-works/pi-coding-agent/examples/extensions/dirty-repo-guard.ts +56 -0
  612. package/node_modules/@earendil-works/pi-coding-agent/examples/extensions/doom-overlay/doom-component.ts +132 -0
  613. package/node_modules/@earendil-works/pi-coding-agent/examples/extensions/doom-overlay/doom-keys.ts +104 -0
  614. package/node_modules/@earendil-works/pi-coding-agent/examples/extensions/doom-overlay/index.ts +74 -0
  615. package/node_modules/@earendil-works/pi-coding-agent/examples/extensions/dynamic-resources/dynamic.json +79 -0
  616. package/node_modules/@earendil-works/pi-coding-agent/examples/extensions/dynamic-resources/index.ts +15 -0
  617. package/node_modules/@earendil-works/pi-coding-agent/examples/extensions/dynamic-tools.ts +74 -0
  618. package/node_modules/@earendil-works/pi-coding-agent/examples/extensions/event-bus.ts +43 -0
  619. package/node_modules/@earendil-works/pi-coding-agent/examples/extensions/file-trigger.ts +41 -0
  620. package/node_modules/@earendil-works/pi-coding-agent/examples/extensions/git-checkpoint.ts +53 -0
  621. package/node_modules/@earendil-works/pi-coding-agent/examples/extensions/github-issue-autocomplete.ts +185 -0
  622. package/node_modules/@earendil-works/pi-coding-agent/examples/extensions/handoff.ts +191 -0
  623. package/node_modules/@earendil-works/pi-coding-agent/examples/extensions/hello.ts +26 -0
  624. package/node_modules/@earendil-works/pi-coding-agent/examples/extensions/hidden-thinking-label.ts +53 -0
  625. package/node_modules/@earendil-works/pi-coding-agent/examples/extensions/inline-bash.ts +94 -0
  626. package/node_modules/@earendil-works/pi-coding-agent/examples/extensions/input-transform.ts +43 -0
  627. package/node_modules/@earendil-works/pi-coding-agent/examples/extensions/interactive-shell.ts +196 -0
  628. package/node_modules/@earendil-works/pi-coding-agent/examples/extensions/mac-system-theme.ts +47 -0
  629. package/node_modules/@earendil-works/pi-coding-agent/examples/extensions/message-renderer.ts +59 -0
  630. package/node_modules/@earendil-works/pi-coding-agent/examples/extensions/minimal-mode.ts +426 -0
  631. package/node_modules/@earendil-works/pi-coding-agent/examples/extensions/modal-editor.ts +85 -0
  632. package/node_modules/@earendil-works/pi-coding-agent/examples/extensions/model-status.ts +31 -0
  633. package/node_modules/@earendil-works/pi-coding-agent/examples/extensions/notify.ts +55 -0
  634. package/node_modules/@earendil-works/pi-coding-agent/examples/extensions/overlay-qa-tests.ts +1348 -0
  635. package/node_modules/@earendil-works/pi-coding-agent/examples/extensions/overlay-test.ts +150 -0
  636. package/node_modules/@earendil-works/pi-coding-agent/examples/extensions/permission-gate.ts +34 -0
  637. package/node_modules/@earendil-works/pi-coding-agent/examples/extensions/pirate.ts +47 -0
  638. package/node_modules/@earendil-works/pi-coding-agent/examples/extensions/plan-mode/index.ts +340 -0
  639. package/node_modules/@earendil-works/pi-coding-agent/examples/extensions/preset.ts +430 -0
  640. package/node_modules/@earendil-works/pi-coding-agent/examples/extensions/prompt-customizer.ts +97 -0
  641. package/node_modules/@earendil-works/pi-coding-agent/examples/extensions/protected-paths.ts +30 -0
  642. package/node_modules/@earendil-works/pi-coding-agent/examples/extensions/provider-payload.ts +18 -0
  643. package/node_modules/@earendil-works/pi-coding-agent/examples/extensions/qna.ts +122 -0
  644. package/node_modules/@earendil-works/pi-coding-agent/examples/extensions/question.ts +264 -0
  645. package/node_modules/@earendil-works/pi-coding-agent/examples/extensions/questionnaire.ts +427 -0
  646. package/node_modules/@earendil-works/pi-coding-agent/examples/extensions/rainbow-editor.ts +88 -0
  647. package/node_modules/@earendil-works/pi-coding-agent/examples/extensions/reload-runtime.ts +37 -0
  648. package/node_modules/@earendil-works/pi-coding-agent/examples/extensions/rpc-demo.ts +118 -0
  649. package/node_modules/@earendil-works/pi-coding-agent/examples/extensions/sandbox/index.ts +321 -0
  650. package/node_modules/@earendil-works/pi-coding-agent/examples/extensions/sandbox/package-lock.json +92 -0
  651. package/node_modules/@earendil-works/pi-coding-agent/examples/extensions/sandbox/package.json +19 -0
  652. package/node_modules/@earendil-works/pi-coding-agent/examples/extensions/send-user-message.ts +97 -0
  653. package/node_modules/@earendil-works/pi-coding-agent/examples/extensions/session-name.ts +27 -0
  654. package/node_modules/@earendil-works/pi-coding-agent/examples/extensions/shutdown-command.ts +63 -0
  655. package/node_modules/@earendil-works/pi-coding-agent/examples/extensions/snake.ts +343 -0
  656. package/node_modules/@earendil-works/pi-coding-agent/examples/extensions/space-invaders.ts +560 -0
  657. package/node_modules/@earendil-works/pi-coding-agent/examples/extensions/ssh.ts +220 -0
  658. package/node_modules/@earendil-works/pi-coding-agent/examples/extensions/status-line.ts +32 -0
  659. package/node_modules/@earendil-works/pi-coding-agent/examples/extensions/structured-output.ts +65 -0
  660. package/node_modules/@earendil-works/pi-coding-agent/examples/extensions/subagent/agents.ts +126 -0
  661. package/node_modules/@earendil-works/pi-coding-agent/examples/extensions/subagent/index.ts +987 -0
  662. package/node_modules/@earendil-works/pi-coding-agent/examples/extensions/summarize.ts +206 -0
  663. package/node_modules/@earendil-works/pi-coding-agent/examples/extensions/system-prompt-header.ts +17 -0
  664. package/node_modules/@earendil-works/pi-coding-agent/examples/extensions/tic-tac-toe.ts +1008 -0
  665. package/node_modules/@earendil-works/pi-coding-agent/examples/extensions/timed-confirm.ts +70 -0
  666. package/node_modules/@earendil-works/pi-coding-agent/examples/extensions/titlebar-spinner.ts +58 -0
  667. package/node_modules/@earendil-works/pi-coding-agent/examples/extensions/todo.ts +297 -0
  668. package/node_modules/@earendil-works/pi-coding-agent/examples/extensions/tool-override.ts +144 -0
  669. package/node_modules/@earendil-works/pi-coding-agent/examples/extensions/tools.ts +141 -0
  670. package/node_modules/@earendil-works/pi-coding-agent/examples/extensions/trigger-compact.ts +50 -0
  671. package/node_modules/@earendil-works/pi-coding-agent/examples/extensions/truncated-tool.ts +195 -0
  672. package/node_modules/@earendil-works/pi-coding-agent/examples/extensions/widget-placement.ts +9 -0
  673. package/node_modules/@earendil-works/pi-coding-agent/examples/extensions/with-deps/index.ts +32 -0
  674. package/node_modules/@earendil-works/pi-coding-agent/examples/extensions/with-deps/package-lock.json +31 -0
  675. package/node_modules/@earendil-works/pi-coding-agent/examples/extensions/with-deps/package.json +22 -0
  676. package/node_modules/@earendil-works/pi-coding-agent/examples/extensions/working-indicator.ts +123 -0
  677. package/node_modules/@earendil-works/pi-coding-agent/examples/extensions/working-message-test.ts +25 -0
  678. package/node_modules/@earendil-works/pi-coding-agent/examples/rpc-extension-ui.ts +632 -0
  679. package/node_modules/@earendil-works/pi-coding-agent/examples/sdk/01-minimal.ts +26 -0
  680. package/node_modules/@earendil-works/pi-coding-agent/examples/sdk/02-custom-model.ts +53 -0
  681. package/node_modules/@earendil-works/pi-coding-agent/examples/sdk/03-custom-prompt.ts +75 -0
  682. package/node_modules/@earendil-works/pi-coding-agent/examples/sdk/04-skills.ts +55 -0
  683. package/node_modules/@earendil-works/pi-coding-agent/examples/sdk/05-tools.ts +48 -0
  684. package/node_modules/@earendil-works/pi-coding-agent/examples/sdk/06-extensions.ts +99 -0
  685. package/node_modules/@earendil-works/pi-coding-agent/examples/sdk/07-context-files.ts +47 -0
  686. package/node_modules/@earendil-works/pi-coding-agent/examples/sdk/08-prompt-templates.ts +51 -0
  687. package/node_modules/@earendil-works/pi-coding-agent/examples/sdk/09-api-keys-and-oauth.ts +52 -0
  688. package/node_modules/@earendil-works/pi-coding-agent/examples/sdk/10-settings.ts +53 -0
  689. package/node_modules/@earendil-works/pi-coding-agent/examples/sdk/11-sessions.ts +52 -0
  690. package/node_modules/@earendil-works/pi-coding-agent/examples/sdk/12-full-control.ts +77 -0
  691. package/node_modules/@earendil-works/pi-coding-agent/examples/sdk/13-session-runtime.ts +67 -0
  692. package/node_modules/@earendil-works/pi-coding-agent/examples/sdk/README.md +144 -0
  693. package/node_modules/@earendil-works/pi-coding-agent/package.json +95 -0
  694. package/node_modules/@earendil-works/pi-tui/README.md +779 -0
  695. package/node_modules/@earendil-works/pi-tui/dist/components/image.d.ts.map +1 -0
  696. package/node_modules/@earendil-works/pi-tui/dist/components/image.js +89 -0
  697. package/node_modules/@earendil-works/pi-tui/dist/components/image.js.map +1 -0
  698. package/node_modules/@earendil-works/pi-tui/dist/components/markdown.d.ts +90 -0
  699. package/node_modules/@earendil-works/pi-tui/dist/components/markdown.d.ts.map +1 -0
  700. package/node_modules/@earendil-works/pi-tui/dist/components/markdown.js +634 -0
  701. package/node_modules/@earendil-works/pi-tui/dist/components/markdown.js.map +1 -0
  702. package/node_modules/@earendil-works/pi-tui/dist/stdin-buffer.d.ts.map +1 -0
  703. package/node_modules/@earendil-works/pi-tui/dist/stdin-buffer.js +361 -0
  704. package/node_modules/@earendil-works/pi-tui/dist/stdin-buffer.js.map +1 -0
  705. package/node_modules/@earendil-works/pi-tui/dist/terminal-image.d.ts +90 -0
  706. package/node_modules/@earendil-works/pi-tui/dist/terminal-image.d.ts.map +1 -0
  707. package/node_modules/@earendil-works/pi-tui/dist/terminal-image.js +337 -0
  708. package/node_modules/@earendil-works/pi-tui/dist/terminal-image.js.map +1 -0
  709. package/node_modules/@earendil-works/pi-tui/package.json +50 -0
  710. package/node_modules/@mariozechner/clipboard/.yarnrc.yml +1 -0
  711. package/node_modules/@mariozechner/clipboard/Cargo.toml +45 -0
  712. package/node_modules/@mariozechner/clipboard/README.md +60 -0
  713. package/node_modules/@mariozechner/clipboard/build.rs +5 -0
  714. package/node_modules/@mariozechner/clipboard/exp.ts +12 -0
  715. package/node_modules/@mariozechner/clipboard/index.d.ts +23 -0
  716. package/node_modules/@mariozechner/clipboard/index.js +317 -0
  717. package/node_modules/@mariozechner/clipboard/package.json +47 -0
  718. package/node_modules/@mariozechner/clipboard/package.json.prepack-backup +56 -0
  719. package/node_modules/@mariozechner/clipboard/src/clipboard_rs/common.rs +307 -0
  720. package/node_modules/@mariozechner/clipboard/src/clipboard_rs/mod.rs +93 -0
  721. package/node_modules/@mariozechner/clipboard/src/clipboard_rs/platform/ios.rs +313 -0
  722. package/node_modules/@mariozechner/clipboard/src/clipboard_rs/platform/macos.rs +471 -0
  723. package/node_modules/@mariozechner/clipboard/src/clipboard_rs/platform/mod.rs +252 -0
  724. package/node_modules/@mariozechner/clipboard/src/clipboard_rs/platform/wayland.rs +431 -0
  725. package/node_modules/@mariozechner/clipboard/src/clipboard_rs/platform/win.rs +712 -0
  726. package/node_modules/@mariozechner/clipboard/src/clipboard_rs/platform/x11.rs +916 -0
  727. package/node_modules/@mariozechner/clipboard/src/lib.rs +199 -0
  728. package/node_modules/@mariozechner/clipboard-linux-x64-gnu/README.md +3 -0
  729. package/node_modules/@mariozechner/clipboard-linux-x64-gnu/clipboard.linux-x64-gnu.node +0 -0
  730. package/node_modules/@mariozechner/clipboard-linux-x64-gnu/package.json +25 -0
  731. package/node_modules/koffi/CHANGELOG.md +1093 -0
  732. package/node_modules/koffi/LICENSE.txt +22 -0
  733. package/node_modules/koffi/README.md +43 -0
  734. package/node_modules/koffi/build/koffi/darwin_arm64/koffi.node +0 -0
  735. package/node_modules/koffi/build/koffi/darwin_x64/koffi.node +0 -0
  736. package/node_modules/koffi/build/koffi/freebsd_arm64/koffi.node +0 -0
  737. package/node_modules/koffi/build/koffi/freebsd_ia32/koffi.node +0 -0
  738. package/node_modules/koffi/build/koffi/freebsd_x64/koffi.node +0 -0
  739. package/node_modules/koffi/build/koffi/linux_arm64/koffi.node +0 -0
  740. package/node_modules/koffi/build/koffi/linux_armhf/koffi.node +0 -0
  741. package/node_modules/koffi/build/koffi/linux_ia32/koffi.node +0 -0
  742. package/node_modules/koffi/build/koffi/linux_loong64/koffi.node +0 -0
  743. package/node_modules/koffi/build/koffi/linux_riscv64d/koffi.node +0 -0
  744. package/node_modules/koffi/build/koffi/linux_x64/koffi.node +0 -0
  745. package/node_modules/koffi/build/koffi/musl_arm64/koffi.node +0 -0
  746. package/node_modules/koffi/build/koffi/musl_x64/koffi.node +0 -0
  747. package/node_modules/koffi/build/koffi/openbsd_ia32/koffi.node +0 -0
  748. package/node_modules/koffi/build/koffi/openbsd_x64/koffi.node +0 -0
  749. package/node_modules/koffi/build/koffi/win32_arm64/koffi.exp +0 -0
  750. package/node_modules/koffi/build/koffi/win32_arm64/koffi.lib +0 -0
  751. package/node_modules/koffi/build/koffi/win32_arm64/koffi.node +0 -0
  752. package/node_modules/koffi/build/koffi/win32_ia32/koffi.exp +0 -0
  753. package/node_modules/koffi/build/koffi/win32_ia32/koffi.lib +0 -0
  754. package/node_modules/koffi/build/koffi/win32_ia32/koffi.node +0 -0
  755. package/node_modules/koffi/build/koffi/win32_x64/koffi.exp +0 -0
  756. package/node_modules/koffi/build/koffi/win32_x64/koffi.lib +0 -0
  757. package/node_modules/koffi/build/koffi/win32_x64/koffi.node +0 -0
  758. package/node_modules/koffi/doc/benchmarks.md +126 -0
  759. package/node_modules/koffi/doc/callbacks.md +210 -0
  760. package/node_modules/koffi/doc/contribute.md +148 -0
  761. package/node_modules/koffi/doc/functions.md +250 -0
  762. package/node_modules/koffi/doc/index.md +61 -0
  763. package/node_modules/koffi/doc/input.md +471 -0
  764. package/node_modules/koffi/doc/migration.md +159 -0
  765. package/node_modules/koffi/doc/misc.md +180 -0
  766. package/node_modules/koffi/doc/output.md +305 -0
  767. package/node_modules/koffi/doc/packaging.md +88 -0
  768. package/node_modules/koffi/doc/platforms.md +36 -0
  769. package/node_modules/koffi/doc/pointers.md +328 -0
  770. package/node_modules/koffi/doc/start.md +118 -0
  771. package/node_modules/koffi/doc/unions.md +186 -0
  772. package/node_modules/koffi/doc/variables.md +102 -0
  773. package/node_modules/koffi/index.d.ts +288 -0
  774. package/node_modules/koffi/index.js +634 -0
  775. package/node_modules/koffi/indirect.js +533 -0
  776. package/node_modules/koffi/lib/native/base/base.cc +11015 -0
  777. package/node_modules/koffi/lib/native/base/base.hh +6003 -0
  778. package/node_modules/koffi/lib/native/base/crc.inc +2214 -0
  779. package/node_modules/koffi/lib/native/base/crc_gen.py +72 -0
  780. package/node_modules/koffi/lib/native/base/mimetypes.inc +1248 -0
  781. package/node_modules/koffi/lib/native/base/mimetypes_gen.py +58 -0
  782. package/node_modules/koffi/lib/native/base/tower.cc +821 -0
  783. package/node_modules/koffi/lib/native/base/tower.hh +81 -0
  784. package/node_modules/koffi/lib/native/base/unicode.inc +408 -0
  785. package/node_modules/koffi/lib/native/base/unicode_gen.py +152 -0
  786. package/node_modules/koffi/package.json +38 -0
  787. package/node_modules/koffi/src/cnoke/LICENSE.txt +22 -0
  788. package/node_modules/koffi/src/cnoke/README.md +99 -0
  789. package/node_modules/koffi/src/cnoke/assets/FindCNoke.cmake +127 -0
  790. package/node_modules/koffi/src/cnoke/assets/toolchains.json +126 -0
  791. package/node_modules/koffi/src/cnoke/assets/win_delay_hook.c +36 -0
  792. package/node_modules/koffi/src/cnoke/cnoke.js +170 -0
  793. package/node_modules/koffi/src/cnoke/package.json +24 -0
  794. package/node_modules/koffi/src/cnoke/src/builder.js +511 -0
  795. package/node_modules/koffi/src/cnoke/src/index.js +10 -0
  796. package/node_modules/koffi/src/cnoke/src/tools.js +407 -0
  797. package/node_modules/koffi/src/koffi/CMakeLists.txt +182 -0
  798. package/node_modules/koffi/src/koffi/src/abi_arm32.cc +1018 -0
  799. package/node_modules/koffi/src/koffi/src/abi_arm32_asm.S +169 -0
  800. package/node_modules/koffi/src/koffi/src/abi_arm64.cc +1295 -0
  801. package/node_modules/koffi/src/koffi/src/abi_arm64_asm.S +195 -0
  802. package/node_modules/koffi/src/koffi/src/abi_arm64_asm.asm +174 -0
  803. package/node_modules/koffi/src/koffi/src/abi_loong64.cc +5 -0
  804. package/node_modules/koffi/src/koffi/src/abi_loong64_asm.S +204 -0
  805. package/node_modules/koffi/src/koffi/src/abi_riscv64.cc +915 -0
  806. package/node_modules/koffi/src/koffi/src/abi_riscv64_asm.S +203 -0
  807. package/node_modules/koffi/src/koffi/src/abi_x64_sysv.cc +939 -0
  808. package/node_modules/koffi/src/koffi/src/abi_x64_sysv_asm.S +231 -0
  809. package/node_modules/koffi/src/koffi/src/abi_x64_win.cc +715 -0
  810. package/node_modules/koffi/src/koffi/src/abi_x64_win_asm.S +166 -0
  811. package/node_modules/koffi/src/koffi/src/abi_x64_win_asm.asm +192 -0
  812. package/node_modules/koffi/src/koffi/src/abi_x86.cc +860 -0
  813. package/node_modules/koffi/src/koffi/src/abi_x86_asm.S +193 -0
  814. package/node_modules/koffi/src/koffi/src/abi_x86_asm.asm +177 -0
  815. package/node_modules/koffi/src/koffi/src/call.cc +1326 -0
  816. package/node_modules/koffi/src/koffi/src/call.hh +179 -0
  817. package/node_modules/koffi/src/koffi/src/errno.inc +462 -0
  818. package/node_modules/koffi/src/koffi/src/ffi.cc +2702 -0
  819. package/node_modules/koffi/src/koffi/src/ffi.hh +354 -0
  820. package/node_modules/koffi/src/koffi/src/init.js +105 -0
  821. package/node_modules/koffi/src/koffi/src/parser.cc +220 -0
  822. package/node_modules/koffi/src/koffi/src/parser.hh +54 -0
  823. package/node_modules/koffi/src/koffi/src/util.cc +1807 -0
  824. package/node_modules/koffi/src/koffi/src/util.hh +221 -0
  825. package/node_modules/koffi/src/koffi/src/uv.cc +193 -0
  826. package/node_modules/koffi/src/koffi/src/uv.def +10 -0
  827. package/node_modules/koffi/src/koffi/src/uv.hh +40 -0
  828. package/node_modules/koffi/src/koffi/src/win32.cc +198 -0
  829. package/node_modules/koffi/src/koffi/src/win32.hh +119 -0
  830. package/node_modules/koffi/src/koffi/tools/write_trampolines.js +77 -0
  831. package/node_modules/koffi/vendor/node-addon-api/LICENSE.md +9 -0
  832. package/node_modules/koffi/vendor/node-addon-api/README.md +95 -0
  833. package/node_modules/koffi/vendor/node-addon-api/napi-inl.deprecated.h +186 -0
  834. package/node_modules/koffi/vendor/node-addon-api/napi-inl.h +7033 -0
  835. package/node_modules/koffi/vendor/node-addon-api/napi.h +3309 -0
  836. package/node_modules/koffi/vendor/node-api-headers/LICENSE +21 -0
  837. package/node_modules/koffi/vendor/node-api-headers/README.md +95 -0
  838. package/node_modules/koffi/vendor/node-api-headers/def/js_native_api.def +125 -0
  839. package/node_modules/koffi/vendor/node-api-headers/def/node_api.def +157 -0
  840. package/node_modules/koffi/vendor/node-api-headers/include/js_native_api.h +591 -0
  841. package/node_modules/koffi/vendor/node-api-headers/include/js_native_api_types.h +210 -0
  842. package/node_modules/koffi/vendor/node-api-headers/include/node_api.h +265 -0
  843. package/node_modules/koffi/vendor/node-api-headers/include/node_api_types.h +58 -0
  844. package/node_modules/koffi/vendor/node-api-headers/include/uv/aix.h +32 -0
  845. package/node_modules/koffi/vendor/node-api-headers/include/uv/bsd.h +34 -0
  846. package/node_modules/koffi/vendor/node-api-headers/include/uv/darwin.h +61 -0
  847. package/node_modules/koffi/vendor/node-api-headers/include/uv/errno.h +483 -0
  848. package/node_modules/koffi/vendor/node-api-headers/include/uv/linux.h +34 -0
  849. package/node_modules/koffi/vendor/node-api-headers/include/uv/os390.h +33 -0
  850. package/node_modules/koffi/vendor/node-api-headers/include/uv/posix.h +31 -0
  851. package/node_modules/koffi/vendor/node-api-headers/include/uv/sunos.h +44 -0
  852. package/node_modules/koffi/vendor/node-api-headers/include/uv/threadpool.h +37 -0
  853. package/node_modules/koffi/vendor/node-api-headers/include/uv/tree.h +521 -0
  854. package/node_modules/koffi/vendor/node-api-headers/include/uv/unix.h +512 -0
  855. package/node_modules/koffi/vendor/node-api-headers/include/uv/version.h +43 -0
  856. package/node_modules/koffi/vendor/node-api-headers/include/uv/win.h +698 -0
  857. package/node_modules/koffi/vendor/node-api-headers/include/uv.h +1990 -0
  858. package/package.json +12 -12
  859. package/node_modules/@borewit/text-codec/LICENSE.txt +0 -9
  860. package/node_modules/@borewit/text-codec/README.md +0 -87
  861. package/node_modules/@borewit/text-codec/lib/index.d.ts +0 -6
  862. package/node_modules/@borewit/text-codec/lib/index.js +0 -380
  863. package/node_modules/@borewit/text-codec/package.json +0 -70
  864. package/node_modules/@entelligentsia/pi-agent-core/README.md +0 -488
  865. package/node_modules/@entelligentsia/pi-agent-core/dist/agent-loop.d.ts +0 -24
  866. package/node_modules/@entelligentsia/pi-agent-core/dist/agent-loop.d.ts.map +0 -1
  867. package/node_modules/@entelligentsia/pi-agent-core/dist/agent-loop.js +0 -458
  868. package/node_modules/@entelligentsia/pi-agent-core/dist/agent-loop.js.map +0 -1
  869. package/node_modules/@entelligentsia/pi-agent-core/dist/agent.d.ts +0 -117
  870. package/node_modules/@entelligentsia/pi-agent-core/dist/agent.d.ts.map +0 -1
  871. package/node_modules/@entelligentsia/pi-agent-core/dist/agent.js +0 -398
  872. package/node_modules/@entelligentsia/pi-agent-core/dist/agent.js.map +0 -1
  873. package/node_modules/@entelligentsia/pi-agent-core/dist/index.d.ts +0 -5
  874. package/node_modules/@entelligentsia/pi-agent-core/dist/index.d.ts.map +0 -1
  875. package/node_modules/@entelligentsia/pi-agent-core/dist/index.js +0 -9
  876. package/node_modules/@entelligentsia/pi-agent-core/dist/index.js.map +0 -1
  877. package/node_modules/@entelligentsia/pi-agent-core/dist/proxy.d.ts +0 -69
  878. package/node_modules/@entelligentsia/pi-agent-core/dist/proxy.d.ts.map +0 -1
  879. package/node_modules/@entelligentsia/pi-agent-core/dist/proxy.js +0 -278
  880. package/node_modules/@entelligentsia/pi-agent-core/dist/proxy.js.map +0 -1
  881. package/node_modules/@entelligentsia/pi-agent-core/dist/types.d.ts +0 -369
  882. package/node_modules/@entelligentsia/pi-agent-core/dist/types.d.ts.map +0 -1
  883. package/node_modules/@entelligentsia/pi-agent-core/dist/types.js.map +0 -1
  884. package/node_modules/@entelligentsia/pi-agent-core/package.json +0 -45
  885. package/node_modules/@entelligentsia/pi-ai/README.md +0 -1313
  886. package/node_modules/@entelligentsia/pi-ai/dist/cli.d.ts.map +0 -1
  887. package/node_modules/@entelligentsia/pi-ai/dist/cli.js +0 -116
  888. package/node_modules/@entelligentsia/pi-ai/dist/cli.js.map +0 -1
  889. package/node_modules/@entelligentsia/pi-ai/dist/env-api-keys.d.ts.map +0 -1
  890. package/node_modules/@entelligentsia/pi-ai/dist/env-api-keys.js +0 -169
  891. package/node_modules/@entelligentsia/pi-ai/dist/env-api-keys.js.map +0 -1
  892. package/node_modules/@entelligentsia/pi-ai/dist/index.d.ts +0 -28
  893. package/node_modules/@entelligentsia/pi-ai/dist/index.d.ts.map +0 -1
  894. package/node_modules/@entelligentsia/pi-ai/dist/index.js +0 -16
  895. package/node_modules/@entelligentsia/pi-ai/dist/index.js.map +0 -1
  896. package/node_modules/@entelligentsia/pi-ai/dist/models.generated.d.ts +0 -17265
  897. package/node_modules/@entelligentsia/pi-ai/dist/models.generated.d.ts.map +0 -1
  898. package/node_modules/@entelligentsia/pi-ai/dist/models.generated.js +0 -16500
  899. package/node_modules/@entelligentsia/pi-ai/dist/models.generated.js.map +0 -1
  900. package/node_modules/@entelligentsia/pi-ai/dist/providers/amazon-bedrock.d.ts.map +0 -1
  901. package/node_modules/@entelligentsia/pi-ai/dist/providers/amazon-bedrock.js +0 -759
  902. package/node_modules/@entelligentsia/pi-ai/dist/providers/amazon-bedrock.js.map +0 -1
  903. package/node_modules/@entelligentsia/pi-ai/dist/providers/anthropic.d.ts.map +0 -1
  904. package/node_modules/@entelligentsia/pi-ai/dist/providers/anthropic.js +0 -951
  905. package/node_modules/@entelligentsia/pi-ai/dist/providers/anthropic.js.map +0 -1
  906. package/node_modules/@entelligentsia/pi-ai/dist/providers/openai-codex-responses.d.ts.map +0 -1
  907. package/node_modules/@entelligentsia/pi-ai/dist/providers/openai-codex-responses.js +0 -1034
  908. package/node_modules/@entelligentsia/pi-ai/dist/providers/openai-codex-responses.js.map +0 -1
  909. package/node_modules/@entelligentsia/pi-ai/dist/providers/openai-completions.d.ts.map +0 -1
  910. package/node_modules/@entelligentsia/pi-ai/dist/providers/openai-completions.js +0 -925
  911. package/node_modules/@entelligentsia/pi-ai/dist/providers/openai-completions.js.map +0 -1
  912. package/node_modules/@entelligentsia/pi-ai/dist/providers/simple-options.d.ts.map +0 -1
  913. package/node_modules/@entelligentsia/pi-ai/dist/providers/simple-options.js +0 -39
  914. package/node_modules/@entelligentsia/pi-ai/dist/providers/simple-options.js.map +0 -1
  915. package/node_modules/@entelligentsia/pi-ai/dist/types.d.ts +0 -405
  916. package/node_modules/@entelligentsia/pi-ai/dist/types.d.ts.map +0 -1
  917. package/node_modules/@entelligentsia/pi-ai/dist/types.js.map +0 -1
  918. package/node_modules/@entelligentsia/pi-ai/dist/utils/overflow.d.ts +0 -55
  919. package/node_modules/@entelligentsia/pi-ai/dist/utils/overflow.d.ts.map +0 -1
  920. package/node_modules/@entelligentsia/pi-ai/dist/utils/overflow.js +0 -146
  921. package/node_modules/@entelligentsia/pi-ai/dist/utils/overflow.js.map +0 -1
  922. package/node_modules/@entelligentsia/pi-ai/package.json +0 -108
  923. package/node_modules/@entelligentsia/pi-coding-agent/CHANGELOG.md +0 -4166
  924. package/node_modules/@entelligentsia/pi-coding-agent/README.md +0 -652
  925. package/node_modules/@entelligentsia/pi-coding-agent/dist/bun/register-bedrock.d.ts.map +0 -1
  926. package/node_modules/@entelligentsia/pi-coding-agent/dist/bun/register-bedrock.js +0 -4
  927. package/node_modules/@entelligentsia/pi-coding-agent/dist/bun/register-bedrock.js.map +0 -1
  928. package/node_modules/@entelligentsia/pi-coding-agent/dist/cli/args.d.ts +0 -53
  929. package/node_modules/@entelligentsia/pi-coding-agent/dist/cli/args.d.ts.map +0 -1
  930. package/node_modules/@entelligentsia/pi-coding-agent/dist/cli/args.js +0 -340
  931. package/node_modules/@entelligentsia/pi-coding-agent/dist/cli/args.js.map +0 -1
  932. package/node_modules/@entelligentsia/pi-coding-agent/dist/cli/config-selector.d.ts.map +0 -1
  933. package/node_modules/@entelligentsia/pi-coding-agent/dist/cli/config-selector.js +0 -31
  934. package/node_modules/@entelligentsia/pi-coding-agent/dist/cli/config-selector.js.map +0 -1
  935. package/node_modules/@entelligentsia/pi-coding-agent/dist/cli/file-processor.d.ts +0 -15
  936. package/node_modules/@entelligentsia/pi-coding-agent/dist/cli/file-processor.d.ts.map +0 -1
  937. package/node_modules/@entelligentsia/pi-coding-agent/dist/cli/file-processor.js.map +0 -1
  938. package/node_modules/@entelligentsia/pi-coding-agent/dist/cli/initial-message.d.ts +0 -18
  939. package/node_modules/@entelligentsia/pi-coding-agent/dist/cli/initial-message.d.ts.map +0 -1
  940. package/node_modules/@entelligentsia/pi-coding-agent/dist/cli/initial-message.js.map +0 -1
  941. package/node_modules/@entelligentsia/pi-coding-agent/dist/cli/list-models.d.ts.map +0 -1
  942. package/node_modules/@entelligentsia/pi-coding-agent/dist/cli/list-models.js +0 -98
  943. package/node_modules/@entelligentsia/pi-coding-agent/dist/cli/list-models.js.map +0 -1
  944. package/node_modules/@entelligentsia/pi-coding-agent/dist/cli/session-picker.d.ts.map +0 -1
  945. package/node_modules/@entelligentsia/pi-coding-agent/dist/cli/session-picker.js +0 -35
  946. package/node_modules/@entelligentsia/pi-coding-agent/dist/cli/session-picker.js.map +0 -1
  947. package/node_modules/@entelligentsia/pi-coding-agent/dist/cli.d.ts.map +0 -1
  948. package/node_modules/@entelligentsia/pi-coding-agent/dist/cli.js +0 -20
  949. package/node_modules/@entelligentsia/pi-coding-agent/dist/cli.js.map +0 -1
  950. package/node_modules/@entelligentsia/pi-coding-agent/dist/config.d.ts.map +0 -1
  951. package/node_modules/@entelligentsia/pi-coding-agent/dist/config.js +0 -399
  952. package/node_modules/@entelligentsia/pi-coding-agent/dist/config.js.map +0 -1
  953. package/node_modules/@entelligentsia/pi-coding-agent/dist/core/agent-session-services.d.ts +0 -86
  954. package/node_modules/@entelligentsia/pi-coding-agent/dist/core/agent-session-services.d.ts.map +0 -1
  955. package/node_modules/@entelligentsia/pi-coding-agent/dist/core/agent-session-services.js.map +0 -1
  956. package/node_modules/@entelligentsia/pi-coding-agent/dist/core/agent-session.d.ts +0 -595
  957. package/node_modules/@entelligentsia/pi-coding-agent/dist/core/agent-session.d.ts.map +0 -1
  958. package/node_modules/@entelligentsia/pi-coding-agent/dist/core/agent-session.js +0 -2521
  959. package/node_modules/@entelligentsia/pi-coding-agent/dist/core/agent-session.js.map +0 -1
  960. package/node_modules/@entelligentsia/pi-coding-agent/dist/core/auth-storage.d.ts +0 -141
  961. package/node_modules/@entelligentsia/pi-coding-agent/dist/core/auth-storage.d.ts.map +0 -1
  962. package/node_modules/@entelligentsia/pi-coding-agent/dist/core/auth-storage.js +0 -441
  963. package/node_modules/@entelligentsia/pi-coding-agent/dist/core/auth-storage.js.map +0 -1
  964. package/node_modules/@entelligentsia/pi-coding-agent/dist/core/bash-executor.d.ts.map +0 -1
  965. package/node_modules/@entelligentsia/pi-coding-agent/dist/core/bash-executor.js +0 -111
  966. package/node_modules/@entelligentsia/pi-coding-agent/dist/core/bash-executor.js.map +0 -1
  967. package/node_modules/@entelligentsia/pi-coding-agent/dist/core/compaction/branch-summarization.d.ts +0 -88
  968. package/node_modules/@entelligentsia/pi-coding-agent/dist/core/compaction/branch-summarization.d.ts.map +0 -1
  969. package/node_modules/@entelligentsia/pi-coding-agent/dist/core/compaction/branch-summarization.js +0 -243
  970. package/node_modules/@entelligentsia/pi-coding-agent/dist/core/compaction/branch-summarization.js.map +0 -1
  971. package/node_modules/@entelligentsia/pi-coding-agent/dist/core/compaction/compaction.d.ts +0 -121
  972. package/node_modules/@entelligentsia/pi-coding-agent/dist/core/compaction/compaction.d.ts.map +0 -1
  973. package/node_modules/@entelligentsia/pi-coding-agent/dist/core/compaction/compaction.js +0 -615
  974. package/node_modules/@entelligentsia/pi-coding-agent/dist/core/compaction/compaction.js.map +0 -1
  975. package/node_modules/@entelligentsia/pi-coding-agent/dist/core/compaction/utils.d.ts +0 -38
  976. package/node_modules/@entelligentsia/pi-coding-agent/dist/core/compaction/utils.d.ts.map +0 -1
  977. package/node_modules/@entelligentsia/pi-coding-agent/dist/core/compaction/utils.js.map +0 -1
  978. package/node_modules/@entelligentsia/pi-coding-agent/dist/core/defaults.d.ts +0 -3
  979. package/node_modules/@entelligentsia/pi-coding-agent/dist/core/defaults.d.ts.map +0 -1
  980. package/node_modules/@entelligentsia/pi-coding-agent/dist/core/defaults.js.map +0 -1
  981. package/node_modules/@entelligentsia/pi-coding-agent/dist/core/export-html/index.d.ts +0 -37
  982. package/node_modules/@entelligentsia/pi-coding-agent/dist/core/export-html/index.d.ts.map +0 -1
  983. package/node_modules/@entelligentsia/pi-coding-agent/dist/core/export-html/index.js.map +0 -1
  984. package/node_modules/@entelligentsia/pi-coding-agent/dist/core/export-html/tool-renderer.d.ts.map +0 -1
  985. package/node_modules/@entelligentsia/pi-coding-agent/dist/core/export-html/tool-renderer.js.map +0 -1
  986. package/node_modules/@entelligentsia/pi-coding-agent/dist/core/extensions/loader.d.ts.map +0 -1
  987. package/node_modules/@entelligentsia/pi-coding-agent/dist/core/extensions/loader.js +0 -498
  988. package/node_modules/@entelligentsia/pi-coding-agent/dist/core/extensions/loader.js.map +0 -1
  989. package/node_modules/@entelligentsia/pi-coding-agent/dist/core/extensions/runner.d.ts +0 -159
  990. package/node_modules/@entelligentsia/pi-coding-agent/dist/core/extensions/runner.d.ts.map +0 -1
  991. package/node_modules/@entelligentsia/pi-coding-agent/dist/core/extensions/runner.js +0 -825
  992. package/node_modules/@entelligentsia/pi-coding-agent/dist/core/extensions/runner.js.map +0 -1
  993. package/node_modules/@entelligentsia/pi-coding-agent/dist/core/extensions/types.d.ts +0 -1187
  994. package/node_modules/@entelligentsia/pi-coding-agent/dist/core/extensions/types.d.ts.map +0 -1
  995. package/node_modules/@entelligentsia/pi-coding-agent/dist/core/extensions/types.js.map +0 -1
  996. package/node_modules/@entelligentsia/pi-coding-agent/dist/core/extensions/wrapper.d.ts +0 -20
  997. package/node_modules/@entelligentsia/pi-coding-agent/dist/core/extensions/wrapper.d.ts.map +0 -1
  998. package/node_modules/@entelligentsia/pi-coding-agent/dist/core/extensions/wrapper.js.map +0 -1
  999. package/node_modules/@entelligentsia/pi-coding-agent/dist/core/keybindings.d.ts +0 -353
  1000. package/node_modules/@entelligentsia/pi-coding-agent/dist/core/keybindings.d.ts.map +0 -1
  1001. package/node_modules/@entelligentsia/pi-coding-agent/dist/core/keybindings.js +0 -295
  1002. package/node_modules/@entelligentsia/pi-coding-agent/dist/core/keybindings.js.map +0 -1
  1003. package/node_modules/@entelligentsia/pi-coding-agent/dist/core/messages.d.ts +0 -77
  1004. package/node_modules/@entelligentsia/pi-coding-agent/dist/core/messages.d.ts.map +0 -1
  1005. package/node_modules/@entelligentsia/pi-coding-agent/dist/core/messages.js.map +0 -1
  1006. package/node_modules/@entelligentsia/pi-coding-agent/dist/core/model-registry.d.ts +0 -150
  1007. package/node_modules/@entelligentsia/pi-coding-agent/dist/core/model-registry.d.ts.map +0 -1
  1008. package/node_modules/@entelligentsia/pi-coding-agent/dist/core/model-registry.js +0 -727
  1009. package/node_modules/@entelligentsia/pi-coding-agent/dist/core/model-registry.js.map +0 -1
  1010. package/node_modules/@entelligentsia/pi-coding-agent/dist/core/model-resolver.d.ts +0 -110
  1011. package/node_modules/@entelligentsia/pi-coding-agent/dist/core/model-resolver.d.ts.map +0 -1
  1012. package/node_modules/@entelligentsia/pi-coding-agent/dist/core/model-resolver.js +0 -494
  1013. package/node_modules/@entelligentsia/pi-coding-agent/dist/core/model-resolver.js.map +0 -1
  1014. package/node_modules/@entelligentsia/pi-coding-agent/dist/core/package-manager.d.ts +0 -198
  1015. package/node_modules/@entelligentsia/pi-coding-agent/dist/core/package-manager.d.ts.map +0 -1
  1016. package/node_modules/@entelligentsia/pi-coding-agent/dist/core/package-manager.js +0 -1958
  1017. package/node_modules/@entelligentsia/pi-coding-agent/dist/core/package-manager.js.map +0 -1
  1018. package/node_modules/@entelligentsia/pi-coding-agent/dist/core/prompt-templates.d.ts.map +0 -1
  1019. package/node_modules/@entelligentsia/pi-coding-agent/dist/core/prompt-templates.js +0 -250
  1020. package/node_modules/@entelligentsia/pi-coding-agent/dist/core/prompt-templates.js.map +0 -1
  1021. package/node_modules/@entelligentsia/pi-coding-agent/dist/core/provider-display-names.d.ts.map +0 -1
  1022. package/node_modules/@entelligentsia/pi-coding-agent/dist/core/provider-display-names.js +0 -32
  1023. package/node_modules/@entelligentsia/pi-coding-agent/dist/core/provider-display-names.js.map +0 -1
  1024. package/node_modules/@entelligentsia/pi-coding-agent/dist/core/sdk.d.ts +0 -107
  1025. package/node_modules/@entelligentsia/pi-coding-agent/dist/core/sdk.d.ts.map +0 -1
  1026. package/node_modules/@entelligentsia/pi-coding-agent/dist/core/sdk.js +0 -282
  1027. package/node_modules/@entelligentsia/pi-coding-agent/dist/core/sdk.js.map +0 -1
  1028. package/node_modules/@entelligentsia/pi-coding-agent/dist/core/session-manager.d.ts +0 -333
  1029. package/node_modules/@entelligentsia/pi-coding-agent/dist/core/session-manager.d.ts.map +0 -1
  1030. package/node_modules/@entelligentsia/pi-coding-agent/dist/core/session-manager.js +0 -1109
  1031. package/node_modules/@entelligentsia/pi-coding-agent/dist/core/session-manager.js.map +0 -1
  1032. package/node_modules/@entelligentsia/pi-coding-agent/dist/core/settings-manager.d.ts +0 -261
  1033. package/node_modules/@entelligentsia/pi-coding-agent/dist/core/settings-manager.d.ts.map +0 -1
  1034. package/node_modules/@entelligentsia/pi-coding-agent/dist/core/settings-manager.js.map +0 -1
  1035. package/node_modules/@entelligentsia/pi-coding-agent/dist/core/skills.d.ts.map +0 -1
  1036. package/node_modules/@entelligentsia/pi-coding-agent/dist/core/skills.js +0 -404
  1037. package/node_modules/@entelligentsia/pi-coding-agent/dist/core/skills.js.map +0 -1
  1038. package/node_modules/@entelligentsia/pi-coding-agent/dist/core/tools/bash.d.ts +0 -68
  1039. package/node_modules/@entelligentsia/pi-coding-agent/dist/core/tools/bash.d.ts.map +0 -1
  1040. package/node_modules/@entelligentsia/pi-coding-agent/dist/core/tools/bash.js +0 -335
  1041. package/node_modules/@entelligentsia/pi-coding-agent/dist/core/tools/bash.js.map +0 -1
  1042. package/node_modules/@entelligentsia/pi-coding-agent/dist/core/tools/edit.d.ts +0 -49
  1043. package/node_modules/@entelligentsia/pi-coding-agent/dist/core/tools/edit.d.ts.map +0 -1
  1044. package/node_modules/@entelligentsia/pi-coding-agent/dist/core/tools/edit.js +0 -324
  1045. package/node_modules/@entelligentsia/pi-coding-agent/dist/core/tools/edit.js.map +0 -1
  1046. package/node_modules/@entelligentsia/pi-coding-agent/dist/core/tools/find.d.ts +0 -35
  1047. package/node_modules/@entelligentsia/pi-coding-agent/dist/core/tools/find.d.ts.map +0 -1
  1048. package/node_modules/@entelligentsia/pi-coding-agent/dist/core/tools/find.js +0 -298
  1049. package/node_modules/@entelligentsia/pi-coding-agent/dist/core/tools/find.js.map +0 -1
  1050. package/node_modules/@entelligentsia/pi-coding-agent/dist/core/tools/grep.d.ts +0 -37
  1051. package/node_modules/@entelligentsia/pi-coding-agent/dist/core/tools/grep.d.ts.map +0 -1
  1052. package/node_modules/@entelligentsia/pi-coding-agent/dist/core/tools/grep.js +0 -304
  1053. package/node_modules/@entelligentsia/pi-coding-agent/dist/core/tools/grep.js.map +0 -1
  1054. package/node_modules/@entelligentsia/pi-coding-agent/dist/core/tools/index.d.ts +0 -40
  1055. package/node_modules/@entelligentsia/pi-coding-agent/dist/core/tools/index.d.ts.map +0 -1
  1056. package/node_modules/@entelligentsia/pi-coding-agent/dist/core/tools/index.js.map +0 -1
  1057. package/node_modules/@entelligentsia/pi-coding-agent/dist/core/tools/ls.d.ts +0 -37
  1058. package/node_modules/@entelligentsia/pi-coding-agent/dist/core/tools/ls.d.ts.map +0 -1
  1059. package/node_modules/@entelligentsia/pi-coding-agent/dist/core/tools/ls.js +0 -169
  1060. package/node_modules/@entelligentsia/pi-coding-agent/dist/core/tools/ls.js.map +0 -1
  1061. package/node_modules/@entelligentsia/pi-coding-agent/dist/core/tools/read.d.ts +0 -35
  1062. package/node_modules/@entelligentsia/pi-coding-agent/dist/core/tools/read.d.ts.map +0 -1
  1063. package/node_modules/@entelligentsia/pi-coding-agent/dist/core/tools/read.js +0 -289
  1064. package/node_modules/@entelligentsia/pi-coding-agent/dist/core/tools/read.js.map +0 -1
  1065. package/node_modules/@entelligentsia/pi-coding-agent/dist/core/tools/render-utils.d.ts +0 -21
  1066. package/node_modules/@entelligentsia/pi-coding-agent/dist/core/tools/render-utils.d.ts.map +0 -1
  1067. package/node_modules/@entelligentsia/pi-coding-agent/dist/core/tools/render-utils.js +0 -49
  1068. package/node_modules/@entelligentsia/pi-coding-agent/dist/core/tools/render-utils.js.map +0 -1
  1069. package/node_modules/@entelligentsia/pi-coding-agent/dist/core/tools/tool-definition-wrapper.d.ts +0 -14
  1070. package/node_modules/@entelligentsia/pi-coding-agent/dist/core/tools/tool-definition-wrapper.d.ts.map +0 -1
  1071. package/node_modules/@entelligentsia/pi-coding-agent/dist/core/tools/tool-definition-wrapper.js.map +0 -1
  1072. package/node_modules/@entelligentsia/pi-coding-agent/dist/core/tools/write.d.ts +0 -26
  1073. package/node_modules/@entelligentsia/pi-coding-agent/dist/core/tools/write.d.ts.map +0 -1
  1074. package/node_modules/@entelligentsia/pi-coding-agent/dist/core/tools/write.js +0 -213
  1075. package/node_modules/@entelligentsia/pi-coding-agent/dist/core/tools/write.js.map +0 -1
  1076. package/node_modules/@entelligentsia/pi-coding-agent/dist/main.d.ts.map +0 -1
  1077. package/node_modules/@entelligentsia/pi-coding-agent/dist/main.js +0 -583
  1078. package/node_modules/@entelligentsia/pi-coding-agent/dist/main.js.map +0 -1
  1079. package/node_modules/@entelligentsia/pi-coding-agent/dist/modes/interactive/components/armin.d.ts +0 -34
  1080. package/node_modules/@entelligentsia/pi-coding-agent/dist/modes/interactive/components/armin.d.ts.map +0 -1
  1081. package/node_modules/@entelligentsia/pi-coding-agent/dist/modes/interactive/components/armin.js.map +0 -1
  1082. package/node_modules/@entelligentsia/pi-coding-agent/dist/modes/interactive/components/assistant-message.d.ts +0 -20
  1083. package/node_modules/@entelligentsia/pi-coding-agent/dist/modes/interactive/components/assistant-message.d.ts.map +0 -1
  1084. package/node_modules/@entelligentsia/pi-coding-agent/dist/modes/interactive/components/assistant-message.js +0 -121
  1085. package/node_modules/@entelligentsia/pi-coding-agent/dist/modes/interactive/components/assistant-message.js.map +0 -1
  1086. package/node_modules/@entelligentsia/pi-coding-agent/dist/modes/interactive/components/bash-execution.d.ts +0 -34
  1087. package/node_modules/@entelligentsia/pi-coding-agent/dist/modes/interactive/components/bash-execution.d.ts.map +0 -1
  1088. package/node_modules/@entelligentsia/pi-coding-agent/dist/modes/interactive/components/bash-execution.js +0 -175
  1089. package/node_modules/@entelligentsia/pi-coding-agent/dist/modes/interactive/components/bash-execution.js.map +0 -1
  1090. package/node_modules/@entelligentsia/pi-coding-agent/dist/modes/interactive/components/bordered-loader.d.ts +0 -16
  1091. package/node_modules/@entelligentsia/pi-coding-agent/dist/modes/interactive/components/bordered-loader.d.ts.map +0 -1
  1092. package/node_modules/@entelligentsia/pi-coding-agent/dist/modes/interactive/components/bordered-loader.js +0 -54
  1093. package/node_modules/@entelligentsia/pi-coding-agent/dist/modes/interactive/components/bordered-loader.js.map +0 -1
  1094. package/node_modules/@entelligentsia/pi-coding-agent/dist/modes/interactive/components/branch-summary-message.d.ts +0 -16
  1095. package/node_modules/@entelligentsia/pi-coding-agent/dist/modes/interactive/components/branch-summary-message.d.ts.map +0 -1
  1096. package/node_modules/@entelligentsia/pi-coding-agent/dist/modes/interactive/components/branch-summary-message.js +0 -44
  1097. package/node_modules/@entelligentsia/pi-coding-agent/dist/modes/interactive/components/branch-summary-message.js.map +0 -1
  1098. package/node_modules/@entelligentsia/pi-coding-agent/dist/modes/interactive/components/compaction-summary-message.d.ts +0 -16
  1099. package/node_modules/@entelligentsia/pi-coding-agent/dist/modes/interactive/components/compaction-summary-message.d.ts.map +0 -1
  1100. package/node_modules/@entelligentsia/pi-coding-agent/dist/modes/interactive/components/compaction-summary-message.js +0 -45
  1101. package/node_modules/@entelligentsia/pi-coding-agent/dist/modes/interactive/components/compaction-summary-message.js.map +0 -1
  1102. package/node_modules/@entelligentsia/pi-coding-agent/dist/modes/interactive/components/config-selector.d.ts +0 -71
  1103. package/node_modules/@entelligentsia/pi-coding-agent/dist/modes/interactive/components/config-selector.d.ts.map +0 -1
  1104. package/node_modules/@entelligentsia/pi-coding-agent/dist/modes/interactive/components/config-selector.js +0 -481
  1105. package/node_modules/@entelligentsia/pi-coding-agent/dist/modes/interactive/components/config-selector.js.map +0 -1
  1106. package/node_modules/@entelligentsia/pi-coding-agent/dist/modes/interactive/components/countdown-timer.d.ts +0 -14
  1107. package/node_modules/@entelligentsia/pi-coding-agent/dist/modes/interactive/components/countdown-timer.d.ts.map +0 -1
  1108. package/node_modules/@entelligentsia/pi-coding-agent/dist/modes/interactive/components/countdown-timer.js.map +0 -1
  1109. package/node_modules/@entelligentsia/pi-coding-agent/dist/modes/interactive/components/custom-editor.d.ts +0 -21
  1110. package/node_modules/@entelligentsia/pi-coding-agent/dist/modes/interactive/components/custom-editor.d.ts.map +0 -1
  1111. package/node_modules/@entelligentsia/pi-coding-agent/dist/modes/interactive/components/custom-editor.js +0 -70
  1112. package/node_modules/@entelligentsia/pi-coding-agent/dist/modes/interactive/components/custom-editor.js.map +0 -1
  1113. package/node_modules/@entelligentsia/pi-coding-agent/dist/modes/interactive/components/custom-message.d.ts +0 -20
  1114. package/node_modules/@entelligentsia/pi-coding-agent/dist/modes/interactive/components/custom-message.d.ts.map +0 -1
  1115. package/node_modules/@entelligentsia/pi-coding-agent/dist/modes/interactive/components/custom-message.js +0 -79
  1116. package/node_modules/@entelligentsia/pi-coding-agent/dist/modes/interactive/components/custom-message.js.map +0 -1
  1117. package/node_modules/@entelligentsia/pi-coding-agent/dist/modes/interactive/components/daxnuts.d.ts +0 -23
  1118. package/node_modules/@entelligentsia/pi-coding-agent/dist/modes/interactive/components/daxnuts.d.ts.map +0 -1
  1119. package/node_modules/@entelligentsia/pi-coding-agent/dist/modes/interactive/components/daxnuts.js.map +0 -1
  1120. package/node_modules/@entelligentsia/pi-coding-agent/dist/modes/interactive/components/dynamic-border.d.ts +0 -15
  1121. package/node_modules/@entelligentsia/pi-coding-agent/dist/modes/interactive/components/dynamic-border.d.ts.map +0 -1
  1122. package/node_modules/@entelligentsia/pi-coding-agent/dist/modes/interactive/components/dynamic-border.js.map +0 -1
  1123. package/node_modules/@entelligentsia/pi-coding-agent/dist/modes/interactive/components/earendil-announcement.d.ts +0 -5
  1124. package/node_modules/@entelligentsia/pi-coding-agent/dist/modes/interactive/components/earendil-announcement.d.ts.map +0 -1
  1125. package/node_modules/@entelligentsia/pi-coding-agent/dist/modes/interactive/components/earendil-announcement.js +0 -40
  1126. package/node_modules/@entelligentsia/pi-coding-agent/dist/modes/interactive/components/earendil-announcement.js.map +0 -1
  1127. package/node_modules/@entelligentsia/pi-coding-agent/dist/modes/interactive/components/extension-editor.d.ts +0 -20
  1128. package/node_modules/@entelligentsia/pi-coding-agent/dist/modes/interactive/components/extension-editor.d.ts.map +0 -1
  1129. package/node_modules/@entelligentsia/pi-coding-agent/dist/modes/interactive/components/extension-editor.js +0 -111
  1130. package/node_modules/@entelligentsia/pi-coding-agent/dist/modes/interactive/components/extension-editor.js.map +0 -1
  1131. package/node_modules/@entelligentsia/pi-coding-agent/dist/modes/interactive/components/extension-input.d.ts +0 -23
  1132. package/node_modules/@entelligentsia/pi-coding-agent/dist/modes/interactive/components/extension-input.d.ts.map +0 -1
  1133. package/node_modules/@entelligentsia/pi-coding-agent/dist/modes/interactive/components/extension-input.js +0 -61
  1134. package/node_modules/@entelligentsia/pi-coding-agent/dist/modes/interactive/components/extension-input.js.map +0 -1
  1135. package/node_modules/@entelligentsia/pi-coding-agent/dist/modes/interactive/components/extension-selector.d.ts +0 -24
  1136. package/node_modules/@entelligentsia/pi-coding-agent/dist/modes/interactive/components/extension-selector.d.ts.map +0 -1
  1137. package/node_modules/@entelligentsia/pi-coding-agent/dist/modes/interactive/components/extension-selector.js +0 -78
  1138. package/node_modules/@entelligentsia/pi-coding-agent/dist/modes/interactive/components/extension-selector.js.map +0 -1
  1139. package/node_modules/@entelligentsia/pi-coding-agent/dist/modes/interactive/components/footer.d.ts +0 -27
  1140. package/node_modules/@entelligentsia/pi-coding-agent/dist/modes/interactive/components/footer.d.ts.map +0 -1
  1141. package/node_modules/@entelligentsia/pi-coding-agent/dist/modes/interactive/components/footer.js +0 -201
  1142. package/node_modules/@entelligentsia/pi-coding-agent/dist/modes/interactive/components/footer.js.map +0 -1
  1143. package/node_modules/@entelligentsia/pi-coding-agent/dist/modes/interactive/components/keybinding-hints.d.ts +0 -8
  1144. package/node_modules/@entelligentsia/pi-coding-agent/dist/modes/interactive/components/keybinding-hints.d.ts.map +0 -1
  1145. package/node_modules/@entelligentsia/pi-coding-agent/dist/modes/interactive/components/keybinding-hints.js +0 -22
  1146. package/node_modules/@entelligentsia/pi-coding-agent/dist/modes/interactive/components/keybinding-hints.js.map +0 -1
  1147. package/node_modules/@entelligentsia/pi-coding-agent/dist/modes/interactive/components/login-dialog.d.ts +0 -46
  1148. package/node_modules/@entelligentsia/pi-coding-agent/dist/modes/interactive/components/login-dialog.d.ts.map +0 -1
  1149. package/node_modules/@entelligentsia/pi-coding-agent/dist/modes/interactive/components/login-dialog.js +0 -160
  1150. package/node_modules/@entelligentsia/pi-coding-agent/dist/modes/interactive/components/login-dialog.js.map +0 -1
  1151. package/node_modules/@entelligentsia/pi-coding-agent/dist/modes/interactive/components/model-selector.d.ts +0 -47
  1152. package/node_modules/@entelligentsia/pi-coding-agent/dist/modes/interactive/components/model-selector.d.ts.map +0 -1
  1153. package/node_modules/@entelligentsia/pi-coding-agent/dist/modes/interactive/components/model-selector.js +0 -278
  1154. package/node_modules/@entelligentsia/pi-coding-agent/dist/modes/interactive/components/model-selector.js.map +0 -1
  1155. package/node_modules/@entelligentsia/pi-coding-agent/dist/modes/interactive/components/oauth-selector.d.ts +0 -31
  1156. package/node_modules/@entelligentsia/pi-coding-agent/dist/modes/interactive/components/oauth-selector.d.ts.map +0 -1
  1157. package/node_modules/@entelligentsia/pi-coding-agent/dist/modes/interactive/components/oauth-selector.js +0 -165
  1158. package/node_modules/@entelligentsia/pi-coding-agent/dist/modes/interactive/components/oauth-selector.js.map +0 -1
  1159. package/node_modules/@entelligentsia/pi-coding-agent/dist/modes/interactive/components/scoped-models-selector.d.ts +0 -42
  1160. package/node_modules/@entelligentsia/pi-coding-agent/dist/modes/interactive/components/scoped-models-selector.d.ts.map +0 -1
  1161. package/node_modules/@entelligentsia/pi-coding-agent/dist/modes/interactive/components/scoped-models-selector.js +0 -290
  1162. package/node_modules/@entelligentsia/pi-coding-agent/dist/modes/interactive/components/scoped-models-selector.js.map +0 -1
  1163. package/node_modules/@entelligentsia/pi-coding-agent/dist/modes/interactive/components/session-selector-search.d.ts.map +0 -1
  1164. package/node_modules/@entelligentsia/pi-coding-agent/dist/modes/interactive/components/session-selector-search.js +0 -155
  1165. package/node_modules/@entelligentsia/pi-coding-agent/dist/modes/interactive/components/session-selector-search.js.map +0 -1
  1166. package/node_modules/@entelligentsia/pi-coding-agent/dist/modes/interactive/components/session-selector.d.ts +0 -96
  1167. package/node_modules/@entelligentsia/pi-coding-agent/dist/modes/interactive/components/session-selector.d.ts.map +0 -1
  1168. package/node_modules/@entelligentsia/pi-coding-agent/dist/modes/interactive/components/session-selector.js +0 -861
  1169. package/node_modules/@entelligentsia/pi-coding-agent/dist/modes/interactive/components/session-selector.js.map +0 -1
  1170. package/node_modules/@entelligentsia/pi-coding-agent/dist/modes/interactive/components/settings-selector.d.ts +0 -67
  1171. package/node_modules/@entelligentsia/pi-coding-agent/dist/modes/interactive/components/settings-selector.d.ts.map +0 -1
  1172. package/node_modules/@entelligentsia/pi-coding-agent/dist/modes/interactive/components/settings-selector.js +0 -373
  1173. package/node_modules/@entelligentsia/pi-coding-agent/dist/modes/interactive/components/settings-selector.js.map +0 -1
  1174. package/node_modules/@entelligentsia/pi-coding-agent/dist/modes/interactive/components/show-images-selector.d.ts +0 -10
  1175. package/node_modules/@entelligentsia/pi-coding-agent/dist/modes/interactive/components/show-images-selector.d.ts.map +0 -1
  1176. package/node_modules/@entelligentsia/pi-coding-agent/dist/modes/interactive/components/show-images-selector.js +0 -39
  1177. package/node_modules/@entelligentsia/pi-coding-agent/dist/modes/interactive/components/show-images-selector.js.map +0 -1
  1178. package/node_modules/@entelligentsia/pi-coding-agent/dist/modes/interactive/components/skill-invocation-message.d.ts +0 -17
  1179. package/node_modules/@entelligentsia/pi-coding-agent/dist/modes/interactive/components/skill-invocation-message.d.ts.map +0 -1
  1180. package/node_modules/@entelligentsia/pi-coding-agent/dist/modes/interactive/components/skill-invocation-message.js +0 -47
  1181. package/node_modules/@entelligentsia/pi-coding-agent/dist/modes/interactive/components/skill-invocation-message.js.map +0 -1
  1182. package/node_modules/@entelligentsia/pi-coding-agent/dist/modes/interactive/components/theme-selector.d.ts +0 -11
  1183. package/node_modules/@entelligentsia/pi-coding-agent/dist/modes/interactive/components/theme-selector.d.ts.map +0 -1
  1184. package/node_modules/@entelligentsia/pi-coding-agent/dist/modes/interactive/components/theme-selector.js +0 -50
  1185. package/node_modules/@entelligentsia/pi-coding-agent/dist/modes/interactive/components/theme-selector.js.map +0 -1
  1186. package/node_modules/@entelligentsia/pi-coding-agent/dist/modes/interactive/components/thinking-selector.d.ts +0 -11
  1187. package/node_modules/@entelligentsia/pi-coding-agent/dist/modes/interactive/components/thinking-selector.d.ts.map +0 -1
  1188. package/node_modules/@entelligentsia/pi-coding-agent/dist/modes/interactive/components/thinking-selector.js +0 -51
  1189. package/node_modules/@entelligentsia/pi-coding-agent/dist/modes/interactive/components/thinking-selector.js.map +0 -1
  1190. package/node_modules/@entelligentsia/pi-coding-agent/dist/modes/interactive/components/tool-execution.d.ts +0 -63
  1191. package/node_modules/@entelligentsia/pi-coding-agent/dist/modes/interactive/components/tool-execution.d.ts.map +0 -1
  1192. package/node_modules/@entelligentsia/pi-coding-agent/dist/modes/interactive/components/tool-execution.js +0 -295
  1193. package/node_modules/@entelligentsia/pi-coding-agent/dist/modes/interactive/components/tool-execution.js.map +0 -1
  1194. package/node_modules/@entelligentsia/pi-coding-agent/dist/modes/interactive/components/tree-selector.d.ts +0 -89
  1195. package/node_modules/@entelligentsia/pi-coding-agent/dist/modes/interactive/components/tree-selector.d.ts.map +0 -1
  1196. package/node_modules/@entelligentsia/pi-coding-agent/dist/modes/interactive/components/tree-selector.js +0 -1092
  1197. package/node_modules/@entelligentsia/pi-coding-agent/dist/modes/interactive/components/tree-selector.js.map +0 -1
  1198. package/node_modules/@entelligentsia/pi-coding-agent/dist/modes/interactive/components/user-message-selector.d.ts +0 -30
  1199. package/node_modules/@entelligentsia/pi-coding-agent/dist/modes/interactive/components/user-message-selector.d.ts.map +0 -1
  1200. package/node_modules/@entelligentsia/pi-coding-agent/dist/modes/interactive/components/user-message-selector.js +0 -114
  1201. package/node_modules/@entelligentsia/pi-coding-agent/dist/modes/interactive/components/user-message-selector.js.map +0 -1
  1202. package/node_modules/@entelligentsia/pi-coding-agent/dist/modes/interactive/components/user-message.d.ts +0 -10
  1203. package/node_modules/@entelligentsia/pi-coding-agent/dist/modes/interactive/components/user-message.d.ts.map +0 -1
  1204. package/node_modules/@entelligentsia/pi-coding-agent/dist/modes/interactive/components/user-message.js +0 -29
  1205. package/node_modules/@entelligentsia/pi-coding-agent/dist/modes/interactive/components/user-message.js.map +0 -1
  1206. package/node_modules/@entelligentsia/pi-coding-agent/dist/modes/interactive/components/visual-truncate.d.ts.map +0 -1
  1207. package/node_modules/@entelligentsia/pi-coding-agent/dist/modes/interactive/components/visual-truncate.js +0 -33
  1208. package/node_modules/@entelligentsia/pi-coding-agent/dist/modes/interactive/components/visual-truncate.js.map +0 -1
  1209. package/node_modules/@entelligentsia/pi-coding-agent/dist/modes/interactive/interactive-mode.d.ts +0 -374
  1210. package/node_modules/@entelligentsia/pi-coding-agent/dist/modes/interactive/interactive-mode.d.ts.map +0 -1
  1211. package/node_modules/@entelligentsia/pi-coding-agent/dist/modes/interactive/interactive-mode.js +0 -4625
  1212. package/node_modules/@entelligentsia/pi-coding-agent/dist/modes/interactive/interactive-mode.js.map +0 -1
  1213. package/node_modules/@entelligentsia/pi-coding-agent/dist/modes/interactive/theme/dark.json +0 -85
  1214. package/node_modules/@entelligentsia/pi-coding-agent/dist/modes/interactive/theme/light.json +0 -84
  1215. package/node_modules/@entelligentsia/pi-coding-agent/dist/modes/interactive/theme/theme.d.ts +0 -81
  1216. package/node_modules/@entelligentsia/pi-coding-agent/dist/modes/interactive/theme/theme.d.ts.map +0 -1
  1217. package/node_modules/@entelligentsia/pi-coding-agent/dist/modes/interactive/theme/theme.js +0 -971
  1218. package/node_modules/@entelligentsia/pi-coding-agent/dist/modes/interactive/theme/theme.js.map +0 -1
  1219. package/node_modules/@entelligentsia/pi-coding-agent/dist/modes/print-mode.d.ts +0 -28
  1220. package/node_modules/@entelligentsia/pi-coding-agent/dist/modes/print-mode.d.ts.map +0 -1
  1221. package/node_modules/@entelligentsia/pi-coding-agent/dist/modes/print-mode.js.map +0 -1
  1222. package/node_modules/@entelligentsia/pi-coding-agent/dist/modes/rpc/rpc-client.d.ts +0 -224
  1223. package/node_modules/@entelligentsia/pi-coding-agent/dist/modes/rpc/rpc-client.d.ts.map +0 -1
  1224. package/node_modules/@entelligentsia/pi-coding-agent/dist/modes/rpc/rpc-client.js.map +0 -1
  1225. package/node_modules/@entelligentsia/pi-coding-agent/dist/modes/rpc/rpc-mode.d.ts.map +0 -1
  1226. package/node_modules/@entelligentsia/pi-coding-agent/dist/modes/rpc/rpc-mode.js +0 -604
  1227. package/node_modules/@entelligentsia/pi-coding-agent/dist/modes/rpc/rpc-mode.js.map +0 -1
  1228. package/node_modules/@entelligentsia/pi-coding-agent/dist/modes/rpc/rpc-types.d.ts +0 -419
  1229. package/node_modules/@entelligentsia/pi-coding-agent/dist/modes/rpc/rpc-types.d.ts.map +0 -1
  1230. package/node_modules/@entelligentsia/pi-coding-agent/dist/modes/rpc/rpc-types.js.map +0 -1
  1231. package/node_modules/@entelligentsia/pi-coding-agent/dist/utils/image-resize.d.ts +0 -36
  1232. package/node_modules/@entelligentsia/pi-coding-agent/dist/utils/image-resize.d.ts.map +0 -1
  1233. package/node_modules/@entelligentsia/pi-coding-agent/dist/utils/image-resize.js.map +0 -1
  1234. package/node_modules/@entelligentsia/pi-coding-agent/dist/utils/mime.d.ts +0 -2
  1235. package/node_modules/@entelligentsia/pi-coding-agent/dist/utils/mime.d.ts.map +0 -1
  1236. package/node_modules/@entelligentsia/pi-coding-agent/dist/utils/mime.js +0 -26
  1237. package/node_modules/@entelligentsia/pi-coding-agent/dist/utils/mime.js.map +0 -1
  1238. package/node_modules/@entelligentsia/pi-coding-agent/dist/utils/tools-manager.d.ts.map +0 -1
  1239. package/node_modules/@entelligentsia/pi-coding-agent/dist/utils/tools-manager.js +0 -256
  1240. package/node_modules/@entelligentsia/pi-coding-agent/dist/utils/tools-manager.js.map +0 -1
  1241. package/node_modules/@entelligentsia/pi-coding-agent/docs/compaction.md +0 -394
  1242. package/node_modules/@entelligentsia/pi-coding-agent/docs/custom-provider.md +0 -646
  1243. package/node_modules/@entelligentsia/pi-coding-agent/docs/extensions.md +0 -2596
  1244. package/node_modules/@entelligentsia/pi-coding-agent/docs/index.md +0 -70
  1245. package/node_modules/@entelligentsia/pi-coding-agent/docs/models.md +0 -474
  1246. package/node_modules/@entelligentsia/pi-coding-agent/docs/packages.md +0 -223
  1247. package/node_modules/@entelligentsia/pi-coding-agent/docs/providers.md +0 -241
  1248. package/node_modules/@entelligentsia/pi-coding-agent/docs/quickstart.md +0 -142
  1249. package/node_modules/@entelligentsia/pi-coding-agent/docs/rpc.md +0 -1407
  1250. package/node_modules/@entelligentsia/pi-coding-agent/docs/sdk.md +0 -1149
  1251. package/node_modules/@entelligentsia/pi-coding-agent/docs/session-format.md +0 -412
  1252. package/node_modules/@entelligentsia/pi-coding-agent/docs/skills.md +0 -232
  1253. package/node_modules/@entelligentsia/pi-coding-agent/docs/termux.md +0 -127
  1254. package/node_modules/@entelligentsia/pi-coding-agent/docs/themes.md +0 -295
  1255. package/node_modules/@entelligentsia/pi-coding-agent/docs/tui.md +0 -918
  1256. package/node_modules/@entelligentsia/pi-coding-agent/examples/extensions/README.md +0 -208
  1257. package/node_modules/@entelligentsia/pi-coding-agent/examples/extensions/auto-commit-on-exit.ts +0 -49
  1258. package/node_modules/@entelligentsia/pi-coding-agent/examples/extensions/bash-spawn-hook.ts +0 -30
  1259. package/node_modules/@entelligentsia/pi-coding-agent/examples/extensions/bookmark.ts +0 -50
  1260. package/node_modules/@entelligentsia/pi-coding-agent/examples/extensions/border-status-editor.ts +0 -150
  1261. package/node_modules/@entelligentsia/pi-coding-agent/examples/extensions/built-in-tool-renderer.ts +0 -249
  1262. package/node_modules/@entelligentsia/pi-coding-agent/examples/extensions/claude-rules.ts +0 -86
  1263. package/node_modules/@entelligentsia/pi-coding-agent/examples/extensions/commands.ts +0 -72
  1264. package/node_modules/@entelligentsia/pi-coding-agent/examples/extensions/confirm-destructive.ts +0 -59
  1265. package/node_modules/@entelligentsia/pi-coding-agent/examples/extensions/custom-compaction.ts +0 -127
  1266. package/node_modules/@entelligentsia/pi-coding-agent/examples/extensions/custom-footer.ts +0 -64
  1267. package/node_modules/@entelligentsia/pi-coding-agent/examples/extensions/custom-header.ts +0 -73
  1268. package/node_modules/@entelligentsia/pi-coding-agent/examples/extensions/custom-provider-anthropic/index.ts +0 -604
  1269. package/node_modules/@entelligentsia/pi-coding-agent/examples/extensions/custom-provider-anthropic/package-lock.json +0 -24
  1270. package/node_modules/@entelligentsia/pi-coding-agent/examples/extensions/custom-provider-anthropic/package.json +0 -19
  1271. package/node_modules/@entelligentsia/pi-coding-agent/examples/extensions/custom-provider-gitlab-duo/index.ts +0 -349
  1272. package/node_modules/@entelligentsia/pi-coding-agent/examples/extensions/custom-provider-gitlab-duo/package.json +0 -16
  1273. package/node_modules/@entelligentsia/pi-coding-agent/examples/extensions/custom-provider-gitlab-duo/test.ts +0 -82
  1274. package/node_modules/@entelligentsia/pi-coding-agent/examples/extensions/dirty-repo-guard.ts +0 -56
  1275. package/node_modules/@entelligentsia/pi-coding-agent/examples/extensions/doom-overlay/doom-component.ts +0 -132
  1276. package/node_modules/@entelligentsia/pi-coding-agent/examples/extensions/doom-overlay/doom-keys.ts +0 -104
  1277. package/node_modules/@entelligentsia/pi-coding-agent/examples/extensions/doom-overlay/index.ts +0 -74
  1278. package/node_modules/@entelligentsia/pi-coding-agent/examples/extensions/dynamic-resources/dynamic.json +0 -79
  1279. package/node_modules/@entelligentsia/pi-coding-agent/examples/extensions/dynamic-resources/index.ts +0 -15
  1280. package/node_modules/@entelligentsia/pi-coding-agent/examples/extensions/dynamic-tools.ts +0 -74
  1281. package/node_modules/@entelligentsia/pi-coding-agent/examples/extensions/event-bus.ts +0 -43
  1282. package/node_modules/@entelligentsia/pi-coding-agent/examples/extensions/file-trigger.ts +0 -41
  1283. package/node_modules/@entelligentsia/pi-coding-agent/examples/extensions/git-checkpoint.ts +0 -53
  1284. package/node_modules/@entelligentsia/pi-coding-agent/examples/extensions/github-issue-autocomplete.ts +0 -185
  1285. package/node_modules/@entelligentsia/pi-coding-agent/examples/extensions/handoff.ts +0 -191
  1286. package/node_modules/@entelligentsia/pi-coding-agent/examples/extensions/hello.ts +0 -26
  1287. package/node_modules/@entelligentsia/pi-coding-agent/examples/extensions/hidden-thinking-label.ts +0 -53
  1288. package/node_modules/@entelligentsia/pi-coding-agent/examples/extensions/inline-bash.ts +0 -94
  1289. package/node_modules/@entelligentsia/pi-coding-agent/examples/extensions/input-transform.ts +0 -43
  1290. package/node_modules/@entelligentsia/pi-coding-agent/examples/extensions/interactive-shell.ts +0 -196
  1291. package/node_modules/@entelligentsia/pi-coding-agent/examples/extensions/mac-system-theme.ts +0 -47
  1292. package/node_modules/@entelligentsia/pi-coding-agent/examples/extensions/message-renderer.ts +0 -59
  1293. package/node_modules/@entelligentsia/pi-coding-agent/examples/extensions/minimal-mode.ts +0 -426
  1294. package/node_modules/@entelligentsia/pi-coding-agent/examples/extensions/modal-editor.ts +0 -85
  1295. package/node_modules/@entelligentsia/pi-coding-agent/examples/extensions/model-status.ts +0 -31
  1296. package/node_modules/@entelligentsia/pi-coding-agent/examples/extensions/notify.ts +0 -55
  1297. package/node_modules/@entelligentsia/pi-coding-agent/examples/extensions/overlay-qa-tests.ts +0 -1348
  1298. package/node_modules/@entelligentsia/pi-coding-agent/examples/extensions/overlay-test.ts +0 -150
  1299. package/node_modules/@entelligentsia/pi-coding-agent/examples/extensions/permission-gate.ts +0 -34
  1300. package/node_modules/@entelligentsia/pi-coding-agent/examples/extensions/pirate.ts +0 -47
  1301. package/node_modules/@entelligentsia/pi-coding-agent/examples/extensions/plan-mode/index.ts +0 -340
  1302. package/node_modules/@entelligentsia/pi-coding-agent/examples/extensions/preset.ts +0 -430
  1303. package/node_modules/@entelligentsia/pi-coding-agent/examples/extensions/prompt-customizer.ts +0 -97
  1304. package/node_modules/@entelligentsia/pi-coding-agent/examples/extensions/protected-paths.ts +0 -30
  1305. package/node_modules/@entelligentsia/pi-coding-agent/examples/extensions/provider-payload.ts +0 -18
  1306. package/node_modules/@entelligentsia/pi-coding-agent/examples/extensions/qna.ts +0 -122
  1307. package/node_modules/@entelligentsia/pi-coding-agent/examples/extensions/question.ts +0 -264
  1308. package/node_modules/@entelligentsia/pi-coding-agent/examples/extensions/questionnaire.ts +0 -427
  1309. package/node_modules/@entelligentsia/pi-coding-agent/examples/extensions/rainbow-editor.ts +0 -88
  1310. package/node_modules/@entelligentsia/pi-coding-agent/examples/extensions/reload-runtime.ts +0 -37
  1311. package/node_modules/@entelligentsia/pi-coding-agent/examples/extensions/rpc-demo.ts +0 -118
  1312. package/node_modules/@entelligentsia/pi-coding-agent/examples/extensions/sandbox/index.ts +0 -321
  1313. package/node_modules/@entelligentsia/pi-coding-agent/examples/extensions/sandbox/package-lock.json +0 -92
  1314. package/node_modules/@entelligentsia/pi-coding-agent/examples/extensions/sandbox/package.json +0 -19
  1315. package/node_modules/@entelligentsia/pi-coding-agent/examples/extensions/send-user-message.ts +0 -97
  1316. package/node_modules/@entelligentsia/pi-coding-agent/examples/extensions/session-name.ts +0 -27
  1317. package/node_modules/@entelligentsia/pi-coding-agent/examples/extensions/shutdown-command.ts +0 -63
  1318. package/node_modules/@entelligentsia/pi-coding-agent/examples/extensions/snake.ts +0 -343
  1319. package/node_modules/@entelligentsia/pi-coding-agent/examples/extensions/space-invaders.ts +0 -560
  1320. package/node_modules/@entelligentsia/pi-coding-agent/examples/extensions/ssh.ts +0 -220
  1321. package/node_modules/@entelligentsia/pi-coding-agent/examples/extensions/status-line.ts +0 -32
  1322. package/node_modules/@entelligentsia/pi-coding-agent/examples/extensions/structured-output.ts +0 -65
  1323. package/node_modules/@entelligentsia/pi-coding-agent/examples/extensions/subagent/agents.ts +0 -126
  1324. package/node_modules/@entelligentsia/pi-coding-agent/examples/extensions/subagent/index.ts +0 -987
  1325. package/node_modules/@entelligentsia/pi-coding-agent/examples/extensions/summarize.ts +0 -206
  1326. package/node_modules/@entelligentsia/pi-coding-agent/examples/extensions/system-prompt-header.ts +0 -17
  1327. package/node_modules/@entelligentsia/pi-coding-agent/examples/extensions/tic-tac-toe.ts +0 -1008
  1328. package/node_modules/@entelligentsia/pi-coding-agent/examples/extensions/timed-confirm.ts +0 -70
  1329. package/node_modules/@entelligentsia/pi-coding-agent/examples/extensions/titlebar-spinner.ts +0 -58
  1330. package/node_modules/@entelligentsia/pi-coding-agent/examples/extensions/todo.ts +0 -297
  1331. package/node_modules/@entelligentsia/pi-coding-agent/examples/extensions/tool-override.ts +0 -144
  1332. package/node_modules/@entelligentsia/pi-coding-agent/examples/extensions/tools.ts +0 -141
  1333. package/node_modules/@entelligentsia/pi-coding-agent/examples/extensions/trigger-compact.ts +0 -50
  1334. package/node_modules/@entelligentsia/pi-coding-agent/examples/extensions/truncated-tool.ts +0 -195
  1335. package/node_modules/@entelligentsia/pi-coding-agent/examples/extensions/widget-placement.ts +0 -9
  1336. package/node_modules/@entelligentsia/pi-coding-agent/examples/extensions/with-deps/index.ts +0 -32
  1337. package/node_modules/@entelligentsia/pi-coding-agent/examples/extensions/with-deps/package-lock.json +0 -31
  1338. package/node_modules/@entelligentsia/pi-coding-agent/examples/extensions/with-deps/package.json +0 -22
  1339. package/node_modules/@entelligentsia/pi-coding-agent/examples/extensions/working-indicator.ts +0 -123
  1340. package/node_modules/@entelligentsia/pi-coding-agent/examples/extensions/working-message-test.ts +0 -25
  1341. package/node_modules/@entelligentsia/pi-coding-agent/examples/rpc-extension-ui.ts +0 -632
  1342. package/node_modules/@entelligentsia/pi-coding-agent/examples/sdk/01-minimal.ts +0 -22
  1343. package/node_modules/@entelligentsia/pi-coding-agent/examples/sdk/02-custom-model.ts +0 -49
  1344. package/node_modules/@entelligentsia/pi-coding-agent/examples/sdk/03-custom-prompt.ts +0 -67
  1345. package/node_modules/@entelligentsia/pi-coding-agent/examples/sdk/04-skills.ts +0 -55
  1346. package/node_modules/@entelligentsia/pi-coding-agent/examples/sdk/05-tools.ts +0 -44
  1347. package/node_modules/@entelligentsia/pi-coding-agent/examples/sdk/06-extensions.ts +0 -95
  1348. package/node_modules/@entelligentsia/pi-coding-agent/examples/sdk/07-context-files.ts +0 -47
  1349. package/node_modules/@entelligentsia/pi-coding-agent/examples/sdk/08-prompt-templates.ts +0 -51
  1350. package/node_modules/@entelligentsia/pi-coding-agent/examples/sdk/09-api-keys-and-oauth.ts +0 -48
  1351. package/node_modules/@entelligentsia/pi-coding-agent/examples/sdk/10-settings.ts +0 -53
  1352. package/node_modules/@entelligentsia/pi-coding-agent/examples/sdk/11-sessions.ts +0 -48
  1353. package/node_modules/@entelligentsia/pi-coding-agent/examples/sdk/12-full-control.ts +0 -73
  1354. package/node_modules/@entelligentsia/pi-coding-agent/examples/sdk/13-session-runtime.ts +0 -67
  1355. package/node_modules/@entelligentsia/pi-coding-agent/examples/sdk/README.md +0 -147
  1356. package/node_modules/@entelligentsia/pi-coding-agent/package.json +0 -97
  1357. package/node_modules/@entelligentsia/pi-tui/README.md +0 -779
  1358. package/node_modules/@entelligentsia/pi-tui/dist/components/image.d.ts.map +0 -1
  1359. package/node_modules/@entelligentsia/pi-tui/dist/components/image.js +0 -76
  1360. package/node_modules/@entelligentsia/pi-tui/dist/components/image.js.map +0 -1
  1361. package/node_modules/@entelligentsia/pi-tui/dist/components/markdown.d.ts +0 -95
  1362. package/node_modules/@entelligentsia/pi-tui/dist/components/markdown.d.ts.map +0 -1
  1363. package/node_modules/@entelligentsia/pi-tui/dist/components/markdown.js +0 -688
  1364. package/node_modules/@entelligentsia/pi-tui/dist/components/markdown.js.map +0 -1
  1365. package/node_modules/@entelligentsia/pi-tui/dist/stdin-buffer.d.ts.map +0 -1
  1366. package/node_modules/@entelligentsia/pi-tui/dist/stdin-buffer.js +0 -339
  1367. package/node_modules/@entelligentsia/pi-tui/dist/stdin-buffer.js.map +0 -1
  1368. package/node_modules/@entelligentsia/pi-tui/dist/terminal-image.d.ts +0 -85
  1369. package/node_modules/@entelligentsia/pi-tui/dist/terminal-image.d.ts.map +0 -1
  1370. package/node_modules/@entelligentsia/pi-tui/dist/terminal-image.js +0 -324
  1371. package/node_modules/@entelligentsia/pi-tui/dist/terminal-image.js.map +0 -1
  1372. package/node_modules/@entelligentsia/pi-tui/package.json +0 -49
  1373. package/node_modules/@tokenizer/inflate/LICENSE +0 -15
  1374. package/node_modules/@tokenizer/inflate/README.md +0 -114
  1375. package/node_modules/@tokenizer/inflate/lib/GzipHandler.d.ts +0 -6
  1376. package/node_modules/@tokenizer/inflate/lib/GzipHandler.js +0 -19
  1377. package/node_modules/@tokenizer/inflate/lib/ZipHandler.d.ts +0 -26
  1378. package/node_modules/@tokenizer/inflate/lib/ZipHandler.js +0 -233
  1379. package/node_modules/@tokenizer/inflate/lib/ZipToken.d.ts +0 -94
  1380. package/node_modules/@tokenizer/inflate/lib/ZipToken.js +0 -117
  1381. package/node_modules/@tokenizer/inflate/lib/index.d.ts +0 -3
  1382. package/node_modules/@tokenizer/inflate/lib/index.js +0 -2
  1383. package/node_modules/@tokenizer/inflate/package.json +0 -76
  1384. package/node_modules/@tokenizer/token/README.md +0 -19
  1385. package/node_modules/@tokenizer/token/index.d.ts +0 -30
  1386. package/node_modules/@tokenizer/token/package.json +0 -33
  1387. package/node_modules/@tootallnate/quickjs-emscripten/LICENSE +0 -21
  1388. package/node_modules/@tootallnate/quickjs-emscripten/README.md +0 -597
  1389. package/node_modules/@tootallnate/quickjs-emscripten/c/interface.c +0 -819
  1390. package/node_modules/@tootallnate/quickjs-emscripten/dist/asyncify-helpers.d.ts +0 -24
  1391. package/node_modules/@tootallnate/quickjs-emscripten/dist/asyncify-helpers.js +0 -53
  1392. package/node_modules/@tootallnate/quickjs-emscripten/dist/asyncify-helpers.js.map +0 -1
  1393. package/node_modules/@tootallnate/quickjs-emscripten/dist/context-asyncify.d.ts +0 -48
  1394. package/node_modules/@tootallnate/quickjs-emscripten/dist/context-asyncify.js +0 -58
  1395. package/node_modules/@tootallnate/quickjs-emscripten/dist/context-asyncify.js.map +0 -1
  1396. package/node_modules/@tootallnate/quickjs-emscripten/dist/context.d.ts +0 -371
  1397. package/node_modules/@tootallnate/quickjs-emscripten/dist/context.js +0 -691
  1398. package/node_modules/@tootallnate/quickjs-emscripten/dist/context.js.map +0 -1
  1399. package/node_modules/@tootallnate/quickjs-emscripten/dist/debug.d.ts +0 -5
  1400. package/node_modules/@tootallnate/quickjs-emscripten/dist/debug.js +0 -6
  1401. package/node_modules/@tootallnate/quickjs-emscripten/dist/debug.js.map +0 -1
  1402. package/node_modules/@tootallnate/quickjs-emscripten/dist/deferred-promise.d.ts +0 -75
  1403. package/node_modules/@tootallnate/quickjs-emscripten/dist/deferred-promise.js +0 -96
  1404. package/node_modules/@tootallnate/quickjs-emscripten/dist/deferred-promise.js.map +0 -1
  1405. package/node_modules/@tootallnate/quickjs-emscripten/dist/emscripten-types.d.ts +0 -97
  1406. package/node_modules/@tootallnate/quickjs-emscripten/dist/emscripten-types.js +0 -15
  1407. package/node_modules/@tootallnate/quickjs-emscripten/dist/emscripten-types.js.map +0 -1
  1408. package/node_modules/@tootallnate/quickjs-emscripten/dist/errors.d.ts +0 -28
  1409. package/node_modules/@tootallnate/quickjs-emscripten/dist/errors.js +0 -58
  1410. package/node_modules/@tootallnate/quickjs-emscripten/dist/errors.js.map +0 -1
  1411. package/node_modules/@tootallnate/quickjs-emscripten/dist/esmHelpers.d.ts +0 -9
  1412. package/node_modules/@tootallnate/quickjs-emscripten/dist/esmHelpers.js +0 -19
  1413. package/node_modules/@tootallnate/quickjs-emscripten/dist/esmHelpers.js.map +0 -1
  1414. package/node_modules/@tootallnate/quickjs-emscripten/dist/generated/emscripten-module.WASM_RELEASE_SYNC.d.ts +0 -5
  1415. package/node_modules/@tootallnate/quickjs-emscripten/dist/generated/emscripten-module.WASM_RELEASE_SYNC.js +0 -387
  1416. package/node_modules/@tootallnate/quickjs-emscripten/dist/generated/emscripten-module.WASM_RELEASE_SYNC.js.map +0 -1
  1417. package/node_modules/@tootallnate/quickjs-emscripten/dist/generated/ffi.WASM_RELEASE_SYNC.d.ts +0 -67
  1418. package/node_modules/@tootallnate/quickjs-emscripten/dist/generated/ffi.WASM_RELEASE_SYNC.js +0 -71
  1419. package/node_modules/@tootallnate/quickjs-emscripten/dist/generated/ffi.WASM_RELEASE_SYNC.js.map +0 -1
  1420. package/node_modules/@tootallnate/quickjs-emscripten/dist/index.d.ts +0 -75
  1421. package/node_modules/@tootallnate/quickjs-emscripten/dist/index.js +0 -128
  1422. package/node_modules/@tootallnate/quickjs-emscripten/dist/index.js.map +0 -1
  1423. package/node_modules/@tootallnate/quickjs-emscripten/dist/lifetime.d.ts +0 -115
  1424. package/node_modules/@tootallnate/quickjs-emscripten/dist/lifetime.js +0 -227
  1425. package/node_modules/@tootallnate/quickjs-emscripten/dist/lifetime.js.map +0 -1
  1426. package/node_modules/@tootallnate/quickjs-emscripten/dist/memory.d.ts +0 -18
  1427. package/node_modules/@tootallnate/quickjs-emscripten/dist/memory.js +0 -41
  1428. package/node_modules/@tootallnate/quickjs-emscripten/dist/memory.js.map +0 -1
  1429. package/node_modules/@tootallnate/quickjs-emscripten/dist/module-asyncify.d.ts +0 -53
  1430. package/node_modules/@tootallnate/quickjs-emscripten/dist/module-asyncify.js +0 -97
  1431. package/node_modules/@tootallnate/quickjs-emscripten/dist/module-asyncify.js.map +0 -1
  1432. package/node_modules/@tootallnate/quickjs-emscripten/dist/module-test.d.ts +0 -27
  1433. package/node_modules/@tootallnate/quickjs-emscripten/dist/module-test.js +0 -77
  1434. package/node_modules/@tootallnate/quickjs-emscripten/dist/module-test.js.map +0 -1
  1435. package/node_modules/@tootallnate/quickjs-emscripten/dist/module.d.ts +0 -152
  1436. package/node_modules/@tootallnate/quickjs-emscripten/dist/module.js +0 -302
  1437. package/node_modules/@tootallnate/quickjs-emscripten/dist/module.js.map +0 -1
  1438. package/node_modules/@tootallnate/quickjs-emscripten/dist/runtime-asyncify.d.ts +0 -38
  1439. package/node_modules/@tootallnate/quickjs-emscripten/dist/runtime-asyncify.js +0 -49
  1440. package/node_modules/@tootallnate/quickjs-emscripten/dist/runtime-asyncify.js.map +0 -1
  1441. package/node_modules/@tootallnate/quickjs-emscripten/dist/runtime.d.ts +0 -174
  1442. package/node_modules/@tootallnate/quickjs-emscripten/dist/runtime.js +0 -300
  1443. package/node_modules/@tootallnate/quickjs-emscripten/dist/runtime.js.map +0 -1
  1444. package/node_modules/@tootallnate/quickjs-emscripten/dist/types-ffi.d.ts +0 -114
  1445. package/node_modules/@tootallnate/quickjs-emscripten/dist/types-ffi.js +0 -38
  1446. package/node_modules/@tootallnate/quickjs-emscripten/dist/types-ffi.js.map +0 -1
  1447. package/node_modules/@tootallnate/quickjs-emscripten/dist/types.d.ts +0 -158
  1448. package/node_modules/@tootallnate/quickjs-emscripten/dist/types.js +0 -58
  1449. package/node_modules/@tootallnate/quickjs-emscripten/dist/types.js.map +0 -1
  1450. package/node_modules/@tootallnate/quickjs-emscripten/dist/variants.d.ts +0 -113
  1451. package/node_modules/@tootallnate/quickjs-emscripten/dist/variants.js +0 -169
  1452. package/node_modules/@tootallnate/quickjs-emscripten/dist/variants.js.map +0 -1
  1453. package/node_modules/@tootallnate/quickjs-emscripten/dist/vm-interface.d.ts +0 -68
  1454. package/node_modules/@tootallnate/quickjs-emscripten/dist/vm-interface.js +0 -12
  1455. package/node_modules/@tootallnate/quickjs-emscripten/dist/vm-interface.js.map +0 -1
  1456. package/node_modules/@tootallnate/quickjs-emscripten/package.json +0 -60
  1457. package/node_modules/@types/mime-types/LICENSE +0 -21
  1458. package/node_modules/@types/mime-types/README.md +0 -28
  1459. package/node_modules/@types/mime-types/index.d.ts +0 -9
  1460. package/node_modules/@types/mime-types/package.json +0 -25
  1461. package/node_modules/@types/yauzl/LICENSE +0 -21
  1462. package/node_modules/@types/yauzl/README.md +0 -15
  1463. package/node_modules/@types/yauzl/index.d.ts +0 -110
  1464. package/node_modules/@types/yauzl/package.json +0 -27
  1465. package/node_modules/ansi-regex/index.d.ts +0 -33
  1466. package/node_modules/ansi-regex/index.js +0 -14
  1467. package/node_modules/ansi-regex/license +0 -9
  1468. package/node_modules/ansi-regex/package.json +0 -61
  1469. package/node_modules/ansi-regex/readme.md +0 -66
  1470. package/node_modules/ansi-styles/index.d.ts +0 -345
  1471. package/node_modules/ansi-styles/index.js +0 -163
  1472. package/node_modules/ansi-styles/license +0 -9
  1473. package/node_modules/ansi-styles/package.json +0 -56
  1474. package/node_modules/ansi-styles/readme.md +0 -152
  1475. package/node_modules/any-promise/.jshintrc +0 -4
  1476. package/node_modules/any-promise/.npmignore +0 -7
  1477. package/node_modules/any-promise/LICENSE +0 -19
  1478. package/node_modules/any-promise/README.md +0 -161
  1479. package/node_modules/any-promise/implementation.d.ts +0 -3
  1480. package/node_modules/any-promise/implementation.js +0 -1
  1481. package/node_modules/any-promise/index.d.ts +0 -73
  1482. package/node_modules/any-promise/index.js +0 -1
  1483. package/node_modules/any-promise/loader.js +0 -78
  1484. package/node_modules/any-promise/optional.js +0 -6
  1485. package/node_modules/any-promise/package.json +0 -45
  1486. package/node_modules/any-promise/register/bluebird.d.ts +0 -1
  1487. package/node_modules/any-promise/register/bluebird.js +0 -2
  1488. package/node_modules/any-promise/register/es6-promise.d.ts +0 -1
  1489. package/node_modules/any-promise/register/es6-promise.js +0 -2
  1490. package/node_modules/any-promise/register/lie.d.ts +0 -1
  1491. package/node_modules/any-promise/register/lie.js +0 -2
  1492. package/node_modules/any-promise/register/native-promise-only.d.ts +0 -1
  1493. package/node_modules/any-promise/register/native-promise-only.js +0 -2
  1494. package/node_modules/any-promise/register/pinkie.d.ts +0 -1
  1495. package/node_modules/any-promise/register/pinkie.js +0 -2
  1496. package/node_modules/any-promise/register/promise.d.ts +0 -1
  1497. package/node_modules/any-promise/register/promise.js +0 -2
  1498. package/node_modules/any-promise/register/q.d.ts +0 -1
  1499. package/node_modules/any-promise/register/q.js +0 -2
  1500. package/node_modules/any-promise/register/rsvp.d.ts +0 -1
  1501. package/node_modules/any-promise/register/rsvp.js +0 -2
  1502. package/node_modules/any-promise/register/vow.d.ts +0 -1
  1503. package/node_modules/any-promise/register/vow.js +0 -2
  1504. package/node_modules/any-promise/register/when.d.ts +0 -1
  1505. package/node_modules/any-promise/register/when.js +0 -2
  1506. package/node_modules/any-promise/register-shim.js +0 -18
  1507. package/node_modules/any-promise/register.d.ts +0 -17
  1508. package/node_modules/any-promise/register.js +0 -94
  1509. package/node_modules/argparse/CHANGELOG.md +0 -216
  1510. package/node_modules/ast-types/.github/dependabot.yml +0 -9
  1511. package/node_modules/ast-types/.github/workflows/main.yml +0 -29
  1512. package/node_modules/ast-types/LICENSE +0 -20
  1513. package/node_modules/ast-types/README.md +0 -512
  1514. package/node_modules/ast-types/def/babel-core.d.ts +0 -2
  1515. package/node_modules/ast-types/def/babel-core.js +0 -256
  1516. package/node_modules/ast-types/def/babel.d.ts +0 -2
  1517. package/node_modules/ast-types/def/babel.js +0 -11
  1518. package/node_modules/ast-types/def/core.d.ts +0 -2
  1519. package/node_modules/ast-types/def/core.js +0 -298
  1520. package/node_modules/ast-types/def/es-proposals.d.ts +0 -2
  1521. package/node_modules/ast-types/def/es-proposals.js +0 -33
  1522. package/node_modules/ast-types/def/es2020.d.ts +0 -2
  1523. package/node_modules/ast-types/def/es2020.js +0 -16
  1524. package/node_modules/ast-types/def/es6.d.ts +0 -2
  1525. package/node_modules/ast-types/def/es6.js +0 -210
  1526. package/node_modules/ast-types/def/es7.d.ts +0 -2
  1527. package/node_modules/ast-types/def/es7.js +0 -34
  1528. package/node_modules/ast-types/def/esprima.d.ts +0 -2
  1529. package/node_modules/ast-types/def/esprima.js +0 -49
  1530. package/node_modules/ast-types/def/flow.d.ts +0 -2
  1531. package/node_modules/ast-types/def/flow.js +0 -292
  1532. package/node_modules/ast-types/def/jsx.d.ts +0 -2
  1533. package/node_modules/ast-types/def/jsx.js +0 -103
  1534. package/node_modules/ast-types/def/type-annotations.d.ts +0 -7
  1535. package/node_modules/ast-types/def/type-annotations.js +0 -40
  1536. package/node_modules/ast-types/def/typescript.d.ts +0 -2
  1537. package/node_modules/ast-types/def/typescript.js +0 -344
  1538. package/node_modules/ast-types/fork.d.ts +0 -42
  1539. package/node_modules/ast-types/fork.js +0 -52
  1540. package/node_modules/ast-types/gen/builders.d.ts +0 -2584
  1541. package/node_modules/ast-types/gen/builders.js +0 -2
  1542. package/node_modules/ast-types/gen/kinds.d.ts +0 -264
  1543. package/node_modules/ast-types/gen/kinds.js +0 -2
  1544. package/node_modules/ast-types/gen/namedTypes.d.ts +0 -1809
  1545. package/node_modules/ast-types/gen/namedTypes.js +0 -6
  1546. package/node_modules/ast-types/gen/visitor.d.ts +0 -268
  1547. package/node_modules/ast-types/gen/visitor.js +0 -2
  1548. package/node_modules/ast-types/lib/equiv.d.ts +0 -5
  1549. package/node_modules/ast-types/lib/equiv.js +0 -154
  1550. package/node_modules/ast-types/lib/node-path.d.ts +0 -22
  1551. package/node_modules/ast-types/lib/node-path.js +0 -411
  1552. package/node_modules/ast-types/lib/path-visitor.d.ts +0 -52
  1553. package/node_modules/ast-types/lib/path-visitor.js +0 -343
  1554. package/node_modules/ast-types/lib/path.d.ts +0 -25
  1555. package/node_modules/ast-types/lib/path.js +0 -331
  1556. package/node_modules/ast-types/lib/scope.d.ts +0 -26
  1557. package/node_modules/ast-types/lib/scope.js +0 -318
  1558. package/node_modules/ast-types/lib/shared.d.ts +0 -13
  1559. package/node_modules/ast-types/lib/shared.js +0 -47
  1560. package/node_modules/ast-types/lib/types.d.ts +0 -136
  1561. package/node_modules/ast-types/lib/types.js +0 -780
  1562. package/node_modules/ast-types/main.d.ts +0 -28
  1563. package/node_modules/ast-types/main.js +0 -53
  1564. package/node_modules/ast-types/package.json +0 -65
  1565. package/node_modules/ast-types/tsconfig.json +0 -21
  1566. package/node_modules/ast-types/types.d.ts +0 -6
  1567. package/node_modules/ast-types/types.js +0 -2
  1568. package/node_modules/basic-ftp/LICENSE.txt +0 -19
  1569. package/node_modules/basic-ftp/README.md +0 -244
  1570. package/node_modules/basic-ftp/dist/Client.d.ts +0 -340
  1571. package/node_modules/basic-ftp/dist/Client.js +0 -785
  1572. package/node_modules/basic-ftp/dist/FileInfo.d.ts +0 -80
  1573. package/node_modules/basic-ftp/dist/FileInfo.js +0 -92
  1574. package/node_modules/basic-ftp/dist/FtpContext.d.ts +0 -175
  1575. package/node_modules/basic-ftp/dist/FtpContext.js +0 -375
  1576. package/node_modules/basic-ftp/dist/ProgressTracker.d.ts +0 -45
  1577. package/node_modules/basic-ftp/dist/ProgressTracker.js +0 -72
  1578. package/node_modules/basic-ftp/dist/StringEncoding.d.ts +0 -1
  1579. package/node_modules/basic-ftp/dist/StringEncoding.js +0 -2
  1580. package/node_modules/basic-ftp/dist/StringWriter.d.ts +0 -10
  1581. package/node_modules/basic-ftp/dist/StringWriter.js +0 -29
  1582. package/node_modules/basic-ftp/dist/index.d.ts +0 -9
  1583. package/node_modules/basic-ftp/dist/index.js +0 -28
  1584. package/node_modules/basic-ftp/dist/netUtils.d.ts +0 -21
  1585. package/node_modules/basic-ftp/dist/netUtils.js +0 -66
  1586. package/node_modules/basic-ftp/dist/parseControlResponse.d.ts +0 -22
  1587. package/node_modules/basic-ftp/dist/parseControlResponse.js +0 -66
  1588. package/node_modules/basic-ftp/dist/parseList.d.ts +0 -5
  1589. package/node_modules/basic-ftp/dist/parseList.js +0 -79
  1590. package/node_modules/basic-ftp/dist/parseListDOS.d.ts +0 -12
  1591. package/node_modules/basic-ftp/dist/parseListDOS.js +0 -52
  1592. package/node_modules/basic-ftp/dist/parseListMLSD.d.ts +0 -20
  1593. package/node_modules/basic-ftp/dist/parseListMLSD.js +0 -187
  1594. package/node_modules/basic-ftp/dist/parseListUnix.d.ts +0 -12
  1595. package/node_modules/basic-ftp/dist/parseListUnix.js +0 -155
  1596. package/node_modules/basic-ftp/dist/transfer.d.ts +0 -39
  1597. package/node_modules/basic-ftp/dist/transfer.js +0 -318
  1598. package/node_modules/basic-ftp/package.json +0 -52
  1599. package/node_modules/buffer-crc32/LICENSE +0 -19
  1600. package/node_modules/buffer-crc32/README.md +0 -47
  1601. package/node_modules/buffer-crc32/index.js +0 -111
  1602. package/node_modules/buffer-crc32/package.json +0 -39
  1603. package/node_modules/cli-highlight/LICENSE.txt +0 -15
  1604. package/node_modules/cli-highlight/README.md +0 -88
  1605. package/node_modules/cli-highlight/bin/highlight +0 -2
  1606. package/node_modules/cli-highlight/dist/cli.d.ts +0 -1
  1607. package/node_modules/cli-highlight/dist/cli.js +0 -102
  1608. package/node_modules/cli-highlight/dist/cli.js.map +0 -1
  1609. package/node_modules/cli-highlight/dist/index.d.ts +0 -53
  1610. package/node_modules/cli-highlight/dist/index.js +0 -112
  1611. package/node_modules/cli-highlight/dist/index.js.map +0 -1
  1612. package/node_modules/cli-highlight/dist/test/test.d.ts +0 -1
  1613. package/node_modules/cli-highlight/dist/test/test.js +0 -62
  1614. package/node_modules/cli-highlight/dist/test/test.js.map +0 -1
  1615. package/node_modules/cli-highlight/dist/theme.d.ts +0 -270
  1616. package/node_modules/cli-highlight/dist/theme.js +0 -265
  1617. package/node_modules/cli-highlight/dist/theme.js.map +0 -1
  1618. package/node_modules/cli-highlight/node_modules/chalk/index.d.ts +0 -415
  1619. package/node_modules/cli-highlight/node_modules/chalk/license +0 -9
  1620. package/node_modules/cli-highlight/node_modules/chalk/package.json +0 -68
  1621. package/node_modules/cli-highlight/node_modules/chalk/readme.md +0 -341
  1622. package/node_modules/cli-highlight/node_modules/chalk/source/index.js +0 -229
  1623. package/node_modules/cli-highlight/node_modules/chalk/source/templates.js +0 -134
  1624. package/node_modules/cli-highlight/node_modules/chalk/source/util.js +0 -39
  1625. package/node_modules/cli-highlight/package.json +0 -129
  1626. package/node_modules/cliui/CHANGELOG.md +0 -121
  1627. package/node_modules/cliui/LICENSE.txt +0 -14
  1628. package/node_modules/cliui/README.md +0 -141
  1629. package/node_modules/cliui/build/index.cjs +0 -302
  1630. package/node_modules/cliui/build/lib/index.js +0 -287
  1631. package/node_modules/cliui/build/lib/string-utils.js +0 -27
  1632. package/node_modules/cliui/index.mjs +0 -13
  1633. package/node_modules/cliui/node_modules/ansi-regex/index.d.ts +0 -37
  1634. package/node_modules/cliui/node_modules/ansi-regex/index.js +0 -10
  1635. package/node_modules/cliui/node_modules/ansi-regex/license +0 -9
  1636. package/node_modules/cliui/node_modules/ansi-regex/package.json +0 -55
  1637. package/node_modules/cliui/node_modules/ansi-regex/readme.md +0 -78
  1638. package/node_modules/cliui/node_modules/strip-ansi/index.d.ts +0 -17
  1639. package/node_modules/cliui/node_modules/strip-ansi/index.js +0 -4
  1640. package/node_modules/cliui/node_modules/strip-ansi/license +0 -9
  1641. package/node_modules/cliui/node_modules/strip-ansi/package.json +0 -54
  1642. package/node_modules/cliui/node_modules/strip-ansi/readme.md +0 -46
  1643. package/node_modules/cliui/package.json +0 -83
  1644. package/node_modules/color-convert/CHANGELOG.md +0 -54
  1645. package/node_modules/color-convert/LICENSE +0 -21
  1646. package/node_modules/color-convert/README.md +0 -68
  1647. package/node_modules/color-convert/conversions.js +0 -839
  1648. package/node_modules/color-convert/index.js +0 -81
  1649. package/node_modules/color-convert/package.json +0 -48
  1650. package/node_modules/color-convert/route.js +0 -97
  1651. package/node_modules/color-name/LICENSE +0 -8
  1652. package/node_modules/color-name/README.md +0 -11
  1653. package/node_modules/color-name/index.js +0 -152
  1654. package/node_modules/color-name/package.json +0 -28
  1655. package/node_modules/degenerator/README.md +0 -117
  1656. package/node_modules/degenerator/dist/compile.d.ts +0 -11
  1657. package/node_modules/degenerator/dist/compile.d.ts.map +0 -1
  1658. package/node_modules/degenerator/dist/compile.js +0 -107
  1659. package/node_modules/degenerator/dist/compile.js.map +0 -1
  1660. package/node_modules/degenerator/dist/degenerator.d.ts +0 -12
  1661. package/node_modules/degenerator/dist/degenerator.d.ts.map +0 -1
  1662. package/node_modules/degenerator/dist/degenerator.js +0 -156
  1663. package/node_modules/degenerator/dist/degenerator.js.map +0 -1
  1664. package/node_modules/degenerator/dist/index.d.ts +0 -3
  1665. package/node_modules/degenerator/dist/index.d.ts.map +0 -1
  1666. package/node_modules/degenerator/dist/index.js +0 -19
  1667. package/node_modules/degenerator/dist/index.js.map +0 -1
  1668. package/node_modules/degenerator/package.json +0 -42
  1669. package/node_modules/emoji-regex/LICENSE-MIT.txt +0 -20
  1670. package/node_modules/emoji-regex/README.md +0 -73
  1671. package/node_modules/emoji-regex/es2015/index.js +0 -6
  1672. package/node_modules/emoji-regex/es2015/text.js +0 -6
  1673. package/node_modules/emoji-regex/index.d.ts +0 -23
  1674. package/node_modules/emoji-regex/index.js +0 -6
  1675. package/node_modules/emoji-regex/package.json +0 -50
  1676. package/node_modules/emoji-regex/text.js +0 -6
  1677. package/node_modules/end-of-stream/LICENSE +0 -21
  1678. package/node_modules/end-of-stream/README.md +0 -54
  1679. package/node_modules/end-of-stream/index.js +0 -96
  1680. package/node_modules/end-of-stream/package.json +0 -37
  1681. package/node_modules/escalade/dist/index.js +0 -22
  1682. package/node_modules/escalade/dist/index.mjs +0 -22
  1683. package/node_modules/escalade/index.d.mts +0 -11
  1684. package/node_modules/escalade/index.d.ts +0 -15
  1685. package/node_modules/escalade/license +0 -9
  1686. package/node_modules/escalade/package.json +0 -74
  1687. package/node_modules/escalade/readme.md +0 -211
  1688. package/node_modules/escalade/sync/index.d.mts +0 -9
  1689. package/node_modules/escalade/sync/index.d.ts +0 -13
  1690. package/node_modules/escalade/sync/index.js +0 -18
  1691. package/node_modules/escalade/sync/index.mjs +0 -18
  1692. package/node_modules/escodegen/LICENSE.BSD +0 -21
  1693. package/node_modules/escodegen/README.md +0 -84
  1694. package/node_modules/escodegen/bin/escodegen.js +0 -77
  1695. package/node_modules/escodegen/bin/esgenerate.js +0 -64
  1696. package/node_modules/escodegen/escodegen.js +0 -2667
  1697. package/node_modules/escodegen/package.json +0 -63
  1698. package/node_modules/esprima/ChangeLog +0 -235
  1699. package/node_modules/esprima/LICENSE.BSD +0 -21
  1700. package/node_modules/esprima/README.md +0 -46
  1701. package/node_modules/esprima/bin/esparse.js +0 -139
  1702. package/node_modules/esprima/bin/esvalidate.js +0 -236
  1703. package/node_modules/esprima/dist/esprima.js +0 -6709
  1704. package/node_modules/esprima/package.json +0 -112
  1705. package/node_modules/estraverse/.jshintrc +0 -16
  1706. package/node_modules/estraverse/LICENSE.BSD +0 -19
  1707. package/node_modules/estraverse/README.md +0 -153
  1708. package/node_modules/estraverse/estraverse.js +0 -805
  1709. package/node_modules/estraverse/gulpfile.js +0 -70
  1710. package/node_modules/estraverse/package.json +0 -40
  1711. package/node_modules/esutils/LICENSE.BSD +0 -19
  1712. package/node_modules/esutils/README.md +0 -174
  1713. package/node_modules/esutils/lib/ast.js +0 -144
  1714. package/node_modules/esutils/lib/code.js +0 -135
  1715. package/node_modules/esutils/lib/keyword.js +0 -165
  1716. package/node_modules/esutils/lib/utils.js +0 -33
  1717. package/node_modules/esutils/package.json +0 -44
  1718. package/node_modules/extract-zip/LICENSE +0 -23
  1719. package/node_modules/extract-zip/cli.js +0 -19
  1720. package/node_modules/extract-zip/index.d.ts +0 -21
  1721. package/node_modules/extract-zip/index.js +0 -173
  1722. package/node_modules/extract-zip/package.json +0 -80
  1723. package/node_modules/extract-zip/readme.md +0 -57
  1724. package/node_modules/fd-slicer/.npmignore +0 -2
  1725. package/node_modules/fd-slicer/.travis.yml +0 -7
  1726. package/node_modules/fd-slicer/CHANGELOG.md +0 -49
  1727. package/node_modules/fd-slicer/LICENSE +0 -21
  1728. package/node_modules/fd-slicer/README.md +0 -199
  1729. package/node_modules/fd-slicer/index.js +0 -296
  1730. package/node_modules/fd-slicer/package.json +0 -36
  1731. package/node_modules/fd-slicer/test/test.js +0 -350
  1732. package/node_modules/file-type/core.d.ts +0 -253
  1733. package/node_modules/file-type/core.js +0 -2899
  1734. package/node_modules/file-type/index.d.ts +0 -98
  1735. package/node_modules/file-type/index.js +0 -163
  1736. package/node_modules/file-type/license +0 -9
  1737. package/node_modules/file-type/package.json +0 -290
  1738. package/node_modules/file-type/readme.md +0 -667
  1739. package/node_modules/file-type/supported.js +0 -360
  1740. package/node_modules/file-type/util.js +0 -60
  1741. package/node_modules/get-caller-file/LICENSE.md +0 -6
  1742. package/node_modules/get-caller-file/README.md +0 -41
  1743. package/node_modules/get-caller-file/index.d.ts +0 -2
  1744. package/node_modules/get-caller-file/index.js +0 -22
  1745. package/node_modules/get-caller-file/index.js.map +0 -1
  1746. package/node_modules/get-caller-file/package.json +0 -42
  1747. package/node_modules/get-stream/buffer-stream.js +0 -52
  1748. package/node_modules/get-stream/index.d.ts +0 -108
  1749. package/node_modules/get-stream/index.js +0 -60
  1750. package/node_modules/get-stream/license +0 -9
  1751. package/node_modules/get-stream/package.json +0 -50
  1752. package/node_modules/get-stream/readme.md +0 -124
  1753. package/node_modules/get-uri/LICENSE +0 -22
  1754. package/node_modules/get-uri/README.md +0 -109
  1755. package/node_modules/get-uri/dist/data.d.ts +0 -16
  1756. package/node_modules/get-uri/dist/data.js +0 -43
  1757. package/node_modules/get-uri/dist/data.js.map +0 -1
  1758. package/node_modules/get-uri/dist/file.d.ts +0 -17
  1759. package/node_modules/get-uri/dist/file.js +0 -57
  1760. package/node_modules/get-uri/dist/file.js.map +0 -1
  1761. package/node_modules/get-uri/dist/ftp.d.ts +0 -14
  1762. package/node_modules/get-uri/dist/ftp.js +0 -93
  1763. package/node_modules/get-uri/dist/ftp.js.map +0 -1
  1764. package/node_modules/get-uri/dist/http-error.d.ts +0 -8
  1765. package/node_modules/get-uri/dist/http-error.js +0 -15
  1766. package/node_modules/get-uri/dist/http-error.js.map +0 -1
  1767. package/node_modules/get-uri/dist/http.d.ts +0 -29
  1768. package/node_modules/get-uri/dist/http.js +0 -191
  1769. package/node_modules/get-uri/dist/http.js.map +0 -1
  1770. package/node_modules/get-uri/dist/https.d.ts +0 -6
  1771. package/node_modules/get-uri/dist/https.js +0 -16
  1772. package/node_modules/get-uri/dist/https.js.map +0 -1
  1773. package/node_modules/get-uri/dist/index.d.ts +0 -37
  1774. package/node_modules/get-uri/dist/index.js +0 -57
  1775. package/node_modules/get-uri/dist/index.js.map +0 -1
  1776. package/node_modules/get-uri/dist/notfound.d.ts +0 -10
  1777. package/node_modules/get-uri/dist/notfound.js +0 -16
  1778. package/node_modules/get-uri/dist/notfound.js.map +0 -1
  1779. package/node_modules/get-uri/dist/notmodified.d.ts +0 -10
  1780. package/node_modules/get-uri/dist/notmodified.js +0 -17
  1781. package/node_modules/get-uri/dist/notmodified.js.map +0 -1
  1782. package/node_modules/get-uri/node_modules/data-uri-to-buffer/LICENSE +0 -22
  1783. package/node_modules/get-uri/node_modules/data-uri-to-buffer/README.md +0 -61
  1784. package/node_modules/get-uri/node_modules/data-uri-to-buffer/dist/common.d.ts +0 -17
  1785. package/node_modules/get-uri/node_modules/data-uri-to-buffer/dist/common.d.ts.map +0 -1
  1786. package/node_modules/get-uri/node_modules/data-uri-to-buffer/dist/common.js +0 -54
  1787. package/node_modules/get-uri/node_modules/data-uri-to-buffer/dist/common.js.map +0 -1
  1788. package/node_modules/get-uri/node_modules/data-uri-to-buffer/dist/index.d.ts +0 -8
  1789. package/node_modules/get-uri/node_modules/data-uri-to-buffer/dist/index.d.ts.map +0 -1
  1790. package/node_modules/get-uri/node_modules/data-uri-to-buffer/dist/index.js +0 -48
  1791. package/node_modules/get-uri/node_modules/data-uri-to-buffer/dist/index.js.map +0 -1
  1792. package/node_modules/get-uri/node_modules/data-uri-to-buffer/dist/node.d.ts +0 -8
  1793. package/node_modules/get-uri/node_modules/data-uri-to-buffer/dist/node.d.ts.map +0 -1
  1794. package/node_modules/get-uri/node_modules/data-uri-to-buffer/dist/node.js +0 -26
  1795. package/node_modules/get-uri/node_modules/data-uri-to-buffer/dist/node.js.map +0 -1
  1796. package/node_modules/get-uri/node_modules/data-uri-to-buffer/package.json +0 -48
  1797. package/node_modules/get-uri/package.json +0 -58
  1798. package/node_modules/has-flag/index.d.ts +0 -39
  1799. package/node_modules/has-flag/index.js +0 -8
  1800. package/node_modules/has-flag/license +0 -9
  1801. package/node_modules/has-flag/package.json +0 -46
  1802. package/node_modules/has-flag/readme.md +0 -89
  1803. package/node_modules/ieee754/LICENSE +0 -11
  1804. package/node_modules/ieee754/README.md +0 -51
  1805. package/node_modules/ieee754/index.d.ts +0 -10
  1806. package/node_modules/ieee754/index.js +0 -85
  1807. package/node_modules/ieee754/package.json +0 -52
  1808. package/node_modules/ip-address/LICENSE +0 -19
  1809. package/node_modules/ip-address/README.md +0 -278
  1810. package/node_modules/ip-address/dist/address-error.d.ts +0 -4
  1811. package/node_modules/ip-address/dist/address-error.js +0 -12
  1812. package/node_modules/ip-address/dist/address-error.js.map +0 -1
  1813. package/node_modules/ip-address/dist/common.d.ts +0 -20
  1814. package/node_modules/ip-address/dist/common.js +0 -67
  1815. package/node_modules/ip-address/dist/common.js.map +0 -1
  1816. package/node_modules/ip-address/dist/ip-address.d.ts +0 -7
  1817. package/node_modules/ip-address/dist/ip-address.js +0 -35
  1818. package/node_modules/ip-address/dist/ip-address.js.map +0 -1
  1819. package/node_modules/ip-address/dist/ipv4.d.ts +0 -267
  1820. package/node_modules/ip-address/dist/ipv4.js +0 -485
  1821. package/node_modules/ip-address/dist/ipv4.js.map +0 -1
  1822. package/node_modules/ip-address/dist/ipv6.d.ts +0 -489
  1823. package/node_modules/ip-address/dist/ipv6.js +0 -1217
  1824. package/node_modules/ip-address/dist/ipv6.js.map +0 -1
  1825. package/node_modules/ip-address/dist/v4/constants.d.ts +0 -4
  1826. package/node_modules/ip-address/dist/v4/constants.js +0 -8
  1827. package/node_modules/ip-address/dist/v4/constants.js.map +0 -1
  1828. package/node_modules/ip-address/dist/v6/constants.d.ts +0 -44
  1829. package/node_modules/ip-address/dist/v6/constants.js +0 -81
  1830. package/node_modules/ip-address/dist/v6/constants.js.map +0 -1
  1831. package/node_modules/ip-address/dist/v6/helpers.d.ts +0 -18
  1832. package/node_modules/ip-address/dist/v6/helpers.js +0 -54
  1833. package/node_modules/ip-address/dist/v6/helpers.js.map +0 -1
  1834. package/node_modules/ip-address/dist/v6/regular-expressions.d.ts +0 -5
  1835. package/node_modules/ip-address/dist/v6/regular-expressions.js +0 -95
  1836. package/node_modules/ip-address/dist/v6/regular-expressions.js.map +0 -1
  1837. package/node_modules/ip-address/package.json +0 -88
  1838. package/node_modules/is-fullwidth-code-point/index.d.ts +0 -17
  1839. package/node_modules/is-fullwidth-code-point/index.js +0 -50
  1840. package/node_modules/is-fullwidth-code-point/license +0 -9
  1841. package/node_modules/is-fullwidth-code-point/package.json +0 -42
  1842. package/node_modules/is-fullwidth-code-point/readme.md +0 -39
  1843. package/node_modules/mime-db/HISTORY.md +0 -541
  1844. package/node_modules/mime-db/LICENSE +0 -23
  1845. package/node_modules/mime-db/README.md +0 -109
  1846. package/node_modules/mime-db/db.json +0 -9342
  1847. package/node_modules/mime-db/index.js +0 -12
  1848. package/node_modules/mime-db/package.json +0 -56
  1849. package/node_modules/mime-types/HISTORY.md +0 -428
  1850. package/node_modules/mime-types/LICENSE +0 -23
  1851. package/node_modules/mime-types/README.md +0 -126
  1852. package/node_modules/mime-types/index.js +0 -211
  1853. package/node_modules/mime-types/mimeScore.js +0 -57
  1854. package/node_modules/mime-types/package.json +0 -49
  1855. package/node_modules/mz/HISTORY.md +0 -66
  1856. package/node_modules/mz/LICENSE +0 -22
  1857. package/node_modules/mz/README.md +0 -106
  1858. package/node_modules/mz/child_process.js +0 -8
  1859. package/node_modules/mz/crypto.js +0 -9
  1860. package/node_modules/mz/dns.js +0 -16
  1861. package/node_modules/mz/fs.js +0 -62
  1862. package/node_modules/mz/index.js +0 -8
  1863. package/node_modules/mz/package.json +0 -44
  1864. package/node_modules/mz/readline.js +0 -64
  1865. package/node_modules/mz/zlib.js +0 -13
  1866. package/node_modules/netmask/CHANGELOG.md +0 -66
  1867. package/node_modules/netmask/LICENSE.md +0 -21
  1868. package/node_modules/netmask/README.md +0 -112
  1869. package/node_modules/netmask/dist/netmask.d.ts +0 -21
  1870. package/node_modules/netmask/dist/netmask.js +0 -68
  1871. package/node_modules/netmask/dist/netmask4.d.ts +0 -20
  1872. package/node_modules/netmask/dist/netmask4.js +0 -189
  1873. package/node_modules/netmask/dist/netmask6.d.ts +0 -20
  1874. package/node_modules/netmask/dist/netmask6.js +0 -187
  1875. package/node_modules/netmask/package.json +0 -45
  1876. package/node_modules/object-assign/index.js +0 -90
  1877. package/node_modules/object-assign/license +0 -21
  1878. package/node_modules/object-assign/package.json +0 -42
  1879. package/node_modules/object-assign/readme.md +0 -61
  1880. package/node_modules/once/LICENSE +0 -15
  1881. package/node_modules/once/README.md +0 -79
  1882. package/node_modules/once/once.js +0 -42
  1883. package/node_modules/once/package.json +0 -33
  1884. package/node_modules/pac-proxy-agent/LICENSE +0 -22
  1885. package/node_modules/pac-proxy-agent/README.md +0 -27
  1886. package/node_modules/pac-proxy-agent/dist/index.d.ts +0 -60
  1887. package/node_modules/pac-proxy-agent/dist/index.d.ts.map +0 -1
  1888. package/node_modules/pac-proxy-agent/dist/index.js +0 -238
  1889. package/node_modules/pac-proxy-agent/dist/index.js.map +0 -1
  1890. package/node_modules/pac-proxy-agent/package.json +0 -58
  1891. package/node_modules/pac-resolver/LICENSE +0 -22
  1892. package/node_modules/pac-resolver/README.md +0 -59
  1893. package/node_modules/pac-resolver/dist/dateRange.d.ts +0 -67
  1894. package/node_modules/pac-resolver/dist/dateRange.d.ts.map +0 -1
  1895. package/node_modules/pac-resolver/dist/dateRange.js +0 -73
  1896. package/node_modules/pac-resolver/dist/dateRange.js.map +0 -1
  1897. package/node_modules/pac-resolver/dist/dnsDomainIs.d.ts +0 -23
  1898. package/node_modules/pac-resolver/dist/dnsDomainIs.d.ts.map +0 -1
  1899. package/node_modules/pac-resolver/dist/dnsDomainIs.js +0 -30
  1900. package/node_modules/pac-resolver/dist/dnsDomainIs.js.map +0 -1
  1901. package/node_modules/pac-resolver/dist/dnsDomainLevels.d.ts +0 -18
  1902. package/node_modules/pac-resolver/dist/dnsDomainLevels.d.ts.map +0 -1
  1903. package/node_modules/pac-resolver/dist/dnsDomainLevels.js +0 -28
  1904. package/node_modules/pac-resolver/dist/dnsDomainLevels.js.map +0 -1
  1905. package/node_modules/pac-resolver/dist/dnsResolve.d.ts +0 -16
  1906. package/node_modules/pac-resolver/dist/dnsResolve.d.ts.map +0 -1
  1907. package/node_modules/pac-resolver/dist/dnsResolve.js +0 -32
  1908. package/node_modules/pac-resolver/dist/dnsResolve.js.map +0 -1
  1909. package/node_modules/pac-resolver/dist/index.d.ts +0 -50
  1910. package/node_modules/pac-resolver/dist/index.d.ts.map +0 -1
  1911. package/node_modules/pac-resolver/dist/index.js +0 -87
  1912. package/node_modules/pac-resolver/dist/index.js.map +0 -1
  1913. package/node_modules/pac-resolver/dist/ip.d.ts +0 -8
  1914. package/node_modules/pac-resolver/dist/ip.d.ts.map +0 -1
  1915. package/node_modules/pac-resolver/dist/ip.js +0 -50
  1916. package/node_modules/pac-resolver/dist/ip.js.map +0 -1
  1917. package/node_modules/pac-resolver/dist/isInNet.d.ts +0 -24
  1918. package/node_modules/pac-resolver/dist/isInNet.d.ts.map +0 -1
  1919. package/node_modules/pac-resolver/dist/isInNet.js +0 -42
  1920. package/node_modules/pac-resolver/dist/isInNet.js.map +0 -1
  1921. package/node_modules/pac-resolver/dist/isPlainHostName.d.ts +0 -18
  1922. package/node_modules/pac-resolver/dist/isPlainHostName.d.ts.map +0 -1
  1923. package/node_modules/pac-resolver/dist/isPlainHostName.js +0 -23
  1924. package/node_modules/pac-resolver/dist/isPlainHostName.js.map +0 -1
  1925. package/node_modules/pac-resolver/dist/isResolvable.d.ts +0 -8
  1926. package/node_modules/pac-resolver/dist/isResolvable.d.ts.map +0 -1
  1927. package/node_modules/pac-resolver/dist/isResolvable.js +0 -23
  1928. package/node_modules/pac-resolver/dist/isResolvable.js.map +0 -1
  1929. package/node_modules/pac-resolver/dist/localHostOrDomainIs.d.ts +0 -26
  1930. package/node_modules/pac-resolver/dist/localHostOrDomainIs.d.ts.map +0 -1
  1931. package/node_modules/pac-resolver/dist/localHostOrDomainIs.js +0 -40
  1932. package/node_modules/pac-resolver/dist/localHostOrDomainIs.js.map +0 -1
  1933. package/node_modules/pac-resolver/dist/myIpAddress.d.ts +0 -16
  1934. package/node_modules/pac-resolver/dist/myIpAddress.d.ts.map +0 -1
  1935. package/node_modules/pac-resolver/dist/myIpAddress.js +0 -50
  1936. package/node_modules/pac-resolver/dist/myIpAddress.js.map +0 -1
  1937. package/node_modules/pac-resolver/dist/shExpMatch.d.ts +0 -23
  1938. package/node_modules/pac-resolver/dist/shExpMatch.d.ts.map +0 -1
  1939. package/node_modules/pac-resolver/dist/shExpMatch.js +0 -41
  1940. package/node_modules/pac-resolver/dist/shExpMatch.js.map +0 -1
  1941. package/node_modules/pac-resolver/dist/timeRange.d.ts +0 -43
  1942. package/node_modules/pac-resolver/dist/timeRange.d.ts.map +0 -1
  1943. package/node_modules/pac-resolver/dist/timeRange.js +0 -92
  1944. package/node_modules/pac-resolver/dist/timeRange.js.map +0 -1
  1945. package/node_modules/pac-resolver/dist/util.d.ts +0 -6
  1946. package/node_modules/pac-resolver/dist/util.d.ts.map +0 -1
  1947. package/node_modules/pac-resolver/dist/util.js +0 -22
  1948. package/node_modules/pac-resolver/dist/util.js.map +0 -1
  1949. package/node_modules/pac-resolver/dist/weekdayRange.d.ts +0 -45
  1950. package/node_modules/pac-resolver/dist/weekdayRange.d.ts.map +0 -1
  1951. package/node_modules/pac-resolver/dist/weekdayRange.js +0 -91
  1952. package/node_modules/pac-resolver/dist/weekdayRange.js.map +0 -1
  1953. package/node_modules/pac-resolver/package.json +0 -47
  1954. package/node_modules/parse5/LICENSE +0 -19
  1955. package/node_modules/parse5/README.md +0 -38
  1956. package/node_modules/parse5/lib/common/doctype.js +0 -162
  1957. package/node_modules/parse5/lib/common/error-codes.js +0 -65
  1958. package/node_modules/parse5/lib/common/foreign-content.js +0 -265
  1959. package/node_modules/parse5/lib/common/html.js +0 -272
  1960. package/node_modules/parse5/lib/common/unicode.js +0 -109
  1961. package/node_modules/parse5/lib/extensions/error-reporting/mixin-base.js +0 -43
  1962. package/node_modules/parse5/lib/extensions/error-reporting/parser-mixin.js +0 -52
  1963. package/node_modules/parse5/lib/extensions/error-reporting/preprocessor-mixin.js +0 -24
  1964. package/node_modules/parse5/lib/extensions/error-reporting/tokenizer-mixin.js +0 -17
  1965. package/node_modules/parse5/lib/extensions/location-info/open-element-stack-mixin.js +0 -35
  1966. package/node_modules/parse5/lib/extensions/location-info/parser-mixin.js +0 -222
  1967. package/node_modules/parse5/lib/extensions/location-info/tokenizer-mixin.js +0 -146
  1968. package/node_modules/parse5/lib/extensions/position-tracking/preprocessor-mixin.js +0 -64
  1969. package/node_modules/parse5/lib/index.js +0 -29
  1970. package/node_modules/parse5/lib/parser/formatting-element-list.js +0 -181
  1971. package/node_modules/parse5/lib/parser/index.js +0 -2956
  1972. package/node_modules/parse5/lib/parser/open-element-stack.js +0 -482
  1973. package/node_modules/parse5/lib/serializer/index.js +0 -176
  1974. package/node_modules/parse5/lib/tokenizer/index.js +0 -2196
  1975. package/node_modules/parse5/lib/tokenizer/named-entity-data.js +0 -5
  1976. package/node_modules/parse5/lib/tokenizer/preprocessor.js +0 -159
  1977. package/node_modules/parse5/lib/tree-adapters/default.js +0 -217
  1978. package/node_modules/parse5/lib/utils/merge-options.js +0 -13
  1979. package/node_modules/parse5/lib/utils/mixin.js +0 -39
  1980. package/node_modules/parse5/package.json +0 -35
  1981. package/node_modules/parse5-htmlparser2-tree-adapter/LICENSE +0 -19
  1982. package/node_modules/parse5-htmlparser2-tree-adapter/README.md +0 -34
  1983. package/node_modules/parse5-htmlparser2-tree-adapter/lib/index.js +0 -348
  1984. package/node_modules/parse5-htmlparser2-tree-adapter/node_modules/parse5/LICENSE +0 -19
  1985. package/node_modules/parse5-htmlparser2-tree-adapter/node_modules/parse5/README.md +0 -38
  1986. package/node_modules/parse5-htmlparser2-tree-adapter/node_modules/parse5/lib/common/doctype.js +0 -162
  1987. package/node_modules/parse5-htmlparser2-tree-adapter/node_modules/parse5/lib/common/error-codes.js +0 -65
  1988. package/node_modules/parse5-htmlparser2-tree-adapter/node_modules/parse5/lib/common/foreign-content.js +0 -265
  1989. package/node_modules/parse5-htmlparser2-tree-adapter/node_modules/parse5/lib/common/html.js +0 -272
  1990. package/node_modules/parse5-htmlparser2-tree-adapter/node_modules/parse5/lib/common/unicode.js +0 -109
  1991. package/node_modules/parse5-htmlparser2-tree-adapter/node_modules/parse5/lib/extensions/error-reporting/mixin-base.js +0 -43
  1992. package/node_modules/parse5-htmlparser2-tree-adapter/node_modules/parse5/lib/extensions/error-reporting/parser-mixin.js +0 -52
  1993. package/node_modules/parse5-htmlparser2-tree-adapter/node_modules/parse5/lib/extensions/error-reporting/preprocessor-mixin.js +0 -24
  1994. package/node_modules/parse5-htmlparser2-tree-adapter/node_modules/parse5/lib/extensions/error-reporting/tokenizer-mixin.js +0 -17
  1995. package/node_modules/parse5-htmlparser2-tree-adapter/node_modules/parse5/lib/extensions/location-info/open-element-stack-mixin.js +0 -35
  1996. package/node_modules/parse5-htmlparser2-tree-adapter/node_modules/parse5/lib/extensions/location-info/parser-mixin.js +0 -223
  1997. package/node_modules/parse5-htmlparser2-tree-adapter/node_modules/parse5/lib/extensions/location-info/tokenizer-mixin.js +0 -146
  1998. package/node_modules/parse5-htmlparser2-tree-adapter/node_modules/parse5/lib/extensions/position-tracking/preprocessor-mixin.js +0 -64
  1999. package/node_modules/parse5-htmlparser2-tree-adapter/node_modules/parse5/lib/index.js +0 -29
  2000. package/node_modules/parse5-htmlparser2-tree-adapter/node_modules/parse5/lib/parser/formatting-element-list.js +0 -181
  2001. package/node_modules/parse5-htmlparser2-tree-adapter/node_modules/parse5/lib/parser/index.js +0 -2956
  2002. package/node_modules/parse5-htmlparser2-tree-adapter/node_modules/parse5/lib/parser/open-element-stack.js +0 -482
  2003. package/node_modules/parse5-htmlparser2-tree-adapter/node_modules/parse5/lib/serializer/index.js +0 -176
  2004. package/node_modules/parse5-htmlparser2-tree-adapter/node_modules/parse5/lib/tokenizer/index.js +0 -2196
  2005. package/node_modules/parse5-htmlparser2-tree-adapter/node_modules/parse5/lib/tokenizer/named-entity-data.js +0 -5
  2006. package/node_modules/parse5-htmlparser2-tree-adapter/node_modules/parse5/lib/tokenizer/preprocessor.js +0 -159
  2007. package/node_modules/parse5-htmlparser2-tree-adapter/node_modules/parse5/lib/tree-adapters/default.js +0 -221
  2008. package/node_modules/parse5-htmlparser2-tree-adapter/node_modules/parse5/lib/utils/merge-options.js +0 -13
  2009. package/node_modules/parse5-htmlparser2-tree-adapter/node_modules/parse5/lib/utils/mixin.js +0 -39
  2010. package/node_modules/parse5-htmlparser2-tree-adapter/node_modules/parse5/package.json +0 -35
  2011. package/node_modules/parse5-htmlparser2-tree-adapter/package.json +0 -27
  2012. package/node_modules/pend/LICENSE +0 -23
  2013. package/node_modules/pend/README.md +0 -41
  2014. package/node_modules/pend/index.js +0 -55
  2015. package/node_modules/pend/package.json +0 -18
  2016. package/node_modules/pend/test.js +0 -137
  2017. package/node_modules/proper-lockfile/CHANGELOG.md +0 -108
  2018. package/node_modules/proxy-agent/LICENSE +0 -22
  2019. package/node_modules/proxy-agent/README.md +0 -59
  2020. package/node_modules/proxy-agent/dist/index.d.ts +0 -62
  2021. package/node_modules/proxy-agent/dist/index.d.ts.map +0 -1
  2022. package/node_modules/proxy-agent/dist/index.js +0 -138
  2023. package/node_modules/proxy-agent/dist/index.js.map +0 -1
  2024. package/node_modules/proxy-agent/node_modules/lru-cache/LICENSE +0 -15
  2025. package/node_modules/proxy-agent/node_modules/lru-cache/README.md +0 -1117
  2026. package/node_modules/proxy-agent/node_modules/lru-cache/index.d.ts +0 -869
  2027. package/node_modules/proxy-agent/node_modules/lru-cache/index.js +0 -1227
  2028. package/node_modules/proxy-agent/node_modules/lru-cache/index.mjs +0 -1227
  2029. package/node_modules/proxy-agent/node_modules/lru-cache/package.json +0 -96
  2030. package/node_modules/proxy-agent/package.json +0 -60
  2031. package/node_modules/proxy-from-env/.eslintrc +0 -29
  2032. package/node_modules/proxy-from-env/.travis.yml +0 -10
  2033. package/node_modules/proxy-from-env/LICENSE +0 -20
  2034. package/node_modules/proxy-from-env/README.md +0 -131
  2035. package/node_modules/proxy-from-env/index.js +0 -108
  2036. package/node_modules/proxy-from-env/package.json +0 -34
  2037. package/node_modules/proxy-from-env/test.js +0 -483
  2038. package/node_modules/pump/.github/FUNDING.yml +0 -2
  2039. package/node_modules/pump/.travis.yml +0 -5
  2040. package/node_modules/pump/LICENSE +0 -21
  2041. package/node_modules/pump/README.md +0 -74
  2042. package/node_modules/pump/SECURITY.md +0 -5
  2043. package/node_modules/pump/empty.js +0 -1
  2044. package/node_modules/pump/index.js +0 -86
  2045. package/node_modules/pump/package.json +0 -30
  2046. package/node_modules/pump/test-browser.js +0 -66
  2047. package/node_modules/pump/test-node.js +0 -53
  2048. package/node_modules/require-directory/.jshintrc +0 -67
  2049. package/node_modules/require-directory/.npmignore +0 -1
  2050. package/node_modules/require-directory/.travis.yml +0 -3
  2051. package/node_modules/require-directory/LICENSE +0 -22
  2052. package/node_modules/require-directory/README.markdown +0 -184
  2053. package/node_modules/require-directory/index.js +0 -86
  2054. package/node_modules/require-directory/package.json +0 -40
  2055. package/node_modules/smart-buffer/.prettierrc.yaml +0 -5
  2056. package/node_modules/smart-buffer/.travis.yml +0 -13
  2057. package/node_modules/smart-buffer/LICENSE +0 -20
  2058. package/node_modules/smart-buffer/README.md +0 -633
  2059. package/node_modules/smart-buffer/build/smartbuffer.js +0 -1233
  2060. package/node_modules/smart-buffer/build/smartbuffer.js.map +0 -1
  2061. package/node_modules/smart-buffer/build/utils.js +0 -108
  2062. package/node_modules/smart-buffer/build/utils.js.map +0 -1
  2063. package/node_modules/smart-buffer/docs/CHANGELOG.md +0 -70
  2064. package/node_modules/smart-buffer/docs/README_v3.md +0 -367
  2065. package/node_modules/smart-buffer/docs/ROADMAP.md +0 -0
  2066. package/node_modules/smart-buffer/package.json +0 -79
  2067. package/node_modules/smart-buffer/typings/smartbuffer.d.ts +0 -755
  2068. package/node_modules/smart-buffer/typings/utils.d.ts +0 -66
  2069. package/node_modules/socks/.eslintrc.cjs +0 -11
  2070. package/node_modules/socks/.prettierrc.yaml +0 -7
  2071. package/node_modules/socks/LICENSE +0 -20
  2072. package/node_modules/socks/README.md +0 -686
  2073. package/node_modules/socks/build/client/socksclient.js +0 -793
  2074. package/node_modules/socks/build/client/socksclient.js.map +0 -1
  2075. package/node_modules/socks/build/common/constants.js +0 -108
  2076. package/node_modules/socks/build/common/constants.js.map +0 -1
  2077. package/node_modules/socks/build/common/helpers.js +0 -167
  2078. package/node_modules/socks/build/common/helpers.js.map +0 -1
  2079. package/node_modules/socks/build/common/receivebuffer.js +0 -43
  2080. package/node_modules/socks/build/common/receivebuffer.js.map +0 -1
  2081. package/node_modules/socks/build/common/util.js +0 -25
  2082. package/node_modules/socks/build/common/util.js.map +0 -1
  2083. package/node_modules/socks/build/index.js +0 -18
  2084. package/node_modules/socks/build/index.js.map +0 -1
  2085. package/node_modules/socks/docs/examples/index.md +0 -17
  2086. package/node_modules/socks/docs/examples/javascript/associateExample.md +0 -90
  2087. package/node_modules/socks/docs/examples/javascript/bindExample.md +0 -83
  2088. package/node_modules/socks/docs/examples/javascript/connectExample.md +0 -258
  2089. package/node_modules/socks/docs/examples/typescript/associateExample.md +0 -93
  2090. package/node_modules/socks/docs/examples/typescript/bindExample.md +0 -86
  2091. package/node_modules/socks/docs/examples/typescript/connectExample.md +0 -265
  2092. package/node_modules/socks/docs/index.md +0 -5
  2093. package/node_modules/socks/docs/migratingFromV1.md +0 -86
  2094. package/node_modules/socks/package.json +0 -58
  2095. package/node_modules/socks/typings/client/socksclient.d.ts +0 -162
  2096. package/node_modules/socks/typings/common/constants.d.ts +0 -151
  2097. package/node_modules/socks/typings/common/helpers.d.ts +0 -17
  2098. package/node_modules/socks/typings/common/receivebuffer.d.ts +0 -12
  2099. package/node_modules/socks/typings/common/util.d.ts +0 -14
  2100. package/node_modules/socks/typings/index.d.ts +0 -1
  2101. package/node_modules/socks-proxy-agent/LICENSE +0 -22
  2102. package/node_modules/socks-proxy-agent/README.md +0 -50
  2103. package/node_modules/socks-proxy-agent/dist/index.d.ts +0 -27
  2104. package/node_modules/socks-proxy-agent/dist/index.d.ts.map +0 -1
  2105. package/node_modules/socks-proxy-agent/dist/index.js +0 -195
  2106. package/node_modules/socks-proxy-agent/dist/index.js.map +0 -1
  2107. package/node_modules/socks-proxy-agent/package.json +0 -142
  2108. package/node_modules/source-map/CHANGELOG.md +0 -301
  2109. package/node_modules/source-map/LICENSE +0 -28
  2110. package/node_modules/source-map/README.md +0 -742
  2111. package/node_modules/source-map/dist/source-map.debug.js +0 -3234
  2112. package/node_modules/source-map/dist/source-map.js +0 -3233
  2113. package/node_modules/source-map/dist/source-map.min.js +0 -2
  2114. package/node_modules/source-map/dist/source-map.min.js.map +0 -1
  2115. package/node_modules/source-map/lib/array-set.js +0 -121
  2116. package/node_modules/source-map/lib/base64-vlq.js +0 -140
  2117. package/node_modules/source-map/lib/base64.js +0 -67
  2118. package/node_modules/source-map/lib/binary-search.js +0 -111
  2119. package/node_modules/source-map/lib/mapping-list.js +0 -79
  2120. package/node_modules/source-map/lib/quick-sort.js +0 -114
  2121. package/node_modules/source-map/lib/source-map-consumer.js +0 -1145
  2122. package/node_modules/source-map/lib/source-map-generator.js +0 -425
  2123. package/node_modules/source-map/lib/source-node.js +0 -413
  2124. package/node_modules/source-map/lib/util.js +0 -488
  2125. package/node_modules/source-map/package.json +0 -73
  2126. package/node_modules/source-map/source-map.d.ts +0 -98
  2127. package/node_modules/source-map/source-map.js +0 -8
  2128. package/node_modules/string-width/index.d.ts +0 -29
  2129. package/node_modules/string-width/index.js +0 -47
  2130. package/node_modules/string-width/license +0 -9
  2131. package/node_modules/string-width/node_modules/ansi-regex/index.d.ts +0 -37
  2132. package/node_modules/string-width/node_modules/ansi-regex/index.js +0 -10
  2133. package/node_modules/string-width/node_modules/ansi-regex/license +0 -9
  2134. package/node_modules/string-width/node_modules/ansi-regex/package.json +0 -55
  2135. package/node_modules/string-width/node_modules/ansi-regex/readme.md +0 -78
  2136. package/node_modules/string-width/node_modules/strip-ansi/index.d.ts +0 -17
  2137. package/node_modules/string-width/node_modules/strip-ansi/index.js +0 -4
  2138. package/node_modules/string-width/node_modules/strip-ansi/license +0 -9
  2139. package/node_modules/string-width/node_modules/strip-ansi/package.json +0 -54
  2140. package/node_modules/string-width/node_modules/strip-ansi/readme.md +0 -46
  2141. package/node_modules/string-width/package.json +0 -56
  2142. package/node_modules/string-width/readme.md +0 -50
  2143. package/node_modules/strip-ansi/index.d.ts +0 -15
  2144. package/node_modules/strip-ansi/index.js +0 -19
  2145. package/node_modules/strip-ansi/license +0 -9
  2146. package/node_modules/strip-ansi/package.json +0 -59
  2147. package/node_modules/strip-ansi/readme.md +0 -37
  2148. package/node_modules/strtok3/LICENSE.txt +0 -21
  2149. package/node_modules/strtok3/README.md +0 -399
  2150. package/node_modules/strtok3/lib/AbstractTokenizer.d.ts +0 -76
  2151. package/node_modules/strtok3/lib/AbstractTokenizer.js +0 -111
  2152. package/node_modules/strtok3/lib/BlobTokenizer.d.ts +0 -29
  2153. package/node_modules/strtok3/lib/BlobTokenizer.js +0 -53
  2154. package/node_modules/strtok3/lib/BufferTokenizer.d.ts +0 -29
  2155. package/node_modules/strtok3/lib/BufferTokenizer.js +0 -52
  2156. package/node_modules/strtok3/lib/FileTokenizer.d.ts +0 -37
  2157. package/node_modules/strtok3/lib/FileTokenizer.js +0 -61
  2158. package/node_modules/strtok3/lib/ReadStreamTokenizer.d.ts +0 -34
  2159. package/node_modules/strtok3/lib/ReadStreamTokenizer.js +0 -107
  2160. package/node_modules/strtok3/lib/core.d.ts +0 -40
  2161. package/node_modules/strtok3/lib/core.js +0 -62
  2162. package/node_modules/strtok3/lib/index.d.ts +0 -16
  2163. package/node_modules/strtok3/lib/index.js +0 -22
  2164. package/node_modules/strtok3/lib/stream/AbstractStreamReader.d.ts +0 -54
  2165. package/node_modules/strtok3/lib/stream/AbstractStreamReader.js +0 -71
  2166. package/node_modules/strtok3/lib/stream/Deferred.d.ts +0 -6
  2167. package/node_modules/strtok3/lib/stream/Deferred.js +0 -10
  2168. package/node_modules/strtok3/lib/stream/Errors.d.ts +0 -10
  2169. package/node_modules/strtok3/lib/stream/Errors.js +0 -16
  2170. package/node_modules/strtok3/lib/stream/StreamReader.d.ts +0 -29
  2171. package/node_modules/strtok3/lib/stream/StreamReader.js +0 -83
  2172. package/node_modules/strtok3/lib/stream/WebStreamByobReader.d.ts +0 -14
  2173. package/node_modules/strtok3/lib/stream/WebStreamByobReader.js +0 -27
  2174. package/node_modules/strtok3/lib/stream/WebStreamDefaultReader.d.ts +0 -19
  2175. package/node_modules/strtok3/lib/stream/WebStreamDefaultReader.js +0 -62
  2176. package/node_modules/strtok3/lib/stream/WebStreamReader.d.ts +0 -14
  2177. package/node_modules/strtok3/lib/stream/WebStreamReader.js +0 -13
  2178. package/node_modules/strtok3/lib/stream/WebStreamReaderFactory.d.ts +0 -5
  2179. package/node_modules/strtok3/lib/stream/WebStreamReaderFactory.js +0 -19
  2180. package/node_modules/strtok3/lib/stream/index.d.ts +0 -6
  2181. package/node_modules/strtok3/lib/stream/index.js +0 -5
  2182. package/node_modules/strtok3/lib/types.d.ts +0 -139
  2183. package/node_modules/strtok3/lib/types.js +0 -1
  2184. package/node_modules/strtok3/package.json +0 -94
  2185. package/node_modules/supports-color/browser.js +0 -5
  2186. package/node_modules/supports-color/index.js +0 -135
  2187. package/node_modules/supports-color/license +0 -9
  2188. package/node_modules/supports-color/package.json +0 -53
  2189. package/node_modules/supports-color/readme.md +0 -76
  2190. package/node_modules/thenify/History.md +0 -11
  2191. package/node_modules/thenify/LICENSE +0 -22
  2192. package/node_modules/thenify/README.md +0 -120
  2193. package/node_modules/thenify/index.js +0 -77
  2194. package/node_modules/thenify/package.json +0 -31
  2195. package/node_modules/thenify-all/History.md +0 -11
  2196. package/node_modules/thenify-all/LICENSE +0 -22
  2197. package/node_modules/thenify-all/README.md +0 -66
  2198. package/node_modules/thenify-all/index.js +0 -73
  2199. package/node_modules/thenify-all/package.json +0 -34
  2200. package/node_modules/token-types/LICENSE.txt +0 -9
  2201. package/node_modules/token-types/README.md +0 -120
  2202. package/node_modules/token-types/lib/index.d.ts +0 -135
  2203. package/node_modules/token-types/lib/index.js +0 -401
  2204. package/node_modules/token-types/package.json +0 -81
  2205. package/node_modules/uint8array-extras/index.d.ts +0 -331
  2206. package/node_modules/uint8array-extras/index.js +0 -318
  2207. package/node_modules/uint8array-extras/license +0 -9
  2208. package/node_modules/uint8array-extras/package.json +0 -54
  2209. package/node_modules/uint8array-extras/readme.md +0 -318
  2210. package/node_modules/uuid/LICENSE.md +0 -9
  2211. package/node_modules/uuid/README.md +0 -491
  2212. package/node_modules/uuid/dist/index.d.ts +0 -15
  2213. package/node_modules/uuid/dist/index.js +0 -14
  2214. package/node_modules/uuid/dist/max.d.ts +0 -2
  2215. package/node_modules/uuid/dist/max.js +0 -1
  2216. package/node_modules/uuid/dist/md5.d.ts +0 -2
  2217. package/node_modules/uuid/dist/md5.js +0 -135
  2218. package/node_modules/uuid/dist/nil.d.ts +0 -2
  2219. package/node_modules/uuid/dist/nil.js +0 -1
  2220. package/node_modules/uuid/dist/parse.d.ts +0 -3
  2221. package/node_modules/uuid/dist/parse.js +0 -9
  2222. package/node_modules/uuid/dist/regex.d.ts +0 -2
  2223. package/node_modules/uuid/dist/regex.js +0 -1
  2224. package/node_modules/uuid/dist/rng.d.ts +0 -1
  2225. package/node_modules/uuid/dist/rng.js +0 -4
  2226. package/node_modules/uuid/dist/sha1.d.ts +0 -2
  2227. package/node_modules/uuid/dist/sha1.js +0 -70
  2228. package/node_modules/uuid/dist/stringify.d.ts +0 -3
  2229. package/node_modules/uuid/dist/stringify.js +0 -35
  2230. package/node_modules/uuid/dist/types.d.ts +0 -22
  2231. package/node_modules/uuid/dist/types.js +0 -1
  2232. package/node_modules/uuid/dist/uuid-bin.d.ts +0 -1
  2233. package/node_modules/uuid/dist/uuid-bin.js +0 -70
  2234. package/node_modules/uuid/dist/v1.d.ts +0 -11
  2235. package/node_modules/uuid/dist/v1.js +0 -83
  2236. package/node_modules/uuid/dist/v1ToV6.d.ts +0 -3
  2237. package/node_modules/uuid/dist/v1ToV6.js +0 -10
  2238. package/node_modules/uuid/dist/v3.d.ts +0 -9
  2239. package/node_modules/uuid/dist/v3.js +0 -9
  2240. package/node_modules/uuid/dist/v35.d.ts +0 -7
  2241. package/node_modules/uuid/dist/v35.js +0 -39
  2242. package/node_modules/uuid/dist/v4.d.ts +0 -4
  2243. package/node_modules/uuid/dist/v4.js +0 -29
  2244. package/node_modules/uuid/dist/v5.d.ts +0 -9
  2245. package/node_modules/uuid/dist/v5.js +0 -9
  2246. package/node_modules/uuid/dist/v6.d.ts +0 -4
  2247. package/node_modules/uuid/dist/v6.js +0 -20
  2248. package/node_modules/uuid/dist/v6ToV1.d.ts +0 -2
  2249. package/node_modules/uuid/dist/v6ToV1.js +0 -10
  2250. package/node_modules/uuid/dist/v7.d.ts +0 -9
  2251. package/node_modules/uuid/dist/v7.js +0 -65
  2252. package/node_modules/uuid/dist/validate.d.ts +0 -2
  2253. package/node_modules/uuid/dist/validate.js +0 -5
  2254. package/node_modules/uuid/dist/version.d.ts +0 -2
  2255. package/node_modules/uuid/dist/version.js +0 -8
  2256. package/node_modules/uuid/dist-node/bin/uuid +0 -2
  2257. package/node_modules/uuid/dist-node/index.js +0 -14
  2258. package/node_modules/uuid/dist-node/max.js +0 -1
  2259. package/node_modules/uuid/dist-node/md5.js +0 -11
  2260. package/node_modules/uuid/dist-node/nil.js +0 -1
  2261. package/node_modules/uuid/dist-node/parse.js +0 -9
  2262. package/node_modules/uuid/dist-node/regex.js +0 -1
  2263. package/node_modules/uuid/dist-node/rng.js +0 -4
  2264. package/node_modules/uuid/dist-node/sha1.js +0 -11
  2265. package/node_modules/uuid/dist-node/stringify.js +0 -35
  2266. package/node_modules/uuid/dist-node/types.js +0 -1
  2267. package/node_modules/uuid/dist-node/uuid-bin.js +0 -70
  2268. package/node_modules/uuid/dist-node/v1.js +0 -83
  2269. package/node_modules/uuid/dist-node/v1ToV6.js +0 -10
  2270. package/node_modules/uuid/dist-node/v3.js +0 -9
  2271. package/node_modules/uuid/dist-node/v35.js +0 -39
  2272. package/node_modules/uuid/dist-node/v4.js +0 -29
  2273. package/node_modules/uuid/dist-node/v5.js +0 -9
  2274. package/node_modules/uuid/dist-node/v6.js +0 -20
  2275. package/node_modules/uuid/dist-node/v6ToV1.js +0 -10
  2276. package/node_modules/uuid/dist-node/v7.js +0 -65
  2277. package/node_modules/uuid/dist-node/validate.js +0 -5
  2278. package/node_modules/uuid/dist-node/version.js +0 -8
  2279. package/node_modules/uuid/package.json +0 -110
  2280. package/node_modules/wrap-ansi/index.js +0 -216
  2281. package/node_modules/wrap-ansi/license +0 -9
  2282. package/node_modules/wrap-ansi/node_modules/ansi-regex/index.d.ts +0 -37
  2283. package/node_modules/wrap-ansi/node_modules/ansi-regex/index.js +0 -10
  2284. package/node_modules/wrap-ansi/node_modules/ansi-regex/license +0 -9
  2285. package/node_modules/wrap-ansi/node_modules/ansi-regex/package.json +0 -55
  2286. package/node_modules/wrap-ansi/node_modules/ansi-regex/readme.md +0 -78
  2287. package/node_modules/wrap-ansi/node_modules/strip-ansi/index.d.ts +0 -17
  2288. package/node_modules/wrap-ansi/node_modules/strip-ansi/index.js +0 -4
  2289. package/node_modules/wrap-ansi/node_modules/strip-ansi/license +0 -9
  2290. package/node_modules/wrap-ansi/node_modules/strip-ansi/package.json +0 -54
  2291. package/node_modules/wrap-ansi/node_modules/strip-ansi/readme.md +0 -46
  2292. package/node_modules/wrap-ansi/package.json +0 -62
  2293. package/node_modules/wrap-ansi/readme.md +0 -91
  2294. package/node_modules/wrappy/LICENSE +0 -15
  2295. package/node_modules/wrappy/README.md +0 -36
  2296. package/node_modules/wrappy/package.json +0 -29
  2297. package/node_modules/wrappy/wrappy.js +0 -33
  2298. package/node_modules/y18n/CHANGELOG.md +0 -100
  2299. package/node_modules/y18n/LICENSE +0 -13
  2300. package/node_modules/y18n/README.md +0 -127
  2301. package/node_modules/y18n/build/index.cjs +0 -203
  2302. package/node_modules/y18n/build/lib/cjs.js +0 -6
  2303. package/node_modules/y18n/build/lib/index.js +0 -174
  2304. package/node_modules/y18n/build/lib/platform-shims/node.js +0 -19
  2305. package/node_modules/y18n/index.mjs +0 -8
  2306. package/node_modules/y18n/package.json +0 -70
  2307. package/node_modules/yargs/CHANGELOG.md +0 -88
  2308. package/node_modules/yargs/LICENSE +0 -21
  2309. package/node_modules/yargs/README.md +0 -202
  2310. package/node_modules/yargs/browser.mjs +0 -7
  2311. package/node_modules/yargs/build/index.cjs +0 -2920
  2312. package/node_modules/yargs/build/lib/argsert.js +0 -62
  2313. package/node_modules/yargs/build/lib/command.js +0 -382
  2314. package/node_modules/yargs/build/lib/completion-templates.js +0 -47
  2315. package/node_modules/yargs/build/lib/completion.js +0 -128
  2316. package/node_modules/yargs/build/lib/middleware.js +0 -53
  2317. package/node_modules/yargs/build/lib/parse-command.js +0 -32
  2318. package/node_modules/yargs/build/lib/typings/common-types.js +0 -9
  2319. package/node_modules/yargs/build/lib/typings/yargs-parser-types.js +0 -1
  2320. package/node_modules/yargs/build/lib/usage.js +0 -548
  2321. package/node_modules/yargs/build/lib/utils/apply-extends.js +0 -59
  2322. package/node_modules/yargs/build/lib/utils/is-promise.js +0 -5
  2323. package/node_modules/yargs/build/lib/utils/levenshtein.js +0 -26
  2324. package/node_modules/yargs/build/lib/utils/obj-filter.js +0 -10
  2325. package/node_modules/yargs/build/lib/utils/process-argv.js +0 -17
  2326. package/node_modules/yargs/build/lib/utils/set-blocking.js +0 -12
  2327. package/node_modules/yargs/build/lib/utils/which-module.js +0 -10
  2328. package/node_modules/yargs/build/lib/validation.js +0 -308
  2329. package/node_modules/yargs/build/lib/yargs-factory.js +0 -1143
  2330. package/node_modules/yargs/build/lib/yerror.js +0 -7
  2331. package/node_modules/yargs/helpers/helpers.mjs +0 -10
  2332. package/node_modules/yargs/helpers/index.js +0 -14
  2333. package/node_modules/yargs/helpers/package.json +0 -3
  2334. package/node_modules/yargs/index.cjs +0 -39
  2335. package/node_modules/yargs/index.mjs +0 -8
  2336. package/node_modules/yargs/lib/platform-shims/browser.mjs +0 -92
  2337. package/node_modules/yargs/lib/platform-shims/esm.mjs +0 -67
  2338. package/node_modules/yargs/locales/be.json +0 -46
  2339. package/node_modules/yargs/locales/de.json +0 -46
  2340. package/node_modules/yargs/locales/en.json +0 -51
  2341. package/node_modules/yargs/locales/es.json +0 -46
  2342. package/node_modules/yargs/locales/fi.json +0 -49
  2343. package/node_modules/yargs/locales/fr.json +0 -53
  2344. package/node_modules/yargs/locales/hi.json +0 -49
  2345. package/node_modules/yargs/locales/hu.json +0 -46
  2346. package/node_modules/yargs/locales/id.json +0 -50
  2347. package/node_modules/yargs/locales/it.json +0 -46
  2348. package/node_modules/yargs/locales/ja.json +0 -51
  2349. package/node_modules/yargs/locales/ko.json +0 -49
  2350. package/node_modules/yargs/locales/nb.json +0 -44
  2351. package/node_modules/yargs/locales/nl.json +0 -49
  2352. package/node_modules/yargs/locales/nn.json +0 -44
  2353. package/node_modules/yargs/locales/pirate.json +0 -13
  2354. package/node_modules/yargs/locales/pl.json +0 -49
  2355. package/node_modules/yargs/locales/pt.json +0 -45
  2356. package/node_modules/yargs/locales/pt_BR.json +0 -48
  2357. package/node_modules/yargs/locales/ru.json +0 -46
  2358. package/node_modules/yargs/locales/th.json +0 -46
  2359. package/node_modules/yargs/locales/tr.json +0 -48
  2360. package/node_modules/yargs/locales/zh_CN.json +0 -48
  2361. package/node_modules/yargs/locales/zh_TW.json +0 -47
  2362. package/node_modules/yargs/package.json +0 -122
  2363. package/node_modules/yargs/yargs +0 -9
  2364. package/node_modules/yargs-parser/CHANGELOG.md +0 -263
  2365. package/node_modules/yargs-parser/LICENSE.txt +0 -14
  2366. package/node_modules/yargs-parser/README.md +0 -518
  2367. package/node_modules/yargs-parser/browser.js +0 -29
  2368. package/node_modules/yargs-parser/build/index.cjs +0 -1042
  2369. package/node_modules/yargs-parser/build/lib/index.js +0 -59
  2370. package/node_modules/yargs-parser/build/lib/string-utils.js +0 -65
  2371. package/node_modules/yargs-parser/build/lib/tokenize-arg-string.js +0 -40
  2372. package/node_modules/yargs-parser/build/lib/yargs-parser-types.js +0 -12
  2373. package/node_modules/yargs-parser/build/lib/yargs-parser.js +0 -1037
  2374. package/node_modules/yargs-parser/package.json +0 -87
  2375. package/node_modules/yauzl/LICENSE +0 -21
  2376. package/node_modules/yauzl/README.md +0 -658
  2377. package/node_modules/yauzl/index.js +0 -796
  2378. package/node_modules/yauzl/package.json +0 -40
  2379. /package/node_modules/{@entelligentsia/pi-coding-agent/dist/core/tools → @earendil-works/pi-agent-core/dist/harness/utils}/truncate.d.ts +0 -0
  2380. /package/node_modules/{@entelligentsia → @earendil-works}/pi-agent-core/dist/types.js +0 -0
  2381. /package/node_modules/{@entelligentsia → @earendil-works}/pi-ai/dist/api-registry.d.ts +0 -0
  2382. /package/node_modules/{@entelligentsia → @earendil-works}/pi-ai/dist/api-registry.d.ts.map +0 -0
  2383. /package/node_modules/{@entelligentsia → @earendil-works}/pi-ai/dist/api-registry.js +0 -0
  2384. /package/node_modules/{@entelligentsia → @earendil-works}/pi-ai/dist/api-registry.js.map +0 -0
  2385. /package/node_modules/{@entelligentsia → @earendil-works}/pi-ai/dist/bedrock-provider.d.ts +0 -0
  2386. /package/node_modules/{@entelligentsia → @earendil-works}/pi-ai/dist/bedrock-provider.d.ts.map +0 -0
  2387. /package/node_modules/{@entelligentsia → @earendil-works}/pi-ai/dist/bedrock-provider.js +0 -0
  2388. /package/node_modules/{@entelligentsia → @earendil-works}/pi-ai/dist/bedrock-provider.js.map +0 -0
  2389. /package/node_modules/{@entelligentsia → @earendil-works}/pi-ai/dist/cli.d.ts +0 -0
  2390. /package/node_modules/{@entelligentsia → @earendil-works}/pi-ai/dist/env-api-keys.d.ts +0 -0
  2391. /package/node_modules/{@entelligentsia → @earendil-works}/pi-ai/dist/models.d.ts +0 -0
  2392. /package/node_modules/{@entelligentsia → @earendil-works}/pi-ai/dist/models.d.ts.map +0 -0
  2393. /package/node_modules/{@entelligentsia → @earendil-works}/pi-ai/dist/models.js +0 -0
  2394. /package/node_modules/{@entelligentsia → @earendil-works}/pi-ai/dist/models.js.map +0 -0
  2395. /package/node_modules/{@entelligentsia → @earendil-works}/pi-ai/dist/oauth.d.ts +0 -0
  2396. /package/node_modules/{@entelligentsia → @earendil-works}/pi-ai/dist/oauth.d.ts.map +0 -0
  2397. /package/node_modules/{@entelligentsia → @earendil-works}/pi-ai/dist/oauth.js +0 -0
  2398. /package/node_modules/{@entelligentsia → @earendil-works}/pi-ai/dist/oauth.js.map +0 -0
  2399. /package/node_modules/{@entelligentsia → @earendil-works}/pi-ai/dist/providers/amazon-bedrock.d.ts +0 -0
  2400. /package/node_modules/{@entelligentsia → @earendil-works}/pi-ai/dist/providers/anthropic.d.ts +0 -0
  2401. /package/node_modules/{@entelligentsia → @earendil-works}/pi-ai/dist/providers/azure-openai-responses.d.ts +0 -0
  2402. /package/node_modules/{@entelligentsia → @earendil-works}/pi-ai/dist/providers/azure-openai-responses.d.ts.map +0 -0
  2403. /package/node_modules/{@entelligentsia → @earendil-works}/pi-ai/dist/providers/azure-openai-responses.js +0 -0
  2404. /package/node_modules/{@entelligentsia → @earendil-works}/pi-ai/dist/providers/azure-openai-responses.js.map +0 -0
  2405. /package/node_modules/{@entelligentsia → @earendil-works}/pi-ai/dist/providers/cloudflare.d.ts +0 -0
  2406. /package/node_modules/{@entelligentsia → @earendil-works}/pi-ai/dist/providers/cloudflare.d.ts.map +0 -0
  2407. /package/node_modules/{@entelligentsia → @earendil-works}/pi-ai/dist/providers/cloudflare.js +0 -0
  2408. /package/node_modules/{@entelligentsia → @earendil-works}/pi-ai/dist/providers/cloudflare.js.map +0 -0
  2409. /package/node_modules/{@entelligentsia → @earendil-works}/pi-ai/dist/providers/faux.d.ts +0 -0
  2410. /package/node_modules/{@entelligentsia → @earendil-works}/pi-ai/dist/providers/faux.d.ts.map +0 -0
  2411. /package/node_modules/{@entelligentsia → @earendil-works}/pi-ai/dist/providers/faux.js +0 -0
  2412. /package/node_modules/{@entelligentsia → @earendil-works}/pi-ai/dist/providers/faux.js.map +0 -0
  2413. /package/node_modules/{@entelligentsia → @earendil-works}/pi-ai/dist/providers/github-copilot-headers.d.ts +0 -0
  2414. /package/node_modules/{@entelligentsia → @earendil-works}/pi-ai/dist/providers/github-copilot-headers.d.ts.map +0 -0
  2415. /package/node_modules/{@entelligentsia → @earendil-works}/pi-ai/dist/providers/github-copilot-headers.js +0 -0
  2416. /package/node_modules/{@entelligentsia → @earendil-works}/pi-ai/dist/providers/github-copilot-headers.js.map +0 -0
  2417. /package/node_modules/{@entelligentsia → @earendil-works}/pi-ai/dist/providers/google-shared.d.ts +0 -0
  2418. /package/node_modules/{@entelligentsia → @earendil-works}/pi-ai/dist/providers/google-shared.d.ts.map +0 -0
  2419. /package/node_modules/{@entelligentsia → @earendil-works}/pi-ai/dist/providers/google-shared.js +0 -0
  2420. /package/node_modules/{@entelligentsia → @earendil-works}/pi-ai/dist/providers/google-shared.js.map +0 -0
  2421. /package/node_modules/{@entelligentsia → @earendil-works}/pi-ai/dist/providers/google-vertex.d.ts +0 -0
  2422. /package/node_modules/{@entelligentsia → @earendil-works}/pi-ai/dist/providers/google-vertex.d.ts.map +0 -0
  2423. /package/node_modules/{@entelligentsia → @earendil-works}/pi-ai/dist/providers/google-vertex.js +0 -0
  2424. /package/node_modules/{@entelligentsia → @earendil-works}/pi-ai/dist/providers/google-vertex.js.map +0 -0
  2425. /package/node_modules/{@entelligentsia → @earendil-works}/pi-ai/dist/providers/google.d.ts +0 -0
  2426. /package/node_modules/{@entelligentsia → @earendil-works}/pi-ai/dist/providers/google.d.ts.map +0 -0
  2427. /package/node_modules/{@entelligentsia → @earendil-works}/pi-ai/dist/providers/google.js +0 -0
  2428. /package/node_modules/{@entelligentsia → @earendil-works}/pi-ai/dist/providers/google.js.map +0 -0
  2429. /package/node_modules/{@entelligentsia → @earendil-works}/pi-ai/dist/providers/mistral.d.ts +0 -0
  2430. /package/node_modules/{@entelligentsia → @earendil-works}/pi-ai/dist/providers/mistral.d.ts.map +0 -0
  2431. /package/node_modules/{@entelligentsia → @earendil-works}/pi-ai/dist/providers/mistral.js +0 -0
  2432. /package/node_modules/{@entelligentsia → @earendil-works}/pi-ai/dist/providers/mistral.js.map +0 -0
  2433. /package/node_modules/{@entelligentsia → @earendil-works}/pi-ai/dist/providers/openai-codex-responses.d.ts +0 -0
  2434. /package/node_modules/{@entelligentsia → @earendil-works}/pi-ai/dist/providers/openai-completions.d.ts +0 -0
  2435. /package/node_modules/{@entelligentsia → @earendil-works}/pi-ai/dist/providers/openai-responses-shared.d.ts +0 -0
  2436. /package/node_modules/{@entelligentsia → @earendil-works}/pi-ai/dist/providers/openai-responses-shared.d.ts.map +0 -0
  2437. /package/node_modules/{@entelligentsia → @earendil-works}/pi-ai/dist/providers/openai-responses-shared.js +0 -0
  2438. /package/node_modules/{@entelligentsia → @earendil-works}/pi-ai/dist/providers/openai-responses-shared.js.map +0 -0
  2439. /package/node_modules/{@entelligentsia → @earendil-works}/pi-ai/dist/providers/openai-responses.d.ts +0 -0
  2440. /package/node_modules/{@entelligentsia → @earendil-works}/pi-ai/dist/providers/openai-responses.d.ts.map +0 -0
  2441. /package/node_modules/{@entelligentsia → @earendil-works}/pi-ai/dist/providers/openai-responses.js +0 -0
  2442. /package/node_modules/{@entelligentsia → @earendil-works}/pi-ai/dist/providers/openai-responses.js.map +0 -0
  2443. /package/node_modules/{@entelligentsia → @earendil-works}/pi-ai/dist/providers/register-builtins.d.ts +0 -0
  2444. /package/node_modules/{@entelligentsia → @earendil-works}/pi-ai/dist/providers/register-builtins.d.ts.map +0 -0
  2445. /package/node_modules/{@entelligentsia → @earendil-works}/pi-ai/dist/providers/register-builtins.js +0 -0
  2446. /package/node_modules/{@entelligentsia → @earendil-works}/pi-ai/dist/providers/register-builtins.js.map +0 -0
  2447. /package/node_modules/{@entelligentsia → @earendil-works}/pi-ai/dist/providers/simple-options.d.ts +0 -0
  2448. /package/node_modules/{@entelligentsia → @earendil-works}/pi-ai/dist/providers/transform-messages.d.ts +0 -0
  2449. /package/node_modules/{@entelligentsia → @earendil-works}/pi-ai/dist/providers/transform-messages.d.ts.map +0 -0
  2450. /package/node_modules/{@entelligentsia → @earendil-works}/pi-ai/dist/providers/transform-messages.js +0 -0
  2451. /package/node_modules/{@entelligentsia → @earendil-works}/pi-ai/dist/providers/transform-messages.js.map +0 -0
  2452. /package/node_modules/{@entelligentsia → @earendil-works}/pi-ai/dist/session-resources.d.ts +0 -0
  2453. /package/node_modules/{@entelligentsia → @earendil-works}/pi-ai/dist/session-resources.d.ts.map +0 -0
  2454. /package/node_modules/{@entelligentsia → @earendil-works}/pi-ai/dist/session-resources.js +0 -0
  2455. /package/node_modules/{@entelligentsia → @earendil-works}/pi-ai/dist/session-resources.js.map +0 -0
  2456. /package/node_modules/{@entelligentsia → @earendil-works}/pi-ai/dist/stream.d.ts +0 -0
  2457. /package/node_modules/{@entelligentsia → @earendil-works}/pi-ai/dist/stream.d.ts.map +0 -0
  2458. /package/node_modules/{@entelligentsia → @earendil-works}/pi-ai/dist/stream.js +0 -0
  2459. /package/node_modules/{@entelligentsia → @earendil-works}/pi-ai/dist/stream.js.map +0 -0
  2460. /package/node_modules/{@entelligentsia → @earendil-works}/pi-ai/dist/types.js +0 -0
  2461. /package/node_modules/{@entelligentsia → @earendil-works}/pi-ai/dist/utils/diagnostics.d.ts +0 -0
  2462. /package/node_modules/{@entelligentsia → @earendil-works}/pi-ai/dist/utils/diagnostics.d.ts.map +0 -0
  2463. /package/node_modules/{@entelligentsia → @earendil-works}/pi-ai/dist/utils/diagnostics.js +0 -0
  2464. /package/node_modules/{@entelligentsia → @earendil-works}/pi-ai/dist/utils/diagnostics.js.map +0 -0
  2465. /package/node_modules/{@entelligentsia → @earendil-works}/pi-ai/dist/utils/event-stream.d.ts +0 -0
  2466. /package/node_modules/{@entelligentsia → @earendil-works}/pi-ai/dist/utils/event-stream.d.ts.map +0 -0
  2467. /package/node_modules/{@entelligentsia → @earendil-works}/pi-ai/dist/utils/event-stream.js +0 -0
  2468. /package/node_modules/{@entelligentsia → @earendil-works}/pi-ai/dist/utils/event-stream.js.map +0 -0
  2469. /package/node_modules/{@entelligentsia → @earendil-works}/pi-ai/dist/utils/hash.d.ts +0 -0
  2470. /package/node_modules/{@entelligentsia → @earendil-works}/pi-ai/dist/utils/hash.d.ts.map +0 -0
  2471. /package/node_modules/{@entelligentsia → @earendil-works}/pi-ai/dist/utils/hash.js +0 -0
  2472. /package/node_modules/{@entelligentsia → @earendil-works}/pi-ai/dist/utils/hash.js.map +0 -0
  2473. /package/node_modules/{@entelligentsia → @earendil-works}/pi-ai/dist/utils/headers.d.ts +0 -0
  2474. /package/node_modules/{@entelligentsia → @earendil-works}/pi-ai/dist/utils/headers.d.ts.map +0 -0
  2475. /package/node_modules/{@entelligentsia → @earendil-works}/pi-ai/dist/utils/headers.js +0 -0
  2476. /package/node_modules/{@entelligentsia → @earendil-works}/pi-ai/dist/utils/headers.js.map +0 -0
  2477. /package/node_modules/{@entelligentsia → @earendil-works}/pi-ai/dist/utils/json-parse.d.ts +0 -0
  2478. /package/node_modules/{@entelligentsia → @earendil-works}/pi-ai/dist/utils/json-parse.d.ts.map +0 -0
  2479. /package/node_modules/{@entelligentsia → @earendil-works}/pi-ai/dist/utils/json-parse.js +0 -0
  2480. /package/node_modules/{@entelligentsia → @earendil-works}/pi-ai/dist/utils/json-parse.js.map +0 -0
  2481. /package/node_modules/{@entelligentsia → @earendil-works}/pi-ai/dist/utils/oauth/anthropic.d.ts +0 -0
  2482. /package/node_modules/{@entelligentsia → @earendil-works}/pi-ai/dist/utils/oauth/anthropic.d.ts.map +0 -0
  2483. /package/node_modules/{@entelligentsia → @earendil-works}/pi-ai/dist/utils/oauth/anthropic.js +0 -0
  2484. /package/node_modules/{@entelligentsia → @earendil-works}/pi-ai/dist/utils/oauth/anthropic.js.map +0 -0
  2485. /package/node_modules/{@entelligentsia → @earendil-works}/pi-ai/dist/utils/oauth/github-copilot.d.ts +0 -0
  2486. /package/node_modules/{@entelligentsia → @earendil-works}/pi-ai/dist/utils/oauth/github-copilot.d.ts.map +0 -0
  2487. /package/node_modules/{@entelligentsia → @earendil-works}/pi-ai/dist/utils/oauth/github-copilot.js +0 -0
  2488. /package/node_modules/{@entelligentsia → @earendil-works}/pi-ai/dist/utils/oauth/github-copilot.js.map +0 -0
  2489. /package/node_modules/{@entelligentsia → @earendil-works}/pi-ai/dist/utils/oauth/index.d.ts +0 -0
  2490. /package/node_modules/{@entelligentsia → @earendil-works}/pi-ai/dist/utils/oauth/index.d.ts.map +0 -0
  2491. /package/node_modules/{@entelligentsia → @earendil-works}/pi-ai/dist/utils/oauth/index.js +0 -0
  2492. /package/node_modules/{@entelligentsia → @earendil-works}/pi-ai/dist/utils/oauth/index.js.map +0 -0
  2493. /package/node_modules/{@entelligentsia → @earendil-works}/pi-ai/dist/utils/oauth/oauth-page.d.ts +0 -0
  2494. /package/node_modules/{@entelligentsia → @earendil-works}/pi-ai/dist/utils/oauth/oauth-page.d.ts.map +0 -0
  2495. /package/node_modules/{@entelligentsia → @earendil-works}/pi-ai/dist/utils/oauth/oauth-page.js +0 -0
  2496. /package/node_modules/{@entelligentsia → @earendil-works}/pi-ai/dist/utils/oauth/oauth-page.js.map +0 -0
  2497. /package/node_modules/{@entelligentsia → @earendil-works}/pi-ai/dist/utils/oauth/openai-codex.d.ts +0 -0
  2498. /package/node_modules/{@entelligentsia → @earendil-works}/pi-ai/dist/utils/oauth/openai-codex.d.ts.map +0 -0
  2499. /package/node_modules/{@entelligentsia → @earendil-works}/pi-ai/dist/utils/oauth/openai-codex.js +0 -0
  2500. /package/node_modules/{@entelligentsia → @earendil-works}/pi-ai/dist/utils/oauth/openai-codex.js.map +0 -0
  2501. /package/node_modules/{@entelligentsia → @earendil-works}/pi-ai/dist/utils/oauth/pkce.d.ts +0 -0
  2502. /package/node_modules/{@entelligentsia → @earendil-works}/pi-ai/dist/utils/oauth/pkce.d.ts.map +0 -0
  2503. /package/node_modules/{@entelligentsia → @earendil-works}/pi-ai/dist/utils/oauth/pkce.js +0 -0
  2504. /package/node_modules/{@entelligentsia → @earendil-works}/pi-ai/dist/utils/oauth/pkce.js.map +0 -0
  2505. /package/node_modules/{@entelligentsia → @earendil-works}/pi-ai/dist/utils/oauth/types.d.ts +0 -0
  2506. /package/node_modules/{@entelligentsia → @earendil-works}/pi-ai/dist/utils/oauth/types.d.ts.map +0 -0
  2507. /package/node_modules/{@entelligentsia → @earendil-works}/pi-ai/dist/utils/oauth/types.js +0 -0
  2508. /package/node_modules/{@entelligentsia → @earendil-works}/pi-ai/dist/utils/oauth/types.js.map +0 -0
  2509. /package/node_modules/{@entelligentsia → @earendil-works}/pi-ai/dist/utils/sanitize-unicode.d.ts +0 -0
  2510. /package/node_modules/{@entelligentsia → @earendil-works}/pi-ai/dist/utils/sanitize-unicode.d.ts.map +0 -0
  2511. /package/node_modules/{@entelligentsia → @earendil-works}/pi-ai/dist/utils/sanitize-unicode.js +0 -0
  2512. /package/node_modules/{@entelligentsia → @earendil-works}/pi-ai/dist/utils/sanitize-unicode.js.map +0 -0
  2513. /package/node_modules/{@entelligentsia → @earendil-works}/pi-ai/dist/utils/typebox-helpers.d.ts +0 -0
  2514. /package/node_modules/{@entelligentsia → @earendil-works}/pi-ai/dist/utils/typebox-helpers.d.ts.map +0 -0
  2515. /package/node_modules/{@entelligentsia → @earendil-works}/pi-ai/dist/utils/typebox-helpers.js +0 -0
  2516. /package/node_modules/{@entelligentsia → @earendil-works}/pi-ai/dist/utils/typebox-helpers.js.map +0 -0
  2517. /package/node_modules/{@entelligentsia → @earendil-works}/pi-ai/dist/utils/validation.d.ts +0 -0
  2518. /package/node_modules/{@entelligentsia → @earendil-works}/pi-ai/dist/utils/validation.d.ts.map +0 -0
  2519. /package/node_modules/{@entelligentsia → @earendil-works}/pi-ai/dist/utils/validation.js +0 -0
  2520. /package/node_modules/{@entelligentsia → @earendil-works}/pi-ai/dist/utils/validation.js.map +0 -0
  2521. /package/node_modules/{@entelligentsia → @earendil-works}/pi-coding-agent/dist/bun/cli.d.ts +0 -0
  2522. /package/node_modules/{@entelligentsia → @earendil-works}/pi-coding-agent/dist/bun/cli.d.ts.map +0 -0
  2523. /package/node_modules/{@entelligentsia → @earendil-works}/pi-coding-agent/dist/bun/cli.js +0 -0
  2524. /package/node_modules/{@entelligentsia → @earendil-works}/pi-coding-agent/dist/bun/cli.js.map +0 -0
  2525. /package/node_modules/{@entelligentsia → @earendil-works}/pi-coding-agent/dist/bun/register-bedrock.d.ts +0 -0
  2526. /package/node_modules/{@entelligentsia → @earendil-works}/pi-coding-agent/dist/bun/restore-sandbox-env.d.ts +0 -0
  2527. /package/node_modules/{@entelligentsia → @earendil-works}/pi-coding-agent/dist/bun/restore-sandbox-env.d.ts.map +0 -0
  2528. /package/node_modules/{@entelligentsia → @earendil-works}/pi-coding-agent/dist/bun/restore-sandbox-env.js +0 -0
  2529. /package/node_modules/{@entelligentsia → @earendil-works}/pi-coding-agent/dist/bun/restore-sandbox-env.js.map +0 -0
  2530. /package/node_modules/{@entelligentsia → @earendil-works}/pi-coding-agent/dist/cli/config-selector.d.ts +0 -0
  2531. /package/node_modules/{@entelligentsia → @earendil-works}/pi-coding-agent/dist/cli/file-processor.js +0 -0
  2532. /package/node_modules/{@entelligentsia → @earendil-works}/pi-coding-agent/dist/cli/initial-message.js +0 -0
  2533. /package/node_modules/{@entelligentsia → @earendil-works}/pi-coding-agent/dist/cli/list-models.d.ts +0 -0
  2534. /package/node_modules/{@entelligentsia → @earendil-works}/pi-coding-agent/dist/cli/session-picker.d.ts +0 -0
  2535. /package/node_modules/{@entelligentsia → @earendil-works}/pi-coding-agent/dist/cli.d.ts +0 -0
  2536. /package/node_modules/{@entelligentsia → @earendil-works}/pi-coding-agent/dist/config.d.ts +0 -0
  2537. /package/node_modules/{@entelligentsia → @earendil-works}/pi-coding-agent/dist/core/agent-session-runtime.d.ts +0 -0
  2538. /package/node_modules/{@entelligentsia → @earendil-works}/pi-coding-agent/dist/core/agent-session-runtime.d.ts.map +0 -0
  2539. /package/node_modules/{@entelligentsia → @earendil-works}/pi-coding-agent/dist/core/agent-session-runtime.js +0 -0
  2540. /package/node_modules/{@entelligentsia → @earendil-works}/pi-coding-agent/dist/core/agent-session-runtime.js.map +0 -0
  2541. /package/node_modules/{@entelligentsia → @earendil-works}/pi-coding-agent/dist/core/agent-session-services.js +0 -0
  2542. /package/node_modules/{@entelligentsia → @earendil-works}/pi-coding-agent/dist/core/auth-guidance.d.ts +0 -0
  2543. /package/node_modules/{@entelligentsia → @earendil-works}/pi-coding-agent/dist/core/auth-guidance.d.ts.map +0 -0
  2544. /package/node_modules/{@entelligentsia → @earendil-works}/pi-coding-agent/dist/core/auth-guidance.js +0 -0
  2545. /package/node_modules/{@entelligentsia → @earendil-works}/pi-coding-agent/dist/core/auth-guidance.js.map +0 -0
  2546. /package/node_modules/{@entelligentsia → @earendil-works}/pi-coding-agent/dist/core/bash-executor.d.ts +0 -0
  2547. /package/node_modules/{@entelligentsia → @earendil-works}/pi-coding-agent/dist/core/compaction/index.d.ts +0 -0
  2548. /package/node_modules/{@entelligentsia → @earendil-works}/pi-coding-agent/dist/core/compaction/index.d.ts.map +0 -0
  2549. /package/node_modules/{@entelligentsia → @earendil-works}/pi-coding-agent/dist/core/compaction/index.js +0 -0
  2550. /package/node_modules/{@entelligentsia → @earendil-works}/pi-coding-agent/dist/core/compaction/index.js.map +0 -0
  2551. /package/node_modules/{@entelligentsia → @earendil-works}/pi-coding-agent/dist/core/compaction/utils.js +0 -0
  2552. /package/node_modules/{@entelligentsia → @earendil-works}/pi-coding-agent/dist/core/defaults.js +0 -0
  2553. /package/node_modules/{@entelligentsia → @earendil-works}/pi-coding-agent/dist/core/diagnostics.d.ts +0 -0
  2554. /package/node_modules/{@entelligentsia → @earendil-works}/pi-coding-agent/dist/core/diagnostics.d.ts.map +0 -0
  2555. /package/node_modules/{@entelligentsia → @earendil-works}/pi-coding-agent/dist/core/diagnostics.js +0 -0
  2556. /package/node_modules/{@entelligentsia → @earendil-works}/pi-coding-agent/dist/core/diagnostics.js.map +0 -0
  2557. /package/node_modules/{@entelligentsia → @earendil-works}/pi-coding-agent/dist/core/event-bus.d.ts +0 -0
  2558. /package/node_modules/{@entelligentsia → @earendil-works}/pi-coding-agent/dist/core/event-bus.d.ts.map +0 -0
  2559. /package/node_modules/{@entelligentsia → @earendil-works}/pi-coding-agent/dist/core/event-bus.js +0 -0
  2560. /package/node_modules/{@entelligentsia → @earendil-works}/pi-coding-agent/dist/core/event-bus.js.map +0 -0
  2561. /package/node_modules/{@entelligentsia → @earendil-works}/pi-coding-agent/dist/core/exec.d.ts +0 -0
  2562. /package/node_modules/{@entelligentsia → @earendil-works}/pi-coding-agent/dist/core/exec.d.ts.map +0 -0
  2563. /package/node_modules/{@entelligentsia → @earendil-works}/pi-coding-agent/dist/core/exec.js +0 -0
  2564. /package/node_modules/{@entelligentsia → @earendil-works}/pi-coding-agent/dist/core/exec.js.map +0 -0
  2565. /package/node_modules/{@entelligentsia → @earendil-works}/pi-coding-agent/dist/core/export-html/ansi-to-html.d.ts +0 -0
  2566. /package/node_modules/{@entelligentsia → @earendil-works}/pi-coding-agent/dist/core/export-html/ansi-to-html.d.ts.map +0 -0
  2567. /package/node_modules/{@entelligentsia → @earendil-works}/pi-coding-agent/dist/core/export-html/ansi-to-html.js +0 -0
  2568. /package/node_modules/{@entelligentsia → @earendil-works}/pi-coding-agent/dist/core/export-html/ansi-to-html.js.map +0 -0
  2569. /package/node_modules/{@entelligentsia → @earendil-works}/pi-coding-agent/dist/core/export-html/index.js +0 -0
  2570. /package/node_modules/{@entelligentsia → @earendil-works}/pi-coding-agent/dist/core/export-html/template.css +0 -0
  2571. /package/node_modules/{@entelligentsia → @earendil-works}/pi-coding-agent/dist/core/export-html/template.html +0 -0
  2572. /package/node_modules/{@entelligentsia → @earendil-works}/pi-coding-agent/dist/core/export-html/template.js +0 -0
  2573. /package/node_modules/{@entelligentsia → @earendil-works}/pi-coding-agent/dist/core/export-html/tool-renderer.d.ts +0 -0
  2574. /package/node_modules/{@entelligentsia → @earendil-works}/pi-coding-agent/dist/core/export-html/tool-renderer.js +0 -0
  2575. /package/node_modules/{@entelligentsia → @earendil-works}/pi-coding-agent/dist/core/export-html/vendor/highlight.min.js +0 -0
  2576. /package/node_modules/{@entelligentsia → @earendil-works}/pi-coding-agent/dist/core/export-html/vendor/marked.min.js +0 -0
  2577. /package/node_modules/{@entelligentsia → @earendil-works}/pi-coding-agent/dist/core/extensions/index.d.ts +0 -0
  2578. /package/node_modules/{@entelligentsia → @earendil-works}/pi-coding-agent/dist/core/extensions/index.d.ts.map +0 -0
  2579. /package/node_modules/{@entelligentsia → @earendil-works}/pi-coding-agent/dist/core/extensions/index.js +0 -0
  2580. /package/node_modules/{@entelligentsia → @earendil-works}/pi-coding-agent/dist/core/extensions/index.js.map +0 -0
  2581. /package/node_modules/{@entelligentsia → @earendil-works}/pi-coding-agent/dist/core/extensions/loader.d.ts +0 -0
  2582. /package/node_modules/{@entelligentsia → @earendil-works}/pi-coding-agent/dist/core/extensions/types.js +0 -0
  2583. /package/node_modules/{@entelligentsia → @earendil-works}/pi-coding-agent/dist/core/extensions/wrapper.js +0 -0
  2584. /package/node_modules/{@entelligentsia → @earendil-works}/pi-coding-agent/dist/core/footer-data-provider.d.ts +0 -0
  2585. /package/node_modules/{@entelligentsia → @earendil-works}/pi-coding-agent/dist/core/footer-data-provider.d.ts.map +0 -0
  2586. /package/node_modules/{@entelligentsia → @earendil-works}/pi-coding-agent/dist/core/footer-data-provider.js +0 -0
  2587. /package/node_modules/{@entelligentsia → @earendil-works}/pi-coding-agent/dist/core/footer-data-provider.js.map +0 -0
  2588. /package/node_modules/{@entelligentsia → @earendil-works}/pi-coding-agent/dist/core/index.d.ts +0 -0
  2589. /package/node_modules/{@entelligentsia → @earendil-works}/pi-coding-agent/dist/core/index.d.ts.map +0 -0
  2590. /package/node_modules/{@entelligentsia → @earendil-works}/pi-coding-agent/dist/core/index.js +0 -0
  2591. /package/node_modules/{@entelligentsia → @earendil-works}/pi-coding-agent/dist/core/index.js.map +0 -0
  2592. /package/node_modules/{@entelligentsia → @earendil-works}/pi-coding-agent/dist/core/messages.js +0 -0
  2593. /package/node_modules/{@entelligentsia → @earendil-works}/pi-coding-agent/dist/core/output-guard.d.ts +0 -0
  2594. /package/node_modules/{@entelligentsia → @earendil-works}/pi-coding-agent/dist/core/output-guard.d.ts.map +0 -0
  2595. /package/node_modules/{@entelligentsia → @earendil-works}/pi-coding-agent/dist/core/output-guard.js +0 -0
  2596. /package/node_modules/{@entelligentsia → @earendil-works}/pi-coding-agent/dist/core/output-guard.js.map +0 -0
  2597. /package/node_modules/{@entelligentsia → @earendil-works}/pi-coding-agent/dist/core/prompt-templates.d.ts +0 -0
  2598. /package/node_modules/{@entelligentsia → @earendil-works}/pi-coding-agent/dist/core/provider-display-names.d.ts +0 -0
  2599. /package/node_modules/{@entelligentsia → @earendil-works}/pi-coding-agent/dist/core/resolve-config-value.d.ts +0 -0
  2600. /package/node_modules/{@entelligentsia → @earendil-works}/pi-coding-agent/dist/core/resolve-config-value.d.ts.map +0 -0
  2601. /package/node_modules/{@entelligentsia → @earendil-works}/pi-coding-agent/dist/core/resolve-config-value.js +0 -0
  2602. /package/node_modules/{@entelligentsia → @earendil-works}/pi-coding-agent/dist/core/resolve-config-value.js.map +0 -0
  2603. /package/node_modules/{@entelligentsia → @earendil-works}/pi-coding-agent/dist/core/resource-loader.d.ts +0 -0
  2604. /package/node_modules/{@entelligentsia → @earendil-works}/pi-coding-agent/dist/core/resource-loader.d.ts.map +0 -0
  2605. /package/node_modules/{@entelligentsia → @earendil-works}/pi-coding-agent/dist/core/resource-loader.js +0 -0
  2606. /package/node_modules/{@entelligentsia → @earendil-works}/pi-coding-agent/dist/core/resource-loader.js.map +0 -0
  2607. /package/node_modules/{@entelligentsia → @earendil-works}/pi-coding-agent/dist/core/session-cwd.d.ts +0 -0
  2608. /package/node_modules/{@entelligentsia → @earendil-works}/pi-coding-agent/dist/core/session-cwd.d.ts.map +0 -0
  2609. /package/node_modules/{@entelligentsia → @earendil-works}/pi-coding-agent/dist/core/session-cwd.js +0 -0
  2610. /package/node_modules/{@entelligentsia → @earendil-works}/pi-coding-agent/dist/core/session-cwd.js.map +0 -0
  2611. /package/node_modules/{@entelligentsia → @earendil-works}/pi-coding-agent/dist/core/settings-manager.js +0 -0
  2612. /package/node_modules/{@entelligentsia → @earendil-works}/pi-coding-agent/dist/core/skills.d.ts +0 -0
  2613. /package/node_modules/{@entelligentsia → @earendil-works}/pi-coding-agent/dist/core/slash-commands.d.ts +0 -0
  2614. /package/node_modules/{@entelligentsia → @earendil-works}/pi-coding-agent/dist/core/slash-commands.d.ts.map +0 -0
  2615. /package/node_modules/{@entelligentsia → @earendil-works}/pi-coding-agent/dist/core/slash-commands.js +0 -0
  2616. /package/node_modules/{@entelligentsia → @earendil-works}/pi-coding-agent/dist/core/slash-commands.js.map +0 -0
  2617. /package/node_modules/{@entelligentsia → @earendil-works}/pi-coding-agent/dist/core/source-info.d.ts +0 -0
  2618. /package/node_modules/{@entelligentsia → @earendil-works}/pi-coding-agent/dist/core/source-info.d.ts.map +0 -0
  2619. /package/node_modules/{@entelligentsia → @earendil-works}/pi-coding-agent/dist/core/source-info.js +0 -0
  2620. /package/node_modules/{@entelligentsia → @earendil-works}/pi-coding-agent/dist/core/source-info.js.map +0 -0
  2621. /package/node_modules/{@entelligentsia → @earendil-works}/pi-coding-agent/dist/core/system-prompt.d.ts +0 -0
  2622. /package/node_modules/{@entelligentsia → @earendil-works}/pi-coding-agent/dist/core/system-prompt.d.ts.map +0 -0
  2623. /package/node_modules/{@entelligentsia → @earendil-works}/pi-coding-agent/dist/core/system-prompt.js +0 -0
  2624. /package/node_modules/{@entelligentsia → @earendil-works}/pi-coding-agent/dist/core/system-prompt.js.map +0 -0
  2625. /package/node_modules/{@entelligentsia → @earendil-works}/pi-coding-agent/dist/core/telemetry.d.ts +0 -0
  2626. /package/node_modules/{@entelligentsia → @earendil-works}/pi-coding-agent/dist/core/telemetry.d.ts.map +0 -0
  2627. /package/node_modules/{@entelligentsia → @earendil-works}/pi-coding-agent/dist/core/telemetry.js +0 -0
  2628. /package/node_modules/{@entelligentsia → @earendil-works}/pi-coding-agent/dist/core/telemetry.js.map +0 -0
  2629. /package/node_modules/{@entelligentsia → @earendil-works}/pi-coding-agent/dist/core/timings.d.ts +0 -0
  2630. /package/node_modules/{@entelligentsia → @earendil-works}/pi-coding-agent/dist/core/timings.d.ts.map +0 -0
  2631. /package/node_modules/{@entelligentsia → @earendil-works}/pi-coding-agent/dist/core/timings.js +0 -0
  2632. /package/node_modules/{@entelligentsia → @earendil-works}/pi-coding-agent/dist/core/timings.js.map +0 -0
  2633. /package/node_modules/{@entelligentsia → @earendil-works}/pi-coding-agent/dist/core/tools/edit-diff.d.ts +0 -0
  2634. /package/node_modules/{@entelligentsia → @earendil-works}/pi-coding-agent/dist/core/tools/edit-diff.d.ts.map +0 -0
  2635. /package/node_modules/{@entelligentsia → @earendil-works}/pi-coding-agent/dist/core/tools/edit-diff.js +0 -0
  2636. /package/node_modules/{@entelligentsia → @earendil-works}/pi-coding-agent/dist/core/tools/edit-diff.js.map +0 -0
  2637. /package/node_modules/{@entelligentsia → @earendil-works}/pi-coding-agent/dist/core/tools/file-mutation-queue.d.ts +0 -0
  2638. /package/node_modules/{@entelligentsia → @earendil-works}/pi-coding-agent/dist/core/tools/file-mutation-queue.d.ts.map +0 -0
  2639. /package/node_modules/{@entelligentsia → @earendil-works}/pi-coding-agent/dist/core/tools/file-mutation-queue.js +0 -0
  2640. /package/node_modules/{@entelligentsia → @earendil-works}/pi-coding-agent/dist/core/tools/file-mutation-queue.js.map +0 -0
  2641. /package/node_modules/{@entelligentsia → @earendil-works}/pi-coding-agent/dist/core/tools/index.js +0 -0
  2642. /package/node_modules/{@entelligentsia → @earendil-works}/pi-coding-agent/dist/core/tools/output-accumulator.d.ts +0 -0
  2643. /package/node_modules/{@entelligentsia → @earendil-works}/pi-coding-agent/dist/core/tools/output-accumulator.d.ts.map +0 -0
  2644. /package/node_modules/{@entelligentsia → @earendil-works}/pi-coding-agent/dist/core/tools/output-accumulator.js +0 -0
  2645. /package/node_modules/{@entelligentsia → @earendil-works}/pi-coding-agent/dist/core/tools/output-accumulator.js.map +0 -0
  2646. /package/node_modules/{@entelligentsia → @earendil-works}/pi-coding-agent/dist/core/tools/path-utils.d.ts +0 -0
  2647. /package/node_modules/{@entelligentsia → @earendil-works}/pi-coding-agent/dist/core/tools/path-utils.d.ts.map +0 -0
  2648. /package/node_modules/{@entelligentsia → @earendil-works}/pi-coding-agent/dist/core/tools/path-utils.js +0 -0
  2649. /package/node_modules/{@entelligentsia → @earendil-works}/pi-coding-agent/dist/core/tools/path-utils.js.map +0 -0
  2650. /package/node_modules/{@entelligentsia → @earendil-works}/pi-coding-agent/dist/core/tools/tool-definition-wrapper.js +0 -0
  2651. /package/node_modules/{@entelligentsia → @earendil-works}/pi-coding-agent/dist/core/tools/truncate.d.ts.map +0 -0
  2652. /package/node_modules/{@entelligentsia → @earendil-works}/pi-coding-agent/dist/core/tools/truncate.js +0 -0
  2653. /package/node_modules/{@entelligentsia → @earendil-works}/pi-coding-agent/dist/core/tools/truncate.js.map +0 -0
  2654. /package/node_modules/{@entelligentsia → @earendil-works}/pi-coding-agent/dist/index.d.ts +0 -0
  2655. /package/node_modules/{@entelligentsia → @earendil-works}/pi-coding-agent/dist/index.d.ts.map +0 -0
  2656. /package/node_modules/{@entelligentsia → @earendil-works}/pi-coding-agent/dist/index.js +0 -0
  2657. /package/node_modules/{@entelligentsia → @earendil-works}/pi-coding-agent/dist/index.js.map +0 -0
  2658. /package/node_modules/{@entelligentsia → @earendil-works}/pi-coding-agent/dist/main.d.ts +0 -0
  2659. /package/node_modules/{@entelligentsia → @earendil-works}/pi-coding-agent/dist/migrations.d.ts +0 -0
  2660. /package/node_modules/{@entelligentsia → @earendil-works}/pi-coding-agent/dist/migrations.d.ts.map +0 -0
  2661. /package/node_modules/{@entelligentsia → @earendil-works}/pi-coding-agent/dist/migrations.js +0 -0
  2662. /package/node_modules/{@entelligentsia → @earendil-works}/pi-coding-agent/dist/migrations.js.map +0 -0
  2663. /package/node_modules/{@entelligentsia → @earendil-works}/pi-coding-agent/dist/modes/index.d.ts +0 -0
  2664. /package/node_modules/{@entelligentsia → @earendil-works}/pi-coding-agent/dist/modes/index.d.ts.map +0 -0
  2665. /package/node_modules/{@entelligentsia → @earendil-works}/pi-coding-agent/dist/modes/index.js +0 -0
  2666. /package/node_modules/{@entelligentsia → @earendil-works}/pi-coding-agent/dist/modes/index.js.map +0 -0
  2667. /package/node_modules/{@entelligentsia → @earendil-works}/pi-coding-agent/dist/modes/interactive/assets/clankolas.png +0 -0
  2668. /package/node_modules/{@entelligentsia → @earendil-works}/pi-coding-agent/dist/modes/interactive/components/armin.js +0 -0
  2669. /package/node_modules/{@entelligentsia → @earendil-works}/pi-coding-agent/dist/modes/interactive/components/countdown-timer.js +0 -0
  2670. /package/node_modules/{@entelligentsia → @earendil-works}/pi-coding-agent/dist/modes/interactive/components/daxnuts.js +0 -0
  2671. /package/node_modules/{@entelligentsia → @earendil-works}/pi-coding-agent/dist/modes/interactive/components/diff.d.ts +0 -0
  2672. /package/node_modules/{@entelligentsia → @earendil-works}/pi-coding-agent/dist/modes/interactive/components/diff.d.ts.map +0 -0
  2673. /package/node_modules/{@entelligentsia → @earendil-works}/pi-coding-agent/dist/modes/interactive/components/diff.js +0 -0
  2674. /package/node_modules/{@entelligentsia → @earendil-works}/pi-coding-agent/dist/modes/interactive/components/diff.js.map +0 -0
  2675. /package/node_modules/{@entelligentsia → @earendil-works}/pi-coding-agent/dist/modes/interactive/components/dynamic-border.js +0 -0
  2676. /package/node_modules/{@entelligentsia → @earendil-works}/pi-coding-agent/dist/modes/interactive/components/index.d.ts +0 -0
  2677. /package/node_modules/{@entelligentsia → @earendil-works}/pi-coding-agent/dist/modes/interactive/components/index.d.ts.map +0 -0
  2678. /package/node_modules/{@entelligentsia → @earendil-works}/pi-coding-agent/dist/modes/interactive/components/index.js +0 -0
  2679. /package/node_modules/{@entelligentsia → @earendil-works}/pi-coding-agent/dist/modes/interactive/components/index.js.map +0 -0
  2680. /package/node_modules/{@entelligentsia → @earendil-works}/pi-coding-agent/dist/modes/interactive/components/session-selector-search.d.ts +0 -0
  2681. /package/node_modules/{@entelligentsia → @earendil-works}/pi-coding-agent/dist/modes/interactive/components/visual-truncate.d.ts +0 -0
  2682. /package/node_modules/{@entelligentsia → @earendil-works}/pi-coding-agent/dist/modes/interactive/theme/theme-schema.json +0 -0
  2683. /package/node_modules/{@entelligentsia → @earendil-works}/pi-coding-agent/dist/modes/print-mode.js +0 -0
  2684. /package/node_modules/{@entelligentsia → @earendil-works}/pi-coding-agent/dist/modes/rpc/jsonl.d.ts +0 -0
  2685. /package/node_modules/{@entelligentsia → @earendil-works}/pi-coding-agent/dist/modes/rpc/jsonl.d.ts.map +0 -0
  2686. /package/node_modules/{@entelligentsia → @earendil-works}/pi-coding-agent/dist/modes/rpc/jsonl.js +0 -0
  2687. /package/node_modules/{@entelligentsia → @earendil-works}/pi-coding-agent/dist/modes/rpc/jsonl.js.map +0 -0
  2688. /package/node_modules/{@entelligentsia → @earendil-works}/pi-coding-agent/dist/modes/rpc/rpc-client.js +0 -0
  2689. /package/node_modules/{@entelligentsia → @earendil-works}/pi-coding-agent/dist/modes/rpc/rpc-mode.d.ts +0 -0
  2690. /package/node_modules/{@entelligentsia → @earendil-works}/pi-coding-agent/dist/modes/rpc/rpc-types.js +0 -0
  2691. /package/node_modules/{@entelligentsia → @earendil-works}/pi-coding-agent/dist/package-manager-cli.d.ts +0 -0
  2692. /package/node_modules/{@entelligentsia → @earendil-works}/pi-coding-agent/dist/package-manager-cli.d.ts.map +0 -0
  2693. /package/node_modules/{@entelligentsia → @earendil-works}/pi-coding-agent/dist/package-manager-cli.js +0 -0
  2694. /package/node_modules/{@entelligentsia → @earendil-works}/pi-coding-agent/dist/package-manager-cli.js.map +0 -0
  2695. /package/node_modules/{@entelligentsia → @earendil-works}/pi-coding-agent/dist/utils/changelog.d.ts +0 -0
  2696. /package/node_modules/{@entelligentsia → @earendil-works}/pi-coding-agent/dist/utils/changelog.d.ts.map +0 -0
  2697. /package/node_modules/{@entelligentsia → @earendil-works}/pi-coding-agent/dist/utils/changelog.js +0 -0
  2698. /package/node_modules/{@entelligentsia → @earendil-works}/pi-coding-agent/dist/utils/changelog.js.map +0 -0
  2699. /package/node_modules/{@entelligentsia → @earendil-works}/pi-coding-agent/dist/utils/child-process.d.ts +0 -0
  2700. /package/node_modules/{@entelligentsia → @earendil-works}/pi-coding-agent/dist/utils/child-process.d.ts.map +0 -0
  2701. /package/node_modules/{@entelligentsia → @earendil-works}/pi-coding-agent/dist/utils/child-process.js +0 -0
  2702. /package/node_modules/{@entelligentsia → @earendil-works}/pi-coding-agent/dist/utils/child-process.js.map +0 -0
  2703. /package/node_modules/{@entelligentsia → @earendil-works}/pi-coding-agent/dist/utils/clipboard-image.d.ts +0 -0
  2704. /package/node_modules/{@entelligentsia → @earendil-works}/pi-coding-agent/dist/utils/clipboard-image.d.ts.map +0 -0
  2705. /package/node_modules/{@entelligentsia → @earendil-works}/pi-coding-agent/dist/utils/clipboard-image.js +0 -0
  2706. /package/node_modules/{@entelligentsia → @earendil-works}/pi-coding-agent/dist/utils/clipboard-image.js.map +0 -0
  2707. /package/node_modules/{@entelligentsia → @earendil-works}/pi-coding-agent/dist/utils/clipboard-native.d.ts +0 -0
  2708. /package/node_modules/{@entelligentsia → @earendil-works}/pi-coding-agent/dist/utils/clipboard-native.d.ts.map +0 -0
  2709. /package/node_modules/{@entelligentsia → @earendil-works}/pi-coding-agent/dist/utils/clipboard-native.js +0 -0
  2710. /package/node_modules/{@entelligentsia → @earendil-works}/pi-coding-agent/dist/utils/clipboard-native.js.map +0 -0
  2711. /package/node_modules/{@entelligentsia → @earendil-works}/pi-coding-agent/dist/utils/clipboard.d.ts +0 -0
  2712. /package/node_modules/{@entelligentsia → @earendil-works}/pi-coding-agent/dist/utils/clipboard.d.ts.map +0 -0
  2713. /package/node_modules/{@entelligentsia → @earendil-works}/pi-coding-agent/dist/utils/clipboard.js +0 -0
  2714. /package/node_modules/{@entelligentsia → @earendil-works}/pi-coding-agent/dist/utils/clipboard.js.map +0 -0
  2715. /package/node_modules/{@entelligentsia → @earendil-works}/pi-coding-agent/dist/utils/exif-orientation.d.ts +0 -0
  2716. /package/node_modules/{@entelligentsia → @earendil-works}/pi-coding-agent/dist/utils/exif-orientation.d.ts.map +0 -0
  2717. /package/node_modules/{@entelligentsia → @earendil-works}/pi-coding-agent/dist/utils/exif-orientation.js +0 -0
  2718. /package/node_modules/{@entelligentsia → @earendil-works}/pi-coding-agent/dist/utils/exif-orientation.js.map +0 -0
  2719. /package/node_modules/{@entelligentsia → @earendil-works}/pi-coding-agent/dist/utils/frontmatter.d.ts +0 -0
  2720. /package/node_modules/{@entelligentsia → @earendil-works}/pi-coding-agent/dist/utils/frontmatter.d.ts.map +0 -0
  2721. /package/node_modules/{@entelligentsia → @earendil-works}/pi-coding-agent/dist/utils/frontmatter.js +0 -0
  2722. /package/node_modules/{@entelligentsia → @earendil-works}/pi-coding-agent/dist/utils/frontmatter.js.map +0 -0
  2723. /package/node_modules/{@entelligentsia → @earendil-works}/pi-coding-agent/dist/utils/fs-watch.d.ts +0 -0
  2724. /package/node_modules/{@entelligentsia → @earendil-works}/pi-coding-agent/dist/utils/fs-watch.d.ts.map +0 -0
  2725. /package/node_modules/{@entelligentsia → @earendil-works}/pi-coding-agent/dist/utils/fs-watch.js +0 -0
  2726. /package/node_modules/{@entelligentsia → @earendil-works}/pi-coding-agent/dist/utils/fs-watch.js.map +0 -0
  2727. /package/node_modules/{@entelligentsia → @earendil-works}/pi-coding-agent/dist/utils/git.d.ts +0 -0
  2728. /package/node_modules/{@entelligentsia → @earendil-works}/pi-coding-agent/dist/utils/git.d.ts.map +0 -0
  2729. /package/node_modules/{@entelligentsia → @earendil-works}/pi-coding-agent/dist/utils/git.js +0 -0
  2730. /package/node_modules/{@entelligentsia → @earendil-works}/pi-coding-agent/dist/utils/git.js.map +0 -0
  2731. /package/node_modules/{@entelligentsia → @earendil-works}/pi-coding-agent/dist/utils/image-convert.d.ts +0 -0
  2732. /package/node_modules/{@entelligentsia → @earendil-works}/pi-coding-agent/dist/utils/image-convert.d.ts.map +0 -0
  2733. /package/node_modules/{@entelligentsia → @earendil-works}/pi-coding-agent/dist/utils/image-convert.js +0 -0
  2734. /package/node_modules/{@entelligentsia → @earendil-works}/pi-coding-agent/dist/utils/image-convert.js.map +0 -0
  2735. /package/node_modules/{@entelligentsia → @earendil-works}/pi-coding-agent/dist/utils/image-resize.js +0 -0
  2736. /package/node_modules/{@entelligentsia → @earendil-works}/pi-coding-agent/dist/utils/paths.d.ts +0 -0
  2737. /package/node_modules/{@entelligentsia → @earendil-works}/pi-coding-agent/dist/utils/paths.d.ts.map +0 -0
  2738. /package/node_modules/{@entelligentsia → @earendil-works}/pi-coding-agent/dist/utils/paths.js +0 -0
  2739. /package/node_modules/{@entelligentsia → @earendil-works}/pi-coding-agent/dist/utils/paths.js.map +0 -0
  2740. /package/node_modules/{@entelligentsia → @earendil-works}/pi-coding-agent/dist/utils/photon.d.ts +0 -0
  2741. /package/node_modules/{@entelligentsia → @earendil-works}/pi-coding-agent/dist/utils/photon.d.ts.map +0 -0
  2742. /package/node_modules/{@entelligentsia → @earendil-works}/pi-coding-agent/dist/utils/photon.js +0 -0
  2743. /package/node_modules/{@entelligentsia → @earendil-works}/pi-coding-agent/dist/utils/photon.js.map +0 -0
  2744. /package/node_modules/{@entelligentsia → @earendil-works}/pi-coding-agent/dist/utils/pi-user-agent.d.ts +0 -0
  2745. /package/node_modules/{@entelligentsia → @earendil-works}/pi-coding-agent/dist/utils/pi-user-agent.d.ts.map +0 -0
  2746. /package/node_modules/{@entelligentsia → @earendil-works}/pi-coding-agent/dist/utils/pi-user-agent.js +0 -0
  2747. /package/node_modules/{@entelligentsia → @earendil-works}/pi-coding-agent/dist/utils/pi-user-agent.js.map +0 -0
  2748. /package/node_modules/{@entelligentsia → @earendil-works}/pi-coding-agent/dist/utils/shell.d.ts +0 -0
  2749. /package/node_modules/{@entelligentsia → @earendil-works}/pi-coding-agent/dist/utils/shell.d.ts.map +0 -0
  2750. /package/node_modules/{@entelligentsia → @earendil-works}/pi-coding-agent/dist/utils/shell.js +0 -0
  2751. /package/node_modules/{@entelligentsia → @earendil-works}/pi-coding-agent/dist/utils/shell.js.map +0 -0
  2752. /package/node_modules/{@entelligentsia → @earendil-works}/pi-coding-agent/dist/utils/sleep.d.ts +0 -0
  2753. /package/node_modules/{@entelligentsia → @earendil-works}/pi-coding-agent/dist/utils/sleep.d.ts.map +0 -0
  2754. /package/node_modules/{@entelligentsia → @earendil-works}/pi-coding-agent/dist/utils/sleep.js +0 -0
  2755. /package/node_modules/{@entelligentsia → @earendil-works}/pi-coding-agent/dist/utils/sleep.js.map +0 -0
  2756. /package/node_modules/{@entelligentsia → @earendil-works}/pi-coding-agent/dist/utils/tools-manager.d.ts +0 -0
  2757. /package/node_modules/{@entelligentsia → @earendil-works}/pi-coding-agent/dist/utils/version-check.d.ts +0 -0
  2758. /package/node_modules/{@entelligentsia → @earendil-works}/pi-coding-agent/dist/utils/version-check.d.ts.map +0 -0
  2759. /package/node_modules/{@entelligentsia → @earendil-works}/pi-coding-agent/dist/utils/version-check.js +0 -0
  2760. /package/node_modules/{@entelligentsia → @earendil-works}/pi-coding-agent/dist/utils/version-check.js.map +0 -0
  2761. /package/node_modules/{@entelligentsia → @earendil-works}/pi-coding-agent/docs/development.md +0 -0
  2762. /package/node_modules/{@entelligentsia → @earendil-works}/pi-coding-agent/docs/docs.json +0 -0
  2763. /package/node_modules/{@entelligentsia → @earendil-works}/pi-coding-agent/docs/images/doom-extension.png +0 -0
  2764. /package/node_modules/{@entelligentsia → @earendil-works}/pi-coding-agent/docs/images/exy.png +0 -0
  2765. /package/node_modules/{@entelligentsia → @earendil-works}/pi-coding-agent/docs/images/interactive-mode.png +0 -0
  2766. /package/node_modules/{@entelligentsia → @earendil-works}/pi-coding-agent/docs/images/tree-view.png +0 -0
  2767. /package/node_modules/{@entelligentsia → @earendil-works}/pi-coding-agent/docs/json.md +0 -0
  2768. /package/node_modules/{@entelligentsia → @earendil-works}/pi-coding-agent/docs/keybindings.md +0 -0
  2769. /package/node_modules/{@entelligentsia → @earendil-works}/pi-coding-agent/docs/prompt-templates.md +0 -0
  2770. /package/node_modules/{@entelligentsia → @earendil-works}/pi-coding-agent/docs/sessions.md +0 -0
  2771. /package/node_modules/{@entelligentsia → @earendil-works}/pi-coding-agent/docs/settings.md +0 -0
  2772. /package/node_modules/{@entelligentsia → @earendil-works}/pi-coding-agent/docs/shell-aliases.md +0 -0
  2773. /package/node_modules/{@entelligentsia → @earendil-works}/pi-coding-agent/docs/terminal-setup.md +0 -0
  2774. /package/node_modules/{@entelligentsia → @earendil-works}/pi-coding-agent/docs/tmux.md +0 -0
  2775. /package/node_modules/{@entelligentsia → @earendil-works}/pi-coding-agent/docs/usage.md +0 -0
  2776. /package/node_modules/{@entelligentsia → @earendil-works}/pi-coding-agent/docs/windows.md +0 -0
  2777. /package/node_modules/{@entelligentsia → @earendil-works}/pi-coding-agent/examples/README.md +0 -0
  2778. /package/node_modules/{@entelligentsia → @earendil-works}/pi-coding-agent/examples/extensions/doom-overlay/README.md +0 -0
  2779. /package/node_modules/{@entelligentsia → @earendil-works}/pi-coding-agent/examples/extensions/doom-overlay/doom/build/doom.js +0 -0
  2780. /package/node_modules/{@entelligentsia → @earendil-works}/pi-coding-agent/examples/extensions/doom-overlay/doom/build/doom.wasm +0 -0
  2781. /package/node_modules/{@entelligentsia → @earendil-works}/pi-coding-agent/examples/extensions/doom-overlay/doom/build.sh +0 -0
  2782. /package/node_modules/{@entelligentsia → @earendil-works}/pi-coding-agent/examples/extensions/doom-overlay/doom/doomgeneric_pi.c +0 -0
  2783. /package/node_modules/{@entelligentsia → @earendil-works}/pi-coding-agent/examples/extensions/doom-overlay/doom-engine.ts +0 -0
  2784. /package/node_modules/{@entelligentsia → @earendil-works}/pi-coding-agent/examples/extensions/doom-overlay/wad-finder.ts +0 -0
  2785. /package/node_modules/{@entelligentsia → @earendil-works}/pi-coding-agent/examples/extensions/dynamic-resources/SKILL.md +0 -0
  2786. /package/node_modules/{@entelligentsia → @earendil-works}/pi-coding-agent/examples/extensions/dynamic-resources/dynamic.md +0 -0
  2787. /package/node_modules/{@entelligentsia → @earendil-works}/pi-coding-agent/examples/extensions/plan-mode/README.md +0 -0
  2788. /package/node_modules/{@entelligentsia → @earendil-works}/pi-coding-agent/examples/extensions/plan-mode/utils.ts +0 -0
  2789. /package/node_modules/{@entelligentsia → @earendil-works}/pi-coding-agent/examples/extensions/subagent/README.md +0 -0
  2790. /package/node_modules/{@entelligentsia → @earendil-works}/pi-coding-agent/examples/extensions/subagent/agents/planner.md +0 -0
  2791. /package/node_modules/{@entelligentsia → @earendil-works}/pi-coding-agent/examples/extensions/subagent/agents/reviewer.md +0 -0
  2792. /package/node_modules/{@entelligentsia → @earendil-works}/pi-coding-agent/examples/extensions/subagent/agents/scout.md +0 -0
  2793. /package/node_modules/{@entelligentsia → @earendil-works}/pi-coding-agent/examples/extensions/subagent/agents/worker.md +0 -0
  2794. /package/node_modules/{@entelligentsia → @earendil-works}/pi-coding-agent/examples/extensions/subagent/prompts/implement-and-review.md +0 -0
  2795. /package/node_modules/{@entelligentsia → @earendil-works}/pi-coding-agent/examples/extensions/subagent/prompts/implement.md +0 -0
  2796. /package/node_modules/{@entelligentsia → @earendil-works}/pi-coding-agent/examples/extensions/subagent/prompts/scout-and-plan.md +0 -0
  2797. /package/node_modules/{@entelligentsia → @earendil-works}/pi-tui/dist/autocomplete.d.ts +0 -0
  2798. /package/node_modules/{@entelligentsia → @earendil-works}/pi-tui/dist/autocomplete.d.ts.map +0 -0
  2799. /package/node_modules/{@entelligentsia → @earendil-works}/pi-tui/dist/autocomplete.js +0 -0
  2800. /package/node_modules/{@entelligentsia → @earendil-works}/pi-tui/dist/autocomplete.js.map +0 -0
  2801. /package/node_modules/{@entelligentsia → @earendil-works}/pi-tui/dist/components/box.d.ts +0 -0
  2802. /package/node_modules/{@entelligentsia → @earendil-works}/pi-tui/dist/components/box.d.ts.map +0 -0
  2803. /package/node_modules/{@entelligentsia → @earendil-works}/pi-tui/dist/components/box.js +0 -0
  2804. /package/node_modules/{@entelligentsia → @earendil-works}/pi-tui/dist/components/box.js.map +0 -0
  2805. /package/node_modules/{@entelligentsia → @earendil-works}/pi-tui/dist/components/cancellable-loader.d.ts +0 -0
  2806. /package/node_modules/{@entelligentsia → @earendil-works}/pi-tui/dist/components/cancellable-loader.d.ts.map +0 -0
  2807. /package/node_modules/{@entelligentsia → @earendil-works}/pi-tui/dist/components/cancellable-loader.js +0 -0
  2808. /package/node_modules/{@entelligentsia → @earendil-works}/pi-tui/dist/components/cancellable-loader.js.map +0 -0
  2809. /package/node_modules/{@entelligentsia → @earendil-works}/pi-tui/dist/components/editor.d.ts +0 -0
  2810. /package/node_modules/{@entelligentsia → @earendil-works}/pi-tui/dist/components/editor.d.ts.map +0 -0
  2811. /package/node_modules/{@entelligentsia → @earendil-works}/pi-tui/dist/components/editor.js +0 -0
  2812. /package/node_modules/{@entelligentsia → @earendil-works}/pi-tui/dist/components/editor.js.map +0 -0
  2813. /package/node_modules/{@entelligentsia → @earendil-works}/pi-tui/dist/components/image.d.ts +0 -0
  2814. /package/node_modules/{@entelligentsia → @earendil-works}/pi-tui/dist/components/input.d.ts +0 -0
  2815. /package/node_modules/{@entelligentsia → @earendil-works}/pi-tui/dist/components/input.d.ts.map +0 -0
  2816. /package/node_modules/{@entelligentsia → @earendil-works}/pi-tui/dist/components/input.js +0 -0
  2817. /package/node_modules/{@entelligentsia → @earendil-works}/pi-tui/dist/components/input.js.map +0 -0
  2818. /package/node_modules/{@entelligentsia → @earendil-works}/pi-tui/dist/components/loader.d.ts +0 -0
  2819. /package/node_modules/{@entelligentsia → @earendil-works}/pi-tui/dist/components/loader.d.ts.map +0 -0
  2820. /package/node_modules/{@entelligentsia → @earendil-works}/pi-tui/dist/components/loader.js +0 -0
  2821. /package/node_modules/{@entelligentsia → @earendil-works}/pi-tui/dist/components/loader.js.map +0 -0
  2822. /package/node_modules/{@entelligentsia → @earendil-works}/pi-tui/dist/components/select-list.d.ts +0 -0
  2823. /package/node_modules/{@entelligentsia → @earendil-works}/pi-tui/dist/components/select-list.d.ts.map +0 -0
  2824. /package/node_modules/{@entelligentsia → @earendil-works}/pi-tui/dist/components/select-list.js +0 -0
  2825. /package/node_modules/{@entelligentsia → @earendil-works}/pi-tui/dist/components/select-list.js.map +0 -0
  2826. /package/node_modules/{@entelligentsia → @earendil-works}/pi-tui/dist/components/settings-list.d.ts +0 -0
  2827. /package/node_modules/{@entelligentsia → @earendil-works}/pi-tui/dist/components/settings-list.d.ts.map +0 -0
  2828. /package/node_modules/{@entelligentsia → @earendil-works}/pi-tui/dist/components/settings-list.js +0 -0
  2829. /package/node_modules/{@entelligentsia → @earendil-works}/pi-tui/dist/components/settings-list.js.map +0 -0
  2830. /package/node_modules/{@entelligentsia → @earendil-works}/pi-tui/dist/components/spacer.d.ts +0 -0
  2831. /package/node_modules/{@entelligentsia → @earendil-works}/pi-tui/dist/components/spacer.d.ts.map +0 -0
  2832. /package/node_modules/{@entelligentsia → @earendil-works}/pi-tui/dist/components/spacer.js +0 -0
  2833. /package/node_modules/{@entelligentsia → @earendil-works}/pi-tui/dist/components/spacer.js.map +0 -0
  2834. /package/node_modules/{@entelligentsia → @earendil-works}/pi-tui/dist/components/text.d.ts +0 -0
  2835. /package/node_modules/{@entelligentsia → @earendil-works}/pi-tui/dist/components/text.d.ts.map +0 -0
  2836. /package/node_modules/{@entelligentsia → @earendil-works}/pi-tui/dist/components/text.js +0 -0
  2837. /package/node_modules/{@entelligentsia → @earendil-works}/pi-tui/dist/components/text.js.map +0 -0
  2838. /package/node_modules/{@entelligentsia → @earendil-works}/pi-tui/dist/components/truncated-text.d.ts +0 -0
  2839. /package/node_modules/{@entelligentsia → @earendil-works}/pi-tui/dist/components/truncated-text.d.ts.map +0 -0
  2840. /package/node_modules/{@entelligentsia → @earendil-works}/pi-tui/dist/components/truncated-text.js +0 -0
  2841. /package/node_modules/{@entelligentsia → @earendil-works}/pi-tui/dist/components/truncated-text.js.map +0 -0
  2842. /package/node_modules/{@entelligentsia → @earendil-works}/pi-tui/dist/editor-component.d.ts +0 -0
  2843. /package/node_modules/{@entelligentsia → @earendil-works}/pi-tui/dist/editor-component.d.ts.map +0 -0
  2844. /package/node_modules/{@entelligentsia → @earendil-works}/pi-tui/dist/editor-component.js +0 -0
  2845. /package/node_modules/{@entelligentsia → @earendil-works}/pi-tui/dist/editor-component.js.map +0 -0
  2846. /package/node_modules/{@entelligentsia → @earendil-works}/pi-tui/dist/fuzzy.d.ts +0 -0
  2847. /package/node_modules/{@entelligentsia → @earendil-works}/pi-tui/dist/fuzzy.d.ts.map +0 -0
  2848. /package/node_modules/{@entelligentsia → @earendil-works}/pi-tui/dist/fuzzy.js +0 -0
  2849. /package/node_modules/{@entelligentsia → @earendil-works}/pi-tui/dist/fuzzy.js.map +0 -0
  2850. /package/node_modules/{@entelligentsia → @earendil-works}/pi-tui/dist/index.d.ts +0 -0
  2851. /package/node_modules/{@entelligentsia → @earendil-works}/pi-tui/dist/index.d.ts.map +0 -0
  2852. /package/node_modules/{@entelligentsia → @earendil-works}/pi-tui/dist/index.js +0 -0
  2853. /package/node_modules/{@entelligentsia → @earendil-works}/pi-tui/dist/index.js.map +0 -0
  2854. /package/node_modules/{@entelligentsia → @earendil-works}/pi-tui/dist/keybindings.d.ts +0 -0
  2855. /package/node_modules/{@entelligentsia → @earendil-works}/pi-tui/dist/keybindings.d.ts.map +0 -0
  2856. /package/node_modules/{@entelligentsia → @earendil-works}/pi-tui/dist/keybindings.js +0 -0
  2857. /package/node_modules/{@entelligentsia → @earendil-works}/pi-tui/dist/keybindings.js.map +0 -0
  2858. /package/node_modules/{@entelligentsia → @earendil-works}/pi-tui/dist/keys.d.ts +0 -0
  2859. /package/node_modules/{@entelligentsia → @earendil-works}/pi-tui/dist/keys.d.ts.map +0 -0
  2860. /package/node_modules/{@entelligentsia → @earendil-works}/pi-tui/dist/keys.js +0 -0
  2861. /package/node_modules/{@entelligentsia → @earendil-works}/pi-tui/dist/keys.js.map +0 -0
  2862. /package/node_modules/{@entelligentsia → @earendil-works}/pi-tui/dist/kill-ring.d.ts +0 -0
  2863. /package/node_modules/{@entelligentsia → @earendil-works}/pi-tui/dist/kill-ring.d.ts.map +0 -0
  2864. /package/node_modules/{@entelligentsia → @earendil-works}/pi-tui/dist/kill-ring.js +0 -0
  2865. /package/node_modules/{@entelligentsia → @earendil-works}/pi-tui/dist/kill-ring.js.map +0 -0
  2866. /package/node_modules/{@entelligentsia → @earendil-works}/pi-tui/dist/stdin-buffer.d.ts +0 -0
  2867. /package/node_modules/{@entelligentsia → @earendil-works}/pi-tui/dist/terminal.d.ts +0 -0
  2868. /package/node_modules/{@entelligentsia → @earendil-works}/pi-tui/dist/terminal.d.ts.map +0 -0
  2869. /package/node_modules/{@entelligentsia → @earendil-works}/pi-tui/dist/terminal.js +0 -0
  2870. /package/node_modules/{@entelligentsia → @earendil-works}/pi-tui/dist/terminal.js.map +0 -0
  2871. /package/node_modules/{@entelligentsia → @earendil-works}/pi-tui/dist/tui.d.ts +0 -0
  2872. /package/node_modules/{@entelligentsia → @earendil-works}/pi-tui/dist/tui.d.ts.map +0 -0
  2873. /package/node_modules/{@entelligentsia → @earendil-works}/pi-tui/dist/tui.js +0 -0
  2874. /package/node_modules/{@entelligentsia → @earendil-works}/pi-tui/dist/tui.js.map +0 -0
  2875. /package/node_modules/{@entelligentsia → @earendil-works}/pi-tui/dist/undo-stack.d.ts +0 -0
  2876. /package/node_modules/{@entelligentsia → @earendil-works}/pi-tui/dist/undo-stack.d.ts.map +0 -0
  2877. /package/node_modules/{@entelligentsia → @earendil-works}/pi-tui/dist/undo-stack.js +0 -0
  2878. /package/node_modules/{@entelligentsia → @earendil-works}/pi-tui/dist/undo-stack.js.map +0 -0
  2879. /package/node_modules/{@entelligentsia → @earendil-works}/pi-tui/dist/utils.d.ts +0 -0
  2880. /package/node_modules/{@entelligentsia → @earendil-works}/pi-tui/dist/utils.d.ts.map +0 -0
  2881. /package/node_modules/{@entelligentsia → @earendil-works}/pi-tui/dist/utils.js +0 -0
  2882. /package/node_modules/{@entelligentsia → @earendil-works}/pi-tui/dist/utils.js.map +0 -0
@@ -1 +0,0 @@
1
- {"version":3,"file":"skills.js","sourceRoot":"","sources":["../../src/core/skills.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,UAAU,EAAE,WAAW,EAAE,YAAY,EAAE,QAAQ,EAAE,MAAM,IAAI,CAAC;AACrE,OAAO,MAAM,MAAM,QAAQ,CAAC;AAC5B,OAAO,EAAE,OAAO,EAAE,MAAM,IAAI,CAAC;AAC7B,OAAO,EAAE,QAAQ,EAAE,OAAO,EAAE,UAAU,EAAE,IAAI,EAAE,QAAQ,EAAE,OAAO,EAAE,GAAG,EAAE,MAAM,MAAM,CAAC;AACnF,OAAO,EAAE,eAAe,EAAE,WAAW,EAAE,MAAM,cAAc,CAAC;AAC5D,OAAO,EAAE,gBAAgB,EAAE,MAAM,yBAAyB,CAAC;AAC3D,OAAO,EAAE,gBAAgB,EAAE,MAAM,mBAAmB,CAAC;AAErD,OAAO,EAAE,yBAAyB,EAAmB,MAAM,kBAAkB,CAAC;AAE9E,+BAA+B;AAC/B,MAAM,eAAe,GAAG,EAAE,CAAC;AAE3B,sCAAsC;AACtC,MAAM,sBAAsB,GAAG,IAAI,CAA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AAI,CAAC,EAAE,IAAI,EAAE,SAAS,EAAE,OAAO,EAAE,mCAAmC,EAAE,IAAI,EAAE,YAAY,EAAE,CAAC,CAAC;YAC5G,CAAC;QACF,CAAC;QAAC,OAAO,KAAK,EAAE,CAAC;YAChB,MAAM,OAAO,GAAG,KAAK,YAAY,KAAK,CAAC,CAAC,CAAC,KAAK,CAAC,OAAO,CAAC,CAAC,CAAC,2BAA2B,CAAC;YACrF,cAAc,CAAC,IAAI,CAAC,EAAE,IAAI,EAAE,SAAS,EAAE,OAAO,EAAE,IAAI,EAAE,YAAY,EAAE,CAAC,CAAC;QACvE,CAAC;IACF,CAAC;IAED,OAAO;QACN,MAAM,EAAE,KAAK,CAAC,IAAI,CAAC,QAAQ,CAAC,MAAM,EAAE,CAAC;QACrC,WAAW,EAAE,CAAC,GAAG,cAAc,EAAE,GAAG,oBAAoB,CAAC;KACzD,CAAC;AAAA,CACF","sourcesContent":["import { existsSync, readdirSync, readFileSync, statSync } from \"fs\";\nimport ignore from \"ignore\";\nimport { homedir } from \"os\";\nimport { basename, dirname, isAbsolute, join, relative, resolve, sep } from \"path\";\nimport { CONFIG_DIR_NAME, getAgentDir } from \"../config.js\";\nimport { parseFrontmatter } from \"../utils/frontmatter.js\";\nimport { canonicalizePath } from \"../utils/paths.js\";\nimport type { ResourceDiagnostic } from \"./diagnostics.js\";\nimport { createSyntheticSourceInfo, type SourceInfo } from \"./source-info.js\";\n\n/** Max name length per spec */\nconst MAX_NAME_LENGTH = 64;\n\n/** Max description length per spec */\nconst MAX_DESCRIPTION_LENGTH = 1024;\n\nconst IGNORE_FILE_NAMES = [\".gitignore\", \".ignore\", \".fdignore\"];\n\ntype IgnoreMatcher = ReturnType<typeof ignore>;\n\nfunction toPosixPath(p: string): string {\n\treturn p.split(sep).join(\"/\");\n}\n\nfunction prefixIgnorePattern(line: string, prefix: string): string | null {\n\tconst trimmed = line.trim();\n\tif (!trimmed) return null;\n\tif (trimmed.startsWith(\"#\") && !trimmed.startsWith(\"\\\\#\")) return null;\n\n\tlet pattern = line;\n\tlet negated = false;\n\n\tif (pattern.startsWith(\"!\")) {\n\t\tnegated = true;\n\t\tpattern = pattern.slice(1);\n\t} else if (pattern.startsWith(\"\\\\!\")) {\n\t\tpattern = pattern.slice(1);\n\t}\n\n\tif (pattern.startsWith(\"/\")) {\n\t\tpattern = pattern.slice(1);\n\t}\n\n\tconst prefixed = prefix ? `${prefix}${pattern}` : pattern;\n\treturn negated ? `!${prefixed}` : prefixed;\n}\n\nfunction addIgnoreRules(ig: IgnoreMatcher, dir: string, rootDir: string): void {\n\tconst relativeDir = relative(rootDir, dir);\n\tconst prefix = relativeDir ? `${toPosixPath(relativeDir)}/` : \"\";\n\n\tfor (const filename of IGNORE_FILE_NAMES) {\n\t\tconst ignorePath = join(dir, filename);\n\t\tif (!existsSync(ignorePath)) continue;\n\t\ttry {\n\t\t\tconst content = readFileSync(ignorePath, \"utf-8\");\n\t\t\tconst patterns = content\n\t\t\t\t.split(/\\r?\\n/)\n\t\t\t\t.map((line) => prefixIgnorePattern(line, prefix))\n\t\t\t\t.filter((line): line is string => Boolean(line));\n\t\t\tif (patterns.length > 0) {\n\t\t\t\tig.add(patterns);\n\t\t\t}\n\t\t} catch {}\n\t}\n}\n\nexport interface SkillFrontmatter {\n\tname?: string;\n\tdescription?: string;\n\t\"disable-model-invocation\"?: boolean;\n\t[key: string]: unknown;\n}\n\nexport interface Skill {\n\tname: string;\n\tdescription: string;\n\tfilePath: string;\n\tbaseDir: string;\n\tsourceInfo: SourceInfo;\n\tdisableModelInvocation: boolean;\n}\n\nexport interface LoadSkillsResult {\n\tskills: Skill[];\n\tdiagnostics: ResourceDiagnostic[];\n}\n\n/**\n * Validate skill name per Agent Skills spec.\n * Returns array of validation error messages (empty if valid).\n */\nfunction validateName(name: string, parentDirName: string): string[] {\n\tconst errors: string[] = [];\n\n\tif (name !== parentDirName) {\n\t\terrors.push(`name \"${name}\" does not match parent directory \"${parentDirName}\"`);\n\t}\n\n\tif (name.length > MAX_NAME_LENGTH) {\n\t\terrors.push(`name exceeds ${MAX_NAME_LENGTH} characters (${name.length})`);\n\t}\n\n\tif (!/^[a-z0-9-]+$/.test(name)) {\n\t\terrors.push(`name contains invalid characters (must be lowercase a-z, 0-9, hyphens only)`);\n\t}\n\n\tif (name.startsWith(\"-\") || name.endsWith(\"-\")) {\n\t\terrors.push(`name must not start or end with a hyphen`);\n\t}\n\n\tif (name.includes(\"--\")) {\n\t\terrors.push(`name must not contain consecutive hyphens`);\n\t}\n\n\treturn errors;\n}\n\n/**\n * Validate description per Agent Skills spec.\n */\nfunction validateDescription(description: string | undefined): string[] {\n\tconst errors: string[] = [];\n\n\tif (!description || description.trim() === \"\") {\n\t\terrors.push(\"description is required\");\n\t} else if (description.length > MAX_DESCRIPTION_LENGTH) {\n\t\terrors.push(`description exceeds ${MAX_DESCRIPTION_LENGTH} characters (${description.length})`);\n\t}\n\n\treturn errors;\n}\n\nexport interface LoadSkillsFromDirOptions {\n\t/** Directory to scan for skills */\n\tdir: string;\n\t/** Source identifier for these skills */\n\tsource: string;\n}\n\nfunction createSkillSourceInfo(filePath: string, baseDir: string, source: string): SourceInfo {\n\tswitch (source) {\n\t\tcase \"user\":\n\t\t\treturn createSyntheticSourceInfo(filePath, {\n\t\t\t\tsource: \"local\",\n\t\t\t\tscope: \"user\",\n\t\t\t\tbaseDir,\n\t\t\t});\n\t\tcase \"project\":\n\t\t\treturn createSyntheticSourceInfo(filePath, {\n\t\t\t\tsource: \"local\",\n\t\t\t\tscope: \"project\",\n\t\t\t\tbaseDir,\n\t\t\t});\n\t\tcase \"path\":\n\t\t\treturn createSyntheticSourceInfo(filePath, {\n\t\t\t\tsource: \"local\",\n\t\t\t\tbaseDir,\n\t\t\t});\n\t\tdefault:\n\t\t\treturn createSyntheticSourceInfo(filePath, { source, baseDir });\n\t}\n}\n\n/**\n * Load skills from a directory.\n *\n * Discovery rules:\n * - if a directory contains SKILL.md, treat it as a skill root and do not recurse further\n * - otherwise, load direct .md children in the root\n * - recurse into subdirectories to find SKILL.md\n */\nexport function loadSkillsFromDir(options: LoadSkillsFromDirOptions): LoadSkillsResult {\n\tconst { dir, source } = options;\n\treturn loadSkillsFromDirInternal(dir, source, true);\n}\n\nfunction loadSkillsFromDirInternal(\n\tdir: string,\n\tsource: string,\n\tincludeRootFiles: boolean,\n\tignoreMatcher?: IgnoreMatcher,\n\trootDir?: string,\n): LoadSkillsResult {\n\tconst skills: Skill[] = [];\n\tconst diagnostics: ResourceDiagnostic[] = [];\n\n\tif (!existsSync(dir)) {\n\t\treturn { skills, diagnostics };\n\t}\n\n\tconst root = rootDir ?? dir;\n\tconst ig = ignoreMatcher ?? ignore();\n\taddIgnoreRules(ig, dir, root);\n\n\ttry {\n\t\tconst entries = readdirSync(dir, { withFileTypes: true });\n\n\t\tfor (const entry of entries) {\n\t\t\tif (entry.name !== \"SKILL.md\") {\n\t\t\t\tcontinue;\n\t\t\t}\n\n\t\t\tconst fullPath = join(dir, entry.name);\n\n\t\t\tlet isFile = entry.isFile();\n\t\t\tif (entry.isSymbolicLink()) {\n\t\t\t\ttry {\n\t\t\t\t\tisFile = statSync(fullPath).isFile();\n\t\t\t\t} catch {\n\t\t\t\t\tcontinue;\n\t\t\t\t}\n\t\t\t}\n\n\t\t\tconst relPath = toPosixPath(relative(root, fullPath));\n\t\t\tif (!isFile || ig.ignores(relPath)) {\n\t\t\t\tcontinue;\n\t\t\t}\n\n\t\t\tconst result = loadSkillFromFile(fullPath, source);\n\t\t\tif (result.skill) {\n\t\t\t\tskills.push(result.skill);\n\t\t\t}\n\t\t\tdiagnostics.push(...result.diagnostics);\n\t\t\treturn { skills, diagnostics };\n\t\t}\n\n\t\tfor (const entry of entries) {\n\t\t\tif (entry.name.startsWith(\".\")) {\n\t\t\t\tcontinue;\n\t\t\t}\n\n\t\t\t// Skip node_modules to avoid scanning dependencies\n\t\t\tif (entry.name === \"node_modules\") {\n\t\t\t\tcontinue;\n\t\t\t}\n\n\t\t\tconst fullPath = join(dir, entry.name);\n\n\t\t\t// For symlinks, check if they point to a directory and follow them\n\t\t\tlet isDirectory = entry.isDirectory();\n\t\t\tlet isFile = entry.isFile();\n\t\t\tif (entry.isSymbolicLink()) {\n\t\t\t\ttry {\n\t\t\t\t\tconst stats = statSync(fullPath);\n\t\t\t\t\tisDirectory = stats.isDirectory();\n\t\t\t\t\tisFile = stats.isFile();\n\t\t\t\t} catch {\n\t\t\t\t\t// Broken symlink, skip it\n\t\t\t\t\tcontinue;\n\t\t\t\t}\n\t\t\t}\n\n\t\t\tconst relPath = toPosixPath(relative(root, fullPath));\n\t\t\tconst ignorePath = isDirectory ? `${relPath}/` : relPath;\n\t\t\tif (ig.ignores(ignorePath)) {\n\t\t\t\tcontinue;\n\t\t\t}\n\n\t\t\tif (isDirectory) {\n\t\t\t\tconst subResult = loadSkillsFromDirInternal(fullPath, source, false, ig, root);\n\t\t\t\tskills.push(...subResult.skills);\n\t\t\t\tdiagnostics.push(...subResult.diagnostics);\n\t\t\t\tcontinue;\n\t\t\t}\n\n\t\t\tif (!isFile || !includeRootFiles || !entry.name.endsWith(\".md\")) {\n\t\t\t\tcontinue;\n\t\t\t}\n\n\t\t\tconst result = loadSkillFromFile(fullPath, source);\n\t\t\tif (result.skill) {\n\t\t\t\tskills.push(result.skill);\n\t\t\t}\n\t\t\tdiagnostics.push(...result.diagnostics);\n\t\t}\n\t} catch {}\n\n\treturn { skills, diagnostics };\n}\n\nfunction loadSkillFromFile(\n\tfilePath: string,\n\tsource: string,\n): { skill: Skill | null; diagnostics: ResourceDiagnostic[] } {\n\tconst diagnostics: ResourceDiagnostic[] = [];\n\n\ttry {\n\t\tconst rawContent = readFileSync(filePath, \"utf-8\");\n\t\tconst { frontmatter } = parseFrontmatter<SkillFrontmatter>(rawContent);\n\t\tconst skillDir = dirname(filePath);\n\t\tconst parentDirName = basename(skillDir);\n\n\t\t// Validate description\n\t\tconst descErrors = validateDescription(frontmatter.description);\n\t\tfor (const error of descErrors) {\n\t\t\tdiagnostics.push({ type: \"warning\", message: error, path: filePath });\n\t\t}\n\n\t\t// Use name from frontmatter, or fall back to parent directory name\n\t\tconst name = frontmatter.name || parentDirName;\n\n\t\t// Validate name\n\t\tconst nameErrors = validateName(name, parentDirName);\n\t\tfor (const error of nameErrors) {\n\t\t\tdiagnostics.push({ type: \"warning\", message: error, path: filePath });\n\t\t}\n\n\t\t// Still load the skill even with warnings (unless description is completely missing)\n\t\tif (!frontmatter.description || frontmatter.description.trim() === \"\") {\n\t\t\treturn { skill: null, diagnostics };\n\t\t}\n\n\t\treturn {\n\t\t\tskill: {\n\t\t\t\tname,\n\t\t\t\tdescription: frontmatter.description,\n\t\t\t\tfilePath,\n\t\t\t\tbaseDir: skillDir,\n\t\t\t\tsourceInfo: createSkillSourceInfo(filePath, skillDir, source),\n\t\t\t\tdisableModelInvocation: frontmatter[\"disable-model-invocation\"] === true,\n\t\t\t},\n\t\t\tdiagnostics,\n\t\t};\n\t} catch (error) {\n\t\tconst message = error instanceof Error ? error.message : \"failed to parse skill file\";\n\t\tdiagnostics.push({ type: \"warning\", message, path: filePath });\n\t\treturn { skill: null, diagnostics };\n\t}\n}\n\n/**\n * Format skills for inclusion in a system prompt.\n * Uses XML format per Agent Skills standard.\n * See: https://agentskills.io/integrate-skills\n *\n * Skills with disableModelInvocation=true are excluded from the prompt\n * (they can only be invoked explicitly via /skill:name commands).\n */\nexport function formatSkillsForPrompt(skills: Skill[]): string {\n\tconst visibleSkills = skills.filter((s) => !s.disableModelInvocation);\n\n\tif (visibleSkills.length === 0) {\n\t\treturn \"\";\n\t}\n\n\tconst lines = [\n\t\t\"\\n\\nThe following skills provide specialized instructions for specific tasks.\",\n\t\t\"Use the read tool to load a skill's file when the task matches its description.\",\n\t\t\"When a skill file references a relative path, resolve it against the skill directory (parent of SKILL.md / dirname of the path) and use that absolute path in tool commands.\",\n\t\t\"\",\n\t\t\"<available_skills>\",\n\t];\n\n\tfor (const skill of visibleSkills) {\n\t\tlines.push(\" <skill>\");\n\t\tlines.push(` <name>${escapeXml(skill.name)}</name>`);\n\t\tlines.push(` <description>${escapeXml(skill.description)}</description>`);\n\t\tlines.push(` <location>${escapeXml(skill.filePath)}</location>`);\n\t\tlines.push(\" </skill>\");\n\t}\n\n\tlines.push(\"</available_skills>\");\n\n\treturn lines.join(\"\\n\");\n}\n\nfunction escapeXml(str: string): string {\n\treturn str\n\t\t.replace(/&/g, \"&amp;\")\n\t\t.replace(/</g, \"&lt;\")\n\t\t.replace(/>/g, \"&gt;\")\n\t\t.replace(/\"/g, \"&quot;\")\n\t\t.replace(/'/g, \"&apos;\");\n}\n\nexport interface LoadSkillsOptions {\n\t/** Working directory for project-local skills. */\n\tcwd: string;\n\t/** Agent config directory for global skills. */\n\tagentDir: string;\n\t/** Explicit skill paths (files or directories) */\n\tskillPaths: string[];\n\t/** Include default skills directories. */\n\tincludeDefaults: boolean;\n}\n\nfunction normalizePath(input: string): string {\n\tconst trimmed = input.trim();\n\tif (trimmed === \"~\") return homedir();\n\tif (trimmed.startsWith(\"~/\")) return join(homedir(), trimmed.slice(2));\n\tif (trimmed.startsWith(\"~\")) return join(homedir(), trimmed.slice(1));\n\treturn trimmed;\n}\n\nfunction resolveSkillPath(p: string, cwd: string): string {\n\tconst normalized = normalizePath(p);\n\treturn isAbsolute(normalized) ? normalized : resolve(cwd, normalized);\n}\n\n/**\n * Load skills from all configured locations.\n * Returns skills and any validation diagnostics.\n */\nexport function loadSkills(options: LoadSkillsOptions): LoadSkillsResult {\n\tconst { cwd, agentDir, skillPaths, includeDefaults } = options;\n\n\t// Resolve agentDir - if not provided, use default from config\n\tconst resolvedAgentDir = agentDir ?? getAgentDir();\n\n\tconst skillMap = new Map<string, Skill>();\n\tconst realPathSet = new Set<string>();\n\tconst allDiagnostics: ResourceDiagnostic[] = [];\n\tconst collisionDiagnostics: ResourceDiagnostic[] = [];\n\n\tfunction addSkills(result: LoadSkillsResult) {\n\t\tallDiagnostics.push(...result.diagnostics);\n\t\tfor (const skill of result.skills) {\n\t\t\t// Resolve symlinks to detect duplicate files\n\t\t\tconst realPath = canonicalizePath(skill.filePath);\n\n\t\t\t// Skip silently if we've already loaded this exact file (via symlink)\n\t\t\tif (realPathSet.has(realPath)) {\n\t\t\t\tcontinue;\n\t\t\t}\n\n\t\t\tconst existing = skillMap.get(skill.name);\n\t\t\tif (existing) {\n\t\t\t\tcollisionDiagnostics.push({\n\t\t\t\t\ttype: \"collision\",\n\t\t\t\t\tmessage: `name \"${skill.name}\" collision`,\n\t\t\t\t\tpath: skill.filePath,\n\t\t\t\t\tcollision: {\n\t\t\t\t\t\tresourceType: \"skill\",\n\t\t\t\t\t\tname: skill.name,\n\t\t\t\t\t\twinnerPath: existing.filePath,\n\t\t\t\t\t\tloserPath: skill.filePath,\n\t\t\t\t\t},\n\t\t\t\t});\n\t\t\t} else {\n\t\t\t\tskillMap.set(skill.name, skill);\n\t\t\t\trealPathSet.add(realPath);\n\t\t\t}\n\t\t}\n\t}\n\n\tif (includeDefaults) {\n\t\taddSkills(loadSkillsFromDirInternal(join(resolvedAgentDir, \"skills\"), \"user\", true));\n\t\taddSkills(loadSkillsFromDirInternal(resolve(cwd, CONFIG_DIR_NAME, \"skills\"), \"project\", true));\n\t}\n\n\tconst userSkillsDir = join(resolvedAgentDir, \"skills\");\n\tconst projectSkillsDir = resolve(cwd, CONFIG_DIR_NAME, \"skills\");\n\n\tconst isUnderPath = (target: string, root: string): boolean => {\n\t\tconst normalizedRoot = resolve(root);\n\t\tif (target === normalizedRoot) {\n\t\t\treturn true;\n\t\t}\n\t\tconst prefix = normalizedRoot.endsWith(sep) ? normalizedRoot : `${normalizedRoot}${sep}`;\n\t\treturn target.startsWith(prefix);\n\t};\n\n\tconst getSource = (resolvedPath: string): \"user\" | \"project\" | \"path\" => {\n\t\tif (!includeDefaults) {\n\t\t\tif (isUnderPath(resolvedPath, userSkillsDir)) return \"user\";\n\t\t\tif (isUnderPath(resolvedPath, projectSkillsDir)) return \"project\";\n\t\t}\n\t\treturn \"path\";\n\t};\n\n\tfor (const rawPath of skillPaths) {\n\t\tconst resolvedPath = resolveSkillPath(rawPath, cwd);\n\t\tif (!existsSync(resolvedPath)) {\n\t\t\tallDiagnostics.push({ type: \"warning\", message: \"skill path does not exist\", path: resolvedPath });\n\t\t\tcontinue;\n\t\t}\n\n\t\ttry {\n\t\t\tconst stats = statSync(resolvedPath);\n\t\t\tconst source = getSource(resolvedPath);\n\t\t\tif (stats.isDirectory()) {\n\t\t\t\taddSkills(loadSkillsFromDirInternal(resolvedPath, source, true));\n\t\t\t} else if (stats.isFile() && resolvedPath.endsWith(\".md\")) {\n\t\t\t\tconst result = loadSkillFromFile(resolvedPath, source);\n\t\t\t\tif (result.skill) {\n\t\t\t\t\taddSkills({ skills: [result.skill], diagnostics: result.diagnostics });\n\t\t\t\t} else {\n\t\t\t\t\tallDiagnostics.push(...result.diagnostics);\n\t\t\t\t}\n\t\t\t} else {\n\t\t\t\tallDiagnostics.push({ type: \"warning\", message: \"skill path is not a markdown file\", path: resolvedPath });\n\t\t\t}\n\t\t} catch (error) {\n\t\t\tconst message = error instanceof Error ? error.message : \"failed to read skill path\";\n\t\t\tallDiagnostics.push({ type: \"warning\", message, path: resolvedPath });\n\t\t}\n\t}\n\n\treturn {\n\t\tskills: Array.from(skillMap.values()),\n\t\tdiagnostics: [...allDiagnostics, ...collisionDiagnostics],\n\t};\n}\n"]}
@@ -1,68 +0,0 @@
1
- import type { AgentTool } from "@entelligentsia/pi-agent-core";
2
- import { type Static, Type } from "typebox";
3
- import type { ToolDefinition } from "../extensions/types.js";
4
- import { type TruncationResult } from "./truncate.js";
5
- declare const bashSchema: Type.TObject<{
6
- command: Type.TString;
7
- timeout: Type.TOptional<Type.TNumber>;
8
- }>;
9
- export type BashToolInput = Static<typeof bashSchema>;
10
- export interface BashToolDetails {
11
- truncation?: TruncationResult;
12
- fullOutputPath?: string;
13
- }
14
- /**
15
- * Pluggable operations for the bash tool.
16
- * Override these to delegate command execution to remote systems (for example SSH).
17
- */
18
- export interface BashOperations {
19
- /**
20
- * Execute a command and stream output.
21
- * @param command The command to execute
22
- * @param cwd Working directory
23
- * @param options Execution options
24
- * @returns Promise resolving to exit code (null if killed)
25
- */
26
- exec: (command: string, cwd: string, options: {
27
- onData: (data: Buffer) => void;
28
- signal?: AbortSignal;
29
- timeout?: number;
30
- env?: NodeJS.ProcessEnv;
31
- }) => Promise<{
32
- exitCode: number | null;
33
- }>;
34
- }
35
- /**
36
- * Create bash operations using pi's built-in local shell execution backend.
37
- *
38
- * This is useful for extensions that intercept user_bash and still want pi's
39
- * standard local shell behavior while wrapping or rewriting commands.
40
- */
41
- export declare function createLocalBashOperations(options?: {
42
- shellPath?: string;
43
- }): BashOperations;
44
- export interface BashSpawnContext {
45
- command: string;
46
- cwd: string;
47
- env: NodeJS.ProcessEnv;
48
- }
49
- export type BashSpawnHook = (context: BashSpawnContext) => BashSpawnContext;
50
- export interface BashToolOptions {
51
- /** Custom operations for command execution. Default: local shell */
52
- operations?: BashOperations;
53
- /** Command prefix prepended to every command (for example shell setup commands) */
54
- commandPrefix?: string;
55
- /** Optional explicit shell path from settings */
56
- shellPath?: string;
57
- /** Hook to adjust command, cwd, or env before execution */
58
- spawnHook?: BashSpawnHook;
59
- }
60
- type BashRenderState = {
61
- startedAt: number | undefined;
62
- endedAt: number | undefined;
63
- interval: NodeJS.Timeout | undefined;
64
- };
65
- export declare function createBashToolDefinition(cwd: string, options?: BashToolOptions): ToolDefinition<typeof bashSchema, BashToolDetails | undefined, BashRenderState>;
66
- export declare function createBashTool(cwd: string, options?: BashToolOptions): AgentTool<typeof bashSchema>;
67
- export {};
68
- //# sourceMappingURL=bash.d.ts.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"bash.d.ts","sourceRoot":"","sources":["../../../src/core/tools/bash.ts"],"names":[],"mappings":"AACA,OAAO,KAAK,EAAE,SAAS,EAAE,MAAM,+BAA+B,CAAC;AAG/D,OAAO,EAAE,KAAK,MAAM,EAAE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vB,iDAAiD;IACjD,SAAS,CAAC,EAAE,MAAM,CAAC;IACnB,2DAA2D;IAC3D,SAAS,CAAC,EAAE,aAAa,CAAC;CAC1B;AAKD,KAAK,eAAe,GAAG;IACtB,SAAS,EAAE,MAAM,GAAG,SAAS,CAAC;IAC9B,OAAO,EAAE,MAAM,GAAG,SAAS,CAAC;IAC5B,QAAQ,EAAE,MAAM,CAAC,OAAO,GAAG,SAAS,CAAC;CACrC,CAAC;AAwGF,wBAAgB,wBAAwB,CACvC,GAAG,EAAE,MAAM,EACX,OAAO,CAAC,EAAE,eAAe,GACvB,cAAc,CAAC,OAAO,UAAU,EAAE,eAAe,GAAG,SAAS,EAAE,eAAe,CAAC,CAyKjF;AAED,wBAAgB,cAAc,CAAC,GAAG,EAAE,MAAM,EAAE,OAAO,CAAC,EAAE,eAAe,GAAG,SAAS,CAAC,OAAO,UAAU,CAAC,CAEnG","sourcesContent":["import { existsSync } from \"node:fs\";\nimport type { AgentTool } from \"@entelligentsia/pi-agent-core\";\nimport { Container, Text, truncateToWidth } from \"@entelligentsia/pi-tui\";\nimport { spawn } from \"child_process\";\nimport { type Static, Type } from \"typebox\";\nimport { keyHint } from \"../../modes/interactive/components/keybinding-hints.js\";\nimport { truncateToVisualLines } from \"../../modes/interactive/components/visual-truncate.js\";\nimport { theme } from \"../../modes/interactive/theme/theme.js\";\nimport { waitForChildProcess } from \"../../utils/child-process.js\";\nimport {\n\tgetShellConfig,\n\tgetShellEnv,\n\tkillProcessTree,\n\ttrackDetachedChildPid,\n\tuntrackDetachedChildPid,\n} from \"../../utils/shell.js\";\nimport type { ToolDefinition, ToolRenderResultOptions } from \"../extensions/types.js\";\nimport { OutputAccumulator } from \"./output-accumulator.js\";\nimport { getTextOutput, invalidArgText, str } from \"./render-utils.js\";\nimport { wrapToolDefinition } from \"./tool-definition-wrapper.js\";\nimport { DEFAULT_MAX_BYTES, DEFAULT_MAX_LINES, formatSize, type TruncationResult } from \"./truncate.js\";\n\nconst bashSchema = Type.Object({\n\tcommand: Type.String({ description: \"Bash command to execute\" }),\n\ttimeout: Type.Optional(Type.Number({ description: \"Timeout in seconds (optional, no default timeout)\" })),\n});\n\nexport type BashToolInput = Static<typeof bashSchema>;\n\nexport interface BashToolDetails {\n\ttruncation?: TruncationResult;\n\tfullOutputPath?: string;\n}\n\n/**\n * Pluggable operations for the bash tool.\n * Override these to delegate command execution to remote systems (for example SSH).\n */\nexport interface BashOperations {\n\t/**\n\t * Execute a command and stream output.\n\t * @param command The command to execute\n\t * @param cwd Working directory\n\t * @param options Execution options\n\t * @returns Promise resolving to exit code (null if killed)\n\t */\n\texec: (\n\t\tcommand: string,\n\t\tcwd: string,\n\t\toptions: {\n\t\t\tonData: (data: Buffer) => void;\n\t\t\tsignal?: AbortSignal;\n\t\t\ttimeout?: number;\n\t\t\tenv?: NodeJS.ProcessEnv;\n\t\t},\n\t) => Promise<{ exitCode: number | null }>;\n}\n\n/**\n * Create bash operations using pi's built-in local shell execution backend.\n *\n * This is useful for extensions that intercept user_bash and still want pi's\n * standard local shell behavior while wrapping or rewriting commands.\n */\nexport function createLocalBashOperations(options?: { shellPath?: string }): BashOperations {\n\treturn {\n\t\texec: (command, cwd, { onData, signal, timeout, env }) => {\n\t\t\treturn new Promise((resolve, reject) => {\n\t\t\t\tconst { shell, args } = getShellConfig(options?.shellPath);\n\t\t\t\tif (!existsSync(cwd)) {\n\t\t\t\t\treject(new Error(`Working directory does not exist: ${cwd}\\nCannot execute bash commands.`));\n\t\t\t\t\treturn;\n\t\t\t\t}\n\t\t\t\tconst child = spawn(shell, [...args, command], {\n\t\t\t\t\tcwd,\n\t\t\t\t\tdetached: process.platform !== \"win32\",\n\t\t\t\t\tenv: env ?? getShellEnv(),\n\t\t\t\t\tstdio: [\"ignore\", \"pipe\", \"pipe\"],\n\t\t\t\t});\n\t\t\t\tif (child.pid) trackDetachedChildPid(child.pid);\n\t\t\t\tlet timedOut = false;\n\t\t\t\tlet timeoutHandle: NodeJS.Timeout | undefined;\n\t\t\t\t// Set timeout if provided.\n\t\t\t\tif (timeout !== undefined && timeout > 0) {\n\t\t\t\t\ttimeoutHandle = setTimeout(() => {\n\t\t\t\t\t\ttimedOut = true;\n\t\t\t\t\t\tif (child.pid) killProcessTree(child.pid);\n\t\t\t\t\t}, timeout * 1000);\n\t\t\t\t}\n\t\t\t\t// Stream stdout and stderr.\n\t\t\t\tchild.stdout?.on(\"data\", onData);\n\t\t\t\tchild.stderr?.on(\"data\", onData);\n\t\t\t\t// Handle abort signal by killing the entire process tree.\n\t\t\t\tconst onAbort = () => {\n\t\t\t\t\tif (child.pid) killProcessTree(child.pid);\n\t\t\t\t};\n\t\t\t\tif (signal) {\n\t\t\t\t\tif (signal.aborted) onAbort();\n\t\t\t\t\telse signal.addEventListener(\"abort\", onAbort, { once: true });\n\t\t\t\t}\n\t\t\t\t// Handle shell spawn errors and wait for the process to terminate without hanging\n\t\t\t\t// on inherited stdio handles held by detached descendants.\n\t\t\t\twaitForChildProcess(child)\n\t\t\t\t\t.then((code) => {\n\t\t\t\t\t\tif (child.pid) untrackDetachedChildPid(child.pid);\n\t\t\t\t\t\tif (timeoutHandle) clearTimeout(timeoutHandle);\n\t\t\t\t\t\tif (signal) signal.removeEventListener(\"abort\", onAbort);\n\t\t\t\t\t\tif (signal?.aborted) {\n\t\t\t\t\t\t\treject(new Error(\"aborted\"));\n\t\t\t\t\t\t\treturn;\n\t\t\t\t\t\t}\n\t\t\t\t\t\tif (timedOut) {\n\t\t\t\t\t\t\treject(new Error(`timeout:${timeout}`));\n\t\t\t\t\t\t\treturn;\n\t\t\t\t\t\t}\n\t\t\t\t\t\tresolve({ exitCode: code });\n\t\t\t\t\t})\n\t\t\t\t\t.catch((err) => {\n\t\t\t\t\t\tif (child.pid) untrackDetachedChildPid(child.pid);\n\t\t\t\t\t\tif (timeoutHandle) clearTimeout(timeoutHandle);\n\t\t\t\t\t\tif (signal) signal.removeEventListener(\"abort\", onAbort);\n\t\t\t\t\t\treject(err);\n\t\t\t\t\t});\n\t\t\t});\n\t\t},\n\t};\n}\n\nexport interface BashSpawnContext {\n\tcommand: string;\n\tcwd: string;\n\tenv: NodeJS.ProcessEnv;\n}\n\nexport type BashSpawnHook = (context: BashSpawnContext) => BashSpawnContext;\n\nfunction resolveSpawnContext(command: string, cwd: string, spawnHook?: BashSpawnHook): BashSpawnContext {\n\tconst baseContext: BashSpawnContext = { command, cwd, env: { ...getShellEnv() } };\n\treturn spawnHook ? spawnHook(baseContext) : baseContext;\n}\n\nexport interface BashToolOptions {\n\t/** Custom operations for command execution. Default: local shell */\n\toperations?: BashOperations;\n\t/** Command prefix prepended to every command (for example shell setup commands) */\n\tcommandPrefix?: string;\n\t/** Optional explicit shell path from settings */\n\tshellPath?: string;\n\t/** Hook to adjust command, cwd, or env before execution */\n\tspawnHook?: BashSpawnHook;\n}\n\nconst BASH_PREVIEW_LINES = 5;\nconst BASH_UPDATE_THROTTLE_MS = 100;\n\ntype BashRenderState = {\n\tstartedAt: number | undefined;\n\tendedAt: number | undefined;\n\tinterval: NodeJS.Timeout | undefined;\n};\n\ntype BashResultRenderState = {\n\tcachedWidth: number | undefined;\n\tcachedLines: string[] | undefined;\n\tcachedSkipped: number | undefined;\n};\n\nclass BashResultRenderComponent extends Container {\n\tstate: BashResultRenderState = {\n\t\tcachedWidth: undefined,\n\t\tcachedLines: undefined,\n\t\tcachedSkipped: undefined,\n\t};\n}\n\nfunction formatDuration(ms: number): string {\n\treturn `${(ms / 1000).toFixed(1)}s`;\n}\n\nfunction formatBashCall(args: { command?: string; timeout?: number } | undefined): string {\n\tconst command = str(args?.command);\n\tconst timeout = args?.timeout as number | undefined;\n\tconst timeoutSuffix = timeout ? theme.fg(\"muted\", ` (timeout ${timeout}s)`) : \"\";\n\tconst commandDisplay = command === null ? invalidArgText(theme) : command ? command : theme.fg(\"toolOutput\", \"...\");\n\treturn theme.fg(\"toolTitle\", theme.bold(`$ ${commandDisplay}`)) + timeoutSuffix;\n}\n\nfunction rebuildBashResultRenderComponent(\n\tcomponent: BashResultRenderComponent,\n\tresult: {\n\t\tcontent: Array<{ type: string; text?: string; data?: string; mimeType?: string }>;\n\t\tdetails?: BashToolDetails;\n\t},\n\toptions: ToolRenderResultOptions,\n\tshowImages: boolean,\n\tstartedAt: number | undefined,\n\tendedAt: number | undefined,\n): void {\n\tconst state = component.state;\n\tcomponent.clear();\n\n\tconst output = getTextOutput(result as any, showImages).trim();\n\n\tif (output) {\n\t\tconst styledOutput = output\n\t\t\t.split(\"\\n\")\n\t\t\t.map((line) => theme.fg(\"toolOutput\", line))\n\t\t\t.join(\"\\n\");\n\n\t\tif (options.expanded) {\n\t\t\tcomponent.addChild(new Text(`\\n${styledOutput}`, 0, 0));\n\t\t} else {\n\t\t\tcomponent.addChild({\n\t\t\t\trender: (width: number) => {\n\t\t\t\t\tif (state.cachedLines === undefined || state.cachedWidth !== width) {\n\t\t\t\t\t\tconst preview = truncateToVisualLines(styledOutput, BASH_PREVIEW_LINES, width);\n\t\t\t\t\t\tstate.cachedLines = preview.visualLines;\n\t\t\t\t\t\tstate.cachedSkipped = preview.skippedCount;\n\t\t\t\t\t\tstate.cachedWidth = width;\n\t\t\t\t\t}\n\t\t\t\t\tif (state.cachedSkipped && state.cachedSkipped > 0) {\n\t\t\t\t\t\tconst hint =\n\t\t\t\t\t\t\ttheme.fg(\"muted\", `... (${state.cachedSkipped} earlier lines,`) +\n\t\t\t\t\t\t\t` ${keyHint(\"app.tools.expand\", \"to expand\")})`;\n\t\t\t\t\t\treturn [\"\", truncateToWidth(hint, width, \"...\"), ...(state.cachedLines ?? [])];\n\t\t\t\t\t}\n\t\t\t\t\treturn [\"\", ...(state.cachedLines ?? [])];\n\t\t\t\t},\n\t\t\t\tinvalidate: () => {\n\t\t\t\t\tstate.cachedWidth = undefined;\n\t\t\t\t\tstate.cachedLines = undefined;\n\t\t\t\t\tstate.cachedSkipped = undefined;\n\t\t\t\t},\n\t\t\t});\n\t\t}\n\t}\n\n\tconst truncation = result.details?.truncation;\n\tconst fullOutputPath = result.details?.fullOutputPath;\n\tif (truncation?.truncated || fullOutputPath) {\n\t\tconst warnings: string[] = [];\n\t\tif (fullOutputPath) {\n\t\t\twarnings.push(`Full output: ${fullOutputPath}`);\n\t\t}\n\t\tif (truncation?.truncated) {\n\t\t\tif (truncation.truncatedBy === \"lines\") {\n\t\t\t\twarnings.push(`Truncated: showing ${truncation.outputLines} of ${truncation.totalLines} lines`);\n\t\t\t} else {\n\t\t\t\twarnings.push(\n\t\t\t\t\t`Truncated: ${truncation.outputLines} lines shown (${formatSize(truncation.maxBytes ?? DEFAULT_MAX_BYTES)} limit)`,\n\t\t\t\t);\n\t\t\t}\n\t\t}\n\t\tcomponent.addChild(new Text(`\\n${theme.fg(\"warning\", `[${warnings.join(\". \")}]`)}`, 0, 0));\n\t}\n\n\tif (startedAt !== undefined) {\n\t\tconst label = options.isPartial ? \"Elapsed\" : \"Took\";\n\t\tconst endTime = endedAt ?? Date.now();\n\t\tcomponent.addChild(new Text(`\\n${theme.fg(\"muted\", `${label} ${formatDuration(endTime - startedAt)}`)}`, 0, 0));\n\t}\n}\n\nexport function createBashToolDefinition(\n\tcwd: string,\n\toptions?: BashToolOptions,\n): ToolDefinition<typeof bashSchema, BashToolDetails | undefined, BashRenderState> {\n\tconst ops = options?.operations ?? createLocalBashOperations({ shellPath: options?.shellPath });\n\tconst commandPrefix = options?.commandPrefix;\n\tconst spawnHook = options?.spawnHook;\n\treturn {\n\t\tname: \"bash\",\n\t\tlabel: \"bash\",\n\t\tdescription: `Execute a bash command in the current working directory. Returns stdout and stderr. Output is truncated to last ${DEFAULT_MAX_LINES} lines or ${DEFAULT_MAX_BYTES / 1024}KB (whichever is hit first). If truncated, full output is saved to a temp file. Optionally provide a timeout in seconds.`,\n\t\tpromptSnippet: \"Execute bash commands (ls, grep, find, etc.)\",\n\t\tparameters: bashSchema,\n\t\tasync execute(\n\t\t\t_toolCallId,\n\t\t\t{ command, timeout }: { command: string; timeout?: number },\n\t\t\tsignal?: AbortSignal,\n\t\t\tonUpdate?,\n\t\t\t_ctx?,\n\t\t) {\n\t\t\tconst resolvedCommand = commandPrefix ? `${commandPrefix}\\n${command}` : command;\n\t\t\tconst spawnContext = resolveSpawnContext(resolvedCommand, cwd, spawnHook);\n\t\t\tconst output = new OutputAccumulator({ tempFilePrefix: \"pi-bash\" });\n\t\t\tlet updateTimer: NodeJS.Timeout | undefined;\n\t\t\tlet updateDirty = false;\n\t\t\tlet lastUpdateAt = 0;\n\n\t\t\tconst emitOutputUpdate = () => {\n\t\t\t\tif (!onUpdate || !updateDirty) return;\n\t\t\t\tupdateDirty = false;\n\t\t\t\tlastUpdateAt = Date.now();\n\t\t\t\tconst snapshot = output.snapshot({ persistIfTruncated: true });\n\t\t\t\tonUpdate({\n\t\t\t\t\tcontent: [{ type: \"text\", text: snapshot.content || \"\" }],\n\t\t\t\t\tdetails: {\n\t\t\t\t\t\ttruncation: snapshot.truncation.truncated ? snapshot.truncation : undefined,\n\t\t\t\t\t\tfullOutputPath: snapshot.fullOutputPath,\n\t\t\t\t\t},\n\t\t\t\t});\n\t\t\t};\n\n\t\t\tconst clearUpdateTimer = () => {\n\t\t\t\tif (updateTimer) {\n\t\t\t\t\tclearTimeout(updateTimer);\n\t\t\t\t\tupdateTimer = undefined;\n\t\t\t\t}\n\t\t\t};\n\n\t\t\tconst scheduleOutputUpdate = () => {\n\t\t\t\tif (!onUpdate) return;\n\t\t\t\tupdateDirty = true;\n\t\t\t\tconst delay = BASH_UPDATE_THROTTLE_MS - (Date.now() - lastUpdateAt);\n\t\t\t\tif (delay <= 0) {\n\t\t\t\t\tclearUpdateTimer();\n\t\t\t\t\temitOutputUpdate();\n\t\t\t\t\treturn;\n\t\t\t\t}\n\t\t\t\tupdateTimer ??= setTimeout(() => {\n\t\t\t\t\tupdateTimer = undefined;\n\t\t\t\t\temitOutputUpdate();\n\t\t\t\t}, delay);\n\t\t\t};\n\n\t\t\tif (onUpdate) {\n\t\t\t\tonUpdate({ content: [], details: undefined });\n\t\t\t}\n\n\t\t\tconst handleData = (data: Buffer) => {\n\t\t\t\toutput.append(data);\n\t\t\t\tscheduleOutputUpdate();\n\t\t\t};\n\n\t\t\tconst finishOutput = async () => {\n\t\t\t\toutput.finish();\n\t\t\t\tclearUpdateTimer();\n\t\t\t\temitOutputUpdate();\n\t\t\t\tconst snapshot = output.snapshot({ persistIfTruncated: true });\n\t\t\t\tawait output.closeTempFile();\n\t\t\t\treturn snapshot;\n\t\t\t};\n\n\t\t\tconst formatOutput = (snapshot: Awaited<ReturnType<typeof finishOutput>>, emptyText = \"(no output)\") => {\n\t\t\t\tconst truncation = snapshot.truncation;\n\t\t\t\tlet text = snapshot.content || emptyText;\n\t\t\t\tlet details: BashToolDetails | undefined;\n\t\t\t\tif (truncation.truncated) {\n\t\t\t\t\tdetails = { truncation, fullOutputPath: snapshot.fullOutputPath };\n\t\t\t\t\tconst startLine = truncation.totalLines - truncation.outputLines + 1;\n\t\t\t\t\tconst endLine = truncation.totalLines;\n\t\t\t\t\tif (truncation.lastLinePartial) {\n\t\t\t\t\t\tconst lastLineSize = formatSize(output.getLastLineBytes());\n\t\t\t\t\t\ttext += `\\n\\n[Showing last ${formatSize(truncation.outputBytes)} of line ${endLine} (line is ${lastLineSize}). Full output: ${snapshot.fullOutputPath}]`;\n\t\t\t\t\t} else if (truncation.truncatedBy === \"lines\") {\n\t\t\t\t\t\ttext += `\\n\\n[Showing lines ${startLine}-${endLine} of ${truncation.totalLines}. Full output: ${snapshot.fullOutputPath}]`;\n\t\t\t\t\t} else {\n\t\t\t\t\t\ttext += `\\n\\n[Showing lines ${startLine}-${endLine} of ${truncation.totalLines} (${formatSize(DEFAULT_MAX_BYTES)} limit). Full output: ${snapshot.fullOutputPath}]`;\n\t\t\t\t\t}\n\t\t\t\t}\n\t\t\t\treturn { text, details };\n\t\t\t};\n\n\t\t\tconst appendStatus = (text: string, status: string) => `${text ? `${text}\\n\\n` : \"\"}${status}`;\n\n\t\t\ttry {\n\t\t\t\tlet exitCode: number | null;\n\t\t\t\ttry {\n\t\t\t\t\tconst result = await ops.exec(spawnContext.command, spawnContext.cwd, {\n\t\t\t\t\t\tonData: handleData,\n\t\t\t\t\t\tsignal,\n\t\t\t\t\t\ttimeout,\n\t\t\t\t\t\tenv: spawnContext.env,\n\t\t\t\t\t});\n\t\t\t\t\texitCode = result.exitCode;\n\t\t\t\t} catch (err) {\n\t\t\t\t\tconst snapshot = await finishOutput();\n\t\t\t\t\tconst { text } = formatOutput(snapshot, \"\");\n\t\t\t\t\tif (err instanceof Error && err.message === \"aborted\") {\n\t\t\t\t\t\tthrow new Error(appendStatus(text, \"Command aborted\"));\n\t\t\t\t\t}\n\t\t\t\t\tif (err instanceof Error && err.message.startsWith(\"timeout:\")) {\n\t\t\t\t\t\tconst timeoutSecs = err.message.split(\":\")[1];\n\t\t\t\t\t\tthrow new Error(appendStatus(text, `Command timed out after ${timeoutSecs} seconds`));\n\t\t\t\t\t}\n\t\t\t\t\tthrow err;\n\t\t\t\t}\n\n\t\t\t\tconst snapshot = await finishOutput();\n\t\t\t\tconst { text: outputText, details } = formatOutput(snapshot);\n\t\t\t\tif (exitCode !== 0 && exitCode !== null) {\n\t\t\t\t\tthrow new Error(appendStatus(outputText, `Command exited with code ${exitCode}`));\n\t\t\t\t}\n\t\t\t\treturn { content: [{ type: \"text\", text: outputText }], details };\n\t\t\t} finally {\n\t\t\t\tclearUpdateTimer();\n\t\t\t}\n\t\t},\n\t\trenderCall(args, _theme, context) {\n\t\t\tconst state = context.state;\n\t\t\tif (context.executionStarted && state.startedAt === undefined) {\n\t\t\t\tstate.startedAt = Date.now();\n\t\t\t\tstate.endedAt = undefined;\n\t\t\t}\n\t\t\tconst text = (context.lastComponent as Text | undefined) ?? new Text(\"\", 0, 0);\n\t\t\ttext.setText(formatBashCall(args));\n\t\t\treturn text;\n\t\t},\n\t\trenderResult(result, options, _theme, context) {\n\t\t\tconst state = context.state;\n\t\t\tif (state.startedAt !== undefined && options.isPartial && !state.interval) {\n\t\t\t\tstate.interval = setInterval(() => context.invalidate(), 1000);\n\t\t\t}\n\t\t\tif (!options.isPartial || context.isError) {\n\t\t\t\tstate.endedAt ??= Date.now();\n\t\t\t\tif (state.interval) {\n\t\t\t\t\tclearInterval(state.interval);\n\t\t\t\t\tstate.interval = undefined;\n\t\t\t\t}\n\t\t\t}\n\t\t\tconst component =\n\t\t\t\t(context.lastComponent as BashResultRenderComponent | undefined) ?? new BashResultRenderComponent();\n\t\t\trebuildBashResultRenderComponent(\n\t\t\t\tcomponent,\n\t\t\t\tresult as any,\n\t\t\t\toptions,\n\t\t\t\tcontext.showImages,\n\t\t\t\tstate.startedAt,\n\t\t\t\tstate.endedAt,\n\t\t\t);\n\t\t\tcomponent.invalidate();\n\t\t\treturn component;\n\t\t},\n\t};\n}\n\nexport function createBashTool(cwd: string, options?: BashToolOptions): AgentTool<typeof bashSchema> {\n\treturn wrapToolDefinition(createBashToolDefinition(cwd, options));\n}\n"]}
@@ -1,335 +0,0 @@
1
- import { existsSync } from "node:fs";
2
- import { Container, Text, truncateToWidth } from "@entelligentsia/pi-tui";
3
- import { spawn } from "child_process";
4
- import { Type } from "typebox";
5
- import { keyHint } from "../../modes/interactive/components/keybinding-hints.js";
6
- import { truncateToVisualLines } from "../../modes/interactive/components/visual-truncate.js";
7
- import { theme } from "../../modes/interactive/theme/theme.js";
8
- import { waitForChildProcess } from "../../utils/child-process.js";
9
- import { getShellConfig, getShellEnv, killProcessTree, trackDetachedChildPid, untrackDetachedChildPid, } from "../../utils/shell.js";
10
- import { OutputAccumulator } from "./output-accumulator.js";
11
- import { getTextOutput, invalidArgText, str } from "./render-utils.js";
12
- import { wrapToolDefinition } from "./tool-definition-wrapper.js";
13
- import { DEFAULT_MAX_BYTES, DEFAULT_MAX_LINES, formatSize } from "./truncate.js";
14
- const bashSchema = Type.Object({
15
- command: Type.String({ description: "Bash command to execute" }),
16
- timeout: Type.Optional(Type.Number({ description: "Timeout in seconds (optional, no default timeout)" })),
17
- });
18
- /**
19
- * Create bash operations using pi's built-in local shell execution backend.
20
- *
21
- * This is useful for extensions that intercept user_bash and still want pi's
22
- * standard local shell behavior while wrapping or rewriting commands.
23
- */
24
- export function createLocalBashOperations(options) {
25
- return {
26
- exec: (command, cwd, { onData, signal, timeout, env }) => {
27
- return new Promise((resolve, reject) => {
28
- const { shell, args } = getShellConfig(options?.shellPath);
29
- if (!existsSync(cwd)) {
30
- reject(new Error(`Working directory does not exist: ${cwd}\nCannot execute bash commands.`));
31
- return;
32
- }
33
- const child = spawn(shell, [...args, command], {
34
- cwd,
35
- detached: process.platform !== "win32",
36
- env: env ?? getShellEnv(),
37
- stdio: ["ignore", "pipe", "pipe"],
38
- });
39
- if (child.pid)
40
- trackDetachedChildPid(child.pid);
41
- let timedOut = false;
42
- let timeoutHandle;
43
- // Set timeout if provided.
44
- if (timeout !== undefined && timeout > 0) {
45
- timeoutHandle = setTimeout(() => {
46
- timedOut = true;
47
- if (child.pid)
48
- killProcessTree(child.pid);
49
- }, timeout * 1000);
50
- }
51
- // Stream stdout and stderr.
52
- child.stdout?.on("data", onData);
53
- child.stderr?.on("data", onData);
54
- // Handle abort signal by killing the entire process tree.
55
- const onAbort = () => {
56
- if (child.pid)
57
- killProcessTree(child.pid);
58
- };
59
- if (signal) {
60
- if (signal.aborted)
61
- onAbort();
62
- else
63
- signal.addEventListener("abort", onAbort, { once: true });
64
- }
65
- // Handle shell spawn errors and wait for the process to terminate without hanging
66
- // on inherited stdio handles held by detached descendants.
67
- waitForChildProcess(child)
68
- .then((code) => {
69
- if (child.pid)
70
- untrackDetachedChildPid(child.pid);
71
- if (timeoutHandle)
72
- clearTimeout(timeoutHandle);
73
- if (signal)
74
- signal.removeEventListener("abort", onAbort);
75
- if (signal?.aborted) {
76
- reject(new Error("aborted"));
77
- return;
78
- }
79
- if (timedOut) {
80
- reject(new Error(`timeout:${timeout}`));
81
- return;
82
- }
83
- resolve({ exitCode: code });
84
- })
85
- .catch((err) => {
86
- if (child.pid)
87
- untrackDetachedChildPid(child.pid);
88
- if (timeoutHandle)
89
- clearTimeout(timeoutHandle);
90
- if (signal)
91
- signal.removeEventListener("abort", onAbort);
92
- reject(err);
93
- });
94
- });
95
- },
96
- };
97
- }
98
- function resolveSpawnContext(command, cwd, spawnHook) {
99
- const baseContext = { command, cwd, env: { ...getShellEnv() } };
100
- return spawnHook ? spawnHook(baseContext) : baseContext;
101
- }
102
- const BASH_PREVIEW_LINES = 5;
103
- const BASH_UPDATE_THROTTLE_MS = 100;
104
- class BashResultRenderComponent extends Container {
105
- state = {
106
- cachedWidth: undefined,
107
- cachedLines: undefined,
108
- cachedSkipped: undefined,
109
- };
110
- }
111
- function formatDuration(ms) {
112
- return `${(ms / 1000).toFixed(1)}s`;
113
- }
114
- function formatBashCall(args) {
115
- const command = str(args?.command);
116
- const timeout = args?.timeout;
117
- const timeoutSuffix = timeout ? theme.fg("muted", ` (timeout ${timeout}s)`) : "";
118
- const commandDisplay = command === null ? invalidArgText(theme) : command ? command : theme.fg("toolOutput", "...");
119
- return theme.fg("toolTitle", theme.bold(`$ ${commandDisplay}`)) + timeoutSuffix;
120
- }
121
- function rebuildBashResultRenderComponent(component, result, options, showImages, startedAt, endedAt) {
122
- const state = component.state;
123
- component.clear();
124
- const output = getTextOutput(result, showImages).trim();
125
- if (output) {
126
- const styledOutput = output
127
- .split("\n")
128
- .map((line) => theme.fg("toolOutput", line))
129
- .join("\n");
130
- if (options.expanded) {
131
- component.addChild(new Text(`\n${styledOutput}`, 0, 0));
132
- }
133
- else {
134
- component.addChild({
135
- render: (width) => {
136
- if (state.cachedLines === undefined || state.cachedWidth !== width) {
137
- const preview = truncateToVisualLines(styledOutput, BASH_PREVIEW_LINES, width);
138
- state.cachedLines = preview.visualLines;
139
- state.cachedSkipped = preview.skippedCount;
140
- state.cachedWidth = width;
141
- }
142
- if (state.cachedSkipped && state.cachedSkipped > 0) {
143
- const hint = theme.fg("muted", `... (${state.cachedSkipped} earlier lines,`) +
144
- ` ${keyHint("app.tools.expand", "to expand")})`;
145
- return ["", truncateToWidth(hint, width, "..."), ...(state.cachedLines ?? [])];
146
- }
147
- return ["", ...(state.cachedLines ?? [])];
148
- },
149
- invalidate: () => {
150
- state.cachedWidth = undefined;
151
- state.cachedLines = undefined;
152
- state.cachedSkipped = undefined;
153
- },
154
- });
155
- }
156
- }
157
- const truncation = result.details?.truncation;
158
- const fullOutputPath = result.details?.fullOutputPath;
159
- if (truncation?.truncated || fullOutputPath) {
160
- const warnings = [];
161
- if (fullOutputPath) {
162
- warnings.push(`Full output: ${fullOutputPath}`);
163
- }
164
- if (truncation?.truncated) {
165
- if (truncation.truncatedBy === "lines") {
166
- warnings.push(`Truncated: showing ${truncation.outputLines} of ${truncation.totalLines} lines`);
167
- }
168
- else {
169
- warnings.push(`Truncated: ${truncation.outputLines} lines shown (${formatSize(truncation.maxBytes ?? DEFAULT_MAX_BYTES)} limit)`);
170
- }
171
- }
172
- component.addChild(new Text(`\n${theme.fg("warning", `[${warnings.join(". ")}]`)}`, 0, 0));
173
- }
174
- if (startedAt !== undefined) {
175
- const label = options.isPartial ? "Elapsed" : "Took";
176
- const endTime = endedAt ?? Date.now();
177
- component.addChild(new Text(`\n${theme.fg("muted", `${label} ${formatDuration(endTime - startedAt)}`)}`, 0, 0));
178
- }
179
- }
180
- export function createBashToolDefinition(cwd, options) {
181
- const ops = options?.operations ?? createLocalBashOperations({ shellPath: options?.shellPath });
182
- const commandPrefix = options?.commandPrefix;
183
- const spawnHook = options?.spawnHook;
184
- return {
185
- name: "bash",
186
- label: "bash",
187
- description: `Execute a bash command in the current working directory. Returns stdout and stderr. Output is truncated to last ${DEFAULT_MAX_LINES} lines or ${DEFAULT_MAX_BYTES / 1024}KB (whichever is hit first). If truncated, full output is saved to a temp file. Optionally provide a timeout in seconds.`,
188
- promptSnippet: "Execute bash commands (ls, grep, find, etc.)",
189
- parameters: bashSchema,
190
- async execute(_toolCallId, { command, timeout }, signal, onUpdate, _ctx) {
191
- const resolvedCommand = commandPrefix ? `${commandPrefix}\n${command}` : command;
192
- const spawnContext = resolveSpawnContext(resolvedCommand, cwd, spawnHook);
193
- const output = new OutputAccumulator({ tempFilePrefix: "pi-bash" });
194
- let updateTimer;
195
- let updateDirty = false;
196
- let lastUpdateAt = 0;
197
- const emitOutputUpdate = () => {
198
- if (!onUpdate || !updateDirty)
199
- return;
200
- updateDirty = false;
201
- lastUpdateAt = Date.now();
202
- const snapshot = output.snapshot({ persistIfTruncated: true });
203
- onUpdate({
204
- content: [{ type: "text", text: snapshot.content || "" }],
205
- details: {
206
- truncation: snapshot.truncation.truncated ? snapshot.truncation : undefined,
207
- fullOutputPath: snapshot.fullOutputPath,
208
- },
209
- });
210
- };
211
- const clearUpdateTimer = () => {
212
- if (updateTimer) {
213
- clearTimeout(updateTimer);
214
- updateTimer = undefined;
215
- }
216
- };
217
- const scheduleOutputUpdate = () => {
218
- if (!onUpdate)
219
- return;
220
- updateDirty = true;
221
- const delay = BASH_UPDATE_THROTTLE_MS - (Date.now() - lastUpdateAt);
222
- if (delay <= 0) {
223
- clearUpdateTimer();
224
- emitOutputUpdate();
225
- return;
226
- }
227
- updateTimer ??= setTimeout(() => {
228
- updateTimer = undefined;
229
- emitOutputUpdate();
230
- }, delay);
231
- };
232
- if (onUpdate) {
233
- onUpdate({ content: [], details: undefined });
234
- }
235
- const handleData = (data) => {
236
- output.append(data);
237
- scheduleOutputUpdate();
238
- };
239
- const finishOutput = async () => {
240
- output.finish();
241
- clearUpdateTimer();
242
- emitOutputUpdate();
243
- const snapshot = output.snapshot({ persistIfTruncated: true });
244
- await output.closeTempFile();
245
- return snapshot;
246
- };
247
- const formatOutput = (snapshot, emptyText = "(no output)") => {
248
- const truncation = snapshot.truncation;
249
- let text = snapshot.content || emptyText;
250
- let details;
251
- if (truncation.truncated) {
252
- details = { truncation, fullOutputPath: snapshot.fullOutputPath };
253
- const startLine = truncation.totalLines - truncation.outputLines + 1;
254
- const endLine = truncation.totalLines;
255
- if (truncation.lastLinePartial) {
256
- const lastLineSize = formatSize(output.getLastLineBytes());
257
- text += `\n\n[Showing last ${formatSize(truncation.outputBytes)} of line ${endLine} (line is ${lastLineSize}). Full output: ${snapshot.fullOutputPath}]`;
258
- }
259
- else if (truncation.truncatedBy === "lines") {
260
- text += `\n\n[Showing lines ${startLine}-${endLine} of ${truncation.totalLines}. Full output: ${snapshot.fullOutputPath}]`;
261
- }
262
- else {
263
- text += `\n\n[Showing lines ${startLine}-${endLine} of ${truncation.totalLines} (${formatSize(DEFAULT_MAX_BYTES)} limit). Full output: ${snapshot.fullOutputPath}]`;
264
- }
265
- }
266
- return { text, details };
267
- };
268
- const appendStatus = (text, status) => `${text ? `${text}\n\n` : ""}${status}`;
269
- try {
270
- let exitCode;
271
- try {
272
- const result = await ops.exec(spawnContext.command, spawnContext.cwd, {
273
- onData: handleData,
274
- signal,
275
- timeout,
276
- env: spawnContext.env,
277
- });
278
- exitCode = result.exitCode;
279
- }
280
- catch (err) {
281
- const snapshot = await finishOutput();
282
- const { text } = formatOutput(snapshot, "");
283
- if (err instanceof Error && err.message === "aborted") {
284
- throw new Error(appendStatus(text, "Command aborted"));
285
- }
286
- if (err instanceof Error && err.message.startsWith("timeout:")) {
287
- const timeoutSecs = err.message.split(":")[1];
288
- throw new Error(appendStatus(text, `Command timed out after ${timeoutSecs} seconds`));
289
- }
290
- throw err;
291
- }
292
- const snapshot = await finishOutput();
293
- const { text: outputText, details } = formatOutput(snapshot);
294
- if (exitCode !== 0 && exitCode !== null) {
295
- throw new Error(appendStatus(outputText, `Command exited with code ${exitCode}`));
296
- }
297
- return { content: [{ type: "text", text: outputText }], details };
298
- }
299
- finally {
300
- clearUpdateTimer();
301
- }
302
- },
303
- renderCall(args, _theme, context) {
304
- const state = context.state;
305
- if (context.executionStarted && state.startedAt === undefined) {
306
- state.startedAt = Date.now();
307
- state.endedAt = undefined;
308
- }
309
- const text = context.lastComponent ?? new Text("", 0, 0);
310
- text.setText(formatBashCall(args));
311
- return text;
312
- },
313
- renderResult(result, options, _theme, context) {
314
- const state = context.state;
315
- if (state.startedAt !== undefined && options.isPartial && !state.interval) {
316
- state.interval = setInterval(() => context.invalidate(), 1000);
317
- }
318
- if (!options.isPartial || context.isError) {
319
- state.endedAt ??= Date.now();
320
- if (state.interval) {
321
- clearInterval(state.interval);
322
- state.interval = undefined;
323
- }
324
- }
325
- const component = context.lastComponent ?? new BashResultRenderComponent();
326
- rebuildBashResultRenderComponent(component, result, options, context.showImages, state.startedAt, state.endedAt);
327
- component.invalidate();
328
- return component;
329
- },
330
- };
331
- }
332
- export function createBashTool(cwd, options) {
333
- return wrapToolDefinition(createBashToolDefinition(cwd, options));
334
- }
335
- //# sourceMappingURL=bash.js.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"bash.js","sourceRoot":"","sources":["../../../src/core/tools/bash.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,UAAU,EAAE,MAAM,SAAS,CAAC;AAErC,OAAO,EAAE,SAAS,EAAE,IAAI,EAAE,eAAe,EAAE,MAAM,wBAAwB,CAAC;AAC1E,OAAO,EAAE,KAAK,EAAE,MAAM,eAAe,CAAC;AACtC,OAAO,EAAe,IAAI,EAAE,MAAM,SAAS,CAAC;AAC5C,OAAO,EAAE,OAAO,EAAE,MAAM,wDAAwD,CAAC;AACjF,OAAO,EAAE,qBAAqB,EAAE,MAAM,uDAAuD,CAAC;AAC9F,OAAO,EAAE,KAAK,EAAE,MAAM,wCAAwC,CAAC;AAC/D,OAAO,EAAE,mBAAmB,EAAE,MAAM,8BAA8B,CAAC;AACnE,OAAO,EACN,cAAc,EACd,WAAW,EACX,eAAe,EACf,qBAAqB,EACrB,uBAAuB,GACvB,MAAM,sBAAsB,CAAC;AAE9B,OAAO,EAAE,iBAAiB,EAAE,MAAM,yBAAyB,CAAC;AAC5D,OAAO,EAAE,aAAa,EAAE,cAAc,EAAE,GAAG,EAAE,MAAM,mBAAmB,CAAC;AACvE,OAAO,EAAE,kBAAkB,EAA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;KACD,CAAC;AAAA,CACF;AAED,MAAM,UAAU,cAAc,CAAC,GAAW,EAAE,OAAyB,EAAgC;IACpG,OAAO,kBAAkB,CAAC,wBAAwB,CAAC,GAAG,EAAE,OAAO,CAAC,CAAC,CAAC;AAAA,CAClE","sourcesContent":["import { existsSync } from \"node:fs\";\nimport type { AgentTool } from \"@entelligentsia/pi-agent-core\";\nimport { Container, Text, truncateToWidth } from \"@entelligentsia/pi-tui\";\nimport { spawn } from \"child_process\";\nimport { type Static, Type } from \"typebox\";\nimport { keyHint } from \"../../modes/interactive/components/keybinding-hints.js\";\nimport { truncateToVisualLines } from \"../../modes/interactive/components/visual-truncate.js\";\nimport { theme } from \"../../modes/interactive/theme/theme.js\";\nimport { waitForChildProcess } from \"../../utils/child-process.js\";\nimport {\n\tgetShellConfig,\n\tgetShellEnv,\n\tkillProcessTree,\n\ttrackDetachedChildPid,\n\tuntrackDetachedChildPid,\n} from \"../../utils/shell.js\";\nimport type { ToolDefinition, ToolRenderResultOptions } from \"../extensions/types.js\";\nimport { OutputAccumulator } from \"./output-accumulator.js\";\nimport { getTextOutput, invalidArgText, str } from \"./render-utils.js\";\nimport { wrapToolDefinition } from \"./tool-definition-wrapper.js\";\nimport { DEFAULT_MAX_BYTES, DEFAULT_MAX_LINES, formatSize, type TruncationResult } from \"./truncate.js\";\n\nconst bashSchema = Type.Object({\n\tcommand: Type.String({ description: \"Bash command to execute\" }),\n\ttimeout: Type.Optional(Type.Number({ description: \"Timeout in seconds (optional, no default timeout)\" })),\n});\n\nexport type BashToolInput = Static<typeof bashSchema>;\n\nexport interface BashToolDetails {\n\ttruncation?: TruncationResult;\n\tfullOutputPath?: string;\n}\n\n/**\n * Pluggable operations for the bash tool.\n * Override these to delegate command execution to remote systems (for example SSH).\n */\nexport interface BashOperations {\n\t/**\n\t * Execute a command and stream output.\n\t * @param command The command to execute\n\t * @param cwd Working directory\n\t * @param options Execution options\n\t * @returns Promise resolving to exit code (null if killed)\n\t */\n\texec: (\n\t\tcommand: string,\n\t\tcwd: string,\n\t\toptions: {\n\t\t\tonData: (data: Buffer) => void;\n\t\t\tsignal?: AbortSignal;\n\t\t\ttimeout?: number;\n\t\t\tenv?: NodeJS.ProcessEnv;\n\t\t},\n\t) => Promise<{ exitCode: number | null }>;\n}\n\n/**\n * Create bash operations using pi's built-in local shell execution backend.\n *\n * This is useful for extensions that intercept user_bash and still want pi's\n * standard local shell behavior while wrapping or rewriting commands.\n */\nexport function createLocalBashOperations(options?: { shellPath?: string }): BashOperations {\n\treturn {\n\t\texec: (command, cwd, { onData, signal, timeout, env }) => {\n\t\t\treturn new Promise((resolve, reject) => {\n\t\t\t\tconst { shell, args } = getShellConfig(options?.shellPath);\n\t\t\t\tif (!existsSync(cwd)) {\n\t\t\t\t\treject(new Error(`Working directory does not exist: ${cwd}\\nCannot execute bash commands.`));\n\t\t\t\t\treturn;\n\t\t\t\t}\n\t\t\t\tconst child = spawn(shell, [...args, command], {\n\t\t\t\t\tcwd,\n\t\t\t\t\tdetached: process.platform !== \"win32\",\n\t\t\t\t\tenv: env ?? getShellEnv(),\n\t\t\t\t\tstdio: [\"ignore\", \"pipe\", \"pipe\"],\n\t\t\t\t});\n\t\t\t\tif (child.pid) trackDetachedChildPid(child.pid);\n\t\t\t\tlet timedOut = false;\n\t\t\t\tlet timeoutHandle: NodeJS.Timeout | undefined;\n\t\t\t\t// Set timeout if provided.\n\t\t\t\tif (timeout !== undefined && timeout > 0) {\n\t\t\t\t\ttimeoutHandle = setTimeout(() => {\n\t\t\t\t\t\ttimedOut = true;\n\t\t\t\t\t\tif (child.pid) killProcessTree(child.pid);\n\t\t\t\t\t}, timeout * 1000);\n\t\t\t\t}\n\t\t\t\t// Stream stdout and stderr.\n\t\t\t\tchild.stdout?.on(\"data\", onData);\n\t\t\t\tchild.stderr?.on(\"data\", onData);\n\t\t\t\t// Handle abort signal by killing the entire process tree.\n\t\t\t\tconst onAbort = () => {\n\t\t\t\t\tif (child.pid) killProcessTree(child.pid);\n\t\t\t\t};\n\t\t\t\tif (signal) {\n\t\t\t\t\tif (signal.aborted) onAbort();\n\t\t\t\t\telse signal.addEventListener(\"abort\", onAbort, { once: true });\n\t\t\t\t}\n\t\t\t\t// Handle shell spawn errors and wait for the process to terminate without hanging\n\t\t\t\t// on inherited stdio handles held by detached descendants.\n\t\t\t\twaitForChildProcess(child)\n\t\t\t\t\t.then((code) => {\n\t\t\t\t\t\tif (child.pid) untrackDetachedChildPid(child.pid);\n\t\t\t\t\t\tif (timeoutHandle) clearTimeout(timeoutHandle);\n\t\t\t\t\t\tif (signal) signal.removeEventListener(\"abort\", onAbort);\n\t\t\t\t\t\tif (signal?.aborted) {\n\t\t\t\t\t\t\treject(new Error(\"aborted\"));\n\t\t\t\t\t\t\treturn;\n\t\t\t\t\t\t}\n\t\t\t\t\t\tif (timedOut) {\n\t\t\t\t\t\t\treject(new Error(`timeout:${timeout}`));\n\t\t\t\t\t\t\treturn;\n\t\t\t\t\t\t}\n\t\t\t\t\t\tresolve({ exitCode: code });\n\t\t\t\t\t})\n\t\t\t\t\t.catch((err) => {\n\t\t\t\t\t\tif (child.pid) untrackDetachedChildPid(child.pid);\n\t\t\t\t\t\tif (timeoutHandle) clearTimeout(timeoutHandle);\n\t\t\t\t\t\tif (signal) signal.removeEventListener(\"abort\", onAbort);\n\t\t\t\t\t\treject(err);\n\t\t\t\t\t});\n\t\t\t});\n\t\t},\n\t};\n}\n\nexport interface BashSpawnContext {\n\tcommand: string;\n\tcwd: string;\n\tenv: NodeJS.ProcessEnv;\n}\n\nexport type BashSpawnHook = (context: BashSpawnContext) => BashSpawnContext;\n\nfunction resolveSpawnContext(command: string, cwd: string, spawnHook?: BashSpawnHook): BashSpawnContext {\n\tconst baseContext: BashSpawnContext = { command, cwd, env: { ...getShellEnv() } };\n\treturn spawnHook ? spawnHook(baseContext) : baseContext;\n}\n\nexport interface BashToolOptions {\n\t/** Custom operations for command execution. Default: local shell */\n\toperations?: BashOperations;\n\t/** Command prefix prepended to every command (for example shell setup commands) */\n\tcommandPrefix?: string;\n\t/** Optional explicit shell path from settings */\n\tshellPath?: string;\n\t/** Hook to adjust command, cwd, or env before execution */\n\tspawnHook?: BashSpawnHook;\n}\n\nconst BASH_PREVIEW_LINES = 5;\nconst BASH_UPDATE_THROTTLE_MS = 100;\n\ntype BashRenderState = {\n\tstartedAt: number | undefined;\n\tendedAt: number | undefined;\n\tinterval: NodeJS.Timeout | undefined;\n};\n\ntype BashResultRenderState = {\n\tcachedWidth: number | undefined;\n\tcachedLines: string[] | undefined;\n\tcachedSkipped: number | undefined;\n};\n\nclass BashResultRenderComponent extends Container {\n\tstate: BashResultRenderState = {\n\t\tcachedWidth: undefined,\n\t\tcachedLines: undefined,\n\t\tcachedSkipped: undefined,\n\t};\n}\n\nfunction formatDuration(ms: number): string {\n\treturn `${(ms / 1000).toFixed(1)}s`;\n}\n\nfunction formatBashCall(args: { command?: string; timeout?: number } | undefined): string {\n\tconst command = str(args?.command);\n\tconst timeout = args?.timeout as number | undefined;\n\tconst timeoutSuffix = timeout ? theme.fg(\"muted\", ` (timeout ${timeout}s)`) : \"\";\n\tconst commandDisplay = command === null ? invalidArgText(theme) : command ? command : theme.fg(\"toolOutput\", \"...\");\n\treturn theme.fg(\"toolTitle\", theme.bold(`$ ${commandDisplay}`)) + timeoutSuffix;\n}\n\nfunction rebuildBashResultRenderComponent(\n\tcomponent: BashResultRenderComponent,\n\tresult: {\n\t\tcontent: Array<{ type: string; text?: string; data?: string; mimeType?: string }>;\n\t\tdetails?: BashToolDetails;\n\t},\n\toptions: ToolRenderResultOptions,\n\tshowImages: boolean,\n\tstartedAt: number | undefined,\n\tendedAt: number | undefined,\n): void {\n\tconst state = component.state;\n\tcomponent.clear();\n\n\tconst output = getTextOutput(result as any, showImages).trim();\n\n\tif (output) {\n\t\tconst styledOutput = output\n\t\t\t.split(\"\\n\")\n\t\t\t.map((line) => theme.fg(\"toolOutput\", line))\n\t\t\t.join(\"\\n\");\n\n\t\tif (options.expanded) {\n\t\t\tcomponent.addChild(new Text(`\\n${styledOutput}`, 0, 0));\n\t\t} else {\n\t\t\tcomponent.addChild({\n\t\t\t\trender: (width: number) => {\n\t\t\t\t\tif (state.cachedLines === undefined || state.cachedWidth !== width) {\n\t\t\t\t\t\tconst preview = truncateToVisualLines(styledOutput, BASH_PREVIEW_LINES, width);\n\t\t\t\t\t\tstate.cachedLines = preview.visualLines;\n\t\t\t\t\t\tstate.cachedSkipped = preview.skippedCount;\n\t\t\t\t\t\tstate.cachedWidth = width;\n\t\t\t\t\t}\n\t\t\t\t\tif (state.cachedSkipped && state.cachedSkipped > 0) {\n\t\t\t\t\t\tconst hint =\n\t\t\t\t\t\t\ttheme.fg(\"muted\", `... (${state.cachedSkipped} earlier lines,`) +\n\t\t\t\t\t\t\t` ${keyHint(\"app.tools.expand\", \"to expand\")})`;\n\t\t\t\t\t\treturn [\"\", truncateToWidth(hint, width, \"...\"), ...(state.cachedLines ?? [])];\n\t\t\t\t\t}\n\t\t\t\t\treturn [\"\", ...(state.cachedLines ?? [])];\n\t\t\t\t},\n\t\t\t\tinvalidate: () => {\n\t\t\t\t\tstate.cachedWidth = undefined;\n\t\t\t\t\tstate.cachedLines = undefined;\n\t\t\t\t\tstate.cachedSkipped = undefined;\n\t\t\t\t},\n\t\t\t});\n\t\t}\n\t}\n\n\tconst truncation = result.details?.truncation;\n\tconst fullOutputPath = result.details?.fullOutputPath;\n\tif (truncation?.truncated || fullOutputPath) {\n\t\tconst warnings: string[] = [];\n\t\tif (fullOutputPath) {\n\t\t\twarnings.push(`Full output: ${fullOutputPath}`);\n\t\t}\n\t\tif (truncation?.truncated) {\n\t\t\tif (truncation.truncatedBy === \"lines\") {\n\t\t\t\twarnings.push(`Truncated: showing ${truncation.outputLines} of ${truncation.totalLines} lines`);\n\t\t\t} else {\n\t\t\t\twarnings.push(\n\t\t\t\t\t`Truncated: ${truncation.outputLines} lines shown (${formatSize(truncation.maxBytes ?? DEFAULT_MAX_BYTES)} limit)`,\n\t\t\t\t);\n\t\t\t}\n\t\t}\n\t\tcomponent.addChild(new Text(`\\n${theme.fg(\"warning\", `[${warnings.join(\". \")}]`)}`, 0, 0));\n\t}\n\n\tif (startedAt !== undefined) {\n\t\tconst label = options.isPartial ? \"Elapsed\" : \"Took\";\n\t\tconst endTime = endedAt ?? Date.now();\n\t\tcomponent.addChild(new Text(`\\n${theme.fg(\"muted\", `${label} ${formatDuration(endTime - startedAt)}`)}`, 0, 0));\n\t}\n}\n\nexport function createBashToolDefinition(\n\tcwd: string,\n\toptions?: BashToolOptions,\n): ToolDefinition<typeof bashSchema, BashToolDetails | undefined, BashRenderState> {\n\tconst ops = options?.operations ?? createLocalBashOperations({ shellPath: options?.shellPath });\n\tconst commandPrefix = options?.commandPrefix;\n\tconst spawnHook = options?.spawnHook;\n\treturn {\n\t\tname: \"bash\",\n\t\tlabel: \"bash\",\n\t\tdescription: `Execute a bash command in the current working directory. Returns stdout and stderr. Output is truncated to last ${DEFAULT_MAX_LINES} lines or ${DEFAULT_MAX_BYTES / 1024}KB (whichever is hit first). If truncated, full output is saved to a temp file. Optionally provide a timeout in seconds.`,\n\t\tpromptSnippet: \"Execute bash commands (ls, grep, find, etc.)\",\n\t\tparameters: bashSchema,\n\t\tasync execute(\n\t\t\t_toolCallId,\n\t\t\t{ command, timeout }: { command: string; timeout?: number },\n\t\t\tsignal?: AbortSignal,\n\t\t\tonUpdate?,\n\t\t\t_ctx?,\n\t\t) {\n\t\t\tconst resolvedCommand = commandPrefix ? `${commandPrefix}\\n${command}` : command;\n\t\t\tconst spawnContext = resolveSpawnContext(resolvedCommand, cwd, spawnHook);\n\t\t\tconst output = new OutputAccumulator({ tempFilePrefix: \"pi-bash\" });\n\t\t\tlet updateTimer: NodeJS.Timeout | undefined;\n\t\t\tlet updateDirty = false;\n\t\t\tlet lastUpdateAt = 0;\n\n\t\t\tconst emitOutputUpdate = () => {\n\t\t\t\tif (!onUpdate || !updateDirty) return;\n\t\t\t\tupdateDirty = false;\n\t\t\t\tlastUpdateAt = Date.now();\n\t\t\t\tconst snapshot = output.snapshot({ persistIfTruncated: true });\n\t\t\t\tonUpdate({\n\t\t\t\t\tcontent: [{ type: \"text\", text: snapshot.content || \"\" }],\n\t\t\t\t\tdetails: {\n\t\t\t\t\t\ttruncation: snapshot.truncation.truncated ? snapshot.truncation : undefined,\n\t\t\t\t\t\tfullOutputPath: snapshot.fullOutputPath,\n\t\t\t\t\t},\n\t\t\t\t});\n\t\t\t};\n\n\t\t\tconst clearUpdateTimer = () => {\n\t\t\t\tif (updateTimer) {\n\t\t\t\t\tclearTimeout(updateTimer);\n\t\t\t\t\tupdateTimer = undefined;\n\t\t\t\t}\n\t\t\t};\n\n\t\t\tconst scheduleOutputUpdate = () => {\n\t\t\t\tif (!onUpdate) return;\n\t\t\t\tupdateDirty = true;\n\t\t\t\tconst delay = BASH_UPDATE_THROTTLE_MS - (Date.now() - lastUpdateAt);\n\t\t\t\tif (delay <= 0) {\n\t\t\t\t\tclearUpdateTimer();\n\t\t\t\t\temitOutputUpdate();\n\t\t\t\t\treturn;\n\t\t\t\t}\n\t\t\t\tupdateTimer ??= setTimeout(() => {\n\t\t\t\t\tupdateTimer = undefined;\n\t\t\t\t\temitOutputUpdate();\n\t\t\t\t}, delay);\n\t\t\t};\n\n\t\t\tif (onUpdate) {\n\t\t\t\tonUpdate({ content: [], details: undefined });\n\t\t\t}\n\n\t\t\tconst handleData = (data: Buffer) => {\n\t\t\t\toutput.append(data);\n\t\t\t\tscheduleOutputUpdate();\n\t\t\t};\n\n\t\t\tconst finishOutput = async () => {\n\t\t\t\toutput.finish();\n\t\t\t\tclearUpdateTimer();\n\t\t\t\temitOutputUpdate();\n\t\t\t\tconst snapshot = output.snapshot({ persistIfTruncated: true });\n\t\t\t\tawait output.closeTempFile();\n\t\t\t\treturn snapshot;\n\t\t\t};\n\n\t\t\tconst formatOutput = (snapshot: Awaited<ReturnType<typeof finishOutput>>, emptyText = \"(no output)\") => {\n\t\t\t\tconst truncation = snapshot.truncation;\n\t\t\t\tlet text = snapshot.content || emptyText;\n\t\t\t\tlet details: BashToolDetails | undefined;\n\t\t\t\tif (truncation.truncated) {\n\t\t\t\t\tdetails = { truncation, fullOutputPath: snapshot.fullOutputPath };\n\t\t\t\t\tconst startLine = truncation.totalLines - truncation.outputLines + 1;\n\t\t\t\t\tconst endLine = truncation.totalLines;\n\t\t\t\t\tif (truncation.lastLinePartial) {\n\t\t\t\t\t\tconst lastLineSize = formatSize(output.getLastLineBytes());\n\t\t\t\t\t\ttext += `\\n\\n[Showing last ${formatSize(truncation.outputBytes)} of line ${endLine} (line is ${lastLineSize}). Full output: ${snapshot.fullOutputPath}]`;\n\t\t\t\t\t} else if (truncation.truncatedBy === \"lines\") {\n\t\t\t\t\t\ttext += `\\n\\n[Showing lines ${startLine}-${endLine} of ${truncation.totalLines}. Full output: ${snapshot.fullOutputPath}]`;\n\t\t\t\t\t} else {\n\t\t\t\t\t\ttext += `\\n\\n[Showing lines ${startLine}-${endLine} of ${truncation.totalLines} (${formatSize(DEFAULT_MAX_BYTES)} limit). Full output: ${snapshot.fullOutputPath}]`;\n\t\t\t\t\t}\n\t\t\t\t}\n\t\t\t\treturn { text, details };\n\t\t\t};\n\n\t\t\tconst appendStatus = (text: string, status: string) => `${text ? `${text}\\n\\n` : \"\"}${status}`;\n\n\t\t\ttry {\n\t\t\t\tlet exitCode: number | null;\n\t\t\t\ttry {\n\t\t\t\t\tconst result = await ops.exec(spawnContext.command, spawnContext.cwd, {\n\t\t\t\t\t\tonData: handleData,\n\t\t\t\t\t\tsignal,\n\t\t\t\t\t\ttimeout,\n\t\t\t\t\t\tenv: spawnContext.env,\n\t\t\t\t\t});\n\t\t\t\t\texitCode = result.exitCode;\n\t\t\t\t} catch (err) {\n\t\t\t\t\tconst snapshot = await finishOutput();\n\t\t\t\t\tconst { text } = formatOutput(snapshot, \"\");\n\t\t\t\t\tif (err instanceof Error && err.message === \"aborted\") {\n\t\t\t\t\t\tthrow new Error(appendStatus(text, \"Command aborted\"));\n\t\t\t\t\t}\n\t\t\t\t\tif (err instanceof Error && err.message.startsWith(\"timeout:\")) {\n\t\t\t\t\t\tconst timeoutSecs = err.message.split(\":\")[1];\n\t\t\t\t\t\tthrow new Error(appendStatus(text, `Command timed out after ${timeoutSecs} seconds`));\n\t\t\t\t\t}\n\t\t\t\t\tthrow err;\n\t\t\t\t}\n\n\t\t\t\tconst snapshot = await finishOutput();\n\t\t\t\tconst { text: outputText, details } = formatOutput(snapshot);\n\t\t\t\tif (exitCode !== 0 && exitCode !== null) {\n\t\t\t\t\tthrow new Error(appendStatus(outputText, `Command exited with code ${exitCode}`));\n\t\t\t\t}\n\t\t\t\treturn { content: [{ type: \"text\", text: outputText }], details };\n\t\t\t} finally {\n\t\t\t\tclearUpdateTimer();\n\t\t\t}\n\t\t},\n\t\trenderCall(args, _theme, context) {\n\t\t\tconst state = context.state;\n\t\t\tif (context.executionStarted && state.startedAt === undefined) {\n\t\t\t\tstate.startedAt = Date.now();\n\t\t\t\tstate.endedAt = undefined;\n\t\t\t}\n\t\t\tconst text = (context.lastComponent as Text | undefined) ?? new Text(\"\", 0, 0);\n\t\t\ttext.setText(formatBashCall(args));\n\t\t\treturn text;\n\t\t},\n\t\trenderResult(result, options, _theme, context) {\n\t\t\tconst state = context.state;\n\t\t\tif (state.startedAt !== undefined && options.isPartial && !state.interval) {\n\t\t\t\tstate.interval = setInterval(() => context.invalidate(), 1000);\n\t\t\t}\n\t\t\tif (!options.isPartial || context.isError) {\n\t\t\t\tstate.endedAt ??= Date.now();\n\t\t\t\tif (state.interval) {\n\t\t\t\t\tclearInterval(state.interval);\n\t\t\t\t\tstate.interval = undefined;\n\t\t\t\t}\n\t\t\t}\n\t\t\tconst component =\n\t\t\t\t(context.lastComponent as BashResultRenderComponent | undefined) ?? new BashResultRenderComponent();\n\t\t\trebuildBashResultRenderComponent(\n\t\t\t\tcomponent,\n\t\t\t\tresult as any,\n\t\t\t\toptions,\n\t\t\t\tcontext.showImages,\n\t\t\t\tstate.startedAt,\n\t\t\t\tstate.endedAt,\n\t\t\t);\n\t\t\tcomponent.invalidate();\n\t\t\treturn component;\n\t\t},\n\t};\n}\n\nexport function createBashTool(cwd: string, options?: BashToolOptions): AgentTool<typeof bashSchema> {\n\treturn wrapToolDefinition(createBashToolDefinition(cwd, options));\n}\n"]}
@@ -1,49 +0,0 @@
1
- import type { AgentTool } from "@entelligentsia/pi-agent-core";
2
- import { Box } from "@entelligentsia/pi-tui";
3
- import { type Static, Type } from "typebox";
4
- import type { ToolDefinition } from "../extensions/types.js";
5
- import { type EditDiffError, type EditDiffResult } from "./edit-diff.js";
6
- type EditPreview = EditDiffResult | EditDiffError;
7
- type EditRenderState = {
8
- callComponent?: EditCallRenderComponent;
9
- };
10
- declare const editSchema: Type.TObject<{
11
- path: Type.TString;
12
- edits: Type.TArray<Type.TObject<{
13
- oldText: Type.TString;
14
- newText: Type.TString;
15
- }>>;
16
- }>;
17
- export type EditToolInput = Static<typeof editSchema>;
18
- export interface EditToolDetails {
19
- /** Unified diff of the changes made */
20
- diff: string;
21
- /** Line number of the first change in the new file (for editor navigation) */
22
- firstChangedLine?: number;
23
- }
24
- /**
25
- * Pluggable operations for the edit tool.
26
- * Override these to delegate file editing to remote systems (for example SSH).
27
- */
28
- export interface EditOperations {
29
- /** Read file contents as a Buffer */
30
- readFile: (absolutePath: string) => Promise<Buffer>;
31
- /** Write content to a file */
32
- writeFile: (absolutePath: string, content: string) => Promise<void>;
33
- /** Check if file is readable and writable (throw if not) */
34
- access: (absolutePath: string) => Promise<void>;
35
- }
36
- export interface EditToolOptions {
37
- /** Custom operations for file editing. Default: local filesystem */
38
- operations?: EditOperations;
39
- }
40
- type EditCallRenderComponent = Box & {
41
- preview?: EditPreview;
42
- previewArgsKey?: string;
43
- previewPending?: boolean;
44
- settledError?: boolean;
45
- };
46
- export declare function createEditToolDefinition(cwd: string, options?: EditToolOptions): ToolDefinition<typeof editSchema, EditToolDetails | undefined, EditRenderState>;
47
- export declare function createEditTool(cwd: string, options?: EditToolOptions): AgentTool<typeof editSchema>;
48
- export {};
49
- //# sourceMappingURL=edit.d.ts.map