@poe-platform/safe-bash 0.1.822 → 0.1.824

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 (291) hide show
  1. package/dist/safe-bash/chunks/{chunk-HNT2MR4W.js → chunk-363QOIDR.js} +2 -1
  2. package/dist/safe-bash/chunks/chunk-AGHV53VF.js +42 -0
  3. package/dist/safe-bash/chunks/{chunk-VF3Q2V3E.js → chunk-RAFD5ZAH.js} +1 -1
  4. package/dist/safe-bash/chunks/{chunk-67QE3JLU.js → chunk-TZRVK3NU.js} +1 -1
  5. package/dist/safe-bash/chunks/{chunk-IRJS54AA.js → chunk-VWLQDZFF.js} +20 -12
  6. package/dist/safe-bash/chunks/{chunk-NAETSXBW.js → chunk-ZJAXMB5M.js} +1 -1
  7. package/dist/safe-bash/command-chunks/{chunk-LDR3PPM3.js → chunk-22QEL76N.js} +3 -3
  8. package/dist/safe-bash/command-chunks/{chunk-QX3WKBLI.js → chunk-36FV6BAG.js} +5 -3
  9. package/dist/safe-bash/command-chunks/{chunk-BSLXS4PE.js → chunk-3DH5QBZC.js} +1 -1
  10. package/dist/safe-bash/command-chunks/{chunk-ZSHXZ3XG.js → chunk-3EAZRKI4.js} +7 -7
  11. package/dist/safe-bash/command-chunks/{chunk-5EFNQ6FY.js → chunk-3EBQOZET.js} +216 -1
  12. package/dist/safe-bash/command-chunks/{chunk-KQE2D7PX.js → chunk-3HUCLYKJ.js} +2 -2
  13. package/dist/safe-bash/command-chunks/{chunk-J4I7KCQQ.js → chunk-4JABZEDO.js} +4 -4
  14. package/dist/safe-bash/command-chunks/{chunk-PVKSBXHB.js → chunk-4M6D4IUB.js} +4 -4
  15. package/dist/safe-bash/command-chunks/{chunk-UVM6QG2H.js → chunk-4MVQE6CT.js} +1 -1
  16. package/dist/safe-bash/command-chunks/{chunk-QWQHLMDX.js → chunk-4VTB4DGE.js} +3 -3
  17. package/dist/safe-bash/command-chunks/{chunk-JQPDVCBU.js → chunk-565AAQTV.js} +3 -3
  18. package/dist/safe-bash/command-chunks/{chunk-JSW6YH6T.js → chunk-5PRXCH54.js} +5 -5
  19. package/dist/safe-bash/command-chunks/{chunk-42OQIFPW.js → chunk-5RLK2QSY.js} +3 -3
  20. package/dist/safe-bash/command-chunks/{chunk-PYYAX5FB.js → chunk-63WEGFLL.js} +16 -16
  21. package/dist/safe-bash/command-chunks/{chunk-5QR4LTAK.js → chunk-6KZXFPOT.js} +6 -6
  22. package/dist/safe-bash/command-chunks/{chunk-LJLB7TBN.js → chunk-6YTXU3NF.js} +6 -6
  23. package/dist/safe-bash/command-chunks/{chunk-NNYOPI7K.js → chunk-7NF44M2V.js} +5 -5
  24. package/dist/safe-bash/command-chunks/{chunk-ZRHKXN6W.js → chunk-7RQGRFHJ.js} +2 -2
  25. package/dist/safe-bash/command-chunks/{chunk-QGSY4ZAU.js → chunk-7UYBNOOM.js} +2 -2
  26. package/dist/safe-bash/command-chunks/{chunk-WOT2YXBT.js → chunk-7ZQVMPSB.js} +213 -42
  27. package/dist/safe-bash/command-chunks/{chunk-6REH56FL.js → chunk-AA254KE5.js} +4 -4
  28. package/dist/safe-bash/command-chunks/{chunk-2VSNIHIW.js → chunk-APUXNXXQ.js} +11 -11
  29. package/dist/safe-bash/command-chunks/{chunk-4VHCA4KK.js → chunk-AVSINNZ6.js} +80 -3
  30. package/dist/safe-bash/command-chunks/{chunk-XE75H5ZZ.js → chunk-AVXSR5MO.js} +6 -6
  31. package/dist/safe-bash/command-chunks/{chunk-22D6Q6SW.js → chunk-BKCVCMUX.js} +2 -2
  32. package/dist/safe-bash/command-chunks/{chunk-UDRJKA3P.js → chunk-C23L4HZB.js} +2 -2
  33. package/dist/safe-bash/command-chunks/{chunk-PAEAEFK3.js → chunk-C3EEMMQL.js} +3 -3
  34. package/dist/safe-bash/command-chunks/{chunk-NDJPULBE.js → chunk-CEKBIZGU.js} +2 -2
  35. package/dist/safe-bash/command-chunks/{chunk-75OUKYCM.js → chunk-CH5JDE3C.js} +1 -1
  36. package/dist/safe-bash/command-chunks/{chunk-XNVL6AOV.js → chunk-CIYGC7WU.js} +6 -6
  37. package/dist/safe-bash/command-chunks/{chunk-RUXY7GN5.js → chunk-CMJBRGU2.js} +1 -1
  38. package/dist/safe-bash/command-chunks/{chunk-DGFMOT4O.js → chunk-CO4HYNPS.js} +1 -1
  39. package/dist/safe-bash/command-chunks/{chunk-TMJG745A.js → chunk-CQLZM75U.js} +3 -3
  40. package/dist/safe-bash/command-chunks/{chunk-T2LZWXWF.js → chunk-DBCTHLB5.js} +4 -4
  41. package/dist/safe-bash/command-chunks/{chunk-6RE4MZYM.js → chunk-DBEJMI7J.js} +1 -1
  42. package/dist/safe-bash/command-chunks/{chunk-XXUMECE4.js → chunk-DEEZYCOQ.js} +6 -6
  43. package/dist/safe-bash/command-chunks/{chunk-YJMS5Q4Y.js → chunk-DHTTI7CE.js} +8 -8
  44. package/dist/safe-bash/command-chunks/{chunk-D3WMD32B.js → chunk-DLLGOC4Q.js} +6 -6
  45. package/dist/safe-bash/command-chunks/{chunk-HVLF3Y4B.js → chunk-DYCYAIET.js} +5 -5
  46. package/dist/safe-bash/command-chunks/{chunk-BZLLQWRK.js → chunk-E5CDHXFA.js} +2 -2
  47. package/dist/safe-bash/command-chunks/{chunk-5NC2IQMQ.js → chunk-EV7A5FNN.js} +1 -1
  48. package/dist/safe-bash/command-chunks/{chunk-MCUDSE4H.js → chunk-EWECMOQ5.js} +1 -1
  49. package/dist/safe-bash/command-chunks/{chunk-2YC6MWQB.js → chunk-EY3UE26F.js} +1 -1
  50. package/dist/safe-bash/command-chunks/{chunk-ZQ4NQ24M.js → chunk-FJLVISSD.js} +4 -4
  51. package/dist/safe-bash/command-chunks/{chunk-WOO3YO2X.js → chunk-HTMGN3KL.js} +4 -4
  52. package/dist/safe-bash/command-chunks/{chunk-2E53ZL5D.js → chunk-HU72CZBN.js} +4 -4
  53. package/dist/safe-bash/command-chunks/{chunk-AH3ZEPAN.js → chunk-IGHFIRXK.js} +1 -1
  54. package/dist/safe-bash/command-chunks/{chunk-R4NPYXQX.js → chunk-IKBTII7C.js} +285 -70
  55. package/dist/safe-bash/command-chunks/{chunk-J3ISXTYB.js → chunk-JTEAYB72.js} +2 -2
  56. package/dist/safe-bash/command-chunks/{chunk-NR7POLKP.js → chunk-KCS25XUJ.js} +2 -2
  57. package/dist/safe-bash/command-chunks/chunk-LKAFLJ5L.js +123 -0
  58. package/dist/safe-bash/command-chunks/{chunk-EU5SR3LS.js → chunk-LSH6UKCT.js} +2 -2
  59. package/dist/safe-bash/command-chunks/{chunk-WV3C6BRD.js → chunk-MHZ7UTRX.js} +5 -5
  60. package/dist/safe-bash/command-chunks/{chunk-K6J3KFQ2.js → chunk-MSA5BQFK.js} +3 -3
  61. package/dist/safe-bash/command-chunks/{chunk-OMD45J52.js → chunk-MW3L6JB7.js} +6 -6
  62. package/dist/safe-bash/command-chunks/{chunk-AR65HNNX.js → chunk-N2TN7IBE.js} +1 -1
  63. package/dist/safe-bash/command-chunks/chunk-NNGWTDVJ.js +2819 -0
  64. package/dist/safe-bash/command-chunks/{chunk-NWA7ZJDV.js → chunk-NU64GWGN.js} +3 -3
  65. package/dist/safe-bash/command-chunks/{chunk-4Q3HP33O.js → chunk-NW3S6T6R.js} +146 -123
  66. package/dist/safe-bash/command-chunks/chunk-NXCJNPL3.js +47 -0
  67. package/dist/safe-bash/command-chunks/{chunk-GAYTDZPP.js → chunk-ORWYNKKL.js} +3 -3
  68. package/dist/safe-bash/command-chunks/{chunk-FCGMSOF6.js → chunk-P6YTNXRV.js} +1 -1
  69. package/dist/safe-bash/command-chunks/{chunk-3RDEX4AF.js → chunk-PAS4YSNN.js} +1 -1
  70. package/dist/safe-bash/command-chunks/{chunk-RKAL5VFP.js → chunk-PLVFJ6FF.js} +255 -616
  71. package/dist/safe-bash/command-chunks/{chunk-TTPT3OME.js → chunk-PSNTCRL5.js} +4 -4
  72. package/dist/safe-bash/command-chunks/{chunk-CJIFJ45R.js → chunk-QBCEAYQT.js} +1 -1
  73. package/dist/safe-bash/command-chunks/{chunk-FGK6HLSY.js → chunk-QC2RWSYM.js} +3 -3
  74. package/dist/safe-bash/command-chunks/{chunk-HCZITM4C.js → chunk-QPY3NCMC.js} +5 -5
  75. package/dist/safe-bash/command-chunks/{chunk-3TXPZLFI.js → chunk-R6RVR6ZZ.js} +5 -5
  76. package/dist/safe-bash/command-chunks/{chunk-HQFX5XKV.js → chunk-RB7XAYO2.js} +3 -3
  77. package/dist/safe-bash/command-chunks/{chunk-6PDXNY3T.js → chunk-RF5VEKFU.js} +9 -9
  78. package/dist/safe-bash/command-chunks/{chunk-VAMBWXDV.js → chunk-RUAGHZNF.js} +18 -18
  79. package/dist/safe-bash/command-chunks/{chunk-3MFYCMQU.js → chunk-S2T7DDGY.js} +16 -16
  80. package/dist/safe-bash/command-chunks/{chunk-LZHFVNEV.js → chunk-S3QYSI5E.js} +1 -1
  81. package/dist/safe-bash/command-chunks/{chunk-ZLMCWAAU.js → chunk-STTXZKR6.js} +3 -3
  82. package/dist/safe-bash/command-chunks/{chunk-AXUHORS3.js → chunk-SUYSZJI3.js} +1 -1
  83. package/dist/safe-bash/command-chunks/{chunk-C5SLY3RB.js → chunk-U2C6A3QO.js} +1 -1
  84. package/dist/safe-bash/command-chunks/{chunk-HCJWEB6P.js → chunk-U6IEK2CI.js} +7 -7
  85. package/dist/safe-bash/command-chunks/{chunk-NN6OWOJG.js → chunk-UC6DUY3K.js} +2 -2
  86. package/dist/safe-bash/command-chunks/{chunk-64L57DEI.js → chunk-UQTU7H6T.js} +9 -9
  87. package/dist/safe-bash/command-chunks/{chunk-I7MEH76L.js → chunk-UYNJF5QN.js} +1 -1
  88. package/dist/safe-bash/command-chunks/{chunk-ARA57PMC.js → chunk-V5PVNBOS.js} +4 -4
  89. package/dist/safe-bash/command-chunks/{chunk-IAHYG67O.js → chunk-V5ZBRM5R.js} +3 -3
  90. package/dist/safe-bash/command-chunks/{chunk-ZZ6EIACJ.js → chunk-VGHRMAI4.js} +5 -5
  91. package/dist/safe-bash/command-chunks/{chunk-DZTT5SLG.js → chunk-VP7R7HKY.js} +5 -5
  92. package/dist/safe-bash/command-chunks/{chunk-TP5MZHCB.js → chunk-W5Y7Y7PS.js} +3 -3
  93. package/dist/safe-bash/command-chunks/{chunk-ZTW2E5OT.js → chunk-WAE3OCOU.js} +3 -3
  94. package/dist/safe-bash/command-chunks/{chunk-DBYY7IDI.js → chunk-WCM47S5A.js} +10 -10
  95. package/dist/safe-bash/command-chunks/{chunk-U6VSRO6E.js → chunk-WNVBS4GV.js} +4 -4
  96. package/dist/safe-bash/command-chunks/{chunk-CXOAMPOV.js → chunk-WUIS2INH.js} +13 -13
  97. package/dist/safe-bash/command-chunks/{chunk-4HJEZGYN.js → chunk-YODHIRPW.js} +7 -7
  98. package/dist/safe-bash/command-chunks/{chunk-C3FERGHU.js → chunk-YRMTOLG5.js} +3 -3
  99. package/dist/safe-bash/command-chunks/{chunk-GQV5RWMN.js → chunk-ZFXHSFTU.js} +1 -1
  100. package/dist/safe-bash/command-chunks/{chunk-YXIJOYT6.js → chunk-ZUOCXDYW.js} +1 -1
  101. package/dist/safe-bash/command-chunks/{chunk-LBBJ5S3W.js → chunk-ZZKJPLIH.js} +1 -1
  102. package/dist/safe-bash/command-chunks/{engine-UPLVIV72-IGXUDNO5.js → engine-UPLVIV72-MSSFJLK4.js} +1 -1
  103. package/dist/safe-bash/command-chunks/{prompt-tool-debug-ERJKK3XZ.js → prompt-tool-debug-3POFNRYP.js} +5 -5
  104. package/dist/safe-bash/commands/bc/index.browser.js +1 -1
  105. package/dist/safe-bash/commands/llm/index.browser.js +3 -1
  106. package/dist/safe-bash/commands/llm/index.js +1 -1
  107. package/dist/safe-bash/commands/python/executor.browser.js +12 -1
  108. package/dist/safe-bash/commands/python/executor.js +1 -1
  109. package/dist/safe-bash/commands/python/index.browser.js +23 -1
  110. package/dist/safe-bash/commands/python/index.js +1 -1
  111. package/dist/safe-bash/commands/python/source-archive.d.ts +2 -0
  112. package/dist/safe-bash/commands/python/source-archive.js +2 -0
  113. package/dist/safe-bash/commands/python/source-zip.d.ts +2 -0
  114. package/dist/safe-bash/commands/python/source-zip.js +2 -0
  115. package/dist/safe-bash/core.browser.js +2 -2
  116. package/dist/safe-bash/full-core.browser.js +30 -6
  117. package/dist/safe-bash/plugins/index.browser.js +3 -3
  118. package/dist/safe-bash/registry-entry.browser.js +2 -2
  119. package/dist/safe-bash/search.browser.js +1 -1
  120. package/dist/safe-bash/shell/runtime.d.ts +2 -2
  121. package/dist/safe-bash/shell/runtime.js +11 -2
  122. package/dist/safe-bash/shell/sync-extra-evaluators.js +12 -12
  123. package/dist/safe-bash/shell-entry.browser.js +2 -2
  124. package/dist/safe-bash-command-exiftool/index.js +41 -0
  125. package/dist/safe-bash-command-git/git_rust.wasm +0 -0
  126. package/dist/safe-bash-command-llm/collections.js +24 -65
  127. package/dist/safe-bash-command-llm/command.js +6 -6
  128. package/dist/safe-bash-command-llm/fragment-loaders.d.ts +3 -2
  129. package/dist/safe-bash-command-llm/index.d.ts +3 -2
  130. package/dist/safe-bash-command-llm/index.js +10 -8
  131. package/dist/safe-bash-command-llm/loader-provider.d.ts +25 -0
  132. package/dist/safe-bash-command-llm/openai-sse.js +2 -2
  133. package/dist/safe-bash-command-llm/openai.js +4 -4
  134. package/dist/safe-bash-command-llm/providers/index.js +4 -4
  135. package/dist/safe-bash-command-llm/providers/openai.js +4 -4
  136. package/dist/safe-bash-command-llm/python-unicode.d.ts +2 -0
  137. package/dist/safe-bash-command-llm/templates.d.ts +7 -2
  138. package/dist/safe-bash-command-llm/types.d.ts +7 -1
  139. package/dist/safe-bash-command-mcp/index.browser.js +3 -0
  140. package/dist/safe-bash-command-mcp/index.js +3 -0
  141. package/dist/safe-bash-command-playwright-cli/index.js +36 -36
  142. package/dist/safe-bash-command-playwright-cli/playwright/abilities.js +7 -7
  143. package/dist/safe-bash-command-playwright-cli/playwright/adapter.js +3 -3
  144. package/dist/safe-bash-command-playwright-cli/playwright/capability-events.js +1 -1
  145. package/dist/safe-bash-command-playwright-cli/playwright/capability-result.js +1 -1
  146. package/dist/safe-bash-command-playwright-cli/playwright/controller.js +15 -15
  147. package/dist/safe-bash-command-playwright-cli/playwright/download-capabilities.js +1 -1
  148. package/dist/safe-bash-command-playwright-cli/playwright/drop-capability.js +1 -1
  149. package/dist/safe-bash-command-playwright-cli/playwright/index.js +35 -35
  150. package/dist/safe-bash-command-playwright-cli/playwright/modal-capabilities.js +1 -1
  151. package/dist/safe-bash-command-playwright-cli/playwright/native-evaluation.js +1 -1
  152. package/dist/safe-bash-command-playwright-cli/playwright/native-json-snapshot.js +1 -1
  153. package/dist/safe-bash-command-playwright-cli/playwright/native-snapshot.js +1 -1
  154. package/dist/safe-bash-command-playwright-cli/playwright/native-storage-replacement.js +2 -2
  155. package/dist/safe-bash-command-playwright-cli/playwright/profile.js +3 -3
  156. package/dist/safe-bash-command-playwright-cli/playwright/recording-capabilities.js +1 -1
  157. package/dist/safe-bash-command-playwright-cli/playwright/route-capabilities.js +1 -1
  158. package/dist/safe-bash-command-playwright-cli/playwright/snapshot.js +1 -1
  159. package/dist/safe-bash-command-playwright-cli/playwright/standard-capabilities.js +6 -6
  160. package/dist/safe-bash-command-playwright-cli/playwright/storage-capabilities.js +5 -5
  161. package/dist/safe-bash-command-playwright-cli/playwright/tracing-capabilities.js +1 -1
  162. package/dist/safe-bash-command-playwright-cli/playwright/webmcp-capabilities.js +1 -1
  163. package/dist/safe-bash-command-python/build-backend.d.ts +93 -0
  164. package/dist/safe-bash-command-python/build-dependencies.d.ts +13 -0
  165. package/dist/safe-bash-command-python/build-environment.d.ts +3 -0
  166. package/dist/safe-bash-command-python/build-wheel.d.ts +8 -0
  167. package/dist/safe-bash-command-python/executor.d.ts +12 -2
  168. package/dist/safe-bash-command-python/executor.js +27 -4
  169. package/dist/safe-bash-command-python/index.js +27 -4
  170. package/dist/safe-bash-command-python/jspi.js +2 -2
  171. package/dist/safe-bash-command-python/llm-assets-node.js +1 -1
  172. package/dist/safe-bash-command-python/llm-fragment-loader.d.ts +6 -0
  173. package/dist/safe-bash-command-python/llm-functions-loader.d.ts +5 -1
  174. package/dist/safe-bash-command-python/llm-loader-discovery.d.ts +13 -0
  175. package/dist/safe-bash-command-python/llm-package-manager.d.ts +7 -0
  176. package/dist/safe-bash-command-python/llm-template-loader.d.ts +6 -0
  177. package/dist/safe-bash-command-python/manifest.d.ts +17 -0
  178. package/dist/safe-bash-command-python/provisioning.d.ts +37 -5
  179. package/dist/safe-bash-command-python/provisioning.js +2 -1
  180. package/dist/safe-bash-command-python/source-archive.d.ts +4 -0
  181. package/dist/safe-bash-command-python/source-archive.js +136 -0
  182. package/dist/safe-bash-command-python/source-environment.d.ts +12 -0
  183. package/dist/safe-bash-command-python/source-snapshot.d.ts +8 -0
  184. package/dist/safe-bash-command-python/source-zip.d.ts +8 -0
  185. package/dist/safe-bash-command-python/source-zip.js +8 -0
  186. package/dist/safe-bash-command-python/worker.js +3 -185
  187. package/dist/safe-bash-command-safejs/index.js +5 -5
  188. package/dist/safe-bash-command-safejs/runtime.js +3 -3
  189. package/dist/safe-bash-command-ssconvert/index.js +8 -8
  190. package/dist/safe-bash-compression-engine/bounded-codec.js +2 -2
  191. package/dist/safe-bash-compression-engine/codec-loader.js +1 -1
  192. package/dist/safe-bash-compression-engine/files.js +5 -5
  193. package/dist/safe-bash-compression-engine/index.js +4 -4
  194. package/dist/safe-bash-compression-engine/operand.js +5 -5
  195. package/dist/safe-bash-compression-engine/stream.js +4 -4
  196. package/dist/safe-bash-compression-engine/zstd-decode.js +3 -3
  197. package/dist/safe-bash-csv-engine/index.js +1 -1
  198. package/dist/safe-bash-csv-engine/python-utf7.d.ts +18 -0
  199. package/dist/safe-bash-csv-engine/text-decoder.d.ts +1 -0
  200. package/dist/safe-bash-csv-engine/text-decoder.js +5 -3
  201. package/dist/safe-bash-presentation-engine/accessibility.js +15 -15
  202. package/dist/safe-bash-presentation-engine/animation-editing.js +5 -5
  203. package/dist/safe-bash-presentation-engine/animations.js +5 -5
  204. package/dist/safe-bash-presentation-engine/backgrounds.js +6 -6
  205. package/dist/safe-bash-presentation-engine/chart-editing.js +18 -18
  206. package/dist/safe-bash-presentation-engine/chart-object-operations.js +12 -12
  207. package/dist/safe-bash-presentation-engine/charts.js +15 -15
  208. package/dist/safe-bash-presentation-engine/command-placeholder.js +39 -39
  209. package/dist/safe-bash-presentation-engine/comments.js +6 -6
  210. package/dist/safe-bash-presentation-engine/connector-operations.js +16 -16
  211. package/dist/safe-bash-presentation-engine/connectors.js +13 -13
  212. package/dist/safe-bash-presentation-engine/diff.js +21 -21
  213. package/dist/safe-bash-presentation-engine/drawing-format.js +7 -7
  214. package/dist/safe-bash-presentation-engine/drawing-operations.js +15 -15
  215. package/dist/safe-bash-presentation-engine/drawing-schema.js +8 -8
  216. package/dist/safe-bash-presentation-engine/equations.js +6 -6
  217. package/dist/safe-bash-presentation-engine/fields.js +6 -6
  218. package/dist/safe-bash-presentation-engine/image-extraction.js +7 -7
  219. package/dist/safe-bash-presentation-engine/image-formatting.js +16 -16
  220. package/dist/safe-bash-presentation-engine/image-insertion.js +6 -6
  221. package/dist/safe-bash-presentation-engine/image-replacement.js +7 -7
  222. package/dist/safe-bash-presentation-engine/images.js +6 -6
  223. package/dist/safe-bash-presentation-engine/index.js +104 -104
  224. package/dist/safe-bash-presentation-engine/layouts.js +5 -5
  225. package/dist/safe-bash-presentation-engine/links.js +5 -5
  226. package/dist/safe-bash-presentation-engine/masters.js +4 -4
  227. package/dist/safe-bash-presentation-engine/media-editing.js +13 -13
  228. package/dist/safe-bash-presentation-engine/media-extraction.js +7 -7
  229. package/dist/safe-bash-presentation-engine/media.js +6 -6
  230. package/dist/safe-bash-presentation-engine/memberships.js +5 -5
  231. package/dist/safe-bash-presentation-engine/notes.js +6 -6
  232. package/dist/safe-bash-presentation-engine/ole-insertion.js +6 -6
  233. package/dist/safe-bash-presentation-engine/opaque-objects.js +2 -2
  234. package/dist/safe-bash-presentation-engine/package-tools.js +6 -6
  235. package/dist/safe-bash-presentation-engine/presentation-model.js +38 -38
  236. package/dist/safe-bash-presentation-engine/presentation-settings.js +5 -5
  237. package/dist/safe-bash-presentation-engine/properties.js +6 -6
  238. package/dist/safe-bash-presentation-engine/retained-inspection.js +3 -3
  239. package/dist/safe-bash-presentation-engine/retained-text.js +16 -16
  240. package/dist/safe-bash-presentation-engine/sanitize.js +7 -7
  241. package/dist/safe-bash-presentation-engine/selectors.js +2 -2
  242. package/dist/safe-bash-presentation-engine/shape-groups.js +15 -15
  243. package/dist/safe-bash-presentation-engine/shape-operations.js +14 -14
  244. package/dist/safe-bash-presentation-engine/shape-path-operations.js +16 -16
  245. package/dist/safe-bash-presentation-engine/shape-paths.js +5 -5
  246. package/dist/safe-bash-presentation-engine/shape-selection.js +15 -15
  247. package/dist/safe-bash-presentation-engine/shape-transforms.js +5 -5
  248. package/dist/safe-bash-presentation-engine/shapes.js +11 -11
  249. package/dist/safe-bash-presentation-engine/slide-copy.js +7 -7
  250. package/dist/safe-bash-presentation-engine/slide-import.js +6 -6
  251. package/dist/safe-bash-presentation-engine/slide-merge-split.js +8 -8
  252. package/dist/safe-bash-presentation-engine/slide-model.js +25 -25
  253. package/dist/safe-bash-presentation-engine/slide-removal.js +7 -7
  254. package/dist/safe-bash-presentation-engine/slide-transfer-budget.js +2 -2
  255. package/dist/safe-bash-presentation-engine/slides.js +5 -5
  256. package/dist/safe-bash-presentation-engine/table-operations.js +17 -17
  257. package/dist/safe-bash-presentation-engine/table-spans.js +16 -16
  258. package/dist/safe-bash-presentation-engine/tables.js +15 -15
  259. package/dist/safe-bash-presentation-engine/tags.js +6 -6
  260. package/dist/safe-bash-presentation-engine/template-bindings.js +16 -16
  261. package/dist/safe-bash-presentation-engine/template-repeat.js +26 -26
  262. package/dist/safe-bash-presentation-engine/text-fitting.js +11 -11
  263. package/dist/safe-bash-presentation-engine/text-frames.js +11 -11
  264. package/dist/safe-bash-presentation-engine/text-paragraphs.js +11 -11
  265. package/dist/safe-bash-presentation-engine/text-reading.js +3 -3
  266. package/dist/safe-bash-presentation-engine/text-replacement.js +6 -6
  267. package/dist/safe-bash-presentation-engine/text-runs.js +8 -8
  268. package/dist/safe-bash-presentation-engine/themes.js +5 -5
  269. package/dist/safe-bash-presentation-engine/transitions.js +6 -6
  270. package/dist/safe-bash-presentation-engine/validation.js +2 -2
  271. package/dist/safe-bash-presentation-engine/xml-parts.js +5 -5
  272. package/dist/safe-bash-zip-engine/index.js +1 -1
  273. package/dist/safe-bash-zip-engine/zip/repair.js +1 -1
  274. package/dist/safe-bash-zip-engine/zip/sfx.js +1 -1
  275. package/dist/safe-bash-zip-engine/zip-format.d.ts +3 -1
  276. package/dist/safe-bash-zip-engine/zip-format.js +1 -1
  277. package/dist/safe-playwright-cloudflare/shell-browser-resource.d.ts +1 -1
  278. package/dist/safe-playwright-cloudflare/shell-browser-resource.js +35 -20
  279. package/package.json +13 -3
  280. package/dist/safe-bash/chunks/chunk-PSD2RSOS.js +0 -31
  281. package/dist/safe-bash/command-chunks/chunk-RHXV2KG5.js +0 -1466
  282. package/dist/safe-bash/command-chunks/{biff-AYJZR2YV-YFF3BK43.js → biff-AYJZR2YV-2BK47I2W.js} +1 -1
  283. package/dist/safe-bash/command-chunks/{chunk-SKDJCMGI.js → chunk-ATUZ7J3B.js} +3 -3
  284. package/dist/safe-bash/command-chunks/{chunk-4Q4R3VZU.js → chunk-ETFJ4L7F.js} +0 -0
  285. package/dist/safe-bash/command-chunks/{chunk-QWHBQBPB.js → chunk-EXDMIGZY.js} +6 -6
  286. package/dist/safe-bash/command-chunks/{chunk-SKF6PGA5.js → chunk-I2OKE2NI.js} +3 -3
  287. package/dist/safe-bash/command-chunks/{chunk-2H6RJPCQ.js → chunk-JDDZRKC4.js} +3 -3
  288. package/dist/safe-bash/command-chunks/{chunk-3TP4SSPS.js → chunk-SRXARACJ.js} +3 -3
  289. package/dist/safe-bash/command-chunks/{chunk-D54L2IOZ.js → chunk-Y7UXJ77P.js} +3 -3
  290. package/dist/safe-bash/command-chunks/{dif-BXKPQOCO-FVJYYGYB.js → dif-BXKPQOCO-4KB3RC6G.js} +4 -4
  291. package/dist/safe-bash/command-chunks/{sylk-25D7TL2Y-NJKBZZTF.js → sylk-25D7TL2Y-RU6ANKGT.js} +4 -4
