dal-code 1.0.56 → 1.0.57

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 (276) hide show
  1. package/CHANGELOG.md +4 -0
  2. package/dist/bun/register-bedrock.js +1 -0
  3. package/dist/bundle/chunks/{anthropic-messages-HHQLDDZH.js → anthropic-messages-ASQGS6BL.js} +1 -1
  4. package/dist/bundle/chunks/{azure-openai-responses-S7VKEJTH.js → azure-openai-responses-ZSCUJBSU.js} +1 -1
  5. package/dist/bundle/chunks/bedrock-converse-stream.js +1 -1
  6. package/dist/bundle/chunks/{chunk-BCFLC6CK.js → chunk-2E7RGBKM.js} +1 -1
  7. package/dist/bundle/chunks/{chunk-Z64M4Q7A.js → chunk-34D4KVPX.js} +1 -1
  8. package/dist/bundle/chunks/chunk-6PQZ4KMC.js +17 -0
  9. package/dist/bundle/chunks/chunk-6SPX3U36.js +1 -0
  10. package/dist/bundle/chunks/{chunk-UULAEZ3H.js → chunk-F577XLVZ.js} +1 -1
  11. package/dist/bundle/chunks/{chunk-RX6CC5RH.js → chunk-FSX34SAZ.js} +443 -472
  12. package/dist/bundle/chunks/chunk-G5AMLGXC.js +1 -0
  13. package/dist/bundle/chunks/{chunk-F37JXTCY.js → chunk-GPI2GHBH.js} +1 -1
  14. package/dist/bundle/chunks/chunk-HF334NQU.js +21 -0
  15. package/dist/bundle/chunks/{chunk-3HGUIN22.js → chunk-IRSW3MVW.js} +2 -2
  16. package/dist/bundle/chunks/chunk-JPBJUBY4.js +17 -0
  17. package/dist/bundle/chunks/chunk-JPCWLZUZ.js +30 -0
  18. package/dist/bundle/chunks/chunk-JUUJCOIR.js +7 -0
  19. package/dist/bundle/chunks/{chunk-3XMZ5UC3.js → chunk-KP7CMLOT.js} +1 -1
  20. package/dist/bundle/chunks/chunk-LZTZWS3N.js +9 -0
  21. package/dist/bundle/chunks/{chunk-PH42AQ66.js → chunk-MAJODFX6.js} +1 -1
  22. package/dist/bundle/chunks/chunk-NJDCSLWK.js +1 -0
  23. package/dist/bundle/chunks/{chunk-P4IBZA6D.js → chunk-O3XFDBJ3.js} +1 -1
  24. package/dist/bundle/chunks/{chunk-BIY5HTFI.js → chunk-PD6QS7YD.js} +1 -1
  25. package/dist/bundle/chunks/{chunk-ZR6PGIL7.js → chunk-S7K3JBWA.js} +1 -1
  26. package/dist/bundle/chunks/{chunk-VGMP27KM.js → chunk-TNSXMGQB.js} +1 -1
  27. package/dist/bundle/chunks/chunk-XIJS4F22.js +14 -0
  28. package/dist/bundle/chunks/{chunk-QCT6OHUR.js → chunk-YTDTROS5.js} +1 -1
  29. package/dist/bundle/chunks/{cli-NGGC23SK.js → cli-IDAZVEZ2.js} +1 -1
  30. package/dist/bundle/chunks/{cli-TVPE43YN.js → cli-NP7QEFQE.js} +1 -1
  31. package/dist/bundle/chunks/{cloudflare-workers-ai-system-one-RK2YCJXC.js → cloudflare-workers-ai-system-one-WLKVTF6I.js} +1 -1
  32. package/dist/bundle/chunks/{execute-MGTKJB44.js → execute-VXSJSHXH.js} +2 -2
  33. package/dist/bundle/chunks/{google-generative-ai-ZPA4VBXP.js → google-generative-ai-3HIBMVL4.js} +1 -1
  34. package/dist/bundle/chunks/{google-vertex-IWHW2RX7.js → google-vertex-7PIUZFM3.js} +1 -1
  35. package/dist/bundle/chunks/{llama-cpp-classify-FXJM52Q3.js → llama-cpp-classify-5OLOZHKT.js} +1 -1
  36. package/dist/bundle/chunks/{mcp-RLFUDVHN.js → mcp-GHYUCPI4.js} +1 -1
  37. package/dist/bundle/chunks/{mistral-conversations-JXVPTO5Y.js → mistral-conversations-6Y33SI3U.js} +1 -1
  38. package/dist/bundle/chunks/{office-RTREQQ7W.js → office-2JSKOL7V.js} +1 -1
  39. package/dist/bundle/chunks/{openai-codex-responses-EYW27UUE.js → openai-codex-responses-BYGMMTPH.js} +1 -1
  40. package/dist/bundle/chunks/{openai-completions-ROBKXDOC.js → openai-completions-UWYQMOLR.js} +1 -1
  41. package/dist/bundle/chunks/{openai-decisions-4T5LPJRA.js → openai-decisions-I5J7OD62.js} +1 -1
  42. package/dist/bundle/chunks/{openai-responses-ZVFZ75QW.js → openai-responses-LWVKQGLT.js} +1 -1
  43. package/dist/bundle/chunks/{openrouter-images-6VJYTLAX.js → openrouter-images-BDUFN6XX.js} +1 -1
  44. package/dist/bundle/chunks/{pi-messages-Y6HBOGKH.js → pi-messages-64FHWMQR.js} +1 -1
  45. package/dist/bundle/chunks/{review-USSKCVWP.js → review-OQEOVDLP.js} +2 -2
  46. package/dist/bundle/chunks/{router-4JLK3BTT.js → router-3UQE4LBN.js} +1 -1
  47. package/dist/bundle/chunks/runtime-E7KOB62K.js +1 -0
  48. package/dist/bundle/chunks/sdk-5V64WBOZ.js +1 -0
  49. package/dist/bundle/chunks/{sync-UCHKAOUU.js → sync-INSWGFSB.js} +3 -3
  50. package/dist/bundle/chunks/{typesafe-system-one-XPDE7VYD.js → typesafe-system-one-7QFJ5JNW.js} +1 -1
  51. package/dist/bundle/chunks/usage-MG7QDPG2.js +1 -0
  52. package/dist/bundle/chunks/virtual-modules-73ZLFCNE.js +1 -0
  53. package/dist/bundle/cli-runtime.js +1 -1
  54. package/dist/bundle/index.js +1 -1
  55. package/dist/bundle/rpc-entry.js +1 -1
  56. package/dist/cli/experimental/auth.js +1 -0
  57. package/dist/cli/experimental/cli.js +1 -0
  58. package/dist/cli/experimental/command-options.js +1 -0
  59. package/dist/cli/experimental/command.js +1 -0
  60. package/dist/cli/experimental/commands/client.js +1 -0
  61. package/dist/cli/experimental/commands/pi.js +1 -0
  62. package/dist/cli/experimental/commands/server.js +1 -0
  63. package/dist/cli/experimental/transport-address.js +1 -0
  64. package/dist/client/index.js +1 -0
  65. package/dist/client/remote-session.js +1 -0
  66. package/dist/client/transcript.js +1 -0
  67. package/dist/core/provider-attribution.js +1 -0
  68. package/dist/modes/interactive/components/daxnuts.js +1 -0
  69. package/dist/modes/interactive/theme/theme-json.js +12 -0
  70. package/dist/modes/interactive/theme/theme-schema.json +356 -0
  71. package/dist/node_modules/@dalcode/dal-advisor/package.json +3 -3
  72. package/dist/node_modules/@dalcode/dal-awake/package.json +2 -2
  73. package/dist/node_modules/@dalcode/dal-bridge/package.json +2 -2
  74. package/dist/node_modules/@dalcode/dal-capabilities/package.json +4 -4
  75. package/dist/node_modules/@dalcode/dal-codeindex/package.json +2 -2
  76. package/dist/node_modules/@dalcode/dal-compat/package.json +2 -2
  77. package/dist/node_modules/@dalcode/dal-dap/package.json +2 -2
  78. package/dist/node_modules/@dalcode/dal-gateway/package.json +2 -2
  79. package/dist/node_modules/@dalcode/dal-goal/package.json +3 -3
  80. package/dist/node_modules/@dalcode/dal-guard/package.json +4 -4
  81. package/dist/node_modules/@dalcode/dal-halo/package.json +1 -1
  82. package/dist/node_modules/@dalcode/dal-interactive/package.json +2 -2
  83. package/dist/node_modules/@dalcode/dal-lang/package.json +3 -3
  84. package/dist/node_modules/@dalcode/dal-learn/package.json +2 -2
  85. package/dist/node_modules/@dalcode/dal-learn/src/store.js +3 -3
  86. package/dist/node_modules/@dalcode/dal-lsp/package.json +4 -4
  87. package/dist/node_modules/@dalcode/dal-mcp/package.json +6 -6
  88. package/dist/node_modules/@dalcode/dal-office/package.json +2 -2
  89. package/dist/node_modules/@dalcode/dal-pi-kit/dist/agent-dir.js +1 -0
  90. package/dist/node_modules/@dalcode/dal-pi-kit/dist/index.js +1 -1
  91. package/dist/node_modules/@dalcode/dal-pi-kit/package.json +1 -1
  92. package/dist/node_modules/@dalcode/dal-pi-kit/src/agent-dir.js +1 -0
  93. package/dist/node_modules/@dalcode/dal-pi-kit/src/index.js +1 -1
  94. package/dist/node_modules/@dalcode/dal-plugins/package.json +4 -4
  95. package/dist/node_modules/@dalcode/dal-recall/package.json +2 -2
  96. package/dist/node_modules/@dalcode/dal-remote/package.json +2 -2
  97. package/dist/node_modules/@dalcode/dal-review/package.json +3 -3
  98. package/dist/node_modules/@dalcode/dal-rewind/package.json +2 -2
  99. package/dist/node_modules/@dalcode/dal-router/package.json +6 -6
  100. package/dist/node_modules/@dalcode/dal-rtk/package.json +2 -2
  101. package/dist/node_modules/@dalcode/dal-skills/package.json +3 -3
  102. package/dist/node_modules/@dalcode/dal-statusline/package.json +2 -2
  103. package/dist/node_modules/@dalcode/dal-structured/package.json +2 -2
  104. package/dist/node_modules/@dalcode/dal-subagent/package.json +5 -5
  105. package/dist/node_modules/@dalcode/dal-sync/package.json +4 -4
  106. package/dist/node_modules/@dalcode/dal-telemetry/package.json +4 -4
  107. package/dist/node_modules/@dalcode/dal-terminal/package.json +2 -2
  108. package/dist/node_modules/@dalcode/dal-tool-catalog/package.json +2 -2
  109. package/dist/node_modules/@dalcode/dal-usage/package.json +2 -2
  110. package/dist/node_modules/@dalcode/dal-web/package.json +3 -3
  111. package/dist/node_modules/@dalcode/dal-workflow/package.json +2 -2
  112. package/dist/node_modules/@dalcode/deepailab/package.json +3 -3
  113. package/dist/node_modules/@earendil-works/pi-agent-core/dist/harness/agent-harness.js +1 -0
  114. package/dist/node_modules/@earendil-works/pi-agent-core/dist/harness/compaction/branch-summarization.js +37 -0
  115. package/dist/node_modules/@earendil-works/pi-agent-core/dist/harness/compaction/compaction.js +104 -0
  116. package/dist/node_modules/@earendil-works/pi-agent-core/dist/harness/compaction/utils.js +16 -0
  117. package/dist/node_modules/@earendil-works/pi-agent-core/dist/harness/config.js +1 -0
  118. package/dist/node_modules/@earendil-works/pi-agent-core/dist/harness/context.js +1 -0
  119. package/dist/node_modules/@earendil-works/pi-agent-core/dist/harness/env/nodejs.js +10 -0
  120. package/dist/node_modules/@earendil-works/pi-agent-core/dist/harness/events.js +1 -0
  121. package/dist/node_modules/@earendil-works/pi-agent-core/dist/harness/execution/assistant.js +1 -0
  122. package/dist/node_modules/@earendil-works/pi-agent-core/dist/harness/execution/effect-gate.js +1 -0
  123. package/dist/node_modules/@earendil-works/pi-agent-core/dist/harness/execution/tools.js +1 -0
  124. package/dist/node_modules/@earendil-works/pi-agent-core/dist/harness/hooks.js +1 -0
  125. package/dist/node_modules/@earendil-works/pi-agent-core/dist/harness/messages.js +17 -0
  126. package/dist/node_modules/@earendil-works/pi-agent-core/dist/harness/pico3/bash.js +1 -0
  127. package/dist/node_modules/@earendil-works/pi-agent-core/dist/harness/pico3/bounded.js +1 -0
  128. package/dist/node_modules/@earendil-works/pi-agent-core/dist/harness/pico3/chord.js +1 -0
  129. package/dist/node_modules/@earendil-works/pi-agent-core/dist/harness/pico3/context.js +1 -0
  130. package/dist/node_modules/@earendil-works/pi-agent-core/dist/harness/pico3/harness.js +1 -0
  131. package/dist/node_modules/@earendil-works/pi-agent-core/dist/harness/pico3/hooks.js +1 -0
  132. package/dist/node_modules/@earendil-works/pi-agent-core/dist/harness/pico3/index.js +1 -0
  133. package/dist/node_modules/@earendil-works/pi-agent-core/dist/harness/pico3/jsonl.js +4 -0
  134. package/dist/node_modules/@earendil-works/pi-agent-core/dist/harness/pico3/kinds/collapse.js +3 -0
  135. package/dist/node_modules/@earendil-works/pi-agent-core/dist/harness/pico3/kinds/entries.js +1 -0
  136. package/dist/node_modules/@earendil-works/pi-agent-core/dist/harness/pico3/kinds/frames.js +1 -0
  137. package/dist/node_modules/@earendil-works/pi-agent-core/dist/harness/pico3/kinds/generation.js +1 -0
  138. package/dist/node_modules/@earendil-works/pi-agent-core/dist/harness/pico3/kinds/job.js +1 -0
  139. package/dist/node_modules/@earendil-works/pi-agent-core/dist/harness/pico3/kinds/plugin.js +1 -0
  140. package/dist/node_modules/@earendil-works/pi-agent-core/dist/harness/pico3/kinds/post-tools.js +1 -0
  141. package/dist/node_modules/@earendil-works/pi-agent-core/dist/harness/pico3/kinds/task-api.js +1 -0
  142. package/dist/node_modules/@earendil-works/pi-agent-core/dist/harness/pico3/kinds/tool.js +3 -0
  143. package/dist/node_modules/@earendil-works/pi-agent-core/dist/harness/pico3/membrane.js +1 -0
  144. package/dist/node_modules/@earendil-works/pi-agent-core/dist/harness/pico3/memory.js +1 -0
  145. package/dist/node_modules/@earendil-works/pi-agent-core/dist/harness/pico3/scheduler.js +1 -0
  146. package/dist/node_modules/@earendil-works/pi-agent-core/dist/harness/pico3/session.js +1 -0
  147. package/dist/node_modules/@earendil-works/pi-agent-core/dist/harness/pico3/system.js +8 -0
  148. package/dist/node_modules/@earendil-works/pi-agent-core/dist/harness/pico3/types.js +1 -0
  149. package/dist/node_modules/@earendil-works/pi-agent-core/dist/harness/pico3/view.js +1 -0
  150. package/dist/node_modules/@earendil-works/pi-agent-core/dist/harness/prompt-templates.js +5 -0
  151. package/dist/node_modules/@earendil-works/pi-agent-core/dist/harness/reducer.js +1 -0
  152. package/dist/node_modules/@earendil-works/pi-agent-core/dist/harness/result.js +1 -0
  153. package/dist/node_modules/@earendil-works/pi-agent-core/dist/harness/runtime/drive/boundary.js +1 -0
  154. package/dist/node_modules/@earendil-works/pi-agent-core/dist/harness/runtime/drive/checkpoint.js +1 -0
  155. package/dist/node_modules/@earendil-works/pi-agent-core/dist/harness/runtime/drive/deferred.js +1 -0
  156. package/dist/node_modules/@earendil-works/pi-agent-core/dist/harness/runtime/drive/generation.js +1 -0
  157. package/dist/node_modules/@earendil-works/pi-agent-core/dist/harness/runtime/drive/reconcile.js +1 -0
  158. package/dist/node_modules/@earendil-works/pi-agent-core/dist/harness/runtime/drive/recovery.js +1 -0
  159. package/dist/node_modules/@earendil-works/pi-agent-core/dist/harness/runtime/drive/response.js +1 -0
  160. package/dist/node_modules/@earendil-works/pi-agent-core/dist/harness/runtime/drive/retry.js +1 -0
  161. package/dist/node_modules/@earendil-works/pi-agent-core/dist/harness/runtime/drive/structural.js +1 -0
  162. package/dist/node_modules/@earendil-works/pi-agent-core/dist/harness/runtime/drive/terminal.js +1 -0
  163. package/dist/node_modules/@earendil-works/pi-agent-core/dist/harness/runtime/drive/tool-placement.js +1 -0
  164. package/dist/node_modules/@earendil-works/pi-agent-core/dist/harness/runtime/drive/tools.js +1 -0
  165. package/dist/node_modules/@earendil-works/pi-agent-core/dist/harness/runtime/drive.js +1 -0
  166. package/dist/node_modules/@earendil-works/pi-agent-core/dist/harness/runtime/harness.js +1 -0
  167. package/dist/node_modules/@earendil-works/pi-agent-core/dist/harness/runtime/index.js +1 -0
  168. package/dist/node_modules/@earendil-works/pi-agent-core/dist/harness/runtime/lane.js +1 -0
  169. package/dist/node_modules/@earendil-works/pi-agent-core/dist/harness/runtime/progress.js +1 -0
  170. package/dist/node_modules/@earendil-works/pi-agent-core/dist/harness/runtime/reducer.js +1 -0
  171. package/dist/node_modules/@earendil-works/pi-agent-core/dist/harness/runtime/restore.js +1 -0
  172. package/dist/node_modules/@earendil-works/pi-agent-core/dist/harness/runtime/transcript.js +1 -0
  173. package/dist/node_modules/@earendil-works/pi-agent-core/dist/harness/runtime/types.js +1 -0
  174. package/dist/node_modules/@earendil-works/pi-agent-core/dist/harness/session/commit.js +1 -0
  175. package/dist/node_modules/@earendil-works/pi-agent-core/dist/harness/session/context.js +1 -0
  176. package/dist/node_modules/@earendil-works/pi-agent-core/dist/harness/session/fork-policy.js +1 -0
  177. package/dist/node_modules/@earendil-works/pi-agent-core/dist/harness/session/fork.js +1 -0
  178. package/dist/node_modules/@earendil-works/pi-agent-core/dist/harness/session/in-memory-storage-state.js +1 -0
  179. package/dist/node_modules/@earendil-works/pi-agent-core/dist/harness/session/index.js +1 -0
  180. package/dist/node_modules/@earendil-works/pi-agent-core/dist/harness/session/jsonl/codec.js +1 -0
  181. package/dist/node_modules/@earendil-works/pi-agent-core/dist/harness/session/jsonl/errors.js +1 -0
  182. package/dist/node_modules/@earendil-works/pi-agent-core/dist/harness/session/jsonl/fork.js +1 -0
  183. package/dist/node_modules/@earendil-works/pi-agent-core/dist/harness/session/jsonl/index.js +1 -0
  184. package/dist/node_modules/@earendil-works/pi-agent-core/dist/harness/session/jsonl/io.js +3 -0
  185. package/dist/node_modules/@earendil-works/pi-agent-core/dist/harness/session/jsonl/legacy-v3.js +1 -0
  186. package/dist/node_modules/@earendil-works/pi-agent-core/dist/harness/session/jsonl/repo.js +1 -0
  187. package/dist/node_modules/@earendil-works/pi-agent-core/dist/harness/session/jsonl/storage.js +8 -0
  188. package/dist/node_modules/@earendil-works/pi-agent-core/dist/harness/session/jsonl/types.js +1 -0
  189. package/dist/node_modules/@earendil-works/pi-agent-core/dist/harness/session/jsonl-repo.js +1 -0
  190. package/dist/node_modules/@earendil-works/pi-agent-core/dist/harness/session/jsonl-storage.js +5 -0
  191. package/dist/node_modules/@earendil-works/pi-agent-core/dist/harness/session/jsonl.js +1 -0
  192. package/dist/node_modules/@earendil-works/pi-agent-core/dist/harness/session/memory-repo.js +1 -0
  193. package/dist/node_modules/@earendil-works/pi-agent-core/dist/harness/session/memory-storage.js +1 -0
  194. package/dist/node_modules/@earendil-works/pi-agent-core/dist/harness/session/memory.js +1 -0
  195. package/dist/node_modules/@earendil-works/pi-agent-core/dist/harness/session/mutation-line.js +1 -0
  196. package/dist/node_modules/@earendil-works/pi-agent-core/dist/harness/session/repo-utils.js +1 -0
  197. package/dist/node_modules/@earendil-works/pi-agent-core/dist/harness/session/session.js +1 -0
  198. package/dist/node_modules/@earendil-works/pi-agent-core/dist/harness/session/state.js +1 -0
  199. package/dist/node_modules/@earendil-works/pi-agent-core/dist/harness/session/testing/benchmark/datasets.js +1 -0
  200. package/dist/node_modules/@earendil-works/pi-agent-core/dist/harness/session/testing/benchmark/session-repo.js +1 -0
  201. package/dist/node_modules/@earendil-works/pi-agent-core/dist/harness/session/testing/benchmark/storage.js +1 -0
  202. package/dist/node_modules/@earendil-works/pi-agent-core/dist/harness/session/testing/conformance/session-repo.js +1 -0
  203. package/dist/node_modules/@earendil-works/pi-agent-core/dist/harness/session/testing/conformance/storage.js +1 -0
  204. package/dist/node_modules/@earendil-works/pi-agent-core/dist/harness/session/testing/conformance.js +1 -0
  205. package/dist/node_modules/@earendil-works/pi-agent-core/dist/harness/session/testing/gating-storage.js +1 -0
  206. package/dist/node_modules/@earendil-works/pi-agent-core/dist/harness/session/testing/index.js +1 -0
  207. package/dist/node_modules/@earendil-works/pi-agent-core/dist/harness/session/testing/instrumented-storage.js +1 -0
  208. package/dist/node_modules/@earendil-works/pi-agent-core/dist/harness/session/testing/storage-decorator.js +1 -0
  209. package/dist/node_modules/@earendil-works/pi-agent-core/dist/harness/session/testing/types.js +0 -0
  210. package/dist/node_modules/@earendil-works/pi-agent-core/dist/harness/session/types.js +1 -0
  211. package/dist/node_modules/@earendil-works/pi-agent-core/dist/harness/session/values.js +1 -0
  212. package/dist/node_modules/@earendil-works/pi-agent-core/dist/harness/skills.js +10 -0
  213. package/dist/node_modules/@earendil-works/pi-agent-core/dist/harness/system-prompt.js +2 -0
  214. package/dist/node_modules/@earendil-works/pi-agent-core/dist/harness/telemetry.js +1 -0
  215. package/dist/node_modules/@earendil-works/pi-agent-core/dist/harness/tools/bash.js +12 -0
  216. package/dist/node_modules/@earendil-works/pi-agent-core/dist/harness/tools/edit-diff.js +16 -0
  217. package/dist/node_modules/@earendil-works/pi-agent-core/dist/harness/tools/edit.js +1 -0
  218. package/dist/node_modules/@earendil-works/pi-agent-core/dist/harness/tools/file-mutation-queue.js +1 -0
  219. package/dist/node_modules/@earendil-works/pi-agent-core/dist/harness/tools/image.js +1 -0
  220. package/dist/node_modules/@earendil-works/pi-agent-core/dist/harness/tools/index.js +1 -0
  221. package/dist/node_modules/@earendil-works/pi-agent-core/dist/harness/tools/path-utils.js +1 -0
  222. package/dist/node_modules/@earendil-works/pi-agent-core/dist/harness/tools/read.js +14 -0
  223. package/dist/node_modules/@earendil-works/pi-agent-core/dist/harness/tools/tool-context.js +0 -0
  224. package/dist/node_modules/@earendil-works/pi-agent-core/dist/harness/tools/write.js +1 -0
  225. package/dist/node_modules/@earendil-works/pi-agent-core/dist/harness/types.js +1 -0
  226. package/dist/node_modules/@earendil-works/pi-agent-core/dist/harness/utils/adaptive-publisher.js +1 -0
  227. package/dist/node_modules/@earendil-works/pi-agent-core/dist/harness/utils/output-capture.js +5 -0
  228. package/dist/node_modules/@earendil-works/pi-agent-core/dist/harness/utils/shell-output.js +1 -0
  229. package/dist/node_modules/@earendil-works/pi-agent-core/dist/harness/utils/truncate.js +5 -0
  230. package/dist/node_modules/@earendil-works/pi-agent-core/dist/harness/utils/usage.js +1 -0
  231. package/dist/node_modules/@earendil-works/pi-agent-core/dist/node.js +1 -0
  232. package/dist/node_modules/@earendil-works/pi-agent-core/dist/search/index.js +0 -0
  233. package/dist/node_modules/@earendil-works/pi-agent-core/dist/search/scanning.js +1 -0
  234. package/dist/node_modules/@earendil-works/pi-agent-core/package.json +3 -3
  235. package/dist/node_modules/@earendil-works/pi-ai/dist/api/cloudflare-gateway-binding.js +1 -0
  236. package/dist/node_modules/@earendil-works/pi-ai/dist/auth/oauth/oauth-page.js +74 -0
  237. package/dist/node_modules/@earendil-works/pi-ai/dist/cli.js +0 -0
  238. package/dist/node_modules/@earendil-works/pi-ai/dist/image-models.generated.js +1 -0
  239. package/dist/node_modules/@earendil-works/pi-ai/dist/images-models.js +1 -0
  240. package/dist/node_modules/@earendil-works/pi-ai/dist/providers/azure-openai-responses.js +1 -0
  241. package/dist/node_modules/@earendil-works/pi-ai/dist/providers/azure-openai-responses.models.js +1 -0
  242. package/dist/node_modules/@earendil-works/pi-ai/dist/providers/data/.manifest.json +1 -1
  243. package/dist/node_modules/@earendil-works/pi-ai/dist/providers/data/openrouter.json +1 -1
  244. package/dist/node_modules/@earendil-works/pi-ai/dist/providers/openrouter-images.js +1 -0
  245. package/dist/node_modules/@earendil-works/pi-ai/dist/utils/assistant-message-frame.js +1 -0
  246. package/dist/node_modules/@earendil-works/pi-ai/dist/utils/deferred-tools.js +1 -0
  247. package/dist/node_modules/@earendil-works/pi-ai/dist/utils/pi-user-agent.js +1 -0
  248. package/dist/node_modules/@earendil-works/pi-ai/dist/utils/typebox-helpers.js +1 -0
  249. package/dist/node_modules/@earendil-works/pi-ai/dist/utils/version.d.ts +1 -1
  250. package/dist/node_modules/@earendil-works/pi-ai/dist/utils/version.js +1 -1
  251. package/dist/node_modules/@earendil-works/pi-ai/package.json +3 -3
  252. package/dist/node_modules/@earendil-works/pi-codemode/package.json +1 -1
  253. package/dist/node_modules/@earendil-works/pi-coding-agent/package.json +1 -1
  254. package/dist/node_modules/@earendil-works/pi-mcp/package.json +1 -1
  255. package/dist/node_modules/@earendil-works/pi-schema/package.json +1 -1
  256. package/dist/node_modules/@earendil-works/pi-telemetry/package.json +1 -1
  257. package/dist/node_modules/@earendil-works/pi-tui/package.json +1 -1
  258. package/dist/server/create-harness.js +1 -0
  259. package/dist/utils/clipboard-native.js +1 -0
  260. package/examples/extensions/custom-provider-gitlab-duo/package.json +1 -1
  261. package/examples/extensions/gondolin/package-lock.json +2 -2
  262. package/examples/extensions/gondolin/package.json +1 -1
  263. package/examples/extensions/with-deps/package-lock.json +2 -2
  264. package/examples/extensions/with-deps/package.json +1 -1
  265. package/npm-shrinkwrap.json +2 -2
  266. package/package.json +1 -1
  267. package/dist/bundle/chunks/chunk-3YGHTGYM.js +0 -7
  268. package/dist/bundle/chunks/chunk-MKMLENQD.js +0 -17
  269. package/dist/bundle/chunks/chunk-SE42OS3U.js +0 -21
  270. package/dist/bundle/chunks/chunk-T3TEURLR.js +0 -30
  271. package/dist/bundle/chunks/chunk-XTN2LDU3.js +0 -9
  272. package/dist/bundle/chunks/runtime-G7F6UQLA.js +0 -1
  273. package/dist/bundle/chunks/sdk-CEIRR6KD.js +0 -1
  274. package/dist/bundle/chunks/usage-3ACOJWR3.js +0 -1
  275. package/dist/bundle/chunks/virtual-modules-P4JE2EA6.js +0 -1
  276. /package/dist/bundle/chunks/{chunk-SZZVJTVX.js → chunk-MZ7O6YLD.js} +0 -0
