@poe-platform/safe-bash 0.1.797 → 0.1.799

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 (195) hide show
  1. package/README.md +2 -1
  2. package/dist/pdf/index.d.ts +1 -1
  3. package/dist/pdf/model.d.ts +7 -2
  4. package/dist/safe-bash/chunks/{chunk-D2XB7XIC.js → chunk-AZAJJVFX.js} +7 -11
  5. package/dist/safe-bash/chunks/{chunk-C2NYCU7O.js → chunk-JSVX4VIA.js} +5 -1
  6. package/dist/safe-bash/chunks/{chunk-TCWZNUVP.js → chunk-SPYL72GN.js} +1 -25
  7. package/dist/safe-bash/chunks/{chunk-TGOF7VO5.js → chunk-TRVGCN3U.js} +1 -1
  8. package/dist/safe-bash/chunks/{chunk-ZXKVOJNL.js → chunk-WUNK5NXJ.js} +6 -5
  9. package/dist/safe-bash/command-chunks/{chunk-JG5W2ENK.js → chunk-43GSSUAY.js} +3 -3
  10. package/dist/safe-bash/command-chunks/{chunk-OAJUAAWH.js → chunk-464RVBGB.js} +3 -3
  11. package/dist/safe-bash/command-chunks/{chunk-25BLI6S6.js → chunk-4Y3WVMK4.js} +1 -14
  12. package/dist/safe-bash/command-chunks/{chunk-SSBFTMVI.js → chunk-4ZALPDBV.js} +2 -2
  13. package/dist/safe-bash/command-chunks/{chunk-YMQKVEIF.js → chunk-52PCQXD2.js} +2 -13
  14. package/dist/safe-bash/command-chunks/{chunk-ZCKDQGKY.js → chunk-5HDSFHGW.js} +1 -1
  15. package/dist/safe-bash/command-chunks/{chunk-JHVZYB4R.js → chunk-5MPOQ6V3.js} +1 -1
  16. package/dist/safe-bash/command-chunks/{chunk-AUAF5YBT.js → chunk-5WPI42ZW.js} +0 -7
  17. package/dist/safe-bash/command-chunks/{chunk-PPOIPMY4.js → chunk-5ZSM4UFN.js} +1 -1
  18. package/dist/safe-bash/command-chunks/{chunk-RECJB2BO.js → chunk-7BS66BXN.js} +1 -1
  19. package/dist/safe-bash/command-chunks/{chunk-GRWOVSFK.js → chunk-7D7JRRML.js} +1 -1
  20. package/dist/safe-bash/command-chunks/{chunk-E6IYUYVA.js → chunk-7L24L4UO.js} +2 -2
  21. package/dist/safe-bash/command-chunks/{chunk-HBXQWTJR.js → chunk-A5ZAV6DO.js} +1 -1
  22. package/dist/safe-bash/command-chunks/{chunk-LW34AKDM.js → chunk-AB4MXHVS.js} +4 -14
  23. package/dist/safe-bash/command-chunks/{chunk-EELNLEEP.js → chunk-AXK3H4PX.js} +1 -1
  24. package/dist/safe-bash/command-chunks/{chunk-Y55OCH37.js → chunk-AYUTO323.js} +3 -10
  25. package/dist/safe-bash/command-chunks/{chunk-DY36FDDC.js → chunk-B5BKA5WH.js} +4 -4
  26. package/dist/safe-bash/command-chunks/{chunk-YB6KVU6H.js → chunk-BDBVVZY6.js} +4 -14
  27. package/dist/safe-bash/command-chunks/{chunk-QAN7KKDZ.js → chunk-BZDDAPSV.js} +1 -1
  28. package/dist/safe-bash/command-chunks/{chunk-HZCPWYWA.js → chunk-BZPAWTUL.js} +1 -1
  29. package/dist/safe-bash/command-chunks/{chunk-RT2J5ATD.js → chunk-CPPGTBZF.js} +1 -1
  30. package/dist/safe-bash/command-chunks/{chunk-A7RIYQIF.js → chunk-DDLQ5YDB.js} +172 -167
  31. package/dist/safe-bash/command-chunks/{chunk-JEPY4UY4.js → chunk-EIVW3X3N.js} +3 -3
  32. package/dist/safe-bash/command-chunks/{chunk-C2DUYVYZ.js → chunk-ESMCX3YV.js} +138 -36
  33. package/dist/safe-bash/command-chunks/chunk-EZ7D6DXC.js +6 -0
  34. package/dist/safe-bash/command-chunks/{chunk-QGVOS3EY.js → chunk-HFII3QYO.js} +1 -1
  35. package/dist/safe-bash/command-chunks/{chunk-5EWTQJSC.js → chunk-HHP343KT.js} +1 -1
  36. package/dist/safe-bash/command-chunks/{chunk-5UA3BEGA.js → chunk-I3K5RYU4.js} +1 -1
  37. package/dist/safe-bash/command-chunks/{chunk-4MS5WZJC.js → chunk-IKS2YXZQ.js} +3 -3
  38. package/dist/safe-bash/command-chunks/{chunk-CZVBYCB5.js → chunk-IL53SJL4.js} +2 -12
  39. package/dist/safe-bash/command-chunks/{chunk-HLMUPSM6.js → chunk-JCNNOMBV.js} +2 -2
  40. package/dist/safe-bash/command-chunks/{chunk-2LLZBNLL.js → chunk-JWE54GHQ.js} +1 -1
  41. package/dist/safe-bash/command-chunks/{chunk-QLDIP3OP.js → chunk-JZSNU2MY.js} +2 -2
  42. package/dist/safe-bash/command-chunks/{chunk-2HOESGFJ.js → chunk-KMCZ6P4O.js} +2 -2
  43. package/dist/safe-bash/command-chunks/{chunk-U3ONEICA.js → chunk-KVFCSLKK.js} +1 -11
  44. package/dist/safe-bash/command-chunks/{chunk-THS4YAKG.js → chunk-LLCXZKZ6.js} +2 -2
  45. package/dist/safe-bash/command-chunks/{chunk-3TANKHBX.js → chunk-MRW5HD2D.js} +1 -6
  46. package/dist/safe-bash/command-chunks/{chunk-3WKA57FA.js → chunk-N5FGCXQJ.js} +1 -9
  47. package/dist/safe-bash/command-chunks/{chunk-ULZ7HIZP.js → chunk-NETECMOF.js} +1 -1
  48. package/dist/safe-bash/command-chunks/{chunk-2Q7UQ7R4.js → chunk-OPUJSTHS.js} +12 -12
  49. package/dist/safe-bash/command-chunks/{chunk-HVI6ALJF.js → chunk-PFAADCB5.js} +2 -4
  50. package/dist/safe-bash/command-chunks/{chunk-JXU2N6GN.js → chunk-Q7Q5GM5S.js} +2 -2
  51. package/dist/safe-bash/command-chunks/{chunk-Z5TFSVNU.js → chunk-QAKKSRNV.js} +1 -1
  52. package/dist/safe-bash/command-chunks/{chunk-KAHH4XOU.js → chunk-QNXI2UP6.js} +1 -1
  53. package/dist/safe-bash/command-chunks/{chunk-ECAK3JHR.js → chunk-QRRYN2KO.js} +21 -12
  54. package/dist/safe-bash/command-chunks/{chunk-WYOL5JNT.js → chunk-SX2X3IH4.js} +4 -4
  55. package/dist/safe-bash/command-chunks/{chunk-WBJKOTSP.js → chunk-UI32HWGS.js} +1 -1
  56. package/dist/safe-bash/command-chunks/{chunk-AC6X7Q4I.js → chunk-VVI4Z73I.js} +1 -8
  57. package/dist/safe-bash/command-chunks/{chunk-JCVXAX2G.js → chunk-XWZBMJ5B.js} +1 -1
  58. package/dist/safe-bash/command-chunks/{chunk-UUR2S7AD.js → chunk-Y6TUZWPS.js} +28 -1
  59. package/dist/safe-bash/command-chunks/{chunk-23XLM73P.js → chunk-YEOPI5SK.js} +1 -1
  60. package/dist/safe-bash/command-chunks/{chunk-PRCT7FKJ.js → chunk-YZ5SVZFD.js} +3 -3
  61. package/dist/safe-bash/command-chunks/{chunk-OGUMMTTD.js → chunk-ZJBR5Q5I.js} +4 -4
  62. package/dist/safe-bash/command-chunks/{chunk-VZ64JXHC.js → chunk-ZS3QPNUL.js} +1 -1
  63. package/dist/safe-bash/command-chunks/{chunk-VKQCNX32.js → chunk-ZT4KSS2V.js} +1 -1
  64. package/dist/safe-bash/command-chunks/{chunk-6N5V4VBN.js → chunk-ZXKW7SJ2.js} +2 -2
  65. package/dist/safe-bash/command-chunks/{pptx-KY2OJWZW-76LBHCHD.js → pptx-GBPNWNEP-7EQEVXV5.js} +8 -2
  66. package/dist/safe-bash/commands/diff-patch/shared.d.ts +0 -2
  67. package/dist/safe-bash/commands/diff-patch/shared.js +2 -11
  68. package/dist/safe-bash/commands/llm/index.browser.js +9 -1
  69. package/dist/safe-bash/commands/llm/providers/index.browser.js +6 -2
  70. package/dist/safe-bash/commands/text.js +1 -25
  71. package/dist/safe-bash/core.browser.js +1 -1
  72. package/dist/safe-bash/core.d.ts +5 -1
  73. package/dist/safe-bash/core.js +5 -1
  74. package/dist/safe-bash/full-core.browser.js +134 -5
  75. package/dist/safe-bash/lazy-optional.d.ts +13 -0
  76. package/dist/safe-bash/lazy-optional.js +118 -0
  77. package/dist/safe-bash/opt-in/commands/dd/index.js +4 -13
  78. package/dist/safe-bash/opt-in/commands/yq/native-work.js +2 -1
  79. package/dist/safe-bash/opt-in/optional/commands/shuf/input.js +3 -21
  80. package/dist/safe-bash/opt-in/optional/commands/shuf/shuf.js +4 -27
  81. package/dist/safe-bash/plugins/index.browser.js +3 -3
  82. package/dist/safe-bash/registry-entry.browser.js +2 -2
  83. package/dist/safe-bash/shell/env-warning.js +3 -2
  84. package/dist/safe-bash/shell/runtime.js +2 -2
  85. package/dist/safe-bash/shell-entry.browser.js +2 -2
  86. package/dist/safe-bash-command-csvkit/index.js +528 -498
  87. package/dist/safe-bash-command-dd/index.js +4 -13
  88. package/dist/safe-bash-command-du/budget.d.ts +0 -2
  89. package/dist/safe-bash-command-du/budget.js +1 -1
  90. package/dist/safe-bash-command-du/du.js +2 -2
  91. package/dist/safe-bash-command-du/index.js +2 -2
  92. package/dist/safe-bash-command-file/index.js +1 -1
  93. package/dist/safe-bash-command-file/shared.d.ts +0 -2
  94. package/dist/safe-bash-command-file/shared.js +1 -1
  95. package/dist/safe-bash-command-fmt/index.js +3 -15
  96. package/dist/safe-bash-command-git/git_rust.wasm +0 -0
  97. package/dist/safe-bash-command-git/wasm.generated.js +1 -1
  98. package/dist/safe-bash-command-html-to-markdown/budget.d.ts +0 -3
  99. package/dist/safe-bash-command-html-to-markdown/budget.js +1 -1
  100. package/dist/safe-bash-command-html-to-markdown/entities.js +3 -3
  101. package/dist/safe-bash-command-html-to-markdown/index.js +6 -6
  102. package/dist/safe-bash-command-html-to-markdown/input.js +5 -5
  103. package/dist/safe-bash-command-html-to-markdown/parser.js +4 -4
  104. package/dist/safe-bash-command-html-to-markdown/render.js +5 -5
  105. package/dist/safe-bash-command-html-to-markdown/text.js +2 -2
  106. package/dist/safe-bash-command-iconv/command.js +5 -5
  107. package/dist/safe-bash-command-iconv/index.js +5 -5
  108. package/dist/safe-bash-command-iconv/internal.d.ts +0 -2
  109. package/dist/safe-bash-command-iconv/internal.js +1 -1
  110. package/dist/safe-bash-command-iconv/lifecycle.js +2 -2
  111. package/dist/safe-bash-command-iconv/options.js +2 -2
  112. package/dist/safe-bash-command-iconv/reader.js +2 -2
  113. package/dist/safe-bash-command-llm/base64-stream.d.ts +2 -0
  114. package/dist/safe-bash-command-llm/chat-json.d.ts +10 -0
  115. package/dist/safe-bash-command-llm/index.d.ts +2 -1
  116. package/dist/safe-bash-command-llm/index.js +11 -2
  117. package/dist/safe-bash-command-llm/json-string.d.ts +2 -0
  118. package/dist/safe-bash-command-llm/json-value.d.ts +2 -0
  119. package/dist/safe-bash-command-llm/openai.d.ts +1 -0
  120. package/dist/safe-bash-command-llm/openai.js +4 -2
  121. package/dist/safe-bash-command-llm/provider-serialization.d.ts +6 -0
  122. package/dist/safe-bash-command-llm/providers/index.d.ts +2 -1
  123. package/dist/safe-bash-command-llm/providers/index.js +12 -3
  124. package/dist/safe-bash-command-llm/providers/openai.d.ts +1 -1
  125. package/dist/safe-bash-command-llm/providers/openai.js +4 -2
  126. package/dist/safe-bash-command-numfmt/index.js +4 -18
  127. package/dist/safe-bash-command-pandoc/citeproc-filters.js +1 -1
  128. package/dist/safe-bash-command-pandoc/command.js +3 -3
  129. package/dist/safe-bash-command-pandoc/index.js +3 -3
  130. package/dist/safe-bash-command-pr/command.js +5 -5
  131. package/dist/safe-bash-command-pr/format.js +2 -2
  132. package/dist/safe-bash-command-pr/index.js +5 -5
  133. package/dist/safe-bash-command-pr/internal.d.ts +0 -2
  134. package/dist/safe-bash-command-pr/internal.js +1 -1
  135. package/dist/safe-bash-command-pr/io.js +2 -2
  136. package/dist/safe-bash-command-pr/options.js +2 -2
  137. package/dist/safe-bash-command-shuf/input.js +3 -21
  138. package/dist/safe-bash-command-shuf/shuf.js +4 -27
  139. package/dist/safe-bash-command-split/index.js +3 -3
  140. package/dist/safe-bash-command-split/io.d.ts +0 -2
  141. package/dist/safe-bash-command-split/io.js +1 -1
  142. package/dist/safe-bash-command-split/outputs.js +2 -2
  143. package/dist/safe-bash-command-split/split.js +3 -3
  144. package/dist/safe-bash-command-ssconvert/index.js +1 -1
  145. package/dist/safe-bash-command-tree/arguments.js +3 -3
  146. package/dist/safe-bash-command-tree/charset.js +1 -1
  147. package/dist/safe-bash-command-tree/index.js +4 -4
  148. package/dist/safe-bash-command-tree/io.d.ts +0 -1
  149. package/dist/safe-bash-command-tree/io.js +1 -1
  150. package/dist/safe-bash-command-tree/pattern.js +2 -2
  151. package/dist/safe-bash-command-tree/tree.js +4 -4
  152. package/dist/safe-bash-command-tsort/command.js +4 -4
  153. package/dist/safe-bash-command-tsort/graph.js +2 -2
  154. package/dist/safe-bash-command-tsort/index.js +4 -4
  155. package/dist/safe-bash-command-tsort/internal.d.ts +0 -2
  156. package/dist/safe-bash-command-tsort/internal.js +1 -1
  157. package/dist/safe-bash-command-tsort/io.js +2 -2
  158. package/dist/safe-bash-command-yq/native-work.js +2 -1
  159. package/dist/safe-bash-io-engine/commands/archive/internal.d.ts +0 -1
  160. package/dist/safe-bash-io-engine/commands/archive/internal.js +3 -7
  161. package/dist/safe-bash-io-engine/shell/pattern.js +1 -1
  162. package/dist/safe-bash-io-engine/shell/string-operations.d.ts +0 -2
  163. package/dist/safe-bash-io-engine/shell/string-operations.js +1 -1
  164. package/dist/safe-bash-line-ending-engine/internal.d.ts +0 -2
  165. package/dist/safe-bash-line-ending-engine/internal.js +1 -9
  166. package/dist/safe-bash-query-engine/capture.js +5 -5
  167. package/dist/safe-bash-query-engine/dates.js +2 -2
  168. package/dist/safe-bash-query-engine/delpaths.js +5 -5
  169. package/dist/safe-bash-query-engine/formats.js +3 -3
  170. package/dist/safe-bash-query-engine/index.js +15 -15
  171. package/dist/safe-bash-query-engine/indices.js +5 -5
  172. package/dist/safe-bash-query-engine/input.js +2 -2
  173. package/dist/safe-bash-query-engine/interpreter.js +13 -13
  174. package/dist/safe-bash-query-engine/limits.js +1 -1
  175. package/dist/safe-bash-query-engine/parser.js +2 -2
  176. package/dist/safe-bash-query-engine/query-core.js +15 -15
  177. package/dist/safe-bash-query-engine/recurse.js +2 -2
  178. package/dist/safe-bash-query-engine/regex.js +5 -5
  179. package/dist/safe-bash-query-engine/split.js +2 -2
  180. package/dist/safe-bash-query-engine/splits.js +6 -6
  181. package/dist/safe-bash-query-engine/values.js +4 -4
  182. package/dist/safe-bash-regex-engine/ere/limits.d.ts +0 -1
  183. package/dist/safe-bash-regex-engine/ere/limits.js +1 -1
  184. package/dist/safe-bash-regex-engine/ere/matcher.js +5 -5
  185. package/dist/safe-bash-regex-engine/ere/syntax.js +2 -2
  186. package/dist/safe-bash-regex-engine/execution/bounded-provider.js +2 -4
  187. package/dist/safe-bash-text-stream-engine/stream-format/shared.d.ts +0 -2
  188. package/dist/safe-bash-text-stream-engine/stream-format/shared.js +1 -9
  189. package/dist/safe-bash-xml-engine/document.js +2 -2
  190. package/dist/safe-bash-xml-engine/index.js +3 -3
  191. package/dist/safe-bash-xml-engine/io.js +1 -1
  192. package/dist/safe-bash-xml-engine/limits.d.ts +0 -2
  193. package/dist/safe-bash-xml-engine/limits.js +1 -1
  194. package/dist/safe-bash-xml-engine/query.js +2 -2
  195. package/package.json +5 -4