@@ -1,6 +1,6 @@
1
1
  import {
2
2
  requireLegacyCommentRemapping
3
- } from "./chunk-AR65HNNX.js";
3
+ } from "./chunk-N2TN7IBE.js";
4
4
  import {
5
5
  attr,
6
6
  child,
@@ -9,11 +9,11 @@ import {
9
9
  loadShared,
10
10
  nextRel,
11
11
  relPart
12
- } from "./chunk-UDRJKA3P.js";
12
+ } from "./chunk-C23L4HZB.js";
13
13
  import {
14
14
  SelectionError,
15
15
  decodeSelectionToken
16
- } from "./chunk-SKF6PGA5.js";
16
+ } from "./chunk-I2OKE2NI.js";
17
17
  import {
18
18
  parseXmlPart
19
19
  } from "./chunk-YWP62BAZ.js";
@@ -1,11 +1,11 @@
1
1
  import {
2
2
  nodeFor
3
- } from "./chunk-4HJEZGYN.js";
3
+ } from "./chunk-YODHIRPW.js";
4
4
  import {
5
5
  TextFrame,
6
6
  applyFrameFormatting,
7
7
  readShape
8
- } from "./chunk-64L57DEI.js";
8
+ } from "./chunk-UQTU7H6T.js";
9
9
  import {
10
10
  Length
11
11
  } from "./chunk-GNVAW6NL.js";
