@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,15 +1,15 @@
1
1
  import {
2
2
  playwrightStorageAbilities
3
- } from "../../safe-bash/command-chunks/chunk-HCJWEB6P.js";
3
+ } from "../../safe-bash/command-chunks/chunk-U6IEK2CI.js";
4
+ import "../../safe-bash/command-chunks/chunk-SRXARACJ.js";
5
+ import "../../safe-bash/command-chunks/chunk-BPVCKKYK.js";
6
+ import "../../safe-bash/command-chunks/chunk-YMZQFL3O.js";
4
7
  import "../../safe-bash/command-chunks/chunk-MI4J3AIL.js";
5
8
  import "../../safe-bash/command-chunks/chunk-Q7JQPHFP.js";
6
9
  import "../../safe-bash/command-chunks/chunk-DI2GPUM4.js";
7
10
  import "../../safe-bash/command-chunks/chunk-SSIG3FO3.js";
8
- import "../../safe-bash/command-chunks/chunk-QZNPYTJX.js";
9
- import "../../safe-bash/command-chunks/chunk-3TP4SSPS.js";
10
- import "../../safe-bash/command-chunks/chunk-YMZQFL3O.js";
11
- import "../../safe-bash/command-chunks/chunk-BPVCKKYK.js";
12
11
  import "../../safe-bash/command-chunks/chunk-I6ICC6AG.js";
12
+ import "../../safe-bash/command-chunks/chunk-QZNPYTJX.js";
13
13
  import "../../safe-bash/command-chunks/chunk-65DS4IOB.js";
