@poe-platform/safe-bash 0.1.803 → 0.1.804

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 (696) hide show
  1. package/README.md +56 -31
  2. package/dist/image-ast/ast.d.ts +1 -0
  3. package/dist/image-ast/browser/ast.d.ts +1 -0
  4. package/dist/image-ast/browser/codecs/jpeg.d.ts +2 -2
  5. package/dist/image-ast/codecs/jpeg.d.ts +2 -2
  6. package/dist/image-ast/index.browser.js +692 -8364
  7. package/dist/image-ast/index.js +692 -8364
  8. package/dist/mp4-ast/codecs.d.ts +7 -2
  9. package/dist/safe-bash/chunks/{chunk-CHYGPFVM.js → chunk-22SX3F2R.js} +1 -1
  10. package/dist/safe-bash/chunks/{chunk-FBUCWVTE.js → chunk-2IVBJTBD.js} +1 -1
  11. package/dist/safe-bash/chunks/chunk-2POETUMB.js +190 -0
  12. package/dist/safe-bash/chunks/{chunk-XVOSKJE2.js → chunk-47D7WBJK.js} +1 -1
  13. package/dist/safe-bash/chunks/{chunk-VKNVHEX3.js → chunk-4ESI236Y.js} +1 -1
  14. package/dist/safe-bash/chunks/{chunk-74GHTNJA.js → chunk-4KTMKD5W.js} +1 -1
  15. package/dist/safe-bash/chunks/{chunk-55YJASTN.js → chunk-4T53AERN.js} +1 -1
  16. package/dist/safe-bash/chunks/{chunk-DQP3VHSB.js → chunk-5XIFJVOO.js} +1 -1
  17. package/dist/safe-bash/chunks/{chunk-5OHX7C2V.js → chunk-62BOHHJT.js} +1 -1
  18. package/dist/safe-bash/chunks/{chunk-HZAMGT5I.js → chunk-67WIFM3N.js} +17 -6
  19. package/dist/safe-bash/chunks/{chunk-4D4N7IU2.js → chunk-6LNFRPW5.js} +2 -2
  20. package/dist/safe-bash/chunks/{chunk-6O77NL2S.js → chunk-6SMICPI3.js} +1 -1
  21. package/dist/safe-bash/chunks/{chunk-4BSJLKNM.js → chunk-7O76UFQD.js} +1 -1
  22. package/dist/safe-bash/chunks/{chunk-PNBBUWSM.js → chunk-AW5KIT6V.js} +3488 -39
  23. package/dist/safe-bash/chunks/{chunk-JMMEIDPF.js → chunk-B2Z73HTZ.js} +52 -28
  24. package/dist/safe-bash/chunks/chunk-B3ZMOJVM.js +319 -0
  25. package/dist/safe-bash/chunks/{chunk-7ZBU7KYV.js → chunk-CFAWS3O4.js} +1 -1
  26. package/dist/safe-bash/chunks/{chunk-I5HZ4FGE.js → chunk-CL2FCTTO.js} +1 -1
  27. package/dist/safe-bash/chunks/{chunk-2LSAMQER.js → chunk-CTXNARJH.js} +1 -1
  28. package/dist/safe-bash/chunks/{chunk-TFIBK2GI.js → chunk-D5Q7NFWI.js} +1 -1
  29. package/dist/safe-bash/chunks/{chunk-OQRVVGR6.js → chunk-DSOOVZ6Q.js} +1 -1
  30. package/dist/safe-bash/chunks/{chunk-VTH3MLDU.js → chunk-DUTAG6ZD.js} +1 -1
  31. package/dist/safe-bash/chunks/{chunk-XAQMU6OY.js → chunk-EE5YGFIZ.js} +1 -1
  32. package/dist/safe-bash/chunks/{chunk-FZE4HW6G.js → chunk-EJOYT2ME.js} +1 -1
  33. package/dist/safe-bash/chunks/chunk-FAAIR6EJ.js +887 -0
  34. package/dist/safe-bash/chunks/{chunk-OV6IHKO6.js → chunk-FOB2FZR4.js} +2 -2
  35. package/dist/safe-bash/chunks/chunk-G6V4RRSQ.js +14 -0
  36. package/dist/safe-bash/chunks/{chunk-UTBUUFDM.js → chunk-GGQAGQXQ.js} +1 -1
  37. package/dist/safe-bash/chunks/{chunk-K6VCD7IY.js → chunk-HIIYIJ5G.js} +2 -4
  38. package/dist/safe-bash/chunks/{chunk-VBTDHOWC.js → chunk-IOHH2GTI.js} +4 -3
  39. package/dist/safe-bash/chunks/{chunk-CTVWDACF.js → chunk-IQW34XQT.js} +1 -1
  40. package/dist/safe-bash/chunks/{chunk-HZ7BWKQ3.js → chunk-IS572AAT.js} +1 -1
  41. package/dist/safe-bash/chunks/{chunk-AUSNDQTJ.js → chunk-JPSUHHOA.js} +1 -1
  42. package/dist/safe-bash/chunks/{chunk-ZVD5IS4V.js → chunk-KBZ4UB2O.js} +2 -2
  43. package/dist/safe-bash/chunks/{chunk-AM5ESLPH.js → chunk-KU5CVWKA.js} +1 -1
  44. package/dist/safe-bash/chunks/{chunk-RYFQ3LZG.js → chunk-LPOVNKNB.js} +173 -153
  45. package/dist/safe-bash/chunks/{chunk-46Z5E5EV.js → chunk-MBOC3LZ4.js} +1 -1
  46. package/dist/safe-bash/chunks/{chunk-6PAVEFT3.js → chunk-N4BQFD3P.js} +1 -1
  47. package/dist/safe-bash/chunks/{chunk-CS4MNM6I.js → chunk-NGKCVNWS.js} +1 -1
  48. package/dist/safe-bash/chunks/{chunk-7R5BDCG7.js → chunk-OHML2BEU.js} +1 -1
  49. package/dist/safe-bash/chunks/{chunk-C5OWC2TL.js → chunk-OQ3AGYCZ.js} +1 -1
  50. package/dist/safe-bash/chunks/{chunk-B7TAL7S5.js → chunk-PTAEWLSE.js} +0 -2
  51. package/dist/safe-bash/chunks/{chunk-LVOBFF4D.js → chunk-Q4FNLOTI.js} +1 -1
  52. package/dist/safe-bash/chunks/chunk-Q5XO3NAS.js +1036 -0
  53. package/dist/safe-bash/chunks/{chunk-GEG3BWGE.js → chunk-RHFRJIWQ.js} +1 -1
  54. package/dist/safe-bash/chunks/chunk-RUR6J33T.js +11 -0
  55. package/dist/safe-bash/chunks/{chunk-EEEWOYEG.js → chunk-S4RFUUXO.js} +839 -24
  56. package/dist/safe-bash/chunks/{chunk-RRR7AQ24.js → chunk-SD2ISU5L.js} +1 -1
  57. package/dist/safe-bash/chunks/{chunk-3NDIFSNM.js → chunk-SUJ3NTMH.js} +3 -3
  58. package/dist/safe-bash/chunks/{chunk-R3NAKOED.js → chunk-SZRUU5HS.js} +2 -2
  59. package/dist/safe-bash/chunks/{chunk-PH63PLPZ.js → chunk-TC3F4UFF.js} +1 -1
  60. package/dist/safe-bash/chunks/{chunk-3R3AANOR.js → chunk-TCKYOLUE.js} +1 -1
  61. package/dist/safe-bash/chunks/{chunk-D3ANYGMC.js → chunk-UV4X32QU.js} +1 -1
  62. package/dist/safe-bash/chunks/{chunk-E7OYNDGL.js → chunk-V7QT2RWC.js} +1 -1
  63. package/dist/safe-bash/chunks/{chunk-B7PIL77G.js → chunk-W2IYOVHK.js} +804 -1195
  64. package/dist/safe-bash/chunks/{chunk-3HQU4OJO.js → chunk-XNGVOSGI.js} +1 -1
  65. package/dist/safe-bash/chunks/{chunk-J42RIHHJ.js → chunk-XQWCQSRN.js} +1 -1
  66. package/dist/safe-bash/chunks/{chunk-A7XEHALN.js → chunk-Y7FW6GLT.js} +6 -6
  67. package/dist/safe-bash/chunks/{chunk-QGUV42T5.js → chunk-YL3GBUG4.js} +1 -1
  68. package/dist/safe-bash/chunks/chunk-YOXUCJER.js +389 -0
  69. package/dist/safe-bash/chunks/{chunk-HBCN24ZA.js → chunk-Z2AAYYJN.js} +2 -2
  70. package/dist/safe-bash/chunks/chunk-ZKYKJCZZ.js +30 -0
  71. package/dist/safe-bash/chunks/core-IE3AFIDX.js +85806 -0
  72. package/dist/safe-bash/chunks/{ffmpeg-WTC3TEFI.js → ffmpeg-YANDK6HU.js} +2 -2
  73. package/dist/safe-bash/chunks/{gh-6WU6PXL4.js → gh-4MBJ2S5V.js} +2 -2
  74. package/dist/safe-bash/chunks/{git-EFZIGJW4.js → git-2QONJNRQ.js} +2 -2
  75. package/dist/safe-bash/chunks/{imagemagick-EIEYGWPF.js → imagemagick-JLEHGYSN.js} +2 -2
  76. package/dist/safe-bash/chunks/{mmdc-ROQJT5HQ.js → mmdc-6LD7A6ND.js} +2 -2
  77. package/dist/safe-bash/chunks/{pdfimages-DW7LWXFI.js → pdfimages-RSHL7LOP.js} +2 -2
  78. package/dist/safe-bash/chunks/{pdfinfo-TIP6XLUQ.js → pdfinfo-L3SGWPNG.js} +2 -2
  79. package/dist/safe-bash/chunks/{pdftk-DMG22ITZ.js → pdftk-LFBJNU5A.js} +2 -2
  80. package/dist/safe-bash/chunks/{pdftoppm-WNDYR72T.js → pdftoppm-NXXFUIHG.js} +2 -2
  81. package/dist/safe-bash/chunks/{pdftotext-5IPZ4NI7.js → pdftotext-4IHNWT6F.js} +2 -2
  82. package/dist/safe-bash/chunks/{qpdf-TTX2DIUA.js → qpdf-ZEIREV63.js} +2 -2
  83. package/dist/safe-bash/chunks/read-builtin-A4QKAT45.js +9 -0
  84. package/dist/safe-bash/chunks/{sips-XYS46JPJ.js → sips-D5YBG2V3.js} +2 -2
  85. package/dist/safe-bash/chunks/{soffice-TU73E5KL.js → soffice-RAJU3JUT.js} +2 -2
  86. package/dist/safe-bash/chunks/source-files-3XWRRHFA.js +7 -0
  87. package/dist/safe-bash/chunks/{wkhtmltopdf-FSZ2CHGE.js → wkhtmltopdf-7UE4FORZ.js} +2 -2
  88. package/dist/safe-bash/command-chunks/{chunk-7KWZXKY6.js → chunk-26RTBV2I.js} +1 -0
  89. package/dist/safe-bash/command-chunks/{chunk-AQJ2ROJO.js → chunk-2WYNMZR2.js} +10 -8
  90. package/dist/safe-bash/command-chunks/{chunk-BDSMROQZ.js → chunk-36GFRF2N.js} +2 -1
  91. package/dist/safe-bash/command-chunks/{chunk-GC5TJZOF.js → chunk-3VIA2IA7.js} +114 -31
  92. package/dist/safe-bash/command-chunks/{chunk-NKFYQSES.js → chunk-4CTI3ZTX.js} +1 -0
  93. package/dist/safe-bash/command-chunks/{chunk-WH627NJL.js → chunk-4MYP2FX4.js} +2 -1
  94. package/dist/safe-bash/command-chunks/{chunk-ZDN7MJE6.js → chunk-4R5ADJM5.js} +11 -1
  95. package/dist/safe-bash/command-chunks/{chunk-P2N33UMN.js → chunk-5MIKM54M.js} +4 -4
  96. package/dist/safe-bash/command-chunks/{chunk-DB453IE6.js → chunk-6FZQUOSJ.js} +1 -1
  97. package/dist/safe-bash/command-chunks/{chunk-PICVQ6B5.js → chunk-6GKYHPJG.js} +1 -1
  98. package/dist/safe-bash/command-chunks/{chunk-7K6JYKPJ.js → chunk-6M2ELGEN.js} +17 -15
  99. package/dist/safe-bash/command-chunks/{chunk-PXEIT2O4.js → chunk-6UR7V3ET.js} +8 -1
  100. package/dist/safe-bash/command-chunks/{chunk-6KJ3LPI2.js → chunk-6XBS5B46.js} +26 -3
  101. package/dist/safe-bash/command-chunks/{chunk-5PWJG2UK.js → chunk-6YXLZX7L.js} +2 -2
  102. package/dist/safe-bash/command-chunks/{chunk-EK6YNAXT.js → chunk-753YOR54.js} +31 -5
  103. package/dist/safe-bash/command-chunks/{chunk-RMWQAAO5.js → chunk-7IR4NRNE.js} +2 -2
  104. package/dist/safe-bash/command-chunks/{chunk-FZTK4MFI.js → chunk-7NM73SVK.js} +8 -8
  105. package/dist/safe-bash/command-chunks/{chunk-NXEQ3ESQ.js → chunk-7QD5YY4F.js} +6 -11
  106. package/dist/safe-bash/command-chunks/{chunk-EMPU65ZK.js → chunk-A5LBSJGH.js} +1 -0
  107. package/dist/safe-bash/command-chunks/{chunk-4FEVBOL5.js → chunk-ARZMP2L2.js} +2 -2
  108. package/dist/safe-bash/command-chunks/{chunk-NKIELG7Y.js → chunk-BAKFZ477.js} +40 -19
  109. package/dist/safe-bash/command-chunks/{chunk-QRRYN2KO.js → chunk-BC7BK6R6.js} +0 -2424
  110. package/dist/safe-bash/command-chunks/{chunk-CQHP3I66.js → chunk-BOEOJS2Q.js} +1 -1
  111. package/dist/safe-bash/command-chunks/{chunk-XS72HTMA.js → chunk-BWGGLYEB.js} +5 -22
  112. package/dist/safe-bash/command-chunks/{chunk-PMBFZXTK.js → chunk-C5ZZKP7V.js} +1 -1
  113. package/dist/safe-bash/command-chunks/{chunk-LHIOAFWW.js → chunk-C7SEB6WU.js} +1 -1
  114. package/dist/safe-bash/command-chunks/{chunk-XPT2UGBF.js → chunk-CHJKFRT7.js} +1 -1
  115. package/dist/safe-bash/command-chunks/{chunk-TIOCQVUQ.js → chunk-CON26Q2O.js} +1 -1
  116. package/dist/safe-bash/command-chunks/{chunk-E55UKBIE.js → chunk-DBAT3IK2.js} +1 -1
  117. package/dist/safe-bash/command-chunks/{chunk-Z45N42QC.js → chunk-DPAYAVMS.js} +15 -1
  118. package/dist/safe-bash/command-chunks/chunk-DS3NXVUM.js +368 -0
  119. package/dist/safe-bash/command-chunks/{chunk-5ZMZ573Q.js → chunk-DSJ3VRL3.js} +16 -4
  120. package/dist/safe-bash/command-chunks/{chunk-K2GDEMEU.js → chunk-EFRCFWVR.js} +4 -4
  121. package/dist/safe-bash/command-chunks/{chunk-DZCY63VJ.js → chunk-EV6HIJ5H.js} +6 -5
  122. package/dist/safe-bash/command-chunks/{chunk-JDYXY44P.js → chunk-FJURV46Y.js} +3 -3
  123. package/dist/safe-bash/command-chunks/{chunk-TZZ4WUKH.js → chunk-FZAWGKSE.js} +6 -4
  124. package/dist/safe-bash/command-chunks/{chunk-YHFXOX6U.js → chunk-GOCFQ6XV.js} +4 -4
  125. package/dist/safe-bash/command-chunks/{chunk-QVOS4YXL.js → chunk-HH5O7DJI.js} +1 -1
  126. package/dist/safe-bash/command-chunks/{chunk-3HHCU5YU.js → chunk-HK7F5SDC.js} +13 -0
  127. package/dist/safe-bash/command-chunks/{chunk-JNZ3CVAE.js → chunk-HQBXIZC7.js} +8 -3
  128. package/dist/safe-bash/command-chunks/{chunk-V4K2JDYU.js → chunk-I63DBZXZ.js} +2 -2
  129. package/dist/safe-bash/command-chunks/{chunk-WNE7FPVR.js → chunk-I64TLTIW.js} +24 -16
  130. package/dist/safe-bash/command-chunks/{chunk-GFC2NTDG.js → chunk-ICANWOXH.js} +5 -29
  131. package/dist/safe-bash/command-chunks/{chunk-SQRQW3CT.js → chunk-IJ6LGLXM.js} +1 -1
  132. package/dist/safe-bash/command-chunks/{chunk-TGSNCQSR.js → chunk-JT4RYCA6.js} +1771 -1663
  133. package/dist/safe-bash/command-chunks/{chunk-II77KPZN.js → chunk-JWW6FYBN.js} +2 -2
  134. package/dist/safe-bash/command-chunks/{chunk-ZYXH3B66.js → chunk-LCJWKTCJ.js} +250 -203
  135. package/dist/safe-bash/command-chunks/chunk-LU4HBPP2.js +97 -0
  136. package/dist/safe-bash/command-chunks/{chunk-XJXU3VVH.js → chunk-LWOE65OE.js} +20 -5
  137. package/dist/safe-bash/command-chunks/{chunk-GMIHJYDG.js → chunk-M32HFSX7.js} +22 -6
  138. package/dist/safe-bash/command-chunks/{chunk-YG4EPFWC.js → chunk-M3NINRDU.js} +2880 -172
  139. package/dist/safe-bash/command-chunks/chunk-MQREDAL6.js +164 -0
  140. package/dist/safe-bash/command-chunks/{chunk-LWS62ISU.js → chunk-N6DIASO2.js} +1 -1
  141. package/dist/safe-bash/command-chunks/chunk-NGL7YK7O.js +188 -0
  142. package/dist/safe-bash/command-chunks/{chunk-EARHPPPJ.js → chunk-NJYHWKIL.js} +39 -9
  143. package/dist/safe-bash/command-chunks/{chunk-6JSIFWYT.js → chunk-OJQRSCBP.js} +1 -1
  144. package/dist/safe-bash/command-chunks/{chunk-OQU6UT6X.js → chunk-OV3XREFN.js} +11 -0
  145. package/dist/safe-bash/command-chunks/{chunk-MIXBO6U7.js → chunk-PTZLF456.js} +2 -2
  146. package/dist/safe-bash/command-chunks/{chunk-ALDC4XP4.js → chunk-QILLRNES.js} +34 -10
  147. package/dist/safe-bash/command-chunks/{chunk-L22T3H7L.js → chunk-QR25JLKO.js} +1 -1
  148. package/dist/safe-bash/command-chunks/{chunk-NASVPT6F.js → chunk-R7C4MGZ5.js} +17 -224
  149. package/dist/safe-bash/command-chunks/{chunk-LCF3OB7P.js → chunk-RBME3JEH.js} +1 -1
  150. package/dist/safe-bash/command-chunks/{chunk-2KG2QLJE.js → chunk-RFWGYT7G.js} +3 -0
  151. package/dist/safe-bash/command-chunks/{chunk-5TBUOBDE.js → chunk-RZMVRT26.js} +27 -13
  152. package/dist/safe-bash/command-chunks/chunk-TFR6B3WB.js +44 -0
  153. package/dist/safe-bash/command-chunks/chunk-TOH3OF3O.js +179 -0
  154. package/dist/safe-bash/command-chunks/chunk-TT4DAFBT.js +13621 -0
  155. package/dist/safe-bash/command-chunks/{chunk-LWSBAWLT.js → chunk-TXI64OAG.js} +1 -1
  156. package/dist/safe-bash/command-chunks/{chunk-GIRNFXP3.js → chunk-TZRI7BJZ.js} +45 -15
  157. package/dist/safe-bash/command-chunks/{chunk-QOKBZFFD.js → chunk-U3MMODA5.js} +2 -7
  158. package/dist/safe-bash/command-chunks/{chunk-ZYHTWNAE.js → chunk-UAW423ZL.js} +11 -11
  159. package/dist/safe-bash/command-chunks/{chunk-C5YYCQHW.js → chunk-UXEEUGOV.js} +222 -12
  160. package/dist/safe-bash/command-chunks/{chunk-GY3BWK7K.js → chunk-VOZPMJRX.js} +87 -80
  161. package/dist/safe-bash/command-chunks/{chunk-ILX2NOLF.js → chunk-WPANOB4A.js} +20 -20
  162. package/dist/safe-bash/command-chunks/{chunk-Y2WBSJG6.js → chunk-X4QZQI5Q.js} +65 -64
  163. package/dist/safe-bash/command-chunks/{chunk-HDCNKOIX.js → chunk-XGI57GCN.js} +1 -1
  164. package/dist/safe-bash/command-chunks/{chunk-5UBXNSFZ.js → chunk-XUCU7QQT.js} +1281 -1278
  165. package/dist/safe-bash/command-chunks/chunk-Y22VXJBD.js +296 -0
  166. package/dist/safe-bash/command-chunks/{chunk-WVHONVZ4.js → chunk-YMFUUPDX.js} +5 -3
  167. package/dist/safe-bash/command-chunks/{chunk-IR2BY7EL.js → chunk-YYGIBXFZ.js} +2 -2
  168. package/dist/safe-bash/command-chunks/{chunk-MSFXC3OC.js → chunk-Z4FO6OHE.js} +2 -2
  169. package/dist/safe-bash/command-chunks/{chunk-WWIBP2ET.js → chunk-Z5ZZVDUD.js} +143 -22
  170. package/dist/safe-bash/command-chunks/{chunk-LOICUCHG.js → chunk-ZHN3QDCI.js} +1 -1
  171. package/dist/safe-bash/commands/alias/index.d.ts +2 -0
  172. package/dist/safe-bash/commands/alias/index.js +2 -0
  173. package/dist/safe-bash/commands/apply-patch/index.browser.js +2 -3
  174. package/dist/safe-bash/commands/apply-patch/index.d.ts +0 -1
  175. package/dist/safe-bash/commands/apply-patch/index.js +0 -1
  176. package/dist/safe-bash/commands/archive/index.browser.js +2 -3
  177. package/dist/safe-bash/commands/archive/index.d.ts +0 -1
  178. package/dist/safe-bash/commands/archive/index.js +0 -1
  179. package/dist/safe-bash/commands/bytes/index.js +2 -1
  180. package/dist/safe-bash/commands/chmod/index.browser.js +1 -1
  181. package/dist/safe-bash/commands/column/index.browser.js +2 -3
  182. package/dist/safe-bash/commands/column/index.d.ts +0 -1
  183. package/dist/safe-bash/commands/column/index.js +0 -1
  184. package/dist/safe-bash/commands/copy-source.js +1 -0
  185. package/dist/safe-bash/commands/csplit/index.browser.js +2 -2
  186. package/dist/safe-bash/commands/csvkit/index.browser.js +72 -0
  187. package/dist/safe-bash/commands/csvkit/index.d.ts +0 -5
  188. package/dist/safe-bash/commands/csvkit/index.js +0 -50
  189. package/dist/safe-bash/commands/docx/index.browser.js +5 -7
  190. package/dist/safe-bash/commands/du/index.browser.js +2 -3
  191. package/dist/safe-bash/commands/du/index.d.ts +0 -1
  192. package/dist/safe-bash/commands/du/index.js +0 -1
  193. package/dist/safe-bash/commands/expr/index.browser.js +2 -3
  194. package/dist/safe-bash/commands/expr/index.d.ts +0 -1
  195. package/dist/safe-bash/commands/expr/index.js +0 -1
  196. package/dist/safe-bash/commands/factor/index.browser.js +2 -2
  197. package/dist/safe-bash/commands/file/index.browser.js +2 -3
  198. package/dist/safe-bash/commands/file/index.d.ts +0 -1
  199. package/dist/safe-bash/commands/file/index.js +0 -1
  200. package/dist/safe-bash/commands/filesystem.js +1 -1
  201. package/dist/safe-bash/commands/getopt/index.browser.js +2 -2
  202. package/dist/safe-bash/commands/grep-aliases/index.browser.js +3 -3
  203. package/dist/safe-bash/commands/hexdump/index.browser.js +2 -2
  204. package/dist/safe-bash/commands/html-to-markdown/index.browser.js +2 -3
  205. package/dist/safe-bash/commands/html-to-markdown/index.d.ts +0 -1
  206. package/dist/safe-bash/commands/html-to-markdown/index.js +0 -1
  207. package/dist/safe-bash/commands/htmlq/index.d.ts +1 -5
  208. package/dist/safe-bash/commands/htmlq/index.js +1 -143
  209. package/dist/safe-bash/commands/iconv/index.browser.js +2 -2
  210. package/dist/safe-bash/commands/line-endings/index.browser.js +2 -2
  211. package/dist/safe-bash/commands/llm/index.browser.js +2 -2
  212. package/dist/safe-bash/commands/llm/providers/index.browser.js +1 -1
  213. package/dist/safe-bash/commands/mdq/index.browser.js +3 -3
  214. package/dist/safe-bash/commands/media/index.browser.js +4 -16314
  215. package/dist/safe-bash/commands/media/index.d.ts +1 -5
  216. package/dist/safe-bash/commands/media/index.js +1 -3
  217. package/dist/safe-bash/commands/media/plugin.d.ts +1 -18
  218. package/dist/safe-bash/commands/media/plugin.js +1 -90
  219. package/dist/safe-bash/commands/media/remote.d.ts +1 -63
  220. package/dist/safe-bash/commands/media/remote.js +1 -405
  221. package/dist/safe-bash/commands/media/settings.d.ts +1 -4
  222. package/dist/safe-bash/commands/media/settings.js +1 -26
  223. package/dist/safe-bash/commands/metadata/index.browser.js +3 -4
  224. package/dist/safe-bash/commands/metadata/index.d.ts +0 -1
  225. package/dist/safe-bash/commands/metadata/index.js +2 -2
  226. package/dist/safe-bash/commands/mktemp/index.browser.js +1 -1
  227. package/dist/safe-bash/commands/network/curl.js +1 -3
  228. package/dist/safe-bash/commands/network/index.browser.js +3 -4
  229. package/dist/safe-bash/commands/network/public.d.ts +0 -1
  230. package/dist/safe-bash/commands/network/public.js +0 -1
  231. package/dist/safe-bash/commands/network/transport.js +2 -1
  232. package/dist/safe-bash/commands/network/wget.js +1 -3
  233. package/dist/safe-bash/commands/node/browser.d.ts +0 -1
  234. package/dist/safe-bash/commands/node/browser.js +0 -1
  235. package/dist/safe-bash/commands/node/default-runtime.d.ts +3 -0
  236. package/dist/safe-bash/commands/node/default-runtime.js +15 -0
  237. package/dist/safe-bash/commands/node/index.browser.js +7 -8
  238. package/dist/safe-bash/commands/node/index.js +3 -3
  239. package/dist/safe-bash/commands/node/path.js +1 -1
  240. package/dist/safe-bash/commands/node/preload.d.ts +1 -1
  241. package/dist/safe-bash/commands/node/preload.js +4 -1
  242. package/dist/safe-bash/commands/node/quickjs.d.ts +2 -0
  243. package/dist/safe-bash/commands/node/quickjs.js +2 -0
  244. package/dist/safe-bash/commands/node/safejs.js +26 -12
  245. package/dist/safe-bash/commands/op/index.browser.js +2 -3
  246. package/dist/safe-bash/commands/op/index.d.ts +0 -11
  247. package/dist/safe-bash/commands/op/index.js +0 -84
  248. package/dist/safe-bash/commands/pandoc/index.browser.js +44 -0
  249. package/dist/safe-bash/commands/pandoc/index.d.ts +0 -1
  250. package/dist/safe-bash/commands/pandoc/index.js +0 -1
  251. package/dist/safe-bash/commands/pr/index.browser.js +2 -2
  252. package/dist/safe-bash/commands/python/docker-runner.js +4 -3
  253. package/dist/safe-bash/commands/python/docker.d.ts +1 -0
  254. package/dist/safe-bash/commands/python/docker.js +5 -2
  255. package/dist/safe-bash/commands/python/index.browser.js +17 -13
  256. package/dist/safe-bash/commands/python/index.d.ts +2 -1
  257. package/dist/safe-bash/commands/python/index.js +10 -8
  258. package/dist/safe-bash/commands/python/llm-capability.js +65 -2
  259. package/dist/safe-bash/commands/python/llm-dependencies.d.ts +27 -0
  260. package/dist/safe-bash/commands/python/llm-dependencies.js +66 -0
  261. package/dist/safe-bash/commands/python/llm-module.js +6 -4
  262. package/dist/safe-bash/commands/python/llm-reference-module.d.ts +3 -0
  263. package/dist/safe-bash/commands/python/llm-reference-module.js +690 -0
  264. package/dist/safe-bash/commands/python/worker.browser.js +2 -3
  265. package/dist/safe-bash/commands/python/worker.d.ts +0 -1
  266. package/dist/safe-bash/commands/python/worker.js +0 -1
  267. package/dist/safe-bash/commands/regex-execution/ere/transport/wire-engine.d.ts +1 -1
  268. package/dist/safe-bash/commands/regex-execution/ere/transport/wire-engine.js +3 -3
  269. package/dist/safe-bash/commands/regex-execution/public.browser.js +7 -7
  270. package/dist/safe-bash/commands/safejs/options.js +5 -1
  271. package/dist/safe-bash/commands/safejs/runtime.d.ts +1 -0
  272. package/dist/safe-bash/commands/safejs/runtime.js +1 -1
  273. package/dist/safe-bash/commands/split/index.browser.js +2 -3
  274. package/dist/safe-bash/commands/split/index.d.ts +0 -1
  275. package/dist/safe-bash/commands/split/index.js +0 -1
  276. package/dist/safe-bash/commands/ssconvert/index.browser.js +98 -0
  277. package/dist/safe-bash/commands/stat/index.browser.js +1 -1
  278. package/dist/safe-bash/commands/stream-format/index.browser.js +3 -4
  279. package/dist/safe-bash/commands/stream-format/index.d.ts +0 -1
  280. package/dist/safe-bash/commands/stream-format/index.js +0 -1
  281. package/dist/safe-bash/commands/stream-inspection/index.browser.js +3 -4
  282. package/dist/safe-bash/commands/stream-inspection/index.d.ts +0 -1
  283. package/dist/safe-bash/commands/stream-inspection/index.js +0 -1
  284. package/dist/safe-bash/commands/streams.js +2 -1
  285. package/dist/safe-bash/commands/table-text/index.browser.js +3 -4
  286. package/dist/safe-bash/commands/table-text/index.d.ts +0 -1
  287. package/dist/safe-bash/commands/table-text/index.js +0 -1
  288. package/dist/safe-bash/commands/text.js +28 -24
  289. package/dist/safe-bash/commands/time-env/index.browser.js +3 -4
  290. package/dist/safe-bash/commands/time-env/index.d.ts +0 -1
  291. package/dist/safe-bash/commands/time-env/index.js +0 -1
  292. package/dist/safe-bash/commands/tree/index.browser.js +2 -3
  293. package/dist/safe-bash/commands/tree/index.d.ts +0 -1
  294. package/dist/safe-bash/commands/tree/index.js +0 -1
  295. package/dist/safe-bash/commands/tsort/index.browser.js +2 -2
  296. package/dist/safe-bash/commands/unalias/index.d.ts +2 -0
  297. package/dist/safe-bash/commands/unalias/index.js +2 -0
  298. package/dist/safe-bash/commands/xml/index.browser.js +2 -2
  299. package/dist/safe-bash/commands/yq/index.browser.js +2 -2
  300. package/dist/safe-bash/core.browser.js +2 -2
  301. package/dist/safe-bash/core.d.ts +7 -1
  302. package/dist/safe-bash/core.js +7 -1
  303. package/dist/safe-bash/execution-runtime.js +2 -1
  304. package/dist/safe-bash/fs/s3/http/index.d.ts +2 -2
  305. package/dist/safe-bash/fs/s3/http/index.js +1 -1
  306. package/dist/safe-bash/full-core.browser.js +283 -945
  307. package/dist/safe-bash/internal/op/types.d.ts +1 -0
  308. package/dist/safe-bash/jobs.browser.js +5 -5
  309. package/dist/safe-bash/lazy-optional.d.ts +3 -3
  310. package/dist/safe-bash/lazy-optional.js +1 -1
  311. package/dist/safe-bash/opt-in/commands/cmp/index.js +7 -6
  312. package/dist/safe-bash/opt-in/commands/dd/index.js +1 -1
  313. package/dist/safe-bash/opt-in/commands/dd/io.js +51 -5
  314. package/dist/safe-bash/opt-in/commands/truncate/index.js +2 -2
  315. package/dist/safe-bash/opt-in/commands/yq/native-work.js +2 -0
  316. package/dist/safe-bash/opt-in/optional/commands/shuf/input.js +2 -1
  317. package/dist/safe-bash/opt-in/optional/commands/shuf/shuf.js +4 -2
  318. package/dist/safe-bash/opt-in/optional.d.ts +1 -1
  319. package/dist/safe-bash/opt-in/optional.js +1 -1
  320. package/dist/safe-bash/opt-in/shell/extensions/read/index.js +2 -344
  321. package/dist/safe-bash/optional-host.browser.js +23 -18
  322. package/dist/safe-bash/optional-host.d.ts +1 -0
  323. package/dist/safe-bash/optional-host.js +1 -0
  324. package/dist/safe-bash/playwright/controller.js +41 -3
  325. package/dist/safe-bash/playwright/native-storage-targets.js +4 -2
  326. package/dist/safe-bash/plugins/base.d.ts +1 -1
  327. package/dist/safe-bash/plugins/base.js +3 -3
  328. package/dist/safe-bash/plugins/composition.d.ts +5 -2
  329. package/dist/safe-bash/plugins/composition.js +10 -7
  330. package/dist/safe-bash/plugins/index.browser.js +44 -41
  331. package/dist/safe-bash/plugins/index.js +3 -2
  332. package/dist/safe-bash/plugins/portable-commands.d.ts +3 -0
  333. package/dist/safe-bash/plugins/portable-commands.js +31 -0
  334. package/dist/safe-bash/registry-entry.browser.js +41 -42
  335. package/dist/safe-bash/search.browser.js +32 -33
  336. package/dist/safe-bash/shell/arithmetic.js +19 -6
  337. package/dist/safe-bash/shell/arrays/state.js +1 -1
  338. package/dist/safe-bash/shell/arrays/syntax.js +4 -3
  339. package/dist/safe-bash/shell/index.d.ts +0 -1
  340. package/dist/safe-bash/shell/index.js +0 -1
  341. package/dist/safe-bash/shell/parser.d.ts +2 -2
  342. package/dist/safe-bash/shell/parser.js +268 -64
  343. package/dist/safe-bash/shell/read-builtin.d.ts +3 -0
  344. package/dist/safe-bash/shell/read-builtin.js +344 -0
  345. package/dist/safe-bash/shell/runtime.d.ts +21 -4
  346. package/dist/safe-bash/shell/runtime.js +373 -412
  347. package/dist/safe-bash/shell/session-state.js +25 -0
  348. package/dist/safe-bash/shell/shell.js +76 -154
  349. package/dist/safe-bash/shell/tilde-expansion.d.ts +1 -1
  350. package/dist/safe-bash/shell/tilde-expansion.js +2 -2
  351. package/dist/safe-bash/shell/types.d.ts +5 -0
  352. package/dist/safe-bash/shell/value-state.js +1 -1
  353. package/dist/safe-bash/shell-entry.browser.js +32 -33
  354. package/dist/safe-bash/trap.browser.js +4 -4
  355. package/dist/safe-bash/yq-browser/index.js +1 -1
  356. package/dist/safe-bash-calendar-engine/time-env/calendar.d.ts +1 -1
  357. package/dist/safe-bash-calendar-engine/time-env/calendar.js +1 -1
  358. package/dist/safe-bash-calendar-engine/time-env/format.js +1 -1
  359. package/dist/safe-bash-command-alias/index.d.ts +13 -0
  360. package/dist/safe-bash-command-alias/index.js +88 -0
  361. package/dist/safe-bash-command-apply-patch/apply.js +3 -3
  362. package/dist/safe-bash-command-apply-patch/index.js +3 -3
  363. package/dist/safe-bash-command-apply-patch/matcher.js +1 -1
  364. package/dist/safe-bash-command-apply-patch/parser.js +1 -1
  365. package/dist/safe-bash-command-awk/awk-pipes.js +2 -2
  366. package/dist/safe-bash-command-awk/awk-reader.js +1 -1
  367. package/dist/safe-bash-command-awk/awk-runtime.js +3 -3
  368. package/dist/safe-bash-command-awk/awk.js +5 -5
  369. package/dist/safe-bash-command-awk/index.js +5 -5
  370. package/dist/safe-bash-command-bc/index.js +206 -60
  371. package/dist/safe-bash-command-cmp/index.js +7 -6
  372. package/dist/safe-bash-command-column/column.js +3 -3
  373. package/dist/safe-bash-command-column/index.js +3 -3
  374. package/dist/safe-bash-command-column/layout.js +2 -2
  375. package/dist/safe-bash-command-csvkit/index.d.ts +1 -0
  376. package/dist/safe-bash-command-csvkit/index.js +1505 -7
  377. package/dist/safe-bash-command-csvkit/sync-support.js +2 -7
  378. package/dist/safe-bash-command-curl/curl.js +1 -1
  379. package/dist/safe-bash-command-curl/index.js +1 -1
  380. package/dist/safe-bash-command-date/date.js +1 -1
  381. package/dist/safe-bash-command-date/index.js +1 -1
  382. package/dist/safe-bash-command-dd/index.js +1 -1
  383. package/dist/safe-bash-command-dd/io.js +51 -5
  384. package/dist/safe-bash-command-diff/diff.js +1 -1
  385. package/dist/safe-bash-command-diff/index.js +1 -1
  386. package/dist/safe-bash-command-diff3/index.js +10 -13
  387. package/dist/safe-bash-command-exiftool/index.js +278 -50
  388. package/dist/safe-bash-command-exiftool/registry.d.ts +4 -2
  389. package/dist/safe-bash-command-factor/command.js +2 -2
  390. package/dist/safe-bash-command-factor/index.js +2 -2
  391. package/dist/safe-bash-command-fd/arguments.d.ts +2 -0
  392. package/dist/safe-bash-command-fd/index.js +42 -12
  393. package/dist/safe-bash-command-ffmpeg/index.js +356 -66
  394. package/dist/safe-bash-command-find/find-format.d.ts +3 -0
  395. package/dist/safe-bash-command-find/find-format.js +1 -1
  396. package/dist/safe-bash-command-find/find.js +2 -2
  397. package/dist/safe-bash-command-find/index.js +2 -2
  398. package/dist/safe-bash-command-fmt/index.js +1 -4
  399. package/dist/safe-bash-command-fold/engine.d.ts +1 -1
  400. package/dist/safe-bash-command-fold/family.js +2 -2
  401. package/dist/safe-bash-command-fold/index.js +1 -1
  402. package/dist/safe-bash-command-hexdump/command.js +2 -2
  403. package/dist/safe-bash-command-hexdump/index.js +2 -2
  404. package/dist/safe-bash-command-html-to-markdown/entities.js +1 -1
  405. package/dist/safe-bash-command-html-to-markdown/index.js +4 -4
  406. package/dist/safe-bash-command-html-to-markdown/input.js +3 -3
  407. package/dist/safe-bash-command-html-to-markdown/parser.js +2 -2
  408. package/dist/safe-bash-command-html-to-markdown/render.js +3 -3
  409. package/dist/safe-bash-command-htmlq/contracts.d.ts +5 -2
  410. package/dist/safe-bash-command-htmlq/index.d.ts +2 -1
  411. package/dist/safe-bash-command-htmlq/index.js +175 -49
  412. package/dist/safe-bash-command-htmlq/sync.d.ts +1 -0
  413. package/dist/safe-bash-command-imagemagick/index.js +56 -6
  414. package/dist/safe-bash-command-install/arguments.d.ts +27 -0
  415. package/dist/safe-bash-command-install/arguments.js +224 -0
  416. package/dist/safe-bash-command-install/index.d.ts +7 -0
  417. package/dist/safe-bash-command-install/index.js +942 -0
  418. package/dist/safe-bash-command-install/mode.d.ts +6 -0
  419. package/dist/safe-bash-command-install/mode.js +71 -0
  420. package/dist/safe-bash-command-install/options.d.ts +40 -0
  421. package/dist/safe-bash-command-install/options.js +27 -0
  422. package/dist/safe-bash-command-jq/index.js +1 -1
  423. package/dist/safe-bash-command-jq/jq.js +1 -1
  424. package/dist/safe-bash-command-less/index.js +37 -61
  425. package/dist/safe-bash-command-llm/command.js +1 -1
  426. package/dist/safe-bash-command-llm/elevenlabs.js +2 -2
  427. package/dist/safe-bash-command-llm/index.js +4 -4
  428. package/dist/safe-bash-command-llm/openai.js +2 -2
  429. package/dist/safe-bash-command-llm/providers/elevenlabs.js +2 -2
  430. package/dist/safe-bash-command-llm/providers/index.js +3 -3
  431. package/dist/safe-bash-command-llm/providers/openai.js +2 -2
  432. package/dist/safe-bash-command-llm/providers/shared.js +1 -1
  433. package/dist/{safe-bash-mcp → safe-bash-command-mcp}/index.browser.d.ts +463 -46
  434. package/dist/safe-bash-command-mcp/index.browser.js +19308 -0
  435. package/dist/{safe-bash-mcp → safe-bash-command-mcp}/index.d.ts +15 -6
  436. package/dist/{safe-bash-mcp → safe-bash-command-mcp}/index.js +2804 -2771
  437. package/dist/safe-bash-command-media/LICENSE +21 -0
  438. package/dist/safe-bash-command-media/index.d.ts +6 -0
  439. package/dist/safe-bash-command-media/index.js +30 -0
  440. package/dist/safe-bash-command-media/plugin.d.ts +18 -0
  441. package/dist/safe-bash-command-media/plugin.js +11 -0
  442. package/dist/safe-bash-command-media/remote.d.ts +63 -0
  443. package/dist/safe-bash-command-media/remote.js +11 -0
  444. package/dist/safe-bash-command-media/settings.d.ts +4 -0
  445. package/dist/safe-bash-command-media/settings.js +41 -0
  446. package/dist/safe-bash-command-mktemp/command.js +1 -1
  447. package/dist/safe-bash-command-mktemp/index.js +1 -1
  448. package/dist/safe-bash-command-mmdc/arguments.d.ts +1 -0
  449. package/dist/safe-bash-command-mmdc/command.d.ts +2 -0
  450. package/dist/safe-bash-command-mmdc/contracts.d.ts +8 -1
  451. package/dist/safe-bash-command-mmdc/index.js +359 -7
  452. package/dist/safe-bash-command-nl/index.js +1 -1
  453. package/dist/safe-bash-command-nl/nl.js +1 -1
  454. package/dist/safe-bash-command-node/LICENSE +21 -0
  455. package/dist/safe-bash-command-node/index.d.ts +17 -0
  456. package/dist/safe-bash-command-node/index.js +328 -0
  457. package/dist/safe-bash-command-numfmt/index.js +1 -0
  458. package/dist/safe-bash-command-od/index.js +10 -6
  459. package/dist/safe-bash-command-op/index.js +39 -32
  460. package/dist/safe-bash-command-op/types.d.ts +1 -0
  461. package/dist/safe-bash-command-pandoc/command.js +3 -3
  462. package/dist/safe-bash-command-pandoc/index.d.ts +1 -0
  463. package/dist/safe-bash-command-pandoc/index.js +5 -3
  464. package/dist/safe-bash-command-pandoc/sync.d.ts +1 -0
  465. package/dist/safe-bash-command-patch/index.js +4 -4
  466. package/dist/safe-bash-command-patch/patch.js +4 -4
  467. package/dist/safe-bash-command-pdfimages/index.js +1 -1
  468. package/dist/safe-bash-command-pdfinfo/index.js +30 -5
  469. package/dist/safe-bash-command-pdftk/index.js +21 -23
  470. package/dist/safe-bash-command-pdftoppm/index.js +17 -4
  471. package/dist/safe-bash-command-pdftotext/index.js +11 -14
  472. package/dist/safe-bash-command-qpdf/index.d.ts +1 -0
  473. package/dist/safe-bash-command-qpdf/index.js +9 -6
  474. package/dist/safe-bash-command-rg/index.js +1 -1
  475. package/dist/safe-bash-command-rg/rg-command.js +1 -1
  476. package/dist/safe-bash-command-sed/index.js +1 -1
  477. package/dist/safe-bash-command-sed/sed.js +1 -1
  478. package/dist/safe-bash-command-shuf/input.d.ts +2 -2
  479. package/dist/safe-bash-command-shuf/input.js +2 -1
  480. package/dist/safe-bash-command-shuf/shuf.js +4 -2
  481. package/dist/safe-bash-command-sips/index.js +2 -2
  482. package/dist/safe-bash-command-soffice/index.js +97 -12
  483. package/dist/safe-bash-command-sponge/index.js +4 -1
  484. package/dist/safe-bash-command-sqlite3/engine.d.ts +1 -0
  485. package/dist/safe-bash-command-sqlite3/index.js +510 -70
  486. package/dist/safe-bash-command-ssconvert/formats/xlsx.js +2 -2
  487. package/dist/safe-bash-command-ssconvert/index.js +44 -22
  488. package/dist/safe-bash-command-stat/command.js +1 -1
  489. package/dist/safe-bash-command-stat/index.js +1 -1
  490. package/dist/safe-bash-command-tar/create.d.ts +1 -0
  491. package/dist/safe-bash-command-tar/create.js +2 -2
  492. package/dist/safe-bash-command-tar/extract.js +2 -2
  493. package/dist/safe-bash-command-tar/index.js +4 -4
  494. package/dist/safe-bash-command-tar/modes.js +4 -4
  495. package/dist/safe-bash-command-tar/options.js +1 -1
  496. package/dist/safe-bash-command-truncate/index.js +2 -2
  497. package/dist/safe-bash-command-tsort/command.js +2 -2
  498. package/dist/safe-bash-command-tsort/index.js +2 -2
  499. package/dist/safe-bash-command-unalias/index.d.ts +12 -0
  500. package/dist/safe-bash-command-unalias/index.js +67 -0
  501. package/dist/safe-bash-command-unrtf/index.js +26 -4
  502. package/dist/safe-bash-command-xan/argv.d.ts +1 -1
  503. package/dist/safe-bash-command-xan/argv.js +2 -2
  504. package/dist/safe-bash-command-xan/budget.d.ts +0 -1
  505. package/dist/safe-bash-command-xan/budget.js +1 -1
  506. package/dist/safe-bash-command-xan/commands.js +6 -6
  507. package/dist/safe-bash-command-xan/csv.js +2 -2
  508. package/dist/safe-bash-command-xan/index.js +8 -9
  509. package/dist/safe-bash-command-xan/io.js +4 -4
  510. package/dist/safe-bash-command-xan/options.js +1 -1
  511. package/dist/safe-bash-command-xan/selector.js +2 -2
  512. package/dist/safe-bash-command-xmllint/index.js +45 -23
  513. package/dist/safe-bash-command-xxd/index.js +41 -10
  514. package/dist/safe-bash-command-yq/accounting.js +1 -1
  515. package/dist/safe-bash-command-yq/index.js +3 -2
  516. package/dist/safe-bash-command-yq/native-work.js +2 -0
  517. package/dist/safe-bash-command-yq/parser.js +2 -2
  518. package/dist/safe-bash-command-yq/query.js +5 -5
  519. package/dist/safe-bash-command-yq/toml.js +2 -2
  520. package/dist/safe-bash-command-zip/index.js +3 -3
  521. package/dist/safe-bash-compression-engine/bounded-codec.js +2 -2
  522. package/dist/safe-bash-compression-engine/codec-loader.js +1 -1
  523. package/dist/safe-bash-compression-engine/files.js +5 -5
  524. package/dist/safe-bash-compression-engine/index.js +4 -4
  525. package/dist/safe-bash-compression-engine/operand.js +5 -5
  526. package/dist/safe-bash-compression-engine/stream.js +4 -4
  527. package/dist/safe-bash-compression-engine/zstd-decode.js +3 -3
  528. package/dist/safe-bash-contracts/command.js +3 -3
  529. package/dist/safe-bash-contracts/default-executor.js +2 -2
  530. package/dist/safe-bash-contracts/diagnostics.js +3 -3
  531. package/dist/safe-bash-contracts/escaping.js +6 -6
  532. package/dist/safe-bash-contracts/filesystem-descriptor.js +3 -3
  533. package/dist/safe-bash-contracts/filesystem-output.js +5 -5
  534. package/dist/safe-bash-contracts/http.d.ts +7 -0
  535. package/dist/safe-bash-contracts/index.js +8 -8
  536. package/dist/safe-bash-contracts/io.js +2 -2
  537. package/dist/safe-bash-contracts/output.js +3 -3
  538. package/dist/safe-bash-contracts/runtime-control.d.ts +2 -2
  539. package/dist/safe-bash-contracts/runtime-control.js +4 -2
  540. package/dist/safe-bash-contracts/signals.d.ts +2 -0
  541. package/dist/safe-bash-contracts/signals.js +3 -1
  542. package/dist/safe-bash-contracts/yield.js +1 -1
  543. package/dist/safe-bash-csv-engine/index.d.ts +2 -1
  544. package/dist/safe-bash-csv-engine/index.js +21 -15
  545. package/dist/safe-bash-io-engine/commands/search/requirements.js +2 -2
  546. package/dist/safe-bash-io-engine/commands/text-programs/shared.js +6 -6
  547. package/dist/safe-bash-io-engine/internal.js +1 -1
  548. package/dist/safe-bash-io-engine/shell/pattern.js +38 -18
  549. package/dist/safe-bash-line-ending-engine/convert.js +9 -204
  550. package/dist/safe-bash-line-ending-engine/encoding.js +9 -42
  551. package/dist/safe-bash-line-ending-engine/index.js +48 -0
  552. package/dist/safe-bash-line-ending-engine/info.js +9 -90
  553. package/dist/safe-bash-line-ending-engine/internal.js +15 -160
  554. package/dist/safe-bash-line-ending-engine/io.js +12 -289
  555. package/dist/safe-bash-line-ending-engine/stage.js +10 -160
  556. package/dist/safe-bash-markdown-engine/index.js +3 -3
  557. package/dist/safe-bash-network-engine/args.d.ts +6 -0
  558. package/dist/safe-bash-network-engine/args.js +4 -2
  559. package/dist/safe-bash-network-engine/body.js +1 -1
  560. package/dist/safe-bash-network-engine/fetch-transport.js +3 -1
  561. package/dist/safe-bash-network-engine/index.js +3 -1
  562. package/dist/safe-bash-network-engine/input.js +2 -2
  563. package/dist/safe-bash-network-engine/platform-portable.js +3 -1
  564. package/dist/safe-bash-query-engine/dates.d.ts +1 -1
  565. package/dist/safe-bash-query-engine/dates.js +1 -1
  566. package/dist/safe-bash-query-engine/index.js +6 -6
  567. package/dist/safe-bash-query-engine/interpreter.js +4 -4
  568. package/dist/safe-bash-query-engine/parser.js +1 -1
  569. package/dist/safe-bash-query-engine/query-core.js +6 -6
  570. package/dist/safe-bash-regex-engine/execution/bounded-provider.js +10 -0
  571. package/dist/safe-bash-regex-engine/index.js +1 -1
  572. package/dist/safe-bash-regex-engine/text/regex.d.ts +1 -1
  573. package/dist/safe-bash-regex-engine/text/regex.js +1 -1
  574. package/dist/safe-bash-search-engine/ergonomic-regex.d.ts +1 -0
  575. package/dist/safe-bash-search-engine/ergonomic-regex.js +1 -1
  576. package/dist/safe-bash-search-engine/grep.js +16 -9
  577. package/dist/safe-bash-search-engine/matcher.d.ts +2 -2
  578. package/dist/safe-bash-search-engine/matcher.js +12 -8
  579. package/dist/safe-bash-search-engine/shared.js +1 -1
  580. package/dist/safe-bash-search-engine/walk.js +13 -1
  581. package/dist/safe-bash-text-stream-engine/stream-format/shared.d.ts +1 -1
  582. package/dist/safe-bash-text-stream-engine/stream-format/shared.js +2 -1
  583. package/dist/safe-bash-xml-engine/document.js +3 -3
  584. package/dist/safe-bash-xml-engine/evaluate.js +2 -2
  585. package/dist/safe-bash-xml-engine/index.js +4 -4
  586. package/dist/safe-bash-xml-engine/io.js +7 -2
  587. package/dist/safe-bash-xml-engine/limits.d.ts +0 -2
  588. package/dist/safe-bash-xml-engine/limits.js +1 -1
  589. package/dist/safe-bash-xml-engine/query.js +3 -3
  590. package/dist/safe-bash-zip-engine/index.js +3 -3
  591. package/dist/safe-bash-zip-engine/zip/repair.js +3 -3
  592. package/dist/safe-bash-zip-engine/zip/safety.js +1 -1
  593. package/dist/safe-bash-zip-engine/zip/sfx.js +3 -3
  594. package/dist/safe-bash-zip-engine/zip/volumes.js +1 -1
  595. package/dist/safe-bash-zip-engine/zip-format.js +3 -3
  596. package/dist/safe-playwright-cloudflare/browser-socket-closure.js +18 -3
  597. package/dist/safe-playwright-cloudflare/shell-browser-resource.js +1 -1
  598. package/dist/xlsx-ast/xlsx.js +6 -5
  599. package/package.json +86 -98
  600. package/dist/media-cli/bytes.d.ts +0 -8
  601. package/dist/media-cli/bytes.js +0 -40
  602. package/dist/media-cli/concat.d.ts +0 -30
  603. package/dist/media-cli/concat.js +0 -197
  604. package/dist/media-cli/content.js +0 -66
  605. package/dist/media-cli/dependency-grammars.d.ts +0 -12
  606. package/dist/media-cli/dependency-grammars.js +0 -557
  607. package/dist/media-cli/discover.js +0 -286
  608. package/dist/media-cli/engine.js +0 -190
  609. package/dist/media-cli/filename-expression.js +0 -147
  610. package/dist/media-cli/filesystem.js +0 -35
  611. package/dist/media-cli/frontend-contract.js +0 -8
  612. package/dist/media-cli/frontend-issues.d.ts +0 -6
  613. package/dist/media-cli/frontend-issues.js +0 -9
  614. package/dist/media-cli/imagemagick-operand.d.ts +0 -42
  615. package/dist/media-cli/imagemagick-operand.js +0 -229
  616. package/dist/media-cli/imagemagick-references.d.ts +0 -7
  617. package/dist/media-cli/imagemagick-references.js +0 -42
  618. package/dist/media-cli/imagemagick.generated.js +0 -3254
  619. package/dist/media-cli/imagemagick.js +0 -615
  620. package/dist/media-cli/index.js +0 -12
  621. package/dist/media-cli/mvg.d.ts +0 -10
  622. package/dist/media-cli/mvg.js +0 -102
  623. package/dist/media-cli/network.js +0 -78
  624. package/dist/media-cli/options.generated.js +0 -3312
  625. package/dist/media-cli/preset.d.ts +0 -11
  626. package/dist/media-cli/preset.js +0 -57
  627. package/dist/media-cli/resolution-path.d.ts +0 -23
  628. package/dist/media-cli/resolution-path.js +0 -217
  629. package/dist/media-cli/resolver.js +0 -494
  630. package/dist/media-cli/resources.d.ts +0 -16
  631. package/dist/media-cli/resources.js +0 -187
  632. package/dist/media-cli/shim.js +0 -52
  633. package/dist/media-cli/tee.d.ts +0 -6
  634. package/dist/media-cli/tee.js +0 -38
  635. package/dist/office-package/zip-sync.js +0 -111
  636. package/dist/remote-execution/binary.js +0 -178
  637. package/dist/remote-execution/callback-result.js +0 -26
  638. package/dist/remote-execution/canonical-capabilities.d.ts +0 -5
  639. package/dist/remote-execution/canonical-capabilities.js +0 -45
  640. package/dist/remote-execution/canonical-metadata.d.ts +0 -4
  641. package/dist/remote-execution/canonical-metadata.js +0 -32
  642. package/dist/remote-execution/client.js +0 -824
  643. package/dist/remote-execution/deployment.js +0 -131
  644. package/dist/remote-execution/descriptors.js +0 -267
  645. package/dist/remote-execution/effects.js +0 -357
  646. package/dist/remote-execution/endpoint.js +0 -224
  647. package/dist/remote-execution/files.js +0 -291
  648. package/dist/remote-execution/hosting-operation.js +0 -26
  649. package/dist/remote-execution/hosting-request.d.ts +0 -4
  650. package/dist/remote-execution/hosting-request.js +0 -12
  651. package/dist/remote-execution/hosting-stream.d.ts +0 -8
  652. package/dist/remote-execution/hosting-stream.js +0 -64
  653. package/dist/remote-execution/index.js +0 -18
  654. package/dist/remote-execution/invocation-admission.d.ts +0 -3
  655. package/dist/remote-execution/invocation-admission.js +0 -17
  656. package/dist/remote-execution/job-binding.js +0 -1269
  657. package/dist/remote-execution/materializations.js +0 -284
  658. package/dist/remote-execution/modal-driver.js +0 -90
  659. package/dist/remote-execution/native-result.d.ts +0 -3
  660. package/dist/remote-execution/native-result.js +0 -16
  661. package/dist/remote-execution/output-freshness.d.ts +0 -4
  662. package/dist/remote-execution/output-freshness.js +0 -19
  663. package/dist/remote-execution/output-retrieval.js +0 -474
  664. package/dist/remote-execution/process-http.js +0 -607
  665. package/dist/remote-execution/process.js +0 -577
  666. package/dist/remote-execution/protocol.js +0 -208
  667. package/dist/remote-execution/relay.js +0 -91
  668. package/dist/remote-execution/rest-driver.js +0 -93
  669. package/dist/remote-execution/upload-descriptor.js +0 -201
  670. package/dist/remote-execution/upload-protocol.js +0 -62
  671. package/dist/remote-execution/uploads.js +0 -324
  672. package/dist/remote-execution/wire-json.d.ts +0 -4
  673. package/dist/remote-execution/wire-json.js +0 -44
  674. package/dist/remote-execution/wire-validation.js +0 -131
  675. package/dist/remote-execution/wire.generated.js +0 -4224
  676. package/dist/safe-bash/chunks/chunk-GDYNCWRV.js +0 -161
  677. package/dist/safe-bash/chunks/chunk-IWDICZVK.js +0 -20
  678. package/dist/safe-bash/chunks/chunk-MHMMRCYC.js +0 -3464
  679. package/dist/safe-bash/chunks/chunk-UE5KZDEK.js +0 -77
  680. package/dist/safe-bash/chunks/csvkit-TACDU7FC.js +0 -1618
  681. package/dist/safe-bash/chunks/implementation-MLFHUQ5M.js +0 -133
  682. package/dist/safe-bash/commands/csvkit/sync.js +0 -1639
  683. package/dist/safe-bash/commands/node/unconfigured.d.ts +0 -3
  684. package/dist/safe-bash/commands/node/unconfigured.js +0 -10
  685. package/dist/safe-bash/commands/pandoc/implementation.d.ts +0 -8
  686. package/dist/safe-bash/commands/pandoc/implementation.js +0 -94
  687. package/dist/safe-bash-mcp/index.browser.js +0 -9167
  688. package/dist/safe-bash/command-chunks/{chunk-ZRRBXU3M.js → chunk-GIN5GUDP.js} +4 -4
  689. package/dist/safe-bash/command-chunks/{chunk-LAOM65EE.js → chunk-IEO4XVN6.js} +3 -3
  690. package/dist/safe-bash/command-chunks/{chunk-BXCXRYVU.js → chunk-JNANXVJV.js} +0 -0
  691. package/dist/safe-bash/command-chunks/{chunk-364TMWBT.js → chunk-MWREVL44.js} +6 -6
  692. package/dist/safe-bash/command-chunks/{chunk-464RVBGB.js → chunk-Q5TDKFHK.js} +3 -3
  693. package/dist/safe-bash/command-chunks/{chunk-AJR3AQYA.js → chunk-UKX3LZHR.js} +0 -0
  694. package/dist/safe-bash/command-chunks/{chunk-XIIBTGC5.js → chunk-XPXEQKRW.js} +9 -9
  695. package/dist/safe-bash/command-chunks/{chunk-FDBUV4HJ.js → chunk-Y4HGTG3E.js} +3 -3
  696. /package/dist/{safe-bash/commands/csvkit → safe-bash-command-csvkit}/sync.d.ts +0 -0