@@ -13,7 +13,7 @@ import {
13
13
  attr,
14
14
  child,
15
15
  required
16
- } from "./chunk-UDRJKA3P.js";
16
+ } from "./chunk-C23L4HZB.js";
17
17
  import {
18
18
  parseXmlPart
19
19
  } from "./chunk-YWP62BAZ.js";
@@ -3,26 +3,26 @@ import {
3
3
  readShapePath,
4
4
  shapePathXml,
5
5
  validateShapePath
6
- } from "./chunk-BSLXS4PE.js";
6
+ } from "./chunk-3DH5QBZC.js";
7
7
  import {
8
8
  addShape,
9
9
  nodeFor,
10
10
  selected,
11
11
  validateSelection
12
- } from "./chunk-4HJEZGYN.js";
12
+ } from "./chunk-YODHIRPW.js";
13
13
  import {
14
14
  validateShapeOptions
15
- } from "./chunk-64L57DEI.js";
15
+ } from "./chunk-UQTU7H6T.js";
16
16
  import {
17
17
  Length
18
18
  } from "./chunk-GNVAW6NL.js";
19
19
  import {
20
20
  loadShared,
21
21
  required
22
- } from "./chunk-UDRJKA3P.js";
22
+ } from "./chunk-C23L4HZB.js";
23
23
  import {
24
24
  SelectionError
25
- } from "./chunk-SKF6PGA5.js";
25
+ } from "./chunk-I2OKE2NI.js";
26
26
  import {
27
27
  OfficeError
28
28
  } from "./chunk-VJQ5OWS5.js";
