@nervekit/desktop 0.40.2 → 0.41.1

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 (234) hide show
  1. package/README.md +5 -2
  2. package/THIRD-PARTY-LICENSES.txt +964 -4
  3. package/dist/bin.js +1 -0
  4. package/dist/{chunk-YJT4NXMV.js → chunk-2ICPO4UM.js} +5 -5
  5. package/dist/{chunk-EX63VKXY.js → chunk-3CZXUKLG.js} +1 -1
  6. package/dist/{chunk-KTGSBL6T.js → chunk-4OCDR4DU.js} +11 -11
  7. package/dist/{chunk-BNVMNV4O.js → chunk-62DQXVPO.js} +2 -2
  8. package/dist/{chunk-K2J2VZXO.js → chunk-6GUJQURI.js} +2 -2
  9. package/dist/{chunk-VBM7TD3X.js → chunk-6IHXVT5H.js} +1 -1
  10. package/dist/{chunk-KBNEZR7T.js → chunk-6ZS7TA6E.js} +2 -2
  11. package/dist/{chunk-O6U226AI.js → chunk-7FSH3ABG.js} +4 -4
  12. package/dist/{chunk-RPLBWENJ.js → chunk-7HGFEQSD.js} +5 -5
  13. package/dist/{chunk-XZYFB566.js → chunk-7RPHIJT3.js} +4 -4
  14. package/dist/{chunk-WRTA5G57.js → chunk-APY4TUR3.js} +188 -1
  15. package/dist/{chunk-YUO5V75X.js → chunk-BACYVEE6.js} +2 -2
  16. package/dist/{chunk-H2G55ZPG.js → chunk-BG2KGLIA.js} +2 -2
  17. package/dist/{chunk-7JQBECUL.js → chunk-BN5YDZUZ.js} +1205 -326
  18. package/dist/chunk-BUD4JHBZ.js +7017 -0
  19. package/dist/{chunk-TSV3PFU2.js → chunk-DDBE2VLT.js} +2 -2
  20. package/dist/{chunk-WJULIJOU.js → chunk-EF7ZZKA3.js} +3 -3
  21. package/dist/{chunk-HOCODVKL.js → chunk-EUT45AKW.js} +16 -16
  22. package/dist/{chunk-C6RO4LP3.js → chunk-FCAIYPDJ.js} +2 -2
  23. package/dist/{chunk-6FSDDGFZ.js → chunk-FZ557YWE.js} +47478 -52993
  24. package/dist/{chunk-VC6TX2Y2.js → chunk-HPINJGBO.js} +5 -5
  25. package/dist/{chunk-ANI6J75M.js → chunk-IRRR3PWN.js} +7 -7
  26. package/dist/{chunk-S62LLS4I.js → chunk-IVBMHEPK.js} +12 -12
  27. package/dist/{chunk-SU2USXTD.js → chunk-JBEWFFOK.js} +1 -1
  28. package/dist/{chunk-3VZR3ZUY.js → chunk-KEXKZKN4.js} +6 -6
  29. package/dist/{chunk-ODS5QROC.js → chunk-KUFIFCB4.js} +1 -1
  30. package/dist/{chunk-L2DHKP5C.js → chunk-L5WGVYXM.js} +2 -2
  31. package/dist/{chunk-WIN7KHMV.js → chunk-LGIIT2NF.js} +12 -12
  32. package/dist/{chunk-2BKMOJYJ.js → chunk-LP4APBBQ.js} +1 -1
  33. package/dist/{chunk-6PACEIUY.js → chunk-MI6L5CEA.js} +2 -2
  34. package/dist/{chunk-HDBDYGJQ.js → chunk-N4OXAS3A.js} +1 -1
  35. package/dist/{chunk-KSSM6LUI.js → chunk-N6BUYKF3.js} +5 -5
  36. package/dist/{chunk-MWIKZIAI.js → chunk-NVVW3MWJ.js} +9 -9
  37. package/dist/{chunk-VTDI5KP7.js → chunk-O5JHHRFN.js} +19 -19
  38. package/dist/{chunk-F3MHINI6.js → chunk-O6FDXE54.js} +16 -16
  39. package/dist/{chunk-E4JNHQGT.js → chunk-OMCM3MHS.js} +7 -7
  40. package/dist/{chunk-PST63OUS.js → chunk-OO2KD2L2.js} +18295 -4318
  41. package/dist/{chunk-7FLZA2BD.js → chunk-P72Y5ZBH.js} +7 -7
  42. package/dist/{chunk-O2652RWY.js → chunk-PVPJAGWR.js} +2 -2
  43. package/dist/{chunk-UDC7NPQJ.js → chunk-Q3C7TQ2M.js} +3 -3
  44. package/dist/{chunk-B4IE2GAM.js → chunk-Q5E4ZL2R.js} +1 -1
  45. package/dist/{chunk-5NN7JAJ2.js → chunk-QFK2SWD2.js} +7 -7
  46. package/dist/{chunk-SHEU5KLD.js → chunk-RJR7DJJK.js} +3 -3
  47. package/dist/{chunk-4H3WR7IT.js → chunk-RL52LSTV.js} +1 -1
  48. package/dist/{chunk-FGZX4Q7W.js → chunk-RTB6CF7F.js} +15 -15
  49. package/dist/{chunk-QBAIDKF6.js → chunk-TQURLRHD.js} +1 -1
  50. package/dist/{chunk-3SSNDIQT.js → chunk-TSAUBRRU.js} +1 -1
  51. package/dist/{chunk-ER2ES2RH.js → chunk-U3TEC52G.js} +1 -1
  52. package/dist/{chunk-XY53EFK3.js → chunk-U5KGV63C.js} +1 -1
  53. package/dist/{chunk-WYPVD3HW.js → chunk-UVRULOOP.js} +10 -10
  54. package/dist/{chunk-4VPX67B7.js → chunk-VOATSLRG.js} +3 -1
  55. package/dist/{chunk-TGKIV3F4.js → chunk-W7LEYYFH.js} +18 -18
  56. package/dist/{chunk-T6NRMNLQ.js → chunk-WC5HHPPM.js} +1 -1
  57. package/dist/{chunk-YQFENES6.js → chunk-WG62RHZ2.js} +3 -3
  58. package/dist/{chunk-XE2E2KBP.js → chunk-WIQEPAUG.js} +10 -10
  59. package/dist/{chunk-DTGL5P2V.js → chunk-XM27UVWN.js} +3 -3
  60. package/dist/{chunk-3JJN36GV.js → chunk-XTUSLUQ7.js} +16 -16
  61. package/dist/{chunk-OAEV22IW.js → chunk-Z6AY5VOZ.js} +6 -6
  62. package/dist/{chunk-FZ5N6WXF.js → chunk-ZGWXLG5X.js} +18 -18
  63. package/dist/{chunk-6TAN6WG6.js → chunk-ZUWBEV2O.js} +1 -1
  64. package/dist/{chunk-OANTMDXI.js → chunk-ZVH6EB7S.js} +1 -1
  65. package/dist/daemon.js +65 -31
  66. package/dist/extension-assets/atlassian/docs/confluence-raw.md +31 -0
  67. package/dist/extension-assets/atlassian/docs/confluence-writing.md +101 -0
  68. package/dist/extension-assets/atlassian/docs/jira-raw.md +16 -0
  69. package/dist/extension-assets/atlassian/docs/jira-workflows.md +77 -0
  70. package/dist/extension-assets/atlassian/docs/project-knowledge.md +25 -0
  71. package/dist/extension-assets/atlassian/docs/storage.md +58 -0
  72. package/dist/extension-assets/atlassian/icon.svg +20 -0
  73. package/dist/extension-assets/diagram/docs/diagrams.md +12 -0
  74. package/dist/extension-assets/imagegen/docs/imagegen.md +17 -0
  75. package/dist/extension-assets/web-search/icon.svg +1 -0
  76. package/dist/git-isolated-reader-helper.js +1 -1
  77. package/dist/html-to-markdown.worker.js +6 -7028
  78. package/dist/main.js +583 -169
  79. package/dist/preload.cjs +45 -2
  80. package/dist/quick-script-docs/runtime/documents.md +54 -0
  81. package/dist/quick-script-docs/runtime/files.md +11 -0
  82. package/dist/quick-script-docs/runtime/images.md +10 -0
  83. package/dist/sandbox-libraries/docx.LICENSE +21 -0
  84. package/dist/sandbox-libraries/docx.min.js +9 -0
  85. package/dist/sandbox-libraries/jszip.LICENSE +651 -0
  86. package/dist/sandbox-libraries/jszip.min.js +13 -0
  87. package/dist/sandbox-libraries/mammoth.LICENSE +22 -0
  88. package/dist/sandbox-libraries/mammoth.browser.min.js +13 -0
  89. package/dist/sandbox-libraries/papaparse.LICENSE +20 -0
  90. package/dist/sandbox-libraries/papaparse.min.js +7 -0
  91. package/dist/sandbox-libraries/pptxgen.bundle.js +96 -0
  92. package/dist/sandbox-libraries/pptxgenjs.LICENSE +21 -0
  93. package/dist/sandbox-libraries/xlsx.LICENSE +201 -0
  94. package/dist/sandbox-libraries/xlsx.full.min.js +24 -0
  95. package/dist/web/assets/{AsyncBashCenterHost-BvXKoCVr.js → AsyncBashCenterHost-D2Sy43Ub.js} +1 -1
  96. package/dist/web/assets/ConversationListItem-DvxCcAYm.js +3 -0
  97. package/dist/web/assets/ConversationsWorkbenchPanel-YeNq9LRn.js +1 -0
  98. package/dist/web/assets/DiscoverCenterHost-B6K-QnBF.js +1 -0
  99. package/dist/web/assets/{FileCenterHost-C_7XZAFZ.js → FileCenterHost-Dlk53K5G.js} +1 -1
  100. package/dist/web/assets/FilesWorkbenchPanel-PeCu12oU.js +12 -0
  101. package/dist/web/assets/{GitDiffCenterHost-Cr7lqGI_.js → GitDiffCenterHost-3_Ea0RyG.js} +1 -1
  102. package/dist/web/assets/{GitWorkbenchPanel-BFbwUgIN.js → GitWorkbenchPanel-CYvCkOAW.js} +1 -1
  103. package/dist/web/assets/{LaunchCenterHost-CIu7bcoZ.js → LaunchCenterHost-CP773N_3.js} +1 -1
  104. package/dist/web/assets/LaunchConfigurationNotice-CtmZ1uIQ.js +1 -0
  105. package/dist/web/assets/{LaunchesWorkbenchPanel-BqzJvsrj.js → LaunchesWorkbenchPanel-DP3yVfkO.js} +1 -1
  106. package/dist/web/assets/LogsCenterHost-BFP0doQf.js +1 -0
  107. package/dist/web/assets/{MermaidCenterHost-DVsZB8nB.js → MermaidCenterHost-Bjl6Dvrq.js} +1 -1
  108. package/dist/web/assets/MobileFilesBody-CDp21MGZ.js +1 -0
  109. package/dist/web/assets/{MobileFilesHost-D843vkDF.js → MobileFilesHost-DlJI_yau.js} +1 -1
  110. package/dist/web/assets/MobileLaunchOutputHost-y3TehLWF.js +1 -0
  111. package/dist/web/assets/MobileLaunchesHost-CBNtDTrs.js +2 -0
  112. package/dist/web/assets/MobileLogsHost-BSb2lydK.js +1 -0
  113. package/dist/web/assets/MobileNoteEditorHost-7yW7hIC2.js +1 -0
  114. package/dist/web/assets/{MobileNotesHost-meLV39Yw.js → MobileNotesHost-CvDHzpAh.js} +1 -1
  115. package/dist/web/assets/{MobileProjectSettingsHost-A49Fdn54.js → MobileProjectSettingsHost-CjtPfyKT.js} +1 -1
  116. package/dist/web/assets/{MobileProjectSettingsPageHost-BXpUqS_N.js → MobileProjectSettingsPageHost-j_7N-B9L.js} +1 -1
  117. package/dist/web/assets/{MobileSettingsHost-DPKPajzI.js → MobileSettingsHost-DXIKNF01.js} +1 -1
  118. package/dist/web/assets/{MobileSettingsPageHost-izNWGN0i.js → MobileSettingsPageHost-CEzo7J9p.js} +1 -1
  119. package/dist/web/assets/MobileSettingsPageScreen-99wMLRsn.js +1 -0
  120. package/dist/web/assets/NotesWorkbenchPanel-DqTwXBBv.js +1 -0
  121. package/dist/web/assets/ProjectSettingsCenterHost-D96cL0uH.js +1 -0
  122. package/dist/web/assets/{PullRequestCenterHost-BYkWxXQe.js → PullRequestCenterHost-DY0yPDK2.js} +1 -1
  123. package/dist/web/assets/PullRequestsWorkbenchPanel-D07LE8vJ.js +1 -0
  124. package/dist/web/assets/{SearchWorkbenchPanel-DaC0smfe.js → SearchWorkbenchPanel-D2_3iXo8.js} +1 -1
  125. package/dist/web/assets/SettingsCenter-BQWc24di.js +1 -0
  126. package/dist/web/assets/SettingsCenterHost-BvgNfeZN.js +1 -0
  127. package/dist/web/assets/{SystemPromptCenterHost-B1hfsfAn.js → SystemPromptCenterHost-BLHkB7lp.js} +1 -1
  128. package/dist/web/assets/activity-notices-C9aphS1s.js +1 -0
  129. package/dist/web/assets/adapters-DNU88KT0.js +1 -0
  130. package/dist/web/assets/agent-profiles.svelte-DgI8wSS2.js +1 -0
  131. package/dist/web/assets/api-CHNbLvvY.js +1 -0
  132. package/dist/web/assets/center-tabs.svelte-CyhCD_6b.js +1 -0
  133. package/dist/web/assets/channel-6wGoOwGx.js +57 -0
  134. package/dist/web/assets/circle-question-mark-C7NgqbLL.js +1 -0
  135. package/dist/web/assets/code-DJR0pnqV.js +7 -0
  136. package/dist/web/assets/{confirm-dialog-Bw_IxcZD.js → confirm-dialog-BDjzMiC4.js} +1 -1
  137. package/dist/web/assets/{conversation-connection-3GxIuhbS.js → conversation-connection-mLNyfV2d.js} +1 -1
  138. package/dist/web/assets/dialog-CkRcLEJT.js +1 -0
  139. package/dist/web/assets/discover-Dh4m7djO.js +4 -0
  140. package/dist/web/assets/dist-DSApqEag.js +1 -0
  141. package/dist/web/assets/file-tabs.svelte-cX3MMyG6.js +2 -0
  142. package/dist/web/assets/filesystem-BbIXrkGB.js +1 -0
  143. package/dist/web/assets/{git-store.svelte-CM5k7yRU.js → git-store.svelte-D3uwRVnj.js} +1 -1
  144. package/dist/web/assets/{git.api-D2CfUXZW.js → git.api-CTu-tG8A.js} +1 -1
  145. package/dist/web/assets/index-BrxjAwg0.js +46 -0
  146. package/dist/web/assets/index-yEOHI1Z7.css +1 -0
  147. package/dist/web/assets/launches-CC4gLnSa.js +5 -0
  148. package/dist/web/assets/{launches.api-BZxyWF8t.js → launches.api-CaotSs6l.js} +1 -1
  149. package/dist/web/assets/launches.svelte-DDA5J-RZ.js +2 -0
  150. package/dist/web/assets/{message-square-CqLxHJuW.js → list-checks-zV9Dp7Cu.js} +1 -1
  151. package/dist/web/assets/{logs.api-Coi8HJuy.js → logs.api-DMmVlkSz.js} +1 -1
  152. package/dist/web/assets/{maintenance-state.svelte-CDO9i4dk.js → maintenance-state.svelte-l9v7Hg3i.js} +2 -2
  153. package/dist/web/assets/notify.svelte-BTEXJZ8P.js +1 -0
  154. package/dist/web/assets/popover-panel-C-weKOk3.js +5 -0
  155. package/dist/web/assets/pr-view-loader.svelte-C0NClMS6.js +1 -0
  156. package/dist/web/assets/progress-CKEsTSOk.js +1 -0
  157. package/dist/web/assets/scratch-notes-state.svelte-B_rY_-9q.js +1 -0
  158. package/dist/web/assets/{scratch-notes.api-Cbvag3bv.js → scratch-notes.api-B2gOOK6Z.js} +1 -1
  159. package/dist/web/assets/search-input-CEr0SmAB.js +1 -0
  160. package/dist/web/assets/settings-2-CWd8Y06n.js +1 -0
  161. package/dist/web/assets/settings-CRmC19nG.js +1 -0
  162. package/dist/web/assets/settings-CXoAzSmm.js +1 -0
  163. package/dist/web/assets/settings-actions.svelte-BB6u_lQ0.js +1 -0
  164. package/dist/web/assets/settings-page-controllers.svelte-al78EDTL.js +29 -0
  165. package/dist/web/assets/sheet-content-DauQ7hPL.js +1 -0
  166. package/dist/web/assets/shell-CYbWnH52.js +4 -0
  167. package/dist/web/assets/shell-layout.svelte-CmEWk428.js +2 -0
  168. package/dist/web/assets/textarea-BEZ65po_.js +1 -0
  169. package/dist/web/assets/views-BumCSQ3W.js +2 -0
  170. package/dist/web/assets/{workbench-connection-gGGv4o8i.js → workbench-connection-CGHdORw3.js} +1 -1
  171. package/dist/web/assets/{workspace-Cc47dGjw.js → workspace-CW738NJG.js} +1 -1
  172. package/dist/web/assets/{workspace-actions.svelte-B3oum_9S.js → workspace-actions.svelte-DL9xv7lJ.js} +1 -1
  173. package/dist/web/assets/workspace-selectors.svelte-BRJvPEBh.js +105 -0
  174. package/dist/web/index.html +142 -83
  175. package/dist/web/sw.js +1 -1
  176. package/dist/worker.js +14 -14
  177. package/package.json +7 -7
  178. package/dist/guides/confluence/SKILL.md +0 -36
  179. package/dist/guides/jira/SKILL.md +0 -34
  180. package/dist/web/assets/ConversationListItem-Caz2KiJH.js +0 -3
  181. package/dist/web/assets/ConversationsWorkbenchPanel-CIfK_e3I.js +0 -1
  182. package/dist/web/assets/DiscoverCenterHost-Ep8EN9iJ.js +0 -1
  183. package/dist/web/assets/FilesWorkbenchPanel-CtXo7ywG.js +0 -12
  184. package/dist/web/assets/LaunchConfigurationNotice-CJjWkMhv.js +0 -1
  185. package/dist/web/assets/LogsCenterHost-BI1fSxFW.js +0 -1
  186. package/dist/web/assets/MobileFilesBody-BJMoaP9I.js +0 -1
  187. package/dist/web/assets/MobileLaunchOutputHost-vpltMcar.js +0 -1
  188. package/dist/web/assets/MobileLaunchesHost-CdDrKASg.js +0 -2
  189. package/dist/web/assets/MobileLogsHost-qK7N-C1y.js +0 -1
  190. package/dist/web/assets/MobileNoteEditorHost-Bg1N8o54.js +0 -1
  191. package/dist/web/assets/MobileSettingsPageScreen-DWMg4fDo.js +0 -1
  192. package/dist/web/assets/NotesWorkbenchPanel-Bf6rySTL.js +0 -1
  193. package/dist/web/assets/ProjectSettingsCenterHost-DHeb274m.js +0 -1
  194. package/dist/web/assets/PullRequestsWorkbenchPanel-ZvGbi1Cr.js +0 -1
  195. package/dist/web/assets/SettingsCenter-C_NLBsi6.js +0 -1
  196. package/dist/web/assets/SettingsCenterHost-jP8MULEj.js +0 -1
  197. package/dist/web/assets/adapters-DxJoo6Za.js +0 -1
  198. package/dist/web/assets/agent-profiles.svelte-D5YHPc90.js +0 -1
  199. package/dist/web/assets/api-eaGLre0q.js +0 -1
  200. package/dist/web/assets/center-tabs.svelte-JJGozG_H.js +0 -1
  201. package/dist/web/assets/channel-B503YLZR.js +0 -57
  202. package/dist/web/assets/chevron-left-DPEFG6UJ.js +0 -1
  203. package/dist/web/assets/circle-alert-Cp2l2jcj.js +0 -5
  204. package/dist/web/assets/clock-Db6f9HtS.js +0 -1
  205. package/dist/web/assets/code-BRQC0Tpn.js +0 -7
  206. package/dist/web/assets/dialog-DU4gXD1J.js +0 -1
  207. package/dist/web/assets/discover-B-aZ504j.js +0 -4
  208. package/dist/web/assets/dist-B_NFPhKV.js +0 -1
  209. package/dist/web/assets/file-tabs.svelte-DKtVVVCq.js +0 -2
  210. package/dist/web/assets/filesystem-ReGivxAC.js +0 -1
  211. package/dist/web/assets/index-DIQuyMVT.css +0 -1
  212. package/dist/web/assets/index-TZ1KAAsX.js +0 -48
  213. package/dist/web/assets/launches-DiAl56ED.js +0 -5
  214. package/dist/web/assets/launches.svelte-BVs1pAhl.js +0 -2
  215. package/dist/web/assets/notebook-pen-lVsLYSe4.js +0 -1
  216. package/dist/web/assets/notify.svelte-BKVBraTJ.js +0 -1
  217. package/dist/web/assets/pencil-BrlypebI.js +0 -1
  218. package/dist/web/assets/pr-view-loader.svelte-DcIwqDJV.js +0 -1
  219. package/dist/web/assets/progress-DBCSpVPn.js +0 -1
  220. package/dist/web/assets/scratch-notes-state.svelte-Br_WiMEp.js +0 -1
  221. package/dist/web/assets/search-input-zU4WCZiz.js +0 -1
  222. package/dist/web/assets/settings-2-8MSBUGAl.js +0 -1
  223. package/dist/web/assets/settings-9LBrw4Nv.js +0 -1
  224. package/dist/web/assets/settings-B7uXsflY.js +0 -1
  225. package/dist/web/assets/settings-actions.svelte-B8psX3cj.js +0 -1
  226. package/dist/web/assets/settings-page-controllers.svelte-D_ydJF8u.js +0 -30
  227. package/dist/web/assets/shell-DB5Db5-E.js +0 -4
  228. package/dist/web/assets/shell-layout.svelte-OoLFwzzJ.js +0 -2
  229. package/dist/web/assets/textarea-CeoFJ0-t.js +0 -1
  230. package/dist/web/assets/views-ByPCKDiZ.js +0 -2
  231. package/dist/web/assets/workspace-selectors.svelte-DLUlSgEE.js +0 -131
  232. /package/dist/{html-to-markdown.worker.js.LEGAL.txt → chunk-BUD4JHBZ.js.LEGAL.txt} +0 -0
  233. /package/dist/{chunk-3VZR3ZUY.js.LEGAL.txt → chunk-KEXKZKN4.js.LEGAL.txt} +0 -0
  234. /package/dist/{chunk-PST63OUS.js.LEGAL.txt → chunk-OO2KD2L2.js.LEGAL.txt} +0 -0
