@unbrained/pm-cli 2026.12.1 → 2026.12.3

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 (376) hide show
  1. package/.claude-plugin/marketplace.json +1 -1
  2. package/dist/cli/commander-usage.js +4 -4
  3. package/dist/cli/expected-revisions.js +1 -1
  4. package/dist/cli/extension-command-help.js +4 -4
  5. package/dist/cli/main.js +5 -5
  6. package/dist/cli/runtime/invocation-rewrites.js +1 -1
  7. package/dist/cli/runtime-field-commands.js +2 -0
  8. package/dist/cli-bundle/bundle-manifest.json +1 -1
  9. package/dist/cli-bundle/chunks/chunk-3ESBFEQC.js +2 -0
  10. package/dist/cli-bundle/chunks/chunk-46AZP5QW.js +2 -0
  11. package/dist/cli-bundle/chunks/{chunk-OBPO6V7H.js → chunk-5WTBF4M4.js} +2 -2
  12. package/dist/cli-bundle/chunks/{chunk-3KEMIPKG.js → chunk-6TOZQ5BQ.js} +2 -2
  13. package/dist/cli-bundle/chunks/{chunk-4YYFY33T.js → chunk-AHVOEE7F.js} +2 -2
  14. package/dist/cli-bundle/chunks/chunk-CQHB3ZZH.js +2 -0
  15. package/dist/cli-bundle/chunks/chunk-DZPOS3YT.js +2 -0
  16. package/dist/cli-bundle/chunks/{chunk-OKEJ4U2I.js → chunk-E5ADC3HT.js} +65 -65
  17. package/dist/cli-bundle/chunks/{chunk-SY5C3U32.js → chunk-E5HO7HWP.js} +2 -2
  18. package/dist/cli-bundle/chunks/{chunk-3HKPVOAN.js → chunk-EDJ3KR2H.js} +2 -2
  19. package/dist/cli-bundle/chunks/{chunk-XME6GIFQ.js → chunk-FWQNWPIV.js} +2 -2
  20. package/dist/cli-bundle/chunks/{chunk-CWPR234D.js → chunk-H4U3LEOD.js} +2 -2
  21. package/dist/cli-bundle/chunks/{chunk-MZZ4ZJ5Z.js → chunk-HNMED75Y.js} +2 -2
  22. package/dist/cli-bundle/chunks/{chunk-U7RBJGLF.js → chunk-HPCMM74Q.js} +22 -22
  23. package/dist/cli-bundle/chunks/{chunk-WSEIEDEK.js → chunk-ITM4AMVM.js} +2 -2
  24. package/dist/cli-bundle/chunks/{chunk-Q6K7HWZ7.js → chunk-IW4A3I4N.js} +2 -2
  25. package/dist/cli-bundle/chunks/{chunk-4YQMQOUO.js → chunk-JJ73G5UT.js} +52 -52
  26. package/dist/cli-bundle/chunks/chunk-L4HMFRHB.js +2 -0
  27. package/dist/cli-bundle/chunks/{chunk-YSVOXCYH.js → chunk-LTQWPQ7H.js} +2 -2
  28. package/dist/cli-bundle/chunks/{chunk-Q6GLSAJY.js → chunk-MRT3ADO4.js} +2 -2
  29. package/dist/cli-bundle/chunks/{chunk-ZL6J6JYT.js → chunk-PBMLIV74.js} +2 -2
  30. package/dist/cli-bundle/chunks/{chunk-NA6D75V5.js → chunk-PJMGWJKU.js} +2 -2
  31. package/dist/cli-bundle/chunks/chunk-Q2HMDV56.js +9 -0
  32. package/dist/cli-bundle/chunks/{chunk-OXC5KBIQ.js → chunk-RRBNCL63.js} +2 -2
  33. package/dist/cli-bundle/chunks/{chunk-CBUC4X7Q.js → chunk-TDOF7BKO.js} +3 -3
  34. package/dist/cli-bundle/chunks/chunk-UXEZXGAD.js +113 -0
  35. package/dist/cli-bundle/chunks/{chunk-PCDTWL6V.js → chunk-W7HA65EO.js} +2 -2
  36. package/dist/cli-bundle/chunks/{chunk-I4SPJQQI.js → chunk-XGNUDSCG.js} +3 -3
  37. package/dist/cli-bundle/chunks/{chunk-AHV3CSQG.js → chunk-XKJ5NWQ7.js} +2 -2
  38. package/dist/cli-bundle/chunks/{field-option-collisions-BBGTV7AD.js → field-option-collisions-DXKTKW6J.js} +2 -2
  39. package/dist/cli-bundle/chunks/item-revision-DXEF4XBU.js +2 -0
  40. package/dist/cli-bundle/chunks/item-transaction-EANA7V4W.js +2 -0
  41. package/dist/cli-bundle/chunks/{linked-resource-value-list-E2DX52LY.js → linked-resource-value-list-5JRGUDUB.js} +2 -2
  42. package/dist/cli-bundle/chunks/{mutation-actor-NHN33ITJ.js → mutation-actor-S5G7FMNG.js} +2 -2
  43. package/dist/cli-bundle/chunks/{mutation-admission-PGKJTCG6.js → mutation-admission-HQVNPOXV.js} +2 -2
  44. package/dist/cli-bundle/chunks/{register-list-query-7S5QWDTI.js → register-list-query-SQF5PSJ4.js} +2 -2
  45. package/dist/cli-bundle/chunks/{register-mutation-2F6JUBST.js → register-mutation-4AQ4CEBL.js} +2 -2
  46. package/dist/cli-bundle/chunks/{register-operations-ET3UKPYK.js → register-operations-76P7OM4P.js} +2 -2
  47. package/dist/cli-bundle/chunks/{register-setup-I63QTFCU.js → register-setup-T6OEOZK3.js} +2 -2
  48. package/dist/cli-bundle/chunks/{stage-4ZCF74G4.js → stage-KUICZHSF.js} +2 -2
  49. package/dist/cli-bundle/focused-chunks/{chunk-4SCFAWAW.js → chunk-3LHBKFPD.js} +2 -2
  50. package/dist/cli-bundle/focused-chunks/chunk-4DDXERKN.js +2 -0
  51. package/dist/cli-bundle/focused-chunks/{chunk-JPZGC3W4.js → chunk-4YU75CWI.js} +2 -2
  52. package/dist/cli-bundle/focused-chunks/{chunk-TXTPAFHJ.js → chunk-5JQVPQMN.js} +2 -2
  53. package/dist/cli-bundle/focused-chunks/{chunk-KNBGHCIP.js → chunk-5Z4DXYBZ.js} +2 -2
  54. package/dist/cli-bundle/focused-chunks/chunk-7DOP5HEZ.js +44 -0
  55. package/dist/cli-bundle/focused-chunks/{chunk-TR22GU7M.js → chunk-AX4RBJ7B.js} +2 -2
  56. package/dist/cli-bundle/focused-chunks/{chunk-7A6SEZEY.js → chunk-BEHQCHQV.js} +2 -2
  57. package/dist/cli-bundle/focused-chunks/chunk-BUIF6CMZ.js +2 -0
  58. package/dist/cli-bundle/focused-chunks/chunk-E2IWEJL5.js +3 -0
  59. package/dist/cli-bundle/focused-chunks/chunk-GBU7GKNJ.js +2 -0
  60. package/dist/cli-bundle/focused-chunks/{chunk-EQCQTYKO.js → chunk-K35KTBDZ.js} +2 -2
  61. package/dist/cli-bundle/focused-chunks/{chunk-VQIC3UZB.js → chunk-KNST4PGF.js} +2 -2
  62. package/dist/cli-bundle/focused-chunks/{chunk-P2H3GTJK.js → chunk-L2XJB5PK.js} +2 -2
  63. package/dist/cli-bundle/focused-chunks/chunk-L6NOGC4N.js +100 -0
  64. package/dist/cli-bundle/focused-chunks/{chunk-VK3IE3TS.js → chunk-LWIIDPAV.js} +2 -2
  65. package/dist/cli-bundle/focused-chunks/{chunk-6IY5CVGJ.js → chunk-M54BMYG4.js} +2 -2
  66. package/dist/cli-bundle/focused-chunks/{chunk-6BKT6XQN.js → chunk-NEK7RX3N.js} +2 -2
  67. package/dist/cli-bundle/focused-chunks/{chunk-BHNBPCHP.js → chunk-OKGWIW6C.js} +2 -2
  68. package/dist/cli-bundle/focused-chunks/{chunk-2DGKVXFT.js → chunk-RFDSSOTZ.js} +2 -2
  69. package/dist/cli-bundle/focused-chunks/chunk-SSX5YBDC.js +2 -0
  70. package/dist/cli-bundle/focused-chunks/{chunk-OG57ESZK.js → chunk-TIEQVIFN.js} +2 -2
  71. package/dist/cli-bundle/focused-chunks/{chunk-SQ72CVUH.js → chunk-VEUBDQDP.js} +54 -54
  72. package/dist/cli-bundle/focused-chunks/{chunk-2UWKU2BQ.js → chunk-WDHNPNHX.js} +3 -3
  73. package/dist/cli-bundle/focused-chunks/{field-option-collisions-2C6DLUC4.js → field-option-collisions-32X7FP3H.js} +2 -2
  74. package/dist/cli-bundle/focused-chunks/item-revision-GUYSVVQD.js +2 -0
  75. package/dist/cli-bundle/focused-chunks/{item-transaction-2K4SFLJ7.js → item-transaction-MLKHZPL7.js} +2 -2
  76. package/dist/cli-bundle/focused-chunks/{mutation-actor-DJMZUIZI.js → mutation-actor-RDZJTRW2.js} +2 -2
  77. package/dist/cli-bundle/focused-chunks/{mutation-admission-SDWQVVHN.js → mutation-admission-IQB6XL75.js} +2 -2
  78. package/dist/cli-bundle/focused-chunks/{stage-QBZIK3T5.js → stage-AA7LORZ2.js} +2 -2
  79. package/dist/cli-bundle/main.js +27 -27
  80. package/dist/cli-bundle/sdk-authoring.js +1 -1
  81. package/dist/cli-bundle/sdk-contracts.js +1 -1
  82. package/dist/cli-bundle/sdk-core.js +1 -1
  83. package/dist/cli-bundle/sdk-governance.js +1 -1
  84. package/dist/cli-bundle/sdk-graph.js +1 -1
  85. package/dist/cli-bundle/sdk-merge.js +63 -63
  86. package/dist/cli-bundle/sdk-query.js +1 -1
  87. package/dist/cli-bundle/sdk-runtime.js +1 -1
  88. package/dist/cli-bundle/sdk-testing.js +1 -1
  89. package/dist/cli-bundle/sdk.js +9 -9
  90. package/dist/core/extensions/loader.d.ts +8 -0
  91. package/dist/core/extensions/loader.js +1 -1
  92. package/dist/core/item/actionability.js +1 -1
  93. package/dist/core/output/output.js +16 -16
  94. package/dist/mcp/server.js +1 -1
  95. package/dist/sdk/cli-contracts/enum-contracts.d.ts +25 -1
  96. package/dist/sdk/cli-contracts/enum-contracts.js +1 -1
  97. package/dist/sdk/cli-contracts/flag-contracts.d.ts +1 -1
  98. package/dist/sdk/cli-contracts/flag-contracts.js +1 -1
  99. package/dist/sdk/cli-contracts/runtime-contracts.js +1 -1
  100. package/dist/sdk/cli-contracts/tool-parameter-tables.js +1 -1
  101. package/dist/sdk/cli-contracts/tool-schema.js +1 -1
  102. package/dist/sdk/context-intent-contracts.js +1 -1
  103. package/dist/sdk/extension/install-sources.d.ts +2 -2
  104. package/dist/sdk/extension/install-sources.js +5 -5
  105. package/dist/sdk/lifecycle/expect-hash-admission.d.ts +27 -8
  106. package/dist/sdk/lifecycle/expect-hash-admission.js +1 -1
  107. package/dist/sdk/lifecycle/item-revision.d.ts +12 -4
  108. package/dist/sdk/lifecycle/item-revision.js +1 -1
  109. package/dist/sdk/output-projection.d.ts +1 -1
  110. package/dist/sdk/output-projection.js +1 -1
  111. package/dist/sdk/public-surface.json +1 -1
  112. package/dist/sdk/read-output/surfaces.js +1 -1
  113. package/dist/sdk/runtime/schema.js +1 -1
  114. package/dist/sdk/runtime-input.d.ts +6 -0
  115. package/dist/sdk/runtime-input.js +1 -1
  116. package/dist/sdk/runtime-primitives.d.ts +1 -1
  117. package/dist/sdk/runtime-primitives.js +1 -1
  118. package/dist/sdk/runtime.js +1 -1
  119. package/docs/COMMANDS.md +23 -5
  120. package/docs/EXTENSIONS.md +1 -1
  121. package/docs/SDK.md +15 -2
  122. package/marketplace.json +1 -1
  123. package/node_modules/tar/README.md +1792 -1147
  124. package/node_modules/tar/dist/commonjs/bytes.d.ts +21 -0
  125. package/node_modules/tar/dist/commonjs/bytes.js +83 -0
  126. package/node_modules/tar/dist/commonjs/codec.d.ts +53 -0
  127. package/node_modules/tar/dist/commonjs/codec.js +35 -0
  128. package/node_modules/tar/dist/commonjs/concat.d.ts +3 -0
  129. package/node_modules/tar/dist/commonjs/concat.js +20 -0
  130. package/node_modules/tar/dist/commonjs/create.d.ts +39 -2
  131. package/node_modules/tar/dist/commonjs/create.js +150 -64
  132. package/node_modules/tar/dist/commonjs/dealias.d.ts +79 -0
  133. package/node_modules/tar/dist/commonjs/dealias.js +50 -0
  134. package/node_modules/tar/dist/commonjs/delete.d.ts +19 -0
  135. package/node_modules/tar/dist/commonjs/delete.js +121 -0
  136. package/node_modules/tar/dist/commonjs/entries.d.ts +82 -0
  137. package/node_modules/tar/dist/commonjs/entries.js +398 -0
  138. package/node_modules/tar/dist/commonjs/extract.d.ts +14 -2
  139. package/node_modules/tar/dist/commonjs/extract.js +40 -81
  140. package/node_modules/tar/dist/commonjs/fs.d.ts +201 -0
  141. package/node_modules/tar/dist/commonjs/fs.js +5 -0
  142. package/node_modules/tar/dist/commonjs/header.d.ts +4 -4
  143. package/node_modules/tar/dist/commonjs/header.js +71 -53
  144. package/node_modules/tar/dist/commonjs/index.d.ts +25 -18
  145. package/node_modules/tar/dist/commonjs/index.js +46 -18
  146. package/node_modules/tar/dist/commonjs/index.min.js +2 -3
  147. package/node_modules/tar/dist/commonjs/large-numbers.d.ts +2 -2
  148. package/node_modules/tar/dist/commonjs/large-numbers.js +4 -4
  149. package/node_modules/tar/dist/commonjs/list.d.ts +23 -6
  150. package/node_modules/tar/dist/commonjs/list.js +99 -138
  151. package/node_modules/tar/dist/commonjs/mkdir.d.ts +16 -11
  152. package/node_modules/tar/dist/commonjs/mkdir.js +121 -159
  153. package/node_modules/tar/dist/commonjs/normalize-unicode.js +9 -0
  154. package/node_modules/tar/dist/commonjs/options.d.ts +284 -513
  155. package/node_modules/tar/dist/commonjs/options.js +20 -61
  156. package/node_modules/tar/dist/commonjs/pack.d.ts +150 -96
  157. package/node_modules/tar/dist/commonjs/pack.js +752 -445
  158. package/node_modules/tar/dist/commonjs/parser.d.ts +98 -0
  159. package/node_modules/tar/dist/commonjs/parser.js +452 -0
  160. package/node_modules/tar/dist/commonjs/path-reservations.d.ts +17 -7
  161. package/node_modules/tar/dist/commonjs/path-reservations.js +110 -140
  162. package/node_modules/tar/dist/commonjs/path.d.ts +19 -0
  163. package/node_modules/tar/dist/commonjs/path.js +90 -0
  164. package/node_modules/tar/dist/commonjs/pax.d.ts +3 -1
  165. package/node_modules/tar/dist/commonjs/pax.js +67 -36
  166. package/node_modules/tar/dist/commonjs/read-entry.d.ts +97 -11
  167. package/node_modules/tar/dist/commonjs/read-entry.js +251 -97
  168. package/node_modules/tar/dist/commonjs/read-file.d.ts +22 -0
  169. package/node_modules/tar/dist/commonjs/read-file.js +104 -0
  170. package/node_modules/tar/dist/commonjs/replace.d.ts +45 -1
  171. package/node_modules/tar/dist/commonjs/replace.js +164 -211
  172. package/node_modules/tar/dist/commonjs/server/codecs.d.ts +38 -0
  173. package/node_modules/tar/dist/commonjs/server/codecs.js +252 -0
  174. package/node_modules/tar/dist/commonjs/server/index.d.ts +115 -0
  175. package/node_modules/tar/dist/commonjs/server/index.js +166 -0
  176. package/node_modules/tar/dist/commonjs/server/index.min.js +3 -0
  177. package/node_modules/tar/dist/commonjs/strip-absolute-path.d.ts +8 -0
  178. package/node_modules/tar/dist/commonjs/strip-absolute-path.js +17 -20
  179. package/node_modules/tar/dist/commonjs/to-stream.d.ts +7 -0
  180. package/node_modules/tar/dist/commonjs/to-stream.js +22 -0
  181. package/node_modules/tar/dist/commonjs/types.d.ts +4 -3
  182. package/node_modules/tar/dist/commonjs/types.js +4 -3
  183. package/node_modules/tar/dist/commonjs/unpack.d.ts +143 -89
  184. package/node_modules/tar/dist/commonjs/unpack.js +780 -725
  185. package/node_modules/tar/dist/commonjs/update.d.ts +11 -1
  186. package/node_modules/tar/dist/commonjs/update.js +37 -28
  187. package/node_modules/tar/dist/commonjs/warn.d.ts +27 -0
  188. package/node_modules/tar/dist/commonjs/warn.js +36 -0
  189. package/node_modules/tar/dist/commonjs/win32-path.d.ts +16 -0
  190. package/node_modules/tar/dist/commonjs/win32-path.js +67 -0
  191. package/node_modules/tar/dist/commonjs/write-entry.d.ts +64 -111
  192. package/node_modules/tar/dist/commonjs/write-entry.js +108 -672
  193. package/node_modules/tar/dist/commonjs/write-flag.d.ts +18 -0
  194. package/node_modules/tar/dist/commonjs/write-flag.js +29 -0
  195. package/node_modules/tar/dist/esm/bytes.d.ts +21 -0
  196. package/node_modules/tar/dist/esm/bytes.js +72 -0
  197. package/node_modules/tar/dist/esm/codec.d.ts +53 -0
  198. package/node_modules/tar/dist/esm/codec.js +32 -0
  199. package/node_modules/tar/dist/esm/concat.d.ts +3 -0
  200. package/node_modules/tar/dist/esm/concat.js +16 -0
  201. package/node_modules/tar/dist/esm/create.d.ts +39 -2
  202. package/node_modules/tar/dist/esm/create.js +144 -61
  203. package/node_modules/tar/dist/esm/dealias.d.ts +79 -0
  204. package/node_modules/tar/dist/esm/dealias.js +46 -0
  205. package/node_modules/tar/dist/esm/delete.d.ts +19 -0
  206. package/node_modules/tar/dist/esm/delete.js +117 -0
  207. package/node_modules/tar/dist/esm/entries.d.ts +82 -0
  208. package/node_modules/tar/dist/esm/entries.js +388 -0
  209. package/node_modules/tar/dist/esm/extract.d.ts +14 -2
  210. package/node_modules/tar/dist/esm/extract.js +37 -44
  211. package/node_modules/tar/dist/esm/fs.d.ts +201 -0
  212. package/node_modules/tar/dist/esm/fs.js +4 -0
  213. package/node_modules/tar/dist/esm/header.d.ts +4 -4
  214. package/node_modules/tar/dist/esm/header.js +71 -53
  215. package/node_modules/tar/dist/esm/index.d.ts +25 -18
  216. package/node_modules/tar/dist/esm/index.js +23 -18
  217. package/node_modules/tar/dist/esm/index.min.js +2 -3
  218. package/node_modules/tar/dist/esm/large-numbers.d.ts +2 -2
  219. package/node_modules/tar/dist/esm/large-numbers.js +4 -4
  220. package/node_modules/tar/dist/esm/list.d.ts +23 -6
  221. package/node_modules/tar/dist/esm/list.js +96 -101
  222. package/node_modules/tar/dist/esm/mkdir.d.ts +16 -11
  223. package/node_modules/tar/dist/esm/mkdir.js +119 -154
  224. package/node_modules/tar/dist/esm/normalize-unicode.js +9 -0
  225. package/node_modules/tar/dist/esm/options.d.ts +284 -513
  226. package/node_modules/tar/dist/esm/options.js +17 -51
  227. package/node_modules/tar/dist/esm/pack.d.ts +150 -96
  228. package/node_modules/tar/dist/esm/pack.js +750 -441
  229. package/node_modules/tar/dist/esm/parser.d.ts +98 -0
  230. package/node_modules/tar/dist/esm/parser.js +448 -0
  231. package/node_modules/tar/dist/esm/path-reservations.d.ts +17 -7
  232. package/node_modules/tar/dist/esm/path-reservations.js +110 -140
  233. package/node_modules/tar/dist/esm/path.d.ts +19 -0
  234. package/node_modules/tar/dist/esm/path.js +80 -0
  235. package/node_modules/tar/dist/esm/pax.d.ts +3 -1
  236. package/node_modules/tar/dist/esm/pax.js +66 -35
  237. package/node_modules/tar/dist/esm/read-entry.d.ts +97 -11
  238. package/node_modules/tar/dist/esm/read-entry.js +248 -96
  239. package/node_modules/tar/dist/esm/read-file.d.ts +22 -0
  240. package/node_modules/tar/dist/esm/read-file.js +99 -0
  241. package/node_modules/tar/dist/esm/replace.d.ts +45 -1
  242. package/node_modules/tar/dist/esm/replace.js +160 -207
  243. package/node_modules/tar/dist/esm/server/codecs.d.ts +38 -0
  244. package/node_modules/tar/dist/esm/server/codecs.js +214 -0
  245. package/node_modules/tar/dist/esm/server/index.d.ts +115 -0
  246. package/node_modules/tar/dist/esm/server/index.js +102 -0
  247. package/node_modules/tar/dist/esm/server/index.min.js +3 -0
  248. package/node_modules/tar/dist/esm/strip-absolute-path.d.ts +8 -0
  249. package/node_modules/tar/dist/esm/strip-absolute-path.js +17 -20
  250. package/node_modules/tar/dist/esm/to-stream.d.ts +7 -0
  251. package/node_modules/tar/dist/esm/to-stream.js +18 -0
  252. package/node_modules/tar/dist/esm/types.d.ts +4 -3
  253. package/node_modules/tar/dist/esm/types.js +4 -3
  254. package/node_modules/tar/dist/esm/unpack.d.ts +143 -89
  255. package/node_modules/tar/dist/esm/unpack.js +776 -719
  256. package/node_modules/tar/dist/esm/update.d.ts +11 -1
  257. package/node_modules/tar/dist/esm/update.js +35 -28
  258. package/node_modules/tar/dist/esm/warn.d.ts +27 -0
  259. package/node_modules/tar/dist/esm/warn.js +31 -0
  260. package/node_modules/tar/dist/esm/win32-path.d.ts +16 -0
  261. package/node_modules/tar/dist/esm/win32-path.js +60 -0
  262. package/node_modules/tar/dist/esm/write-entry.d.ts +64 -111
  263. package/node_modules/tar/dist/esm/write-entry.js +107 -633
  264. package/node_modules/tar/dist/esm/write-flag.d.ts +18 -0
  265. package/node_modules/tar/dist/esm/write-flag.js +25 -0
  266. package/node_modules/tar/package.json +68 -224
  267. package/package.json +2 -2
  268. package/packages/pm-beads/package.json +1 -1
  269. package/packages/pm-calendar/package.json +1 -1
  270. package/packages/pm-command-kit/package.json +1 -1
  271. package/packages/pm-digital-twin/package.json +1 -1
  272. package/packages/pm-governance-audit/package.json +1 -1
  273. package/packages/pm-guide-shell/package.json +1 -1
  274. package/packages/pm-kanban/package.json +1 -1
  275. package/packages/pm-lifecycle-hooks/package.json +1 -1
  276. package/packages/pm-linked-test-adapters/package.json +1 -1
  277. package/packages/pm-search-advanced/package.json +1 -1
  278. package/packages/pm-templates/package.json +1 -1
  279. package/packages/pm-todos/package.json +1 -1
  280. package/packages/pm-vcs/package.json +1 -1
  281. package/plugins/pm-claude/.claude-plugin/plugin.json +1 -1
  282. package/plugins/pm-claude/package.json +1 -1
  283. package/plugins/pm-codex/.codex-plugin/plugin.json +1 -1
  284. package/plugins/pm-codex/package.json +1 -1
  285. package/plugins/pm-codex/plugin.json +1 -1
  286. package/runtime-dependencies.json +1 -1
  287. package/dist/cli-bundle/chunks/chunk-A5ZEMOVR.js +0 -2
  288. package/dist/cli-bundle/chunks/chunk-AJLU6KLW.js +0 -2
  289. package/dist/cli-bundle/chunks/chunk-C6WM6ZN4.js +0 -9
  290. package/dist/cli-bundle/chunks/chunk-HZZLSBIJ.js +0 -2
  291. package/dist/cli-bundle/chunks/chunk-L2ZSSMYY.js +0 -2
  292. package/dist/cli-bundle/chunks/chunk-NRQCBUYD.js +0 -113
  293. package/dist/cli-bundle/chunks/chunk-QDV7S2QS.js +0 -2
  294. package/dist/cli-bundle/chunks/item-revision-3LENTXYF.js +0 -2
  295. package/dist/cli-bundle/chunks/item-transaction-66RDV7PH.js +0 -2
  296. package/dist/cli-bundle/focused-chunks/chunk-HTDYNY4L.js +0 -2
  297. package/dist/cli-bundle/focused-chunks/chunk-N64AC5G6.js +0 -100
  298. package/dist/cli-bundle/focused-chunks/chunk-PT7RT3T6.js +0 -44
  299. package/dist/cli-bundle/focused-chunks/chunk-QZRYGYTI.js +0 -2
  300. package/dist/cli-bundle/focused-chunks/chunk-SQMOF65W.js +0 -2
  301. package/dist/cli-bundle/focused-chunks/chunk-T3ILWAEV.js +0 -2
  302. package/dist/cli-bundle/focused-chunks/chunk-W4JMV7GF.js +0 -3
  303. package/dist/cli-bundle/focused-chunks/item-revision-723XCQPS.js +0 -2
  304. package/node_modules/@isaacs/fs-minipass/LICENSE +0 -15
  305. package/node_modules/@isaacs/fs-minipass/README.md +0 -71
  306. package/node_modules/@isaacs/fs-minipass/dist/commonjs/index.d.ts +0 -118
  307. package/node_modules/@isaacs/fs-minipass/dist/commonjs/index.js +0 -430
  308. package/node_modules/@isaacs/fs-minipass/dist/commonjs/package.json +0 -3
  309. package/node_modules/@isaacs/fs-minipass/dist/esm/index.d.ts +0 -118
  310. package/node_modules/@isaacs/fs-minipass/dist/esm/index.js +0 -420
  311. package/node_modules/@isaacs/fs-minipass/dist/esm/package.json +0 -3
  312. package/node_modules/@isaacs/fs-minipass/package.json +0 -72
  313. package/node_modules/chownr/LICENSE.md +0 -63
  314. package/node_modules/chownr/README.md +0 -3
  315. package/node_modules/chownr/dist/commonjs/index.d.ts +0 -3
  316. package/node_modules/chownr/dist/commonjs/index.js +0 -93
  317. package/node_modules/chownr/dist/commonjs/package.json +0 -3
  318. package/node_modules/chownr/dist/esm/index.d.ts +0 -3
  319. package/node_modules/chownr/dist/esm/index.js +0 -85
  320. package/node_modules/chownr/dist/esm/package.json +0 -3
  321. package/node_modules/chownr/package.json +0 -69
  322. package/node_modules/minipass/LICENSE.md +0 -55
  323. package/node_modules/minipass/README.md +0 -825
  324. package/node_modules/minipass/dist/commonjs/index.d.ts +0 -545
  325. package/node_modules/minipass/dist/commonjs/index.js +0 -1038
  326. package/node_modules/minipass/dist/commonjs/package.json +0 -3
  327. package/node_modules/minipass/dist/esm/index.d.ts +0 -545
  328. package/node_modules/minipass/dist/esm/index.js +0 -1020
  329. package/node_modules/minipass/dist/esm/package.json +0 -3
  330. package/node_modules/minipass/package.json +0 -77
  331. package/node_modules/minizlib/LICENSE +0 -26
  332. package/node_modules/minizlib/README.md +0 -64
  333. package/node_modules/minizlib/dist/commonjs/constants.d.ts +0 -2
  334. package/node_modules/minizlib/dist/commonjs/constants.js +0 -123
  335. package/node_modules/minizlib/dist/commonjs/index.d.ts +0 -99
  336. package/node_modules/minizlib/dist/commonjs/index.js +0 -416
  337. package/node_modules/minizlib/dist/commonjs/package.json +0 -3
  338. package/node_modules/minizlib/dist/esm/constants.d.ts +0 -2
  339. package/node_modules/minizlib/dist/esm/constants.js +0 -117
  340. package/node_modules/minizlib/dist/esm/index.d.ts +0 -99
  341. package/node_modules/minizlib/dist/esm/index.js +0 -363
  342. package/node_modules/minizlib/dist/esm/package.json +0 -3
  343. package/node_modules/minizlib/package.json +0 -80
  344. package/node_modules/tar/dist/commonjs/get-write-flag.d.ts +0 -2
  345. package/node_modules/tar/dist/commonjs/get-write-flag.js +0 -32
  346. package/node_modules/tar/dist/commonjs/make-command.d.ts +0 -49
  347. package/node_modules/tar/dist/commonjs/make-command.js +0 -52
  348. package/node_modules/tar/dist/commonjs/normalize-windows-path.d.ts +0 -2
  349. package/node_modules/tar/dist/commonjs/normalize-windows-path.js +0 -12
  350. package/node_modules/tar/dist/commonjs/parse.d.ts +0 -92
  351. package/node_modules/tar/dist/commonjs/parse.js +0 -655
  352. package/node_modules/tar/dist/commonjs/process-umask.d.ts +0 -2
  353. package/node_modules/tar/dist/commonjs/process-umask.js +0 -7
  354. package/node_modules/tar/dist/commonjs/warn-method.d.ts +0 -24
  355. package/node_modules/tar/dist/commonjs/warn-method.js +0 -31
  356. package/node_modules/tar/dist/esm/get-write-flag.d.ts +0 -2
  357. package/node_modules/tar/dist/esm/get-write-flag.js +0 -26
  358. package/node_modules/tar/dist/esm/make-command.d.ts +0 -49
  359. package/node_modules/tar/dist/esm/make-command.js +0 -48
  360. package/node_modules/tar/dist/esm/normalize-windows-path.d.ts +0 -2
  361. package/node_modules/tar/dist/esm/normalize-windows-path.js +0 -9
  362. package/node_modules/tar/dist/esm/parse.d.ts +0 -92
  363. package/node_modules/tar/dist/esm/parse.js +0 -651
  364. package/node_modules/tar/dist/esm/process-umask.d.ts +0 -2
  365. package/node_modules/tar/dist/esm/process-umask.js +0 -3
  366. package/node_modules/tar/dist/esm/warn-method.d.ts +0 -24
  367. package/node_modules/tar/dist/esm/warn-method.js +0 -27
  368. package/node_modules/yallist/LICENSE.md +0 -63
  369. package/node_modules/yallist/README.md +0 -205
  370. package/node_modules/yallist/dist/commonjs/index.d.ts +0 -39
  371. package/node_modules/yallist/dist/commonjs/index.js +0 -384
  372. package/node_modules/yallist/dist/commonjs/package.json +0 -3
  373. package/node_modules/yallist/dist/esm/index.d.ts +0 -39
  374. package/node_modules/yallist/dist/esm/index.js +0 -379
  375. package/node_modules/yallist/dist/esm/package.json +0 -3
  376. package/node_modules/yallist/package.json +0 -68