@@ -1,3 +1,6 @@
1
+ import {
2
+ playwrightStorageAbilities
3
+ } from "./chunk-U6IEK2CI.js";
1
4
  import {
2
5
  playwrightTracingStart,
3
6
  playwrightTracingStop
@@ -9,9 +12,6 @@ import {
9
12
  playwrightRouteAbilities,
10
13
  setPlaywrightNetworkState
11
14
  } from "./chunk-PH6IMF5Z.js";
12
- import {
13
- playwrightStorageAbilities
14
- } from "./chunk-HCJWEB6P.js";
15
15
  import {
16
16
  playwrightRecordingAbilities
17
17
  } from "./chunk-XPUHDPMZ.js";
@@ -4,38 +4,38 @@ import {
4
4
  XyChartData,
5
5
  chartTypes,
6
6
  toChartData
7
- } from "./chunk-2VSNIHIW.js";
7
+ } from "./chunk-APUXNXXQ.js";
8
+ import {
9
+ applyPictureUpdate
10
+ } from "./chunk-DYCYAIET.js";
8
11
  import {
9
12
  applyConnectorUpdate,
10
13
  createConnectorXml,
11
14
  readConnector
12
- } from "./chunk-DZTT5SLG.js";
13
- import {
14
- applyPictureUpdate
15
- } from "./chunk-HVLF3Y4B.js";
15
+ } from "./chunk-VP7R7HKY.js";
16
16
  import {
17
17
  XL_CHART_TYPE
18
- } from "./chunk-HCZITM4C.js";
19
- import {
20
- Image
21
- } from "./chunk-ZXIOTUXC.js";
18
+ } from "./chunk-QPY3NCMC.js";
22
19
  import {
23
20
  PROG_ID
24
21
  } from "./chunk-HUAQZFON.js";