package/dist/bin.js CHANGED
@@ -49,6 +49,7 @@ if (forwardedArgs.includes("--help") || forwardedArgs.includes("-h")) {
49
49
  "Environment:",
50
50
  " NERVE_ELECTRON_OZONE_PLATFORM=x11|wayland|auto (Linux only)",
51
51
  " NERVE_ELECTRON_FONT_RENDER_HINTING=system|none|slight|medium|full (Linux only; default: slight)",
52
+ " NERVE_ELECTRON_REMOTE_DEBUGGING_PORT=<port> Expose Chrome DevTools Protocol on 127.0.0.1",
52
53
  " ELECTRON_GET_USE_PROXY=true with HTTPS_PROXY/HTTP_PROXY/NO_PROXY (corporate proxy downloads)",
53
54
  " NODE_USE_ENV_PROXY=1 and NODE_USE_SYSTEM_CA=1 are enabled automatically when needed",
54
55
  " NODE_EXTRA_CA_CERTS=/path/to/corporate-ca.pem (explicit TLS interception CA bundle)",
@@ -2,19 +2,19 @@ import { createRequire as __nerveCreateRequire } from "node:module";
2
2
  const require = __nerveCreateRequire(import.meta.url);
3
3
  import {
4
4
  retryProviderRequest
5
- } from "./chunk-EX63VKXY.js";
5
+ } from "./chunk-3CZXUKLG.js";
6
6
  import {
7
7
  headersToRecord,
8
8
  providerHeadersToRecord
9
- } from "./chunk-VBM7TD3X.js";
9
+ } from "./chunk-6IHXVT5H.js";
10
10
  import {
11
11
  calculateCost
12
- } from "./chunk-TGKIV3F4.js";
12
+ } from "./chunk-W7LEYYFH.js";
13
13
  import {
14
14
  getIdentityHeaders
15
- } from "./chunk-UDC7NPQJ.js";
15
+ } from "./chunk-Q3C7TQ2M.js";
16
16
 