@@ -1,29 +1,29 @@
1
1
  import {
2
2
  recurse
3
- } from "./chunk-VKQCNX32.js";
3
+ } from "./chunk-ZT4KSS2V.js";
4
4
  import {
5
5
  splitRegex
6
- } from "./chunk-JEPY4UY4.js";
6
+ } from "./chunk-EIVW3X3N.js";
7
7
  import {
8
8
  scanRegex,
9
9
  substituteRegex
10
- } from "./chunk-2HOESGFJ.js";
10
+ } from "./chunk-KMCZ6P4O.js";
11
11
  import {
12
12
  capture
13
- } from "./chunk-HLMUPSM6.js";
13
+ } from "./chunk-JCNNOMBV.js";
14
14
  import {
15
15
  fromDateIso8601,
16
16
  toDateIso8601
17
- } from "./chunk-ULZ7HIZP.js";
17
+ } from "./chunk-NETECMOF.js";
18
18
  import {
19
19
  delpaths
20
- } from "./chunk-6N5V4VBN.js";
20
+ } from "./chunk-ZXKW7SJ2.js";
21
21
  import {
22
22
  formatValue
23
- } from "./chunk-SSBFTMVI.js";
23
+ } from "./chunk-4ZALPDBV.js";
24
24
  import {
25
25
  indices
26
- } from "./chunk-THS4YAKG.js";
26
+ } from "./chunk-LLCXZKZ6.js";
27
27
  import {
28
28
  binary,
29
29
  compare,
@@ -37,16 +37,16 @@ import {
37
37
  sortedKeys,
38
38
  stableSort,
39
39
  type
40
- } from "./chunk-PRCT7FKJ.js";
40
+ } from "./chunk-YZ5SVZFD.js";
41
41
  import {
42
42
  splitString
43
- } from "./chunk-WBJKOTSP.js";
43
+ } from "./chunk-UI32HWGS.js";
44
44
  import {
45
45
  JqParseError,
46
46
  measureValue,
47
47
  parseJson,
48
48
  stringify
49
- } from "./chunk-PPOIPMY4.js";
49
+ } from "./chunk-5ZSM4UFN.js";
50
50
  import {
51
51
  JqError,
52
52
  JqHalt,
@@ -61,7 +61,7 @@ import {
61
61
  put,
62
62
  remove,
63
63
  truth
64
- } from "./chunk-AC6X7Q4I.js";
64
+ } from "./chunk-VVI4Z73I.js";
65
65
  import {
66
66
  utf8ByteLength
67
67
  } from "./chunk-PDKXAR4Y.js";
