@poe-platform/safe-bash 0.1.825 → 0.1.827

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 (155) hide show
  1. package/dist/image-ast/index.js +39 -18
  2. package/dist/pdf-ast/image.js +1 -1
  3. package/dist/pdf-ast/index.js +1 -1
  4. package/dist/pdf-ast/vendor/pdfjs-fonts.mjs +9 -3
  5. package/dist/safe-bash/chunks/{chunk-AGHV53VF.js → chunk-M6XFU6LQ.js} +3 -1
  6. package/dist/safe-bash/chunks/{chunk-363QOIDR.js → chunk-T6FHWSHM.js} +3 -1
  7. package/dist/safe-bash/command-chunks/{chunk-ZPBL7TYJ.js → chunk-2JRHCVMQ.js} +1 -1
  8. package/dist/safe-bash/command-chunks/{chunk-FMGNXOMV.js → chunk-2L3NMRLG.js} +7 -3
  9. package/dist/safe-bash/command-chunks/{chunk-DAQO64WC.js → chunk-2YKOJPIW.js} +1 -1
  10. package/dist/safe-bash/command-chunks/{chunk-EPYJSPOY.js → chunk-3QCW4VQF.js} +12 -8
  11. package/dist/safe-bash/command-chunks/{chunk-YRBFNT5B.js → chunk-3YL2TMLA.js} +10 -1
  12. package/dist/safe-bash/command-chunks/{chunk-5H7ZHP7F.js → chunk-43NDRBKY.js} +1 -1
  13. package/dist/safe-bash/command-chunks/{chunk-BBOYR6LV.js → chunk-46GA576V.js} +3 -3
  14. package/dist/safe-bash/command-chunks/{chunk-WPT2FCHH.js → chunk-4SLPM2WM.js} +1 -1
  15. package/dist/safe-bash/command-chunks/{chunk-7ZQVMPSB.js → chunk-5CAXR62E.js} +1 -1
  16. package/dist/safe-bash/command-chunks/{chunk-3DTHX5UU.js → chunk-66653AEZ.js} +40 -14
  17. package/dist/safe-bash/command-chunks/{chunk-ETFJ4L7F.js → chunk-6OLE6CLV.js} +1 -1
  18. package/dist/safe-bash/command-chunks/{chunk-ZIDESNHW.js → chunk-7M3M6FKC.js} +1 -1
  19. package/dist/safe-bash/command-chunks/{chunk-2KMNVJB7.js → chunk-A7PKUIJT.js} +1 -1
  20. package/dist/safe-bash/command-chunks/{chunk-AVSINNZ6.js → chunk-DEQ47SBQ.js} +5 -5
  21. package/dist/safe-bash/command-chunks/{chunk-EV7A5FNN.js → chunk-FFFRLPXU.js} +2 -2
  22. package/dist/safe-bash/command-chunks/{chunk-4MVQE6CT.js → chunk-FYTBEGSY.js} +1 -1
  23. package/dist/safe-bash/command-chunks/{chunk-LFTGMUAV.js → chunk-HQIZR6EU.js} +192 -489
  24. package/dist/safe-bash/command-chunks/chunk-HS2L7I4N.js +219 -0
  25. package/dist/safe-bash/command-chunks/{chunk-WKS2PAZL.js → chunk-HUGKO4ZE.js} +10 -1
  26. package/dist/safe-bash/command-chunks/chunk-IGXH5W5Z.js +111 -0
  27. package/dist/safe-bash/command-chunks/{chunk-CMJBRGU2.js → chunk-IHQZKUBS.js} +1 -1
  28. package/dist/safe-bash/command-chunks/chunk-JADJ4BMN.js +1519 -0
  29. package/dist/safe-bash/command-chunks/{chunk-5AQAWIYK.js → chunk-JEZC5V3B.js} +4 -0
  30. package/dist/safe-bash/command-chunks/{chunk-YB5TNDY6.js → chunk-K5VJ4NNL.js} +39 -5
  31. package/dist/safe-bash/command-chunks/{chunk-7RQGRFHJ.js → chunk-KHWDEAE4.js} +2 -2
  32. package/dist/safe-bash/command-chunks/chunk-L54KVUSY.js +604 -0
  33. package/dist/safe-bash/command-chunks/{chunk-3NJETNC2.js → chunk-MBXNG6C3.js} +2 -2
  34. package/dist/safe-bash/command-chunks/{chunk-HCPEYQKT.js → chunk-N4SH6QY5.js} +285 -302
  35. package/dist/safe-bash/command-chunks/{chunk-3DID6MQY.js → chunk-OWTQYLID.js} +2 -2
  36. package/dist/safe-bash/command-chunks/{chunk-4EA7WI3L.js → chunk-QOOQD6BD.js} +42 -33
  37. package/dist/safe-bash/command-chunks/{chunk-RQTFK7AV.js → chunk-QZYEI4N6.js} +1 -1
  38. package/dist/safe-bash/command-chunks/{chunk-R3SLT3ZX.js → chunk-R6GON4H3.js} +11 -1
  39. package/dist/safe-bash/command-chunks/{chunk-2GILUQJY.js → chunk-R7ZGDHME.js} +3 -3
  40. package/dist/safe-bash/command-chunks/{chunk-HNEWGADJ.js → chunk-RUXOFW5G.js} +7 -6
  41. package/dist/safe-bash/command-chunks/{chunk-LKAFLJ5L.js → chunk-RWQKX44L.js} +1 -1
  42. package/dist/safe-bash/command-chunks/{chunk-PKH57OIC.js → chunk-SG2KOOD4.js} +2 -2
  43. package/dist/safe-bash/command-chunks/chunk-T4TGJYFV.js +60 -0
  44. package/dist/safe-bash/command-chunks/chunk-TGSNVLFZ.js +105 -0
  45. package/dist/safe-bash/command-chunks/{chunk-NXCJNPL3.js → chunk-UCE77LYV.js} +2 -1
  46. package/dist/safe-bash/command-chunks/{chunk-EWECMOQ5.js → chunk-UIHPHIKI.js} +1 -1
  47. package/dist/safe-bash/command-chunks/{chunk-XSZNL3GV.js → chunk-UJPWPRVB.js} +191 -146
  48. package/dist/safe-bash/command-chunks/{chunk-E5CDHXFA.js → chunk-VOR6YDZC.js} +26 -1
  49. package/dist/safe-bash/command-chunks/chunk-VSNVYOK2.js +30 -0
  50. package/dist/safe-bash/command-chunks/{chunk-4XYGJB24.js → chunk-VTH4AORO.js} +3 -3
  51. package/dist/safe-bash/command-chunks/{chunk-W5LH7D23.js → chunk-WKKJJBJQ.js} +8 -8
  52. package/dist/safe-bash/command-chunks/{chunk-OLXMWQJ5.js → chunk-WRO3PB2M.js} +1 -1
  53. package/dist/safe-bash/command-chunks/{chunk-RUAGHZNF.js → chunk-X5ODTF3E.js} +7 -5
  54. package/dist/safe-bash/command-chunks/{chunk-LH4VBNF6.js → chunk-XGTSP2CP.js} +84 -16
  55. package/dist/safe-bash/command-chunks/{chunk-K576GZED.js → chunk-XTHKXCF2.js} +2 -2
  56. package/dist/safe-bash/command-chunks/{chunk-J3VS55K4.js → chunk-YHRESVJ7.js} +9 -3
  57. package/dist/safe-bash/command-chunks/{chunk-UWIDPTOB.js → chunk-YSCKOUQP.js} +1 -1
  58. package/dist/safe-bash/command-chunks/{chunk-UYNJF5QN.js → chunk-ZALAWNOE.js} +76 -122
  59. package/dist/safe-bash/command-chunks/{chunk-OT75C5YS.js → chunk-ZYXKW2K7.js} +1 -1
  60. package/dist/safe-bash/command-chunks/{pdf-renderer-346WYKSZ.js → pdf-renderer-5QWOVFA4.js} +1 -1
  61. package/dist/safe-bash/command-chunks/{prompt-tool-debug-3POFNRYP.js → prompt-tool-debug-G7ATE7D5.js} +6 -4
  62. package/dist/safe-bash/commands/llm/index.browser.js +5 -1
  63. package/dist/safe-bash/commands/llm/index.js +1 -1
  64. package/dist/safe-bash/commands/python/executor.browser.js +3 -1
  65. package/dist/safe-bash/commands/python/executor.js +1 -1
  66. package/dist/safe-bash/commands/python/index.browser.js +5 -1
  67. package/dist/safe-bash/commands/python/index.js +1 -1
  68. package/dist/safe-bash/core.browser.js +2 -2
  69. package/dist/safe-bash/full-core.browser.js +10 -2
  70. package/dist/safe-bash-command-awk/awk-runtime.js +2 -2
  71. package/dist/safe-bash-command-awk/awk-syntax.js +1 -1
  72. package/dist/safe-bash-command-awk/awk.js +3 -3
  73. package/dist/safe-bash-command-awk/index.js +3 -3
  74. package/dist/safe-bash-command-gpg/index.js +11 -3
  75. package/dist/safe-bash-command-imagemagick/index.js +2 -2
  76. package/dist/safe-bash-command-llm/collections.js +6 -4
  77. package/dist/safe-bash-command-llm/command.js +4 -4
  78. package/dist/safe-bash-command-llm/import-json-document.d.ts +9 -2
  79. package/dist/safe-bash-command-llm/index.d.ts +2 -1
  80. package/dist/safe-bash-command-llm/index.js +10 -4
  81. package/dist/safe-bash-command-llm/loader-provider.d.ts +5 -0
  82. package/dist/safe-bash-command-mcp/index.js +10 -13
  83. package/dist/safe-bash-command-pdftoppm/index.js +2 -2
  84. package/dist/safe-bash-command-playwright-cli/index.js +2 -2
  85. package/dist/safe-bash-command-playwright-cli/playwright/ability-execution.d.ts +1 -0
  86. package/dist/safe-bash-command-playwright-cli/playwright/ability-execution.js +1 -1
  87. package/dist/safe-bash-command-playwright-cli/playwright/controller.d.ts +2 -0
  88. package/dist/safe-bash-command-playwright-cli/playwright/controller.js +2 -2
  89. package/dist/safe-bash-command-playwright-cli/playwright/index.js +2 -2
  90. package/dist/safe-bash-command-python/build-backend.d.ts +2 -0
  91. package/dist/safe-bash-command-python/cache.d.ts +1 -1
  92. package/dist/safe-bash-command-python/executor.d.ts +5 -2
  93. package/dist/safe-bash-command-python/executor.js +11 -6
  94. package/dist/safe-bash-command-python/host-capabilities.js +1 -1
  95. package/dist/safe-bash-command-python/index.js +11 -6
  96. package/dist/safe-bash-command-python/jspi.js +5 -3
  97. package/dist/safe-bash-command-python/manifest-file.d.ts +44 -0
  98. package/dist/safe-bash-command-python/manifest.d.ts +45 -0
  99. package/dist/safe-bash-command-python/provisioning.d.ts +20 -1
  100. package/dist/safe-bash-command-python/provisioning.js +3 -2
  101. package/dist/safe-bash-command-python/reply.js +7 -11
  102. package/dist/safe-bash-command-python/source-archive.js +2 -2
  103. package/dist/safe-bash-command-python/source-zip.js +2 -2
  104. package/dist/safe-bash-command-python/worker.js +34 -21
  105. package/dist/safe-bash-command-sqlite3/engine.d.ts +4 -0
  106. package/dist/safe-bash-command-sqlite3/index.js +174 -18
  107. package/dist/safe-bash-command-svgo/index.js +1 -1
  108. package/dist/safe-bash-command-tar/create.js +3 -3
  109. package/dist/safe-bash-command-tar/extract.js +3 -3
  110. package/dist/safe-bash-command-tar/index.js +5 -5
  111. package/dist/safe-bash-command-tar/modes.js +5 -5
  112. package/dist/safe-bash-command-tar/options.d.ts +1 -1
  113. package/dist/safe-bash-command-tar/options.js +1 -1
  114. package/dist/safe-bash-command-tar/stream.js +1 -1
  115. package/dist/safe-bash-command-wkhtmltopdf/index.js +1 -1
  116. package/dist/safe-bash-command-xan/argv.js +1 -1
  117. package/dist/safe-bash-command-xan/commands.js +3 -3
  118. package/dist/safe-bash-command-xan/index.js +3 -3
  119. package/dist/safe-bash-command-xan/io.js +2 -2
  120. package/dist/safe-bash-compression-engine/bounded-codec.js +3 -3
  121. package/dist/safe-bash-compression-engine/codec-loader.js +2 -2
  122. package/dist/safe-bash-compression-engine/files.js +6 -6
  123. package/dist/safe-bash-compression-engine/index.js +5 -5
  124. package/dist/safe-bash-compression-engine/operand.js +6 -6
  125. package/dist/safe-bash-compression-engine/options.js +1 -1
  126. package/dist/safe-bash-compression-engine/stream.js +5 -5
  127. package/dist/safe-bash-compression-engine/zstd-decode.js +4 -4
  128. package/dist/safe-bash-contracts/filesystem-descriptor.js +1 -1
  129. package/dist/safe-bash-contracts/filesystem-output.js +1 -1
  130. package/dist/safe-bash-csv-engine/index.js +6 -6
  131. package/dist/safe-bash-csv-engine/python-codec-aliases.js +1 -1
  132. package/dist/safe-bash-csv-engine/python-codepages.js +3 -3
  133. package/dist/safe-bash-csv-engine/python-file-codepages.js +2 -2
  134. package/dist/safe-bash-csv-engine/python-utf16.js +4 -4
  135. package/dist/safe-bash-csv-engine/text-decoder.js +6 -6
  136. package/dist/safe-bash-graphviz-engine/index.js +1 -1
  137. package/dist/safe-bash-pager-engine/index.js +2 -2
  138. package/dist/safe-bash-query-engine/capture.js +3 -3
  139. package/dist/safe-bash-query-engine/delpaths.js +3 -3
  140. package/dist/safe-bash-query-engine/formats.js +2 -2
  141. package/dist/safe-bash-query-engine/index.js +10 -10
  142. package/dist/safe-bash-query-engine/indices.js +3 -3
  143. package/dist/safe-bash-query-engine/input.d.ts +3 -3
  144. package/dist/safe-bash-query-engine/input.js +1 -1
  145. package/dist/safe-bash-query-engine/interpreter.js +9 -9
  146. package/dist/safe-bash-query-engine/query-core.js +10 -10
  147. package/dist/safe-bash-query-engine/regex.js +4 -4
  148. package/dist/safe-bash-query-engine/splits.js +5 -5
  149. package/dist/safe-bash-query-engine/values.js +2 -2
  150. package/package.json +2 -2
  151. package/dist/safe-bash/command-chunks/chunk-OOYVZAWL.js +0 -90
  152. package/dist/safe-bash/command-chunks/chunk-RZOHZGEZ.js +0 -772
  153. package/dist/safe-bash/command-chunks/chunk-WIUEM7HP.js +0 -58
  154. package/dist/safe-bash/command-chunks/chunk-WY6THI6J.js +0 -673
  155. package/dist/safe-bash/command-chunks/chunk-ZERCTWUI.js +0 -467
