@unbrained/pm-cli 2026.11.30 → 2026.12.2
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.
- package/.claude-plugin/marketplace.json +1 -1
- package/dist/cli/commander-usage.js +10 -10
- package/dist/cli/error-guidance.js +5 -5
- package/dist/cli/extension-command-help.js +6 -6
- package/dist/cli/help-json-payload.js +7 -7
- package/dist/cli/main.js +5 -5
- package/dist/cli/register-list-query.js +10 -10
- package/dist/cli/register-mutation.js +3 -3
- package/dist/cli/runtime/invocation-command-path.js +2 -0
- package/dist/cli/runtime/read-output-mutation-retry.js +1 -1
- package/dist/cli-bundle/bundle-manifest.json +1 -1
- package/dist/cli-bundle/chunks/{chunk-DCWGM7CY.js → chunk-3HKPVOAN.js} +2 -2
- package/dist/cli-bundle/chunks/{chunk-Z7YL2SUM.js → chunk-3KEMIPKG.js} +2 -2
- package/dist/cli-bundle/chunks/{chunk-TX74QJ4W.js → chunk-4YYFY33T.js} +2 -2
- package/dist/cli-bundle/chunks/{chunk-47ZS6RPL.js → chunk-7NAO7I75.js} +2 -2
- package/dist/cli-bundle/chunks/{chunk-IGEFPHV7.js → chunk-7V65VACG.js} +52 -52
- package/dist/cli-bundle/chunks/chunk-A5ZEMOVR.js +2 -0
- package/dist/cli-bundle/chunks/{chunk-5PNOVDVO.js → chunk-AHV3CSQG.js} +2 -2
- package/dist/cli-bundle/chunks/{chunk-KCVSSONY.js → chunk-C6WM6ZN4.js} +3 -3
- package/dist/cli-bundle/chunks/chunk-CBUC4X7Q.js +127 -0
- package/dist/cli-bundle/chunks/{chunk-CCKM5YQM.js → chunk-G6TARHFK.js} +2 -2
- package/dist/cli-bundle/chunks/{chunk-TY55UX6M.js → chunk-GOEQXVOI.js} +2 -2
- package/dist/cli-bundle/chunks/chunk-I4SPJQQI.js +3 -0
- package/dist/cli-bundle/chunks/{chunk-Q4VZSMUL.js → chunk-L2ZSSMYY.js} +2 -2
- package/dist/cli-bundle/chunks/{chunk-NHBG5ET3.js → chunk-MZZ4ZJ5Z.js} +2 -2
- package/dist/cli-bundle/chunks/chunk-NRQCBUYD.js +113 -0
- package/dist/cli-bundle/chunks/{chunk-YVTALIN3.js → chunk-OBPO6V7H.js} +2 -2
- package/dist/cli-bundle/chunks/{chunk-KXTKLDKD.js → chunk-OXC5KBIQ.js} +2 -2
- package/dist/cli-bundle/chunks/{chunk-HXQ3OHQR.js → chunk-PCDTWL6V.js} +2 -2
- package/dist/cli-bundle/chunks/{chunk-AOTI76Q6.js → chunk-Q6K7HWZ7.js} +2 -2
- package/dist/cli-bundle/chunks/chunk-QDV7S2QS.js +2 -0
- package/dist/cli-bundle/chunks/{chunk-NZSXWIX7.js → chunk-ROTEELDL.js} +7 -7
- package/dist/cli-bundle/chunks/{chunk-WFYE34TO.js → chunk-SDXCJZKB.js} +23 -23
- package/dist/cli-bundle/chunks/{chunk-2SBTXR6C.js → chunk-SY5C3U32.js} +3 -3
- package/dist/cli-bundle/chunks/{chunk-FR7ULTM4.js → chunk-TKUG2X24.js} +2 -2
- package/dist/cli-bundle/chunks/{chunk-FECZV72T.js → chunk-UNBW2LF3.js} +2 -2
- package/dist/cli-bundle/chunks/chunk-V2S4XAX3.js +2 -0
- package/dist/cli-bundle/chunks/chunk-WSEIEDEK.js +2 -0
- package/dist/cli-bundle/chunks/{chunk-ZA5NS3PL.js → chunk-ZL6J6JYT.js} +6 -6
- package/dist/cli-bundle/chunks/{field-option-collisions-2F2Z7R7B.js → field-option-collisions-BBGTV7AD.js} +2 -2
- package/dist/cli-bundle/chunks/item-revision-3LENTXYF.js +2 -0
- package/dist/cli-bundle/chunks/item-transaction-56J5OCHA.js +2 -0
- package/dist/cli-bundle/chunks/{linked-resource-value-list-WXPPYUVQ.js → linked-resource-value-list-ZBIY4H23.js} +2 -2
- package/dist/cli-bundle/chunks/{mutation-actor-UK3QNEEB.js → mutation-actor-NHN33ITJ.js} +2 -2
- package/dist/cli-bundle/chunks/{mutation-admission-UTDYPFWP.js → mutation-admission-PGKJTCG6.js} +2 -2
- package/dist/cli-bundle/chunks/{register-list-query-DRA3CWHI.js → register-list-query-7S5QWDTI.js} +11 -11
- package/dist/cli-bundle/chunks/{register-mutation-WO74VLEQ.js → register-mutation-EK6DVIQK.js} +5 -5
- package/dist/cli-bundle/chunks/{register-operations-CRBKH7WN.js → register-operations-6MURXE4V.js} +2 -2
- package/dist/cli-bundle/chunks/{register-setup-6V6NQB5C.js → register-setup-RW26X3GJ.js} +2 -2
- package/dist/cli-bundle/chunks/{stage-DYEHGASU.js → stage-4ZCF74G4.js} +2 -2
- package/dist/cli-bundle/focused-chunks/{chunk-RQYVX2T6.js → chunk-2DGKVXFT.js} +2 -2
- package/dist/cli-bundle/focused-chunks/chunk-2UWKU2BQ.js +3 -0
- package/dist/cli-bundle/focused-chunks/{chunk-A3DORTXS.js → chunk-3COWDIPX.js} +54 -54
- package/dist/cli-bundle/focused-chunks/{chunk-UQJ4PY2Y.js → chunk-4SCFAWAW.js} +2 -2
- package/dist/cli-bundle/focused-chunks/{chunk-7G7JIXLL.js → chunk-6BKT6XQN.js} +2 -2
- package/dist/cli-bundle/focused-chunks/chunk-6IY5CVGJ.js +2 -0
- package/dist/cli-bundle/focused-chunks/chunk-7A6SEZEY.js +4 -0
- package/dist/cli-bundle/focused-chunks/{chunk-IJ3T3W4U.js → chunk-BHNBPCHP.js} +2 -2
- package/dist/cli-bundle/focused-chunks/{chunk-LWBZ7UGG.js → chunk-EQCQTYKO.js} +2 -2
- package/dist/cli-bundle/focused-chunks/{chunk-FM5WQ6ZU.js → chunk-HTDYNY4L.js} +2 -2
- package/dist/cli-bundle/focused-chunks/{chunk-TQQO42C2.js → chunk-J72TRWR5.js} +26 -26
- package/dist/cli-bundle/focused-chunks/{chunk-L357ZAES.js → chunk-JPZGC3W4.js} +5 -5
- package/dist/cli-bundle/focused-chunks/{chunk-62AMZMR4.js → chunk-KNBGHCIP.js} +3 -3
- package/dist/cli-bundle/focused-chunks/chunk-N64AC5G6.js +100 -0
- package/dist/cli-bundle/focused-chunks/{chunk-IIVDBAJM.js → chunk-OG57ESZK.js} +2 -2
- package/dist/cli-bundle/focused-chunks/{chunk-MZNV26XE.js → chunk-P2H3GTJK.js} +2 -2
- package/dist/cli-bundle/focused-chunks/chunk-QZRYGYTI.js +2 -0
- package/dist/cli-bundle/focused-chunks/chunk-SQMOF65W.js +2 -0
- package/dist/cli-bundle/focused-chunks/chunk-T3ILWAEV.js +2 -0
- package/dist/cli-bundle/focused-chunks/{chunk-SXC3NVZI.js → chunk-TR22GU7M.js} +2 -2
- package/dist/cli-bundle/focused-chunks/{chunk-M57KDG7I.js → chunk-TXTPAFHJ.js} +2 -2
- package/dist/cli-bundle/focused-chunks/chunk-VK3IE3TS.js +29 -0
- package/dist/cli-bundle/focused-chunks/{chunk-NJTKGBSK.js → chunk-VQIC3UZB.js} +2 -2
- package/dist/cli-bundle/focused-chunks/{chunk-U35K7FSE.js → chunk-W4JMV7GF.js} +2 -2
- package/dist/cli-bundle/focused-chunks/{field-option-collisions-7TG7STO7.js → field-option-collisions-2C6DLUC4.js} +2 -2
- package/dist/cli-bundle/focused-chunks/item-revision-723XCQPS.js +2 -0
- package/dist/cli-bundle/focused-chunks/{item-transaction-2IC2MLML.js → item-transaction-LQLQLZE7.js} +2 -2
- package/dist/cli-bundle/focused-chunks/{mutation-actor-LJVF2HVD.js → mutation-actor-DJMZUIZI.js} +2 -2
- package/dist/cli-bundle/focused-chunks/mutation-admission-SDWQVVHN.js +2 -0
- package/dist/cli-bundle/focused-chunks/{stage-MWR73LTZ.js → stage-QBZIK3T5.js} +2 -2
- package/dist/cli-bundle/main.js +27 -27
- package/dist/cli-bundle/sdk-authoring.js +1 -1
- package/dist/cli-bundle/sdk-contracts.js +1 -1
- package/dist/cli-bundle/sdk-core.js +1 -1
- package/dist/cli-bundle/sdk-governance.js +1 -1
- package/dist/cli-bundle/sdk-graph.js +1 -1
- package/dist/cli-bundle/sdk-merge.js +61 -61
- package/dist/cli-bundle/sdk-query.js +1 -1
- package/dist/cli-bundle/sdk-runtime.js +1 -1
- package/dist/cli-bundle/sdk-testing.js +1 -1
- package/dist/cli-bundle/sdk.js +2 -2
- package/dist/core/extensions/reserved-host-flags.js +1 -1
- package/dist/core/shared/secret-rules.d.ts +86 -12
- package/dist/core/shared/secret-rules.js +7 -5
- package/dist/sdk/cli-bootstrap.js +1 -1
- package/dist/sdk/cli-contracts/flag-contracts.d.ts +50 -0
- package/dist/sdk/cli-contracts/flag-contracts.js +1 -1
- package/dist/sdk/cli-contracts/runtime-contracts.d.ts +3 -1
- package/dist/sdk/cli-contracts/runtime-contracts.js +1 -1
- package/dist/sdk/extension/command-options.js +1 -1
- package/dist/sdk/extension/install-sources.d.ts +2 -2
- package/dist/sdk/extension/install-sources.js +5 -5
- package/dist/sdk/lifecycle/expect-hash-admission.d.ts +15 -0
- package/dist/sdk/lifecycle/expect-hash-admission.js +2 -0
- package/dist/sdk/lifecycle/item-revision.d.ts +4 -1
- package/dist/sdk/lifecycle/item-revision.js +1 -1
- package/dist/sdk/mutation-guard.js +1 -1
- package/dist/sdk/output-contracts.js +1 -1
- package/dist/sdk/output-projection.d.ts +1 -1
- package/dist/sdk/output-projection.js +1 -1
- package/dist/sdk/public-surface.json +1 -1
- package/dist/sdk/query/aggregate.js +1 -1
- package/dist/sdk/query/context.js +1 -1
- package/dist/sdk/query/list.js +1 -1
- package/dist/sdk/query/next.js +1 -1
- package/dist/sdk/query/search-contracts.js +1 -1
- package/dist/sdk/read-output/surfaces.js +1 -1
- package/dist/sdk/read-output-budget.d.ts +1 -1
- package/dist/sdk/read-output-budget.js +1 -1
- package/dist/sdk/read-output-contracts.js +1 -1
- package/dist/sdk/read-output-rows.js +1 -1
- package/docs/COMMANDS.md +37 -0
- package/docs/MUTATION_INTEGRITY.md +226 -10
- package/docs/SDK.md +16 -6
- package/docs/agent-task-token-baseline.json +1 -1
- package/marketplace.json +1 -1
- package/node_modules/tar/README.md +1792 -1147
- package/node_modules/tar/dist/commonjs/bytes.d.ts +21 -0
- package/node_modules/tar/dist/commonjs/bytes.js +83 -0
- package/node_modules/tar/dist/commonjs/codec.d.ts +53 -0
- package/node_modules/tar/dist/commonjs/codec.js +35 -0
- package/node_modules/tar/dist/commonjs/concat.d.ts +3 -0
- package/node_modules/tar/dist/commonjs/concat.js +20 -0
- package/node_modules/tar/dist/commonjs/create.d.ts +39 -2
- package/node_modules/tar/dist/commonjs/create.js +150 -64
- package/node_modules/tar/dist/commonjs/dealias.d.ts +79 -0
- package/node_modules/tar/dist/commonjs/dealias.js +50 -0
- package/node_modules/tar/dist/commonjs/delete.d.ts +19 -0
- package/node_modules/tar/dist/commonjs/delete.js +121 -0
- package/node_modules/tar/dist/commonjs/entries.d.ts +82 -0
- package/node_modules/tar/dist/commonjs/entries.js +398 -0
- package/node_modules/tar/dist/commonjs/extract.d.ts +14 -2
- package/node_modules/tar/dist/commonjs/extract.js +40 -81
- package/node_modules/tar/dist/commonjs/fs.d.ts +201 -0
- package/node_modules/tar/dist/commonjs/fs.js +5 -0
- package/node_modules/tar/dist/commonjs/header.d.ts +4 -4
- package/node_modules/tar/dist/commonjs/header.js +71 -53
- package/node_modules/tar/dist/commonjs/index.d.ts +25 -18
- package/node_modules/tar/dist/commonjs/index.js +46 -18
- package/node_modules/tar/dist/commonjs/index.min.js +2 -3
- package/node_modules/tar/dist/commonjs/large-numbers.d.ts +2 -2
- package/node_modules/tar/dist/commonjs/large-numbers.js +4 -4
- package/node_modules/tar/dist/commonjs/list.d.ts +23 -6
- package/node_modules/tar/dist/commonjs/list.js +99 -138
- package/node_modules/tar/dist/commonjs/mkdir.d.ts +16 -11
- package/node_modules/tar/dist/commonjs/mkdir.js +121 -159
- package/node_modules/tar/dist/commonjs/normalize-unicode.js +9 -0
- package/node_modules/tar/dist/commonjs/options.d.ts +284 -513
- package/node_modules/tar/dist/commonjs/options.js +20 -61
- package/node_modules/tar/dist/commonjs/pack.d.ts +150 -96
- package/node_modules/tar/dist/commonjs/pack.js +752 -445
- package/node_modules/tar/dist/commonjs/parser.d.ts +98 -0
- package/node_modules/tar/dist/commonjs/parser.js +452 -0
- package/node_modules/tar/dist/commonjs/path-reservations.d.ts +17 -7
- package/node_modules/tar/dist/commonjs/path-reservations.js +110 -140
- package/node_modules/tar/dist/commonjs/path.d.ts +19 -0
- package/node_modules/tar/dist/commonjs/path.js +90 -0
- package/node_modules/tar/dist/commonjs/pax.d.ts +3 -1
- package/node_modules/tar/dist/commonjs/pax.js +67 -36
- package/node_modules/tar/dist/commonjs/read-entry.d.ts +97 -11
- package/node_modules/tar/dist/commonjs/read-entry.js +251 -97
- package/node_modules/tar/dist/commonjs/read-file.d.ts +22 -0
- package/node_modules/tar/dist/commonjs/read-file.js +104 -0
- package/node_modules/tar/dist/commonjs/replace.d.ts +45 -1
- package/node_modules/tar/dist/commonjs/replace.js +164 -211
- package/node_modules/tar/dist/commonjs/server/codecs.d.ts +38 -0
- package/node_modules/tar/dist/commonjs/server/codecs.js +252 -0
- package/node_modules/tar/dist/commonjs/server/index.d.ts +115 -0
- package/node_modules/tar/dist/commonjs/server/index.js +166 -0
- package/node_modules/tar/dist/commonjs/server/index.min.js +3 -0
- package/node_modules/tar/dist/commonjs/strip-absolute-path.d.ts +8 -0
- package/node_modules/tar/dist/commonjs/strip-absolute-path.js +17 -20
- package/node_modules/tar/dist/commonjs/to-stream.d.ts +7 -0
- package/node_modules/tar/dist/commonjs/to-stream.js +22 -0
- package/node_modules/tar/dist/commonjs/types.d.ts +4 -3
- package/node_modules/tar/dist/commonjs/types.js +4 -3
- package/node_modules/tar/dist/commonjs/unpack.d.ts +143 -89
- package/node_modules/tar/dist/commonjs/unpack.js +780 -725
- package/node_modules/tar/dist/commonjs/update.d.ts +11 -1
- package/node_modules/tar/dist/commonjs/update.js +37 -28
- package/node_modules/tar/dist/commonjs/warn.d.ts +27 -0
- package/node_modules/tar/dist/commonjs/warn.js +36 -0
- package/node_modules/tar/dist/commonjs/win32-path.d.ts +16 -0
- package/node_modules/tar/dist/commonjs/win32-path.js +67 -0
- package/node_modules/tar/dist/commonjs/write-entry.d.ts +64 -111
- package/node_modules/tar/dist/commonjs/write-entry.js +108 -672
- package/node_modules/tar/dist/commonjs/write-flag.d.ts +18 -0
- package/node_modules/tar/dist/commonjs/write-flag.js +29 -0
- package/node_modules/tar/dist/esm/bytes.d.ts +21 -0
- package/node_modules/tar/dist/esm/bytes.js +72 -0
- package/node_modules/tar/dist/esm/codec.d.ts +53 -0
- package/node_modules/tar/dist/esm/codec.js +32 -0
- package/node_modules/tar/dist/esm/concat.d.ts +3 -0
- package/node_modules/tar/dist/esm/concat.js +16 -0
- package/node_modules/tar/dist/esm/create.d.ts +39 -2
- package/node_modules/tar/dist/esm/create.js +144 -61
- package/node_modules/tar/dist/esm/dealias.d.ts +79 -0
- package/node_modules/tar/dist/esm/dealias.js +46 -0
- package/node_modules/tar/dist/esm/delete.d.ts +19 -0
- package/node_modules/tar/dist/esm/delete.js +117 -0
- package/node_modules/tar/dist/esm/entries.d.ts +82 -0
- package/node_modules/tar/dist/esm/entries.js +388 -0
- package/node_modules/tar/dist/esm/extract.d.ts +14 -2
- package/node_modules/tar/dist/esm/extract.js +37 -44
- package/node_modules/tar/dist/esm/fs.d.ts +201 -0
- package/node_modules/tar/dist/esm/fs.js +4 -0
- package/node_modules/tar/dist/esm/header.d.ts +4 -4
- package/node_modules/tar/dist/esm/header.js +71 -53
- package/node_modules/tar/dist/esm/index.d.ts +25 -18
- package/node_modules/tar/dist/esm/index.js +23 -18
- package/node_modules/tar/dist/esm/index.min.js +2 -3
- package/node_modules/tar/dist/esm/large-numbers.d.ts +2 -2
- package/node_modules/tar/dist/esm/large-numbers.js +4 -4
- package/node_modules/tar/dist/esm/list.d.ts +23 -6
- package/node_modules/tar/dist/esm/list.js +96 -101
- package/node_modules/tar/dist/esm/mkdir.d.ts +16 -11
- package/node_modules/tar/dist/esm/mkdir.js +119 -154
- package/node_modules/tar/dist/esm/normalize-unicode.js +9 -0
- package/node_modules/tar/dist/esm/options.d.ts +284 -513
- package/node_modules/tar/dist/esm/options.js +17 -51
- package/node_modules/tar/dist/esm/pack.d.ts +150 -96
- package/node_modules/tar/dist/esm/pack.js +750 -441
- package/node_modules/tar/dist/esm/parser.d.ts +98 -0
- package/node_modules/tar/dist/esm/parser.js +448 -0
- package/node_modules/tar/dist/esm/path-reservations.d.ts +17 -7
- package/node_modules/tar/dist/esm/path-reservations.js +110 -140
- package/node_modules/tar/dist/esm/path.d.ts +19 -0
- package/node_modules/tar/dist/esm/path.js +80 -0
- package/node_modules/tar/dist/esm/pax.d.ts +3 -1
- package/node_modules/tar/dist/esm/pax.js +66 -35
- package/node_modules/tar/dist/esm/read-entry.d.ts +97 -11
- package/node_modules/tar/dist/esm/read-entry.js +248 -96
- package/node_modules/tar/dist/esm/read-file.d.ts +22 -0
- package/node_modules/tar/dist/esm/read-file.js +99 -0
- package/node_modules/tar/dist/esm/replace.d.ts +45 -1
- package/node_modules/tar/dist/esm/replace.js +160 -207
- package/node_modules/tar/dist/esm/server/codecs.d.ts +38 -0
- package/node_modules/tar/dist/esm/server/codecs.js +214 -0
- package/node_modules/tar/dist/esm/server/index.d.ts +115 -0
- package/node_modules/tar/dist/esm/server/index.js +102 -0
- package/node_modules/tar/dist/esm/server/index.min.js +3 -0
- package/node_modules/tar/dist/esm/strip-absolute-path.d.ts +8 -0
- package/node_modules/tar/dist/esm/strip-absolute-path.js +17 -20
- package/node_modules/tar/dist/esm/to-stream.d.ts +7 -0
- package/node_modules/tar/dist/esm/to-stream.js +18 -0
- package/node_modules/tar/dist/esm/types.d.ts +4 -3
- package/node_modules/tar/dist/esm/types.js +4 -3
- package/node_modules/tar/dist/esm/unpack.d.ts +143 -89
- package/node_modules/tar/dist/esm/unpack.js +776 -719
- package/node_modules/tar/dist/esm/update.d.ts +11 -1
- package/node_modules/tar/dist/esm/update.js +35 -28
- package/node_modules/tar/dist/esm/warn.d.ts +27 -0
- package/node_modules/tar/dist/esm/warn.js +31 -0
- package/node_modules/tar/dist/esm/win32-path.d.ts +16 -0
- package/node_modules/tar/dist/esm/win32-path.js +60 -0
- package/node_modules/tar/dist/esm/write-entry.d.ts +64 -111
- package/node_modules/tar/dist/esm/write-entry.js +107 -633
- package/node_modules/tar/dist/esm/write-flag.d.ts +18 -0
- package/node_modules/tar/dist/esm/write-flag.js +25 -0
- package/node_modules/tar/package.json +68 -224
- package/package.json +2 -2
- package/packages/pm-beads/package.json +1 -1
- package/packages/pm-calendar/package.json +1 -1
- package/packages/pm-command-kit/package.json +1 -1
- package/packages/pm-digital-twin/package.json +1 -1
- package/packages/pm-governance-audit/package.json +1 -1
- package/packages/pm-guide-shell/package.json +1 -1
- package/packages/pm-kanban/package.json +1 -1
- package/packages/pm-lifecycle-hooks/package.json +1 -1
- package/packages/pm-linked-test-adapters/package.json +1 -1
- package/packages/pm-search-advanced/package.json +1 -1
- package/packages/pm-templates/package.json +1 -1
- package/packages/pm-todos/package.json +1 -1
- package/packages/pm-vcs/package.json +1 -1
- package/plugins/pm-claude/.claude-plugin/plugin.json +1 -1
- package/plugins/pm-claude/package.json +1 -1
- package/plugins/pm-codex/.codex-plugin/plugin.json +1 -1
- package/plugins/pm-codex/package.json +1 -1
- package/plugins/pm-codex/plugin.json +1 -1
- package/runtime-dependencies.json +1 -1
- package/dist/cli-bundle/chunks/chunk-3TXEWHQX.js +0 -125
- package/dist/cli-bundle/chunks/chunk-JPJNJHQW.js +0 -2
- package/dist/cli-bundle/chunks/chunk-NVYDPNQP.js +0 -2
- package/dist/cli-bundle/chunks/chunk-SJWIPGZW.js +0 -113
- package/dist/cli-bundle/chunks/chunk-USBTXMKS.js +0 -2
- package/dist/cli-bundle/chunks/chunk-VCXQ6A35.js +0 -3
- package/dist/cli-bundle/chunks/chunk-YPMNXG2C.js +0 -2
- package/dist/cli-bundle/chunks/item-revision-UAF6L47R.js +0 -2
- package/dist/cli-bundle/chunks/item-transaction-RJECL53Y.js +0 -2
- package/dist/cli-bundle/focused-chunks/chunk-2UUBS4BG.js +0 -2
- package/dist/cli-bundle/focused-chunks/chunk-4ER3VMST.js +0 -2
- package/dist/cli-bundle/focused-chunks/chunk-4YBMHMBJ.js +0 -2
- package/dist/cli-bundle/focused-chunks/chunk-HXM7K6VH.js +0 -100
- package/dist/cli-bundle/focused-chunks/chunk-NGHT2LNG.js +0 -3
- package/dist/cli-bundle/focused-chunks/chunk-P55AZPFN.js +0 -2
- package/dist/cli-bundle/focused-chunks/chunk-WAP3DF4B.js +0 -27
- package/dist/cli-bundle/focused-chunks/chunk-XR745UGE.js +0 -4
- package/dist/cli-bundle/focused-chunks/item-revision-J7EUGCHR.js +0 -2
- package/dist/cli-bundle/focused-chunks/mutation-admission-SLFAUONA.js +0 -2
- package/node_modules/@isaacs/fs-minipass/LICENSE +0 -15
- package/node_modules/@isaacs/fs-minipass/README.md +0 -71
- package/node_modules/@isaacs/fs-minipass/dist/commonjs/index.d.ts +0 -118
- package/node_modules/@isaacs/fs-minipass/dist/commonjs/index.js +0 -430
- package/node_modules/@isaacs/fs-minipass/dist/commonjs/package.json +0 -3
- package/node_modules/@isaacs/fs-minipass/dist/esm/index.d.ts +0 -118
- package/node_modules/@isaacs/fs-minipass/dist/esm/index.js +0 -420
- package/node_modules/@isaacs/fs-minipass/dist/esm/package.json +0 -3
- package/node_modules/@isaacs/fs-minipass/package.json +0 -72
- package/node_modules/chownr/LICENSE.md +0 -63
- package/node_modules/chownr/README.md +0 -3
- package/node_modules/chownr/dist/commonjs/index.d.ts +0 -3
- package/node_modules/chownr/dist/commonjs/index.js +0 -93
- package/node_modules/chownr/dist/commonjs/package.json +0 -3
- package/node_modules/chownr/dist/esm/index.d.ts +0 -3
- package/node_modules/chownr/dist/esm/index.js +0 -85
- package/node_modules/chownr/dist/esm/package.json +0 -3
- package/node_modules/chownr/package.json +0 -69
- package/node_modules/minipass/LICENSE.md +0 -55
- package/node_modules/minipass/README.md +0 -825
- package/node_modules/minipass/dist/commonjs/index.d.ts +0 -545
- package/node_modules/minipass/dist/commonjs/index.js +0 -1038
- package/node_modules/minipass/dist/commonjs/package.json +0 -3
- package/node_modules/minipass/dist/esm/index.d.ts +0 -545
- package/node_modules/minipass/dist/esm/index.js +0 -1020
- package/node_modules/minipass/dist/esm/package.json +0 -3
- package/node_modules/minipass/package.json +0 -77
- package/node_modules/minizlib/LICENSE +0 -26
- package/node_modules/minizlib/README.md +0 -64
- package/node_modules/minizlib/dist/commonjs/constants.d.ts +0 -2
- package/node_modules/minizlib/dist/commonjs/constants.js +0 -123
- package/node_modules/minizlib/dist/commonjs/index.d.ts +0 -99
- package/node_modules/minizlib/dist/commonjs/index.js +0 -416
- package/node_modules/minizlib/dist/commonjs/package.json +0 -3
- package/node_modules/minizlib/dist/esm/constants.d.ts +0 -2
- package/node_modules/minizlib/dist/esm/constants.js +0 -117
- package/node_modules/minizlib/dist/esm/index.d.ts +0 -99
- package/node_modules/minizlib/dist/esm/index.js +0 -363
- package/node_modules/minizlib/dist/esm/package.json +0 -3
- package/node_modules/minizlib/package.json +0 -80
- package/node_modules/tar/dist/commonjs/get-write-flag.d.ts +0 -2
- package/node_modules/tar/dist/commonjs/get-write-flag.js +0 -32
- package/node_modules/tar/dist/commonjs/make-command.d.ts +0 -49
- package/node_modules/tar/dist/commonjs/make-command.js +0 -52
- package/node_modules/tar/dist/commonjs/normalize-windows-path.d.ts +0 -2
- package/node_modules/tar/dist/commonjs/normalize-windows-path.js +0 -12
- package/node_modules/tar/dist/commonjs/parse.d.ts +0 -92
- package/node_modules/tar/dist/commonjs/parse.js +0 -655
- package/node_modules/tar/dist/commonjs/process-umask.d.ts +0 -2
- package/node_modules/tar/dist/commonjs/process-umask.js +0 -7
- package/node_modules/tar/dist/commonjs/warn-method.d.ts +0 -24
- package/node_modules/tar/dist/commonjs/warn-method.js +0 -31
- package/node_modules/tar/dist/esm/get-write-flag.d.ts +0 -2
- package/node_modules/tar/dist/esm/get-write-flag.js +0 -26
- package/node_modules/tar/dist/esm/make-command.d.ts +0 -49
- package/node_modules/tar/dist/esm/make-command.js +0 -48
- package/node_modules/tar/dist/esm/normalize-windows-path.d.ts +0 -2
- package/node_modules/tar/dist/esm/normalize-windows-path.js +0 -9
- package/node_modules/tar/dist/esm/parse.d.ts +0 -92
- package/node_modules/tar/dist/esm/parse.js +0 -651
- package/node_modules/tar/dist/esm/process-umask.d.ts +0 -2
- package/node_modules/tar/dist/esm/process-umask.js +0 -3
- package/node_modules/tar/dist/esm/warn-method.d.ts +0 -24
- package/node_modules/tar/dist/esm/warn-method.js +0 -27
- package/node_modules/yallist/LICENSE.md +0 -63
- package/node_modules/yallist/README.md +0 -205
- package/node_modules/yallist/dist/commonjs/index.d.ts +0 -39
- package/node_modules/yallist/dist/commonjs/index.js +0 -384
- package/node_modules/yallist/dist/commonjs/package.json +0 -3
- package/node_modules/yallist/dist/esm/index.d.ts +0 -39
- package/node_modules/yallist/dist/esm/index.js +0 -379
- package/node_modules/yallist/dist/esm/package.json +0 -3
- package/node_modules/yallist/package.json +0 -68
|
@@ -1,66 +1,25 @@
|
|
|
1
1
|
"use strict";
|
|
2
|
-
// turn tar(1) style args like `C` into the more verbose things like `cwd`
|
|
3
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
4
|
-
exports.
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
['p', 'preserveOwner'],
|
|
23
|
-
['L', 'follow'],
|
|
24
|
-
['h', 'follow'],
|
|
25
|
-
['onentry', 'onReadEntry'],
|
|
26
|
-
]);
|
|
27
|
-
const isSyncFile = (o) => !!o.sync && !!o.file;
|
|
28
|
-
exports.isSyncFile = isSyncFile;
|
|
29
|
-
const isAsyncFile = (o) => !o.sync && !!o.file;
|
|
30
|
-
exports.isAsyncFile = isAsyncFile;
|
|
31
|
-
const isSyncNoFile = (o) => !!o.sync && !o.file;
|
|
32
|
-
exports.isSyncNoFile = isSyncNoFile;
|
|
33
|
-
const isAsyncNoFile = (o) => !o.sync && !o.file;
|
|
34
|
-
exports.isAsyncNoFile = isAsyncNoFile;
|
|
35
|
-
const isSync = (o) => !!o.sync;
|
|
36
|
-
exports.isSync = isSync;
|
|
37
|
-
const isAsync = (o) => !o.sync;
|
|
38
|
-
exports.isAsync = isAsync;
|
|
39
|
-
const isFile = (o) => !!o.file;
|
|
40
|
-
exports.isFile = isFile;
|
|
41
|
-
const isNoFile = (o) => !o.file;
|
|
42
|
-
exports.isNoFile = isNoFile;
|
|
43
|
-
const dealiasKey = (k) => {
|
|
44
|
-
const d = argmap.get(k);
|
|
45
|
-
if (d)
|
|
46
|
-
return d;
|
|
47
|
-
return k;
|
|
48
|
-
};
|
|
49
|
-
const dealias = (opt = {}) => {
|
|
50
|
-
if (!opt)
|
|
51
|
-
return {};
|
|
52
|
-
const result = {};
|
|
53
|
-
for (const [key, v] of Object.entries(opt)) {
|
|
54
|
-
// TS doesn't know that aliases are going to always be the same type
|
|
55
|
-
const k = dealiasKey(key);
|
|
56
|
-
result[k] = v;
|
|
57
|
-
}
|
|
58
|
-
// affordance for deprecated noChmod -> chmod
|
|
59
|
-
if (result.chmod === undefined && result.noChmod === false) {
|
|
60
|
-
result.chmod = true;
|
|
3
|
+
exports.countOption = exports.ownOptions = void 0;
|
|
4
|
+
/**
|
|
5
|
+
* A copy of the options with no prototype, so that an option that is
|
|
6
|
+
* not set cannot get a value from a changed `Object.prototype`.
|
|
7
|
+
*/
|
|
8
|
+
const ownOptions = (opt, more) => Object.assign(Object.create(null), opt, more);
|
|
9
|
+
exports.ownOptions = ownOptions;
|
|
10
|
+
/**
|
|
11
|
+
* The value of an option that is a count, such as `jobs`: the
|
|
12
|
+
* default if the option is not set or is 0, and a `TypeError` if the
|
|
13
|
+
* value is not a positive integer or `Infinity`.
|
|
14
|
+
*/
|
|
15
|
+
const countOption = (name, value, def) => {
|
|
16
|
+
if (value === undefined || value === null || value === 0)
|
|
17
|
+
return def;
|
|
18
|
+
if (value === Infinity ||
|
|
19
|
+
(Number.isInteger(value) && Number(value) > 0)) {
|
|
20
|
+
return value;
|
|
61
21
|
}
|
|
62
|
-
|
|
63
|
-
return result;
|
|
22
|
+
throw new TypeError(`${name} must be a positive integer`);
|
|
64
23
|
};
|
|
65
|
-
exports.
|
|
24
|
+
exports.countOption = countOption;
|
|
66
25
|
//# sourceMappingURL=options.js.map
|
|
@@ -1,105 +1,159 @@
|
|
|
1
|
-
import {
|
|
2
|
-
import {
|
|
1
|
+
import type { EntryTypeName } from './types.js';
|
|
2
|
+
import { type Codec } from './codec.js';
|
|
3
|
+
import type { CreateFileHandle, CreateFS, CreateFSSync, CreateStats, FileId } from './fs.js';
|
|
4
|
+
import { type PackOptions, type PackOptionsBase, type PackOptionsSync } from './options.js';
|
|
5
|
+
import type { ReadEntry, ReadEntrySync } from './read-entry.js';
|
|
6
|
+
import { WriteEntry, type EncodeOptions } from './write-entry.js';
|
|
7
|
+
/** A directory above a path, when a pack follows symbolic links. */
|
|
8
|
+
export type Ancestor = {
|
|
9
|
+
key: string;
|
|
10
|
+
up?: Ancestor;
|
|
11
|
+
};
|
|
12
|
+
/** What `Pack` reads for a path before it writes the entry. */
|
|
13
|
+
export type PackLoad = {
|
|
14
|
+
stat: CreateStats;
|
|
15
|
+
/** The identity of the object: the stat, or exact `dev` and `ino`. */
|
|
16
|
+
id: FileId;
|
|
17
|
+
type: EntryTypeName;
|
|
18
|
+
/** The target of a symbolic link. */
|
|
19
|
+
linkpath?: string;
|
|
20
|
+
/** The names in a directory. */
|
|
21
|
+
names?: string[];
|
|
22
|
+
/** A file of `maxReadSize` bytes or less, after 512 bytes of zeros. */
|
|
23
|
+
buf?: Uint8Array;
|
|
24
|
+
/** A larger file. */
|
|
25
|
+
handle?: CreateFileHandle;
|
|
26
|
+
/** The path is a different object now. The pack skips it. */
|
|
27
|
+
changed?: boolean;
|
|
28
|
+
};
|
|
29
|
+
/** A path in the queue of a pack. */
|
|
3
30
|
export declare class PackJob {
|
|
4
31
|
path: string;
|
|
5
32
|
absolute: string;
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
piped: boolean;
|
|
33
|
+
/** The directories above it, when the pack follows symbolic links. */
|
|
34
|
+
up?: Ancestor;
|
|
35
|
+
/** The target, when the pack writes the file as a hard link. */
|
|
36
|
+
linkpath?: string;
|
|
37
|
+
/** Set when `Pack` starts to read the path. */
|
|
38
|
+
ready?: Promise<PackLoad | undefined>;
|
|
13
39
|
constructor(path: string, absolute: string);
|
|
14
40
|
}
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
|
|
23
|
-
|
|
24
|
-
|
|
25
|
-
declare
|
|
26
|
-
|
|
27
|
-
|
|
28
|
-
|
|
29
|
-
|
|
30
|
-
|
|
31
|
-
|
|
32
|
-
|
|
33
|
-
|
|
34
|
-
|
|
35
|
-
|
|
36
|
-
|
|
37
|
-
|
|
38
|
-
|
|
39
|
-
|
|
40
|
-
|
|
41
|
-
|
|
42
|
-
|
|
43
|
-
|
|
44
|
-
|
|
45
|
-
|
|
46
|
-
cwd
|
|
47
|
-
|
|
48
|
-
|
|
49
|
-
|
|
50
|
-
|
|
51
|
-
|
|
52
|
-
|
|
53
|
-
|
|
54
|
-
|
|
55
|
-
|
|
56
|
-
|
|
57
|
-
|
|
58
|
-
|
|
59
|
-
|
|
60
|
-
|
|
61
|
-
|
|
62
|
-
|
|
41
|
+
/** One item of the queue of a pack, and the item after it. */
|
|
42
|
+
export type QueueNode<T> = {
|
|
43
|
+
item: T;
|
|
44
|
+
next?: QueueNode<T>;
|
|
45
|
+
};
|
|
46
|
+
/**
|
|
47
|
+
* The parts of `Pack` and `PackSync` that are the same: the options,
|
|
48
|
+
* the queue, and the rules that make an entry from a path or from an
|
|
49
|
+
* entry of another archive.
|
|
50
|
+
*/
|
|
51
|
+
export declare abstract class PackBase<FS, E extends ReadEntry | ReadEntrySync, S extends object> {
|
|
52
|
+
#private;
|
|
53
|
+
opt: PackOptionsBase<E>;
|
|
54
|
+
fs?: FS;
|
|
55
|
+
/** The normalized form of `opt.cwd`. */
|
|
56
|
+
cwd?: string;
|
|
57
|
+
win32: boolean;
|
|
58
|
+
maxReadSize: number;
|
|
59
|
+
/** The options of `WriteEntry.encode`. */
|
|
60
|
+
header: EncodeOptions;
|
|
61
|
+
/** The compression of the output. */
|
|
62
|
+
codec?: Codec;
|
|
63
|
+
codecOptions?: Record<string, unknown>;
|
|
64
|
+
/** True after `end()`. */
|
|
65
|
+
ended: boolean;
|
|
66
|
+
protected head?: QueueNode<PackJob | WriteEntry | E | S>;
|
|
67
|
+
protected tail?: QueueNode<PackJob | WriteEntry | E | S>;
|
|
68
|
+
protected wake?: () => void;
|
|
69
|
+
constructor(opt: PackOptionsBase<E> & {
|
|
70
|
+
fs?: FS;
|
|
71
|
+
}, compress: 'compress' | 'compressSync');
|
|
72
|
+
/** The absolute form of a path that is relative to `cwd`. */
|
|
73
|
+
resolve(path: string): string;
|
|
74
|
+
/**
|
|
75
|
+
* Put a path, an entry, or a source of entries at the end of the
|
|
76
|
+
* queue. A directory is added with all that is in it.
|
|
77
|
+
*/
|
|
78
|
+
add(item: string | WriteEntry | E | S): this;
|
|
79
|
+
/** Add no more. The archive ends after the last item of the queue. */
|
|
80
|
+
end(): this;
|
|
81
|
+
protected push(item: PackJob | WriteEntry | E | S): void;
|
|
82
|
+
protected shift(): void;
|
|
83
|
+
/**
|
|
84
|
+
* True if the pack must read the exact `dev` and `ino` of the
|
|
85
|
+
* object with the `bigint` option: the numbers are not exact, and a
|
|
86
|
+
* wrong match loses data. That is a file with more than one link,
|
|
87
|
+
* which a wrong match makes a hard link to a different file, and
|
|
88
|
+
* with `follow` a directory, which a wrong match skips as a
|
|
89
|
+
* directory in itself. Each other object gets no second stat.
|
|
90
|
+
*/
|
|
91
|
+
protected needsExact(stat: CreateStats): boolean;
|
|
92
|
+
/**
|
|
93
|
+
* The type of the entry to write for a path, or `undefined` to
|
|
94
|
+
* write no entry. The pack calls it one time for each path, in the
|
|
95
|
+
* order of the queue. `id` is the stat, or the exact `dev` and `ino`
|
|
96
|
+
* of the object.
|
|
97
|
+
*/
|
|
98
|
+
protected plan(job: PackJob, stat: CreateStats, id: FileId): EntryTypeName | undefined;
|
|
99
|
+
/** The jobs for the names in the directory of `job`. */
|
|
100
|
+
protected children(job: PackJob, names: string[], id: FileId): PackJob[];
|
|
101
|
+
/**
|
|
102
|
+
* Report a path that does not exist, and skip it. Each other error
|
|
103
|
+
* of the stat is thrown.
|
|
104
|
+
*/
|
|
105
|
+
protected missing(job: PackJob, er: unknown): undefined;
|
|
106
|
+
/** Report a path that is a different object after its `lstat`. */
|
|
107
|
+
protected changed(job: PackJob, type: EntryTypeName): void;
|
|
108
|
+
/** Make the entry for a path. */
|
|
109
|
+
protected pathEntry(job: PackJob, stat: CreateStats, type: EntryTypeName, linkpath: string | undefined, body: WriteEntry['body']): WriteEntry;
|
|
110
|
+
/**
|
|
111
|
+
* Make the entry to write for an entry that the caller added.
|
|
112
|
+
* `undefined` if the filter refuses an entry of another archive.
|
|
113
|
+
*/
|
|
114
|
+
protected addedEntry(item: WriteEntry | E): WriteEntry | undefined;
|
|
115
|
+
}
|
|
116
|
+
/** What `Pack.add()` takes. */
|
|
117
|
+
export type PackInput = string | WriteEntry | ReadEntry | AsyncIterable<WriteEntry | ReadEntry> | Iterable<WriteEntry | ReadEntry>;
|
|
118
|
+
/** What `PackSync.add()` takes. */
|
|
119
|
+
export type PackInputSync = string | WriteEntry | ReadEntrySync | Iterable<WriteEntry | ReadEntrySync>;
|
|
120
|
+
/**
|
|
121
|
+
* Makes an archive. `add()` paths and entries, then `end()`. The
|
|
122
|
+
* pack is the async iterator of the bytes of the archive, compressed
|
|
123
|
+
* if an option selects a codec.
|
|
124
|
+
*
|
|
125
|
+
* It reads the file system only when the consumer asks for bytes.
|
|
126
|
+
* Then it reads the first `jobs` paths of the queue at the same
|
|
127
|
+
* time, and writes them in the order of the queue. The entries of a
|
|
128
|
+
* directory go to the end of the queue.
|
|
129
|
+
*
|
|
130
|
+
* `return()` closes each file that is open.
|
|
131
|
+
*/
|
|
132
|
+
export declare class Pack extends PackBase<CreateFS, ReadEntry, AsyncIterable<WriteEntry | ReadEntry> | Iterable<WriteEntry | ReadEntry>> implements AsyncIterableIterator<Uint8Array, undefined> {
|
|
133
|
+
#private;
|
|
63
134
|
jobs: number;
|
|
64
|
-
|
|
65
|
-
|
|
66
|
-
|
|
67
|
-
|
|
68
|
-
[
|
|
69
|
-
[PROCESSING]: boolean;
|
|
70
|
-
[ENDED]: boolean;
|
|
71
|
-
constructor(opt?: TarOptions);
|
|
72
|
-
[WRITE](chunk: Buffer): boolean;
|
|
73
|
-
add(path: string | ReadEntry): this;
|
|
74
|
-
end(cb?: () => void): this;
|
|
75
|
-
end(path: string | ReadEntry, cb?: () => void): this;
|
|
76
|
-
end(path: string | ReadEntry, encoding?: Minipass.Encoding, cb?: () => void): this;
|
|
77
|
-
write(path: string | ReadEntry): boolean;
|
|
78
|
-
[ADDTARENTRY](p: ReadEntry): void;
|
|
79
|
-
[ADDFSENTRY](p: string): void;
|
|
80
|
-
[STAT](job: PackJob): void;
|
|
81
|
-
[ONSTAT](job: PackJob, stat: Stats): void;
|
|
82
|
-
[READDIR](job: PackJob): void;
|
|
83
|
-
[ONREADDIR](job: PackJob, entries: string[]): void;
|
|
84
|
-
[PROCESS](): void;
|
|
85
|
-
get [CURRENT](): PackJob | undefined;
|
|
86
|
-
[JOBDONE](job: PackJob): void;
|
|
87
|
-
[PROCESSJOB](job: PackJob): void;
|
|
88
|
-
[ENTRYOPT](job: PackJob): TarOptions;
|
|
89
|
-
[ENTRY](job: PackJob): WriteEntry | undefined;
|
|
90
|
-
[ONDRAIN](): void;
|
|
91
|
-
[PIPE](job: PackJob): void;
|
|
92
|
-
pause(): void;
|
|
93
|
-
warn(code: string, message: string | Error, data?: WarnData): void;
|
|
135
|
+
constructor(opt?: PackOptions);
|
|
136
|
+
next(): Promise<IteratorResult<Uint8Array, undefined>>;
|
|
137
|
+
/** Stop, and close each file that is open. */
|
|
138
|
+
return(): Promise<IteratorResult<Uint8Array, undefined>>;
|
|
139
|
+
[Symbol.asyncIterator](): this;
|
|
94
140
|
}
|
|
95
|
-
|
|
96
|
-
|
|
97
|
-
|
|
98
|
-
|
|
99
|
-
|
|
100
|
-
|
|
101
|
-
|
|
102
|
-
|
|
141
|
+
/**
|
|
142
|
+
* Makes an archive with no promise. `add()` paths and entries. The
|
|
143
|
+
* pack is the iterator of the bytes of the archive. It reads the
|
|
144
|
+
* file system only when the consumer asks for bytes, one path at a
|
|
145
|
+
* time. The entries of a directory come before the next item that
|
|
146
|
+
* the caller added.
|
|
147
|
+
*
|
|
148
|
+
* The pack ends when the iterator comes to the end of the queue.
|
|
149
|
+
* With compression, the iterator gives all the archive in one chunk.
|
|
150
|
+
*/
|
|
151
|
+
export declare class PackSync extends PackBase<CreateFSSync, ReadEntrySync, Iterable<WriteEntry | ReadEntrySync>> implements IterableIterator<Uint8Array, undefined> {
|
|
152
|
+
#private;
|
|
153
|
+
constructor(opt?: PackOptionsSync);
|
|
154
|
+
next(): IteratorResult<Uint8Array, undefined>;
|
|
155
|
+
/** Stop, and close the file that is open. */
|
|
156
|
+
return(): IteratorResult<Uint8Array, undefined>;
|
|
157
|
+
[Symbol.iterator](): this;
|
|
103
158
|
}
|
|
104
|
-
export {};
|
|
105
159
|
//# sourceMappingURL=pack.d.ts.map
|