@@ -9,7 +9,7 @@ init_buffer();
9
9
  init_buffer();
10
10
  import { utf8ByteLength } from "../../safe-bash-byte-engine/index.js";
11
11
  import { publicDiagnosticMessage } from "../../safe-bash-contracts/diagnostics.js";
12
- import { hasYieldCheckpoint, monotonicNow, yieldTurn } from "../../safe-bash-contracts/yield.js";
12
+ import { yieldTurn } from "../../safe-bash-contracts/yield.js";
13
13
  import { escapeText } from "../../safe-bash-contracts/escaping.js";
14
14
  import { FsError, writeBytes } from "../../safe-bash-contracts/index.js";
15
15
  var treeUtf8Encoder = new TextEncoder();
@@ -69,7 +69,6 @@ var WalkBudget = class {
69
69
  output = 0;
70
70
  steps = 0;
71
71
  operations = 0;
72
- lastYield = monotonicNow();
73
72
  nameCharset;
74
73
  get remainingEntries() {
75
74
  return this.limits.maxEntries - this.entries;
@@ -106,9 +105,8 @@ var WalkBudget = class {
106
105
  async fs(operation) {
107
106
  this.step();
108
107
  const { signal } = this.context;
109
- if (++this.operations % 64 === 0 && (this.operations === 64 || this.operations % 1024 === 0 || hasYieldCheckpoint(signal) || monotonicNow() - this.lastYield >= 16)) {
108
+ if (++this.operations % 64 === 0) {
110
109
  await yieldTurn(signal);
111
- this.lastYield = monotonicNow();
112
110
  }
113
111
  signal.throwIfAborted();
114
112
  const waiters = getTreeSignalWaiters(signal);
@@ -1,11 +1,11 @@
1
1
  import {
2
2
  compile
3
- } from "./chunk-HZCPWYWA.js";
3
+ } from "./chunk-BZPAWTUL.js";
4
4
  import {
5
5
  UsageError,
6
6
  environmentCharset,
7
7
  explicitCharset
8
- } from "./chunk-HVI6ALJF.js";
8
+ } from "./chunk-PFAADCB5.js";
9
9
  import {
10
10
  init_buffer
11
11
  } from "./chunk-HX3SHTCE.js";
@@ -1,7 +1,7 @@
1
1
  import {
2
2
  PrError,
3
3
  PrReadError
4
- } from "./chunk-3WKA57FA.js";
4
+ } from "./chunk-N5FGCXQJ.js";
5
5
  import {
6
6
  init_buffer
7
7
  } from "./chunk-HX3SHTCE.js";
@@ -4,7 +4,7 @@ import {
4
4
  bytes,
5
5
  fileQuote,
6
6
  pathText
7
- } from "./chunk-3WKA57FA.js";
7
+ } from "./chunk-N5FGCXQJ.js";
8
8
  import {
9
9
  init_buffer
10
10
  } from "./chunk-HX3SHTCE.js";
@@ -2453,7 +2453,7 @@ function suppliedDefaultFont(admit) {
2453
2453
 
2454
2454
  // packages/pdf/src/index.ts
2455
2455
  init_buffer();
2456
- import { PDFDocument, rgb, PDFName, PDFHexString as PDFHexString2, pushGraphicsState, popGraphicsState, concatTransformationMatrix, drawObject, beginText, endText, setFontAndSize, setTextMatrix, showText, setFillingRgbColor } from "pdf-lib";
2456
+ import { PDFDocument, StandardFonts, rgb, PDFName, PDFHexString as PDFHexString2, pushGraphicsState, popGraphicsState, concatTransformationMatrix, drawObject, beginText, endText, setFontAndSize, setTextMatrix, showText, setFillingRgbColor } from "pdf-lib";
2457
2457
  import fontkit from "@pdf-lib/fontkit";
2458
2458
  import { setTextRenderingMode, TextRenderingMode, setLineWidth, setStrokingRgbColor } from "pdf-lib";
2459
2459
 
@@ -2918,9 +2918,13 @@ async function renderPdf(document, context = {}) {
2918
2918
  if (!font.id || ids.has(font.id)) unsupported("Duplicate/empty font identity");
2919
2919
  ids.add(font.id);
2920
2920
  charge("fonts", 1);
2921
- charge("fontBytes", font.bytes.length);
2922
2921
  charge("objects", 8);
2923
- admitTrueTypeFont(font.bytes, unsupported, (amount) => charge("layoutWork", amount));
2922
+ if ("standard" in font) {
2923
+ if (!Object.values(StandardFonts).includes(font.standard)) unsupported("Unknown standard font");
2924
+ } else {
2925
+ charge("fontBytes", font.bytes.length);
2926
+ admitTrueTypeFont(font.bytes, unsupported, (amount) => charge("layoutWork", amount));
2927
+ }
2924
2928
  }
2925
2929
  const pdf = await PDFDocument.create({ updateMetadata: false });
2926
2930
  pdf.registerFontkit(fontkit);
@@ -2944,6 +2948,11 @@ async function renderPdf(document, context = {}) {
2944
2948
  const parsedFonts = /* @__PURE__ */ new Map();
2945
2949
  try {
2946
2950
  for (const resource of document.fonts) {
2951
+ if ("standard" in resource) {
2952
+ fonts.set(resource.id, await pdf.embedFont(resource.standard));
2953
+ await cooperate();
2954
+ continue;
2955
+ }
2947
2956
  const bytes2 = new Uint8Array(resource.bytes);
2948
2957
  const parsed = fontkit.create(bytes2);
2949
2958
  if (!positive(parsed.unitsPerEm) || !Number.isInteger(parsed.numGlyphs) || parsed.numGlyphs < 1 || parsed.numGlyphs > 65535) unsupported("Invalid font metrics");
@@ -2966,11 +2975,12 @@ async function renderPdf(document, context = {}) {
2966
2975
  if (!(cp >= 32 && cp <= 126 || cp >= 160 && cp <= 255 || cp >= 880 && cp <= 1327) || cp >= 1155 && cp <= 1161) unsupported("Unsupported script or combining sequence");
2967
2976
  const candidates = run.font === void 0 ? [...fonts.values()] : [fonts.get(run.font), ...fonts.values()];
2968
2977
  if (run.font !== void 0 && !fonts.has(run.font)) unsupported("Unknown font identity");
2969
- const font = candidates.find((candidate) => candidate && coverage.get(candidate).has(cp) && parsedFonts.get(candidate).glyphForCodePoint(cp).id > 0);
2978
+ const font = candidates.find((candidate) => candidate && coverage.get(candidate).has(cp) && (!parsedFonts.has(candidate) || parsedFonts.get(candidate).glyphForCodePoint(cp).id > 0));
2970
2979
  if (!font) unsupported(`No supplied font covers U+${cp.toString(16)}`);
2971
- const parsedGlyph = parsedFonts.get(font).glyphForCodePoint(cp);
2972
- if (!Number.isInteger(parsedGlyph.id) || parsedGlyph.id <= 0 || parsedGlyph.id >= parsedFonts.get(font).numGlyphs) unsupported("Font character map points outside glyph records");
2973
- const encoded2 = parsedGlyph.id.toString(16).padStart(4, "0").toUpperCase();
2980
+ const parsed = parsedFonts.get(font);
2981
+ const parsedGlyph = parsed?.glyphForCodePoint(cp);
2982
+ if (parsedGlyph && (!Number.isInteger(parsedGlyph.id) || parsedGlyph.id <= 0 || parsedGlyph.id >= parsed.numGlyphs)) unsupported("Font character map points outside glyph records");
2983
+ const encoded2 = parsedGlyph ? parsedGlyph.id.toString(16).padStart(4, "0").toUpperCase() : font.encodeText(text).asString();
2974
2984
  let scalars = emittedScalars.get(font);
2975
2985
  if (!scalars) {
2976
2986
  scalars = /* @__PURE__ */ new Map();
@@ -2990,13 +3000,12 @@ async function renderPdf(document, context = {}) {
2990
3000
  }
2991
3001
  if (!["https:", "http:", "mailto:"].includes(url.protocol)) unsupported("Unsafe link scheme");
2992
3002
  }
2993
- const width = parsedGlyph.advanceWidth / parsedFonts.get(font).unitsPerEm * size;
3003
+ const width = parsedGlyph ? parsedGlyph.advanceWidth / parsed.unitsPerEm * size : font.widthOfTextAtSize(text, size);
2994
3004
  if (!positive(width)) unsupported(`Nonadvancing glyph U+${cp.toString(16)}`);
2995
- const parsed = parsedFonts.get(font);
2996
- const ascent = parsed.ascent / parsed.unitsPerEm * size;
2997
- const descent = -parsed.descent / parsed.unitsPerEm * size;
3005
+ const ascent = parsed ? parsed.ascent / parsed.unitsPerEm * size : font.heightAtSize(size, { descender: false });
3006
+ const descent = parsed ? -parsed.descent / parsed.unitsPerEm * size : font.heightAtSize(size) - ascent;
2998
3007
  if (!positive(ascent) || !Number.isFinite(descent) || descent < 0) unsupported("Invalid vertical font metrics");
2999
- return { text, code: encoded2, font, size, width, ascent, descent, bold: run.bold ?? false, italic: run.italic ?? false, strikeout: run.strikeout ?? false, underline: run.underline ?? false, ...run.link === void 0 ? {} : { link: run.link } };
3008
+ return { text, code: encoded2, font, size, width, ascent, descent, bold: parsed ? run.bold ?? false : false, italic: parsed ? run.italic ?? false : false, strikeout: run.strikeout ?? false, underline: run.underline ?? false, ...run.link === void 0 ? {} : { link: run.link } };
3000
3009
  };
3001
3010
  const lines = async (block, width) => {
3002
3011
  charge("layoutWork", 1);
@@ -3,20 +3,20 @@ import {
3
3
  } from "./chunk-IEXHHNOF.js";
4
4
  import {
5
5
  Lifecycle
6
- } from "./chunk-GRWOVSFK.js";
6
+ } from "./chunk-7D7JRRML.js";
7
7
  import {
8
8
  parse
9
- } from "./chunk-2LLZBNLL.js";
9
+ } from "./chunk-JWE54GHQ.js";
10
10
  import {
11
11
  Reader,
12
12
  fsDetail
13
- } from "./chunk-ZCKDQGKY.js";
13
+ } from "./chunk-5HDSFHGW.js";
14
14
  import {
15
15
  Budget,
16
16
  IconvError,
17
17
  pathText,
18
18
  settings
19
- } from "./chunk-LW34AKDM.js";
19
+ } from "./chunk-AB4MXHVS.js";
20
20
  import {
21
21
  init_buffer
22
22
  } from "./chunk-HX3SHTCE.js";
@@ -1,7 +1,7 @@
1
1
  import {
2
2
  JqError,
3
3
  JqLimitError
4
- } from "./chunk-AC6X7Q4I.js";
4
+ } from "./chunk-VVI4Z73I.js";
5
5
  import {
6
6
  init_buffer
7
7
  } from "./chunk-HX3SHTCE.js";
@@ -147,14 +147,7 @@ var Budget = class {
147
147
  if (now - this.yieldTimes[0] >= 25) return true;
148
148
  if (checkpoint) return this.steps - this.lastYieldSteps >= 1024;
149
149
  }
150
- if (this.steps - this.lastYieldSteps >= 65536) {
151
- if (!checkTime && this.yieldTimes[0] >= 0 && this.steps < 524288 && monotonicNow() - this.yieldTimes[0] < 20) {
152
- this.lastYieldSteps = this.steps;
153
- return false;
154
- }
155
- return true;
156
- }
157
- return false;
150
+ return this.steps - this.lastYieldSteps >= 65536;
158
151
  }
