@unbrained/pm-cli 2026.7.8 → 2026.7.10
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 +30 -0
- package/README.md +1 -0
- package/dist/cli/bootstrap-args.js +6 -3
- package/dist/cli/bootstrap-args.js.map +1 -1
- package/dist/cli/commands/close.js +5 -2
- package/dist/cli/commands/close.js.map +1 -1
- package/dist/cli/commands/completion.js +8 -2
- package/dist/cli/commands/completion.js.map +1 -1
- package/dist/cli/commands/context.d.ts +23 -0
- package/dist/cli/commands/context.js +96 -7
- package/dist/cli/commands/context.js.map +1 -1
- package/dist/cli/commands/contracts.d.ts +11 -0
- package/dist/cli/commands/contracts.js +112 -15
- package/dist/cli/commands/contracts.js.map +1 -1
- package/dist/cli/commands/create.js +4 -2
- package/dist/cli/commands/create.js.map +1 -1
- package/dist/cli/commands/extension.d.ts +1 -1
- package/dist/cli/commands/extension.js +91 -32
- package/dist/cli/commands/extension.js.map +1 -1
- package/dist/cli/commands/init.d.ts +19 -3
- package/dist/cli/commands/init.js +57 -24
- package/dist/cli/commands/init.js.map +1 -1
- package/dist/cli/commands/list.d.ts +4 -0
- package/dist/cli/commands/list.js +32 -3
- package/dist/cli/commands/list.js.map +1 -1
- package/dist/cli/commands/next.d.ts +3 -1
- package/dist/cli/commands/next.js +19 -7
- package/dist/cli/commands/next.js.map +1 -1
- package/dist/cli/commands/update.d.ts +32 -1
- package/dist/cli/commands/update.js +37 -10
- package/dist/cli/commands/update.js.map +1 -1
- package/dist/cli/register-list-query.js +10 -4
- package/dist/cli/register-list-query.js.map +1 -1
- package/dist/cli/register-operations.js +4 -2
- package/dist/cli/register-operations.js.map +1 -1
- package/dist/cli/register-setup.js +11 -2
- package/dist/cli/register-setup.js.map +1 -1
- package/dist/cli/registration-helpers.js +4 -2
- package/dist/cli/registration-helpers.js.map +1 -1
- package/dist/cli-bundle/chunks/append-G7NGOQVU.js +11 -0
- package/dist/cli-bundle/chunks/{append-RSPHC423.js → append-SIECQAPH.js} +5 -5
- package/dist/cli-bundle/chunks/{chunk-CGDUIPJL.js → chunk-22PW73KV.js} +3 -3
- package/dist/cli-bundle/chunks/{chunk-ML27MHNM.js → chunk-2RW5DWHQ.js} +98 -22
- package/dist/cli-bundle/chunks/chunk-2RW5DWHQ.js.map +1 -0
- package/dist/cli-bundle/chunks/{chunk-GO2X6ZRB.js → chunk-35U3AVRY.js} +3 -3
- package/dist/cli-bundle/chunks/{chunk-4I7KS5ES.js → chunk-3JFQRPOI.js} +2 -2
- package/dist/cli-bundle/chunks/{chunk-NRMDT4OV.js → chunk-3THCOPYI.js} +4 -4
- package/dist/cli-bundle/chunks/{chunk-D6J5673C.js → chunk-4BINCIRM.js} +4 -4
- package/dist/cli-bundle/chunks/{chunk-D63PEJTB.js → chunk-4P2GYOM5.js} +7 -7
- package/dist/cli-bundle/chunks/{chunk-LHDHS4Z6.js → chunk-4QE5HOJY.js} +5 -5
- package/dist/cli-bundle/chunks/{chunk-5VAZHYVQ.js → chunk-56J3MPGE.js} +2 -2
- package/dist/cli-bundle/chunks/{chunk-UCRYCT5M.js → chunk-5BFBDJ4R.js} +38 -16
- package/dist/cli-bundle/chunks/chunk-5BFBDJ4R.js.map +1 -0
- package/dist/cli-bundle/chunks/{chunk-IINCZYM3.js → chunk-62ECRG6J.js} +3 -3
- package/dist/cli-bundle/chunks/{chunk-EYPIUFWJ.js → chunk-62KPBB2W.js} +10 -10
- package/dist/cli-bundle/chunks/{chunk-3FUXM574.js → chunk-6MK6M35B.js} +4 -4
- package/dist/cli-bundle/chunks/{chunk-XN5BEN2B.js → chunk-6PBZBIS6.js} +35 -8
- package/dist/cli-bundle/chunks/chunk-6PBZBIS6.js.map +1 -0
- package/dist/cli-bundle/chunks/{chunk-GQOKFX2G.js → chunk-6WIP52LQ.js} +8 -8
- package/dist/cli-bundle/chunks/{chunk-GLMJLBLR.js → chunk-75NAGPEL.js} +3 -3
- package/dist/cli-bundle/chunks/{chunk-6TD5QGIB.js → chunk-77CWXIAC.js} +4 -4
- package/dist/cli-bundle/chunks/{chunk-3FRNNVWY.js → chunk-7S2UC7S6.js} +427 -133
- package/dist/cli-bundle/chunks/chunk-7S2UC7S6.js.map +7 -0
- package/dist/cli-bundle/chunks/{chunk-PAWPLIWW.js → chunk-7THLDY3D.js} +5 -5
- package/dist/cli-bundle/chunks/{chunk-QJZM5WO5.js → chunk-7TRCAREE.js} +3 -3
- package/dist/cli-bundle/chunks/{chunk-EEJKHF7M.js → chunk-7TRVVYPI.js} +5 -5
- package/dist/cli-bundle/chunks/{chunk-PJPZTE7P.js → chunk-A62N3BM3.js} +8 -6
- package/dist/cli-bundle/chunks/chunk-A62N3BM3.js.map +7 -0
- package/dist/cli-bundle/chunks/{chunk-TU5P744I.js → chunk-A7DJG5EF.js} +55 -6
- package/dist/cli-bundle/chunks/chunk-A7DJG5EF.js.map +7 -0
- package/dist/cli-bundle/chunks/{chunk-ZMOPZFVT.js → chunk-AD4HJKQZ.js} +49 -7
- package/dist/cli-bundle/chunks/chunk-AD4HJKQZ.js.map +1 -0
- package/dist/cli-bundle/chunks/{chunk-7QKSLAHB.js → chunk-AIWGQK6K.js} +2 -2
- package/dist/cli-bundle/chunks/{chunk-P2WE5KCU.js → chunk-AKCHJXJ4.js} +7 -7
- package/dist/cli-bundle/chunks/{chunk-KFL3XHMA.js → chunk-AYPXY3HF.js} +2 -2
- package/dist/cli-bundle/chunks/{chunk-RL24NAUX.js → chunk-B7FCPO65.js} +4 -4
- package/dist/cli-bundle/chunks/{chunk-4OCWJ2AP.js → chunk-BC7QBM2A.js} +7 -7
- package/dist/cli-bundle/chunks/{chunk-LD2NBQ5T.js → chunk-BST7GFIX.js} +3 -3
- package/dist/cli-bundle/chunks/{chunk-GE44TQMC.js → chunk-CUBPPDDF.js} +145 -62
- package/dist/cli-bundle/chunks/chunk-CUBPPDDF.js.map +1 -0
- package/dist/cli-bundle/chunks/{chunk-FJR2S7S4.js → chunk-CYBW4HK7.js} +7 -7
- package/dist/cli-bundle/chunks/{chunk-7UCBLJDF.js → chunk-DDF7UMVV.js} +2 -2
- package/dist/cli-bundle/chunks/{chunk-YQEKE4FO.js → chunk-DLHFJZ2S.js} +7 -7
- package/dist/cli-bundle/chunks/{chunk-PCBZ2VJD.js → chunk-DMD2TENU.js} +4 -4
- package/dist/cli-bundle/chunks/{chunk-SCJPFQQT.js → chunk-DN67YDFH.js} +3 -3
- package/dist/cli-bundle/chunks/{chunk-7TBUV7XS.js → chunk-DNHILSD7.js} +4 -4
- package/dist/cli-bundle/chunks/{chunk-FFB3WITE.js → chunk-DT6NDP53.js} +3 -3
- package/dist/cli-bundle/chunks/{chunk-G4FKP4ID.js → chunk-DWGHHSDC.js} +9 -7
- package/dist/cli-bundle/chunks/chunk-DWGHHSDC.js.map +1 -0
- package/dist/cli-bundle/chunks/{chunk-3V5C7PUH.js → chunk-DYUAQVDK.js} +2 -2
- package/dist/cli-bundle/chunks/{chunk-MCH6IKK7.js → chunk-E2RJZQNW.js} +3 -3
- package/dist/cli-bundle/chunks/{chunk-6ZKDMEVT.js → chunk-ECXJ7OHI.js} +3 -3
- package/dist/cli-bundle/chunks/{chunk-LG4N6YOK.js → chunk-ESXG6VFX.js} +5 -5
- package/dist/cli-bundle/chunks/{chunk-TR2C6V5T.js → chunk-EXG6XTJC.js} +101 -25
- package/dist/cli-bundle/chunks/chunk-EXG6XTJC.js.map +7 -0
- package/dist/cli-bundle/chunks/{chunk-BPJ5NYSJ.js → chunk-F7UA74OZ.js} +54 -7
- package/dist/cli-bundle/chunks/chunk-F7UA74OZ.js.map +7 -0
- package/dist/cli-bundle/chunks/{chunk-GSQVQINP.js → chunk-FBD2WUNS.js} +4 -4
- package/dist/cli-bundle/chunks/{chunk-YSRXFGNV.js → chunk-FSD7W7Y2.js} +3 -3
- package/dist/cli-bundle/chunks/{chunk-JYVPLGOW.js → chunk-FWL5XVYI.js} +4 -4
- package/dist/cli-bundle/chunks/{chunk-KMXVZ2P7.js → chunk-FYMHD6VX.js} +122 -27
- package/dist/cli-bundle/chunks/chunk-FYMHD6VX.js.map +1 -0
- package/dist/cli-bundle/chunks/{chunk-SIQGG335.js → chunk-GMNCW27N.js} +7 -7
- package/dist/cli-bundle/chunks/{chunk-3SHDAKMF.js → chunk-GPPWUJMR.js} +3 -3
- package/dist/cli-bundle/chunks/{chunk-W2VFNVSJ.js → chunk-H3HKQXQJ.js} +3 -3
- package/dist/cli-bundle/chunks/{chunk-UIHDZS6X.js → chunk-HFQ7QQZL.js} +7 -7
- package/dist/cli-bundle/chunks/{chunk-Z6RLSNUX.js → chunk-HLUB7G6J.js} +3 -3
- package/dist/cli-bundle/chunks/{chunk-ASMRSIDX.js → chunk-HWUIK7YL.js} +121 -26
- package/dist/cli-bundle/chunks/chunk-HWUIK7YL.js.map +7 -0
- package/dist/cli-bundle/chunks/{chunk-U72GF3I2.js → chunk-INAZHXOI.js} +3 -3
- package/dist/cli-bundle/chunks/{chunk-INOWVPUD.js → chunk-J3ELHLOJ.js} +5 -5
- package/dist/cli-bundle/chunks/{chunk-2BVD4ZD2.js → chunk-J3FDNQWM.js} +4 -3
- package/dist/cli-bundle/chunks/chunk-J3FDNQWM.js.map +7 -0
- package/dist/cli-bundle/chunks/{chunk-UH6VFRV6.js → chunk-J3Z2JMDV.js} +3 -3
- package/dist/cli-bundle/chunks/{chunk-HI27UADG.js → chunk-JDEXIVKQ.js} +372 -20
- package/dist/cli-bundle/chunks/chunk-JDEXIVKQ.js.map +1 -0
- package/dist/cli-bundle/chunks/{chunk-MYHFZNBO.js → chunk-JFOBTM4D.js} +8 -8
- package/dist/cli-bundle/chunks/{chunk-J6AD3GWC.js → chunk-JNELC5UO.js} +2 -2
- package/dist/cli-bundle/chunks/{chunk-YUCKM3MD.js → chunk-JQ5NB6O2.js} +4 -4
- package/dist/cli-bundle/chunks/{chunk-3UXIMY62.js → chunk-KFC6X4PI.js} +3 -3
- package/dist/cli-bundle/chunks/{chunk-C3YU3TXX.js → chunk-L2SWAZ3S.js} +2 -2
- package/dist/cli-bundle/chunks/{chunk-QLEH6FTQ.js → chunk-LVVZLEW5.js} +4 -4
- package/dist/cli-bundle/chunks/{chunk-RFHLRMLQ.js → chunk-M66PC7JI.js} +3 -3
- package/dist/cli-bundle/chunks/{chunk-UVFJSKTF.js → chunk-M7DWRMNY.js} +10 -7
- package/dist/cli-bundle/chunks/chunk-M7DWRMNY.js.map +1 -0
- package/dist/cli-bundle/chunks/{chunk-UEATYUZW.js → chunk-M7JYEBPT.js} +2 -2
- package/dist/cli-bundle/chunks/{chunk-Z2JQH2MG.js → chunk-MQ632QRB.js} +2 -2
- package/dist/cli-bundle/chunks/{chunk-IYRG5AEC.js → chunk-N7N3PUUP.js} +7 -7
- package/dist/cli-bundle/chunks/{chunk-3YJDIJIE.js → chunk-NPJLTZQZ.js} +3 -3
- package/dist/cli-bundle/chunks/{chunk-TUDAYIO7.js → chunk-NQTIOKHL.js} +12 -10
- package/dist/cli-bundle/chunks/{chunk-TUDAYIO7.js.map → chunk-NQTIOKHL.js.map} +1 -1
- package/dist/cli-bundle/chunks/{chunk-BFNFTHWQ.js → chunk-O67XP4FD.js} +3 -3
- package/dist/cli-bundle/chunks/{chunk-XPSGJ4IV.js → chunk-OVYXSZOQ.js} +11 -9
- package/dist/cli-bundle/chunks/{chunk-XPSGJ4IV.js.map → chunk-OVYXSZOQ.js.map} +2 -2
- package/dist/cli-bundle/chunks/{chunk-FOJEBRDD.js → chunk-P7PDLLCE.js} +5 -5
- package/dist/cli-bundle/chunks/{chunk-SN5X5GTU.js → chunk-PEACKWHL.js} +4 -4
- package/dist/cli-bundle/chunks/{chunk-HZZ3AC27.js → chunk-PFRGQZG2.js} +3 -3
- package/dist/cli-bundle/chunks/{chunk-Q3CFSOQZ.js → chunk-PMU2OJ3N.js} +4 -4
- package/dist/cli-bundle/chunks/{chunk-5STY7NVM.js → chunk-PUMTJMMF.js} +4 -4
- package/dist/cli-bundle/chunks/{chunk-K52C6YPA.js → chunk-QTJCMK2S.js} +5 -5
- package/dist/cli-bundle/chunks/{chunk-6FU5BVRB.js → chunk-RAE2SLNO.js} +4 -4
- package/dist/cli-bundle/chunks/{chunk-YR5R4FMQ.js → chunk-RYA7QE7B.js} +10 -10
- package/dist/cli-bundle/chunks/{chunk-TTCJCKUJ.js → chunk-SL337EYZ.js} +379 -20
- package/dist/cli-bundle/chunks/chunk-SL337EYZ.js.map +7 -0
- package/dist/cli-bundle/chunks/{chunk-RDJXIAJB.js → chunk-SMKQFGDI.js} +9 -6
- package/dist/cli-bundle/chunks/chunk-SMKQFGDI.js.map +7 -0
- package/dist/cli-bundle/chunks/{chunk-UFNFHCAC.js → chunk-SWQMU4AD.js} +2 -2
- package/dist/cli-bundle/chunks/{chunk-MFLLULHU.js → chunk-TB2CZJAQ.js} +5 -4
- package/dist/cli-bundle/chunks/chunk-TB2CZJAQ.js.map +1 -0
- package/dist/cli-bundle/chunks/{chunk-WVEMZZCR.js → chunk-TEKAGPZV.js} +3 -3
- package/dist/cli-bundle/chunks/{chunk-JH5XDDYS.js → chunk-TM5E2IED.js} +5 -5
- package/dist/cli-bundle/chunks/{chunk-C6XSTACC.js → chunk-TTRL5GE6.js} +3 -3
- package/dist/cli-bundle/chunks/{chunk-AEOFBBWO.js → chunk-UA2VI62P.js} +3 -3
- package/dist/cli-bundle/chunks/{chunk-6RR4XM5H.js → chunk-UYK26VRP.js} +3 -3
- package/dist/cli-bundle/chunks/{chunk-CXH7EMSB.js → chunk-VBDQTL3Z.js} +3 -3
- package/dist/cli-bundle/chunks/{chunk-NGBWEYNY.js → chunk-W2FXYQ6D.js} +5 -5
- package/dist/cli-bundle/chunks/{chunk-UURYLDDC.js → chunk-WZ7EPGUX.js} +5 -5
- package/dist/cli-bundle/chunks/{chunk-2RADY7IB.js → chunk-XES6AVCK.js} +427 -126
- package/dist/cli-bundle/chunks/chunk-XES6AVCK.js.map +1 -0
- package/dist/cli-bundle/chunks/{chunk-QYZMZD4L.js → chunk-XVCB574W.js} +4 -4
- package/dist/cli-bundle/chunks/{chunk-F5DDGY6R.js → chunk-XWS3Z57Q.js} +3 -3
- package/dist/cli-bundle/chunks/{chunk-EP2CKDS7.js → chunk-XXJB4GLJ.js} +2 -2
- package/dist/cli-bundle/chunks/{chunk-NTOOEVJ4.js → chunk-Y5Q4FEE4.js} +47 -7
- package/dist/cli-bundle/chunks/chunk-Y5Q4FEE4.js.map +1 -0
- package/dist/cli-bundle/chunks/{chunk-DUBC6TI3.js → chunk-YA4B6P3L.js} +37 -15
- package/dist/cli-bundle/chunks/chunk-YA4B6P3L.js.map +7 -0
- package/dist/cli-bundle/chunks/{chunk-FL625JJM.js → chunk-Z3R2Z5KW.js} +145 -62
- package/dist/cli-bundle/chunks/chunk-Z3R2Z5KW.js.map +7 -0
- package/dist/cli-bundle/chunks/{chunk-RLHQ3G4M.js → chunk-Z5MFM54X.js} +34 -7
- package/dist/cli-bundle/chunks/chunk-Z5MFM54X.js.map +7 -0
- package/dist/cli-bundle/chunks/{chunk-6WCXSC5V.js → chunk-ZGDJA6WI.js} +5 -5
- package/dist/cli-bundle/chunks/{chunk-TKWTJGD6.js → chunk-ZIU35KME.js} +5 -5
- package/dist/cli-bundle/chunks/{chunk-YUMNZS3X.js → chunk-ZQ2KEWE7.js} +3 -3
- package/dist/cli-bundle/chunks/close-2NVUCJXV.js +12 -0
- package/dist/cli-bundle/chunks/{close-K6BFI3OX.js → close-BZPS37KL.js} +5 -5
- package/dist/cli-bundle/chunks/{close-many-6NBL3PM4.js → close-many-KKNCGLVR.js} +13 -13
- package/dist/cli-bundle/chunks/close-many-S5WKLWVO.js +22 -0
- package/dist/cli-bundle/chunks/{comments-PLFK5ZKK.js → comments-PV5XG342.js} +7 -7
- package/dist/cli-bundle/chunks/comments-XAM2ADHO.js +13 -0
- package/dist/cli-bundle/chunks/copy-OJ2YNJ7S.js +9 -0
- package/dist/cli-bundle/chunks/{copy-VH3L4MN2.js → copy-OZDYDQUG.js} +4 -4
- package/dist/cli-bundle/chunks/create-5O3QK3PX.js +25 -0
- package/dist/cli-bundle/chunks/{create-TRIBYORN.js → create-WGFKEJAK.js} +9 -9
- package/dist/cli-bundle/chunks/{delete-ZNXUNCZR.js → delete-NTYXFL7A.js} +4 -4
- package/dist/cli-bundle/chunks/delete-V7FPW6JL.js +10 -0
- package/dist/cli-bundle/chunks/{deps-CVDY7FFK.js → deps-7WVENNH3.js} +4 -4
- package/dist/cli-bundle/chunks/{deps-SZXQHV73.js → deps-Z6RD6RWW.js} +4 -4
- package/dist/cli-bundle/chunks/{docs-DR74ITCD.js → docs-2NIRGHAN.js} +6 -6
- package/dist/cli-bundle/chunks/docs-SOY2CMH3.js +14 -0
- package/dist/cli-bundle/chunks/{files-QEFQ2M3H.js → files-4OH2I663.js} +6 -6
- package/dist/cli-bundle/chunks/{files-H5YCA74Z.js → files-5KNAFW67.js} +6 -6
- package/dist/cli-bundle/chunks/{focus-55TRYSNA.js → focus-CLNZWWKW.js} +5 -5
- package/dist/cli-bundle/chunks/focus-JUKXZN3J.js +10 -0
- package/dist/cli-bundle/chunks/{history-compact-JJZ4EFL3.js → history-compact-R3T3XPD4.js} +9 -9
- package/dist/cli-bundle/chunks/history-compact-WKAKPLFQ.js +21 -0
- package/dist/cli-bundle/chunks/{history-redact-TPPUT3A5.js → history-redact-CLJDCBNF.js} +7 -7
- package/dist/cli-bundle/chunks/history-redact-Y67UDKD3.js +17 -0
- package/dist/cli-bundle/chunks/history-repair-2WLXWQAM.js +19 -0
- package/dist/cli-bundle/chunks/{history-repair-J7PIZ6ZP.js → history-repair-LNA7V2VI.js} +9 -9
- package/dist/cli-bundle/chunks/{learnings-KB6BT4NR.js → learnings-2L72KBOE.js} +7 -7
- package/dist/cli-bundle/chunks/learnings-PNK7WUWO.js +13 -0
- package/dist/cli-bundle/chunks/{notes-ZTHXVOKM.js → notes-USDIABZV.js} +7 -7
- package/dist/cli-bundle/chunks/notes-X4SWEJSB.js +13 -0
- package/dist/cli-bundle/chunks/plan-JU454RMZ.js +24 -0
- package/dist/cli-bundle/chunks/{plan-CJPKFRBK.js → plan-U4RWU56Z.js} +10 -10
- package/dist/cli-bundle/chunks/{profile-AQNHXOYA.js → profile-COBKZJUQ.js} +9 -9
- package/dist/cli-bundle/chunks/{profile-HTBFINKQ.js → profile-RKIRCXH7.js} +9 -9
- package/dist/cli-bundle/chunks/{register-list-query-EEF33SUJ.js → register-list-query-2VBANNFM.js} +20 -18
- package/dist/cli-bundle/chunks/register-list-query-2VBANNFM.js.map +1 -0
- package/dist/cli-bundle/chunks/{register-list-query-S4FBWIWN.js → register-list-query-4AZEKWZ5.js} +19 -17
- package/dist/cli-bundle/chunks/register-list-query-4AZEKWZ5.js.map +7 -0
- package/dist/cli-bundle/chunks/{register-mutation-QFLRBCI7.js → register-mutation-JGXTDEIZ.js} +29 -29
- package/dist/cli-bundle/chunks/{register-mutation-L5Q7AUDN.js → register-mutation-XVO4GGZI.js} +29 -29
- package/dist/cli-bundle/chunks/{register-operations-HDE4FVW4.js → register-operations-4EEFV5KJ.js} +30 -29
- package/dist/cli-bundle/chunks/register-operations-4EEFV5KJ.js.map +1 -0
- package/dist/cli-bundle/chunks/{register-operations-QDU43FCG.js → register-operations-UV25Z4BN.js} +29 -28
- package/dist/cli-bundle/chunks/register-operations-UV25Z4BN.js.map +7 -0
- package/dist/cli-bundle/chunks/{register-setup-EGMTAXDC.js → register-setup-MMXQQC5J.js} +27 -19
- package/dist/cli-bundle/chunks/register-setup-MMXQQC5J.js.map +1 -0
- package/dist/cli-bundle/chunks/{register-setup-PNIO3L2P.js → register-setup-NQE5MW63.js} +26 -18
- package/dist/cli-bundle/chunks/register-setup-NQE5MW63.js.map +7 -0
- package/dist/cli-bundle/chunks/restore-54HR2EYD.js +15 -0
- package/dist/cli-bundle/chunks/{restore-BTBEZ5CK.js → restore-BINCHJIY.js} +7 -7
- package/dist/cli-bundle/chunks/{schema-DGSTYYQB.js → schema-2JZNEQSG.js} +6 -6
- package/dist/cli-bundle/chunks/{schema-HAIBEE24.js → schema-VV3K5WZI.js} +6 -6
- package/dist/cli-bundle/chunks/{update-MP4XLU56.js → update-DK3GAY5D.js} +12 -12
- package/dist/cli-bundle/chunks/update-OIMRKTX6.js +21 -0
- package/dist/cli-bundle/chunks/update-many-5KI6MW76.js +31 -0
- package/dist/cli-bundle/chunks/update-many-IOLDHIZT.js +35 -0
- package/dist/cli-bundle/main.js +16 -54
- package/dist/cli-bundle/main.js.map +3 -3
- package/dist/cli-bundle/sdk-runtime.js +117 -53
- package/dist/cli-bundle/sdk-testing.js +6 -6
- package/dist/cli-bundle/sdk.js +142 -58
- package/dist/cli-bundle/sdk.js.map +3 -3
- package/dist/core/extensions/extension-types.d.ts +1 -1
- package/dist/core/extensions/extension-types.js +3 -2
- package/dist/core/extensions/extension-types.js.map +1 -1
- package/dist/core/extensions/index.d.ts +1 -0
- package/dist/core/extensions/index.js +3 -2
- package/dist/core/extensions/index.js.map +1 -1
- package/dist/core/store/front-matter-cache.d.ts +8 -0
- package/dist/core/store/front-matter-cache.js +22 -9
- package/dist/core/store/front-matter-cache.js.map +1 -1
- package/dist/sdk/cli-contracts/commander-mutation-options.js +4 -4
- package/dist/sdk/cli-contracts/commander-mutation-options.js.map +1 -1
- package/dist/sdk/cli-contracts/enum-contracts.d.ts +1 -1
- package/dist/sdk/cli-contracts/flag-contracts.js +10 -2
- package/dist/sdk/cli-contracts/flag-contracts.js.map +1 -1
- package/dist/sdk/cli-contracts/tool-option-contracts.js +10 -5
- package/dist/sdk/cli-contracts/tool-option-contracts.js.map +1 -1
- package/dist/sdk/cli-contracts/tool-parameter-tables.js +12 -4
- package/dist/sdk/cli-contracts/tool-parameter-tables.js.map +1 -1
- package/dist/sdk/cli-contracts/tool-schema.d.ts +4 -0
- package/dist/sdk/cli-contracts/tool-schema.js +66 -11
- package/dist/sdk/cli-contracts/tool-schema.js.map +1 -1
- package/dist/sdk/context-relevance.d.ts +166 -0
- package/dist/sdk/context-relevance.js +299 -0
- package/dist/sdk/context-relevance.js.map +1 -0
- package/dist/sdk/index.d.ts +2 -1
- package/dist/sdk/index.js +4 -3
- package/dist/sdk/index.js.map +1 -1
- package/dist/sdk/runtime.d.ts +340 -25
- package/dist/sdk/runtime.js +413 -25
- package/dist/sdk/runtime.js.map +1 -1
- package/docs/AGENT_GUIDE.md +3 -0
- package/docs/COMMANDS.md +17 -2
- package/docs/EXTENSIONS.md +3 -1
- package/docs/SDK.md +115 -0
- package/docs/TESTING.md +40 -1
- package/package.json +4 -2
- package/dist/cli-bundle/chunks/append-CDPAYYSB.js +0 -11
- package/dist/cli-bundle/chunks/chunk-2BVD4ZD2.js.map +0 -7
- package/dist/cli-bundle/chunks/chunk-2RADY7IB.js.map +0 -1
- package/dist/cli-bundle/chunks/chunk-3FRNNVWY.js.map +0 -7
- package/dist/cli-bundle/chunks/chunk-ASMRSIDX.js.map +0 -7
- package/dist/cli-bundle/chunks/chunk-BPJ5NYSJ.js.map +0 -7
- package/dist/cli-bundle/chunks/chunk-DUBC6TI3.js.map +0 -7
- package/dist/cli-bundle/chunks/chunk-FL625JJM.js.map +0 -7
- package/dist/cli-bundle/chunks/chunk-G4FKP4ID.js.map +0 -1
- package/dist/cli-bundle/chunks/chunk-GE44TQMC.js.map +0 -1
- package/dist/cli-bundle/chunks/chunk-HI27UADG.js.map +0 -1
- package/dist/cli-bundle/chunks/chunk-KMXVZ2P7.js.map +0 -1
- package/dist/cli-bundle/chunks/chunk-MFLLULHU.js.map +0 -1
- package/dist/cli-bundle/chunks/chunk-ML27MHNM.js.map +0 -1
- package/dist/cli-bundle/chunks/chunk-NTOOEVJ4.js.map +0 -1
- package/dist/cli-bundle/chunks/chunk-PJPZTE7P.js.map +0 -7
- package/dist/cli-bundle/chunks/chunk-RDJXIAJB.js.map +0 -7
- package/dist/cli-bundle/chunks/chunk-RLHQ3G4M.js.map +0 -7
- package/dist/cli-bundle/chunks/chunk-TR2C6V5T.js.map +0 -7
- package/dist/cli-bundle/chunks/chunk-TTCJCKUJ.js.map +0 -7
- package/dist/cli-bundle/chunks/chunk-TU5P744I.js.map +0 -7
- package/dist/cli-bundle/chunks/chunk-UCRYCT5M.js.map +0 -1
- package/dist/cli-bundle/chunks/chunk-UVFJSKTF.js.map +0 -1
- package/dist/cli-bundle/chunks/chunk-XN5BEN2B.js.map +0 -1
- package/dist/cli-bundle/chunks/chunk-ZMOPZFVT.js.map +0 -1
- package/dist/cli-bundle/chunks/close-E3RLZSP2.js +0 -12
- package/dist/cli-bundle/chunks/close-many-X4YKS3RO.js +0 -22
- package/dist/cli-bundle/chunks/comments-ZNOD5PTV.js +0 -13
- package/dist/cli-bundle/chunks/copy-F7BUFY4J.js +0 -9
- package/dist/cli-bundle/chunks/create-AMBMYP6F.js +0 -25
- package/dist/cli-bundle/chunks/delete-6KQHZYIP.js +0 -10
- package/dist/cli-bundle/chunks/docs-WCVYY6I7.js +0 -14
- package/dist/cli-bundle/chunks/focus-N2QGNS5D.js +0 -10
- package/dist/cli-bundle/chunks/history-compact-GWQ4UOEI.js +0 -21
- package/dist/cli-bundle/chunks/history-redact-4GJOLXCM.js +0 -17
- package/dist/cli-bundle/chunks/history-repair-HVCVCGUF.js +0 -19
- package/dist/cli-bundle/chunks/learnings-YYY3U2Y7.js +0 -13
- package/dist/cli-bundle/chunks/notes-BGG7VL72.js +0 -13
- package/dist/cli-bundle/chunks/plan-MK2QY3GA.js +0 -24
- package/dist/cli-bundle/chunks/register-list-query-EEF33SUJ.js.map +0 -1
- package/dist/cli-bundle/chunks/register-list-query-S4FBWIWN.js.map +0 -7
- package/dist/cli-bundle/chunks/register-operations-HDE4FVW4.js.map +0 -1
- package/dist/cli-bundle/chunks/register-operations-QDU43FCG.js.map +0 -7
- package/dist/cli-bundle/chunks/register-setup-EGMTAXDC.js.map +0 -1
- package/dist/cli-bundle/chunks/register-setup-PNIO3L2P.js.map +0 -7
- package/dist/cli-bundle/chunks/restore-EX4UUZL6.js +0 -15
- package/dist/cli-bundle/chunks/update-SDIRJGSY.js +0 -21
- package/dist/cli-bundle/chunks/update-many-34AIU6W7.js +0 -31
- package/dist/cli-bundle/chunks/update-many-JUPCNOKV.js +0 -35
- /package/dist/cli-bundle/chunks/{append-CDPAYYSB.js.map → append-G7NGOQVU.js.map} +0 -0
- /package/dist/cli-bundle/chunks/{append-RSPHC423.js.map → append-SIECQAPH.js.map} +0 -0
- /package/dist/cli-bundle/chunks/{chunk-CGDUIPJL.js.map → chunk-22PW73KV.js.map} +0 -0
- /package/dist/cli-bundle/chunks/{chunk-GO2X6ZRB.js.map → chunk-35U3AVRY.js.map} +0 -0
- /package/dist/cli-bundle/chunks/{chunk-4I7KS5ES.js.map → chunk-3JFQRPOI.js.map} +0 -0
- /package/dist/cli-bundle/chunks/{chunk-NRMDT4OV.js.map → chunk-3THCOPYI.js.map} +0 -0
- /package/dist/cli-bundle/chunks/{chunk-D6J5673C.js.map → chunk-4BINCIRM.js.map} +0 -0
- /package/dist/cli-bundle/chunks/{chunk-D63PEJTB.js.map → chunk-4P2GYOM5.js.map} +0 -0
- /package/dist/cli-bundle/chunks/{chunk-LHDHS4Z6.js.map → chunk-4QE5HOJY.js.map} +0 -0
- /package/dist/cli-bundle/chunks/{chunk-5VAZHYVQ.js.map → chunk-56J3MPGE.js.map} +0 -0
- /package/dist/cli-bundle/chunks/{chunk-IINCZYM3.js.map → chunk-62ECRG6J.js.map} +0 -0
- /package/dist/cli-bundle/chunks/{chunk-EYPIUFWJ.js.map → chunk-62KPBB2W.js.map} +0 -0
- /package/dist/cli-bundle/chunks/{chunk-3FUXM574.js.map → chunk-6MK6M35B.js.map} +0 -0
- /package/dist/cli-bundle/chunks/{chunk-GQOKFX2G.js.map → chunk-6WIP52LQ.js.map} +0 -0
- /package/dist/cli-bundle/chunks/{chunk-GLMJLBLR.js.map → chunk-75NAGPEL.js.map} +0 -0
- /package/dist/cli-bundle/chunks/{chunk-6TD5QGIB.js.map → chunk-77CWXIAC.js.map} +0 -0
- /package/dist/cli-bundle/chunks/{chunk-PAWPLIWW.js.map → chunk-7THLDY3D.js.map} +0 -0
- /package/dist/cli-bundle/chunks/{chunk-QJZM5WO5.js.map → chunk-7TRCAREE.js.map} +0 -0
- /package/dist/cli-bundle/chunks/{chunk-EEJKHF7M.js.map → chunk-7TRVVYPI.js.map} +0 -0
- /package/dist/cli-bundle/chunks/{chunk-7QKSLAHB.js.map → chunk-AIWGQK6K.js.map} +0 -0
- /package/dist/cli-bundle/chunks/{chunk-P2WE5KCU.js.map → chunk-AKCHJXJ4.js.map} +0 -0
- /package/dist/cli-bundle/chunks/{chunk-KFL3XHMA.js.map → chunk-AYPXY3HF.js.map} +0 -0
- /package/dist/cli-bundle/chunks/{chunk-RL24NAUX.js.map → chunk-B7FCPO65.js.map} +0 -0
- /package/dist/cli-bundle/chunks/{chunk-4OCWJ2AP.js.map → chunk-BC7QBM2A.js.map} +0 -0
- /package/dist/cli-bundle/chunks/{chunk-LD2NBQ5T.js.map → chunk-BST7GFIX.js.map} +0 -0
- /package/dist/cli-bundle/chunks/{chunk-FJR2S7S4.js.map → chunk-CYBW4HK7.js.map} +0 -0
- /package/dist/cli-bundle/chunks/{chunk-7UCBLJDF.js.map → chunk-DDF7UMVV.js.map} +0 -0
- /package/dist/cli-bundle/chunks/{chunk-YQEKE4FO.js.map → chunk-DLHFJZ2S.js.map} +0 -0
- /package/dist/cli-bundle/chunks/{chunk-PCBZ2VJD.js.map → chunk-DMD2TENU.js.map} +0 -0
- /package/dist/cli-bundle/chunks/{chunk-SCJPFQQT.js.map → chunk-DN67YDFH.js.map} +0 -0
- /package/dist/cli-bundle/chunks/{chunk-7TBUV7XS.js.map → chunk-DNHILSD7.js.map} +0 -0
- /package/dist/cli-bundle/chunks/{chunk-FFB3WITE.js.map → chunk-DT6NDP53.js.map} +0 -0
- /package/dist/cli-bundle/chunks/{chunk-3V5C7PUH.js.map → chunk-DYUAQVDK.js.map} +0 -0
- /package/dist/cli-bundle/chunks/{chunk-MCH6IKK7.js.map → chunk-E2RJZQNW.js.map} +0 -0
- /package/dist/cli-bundle/chunks/{chunk-6ZKDMEVT.js.map → chunk-ECXJ7OHI.js.map} +0 -0
- /package/dist/cli-bundle/chunks/{chunk-LG4N6YOK.js.map → chunk-ESXG6VFX.js.map} +0 -0
- /package/dist/cli-bundle/chunks/{chunk-GSQVQINP.js.map → chunk-FBD2WUNS.js.map} +0 -0
- /package/dist/cli-bundle/chunks/{chunk-YSRXFGNV.js.map → chunk-FSD7W7Y2.js.map} +0 -0
- /package/dist/cli-bundle/chunks/{chunk-JYVPLGOW.js.map → chunk-FWL5XVYI.js.map} +0 -0
- /package/dist/cli-bundle/chunks/{chunk-SIQGG335.js.map → chunk-GMNCW27N.js.map} +0 -0
- /package/dist/cli-bundle/chunks/{chunk-3SHDAKMF.js.map → chunk-GPPWUJMR.js.map} +0 -0
- /package/dist/cli-bundle/chunks/{chunk-W2VFNVSJ.js.map → chunk-H3HKQXQJ.js.map} +0 -0
- /package/dist/cli-bundle/chunks/{chunk-UIHDZS6X.js.map → chunk-HFQ7QQZL.js.map} +0 -0
- /package/dist/cli-bundle/chunks/{chunk-Z6RLSNUX.js.map → chunk-HLUB7G6J.js.map} +0 -0
- /package/dist/cli-bundle/chunks/{chunk-U72GF3I2.js.map → chunk-INAZHXOI.js.map} +0 -0
- /package/dist/cli-bundle/chunks/{chunk-INOWVPUD.js.map → chunk-J3ELHLOJ.js.map} +0 -0
- /package/dist/cli-bundle/chunks/{chunk-UH6VFRV6.js.map → chunk-J3Z2JMDV.js.map} +0 -0
- /package/dist/cli-bundle/chunks/{chunk-MYHFZNBO.js.map → chunk-JFOBTM4D.js.map} +0 -0
- /package/dist/cli-bundle/chunks/{chunk-J6AD3GWC.js.map → chunk-JNELC5UO.js.map} +0 -0
- /package/dist/cli-bundle/chunks/{chunk-YUCKM3MD.js.map → chunk-JQ5NB6O2.js.map} +0 -0
- /package/dist/cli-bundle/chunks/{chunk-3UXIMY62.js.map → chunk-KFC6X4PI.js.map} +0 -0
- /package/dist/cli-bundle/chunks/{chunk-C3YU3TXX.js.map → chunk-L2SWAZ3S.js.map} +0 -0
- /package/dist/cli-bundle/chunks/{chunk-QLEH6FTQ.js.map → chunk-LVVZLEW5.js.map} +0 -0
- /package/dist/cli-bundle/chunks/{chunk-RFHLRMLQ.js.map → chunk-M66PC7JI.js.map} +0 -0
- /package/dist/cli-bundle/chunks/{chunk-UEATYUZW.js.map → chunk-M7JYEBPT.js.map} +0 -0
- /package/dist/cli-bundle/chunks/{chunk-Z2JQH2MG.js.map → chunk-MQ632QRB.js.map} +0 -0
- /package/dist/cli-bundle/chunks/{chunk-IYRG5AEC.js.map → chunk-N7N3PUUP.js.map} +0 -0
- /package/dist/cli-bundle/chunks/{chunk-3YJDIJIE.js.map → chunk-NPJLTZQZ.js.map} +0 -0
- /package/dist/cli-bundle/chunks/{chunk-BFNFTHWQ.js.map → chunk-O67XP4FD.js.map} +0 -0
- /package/dist/cli-bundle/chunks/{chunk-FOJEBRDD.js.map → chunk-P7PDLLCE.js.map} +0 -0
- /package/dist/cli-bundle/chunks/{chunk-SN5X5GTU.js.map → chunk-PEACKWHL.js.map} +0 -0
- /package/dist/cli-bundle/chunks/{chunk-HZZ3AC27.js.map → chunk-PFRGQZG2.js.map} +0 -0
- /package/dist/cli-bundle/chunks/{chunk-Q3CFSOQZ.js.map → chunk-PMU2OJ3N.js.map} +0 -0
- /package/dist/cli-bundle/chunks/{chunk-5STY7NVM.js.map → chunk-PUMTJMMF.js.map} +0 -0
- /package/dist/cli-bundle/chunks/{chunk-K52C6YPA.js.map → chunk-QTJCMK2S.js.map} +0 -0
- /package/dist/cli-bundle/chunks/{chunk-6FU5BVRB.js.map → chunk-RAE2SLNO.js.map} +0 -0
- /package/dist/cli-bundle/chunks/{chunk-YR5R4FMQ.js.map → chunk-RYA7QE7B.js.map} +0 -0
- /package/dist/cli-bundle/chunks/{chunk-UFNFHCAC.js.map → chunk-SWQMU4AD.js.map} +0 -0
- /package/dist/cli-bundle/chunks/{chunk-WVEMZZCR.js.map → chunk-TEKAGPZV.js.map} +0 -0
- /package/dist/cli-bundle/chunks/{chunk-JH5XDDYS.js.map → chunk-TM5E2IED.js.map} +0 -0
- /package/dist/cli-bundle/chunks/{chunk-C6XSTACC.js.map → chunk-TTRL5GE6.js.map} +0 -0
- /package/dist/cli-bundle/chunks/{chunk-AEOFBBWO.js.map → chunk-UA2VI62P.js.map} +0 -0
- /package/dist/cli-bundle/chunks/{chunk-6RR4XM5H.js.map → chunk-UYK26VRP.js.map} +0 -0
- /package/dist/cli-bundle/chunks/{chunk-CXH7EMSB.js.map → chunk-VBDQTL3Z.js.map} +0 -0
- /package/dist/cli-bundle/chunks/{chunk-NGBWEYNY.js.map → chunk-W2FXYQ6D.js.map} +0 -0
- /package/dist/cli-bundle/chunks/{chunk-UURYLDDC.js.map → chunk-WZ7EPGUX.js.map} +0 -0
- /package/dist/cli-bundle/chunks/{chunk-QYZMZD4L.js.map → chunk-XVCB574W.js.map} +0 -0
- /package/dist/cli-bundle/chunks/{chunk-F5DDGY6R.js.map → chunk-XWS3Z57Q.js.map} +0 -0
- /package/dist/cli-bundle/chunks/{chunk-EP2CKDS7.js.map → chunk-XXJB4GLJ.js.map} +0 -0
- /package/dist/cli-bundle/chunks/{chunk-6WCXSC5V.js.map → chunk-ZGDJA6WI.js.map} +0 -0
- /package/dist/cli-bundle/chunks/{chunk-TKWTJGD6.js.map → chunk-ZIU35KME.js.map} +0 -0
- /package/dist/cli-bundle/chunks/{chunk-YUMNZS3X.js.map → chunk-ZQ2KEWE7.js.map} +0 -0
- /package/dist/cli-bundle/chunks/{close-E3RLZSP2.js.map → close-2NVUCJXV.js.map} +0 -0
- /package/dist/cli-bundle/chunks/{close-K6BFI3OX.js.map → close-BZPS37KL.js.map} +0 -0
- /package/dist/cli-bundle/chunks/{close-many-6NBL3PM4.js.map → close-many-KKNCGLVR.js.map} +0 -0
- /package/dist/cli-bundle/chunks/{close-many-X4YKS3RO.js.map → close-many-S5WKLWVO.js.map} +0 -0
- /package/dist/cli-bundle/chunks/{comments-PLFK5ZKK.js.map → comments-PV5XG342.js.map} +0 -0
- /package/dist/cli-bundle/chunks/{comments-ZNOD5PTV.js.map → comments-XAM2ADHO.js.map} +0 -0
- /package/dist/cli-bundle/chunks/{copy-F7BUFY4J.js.map → copy-OJ2YNJ7S.js.map} +0 -0
- /package/dist/cli-bundle/chunks/{copy-VH3L4MN2.js.map → copy-OZDYDQUG.js.map} +0 -0
- /package/dist/cli-bundle/chunks/{create-AMBMYP6F.js.map → create-5O3QK3PX.js.map} +0 -0
- /package/dist/cli-bundle/chunks/{create-TRIBYORN.js.map → create-WGFKEJAK.js.map} +0 -0
- /package/dist/cli-bundle/chunks/{delete-ZNXUNCZR.js.map → delete-NTYXFL7A.js.map} +0 -0
- /package/dist/cli-bundle/chunks/{delete-6KQHZYIP.js.map → delete-V7FPW6JL.js.map} +0 -0
- /package/dist/cli-bundle/chunks/{deps-CVDY7FFK.js.map → deps-7WVENNH3.js.map} +0 -0
- /package/dist/cli-bundle/chunks/{deps-SZXQHV73.js.map → deps-Z6RD6RWW.js.map} +0 -0
- /package/dist/cli-bundle/chunks/{docs-DR74ITCD.js.map → docs-2NIRGHAN.js.map} +0 -0
- /package/dist/cli-bundle/chunks/{docs-WCVYY6I7.js.map → docs-SOY2CMH3.js.map} +0 -0
- /package/dist/cli-bundle/chunks/{files-QEFQ2M3H.js.map → files-4OH2I663.js.map} +0 -0
- /package/dist/cli-bundle/chunks/{files-H5YCA74Z.js.map → files-5KNAFW67.js.map} +0 -0
- /package/dist/cli-bundle/chunks/{focus-55TRYSNA.js.map → focus-CLNZWWKW.js.map} +0 -0
- /package/dist/cli-bundle/chunks/{focus-N2QGNS5D.js.map → focus-JUKXZN3J.js.map} +0 -0
- /package/dist/cli-bundle/chunks/{history-compact-JJZ4EFL3.js.map → history-compact-R3T3XPD4.js.map} +0 -0
- /package/dist/cli-bundle/chunks/{history-compact-GWQ4UOEI.js.map → history-compact-WKAKPLFQ.js.map} +0 -0
- /package/dist/cli-bundle/chunks/{history-redact-TPPUT3A5.js.map → history-redact-CLJDCBNF.js.map} +0 -0
- /package/dist/cli-bundle/chunks/{history-redact-4GJOLXCM.js.map → history-redact-Y67UDKD3.js.map} +0 -0
- /package/dist/cli-bundle/chunks/{history-repair-HVCVCGUF.js.map → history-repair-2WLXWQAM.js.map} +0 -0
- /package/dist/cli-bundle/chunks/{history-repair-J7PIZ6ZP.js.map → history-repair-LNA7V2VI.js.map} +0 -0
- /package/dist/cli-bundle/chunks/{learnings-KB6BT4NR.js.map → learnings-2L72KBOE.js.map} +0 -0
- /package/dist/cli-bundle/chunks/{learnings-YYY3U2Y7.js.map → learnings-PNK7WUWO.js.map} +0 -0
- /package/dist/cli-bundle/chunks/{notes-ZTHXVOKM.js.map → notes-USDIABZV.js.map} +0 -0
- /package/dist/cli-bundle/chunks/{notes-BGG7VL72.js.map → notes-X4SWEJSB.js.map} +0 -0
- /package/dist/cli-bundle/chunks/{plan-MK2QY3GA.js.map → plan-JU454RMZ.js.map} +0 -0
- /package/dist/cli-bundle/chunks/{plan-CJPKFRBK.js.map → plan-U4RWU56Z.js.map} +0 -0
- /package/dist/cli-bundle/chunks/{profile-AQNHXOYA.js.map → profile-COBKZJUQ.js.map} +0 -0
- /package/dist/cli-bundle/chunks/{profile-HTBFINKQ.js.map → profile-RKIRCXH7.js.map} +0 -0
- /package/dist/cli-bundle/chunks/{register-mutation-QFLRBCI7.js.map → register-mutation-JGXTDEIZ.js.map} +0 -0
- /package/dist/cli-bundle/chunks/{register-mutation-L5Q7AUDN.js.map → register-mutation-XVO4GGZI.js.map} +0 -0
- /package/dist/cli-bundle/chunks/{restore-EX4UUZL6.js.map → restore-54HR2EYD.js.map} +0 -0
- /package/dist/cli-bundle/chunks/{restore-BTBEZ5CK.js.map → restore-BINCHJIY.js.map} +0 -0
- /package/dist/cli-bundle/chunks/{schema-DGSTYYQB.js.map → schema-2JZNEQSG.js.map} +0 -0
- /package/dist/cli-bundle/chunks/{schema-HAIBEE24.js.map → schema-VV3K5WZI.js.map} +0 -0
- /package/dist/cli-bundle/chunks/{update-MP4XLU56.js.map → update-DK3GAY5D.js.map} +0 -0
- /package/dist/cli-bundle/chunks/{update-SDIRJGSY.js.map → update-OIMRKTX6.js.map} +0 -0
- /package/dist/cli-bundle/chunks/{update-many-34AIU6W7.js.map → update-many-5KI6MW76.js.map} +0 -0
- /package/dist/cli-bundle/chunks/{update-many-JUPCNOKV.js.map → update-many-IOLDHIZT.js.map} +0 -0
|
@@ -1,18 +1,18 @@
|
|
|
1
1
|
import {
|
|
2
2
|
runFiles,
|
|
3
3
|
runFilesDiscover
|
|
4
|
-
} from "./chunk-
|
|
4
|
+
} from "./chunk-4BINCIRM.js";
|
|
5
5
|
import {
|
|
6
6
|
runDocs
|
|
7
|
-
} from "./chunk-
|
|
7
|
+
} from "./chunk-AYPXY3HF.js";
|
|
8
8
|
import {
|
|
9
9
|
runDeps
|
|
10
|
-
} from "./chunk-
|
|
10
|
+
} from "./chunk-E2RJZQNW.js";
|
|
11
11
|
import {
|
|
12
12
|
assertHistoryRepairTarget,
|
|
13
13
|
runHistoryRepair,
|
|
14
14
|
runHistoryRepairAll
|
|
15
|
-
} from "./chunk-
|
|
15
|
+
} from "./chunk-CYBW4HK7.js";
|
|
16
16
|
import {
|
|
17
17
|
resolveStartTaskInProgressStatus,
|
|
18
18
|
runClaim,
|
|
@@ -25,67 +25,67 @@ import {
|
|
|
25
25
|
runTest,
|
|
26
26
|
runTestAll,
|
|
27
27
|
runValidate
|
|
28
|
-
} from "./chunk-
|
|
28
|
+
} from "./chunk-HWUIK7YL.js";
|
|
29
29
|
import {
|
|
30
30
|
runComments
|
|
31
|
-
} from "./chunk-
|
|
31
|
+
} from "./chunk-7TRVVYPI.js";
|
|
32
32
|
import {
|
|
33
33
|
runCopy
|
|
34
|
-
} from "./chunk-
|
|
34
|
+
} from "./chunk-DT6NDP53.js";
|
|
35
35
|
import {
|
|
36
36
|
runFocus
|
|
37
|
-
} from "./chunk-
|
|
37
|
+
} from "./chunk-DNHILSD7.js";
|
|
38
38
|
import {
|
|
39
39
|
runDelete
|
|
40
|
-
} from "./chunk-
|
|
40
|
+
} from "./chunk-J3Z2JMDV.js";
|
|
41
41
|
import {
|
|
42
42
|
runAppend
|
|
43
|
-
} from "./chunk-
|
|
43
|
+
} from "./chunk-FBD2WUNS.js";
|
|
44
44
|
import {
|
|
45
45
|
runProfileApply,
|
|
46
46
|
runProfileLint,
|
|
47
47
|
runProfileList,
|
|
48
48
|
runProfileShow
|
|
49
|
-
} from "./chunk-
|
|
49
|
+
} from "./chunk-JFOBTM4D.js";
|
|
50
50
|
import {
|
|
51
51
|
runNotes
|
|
52
|
-
} from "./chunk-
|
|
52
|
+
} from "./chunk-7TRCAREE.js";
|
|
53
53
|
import {
|
|
54
54
|
runLearnings
|
|
55
|
-
} from "./chunk-
|
|
55
|
+
} from "./chunk-TEKAGPZV.js";
|
|
56
56
|
import {
|
|
57
57
|
runCloseMany
|
|
58
|
-
} from "./chunk-
|
|
58
|
+
} from "./chunk-DLHFJZ2S.js";
|
|
59
59
|
import {
|
|
60
60
|
runUpdateMany
|
|
61
|
-
} from "./chunk-
|
|
61
|
+
} from "./chunk-62KPBB2W.js";
|
|
62
62
|
import {
|
|
63
63
|
runRestore
|
|
64
|
-
} from "./chunk-
|
|
64
|
+
} from "./chunk-W2FXYQ6D.js";
|
|
65
65
|
import {
|
|
66
66
|
runUpdate
|
|
67
|
-
} from "./chunk-
|
|
67
|
+
} from "./chunk-YA4B6P3L.js";
|
|
68
68
|
import {
|
|
69
69
|
runClose
|
|
70
|
-
} from "./chunk-
|
|
70
|
+
} from "./chunk-SMKQFGDI.js";
|
|
71
71
|
import {
|
|
72
72
|
runPlan
|
|
73
|
-
} from "./chunk-
|
|
73
|
+
} from "./chunk-PEACKWHL.js";
|
|
74
74
|
import {
|
|
75
75
|
runHistoryCompact
|
|
76
|
-
} from "./chunk-
|
|
76
|
+
} from "./chunk-HFQ7QQZL.js";
|
|
77
77
|
import {
|
|
78
78
|
runHistoryRedact
|
|
79
|
-
} from "./chunk-
|
|
79
|
+
} from "./chunk-QTJCMK2S.js";
|
|
80
80
|
import {
|
|
81
81
|
runConfig,
|
|
82
82
|
runUpgrade
|
|
83
|
-
} from "./chunk-
|
|
83
|
+
} from "./chunk-AKCHJXJ4.js";
|
|
84
84
|
import {
|
|
85
85
|
SCAFFOLD_CAPABILITIES,
|
|
86
86
|
runExtension,
|
|
87
87
|
runInit
|
|
88
|
-
} from "./chunk-
|
|
88
|
+
} from "./chunk-Z3R2Z5KW.js";
|
|
89
89
|
import {
|
|
90
90
|
runSchemaAddField,
|
|
91
91
|
runSchemaAddStatus,
|
|
@@ -100,7 +100,7 @@ import {
|
|
|
100
100
|
runSchemaShow,
|
|
101
101
|
runSchemaShowField,
|
|
102
102
|
runSchemaShowStatus
|
|
103
|
-
} from "./chunk-
|
|
103
|
+
} from "./chunk-WZ7EPGUX.js";
|
|
104
104
|
import {
|
|
105
105
|
jaccardSimilarity,
|
|
106
106
|
normalizeLowercaseWhitespace,
|
|
@@ -111,17 +111,17 @@ import {
|
|
|
111
111
|
runNext,
|
|
112
112
|
runSearch,
|
|
113
113
|
tokenizeAlphaNumeric
|
|
114
|
-
} from "./chunk-
|
|
114
|
+
} from "./chunk-SL337EYZ.js";
|
|
115
115
|
import {
|
|
116
116
|
buildListQueryFilters,
|
|
117
117
|
runList
|
|
118
|
-
} from "./chunk-
|
|
118
|
+
} from "./chunk-Z5MFM54X.js";
|
|
119
119
|
import {
|
|
120
120
|
runHistory
|
|
121
|
-
} from "./chunk-
|
|
121
|
+
} from "./chunk-4QE5HOJY.js";
|
|
122
122
|
import {
|
|
123
123
|
parseIntegerLimit
|
|
124
|
-
} from "./chunk-
|
|
124
|
+
} from "./chunk-O67XP4FD.js";
|
|
125
125
|
import {
|
|
126
126
|
resolveRegisteredSearchProvider,
|
|
127
127
|
resolveRegisteredVectorStoreAdapter
|
|
@@ -148,7 +148,7 @@ import {
|
|
|
148
148
|
resolveSettingsWithSemanticRuntimeDefaults,
|
|
149
149
|
resolveVectorStores,
|
|
150
150
|
writeVectorizationStatusLedger
|
|
151
|
-
} from "./chunk-
|
|
151
|
+
} from "./chunk-A62N3BM3.js";
|
|
152
152
|
import {
|
|
153
153
|
ACTIVITY_FLAG_CONTRACTS,
|
|
154
154
|
AGGREGATE_FLAG_CONTRACTS,
|
|
@@ -181,19 +181,19 @@ import {
|
|
|
181
181
|
UPDATE_FLAG_CONTRACTS,
|
|
182
182
|
UPDATE_MANY_FLAG_CONTRACTS,
|
|
183
183
|
toCompletionFlagString
|
|
184
|
-
} from "./chunk-
|
|
184
|
+
} from "./chunk-EXG6XTJC.js";
|
|
185
185
|
import {
|
|
186
186
|
runCreate
|
|
187
|
-
} from "./chunk-
|
|
187
|
+
} from "./chunk-OVYXSZOQ.js";
|
|
188
188
|
import {
|
|
189
189
|
parseTags
|
|
190
|
-
} from "./chunk-
|
|
190
|
+
} from "./chunk-22PW73KV.js";
|
|
191
191
|
import {
|
|
192
192
|
splitCommaList
|
|
193
193
|
} from "./chunk-5HIZDR5A.js";
|
|
194
194
|
import {
|
|
195
195
|
projectMutationResult
|
|
196
|
-
} from "./chunk-
|
|
196
|
+
} from "./chunk-TTRL5GE6.js";
|
|
197
197
|
import {
|
|
198
198
|
PmCliError,
|
|
199
199
|
acquireLock,
|
|
@@ -201,6 +201,7 @@ import {
|
|
|
201
201
|
collectRegisteredItemFieldNames,
|
|
202
202
|
compareTimestampStrings,
|
|
203
203
|
createHistoryEntry,
|
|
204
|
+
createSerialQueue,
|
|
204
205
|
getActiveExtensionRegistrations,
|
|
205
206
|
isTerminalStatus,
|
|
206
207
|
listAllDocumentCandidatesCached,
|
|
@@ -222,7 +223,7 @@ import {
|
|
|
222
223
|
setActiveExtensionRenderers,
|
|
223
224
|
setActiveExtensionServices,
|
|
224
225
|
toItemRecord
|
|
225
|
-
} from "./chunk-
|
|
226
|
+
} from "./chunk-F7UA74OZ.js";
|
|
226
227
|
import {
|
|
227
228
|
BUILTIN_ITEM_TYPE_VALUES,
|
|
228
229
|
EXIT_CODE,
|
|
@@ -249,7 +250,7 @@ import {
|
|
|
249
250
|
toErrorMessage,
|
|
250
251
|
toNonEmptyStringOrUndefined,
|
|
251
252
|
writeFileAtomic
|
|
252
|
-
} from "./chunk-
|
|
253
|
+
} from "./chunk-J3FDNQWM.js";
|
|
253
254
|
|
|
254
255
|
// dist/sdk/runtime.js
|
|
255
256
|
import path3 from "node:path";
|
|
@@ -292,43 +293,6 @@ function withQuerySummary(result, options) {
|
|
|
292
293
|
};
|
|
293
294
|
}
|
|
294
295
|
|
|
295
|
-
// dist/core/shared/serial-queue.js
|
|
296
|
-
!(function() {
|
|
297
|
-
try {
|
|
298
|
-
var e = "undefined" != typeof window ? window : "undefined" != typeof global ? global : "undefined" != typeof globalThis ? globalThis : "undefined" != typeof self ? self : {}, n = new e.Error().stack;
|
|
299
|
-
n && (e._sentryDebugIds = e._sentryDebugIds || {}, e._sentryDebugIds[n] = "76b8d242-9348-5daf-9085-901aa5f84197");
|
|
300
|
-
} catch (e2) {
|
|
301
|
-
}
|
|
302
|
-
})();
|
|
303
|
-
function createSerialQueue() {
|
|
304
|
-
let tail = Promise.resolve();
|
|
305
|
-
let pending = 0;
|
|
306
|
-
const idleWaiters = [];
|
|
307
|
-
const notifyIdle = () => {
|
|
308
|
-
if (pending !== 0) {
|
|
309
|
-
return;
|
|
310
|
-
}
|
|
311
|
-
const waiters = idleWaiters.splice(0);
|
|
312
|
-
for (const resolve of waiters) {
|
|
313
|
-
resolve();
|
|
314
|
-
}
|
|
315
|
-
};
|
|
316
|
-
return {
|
|
317
|
-
enqueue(task) {
|
|
318
|
-
pending++;
|
|
319
|
-
const run = tail.then(() => task());
|
|
320
|
-
tail = run.then(() => void 0, () => void 0).finally(() => {
|
|
321
|
-
pending--;
|
|
322
|
-
notifyIdle();
|
|
323
|
-
});
|
|
324
|
-
return run;
|
|
325
|
-
},
|
|
326
|
-
idle() {
|
|
327
|
-
return pending === 0 ? Promise.resolve() : new Promise((resolve) => idleWaiters.push(resolve));
|
|
328
|
-
}
|
|
329
|
-
};
|
|
330
|
-
}
|
|
331
|
-
|
|
332
296
|
// dist/sdk/workspace-contracts-cache.js
|
|
333
297
|
!(function() {
|
|
334
298
|
try {
|
|
@@ -1186,11 +1150,11 @@ function toExcerpt(content, maxLines, maxCharacters) {
|
|
|
1186
1150
|
async function renderGuideDocs(topic, depth, packageRoot) {
|
|
1187
1151
|
const includeContent = depth !== "brief";
|
|
1188
1152
|
const contentMode = includeContent ? depth === "deep" ? "full" : "excerpt" : "none";
|
|
1189
|
-
const
|
|
1153
|
+
const docs2 = [];
|
|
1190
1154
|
for (const doc of topic.docs) {
|
|
1191
1155
|
const absolutePath = path.resolve(packageRoot, doc.path);
|
|
1192
1156
|
if (!includeContent) {
|
|
1193
|
-
|
|
1157
|
+
docs2.push({
|
|
1194
1158
|
path: doc.path,
|
|
1195
1159
|
purpose: doc.purpose,
|
|
1196
1160
|
optional: doc.optional === true,
|
|
@@ -1206,7 +1170,7 @@ async function renderGuideDocs(topic, depth, packageRoot) {
|
|
|
1206
1170
|
const rawContent = await readFile(absolutePath, "utf8");
|
|
1207
1171
|
if (depth === "deep") {
|
|
1208
1172
|
const normalized = normalizeLineEndings(rawContent).trimEnd();
|
|
1209
|
-
|
|
1173
|
+
docs2.push({
|
|
1210
1174
|
path: doc.path,
|
|
1211
1175
|
purpose: doc.purpose,
|
|
1212
1176
|
optional: doc.optional === true,
|
|
@@ -1218,7 +1182,7 @@ async function renderGuideDocs(topic, depth, packageRoot) {
|
|
|
1218
1182
|
});
|
|
1219
1183
|
} else {
|
|
1220
1184
|
const excerpt = toExcerpt(rawContent, 120, 12e3);
|
|
1221
|
-
|
|
1185
|
+
docs2.push({
|
|
1222
1186
|
path: doc.path,
|
|
1223
1187
|
purpose: doc.purpose,
|
|
1224
1188
|
optional: doc.optional === true,
|
|
@@ -1232,7 +1196,7 @@ async function renderGuideDocs(topic, depth, packageRoot) {
|
|
|
1232
1196
|
} catch (error) {
|
|
1233
1197
|
const code = error?.code;
|
|
1234
1198
|
const missing = code === "ENOENT";
|
|
1235
|
-
|
|
1199
|
+
docs2.push({
|
|
1236
1200
|
path: doc.path,
|
|
1237
1201
|
purpose: doc.purpose,
|
|
1238
1202
|
optional: doc.optional === true,
|
|
@@ -1247,7 +1211,7 @@ async function renderGuideDocs(topic, depth, packageRoot) {
|
|
|
1247
1211
|
}
|
|
1248
1212
|
}
|
|
1249
1213
|
}
|
|
1250
|
-
return
|
|
1214
|
+
return docs2;
|
|
1251
1215
|
}
|
|
1252
1216
|
function buildGuideIndex(depth) {
|
|
1253
1217
|
const topics = listGuideTopics().map((topic) => ({
|
|
@@ -1290,15 +1254,15 @@ async function runGuide(options, global2) {
|
|
|
1290
1254
|
}
|
|
1291
1255
|
const topic = ensureGuideTopic(topicRaw);
|
|
1292
1256
|
const packageRoot = resolvePackageRoot();
|
|
1293
|
-
const
|
|
1294
|
-
const warnings =
|
|
1257
|
+
const docs2 = await renderGuideDocs(topic, depth, packageRoot);
|
|
1258
|
+
const warnings = docs2.filter((doc) => !doc.exists && !doc.optional).map((doc) => `Missing required guide document: ${doc.path}`);
|
|
1295
1259
|
return {
|
|
1296
1260
|
output_default: "toon",
|
|
1297
1261
|
mode: "topic",
|
|
1298
1262
|
depth,
|
|
1299
1263
|
requested_topic: topicRaw,
|
|
1300
1264
|
topic,
|
|
1301
|
-
docs,
|
|
1265
|
+
docs: docs2,
|
|
1302
1266
|
warnings
|
|
1303
1267
|
};
|
|
1304
1268
|
}
|
|
@@ -1378,7 +1342,7 @@ function renderGuideMarkdown(result) {
|
|
|
1378
1342
|
!(function() {
|
|
1379
1343
|
try {
|
|
1380
1344
|
var e = "undefined" != typeof window ? window : "undefined" != typeof global ? global : "undefined" != typeof globalThis ? globalThis : "undefined" != typeof self ? self : {}, n = new e.Error().stack;
|
|
1381
|
-
n && (e._sentryDebugIds = e._sentryDebugIds || {}, e._sentryDebugIds[n] = "
|
|
1345
|
+
n && (e._sentryDebugIds = e._sentryDebugIds || {}, e._sentryDebugIds[n] = "470e1fde-dbda-54fe-b821-9175c37b1cd3");
|
|
1382
1346
|
} catch (e2) {
|
|
1383
1347
|
}
|
|
1384
1348
|
})();
|
|
@@ -2064,6 +2028,8 @@ _pm() {
|
|
|
2064
2028
|
'--priority[Filter by priority]:(0 1 2 3 4)' \\
|
|
2065
2029
|
'--deadline-before[Filter by deadline upper bound (ISO/date string or relative)]:date' \\
|
|
2066
2030
|
'--deadline-after[Filter by deadline lower bound (ISO/date string or relative)]:date' \\
|
|
2031
|
+
'--today[Filter to items updated since local midnight today]' \\
|
|
2032
|
+
'--recent[Filter to items updated in the last 7 days]' \\
|
|
2067
2033
|
'--updated-after[Filter by updated_at lower bound (ISO/relative)]:timestamp' \\
|
|
2068
2034
|
'--updated-before[Filter by updated_at upper bound (ISO/relative)]:timestamp' \\
|
|
2069
2035
|
'--created-after[Filter by created_at lower bound (ISO/relative)]:timestamp' \\
|
|
@@ -2566,6 +2532,7 @@ ${zshSearchRuntimeFieldFlags} '--json[Output JSON]' \\
|
|
|
2566
2532
|
_arguments \\
|
|
2567
2533
|
'--action[Filter schema by tool action]:action' \\
|
|
2568
2534
|
'--command[Scope output to one command (narrow-by-default)]:command' \\
|
|
2535
|
+
'--summary[Return compact command intent summary]' \\
|
|
2569
2536
|
'--schema-only[Return schema-only payload]' \\
|
|
2570
2537
|
'--flags-only[Return command flag contracts only]' \\
|
|
2571
2538
|
'--availability-only[Return action availability only]' \\
|
|
@@ -3041,6 +3008,8 @@ for list_cmd in ${listCmds}
|
|
|
3041
3008
|
complete -c pm -n "__fish_seen_subcommand_from $list_cmd" -l stream -d 'Emit line-delimited JSON rows (requires --json)'
|
|
3042
3009
|
complete -c pm -n "__fish_seen_subcommand_from $list_cmd" -l deadline-before -d 'Filter by deadline upper bound (ISO/date string or relative)' -r
|
|
3043
3010
|
complete -c pm -n "__fish_seen_subcommand_from $list_cmd" -l deadline-after -d 'Filter by deadline lower bound (ISO/date string or relative)' -r
|
|
3011
|
+
complete -c pm -n "__fish_seen_subcommand_from $list_cmd" -l today -d 'Filter to items updated since local midnight today'
|
|
3012
|
+
complete -c pm -n "__fish_seen_subcommand_from $list_cmd" -l recent -d 'Filter to items updated in the last 7 days'
|
|
3044
3013
|
complete -c pm -n "__fish_seen_subcommand_from $list_cmd" -l updated-after -d 'Filter by updated_at lower bound (ISO/relative)' -r
|
|
3045
3014
|
complete -c pm -n "__fish_seen_subcommand_from $list_cmd" -l updated-before -d 'Filter by updated_at upper bound (ISO/relative)' -r
|
|
3046
3015
|
complete -c pm -n "__fish_seen_subcommand_from $list_cmd" -l created-after -d 'Filter by created_at lower bound (ISO/relative)' -r
|
|
@@ -3535,6 +3504,7 @@ complete -c pm -n '__fish_seen_subcommand_from activity' -l full -d 'Show full a
|
|
|
3535
3504
|
complete -c pm -n '__fish_seen_subcommand_from activity' -l stream -d 'Emit line-delimited JSON rows'
|
|
3536
3505
|
complete -c pm -n '__fish_seen_subcommand_from contracts' -l action -d 'Filter schema by tool action' -r
|
|
3537
3506
|
complete -c pm -n '__fish_seen_subcommand_from contracts' -l command -d 'Scope output to one command (narrow-by-default)' -r
|
|
3507
|
+
complete -c pm -n '__fish_seen_subcommand_from contracts' -l summary -d 'Return compact command intent summary'
|
|
3538
3508
|
complete -c pm -n '__fish_seen_subcommand_from contracts' -l schema-only -d 'Return schema-only payload'
|
|
3539
3509
|
complete -c pm -n '__fish_seen_subcommand_from contracts' -l flags-only -d 'Return command flag contracts only'
|
|
3540
3510
|
complete -c pm -n '__fish_seen_subcommand_from contracts' -l availability-only -d 'Return action availability only'
|
|
@@ -4025,7 +3995,7 @@ function resolveCommentsAuditLimits(options) {
|
|
|
4025
3995
|
};
|
|
4026
3996
|
}
|
|
4027
3997
|
function toCommentsAuditEntry(item, latest) {
|
|
4028
|
-
const
|
|
3998
|
+
const comments2 = item.comments ?? [];
|
|
4029
3999
|
return {
|
|
4030
4000
|
id: item.id,
|
|
4031
4001
|
title: item.title,
|
|
@@ -4033,8 +4003,8 @@ function toCommentsAuditEntry(item, latest) {
|
|
|
4033
4003
|
status: item.status,
|
|
4034
4004
|
assignee: item.assignee ?? null,
|
|
4035
4005
|
updated_at: item.updated_at,
|
|
4036
|
-
comment_count:
|
|
4037
|
-
comments: latest === void 0 ?
|
|
4006
|
+
comment_count: comments2.length,
|
|
4007
|
+
comments: latest === void 0 ? comments2 : limitComments(comments2, latest)
|
|
4038
4008
|
};
|
|
4039
4009
|
}
|
|
4040
4010
|
function buildCommentsAuditFilters(options, status, limitItems, latest, fullHistory) {
|
|
@@ -4925,15 +4895,15 @@ function parseMode2(raw) {
|
|
|
4925
4895
|
}
|
|
4926
4896
|
throw new PmCliError("Reindex mode must be one of keyword|semantic|hybrid", EXIT_CODE.USAGE);
|
|
4927
4897
|
}
|
|
4928
|
-
async function loadDocumentCandidates(pmRoot, itemFormat, typeToFolder,
|
|
4898
|
+
async function loadDocumentCandidates(pmRoot, itemFormat, typeToFolder, schema2) {
|
|
4929
4899
|
const warnings = [];
|
|
4930
|
-
const candidates = await listAllDocumentCandidatesCached(pmRoot, itemFormat, typeToFolder, warnings,
|
|
4900
|
+
const candidates = await listAllDocumentCandidatesCached(pmRoot, itemFormat, typeToFolder, warnings, schema2);
|
|
4931
4901
|
return {
|
|
4932
4902
|
candidates,
|
|
4933
4903
|
warnings
|
|
4934
4904
|
};
|
|
4935
4905
|
}
|
|
4936
|
-
async function hydrateDocuments(pmRoot, candidates,
|
|
4906
|
+
async function hydrateDocuments(pmRoot, candidates, schema2, warnings, itemIds) {
|
|
4937
4907
|
const extensionFieldNames = collectRegisteredItemFieldNames(getActiveExtensionRegistrations());
|
|
4938
4908
|
const hydrated = [];
|
|
4939
4909
|
for (const candidate of candidates) {
|
|
@@ -4951,7 +4921,7 @@ async function hydrateDocuments(pmRoot, candidates, schema, warnings, itemIds) {
|
|
|
4951
4921
|
const raw = await fs.readFile(candidate.item_path, "utf8");
|
|
4952
4922
|
const parsed = parseItemDocument(raw, {
|
|
4953
4923
|
format: candidate.item_format,
|
|
4954
|
-
schema,
|
|
4924
|
+
schema: schema2,
|
|
4955
4925
|
extensionFieldNames,
|
|
4956
4926
|
onWarning: (warning) => warnings.push(warning)
|
|
4957
4927
|
});
|
|
@@ -5566,17 +5536,12 @@ async function runReindex(options, global2) {
|
|
|
5566
5536
|
!(function() {
|
|
5567
5537
|
try {
|
|
5568
5538
|
var e = "undefined" != typeof window ? window : "undefined" != typeof global ? global : "undefined" != typeof globalThis ? globalThis : "undefined" != typeof self ? self : {}, n = new e.Error().stack;
|
|
5569
|
-
n && (e._sentryDebugIds = e._sentryDebugIds || {}, e._sentryDebugIds[n] = "
|
|
5539
|
+
n && (e._sentryDebugIds = e._sentryDebugIds || {}, e._sentryDebugIds[n] = "a1d2566f-bb81-5e21-aaab-f501f90657ed");
|
|
5570
5540
|
} catch (e2) {
|
|
5571
5541
|
}
|
|
5572
5542
|
})();
|
|
5573
|
-
function
|
|
5574
|
-
|
|
5575
|
-
return {
|
|
5576
|
-
...fullChangedFields === void 0 ? {} : { fullChangedFields },
|
|
5577
|
-
...idOnly === void 0 ? {} : { idOnly },
|
|
5578
|
-
options: runnerOptions
|
|
5579
|
-
};
|
|
5543
|
+
function splitFullClientMutationOptions(options) {
|
|
5544
|
+
return { fullChangedFields: true, options };
|
|
5580
5545
|
}
|
|
5581
5546
|
var PmClient = class {
|
|
5582
5547
|
defaults;
|
|
@@ -5642,83 +5607,279 @@ var PmClient = class {
|
|
|
5642
5607
|
stats(options = {}) {
|
|
5643
5608
|
return this.runTyped("stats", { options });
|
|
5644
5609
|
}
|
|
5610
|
+
/**
|
|
5611
|
+
* List, add, edit, or delete item comments.
|
|
5612
|
+
*/
|
|
5613
|
+
comments(id, options = {}) {
|
|
5614
|
+
return this.runTyped("comments", { id, options });
|
|
5615
|
+
}
|
|
5616
|
+
/**
|
|
5617
|
+
* List or append private item notes.
|
|
5618
|
+
*/
|
|
5619
|
+
notes(id, options = {}) {
|
|
5620
|
+
return this.runTyped("notes", { id, options });
|
|
5621
|
+
}
|
|
5622
|
+
/**
|
|
5623
|
+
* List or append durable item learnings.
|
|
5624
|
+
*/
|
|
5625
|
+
learnings(id, options = {}) {
|
|
5626
|
+
return this.runTyped("learnings", { id, options });
|
|
5627
|
+
}
|
|
5628
|
+
/**
|
|
5629
|
+
* Add, remove, clear, or list linked project files for an item.
|
|
5630
|
+
*/
|
|
5631
|
+
files(id, options = {}) {
|
|
5632
|
+
return this.runTyped("files", { id, options });
|
|
5633
|
+
}
|
|
5634
|
+
/**
|
|
5635
|
+
* Discover and optionally attach changed files for an item.
|
|
5636
|
+
*/
|
|
5637
|
+
filesDiscover(id, options = {}) {
|
|
5638
|
+
return this.runTyped("files-discover", { id, options });
|
|
5639
|
+
}
|
|
5640
|
+
/**
|
|
5641
|
+
* Add, remove, clear, or list linked documentation for an item.
|
|
5642
|
+
*/
|
|
5643
|
+
docs(id, options = {}) {
|
|
5644
|
+
return this.runTyped("docs", { id, options });
|
|
5645
|
+
}
|
|
5646
|
+
/**
|
|
5647
|
+
* Inspect item dependency relationships.
|
|
5648
|
+
*/
|
|
5649
|
+
deps(id, options = {}) {
|
|
5650
|
+
return this.runTyped("deps", { id, options });
|
|
5651
|
+
}
|
|
5652
|
+
/**
|
|
5653
|
+
* Append markdown/body text to an item through the mutation pipeline.
|
|
5654
|
+
*/
|
|
5655
|
+
append(id, body, options = {}) {
|
|
5656
|
+
return this.runTyped("append", { id, ...splitFullClientMutationOptions({ ...options, body }) });
|
|
5657
|
+
}
|
|
5658
|
+
/**
|
|
5659
|
+
* Initialize a workspace with the same semantics as `pm init`.
|
|
5660
|
+
*/
|
|
5661
|
+
init(prefix, options = {}) {
|
|
5662
|
+
return this.runTyped("init", { ...prefix === void 0 ? {} : { prefix }, options });
|
|
5663
|
+
}
|
|
5664
|
+
/**
|
|
5665
|
+
* Read or update project/global configuration.
|
|
5666
|
+
*/
|
|
5667
|
+
config(scope, configAction, key, value, options = {}) {
|
|
5668
|
+
return this.runTyped("config", {
|
|
5669
|
+
scope,
|
|
5670
|
+
configAction,
|
|
5671
|
+
...key === void 0 ? {} : { key },
|
|
5672
|
+
...value === void 0 ? {} : { value },
|
|
5673
|
+
options
|
|
5674
|
+
});
|
|
5675
|
+
}
|
|
5676
|
+
/**
|
|
5677
|
+
* Run the schema customization surface.
|
|
5678
|
+
*/
|
|
5679
|
+
schema(subcommand, options = {}) {
|
|
5680
|
+
return this.runTyped("schema", { options: { ...options, subcommand } });
|
|
5681
|
+
}
|
|
5682
|
+
/**
|
|
5683
|
+
* List built-in, custom, and extension-provided schema types/statuses.
|
|
5684
|
+
*/
|
|
5685
|
+
schemaList() {
|
|
5686
|
+
return this.runTyped("schema", { options: { subcommand: "list" } });
|
|
5687
|
+
}
|
|
5688
|
+
/**
|
|
5689
|
+
* Show a schema item type definition.
|
|
5690
|
+
*/
|
|
5691
|
+
schemaShow(name) {
|
|
5692
|
+
return this.runTyped("schema", { name, options: { subcommand: "show" } });
|
|
5693
|
+
}
|
|
5694
|
+
/**
|
|
5695
|
+
* Register or replace a custom item type.
|
|
5696
|
+
*/
|
|
5697
|
+
schemaAddType(name, options = {}) {
|
|
5698
|
+
return this.runTyped("schema", { name, options: { ...options, subcommand: "add-type" } });
|
|
5699
|
+
}
|
|
5700
|
+
/**
|
|
5701
|
+
* Remove a custom item type.
|
|
5702
|
+
*/
|
|
5703
|
+
schemaRemoveType(name, options = {}) {
|
|
5704
|
+
return this.runTyped("schema", { name, options: { ...options, subcommand: "remove-type" } });
|
|
5705
|
+
}
|
|
5706
|
+
/**
|
|
5707
|
+
* Register or replace a custom status.
|
|
5708
|
+
*/
|
|
5709
|
+
schemaAddStatus(name, options = {}) {
|
|
5710
|
+
return this.runTyped("schema", { name, options: { ...options, subcommand: "add-status" } });
|
|
5711
|
+
}
|
|
5712
|
+
/**
|
|
5713
|
+
* Remove a custom status.
|
|
5714
|
+
*/
|
|
5715
|
+
schemaRemoveStatus(name, options = {}) {
|
|
5716
|
+
return this.runTyped("schema", { name, options: { ...options, subcommand: "remove-status" } });
|
|
5717
|
+
}
|
|
5718
|
+
/**
|
|
5719
|
+
* Register or replace a runtime custom field.
|
|
5720
|
+
*/
|
|
5721
|
+
schemaAddField(name, options = {}) {
|
|
5722
|
+
return this.runTyped("schema", { name, options: { ...options, subcommand: "add-field" } });
|
|
5723
|
+
}
|
|
5724
|
+
/**
|
|
5725
|
+
* Remove a runtime custom field.
|
|
5726
|
+
*/
|
|
5727
|
+
schemaRemoveField(name, options = {}) {
|
|
5728
|
+
return this.runTyped("schema", { name, options: { ...options, subcommand: "remove-field" } });
|
|
5729
|
+
}
|
|
5730
|
+
/**
|
|
5731
|
+
* List runtime custom fields.
|
|
5732
|
+
*/
|
|
5733
|
+
schemaListFields() {
|
|
5734
|
+
return this.runTyped("schema", { options: { subcommand: "list-fields" } });
|
|
5735
|
+
}
|
|
5736
|
+
/**
|
|
5737
|
+
* Show one runtime custom field definition.
|
|
5738
|
+
*/
|
|
5739
|
+
schemaShowField(name) {
|
|
5740
|
+
return this.runTyped("schema", { name, options: { subcommand: "show-field" } });
|
|
5741
|
+
}
|
|
5742
|
+
/**
|
|
5743
|
+
* Apply a built-in type preset to the workspace schema.
|
|
5744
|
+
*/
|
|
5745
|
+
schemaApplyPreset(typePreset, options = {}) {
|
|
5746
|
+
return this.runTyped("schema", { typePreset, options: { ...options, subcommand: "apply-preset" } });
|
|
5747
|
+
}
|
|
5748
|
+
/**
|
|
5749
|
+
* Infer item types from the current tracker and optionally apply them.
|
|
5750
|
+
*/
|
|
5751
|
+
schemaInferTypes(options = {}) {
|
|
5752
|
+
return this.runTyped("schema", { options: { ...options, subcommand: "add-type", infer: true } });
|
|
5753
|
+
}
|
|
5754
|
+
/**
|
|
5755
|
+
* Show one runtime status definition.
|
|
5756
|
+
*/
|
|
5757
|
+
schemaShowStatus(name) {
|
|
5758
|
+
return this.runTyped("schema", { name, options: { subcommand: "show-status" } });
|
|
5759
|
+
}
|
|
5760
|
+
/**
|
|
5761
|
+
* Run the profile customization surface.
|
|
5762
|
+
*/
|
|
5763
|
+
profile(subcommand, options = {}) {
|
|
5764
|
+
return this.runTyped("profile", { options: { ...options, subcommand } });
|
|
5765
|
+
}
|
|
5766
|
+
/**
|
|
5767
|
+
* List available project profiles.
|
|
5768
|
+
*/
|
|
5769
|
+
profileList() {
|
|
5770
|
+
return this.runTyped("profile", { options: { subcommand: "list" } });
|
|
5771
|
+
}
|
|
5772
|
+
/**
|
|
5773
|
+
* Show a project profile.
|
|
5774
|
+
*/
|
|
5775
|
+
profileShow(name) {
|
|
5776
|
+
return this.runTyped("profile", { name, options: { subcommand: "show" } });
|
|
5777
|
+
}
|
|
5778
|
+
/**
|
|
5779
|
+
* Apply a project profile.
|
|
5780
|
+
*/
|
|
5781
|
+
profileApply(name, options = {}) {
|
|
5782
|
+
return this.runTyped("profile", { name, options: { ...options, subcommand: "apply" } });
|
|
5783
|
+
}
|
|
5784
|
+
/**
|
|
5785
|
+
* Lint a project profile.
|
|
5786
|
+
*/
|
|
5787
|
+
profileLint(name) {
|
|
5788
|
+
return this.runTyped("profile", { name, options: { subcommand: "lint" } });
|
|
5789
|
+
}
|
|
5790
|
+
/**
|
|
5791
|
+
* Run project validation checks.
|
|
5792
|
+
*/
|
|
5793
|
+
validate(options = {}) {
|
|
5794
|
+
return this.runTyped("validate", { options });
|
|
5795
|
+
}
|
|
5796
|
+
/**
|
|
5797
|
+
* Run project health checks.
|
|
5798
|
+
*/
|
|
5799
|
+
health(options = {}) {
|
|
5800
|
+
return this.runTyped("health", { options });
|
|
5801
|
+
}
|
|
5802
|
+
/**
|
|
5803
|
+
* Run tracker cache/runtime garbage collection.
|
|
5804
|
+
*/
|
|
5805
|
+
gc(options = {}) {
|
|
5806
|
+
return this.runTyped("gc", { options });
|
|
5807
|
+
}
|
|
5645
5808
|
/**
|
|
5646
5809
|
* Create an item using the same mutation path as `pm create`.
|
|
5647
5810
|
*/
|
|
5648
5811
|
create(options = {}) {
|
|
5649
|
-
return this.
|
|
5812
|
+
return this.runTyped("create", splitFullClientMutationOptions(options));
|
|
5650
5813
|
}
|
|
5651
5814
|
/**
|
|
5652
5815
|
* Update an item using the same mutation path as `pm update`.
|
|
5653
5816
|
*/
|
|
5654
5817
|
update(id, options = {}) {
|
|
5655
|
-
return this.
|
|
5818
|
+
return this.runTyped("update", { id, ...splitFullClientMutationOptions(options) });
|
|
5656
5819
|
}
|
|
5657
5820
|
/**
|
|
5658
5821
|
* Close an item using the same mutation path as `pm close`.
|
|
5659
5822
|
*/
|
|
5660
5823
|
close(id, reason, options = {}) {
|
|
5661
|
-
return this.
|
|
5824
|
+
return this.runTyped("close", { id, reason, ...splitFullClientMutationOptions(options) });
|
|
5662
5825
|
}
|
|
5663
5826
|
/**
|
|
5664
5827
|
* Claim an item using the same mutation path as `pm claim`.
|
|
5665
5828
|
*/
|
|
5666
5829
|
claim(id, options = {}) {
|
|
5667
|
-
return this.
|
|
5830
|
+
return this.runTyped("claim", { id, ...splitFullClientMutationOptions(options) });
|
|
5668
5831
|
}
|
|
5669
5832
|
/**
|
|
5670
5833
|
* Release an item's active claim using the same mutation path as `pm release`.
|
|
5671
5834
|
*/
|
|
5672
5835
|
release(id, options = {}) {
|
|
5673
|
-
return this.
|
|
5836
|
+
return this.runTyped("release", { id, ...splitFullClientMutationOptions(options) });
|
|
5674
5837
|
}
|
|
5675
5838
|
/**
|
|
5676
5839
|
* Copy an item using the same mutation path as `pm copy`.
|
|
5677
5840
|
*/
|
|
5678
5841
|
copy(id, options = {}) {
|
|
5679
|
-
return this.
|
|
5842
|
+
return this.runTyped("copy", { id, ...splitFullClientMutationOptions(options) });
|
|
5680
5843
|
}
|
|
5681
5844
|
/**
|
|
5682
5845
|
* Delete an item using the same mutation path as `pm delete`.
|
|
5683
5846
|
*/
|
|
5684
5847
|
delete(id, options = {}) {
|
|
5685
|
-
return this.
|
|
5848
|
+
return this.runTyped("delete", { id, ...splitFullClientMutationOptions(options) });
|
|
5686
5849
|
}
|
|
5687
5850
|
/**
|
|
5688
5851
|
* Restore an item to a history version or timestamp using `pm restore`.
|
|
5689
5852
|
*/
|
|
5690
5853
|
restore(id, target, options = {}) {
|
|
5691
|
-
|
|
5692
|
-
|
|
5693
|
-
...fullChangedFields === void 0 ? {} : { fullChangedFields },
|
|
5694
|
-
...idOnly === void 0 ? {} : { idOnly },
|
|
5854
|
+
return this.runTyped("restore", {
|
|
5855
|
+
fullChangedFields: true,
|
|
5695
5856
|
id,
|
|
5696
|
-
options: { ...
|
|
5857
|
+
options: { ...options, target }
|
|
5697
5858
|
});
|
|
5698
5859
|
}
|
|
5699
5860
|
/**
|
|
5700
5861
|
* Set, clear, or read workspace focus using the same path as `pm focus`.
|
|
5701
5862
|
*/
|
|
5702
5863
|
focus(id, options = {}) {
|
|
5703
|
-
return this.
|
|
5864
|
+
return this.runTyped("focus", { ...id === void 0 ? {} : { id }, ...splitFullClientMutationOptions(options) });
|
|
5704
5865
|
}
|
|
5705
5866
|
/**
|
|
5706
5867
|
* Claim an item and transition it to the workspace in-progress status.
|
|
5707
5868
|
*/
|
|
5708
5869
|
startTask(id, options = {}) {
|
|
5709
|
-
return this.
|
|
5870
|
+
return this.runTyped("start-task", { id, ...splitFullClientMutationOptions(options) });
|
|
5710
5871
|
}
|
|
5711
5872
|
/**
|
|
5712
5873
|
* Move an item back to the workspace open status and release the claim.
|
|
5713
5874
|
*/
|
|
5714
5875
|
pauseTask(id, options = {}) {
|
|
5715
|
-
return this.
|
|
5876
|
+
return this.runTyped("pause-task", { id, ...splitFullClientMutationOptions(options) });
|
|
5716
5877
|
}
|
|
5717
5878
|
/**
|
|
5718
5879
|
* Close an item and release its active assignment.
|
|
5719
5880
|
*/
|
|
5720
5881
|
closeTask(id, reason, options = {}) {
|
|
5721
|
-
return this.
|
|
5882
|
+
return this.runTyped("close-task", { id, reason, ...splitFullClientMutationOptions(options) });
|
|
5722
5883
|
}
|
|
5723
5884
|
/**
|
|
5724
5885
|
* Run the extension lifecycle surface with the same result shape as `pm extension`.
|
|
@@ -5841,6 +6002,102 @@ function aggregate(options = {}, clientOptions = {}) {
|
|
|
5841
6002
|
function stats(options = {}, clientOptions = {}) {
|
|
5842
6003
|
return new PmClient(clientOptions).stats(options);
|
|
5843
6004
|
}
|
|
6005
|
+
function comments(id, options = {}, clientOptions = {}) {
|
|
6006
|
+
return new PmClient(clientOptions).comments(id, options);
|
|
6007
|
+
}
|
|
6008
|
+
function notes(id, options = {}, clientOptions = {}) {
|
|
6009
|
+
return new PmClient(clientOptions).notes(id, options);
|
|
6010
|
+
}
|
|
6011
|
+
function learnings(id, options = {}, clientOptions = {}) {
|
|
6012
|
+
return new PmClient(clientOptions).learnings(id, options);
|
|
6013
|
+
}
|
|
6014
|
+
function files(id, options = {}, clientOptions = {}) {
|
|
6015
|
+
return new PmClient(clientOptions).files(id, options);
|
|
6016
|
+
}
|
|
6017
|
+
function filesDiscover(id, options = {}, clientOptions = {}) {
|
|
6018
|
+
return new PmClient(clientOptions).filesDiscover(id, options);
|
|
6019
|
+
}
|
|
6020
|
+
function docs(id, options = {}, clientOptions = {}) {
|
|
6021
|
+
return new PmClient(clientOptions).docs(id, options);
|
|
6022
|
+
}
|
|
6023
|
+
function deps(id, options = {}, clientOptions = {}) {
|
|
6024
|
+
return new PmClient(clientOptions).deps(id, options);
|
|
6025
|
+
}
|
|
6026
|
+
function append(id, body, options = {}, clientOptions = {}) {
|
|
6027
|
+
return new PmClient(clientOptions).append(id, body, options);
|
|
6028
|
+
}
|
|
6029
|
+
function init(prefix, options = {}, clientOptions = {}) {
|
|
6030
|
+
return new PmClient(clientOptions).init(prefix, options);
|
|
6031
|
+
}
|
|
6032
|
+
function config(scope, configAction, key, value, options = {}, clientOptions = {}) {
|
|
6033
|
+
return new PmClient(clientOptions).config(scope, configAction, key, value, options);
|
|
6034
|
+
}
|
|
6035
|
+
function schema(subcommand, options = {}, clientOptions = {}) {
|
|
6036
|
+
return new PmClient(clientOptions).schema(subcommand, options);
|
|
6037
|
+
}
|
|
6038
|
+
function schemaList(clientOptions = {}) {
|
|
6039
|
+
return new PmClient(clientOptions).schemaList();
|
|
6040
|
+
}
|
|
6041
|
+
function schemaShow(name, clientOptions = {}) {
|
|
6042
|
+
return new PmClient(clientOptions).schemaShow(name);
|
|
6043
|
+
}
|
|
6044
|
+
function schemaAddType(name, options = {}, clientOptions = {}) {
|
|
6045
|
+
return new PmClient(clientOptions).schemaAddType(name, options);
|
|
6046
|
+
}
|
|
6047
|
+
function schemaRemoveType(name, options = {}, clientOptions = {}) {
|
|
6048
|
+
return new PmClient(clientOptions).schemaRemoveType(name, options);
|
|
6049
|
+
}
|
|
6050
|
+
function schemaAddStatus(name, options = {}, clientOptions = {}) {
|
|
6051
|
+
return new PmClient(clientOptions).schemaAddStatus(name, options);
|
|
6052
|
+
}
|
|
6053
|
+
function schemaRemoveStatus(name, options = {}, clientOptions = {}) {
|
|
6054
|
+
return new PmClient(clientOptions).schemaRemoveStatus(name, options);
|
|
6055
|
+
}
|
|
6056
|
+
function schemaAddField(name, options = {}, clientOptions = {}) {
|
|
6057
|
+
return new PmClient(clientOptions).schemaAddField(name, options);
|
|
6058
|
+
}
|
|
6059
|
+
function schemaRemoveField(name, options = {}, clientOptions = {}) {
|
|
6060
|
+
return new PmClient(clientOptions).schemaRemoveField(name, options);
|
|
6061
|
+
}
|
|
6062
|
+
function schemaListFields(clientOptions = {}) {
|
|
6063
|
+
return new PmClient(clientOptions).schemaListFields();
|
|
6064
|
+
}
|
|
6065
|
+
function schemaShowField(name, clientOptions = {}) {
|
|
6066
|
+
return new PmClient(clientOptions).schemaShowField(name);
|
|
6067
|
+
}
|
|
6068
|
+
function schemaApplyPreset(typePreset, options = {}, clientOptions = {}) {
|
|
6069
|
+
return new PmClient(clientOptions).schemaApplyPreset(typePreset, options);
|
|
6070
|
+
}
|
|
6071
|
+
function schemaInferTypes(options = {}, clientOptions = {}) {
|
|
6072
|
+
return new PmClient(clientOptions).schemaInferTypes(options);
|
|
6073
|
+
}
|
|
6074
|
+
function schemaShowStatus(name, clientOptions = {}) {
|
|
6075
|
+
return new PmClient(clientOptions).schemaShowStatus(name);
|
|
6076
|
+
}
|
|
6077
|
+
function profile(subcommand, options = {}, clientOptions = {}) {
|
|
6078
|
+
return new PmClient(clientOptions).profile(subcommand, options);
|
|
6079
|
+
}
|
|
6080
|
+
function profileList(clientOptions = {}) {
|
|
6081
|
+
return new PmClient(clientOptions).profileList();
|
|
6082
|
+
}
|
|
6083
|
+
function profileShow(name, clientOptions = {}) {
|
|
6084
|
+
return new PmClient(clientOptions).profileShow(name);
|
|
6085
|
+
}
|
|
6086
|
+
function profileApply(name, options = {}, clientOptions = {}) {
|
|
6087
|
+
return new PmClient(clientOptions).profileApply(name, options);
|
|
6088
|
+
}
|
|
6089
|
+
function profileLint(name, clientOptions = {}) {
|
|
6090
|
+
return new PmClient(clientOptions).profileLint(name);
|
|
6091
|
+
}
|
|
6092
|
+
function validate(options = {}, clientOptions = {}) {
|
|
6093
|
+
return new PmClient(clientOptions).validate(options);
|
|
6094
|
+
}
|
|
6095
|
+
function health(options = {}, clientOptions = {}) {
|
|
6096
|
+
return new PmClient(clientOptions).health(options);
|
|
6097
|
+
}
|
|
6098
|
+
function gc(options = {}, clientOptions = {}) {
|
|
6099
|
+
return new PmClient(clientOptions).gc(options);
|
|
6100
|
+
}
|
|
5844
6101
|
function create(options = {}, clientOptions = {}) {
|
|
5845
6102
|
return new PmClient(clientOptions).create(options);
|
|
5846
6103
|
}
|
|
@@ -6039,11 +6296,16 @@ var LIFECYCLE_AUTHOR_ALIAS_ACTIONS = /* @__PURE__ */ new Set([
|
|
|
6039
6296
|
function normalizeMcpOptionsArrays(options, action) {
|
|
6040
6297
|
const result = {};
|
|
6041
6298
|
const promoteAddRemove = action !== void 0 && ARRAY_ADD_REMOVE_ACTIONS.has(action);
|
|
6299
|
+
const preserveStandaloneNote = action === "files" || action === "files-discover" || action === "docs";
|
|
6042
6300
|
for (const [key, value] of Object.entries(options)) {
|
|
6043
6301
|
if (Array.isArray(value) && ARRAY_TO_CSV_FIELDS.has(key)) {
|
|
6044
6302
|
result[key] = value.join(",");
|
|
6045
6303
|
continue;
|
|
6046
6304
|
}
|
|
6305
|
+
if (key === "note" && preserveStandaloneNote) {
|
|
6306
|
+
result[key] = value;
|
|
6307
|
+
continue;
|
|
6308
|
+
}
|
|
6047
6309
|
if (typeof value === "string" && SCALAR_TO_ARRAY_FIELDS.has(key)) {
|
|
6048
6310
|
result[key] = [value];
|
|
6049
6311
|
continue;
|
|
@@ -6642,8 +6904,8 @@ function createMcpSchemaContext(ctx) {
|
|
|
6642
6904
|
aliases: aliasSource === void 0 ? void 0 : readStringArray(aliasSource)
|
|
6643
6905
|
};
|
|
6644
6906
|
}
|
|
6645
|
-
function runMcpSchemaReadOrRemoveAction(
|
|
6646
|
-
const { ctx, subcommand, name, author, force } =
|
|
6907
|
+
function runMcpSchemaReadOrRemoveAction(schema2) {
|
|
6908
|
+
const { ctx, subcommand, name, author, force } = schema2;
|
|
6647
6909
|
const simpleHandlers = {
|
|
6648
6910
|
list: () => runSchemaList(ctx.global),
|
|
6649
6911
|
show: () => runSchemaShow(name, ctx.global),
|
|
@@ -6658,8 +6920,8 @@ function runMcpSchemaReadOrRemoveAction(schema) {
|
|
|
6658
6920
|
const handler = getOwnHandler(simpleHandlers, subcommand);
|
|
6659
6921
|
return handler ? handler() : null;
|
|
6660
6922
|
}
|
|
6661
|
-
function runMcpSchemaAddFieldAction(
|
|
6662
|
-
const { ctx, name, author, force, aliases } =
|
|
6923
|
+
function runMcpSchemaAddFieldAction(schema2) {
|
|
6924
|
+
const { ctx, name, author, force, aliases } = schema2;
|
|
6663
6925
|
const commandsSource = ctx.args.commands ?? ctx.options.commands;
|
|
6664
6926
|
const requiredTypesSource = ctx.args.requiredTypes ?? ctx.options.requiredTypes;
|
|
6665
6927
|
return runSchemaAddField(name, {
|
|
@@ -6676,8 +6938,8 @@ function runMcpSchemaAddFieldAction(schema) {
|
|
|
6676
6938
|
force
|
|
6677
6939
|
}, ctx.global);
|
|
6678
6940
|
}
|
|
6679
|
-
function runMcpSchemaAddStatusAction(
|
|
6680
|
-
const { ctx, name, author, force, aliases } =
|
|
6941
|
+
function runMcpSchemaAddStatusAction(schema2) {
|
|
6942
|
+
const { ctx, name, author, force, aliases } = schema2;
|
|
6681
6943
|
const roleSource = ctx.args.role ?? ctx.options.role;
|
|
6682
6944
|
return runSchemaAddStatus(name, {
|
|
6683
6945
|
role: roleSource === void 0 ? void 0 : readStringArray(roleSource),
|
|
@@ -6688,8 +6950,8 @@ function runMcpSchemaAddStatusAction(schema) {
|
|
|
6688
6950
|
force
|
|
6689
6951
|
}, ctx.global);
|
|
6690
6952
|
}
|
|
6691
|
-
function runMcpSchemaAddTypeAction(
|
|
6692
|
-
const { ctx, name, author, force, aliases } =
|
|
6953
|
+
function runMcpSchemaAddTypeAction(schema2) {
|
|
6954
|
+
const { ctx, name, author, force, aliases } = schema2;
|
|
6693
6955
|
return runSchemaAddType(name, {
|
|
6694
6956
|
description: readString(ctx.args, "description") ?? readString(ctx.options, "description"),
|
|
6695
6957
|
defaultStatus: readString(ctx.args, "defaultStatus") ?? readString(ctx.args, "default_status") ?? readString(ctx.options, "defaultStatus") ?? readString(ctx.options, "default_status"),
|
|
@@ -6700,29 +6962,29 @@ function runMcpSchemaAddTypeAction(schema) {
|
|
|
6700
6962
|
}, ctx.global);
|
|
6701
6963
|
}
|
|
6702
6964
|
function runMcpSchemaAction(ctx) {
|
|
6703
|
-
const
|
|
6704
|
-
const simpleResult = runMcpSchemaReadOrRemoveAction(
|
|
6965
|
+
const schema2 = createMcpSchemaContext(ctx);
|
|
6966
|
+
const simpleResult = runMcpSchemaReadOrRemoveAction(schema2);
|
|
6705
6967
|
if (simpleResult !== null) {
|
|
6706
6968
|
return simpleResult;
|
|
6707
6969
|
}
|
|
6708
|
-
if (
|
|
6709
|
-
return runMcpSchemaAddFieldAction(
|
|
6970
|
+
if (schema2.subcommand === "add-field") {
|
|
6971
|
+
return runMcpSchemaAddFieldAction(schema2);
|
|
6710
6972
|
}
|
|
6711
|
-
if (
|
|
6712
|
-
return runMcpSchemaAddStatusAction(
|
|
6973
|
+
if (schema2.subcommand === "add-status") {
|
|
6974
|
+
return runMcpSchemaAddStatusAction(schema2);
|
|
6713
6975
|
}
|
|
6714
|
-
if (
|
|
6976
|
+
if (schema2.subcommand === "add-type") {
|
|
6715
6977
|
if (ctx.args.infer === true || ctx.options.infer === true) {
|
|
6716
6978
|
return runSchemaInferTypes({
|
|
6717
6979
|
minCount: parseMcpInteger(ctx.args.minCount ?? ctx.options.minCount, "schema infer minCount"),
|
|
6718
6980
|
apply: ctx.args.apply === true || ctx.options.apply === true,
|
|
6719
|
-
author:
|
|
6720
|
-
force:
|
|
6981
|
+
author: schema2.author,
|
|
6982
|
+
force: schema2.force
|
|
6721
6983
|
}, ctx.global);
|
|
6722
6984
|
}
|
|
6723
|
-
return runMcpSchemaAddTypeAction(
|
|
6985
|
+
return runMcpSchemaAddTypeAction(schema2);
|
|
6724
6986
|
}
|
|
6725
|
-
throw new PmCliError(`Unknown pm schema subcommand "${
|
|
6987
|
+
throw new PmCliError(`Unknown pm schema subcommand "${schema2.subcommand}". Allowed: add-type, remove-type, add-status, remove-status, add-field, remove-field, list-fields, show-field, apply-preset, list, show, show-status`, 64);
|
|
6726
6988
|
}
|
|
6727
6989
|
function runMcpProfileAction(ctx) {
|
|
6728
6990
|
const subcommand = readString(ctx.args, "subcommand") ?? readRequiredString(ctx.options, "subcommand");
|
|
@@ -6963,6 +7225,38 @@ export {
|
|
|
6963
7225
|
next,
|
|
6964
7226
|
aggregate,
|
|
6965
7227
|
stats,
|
|
7228
|
+
comments,
|
|
7229
|
+
notes,
|
|
7230
|
+
learnings,
|
|
7231
|
+
files,
|
|
7232
|
+
filesDiscover,
|
|
7233
|
+
docs,
|
|
7234
|
+
deps,
|
|
7235
|
+
append,
|
|
7236
|
+
init,
|
|
7237
|
+
config,
|
|
7238
|
+
schema,
|
|
7239
|
+
schemaList,
|
|
7240
|
+
schemaShow,
|
|
7241
|
+
schemaAddType,
|
|
7242
|
+
schemaRemoveType,
|
|
7243
|
+
schemaAddStatus,
|
|
7244
|
+
schemaRemoveStatus,
|
|
7245
|
+
schemaAddField,
|
|
7246
|
+
schemaRemoveField,
|
|
7247
|
+
schemaListFields,
|
|
7248
|
+
schemaShowField,
|
|
7249
|
+
schemaApplyPreset,
|
|
7250
|
+
schemaInferTypes,
|
|
7251
|
+
schemaShowStatus,
|
|
7252
|
+
profile,
|
|
7253
|
+
profileList,
|
|
7254
|
+
profileShow,
|
|
7255
|
+
profileApply,
|
|
7256
|
+
profileLint,
|
|
7257
|
+
validate,
|
|
7258
|
+
health,
|
|
7259
|
+
gc,
|
|
6966
7260
|
create,
|
|
6967
7261
|
update,
|
|
6968
7262
|
close,
|
|
@@ -6996,4 +7290,4 @@ export {
|
|
|
6996
7290
|
readRequiredString,
|
|
6997
7291
|
runAction
|
|
6998
7292
|
};
|
|
6999
|
-
//# sourceMappingURL=chunk-
|
|
7293
|
+
//# sourceMappingURL=chunk-7S2UC7S6.js.map
|