@unbrained/pm-cli 2026.6.16 → 2026.6.17
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 +18 -0
- package/dist/cli/commands/completion.js +96 -10
- package/dist/cli/commands/completion.js.map +1 -1
- package/dist/cli/commands/create.d.ts +2 -0
- package/dist/cli/commands/create.js +34 -13
- package/dist/cli/commands/create.js.map +1 -1
- package/dist/cli/commands/index.d.ts +3 -1
- package/dist/cli/commands/index.js +5 -3
- package/dist/cli/commands/index.js.map +1 -1
- package/dist/cli/commands/init.d.ts +2 -1
- package/dist/cli/commands/init.js +14 -61
- package/dist/cli/commands/init.js.map +1 -1
- package/dist/cli/commands/lifecycle-transitions.d.ts +23 -0
- package/dist/cli/commands/lifecycle-transitions.js +41 -0
- package/dist/cli/commands/lifecycle-transitions.js.map +1 -0
- package/dist/cli/commands/linked-artifacts.d.ts +5 -0
- package/dist/cli/commands/linked-artifacts.js +18 -4
- package/dist/cli/commands/linked-artifacts.js.map +1 -1
- package/dist/cli/commands/recurrence-parsers.d.ts +9 -0
- package/dist/cli/commands/recurrence-parsers.js +19 -2
- package/dist/cli/commands/recurrence-parsers.js.map +1 -1
- package/dist/cli/commands/repeatable-metadata-parsers.js +28 -4
- package/dist/cli/commands/repeatable-metadata-parsers.js.map +1 -1
- package/dist/cli/commands/scheduling-shortcuts.d.ts +43 -0
- package/dist/cli/commands/scheduling-shortcuts.js +87 -0
- package/dist/cli/commands/scheduling-shortcuts.js.map +1 -0
- package/dist/cli/commands/schema.d.ts +134 -2
- package/dist/cli/commands/schema.js +482 -3
- package/dist/cli/commands/schema.js.map +1 -1
- package/dist/cli/commands/update.js +19 -5
- package/dist/cli/commands/update.js.map +1 -1
- package/dist/cli/help-content.js +26 -2
- package/dist/cli/help-content.js.map +1 -1
- package/dist/cli/main.d.ts +19 -0
- package/dist/cli/main.js +40 -2
- package/dist/cli/main.js.map +1 -1
- package/dist/cli/register-mutation.js +168 -62
- package/dist/cli/register-mutation.js.map +1 -1
- package/dist/cli/register-operations.js +103 -2
- package/dist/cli/register-operations.js.map +1 -1
- package/dist/cli-bundle/chunks/activity-PZYSZA26.js +18 -0
- package/dist/cli-bundle/chunks/{activity-MJGTX4LO.js → activity-SFM4THAU.js} +11 -11
- package/dist/cli-bundle/chunks/{aggregate-OUGCDFNC.js → aggregate-Y5ADDKBM.js} +10 -10
- package/dist/cli-bundle/chunks/{aggregate-MH3GROKB.js → aggregate-YTAUQLRW.js} +10 -10
- package/dist/cli-bundle/chunks/{append-VCRUG2W6.js → append-4M7OVV7M.js} +8 -8
- package/dist/cli-bundle/chunks/{append-2Q4BPUBW.js → append-HSPK4L4V.js} +8 -8
- package/dist/cli-bundle/chunks/{chunk-F2GC6L3N.js → chunk-26BM6YLO.js} +3 -3
- package/dist/cli-bundle/chunks/{chunk-ILHLIA47.js → chunk-2C6FU3D3.js} +3 -3
- package/dist/cli-bundle/chunks/{chunk-B5Q7XC4K.js → chunk-2OPYLXDO.js} +4 -4
- package/dist/cli-bundle/chunks/{chunk-CBMETQ2U.js → chunk-2S46FKLB.js} +5 -5
- package/dist/cli-bundle/chunks/{chunk-MJZUZ2QE.js → chunk-2TMKMTEI.js} +3 -3
- package/dist/cli-bundle/chunks/{chunk-M23HXJL3.js → chunk-2VH7DFSJ.js} +2 -2
- package/dist/cli-bundle/chunks/{chunk-BJWTFOZM.js → chunk-3ENF4NO4.js} +8 -8
- package/dist/cli-bundle/chunks/{chunk-7EILPFMA.js → chunk-3GR2HTYY.js} +2 -2
- package/dist/cli-bundle/chunks/{chunk-764O7EUA.js → chunk-3R3FYCBV.js} +3 -3
- package/dist/cli-bundle/chunks/{chunk-G3CEIXTV.js → chunk-3UKJX3RP.js} +27 -15
- package/dist/cli-bundle/chunks/chunk-3UKJX3RP.js.map +7 -0
- package/dist/cli-bundle/chunks/chunk-4RTLBTYS.js +83 -0
- package/dist/cli-bundle/chunks/chunk-4RTLBTYS.js.map +1 -0
- package/dist/cli-bundle/chunks/{chunk-4VLB4JH2.js → chunk-5FDYWOJT.js} +4 -3
- package/dist/cli-bundle/chunks/{chunk-WZCQVABQ.js → chunk-5XGWFUW2.js} +2 -2
- package/dist/cli-bundle/chunks/{chunk-667XI4UJ.js → chunk-6BD77FGL.js} +8 -8
- package/dist/cli-bundle/chunks/{chunk-KZYVTOG5.js → chunk-6HF6CIY2.js} +9 -9
- package/dist/cli-bundle/chunks/{chunk-XLNNCKTN.js → chunk-6PBPD4MN.js} +8 -8
- package/dist/cli-bundle/chunks/{chunk-Z3MUNQRV.js → chunk-6VFUEGOA.js} +4 -3
- package/dist/cli-bundle/chunks/{chunk-HDIDUME4.js → chunk-AAOXSPAE.js} +19 -67
- package/dist/cli-bundle/chunks/chunk-AAOXSPAE.js.map +1 -0
- package/dist/cli-bundle/chunks/{chunk-O46LTCXQ.js → chunk-AJCQ5GT6.js} +4 -4
- package/dist/cli-bundle/chunks/{chunk-7ZGKNHUL.js → chunk-ALTGYHN3.js} +2 -2
- package/dist/cli-bundle/chunks/{chunk-PZD7WPUC.js → chunk-AOJQL33L.js} +28 -16
- package/dist/cli-bundle/chunks/chunk-AOJQL33L.js.map +1 -0
- package/dist/cli-bundle/chunks/{chunk-SY4PZWIZ.js → chunk-AXLDUGXA.js} +2 -2
- package/dist/cli-bundle/chunks/{chunk-YGRPBFMA.js → chunk-BITCVGHT.js} +2 -2
- package/dist/cli-bundle/chunks/{chunk-UUKORJSN.js → chunk-CGQTFWYI.js} +4 -4
- package/dist/cli-bundle/chunks/{chunk-LV5FFQ7M.js → chunk-CHM2VFVL.js} +3 -1
- package/dist/cli-bundle/chunks/{chunk-7AGIXLNK.js → chunk-COVLE33A.js} +3 -3
- package/dist/cli-bundle/chunks/{chunk-SY4GKIWT.js → chunk-DDNBWH4W.js} +91 -20
- package/dist/cli-bundle/chunks/chunk-DDNBWH4W.js.map +1 -0
- package/dist/cli-bundle/chunks/{chunk-2JEGCDYT.js → chunk-F5MSD5HE.js} +2 -2
- package/dist/cli-bundle/chunks/{chunk-NIQHNDBZ.js → chunk-FAXB6F6R.js} +7 -7
- package/dist/cli-bundle/chunks/{chunk-7K2MXFMX.js → chunk-FPDK5BZQ.js} +15 -14
- package/dist/cli-bundle/chunks/chunk-FPDK5BZQ.js.map +1 -0
- package/dist/cli-bundle/chunks/{chunk-3XOXWOGA.js → chunk-FPY2TOFI.js} +125 -9
- package/dist/cli-bundle/chunks/chunk-FPY2TOFI.js.map +1 -0
- package/dist/cli-bundle/chunks/{chunk-TIRZIQRP.js → chunk-G2MOUCTU.js} +5 -5
- package/dist/cli-bundle/chunks/{chunk-F7WSO5UX.js → chunk-G57RHEGP.js} +33 -4
- package/dist/cli-bundle/chunks/chunk-G57RHEGP.js.map +1 -0
- package/dist/cli-bundle/chunks/{chunk-GAVE4MYM.js → chunk-IROHIK2T.js} +3 -3
- package/dist/cli-bundle/chunks/{chunk-ZJRDVYZI.js → chunk-JZHL4E3Q.js} +4 -4
- package/dist/cli-bundle/chunks/{chunk-4KBK4BA3.js → chunk-KA22USXD.js} +14 -13
- package/dist/cli-bundle/chunks/chunk-KA22USXD.js.map +7 -0
- package/dist/cli-bundle/chunks/{chunk-KQ3LAMDO.js → chunk-KBC4O7SY.js} +18 -66
- package/dist/cli-bundle/chunks/chunk-KBC4O7SY.js.map +7 -0
- package/dist/cli-bundle/chunks/{chunk-UBMCSJXX.js → chunk-KCAGIH6K.js} +3 -3
- package/dist/cli-bundle/chunks/{chunk-656HPQPO.js → chunk-KO3VM5GS.js} +9 -9
- package/dist/cli-bundle/chunks/{chunk-OY3P2I6B.js → chunk-LNH5Q32E.js} +2 -2
- package/dist/cli-bundle/chunks/{chunk-GQ4JKNMV.js → chunk-LORM3M2I.js} +3 -3
- package/dist/cli-bundle/chunks/{chunk-OCTQJP42.js → chunk-M4AVU7VC.js} +7 -7
- package/dist/cli-bundle/chunks/{chunk-3WAULYOY.js → chunk-MIBX6ZRN.js} +3 -3
- package/dist/cli-bundle/chunks/{chunk-FXNT5LPX.js → chunk-MMF2E3FM.js} +7 -7
- package/dist/cli-bundle/chunks/{chunk-AERT7KT3.js → chunk-MORZOR7W.js} +21 -8
- package/dist/cli-bundle/chunks/chunk-MORZOR7W.js.map +1 -0
- package/dist/cli-bundle/chunks/{chunk-IMQG4VR3.js → chunk-MUTUZ2HD.js} +9 -9
- package/dist/cli-bundle/chunks/{chunk-7L5VOUYP.js → chunk-OGXEBTX3.js} +32 -3
- package/dist/cli-bundle/chunks/{chunk-7L5VOUYP.js.map → chunk-OGXEBTX3.js.map} +2 -2
- package/dist/cli-bundle/chunks/{chunk-NCIBNERT.js → chunk-OOIH6J5T.js} +2 -2
- package/dist/cli-bundle/chunks/{chunk-II7OGE3V.js → chunk-OSBJPPX3.js} +5 -5
- package/dist/cli-bundle/chunks/{chunk-HPELHUTG.js → chunk-PJS3WDO2.js} +5 -5
- package/dist/cli-bundle/chunks/{chunk-6NQXMGYU.js → chunk-QGPE2H6Z.js} +5 -5
- package/dist/cli-bundle/chunks/{chunk-ASM4DVRW.js → chunk-QVTFFLR2.js} +2 -2
- package/dist/cli-bundle/chunks/{chunk-FTAZLAR7.js → chunk-QW2F6ARZ.js} +2 -2
- package/dist/cli-bundle/chunks/{chunk-A576QZDL.js → chunk-QXC3LWB7.js} +3 -3
- package/dist/cli-bundle/chunks/{chunk-6BV7ENQL.js → chunk-QXMXRPX5.js} +2 -2
- package/dist/cli-bundle/chunks/{chunk-SPYPC5CB.js → chunk-R4AKUPKI.js} +2 -2
- package/dist/cli-bundle/chunks/{chunk-UAR2VNCK.js → chunk-RASR23HV.js} +2 -2
- package/dist/cli-bundle/chunks/{chunk-YXTLI4XP.js → chunk-SCDCNGCV.js} +7 -7
- package/dist/cli-bundle/chunks/{chunk-2IUJBMKS.js → chunk-SCS5PVAA.js} +8 -8
- package/dist/cli-bundle/chunks/{chunk-KTVETP66.js → chunk-SJCMTOEU.js} +3 -1
- package/dist/cli-bundle/chunks/{chunk-L6FJPOT4.js → chunk-SO2ES46D.js} +8 -8
- package/dist/cli-bundle/chunks/{chunk-GYMG7AG6.js → chunk-TBV33CB4.js} +3 -3
- package/dist/cli-bundle/chunks/chunk-TEFEXQWI.js +86 -0
- package/dist/cli-bundle/chunks/chunk-TEFEXQWI.js.map +7 -0
- package/dist/cli-bundle/chunks/{chunk-OLTYNVJR.js → chunk-TWBDDVIF.js} +20 -7
- package/dist/cli-bundle/chunks/chunk-TWBDDVIF.js.map +7 -0
- package/dist/cli-bundle/chunks/{chunk-XNOY7TCB.js → chunk-UGUJ2UOR.js} +9 -9
- package/dist/cli-bundle/chunks/{chunk-E6J2PEK6.js → chunk-UN6P3IJ4.js} +3 -3
- package/dist/cli-bundle/chunks/{chunk-ZONXMSVB.js → chunk-V2GYOMEX.js} +2 -2
- package/dist/cli-bundle/chunks/{chunk-T5VU7ROQ.js → chunk-VF3KQGNY.js} +4 -4
- package/dist/cli-bundle/chunks/{chunk-RKKIH2ZQ.js → chunk-VHG6LUKR.js} +4 -4
- package/dist/cli-bundle/chunks/{chunk-H6EH6ENJ.js → chunk-VXHMQDXA.js} +126 -10
- package/dist/cli-bundle/chunks/chunk-VXHMQDXA.js.map +7 -0
- package/dist/cli-bundle/chunks/{chunk-G2YVUY7I.js → chunk-VXRFAE7W.js} +2 -2
- package/dist/cli-bundle/chunks/{chunk-Q5RLUCP3.js → chunk-WQRL4COW.js} +8 -8
- package/dist/cli-bundle/chunks/{chunk-IQVB3YDD.js → chunk-XESAPVZ4.js} +99 -21
- package/dist/cli-bundle/chunks/chunk-XESAPVZ4.js.map +7 -0
- package/dist/cli-bundle/chunks/{chunk-TUB3DZAZ.js → chunk-YLAW3FZN.js} +5 -5
- package/dist/cli-bundle/chunks/{claim-NEO7AGWH.js → claim-WGAWJCPY.js} +10 -10
- package/dist/cli-bundle/chunks/{claim-4APLUXJW.js → claim-ZI6P4LMU.js} +10 -10
- package/dist/cli-bundle/chunks/close-I7PRQ5G7.js +13 -0
- package/dist/cli-bundle/chunks/{close-3QABBNGU.js → close-JMVVSIQE.js} +8 -8
- package/dist/cli-bundle/chunks/{close-many-MIZLTYGL.js → close-many-IKPJXVOZ.js} +15 -15
- package/dist/cli-bundle/chunks/{close-many-Q7Y5AHQI.js → close-many-TXABDCSJ.js} +15 -15
- package/dist/cli-bundle/chunks/{comments-DAIQPOMU.js → comments-RLWR2S7W.js} +10 -10
- package/dist/cli-bundle/chunks/{comments-IWFSVM4P.js → comments-YAMXKHUX.js} +10 -10
- package/dist/cli-bundle/chunks/{config-PXTMAYV3.js → config-7ICYC2WU.js} +47 -9
- package/dist/cli-bundle/chunks/config-7ICYC2WU.js.map +7 -0
- package/dist/cli-bundle/chunks/{config-IOJELD6O.js → config-NGWN3EXC.js} +48 -10
- package/dist/cli-bundle/chunks/config-NGWN3EXC.js.map +1 -0
- package/dist/cli-bundle/chunks/{context-QHJSCJW4.js → context-K6QAHN5H.js} +13 -13
- package/dist/cli-bundle/chunks/{context-XZS2VFKU.js → context-VGXOOAH2.js} +13 -13
- package/dist/cli-bundle/chunks/{contracts-B7U4OJTV.js → contracts-KJGY2AQA.js} +51 -11
- package/dist/cli-bundle/chunks/contracts-KJGY2AQA.js.map +1 -0
- package/dist/cli-bundle/chunks/{contracts-NSBVLXQ3.js → contracts-KMA6OJY7.js} +50 -10
- package/dist/cli-bundle/chunks/{contracts-B7U4OJTV.js.map → contracts-KMA6OJY7.js.map} +7 -1
- package/dist/cli-bundle/chunks/{copy-Q64T5FD4.js → copy-Q2PPU4AY.js} +7 -7
- package/dist/cli-bundle/chunks/{copy-SG34LCMU.js → copy-SC6UF3PI.js} +7 -7
- package/dist/cli-bundle/chunks/{create-IPAX2SNL.js → create-76FE7JVF.js} +14 -14
- package/dist/cli-bundle/chunks/create-RTRFW6RE.js +30 -0
- package/dist/cli-bundle/chunks/{delete-VH3L7DZ6.js → delete-T6DJSUJI.js} +7 -7
- package/dist/cli-bundle/chunks/{delete-TLXR7LJ2.js → delete-XFUX533E.js} +7 -7
- package/dist/cli-bundle/chunks/{deps-J3HBBLDB.js → deps-5GWMMS6D.js} +7 -7
- package/dist/cli-bundle/chunks/{deps-XV6JJ6IN.js → deps-MCCU633S.js} +7 -7
- package/dist/cli-bundle/chunks/{docs-GWDEB7JH.js → docs-HE3HCQ4S.js} +9 -9
- package/dist/cli-bundle/chunks/{docs-RCLNSKID.js → docs-SXMOABHR.js} +9 -9
- package/dist/cli-bundle/chunks/{extension-7KO2NX2A.js → extension-E23K4QRR.js} +5 -5
- package/dist/cli-bundle/chunks/{extension-5RN65LHT.js → extension-PMD3XMLN.js} +5 -5
- package/dist/cli-bundle/chunks/{files-3TCQHUHA.js → files-2RSWGPEU.js} +9 -9
- package/dist/cli-bundle/chunks/{files-5FDUPSEA.js → files-ZWFJFWBK.js} +9 -9
- package/dist/cli-bundle/chunks/{focus-HQXBYPKM.js → focus-KTTB3P3F.js} +8 -8
- package/dist/cli-bundle/chunks/{focus-7AQMNRSU.js → focus-ZMDP4FEL.js} +8 -8
- package/dist/cli-bundle/chunks/{gc-5B6ABL3Z.js → gc-BXIAKLAH.js} +3 -3
- package/dist/cli-bundle/chunks/{gc-2FGKYRJ4.js → gc-C7K6JNUO.js} +3 -3
- package/dist/cli-bundle/chunks/{get-FUMVOJQD.js → get-AZQLC4NO.js} +11 -11
- package/dist/cli-bundle/chunks/{get-H5BZTW4A.js → get-I65HTAWO.js} +11 -11
- package/dist/cli-bundle/chunks/{health-JSVOR6B4.js → health-3MFFPQVZ.js} +13 -13
- package/dist/cli-bundle/chunks/{health-LE2ZQGSM.js → health-MYZEOCLI.js} +13 -13
- package/dist/cli-bundle/chunks/{history-QO4JVJJP.js → history-73Z6OBFZ.js} +10 -10
- package/dist/cli-bundle/chunks/history-BIPHVUMF.js +20 -0
- package/dist/cli-bundle/chunks/{history-compact-ID74DOUI.js → history-compact-24VQ63A3.js} +11 -11
- package/dist/cli-bundle/chunks/{history-compact-SDFRPZ4V.js → history-compact-UIAR2OI4.js} +11 -11
- package/dist/cli-bundle/chunks/{history-redact-Z4P5MM3G.js → history-redact-7YCXEWJD.js} +11 -11
- package/dist/cli-bundle/chunks/history-redact-WZZ6GZ2Z.js +21 -0
- package/dist/cli-bundle/chunks/{history-repair-CKE7GLZR.js → history-repair-4NOFFG2W.js} +12 -12
- package/dist/cli-bundle/chunks/{history-repair-ANHEYWKF.js → history-repair-GQN2X4TR.js} +12 -12
- package/dist/cli-bundle/chunks/init-K34V4PZR.js +20 -0
- package/dist/cli-bundle/chunks/{init-K6MSMB37.js → init-TDEDNVMM.js} +10 -9
- package/dist/cli-bundle/chunks/{learnings-VIS3NOQV.js → learnings-TV2CTGJ3.js} +10 -10
- package/dist/cli-bundle/chunks/{learnings-YYNB64GN.js → learnings-U67FTXPB.js} +10 -10
- package/dist/cli-bundle/chunks/{list-UHMA3N2K.js → list-MSHYOCFU.js} +10 -10
- package/dist/cli-bundle/chunks/{list-7UE44A2R.js → list-VV57WGUD.js} +10 -10
- package/dist/cli-bundle/chunks/{notes-IN3UMA7W.js → notes-EUANWWKD.js} +10 -10
- package/dist/cli-bundle/chunks/{notes-2HRMV67I.js → notes-GYVNDAL4.js} +10 -10
- package/dist/cli-bundle/chunks/{plan-PAWCCAPW.js → plan-4LF4AV63.js} +14 -14
- package/dist/cli-bundle/chunks/{plan-I3SVH7FV.js → plan-W27O6DBS.js} +14 -14
- package/dist/cli-bundle/chunks/{register-list-query-OTIK4DVA.js → register-list-query-BXLEHJ7L.js} +18 -18
- package/dist/cli-bundle/chunks/{register-list-query-N7Z7RTDM.js → register-list-query-C2MS3BVQ.js} +18 -18
- package/dist/cli-bundle/chunks/{register-mutation-UFZK6Q57.js → register-mutation-6UCOEQ6L.js} +179 -74
- package/dist/cli-bundle/chunks/register-mutation-6UCOEQ6L.js.map +7 -0
- package/dist/cli-bundle/chunks/{register-mutation-XFORLS6D.js → register-mutation-HE73PREP.js} +180 -75
- package/dist/cli-bundle/chunks/register-mutation-HE73PREP.js.map +1 -0
- package/dist/cli-bundle/chunks/{register-operations-6ZCLKRBG.js → register-operations-L6C32FDA.js} +89 -31
- package/dist/cli-bundle/chunks/{register-operations-6ZCLKRBG.js.map → register-operations-L6C32FDA.js.map} +2 -2
- package/dist/cli-bundle/chunks/{register-operations-ITE7JTH3.js → register-operations-QQEHEX4P.js} +90 -32
- package/dist/cli-bundle/chunks/{register-operations-ITE7JTH3.js.map → register-operations-QQEHEX4P.js.map} +1 -1
- package/dist/cli-bundle/chunks/{register-setup-7RKGE4BQ.js → register-setup-A7N4PNT3.js} +15 -15
- package/dist/cli-bundle/chunks/{register-setup-7UKEFKT6.js → register-setup-WHG3NBP6.js} +15 -15
- package/dist/cli-bundle/chunks/{restore-NNVPBBVJ.js → restore-TSWSULYY.js} +11 -11
- package/dist/cli-bundle/chunks/restore-XQXICL3V.js +19 -0
- package/dist/cli-bundle/chunks/scheduling-shortcuts-NC46K6BD.js +91 -0
- package/dist/cli-bundle/chunks/scheduling-shortcuts-NC46K6BD.js.map +7 -0
- package/dist/cli-bundle/chunks/scheduling-shortcuts-UGDPQALY.js +88 -0
- package/dist/cli-bundle/chunks/scheduling-shortcuts-UGDPQALY.js.map +1 -0
- package/dist/cli-bundle/chunks/{schema-3YKCQ3VO.js → schema-7U7JUYGK.js} +779 -10
- package/dist/cli-bundle/chunks/schema-7U7JUYGK.js.map +1 -0
- package/dist/cli-bundle/chunks/{schema-3HCLXCFX.js → schema-TSBYSEMW.js} +792 -9
- package/dist/cli-bundle/chunks/schema-TSBYSEMW.js.map +7 -0
- package/dist/cli-bundle/chunks/{search-NQ42NC6A.js → search-OXLSQKHP.js} +11 -11
- package/dist/cli-bundle/chunks/{search-V7PZ2ICH.js → search-T3TOFLOQ.js} +11 -11
- package/dist/cli-bundle/chunks/{stats-7KD4PJC5.js → stats-5CLG22YZ.js} +8 -8
- package/dist/cli-bundle/chunks/{stats-GRHO6RFB.js → stats-XEMUXS42.js} +8 -8
- package/dist/cli-bundle/chunks/{telemetry-TRRYZXWT.js → telemetry-23OPBBZT.js} +4 -4
- package/dist/cli-bundle/chunks/{telemetry-H5GLXNG5.js → telemetry-I3D7XZ55.js} +4 -4
- package/dist/cli-bundle/chunks/{test-6CZNIIGA.js → test-AROS3LIV.js} +15 -14
- package/dist/cli-bundle/chunks/{test-7GVQ3VMN.js → test-CECIMKOA.js} +15 -14
- package/dist/cli-bundle/chunks/{test-all-ODVADHV6.js → test-all-4DEQPIXH.js} +17 -16
- package/dist/cli-bundle/chunks/{test-all-ODVADHV6.js.map → test-all-4DEQPIXH.js.map} +1 -1
- package/dist/cli-bundle/chunks/{test-all-3LF2OZD2.js → test-all-6RO6X3SM.js} +15 -14
- package/dist/cli-bundle/chunks/{test-all-3LF2OZD2.js.map → test-all-6RO6X3SM.js.map} +1 -1
- package/dist/cli-bundle/chunks/{test-runs-LYT6ZTNQ.js → test-runs-AAXVFWKH.js} +5 -5
- package/dist/cli-bundle/chunks/{test-runs-RVP6VWN7.js → test-runs-LYBQSYRC.js} +5 -5
- package/dist/cli-bundle/chunks/update-MIWEJC76.js +24 -0
- package/dist/cli-bundle/chunks/update-P7I5YSRB.js +28 -0
- package/dist/cli-bundle/chunks/{update-many-XSEQJ24X.js → update-many-5B4HLVBK.js} +23 -23
- package/dist/cli-bundle/chunks/{update-many-FCU6RKTO.js → update-many-G2QOVZSB.js} +23 -23
- package/dist/cli-bundle/chunks/{upgrade-FOB5LHO5.js → upgrade-GFIDL62L.js} +5 -5
- package/dist/cli-bundle/chunks/{upgrade-A6TL3INC.js → upgrade-QUQYL7D3.js} +5 -5
- package/dist/cli-bundle/chunks/{validate-EHL3MI2V.js → validate-ADDZBMM3.js} +20 -19
- package/dist/cli-bundle/chunks/{validate-EHL3MI2V.js.map → validate-ADDZBMM3.js.map} +1 -1
- package/dist/cli-bundle/chunks/{validate-7BLDG3AT.js → validate-MAS3H6ZP.js} +22 -21
- package/dist/cli-bundle/chunks/{validate-7BLDG3AT.js.map → validate-MAS3H6ZP.js.map} +1 -1
- package/dist/cli-bundle/main.js +61 -19
- package/dist/cli-bundle/main.js.map +2 -2
- package/dist/core/config/nested-settings.js +40 -2
- package/dist/core/config/nested-settings.js.map +1 -1
- package/dist/core/item/parse.d.ts +32 -0
- package/dist/core/item/parse.js +61 -2
- package/dist/core/item/parse.js.map +1 -1
- package/dist/core/schema/fields-file.d.ts +94 -0
- package/dist/core/schema/fields-file.js +317 -0
- package/dist/core/schema/fields-file.js.map +1 -0
- package/dist/core/schema/type-inference.d.ts +34 -0
- package/dist/core/schema/type-inference.js +97 -0
- package/dist/core/schema/type-inference.js.map +1 -0
- package/dist/core/schema/type-presets.d.ts +30 -0
- package/dist/core/schema/type-presets.js +96 -0
- package/dist/core/schema/type-presets.js.map +1 -0
- package/dist/core/store/front-matter-cache.d.ts +13 -0
- package/dist/core/store/front-matter-cache.js +21 -11
- package/dist/core/store/front-matter-cache.js.map +1 -1
- package/dist/mcp/server.js +51 -4
- package/dist/mcp/server.js.map +1 -1
- package/dist/mcp/tool-definitions.js +49 -8
- package/dist/mcp/tool-definitions.js.map +1 -1
- package/dist/sdk/cli-contracts/enum-contracts.d.ts +1 -1
- package/dist/sdk/cli-contracts/enum-contracts.js +5 -2
- package/dist/sdk/cli-contracts/enum-contracts.js.map +1 -1
- package/dist/sdk/cli-contracts/tool-parameter-tables.js +46 -5
- package/dist/sdk/cli-contracts/tool-parameter-tables.js.map +1 -1
- package/dist/sdk/cli-contracts.d.ts +3 -0
- package/dist/sdk/cli-contracts.js +76 -3
- package/dist/sdk/cli-contracts.js.map +1 -1
- package/docs/COMMANDS.md +35 -3
- package/docs/CONFIGURATION.md +83 -0
- package/package.json +1 -1
- package/dist/cli-bundle/chunks/activity-5P2KQCTH.js +0 -18
- package/dist/cli-bundle/chunks/chunk-3XOXWOGA.js.map +0 -1
- package/dist/cli-bundle/chunks/chunk-4KBK4BA3.js.map +0 -7
- package/dist/cli-bundle/chunks/chunk-7K2MXFMX.js.map +0 -1
- package/dist/cli-bundle/chunks/chunk-AERT7KT3.js.map +0 -1
- package/dist/cli-bundle/chunks/chunk-F7WSO5UX.js.map +0 -1
- package/dist/cli-bundle/chunks/chunk-G3CEIXTV.js.map +0 -7
- package/dist/cli-bundle/chunks/chunk-H6EH6ENJ.js.map +0 -7
- package/dist/cli-bundle/chunks/chunk-HDIDUME4.js.map +0 -1
- package/dist/cli-bundle/chunks/chunk-IQVB3YDD.js.map +0 -7
- package/dist/cli-bundle/chunks/chunk-KQ3LAMDO.js.map +0 -7
- package/dist/cli-bundle/chunks/chunk-OLTYNVJR.js.map +0 -7
- package/dist/cli-bundle/chunks/chunk-PZD7WPUC.js.map +0 -1
- package/dist/cli-bundle/chunks/chunk-SY4GKIWT.js.map +0 -1
- package/dist/cli-bundle/chunks/close-ILMZR3D7.js +0 -13
- package/dist/cli-bundle/chunks/config-IOJELD6O.js.map +0 -1
- package/dist/cli-bundle/chunks/config-PXTMAYV3.js.map +0 -7
- package/dist/cli-bundle/chunks/contracts-NSBVLXQ3.js.map +0 -7
- package/dist/cli-bundle/chunks/create-F5HZX2S4.js +0 -30
- package/dist/cli-bundle/chunks/history-SSXGGTVZ.js +0 -20
- package/dist/cli-bundle/chunks/history-redact-VBH44Y7F.js +0 -21
- package/dist/cli-bundle/chunks/init-7FBQO77A.js +0 -19
- package/dist/cli-bundle/chunks/register-mutation-UFZK6Q57.js.map +0 -7
- package/dist/cli-bundle/chunks/register-mutation-XFORLS6D.js.map +0 -1
- package/dist/cli-bundle/chunks/restore-XXXLQ2XC.js +0 -19
- package/dist/cli-bundle/chunks/schema-3HCLXCFX.js.map +0 -7
- package/dist/cli-bundle/chunks/schema-3YKCQ3VO.js.map +0 -1
- package/dist/cli-bundle/chunks/update-MPGM6SBE.js +0 -28
- package/dist/cli-bundle/chunks/update-UN75XW3C.js +0 -24
- /package/dist/cli-bundle/chunks/{activity-5P2KQCTH.js.map → activity-PZYSZA26.js.map} +0 -0
- /package/dist/cli-bundle/chunks/{activity-MJGTX4LO.js.map → activity-SFM4THAU.js.map} +0 -0
- /package/dist/cli-bundle/chunks/{aggregate-OUGCDFNC.js.map → aggregate-Y5ADDKBM.js.map} +0 -0
- /package/dist/cli-bundle/chunks/{aggregate-MH3GROKB.js.map → aggregate-YTAUQLRW.js.map} +0 -0
- /package/dist/cli-bundle/chunks/{append-VCRUG2W6.js.map → append-4M7OVV7M.js.map} +0 -0
- /package/dist/cli-bundle/chunks/{append-2Q4BPUBW.js.map → append-HSPK4L4V.js.map} +0 -0
- /package/dist/cli-bundle/chunks/{chunk-F2GC6L3N.js.map → chunk-26BM6YLO.js.map} +0 -0
- /package/dist/cli-bundle/chunks/{chunk-ILHLIA47.js.map → chunk-2C6FU3D3.js.map} +0 -0
- /package/dist/cli-bundle/chunks/{chunk-B5Q7XC4K.js.map → chunk-2OPYLXDO.js.map} +0 -0
- /package/dist/cli-bundle/chunks/{chunk-CBMETQ2U.js.map → chunk-2S46FKLB.js.map} +0 -0
- /package/dist/cli-bundle/chunks/{chunk-MJZUZ2QE.js.map → chunk-2TMKMTEI.js.map} +0 -0
- /package/dist/cli-bundle/chunks/{chunk-M23HXJL3.js.map → chunk-2VH7DFSJ.js.map} +0 -0
- /package/dist/cli-bundle/chunks/{chunk-BJWTFOZM.js.map → chunk-3ENF4NO4.js.map} +0 -0
- /package/dist/cli-bundle/chunks/{chunk-7EILPFMA.js.map → chunk-3GR2HTYY.js.map} +0 -0
- /package/dist/cli-bundle/chunks/{chunk-764O7EUA.js.map → chunk-3R3FYCBV.js.map} +0 -0
- /package/dist/cli-bundle/chunks/{chunk-4VLB4JH2.js.map → chunk-5FDYWOJT.js.map} +0 -0
- /package/dist/cli-bundle/chunks/{chunk-WZCQVABQ.js.map → chunk-5XGWFUW2.js.map} +0 -0
- /package/dist/cli-bundle/chunks/{chunk-667XI4UJ.js.map → chunk-6BD77FGL.js.map} +0 -0
- /package/dist/cli-bundle/chunks/{chunk-KZYVTOG5.js.map → chunk-6HF6CIY2.js.map} +0 -0
- /package/dist/cli-bundle/chunks/{chunk-XLNNCKTN.js.map → chunk-6PBPD4MN.js.map} +0 -0
- /package/dist/cli-bundle/chunks/{chunk-Z3MUNQRV.js.map → chunk-6VFUEGOA.js.map} +0 -0
- /package/dist/cli-bundle/chunks/{chunk-O46LTCXQ.js.map → chunk-AJCQ5GT6.js.map} +0 -0
- /package/dist/cli-bundle/chunks/{chunk-7ZGKNHUL.js.map → chunk-ALTGYHN3.js.map} +0 -0
- /package/dist/cli-bundle/chunks/{chunk-SY4PZWIZ.js.map → chunk-AXLDUGXA.js.map} +0 -0
- /package/dist/cli-bundle/chunks/{chunk-YGRPBFMA.js.map → chunk-BITCVGHT.js.map} +0 -0
- /package/dist/cli-bundle/chunks/{chunk-UUKORJSN.js.map → chunk-CGQTFWYI.js.map} +0 -0
- /package/dist/cli-bundle/chunks/{chunk-LV5FFQ7M.js.map → chunk-CHM2VFVL.js.map} +0 -0
- /package/dist/cli-bundle/chunks/{chunk-7AGIXLNK.js.map → chunk-COVLE33A.js.map} +0 -0
- /package/dist/cli-bundle/chunks/{chunk-2JEGCDYT.js.map → chunk-F5MSD5HE.js.map} +0 -0
- /package/dist/cli-bundle/chunks/{chunk-NIQHNDBZ.js.map → chunk-FAXB6F6R.js.map} +0 -0
- /package/dist/cli-bundle/chunks/{chunk-TIRZIQRP.js.map → chunk-G2MOUCTU.js.map} +0 -0
- /package/dist/cli-bundle/chunks/{chunk-GAVE4MYM.js.map → chunk-IROHIK2T.js.map} +0 -0
- /package/dist/cli-bundle/chunks/{chunk-ZJRDVYZI.js.map → chunk-JZHL4E3Q.js.map} +0 -0
- /package/dist/cli-bundle/chunks/{chunk-UBMCSJXX.js.map → chunk-KCAGIH6K.js.map} +0 -0
- /package/dist/cli-bundle/chunks/{chunk-656HPQPO.js.map → chunk-KO3VM5GS.js.map} +0 -0
- /package/dist/cli-bundle/chunks/{chunk-OY3P2I6B.js.map → chunk-LNH5Q32E.js.map} +0 -0
- /package/dist/cli-bundle/chunks/{chunk-GQ4JKNMV.js.map → chunk-LORM3M2I.js.map} +0 -0
- /package/dist/cli-bundle/chunks/{chunk-OCTQJP42.js.map → chunk-M4AVU7VC.js.map} +0 -0
- /package/dist/cli-bundle/chunks/{chunk-3WAULYOY.js.map → chunk-MIBX6ZRN.js.map} +0 -0
- /package/dist/cli-bundle/chunks/{chunk-FXNT5LPX.js.map → chunk-MMF2E3FM.js.map} +0 -0
- /package/dist/cli-bundle/chunks/{chunk-IMQG4VR3.js.map → chunk-MUTUZ2HD.js.map} +0 -0
- /package/dist/cli-bundle/chunks/{chunk-NCIBNERT.js.map → chunk-OOIH6J5T.js.map} +0 -0
- /package/dist/cli-bundle/chunks/{chunk-II7OGE3V.js.map → chunk-OSBJPPX3.js.map} +0 -0
- /package/dist/cli-bundle/chunks/{chunk-HPELHUTG.js.map → chunk-PJS3WDO2.js.map} +0 -0
- /package/dist/cli-bundle/chunks/{chunk-6NQXMGYU.js.map → chunk-QGPE2H6Z.js.map} +0 -0
- /package/dist/cli-bundle/chunks/{chunk-ASM4DVRW.js.map → chunk-QVTFFLR2.js.map} +0 -0
- /package/dist/cli-bundle/chunks/{chunk-FTAZLAR7.js.map → chunk-QW2F6ARZ.js.map} +0 -0
- /package/dist/cli-bundle/chunks/{chunk-A576QZDL.js.map → chunk-QXC3LWB7.js.map} +0 -0
- /package/dist/cli-bundle/chunks/{chunk-6BV7ENQL.js.map → chunk-QXMXRPX5.js.map} +0 -0
- /package/dist/cli-bundle/chunks/{chunk-SPYPC5CB.js.map → chunk-R4AKUPKI.js.map} +0 -0
- /package/dist/cli-bundle/chunks/{chunk-UAR2VNCK.js.map → chunk-RASR23HV.js.map} +0 -0
- /package/dist/cli-bundle/chunks/{chunk-YXTLI4XP.js.map → chunk-SCDCNGCV.js.map} +0 -0
- /package/dist/cli-bundle/chunks/{chunk-2IUJBMKS.js.map → chunk-SCS5PVAA.js.map} +0 -0
- /package/dist/cli-bundle/chunks/{chunk-KTVETP66.js.map → chunk-SJCMTOEU.js.map} +0 -0
- /package/dist/cli-bundle/chunks/{chunk-L6FJPOT4.js.map → chunk-SO2ES46D.js.map} +0 -0
- /package/dist/cli-bundle/chunks/{chunk-GYMG7AG6.js.map → chunk-TBV33CB4.js.map} +0 -0
- /package/dist/cli-bundle/chunks/{chunk-XNOY7TCB.js.map → chunk-UGUJ2UOR.js.map} +0 -0
- /package/dist/cli-bundle/chunks/{chunk-E6J2PEK6.js.map → chunk-UN6P3IJ4.js.map} +0 -0
- /package/dist/cli-bundle/chunks/{chunk-ZONXMSVB.js.map → chunk-V2GYOMEX.js.map} +0 -0
- /package/dist/cli-bundle/chunks/{chunk-T5VU7ROQ.js.map → chunk-VF3KQGNY.js.map} +0 -0
- /package/dist/cli-bundle/chunks/{chunk-RKKIH2ZQ.js.map → chunk-VHG6LUKR.js.map} +0 -0
- /package/dist/cli-bundle/chunks/{chunk-G2YVUY7I.js.map → chunk-VXRFAE7W.js.map} +0 -0
- /package/dist/cli-bundle/chunks/{chunk-Q5RLUCP3.js.map → chunk-WQRL4COW.js.map} +0 -0
- /package/dist/cli-bundle/chunks/{chunk-TUB3DZAZ.js.map → chunk-YLAW3FZN.js.map} +0 -0
- /package/dist/cli-bundle/chunks/{claim-NEO7AGWH.js.map → claim-WGAWJCPY.js.map} +0 -0
- /package/dist/cli-bundle/chunks/{claim-4APLUXJW.js.map → claim-ZI6P4LMU.js.map} +0 -0
- /package/dist/cli-bundle/chunks/{close-ILMZR3D7.js.map → close-I7PRQ5G7.js.map} +0 -0
- /package/dist/cli-bundle/chunks/{close-3QABBNGU.js.map → close-JMVVSIQE.js.map} +0 -0
- /package/dist/cli-bundle/chunks/{close-many-MIZLTYGL.js.map → close-many-IKPJXVOZ.js.map} +0 -0
- /package/dist/cli-bundle/chunks/{close-many-Q7Y5AHQI.js.map → close-many-TXABDCSJ.js.map} +0 -0
- /package/dist/cli-bundle/chunks/{comments-DAIQPOMU.js.map → comments-RLWR2S7W.js.map} +0 -0
- /package/dist/cli-bundle/chunks/{comments-IWFSVM4P.js.map → comments-YAMXKHUX.js.map} +0 -0
- /package/dist/cli-bundle/chunks/{context-QHJSCJW4.js.map → context-K6QAHN5H.js.map} +0 -0
- /package/dist/cli-bundle/chunks/{context-XZS2VFKU.js.map → context-VGXOOAH2.js.map} +0 -0
- /package/dist/cli-bundle/chunks/{copy-Q64T5FD4.js.map → copy-Q2PPU4AY.js.map} +0 -0
- /package/dist/cli-bundle/chunks/{copy-SG34LCMU.js.map → copy-SC6UF3PI.js.map} +0 -0
- /package/dist/cli-bundle/chunks/{create-IPAX2SNL.js.map → create-76FE7JVF.js.map} +0 -0
- /package/dist/cli-bundle/chunks/{create-F5HZX2S4.js.map → create-RTRFW6RE.js.map} +0 -0
- /package/dist/cli-bundle/chunks/{delete-VH3L7DZ6.js.map → delete-T6DJSUJI.js.map} +0 -0
- /package/dist/cli-bundle/chunks/{delete-TLXR7LJ2.js.map → delete-XFUX533E.js.map} +0 -0
- /package/dist/cli-bundle/chunks/{deps-J3HBBLDB.js.map → deps-5GWMMS6D.js.map} +0 -0
- /package/dist/cli-bundle/chunks/{deps-XV6JJ6IN.js.map → deps-MCCU633S.js.map} +0 -0
- /package/dist/cli-bundle/chunks/{docs-GWDEB7JH.js.map → docs-HE3HCQ4S.js.map} +0 -0
- /package/dist/cli-bundle/chunks/{docs-RCLNSKID.js.map → docs-SXMOABHR.js.map} +0 -0
- /package/dist/cli-bundle/chunks/{extension-7KO2NX2A.js.map → extension-E23K4QRR.js.map} +0 -0
- /package/dist/cli-bundle/chunks/{extension-5RN65LHT.js.map → extension-PMD3XMLN.js.map} +0 -0
- /package/dist/cli-bundle/chunks/{files-3TCQHUHA.js.map → files-2RSWGPEU.js.map} +0 -0
- /package/dist/cli-bundle/chunks/{files-5FDUPSEA.js.map → files-ZWFJFWBK.js.map} +0 -0
- /package/dist/cli-bundle/chunks/{focus-HQXBYPKM.js.map → focus-KTTB3P3F.js.map} +0 -0
- /package/dist/cli-bundle/chunks/{focus-7AQMNRSU.js.map → focus-ZMDP4FEL.js.map} +0 -0
- /package/dist/cli-bundle/chunks/{gc-5B6ABL3Z.js.map → gc-BXIAKLAH.js.map} +0 -0
- /package/dist/cli-bundle/chunks/{gc-2FGKYRJ4.js.map → gc-C7K6JNUO.js.map} +0 -0
- /package/dist/cli-bundle/chunks/{get-FUMVOJQD.js.map → get-AZQLC4NO.js.map} +0 -0
- /package/dist/cli-bundle/chunks/{get-H5BZTW4A.js.map → get-I65HTAWO.js.map} +0 -0
- /package/dist/cli-bundle/chunks/{health-JSVOR6B4.js.map → health-3MFFPQVZ.js.map} +0 -0
- /package/dist/cli-bundle/chunks/{health-LE2ZQGSM.js.map → health-MYZEOCLI.js.map} +0 -0
- /package/dist/cli-bundle/chunks/{history-QO4JVJJP.js.map → history-73Z6OBFZ.js.map} +0 -0
- /package/dist/cli-bundle/chunks/{history-SSXGGTVZ.js.map → history-BIPHVUMF.js.map} +0 -0
- /package/dist/cli-bundle/chunks/{history-compact-ID74DOUI.js.map → history-compact-24VQ63A3.js.map} +0 -0
- /package/dist/cli-bundle/chunks/{history-compact-SDFRPZ4V.js.map → history-compact-UIAR2OI4.js.map} +0 -0
- /package/dist/cli-bundle/chunks/{history-redact-Z4P5MM3G.js.map → history-redact-7YCXEWJD.js.map} +0 -0
- /package/dist/cli-bundle/chunks/{history-redact-VBH44Y7F.js.map → history-redact-WZZ6GZ2Z.js.map} +0 -0
- /package/dist/cli-bundle/chunks/{history-repair-CKE7GLZR.js.map → history-repair-4NOFFG2W.js.map} +0 -0
- /package/dist/cli-bundle/chunks/{history-repair-ANHEYWKF.js.map → history-repair-GQN2X4TR.js.map} +0 -0
- /package/dist/cli-bundle/chunks/{init-7FBQO77A.js.map → init-K34V4PZR.js.map} +0 -0
- /package/dist/cli-bundle/chunks/{init-K6MSMB37.js.map → init-TDEDNVMM.js.map} +0 -0
- /package/dist/cli-bundle/chunks/{learnings-VIS3NOQV.js.map → learnings-TV2CTGJ3.js.map} +0 -0
- /package/dist/cli-bundle/chunks/{learnings-YYNB64GN.js.map → learnings-U67FTXPB.js.map} +0 -0
- /package/dist/cli-bundle/chunks/{list-UHMA3N2K.js.map → list-MSHYOCFU.js.map} +0 -0
- /package/dist/cli-bundle/chunks/{list-7UE44A2R.js.map → list-VV57WGUD.js.map} +0 -0
- /package/dist/cli-bundle/chunks/{notes-IN3UMA7W.js.map → notes-EUANWWKD.js.map} +0 -0
- /package/dist/cli-bundle/chunks/{notes-2HRMV67I.js.map → notes-GYVNDAL4.js.map} +0 -0
- /package/dist/cli-bundle/chunks/{plan-PAWCCAPW.js.map → plan-4LF4AV63.js.map} +0 -0
- /package/dist/cli-bundle/chunks/{plan-I3SVH7FV.js.map → plan-W27O6DBS.js.map} +0 -0
- /package/dist/cli-bundle/chunks/{register-list-query-OTIK4DVA.js.map → register-list-query-BXLEHJ7L.js.map} +0 -0
- /package/dist/cli-bundle/chunks/{register-list-query-N7Z7RTDM.js.map → register-list-query-C2MS3BVQ.js.map} +0 -0
- /package/dist/cli-bundle/chunks/{register-setup-7RKGE4BQ.js.map → register-setup-A7N4PNT3.js.map} +0 -0
- /package/dist/cli-bundle/chunks/{register-setup-7UKEFKT6.js.map → register-setup-WHG3NBP6.js.map} +0 -0
- /package/dist/cli-bundle/chunks/{restore-NNVPBBVJ.js.map → restore-TSWSULYY.js.map} +0 -0
- /package/dist/cli-bundle/chunks/{restore-XXXLQ2XC.js.map → restore-XQXICL3V.js.map} +0 -0
- /package/dist/cli-bundle/chunks/{search-NQ42NC6A.js.map → search-OXLSQKHP.js.map} +0 -0
- /package/dist/cli-bundle/chunks/{search-V7PZ2ICH.js.map → search-T3TOFLOQ.js.map} +0 -0
- /package/dist/cli-bundle/chunks/{stats-7KD4PJC5.js.map → stats-5CLG22YZ.js.map} +0 -0
- /package/dist/cli-bundle/chunks/{stats-GRHO6RFB.js.map → stats-XEMUXS42.js.map} +0 -0
- /package/dist/cli-bundle/chunks/{telemetry-TRRYZXWT.js.map → telemetry-23OPBBZT.js.map} +0 -0
- /package/dist/cli-bundle/chunks/{telemetry-H5GLXNG5.js.map → telemetry-I3D7XZ55.js.map} +0 -0
- /package/dist/cli-bundle/chunks/{test-6CZNIIGA.js.map → test-AROS3LIV.js.map} +0 -0
- /package/dist/cli-bundle/chunks/{test-7GVQ3VMN.js.map → test-CECIMKOA.js.map} +0 -0
- /package/dist/cli-bundle/chunks/{test-runs-LYT6ZTNQ.js.map → test-runs-AAXVFWKH.js.map} +0 -0
- /package/dist/cli-bundle/chunks/{test-runs-RVP6VWN7.js.map → test-runs-LYBQSYRC.js.map} +0 -0
- /package/dist/cli-bundle/chunks/{update-UN75XW3C.js.map → update-MIWEJC76.js.map} +0 -0
- /package/dist/cli-bundle/chunks/{update-MPGM6SBE.js.map → update-P7I5YSRB.js.map} +0 -0
- /package/dist/cli-bundle/chunks/{update-many-XSEQJ24X.js.map → update-many-5B4HLVBK.js.map} +0 -0
- /package/dist/cli-bundle/chunks/{update-many-FCU6RKTO.js.map → update-many-G2QOVZSB.js.map} +0 -0
- /package/dist/cli-bundle/chunks/{upgrade-FOB5LHO5.js.map → upgrade-GFIDL62L.js.map} +0 -0
- /package/dist/cli-bundle/chunks/{upgrade-A6TL3INC.js.map → upgrade-QUQYL7D3.js.map} +0 -0
package/dist/cli-bundle/chunks/{register-mutation-XFORLS6D.js → register-mutation-HE73PREP.js}
RENAMED
|
@@ -1,5 +1,5 @@
|
|
|
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]="76dffad5-317b-52b6-a4a6-80a7b55431c6")}catch(e){}}();
|
|
3
3
|
import {
|
|
4
4
|
collect,
|
|
5
5
|
extractUpdateManyMutationOptionSource,
|
|
@@ -8,27 +8,27 @@ import {
|
|
|
8
8
|
invalidateSearchCachesForMutation,
|
|
9
9
|
normalizeCreateOptions,
|
|
10
10
|
normalizeUpdateOptions
|
|
11
|
-
} from "./chunk-
|
|
11
|
+
} from "./chunk-PJS3WDO2.js";
|
|
12
12
|
import {
|
|
13
13
|
CREATE_COMMANDER_OPTION_REGISTRATION_CONTRACTS,
|
|
14
14
|
UPDATE_COMMANDER_OPTION_REGISTRATION_CONTRACTS
|
|
15
|
-
} from "./chunk-
|
|
16
|
-
import "./chunk-
|
|
15
|
+
} from "./chunk-FPY2TOFI.js";
|
|
16
|
+
import "./chunk-2S46FKLB.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-OOIH6J5T.js";
|
|
22
|
+
import "./chunk-FPDK5BZQ.js";
|
|
23
|
+
import "./chunk-F5MSD5HE.js";
|
|
24
|
+
import "./chunk-IROHIK2T.js";
|
|
25
|
+
import "./chunk-V2GYOMEX.js";
|
|
26
|
+
import "./chunk-VXRFAE7W.js";
|
|
27
27
|
import {
|
|
28
28
|
BUILTIN_ITEM_TYPE_VALUES,
|
|
29
29
|
EXIT_CODE,
|
|
30
30
|
PmCliError
|
|
31
|
-
} from "./chunk-
|
|
31
|
+
} from "./chunk-SJCMTOEU.js";
|
|
32
32
|
|
|
33
33
|
// dist/cli/register-mutation.js
|
|
34
34
|
import { Option } from "commander";
|
|
@@ -123,6 +123,119 @@ function parseSchemaOrderOption(raw) {
|
|
|
123
123
|
}
|
|
124
124
|
throw new PmCliError("--order must be a finite integer.", EXIT_CODE.USAGE);
|
|
125
125
|
}
|
|
126
|
+
async function dispatchSchemaSubcommand(schema, inputs) {
|
|
127
|
+
const { normalizedSubcommand, typeName, options, globalOptions } = inputs;
|
|
128
|
+
const { author, force, description } = inputs;
|
|
129
|
+
switch (normalizedSubcommand) {
|
|
130
|
+
case "list":
|
|
131
|
+
return schema.runSchemaList(globalOptions);
|
|
132
|
+
case "show":
|
|
133
|
+
return schema.runSchemaShow(typeName, globalOptions);
|
|
134
|
+
case "show-status":
|
|
135
|
+
return schema.runSchemaShowStatus(typeName, globalOptions);
|
|
136
|
+
case "list-fields":
|
|
137
|
+
return schema.runSchemaListFields(globalOptions);
|
|
138
|
+
case "show-field":
|
|
139
|
+
return schema.runSchemaShowField(typeName, globalOptions);
|
|
140
|
+
case "remove-type":
|
|
141
|
+
return schema.runSchemaRemoveType(typeName, { author, force }, globalOptions);
|
|
142
|
+
case "remove-field":
|
|
143
|
+
return schema.runSchemaRemoveField(typeName, { author, force }, globalOptions);
|
|
144
|
+
case "apply-preset":
|
|
145
|
+
return schema.runSchemaApplyPreset(typeName, { author, force }, globalOptions);
|
|
146
|
+
case "add-field":
|
|
147
|
+
return schema.runSchemaAddField(typeName, {
|
|
148
|
+
type: typeof options.type === "string" ? options.type : void 0,
|
|
149
|
+
commands: inputs.commands,
|
|
150
|
+
description,
|
|
151
|
+
cliFlag: typeof options.cliFlag === "string" ? options.cliFlag : void 0,
|
|
152
|
+
alias: inputs.aliases,
|
|
153
|
+
required: Boolean(options.required),
|
|
154
|
+
requiredOnCreate: Boolean(options.requiredOnCreate),
|
|
155
|
+
// commander stores --no-allow-unset as allowUnset:false; the default
|
|
156
|
+
// (flag omitted) is true. Forward the tri-state faithfully.
|
|
157
|
+
allowUnset: options.allowUnset !== false,
|
|
158
|
+
requiredTypes: inputs.requiredTypes,
|
|
159
|
+
author,
|
|
160
|
+
force
|
|
161
|
+
}, globalOptions);
|
|
162
|
+
case "add-status":
|
|
163
|
+
return schema.runSchemaAddStatus(typeName, { role: inputs.roles, alias: inputs.aliases, description, order: inputs.order, author, force }, globalOptions);
|
|
164
|
+
case "remove-status":
|
|
165
|
+
return schema.runSchemaRemoveStatus(typeName, { author, force }, globalOptions);
|
|
166
|
+
default:
|
|
167
|
+
if (options.infer === true) {
|
|
168
|
+
return schema.runSchemaInferTypes({ minCount: inputs.minCount, apply: Boolean(options.apply), author, force }, globalOptions);
|
|
169
|
+
}
|
|
170
|
+
return schema.runSchemaAddType(typeName, {
|
|
171
|
+
description,
|
|
172
|
+
defaultStatus: inputs.defaultStatus,
|
|
173
|
+
folder: typeof options.folder === "string" ? options.folder : void 0,
|
|
174
|
+
alias: inputs.aliases,
|
|
175
|
+
author,
|
|
176
|
+
force
|
|
177
|
+
}, globalOptions);
|
|
178
|
+
}
|
|
179
|
+
}
|
|
180
|
+
function renderSchemaResultHuman(schema, result) {
|
|
181
|
+
switch (result.action) {
|
|
182
|
+
case "list":
|
|
183
|
+
writeStdout(`${schema.formatSchemaListHuman(result)}
|
|
184
|
+
`);
|
|
185
|
+
return;
|
|
186
|
+
case "show":
|
|
187
|
+
writeStdout(`${schema.formatSchemaShowHuman(result)}
|
|
188
|
+
`);
|
|
189
|
+
return;
|
|
190
|
+
case "show-status":
|
|
191
|
+
writeStdout(`${schema.formatSchemaShowStatusHuman(result)}
|
|
192
|
+
`);
|
|
193
|
+
return;
|
|
194
|
+
case "list-fields":
|
|
195
|
+
writeStdout(`${schema.formatSchemaListFieldsHuman(result)}
|
|
196
|
+
`);
|
|
197
|
+
return;
|
|
198
|
+
case "show-field":
|
|
199
|
+
writeStdout(`${schema.formatSchemaShowFieldHuman(result)}
|
|
200
|
+
`);
|
|
201
|
+
return;
|
|
202
|
+
case "remove-type":
|
|
203
|
+
writeStdout(`${schema.formatSchemaRemoveTypeHuman(result)}
|
|
204
|
+
`);
|
|
205
|
+
break;
|
|
206
|
+
case "remove-field":
|
|
207
|
+
writeStdout(`${schema.formatSchemaRemoveFieldHuman(result)}
|
|
208
|
+
`);
|
|
209
|
+
break;
|
|
210
|
+
case "apply-preset":
|
|
211
|
+
writeStdout(`${schema.formatSchemaApplyPresetHuman(result)}
|
|
212
|
+
`);
|
|
213
|
+
break;
|
|
214
|
+
case "infer-types":
|
|
215
|
+
writeStdout(`${schema.formatSchemaInferTypesHuman(result)}
|
|
216
|
+
`);
|
|
217
|
+
break;
|
|
218
|
+
case "add-field":
|
|
219
|
+
writeStdout(`${schema.formatSchemaAddFieldHuman(result)}
|
|
220
|
+
`);
|
|
221
|
+
break;
|
|
222
|
+
case "add-status":
|
|
223
|
+
writeStdout(`${schema.formatSchemaAddStatusHuman(result)}
|
|
224
|
+
`);
|
|
225
|
+
break;
|
|
226
|
+
case "remove-status":
|
|
227
|
+
writeStdout(`${schema.formatSchemaRemoveStatusHuman(result)}
|
|
228
|
+
`);
|
|
229
|
+
break;
|
|
230
|
+
default:
|
|
231
|
+
writeStdout(`${schema.formatSchemaAddTypeHuman(result)}
|
|
232
|
+
`);
|
|
233
|
+
break;
|
|
234
|
+
}
|
|
235
|
+
if (result.warnings.length > 0) {
|
|
236
|
+
printError(`schema ${result.action} warnings: ${formatHookWarnings(result.warnings)}`);
|
|
237
|
+
}
|
|
238
|
+
}
|
|
126
239
|
function parsePositiveIntOption(flag) {
|
|
127
240
|
return (value) => {
|
|
128
241
|
const parsed = Number(value);
|
|
@@ -271,7 +384,7 @@ function registerMutationCommands(program) {
|
|
|
271
384
|
delete options.bodyFile;
|
|
272
385
|
}
|
|
273
386
|
const normalized = normalizeCreateOptions(options, { requireType: false });
|
|
274
|
-
const { runCreate } = await import("./create-
|
|
387
|
+
const { runCreate } = await import("./create-76FE7JVF.js");
|
|
275
388
|
const result = await runCreate(normalized, globalOptions);
|
|
276
389
|
await invalidateSearchCachesForMutation(globalOptions, result);
|
|
277
390
|
printResult(result, globalOptions);
|
|
@@ -282,7 +395,7 @@ function registerMutationCommands(program) {
|
|
|
282
395
|
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) => {
|
|
283
396
|
const globalOptions = getGlobalOptions(command);
|
|
284
397
|
const startedAt = Date.now();
|
|
285
|
-
const { runCopy } = await import("./copy-
|
|
398
|
+
const { runCopy } = await import("./copy-SC6UF3PI.js");
|
|
286
399
|
const result = await runCopy(id, {
|
|
287
400
|
title: typeof options.title === "string" ? options.title : void 0,
|
|
288
401
|
author: typeof options.author === "string" ? options.author : void 0,
|
|
@@ -297,7 +410,7 @@ function registerMutationCommands(program) {
|
|
|
297
410
|
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(async (id, options, command) => {
|
|
298
411
|
const globalOptions = getGlobalOptions(command);
|
|
299
412
|
const startedAt = Date.now();
|
|
300
|
-
const { runFocus } = await import("./focus-
|
|
413
|
+
const { runFocus } = await import("./focus-KTTB3P3F.js");
|
|
301
414
|
const result = await runFocus(id, { clear: options.clear === true }, globalOptions);
|
|
302
415
|
printResult(result, globalOptions);
|
|
303
416
|
if (globalOptions.profile) {
|
|
@@ -316,7 +429,7 @@ function registerMutationCommands(program) {
|
|
|
316
429
|
options.body = await resolveBodyFileContent(options.bodyFile, options.body !== void 0 ? String(options.body) : void 0);
|
|
317
430
|
delete options.bodyFile;
|
|
318
431
|
}
|
|
319
|
-
const { runUpdate } = await import("./update-
|
|
432
|
+
const { runUpdate } = await import("./update-P7I5YSRB.js");
|
|
320
433
|
const result = await runUpdate(id, normalizeUpdateOptions(options), globalOptions);
|
|
321
434
|
await invalidateSearchCachesForMutation(globalOptions, result);
|
|
322
435
|
printResult(result, globalOptions);
|
|
@@ -359,7 +472,7 @@ function registerMutationCommands(program) {
|
|
|
359
472
|
updateManyCommand.action(async (options, command) => {
|
|
360
473
|
const globalOptions = getGlobalOptions(command);
|
|
361
474
|
const startedAt = Date.now();
|
|
362
|
-
const { runUpdateMany } = await import("./update-many-
|
|
475
|
+
const { runUpdateMany } = await import("./update-many-G2QOVZSB.js");
|
|
363
476
|
const result = await runUpdateMany({
|
|
364
477
|
status: typeof options.filterStatus === "string" ? options.filterStatus : void 0,
|
|
365
478
|
list: buildUpdateManyListOptions(options),
|
|
@@ -380,7 +493,7 @@ function registerMutationCommands(program) {
|
|
|
380
493
|
closeCommand.action(async (id, text, options, command) => {
|
|
381
494
|
const globalOptions = getGlobalOptions(command);
|
|
382
495
|
const startedAt = Date.now();
|
|
383
|
-
const { runClose } = await import("./close-
|
|
496
|
+
const { runClose } = await import("./close-JMVVSIQE.js");
|
|
384
497
|
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;
|
|
385
498
|
const resolvedText = typeof text === "string" && text.length > 0 ? text : reasonFromOption;
|
|
386
499
|
const pickInlineString = (...candidates) => {
|
|
@@ -424,7 +537,7 @@ function registerMutationCommands(program) {
|
|
|
424
537
|
}
|
|
425
538
|
return void 0;
|
|
426
539
|
};
|
|
427
|
-
const { runCloseMany } = await import("./close-many-
|
|
540
|
+
const { runCloseMany } = await import("./close-many-IKPJXVOZ.js");
|
|
428
541
|
const result = await runCloseMany({
|
|
429
542
|
status: typeof options.filterStatus === "string" ? options.filterStatus : void 0,
|
|
430
543
|
list: {
|
|
@@ -468,7 +581,7 @@ function registerMutationCommands(program) {
|
|
|
468
581
|
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) => {
|
|
469
582
|
const globalOptions = getGlobalOptions(command);
|
|
470
583
|
const startedAt = Date.now();
|
|
471
|
-
const { runDelete } = await import("./delete-
|
|
584
|
+
const { runDelete } = await import("./delete-XFUX533E.js");
|
|
472
585
|
const result = await runDelete(id, {
|
|
473
586
|
author: typeof options.author === "string" ? options.author : void 0,
|
|
474
587
|
message: typeof options.message === "string" ? options.message : void 0,
|
|
@@ -497,7 +610,7 @@ function registerMutationCommands(program) {
|
|
|
497
610
|
if (resolvedBody === void 0) {
|
|
498
611
|
throw new PmCliError("Missing append text. Provide it as positional [text], --body <value>, or --text <value> (use - for stdin).", EXIT_CODE.USAGE);
|
|
499
612
|
}
|
|
500
|
-
const { runAppend } = await import("./append-
|
|
613
|
+
const { runAppend } = await import("./append-4M7OVV7M.js");
|
|
501
614
|
const result = await runAppend(id, {
|
|
502
615
|
body: resolvedBody,
|
|
503
616
|
author: typeof options.author === "string" ? options.author : void 0,
|
|
@@ -513,7 +626,7 @@ function registerMutationCommands(program) {
|
|
|
513
626
|
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) => {
|
|
514
627
|
const globalOptions = getGlobalOptions(command);
|
|
515
628
|
const startedAt = Date.now();
|
|
516
|
-
const { runRestore } = await import("./restore-
|
|
629
|
+
const { runRestore } = await import("./restore-TSWSULYY.js");
|
|
517
630
|
const result = await runRestore(id, target, {
|
|
518
631
|
author: typeof options.author === "string" ? options.author : void 0,
|
|
519
632
|
message: typeof options.message === "string" ? options.message : void 0,
|
|
@@ -562,7 +675,7 @@ function registerMutationCommands(program) {
|
|
|
562
675
|
planCommand.action(async (subcommand, id, stepRef, reorderToken, options, command) => {
|
|
563
676
|
const globalOptions = getGlobalOptions(command);
|
|
564
677
|
const startedAt = Date.now();
|
|
565
|
-
const { runPlan, PLAN_SUBCOMMANDS } = await import("./plan-
|
|
678
|
+
const { runPlan, PLAN_SUBCOMMANDS } = await import("./plan-W27O6DBS.js");
|
|
566
679
|
const normalizedSubcommand = (subcommand ?? "").trim().toLowerCase();
|
|
567
680
|
if (!normalizedSubcommand) {
|
|
568
681
|
throw new PmCliError(`pm plan requires a subcommand. Allowed: ${PLAN_SUBCOMMANDS.join(", ")}`, EXIT_CODE.USAGE, {
|
|
@@ -646,7 +759,7 @@ function registerMutationCommands(program) {
|
|
|
646
759
|
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) => {
|
|
647
760
|
const globalOptions = getGlobalOptions(command);
|
|
648
761
|
const startedAt = Date.now();
|
|
649
|
-
const { runHistoryRedact } = await import("./history-redact-
|
|
762
|
+
const { runHistoryRedact } = await import("./history-redact-7YCXEWJD.js");
|
|
650
763
|
const literal = Array.isArray(options.literal) ? options.literal : void 0;
|
|
651
764
|
const regex = Array.isArray(options.regex) ? options.regex : void 0;
|
|
652
765
|
const result = await runHistoryRedact(id, {
|
|
@@ -669,7 +782,7 @@ function registerMutationCommands(program) {
|
|
|
669
782
|
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) => {
|
|
670
783
|
const globalOptions = getGlobalOptions(command);
|
|
671
784
|
const startedAt = Date.now();
|
|
672
|
-
const { runHistoryRepair, runHistoryRepairAll, assertHistoryRepairTarget } = await import("./history-repair-
|
|
785
|
+
const { runHistoryRepair, runHistoryRepairAll, assertHistoryRepairTarget } = await import("./history-repair-4NOFFG2W.js");
|
|
673
786
|
const all = options.all === true;
|
|
674
787
|
assertHistoryRepairTarget(id, all);
|
|
675
788
|
const repairOptions = {
|
|
@@ -695,7 +808,7 @@ function registerMutationCommands(program) {
|
|
|
695
808
|
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) => {
|
|
696
809
|
const globalOptions = getGlobalOptions(command);
|
|
697
810
|
const startedAt = Date.now();
|
|
698
|
-
const { runHistoryCompact } = await import("./history-compact-
|
|
811
|
+
const { runHistoryCompact } = await import("./history-compact-UIAR2OI4.js");
|
|
699
812
|
const result = await runHistoryCompact(id, {
|
|
700
813
|
before: typeof options.before === "string" ? options.before : void 0,
|
|
701
814
|
dryRun: options.dryRun === true,
|
|
@@ -708,12 +821,13 @@ function registerMutationCommands(program) {
|
|
|
708
821
|
printError(`profile:command=history-compact took_ms=${Date.now() - startedAt}`);
|
|
709
822
|
}
|
|
710
823
|
});
|
|
711
|
-
const schemaCommand = program.command("schema").argument("[subcommand]", "Schema subcommand: list, show, show-status, add-type, remove-type, add-status, remove-status, or a custom item type name shorthand").argument("[name]", "Item type name (add-type/remove-type/show) or status id (show-status/add-status/remove-status)").option("--description <text>", "Human description for the custom item type or
|
|
824
|
+
const schemaCommand = program.command("schema").argument("[subcommand]", "Schema subcommand: list, show, show-status, add-type, remove-type, add-status, remove-status, or a custom item type name shorthand").argument("[name]", "Item type name (add-type/remove-type/show) or status id (show-status/add-status/remove-status)").option("--description <text>", "Human description for the custom item type, status, or field").option("--default-status <status>", "Default status hint recorded for the custom item type").option("--folder <dir>", "Storage folder for items of this custom type").option("--alias <name>", "Alias for the custom type, status, or field flag (repeatable, csv-friendly)", collect).option("--role <value>", "Lifecycle role for a custom status (repeatable): draft, active, blocked, terminal, terminal_done, terminal_canceled, default_open, default_close, default_cancel", collect).option("--order <n>", "Display/sort order for a custom status").option("--type <type>", "Value type for a custom field (add-field): string, number, boolean, string_array").option("--commands <list>", "Commands a custom field is wired onto (add-field; repeatable, comma-friendly): create, update, update_many, list, search, calendar, context", collect).option("--cli-flag <flag>", "Override the auto-derived CLI flag for a custom field (add-field)").option("--required", "Mark a custom field as always required (add-field)").option("--required-on-create", "Mark a custom field as required at create time (add-field)").option("--no-allow-unset", "Disallow clearing a custom field via --unset (add-field)").option("--required-types <list>", "Restrict a custom field's requirement to specific item types (add-field; repeatable, comma-friendly)", collect).option("--infer", "Infer custom item types from title-prefix conventions (add-type; preview unless --apply)").option("--min-count <n>", "Minimum items sharing a prefix for add-type --infer (default 10)").option("--apply", "Register inferred types (add-type --infer); without it the command previews only").option("--author <value>", "Mutation author").option("--force", "Force ownership/lock override").description("Inspect and manage config-driven runtime schema (types, statuses, fields, presets).");
|
|
712
825
|
addHiddenOption(schemaCommand, "--default_status <status>", "Alias for --default-status", false);
|
|
713
826
|
schemaCommand.action(async (subcommand, name, options, command) => {
|
|
714
827
|
const globalOptions = getGlobalOptions(command);
|
|
715
828
|
const startedAt = Date.now();
|
|
716
|
-
const
|
|
829
|
+
const schemaModule = await import("./schema-7U7JUYGK.js");
|
|
830
|
+
const { SCHEMA_SUBCOMMANDS } = schemaModule;
|
|
717
831
|
let normalizedSubcommand = (subcommand ?? "").trim().toLowerCase();
|
|
718
832
|
let typeName = name;
|
|
719
833
|
if (!normalizedSubcommand) {
|
|
@@ -726,7 +840,11 @@ function registerMutationCommands(program) {
|
|
|
726
840
|
'pm schema add-type Spike --description "Time-boxed investigation" --default-status open',
|
|
727
841
|
"pm schema remove-type Spike",
|
|
728
842
|
"pm schema add-status review --role active --alias in_review",
|
|
729
|
-
"pm schema remove-status review"
|
|
843
|
+
"pm schema remove-status review",
|
|
844
|
+
"pm schema add-field severity_level --type string --commands create,update",
|
|
845
|
+
"pm schema list-fields",
|
|
846
|
+
"pm schema apply-preset agile",
|
|
847
|
+
"pm schema add-type --infer --min-count 10"
|
|
730
848
|
]
|
|
731
849
|
});
|
|
732
850
|
}
|
|
@@ -740,6 +858,15 @@ function registerMutationCommands(program) {
|
|
|
740
858
|
);
|
|
741
859
|
const defaultStatus = typeof options.defaultStatus === "string" ? options.defaultStatus : typeof options.default_status === "string" ? options.default_status : void 0;
|
|
742
860
|
const order = parseSchemaOrderOption(options.order);
|
|
861
|
+
const splitCommaList = (raw) => {
|
|
862
|
+
if (!Array.isArray(raw)) {
|
|
863
|
+
return void 0;
|
|
864
|
+
}
|
|
865
|
+
return raw.flatMap((value) => value.split(",")).map((value) => value.trim()).filter((value) => value.length > 0);
|
|
866
|
+
};
|
|
867
|
+
const commands = splitCommaList(options.commands);
|
|
868
|
+
const requiredTypes = splitCommaList(options.requiredTypes);
|
|
869
|
+
const minCount = parseSchemaOrderOption(options.minCount);
|
|
743
870
|
if (!SCHEMA_SUBCOMMANDS.includes(normalizedSubcommand) && typeName === void 0) {
|
|
744
871
|
typeName = subcommand;
|
|
745
872
|
normalizedSubcommand = "add-type";
|
|
@@ -749,49 +876,27 @@ function registerMutationCommands(program) {
|
|
|
749
876
|
}
|
|
750
877
|
const author = typeof options.author === "string" ? options.author : void 0;
|
|
751
878
|
const force = Boolean(options.force);
|
|
752
|
-
const
|
|
753
|
-
|
|
754
|
-
|
|
755
|
-
|
|
756
|
-
|
|
757
|
-
|
|
758
|
-
|
|
759
|
-
|
|
760
|
-
|
|
879
|
+
const description = typeof options.description === "string" ? options.description : void 0;
|
|
880
|
+
const result = await dispatchSchemaSubcommand(schemaModule, {
|
|
881
|
+
normalizedSubcommand,
|
|
882
|
+
typeName,
|
|
883
|
+
options,
|
|
884
|
+
aliases,
|
|
885
|
+
roles,
|
|
886
|
+
commands,
|
|
887
|
+
requiredTypes,
|
|
761
888
|
defaultStatus,
|
|
762
|
-
|
|
763
|
-
|
|
889
|
+
order,
|
|
890
|
+
minCount,
|
|
764
891
|
author,
|
|
765
|
-
force
|
|
766
|
-
|
|
892
|
+
force,
|
|
893
|
+
description,
|
|
894
|
+
globalOptions
|
|
895
|
+
});
|
|
767
896
|
if (globalOptions.json === true || globalOptions.defaultOutputFormat === "json") {
|
|
768
897
|
printResult(result, globalOptions);
|
|
769
898
|
} else if (!globalOptions.quiet) {
|
|
770
|
-
|
|
771
|
-
writeStdout(`${formatSchemaListHuman(result)}
|
|
772
|
-
`);
|
|
773
|
-
} else if (result.action === "show") {
|
|
774
|
-
writeStdout(`${formatSchemaShowHuman(result)}
|
|
775
|
-
`);
|
|
776
|
-
} else if (result.action === "show-status") {
|
|
777
|
-
writeStdout(`${formatSchemaShowStatusHuman(result)}
|
|
778
|
-
`);
|
|
779
|
-
} else if (result.action === "remove-type") {
|
|
780
|
-
writeStdout(`${formatSchemaRemoveTypeHuman(result)}
|
|
781
|
-
`);
|
|
782
|
-
} else if (result.action === "add-status") {
|
|
783
|
-
writeStdout(`${formatSchemaAddStatusHuman(result)}
|
|
784
|
-
`);
|
|
785
|
-
} else if (result.action === "remove-status") {
|
|
786
|
-
writeStdout(`${formatSchemaRemoveStatusHuman(result)}
|
|
787
|
-
`);
|
|
788
|
-
} else {
|
|
789
|
-
writeStdout(`${formatSchemaAddTypeHuman(result)}
|
|
790
|
-
`);
|
|
791
|
-
}
|
|
792
|
-
if (result.action !== "list" && result.action !== "show" && result.action !== "show-status" && result.warnings.length > 0) {
|
|
793
|
-
printError(`schema ${result.action} warnings: ${formatHookWarnings(result.warnings)}`);
|
|
794
|
-
}
|
|
899
|
+
renderSchemaResultHuman(schemaModule, result);
|
|
795
900
|
}
|
|
796
901
|
if (globalOptions.profile) {
|
|
797
902
|
printError(`profile:command=schema took_ms=${Date.now() - startedAt}`);
|
|
@@ -814,7 +919,7 @@ function registerMutationCommands(program) {
|
|
|
814
919
|
throw new PmCliError("Specify comment text with exactly one source: positional [text], --add, --stdin, or --file", EXIT_CODE.USAGE);
|
|
815
920
|
}
|
|
816
921
|
const add = addFromOption ?? addFromPositional;
|
|
817
|
-
const { runComments } = await import("./comments-
|
|
922
|
+
const { runComments } = await import("./comments-RLWR2S7W.js");
|
|
818
923
|
const result = await runComments(id, {
|
|
819
924
|
add,
|
|
820
925
|
stdin: readFromStdin,
|
|
@@ -845,7 +950,7 @@ function registerMutationCommands(program) {
|
|
|
845
950
|
throw new PmCliError("Specify note text either as positional [text] or with --add, not both", EXIT_CODE.USAGE);
|
|
846
951
|
}
|
|
847
952
|
const add = addFromOption ?? addFromPositional;
|
|
848
|
-
const { runNotes } = await import("./notes-
|
|
953
|
+
const { runNotes } = await import("./notes-GYVNDAL4.js");
|
|
849
954
|
const result = await runNotes(id, {
|
|
850
955
|
add,
|
|
851
956
|
limit: typeof options.limit === "string" ? options.limit : void 0,
|
|
@@ -871,7 +976,7 @@ function registerMutationCommands(program) {
|
|
|
871
976
|
throw new PmCliError("Specify learning text either as positional [text] or with --add, not both", EXIT_CODE.USAGE);
|
|
872
977
|
}
|
|
873
978
|
const add = addFromOption ?? addFromPositional;
|
|
874
|
-
const { runLearnings } = await import("./learnings-
|
|
979
|
+
const { runLearnings } = await import("./learnings-U67FTXPB.js");
|
|
875
980
|
const result = await runLearnings(id, {
|
|
876
981
|
add,
|
|
877
982
|
limit: typeof options.limit === "string" ? options.limit : void 0,
|
|
@@ -896,7 +1001,7 @@ function registerMutationCommands(program) {
|
|
|
896
1001
|
const addGlobValues = Array.isArray(options.addGlob) ? options.addGlob : [];
|
|
897
1002
|
const removeValues = Array.isArray(options.remove) ? options.remove : [];
|
|
898
1003
|
const migrateValues = Array.isArray(options.migrate) ? options.migrate : [];
|
|
899
|
-
const { runFiles } = await import("./files-
|
|
1004
|
+
const { runFiles } = await import("./files-2RSWGPEU.js");
|
|
900
1005
|
const result = await runFiles(id, {
|
|
901
1006
|
add: addValues,
|
|
902
1007
|
addGlob: addGlobValues,
|
|
@@ -923,7 +1028,7 @@ function registerMutationCommands(program) {
|
|
|
923
1028
|
const globalOptions = getGlobalOptions(command);
|
|
924
1029
|
const startedAt = Date.now();
|
|
925
1030
|
const mergedOptions = { ...command.optsWithGlobals(), ...options };
|
|
926
|
-
const { runFilesDiscover } = await import("./files-
|
|
1031
|
+
const { runFilesDiscover } = await import("./files-2RSWGPEU.js");
|
|
927
1032
|
const result = await runFilesDiscover(id, {
|
|
928
1033
|
apply: Boolean(mergedOptions.apply),
|
|
929
1034
|
note: typeof mergedOptions.note === "string" ? mergedOptions.note : void 0,
|
|
@@ -947,7 +1052,7 @@ function registerMutationCommands(program) {
|
|
|
947
1052
|
const addGlobValues = Array.isArray(options.addGlob) ? options.addGlob : [];
|
|
948
1053
|
const removeValues = Array.isArray(options.remove) ? options.remove : [];
|
|
949
1054
|
const migrateValues = Array.isArray(options.migrate) ? options.migrate : [];
|
|
950
|
-
const { runDocs } = await import("./docs-
|
|
1055
|
+
const { runDocs } = await import("./docs-SXMOABHR.js");
|
|
951
1056
|
const result = await runDocs(id, {
|
|
952
1057
|
add: addValues,
|
|
953
1058
|
addGlob: addGlobValues,
|
|
@@ -972,7 +1077,7 @@ function registerMutationCommands(program) {
|
|
|
972
1077
|
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) => {
|
|
973
1078
|
const globalOptions = getGlobalOptions(command);
|
|
974
1079
|
const startedAt = Date.now();
|
|
975
|
-
const { runDeps } = await import("./deps-
|
|
1080
|
+
const { runDeps } = await import("./deps-MCCU633S.js");
|
|
976
1081
|
const result = await runDeps(id, {
|
|
977
1082
|
format: options.format,
|
|
978
1083
|
maxDepth: typeof options.maxDepth === "string" ? options.maxDepth : void 0,
|
|
@@ -991,6 +1096,6 @@ export {
|
|
|
991
1096
|
registerCommanderOptionContracts,
|
|
992
1097
|
registerMutationCommands
|
|
993
1098
|
};
|
|
994
|
-
//# sourceMappingURL=register-mutation-
|
|
1099
|
+
//# sourceMappingURL=register-mutation-HE73PREP.js.map
|
|
995
1100
|
|
|
996
|
-
//# debugId=
|
|
1101
|
+
//# debugId=76dffad5-317b-52b6-a4a6-80a7b55431c6
|