22
+ import {
23
+ Image
24
+ } from "./chunk-ZXIOTUXC.js";
25
25
  import {
26
26
  applyTableStructure
27
- } from "./chunk-GAYTDZPP.js";
27
+ } from "./chunk-ORWYNKKL.js";
28
28
  import {
29
29
  applyTableUpdate,
30
30
  createTableXml,
31
31
  readTable
32
- } from "./chunk-JQPDVCBU.js";
32
+ } from "./chunk-565AAQTV.js";
33
33
  import {
34
34
  nodeFor
35
- } from "./chunk-4HJEZGYN.js";
35
+ } from "./chunk-YODHIRPW.js";
36
36
  import {
37
37
  ShapeIdAllocator
38
- } from "./chunk-6RE4MZYM.js";
38
+ } from "./chunk-DBEJMI7J.js";
39
39
  import {
40
40
  FillFormat,
41
41
  LineFormat,
@@ -49,10 +49,10 @@ import {
49
49
  createShapeXml,
50
50
  readShape,
51
51
  textLinkCapabilities
52
- } from "./chunk-64L57DEI.js";
52
+ } from "./chunk-UQTU7H6T.js";
53
53
  import {
54
54
  defineEnum
55
- } from "./chunk-3RDEX4AF.js";
55
+ } from "./chunk-PAS4YSNN.js";
56
56
  import {
57
57
  Length
58
58
  } from "./chunk-GNVAW6NL.js";