17
- // node_modules/.pnpm/@earendil-works+pi-ai@1.5.1_@aws-sdk+credential-provider-node@3.972.83_@smithy+signatur_e7d72008f907c45a36788e380ed24019/node_modules/@earendil-works/pi-ai/dist/api/classifier-shared.js
17
+ // node_modules/.pnpm/@earendil-works+pi-ai@1.5.2_@aws-sdk+credential-provider-node@3.972.83_@smithy+signatur_b842a8cec34a633ed5f728049ae89b72/node_modules/@earendil-works/pi-ai/dist/api/classifier-shared.js
18
18
  function httpError(label, response, body) {
19
19
  const error = new Error(`${label} returned ${response.status}`);
20
20
  error.status = response.status;
@@ -1,7 +1,7 @@
1
1
  import { createRequire as __nerveCreateRequire } from "node:module";
2
2
  const require = __nerveCreateRequire(import.meta.url);
3
3
 
4
- // node_modules/.pnpm/@earendil-works+pi-ai@1.5.1_@aws-sdk+credential-provider-node@3.972.83_@smithy+signatur_e7d72008f907c45a36788e380ed24019/node_modules/@earendil-works/pi-ai/dist/utils/provider-retry.js
4
+ // node_modules/.pnpm/@earendil-works+pi-ai@1.5.2_@aws-sdk+credential-provider-node@3.972.83_@smithy+signatur_b842a8cec34a633ed5f728049ae89b72/node_modules/@earendil-works/pi-ai/dist/utils/provider-retry.js
5
5
  var DEFAULT_MAX_RETRY_DELAY_MS = 6e4;
6
6
  function isProviderError(error) {
7
7
  if (!(error instanceof Error) || !("status" in error) || !("headers" in error))
@@ -15,41 +15,41 @@ import {
15
15
  toGoogleSdkThinkingLevel,
16
16
  toGoogleThinkingLevel,
17
17
  usesGoogleThinkingLevel
18
- } from "./chunk-3VZR3ZUY.js";
18
+ } from "./chunk-KEXKZKN4.js";
19
19
  import "./chunk-MXYQOFZ5.js";
20
20
  import {
21
21
  buildBaseOptions
22
- } from "./chunk-OAEV22IW.js";
22
+ } from "./chunk-Z6AY5VOZ.js";
23
23
  import {
24
24
  sanitizeSurrogates
25
- } from "./chunk-3SSNDIQT.js";
26
- import "./chunk-EX63VKXY.js";
25
+ } from "./chunk-TSAUBRRU.js";
26
+ import "./chunk-3CZXUKLG.js";
27
27
  import {
28
28
  formatProviderError,
29
29
  normalizeProviderError
30
- } from "./chunk-O2652RWY.js";
30
+ } from "./chunk-PVPJAGWR.js";
31
31
  import {
32
32
  providerHeadersToRecord
33
- } from "./chunk-VBM7TD3X.js";
33
+ } from "./chunk-6IHXVT5H.js";
34
34
  import {
35
35
  calculateCost,
36
36
  clampThinkingLevel,
37
37
  collapseSystemMessages,
38
38
  getCurrentTools,
39
39
  getInitialSystemMessage
40
- } from "./chunk-TGKIV3F4.js";
40
+ } from "./chunk-W7LEYYFH.js";
41
41
  import {
42
42
  AssistantMessageEventStream
43
- } from "./chunk-TSV3PFU2.js";
43
+ } from "./chunk-DDBE2VLT.js";
44
44
  import {
45
45
  getIdentityHeaders
46
- } from "./chunk-UDC7NPQJ.js";
46
+ } from "./chunk-Q3C7TQ2M.js";
47
47
  import {
48
48
  getSystemMessageText
49
- } from "./chunk-XY53EFK3.js";
49
+ } from "./chunk-U5KGV63C.js";
50
50
  import "./chunk-CWESUMYQ.js";
