@unbrained/pm-cli 2026.7.14 → 2026.7.16
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/.claude-plugin/marketplace.json +2 -2
- package/CHANGELOG.md +54 -0
- package/README.md +14 -11
- package/dist/cli/argv-utils.d.ts +1 -4
- package/dist/cli/argv-utils.js +3 -13
- package/dist/cli/argv-utils.js.map +1 -1
- package/dist/cli/bootstrap-args.d.ts +6 -4
- package/dist/cli/bootstrap-args.js +51 -16
- package/dist/cli/bootstrap-args.js.map +1 -1
- package/dist/cli/bundle-integrity.d.ts +49 -0
- package/dist/cli/bundle-integrity.js +111 -0
- package/dist/cli/bundle-integrity.js.map +1 -0
- package/dist/cli/commands/completion.js +7 -2
- package/dist/cli/commands/completion.js.map +1 -1
- package/dist/cli/commands/config.d.ts +6 -163
- package/dist/cli/commands/config.js +4 -1133
- package/dist/cli/commands/config.js.map +1 -1
- package/dist/cli/commands/context.d.ts +2 -4
- package/dist/cli/commands/context.js +10 -85
- package/dist/cli/commands/context.js.map +1 -1
- package/dist/cli/commands/create.d.ts +1 -0
- package/dist/cli/commands/create.js +3 -2
- package/dist/cli/commands/create.js.map +1 -1
- package/dist/cli/commands/extension/describe.d.ts +2 -91
- package/dist/cli/commands/extension/describe.js +4 -142
- package/dist/cli/commands/extension/describe.js.map +1 -1
- package/dist/cli/commands/extension/scaffold.d.ts +2 -36
- package/dist/cli/commands/extension/scaffold.js +4 -2435
- package/dist/cli/commands/extension/scaffold.js.map +1 -1
- package/dist/cli/commands/extension/shared.d.ts +2 -28
- package/dist/cli/commands/extension/shared.js +4 -130
- package/dist/cli/commands/extension/shared.js.map +1 -1
- package/dist/cli/commands/extension.d.ts +3 -400
- package/dist/cli/commands/extension.js +4 -2183
- package/dist/cli/commands/extension.js.map +1 -1
- package/dist/cli/commands/gc.d.ts +6 -56
- package/dist/cli/commands/gc.js +4 -270
- package/dist/cli/commands/gc.js.map +1 -1
- package/dist/cli/commands/get.d.ts +18 -5
- package/dist/cli/commands/get.js +117 -58
- package/dist/cli/commands/get.js.map +1 -1
- package/dist/cli/commands/health.d.ts +6 -184
- package/dist/cli/commands/health.js +4 -1747
- package/dist/cli/commands/health.js.map +1 -1
- package/dist/cli/commands/history-compact.d.ts +4 -139
- package/dist/cli/commands/history-compact.js +5 -510
- package/dist/cli/commands/history-compact.js.map +1 -1
- package/dist/cli/commands/history-redact.d.ts +8 -120
- package/dist/cli/commands/history-redact.js +6 -581
- package/dist/cli/commands/history-redact.js.map +1 -1
- package/dist/cli/commands/history-repair.d.ts +7 -89
- package/dist/cli/commands/history-repair.js +5 -257
- package/dist/cli/commands/history-repair.js.map +1 -1
- package/dist/cli/commands/history.d.ts +1 -2
- package/dist/cli/commands/history.js +6 -48
- package/dist/cli/commands/history.js.map +1 -1
- package/dist/cli/commands/index.d.ts +1 -0
- package/dist/cli/commands/index.js +3 -2
- package/dist/cli/commands/index.js.map +1 -1
- package/dist/cli/commands/init-agent-guidance.d.ts +6 -113
- package/dist/cli/commands/init-agent-guidance.js +4 -431
- package/dist/cli/commands/init-agent-guidance.js.map +1 -1
- package/dist/cli/commands/init.d.ts +6 -181
- package/dist/cli/commands/init.js +4 -690
- package/dist/cli/commands/init.js.map +1 -1
- package/dist/cli/commands/next.js +3 -3
- package/dist/cli/commands/next.js.map +1 -1
- package/dist/cli/commands/profile.d.ts +4 -174
- package/dist/cli/commands/profile.js +4 -425
- package/dist/cli/commands/profile.js.map +1 -1
- package/dist/cli/commands/restore.d.ts +4 -19
- package/dist/cli/commands/restore.js +9 -158
- package/dist/cli/commands/restore.js.map +1 -1
- package/dist/cli/commands/schema.d.ts +7 -507
- package/dist/cli/commands/schema.js +5 -1254
- package/dist/cli/commands/schema.js.map +1 -1
- package/dist/cli/commands/test.d.ts +2 -4
- package/dist/cli/commands/test.js +7 -97
- package/dist/cli/commands/test.js.map +1 -1
- package/dist/cli/commands/validate.d.ts +9 -249
- package/dist/cli/commands/validate.js +9 -2150
- package/dist/cli/commands/validate.js.map +1 -1
- package/dist/cli/extension-command-help.js +18 -4
- package/dist/cli/extension-command-help.js.map +1 -1
- package/dist/cli/extension-command-options.js +3 -3
- package/dist/cli/extension-command-options.js.map +1 -1
- package/dist/cli/help-content.js +7 -3
- package/dist/cli/help-content.js.map +1 -1
- package/dist/cli/main.js +20 -30
- package/dist/cli/main.js.map +1 -1
- package/dist/cli/register-list-query.js +4 -2
- package/dist/cli/register-list-query.js.map +1 -1
- package/dist/cli/register-mutation.js +11 -3
- package/dist/cli/register-mutation.js.map +1 -1
- package/dist/cli/register-setup.js +4 -2
- package/dist/cli/register-setup.js.map +1 -1
- package/dist/cli/registration-helpers.js +3 -2
- package/dist/cli/registration-helpers.js.map +1 -1
- package/dist/cli-bundle/bundle-manifest.json +782 -0
- package/dist/cli-bundle/chunks/{append-PVZJDM6J.js → append-OJQFUQ4T.js} +5 -5
- package/dist/cli-bundle/chunks/append-UZVHUO74.js +11 -0
- package/dist/cli-bundle/chunks/{chunk-MQZ3PLCF.js → chunk-2IFFUZLC.js} +2 -2
- package/dist/cli-bundle/chunks/{chunk-P6MYFH6K.js → chunk-2JKGO6QX.js} +4 -4
- package/dist/cli-bundle/chunks/{chunk-X3GYR4P2.js → chunk-2NCIPMQP.js} +2 -2
- package/dist/cli-bundle/chunks/{chunk-Q7E6OYZK.js → chunk-2VPAVL7O.js} +2 -2
- package/dist/cli-bundle/chunks/{chunk-DRNJPEPQ.js → chunk-2WSE6PO2.js} +4 -4
- package/dist/cli-bundle/chunks/{chunk-FDSBDNYE.js → chunk-34L5OT3Y.js} +2 -2
- package/dist/cli-bundle/chunks/{chunk-TH7U4KLY.js → chunk-3AUGG2DP.js} +3 -3
- package/dist/cli-bundle/chunks/{chunk-NKW36AMT.js → chunk-3CLU2XZO.js} +4 -4
- package/dist/cli-bundle/chunks/{chunk-N3CMP4NI.js → chunk-3S5QVM5H.js} +43 -7
- package/dist/cli-bundle/chunks/chunk-3S5QVM5H.js.map +1 -0
- package/dist/cli-bundle/chunks/chunk-3U7ZR6M4.js +64 -0
- package/dist/cli-bundle/chunks/chunk-3U7ZR6M4.js.map +7 -0
- package/dist/cli-bundle/chunks/{chunk-ABRCOSDC.js → chunk-3WM75PWC.js} +3 -3
- package/dist/cli-bundle/chunks/chunk-4223PVZT.js +121 -0
- package/dist/cli-bundle/chunks/chunk-4223PVZT.js.map +7 -0
- package/dist/cli-bundle/chunks/{chunk-5URI7TPJ.js → chunk-4XQ3BDV4.js} +281 -164
- package/dist/cli-bundle/chunks/chunk-4XQ3BDV4.js.map +7 -0
- package/dist/cli-bundle/chunks/{chunk-X6BVXQ52.js → chunk-5JLUII3O.js} +13 -13
- package/dist/cli-bundle/chunks/{chunk-MKL4CP2I.js → chunk-5ZSLZLDN.js} +631 -246
- package/dist/cli-bundle/chunks/chunk-5ZSLZLDN.js.map +1 -0
- package/dist/cli-bundle/chunks/{chunk-Q37E63AM.js → chunk-6CFNAVTF.js} +21 -141
- package/dist/cli-bundle/chunks/chunk-6CFNAVTF.js.map +7 -0
- package/dist/cli-bundle/chunks/{chunk-3TL7WOEF.js → chunk-6N2VXVTQ.js} +2 -2
- package/dist/cli-bundle/chunks/{chunk-ERL2YFJ2.js → chunk-6S3YSUYG.js} +3 -3
- package/dist/cli-bundle/chunks/{chunk-ZUKSZVBW.js → chunk-7B67ZL4N.js} +8 -7
- package/dist/cli-bundle/chunks/chunk-7B67ZL4N.js.map +7 -0
- package/dist/cli-bundle/chunks/{chunk-IA3YFTXT.js → chunk-7PIWCHTW.js} +11 -13
- package/dist/cli-bundle/chunks/chunk-7PIWCHTW.js.map +1 -0
- package/dist/cli-bundle/chunks/{chunk-BPD26E3P.js → chunk-7Z4LKRS4.js} +291 -81
- package/dist/cli-bundle/chunks/chunk-7Z4LKRS4.js.map +1 -0
- package/dist/cli-bundle/chunks/{chunk-IFZA4VB5.js → chunk-AHVTB5I5.js} +4 -4
- package/dist/cli-bundle/chunks/{chunk-DO5RGJXT.js → chunk-APRVSW2O.js} +3 -3
- package/dist/cli-bundle/chunks/{chunk-NAQYVWSQ.js → chunk-B7PE22W6.js} +4 -4
- package/dist/cli-bundle/chunks/{chunk-MD6ULIPJ.js → chunk-BCOFWYW4.js} +3 -3
- package/dist/cli-bundle/chunks/{chunk-KADLSPIU.js → chunk-BEP7WJA2.js} +4 -4
- package/dist/cli-bundle/chunks/chunk-BKVG6XOA.js +1114 -0
- package/dist/cli-bundle/chunks/chunk-BKVG6XOA.js.map +7 -0
- package/dist/cli-bundle/chunks/{chunk-AFWZRL7M.js → chunk-BSEQUTQP.js} +2 -2
- package/dist/cli-bundle/chunks/{chunk-AFWZRL7M.js.map → chunk-BSEQUTQP.js.map} +2 -2
- package/dist/cli-bundle/chunks/{chunk-OBDLEQG5.js → chunk-CRVF2JDM.js} +10 -10
- package/dist/cli-bundle/chunks/{chunk-FJZDA6MS.js → chunk-DM4H7FP4.js} +3 -3
- package/dist/cli-bundle/chunks/chunk-DUT67M43.js +5 -0
- package/dist/cli-bundle/chunks/{chunk-44LNIULG.js → chunk-DYH63FX7.js} +4 -4
- package/dist/cli-bundle/chunks/{chunk-LWTIRS3Y.js → chunk-E2OJMKML.js} +306 -82
- package/dist/cli-bundle/chunks/chunk-E2OJMKML.js.map +7 -0
- package/dist/cli-bundle/chunks/{chunk-HAMLIWAF.js → chunk-EAB64KLB.js} +4 -4
- package/dist/cli-bundle/chunks/{chunk-CIOZ376P.js → chunk-EACOH7AU.js} +10 -10
- package/dist/cli-bundle/chunks/{chunk-HL7V2PHX.js → chunk-EH2OPHBI.js} +10 -10
- package/dist/cli-bundle/chunks/{chunk-HL7V2PHX.js.map → chunk-EH2OPHBI.js.map} +1 -1
- package/dist/cli-bundle/chunks/{chunk-QK2ZN6UL.js → chunk-EJEXHTY5.js} +2 -2
- package/dist/cli-bundle/chunks/{chunk-WQUEHPZB.js → chunk-EYLCSJAI.js} +2 -2
- package/dist/cli-bundle/chunks/{chunk-655STMGA.js → chunk-FMBNM2EN.js} +2 -2
- package/dist/cli-bundle/chunks/{chunk-RMF3IOYQ.js → chunk-FNSPG7MU.js} +12 -12
- package/dist/cli-bundle/chunks/{chunk-5CT5BW6E.js → chunk-GM5QHQU6.js} +46 -40
- package/dist/cli-bundle/chunks/chunk-GM5QHQU6.js.map +7 -0
- package/dist/cli-bundle/chunks/{chunk-FTQLW4JD.js → chunk-GOSLKLFE.js} +418 -24
- package/dist/cli-bundle/chunks/chunk-GOSLKLFE.js.map +1 -0
- package/dist/cli-bundle/chunks/{chunk-KB726FMH.js → chunk-H2Z3FYXQ.js} +4 -4
- package/dist/cli-bundle/chunks/chunk-H3EIEWGR.js +162 -0
- package/dist/cli-bundle/chunks/chunk-H3EIEWGR.js.map +1 -0
- package/dist/cli-bundle/chunks/{chunk-2QIQGYPW.js → chunk-H5APFTHZ.js} +53 -10
- package/dist/cli-bundle/chunks/chunk-H5APFTHZ.js.map +7 -0
- package/dist/cli-bundle/chunks/chunk-HDH3JUGG.js +118 -0
- package/dist/cli-bundle/chunks/chunk-HDH3JUGG.js.map +1 -0
- package/dist/cli-bundle/chunks/{chunk-ZAYYDNB3.js → chunk-HO4KXD6I.js} +22 -142
- package/dist/cli-bundle/chunks/chunk-HO4KXD6I.js.map +1 -0
- package/dist/cli-bundle/chunks/{chunk-ILLUE5DI.js → chunk-HYB5AZ63.js} +203 -62
- package/dist/cli-bundle/chunks/{chunk-ILLUE5DI.js.map → chunk-HYB5AZ63.js.map} +3 -3
- package/dist/cli-bundle/chunks/{chunk-BN62TO2S.js → chunk-IA5FKNII.js} +2 -2
- package/dist/cli-bundle/chunks/{chunk-JL7WZ4O2.js → chunk-IG3SWA4A.js} +33 -9
- package/dist/cli-bundle/chunks/chunk-IG3SWA4A.js.map +7 -0
- package/dist/cli-bundle/chunks/{chunk-W6HZ55JO.js → chunk-IJIICKVW.js} +2 -2
- package/dist/cli-bundle/chunks/{chunk-IGED7NH2.js → chunk-ILX33QXL.js} +668 -251
- package/dist/cli-bundle/chunks/chunk-ILX33QXL.js.map +7 -0
- package/dist/cli-bundle/chunks/{chunk-UGTVWL3E.js → chunk-INU6DKT5.js} +47 -41
- package/dist/cli-bundle/chunks/chunk-INU6DKT5.js.map +1 -0
- package/dist/cli-bundle/chunks/{chunk-UB2QYSTO.js → chunk-J5AOEGDC.js} +26 -18
- package/dist/cli-bundle/chunks/chunk-J5AOEGDC.js.map +1 -0
- package/dist/cli-bundle/chunks/{chunk-4DY4KPQI.js → chunk-J6364LFM.js} +1330 -937
- package/dist/cli-bundle/chunks/chunk-J6364LFM.js.map +7 -0
- package/dist/cli-bundle/chunks/{chunk-DVOLZJ3C.js → chunk-J6EY5V4N.js} +1295 -939
- package/dist/cli-bundle/chunks/chunk-J6EY5V4N.js.map +1 -0
- package/dist/cli-bundle/chunks/chunk-JFTKLTEF.js +1097 -0
- package/dist/cli-bundle/chunks/chunk-JFTKLTEF.js.map +1 -0
- package/dist/cli-bundle/chunks/{chunk-M7EWN4TF.js → chunk-JOUQZENX.js} +3 -3
- package/dist/cli-bundle/chunks/{chunk-J4NZOP3I.js → chunk-JXQUXVMI.js} +9 -8
- package/dist/cli-bundle/chunks/chunk-JXQUXVMI.js.map +1 -0
- package/dist/cli-bundle/chunks/{chunk-2FNWQXZ2.js → chunk-JYFOV7FC.js} +4 -4
- package/dist/cli-bundle/chunks/{chunk-HLHSQ5CA.js → chunk-K2X6U4UA.js} +4 -4
- package/dist/cli-bundle/chunks/{chunk-6OTZMORS.js → chunk-K3WII2ME.js} +27 -27
- package/dist/cli-bundle/chunks/chunk-K3WII2ME.js.map +7 -0
- package/dist/cli-bundle/chunks/{chunk-M6ASXYCU.js → chunk-KG44YSKD.js} +4 -4
- package/dist/cli-bundle/chunks/{chunk-YVKE5ZDM.js → chunk-KPMKHGEA.js} +4 -4
- package/dist/cli-bundle/chunks/{chunk-QASRVKUQ.js → chunk-LPYWLWDS.js} +257 -163
- package/dist/cli-bundle/chunks/chunk-LPYWLWDS.js.map +1 -0
- package/dist/cli-bundle/chunks/{chunk-RGXD5JJR.js → chunk-LSG2U345.js} +19 -12
- package/dist/cli-bundle/chunks/chunk-LSG2U345.js.map +7 -0
- package/dist/cli-bundle/chunks/chunk-MIQDDLB5.js +5 -0
- package/dist/cli-bundle/chunks/{chunk-UJ4HJYWL.js → chunk-NLDFBC6J.js} +2 -2
- package/dist/cli-bundle/chunks/{chunk-WRKB56FC.js → chunk-NP22ERDF.js} +3 -3
- package/dist/cli-bundle/chunks/{chunk-YQYG2V23.js → chunk-NU3IMIEA.js} +2 -2
- package/dist/cli-bundle/chunks/{chunk-3I3LRT2G.js → chunk-NVPZIJVR.js} +2 -2
- package/dist/cli-bundle/chunks/{chunk-JAF4TUQ7.js → chunk-ODALILG3.js} +2 -2
- package/dist/cli-bundle/chunks/{chunk-CDJYP7OQ.js → chunk-ONG5V5CI.js} +190 -63
- package/dist/cli-bundle/chunks/chunk-ONG5V5CI.js.map +1 -0
- package/dist/cli-bundle/chunks/{chunk-QZ7LT3XE.js → chunk-ONREO4ST.js} +3 -3
- package/dist/cli-bundle/chunks/chunk-OW4JWD5M.js +61 -0
- package/dist/cli-bundle/chunks/chunk-OW4JWD5M.js.map +1 -0
- package/dist/cli-bundle/chunks/{chunk-3CMRNVTO.js → chunk-P74IZQ7A.js} +12 -12
- package/dist/cli-bundle/chunks/chunk-PENXZX3U.js +172 -0
- package/dist/cli-bundle/chunks/chunk-PENXZX3U.js.map +7 -0
- package/dist/cli-bundle/chunks/{chunk-ZTRBSABY.js → chunk-PGY23YTC.js} +3 -3
- package/dist/cli-bundle/chunks/{chunk-H2QBAKLQ.js → chunk-PMOSXADO.js} +3 -3
- package/dist/cli-bundle/chunks/chunk-PNTULOGU.js +9 -0
- package/dist/cli-bundle/chunks/{chunk-GSEADLRH.js → chunk-Q7A43DS4.js} +2 -2
- package/dist/cli-bundle/chunks/{chunk-QSPARJWF.js → chunk-QEHQ2GVG.js} +2 -2
- package/dist/cli-bundle/chunks/{chunk-VJTAEIPC.js → chunk-QIPLHNP7.js} +7 -7
- package/dist/cli-bundle/chunks/{chunk-GXXC7QSK.js → chunk-QKECXBBG.js} +3 -3
- package/dist/cli-bundle/chunks/{chunk-GXXC7QSK.js.map → chunk-QKECXBBG.js.map} +1 -1
- package/dist/cli-bundle/chunks/{chunk-K7WNZ7KD.js → chunk-QKJGPFAF.js} +3 -3
- package/dist/cli-bundle/chunks/{chunk-F7PSHRNO.js → chunk-QKXHFPYM.js} +27 -10
- package/dist/cli-bundle/chunks/chunk-QKXHFPYM.js.map +1 -0
- package/dist/cli-bundle/chunks/{chunk-ZNP64HOW.js → chunk-RLCHOOHC.js} +2 -2
- package/dist/cli-bundle/chunks/{chunk-IAPHYPRL.js → chunk-RMLWNPH2.js} +2 -2
- package/dist/cli-bundle/chunks/{chunk-UVBA6F5A.js → chunk-RRM5JYJC.js} +2 -2
- package/dist/cli-bundle/chunks/{chunk-6IIVBC56.js → chunk-S6MQESFR.js} +4 -4
- package/dist/cli-bundle/chunks/{chunk-QABYZYLU.js → chunk-SDQLJWBO.js} +4 -4
- package/dist/cli-bundle/chunks/{chunk-ANSJHDOZ.js → chunk-SELVXEZK.js} +2 -2
- package/dist/cli-bundle/chunks/{chunk-DYEX6NFH.js → chunk-TD3LVC7D.js} +438 -23
- package/dist/cli-bundle/chunks/chunk-TD3LVC7D.js.map +7 -0
- package/dist/cli-bundle/chunks/{chunk-WD6MSYMP.js → chunk-TKOVBP6C.js} +2 -2
- package/dist/cli-bundle/chunks/{chunk-TZ2PSLLT.js → chunk-TQSZFPIS.js} +4 -4
- package/dist/cli-bundle/chunks/{chunk-WPAWZW7S.js → chunk-TSMHDIW4.js} +2 -2
- package/dist/cli-bundle/chunks/{chunk-TZRTLMWM.js → chunk-UFXU44HV.js} +4 -4
- package/dist/cli-bundle/chunks/{chunk-TWLDBKQU.js → chunk-ULTHRDBP.js} +3 -3
- package/dist/cli-bundle/chunks/{chunk-OI4S4KCI.js → chunk-UMOPHQSU.js} +9 -9
- package/dist/cli-bundle/chunks/{chunk-OI4S4KCI.js.map → chunk-UMOPHQSU.js.map} +2 -2
- package/dist/cli-bundle/chunks/{chunk-RA5AIAMP.js → chunk-UOHFKBUV.js} +3 -3
- package/dist/cli-bundle/chunks/{chunk-PHKP3AGR.js → chunk-UWQHLMEB.js} +35 -18
- package/dist/cli-bundle/chunks/chunk-UWQHLMEB.js.map +7 -0
- package/dist/cli-bundle/chunks/{chunk-6TTOHMTB.js → chunk-UXONS674.js} +45 -112
- package/dist/cli-bundle/chunks/chunk-UXONS674.js.map +1 -0
- package/dist/cli-bundle/chunks/{chunk-4RXTMU57.js → chunk-UY2ACEMF.js} +7 -7
- package/dist/cli-bundle/chunks/{chunk-6PKA3SJQ.js → chunk-WQPUU7XD.js} +19 -28
- package/dist/cli-bundle/chunks/chunk-WQPUU7XD.js.map +1 -0
- package/dist/cli-bundle/chunks/{chunk-7TQMR6LK.js → chunk-WT3ZEOGH.js} +70 -20
- package/dist/cli-bundle/chunks/chunk-WT3ZEOGH.js.map +7 -0
- package/dist/cli-bundle/chunks/{chunk-FIGXOCEQ.js → chunk-WUJQK4YV.js} +4 -4
- package/dist/cli-bundle/chunks/{chunk-T4BRCB6Z.js → chunk-XSJUSQAE.js} +2 -2
- package/dist/cli-bundle/chunks/{chunk-6MHSBDGD.js → chunk-XXXF6PAQ.js} +50 -117
- package/dist/cli-bundle/chunks/chunk-XXXF6PAQ.js.map +7 -0
- package/dist/cli-bundle/chunks/{chunk-UKUIIBDW.js → chunk-YAQEBNY7.js} +4 -4
- package/dist/cli-bundle/chunks/{chunk-7QDSYUMF.js → chunk-YAROI3PD.js} +44 -21
- package/dist/cli-bundle/chunks/chunk-YAROI3PD.js.map +1 -0
- package/dist/cli-bundle/chunks/{chunk-E2WC6S4P.js → chunk-YBLZ2VE7.js} +13 -13
- package/dist/cli-bundle/chunks/{chunk-Y72FV7RM.js → chunk-YCQET3OT.js} +2 -2
- package/dist/cli-bundle/chunks/chunk-YUSOJDWM.js +9 -0
- package/dist/cli-bundle/chunks/chunk-YXSHIAUJ.js +58 -0
- package/dist/cli-bundle/chunks/chunk-YXSHIAUJ.js.map +1 -0
- package/dist/cli-bundle/chunks/{chunk-FS6UM5WH.js → chunk-ZI6VQWQ7.js} +4 -4
- package/dist/cli-bundle/chunks/chunk-ZKRZY773.js +68 -0
- package/dist/cli-bundle/chunks/chunk-ZKRZY773.js.map +7 -0
- package/dist/cli-bundle/chunks/{close-LZECOMHO.js → close-CWODTPKG.js} +5 -5
- package/dist/cli-bundle/chunks/close-W6LI2PKM.js +12 -0
- package/dist/cli-bundle/chunks/{close-many-ZHI6A5TN.js → close-many-CQFUY7MR.js} +15 -13
- package/dist/cli-bundle/chunks/close-many-DLDDVSH5.js +23 -0
- package/dist/cli-bundle/chunks/comments-E3TNTK24.js +13 -0
- package/dist/cli-bundle/chunks/{comments-AJWRTFZ5.js → comments-WGLHR7LB.js} +7 -7
- package/dist/cli-bundle/chunks/{copy-GMXYKBXT.js → copy-LXVDXH7B.js} +4 -4
- package/dist/cli-bundle/chunks/copy-Q5ZJPUKR.js +9 -0
- package/dist/cli-bundle/chunks/{create-F53OBTOU.js → create-J5U6ND4K.js} +9 -9
- package/dist/cli-bundle/chunks/{create-HU4Q7RJX.js → create-LBVCYMEG.js} +9 -9
- package/dist/cli-bundle/chunks/{delete-GSDZLTRC.js → delete-PMJBNY5G.js} +4 -4
- package/dist/cli-bundle/chunks/delete-WNHB3LYW.js +10 -0
- package/dist/cli-bundle/chunks/{deps-WWB7P2GT.js → deps-JZ7TMVCB.js} +7 -4
- package/dist/cli-bundle/chunks/{deps-U57I7EAK.js → deps-OA26IS25.js} +7 -4
- package/dist/cli-bundle/chunks/{docs-MQIY2ZQS.js → docs-FEWB2DQB.js} +6 -6
- package/dist/cli-bundle/chunks/docs-HA2AIDBB.js +14 -0
- package/dist/cli-bundle/chunks/{files-TBZD7V6H.js → files-6YFBJRBG.js} +6 -6
- package/dist/cli-bundle/chunks/{files-TTY6N2AV.js → files-EFIWKFTM.js} +6 -6
- package/dist/cli-bundle/chunks/{focus-XT6YVFFX.js → focus-4QJR7FOQ.js} +5 -5
- package/dist/cli-bundle/chunks/focus-POIW5LTJ.js +10 -0
- package/dist/cli-bundle/chunks/{history-compact-KKVUWB4V.js → history-compact-CKRPDTJN.js} +6 -10
- package/dist/cli-bundle/chunks/history-compact-FWG2C7FZ.js +16 -0
- package/dist/cli-bundle/chunks/history-redact-BB3TGDAE.js +15 -0
- package/dist/cli-bundle/chunks/{history-redact-3DVZOILD.js → history-redact-D225BHOZ.js} +5 -6
- package/dist/cli-bundle/chunks/history-repair-6GEAM7HE.js +16 -0
- package/dist/cli-bundle/chunks/{history-repair-ITDUMK4N.js → history-repair-RQXKQHL4.js} +6 -8
- package/dist/cli-bundle/chunks/{learnings-FGO3NSFW.js → learnings-JLNLCOL5.js} +7 -7
- package/dist/cli-bundle/chunks/learnings-RSNLSWDC.js +13 -0
- package/dist/cli-bundle/chunks/notes-2WDH6DXU.js +13 -0
- package/dist/cli-bundle/chunks/{notes-NQ6RXVW6.js → notes-GB47XXQQ.js} +7 -7
- package/dist/cli-bundle/chunks/plan-DOVI2VMW.js +24 -0
- package/dist/cli-bundle/chunks/{plan-2NNEO46V.js → plan-VDCJ2PCN.js} +10 -10
- package/dist/cli-bundle/chunks/{profile-AAQUU6T3.js → profile-FAU7NZML.js} +10 -10
- package/dist/cli-bundle/chunks/{profile-U725ATWZ.js → profile-IVXQEL3D.js} +10 -10
- package/dist/cli-bundle/chunks/{register-list-query-BUWCYHBT.js → register-list-query-DKA3EH5D.js} +22 -19
- package/dist/cli-bundle/chunks/register-list-query-DKA3EH5D.js.map +7 -0
- package/dist/cli-bundle/chunks/{register-list-query-KTZ6AGE7.js → register-list-query-UL4UKBBN.js} +23 -20
- package/dist/cli-bundle/chunks/register-list-query-UL4UKBBN.js.map +1 -0
- package/dist/cli-bundle/chunks/{register-mutation-UELYYOR7.js → register-mutation-ARFHRW55.js} +36 -32
- package/dist/cli-bundle/chunks/{register-mutation-UELYYOR7.js.map → register-mutation-ARFHRW55.js.map} +2 -2
- package/dist/cli-bundle/chunks/{register-mutation-4FMGJJF7.js → register-mutation-RBBJ52DK.js} +37 -33
- package/dist/cli-bundle/chunks/register-mutation-RBBJ52DK.js.map +1 -0
- package/dist/cli-bundle/chunks/{register-operations-JVW24J2Y.js → register-operations-ZIBBRSED.js} +41 -39
- package/dist/cli-bundle/chunks/{register-operations-JVW24J2Y.js.map → register-operations-ZIBBRSED.js.map} +1 -1
- package/dist/cli-bundle/chunks/{register-operations-ISUX6LY5.js → register-operations-ZUJ5JWPE.js} +39 -37
- package/dist/cli-bundle/chunks/{register-operations-ISUX6LY5.js.map → register-operations-ZUJ5JWPE.js.map} +1 -1
- package/dist/cli-bundle/chunks/{register-setup-5XNGKJ22.js → register-setup-BCVLFEYS.js} +29 -17
- package/dist/cli-bundle/chunks/{register-setup-5XNGKJ22.js.map → register-setup-BCVLFEYS.js.map} +2 -2
- package/dist/cli-bundle/chunks/{register-setup-ZTNY6S7R.js → register-setup-TDCGWIOS.js} +19 -18
- package/dist/cli-bundle/chunks/{register-setup-ZTNY6S7R.js.map → register-setup-TDCGWIOS.js.map} +1 -1
- package/dist/cli-bundle/chunks/{restore-B3BAB6X2.js → restore-25DLT2Q2.js} +6 -6
- package/dist/cli-bundle/chunks/restore-YPMVUUEX.js +14 -0
- package/dist/cli-bundle/chunks/{schema-U7IM2DXV.js → schema-FNU3WE4O.js} +7 -6
- package/dist/cli-bundle/chunks/{schema-LZNUYHDB.js → schema-NBCM3RAD.js} +7 -6
- package/dist/cli-bundle/chunks/update-WWBYOPXO.js +21 -0
- package/dist/cli-bundle/chunks/update-WWBYOPXO.js.map +7 -0
- package/dist/cli-bundle/chunks/{update-Q3UCILNR.js → update-XHSIAIXE.js} +12 -12
- package/dist/cli-bundle/chunks/update-XHSIAIXE.js.map +1 -0
- package/dist/cli-bundle/chunks/update-many-OUGIU5SF.js +32 -0
- package/dist/cli-bundle/chunks/update-many-OUGIU5SF.js.map +7 -0
- package/dist/cli-bundle/chunks/update-many-TA7NGQBO.js +36 -0
- package/dist/cli-bundle/chunks/update-many-TA7NGQBO.js.map +1 -0
- package/dist/cli-bundle/main.js +826 -43
- package/dist/cli-bundle/main.js.map +4 -4
- package/dist/cli-bundle/sdk-runtime.js +70 -57
- package/dist/cli-bundle/sdk-testing.js +6 -6
- package/dist/cli-bundle/sdk.js +876 -74
- package/dist/cli-bundle/sdk.js.map +4 -4
- package/dist/cli.js +5 -4
- package/dist/cli.js.map +1 -1
- package/dist/core/diagnostics/remediation.js +12 -2
- package/dist/core/diagnostics/remediation.js.map +1 -1
- package/dist/core/history/projection.d.ts +39 -0
- package/dist/core/history/projection.js +164 -0
- package/dist/core/history/projection.js.map +1 -0
- package/dist/core/history/read.d.ts +3 -0
- package/dist/core/history/read.js +55 -0
- package/dist/core/history/read.js.map +1 -0
- package/dist/core/output/output-control.d.ts +18 -0
- package/dist/core/output/output-control.js +26 -0
- package/dist/core/output/output-control.js.map +1 -0
- package/dist/core/output/output.js +20 -8
- package/dist/core/output/output.js.map +1 -1
- package/dist/core/sentry/helpers.js +10 -2
- package/dist/core/sentry/helpers.js.map +1 -1
- package/dist/core/shared/command-types.d.ts +2 -0
- package/dist/core/shared/command-types.js +2 -2
- package/dist/core/shared/command-types.js.map +1 -1
- package/dist/core/shared/errors.d.ts +11 -0
- package/dist/core/shared/errors.js +2 -2
- package/dist/core/shared/errors.js.map +1 -1
- package/dist/mcp/server.d.ts +2 -2
- package/dist/mcp/tool-definitions.js +5 -5
- package/dist/mcp/tool-definitions.js.map +1 -1
- package/dist/sdk/author-attribution.d.ts +35 -0
- package/dist/sdk/author-attribution.js +118 -0
- package/dist/sdk/author-attribution.js.map +1 -0
- package/dist/sdk/cli-contracts/command-aliases.d.ts +7 -0
- package/dist/sdk/cli-contracts/command-aliases.js +17 -0
- package/dist/sdk/cli-contracts/command-aliases.js.map +1 -0
- package/dist/sdk/cli-contracts/flag-contracts.js +5 -2
- package/dist/sdk/cli-contracts/flag-contracts.js.map +1 -1
- package/dist/sdk/cli-contracts/tool-option-contracts.js +6 -2
- package/dist/sdk/cli-contracts/tool-option-contracts.js.map +1 -1
- package/dist/sdk/cli-contracts/tool-parameter-tables.js +21 -2
- package/dist/sdk/cli-contracts/tool-parameter-tables.js.map +1 -1
- package/dist/sdk/cli-contracts/tool-schema.js +3 -3
- package/dist/sdk/cli-contracts/tool-schema.js.map +1 -1
- package/dist/sdk/cli-contracts.d.ts +1 -0
- package/dist/sdk/cli-contracts.js +3 -2
- package/dist/sdk/cli-contracts.js.map +1 -1
- package/dist/sdk/cli-program.d.ts +8 -0
- package/dist/sdk/cli-program.js +39 -0
- package/dist/sdk/cli-program.js.map +1 -0
- package/dist/sdk/command-line.d.ts +11 -0
- package/dist/sdk/command-line.js +40 -0
- package/dist/sdk/command-line.js.map +1 -0
- package/dist/sdk/config.d.ts +163 -0
- package/dist/sdk/config.js +1087 -0
- package/dist/sdk/config.js.map +1 -0
- package/dist/sdk/context-relevance.d.ts +21 -0
- package/dist/sdk/context-relevance.js +70 -2
- package/dist/sdk/context-relevance.js.map +1 -1
- package/dist/sdk/dependencies.d.ts +15 -2
- package/dist/sdk/dependencies.js +97 -8
- package/dist/sdk/dependencies.js.map +1 -1
- package/dist/{cli/commands → sdk}/extension/bundled-catalog.d.ts +1 -1
- package/dist/{cli/commands → sdk}/extension/bundled-catalog.js +12 -12
- package/dist/sdk/extension/bundled-catalog.js.map +1 -0
- package/dist/sdk/extension/concurrency.d.ts +7 -0
- package/dist/sdk/extension/concurrency.js +26 -0
- package/dist/sdk/extension/concurrency.js.map +1 -0
- package/dist/sdk/extension/describe.d.ts +91 -0
- package/dist/sdk/extension/describe.js +144 -0
- package/dist/sdk/extension/describe.js.map +1 -0
- package/dist/{cli/commands → sdk}/extension/doctor.d.ts +3 -3
- package/dist/{cli/commands → sdk}/extension/doctor.js +7 -7
- package/dist/sdk/extension/doctor.js.map +1 -0
- package/dist/sdk/extension/install-runtime.d.ts +26 -0
- package/dist/sdk/extension/install-runtime.js +269 -0
- package/dist/sdk/extension/install-runtime.js.map +1 -0
- package/dist/sdk/extension/install-snapshot.d.ts +23 -0
- package/dist/sdk/extension/install-snapshot.js +66 -0
- package/dist/sdk/extension/install-snapshot.js.map +1 -0
- package/dist/{cli/commands → sdk}/extension/install-sources.d.ts +3 -3
- package/dist/{cli/commands → sdk}/extension/install-sources.js +15 -12
- package/dist/sdk/extension/install-sources.js.map +1 -0
- package/dist/{cli/commands → sdk}/extension/managed-state.js +6 -6
- package/dist/sdk/extension/managed-state.js.map +1 -0
- package/dist/sdk/extension/scaffold.d.ts +36 -0
- package/dist/sdk/extension/scaffold.js +2436 -0
- package/dist/sdk/extension/scaffold.js.map +1 -0
- package/dist/sdk/extension/shared.d.ts +28 -0
- package/dist/sdk/extension/shared.js +140 -0
- package/dist/sdk/extension/shared.js.map +1 -0
- package/dist/sdk/extension/update-check.d.ts +15 -0
- package/dist/sdk/extension/update-check.js +68 -0
- package/dist/sdk/extension/update-check.js.map +1 -0
- package/dist/sdk/extension.d.ts +367 -0
- package/dist/sdk/extension.js +2174 -0
- package/dist/sdk/extension.js.map +1 -0
- package/dist/sdk/governance/gc.d.ts +56 -0
- package/dist/sdk/governance/gc.js +276 -0
- package/dist/sdk/governance/gc.js.map +1 -0
- package/dist/sdk/governance/health.d.ts +187 -0
- package/dist/sdk/governance/health.js +1796 -0
- package/dist/sdk/governance/health.js.map +1 -0
- package/dist/sdk/governance/validate.d.ts +255 -0
- package/dist/sdk/governance/validate.js +2175 -0
- package/dist/sdk/governance/validate.js.map +1 -0
- package/dist/sdk/history-compact.d.ts +142 -0
- package/dist/sdk/history-compact.js +508 -0
- package/dist/sdk/history-compact.js.map +1 -0
- package/dist/sdk/history-mcp.d.ts +17 -0
- package/dist/sdk/history-mcp.js +68 -0
- package/dist/sdk/history-mcp.js.map +1 -0
- package/dist/sdk/history-read.d.ts +31 -0
- package/dist/sdk/history-read.js +58 -0
- package/dist/sdk/history-read.js.map +1 -0
- package/dist/sdk/history-redact.d.ts +120 -0
- package/dist/sdk/history-redact.js +577 -0
- package/dist/sdk/history-redact.js.map +1 -0
- package/dist/sdk/history-repair.d.ts +89 -0
- package/dist/sdk/history-repair.js +263 -0
- package/dist/sdk/history-repair.js.map +1 -0
- package/dist/sdk/index.d.ts +25 -1
- package/dist/sdk/index.js +27 -3
- package/dist/sdk/index.js.map +1 -1
- package/dist/sdk/init-agent-guidance.d.ts +113 -0
- package/dist/sdk/init-agent-guidance.js +437 -0
- package/dist/sdk/init-agent-guidance.js.map +1 -0
- package/dist/sdk/init.d.ts +186 -0
- package/dist/sdk/init.js +733 -0
- package/dist/sdk/init.js.map +1 -0
- package/dist/sdk/invocation-author.d.ts +2 -0
- package/dist/sdk/invocation-author.js +39 -0
- package/dist/sdk/invocation-author.js.map +1 -0
- package/dist/sdk/item-children.d.ts +45 -0
- package/dist/sdk/item-children.js +75 -0
- package/dist/sdk/item-children.js.map +1 -0
- package/dist/sdk/item-schedule.d.ts +26 -0
- package/dist/sdk/item-schedule.js +28 -0
- package/dist/sdk/item-schedule.js.map +1 -0
- package/dist/sdk/output.d.ts +7 -0
- package/dist/sdk/output.js +11 -0
- package/dist/sdk/output.js.map +1 -0
- package/dist/sdk/pagination.d.ts +4 -1
- package/dist/sdk/pagination.js +13 -5
- package/dist/sdk/pagination.js.map +1 -1
- package/dist/sdk/profile.d.ts +176 -0
- package/dist/sdk/profile.js +431 -0
- package/dist/sdk/profile.js.map +1 -0
- package/dist/sdk/relationship-analytics.d.ts +108 -0
- package/dist/sdk/relationship-analytics.js +292 -0
- package/dist/sdk/relationship-analytics.js.map +1 -0
- package/dist/sdk/relationship-context.d.ts +67 -0
- package/dist/sdk/relationship-context.js +207 -0
- package/dist/sdk/relationship-context.js.map +1 -0
- package/dist/sdk/relationship-history.d.ts +109 -0
- package/dist/sdk/relationship-history.js +401 -0
- package/dist/sdk/relationship-history.js.map +1 -0
- package/dist/sdk/relationships.d.ts +145 -0
- package/dist/sdk/relationships.js +551 -0
- package/dist/sdk/relationships.js.map +1 -0
- package/dist/sdk/runtime-input.d.ts +10 -0
- package/dist/sdk/runtime-input.js +60 -0
- package/dist/sdk/runtime-input.js.map +1 -0
- package/dist/sdk/runtime.d.ts +31 -8
- package/dist/sdk/runtime.js +61 -57
- package/dist/sdk/runtime.js.map +1 -1
- package/dist/sdk/schema.d.ts +507 -0
- package/dist/sdk/schema.js +1269 -0
- package/dist/sdk/schema.js.map +1 -0
- package/dist/{cli/commands → sdk}/templates.d.ts +1 -1
- package/dist/{cli/commands → sdk}/templates.js +9 -9
- package/dist/sdk/templates.js.map +1 -0
- package/dist/{cli/commands → sdk}/test/linked-command-detection.d.ts +10 -2
- package/dist/sdk/test/linked-command-detection.js +525 -0
- package/dist/sdk/test/linked-command-detection.js.map +1 -0
- package/docs/COMMANDS.md +58 -40
- package/docs/EXTENSIONS.md +10 -1
- package/docs/RELATIONSHIP_GRAPH.md +113 -0
- package/docs/RELEASING.md +2 -0
- package/docs/SDK.md +156 -9
- package/docs/SDK_CUSTOMIZATION_PRIMITIVES.md +79 -0
- package/marketplace.json +2 -2
- package/package.json +3 -2
- package/packages/pm-beads/package.json +1 -1
- package/packages/pm-calendar/package.json +1 -1
- package/packages/pm-command-kit/package.json +1 -1
- package/packages/pm-governance-audit/extensions/governance-audit/runtime-utils.ts +76 -16
- package/packages/pm-governance-audit/extensions/governance-audit/sdk.ts +8 -0
- package/packages/pm-governance-audit/package.json +1 -1
- package/packages/pm-guide-shell/package.json +1 -1
- package/packages/pm-kanban/package.json +1 -1
- package/packages/pm-lifecycle-hooks/package.json +1 -1
- package/packages/pm-linked-test-adapters/package.json +1 -1
- package/packages/pm-search-advanced/package.json +1 -1
- package/packages/pm-templates/package.json +1 -1
- package/packages/pm-todos/package.json +1 -1
- package/plugins/pm-claude/.claude-plugin/plugin.json +1 -1
- package/plugins/pm-codex/.codex-plugin/plugin.json +1 -1
- package/scripts/bundle-cli.mjs +66 -23
- package/dist/cli/commands/extension/bundled-catalog.js.map +0 -1
- package/dist/cli/commands/extension/doctor.js.map +0 -1
- package/dist/cli/commands/extension/install-sources.js.map +0 -1
- package/dist/cli/commands/extension/managed-state.js.map +0 -1
- package/dist/cli/commands/templates.js.map +0 -1
- package/dist/cli/commands/test/linked-command-detection.js +0 -248
- package/dist/cli/commands/test/linked-command-detection.js.map +0 -1
- package/dist/cli-bundle/chunks/append-DYQWQK2J.js +0 -11
- package/dist/cli-bundle/chunks/chunk-2GA3NK35.js +0 -530
- package/dist/cli-bundle/chunks/chunk-2GA3NK35.js.map +0 -1
- package/dist/cli-bundle/chunks/chunk-2QIQGYPW.js.map +0 -7
- package/dist/cli-bundle/chunks/chunk-4DY4KPQI.js.map +0 -7
- package/dist/cli-bundle/chunks/chunk-4WREH7RT.js +0 -554
- package/dist/cli-bundle/chunks/chunk-4WREH7RT.js.map +0 -7
- package/dist/cli-bundle/chunks/chunk-5CT5BW6E.js.map +0 -7
- package/dist/cli-bundle/chunks/chunk-5URI7TPJ.js.map +0 -7
- package/dist/cli-bundle/chunks/chunk-6MHSBDGD.js.map +0 -7
- package/dist/cli-bundle/chunks/chunk-6OTZMORS.js.map +0 -7
- package/dist/cli-bundle/chunks/chunk-6PKA3SJQ.js.map +0 -1
- package/dist/cli-bundle/chunks/chunk-6TTOHMTB.js.map +0 -1
- package/dist/cli-bundle/chunks/chunk-7QDSYUMF.js.map +0 -1
- package/dist/cli-bundle/chunks/chunk-7TQMR6LK.js.map +0 -7
- package/dist/cli-bundle/chunks/chunk-B5DZYTT3.js +0 -312
- package/dist/cli-bundle/chunks/chunk-B5DZYTT3.js.map +0 -7
- package/dist/cli-bundle/chunks/chunk-BPD26E3P.js.map +0 -1
- package/dist/cli-bundle/chunks/chunk-CDJYP7OQ.js.map +0 -1
- package/dist/cli-bundle/chunks/chunk-DBZVUJTK.js +0 -858
- package/dist/cli-bundle/chunks/chunk-DBZVUJTK.js.map +0 -1
- package/dist/cli-bundle/chunks/chunk-DVOLZJ3C.js.map +0 -1
- package/dist/cli-bundle/chunks/chunk-DYEX6NFH.js.map +0 -7
- package/dist/cli-bundle/chunks/chunk-F7PSHRNO.js.map +0 -1
- package/dist/cli-bundle/chunks/chunk-FO7GMJKG.js +0 -875
- package/dist/cli-bundle/chunks/chunk-FO7GMJKG.js.map +0 -7
- package/dist/cli-bundle/chunks/chunk-FTQLW4JD.js.map +0 -1
- package/dist/cli-bundle/chunks/chunk-IA3YFTXT.js.map +0 -1
- package/dist/cli-bundle/chunks/chunk-IGED7NH2.js.map +0 -7
- package/dist/cli-bundle/chunks/chunk-J4NZOP3I.js.map +0 -1
- package/dist/cli-bundle/chunks/chunk-JL7WZ4O2.js.map +0 -7
- package/dist/cli-bundle/chunks/chunk-L24HCJFC.js +0 -309
- package/dist/cli-bundle/chunks/chunk-L24HCJFC.js.map +0 -1
- package/dist/cli-bundle/chunks/chunk-LWTIRS3Y.js.map +0 -7
- package/dist/cli-bundle/chunks/chunk-MKL4CP2I.js.map +0 -1
- package/dist/cli-bundle/chunks/chunk-N3CMP4NI.js.map +0 -1
- package/dist/cli-bundle/chunks/chunk-PHKP3AGR.js.map +0 -7
- package/dist/cli-bundle/chunks/chunk-Q37E63AM.js.map +0 -7
- package/dist/cli-bundle/chunks/chunk-QASRVKUQ.js.map +0 -1
- package/dist/cli-bundle/chunks/chunk-RGXD5JJR.js.map +0 -7
- package/dist/cli-bundle/chunks/chunk-UB2QYSTO.js.map +0 -1
- package/dist/cli-bundle/chunks/chunk-UGTVWL3E.js.map +0 -1
- package/dist/cli-bundle/chunks/chunk-ZAYYDNB3.js.map +0 -1
- package/dist/cli-bundle/chunks/chunk-ZUKSZVBW.js.map +0 -7
- package/dist/cli-bundle/chunks/close-RI4JQQHU.js +0 -12
- package/dist/cli-bundle/chunks/close-many-LY2XJ52M.js +0 -21
- package/dist/cli-bundle/chunks/comments-35M273DN.js +0 -13
- package/dist/cli-bundle/chunks/copy-NPYM7M7U.js +0 -9
- package/dist/cli-bundle/chunks/delete-ODRWJWAM.js +0 -10
- package/dist/cli-bundle/chunks/docs-G7N4E2JO.js +0 -14
- package/dist/cli-bundle/chunks/focus-U5TRVCRS.js +0 -10
- package/dist/cli-bundle/chunks/history-compact-M7GHYVFN.js +0 -20
- package/dist/cli-bundle/chunks/history-redact-JIHZLHDP.js +0 -16
- package/dist/cli-bundle/chunks/history-repair-NAFCHLH7.js +0 -18
- package/dist/cli-bundle/chunks/learnings-SONGPSHI.js +0 -13
- package/dist/cli-bundle/chunks/notes-BSD53H2W.js +0 -13
- package/dist/cli-bundle/chunks/plan-AWLYGBNV.js +0 -24
- package/dist/cli-bundle/chunks/register-list-query-BUWCYHBT.js.map +0 -7
- package/dist/cli-bundle/chunks/register-list-query-KTZ6AGE7.js.map +0 -1
- package/dist/cli-bundle/chunks/register-mutation-4FMGJJF7.js.map +0 -1
- package/dist/cli-bundle/chunks/restore-66GLMHIX.js +0 -14
- package/dist/cli-bundle/chunks/update-2XGHIVQ2.js +0 -21
- package/dist/cli-bundle/chunks/update-many-75K57FS3.js +0 -34
- package/dist/cli-bundle/chunks/update-many-U42YA445.js +0 -30
- /package/dist/cli-bundle/chunks/{append-PVZJDM6J.js.map → append-OJQFUQ4T.js.map} +0 -0
- /package/dist/cli-bundle/chunks/{append-DYQWQK2J.js.map → append-UZVHUO74.js.map} +0 -0
- /package/dist/cli-bundle/chunks/{chunk-MQZ3PLCF.js.map → chunk-2IFFUZLC.js.map} +0 -0
- /package/dist/cli-bundle/chunks/{chunk-P6MYFH6K.js.map → chunk-2JKGO6QX.js.map} +0 -0
- /package/dist/cli-bundle/chunks/{chunk-X3GYR4P2.js.map → chunk-2NCIPMQP.js.map} +0 -0
- /package/dist/cli-bundle/chunks/{chunk-Q7E6OYZK.js.map → chunk-2VPAVL7O.js.map} +0 -0
- /package/dist/cli-bundle/chunks/{chunk-DRNJPEPQ.js.map → chunk-2WSE6PO2.js.map} +0 -0
- /package/dist/cli-bundle/chunks/{chunk-FDSBDNYE.js.map → chunk-34L5OT3Y.js.map} +0 -0
- /package/dist/cli-bundle/chunks/{chunk-TH7U4KLY.js.map → chunk-3AUGG2DP.js.map} +0 -0
- /package/dist/cli-bundle/chunks/{chunk-NKW36AMT.js.map → chunk-3CLU2XZO.js.map} +0 -0
- /package/dist/cli-bundle/chunks/{chunk-ABRCOSDC.js.map → chunk-3WM75PWC.js.map} +0 -0
- /package/dist/cli-bundle/chunks/{chunk-X6BVXQ52.js.map → chunk-5JLUII3O.js.map} +0 -0
- /package/dist/cli-bundle/chunks/{chunk-3TL7WOEF.js.map → chunk-6N2VXVTQ.js.map} +0 -0
- /package/dist/cli-bundle/chunks/{chunk-ERL2YFJ2.js.map → chunk-6S3YSUYG.js.map} +0 -0
- /package/dist/cli-bundle/chunks/{chunk-IFZA4VB5.js.map → chunk-AHVTB5I5.js.map} +0 -0
- /package/dist/cli-bundle/chunks/{chunk-DO5RGJXT.js.map → chunk-APRVSW2O.js.map} +0 -0
- /package/dist/cli-bundle/chunks/{chunk-NAQYVWSQ.js.map → chunk-B7PE22W6.js.map} +0 -0
- /package/dist/cli-bundle/chunks/{chunk-MD6ULIPJ.js.map → chunk-BCOFWYW4.js.map} +0 -0
- /package/dist/cli-bundle/chunks/{chunk-KADLSPIU.js.map → chunk-BEP7WJA2.js.map} +0 -0
- /package/dist/cli-bundle/chunks/{chunk-OBDLEQG5.js.map → chunk-CRVF2JDM.js.map} +0 -0
- /package/dist/cli-bundle/chunks/{chunk-FJZDA6MS.js.map → chunk-DM4H7FP4.js.map} +0 -0
- /package/dist/cli-bundle/chunks/{close-LZECOMHO.js.map → chunk-DUT67M43.js.map} +0 -0
- /package/dist/cli-bundle/chunks/{chunk-44LNIULG.js.map → chunk-DYH63FX7.js.map} +0 -0
- /package/dist/cli-bundle/chunks/{chunk-HAMLIWAF.js.map → chunk-EAB64KLB.js.map} +0 -0
- /package/dist/cli-bundle/chunks/{chunk-CIOZ376P.js.map → chunk-EACOH7AU.js.map} +0 -0
- /package/dist/cli-bundle/chunks/{chunk-QK2ZN6UL.js.map → chunk-EJEXHTY5.js.map} +0 -0
- /package/dist/cli-bundle/chunks/{chunk-WQUEHPZB.js.map → chunk-EYLCSJAI.js.map} +0 -0
- /package/dist/cli-bundle/chunks/{chunk-655STMGA.js.map → chunk-FMBNM2EN.js.map} +0 -0
- /package/dist/cli-bundle/chunks/{chunk-RMF3IOYQ.js.map → chunk-FNSPG7MU.js.map} +0 -0
- /package/dist/cli-bundle/chunks/{chunk-KB726FMH.js.map → chunk-H2Z3FYXQ.js.map} +0 -0
- /package/dist/cli-bundle/chunks/{chunk-BN62TO2S.js.map → chunk-IA5FKNII.js.map} +0 -0
- /package/dist/cli-bundle/chunks/{chunk-W6HZ55JO.js.map → chunk-IJIICKVW.js.map} +0 -0
- /package/dist/cli-bundle/chunks/{chunk-M7EWN4TF.js.map → chunk-JOUQZENX.js.map} +0 -0
- /package/dist/cli-bundle/chunks/{chunk-2FNWQXZ2.js.map → chunk-JYFOV7FC.js.map} +0 -0
- /package/dist/cli-bundle/chunks/{chunk-HLHSQ5CA.js.map → chunk-K2X6U4UA.js.map} +0 -0
- /package/dist/cli-bundle/chunks/{chunk-M6ASXYCU.js.map → chunk-KG44YSKD.js.map} +0 -0
- /package/dist/cli-bundle/chunks/{chunk-YVKE5ZDM.js.map → chunk-KPMKHGEA.js.map} +0 -0
- /package/dist/cli-bundle/chunks/{close-many-ZHI6A5TN.js.map → chunk-MIQDDLB5.js.map} +0 -0
- /package/dist/cli-bundle/chunks/{chunk-UJ4HJYWL.js.map → chunk-NLDFBC6J.js.map} +0 -0
- /package/dist/cli-bundle/chunks/{chunk-WRKB56FC.js.map → chunk-NP22ERDF.js.map} +0 -0
- /package/dist/cli-bundle/chunks/{chunk-YQYG2V23.js.map → chunk-NU3IMIEA.js.map} +0 -0
- /package/dist/cli-bundle/chunks/{chunk-3I3LRT2G.js.map → chunk-NVPZIJVR.js.map} +0 -0
- /package/dist/cli-bundle/chunks/{chunk-JAF4TUQ7.js.map → chunk-ODALILG3.js.map} +0 -0
- /package/dist/cli-bundle/chunks/{chunk-QZ7LT3XE.js.map → chunk-ONREO4ST.js.map} +0 -0
- /package/dist/cli-bundle/chunks/{chunk-3CMRNVTO.js.map → chunk-P74IZQ7A.js.map} +0 -0
- /package/dist/cli-bundle/chunks/{chunk-ZTRBSABY.js.map → chunk-PGY23YTC.js.map} +0 -0
- /package/dist/cli-bundle/chunks/{chunk-H2QBAKLQ.js.map → chunk-PMOSXADO.js.map} +0 -0
- /package/dist/cli-bundle/chunks/{close-RI4JQQHU.js.map → chunk-PNTULOGU.js.map} +0 -0
- /package/dist/cli-bundle/chunks/{chunk-GSEADLRH.js.map → chunk-Q7A43DS4.js.map} +0 -0
- /package/dist/cli-bundle/chunks/{chunk-QSPARJWF.js.map → chunk-QEHQ2GVG.js.map} +0 -0
- /package/dist/cli-bundle/chunks/{chunk-VJTAEIPC.js.map → chunk-QIPLHNP7.js.map} +0 -0
- /package/dist/cli-bundle/chunks/{chunk-K7WNZ7KD.js.map → chunk-QKJGPFAF.js.map} +0 -0
- /package/dist/cli-bundle/chunks/{chunk-ZNP64HOW.js.map → chunk-RLCHOOHC.js.map} +0 -0
- /package/dist/cli-bundle/chunks/{chunk-IAPHYPRL.js.map → chunk-RMLWNPH2.js.map} +0 -0
- /package/dist/cli-bundle/chunks/{chunk-UVBA6F5A.js.map → chunk-RRM5JYJC.js.map} +0 -0
- /package/dist/cli-bundle/chunks/{chunk-6IIVBC56.js.map → chunk-S6MQESFR.js.map} +0 -0
- /package/dist/cli-bundle/chunks/{chunk-QABYZYLU.js.map → chunk-SDQLJWBO.js.map} +0 -0
- /package/dist/cli-bundle/chunks/{chunk-ANSJHDOZ.js.map → chunk-SELVXEZK.js.map} +0 -0
- /package/dist/cli-bundle/chunks/{chunk-WD6MSYMP.js.map → chunk-TKOVBP6C.js.map} +0 -0
- /package/dist/cli-bundle/chunks/{chunk-TZ2PSLLT.js.map → chunk-TQSZFPIS.js.map} +0 -0
- /package/dist/cli-bundle/chunks/{chunk-WPAWZW7S.js.map → chunk-TSMHDIW4.js.map} +0 -0
- /package/dist/cli-bundle/chunks/{chunk-TZRTLMWM.js.map → chunk-UFXU44HV.js.map} +0 -0
- /package/dist/cli-bundle/chunks/{chunk-TWLDBKQU.js.map → chunk-ULTHRDBP.js.map} +0 -0
- /package/dist/cli-bundle/chunks/{chunk-RA5AIAMP.js.map → chunk-UOHFKBUV.js.map} +0 -0
- /package/dist/cli-bundle/chunks/{chunk-4RXTMU57.js.map → chunk-UY2ACEMF.js.map} +0 -0
- /package/dist/cli-bundle/chunks/{chunk-FIGXOCEQ.js.map → chunk-WUJQK4YV.js.map} +0 -0
- /package/dist/cli-bundle/chunks/{chunk-T4BRCB6Z.js.map → chunk-XSJUSQAE.js.map} +0 -0
- /package/dist/cli-bundle/chunks/{chunk-UKUIIBDW.js.map → chunk-YAQEBNY7.js.map} +0 -0
- /package/dist/cli-bundle/chunks/{chunk-E2WC6S4P.js.map → chunk-YBLZ2VE7.js.map} +0 -0
- /package/dist/cli-bundle/chunks/{chunk-Y72FV7RM.js.map → chunk-YCQET3OT.js.map} +0 -0
- /package/dist/cli-bundle/chunks/{close-many-LY2XJ52M.js.map → chunk-YUSOJDWM.js.map} +0 -0
- /package/dist/cli-bundle/chunks/{chunk-FS6UM5WH.js.map → chunk-ZI6VQWQ7.js.map} +0 -0
- /package/dist/cli-bundle/chunks/{comments-AJWRTFZ5.js.map → close-CWODTPKG.js.map} +0 -0
- /package/dist/cli-bundle/chunks/{comments-35M273DN.js.map → close-W6LI2PKM.js.map} +0 -0
- /package/dist/cli-bundle/chunks/{copy-GMXYKBXT.js.map → close-many-CQFUY7MR.js.map} +0 -0
- /package/dist/cli-bundle/chunks/{copy-NPYM7M7U.js.map → close-many-DLDDVSH5.js.map} +0 -0
- /package/dist/cli-bundle/chunks/{create-F53OBTOU.js.map → comments-E3TNTK24.js.map} +0 -0
- /package/dist/cli-bundle/chunks/{create-HU4Q7RJX.js.map → comments-WGLHR7LB.js.map} +0 -0
- /package/dist/cli-bundle/chunks/{delete-GSDZLTRC.js.map → copy-LXVDXH7B.js.map} +0 -0
- /package/dist/cli-bundle/chunks/{delete-ODRWJWAM.js.map → copy-Q5ZJPUKR.js.map} +0 -0
- /package/dist/cli-bundle/chunks/{deps-U57I7EAK.js.map → create-J5U6ND4K.js.map} +0 -0
- /package/dist/cli-bundle/chunks/{deps-WWB7P2GT.js.map → create-LBVCYMEG.js.map} +0 -0
- /package/dist/cli-bundle/chunks/{docs-MQIY2ZQS.js.map → delete-PMJBNY5G.js.map} +0 -0
- /package/dist/cli-bundle/chunks/{docs-G7N4E2JO.js.map → delete-WNHB3LYW.js.map} +0 -0
- /package/dist/cli-bundle/chunks/{files-TTY6N2AV.js.map → deps-JZ7TMVCB.js.map} +0 -0
- /package/dist/cli-bundle/chunks/{files-TBZD7V6H.js.map → deps-OA26IS25.js.map} +0 -0
- /package/dist/cli-bundle/chunks/{focus-XT6YVFFX.js.map → docs-FEWB2DQB.js.map} +0 -0
- /package/dist/cli-bundle/chunks/{focus-U5TRVCRS.js.map → docs-HA2AIDBB.js.map} +0 -0
- /package/dist/cli-bundle/chunks/{history-compact-M7GHYVFN.js.map → files-6YFBJRBG.js.map} +0 -0
- /package/dist/cli-bundle/chunks/{history-compact-KKVUWB4V.js.map → files-EFIWKFTM.js.map} +0 -0
- /package/dist/cli-bundle/chunks/{history-redact-3DVZOILD.js.map → focus-4QJR7FOQ.js.map} +0 -0
- /package/dist/cli-bundle/chunks/{history-redact-JIHZLHDP.js.map → focus-POIW5LTJ.js.map} +0 -0
- /package/dist/cli-bundle/chunks/{history-repair-ITDUMK4N.js.map → history-compact-CKRPDTJN.js.map} +0 -0
- /package/dist/cli-bundle/chunks/{history-repair-NAFCHLH7.js.map → history-compact-FWG2C7FZ.js.map} +0 -0
- /package/dist/cli-bundle/chunks/{learnings-SONGPSHI.js.map → history-redact-BB3TGDAE.js.map} +0 -0
- /package/dist/cli-bundle/chunks/{learnings-FGO3NSFW.js.map → history-redact-D225BHOZ.js.map} +0 -0
- /package/dist/cli-bundle/chunks/{notes-BSD53H2W.js.map → history-repair-6GEAM7HE.js.map} +0 -0
- /package/dist/cli-bundle/chunks/{notes-NQ6RXVW6.js.map → history-repair-RQXKQHL4.js.map} +0 -0
- /package/dist/cli-bundle/chunks/{plan-2NNEO46V.js.map → learnings-JLNLCOL5.js.map} +0 -0
- /package/dist/cli-bundle/chunks/{plan-AWLYGBNV.js.map → learnings-RSNLSWDC.js.map} +0 -0
- /package/dist/cli-bundle/chunks/{profile-U725ATWZ.js.map → notes-2WDH6DXU.js.map} +0 -0
- /package/dist/cli-bundle/chunks/{profile-AAQUU6T3.js.map → notes-GB47XXQQ.js.map} +0 -0
- /package/dist/cli-bundle/chunks/{restore-66GLMHIX.js.map → plan-DOVI2VMW.js.map} +0 -0
- /package/dist/cli-bundle/chunks/{restore-B3BAB6X2.js.map → plan-VDCJ2PCN.js.map} +0 -0
- /package/dist/cli-bundle/chunks/{schema-U7IM2DXV.js.map → profile-FAU7NZML.js.map} +0 -0
- /package/dist/cli-bundle/chunks/{schema-LZNUYHDB.js.map → profile-IVXQEL3D.js.map} +0 -0
- /package/dist/cli-bundle/chunks/{update-Q3UCILNR.js.map → restore-25DLT2Q2.js.map} +0 -0
- /package/dist/cli-bundle/chunks/{update-2XGHIVQ2.js.map → restore-YPMVUUEX.js.map} +0 -0
- /package/dist/cli-bundle/chunks/{update-many-75K57FS3.js.map → schema-FNU3WE4O.js.map} +0 -0
- /package/dist/cli-bundle/chunks/{update-many-U42YA445.js.map → schema-NBCM3RAD.js.map} +0 -0
- /package/dist/{cli/commands → sdk}/extension/managed-state.d.ts +0 -0
|
@@ -1,6 +1,3 @@
|
|
|
1
|
-
import {
|
|
2
|
-
runClose
|
|
3
|
-
} from "./chunk-DRNJPEPQ.js";
|
|
4
1
|
import {
|
|
5
2
|
describeAllowedTransitions,
|
|
6
3
|
evaluateTransition,
|
|
@@ -32,7 +29,7 @@ import {
|
|
|
32
29
|
requireStringOption,
|
|
33
30
|
resolvePriority,
|
|
34
31
|
resolveRuntimeUnsetFieldDefinition
|
|
35
|
-
} from "./chunk-
|
|
32
|
+
} from "./chunk-UMOPHQSU.js";
|
|
36
33
|
import {
|
|
37
34
|
applyTagRemovals,
|
|
38
35
|
assertNoUnknownCsvKeys,
|
|
@@ -43,16 +40,19 @@ import {
|
|
|
43
40
|
parseOptionalNonNegativeInteger,
|
|
44
41
|
parseOptionalNumber,
|
|
45
42
|
parseTags
|
|
46
|
-
} from "./chunk-
|
|
43
|
+
} from "./chunk-TKOVBP6C.js";
|
|
47
44
|
import {
|
|
48
45
|
assertParentReferenceIsNotSelf,
|
|
49
46
|
normalizeParentReferenceValue,
|
|
50
47
|
validateMissingParentReference,
|
|
51
48
|
validateSprintOrReleaseValue
|
|
52
|
-
} from "./chunk-
|
|
49
|
+
} from "./chunk-ULTHRDBP.js";
|
|
53
50
|
import {
|
|
54
51
|
buildInvalidTypeError
|
|
55
|
-
} from "./chunk-
|
|
52
|
+
} from "./chunk-SELVXEZK.js";
|
|
53
|
+
import {
|
|
54
|
+
runClose
|
|
55
|
+
} from "./chunk-2WSE6PO2.js";
|
|
56
56
|
import {
|
|
57
57
|
buildItemNotFoundError,
|
|
58
58
|
collectRuntimeUpdateFieldValues,
|
|
@@ -66,7 +66,7 @@ import {
|
|
|
66
66
|
resolveIsoOrRelative,
|
|
67
67
|
stableValueEquals,
|
|
68
68
|
toItemRecord
|
|
69
|
-
} from "./chunk-
|
|
69
|
+
} from "./chunk-XSJUSQAE.js";
|
|
70
70
|
import {
|
|
71
71
|
COMMON_MUTATION_COMMAND_OPTION_KEYS,
|
|
72
72
|
DEPENDENCY_KIND_VALUES,
|
|
@@ -90,7 +90,7 @@ import {
|
|
|
90
90
|
resolveTypeDefinition,
|
|
91
91
|
resolveTypeName,
|
|
92
92
|
validateTypeOptions
|
|
93
|
-
} from "./chunk-
|
|
93
|
+
} from "./chunk-BSEQUTQP.js";
|
|
94
94
|
|
|
95
95
|
// dist/cli/commands/update.js
|
|
96
96
|
!(function() {
|
|
@@ -1660,4 +1660,4 @@ export {
|
|
|
1660
1660
|
runUpdate,
|
|
1661
1661
|
_testOnlyUpdateCommand
|
|
1662
1662
|
};
|
|
1663
|
-
//# sourceMappingURL=chunk-
|
|
1663
|
+
//# sourceMappingURL=chunk-CRVF2JDM.js.map
|
|
@@ -16,7 +16,7 @@ import {
|
|
|
16
16
|
recordAfterCommandAffectedItem,
|
|
17
17
|
runActiveOnWriteHooks,
|
|
18
18
|
serializeItemDocument
|
|
19
|
-
} from "./chunk-
|
|
19
|
+
} from "./chunk-Q7A43DS4.js";
|
|
20
20
|
import {
|
|
21
21
|
EXIT_CODE,
|
|
22
22
|
ITEM_METADATA_KEY_ORDER,
|
|
@@ -31,7 +31,7 @@ import {
|
|
|
31
31
|
resolvePmRoot,
|
|
32
32
|
resolveRuntimeStatusRegistry,
|
|
33
33
|
writeFileAtomic
|
|
34
|
-
} from "./chunk-
|
|
34
|
+
} from "./chunk-QKECXBBG.js";
|
|
35
35
|
|
|
36
36
|
// dist/cli/commands/copy.js
|
|
37
37
|
function selectAuthor(explicitAuthor, settingsAuthor) {
|
|
@@ -172,6 +172,6 @@ async function runCopy(sourceId, options, global) {
|
|
|
172
172
|
export {
|
|
173
173
|
runCopy
|
|
174
174
|
};
|
|
175
|
-
//# sourceMappingURL=chunk-
|
|
175
|
+
//# sourceMappingURL=chunk-DM4H7FP4.js.map
|
|
176
176
|
|
|
177
177
|
//# debugId=10297567-d434-5182-abfd-6c340c9fde5c
|
|
@@ -0,0 +1,5 @@
|
|
|
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]="45eac7fa-f181-5cca-93b7-cfb58909dbb3")}catch(e){}}();
|
|
3
|
+
//# sourceMappingURL=chunk-DUT67M43.js.map
|
|
4
|
+
|
|
5
|
+
//# debugId=45eac7fa-f181-5cca-93b7-cfb58909dbb3
|
|
@@ -2,7 +2,7 @@
|
|
|
2
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]="f6d9e42f-d6a2-5a81-86f1-a694079161d0")}catch(e){}}();
|
|
3
3
|
import {
|
|
4
4
|
runCreate
|
|
5
|
-
} from "./chunk-
|
|
5
|
+
} from "./chunk-EH2OPHBI.js";
|
|
6
6
|
import {
|
|
7
7
|
splitCommaList
|
|
8
8
|
} from "./chunk-NETP4DY4.js";
|
|
@@ -13,7 +13,7 @@ import {
|
|
|
13
13
|
nowIso,
|
|
14
14
|
readLocatedItem,
|
|
15
15
|
readSettings
|
|
16
|
-
} from "./chunk-
|
|
16
|
+
} from "./chunk-Q7A43DS4.js";
|
|
17
17
|
import {
|
|
18
18
|
EXIT_CODE,
|
|
19
19
|
PLAN_HARNESS_VALUES,
|
|
@@ -26,7 +26,7 @@ import {
|
|
|
26
26
|
resolveItemTypeRegistry,
|
|
27
27
|
resolvePmRoot,
|
|
28
28
|
resolveTypeName
|
|
29
|
-
} from "./chunk-
|
|
29
|
+
} from "./chunk-QKECXBBG.js";
|
|
30
30
|
|
|
31
31
|
// dist/cli/commands/plan.js
|
|
32
32
|
var PLAN_SUBCOMMANDS = [
|
|
@@ -1488,6 +1488,6 @@ export {
|
|
|
1488
1488
|
resolvePlanTemplateSteps,
|
|
1489
1489
|
runPlan
|
|
1490
1490
|
};
|
|
1491
|
-
//# sourceMappingURL=chunk-
|
|
1491
|
+
//# sourceMappingURL=chunk-DYH63FX7.js.map
|
|
1492
1492
|
|
|
1493
1493
|
//# debugId=f6d9e42f-d6a2-5a81-86f1-a694079161d0
|
|
@@ -1,48 +1,61 @@
|
|
|
1
1
|
import {
|
|
2
2
|
collectRuntimeFilterValues,
|
|
3
|
-
createQueryFingerprint,
|
|
4
|
-
encodeQueryCursor,
|
|
5
3
|
matchesRuntimeFilters,
|
|
6
|
-
resolveQueryCursorStart,
|
|
7
|
-
runList
|
|
8
|
-
} from "./chunk-6MHSBDGD.js";
|
|
9
|
-
import {
|
|
10
|
-
collectBlockedByIds,
|
|
11
|
-
computeActionabilityReport
|
|
12
|
-
} from "./chunk-UJ4HJYWL.js";
|
|
13
|
-
import {
|
|
14
4
|
parseIntegerLimit,
|
|
15
5
|
parsePriority,
|
|
16
6
|
parseType,
|
|
17
|
-
|
|
18
|
-
} from "./chunk-
|
|
7
|
+
runList
|
|
8
|
+
} from "./chunk-XXXF6PAQ.js";
|
|
9
|
+
import {
|
|
10
|
+
createQueryFingerprint,
|
|
11
|
+
encodeQueryCursor,
|
|
12
|
+
resolveQueryCursorStart
|
|
13
|
+
} from "./chunk-4223PVZT.js";
|
|
14
|
+
import {
|
|
15
|
+
cloneEmptyReplayDocument,
|
|
16
|
+
normalizeReplayPatchOps,
|
|
17
|
+
readHistoryEntries,
|
|
18
|
+
tryApplyReplayPatch,
|
|
19
|
+
verifyHistoryChain
|
|
20
|
+
} from "./chunk-TD3LVC7D.js";
|
|
19
21
|
import {
|
|
20
22
|
parseLimit
|
|
21
|
-
} from "./chunk-
|
|
23
|
+
} from "./chunk-NU3IMIEA.js";
|
|
22
24
|
import {
|
|
23
25
|
readContextUsageAffinity,
|
|
24
26
|
recordContextUsageServing
|
|
25
|
-
} from "./chunk-
|
|
27
|
+
} from "./chunk-YCQET3OT.js";
|
|
28
|
+
import {
|
|
29
|
+
collectBlockedByIds,
|
|
30
|
+
computeActionabilityReport
|
|
31
|
+
} from "./chunk-NLDFBC6J.js";
|
|
26
32
|
import {
|
|
27
33
|
compareTimestampStrings,
|
|
34
|
+
enforceHistoryStreamPolicyForItem,
|
|
28
35
|
enforceHistoryStreamPolicyForItems,
|
|
29
36
|
getActiveExtensionRegistrations,
|
|
37
|
+
hashDocument,
|
|
38
|
+
hashEmptyDocument,
|
|
30
39
|
isTerminalStatus,
|
|
31
40
|
listAllItemMetadataLight,
|
|
41
|
+
locateItem,
|
|
42
|
+
normalizeItemId,
|
|
32
43
|
normalizeStatusForRegistry,
|
|
33
44
|
normalizeStatusInput,
|
|
34
45
|
nowIso,
|
|
46
|
+
readLocatedItem,
|
|
35
47
|
readSettings,
|
|
36
48
|
resolveIsoOrRelative,
|
|
37
49
|
runActiveOnReadHooks,
|
|
38
50
|
runActiveServiceOverride
|
|
39
|
-
} from "./chunk-
|
|
51
|
+
} from "./chunk-XSJUSQAE.js";
|
|
40
52
|
import {
|
|
41
53
|
CONTEXT_DEPTH_VALUES,
|
|
42
54
|
CONTEXT_SECTION_VALUES,
|
|
43
55
|
EXIT_CODE,
|
|
44
56
|
PmCliError,
|
|
45
57
|
SETTINGS_DEFAULTS,
|
|
58
|
+
getHistoryPath,
|
|
46
59
|
getSettingsPath,
|
|
47
60
|
levenshteinDistanceWithinLimit,
|
|
48
61
|
pathExists,
|
|
@@ -51,7 +64,209 @@ import {
|
|
|
51
64
|
resolveRuntimeFieldRegistry,
|
|
52
65
|
resolveRuntimeStatusRegistry,
|
|
53
66
|
weekdayOrderIndex
|
|
54
|
-
} from "./chunk-
|
|
67
|
+
} from "./chunk-BSEQUTQP.js";
|
|
68
|
+
|
|
69
|
+
// dist/core/history/history-diff.js
|
|
70
|
+
!(function() {
|
|
71
|
+
try {
|
|
72
|
+
var e = "undefined" != typeof window ? window : "undefined" != typeof global ? global : "undefined" != typeof globalThis ? globalThis : "undefined" != typeof self ? self : {}, n = new e.Error().stack;
|
|
73
|
+
n && (e._sentryDebugIds = e._sentryDebugIds || {}, e._sentryDebugIds[n] = "86354a77-3238-519c-818f-c2989d885298");
|
|
74
|
+
} catch (e2) {
|
|
75
|
+
}
|
|
76
|
+
})();
|
|
77
|
+
function decodeJsonPointerSegment(segment) {
|
|
78
|
+
return segment.replaceAll("~1", "/").replaceAll("~0", "~");
|
|
79
|
+
}
|
|
80
|
+
function patchPathToChangedField(path2) {
|
|
81
|
+
if (path2 === "/body" || path2.startsWith("/body/"))
|
|
82
|
+
return "body";
|
|
83
|
+
if (path2 === "/metadata" || path2.startsWith("/metadata/") || path2 === "/front_matter" || path2.startsWith("/front_matter/")) {
|
|
84
|
+
const segment2 = path2.replace(/^\/(?:metadata|front_matter)\/?/, "").split("/")[0];
|
|
85
|
+
if (!segment2)
|
|
86
|
+
return "metadata";
|
|
87
|
+
return decodeJsonPointerSegment(segment2);
|
|
88
|
+
}
|
|
89
|
+
const segment = path2.replace(/^\//, "").split("/")[0];
|
|
90
|
+
return segment ? decodeJsonPointerSegment(segment) : "root";
|
|
91
|
+
}
|
|
92
|
+
function readFieldValue(doc, field) {
|
|
93
|
+
if (field === "body")
|
|
94
|
+
return doc.body;
|
|
95
|
+
if (field === "metadata")
|
|
96
|
+
return doc.metadata;
|
|
97
|
+
if (field === "root")
|
|
98
|
+
return doc;
|
|
99
|
+
return doc.metadata[field];
|
|
100
|
+
}
|
|
101
|
+
function computeHistoryDiff(fullEntries, options) {
|
|
102
|
+
const windowStartIndex = options?.windowStartIndex ?? 0;
|
|
103
|
+
const fieldFilter = options?.field;
|
|
104
|
+
if (fullEntries.length === 0 || windowStartIndex >= fullEntries.length) {
|
|
105
|
+
return [];
|
|
106
|
+
}
|
|
107
|
+
let current = cloneEmptyReplayDocument();
|
|
108
|
+
const result = [];
|
|
109
|
+
for (let p = 0; p < fullEntries.length; p += 1) {
|
|
110
|
+
const entry = fullEntries[p];
|
|
111
|
+
const beforeDoc = current;
|
|
112
|
+
const applied = tryApplyReplayPatch(current, entry.patch);
|
|
113
|
+
let afterDoc;
|
|
114
|
+
if (applied.ok) {
|
|
115
|
+
afterDoc = applied.document;
|
|
116
|
+
current = afterDoc;
|
|
117
|
+
} else {
|
|
118
|
+
afterDoc = beforeDoc;
|
|
119
|
+
}
|
|
120
|
+
const changedFieldSet = /* @__PURE__ */ new Set();
|
|
121
|
+
for (const patchOp of entry.patch) {
|
|
122
|
+
changedFieldSet.add(patchPathToChangedField(patchOp.path));
|
|
123
|
+
if (patchOp.from !== void 0) {
|
|
124
|
+
changedFieldSet.add(patchPathToChangedField(patchOp.from));
|
|
125
|
+
}
|
|
126
|
+
}
|
|
127
|
+
const sortedFields = [...changedFieldSet].sort((a, b) => a.localeCompare(b));
|
|
128
|
+
if (p >= windowStartIndex) {
|
|
129
|
+
if (fieldFilter !== void 0) {
|
|
130
|
+
if (!changedFieldSet.has(fieldFilter)) {
|
|
131
|
+
continue;
|
|
132
|
+
}
|
|
133
|
+
const change = {
|
|
134
|
+
field: fieldFilter,
|
|
135
|
+
before: readFieldValue(beforeDoc, fieldFilter),
|
|
136
|
+
after: readFieldValue(afterDoc, fieldFilter)
|
|
137
|
+
};
|
|
138
|
+
result.push({
|
|
139
|
+
index: p + 1,
|
|
140
|
+
ts: entry.ts,
|
|
141
|
+
op: entry.op,
|
|
142
|
+
author: entry.author,
|
|
143
|
+
patch_ops: entry.patch.length,
|
|
144
|
+
changed_fields: [fieldFilter],
|
|
145
|
+
changes: [change]
|
|
146
|
+
});
|
|
147
|
+
} else {
|
|
148
|
+
const changes = sortedFields.map((field) => ({
|
|
149
|
+
field,
|
|
150
|
+
before: readFieldValue(beforeDoc, field),
|
|
151
|
+
after: readFieldValue(afterDoc, field)
|
|
152
|
+
}));
|
|
153
|
+
result.push({
|
|
154
|
+
index: p + 1,
|
|
155
|
+
ts: entry.ts,
|
|
156
|
+
op: entry.op,
|
|
157
|
+
author: entry.author,
|
|
158
|
+
patch_ops: entry.patch.length,
|
|
159
|
+
changed_fields: sortedFields,
|
|
160
|
+
changes
|
|
161
|
+
});
|
|
162
|
+
}
|
|
163
|
+
}
|
|
164
|
+
}
|
|
165
|
+
return result;
|
|
166
|
+
}
|
|
167
|
+
|
|
168
|
+
// dist/cli/commands/history.js
|
|
169
|
+
!(function() {
|
|
170
|
+
try {
|
|
171
|
+
var e = "undefined" != typeof window ? window : "undefined" != typeof global ? global : "undefined" != typeof globalThis ? globalThis : "undefined" != typeof self ? self : {}, n = new e.Error().stack;
|
|
172
|
+
n && (e._sentryDebugIds = e._sentryDebugIds || {}, e._sentryDebugIds[n] = "f90cbd0d-51a4-5974-ba46-d662e680142e");
|
|
173
|
+
} catch (e2) {
|
|
174
|
+
}
|
|
175
|
+
})();
|
|
176
|
+
function limitEntries(values, limit) {
|
|
177
|
+
if (limit === void 0)
|
|
178
|
+
return values;
|
|
179
|
+
return values.slice(Math.max(0, values.length - limit));
|
|
180
|
+
}
|
|
181
|
+
function buildDiffEntries(entries, startIndex) {
|
|
182
|
+
return entries.map((entry, index) => {
|
|
183
|
+
const changedFields = /* @__PURE__ */ new Set();
|
|
184
|
+
const patch = normalizeReplayPatchOps(entry.patch);
|
|
185
|
+
for (const op of patch) {
|
|
186
|
+
changedFields.add(patchPathToChangedField(op.path));
|
|
187
|
+
if (op.from) {
|
|
188
|
+
changedFields.add(patchPathToChangedField(op.from));
|
|
189
|
+
}
|
|
190
|
+
}
|
|
191
|
+
return {
|
|
192
|
+
index: startIndex + index + 1,
|
|
193
|
+
ts: entry.ts,
|
|
194
|
+
op: entry.op,
|
|
195
|
+
author: entry.author,
|
|
196
|
+
patch_ops: patch.length,
|
|
197
|
+
changed_fields: [...changedFields].sort((left, right) => left.localeCompare(right))
|
|
198
|
+
};
|
|
199
|
+
});
|
|
200
|
+
}
|
|
201
|
+
async function runHistory(id, options, global2) {
|
|
202
|
+
const pmRoot = resolvePmRoot(process.cwd(), global2.path);
|
|
203
|
+
if (!await pathExists(getSettingsPath(pmRoot))) {
|
|
204
|
+
throw new PmCliError(`Tracker is not initialized at ${pmRoot}. Run pm init first.`, EXIT_CODE.NOT_FOUND);
|
|
205
|
+
}
|
|
206
|
+
const limit = parseLimit(options.limit);
|
|
207
|
+
const settings = await readSettings(pmRoot);
|
|
208
|
+
const typeRegistry = resolveItemTypeRegistry(settings, getActiveExtensionRegistrations());
|
|
209
|
+
const normalizedId = normalizeItemId(id, settings.id_prefix);
|
|
210
|
+
const located = await locateItem(pmRoot, normalizedId, settings.id_prefix, settings.item_format, typeRegistry.type_to_folder);
|
|
211
|
+
const resolvedId = located?.id ?? normalizedId;
|
|
212
|
+
const historyPath = getHistoryPath(pmRoot, resolvedId);
|
|
213
|
+
if (!located && !await pathExists(historyPath)) {
|
|
214
|
+
throw new PmCliError(`Item ${id} not found`, EXIT_CODE.NOT_FOUND);
|
|
215
|
+
}
|
|
216
|
+
if (located) {
|
|
217
|
+
await enforceHistoryStreamPolicyForItem({
|
|
218
|
+
pmRoot,
|
|
219
|
+
settings,
|
|
220
|
+
itemId: located.id,
|
|
221
|
+
commandLabel: "history"
|
|
222
|
+
});
|
|
223
|
+
}
|
|
224
|
+
const fullHistory = await readHistoryEntries(historyPath, resolvedId);
|
|
225
|
+
const history = limitEntries(fullHistory, limit);
|
|
226
|
+
const compact = options.compact === true;
|
|
227
|
+
const compactHistory = compact ? buildDiffEntries(history, Math.max(0, fullHistory.length - history.length)) : void 0;
|
|
228
|
+
const result = {
|
|
229
|
+
id: resolvedId,
|
|
230
|
+
history: compact ? [] : history,
|
|
231
|
+
compact_history: compactHistory,
|
|
232
|
+
compact,
|
|
233
|
+
count: history.length,
|
|
234
|
+
limit: limit ?? null
|
|
235
|
+
};
|
|
236
|
+
if (options.diff || options.field !== void 0) {
|
|
237
|
+
result.diff = computeHistoryDiff(fullHistory, {
|
|
238
|
+
windowStartIndex: Math.max(0, fullHistory.length - history.length),
|
|
239
|
+
field: options.field
|
|
240
|
+
});
|
|
241
|
+
}
|
|
242
|
+
if (options.verify) {
|
|
243
|
+
const verification = verifyHistoryChain(fullHistory);
|
|
244
|
+
const latestAfterHash = fullHistory.length > 0 ? fullHistory[fullHistory.length - 1].after_hash : hashEmptyDocument();
|
|
245
|
+
let currentItemHash;
|
|
246
|
+
let currentMatchesLatest;
|
|
247
|
+
const errors = [...verification.errors];
|
|
248
|
+
if (located) {
|
|
249
|
+
const loaded = await readLocatedItem(located, {
|
|
250
|
+
schema: settings.schema
|
|
251
|
+
});
|
|
252
|
+
currentItemHash = hashDocument(loaded.document);
|
|
253
|
+
currentMatchesLatest = currentItemHash === latestAfterHash;
|
|
254
|
+
if (!currentMatchesLatest) {
|
|
255
|
+
errors.push("verify_failed:current_item_hash_mismatch");
|
|
256
|
+
}
|
|
257
|
+
}
|
|
258
|
+
result.verification = {
|
|
259
|
+
ok: errors.length === 0,
|
|
260
|
+
entries: fullHistory.length,
|
|
261
|
+
errors,
|
|
262
|
+
/* c8 ignore next -- empty-history verification payloads are covered by lower-level stream tests. */
|
|
263
|
+
latest_after_hash: fullHistory.length > 0 ? fullHistory[fullHistory.length - 1].after_hash : void 0,
|
|
264
|
+
current_item_hash: currentItemHash,
|
|
265
|
+
current_matches_latest: currentMatchesLatest
|
|
266
|
+
};
|
|
267
|
+
}
|
|
268
|
+
return result;
|
|
269
|
+
}
|
|
55
270
|
|
|
56
271
|
// dist/cli/commands/activity.js
|
|
57
272
|
import fs from "node:fs/promises";
|
|
@@ -93,7 +308,7 @@ function includeByTimeWindow(entry, from, to) {
|
|
|
93
308
|
}
|
|
94
309
|
return true;
|
|
95
310
|
}
|
|
96
|
-
function
|
|
311
|
+
function limitEntries2(values, limit) {
|
|
97
312
|
if (limit === void 0)
|
|
98
313
|
return values;
|
|
99
314
|
return values.slice(0, limit);
|
|
@@ -215,7 +430,7 @@ async function runActivity(options, global2) {
|
|
|
215
430
|
const context = await resolveActivityRuntimeContext(global2);
|
|
216
431
|
const filters = resolveActivityFilters(options);
|
|
217
432
|
const historyDir = await prepareActivityHistoryRead(context);
|
|
218
|
-
const activity =
|
|
433
|
+
const activity = limitEntries2(sortActivity(await collectActivityEntries(historyDir, filters)), filters.limit);
|
|
219
434
|
const compact = options.compact === true;
|
|
220
435
|
const compactActivity = compact ? formatCompactActivity(activity) : void 0;
|
|
221
436
|
return {
|
|
@@ -1113,7 +1328,7 @@ async function runCalendar(options, global2) {
|
|
|
1113
1328
|
!(function() {
|
|
1114
1329
|
try {
|
|
1115
1330
|
var e = "undefined" != typeof window ? window : "undefined" != typeof global ? global : "undefined" != typeof globalThis ? globalThis : "undefined" != typeof self ? self : {}, n = new e.Error().stack;
|
|
1116
|
-
n && (e._sentryDebugIds = e._sentryDebugIds || {}, e._sentryDebugIds[n] = "
|
|
1331
|
+
n && (e._sentryDebugIds = e._sentryDebugIds || {}, e._sentryDebugIds[n] = "833cf230-b0c8-51f0-822e-1f27f0574971");
|
|
1117
1332
|
} catch (e2) {
|
|
1118
1333
|
}
|
|
1119
1334
|
})();
|
|
@@ -1131,6 +1346,66 @@ var CONTEXT_RELEVANCE_SIGNAL_NAMES = [
|
|
|
1131
1346
|
"usage_affinity",
|
|
1132
1347
|
"semantic_similarity"
|
|
1133
1348
|
];
|
|
1349
|
+
function normalizedPressure(value, maximum) {
|
|
1350
|
+
const parsed = typeof value === "number" ? value : typeof value === "string" ? Number.parseFloat(value) : Number.NaN;
|
|
1351
|
+
return Number.isFinite(parsed) ? 1 - Math.min(Math.max(parsed, 0), maximum) / maximum : 0;
|
|
1352
|
+
}
|
|
1353
|
+
function deadlinePressure(deadline, nowMs) {
|
|
1354
|
+
const deadlineMs = typeof deadline === "string" ? Date.parse(deadline) : deadline instanceof Date ? deadline.getTime() : typeof deadline === "number" ? deadline : Number.NaN;
|
|
1355
|
+
if (!Number.isFinite(deadlineMs) || !Number.isFinite(nowMs))
|
|
1356
|
+
return 0;
|
|
1357
|
+
const days = (deadlineMs - nowMs) / 864e5;
|
|
1358
|
+
return days <= 0 ? 1 : 1 / (1 + days / 30);
|
|
1359
|
+
}
|
|
1360
|
+
function riskPressure(risk) {
|
|
1361
|
+
const normalized = typeof risk === "string" ? risk.trim().toLowerCase() : void 0;
|
|
1362
|
+
if (normalized === "critical" || normalized === "high")
|
|
1363
|
+
return 1;
|
|
1364
|
+
if (normalized === "medium")
|
|
1365
|
+
return 0.5;
|
|
1366
|
+
return normalized === "low" ? 0.1 : 0;
|
|
1367
|
+
}
|
|
1368
|
+
function buildItemContextRelevanceCandidates(items, options) {
|
|
1369
|
+
const sortableTimestamp2 = (value) => {
|
|
1370
|
+
if (typeof value !== "string")
|
|
1371
|
+
return "";
|
|
1372
|
+
try {
|
|
1373
|
+
return resolveIsoOrRelative(value, new Date(Number.NaN), "updated_at");
|
|
1374
|
+
} catch {
|
|
1375
|
+
return "";
|
|
1376
|
+
}
|
|
1377
|
+
};
|
|
1378
|
+
const recencyOrder = [...items].sort((left, right) => {
|
|
1379
|
+
const leftTime = sortableTimestamp2(left.updated_at);
|
|
1380
|
+
const rightTime = sortableTimestamp2(right.updated_at);
|
|
1381
|
+
return compareTimestampStrings(rightTime, leftTime) || left.id.localeCompare(right.id);
|
|
1382
|
+
});
|
|
1383
|
+
const recencyRank = new Map(recencyOrder.map((item, index) => [item.id, index]));
|
|
1384
|
+
const denominator = Math.max(items.length - 1, 1);
|
|
1385
|
+
const normalizedAuthor = options.author?.trim().toLowerCase();
|
|
1386
|
+
const inProgressStatus = normalizeStatusInput("in_progress", options.statusRegistry);
|
|
1387
|
+
const nowMs = Date.parse(options.now);
|
|
1388
|
+
return items.map((item) => {
|
|
1389
|
+
const assigned = normalizedAuthor !== void 0 && typeof item.assignee === "string" && item.assignee.trim().toLowerCase() === normalizedAuthor;
|
|
1390
|
+
const knowledgeEntries = (item.comments?.length ?? 0) + (item.notes?.length ?? 0) + (item.learnings?.length ?? 0);
|
|
1391
|
+
return {
|
|
1392
|
+
id: item.id,
|
|
1393
|
+
item,
|
|
1394
|
+
signals: {
|
|
1395
|
+
recency: items.length === 1 ? 1 : 1 - recencyRank.get(item.id) / denominator,
|
|
1396
|
+
graph_proximity: item.parent ? 0.3 : 0,
|
|
1397
|
+
claim_focus: normalizeStatusForRegistry(item.status, options.statusRegistry) === inProgressStatus ? 1 : assigned ? 0.75 : 0,
|
|
1398
|
+
priority_pressure: normalizedPressure(item.priority, 4),
|
|
1399
|
+
risk_pressure: riskPressure(item.risk),
|
|
1400
|
+
deadline_pressure: deadlinePressure(item.deadline, nowMs),
|
|
1401
|
+
knowledge_density: Math.min(knowledgeEntries / 5, 1),
|
|
1402
|
+
author_affinity: assigned ? 1 : 0,
|
|
1403
|
+
usage_affinity: options.usageAffinity?.[item.id],
|
|
1404
|
+
semantic_similarity: options.semanticSimilarity?.[item.id]
|
|
1405
|
+
}
|
|
1406
|
+
};
|
|
1407
|
+
});
|
|
1408
|
+
}
|
|
1134
1409
|
var CONTEXT_RELEVANCE_SERVICE = "context_relevance";
|
|
1135
1410
|
var DEFAULT_CONTEXT_RELEVANCE_WEIGHTS = {
|
|
1136
1411
|
structural: 0.4,
|
|
@@ -1590,7 +1865,7 @@ function packContextCandidates(candidates, options) {
|
|
|
1590
1865
|
!(function() {
|
|
1591
1866
|
try {
|
|
1592
1867
|
var e = "undefined" != typeof window ? window : "undefined" != typeof global ? global : "undefined" != typeof globalThis ? globalThis : "undefined" != typeof self ? self : {}, n = new e.Error().stack;
|
|
1593
|
-
n && (e._sentryDebugIds = e._sentryDebugIds || {}, e._sentryDebugIds[n] = "
|
|
1868
|
+
n && (e._sentryDebugIds = e._sentryDebugIds || {}, e._sentryDebugIds[n] = "36bded4c-6a70-5b72-bd69-49bdc0cf1332");
|
|
1594
1869
|
} catch (e2) {
|
|
1595
1870
|
}
|
|
1596
1871
|
})();
|
|
@@ -1904,64 +2179,6 @@ function compareCriticalItems(left, right, statusRegistry) {
|
|
|
1904
2179
|
const byId = left.id.localeCompare(right.id);
|
|
1905
2180
|
return byUpdated !== 0 ? byUpdated : byId;
|
|
1906
2181
|
}
|
|
1907
|
-
function normalizedPressure(value, maximum) {
|
|
1908
|
-
const parsed = typeof value === "number" ? value : typeof value === "string" ? Number.parseFloat(value) : Number.NaN;
|
|
1909
|
-
if (!Number.isFinite(parsed))
|
|
1910
|
-
return 0;
|
|
1911
|
-
return 1 - Math.min(Math.max(parsed, 0), maximum) / maximum;
|
|
1912
|
-
}
|
|
1913
|
-
function resolveDeadlinePressure(deadline, nowMs) {
|
|
1914
|
-
const deadlineMs = typeof deadline === "string" ? Date.parse(deadline) : deadline instanceof Date ? deadline.getTime() : typeof deadline === "number" ? deadline : Number.NaN;
|
|
1915
|
-
if (!Number.isFinite(deadlineMs) || !Number.isFinite(nowMs))
|
|
1916
|
-
return 0;
|
|
1917
|
-
const deadlineDays = (deadlineMs - nowMs) / (24 * 60 * 60 * 1e3);
|
|
1918
|
-
return deadlineDays <= 0 ? 1 : 1 / (1 + deadlineDays / 30);
|
|
1919
|
-
}
|
|
1920
|
-
function resolveRiskPressure(risk) {
|
|
1921
|
-
const normalized = typeof risk === "string" ? risk.trim().toLowerCase() : void 0;
|
|
1922
|
-
if (normalized === "critical" || normalized === "high")
|
|
1923
|
-
return 1;
|
|
1924
|
-
if (normalized === "medium")
|
|
1925
|
-
return 0.5;
|
|
1926
|
-
return normalized === "low" ? 0.1 : 0;
|
|
1927
|
-
}
|
|
1928
|
-
function buildItemContextRelevanceCandidate(item, params) {
|
|
1929
|
-
const assignedToAuthor = params.normalizedAuthor !== void 0 && typeof item.assignee === "string" && item.assignee.trim().toLowerCase() === params.normalizedAuthor;
|
|
1930
|
-
const claimFocus = isInProgressStatus(item.status, params.statusRegistry) ? 1 : assignedToAuthor ? 0.75 : 0;
|
|
1931
|
-
const riskPressure = resolveRiskPressure(item.risk);
|
|
1932
|
-
const knowledgeEntries = (item.comments?.length ?? 0) + (item.notes?.length ?? 0) + (item.learnings?.length ?? 0);
|
|
1933
|
-
return {
|
|
1934
|
-
id: item.id,
|
|
1935
|
-
item,
|
|
1936
|
-
signals: {
|
|
1937
|
-
recency: params.itemCount === 1 ? 1 : 1 - params.recencyRank.get(item.id) / params.recencyDenominator,
|
|
1938
|
-
graph_proximity: item.parent ? 0.3 : 0,
|
|
1939
|
-
claim_focus: claimFocus,
|
|
1940
|
-
priority_pressure: normalizedPressure(item.priority, 4),
|
|
1941
|
-
risk_pressure: riskPressure,
|
|
1942
|
-
deadline_pressure: resolveDeadlinePressure(item.deadline, params.nowMs),
|
|
1943
|
-
knowledge_density: Math.min(knowledgeEntries / 5, 1),
|
|
1944
|
-
author_affinity: assignedToAuthor ? 1 : 0,
|
|
1945
|
-
usage_affinity: params.usageAffinity?.[item.id]
|
|
1946
|
-
}
|
|
1947
|
-
};
|
|
1948
|
-
}
|
|
1949
|
-
function buildItemContextRelevanceCandidates(items, statusRegistry, now, author, usageAffinity) {
|
|
1950
|
-
const recencyOrder = [...items].sort((left, right) => compareTimestampStrings(sortableTimestamp(right.updated_at), sortableTimestamp(left.updated_at)) || left.id.localeCompare(right.id));
|
|
1951
|
-
const recencyRank = new Map(recencyOrder.map((item, index) => [item.id, index]));
|
|
1952
|
-
const recencyDenominator = Math.max(items.length - 1, 1);
|
|
1953
|
-
const normalizedAuthor = author?.trim().toLowerCase();
|
|
1954
|
-
const nowMs = Date.parse(now);
|
|
1955
|
-
return items.map((item) => buildItemContextRelevanceCandidate(item, {
|
|
1956
|
-
statusRegistry,
|
|
1957
|
-
nowMs,
|
|
1958
|
-
normalizedAuthor,
|
|
1959
|
-
recencyRank,
|
|
1960
|
-
recencyDenominator,
|
|
1961
|
-
itemCount: items.length,
|
|
1962
|
-
usageAffinity
|
|
1963
|
-
}));
|
|
1964
|
-
}
|
|
1965
2182
|
function estimateJsonTokens2(value) {
|
|
1966
2183
|
return Math.max(1, Math.ceil(Buffer.byteLength(JSON.stringify(value), "utf8") / 4));
|
|
1967
2184
|
}
|
|
@@ -2612,7 +2829,12 @@ async function resolveContextFocusGroups(listedItemMetadata, allItems, statusReg
|
|
|
2612
2829
|
author,
|
|
2613
2830
|
enabled: process.env.PM_CONTEXT_USAGE_DISABLED !== "1"
|
|
2614
2831
|
});
|
|
2615
|
-
const ranking = await scoreContextCandidatesWithActiveExtensions("context", buildItemContextRelevanceCandidates(structural,
|
|
2832
|
+
const ranking = await scoreContextCandidatesWithActiveExtensions("context", buildItemContextRelevanceCandidates(structural, {
|
|
2833
|
+
statusRegistry,
|
|
2834
|
+
now,
|
|
2835
|
+
author,
|
|
2836
|
+
usageAffinity: usage.affinity
|
|
2837
|
+
}));
|
|
2616
2838
|
const ranked = ranking.ranked.map((entry) => entry.item);
|
|
2617
2839
|
const activeStatuses = statusRegistry.active_statuses;
|
|
2618
2840
|
const rankedActiveItems = ranked.filter((item) => activeStatuses.has(normalizeStatusForRegistry(item.status, statusRegistry)));
|
|
@@ -2867,7 +3089,7 @@ async function runContext(options, global2) {
|
|
|
2867
3089
|
!(function() {
|
|
2868
3090
|
try {
|
|
2869
3091
|
var e = "undefined" != typeof window ? window : "undefined" != typeof global ? global : "undefined" != typeof globalThis ? globalThis : "undefined" != typeof self ? self : {}, n = new e.Error().stack;
|
|
2870
|
-
n && (e._sentryDebugIds = e._sentryDebugIds || {}, e._sentryDebugIds[n] = "
|
|
3092
|
+
n && (e._sentryDebugIds = e._sentryDebugIds || {}, e._sentryDebugIds[n] = "836fa5be-87ac-5100-bbd3-6af590001e3f");
|
|
2871
3093
|
} catch (e2) {
|
|
2872
3094
|
}
|
|
2873
3095
|
})();
|
|
@@ -3101,7 +3323,7 @@ async function rankReadyEntriesWithRelevance(rankedReady, childrenByParent, stat
|
|
|
3101
3323
|
author: callerAuthor,
|
|
3102
3324
|
enabled: process.env.PM_CONTEXT_USAGE_DISABLED !== "1"
|
|
3103
3325
|
});
|
|
3104
|
-
const ranking = await scoreContextCandidatesWithActiveExtensions("next", buildItemContextRelevanceCandidates(structuralReady.map((entry) => entry.item), statusRegistry, now, callerAuthor, usage.affinity));
|
|
3326
|
+
const ranking = await scoreContextCandidatesWithActiveExtensions("next", buildItemContextRelevanceCandidates(structuralReady.map((entry) => entry.item), { statusRegistry, now, author: callerAuthor, usageAffinity: usage.affinity }));
|
|
3105
3327
|
const packing = packRankedContextItems(ranking, tokenBudget, /* @__PURE__ */ new Set(), "next");
|
|
3106
3328
|
const readyById = new Map(structuralReady.map((entry) => [entry.item.id, entry]));
|
|
3107
3329
|
const projectedReady = ranking.ranked.map((entry) => readyById.get(entry.id)).filter((entry) => entry !== void 0);
|
|
@@ -3262,12 +3484,14 @@ function collectStaleVectorizationIds(items, ledgerEntries) {
|
|
|
3262
3484
|
}
|
|
3263
3485
|
|
|
3264
3486
|
export {
|
|
3487
|
+
runHistory,
|
|
3265
3488
|
runActivity,
|
|
3266
3489
|
resolveCalendarOutputFormat,
|
|
3267
3490
|
renderCalendarMarkdown,
|
|
3268
3491
|
renderCalendarToon,
|
|
3269
3492
|
runCalendar,
|
|
3270
3493
|
CONTEXT_RELEVANCE_SIGNAL_NAMES,
|
|
3494
|
+
buildItemContextRelevanceCandidates,
|
|
3271
3495
|
CONTEXT_RELEVANCE_SERVICE,
|
|
3272
3496
|
defaultScoreContextCandidates,
|
|
3273
3497
|
scoreContextCandidates,
|
|
@@ -3289,4 +3513,4 @@ export {
|
|
|
3289
3513
|
runNext,
|
|
3290
3514
|
renderNextMarkdown
|
|
3291
3515
|
};
|
|
3292
|
-
//# sourceMappingURL=chunk-
|
|
3516
|
+
//# sourceMappingURL=chunk-E2OJMKML.js.map
|