@@ -1,6 +1,7 @@
1
1
  import {
2
2
  LlmCancelToolCall,
3
3
  LlmLoaderLookupError,
4
+ LlmPluginExit,
4
5
  createElevenLabsProvider,
5
6
  createLlmCommand,
6
7
  createLlmCommands,
@@ -27,6 +28,7 @@ import {
27
28
  llmTemplateUsesInput,
28
29
  loadLlmPluginFragments,
29
30
  openAiChatOptions,
31
+ openLlmJsonDocument,
30
32
  parseLlmSchemaDsl,
31
33
  resolveLlmSchemaInput,
32
34
  resolveLlmUrlAttachment,
@@ -40,10 +42,11 @@ import {
40
42
  templateYaml,
41
43
  validateLlmTemplateParameters,
42
44
  validateModelOptions
43
- } from "../../chunks/chunk-363QOIDR.js";
45
+ } from "../../chunks/chunk-T6FHWSHM.js";
44
46
  export {
45
47
  LlmCancelToolCall,
46
48
  LlmLoaderLookupError,
49
+ LlmPluginExit,
47
50
  createElevenLabsProvider,
48
51
  createLlmCommand,
49
52
  createLlmCommands,
@@ -70,6 +73,7 @@ export {
70
73
  llmTemplateUsesInput,
71
74
  loadLlmPluginFragments,
72
75
  openAiChatOptions,
76
+ openLlmJsonDocument,
73
77
  parseLlmSchemaDsl,
74
78
  resolveLlmSchemaInput,
75
79
  resolveLlmUrlAttachment,
@@ -1,2 +1,2 @@
1
- export { "LlmCancelToolCall", "LlmLoaderLookupError", "createElevenLabsProvider", "createLlmCommand", "createLlmCommands", "createLlmConfiguration", "createLlmFragmentLoaders", "createLlmFragmentSource", "createLlmInputBudget", "createLlmService", "createLlmSpool", "createLlmTemplateStore", "createLlmToolRegistry", "createLlmUrlFragmentSource", "createLlmUrlSource", "createOpenAiProvider", "encodeLlmBase64", "evaluateLlmTemplate", "executeLlmToolCalls", "findExtractedRange", "getLlmAttachmentUrlId", "getLlmFragmentPrefix", "getLlmModelAliases", "llmCommands", "llmReferenceVersion", "llmTemplateUsesInput", "loadLlmPluginFragments", "openAiChatOptions", "parseLlmSchemaDsl", "resolveLlmSchemaInput", "resolveLlmUrlAttachment", "selectLlmModelByQuery", "selectLlmTools", "serializeLlmJsonString", "serializeLlmJsonValue", "serializeLlmTokenUsage", "serializeOpenAiChatRequest", "streamLlmToolChain", "templateYaml", "validateLlmTemplateParameters", "validateModelOptions" } from "../../../safe-bash-command-llm/index.js";
1
+ export { "LlmCancelToolCall", "LlmLoaderLookupError", "LlmPluginExit", "createElevenLabsProvider", "createLlmCommand", "createLlmCommands", "createLlmConfiguration", "createLlmFragmentLoaders", "createLlmFragmentSource", "createLlmInputBudget", "createLlmService", "createLlmSpool", "createLlmTemplateStore", "createLlmToolRegistry", "createLlmUrlFragmentSource", "createLlmUrlSource", "createOpenAiProvider", "encodeLlmBase64", "evaluateLlmTemplate", "executeLlmToolCalls", "findExtractedRange", "getLlmAttachmentUrlId", "getLlmFragmentPrefix", "getLlmModelAliases", "llmCommands", "llmReferenceVersion", "llmTemplateUsesInput", "loadLlmPluginFragments", "openAiChatOptions", "openLlmJsonDocument", "parseLlmSchemaDsl", "resolveLlmSchemaInput", "resolveLlmUrlAttachment", "selectLlmModelByQuery", "selectLlmTools", "serializeLlmJsonString", "serializeLlmJsonValue", "serializeLlmTokenUsage", "serializeOpenAiChatRequest", "streamLlmToolChain", "templateYaml", "validateLlmTemplateParameters", "validateModelOptions" } from "../../../safe-bash-command-llm/index.js";
2
2
  //# sourceMappingURL=index.js.map
@@ -1,5 +1,5 @@
1
1
  // packages/safe-bash/src/commands/python/executor.ts
2
- import { PythonFailure, PythonPackageConflictError, createPythonBuildBackend, createPythonBuildDependencies, createPythonBuildEnvironment, createPythonExecutorCommands, createPythonExecutorPool, createPythonHostBridge, createPythonJspiAssets, createPythonJspiExecutor, createPythonJspiNativeCall, createPythonJspiStatResult, createPythonJspiTrampoline, createPythonLlmCapability, createPythonLlmFragmentLoader, createPythonLlmLoaderDiscovery, createPythonLlmLoaderProvider, createPythonLlmPackageManager, createPythonLlmTemplateLoader, createPythonLlmToolLoader, createPythonPackageCache, createPythonPackageEnvironment, createPythonPackageManifestStore, createPythonShellCapability, createPythonSourcePackageEnvironment, createPythonSourceSnapshot, inspectPythonCapabilities, installPythonLlmDependencies, installPythonLlmPackages, publishPythonBuildWheel, pythonDocumentPackages, pythonExecutorCommands, pythonHostFailureCode, pythonLlmDependencies, pythonLlmPackages } from "../../../safe-bash-command-python/executor.js";
2
+ import { PythonFailure, PythonPackageConflictError, createPythonBuildBackend, createPythonBuildDependencies, createPythonBuildEnvironment, createPythonExecutorCommands, createPythonExecutorPool, createPythonHostBridge, createPythonJspiAssets, createPythonJspiExecutor, createPythonJspiNativeCall, createPythonJspiStatResult, createPythonJspiTrampoline, createPythonLlmCapability, createPythonLlmFragmentLoader, createPythonLlmLoaderDiscovery, createPythonLlmLoaderProvider, createPythonLlmPackageManager, createPythonLlmTemplateLoader, createPythonLlmToolLoader, createPythonPackageCache, createPythonPackageEnvironment, createPythonPackageFileManifestStore, createPythonPackageManifestStore, createPythonPackageStreamingManifestStore, createPythonShellCapability, createPythonSourcePackageEnvironment, createPythonSourceSnapshot, inspectPythonCapabilities, installPythonLlmDependencies, installPythonLlmPackages, publishPythonBuildWheel, pythonDocumentPackages, pythonExecutorCommands, pythonHostFailureCode, pythonLlmDependencies, pythonLlmPackages } from "../../../safe-bash-command-python/executor.js";
3
3
  export {
4
4
  PythonFailure,
5
5
  PythonPackageConflictError,
@@ -23,7 +23,9 @@ export {
23
23
  createPythonLlmToolLoader,
24
24
  createPythonPackageCache,
25
25
  createPythonPackageEnvironment,
26
+ createPythonPackageFileManifestStore,
26
27
  createPythonPackageManifestStore,
28
+ createPythonPackageStreamingManifestStore,
27
29
  createPythonShellCapability,
28
30
  createPythonSourcePackageEnvironment,
29
31
  createPythonSourceSnapshot,
@@ -1,2 +1,2 @@
1
- export { "PythonFailure", "PythonPackageConflictError", "createPythonBuildBackend", "createPythonBuildDependencies", "createPythonBuildEnvironment", "createPythonExecutorCommands", "createPythonExecutorPool", "createPythonHostBridge", "createPythonJspiAssets", "createPythonJspiExecutor", "createPythonJspiNativeCall", "createPythonJspiStatResult", "createPythonJspiTrampoline", "createPythonLlmCapability", "createPythonLlmFragmentLoader", "createPythonLlmLoaderDiscovery", "createPythonLlmLoaderProvider", "createPythonLlmPackageManager", "createPythonLlmTemplateLoader", "createPythonLlmToolLoader", "createPythonPackageCache", "createPythonPackageEnvironment", "createPythonPackageManifestStore", "createPythonShellCapability", "createPythonSourcePackageEnvironment", "createPythonSourceSnapshot", "inspectPythonCapabilities", "installPythonLlmDependencies", "installPythonLlmPackages", "publishPythonBuildWheel", "pythonDocumentPackages", "pythonExecutorCommands", "pythonHostFailureCode", "pythonLlmDependencies", "pythonLlmPackages" } from "../../../safe-bash-command-python/executor.js";
1
+ export { "PythonFailure", "PythonPackageConflictError", "createPythonBuildBackend", "createPythonBuildDependencies", "createPythonBuildEnvironment", "createPythonExecutorCommands", "createPythonExecutorPool", "createPythonHostBridge", "createPythonJspiAssets", "createPythonJspiExecutor", "createPythonJspiNativeCall", "createPythonJspiStatResult", "createPythonJspiTrampoline", "createPythonLlmCapability", "createPythonLlmFragmentLoader", "createPythonLlmLoaderDiscovery", "createPythonLlmLoaderProvider", "createPythonLlmPackageManager", "createPythonLlmTemplateLoader", "createPythonLlmToolLoader", "createPythonPackageCache", "createPythonPackageEnvironment", "createPythonPackageFileManifestStore", "createPythonPackageManifestStore", "createPythonPackageStreamingManifestStore", "createPythonShellCapability", "createPythonSourcePackageEnvironment", "createPythonSourceSnapshot", "inspectPythonCapabilities", "installPythonLlmDependencies", "installPythonLlmPackages", "publishPythonBuildWheel", "pythonDocumentPackages", "pythonExecutorCommands", "pythonHostFailureCode", "pythonLlmDependencies", "pythonLlmPackages" } from "../../../safe-bash-command-python/executor.js";
2
2
  //# sourceMappingURL=executor.js.map
@@ -22,7 +22,9 @@ import {
22
22
  createPythonLlmToolLoader,
23
23
  createPythonPackageCache,
24
24
  createPythonPackageEnvironment,
25
+ createPythonPackageFileManifestStore,
25
26
  createPythonPackageManifestStore,
27
+ createPythonPackageStreamingManifestStore,
26
28
  createPythonShellCapability,
27
29
  createPythonSourcePackageEnvironment,
28
30
  createPythonSourceSnapshot,
@@ -36,7 +38,7 @@ import {
36
38
  pythonHostFailureCode,
37
39
  pythonLlmDependencies,
38
40
  pythonLlmPackages
39
- } from "../../chunks/chunk-AGHV53VF.js";
41
+ } from "../../chunks/chunk-M6XFU6LQ.js";
40
42
  export {
41
43
  PythonFailure,
42
44
  PythonPackageConflictError,
@@ -61,7 +63,9 @@ export {
61
63
  createPythonLlmToolLoader,
62
64
  createPythonPackageCache,
63
65
  createPythonPackageEnvironment,
66
+ createPythonPackageFileManifestStore,
64
67
  createPythonPackageManifestStore,
68
+ createPythonPackageStreamingManifestStore,
65
69
  createPythonShellCapability,
66
70
  createPythonSourcePackageEnvironment,
67
71
  createPythonSourceSnapshot,
@@ -1,2 +1,2 @@
1
- export { "PythonFailure", "PythonPackageConflictError", "createPythonBuildBackend", "createPythonBuildDependencies", "createPythonBuildEnvironment", "createPythonCommands", "createPythonExecutorCommands", "createPythonExecutorPool", "createPythonHostBridge", "createPythonJspiAssets", "createPythonJspiExecutor", "createPythonJspiNativeCall", "createPythonJspiStatResult", "createPythonJspiTrampoline", "createPythonLlmCapability", "createPythonLlmFragmentLoader", "createPythonLlmLoaderDiscovery", "createPythonLlmLoaderProvider", "createPythonLlmPackageManager", "createPythonLlmTemplateLoader", "createPythonLlmToolLoader", "createPythonPackageCache", "createPythonPackageEnvironment", "createPythonPackageManifestStore", "createPythonShellCapability", "createPythonSourcePackageEnvironment", "createPythonSourceSnapshot", "inspectPythonCapabilities", "installPythonLlmDependencies", "installPythonLlmPackages", "publishPythonBuildWheel", "pythonCommands", "pythonDocumentPackages", "pythonExecutorCommands", "pythonHostFailureCode", "pythonLlmDependencies", "pythonLlmPackages" } from "../../../safe-bash-command-python/index.js";
1
+ export { "PythonFailure", "PythonPackageConflictError", "createPythonBuildBackend", "createPythonBuildDependencies", "createPythonBuildEnvironment", "createPythonCommands", "createPythonExecutorCommands", "createPythonExecutorPool", "createPythonHostBridge", "createPythonJspiAssets", "createPythonJspiExecutor", "createPythonJspiNativeCall", "createPythonJspiStatResult", "createPythonJspiTrampoline", "createPythonLlmCapability", "createPythonLlmFragmentLoader", "createPythonLlmLoaderDiscovery", "createPythonLlmLoaderProvider", "createPythonLlmPackageManager", "createPythonLlmTemplateLoader", "createPythonLlmToolLoader", "createPythonPackageCache", "createPythonPackageEnvironment", "createPythonPackageFileManifestStore", "createPythonPackageManifestStore", "createPythonPackageStreamingManifestStore", "createPythonShellCapability", "createPythonSourcePackageEnvironment", "createPythonSourceSnapshot", "inspectPythonCapabilities", "installPythonLlmDependencies", "installPythonLlmPackages", "publishPythonBuildWheel", "pythonCommands", "pythonDocumentPackages", "pythonExecutorCommands", "pythonHostFailureCode", "pythonLlmDependencies", "pythonLlmPackages" } from "../../../safe-bash-command-python/index.js";
2
2
  //# sourceMappingURL=index.js.map
@@ -3,6 +3,6 @@ export { CommandRegistry, Shell, ShellLimitError, ShellSyntaxError, cloudflareWo
3
3
  export { baseAgentCommands, createBoundedRegexProvider } from "./registry-entry.browser.js";
4
4
  export { agentCommands, createAgentCommands } from "./plugins/index.browser.js";
5
5
  export { EreLedger, EreProfileLimitError, EreSyntaxError, EreUnsupportedError, EreUsageUnknownError, RegexExecutionError, RegexExecutor, RegexSession, compileEre, matchEre } from "./commands/regex-execution/public.browser.js";
6
- export { PythonFailure, PythonPackageConflictError, createPythonBuildBackend, createPythonBuildDependencies, createPythonBuildEnvironment, createPythonExecutorCommands, createPythonExecutorPool, createPythonHostBridge, createPythonJspiAssets, createPythonJspiExecutor, createPythonJspiNativeCall, createPythonJspiStatResult, createPythonJspiTrampoline, createPythonLlmCapability, createPythonLlmFragmentLoader, createPythonLlmLoaderDiscovery, createPythonLlmLoaderProvider, createPythonLlmPackageManager, createPythonLlmTemplateLoader, createPythonLlmToolLoader, createPythonPackageCache, createPythonPackageEnvironment, createPythonPackageManifestStore, createPythonShellCapability, createPythonSourcePackageEnvironment, createPythonSourceSnapshot, inspectPythonCapabilities, installPythonLlmDependencies, installPythonLlmPackages, publishPythonBuildWheel, pythonDocumentPackages, pythonExecutorCommands, pythonHostFailureCode, pythonLlmDependencies, pythonLlmPackages } from "./commands/python/executor.browser.js";
6
+ export { PythonFailure, PythonPackageConflictError, createPythonBuildBackend, createPythonBuildDependencies, createPythonBuildEnvironment, createPythonExecutorCommands, createPythonExecutorPool, createPythonHostBridge, createPythonJspiAssets, createPythonJspiExecutor, createPythonJspiNativeCall, createPythonJspiStatResult, createPythonJspiTrampoline, createPythonLlmCapability, createPythonLlmFragmentLoader, createPythonLlmLoaderDiscovery, createPythonLlmLoaderProvider, createPythonLlmPackageManager, createPythonLlmTemplateLoader, createPythonLlmToolLoader, createPythonPackageCache, createPythonPackageEnvironment, createPythonPackageFileManifestStore, createPythonPackageManifestStore, createPythonPackageStreamingManifestStore, createPythonShellCapability, createPythonSourcePackageEnvironment, createPythonSourceSnapshot, inspectPythonCapabilities, installPythonLlmDependencies, installPythonLlmPackages, publishPythonBuildWheel, pythonDocumentPackages, pythonExecutorCommands, pythonHostFailureCode, pythonLlmDependencies, pythonLlmPackages } from "./commands/python/executor.browser.js";
7
7
  export { createPythonCommands, pythonCommands } from "./commands/python/index.browser.js";
8
- export { LlmCancelToolCall, LlmLoaderLookupError, createElevenLabsProvider, createLlmCommand, createLlmCommands, createLlmConfiguration, createLlmFragmentLoaders, createLlmFragmentSource, createLlmInputBudget, createLlmService, createLlmSpool, createLlmTemplateStore, createLlmToolRegistry, createLlmUrlFragmentSource, createLlmUrlSource, createOpenAiProvider, encodeLlmBase64, evaluateLlmTemplate, executeLlmToolCalls, findExtractedRange, getLlmAttachmentUrlId, getLlmFragmentPrefix, getLlmModelAliases, llmCommands, llmReferenceVersion, llmTemplateUsesInput, loadLlmPluginFragments, openAiChatOptions, parseLlmSchemaDsl, resolveLlmSchemaInput, resolveLlmUrlAttachment, selectLlmModelByQuery, selectLlmTools, serializeLlmJsonString, serializeLlmJsonValue, serializeLlmTokenUsage, serializeOpenAiChatRequest, streamLlmToolChain, templateYaml, validateLlmTemplateParameters, validateModelOptions } from "./commands/llm/index.browser.js";
8
+ export { LlmCancelToolCall, LlmLoaderLookupError, LlmPluginExit, createElevenLabsProvider, createLlmCommand, createLlmCommands, createLlmConfiguration, createLlmFragmentLoaders, createLlmFragmentSource, createLlmInputBudget, createLlmService, createLlmSpool, createLlmTemplateStore, createLlmToolRegistry, createLlmUrlFragmentSource, createLlmUrlSource, createOpenAiProvider, encodeLlmBase64, evaluateLlmTemplate, executeLlmToolCalls, findExtractedRange, getLlmAttachmentUrlId, getLlmFragmentPrefix, getLlmModelAliases, llmCommands, llmReferenceVersion, llmTemplateUsesInput, loadLlmPluginFragments, openAiChatOptions, openLlmJsonDocument, parseLlmSchemaDsl, resolveLlmSchemaInput, resolveLlmUrlAttachment, selectLlmModelByQuery, selectLlmTools, serializeLlmJsonString, serializeLlmJsonValue, serializeLlmTokenUsage, serializeOpenAiChatRequest, streamLlmToolChain, templateYaml, validateLlmTemplateParameters, validateModelOptions } from "./commands/llm/index.browser.js";
@@ -62,6 +62,7 @@ import {
62
62
  import {
63
63
  LlmCancelToolCall,
64
64
  LlmLoaderLookupError,
65
+ LlmPluginExit,
65
66
  createElevenLabsProvider,
66
67
  createLlmCommand,
67
68
  createLlmCommands,
@@ -88,6 +89,7 @@ import {
88
89
  llmTemplateUsesInput,
89
90
  loadLlmPluginFragments,
90
91
  openAiChatOptions,
92
+ openLlmJsonDocument,
91
93
  parseLlmSchemaDsl,
92
94
  resolveLlmSchemaInput,
93
95
  resolveLlmUrlAttachment,
@@ -101,7 +103,7 @@ import {
101
103
  templateYaml,
102
104
  validateLlmTemplateParameters,
103
105
  validateModelOptions
104
- } from "./chunks/chunk-363QOIDR.js";
106
+ } from "./chunks/chunk-T6FHWSHM.js";
105
107
  import {
106
108
  cloudflareWorkerLimits,
107
109
  mapfileExtension,
@@ -356,7 +358,9 @@ import {
356
358
  createPythonLlmToolLoader,
357
359
  createPythonPackageCache,
358
360
  createPythonPackageEnvironment,
361
+ createPythonPackageFileManifestStore,
359
362
  createPythonPackageManifestStore,
363
+ createPythonPackageStreamingManifestStore,
360
364
  createPythonShellCapability,
361
365
  createPythonSourcePackageEnvironment,
362
366
  createPythonSourceSnapshot,
@@ -370,7 +374,7 @@ import {
370
374
  pythonHostFailureCode,
371
375
  pythonLlmDependencies,
372
376
  pythonLlmPackages
373
- } from "./chunks/chunk-AGHV53VF.js";
377
+ } from "./chunks/chunk-M6XFU6LQ.js";
374
378
  import {
375
379
  captureEnvironment,
376
380
  createDocumentHandlers,
@@ -1011,6 +1015,7 @@ export {
1011
1015
  InputByteBudget,
1012
1016
  LlmCancelToolCall,
1013
1017
  LlmLoaderLookupError,
1018
+ LlmPluginExit,
1014
1019
  MdqError,
1015
1020
  MemoryFileSystem,
1016
1021
  MockS3Client,
@@ -1330,7 +1335,9 @@ export {
1330
1335
  createPythonLlmToolLoader,
1331
1336
  createPythonPackageCache,
1332
1337
  createPythonPackageEnvironment,
1338
+ createPythonPackageFileManifestStore,
1333
1339
  createPythonPackageManifestStore,
1340
+ createPythonPackageStreamingManifestStore,
1334
1341
  createPythonShellCapability,
1335
1342
  createPythonSourcePackageEnvironment,
1336
1343
  createPythonSourceSnapshot,
@@ -1608,6 +1615,7 @@ export {
1608
1615
  odCommands,
1609
1616
  opCommands,
1610
1617
  openAiChatOptions,
1618
+ openLlmJsonDocument,
1611
1619
  opensslCommands,
1612
1620
  optionalCommandCatalog,
1613
1621
  optionalCommands,
@@ -1,7 +1,7 @@
1
1
  import {
2
2
  AwkRuntime
3
- } from "../safe-bash/command-chunks/chunk-YB5TNDY6.js";
4
- import "../safe-bash/command-chunks/chunk-FMGNXOMV.js";
3
+ } from "../safe-bash/command-chunks/chunk-K5VJ4NNL.js";
4
+ import "../safe-bash/command-chunks/chunk-2L3NMRLG.js";
5
5
  import "../safe-bash/command-chunks/chunk-IM45EHCD.js";
6
6
  import "../safe-bash/command-chunks/chunk-HUYIW3BQ.js";
7
7
  import "../safe-bash/command-chunks/chunk-JA4LDLML.js";
@@ -3,7 +3,7 @@ import {
3
3
  builtinArities,
4
4
  decodeString,
5
5
  isLvalue
6
- } from "../safe-bash/command-chunks/chunk-FMGNXOMV.js";
6
+ } from "../safe-bash/command-chunks/chunk-2L3NMRLG.js";
7
7
  import "../safe-bash/command-chunks/chunk-HUYIW3BQ.js";
8
8
  import "../safe-bash/command-chunks/chunk-65DS4IOB.js";
9
9
  export {
@@ -1,9 +1,9 @@
1
1
  import {
2
2
  awkCommand
3
- } from "../safe-bash/command-chunks/chunk-3DID6MQY.js";
3
+ } from "../safe-bash/command-chunks/chunk-OWTQYLID.js";
4
4
  import "../safe-bash/command-chunks/chunk-4D27OCWG.js";
5
- import "../safe-bash/command-chunks/chunk-YB5TNDY6.js";
6
- import "../safe-bash/command-chunks/chunk-FMGNXOMV.js";
5
+ import "../safe-bash/command-chunks/chunk-K5VJ4NNL.js";
6
+ import "../safe-bash/command-chunks/chunk-2L3NMRLG.js";
7
7
  import "../safe-bash/command-chunks/chunk-IM45EHCD.js";
8
8
  import "../safe-bash/command-chunks/chunk-DDYPQAXN.js";
9
9
  import "../safe-bash/command-chunks/chunk-HUYIW3BQ.js";
@@ -1,9 +1,9 @@
1
1
  import {
2
2
  awkCommand
3
- } from "../safe-bash/command-chunks/chunk-3DID6MQY.js";
3
+ } from "../safe-bash/command-chunks/chunk-OWTQYLID.js";
4
4
  import "../safe-bash/command-chunks/chunk-4D27OCWG.js";
5
- import "../safe-bash/command-chunks/chunk-YB5TNDY6.js";
6
- import "../safe-bash/command-chunks/chunk-FMGNXOMV.js";
5
+ import "../safe-bash/command-chunks/chunk-K5VJ4NNL.js";
6
+ import "../safe-bash/command-chunks/chunk-2L3NMRLG.js";
7
7
  import "../safe-bash/command-chunks/chunk-IM45EHCD.js";
8
8
  import "../safe-bash/command-chunks/chunk-DDYPQAXN.js";
9
9
  import "../safe-bash/command-chunks/chunk-HUYIW3BQ.js";
@@ -446,6 +446,7 @@ function createGpgCommand(options = {}) {
446
446
  let symmetric = false;
447
447
  let decrypt = false;
448
448
  let armor = false;
449
+ let withColons = false;
449
450
  let passphrase;
450
451
  let passphraseFile;
451
452
  let passphraseFd;
@@ -469,6 +470,7 @@ function createGpgCommand(options = {}) {
469
470
  quickGenKey = true;
470
471
  else if (a === "--export") exportKeys = true;
471
472
  else if (a === "--import") importKeys = true;
473
+ else if (a === "--with-colons") withColons = true;
472
474
  else if ((a === "-u" || a === "--local-user") && i + 1 < args.length) signerUid = args[++i];
473
475
  else if (a.startsWith("-bsau") && a.length > 5) {
474
476
  detachSign = true;
@@ -551,10 +553,16 @@ uid [ultimate] ${key.uid}
551
553
  }
552
554
  if (listKeys) {
553
555
  const keys = await loadKeyring(context);
556
+ const filtered = positionals.length === 0 ? keys : keys.filter((k) => positionals.some((q) => k.uid.includes(q) || k.keyIdHex.includes(q.toUpperCase())));
554
557
  const lines = [];
555
- for (const k of keys) {
556
- lines.push(`sec ed25519/${k.keyIdHex} 2026-09-28 [SC]`);
557
- lines.push(`uid [ultimate] ${k.uid}`);
558
+ for (const k of filtered) {
559
+ if (withColons) {
560
+ lines.push(`sec:u:255:22:${k.keyIdHex}:1790553600:::u:::scESC:::+:::23::0:`);
561
+ lines.push(`uid:u::::1790553600::${k.keyIdHex}::${k.uid}::::::::::0:`);
562
+ } else {
563
+ lines.push(`sec ed25519/${k.keyIdHex} 2026-09-28 [SC]`);
564
+ lines.push(`uid [ultimate] ${k.uid}`);
565
+ }
558
566
  }
559
567
  await writeText(context.stdout, lines.length > 0 ? `${lines.join("\n")}
560
568
  ` : "");
@@ -966,7 +966,7 @@ async function decodeFileImage(source, storage, filesystem, cwd, signal, options
966
966
 
967
967
  // packages/safe-bash-command-imagemagick/src/compare-file.ts
968
968
  import { readImageMetadataFromSource, tryPdfMetadata, readImageMetadata, decodeImage, encodeStoredImage as encodeStoredImage2, tryImageFile, UnsupportedStoredResource as UnsupportedStoredResource2, UnsupportedImageFormat as UnsupportedImageFormat2 } from "../image-ast/portable.js";
969
- import { PagedStorage as PagedStorage2 } from "@poe-platform/safe-fs/storage";
969
+ import { PagedStorage as PagedStorage2, PagedStorageCache } from "@poe-platform/safe-fs/storage";
970
970
  import { FsError as FsError2 } from "@poe-platform/safe-fs/contracts";
971
971
  import { resolvePath as resolvePath2 } from "../safe-bash-contracts/path.js";
972
972
  import { writeBytes } from "../safe-bash-contracts/io.js";
@@ -981,7 +981,7 @@ var CompareInputFailure = class extends Error {
981
981
  };
982
982
  async function withCompareFiles(input, stdinBytes, signal, run) {
983
983
  const { filesystem: fs, cwd, stdout, registerCleanup } = input, context = { signal, ...registerCleanup ? { registerCleanup } : {} }, io = { signal };
984
- const storage = new PagedStorage2({ fs, cwd, env: {}, signal });
984
+ const storage = new PagedStorage2({ fs, cwd, env: {}, signal }, 16, new PagedStorageCache(16, 65536));
985
985
  const snapshots = new EncodedSnapshots(storage, signal);
986
986
  let failed = true;
987
987
  const materialize = async (source) => {
@@ -1,8 +1,10 @@
1
1
  import {
2
2
  decodeLlmText,
3
- indentLlmText,
3
+ indentLlmText
4
+ } from "../safe-bash/command-chunks/chunk-T4TGJYFV.js";
5
+ import {
4
6
  withEmbeddingJsonDocument
5
- } from "../safe-bash/command-chunks/chunk-UYNJF5QN.js";
7
+ } from "../safe-bash/command-chunks/chunk-ZALAWNOE.js";
6
8
  import {
7
9
  acquireEmbeddingInput,
8
10
  commandArguments,
@@ -11,13 +13,13 @@ import {
11
13
  embeddingText,
12
14
  hasUnpairedSurrogate,
13
15
  pythonSurrogateId
14
- } from "../safe-bash/command-chunks/chunk-7ZQVMPSB.js";
16
+ } from "../safe-bash/command-chunks/chunk-5CAXR62E.js";
15
17
  import {
16
18
  createLlmSpool,
17
19
  fileSource,
18
20
  floatText,
19
21
  isPythonPrintable
20
- } from "../safe-bash/command-chunks/chunk-E5CDHXFA.js";
22
+ } from "../safe-bash/command-chunks/chunk-VOR6YDZC.js";
21
23
  import {
22
24
  tokenInteger
23
25
  } from "../safe-bash/command-chunks/chunk-GDH7OVYK.js";
@@ -3,10 +3,10 @@ import {
3
3
  createLlmCommands,
4
4
  llmCommands,
5
5
  llmReferenceVersion
6
- } from "../safe-bash/command-chunks/chunk-4EA7WI3L.js";
7
- import "../safe-bash/command-chunks/chunk-EWECMOQ5.js";
8
- import "../safe-bash/command-chunks/chunk-7ZQVMPSB.js";
9
- import "../safe-bash/command-chunks/chunk-E5CDHXFA.js";
6
+ } from "../safe-bash/command-chunks/chunk-QOOQD6BD.js";
7
+ import "../safe-bash/command-chunks/chunk-UIHPHIKI.js";
8
+ import "../safe-bash/command-chunks/chunk-5CAXR62E.js";
9
+ import "../safe-bash/command-chunks/chunk-VOR6YDZC.js";
10
10
  import "../safe-bash/command-chunks/chunk-SENLC5KK.js";
11
11
  import "../safe-bash/command-chunks/chunk-3PO534WJ.js";
12
12
  import "../safe-bash/command-chunks/chunk-B74LVFAN.js";
@@ -23,11 +23,18 @@ export interface EmbeddingJsonDocument {
23
23
  }
24
24
  /** Validate a complete JSON document before exposing caller-backed records.
25
25
  * Code points remain distinct even when their JavaScript strings look alike. */
26
- export declare function withEmbeddingJsonDocument<T>(options: {
26
+ export interface JsonDocumentOptions {
27
27
  fs: FileSystem;
28
28
  directory: string;
29
29
  signal: AbortSignal;
30
30
  maxFileBytes: number;
31
31
  maxOpenFiles: number;
32
- }, input: AsyncIterable<Uint8Array>, operation: (document: EmbeddingJsonDocument) => Promise<T>): Promise<T>;
32
+ profile?: 'python39' | 'javascript';
33
+ maxControlBytes?: number;
34
+ }
35
+ export declare function openJsonDocument(options: JsonDocumentOptions, input: AsyncIterable<Uint8Array>): Promise<EmbeddingJsonDocument & {
36
+ close(): Promise<void>;
37
+ }>;
38
+ /** Scoped compatibility helper; explicit readers must close their returned lease. */
39
+ export declare function withEmbeddingJsonDocument<T>(options: JsonDocumentOptions, input: AsyncIterable<Uint8Array>, operation: (document: EmbeddingJsonDocument) => Promise<T>): Promise<T>;
33
40
  export {};
@@ -1,5 +1,5 @@
1
1
  export { serializeLlmTokenUsage } from "./usage.js";
2
- export { LlmLoaderLookupError, type LlmLoaderProvider, type LlmDiscoveredLoaders, type LlmLoaderDiscoveryContext } from './loader-provider.js';
2
+ export { LlmLoaderLookupError, LlmPluginExit, type LlmLoaderProvider, type LlmDiscoveredLoaders, type LlmLoaderDiscoveryContext } from './loader-provider.js';
3
3
  export { createLlmToolRegistry, selectLlmTools, type LlmRegisteredTool, type LlmToolLoader, type LlmToolboxDescription, type LlmPluginQuery, type LlmPluginInfo } from './tool-registry.js';
4
4
  export { executeLlmToolCalls, LlmCancelToolCall, type LlmToolContext, type LlmToolOutput, type LlmExecutableTool, type LlmToolExecutionResult, type LlmToolExecutionOptions } from './tool-execution.js';
5
5
  export type { LlmTool, LlmToolCall, LlmMessage } from "./types.js";
@@ -28,3 +28,4 @@ export { createLlmFragmentSource, type LlmFragmentInputSource, type LlmFragmentS
28
28
  export { createLlmUrlFragmentSource } from "./url-fragment-source.js";
29
29
  export { streamLlmToolChain, type LlmToolChainOptions } from "./tool-chain.js";
30
30
  export { createLlmFragmentLoaders, loadLlmPluginFragments, getLlmFragmentPrefix, type LlmFragmentLoader, type LlmFragmentLoaderContext, type LlmLoadedFragment } from "./fragment-loaders.js";
31
+ export { openJsonDocument as openLlmJsonDocument, type EmbeddingJsonDocument as LlmJsonDocument, type EmbeddingJsonNode as LlmJsonNode } from './import-json-document.js';
@@ -1,6 +1,9 @@
1
1
  import {
2
2
  templateYaml
3
3
  } from "../safe-bash/command-chunks/chunk-4AOPWK4N.js";
4
+ import {
5
+ openJsonDocument
6
+ } from "../safe-bash/command-chunks/chunk-ZALAWNOE.js";
4
7
  import "../safe-bash/command-chunks/chunk-54KLOXWD.js";
5
8
  import {
6
9
  createElevenLabsProvider
@@ -19,6 +22,7 @@ import "../safe-bash/command-chunks/chunk-HLRLMFMS.js";
19
22
  import {
20
23
  LlmCancelToolCall,
21
24
  LlmLoaderLookupError,
25
+ LlmPluginExit,
22
26
  createLlmCommand,
23
27
  createLlmCommands,
24
28
  createLlmFragmentLoaders,
@@ -44,14 +48,14 @@ import {
44
48
  serializeLlmTokenUsage,
45
49
  streamLlmToolChain,
46
50
  validateLlmTemplateParameters
47
- } from "../safe-bash/command-chunks/chunk-4EA7WI3L.js";
48
- import "../safe-bash/command-chunks/chunk-EWECMOQ5.js";
51
+ } from "../safe-bash/command-chunks/chunk-QOOQD6BD.js";
52
+ import "../safe-bash/command-chunks/chunk-UIHPHIKI.js";
49
53
  import {
50
54
  createLlmConfiguration
51
- } from "../safe-bash/command-chunks/chunk-7ZQVMPSB.js";
55
+ } from "../safe-bash/command-chunks/chunk-5CAXR62E.js";
52
56
  import {
53
57
  createLlmSpool
54
- } from "../safe-bash/command-chunks/chunk-E5CDHXFA.js";
58
+ } from "../safe-bash/command-chunks/chunk-VOR6YDZC.js";
55
59
  import {
56
60
  createLlmService,
57
61
  validateModelOptions
@@ -78,6 +82,7 @@ import "../safe-bash/command-chunks/chunk-65DS4IOB.js";
78
82
  export {
79
83
  LlmCancelToolCall,
80
84
  LlmLoaderLookupError,
85
+ LlmPluginExit,
81
86
  createElevenLabsProvider,
82
87
  createLlmCommand,
83
88
  createLlmCommands,
@@ -104,6 +109,7 @@ export {
104
109
  llmTemplateUsesInput,
105
110
  loadLlmPluginFragments,
106
111
  openAiChatOptions,
112
+ openJsonDocument as openLlmJsonDocument,
107
113
  parseLlmSchemaDsl,
108
114
  resolveLlmSchemaInput,
109
115
  resolveUrlAttachment as resolveLlmUrlAttachment,
@@ -18,6 +18,11 @@ export interface LlmLoaderProvider {
18
18
  /** Lookup failures precede loader execution and retain their native diagnostic. */
19
19
  export declare class LlmLoaderLookupError extends Error {
20
20
  }
21
+ /** An explicitly requested plugin process exit, after its diagnostics are emitted. */
22
+ export declare class LlmPluginExit extends Error {
23
+ readonly exitCode: number;
24
+ constructor(exitCode: number);
25
+ }
21
26
  export declare function discoverLlmLoaders(loaders: ReadonlyMap<string, {
22
27
  readonly description?: string;
23
28
  }> | undefined, context: LlmLoaderDiscoveryContext, provider?: LlmLoaderProvider): Promise<ReadonlyMap<string, {
@@ -20566,9 +20566,9 @@ var MemoryLedger = class {
20566
20566
  hasInfiniteRetained;
20567
20567
  constructor(limits) {
20568
20568
  this.limits = limits;
20569
- this.maxFileBytesSmi = limits.maxFileBytes >= MAX_SMI ? MAX_SMI : limits.maxFileBytes | 0;
20570
- this.maxRetainedBytesSmi = limits.maxRetainedBytes >= MAX_SMI ? MAX_SMI : limits.maxRetainedBytes | 0;
20571
- this.maxMetadataUnitsSmi = limits.maxMetadataUnits >= MAX_SMI ? MAX_SMI : limits.maxMetadataUnits | 0;
20569
+ this.maxFileBytesSmi = Math.min(limits.maxFileBytes, MAX_SMI) | 0;
20570
+ this.maxRetainedBytesSmi = Math.min(limits.maxRetainedBytes, MAX_SMI) | 0;
20571
+ this.maxMetadataUnitsSmi = Math.min(limits.maxMetadataUnits, MAX_SMI) | 0;
20572
20572
  this.hasInfiniteRetained = limits.maxRetainedBytes === Infinity;
20573
20573
  if (limits.maxFileBytes !== Infinity)
20574
20574
  this.hasInfiniteFileBytes = false;
@@ -20587,18 +20587,18 @@ var MemoryLedger = class {
20587
20587
  throw new FsError("EFBIG", { syscall, path: path6 });
20588
20588
  }
20589
20589
  }
20590
+ canReserve(bytes, units) {
20591
+ return (bytes | 0) === bytes && bytes >= 0 && (units | 0) === units && units >= 0 && this.retainedBytes <= this.maxRetainedBytesSmi - bytes && this.metadataUnits <= this.maxMetadataUnitsSmi - units;
20592
+ }
20590
20593
  check(bytes, units, syscall, path6) {
20591
- if ((bytes | 0) === bytes && bytes >= 0 && (units | 0) === units && units >= 0 && this.retainedBytes <= this.maxRetainedBytesSmi - bytes && this.metadataUnits <= this.maxMetadataUnitsSmi - units) {
20594
+ if (this.canReserve(bytes, units))
20592
20595
  return;
20593
- }
20594
- const maxRetained = this.limits.maxRetainedBytes;
20595
- const maxUnits = this.limits.maxMetadataUnits;
20596
- if (!Number.isSafeInteger(bytes) || bytes < 0 || maxRetained !== Infinity && bytes > maxRetained - this.retainedBytes || !Number.isSafeInteger(units) || units < 0 || maxUnits !== Infinity && units > maxUnits - this.metadataUnits) {
20596
+ if (!Number.isSafeInteger(bytes) || bytes < 0 || bytes > this.limits.maxRetainedBytes - this.retainedBytes || !Number.isSafeInteger(units) || units < 0 || units > this.limits.maxMetadataUnits - this.metadataUnits) {
20597
20597
  throw new FsError("ENOSPC", { syscall, path: path6 });
20598
20598
  }
20599
20599
  }
20600
20600
  reserve(bytes, units, syscall, path6) {
20601
- if ((bytes | 0) === bytes && bytes >= 0 && (units | 0) === units && units >= 0 && this.retainedBytes <= this.maxRetainedBytesSmi - bytes && this.metadataUnits <= this.maxMetadataUnitsSmi - units) {
20601
+ if (this.canReserve(bytes, units)) {
20602
20602
  this.retainedBytes = this.retainedBytes + bytes | 0;
20603
20603
  this.metadataUnits = this.metadataUnits + units | 0;
20604
20604
  return;
@@ -20637,9 +20637,6 @@ var MemoryAllocation = class {
20637
20637
  }
20638
20638
  }
20639
20639
  };
20640
- Object.assign(MemoryAllocation.prototype, {
20641
- references: 1
20642
- });
20643
20640
  Object.assign(MemoryLedger.prototype, { hasInfiniteFileBytes: true });
20644
20641
 
20645
20642
  // ../safe-fs/dist/config.js
@@ -25463,7 +25460,7 @@ var getFsBridgeProvider = FileSystemBridge.getProvider;
25463
25460
  var empty = new Uint8Array();
25464
25461
 
25465
25462
  // ../safe-fs/dist/storage.js
25466
- var pageBytes = 16 * 1024;
25463
+ var defaultPageBytes = 16 * 1024;
25467
25464
 
25468
25465
  // src/management.ts
25469
25466
  import { commandRuntimeIdentity as commandRuntimeIdentity2, collectBytes as collectBytes3, toByteSource, createOutputOperation as createOutputOperation2 } from "../safe-bash-contracts/index.js";
@@ -129,9 +129,9 @@ function* parsePdftoppmArgsSteps(argv, hasStdin) {
129
129
  singleFile = true;
130
130
  else if (arg === "-forcenum")
131
131
  forceNum = true;
132
- else if (arg === "-o")
132
+ else if (arg === "-o" || arg === "-odd")
133
133
  oddOnly = true;
134
- else if (arg === "-e")
134
+ else if (arg === "-e" || arg === "-even")
135
135
  evenOnly = true;
136
136
  else if (arg === "-cropbox")
137
137
  useCropBox = true;
@@ -17,7 +17,7 @@ import {
17
17
  } from "../safe-bash/command-chunks/chunk-IGHFIRXK.js";
18
18
  import {
19
19
  createPlaywrightController
20
- } from "../safe-bash/command-chunks/chunk-RUAGHZNF.js";
20
+ } from "../safe-bash/command-chunks/chunk-X5ODTF3E.js";
21
21
  import "../safe-bash/command-chunks/chunk-SPZR6J6S.js";
22
22
  import "../safe-bash/command-chunks/chunk-GGDJ725I.js";
23
23
  import "../safe-bash/command-chunks/chunk-MAFCR5HR.js";
@@ -53,7 +53,7 @@ import {
53
53
  import "../safe-bash/command-chunks/chunk-Q2GU7KCT.js";
54
54
  import "../safe-bash/command-chunks/chunk-WDF3IURH.js";
55
55
  import "../safe-bash/command-chunks/chunk-D43FDVLM.js";
56
- import "../safe-bash/command-chunks/chunk-2KMNVJB7.js";
56
+ import "../safe-bash/command-chunks/chunk-A7PKUIJT.js";
57
57
  import "../safe-bash/command-chunks/chunk-GYGORRXA.js";
58
58
  import {
59
59
  createPlaywrightAdapter
@@ -9,6 +9,7 @@ export declare function executePlaywrightAbility(ability: RegisteredPlaywrightAb
9
9
  readonly maxCommandBytes: number;
10
10
  readonly maxArtifactBytes: number;
11
11
  readonly commandBudget?: ReturnType<typeof createPlaywrightCommandBudget>;
12
+ readonly artifactBudget?: ReturnType<typeof createPlaywrightCommandBudget>;
12
13
  readonly actionTimeoutMs?: number;
13
14
  readonly codeExecutionTimeoutMs?: number;
14
15
  readonly navigationTimeoutMs?: number;
@@ -1,6 +1,6 @@
1
1
  import {
2
2
  executePlaywrightAbility
3
- } from "../../safe-bash/command-chunks/chunk-2KMNVJB7.js";
3
+ } from "../../safe-bash/command-chunks/chunk-A7PKUIJT.js";
4
4
  import "../../safe-bash/command-chunks/chunk-GYGORRXA.js";
5
5
  import "../../safe-bash/command-chunks/chunk-I6ICC6AG.js";
6
6
  import "../../safe-bash/command-chunks/chunk-65DS4IOB.js";
@@ -38,6 +38,8 @@ export interface PlaywrightControllerOptions {
38
38
  readonly maxArtifactBytes?: number;
39
39
  readonly maxTabs?: number;
40
40
  readonly maxCommandBytes?: number;
41
+ /** Aggregate output artifact bytes per command; omission shares maxCommandBytes with text and inputs. */
42
+ readonly maxOutputArtifactBytes?: number;
41
43
  };
42
44
  /** Billing declarations are separate; reporting/charging is not implemented. */
43
45
  readonly billing?: never;
@@ -1,6 +1,6 @@
1
1
  import {
2
2
  createPlaywrightController
3
- } from "../../safe-bash/command-chunks/chunk-RUAGHZNF.js";
3
+ } from "../../safe-bash/command-chunks/chunk-X5ODTF3E.js";
4
4
  import "../../safe-bash/command-chunks/chunk-SPZR6J6S.js";
5
5
  import "../../safe-bash/command-chunks/chunk-GGDJ725I.js";
6
6
  import "../../safe-bash/command-chunks/chunk-MAFCR5HR.js";
@@ -25,7 +25,7 @@ import "../../safe-bash/command-chunks/chunk-YTYMDDBB.js";
25
25
  import "../../safe-bash/command-chunks/chunk-Q2GU7KCT.js";
26
26
  import "../../safe-bash/command-chunks/chunk-WDF3IURH.js";
27
27
  import "../../safe-bash/command-chunks/chunk-D43FDVLM.js";
28
- import "../../safe-bash/command-chunks/chunk-2KMNVJB7.js";
28
+ import "../../safe-bash/command-chunks/chunk-A7PKUIJT.js";
29
29
  import "../../safe-bash/command-chunks/chunk-GYGORRXA.js";
30
30
  import "../../safe-bash/command-chunks/chunk-SUYSZJI3.js";
31
31
  import "../../safe-bash/command-chunks/chunk-5RLK2QSY.js";
@@ -17,7 +17,7 @@ import {
17
17
  } from "../../safe-bash/command-chunks/chunk-IGHFIRXK.js";
18
18
  import {
19
19
  createPlaywrightController
20
- } from "../../safe-bash/command-chunks/chunk-RUAGHZNF.js";
20
+ } from "../../safe-bash/command-chunks/chunk-X5ODTF3E.js";
21
21
  import "../../safe-bash/command-chunks/chunk-SPZR6J6S.js";
22
22
  import "../../safe-bash/command-chunks/chunk-GGDJ725I.js";
23
23
  import "../../safe-bash/command-chunks/chunk-MAFCR5HR.js";
@@ -53,7 +53,7 @@ import {
53
53
  import "../../safe-bash/command-chunks/chunk-Q2GU7KCT.js";
54
54
  import "../../safe-bash/command-chunks/chunk-WDF3IURH.js";
55
55
  import "../../safe-bash/command-chunks/chunk-D43FDVLM.js";
56
- import "../../safe-bash/command-chunks/chunk-2KMNVJB7.js";
56
+ import "../../safe-bash/command-chunks/chunk-A7PKUIJT.js";
57
57
  import "../../safe-bash/command-chunks/chunk-GYGORRXA.js";
58
58
  import {
59
59
  createPlaywrightAdapter
@@ -89,5 +89,7 @@ export interface PythonBuildHookContext extends Pick<CommandContext, 'fs' | 'cwd
89
89
  export declare function createPythonBuildBackend(options: PythonCommandsOptions & {
90
90
  readonly environment: PythonPackageEnvironment;
91
91
  }): <T extends BuildRequest>(input: T, context: PythonBuildHookContext) => Promise<BuildResult<T>>;
92
+ /** Decode trusted static source once, preserving native tracebacks and program text. */
93
+ export declare function loadPythonBuildBackendProgram(): Promise<string>;
92
94
  export declare const pythonBuildBackendProgram: string;
93
95
  export {};
@@ -4,7 +4,7 @@ export interface PythonPackageCache {
4
4
  set(key: string, bytes: Uint8Array): Promise<void>;
5
5
  }
6
6
  export declare function createPythonPackageCache(options?: {
7
- readonly maxBytes?: number;
7
+ readonly maxBytes?: number | undefined;
8
8
  }): PythonPackageCache & {
9
9
  dispose(): void;
10
10
  };