51
51
 
52
- // node_modules/.pnpm/@earendil-works+pi-ai@1.5.1_@aws-sdk+credential-provider-node@3.972.83_@smithy+signatur_e7d72008f907c45a36788e380ed24019/node_modules/@earendil-works/pi-ai/dist/api/google-generative-ai.js
52
+ // node_modules/.pnpm/@earendil-works+pi-ai@1.5.2_@aws-sdk+credential-provider-node@3.972.83_@smithy+signatur_b842a8cec34a633ed5f728049ae89b72/node_modules/@earendil-works/pi-ai/dist/api/google-generative-ai.js
53
53
  var toolCallCounter = 0;
54
54
  var stream = (model, context, options) => {
55
55
  const stream2 = new AssistantMessageEventStream();
@@ -2,9 +2,9 @@ import { createRequire as __nerveCreateRequire } from "node:module";
2
2
  const require = __nerveCreateRequire(import.meta.url);
3
3
  import {
4
4
  ownedSlice
5
- } from "./chunk-XY53EFK3.js";
5
+ } from "./chunk-U5KGV63C.js";
6
6
 
7
- // node_modules/.pnpm/@earendil-works+pi-ai@1.5.1_@aws-sdk+credential-provider-node@3.972.83_@smithy+signatur_e7d72008f907c45a36788e380ed24019/node_modules/@earendil-works/pi-ai/dist/providers/radius-config.js
7
+ // node_modules/.pnpm/@earendil-works+pi-ai@1.5.2_@aws-sdk+credential-provider-node@3.972.83_@smithy+signatur_b842a8cec34a633ed5f728049ae89b72/node_modules/@earendil-works/pi-ai/dist/providers/radius-config.js
8
8
  var DEFAULT_RADIUS_GATEWAY = "https://radius.pi.dev";