@@ -60,7 +60,7 @@ import {
60
60
  attr,
61
61
  child,
62
62
  required
63
- } from "./chunk-UDRJKA3P.js";
63
+ } from "./chunk-C23L4HZB.js";
64
64
  import {
65
65
  parseXmlPart
66
66
  } from "./chunk-YWP62BAZ.js";
@@ -1,28 +1,28 @@
1
1
  import {
2
2
  applyTableStructure,
3
3
  validateTableStructureOperation
4
- } from "./chunk-GAYTDZPP.js";
4
+ } from "./chunk-ORWYNKKL.js";
5
5
  import {
6
6
  applyTableUpdate,
7
7
  createTableXml,
8
8
  readTable,
9
9
  validateTableUpdate
10
- } from "./chunk-JQPDVCBU.js";
10
+ } from "./chunk-565AAQTV.js";
11
11
  import {
12
12
  nodeFor,
13
13
  selected
14
- } from "./chunk-4HJEZGYN.js";
14
+ } from "./chunk-YODHIRPW.js";
15
15
  import {
16
16
  ShapeIdAllocator
17
- } from "./chunk-6RE4MZYM.js";
17
+ } from "./chunk-DBEJMI7J.js";
18
18
  import {
19
19
  child,
20
20
  loadShared,
21
21
  required
22
- } from "./chunk-UDRJKA3P.js";
22
+ } from "./chunk-C23L4HZB.js";
23
23
  import {
24
24
  SelectionError
25
- } from "./chunk-SKF6PGA5.js";
25
+ } from "./chunk-I2OKE2NI.js";
26
26
  import {
27
27
  OfficeError
28
28
  } from "./chunk-VJQ5OWS5.js";
@@ -1,6 +1,6 @@
1
1
  import {
2
2
  openRetainedPresentationIndex
3
- } from "./chunk-LZHFVNEV.js";
3
+ } from "./chunk-S3QYSI5E.js";
4
4
  import {
5
5
  stageRetainedOutput,
6
6
  streamJson
@@ -11,13 +11,13 @@ import {
11
11
  import {
12
12
  SelectionError,
13
13
  decodeSelectionToken
14
- } from "./chunk-SKF6PGA5.js";
14
+ } from "./chunk-I2OKE2NI.js";
15
15
  import {
16
16
  readPackage
17
17
  } from "./chunk-KVTZJBLM.js";
18
18
  import {
19
19
  validatePresentation
20
- } from "./chunk-SKDJCMGI.js";
20
+ } from "./chunk-ATUZ7J3B.js";
21
21
  import {
22
22
  dialects
23
23
  } from "./chunk-P3LHQOX7.js";
@@ -27,12 +27,12 @@ import {
27
27
  import {
28
28
  parseXmlPart
29
29
  } from "./chunk-YWP62BAZ.js";
30
- import {
31
- readRelationshipGraph
32
- } from "./chunk-QMXOKYMJ.js";
33
30
  import {
34
31
  parseContentTypes
35
32
  } from "./chunk-6ZHNKHQQ.js";
33
+ import {
34
+ readRelationshipGraph
35
+ } from "./chunk-QMXOKYMJ.js";
36
36
  import {
37
37
  readBinary
38
38
  } from "./chunk-S5MBHFLB.js";
@@ -1,12 +1,12 @@
1
1
  import {
2
2
  addImage
3
- } from "./chunk-HQFX5XKV.js";
3
+ } from "./chunk-RB7XAYO2.js";
4
4
  import {
5
5
  readMedia
6
- } from "./chunk-ZTW2E5OT.js";
6
+ } from "./chunk-WAE3OCOU.js";
7
7
  import {
8
8
  readImages
9
- } from "./chunk-PAEAEFK3.js";
9
+ } from "./chunk-C3EEMMQL.js";
10
10
  import {
11
11
  admitImage
12
12
  } from "./chunk-ZS4J5B6Y.js";
@@ -19,10 +19,10 @@ import {
19
19
  nextRel,
20
20
  relPart,
21
21
  required
22
- } from "./chunk-UDRJKA3P.js";
22
+ } from "./chunk-C23L4HZB.js";
23
23
  import {
24
24
  SelectionError
25
- } from "./chunk-SKF6PGA5.js";
25
+ } from "./chunk-I2OKE2NI.js";
26
26
  import {
27
27
  packageUri,
28
28
  relativePartReference
@@ -1,12 +1,12 @@
1
1
  import {
2
2
  zstdDecode
3
- } from "./chunk-UVM6QG2H.js";
3
+ } from "./chunk-4MVQE6CT.js";
4
4
  import {
5
5
  gunzipMembers
6
6
  } from "./chunk-52DDLGBS.js";
7
7
  import {
8
8
  boundedCodec
9
- } from "./chunk-RUXY7GN5.js";
9
+ } from "./chunk-CMJBRGU2.js";
10
10
  import {
11
11
  CodecReader,
12
12
  codec
@@ -1,11 +1,11 @@
1
1
  import {
2
2
  attr,
3
3
  invalid
4
- } from "./chunk-UDRJKA3P.js";
4
+ } from "./chunk-C23L4HZB.js";
5
5
  import {
6
6
  SelectionError,
7
7
  readSelectionIndex
8
- } from "./chunk-SKF6PGA5.js";
8
+ } from "./chunk-I2OKE2NI.js";
9
9
  import {
10
10
  readPackage
11
11
  } from "./chunk-KVTZJBLM.js";