159
152
  ensureFreshWindow() {
160
153
  const now = monotonicNow();
@@ -1,6 +1,6 @@
1
1
  import {
2
2
  EreLedger
3
- } from "./chunk-AUAF5YBT.js";
3
+ } from "./chunk-5WPI42ZW.js";
4
4
  import {
5
5
  EreSyntaxError,
6
6
  EreUnsupportedError
@@ -13,7 +13,7 @@ import {
13
13
  init_buffer
14
14
  } from "./chunk-HX3SHTCE.js";
15
15
 
16
- // packages/safe-bash-command-pandoc/dist/chunks/chunk-FTHS6SXK.js
16
+ // packages/safe-bash-command-pandoc/dist/chunks/chunk-XVEXYI23.js
17
17
  init_buffer();
18
18
  var require_citeproc_commonjs = __commonJS({
19
19
  "../../node_modules/citeproc/citeproc_commonjs.js"(exports, module) {
@@ -26781,6 +26781,14 @@ function endTagInForeignContent(p, token) {
26781
26781
  }
26782
26782
  }
26783
26783
  }
26784
+ var xmlReplacer = /["$&'<>\u0080-\uFFFF]/g;
26785
+ var xmlCodeMap = /* @__PURE__ */ new Map([
26786
+ [34, "&quot;"],
26787
+ [38, "&amp;"],
26788
+ [39, "&apos;"],
26789
+ [60, "&lt;"],
26790
+ [62, "&gt;"]
26791
+ ]);
26784
26792
  var getCodePoint = (
26785
26793
  // eslint-disable-next-line @typescript-eslint/no-unnecessary-condition
26786
26794
  String.prototype.codePointAt == null ? (c, index) => (c.charCodeAt(index) & 64512) === 55296 ? (c.charCodeAt(index) - 55296) * 1024 + c.charCodeAt(index + 1) - 56320 + 65536 : c.charCodeAt(index) : (
@@ -26788,6 +26796,24 @@ var getCodePoint = (
26788
26796
  ((input, index) => input.codePointAt(index))
26789
26797
  )
26790
26798
  );
26799
+ function encodeXML(input) {
26800
+ let returnValue = "";
26801
+ let lastIndex = 0;
26802
+ let match;
26803
+ while ((match = xmlReplacer.exec(input)) !== null) {
26804
+ const { index } = match;
26805
+ const char = input.charCodeAt(index);
26806
+ const next = xmlCodeMap.get(char);
26807
+ if (next === void 0) {
26808
+ returnValue += `${input.substring(lastIndex, index)}&#x${getCodePoint(input, index).toString(16)};`;
26809
+ lastIndex = xmlReplacer.lastIndex += Number((char & 64512) === 55296);
26810
+ } else {
26811
+ returnValue += input.substring(lastIndex, index) + next;
26812
+ lastIndex = index + 1;
26813
+ }
26814
+ }
26815
+ return returnValue + input.substr(lastIndex);
26816
+ }
26791
26817
  var VOID_ELEMENTS = /* @__PURE__ */ new Set([
26792
26818
  TAG_NAMES.AREA,
26793
26819
  TAG_NAMES.BASE,
@@ -27400,6 +27426,7 @@ function createCiteprocFilterCapability(options = {}) {
27400
27426
  export {
27401
27427
  html_exports,
27402
27428
  defaultTreeAdapter,
27429
+ encodeXML,
27403
27430
  parseFragment,
27404
27431
  htmlReader,
27405
27432
  htmlTreeDocument,
@@ -5,7 +5,7 @@ import {
5
5
  import {
6
6
  Budget,
7
7
  DuLimitError
8
- } from "./chunk-YB6KVU6H.js";
8
+ } from "./chunk-BDBVVZY6.js";
9
9
  import {
10
10
  excluded
11
11
  } from "./chunk-ZXC4QWX7.js";
@@ -1,10 +1,10 @@
1
1
  import {
2
2
  splitString
3
- } from "./chunk-WBJKOTSP.js";
3
+ } from "./chunk-UI32HWGS.js";
4
4
  import {
5
5
  jsonFragments,
6
6
  renderJsonFragment
7
- } from "./chunk-PPOIPMY4.js";
7
+ } from "./chunk-5ZSM4UFN.js";
8
8
  import {
9
9
  JqError,
10
10
  JqLimitError,
@@ -14,7 +14,7 @@ import {
14
14
  objectKeyIterator,
15
15
  objectKeys,
16
16
  put
17
- } from "./chunk-AC6X7Q4I.js";
17
+ } from "./chunk-VVI4Z73I.js";
18
18
  import {
19
19
  decoder,
20
20
  encoder,
@@ -1,18 +1,18 @@
1
1
  import {
2
2
  blockTags
3
- } from "./chunk-QGVOS3EY.js";
3
+ } from "./chunk-HFII3QYO.js";
4
4
  import {
5
5
  destination,
6
6
  escapeText
7
- } from "./chunk-E6IYUYVA.js";
7
+ } from "./chunk-7L24L4UO.js";
8
8
  import {
9
9
  htmlSpace,
10
10
  normalizeText,
11
11
  trimText
12
- } from "./chunk-5EWTQJSC.js";
12
+ } from "./chunk-HHP343KT.js";
13
13
  import {
14
14
  Builder
15
- } from "./chunk-25BLI6S6.js";
15
+ } from "./chunk-4Y3WVMK4.js";
16
16
  import {
17
17
  init_buffer
18
18
  } from "./chunk-HX3SHTCE.js";
@@ -3,7 +3,7 @@ import {
3
3
  } from "./chunk-XS3PGJU2.js";
4
4
  import {
5
5
  XmlQueryError
6
- } from "./chunk-U3ONEICA.js";
6
+ } from "./chunk-KVFCSLKK.js";
7
7
  import {
8
8
  init_buffer
9
9
  } from "./chunk-HX3SHTCE.js";
@@ -1,6 +1,6 @@
1
1
  import {
2
2
  truth
3
- } from "./chunk-AC6X7Q4I.js";
3
+ } from "./chunk-VVI4Z73I.js";
4
4
  import {
5
5
  init_buffer
6
6
  } from "./chunk-HX3SHTCE.js";
@@ -1,7 +1,7 @@
1
1
  import {
2
2
  indexValue,
3
3
  type
4
- } from "./chunk-PRCT7FKJ.js";
4
+ } from "./chunk-YZ5SVZFD.js";
5
5
  import {
6
6
  JqError,
7
7
  JqLimitError,
@@ -9,7 +9,7 @@ import {
9
9
  isObject,
10
10
  put,
11
11
  remove
12
- } from "./chunk-AC6X7Q4I.js";
12
+ } from "./chunk-VVI4Z73I.js";
13
13
  import {
14
14
  isNumber,
15
15
  numberValue
@@ -14,7 +14,7 @@ import {
14
14
  init_buffer
15
15
  } from "./chunk-HX3SHTCE.js";
16
16
 
17
- // packages/safe-bash-command-pandoc/dist/chunks/pptx-KY2OJWZW.js
17
+ // packages/safe-bash-command-pandoc/dist/chunks/pptx-GBPNWNEP.js
18
18
  init_buffer();
19
19
 
20
20
  // packages/pptx/src/index.ts
@@ -30126,7 +30126,7 @@ var declaredOperations = {
30126
30126
  // packages/pptx/src/chart-objects.ts
30127
30127
  init_buffer();
30128
30128
 
30129
- // packages/safe-bash-command-pandoc/dist/chunks/pptx-KY2OJWZW.js
30129
+ // packages/safe-bash-command-pandoc/dist/chunks/pptx-GBPNWNEP.js
30130
30130
  var attr8 = ["", [], []];
30131
30131
  function engineContext(context) {
30132
30132
  const l = context.limits;
@@ -30390,6 +30390,12 @@ var pptxWriter = {
30390
30390
  case "Header":
30391
30391
  paragraph(block.c[2], level);
30392
30392
  break;
30393
+ case "BlockQuote": {
30394
+ const before = y;
30395
+ await blocks(block.c, level + 1, firstParagraph ? bullet : void 0);
30396
+ if (y !== before) firstParagraph = false;
30397
+ break;
30398
+ }
30393
30399
  case "BulletList":
30394
30400
  for (const item2 of block.c) await blocks(item2, bullet ? level + 1 : level, { kind: "character", character: "\u2022" });
30395
30401
  break;
@@ -25,8 +25,6 @@ export declare class Budget {
25
25
  private lines;
26
26
  private work;
27
27
  private nextYield;
28
- private yieldChecks;
29
- private nextYieldTime;
30
28
  private files;
31
29
  private hunks;
32
30
  private signalAborted;
@@ -1,7 +1,7 @@
1
1
  import { byteLength, concatBytes, decodeBytes, encodeBytes } from "../../byte-encoding.js";
2
2
  import { PublicDiagnostic, publicDiagnosticMessage } from "../../diagnostics.js";
3
3
  import { writeDiagnostic } from "../../escaping.js";
4
- import { monotonicNow, yieldTurn } from "../../contracts/yield.js";
4
+ import { yieldTurn } from "../../contracts/yield.js";
5
5
  import { collectBytes, isFsError, readBytes, } from "../../contracts/index.js";
6
6
  import { pathOf } from "../internal.js";
7
7
  export class ToolError extends PublicDiagnostic {
@@ -20,8 +20,6 @@ export class Budget {
20
20
  lines = 0;
21
21
  work = 0;
22
22
  nextYield = 4096;
23
- yieldChecks = 0;
24
- nextYieldTime = monotonicNow() + 8;
25
23
  files = 0;
26
24
  hunks = 0;
27
25
  signalAborted;
@@ -63,15 +61,8 @@ export class Budget {
63
61
  if (this.pollSignal ? this.context.signal.aborted : this.signalAborted)
64
62
  this.context.signal.throwIfAborted();
65
63
  if (this.work >= this.nextYield) {
66
- const firstYield = this.nextYield === 4096;
67
64
  this.nextYield = this.work + 4096;
68
- const now = monotonicNow();
69
- if (++this.yieldChecks % 16 === 0 || firstYield || now >= this.nextYieldTime) {
70
- this.nextYieldTime = now + 16;
71
- return yieldTurn(this.context.signal).then(() => {
72
- this.nextYieldTime = monotonicNow() + 16;
73
- });
74
- }
65
+ return yieldTurn(this.context.signal);
75
66
  }
76
67
  }
77
68
  file() {
@@ -6,6 +6,7 @@ import {
6
6
  createLlmService,
7
7
  createLlmTemplateStore,
8
8
  createOpenAiProvider,
9
+ encodeLlmBase64,
9
10
  evaluateLlmTemplate,
10
11
  findExtractedRange,
11
12
  getLlmModelAliases,
@@ -14,10 +15,13 @@ import {
14
15
  parseLlmSchemaDsl,
15
16
  resolveLlmSchemaInput,
16
17
  selectLlmModelByQuery,
18
+ serializeLlmJsonString,
19
+ serializeLlmJsonValue,
20
+ serializeOpenAiChatRequest,
17
21
  templateYaml,
18
22
  validateLlmTemplateParameters,
19
23
  validateModelOptions
20
- } from "../../chunks/chunk-C2NYCU7O.js";
24
+ } from "../../chunks/chunk-JSVX4VIA.js";
21
25
  import "../../chunks/chunk-YG5WAHK7.js";
22
26
  export {
23
27
  createElevenLabsProvider,
@@ -27,6 +31,7 @@ export {
27
31
  createLlmService,
28
32
  createLlmTemplateStore,
29
33
  createOpenAiProvider,
34
+ encodeLlmBase64,
30
35
  evaluateLlmTemplate,
31
36
  findExtractedRange,
32
37
  getLlmModelAliases,
@@ -35,6 +40,9 @@ export {
35
40
  parseLlmSchemaDsl,
36
41
  resolveLlmSchemaInput,
37
42
  selectLlmModelByQuery,
43
+ serializeLlmJsonString,
44
+ serializeLlmJsonValue,
45
+ serializeOpenAiChatRequest,
38
46
  templateYaml,
39
47
  validateLlmTemplateParameters,
40
48
  validateModelOptions
@@ -4,8 +4,12 @@ import {
4
4
 
5
5
  // packages/safe-bash/src/commands/llm/providers/index.ts
6
6
  init_platform();
7
- import { createElevenLabsProvider, createOpenAiProvider } from "../../../../safe-bash-command-llm/providers/index.js";
7
+ import { createElevenLabsProvider, createOpenAiProvider, encodeLlmBase64, serializeLlmJsonString, serializeLlmJsonValue, serializeOpenAiChatRequest } from "../../../../safe-bash-command-llm/providers/index.js";
8
8
  export {
9
9
  createElevenLabsProvider,
10
- createOpenAiProvider
10
+ createOpenAiProvider,
11
+ encodeLlmBase64,
12
+ serializeLlmJsonString,
13
+ serializeLlmJsonValue,
14
+ serializeOpenAiChatRequest
11
15
  };
@@ -4,15 +4,13 @@ import { createBufferedOutput, FsError } from "../contracts/index.js";
4
4
  import { RETURN_EXIT_ONE, RETURN_EXIT_TWO, RETURN_EXIT_ZERO, assertInputRequirements, bufferLimit, codeOf, concatenate, define, diagnostic, encoder, input, integer, lines, options, output, outputRange, pathOf, requireOperands, RESOLVED_EXIT_ZERO, UsageError, value } from "./internal.js";
5
5
  import { assertCommandRequirements } from "../contracts/command-requirements.js";
6
6
  import { inputRequirements, textOutputRequirements } from "./portable-requirements.js";
7
- import { hasYieldCheckpoint, monotonicNow, runYieldCheckpoint, yieldTurn } from "../contracts/yield.js";
7
+ import { hasYieldCheckpoint, yieldTurn } from "../contracts/yield.js";
8
8
  import { RecordBuffer } from "./record-buffer.js";
9
9
  import { SortRecordBudget } from "./sort-admission.js";
10
10
  import { compareObservedEntries } from "./copy-identity.js";
11
11
  class SortWork {
12
12
  signal;
13
13
  #pending = 0;
14
- #syncTurns = 0;
15
- #lastYield = monotonicNow();
16
14
  constructor(signal) {
17
15
  this.signal = signal;
18
16
  this.signal.throwIfAborted();
@@ -20,31 +18,9 @@ class SortWork {
20
18
  charge(units = 1) {
21
19
  this.#pending += units;
22
20
  if (this.#pending >= 4096) {
23
- if (!hasYieldCheckpoint(this.signal)) {
24
- while (this.#pending >= 4096) {
25
- this.#pending -= 4096;
26
- runYieldCheckpoint(this.signal);
27
- this.signal.throwIfAborted();
28
- if (++this.#syncTurns % 8 === 0) {
29
- const now = monotonicNow();
30
- // A fast or coarse host clock must not suppress every host turn.
31
- if (this.#syncTurns >= 256 || now - this.#lastYield >= 16) {
32
- this.#syncTurns = 0;
33
- this.#lastYield = now;
34
- return this.#checkpointOnce();
35
- }
36
- }
37
- }
38
- return undefined;
39
- }
40
21
  return this.#checkpoint();
41
22
  }
42
23
  }
43
- async #checkpointOnce() {
44
- await yieldTurn(this.signal);
45
- this.#lastYield = monotonicNow();
46
- this.signal.throwIfAborted();
47
- }
48
24
  async #checkpoint() {
49
25
  while (this.#pending >= 4096) {
50
26
  this.#pending -= 4096;
@@ -4,5 +4,5 @@ export { baseAgentCommands, createBoundedRegexProvider } from "./registry-entry.
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
6
  export { PythonFailure, PythonPackageConflictError, createPythonCommands, createPythonExecutorPool, createPythonHostBridge, createPythonJspiAssets, createPythonJspiExecutor, createPythonJspiNativeCall, createPythonJspiStatResult, createPythonJspiTrampoline, createPythonLlmCapability, createPythonPackageCache, createPythonPackageEnvironment, createPythonPackageManifestStore, createPythonShellCapability, inspectPythonCapabilities, pythonCommands, pythonDocumentPackages, pythonHostFailureCode } from "./commands/python/index.browser.js";
7
- export { createElevenLabsProvider, createLlmCommand, createLlmCommands, createLlmConfiguration, createLlmService, createLlmTemplateStore, createOpenAiProvider, evaluateLlmTemplate, findExtractedRange, getLlmModelAliases, llmCommands, llmTemplateUsesInput, parseLlmSchemaDsl, resolveLlmSchemaInput, selectLlmModelByQuery, templateYaml, validateLlmTemplateParameters, validateModelOptions } from "./commands/llm/index.browser.js";
7
+ export { createElevenLabsProvider, createLlmCommand, createLlmCommands, createLlmConfiguration, createLlmService, createLlmTemplateStore, createOpenAiProvider, encodeLlmBase64, evaluateLlmTemplate, findExtractedRange, getLlmModelAliases, llmCommands, llmTemplateUsesInput, parseLlmSchemaDsl, resolveLlmSchemaInput, selectLlmModelByQuery, serializeLlmJsonString, serializeLlmJsonValue, serializeOpenAiChatRequest, templateYaml, validateLlmTemplateParameters, validateModelOptions } from "./commands/llm/index.browser.js";
8
8
  import "./chunks/chunk-KV7PKOHV.js";
@@ -64,7 +64,7 @@ export { createYesCommand, createYesCommands, yesCommands, type YesCommandOption
64
64
  export { createDdCommand, createDdCommands, ddCommands, type DdFileHandle, type DdFileOpener, type DdFileRequest, type DdCommandsOptions, type DdLimits, type DdOptions } from "./dd.js";
65
65
  export { createNumfmtCommand, createNumfmtCommands, numfmtCommands, type NumfmtCommandsOptions, type NumfmtLimits, type NumfmtOptions } from "./commands/numfmt/index.js";
66
66
  export { createEnvsubstCommand, createEnvsubstCommands, envsubstCommands, type EnvsubstCommandsOptions, type EnvsubstLimits, type EnvsubstOptions } from "./commands/envsubst/index.js";
67
- export { createCalCommand, createCalCommands, calCommands, type CalCommandsOptions, type CalLimits, type CalOptions } from "./commands/cal/index.js";
67
+ export { createCalCommand, createNcalCommand, createCalCommands, calCommands, type CalCommandsOptions, type CalLimits, type CalOptions } from "./commands/cal/index.js";
68
68
  export { createPathchkCommand, createPathchkCommands, pathchkCommands, type PathchkCommandsOptions, type PathchkLimits, type PathchkOptions } from "./commands/pathchk/index.js";
69
69
  export { createGetconfCommand, createGetconfCommands, getconfCommands, type GetconfCommandsOptions, type GetconfLimits, type GetconfOptions } from "./commands/getconf/index.js";
70
70
  export { createSha512sumCommand, createSha512sumCommands, sha512sumCommands, type Sha512sumCommandsOptions, type Sha512sumLimits, type Sha512sumOptions } from "./commands/sha512sum/index.js";
@@ -121,4 +121,8 @@ export type { ImagemagickLimits } from "./commands/imagemagick/index.js";
121
121
  export type { UnrtfLimits } from "./commands/unrtf/index.js";
122
122
  export type { WkhtmltopdfLimits } from "./commands/wkhtmltopdf/index.js";
123
123
  export type { XzLimits } from "./commands/xz/index.js";
124
+ export { createConvertCommand, createMogrifyCommand, createCompositeCommand, createMontageCommand, createIdentifyCommand, createCompareCommand } from "./lazy-optional.js";
125
+ export { createPdfuniteCommand, createPdfseparateCommand, createPdffontsCommand, createPdfdetachCommand, createPdftocairoCommand } from "./lazy-optional.js";
126
+ export { createLibreofficeCommand } from "./lazy-optional.js";
127
+ export { createFormatInspectionCommand } from "./lazy-optional.js";
124
128
  //# sourceMappingURL=core.d.ts.map
@@ -64,7 +64,7 @@ export { createYesCommand, createYesCommands, yesCommands } from "./yes.js";
64
64
  export { createDdCommand, createDdCommands, ddCommands } from "./dd.js";
65
65
  export { createNumfmtCommand, createNumfmtCommands, numfmtCommands } from "./commands/numfmt/index.js";
66
66
  export { createEnvsubstCommand, createEnvsubstCommands, envsubstCommands } from "./commands/envsubst/index.js";
67
- export { createCalCommand, createCalCommands, calCommands } from "./commands/cal/index.js";
67
+ export { createCalCommand, createNcalCommand, createCalCommands, calCommands } from "./commands/cal/index.js";
68
68
  export { createPathchkCommand, createPathchkCommands, pathchkCommands } from "./commands/pathchk/index.js";
69
69
  export { createGetconfCommand, createGetconfCommands, getconfCommands } from "./commands/getconf/index.js";
70
70
  export { createSha512sumCommand, createSha512sumCommands, sha512sumCommands } from "./commands/sha512sum/index.js";
@@ -111,4 +111,8 @@ export { createSshCommand, createSshKeygenCommand, createSshCommands, sshCommand
111
111
  export { createGpgCommand, createGpgCommands, gpgCommands } from "./commands/gpg/index.js";
112
112
  export { createGhCommand, createGhCommands, ghCommands } from "./lazy-optional.js";
113
113
  export { optionalCommands, createOptionalCommands, optionalCommandCatalog, createLazyCommands, createLazyCommandLoader, lazyCommandPlugin } from "./lazy-optional.js";
114
+ export { createConvertCommand, createMogrifyCommand, createCompositeCommand, createMontageCommand, createIdentifyCommand, createCompareCommand } from "./lazy-optional.js";
115
+ export { createPdfuniteCommand, createPdfseparateCommand, createPdffontsCommand, createPdfdetachCommand, createPdftocairoCommand } from "./lazy-optional.js";
116
+ export { createLibreofficeCommand } from "./lazy-optional.js";
117
+ export { createFormatInspectionCommand } from "./lazy-optional.js";
114
118
  //# sourceMappingURL=core.js.map