9
9
  function isRadiusGatewayModel(value) {
10
10
  if (typeof value !== "object" || value === null || Array.isArray(value))
@@ -3,9 +3,9 @@ const require = __nerveCreateRequire(import.meta.url);
3
3
  import {
4
4
  oauthErrorHtml,
5
5
  oauthSuccessHtml
6
- } from "./chunk-YUO5V75X.js";
6
+ } from "./chunk-BACYVEE6.js";
7
7
 
8
- // node_modules/.pnpm/@earendil-works+pi-ai@1.5.1_@aws-sdk+credential-provider-node@3.972.83_@smithy+signatur_e7d72008f907c45a36788e380ed24019/node_modules/@earendil-works/pi-ai/dist/auth/oauth/callback-server.js
8
+ // node_modules/.pnpm/@earendil-works+pi-ai@1.5.2_@aws-sdk+credential-provider-node@3.972.83_@smithy+signatur_b842a8cec34a633ed5f728049ae89b72/node_modules/@earendil-works/pi-ai/dist/auth/oauth/callback-server.js
9
9
  import { createServer } from "node:http";
10
10
  function sendPage(response, status, html) {
11
11
  response.writeHead(status, { "content-type": "text/html; charset=utf-8", "cache-control": "no-store" });
@@ -1,7 +1,7 @@
1
1
  import { createRequire as __nerveCreateRequire } from "node:module";
2
2
  const require = __nerveCreateRequire(import.meta.url);
3
3
 
4
- // node_modules/.pnpm/@earendil-works+pi-ai@1.5.1_@aws-sdk+credential-provider-node@3.972.83_@smithy+signatur_e7d72008f907c45a36788e380ed24019/node_modules/@earendil-works/pi-ai/dist/utils/headers.js
4
+ // node_modules/.pnpm/@earendil-works+pi-ai@1.5.2_@aws-sdk+credential-provider-node@3.972.83_@smithy+signatur_b842a8cec34a633ed5f728049ae89b72/node_modules/@earendil-works/pi-ai/dist/utils/headers.js
5
5
  function headersToRecord(headers) {
6
6
  const result = {};
7
7
  for (const [key, value] of headers.entries()) {
@@ -2,9 +2,9 @@ import { createRequire as __nerveCreateRequire } from "node:module";
2
2
  const require = __nerveCreateRequire(import.meta.url);
3
3
  import {
4
4
  getProviderEnvValue
5
- } from "./chunk-SU2USXTD.js";
5
+ } from "./chunk-JBEWFFOK.js";
6
6
 
7
- // node_modules/.pnpm/@earendil-works+pi-ai@1.5.1_@aws-sdk+credential-provider-node@3.972.83_@smithy+signatur_e7d72008f907c45a36788e380ed24019/node_modules/@earendil-works/pi-ai/dist/utils/node-http-proxy.js
7
+ // node_modules/.pnpm/@earendil-works+pi-ai@1.5.2_@aws-sdk+credential-provider-node@3.972.83_@smithy+signatur_b842a8cec34a633ed5f728049ae89b72/node_modules/@earendil-works/pi-ai/dist/utils/node-http-proxy.js
8
8
  var DEFAULT_PROXY_PORTS = {
9
9
  ftp: 21,
10
10
  gopher: 70,
@@ -3,16 +3,16 @@ const require = __nerveCreateRequire(import.meta.url);
3
3
  import {
4
4
  startOAuthCallbackServer,
5
5
  waitForCallbackOrManualInput
6
- } from "./chunk-K2J2VZXO.js";
6
+ } from "./chunk-6GUJQURI.js";
7
7
  import {
8
8
  generatePKCE
9
- } from "./chunk-YUO5V75X.js";
9
+ } from "./chunk-BACYVEE6.js";
10
10
  import {
11
11
  getProviderEnvValue
12
- } from "./chunk-SU2USXTD.js";
12
+ } from "./chunk-JBEWFFOK.js";
13
13
  import "./chunk-CWESUMYQ.js";