@@ -1,3 +0,0 @@
1
- {
2
- "type": "commonjs"
3
- }
@@ -1,545 +0,0 @@
1
- import { EventEmitter } from 'node:events';
2
- import { StringDecoder } from 'node:string_decoder';
3
- /**
4
- * Same as StringDecoder, but exposing the `lastNeed` flag on the type
5
- */
6
- type SD = StringDecoder & {
7
- lastNeed: boolean;
8
- };
9
- export type { SD, Pipe, PipeProxyErrors };
10
- /**
11
- * Return true if the argument is a Minipass stream, Node stream, or something
12
- * else that Minipass can interact with.
13
- */
14
- export declare const isStream: (s: any) => s is Minipass<any, any, any> | NodeJS.ReadStream | NodeJS.WriteStream | (EventEmitter<any> & {
15
- end(): any;
16
- write(chunk: any, ...args: any[]): any;
17
- }) | (EventEmitter<any> & {
18
- pause(): any;
19
- resume(): any;
20
- pipe(...destArgs: any[]): any;
21
- }) | (NodeJS.ReadStream & {
22
- fd: number;
23
- }) | (NodeJS.WriteStream & {
24
- fd: number;
25
- });
26
- /**
27
- * Return true if the argument is a valid {@link Minipass.Readable}
28
- */
29
- export declare const isReadable: (s: any) => s is Minipass.Readable;
30
- /**
31
- * Return true if the argument is a valid {@link Minipass.Writable}
32
- */
33
- export declare const isWritable: (s: any) => s is Minipass.Readable;
34
- declare const EOF: unique symbol;
35
- declare const MAYBE_EMIT_END: unique symbol;
36
- declare const EMITTED_END: unique symbol;
37
- declare const EMITTING_END: unique symbol;
38
- declare const EMITTED_ERROR: unique symbol;
39
- declare const CLOSED: unique symbol;
40
- declare const READ: unique symbol;
41
- declare const FLUSH: unique symbol;
42
- declare const FLUSHCHUNK: unique symbol;
43
- declare const ENCODING: unique symbol;
44
- declare const DECODER: unique symbol;
45
- declare const FLOWING: unique symbol;
46
- declare const PAUSED: unique symbol;
47
- declare const RESUME: unique symbol;
48
- declare const BUFFER: unique symbol;
49
- declare const PIPES: unique symbol;
50
- declare const BUFFERLENGTH: unique symbol;
51
- declare const BUFFERPUSH: unique symbol;
52
- declare const BUFFERSHIFT: unique symbol;
53
- declare const OBJECTMODE: unique symbol;
54
- declare const DESTROYED: unique symbol;
55
- declare const ERROR: unique symbol;
56
- declare const EMITDATA: unique symbol;
57
- declare const EMITEND: unique symbol;
58
- declare const EMITEND2: unique symbol;
59
- declare const ASYNC: unique symbol;
60
- declare const ABORT: unique symbol;
61
- declare const ABORTED: unique symbol;
62
- declare const SIGNAL: unique symbol;
63
- declare const DATALISTENERS: unique symbol;
64
- declare const DISCARDED: unique symbol;
65
- /**
66
- * Options that may be passed to stream.pipe()
67
- */
68
- export interface PipeOptions {
69
- /**
70
- * end the destination stream when the source stream ends
71
- */
72
- end?: boolean;
73
- /**
74
- * proxy errors from the source stream to the destination stream
75
- */
76
- proxyErrors?: boolean;
77
- }
78
- /**
79
- * Internal class representing a pipe to a destination stream.
80
- *
81
- * @internal
82
- */
83
- declare class Pipe<T extends unknown> {
84
- src: Minipass<T>;
85
- dest: Minipass<any, T>;
86
- opts: PipeOptions;
87
- ondrain: () => any;
88
- constructor(src: Minipass<T>, dest: Minipass.Writable, opts: PipeOptions);
89
- unpipe(): void;
90
- proxyErrors(_er: any): void;
91
- end(): void;
92
- }
93
- /**
94
- * Internal class representing a pipe to a destination stream where
95
- * errors are proxied.
96
- *
97
- * @internal
98
- */
99
- declare class PipeProxyErrors<T> extends Pipe<T> {
100
- unpipe(): void;
101
- constructor(src: Minipass<T>, dest: Minipass.Writable, opts: PipeOptions);
102
- }
103
- export declare namespace Minipass {
104
- /**
105
- * Encoding used to create a stream that outputs strings rather than
106
- * Buffer objects.
107
- */
108
- export type Encoding = BufferEncoding | 'buffer' | null;
109
- /**
110
- * Any stream that Minipass can pipe into
111
- */
112
- export type Writable = Minipass<any, any, any> | NodeJS.WriteStream | (NodeJS.WriteStream & {
113
- fd: number;
114
- }) | (EventEmitter & {
115
- end(): any;
116
- write(chunk: any, ...args: any[]): any;
117
- });
118
- /**
119
- * Any stream that can be read from
120
- */
121
- export type Readable = Minipass<any, any, any> | NodeJS.ReadStream | (NodeJS.ReadStream & {
122
- fd: number;
123
- }) | (EventEmitter & {
124
- pause(): any;
125
- resume(): any;
126
- pipe(...destArgs: any[]): any;
127
- });
128
- /**
129
- * Utility type that can be iterated sync or async
130
- */
131
- export type DualIterable<T> = Iterable<T> & AsyncIterable<T>;
132
- type EventArguments = Record<string | symbol, unknown[]>;
133
- /**
134
- * The listing of events that a Minipass class can emit.
135
- * Extend this when extending the Minipass class, and pass as
136
- * the third template argument. The key is the name of the event,
137
- * and the value is the argument list.
138
- *
139
- * Any undeclared events will still be allowed, but the handler will get
140
- * arguments as `unknown[]`.
141
- */
142
- export interface Events<RType extends any = Buffer> extends EventArguments {
143
- readable: [];
144
- data: [chunk: RType];
145
- error: [er: unknown];
146
- abort: [reason: unknown];
147
- drain: [];
148
- resume: [];
149
- end: [];
150
- finish: [];
151
- prefinish: [];
152
- close: [];
153
- [DESTROYED]: [er?: unknown];
154
- [ERROR]: [er: unknown];
155
- }
156
- /**
157
- * String or buffer-like data that can be joined and sliced
158
- */
159
- export type ContiguousData = Buffer | ArrayBufferLike | ArrayBufferView | string;
160
- export type BufferOrString = Buffer | string;
161
- /**
162
- * Options passed to the Minipass constructor.
163
- */
164
- export type SharedOptions = {
165
- /**
166
- * Defer all data emission and other events until the end of the
167
- * current tick, similar to Node core streams
168
- */
169
- async?: boolean;
170
- /**
171
- * A signal which will abort the stream
172
- */
173
- signal?: AbortSignal;
174
- /**
175
- * Output string encoding. Set to `null` or `'buffer'` (or omit) to
176
- * emit Buffer objects rather than strings.
177
- *
178
- * Conflicts with `objectMode`
179
- */
180
- encoding?: BufferEncoding | null | 'buffer';
181
- /**
182
- * Output data exactly as it was written, supporting non-buffer/string
183
- * data (such as arbitrary objects, falsey values, etc.)
184
- *
185
- * Conflicts with `encoding`
186
- */
187
- objectMode?: boolean;
188
- };
189
- /**
190
- * Options for a string encoded output
191
- */
192
- export type EncodingOptions = SharedOptions & {
193
- encoding: BufferEncoding;
194
- objectMode?: false;
195
- };
196
- /**
197
- * Options for contiguous data buffer output
198
- */
199
- export type BufferOptions = SharedOptions & {
200
- encoding?: null | 'buffer';
201
- objectMode?: false;
202
- };
203
- /**
204
- * Options for objectMode arbitrary output
205
- */
206
- export type ObjectModeOptions = SharedOptions & {
207
- objectMode: true;
208
- encoding?: null;
209
- };
210
- /**
211
- * Utility type to determine allowed options based on read type
212
- */
213
- export type Options<T> = ObjectModeOptions | (T extends string ? EncodingOptions : T extends Buffer ? BufferOptions : SharedOptions);
214
- export {};
215
- }
216
- /**
217
- * Main export, the Minipass class
218
- *
219
- * `RType` is the type of data emitted, defaults to Buffer
220
- *
221
- * `WType` is the type of data to be written, if RType is buffer or string,
222
- * then any {@link Minipass.ContiguousData} is allowed.
223
- *
224
- * `Events` is the set of event handler signatures that this object
225
- * will emit, see {@link Minipass.Events}
226
- */
227
- export declare class Minipass<RType extends unknown = Buffer, WType extends unknown = RType extends Minipass.BufferOrString ? Minipass.ContiguousData : RType, Events extends Minipass.Events<RType> = Minipass.Events<RType>> extends EventEmitter implements Minipass.DualIterable<RType> {
228
- [FLOWING]: boolean;
229
- [PAUSED]: boolean;
230
- [PIPES]: Pipe<RType>[];
231
- [BUFFER]: RType[];
232
- [OBJECTMODE]: boolean;
233
- [ENCODING]: BufferEncoding | null;
234
- [ASYNC]: boolean;
235
- [DECODER]: SD | null;
236
- [EOF]: boolean;
237
- [EMITTED_END]: boolean;
238
- [EMITTING_END]: boolean;
239
- [CLOSED]: boolean;
240
- [EMITTED_ERROR]: unknown;
241
- [BUFFERLENGTH]: number;
242
- [DESTROYED]: boolean;
243
- [SIGNAL]?: AbortSignal;
244
- [ABORTED]: boolean;
245
- [DATALISTENERS]: number;
246
- [DISCARDED]: boolean;
247
- /**
248
- * true if the stream can be written
249
- */
250
- writable: boolean;
251
- /**
252
- * true if the stream can be read
253
- */
254
- readable: boolean;
255
- /**
256
- * If `RType` is Buffer, then options do not need to be provided.
257
- * Otherwise, an options object must be provided to specify either
258
- * {@link Minipass.SharedOptions.objectMode} or
259
- * {@link Minipass.SharedOptions.encoding}, as appropriate.
260
- */
261
- constructor(...args: [Minipass.ObjectModeOptions] | (RType extends Buffer ? [] | [Minipass.Options<RType>] : [Minipass.Options<RType>]));
262
- /**
263
- * The amount of data stored in the buffer waiting to be read.
264
- *
265
- * For Buffer strings, this will be the total byte length.
266
- * For string encoding streams, this will be the string character length,
267
- * according to JavaScript's `string.length` logic.
268
- * For objectMode streams, this is a count of the items waiting to be
269
- * emitted.
270
- */
271
- get bufferLength(): number;
272
- /**
273
- * The `BufferEncoding` currently in use, or `null`
274
- */
275
- get encoding(): BufferEncoding | null;
276
- /**
277
- * @deprecated - This is a read only property
278
- */
279
- set encoding(_enc: BufferEncoding | null);
280
- /**
281
- * @deprecated - Encoding may only be set at instantiation time
282
- */
283
- setEncoding(_enc: Minipass.Encoding): void;
284
- /**
285
- * True if this is an objectMode stream
286
- */
287
- get objectMode(): boolean;
288
- /**
289
- * @deprecated - This is a read-only property
290
- */
291
- set objectMode(_om: boolean);
292
- /**
293
- * true if this is an async stream
294
- */
295
- get ['async'](): boolean;
296
- /**
297
- * Set to true to make this stream async.
298
- *
299
- * Once set, it cannot be unset, as this would potentially cause incorrect
300
- * behavior. Ie, a sync stream can be made async, but an async stream
301
- * cannot be safely made sync.
302
- */
303
- set ['async'](a: boolean);
304
- [ABORT](): void;
305
- /**
306
- * True if the stream has been aborted.
307
- */
308
- get aborted(): boolean;
309
- /**
310
- * No-op setter. Stream aborted status is set via the AbortSignal provided
311
- * in the constructor options.
312
- */
313
- set aborted(_: boolean);
314
- /**
315
- * Write data into the stream
316
- *
317
- * If the chunk written is a string, and encoding is not specified, then
318
- * `utf8` will be assumed. If the stream encoding matches the encoding of
319
- * a written string, and the state of the string decoder allows it, then
320
- * the string will be passed through to either the output or the internal
321
- * buffer without any processing. Otherwise, it will be turned into a
322
- * Buffer object for processing into the desired encoding.
323
- *
324
- * If provided, `cb` function is called immediately before return for
325
- * sync streams, or on next tick for async streams, because for this
326
- * base class, a chunk is considered "processed" once it is accepted
327
- * and either emitted or buffered. That is, the callback does not indicate
328
- * that the chunk has been eventually emitted, though of course child
329
- * classes can override this function to do whatever processing is required
330
- * and call `super.write(...)` only once processing is completed.
331
- */
332
- write(chunk: WType, cb?: () => void): boolean;
333
- write(chunk: WType, encoding?: Minipass.Encoding, cb?: () => void): boolean;
334
- /**
335
- * Low-level explicit read method.
336
- *
337
- * In objectMode, the argument is ignored, and one item is returned if
338
- * available.
339
- *
340
- * `n` is the number of bytes (or in the case of encoding streams,
341
- * characters) to consume. If `n` is not provided, then the entire buffer
342
- * is returned, or `null` is returned if no data is available.
343
- *
344
- * If `n` is greater that the amount of data in the internal buffer,
345
- * then `null` is returned.
346
- */
347
- read(n?: number | null): RType | null;
348
- [READ](n: number | null, chunk: RType): RType;
349
- /**
350
- * End the stream, optionally providing a final write.
351
- *
352
- * See {@link Minipass#write} for argument descriptions
353
- */
354
- end(cb?: () => void): this;
355
- end(chunk: WType, cb?: () => void): this;
356
- end(chunk: WType, encoding?: Minipass.Encoding, cb?: () => void): this;
357
- [RESUME](): void;
358
- /**
359
- * Resume the stream if it is currently in a paused state
360
- *
361
- * If called when there are no pipe destinations or `data` event listeners,
362
- * this will place the stream in a "discarded" state, where all data will
363
- * be thrown away. The discarded state is removed if a pipe destination or
364
- * data handler is added, if pause() is called, or if any synchronous or
365
- * asynchronous iteration is started.
366
- */
367
- resume(): void;
368
- /**
369
- * Pause the stream
370
- */
371
- pause(): void;
372
- /**
373
- * true if the stream has been forcibly destroyed
374
- */
375
- get destroyed(): boolean;
376
- /**
377
- * true if the stream is currently in a flowing state, meaning that
378
- * any writes will be immediately emitted.
379
- */
380
- get flowing(): boolean;
381
- /**
382
- * true if the stream is currently in a paused state
383
- */
384
- get paused(): boolean;
385
- [BUFFERPUSH](chunk: RType): void;
386
- [BUFFERSHIFT](): RType;
387
- [FLUSH](noDrain?: boolean): void;
388
- [FLUSHCHUNK](chunk: RType): boolean;
389
- /**
390
- * Pipe all data emitted by this stream into the destination provided.
391
- *
392
- * Triggers the flow of data.
393
- */
394
- pipe<W extends Minipass.Writable>(dest: W, opts?: PipeOptions): W;
395
- /**
396
- * Fully unhook a piped destination stream.
397
- *
398
- * If the destination stream was the only consumer of this stream (ie,
399
- * there are no other piped destinations or `'data'` event listeners)
400
- * then the flow of data will stop until there is another consumer or
401
- * {@link Minipass#resume} is explicitly called.
402
- */
403
- unpipe<W extends Minipass.Writable>(dest: W): void;
404
- /**
405
- * Alias for {@link Minipass#on}
406
- */
407
- addListener<Event extends keyof Events>(ev: Event, handler: (...args: Events[Event]) => any): this;
408
- /**
409
- * Mostly identical to `EventEmitter.on`, with the following
410
- * behavior differences to prevent data loss and unnecessary hangs:
411
- *
412
- * - Adding a 'data' event handler will trigger the flow of data
413
- *
414
- * - Adding a 'readable' event handler when there is data waiting to be read
415
- * will cause 'readable' to be emitted immediately.
416
- *
417
- * - Adding an 'endish' event handler ('end', 'finish', etc.) which has
418
- * already passed will cause the event to be emitted immediately and all
419
- * handlers removed.
420
- *
421
- * - Adding an 'error' event handler after an error has been emitted will
422
- * cause the event to be re-emitted immediately with the error previously
423
- * raised.
424
- */
425
- on<Event extends keyof Events>(ev: Event, handler: (...args: Events[Event]) => any): this;
426
- /**
427
- * Alias for {@link Minipass#off}
428
- */
429
- removeListener<Event extends keyof Events>(ev: Event, handler: (...args: Events[Event]) => any): this;
430
- /**
431
- * Mostly identical to `EventEmitter.off`
432
- *
433
- * If a 'data' event handler is removed, and it was the last consumer
434
- * (ie, there are no pipe destinations or other 'data' event listeners),
435
- * then the flow of data will stop until there is another consumer or
436
- * {@link Minipass#resume} is explicitly called.
437
- */
438
- off<Event extends keyof Events>(ev: Event, handler: (...args: Events[Event]) => any): this;
439
- /**
440
- * Mostly identical to `EventEmitter.removeAllListeners`
441
- *
442
- * If all 'data' event handlers are removed, and they were the last consumer
443
- * (ie, there are no pipe destinations), then the flow of data will stop
444
- * until there is another consumer or {@link Minipass#resume} is explicitly
445
- * called.
446
- */
447
- removeAllListeners<Event extends keyof Events>(ev?: Event): this;
448
- /**
449
- * true if the 'end' event has been emitted
450
- */
451
- get emittedEnd(): boolean;
452
- [MAYBE_EMIT_END](): void;
453
- /**
454
- * Mostly identical to `EventEmitter.emit`, with the following
455
- * behavior differences to prevent data loss and unnecessary hangs:
456
- *
457
- * If the stream has been destroyed, and the event is something other
458
- * than 'close' or 'error', then `false` is returned and no handlers
459
- * are called.
460
- *
461
- * If the event is 'end', and has already been emitted, then the event
462
- * is ignored. If the stream is in a paused or non-flowing state, then
463
- * the event will be deferred until data flow resumes. If the stream is
464
- * async, then handlers will be called on the next tick rather than
465
- * immediately.
466
- *
467
- * If the event is 'close', and 'end' has not yet been emitted, then
468
- * the event will be deferred until after 'end' is emitted.
469
- *
470
- * If the event is 'error', and an AbortSignal was provided for the stream,
471
- * and there are no listeners, then the event is ignored, matching the
472
- * behavior of node core streams in the presense of an AbortSignal.
473
- *
474
- * If the event is 'finish' or 'prefinish', then all listeners will be
475
- * removed after emitting the event, to prevent double-firing.
476
- */
477
- emit<Event extends keyof Events>(ev: Event, ...args: Events[Event]): boolean;
478
- [EMITDATA](data: RType): boolean;
479
- [EMITEND](): boolean;
480
- [EMITEND2](): boolean;
481
- /**
482
- * Return a Promise that resolves to an array of all emitted data once
483
- * the stream ends.
484
- */
485
- collect(): Promise<RType[] & {
486
- dataLength: number;
487
- }>;
488
- /**
489
- * Return a Promise that resolves to the concatenation of all emitted data
490
- * once the stream ends.
491
- *
492
- * Not allowed on objectMode streams.
493
- */
494
- concat(): Promise<RType>;
495
- /**
496
- * Return a void Promise that resolves once the stream ends.
497
- */
498
- promise(): Promise<void>;
499
- /**
500
- * Asynchronous `for await of` iteration.
501
- *
502
- * This will continue emitting all chunks until the stream terminates.
503
- */
504
- [Symbol.asyncIterator](): AsyncGenerator<RType, void, void>;
505
- /**
506
- * Synchronous `for of` iteration.
507
- *
508
- * The iteration will terminate when the internal buffer runs out, even
509
- * if the stream has not yet terminated.
510
- */
511
- [Symbol.iterator](): Generator<RType, void, void>;
512
- /**
513
- * Destroy a stream, preventing it from being used for any further purpose.
514
- *
515
- * If the stream has a `close()` method, then it will be called on
516
- * destruction.
517
- *
518
- * After destruction, any attempt to write data, read data, or emit most
519
- * events will be ignored.
520
- *
521
- * If an error argument is provided, then it will be emitted in an
522
- * 'error' event.
523
- */
524
- destroy(er?: unknown): this;
525
- /**
526
- * Alias for {@link isStream}
527
- *
528
- * Former export location, maintained for backwards compatibility.
529
- *
530
- * @deprecated
531
- */
532
- static get isStream(): (s: any) => s is Minipass<any, any, any> | NodeJS.ReadStream | NodeJS.WriteStream | (EventEmitter<any> & {
533
- end(): any;
534
- write(chunk: any, ...args: any[]): any;
535
- }) | (EventEmitter<any> & {
536
- pause(): any;
537
- resume(): any;
538
- pipe(...destArgs: any[]): any;
539
- }) | (NodeJS.ReadStream & {
540
- fd: number;
541
- }) | (NodeJS.WriteStream & {
542
- fd: number;
543
- });
544
- }
545
- //# sourceMappingURL=index.d.ts.map