@@ -2,10 +2,94 @@ import {
2
2
  createLlmSpool,
3
3
  fileSource,
4
4
  serializeLlmEmbedding
5
- } from "./chunk-BZLLQWRK.js";
5
+ } from "./chunk-E5CDHXFA.js";
6
6
  import {
7
7
  sourceBytes
8
- } from "./chunk-QX3WKBLI.js";
8
+ } from "./chunk-36FV6BAG.js";
9
+
10
+ // packages/safe-bash-command-llm/src/help-data.ts
11
+ var packedHelp = "H4sIAAAAAAAAE71bbW8bNxL+K4RbwG3hlYsivQ/GvUCw5UatbBmWkt4hCVJ6RVkb75LbJde2cLn/fjNDct8lrW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safe-bash-command-llm/src/help-text.ts
14
+ var catalog;
15
+ async function loadLlmHelp(name) {
16
+ catalog ??= new Response(new Blob([Uint8Array.from(atob(packedHelp), (character) => character.charCodeAt(0))]).stream().pipeThrough(new DecompressionStream("gzip"))).json();
17
+ return (await catalog)[name];
18
+ }
19
+
20
+ // packages/safe-bash-command-llm/src/chat-options.ts
21
+ var chatOptions = [
22
+ "-h",
23
+ "--help",
24
+ "--td",
25
+ "--tools-debug",
26
+ "--ta",
27
+ "--tools-approve",
28
+ "--no-stream",
29
+ "--functions",
30
+ "-T",
31
+ "--tool",
32
+ "--cl",
33
+ "--chain-limit",
34
+ "-f",
35
+ "--fragment",
36
+ "--sf",
37
+ "--system-fragment",
38
+ "-m",
39
+ "--model",
40
+ "-s",
41
+ "--system",
42
+ "-o",
43
+ "--option",
44
+ "-t",
45
+ "--template",
46
+ "-p",
47
+ "--param",
48
+ "--key"
49
+ ];
50
+ async function chatOptionSuggestion(value, step, choices = chatOptions) {
51
+ if (!value.startsWith("--")) return "";
52
+ const options = choices.filter((option) => option.startsWith("--"));
53
+ const cutoff = 0.6;
54
+ const maximum = Math.floor(Math.max(...options.map((option) => option.length)) * (2 / cutoff - 1));
55
+ const input = [];
56
+ for (const char of value) {
57
+ await step();
58
+ input.push(char);
59
+ if (input.length > maximum) return "";
60
+ }
61
+ const matches = [];
62
+ for (const option of options) {
63
+ if (2 * Math.min(option.length, input.length) / (option.length + input.length) < cutoff) continue;
64
+ const pending = [[0, option.length, 0, input.length]];
65
+ let matched = 0;
66
+ while (pending.length) {
67
+ const [aStart, aEnd, bStart, bEnd] = pending.pop();
68
+ let bestA = aStart, bestB = bStart, size = 0;
69
+ for (let a = aStart; a < aEnd; a++) {
70
+ await step();
71
+ for (let b = bStart; b < bEnd; b++) {
72
+ let length = 0;
73
+ while (a + length < aEnd && b + length < bEnd && option[a + length] === input[b + length]) length++;
74
+ if (length > size) {
75
+ bestA = a;
76
+ bestB = b;
77
+ size = length;
78
+ }
79
+ }
80
+ }
81
+ if (!size) continue;
82
+ matched += size;
83
+ if (aStart < bestA && bStart < bestB) pending.push([aStart, bestA, bStart, bestB]);
84
+ if (bestA + size < aEnd && bestB + size < bEnd) pending.push([bestA + size, aEnd, bestB + size, bEnd]);
85
+ }
86
+ const score = 2 * matched / (option.length + input.length);
87
+ if (score >= cutoff) matches.push({ option, score });
88
+ }
89
+ matches.sort((left, right) => right.score - left.score || (left.option < right.option ? 1 : left.option > right.option ? -1 : 0));
90
+ const suggestions = matches.slice(0, 3).map((match) => match.option).sort();
91
+ return !suggestions.length ? "" : suggestions.length === 1 ? ` Did you mean ${suggestions[0]}?` : ` (Possible options: ${suggestions.join(", ")})`;
92
+ }
9
93
 
10
94
  // packages/safe-bash-command-llm/src/configuration.ts
11
95
  import { FsError as FsError2, toByteSource as toByteSource2 } from "../../safe-bash-contracts/index.js";
@@ -218,6 +302,7 @@ function createLlmConfiguration(context, maxConfigurationBytes = Infinity, admis
218
302
  }),