14
14
 
15
- // node_modules/.pnpm/@earendil-works+pi-ai@1.5.1_@aws-sdk+credential-provider-node@3.972.83_@smithy+signatur_e7d72008f907c45a36788e380ed24019/node_modules/@earendil-works/pi-ai/dist/auth/oauth/anthropic.js
15
+ // node_modules/.pnpm/@earendil-works+pi-ai@1.5.2_@aws-sdk+credential-provider-node@3.972.83_@smithy+signatur_b842a8cec34a633ed5f728049ae89b72/node_modules/@earendil-works/pi-ai/dist/auth/oauth/anthropic.js
16
16
  var decode = (s) => atob(s);
17
17
  var CLIENT_ID = decode("OWQxYzI1MGEtZTYxYi00NGQ5LTg4ZWQtNTk0NGQxOTYyZjVl");
18
18
  var AUTHORIZE_URL = "https://claude.ai/oauth/authorize";
@@ -2,19 +2,19 @@ import { createRequire as __nerveCreateRequire } from "node:module";
2
2
  const require = __nerveCreateRequire(import.meta.url);
3
3
  import {
4
4
  sleep
5
- } from "./chunk-T6NRMNLQ.js";
5
+ } from "./chunk-WC5HHPPM.js";
6
6
  import {
7
7
  trustedHttpUrl
8
- } from "./chunk-B4IE2GAM.js";
8
+ } from "./chunk-Q5E4ZL2R.js";
9
9
  import {
10
10
  pollOAuthDeviceCodeFlow
11
- } from "./chunk-ER2ES2RH.js";
11
+ } from "./chunk-U3TEC52G.js";
12
12
  import {
13
13
  getProviderEnvValue
14
- } from "./chunk-SU2USXTD.js";
14
+ } from "./chunk-JBEWFFOK.js";
15
15
  import "./chunk-CWESUMYQ.js";
16
16
 
17
- // node_modules/.pnpm/@earendil-works+pi-ai@1.5.1_@aws-sdk+credential-provider-node@3.972.83_@smithy+signatur_e7d72008f907c45a36788e380ed24019/node_modules/@earendil-works/pi-ai/dist/auth/oauth/kimi-coding.js
17
+ // node_modules/.pnpm/@earendil-works+pi-ai@1.5.2_@aws-sdk+credential-provider-node@3.972.83_@smithy+signatur_b842a8cec34a633ed5f728049ae89b72/node_modules/@earendil-works/pi-ai/dist/auth/oauth/kimi-coding.js
18
18
  var CLIENT_ID = "17e5f671-d194-4dfb-9706-5516cb48c098";
19
19
  var DEFAULT_OAUTH_HOST = "https://auth.kimi.com";
20
20
  var DEVICE_CODE_TIMEOUT_SECONDS = 15 * 60;
@@ -3,16 +3,16 @@ const require = __nerveCreateRequire(import.meta.url);
3
3
  import {
4
4
  startOAuthCallbackServer,
5
5
  waitForCallbackOrManualInput
6
- } from "./chunk-K2J2VZXO.js";
6
+ } from "./chunk-6GUJQURI.js";
7
7
  import {
8
8
  generatePKCE
9
- } from "./chunk-YUO5V75X.js";
9
+ } from "./chunk-BACYVEE6.js";
10
10
  import {
11
11
  getProviderEnvValue
12
- } from "./chunk-SU2USXTD.js";
12
+ } from "./chunk-JBEWFFOK.js";
13
13
  import "./chunk-CWESUMYQ.js";
14
14
 