@@ -0,0 +1 @@
1
+ var t=Object.defineProperty;var e=(o,r)=>t(o,"name",{value:r,configurable:!0});import{openrouterImagesApi as p}from"../api/openrouter-images.lazy.js";import{envApiKeyAuth as n,lazyOAuth as u}from"../auth/helpers.js";import{loadOpenRouterOAuth as i}from"../auth/oauth/load.js";import{IMAGE_MODELS as m}from"../image-models.generated.js";import{createImagesProvider as a}from"../images-models.js";function f(){return a({id:"openrouter",name:"OpenRouter",auth:{apiKey:n("OpenRouter API key",["OPENROUTER_API_KEY"]),oauth:u({name:"OpenRouter OAuth",loginLabel:"Sign in with OpenRouter",load:i})},models:Object.values(m.openrouter),api:p()})}e(f,"openrouterImagesProvider");export{f as openrouterImagesProvider};
@@ -0,0 +1 @@
1
+ var k=Object.defineProperty;var s=(o,t)=>k(o,"name",{value:t,configurable:!0});import{parseStreamingJson as d}from"./json-parse.js";function x(o){return{type:"text",text:o.text,...o.textSignature===void 0?{}:{textSignature:o.textSignature}}}s(x,"cloneTextContent");function w(o){return{type:"thinking",thinking:o.thinking,...o.thinkingSignature===void 0?{}:{thinkingSignature:o.thinkingSignature},...o.redacted===void 0?{}:{redacted:o.redacted}}}s(w,"cloneThinkingContent");function m(o){return{type:"toolCall",id:o.id,name:o.name,arguments:structuredClone(o.arguments),...o.thoughtSignature===void 0?{}:{thoughtSignature:o.thoughtSignature},...o.namespace===void 0?{}:{namespace:o.namespace}}}s(m,"cloneToolCall");function y(o){return{role:"assistant",content:[],api:o.api,provider:o.provider,model:o.model,...o.responseModel===void 0?{}:{responseModel:o.responseModel},...o.responseId===void 0?{}:{responseId:o.responseId},...o.providerThinkingLevel===void 0?{}:{providerThinkingLevel:o.providerThinkingLevel},...o.diagnostics===void 0?{}:{diagnostics:structuredClone(o.diagnostics)},usage:structuredClone(o.usage),stopReason:"pending",timestamp:o.timestamp}}s(y,"cloneStartMessage");function h(o){if(!Number.isSafeInteger(o)||o<0)throw new Error(`Invalid assistant message frame contentIndex: ${o}`)}s(h,"assertContentIndex");function c(o){h(o.contentIndex);const t=o.partial.content[o.contentIndex];if(!t)throw new Error(`${o.type} event has no content block at index ${o.contentIndex}`);return t}s(c,"eventBlock");function u(o){const t=JSON.stringify(o);if(t===void 0)throw new Error("Tool-call arguments are not JSON-serializable");return t}s(u,"serializedArguments");const b=u(d(""));function f(o,t){if(typeof o=="string")return typeof t=="string"&&t.startsWith(o);if(Array.isArray(o))return Array.isArray(t)&&o.length<=t.length&&o.every((a,n)=>f(a,t[n]));if(typeof o!="object"||o===null)return Object.is(o,t);if(typeof t!="object"||t===null||Array.isArray(t))return!1;const e=t;return Object.entries(o).every(([a,n])=>Object.hasOwn(e,a)&&f(n,e[a]))}s(f,"isJsonPrefix");class E{static{s(this,"AssistantMessageFrameEncoder")}started=!1;terminal=!1;blocks=new Map;encode(t){if(this.terminal)throw new Error(`Assistant message event ${t.type} follows a terminal event`);switch(t.type){case"start":if(this.started)throw new Error("Assistant message stream contains more than one start event");return this.started=!0,{type:"start",partial:y(t.partial)};case"done":if(!this.started)throw new Error("Assistant message done event appears before start");this.terminal=!0;return;case"error":this.terminal=!0;return}if(!this.started)throw new Error(`Assistant message ${t.type} event appears before start`);switch(t.type){case"text_start":{const e=c(t);if(e.type!=="text")throw new Error(`text_start event points to ${e.type} block at index ${t.contentIndex}`);return this.startBlock(t.contentIndex,{kind:"text",coveredChars:e.text.length,deltaChars:0}),{type:"text_start",contentIndex:t.contentIndex,content:x(e)}}case"text_delta":return this.encodeTextDelta(t.contentIndex,t.delta,"text");case"text_end":{const e=c(t);if(e.type!=="text")throw new Error(`text_end event points to ${e.type} block at index ${t.contentIndex}`);return this.endBlock(t.contentIndex,"text"),{type:"text_end",contentIndex:t.contentIndex,content:t.content,...e.textSignature===void 0?{}:{textSignature:e.textSignature}}}case"thinking_start":{const e=c(t);if(e.type!=="thinking")throw new Error(`thinking_start event points to ${e.type} block at index ${t.contentIndex}`);return this.startBlock(t.contentIndex,{kind:"thinking",coveredChars:e.thinking.length,deltaChars:0}),{type:"thinking_start",contentIndex:t.contentIndex,content:w(e)}}case"thinking_delta":return this.encodeTextDelta(t.contentIndex,t.delta,"thinking");case"thinking_end":{const e=c(t);if(e.type!=="thinking")throw new Error(`thinking_end event points to ${e.type} block at index ${t.contentIndex}`);return this.endBlock(t.contentIndex,"thinking"),{type:"thinking_end",contentIndex:t.contentIndex,content:t.content,...e.thinkingSignature===void 0?{}:{thinkingSignature:e.thinkingSignature},...e.redacted===void 0?{}:{redacted:e.redacted}}}case"toolcall_start":{const e=c(t);if(e.type!=="toolCall")throw new Error(`toolcall_start event points to ${e.type} block at index ${t.contentIndex}`);const a=u(e.arguments),n=a===b;return this.startBlock(t.contentIndex,{kind:"toolCall",caughtUp:n,catchupJson:"",snapshotArguments:n?"":a}),{type:"toolcall_start",contentIndex:t.contentIndex,toolCall:m(e)}}case"toolcall_delta":{const e=this.block(t.contentIndex,"toolCall");if(e.kind!=="toolCall")throw new Error("Unreachable tool-call encoder state");if(e.caughtUp)return t.delta.length===0?void 0:{type:"toolcall_delta",contentIndex:t.contentIndex,delta:t.delta};e.catchupJson+=t.delta;const a=d(e.catchupJson);if(u(a)!==e.snapshotArguments){const r=d(e.snapshotArguments);if(!f(r,a))return}e.caughtUp=!0,e.snapshotArguments="";const n=e.catchupJson;return e.catchupJson="",n.length===0?void 0:{type:"toolcall_checkpoint",contentIndex:t.contentIndex,json:n}}case"toolcall_end":{const e=c(t);if(e.type!=="toolCall")throw new Error(`toolcall_end event points to ${e.type} block at index ${t.contentIndex}`);if(t.toolCall.type!=="toolCall")throw new Error(`toolcall_end event has invalid tool call at index ${t.contentIndex}`);return this.endBlock(t.contentIndex,"toolCall"),{type:"toolcall_end",contentIndex:t.contentIndex,id:t.toolCall.id,name:t.toolCall.name,arguments:structuredClone(t.toolCall.arguments),...t.toolCall.thoughtSignature===void 0?{}:{thoughtSignature:t.toolCall.thoughtSignature},...t.toolCall.namespace===void 0?{}:{namespace:t.toolCall.namespace}}}}}startBlock(t,e){if(h(t),this.blocks.has(t))throw new Error(`Assistant message block ${t} starts more than once`);this.blocks.set(t,e)}block(t,e){h(t);const a=this.blocks.get(t);if(a===void 0)throw new Error(`Assistant message ${e} block ${t} has not started`);if(a.kind!==e)throw new Error(`Assistant message block ${t} is ${a.kind}, not ${e}`);return a}endBlock(t,e){this.block(t,e),this.blocks.delete(t)}encodeTextDelta(t,e,a){const n=this.block(t,a);if(n.kind==="toolCall")throw new Error("Unreachable text encoder state");const r=n.deltaChars;n.deltaChars+=e.length;const i=Math.max(0,n.coveredChars-r);if(i>=e.length)return;const p=i===0?e:e.slice(i);return a==="text"?{type:"text_delta",contentIndex:t,delta:p}:{type:"thinking_delta",contentIndex:t,delta:p}}}function g(o,t,e,a,n){if(h(e),e!==o.content.length){const r=e<o.content.length?"already exists":"would leave a gap";throw new Error(`Cannot start assistant message block at index ${e}: ${r}`)}o.content.push(structuredClone(a)),t.set(e,n)}s(g,"appendBlock");function l(o,t,e,a,n){h(e);const r=t.get(e),i=o.content[e];if(!r||!i)throw new Error(`${n} frame has no started block at index ${e}`);if(r.kind!==a||i.type!==a)throw new Error(`${n} frame expected ${a} block at index ${e}, found ${i.type}`);if(r.ended)throw new Error(`${n} frame follows the end of block at index ${e}`);return{block:i,state:r}}s(l,"activeBlock");function S(o){let t,e;const a=new Map;for(const n of o){if(n.type==="start"){if(t)throw new Error("Assistant message frame sequence contains more than one start frame");if(e!==void 0)throw new Error(`${e} frame appears before the start frame`);t=structuredClone(n.partial);continue}if(!t){e??=n.type;continue}switch(n.type){case"text_start":if(n.content.type!=="text")throw new Error(`text_start frame contains ${n.content.type} content`);g(t,a,n.contentIndex,n.content,{kind:"text",ended:!1});break;case"text_delta":{const{block:r}=l(t,a,n.contentIndex,"text",n.type);if(r.type!=="text")throw new Error("Unreachable text frame state");r.text+=n.delta;break}case"text_end":{const{block:r,state:i}=l(t,a,n.contentIndex,"text",n.type);if(r.type!=="text")throw new Error("Unreachable text frame state");r.text=n.content,delete r.textSignature,n.textSignature!==void 0&&(r.textSignature=n.textSignature),i.ended=!0;break}case"thinking_start":if(n.content.type!=="thinking")throw new Error(`thinking_start frame contains ${n.content.type} content`);g(t,a,n.contentIndex,n.content,{kind:"thinking",ended:!1});break;case"thinking_delta":{const{block:r}=l(t,a,n.contentIndex,"thinking",n.type);if(r.type!=="thinking")throw new Error("Unreachable thinking frame state");r.thinking+=n.delta;break}case"thinking_end":{const{block:r,state:i}=l(t,a,n.contentIndex,"thinking",n.type);if(r.type!=="thinking")throw new Error("Unreachable thinking frame state");r.thinking=n.content,delete r.thinkingSignature,delete r.redacted,n.thinkingSignature!==void 0&&(r.thinkingSignature=n.thinkingSignature),n.redacted!==void 0&&(r.redacted=n.redacted),i.ended=!0;break}case"toolcall_start":if(n.toolCall.type!=="toolCall")throw new Error(`toolcall_start frame contains ${n.toolCall.type} content`);g(t,a,n.contentIndex,n.toolCall,{kind:"toolCall",ended:!1,json:""});break;case"toolcall_checkpoint":{const{block:r,state:i}=l(t,a,n.contentIndex,"toolCall",n.type);if(r.type!=="toolCall"||i.kind!=="toolCall")throw new Error("Unreachable tool-call checkpoint state");i.json=n.json,r.arguments=d(n.json);break}case"toolcall_delta":{const{block:r,state:i}=l(t,a,n.contentIndex,"toolCall",n.type);if(r.type!=="toolCall"||i.kind!=="toolCall")throw new Error("Unreachable tool-call frame state");i.json+=n.delta;break}case"toolcall_end":{const{block:r,state:i}=l(t,a,n.contentIndex,"toolCall",n.type);if(r.type!=="toolCall")throw new Error("Unreachable tool-call frame state");r.id=n.id,r.name=n.name,r.arguments=structuredClone(n.arguments),delete r.thoughtSignature,delete r.namespace,n.thoughtSignature!==void 0&&(r.thoughtSignature=n.thoughtSignature),n.namespace!==void 0&&(r.namespace=n.namespace),i.ended=!0;break}}}if(t){for(const[n,r]of a){if(r.kind!=="toolCall"||r.ended||r.json.length===0)continue;const i=t.content[n];if(i?.type!=="toolCall")throw new Error("Unreachable tool-call frame state");i.arguments=d(r.json)}return t}}s(S,"reduceAssistantMessageFrames");export{E as AssistantMessageFrameEncoder,S as reduceAssistantMessageFrames};
@@ -0,0 +1 @@
1
+ var m=Object.defineProperty;var f=(s,t)=>m(s,"name",{value:t,configurable:!0});const u=f(s=>s,"identityToolName");function w(s,t,n=u){const a=new Map;for(const e of s.tools??[])a.set(n(e.name),e);if(!t)return{immediate:[...a.values()],deferred:new Map};const d=new Set,r=new Set;for(const e of s.messages)if(e.role==="assistant")for(const o of e.content)o.type==="toolCall"&&r.add(n(o.name));else if(e.role==="toolResult")for(const o of e.addedToolNames??[]){const c=n(o);r.has(c)||d.add(c)}const l=[],i=new Map;for(const[e,o]of a)d.has(e)?i.set(e,o):l.push(o);return{immediate:l,deferred:i}}f(w,"splitDeferredTools");export{w as splitDeferredTools};
@@ -0,0 +1 @@
1
+ var s=Object.defineProperty;var n=(o,r)=>s(o,"name",{value:r,configurable:!0});function t(){return typeof process>"u"||!(process.versions?.node||process.versions?.bun)?null:process.getBuiltinModule?.("node:os")??null}n(t,"loadNodeOs");const e=t();function u(){return e?`dal (${e.platform()} ${e.release()}; ${e.arch()})`:"dal (browser)"}n(u,"getPiUserAgent");export{u as getPiUserAgent};
@@ -0,0 +1 @@
1
+ var n=Object.defineProperty;var t=(r,e)=>n(r,"name",{value:e,configurable:!0});import{Type as i}from"typebox";function f(r,e){return i.Unsafe({type:"string",enum:r,...e?.description&&{description:e.description},...e?.default&&{default:e.default}})}t(f,"StringEnum");export{f as StringEnum};
@@ -1 +1 @@
1
- export declare const PI_AI_VERSION = "1.0.56";
1
+ export declare const PI_AI_VERSION = "1.0.57";
@@ -1 +1 @@
1
- const I="1.0.56";export{I as PI_AI_VERSION};
1
+ const I="1.0.57";export{I as PI_AI_VERSION};
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@earendil-works/pi-ai",
3
- "version": "1.0.56",
3
+ "version": "1.0.57",
4
4
  "description": "Unified LLM API with automatic model discovery and provider configuration",