219
303
  removeAlias: (name) => serialized(async () => {
220
304
  const expected = await stat(filename("aliases.json"));
305
+ if (!expected) throw new Error("No aliases.json file exists");
221
306
  const values = await aliases();
222
307
  if (!Object.hasOwn(values, name)) throw new Error(`No such alias: ${name}`);
223
308
  delete values[name];
@@ -255,6 +340,100 @@ function createLlmConfiguration(context, maxConfigurationBytes = Infinity, admis
255
340
  };
256
341
  }
257
342
 
343
+ // packages/safe-bash-command-llm/src/command-arguments.ts
344
+ async function commandArguments(group, tokens, commands, emit, diagnostic, step, prompt, help = (name) => loadLlmHelp(name.replaceAll(" ", "-"))) {
345
+ if (commands.length) {
346
+ let groupHelp = false;
347
+ for (const token of tokens) {
348
+ await step();
349
+ if (token === "--" || !token.startsWith("-")) break;
350
+ if (token.startsWith("--help=")) {
351
+ await diagnostic("Error: Option '--help' does not take a value.\n");
352
+ return 2;
353
+ }
354
+ if (token === "--help" || !token.startsWith("--") && token.includes("h")) groupHelp = true;
355
+ }
356
+ if (groupHelp) {
357
+ await emit(await help(group));
358
+ return 0;
359
+ }
360
+ if (tokens[0] === "--") tokens = tokens.slice(1);
361
+ }
362
+ const command = commands.length ? commands.includes(tokens[0] ?? "") ? tokens[0] : "list" : "";
363
+ if (command && tokens[0] === command) tokens = tokens.slice(1);
364
+ const path = group + (command ? " " + command : "");
365
+ const text = await help(path), usage2 = text.slice(0, text.indexOf("\n"));
366
+ const fail = async (message, withUsage = true) => {
367
+ await diagnostic((withUsage ? usage2 + `
368
+ Try 'llm ${path} -h' for help.
369
+
370
+ ` : "") + `Error: ${message}
371
+ `);
372
+ return 2;
373
+ };
374
+ const specs = /* @__PURE__ */ new Map();
375
+ for (const line of text.slice(text.indexOf("Options:\n")).split("\n")) {
376
+ if (!line.startsWith(" -")) continue;
377
+ const declaration = line.trim().split(" ")[0];
378
+ const aliases = declaration.split(", ").map((part) => part.split(" ")[0]);
379
+ const spec = { name: aliases.at(-1), value: declaration.split(", ").at(-1).includes(" ") };
380
+ for (const alias of aliases) specs.set(alias, spec);
381
+ }
382
+ const values = /* @__PURE__ */ new Map(), operands = [];
383
+ let ended = false, wantsHelp = false;
384
+ for (let index = 0; index < tokens.length; index++) {
385
+ await step();
386
+ const token = tokens[index];
387
+ if (!ended && token === "--") {
388
+ ended = true;
389
+ continue;
390
+ }
391
+ if (ended || !token.startsWith("-") || token === "-") {
392
+ operands.push(token);
393
+ continue;
394
+ }
395
+ const long = token.startsWith("--"), equals = token.indexOf("=");
396
+ for (let cursor = long ? 0 : 1; cursor < token.length; cursor++) {
397
+ const flag = long ? token.slice(0, equals < 0 ? void 0 : equals) : "-" + token[cursor];
398
+ const spec = specs.get(flag);
399
+ if (!spec) return fail(`No such option: ${flag}` + await chatOptionSuggestion(flag, step, [...specs.keys()]));
400
+ if (!spec.value) {
401
+ if (long && equals >= 0) return fail(`Option '${flag}' does not take a value.`, false);
402
+ if (spec.name === "--help") wantsHelp = true;
403
+ else values.set(spec.name, []);
404
+ if (long) break;
405
+ continue;
406
+ }
407
+ const value = (long ? equals < 0 ? void 0 : token.slice(equals + 1) : token.slice(cursor + 1) || void 0) ?? tokens[++index];
408
+ if (value === void 0) return fail(`Option '${flag}' requires an argument.`, false);
409
+ const key = spec.name;
410
+ const list = values.get(key) ?? [];
411
+ list.push(value);
412
+ values.set(key, list);
413
+ break;
414
+ }
415
+ }
416
+ if (wantsHelp) {
417
+ await emit(text);
418
+ return 0;
419
+ }
420
+ const parameters = usage2.split("[OPTIONS]")[1].trim().split(" ").filter(Boolean);
421
+ for (let index = operands.length; index < parameters.length; index++) {
422
+ if (!parameters[index].startsWith("[")) return fail(`Missing argument '${parameters[index]}'.`);
423
+ }
424
+ if (path === "keys set" && !values.has("--value")) {
425
+ const value = await prompt();
426
+ if (value === void 0) {
427
+ await diagnostic("Aborted!\n");
428
+ return 1;
429
+ }
430
+ values.set("--value", [value]);
431
+ }
432
+ const extra = parameters.at(-1)?.endsWith("...") ? [] : operands.slice(parameters.length);
433
+ if (extra.length) return fail(`Got unexpected extra argument${extra.length === 1 ? "" : "s"} (${extra.join(" ")})`);
434
+ return { command, operands, values };
435
+ }
436
+
258
437
  // packages/safe-bash-command-llm/src/embed-command.ts
259
438
  import { FsError as FsError3 } from "../../safe-bash-contracts/index.js";
260
439
  import { pathOf as pathOf3 } from "../../safe-bash-contracts/path.js";
@@ -335,7 +514,6 @@ async function acquireEmbeddingInput(context, values, binary, admit) {
335
514
 
336
515
  // packages/safe-bash-command-llm/src/embed-command.ts
337
516
  var usage = "Usage: llm embed [OPTIONS] [COLLECTION] [ID]\n";
338
- var help = "Usage: llm embed [OPTIONS] [COLLECTION] [ID]\n\n Embed text and store or return the result\n\nOptions:\n -i, --input PATH File to embed\n -m, --model TEXT Embedding model to use\n --store Store the text itself in the database\n -d, --database FILE\n -c, --content TEXT Content to embed\n --binary Treat input as binary data\n --metadata TEXT JSON object metadata to store\n -f, --format [json|blob|base64|hex]\n Output format\n -h, --help Show this message and exit.\n";
339
517
  async function embeddingCommand(context, service, tokens, write, diagnostic, step, admit, maxConfigurationBytes = Infinity, stored) {
340
518
  const encoder = new TextEncoder();
341
519
  const fail = async (message, code = 1, withUsage = false) => {
@@ -343,45 +521,11 @@ async function embeddingCommand(context, service, tokens, write, diagnostic, ste
343
521
  `);
344
522
  return code;
345
523
  };
346
- const values = {}, operands = [];
347
- let ended = false, wantsHelp = false, store = false, binary = false;
348
- const names = { "-m": "model", "--model": "model", "-c": "content", "--content": "content", "-i": "input", "--input": "input", "-f": "format", "--format": "format", "-d": "database", "--database": "database", "--metadata": "metadata" };
349
- for (let index = 0; index < tokens.length; index++) {
350
- await step();
351
- const token = tokens[index];
352
- if (!ended && token === "--") {
353
- ended = true;
354
- continue;
355
- }
356
- if (ended || !token.startsWith("-") || token === "-") {
357
- operands.push(token);
358
- continue;
359
- }
360
- const long = token.startsWith("--"), equals = token.indexOf("=");
361
- for (let cursor = long ? 0 : 1; cursor < token.length; cursor++) {
362
- const flag = long ? token.slice(0, equals < 0 ? void 0 : equals) : "-" + token[cursor];
363
- if (["--help", "-h", "--store", "--binary"].includes(flag)) {
364
- if (long && equals >= 0) return fail(`Option '${flag}' does not take a value.`, 2);
365
- if (flag === "--store") store = true;
366
- else if (flag === "--binary") binary = true;
367
- else wantsHelp = true;
368
- if (long) break;
369
- continue;
370
- }
371
- const name = names[flag];
372
- if (!name) return fail(`No such option: ${flag}`, 2, true);
373
- const attached = long ? equals < 0 ? void 0 : token.slice(equals + 1) : token.slice(cursor + 1) || void 0;
374
- const value = attached ?? tokens[++index];
375
- if (value === void 0) return fail(`Option '${flag}' requires an argument.`, 2);
376
- values[name] = value;
377
- break;
378
- }
379
- }
380
- if (wantsHelp) {
381
- await write(encoder.encode(help));
382
- return 0;
383
- }
384
- if (operands.length > 2) return fail(`Got unexpected extra argument${operands.length > 3 ? "s" : ""} (${operands.slice(2).join(" ")})`, 2, true);
524
+ const parsed = await commandArguments("embed", tokens, [], (text) => write(encoder.encode(text)), diagnostic, step);
525
+ if (typeof parsed === "number") return parsed;
526
+ const operands = parsed.operands, store = parsed.values.has("--store"), binary = parsed.values.has("--binary");
527
+ const values = {};
528
+ for (const [flag, entries] of parsed.values) if (entries.length) values[flag.slice(2)] = entries.at(-1);
385
529
  if (values.format !== void 0 && !["json", "blob", "base64", "hex"].includes(values.format)) return fail(`Invalid value for '-f' / '--format': '${values.format}' is not one of 'json', 'blob', 'base64', 'hex'.`, 2, true);
386
530
  if (values.metadata !== void 0) {
387
531
  let metadata;
@@ -436,7 +580,34 @@ async function embeddingCommand(context, service, tokens, write, diagnostic, ste
436
580
  }
437
581
  }
438
582
 
583
+ // packages/safe-bash-command-llm/src/python-unicode.ts
584
+ function hasUnpairedSurrogate(value) {
585
+ for (const char of value) {
586
+ const point = char.codePointAt(0);
587
+ if (point >= 55296 && point <= 57343) return true;
588
+ }
589
+ return false;
590
+ }
591
+ var pythonSurrogateId = /* @__PURE__ */ Symbol("pythonSurrogateId");
592
+ function unicodeOrder(left, right) {
593
+ let a = 0, b = 0;
594
+ while (a < left.length && b < right.length) {
595
+ const x = left.codePointAt(a), y = right.codePointAt(b);
596
+ if (x !== y) return x - y;
597
+ a += x > 65535 ? 2 : 1;
598
+ b += y > 65535 ? 2 : 1;
599
+ }
600
+ return (a < left.length ? 1 : 0) - (b < right.length ? 1 : 0);
601
+ }
602
+
439
603
  export {
604
+ loadLlmHelp,
605
+ chatOptions,
606
+ chatOptionSuggestion,
607
+ commandArguments,
608
+ hasUnpairedSurrogate,
609
+ pythonSurrogateId,
610
+ unicodeOrder,
440
611
  publishConfiguration,
441
612
  createLlmConfiguration,
442
613
  embeddingText,
@@ -4,7 +4,7 @@ import {
4
4
  } from "./chunk-63WEASJ7.js";
5
5
  import {
6
6
  openRetainedPresentationIndex
7
- } from "./chunk-LZHFVNEV.js";
7
+ } from "./chunk-S3QYSI5E.js";
8
8
  import {
9
9
  stageRetainedOutput,
10
10
  streamJson
@@ -15,13 +15,13 @@ import {
15
15
  invalid,
16
16
  loadShared,
17
17
  nextRel
18
- } from "./chunk-UDRJKA3P.js";
18
+ } from "./chunk-C23L4HZB.js";
19
19
  import {
20
20
  SelectionError
21
- } from "./chunk-SKF6PGA5.js";
21
+ } from "./chunk-I2OKE2NI.js";
22
22
  import {
23
23
  openRetainedPresentationValidation
24
- } from "./chunk-SKDJCMGI.js";
24
+ } from "./chunk-ATUZ7J3B.js";
25
25
  import {
26
26
  dialects
27
27
  } from "./chunk-P3LHQOX7.js";