@@ -1,4224 +0,0 @@
1
- export const wireDefinitions = {
2
- "Id": {
3
- "type": "string",
4
- "minLength": 1,
5
- "maxLength": 256
6
- },
7
- "Uint64": {
8
- "type": "string",
9
- "pattern": "^(0|[1-9][0-9]{0,19})$",
10
- "description": "Canonical unsigned decimal <= 18446744073709551615, checked semantically."
11
- },
12
- "Digest": {
13
- "type": "string",
14
- "pattern": "^[a-f0-9]{64}$"
15
- },
16
- "Limits": {
17
- "type": "object",
18
- "properties": {
19
- "maxJobs": {
20
- "type": "integer",
21
- "minimum": 1,
22
- "maximum": 9007199254740991
23
- },
24
- "maxHandles": {
25
- "type": "integer",
26
- "minimum": 1,
27
- "maximum": 9007199254740991
28
- },
29
- "maxArgvBytes": {
30
- "type": "integer",
31
- "minimum": 1,
32
- "maximum": 9007199254740991
33
- },
34
- "maxManifestEntries": {
35
- "type": "integer",
36
- "minimum": 1,
37
- "maximum": 9007199254740991
38
- },
39
- "maxFrameBytes": {
40
- "type": "integer",
41
- "minimum": 1,
42
- "maximum": 1048576
43
- },
44
- "maxInflightBytes": {
45
- "type": "integer",
46
- "minimum": 1,
47
- "maximum": 9007199254740991
48
- },
49
- "maxBlobBytes": {
50
- "type": "integer",
51
- "minimum": 1,
52
- "maximum": 9007199254740991
53
- },
54
- "maxReplayBytes": {
55
- "type": "integer",
56
- "minimum": 1,
57
- "maximum": 9007199254740991
58
- },
59
- "maxCallbacks": {
60
- "type": "integer",
61
- "minimum": 1,
62
- "maximum": 9007199254740991
63
- },
64
- "maxNativeMemoryBytes": {
65
- "type": "integer",
66
- "minimum": 1,
67
- "maximum": 9007199254740991
68
- },
69
- "maxNativeProcesses": {
70
- "type": "integer",
71
- "minimum": 1,
72
- "maximum": 9007199254740991
73
- },
74
- "maxJobDurationMs": {
75
- "type": "integer",
76
- "minimum": 1,
77
- "maximum": 9007199254740991
78
- }
79
- },
80
- "required": [
81
- "maxJobs",
82
- "maxHandles",
83
- "maxArgvBytes",
84
- "maxManifestEntries",
85
- "maxFrameBytes",
86
- "maxInflightBytes",
87
- "maxBlobBytes",
88
- "maxReplayBytes",
89
- "maxCallbacks",
90
- "maxNativeMemoryBytes",
91
- "maxNativeProcesses",
92
- "maxJobDurationMs"
93
- ],
94
- "additionalProperties": false
95
- },
96
- "Build": {
97
- "type": "object",
98
- "properties": {
99
- "digest": {
100
- "type": "string",
101
- "pattern": "^[a-f0-9]{64}$"
102
- },
103
- "imageDigest": {
104
- "type": "string"
105
- },
106
- "os": {
107
- "type": "string"
108
- },
109
- "architecture": {
110
- "type": "string"
111
- },
112
- "executables": {
113
- "type": "object",
114
- "additionalProperties": {
115
- "type": "string",
116
- "pattern": "^[a-f0-9]{64}$"
117
- }
118
- },
119
- "librariesDigest": {
120
- "type": "string",
121
- "pattern": "^[a-f0-9]{64}$"
122
- },
123
- "grammarRevision": {
124
- "type": "string",
125
- "description": "Optional for generic builds; required and pinned by injected media tool definitions."
126
- },
127
- "sourceRevision": {
128
- "type": "string",
129
- "description": "Optional for generic builds; required and pinned by injected media tool definitions."
130
- },
131
- "inventoryDigest": {
132
- "type": "string",
133
- "pattern": "^[a-f0-9]{64}$"
134
- },
135
- "assetsDigest": {
136
- "type": "string",
137
- "pattern": "^[a-f0-9]{64}$"
138
- },
139
- "launcherRevision": {
140
- "type": "string"
141
- },
142
- "bridgeRevision": {
143
- "type": "string"
144
- },
145
- "runtimeRequirements": {
146
- "type": "array",
147
- "items": {
148
- "type": "string"
149
- }
150
- },
151
- "policyDigest": {
152
- "$ref": "#/$defs/Digest"
153
- },
154
- "configDigest": {
155
- "$ref": "#/$defs/Digest"
156
- },
157
- "policyDifferences": {
158
- "type": "array",
159
- "items": {
160
- "type": "string"
161
- }
162
- },
163
- "inventory": {
164
- "type": "object",
165
- "properties": {
166
- "codecs": {
167
- "type": "array",
168
- "items": {
169
- "type": "string"
170
- }
171
- },
172
- "coders": {
173
- "type": "array",
174
- "items": {
175
- "type": "string"
176
- }
177
- },
178
- "delegates": {
179
- "type": "array",
180
- "items": {
181
- "type": "string"
182
- }
183
- },
184
- "fonts": {
185
- "type": "array",
186
- "items": {
187
- "type": "string"
188
- }
189
- },
190
- "profiles": {
191
- "type": "array",
192
- "items": {
193
- "type": "string"
194
- }
195
- }
196
- },
197
- "required": [
198
- "codecs",
199
- "coders",
200
- "delegates",
201
- "fonts",
202
- "profiles"
203
- ],
204
- "additionalProperties": false
205
- },
206
- "runtimeEnvironment": {
207
- "type": "object",
208
- "additionalProperties": {
209
- "type": "string"
210
- },
211
- "description": "Fixed native runtime environment; caller conflicts fail admission."
212
- }
213
- },
214
- "required": [
215
- "digest",
216
- "imageDigest",
217
- "os",
218
- "architecture",
219
- "executables",
220
- "librariesDigest",
221
- "inventoryDigest",
222
- "assetsDigest",
223
- "launcherRevision",
224
- "bridgeRevision",
225
- "runtimeRequirements",
226
- "policyDigest",
227
- "configDigest",
228
- "policyDifferences",
229
- "inventory",
230
- "runtimeEnvironment"
231
- ],
232
- "additionalProperties": false
233
- },
234
- "Capabilities": {
235
- "type": "object",
236
- "properties": {
237
- "protocolMajor": {
238
- "const": 1
239
- },
240
- "builds": {
241
- "type": "array",
242
- "items": {
243
- "$ref": "#/$defs/Build"
244
- }
245
- },
246
- "features": {
247
- "type": "array",
248
- "items": {
249
- "type": "string"
250
- }
251
- },
252
- "limits": {
253
- "$ref": "#/$defs/Limits"
254
- },
255
- "requestStreaming": {
256
- "type": "boolean"
257
- },
258
- "leaseMs": {
259
- "type": "integer",
260
- "minimum": 0,
261
- "maximum": 9007199254740991
262
- },
263
- "retentionMs": {
264
- "type": "integer",
265
- "minimum": 0,
266
- "maximum": 9007199254740991
267
- },
268
- "cleanupGraceMs": {
269
- "type": "integer",
270
- "minimum": 1,
271
- "maximum": 2147483647
272
- }
273
- },
274
- "required": [
275
- "protocolMajor",
276
- "builds",
277
- "features",
278
- "limits",
279
- "requestStreaming",
280
- "leaseMs",
281
- "retentionMs"
282
- ],
283
- "additionalProperties": false
284
- },
285
- "Binding": {
286
- "type": "object",
287
- "properties": {
288
- "namespaceId": {
289
- "type": "string",
290
- "minLength": 1,
291
- "maxLength": 256
292
- },
293
- "logicalRoot": {
294
- "type": "string"
295
- },
296
- "rights": {
297
- "type": "array",
298
- "items": {
299
- "enum": [
300
- "read",
301
- "write",
302
- "metadata",
303
- "links"
304
- ]
305
- }
306
- },
307
- "grantId": {
308
- "type": "string",
309
- "minLength": 1,
310
- "maxLength": 256
311
- },
312
- "profile": {
313
- "enum": [
314
- "live",
315
- "snapshot"
316
- ]
317
- }
318
- },
319
- "required": [
320
- "namespaceId",
321
- "logicalRoot",
322
- "rights",
323
- "grantId",
324
- "profile"
325
- ],
326
- "additionalProperties": false
327
- },
328
- "SessionRequest": {
329
- "type": "object",
330
- "properties": {
331
- "buildDigest": {
332
- "type": "string",
333
- "pattern": "^[a-f0-9]{64}$"
334
- },
335
- "bindings": {
336
- "type": "array",
337
- "items": {
338
- "$ref": "#/$defs/Binding"
339
- }
340
- },
341
- "limits": {
342
- "$ref": "#/$defs/Limits"
343
- },
344
- "requiredFeatures": {
345
- "type": "array",
346
- "uniqueItems": true,
347
- "items": {
348
- "type": "string",
349
- "minLength": 1
350
- },
351
- "description": "Required negotiated profiles, including canonical-object-v1 for byte namespace callbacks. Refuse before job effects if unsupported."
352
- }
353
- },
354
- "required": [
355
- "buildDigest",
356
- "bindings",
357
- "limits"
358
- ],
359
- "additionalProperties": false
360
- },
361
- "Session": {
362
- "type": "object",
363
- "properties": {
364
- "sessionId": {
365
- "type": "string",
366
- "minLength": 1,
367
- "maxLength": 256
368
- },
369
- "epoch": {
370
- "type": "string",
371
- "minLength": 1,
372
- "maxLength": 256
373
- },
374
- "buildDigest": {
375
- "type": "string",
376
- "pattern": "^[a-f0-9]{64}$"
377
- },
378
- "bindings": {
379
- "type": "array",
380
- "items": {
381
- "$ref": "#/$defs/Binding"
382
- }
383
- },
384
- "limits": {
385
- "$ref": "#/$defs/Limits"
386
- },
387
- "leaseExpiresAt": {
388
- "type": "string",
389
- "format": "date-time"
390
- },
391
- "state": {
392
- "enum": [
393
- "open",
394
- "closing",
395
- "closed",
396
- "lost"
397
- ]
398
- }
399
- },
400
- "required": [
401
- "sessionId",
402
- "epoch",
403
- "buildDigest",
404
- "bindings",
405
- "limits",
406
- "leaseExpiresAt",
407
- "state"
408
- ],
409
- "additionalProperties": false
410
- },
411
- "LeaseRequest": {
412
- "type": "object",
413
- "properties": {
414
- "leaseMs": {
415
- "type": "integer",
416
- "minimum": 0,
417
- "maximum": 9007199254740991
418
- }
419
- },
420
- "required": [
421
- "leaseMs"
422
- ],
423
- "additionalProperties": false
424
- },
425
- "UploadRequest": {
426
- "type": "object",
427
- "properties": {
428
- "size": {
429
- "type": "string",
430
- "pattern": "^(0|[1-9][0-9]{0,19})$",
431
- "description": "Canonical unsigned decimal <= 18446744073709551615, checked semantically."
432
- },
433
- "digest": {
434
- "type": "string",
435
- "pattern": "^[a-f0-9]{64}$"
436
- }
437
- },
438
- "required": [
439
- "size",
440
- "digest"
441
- ],
442
- "additionalProperties": false
443
- },
444
- "Upload": {
445
- "type": "object",
446
- "properties": {
447
- "uploadId": {
448
- "type": "string",
449
- "minLength": 1,
450
- "maxLength": 256
451
- },
452
- "size": {
453
- "type": "string",
454
- "pattern": "^(0|[1-9][0-9]{0,19})$",
455
- "description": "Canonical unsigned decimal <= 18446744073709551615, checked semantically."
456
- },
457
- "digest": {
458
- "type": "string",
459
- "pattern": "^[a-f0-9]{64}$"
460
- },
461
- "committedOffset": {
462
- "type": "string",
463
- "pattern": "^(0|[1-9][0-9]{0,19})$",
464
- "description": "Canonical unsigned decimal <= 18446744073709551615, checked semantically."
465
- },
466
- "state": {
467
- "enum": [
468
- "open",
469
- "committed",
470
- "aborted",
471
- "expired"
472
- ]
473
- },
474
- "blobId": {
475
- "type": "string",
476
- "minLength": 1,
477
- "maxLength": 256
478
- }
479
- },
480
- "required": [
481
- "uploadId",
482
- "size",
483
- "digest",
484
- "committedOffset",
485
- "state"
486
- ],
487
- "additionalProperties": false
488
- },
489
- "Blob": {
490
- "type": "object",
491
- "properties": {
492
- "blobId": {
493
- "type": "string",
494
- "minLength": 1,
495
- "maxLength": 256
496
- },
497
- "size": {
498
- "type": "string",
499
- "pattern": "^(0|[1-9][0-9]{0,19})$",
500
- "description": "Canonical unsigned decimal <= 18446744073709551615, checked semantically."
501
- },
502
- "digest": {
503
- "type": "string",
504
- "pattern": "^[a-f0-9]{64}$"
505
- }
506
- },
507
- "required": [
508
- "blobId",
509
- "size",
510
- "digest"
511
- ],
512
- "additionalProperties": false
513
- },
514
- "Entry": {
515
- "oneOf": [
516
- {
517
- "type": "object",
518
- "properties": {
519
- "path": {
520
- "type": "string"
521
- },
522
- "type": {
523
- "const": "file"
524
- },
525
- "blobId": {
526
- "type": "string",
527
- "minLength": 1,
528
- "maxLength": 256
529
- },
530
- "mode": {
531
- "type": "integer",
532
- "minimum": 0,
533
- "maximum": 9007199254740991
534
- },
535
- "mtimeMs": {
536
- "type": "number"
537
- },
538
- "identityRef": {
539
- "type": "string",
540
- "minLength": 1,
541
- "maxLength": 256
542
- },
543
- "pathBytes": {
544
- "$ref": "#/$defs/BytePath"
545
- }
546
- },
547
- "required": [
548
- "type",
549
- "blobId"
550
- ],
551
- "additionalProperties": false,
552
- "oneOf": [
553
- {
554
- "required": [
555
- "path"
556
- ],
557
- "not": {
558
- "required": [
559
- "pathBytes"
560
- ]
561
- }
562
- },
563
- {
564
- "required": [
565
- "pathBytes"
566
- ],
567
- "not": {
568
- "required": [
569
- "path"
570
- ]
571
- }
572
- }
573
- ]
574
- },
575
- {
576
- "type": "object",
577
- "properties": {
578
- "path": {
579
- "type": "string"
580
- },
581
- "type": {
582
- "const": "directory"
583
- },
584
- "mode": {
585
- "type": "integer",
586
- "minimum": 0,
587
- "maximum": 9007199254740991
588
- },
589
- "mtimeMs": {
590
- "type": "number"
591
- },
592
- "pathBytes": {
593
- "$ref": "#/$defs/BytePath"
594
- }
595
- },
596
- "required": [
597
- "type"
598
- ],
599
- "additionalProperties": false,
600
- "oneOf": [
601
- {
602
- "required": [
603
- "path"
604
- ],
605
- "not": {
606
- "required": [
607
- "pathBytes"
608
- ]
609
- }
610
- },
611
- {
612
- "required": [
613
- "pathBytes"
614
- ],
615
- "not": {
616
- "required": [
617
- "path"
618
- ]
619
- }
620
- }
621
- ]
622
- },
623
- {
624
- "type": "object",
625
- "properties": {
626
- "path": {
627
- "type": "string"
628
- },
629
- "type": {
630
- "const": "symlink"
631
- },
632
- "target": {
633
- "type": "string"
634
- },
635
- "pathBytes": {
636
- "$ref": "#/$defs/BytePath"
637
- },
638
- "targetBytes": {
639
- "$ref": "#/$defs/BytePath"
640
- }
641
- },
642
- "required": [
643
- "type"
644
- ],
645
- "additionalProperties": false,
646
- "oneOf": [
647
- {
648
- "required": [
649
- "path"
650
- ],
651
- "not": {
652
- "required": [
653
- "pathBytes"
654
- ]
655
- }
656
- },
657
- {
658
- "required": [
659
- "pathBytes"
660
- ],
661
- "not": {
662
- "required": [
663
- "path"
664
- ]
665
- }
666
- }
667
- ],
668
- "allOf": [
669
- {
670
- "oneOf": [
671
- {
672
- "required": [
673
- "target"
674
- ],
675
- "not": {
676
- "required": [
677
- "targetBytes"
678
- ]
679
- }
680
- },
681
- {
682
- "required": [
683
- "targetBytes"
684
- ],
685
- "not": {
686
- "required": [
687
- "target"
688
- ]
689
- }
690
- }
691
- ]
692
- }
693
- ]
694
- },
695
- {
696
- "type": "object",
697
- "properties": {
698
- "path": {
699
- "type": "string"
700
- },
701
- "type": {
702
- "const": "hardlink"
703
- },
704
- "identityRef": {
705
- "type": "string",
706
- "minLength": 1,
707
- "maxLength": 256
708
- },
709
- "pathBytes": {
710
- "$ref": "#/$defs/BytePath"
711
- }
712
- },
713
- "required": [
714
- "type",
715
- "identityRef"
716
- ],
717
- "additionalProperties": false,
718
- "oneOf": [
719
- {
720
- "required": [
721
- "path"
722
- ],
723
- "not": {
724
- "required": [
725
- "pathBytes"
726
- ]
727
- }
728
- },
729
- {
730
- "required": [
731
- "pathBytes"
732
- ],
733
- "not": {
734
- "required": [
735
- "path"
736
- ]
737
- }
738
- }
739
- ]
740
- }
741
- ]
742
- },
743
- "Manifest": {
744
- "type": "object",
745
- "properties": {
746
- "version": {
747
- "const": 1
748
- },
749
- "capture": {
750
- "enum": [
751
- "observed-traversal",
752
- "immutable-snapshot"
753
- ]
754
- },
755
- "entries": {
756
- "type": "array",
757
- "items": {
758
- "$ref": "#/$defs/Entry"
759
- }
760
- }
761
- },
762
- "required": [
763
- "version",
764
- "capture",
765
- "entries"
766
- ],
767
- "additionalProperties": false
768
- },
769
- "ManifestRecord": {
770
- "type": "object",
771
- "properties": {
772
- "manifestId": {
773
- "type": "string",
774
- "minLength": 1,
775
- "maxLength": 256
776
- },
777
- "digest": {
778
- "type": "string",
779
- "pattern": "^[a-f0-9]{64}$"
780
- },
781
- "manifest": {
782
- "$ref": "#/$defs/Manifest"
783
- }
784
- },
785
- "required": [
786
- "manifestId",
787
- "digest",
788
- "manifest"
789
- ],
790
- "additionalProperties": false
791
- },
792
- "MaterializeRequest": {
793
- "type": "object",
794
- "properties": {
795
- "manifestId": {
796
- "type": "string",
797
- "minLength": 1,
798
- "maxLength": 256
799
- },
800
- "namespaceId": {
801
- "type": "string",
802
- "minLength": 1,
803
- "maxLength": 256
804
- },
805
- "root": {
806
- "type": "string"
807
- },
808
- "expectedRevision": {
809
- "anyOf": [
810
- {
811
- "type": "string",
812
- "pattern": "^(0|[1-9][0-9]{0,19})$",
813
- "description": "Canonical unsigned decimal <= 18446744073709551615, checked semantically."
814
- },
815
- {
816
- "type": "null"
817
- }
818
- ]
819
- },
820
- "conflictPolicy": {
821
- "enum": [
822
- "refuse",
823
- "overwrite"
824
- ]
825
- },
826
- "grantId": {
827
- "type": "string",
828
- "minLength": 1,
829
- "maxLength": 256
830
- }
831
- },
832
- "required": [
833
- "manifestId",
834
- "namespaceId",
835
- "root",
836
- "expectedRevision",
837
- "conflictPolicy",
838
- "grantId"
839
- ],
840
- "additionalProperties": false
841
- },
842
- "Materialization": {
843
- "allOf": [
844
- {
845
- "type": "object",
846
- "properties": {
847
- "operationId": {
848
- "type": "string",
849
- "minLength": 1,
850
- "maxLength": 256
851
- },
852
- "namespaceId": {
853
- "type": "string",
854
- "minLength": 1,
855
- "maxLength": 256
856
- },
857
- "root": {
858
- "type": "string"
859
- },
860
- "state": {
861
- "enum": [
862
- "accepted",
863
- "applying",
864
- "complete",
865
- "partial",
866
- "failed",
867
- "unknown"
868
- ]
869
- },
870
- "revision": {
871
- "anyOf": [
872
- {
873
- "type": "string",
874
- "pattern": "^(0|[1-9][0-9]{0,19})$",
875
- "description": "Canonical unsigned decimal <= 18446744073709551615, checked semantically."
876
- },
877
- {
878
- "type": "null"
879
- }
880
- ]
881
- },
882
- "effects": {
883
- "type": "array",
884
- "items": {
885
- "$ref": "#/$defs/Effect"
886
- }
887
- },
888
- "error": {
889
- "$ref": "#/$defs/Failure"
890
- }
891
- },
892
- "required": [
893
- "operationId",
894
- "namespaceId",
895
- "root",
896
- "state",
897
- "revision",
898
- "effects"
899
- ],
900
- "additionalProperties": false
901
- },
902
- {
903
- "type": "object",
904
- "properties": {
905
- "effects": {
906
- "type": "array",
907
- "items": {
908
- "$ref": "#/$defs/Effect"
909
- }
910
- }
911
- }
912
- }
913
- ]
914
- },
915
- "Grant": {
916
- "type": "object",
917
- "properties": {
918
- "grantId": {
919
- "type": "string",
920
- "minLength": 1,
921
- "maxLength": 256
922
- },
923
- "namespaceId": {
924
- "type": "string",
925
- "minLength": 1,
926
- "maxLength": 256
927
- },
928
- "root": {
929
- "type": "string"
930
- },
931
- "handleId": {
932
- "type": "string",
933
- "minLength": 1,
934
- "maxLength": 256
935
- },
936
- "operations": {
937
- "type": "array",
938
- "items": {
939
- "enum": [
940
- "open",
941
- "read",
942
- "write",
943
- "seek",
944
- "stat",
945
- "lstat",
946
- "readdir",
947
- "mkdir",
948
- "truncate",
949
- "rename",
950
- "unlink",
951
- "rmdir",
952
- "readlink",
953
- "symlink",
954
- "link",
955
- "chmod",
956
- "utimes",
957
- "close",
958
- "metadata",
959
- "append"
960
- ]
961
- }
962
- },
963
- "maxBytes": {
964
- "type": "string",
965
- "pattern": "^(0|[1-9][0-9]{0,19})$",
966
- "description": "Canonical unsigned decimal <= 18446744073709551615, checked semantically."
967
- },
968
- "maxOperations": {
969
- "type": "integer",
970
- "minimum": 0,
971
- "maximum": 9007199254740991
972
- },
973
- "expiresAt": {
974
- "type": "string",
975
- "format": "date-time"
976
- },
977
- "ranges": {
978
- "type": "array",
979
- "items": {
980
- "type": "object",
981
- "properties": {
982
- "start": {
983
- "$ref": "#/$defs/FileOffset"
984
- },
985
- "endExclusive": {
986
- "$ref": "#/$defs/FileOffset"
987
- }
988
- },
989
- "required": [
990
- "start",
991
- "endExclusive"
992
- ],
993
- "additionalProperties": false
994
- },
995
- "description": "Optional narrowing to byte intervals. Validate start <= endExclusive and every access within an authorized interval; omission never widens host authority."
996
- }
997
- },
998
- "required": [
999
- "grantId",
1000
- "operations",
1001
- "maxBytes",
1002
- "maxOperations",
1003
- "expiresAt"
1004
- ],
1005
- "additionalProperties": false
1006
- },
1007
- "Descriptor": {
1008
- "type": "object",
1009
- "properties": {
1010
- "fd": {
1011
- "type": "integer",
1012
- "minimum": 3
1013
- },
1014
- "handleId": {
1015
- "type": "string",
1016
- "minLength": 1,
1017
- "maxLength": 256
1018
- },
1019
- "openDescriptionId": {
1020
- "type": "string",
1021
- "minLength": 1,
1022
- "maxLength": 256
1023
- },
1024
- "grantId": {
1025
- "type": "string",
1026
- "minLength": 1,
1027
- "maxLength": 256
1028
- },
1029
- "rights": {
1030
- "type": "array",
1031
- "items": {
1032
- "enum": [
1033
- "read",
1034
- "write",
1035
- "seek",
1036
- "stat"
1037
- ]
1038
- }
1039
- },
1040
- "seekable": {
1041
- "type": "boolean"
1042
- }
1043
- },
1044
- "required": [
1045
- "fd",
1046
- "handleId",
1047
- "openDescriptionId",
1048
- "grantId",
1049
- "rights",
1050
- "seekable"
1051
- ],
1052
- "additionalProperties": false,
1053
- "description": "handleId leases a shell-admitted description; openDescriptionId correlates shared cursor, never file identity or native fd. fd/rights uniqueness and seekability checked before acquisition."
1054
- },
1055
- "Input": {
1056
- "oneOf": [
1057
- {
1058
- "type": "object",
1059
- "properties": {
1060
- "kind": {
1061
- "const": "stream"
1062
- },
1063
- "seekable": {
1064
- "const": false
1065
- }
1066
- },
1067
- "required": [
1068
- "kind",
1069
- "seekable"
1070
- ],
1071
- "additionalProperties": false
1072
- },
1073
- {
1074
- "type": "object",
1075
- "properties": {
1076
- "kind": {
1077
- "const": "handle"
1078
- },
1079
- "handleId": {
1080
- "type": "string",
1081
- "minLength": 1,
1082
- "maxLength": 256
1083
- },
1084
- "grantId": {
1085
- "type": "string",
1086
- "minLength": 1,
1087
- "maxLength": 256
1088
- },
1089
- "position": {
1090
- "type": "string",
1091
- "pattern": "^(0|[1-9][0-9]{0,19})$",
1092
- "description": "Canonical unsigned decimal <= 18446744073709551615, checked semantically."
1093
- },
1094
- "seekable": {
1095
- "type": "boolean"
1096
- }
1097
- },
1098
- "required": [
1099
- "kind",
1100
- "handleId",
1101
- "grantId",
1102
- "position",
1103
- "seekable"
1104
- ],
1105
- "additionalProperties": false
1106
- },
1107
- {
1108
- "type": "object",
1109
- "properties": {
1110
- "kind": {
1111
- "const": "blob"
1112
- },
1113
- "blobId": {
1114
- "type": "string",
1115
- "minLength": 1,
1116
- "maxLength": 256
1117
- },
1118
- "seekable": {
1119
- "const": true
1120
- }
1121
- },
1122
- "required": [
1123
- "kind",
1124
- "blobId",
1125
- "seekable"
1126
- ],
1127
- "additionalProperties": false
1128
- }
1129
- ]
1130
- },
1131
- "JobRequest": {
1132
- "$ref": "#/$defs/GenericJobRequest"
1133
- },
1134
- "Outcome": {
1135
- "oneOf": [
1136
- {
1137
- "type": "object",
1138
- "properties": {
1139
- "kind": {
1140
- "const": "exited"
1141
- },
1142
- "exitCode": {
1143
- "type": "integer",
1144
- "minimum": 0,
1145
- "maximum": 255
1146
- }
1147
- },
1148
- "required": [
1149
- "kind",
1150
- "exitCode"
1151
- ],
1152
- "additionalProperties": false
1153
- },
1154
- {
1155
- "type": "object",
1156
- "properties": {
1157
- "kind": {
1158
- "const": "signaled"
1159
- },
1160
- "signal": {
1161
- "type": "string"
1162
- },
1163
- "signalNumber": {
1164
- "type": "integer",
1165
- "minimum": 0,
1166
- "maximum": 9007199254740991
1167
- }
1168
- },
1169
- "required": [
1170
- "kind",
1171
- "signal",
1172
- "signalNumber"
1173
- ],
1174
- "additionalProperties": false
1175
- },
1176
- {
1177
- "type": "object",
1178
- "properties": {
1179
- "kind": {
1180
- "const": "spawnError"
1181
- },
1182
- "code": {
1183
- "type": "string"
1184
- },
1185
- "stage": {
1186
- "type": "string"
1187
- },
1188
- "message": {
1189
- "type": "string"
1190
- }
1191
- },
1192
- "required": [
1193
- "kind",
1194
- "code",
1195
- "stage",
1196
- "message"
1197
- ],
1198
- "additionalProperties": false
1199
- },
1200
- {
1201
- "type": "object",
1202
- "properties": {
1203
- "kind": {
1204
- "const": "canceled"
1205
- },
1206
- "terminationConfirmed": {
1207
- "type": "boolean"
1208
- },
1209
- "signal": {
1210
- "type": "string"
1211
- }
1212
- },
1213
- "required": [
1214
- "kind",
1215
- "terminationConfirmed"
1216
- ],
1217
- "additionalProperties": false
1218
- },
1219
- {
1220
- "type": "object",
1221
- "properties": {
1222
- "kind": {
1223
- "const": "executionError"
1224
- },
1225
- "error": {
1226
- "$ref": "#/$defs/Failure"
1227
- }
1228
- },
1229
- "required": [
1230
- "kind",
1231
- "error"
1232
- ],
1233
- "additionalProperties": false
1234
- },
1235
- {
1236
- "type": "object",
1237
- "properties": {
1238
- "kind": {
1239
- "const": "unknown"
1240
- },
1241
- "reason": {
1242
- "type": "string"
1243
- }
1244
- },
1245
- "required": [
1246
- "kind",
1247
- "reason"
1248
- ],
1249
- "additionalProperties": false
1250
- }
1251
- ]
1252
- },
1253
- "Job": {
1254
- "type": "object",
1255
- "properties": {
1256
- "jobId": {
1257
- "type": "string",
1258
- "minLength": 1,
1259
- "maxLength": 256
1260
- },
1261
- "sessionId": {
1262
- "type": "string",
1263
- "minLength": 1,
1264
- "maxLength": 256
1265
- },
1266
- "epoch": {
1267
- "type": "string",
1268
- "minLength": 1,
1269
- "maxLength": 256
1270
- },
1271
- "buildDigest": {
1272
- "type": "string",
1273
- "pattern": "^[a-f0-9]{64}$"
1274
- },
1275
- "state": {
1276
- "enum": [
1277
- "accepted",
1278
- "running",
1279
- "draining",
1280
- "terminal"
1281
- ]
1282
- },
1283
- "cancelRequested": {
1284
- "type": "boolean"
1285
- },
1286
- "outcome": {
1287
- "$ref": "#/$defs/Outcome"
1288
- },
1289
- "effectBarrier": {
1290
- "type": "string",
1291
- "pattern": "^(0|[1-9][0-9]{0,19})$",
1292
- "description": "Canonical unsigned decimal <= 18446744073709551615, checked semantically."
1293
- },
1294
- "outputComplete": {
1295
- "type": "boolean"
1296
- },
1297
- "retainedUntil": {
1298
- "type": "string",
1299
- "format": "date-time"
1300
- },
1301
- "processOutcome": {
1302
- "$ref": "#/$defs/Outcome"
1303
- },
1304
- "cleanup": {
1305
- "enum": [
1306
- "pending",
1307
- "complete",
1308
- "unknown"
1309
- ]
1310
- },
1311
- "invocationId": {
1312
- "type": "string",
1313
- "minLength": 1,
1314
- "maxLength": 256
1315
- },
1316
- "jobState": {
1317
- "$ref": "#/$defs/JobStateEvent"
1318
- },
1319
- "recoveryActions": {
1320
- "type": "array",
1321
- "items": {
1322
- "enum": [
1323
- "inspect",
1324
- "attach",
1325
- "renew-credentials",
1326
- "recover-partial-outputs",
1327
- "reauthorize",
1328
- "start-new-invocation"
1329
- ]
1330
- }
1331
- },
1332
- "effectReceipts": {
1333
- "type": "array",
1334
- "items": {
1335
- "$ref": "#/$defs/EffectReceipt"
1336
- }
1337
- }
1338
- },
1339
- "required": [
1340
- "jobId",
1341
- "sessionId",
1342
- "epoch",
1343
- "buildDigest",
1344
- "state",
1345
- "cancelRequested",
1346
- "effectBarrier",
1347
- "outputComplete",
1348
- "retainedUntil"
1349
- ],
1350
- "additionalProperties": false
1351
- },
1352
- "CancelRequest": {
1353
- "type": "object",
1354
- "properties": {
1355
- "reason": {
1356
- "type": "string"
1357
- }
1358
- },
1359
- "required": [
1360
- "reason"
1361
- ],
1362
- "additionalProperties": false
1363
- },
1364
- "Recovery": {
1365
- "type": "object",
1366
- "properties": {
1367
- "sessionId": {
1368
- "type": "string",
1369
- "minLength": 1,
1370
- "maxLength": 256
1371
- },
1372
- "epoch": {
1373
- "type": "string",
1374
- "minLength": 1,
1375
- "maxLength": 256
1376
- },
1377
- "jobId": {
1378
- "type": "string",
1379
- "minLength": 1,
1380
- "maxLength": 256
1381
- },
1382
- "operationId": {
1383
- "type": "string",
1384
- "minLength": 1,
1385
- "maxLength": 256
1386
- },
1387
- "lastEffect": {
1388
- "type": "string",
1389
- "pattern": "^(0|[1-9][0-9]{0,19})$",
1390
- "description": "Canonical unsigned decimal <= 18446744073709551615, checked semantically."
1391
- },
1392
- "laneId": {
1393
- "type": "string",
1394
- "minLength": 1,
1395
- "maxLength": 256
1396
- },
1397
- "sequence": {
1398
- "type": "string",
1399
- "pattern": "^(0|[1-9][0-9]{0,19})$",
1400
- "description": "Canonical unsigned decimal <= 18446744073709551615, checked semantically."
1401
- }
1402
- },
1403
- "required": [
1404
- "sessionId",
1405
- "epoch"
1406
- ],
1407
- "additionalProperties": false
1408
- },
1409
- "Failure": {
1410
- "type": "object",
1411
- "properties": {
1412
- "category": {
1413
- "enum": [
1414
- "transport",
1415
- "protocol",
1416
- "authorization",
1417
- "filesystem",
1418
- "native",
1419
- "cancellation",
1420
- "unknown"
1421
- ]
1422
- },
1423
- "code": {
1424
- "type": "string"
1425
- },
1426
- "message": {
1427
- "type": "string"
1428
- },
1429
- "phase": {
1430
- "enum": [
1431
- "notAccepted",
1432
- "accepted",
1433
- "unknown"
1434
- ]
1435
- },
1436
- "recovery": {
1437
- "$ref": "#/$defs/Recovery"
1438
- },
1439
- "path": {
1440
- "type": "string"
1441
- },
1442
- "syscall": {
1443
- "type": "string"
1444
- },
1445
- "acknowledgedBytes": {
1446
- "type": "string",
1447
- "pattern": "^(0|[1-9][0-9]{0,19})$",
1448
- "description": "Canonical unsigned decimal <= 18446744073709551615, checked semantically."
1449
- }
1450
- },
1451
- "required": [
1452
- "category",
1453
- "code",
1454
- "message",
1455
- "phase"
1456
- ],
1457
- "additionalProperties": false
1458
- },
1459
- "Effect": {
1460
- "allOf": [
1461
- {
1462
- "type": "object",
1463
- "properties": {
1464
- "operationId": {
1465
- "type": "string",
1466
- "minLength": 1,
1467
- "maxLength": 256
1468
- },
1469
- "sequence": {
1470
- "type": "string",
1471
- "pattern": "^(0|[1-9][0-9]{0,19})$",
1472
- "description": "Canonical unsigned decimal <= 18446744073709551615, checked semantically."
1473
- },
1474
- "operation": {
1475
- "type": "string"
1476
- },
1477
- "state": {
1478
- "enum": [
1479
- "requested",
1480
- "applied",
1481
- "failed",
1482
- "unknown"
1483
- ]
1484
- },
1485
- "namespaceId": {
1486
- "type": "string",
1487
- "minLength": 1,
1488
- "maxLength": 256
1489
- },
1490
- "path": {
1491
- "type": "string"
1492
- },
1493
- "destination": {
1494
- "type": "string"
1495
- },
1496
- "handleId": {
1497
- "type": "string",
1498
- "minLength": 1,
1499
- "maxLength": 256
1500
- },
1501
- "identityId": {
1502
- "type": "string",
1503
- "minLength": 1,
1504
- "maxLength": 256
1505
- },
1506
- "offset": {
1507
- "type": "string",
1508
- "pattern": "^(0|[1-9][0-9]{0,19})$",
1509
- "description": "Canonical unsigned decimal <= 18446744073709551615, checked semantically."
1510
- },
1511
- "length": {
1512
- "type": "string",
1513
- "pattern": "^(0|[1-9][0-9]{0,19})$",
1514
- "description": "Canonical unsigned decimal <= 18446744073709551615, checked semantically."
1515
- },
1516
- "acknowledgedBytes": {
1517
- "type": "string",
1518
- "pattern": "^(0|[1-9][0-9]{0,19})$",
1519
- "description": "Canonical unsigned decimal <= 18446744073709551615, checked semantically."
1520
- },
1521
- "revision": {
1522
- "type": "string",
1523
- "pattern": "^(0|[1-9][0-9]{0,19})$",
1524
- "description": "Canonical unsigned decimal <= 18446744073709551615, checked semantically."
1525
- },
1526
- "error": {
1527
- "$ref": "#/$defs/Failure"
1528
- },
1529
- "bytes": {
1530
- "type": "array",
1531
- "items": {
1532
- "type": "integer",
1533
- "minimum": 0,
1534
- "maximum": 255
1535
- },
1536
- "maxItems": 1048576,
1537
- "description": "Legacy draft content field; prohibited by the streaming/canonical-object-v1 profile. Payloads belong in binary channels or authorized blobs."
1538
- }
1539
- },
1540
- "required": [
1541
- "operationId",
1542
- "sequence",
1543
- "operation",
1544
- "state",
1545
- "namespaceId"
1546
- ],
1547
- "additionalProperties": false
1548
- },
1549
- {
1550
- "not": {
1551
- "required": [
1552
- "bytes"
1553
- ]
1554
- }
1555
- }
1556
- ]
1557
- },
1558
- "LaneRequest": {
1559
- "type": "object",
1560
- "properties": {
1561
- "direction": {
1562
- "enum": [
1563
- "input",
1564
- "output"
1565
- ]
1566
- },
1567
- "consumerId": {
1568
- "type": "string",
1569
- "minLength": 1,
1570
- "maxLength": 256
1571
- }
1572
- },
1573
- "required": [
1574
- "direction",
1575
- "consumerId"
1576
- ],
1577
- "additionalProperties": false
1578
- },
1579
- "Lane": {
1580
- "type": "object",
1581
- "properties": {
1582
- "laneId": {
1583
- "type": "string",
1584
- "minLength": 1,
1585
- "maxLength": 256
1586
- },
1587
- "direction": {
1588
- "enum": [
1589
- "input",
1590
- "output"
1591
- ]
1592
- },
1593
- "consumerId": {
1594
- "type": "string",
1595
- "minLength": 1,
1596
- "maxLength": 256
1597
- },
1598
- "floorSequence": {
1599
- "type": "string",
1600
- "pattern": "^(0|[1-9][0-9]{0,19})$",
1601
- "description": "Canonical unsigned decimal <= 18446744073709551615, checked semantically."
1602
- },
1603
- "nextSequence": {
1604
- "type": "string",
1605
- "pattern": "^(0|[1-9][0-9]{0,19})$",
1606
- "description": "Canonical unsigned decimal <= 18446744073709551615, checked semantically."
1607
- },
1608
- "maxFrameBytes": {
1609
- "type": "integer",
1610
- "minimum": 0,
1611
- "maximum": 9007199254740991
1612
- },
1613
- "maxInflightBytes": {
1614
- "type": "integer",
1615
- "minimum": 0,
1616
- "maximum": 9007199254740991
1617
- }
1618
- },
1619
- "required": [
1620
- "laneId",
1621
- "direction",
1622
- "consumerId",
1623
- "floorSequence",
1624
- "nextSequence",
1625
- "maxFrameBytes",
1626
- "maxInflightBytes"
1627
- ],
1628
- "additionalProperties": false
1629
- },
1630
- "Cursor": {
1631
- "type": "object",
1632
- "properties": {
1633
- "channelId": {
1634
- "type": "integer",
1635
- "minimum": 0,
1636
- "maximum": 9007199254740991
1637
- },
1638
- "offset": {
1639
- "type": "string",
1640
- "pattern": "^(0|[1-9][0-9]{0,19})$",
1641
- "description": "Canonical unsigned decimal <= 18446744073709551615, checked semantically."
1642
- }
1643
- },
1644
- "required": [
1645
- "channelId",
1646
- "offset"
1647
- ],
1648
- "additionalProperties": false
1649
- },
1650
- "Ack": {
1651
- "type": "object",
1652
- "properties": {
1653
- "type": {
1654
- "const": "Ack"
1655
- },
1656
- "laneId": {
1657
- "type": "string",
1658
- "minLength": 1,
1659
- "maxLength": 256
1660
- },
1661
- "sequence": {
1662
- "type": "string",
1663
- "pattern": "^(0|[1-9][0-9]{0,19})$",
1664
- "description": "Canonical unsigned decimal <= 18446744073709551615, checked semantically."
1665
- },
1666
- "offsets": {
1667
- "type": "array",
1668
- "items": {
1669
- "$ref": "#/$defs/Cursor"
1670
- }
1671
- }
1672
- },
1673
- "required": [
1674
- "type",
1675
- "laneId",
1676
- "sequence",
1677
- "offsets"
1678
- ],
1679
- "additionalProperties": false
1680
- },
1681
- "ChannelOpen": {
1682
- "type": "object",
1683
- "properties": {
1684
- "type": {
1685
- "const": "ChannelOpen"
1686
- },
1687
- "channelId": {
1688
- "type": "integer",
1689
- "minimum": 4
1690
- },
1691
- "correlationId": {
1692
- "type": "string",
1693
- "pattern": "^(0|[1-9][0-9]{0,19})$",
1694
- "description": "Canonical unsigned decimal <= 18446744073709551615, checked semantically."
1695
- },
1696
- "direction": {
1697
- "enum": [
1698
- "read",
1699
- "write"
1700
- ]
1701
- },
1702
- "resourceId": {
1703
- "type": "string",
1704
- "minLength": 1,
1705
- "maxLength": 256
1706
- },
1707
- "seekable": {
1708
- "type": "boolean"
1709
- }
1710
- },
1711
- "required": [
1712
- "type",
1713
- "channelId",
1714
- "correlationId",
1715
- "direction",
1716
- "resourceId",
1717
- "seekable"
1718
- ],
1719
- "additionalProperties": false
1720
- },
1721
- "FileOperation": {
1722
- "oneOf": [
1723
- {
1724
- "type": "object",
1725
- "properties": {
1726
- "op": {
1727
- "const": "open"
1728
- },
1729
- "path": {
1730
- "type": "string"
1731
- },
1732
- "rights": {
1733
- "type": "array",
1734
- "items": {
1735
- "enum": [
1736
- "read",
1737
- "write",
1738
- "seek",
1739
- "stat"
1740
- ]
1741
- }
1742
- },
1743
- "flag": {
1744
- "enum": [
1745
- "r",
1746
- "r+",
1747
- "w",
1748
- "w+",
1749
- "wx",
1750
- "wx+",
1751
- "a",
1752
- "a+",
1753
- "ax",
1754
- "ax+"
1755
- ]
1756
- },
1757
- "mode": {
1758
- "type": "integer",
1759
- "minimum": 0,
1760
- "maximum": 9007199254740991
1761
- }
1762
- },
1763
- "required": [
1764
- "op",
1765
- "path",
1766
- "rights",
1767
- "flag"
1768
- ],
1769
- "additionalProperties": false
1770
- },
1771
- {
1772
- "type": "object",
1773
- "properties": {
1774
- "op": {
1775
- "enum": [
1776
- "read",
1777
- "write"
1778
- ]
1779
- },
1780
- "handleId": {
1781
- "type": "string",
1782
- "minLength": 1,
1783
- "maxLength": 256
1784
- },
1785
- "position": {
1786
- "type": "string",
1787
- "pattern": "^(0|[1-9][0-9]{0,19})$",
1788
- "description": "Canonical unsigned decimal <= 18446744073709551615, checked semantically."
1789
- },
1790
- "length": {
1791
- "type": "string",
1792
- "pattern": "^(0|[1-9][0-9]{0,19})$",
1793
- "description": "Canonical unsigned decimal <= 18446744073709551615, checked semantically."
1794
- },
1795
- "channelId": {
1796
- "type": "integer",
1797
- "minimum": 0,
1798
- "maximum": 9007199254740991
1799
- }
1800
- },
1801
- "required": [
1802
- "op",
1803
- "handleId",
1804
- "length",
1805
- "channelId"
1806
- ],
1807
- "additionalProperties": false
1808
- },
1809
- {
1810
- "type": "object",
1811
- "properties": {
1812
- "op": {
1813
- "const": "seek"
1814
- },
1815
- "handleId": {
1816
- "type": "string",
1817
- "minLength": 1,
1818
- "maxLength": 256
1819
- },
1820
- "whence": {
1821
- "enum": [
1822
- "set",
1823
- "current",
1824
- "end"
1825
- ]
1826
- },
1827
- "offset": {
1828
- "type": "string",
1829
- "pattern": "^-?(0|[1-9][0-9]{0,18})$"
1830
- }
1831
- },
1832
- "required": [
1833
- "op",
1834
- "handleId",
1835
- "whence",
1836
- "offset"
1837
- ],
1838
- "additionalProperties": false
1839
- },
1840
- {
1841
- "type": "object",
1842
- "properties": {
1843
- "op": {
1844
- "enum": [
1845
- "stat",
1846
- "close"
1847
- ]
1848
- },
1849
- "handleId": {
1850
- "type": "string",
1851
- "minLength": 1,
1852
- "maxLength": 256
1853
- }
1854
- },
1855
- "required": [
1856
- "op",
1857
- "handleId"
1858
- ],
1859
- "additionalProperties": false
1860
- },
1861
- {
1862
- "type": "object",
1863
- "properties": {
1864
- "op": {
1865
- "enum": [
1866
- "stat",
1867
- "lstat",
1868
- "readlink",
1869
- "unlink",
1870
- "rmdir"
1871
- ]
1872
- },
1873
- "path": {
1874
- "type": "string"
1875
- }
1876
- },
1877
- "required": [
1878
- "op",
1879
- "path"
1880
- ],
1881
- "additionalProperties": false
1882
- },
1883
- {
1884
- "type": "object",
1885
- "properties": {
1886
- "op": {
1887
- "const": "readdir"
1888
- },
1889
- "path": {
1890
- "type": "string"
1891
- },
1892
- "maxEntries": {
1893
- "type": "integer",
1894
- "minimum": 0,
1895
- "maximum": 9007199254740991
1896
- }
1897
- },
1898
- "required": [
1899
- "op",
1900
- "path",
1901
- "maxEntries"
1902
- ],
1903
- "additionalProperties": false
1904
- },
1905
- {
1906
- "type": "object",
1907
- "properties": {
1908
- "op": {
1909
- "const": "truncate"
1910
- },
1911
- "handleId": {
1912
- "type": "string",
1913
- "minLength": 1,
1914
- "maxLength": 256
1915
- },
1916
- "length": {
1917
- "type": "string",
1918
- "pattern": "^(0|[1-9][0-9]{0,19})$",
1919
- "description": "Canonical unsigned decimal <= 18446744073709551615, checked semantically."
1920
- }
1921
- },
1922
- "required": [
1923
- "op",
1924
- "handleId",
1925
- "length"
1926
- ],
1927
- "additionalProperties": false
1928
- },
1929
- {
1930
- "type": "object",
1931
- "properties": {
1932
- "op": {
1933
- "enum": [
1934
- "rename",
1935
- "link"
1936
- ]
1937
- },
1938
- "path": {
1939
- "type": "string"
1940
- },
1941
- "destination": {
1942
- "type": "string"
1943
- },
1944
- "noReplace": {
1945
- "type": "boolean"
1946
- }
1947
- },
1948
- "required": [
1949
- "op",
1950
- "path",
1951
- "destination"
1952
- ],
1953
- "additionalProperties": false
1954
- },
1955
- {
1956
- "type": "object",
1957
- "properties": {
1958
- "op": {
1959
- "const": "symlink"
1960
- },
1961
- "path": {
1962
- "type": "string"
1963
- },
1964
- "target": {
1965
- "type": "string"
1966
- }
1967
- },
1968
- "required": [
1969
- "op",
1970
- "path",
1971
- "target"
1972
- ],
1973
- "additionalProperties": false
1974
- },
1975
- {
1976
- "type": "object",
1977
- "properties": {
1978
- "op": {
1979
- "enum": [
1980
- "mkdir",
1981
- "chmod"
1982
- ]
1983
- },
1984
- "path": {
1985
- "type": "string"
1986
- },
1987
- "mode": {
1988
- "type": "integer",
1989
- "minimum": 0,
1990
- "maximum": 9007199254740991
1991
- }
1992
- },
1993
- "required": [
1994
- "op",
1995
- "path",
1996
- "mode"
1997
- ],
1998
- "additionalProperties": false
1999
- },
2000
- {
2001
- "type": "object",
2002
- "properties": {
2003
- "op": {
2004
- "const": "utimes"
2005
- },
2006
- "path": {
2007
- "type": "string"
2008
- },
2009
- "atimeMs": {
2010
- "type": "number"
2011
- },
2012
- "mtimeMs": {
2013
- "type": "number"
2014
- }
2015
- },
2016
- "required": [
2017
- "op",
2018
- "path",
2019
- "atimeMs",
2020
- "mtimeMs"
2021
- ],
2022
- "additionalProperties": false
2023
- }
2024
- ]
2025
- },
2026
- "Callback": {
2027
- "type": "object",
2028
- "properties": {
2029
- "type": {
2030
- "const": "Callback"
2031
- },
2032
- "callbackId": {
2033
- "type": "string",
2034
- "minLength": 1,
2035
- "maxLength": 256
2036
- },
2037
- "correlationId": {
2038
- "type": "string",
2039
- "pattern": "^(0|[1-9][0-9]{0,19})$",
2040
- "description": "Canonical unsigned decimal <= 18446744073709551615, checked semantically."
2041
- },
2042
- "epoch": {
2043
- "type": "string",
2044
- "minLength": 1,
2045
- "maxLength": 256
2046
- },
2047
- "operationId": {
2048
- "type": "string",
2049
- "minLength": 1,
2050
- "maxLength": 256
2051
- },
2052
- "grantId": {
2053
- "type": "string",
2054
- "minLength": 1,
2055
- "maxLength": 256
2056
- },
2057
- "namespaceId": {
2058
- "type": "string",
2059
- "minLength": 1,
2060
- "maxLength": 256
2061
- },
2062
- "expiresAt": {
2063
- "type": "string",
2064
- "format": "date-time"
2065
- },
2066
- "operation": {
2067
- "$ref": "#/$defs/FileOperation"
2068
- },
2069
- "owner": {
2070
- "type": "object",
2071
- "properties": {
2072
- "kind": {
2073
- "enum": [
2074
- "job",
2075
- "materialization"
2076
- ]
2077
- },
2078
- "id": {
2079
- "type": "string",
2080
- "minLength": 1,
2081
- "maxLength": 256
2082
- }
2083
- },
2084
- "required": [
2085
- "kind",
2086
- "id"
2087
- ],
2088
- "additionalProperties": false
2089
- }
2090
- },
2091
- "required": [
2092
- "type",
2093
- "callbackId",
2094
- "correlationId",
2095
- "epoch",
2096
- "operationId",
2097
- "grantId",
2098
- "namespaceId",
2099
- "expiresAt",
2100
- "operation",
2101
- "owner"
2102
- ],
2103
- "additionalProperties": false
2104
- },
2105
- "Stat": {
2106
- "type": "object",
2107
- "properties": {
2108
- "type": {
2109
- "enum": [
2110
- "file",
2111
- "directory",
2112
- "symlink",
2113
- "character"
2114
- ]
2115
- },
2116
- "size": {
2117
- "type": "integer",
2118
- "minimum": 0,
2119
- "maximum": 9007199254740991
2120
- },
2121
- "mode": {
2122
- "type": "integer",
2123
- "minimum": 0,
2124
- "maximum": 9007199254740991
2125
- },
2126
- "mtimeMs": {
2127
- "type": "number"
2128
- },
2129
- "atimeMs": {
2130
- "type": "number"
2131
- },
2132
- "ctimeMs": {
2133
- "type": "number"
2134
- },
2135
- "revision": {
2136
- "type": "integer",
2137
- "minimum": 0,
2138
- "maximum": 9007199254740991
2139
- },
2140
- "identityId": {
2141
- "type": "string",
2142
- "minLength": 1,
2143
- "maxLength": 256
2144
- },
2145
- "allocatedBytes": {
2146
- "type": "integer",
2147
- "minimum": 0,
2148
- "maximum": 9007199254740991
2149
- },
2150
- "ino": {
2151
- "type": "integer",
2152
- "minimum": 0,
2153
- "maximum": 9007199254740991
2154
- },
2155
- "dev": {
2156
- "type": "integer",
2157
- "minimum": 0,
2158
- "maximum": 9007199254740991
2159
- },
2160
- "nlink": {
2161
- "type": "integer",
2162
- "minimum": 0,
2163
- "maximum": 9007199254740991
2164
- },
2165
- "uid": {
2166
- "type": "integer",
2167
- "minimum": 0,
2168
- "maximum": 9007199254740991
2169
- },
2170
- "gid": {
2171
- "type": "integer",
2172
- "minimum": 0,
2173
- "maximum": 9007199254740991
2174
- },
2175
- "birthtimeMs": {
2176
- "type": "number"
2177
- },
2178
- "preferredIoBlockSize": {
2179
- "type": "integer",
2180
- "minimum": 0,
2181
- "maximum": 9007199254740991
2182
- }
2183
- },
2184
- "required": [
2185
- "type",
2186
- "size",
2187
- "mode",
2188
- "mtimeMs",
2189
- "atimeMs",
2190
- "ctimeMs"
2191
- ],
2192
- "additionalProperties": false
2193
- },
2194
- "CallbackResult": {
2195
- "type": "object",
2196
- "properties": {
2197
- "type": {
2198
- "const": "CallbackResult"
2199
- },
2200
- "callbackId": {
2201
- "type": "string",
2202
- "minLength": 1,
2203
- "maxLength": 256
2204
- },
2205
- "operationId": {
2206
- "type": "string",
2207
- "minLength": 1,
2208
- "maxLength": 256
2209
- },
2210
- "state": {
2211
- "enum": [
2212
- "applied",
2213
- "failed",
2214
- "unknown"
2215
- ]
2216
- },
2217
- "handleId": {
2218
- "type": "string",
2219
- "minLength": 1,
2220
- "maxLength": 256
2221
- },
2222
- "stat": {
2223
- "$ref": "#/$defs/Stat"
2224
- },
2225
- "position": {
2226
- "type": "string",
2227
- "pattern": "^(0|[1-9][0-9]{0,19})$",
2228
- "description": "Canonical unsigned decimal <= 18446744073709551615, checked semantically."
2229
- },
2230
- "acknowledgedBytes": {
2231
- "type": "string",
2232
- "pattern": "^(0|[1-9][0-9]{0,19})$",
2233
- "description": "Canonical unsigned decimal <= 18446744073709551615, checked semantically."
2234
- },
2235
- "target": {
2236
- "type": "string"
2237
- },
2238
- "entries": {
2239
- "type": "array",
2240
- "items": {
2241
- "type": "object",
2242
- "properties": {
2243
- "name": {
2244
- "type": "string"
2245
- },
2246
- "type": {
2247
- "enum": [
2248
- "file",
2249
- "directory",
2250
- "symlink",
2251
- "character"
2252
- ]
2253
- }
2254
- },
2255
- "required": [
2256
- "name",
2257
- "type"
2258
- ],
2259
- "additionalProperties": false
2260
- }
2261
- },
2262
- "error": {
2263
- "$ref": "#/$defs/Failure"
2264
- },
2265
- "identityId": {
2266
- "$ref": "#/$defs/Id"
2267
- }
2268
- },
2269
- "required": [
2270
- "type",
2271
- "callbackId",
2272
- "operationId",
2273
- "state"
2274
- ],
2275
- "additionalProperties": false
2276
- },
2277
- "Control": {
2278
- "oneOf": [
2279
- {
2280
- "$ref": "#/$defs/Ack"
2281
- },
2282
- {
2283
- "$ref": "#/$defs/ChannelOpen"
2284
- },
2285
- {
2286
- "$ref": "#/$defs/Callback"
2287
- },
2288
- {
2289
- "$ref": "#/$defs/CallbackResult"
2290
- },
2291
- {
2292
- "type": "object",
2293
- "properties": {
2294
- "type": {
2295
- "const": "Effect"
2296
- },
2297
- "effect": {
2298
- "$ref": "#/$defs/Effect"
2299
- }
2300
- },
2301
- "required": [
2302
- "type",
2303
- "effect"
2304
- ],
2305
- "additionalProperties": false
2306
- },
2307
- {
2308
- "type": "object",
2309
- "properties": {
2310
- "type": {
2311
- "const": "JobState"
2312
- },
2313
- "job": {
2314
- "$ref": "#/$defs/Job"
2315
- }
2316
- },
2317
- "required": [
2318
- "type",
2319
- "job"
2320
- ],
2321
- "additionalProperties": false
2322
- },
2323
- {
2324
- "type": "object",
2325
- "properties": {
2326
- "type": {
2327
- "const": "Failure"
2328
- },
2329
- "error": {
2330
- "$ref": "#/$defs/Failure"
2331
- }
2332
- },
2333
- "required": [
2334
- "type",
2335
- "error"
2336
- ],
2337
- "additionalProperties": false
2338
- },
2339
- {
2340
- "$ref": "#/$defs/CanonicalCallback"
2341
- },
2342
- {
2343
- "$ref": "#/$defs/CanonicalCallbackResult"
2344
- }
2345
- ]
2346
- },
2347
- "ReleaseRequest": {
2348
- "type": "object",
2349
- "properties": {
2350
- "handleIds": {
2351
- "type": "array",
2352
- "items": {
2353
- "type": "string",
2354
- "minLength": 1,
2355
- "maxLength": 256
2356
- }
2357
- },
2358
- "grantIds": {
2359
- "type": "array",
2360
- "items": {
2361
- "type": "string",
2362
- "minLength": 1,
2363
- "maxLength": 256
2364
- }
2365
- }
2366
- },
2367
- "required": [
2368
- "handleIds",
2369
- "grantIds"
2370
- ],
2371
- "additionalProperties": false
2372
- },
2373
- "OperationLookup": {
2374
- "type": "object",
2375
- "properties": {
2376
- "operationId": {
2377
- "type": "string",
2378
- "minLength": 1,
2379
- "maxLength": 256
2380
- },
2381
- "kind": {
2382
- "enum": [
2383
- "session",
2384
- "upload",
2385
- "manifest",
2386
- "materialization",
2387
- "job",
2388
- "cancel",
2389
- "release",
2390
- "close",
2391
- "lane",
2392
- "ack",
2393
- "callback",
2394
- "file-open",
2395
- "file-close",
2396
- "file-listing",
2397
- "lease",
2398
- "signal"
2399
- ]
2400
- },
2401
- "state": {
2402
- "enum": [
2403
- "accepted",
2404
- "complete",
2405
- "failed",
2406
- "unknown"
2407
- ]
2408
- },
2409
- "resourceId": {
2410
- "type": "string",
2411
- "minLength": 1,
2412
- "maxLength": 256
2413
- },
2414
- "error": {
2415
- "$ref": "#/$defs/Failure"
2416
- }
2417
- },
2418
- "required": [
2419
- "operationId",
2420
- "kind",
2421
- "state"
2422
- ],
2423
- "additionalProperties": false
2424
- },
2425
- "FrontendContract": {
2426
- "type": "object",
2427
- "properties": {
2428
- "grammarRevision": {
2429
- "type": "string",
2430
- "minLength": 1,
2431
- "maxLength": 256
2432
- },
2433
- "sourceRevision": {
2434
- "type": "string",
2435
- "minLength": 1,
2436
- "maxLength": 256
2437
- }
2438
- },
2439
- "required": [
2440
- "grammarRevision",
2441
- "sourceRevision"
2442
- ],
2443
- "additionalProperties": false
2444
- },
2445
- "SignalRequest": {
2446
- "type": "object",
2447
- "properties": {
2448
- "signal": {
2449
- "type": "string",
2450
- "minLength": 1,
2451
- "maxLength": 32
2452
- }
2453
- },
2454
- "required": [
2455
- "signal"
2456
- ],
2457
- "additionalProperties": false
2458
- },
2459
- "ManifestReceipt": {
2460
- "type": "object",
2461
- "properties": {
2462
- "manifestId": {
2463
- "$ref": "#/$defs/Id"
2464
- },
2465
- "digest": {
2466
- "$ref": "#/$defs/Digest"
2467
- }
2468
- },
2469
- "required": [
2470
- "manifestId",
2471
- "digest"
2472
- ],
2473
- "additionalProperties": false
2474
- },
2475
- "JobList": {
2476
- "type": "array",
2477
- "items": {
2478
- "$ref": "#/$defs/Job"
2479
- }
2480
- },
2481
- "FileOpenRequest": {
2482
- "type": "object",
2483
- "properties": {
2484
- "namespaceId": {
2485
- "$ref": "#/$defs/Id"
2486
- },
2487
- "grantId": {
2488
- "$ref": "#/$defs/Id"
2489
- },
2490
- "path": {
2491
- "type": "string",
2492
- "minLength": 1
2493
- },
2494
- "jobId": {
2495
- "$ref": "#/$defs/Id"
2496
- }
2497
- },
2498
- "required": [
2499
- "namespaceId",
2500
- "grantId",
2501
- "path"
2502
- ],
2503
- "additionalProperties": false
2504
- },
2505
- "FileListRequest": {
2506
- "type": "object",
2507
- "properties": {
2508
- "namespaceId": {
2509
- "$ref": "#/$defs/Id"
2510
- },
2511
- "grantId": {
2512
- "$ref": "#/$defs/Id"
2513
- },
2514
- "path": {
2515
- "type": "string",
2516
- "minLength": 1
2517
- },
2518
- "maxEntries": {
2519
- "type": "integer",
2520
- "minimum": 0,
2521
- "maximum": 9007199254740991
2522
- }
2523
- },
2524
- "required": [
2525
- "namespaceId",
2526
- "grantId",
2527
- "path",
2528
- "maxEntries"
2529
- ],
2530
- "additionalProperties": false
2531
- },
2532
- "FileMetadata": {
2533
- "type": "object",
2534
- "properties": {
2535
- "type": {
2536
- "enum": [
2537
- "file",
2538
- "directory",
2539
- "symlink",
2540
- "character",
2541
- "fifo",
2542
- "socket"
2543
- ]
2544
- },
2545
- "size": {
2546
- "$ref": "#/$defs/Uint64"
2547
- },
2548
- "allocatedBytes": {
2549
- "$ref": "#/$defs/Uint64"
2550
- },
2551
- "mode": {
2552
- "type": "integer",
2553
- "minimum": 0,
2554
- "maximum": 65535
2555
- },
2556
- "uid": {
2557
- "type": "integer",
2558
- "minimum": 0,
2559
- "maximum": 4294967295
2560
- },
2561
- "gid": {
2562
- "type": "integer",
2563
- "minimum": 0,
2564
- "maximum": 4294967295
2565
- },
2566
- "atimeNs": {
2567
- "type": "string",
2568
- "pattern": "^-?(0|[1-9][0-9]{0,18})$"
2569
- },
2570
- "mtimeNs": {
2571
- "type": "string",
2572
- "pattern": "^-?(0|[1-9][0-9]{0,18})$"
2573
- },
2574
- "ctimeNs": {
2575
- "type": "string",
2576
- "pattern": "^-?(0|[1-9][0-9]{0,18})$"
2577
- },
2578
- "nlink": {
2579
- "$ref": "#/$defs/FileOffset"
2580
- }
2581
- },
2582
- "required": [
2583
- "type",
2584
- "size"
2585
- ],
2586
- "additionalProperties": false,
2587
- "description": "Legacy draft model. For canonical-object-v1 use companion WireExactFileStat and signed-off_t-compatible exact values; never round through Number."
2588
- },
2589
- "FileHandle": {
2590
- "type": "object",
2591
- "properties": {
2592
- "handleId": {
2593
- "$ref": "#/$defs/Id"
2594
- },
2595
- "invocationId": {
2596
- "$ref": "#/$defs/Id"
2597
- }
2598
- },
2599
- "required": [
2600
- "handleId",
2601
- "invocationId"
2602
- ],
2603
- "additionalProperties": false
2604
- },
2605
- "FileListing": {
2606
- "type": "array",
2607
- "items": {
2608
- "type": "object",
2609
- "properties": {
2610
- "name": {
2611
- "type": "string"
2612
- },
2613
- "type": {
2614
- "enum": [
2615
- "file",
2616
- "directory",
2617
- "symlink",
2618
- "character",
2619
- "fifo",
2620
- "socket"
2621
- ]
2622
- }
2623
- },
2624
- "required": [
2625
- "name",
2626
- "type"
2627
- ],
2628
- "additionalProperties": false
2629
- }
2630
- },
2631
- "Released": {
2632
- "type": "object",
2633
- "properties": {
2634
- "released": {
2635
- "const": true
2636
- }
2637
- },
2638
- "required": [
2639
- "released"
2640
- ],
2641
- "additionalProperties": false
2642
- },
2643
- "JobStateEvent": {
2644
- "type": "object",
2645
- "properties": {
2646
- "version": {
2647
- "const": 1
2648
- },
2649
- "sequence": {
2650
- "$ref": "#/$defs/Uint64"
2651
- },
2652
- "stage": {
2653
- "enum": [
2654
- "accepted",
2655
- "running",
2656
- "process-exited",
2657
- "io-settled",
2658
- "sandbox-lost",
2659
- "unknown-outcome"
2660
- ]
2661
- },
2662
- "retainedUntil": {
2663
- "type": "number"
2664
- },
2665
- "effectBarrier": {
2666
- "$ref": "#/$defs/Uint64"
2667
- },
2668
- "processOutcome": {
2669
- "$ref": "#/$defs/Outcome"
2670
- },
2671
- "cancelRequested": {
2672
- "type": "boolean"
2673
- },
2674
- "cancelActed": {
2675
- "type": "boolean"
2676
- },
2677
- "outputComplete": {
2678
- "type": "boolean"
2679
- },
2680
- "cleanup": {
2681
- "enum": [
2682
- "pending",
2683
- "complete",
2684
- "unknown"
2685
- ]
2686
- }
2687
- },
2688
- "required": [
2689
- "version",
2690
- "sequence",
2691
- "stage",
2692
- "retainedUntil",
2693
- "effectBarrier"
2694
- ],
2695
- "additionalProperties": false
2696
- },
2697
- "EffectReceipt": {
2698
- "type": "object",
2699
- "properties": {
2700
- "operationId": {
2701
- "type": "string",
2702
- "minLength": 1,
2703
- "maxLength": 256
2704
- },
2705
- "sequence": {
2706
- "type": "string",
2707
- "pattern": "^(0|[1-9][0-9]{0,19})$",
2708
- "description": "Canonical unsigned decimal <= 18446744073709551615, checked semantically."
2709
- },
2710
- "operation": {
2711
- "type": "string"
2712
- },
2713
- "state": {
2714
- "enum": [
2715
- "requested",
2716
- "applied",
2717
- "failed",
2718
- "unknown"
2719
- ]
2720
- },
2721
- "acknowledgedBytes": {
2722
- "type": "string",
2723
- "pattern": "^(0|[1-9][0-9]{0,19})$",
2724
- "description": "Canonical unsigned decimal <= 18446744073709551615, checked semantically."
2725
- },
2726
- "revision": {
2727
- "type": "string",
2728
- "pattern": "^(0|[1-9][0-9]{0,19})$",
2729
- "description": "Canonical unsigned decimal <= 18446744073709551615, checked semantically."
2730
- }
2731
- },
2732
- "required": [
2733
- "operationId",
2734
- "sequence",
2735
- "operation",
2736
- "state"
2737
- ],
2738
- "additionalProperties": false
2739
- },
2740
- "EffectManifest": {
2741
- "allOf": [
2742
- {
2743
- "type": "object",
2744
- "properties": {
2745
- "jobId": {
2746
- "$ref": "#/$defs/Id"
2747
- },
2748
- "effects": {
2749
- "type": "array",
2750
- "items": {
2751
- "$ref": "#/$defs/Effect"
2752
- }
2753
- },
2754
- "outputs": {
2755
- "type": "array",
2756
- "items": {
2757
- "$ref": "#/$defs/Id"
2758
- }
2759
- },
2760
- "effectBarrier": {
2761
- "$ref": "#/$defs/Uint64"
2762
- },
2763
- "outputComplete": {
2764
- "type": "boolean"
2765
- },
2766
- "processOutcome": {
2767
- "$ref": "#/$defs/Outcome"
2768
- },
2769
- "outcome": {
2770
- "$ref": "#/$defs/Outcome"
2771
- },
2772
- "retrievalFailures": {
2773
- "type": "array",
2774
- "items": {
2775
- "type": "object",
2776
- "properties": {
2777
- "identityId": {
2778
- "$ref": "#/$defs/Id"
2779
- },
2780
- "error": {
2781
- "type": "string"
2782
- }
2783
- },
2784
- "required": [
2785
- "identityId",
2786
- "error"
2787
- ],
2788
- "additionalProperties": false
2789
- }
2790
- }
2791
- },
2792
- "required": [
2793
- "jobId",
2794
- "effects",
2795
- "outputs",
2796
- "effectBarrier",
2797
- "outputComplete"
2798
- ],
2799
- "additionalProperties": false
2800
- },
2801
- {
2802
- "type": "object",
2803
- "properties": {
2804
- "effects": {
2805
- "type": "array",
2806
- "items": {
2807
- "$ref": "#/$defs/Effect"
2808
- }
2809
- }
2810
- }
2811
- }
2812
- ]
2813
- },
2814
- "BytePath": {
2815
- "type": "array",
2816
- "minItems": 1,
2817
- "maxItems": 1048576,
2818
- "items": {
2819
- "type": "integer",
2820
- "minimum": 1,
2821
- "maximum": 255
2822
- },
2823
- "description": "Owned nonempty NUL-free octets. No decoding or lexical normalization; authorize canonical traversal before access. Admission uses tighter negotiated byte/slot limits."
2824
- },
2825
- "FileOffset": {
2826
- "type": "string",
2827
- "minLength": 1,
2828
- "maxLength": 19,
2829
- "description": "Canonical decimal 0 through 9223372036854775807. Validate digit-by-digit, reject signs, leading zeros, exponents and overflow; decode directly to bigint via safe-fs decodeFileOffset."
2830
- },
2831
- "Timestamp": {
2832
- "type": "string",
2833
- "minLength": 1,
2834
- "maxLength": 20,
2835
- "description": "Canonical signed decimal nanoseconds within signed 64-bit range. Reject negative zero, leading zeros and overflow; use safe-fs timestamp/metadata codecs."
2836
- },
2837
- "WireExactFileStat": {
2838
- "type": "object",
2839
- "properties": {
2840
- "type": {
2841
- "enum": [
2842
- "file",
2843
- "directory",
2844
- "symlink",
2845
- "character",
2846
- "fifo",
2847
- "socket"
2848
- ]
2849
- },
2850
- "size": {
2851
- "$ref": "#/$defs/FileOffset"
2852
- },
2853
- "allocatedBytes": {
2854
- "$ref": "#/$defs/FileOffset"
2855
- },
2856
- "mode": {
2857
- "type": "integer",
2858
- "minimum": 0,
2859
- "maximum": 65535
2860
- },
2861
- "uid": {
2862
- "type": "integer",
2863
- "minimum": 0,
2864
- "maximum": 4294967295
2865
- },
2866
- "gid": {
2867
- "type": "integer",
2868
- "minimum": 0,
2869
- "maximum": 4294967295
2870
- },
2871
- "atimeNs": {
2872
- "$ref": "#/$defs/Timestamp"
2873
- },
2874
- "mtimeNs": {
2875
- "$ref": "#/$defs/Timestamp"
2876
- },
2877
- "ctimeNs": {
2878
- "$ref": "#/$defs/Timestamp"
2879
- },
2880
- "nlink": {
2881
- "$ref": "#/$defs/FileOffset"
2882
- }
2883
- },
2884
- "required": [
2885
- "type",
2886
- "size"
2887
- ],
2888
- "additionalProperties": false
2889
- },
2890
- "WireObjectMetadata": {
2891
- "type": "object",
2892
- "properties": {
2893
- "mode": {
2894
- "type": "integer",
2895
- "minimum": 0,
2896
- "maximum": 4095
2897
- },
2898
- "uid": {
2899
- "type": "integer",
2900
- "minimum": 0,
2901
- "maximum": 4294967294
2902
- },
2903
- "gid": {
2904
- "type": "integer",
2905
- "minimum": 0,
2906
- "maximum": 4294967294
2907
- },
2908
- "atimeNs": {
2909
- "$ref": "#/$defs/Timestamp"
2910
- },
2911
- "mtimeNs": {
2912
- "$ref": "#/$defs/Timestamp"
2913
- }
2914
- },
2915
- "required": [],
2916
- "additionalProperties": false
2917
- },
2918
- "WireObjectHandle": {
2919
- "type": "object",
2920
- "properties": {
2921
- "handle": {
2922
- "$ref": "#/$defs/Id"
2923
- },
2924
- "object": {
2925
- "$ref": "#/$defs/Id"
2926
- }
2927
- },
2928
- "required": [
2929
- "handle",
2930
- "object"
2931
- ],
2932
- "additionalProperties": false
2933
- },
2934
- "Operation": {
2935
- "oneOf": [
2936
- {
2937
- "type": "object",
2938
- "properties": {
2939
- "operation": {
2940
- "const": "open"
2941
- },
2942
- "path": {
2943
- "$ref": "#/$defs/BytePath"
2944
- },
2945
- "access": {
2946
- "enum": [
2947
- "read",
2948
- "write",
2949
- "readwrite"
2950
- ]
2951
- },
2952
- "special": {
2953
- "enum": [
2954
- "character",
2955
- "fifo",
2956
- "socket"
2957
- ]
2958
- }
2959
- },
2960
- "required": [
2961
- "operation",
2962
- "path"
2963
- ],
2964
- "additionalProperties": false
2965
- },
2966
- {
2967
- "type": "object",
2968
- "properties": {
2969
- "operation": {
2970
- "const": "read"
2971
- },
2972
- "handle": {
2973
- "$ref": "#/$defs/Id"
2974
- },
2975
- "position": {
2976
- "$ref": "#/$defs/FileOffset"
2977
- },
2978
- "maxBytes": {
2979
- "type": "integer",
2980
- "minimum": 0,
2981
- "maximum": 9007199254740991
2982
- },
2983
- "channelId": {
2984
- "type": "integer",
2985
- "minimum": 4,
2986
- "maximum": 4294967295
2987
- }
2988
- },
2989
- "required": [
2990
- "operation",
2991
- "handle",
2992
- "position",
2993
- "maxBytes",
2994
- "channelId"
2995
- ],
2996
- "additionalProperties": false
2997
- },
2998
- {
2999
- "type": "object",
3000
- "properties": {
3001
- "operation": {
3002
- "const": "write"
3003
- },
3004
- "handle": {
3005
- "$ref": "#/$defs/Id"
3006
- },
3007
- "position": {
3008
- "$ref": "#/$defs/FileOffset"
3009
- },
3010
- "length": {
3011
- "$ref": "#/$defs/FileOffset"
3012
- },
3013
- "channelId": {
3014
- "type": "integer",
3015
- "minimum": 4,
3016
- "maximum": 4294967295
3017
- }
3018
- },
3019
- "required": [
3020
- "operation",
3021
- "handle",
3022
- "position",
3023
- "length",
3024
- "channelId"
3025
- ],
3026
- "additionalProperties": false
3027
- },
3028
- {
3029
- "type": "object",
3030
- "properties": {
3031
- "operation": {
3032
- "const": "truncate"
3033
- },
3034
- "handle": {
3035
- "$ref": "#/$defs/Id"
3036
- },
3037
- "length": {
3038
- "$ref": "#/$defs/FileOffset"
3039
- }
3040
- },
3041
- "required": [
3042
- "operation",
3043
- "handle",
3044
- "length"
3045
- ],
3046
- "additionalProperties": false
3047
- },
3048
- {
3049
- "type": "object",
3050
- "properties": {
3051
- "operation": {
3052
- "const": "stat"
3053
- },
3054
- "handle": {
3055
- "$ref": "#/$defs/Id"
3056
- }
3057
- },
3058
- "required": [
3059
- "operation",
3060
- "handle"
3061
- ],
3062
- "additionalProperties": false
3063
- },
3064
- {
3065
- "type": "object",
3066
- "properties": {
3067
- "operation": {
3068
- "const": "metadata"
3069
- },
3070
- "handle": {
3071
- "$ref": "#/$defs/Id"
3072
- },
3073
- "changes": {
3074
- "$ref": "#/$defs/WireObjectMetadata"
3075
- }
3076
- },
3077
- "required": [
3078
- "operation",
3079
- "handle",
3080
- "changes"
3081
- ],
3082
- "additionalProperties": false
3083
- },
3084
- {
3085
- "type": "object",
3086
- "properties": {
3087
- "operation": {
3088
- "const": "link"
3089
- },
3090
- "handle": {
3091
- "$ref": "#/$defs/Id"
3092
- },
3093
- "destination": {
3094
- "$ref": "#/$defs/BytePath"
3095
- }
3096
- },
3097
- "required": [
3098
- "operation",
3099
- "handle",
3100
- "destination"
3101
- ],
3102
- "additionalProperties": false
3103
- },
3104
- {
3105
- "type": "object",
3106
- "properties": {
3107
- "operation": {
3108
- "const": "close"
3109
- },
3110
- "handle": {
3111
- "$ref": "#/$defs/Id"
3112
- }
3113
- },
3114
- "required": [
3115
- "operation",
3116
- "handle"
3117
- ],
3118
- "additionalProperties": false
3119
- },
3120
- {
3121
- "type": "object",
3122
- "properties": {
3123
- "operation": {
3124
- "const": "rename"
3125
- },
3126
- "source": {
3127
- "$ref": "#/$defs/BytePath"
3128
- },
3129
- "destination": {
3130
- "$ref": "#/$defs/BytePath"
3131
- }
3132
- },
3133
- "required": [
3134
- "operation",
3135
- "source",
3136
- "destination"
3137
- ],
3138
- "additionalProperties": false
3139
- },
3140
- {
3141
- "type": "object",
3142
- "properties": {
3143
- "operation": {
3144
- "enum": [
3145
- "unlink",
3146
- "rmdir"
3147
- ]
3148
- },
3149
- "path": {
3150
- "$ref": "#/$defs/BytePath"
3151
- }
3152
- },
3153
- "required": [
3154
- "operation",
3155
- "path"
3156
- ],
3157
- "additionalProperties": false
3158
- },
3159
- {
3160
- "type": "object",
3161
- "properties": {
3162
- "operation": {
3163
- "const": "readdir"
3164
- },
3165
- "path": {
3166
- "$ref": "#/$defs/BytePath"
3167
- },
3168
- "maxEntries": {
3169
- "type": "integer",
3170
- "minimum": 0,
3171
- "maximum": 9007199254740991
3172
- }
3173
- },
3174
- "required": [
3175
- "operation",
3176
- "path",
3177
- "maxEntries"
3178
- ],
3179
- "additionalProperties": false
3180
- },
3181
- {
3182
- "type": "object",
3183
- "properties": {
3184
- "operation": {
3185
- "const": "append"
3186
- },
3187
- "handle": {
3188
- "$ref": "#/$defs/Id"
3189
- },
3190
- "length": {
3191
- "$ref": "#/$defs/FileOffset"
3192
- },
3193
- "channelId": {
3194
- "type": "integer",
3195
- "minimum": 4,
3196
- "maximum": 4294967295
3197
- }
3198
- },
3199
- "required": [
3200
- "operation",
3201
- "handle",
3202
- "length",
3203
- "channelId"
3204
- ],
3205
- "additionalProperties": false,
3206
- "description": "Atomically choose EOF and append on the retained object. Requires admitted append support and write authority; never stat then write. Actual settled progress is acknowledgedBytes with correlated binary DATA/END."
3207
- },
3208
- {
3209
- "type": "object",
3210
- "properties": {
3211
- "operation": {
3212
- "const": "create"
3213
- },
3214
- "path": {
3215
- "$ref": "#/$defs/BytePath"
3216
- },
3217
- "flag": {
3218
- "enum": [
3219
- "w",
3220
- "wx",
3221
- "a",
3222
- "ax"
3223
- ]
3224
- },
3225
- "access": {
3226
- "enum": [
3227
- "read",
3228
- "write",
3229
- "readwrite"
3230
- ]
3231
- },
3232
- "mode": {
3233
- "type": "integer",
3234
- "minimum": 0,
3235
- "maximum": 4095
3236
- }
3237
- },
3238
- "required": [
3239
- "operation",
3240
- "path",
3241
- "flag"
3242
- ],
3243
- "additionalProperties": false,
3244
- "description": "Accounted objects.create acquisition returns the same retained object and its creation receipt. Exclusive flags refuse all existing entries including symlinks; w may truncate during acquisition. Requires separately authorized creation/truncation and backend method support. No stat/open fallback; a/ax do not imply retained append support."
3245
- }
3246
- ]
3247
- },
3248
- "CanonicalCallback": {
3249
- "type": "object",
3250
- "properties": {
3251
- "type": {
3252
- "const": "CanonicalCallback"
3253
- },
3254
- "callbackId": {
3255
- "$ref": "#/$defs/Id"
3256
- },
3257
- "operationId": {
3258
- "$ref": "#/$defs/Id"
3259
- },
3260
- "correlationId": {
3261
- "$ref": "#/$defs/Uint64"
3262
- },
3263
- "epoch": {
3264
- "$ref": "#/$defs/Id"
3265
- },
3266
- "namespaceId": {
3267
- "$ref": "#/$defs/Id"
3268
- },
3269
- "grantId": {
3270
- "$ref": "#/$defs/Id"
3271
- },
3272
- "owner": {
3273
- "type": "object",
3274
- "properties": {
3275
- "kind": {
3276
- "enum": [
3277
- "job",
3278
- "materialization"
3279
- ]
3280
- },
3281
- "id": {
3282
- "$ref": "#/$defs/Id"
3283
- }
3284
- },
3285
- "required": [
3286
- "kind",
3287
- "id"
3288
- ],
3289
- "additionalProperties": false
3290
- },
3291
- "expiresAt": {
3292
- "type": "string",
3293
- "format": "date-time"
3294
- },
3295
- "operation": {
3296
- "$ref": "#/$defs/Operation"
3297
- }
3298
- },
3299
- "required": [
3300
- "type",
3301
- "callbackId",
3302
- "operationId",
3303
- "correlationId",
3304
- "epoch",
3305
- "namespaceId",
3306
- "grantId",
3307
- "owner",
3308
- "expiresAt",
3309
- "operation"
3310
- ],
3311
- "additionalProperties": false
3312
- },
3313
- "CanonicalCallbackResult": {
3314
- "type": "object",
3315
- "properties": {
3316
- "type": {
3317
- "const": "CanonicalCallbackResult"
3318
- },
3319
- "callbackId": {
3320
- "$ref": "#/$defs/Id"
3321
- },
3322
- "operationId": {
3323
- "$ref": "#/$defs/Id"
3324
- },
3325
- "state": {
3326
- "enum": [
3327
- "applied",
3328
- "failed",
3329
- "unknown"
3330
- ]
3331
- },
3332
- "opened": {
3333
- "$ref": "#/$defs/WireObjectHandle"
3334
- },
3335
- "stat": {
3336
- "$ref": "#/$defs/WireExactFileStat"
3337
- },
3338
- "acknowledgedBytes": {
3339
- "$ref": "#/$defs/FileOffset"
3340
- },
3341
- "entries": {
3342
- "type": "array",
3343
- "items": {
3344
- "type": "object",
3345
- "properties": {
3346
- "name": {
3347
- "$ref": "#/$defs/BytePath"
3348
- },
3349
- "type": {
3350
- "enum": [
3351
- "file",
3352
- "directory",
3353
- "symlink",
3354
- "character",
3355
- "fifo",
3356
- "socket"
3357
- ]
3358
- }
3359
- },
3360
- "required": [
3361
- "name",
3362
- "type"
3363
- ],
3364
- "additionalProperties": false
3365
- }
3366
- },
3367
- "error": {
3368
- "$ref": "#/$defs/Failure"
3369
- },
3370
- "moved": {
3371
- "type": "boolean",
3372
- "description": "Only for an applied rename, from the canonical rename receipt. Absent means unknown namespace effect; never infer from a later pathname probe."
3373
- },
3374
- "creation": {
3375
- "enum": [
3376
- "created",
3377
- "opened",
3378
- "truncated"
3379
- ],
3380
- "description": "Required with opened only for an applied create, copied from CreatedFileObject.creation at acquisition. Never inferred by a later stat. A lost receipt after canonical truncation leaves unknown effects; no rollback or blind create replay."
3381
- }
3382
- },
3383
- "required": [
3384
- "type",
3385
- "callbackId",
3386
- "operationId",
3387
- "state"
3388
- ],
3389
- "additionalProperties": false
3390
- },
3391
- "GenericJobRequest": {
3392
- "type": "object",
3393
- "properties": {
3394
- "buildDigest": {
3395
- "type": "string",
3396
- "pattern": "^[a-f0-9]{64}$"
3397
- },
3398
- "toolId": {
3399
- "type": "string",
3400
- "minLength": 1,
3401
- "maxLength": 256
3402
- },
3403
- "args": {
3404
- "type": "array",
3405
- "items": {
3406
- "type": "array",
3407
- "items": {
3408
- "type": "integer",
3409
- "minimum": 0,
3410
- "maximum": 255
3411
- }
3412
- }
3413
- },
3414
- "namespaceId": {
3415
- "type": "string",
3416
- "minLength": 1,
3417
- "maxLength": 256
3418
- },
3419
- "materializationRevision": {
3420
- "anyOf": [
3421
- {
3422
- "type": "string",
3423
- "pattern": "^(0|[1-9][0-9]{0,19})$",
3424
- "description": "Canonical unsigned decimal <= 18446744073709551615, checked semantically."
3425
- },
3426
- {
3427
- "type": "null"
3428
- }
3429
- ]
3430
- },
3431
- "cwd": {
3432
- "type": "string"
3433
- },
3434
- "env": {
3435
- "type": "object",
3436
- "additionalProperties": {
3437
- "type": "string"
3438
- }
3439
- },
3440
- "stdin": {
3441
- "$ref": "#/$defs/Input"
3442
- },
3443
- "descriptors": {
3444
- "type": "array",
3445
- "items": {
3446
- "$ref": "#/$defs/Descriptor"
3447
- }
3448
- },
3449
- "grants": {
3450
- "type": "array",
3451
- "items": {
3452
- "$ref": "#/$defs/Grant"
3453
- }
3454
- },
3455
- "freshness": {
3456
- "enum": [
3457
- "live",
3458
- "snapshot"
3459
- ]
3460
- },
3461
- "limits": {
3462
- "$ref": "#/$defs/Limits"
3463
- },
3464
- "frontendContract": {
3465
- "$ref": "#/$defs/FrontendContract"
3466
- },
3467
- "requiredFeatures": {
3468
- "type": "array",
3469
- "uniqueItems": true,
3470
- "items": {
3471
- "type": "string",
3472
- "minLength": 1
3473
- },
3474
- "description": "Required negotiated profiles, including canonical-object-v1 for byte namespace callbacks. Refuse before job effects if unsupported."
3475
- },
3476
- "materializationBinding": {
3477
- "$ref": "#/$defs/MaterializationBinding"
3478
- }
3479
- },
3480
- "required": [
3481
- "buildDigest",
3482
- "toolId",
3483
- "args",
3484
- "namespaceId",
3485
- "materializationRevision",
3486
- "cwd",
3487
- "env",
3488
- "stdin",
3489
- "descriptors",
3490
- "grants",
3491
- "freshness",
3492
- "limits"
3493
- ],
3494
- "additionalProperties": false,
3495
- "description": "Generic streaming job admission. Injected media tool definitions additionally require a matching frontendContract. Apply semantic argv, cwd/env, grant, bounds and freshness admission from contracts.md.",
3496
- "allOf": [
3497
- {
3498
- "if": {
3499
- "properties": {
3500
- "materializationRevision": {
3501
- "type": "string"
3502
- }
3503
- },
3504
- "required": [
3505
- "materializationRevision"
3506
- ]
3507
- },
3508
- "then": {
3509
- "required": [
3510
- "materializationBinding"
3511
- ]
3512
- },
3513
- "else": {
3514
- "not": {
3515
- "required": [
3516
- "materializationBinding"
3517
- ]
3518
- }
3519
- }
3520
- }
3521
- ]
3522
- },
3523
- "MaterializationBinding": {
3524
- "type": "object",
3525
- "properties": {
3526
- "operationId": {
3527
- "$ref": "#/$defs/Id"
3528
- },
3529
- "root": {
3530
- "type": "string",
3531
- "description": "Absolute canonical logical materialization root."
3532
- }
3533
- },
3534
- "required": [
3535
- "operationId",
3536
- "root"
3537
- ],
3538
- "additionalProperties": false,
3539
- "description": "Identifies the complete materialization operation in the job namespace at materializationRevision. Server atomically reserves that root/revision through namespace installation; this record is not authority or a content snapshot."
3540
- },
3541
- "DependencyJobRequest": {
3542
- "type": "object",
3543
- "properties": {
3544
- "buildDigest": {
3545
- "type": "string",
3546
- "pattern": "^[a-f0-9]{64}$"
3547
- },
3548
- "toolId": {
3549
- "type": "string",
3550
- "minLength": 1,
3551
- "maxLength": 256
3552
- },
3553
- "args": {
3554
- "type": "array",
3555
- "items": {
3556
- "type": "array",
3557
- "items": {
3558
- "type": "integer",
3559
- "minimum": 0,
3560
- "maximum": 255
3561
- }
3562
- }
3563
- },
3564
- "namespaceId": {
3565
- "type": "string",
3566
- "minLength": 1,
3567
- "maxLength": 256
3568
- },
3569
- "materializationRevision": {
3570
- "$ref": "#/$defs/Id"
3571
- },
3572
- "cwd": {
3573
- "type": "string"
3574
- },
3575
- "env": {
3576
- "type": "object",
3577
- "additionalProperties": {
3578
- "type": "string"
3579
- }
3580
- },
3581
- "stdin": {
3582
- "$ref": "#/$defs/Input"
3583
- },
3584
- "descriptors": {
3585
- "type": "array",
3586
- "items": {
3587
- "$ref": "#/$defs/Descriptor"
3588
- }
3589
- },
3590
- "grants": {
3591
- "type": "array",
3592
- "items": {
3593
- "$ref": "#/$defs/Grant"
3594
- }
3595
- },
3596
- "freshness": {
3597
- "enum": [
3598
- "live",
3599
- "snapshot"
3600
- ]
3601
- },
3602
- "limits": {
3603
- "$ref": "#/$defs/Limits"
3604
- },
3605
- "frontendContract": {
3606
- "$ref": "#/$defs/FrontendContract"
3607
- },
3608
- "requiredFeatures": {
3609
- "type": "array",
3610
- "uniqueItems": true,
3611
- "items": {
3612
- "type": "string",
3613
- "minLength": 1
3614
- },
3615
- "description": "Required negotiated profiles, including canonical-object-v1 for byte namespace callbacks. Refuse before job effects if unsupported."
3616
- },
3617
- "materializationBinding": {
3618
- "$ref": "#/$defs/MaterializationBinding"
3619
- },
3620
- "dependencyBinding": {
3621
- "$ref": "#/$defs/DependencyBinding"
3622
- }
3623
- },
3624
- "required": [
3625
- "buildDigest",
3626
- "toolId",
3627
- "args",
3628
- "namespaceId",
3629
- "materializationRevision",
3630
- "cwd",
3631
- "env",
3632
- "stdin",
3633
- "descriptors",
3634
- "grants",
3635
- "freshness",
3636
- "limits",
3637
- "dependencyBinding",
3638
- "materializationBinding"
3639
- ],
3640
- "additionalProperties": false,
3641
- "description": "Review-only dependency-manifest-v1 admission using generic jobs and binary streams; semantic binding equality, authority and readiness checks remain mandatory.",
3642
- "allOf": [
3643
- {
3644
- "if": {
3645
- "properties": {
3646
- "materializationRevision": {
3647
- "type": "string"
3648
- }
3649
- },
3650
- "required": [
3651
- "materializationRevision"
3652
- ]
3653
- },
3654
- "then": {
3655
- "required": [
3656
- "materializationBinding"
3657
- ]
3658
- },
3659
- "else": {
3660
- "not": {
3661
- "required": [
3662
- "materializationBinding"
3663
- ]
3664
- }
3665
- }
3666
- }
3667
- ]
3668
- },
3669
- "DependencyProfileId": {
3670
- "type": "string",
3671
- "minLength": 1,
3672
- "maxLength": 256
3673
- },
3674
- "NullableId": {
3675
- "anyOf": [
3676
- {
3677
- "$ref": "#/$defs/DependencyProfileId"
3678
- },
3679
- {
3680
- "type": "null"
3681
- }
3682
- ]
3683
- },
3684
- "Path": {
3685
- "type": "array",
3686
- "minItems": 1,
3687
- "items": {
3688
- "type": "integer",
3689
- "minimum": 1,
3690
- "maximum": 255
3691
- },
3692
- "description": "Owned nonempty NUL-free octets; absolute paths start with slash. Canonical resolution and negotiated aggregate limits are mandatory."
3693
- },
3694
- "AbsolutePath": {
3695
- "allOf": [
3696
- {
3697
- "$ref": "#/$defs/Path"
3698
- }
3699
- ],
3700
- "prefixItems": [
3701
- {
3702
- "const": 47
3703
- }
3704
- ],
3705
- "type": "array"
3706
- },
3707
- "Component": {
3708
- "allOf": [
3709
- {
3710
- "$ref": "#/$defs/Path"
3711
- }
3712
- ],
3713
- "type": "array",
3714
- "items": {
3715
- "not": {
3716
- "const": 47
3717
- }
3718
- },
3719
- "not": {
3720
- "enum": [
3721
- [
3722
- 46
3723
- ],
3724
- [
3725
- 46,
3726
- 46
3727
- ]
3728
- ]
3729
- }
3730
- },
3731
- "EntryPath": {
3732
- "type": "array",
3733
- "minItems": 1,
3734
- "items": {
3735
- "$ref": "#/$defs/Component"
3736
- }
3737
- },
3738
- "FileSize": {
3739
- "type": "string",
3740
- "minLength": 1,
3741
- "maxLength": 19,
3742
- "description": "Semantic parser requires canonical unsigned decimal 0 through 9223372036854775807. Lexical shape alone is insufficient."
3743
- },
3744
- "DependencyProfileTimestamp": {
3745
- "type": "string",
3746
- "minLength": 1,
3747
- "maxLength": 20,
3748
- "description": "Semantic parser requires canonical signed decimal nanoseconds in signed 64-bit range; reject leading zeros, negative zero and overflow."
3749
- },
3750
- "DependencyProfileDigest": {
3751
- "type": "string",
3752
- "minLength": 64,
3753
- "maxLength": 64,
3754
- "description": "Semantic parser admits exactly 64 lowercase hexadecimal SHA-256 digits."
3755
- },
3756
- "Source": {
3757
- "type": "object",
3758
- "additionalProperties": false,
3759
- "required": [
3760
- "authorityId",
3761
- "path",
3762
- "freshness",
3763
- "observedVersion",
3764
- "retainedIdentity"
3765
- ],
3766
- "properties": {
3767
- "authorityId": {
3768
- "$ref": "#/$defs/DependencyProfileId"
3769
- },
3770
- "path": {
3771
- "$ref": "#/$defs/AbsolutePath"
3772
- },
3773
- "freshness": {
3774
- "enum": [
3775
- "immutable",
3776
- "revalidate-on-open",
3777
- "live"
3778
- ]
3779
- },
3780
- "observedVersion": {
3781
- "$ref": "#/$defs/NullableId"
3782
- },
3783
- "retainedIdentity": {
3784
- "$ref": "#/$defs/NullableId"
3785
- },
3786
- "snapshotId": {
3787
- "$ref": "#/$defs/DependencyProfileId"
3788
- },
3789
- "callbackGrantId": {
3790
- "$ref": "#/$defs/DependencyProfileId"
3791
- }
3792
- },
3793
- "allOf": [
3794
- {
3795
- "if": {
3796
- "properties": {
3797
- "freshness": {
3798
- "const": "immutable"
3799
- }
3800
- },
3801
- "required": [
3802
- "freshness"
3803
- ]
3804
- },
3805
- "then": {
3806
- "required": [
3807
- "snapshotId"
3808
- ]
3809
- },
3810
- "else": {
3811
- "required": [
3812
- "callbackGrantId"
3813
- ]
3814
- }
3815
- }
3816
- ]
3817
- },
3818
- "Metadata": {
3819
- "type": "object",
3820
- "additionalProperties": false,
3821
- "properties": {
3822
- "mode": {
3823
- "type": "integer",
3824
- "minimum": 0,
3825
- "maximum": 4095
3826
- },
3827
- "atimeNs": {
3828
- "$ref": "#/$defs/DependencyProfileTimestamp"
3829
- },
3830
- "mtimeNs": {
3831
- "$ref": "#/$defs/DependencyProfileTimestamp"
3832
- }
3833
- }
3834
- },
3835
- "DependencyProfileBlob": {
3836
- "type": "object",
3837
- "additionalProperties": false,
3838
- "required": [
3839
- "blobId",
3840
- "size",
3841
- "sha256"
3842
- ],
3843
- "properties": {
3844
- "blobId": {
3845
- "$ref": "#/$defs/DependencyProfileId"
3846
- },
3847
- "size": {
3848
- "$ref": "#/$defs/FileSize"
3849
- },
3850
- "sha256": {
3851
- "$ref": "#/$defs/DependencyProfileDigest"
3852
- }
3853
- }
3854
- },
3855
- "DependencyProfileEntry": {
3856
- "type": "object",
3857
- "required": [
3858
- "kind",
3859
- "path",
3860
- "source"
3861
- ],
3862
- "properties": {
3863
- "kind": {
3864
- "enum": [
3865
- "directory",
3866
- "file",
3867
- "symlink",
3868
- "hardlink",
3869
- "output-intent"
3870
- ]
3871
- },
3872
- "path": {
3873
- "$ref": "#/$defs/EntryPath"
3874
- },
3875
- "source": {
3876
- "$ref": "#/$defs/Source"
3877
- },
3878
- "metadata": {
3879
- "$ref": "#/$defs/Metadata"
3880
- }
3881
- },
3882
- "oneOf": [
3883
- {
3884
- "properties": {
3885
- "kind": {
3886
- "const": "directory"
3887
- }
3888
- }
3889
- },
3890
- {
3891
- "required": [
3892
- "blob"
3893
- ],
3894
- "properties": {
3895
- "kind": {
3896
- "const": "file"
3897
- },
3898
- "blob": {
3899
- "$ref": "#/$defs/DependencyProfileBlob"
3900
- },
3901
- "identityRef": {
3902
- "$ref": "#/$defs/DependencyProfileId"
3903
- }
3904
- }
3905
- },
3906
- {
3907
- "required": [
3908
- "target"
3909
- ],
3910
- "properties": {
3911
- "kind": {
3912
- "const": "symlink"
3913
- },
3914
- "target": {
3915
- "$ref": "#/$defs/Path"
3916
- }
3917
- }
3918
- },
3919
- {
3920
- "required": [
3921
- "identityRef"
3922
- ],
3923
- "properties": {
3924
- "kind": {
3925
- "const": "hardlink"
3926
- },
3927
- "identityRef": {
3928
- "$ref": "#/$defs/DependencyProfileId"
3929
- }
3930
- }
3931
- },
3932
- {
3933
- "required": [
3934
- "operations"
3935
- ],
3936
- "properties": {
3937
- "kind": {
3938
- "const": "output-intent"
3939
- },
3940
- "operations": {
3941
- "type": "array",
3942
- "minItems": 1,
3943
- "uniqueItems": true,
3944
- "items": {
3945
- "enum": [
3946
- "create",
3947
- "truncate",
3948
- "append",
3949
- "replace"
3950
- ]
3951
- }
3952
- },
3953
- "source": {
3954
- "type": "object",
3955
- "properties": {
3956
- "freshness": {
3957
- "not": {
3958
- "const": "immutable"
3959
- }
3960
- }
3961
- }
3962
- }
3963
- },
3964
- "not": {
3965
- "required": [
3966
- "metadata"
3967
- ]
3968
- }
3969
- }
3970
- ],
3971
- "unevaluatedProperties": false
3972
- },
3973
- "DependencyManifest": {
3974
- "type": "object",
3975
- "additionalProperties": false,
3976
- "required": [
3977
- "version",
3978
- "sessionId",
3979
- "epoch",
3980
- "namespaceId",
3981
- "revision",
3982
- "logicalRoot",
3983
- "cwd",
3984
- "sourceAuthorityId",
3985
- "entries"
3986
- ],
3987
- "properties": {
3988
- "version": {
3989
- "const": 1
3990
- },
3991
- "sessionId": {
3992
- "$ref": "#/$defs/DependencyProfileId"
3993
- },
3994
- "epoch": {
3995
- "$ref": "#/$defs/DependencyProfileId"
3996
- },
3997
- "namespaceId": {
3998
- "$ref": "#/$defs/DependencyProfileId"
3999
- },
4000
- "revision": {
4001
- "$ref": "#/$defs/DependencyProfileId"
4002
- },
4003
- "logicalRoot": {
4004
- "$ref": "#/$defs/AbsolutePath"
4005
- },
4006
- "cwd": {
4007
- "$ref": "#/$defs/AbsolutePath"
4008
- },
4009
- "sourceAuthorityId": {
4010
- "$ref": "#/$defs/DependencyProfileId"
4011
- },
4012
- "entries": {
4013
- "type": "array",
4014
- "items": {
4015
- "$ref": "#/$defs/DependencyProfileEntry"
4016
- }
4017
- }
4018
- }
4019
- },
4020
- "StoredManifest": {
4021
- "type": "object",
4022
- "additionalProperties": false,
4023
- "required": [
4024
- "manifestId",
4025
- "revision",
4026
- "sha256"
4027
- ],
4028
- "properties": {
4029
- "manifestId": {
4030
- "$ref": "#/$defs/DependencyProfileId"
4031
- },
4032
- "revision": {
4033
- "$ref": "#/$defs/DependencyProfileId"
4034
- },
4035
- "sha256": {
4036
- "$ref": "#/$defs/DependencyProfileDigest"
4037
- }
4038
- }
4039
- },
4040
- "DependencyMaterializeRequest": {
4041
- "type": "object",
4042
- "additionalProperties": false,
4043
- "required": [
4044
- "sessionId",
4045
- "epoch",
4046
- "manifestId",
4047
- "manifestRevision",
4048
- "bindingId",
4049
- "expectedDirectoryRevision",
4050
- "operationKey"
4051
- ],
4052
- "properties": {
4053
- "sessionId": {
4054
- "$ref": "#/$defs/DependencyProfileId"
4055
- },
4056
- "epoch": {
4057
- "$ref": "#/$defs/DependencyProfileId"
4058
- },
4059
- "manifestId": {
4060
- "$ref": "#/$defs/DependencyProfileId"
4061
- },
4062
- "manifestRevision": {
4063
- "$ref": "#/$defs/DependencyProfileId"
4064
- },
4065
- "bindingId": {
4066
- "$ref": "#/$defs/DependencyProfileId"
4067
- },
4068
- "operationKey": {
4069
- "$ref": "#/$defs/DependencyProfileId"
4070
- },
4071
- "expectedDirectoryRevision": {
4072
- "$ref": "#/$defs/NullableId"
4073
- }
4074
- }
4075
- },
4076
- "DependencyMaterialization": {
4077
- "type": "object",
4078
- "additionalProperties": false,
4079
- "required": [
4080
- "operationId",
4081
- "manifestId",
4082
- "manifestRevision",
4083
- "directoryRevision",
4084
- "state",
4085
- "entries",
4086
- "callbackGrantIds"
4087
- ],
4088
- "properties": {
4089
- "operationId": {
4090
- "$ref": "#/$defs/DependencyProfileId"
4091
- },
4092
- "manifestId": {
4093
- "$ref": "#/$defs/DependencyProfileId"
4094
- },
4095
- "manifestRevision": {
4096
- "$ref": "#/$defs/DependencyProfileId"
4097
- },
4098
- "directoryRevision": {
4099
- "$ref": "#/$defs/NullableId"
4100
- },
4101
- "state": {
4102
- "enum": [
4103
- "accepted",
4104
- "applying",
4105
- "ready",
4106
- "partial",
4107
- "failed",
4108
- "unknown"
4109
- ]
4110
- },
4111
- "entries": {
4112
- "type": "array",
4113
- "items": {
4114
- "type": "object",
4115
- "additionalProperties": false,
4116
- "required": [
4117
- "index",
4118
- "state",
4119
- "revision"
4120
- ],
4121
- "properties": {
4122
- "index": {
4123
- "type": "integer",
4124
- "minimum": 0,
4125
- "maximum": 9007199254740991
4126
- },
4127
- "state": {
4128
- "enum": [
4129
- "pending",
4130
- "applied",
4131
- "failed",
4132
- "unknown"
4133
- ]
4134
- },
4135
- "revision": {
4136
- "$ref": "#/$defs/NullableId"
4137
- },
4138
- "error": {
4139
- "type": "string"
4140
- }
4141
- }
4142
- }
4143
- },
4144
- "callbackGrantIds": {
4145
- "type": "array",
4146
- "items": {
4147
- "$ref": "#/$defs/DependencyProfileId"
4148
- }
4149
- },
4150
- "error": {
4151
- "enum": [
4152
- "missing-blob",
4153
- "wrong-length",
4154
- "wrong-hash",
4155
- "stale-revision",
4156
- "collision",
4157
- "unauthorized",
4158
- "unsupported",
4159
- "unstable-capture"
4160
- ]
4161
- }
4162
- }
4163
- },
4164
- "DependencyBinding": {
4165
- "type": "object",
4166
- "additionalProperties": false,
4167
- "required": [
4168
- "bindingId",
4169
- "sourceAuthorityId",
4170
- "materializationId",
4171
- "invocation"
4172
- ],
4173
- "properties": {
4174
- "bindingId": {
4175
- "$ref": "#/$defs/DependencyProfileId"
4176
- },
4177
- "sourceAuthorityId": {
4178
- "$ref": "#/$defs/DependencyProfileId"
4179
- },
4180
- "materializationId": {
4181
- "$ref": "#/$defs/DependencyProfileId"
4182
- },
4183
- "invocation": {
4184
- "$ref": "#/$defs/ManifestInvocation"
4185
- }
4186
- }
4187
- },
4188
- "ManifestInvocation": {
4189
- "type": "object",
4190
- "additionalProperties": false,
4191
- "required": [
4192
- "manifestId",
4193
- "manifestRevision",
4194
- "directoryRevision",
4195
- "cwd",
4196
- "originalArgv"
4197
- ],
4198
- "properties": {
4199
- "manifestId": {
4200
- "$ref": "#/$defs/DependencyProfileId"
4201
- },
4202
- "manifestRevision": {
4203
- "$ref": "#/$defs/DependencyProfileId"
4204
- },
4205
- "directoryRevision": {
4206
- "$ref": "#/$defs/DependencyProfileId"
4207
- },
4208
- "cwd": {
4209
- "$ref": "#/$defs/AbsolutePath"
4210
- },
4211
- "originalArgv": {
4212
- "type": "array",
4213
- "items": {
4214
- "type": "array",
4215
- "items": {
4216
- "type": "integer",
4217
- "minimum": 1,
4218
- "maximum": 255
4219
- }
4220
- }
4221
- }
4222
- }
4223
- }
4224
- };