15
- // node_modules/.pnpm/@earendil-works+pi-ai@1.5.1_@aws-sdk+credential-provider-node@3.972.83_@smithy+signatur_e7d72008f907c45a36788e380ed24019/node_modules/@earendil-works/pi-ai/dist/auth/oauth/openrouter.js
15
+ // node_modules/.pnpm/@earendil-works+pi-ai@1.5.2_@aws-sdk+credential-provider-node@3.972.83_@smithy+signatur_b842a8cec34a633ed5f728049ae89b72/node_modules/@earendil-works/pi-ai/dist/auth/oauth/openrouter.js
16
16
  var AUTHORIZE_URL = "https://openrouter.ai/auth";
17
17
  var TOKEN_URL = "https://openrouter.ai/api/v1/auth/keys";
18
18
  var LOGIN_TIMEOUT_MS = 5 * 60 * 1e3;
@@ -557,8 +557,10 @@ async function searchContent(root, options) {
557
557
  // packages/native/dist/image/index.js
558
558
  var image_exports = {};
559
559
  __export(image_exports, {
560
+ imageInfo: () => imageInfo,
560
561
  isAvailable: () => isAvailable2,
561
- prepareImage: () => prepareImage
562
+ prepareImage: () => prepareImage,
563
+ transformImage: () => transformImage
562
564
  });
563
565
  var native = binding;
564
566
  function isAvailable2() {
@@ -575,6 +577,190 @@ async function prepareImage(data, options) {
575
577
  outputFormats: [...options.outputFormats ?? ["png", "jpeg"]]
576
578
  });
577
579
  }
580
+ async function transformImage(data, ops) {
581
+ if (typeof native.transformImageNative !== "function") {
582
+ throw new Error("Native image support is not available");
583
+ }
584
+ return await native.transformImageNative(data, ops);
585
+ }
586
+ async function imageInfo(data) {
587
+ if (typeof native.imageInfoNative !== "function") {
588
+ throw new Error("Native image support is not available");
589
+ }
590
+ return await native.imageInfoNative(data);
591
+ }
592
+
593
+ // packages/native/dist/sandbox/index.js
594
+ var sandbox_exports = {};
595
+ __export(sandbox_exports, {
596
+ isAvailable: () => isAvailable3,
597
+ runSandboxScript: () => runSandboxScript
598
+ });
599
+ import { stripTypeScriptTypes } from "node:module";
600
+
601
+ // packages/native/dist/sandbox/prelude.js
602
+ var BASE_PRELUDE = String.raw`
603
+ (() => {
604
+ const print = __print;
605
+ const hostCall = __hostCall;
606
+ delete globalThis.__print;
607
+ delete globalThis.__hostCall;
608
+
609
+ const format = (value, depth = 0) => {
610
+ if (typeof value === "string") return depth === 0 ? value : JSON.stringify(value);
611
+ if (value instanceof Error) return value.stack ? value.name + ": " + value.message + "\n" + value.stack : String(value);
612
+ if (typeof value === "undefined" || typeof value === "function" || typeof value === "symbol") return String(value);
613
+ if (typeof value === "bigint") return value + "n";
614
+ try { return JSON.stringify(value, null, 2) ?? String(value); } catch { return String(value); }
615
+ };
616
+ const write = (...values) => print(values.map((v) => format(v)).join(" "));
617
+ globalThis.console = Object.freeze({
618
+ log: write, info: write, warn: write, error: write, debug: write,
619
+ table: (rows) => print(format(rows)),
620
+ });
621
+
622
+ globalThis.host = Object.freeze({
623
+ async call(method, args) {
624
+ let json;
625
+ try {
626
+ json = await hostCall(String(method), JSON.stringify(args ?? null));
627
+ } catch (message) {
628
+ const error = new Error(String(message));
629
+ error.name = "HostError";
630
+ throw error;
631
+ }
632
+ return JSON.parse(json);
633
+ },
634
+ });
635
+ })();
636
+ `;
637
+
638
+ // packages/native/dist/sandbox/index.js
639
+ var EXIT_GRACE_MS = 5e3;
640
+ var native2 = binding;
641
+ function isAvailable3() {
642
+ return typeof native2.startSandboxScript === "function";
643
+ }
644
+ async function runSandboxScript(options) {
645
+ if (typeof native2.startSandboxScript !== "function") {
646
+ throw new Error("Native sandbox support is not available");
647
+ }
648
+ let code = options.code;
649
+ if (options.typescript) {
650
+ try {
651
+ code = stripTypeScriptTypes(code, { mode: "strip" });
652
+ } catch (error) {
653
+ return failedBeforeStart(error);
654
+ }
655
+ }
656
+ if (options.signal?.aborted) {
657
+ return {
658
+ status: "cancelled",
659
+ output: "",
660
+ outputTruncated: false,
661
+ hostCalls: [],
662
+ durationMs: 0,
663
+ memoryUsedBytes: 0
664
+ };
665
+ }
666
+ const records = [];
667
+ return await new Promise((resolve, reject) => {
668
+ let script;
669
+ let hostFailure;
670
+ let settled = false;
671
+ const onAbort = () => script?.cancel();
672
+ const finish = (settle) => {
673
+ if (settled)
674
+ return;
675
+ settled = true;
676
+ clearTimeout(watchdog);
677
+ options.signal?.removeEventListener("abort", onAbort);
678
+ settle();
679
+ };
680
+ const watchdog = setTimeout(() => {
681
+ script?.cancel();
682
+ finish(() => resolve(failed("The sandbox did not exit after its deadline")));
683
+ }, (options.timeoutMs ?? 12e4) + EXIT_GRACE_MS);
684
+ watchdog.unref();
685
+ try {
686
+ script = native2.startSandboxScript({
687
+ name: options.typescript ? "script.ts" : "script.js",
688
+ code,
689
+ preludes: [
690
+ { name: "nerve:base", source: BASE_PRELUDE },
691
+ ...options.preludes ?? []
692
+ ],
693
+ memoryBytes: options.memoryBytes ?? 256 * 1024 * 1024,
694
+ timeoutMs: options.timeoutMs ?? 12e4,
695
+ maxHostCalls: options.maxHostCalls ?? 200,
696
+ uncountedHostMethods: options.uncountedHostMethods,
697
+ maxOutputBytes: options.maxOutputBytes ?? 256 * 1024
698
+ }, (error, call) => {
699
+ if (error) {
700
+ hostFailure ??= errorText(error);
701
+ script?.cancel();
702
+ return;
703
+ }
704
+ const started = performance.now();
705
+ void handle(call.method, call.args).then((value) => {
706
+ records.push({
707
+ method: call.method,
708
+ ok: true,
709
+ durationMs: performance.now() - started
710
+ });
711
+ script.reply(call.id, true, JSON.stringify(value ?? null));
712
+ }, (failure) => {
713
+ records.push({
714
+ method: call.method,
715
+ ok: false,
716
+ durationMs: performance.now() - started
717
+ });
718
+ script.reply(call.id, false, errorText(failure));
719
+ });
720
+ }, (error, outcome) => {
721
+ if (error)
722
+ return finish(() => reject(error));
723
+ if (hostFailure) {
724
+ const message = `Host call transport failed: ${hostFailure}`;
725
+ return finish(() => resolve({ ...failed(message), hostCalls: records }));
726
+ }
727
+ finish(() => resolve({
728
+ status: outcome.status,
729
+ ...outcome.error ? { error: outcome.error } : {},
730
+ output: outcome.output,
731
+ outputTruncated: outcome.outputTruncated,
732
+ hostCalls: records,
733
+ durationMs: outcome.durationMs,
734
+ memoryUsedBytes: outcome.memoryUsedBytes
735
+ }));
736
+ });
737
+ } catch (error) {
738
+ finish(() => reject(error));
739
+ return;
740
+ }
741
+ options.signal?.addEventListener("abort", onAbort, { once: true });
742
+ });
743
+ async function handle(method, args) {
744
+ return await options.onHostCall(method, JSON.parse(args));
745
+ }
746
+ }
747
+ function failedBeforeStart(error) {
748
+ return failed(errorText(error));
749
+ }
750
+ function failed(error) {
751
+ return {
752
+ status: "failed",
753
+ error,
754
+ output: "",
755
+ outputTruncated: false,
756
+ hostCalls: [],
757
+ durationMs: 0,
758
+ memoryUsedBytes: 0
759
+ };
760
+ }
761
+ function errorText(error) {
762
+ return error instanceof Error ? error.message : String(error);
763
+ }
578
764
 