5
5
  "type": "module",
6
6
  "main": "./dist/index.js",
@@ -62,8 +62,8 @@
62
62
  "dependencies": {
63
63
  "@anthropic-ai/sdk": "0.129.0",
64
64
  "@aws-sdk/client-bedrock-runtime": "3.1127.0",
65
- "@earendil-works/pi-schema": "1.0.56",
66
- "@earendil-works/pi-telemetry": "1.0.56",
65
+ "@earendil-works/pi-schema": "1.0.57",
66
+ "@earendil-works/pi-telemetry": "1.0.57",
67
67
  "@google/genai": "2.21.0",
68
68
  "@smithy/node-http-handler": "4.12.1",
69
69
  "http-proxy-agent": "9.1.0",
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@earendil-works/pi-codemode",
3
- "version": "1.0.56",
3
+ "version": "1.0.57",
4
4
  "description": "Sandboxed JavaScript execution where the only capability is calling injected tools",
5
5
  "type": "module",
6
6
  "main": "./dist/index.js",
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@earendil-works/pi-coding-agent",
3
- "version": "1.0.56",
3
+ "version": "1.0.57",
4
4
  "private": true,
5
5
  "description": "Self-reference to the package's own dist/index.js for the bundled extensions.",
6
6
  "license": "MIT",
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@earendil-works/pi-mcp",
3
- "version": "1.0.56",
3
+ "version": "1.0.57",
4
4
  "description": "Standalone Model Context Protocol client for pi and other applications",
5
5
  "type": "module",
6
6
  "main": "./dist/index.js",
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@earendil-works/pi-schema",
3
- "version": "1.0.56",
3
+ "version": "1.0.57",
4
4
  "description": "JSON Schema validation without eval: drafts 2020-12 and 7, compiled into plain closures",
5
5
  "type": "module",
6
6
  "main": "./dist/index.js",
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@earendil-works/pi-telemetry",
3
- "version": "1.0.56",
3
+ "version": "1.0.57",
4
4
  "description": "Vendor-neutral telemetry contracts and typed schema utilities for pi",
5
5
  "type": "module",
6
6
  "main": "./dist/index.js",
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@earendil-works/pi-tui",
3
- "version": "1.0.56",
3
+ "version": "1.0.57",
4
4
  "description": "Terminal User Interface library with differential rendering for efficient text-based applications",
5
5
  "type": "module",
6
6
  "main": "dist/index.js",
@@ -0,0 +1 @@
1
+ var h=Object.defineProperty;var s=(e,o)=>h(e,"name",{value:o,configurable:!0});import{AgentHarness as H,createBashTool as O,createEditTool as A,createReadTool as _,createWriteTool as G}from"@earendil-works/pi-agent-core";import{getExperimentalToolSampling as L}from"../core/experimental.js";import{buildSystemPrompt as M}from"../core/system-prompt.js";import{bashToolSystemPromptContribution as P}from"../core/tools/bash.js";import{editToolSystemPromptContribution as v}from"../core/tools/edit.js";import{readToolSystemPromptContribution as y}from"../core/tools/read.js";import{writeToolSystemPromptContribution as E}from"../core/tools/write.js";function d(e,o,p){return{...e,...p,constrainedSampling:L(),execute:s((m,t,n,l)=>e.execute(m,t,n,l,o),"execute")}}s(d,"createCodingAgentHarnessTool");function x(e){const o=e.activeToolNames.flatMap(t=>{const n=e.tools.find(l=>l.name===t);return n?[n]:[]}),p=Object.fromEntries(o.flatMap(t=>{const n=t.promptSnippet?.replace(/[\r\n]+/g," ").replace(/\s+/g," ").trim();return n?[[t.name,n]]:[]})),m=o.flatMap(t=>t.promptGuidelines??[]);return M({...e.systemPromptOptions,cwd:e.cwd,selectedTools:o.map(t=>t.name),toolSnippets:p,promptGuidelines:m})}s(x,"buildCodingAgentHarnessSystemPrompt");async function W(e){const{env:o,bashCommandPrefix:p,sessionFile:m,systemPromptOptions:t,tools:n,activeToolNames:l,systemPrompt:b,...w}=e;let u;const g=s(()=>{if(!u)throw new Error("Coding-agent Harness callback ran before Harness initialization");return u},"getHarness");let c=n;if(c===void 0){const i=await e.session.getMetadata(),a={env:o};c=[d(_(),a,{promptSnippet:y.snippet,promptGuidelines:y.guidelines}),d(O({commandPrefix:p,prepare:s(async r=>{const T=g(),[f,N]=await Promise.all([T.getModel(),T.getThinkingLevel()]);r.env.PI_SESSION_ID=i.id,r.env.PI_SESSION_FILE=m??"",r.env.PI_PROVIDER=f.provider,r.env.PI_MODEL=f.id,r.env.PI_REASONING_LEVEL=N},"prepare")}),a,{promptSnippet:P.snippet,promptGuidelines:P.guidelines}),d(A(),a,{promptSnippet:v.snippet,promptGuidelines:v.guidelines}),d(G(),a,{promptSnippet:E.snippet,promptGuidelines:E.guidelines})]}const I=[...l??c.map(i=>i.name)],C=b??(async()=>{const i=g(),[a,r]=await Promise.all([i.getTools(),i.getActiveTools()]);return x({cwd:o.cwd,tools:a,activeToolNames:r,systemPromptOptions:t})}),S=await H.create({...w,tools:c,activeToolNames:I,systemPrompt:C});return u=S.harness,S}s(W,"createCodingAgentHarness");export{x as buildCodingAgentHarnessSystemPrompt,W as createCodingAgentHarness};
@@ -0,0 +1 @@
1
+ var i=Object.defineProperty;var o=(e,r)=>i(e,"name",{value:r,configurable:!0});import{createRequire as t}from"module";import{dirname as a,join as c}from"path";import{pathToFileURL as n}from"url";const p=t(import.meta.url),s=t(n(c(a(process.execPath),"package.json")).href),l=process.platform!=="linux"||!!(process.env.DISPLAY||process.env.WAYLAND_DISPLAY);function u(e=[p,s]){for(const r of e)try{return r("@mariozechner/clipboard")}catch{}return null}o(u,"loadClipboardNative");const m=!process.env.TERMUX_VERSION&&l?u():null;export{m as clipboard,u as loadClipboardNative};
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "pi-extension-custom-provider-gitlab-duo",
3
3
  "private": true,
4
- "version": "1.0.56",
4
+ "version": "1.0.57",
5
5
  "type": "module",
6
6
  "scripts": {
7
7
  "clean": "echo 'nothing to clean'",
@@ -1,12 +1,12 @@
1
1
  {
2
2
  "name": "pi-extension-gondolin",
3
- "version": "1.0.56",
3
+ "version": "1.0.57",
4
4
  "lockfileVersion": 3,
5
5
  "requires": true,
6
6
  "packages": {
7
7
  "": {
8
8
  "name": "pi-extension-gondolin",
9
- "version": "1.0.56",
9
+ "version": "1.0.57",
10
10
  "dependencies": {
11
11
  "@earendil-works/gondolin": "0.14.0"
12
12
  }
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "pi-extension-gondolin",
3
3
  "private": true,
4
- "version": "1.0.56",
4
+ "version": "1.0.57",
5
5
  "type": "module",
6
6
  "scripts": {
7
7
  "clean": "echo 'nothing to clean'",
@@ -1,12 +1,12 @@
1
1
  {
2
2
  "name": "pi-extension-with-deps",
3
- "version": "1.0.56",
3
+ "version": "1.0.57",
4
4
  "lockfileVersion": 3,
5
5
  "requires": true,
6
6
  "packages": {
7
7
  "": {
8
8
  "name": "pi-extension-with-deps",
9
- "version": "1.0.56",
9
+ "version": "1.0.57",
10
10
  "dependencies": {
11
11
  "ms": "^2.1.3"
12
12
  },
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "pi-extension-with-deps",
3
3
  "private": true,
4
- "version": "1.0.56",
4
+ "version": "1.0.57",
5
5
  "type": "module",
6
6
  "scripts": {
7
7
  "clean": "echo 'nothing to clean'",
@@ -1,12 +1,12 @@
1
1
  {
2
2
  "name": "dal-code",
3
- "version": "1.0.56",
3
+ "version": "1.0.57",
4
4
  "lockfileVersion": 3,
5
5
  "requires": true,
6
6
  "packages": {
7
7
  "": {
8
8
  "name": "dal-code",
9
- "version": "1.0.56",
9
+ "version": "1.0.57",
10
10
  "license": "MIT",
11
11
  "dependencies": {
12
12
  "@agentclientprotocol/sdk": "1.3.0",
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "dal-code",
3
- "version": "1.0.56",
3
+ "version": "1.0.57",
4
4
  "description": "DAL Code terminal",
5
5
  "type": "module",
6
6
  "piConfig": {