@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,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]="8d7cc408-007b-599b-a0c1-42c938db1dca")}catch(e){}}();
|
|
3
3
|
import {
|
|
4
4
|
runFiles,
|
|
5
5
|
runFilesDiscover
|
|
6
|
-
} from "./chunk-
|
|
6
|
+
} from "./chunk-JYVPLGOW.js";
|
|
7
7
|
import {
|
|
8
8
|
runDocs
|
|
9
|
-
} from "./chunk-
|
|
9
|
+
} from "./chunk-UFNFHCAC.js";
|
|
10
10
|
import {
|
|
11
11
|
runDeps
|
|
12
|
-
} from "./chunk-
|
|
12
|
+
} from "./chunk-LD2NBQ5T.js";
|
|
13
13
|
import {
|
|
14
14
|
assertHistoryRepairTarget,
|
|
15
15
|
runHistoryRepair,
|
|
16
16
|
runHistoryRepairAll
|
|
17
|
-
} from "./chunk-
|
|
17
|
+
} from "./chunk-SIQGG335.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-BPYVKTZE.js";
|
|
31
31
|
import {
|
|
32
32
|
runComments
|
|
33
|
-
} from "./chunk-
|
|
33
|
+
} from "./chunk-LG4N6YOK.js";
|
|
34
34
|
import {
|
|
35
35
|
runCopy
|
|
36
|
-
} from "./chunk-
|
|
36
|
+
} from "./chunk-SCJPFQQT.js";
|
|
37
37
|
import {
|
|
38
38
|
runFocus
|
|
39
|
-
} from "./chunk-
|
|
39
|
+
} from "./chunk-NRMDT4OV.js";
|
|
40
40
|
import {
|
|
41
41
|
runDelete
|
|
42
|
-
} from "./chunk-
|
|
42
|
+
} from "./chunk-6ZKDMEVT.js";
|
|
43
43
|
import {
|
|
44
44
|
runAppend
|
|
45
|
-
} from "./chunk-
|
|
45
|
+
} from "./chunk-RL24NAUX.js";
|
|
46
46
|
import {
|
|
47
47
|
runProfileApply,
|
|
48
48
|
runProfileLint,
|
|
49
49
|
runProfileList,
|
|
50
50
|
runProfileShow
|
|
51
|
-
} from "./chunk-
|
|
51
|
+
} from "./chunk-Y2736PT5.js";
|
|
52
52
|
import {
|
|
53
53
|
runNotes
|
|
54
|
-
} from "./chunk-
|
|
54
|
+
} from "./chunk-HZZ3AC27.js";
|
|
55
55
|
import {
|
|
56
56
|
runLearnings
|
|
57
|
-
} from "./chunk-
|
|
57
|
+
} from "./chunk-F5DDGY6R.js";
|
|
58
58
|
import {
|
|
59
59
|
runCloseMany
|
|
60
|
-
} from "./chunk-
|
|
60
|
+
} from "./chunk-5ZMZF53A.js";
|
|
61
61
|
import {
|
|
62
62
|
runUpdateMany
|
|
63
|
-
} from "./chunk-
|
|
63
|
+
} from "./chunk-S7J3GEHL.js";
|
|
64
64
|
import {
|
|
65
65
|
runRestore
|
|
66
|
-
} from "./chunk-
|
|
66
|
+
} from "./chunk-PAWPLIWW.js";
|
|
67
67
|
import {
|
|
68
68
|
runUpdate
|
|
69
|
-
} from "./chunk-
|
|
69
|
+
} from "./chunk-MCZK7LY6.js";
|
|
70
70
|
import {
|
|
71
71
|
runClose
|
|
72
|
-
} from "./chunk-
|
|
72
|
+
} from "./chunk-63PZJCKO.js";
|
|
73
73
|
import {
|
|
74
74
|
runPlan
|
|
75
|
-
} from "./chunk-
|
|
75
|
+
} from "./chunk-YPE5MFPJ.js";
|
|
76
76
|
import {
|
|
77
77
|
runHistoryCompact
|
|
78
|
-
} from "./chunk-
|
|
78
|
+
} from "./chunk-4OCWJ2AP.js";
|
|
79
79
|
import {
|
|
80
80
|
runHistoryRedact
|
|
81
|
-
} from "./chunk-
|
|
81
|
+
} from "./chunk-JH5XDDYS.js";
|
|
82
82
|
import {
|
|
83
83
|
runConfig,
|
|
84
84
|
runUpgrade
|
|
85
|
-
} from "./chunk-
|
|
85
|
+
} from "./chunk-26MFLA7K.js";
|
|
86
86
|
import {
|
|
87
87
|
SCAFFOLD_CAPABILITIES,
|
|
88
88
|
runExtension,
|
|
89
89
|
runInit
|
|
90
|
-
} from "./chunk-
|
|
90
|
+
} from "./chunk-P5SUMCU5.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-FOJEBRDD.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-2FKIIQMJ.js";
|
|
117
117
|
import {
|
|
118
118
|
buildListQueryFilters,
|
|
119
119
|
runList
|
|
120
|
-
} from "./chunk-
|
|
120
|
+
} from "./chunk-TI7QSUFK.js";
|
|
121
121
|
import {
|
|
122
122
|
runHistory
|
|
123
|
-
} from "./chunk-
|
|
123
|
+
} from "./chunk-6WCXSC5V.js";
|
|
124
124
|
import {
|
|
125
125
|
parseIntegerLimit
|
|
126
|
-
} from "./chunk-
|
|
126
|
+
} from "./chunk-6RR4XM5H.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-DBV5A7FT.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-NBJCIAVV.js";
|
|
187
187
|
import {
|
|
188
188
|
runCreate
|
|
189
|
-
} from "./chunk-
|
|
189
|
+
} from "./chunk-ASSVI7FP.js";
|
|
190
190
|
import {
|
|
191
191
|
parseTags
|
|
192
|
-
} from "./chunk-
|
|
192
|
+
} from "./chunk-3SHDAKMF.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-U72GF3I2.js";
|
|
199
199
|
import {
|
|
200
200
|
PmCliError,
|
|
201
201
|
acquireLock,
|
|
@@ -224,7 +224,7 @@ import {
|
|
|
224
224
|
setActiveExtensionRenderers,
|
|
225
225
|
setActiveExtensionServices,
|
|
226
226
|
toItemRecord
|
|
227
|
-
} from "./chunk-
|
|
227
|
+
} from "./chunk-NTOOEVJ4.js";
|
|
228
228
|
import {
|
|
229
229
|
BUILTIN_ITEM_TYPE_VALUES,
|
|
230
230
|
EXIT_CODE,
|
|
@@ -251,7 +251,7 @@ import {
|
|
|
251
251
|
toErrorMessage,
|
|
252
252
|
toNonEmptyStringOrUndefined,
|
|
253
253
|
writeFileAtomic
|
|
254
|
-
} from "./chunk-
|
|
254
|
+
} from "./chunk-MFLLULHU.js";
|
|
255
255
|
|
|
256
256
|
// dist/sdk/runtime.js
|
|
257
257
|
import path3 from "node:path";
|
|
@@ -1123,11 +1123,11 @@ function toExcerpt(content, maxLines, maxCharacters) {
|
|
|
1123
1123
|
async function renderGuideDocs(topic, depth, packageRoot) {
|
|
1124
1124
|
const includeContent = depth !== "brief";
|
|
1125
1125
|
const contentMode = includeContent ? depth === "deep" ? "full" : "excerpt" : "none";
|
|
1126
|
-
const
|
|
1126
|
+
const docs2 = [];
|
|
1127
1127
|
for (const doc of topic.docs) {
|
|
1128
1128
|
const absolutePath = path.resolve(packageRoot, doc.path);
|
|
1129
1129
|
if (!includeContent) {
|
|
1130
|
-
|
|
1130
|
+
docs2.push({
|
|
1131
1131
|
path: doc.path,
|
|
1132
1132
|
purpose: doc.purpose,
|
|
1133
1133
|
optional: doc.optional === true,
|
|
@@ -1143,7 +1143,7 @@ async function renderGuideDocs(topic, depth, packageRoot) {
|
|
|
1143
1143
|
const rawContent = await readFile(absolutePath, "utf8");
|
|
1144
1144
|
if (depth === "deep") {
|
|
1145
1145
|
const normalized = normalizeLineEndings(rawContent).trimEnd();
|
|
1146
|
-
|
|
1146
|
+
docs2.push({
|
|
1147
1147
|
path: doc.path,
|
|
1148
1148
|
purpose: doc.purpose,
|
|
1149
1149
|
optional: doc.optional === true,
|
|
@@ -1155,7 +1155,7 @@ async function renderGuideDocs(topic, depth, packageRoot) {
|
|
|
1155
1155
|
});
|
|
1156
1156
|
} else {
|
|
1157
1157
|
const excerpt = toExcerpt(rawContent, 120, 12e3);
|
|
1158
|
-
|
|
1158
|
+
docs2.push({
|
|
1159
1159
|
path: doc.path,
|
|
1160
1160
|
purpose: doc.purpose,
|
|
1161
1161
|
optional: doc.optional === true,
|
|
@@ -1169,7 +1169,7 @@ async function renderGuideDocs(topic, depth, packageRoot) {
|
|
|
1169
1169
|
} catch (error) {
|
|
1170
1170
|
const code = error?.code;
|
|
1171
1171
|
const missing = code === "ENOENT";
|
|
1172
|
-
|
|
1172
|
+
docs2.push({
|
|
1173
1173
|
path: doc.path,
|
|
1174
1174
|
purpose: doc.purpose,
|
|
1175
1175
|
optional: doc.optional === true,
|
|
@@ -1184,7 +1184,7 @@ async function renderGuideDocs(topic, depth, packageRoot) {
|
|
|
1184
1184
|
}
|
|
1185
1185
|
}
|
|
1186
1186
|
}
|
|
1187
|
-
return
|
|
1187
|
+
return docs2;
|
|
1188
1188
|
}
|
|
1189
1189
|
function buildGuideIndex(depth) {
|
|
1190
1190
|
const topics = listGuideTopics().map((topic) => ({
|
|
@@ -1227,15 +1227,15 @@ async function runGuide(options, global) {
|
|
|
1227
1227
|
}
|
|
1228
1228
|
const topic = ensureGuideTopic(topicRaw);
|
|
1229
1229
|
const packageRoot = resolvePackageRoot();
|
|
1230
|
-
const
|
|
1231
|
-
const warnings =
|
|
1230
|
+
const docs2 = await renderGuideDocs(topic, depth, packageRoot);
|
|
1231
|
+
const warnings = docs2.filter((doc) => !doc.exists && !doc.optional).map((doc) => `Missing required guide document: ${doc.path}`);
|
|
1232
1232
|
return {
|
|
1233
1233
|
output_default: "toon",
|
|
1234
1234
|
mode: "topic",
|
|
1235
1235
|
depth,
|
|
1236
1236
|
requested_topic: topicRaw,
|
|
1237
1237
|
topic,
|
|
1238
|
-
docs,
|
|
1238
|
+
docs: docs2,
|
|
1239
1239
|
warnings
|
|
1240
1240
|
};
|
|
1241
1241
|
}
|
|
@@ -1994,6 +1994,8 @@ _pm() {
|
|
|
1994
1994
|
'--priority[Filter by priority]:(0 1 2 3 4)' \\
|
|
1995
1995
|
'--deadline-before[Filter by deadline upper bound (ISO/date string or relative)]:date' \\
|
|
1996
1996
|
'--deadline-after[Filter by deadline lower bound (ISO/date string or relative)]:date' \\
|
|
1997
|
+
'--today[Filter to items updated since local midnight today]' \\
|
|
1998
|
+
'--recent[Filter to items updated in the last 7 days]' \\
|
|
1997
1999
|
'--updated-after[Filter by updated_at lower bound (ISO/relative)]:timestamp' \\
|
|
1998
2000
|
'--updated-before[Filter by updated_at upper bound (ISO/relative)]:timestamp' \\
|
|
1999
2001
|
'--created-after[Filter by created_at lower bound (ISO/relative)]:timestamp' \\
|
|
@@ -2496,6 +2498,7 @@ ${zshSearchRuntimeFieldFlags} '--json[Output JSON]' \\
|
|
|
2496
2498
|
_arguments \\
|
|
2497
2499
|
'--action[Filter schema by tool action]:action' \\
|
|
2498
2500
|
'--command[Scope output to one command (narrow-by-default)]:command' \\
|
|
2501
|
+
'--summary[Return compact command intent summary]' \\
|
|
2499
2502
|
'--schema-only[Return schema-only payload]' \\
|
|
2500
2503
|
'--flags-only[Return command flag contracts only]' \\
|
|
2501
2504
|
'--availability-only[Return action availability only]' \\
|
|
@@ -2807,6 +2810,8 @@ ${zshSearchRuntimeFieldFlags} '--json[Output JSON]' \\
|
|
|
2807
2810
|
'--trace[Include registration traces in doctor deep diagnostics]' \\
|
|
2808
2811
|
'--runtime-probe[Opt-in runtime activation probe for manage output]' \\
|
|
2809
2812
|
'--fix-managed-state[Adopt unmanaged extensions before diagnostics/update checks]' \\
|
|
2813
|
+
'--isolated[Run doctor against project-scope extensions only]' \\
|
|
2814
|
+
'--ignore-global[Alias for --isolated]' \\
|
|
2810
2815
|
'--strict-exit[Return non-zero exit when doctor warnings are present]' \\
|
|
2811
2816
|
'--fail-on-warn[Alias for --strict-exit (doctor)]' \\
|
|
2812
2817
|
'--json[Output JSON]' \\
|
|
@@ -2845,6 +2850,8 @@ ${zshSearchRuntimeFieldFlags} '--json[Output JSON]' \\
|
|
|
2845
2850
|
'--trace[Include registration traces in doctor deep diagnostics]' \\
|
|
2846
2851
|
'--runtime-probe[Opt-in runtime activation probe for manage output]' \\
|
|
2847
2852
|
'--fix-managed-state[Adopt unmanaged packages before diagnostics/update checks]' \\
|
|
2853
|
+
'--isolated[Run doctor against project-scope packages only]' \\
|
|
2854
|
+
'--ignore-global[Alias for --isolated]' \\
|
|
2848
2855
|
'--strict-exit[Return non-zero exit when doctor warnings are present]' \\
|
|
2849
2856
|
'--fail-on-warn[Alias for --strict-exit (doctor)]' \\
|
|
2850
2857
|
'--json[Output JSON]' \\
|
|
@@ -2967,6 +2974,8 @@ for list_cmd in ${listCmds}
|
|
|
2967
2974
|
complete -c pm -n "__fish_seen_subcommand_from $list_cmd" -l stream -d 'Emit line-delimited JSON rows (requires --json)'
|
|
2968
2975
|
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
|
|
2969
2976
|
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
|
|
2977
|
+
complete -c pm -n "__fish_seen_subcommand_from $list_cmd" -l today -d 'Filter to items updated since local midnight today'
|
|
2978
|
+
complete -c pm -n "__fish_seen_subcommand_from $list_cmd" -l recent -d 'Filter to items updated in the last 7 days'
|
|
2970
2979
|
complete -c pm -n "__fish_seen_subcommand_from $list_cmd" -l updated-after -d 'Filter by updated_at lower bound (ISO/relative)' -r
|
|
2971
2980
|
complete -c pm -n "__fish_seen_subcommand_from $list_cmd" -l updated-before -d 'Filter by updated_at upper bound (ISO/relative)' -r
|
|
2972
2981
|
complete -c pm -n "__fish_seen_subcommand_from $list_cmd" -l created-after -d 'Filter by created_at lower bound (ISO/relative)' -r
|
|
@@ -3461,6 +3470,7 @@ complete -c pm -n '__fish_seen_subcommand_from activity' -l full -d 'Show full a
|
|
|
3461
3470
|
complete -c pm -n '__fish_seen_subcommand_from activity' -l stream -d 'Emit line-delimited JSON rows'
|
|
3462
3471
|
complete -c pm -n '__fish_seen_subcommand_from contracts' -l action -d 'Filter schema by tool action' -r
|
|
3463
3472
|
complete -c pm -n '__fish_seen_subcommand_from contracts' -l command -d 'Scope output to one command (narrow-by-default)' -r
|
|
3473
|
+
complete -c pm -n '__fish_seen_subcommand_from contracts' -l summary -d 'Return compact command intent summary'
|
|
3464
3474
|
complete -c pm -n '__fish_seen_subcommand_from contracts' -l schema-only -d 'Return schema-only payload'
|
|
3465
3475
|
complete -c pm -n '__fish_seen_subcommand_from contracts' -l flags-only -d 'Return command flag contracts only'
|
|
3466
3476
|
complete -c pm -n '__fish_seen_subcommand_from contracts' -l availability-only -d 'Return action availability only'
|
|
@@ -3743,6 +3753,8 @@ complete -c pm -n '__fish_seen_subcommand_from extension' -l detail -d 'Detail m
|
|
|
3743
3753
|
complete -c pm -n '__fish_seen_subcommand_from extension' -l trace -d 'Include registration traces in doctor deep diagnostics'
|
|
3744
3754
|
complete -c pm -n '__fish_seen_subcommand_from extension' -l runtime-probe -d 'Opt-in runtime activation probe for manage output'
|
|
3745
3755
|
complete -c pm -n '__fish_seen_subcommand_from extension' -l fix-managed-state -d 'Adopt unmanaged extensions before diagnostics/update checks'
|
|
3756
|
+
complete -c pm -n '__fish_seen_subcommand_from extension' -l isolated -d 'Run doctor against project-scope extensions only'
|
|
3757
|
+
complete -c pm -n '__fish_seen_subcommand_from extension' -l ignore-global -d 'Alias for --isolated'
|
|
3746
3758
|
complete -c pm -n '__fish_seen_subcommand_from extension' -l strict-exit -d 'Return non-zero exit when doctor warnings are present'
|
|
3747
3759
|
complete -c pm -n '__fish_seen_subcommand_from extension' -l fail-on-warn -d 'Alias for --strict-exit (doctor)'
|
|
3748
3760
|
|
|
@@ -3778,6 +3790,8 @@ for package_cmd in package packages
|
|
|
3778
3790
|
complete -c pm -n "__fish_seen_subcommand_from $package_cmd" -l trace -d 'Include registration traces in doctor deep diagnostics'
|
|
3779
3791
|
complete -c pm -n "__fish_seen_subcommand_from $package_cmd" -l runtime-probe -d 'Opt-in runtime activation probe for manage output'
|
|
3780
3792
|
complete -c pm -n "__fish_seen_subcommand_from $package_cmd" -l fix-managed-state -d 'Adopt unmanaged packages before diagnostics/update checks'
|
|
3793
|
+
complete -c pm -n "__fish_seen_subcommand_from $package_cmd" -l isolated -d 'Run doctor against project-scope packages only'
|
|
3794
|
+
complete -c pm -n "__fish_seen_subcommand_from $package_cmd" -l ignore-global -d 'Alias for --isolated'
|
|
3781
3795
|
complete -c pm -n "__fish_seen_subcommand_from $package_cmd" -l strict-exit -d 'Return non-zero exit when doctor warnings are present'
|
|
3782
3796
|
complete -c pm -n "__fish_seen_subcommand_from $package_cmd" -l fail-on-warn -d 'Alias for --strict-exit (doctor)'
|
|
3783
3797
|
end`;
|
|
@@ -3940,7 +3954,7 @@ function resolveCommentsAuditLimits(options) {
|
|
|
3940
3954
|
};
|
|
3941
3955
|
}
|
|
3942
3956
|
function toCommentsAuditEntry(item, latest) {
|
|
3943
|
-
const
|
|
3957
|
+
const comments2 = item.comments ?? [];
|
|
3944
3958
|
return {
|
|
3945
3959
|
id: item.id,
|
|
3946
3960
|
title: item.title,
|
|
@@ -3948,8 +3962,8 @@ function toCommentsAuditEntry(item, latest) {
|
|
|
3948
3962
|
status: item.status,
|
|
3949
3963
|
assignee: item.assignee ?? null,
|
|
3950
3964
|
updated_at: item.updated_at,
|
|
3951
|
-
comment_count:
|
|
3952
|
-
comments: latest === void 0 ?
|
|
3965
|
+
comment_count: comments2.length,
|
|
3966
|
+
comments: latest === void 0 ? comments2 : limitComments(comments2, latest)
|
|
3953
3967
|
};
|
|
3954
3968
|
}
|
|
3955
3969
|
function buildCommentsAuditFilters(options, status, limitItems, latest, fullHistory) {
|
|
@@ -4812,15 +4826,15 @@ function parseMode2(raw) {
|
|
|
4812
4826
|
}
|
|
4813
4827
|
throw new PmCliError("Reindex mode must be one of keyword|semantic|hybrid", EXIT_CODE.USAGE);
|
|
4814
4828
|
}
|
|
4815
|
-
async function loadDocumentCandidates(pmRoot, itemFormat, typeToFolder,
|
|
4829
|
+
async function loadDocumentCandidates(pmRoot, itemFormat, typeToFolder, schema2) {
|
|
4816
4830
|
const warnings = [];
|
|
4817
|
-
const candidates = await listAllDocumentCandidatesCached(pmRoot, itemFormat, typeToFolder, warnings,
|
|
4831
|
+
const candidates = await listAllDocumentCandidatesCached(pmRoot, itemFormat, typeToFolder, warnings, schema2);
|
|
4818
4832
|
return {
|
|
4819
4833
|
candidates,
|
|
4820
4834
|
warnings
|
|
4821
4835
|
};
|
|
4822
4836
|
}
|
|
4823
|
-
async function hydrateDocuments(pmRoot, candidates,
|
|
4837
|
+
async function hydrateDocuments(pmRoot, candidates, schema2, warnings, itemIds) {
|
|
4824
4838
|
const extensionFieldNames = collectRegisteredItemFieldNames(getActiveExtensionRegistrations());
|
|
4825
4839
|
const hydrated = [];
|
|
4826
4840
|
for (const candidate of candidates) {
|
|
@@ -4838,7 +4852,7 @@ async function hydrateDocuments(pmRoot, candidates, schema, warnings, itemIds) {
|
|
|
4838
4852
|
const raw = await fs.readFile(candidate.item_path, "utf8");
|
|
4839
4853
|
const parsed = parseItemDocument(raw, {
|
|
4840
4854
|
format: candidate.item_format,
|
|
4841
|
-
schema,
|
|
4855
|
+
schema: schema2,
|
|
4842
4856
|
extensionFieldNames,
|
|
4843
4857
|
onWarning: (warning) => warnings.push(warning)
|
|
4844
4858
|
});
|
|
@@ -5450,13 +5464,8 @@ async function runReindex(options, global) {
|
|
|
5450
5464
|
}
|
|
5451
5465
|
|
|
5452
5466
|
// dist/sdk/runtime.js
|
|
5453
|
-
function
|
|
5454
|
-
|
|
5455
|
-
return {
|
|
5456
|
-
...fullChangedFields === void 0 ? {} : { fullChangedFields },
|
|
5457
|
-
...idOnly === void 0 ? {} : { idOnly },
|
|
5458
|
-
options: runnerOptions
|
|
5459
|
-
};
|
|
5467
|
+
function splitFullClientMutationOptions(options) {
|
|
5468
|
+
return { fullChangedFields: true, options };
|
|
5460
5469
|
}
|
|
5461
5470
|
var PmClient = class {
|
|
5462
5471
|
defaults;
|
|
@@ -5522,83 +5531,378 @@ var PmClient = class {
|
|
|
5522
5531
|
stats(options = {}) {
|
|
5523
5532
|
return this.runTyped("stats", { options });
|
|
5524
5533
|
}
|
|
5534
|
+
/**
|
|
5535
|
+
* List, add, edit, or delete item comments.
|
|
5536
|
+
*/
|
|
5537
|
+
comments(id, options = {}) {
|
|
5538
|
+
return this.runTyped("comments", { id, options });
|
|
5539
|
+
}
|
|
5540
|
+
/**
|
|
5541
|
+
* List or append private item notes.
|
|
5542
|
+
*/
|
|
5543
|
+
notes(id, options = {}) {
|
|
5544
|
+
return this.runTyped("notes", { id, options });
|
|
5545
|
+
}
|
|
5546
|
+
/**
|
|
5547
|
+
* List or append durable item learnings.
|
|
5548
|
+
*/
|
|
5549
|
+
learnings(id, options = {}) {
|
|
5550
|
+
return this.runTyped("learnings", { id, options });
|
|
5551
|
+
}
|
|
5552
|
+
/**
|
|
5553
|
+
* Add, remove, clear, or list linked project files for an item.
|
|
5554
|
+
*/
|
|
5555
|
+
files(id, options = {}) {
|
|
5556
|
+
return this.runTyped("files", { id, options });
|
|
5557
|
+
}
|
|
5558
|
+
/**
|
|
5559
|
+
* Discover and optionally attach changed files for an item.
|
|
5560
|
+
*/
|
|
5561
|
+
filesDiscover(id, options = {}) {
|
|
5562
|
+
return this.runTyped("files-discover", { id, options });
|
|
5563
|
+
}
|
|
5564
|
+
/**
|
|
5565
|
+
* Add, remove, clear, or list linked documentation for an item.
|
|
5566
|
+
*/
|
|
5567
|
+
docs(id, options = {}) {
|
|
5568
|
+
return this.runTyped("docs", { id, options });
|
|
5569
|
+
}
|
|
5570
|
+
/**
|
|
5571
|
+
* Inspect item dependency relationships.
|
|
5572
|
+
*/
|
|
5573
|
+
deps(id, options = {}) {
|
|
5574
|
+
return this.runTyped("deps", { id, options });
|
|
5575
|
+
}
|
|
5576
|
+
/**
|
|
5577
|
+
* Append markdown/body text to an item through the mutation pipeline.
|
|
5578
|
+
*/
|
|
5579
|
+
append(id, body, options = {}) {
|
|
5580
|
+
return this.runTyped("append", { id, ...splitFullClientMutationOptions({ ...options, body }) });
|
|
5581
|
+
}
|
|
5582
|
+
/**
|
|
5583
|
+
* Initialize a workspace with the same semantics as `pm init`.
|
|
5584
|
+
*/
|
|
5585
|
+
init(prefix, options = {}) {
|
|
5586
|
+
return this.runTyped("init", { ...prefix === void 0 ? {} : { prefix }, options });
|
|
5587
|
+
}
|
|
5588
|
+
/**
|
|
5589
|
+
* Read or update project/global configuration.
|
|
5590
|
+
*/
|
|
5591
|
+
config(scope, configAction, key, value, options = {}) {
|
|
5592
|
+
return this.runTyped("config", {
|
|
5593
|
+
scope,
|
|
5594
|
+
configAction,
|
|
5595
|
+
...key === void 0 ? {} : { key },
|
|
5596
|
+
...value === void 0 ? {} : { value },
|
|
5597
|
+
options
|
|
5598
|
+
});
|
|
5599
|
+
}
|
|
5600
|
+
/**
|
|
5601
|
+
* Run the schema customization surface.
|
|
5602
|
+
*/
|
|
5603
|
+
schema(subcommand, options = {}) {
|
|
5604
|
+
return this.runTyped("schema", { options: { ...options, subcommand } });
|
|
5605
|
+
}
|
|
5606
|
+
/**
|
|
5607
|
+
* List built-in, custom, and extension-provided schema types/statuses.
|
|
5608
|
+
*/
|
|
5609
|
+
schemaList() {
|
|
5610
|
+
return this.runTyped("schema", { options: { subcommand: "list" } });
|
|
5611
|
+
}
|
|
5612
|
+
/**
|
|
5613
|
+
* Show a schema item type definition.
|
|
5614
|
+
*/
|
|
5615
|
+
schemaShow(name) {
|
|
5616
|
+
return this.runTyped("schema", { name, options: { subcommand: "show" } });
|
|
5617
|
+
}
|
|
5618
|
+
/**
|
|
5619
|
+
* Register or replace a custom item type.
|
|
5620
|
+
*/
|
|
5621
|
+
schemaAddType(name, options = {}) {
|
|
5622
|
+
return this.runTyped("schema", { name, options: { ...options, subcommand: "add-type" } });
|
|
5623
|
+
}
|
|
5624
|
+
/**
|
|
5625
|
+
* Remove a custom item type.
|
|
5626
|
+
*/
|
|
5627
|
+
schemaRemoveType(name, options = {}) {
|
|
5628
|
+
return this.runTyped("schema", { name, options: { ...options, subcommand: "remove-type" } });
|
|
5629
|
+
}
|
|
5630
|
+
/**
|
|
5631
|
+
* Register or replace a custom status.
|
|
5632
|
+
*/
|
|
5633
|
+
schemaAddStatus(name, options = {}) {
|
|
5634
|
+
return this.runTyped("schema", { name, options: { ...options, subcommand: "add-status" } });
|
|
5635
|
+
}
|
|
5636
|
+
/**
|
|
5637
|
+
* Remove a custom status.
|
|
5638
|
+
*/
|
|
5639
|
+
schemaRemoveStatus(name, options = {}) {
|
|
5640
|
+
return this.runTyped("schema", { name, options: { ...options, subcommand: "remove-status" } });
|
|
5641
|
+
}
|
|
5642
|
+
/**
|
|
5643
|
+
* Register or replace a runtime custom field.
|
|
5644
|
+
*/
|
|
5645
|
+
schemaAddField(name, options = {}) {
|
|
5646
|
+
return this.runTyped("schema", { name, options: { ...options, subcommand: "add-field" } });
|
|
5647
|
+
}
|
|
5648
|
+
/**
|
|
5649
|
+
* Remove a runtime custom field.
|
|
5650
|
+
*/
|
|
5651
|
+
schemaRemoveField(name, options = {}) {
|
|
5652
|
+
return this.runTyped("schema", { name, options: { ...options, subcommand: "remove-field" } });
|
|
5653
|
+
}
|
|
5654
|
+
/**
|
|
5655
|
+
* List runtime custom fields.
|
|
5656
|
+
*/
|
|
5657
|
+
schemaListFields() {
|
|
5658
|
+
return this.runTyped("schema", { options: { subcommand: "list-fields" } });
|
|
5659
|
+
}
|
|
5660
|
+
/**
|
|
5661
|
+
* Show one runtime custom field definition.
|
|
5662
|
+
*/
|
|
5663
|
+
schemaShowField(name) {
|
|
5664
|
+
return this.runTyped("schema", { name, options: { subcommand: "show-field" } });
|
|
5665
|
+
}
|
|
5666
|
+
/**
|
|
5667
|
+
* Apply a built-in type preset to the workspace schema.
|
|
5668
|
+
*/
|
|
5669
|
+
schemaApplyPreset(typePreset, options = {}) {
|
|
5670
|
+
return this.runTyped("schema", { typePreset, options: { ...options, subcommand: "apply-preset" } });
|
|
5671
|
+
}
|
|
5672
|
+
/**
|
|
5673
|
+
* Infer item types from the current tracker and optionally apply them.
|
|
5674
|
+
*/
|
|
5675
|
+
schemaInferTypes(options = {}) {
|
|
5676
|
+
return this.runTyped("schema", { options: { ...options, subcommand: "add-type", infer: true } });
|
|
5677
|
+
}
|
|
5678
|
+
/**
|
|
5679
|
+
* Show one runtime status definition.
|
|
5680
|
+
*/
|
|
5681
|
+
schemaShowStatus(name) {
|
|
5682
|
+
return this.runTyped("schema", { name, options: { subcommand: "show-status" } });
|
|
5683
|
+
}
|
|
5684
|
+
/**
|
|
5685
|
+
* Run the profile customization surface.
|
|
5686
|
+
*/
|
|
5687
|
+
profile(subcommand, options = {}) {
|
|
5688
|
+
return this.runTyped("profile", { options: { ...options, subcommand } });
|
|
5689
|
+
}
|
|
5690
|
+
/**
|
|
5691
|
+
* List available project profiles.
|
|
5692
|
+
*/
|
|
5693
|
+
profileList() {
|
|
5694
|
+
return this.runTyped("profile", { options: { subcommand: "list" } });
|
|
5695
|
+
}
|
|
5696
|
+
/**
|
|
5697
|
+
* Show a project profile.
|
|
5698
|
+
*/
|
|
5699
|
+
profileShow(name) {
|
|
5700
|
+
return this.runTyped("profile", { name, options: { subcommand: "show" } });
|
|
5701
|
+
}
|
|
5702
|
+
/**
|
|
5703
|
+
* Apply a project profile.
|
|
5704
|
+
*/
|
|
5705
|
+
profileApply(name, options = {}) {
|
|
5706
|
+
return this.runTyped("profile", { name, options: { ...options, subcommand: "apply" } });
|
|
5707
|
+
}
|
|
5708
|
+
/**
|
|
5709
|
+
* Lint a project profile.
|
|
5710
|
+
*/
|
|
5711
|
+
profileLint(name) {
|
|
5712
|
+
return this.runTyped("profile", { name, options: { subcommand: "lint" } });
|
|
5713
|
+
}
|
|
5714
|
+
/**
|
|
5715
|
+
* Run project validation checks.
|
|
5716
|
+
*/
|
|
5717
|
+
validate(options = {}) {
|
|
5718
|
+
return this.runTyped("validate", { options });
|
|
5719
|
+
}
|
|
5720
|
+
/**
|
|
5721
|
+
* Run project health checks.
|
|
5722
|
+
*/
|
|
5723
|
+
health(options = {}) {
|
|
5724
|
+
return this.runTyped("health", { options });
|
|
5725
|
+
}
|
|
5726
|
+
/**
|
|
5727
|
+
* Run tracker cache/runtime garbage collection.
|
|
5728
|
+
*/
|
|
5729
|
+
gc(options = {}) {
|
|
5730
|
+
return this.runTyped("gc", { options });
|
|
5731
|
+
}
|
|
5525
5732
|
/**
|
|
5526
5733
|
* Create an item using the same mutation path as `pm create`.
|
|
5527
5734
|
*/
|
|
5528
5735
|
create(options = {}) {
|
|
5529
|
-
return this.
|
|
5736
|
+
return this.runTyped("create", splitFullClientMutationOptions(options));
|
|
5530
5737
|
}
|
|
5531
5738
|
/**
|
|
5532
5739
|
* Update an item using the same mutation path as `pm update`.
|
|
5533
5740
|
*/
|
|
5534
5741
|
update(id, options = {}) {
|
|
5535
|
-
return this.
|
|
5742
|
+
return this.runTyped("update", { id, ...splitFullClientMutationOptions(options) });
|
|
5536
5743
|
}
|
|
5537
5744
|
/**
|
|
5538
5745
|
* Close an item using the same mutation path as `pm close`.
|
|
5539
5746
|
*/
|
|
5540
5747
|
close(id, reason, options = {}) {
|
|
5541
|
-
return this.
|
|
5748
|
+
return this.runTyped("close", { id, reason, ...splitFullClientMutationOptions(options) });
|
|
5542
5749
|
}
|
|
5543
5750
|
/**
|
|
5544
5751
|
* Claim an item using the same mutation path as `pm claim`.
|
|
5545
5752
|
*/
|
|
5546
5753
|
claim(id, options = {}) {
|
|
5547
|
-
return this.
|
|
5754
|
+
return this.runTyped("claim", { id, ...splitFullClientMutationOptions(options) });
|
|
5548
5755
|
}
|
|
5549
5756
|
/**
|
|
5550
5757
|
* Release an item's active claim using the same mutation path as `pm release`.
|
|
5551
5758
|
*/
|
|
5552
5759
|
release(id, options = {}) {
|
|
5553
|
-
return this.
|
|
5760
|
+
return this.runTyped("release", { id, ...splitFullClientMutationOptions(options) });
|
|
5554
5761
|
}
|
|
5555
5762
|
/**
|
|
5556
5763
|
* Copy an item using the same mutation path as `pm copy`.
|
|
5557
5764
|
*/
|
|
5558
5765
|
copy(id, options = {}) {
|
|
5559
|
-
return this.
|
|
5766
|
+
return this.runTyped("copy", { id, ...splitFullClientMutationOptions(options) });
|
|
5560
5767
|
}
|
|
5561
5768
|
/**
|
|
5562
5769
|
* Delete an item using the same mutation path as `pm delete`.
|
|
5563
5770
|
*/
|
|
5564
5771
|
delete(id, options = {}) {
|
|
5565
|
-
return this.
|
|
5772
|
+
return this.runTyped("delete", { id, ...splitFullClientMutationOptions(options) });
|
|
5566
5773
|
}
|
|
5567
5774
|
/**
|
|
5568
5775
|
* Restore an item to a history version or timestamp using `pm restore`.
|
|
5569
5776
|
*/
|
|
5570
5777
|
restore(id, target, options = {}) {
|
|
5571
|
-
|
|
5572
|
-
|
|
5573
|
-
...fullChangedFields === void 0 ? {} : { fullChangedFields },
|
|
5574
|
-
...idOnly === void 0 ? {} : { idOnly },
|
|
5778
|
+
return this.runTyped("restore", {
|
|
5779
|
+
fullChangedFields: true,
|
|
5575
5780
|
id,
|
|
5576
|
-
options: { ...
|
|
5781
|
+
options: { ...options, target }
|
|
5577
5782
|
});
|
|
5578
5783
|
}
|
|
5579
5784
|
/**
|
|
5580
5785
|
* Set, clear, or read workspace focus using the same path as `pm focus`.
|
|
5581
5786
|
*/
|
|
5582
5787
|
focus(id, options = {}) {
|
|
5583
|
-
return this.
|
|
5788
|
+
return this.runTyped("focus", { ...id === void 0 ? {} : { id }, ...splitFullClientMutationOptions(options) });
|
|
5584
5789
|
}
|
|
5585
5790
|
/**
|
|
5586
5791
|
* Claim an item and transition it to the workspace in-progress status.
|
|
5587
5792
|
*/
|
|
5588
5793
|
startTask(id, options = {}) {
|
|
5589
|
-
return this.
|
|
5794
|
+
return this.runTyped("start-task", { id, ...splitFullClientMutationOptions(options) });
|
|
5590
5795
|
}
|
|
5591
5796
|
/**
|
|
5592
5797
|
* Move an item back to the workspace open status and release the claim.
|
|
5593
5798
|
*/
|
|
5594
5799
|
pauseTask(id, options = {}) {
|
|
5595
|
-
return this.
|
|
5800
|
+
return this.runTyped("pause-task", { id, ...splitFullClientMutationOptions(options) });
|
|
5596
5801
|
}
|
|
5597
5802
|
/**
|
|
5598
5803
|
* Close an item and release its active assignment.
|
|
5599
5804
|
*/
|
|
5600
5805
|
closeTask(id, reason, options = {}) {
|
|
5601
|
-
return this.
|
|
5806
|
+
return this.runTyped("close-task", { id, reason, ...splitFullClientMutationOptions(options) });
|
|
5807
|
+
}
|
|
5808
|
+
/**
|
|
5809
|
+
* Run the extension lifecycle surface with the same result shape as `pm extension`.
|
|
5810
|
+
*/
|
|
5811
|
+
extension(target, options = {}) {
|
|
5812
|
+
return this.runTyped("extension", { ...target === void 0 ? {} : { target }, options });
|
|
5813
|
+
}
|
|
5814
|
+
/**
|
|
5815
|
+
* List project or global extensions without constructing command-line argv.
|
|
5816
|
+
*/
|
|
5817
|
+
extensionList(options = {}) {
|
|
5818
|
+
return this.extension("list", options);
|
|
5819
|
+
}
|
|
5820
|
+
/**
|
|
5821
|
+
* Enable an installed extension using the same action as `pm extension activate`.
|
|
5822
|
+
*/
|
|
5823
|
+
extensionActivate(target, options = {}) {
|
|
5824
|
+
return this.runTyped("extension-activate", { target, options });
|
|
5825
|
+
}
|
|
5826
|
+
/**
|
|
5827
|
+
* Disable an installed extension using the same action as `pm extension deactivate`.
|
|
5828
|
+
*/
|
|
5829
|
+
extensionDeactivate(target, options = {}) {
|
|
5830
|
+
return this.runTyped("extension-deactivate", { target, options });
|
|
5831
|
+
}
|
|
5832
|
+
/**
|
|
5833
|
+
* Run the package lifecycle surface with package vocabulary preserved.
|
|
5834
|
+
*/
|
|
5835
|
+
package(target, options = {}) {
|
|
5836
|
+
return this.runTyped("package", {
|
|
5837
|
+
...target === void 0 ? {} : { target },
|
|
5838
|
+
options: { ...options, vocabulary: "package" }
|
|
5839
|
+
});
|
|
5840
|
+
}
|
|
5841
|
+
/**
|
|
5842
|
+
* List project or global packages through the package lifecycle primitive.
|
|
5843
|
+
*/
|
|
5844
|
+
packageList(options = {}) {
|
|
5845
|
+
return this.package("list", options);
|
|
5846
|
+
}
|
|
5847
|
+
/**
|
|
5848
|
+
* Install a package or extension source using the same action as `pm package install`.
|
|
5849
|
+
*/
|
|
5850
|
+
packageInstall(target, options = {}) {
|
|
5851
|
+
return this.runTyped("package-install", { target, options });
|
|
5852
|
+
}
|
|
5853
|
+
/**
|
|
5854
|
+
* Uninstall a package or extension using the same action as `pm package uninstall`.
|
|
5855
|
+
*/
|
|
5856
|
+
packageUninstall(target, options = {}) {
|
|
5857
|
+
return this.runTyped("package-uninstall", { target, options });
|
|
5858
|
+
}
|
|
5859
|
+
/**
|
|
5860
|
+
* Read package lifecycle diagnostics using the same action as `pm package doctor`.
|
|
5861
|
+
*/
|
|
5862
|
+
packageDoctor(options = {}) {
|
|
5863
|
+
return this.runTyped("package-doctor", { options });
|
|
5864
|
+
}
|
|
5865
|
+
/**
|
|
5866
|
+
* Inspect managed package state using the same action as `pm package manage`.
|
|
5867
|
+
*/
|
|
5868
|
+
packageManage(target, options = {}) {
|
|
5869
|
+
return this.runTyped("package-manage", { ...target === void 0 ? {} : { target }, options });
|
|
5870
|
+
}
|
|
5871
|
+
/**
|
|
5872
|
+
* Describe installed package surfaces using the same action as `pm package describe`.
|
|
5873
|
+
*/
|
|
5874
|
+
packageDescribe(target, options = {}) {
|
|
5875
|
+
return this.runTyped("package-describe", { ...target === void 0 ? {} : { target }, options });
|
|
5876
|
+
}
|
|
5877
|
+
/**
|
|
5878
|
+
* Reload installed package extensions using the same action as `pm package reload`.
|
|
5879
|
+
*/
|
|
5880
|
+
packageReload(options = {}) {
|
|
5881
|
+
return this.runTyped("package-reload", { options });
|
|
5882
|
+
}
|
|
5883
|
+
/**
|
|
5884
|
+
* Read bundled package catalog metadata using the same action as `pm package catalog`.
|
|
5885
|
+
*/
|
|
5886
|
+
packageCatalog(options = {}) {
|
|
5887
|
+
return this.runTyped("package-catalog", { options });
|
|
5888
|
+
}
|
|
5889
|
+
/**
|
|
5890
|
+
* Enable an installed package using the same action as `pm package activate`.
|
|
5891
|
+
*/
|
|
5892
|
+
packageActivate(target, options = {}) {
|
|
5893
|
+
return this.runTyped("package-activate", { target, options });
|
|
5894
|
+
}
|
|
5895
|
+
/**
|
|
5896
|
+
* Disable an installed package using the same action as `pm package deactivate`.
|
|
5897
|
+
*/
|
|
5898
|
+
packageDeactivate(target, options = {}) {
|
|
5899
|
+
return this.runTyped("package-deactivate", { target, options });
|
|
5900
|
+
}
|
|
5901
|
+
/**
|
|
5902
|
+
* Upgrade the pm CLI and/or managed packages through the public SDK dispatcher.
|
|
5903
|
+
*/
|
|
5904
|
+
upgrade(target, options = {}) {
|
|
5905
|
+
return this.runTyped("upgrade", { ...target === void 0 ? {} : { target }, options });
|
|
5602
5906
|
}
|
|
5603
5907
|
};
|
|
5604
5908
|
function context(options = {}, clientOptions = {}) {
|
|
@@ -5622,6 +5926,102 @@ function aggregate(options = {}, clientOptions = {}) {
|
|
|
5622
5926
|
function stats(options = {}, clientOptions = {}) {
|
|
5623
5927
|
return new PmClient(clientOptions).stats(options);
|
|
5624
5928
|
}
|
|
5929
|
+
function comments(id, options = {}, clientOptions = {}) {
|
|
5930
|
+
return new PmClient(clientOptions).comments(id, options);
|
|
5931
|
+
}
|
|
5932
|
+
function notes(id, options = {}, clientOptions = {}) {
|
|
5933
|
+
return new PmClient(clientOptions).notes(id, options);
|
|
5934
|
+
}
|
|
5935
|
+
function learnings(id, options = {}, clientOptions = {}) {
|
|
5936
|
+
return new PmClient(clientOptions).learnings(id, options);
|
|
5937
|
+
}
|
|
5938
|
+
function files(id, options = {}, clientOptions = {}) {
|
|
5939
|
+
return new PmClient(clientOptions).files(id, options);
|
|
5940
|
+
}
|
|
5941
|
+
function filesDiscover(id, options = {}, clientOptions = {}) {
|
|
5942
|
+
return new PmClient(clientOptions).filesDiscover(id, options);
|
|
5943
|
+
}
|
|
5944
|
+
function docs(id, options = {}, clientOptions = {}) {
|
|
5945
|
+
return new PmClient(clientOptions).docs(id, options);
|
|
5946
|
+
}
|
|
5947
|
+
function deps(id, options = {}, clientOptions = {}) {
|
|
5948
|
+
return new PmClient(clientOptions).deps(id, options);
|
|
5949
|
+
}
|
|
5950
|
+
function append(id, body, options = {}, clientOptions = {}) {
|
|
5951
|
+
return new PmClient(clientOptions).append(id, body, options);
|
|
5952
|
+
}
|
|
5953
|
+
function init(prefix, options = {}, clientOptions = {}) {
|
|
5954
|
+
return new PmClient(clientOptions).init(prefix, options);
|
|
5955
|
+
}
|
|
5956
|
+
function config(scope, configAction, key, value, options = {}, clientOptions = {}) {
|
|
5957
|
+
return new PmClient(clientOptions).config(scope, configAction, key, value, options);
|
|
5958
|
+
}
|
|
5959
|
+
function schema(subcommand, options = {}, clientOptions = {}) {
|
|
5960
|
+
return new PmClient(clientOptions).schema(subcommand, options);
|
|
5961
|
+
}
|
|
5962
|
+
function schemaList(clientOptions = {}) {
|
|
5963
|
+
return new PmClient(clientOptions).schemaList();
|
|
5964
|
+
}
|
|
5965
|
+
function schemaShow(name, clientOptions = {}) {
|
|
5966
|
+
return new PmClient(clientOptions).schemaShow(name);
|
|
5967
|
+
}
|
|
5968
|
+
function schemaAddType(name, options = {}, clientOptions = {}) {
|
|
5969
|
+
return new PmClient(clientOptions).schemaAddType(name, options);
|
|
5970
|
+
}
|
|
5971
|
+
function schemaRemoveType(name, options = {}, clientOptions = {}) {
|
|
5972
|
+
return new PmClient(clientOptions).schemaRemoveType(name, options);
|
|
5973
|
+
}
|
|
5974
|
+
function schemaAddStatus(name, options = {}, clientOptions = {}) {
|
|
5975
|
+
return new PmClient(clientOptions).schemaAddStatus(name, options);
|
|
5976
|
+
}
|
|
5977
|
+
function schemaRemoveStatus(name, options = {}, clientOptions = {}) {
|
|
5978
|
+
return new PmClient(clientOptions).schemaRemoveStatus(name, options);
|
|
5979
|
+
}
|
|
5980
|
+
function schemaAddField(name, options = {}, clientOptions = {}) {
|
|
5981
|
+
return new PmClient(clientOptions).schemaAddField(name, options);
|
|
5982
|
+
}
|
|
5983
|
+
function schemaRemoveField(name, options = {}, clientOptions = {}) {
|
|
5984
|
+
return new PmClient(clientOptions).schemaRemoveField(name, options);
|
|
5985
|
+
}
|
|
5986
|
+
function schemaListFields(clientOptions = {}) {
|
|
5987
|
+
return new PmClient(clientOptions).schemaListFields();
|
|
5988
|
+
}
|
|
5989
|
+
function schemaShowField(name, clientOptions = {}) {
|
|
5990
|
+
return new PmClient(clientOptions).schemaShowField(name);
|
|
5991
|
+
}
|
|
5992
|
+
function schemaApplyPreset(typePreset, options = {}, clientOptions = {}) {
|
|
5993
|
+
return new PmClient(clientOptions).schemaApplyPreset(typePreset, options);
|
|
5994
|
+
}
|
|
5995
|
+
function schemaInferTypes(options = {}, clientOptions = {}) {
|
|
5996
|
+
return new PmClient(clientOptions).schemaInferTypes(options);
|
|
5997
|
+
}
|
|
5998
|
+
function schemaShowStatus(name, clientOptions = {}) {
|
|
5999
|
+
return new PmClient(clientOptions).schemaShowStatus(name);
|
|
6000
|
+
}
|
|
6001
|
+
function profile(subcommand, options = {}, clientOptions = {}) {
|
|
6002
|
+
return new PmClient(clientOptions).profile(subcommand, options);
|
|
6003
|
+
}
|
|
6004
|
+
function profileList(clientOptions = {}) {
|
|
6005
|
+
return new PmClient(clientOptions).profileList();
|
|
6006
|
+
}
|
|
6007
|
+
function profileShow(name, clientOptions = {}) {
|
|
6008
|
+
return new PmClient(clientOptions).profileShow(name);
|
|
6009
|
+
}
|
|
6010
|
+
function profileApply(name, options = {}, clientOptions = {}) {
|
|
6011
|
+
return new PmClient(clientOptions).profileApply(name, options);
|
|
6012
|
+
}
|
|
6013
|
+
function profileLint(name, clientOptions = {}) {
|
|
6014
|
+
return new PmClient(clientOptions).profileLint(name);
|
|
6015
|
+
}
|
|
6016
|
+
function validate(options = {}, clientOptions = {}) {
|
|
6017
|
+
return new PmClient(clientOptions).validate(options);
|
|
6018
|
+
}
|
|
6019
|
+
function health(options = {}, clientOptions = {}) {
|
|
6020
|
+
return new PmClient(clientOptions).health(options);
|
|
6021
|
+
}
|
|
6022
|
+
function gc(options = {}, clientOptions = {}) {
|
|
6023
|
+
return new PmClient(clientOptions).gc(options);
|
|
6024
|
+
}
|
|
5625
6025
|
function create(options = {}, clientOptions = {}) {
|
|
5626
6026
|
return new PmClient(clientOptions).create(options);
|
|
5627
6027
|
}
|
|
@@ -5658,6 +6058,54 @@ function pauseTask(id, options = {}, clientOptions = {}) {
|
|
|
5658
6058
|
function closeTask(id, reason, options = {}, clientOptions = {}) {
|
|
5659
6059
|
return new PmClient(clientOptions).closeTask(id, reason, options);
|
|
5660
6060
|
}
|
|
6061
|
+
function extension(target, options = {}, clientOptions = {}) {
|
|
6062
|
+
return new PmClient(clientOptions).extension(target, options);
|
|
6063
|
+
}
|
|
6064
|
+
function extensionList(options = {}, clientOptions = {}) {
|
|
6065
|
+
return new PmClient(clientOptions).extensionList(options);
|
|
6066
|
+
}
|
|
6067
|
+
function extensionActivate(target, options = {}, clientOptions = {}) {
|
|
6068
|
+
return new PmClient(clientOptions).extensionActivate(target, options);
|
|
6069
|
+
}
|
|
6070
|
+
function extensionDeactivate(target, options = {}, clientOptions = {}) {
|
|
6071
|
+
return new PmClient(clientOptions).extensionDeactivate(target, options);
|
|
6072
|
+
}
|
|
6073
|
+
function packageLifecycle(target, options = {}, clientOptions = {}) {
|
|
6074
|
+
return new PmClient(clientOptions).package(target, options);
|
|
6075
|
+
}
|
|
6076
|
+
function packageList(options = {}, clientOptions = {}) {
|
|
6077
|
+
return new PmClient(clientOptions).packageList(options);
|
|
6078
|
+
}
|
|
6079
|
+
function packageInstall(target, options = {}, clientOptions = {}) {
|
|
6080
|
+
return new PmClient(clientOptions).packageInstall(target, options);
|
|
6081
|
+
}
|
|
6082
|
+
function packageUninstall(target, options = {}, clientOptions = {}) {
|
|
6083
|
+
return new PmClient(clientOptions).packageUninstall(target, options);
|
|
6084
|
+
}
|
|
6085
|
+
function packageDoctor(options = {}, clientOptions = {}) {
|
|
6086
|
+
return new PmClient(clientOptions).packageDoctor(options);
|
|
6087
|
+
}
|
|
6088
|
+
function packageManage(target, options = {}, clientOptions = {}) {
|
|
6089
|
+
return new PmClient(clientOptions).packageManage(target, options);
|
|
6090
|
+
}
|
|
6091
|
+
function packageDescribe(target, options = {}, clientOptions = {}) {
|
|
6092
|
+
return new PmClient(clientOptions).packageDescribe(target, options);
|
|
6093
|
+
}
|
|
6094
|
+
function packageReload(options = {}, clientOptions = {}) {
|
|
6095
|
+
return new PmClient(clientOptions).packageReload(options);
|
|
6096
|
+
}
|
|
6097
|
+
function packageCatalog(options = {}, clientOptions = {}) {
|
|
6098
|
+
return new PmClient(clientOptions).packageCatalog(options);
|
|
6099
|
+
}
|
|
6100
|
+
function packageActivate(target, options = {}, clientOptions = {}) {
|
|
6101
|
+
return new PmClient(clientOptions).packageActivate(target, options);
|
|
6102
|
+
}
|
|
6103
|
+
function packageDeactivate(target, options = {}, clientOptions = {}) {
|
|
6104
|
+
return new PmClient(clientOptions).packageDeactivate(target, options);
|
|
6105
|
+
}
|
|
6106
|
+
function upgrade(target, options = {}, clientOptions = {}) {
|
|
6107
|
+
return new PmClient(clientOptions).upgrade(target, options);
|
|
6108
|
+
}
|
|
5661
6109
|
function buildWorkspaceExtensionRegistrationsCacheKey(pmRoot, settings, cwd) {
|
|
5662
6110
|
return JSON.stringify([
|
|
5663
6111
|
path3.resolve(pmRoot),
|
|
@@ -5772,11 +6220,16 @@ var LIFECYCLE_AUTHOR_ALIAS_ACTIONS = /* @__PURE__ */ new Set([
|
|
|
5772
6220
|
function normalizeMcpOptionsArrays(options, action) {
|
|
5773
6221
|
const result = {};
|
|
5774
6222
|
const promoteAddRemove = action !== void 0 && ARRAY_ADD_REMOVE_ACTIONS.has(action);
|
|
6223
|
+
const preserveStandaloneNote = action === "files" || action === "files-discover" || action === "docs";
|
|
5775
6224
|
for (const [key, value] of Object.entries(options)) {
|
|
5776
6225
|
if (Array.isArray(value) && ARRAY_TO_CSV_FIELDS.has(key)) {
|
|
5777
6226
|
result[key] = value.join(",");
|
|
5778
6227
|
continue;
|
|
5779
6228
|
}
|
|
6229
|
+
if (key === "note" && preserveStandaloneNote) {
|
|
6230
|
+
result[key] = value;
|
|
6231
|
+
continue;
|
|
6232
|
+
}
|
|
5780
6233
|
if (typeof value === "string" && SCALAR_TO_ARRAY_FIELDS.has(key)) {
|
|
5781
6234
|
result[key] = [value];
|
|
5782
6235
|
continue;
|
|
@@ -6180,6 +6633,9 @@ function resolveSdkActionInput(args) {
|
|
|
6180
6633
|
if (alias?.options !== void 0) {
|
|
6181
6634
|
resolvedArgs.options = { ...alias.options, ...asRecordClone(args.options) };
|
|
6182
6635
|
}
|
|
6636
|
+
if (action === "package") {
|
|
6637
|
+
resolvedArgs.options = { ...asRecordClone(resolvedArgs.options), vocabulary: "package" };
|
|
6638
|
+
}
|
|
6183
6639
|
return { action, args: resolvedArgs };
|
|
6184
6640
|
}
|
|
6185
6641
|
function shouldInvalidateWorkspaceContractsCacheAfterAction(action) {
|
|
@@ -6372,8 +6828,8 @@ function createMcpSchemaContext(ctx) {
|
|
|
6372
6828
|
aliases: aliasSource === void 0 ? void 0 : readStringArray(aliasSource)
|
|
6373
6829
|
};
|
|
6374
6830
|
}
|
|
6375
|
-
function runMcpSchemaReadOrRemoveAction(
|
|
6376
|
-
const { ctx, subcommand, name, author, force } =
|
|
6831
|
+
function runMcpSchemaReadOrRemoveAction(schema2) {
|
|
6832
|
+
const { ctx, subcommand, name, author, force } = schema2;
|
|
6377
6833
|
const simpleHandlers = {
|
|
6378
6834
|
list: () => runSchemaList(ctx.global),
|
|
6379
6835
|
show: () => runSchemaShow(name, ctx.global),
|
|
@@ -6388,8 +6844,8 @@ function runMcpSchemaReadOrRemoveAction(schema) {
|
|
|
6388
6844
|
const handler = getOwnHandler(simpleHandlers, subcommand);
|
|
6389
6845
|
return handler ? handler() : null;
|
|
6390
6846
|
}
|
|
6391
|
-
function runMcpSchemaAddFieldAction(
|
|
6392
|
-
const { ctx, name, author, force, aliases } =
|
|
6847
|
+
function runMcpSchemaAddFieldAction(schema2) {
|
|
6848
|
+
const { ctx, name, author, force, aliases } = schema2;
|
|
6393
6849
|
const commandsSource = ctx.args.commands ?? ctx.options.commands;
|
|
6394
6850
|
const requiredTypesSource = ctx.args.requiredTypes ?? ctx.options.requiredTypes;
|
|
6395
6851
|
return runSchemaAddField(name, {
|
|
@@ -6406,8 +6862,8 @@ function runMcpSchemaAddFieldAction(schema) {
|
|
|
6406
6862
|
force
|
|
6407
6863
|
}, ctx.global);
|
|
6408
6864
|
}
|
|
6409
|
-
function runMcpSchemaAddStatusAction(
|
|
6410
|
-
const { ctx, name, author, force, aliases } =
|
|
6865
|
+
function runMcpSchemaAddStatusAction(schema2) {
|
|
6866
|
+
const { ctx, name, author, force, aliases } = schema2;
|
|
6411
6867
|
const roleSource = ctx.args.role ?? ctx.options.role;
|
|
6412
6868
|
return runSchemaAddStatus(name, {
|
|
6413
6869
|
role: roleSource === void 0 ? void 0 : readStringArray(roleSource),
|
|
@@ -6418,8 +6874,8 @@ function runMcpSchemaAddStatusAction(schema) {
|
|
|
6418
6874
|
force
|
|
6419
6875
|
}, ctx.global);
|
|
6420
6876
|
}
|
|
6421
|
-
function runMcpSchemaAddTypeAction(
|
|
6422
|
-
const { ctx, name, author, force, aliases } =
|
|
6877
|
+
function runMcpSchemaAddTypeAction(schema2) {
|
|
6878
|
+
const { ctx, name, author, force, aliases } = schema2;
|
|
6423
6879
|
return runSchemaAddType(name, {
|
|
6424
6880
|
description: readString(ctx.args, "description") ?? readString(ctx.options, "description"),
|
|
6425
6881
|
defaultStatus: readString(ctx.args, "defaultStatus") ?? readString(ctx.args, "default_status") ?? readString(ctx.options, "defaultStatus") ?? readString(ctx.options, "default_status"),
|
|
@@ -6430,29 +6886,29 @@ function runMcpSchemaAddTypeAction(schema) {
|
|
|
6430
6886
|
}, ctx.global);
|
|
6431
6887
|
}
|
|
6432
6888
|
function runMcpSchemaAction(ctx) {
|
|
6433
|
-
const
|
|
6434
|
-
const simpleResult = runMcpSchemaReadOrRemoveAction(
|
|
6889
|
+
const schema2 = createMcpSchemaContext(ctx);
|
|
6890
|
+
const simpleResult = runMcpSchemaReadOrRemoveAction(schema2);
|
|
6435
6891
|
if (simpleResult !== null) {
|
|
6436
6892
|
return simpleResult;
|
|
6437
6893
|
}
|
|
6438
|
-
if (
|
|
6439
|
-
return runMcpSchemaAddFieldAction(
|
|
6894
|
+
if (schema2.subcommand === "add-field") {
|
|
6895
|
+
return runMcpSchemaAddFieldAction(schema2);
|
|
6440
6896
|
}
|
|
6441
|
-
if (
|
|
6442
|
-
return runMcpSchemaAddStatusAction(
|
|
6897
|
+
if (schema2.subcommand === "add-status") {
|
|
6898
|
+
return runMcpSchemaAddStatusAction(schema2);
|
|
6443
6899
|
}
|
|
6444
|
-
if (
|
|
6900
|
+
if (schema2.subcommand === "add-type") {
|
|
6445
6901
|
if (ctx.args.infer === true || ctx.options.infer === true) {
|
|
6446
6902
|
return runSchemaInferTypes({
|
|
6447
6903
|
minCount: parseMcpInteger(ctx.args.minCount ?? ctx.options.minCount, "schema infer minCount"),
|
|
6448
6904
|
apply: ctx.args.apply === true || ctx.options.apply === true,
|
|
6449
|
-
author:
|
|
6450
|
-
force:
|
|
6905
|
+
author: schema2.author,
|
|
6906
|
+
force: schema2.force
|
|
6451
6907
|
}, ctx.global);
|
|
6452
6908
|
}
|
|
6453
|
-
return runMcpSchemaAddTypeAction(
|
|
6909
|
+
return runMcpSchemaAddTypeAction(schema2);
|
|
6454
6910
|
}
|
|
6455
|
-
throw new PmCliError(`Unknown pm schema subcommand "${
|
|
6911
|
+
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);
|
|
6456
6912
|
}
|
|
6457
6913
|
function runMcpProfileAction(ctx) {
|
|
6458
6914
|
const subcommand = readString(ctx.args, "subcommand") ?? readRequiredString(ctx.options, "subcommand");
|
|
@@ -6693,6 +7149,38 @@ export {
|
|
|
6693
7149
|
next,
|
|
6694
7150
|
aggregate,
|
|
6695
7151
|
stats,
|
|
7152
|
+
comments,
|
|
7153
|
+
notes,
|
|
7154
|
+
learnings,
|
|
7155
|
+
files,
|
|
7156
|
+
filesDiscover,
|
|
7157
|
+
docs,
|
|
7158
|
+
deps,
|
|
7159
|
+
append,
|
|
7160
|
+
init,
|
|
7161
|
+
config,
|
|
7162
|
+
schema,
|
|
7163
|
+
schemaList,
|
|
7164
|
+
schemaShow,
|
|
7165
|
+
schemaAddType,
|
|
7166
|
+
schemaRemoveType,
|
|
7167
|
+
schemaAddStatus,
|
|
7168
|
+
schemaRemoveStatus,
|
|
7169
|
+
schemaAddField,
|
|
7170
|
+
schemaRemoveField,
|
|
7171
|
+
schemaListFields,
|
|
7172
|
+
schemaShowField,
|
|
7173
|
+
schemaApplyPreset,
|
|
7174
|
+
schemaInferTypes,
|
|
7175
|
+
schemaShowStatus,
|
|
7176
|
+
profile,
|
|
7177
|
+
profileList,
|
|
7178
|
+
profileShow,
|
|
7179
|
+
profileApply,
|
|
7180
|
+
profileLint,
|
|
7181
|
+
validate,
|
|
7182
|
+
health,
|
|
7183
|
+
gc,
|
|
6696
7184
|
create,
|
|
6697
7185
|
update,
|
|
6698
7186
|
close,
|
|
@@ -6705,11 +7193,27 @@ export {
|
|
|
6705
7193
|
startTask,
|
|
6706
7194
|
pauseTask,
|
|
6707
7195
|
closeTask,
|
|
7196
|
+
extension,
|
|
7197
|
+
extensionList,
|
|
7198
|
+
extensionActivate,
|
|
7199
|
+
extensionDeactivate,
|
|
7200
|
+
packageLifecycle,
|
|
7201
|
+
packageList,
|
|
7202
|
+
packageInstall,
|
|
7203
|
+
packageUninstall,
|
|
7204
|
+
packageDoctor,
|
|
7205
|
+
packageManage,
|
|
7206
|
+
packageDescribe,
|
|
7207
|
+
packageReload,
|
|
7208
|
+
packageCatalog,
|
|
7209
|
+
packageActivate,
|
|
7210
|
+
packageDeactivate,
|
|
7211
|
+
upgrade,
|
|
6708
7212
|
getWorkspaceContracts,
|
|
6709
7213
|
getContracts,
|
|
6710
7214
|
readRequiredString,
|
|
6711
7215
|
runAction
|
|
6712
7216
|
};
|
|
6713
|
-
//# sourceMappingURL=chunk-
|
|
7217
|
+
//# sourceMappingURL=chunk-PPY3GXFK.js.map
|
|
6714
7218
|
|
|
6715
|
-
//# debugId=
|
|
7219
|
+
//# debugId=8d7cc408-007b-599b-a0c1-42c938db1dca
|