@unbrained/pm-cli 2026.7.20 → 2026.7.21
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 +2 -2
- package/CHANGELOG.md +11 -0
- package/dist/cli/commander-usage.d.ts +1 -1
- package/dist/cli/commander-usage.js +5 -5
- package/dist/cli/commander-usage.js.map +1 -1
- package/dist/cli/commands/completion.js +13 -5
- package/dist/cli/commands/completion.js.map +1 -1
- package/dist/cli/commands/contracts.js +4 -3
- package/dist/cli/commands/contracts.js.map +1 -1
- package/dist/cli/error-guidance.d.ts +2 -0
- package/dist/cli/error-guidance.js +7 -2
- package/dist/cli/error-guidance.js.map +1 -1
- package/dist/cli/main.d.ts +1 -5
- package/dist/cli/main.js +12 -50
- package/dist/cli/main.js.map +1 -1
- package/dist/cli/register-list-query.js +13 -3
- package/dist/cli/register-list-query.js.map +1 -1
- package/dist/cli/register-mutation.js +45 -3
- package/dist/cli/register-mutation.js.map +1 -1
- package/dist/cli/register-structured-mutation.d.ts +14 -0
- package/dist/cli/register-structured-mutation.js +62 -0
- package/dist/cli/register-structured-mutation.js.map +1 -0
- package/dist/cli/registration-helpers.js +5 -3
- package/dist/cli/registration-helpers.js.map +1 -1
- package/dist/cli-bundle/bundle-manifest.json +280 -296
- package/dist/cli-bundle/chunks/{append-E6V54WOQ.js → append-7OVFYR3C.js} +3 -3
- package/dist/cli-bundle/chunks/{append-NNJ3EFIT.js → append-DFETHAZL.js} +3 -3
- package/dist/cli-bundle/chunks/{chunk-C3KD7U3T.js → chunk-2L6ZP22J.js} +241 -10
- package/dist/cli-bundle/chunks/chunk-2L6ZP22J.js.map +7 -0
- package/dist/cli-bundle/chunks/{chunk-KZEANWJS.js → chunk-4PUUNQDV.js} +98 -30
- package/dist/cli-bundle/chunks/chunk-4PUUNQDV.js.map +7 -0
- package/dist/cli-bundle/chunks/{chunk-RDV4ZFYS.js → chunk-4QOB7L7I.js} +7 -9
- package/dist/cli-bundle/chunks/{chunk-RDV4ZFYS.js.map → chunk-4QOB7L7I.js.map} +1 -1
- package/dist/cli-bundle/chunks/{chunk-3LPFHE3P.js → chunk-4QSQ6XDK.js} +62 -20
- package/dist/cli-bundle/chunks/chunk-4QSQ6XDK.js.map +1 -0
- package/dist/cli-bundle/chunks/{chunk-QJKL5PHS.js → chunk-7656MAUL.js} +2 -2
- package/dist/cli-bundle/chunks/{chunk-3AO5VSDR.js → chunk-7RW4JCU2.js} +328 -6
- package/dist/cli-bundle/chunks/chunk-7RW4JCU2.js.map +7 -0
- package/dist/cli-bundle/chunks/{chunk-X6K5XTTN.js → chunk-7W2UAXXT.js} +5 -5
- package/dist/cli-bundle/chunks/{chunk-SSKOQNMS.js → chunk-ABWCF646.js} +9 -11
- package/dist/cli-bundle/chunks/{chunk-SSKOQNMS.js.map → chunk-ABWCF646.js.map} +1 -1
- package/dist/cli-bundle/chunks/{chunk-WVA4DVNV.js → chunk-ADBTSVGK.js} +71 -33
- package/dist/cli-bundle/chunks/chunk-ADBTSVGK.js.map +7 -0
- package/dist/cli-bundle/chunks/{chunk-J4FBIFU6.js → chunk-AELMUANP.js} +12 -6
- package/dist/cli-bundle/chunks/chunk-AELMUANP.js.map +1 -0
- package/dist/cli-bundle/chunks/{chunk-4F6BWJ4J.js → chunk-AMJPSANK.js} +57 -36
- package/dist/cli-bundle/chunks/chunk-AMJPSANK.js.map +7 -0
- package/dist/cli-bundle/chunks/{chunk-6VIJ7UA5.js → chunk-AS4SAZ5R.js} +850 -819
- package/dist/cli-bundle/chunks/chunk-AS4SAZ5R.js.map +7 -0
- package/dist/cli-bundle/chunks/{chunk-SG74J6MV.js → chunk-ATBCUC7Y.js} +574 -5
- package/dist/cli-bundle/chunks/chunk-ATBCUC7Y.js.map +1 -0
- package/dist/cli-bundle/chunks/{chunk-5OK4UGFV.js → chunk-BXNDKOR2.js} +3 -3
- package/dist/cli-bundle/chunks/{chunk-KSPWRNVP.js → chunk-CPX275C6.js} +2 -2
- package/dist/cli-bundle/chunks/{chunk-JH2ZSLO3.js → chunk-DZRV2OPA.js} +2 -2
- package/dist/cli-bundle/chunks/{chunk-L7BH7IWU.js → chunk-E5XMKOSB.js} +2 -2
- package/dist/cli-bundle/chunks/{chunk-CQTQKUUV.js → chunk-EWJWSNRU.js} +3 -3
- package/dist/cli-bundle/chunks/{chunk-DAQ45GCS.js → chunk-F2LBF7XJ.js} +22 -15
- package/dist/cli-bundle/chunks/chunk-F2LBF7XJ.js.map +7 -0
- package/dist/cli-bundle/chunks/{chunk-6XMUURSS.js → chunk-FJIFFBJX.js} +64 -33
- package/dist/cli-bundle/chunks/chunk-FJIFFBJX.js.map +1 -0
- package/dist/cli-bundle/chunks/{chunk-E7ICD63T.js → chunk-FO6OSVEN.js} +4 -6
- package/dist/cli-bundle/chunks/{chunk-E7ICD63T.js.map → chunk-FO6OSVEN.js.map} +1 -1
- package/dist/cli-bundle/chunks/{chunk-3MCTMJXI.js → chunk-FPBMLYPI.js} +2 -2
- package/dist/cli-bundle/chunks/{chunk-UZDQXNUB.js → chunk-FSE2IKJQ.js} +46 -5
- package/dist/cli-bundle/chunks/chunk-FSE2IKJQ.js.map +1 -0
- package/dist/cli-bundle/chunks/{chunk-IX677TRO.js → chunk-GKX4NJ7U.js} +8 -10
- package/dist/cli-bundle/chunks/{chunk-IX677TRO.js.map → chunk-GKX4NJ7U.js.map} +1 -1
- package/dist/cli-bundle/chunks/{chunk-DVDBQA3B.js → chunk-GTK4DTEW.js} +5 -5
- package/dist/cli-bundle/chunks/chunk-H7EAER5L.js +974 -0
- package/dist/cli-bundle/chunks/chunk-H7EAER5L.js.map +1 -0
- package/dist/cli-bundle/chunks/{chunk-5UX66S6U.js → chunk-ICDAQ4TD.js} +316 -8
- package/dist/cli-bundle/chunks/chunk-ICDAQ4TD.js.map +1 -0
- package/dist/cli-bundle/chunks/{chunk-YQQNAKW3.js → chunk-JFD5LPMI.js} +6 -8
- package/dist/cli-bundle/chunks/{chunk-YQQNAKW3.js.map → chunk-JFD5LPMI.js.map} +1 -1
- package/dist/cli-bundle/chunks/{chunk-QANSTTC7.js → chunk-JXCW2TI2.js} +6 -8
- package/dist/cli-bundle/chunks/{chunk-QANSTTC7.js.map → chunk-JXCW2TI2.js.map} +1 -1
- package/dist/cli-bundle/chunks/{chunk-GSJSM5BJ.js → chunk-K36WV5J6.js} +76 -13
- package/dist/cli-bundle/chunks/chunk-K36WV5J6.js.map +1 -0
- package/dist/cli-bundle/chunks/{chunk-GVI6FAFG.js → chunk-K55VMLSS.js} +7 -5
- package/dist/cli-bundle/chunks/chunk-K55VMLSS.js.map +7 -0
- package/dist/cli-bundle/chunks/{chunk-GIQSU6S2.js → chunk-KBLZ3AA5.js} +2 -2
- package/dist/cli-bundle/chunks/{chunk-XJF7CDNH.js → chunk-KH44WBAT.js} +2 -2
- package/dist/cli-bundle/chunks/{chunk-GV2262OF.js → chunk-LAV26CQG.js} +2 -2
- package/dist/cli-bundle/chunks/{chunk-VDO2JMD4.js → chunk-LVC72YRD.js} +2 -2
- package/dist/cli-bundle/chunks/{chunk-3VY6MIEO.js → chunk-LZYP423P.js} +35 -6
- package/dist/cli-bundle/chunks/chunk-LZYP423P.js.map +7 -0
- package/dist/cli-bundle/chunks/{chunk-ZYPFOO3L.js → chunk-MATHDCGG.js} +3 -3
- package/dist/cli-bundle/chunks/{chunk-OV7MSW3I.js → chunk-MWQ2HC2A.js} +99 -31
- package/dist/cli-bundle/chunks/chunk-MWQ2HC2A.js.map +1 -0
- package/dist/cli-bundle/chunks/{chunk-NHT3F4WZ.js → chunk-NUF7ROFH.js} +840 -816
- package/dist/cli-bundle/chunks/chunk-NUF7ROFH.js.map +1 -0
- package/dist/cli-bundle/chunks/{chunk-AOEOYL3S.js → chunk-O4BCOJTZ.js} +3 -3
- package/dist/cli-bundle/chunks/{chunk-RJO3YAFM.js → chunk-OCUBRA6D.js} +2 -2
- package/dist/cli-bundle/chunks/{chunk-5IZJWSDB.js → chunk-OG5DVFMA.js} +22 -15
- package/dist/cli-bundle/chunks/chunk-OG5DVFMA.js.map +1 -0
- package/dist/cli-bundle/chunks/{chunk-I577UHC7.js → chunk-OR42SO64.js} +2 -2
- package/dist/cli-bundle/chunks/{chunk-ZOJ3LR7O.js → chunk-OY7DMU5P.js} +2 -2
- package/dist/cli-bundle/chunks/{chunk-HEWM6CEN.js → chunk-P7MTHPJQ.js} +50 -9
- package/dist/cli-bundle/chunks/chunk-P7MTHPJQ.js.map +7 -0
- package/dist/cli-bundle/chunks/{chunk-2BO4CA46.js → chunk-PFNHX655.js} +236 -12
- package/dist/cli-bundle/chunks/{chunk-2BO4CA46.js.map → chunk-PFNHX655.js.map} +1 -1
- package/dist/cli-bundle/chunks/{chunk-ZV2NTVMJ.js → chunk-PONKZPCJ.js} +2 -2
- package/dist/cli-bundle/chunks/{chunk-THAOZG4U.js → chunk-PQSEQD6E.js} +8 -6
- package/dist/cli-bundle/chunks/chunk-PQSEQD6E.js.map +1 -0
- package/dist/cli-bundle/chunks/chunk-PWDEHT3L.js +991 -0
- package/dist/cli-bundle/chunks/chunk-PWDEHT3L.js.map +7 -0
- package/dist/cli-bundle/chunks/{chunk-UX6SSO2I.js → chunk-PZC2FUOQ.js} +2 -2
- package/dist/cli-bundle/chunks/{chunk-WUVEBQW6.js → chunk-QG4GFLQ6.js} +3 -5
- package/dist/cli-bundle/chunks/{chunk-WUVEBQW6.js.map → chunk-QG4GFLQ6.js.map} +1 -1
- package/dist/cli-bundle/chunks/{chunk-VQIHNHMJ.js → chunk-QIH77CAG.js} +2 -2
- package/dist/cli-bundle/chunks/{chunk-R3EWPG4A.js → chunk-QJIKE24M.js} +2 -2
- package/dist/cli-bundle/chunks/{chunk-QLZ643FM.js → chunk-QOOTOD3W.js} +10 -12
- package/dist/cli-bundle/chunks/{chunk-QLZ643FM.js.map → chunk-QOOTOD3W.js.map} +1 -1
- package/dist/cli-bundle/chunks/{chunk-MYSS5H2A.js → chunk-R3P6FZJW.js} +5 -7
- package/dist/cli-bundle/chunks/{chunk-MYSS5H2A.js.map → chunk-R3P6FZJW.js.map} +1 -1
- package/dist/cli-bundle/chunks/{chunk-G3COA6GS.js → chunk-RNPZYNHS.js} +56 -35
- package/dist/cli-bundle/chunks/chunk-RNPZYNHS.js.map +1 -0
- package/dist/cli-bundle/chunks/{chunk-T44FMVRL.js → chunk-RPESLSO5.js} +62 -20
- package/dist/cli-bundle/chunks/chunk-RPESLSO5.js.map +7 -0
- package/dist/cli-bundle/chunks/{chunk-INSTSQNZ.js → chunk-SY4SFZSD.js} +595 -3
- package/dist/cli-bundle/chunks/chunk-SY4SFZSD.js.map +7 -0
- package/dist/cli-bundle/chunks/{chunk-HB3P4M52.js → chunk-TRSHFPRZ.js} +2 -2
- package/dist/cli-bundle/chunks/{chunk-HRW7GF6T.js → chunk-UCBDQI5E.js} +2 -2
- package/dist/cli-bundle/chunks/{chunk-4U4Z6AHI.js → chunk-V22ZPOKN.js} +2 -2
- package/dist/cli-bundle/chunks/{chunk-JM6YAXTR.js → chunk-VHXHVTUU.js} +2 -2
- package/dist/cli-bundle/chunks/{chunk-LPEYZRUR.js → chunk-VJQG4BIM.js} +35 -6
- package/dist/cli-bundle/chunks/chunk-VJQG4BIM.js.map +1 -0
- package/dist/cli-bundle/chunks/{chunk-D6NXDNP3.js → chunk-VLRGDBLY.js} +2 -2
- package/dist/cli-bundle/chunks/{chunk-JAPE62Y5.js → chunk-VNTCM3VW.js} +3 -3
- package/dist/cli-bundle/chunks/{chunk-FDHPAVVB.js → chunk-VXOOB6YX.js} +2 -2
- package/dist/cli-bundle/chunks/{chunk-GFQP7HAZ.js → chunk-VZIZB6QH.js} +3 -5
- package/dist/cli-bundle/chunks/{chunk-GFQP7HAZ.js.map → chunk-VZIZB6QH.js.map} +1 -1
- package/dist/cli-bundle/chunks/{chunk-HQ3SB4CN.js → chunk-X3W65QK3.js} +2 -2
- package/dist/cli-bundle/chunks/{chunk-RZJLNXFG.js → chunk-XJTABV3X.js} +3 -3
- package/dist/cli-bundle/chunks/{chunk-GVT754PX.js → chunk-YCIUJJOD.js} +11 -5
- package/dist/cli-bundle/chunks/chunk-YCIUJJOD.js.map +7 -0
- package/dist/cli-bundle/chunks/{chunk-IJNK6WW2.js → chunk-Z75ONV25.js} +75 -12
- package/dist/cli-bundle/chunks/chunk-Z75ONV25.js.map +7 -0
- package/dist/cli-bundle/chunks/{chunk-4L23AGQ7.js → chunk-Z7VWXXJM.js} +5 -7
- package/dist/cli-bundle/chunks/{chunk-4L23AGQ7.js.map → chunk-Z7VWXXJM.js.map} +1 -1
- package/dist/cli-bundle/chunks/{chunk-YBT7O4KT.js → chunk-ZTVA4KLN.js} +4 -6
- package/dist/cli-bundle/chunks/{chunk-YBT7O4KT.js.map → chunk-ZTVA4KLN.js.map} +1 -1
- package/dist/cli-bundle/chunks/{chunk-TYHJDFYW.js → chunk-ZVZGXPQ5.js} +2 -2
- package/dist/cli-bundle/chunks/{close-many-SDA426VT.js → close-many-5RZXVN4J.js} +5 -6
- package/dist/cli-bundle/chunks/{close-many-UTZANOCQ.js → close-many-RZVTUGBG.js} +5 -6
- package/dist/cli-bundle/chunks/{comments-LZN6FXXC.js → comments-TPU7QRBL.js} +4 -4
- package/dist/cli-bundle/chunks/{comments-VBQ345ND.js → comments-Z4KV6FU3.js} +4 -4
- package/dist/cli-bundle/chunks/{create-GG4RBCGC.js → create-EIFBIVNQ.js} +6 -6
- package/dist/cli-bundle/chunks/{create-JBC5KUW6.js → create-RGSPN5GD.js} +6 -6
- package/dist/cli-bundle/chunks/{deps-FI4O6NQS.js → deps-UH5EQQUY.js} +3 -3
- package/dist/cli-bundle/chunks/{deps-DELOO4TL.js → deps-YG7UF3VR.js} +3 -3
- package/dist/cli-bundle/chunks/{docs-6Z2MP526.js → docs-G32TK6XS.js} +4 -4
- package/dist/cli-bundle/chunks/{docs-2UYBP5D6.js → docs-JWWNRC27.js} +4 -4
- package/dist/cli-bundle/chunks/{files-HKEAN5MA.js → files-3H32UQ4K.js} +4 -4
- package/dist/cli-bundle/chunks/{files-HEUGSJZL.js → files-4ALMCSKB.js} +4 -4
- package/dist/cli-bundle/chunks/{history-compact-7NDVP3PT.js → history-compact-77BT2LUB.js} +3 -4
- package/dist/cli-bundle/chunks/{history-compact-65YVN5DB.js → history-compact-VCKGTX64.js} +3 -4
- package/dist/cli-bundle/chunks/{history-redact-7YBL4XSG.js → history-redact-LJPZPNFA.js} +2 -3
- package/dist/cli-bundle/chunks/{history-redact-IZGNJBU4.js → history-redact-PWTTJ3XS.js} +2 -3
- package/dist/cli-bundle/chunks/{history-repair-7M4PYQUH.js → history-repair-I7CBNCV3.js} +5 -6
- package/dist/cli-bundle/chunks/{history-repair-GNGETJLI.js → history-repair-YTDZRK5E.js} +5 -6
- package/dist/cli-bundle/chunks/{learnings-3YXDRWFT.js → learnings-CYNOICKR.js} +4 -4
- package/dist/cli-bundle/chunks/{learnings-ALC6IMNL.js → learnings-KTYW3AL7.js} +4 -4
- package/dist/cli-bundle/chunks/{notes-7JMLQ447.js → notes-FGO63FXL.js} +4 -4
- package/dist/cli-bundle/chunks/{notes-JFCLTC5C.js → notes-ZERD3KB2.js} +4 -4
- package/dist/cli-bundle/chunks/{plan-T3XB3WTK.js → plan-OFJUBIM5.js} +7 -7
- package/dist/cli-bundle/chunks/{plan-KOIPWVOZ.js → plan-SGCDDTYR.js} +7 -7
- package/dist/cli-bundle/chunks/{profile-OILJHKUW.js → profile-3THJPIQY.js} +4 -5
- package/dist/cli-bundle/chunks/{profile-RJXA7PGS.js → profile-XEZAMMBW.js} +4 -5
- package/dist/cli-bundle/chunks/{register-list-query-CFVG75P3.js → register-list-query-BR435Q2H.js} +19 -16
- package/dist/cli-bundle/chunks/register-list-query-BR435Q2H.js.map +1 -0
- package/dist/cli-bundle/chunks/{register-list-query-E7UVY4TN.js → register-list-query-RWTWLOBE.js} +18 -15
- package/dist/cli-bundle/chunks/register-list-query-RWTWLOBE.js.map +7 -0
- package/dist/cli-bundle/chunks/{register-mutation-IQ55E25C.js → register-mutation-HLWC2WNP.js} +167 -31
- package/dist/cli-bundle/chunks/register-mutation-HLWC2WNP.js.map +1 -0
- package/dist/cli-bundle/chunks/{register-mutation-4VJTXBZW.js → register-mutation-ZJX5AZM5.js} +173 -30
- package/dist/cli-bundle/chunks/register-mutation-ZJX5AZM5.js.map +7 -0
- package/dist/cli-bundle/chunks/{register-operations-AR7RMX4W.js → register-operations-744YBJMV.js} +23 -25
- package/dist/cli-bundle/chunks/{register-operations-AR7RMX4W.js.map → register-operations-744YBJMV.js.map} +1 -1
- package/dist/cli-bundle/chunks/{register-operations-NOLZGORC.js → register-operations-UEBJH6AN.js} +21 -23
- package/dist/cli-bundle/chunks/{register-operations-NOLZGORC.js.map → register-operations-UEBJH6AN.js.map} +1 -1
- package/dist/cli-bundle/chunks/{register-setup-EYZ7VTPZ.js → register-setup-5DA4UZXI.js} +7 -8
- package/dist/cli-bundle/chunks/{register-setup-EYZ7VTPZ.js.map → register-setup-5DA4UZXI.js.map} +1 -1
- package/dist/cli-bundle/chunks/{register-setup-BB77VUEE.js → register-setup-6H25M3BH.js} +9 -10
- package/dist/cli-bundle/chunks/{register-setup-BB77VUEE.js.map → register-setup-6H25M3BH.js.map} +1 -1
- package/dist/cli-bundle/chunks/{restore-ZH65GZFB.js → restore-6TDVSATY.js} +4 -5
- package/dist/cli-bundle/chunks/{restore-L6IAGOD7.js → restore-RSL7C7LO.js} +4 -5
- package/dist/cli-bundle/chunks/{schema-4ERWM5QJ.js → schema-HFXFSGPG.js} +2 -3
- package/dist/cli-bundle/chunks/{schema-55DL3Q52.js → schema-TPVTIJPO.js} +2 -3
- package/dist/cli-bundle/chunks/{update-FW6FKDOP.js → update-LJZCL5SI.js} +7 -7
- package/dist/cli-bundle/chunks/{update-TJHSPRPT.js → update-SIA7LH5Y.js} +7 -7
- package/dist/cli-bundle/chunks/{update-many-PWXX5WHO.js → update-many-BDBZVGQL.js} +11 -12
- package/dist/cli-bundle/chunks/{update-many-NNALYQCN.js → update-many-MOY3A5B3.js} +11 -12
- package/dist/cli-bundle/main.js +60 -85
- package/dist/cli-bundle/main.js.map +2 -2
- package/dist/cli-bundle/sdk-runtime.js +37 -37
- package/dist/cli-bundle/sdk.js +126 -291
- package/dist/cli-bundle/sdk.js.map +4 -4
- package/dist/core/item/parse.d.ts +1 -1
- package/dist/core/item/parse.js +13 -7
- package/dist/core/item/parse.js.map +1 -1
- package/dist/core/output/mutation-projection.d.ts +2 -0
- package/dist/core/output/mutation-projection.js +33 -2
- package/dist/core/output/mutation-projection.js.map +1 -1
- package/dist/core/output/output.d.ts +4 -0
- package/dist/core/output/output.js +18 -13
- package/dist/core/output/output.js.map +1 -1
- package/dist/core/shared/command-types.d.ts +4 -0
- package/dist/core/shared/command-types.js +2 -2
- package/dist/core/shared/command-types.js.map +1 -1
- package/dist/mcp/server.js +39 -4
- package/dist/mcp/server.js.map +1 -1
- package/dist/mcp/tool-definitions.js +45 -4
- package/dist/mcp/tool-definitions.js.map +1 -1
- package/dist/sdk/cli-bootstrap.d.ts +2 -0
- package/dist/sdk/cli-bootstrap.js +20 -27
- package/dist/sdk/cli-bootstrap.js.map +1 -1
- package/dist/sdk/cli-contracts/enum-contracts.d.ts +2 -2
- package/dist/sdk/cli-contracts/enum-contracts.js +7 -2
- package/dist/sdk/cli-contracts/enum-contracts.js.map +1 -1
- package/dist/sdk/cli-contracts/flag-contracts.d.ts +2 -0
- package/dist/sdk/cli-contracts/flag-contracts.js +21 -2
- package/dist/sdk/cli-contracts/flag-contracts.js.map +1 -1
- package/dist/sdk/cli-contracts/tool-option-contracts.js +10 -2
- package/dist/sdk/cli-contracts/tool-option-contracts.js.map +1 -1
- package/dist/sdk/cli-contracts/tool-parameter-tables.js +16 -3
- package/dist/sdk/cli-contracts/tool-parameter-tables.js.map +1 -1
- package/dist/sdk/cli-contracts/tool-schema.js +6 -2
- package/dist/sdk/cli-contracts/tool-schema.js.map +1 -1
- package/dist/sdk/cli-contracts.d.ts +1 -1
- package/dist/sdk/cli-contracts.js +3 -3
- package/dist/sdk/cli-contracts.js.map +1 -1
- package/dist/sdk/cli-program.js +4 -2
- package/dist/sdk/cli-program.js.map +1 -1
- package/dist/sdk/dependencies.d.ts +3 -2
- package/dist/sdk/dependencies.js +13 -12
- package/dist/sdk/dependencies.js.map +1 -1
- package/dist/sdk/error-runtime.d.ts +10 -0
- package/dist/sdk/error-runtime.js +59 -0
- package/dist/sdk/error-runtime.js.map +1 -0
- package/dist/sdk/graph/analytics.d.ts +9 -0
- package/dist/sdk/graph/analytics.js +24 -13
- package/dist/sdk/graph/analytics.js.map +1 -1
- package/dist/sdk/graph/assembly.d.ts +39 -0
- package/dist/sdk/graph/assembly.js +92 -12
- package/dist/sdk/graph/assembly.js.map +1 -1
- package/dist/sdk/graph/cache.d.ts +4 -1
- package/dist/sdk/graph/cache.js +17 -4
- package/dist/sdk/graph/cache.js.map +1 -1
- package/dist/sdk/graph/centrality.d.ts +82 -0
- package/dist/sdk/graph/centrality.js +259 -0
- package/dist/sdk/graph/centrality.js.map +1 -0
- package/dist/sdk/graph/durable-cache.d.ts +71 -0
- package/dist/sdk/graph/durable-cache.js +205 -0
- package/dist/sdk/graph/durable-cache.js.map +1 -0
- package/dist/sdk/graph/governance.d.ts +69 -1
- package/dist/sdk/graph/governance.js +143 -35
- package/dist/sdk/graph/governance.js.map +1 -1
- package/dist/sdk/graph/index.d.ts +7 -4
- package/dist/sdk/graph/index.js +8 -5
- package/dist/sdk/graph/index.js.map +1 -1
- package/dist/sdk/graph/mutation-advisory.d.ts +35 -4
- package/dist/sdk/graph/mutation-advisory.js +124 -35
- package/dist/sdk/graph/mutation-advisory.js.map +1 -1
- package/dist/sdk/graph/remediation.js +12 -2
- package/dist/sdk/graph/remediation.js.map +1 -1
- package/dist/sdk/graph/run.d.ts +133 -2
- package/dist/sdk/graph/run.js +217 -8
- package/dist/sdk/graph/run.js.map +1 -1
- package/dist/sdk/graph/scheduling.d.ts +59 -0
- package/dist/sdk/graph/scheduling.js +125 -0
- package/dist/sdk/graph/scheduling.js.map +1 -0
- package/dist/sdk/graph/traversal.d.ts +11 -0
- package/dist/sdk/graph/traversal.js +16 -2
- package/dist/sdk/graph/traversal.js.map +1 -1
- package/dist/sdk/index.d.ts +4 -0
- package/dist/sdk/index.js +6 -2
- package/dist/sdk/index.js.map +1 -1
- package/dist/sdk/runtime-input.js +7 -2
- package/dist/sdk/runtime-input.js.map +1 -1
- package/dist/sdk/runtime-primitives.d.ts +10 -0
- package/dist/sdk/runtime-primitives.js +14 -0
- package/dist/sdk/runtime-primitives.js.map +1 -0
- package/dist/sdk/runtime.d.ts +15 -0
- package/dist/sdk/runtime.js +16 -3
- package/dist/sdk/runtime.js.map +1 -1
- package/dist/sdk/structured-mutations.d.ts +21 -0
- package/dist/sdk/structured-mutations.js +375 -0
- package/dist/sdk/structured-mutations.js.map +1 -0
- package/docs/COMMANDS.md +85 -5
- package/docs/RELATIONSHIP_GRAPH.md +48 -7
- package/docs/SDK.md +78 -3
- package/marketplace.json +2 -2
- package/package.json +1 -1
- 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-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/README.md +5 -3
- package/plugins/pm-claude/commands/pm-init.md +1 -1
- package/plugins/pm-codex/.codex-plugin/plugin.json +1 -1
- package/dist/cli-bundle/chunks/chunk-3AO5VSDR.js.map +0 -7
- package/dist/cli-bundle/chunks/chunk-3LPFHE3P.js.map +0 -1
- package/dist/cli-bundle/chunks/chunk-3VY6MIEO.js.map +0 -7
- package/dist/cli-bundle/chunks/chunk-4F6BWJ4J.js.map +0 -7
- package/dist/cli-bundle/chunks/chunk-5IZJWSDB.js.map +0 -1
- package/dist/cli-bundle/chunks/chunk-5UX66S6U.js.map +0 -1
- package/dist/cli-bundle/chunks/chunk-6C2ZZX5Z.js +0 -286
- package/dist/cli-bundle/chunks/chunk-6C2ZZX5Z.js.map +0 -1
- package/dist/cli-bundle/chunks/chunk-6VIJ7UA5.js.map +0 -7
- package/dist/cli-bundle/chunks/chunk-6XMUURSS.js.map +0 -1
- package/dist/cli-bundle/chunks/chunk-C3KD7U3T.js.map +0 -7
- package/dist/cli-bundle/chunks/chunk-CFHAODHQ.js +0 -334
- package/dist/cli-bundle/chunks/chunk-CFHAODHQ.js.map +0 -1
- package/dist/cli-bundle/chunks/chunk-DAQ45GCS.js.map +0 -7
- package/dist/cli-bundle/chunks/chunk-E6LEMURX.js +0 -249
- package/dist/cli-bundle/chunks/chunk-E6LEMURX.js.map +0 -7
- package/dist/cli-bundle/chunks/chunk-G3COA6GS.js.map +0 -1
- package/dist/cli-bundle/chunks/chunk-GSJSM5BJ.js.map +0 -1
- package/dist/cli-bundle/chunks/chunk-GVI6FAFG.js.map +0 -7
- package/dist/cli-bundle/chunks/chunk-GVT754PX.js.map +0 -7
- package/dist/cli-bundle/chunks/chunk-HEWM6CEN.js.map +0 -7
- package/dist/cli-bundle/chunks/chunk-IJNK6WW2.js.map +0 -7
- package/dist/cli-bundle/chunks/chunk-INSTSQNZ.js.map +0 -7
- package/dist/cli-bundle/chunks/chunk-J4FBIFU6.js.map +0 -1
- package/dist/cli-bundle/chunks/chunk-KZEANWJS.js.map +0 -7
- package/dist/cli-bundle/chunks/chunk-LPEYZRUR.js.map +0 -1
- package/dist/cli-bundle/chunks/chunk-NHT3F4WZ.js.map +0 -1
- package/dist/cli-bundle/chunks/chunk-OV7MSW3I.js.map +0 -1
- package/dist/cli-bundle/chunks/chunk-P7JTWYLH.js +0 -246
- package/dist/cli-bundle/chunks/chunk-P7JTWYLH.js.map +0 -1
- package/dist/cli-bundle/chunks/chunk-R5U2VZ3K.js +0 -344
- package/dist/cli-bundle/chunks/chunk-R5U2VZ3K.js.map +0 -7
- package/dist/cli-bundle/chunks/chunk-SG74J6MV.js.map +0 -1
- package/dist/cli-bundle/chunks/chunk-T44FMVRL.js.map +0 -7
- package/dist/cli-bundle/chunks/chunk-THAOZG4U.js.map +0 -1
- package/dist/cli-bundle/chunks/chunk-UQLXSG72.js +0 -289
- package/dist/cli-bundle/chunks/chunk-UQLXSG72.js.map +0 -7
- package/dist/cli-bundle/chunks/chunk-UZDQXNUB.js.map +0 -1
- package/dist/cli-bundle/chunks/chunk-WVA4DVNV.js.map +0 -7
- package/dist/cli-bundle/chunks/register-list-query-CFVG75P3.js.map +0 -1
- package/dist/cli-bundle/chunks/register-list-query-E7UVY4TN.js.map +0 -7
- package/dist/cli-bundle/chunks/register-mutation-4VJTXBZW.js.map +0 -7
- package/dist/cli-bundle/chunks/register-mutation-IQ55E25C.js.map +0 -1
- /package/dist/cli-bundle/chunks/{append-E6V54WOQ.js.map → append-7OVFYR3C.js.map} +0 -0
- /package/dist/cli-bundle/chunks/{append-NNJ3EFIT.js.map → append-DFETHAZL.js.map} +0 -0
- /package/dist/cli-bundle/chunks/{chunk-QJKL5PHS.js.map → chunk-7656MAUL.js.map} +0 -0
- /package/dist/cli-bundle/chunks/{chunk-X6K5XTTN.js.map → chunk-7W2UAXXT.js.map} +0 -0
- /package/dist/cli-bundle/chunks/{chunk-5OK4UGFV.js.map → chunk-BXNDKOR2.js.map} +0 -0
- /package/dist/cli-bundle/chunks/{chunk-KSPWRNVP.js.map → chunk-CPX275C6.js.map} +0 -0
- /package/dist/cli-bundle/chunks/{chunk-JH2ZSLO3.js.map → chunk-DZRV2OPA.js.map} +0 -0
- /package/dist/cli-bundle/chunks/{chunk-L7BH7IWU.js.map → chunk-E5XMKOSB.js.map} +0 -0
- /package/dist/cli-bundle/chunks/{chunk-CQTQKUUV.js.map → chunk-EWJWSNRU.js.map} +0 -0
- /package/dist/cli-bundle/chunks/{chunk-3MCTMJXI.js.map → chunk-FPBMLYPI.js.map} +0 -0
- /package/dist/cli-bundle/chunks/{chunk-DVDBQA3B.js.map → chunk-GTK4DTEW.js.map} +0 -0
- /package/dist/cli-bundle/chunks/{chunk-GIQSU6S2.js.map → chunk-KBLZ3AA5.js.map} +0 -0
- /package/dist/cli-bundle/chunks/{chunk-XJF7CDNH.js.map → chunk-KH44WBAT.js.map} +0 -0
- /package/dist/cli-bundle/chunks/{chunk-GV2262OF.js.map → chunk-LAV26CQG.js.map} +0 -0
- /package/dist/cli-bundle/chunks/{chunk-VDO2JMD4.js.map → chunk-LVC72YRD.js.map} +0 -0
- /package/dist/cli-bundle/chunks/{chunk-ZYPFOO3L.js.map → chunk-MATHDCGG.js.map} +0 -0
- /package/dist/cli-bundle/chunks/{chunk-AOEOYL3S.js.map → chunk-O4BCOJTZ.js.map} +0 -0
- /package/dist/cli-bundle/chunks/{chunk-RJO3YAFM.js.map → chunk-OCUBRA6D.js.map} +0 -0
- /package/dist/cli-bundle/chunks/{chunk-I577UHC7.js.map → chunk-OR42SO64.js.map} +0 -0
- /package/dist/cli-bundle/chunks/{chunk-ZOJ3LR7O.js.map → chunk-OY7DMU5P.js.map} +0 -0
- /package/dist/cli-bundle/chunks/{chunk-ZV2NTVMJ.js.map → chunk-PONKZPCJ.js.map} +0 -0
- /package/dist/cli-bundle/chunks/{chunk-UX6SSO2I.js.map → chunk-PZC2FUOQ.js.map} +0 -0
- /package/dist/cli-bundle/chunks/{chunk-VQIHNHMJ.js.map → chunk-QIH77CAG.js.map} +0 -0
- /package/dist/cli-bundle/chunks/{chunk-R3EWPG4A.js.map → chunk-QJIKE24M.js.map} +0 -0
- /package/dist/cli-bundle/chunks/{chunk-HB3P4M52.js.map → chunk-TRSHFPRZ.js.map} +0 -0
- /package/dist/cli-bundle/chunks/{chunk-HRW7GF6T.js.map → chunk-UCBDQI5E.js.map} +0 -0
- /package/dist/cli-bundle/chunks/{chunk-4U4Z6AHI.js.map → chunk-V22ZPOKN.js.map} +0 -0
- /package/dist/cli-bundle/chunks/{chunk-JM6YAXTR.js.map → chunk-VHXHVTUU.js.map} +0 -0
- /package/dist/cli-bundle/chunks/{chunk-D6NXDNP3.js.map → chunk-VLRGDBLY.js.map} +0 -0
- /package/dist/cli-bundle/chunks/{chunk-JAPE62Y5.js.map → chunk-VNTCM3VW.js.map} +0 -0
- /package/dist/cli-bundle/chunks/{chunk-FDHPAVVB.js.map → chunk-VXOOB6YX.js.map} +0 -0
- /package/dist/cli-bundle/chunks/{chunk-HQ3SB4CN.js.map → chunk-X3W65QK3.js.map} +0 -0
- /package/dist/cli-bundle/chunks/{chunk-RZJLNXFG.js.map → chunk-XJTABV3X.js.map} +0 -0
- /package/dist/cli-bundle/chunks/{chunk-TYHJDFYW.js.map → chunk-ZVZGXPQ5.js.map} +0 -0
- /package/dist/cli-bundle/chunks/{close-many-SDA426VT.js.map → close-many-5RZXVN4J.js.map} +0 -0
- /package/dist/cli-bundle/chunks/{close-many-UTZANOCQ.js.map → close-many-RZVTUGBG.js.map} +0 -0
- /package/dist/cli-bundle/chunks/{comments-LZN6FXXC.js.map → comments-TPU7QRBL.js.map} +0 -0
- /package/dist/cli-bundle/chunks/{comments-VBQ345ND.js.map → comments-Z4KV6FU3.js.map} +0 -0
- /package/dist/cli-bundle/chunks/{create-GG4RBCGC.js.map → create-EIFBIVNQ.js.map} +0 -0
- /package/dist/cli-bundle/chunks/{create-JBC5KUW6.js.map → create-RGSPN5GD.js.map} +0 -0
- /package/dist/cli-bundle/chunks/{deps-FI4O6NQS.js.map → deps-UH5EQQUY.js.map} +0 -0
- /package/dist/cli-bundle/chunks/{deps-DELOO4TL.js.map → deps-YG7UF3VR.js.map} +0 -0
- /package/dist/cli-bundle/chunks/{docs-6Z2MP526.js.map → docs-G32TK6XS.js.map} +0 -0
- /package/dist/cli-bundle/chunks/{docs-2UYBP5D6.js.map → docs-JWWNRC27.js.map} +0 -0
- /package/dist/cli-bundle/chunks/{files-HKEAN5MA.js.map → files-3H32UQ4K.js.map} +0 -0
- /package/dist/cli-bundle/chunks/{files-HEUGSJZL.js.map → files-4ALMCSKB.js.map} +0 -0
- /package/dist/cli-bundle/chunks/{history-compact-7NDVP3PT.js.map → history-compact-77BT2LUB.js.map} +0 -0
- /package/dist/cli-bundle/chunks/{history-compact-65YVN5DB.js.map → history-compact-VCKGTX64.js.map} +0 -0
- /package/dist/cli-bundle/chunks/{history-redact-7YBL4XSG.js.map → history-redact-LJPZPNFA.js.map} +0 -0
- /package/dist/cli-bundle/chunks/{history-redact-IZGNJBU4.js.map → history-redact-PWTTJ3XS.js.map} +0 -0
- /package/dist/cli-bundle/chunks/{history-repair-7M4PYQUH.js.map → history-repair-I7CBNCV3.js.map} +0 -0
- /package/dist/cli-bundle/chunks/{history-repair-GNGETJLI.js.map → history-repair-YTDZRK5E.js.map} +0 -0
- /package/dist/cli-bundle/chunks/{learnings-3YXDRWFT.js.map → learnings-CYNOICKR.js.map} +0 -0
- /package/dist/cli-bundle/chunks/{learnings-ALC6IMNL.js.map → learnings-KTYW3AL7.js.map} +0 -0
- /package/dist/cli-bundle/chunks/{notes-7JMLQ447.js.map → notes-FGO63FXL.js.map} +0 -0
- /package/dist/cli-bundle/chunks/{notes-JFCLTC5C.js.map → notes-ZERD3KB2.js.map} +0 -0
- /package/dist/cli-bundle/chunks/{plan-T3XB3WTK.js.map → plan-OFJUBIM5.js.map} +0 -0
- /package/dist/cli-bundle/chunks/{plan-KOIPWVOZ.js.map → plan-SGCDDTYR.js.map} +0 -0
- /package/dist/cli-bundle/chunks/{profile-OILJHKUW.js.map → profile-3THJPIQY.js.map} +0 -0
- /package/dist/cli-bundle/chunks/{profile-RJXA7PGS.js.map → profile-XEZAMMBW.js.map} +0 -0
- /package/dist/cli-bundle/chunks/{restore-ZH65GZFB.js.map → restore-6TDVSATY.js.map} +0 -0
- /package/dist/cli-bundle/chunks/{restore-L6IAGOD7.js.map → restore-RSL7C7LO.js.map} +0 -0
- /package/dist/cli-bundle/chunks/{schema-4ERWM5QJ.js.map → schema-HFXFSGPG.js.map} +0 -0
- /package/dist/cli-bundle/chunks/{schema-55DL3Q52.js.map → schema-TPVTIJPO.js.map} +0 -0
- /package/dist/cli-bundle/chunks/{update-FW6FKDOP.js.map → update-LJZCL5SI.js.map} +0 -0
- /package/dist/cli-bundle/chunks/{update-TJHSPRPT.js.map → update-SIA7LH5Y.js.map} +0 -0
- /package/dist/cli-bundle/chunks/{update-many-PWXX5WHO.js.map → update-many-BDBZVGQL.js.map} +0 -0
- /package/dist/cli-bundle/chunks/{update-many-NNALYQCN.js.map → update-many-MOY3A5B3.js.map} +0 -0
package/dist/cli-bundle/chunks/{register-mutation-IQ55E25C.js → register-mutation-HLWC2WNP.js}
RENAMED
|
@@ -1,9 +1,21 @@
|
|
|
1
1
|
|
|
2
|
-
!function(){try{var e="undefined"!=typeof window?window:"undefined"!=typeof global?global:"undefined"!=typeof globalThis?globalThis:"undefined"!=typeof self?self:{},n=(new e.Error).stack;n&&(e._sentryDebugIds=e._sentryDebugIds||{},e._sentryDebugIds[n]="
|
|
2
|
+
!function(){try{var e="undefined"!=typeof window?window:"undefined"!=typeof global?global:"undefined"!=typeof globalThis?globalThis:"undefined"!=typeof self?self:{},n=(new e.Error).stack;n&&(e._sentryDebugIds=e._sentryDebugIds||{},e._sentryDebugIds[n]="d6b8a3b8-6928-5d98-b207-7eb2e18bb34a")}catch(e){}}();
|
|
3
3
|
import {
|
|
4
4
|
MERGE_DRIVER_ARTIFACT_VALUES,
|
|
5
|
+
commitItemMutations,
|
|
6
|
+
itemDocumentToMutationOptions,
|
|
7
|
+
parseAtomicMutationControls,
|
|
8
|
+
parseItemMutationBatch,
|
|
5
9
|
runMergeDriver
|
|
6
|
-
} from "./chunk-
|
|
10
|
+
} from "./chunk-ATBCUC7Y.js";
|
|
11
|
+
import "./chunk-RNPZYNHS.js";
|
|
12
|
+
import "./chunk-GTK4DTEW.js";
|
|
13
|
+
import "./chunk-CPX275C6.js";
|
|
14
|
+
import "./chunk-NUF7ROFH.js";
|
|
15
|
+
import "./chunk-4QSQ6XDK.js";
|
|
16
|
+
import "./chunk-XJTABV3X.js";
|
|
17
|
+
import "./chunk-JXCW2TI2.js";
|
|
18
|
+
import "./chunk-JFD5LPMI.js";
|
|
7
19
|
import {
|
|
8
20
|
applyActiveCommandResultService,
|
|
9
21
|
collect,
|
|
@@ -14,28 +26,81 @@ import {
|
|
|
14
26
|
normalizeCreateOptions,
|
|
15
27
|
normalizeUpdateOptions,
|
|
16
28
|
readOptionString
|
|
17
|
-
} from "./chunk-
|
|
29
|
+
} from "./chunk-PQSEQD6E.js";
|
|
30
|
+
import "./chunk-ABWCF646.js";
|
|
31
|
+
import "./chunk-MIQDDLB5.js";
|
|
32
|
+
import "./chunk-QOOTOD3W.js";
|
|
33
|
+
import "./chunk-PONKZPCJ.js";
|
|
34
|
+
import "./chunk-QJIKE24M.js";
|
|
35
|
+
import "./chunk-7656MAUL.js";
|
|
36
|
+
import "./chunk-QIH77CAG.js";
|
|
37
|
+
import "./chunk-KBLZ3AA5.js";
|
|
38
|
+
import "./chunk-DUT67M43.js";
|
|
39
|
+
import "./chunk-MATHDCGG.js";
|
|
18
40
|
import {
|
|
19
41
|
CREATE_COMMANDER_OPTION_REGISTRATION_CONTRACTS,
|
|
20
42
|
UPDATE_COMMANDER_OPTION_REGISTRATION_CONTRACTS
|
|
21
|
-
} from "./chunk-
|
|
43
|
+
} from "./chunk-FSE2IKJQ.js";
|
|
22
44
|
import {
|
|
23
45
|
runMergeInstall
|
|
24
|
-
} from "./chunk-
|
|
46
|
+
} from "./chunk-ICDAQ4TD.js";
|
|
47
|
+
import "./chunk-EWJWSNRU.js";
|
|
48
|
+
import "./chunk-TRSHFPRZ.js";
|
|
49
|
+
import "./chunk-MWQ2HC2A.js";
|
|
50
|
+
import "./chunk-PEQGTJ5Q.js";
|
|
51
|
+
import "./chunk-H7EAER5L.js";
|
|
25
52
|
import {
|
|
26
53
|
printError,
|
|
27
54
|
printResult,
|
|
28
55
|
writeStdout
|
|
29
|
-
} from "./chunk-
|
|
56
|
+
} from "./chunk-VJQG4BIM.js";
|
|
57
|
+
import "./chunk-BKIAH72N.js";
|
|
58
|
+
import "./chunk-5NTE36LD.js";
|
|
59
|
+
import "./chunk-ZOY5K4D3.js";
|
|
60
|
+
import "./chunk-JGUKMMRS.js";
|
|
61
|
+
import "./chunk-FRQ63VPB.js";
|
|
62
|
+
import "./chunk-OG5DVFMA.js";
|
|
63
|
+
import "./chunk-K36WV5J6.js";
|
|
64
|
+
import "./chunk-B7SWOIP6.js";
|
|
65
|
+
import "./chunk-OY7DMU5P.js";
|
|
66
|
+
import "./chunk-76UBY2EE.js";
|
|
67
|
+
import "./chunk-FPBMLYPI.js";
|
|
68
|
+
import "./chunk-LAV26CQG.js";
|
|
30
69
|
import {
|
|
31
70
|
splitCommaList
|
|
32
71
|
} from "./chunk-NETP4DY4.js";
|
|
33
|
-
import "./chunk-
|
|
72
|
+
import "./chunk-M3JN6FPW.js";
|
|
73
|
+
import "./chunk-6JUTHVQS.js";
|
|
74
|
+
import "./chunk-JHJSFOAM.js";
|
|
75
|
+
import "./chunk-SC2HMDGB.js";
|
|
76
|
+
import "./chunk-URXVHN3L.js";
|
|
77
|
+
import "./chunk-SZVB53Y3.js";
|
|
78
|
+
import "./chunk-TOBGV45Y.js";
|
|
79
|
+
import "./chunk-KH44WBAT.js";
|
|
80
|
+
import {
|
|
81
|
+
createStdinTokenResolver
|
|
82
|
+
} from "./chunk-AELMUANP.js";
|
|
83
|
+
import "./chunk-UCBDQI5E.js";
|
|
84
|
+
import "./chunk-GROYI4RB.js";
|
|
85
|
+
import "./chunk-N7V7TI6J.js";
|
|
86
|
+
import "./chunk-7DOJC3HS.js";
|
|
87
|
+
import "./chunk-QWRVBJ4D.js";
|
|
88
|
+
import "./chunk-K4CI6Y45.js";
|
|
89
|
+
import "./chunk-4XGJLADW.js";
|
|
90
|
+
import "./chunk-OWXOPDHD.js";
|
|
91
|
+
import "./chunk-NLR32VFS.js";
|
|
92
|
+
import "./chunk-R3P6FZJW.js";
|
|
93
|
+
import "./chunk-Z7VWXXJM.js";
|
|
94
|
+
import "./chunk-PFNHX655.js";
|
|
95
|
+
import {
|
|
96
|
+
resolveAuthor
|
|
97
|
+
} from "./chunk-CUFW7ITY.js";
|
|
34
98
|
import "./chunk-POG76WWZ.js";
|
|
35
99
|
import {
|
|
36
100
|
BUILTIN_ITEM_TYPE_VALUES,
|
|
37
101
|
EXIT_CODE,
|
|
38
|
-
PmCliError
|
|
102
|
+
PmCliError,
|
|
103
|
+
resolvePmRoot
|
|
39
104
|
} from "./chunk-HYW67VJ5.js";
|
|
40
105
|
|
|
41
106
|
// dist/cli/register-mutation.js
|
|
@@ -105,6 +170,42 @@ function isPureSnakeCaseAlias(canonicalFlagSpec, aliasFlagSpec) {
|
|
|
105
170
|
});
|
|
106
171
|
}
|
|
107
172
|
|
|
173
|
+
// dist/cli/register-structured-mutation.js
|
|
174
|
+
async function runItemMutateAction(options, command) {
|
|
175
|
+
const globalOptions = getGlobalOptions(command);
|
|
176
|
+
const input = await createStdinTokenResolver().resolveValue("-", "--stdin-json");
|
|
177
|
+
if (input === void 0 || input.trim().length === 0) {
|
|
178
|
+
throw new PmCliError("pm item mutate requires a non-empty JSON batch on stdin.", EXIT_CODE.USAGE);
|
|
179
|
+
}
|
|
180
|
+
const mutations = parseItemMutationBatch(input);
|
|
181
|
+
const transactionId = typeof options.transactionId === "string" ? options.transactionId.trim() : "";
|
|
182
|
+
if (transactionId.length === 0) {
|
|
183
|
+
throw new PmCliError("pm item mutate requires --transaction-id <value>.", EXIT_CODE.USAGE);
|
|
184
|
+
}
|
|
185
|
+
const controls = parseAtomicMutationControls(options);
|
|
186
|
+
if (options.dryRun === true) {
|
|
187
|
+
printResult({
|
|
188
|
+
transaction_id: transactionId,
|
|
189
|
+
dry_run: true,
|
|
190
|
+
mutation_count: mutations.length,
|
|
191
|
+
mutations
|
|
192
|
+
}, globalOptions);
|
|
193
|
+
return;
|
|
194
|
+
}
|
|
195
|
+
const result = await commitItemMutations({
|
|
196
|
+
pmRoot: resolvePmRoot(process.cwd(), globalOptions.path),
|
|
197
|
+
transactionId,
|
|
198
|
+
author: resolveAuthor(typeof options.author === "string" ? options.author : globalOptions.author, "unknown"),
|
|
199
|
+
mutations,
|
|
200
|
+
...controls
|
|
201
|
+
});
|
|
202
|
+
printResult({ ...result, mutation_count: mutations.length }, globalOptions);
|
|
203
|
+
}
|
|
204
|
+
function registerStructuredMutationCommands(program) {
|
|
205
|
+
const itemCommand = program.commands.find((command) => command.name() === "item") ?? program.command("item").description("Run item lifecycle and mutation operations.");
|
|
206
|
+
itemCommand.command("mutate").requiredOption("--transaction-id <value>", "Stable idempotency key used to resume an interrupted batch").option("--stdin-json", "Read the JSON mutation array from stdin", true).option("--dry-run", "Validate and preview the batch without writing").option("--create-compensation <mode>", "Created-item compensation policy: close or delete", "close").option("--lock-ttl-seconds <n>", "Workspace transaction lock lifetime in seconds").option("--lock-wait-ms <n>", "Maximum time to wait for the workspace transaction lock").option("--author <value>", "Mutation author").description("Apply create/update/close mutations atomically through the public pm SDK.").action(runItemMutateAction);
|
|
207
|
+
}
|
|
208
|
+
|
|
108
209
|
// dist/cli/register-mutation.js
|
|
109
210
|
var BUILTIN_TYPE_NAME_LOOKUP = new Set(BUILTIN_ITEM_TYPE_VALUES.map((value) => value.toLowerCase()));
|
|
110
211
|
function addHiddenOption(command, flags, description, repeatable, repeatableParser = void 0) {
|
|
@@ -521,9 +622,38 @@ function assertCreatePositionalTypeHasTitle(positionalType, positionalTitle, opt
|
|
|
521
622
|
]
|
|
522
623
|
});
|
|
523
624
|
}
|
|
625
|
+
var STRUCTURED_STDIN_CONFLICT_KEYS = [
|
|
626
|
+
"body",
|
|
627
|
+
"dep",
|
|
628
|
+
"depRemove",
|
|
629
|
+
"comment",
|
|
630
|
+
"note",
|
|
631
|
+
"learning",
|
|
632
|
+
"file",
|
|
633
|
+
"test",
|
|
634
|
+
"doc",
|
|
635
|
+
"reminder",
|
|
636
|
+
"event",
|
|
637
|
+
"typeOption",
|
|
638
|
+
"field"
|
|
639
|
+
];
|
|
640
|
+
function assertExclusiveStructuredStdin(options) {
|
|
641
|
+
const conflictingFlags = STRUCTURED_STDIN_CONFLICT_KEYS.filter((key) => {
|
|
642
|
+
const value = options[key];
|
|
643
|
+
return value === "-" || Array.isArray(value) && value.includes("-");
|
|
644
|
+
}).map((key) => `--${key.replace(/[A-Z]/g, (letter) => `-${letter.toLowerCase()}`)}`);
|
|
645
|
+
if (conflictingFlags.length > 0) {
|
|
646
|
+
throw new PmCliError(`--stdin-json cannot be combined with other stdin consumers: ${conflictingFlags.join(", ")}`, EXIT_CODE.USAGE);
|
|
647
|
+
}
|
|
648
|
+
}
|
|
524
649
|
async function runCreateAction(typeOrTitle, secondTitle, options, command) {
|
|
525
650
|
const globalOptions = getGlobalOptions(command);
|
|
526
651
|
const startedAt = Date.now();
|
|
652
|
+
if (options.stdinJson === true) {
|
|
653
|
+
assertExclusiveStructuredStdin(options);
|
|
654
|
+
const input = await createStdinTokenResolver().resolveValue("-", "--stdin-json");
|
|
655
|
+
options = itemDocumentToMutationOptions(input ?? "", "create", options);
|
|
656
|
+
}
|
|
527
657
|
const positionals = resolveCreatePositionals(typeOrTitle, secondTitle, options);
|
|
528
658
|
assertCreatePositionalTypeHasTitle(positionals.positionalType, positionals.positionalTitle, options);
|
|
529
659
|
if (typeof positionals.positionalType === "string" && positionals.positionalType.length > 0 && options.type === void 0) {
|
|
@@ -537,7 +667,7 @@ async function runCreateAction(typeOrTitle, secondTitle, options, command) {
|
|
|
537
667
|
delete options.bodyFile;
|
|
538
668
|
}
|
|
539
669
|
const normalized = normalizeCreateOptions(options, { requireType: false });
|
|
540
|
-
const { runCreate } = await import("./create-
|
|
670
|
+
const { runCreate } = await import("./create-EIFBIVNQ.js");
|
|
541
671
|
const result = await runCreate(normalized, globalOptions);
|
|
542
672
|
await invalidateSearchCachesForMutation(globalOptions, result);
|
|
543
673
|
printResult(result, globalOptions);
|
|
@@ -570,7 +700,7 @@ function buildCloseManyListOptions(options) {
|
|
|
570
700
|
async function runCloseManyAction(options, command) {
|
|
571
701
|
const globalOptions = getGlobalOptions(command);
|
|
572
702
|
const startedAt = Date.now();
|
|
573
|
-
const { runCloseMany } = await import("./close-many-
|
|
703
|
+
const { runCloseMany } = await import("./close-many-RZVTUGBG.js");
|
|
574
704
|
const result = await runCloseMany({
|
|
575
705
|
status: readOptionString(options, "filterStatus"),
|
|
576
706
|
list: buildCloseManyListOptions(options),
|
|
@@ -595,7 +725,7 @@ async function runCloseManyAction(options, command) {
|
|
|
595
725
|
async function runUpdateManyAction(options, command) {
|
|
596
726
|
const globalOptions = getGlobalOptions(command);
|
|
597
727
|
const startedAt = Date.now();
|
|
598
|
-
const { runUpdateMany } = await import("./update-many-
|
|
728
|
+
const { runUpdateMany } = await import("./update-many-BDBZVGQL.js");
|
|
599
729
|
const result = await runUpdateMany({
|
|
600
730
|
status: readOptionString(options, "filterStatus"),
|
|
601
731
|
list: buildUpdateManyListOptions(options),
|
|
@@ -698,7 +828,7 @@ function parsePlanReorderTo(normalizedSubcommand, reorderToken) {
|
|
|
698
828
|
async function runPlanAction(subcommand, id, stepRef, reorderToken, options, command) {
|
|
699
829
|
const globalOptions = getGlobalOptions(command);
|
|
700
830
|
const startedAt = Date.now();
|
|
701
|
-
const { runPlan, PLAN_SUBCOMMANDS } = await import("./plan-
|
|
831
|
+
const { runPlan, PLAN_SUBCOMMANDS } = await import("./plan-OFJUBIM5.js");
|
|
702
832
|
const normalizedSubcommand = (subcommand ?? "").trim().toLowerCase();
|
|
703
833
|
assertKnownPlanSubcommand(subcommand, normalizedSubcommand, PLAN_SUBCOMMANDS);
|
|
704
834
|
const planOptions = normalizePlanAliases(options);
|
|
@@ -767,7 +897,7 @@ async function runMergeAction(subcommand, artifact, base, ours, theirs, options,
|
|
|
767
897
|
async function runHistoryCompactAction(id, options, command) {
|
|
768
898
|
const globalOptions = getGlobalOptions(command);
|
|
769
899
|
const startedAt = Date.now();
|
|
770
|
-
const { runHistoryCompact, runHistoryCompactBulk, assertHistoryCompactTarget } = await import("./history-compact-
|
|
900
|
+
const { runHistoryCompact, runHistoryCompactBulk, assertHistoryCompactTarget } = await import("./history-compact-77BT2LUB.js");
|
|
771
901
|
const ids = typeof options.ids === "string" ? splitCommaList(options.ids) : void 0;
|
|
772
902
|
const allOver = parseNonNegativeIntFlag(options.allOver, "--all-over");
|
|
773
903
|
const minEntries = parseNonNegativeIntFlag(options.minEntries, "--min-entries");
|
|
@@ -818,7 +948,7 @@ function splitCollectedCommaList(raw) {
|
|
|
818
948
|
async function runSchemaAction(subcommand, name, options, command) {
|
|
819
949
|
const globalOptions = getGlobalOptions(command);
|
|
820
950
|
const startedAt = Date.now();
|
|
821
|
-
const schemaModule = await import("./schema-
|
|
951
|
+
const schemaModule = await import("./schema-TPVTIJPO.js");
|
|
822
952
|
const { SCHEMA_SUBCOMMANDS } = schemaModule;
|
|
823
953
|
let normalizedSubcommand = (subcommand ?? "").trim().toLowerCase();
|
|
824
954
|
let typeName = name;
|
|
@@ -905,7 +1035,7 @@ async function runCommentsAction(id, text, options, command) {
|
|
|
905
1035
|
const globalOptions = getGlobalOptions(command);
|
|
906
1036
|
const startedAt = Date.now();
|
|
907
1037
|
const sources = resolveCommentSources(text, options);
|
|
908
|
-
const { runComments } = await import("./comments-
|
|
1038
|
+
const { runComments } = await import("./comments-TPU7QRBL.js");
|
|
909
1039
|
const result = await runComments(id, {
|
|
910
1040
|
add: sources.add,
|
|
911
1041
|
stdin: sources.readFromStdin,
|
|
@@ -954,11 +1084,16 @@ async function runFocusAction(id, options, command) {
|
|
|
954
1084
|
async function runUpdateAction(id, options, command) {
|
|
955
1085
|
const globalOptions = getGlobalOptions(command);
|
|
956
1086
|
const startedAt = Date.now();
|
|
1087
|
+
if (options.stdinJson === true) {
|
|
1088
|
+
assertExclusiveStructuredStdin(options);
|
|
1089
|
+
const input = await createStdinTokenResolver().resolveValue("-", "--stdin-json");
|
|
1090
|
+
options = itemDocumentToMutationOptions(input ?? "", "update", options);
|
|
1091
|
+
}
|
|
957
1092
|
if (typeof options.bodyFile === "string") {
|
|
958
1093
|
options.body = await resolveBodyFileContent(options.bodyFile, options.body !== void 0 ? String(options.body) : void 0);
|
|
959
1094
|
delete options.bodyFile;
|
|
960
1095
|
}
|
|
961
|
-
const { runUpdate } = await import("./update-
|
|
1096
|
+
const { runUpdate } = await import("./update-LJZCL5SI.js");
|
|
962
1097
|
const result = await runUpdate(id, normalizeUpdateOptions(options), globalOptions);
|
|
963
1098
|
await invalidateSearchCachesForMutation(globalOptions, result);
|
|
964
1099
|
printResult(await applyActiveCommandResultService("update", [id], options, globalOptions, result), globalOptions);
|
|
@@ -1013,7 +1148,7 @@ function resolveAppendBody(text, options) {
|
|
|
1013
1148
|
async function runAppendAction(id, text, options, command) {
|
|
1014
1149
|
const globalOptions = getGlobalOptions(command);
|
|
1015
1150
|
const startedAt = Date.now();
|
|
1016
|
-
const { runAppend } = await import("./append-
|
|
1151
|
+
const { runAppend } = await import("./append-7OVFYR3C.js");
|
|
1017
1152
|
const result = await runAppend(id, {
|
|
1018
1153
|
body: resolveAppendBody(text, options),
|
|
1019
1154
|
author: readOptionString(options, "author"),
|
|
@@ -1029,7 +1164,7 @@ async function runAppendAction(id, text, options, command) {
|
|
|
1029
1164
|
async function runRestoreAction(id, target, options, command) {
|
|
1030
1165
|
const globalOptions = getGlobalOptions(command);
|
|
1031
1166
|
const startedAt = Date.now();
|
|
1032
|
-
const { runRestore } = await import("./restore-
|
|
1167
|
+
const { runRestore } = await import("./restore-6TDVSATY.js");
|
|
1033
1168
|
const result = await runRestore(id, target, {
|
|
1034
1169
|
author: readOptionString(options, "author"),
|
|
1035
1170
|
message: readOptionString(options, "message"),
|
|
@@ -1044,7 +1179,7 @@ async function runRestoreAction(id, target, options, command) {
|
|
|
1044
1179
|
async function runProfileAction(subcommand, name, options, command) {
|
|
1045
1180
|
const globalOptions = getGlobalOptions(command);
|
|
1046
1181
|
const startedAt = Date.now();
|
|
1047
|
-
const profileModule = await import("./profile-
|
|
1182
|
+
const profileModule = await import("./profile-3THJPIQY.js");
|
|
1048
1183
|
const { PROFILE_SUBCOMMANDS } = profileModule;
|
|
1049
1184
|
const normalizedSubcommand = (subcommand ?? "").trim().toLowerCase();
|
|
1050
1185
|
if (!normalizedSubcommand) {
|
|
@@ -1078,7 +1213,7 @@ async function runNotesAction(id, text, options, command) {
|
|
|
1078
1213
|
const globalOptions = getGlobalOptions(command);
|
|
1079
1214
|
const startedAt = Date.now();
|
|
1080
1215
|
const add = resolveSingleTextSource("note", text, options);
|
|
1081
|
-
const { runNotes } = await import("./notes-
|
|
1216
|
+
const { runNotes } = await import("./notes-ZERD3KB2.js");
|
|
1082
1217
|
const result = await runNotes(id, {
|
|
1083
1218
|
add,
|
|
1084
1219
|
stdin: options.stdin === true,
|
|
@@ -1103,7 +1238,7 @@ async function runLearningsAction(id, text, options, command) {
|
|
|
1103
1238
|
const globalOptions = getGlobalOptions(command);
|
|
1104
1239
|
const startedAt = Date.now();
|
|
1105
1240
|
const add = resolveSingleTextSource("learning", text, options);
|
|
1106
|
-
const { runLearnings } = await import("./learnings-
|
|
1241
|
+
const { runLearnings } = await import("./learnings-KTYW3AL7.js");
|
|
1107
1242
|
const result = await runLearnings(id, {
|
|
1108
1243
|
add,
|
|
1109
1244
|
stdin: options.stdin === true,
|
|
@@ -1134,7 +1269,7 @@ async function runFilesAction(id, options, command) {
|
|
|
1134
1269
|
const addGlobValues = readStringArrayOption(options, "addGlob");
|
|
1135
1270
|
const removeValues = readStringArrayOption(options, "remove");
|
|
1136
1271
|
const migrateValues = readStringArrayOption(options, "migrate");
|
|
1137
|
-
const { runFiles } = await import("./files-
|
|
1272
|
+
const { runFiles } = await import("./files-3H32UQ4K.js");
|
|
1138
1273
|
const result = await runFiles(id, {
|
|
1139
1274
|
add: addValues,
|
|
1140
1275
|
addGlob: addGlobValues,
|
|
@@ -1163,7 +1298,7 @@ async function runFilesDiscoverAction(id, options, command) {
|
|
|
1163
1298
|
...command.optsWithGlobals(),
|
|
1164
1299
|
...options
|
|
1165
1300
|
};
|
|
1166
|
-
const { runFilesDiscover } = await import("./files-
|
|
1301
|
+
const { runFilesDiscover } = await import("./files-3H32UQ4K.js");
|
|
1167
1302
|
const result = await runFilesDiscover(id, {
|
|
1168
1303
|
apply: Boolean(mergedOptions.apply),
|
|
1169
1304
|
note: readOptionString(mergedOptions, "note"),
|
|
@@ -1187,7 +1322,7 @@ async function runDocsAction(id, options, command) {
|
|
|
1187
1322
|
const addGlobValues = readStringArrayOption(options, "addGlob");
|
|
1188
1323
|
const removeValues = readStringArrayOption(options, "remove");
|
|
1189
1324
|
const migrateValues = readStringArrayOption(options, "migrate");
|
|
1190
|
-
const { runDocs } = await import("./docs-
|
|
1325
|
+
const { runDocs } = await import("./docs-G32TK6XS.js");
|
|
1191
1326
|
const result = await runDocs(id, {
|
|
1192
1327
|
add: addValues,
|
|
1193
1328
|
addGlob: addGlobValues,
|
|
@@ -1211,7 +1346,7 @@ async function runDocsAction(id, options, command) {
|
|
|
1211
1346
|
async function runDepsAction(id, options, command) {
|
|
1212
1347
|
const globalOptions = getGlobalOptions(command);
|
|
1213
1348
|
const startedAt = Date.now();
|
|
1214
|
-
const { runDeps } = await import("./deps-
|
|
1349
|
+
const { runDeps } = await import("./deps-UH5EQQUY.js");
|
|
1215
1350
|
const result = await runDeps(id, {
|
|
1216
1351
|
format: options.format,
|
|
1217
1352
|
maxDepth: readOptionString(options, "maxDepth"),
|
|
@@ -1232,13 +1367,14 @@ async function runDepsAction(id, options, command) {
|
|
|
1232
1367
|
function registerMutationCommands(program) {
|
|
1233
1368
|
const createCommand = program.command("create").argument("[typeOrTitle]", 'Item title, or item type when a title follows (e.g. `pm create task "Fix bug"`)').argument("[title]", "Item title when the first argument is an item type").description("Create a new project management item.");
|
|
1234
1369
|
registerCommanderOptionContracts(createCommand, CREATE_COMMANDER_OPTION_REGISTRATION_CONTRACTS);
|
|
1235
|
-
createCommand.option("--body-file <path>", "Load the item markdown body from a file (mutually exclusive with --body)").option("--clear-deps", "Clear dependency entries").option("--clear-comments", "Clear comments").option("--clear-notes", "Clear notes").option("--clear-learnings", "Clear learnings").option("--clear-files", "Clear linked files").option("--clear-tests", "Clear linked tests").option("--clear-docs", "Clear linked docs").option("--clear-reminders", "Clear reminders").option("--clear-events", "Clear events").option("--clear-type-options", "Clear type options").action(runCreateAction);
|
|
1370
|
+
createCommand.option("--stdin-json", "Read a full item JSON document from stdin; explicit flags override document values").option("--body-file <path>", "Load the item markdown body from a file (mutually exclusive with --body)").option("--clear-deps", "Clear dependency entries").option("--clear-comments", "Clear comments").option("--clear-notes", "Clear notes").option("--clear-learnings", "Clear learnings").option("--clear-files", "Clear linked files").option("--clear-tests", "Clear linked tests").option("--clear-docs", "Clear linked docs").option("--clear-reminders", "Clear reminders").option("--clear-events", "Clear events").option("--clear-type-options", "Clear type options").action(runCreateAction);
|
|
1236
1371
|
program.command("copy").argument("<id>", "Source item id").option("--title <value>", "Optional title override for the copied item").option("--author <value>", "Mutation author").option("--message <value>", "History message").description("Copy an item into a new item id while resetting lifecycle fields.").action(runCopyAction);
|
|
1237
1372
|
program.command("focus").argument("[id]", "Item id to focus (omit to show current focus)").option("--clear", "Clear the focused item").description("Set/clear/show the session focused item that new items default --parent to.").action(runFocusAction);
|
|
1238
1373
|
const updateCommand = program.command("update").argument("<id>", "Item id").description("Update item fields and metadata.");
|
|
1239
1374
|
registerCommanderOptionContracts(updateCommand, UPDATE_COMMANDER_OPTION_REGISTRATION_CONTRACTS);
|
|
1240
|
-
updateCommand.option("--body-file <path>", "Load the item markdown body from a file (mutually exclusive with --body)").option("--replace-deps", "Atomically replace dependency entries with the provided --dep values").option("--replace-tests", "Atomically replace linked test entries with the provided --test values").option("--clear-deps", "Clear dependency entries").option("--clear-comments", "Clear comments").option("--clear-notes", "Clear notes").option("--clear-learnings", "Clear learnings").option("--clear-files", "Clear linked files").option("--clear-tests", "Clear linked tests").option("--clear-docs", "Clear linked docs").option("--clear-reminders", "Clear reminders").option("--clear-events", "Clear events").option("--clear-type-options", "Clear type options").option("--force", "Force ownership override");
|
|
1375
|
+
updateCommand.option("--stdin-json", "Read a full item JSON document from stdin; explicit flags override document values").option("--body-file <path>", "Load the item markdown body from a file (mutually exclusive with --body)").option("--replace-deps", "Atomically replace dependency entries with the provided --dep values").option("--replace-tests", "Atomically replace linked test entries with the provided --test values").option("--clear-deps", "Clear dependency entries").option("--clear-comments", "Clear comments").option("--clear-notes", "Clear notes").option("--clear-learnings", "Clear learnings").option("--clear-files", "Clear linked files").option("--clear-tests", "Clear linked tests").option("--clear-docs", "Clear linked docs").option("--clear-reminders", "Clear reminders").option("--clear-events", "Clear events").option("--clear-type-options", "Clear type options").option("--force", "Force ownership override");
|
|
1241
1376
|
updateCommand.action(runUpdateAction);
|
|
1377
|
+
registerStructuredMutationCommands(program);
|
|
1242
1378
|
const updateManyCommand = program.command("update-many").description("Bulk-update matched items with dry-run plans and rollback checkpoints.").option("--filter-status <value>", "Filter by status before applying updates").option("--filter-type <value>", "Filter by item type before applying updates").option("--filter-tag <value>", "Filter by tag before applying updates").option("--filter-priority <value>", "Filter by priority before applying updates").option("--filter-deadline-before <value>", "Filter by deadline upper bound before applying updates").option("--filter-deadline-after <value>", "Filter by deadline lower bound before applying updates").option("--filter-updated-after <value>", "Filter by updated_at lower bound before applying updates (ISO/relative)").option("--filter-updated-before <value>", "Filter by updated_at upper bound before applying updates (ISO/relative)").option("--filter-created-after <value>", "Filter by created_at lower bound before applying updates (ISO/relative)").option("--filter-created-before <value>", "Filter by created_at upper bound before applying updates (ISO/relative)").option("--filter-assignee <value>", "Filter by assignee before applying updates").option("--filter-assignee-filter <value>", "Filter assignee presence: assigned|unassigned before applying updates").option("--filter-parent <value>", "Filter by parent item ID before applying updates").option("--filter-sprint <value>", "Filter by sprint before applying updates").option("--filter-release <value>", "Filter by release before applying updates").option("--filter-ac-missing", "Select only items missing acceptance_criteria (bulk backfill)").option("--filter-estimates-missing", "Select only items missing estimated_minutes (bulk backfill)").option("--filter-resolution-missing", "Select only terminal items missing resolution (bulk backfill)").option("--filter-metadata-missing", "Select only items missing any tracked metadata (AC, estimate, or resolution)");
|
|
1243
1379
|
registerBulkContentAndGovernanceFilters(updateManyCommand, "applying updates");
|
|
1244
1380
|
updateManyCommand.option("--ids <value>", "Restrict to an explicit comma-separated ID allowlist (intersected with other filters)").option("--limit <n>", "Limit matched item count before apply/preview").option("--offset <n>", "Skip first n matched rows before apply/preview").option("--dry-run", "Preview per-item diffs and checkpoint intent without mutating").option("--rollback <value>", "Rollback a prior update-many checkpoint ID").option("--no-checkpoint", "Disable checkpoint creation during apply mode").option("--title, -t <value>", "Set title").option("--description, -d <value>", "Set description").option("--body, -b <value>", "Set body (allow empty string)").option("--status, -s <value>", "Set status (use close command for closed)").option("--priority, -p <value>", "Set priority").option("--type <value>", "Set type").option("--tags <value>", "Set comma-separated tags (replaces existing). Use --add-tags / --remove-tags to mutate additively.").option("--add-tags <value>", "Add tags additively without replacing existing (repeatable; CSV accepted)", collect).option("--remove-tags <value>", "Remove tags from the existing list (repeatable; CSV accepted)", collect).option("--deadline <value>", "Set deadline (ISO/date string or relative)").option("--estimate, --estimated-minutes <value>", "Set estimated minutes").option("--acceptance-criteria <value>", "Set acceptance criteria").option("--ac <value>", "Alias for --acceptance-criteria").option("--add-ac <value>", "Add one semicolon-free acceptance criterion without replacing the existing list (repeatable)", collect).option("--remove-ac <value>", "Remove one semicolon-free acceptance criterion by exact text match (repeatable)", collect).option("--definition-of-ready <value>", "Set definition of ready").option("--order <value>", "Set planning order/rank integer").option("--rank <value>", "Alias for --order").option("--goal <value>", "Set goal identifier").option("--objective <value>", "Set objective identifier").option("--value <value>", "Set business value summary").option("--impact <value>", "Set business impact summary").option("--outcome <value>", "Set expected outcome summary").option("--why-now <value>", "Set why-now rationale").option("--assignee <value>", "Set assignee").option("--parent <value>", "Set parent item ID").option("--reviewer <value>", "Set reviewer").option("--risk <value>", "Set risk level").option("--confidence <value>", "Set confidence level").option("--sprint <value>", "Set sprint identifier").option("--release <value>", "Set release identifier").option("--blocked-by <value>", "Set blocked-by item ID or reason").option("--blocked-reason <value>", "Set blocked reason").option("--unblock-note <value>", "Set unblock rationale note").option("--reporter <value>", "Set issue reporter").option("--severity <value>", "Set issue severity").option("--environment <value>", "Set issue environment context").option("--repro-steps <value>", "Set issue reproduction steps").option("--resolution <value>", "Set issue resolution summary").option("--expected-result <value>", "Set issue expected behavior").option("--expected <value>", "Short alias for --expected-result").option("--actual-result <value>", "Set issue observed behavior").option("--actual <value>", "Short alias for --actual-result").option("--affected-version <value>", "Set affected version identifier").option("--fixed-version <value>", "Set fixed version identifier").option("--component <value>", "Set issue component ownership").option("--regression <value>", "Set regression marker: true|false|1|0").option("--customer-impact <value>", "Set customer impact summary").option("--dep <value>", "Add dependency entry id=<id>,kind=<kind>,author=<author>,created_at=<timestamp>", collect).option("--dep-remove <value>", "Remove dependency entries by id/kind/author/timestamp signature", collect).option("--replace-deps", "Atomically replace dependency entries with provided --dep values").option("--replace-tests", "Atomically replace linked tests with provided --test values").option("--comment <value>", "Add comment seed author=<value>,created_at=<iso|now>,text=<value>", collect).option("--note <value>", "Add note seed author=<value>,created_at=<iso|now>,text=<value>", collect).option("--learning <value>", "Add learning seed author=<value>,created_at=<iso|now>,text=<value>", collect).option("--file <value>", "Add linked file path=<value>,scope=<project|global>,note=<text>", collect).option("--test <value>", "Add linked test command=<value>,path=<value>,scope=<project|global>", collect).option("--doc <value>", "Add linked doc path=<value>,scope=<project|global>,note=<text>", collect).option("--reminder <value>", "Add reminder entry at=<iso|relative>|date=<iso|relative>,text=<text>|title=<text>", collect).option("--event <value>", "Add event entry start=<iso|relative>,end=<iso|relative>,recur_*", collect).option("--type-option <value>", "Set type options key=value (repeatable)", collect).option("--unset <field>", "Clear scalar metadata field by name (repeatable)", collect).option("--clear-deps", "Clear dependency entries").option("--clear-comments", "Clear comments").option("--clear-notes", "Clear notes").option("--clear-learnings", "Clear learnings").option("--clear-files", "Clear linked files").option("--clear-tests", "Clear linked tests").option("--clear-docs", "Clear linked docs").option("--clear-reminders", "Clear reminders").option("--clear-events", "Clear events").option("--clear-type-options", "Clear type options").option("--author <value>", "Mutation author").option("--message <value>", "Mutation message").option("--force", "Force ownership override");
|
|
@@ -1320,7 +1456,7 @@ function registerMutationCommands(program) {
|
|
|
1320
1456
|
program.command("history-redact").argument("<id>", "Item id").option("--literal <value>", "Literal string to redact (repeatable)", collect).option("--regex <value>", "Regex pattern to redact (repeatable; accepts /pattern/flags or raw pattern)", collect).option("--replacement <value>", 'Replacement string (default: "[redacted]")').option("--dry-run", "Preview redaction impact without writing item/history files").option("--author <value>", "Mutation author").option("--message <value>", "Audit history message for the redaction marker entry").option("--force", "Force ownership/lock override").description("Redact sensitive literals/patterns from an item history stream and recompute hashes.").action(async (id, options, command) => {
|
|
1321
1457
|
const globalOptions = getGlobalOptions(command);
|
|
1322
1458
|
const startedAt = Date.now();
|
|
1323
|
-
const { runHistoryRedact } = await import("./history-redact-
|
|
1459
|
+
const { runHistoryRedact } = await import("./history-redact-LJPZPNFA.js");
|
|
1324
1460
|
const literal = Array.isArray(options.literal) ? options.literal : void 0;
|
|
1325
1461
|
const regex = Array.isArray(options.regex) ? options.regex : void 0;
|
|
1326
1462
|
const result = await runHistoryRedact(id, {
|
|
@@ -1343,7 +1479,7 @@ function registerMutationCommands(program) {
|
|
|
1343
1479
|
program.command("history-repair").argument("[id]", "Item id (omit with --all)").option("--all", "Scan every stream for drift and repair each drifted stream in one audited pass").option("--dry-run", "Preview the re-anchor impact without writing the history file").option("--author <value>", "Mutation author").option("--message <value>", "Audit history message for the repair marker entry").option("--force", "Force ownership/lock override").description("Re-anchor a drifted item history chain (recompute hashes, reconcile with the on-disk item) and record an audit marker. Use --all to repair every drifted stream.").action(async (id, options, command) => {
|
|
1344
1480
|
const globalOptions = getGlobalOptions(command);
|
|
1345
1481
|
const startedAt = Date.now();
|
|
1346
|
-
const { runHistoryRepair, runHistoryRepairAll, assertHistoryRepairTarget } = await import("./history-repair-
|
|
1482
|
+
const { runHistoryRepair, runHistoryRepairAll, assertHistoryRepairTarget } = await import("./history-repair-I7CBNCV3.js");
|
|
1347
1483
|
const all = options.all === true;
|
|
1348
1484
|
assertHistoryRepairTarget(id, all);
|
|
1349
1485
|
const repairOptions = {
|
|
@@ -1391,6 +1527,6 @@ export {
|
|
|
1391
1527
|
registerCommanderOptionContracts,
|
|
1392
1528
|
registerMutationCommands
|
|
1393
1529
|
};
|
|
1394
|
-
//# sourceMappingURL=register-mutation-
|
|
1530
|
+
//# sourceMappingURL=register-mutation-HLWC2WNP.js.map
|
|
1395
1531
|
|
|
1396
|
-
//# debugId=
|
|
1532
|
+
//# debugId=d6b8a3b8-6928-5d98-b207-7eb2e18bb34a
|