579
765
  // packages/native/dist/git/git-client.js
580
766
  var NativeGitReadError = class extends Error {
@@ -1174,6 +1360,7 @@ export {
1174
1360
  createSearchIndex,
1175
1361
  files_exports,
1176
1362
  image_exports,
1363
+ sandbox_exports,
1177
1364
  NativeGitReadError,
1178
1365
  readGitRepositoryInfo,
1179
1366
  readGitSnapshot,
@@ -1,7 +1,7 @@
1
1
  import { createRequire as __nerveCreateRequire } from "node:module";
2
2
  const require = __nerveCreateRequire(import.meta.url);
3
3
 
4
- // node_modules/.pnpm/@earendil-works+pi-ai@1.5.1_@aws-sdk+credential-provider-node@3.972.83_@smithy+signatur_e7d72008f907c45a36788e380ed24019/node_modules/@earendil-works/pi-ai/dist/utils/oauth-page.js
4
+ // node_modules/.pnpm/@earendil-works+pi-ai@1.5.2_@aws-sdk+credential-provider-node@3.972.83_@smithy+signatur_b842a8cec34a633ed5f728049ae89b72/node_modules/@earendil-works/pi-ai/dist/utils/oauth-page.js
5
5
  var LOGO_SVG = `<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 800 800" aria-hidden="true"><path fill="#F09082" d="M165.29 165.29H517.36V400H400V282.65H165.29Z"/><path fill="#4D9ABF" d="M165.29 282.65H282.65V400H400V517.36H282.65V634.72H165.29Z"/><path fill="#F1BE58" d="M517.36 400H634.72V634.72H517.36Z"/></svg>`;
6
6
  function escapeHtml(value) {
7
7
  return value.replaceAll("&", "&amp;").replaceAll("<", "&lt;").replaceAll(">", "&gt;").replaceAll('"', "&quot;").replaceAll("'", "&#39;");
@@ -102,7 +102,7 @@ function oauthErrorHtml(message, details) {
102
102
  });
103
103
  }
104
104
 
105
- // node_modules/.pnpm/@earendil-works+pi-ai@1.5.1_@aws-sdk+credential-provider-node@3.972.83_@smithy+signatur_e7d72008f907c45a36788e380ed24019/node_modules/@earendil-works/pi-ai/dist/auth/oauth/pkce.js
105
+ // node_modules/.pnpm/@earendil-works+pi-ai@1.5.2_@aws-sdk+credential-provider-node@3.972.83_@smithy+signatur_b842a8cec34a633ed5f728049ae89b72/node_modules/@earendil-works/pi-ai/dist/auth/oauth/pkce.js
106
106
  function base64urlEncode(bytes) {
107
107
  let binary = "";
108
108
  for (const byte of bytes) {
@@ -241,7 +241,7 @@ var require_dist = __commonJS({
241
241
  }
242
242
  });
243
243
 
244
- // node_modules/.pnpm/@earendil-works+pi-ai@1.5.1_@aws-sdk+credential-provider-node@3.972.83_@smithy+signatur_e7d72008f907c45a36788e380ed24019/node_modules/@earendil-works/pi-ai/dist/utils/json-parse.js
244
+ // node_modules/.pnpm/@earendil-works+pi-ai@1.5.2_@aws-sdk+credential-provider-node@3.972.83_@smithy+signatur_b842a8cec34a633ed5f728049ae89b72/node_modules/@earendil-works/pi-ai/dist/utils/json-parse.js
245
245
  var import_partial_json = __toESM(require_dist(), 1);
246
246
  var VALID_JSON_ESCAPES = /* @__PURE__ */ new Set(['"', "\\", "/", "b", "f", "n", "r", "t"]);
247
247
  function isControlCharacter(char) {
@@ -338,7 +338,7 @@ ${json}`
338
338
  }
339
339
  }
340
340
 
341
- // node_modules/.pnpm/@earendil-works+pi-ai@1.5.1_@aws-sdk+credential-provider-node@3.972.83_@smithy+signatur_e7d72008f907c45a36788e380ed24019/node_modules/@earendil-works/pi-ai/dist/utils/streaming-json.js
341
+ // node_modules/.pnpm/@earendil-works+pi-ai@1.5.2_@aws-sdk+credential-provider-node@3.972.83_@smithy+signatur_b842a8cec34a633ed5f728049ae89b72/node_modules/@earendil-works/pi-ai/dist/utils/streaming-json.js
342
342
  var MAX_REPORTED_DEPTH = 32;
343
343
  var ROOT_SLOT = { kind: "root" };
344
344
  var CREDIT_PER_APPEND = 256;