14
14
  export {
15
15
  playwrightStorageAbilities
@@ -8,8 +8,8 @@ import "../../safe-bash/command-chunks/chunk-MI4J3AIL.js";
8
8
  import "../../safe-bash/command-chunks/chunk-Q7JQPHFP.js";
9
9
  import "../../safe-bash/command-chunks/chunk-DI2GPUM4.js";
10
10
  import "../../safe-bash/command-chunks/chunk-SSIG3FO3.js";
11
- import "../../safe-bash/command-chunks/chunk-QZNPYTJX.js";
12
11
  import "../../safe-bash/command-chunks/chunk-I6ICC6AG.js";
12
+ import "../../safe-bash/command-chunks/chunk-QZNPYTJX.js";
13
13
  import "../../safe-bash/command-chunks/chunk-65DS4IOB.js";
14
14
  export {
15
15
  flushPlaywrightTrace,
@@ -6,8 +6,8 @@ import "../../safe-bash/command-chunks/chunk-MI4J3AIL.js";
6
6
  import "../../safe-bash/command-chunks/chunk-Q7JQPHFP.js";
7
7
  import "../../safe-bash/command-chunks/chunk-DI2GPUM4.js";
8
8
  import "../../safe-bash/command-chunks/chunk-SSIG3FO3.js";
9
- import "../../safe-bash/command-chunks/chunk-QZNPYTJX.js";
10
9
  import "../../safe-bash/command-chunks/chunk-I6ICC6AG.js";
10
+ import "../../safe-bash/command-chunks/chunk-QZNPYTJX.js";
11
11
  import "../../safe-bash/command-chunks/chunk-65DS4IOB.js";
12
12
  export {
13
13
  playwrightWebMCPAbilities
@@ -0,0 +1,93 @@
1
+ import { type CommandContext } from "../safe-bash-contracts/index.js";
2
+ import { type PythonCommandsOptions, type PythonPackageEnvironment } from './executor.js';
3
+ export type PythonBuildHookRequest = {
4
+ readonly source: string;
5
+ readonly backend: string;
6
+ readonly backendPath?: readonly string[];
7
+ readonly configSettings?: Readonly<Record<string, string | readonly string[]>>;
8
+ } & ({
9
+ readonly hook: 'get_requires_for_build_wheel';
10
+ } | {
11
+ readonly hook: 'build_wheel';
12
+ readonly wheelDirectory: string;
13
+ readonly metadataDirectory?: string;
14
+ });
15
+ export interface PythonLegacyRequirementsRequest {
16
+ readonly hook: 'get_requires_for_legacy_wheel';
17
+ readonly source: string;
18
+ }
19
+ export interface PythonLegacyBuildRequest {
20
+ readonly hook: 'build_legacy_wheel';
21
+ /** Build a native setuptools compatibility-mode editable wheel. */
22
+ readonly editable?: boolean;
23
+ readonly source: string;
24
+ readonly wheelDirectory: string;
25
+ }
26
+ export interface PythonBuildSystemRequest {
27
+ readonly hook: 'read_build_system';
28
+ readonly source: string;
29
+ readonly name?: string;
30
+ readonly usePep517?: boolean;
31
+ /** Apply pip installation admission in addition to low-level backend selection. */
32
+ readonly installation?: 'directory' | 'archive';
33
+ }
34
+ export interface PythonBuildSystemDetails {
35
+ readonly requires: readonly string[];
36
+ readonly backend: string;
37
+ readonly check: readonly string[];
38
+ readonly backendPath: readonly string[];
39
+ }
40
+ export interface PythonBuildRequirementsRequest {
41
+ readonly hook: 'check_build_requirements';
42
+ readonly source: string;
43
+ readonly requirements: readonly string[];
44
+ /** Distribution names from the build environment's installed manifest. */
45
+ readonly installed: readonly string[];
46
+ }
47
+ export interface PythonBuildRequirementsStatus {
48
+ readonly conflicting: readonly (readonly [installed: string, wanted: string])[];
49
+ readonly missing: readonly string[];
50
+ }
51
+ export interface PythonSourceOriginRequest {
52
+ readonly hook: 'read_source_origin';
53
+ readonly source: string;
54
+ readonly directory: boolean;
55
+ }
56
+ export interface PythonDownloadFilenameRequest {
57
+ readonly hook: 'read_download_filename';
58
+ readonly source: string;
59
+ readonly responseUrl: string;
60
+ readonly headers: readonly (readonly [string, string])[];
61
+ }
62
+ export interface PythonSourceRequirementRequest {
63
+ readonly hook: 'read_source_requirement';
64
+ readonly source: string;
65
+ }
66
+ export interface PythonEditableRequirementRequest {
67
+ readonly hook: 'read_editable_requirement';
68
+ readonly source: string;
69
+ /** Parse a requirements-file option line before resolving the editable source. */
70
+ readonly requirementLine?: boolean;
71
+ }
72
+ export interface PythonSourceRequirement {
73
+ /** Empty when an editable source has no explicit egg name. */
74
+ readonly name: string;
75
+ readonly extras: readonly string[];
76
+ readonly url: string;
77
+ readonly marker: string | null;
78
+ readonly active: boolean;
79
+ }
80
+ type BuildRequest = PythonSourceOriginRequest | PythonDownloadFilenameRequest | PythonEditableRequirementRequest | PythonLegacyRequirementsRequest | PythonSourceRequirementRequest | PythonLegacyBuildRequest | PythonBuildHookRequest | PythonBuildSystemRequest | PythonBuildRequirementsRequest;
81
+ type BuildResult<T extends BuildRequest> = T extends PythonDownloadFilenameRequest | PythonSourceOriginRequest ? string : T extends PythonSourceRequirementRequest | PythonEditableRequirementRequest ? PythonSourceRequirement | null : T extends PythonBuildSystemRequest ? PythonBuildSystemDetails | null : T extends PythonBuildRequirementsRequest ? PythonBuildRequirementsStatus : T extends {
82
+ readonly hook: 'build_wheel' | 'build_legacy_wheel';
83
+ } ? string : string[];
84
+ export interface PythonBuildHookContext extends Pick<CommandContext, 'fs' | 'cwd' | 'env' | 'signal' | 'stdout' | 'stderr'> {
85
+ /** Total UTF-8 result metadata allowance; wheel bytes stay in caller storage. */
86
+ readonly maxBytes: number;
87
+ }
88
+ /** Run PEP 517 hooks against a caller-prepared source tree and package environment. */
89
+ export declare function createPythonBuildBackend(options: PythonCommandsOptions & {
90
+ readonly environment: PythonPackageEnvironment;
91
+ }): <T extends BuildRequest>(input: T, context: PythonBuildHookContext) => Promise<BuildResult<T>>;
92
+ export declare const pythonBuildBackendProgram: string;
93
+ export {};
@@ -0,0 +1,13 @@
1
+ import { type PythonCommandsOptions, type PythonPackageEnvironment } from './executor.js';
2
+ import { type PythonBuildHookContext, type PythonBuildSystemDetails } from './build-backend.js';
3
+ export interface PythonBuildDependenciesRequest {
4
+ readonly source: string;
5
+ readonly name?: string;
6
+ /** null selects native legacy setuptools requirement discovery. */
7
+ readonly buildSystem: PythonBuildSystemDetails | null;
8
+ readonly configSettings?: Readonly<Record<string, string | readonly string[]>>;
9
+ }
10
+ /** Install declared then missing backend requirements in an explicit build environment. */
11
+ export declare function createPythonBuildDependencies(options: Omit<PythonCommandsOptions, 'packages' | 'requirements' | 'packageProfile' | 'provisioning'> & {
12
+ readonly environment: PythonPackageEnvironment;
13
+ }): (input: PythonBuildDependenciesRequest, caller: PythonBuildHookContext) => Promise<void>;
@@ -0,0 +1,3 @@
1
+ import { type PythonPackageEnvironment, type PythonPackageOptions } from './provisioning.js';
2
+ /** Fresh build dependency state with the caller's explicit artifact and network authority. */
3
+ export declare function createPythonBuildEnvironment(options?: PythonPackageOptions): PythonPackageEnvironment;
@@ -0,0 +1,8 @@
1
+ import type { PythonPackageContext } from './provisioning.js';
2
+ export interface PythonBuiltWheel {
3
+ readonly url: string;
4
+ readonly digest: string;
5
+ readonly size: number;
6
+ }
7
+ /** Publish a build result in caller-owned storage, independently of build cleanup. */
8
+ export declare function publishPythonBuildWheel(source: string, directory: string, maxBytes: number, context: PythonPackageContext): Promise<PythonBuiltWheel>;
@@ -4,7 +4,11 @@ import { type PythonDiagnosticObserver } from './diagnostics.js';
4
4
  import { createPythonHostBridge, type PythonHostCapability, type PythonHostBridgeOptions } from './host-capabilities.js';
5
5
  export * from './host-capabilities.js';
6
6
  export { createPythonShellCapability } from './shell-capability.js';
7
- export { createPythonLlmToolLoader } from './llm-functions-loader.js';
7
+ export { createPythonLlmPackageManager } from './llm-package-manager.js';
8
+ export { createPythonLlmTemplateLoader } from './llm-template-loader.js';
9
+ export { createPythonLlmLoaderDiscovery, createPythonLlmLoaderProvider, type PythonLlmDiscoveredLoaders, type PythonLlmLoaderDiscoveryContext } from './llm-loader-discovery.js';
10
+ export { createPythonLlmFragmentLoader } from './llm-fragment-loader.js';
11
+ export { createPythonLlmToolLoader, type PythonLlmToolLoaderOptions } from './llm-functions-loader.js';
8
12
  export { createPythonLlmCapability, type PythonLlmCapabilityOptions } from './llm-capability.js';
9
13
  /** A dedicated interpreter worker. The service event loop must never block. */
10
14
  export interface PythonWorkerEndpoint {
@@ -75,7 +79,11 @@ export declare function createPythonExecutorCommands(options: PythonCommandsOpti
75
79
  /** Explicit executor registration excludes the default artifact renderer. */
76
80
  export declare function pythonExecutorCommands(options: PythonCommandsOptions): VirtualShellPlugin;
77
81
  export { createPythonPackageEnvironment, pythonDocumentPackages } from './provisioning.js';
78
- export type { PythonPackageOptions, PythonPackageCache, PythonPackageProgress, PythonPackageStart, PythonPackageContext, PythonPackageEnvironment, PythonPackagePrepareContext } from './provisioning.js';
82
+ export { createPythonBuildEnvironment } from './build-environment.js';
83
+ export { createPythonBuildDependencies, type PythonBuildDependenciesRequest } from './build-dependencies.js';
84
+ export { createPythonSourceSnapshot, type PythonSourceSnapshot } from './source-snapshot.js';
85
+ export { createPythonBuildBackend, type PythonBuildHookRequest, type PythonSourceRequirementRequest, type PythonEditableRequirementRequest, type PythonSourceRequirement, type PythonLegacyBuildRequest, type PythonLegacyRequirementsRequest, type PythonBuildHookContext, type PythonBuildSystemRequest, type PythonBuildSystemDetails, type PythonBuildRequirementsRequest, type PythonBuildRequirementsStatus } from './build-backend.js';
86
+ export type { PythonPackageInstallOptions, PythonPackageOptions, PythonPackageCache, PythonPackageProgress, PythonPackageStart, PythonPackageContext, PythonPackageEnvironment, PythonPackagePrepareContext } from './provisioning.js';
79
87
  export { PythonPackageConflictError, createPythonPackageManifestStore } from './manifest.js';
80
88
  export type { PythonPackageManifest, PythonPackageManifestStore } from './manifest.js';
81
89
  export { createPythonPackageCache } from './cache.js';
@@ -91,3 +99,5 @@ export { PythonFailure, inspectPythonCapabilities } from './diagnostics.js';
91
99
  export type { PythonFailureCategory, PythonDiagnostic, PythonDiagnosticObserver, PythonFileSystemRequirement, PythonCapabilityOptions, PythonCapabilityReport } from './diagnostics.js';
92
100
  export { pythonLlmPackages, installPythonLlmPackages } from './llm-packages.js';
93
101
  export type { PythonLlmPackageAsset } from './llm-packages.js';
102
+ export { publishPythonBuildWheel, type PythonBuiltWheel } from './build-wheel.js';
103
+ export { createPythonSourcePackageEnvironment, type PythonSourceBuildOptions } from './source-environment.js';
@@ -1,28 +1,40 @@
1
1
  import {
2
+ createPythonBuildBackend,
3
+ createPythonBuildDependencies,
4
+ createPythonBuildEnvironment,
2
5
  createPythonExecutorCommands,
6
+ createPythonLlmFragmentLoader,
7
+ createPythonLlmLoaderDiscovery,
8
+ createPythonLlmLoaderProvider,
9
+ createPythonLlmPackageManager,
10
+ createPythonLlmTemplateLoader,
3
11
  createPythonLlmToolLoader,
12
+ createPythonSourcePackageEnvironment,
13
+ createPythonSourceSnapshot,
4
14
  installPythonLlmPackages,
15
+ publishPythonBuildWheel,
5
16
  pythonExecutorCommands,
6
17
  pythonLlmPackages
7
- } from "../safe-bash/command-chunks/chunk-RHXV2KG5.js";
18
+ } from "../safe-bash/command-chunks/chunk-NNGWTDVJ.js";
8
19
  import {
9
20
  PythonPackageConflictError,
10
21
  createPythonPackageCache,
11
22
  createPythonPackageEnvironment,
12
23
  createPythonPackageManifestStore,
13
24
  pythonDocumentPackages
14
- } from "../safe-bash/command-chunks/chunk-R4NPYXQX.js";
25
+ } from "../safe-bash/command-chunks/chunk-IKBTII7C.js";
15
26
  import {
16
27
  createPythonShellCapability
17
28
  } from "../safe-bash/command-chunks/chunk-NHAG4DWL.js";
29
+ import "../safe-bash/command-chunks/chunk-NXCJNPL3.js";
18
30
  import {
19
31
  createPythonJspiAssets
20
32
  } from "../safe-bash/command-chunks/chunk-IOZTDDNT.js";
21
33
  import {
22
34
  createPythonJspiExecutor
23
- } from "../safe-bash/command-chunks/chunk-4Q3HP33O.js";
35
+ } from "../safe-bash/command-chunks/chunk-NW3S6T6R.js";
24
36
  import "../safe-bash/command-chunks/chunk-FXWKMNX2.js";
25
- import "../safe-bash/command-chunks/chunk-5EFNQ6FY.js";
37
+ import "../safe-bash/command-chunks/chunk-3EBQOZET.js";
26
38
  import {
27
39
  createPythonJspiNativeCall,
28
40
  createPythonJspiStatResult,
@@ -53,6 +65,9 @@ import "../safe-bash/command-chunks/chunk-65DS4IOB.js";
53
65
  export {
54
66
  PythonFailure,
55
67
  PythonPackageConflictError,
68
+ createPythonBuildBackend,
69
+ createPythonBuildDependencies,
70
+ createPythonBuildEnvironment,
56
71
  createPythonExecutorCommands,
57
72
  createPythonExecutorPool,
58
73
  createPythonHostBridge,
@@ -62,14 +77,22 @@ export {
62
77
  createPythonJspiStatResult,
63
78
  createPythonJspiTrampoline,
64
79
  createPythonLlmCapability,
80
+ createPythonLlmFragmentLoader,
81
+ createPythonLlmLoaderDiscovery,
82
+ createPythonLlmLoaderProvider,
83
+ createPythonLlmPackageManager,
84
+ createPythonLlmTemplateLoader,
65
85
  createPythonLlmToolLoader,
66
86
  createPythonPackageCache,
67
87
  createPythonPackageEnvironment,
68
88
  createPythonPackageManifestStore,
69
89
  createPythonShellCapability,
90
+ createPythonSourcePackageEnvironment,
91
+ createPythonSourceSnapshot,
70
92
  inspectPythonCapabilities,
71
93
  installPythonLlmDependencies,
72
94
  installPythonLlmPackages,
95
+ publishPythonBuildWheel,
73
96
  pythonDocumentPackages,
74
97
  pythonExecutorCommands,
75
98
  pythonHostFailureCode,
@@ -1,28 +1,40 @@
1
1
  import {
2
+ createPythonBuildBackend,
3
+ createPythonBuildDependencies,
4
+ createPythonBuildEnvironment,
2
5
  createPythonExecutorCommands,
6
+ createPythonLlmFragmentLoader,
7
+ createPythonLlmLoaderDiscovery,
8
+ createPythonLlmLoaderProvider,
9
+ createPythonLlmPackageManager,
10
+ createPythonLlmTemplateLoader,
3
11
  createPythonLlmToolLoader,
12
+ createPythonSourcePackageEnvironment,
13
+ createPythonSourceSnapshot,
4
14
  installPythonLlmPackages,
15
+ publishPythonBuildWheel,
5
16
  pythonExecutorCommands,
6
17
  pythonLlmPackages
7
- } from "../safe-bash/command-chunks/chunk-RHXV2KG5.js";
18
+ } from "../safe-bash/command-chunks/chunk-NNGWTDVJ.js";
8
19
  import {
9
20
  PythonPackageConflictError,
10
21
  createPythonPackageCache,
11
22
  createPythonPackageEnvironment,
12
23
  createPythonPackageManifestStore,
13
24
  pythonDocumentPackages
14
- } from "../safe-bash/command-chunks/chunk-R4NPYXQX.js";
25
+ } from "../safe-bash/command-chunks/chunk-IKBTII7C.js";
15
26
  import {
16
27
  createPythonShellCapability
17
28
  } from "../safe-bash/command-chunks/chunk-NHAG4DWL.js";
29
+ import "../safe-bash/command-chunks/chunk-NXCJNPL3.js";
18
30
  import {
19
31
  createPythonJspiAssets
20
32
  } from "../safe-bash/command-chunks/chunk-IOZTDDNT.js";
21
33
  import {
22
34
  createPythonJspiExecutor
23
- } from "../safe-bash/command-chunks/chunk-4Q3HP33O.js";
35
+ } from "../safe-bash/command-chunks/chunk-NW3S6T6R.js";
24
36
  import "../safe-bash/command-chunks/chunk-FXWKMNX2.js";
25
- import "../safe-bash/command-chunks/chunk-5EFNQ6FY.js";
37
+ import "../safe-bash/command-chunks/chunk-3EBQOZET.js";
26
38
  import {
27
39
  createPythonJspiNativeCall,
28
40
  createPythonJspiStatResult,
@@ -422,6 +434,9 @@ function pythonCommands(options) {
422
434
  export {
423
435
  PythonFailure,
424
436
  PythonPackageConflictError,
437
+ createPythonBuildBackend,
438
+ createPythonBuildDependencies,
439
+ createPythonBuildEnvironment,
425
440
  createPythonCommands,
426
441
  createPythonExecutorCommands,
427
442
  createPythonExecutorPool,
@@ -432,14 +447,22 @@ export {
432
447
  createPythonJspiStatResult,
433
448
  createPythonJspiTrampoline,
434
449
  createPythonLlmCapability,
450
+ createPythonLlmFragmentLoader,
451
+ createPythonLlmLoaderDiscovery,
452
+ createPythonLlmLoaderProvider,
453
+ createPythonLlmPackageManager,
454
+ createPythonLlmTemplateLoader,
435
455
  createPythonLlmToolLoader,
436
456
  createPythonPackageCache,
437
457
  createPythonPackageEnvironment,
438
458
  createPythonPackageManifestStore,
439
459
  createPythonShellCapability,
460
+ createPythonSourcePackageEnvironment,
461
+ createPythonSourceSnapshot,
440
462
  inspectPythonCapabilities,
441
463
  installPythonLlmDependencies,
442
464
  installPythonLlmPackages,
465
+ publishPythonBuildWheel,
443
466
  pythonCommands,
444
467
  pythonDocumentPackages,
445
468
  pythonExecutorCommands,
@@ -1,8 +1,8 @@
1
1
  import {
2
2
  createPythonJspiExecutor
3
- } from "../safe-bash/command-chunks/chunk-4Q3HP33O.js";
3
+ } from "../safe-bash/command-chunks/chunk-NW3S6T6R.js";
4
4
  import "../safe-bash/command-chunks/chunk-FXWKMNX2.js";
5
- import "../safe-bash/command-chunks/chunk-5EFNQ6FY.js";
5
+ import "../safe-bash/command-chunks/chunk-3EBQOZET.js";
6
6
  import "../safe-bash/command-chunks/chunk-P56KGNW7.js";
7
7
  import "../safe-bash/command-chunks/chunk-NK3FRG5O.js";
8
8
  import "../safe-bash/command-chunks/chunk-XNJGNDFW.js";
@@ -91,7 +91,7 @@ export async function readPythonLlmAssets(directory) {
91
91
  maxTotalBytes: distribution.expandedBytes, maxBufferedFileBytes: distribution.expandedBytes * 3,
92
92
  maxMembers: 10000, maxPathBytes: 1024, maxDepth: 32, maxPaxBytes: 65536,
93
93
  maxTextBytes: distribution.expandedBytes };
94
- const archive = await readZipArchive(bytes, limits, signal);
94
+ const archive = await readZipArchive(bytes, limits, signal, { allowUnreferencedData: true });
95
95
  for (const native of distribution.nativeModules) {
96
96
  const entry = archive.entries.find(entry => entry.name === native.path);
97
97
  if (!entry || entry.directory || entry.symlink || entry.size !== native.bytes)
@@ -0,0 +1,6 @@
1
+ import { type LlmFragmentLoader } from "../safe-bash-command-llm/index.js";
2
+ import type { PythonLlmToolLoaderOptions } from './llm-functions-loader.js';
3
+ /** Each explicitly authorized native loader invocation owns its interpreter.
4
+ * Results are staged one at a time in caller storage and borrowed until next(). */
5
+ export declare function createPythonLlmFragmentLoader(options: PythonLlmToolLoaderOptions, prefix: string): LlmFragmentLoader;
6
+ export declare const pythonLlmFragmentProgram: string;
@@ -1,5 +1,9 @@
1
1
  import { type LlmToolLoader } from "../safe-bash-command-llm/index.js";
2
2
  import { type PythonCommandsOptions } from './executor.js';
3
+ export interface PythonLlmToolLoaderOptions extends PythonCommandsOptions {
4
+ /** Explicit installed distributions whose tooling hooks the host authorizes. */
5
+ readonly plugins?: readonly string[];
6
+ }
3
7
  /** Reuse one configured interpreter per load, retaining only caller-backed tool
4
8
  * payloads. The session must outlive consumption of its borrowed results. */
5
- export declare function createPythonLlmToolLoader(options: PythonCommandsOptions): LlmToolLoader;
9
+ export declare function createPythonLlmToolLoader(options: PythonLlmToolLoaderOptions): LlmToolLoader;
@@ -0,0 +1,13 @@
1
+ import type { LlmFragmentLoader, LlmLoaderDiscoveryContext, LlmLoaderProvider, LlmTemplateLoader } from "../safe-bash-command-llm/index.js";
2
+ import type { PythonLlmToolLoaderOptions } from './llm-functions-loader.js';
3
+ export interface PythonLlmDiscoveredLoaders {
4
+ readonly fragmentLoaders: ReadonlyMap<string, LlmFragmentLoader>;
5
+ readonly templateLoaders: ReadonlyMap<string, LlmTemplateLoader>;
6
+ }
7
+ export type PythonLlmLoaderDiscoveryContext = LlmLoaderDiscoveryContext;
8
+ /** Discover at listing time and resolve prefixes without an extra native hook pass. */
9
+ export declare function createPythonLlmLoaderProvider(options: PythonLlmToolLoaderOptions): LlmLoaderProvider;
10
+ /** Discover native prefixes only from explicitly authorized installed plugins.
11
+ * Invoke again after changing the environment; no ambient registry is retained. */
12
+ export declare function createPythonLlmLoaderDiscovery(options: PythonLlmToolLoaderOptions): (context: PythonLlmLoaderDiscoveryContext) => Promise<PythonLlmDiscoveredLoaders>;
13
+ export declare const pythonLlmLoaderDiscoveryProgram: string;
@@ -0,0 +1,7 @@
1
+ import type { LlmPackageManager } from "../safe-bash-command-llm/index.js";
2
+ import { type PythonCommandsOptions, type PythonPackageEnvironment } from './executor.js';
3
+ /** Parse with the pinned LLM CLI, then retire it before mutating the shared
4
+ * caller-owned package environment in a separate interpreter. */
5
+ export declare function createPythonLlmPackageManager(options: PythonCommandsOptions & {
6
+ environment: PythonPackageEnvironment;
7
+ }): LlmPackageManager;
@@ -0,0 +1,6 @@
1
+ import type { LlmTemplateLoader } from "../safe-bash-command-llm/index.js";
2
+ import type { PythonLlmToolLoaderOptions } from './llm-functions-loader.js';
3
+ /** Execute an explicitly authorized native loader within the caller's remaining
4
+ * template materialization allowance. Native JSON travels in bounded windows. */
5
+ export declare function createPythonLlmTemplateLoader(options: PythonLlmToolLoaderOptions, prefix: string): LlmTemplateLoader;
6
+ export declare const pythonLlmTemplateProgram: string;
@@ -1,3 +1,20 @@
1
+ /** Native distribution metadata and pip-compatible removal listings. */
2
+ export type PythonPackageRecord = readonly [name: string, metadata: string, origin: string, remove: readonly string[], skip: readonly string[], directUrl?: string | null];
3
+ /** Exact installed requirements; newer snapshots can uninstall without wheels. */
4
+ export type PythonInstalledSnapshot = {
5
+ readonly version: 1;
6
+ readonly installed: readonly string[];
7
+ } | {
8
+ readonly version: 2;
9
+ readonly installed: readonly string[];
10
+ readonly records: readonly PythonPackageRecord[];
11
+ } | {
12
+ readonly version: 3;
13
+ readonly installed: readonly string[];
14
+ readonly records: readonly PythonPackageRecord[];
15
+ };
16
+ /** Accept legacy requirements and validated versioned installed snapshots. */
17
+ export declare function readPackageManifest(value: unknown): readonly string[] | undefined;
1
18
  export interface PythonPackageManifest {
2
19
  readonly revision: string;
3
20
  readonly bytes: Uint8Array;
@@ -1,6 +1,6 @@
1
1
  import type { FileSystem } from "../safe-bash-contracts/filesystem.js";
2
2
  import type { HttpTransport, NetworkAuthorizer } from "../safe-bash-network-engine/types.js";
3
- import { type PythonPackageManifestStore } from './manifest.js';
3
+ import { type PythonPackageManifestStore, type PythonPackageRecord } from './manifest.js';
4
4
  import { type PythonPackageCache } from './cache.js';
5
5
  export type { PythonPackageCache } from './cache.js';
6
6
  export interface PythonPackageProgress {
@@ -9,7 +9,21 @@ export interface PythonPackageProgress {
9
9
  readonly bytes?: number;
10
10
  readonly totalBytes?: number;
11
11
  }
12
- export interface PythonPackageOptions {
12
+ export interface PythonPackageInstallOptions {
13
+ /** Local source trees whose installed imports remain linked to caller storage. */
14
+ readonly editable?: readonly string[];
15
+ /** Include prerelease and development candidates during dependency resolution. */
16
+ readonly pre?: boolean;
17
+ /** Select the newest eligible requested roots, retaining satisfying dependencies. */
18
+ readonly upgrade?: boolean;
19
+ /** Reinstall the requested dependency graph even when installed versions satisfy it. */
20
+ readonly forceReinstall?: boolean;
21
+ /** Bypass artifact cache reads and writes; environment snapshots still persist. */
22
+ readonly noCache?: boolean;
23
+ }
24
+ export interface PythonPackageOptions extends PythonPackageInstallOptions {
25
+ /** Resolve sources and requirement-file option lines before installation; restored pins are unchanged. */
26
+ readonly prepareRequirements?: (requirements: readonly string[], context: PythonPackagePrepareContext) => Promise<readonly string[]>;
13
27
  readonly requirements?: readonly string[];
14
28
  readonly requirementFiles?: readonly string[];
15
29
  readonly profile?: 'documents';
@@ -29,9 +43,26 @@ export interface PythonPackageOptions {
29
43
  readonly maxCacheBytes?: number;
30
44
  readonly onProgress?: (event: PythonPackageProgress) => void;
31
45
  }
32
- export interface PythonPackageStart {
46
+ export interface PythonPackageStart extends Omit<PythonPackageInstallOptions, 'noCache' | 'editable'> {
33
47
  readonly session: string;
48
+ /** Load installer tooling even when no application requirements are installed. */
49
+ readonly bootstrap?: boolean;
50
+ /** Additional native runtime tooling, excluded from application inventory. */
51
+ readonly bootstrapPackages?: readonly string[];
52
+ /** Combined requirements for compatibility with custom executors. */
34
53
  readonly requirements: readonly string[];
54
+ /** Legacy requirements need one dependency-resolution pass before migration. */
55
+ readonly legacy?: boolean;
56
+ /** Installed metadata used only by uninstall; application startup still restores code. */
57
+ readonly records?: readonly PythonPackageRecord[] | undefined;
58
+ /** Prior installation; only legacy manifests resolve dependencies during restore. */
59
+ readonly restore?: readonly string[];
60
+ /** New or host-configured requirements whose dependency closure is resolved. */
61
+ readonly requested?: readonly string[];
62
+ readonly uninstall?: {
63
+ readonly packages: readonly string[];
64
+ readonly yes: boolean;
65
+ };
35
66
  readonly offline: boolean;
36
67
  }
37
68
  export interface PythonPackageContext {
@@ -39,7 +70,8 @@ export interface PythonPackageContext {
39
70
  readonly cwd: string;
40
71
  readonly signal: AbortSignal;
41
72
  }
42
- export interface PythonPackagePrepareContext extends PythonPackageContext {
73
+ export interface PythonPackagePrepareContext extends PythonPackageContext, PythonPackageInstallOptions, Partial<Pick<import("../safe-bash-contracts/index.js").CommandContext, 'env' | 'stdout' | 'stderr' | 'registerCleanup' | 'args'>> {
74
+ readonly uninstall?: PythonPackageStart['uninstall'];
43
75
  readonly requirements?: readonly string[];
44
76
  readonly requirementFiles?: readonly string[];
45
77
  readonly offline?: boolean;
@@ -47,7 +79,7 @@ export interface PythonPackagePrepareContext extends PythonPackageContext {
47
79
  export interface PythonPackageEnvironment {
48
80
  prepare(context: PythonPackagePrepareContext): Promise<PythonPackageStart>;
49
81
  dispatch(operation: string, args: unknown[], context: PythonPackageContext): Promise<unknown>;
50
- finish(start: PythonPackageStart): void;
82
+ finish(start: PythonPackageStart): void | Promise<void>;
51
83
  dispose(): Promise<void>;
52
84
  }
53
85
  export declare const pythonDocumentPackages: readonly string[];
@@ -1,7 +1,8 @@
1
1
  import {
2
2
  createPythonPackageEnvironment,
3
3
  pythonDocumentPackages
4
- } from "../safe-bash/command-chunks/chunk-R4NPYXQX.js";
4
+ } from "../safe-bash/command-chunks/chunk-IKBTII7C.js";
5
+ import "../safe-bash/command-chunks/chunk-NXCJNPL3.js";
5
6
  import "../safe-bash/command-chunks/chunk-65DS4IOB.js";
6
7
  export {
7
8
  createPythonPackageEnvironment,
@@ -0,0 +1,4 @@
1
+ import type { CommandContext } from "../safe-bash-contracts/index.js";
2
+ import { type PythonSourceArchiveMetadata } from './source-zip.js';
3
+ /** Optional source-archive host capability, using the existing ZIP and tar engines. */
4
+ export declare function extractPythonSourceArchive(source: string, directory: string, maxBytes: number, context: CommandContext, metadata?: PythonSourceArchiveMetadata): Promise<void>;