@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,20 +1,20 @@
|
|
|
1
1
|
|
|
2
|
-
!function(){try{var e="undefined"!=typeof window?window:"undefined"!=typeof global?global:"undefined"!=typeof globalThis?globalThis:"undefined"!=typeof self?self:{},n=(new e.Error).stack;n&&(e._sentryDebugIds=e._sentryDebugIds||{},e._sentryDebugIds[n]="
|
|
2
|
+
!function(){try{var e="undefined"!=typeof window?window:"undefined"!=typeof global?global:"undefined"!=typeof globalThis?globalThis:"undefined"!=typeof self?self:{},n=(new e.Error).stack;n&&(e._sentryDebugIds=e._sentryDebugIds||{},e._sentryDebugIds[n]="fba5a2fc-abf5-5621-9076-1b97983ccc95")}catch(e){}}();
|
|
3
3
|
import {
|
|
4
4
|
runFiles,
|
|
5
5
|
runFilesDiscover
|
|
6
|
-
} from "./chunk-
|
|
6
|
+
} from "./chunk-FWL5XVYI.js";
|
|
7
7
|
import {
|
|
8
8
|
runDocs
|
|
9
|
-
} from "./chunk-
|
|
9
|
+
} from "./chunk-SWQMU4AD.js";
|
|
10
10
|
import {
|
|
11
11
|
runDeps
|
|
12
|
-
} from "./chunk-
|
|
12
|
+
} from "./chunk-BST7GFIX.js";
|
|
13
13
|
import {
|
|
14
14
|
assertHistoryRepairTarget,
|
|
15
15
|
runHistoryRepair,
|
|
16
16
|
runHistoryRepairAll
|
|
17
|
-
} from "./chunk-
|
|
17
|
+
} from "./chunk-GMNCW27N.js";
|
|
18
18
|
import {
|
|
19
19
|
resolveStartTaskInProgressStatus,
|
|
20
20
|
runClaim,
|
|
@@ -27,67 +27,67 @@ import {
|
|
|
27
27
|
runTest,
|
|
28
28
|
runTestAll,
|
|
29
29
|
runValidate
|
|
30
|
-
} from "./chunk-
|
|
30
|
+
} from "./chunk-FYMHD6VX.js";
|
|
31
31
|
import {
|
|
32
32
|
runComments
|
|
33
|
-
} from "./chunk-
|
|
33
|
+
} from "./chunk-ESXG6VFX.js";
|
|
34
34
|
import {
|
|
35
35
|
runCopy
|
|
36
|
-
} from "./chunk-
|
|
36
|
+
} from "./chunk-DN67YDFH.js";
|
|
37
37
|
import {
|
|
38
38
|
runFocus
|
|
39
|
-
} from "./chunk-
|
|
39
|
+
} from "./chunk-3THCOPYI.js";
|
|
40
40
|
import {
|
|
41
41
|
runDelete
|
|
42
|
-
} from "./chunk-
|
|
42
|
+
} from "./chunk-ECXJ7OHI.js";
|
|
43
43
|
import {
|
|
44
44
|
runAppend
|
|
45
|
-
} from "./chunk-
|
|
45
|
+
} from "./chunk-B7FCPO65.js";
|
|
46
46
|
import {
|
|
47
47
|
runProfileApply,
|
|
48
48
|
runProfileLint,
|
|
49
49
|
runProfileList,
|
|
50
50
|
runProfileShow
|
|
51
|
-
} from "./chunk-
|
|
51
|
+
} from "./chunk-6WIP52LQ.js";
|
|
52
52
|
import {
|
|
53
53
|
runNotes
|
|
54
|
-
} from "./chunk-
|
|
54
|
+
} from "./chunk-PFRGQZG2.js";
|
|
55
55
|
import {
|
|
56
56
|
runLearnings
|
|
57
|
-
} from "./chunk-
|
|
57
|
+
} from "./chunk-XWS3Z57Q.js";
|
|
58
58
|
import {
|
|
59
59
|
runCloseMany
|
|
60
|
-
} from "./chunk-
|
|
60
|
+
} from "./chunk-N7N3PUUP.js";
|
|
61
61
|
import {
|
|
62
62
|
runUpdateMany
|
|
63
|
-
} from "./chunk-
|
|
63
|
+
} from "./chunk-RYA7QE7B.js";
|
|
64
64
|
import {
|
|
65
65
|
runRestore
|
|
66
|
-
} from "./chunk-
|
|
66
|
+
} from "./chunk-7THLDY3D.js";
|
|
67
67
|
import {
|
|
68
68
|
runUpdate
|
|
69
|
-
} from "./chunk-
|
|
69
|
+
} from "./chunk-5BFBDJ4R.js";
|
|
70
70
|
import {
|
|
71
71
|
runClose
|
|
72
|
-
} from "./chunk-
|
|
72
|
+
} from "./chunk-M7DWRMNY.js";
|
|
73
73
|
import {
|
|
74
74
|
runPlan
|
|
75
|
-
} from "./chunk-
|
|
75
|
+
} from "./chunk-JQ5NB6O2.js";
|
|
76
76
|
import {
|
|
77
77
|
runHistoryCompact
|
|
78
|
-
} from "./chunk-
|
|
78
|
+
} from "./chunk-BC7QBM2A.js";
|
|
79
79
|
import {
|
|
80
80
|
runHistoryRedact
|
|
81
|
-
} from "./chunk-
|
|
81
|
+
} from "./chunk-TM5E2IED.js";
|
|
82
82
|
import {
|
|
83
83
|
runConfig,
|
|
84
84
|
runUpgrade
|
|
85
|
-
} from "./chunk-
|
|
85
|
+
} from "./chunk-4P2GYOM5.js";
|
|
86
86
|
import {
|
|
87
87
|
SCAFFOLD_CAPABILITIES,
|
|
88
88
|
runExtension,
|
|
89
89
|
runInit
|
|
90
|
-
} from "./chunk-
|
|
90
|
+
} from "./chunk-CUBPPDDF.js";
|
|
91
91
|
import {
|
|
92
92
|
runSchemaAddField,
|
|
93
93
|
runSchemaAddStatus,
|
|
@@ -102,7 +102,7 @@ import {
|
|
|
102
102
|
runSchemaShow,
|
|
103
103
|
runSchemaShowField,
|
|
104
104
|
runSchemaShowStatus
|
|
105
|
-
} from "./chunk-
|
|
105
|
+
} from "./chunk-P7PDLLCE.js";
|
|
106
106
|
import {
|
|
107
107
|
jaccardSimilarity,
|
|
108
108
|
normalizeLowercaseWhitespace,
|
|
@@ -113,17 +113,17 @@ import {
|
|
|
113
113
|
runNext,
|
|
114
114
|
runSearch,
|
|
115
115
|
tokenizeAlphaNumeric
|
|
116
|
-
} from "./chunk-
|
|
116
|
+
} from "./chunk-JDEXIVKQ.js";
|
|
117
117
|
import {
|
|
118
118
|
buildListQueryFilters,
|
|
119
119
|
runList
|
|
120
|
-
} from "./chunk-
|
|
120
|
+
} from "./chunk-6PBZBIS6.js";
|
|
121
121
|
import {
|
|
122
122
|
runHistory
|
|
123
|
-
} from "./chunk-
|
|
123
|
+
} from "./chunk-ZGDJA6WI.js";
|
|
124
124
|
import {
|
|
125
125
|
parseIntegerLimit
|
|
126
|
-
} from "./chunk-
|
|
126
|
+
} from "./chunk-UYK26VRP.js";
|
|
127
127
|
import {
|
|
128
128
|
resolveRegisteredSearchProvider,
|
|
129
129
|
resolveRegisteredVectorStoreAdapter
|
|
@@ -150,7 +150,7 @@ import {
|
|
|
150
150
|
resolveSettingsWithSemanticRuntimeDefaults,
|
|
151
151
|
resolveVectorStores,
|
|
152
152
|
writeVectorizationStatusLedger
|
|
153
|
-
} from "./chunk-
|
|
153
|
+
} from "./chunk-DWGHHSDC.js";
|
|
154
154
|
import {
|
|
155
155
|
ACTIVITY_FLAG_CONTRACTS,
|
|
156
156
|
AGGREGATE_FLAG_CONTRACTS,
|
|
@@ -183,19 +183,19 @@ import {
|
|
|
183
183
|
UPDATE_FLAG_CONTRACTS,
|
|
184
184
|
UPDATE_MANY_FLAG_CONTRACTS,
|
|
185
185
|
toCompletionFlagString
|
|
186
|
-
} from "./chunk-
|
|
186
|
+
} from "./chunk-2RW5DWHQ.js";
|
|
187
187
|
import {
|
|
188
188
|
runCreate
|
|
189
|
-
} from "./chunk-
|
|
189
|
+
} from "./chunk-NQTIOKHL.js";
|
|
190
190
|
import {
|
|
191
191
|
parseTags
|
|
192
|
-
} from "./chunk-
|
|
192
|
+
} from "./chunk-GPPWUJMR.js";
|
|
193
193
|
import {
|
|
194
194
|
splitCommaList
|
|
195
195
|
} from "./chunk-P4SESZGT.js";
|
|
196
196
|
import {
|
|
197
197
|
projectMutationResult
|
|
198
|
-
} from "./chunk-
|
|
198
|
+
} from "./chunk-INAZHXOI.js";
|
|
199
199
|
import {
|
|
200
200
|
PmCliError,
|
|
201
201
|
acquireLock,
|
|
@@ -203,6 +203,7 @@ import {
|
|
|
203
203
|
collectRegisteredItemFieldNames,
|
|
204
204
|
compareTimestampStrings,
|
|
205
205
|
createHistoryEntry,
|
|
206
|
+
createSerialQueue,
|
|
206
207
|
getActiveExtensionRegistrations,
|
|
207
208
|
isTerminalStatus,
|
|
208
209
|
listAllDocumentCandidatesCached,
|
|
@@ -224,7 +225,7 @@ import {
|
|
|
224
225
|
setActiveExtensionRenderers,
|
|
225
226
|
setActiveExtensionServices,
|
|
226
227
|
toItemRecord
|
|
227
|
-
} from "./chunk-
|
|
228
|
+
} from "./chunk-Y5Q4FEE4.js";
|
|
228
229
|
import {
|
|
229
230
|
BUILTIN_ITEM_TYPE_VALUES,
|
|
230
231
|
EXIT_CODE,
|
|
@@ -251,7 +252,7 @@ import {
|
|
|
251
252
|
toErrorMessage,
|
|
252
253
|
toNonEmptyStringOrUndefined,
|
|
253
254
|
writeFileAtomic
|
|
254
|
-
} from "./chunk-
|
|
255
|
+
} from "./chunk-TB2CZJAQ.js";
|
|
255
256
|
|
|
256
257
|
// dist/sdk/runtime.js
|
|
257
258
|
import path3 from "node:path";
|
|
@@ -287,36 +288,6 @@ function withQuerySummary(result, options) {
|
|
|
287
288
|
};
|
|
288
289
|
}
|
|
289
290
|
|
|
290
|
-
// dist/core/shared/serial-queue.js
|
|
291
|
-
function createSerialQueue() {
|
|
292
|
-
let tail = Promise.resolve();
|
|
293
|
-
let pending = 0;
|
|
294
|
-
const idleWaiters = [];
|
|
295
|
-
const notifyIdle = () => {
|
|
296
|
-
if (pending !== 0) {
|
|
297
|
-
return;
|
|
298
|
-
}
|
|
299
|
-
const waiters = idleWaiters.splice(0);
|
|
300
|
-
for (const resolve of waiters) {
|
|
301
|
-
resolve();
|
|
302
|
-
}
|
|
303
|
-
};
|
|
304
|
-
return {
|
|
305
|
-
enqueue(task) {
|
|
306
|
-
pending++;
|
|
307
|
-
const run = tail.then(() => task());
|
|
308
|
-
tail = run.then(() => void 0, () => void 0).finally(() => {
|
|
309
|
-
pending--;
|
|
310
|
-
notifyIdle();
|
|
311
|
-
});
|
|
312
|
-
return run;
|
|
313
|
-
},
|
|
314
|
-
idle() {
|
|
315
|
-
return pending === 0 ? Promise.resolve() : new Promise((resolve) => idleWaiters.push(resolve));
|
|
316
|
-
}
|
|
317
|
-
};
|
|
318
|
-
}
|
|
319
|
-
|
|
320
291
|
// dist/sdk/workspace-contracts-cache.js
|
|
321
292
|
var WORKSPACE_CONTRACTS_CACHE_LIMIT = 50;
|
|
322
293
|
var workspaceExtensionRegistrationsCache = /* @__PURE__ */ new Map();
|
|
@@ -1123,11 +1094,11 @@ function toExcerpt(content, maxLines, maxCharacters) {
|
|
|
1123
1094
|
async function renderGuideDocs(topic, depth, packageRoot) {
|
|
1124
1095
|
const includeContent = depth !== "brief";
|
|
1125
1096
|
const contentMode = includeContent ? depth === "deep" ? "full" : "excerpt" : "none";
|
|
1126
|
-
const
|
|
1097
|
+
const docs2 = [];
|
|
1127
1098
|
for (const doc of topic.docs) {
|
|
1128
1099
|
const absolutePath = path.resolve(packageRoot, doc.path);
|
|
1129
1100
|
if (!includeContent) {
|
|
1130
|
-
|
|
1101
|
+
docs2.push({
|
|
1131
1102
|
path: doc.path,
|
|
1132
1103
|
purpose: doc.purpose,
|
|
1133
1104
|
optional: doc.optional === true,
|
|
@@ -1143,7 +1114,7 @@ async function renderGuideDocs(topic, depth, packageRoot) {
|
|
|
1143
1114
|
const rawContent = await readFile(absolutePath, "utf8");
|
|
1144
1115
|
if (depth === "deep") {
|
|
1145
1116
|
const normalized = normalizeLineEndings(rawContent).trimEnd();
|
|
1146
|
-
|
|
1117
|
+
docs2.push({
|
|
1147
1118
|
path: doc.path,
|
|
1148
1119
|
purpose: doc.purpose,
|
|
1149
1120
|
optional: doc.optional === true,
|
|
@@ -1155,7 +1126,7 @@ async function renderGuideDocs(topic, depth, packageRoot) {
|
|
|
1155
1126
|
});
|
|
1156
1127
|
} else {
|
|
1157
1128
|
const excerpt = toExcerpt(rawContent, 120, 12e3);
|
|
1158
|
-
|
|
1129
|
+
docs2.push({
|
|
1159
1130
|
path: doc.path,
|
|
1160
1131
|
purpose: doc.purpose,
|
|
1161
1132
|
optional: doc.optional === true,
|
|
@@ -1169,7 +1140,7 @@ async function renderGuideDocs(topic, depth, packageRoot) {
|
|
|
1169
1140
|
} catch (error) {
|
|
1170
1141
|
const code = error?.code;
|
|
1171
1142
|
const missing = code === "ENOENT";
|
|
1172
|
-
|
|
1143
|
+
docs2.push({
|
|
1173
1144
|
path: doc.path,
|
|
1174
1145
|
purpose: doc.purpose,
|
|
1175
1146
|
optional: doc.optional === true,
|
|
@@ -1184,7 +1155,7 @@ async function renderGuideDocs(topic, depth, packageRoot) {
|
|
|
1184
1155
|
}
|
|
1185
1156
|
}
|
|
1186
1157
|
}
|
|
1187
|
-
return
|
|
1158
|
+
return docs2;
|
|
1188
1159
|
}
|
|
1189
1160
|
function buildGuideIndex(depth) {
|
|
1190
1161
|
const topics = listGuideTopics().map((topic) => ({
|
|
@@ -1227,15 +1198,15 @@ async function runGuide(options, global) {
|
|
|
1227
1198
|
}
|
|
1228
1199
|
const topic = ensureGuideTopic(topicRaw);
|
|
1229
1200
|
const packageRoot = resolvePackageRoot();
|
|
1230
|
-
const
|
|
1231
|
-
const warnings =
|
|
1201
|
+
const docs2 = await renderGuideDocs(topic, depth, packageRoot);
|
|
1202
|
+
const warnings = docs2.filter((doc) => !doc.exists && !doc.optional).map((doc) => `Missing required guide document: ${doc.path}`);
|
|
1232
1203
|
return {
|
|
1233
1204
|
output_default: "toon",
|
|
1234
1205
|
mode: "topic",
|
|
1235
1206
|
depth,
|
|
1236
1207
|
requested_topic: topicRaw,
|
|
1237
1208
|
topic,
|
|
1238
|
-
docs,
|
|
1209
|
+
docs: docs2,
|
|
1239
1210
|
warnings
|
|
1240
1211
|
};
|
|
1241
1212
|
}
|
|
@@ -1994,6 +1965,8 @@ _pm() {
|
|
|
1994
1965
|
'--priority[Filter by priority]:(0 1 2 3 4)' \\
|
|
1995
1966
|
'--deadline-before[Filter by deadline upper bound (ISO/date string or relative)]:date' \\
|
|
1996
1967
|
'--deadline-after[Filter by deadline lower bound (ISO/date string or relative)]:date' \\
|
|
1968
|
+
'--today[Filter to items updated since local midnight today]' \\
|
|
1969
|
+
'--recent[Filter to items updated in the last 7 days]' \\
|
|
1997
1970
|
'--updated-after[Filter by updated_at lower bound (ISO/relative)]:timestamp' \\
|
|
1998
1971
|
'--updated-before[Filter by updated_at upper bound (ISO/relative)]:timestamp' \\
|
|
1999
1972
|
'--created-after[Filter by created_at lower bound (ISO/relative)]:timestamp' \\
|
|
@@ -2496,6 +2469,7 @@ ${zshSearchRuntimeFieldFlags} '--json[Output JSON]' \\
|
|
|
2496
2469
|
_arguments \\
|
|
2497
2470
|
'--action[Filter schema by tool action]:action' \\
|
|
2498
2471
|
'--command[Scope output to one command (narrow-by-default)]:command' \\
|
|
2472
|
+
'--summary[Return compact command intent summary]' \\
|
|
2499
2473
|
'--schema-only[Return schema-only payload]' \\
|
|
2500
2474
|
'--flags-only[Return command flag contracts only]' \\
|
|
2501
2475
|
'--availability-only[Return action availability only]' \\
|
|
@@ -2971,6 +2945,8 @@ for list_cmd in ${listCmds}
|
|
|
2971
2945
|
complete -c pm -n "__fish_seen_subcommand_from $list_cmd" -l stream -d 'Emit line-delimited JSON rows (requires --json)'
|
|
2972
2946
|
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
|
|
2973
2947
|
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
|
|
2948
|
+
complete -c pm -n "__fish_seen_subcommand_from $list_cmd" -l today -d 'Filter to items updated since local midnight today'
|
|
2949
|
+
complete -c pm -n "__fish_seen_subcommand_from $list_cmd" -l recent -d 'Filter to items updated in the last 7 days'
|
|
2974
2950
|
complete -c pm -n "__fish_seen_subcommand_from $list_cmd" -l updated-after -d 'Filter by updated_at lower bound (ISO/relative)' -r
|
|
2975
2951
|
complete -c pm -n "__fish_seen_subcommand_from $list_cmd" -l updated-before -d 'Filter by updated_at upper bound (ISO/relative)' -r
|
|
2976
2952
|
complete -c pm -n "__fish_seen_subcommand_from $list_cmd" -l created-after -d 'Filter by created_at lower bound (ISO/relative)' -r
|
|
@@ -3465,6 +3441,7 @@ complete -c pm -n '__fish_seen_subcommand_from activity' -l full -d 'Show full a
|
|
|
3465
3441
|
complete -c pm -n '__fish_seen_subcommand_from activity' -l stream -d 'Emit line-delimited JSON rows'
|
|
3466
3442
|
complete -c pm -n '__fish_seen_subcommand_from contracts' -l action -d 'Filter schema by tool action' -r
|
|
3467
3443
|
complete -c pm -n '__fish_seen_subcommand_from contracts' -l command -d 'Scope output to one command (narrow-by-default)' -r
|
|
3444
|
+
complete -c pm -n '__fish_seen_subcommand_from contracts' -l summary -d 'Return compact command intent summary'
|
|
3468
3445
|
complete -c pm -n '__fish_seen_subcommand_from contracts' -l schema-only -d 'Return schema-only payload'
|
|
3469
3446
|
complete -c pm -n '__fish_seen_subcommand_from contracts' -l flags-only -d 'Return command flag contracts only'
|
|
3470
3447
|
complete -c pm -n '__fish_seen_subcommand_from contracts' -l availability-only -d 'Return action availability only'
|
|
@@ -3948,7 +3925,7 @@ function resolveCommentsAuditLimits(options) {
|
|
|
3948
3925
|
};
|
|
3949
3926
|
}
|
|
3950
3927
|
function toCommentsAuditEntry(item, latest) {
|
|
3951
|
-
const
|
|
3928
|
+
const comments2 = item.comments ?? [];
|
|
3952
3929
|
return {
|
|
3953
3930
|
id: item.id,
|
|
3954
3931
|
title: item.title,
|
|
@@ -3956,8 +3933,8 @@ function toCommentsAuditEntry(item, latest) {
|
|
|
3956
3933
|
status: item.status,
|
|
3957
3934
|
assignee: item.assignee ?? null,
|
|
3958
3935
|
updated_at: item.updated_at,
|
|
3959
|
-
comment_count:
|
|
3960
|
-
comments: latest === void 0 ?
|
|
3936
|
+
comment_count: comments2.length,
|
|
3937
|
+
comments: latest === void 0 ? comments2 : limitComments(comments2, latest)
|
|
3961
3938
|
};
|
|
3962
3939
|
}
|
|
3963
3940
|
function buildCommentsAuditFilters(options, status, limitItems, latest, fullHistory) {
|
|
@@ -4820,15 +4797,15 @@ function parseMode2(raw) {
|
|
|
4820
4797
|
}
|
|
4821
4798
|
throw new PmCliError("Reindex mode must be one of keyword|semantic|hybrid", EXIT_CODE.USAGE);
|
|
4822
4799
|
}
|
|
4823
|
-
async function loadDocumentCandidates(pmRoot, itemFormat, typeToFolder,
|
|
4800
|
+
async function loadDocumentCandidates(pmRoot, itemFormat, typeToFolder, schema2) {
|
|
4824
4801
|
const warnings = [];
|
|
4825
|
-
const candidates = await listAllDocumentCandidatesCached(pmRoot, itemFormat, typeToFolder, warnings,
|
|
4802
|
+
const candidates = await listAllDocumentCandidatesCached(pmRoot, itemFormat, typeToFolder, warnings, schema2);
|
|
4826
4803
|
return {
|
|
4827
4804
|
candidates,
|
|
4828
4805
|
warnings
|
|
4829
4806
|
};
|
|
4830
4807
|
}
|
|
4831
|
-
async function hydrateDocuments(pmRoot, candidates,
|
|
4808
|
+
async function hydrateDocuments(pmRoot, candidates, schema2, warnings, itemIds) {
|
|
4832
4809
|
const extensionFieldNames = collectRegisteredItemFieldNames(getActiveExtensionRegistrations());
|
|
4833
4810
|
const hydrated = [];
|
|
4834
4811
|
for (const candidate of candidates) {
|
|
@@ -4846,7 +4823,7 @@ async function hydrateDocuments(pmRoot, candidates, schema, warnings, itemIds) {
|
|
|
4846
4823
|
const raw = await fs.readFile(candidate.item_path, "utf8");
|
|
4847
4824
|
const parsed = parseItemDocument(raw, {
|
|
4848
4825
|
format: candidate.item_format,
|
|
4849
|
-
schema,
|
|
4826
|
+
schema: schema2,
|
|
4850
4827
|
extensionFieldNames,
|
|
4851
4828
|
onWarning: (warning) => warnings.push(warning)
|
|
4852
4829
|
});
|
|
@@ -5458,13 +5435,8 @@ async function runReindex(options, global) {
|
|
|
5458
5435
|
}
|
|
5459
5436
|
|
|
5460
5437
|
// dist/sdk/runtime.js
|
|
5461
|
-
function
|
|
5462
|
-
|
|
5463
|
-
return {
|
|
5464
|
-
...fullChangedFields === void 0 ? {} : { fullChangedFields },
|
|
5465
|
-
...idOnly === void 0 ? {} : { idOnly },
|
|
5466
|
-
options: runnerOptions
|
|
5467
|
-
};
|
|
5438
|
+
function splitFullClientMutationOptions(options) {
|
|
5439
|
+
return { fullChangedFields: true, options };
|
|
5468
5440
|
}
|
|
5469
5441
|
var PmClient = class {
|
|
5470
5442
|
defaults;
|
|
@@ -5530,83 +5502,279 @@ var PmClient = class {
|
|
|
5530
5502
|
stats(options = {}) {
|
|
5531
5503
|
return this.runTyped("stats", { options });
|
|
5532
5504
|
}
|
|
5505
|
+
/**
|
|
5506
|
+
* List, add, edit, or delete item comments.
|
|
5507
|
+
*/
|
|
5508
|
+
comments(id, options = {}) {
|
|
5509
|
+
return this.runTyped("comments", { id, options });
|
|
5510
|
+
}
|
|
5511
|
+
/**
|
|
5512
|
+
* List or append private item notes.
|
|
5513
|
+
*/
|
|
5514
|
+
notes(id, options = {}) {
|
|
5515
|
+
return this.runTyped("notes", { id, options });
|
|
5516
|
+
}
|
|
5517
|
+
/**
|
|
5518
|
+
* List or append durable item learnings.
|
|
5519
|
+
*/
|
|
5520
|
+
learnings(id, options = {}) {
|
|
5521
|
+
return this.runTyped("learnings", { id, options });
|
|
5522
|
+
}
|
|
5523
|
+
/**
|
|
5524
|
+
* Add, remove, clear, or list linked project files for an item.
|
|
5525
|
+
*/
|
|
5526
|
+
files(id, options = {}) {
|
|
5527
|
+
return this.runTyped("files", { id, options });
|
|
5528
|
+
}
|
|
5529
|
+
/**
|
|
5530
|
+
* Discover and optionally attach changed files for an item.
|
|
5531
|
+
*/
|
|
5532
|
+
filesDiscover(id, options = {}) {
|
|
5533
|
+
return this.runTyped("files-discover", { id, options });
|
|
5534
|
+
}
|
|
5535
|
+
/**
|
|
5536
|
+
* Add, remove, clear, or list linked documentation for an item.
|
|
5537
|
+
*/
|
|
5538
|
+
docs(id, options = {}) {
|
|
5539
|
+
return this.runTyped("docs", { id, options });
|
|
5540
|
+
}
|
|
5541
|
+
/**
|
|
5542
|
+
* Inspect item dependency relationships.
|
|
5543
|
+
*/
|
|
5544
|
+
deps(id, options = {}) {
|
|
5545
|
+
return this.runTyped("deps", { id, options });
|
|
5546
|
+
}
|
|
5547
|
+
/**
|
|
5548
|
+
* Append markdown/body text to an item through the mutation pipeline.
|
|
5549
|
+
*/
|
|
5550
|
+
append(id, body, options = {}) {
|
|
5551
|
+
return this.runTyped("append", { id, ...splitFullClientMutationOptions({ ...options, body }) });
|
|
5552
|
+
}
|
|
5553
|
+
/**
|
|
5554
|
+
* Initialize a workspace with the same semantics as `pm init`.
|
|
5555
|
+
*/
|
|
5556
|
+
init(prefix, options = {}) {
|
|
5557
|
+
return this.runTyped("init", { ...prefix === void 0 ? {} : { prefix }, options });
|
|
5558
|
+
}
|
|
5559
|
+
/**
|
|
5560
|
+
* Read or update project/global configuration.
|
|
5561
|
+
*/
|
|
5562
|
+
config(scope, configAction, key, value, options = {}) {
|
|
5563
|
+
return this.runTyped("config", {
|
|
5564
|
+
scope,
|
|
5565
|
+
configAction,
|
|
5566
|
+
...key === void 0 ? {} : { key },
|
|
5567
|
+
...value === void 0 ? {} : { value },
|
|
5568
|
+
options
|
|
5569
|
+
});
|
|
5570
|
+
}
|
|
5571
|
+
/**
|
|
5572
|
+
* Run the schema customization surface.
|
|
5573
|
+
*/
|
|
5574
|
+
schema(subcommand, options = {}) {
|
|
5575
|
+
return this.runTyped("schema", { options: { ...options, subcommand } });
|
|
5576
|
+
}
|
|
5577
|
+
/**
|
|
5578
|
+
* List built-in, custom, and extension-provided schema types/statuses.
|
|
5579
|
+
*/
|
|
5580
|
+
schemaList() {
|
|
5581
|
+
return this.runTyped("schema", { options: { subcommand: "list" } });
|
|
5582
|
+
}
|
|
5583
|
+
/**
|
|
5584
|
+
* Show a schema item type definition.
|
|
5585
|
+
*/
|
|
5586
|
+
schemaShow(name) {
|
|
5587
|
+
return this.runTyped("schema", { name, options: { subcommand: "show" } });
|
|
5588
|
+
}
|
|
5589
|
+
/**
|
|
5590
|
+
* Register or replace a custom item type.
|
|
5591
|
+
*/
|
|
5592
|
+
schemaAddType(name, options = {}) {
|
|
5593
|
+
return this.runTyped("schema", { name, options: { ...options, subcommand: "add-type" } });
|
|
5594
|
+
}
|
|
5595
|
+
/**
|
|
5596
|
+
* Remove a custom item type.
|
|
5597
|
+
*/
|
|
5598
|
+
schemaRemoveType(name, options = {}) {
|
|
5599
|
+
return this.runTyped("schema", { name, options: { ...options, subcommand: "remove-type" } });
|
|
5600
|
+
}
|
|
5601
|
+
/**
|
|
5602
|
+
* Register or replace a custom status.
|
|
5603
|
+
*/
|
|
5604
|
+
schemaAddStatus(name, options = {}) {
|
|
5605
|
+
return this.runTyped("schema", { name, options: { ...options, subcommand: "add-status" } });
|
|
5606
|
+
}
|
|
5607
|
+
/**
|
|
5608
|
+
* Remove a custom status.
|
|
5609
|
+
*/
|
|
5610
|
+
schemaRemoveStatus(name, options = {}) {
|
|
5611
|
+
return this.runTyped("schema", { name, options: { ...options, subcommand: "remove-status" } });
|
|
5612
|
+
}
|
|
5613
|
+
/**
|
|
5614
|
+
* Register or replace a runtime custom field.
|
|
5615
|
+
*/
|
|
5616
|
+
schemaAddField(name, options = {}) {
|
|
5617
|
+
return this.runTyped("schema", { name, options: { ...options, subcommand: "add-field" } });
|
|
5618
|
+
}
|
|
5619
|
+
/**
|
|
5620
|
+
* Remove a runtime custom field.
|
|
5621
|
+
*/
|
|
5622
|
+
schemaRemoveField(name, options = {}) {
|
|
5623
|
+
return this.runTyped("schema", { name, options: { ...options, subcommand: "remove-field" } });
|
|
5624
|
+
}
|
|
5625
|
+
/**
|
|
5626
|
+
* List runtime custom fields.
|
|
5627
|
+
*/
|
|
5628
|
+
schemaListFields() {
|
|
5629
|
+
return this.runTyped("schema", { options: { subcommand: "list-fields" } });
|
|
5630
|
+
}
|
|
5631
|
+
/**
|
|
5632
|
+
* Show one runtime custom field definition.
|
|
5633
|
+
*/
|
|
5634
|
+
schemaShowField(name) {
|
|
5635
|
+
return this.runTyped("schema", { name, options: { subcommand: "show-field" } });
|
|
5636
|
+
}
|
|
5637
|
+
/**
|
|
5638
|
+
* Apply a built-in type preset to the workspace schema.
|
|
5639
|
+
*/
|
|
5640
|
+
schemaApplyPreset(typePreset, options = {}) {
|
|
5641
|
+
return this.runTyped("schema", { typePreset, options: { ...options, subcommand: "apply-preset" } });
|
|
5642
|
+
}
|
|
5643
|
+
/**
|
|
5644
|
+
* Infer item types from the current tracker and optionally apply them.
|
|
5645
|
+
*/
|
|
5646
|
+
schemaInferTypes(options = {}) {
|
|
5647
|
+
return this.runTyped("schema", { options: { ...options, subcommand: "add-type", infer: true } });
|
|
5648
|
+
}
|
|
5649
|
+
/**
|
|
5650
|
+
* Show one runtime status definition.
|
|
5651
|
+
*/
|
|
5652
|
+
schemaShowStatus(name) {
|
|
5653
|
+
return this.runTyped("schema", { name, options: { subcommand: "show-status" } });
|
|
5654
|
+
}
|
|
5655
|
+
/**
|
|
5656
|
+
* Run the profile customization surface.
|
|
5657
|
+
*/
|
|
5658
|
+
profile(subcommand, options = {}) {
|
|
5659
|
+
return this.runTyped("profile", { options: { ...options, subcommand } });
|
|
5660
|
+
}
|
|
5661
|
+
/**
|
|
5662
|
+
* List available project profiles.
|
|
5663
|
+
*/
|
|
5664
|
+
profileList() {
|
|
5665
|
+
return this.runTyped("profile", { options: { subcommand: "list" } });
|
|
5666
|
+
}
|
|
5667
|
+
/**
|
|
5668
|
+
* Show a project profile.
|
|
5669
|
+
*/
|
|
5670
|
+
profileShow(name) {
|
|
5671
|
+
return this.runTyped("profile", { name, options: { subcommand: "show" } });
|
|
5672
|
+
}
|
|
5673
|
+
/**
|
|
5674
|
+
* Apply a project profile.
|
|
5675
|
+
*/
|
|
5676
|
+
profileApply(name, options = {}) {
|
|
5677
|
+
return this.runTyped("profile", { name, options: { ...options, subcommand: "apply" } });
|
|
5678
|
+
}
|
|
5679
|
+
/**
|
|
5680
|
+
* Lint a project profile.
|
|
5681
|
+
*/
|
|
5682
|
+
profileLint(name) {
|
|
5683
|
+
return this.runTyped("profile", { name, options: { subcommand: "lint" } });
|
|
5684
|
+
}
|
|
5685
|
+
/**
|
|
5686
|
+
* Run project validation checks.
|
|
5687
|
+
*/
|
|
5688
|
+
validate(options = {}) {
|
|
5689
|
+
return this.runTyped("validate", { options });
|
|
5690
|
+
}
|
|
5691
|
+
/**
|
|
5692
|
+
* Run project health checks.
|
|
5693
|
+
*/
|
|
5694
|
+
health(options = {}) {
|
|
5695
|
+
return this.runTyped("health", { options });
|
|
5696
|
+
}
|
|
5697
|
+
/**
|
|
5698
|
+
* Run tracker cache/runtime garbage collection.
|
|
5699
|
+
*/
|
|
5700
|
+
gc(options = {}) {
|
|
5701
|
+
return this.runTyped("gc", { options });
|
|
5702
|
+
}
|
|
5533
5703
|
/**
|
|
5534
5704
|
* Create an item using the same mutation path as `pm create`.
|
|
5535
5705
|
*/
|
|
5536
5706
|
create(options = {}) {
|
|
5537
|
-
return this.
|
|
5707
|
+
return this.runTyped("create", splitFullClientMutationOptions(options));
|
|
5538
5708
|
}
|
|
5539
5709
|
/**
|
|
5540
5710
|
* Update an item using the same mutation path as `pm update`.
|
|
5541
5711
|
*/
|
|
5542
5712
|
update(id, options = {}) {
|
|
5543
|
-
return this.
|
|
5713
|
+
return this.runTyped("update", { id, ...splitFullClientMutationOptions(options) });
|
|
5544
5714
|
}
|
|
5545
5715
|
/**
|
|
5546
5716
|
* Close an item using the same mutation path as `pm close`.
|
|
5547
5717
|
*/
|
|
5548
5718
|
close(id, reason, options = {}) {
|
|
5549
|
-
return this.
|
|
5719
|
+
return this.runTyped("close", { id, reason, ...splitFullClientMutationOptions(options) });
|
|
5550
5720
|
}
|
|
5551
5721
|
/**
|
|
5552
5722
|
* Claim an item using the same mutation path as `pm claim`.
|
|
5553
5723
|
*/
|
|
5554
5724
|
claim(id, options = {}) {
|
|
5555
|
-
return this.
|
|
5725
|
+
return this.runTyped("claim", { id, ...splitFullClientMutationOptions(options) });
|
|
5556
5726
|
}
|
|
5557
5727
|
/**
|
|
5558
5728
|
* Release an item's active claim using the same mutation path as `pm release`.
|
|
5559
5729
|
*/
|
|
5560
5730
|
release(id, options = {}) {
|
|
5561
|
-
return this.
|
|
5731
|
+
return this.runTyped("release", { id, ...splitFullClientMutationOptions(options) });
|
|
5562
5732
|
}
|
|
5563
5733
|
/**
|
|
5564
5734
|
* Copy an item using the same mutation path as `pm copy`.
|
|
5565
5735
|
*/
|
|
5566
5736
|
copy(id, options = {}) {
|
|
5567
|
-
return this.
|
|
5737
|
+
return this.runTyped("copy", { id, ...splitFullClientMutationOptions(options) });
|
|
5568
5738
|
}
|
|
5569
5739
|
/**
|
|
5570
5740
|
* Delete an item using the same mutation path as `pm delete`.
|
|
5571
5741
|
*/
|
|
5572
5742
|
delete(id, options = {}) {
|
|
5573
|
-
return this.
|
|
5743
|
+
return this.runTyped("delete", { id, ...splitFullClientMutationOptions(options) });
|
|
5574
5744
|
}
|
|
5575
5745
|
/**
|
|
5576
5746
|
* Restore an item to a history version or timestamp using `pm restore`.
|
|
5577
5747
|
*/
|
|
5578
5748
|
restore(id, target, options = {}) {
|
|
5579
|
-
|
|
5580
|
-
|
|
5581
|
-
...fullChangedFields === void 0 ? {} : { fullChangedFields },
|
|
5582
|
-
...idOnly === void 0 ? {} : { idOnly },
|
|
5749
|
+
return this.runTyped("restore", {
|
|
5750
|
+
fullChangedFields: true,
|
|
5583
5751
|
id,
|
|
5584
|
-
options: { ...
|
|
5752
|
+
options: { ...options, target }
|
|
5585
5753
|
});
|
|
5586
5754
|
}
|
|
5587
5755
|
/**
|
|
5588
5756
|
* Set, clear, or read workspace focus using the same path as `pm focus`.
|
|
5589
5757
|
*/
|
|
5590
5758
|
focus(id, options = {}) {
|
|
5591
|
-
return this.
|
|
5759
|
+
return this.runTyped("focus", { ...id === void 0 ? {} : { id }, ...splitFullClientMutationOptions(options) });
|
|
5592
5760
|
}
|
|
5593
5761
|
/**
|
|
5594
5762
|
* Claim an item and transition it to the workspace in-progress status.
|
|
5595
5763
|
*/
|
|
5596
5764
|
startTask(id, options = {}) {
|
|
5597
|
-
return this.
|
|
5765
|
+
return this.runTyped("start-task", { id, ...splitFullClientMutationOptions(options) });
|
|
5598
5766
|
}
|
|
5599
5767
|
/**
|
|
5600
5768
|
* Move an item back to the workspace open status and release the claim.
|
|
5601
5769
|
*/
|
|
5602
5770
|
pauseTask(id, options = {}) {
|
|
5603
|
-
return this.
|
|
5771
|
+
return this.runTyped("pause-task", { id, ...splitFullClientMutationOptions(options) });
|
|
5604
5772
|
}
|
|
5605
5773
|
/**
|
|
5606
5774
|
* Close an item and release its active assignment.
|
|
5607
5775
|
*/
|
|
5608
5776
|
closeTask(id, reason, options = {}) {
|
|
5609
|
-
return this.
|
|
5777
|
+
return this.runTyped("close-task", { id, reason, ...splitFullClientMutationOptions(options) });
|
|
5610
5778
|
}
|
|
5611
5779
|
/**
|
|
5612
5780
|
* Run the extension lifecycle surface with the same result shape as `pm extension`.
|
|
@@ -5729,6 +5897,102 @@ function aggregate(options = {}, clientOptions = {}) {
|
|
|
5729
5897
|
function stats(options = {}, clientOptions = {}) {
|
|
5730
5898
|
return new PmClient(clientOptions).stats(options);
|
|
5731
5899
|
}
|
|
5900
|
+
function comments(id, options = {}, clientOptions = {}) {
|
|
5901
|
+
return new PmClient(clientOptions).comments(id, options);
|
|
5902
|
+
}
|
|
5903
|
+
function notes(id, options = {}, clientOptions = {}) {
|
|
5904
|
+
return new PmClient(clientOptions).notes(id, options);
|
|
5905
|
+
}
|
|
5906
|
+
function learnings(id, options = {}, clientOptions = {}) {
|
|
5907
|
+
return new PmClient(clientOptions).learnings(id, options);
|
|
5908
|
+
}
|
|
5909
|
+
function files(id, options = {}, clientOptions = {}) {
|
|
5910
|
+
return new PmClient(clientOptions).files(id, options);
|
|
5911
|
+
}
|
|
5912
|
+
function filesDiscover(id, options = {}, clientOptions = {}) {
|
|
5913
|
+
return new PmClient(clientOptions).filesDiscover(id, options);
|
|
5914
|
+
}
|
|
5915
|
+
function docs(id, options = {}, clientOptions = {}) {
|
|
5916
|
+
return new PmClient(clientOptions).docs(id, options);
|
|
5917
|
+
}
|
|
5918
|
+
function deps(id, options = {}, clientOptions = {}) {
|
|
5919
|
+
return new PmClient(clientOptions).deps(id, options);
|
|
5920
|
+
}
|
|
5921
|
+
function append(id, body, options = {}, clientOptions = {}) {
|
|
5922
|
+
return new PmClient(clientOptions).append(id, body, options);
|
|
5923
|
+
}
|
|
5924
|
+
function init(prefix, options = {}, clientOptions = {}) {
|
|
5925
|
+
return new PmClient(clientOptions).init(prefix, options);
|
|
5926
|
+
}
|
|
5927
|
+
function config(scope, configAction, key, value, options = {}, clientOptions = {}) {
|
|
5928
|
+
return new PmClient(clientOptions).config(scope, configAction, key, value, options);
|
|
5929
|
+
}
|
|
5930
|
+
function schema(subcommand, options = {}, clientOptions = {}) {
|
|
5931
|
+
return new PmClient(clientOptions).schema(subcommand, options);
|
|
5932
|
+
}
|
|
5933
|
+
function schemaList(clientOptions = {}) {
|
|
5934
|
+
return new PmClient(clientOptions).schemaList();
|
|
5935
|
+
}
|
|
5936
|
+
function schemaShow(name, clientOptions = {}) {
|
|
5937
|
+
return new PmClient(clientOptions).schemaShow(name);
|
|
5938
|
+
}
|
|
5939
|
+
function schemaAddType(name, options = {}, clientOptions = {}) {
|
|
5940
|
+
return new PmClient(clientOptions).schemaAddType(name, options);
|
|
5941
|
+
}
|
|
5942
|
+
function schemaRemoveType(name, options = {}, clientOptions = {}) {
|
|
5943
|
+
return new PmClient(clientOptions).schemaRemoveType(name, options);
|
|
5944
|
+
}
|
|
5945
|
+
function schemaAddStatus(name, options = {}, clientOptions = {}) {
|
|
5946
|
+
return new PmClient(clientOptions).schemaAddStatus(name, options);
|
|
5947
|
+
}
|
|
5948
|
+
function schemaRemoveStatus(name, options = {}, clientOptions = {}) {
|
|
5949
|
+
return new PmClient(clientOptions).schemaRemoveStatus(name, options);
|
|
5950
|
+
}
|
|
5951
|
+
function schemaAddField(name, options = {}, clientOptions = {}) {
|
|
5952
|
+
return new PmClient(clientOptions).schemaAddField(name, options);
|
|
5953
|
+
}
|
|
5954
|
+
function schemaRemoveField(name, options = {}, clientOptions = {}) {
|
|
5955
|
+
return new PmClient(clientOptions).schemaRemoveField(name, options);
|
|
5956
|
+
}
|
|
5957
|
+
function schemaListFields(clientOptions = {}) {
|
|
5958
|
+
return new PmClient(clientOptions).schemaListFields();
|
|
5959
|
+
}
|
|
5960
|
+
function schemaShowField(name, clientOptions = {}) {
|
|
5961
|
+
return new PmClient(clientOptions).schemaShowField(name);
|
|
5962
|
+
}
|
|
5963
|
+
function schemaApplyPreset(typePreset, options = {}, clientOptions = {}) {
|
|
5964
|
+
return new PmClient(clientOptions).schemaApplyPreset(typePreset, options);
|
|
5965
|
+
}
|
|
5966
|
+
function schemaInferTypes(options = {}, clientOptions = {}) {
|
|
5967
|
+
return new PmClient(clientOptions).schemaInferTypes(options);
|
|
5968
|
+
}
|
|
5969
|
+
function schemaShowStatus(name, clientOptions = {}) {
|
|
5970
|
+
return new PmClient(clientOptions).schemaShowStatus(name);
|
|
5971
|
+
}
|
|
5972
|
+
function profile(subcommand, options = {}, clientOptions = {}) {
|
|
5973
|
+
return new PmClient(clientOptions).profile(subcommand, options);
|
|
5974
|
+
}
|
|
5975
|
+
function profileList(clientOptions = {}) {
|
|
5976
|
+
return new PmClient(clientOptions).profileList();
|
|
5977
|
+
}
|
|
5978
|
+
function profileShow(name, clientOptions = {}) {
|
|
5979
|
+
return new PmClient(clientOptions).profileShow(name);
|
|
5980
|
+
}
|
|
5981
|
+
function profileApply(name, options = {}, clientOptions = {}) {
|
|
5982
|
+
return new PmClient(clientOptions).profileApply(name, options);
|
|
5983
|
+
}
|
|
5984
|
+
function profileLint(name, clientOptions = {}) {
|
|
5985
|
+
return new PmClient(clientOptions).profileLint(name);
|
|
5986
|
+
}
|
|
5987
|
+
function validate(options = {}, clientOptions = {}) {
|
|
5988
|
+
return new PmClient(clientOptions).validate(options);
|
|
5989
|
+
}
|
|
5990
|
+
function health(options = {}, clientOptions = {}) {
|
|
5991
|
+
return new PmClient(clientOptions).health(options);
|
|
5992
|
+
}
|
|
5993
|
+
function gc(options = {}, clientOptions = {}) {
|
|
5994
|
+
return new PmClient(clientOptions).gc(options);
|
|
5995
|
+
}
|
|
5732
5996
|
function create(options = {}, clientOptions = {}) {
|
|
5733
5997
|
return new PmClient(clientOptions).create(options);
|
|
5734
5998
|
}
|
|
@@ -5927,11 +6191,16 @@ var LIFECYCLE_AUTHOR_ALIAS_ACTIONS = /* @__PURE__ */ new Set([
|
|
|
5927
6191
|
function normalizeMcpOptionsArrays(options, action) {
|
|
5928
6192
|
const result = {};
|
|
5929
6193
|
const promoteAddRemove = action !== void 0 && ARRAY_ADD_REMOVE_ACTIONS.has(action);
|
|
6194
|
+
const preserveStandaloneNote = action === "files" || action === "files-discover" || action === "docs";
|
|
5930
6195
|
for (const [key, value] of Object.entries(options)) {
|
|
5931
6196
|
if (Array.isArray(value) && ARRAY_TO_CSV_FIELDS.has(key)) {
|
|
5932
6197
|
result[key] = value.join(",");
|
|
5933
6198
|
continue;
|
|
5934
6199
|
}
|
|
6200
|
+
if (key === "note" && preserveStandaloneNote) {
|
|
6201
|
+
result[key] = value;
|
|
6202
|
+
continue;
|
|
6203
|
+
}
|
|
5935
6204
|
if (typeof value === "string" && SCALAR_TO_ARRAY_FIELDS.has(key)) {
|
|
5936
6205
|
result[key] = [value];
|
|
5937
6206
|
continue;
|
|
@@ -6530,8 +6799,8 @@ function createMcpSchemaContext(ctx) {
|
|
|
6530
6799
|
aliases: aliasSource === void 0 ? void 0 : readStringArray(aliasSource)
|
|
6531
6800
|
};
|
|
6532
6801
|
}
|
|
6533
|
-
function runMcpSchemaReadOrRemoveAction(
|
|
6534
|
-
const { ctx, subcommand, name, author, force } =
|
|
6802
|
+
function runMcpSchemaReadOrRemoveAction(schema2) {
|
|
6803
|
+
const { ctx, subcommand, name, author, force } = schema2;
|
|
6535
6804
|
const simpleHandlers = {
|
|
6536
6805
|
list: () => runSchemaList(ctx.global),
|
|
6537
6806
|
show: () => runSchemaShow(name, ctx.global),
|
|
@@ -6546,8 +6815,8 @@ function runMcpSchemaReadOrRemoveAction(schema) {
|
|
|
6546
6815
|
const handler = getOwnHandler(simpleHandlers, subcommand);
|
|
6547
6816
|
return handler ? handler() : null;
|
|
6548
6817
|
}
|
|
6549
|
-
function runMcpSchemaAddFieldAction(
|
|
6550
|
-
const { ctx, name, author, force, aliases } =
|
|
6818
|
+
function runMcpSchemaAddFieldAction(schema2) {
|
|
6819
|
+
const { ctx, name, author, force, aliases } = schema2;
|
|
6551
6820
|
const commandsSource = ctx.args.commands ?? ctx.options.commands;
|
|
6552
6821
|
const requiredTypesSource = ctx.args.requiredTypes ?? ctx.options.requiredTypes;
|
|
6553
6822
|
return runSchemaAddField(name, {
|
|
@@ -6564,8 +6833,8 @@ function runMcpSchemaAddFieldAction(schema) {
|
|
|
6564
6833
|
force
|
|
6565
6834
|
}, ctx.global);
|
|
6566
6835
|
}
|
|
6567
|
-
function runMcpSchemaAddStatusAction(
|
|
6568
|
-
const { ctx, name, author, force, aliases } =
|
|
6836
|
+
function runMcpSchemaAddStatusAction(schema2) {
|
|
6837
|
+
const { ctx, name, author, force, aliases } = schema2;
|
|
6569
6838
|
const roleSource = ctx.args.role ?? ctx.options.role;
|
|
6570
6839
|
return runSchemaAddStatus(name, {
|
|
6571
6840
|
role: roleSource === void 0 ? void 0 : readStringArray(roleSource),
|
|
@@ -6576,8 +6845,8 @@ function runMcpSchemaAddStatusAction(schema) {
|
|
|
6576
6845
|
force
|
|
6577
6846
|
}, ctx.global);
|
|
6578
6847
|
}
|
|
6579
|
-
function runMcpSchemaAddTypeAction(
|
|
6580
|
-
const { ctx, name, author, force, aliases } =
|
|
6848
|
+
function runMcpSchemaAddTypeAction(schema2) {
|
|
6849
|
+
const { ctx, name, author, force, aliases } = schema2;
|
|
6581
6850
|
return runSchemaAddType(name, {
|
|
6582
6851
|
description: readString(ctx.args, "description") ?? readString(ctx.options, "description"),
|
|
6583
6852
|
defaultStatus: readString(ctx.args, "defaultStatus") ?? readString(ctx.args, "default_status") ?? readString(ctx.options, "defaultStatus") ?? readString(ctx.options, "default_status"),
|
|
@@ -6588,29 +6857,29 @@ function runMcpSchemaAddTypeAction(schema) {
|
|
|
6588
6857
|
}, ctx.global);
|
|
6589
6858
|
}
|
|
6590
6859
|
function runMcpSchemaAction(ctx) {
|
|
6591
|
-
const
|
|
6592
|
-
const simpleResult = runMcpSchemaReadOrRemoveAction(
|
|
6860
|
+
const schema2 = createMcpSchemaContext(ctx);
|
|
6861
|
+
const simpleResult = runMcpSchemaReadOrRemoveAction(schema2);
|
|
6593
6862
|
if (simpleResult !== null) {
|
|
6594
6863
|
return simpleResult;
|
|
6595
6864
|
}
|
|
6596
|
-
if (
|
|
6597
|
-
return runMcpSchemaAddFieldAction(
|
|
6865
|
+
if (schema2.subcommand === "add-field") {
|
|
6866
|
+
return runMcpSchemaAddFieldAction(schema2);
|
|
6598
6867
|
}
|
|
6599
|
-
if (
|
|
6600
|
-
return runMcpSchemaAddStatusAction(
|
|
6868
|
+
if (schema2.subcommand === "add-status") {
|
|
6869
|
+
return runMcpSchemaAddStatusAction(schema2);
|
|
6601
6870
|
}
|
|
6602
|
-
if (
|
|
6871
|
+
if (schema2.subcommand === "add-type") {
|
|
6603
6872
|
if (ctx.args.infer === true || ctx.options.infer === true) {
|
|
6604
6873
|
return runSchemaInferTypes({
|
|
6605
6874
|
minCount: parseMcpInteger(ctx.args.minCount ?? ctx.options.minCount, "schema infer minCount"),
|
|
6606
6875
|
apply: ctx.args.apply === true || ctx.options.apply === true,
|
|
6607
|
-
author:
|
|
6608
|
-
force:
|
|
6876
|
+
author: schema2.author,
|
|
6877
|
+
force: schema2.force
|
|
6609
6878
|
}, ctx.global);
|
|
6610
6879
|
}
|
|
6611
|
-
return runMcpSchemaAddTypeAction(
|
|
6880
|
+
return runMcpSchemaAddTypeAction(schema2);
|
|
6612
6881
|
}
|
|
6613
|
-
throw new PmCliError(`Unknown pm schema subcommand "${
|
|
6882
|
+
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);
|
|
6614
6883
|
}
|
|
6615
6884
|
function runMcpProfileAction(ctx) {
|
|
6616
6885
|
const subcommand = readString(ctx.args, "subcommand") ?? readRequiredString(ctx.options, "subcommand");
|
|
@@ -6851,6 +7120,38 @@ export {
|
|
|
6851
7120
|
next,
|
|
6852
7121
|
aggregate,
|
|
6853
7122
|
stats,
|
|
7123
|
+
comments,
|
|
7124
|
+
notes,
|
|
7125
|
+
learnings,
|
|
7126
|
+
files,
|
|
7127
|
+
filesDiscover,
|
|
7128
|
+
docs,
|
|
7129
|
+
deps,
|
|
7130
|
+
append,
|
|
7131
|
+
init,
|
|
7132
|
+
config,
|
|
7133
|
+
schema,
|
|
7134
|
+
schemaList,
|
|
7135
|
+
schemaShow,
|
|
7136
|
+
schemaAddType,
|
|
7137
|
+
schemaRemoveType,
|
|
7138
|
+
schemaAddStatus,
|
|
7139
|
+
schemaRemoveStatus,
|
|
7140
|
+
schemaAddField,
|
|
7141
|
+
schemaRemoveField,
|
|
7142
|
+
schemaListFields,
|
|
7143
|
+
schemaShowField,
|
|
7144
|
+
schemaApplyPreset,
|
|
7145
|
+
schemaInferTypes,
|
|
7146
|
+
schemaShowStatus,
|
|
7147
|
+
profile,
|
|
7148
|
+
profileList,
|
|
7149
|
+
profileShow,
|
|
7150
|
+
profileApply,
|
|
7151
|
+
profileLint,
|
|
7152
|
+
validate,
|
|
7153
|
+
health,
|
|
7154
|
+
gc,
|
|
6854
7155
|
create,
|
|
6855
7156
|
update,
|
|
6856
7157
|
close,
|
|
@@ -6884,6 +7185,6 @@ export {
|
|
|
6884
7185
|
readRequiredString,
|
|
6885
7186
|
runAction
|
|
6886
7187
|
};
|
|
6887
|
-
//# sourceMappingURL=chunk-
|
|
7188
|
+
//# sourceMappingURL=chunk-XES6AVCK.js.map
|
|
6888
7189
|
|
|
6889
|
-
//# debugId=
|
|
7190
|
+
//# debugId=fba5a2fc-abf5-5621-9076-1b97983ccc95
|