@unbrained/pm-cli 2026.6.11 → 2026.6.13
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/CHANGELOG.md +47 -0
- package/README.md +1 -1
- package/dist/cli/commands/completion.js +20 -8
- package/dist/cli/commands/completion.js.map +1 -1
- package/dist/cli/commands/create.js +13 -3
- package/dist/cli/commands/create.js.map +1 -1
- package/dist/cli/commands/docs.d.ts +2 -0
- package/dist/cli/commands/docs.js +2 -2
- package/dist/cli/commands/docs.js.map +1 -1
- package/dist/cli/commands/files.d.ts +2 -0
- package/dist/cli/commands/files.js +2 -2
- package/dist/cli/commands/files.js.map +1 -1
- package/dist/cli/commands/health.d.ts +1 -1
- package/dist/cli/commands/health.js +77 -2
- package/dist/cli/commands/health.js.map +1 -1
- package/dist/cli/commands/history-repair.d.ts +36 -0
- package/dist/cli/commands/history-repair.js +68 -3
- package/dist/cli/commands/history-repair.js.map +1 -1
- package/dist/cli/commands/index.d.ts +1 -1
- package/dist/cli/commands/index.js +3 -3
- package/dist/cli/commands/index.js.map +1 -1
- package/dist/cli/commands/linked-artifacts.d.ts +18 -0
- package/dist/cli/commands/linked-artifacts.js +26 -3
- package/dist/cli/commands/linked-artifacts.js.map +1 -1
- package/dist/cli/commands/plan.d.ts +6 -0
- package/dist/cli/commands/plan.js +93 -32
- package/dist/cli/commands/plan.js.map +1 -1
- package/dist/cli/commands/validate.d.ts +20 -0
- package/dist/cli/commands/validate.js +292 -28
- package/dist/cli/commands/validate.js.map +1 -1
- package/dist/cli/error-guidance.js +29 -2
- package/dist/cli/error-guidance.js.map +1 -1
- package/dist/cli/help-content.js +7 -3
- package/dist/cli/help-content.js.map +1 -1
- package/dist/cli/main.js +13 -3
- package/dist/cli/main.js.map +1 -1
- package/dist/cli/register-mutation.js +47 -16
- package/dist/cli/register-mutation.js.map +1 -1
- package/dist/cli/register-operations.js +10 -2
- package/dist/cli/register-operations.js.map +1 -1
- package/dist/cli/register-setup.js +16 -16
- package/dist/cli/register-setup.js.map +1 -1
- package/dist/cli-bundle/chunks/{activity-XADJOG6G.js → activity-PPO7QWJF.js} +11 -11
- package/dist/cli-bundle/chunks/activity-XIOTGZMU.js +16 -0
- package/dist/cli-bundle/chunks/{aggregate-6OTS3AOO.js → aggregate-IRHJWEKG.js} +10 -10
- package/dist/cli-bundle/chunks/{aggregate-OD36DJU5.js → aggregate-XEBW22UQ.js} +10 -10
- package/dist/cli-bundle/chunks/{append-JYWO4P7W.js → append-N2AWXKZC.js} +8 -8
- package/dist/cli-bundle/chunks/{append-KG55G7S3.js → append-NL67JNJU.js} +8 -8
- package/dist/cli-bundle/chunks/{chunk-IH4MBKK7.js → chunk-2ANTZBYF.js} +5 -5
- package/dist/cli-bundle/chunks/{chunk-F75JSIOZ.js → chunk-2J2AH4V5.js} +6 -6
- package/dist/cli-bundle/chunks/{chunk-CCX4RSYZ.js → chunk-32XSW44C.js} +2 -2
- package/dist/cli-bundle/chunks/{chunk-DY6C42S6.js → chunk-36BCSMKP.js} +9 -9
- package/dist/cli-bundle/chunks/{chunk-XUC4C4PT.js → chunk-3CQPVBK3.js} +3 -3
- package/dist/cli-bundle/chunks/{chunk-SXKNJPQ7.js → chunk-3FMQMHAG.js} +3 -3
- package/dist/cli-bundle/chunks/{chunk-I7NYDZDV.js → chunk-3VULHQNS.js} +2 -2
- package/dist/cli-bundle/chunks/{chunk-HHHJ2GI3.js → chunk-4FHLNNW7.js} +8 -8
- package/dist/cli-bundle/chunks/{chunk-RXAP6JL5.js → chunk-4JHJ7YG2.js} +9 -9
- package/dist/cli-bundle/chunks/{chunk-P5BJOMBB.js → chunk-4TPFXE2R.js} +9 -9
- package/dist/cli-bundle/chunks/{chunk-XJDGS74Y.js → chunk-4ZKKZMLH.js} +8 -8
- package/dist/cli-bundle/chunks/{chunk-XJDGS74Y.js.map → chunk-4ZKKZMLH.js.map} +1 -1
- package/dist/cli-bundle/chunks/{chunk-3SLOMKCJ.js → chunk-5HSAHRYA.js} +12 -12
- package/dist/cli-bundle/chunks/{chunk-ZLMIWZUG.js → chunk-5LMF75Q7.js} +2 -2
- package/dist/cli-bundle/chunks/{chunk-TK5VZFHY.js → chunk-6TBR5AZ2.js} +7 -7
- package/dist/cli-bundle/chunks/{chunk-ATEES5SX.js → chunk-6ZFTM65G.js} +2 -2
- package/dist/cli-bundle/chunks/{chunk-P2PSODAQ.js → chunk-7CRFV6JR.js} +111 -10
- package/dist/cli-bundle/chunks/chunk-7CRFV6JR.js.map +7 -0
- package/dist/cli-bundle/chunks/{chunk-VFUZV5EB.js → chunk-7SM7VA5I.js} +5 -5
- package/dist/cli-bundle/chunks/{chunk-GKIZW7SM.js → chunk-AAUYXSFF.js} +3 -3
- package/dist/cli-bundle/chunks/{chunk-FXRU333M.js → chunk-AGG32LKL.js} +111 -10
- package/dist/cli-bundle/chunks/chunk-AGG32LKL.js.map +1 -0
- package/dist/cli-bundle/chunks/{chunk-OASDW5UI.js → chunk-AUDDXKNX.js} +7 -7
- package/dist/cli-bundle/chunks/{chunk-ZMW77VWV.js → chunk-BVL5KGVA.js} +9 -9
- package/dist/cli-bundle/chunks/{chunk-4JCSYR6F.js → chunk-C24PWDFG.js} +3 -3
- package/dist/cli-bundle/chunks/{chunk-4HFU4UO2.js → chunk-CEGUH2E5.js} +3 -3
- package/dist/cli-bundle/chunks/{chunk-Y3YKK7CY.js → chunk-DWG4FHPY.js} +2 -2
- package/dist/cli-bundle/chunks/chunk-EKS6O2IR.js +217 -0
- package/dist/cli-bundle/chunks/chunk-EKS6O2IR.js.map +1 -0
- package/dist/cli-bundle/chunks/{chunk-YW6Q3RYZ.js → chunk-GFBEXDCQ.js} +7 -7
- package/dist/cli-bundle/chunks/{chunk-XMBI6TNW.js → chunk-GOO4UXBI.js} +4 -4
- package/dist/cli-bundle/chunks/{chunk-IGVJRZ6H.js → chunk-GRZGHGRG.js} +8 -8
- package/dist/cli-bundle/chunks/{chunk-E5DUIJA4.js → chunk-HLEGAQXT.js} +20 -7
- package/dist/cli-bundle/chunks/chunk-HLEGAQXT.js.map +7 -0
- package/dist/cli-bundle/chunks/chunk-HWHONML5.js +190 -0
- package/dist/cli-bundle/chunks/chunk-HWHONML5.js.map +7 -0
- package/dist/cli-bundle/chunks/{chunk-TNAP7EJX.js → chunk-HZOX5BYD.js} +2 -2
- package/dist/cli-bundle/chunks/{chunk-VSRZRLG3.js → chunk-IIOIBAQW.js} +3 -3
- package/dist/cli-bundle/chunks/{chunk-IUKD4W6Z.js → chunk-IXVSSHGV.js} +2 -2
- package/dist/cli-bundle/chunks/{chunk-WUNFKP7M.js → chunk-IZHCCG4S.js} +2 -2
- package/dist/cli-bundle/chunks/{chunk-VAOUX6TK.js → chunk-JCTZV7TO.js} +2 -2
- package/dist/cli-bundle/chunks/{chunk-ZYNJNPYD.js → chunk-JE5IZXDS.js} +4 -4
- package/dist/cli-bundle/chunks/{chunk-QNJSITCX.js → chunk-JW7D6437.js} +7 -7
- package/dist/cli-bundle/chunks/{chunk-B65UUCGQ.js → chunk-JWXTOYBI.js} +5 -5
- package/dist/cli-bundle/chunks/{chunk-7RIT3OCD.js → chunk-KHGTYCJ6.js} +12 -12
- package/dist/cli-bundle/chunks/{chunk-HI7STVF2.js → chunk-L6YQONLM.js} +11 -27
- package/dist/cli-bundle/chunks/chunk-L6YQONLM.js.map +1 -0
- package/dist/cli-bundle/chunks/{chunk-FY4SPXSC.js → chunk-LFW5NQUP.js} +59 -86
- package/dist/cli-bundle/chunks/chunk-LFW5NQUP.js.map +7 -0
- package/dist/cli-bundle/chunks/{chunk-VPEAS7PS.js → chunk-LGOXXQUW.js} +2 -2
- package/dist/cli-bundle/chunks/{chunk-I2IJY2NL.js → chunk-LOAR5TKX.js} +2 -2
- package/dist/cli-bundle/chunks/{chunk-S26FESD4.js → chunk-LSSTKL3Y.js} +3 -3
- package/dist/cli-bundle/chunks/{chunk-CW6E4NAT.js → chunk-LYNQ3NGI.js} +8 -8
- package/dist/cli-bundle/chunks/{chunk-4YFAGDRH.js → chunk-M3SI2REU.js} +8 -8
- package/dist/cli-bundle/chunks/{chunk-73ZPG2I3.js → chunk-MACCNKSZ.js} +3 -3
- package/dist/cli-bundle/chunks/{chunk-IKOH24GZ.js → chunk-MGAQ6KZG.js} +20 -15
- package/dist/cli-bundle/chunks/{chunk-IKOH24GZ.js.map → chunk-MGAQ6KZG.js.map} +2 -2
- package/dist/cli-bundle/chunks/chunk-NAWVUHXH.js +220 -0
- package/dist/cli-bundle/chunks/chunk-NAWVUHXH.js.map +7 -0
- package/dist/cli-bundle/chunks/{chunk-P5U5EOMA.js → chunk-NN6RKGFW.js} +3 -3
- package/dist/cli-bundle/chunks/{chunk-GWZSYR6X.js → chunk-O3YCJOVX.js} +2 -2
- package/dist/cli-bundle/chunks/{chunk-7UGSRQCL.js → chunk-PEH7SZD2.js} +7 -7
- package/dist/cli-bundle/chunks/{chunk-7UGSRQCL.js.map → chunk-PEH7SZD2.js.map} +2 -2
- package/dist/cli-bundle/chunks/{chunk-UOO6BYIA.js → chunk-PNYAAB4S.js} +21 -188
- package/dist/cli-bundle/chunks/chunk-PNYAAB4S.js.map +1 -0
- package/dist/cli-bundle/chunks/{chunk-UUWGCWBU.js → chunk-QQG4HEX7.js} +3 -3
- package/dist/cli-bundle/chunks/{chunk-XTKJSVWH.js → chunk-QU3OPNVV.js} +2 -2
- package/dist/cli-bundle/chunks/{chunk-LCSCXBGT.js → chunk-R4VWYWRN.js} +19 -193
- package/dist/cli-bundle/chunks/chunk-R4VWYWRN.js.map +7 -0
- package/dist/cli-bundle/chunks/{chunk-PSD7F7DX.js → chunk-RFR2YQGO.js} +21 -8
- package/dist/cli-bundle/chunks/chunk-RFR2YQGO.js.map +1 -0
- package/dist/cli-bundle/chunks/{chunk-EWFY7SLA.js → chunk-RHYBR6G7.js} +8 -8
- package/dist/cli-bundle/chunks/{chunk-A6LXQFO7.js → chunk-S2CDTRJ6.js} +52 -79
- package/dist/cli-bundle/chunks/chunk-S2CDTRJ6.js.map +1 -0
- package/dist/cli-bundle/chunks/{chunk-J3GD64J2.js → chunk-SGMGMCIF.js} +21 -16
- package/dist/cli-bundle/chunks/{chunk-J3GD64J2.js.map → chunk-SGMGMCIF.js.map} +1 -1
- package/dist/cli-bundle/chunks/{chunk-S2ZLDYGS.js → chunk-SOHXUA2Q.js} +4 -4
- package/dist/cli-bundle/chunks/{chunk-KWAXVAXX.js → chunk-SQDKAEKG.js} +4 -4
- package/dist/cli-bundle/chunks/{chunk-7IYFN5R7.js → chunk-TOX7YQ7X.js} +3 -3
- package/dist/cli-bundle/chunks/{chunk-FDH2X65L.js → chunk-TSXWFN3L.js} +2 -2
- package/dist/cli-bundle/chunks/{chunk-OLKBSY4N.js → chunk-UCVJP4JL.js} +2 -2
- package/dist/cli-bundle/chunks/{chunk-AVGHVVF7.js → chunk-V4KP3TCN.js} +3 -3
- package/dist/cli-bundle/chunks/{chunk-QKW5D45B.js → chunk-VNC2HBL4.js} +5 -5
- package/dist/cli-bundle/chunks/{chunk-QJMGRZO2.js → chunk-VYZNX4C5.js} +3 -3
- package/dist/cli-bundle/chunks/{chunk-5SCT2JCT.js → chunk-W6KNFAMZ.js} +2 -2
- package/dist/cli-bundle/chunks/{chunk-I53JBTJW.js → chunk-WLH7X4RN.js} +6 -6
- package/dist/cli-bundle/chunks/{chunk-ESANVZF4.js → chunk-XOYHMHFF.js} +3 -3
- package/dist/cli-bundle/chunks/{chunk-HGLC63AU.js → chunk-XWDZVCBJ.js} +8 -8
- package/dist/cli-bundle/chunks/{chunk-3KLPFWZ4.js → chunk-XXLMJDUB.js} +10 -26
- package/dist/cli-bundle/chunks/chunk-XXLMJDUB.js.map +7 -0
- package/dist/cli-bundle/chunks/chunk-Z647PYLD.js +187 -0
- package/dist/cli-bundle/chunks/chunk-Z647PYLD.js.map +1 -0
- package/dist/cli-bundle/chunks/{claim-MJ7DZFC3.js → claim-HE6KEGJW.js} +10 -10
- package/dist/cli-bundle/chunks/{claim-2RDYMCTP.js → claim-QJOQBH7J.js} +10 -10
- package/dist/cli-bundle/chunks/{close-XLEKIQSW.js → close-SPUFW5QR.js} +8 -8
- package/dist/cli-bundle/chunks/close-WOG5WTMZ.js +13 -0
- package/dist/cli-bundle/chunks/{close-many-AOD4HSAZ.js → close-many-GKAJX54X.js} +15 -15
- package/dist/cli-bundle/chunks/{close-many-XKAQY5CQ.js → close-many-GL6NRUU5.js} +15 -15
- package/dist/cli-bundle/chunks/{comments-RN5TG4ZN.js → comments-5FPT6L7N.js} +10 -10
- package/dist/cli-bundle/chunks/{comments-B4RWWDJT.js → comments-TOLOYWNI.js} +10 -10
- package/dist/cli-bundle/chunks/{config-3JXJ3XZ7.js → config-4MN45TIH.js} +8 -8
- package/dist/cli-bundle/chunks/{config-FZ4UDC4B.js → config-7N6D7YJE.js} +8 -8
- package/dist/cli-bundle/chunks/{context-QBPO3BFM.js → context-AQSLE7DZ.js} +13 -13
- package/dist/cli-bundle/chunks/{context-L36PIN35.js → context-U3PUJMVN.js} +13 -13
- package/dist/cli-bundle/chunks/{contracts-MIXBWJIB.js → contracts-H7KCQXLY.js} +4 -4
- package/dist/cli-bundle/chunks/{contracts-3NKWYKKU.js → contracts-ITSJXO3O.js} +4 -4
- package/dist/cli-bundle/chunks/{copy-ALU5WMHA.js → copy-C4W522JM.js} +7 -7
- package/dist/cli-bundle/chunks/{copy-FWIVTLBO.js → copy-EB3MUCSW.js} +7 -7
- package/dist/cli-bundle/chunks/{create-IFA26O2I.js → create-4EQNELMY.js} +13 -13
- package/dist/cli-bundle/chunks/create-NW3K7LVG.js +27 -0
- package/dist/cli-bundle/chunks/{delete-IYTIYAJS.js → delete-X5QLXIQX.js} +7 -7
- package/dist/cli-bundle/chunks/{delete-Y2SGJBGY.js → delete-ZLGUYIXU.js} +7 -7
- package/dist/cli-bundle/chunks/{deps-CZ4PTVXU.js → deps-GPB3LGWN.js} +7 -7
- package/dist/cli-bundle/chunks/{deps-6TSPOSGU.js → deps-HV2C2L46.js} +7 -7
- package/dist/cli-bundle/chunks/{docs-5WMBVQT2.js → docs-RJQPLROO.js} +11 -11
- package/dist/cli-bundle/chunks/docs-RJQPLROO.js.map +1 -0
- package/dist/cli-bundle/chunks/{docs-MB53UJAJ.js → docs-SRTLCQOL.js} +10 -10
- package/dist/cli-bundle/chunks/docs-SRTLCQOL.js.map +7 -0
- package/dist/cli-bundle/chunks/{extension-Q34OEWO5.js → extension-MM3TVWOO.js} +5 -5
- package/dist/cli-bundle/chunks/{extension-WH2FOIOZ.js → extension-WKPVPNCC.js} +5 -5
- package/dist/cli-bundle/chunks/{files-GVMNVLCB.js → files-LIFDKNCN.js} +10 -10
- package/dist/cli-bundle/chunks/files-LIFDKNCN.js.map +7 -0
- package/dist/cli-bundle/chunks/{files-DLB5LJEP.js → files-OIFN3DQX.js} +11 -11
- package/dist/cli-bundle/chunks/files-OIFN3DQX.js.map +1 -0
- package/dist/cli-bundle/chunks/{gc-4Z3IKHAZ.js → gc-DL6AVOX5.js} +12 -181
- package/dist/cli-bundle/chunks/gc-DL6AVOX5.js.map +7 -0
- package/dist/cli-bundle/chunks/{gc-2WEPW6D6.js → gc-NRFHLVFT.js} +14 -176
- package/dist/cli-bundle/chunks/gc-NRFHLVFT.js.map +1 -0
- package/dist/cli-bundle/chunks/{get-QARTE6BL.js → get-K7UULTQF.js} +11 -11
- package/dist/cli-bundle/chunks/{get-PCHS7RA6.js → get-SAB7CRBG.js} +11 -11
- package/dist/cli-bundle/chunks/{health-4ZYB3IYQ.js → health-NUVZYIEV.js} +83 -16
- package/dist/cli-bundle/chunks/health-NUVZYIEV.js.map +1 -0
- package/dist/cli-bundle/chunks/{health-YO5LRWN4.js → health-VJWH3ZFK.js} +82 -15
- package/dist/cli-bundle/chunks/health-VJWH3ZFK.js.map +7 -0
- package/dist/cli-bundle/chunks/{history-7WUAEWHW.js → history-GYFD2DJW.js} +10 -10
- package/dist/cli-bundle/chunks/history-IUVN4NTN.js +20 -0
- package/dist/cli-bundle/chunks/{history-compact-3EJ3L2O7.js → history-compact-SLL6ESXH.js} +11 -11
- package/dist/cli-bundle/chunks/{history-compact-LW27IPFK.js → history-compact-WQZQ6KXM.js} +11 -11
- package/dist/cli-bundle/chunks/history-redact-75KIIJUJ.js +19 -0
- package/dist/cli-bundle/chunks/{history-redact-G72A4EJ4.js → history-redact-SDTDR6WM.js} +11 -11
- package/dist/cli-bundle/chunks/{history-repair-RUGKD3YR.js → history-repair-BJCGM6Q3.js} +72 -14
- package/dist/cli-bundle/chunks/history-repair-BJCGM6Q3.js.map +1 -0
- package/dist/cli-bundle/chunks/{history-repair-KVPFJKOS.js → history-repair-UCYS55ZX.js} +71 -13
- package/dist/cli-bundle/chunks/history-repair-UCYS55ZX.js.map +7 -0
- package/dist/cli-bundle/chunks/init-JJFYRUKG.js +17 -0
- package/dist/cli-bundle/chunks/{init-S5WEGUJY.js → init-MXV57LKL.js} +9 -9
- package/dist/cli-bundle/chunks/{learnings-HQXSSKZ5.js → learnings-L6KTZGOT.js} +10 -10
- package/dist/cli-bundle/chunks/{learnings-XK3P4ZDR.js → learnings-QKJOKEAO.js} +10 -10
- package/dist/cli-bundle/chunks/{list-6CL3XFT6.js → list-GGVPXEV6.js} +10 -10
- package/dist/cli-bundle/chunks/list-VOQDQHA4.js +19 -0
- package/dist/cli-bundle/chunks/{notes-5T6P7C5V.js → notes-3NLK7WTZ.js} +10 -10
- package/dist/cli-bundle/chunks/{notes-U5FZCSBT.js → notes-HMCB7TK6.js} +10 -10
- package/dist/cli-bundle/chunks/{plan-VNUG3WZZ.js → plan-DWBYI5C6.js} +63 -23
- package/dist/cli-bundle/chunks/plan-DWBYI5C6.js.map +1 -0
- package/dist/cli-bundle/chunks/{plan-FQLMJRLZ.js → plan-NANUWH4T.js} +62 -22
- package/dist/cli-bundle/chunks/plan-NANUWH4T.js.map +7 -0
- package/dist/cli-bundle/chunks/{register-list-query-VHDXWEPP.js → register-list-query-PWQ5F2VI.js} +18 -18
- package/dist/cli-bundle/chunks/{register-list-query-NPE3ECJQ.js → register-list-query-SMMMLSWW.js} +18 -18
- package/dist/cli-bundle/chunks/{register-mutation-EAYNLGOS.js → register-mutation-QKFPTIZG.js} +64 -47
- package/dist/cli-bundle/chunks/{register-mutation-EAYNLGOS.js.map → register-mutation-QKFPTIZG.js.map} +2 -2
- package/dist/cli-bundle/chunks/{register-mutation-DG53FCBV.js → register-mutation-ZYJQ4DVP.js} +65 -48
- package/dist/cli-bundle/chunks/{register-mutation-DG53FCBV.js.map → register-mutation-ZYJQ4DVP.js.map} +1 -1
- package/dist/cli-bundle/chunks/{register-operations-FWFE64JG.js → register-operations-2FMZ6WEF.js} +37 -33
- package/dist/cli-bundle/chunks/{register-operations-FWFE64JG.js.map → register-operations-2FMZ6WEF.js.map} +2 -2
- package/dist/cli-bundle/chunks/{register-operations-AM6KTWB6.js → register-operations-BAFQURZG.js} +38 -34
- package/dist/cli-bundle/chunks/register-operations-BAFQURZG.js.map +1 -0
- package/dist/cli-bundle/chunks/{register-setup-G4QYI3RX.js → register-setup-DQEIKBIP.js} +30 -30
- package/dist/cli-bundle/chunks/register-setup-DQEIKBIP.js.map +7 -0
- package/dist/cli-bundle/chunks/{register-setup-IKX5524L.js → register-setup-QN2XV7UL.js} +31 -31
- package/dist/cli-bundle/chunks/register-setup-QN2XV7UL.js.map +1 -0
- package/dist/cli-bundle/chunks/restore-DRBNXJJH.js +17 -0
- package/dist/cli-bundle/chunks/{restore-M6AFHMV4.js → restore-FJQWXMPY.js} +11 -11
- package/dist/cli-bundle/chunks/{schema-AINZ2IMM.js → schema-RNVJ55V2.js} +8 -8
- package/dist/cli-bundle/chunks/{schema-76HDZJCC.js → schema-ZZ7ZDM2X.js} +8 -8
- package/dist/cli-bundle/chunks/{search-JMLFQEPJ.js → search-BJ457C2A.js} +10 -10
- package/dist/cli-bundle/chunks/{search-NL3TSCYB.js → search-FQDZXX7P.js} +10 -10
- package/dist/cli-bundle/chunks/{stats-UBD56TGK.js → stats-CUG3ZHOI.js} +7 -7
- package/dist/cli-bundle/chunks/{stats-BKXCBIGT.js → stats-DUQWCVOS.js} +7 -7
- package/dist/cli-bundle/chunks/{telemetry-ZJXK3H7X.js → telemetry-33MRGX4Z.js} +4 -4
- package/dist/cli-bundle/chunks/{telemetry-N454RHG5.js → telemetry-RK2VX75A.js} +4 -4
- package/dist/cli-bundle/chunks/test-SDMYEQHH.js +32 -0
- package/dist/cli-bundle/chunks/{test-BQAKIXAT.js → test-Y3CTFMEC.js} +14 -14
- package/dist/cli-bundle/chunks/{test-all-7LV3I6S5.js → test-all-ANYQ33O2.js} +14 -14
- package/dist/cli-bundle/chunks/{test-all-TDYCCBA4.js → test-all-ARSMX33Q.js} +14 -14
- package/dist/cli-bundle/chunks/{test-runs-E64M6XS3.js → test-runs-5URSD34O.js} +5 -5
- package/dist/cli-bundle/chunks/{test-runs-LXZLULCI.js → test-runs-XNACGSNQ.js} +5 -5
- package/dist/cli-bundle/chunks/update-PD46VOXI.js +21 -0
- package/dist/cli-bundle/chunks/update-U235A7WP.js +25 -0
- package/dist/cli-bundle/chunks/{update-many-V4LA3C4H.js → update-many-6B7PJ33I.js} +22 -22
- package/dist/cli-bundle/chunks/{update-many-TUGU5YXQ.js → update-many-724JCVDE.js} +22 -22
- package/dist/cli-bundle/chunks/{upgrade-37F7JKES.js → upgrade-ALBEZAI7.js} +5 -5
- package/dist/cli-bundle/chunks/{upgrade-L32JA4TZ.js → upgrade-QHRGDBSA.js} +5 -5
- package/dist/cli-bundle/chunks/{validate-EQTT6WVX.js → validate-IQRYFXIV.js} +462 -50
- package/dist/cli-bundle/chunks/validate-IQRYFXIV.js.map +1 -0
- package/dist/cli-bundle/chunks/{validate-XN4I4DPL.js → validate-UY6DRCG5.js} +482 -49
- package/dist/cli-bundle/chunks/validate-UY6DRCG5.js.map +7 -0
- package/dist/cli-bundle/main.js +72 -24
- package/dist/cli-bundle/main.js.map +3 -3
- package/dist/core/diagnostics/remediation.js +19 -6
- package/dist/core/diagnostics/remediation.js.map +1 -1
- package/dist/core/extensions/extension-capability-aliases.js +7 -33
- package/dist/core/extensions/extension-capability-aliases.js.map +1 -1
- package/dist/core/lock/lock-gc.d.ts +31 -0
- package/dist/core/lock/lock-gc.js +120 -62
- package/dist/core/lock/lock-gc.js.map +1 -1
- package/dist/core/search/background-refresh.js +3 -3
- package/dist/core/search/background-refresh.js.map +1 -1
- package/dist/core/shared/errors.d.ts +3 -0
- package/dist/core/shared/errors.js +2 -2
- package/dist/core/shared/errors.js.map +1 -1
- package/dist/core/store/item-store.js +6 -22
- package/dist/core/store/item-store.js.map +1 -1
- package/dist/core/telemetry/consent.js +18 -3
- package/dist/core/telemetry/consent.js.map +1 -1
- package/dist/core/validate/fix-planning.d.ts +130 -0
- package/dist/core/validate/fix-planning.js +202 -0
- package/dist/core/validate/fix-planning.js.map +1 -0
- package/dist/core/validate/missing-by-type.d.ts +21 -0
- package/dist/core/validate/missing-by-type.js +39 -0
- package/dist/core/validate/missing-by-type.js.map +1 -0
- package/dist/core/validate/stale-file-classification.d.ts +41 -0
- package/dist/core/validate/stale-file-classification.js +73 -0
- package/dist/core/validate/stale-file-classification.js.map +1 -0
- package/dist/mcp/server.d.ts +1 -0
- package/dist/mcp/server.js +62 -9
- package/dist/mcp/server.js.map +1 -1
- package/dist/sdk/cli-contracts/tool-parameter-tables.js +38 -2
- package/dist/sdk/cli-contracts/tool-parameter-tables.js.map +1 -1
- package/dist/sdk/cli-contracts.d.ts +6 -1
- package/dist/sdk/cli-contracts.js +74 -7
- package/dist/sdk/cli-contracts.js.map +1 -1
- package/docs/AGENT_GUIDE.md +6 -1
- package/docs/COMMANDS.md +23 -1
- package/package.json +1 -1
- package/plugins/pm-claude/README.md +4 -12
- package/dist/cli-bundle/chunks/activity-XZIUPGZH.js +0 -16
- package/dist/cli-bundle/chunks/chunk-3KLPFWZ4.js.map +0 -7
- package/dist/cli-bundle/chunks/chunk-A6LXQFO7.js.map +0 -1
- package/dist/cli-bundle/chunks/chunk-E5DUIJA4.js.map +0 -7
- package/dist/cli-bundle/chunks/chunk-FXRU333M.js.map +0 -1
- package/dist/cli-bundle/chunks/chunk-FY4SPXSC.js.map +0 -7
- package/dist/cli-bundle/chunks/chunk-HI7STVF2.js.map +0 -1
- package/dist/cli-bundle/chunks/chunk-LCSCXBGT.js.map +0 -7
- package/dist/cli-bundle/chunks/chunk-P2PSODAQ.js.map +0 -7
- package/dist/cli-bundle/chunks/chunk-PSD7F7DX.js.map +0 -1
- package/dist/cli-bundle/chunks/chunk-UOO6BYIA.js.map +0 -1
- package/dist/cli-bundle/chunks/close-4FMAPEMY.js +0 -13
- package/dist/cli-bundle/chunks/create-JVXYHYH4.js +0 -27
- package/dist/cli-bundle/chunks/docs-5WMBVQT2.js.map +0 -1
- package/dist/cli-bundle/chunks/docs-MB53UJAJ.js.map +0 -7
- package/dist/cli-bundle/chunks/files-DLB5LJEP.js.map +0 -1
- package/dist/cli-bundle/chunks/files-GVMNVLCB.js.map +0 -7
- package/dist/cli-bundle/chunks/gc-2WEPW6D6.js.map +0 -1
- package/dist/cli-bundle/chunks/gc-4Z3IKHAZ.js.map +0 -7
- package/dist/cli-bundle/chunks/health-4ZYB3IYQ.js.map +0 -1
- package/dist/cli-bundle/chunks/health-YO5LRWN4.js.map +0 -7
- package/dist/cli-bundle/chunks/history-L2FQFRTU.js +0 -20
- package/dist/cli-bundle/chunks/history-redact-QWQCX5DZ.js +0 -19
- package/dist/cli-bundle/chunks/history-repair-KVPFJKOS.js.map +0 -7
- package/dist/cli-bundle/chunks/history-repair-RUGKD3YR.js.map +0 -1
- package/dist/cli-bundle/chunks/init-4BKRHGWW.js +0 -17
- package/dist/cli-bundle/chunks/list-BYNN4ZEO.js +0 -19
- package/dist/cli-bundle/chunks/plan-FQLMJRLZ.js.map +0 -7
- package/dist/cli-bundle/chunks/plan-VNUG3WZZ.js.map +0 -1
- package/dist/cli-bundle/chunks/register-operations-AM6KTWB6.js.map +0 -1
- package/dist/cli-bundle/chunks/register-setup-G4QYI3RX.js.map +0 -7
- package/dist/cli-bundle/chunks/register-setup-IKX5524L.js.map +0 -1
- package/dist/cli-bundle/chunks/restore-CHIOQAQL.js +0 -17
- package/dist/cli-bundle/chunks/test-O74JFUH5.js +0 -32
- package/dist/cli-bundle/chunks/update-2EVXOC7V.js +0 -21
- package/dist/cli-bundle/chunks/update-5A2B6QYB.js +0 -25
- package/dist/cli-bundle/chunks/validate-EQTT6WVX.js.map +0 -1
- package/dist/cli-bundle/chunks/validate-XN4I4DPL.js.map +0 -7
- /package/dist/cli-bundle/chunks/{activity-XADJOG6G.js.map → activity-PPO7QWJF.js.map} +0 -0
- /package/dist/cli-bundle/chunks/{activity-XZIUPGZH.js.map → activity-XIOTGZMU.js.map} +0 -0
- /package/dist/cli-bundle/chunks/{aggregate-6OTS3AOO.js.map → aggregate-IRHJWEKG.js.map} +0 -0
- /package/dist/cli-bundle/chunks/{aggregate-OD36DJU5.js.map → aggregate-XEBW22UQ.js.map} +0 -0
- /package/dist/cli-bundle/chunks/{append-JYWO4P7W.js.map → append-N2AWXKZC.js.map} +0 -0
- /package/dist/cli-bundle/chunks/{append-KG55G7S3.js.map → append-NL67JNJU.js.map} +0 -0
- /package/dist/cli-bundle/chunks/{chunk-IH4MBKK7.js.map → chunk-2ANTZBYF.js.map} +0 -0
- /package/dist/cli-bundle/chunks/{chunk-F75JSIOZ.js.map → chunk-2J2AH4V5.js.map} +0 -0
- /package/dist/cli-bundle/chunks/{chunk-CCX4RSYZ.js.map → chunk-32XSW44C.js.map} +0 -0
- /package/dist/cli-bundle/chunks/{chunk-DY6C42S6.js.map → chunk-36BCSMKP.js.map} +0 -0
- /package/dist/cli-bundle/chunks/{chunk-XUC4C4PT.js.map → chunk-3CQPVBK3.js.map} +0 -0
- /package/dist/cli-bundle/chunks/{chunk-SXKNJPQ7.js.map → chunk-3FMQMHAG.js.map} +0 -0
- /package/dist/cli-bundle/chunks/{chunk-I7NYDZDV.js.map → chunk-3VULHQNS.js.map} +0 -0
- /package/dist/cli-bundle/chunks/{chunk-HHHJ2GI3.js.map → chunk-4FHLNNW7.js.map} +0 -0
- /package/dist/cli-bundle/chunks/{chunk-RXAP6JL5.js.map → chunk-4JHJ7YG2.js.map} +0 -0
- /package/dist/cli-bundle/chunks/{chunk-P5BJOMBB.js.map → chunk-4TPFXE2R.js.map} +0 -0
- /package/dist/cli-bundle/chunks/{chunk-3SLOMKCJ.js.map → chunk-5HSAHRYA.js.map} +0 -0
- /package/dist/cli-bundle/chunks/{chunk-ZLMIWZUG.js.map → chunk-5LMF75Q7.js.map} +0 -0
- /package/dist/cli-bundle/chunks/{chunk-TK5VZFHY.js.map → chunk-6TBR5AZ2.js.map} +0 -0
- /package/dist/cli-bundle/chunks/{chunk-ATEES5SX.js.map → chunk-6ZFTM65G.js.map} +0 -0
- /package/dist/cli-bundle/chunks/{chunk-VFUZV5EB.js.map → chunk-7SM7VA5I.js.map} +0 -0
- /package/dist/cli-bundle/chunks/{chunk-GKIZW7SM.js.map → chunk-AAUYXSFF.js.map} +0 -0
- /package/dist/cli-bundle/chunks/{chunk-OASDW5UI.js.map → chunk-AUDDXKNX.js.map} +0 -0
- /package/dist/cli-bundle/chunks/{chunk-ZMW77VWV.js.map → chunk-BVL5KGVA.js.map} +0 -0
- /package/dist/cli-bundle/chunks/{chunk-4JCSYR6F.js.map → chunk-C24PWDFG.js.map} +0 -0
- /package/dist/cli-bundle/chunks/{chunk-4HFU4UO2.js.map → chunk-CEGUH2E5.js.map} +0 -0
- /package/dist/cli-bundle/chunks/{chunk-Y3YKK7CY.js.map → chunk-DWG4FHPY.js.map} +0 -0
- /package/dist/cli-bundle/chunks/{chunk-YW6Q3RYZ.js.map → chunk-GFBEXDCQ.js.map} +0 -0
- /package/dist/cli-bundle/chunks/{chunk-XMBI6TNW.js.map → chunk-GOO4UXBI.js.map} +0 -0
- /package/dist/cli-bundle/chunks/{chunk-IGVJRZ6H.js.map → chunk-GRZGHGRG.js.map} +0 -0
- /package/dist/cli-bundle/chunks/{chunk-TNAP7EJX.js.map → chunk-HZOX5BYD.js.map} +0 -0
- /package/dist/cli-bundle/chunks/{chunk-VSRZRLG3.js.map → chunk-IIOIBAQW.js.map} +0 -0
- /package/dist/cli-bundle/chunks/{chunk-IUKD4W6Z.js.map → chunk-IXVSSHGV.js.map} +0 -0
- /package/dist/cli-bundle/chunks/{chunk-WUNFKP7M.js.map → chunk-IZHCCG4S.js.map} +0 -0
- /package/dist/cli-bundle/chunks/{chunk-VAOUX6TK.js.map → chunk-JCTZV7TO.js.map} +0 -0
- /package/dist/cli-bundle/chunks/{chunk-ZYNJNPYD.js.map → chunk-JE5IZXDS.js.map} +0 -0
- /package/dist/cli-bundle/chunks/{chunk-QNJSITCX.js.map → chunk-JW7D6437.js.map} +0 -0
- /package/dist/cli-bundle/chunks/{chunk-B65UUCGQ.js.map → chunk-JWXTOYBI.js.map} +0 -0
- /package/dist/cli-bundle/chunks/{chunk-7RIT3OCD.js.map → chunk-KHGTYCJ6.js.map} +0 -0
- /package/dist/cli-bundle/chunks/{chunk-VPEAS7PS.js.map → chunk-LGOXXQUW.js.map} +0 -0
- /package/dist/cli-bundle/chunks/{chunk-I2IJY2NL.js.map → chunk-LOAR5TKX.js.map} +0 -0
- /package/dist/cli-bundle/chunks/{chunk-S26FESD4.js.map → chunk-LSSTKL3Y.js.map} +0 -0
- /package/dist/cli-bundle/chunks/{chunk-CW6E4NAT.js.map → chunk-LYNQ3NGI.js.map} +0 -0
- /package/dist/cli-bundle/chunks/{chunk-4YFAGDRH.js.map → chunk-M3SI2REU.js.map} +0 -0
- /package/dist/cli-bundle/chunks/{chunk-73ZPG2I3.js.map → chunk-MACCNKSZ.js.map} +0 -0
- /package/dist/cli-bundle/chunks/{chunk-P5U5EOMA.js.map → chunk-NN6RKGFW.js.map} +0 -0
- /package/dist/cli-bundle/chunks/{chunk-GWZSYR6X.js.map → chunk-O3YCJOVX.js.map} +0 -0
- /package/dist/cli-bundle/chunks/{chunk-UUWGCWBU.js.map → chunk-QQG4HEX7.js.map} +0 -0
- /package/dist/cli-bundle/chunks/{chunk-XTKJSVWH.js.map → chunk-QU3OPNVV.js.map} +0 -0
- /package/dist/cli-bundle/chunks/{chunk-EWFY7SLA.js.map → chunk-RHYBR6G7.js.map} +0 -0
- /package/dist/cli-bundle/chunks/{chunk-S2ZLDYGS.js.map → chunk-SOHXUA2Q.js.map} +0 -0
- /package/dist/cli-bundle/chunks/{chunk-KWAXVAXX.js.map → chunk-SQDKAEKG.js.map} +0 -0
- /package/dist/cli-bundle/chunks/{chunk-7IYFN5R7.js.map → chunk-TOX7YQ7X.js.map} +0 -0
- /package/dist/cli-bundle/chunks/{chunk-FDH2X65L.js.map → chunk-TSXWFN3L.js.map} +0 -0
- /package/dist/cli-bundle/chunks/{chunk-OLKBSY4N.js.map → chunk-UCVJP4JL.js.map} +0 -0
- /package/dist/cli-bundle/chunks/{chunk-AVGHVVF7.js.map → chunk-V4KP3TCN.js.map} +0 -0
- /package/dist/cli-bundle/chunks/{chunk-QKW5D45B.js.map → chunk-VNC2HBL4.js.map} +0 -0
- /package/dist/cli-bundle/chunks/{chunk-QJMGRZO2.js.map → chunk-VYZNX4C5.js.map} +0 -0
- /package/dist/cli-bundle/chunks/{chunk-5SCT2JCT.js.map → chunk-W6KNFAMZ.js.map} +0 -0
- /package/dist/cli-bundle/chunks/{chunk-I53JBTJW.js.map → chunk-WLH7X4RN.js.map} +0 -0
- /package/dist/cli-bundle/chunks/{chunk-ESANVZF4.js.map → chunk-XOYHMHFF.js.map} +0 -0
- /package/dist/cli-bundle/chunks/{chunk-HGLC63AU.js.map → chunk-XWDZVCBJ.js.map} +0 -0
- /package/dist/cli-bundle/chunks/{claim-MJ7DZFC3.js.map → claim-HE6KEGJW.js.map} +0 -0
- /package/dist/cli-bundle/chunks/{claim-2RDYMCTP.js.map → claim-QJOQBH7J.js.map} +0 -0
- /package/dist/cli-bundle/chunks/{close-XLEKIQSW.js.map → close-SPUFW5QR.js.map} +0 -0
- /package/dist/cli-bundle/chunks/{close-4FMAPEMY.js.map → close-WOG5WTMZ.js.map} +0 -0
- /package/dist/cli-bundle/chunks/{close-many-AOD4HSAZ.js.map → close-many-GKAJX54X.js.map} +0 -0
- /package/dist/cli-bundle/chunks/{close-many-XKAQY5CQ.js.map → close-many-GL6NRUU5.js.map} +0 -0
- /package/dist/cli-bundle/chunks/{comments-RN5TG4ZN.js.map → comments-5FPT6L7N.js.map} +0 -0
- /package/dist/cli-bundle/chunks/{comments-B4RWWDJT.js.map → comments-TOLOYWNI.js.map} +0 -0
- /package/dist/cli-bundle/chunks/{config-3JXJ3XZ7.js.map → config-4MN45TIH.js.map} +0 -0
- /package/dist/cli-bundle/chunks/{config-FZ4UDC4B.js.map → config-7N6D7YJE.js.map} +0 -0
- /package/dist/cli-bundle/chunks/{context-QBPO3BFM.js.map → context-AQSLE7DZ.js.map} +0 -0
- /package/dist/cli-bundle/chunks/{context-L36PIN35.js.map → context-U3PUJMVN.js.map} +0 -0
- /package/dist/cli-bundle/chunks/{contracts-MIXBWJIB.js.map → contracts-H7KCQXLY.js.map} +0 -0
- /package/dist/cli-bundle/chunks/{contracts-3NKWYKKU.js.map → contracts-ITSJXO3O.js.map} +0 -0
- /package/dist/cli-bundle/chunks/{copy-ALU5WMHA.js.map → copy-C4W522JM.js.map} +0 -0
- /package/dist/cli-bundle/chunks/{copy-FWIVTLBO.js.map → copy-EB3MUCSW.js.map} +0 -0
- /package/dist/cli-bundle/chunks/{create-IFA26O2I.js.map → create-4EQNELMY.js.map} +0 -0
- /package/dist/cli-bundle/chunks/{create-JVXYHYH4.js.map → create-NW3K7LVG.js.map} +0 -0
- /package/dist/cli-bundle/chunks/{delete-IYTIYAJS.js.map → delete-X5QLXIQX.js.map} +0 -0
- /package/dist/cli-bundle/chunks/{delete-Y2SGJBGY.js.map → delete-ZLGUYIXU.js.map} +0 -0
- /package/dist/cli-bundle/chunks/{deps-CZ4PTVXU.js.map → deps-GPB3LGWN.js.map} +0 -0
- /package/dist/cli-bundle/chunks/{deps-6TSPOSGU.js.map → deps-HV2C2L46.js.map} +0 -0
- /package/dist/cli-bundle/chunks/{extension-Q34OEWO5.js.map → extension-MM3TVWOO.js.map} +0 -0
- /package/dist/cli-bundle/chunks/{extension-WH2FOIOZ.js.map → extension-WKPVPNCC.js.map} +0 -0
- /package/dist/cli-bundle/chunks/{get-QARTE6BL.js.map → get-K7UULTQF.js.map} +0 -0
- /package/dist/cli-bundle/chunks/{get-PCHS7RA6.js.map → get-SAB7CRBG.js.map} +0 -0
- /package/dist/cli-bundle/chunks/{history-7WUAEWHW.js.map → history-GYFD2DJW.js.map} +0 -0
- /package/dist/cli-bundle/chunks/{history-L2FQFRTU.js.map → history-IUVN4NTN.js.map} +0 -0
- /package/dist/cli-bundle/chunks/{history-compact-3EJ3L2O7.js.map → history-compact-SLL6ESXH.js.map} +0 -0
- /package/dist/cli-bundle/chunks/{history-compact-LW27IPFK.js.map → history-compact-WQZQ6KXM.js.map} +0 -0
- /package/dist/cli-bundle/chunks/{history-redact-QWQCX5DZ.js.map → history-redact-75KIIJUJ.js.map} +0 -0
- /package/dist/cli-bundle/chunks/{history-redact-G72A4EJ4.js.map → history-redact-SDTDR6WM.js.map} +0 -0
- /package/dist/cli-bundle/chunks/{init-4BKRHGWW.js.map → init-JJFYRUKG.js.map} +0 -0
- /package/dist/cli-bundle/chunks/{init-S5WEGUJY.js.map → init-MXV57LKL.js.map} +0 -0
- /package/dist/cli-bundle/chunks/{learnings-HQXSSKZ5.js.map → learnings-L6KTZGOT.js.map} +0 -0
- /package/dist/cli-bundle/chunks/{learnings-XK3P4ZDR.js.map → learnings-QKJOKEAO.js.map} +0 -0
- /package/dist/cli-bundle/chunks/{list-6CL3XFT6.js.map → list-GGVPXEV6.js.map} +0 -0
- /package/dist/cli-bundle/chunks/{list-BYNN4ZEO.js.map → list-VOQDQHA4.js.map} +0 -0
- /package/dist/cli-bundle/chunks/{notes-5T6P7C5V.js.map → notes-3NLK7WTZ.js.map} +0 -0
- /package/dist/cli-bundle/chunks/{notes-U5FZCSBT.js.map → notes-HMCB7TK6.js.map} +0 -0
- /package/dist/cli-bundle/chunks/{register-list-query-VHDXWEPP.js.map → register-list-query-PWQ5F2VI.js.map} +0 -0
- /package/dist/cli-bundle/chunks/{register-list-query-NPE3ECJQ.js.map → register-list-query-SMMMLSWW.js.map} +0 -0
- /package/dist/cli-bundle/chunks/{restore-CHIOQAQL.js.map → restore-DRBNXJJH.js.map} +0 -0
- /package/dist/cli-bundle/chunks/{restore-M6AFHMV4.js.map → restore-FJQWXMPY.js.map} +0 -0
- /package/dist/cli-bundle/chunks/{schema-AINZ2IMM.js.map → schema-RNVJ55V2.js.map} +0 -0
- /package/dist/cli-bundle/chunks/{schema-76HDZJCC.js.map → schema-ZZ7ZDM2X.js.map} +0 -0
- /package/dist/cli-bundle/chunks/{search-JMLFQEPJ.js.map → search-BJ457C2A.js.map} +0 -0
- /package/dist/cli-bundle/chunks/{search-NL3TSCYB.js.map → search-FQDZXX7P.js.map} +0 -0
- /package/dist/cli-bundle/chunks/{stats-UBD56TGK.js.map → stats-CUG3ZHOI.js.map} +0 -0
- /package/dist/cli-bundle/chunks/{stats-BKXCBIGT.js.map → stats-DUQWCVOS.js.map} +0 -0
- /package/dist/cli-bundle/chunks/{telemetry-ZJXK3H7X.js.map → telemetry-33MRGX4Z.js.map} +0 -0
- /package/dist/cli-bundle/chunks/{telemetry-N454RHG5.js.map → telemetry-RK2VX75A.js.map} +0 -0
- /package/dist/cli-bundle/chunks/{test-O74JFUH5.js.map → test-SDMYEQHH.js.map} +0 -0
- /package/dist/cli-bundle/chunks/{test-BQAKIXAT.js.map → test-Y3CTFMEC.js.map} +0 -0
- /package/dist/cli-bundle/chunks/{test-all-7LV3I6S5.js.map → test-all-ANYQ33O2.js.map} +0 -0
- /package/dist/cli-bundle/chunks/{test-all-TDYCCBA4.js.map → test-all-ARSMX33Q.js.map} +0 -0
- /package/dist/cli-bundle/chunks/{test-runs-E64M6XS3.js.map → test-runs-5URSD34O.js.map} +0 -0
- /package/dist/cli-bundle/chunks/{test-runs-LXZLULCI.js.map → test-runs-XNACGSNQ.js.map} +0 -0
- /package/dist/cli-bundle/chunks/{update-2EVXOC7V.js.map → update-PD46VOXI.js.map} +0 -0
- /package/dist/cli-bundle/chunks/{update-5A2B6QYB.js.map → update-U235A7WP.js.map} +0 -0
- /package/dist/cli-bundle/chunks/{update-many-V4LA3C4H.js.map → update-many-6B7PJ33I.js.map} +0 -0
- /package/dist/cli-bundle/chunks/{update-many-TUGU5YXQ.js.map → update-many-724JCVDE.js.map} +0 -0
- /package/dist/cli-bundle/chunks/{upgrade-37F7JKES.js.map → upgrade-ALBEZAI7.js.map} +0 -0
- /package/dist/cli-bundle/chunks/{upgrade-L32JA4TZ.js.map → upgrade-QHRGDBSA.js.map} +0 -0
package/dist/cli-bundle/chunks/{register-list-query-VHDXWEPP.js → register-list-query-PWQ5F2VI.js}
RENAMED
|
@@ -9,23 +9,23 @@ import {
|
|
|
9
9
|
printActivityJsonStream,
|
|
10
10
|
printListJsonStream,
|
|
11
11
|
resolveActivityStreamMode
|
|
12
|
-
} from "./chunk-
|
|
13
|
-
import "./chunk-
|
|
14
|
-
import "./chunk-
|
|
12
|
+
} from "./chunk-JWXTOYBI.js";
|
|
13
|
+
import "./chunk-7CRFV6JR.js";
|
|
14
|
+
import "./chunk-PEH7SZD2.js";
|
|
15
15
|
import {
|
|
16
16
|
printError,
|
|
17
17
|
printResult,
|
|
18
18
|
writeStdout
|
|
19
|
-
} from "./chunk-
|
|
20
|
-
import "./chunk-
|
|
21
|
-
import "./chunk-
|
|
22
|
-
import "./chunk-
|
|
23
|
-
import "./chunk-
|
|
24
|
-
import "./chunk-
|
|
19
|
+
} from "./chunk-O3YCJOVX.js";
|
|
20
|
+
import "./chunk-XXLMJDUB.js";
|
|
21
|
+
import "./chunk-LGOXXQUW.js";
|
|
22
|
+
import "./chunk-MACCNKSZ.js";
|
|
23
|
+
import "./chunk-W6KNFAMZ.js";
|
|
24
|
+
import "./chunk-IXVSSHGV.js";
|
|
25
25
|
import {
|
|
26
26
|
EXIT_CODE,
|
|
27
27
|
PmCliError
|
|
28
|
-
} from "./chunk-
|
|
28
|
+
} from "./chunk-LFW5NQUP.js";
|
|
29
29
|
|
|
30
30
|
// dist/cli/register-list-query.js
|
|
31
31
|
import { Option } from "commander";
|
|
@@ -65,7 +65,7 @@ function registerListQueryCommands(program, options) {
|
|
|
65
65
|
}
|
|
66
66
|
if (excludeTerminal)
|
|
67
67
|
listOptions.excludeTerminal = true;
|
|
68
|
-
const { runList } = await import("./list-
|
|
68
|
+
const { runList } = await import("./list-VOQDQHA4.js");
|
|
69
69
|
const result = await runList(status, listOptions, globalOptions);
|
|
70
70
|
const streamMode = options2.stream === true;
|
|
71
71
|
if (streamMode && !globalOptions.json) {
|
|
@@ -115,7 +115,7 @@ function registerListQueryCommands(program, options) {
|
|
|
115
115
|
aggregateCommand.action(async (options2, command) => {
|
|
116
116
|
const globalOptions = getGlobalOptions(command);
|
|
117
117
|
const startedAt = Date.now();
|
|
118
|
-
const { runAggregate } = await import("./aggregate-
|
|
118
|
+
const { runAggregate } = await import("./aggregate-XEBW22UQ.js");
|
|
119
119
|
const result = await runAggregate(normalizeAggregateOptions(options2), globalOptions);
|
|
120
120
|
printResult(result, globalOptions);
|
|
121
121
|
if (globalOptions.profile) {
|
|
@@ -130,7 +130,7 @@ function registerListQueryCommands(program, options) {
|
|
|
130
130
|
const globalOptions = getGlobalOptions(actionCommand);
|
|
131
131
|
const startedAt = Date.now();
|
|
132
132
|
const normalized = normalizeContextOptions(options2);
|
|
133
|
-
const commands = await import("./context-
|
|
133
|
+
const commands = await import("./context-U3PUJMVN.js");
|
|
134
134
|
const result = await commands.runContext(normalized, globalOptions);
|
|
135
135
|
const outputFormat = commands.resolveContextOutputFormat(normalized, globalOptions);
|
|
136
136
|
if (outputFormat === "markdown") {
|
|
@@ -153,7 +153,7 @@ function registerListQueryCommands(program, options) {
|
|
|
153
153
|
const searchCommand = program.command("search").argument("<keywords...>", "Keyword query tokens").description("Search items with keyword, semantic, or hybrid retrieval.").option("--mode <value>", "Search mode: keyword|semantic|hybrid (default: keyword)").option("--semantic", "Shorthand for --mode semantic").option("--hybrid", "Shorthand for --mode hybrid").option("--semantic-weight <value>", "Override hybrid semantic weight for this query (0..1); invalid values fall back to settings").option("--include-linked", "Include linked files, docs, and tests in the searchable corpus").option("--title-exact", "Require exact normalized title match for the full query string").option("--phrase-exact", "Require exact normalized phrase match in searchable text").option("--status <value>", "Filter by status before query (open/closed/canceled aliases or configured status id; CSV)").option("--type <value>", "Filter by item type").option("--tag <value>", "Filter by tag").option("--priority <value>", "Filter by priority").option("--deadline-before <value>", "Filter by deadline upper bound (ISO/date string or relative)").option("--deadline-after <value>", "Filter by deadline lower bound (ISO/date string or relative)").option("--compact", "Render compact search hits (default; mutually exclusive with --full/--fields)").option("--full", "Render full search hits with nested item payloads (mutually exclusive with --compact/--fields)").option("--fields <value>", "Render custom comma-separated search hit fields (mutually exclusive with --compact/--full; valid: --fields id,title,score; invalid: --full --fields id,title)").option("--limit <n>", "Limit returned item count").action(async (keywords, options2, command) => {
|
|
154
154
|
const globalOptions = getGlobalOptions(command);
|
|
155
155
|
const startedAt = Date.now();
|
|
156
|
-
const { runSearch } = await import("./search-
|
|
156
|
+
const { runSearch } = await import("./search-BJ457C2A.js");
|
|
157
157
|
const searchOptions = normalizeSearchOptions(options2);
|
|
158
158
|
const result = await runSearch(normalizeSearchKeywordsInput(keywords), {
|
|
159
159
|
...searchOptions,
|
|
@@ -170,7 +170,7 @@ function registerListQueryCommands(program, options) {
|
|
|
170
170
|
const getCommand = program.command("get").argument("<id>", "Item id").option("--depth <value>", "Detail depth: brief|standard|deep|full (full aliases deep; default: standard)").option("--full", "Explicit full item read; equivalent to --depth deep (mutually exclusive with --depth/--fields)").option("--fields <value>", "Render custom comma-separated item metadata fields (for example: --fields id,title,status,parent,type)").option("--tree", "Include descendants rooted at the requested item").option("--tree-depth <n>", "Maximum subtree depth for --tree descendants").description("Show item details by ID.").action(async (id, options2, command) => {
|
|
171
171
|
const globalOptions = getGlobalOptions(command);
|
|
172
172
|
const startedAt = Date.now();
|
|
173
|
-
const { runGet } = await import("./get-
|
|
173
|
+
const { runGet } = await import("./get-K7UULTQF.js");
|
|
174
174
|
const result = await runGet(id, globalOptions, {
|
|
175
175
|
depth: typeof options2.depth === "string" ? options2.depth : void 0,
|
|
176
176
|
fields: typeof options2.fields === "string" ? options2.fields : void 0,
|
|
@@ -193,7 +193,7 @@ function registerListQueryCommands(program, options) {
|
|
|
193
193
|
throw new PmCliError("History projection options are mutually exclusive. Use either --compact or --full.", EXIT_CODE.USAGE);
|
|
194
194
|
}
|
|
195
195
|
const field = typeof options2.field === "string" ? options2.field : void 0;
|
|
196
|
-
const { runHistory } = await import("./history-
|
|
196
|
+
const { runHistory } = await import("./history-IUVN4NTN.js");
|
|
197
197
|
const result = await runHistory(id, {
|
|
198
198
|
limit: typeof options2.limit === "string" ? options2.limit : void 0,
|
|
199
199
|
compact: options2.full === true ? false : true,
|
|
@@ -215,7 +215,7 @@ function registerListQueryCommands(program, options) {
|
|
|
215
215
|
throw new PmCliError("Activity projection options are mutually exclusive. Use either --compact or --full.", EXIT_CODE.USAGE);
|
|
216
216
|
}
|
|
217
217
|
const normalized = normalizeActivityOptions(options2);
|
|
218
|
-
const { runActivity } = await import("./activity-
|
|
218
|
+
const { runActivity } = await import("./activity-XIOTGZMU.js");
|
|
219
219
|
const result = await runActivity(normalized, globalOptions);
|
|
220
220
|
const streamMode = resolveActivityStreamMode(options2.stream);
|
|
221
221
|
if (streamMode && !globalOptions.json) {
|
|
@@ -235,4 +235,4 @@ function registerListQueryCommands(program, options) {
|
|
|
235
235
|
export {
|
|
236
236
|
registerListQueryCommands
|
|
237
237
|
};
|
|
238
|
-
//# sourceMappingURL=register-list-query-
|
|
238
|
+
//# sourceMappingURL=register-list-query-PWQ5F2VI.js.map
|
package/dist/cli-bundle/chunks/{register-list-query-NPE3ECJQ.js → register-list-query-SMMMLSWW.js}
RENAMED
|
@@ -11,23 +11,23 @@ import {
|
|
|
11
11
|
printActivityJsonStream,
|
|
12
12
|
printListJsonStream,
|
|
13
13
|
resolveActivityStreamMode
|
|
14
|
-
} from "./chunk-
|
|
15
|
-
import "./chunk-
|
|
16
|
-
import "./chunk-
|
|
14
|
+
} from "./chunk-2ANTZBYF.js";
|
|
15
|
+
import "./chunk-AGG32LKL.js";
|
|
16
|
+
import "./chunk-4ZKKZMLH.js";
|
|
17
17
|
import {
|
|
18
18
|
printError,
|
|
19
19
|
printResult,
|
|
20
20
|
writeStdout
|
|
21
|
-
} from "./chunk-
|
|
22
|
-
import "./chunk-
|
|
23
|
-
import "./chunk-
|
|
24
|
-
import "./chunk-
|
|
25
|
-
import "./chunk-
|
|
26
|
-
import "./chunk-
|
|
21
|
+
} from "./chunk-LOAR5TKX.js";
|
|
22
|
+
import "./chunk-L6YQONLM.js";
|
|
23
|
+
import "./chunk-6ZFTM65G.js";
|
|
24
|
+
import "./chunk-QQG4HEX7.js";
|
|
25
|
+
import "./chunk-32XSW44C.js";
|
|
26
|
+
import "./chunk-IZHCCG4S.js";
|
|
27
27
|
import {
|
|
28
28
|
EXIT_CODE,
|
|
29
29
|
PmCliError
|
|
30
|
-
} from "./chunk-
|
|
30
|
+
} from "./chunk-S2CDTRJ6.js";
|
|
31
31
|
|
|
32
32
|
// dist/cli/register-list-query.js
|
|
33
33
|
import { Option } from "commander";
|
|
@@ -60,7 +60,7 @@ function registerListQueryCommands(program, options) {
|
|
|
60
60
|
}
|
|
61
61
|
if (excludeTerminal)
|
|
62
62
|
listOptions.excludeTerminal = true;
|
|
63
|
-
const { runList } = await import("./list-
|
|
63
|
+
const { runList } = await import("./list-GGVPXEV6.js");
|
|
64
64
|
const result = await runList(status, listOptions, globalOptions);
|
|
65
65
|
const streamMode = options2.stream === true;
|
|
66
66
|
if (streamMode && !globalOptions.json) {
|
|
@@ -110,7 +110,7 @@ function registerListQueryCommands(program, options) {
|
|
|
110
110
|
aggregateCommand.action(async (options2, command) => {
|
|
111
111
|
const globalOptions = getGlobalOptions(command);
|
|
112
112
|
const startedAt = Date.now();
|
|
113
|
-
const { runAggregate } = await import("./aggregate-
|
|
113
|
+
const { runAggregate } = await import("./aggregate-IRHJWEKG.js");
|
|
114
114
|
const result = await runAggregate(normalizeAggregateOptions(options2), globalOptions);
|
|
115
115
|
printResult(result, globalOptions);
|
|
116
116
|
if (globalOptions.profile) {
|
|
@@ -125,7 +125,7 @@ function registerListQueryCommands(program, options) {
|
|
|
125
125
|
const globalOptions = getGlobalOptions(actionCommand);
|
|
126
126
|
const startedAt = Date.now();
|
|
127
127
|
const normalized = normalizeContextOptions(options2);
|
|
128
|
-
const commands = await import("./context-
|
|
128
|
+
const commands = await import("./context-AQSLE7DZ.js");
|
|
129
129
|
const result = await commands.runContext(normalized, globalOptions);
|
|
130
130
|
const outputFormat = commands.resolveContextOutputFormat(normalized, globalOptions);
|
|
131
131
|
if (outputFormat === "markdown") {
|
|
@@ -148,7 +148,7 @@ function registerListQueryCommands(program, options) {
|
|
|
148
148
|
const searchCommand = program.command("search").argument("<keywords...>", "Keyword query tokens").description("Search items with keyword, semantic, or hybrid retrieval.").option("--mode <value>", "Search mode: keyword|semantic|hybrid (default: keyword)").option("--semantic", "Shorthand for --mode semantic").option("--hybrid", "Shorthand for --mode hybrid").option("--semantic-weight <value>", "Override hybrid semantic weight for this query (0..1); invalid values fall back to settings").option("--include-linked", "Include linked files, docs, and tests in the searchable corpus").option("--title-exact", "Require exact normalized title match for the full query string").option("--phrase-exact", "Require exact normalized phrase match in searchable text").option("--status <value>", "Filter by status before query (open/closed/canceled aliases or configured status id; CSV)").option("--type <value>", "Filter by item type").option("--tag <value>", "Filter by tag").option("--priority <value>", "Filter by priority").option("--deadline-before <value>", "Filter by deadline upper bound (ISO/date string or relative)").option("--deadline-after <value>", "Filter by deadline lower bound (ISO/date string or relative)").option("--compact", "Render compact search hits (default; mutually exclusive with --full/--fields)").option("--full", "Render full search hits with nested item payloads (mutually exclusive with --compact/--fields)").option("--fields <value>", "Render custom comma-separated search hit fields (mutually exclusive with --compact/--full; valid: --fields id,title,score; invalid: --full --fields id,title)").option("--limit <n>", "Limit returned item count").action(async (keywords, options2, command) => {
|
|
149
149
|
const globalOptions = getGlobalOptions(command);
|
|
150
150
|
const startedAt = Date.now();
|
|
151
|
-
const { runSearch } = await import("./search-
|
|
151
|
+
const { runSearch } = await import("./search-FQDZXX7P.js");
|
|
152
152
|
const searchOptions = normalizeSearchOptions(options2);
|
|
153
153
|
const result = await runSearch(normalizeSearchKeywordsInput(keywords), {
|
|
154
154
|
...searchOptions,
|
|
@@ -165,7 +165,7 @@ function registerListQueryCommands(program, options) {
|
|
|
165
165
|
const getCommand = program.command("get").argument("<id>", "Item id").option("--depth <value>", "Detail depth: brief|standard|deep|full (full aliases deep; default: standard)").option("--full", "Explicit full item read; equivalent to --depth deep (mutually exclusive with --depth/--fields)").option("--fields <value>", "Render custom comma-separated item metadata fields (for example: --fields id,title,status,parent,type)").option("--tree", "Include descendants rooted at the requested item").option("--tree-depth <n>", "Maximum subtree depth for --tree descendants").description("Show item details by ID.").action(async (id, options2, command) => {
|
|
166
166
|
const globalOptions = getGlobalOptions(command);
|
|
167
167
|
const startedAt = Date.now();
|
|
168
|
-
const { runGet } = await import("./get-
|
|
168
|
+
const { runGet } = await import("./get-SAB7CRBG.js");
|
|
169
169
|
const result = await runGet(id, globalOptions, {
|
|
170
170
|
depth: typeof options2.depth === "string" ? options2.depth : void 0,
|
|
171
171
|
fields: typeof options2.fields === "string" ? options2.fields : void 0,
|
|
@@ -188,7 +188,7 @@ function registerListQueryCommands(program, options) {
|
|
|
188
188
|
throw new PmCliError("History projection options are mutually exclusive. Use either --compact or --full.", EXIT_CODE.USAGE);
|
|
189
189
|
}
|
|
190
190
|
const field = typeof options2.field === "string" ? options2.field : void 0;
|
|
191
|
-
const { runHistory } = await import("./history-
|
|
191
|
+
const { runHistory } = await import("./history-GYFD2DJW.js");
|
|
192
192
|
const result = await runHistory(id, {
|
|
193
193
|
limit: typeof options2.limit === "string" ? options2.limit : void 0,
|
|
194
194
|
compact: options2.full === true ? false : true,
|
|
@@ -210,7 +210,7 @@ function registerListQueryCommands(program, options) {
|
|
|
210
210
|
throw new PmCliError("Activity projection options are mutually exclusive. Use either --compact or --full.", EXIT_CODE.USAGE);
|
|
211
211
|
}
|
|
212
212
|
const normalized = normalizeActivityOptions(options2);
|
|
213
|
-
const { runActivity } = await import("./activity-
|
|
213
|
+
const { runActivity } = await import("./activity-PPO7QWJF.js");
|
|
214
214
|
const result = await runActivity(normalized, globalOptions);
|
|
215
215
|
const streamMode = resolveActivityStreamMode(options2.stream);
|
|
216
216
|
if (streamMode && !globalOptions.json) {
|
|
@@ -230,6 +230,6 @@ function registerListQueryCommands(program, options) {
|
|
|
230
230
|
export {
|
|
231
231
|
registerListQueryCommands
|
|
232
232
|
};
|
|
233
|
-
//# sourceMappingURL=register-list-query-
|
|
233
|
+
//# sourceMappingURL=register-list-query-SMMMLSWW.js.map
|
|
234
234
|
|
|
235
235
|
//# debugId=3c8f53c1-d9fa-599b-9b8b-83da76ea068e
|
package/dist/cli-bundle/chunks/{register-mutation-EAYNLGOS.js → register-mutation-QKFPTIZG.js}
RENAMED
|
@@ -6,27 +6,27 @@ import {
|
|
|
6
6
|
invalidateSearchCachesForMutation,
|
|
7
7
|
normalizeCreateOptions,
|
|
8
8
|
normalizeUpdateOptions
|
|
9
|
-
} from "./chunk-
|
|
9
|
+
} from "./chunk-JWXTOYBI.js";
|
|
10
10
|
import {
|
|
11
11
|
CREATE_COMMANDER_OPTION_REGISTRATION_CONTRACTS,
|
|
12
12
|
UPDATE_COMMANDER_OPTION_REGISTRATION_CONTRACTS
|
|
13
|
-
} from "./chunk-
|
|
14
|
-
import "./chunk-
|
|
13
|
+
} from "./chunk-7CRFV6JR.js";
|
|
14
|
+
import "./chunk-PEH7SZD2.js";
|
|
15
15
|
import {
|
|
16
16
|
printError,
|
|
17
17
|
printResult,
|
|
18
18
|
writeStdout
|
|
19
|
-
} from "./chunk-
|
|
20
|
-
import "./chunk-
|
|
21
|
-
import "./chunk-
|
|
22
|
-
import "./chunk-
|
|
23
|
-
import "./chunk-
|
|
24
|
-
import "./chunk-
|
|
19
|
+
} from "./chunk-O3YCJOVX.js";
|
|
20
|
+
import "./chunk-XXLMJDUB.js";
|
|
21
|
+
import "./chunk-LGOXXQUW.js";
|
|
22
|
+
import "./chunk-MACCNKSZ.js";
|
|
23
|
+
import "./chunk-W6KNFAMZ.js";
|
|
24
|
+
import "./chunk-IXVSSHGV.js";
|
|
25
25
|
import {
|
|
26
26
|
BUILTIN_ITEM_TYPE_VALUES,
|
|
27
27
|
EXIT_CODE,
|
|
28
28
|
PmCliError
|
|
29
|
-
} from "./chunk-
|
|
29
|
+
} from "./chunk-LFW5NQUP.js";
|
|
30
30
|
|
|
31
31
|
// dist/cli/register-mutation.js
|
|
32
32
|
import { Option } from "commander";
|
|
@@ -66,7 +66,7 @@ function isPureSnakeCaseAlias(canonicalFlagSpec, aliasFlagSpec) {
|
|
|
66
66
|
!(function() {
|
|
67
67
|
try {
|
|
68
68
|
var e = "undefined" != typeof window ? window : "undefined" != typeof global ? global : "undefined" != typeof globalThis ? globalThis : "undefined" != typeof self ? self : {}, n = new e.Error().stack;
|
|
69
|
-
n && (e._sentryDebugIds = e._sentryDebugIds || {}, e._sentryDebugIds[n] = "
|
|
69
|
+
n && (e._sentryDebugIds = e._sentryDebugIds || {}, e._sentryDebugIds[n] = "07f90455-c9f8-5cb9-86fe-be98e72908cb");
|
|
70
70
|
} catch (e2) {
|
|
71
71
|
}
|
|
72
72
|
})();
|
|
@@ -155,7 +155,7 @@ function registerMutationCommands(program) {
|
|
|
155
155
|
options.title = positionalTitle;
|
|
156
156
|
}
|
|
157
157
|
const normalized = normalizeCreateOptions(options, { requireType: false });
|
|
158
|
-
const { runCreate } = await import("./create-
|
|
158
|
+
const { runCreate } = await import("./create-NW3K7LVG.js");
|
|
159
159
|
const result = await runCreate(normalized, globalOptions);
|
|
160
160
|
await invalidateSearchCachesForMutation(globalOptions, result);
|
|
161
161
|
printResult(result, globalOptions);
|
|
@@ -166,7 +166,7 @@ function registerMutationCommands(program) {
|
|
|
166
166
|
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(async (id, options, command) => {
|
|
167
167
|
const globalOptions = getGlobalOptions(command);
|
|
168
168
|
const startedAt = Date.now();
|
|
169
|
-
const { runCopy } = await import("./copy-
|
|
169
|
+
const { runCopy } = await import("./copy-EB3MUCSW.js");
|
|
170
170
|
const result = await runCopy(id, {
|
|
171
171
|
title: typeof options.title === "string" ? options.title : void 0,
|
|
172
172
|
author: typeof options.author === "string" ? options.author : void 0,
|
|
@@ -186,7 +186,7 @@ function registerMutationCommands(program) {
|
|
|
186
186
|
updateCommand.action(async (id, options, command) => {
|
|
187
187
|
const globalOptions = getGlobalOptions(command);
|
|
188
188
|
const startedAt = Date.now();
|
|
189
|
-
const { runUpdate } = await import("./update-
|
|
189
|
+
const { runUpdate } = await import("./update-PD46VOXI.js");
|
|
190
190
|
const result = await runUpdate(id, normalizeUpdateOptions(options), globalOptions);
|
|
191
191
|
await invalidateSearchCachesForMutation(globalOptions, result);
|
|
192
192
|
printResult(result, globalOptions);
|
|
@@ -226,7 +226,7 @@ function registerMutationCommands(program) {
|
|
|
226
226
|
updateManyCommand.action(async (options, command) => {
|
|
227
227
|
const globalOptions = getGlobalOptions(command);
|
|
228
228
|
const startedAt = Date.now();
|
|
229
|
-
const { runUpdateMany } = await import("./update-many-
|
|
229
|
+
const { runUpdateMany } = await import("./update-many-724JCVDE.js");
|
|
230
230
|
const result = await runUpdateMany({
|
|
231
231
|
status: typeof options.filterStatus === "string" ? options.filterStatus : void 0,
|
|
232
232
|
list: {
|
|
@@ -266,7 +266,7 @@ function registerMutationCommands(program) {
|
|
|
266
266
|
closeCommand.action(async (id, text, options, command) => {
|
|
267
267
|
const globalOptions = getGlobalOptions(command);
|
|
268
268
|
const startedAt = Date.now();
|
|
269
|
-
const { runClose } = await import("./close-
|
|
269
|
+
const { runClose } = await import("./close-WOG5WTMZ.js");
|
|
270
270
|
const reasonFromOption = typeof options.reason === "string" && options.reason.trim().length > 0 && options.reason || typeof options.closeReason === "string" && options.closeReason.trim().length > 0 && options.closeReason || void 0;
|
|
271
271
|
const resolvedText = typeof text === "string" && text.length > 0 ? text : reasonFromOption;
|
|
272
272
|
const pickInlineString = (...candidates) => {
|
|
@@ -308,7 +308,7 @@ function registerMutationCommands(program) {
|
|
|
308
308
|
}
|
|
309
309
|
return void 0;
|
|
310
310
|
};
|
|
311
|
-
const { runCloseMany } = await import("./close-many-
|
|
311
|
+
const { runCloseMany } = await import("./close-many-GL6NRUU5.js");
|
|
312
312
|
const result = await runCloseMany({
|
|
313
313
|
status: typeof options.filterStatus === "string" ? options.filterStatus : void 0,
|
|
314
314
|
list: {
|
|
@@ -351,7 +351,7 @@ function registerMutationCommands(program) {
|
|
|
351
351
|
program.command("delete").argument("<id>", "Item id").option("--author <value>", "Mutation author").option("--message <value>", "History message").option("--force", "Force ownership override").option("--dry-run", "Preview the item file that would be deleted without mutating").description("Delete an item and record the change in history.").action(async (id, options, command) => {
|
|
352
352
|
const globalOptions = getGlobalOptions(command);
|
|
353
353
|
const startedAt = Date.now();
|
|
354
|
-
const { runDelete } = await import("./delete-
|
|
354
|
+
const { runDelete } = await import("./delete-X5QLXIQX.js");
|
|
355
355
|
const result = await runDelete(id, {
|
|
356
356
|
author: typeof options.author === "string" ? options.author : void 0,
|
|
357
357
|
message: typeof options.message === "string" ? options.message : void 0,
|
|
@@ -380,7 +380,7 @@ function registerMutationCommands(program) {
|
|
|
380
380
|
if (resolvedBody === void 0) {
|
|
381
381
|
throw new PmCliError("Missing append text. Provide it as positional [text], --body <value>, or --text <value> (use - for stdin).", EXIT_CODE.USAGE);
|
|
382
382
|
}
|
|
383
|
-
const { runAppend } = await import("./append-
|
|
383
|
+
const { runAppend } = await import("./append-N2AWXKZC.js");
|
|
384
384
|
const result = await runAppend(id, {
|
|
385
385
|
body: resolvedBody,
|
|
386
386
|
author: typeof options.author === "string" ? options.author : void 0,
|
|
@@ -396,7 +396,7 @@ function registerMutationCommands(program) {
|
|
|
396
396
|
program.command("restore").argument("<id>", "Item id").argument("<target>", "Restore target timestamp or version number").option("--author <value>", "Mutation author").option("--message <value>", "History message").option("--force", "Force ownership/lock override").description("Restore an item to an earlier timestamp or version.").action(async (id, target, options, command) => {
|
|
397
397
|
const globalOptions = getGlobalOptions(command);
|
|
398
398
|
const startedAt = Date.now();
|
|
399
|
-
const { runRestore } = await import("./restore-
|
|
399
|
+
const { runRestore } = await import("./restore-DRBNXJJH.js");
|
|
400
400
|
const result = await runRestore(id, target, {
|
|
401
401
|
author: typeof options.author === "string" ? options.author : void 0,
|
|
402
402
|
message: typeof options.message === "string" ? options.message : void 0,
|
|
@@ -408,7 +408,7 @@ function registerMutationCommands(program) {
|
|
|
408
408
|
printError(`profile:command=restore took_ms=${Date.now() - startedAt}`);
|
|
409
409
|
}
|
|
410
410
|
});
|
|
411
|
-
const planCommand = program.command("plan").description("Agent-optimized Plan item workflow: create, manage steps, link dependencies, approve, and materialize.").argument("[subcommand]", "Plan subcommand: create|show|add-step|update-step|complete-step|block-step|reorder-step|remove-step|link|unlink|decision|discovery|validation|resume|approve|materialize").argument("[id]", "Plan id (required for non-create subcommands); for create this may be the positional title").argument("[stepRef]", "Step reference: stable id (plan-step-001) or order integer").argument("[reorderTo]", "New order integer for reorder-step").option("--title <value>", "Plan title").option("--description <value>", "Plan description").option("--scope <value>", "Short scope statement of the target change or investigation").option("--parent <value>", "Parent pm item id").option("--related <value>", "Related pm item ids (repeatable, csv-friendly)", collect).option("--blocks <value>", "Pm item ids this plan blocks (repeatable, csv-friendly)", collect).option("--blocked-by <value>", "Pm item ids that block this plan (repeatable, csv-friendly)", collect).option("--harness <value>", "Plan harness provenance: codex|claude-code|cursor|generic").option("--mode <value>", "Plan mode: draft|research|review|approved|executing|paused|completed|superseded").option("--resume-context <value>", "Compact context summary for a future stateless agent").option("--tags <value>", "Comma-separated tags").option("--priority <value>", "Priority 0-4").option("--body <value>", "Plan item body").option("--claim", "Claim the plan on create for the author").option("--from-search <value>", "Record the search query that led to plan creation").option("--step-title <value>", "Step title for add-step / update-step").option("--step <value>", "
|
|
411
|
+
const planCommand = program.command("plan").description("Agent-optimized Plan item workflow: create, manage steps, link dependencies, approve, and materialize.").argument("[subcommand]", "Plan subcommand: create|show|add-step|update-step|complete-step|block-step|reorder-step|remove-step|link|unlink|decision|discovery|validation|resume|approve|materialize").argument("[id]", "Plan id (required for non-create subcommands); for create this may be the positional title").argument("[stepRef]", "Step reference: stable id (plan-step-001) or order integer").argument("[reorderTo]", "New order integer for reorder-step").option("--title <value>", "Plan title").option("--description <value>", "Plan description").option("--scope <value>", "Short scope statement of the target change or investigation").option("--parent <value>", "Parent pm item id").option("--related <value>", "Related pm item ids (repeatable, csv-friendly)", collect).option("--blocks <value>", "Pm item ids this plan blocks (repeatable, csv-friendly)", collect).option("--blocked-by <value>", "Pm item ids that block this plan (repeatable, csv-friendly)", collect).option("--harness <value>", "Plan harness provenance: codex|claude-code|cursor|generic").option("--mode <value>", "Plan mode: draft|research|review|approved|executing|paused|completed|superseded").option("--resume-context <value>", "Compact context summary for a future stateless agent").option("--tags <value>", "Comma-separated tags").option("--priority <value>", "Priority 0-4").option("--body <value>", "Plan item body").option("--claim", "Claim the plan on create for the author").option("--from-search <value>", "Record the search query that led to plan creation").option("--step-title <value>", "Step title for add-step / update-step").option("--step <value>", "Step title (repeatable on create: each --step appends an ordered step; elsewhere a single value aliases --step-title)", collect).option("--step-body <value>", "Step body text").option("--step-owner <value>", "Step owner").option("--step-status <value>", "Step status: pending|in_progress|completed|blocked|skipped|superseded").option("--step-evidence <value>", "Step evidence text (used by update-step/complete-step)").option("--step-blocked-reason <value>", "Step blocked reason (required when blocking)").option("--step-replacement <value>", "Replacement reference for a superseded step").option("--depends-on <value>", "Pm item ids the step depends on (repeatable, csv-friendly)", collect).option("--link <value>", "Pm item id to link (repeatable, csv-friendly)", collect).option("--link-kind <value>", "Link kind: related|blocks|blocked_by|depends_on|discovered_from|implements|verifies|supersedes").option("--link-note <value>", "Optional note for the link").option("--promote-to-item-dep", "Also add the linked id as a top-level item dependency when linking").option("--allow-multiple-active", "Allow multiple steps to be in_progress at once").option("--file <value>", "Step linked file path=<value>[,scope=project|global,note=<text>] (repeatable)", collect).option("--test <value>", "Step linked test command=<value>[,path=<value>,note=<text>] (repeatable)", collect).option("--doc <value>", "Step linked doc path=<value>[,scope=project|global,note=<text>] (repeatable)", collect).option("--decision-text <value>", "Decision log entry text").option("--decision <value>", "Alias for --decision-text").option("--decision-rationale <value>", "Decision log entry rationale").option("--decision-evidence <value>", "Decision log entry evidence").option("--discovery-text <value>", "Discovery log entry text").option("--discovery <value>", "Alias for --discovery-text").option("--validation-text <value>", "Validation log entry text").option("--validation <value>", "Alias for --validation-text").option("--validation-command <value>", "Validation log entry command").option("--validation-expected <value>", "Validation log entry expected outcome").option("--depth <value>", "Show depth: brief|standard|deep (default: brief)").option("--fields <value>", "Comma-separated field projection for show output").option("--steps <value>", "Comma-separated step ids/orders for materialize").option("--materialize-type <value>", "Item type for materialized steps (default: Task)").option("--materialize-parent <value>", "Parent item id for materialized children (default: the plan)").option("--materialize-tags <value>", "Comma-separated tags for materialized children").option("--author <value>", "Mutation author").option("--message <value>", "Mutation message").option("--force", "Force ownership override");
|
|
412
412
|
for (const [flags, description] of [
|
|
413
413
|
["--resume_context <value>", "Alias for --resume-context"],
|
|
414
414
|
["--from_search <value>", "Alias for --from-search"],
|
|
@@ -445,7 +445,7 @@ function registerMutationCommands(program) {
|
|
|
445
445
|
planCommand.action(async (subcommand, id, stepRef, reorderToken, options, command) => {
|
|
446
446
|
const globalOptions = getGlobalOptions(command);
|
|
447
447
|
const startedAt = Date.now();
|
|
448
|
-
const { runPlan, PLAN_SUBCOMMANDS } = await import("./plan-
|
|
448
|
+
const { runPlan, PLAN_SUBCOMMANDS } = await import("./plan-NANUWH4T.js");
|
|
449
449
|
const normalizedSubcommand = (subcommand ?? "").trim().toLowerCase();
|
|
450
450
|
if (!normalizedSubcommand) {
|
|
451
451
|
throw new PmCliError(`pm plan requires a subcommand. Allowed: ${PLAN_SUBCOMMANDS.join(", ")}`, EXIT_CODE.USAGE, {
|
|
@@ -466,7 +466,10 @@ function registerMutationCommands(program) {
|
|
|
466
466
|
["blocked_by", "blockedBy"],
|
|
467
467
|
["resume_context", "resumeContext"],
|
|
468
468
|
["from_search", "fromSearch"],
|
|
469
|
-
|
|
469
|
+
// pm-6mit: "step" is no longer folded into stepTitle here — it is a
|
|
470
|
+
// first-class repeatable option normalized inside runPlan (create
|
|
471
|
+
// accumulates ordered steps; other subcommands accept a single value
|
|
472
|
+
// as a stepTitle alias).
|
|
470
473
|
["step_title", "stepTitle"],
|
|
471
474
|
["step_body", "stepBody"],
|
|
472
475
|
["step_owner", "stepOwner"],
|
|
@@ -526,7 +529,7 @@ function registerMutationCommands(program) {
|
|
|
526
529
|
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) => {
|
|
527
530
|
const globalOptions = getGlobalOptions(command);
|
|
528
531
|
const startedAt = Date.now();
|
|
529
|
-
const { runHistoryRedact } = await import("./history-redact-
|
|
532
|
+
const { runHistoryRedact } = await import("./history-redact-75KIIJUJ.js");
|
|
530
533
|
const literal = Array.isArray(options.literal) ? options.literal : void 0;
|
|
531
534
|
const regex = Array.isArray(options.regex) ? options.regex : void 0;
|
|
532
535
|
const result = await runHistoryRedact(id, {
|
|
@@ -546,17 +549,28 @@ function registerMutationCommands(program) {
|
|
|
546
549
|
printError(`profile:command=history-redact took_ms=${Date.now() - startedAt}`);
|
|
547
550
|
}
|
|
548
551
|
});
|
|
549
|
-
program.command("history-repair").argument("
|
|
552
|
+
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) => {
|
|
550
553
|
const globalOptions = getGlobalOptions(command);
|
|
551
554
|
const startedAt = Date.now();
|
|
552
|
-
const { runHistoryRepair } = await import("./history-repair-
|
|
553
|
-
const
|
|
555
|
+
const { runHistoryRepair, runHistoryRepairAll, assertHistoryRepairTarget } = await import("./history-repair-UCYS55ZX.js");
|
|
556
|
+
const all = options.all === true;
|
|
557
|
+
assertHistoryRepairTarget(id, all);
|
|
558
|
+
const repairOptions = {
|
|
554
559
|
dryRun: options.dryRun === true,
|
|
555
560
|
author: typeof options.author === "string" ? options.author : void 0,
|
|
556
561
|
message: typeof options.message === "string" ? options.message : void 0,
|
|
557
562
|
force: Boolean(options.force)
|
|
558
|
-
}
|
|
559
|
-
|
|
563
|
+
};
|
|
564
|
+
if (all) {
|
|
565
|
+
const result = await runHistoryRepairAll(repairOptions, globalOptions);
|
|
566
|
+
printResult(result, globalOptions);
|
|
567
|
+
if (result.totals.failed > 0) {
|
|
568
|
+
process.exitCode = EXIT_CODE.GENERIC_FAILURE;
|
|
569
|
+
}
|
|
570
|
+
} else {
|
|
571
|
+
const result = await runHistoryRepair(id, repairOptions, globalOptions);
|
|
572
|
+
printResult(result, globalOptions);
|
|
573
|
+
}
|
|
560
574
|
if (globalOptions.profile) {
|
|
561
575
|
printError(`profile:command=history-repair took_ms=${Date.now() - startedAt}`);
|
|
562
576
|
}
|
|
@@ -564,7 +578,7 @@ function registerMutationCommands(program) {
|
|
|
564
578
|
program.command("history-compact").argument("<id>", "Item id").option("--before <value>", "Compact entries strictly before this version number or ISO timestamp").option("--dry-run", "Preview compaction impact without writing the history file").option("--author <value>", "Mutation author").option("--message <value>", "Audit history message for the compaction marker entry").option("--force", "Force ownership/lock override").description("Compact an item history stream into a synthetic baseline plus retained tail entries.").action(async (id, options, command) => {
|
|
565
579
|
const globalOptions = getGlobalOptions(command);
|
|
566
580
|
const startedAt = Date.now();
|
|
567
|
-
const { runHistoryCompact } = await import("./history-compact-
|
|
581
|
+
const { runHistoryCompact } = await import("./history-compact-WQZQ6KXM.js");
|
|
568
582
|
const result = await runHistoryCompact(id, {
|
|
569
583
|
before: typeof options.before === "string" ? options.before : void 0,
|
|
570
584
|
dryRun: options.dryRun === true,
|
|
@@ -582,7 +596,7 @@ function registerMutationCommands(program) {
|
|
|
582
596
|
schemaCommand.action(async (subcommand, name, options, command) => {
|
|
583
597
|
const globalOptions = getGlobalOptions(command);
|
|
584
598
|
const startedAt = Date.now();
|
|
585
|
-
const { runSchemaAddType, runSchemaRemoveType, runSchemaAddStatus, runSchemaRemoveStatus, runSchemaList, runSchemaShow, runSchemaShowStatus, formatSchemaAddTypeHuman, formatSchemaRemoveTypeHuman, formatSchemaAddStatusHuman, formatSchemaRemoveStatusHuman, formatSchemaListHuman, formatSchemaShowHuman, formatSchemaShowStatusHuman, SCHEMA_SUBCOMMANDS } = await import("./schema-
|
|
599
|
+
const { runSchemaAddType, runSchemaRemoveType, runSchemaAddStatus, runSchemaRemoveStatus, runSchemaList, runSchemaShow, runSchemaShowStatus, formatSchemaAddTypeHuman, formatSchemaRemoveTypeHuman, formatSchemaAddStatusHuman, formatSchemaRemoveStatusHuman, formatSchemaListHuman, formatSchemaShowHuman, formatSchemaShowStatusHuman, SCHEMA_SUBCOMMANDS } = await import("./schema-RNVJ55V2.js");
|
|
586
600
|
let normalizedSubcommand = (subcommand ?? "").trim().toLowerCase();
|
|
587
601
|
let typeName = name;
|
|
588
602
|
if (!normalizedSubcommand) {
|
|
@@ -675,7 +689,7 @@ function registerMutationCommands(program) {
|
|
|
675
689
|
throw new PmCliError("Specify comment text with exactly one source: positional [text], --add, --stdin, or --file", EXIT_CODE.USAGE);
|
|
676
690
|
}
|
|
677
691
|
const add = addFromOption ?? addFromPositional;
|
|
678
|
-
const { runComments } = await import("./comments-
|
|
692
|
+
const { runComments } = await import("./comments-TOLOYWNI.js");
|
|
679
693
|
const result = await runComments(id, {
|
|
680
694
|
add,
|
|
681
695
|
stdin: readFromStdin,
|
|
@@ -703,7 +717,7 @@ function registerMutationCommands(program) {
|
|
|
703
717
|
throw new PmCliError("Specify note text either as positional [text] or with --add, not both", EXIT_CODE.USAGE);
|
|
704
718
|
}
|
|
705
719
|
const add = addFromOption ?? addFromPositional;
|
|
706
|
-
const { runNotes } = await import("./notes-
|
|
720
|
+
const { runNotes } = await import("./notes-HMCB7TK6.js");
|
|
707
721
|
const result = await runNotes(id, {
|
|
708
722
|
add,
|
|
709
723
|
limit: typeof options.limit === "string" ? options.limit : void 0,
|
|
@@ -729,7 +743,7 @@ function registerMutationCommands(program) {
|
|
|
729
743
|
throw new PmCliError("Specify learning text either as positional [text] or with --add, not both", EXIT_CODE.USAGE);
|
|
730
744
|
}
|
|
731
745
|
const add = addFromOption ?? addFromPositional;
|
|
732
|
-
const { runLearnings } = await import("./learnings-
|
|
746
|
+
const { runLearnings } = await import("./learnings-QKJOKEAO.js");
|
|
733
747
|
const result = await runLearnings(id, {
|
|
734
748
|
add,
|
|
735
749
|
limit: typeof options.limit === "string" ? options.limit : void 0,
|
|
@@ -747,19 +761,20 @@ function registerMutationCommands(program) {
|
|
|
747
761
|
}
|
|
748
762
|
});
|
|
749
763
|
const filesCommand = program.command("files").description("Manage files linked to an item.");
|
|
750
|
-
filesCommand.argument("<id>", "Item id").option("--add <value>", "Add linked file entry (CSV/markdown pairs or - for stdin)", collect).option("--add-glob <value>", "Add linked file entries from a glob (plain glob or pattern=<glob>,scope=<scope>,note=<text>; repeatable)", collect).option("--remove <value>", "Remove linked file by path (path=<value>, path:<value>, plain path, or - for stdin)", collect).option("--migrate <value>", "Migrate linked file paths in-place (from=<prefix>,to=<prefix>; repeatable)", collect).option("--list", "List linked files without mutating").option("--append-stable", "Preserve existing linked-file order and append new links without full-array resorting").option("--validate-paths", "Validate linked file paths for existence and file shape").option("--audit", "Audit linked file usage across all items for this item's linked paths").option("--author <value>", "Mutation author").option("--message <value>", "History message").option("--force", "Force ownership override").action(async (id, options, command) => {
|
|
764
|
+
filesCommand.argument("<id>", "Item id").option("--add <value>", "Add linked file entry (CSV/markdown pairs or - for stdin)", collect).option("--add-glob <value>", "Add linked file entries from a glob (plain glob or pattern=<glob>,scope=<scope>,note=<text>; repeatable)", collect).option("--remove <value>", "Remove linked file by path (path=<value>, path:<value>, plain path, or - for stdin)", collect).option("--migrate <value>", "Migrate linked file paths in-place (from=<prefix>,to=<prefix>; repeatable)", collect).option("--note <value>", "Note attached to every link added by --add/--add-glob in this invocation (embedded note= wins)").option("--list", "List linked files without mutating").option("--append-stable", "Preserve existing linked-file order and append new links without full-array resorting").option("--validate-paths", "Validate linked file paths for existence and file shape").option("--audit", "Audit linked file usage across all items for this item's linked paths").option("--author <value>", "Mutation author").option("--message <value>", "History message").option("--force", "Force ownership override").action(async (id, options, command) => {
|
|
751
765
|
const globalOptions = getGlobalOptions(command);
|
|
752
766
|
const startedAt = Date.now();
|
|
753
767
|
const addValues = Array.isArray(options.add) ? options.add : [];
|
|
754
768
|
const addGlobValues = Array.isArray(options.addGlob) ? options.addGlob : [];
|
|
755
769
|
const removeValues = Array.isArray(options.remove) ? options.remove : [];
|
|
756
770
|
const migrateValues = Array.isArray(options.migrate) ? options.migrate : [];
|
|
757
|
-
const { runFiles } = await import("./files-
|
|
771
|
+
const { runFiles } = await import("./files-LIFDKNCN.js");
|
|
758
772
|
const result = await runFiles(id, {
|
|
759
773
|
add: addValues,
|
|
760
774
|
addGlob: addGlobValues,
|
|
761
775
|
remove: removeValues,
|
|
762
776
|
migrate: migrateValues,
|
|
777
|
+
note: typeof options.note === "string" ? options.note : void 0,
|
|
763
778
|
list: Boolean(options.list),
|
|
764
779
|
appendStable: Boolean(options.appendStable),
|
|
765
780
|
validatePaths: Boolean(options.validatePaths),
|
|
@@ -779,14 +794,15 @@ function registerMutationCommands(program) {
|
|
|
779
794
|
filesCommand.command("discover").argument("<id>", "Item id").option("--apply", "Add discovered missing files to the item").option("--note <value>", "Note to attach to discovered file links").option("--append-stable", "Preserve existing linked-file order and append discovered links without full-array resorting").option("--author <value>", "Mutation author").option("--message <value>", "History message").option("--force", "Force ownership override").description("Discover existing file paths referenced in item text and optionally link missing files.").action(async (id, options, command) => {
|
|
780
795
|
const globalOptions = getGlobalOptions(command);
|
|
781
796
|
const startedAt = Date.now();
|
|
782
|
-
const
|
|
797
|
+
const mergedOptions = { ...command.optsWithGlobals(), ...options };
|
|
798
|
+
const { runFilesDiscover } = await import("./files-LIFDKNCN.js");
|
|
783
799
|
const result = await runFilesDiscover(id, {
|
|
784
|
-
apply: Boolean(
|
|
785
|
-
note: typeof
|
|
786
|
-
appendStable: Boolean(
|
|
787
|
-
author: typeof
|
|
788
|
-
message: typeof
|
|
789
|
-
force: Boolean(
|
|
800
|
+
apply: Boolean(mergedOptions.apply),
|
|
801
|
+
note: typeof mergedOptions.note === "string" ? mergedOptions.note : void 0,
|
|
802
|
+
appendStable: Boolean(mergedOptions.appendStable),
|
|
803
|
+
author: typeof mergedOptions.author === "string" ? mergedOptions.author : void 0,
|
|
804
|
+
message: typeof mergedOptions.message === "string" ? mergedOptions.message : void 0,
|
|
805
|
+
force: Boolean(mergedOptions.force)
|
|
790
806
|
}, globalOptions);
|
|
791
807
|
if (result.changed) {
|
|
792
808
|
await invalidateSearchCachesForMutation(globalOptions, result);
|
|
@@ -796,19 +812,20 @@ function registerMutationCommands(program) {
|
|
|
796
812
|
printError(`profile:command=files.discover took_ms=${Date.now() - startedAt}`);
|
|
797
813
|
}
|
|
798
814
|
});
|
|
799
|
-
program.command("docs").argument("<id>", "Item id").option("--add <value>", "Add linked doc entry (CSV/markdown pairs or - for stdin)", collect).option("--add-glob <value>", "Add linked doc entries from a glob (plain glob or pattern=<glob>,scope=<scope>,note=<text>; repeatable)", collect).option("--remove <value>", "Remove linked doc by path (path=<value>, path:<value>, plain path, or - for stdin)", collect).option("--migrate <value>", "Migrate linked doc paths in-place (from=<prefix>,to=<prefix>; repeatable)", collect).option("--list", "List linked docs without mutating").option("--validate-paths", "Validate linked doc paths for existence and file shape").option("--audit", "Audit linked doc usage across all items for this item's linked paths").option("--author <value>", "Mutation author").option("--message <value>", "History message").option("--force", "Force ownership override").description("Manage docs linked to an item.").action(async (id, options, command) => {
|
|
815
|
+
program.command("docs").argument("<id>", "Item id").option("--add <value>", "Add linked doc entry (CSV/markdown pairs or - for stdin)", collect).option("--add-glob <value>", "Add linked doc entries from a glob (plain glob or pattern=<glob>,scope=<scope>,note=<text>; repeatable)", collect).option("--remove <value>", "Remove linked doc by path (path=<value>, path:<value>, plain path, or - for stdin)", collect).option("--migrate <value>", "Migrate linked doc paths in-place (from=<prefix>,to=<prefix>; repeatable)", collect).option("--note <value>", "Note attached to every link added by --add/--add-glob in this invocation (embedded note= wins)").option("--list", "List linked docs without mutating").option("--validate-paths", "Validate linked doc paths for existence and file shape").option("--audit", "Audit linked doc usage across all items for this item's linked paths").option("--author <value>", "Mutation author").option("--message <value>", "History message").option("--force", "Force ownership override").description("Manage docs linked to an item.").action(async (id, options, command) => {
|
|
800
816
|
const globalOptions = getGlobalOptions(command);
|
|
801
817
|
const startedAt = Date.now();
|
|
802
818
|
const addValues = Array.isArray(options.add) ? options.add : [];
|
|
803
819
|
const addGlobValues = Array.isArray(options.addGlob) ? options.addGlob : [];
|
|
804
820
|
const removeValues = Array.isArray(options.remove) ? options.remove : [];
|
|
805
821
|
const migrateValues = Array.isArray(options.migrate) ? options.migrate : [];
|
|
806
|
-
const { runDocs } = await import("./docs-
|
|
822
|
+
const { runDocs } = await import("./docs-SRTLCQOL.js");
|
|
807
823
|
const result = await runDocs(id, {
|
|
808
824
|
add: addValues,
|
|
809
825
|
addGlob: addGlobValues,
|
|
810
826
|
remove: removeValues,
|
|
811
827
|
migrate: migrateValues,
|
|
828
|
+
note: typeof options.note === "string" ? options.note : void 0,
|
|
812
829
|
list: Boolean(options.list),
|
|
813
830
|
validatePaths: Boolean(options.validatePaths),
|
|
814
831
|
audit: Boolean(options.audit),
|
|
@@ -827,7 +844,7 @@ function registerMutationCommands(program) {
|
|
|
827
844
|
program.command("deps").argument("<id>", "Item id").option("--format <value>", "Output format (tree or graph)", "tree").option("--max-depth <value>", "Maximum dependency traversal depth (0 keeps only the root)").option("--collapse <value>", "Collapse mode (none or repeated)", "none").option("--summary", "Return counts only without full tree/graph payload").description("Show dependency relationships for an item.").action(async (id, options, command) => {
|
|
828
845
|
const globalOptions = getGlobalOptions(command);
|
|
829
846
|
const startedAt = Date.now();
|
|
830
|
-
const { runDeps } = await import("./deps-
|
|
847
|
+
const { runDeps } = await import("./deps-GPB3LGWN.js");
|
|
831
848
|
const result = await runDeps(id, {
|
|
832
849
|
format: typeof options.format === "string" ? options.format : void 0,
|
|
833
850
|
maxDepth: typeof options.maxDepth === "string" ? options.maxDepth : void 0,
|
|
@@ -843,4 +860,4 @@ function registerMutationCommands(program) {
|
|
|
843
860
|
export {
|
|
844
861
|
registerMutationCommands
|
|
845
862
|
};
|
|
846
|
-
//# sourceMappingURL=register-mutation-
|
|
863
|
+
//# sourceMappingURL=register-mutation-QKFPTIZG.js.map
|