@unbrained/pm-cli 2026.7.7 → 2026.7.9
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 +25 -0
- package/README.md +1 -0
- package/dist/cli/commands/close.js +5 -2
- package/dist/cli/commands/close.js.map +1 -1
- package/dist/cli/commands/completion.js +16 -2
- package/dist/cli/commands/completion.js.map +1 -1
- package/dist/cli/commands/context.d.ts +1 -0
- package/dist/cli/commands/context.js +4 -4
- 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 +23 -19
- package/dist/cli/commands/extension.js +167 -57
- package/dist/cli/commands/extension.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/search.js +3 -3
- package/dist/cli/commands/search.js.map +1 -1
- package/dist/cli/commands/update.d.ts +32 -1
- package/dist/cli/commands/update.js +19 -2
- package/dist/cli/commands/update.js.map +1 -1
- package/dist/cli/help-content.js +28 -2
- package/dist/cli/help-content.js.map +1 -1
- package/dist/cli/register-list-query.js +5 -2
- 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 +8 -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-CDPAYYSB.js +11 -0
- package/dist/cli-bundle/chunks/{append-PVCTBVJG.js → append-RSPHC423.js} +5 -5
- package/dist/cli-bundle/chunks/{chunk-6G6O3OPQ.js → chunk-26MFLA7K.js} +7 -7
- package/dist/cli-bundle/chunks/{chunk-LCFJ7XAM.js → chunk-2BVD4ZD2.js} +267 -232
- package/dist/cli-bundle/chunks/chunk-2BVD4ZD2.js.map +7 -0
- package/dist/cli-bundle/chunks/{chunk-7ML7JONU.js → chunk-2FKIIQMJ.js} +14 -14
- package/dist/cli-bundle/chunks/chunk-2FKIIQMJ.js.map +1 -0
- package/dist/cli-bundle/chunks/{chunk-H2SMKL2N.js → chunk-3FUXM574.js} +4 -4
- package/dist/cli-bundle/chunks/{chunk-DR2V5OIV.js → chunk-3SHDAKMF.js} +3 -3
- package/dist/cli-bundle/chunks/{chunk-MRFWUSVA.js → chunk-3UXIMY62.js} +3 -3
- package/dist/cli-bundle/chunks/{chunk-WCWVEXGA.js → chunk-3V5C7PUH.js} +2 -2
- package/dist/cli-bundle/chunks/{chunk-43YSKY75.js → chunk-3YJDIJIE.js} +3 -3
- package/dist/cli-bundle/chunks/{chunk-HX6QXV5P.js → chunk-4I7KS5ES.js} +2 -2
- package/dist/cli-bundle/chunks/{chunk-XHCVAZGM.js → chunk-4OCWJ2AP.js} +7 -7
- package/dist/cli-bundle/chunks/{chunk-C5ACVMOI.js → chunk-5RJ4LFD3.js} +34 -7
- package/dist/cli-bundle/chunks/chunk-5RJ4LFD3.js.map +7 -0
- package/dist/cli-bundle/chunks/{chunk-3TYOW6RR.js → chunk-5STY7NVM.js} +4 -4
- package/dist/cli-bundle/chunks/{chunk-7VQ3JJN5.js → chunk-5VAZHYVQ.js} +2 -2
- package/dist/cli-bundle/chunks/{chunk-4IQKDKGE.js → chunk-5ZMZF53A.js} +7 -7
- package/dist/cli-bundle/chunks/{chunk-6LCJRGPD.js → chunk-63PZJCKO.js} +10 -7
- package/dist/cli-bundle/chunks/chunk-63PZJCKO.js.map +1 -0
- package/dist/cli-bundle/chunks/{chunk-MCEUKJKW.js → chunk-6FU5BVRB.js} +4 -4
- package/dist/cli-bundle/chunks/{chunk-AJUON7E6.js → chunk-6RR4XM5H.js} +3 -3
- package/dist/cli-bundle/chunks/{chunk-TEISGNSH.js → chunk-6TD5QGIB.js} +4 -4
- package/dist/cli-bundle/chunks/{chunk-565WYS5W.js → chunk-6WCXSC5V.js} +5 -5
- package/dist/cli-bundle/chunks/{chunk-NWWL22C7.js → chunk-6ZKDMEVT.js} +3 -3
- package/dist/cli-bundle/chunks/{chunk-VLEA2UTQ.js → chunk-7QKSLAHB.js} +2 -2
- package/dist/cli-bundle/chunks/{chunk-S6VC2A2K.js → chunk-7TBUV7XS.js} +4 -4
- package/dist/cli-bundle/chunks/{chunk-YPMZMKN7.js → chunk-7UCBLJDF.js} +2 -2
- package/dist/cli-bundle/chunks/{chunk-4MZOKTI2.js → chunk-AEOFBBWO.js} +3 -3
- package/dist/cli-bundle/chunks/{chunk-QFBSP3NI.js → chunk-ASSVI7FP.js} +12 -10
- package/dist/cli-bundle/chunks/{chunk-QFBSP3NI.js.map → chunk-ASSVI7FP.js.map} +1 -1
- package/dist/cli-bundle/chunks/{chunk-ZO7CLOY2.js → chunk-BFNFTHWQ.js} +3 -3
- package/dist/cli-bundle/chunks/{chunk-YNCFP5AR.js → chunk-BPJ5NYSJ.js} +2 -2
- package/dist/cli-bundle/chunks/{chunk-J2VGADNG.js → chunk-BPYVKTZE.js} +122 -27
- package/dist/cli-bundle/chunks/chunk-BPYVKTZE.js.map +1 -0
- package/dist/cli-bundle/chunks/{chunk-P3MJJW7P.js → chunk-C3YU3TXX.js} +2 -2
- package/dist/cli-bundle/chunks/{chunk-SY75LYXR.js → chunk-C6XSTACC.js} +3 -3
- package/dist/cli-bundle/chunks/{chunk-S547WBYG.js → chunk-CEX2DQXZ.js} +600 -96
- package/dist/cli-bundle/chunks/chunk-CEX2DQXZ.js.map +7 -0
- package/dist/cli-bundle/chunks/{chunk-2TILG6F2.js → chunk-CGDUIPJL.js} +3 -3
- package/dist/cli-bundle/chunks/{chunk-LZQU6XJG.js → chunk-CHSXGTWF.js} +23 -9
- package/dist/cli-bundle/chunks/{chunk-LZQU6XJG.js.map → chunk-CHSXGTWF.js.map} +2 -2
- package/dist/cli-bundle/chunks/{chunk-J7BOLHAV.js → chunk-CXH7EMSB.js} +3 -3
- package/dist/cli-bundle/chunks/{chunk-W5HXHC7C.js → chunk-D6J5673C.js} +4 -4
- package/dist/cli-bundle/chunks/{chunk-XZWL7VNE.js → chunk-DBV5A7FT.js} +9 -7
- package/dist/cli-bundle/chunks/chunk-DBV5A7FT.js.map +1 -0
- package/dist/cli-bundle/chunks/{chunk-ARKHKYYS.js → chunk-DQLP22K2.js} +7 -7
- package/dist/cli-bundle/chunks/{chunk-YPD7SQ5P.js → chunk-EEJKHF7M.js} +5 -5
- package/dist/cli-bundle/chunks/{chunk-EDO7VXSO.js → chunk-EP2CKDS7.js} +2 -2
- package/dist/cli-bundle/chunks/{chunk-SIM5JDON.js → chunk-F5DDGY6R.js} +3 -3
- package/dist/cli-bundle/chunks/{chunk-I74FMIWA.js → chunk-FFB3WITE.js} +3 -3
- package/dist/cli-bundle/chunks/{chunk-43UQN754.js → chunk-FJR2S7S4.js} +7 -7
- package/dist/cli-bundle/chunks/{chunk-CJQM7O7R.js → chunk-FOJEBRDD.js} +5 -5
- package/dist/cli-bundle/chunks/{chunk-E3YQFSFE.js → chunk-GLMJLBLR.js} +3 -3
- package/dist/cli-bundle/chunks/{chunk-KTGJ2CBU.js → chunk-GO2X6ZRB.js} +3 -3
- package/dist/cli-bundle/chunks/{chunk-DDDWVPID.js → chunk-GSQVQINP.js} +4 -4
- package/dist/cli-bundle/chunks/{chunk-EVEPHNXJ.js → chunk-GZ365M6E.js} +4 -4
- package/dist/cli-bundle/chunks/{chunk-VGO73OCK.js → chunk-HZZ3AC27.js} +3 -3
- package/dist/cli-bundle/chunks/{chunk-7Y5N34HX.js → chunk-IINCZYM3.js} +3 -3
- package/dist/cli-bundle/chunks/{chunk-GLS6VMWI.js → chunk-INOWVPUD.js} +5 -5
- package/dist/cli-bundle/chunks/{chunk-PDXJXEZJ.js → chunk-J6AD3GWC.js} +2 -2
- package/dist/cli-bundle/chunks/{chunk-52NS7JDP.js → chunk-JH5XDDYS.js} +5 -5
- package/dist/cli-bundle/chunks/{chunk-GPIDUMMN.js → chunk-JYVPLGOW.js} +4 -4
- package/dist/cli-bundle/chunks/{chunk-XC3X7BQR.js → chunk-K2OKKYSO.js} +11 -9
- package/dist/cli-bundle/chunks/{chunk-XC3X7BQR.js.map → chunk-K2OKKYSO.js.map} +2 -2
- package/dist/cli-bundle/chunks/{chunk-YCVWWIKY.js → chunk-K4NMHZR3.js} +111 -24
- package/dist/cli-bundle/chunks/chunk-K4NMHZR3.js.map +7 -0
- package/dist/cli-bundle/chunks/{chunk-EIUBK2LT.js → chunk-K52C6YPA.js} +5 -5
- package/dist/cli-bundle/chunks/{chunk-IDIBF4E2.js → chunk-KAJNWMBE.js} +8 -8
- package/dist/cli-bundle/chunks/{chunk-2LEJGRQ7.js → chunk-KFL3XHMA.js} +2 -2
- package/dist/cli-bundle/chunks/{chunk-XS2TMNXR.js → chunk-LD2NBQ5T.js} +3 -3
- package/dist/cli-bundle/chunks/{chunk-II7R6KD4.js → chunk-LG4N6YOK.js} +5 -5
- package/dist/cli-bundle/chunks/{chunk-M62RO3XK.js → chunk-LHDHS4Z6.js} +5 -5
- package/dist/cli-bundle/chunks/{chunk-YTD5GICJ.js → chunk-MBLHA6LR.js} +4 -4
- package/dist/cli-bundle/chunks/{chunk-F6MT7KKE.js → chunk-MCH6IKK7.js} +3 -3
- package/dist/cli-bundle/chunks/{chunk-7PNQA24K.js → chunk-MCZK7LY6.js} +24 -10
- package/dist/cli-bundle/chunks/{chunk-7PNQA24K.js.map → chunk-MCZK7LY6.js.map} +1 -1
- package/dist/cli-bundle/chunks/{chunk-UO7XAZK6.js → chunk-MFLLULHU.js} +267 -232
- package/dist/cli-bundle/chunks/chunk-MFLLULHU.js.map +1 -0
- package/dist/cli-bundle/chunks/{chunk-FILL6BB2.js → chunk-N4S7BV43.js} +14 -14
- package/dist/cli-bundle/chunks/chunk-N4S7BV43.js.map +7 -0
- package/dist/cli-bundle/chunks/{chunk-2APXX4TZ.js → chunk-NBJCIAVV.js} +108 -21
- package/dist/cli-bundle/chunks/chunk-NBJCIAVV.js.map +1 -0
- package/dist/cli-bundle/chunks/{chunk-Y7KYVCZM.js → chunk-NGBWEYNY.js} +5 -5
- package/dist/cli-bundle/chunks/{chunk-RB3KLPAH.js → chunk-NRMDT4OV.js} +4 -4
- package/dist/cli-bundle/chunks/{chunk-TZLYO4PP.js → chunk-NRYZ4QLH.js} +121 -26
- package/dist/cli-bundle/chunks/chunk-NRYZ4QLH.js.map +7 -0
- package/dist/cli-bundle/chunks/{chunk-F6YC2A6X.js → chunk-NSPSJWGL.js} +9 -6
- package/dist/cli-bundle/chunks/chunk-NSPSJWGL.js.map +7 -0
- package/dist/cli-bundle/chunks/{chunk-GH73UOSJ.js → chunk-NTOOEVJ4.js} +2 -2
- package/dist/cli-bundle/chunks/{chunk-6XTSYPPO.js → chunk-ONADVBMD.js} +8 -6
- package/dist/cli-bundle/chunks/chunk-ONADVBMD.js.map +7 -0
- package/dist/cli-bundle/chunks/{chunk-Y5IKRUEM.js → chunk-P5SUMCU5.js} +167 -65
- package/dist/cli-bundle/chunks/chunk-P5SUMCU5.js.map +1 -0
- package/dist/cli-bundle/chunks/{chunk-EMXPI36L.js → chunk-PAWPLIWW.js} +5 -5
- package/dist/cli-bundle/chunks/{chunk-AGAVEDIE.js → chunk-PCBZ2VJD.js} +4 -4
- package/dist/cli-bundle/chunks/{chunk-MHNMCDWR.js → chunk-PPY3GXFK.js} +600 -96
- package/dist/cli-bundle/chunks/chunk-PPY3GXFK.js.map +1 -0
- package/dist/cli-bundle/chunks/{chunk-3X542TEY.js → chunk-Q3CFSOQZ.js} +4 -4
- package/dist/cli-bundle/chunks/{chunk-4BKDAEDF.js → chunk-QJZM5WO5.js} +3 -3
- package/dist/cli-bundle/chunks/{chunk-HHEWQXPD.js → chunk-QLEH6FTQ.js} +4 -4
- package/dist/cli-bundle/chunks/{chunk-D2DCTFTL.js → chunk-QYZMZD4L.js} +4 -4
- package/dist/cli-bundle/chunks/{chunk-6UQCNWFV.js → chunk-RFHLRMLQ.js} +3 -3
- package/dist/cli-bundle/chunks/{chunk-Q64AYQYW.js → chunk-RL24NAUX.js} +4 -4
- package/dist/cli-bundle/chunks/{chunk-QDABF2RB.js → chunk-S7J3GEHL.js} +10 -10
- package/dist/cli-bundle/chunks/{chunk-5FIQ4EX3.js → chunk-SCJPFQQT.js} +3 -3
- package/dist/cli-bundle/chunks/{chunk-42LXP4VO.js → chunk-SIQGG335.js} +7 -7
- package/dist/cli-bundle/chunks/{chunk-RY7PTTUB.js → chunk-TI7QSUFK.js} +35 -8
- package/dist/cli-bundle/chunks/chunk-TI7QSUFK.js.map +1 -0
- package/dist/cli-bundle/chunks/{chunk-43SIHQND.js → chunk-TKWTJGD6.js} +5 -5
- package/dist/cli-bundle/chunks/{chunk-EOUVR7JN.js → chunk-U72GF3I2.js} +3 -3
- package/dist/cli-bundle/chunks/{chunk-FN6SB4HU.js → chunk-UEATYUZW.js} +2 -2
- package/dist/cli-bundle/chunks/{chunk-V5ZWKJNY.js → chunk-UFNFHCAC.js} +2 -2
- package/dist/cli-bundle/chunks/{chunk-XBX5CBRQ.js → chunk-UH6VFRV6.js} +3 -3
- package/dist/cli-bundle/chunks/{chunk-GTM5HQL4.js → chunk-UIHDZS6X.js} +7 -7
- package/dist/cli-bundle/chunks/{chunk-TGUK6XN6.js → chunk-UURYLDDC.js} +5 -5
- package/dist/cli-bundle/chunks/{chunk-S5BNGFN5.js → chunk-VCGHRLJU.js} +10 -10
- package/dist/cli-bundle/chunks/{chunk-3G6UMXT3.js → chunk-W2VFNVSJ.js} +3 -3
- package/dist/cli-bundle/chunks/{chunk-ZNEG2UDO.js → chunk-WDNPNW22.js} +7 -7
- package/dist/cli-bundle/chunks/{chunk-DG6BSXZ7.js → chunk-WVEMZZCR.js} +3 -3
- package/dist/cli-bundle/chunks/{chunk-TNC6MZUD.js → chunk-XXN2B2MJ.js} +4 -4
- package/dist/cli-bundle/chunks/{chunk-YH5NBDFA.js → chunk-Y2736PT5.js} +8 -8
- package/dist/cli-bundle/chunks/{chunk-X47MKQXU.js → chunk-YHKXNGLA.js} +166 -64
- package/dist/cli-bundle/chunks/chunk-YHKXNGLA.js.map +7 -0
- package/dist/cli-bundle/chunks/{chunk-XXIYUTLK.js → chunk-YPE5MFPJ.js} +4 -4
- package/dist/cli-bundle/chunks/{chunk-XPMXPR7K.js → chunk-YSRXFGNV.js} +3 -3
- package/dist/cli-bundle/chunks/{chunk-N6ZHDLUY.js → chunk-YUMNZS3X.js} +3 -3
- package/dist/cli-bundle/chunks/{chunk-TEKZOS7M.js → chunk-Z2JQH2MG.js} +2 -2
- package/dist/cli-bundle/chunks/{chunk-E3LWJUGF.js → chunk-Z6RLSNUX.js} +3 -3
- package/dist/cli-bundle/chunks/close-5WY6QO5F.js +12 -0
- package/dist/cli-bundle/chunks/{close-3YYQ5OG2.js → close-TKTFRL7N.js} +5 -5
- package/dist/cli-bundle/chunks/{close-many-D366FTIG.js → close-many-HEPL66EG.js} +13 -13
- package/dist/cli-bundle/chunks/close-many-U2KLQ3NL.js +22 -0
- package/dist/cli-bundle/chunks/{comments-54XDJNFE.js → comments-PLFK5ZKK.js} +7 -7
- package/dist/cli-bundle/chunks/comments-ZNOD5PTV.js +13 -0
- package/dist/cli-bundle/chunks/copy-F7BUFY4J.js +9 -0
- package/dist/cli-bundle/chunks/{copy-44RT5GDW.js → copy-VH3L4MN2.js} +4 -4
- package/dist/cli-bundle/chunks/create-KCQM6UYM.js +25 -0
- package/dist/cli-bundle/chunks/{create-4GWJWPXG.js → create-LD4SEUD6.js} +9 -9
- package/dist/cli-bundle/chunks/delete-6KQHZYIP.js +10 -0
- package/dist/cli-bundle/chunks/{delete-YQ2VPXNF.js → delete-ZNXUNCZR.js} +4 -4
- package/dist/cli-bundle/chunks/{deps-FMANWFRP.js → deps-CVDY7FFK.js} +4 -4
- package/dist/cli-bundle/chunks/{deps-BU5EBJDU.js → deps-SZXQHV73.js} +4 -4
- package/dist/cli-bundle/chunks/{docs-OQBSJNIA.js → docs-DR74ITCD.js} +6 -6
- package/dist/cli-bundle/chunks/docs-WCVYY6I7.js +14 -0
- package/dist/cli-bundle/chunks/{files-72HZEBOE.js → files-H5YCA74Z.js} +6 -6
- package/dist/cli-bundle/chunks/{files-HTSB2KJG.js → files-QEFQ2M3H.js} +6 -6
- package/dist/cli-bundle/chunks/{focus-FOG4ALC2.js → focus-55TRYSNA.js} +5 -5
- package/dist/cli-bundle/chunks/focus-N2QGNS5D.js +10 -0
- package/dist/cli-bundle/chunks/history-compact-GWQ4UOEI.js +21 -0
- package/dist/cli-bundle/chunks/{history-compact-M6IFAMBP.js → history-compact-JJZ4EFL3.js} +9 -9
- package/dist/cli-bundle/chunks/history-redact-4GJOLXCM.js +17 -0
- package/dist/cli-bundle/chunks/{history-redact-NQX3OGZP.js → history-redact-TPPUT3A5.js} +7 -7
- package/dist/cli-bundle/chunks/history-repair-HVCVCGUF.js +19 -0
- package/dist/cli-bundle/chunks/{history-repair-NHOJG7WO.js → history-repair-J7PIZ6ZP.js} +9 -9
- package/dist/cli-bundle/chunks/{learnings-T63JGKKN.js → learnings-KB6BT4NR.js} +7 -7
- package/dist/cli-bundle/chunks/learnings-YYY3U2Y7.js +13 -0
- package/dist/cli-bundle/chunks/notes-BGG7VL72.js +13 -0
- package/dist/cli-bundle/chunks/{notes-U7L6HQQ2.js → notes-ZTHXVOKM.js} +7 -7
- package/dist/cli-bundle/chunks/plan-B42KBMX7.js +24 -0
- package/dist/cli-bundle/chunks/{plan-TN537L24.js → plan-LUR7C24X.js} +10 -10
- package/dist/cli-bundle/chunks/{profile-TIGLAKJ7.js → profile-5F75MO5O.js} +9 -9
- package/dist/cli-bundle/chunks/{profile-MHAMXMHQ.js → profile-JRDMDGT5.js} +9 -9
- package/dist/cli-bundle/chunks/{register-list-query-ZCRABAPN.js → register-list-query-GZYRZLQZ.js} +17 -16
- package/dist/cli-bundle/chunks/register-list-query-GZYRZLQZ.js.map +1 -0
- package/dist/cli-bundle/chunks/{register-list-query-OHXD7G5N.js → register-list-query-W2W7RQJJ.js} +16 -15
- package/dist/cli-bundle/chunks/register-list-query-W2W7RQJJ.js.map +7 -0
- package/dist/cli-bundle/chunks/{register-mutation-XX4H56PE.js → register-mutation-5UDT3WL3.js} +29 -29
- package/dist/cli-bundle/chunks/{register-mutation-P3G4XP6Q.js → register-mutation-7DMOYDPC.js} +29 -29
- package/dist/cli-bundle/chunks/{register-operations-V6VKTG54.js → register-operations-NW43IUPE.js} +29 -28
- package/dist/cli-bundle/chunks/register-operations-NW43IUPE.js.map +7 -0
- package/dist/cli-bundle/chunks/{register-operations-V6PIYEDU.js → register-operations-Y4E32W4D.js} +30 -29
- package/dist/cli-bundle/chunks/register-operations-Y4E32W4D.js.map +1 -0
- package/dist/cli-bundle/chunks/{register-setup-6YVUSQYD.js → register-setup-3GVJ7XPE.js} +21 -19
- package/dist/cli-bundle/chunks/register-setup-3GVJ7XPE.js.map +1 -0
- package/dist/cli-bundle/chunks/{register-setup-6RVAWT6W.js → register-setup-MPTTS52V.js} +20 -18
- package/dist/cli-bundle/chunks/register-setup-MPTTS52V.js.map +7 -0
- package/dist/cli-bundle/chunks/{restore-HC3YSWF7.js → restore-BTBEZ5CK.js} +7 -7
- package/dist/cli-bundle/chunks/restore-EX4UUZL6.js +15 -0
- package/dist/cli-bundle/chunks/{schema-DAGSYO6E.js → schema-DGSTYYQB.js} +6 -6
- package/dist/cli-bundle/chunks/{schema-UBXJCQAC.js → schema-HAIBEE24.js} +6 -6
- package/dist/cli-bundle/chunks/update-76CRUMC7.js +21 -0
- package/dist/cli-bundle/chunks/{update-LKD64AFP.js → update-ZMYVXM77.js} +12 -12
- package/dist/cli-bundle/chunks/update-many-QYQRGNPU.js +31 -0
- package/dist/cli-bundle/chunks/update-many-U4CEQWI4.js +35 -0
- package/dist/cli-bundle/main.js +39 -13
- package/dist/cli-bundle/main.js.map +2 -2
- package/dist/cli-bundle/sdk-runtime.js +149 -53
- package/dist/cli-bundle/sdk-testing.js +6 -6
- package/dist/cli-bundle/sdk.js +153 -57
- package/dist/cli-bundle/sdk.js.map +3 -3
- package/dist/core/extensions/extension-types.d.ts +1 -0
- package/dist/core/extensions/extension-types.js +2 -2
- package/dist/core/extensions/extension-types.js.map +1 -1
- package/dist/core/extensions/loader.js +268 -231
- package/dist/core/extensions/loader.js.map +1 -1
- package/dist/sdk/cli-contracts/commander-types.js +3 -3
- package/dist/sdk/cli-contracts/commander-types.js.map +1 -1
- package/dist/sdk/cli-contracts/flag-contracts.js +10 -3
- 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 +20 -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 +71 -12
- package/dist/sdk/cli-contracts/tool-schema.js.map +1 -1
- package/dist/sdk/index.d.ts +1 -1
- package/dist/sdk/index.js +3 -3
- package/dist/sdk/index.js.map +1 -1
- package/dist/sdk/runtime.d.ts +471 -25
- package/dist/sdk/runtime.js +611 -25
- package/dist/sdk/runtime.js.map +1 -1
- package/docs/AGENT_GUIDE.md +3 -0
- package/docs/COMMANDS.md +10 -1
- package/docs/EXTENSIONS.md +7 -20
- package/docs/RELEASING.md +6 -0
- package/docs/SDK.md +67 -0
- package/package.json +2 -1
- package/dist/cli-bundle/chunks/append-F7WPGIQL.js +0 -11
- package/dist/cli-bundle/chunks/chunk-2APXX4TZ.js.map +0 -1
- package/dist/cli-bundle/chunks/chunk-6LCJRGPD.js.map +0 -1
- package/dist/cli-bundle/chunks/chunk-6XTSYPPO.js.map +0 -7
- package/dist/cli-bundle/chunks/chunk-7ML7JONU.js.map +0 -1
- package/dist/cli-bundle/chunks/chunk-C5ACVMOI.js.map +0 -7
- package/dist/cli-bundle/chunks/chunk-F6YC2A6X.js.map +0 -7
- package/dist/cli-bundle/chunks/chunk-FILL6BB2.js.map +0 -7
- package/dist/cli-bundle/chunks/chunk-J2VGADNG.js.map +0 -1
- package/dist/cli-bundle/chunks/chunk-LCFJ7XAM.js.map +0 -7
- package/dist/cli-bundle/chunks/chunk-MHNMCDWR.js.map +0 -1
- package/dist/cli-bundle/chunks/chunk-RY7PTTUB.js.map +0 -1
- package/dist/cli-bundle/chunks/chunk-S547WBYG.js.map +0 -7
- package/dist/cli-bundle/chunks/chunk-TZLYO4PP.js.map +0 -7
- package/dist/cli-bundle/chunks/chunk-UO7XAZK6.js.map +0 -1
- package/dist/cli-bundle/chunks/chunk-X47MKQXU.js.map +0 -7
- package/dist/cli-bundle/chunks/chunk-XZWL7VNE.js.map +0 -1
- package/dist/cli-bundle/chunks/chunk-Y5IKRUEM.js.map +0 -1
- package/dist/cli-bundle/chunks/chunk-YCVWWIKY.js.map +0 -7
- package/dist/cli-bundle/chunks/close-Z3Q4U7TS.js +0 -12
- package/dist/cli-bundle/chunks/close-many-3L2RXH3M.js +0 -22
- package/dist/cli-bundle/chunks/comments-HGHC2PN6.js +0 -13
- package/dist/cli-bundle/chunks/copy-UGMUGHZA.js +0 -9
- package/dist/cli-bundle/chunks/create-AZXCUYKP.js +0 -25
- package/dist/cli-bundle/chunks/delete-Y6SXIQ4X.js +0 -10
- package/dist/cli-bundle/chunks/docs-VNPBZXEL.js +0 -14
- package/dist/cli-bundle/chunks/focus-SUTMKXGX.js +0 -10
- package/dist/cli-bundle/chunks/history-compact-NEXRPP2O.js +0 -21
- package/dist/cli-bundle/chunks/history-redact-WQJBZ3PX.js +0 -17
- package/dist/cli-bundle/chunks/history-repair-CBHMHAJO.js +0 -19
- package/dist/cli-bundle/chunks/learnings-M64NTSOR.js +0 -13
- package/dist/cli-bundle/chunks/notes-73WE2UV2.js +0 -13
- package/dist/cli-bundle/chunks/plan-OSCNYFGC.js +0 -24
- package/dist/cli-bundle/chunks/register-list-query-OHXD7G5N.js.map +0 -7
- package/dist/cli-bundle/chunks/register-list-query-ZCRABAPN.js.map +0 -1
- package/dist/cli-bundle/chunks/register-operations-V6PIYEDU.js.map +0 -1
- package/dist/cli-bundle/chunks/register-operations-V6VKTG54.js.map +0 -7
- package/dist/cli-bundle/chunks/register-setup-6RVAWT6W.js.map +0 -7
- package/dist/cli-bundle/chunks/register-setup-6YVUSQYD.js.map +0 -1
- package/dist/cli-bundle/chunks/restore-LFAMMRYZ.js +0 -15
- package/dist/cli-bundle/chunks/update-CJGG5WMV.js +0 -21
- package/dist/cli-bundle/chunks/update-many-G4SM7BHC.js +0 -31
- package/dist/cli-bundle/chunks/update-many-VLIV3D7R.js +0 -35
- /package/dist/cli-bundle/chunks/{append-F7WPGIQL.js.map → append-CDPAYYSB.js.map} +0 -0
- /package/dist/cli-bundle/chunks/{append-PVCTBVJG.js.map → append-RSPHC423.js.map} +0 -0
- /package/dist/cli-bundle/chunks/{chunk-6G6O3OPQ.js.map → chunk-26MFLA7K.js.map} +0 -0
- /package/dist/cli-bundle/chunks/{chunk-H2SMKL2N.js.map → chunk-3FUXM574.js.map} +0 -0
- /package/dist/cli-bundle/chunks/{chunk-DR2V5OIV.js.map → chunk-3SHDAKMF.js.map} +0 -0
- /package/dist/cli-bundle/chunks/{chunk-MRFWUSVA.js.map → chunk-3UXIMY62.js.map} +0 -0
- /package/dist/cli-bundle/chunks/{chunk-WCWVEXGA.js.map → chunk-3V5C7PUH.js.map} +0 -0
- /package/dist/cli-bundle/chunks/{chunk-43YSKY75.js.map → chunk-3YJDIJIE.js.map} +0 -0
- /package/dist/cli-bundle/chunks/{chunk-HX6QXV5P.js.map → chunk-4I7KS5ES.js.map} +0 -0
- /package/dist/cli-bundle/chunks/{chunk-XHCVAZGM.js.map → chunk-4OCWJ2AP.js.map} +0 -0
- /package/dist/cli-bundle/chunks/{chunk-3TYOW6RR.js.map → chunk-5STY7NVM.js.map} +0 -0
- /package/dist/cli-bundle/chunks/{chunk-7VQ3JJN5.js.map → chunk-5VAZHYVQ.js.map} +0 -0
- /package/dist/cli-bundle/chunks/{chunk-4IQKDKGE.js.map → chunk-5ZMZF53A.js.map} +0 -0
- /package/dist/cli-bundle/chunks/{chunk-MCEUKJKW.js.map → chunk-6FU5BVRB.js.map} +0 -0
- /package/dist/cli-bundle/chunks/{chunk-AJUON7E6.js.map → chunk-6RR4XM5H.js.map} +0 -0
- /package/dist/cli-bundle/chunks/{chunk-TEISGNSH.js.map → chunk-6TD5QGIB.js.map} +0 -0
- /package/dist/cli-bundle/chunks/{chunk-565WYS5W.js.map → chunk-6WCXSC5V.js.map} +0 -0
- /package/dist/cli-bundle/chunks/{chunk-NWWL22C7.js.map → chunk-6ZKDMEVT.js.map} +0 -0
- /package/dist/cli-bundle/chunks/{chunk-VLEA2UTQ.js.map → chunk-7QKSLAHB.js.map} +0 -0
- /package/dist/cli-bundle/chunks/{chunk-S6VC2A2K.js.map → chunk-7TBUV7XS.js.map} +0 -0
- /package/dist/cli-bundle/chunks/{chunk-YPMZMKN7.js.map → chunk-7UCBLJDF.js.map} +0 -0
- /package/dist/cli-bundle/chunks/{chunk-4MZOKTI2.js.map → chunk-AEOFBBWO.js.map} +0 -0
- /package/dist/cli-bundle/chunks/{chunk-ZO7CLOY2.js.map → chunk-BFNFTHWQ.js.map} +0 -0
- /package/dist/cli-bundle/chunks/{chunk-YNCFP5AR.js.map → chunk-BPJ5NYSJ.js.map} +0 -0
- /package/dist/cli-bundle/chunks/{chunk-P3MJJW7P.js.map → chunk-C3YU3TXX.js.map} +0 -0
- /package/dist/cli-bundle/chunks/{chunk-SY75LYXR.js.map → chunk-C6XSTACC.js.map} +0 -0
- /package/dist/cli-bundle/chunks/{chunk-2TILG6F2.js.map → chunk-CGDUIPJL.js.map} +0 -0
- /package/dist/cli-bundle/chunks/{chunk-J7BOLHAV.js.map → chunk-CXH7EMSB.js.map} +0 -0
- /package/dist/cli-bundle/chunks/{chunk-W5HXHC7C.js.map → chunk-D6J5673C.js.map} +0 -0
- /package/dist/cli-bundle/chunks/{chunk-ARKHKYYS.js.map → chunk-DQLP22K2.js.map} +0 -0
- /package/dist/cli-bundle/chunks/{chunk-YPD7SQ5P.js.map → chunk-EEJKHF7M.js.map} +0 -0
- /package/dist/cli-bundle/chunks/{chunk-EDO7VXSO.js.map → chunk-EP2CKDS7.js.map} +0 -0
- /package/dist/cli-bundle/chunks/{chunk-SIM5JDON.js.map → chunk-F5DDGY6R.js.map} +0 -0
- /package/dist/cli-bundle/chunks/{chunk-I74FMIWA.js.map → chunk-FFB3WITE.js.map} +0 -0
- /package/dist/cli-bundle/chunks/{chunk-43UQN754.js.map → chunk-FJR2S7S4.js.map} +0 -0
- /package/dist/cli-bundle/chunks/{chunk-CJQM7O7R.js.map → chunk-FOJEBRDD.js.map} +0 -0
- /package/dist/cli-bundle/chunks/{chunk-E3YQFSFE.js.map → chunk-GLMJLBLR.js.map} +0 -0
- /package/dist/cli-bundle/chunks/{chunk-KTGJ2CBU.js.map → chunk-GO2X6ZRB.js.map} +0 -0
- /package/dist/cli-bundle/chunks/{chunk-DDDWVPID.js.map → chunk-GSQVQINP.js.map} +0 -0
- /package/dist/cli-bundle/chunks/{chunk-EVEPHNXJ.js.map → chunk-GZ365M6E.js.map} +0 -0
- /package/dist/cli-bundle/chunks/{chunk-VGO73OCK.js.map → chunk-HZZ3AC27.js.map} +0 -0
- /package/dist/cli-bundle/chunks/{chunk-7Y5N34HX.js.map → chunk-IINCZYM3.js.map} +0 -0
- /package/dist/cli-bundle/chunks/{chunk-GLS6VMWI.js.map → chunk-INOWVPUD.js.map} +0 -0
- /package/dist/cli-bundle/chunks/{chunk-PDXJXEZJ.js.map → chunk-J6AD3GWC.js.map} +0 -0
- /package/dist/cli-bundle/chunks/{chunk-52NS7JDP.js.map → chunk-JH5XDDYS.js.map} +0 -0
- /package/dist/cli-bundle/chunks/{chunk-GPIDUMMN.js.map → chunk-JYVPLGOW.js.map} +0 -0
- /package/dist/cli-bundle/chunks/{chunk-EIUBK2LT.js.map → chunk-K52C6YPA.js.map} +0 -0
- /package/dist/cli-bundle/chunks/{chunk-IDIBF4E2.js.map → chunk-KAJNWMBE.js.map} +0 -0
- /package/dist/cli-bundle/chunks/{chunk-2LEJGRQ7.js.map → chunk-KFL3XHMA.js.map} +0 -0
- /package/dist/cli-bundle/chunks/{chunk-XS2TMNXR.js.map → chunk-LD2NBQ5T.js.map} +0 -0
- /package/dist/cli-bundle/chunks/{chunk-II7R6KD4.js.map → chunk-LG4N6YOK.js.map} +0 -0
- /package/dist/cli-bundle/chunks/{chunk-M62RO3XK.js.map → chunk-LHDHS4Z6.js.map} +0 -0
- /package/dist/cli-bundle/chunks/{chunk-YTD5GICJ.js.map → chunk-MBLHA6LR.js.map} +0 -0
- /package/dist/cli-bundle/chunks/{chunk-F6MT7KKE.js.map → chunk-MCH6IKK7.js.map} +0 -0
- /package/dist/cli-bundle/chunks/{chunk-Y7KYVCZM.js.map → chunk-NGBWEYNY.js.map} +0 -0
- /package/dist/cli-bundle/chunks/{chunk-RB3KLPAH.js.map → chunk-NRMDT4OV.js.map} +0 -0
- /package/dist/cli-bundle/chunks/{chunk-GH73UOSJ.js.map → chunk-NTOOEVJ4.js.map} +0 -0
- /package/dist/cli-bundle/chunks/{chunk-EMXPI36L.js.map → chunk-PAWPLIWW.js.map} +0 -0
- /package/dist/cli-bundle/chunks/{chunk-AGAVEDIE.js.map → chunk-PCBZ2VJD.js.map} +0 -0
- /package/dist/cli-bundle/chunks/{chunk-3X542TEY.js.map → chunk-Q3CFSOQZ.js.map} +0 -0
- /package/dist/cli-bundle/chunks/{chunk-4BKDAEDF.js.map → chunk-QJZM5WO5.js.map} +0 -0
- /package/dist/cli-bundle/chunks/{chunk-HHEWQXPD.js.map → chunk-QLEH6FTQ.js.map} +0 -0
- /package/dist/cli-bundle/chunks/{chunk-D2DCTFTL.js.map → chunk-QYZMZD4L.js.map} +0 -0
- /package/dist/cli-bundle/chunks/{chunk-6UQCNWFV.js.map → chunk-RFHLRMLQ.js.map} +0 -0
- /package/dist/cli-bundle/chunks/{chunk-Q64AYQYW.js.map → chunk-RL24NAUX.js.map} +0 -0
- /package/dist/cli-bundle/chunks/{chunk-QDABF2RB.js.map → chunk-S7J3GEHL.js.map} +0 -0
- /package/dist/cli-bundle/chunks/{chunk-5FIQ4EX3.js.map → chunk-SCJPFQQT.js.map} +0 -0
- /package/dist/cli-bundle/chunks/{chunk-42LXP4VO.js.map → chunk-SIQGG335.js.map} +0 -0
- /package/dist/cli-bundle/chunks/{chunk-43SIHQND.js.map → chunk-TKWTJGD6.js.map} +0 -0
- /package/dist/cli-bundle/chunks/{chunk-EOUVR7JN.js.map → chunk-U72GF3I2.js.map} +0 -0
- /package/dist/cli-bundle/chunks/{chunk-FN6SB4HU.js.map → chunk-UEATYUZW.js.map} +0 -0
- /package/dist/cli-bundle/chunks/{chunk-V5ZWKJNY.js.map → chunk-UFNFHCAC.js.map} +0 -0
- /package/dist/cli-bundle/chunks/{chunk-XBX5CBRQ.js.map → chunk-UH6VFRV6.js.map} +0 -0
- /package/dist/cli-bundle/chunks/{chunk-GTM5HQL4.js.map → chunk-UIHDZS6X.js.map} +0 -0
- /package/dist/cli-bundle/chunks/{chunk-TGUK6XN6.js.map → chunk-UURYLDDC.js.map} +0 -0
- /package/dist/cli-bundle/chunks/{chunk-S5BNGFN5.js.map → chunk-VCGHRLJU.js.map} +0 -0
- /package/dist/cli-bundle/chunks/{chunk-3G6UMXT3.js.map → chunk-W2VFNVSJ.js.map} +0 -0
- /package/dist/cli-bundle/chunks/{chunk-ZNEG2UDO.js.map → chunk-WDNPNW22.js.map} +0 -0
- /package/dist/cli-bundle/chunks/{chunk-DG6BSXZ7.js.map → chunk-WVEMZZCR.js.map} +0 -0
- /package/dist/cli-bundle/chunks/{chunk-TNC6MZUD.js.map → chunk-XXN2B2MJ.js.map} +0 -0
- /package/dist/cli-bundle/chunks/{chunk-YH5NBDFA.js.map → chunk-Y2736PT5.js.map} +0 -0
- /package/dist/cli-bundle/chunks/{chunk-XXIYUTLK.js.map → chunk-YPE5MFPJ.js.map} +0 -0
- /package/dist/cli-bundle/chunks/{chunk-XPMXPR7K.js.map → chunk-YSRXFGNV.js.map} +0 -0
- /package/dist/cli-bundle/chunks/{chunk-N6ZHDLUY.js.map → chunk-YUMNZS3X.js.map} +0 -0
- /package/dist/cli-bundle/chunks/{chunk-TEKZOS7M.js.map → chunk-Z2JQH2MG.js.map} +0 -0
- /package/dist/cli-bundle/chunks/{chunk-E3LWJUGF.js.map → chunk-Z6RLSNUX.js.map} +0 -0
- /package/dist/cli-bundle/chunks/{close-Z3Q4U7TS.js.map → close-5WY6QO5F.js.map} +0 -0
- /package/dist/cli-bundle/chunks/{close-3YYQ5OG2.js.map → close-TKTFRL7N.js.map} +0 -0
- /package/dist/cli-bundle/chunks/{close-many-D366FTIG.js.map → close-many-HEPL66EG.js.map} +0 -0
- /package/dist/cli-bundle/chunks/{close-many-3L2RXH3M.js.map → close-many-U2KLQ3NL.js.map} +0 -0
- /package/dist/cli-bundle/chunks/{comments-54XDJNFE.js.map → comments-PLFK5ZKK.js.map} +0 -0
- /package/dist/cli-bundle/chunks/{comments-HGHC2PN6.js.map → comments-ZNOD5PTV.js.map} +0 -0
- /package/dist/cli-bundle/chunks/{copy-UGMUGHZA.js.map → copy-F7BUFY4J.js.map} +0 -0
- /package/dist/cli-bundle/chunks/{copy-44RT5GDW.js.map → copy-VH3L4MN2.js.map} +0 -0
- /package/dist/cli-bundle/chunks/{create-AZXCUYKP.js.map → create-KCQM6UYM.js.map} +0 -0
- /package/dist/cli-bundle/chunks/{create-4GWJWPXG.js.map → create-LD4SEUD6.js.map} +0 -0
- /package/dist/cli-bundle/chunks/{delete-Y6SXIQ4X.js.map → delete-6KQHZYIP.js.map} +0 -0
- /package/dist/cli-bundle/chunks/{delete-YQ2VPXNF.js.map → delete-ZNXUNCZR.js.map} +0 -0
- /package/dist/cli-bundle/chunks/{deps-FMANWFRP.js.map → deps-CVDY7FFK.js.map} +0 -0
- /package/dist/cli-bundle/chunks/{deps-BU5EBJDU.js.map → deps-SZXQHV73.js.map} +0 -0
- /package/dist/cli-bundle/chunks/{docs-OQBSJNIA.js.map → docs-DR74ITCD.js.map} +0 -0
- /package/dist/cli-bundle/chunks/{docs-VNPBZXEL.js.map → docs-WCVYY6I7.js.map} +0 -0
- /package/dist/cli-bundle/chunks/{files-72HZEBOE.js.map → files-H5YCA74Z.js.map} +0 -0
- /package/dist/cli-bundle/chunks/{files-HTSB2KJG.js.map → files-QEFQ2M3H.js.map} +0 -0
- /package/dist/cli-bundle/chunks/{focus-FOG4ALC2.js.map → focus-55TRYSNA.js.map} +0 -0
- /package/dist/cli-bundle/chunks/{focus-SUTMKXGX.js.map → focus-N2QGNS5D.js.map} +0 -0
- /package/dist/cli-bundle/chunks/{history-compact-NEXRPP2O.js.map → history-compact-GWQ4UOEI.js.map} +0 -0
- /package/dist/cli-bundle/chunks/{history-compact-M6IFAMBP.js.map → history-compact-JJZ4EFL3.js.map} +0 -0
- /package/dist/cli-bundle/chunks/{history-redact-WQJBZ3PX.js.map → history-redact-4GJOLXCM.js.map} +0 -0
- /package/dist/cli-bundle/chunks/{history-redact-NQX3OGZP.js.map → history-redact-TPPUT3A5.js.map} +0 -0
- /package/dist/cli-bundle/chunks/{history-repair-CBHMHAJO.js.map → history-repair-HVCVCGUF.js.map} +0 -0
- /package/dist/cli-bundle/chunks/{history-repair-NHOJG7WO.js.map → history-repair-J7PIZ6ZP.js.map} +0 -0
- /package/dist/cli-bundle/chunks/{learnings-T63JGKKN.js.map → learnings-KB6BT4NR.js.map} +0 -0
- /package/dist/cli-bundle/chunks/{learnings-M64NTSOR.js.map → learnings-YYY3U2Y7.js.map} +0 -0
- /package/dist/cli-bundle/chunks/{notes-73WE2UV2.js.map → notes-BGG7VL72.js.map} +0 -0
- /package/dist/cli-bundle/chunks/{notes-U7L6HQQ2.js.map → notes-ZTHXVOKM.js.map} +0 -0
- /package/dist/cli-bundle/chunks/{plan-OSCNYFGC.js.map → plan-B42KBMX7.js.map} +0 -0
- /package/dist/cli-bundle/chunks/{plan-TN537L24.js.map → plan-LUR7C24X.js.map} +0 -0
- /package/dist/cli-bundle/chunks/{profile-TIGLAKJ7.js.map → profile-5F75MO5O.js.map} +0 -0
- /package/dist/cli-bundle/chunks/{profile-MHAMXMHQ.js.map → profile-JRDMDGT5.js.map} +0 -0
- /package/dist/cli-bundle/chunks/{register-mutation-XX4H56PE.js.map → register-mutation-5UDT3WL3.js.map} +0 -0
- /package/dist/cli-bundle/chunks/{register-mutation-P3G4XP6Q.js.map → register-mutation-7DMOYDPC.js.map} +0 -0
- /package/dist/cli-bundle/chunks/{restore-HC3YSWF7.js.map → restore-BTBEZ5CK.js.map} +0 -0
- /package/dist/cli-bundle/chunks/{restore-LFAMMRYZ.js.map → restore-EX4UUZL6.js.map} +0 -0
- /package/dist/cli-bundle/chunks/{schema-DAGSYO6E.js.map → schema-DGSTYYQB.js.map} +0 -0
- /package/dist/cli-bundle/chunks/{schema-UBXJCQAC.js.map → schema-HAIBEE24.js.map} +0 -0
- /package/dist/cli-bundle/chunks/{update-CJGG5WMV.js.map → update-76CRUMC7.js.map} +0 -0
- /package/dist/cli-bundle/chunks/{update-LKD64AFP.js.map → update-ZMYVXM77.js.map} +0 -0
- /package/dist/cli-bundle/chunks/{update-many-G4SM7BHC.js.map → update-many-QYQRGNPU.js.map} +0 -0
- /package/dist/cli-bundle/chunks/{update-many-VLIV3D7R.js.map → update-many-U4CEQWI4.js.map} +0 -0
|
@@ -1,18 +1,18 @@
|
|
|
1
1
|
import {
|
|
2
2
|
runFiles,
|
|
3
3
|
runFilesDiscover
|
|
4
|
-
} from "./chunk-
|
|
4
|
+
} from "./chunk-D6J5673C.js";
|
|
5
5
|
import {
|
|
6
6
|
runDocs
|
|
7
|
-
} from "./chunk-
|
|
7
|
+
} from "./chunk-KFL3XHMA.js";
|
|
8
8
|
import {
|
|
9
9
|
runDeps
|
|
10
|
-
} from "./chunk-
|
|
10
|
+
} from "./chunk-MCH6IKK7.js";
|
|
11
11
|
import {
|
|
12
12
|
assertHistoryRepairTarget,
|
|
13
13
|
runHistoryRepair,
|
|
14
14
|
runHistoryRepairAll
|
|
15
|
-
} from "./chunk-
|
|
15
|
+
} from "./chunk-FJR2S7S4.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-NRYZ4QLH.js";
|
|
29
29
|
import {
|
|
30
30
|
runComments
|
|
31
|
-
} from "./chunk-
|
|
31
|
+
} from "./chunk-EEJKHF7M.js";
|
|
32
32
|
import {
|
|
33
33
|
runCopy
|
|
34
|
-
} from "./chunk-
|
|
34
|
+
} from "./chunk-FFB3WITE.js";
|
|
35
35
|
import {
|
|
36
36
|
runFocus
|
|
37
|
-
} from "./chunk-
|
|
37
|
+
} from "./chunk-7TBUV7XS.js";
|
|
38
38
|
import {
|
|
39
39
|
runDelete
|
|
40
|
-
} from "./chunk-
|
|
40
|
+
} from "./chunk-UH6VFRV6.js";
|
|
41
41
|
import {
|
|
42
42
|
runAppend
|
|
43
|
-
} from "./chunk-
|
|
43
|
+
} from "./chunk-GSQVQINP.js";
|
|
44
44
|
import {
|
|
45
45
|
runProfileApply,
|
|
46
46
|
runProfileLint,
|
|
47
47
|
runProfileList,
|
|
48
48
|
runProfileShow
|
|
49
|
-
} from "./chunk-
|
|
49
|
+
} from "./chunk-KAJNWMBE.js";
|
|
50
50
|
import {
|
|
51
51
|
runNotes
|
|
52
|
-
} from "./chunk-
|
|
52
|
+
} from "./chunk-QJZM5WO5.js";
|
|
53
53
|
import {
|
|
54
54
|
runLearnings
|
|
55
|
-
} from "./chunk-
|
|
55
|
+
} from "./chunk-WVEMZZCR.js";
|
|
56
56
|
import {
|
|
57
57
|
runCloseMany
|
|
58
|
-
} from "./chunk-
|
|
58
|
+
} from "./chunk-DQLP22K2.js";
|
|
59
59
|
import {
|
|
60
60
|
runUpdateMany
|
|
61
|
-
} from "./chunk-
|
|
61
|
+
} from "./chunk-VCGHRLJU.js";
|
|
62
62
|
import {
|
|
63
63
|
runRestore
|
|
64
|
-
} from "./chunk-
|
|
64
|
+
} from "./chunk-NGBWEYNY.js";
|
|
65
65
|
import {
|
|
66
66
|
runUpdate
|
|
67
|
-
} from "./chunk-
|
|
67
|
+
} from "./chunk-CHSXGTWF.js";
|
|
68
68
|
import {
|
|
69
69
|
runClose
|
|
70
|
-
} from "./chunk-
|
|
70
|
+
} from "./chunk-NSPSJWGL.js";
|
|
71
71
|
import {
|
|
72
72
|
runPlan
|
|
73
|
-
} from "./chunk-
|
|
73
|
+
} from "./chunk-XXN2B2MJ.js";
|
|
74
74
|
import {
|
|
75
75
|
runHistoryCompact
|
|
76
|
-
} from "./chunk-
|
|
76
|
+
} from "./chunk-UIHDZS6X.js";
|
|
77
77
|
import {
|
|
78
78
|
runHistoryRedact
|
|
79
|
-
} from "./chunk-
|
|
79
|
+
} from "./chunk-K52C6YPA.js";
|
|
80
80
|
import {
|
|
81
81
|
runConfig,
|
|
82
82
|
runUpgrade
|
|
83
|
-
} from "./chunk-
|
|
83
|
+
} from "./chunk-WDNPNW22.js";
|
|
84
84
|
import {
|
|
85
85
|
SCAFFOLD_CAPABILITIES,
|
|
86
86
|
runExtension,
|
|
87
87
|
runInit
|
|
88
|
-
} from "./chunk-
|
|
88
|
+
} from "./chunk-YHKXNGLA.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-UURYLDDC.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-N4S7BV43.js";
|
|
115
115
|
import {
|
|
116
116
|
buildListQueryFilters,
|
|
117
117
|
runList
|
|
118
|
-
} from "./chunk-
|
|
118
|
+
} from "./chunk-5RJ4LFD3.js";
|
|
119
119
|
import {
|
|
120
120
|
runHistory
|
|
121
|
-
} from "./chunk-
|
|
121
|
+
} from "./chunk-LHDHS4Z6.js";
|
|
122
122
|
import {
|
|
123
123
|
parseIntegerLimit
|
|
124
|
-
} from "./chunk-
|
|
124
|
+
} from "./chunk-BFNFTHWQ.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-ONADVBMD.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-K4NMHZR3.js";
|
|
185
185
|
import {
|
|
186
186
|
runCreate
|
|
187
|
-
} from "./chunk-
|
|
187
|
+
} from "./chunk-K2OKKYSO.js";
|
|
188
188
|
import {
|
|
189
189
|
parseTags
|
|
190
|
-
} from "./chunk-
|
|
190
|
+
} from "./chunk-CGDUIPJL.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-C6XSTACC.js";
|
|
197
197
|
import {
|
|
198
198
|
PmCliError,
|
|
199
199
|
acquireLock,
|
|
@@ -222,7 +222,7 @@ import {
|
|
|
222
222
|
setActiveExtensionRenderers,
|
|
223
223
|
setActiveExtensionServices,
|
|
224
224
|
toItemRecord
|
|
225
|
-
} from "./chunk-
|
|
225
|
+
} from "./chunk-BPJ5NYSJ.js";
|
|
226
226
|
import {
|
|
227
227
|
BUILTIN_ITEM_TYPE_VALUES,
|
|
228
228
|
EXIT_CODE,
|
|
@@ -249,7 +249,7 @@ import {
|
|
|
249
249
|
toErrorMessage,
|
|
250
250
|
toNonEmptyStringOrUndefined,
|
|
251
251
|
writeFileAtomic
|
|
252
|
-
} from "./chunk-
|
|
252
|
+
} from "./chunk-2BVD4ZD2.js";
|
|
253
253
|
|
|
254
254
|
// dist/sdk/runtime.js
|
|
255
255
|
import path3 from "node:path";
|
|
@@ -1186,11 +1186,11 @@ function toExcerpt(content, maxLines, maxCharacters) {
|
|
|
1186
1186
|
async function renderGuideDocs(topic, depth, packageRoot) {
|
|
1187
1187
|
const includeContent = depth !== "brief";
|
|
1188
1188
|
const contentMode = includeContent ? depth === "deep" ? "full" : "excerpt" : "none";
|
|
1189
|
-
const
|
|
1189
|
+
const docs2 = [];
|
|
1190
1190
|
for (const doc of topic.docs) {
|
|
1191
1191
|
const absolutePath = path.resolve(packageRoot, doc.path);
|
|
1192
1192
|
if (!includeContent) {
|
|
1193
|
-
|
|
1193
|
+
docs2.push({
|
|
1194
1194
|
path: doc.path,
|
|
1195
1195
|
purpose: doc.purpose,
|
|
1196
1196
|
optional: doc.optional === true,
|
|
@@ -1206,7 +1206,7 @@ async function renderGuideDocs(topic, depth, packageRoot) {
|
|
|
1206
1206
|
const rawContent = await readFile(absolutePath, "utf8");
|
|
1207
1207
|
if (depth === "deep") {
|
|
1208
1208
|
const normalized = normalizeLineEndings(rawContent).trimEnd();
|
|
1209
|
-
|
|
1209
|
+
docs2.push({
|
|
1210
1210
|
path: doc.path,
|
|
1211
1211
|
purpose: doc.purpose,
|
|
1212
1212
|
optional: doc.optional === true,
|
|
@@ -1218,7 +1218,7 @@ async function renderGuideDocs(topic, depth, packageRoot) {
|
|
|
1218
1218
|
});
|
|
1219
1219
|
} else {
|
|
1220
1220
|
const excerpt = toExcerpt(rawContent, 120, 12e3);
|
|
1221
|
-
|
|
1221
|
+
docs2.push({
|
|
1222
1222
|
path: doc.path,
|
|
1223
1223
|
purpose: doc.purpose,
|
|
1224
1224
|
optional: doc.optional === true,
|
|
@@ -1232,7 +1232,7 @@ async function renderGuideDocs(topic, depth, packageRoot) {
|
|
|
1232
1232
|
} catch (error) {
|
|
1233
1233
|
const code = error?.code;
|
|
1234
1234
|
const missing = code === "ENOENT";
|
|
1235
|
-
|
|
1235
|
+
docs2.push({
|
|
1236
1236
|
path: doc.path,
|
|
1237
1237
|
purpose: doc.purpose,
|
|
1238
1238
|
optional: doc.optional === true,
|
|
@@ -1247,7 +1247,7 @@ async function renderGuideDocs(topic, depth, packageRoot) {
|
|
|
1247
1247
|
}
|
|
1248
1248
|
}
|
|
1249
1249
|
}
|
|
1250
|
-
return
|
|
1250
|
+
return docs2;
|
|
1251
1251
|
}
|
|
1252
1252
|
function buildGuideIndex(depth) {
|
|
1253
1253
|
const topics = listGuideTopics().map((topic) => ({
|
|
@@ -1290,15 +1290,15 @@ async function runGuide(options, global2) {
|
|
|
1290
1290
|
}
|
|
1291
1291
|
const topic = ensureGuideTopic(topicRaw);
|
|
1292
1292
|
const packageRoot = resolvePackageRoot();
|
|
1293
|
-
const
|
|
1294
|
-
const warnings =
|
|
1293
|
+
const docs2 = await renderGuideDocs(topic, depth, packageRoot);
|
|
1294
|
+
const warnings = docs2.filter((doc) => !doc.exists && !doc.optional).map((doc) => `Missing required guide document: ${doc.path}`);
|
|
1295
1295
|
return {
|
|
1296
1296
|
output_default: "toon",
|
|
1297
1297
|
mode: "topic",
|
|
1298
1298
|
depth,
|
|
1299
1299
|
requested_topic: topicRaw,
|
|
1300
1300
|
topic,
|
|
1301
|
-
docs,
|
|
1301
|
+
docs: docs2,
|
|
1302
1302
|
warnings
|
|
1303
1303
|
};
|
|
1304
1304
|
}
|
|
@@ -1378,7 +1378,7 @@ function renderGuideMarkdown(result) {
|
|
|
1378
1378
|
!(function() {
|
|
1379
1379
|
try {
|
|
1380
1380
|
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] = "
|
|
1381
|
+
n && (e._sentryDebugIds = e._sentryDebugIds || {}, e._sentryDebugIds[n] = "470e1fde-dbda-54fe-b821-9175c37b1cd3");
|
|
1382
1382
|
} catch (e2) {
|
|
1383
1383
|
}
|
|
1384
1384
|
})();
|
|
@@ -2064,6 +2064,8 @@ _pm() {
|
|
|
2064
2064
|
'--priority[Filter by priority]:(0 1 2 3 4)' \\
|
|
2065
2065
|
'--deadline-before[Filter by deadline upper bound (ISO/date string or relative)]:date' \\
|
|
2066
2066
|
'--deadline-after[Filter by deadline lower bound (ISO/date string or relative)]:date' \\
|
|
2067
|
+
'--today[Filter to items updated since local midnight today]' \\
|
|
2068
|
+
'--recent[Filter to items updated in the last 7 days]' \\
|
|
2067
2069
|
'--updated-after[Filter by updated_at lower bound (ISO/relative)]:timestamp' \\
|
|
2068
2070
|
'--updated-before[Filter by updated_at upper bound (ISO/relative)]:timestamp' \\
|
|
2069
2071
|
'--created-after[Filter by created_at lower bound (ISO/relative)]:timestamp' \\
|
|
@@ -2566,6 +2568,7 @@ ${zshSearchRuntimeFieldFlags} '--json[Output JSON]' \\
|
|
|
2566
2568
|
_arguments \\
|
|
2567
2569
|
'--action[Filter schema by tool action]:action' \\
|
|
2568
2570
|
'--command[Scope output to one command (narrow-by-default)]:command' \\
|
|
2571
|
+
'--summary[Return compact command intent summary]' \\
|
|
2569
2572
|
'--schema-only[Return schema-only payload]' \\
|
|
2570
2573
|
'--flags-only[Return command flag contracts only]' \\
|
|
2571
2574
|
'--availability-only[Return action availability only]' \\
|
|
@@ -2877,6 +2880,8 @@ ${zshSearchRuntimeFieldFlags} '--json[Output JSON]' \\
|
|
|
2877
2880
|
'--trace[Include registration traces in doctor deep diagnostics]' \\
|
|
2878
2881
|
'--runtime-probe[Opt-in runtime activation probe for manage output]' \\
|
|
2879
2882
|
'--fix-managed-state[Adopt unmanaged extensions before diagnostics/update checks]' \\
|
|
2883
|
+
'--isolated[Run doctor against project-scope extensions only]' \\
|
|
2884
|
+
'--ignore-global[Alias for --isolated]' \\
|
|
2880
2885
|
'--strict-exit[Return non-zero exit when doctor warnings are present]' \\
|
|
2881
2886
|
'--fail-on-warn[Alias for --strict-exit (doctor)]' \\
|
|
2882
2887
|
'--json[Output JSON]' \\
|
|
@@ -2915,6 +2920,8 @@ ${zshSearchRuntimeFieldFlags} '--json[Output JSON]' \\
|
|
|
2915
2920
|
'--trace[Include registration traces in doctor deep diagnostics]' \\
|
|
2916
2921
|
'--runtime-probe[Opt-in runtime activation probe for manage output]' \\
|
|
2917
2922
|
'--fix-managed-state[Adopt unmanaged packages before diagnostics/update checks]' \\
|
|
2923
|
+
'--isolated[Run doctor against project-scope packages only]' \\
|
|
2924
|
+
'--ignore-global[Alias for --isolated]' \\
|
|
2918
2925
|
'--strict-exit[Return non-zero exit when doctor warnings are present]' \\
|
|
2919
2926
|
'--fail-on-warn[Alias for --strict-exit (doctor)]' \\
|
|
2920
2927
|
'--json[Output JSON]' \\
|
|
@@ -3037,6 +3044,8 @@ for list_cmd in ${listCmds}
|
|
|
3037
3044
|
complete -c pm -n "__fish_seen_subcommand_from $list_cmd" -l stream -d 'Emit line-delimited JSON rows (requires --json)'
|
|
3038
3045
|
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
|
|
3039
3046
|
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
|
|
3047
|
+
complete -c pm -n "__fish_seen_subcommand_from $list_cmd" -l today -d 'Filter to items updated since local midnight today'
|
|
3048
|
+
complete -c pm -n "__fish_seen_subcommand_from $list_cmd" -l recent -d 'Filter to items updated in the last 7 days'
|
|
3040
3049
|
complete -c pm -n "__fish_seen_subcommand_from $list_cmd" -l updated-after -d 'Filter by updated_at lower bound (ISO/relative)' -r
|
|
3041
3050
|
complete -c pm -n "__fish_seen_subcommand_from $list_cmd" -l updated-before -d 'Filter by updated_at upper bound (ISO/relative)' -r
|
|
3042
3051
|
complete -c pm -n "__fish_seen_subcommand_from $list_cmd" -l created-after -d 'Filter by created_at lower bound (ISO/relative)' -r
|
|
@@ -3531,6 +3540,7 @@ complete -c pm -n '__fish_seen_subcommand_from activity' -l full -d 'Show full a
|
|
|
3531
3540
|
complete -c pm -n '__fish_seen_subcommand_from activity' -l stream -d 'Emit line-delimited JSON rows'
|
|
3532
3541
|
complete -c pm -n '__fish_seen_subcommand_from contracts' -l action -d 'Filter schema by tool action' -r
|
|
3533
3542
|
complete -c pm -n '__fish_seen_subcommand_from contracts' -l command -d 'Scope output to one command (narrow-by-default)' -r
|
|
3543
|
+
complete -c pm -n '__fish_seen_subcommand_from contracts' -l summary -d 'Return compact command intent summary'
|
|
3534
3544
|
complete -c pm -n '__fish_seen_subcommand_from contracts' -l schema-only -d 'Return schema-only payload'
|
|
3535
3545
|
complete -c pm -n '__fish_seen_subcommand_from contracts' -l flags-only -d 'Return command flag contracts only'
|
|
3536
3546
|
complete -c pm -n '__fish_seen_subcommand_from contracts' -l availability-only -d 'Return action availability only'
|
|
@@ -3813,6 +3823,8 @@ complete -c pm -n '__fish_seen_subcommand_from extension' -l detail -d 'Detail m
|
|
|
3813
3823
|
complete -c pm -n '__fish_seen_subcommand_from extension' -l trace -d 'Include registration traces in doctor deep diagnostics'
|
|
3814
3824
|
complete -c pm -n '__fish_seen_subcommand_from extension' -l runtime-probe -d 'Opt-in runtime activation probe for manage output'
|
|
3815
3825
|
complete -c pm -n '__fish_seen_subcommand_from extension' -l fix-managed-state -d 'Adopt unmanaged extensions before diagnostics/update checks'
|
|
3826
|
+
complete -c pm -n '__fish_seen_subcommand_from extension' -l isolated -d 'Run doctor against project-scope extensions only'
|
|
3827
|
+
complete -c pm -n '__fish_seen_subcommand_from extension' -l ignore-global -d 'Alias for --isolated'
|
|
3816
3828
|
complete -c pm -n '__fish_seen_subcommand_from extension' -l strict-exit -d 'Return non-zero exit when doctor warnings are present'
|
|
3817
3829
|
complete -c pm -n '__fish_seen_subcommand_from extension' -l fail-on-warn -d 'Alias for --strict-exit (doctor)'
|
|
3818
3830
|
|
|
@@ -3848,6 +3860,8 @@ for package_cmd in package packages
|
|
|
3848
3860
|
complete -c pm -n "__fish_seen_subcommand_from $package_cmd" -l trace -d 'Include registration traces in doctor deep diagnostics'
|
|
3849
3861
|
complete -c pm -n "__fish_seen_subcommand_from $package_cmd" -l runtime-probe -d 'Opt-in runtime activation probe for manage output'
|
|
3850
3862
|
complete -c pm -n "__fish_seen_subcommand_from $package_cmd" -l fix-managed-state -d 'Adopt unmanaged packages before diagnostics/update checks'
|
|
3863
|
+
complete -c pm -n "__fish_seen_subcommand_from $package_cmd" -l isolated -d 'Run doctor against project-scope packages only'
|
|
3864
|
+
complete -c pm -n "__fish_seen_subcommand_from $package_cmd" -l ignore-global -d 'Alias for --isolated'
|
|
3851
3865
|
complete -c pm -n "__fish_seen_subcommand_from $package_cmd" -l strict-exit -d 'Return non-zero exit when doctor warnings are present'
|
|
3852
3866
|
complete -c pm -n "__fish_seen_subcommand_from $package_cmd" -l fail-on-warn -d 'Alias for --strict-exit (doctor)'
|
|
3853
3867
|
end`;
|
|
@@ -4017,7 +4031,7 @@ function resolveCommentsAuditLimits(options) {
|
|
|
4017
4031
|
};
|
|
4018
4032
|
}
|
|
4019
4033
|
function toCommentsAuditEntry(item, latest) {
|
|
4020
|
-
const
|
|
4034
|
+
const comments2 = item.comments ?? [];
|
|
4021
4035
|
return {
|
|
4022
4036
|
id: item.id,
|
|
4023
4037
|
title: item.title,
|
|
@@ -4025,8 +4039,8 @@ function toCommentsAuditEntry(item, latest) {
|
|
|
4025
4039
|
status: item.status,
|
|
4026
4040
|
assignee: item.assignee ?? null,
|
|
4027
4041
|
updated_at: item.updated_at,
|
|
4028
|
-
comment_count:
|
|
4029
|
-
comments: latest === void 0 ?
|
|
4042
|
+
comment_count: comments2.length,
|
|
4043
|
+
comments: latest === void 0 ? comments2 : limitComments(comments2, latest)
|
|
4030
4044
|
};
|
|
4031
4045
|
}
|
|
4032
4046
|
function buildCommentsAuditFilters(options, status, limitItems, latest, fullHistory) {
|
|
@@ -4917,15 +4931,15 @@ function parseMode2(raw) {
|
|
|
4917
4931
|
}
|
|
4918
4932
|
throw new PmCliError("Reindex mode must be one of keyword|semantic|hybrid", EXIT_CODE.USAGE);
|
|
4919
4933
|
}
|
|
4920
|
-
async function loadDocumentCandidates(pmRoot, itemFormat, typeToFolder,
|
|
4934
|
+
async function loadDocumentCandidates(pmRoot, itemFormat, typeToFolder, schema2) {
|
|
4921
4935
|
const warnings = [];
|
|
4922
|
-
const candidates = await listAllDocumentCandidatesCached(pmRoot, itemFormat, typeToFolder, warnings,
|
|
4936
|
+
const candidates = await listAllDocumentCandidatesCached(pmRoot, itemFormat, typeToFolder, warnings, schema2);
|
|
4923
4937
|
return {
|
|
4924
4938
|
candidates,
|
|
4925
4939
|
warnings
|
|
4926
4940
|
};
|
|
4927
4941
|
}
|
|
4928
|
-
async function hydrateDocuments(pmRoot, candidates,
|
|
4942
|
+
async function hydrateDocuments(pmRoot, candidates, schema2, warnings, itemIds) {
|
|
4929
4943
|
const extensionFieldNames = collectRegisteredItemFieldNames(getActiveExtensionRegistrations());
|
|
4930
4944
|
const hydrated = [];
|
|
4931
4945
|
for (const candidate of candidates) {
|
|
@@ -4943,7 +4957,7 @@ async function hydrateDocuments(pmRoot, candidates, schema, warnings, itemIds) {
|
|
|
4943
4957
|
const raw = await fs.readFile(candidate.item_path, "utf8");
|
|
4944
4958
|
const parsed = parseItemDocument(raw, {
|
|
4945
4959
|
format: candidate.item_format,
|
|
4946
|
-
schema,
|
|
4960
|
+
schema: schema2,
|
|
4947
4961
|
extensionFieldNames,
|
|
4948
4962
|
onWarning: (warning) => warnings.push(warning)
|
|
4949
4963
|
});
|
|
@@ -5558,17 +5572,12 @@ async function runReindex(options, global2) {
|
|
|
5558
5572
|
!(function() {
|
|
5559
5573
|
try {
|
|
5560
5574
|
var e = "undefined" != typeof window ? window : "undefined" != typeof global ? global : "undefined" != typeof globalThis ? globalThis : "undefined" != typeof self ? self : {}, n = new e.Error().stack;
|
|
5561
|
-
n && (e._sentryDebugIds = e._sentryDebugIds || {}, e._sentryDebugIds[n] = "
|
|
5575
|
+
n && (e._sentryDebugIds = e._sentryDebugIds || {}, e._sentryDebugIds[n] = "a1d2566f-bb81-5e21-aaab-f501f90657ed");
|
|
5562
5576
|
} catch (e2) {
|
|
5563
5577
|
}
|
|
5564
5578
|
})();
|
|
5565
|
-
function
|
|
5566
|
-
|
|
5567
|
-
return {
|
|
5568
|
-
...fullChangedFields === void 0 ? {} : { fullChangedFields },
|
|
5569
|
-
...idOnly === void 0 ? {} : { idOnly },
|
|
5570
|
-
options: runnerOptions
|
|
5571
|
-
};
|
|
5579
|
+
function splitFullClientMutationOptions(options) {
|
|
5580
|
+
return { fullChangedFields: true, options };
|
|
5572
5581
|
}
|
|
5573
5582
|
var PmClient = class {
|
|
5574
5583
|
defaults;
|
|
@@ -5634,83 +5643,378 @@ var PmClient = class {
|
|
|
5634
5643
|
stats(options = {}) {
|
|
5635
5644
|
return this.runTyped("stats", { options });
|
|
5636
5645
|
}
|
|
5646
|
+
/**
|
|
5647
|
+
* List, add, edit, or delete item comments.
|
|
5648
|
+
*/
|
|
5649
|
+
comments(id, options = {}) {
|
|
5650
|
+
return this.runTyped("comments", { id, options });
|
|
5651
|
+
}
|
|
5652
|
+
/**
|
|
5653
|
+
* List or append private item notes.
|
|
5654
|
+
*/
|
|
5655
|
+
notes(id, options = {}) {
|
|
5656
|
+
return this.runTyped("notes", { id, options });
|
|
5657
|
+
}
|
|
5658
|
+
/**
|
|
5659
|
+
* List or append durable item learnings.
|
|
5660
|
+
*/
|
|
5661
|
+
learnings(id, options = {}) {
|
|
5662
|
+
return this.runTyped("learnings", { id, options });
|
|
5663
|
+
}
|
|
5664
|
+
/**
|
|
5665
|
+
* Add, remove, clear, or list linked project files for an item.
|
|
5666
|
+
*/
|
|
5667
|
+
files(id, options = {}) {
|
|
5668
|
+
return this.runTyped("files", { id, options });
|
|
5669
|
+
}
|
|
5670
|
+
/**
|
|
5671
|
+
* Discover and optionally attach changed files for an item.
|
|
5672
|
+
*/
|
|
5673
|
+
filesDiscover(id, options = {}) {
|
|
5674
|
+
return this.runTyped("files-discover", { id, options });
|
|
5675
|
+
}
|
|
5676
|
+
/**
|
|
5677
|
+
* Add, remove, clear, or list linked documentation for an item.
|
|
5678
|
+
*/
|
|
5679
|
+
docs(id, options = {}) {
|
|
5680
|
+
return this.runTyped("docs", { id, options });
|
|
5681
|
+
}
|
|
5682
|
+
/**
|
|
5683
|
+
* Inspect item dependency relationships.
|
|
5684
|
+
*/
|
|
5685
|
+
deps(id, options = {}) {
|
|
5686
|
+
return this.runTyped("deps", { id, options });
|
|
5687
|
+
}
|
|
5688
|
+
/**
|
|
5689
|
+
* Append markdown/body text to an item through the mutation pipeline.
|
|
5690
|
+
*/
|
|
5691
|
+
append(id, body, options = {}) {
|
|
5692
|
+
return this.runTyped("append", { id, ...splitFullClientMutationOptions({ ...options, body }) });
|
|
5693
|
+
}
|
|
5694
|
+
/**
|
|
5695
|
+
* Initialize a workspace with the same semantics as `pm init`.
|
|
5696
|
+
*/
|
|
5697
|
+
init(prefix, options = {}) {
|
|
5698
|
+
return this.runTyped("init", { ...prefix === void 0 ? {} : { prefix }, options });
|
|
5699
|
+
}
|
|
5700
|
+
/**
|
|
5701
|
+
* Read or update project/global configuration.
|
|
5702
|
+
*/
|
|
5703
|
+
config(scope, configAction, key, value, options = {}) {
|
|
5704
|
+
return this.runTyped("config", {
|
|
5705
|
+
scope,
|
|
5706
|
+
configAction,
|
|
5707
|
+
...key === void 0 ? {} : { key },
|
|
5708
|
+
...value === void 0 ? {} : { value },
|
|
5709
|
+
options
|
|
5710
|
+
});
|
|
5711
|
+
}
|
|
5712
|
+
/**
|
|
5713
|
+
* Run the schema customization surface.
|
|
5714
|
+
*/
|
|
5715
|
+
schema(subcommand, options = {}) {
|
|
5716
|
+
return this.runTyped("schema", { options: { ...options, subcommand } });
|
|
5717
|
+
}
|
|
5718
|
+
/**
|
|
5719
|
+
* List built-in, custom, and extension-provided schema types/statuses.
|
|
5720
|
+
*/
|
|
5721
|
+
schemaList() {
|
|
5722
|
+
return this.runTyped("schema", { options: { subcommand: "list" } });
|
|
5723
|
+
}
|
|
5724
|
+
/**
|
|
5725
|
+
* Show a schema item type definition.
|
|
5726
|
+
*/
|
|
5727
|
+
schemaShow(name) {
|
|
5728
|
+
return this.runTyped("schema", { name, options: { subcommand: "show" } });
|
|
5729
|
+
}
|
|
5730
|
+
/**
|
|
5731
|
+
* Register or replace a custom item type.
|
|
5732
|
+
*/
|
|
5733
|
+
schemaAddType(name, options = {}) {
|
|
5734
|
+
return this.runTyped("schema", { name, options: { ...options, subcommand: "add-type" } });
|
|
5735
|
+
}
|
|
5736
|
+
/**
|
|
5737
|
+
* Remove a custom item type.
|
|
5738
|
+
*/
|
|
5739
|
+
schemaRemoveType(name, options = {}) {
|
|
5740
|
+
return this.runTyped("schema", { name, options: { ...options, subcommand: "remove-type" } });
|
|
5741
|
+
}
|
|
5742
|
+
/**
|
|
5743
|
+
* Register or replace a custom status.
|
|
5744
|
+
*/
|
|
5745
|
+
schemaAddStatus(name, options = {}) {
|
|
5746
|
+
return this.runTyped("schema", { name, options: { ...options, subcommand: "add-status" } });
|
|
5747
|
+
}
|
|
5748
|
+
/**
|
|
5749
|
+
* Remove a custom status.
|
|
5750
|
+
*/
|
|
5751
|
+
schemaRemoveStatus(name, options = {}) {
|
|
5752
|
+
return this.runTyped("schema", { name, options: { ...options, subcommand: "remove-status" } });
|
|
5753
|
+
}
|
|
5754
|
+
/**
|
|
5755
|
+
* Register or replace a runtime custom field.
|
|
5756
|
+
*/
|
|
5757
|
+
schemaAddField(name, options = {}) {
|
|
5758
|
+
return this.runTyped("schema", { name, options: { ...options, subcommand: "add-field" } });
|
|
5759
|
+
}
|
|
5760
|
+
/**
|
|
5761
|
+
* Remove a runtime custom field.
|
|
5762
|
+
*/
|
|
5763
|
+
schemaRemoveField(name, options = {}) {
|
|
5764
|
+
return this.runTyped("schema", { name, options: { ...options, subcommand: "remove-field" } });
|
|
5765
|
+
}
|
|
5766
|
+
/**
|
|
5767
|
+
* List runtime custom fields.
|
|
5768
|
+
*/
|
|
5769
|
+
schemaListFields() {
|
|
5770
|
+
return this.runTyped("schema", { options: { subcommand: "list-fields" } });
|
|
5771
|
+
}
|
|
5772
|
+
/**
|
|
5773
|
+
* Show one runtime custom field definition.
|
|
5774
|
+
*/
|
|
5775
|
+
schemaShowField(name) {
|
|
5776
|
+
return this.runTyped("schema", { name, options: { subcommand: "show-field" } });
|
|
5777
|
+
}
|
|
5778
|
+
/**
|
|
5779
|
+
* Apply a built-in type preset to the workspace schema.
|
|
5780
|
+
*/
|
|
5781
|
+
schemaApplyPreset(typePreset, options = {}) {
|
|
5782
|
+
return this.runTyped("schema", { typePreset, options: { ...options, subcommand: "apply-preset" } });
|
|
5783
|
+
}
|
|
5784
|
+
/**
|
|
5785
|
+
* Infer item types from the current tracker and optionally apply them.
|
|
5786
|
+
*/
|
|
5787
|
+
schemaInferTypes(options = {}) {
|
|
5788
|
+
return this.runTyped("schema", { options: { ...options, subcommand: "add-type", infer: true } });
|
|
5789
|
+
}
|
|
5790
|
+
/**
|
|
5791
|
+
* Show one runtime status definition.
|
|
5792
|
+
*/
|
|
5793
|
+
schemaShowStatus(name) {
|
|
5794
|
+
return this.runTyped("schema", { name, options: { subcommand: "show-status" } });
|
|
5795
|
+
}
|
|
5796
|
+
/**
|
|
5797
|
+
* Run the profile customization surface.
|
|
5798
|
+
*/
|
|
5799
|
+
profile(subcommand, options = {}) {
|
|
5800
|
+
return this.runTyped("profile", { options: { ...options, subcommand } });
|
|
5801
|
+
}
|
|
5802
|
+
/**
|
|
5803
|
+
* List available project profiles.
|
|
5804
|
+
*/
|
|
5805
|
+
profileList() {
|
|
5806
|
+
return this.runTyped("profile", { options: { subcommand: "list" } });
|
|
5807
|
+
}
|
|
5808
|
+
/**
|
|
5809
|
+
* Show a project profile.
|
|
5810
|
+
*/
|
|
5811
|
+
profileShow(name) {
|
|
5812
|
+
return this.runTyped("profile", { name, options: { subcommand: "show" } });
|
|
5813
|
+
}
|
|
5814
|
+
/**
|
|
5815
|
+
* Apply a project profile.
|
|
5816
|
+
*/
|
|
5817
|
+
profileApply(name, options = {}) {
|
|
5818
|
+
return this.runTyped("profile", { name, options: { ...options, subcommand: "apply" } });
|
|
5819
|
+
}
|
|
5820
|
+
/**
|
|
5821
|
+
* Lint a project profile.
|
|
5822
|
+
*/
|
|
5823
|
+
profileLint(name) {
|
|
5824
|
+
return this.runTyped("profile", { name, options: { subcommand: "lint" } });
|
|
5825
|
+
}
|
|
5826
|
+
/**
|
|
5827
|
+
* Run project validation checks.
|
|
5828
|
+
*/
|
|
5829
|
+
validate(options = {}) {
|
|
5830
|
+
return this.runTyped("validate", { options });
|
|
5831
|
+
}
|
|
5832
|
+
/**
|
|
5833
|
+
* Run project health checks.
|
|
5834
|
+
*/
|
|
5835
|
+
health(options = {}) {
|
|
5836
|
+
return this.runTyped("health", { options });
|
|
5837
|
+
}
|
|
5838
|
+
/**
|
|
5839
|
+
* Run tracker cache/runtime garbage collection.
|
|
5840
|
+
*/
|
|
5841
|
+
gc(options = {}) {
|
|
5842
|
+
return this.runTyped("gc", { options });
|
|
5843
|
+
}
|
|
5637
5844
|
/**
|
|
5638
5845
|
* Create an item using the same mutation path as `pm create`.
|
|
5639
5846
|
*/
|
|
5640
5847
|
create(options = {}) {
|
|
5641
|
-
return this.
|
|
5848
|
+
return this.runTyped("create", splitFullClientMutationOptions(options));
|
|
5642
5849
|
}
|
|
5643
5850
|
/**
|
|
5644
5851
|
* Update an item using the same mutation path as `pm update`.
|
|
5645
5852
|
*/
|
|
5646
5853
|
update(id, options = {}) {
|
|
5647
|
-
return this.
|
|
5854
|
+
return this.runTyped("update", { id, ...splitFullClientMutationOptions(options) });
|
|
5648
5855
|
}
|
|
5649
5856
|
/**
|
|
5650
5857
|
* Close an item using the same mutation path as `pm close`.
|
|
5651
5858
|
*/
|
|
5652
5859
|
close(id, reason, options = {}) {
|
|
5653
|
-
return this.
|
|
5860
|
+
return this.runTyped("close", { id, reason, ...splitFullClientMutationOptions(options) });
|
|
5654
5861
|
}
|
|
5655
5862
|
/**
|
|
5656
5863
|
* Claim an item using the same mutation path as `pm claim`.
|
|
5657
5864
|
*/
|
|
5658
5865
|
claim(id, options = {}) {
|
|
5659
|
-
return this.
|
|
5866
|
+
return this.runTyped("claim", { id, ...splitFullClientMutationOptions(options) });
|
|
5660
5867
|
}
|
|
5661
5868
|
/**
|
|
5662
5869
|
* Release an item's active claim using the same mutation path as `pm release`.
|
|
5663
5870
|
*/
|
|
5664
5871
|
release(id, options = {}) {
|
|
5665
|
-
return this.
|
|
5872
|
+
return this.runTyped("release", { id, ...splitFullClientMutationOptions(options) });
|
|
5666
5873
|
}
|
|
5667
5874
|
/**
|
|
5668
5875
|
* Copy an item using the same mutation path as `pm copy`.
|
|
5669
5876
|
*/
|
|
5670
5877
|
copy(id, options = {}) {
|
|
5671
|
-
return this.
|
|
5878
|
+
return this.runTyped("copy", { id, ...splitFullClientMutationOptions(options) });
|
|
5672
5879
|
}
|
|
5673
5880
|
/**
|
|
5674
5881
|
* Delete an item using the same mutation path as `pm delete`.
|
|
5675
5882
|
*/
|
|
5676
5883
|
delete(id, options = {}) {
|
|
5677
|
-
return this.
|
|
5884
|
+
return this.runTyped("delete", { id, ...splitFullClientMutationOptions(options) });
|
|
5678
5885
|
}
|
|
5679
5886
|
/**
|
|
5680
5887
|
* Restore an item to a history version or timestamp using `pm restore`.
|
|
5681
5888
|
*/
|
|
5682
5889
|
restore(id, target, options = {}) {
|
|
5683
|
-
|
|
5684
|
-
|
|
5685
|
-
...fullChangedFields === void 0 ? {} : { fullChangedFields },
|
|
5686
|
-
...idOnly === void 0 ? {} : { idOnly },
|
|
5890
|
+
return this.runTyped("restore", {
|
|
5891
|
+
fullChangedFields: true,
|
|
5687
5892
|
id,
|
|
5688
|
-
options: { ...
|
|
5893
|
+
options: { ...options, target }
|
|
5689
5894
|
});
|
|
5690
5895
|
}
|
|
5691
5896
|
/**
|
|
5692
5897
|
* Set, clear, or read workspace focus using the same path as `pm focus`.
|
|
5693
5898
|
*/
|
|
5694
5899
|
focus(id, options = {}) {
|
|
5695
|
-
return this.
|
|
5900
|
+
return this.runTyped("focus", { ...id === void 0 ? {} : { id }, ...splitFullClientMutationOptions(options) });
|
|
5696
5901
|
}
|
|
5697
5902
|
/**
|
|
5698
5903
|
* Claim an item and transition it to the workspace in-progress status.
|
|
5699
5904
|
*/
|
|
5700
5905
|
startTask(id, options = {}) {
|
|
5701
|
-
return this.
|
|
5906
|
+
return this.runTyped("start-task", { id, ...splitFullClientMutationOptions(options) });
|
|
5702
5907
|
}
|
|
5703
5908
|
/**
|
|
5704
5909
|
* Move an item back to the workspace open status and release the claim.
|
|
5705
5910
|
*/
|
|
5706
5911
|
pauseTask(id, options = {}) {
|
|
5707
|
-
return this.
|
|
5912
|
+
return this.runTyped("pause-task", { id, ...splitFullClientMutationOptions(options) });
|
|
5708
5913
|
}
|
|
5709
5914
|
/**
|
|
5710
5915
|
* Close an item and release its active assignment.
|
|
5711
5916
|
*/
|
|
5712
5917
|
closeTask(id, reason, options = {}) {
|
|
5713
|
-
return this.
|
|
5918
|
+
return this.runTyped("close-task", { id, reason, ...splitFullClientMutationOptions(options) });
|
|
5919
|
+
}
|
|
5920
|
+
/**
|
|
5921
|
+
* Run the extension lifecycle surface with the same result shape as `pm extension`.
|
|
5922
|
+
*/
|
|
5923
|
+
extension(target, options = {}) {
|
|
5924
|
+
return this.runTyped("extension", { ...target === void 0 ? {} : { target }, options });
|
|
5925
|
+
}
|
|
5926
|
+
/**
|
|
5927
|
+
* List project or global extensions without constructing command-line argv.
|
|
5928
|
+
*/
|
|
5929
|
+
extensionList(options = {}) {
|
|
5930
|
+
return this.extension("list", options);
|
|
5931
|
+
}
|
|
5932
|
+
/**
|
|
5933
|
+
* Enable an installed extension using the same action as `pm extension activate`.
|
|
5934
|
+
*/
|
|
5935
|
+
extensionActivate(target, options = {}) {
|
|
5936
|
+
return this.runTyped("extension-activate", { target, options });
|
|
5937
|
+
}
|
|
5938
|
+
/**
|
|
5939
|
+
* Disable an installed extension using the same action as `pm extension deactivate`.
|
|
5940
|
+
*/
|
|
5941
|
+
extensionDeactivate(target, options = {}) {
|
|
5942
|
+
return this.runTyped("extension-deactivate", { target, options });
|
|
5943
|
+
}
|
|
5944
|
+
/**
|
|
5945
|
+
* Run the package lifecycle surface with package vocabulary preserved.
|
|
5946
|
+
*/
|
|
5947
|
+
package(target, options = {}) {
|
|
5948
|
+
return this.runTyped("package", {
|
|
5949
|
+
...target === void 0 ? {} : { target },
|
|
5950
|
+
options: { ...options, vocabulary: "package" }
|
|
5951
|
+
});
|
|
5952
|
+
}
|
|
5953
|
+
/**
|
|
5954
|
+
* List project or global packages through the package lifecycle primitive.
|
|
5955
|
+
*/
|
|
5956
|
+
packageList(options = {}) {
|
|
5957
|
+
return this.package("list", options);
|
|
5958
|
+
}
|
|
5959
|
+
/**
|
|
5960
|
+
* Install a package or extension source using the same action as `pm package install`.
|
|
5961
|
+
*/
|
|
5962
|
+
packageInstall(target, options = {}) {
|
|
5963
|
+
return this.runTyped("package-install", { target, options });
|
|
5964
|
+
}
|
|
5965
|
+
/**
|
|
5966
|
+
* Uninstall a package or extension using the same action as `pm package uninstall`.
|
|
5967
|
+
*/
|
|
5968
|
+
packageUninstall(target, options = {}) {
|
|
5969
|
+
return this.runTyped("package-uninstall", { target, options });
|
|
5970
|
+
}
|
|
5971
|
+
/**
|
|
5972
|
+
* Read package lifecycle diagnostics using the same action as `pm package doctor`.
|
|
5973
|
+
*/
|
|
5974
|
+
packageDoctor(options = {}) {
|
|
5975
|
+
return this.runTyped("package-doctor", { options });
|
|
5976
|
+
}
|
|
5977
|
+
/**
|
|
5978
|
+
* Inspect managed package state using the same action as `pm package manage`.
|
|
5979
|
+
*/
|
|
5980
|
+
packageManage(target, options = {}) {
|
|
5981
|
+
return this.runTyped("package-manage", { ...target === void 0 ? {} : { target }, options });
|
|
5982
|
+
}
|
|
5983
|
+
/**
|
|
5984
|
+
* Describe installed package surfaces using the same action as `pm package describe`.
|
|
5985
|
+
*/
|
|
5986
|
+
packageDescribe(target, options = {}) {
|
|
5987
|
+
return this.runTyped("package-describe", { ...target === void 0 ? {} : { target }, options });
|
|
5988
|
+
}
|
|
5989
|
+
/**
|
|
5990
|
+
* Reload installed package extensions using the same action as `pm package reload`.
|
|
5991
|
+
*/
|
|
5992
|
+
packageReload(options = {}) {
|
|
5993
|
+
return this.runTyped("package-reload", { options });
|
|
5994
|
+
}
|
|
5995
|
+
/**
|
|
5996
|
+
* Read bundled package catalog metadata using the same action as `pm package catalog`.
|
|
5997
|
+
*/
|
|
5998
|
+
packageCatalog(options = {}) {
|
|
5999
|
+
return this.runTyped("package-catalog", { options });
|
|
6000
|
+
}
|
|
6001
|
+
/**
|
|
6002
|
+
* Enable an installed package using the same action as `pm package activate`.
|
|
6003
|
+
*/
|
|
6004
|
+
packageActivate(target, options = {}) {
|
|
6005
|
+
return this.runTyped("package-activate", { target, options });
|
|
6006
|
+
}
|
|
6007
|
+
/**
|
|
6008
|
+
* Disable an installed package using the same action as `pm package deactivate`.
|
|
6009
|
+
*/
|
|
6010
|
+
packageDeactivate(target, options = {}) {
|
|
6011
|
+
return this.runTyped("package-deactivate", { target, options });
|
|
6012
|
+
}
|
|
6013
|
+
/**
|
|
6014
|
+
* Upgrade the pm CLI and/or managed packages through the public SDK dispatcher.
|
|
6015
|
+
*/
|
|
6016
|
+
upgrade(target, options = {}) {
|
|
6017
|
+
return this.runTyped("upgrade", { ...target === void 0 ? {} : { target }, options });
|
|
5714
6018
|
}
|
|
5715
6019
|
};
|
|
5716
6020
|
function context(options = {}, clientOptions = {}) {
|
|
@@ -5734,6 +6038,102 @@ function aggregate(options = {}, clientOptions = {}) {
|
|
|
5734
6038
|
function stats(options = {}, clientOptions = {}) {
|
|
5735
6039
|
return new PmClient(clientOptions).stats(options);
|
|
5736
6040
|
}
|
|
6041
|
+
function comments(id, options = {}, clientOptions = {}) {
|
|
6042
|
+
return new PmClient(clientOptions).comments(id, options);
|
|
6043
|
+
}
|
|
6044
|
+
function notes(id, options = {}, clientOptions = {}) {
|
|
6045
|
+
return new PmClient(clientOptions).notes(id, options);
|
|
6046
|
+
}
|
|
6047
|
+
function learnings(id, options = {}, clientOptions = {}) {
|
|
6048
|
+
return new PmClient(clientOptions).learnings(id, options);
|
|
6049
|
+
}
|
|
6050
|
+
function files(id, options = {}, clientOptions = {}) {
|
|
6051
|
+
return new PmClient(clientOptions).files(id, options);
|
|
6052
|
+
}
|
|
6053
|
+
function filesDiscover(id, options = {}, clientOptions = {}) {
|
|
6054
|
+
return new PmClient(clientOptions).filesDiscover(id, options);
|
|
6055
|
+
}
|
|
6056
|
+
function docs(id, options = {}, clientOptions = {}) {
|
|
6057
|
+
return new PmClient(clientOptions).docs(id, options);
|
|
6058
|
+
}
|
|
6059
|
+
function deps(id, options = {}, clientOptions = {}) {
|
|
6060
|
+
return new PmClient(clientOptions).deps(id, options);
|
|
6061
|
+
}
|
|
6062
|
+
function append(id, body, options = {}, clientOptions = {}) {
|
|
6063
|
+
return new PmClient(clientOptions).append(id, body, options);
|
|
6064
|
+
}
|
|
6065
|
+
function init(prefix, options = {}, clientOptions = {}) {
|
|
6066
|
+
return new PmClient(clientOptions).init(prefix, options);
|
|
6067
|
+
}
|
|
6068
|
+
function config(scope, configAction, key, value, options = {}, clientOptions = {}) {
|
|
6069
|
+
return new PmClient(clientOptions).config(scope, configAction, key, value, options);
|
|
6070
|
+
}
|
|
6071
|
+
function schema(subcommand, options = {}, clientOptions = {}) {
|
|
6072
|
+
return new PmClient(clientOptions).schema(subcommand, options);
|
|
6073
|
+
}
|
|
6074
|
+
function schemaList(clientOptions = {}) {
|
|
6075
|
+
return new PmClient(clientOptions).schemaList();
|
|
6076
|
+
}
|
|
6077
|
+
function schemaShow(name, clientOptions = {}) {
|
|
6078
|
+
return new PmClient(clientOptions).schemaShow(name);
|
|
6079
|
+
}
|
|
6080
|
+
function schemaAddType(name, options = {}, clientOptions = {}) {
|
|
6081
|
+
return new PmClient(clientOptions).schemaAddType(name, options);
|
|
6082
|
+
}
|
|
6083
|
+
function schemaRemoveType(name, options = {}, clientOptions = {}) {
|
|
6084
|
+
return new PmClient(clientOptions).schemaRemoveType(name, options);
|
|
6085
|
+
}
|
|
6086
|
+
function schemaAddStatus(name, options = {}, clientOptions = {}) {
|
|
6087
|
+
return new PmClient(clientOptions).schemaAddStatus(name, options);
|
|
6088
|
+
}
|
|
6089
|
+
function schemaRemoveStatus(name, options = {}, clientOptions = {}) {
|
|
6090
|
+
return new PmClient(clientOptions).schemaRemoveStatus(name, options);
|
|
6091
|
+
}
|
|
6092
|
+
function schemaAddField(name, options = {}, clientOptions = {}) {
|
|
6093
|
+
return new PmClient(clientOptions).schemaAddField(name, options);
|
|
6094
|
+
}
|
|
6095
|
+
function schemaRemoveField(name, options = {}, clientOptions = {}) {
|
|
6096
|
+
return new PmClient(clientOptions).schemaRemoveField(name, options);
|
|
6097
|
+
}
|
|
6098
|
+
function schemaListFields(clientOptions = {}) {
|
|
6099
|
+
return new PmClient(clientOptions).schemaListFields();
|
|
6100
|
+
}
|
|
6101
|
+
function schemaShowField(name, clientOptions = {}) {
|
|
6102
|
+
return new PmClient(clientOptions).schemaShowField(name);
|
|
6103
|
+
}
|
|
6104
|
+
function schemaApplyPreset(typePreset, options = {}, clientOptions = {}) {
|
|
6105
|
+
return new PmClient(clientOptions).schemaApplyPreset(typePreset, options);
|
|
6106
|
+
}
|
|
6107
|
+
function schemaInferTypes(options = {}, clientOptions = {}) {
|
|
6108
|
+
return new PmClient(clientOptions).schemaInferTypes(options);
|
|
6109
|
+
}
|
|
6110
|
+
function schemaShowStatus(name, clientOptions = {}) {
|
|
6111
|
+
return new PmClient(clientOptions).schemaShowStatus(name);
|
|
6112
|
+
}
|
|
6113
|
+
function profile(subcommand, options = {}, clientOptions = {}) {
|
|
6114
|
+
return new PmClient(clientOptions).profile(subcommand, options);
|
|
6115
|
+
}
|
|
6116
|
+
function profileList(clientOptions = {}) {
|
|
6117
|
+
return new PmClient(clientOptions).profileList();
|
|
6118
|
+
}
|
|
6119
|
+
function profileShow(name, clientOptions = {}) {
|
|
6120
|
+
return new PmClient(clientOptions).profileShow(name);
|
|
6121
|
+
}
|
|
6122
|
+
function profileApply(name, options = {}, clientOptions = {}) {
|
|
6123
|
+
return new PmClient(clientOptions).profileApply(name, options);
|
|
6124
|
+
}
|
|
6125
|
+
function profileLint(name, clientOptions = {}) {
|
|
6126
|
+
return new PmClient(clientOptions).profileLint(name);
|
|
6127
|
+
}
|
|
6128
|
+
function validate(options = {}, clientOptions = {}) {
|
|
6129
|
+
return new PmClient(clientOptions).validate(options);
|
|
6130
|
+
}
|
|
6131
|
+
function health(options = {}, clientOptions = {}) {
|
|
6132
|
+
return new PmClient(clientOptions).health(options);
|
|
6133
|
+
}
|
|
6134
|
+
function gc(options = {}, clientOptions = {}) {
|
|
6135
|
+
return new PmClient(clientOptions).gc(options);
|
|
6136
|
+
}
|
|
5737
6137
|
function create(options = {}, clientOptions = {}) {
|
|
5738
6138
|
return new PmClient(clientOptions).create(options);
|
|
5739
6139
|
}
|
|
@@ -5770,6 +6170,54 @@ function pauseTask(id, options = {}, clientOptions = {}) {
|
|
|
5770
6170
|
function closeTask(id, reason, options = {}, clientOptions = {}) {
|
|
5771
6171
|
return new PmClient(clientOptions).closeTask(id, reason, options);
|
|
5772
6172
|
}
|
|
6173
|
+
function extension(target, options = {}, clientOptions = {}) {
|
|
6174
|
+
return new PmClient(clientOptions).extension(target, options);
|
|
6175
|
+
}
|
|
6176
|
+
function extensionList(options = {}, clientOptions = {}) {
|
|
6177
|
+
return new PmClient(clientOptions).extensionList(options);
|
|
6178
|
+
}
|
|
6179
|
+
function extensionActivate(target, options = {}, clientOptions = {}) {
|
|
6180
|
+
return new PmClient(clientOptions).extensionActivate(target, options);
|
|
6181
|
+
}
|
|
6182
|
+
function extensionDeactivate(target, options = {}, clientOptions = {}) {
|
|
6183
|
+
return new PmClient(clientOptions).extensionDeactivate(target, options);
|
|
6184
|
+
}
|
|
6185
|
+
function packageLifecycle(target, options = {}, clientOptions = {}) {
|
|
6186
|
+
return new PmClient(clientOptions).package(target, options);
|
|
6187
|
+
}
|
|
6188
|
+
function packageList(options = {}, clientOptions = {}) {
|
|
6189
|
+
return new PmClient(clientOptions).packageList(options);
|
|
6190
|
+
}
|
|
6191
|
+
function packageInstall(target, options = {}, clientOptions = {}) {
|
|
6192
|
+
return new PmClient(clientOptions).packageInstall(target, options);
|
|
6193
|
+
}
|
|
6194
|
+
function packageUninstall(target, options = {}, clientOptions = {}) {
|
|
6195
|
+
return new PmClient(clientOptions).packageUninstall(target, options);
|
|
6196
|
+
}
|
|
6197
|
+
function packageDoctor(options = {}, clientOptions = {}) {
|
|
6198
|
+
return new PmClient(clientOptions).packageDoctor(options);
|
|
6199
|
+
}
|
|
6200
|
+
function packageManage(target, options = {}, clientOptions = {}) {
|
|
6201
|
+
return new PmClient(clientOptions).packageManage(target, options);
|
|
6202
|
+
}
|
|
6203
|
+
function packageDescribe(target, options = {}, clientOptions = {}) {
|
|
6204
|
+
return new PmClient(clientOptions).packageDescribe(target, options);
|
|
6205
|
+
}
|
|
6206
|
+
function packageReload(options = {}, clientOptions = {}) {
|
|
6207
|
+
return new PmClient(clientOptions).packageReload(options);
|
|
6208
|
+
}
|
|
6209
|
+
function packageCatalog(options = {}, clientOptions = {}) {
|
|
6210
|
+
return new PmClient(clientOptions).packageCatalog(options);
|
|
6211
|
+
}
|
|
6212
|
+
function packageActivate(target, options = {}, clientOptions = {}) {
|
|
6213
|
+
return new PmClient(clientOptions).packageActivate(target, options);
|
|
6214
|
+
}
|
|
6215
|
+
function packageDeactivate(target, options = {}, clientOptions = {}) {
|
|
6216
|
+
return new PmClient(clientOptions).packageDeactivate(target, options);
|
|
6217
|
+
}
|
|
6218
|
+
function upgrade(target, options = {}, clientOptions = {}) {
|
|
6219
|
+
return new PmClient(clientOptions).upgrade(target, options);
|
|
6220
|
+
}
|
|
5773
6221
|
function buildWorkspaceExtensionRegistrationsCacheKey(pmRoot, settings, cwd) {
|
|
5774
6222
|
return JSON.stringify([
|
|
5775
6223
|
path3.resolve(pmRoot),
|
|
@@ -5884,11 +6332,16 @@ var LIFECYCLE_AUTHOR_ALIAS_ACTIONS = /* @__PURE__ */ new Set([
|
|
|
5884
6332
|
function normalizeMcpOptionsArrays(options, action) {
|
|
5885
6333
|
const result = {};
|
|
5886
6334
|
const promoteAddRemove = action !== void 0 && ARRAY_ADD_REMOVE_ACTIONS.has(action);
|
|
6335
|
+
const preserveStandaloneNote = action === "files" || action === "files-discover" || action === "docs";
|
|
5887
6336
|
for (const [key, value] of Object.entries(options)) {
|
|
5888
6337
|
if (Array.isArray(value) && ARRAY_TO_CSV_FIELDS.has(key)) {
|
|
5889
6338
|
result[key] = value.join(",");
|
|
5890
6339
|
continue;
|
|
5891
6340
|
}
|
|
6341
|
+
if (key === "note" && preserveStandaloneNote) {
|
|
6342
|
+
result[key] = value;
|
|
6343
|
+
continue;
|
|
6344
|
+
}
|
|
5892
6345
|
if (typeof value === "string" && SCALAR_TO_ARRAY_FIELDS.has(key)) {
|
|
5893
6346
|
result[key] = [value];
|
|
5894
6347
|
continue;
|
|
@@ -6292,6 +6745,9 @@ function resolveSdkActionInput(args) {
|
|
|
6292
6745
|
if (alias?.options !== void 0) {
|
|
6293
6746
|
resolvedArgs.options = { ...alias.options, ...asRecordClone(args.options) };
|
|
6294
6747
|
}
|
|
6748
|
+
if (action === "package") {
|
|
6749
|
+
resolvedArgs.options = { ...asRecordClone(resolvedArgs.options), vocabulary: "package" };
|
|
6750
|
+
}
|
|
6295
6751
|
return { action, args: resolvedArgs };
|
|
6296
6752
|
}
|
|
6297
6753
|
function shouldInvalidateWorkspaceContractsCacheAfterAction(action) {
|
|
@@ -6484,8 +6940,8 @@ function createMcpSchemaContext(ctx) {
|
|
|
6484
6940
|
aliases: aliasSource === void 0 ? void 0 : readStringArray(aliasSource)
|
|
6485
6941
|
};
|
|
6486
6942
|
}
|
|
6487
|
-
function runMcpSchemaReadOrRemoveAction(
|
|
6488
|
-
const { ctx, subcommand, name, author, force } =
|
|
6943
|
+
function runMcpSchemaReadOrRemoveAction(schema2) {
|
|
6944
|
+
const { ctx, subcommand, name, author, force } = schema2;
|
|
6489
6945
|
const simpleHandlers = {
|
|
6490
6946
|
list: () => runSchemaList(ctx.global),
|
|
6491
6947
|
show: () => runSchemaShow(name, ctx.global),
|
|
@@ -6500,8 +6956,8 @@ function runMcpSchemaReadOrRemoveAction(schema) {
|
|
|
6500
6956
|
const handler = getOwnHandler(simpleHandlers, subcommand);
|
|
6501
6957
|
return handler ? handler() : null;
|
|
6502
6958
|
}
|
|
6503
|
-
function runMcpSchemaAddFieldAction(
|
|
6504
|
-
const { ctx, name, author, force, aliases } =
|
|
6959
|
+
function runMcpSchemaAddFieldAction(schema2) {
|
|
6960
|
+
const { ctx, name, author, force, aliases } = schema2;
|
|
6505
6961
|
const commandsSource = ctx.args.commands ?? ctx.options.commands;
|
|
6506
6962
|
const requiredTypesSource = ctx.args.requiredTypes ?? ctx.options.requiredTypes;
|
|
6507
6963
|
return runSchemaAddField(name, {
|
|
@@ -6518,8 +6974,8 @@ function runMcpSchemaAddFieldAction(schema) {
|
|
|
6518
6974
|
force
|
|
6519
6975
|
}, ctx.global);
|
|
6520
6976
|
}
|
|
6521
|
-
function runMcpSchemaAddStatusAction(
|
|
6522
|
-
const { ctx, name, author, force, aliases } =
|
|
6977
|
+
function runMcpSchemaAddStatusAction(schema2) {
|
|
6978
|
+
const { ctx, name, author, force, aliases } = schema2;
|
|
6523
6979
|
const roleSource = ctx.args.role ?? ctx.options.role;
|
|
6524
6980
|
return runSchemaAddStatus(name, {
|
|
6525
6981
|
role: roleSource === void 0 ? void 0 : readStringArray(roleSource),
|
|
@@ -6530,8 +6986,8 @@ function runMcpSchemaAddStatusAction(schema) {
|
|
|
6530
6986
|
force
|
|
6531
6987
|
}, ctx.global);
|
|
6532
6988
|
}
|
|
6533
|
-
function runMcpSchemaAddTypeAction(
|
|
6534
|
-
const { ctx, name, author, force, aliases } =
|
|
6989
|
+
function runMcpSchemaAddTypeAction(schema2) {
|
|
6990
|
+
const { ctx, name, author, force, aliases } = schema2;
|
|
6535
6991
|
return runSchemaAddType(name, {
|
|
6536
6992
|
description: readString(ctx.args, "description") ?? readString(ctx.options, "description"),
|
|
6537
6993
|
defaultStatus: readString(ctx.args, "defaultStatus") ?? readString(ctx.args, "default_status") ?? readString(ctx.options, "defaultStatus") ?? readString(ctx.options, "default_status"),
|
|
@@ -6542,29 +6998,29 @@ function runMcpSchemaAddTypeAction(schema) {
|
|
|
6542
6998
|
}, ctx.global);
|
|
6543
6999
|
}
|
|
6544
7000
|
function runMcpSchemaAction(ctx) {
|
|
6545
|
-
const
|
|
6546
|
-
const simpleResult = runMcpSchemaReadOrRemoveAction(
|
|
7001
|
+
const schema2 = createMcpSchemaContext(ctx);
|
|
7002
|
+
const simpleResult = runMcpSchemaReadOrRemoveAction(schema2);
|
|
6547
7003
|
if (simpleResult !== null) {
|
|
6548
7004
|
return simpleResult;
|
|
6549
7005
|
}
|
|
6550
|
-
if (
|
|
6551
|
-
return runMcpSchemaAddFieldAction(
|
|
7006
|
+
if (schema2.subcommand === "add-field") {
|
|
7007
|
+
return runMcpSchemaAddFieldAction(schema2);
|
|
6552
7008
|
}
|
|
6553
|
-
if (
|
|
6554
|
-
return runMcpSchemaAddStatusAction(
|
|
7009
|
+
if (schema2.subcommand === "add-status") {
|
|
7010
|
+
return runMcpSchemaAddStatusAction(schema2);
|
|
6555
7011
|
}
|
|
6556
|
-
if (
|
|
7012
|
+
if (schema2.subcommand === "add-type") {
|
|
6557
7013
|
if (ctx.args.infer === true || ctx.options.infer === true) {
|
|
6558
7014
|
return runSchemaInferTypes({
|
|
6559
7015
|
minCount: parseMcpInteger(ctx.args.minCount ?? ctx.options.minCount, "schema infer minCount"),
|
|
6560
7016
|
apply: ctx.args.apply === true || ctx.options.apply === true,
|
|
6561
|
-
author:
|
|
6562
|
-
force:
|
|
7017
|
+
author: schema2.author,
|
|
7018
|
+
force: schema2.force
|
|
6563
7019
|
}, ctx.global);
|
|
6564
7020
|
}
|
|
6565
|
-
return runMcpSchemaAddTypeAction(
|
|
7021
|
+
return runMcpSchemaAddTypeAction(schema2);
|
|
6566
7022
|
}
|
|
6567
|
-
throw new PmCliError(`Unknown pm schema subcommand "${
|
|
7023
|
+
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);
|
|
6568
7024
|
}
|
|
6569
7025
|
function runMcpProfileAction(ctx) {
|
|
6570
7026
|
const subcommand = readString(ctx.args, "subcommand") ?? readRequiredString(ctx.options, "subcommand");
|
|
@@ -6805,6 +7261,38 @@ export {
|
|
|
6805
7261
|
next,
|
|
6806
7262
|
aggregate,
|
|
6807
7263
|
stats,
|
|
7264
|
+
comments,
|
|
7265
|
+
notes,
|
|
7266
|
+
learnings,
|
|
7267
|
+
files,
|
|
7268
|
+
filesDiscover,
|
|
7269
|
+
docs,
|
|
7270
|
+
deps,
|
|
7271
|
+
append,
|
|
7272
|
+
init,
|
|
7273
|
+
config,
|
|
7274
|
+
schema,
|
|
7275
|
+
schemaList,
|
|
7276
|
+
schemaShow,
|
|
7277
|
+
schemaAddType,
|
|
7278
|
+
schemaRemoveType,
|
|
7279
|
+
schemaAddStatus,
|
|
7280
|
+
schemaRemoveStatus,
|
|
7281
|
+
schemaAddField,
|
|
7282
|
+
schemaRemoveField,
|
|
7283
|
+
schemaListFields,
|
|
7284
|
+
schemaShowField,
|
|
7285
|
+
schemaApplyPreset,
|
|
7286
|
+
schemaInferTypes,
|
|
7287
|
+
schemaShowStatus,
|
|
7288
|
+
profile,
|
|
7289
|
+
profileList,
|
|
7290
|
+
profileShow,
|
|
7291
|
+
profileApply,
|
|
7292
|
+
profileLint,
|
|
7293
|
+
validate,
|
|
7294
|
+
health,
|
|
7295
|
+
gc,
|
|
6808
7296
|
create,
|
|
6809
7297
|
update,
|
|
6810
7298
|
close,
|
|
@@ -6817,9 +7305,25 @@ export {
|
|
|
6817
7305
|
startTask,
|
|
6818
7306
|
pauseTask,
|
|
6819
7307
|
closeTask,
|
|
7308
|
+
extension,
|
|
7309
|
+
extensionList,
|
|
7310
|
+
extensionActivate,
|
|
7311
|
+
extensionDeactivate,
|
|
7312
|
+
packageLifecycle,
|
|
7313
|
+
packageList,
|
|
7314
|
+
packageInstall,
|
|
7315
|
+
packageUninstall,
|
|
7316
|
+
packageDoctor,
|
|
7317
|
+
packageManage,
|
|
7318
|
+
packageDescribe,
|
|
7319
|
+
packageReload,
|
|
7320
|
+
packageCatalog,
|
|
7321
|
+
packageActivate,
|
|
7322
|
+
packageDeactivate,
|
|
7323
|
+
upgrade,
|
|
6820
7324
|
getWorkspaceContracts,
|
|
6821
7325
|
getContracts,
|
|
6822
7326
|
readRequiredString,
|
|
6823
7327
|
runAction
|
|
6824
7328
|
};
|
|
6825
|
-
//# sourceMappingURL=chunk-
|
|
7329
|
+
//# sourceMappingURL=chunk-CEX2DQXZ.js.map
|