@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-UFZK6Q57.js → register-mutation-6UCOEQ6L.js}
RENAMED
|
@@ -6,27 +6,27 @@ import {
|
|
|
6
6
|
invalidateSearchCachesForMutation,
|
|
7
7
|
normalizeCreateOptions,
|
|
8
8
|
normalizeUpdateOptions
|
|
9
|
-
} from "./chunk-
|
|
9
|
+
} from "./chunk-G2MOUCTU.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-VXHMQDXA.js";
|
|
14
|
+
import "./chunk-YLAW3FZN.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-R4AKUPKI.js";
|
|
20
|
+
import "./chunk-KA22USXD.js";
|
|
21
|
+
import "./chunk-5XGWFUW2.js";
|
|
22
|
+
import "./chunk-TBV33CB4.js";
|
|
23
|
+
import "./chunk-QXMXRPX5.js";
|
|
24
|
+
import "./chunk-LNH5Q32E.js";
|
|
25
25
|
import {
|
|
26
26
|
BUILTIN_ITEM_TYPE_VALUES,
|
|
27
27
|
EXIT_CODE,
|
|
28
28
|
PmCliError
|
|
29
|
-
} from "./chunk-
|
|
29
|
+
} from "./chunk-CHM2VFVL.js";
|
|
30
30
|
|
|
31
31
|
// dist/cli/register-mutation.js
|
|
32
32
|
import { Option } from "commander";
|
|
@@ -108,7 +108,7 @@ function isPureSnakeCaseAlias(canonicalFlagSpec, aliasFlagSpec) {
|
|
|
108
108
|
!(function() {
|
|
109
109
|
try {
|
|
110
110
|
var e = "undefined" != typeof window ? window : "undefined" != typeof global ? global : "undefined" != typeof globalThis ? globalThis : "undefined" != typeof self ? self : {}, n = new e.Error().stack;
|
|
111
|
-
n && (e._sentryDebugIds = e._sentryDebugIds || {}, e._sentryDebugIds[n] = "
|
|
111
|
+
n && (e._sentryDebugIds = e._sentryDebugIds || {}, e._sentryDebugIds[n] = "e38412ec-cbfb-5416-8790-6ca1958f596b");
|
|
112
112
|
} catch (e2) {
|
|
113
113
|
}
|
|
114
114
|
})();
|
|
@@ -142,6 +142,119 @@ function parseSchemaOrderOption(raw) {
|
|
|
142
142
|
}
|
|
143
143
|
throw new PmCliError("--order must be a finite integer.", EXIT_CODE.USAGE);
|
|
144
144
|
}
|
|
145
|
+
async function dispatchSchemaSubcommand(schema, inputs) {
|
|
146
|
+
const { normalizedSubcommand, typeName, options, globalOptions } = inputs;
|
|
147
|
+
const { author, force, description } = inputs;
|
|
148
|
+
switch (normalizedSubcommand) {
|
|
149
|
+
case "list":
|
|
150
|
+
return schema.runSchemaList(globalOptions);
|
|
151
|
+
case "show":
|
|
152
|
+
return schema.runSchemaShow(typeName, globalOptions);
|
|
153
|
+
case "show-status":
|
|
154
|
+
return schema.runSchemaShowStatus(typeName, globalOptions);
|
|
155
|
+
case "list-fields":
|
|
156
|
+
return schema.runSchemaListFields(globalOptions);
|
|
157
|
+
case "show-field":
|
|
158
|
+
return schema.runSchemaShowField(typeName, globalOptions);
|
|
159
|
+
case "remove-type":
|
|
160
|
+
return schema.runSchemaRemoveType(typeName, { author, force }, globalOptions);
|
|
161
|
+
case "remove-field":
|
|
162
|
+
return schema.runSchemaRemoveField(typeName, { author, force }, globalOptions);
|
|
163
|
+
case "apply-preset":
|
|
164
|
+
return schema.runSchemaApplyPreset(typeName, { author, force }, globalOptions);
|
|
165
|
+
case "add-field":
|
|
166
|
+
return schema.runSchemaAddField(typeName, {
|
|
167
|
+
type: typeof options.type === "string" ? options.type : void 0,
|
|
168
|
+
commands: inputs.commands,
|
|
169
|
+
description,
|
|
170
|
+
cliFlag: typeof options.cliFlag === "string" ? options.cliFlag : void 0,
|
|
171
|
+
alias: inputs.aliases,
|
|
172
|
+
required: Boolean(options.required),
|
|
173
|
+
requiredOnCreate: Boolean(options.requiredOnCreate),
|
|
174
|
+
// commander stores --no-allow-unset as allowUnset:false; the default
|
|
175
|
+
// (flag omitted) is true. Forward the tri-state faithfully.
|
|
176
|
+
allowUnset: options.allowUnset !== false,
|
|
177
|
+
requiredTypes: inputs.requiredTypes,
|
|
178
|
+
author,
|
|
179
|
+
force
|
|
180
|
+
}, globalOptions);
|
|
181
|
+
case "add-status":
|
|
182
|
+
return schema.runSchemaAddStatus(typeName, { role: inputs.roles, alias: inputs.aliases, description, order: inputs.order, author, force }, globalOptions);
|
|
183
|
+
case "remove-status":
|
|
184
|
+
return schema.runSchemaRemoveStatus(typeName, { author, force }, globalOptions);
|
|
185
|
+
default:
|
|
186
|
+
if (options.infer === true) {
|
|
187
|
+
return schema.runSchemaInferTypes({ minCount: inputs.minCount, apply: Boolean(options.apply), author, force }, globalOptions);
|
|
188
|
+
}
|
|
189
|
+
return schema.runSchemaAddType(typeName, {
|
|
190
|
+
description,
|
|
191
|
+
defaultStatus: inputs.defaultStatus,
|
|
192
|
+
folder: typeof options.folder === "string" ? options.folder : void 0,
|
|
193
|
+
alias: inputs.aliases,
|
|
194
|
+
author,
|
|
195
|
+
force
|
|
196
|
+
}, globalOptions);
|
|
197
|
+
}
|
|
198
|
+
}
|
|
199
|
+
function renderSchemaResultHuman(schema, result) {
|
|
200
|
+
switch (result.action) {
|
|
201
|
+
case "list":
|
|
202
|
+
writeStdout(`${schema.formatSchemaListHuman(result)}
|
|
203
|
+
`);
|
|
204
|
+
return;
|
|
205
|
+
case "show":
|
|
206
|
+
writeStdout(`${schema.formatSchemaShowHuman(result)}
|
|
207
|
+
`);
|
|
208
|
+
return;
|
|
209
|
+
case "show-status":
|
|
210
|
+
writeStdout(`${schema.formatSchemaShowStatusHuman(result)}
|
|
211
|
+
`);
|
|
212
|
+
return;
|
|
213
|
+
case "list-fields":
|
|
214
|
+
writeStdout(`${schema.formatSchemaListFieldsHuman(result)}
|
|
215
|
+
`);
|
|
216
|
+
return;
|
|
217
|
+
case "show-field":
|
|
218
|
+
writeStdout(`${schema.formatSchemaShowFieldHuman(result)}
|
|
219
|
+
`);
|
|
220
|
+
return;
|
|
221
|
+
case "remove-type":
|
|
222
|
+
writeStdout(`${schema.formatSchemaRemoveTypeHuman(result)}
|
|
223
|
+
`);
|
|
224
|
+
break;
|
|
225
|
+
case "remove-field":
|
|
226
|
+
writeStdout(`${schema.formatSchemaRemoveFieldHuman(result)}
|
|
227
|
+
`);
|
|
228
|
+
break;
|
|
229
|
+
case "apply-preset":
|
|
230
|
+
writeStdout(`${schema.formatSchemaApplyPresetHuman(result)}
|
|
231
|
+
`);
|
|
232
|
+
break;
|
|
233
|
+
case "infer-types":
|
|
234
|
+
writeStdout(`${schema.formatSchemaInferTypesHuman(result)}
|
|
235
|
+
`);
|
|
236
|
+
break;
|
|
237
|
+
case "add-field":
|
|
238
|
+
writeStdout(`${schema.formatSchemaAddFieldHuman(result)}
|
|
239
|
+
`);
|
|
240
|
+
break;
|
|
241
|
+
case "add-status":
|
|
242
|
+
writeStdout(`${schema.formatSchemaAddStatusHuman(result)}
|
|
243
|
+
`);
|
|
244
|
+
break;
|
|
245
|
+
case "remove-status":
|
|
246
|
+
writeStdout(`${schema.formatSchemaRemoveStatusHuman(result)}
|
|
247
|
+
`);
|
|
248
|
+
break;
|
|
249
|
+
default:
|
|
250
|
+
writeStdout(`${schema.formatSchemaAddTypeHuman(result)}
|
|
251
|
+
`);
|
|
252
|
+
break;
|
|
253
|
+
}
|
|
254
|
+
if (result.warnings.length > 0) {
|
|
255
|
+
printError(`schema ${result.action} warnings: ${formatHookWarnings(result.warnings)}`);
|
|
256
|
+
}
|
|
257
|
+
}
|
|
145
258
|
function parsePositiveIntOption(flag) {
|
|
146
259
|
return (value) => {
|
|
147
260
|
const parsed = Number(value);
|
|
@@ -290,7 +403,7 @@ function registerMutationCommands(program) {
|
|
|
290
403
|
delete options.bodyFile;
|
|
291
404
|
}
|
|
292
405
|
const normalized = normalizeCreateOptions(options, { requireType: false });
|
|
293
|
-
const { runCreate } = await import("./create-
|
|
406
|
+
const { runCreate } = await import("./create-RTRFW6RE.js");
|
|
294
407
|
const result = await runCreate(normalized, globalOptions);
|
|
295
408
|
await invalidateSearchCachesForMutation(globalOptions, result);
|
|
296
409
|
printResult(result, globalOptions);
|
|
@@ -301,7 +414,7 @@ function registerMutationCommands(program) {
|
|
|
301
414
|
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) => {
|
|
302
415
|
const globalOptions = getGlobalOptions(command);
|
|
303
416
|
const startedAt = Date.now();
|
|
304
|
-
const { runCopy } = await import("./copy-
|
|
417
|
+
const { runCopy } = await import("./copy-Q2PPU4AY.js");
|
|
305
418
|
const result = await runCopy(id, {
|
|
306
419
|
title: typeof options.title === "string" ? options.title : void 0,
|
|
307
420
|
author: typeof options.author === "string" ? options.author : void 0,
|
|
@@ -316,7 +429,7 @@ function registerMutationCommands(program) {
|
|
|
316
429
|
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) => {
|
|
317
430
|
const globalOptions = getGlobalOptions(command);
|
|
318
431
|
const startedAt = Date.now();
|
|
319
|
-
const { runFocus } = await import("./focus-
|
|
432
|
+
const { runFocus } = await import("./focus-ZMDP4FEL.js");
|
|
320
433
|
const result = await runFocus(id, { clear: options.clear === true }, globalOptions);
|
|
321
434
|
printResult(result, globalOptions);
|
|
322
435
|
if (globalOptions.profile) {
|
|
@@ -335,7 +448,7 @@ function registerMutationCommands(program) {
|
|
|
335
448
|
options.body = await resolveBodyFileContent(options.bodyFile, options.body !== void 0 ? String(options.body) : void 0);
|
|
336
449
|
delete options.bodyFile;
|
|
337
450
|
}
|
|
338
|
-
const { runUpdate } = await import("./update-
|
|
451
|
+
const { runUpdate } = await import("./update-MIWEJC76.js");
|
|
339
452
|
const result = await runUpdate(id, normalizeUpdateOptions(options), globalOptions);
|
|
340
453
|
await invalidateSearchCachesForMutation(globalOptions, result);
|
|
341
454
|
printResult(result, globalOptions);
|
|
@@ -378,7 +491,7 @@ function registerMutationCommands(program) {
|
|
|
378
491
|
updateManyCommand.action(async (options, command) => {
|
|
379
492
|
const globalOptions = getGlobalOptions(command);
|
|
380
493
|
const startedAt = Date.now();
|
|
381
|
-
const { runUpdateMany } = await import("./update-many-
|
|
494
|
+
const { runUpdateMany } = await import("./update-many-5B4HLVBK.js");
|
|
382
495
|
const result = await runUpdateMany({
|
|
383
496
|
status: typeof options.filterStatus === "string" ? options.filterStatus : void 0,
|
|
384
497
|
list: buildUpdateManyListOptions(options),
|
|
@@ -399,7 +512,7 @@ function registerMutationCommands(program) {
|
|
|
399
512
|
closeCommand.action(async (id, text, options, command) => {
|
|
400
513
|
const globalOptions = getGlobalOptions(command);
|
|
401
514
|
const startedAt = Date.now();
|
|
402
|
-
const { runClose } = await import("./close-
|
|
515
|
+
const { runClose } = await import("./close-I7PRQ5G7.js");
|
|
403
516
|
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;
|
|
404
517
|
const resolvedText = typeof text === "string" && text.length > 0 ? text : reasonFromOption;
|
|
405
518
|
const pickInlineString = (...candidates) => {
|
|
@@ -443,7 +556,7 @@ function registerMutationCommands(program) {
|
|
|
443
556
|
}
|
|
444
557
|
return void 0;
|
|
445
558
|
};
|
|
446
|
-
const { runCloseMany } = await import("./close-many-
|
|
559
|
+
const { runCloseMany } = await import("./close-many-TXABDCSJ.js");
|
|
447
560
|
const result = await runCloseMany({
|
|
448
561
|
status: typeof options.filterStatus === "string" ? options.filterStatus : void 0,
|
|
449
562
|
list: {
|
|
@@ -487,7 +600,7 @@ function registerMutationCommands(program) {
|
|
|
487
600
|
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) => {
|
|
488
601
|
const globalOptions = getGlobalOptions(command);
|
|
489
602
|
const startedAt = Date.now();
|
|
490
|
-
const { runDelete } = await import("./delete-
|
|
603
|
+
const { runDelete } = await import("./delete-T6DJSUJI.js");
|
|
491
604
|
const result = await runDelete(id, {
|
|
492
605
|
author: typeof options.author === "string" ? options.author : void 0,
|
|
493
606
|
message: typeof options.message === "string" ? options.message : void 0,
|
|
@@ -516,7 +629,7 @@ function registerMutationCommands(program) {
|
|
|
516
629
|
if (resolvedBody === void 0) {
|
|
517
630
|
throw new PmCliError("Missing append text. Provide it as positional [text], --body <value>, or --text <value> (use - for stdin).", EXIT_CODE.USAGE);
|
|
518
631
|
}
|
|
519
|
-
const { runAppend } = await import("./append-
|
|
632
|
+
const { runAppend } = await import("./append-HSPK4L4V.js");
|
|
520
633
|
const result = await runAppend(id, {
|
|
521
634
|
body: resolvedBody,
|
|
522
635
|
author: typeof options.author === "string" ? options.author : void 0,
|
|
@@ -532,7 +645,7 @@ function registerMutationCommands(program) {
|
|
|
532
645
|
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) => {
|
|
533
646
|
const globalOptions = getGlobalOptions(command);
|
|
534
647
|
const startedAt = Date.now();
|
|
535
|
-
const { runRestore } = await import("./restore-
|
|
648
|
+
const { runRestore } = await import("./restore-XQXICL3V.js");
|
|
536
649
|
const result = await runRestore(id, target, {
|
|
537
650
|
author: typeof options.author === "string" ? options.author : void 0,
|
|
538
651
|
message: typeof options.message === "string" ? options.message : void 0,
|
|
@@ -581,7 +694,7 @@ function registerMutationCommands(program) {
|
|
|
581
694
|
planCommand.action(async (subcommand, id, stepRef, reorderToken, options, command) => {
|
|
582
695
|
const globalOptions = getGlobalOptions(command);
|
|
583
696
|
const startedAt = Date.now();
|
|
584
|
-
const { runPlan, PLAN_SUBCOMMANDS } = await import("./plan-
|
|
697
|
+
const { runPlan, PLAN_SUBCOMMANDS } = await import("./plan-4LF4AV63.js");
|
|
585
698
|
const normalizedSubcommand = (subcommand ?? "").trim().toLowerCase();
|
|
586
699
|
if (!normalizedSubcommand) {
|
|
587
700
|
throw new PmCliError(`pm plan requires a subcommand. Allowed: ${PLAN_SUBCOMMANDS.join(", ")}`, EXIT_CODE.USAGE, {
|
|
@@ -665,7 +778,7 @@ function registerMutationCommands(program) {
|
|
|
665
778
|
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) => {
|
|
666
779
|
const globalOptions = getGlobalOptions(command);
|
|
667
780
|
const startedAt = Date.now();
|
|
668
|
-
const { runHistoryRedact } = await import("./history-redact-
|
|
781
|
+
const { runHistoryRedact } = await import("./history-redact-WZZ6GZ2Z.js");
|
|
669
782
|
const literal = Array.isArray(options.literal) ? options.literal : void 0;
|
|
670
783
|
const regex = Array.isArray(options.regex) ? options.regex : void 0;
|
|
671
784
|
const result = await runHistoryRedact(id, {
|
|
@@ -688,7 +801,7 @@ function registerMutationCommands(program) {
|
|
|
688
801
|
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) => {
|
|
689
802
|
const globalOptions = getGlobalOptions(command);
|
|
690
803
|
const startedAt = Date.now();
|
|
691
|
-
const { runHistoryRepair, runHistoryRepairAll, assertHistoryRepairTarget } = await import("./history-repair-
|
|
804
|
+
const { runHistoryRepair, runHistoryRepairAll, assertHistoryRepairTarget } = await import("./history-repair-GQN2X4TR.js");
|
|
692
805
|
const all = options.all === true;
|
|
693
806
|
assertHistoryRepairTarget(id, all);
|
|
694
807
|
const repairOptions = {
|
|
@@ -714,7 +827,7 @@ function registerMutationCommands(program) {
|
|
|
714
827
|
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) => {
|
|
715
828
|
const globalOptions = getGlobalOptions(command);
|
|
716
829
|
const startedAt = Date.now();
|
|
717
|
-
const { runHistoryCompact } = await import("./history-compact-
|
|
830
|
+
const { runHistoryCompact } = await import("./history-compact-24VQ63A3.js");
|
|
718
831
|
const result = await runHistoryCompact(id, {
|
|
719
832
|
before: typeof options.before === "string" ? options.before : void 0,
|
|
720
833
|
dryRun: options.dryRun === true,
|
|
@@ -727,12 +840,13 @@ function registerMutationCommands(program) {
|
|
|
727
840
|
printError(`profile:command=history-compact took_ms=${Date.now() - startedAt}`);
|
|
728
841
|
}
|
|
729
842
|
});
|
|
730
|
-
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
|
|
843
|
+
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).");
|
|
731
844
|
addHiddenOption(schemaCommand, "--default_status <status>", "Alias for --default-status", false);
|
|
732
845
|
schemaCommand.action(async (subcommand, name, options, command) => {
|
|
733
846
|
const globalOptions = getGlobalOptions(command);
|
|
734
847
|
const startedAt = Date.now();
|
|
735
|
-
const
|
|
848
|
+
const schemaModule = await import("./schema-TSBYSEMW.js");
|
|
849
|
+
const { SCHEMA_SUBCOMMANDS } = schemaModule;
|
|
736
850
|
let normalizedSubcommand = (subcommand ?? "").trim().toLowerCase();
|
|
737
851
|
let typeName = name;
|
|
738
852
|
if (!normalizedSubcommand) {
|
|
@@ -745,7 +859,11 @@ function registerMutationCommands(program) {
|
|
|
745
859
|
'pm schema add-type Spike --description "Time-boxed investigation" --default-status open',
|
|
746
860
|
"pm schema remove-type Spike",
|
|
747
861
|
"pm schema add-status review --role active --alias in_review",
|
|
748
|
-
"pm schema remove-status review"
|
|
862
|
+
"pm schema remove-status review",
|
|
863
|
+
"pm schema add-field severity_level --type string --commands create,update",
|
|
864
|
+
"pm schema list-fields",
|
|
865
|
+
"pm schema apply-preset agile",
|
|
866
|
+
"pm schema add-type --infer --min-count 10"
|
|
749
867
|
]
|
|
750
868
|
});
|
|
751
869
|
}
|
|
@@ -759,6 +877,15 @@ function registerMutationCommands(program) {
|
|
|
759
877
|
);
|
|
760
878
|
const defaultStatus = typeof options.defaultStatus === "string" ? options.defaultStatus : typeof options.default_status === "string" ? options.default_status : void 0;
|
|
761
879
|
const order = parseSchemaOrderOption(options.order);
|
|
880
|
+
const splitCommaList = (raw) => {
|
|
881
|
+
if (!Array.isArray(raw)) {
|
|
882
|
+
return void 0;
|
|
883
|
+
}
|
|
884
|
+
return raw.flatMap((value) => value.split(",")).map((value) => value.trim()).filter((value) => value.length > 0);
|
|
885
|
+
};
|
|
886
|
+
const commands = splitCommaList(options.commands);
|
|
887
|
+
const requiredTypes = splitCommaList(options.requiredTypes);
|
|
888
|
+
const minCount = parseSchemaOrderOption(options.minCount);
|
|
762
889
|
if (!SCHEMA_SUBCOMMANDS.includes(normalizedSubcommand) && typeName === void 0) {
|
|
763
890
|
typeName = subcommand;
|
|
764
891
|
normalizedSubcommand = "add-type";
|
|
@@ -768,49 +895,27 @@ function registerMutationCommands(program) {
|
|
|
768
895
|
}
|
|
769
896
|
const author = typeof options.author === "string" ? options.author : void 0;
|
|
770
897
|
const force = Boolean(options.force);
|
|
771
|
-
const
|
|
772
|
-
|
|
773
|
-
|
|
774
|
-
|
|
775
|
-
|
|
776
|
-
|
|
777
|
-
|
|
778
|
-
|
|
779
|
-
|
|
898
|
+
const description = typeof options.description === "string" ? options.description : void 0;
|
|
899
|
+
const result = await dispatchSchemaSubcommand(schemaModule, {
|
|
900
|
+
normalizedSubcommand,
|
|
901
|
+
typeName,
|
|
902
|
+
options,
|
|
903
|
+
aliases,
|
|
904
|
+
roles,
|
|
905
|
+
commands,
|
|
906
|
+
requiredTypes,
|
|
780
907
|
defaultStatus,
|
|
781
|
-
|
|
782
|
-
|
|
908
|
+
order,
|
|
909
|
+
minCount,
|
|
783
910
|
author,
|
|
784
|
-
force
|
|
785
|
-
|
|
911
|
+
force,
|
|
912
|
+
description,
|
|
913
|
+
globalOptions
|
|
914
|
+
});
|
|
786
915
|
if (globalOptions.json === true || globalOptions.defaultOutputFormat === "json") {
|
|
787
916
|
printResult(result, globalOptions);
|
|
788
917
|
} else if (!globalOptions.quiet) {
|
|
789
|
-
|
|
790
|
-
writeStdout(`${formatSchemaListHuman(result)}
|
|
791
|
-
`);
|
|
792
|
-
} else if (result.action === "show") {
|
|
793
|
-
writeStdout(`${formatSchemaShowHuman(result)}
|
|
794
|
-
`);
|
|
795
|
-
} else if (result.action === "show-status") {
|
|
796
|
-
writeStdout(`${formatSchemaShowStatusHuman(result)}
|
|
797
|
-
`);
|
|
798
|
-
} else if (result.action === "remove-type") {
|
|
799
|
-
writeStdout(`${formatSchemaRemoveTypeHuman(result)}
|
|
800
|
-
`);
|
|
801
|
-
} else if (result.action === "add-status") {
|
|
802
|
-
writeStdout(`${formatSchemaAddStatusHuman(result)}
|
|
803
|
-
`);
|
|
804
|
-
} else if (result.action === "remove-status") {
|
|
805
|
-
writeStdout(`${formatSchemaRemoveStatusHuman(result)}
|
|
806
|
-
`);
|
|
807
|
-
} else {
|
|
808
|
-
writeStdout(`${formatSchemaAddTypeHuman(result)}
|
|
809
|
-
`);
|
|
810
|
-
}
|
|
811
|
-
if (result.action !== "list" && result.action !== "show" && result.action !== "show-status" && result.warnings.length > 0) {
|
|
812
|
-
printError(`schema ${result.action} warnings: ${formatHookWarnings(result.warnings)}`);
|
|
813
|
-
}
|
|
918
|
+
renderSchemaResultHuman(schemaModule, result);
|
|
814
919
|
}
|
|
815
920
|
if (globalOptions.profile) {
|
|
816
921
|
printError(`profile:command=schema took_ms=${Date.now() - startedAt}`);
|
|
@@ -833,7 +938,7 @@ function registerMutationCommands(program) {
|
|
|
833
938
|
throw new PmCliError("Specify comment text with exactly one source: positional [text], --add, --stdin, or --file", EXIT_CODE.USAGE);
|
|
834
939
|
}
|
|
835
940
|
const add = addFromOption ?? addFromPositional;
|
|
836
|
-
const { runComments } = await import("./comments-
|
|
941
|
+
const { runComments } = await import("./comments-YAMXKHUX.js");
|
|
837
942
|
const result = await runComments(id, {
|
|
838
943
|
add,
|
|
839
944
|
stdin: readFromStdin,
|
|
@@ -864,7 +969,7 @@ function registerMutationCommands(program) {
|
|
|
864
969
|
throw new PmCliError("Specify note text either as positional [text] or with --add, not both", EXIT_CODE.USAGE);
|
|
865
970
|
}
|
|
866
971
|
const add = addFromOption ?? addFromPositional;
|
|
867
|
-
const { runNotes } = await import("./notes-
|
|
972
|
+
const { runNotes } = await import("./notes-EUANWWKD.js");
|
|
868
973
|
const result = await runNotes(id, {
|
|
869
974
|
add,
|
|
870
975
|
limit: typeof options.limit === "string" ? options.limit : void 0,
|
|
@@ -890,7 +995,7 @@ function registerMutationCommands(program) {
|
|
|
890
995
|
throw new PmCliError("Specify learning text either as positional [text] or with --add, not both", EXIT_CODE.USAGE);
|
|
891
996
|
}
|
|
892
997
|
const add = addFromOption ?? addFromPositional;
|
|
893
|
-
const { runLearnings } = await import("./learnings-
|
|
998
|
+
const { runLearnings } = await import("./learnings-TV2CTGJ3.js");
|
|
894
999
|
const result = await runLearnings(id, {
|
|
895
1000
|
add,
|
|
896
1001
|
limit: typeof options.limit === "string" ? options.limit : void 0,
|
|
@@ -915,7 +1020,7 @@ function registerMutationCommands(program) {
|
|
|
915
1020
|
const addGlobValues = Array.isArray(options.addGlob) ? options.addGlob : [];
|
|
916
1021
|
const removeValues = Array.isArray(options.remove) ? options.remove : [];
|
|
917
1022
|
const migrateValues = Array.isArray(options.migrate) ? options.migrate : [];
|
|
918
|
-
const { runFiles } = await import("./files-
|
|
1023
|
+
const { runFiles } = await import("./files-ZWFJFWBK.js");
|
|
919
1024
|
const result = await runFiles(id, {
|
|
920
1025
|
add: addValues,
|
|
921
1026
|
addGlob: addGlobValues,
|
|
@@ -942,7 +1047,7 @@ function registerMutationCommands(program) {
|
|
|
942
1047
|
const globalOptions = getGlobalOptions(command);
|
|
943
1048
|
const startedAt = Date.now();
|
|
944
1049
|
const mergedOptions = { ...command.optsWithGlobals(), ...options };
|
|
945
|
-
const { runFilesDiscover } = await import("./files-
|
|
1050
|
+
const { runFilesDiscover } = await import("./files-ZWFJFWBK.js");
|
|
946
1051
|
const result = await runFilesDiscover(id, {
|
|
947
1052
|
apply: Boolean(mergedOptions.apply),
|
|
948
1053
|
note: typeof mergedOptions.note === "string" ? mergedOptions.note : void 0,
|
|
@@ -966,7 +1071,7 @@ function registerMutationCommands(program) {
|
|
|
966
1071
|
const addGlobValues = Array.isArray(options.addGlob) ? options.addGlob : [];
|
|
967
1072
|
const removeValues = Array.isArray(options.remove) ? options.remove : [];
|
|
968
1073
|
const migrateValues = Array.isArray(options.migrate) ? options.migrate : [];
|
|
969
|
-
const { runDocs } = await import("./docs-
|
|
1074
|
+
const { runDocs } = await import("./docs-HE3HCQ4S.js");
|
|
970
1075
|
const result = await runDocs(id, {
|
|
971
1076
|
add: addValues,
|
|
972
1077
|
addGlob: addGlobValues,
|
|
@@ -991,7 +1096,7 @@ function registerMutationCommands(program) {
|
|
|
991
1096
|
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) => {
|
|
992
1097
|
const globalOptions = getGlobalOptions(command);
|
|
993
1098
|
const startedAt = Date.now();
|
|
994
|
-
const { runDeps } = await import("./deps-
|
|
1099
|
+
const { runDeps } = await import("./deps-5GWMMS6D.js");
|
|
995
1100
|
const result = await runDeps(id, {
|
|
996
1101
|
format: options.format,
|
|
997
1102
|
maxDepth: typeof options.maxDepth === "string" ? options.maxDepth : void 0,
|
|
@@ -1010,4 +1115,4 @@ export {
|
|
|
1010
1115
|
registerCommanderOptionContracts,
|
|
1011
1116
|
registerMutationCommands
|
|
1012
1117
|
};
|
|
1013
|
-
//# sourceMappingURL=register-mutation-
|
|
1118
|
+
//# sourceMappingURL=register-mutation-6UCOEQ6L.js.map
|