@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
package/dist/sdk/runtime.js
CHANGED
|
@@ -4,7 +4,7 @@
|
|
|
4
4
|
* Defines public SDK APIs and package-author helpers for Runtime.
|
|
5
5
|
*/
|
|
6
6
|
|
|
7
|
-
!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]="
|
|
7
|
+
!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]="a1d2566f-bb81-5e21-aaab-f501f90657ed")}catch(e){}}();
|
|
8
8
|
import path from "node:path";
|
|
9
9
|
import { createEmptyExtensionCommandRegistry, createEmptyExtensionHookRegistry, createEmptyExtensionParserRegistry, createEmptyExtensionPreflightRegistry, createEmptyExtensionRegistrationRegistry, createEmptyExtensionRendererRegistry, createEmptyExtensionServiceRegistry, } from "../core/extensions/extension-registries.js";
|
|
10
10
|
import { activateExtensions, deactivateExtensions, loadExtensions, runActiveCommandHandler, setActiveExtensionCommands, setActiveExtensionHooks, setActiveExtensionParsers, setActiveExtensionPreflight, setActiveExtensionRegistrations, setActiveExtensionRenderers, setActiveExtensionServices, } from "../core/extensions/index.js";
|
|
@@ -63,13 +63,8 @@ export { runReindex } from "../cli/commands/reindex.js";
|
|
|
63
63
|
export { loadCreateTemplateOptions, runTemplatesList, runTemplatesSave, runTemplatesShow, } from "../cli/commands/templates.js";
|
|
64
64
|
export { runTestRunsList, runTestRunsLogs, runTestRunsResume, runTestRunsStatus, runTestRunsStop, } from "../cli/commands/test-runs.js";
|
|
65
65
|
export { CONFIDENCE_TEXT_VALUES, DEPENDENCY_KIND_VALUES, BUILTIN_ITEM_TYPE_VALUES, ISSUE_SEVERITY_VALUES, ITEM_TYPE_VALUES, RISK_VALUES, STATUS_VALUES, } from "../types/index.js";
|
|
66
|
-
function
|
|
67
|
-
|
|
68
|
-
return {
|
|
69
|
-
...(fullChangedFields === undefined ? {} : { fullChangedFields }),
|
|
70
|
-
...(idOnly === undefined ? {} : { idOnly }),
|
|
71
|
-
options: runnerOptions,
|
|
72
|
-
};
|
|
66
|
+
function splitFullClientMutationOptions(options) {
|
|
67
|
+
return { fullChangedFields: true, options };
|
|
73
68
|
}
|
|
74
69
|
/**
|
|
75
70
|
* Programmatic pm client for custom tools, CI jobs, bots, and embedded runtimes.
|
|
@@ -146,83 +141,378 @@ export class PmClient {
|
|
|
146
141
|
stats(options = {}) {
|
|
147
142
|
return this.runTyped("stats", { options });
|
|
148
143
|
}
|
|
144
|
+
/**
|
|
145
|
+
* List, add, edit, or delete item comments.
|
|
146
|
+
*/
|
|
147
|
+
comments(id, options = {}) {
|
|
148
|
+
return this.runTyped("comments", { id, options });
|
|
149
|
+
}
|
|
150
|
+
/**
|
|
151
|
+
* List or append private item notes.
|
|
152
|
+
*/
|
|
153
|
+
notes(id, options = {}) {
|
|
154
|
+
return this.runTyped("notes", { id, options });
|
|
155
|
+
}
|
|
156
|
+
/**
|
|
157
|
+
* List or append durable item learnings.
|
|
158
|
+
*/
|
|
159
|
+
learnings(id, options = {}) {
|
|
160
|
+
return this.runTyped("learnings", { id, options });
|
|
161
|
+
}
|
|
162
|
+
/**
|
|
163
|
+
* Add, remove, clear, or list linked project files for an item.
|
|
164
|
+
*/
|
|
165
|
+
files(id, options = {}) {
|
|
166
|
+
return this.runTyped("files", { id, options });
|
|
167
|
+
}
|
|
168
|
+
/**
|
|
169
|
+
* Discover and optionally attach changed files for an item.
|
|
170
|
+
*/
|
|
171
|
+
filesDiscover(id, options = {}) {
|
|
172
|
+
return this.runTyped("files-discover", { id, options });
|
|
173
|
+
}
|
|
174
|
+
/**
|
|
175
|
+
* Add, remove, clear, or list linked documentation for an item.
|
|
176
|
+
*/
|
|
177
|
+
docs(id, options = {}) {
|
|
178
|
+
return this.runTyped("docs", { id, options });
|
|
179
|
+
}
|
|
180
|
+
/**
|
|
181
|
+
* Inspect item dependency relationships.
|
|
182
|
+
*/
|
|
183
|
+
deps(id, options = {}) {
|
|
184
|
+
return this.runTyped("deps", { id, options });
|
|
185
|
+
}
|
|
186
|
+
/**
|
|
187
|
+
* Append markdown/body text to an item through the mutation pipeline.
|
|
188
|
+
*/
|
|
189
|
+
append(id, body, options = {}) {
|
|
190
|
+
return this.runTyped("append", { id, ...splitFullClientMutationOptions({ ...options, body }) });
|
|
191
|
+
}
|
|
192
|
+
/**
|
|
193
|
+
* Initialize a workspace with the same semantics as `pm init`.
|
|
194
|
+
*/
|
|
195
|
+
init(prefix, options = {}) {
|
|
196
|
+
return this.runTyped("init", { ...(prefix === undefined ? {} : { prefix }), options });
|
|
197
|
+
}
|
|
198
|
+
/**
|
|
199
|
+
* Read or update project/global configuration.
|
|
200
|
+
*/
|
|
201
|
+
config(scope, configAction, key, value, options = {}) {
|
|
202
|
+
return this.runTyped("config", {
|
|
203
|
+
scope,
|
|
204
|
+
configAction,
|
|
205
|
+
...(key === undefined ? {} : { key }),
|
|
206
|
+
...(value === undefined ? {} : { value }),
|
|
207
|
+
options,
|
|
208
|
+
});
|
|
209
|
+
}
|
|
210
|
+
/**
|
|
211
|
+
* Run the schema customization surface.
|
|
212
|
+
*/
|
|
213
|
+
schema(subcommand, options = {}) {
|
|
214
|
+
return this.runTyped("schema", { options: { ...options, subcommand } });
|
|
215
|
+
}
|
|
216
|
+
/**
|
|
217
|
+
* List built-in, custom, and extension-provided schema types/statuses.
|
|
218
|
+
*/
|
|
219
|
+
schemaList() {
|
|
220
|
+
return this.runTyped("schema", { options: { subcommand: "list" } });
|
|
221
|
+
}
|
|
222
|
+
/**
|
|
223
|
+
* Show a schema item type definition.
|
|
224
|
+
*/
|
|
225
|
+
schemaShow(name) {
|
|
226
|
+
return this.runTyped("schema", { name, options: { subcommand: "show" } });
|
|
227
|
+
}
|
|
228
|
+
/**
|
|
229
|
+
* Register or replace a custom item type.
|
|
230
|
+
*/
|
|
231
|
+
schemaAddType(name, options = {}) {
|
|
232
|
+
return this.runTyped("schema", { name, options: { ...options, subcommand: "add-type" } });
|
|
233
|
+
}
|
|
234
|
+
/**
|
|
235
|
+
* Remove a custom item type.
|
|
236
|
+
*/
|
|
237
|
+
schemaRemoveType(name, options = {}) {
|
|
238
|
+
return this.runTyped("schema", { name, options: { ...options, subcommand: "remove-type" } });
|
|
239
|
+
}
|
|
240
|
+
/**
|
|
241
|
+
* Register or replace a custom status.
|
|
242
|
+
*/
|
|
243
|
+
schemaAddStatus(name, options = {}) {
|
|
244
|
+
return this.runTyped("schema", { name, options: { ...options, subcommand: "add-status" } });
|
|
245
|
+
}
|
|
246
|
+
/**
|
|
247
|
+
* Remove a custom status.
|
|
248
|
+
*/
|
|
249
|
+
schemaRemoveStatus(name, options = {}) {
|
|
250
|
+
return this.runTyped("schema", { name, options: { ...options, subcommand: "remove-status" } });
|
|
251
|
+
}
|
|
252
|
+
/**
|
|
253
|
+
* Register or replace a runtime custom field.
|
|
254
|
+
*/
|
|
255
|
+
schemaAddField(name, options = {}) {
|
|
256
|
+
return this.runTyped("schema", { name, options: { ...options, subcommand: "add-field" } });
|
|
257
|
+
}
|
|
258
|
+
/**
|
|
259
|
+
* Remove a runtime custom field.
|
|
260
|
+
*/
|
|
261
|
+
schemaRemoveField(name, options = {}) {
|
|
262
|
+
return this.runTyped("schema", { name, options: { ...options, subcommand: "remove-field" } });
|
|
263
|
+
}
|
|
264
|
+
/**
|
|
265
|
+
* List runtime custom fields.
|
|
266
|
+
*/
|
|
267
|
+
schemaListFields() {
|
|
268
|
+
return this.runTyped("schema", { options: { subcommand: "list-fields" } });
|
|
269
|
+
}
|
|
270
|
+
/**
|
|
271
|
+
* Show one runtime custom field definition.
|
|
272
|
+
*/
|
|
273
|
+
schemaShowField(name) {
|
|
274
|
+
return this.runTyped("schema", { name, options: { subcommand: "show-field" } });
|
|
275
|
+
}
|
|
276
|
+
/**
|
|
277
|
+
* Apply a built-in type preset to the workspace schema.
|
|
278
|
+
*/
|
|
279
|
+
schemaApplyPreset(typePreset, options = {}) {
|
|
280
|
+
return this.runTyped("schema", { typePreset, options: { ...options, subcommand: "apply-preset" } });
|
|
281
|
+
}
|
|
282
|
+
/**
|
|
283
|
+
* Infer item types from the current tracker and optionally apply them.
|
|
284
|
+
*/
|
|
285
|
+
schemaInferTypes(options = {}) {
|
|
286
|
+
return this.runTyped("schema", { options: { ...options, subcommand: "add-type", infer: true } });
|
|
287
|
+
}
|
|
288
|
+
/**
|
|
289
|
+
* Show one runtime status definition.
|
|
290
|
+
*/
|
|
291
|
+
schemaShowStatus(name) {
|
|
292
|
+
return this.runTyped("schema", { name, options: { subcommand: "show-status" } });
|
|
293
|
+
}
|
|
294
|
+
/**
|
|
295
|
+
* Run the profile customization surface.
|
|
296
|
+
*/
|
|
297
|
+
profile(subcommand, options = {}) {
|
|
298
|
+
return this.runTyped("profile", { options: { ...options, subcommand } });
|
|
299
|
+
}
|
|
300
|
+
/**
|
|
301
|
+
* List available project profiles.
|
|
302
|
+
*/
|
|
303
|
+
profileList() {
|
|
304
|
+
return this.runTyped("profile", { options: { subcommand: "list" } });
|
|
305
|
+
}
|
|
306
|
+
/**
|
|
307
|
+
* Show a project profile.
|
|
308
|
+
*/
|
|
309
|
+
profileShow(name) {
|
|
310
|
+
return this.runTyped("profile", { name, options: { subcommand: "show" } });
|
|
311
|
+
}
|
|
312
|
+
/**
|
|
313
|
+
* Apply a project profile.
|
|
314
|
+
*/
|
|
315
|
+
profileApply(name, options = {}) {
|
|
316
|
+
return this.runTyped("profile", { name, options: { ...options, subcommand: "apply" } });
|
|
317
|
+
}
|
|
318
|
+
/**
|
|
319
|
+
* Lint a project profile.
|
|
320
|
+
*/
|
|
321
|
+
profileLint(name) {
|
|
322
|
+
return this.runTyped("profile", { name, options: { subcommand: "lint" } });
|
|
323
|
+
}
|
|
324
|
+
/**
|
|
325
|
+
* Run project validation checks.
|
|
326
|
+
*/
|
|
327
|
+
validate(options = {}) {
|
|
328
|
+
return this.runTyped("validate", { options });
|
|
329
|
+
}
|
|
330
|
+
/**
|
|
331
|
+
* Run project health checks.
|
|
332
|
+
*/
|
|
333
|
+
health(options = {}) {
|
|
334
|
+
return this.runTyped("health", { options });
|
|
335
|
+
}
|
|
336
|
+
/**
|
|
337
|
+
* Run tracker cache/runtime garbage collection.
|
|
338
|
+
*/
|
|
339
|
+
gc(options = {}) {
|
|
340
|
+
return this.runTyped("gc", { options });
|
|
341
|
+
}
|
|
149
342
|
/**
|
|
150
343
|
* Create an item using the same mutation path as `pm create`.
|
|
151
344
|
*/
|
|
152
345
|
create(options = {}) {
|
|
153
|
-
return this.
|
|
346
|
+
return this.runTyped("create", splitFullClientMutationOptions(options));
|
|
154
347
|
}
|
|
155
348
|
/**
|
|
156
349
|
* Update an item using the same mutation path as `pm update`.
|
|
157
350
|
*/
|
|
158
351
|
update(id, options = {}) {
|
|
159
|
-
return this.
|
|
352
|
+
return this.runTyped("update", { id, ...splitFullClientMutationOptions(options) });
|
|
160
353
|
}
|
|
161
354
|
/**
|
|
162
355
|
* Close an item using the same mutation path as `pm close`.
|
|
163
356
|
*/
|
|
164
357
|
close(id, reason, options = {}) {
|
|
165
|
-
return this.
|
|
358
|
+
return this.runTyped("close", { id, reason, ...splitFullClientMutationOptions(options) });
|
|
166
359
|
}
|
|
167
360
|
/**
|
|
168
361
|
* Claim an item using the same mutation path as `pm claim`.
|
|
169
362
|
*/
|
|
170
363
|
claim(id, options = {}) {
|
|
171
|
-
return this.
|
|
364
|
+
return this.runTyped("claim", { id, ...splitFullClientMutationOptions(options) });
|
|
172
365
|
}
|
|
173
366
|
/**
|
|
174
367
|
* Release an item's active claim using the same mutation path as `pm release`.
|
|
175
368
|
*/
|
|
176
369
|
release(id, options = {}) {
|
|
177
|
-
return this.
|
|
370
|
+
return this.runTyped("release", { id, ...splitFullClientMutationOptions(options) });
|
|
178
371
|
}
|
|
179
372
|
/**
|
|
180
373
|
* Copy an item using the same mutation path as `pm copy`.
|
|
181
374
|
*/
|
|
182
375
|
copy(id, options = {}) {
|
|
183
|
-
return this.
|
|
376
|
+
return this.runTyped("copy", { id, ...splitFullClientMutationOptions(options) });
|
|
184
377
|
}
|
|
185
378
|
/**
|
|
186
379
|
* Delete an item using the same mutation path as `pm delete`.
|
|
187
380
|
*/
|
|
188
381
|
delete(id, options = {}) {
|
|
189
|
-
return this.
|
|
382
|
+
return this.runTyped("delete", { id, ...splitFullClientMutationOptions(options) });
|
|
190
383
|
}
|
|
191
384
|
/**
|
|
192
385
|
* Restore an item to a history version or timestamp using `pm restore`.
|
|
193
386
|
*/
|
|
194
387
|
restore(id, target, options = {}) {
|
|
195
|
-
|
|
196
|
-
|
|
197
|
-
...(fullChangedFields === undefined ? {} : { fullChangedFields }),
|
|
198
|
-
...(idOnly === undefined ? {} : { idOnly }),
|
|
388
|
+
return this.runTyped("restore", {
|
|
389
|
+
fullChangedFields: true,
|
|
199
390
|
id,
|
|
200
|
-
options: { ...
|
|
391
|
+
options: { ...options, target },
|
|
201
392
|
});
|
|
202
393
|
}
|
|
203
394
|
/**
|
|
204
395
|
* Set, clear, or read workspace focus using the same path as `pm focus`.
|
|
205
396
|
*/
|
|
206
397
|
focus(id, options = {}) {
|
|
207
|
-
return this.
|
|
398
|
+
return this.runTyped("focus", { ...(id === undefined ? {} : { id }), ...splitFullClientMutationOptions(options) });
|
|
208
399
|
}
|
|
209
400
|
/**
|
|
210
401
|
* Claim an item and transition it to the workspace in-progress status.
|
|
211
402
|
*/
|
|
212
403
|
startTask(id, options = {}) {
|
|
213
|
-
return this.
|
|
404
|
+
return this.runTyped("start-task", { id, ...splitFullClientMutationOptions(options) });
|
|
214
405
|
}
|
|
215
406
|
/**
|
|
216
407
|
* Move an item back to the workspace open status and release the claim.
|
|
217
408
|
*/
|
|
218
409
|
pauseTask(id, options = {}) {
|
|
219
|
-
return this.
|
|
410
|
+
return this.runTyped("pause-task", { id, ...splitFullClientMutationOptions(options) });
|
|
220
411
|
}
|
|
221
412
|
/**
|
|
222
413
|
* Close an item and release its active assignment.
|
|
223
414
|
*/
|
|
224
415
|
closeTask(id, reason, options = {}) {
|
|
225
|
-
return this.
|
|
416
|
+
return this.runTyped("close-task", { id, reason, ...splitFullClientMutationOptions(options) });
|
|
417
|
+
}
|
|
418
|
+
/**
|
|
419
|
+
* Run the extension lifecycle surface with the same result shape as `pm extension`.
|
|
420
|
+
*/
|
|
421
|
+
extension(target, options = {}) {
|
|
422
|
+
return this.runTyped("extension", { ...(target === undefined ? {} : { target }), options });
|
|
423
|
+
}
|
|
424
|
+
/**
|
|
425
|
+
* List project or global extensions without constructing command-line argv.
|
|
426
|
+
*/
|
|
427
|
+
extensionList(options = {}) {
|
|
428
|
+
return this.extension("list", options);
|
|
429
|
+
}
|
|
430
|
+
/**
|
|
431
|
+
* Enable an installed extension using the same action as `pm extension activate`.
|
|
432
|
+
*/
|
|
433
|
+
extensionActivate(target, options = {}) {
|
|
434
|
+
return this.runTyped("extension-activate", { target, options });
|
|
435
|
+
}
|
|
436
|
+
/**
|
|
437
|
+
* Disable an installed extension using the same action as `pm extension deactivate`.
|
|
438
|
+
*/
|
|
439
|
+
extensionDeactivate(target, options = {}) {
|
|
440
|
+
return this.runTyped("extension-deactivate", { target, options });
|
|
441
|
+
}
|
|
442
|
+
/**
|
|
443
|
+
* Run the package lifecycle surface with package vocabulary preserved.
|
|
444
|
+
*/
|
|
445
|
+
package(target, options = {}) {
|
|
446
|
+
return this.runTyped("package", {
|
|
447
|
+
...(target === undefined ? {} : { target }),
|
|
448
|
+
options: { ...options, vocabulary: "package" },
|
|
449
|
+
});
|
|
450
|
+
}
|
|
451
|
+
/**
|
|
452
|
+
* List project or global packages through the package lifecycle primitive.
|
|
453
|
+
*/
|
|
454
|
+
packageList(options = {}) {
|
|
455
|
+
return this.package("list", options);
|
|
456
|
+
}
|
|
457
|
+
/**
|
|
458
|
+
* Install a package or extension source using the same action as `pm package install`.
|
|
459
|
+
*/
|
|
460
|
+
packageInstall(target, options = {}) {
|
|
461
|
+
return this.runTyped("package-install", { target, options });
|
|
462
|
+
}
|
|
463
|
+
/**
|
|
464
|
+
* Uninstall a package or extension using the same action as `pm package uninstall`.
|
|
465
|
+
*/
|
|
466
|
+
packageUninstall(target, options = {}) {
|
|
467
|
+
return this.runTyped("package-uninstall", { target, options });
|
|
468
|
+
}
|
|
469
|
+
/**
|
|
470
|
+
* Read package lifecycle diagnostics using the same action as `pm package doctor`.
|
|
471
|
+
*/
|
|
472
|
+
packageDoctor(options = {}) {
|
|
473
|
+
return this.runTyped("package-doctor", { options });
|
|
474
|
+
}
|
|
475
|
+
/**
|
|
476
|
+
* Inspect managed package state using the same action as `pm package manage`.
|
|
477
|
+
*/
|
|
478
|
+
packageManage(target, options = {}) {
|
|
479
|
+
return this.runTyped("package-manage", { ...(target === undefined ? {} : { target }), options });
|
|
480
|
+
}
|
|
481
|
+
/**
|
|
482
|
+
* Describe installed package surfaces using the same action as `pm package describe`.
|
|
483
|
+
*/
|
|
484
|
+
packageDescribe(target, options = {}) {
|
|
485
|
+
return this.runTyped("package-describe", { ...(target === undefined ? {} : { target }), options });
|
|
486
|
+
}
|
|
487
|
+
/**
|
|
488
|
+
* Reload installed package extensions using the same action as `pm package reload`.
|
|
489
|
+
*/
|
|
490
|
+
packageReload(options = {}) {
|
|
491
|
+
return this.runTyped("package-reload", { options });
|
|
492
|
+
}
|
|
493
|
+
/**
|
|
494
|
+
* Read bundled package catalog metadata using the same action as `pm package catalog`.
|
|
495
|
+
*/
|
|
496
|
+
packageCatalog(options = {}) {
|
|
497
|
+
return this.runTyped("package-catalog", { options });
|
|
498
|
+
}
|
|
499
|
+
/**
|
|
500
|
+
* Enable an installed package using the same action as `pm package activate`.
|
|
501
|
+
*/
|
|
502
|
+
packageActivate(target, options = {}) {
|
|
503
|
+
return this.runTyped("package-activate", { target, options });
|
|
504
|
+
}
|
|
505
|
+
/**
|
|
506
|
+
* Disable an installed package using the same action as `pm package deactivate`.
|
|
507
|
+
*/
|
|
508
|
+
packageDeactivate(target, options = {}) {
|
|
509
|
+
return this.runTyped("package-deactivate", { target, options });
|
|
510
|
+
}
|
|
511
|
+
/**
|
|
512
|
+
* Upgrade the pm CLI and/or managed packages through the public SDK dispatcher.
|
|
513
|
+
*/
|
|
514
|
+
upgrade(target, options = {}) {
|
|
515
|
+
return this.runTyped("upgrade", { ...(target === undefined ? {} : { target }), options });
|
|
226
516
|
}
|
|
227
517
|
}
|
|
228
518
|
/**
|
|
@@ -273,6 +563,198 @@ export function aggregate(options = {}, clientOptions = {}) {
|
|
|
273
563
|
export function stats(options = {}, clientOptions = {}) {
|
|
274
564
|
return new PmClient(clientOptions).stats(options);
|
|
275
565
|
}
|
|
566
|
+
/**
|
|
567
|
+
* List, add, edit, or delete item comments without constructing a reusable client.
|
|
568
|
+
*/
|
|
569
|
+
export function comments(id, options = {}, clientOptions = {}) {
|
|
570
|
+
return new PmClient(clientOptions).comments(id, options);
|
|
571
|
+
}
|
|
572
|
+
/**
|
|
573
|
+
* List or append private item notes without constructing a reusable client.
|
|
574
|
+
*/
|
|
575
|
+
export function notes(id, options = {}, clientOptions = {}) {
|
|
576
|
+
return new PmClient(clientOptions).notes(id, options);
|
|
577
|
+
}
|
|
578
|
+
/**
|
|
579
|
+
* List or append durable item learnings without constructing a reusable client.
|
|
580
|
+
*/
|
|
581
|
+
export function learnings(id, options = {}, clientOptions = {}) {
|
|
582
|
+
return new PmClient(clientOptions).learnings(id, options);
|
|
583
|
+
}
|
|
584
|
+
/**
|
|
585
|
+
* Manage linked item files without constructing a reusable client.
|
|
586
|
+
*/
|
|
587
|
+
export function files(id, options = {}, clientOptions = {}) {
|
|
588
|
+
return new PmClient(clientOptions).files(id, options);
|
|
589
|
+
}
|
|
590
|
+
/**
|
|
591
|
+
* Discover linked item files without constructing a reusable client.
|
|
592
|
+
*/
|
|
593
|
+
export function filesDiscover(id, options = {}, clientOptions = {}) {
|
|
594
|
+
return new PmClient(clientOptions).filesDiscover(id, options);
|
|
595
|
+
}
|
|
596
|
+
/**
|
|
597
|
+
* Manage linked item docs without constructing a reusable client.
|
|
598
|
+
*/
|
|
599
|
+
export function docs(id, options = {}, clientOptions = {}) {
|
|
600
|
+
return new PmClient(clientOptions).docs(id, options);
|
|
601
|
+
}
|
|
602
|
+
/**
|
|
603
|
+
* Inspect item dependency relationships without constructing a reusable client.
|
|
604
|
+
*/
|
|
605
|
+
export function deps(id, options = {}, clientOptions = {}) {
|
|
606
|
+
return new PmClient(clientOptions).deps(id, options);
|
|
607
|
+
}
|
|
608
|
+
/**
|
|
609
|
+
* Append markdown/body text to an item without constructing a reusable client.
|
|
610
|
+
*/
|
|
611
|
+
export function append(id, body, options = {}, clientOptions = {}) {
|
|
612
|
+
return new PmClient(clientOptions).append(id, body, options);
|
|
613
|
+
}
|
|
614
|
+
/**
|
|
615
|
+
* Initialize a workspace without constructing a reusable client.
|
|
616
|
+
*/
|
|
617
|
+
export function init(prefix, options = {}, clientOptions = {}) {
|
|
618
|
+
return new PmClient(clientOptions).init(prefix, options);
|
|
619
|
+
}
|
|
620
|
+
/**
|
|
621
|
+
* Read or update configuration without constructing a reusable client.
|
|
622
|
+
*/
|
|
623
|
+
export function config(scope, configAction, key, value, options = {}, clientOptions = {}) {
|
|
624
|
+
return new PmClient(clientOptions).config(scope, configAction, key, value, options);
|
|
625
|
+
}
|
|
626
|
+
/**
|
|
627
|
+
* Run the schema customization surface without constructing a reusable client.
|
|
628
|
+
*/
|
|
629
|
+
export function schema(subcommand, options = {}, clientOptions = {}) {
|
|
630
|
+
return new PmClient(clientOptions).schema(subcommand, options);
|
|
631
|
+
}
|
|
632
|
+
/**
|
|
633
|
+
* List schema definitions without constructing a reusable client.
|
|
634
|
+
*/
|
|
635
|
+
export function schemaList(clientOptions = {}) {
|
|
636
|
+
return new PmClient(clientOptions).schemaList();
|
|
637
|
+
}
|
|
638
|
+
/**
|
|
639
|
+
* Show a schema item type without constructing a reusable client.
|
|
640
|
+
*/
|
|
641
|
+
export function schemaShow(name, clientOptions = {}) {
|
|
642
|
+
return new PmClient(clientOptions).schemaShow(name);
|
|
643
|
+
}
|
|
644
|
+
/**
|
|
645
|
+
* Register a custom item type without constructing a reusable client.
|
|
646
|
+
*/
|
|
647
|
+
export function schemaAddType(name, options = {}, clientOptions = {}) {
|
|
648
|
+
return new PmClient(clientOptions).schemaAddType(name, options);
|
|
649
|
+
}
|
|
650
|
+
/**
|
|
651
|
+
* Remove a custom item type without constructing a reusable client.
|
|
652
|
+
*/
|
|
653
|
+
export function schemaRemoveType(name, options = {}, clientOptions = {}) {
|
|
654
|
+
return new PmClient(clientOptions).schemaRemoveType(name, options);
|
|
655
|
+
}
|
|
656
|
+
/**
|
|
657
|
+
* Register a custom status without constructing a reusable client.
|
|
658
|
+
*/
|
|
659
|
+
export function schemaAddStatus(name, options = {}, clientOptions = {}) {
|
|
660
|
+
return new PmClient(clientOptions).schemaAddStatus(name, options);
|
|
661
|
+
}
|
|
662
|
+
/**
|
|
663
|
+
* Remove a custom status without constructing a reusable client.
|
|
664
|
+
*/
|
|
665
|
+
export function schemaRemoveStatus(name, options = {}, clientOptions = {}) {
|
|
666
|
+
return new PmClient(clientOptions).schemaRemoveStatus(name, options);
|
|
667
|
+
}
|
|
668
|
+
/**
|
|
669
|
+
* Register a custom field without constructing a reusable client.
|
|
670
|
+
*/
|
|
671
|
+
export function schemaAddField(name, options = {}, clientOptions = {}) {
|
|
672
|
+
return new PmClient(clientOptions).schemaAddField(name, options);
|
|
673
|
+
}
|
|
674
|
+
/**
|
|
675
|
+
* Remove a custom field without constructing a reusable client.
|
|
676
|
+
*/
|
|
677
|
+
export function schemaRemoveField(name, options = {}, clientOptions = {}) {
|
|
678
|
+
return new PmClient(clientOptions).schemaRemoveField(name, options);
|
|
679
|
+
}
|
|
680
|
+
/**
|
|
681
|
+
* List custom fields without constructing a reusable client.
|
|
682
|
+
*/
|
|
683
|
+
export function schemaListFields(clientOptions = {}) {
|
|
684
|
+
return new PmClient(clientOptions).schemaListFields();
|
|
685
|
+
}
|
|
686
|
+
/**
|
|
687
|
+
* Show a custom field without constructing a reusable client.
|
|
688
|
+
*/
|
|
689
|
+
export function schemaShowField(name, clientOptions = {}) {
|
|
690
|
+
return new PmClient(clientOptions).schemaShowField(name);
|
|
691
|
+
}
|
|
692
|
+
/**
|
|
693
|
+
* Apply a schema preset without constructing a reusable client.
|
|
694
|
+
*/
|
|
695
|
+
export function schemaApplyPreset(typePreset, options = {}, clientOptions = {}) {
|
|
696
|
+
return new PmClient(clientOptions).schemaApplyPreset(typePreset, options);
|
|
697
|
+
}
|
|
698
|
+
/**
|
|
699
|
+
* Infer schema types without constructing a reusable client.
|
|
700
|
+
*/
|
|
701
|
+
export function schemaInferTypes(options = {}, clientOptions = {}) {
|
|
702
|
+
return new PmClient(clientOptions).schemaInferTypes(options);
|
|
703
|
+
}
|
|
704
|
+
/**
|
|
705
|
+
* Show a custom status without constructing a reusable client.
|
|
706
|
+
*/
|
|
707
|
+
export function schemaShowStatus(name, clientOptions = {}) {
|
|
708
|
+
return new PmClient(clientOptions).schemaShowStatus(name);
|
|
709
|
+
}
|
|
710
|
+
/**
|
|
711
|
+
* Run the profile customization surface without constructing a reusable client.
|
|
712
|
+
*/
|
|
713
|
+
export function profile(subcommand, options = {}, clientOptions = {}) {
|
|
714
|
+
return new PmClient(clientOptions).profile(subcommand, options);
|
|
715
|
+
}
|
|
716
|
+
/**
|
|
717
|
+
* List profiles without constructing a reusable client.
|
|
718
|
+
*/
|
|
719
|
+
export function profileList(clientOptions = {}) {
|
|
720
|
+
return new PmClient(clientOptions).profileList();
|
|
721
|
+
}
|
|
722
|
+
/**
|
|
723
|
+
* Show a profile without constructing a reusable client.
|
|
724
|
+
*/
|
|
725
|
+
export function profileShow(name, clientOptions = {}) {
|
|
726
|
+
return new PmClient(clientOptions).profileShow(name);
|
|
727
|
+
}
|
|
728
|
+
/**
|
|
729
|
+
* Apply a profile without constructing a reusable client.
|
|
730
|
+
*/
|
|
731
|
+
export function profileApply(name, options = {}, clientOptions = {}) {
|
|
732
|
+
return new PmClient(clientOptions).profileApply(name, options);
|
|
733
|
+
}
|
|
734
|
+
/**
|
|
735
|
+
* Lint a profile without constructing a reusable client.
|
|
736
|
+
*/
|
|
737
|
+
export function profileLint(name, clientOptions = {}) {
|
|
738
|
+
return new PmClient(clientOptions).profileLint(name);
|
|
739
|
+
}
|
|
740
|
+
/**
|
|
741
|
+
* Validate a tracker without constructing a reusable client.
|
|
742
|
+
*/
|
|
743
|
+
export function validate(options = {}, clientOptions = {}) {
|
|
744
|
+
return new PmClient(clientOptions).validate(options);
|
|
745
|
+
}
|
|
746
|
+
/**
|
|
747
|
+
* Run health checks without constructing a reusable client.
|
|
748
|
+
*/
|
|
749
|
+
export function health(options = {}, clientOptions = {}) {
|
|
750
|
+
return new PmClient(clientOptions).health(options);
|
|
751
|
+
}
|
|
752
|
+
/**
|
|
753
|
+
* Run cache/runtime garbage collection without constructing a reusable client.
|
|
754
|
+
*/
|
|
755
|
+
export function gc(options = {}, clientOptions = {}) {
|
|
756
|
+
return new PmClient(clientOptions).gc(options);
|
|
757
|
+
}
|
|
276
758
|
/**
|
|
277
759
|
* Create an item without constructing a reusable client.
|
|
278
760
|
*/
|
|
@@ -345,6 +827,102 @@ export function pauseTask(id, options = {}, clientOptions = {}) {
|
|
|
345
827
|
export function closeTask(id, reason, options = {}, clientOptions = {}) {
|
|
346
828
|
return new PmClient(clientOptions).closeTask(id, reason, options);
|
|
347
829
|
}
|
|
830
|
+
/**
|
|
831
|
+
* Run the extension lifecycle surface without constructing a reusable client.
|
|
832
|
+
*/
|
|
833
|
+
export function extension(target, options = {}, clientOptions = {}) {
|
|
834
|
+
return new PmClient(clientOptions).extension(target, options);
|
|
835
|
+
}
|
|
836
|
+
/**
|
|
837
|
+
* List extensions without constructing a reusable client.
|
|
838
|
+
*/
|
|
839
|
+
export function extensionList(options = {}, clientOptions = {}) {
|
|
840
|
+
return new PmClient(clientOptions).extensionList(options);
|
|
841
|
+
}
|
|
842
|
+
/**
|
|
843
|
+
* Enable an extension without constructing a reusable client.
|
|
844
|
+
*/
|
|
845
|
+
export function extensionActivate(target, options = {}, clientOptions = {}) {
|
|
846
|
+
return new PmClient(clientOptions).extensionActivate(target, options);
|
|
847
|
+
}
|
|
848
|
+
/**
|
|
849
|
+
* Disable an extension without constructing a reusable client.
|
|
850
|
+
*/
|
|
851
|
+
export function extensionDeactivate(target, options = {}, clientOptions = {}) {
|
|
852
|
+
return new PmClient(clientOptions).extensionDeactivate(target, options);
|
|
853
|
+
}
|
|
854
|
+
/**
|
|
855
|
+
* Run the package lifecycle surface without constructing a reusable client.
|
|
856
|
+
*/
|
|
857
|
+
export function packageLifecycle(target, options = {}, clientOptions = {}) {
|
|
858
|
+
return new PmClient(clientOptions).package(target, options);
|
|
859
|
+
}
|
|
860
|
+
/**
|
|
861
|
+
* List packages without constructing a reusable client.
|
|
862
|
+
*/
|
|
863
|
+
export function packageList(options = {}, clientOptions = {}) {
|
|
864
|
+
return new PmClient(clientOptions).packageList(options);
|
|
865
|
+
}
|
|
866
|
+
/**
|
|
867
|
+
* Install a package or extension source without constructing a reusable client.
|
|
868
|
+
*/
|
|
869
|
+
export function packageInstall(target, options = {}, clientOptions = {}) {
|
|
870
|
+
return new PmClient(clientOptions).packageInstall(target, options);
|
|
871
|
+
}
|
|
872
|
+
/**
|
|
873
|
+
* Uninstall a package or extension without constructing a reusable client.
|
|
874
|
+
*/
|
|
875
|
+
export function packageUninstall(target, options = {}, clientOptions = {}) {
|
|
876
|
+
return new PmClient(clientOptions).packageUninstall(target, options);
|
|
877
|
+
}
|
|
878
|
+
/**
|
|
879
|
+
* Read package lifecycle diagnostics without constructing a reusable client.
|
|
880
|
+
*/
|
|
881
|
+
export function packageDoctor(options = {}, clientOptions = {}) {
|
|
882
|
+
return new PmClient(clientOptions).packageDoctor(options);
|
|
883
|
+
}
|
|
884
|
+
/**
|
|
885
|
+
* Inspect managed package state without constructing a reusable client.
|
|
886
|
+
*/
|
|
887
|
+
export function packageManage(target, options = {}, clientOptions = {}) {
|
|
888
|
+
return new PmClient(clientOptions).packageManage(target, options);
|
|
889
|
+
}
|
|
890
|
+
/**
|
|
891
|
+
* Describe package surfaces without constructing a reusable client.
|
|
892
|
+
*/
|
|
893
|
+
export function packageDescribe(target, options = {}, clientOptions = {}) {
|
|
894
|
+
return new PmClient(clientOptions).packageDescribe(target, options);
|
|
895
|
+
}
|
|
896
|
+
/**
|
|
897
|
+
* Reload package extensions without constructing a reusable client.
|
|
898
|
+
*/
|
|
899
|
+
export function packageReload(options = {}, clientOptions = {}) {
|
|
900
|
+
return new PmClient(clientOptions).packageReload(options);
|
|
901
|
+
}
|
|
902
|
+
/**
|
|
903
|
+
* Read bundled package catalog metadata without constructing a reusable client.
|
|
904
|
+
*/
|
|
905
|
+
export function packageCatalog(options = {}, clientOptions = {}) {
|
|
906
|
+
return new PmClient(clientOptions).packageCatalog(options);
|
|
907
|
+
}
|
|
908
|
+
/**
|
|
909
|
+
* Enable a package without constructing a reusable client.
|
|
910
|
+
*/
|
|
911
|
+
export function packageActivate(target, options = {}, clientOptions = {}) {
|
|
912
|
+
return new PmClient(clientOptions).packageActivate(target, options);
|
|
913
|
+
}
|
|
914
|
+
/**
|
|
915
|
+
* Disable a package without constructing a reusable client.
|
|
916
|
+
*/
|
|
917
|
+
export function packageDeactivate(target, options = {}, clientOptions = {}) {
|
|
918
|
+
return new PmClient(clientOptions).packageDeactivate(target, options);
|
|
919
|
+
}
|
|
920
|
+
/**
|
|
921
|
+
* Upgrade the pm CLI and/or managed packages without constructing a reusable client.
|
|
922
|
+
*/
|
|
923
|
+
export function upgrade(target, options = {}, clientOptions = {}) {
|
|
924
|
+
return new PmClient(clientOptions).upgrade(target, options);
|
|
925
|
+
}
|
|
348
926
|
/**
|
|
349
927
|
* Process-lifetime memo of activated extension registrations, keyed by resolved
|
|
350
928
|
* pm root + cwd + extension settings. `getWorkspaceContracts` is frequently
|
|
@@ -488,11 +1066,16 @@ const LIFECYCLE_AUTHOR_ALIAS_ACTIONS = new Set([
|
|
|
488
1066
|
function normalizeMcpOptionsArrays(options, action) {
|
|
489
1067
|
const result = {};
|
|
490
1068
|
const promoteAddRemove = action !== undefined && ARRAY_ADD_REMOVE_ACTIONS.has(action);
|
|
1069
|
+
const preserveStandaloneNote = action === "files" || action === "files-discover" || action === "docs";
|
|
491
1070
|
for (const [key, value] of Object.entries(options)) {
|
|
492
1071
|
if (Array.isArray(value) && ARRAY_TO_CSV_FIELDS.has(key)) {
|
|
493
1072
|
result[key] = value.join(",");
|
|
494
1073
|
continue;
|
|
495
1074
|
}
|
|
1075
|
+
if (key === "note" && preserveStandaloneNote) {
|
|
1076
|
+
result[key] = value;
|
|
1077
|
+
continue;
|
|
1078
|
+
}
|
|
496
1079
|
if (typeof value === "string" && SCALAR_TO_ARRAY_FIELDS.has(key)) {
|
|
497
1080
|
result[key] = [value];
|
|
498
1081
|
continue;
|
|
@@ -993,6 +1576,9 @@ function resolveSdkActionInput(args) {
|
|
|
993
1576
|
if (alias?.options !== undefined) {
|
|
994
1577
|
resolvedArgs.options = { ...alias.options, ...asRecordClone(args.options) };
|
|
995
1578
|
}
|
|
1579
|
+
if (action === "package") {
|
|
1580
|
+
resolvedArgs.options = { ...asRecordClone(resolvedArgs.options), vocabulary: "package" };
|
|
1581
|
+
}
|
|
996
1582
|
return { action, args: resolvedArgs };
|
|
997
1583
|
}
|
|
998
1584
|
function shouldInvalidateWorkspaceContractsCacheAfterAction(action) {
|
|
@@ -1500,4 +2086,4 @@ async function loadWorkspaceExtensionRegistrations(pmRoot, settings, cwd) {
|
|
|
1500
2086
|
}
|
|
1501
2087
|
}
|
|
1502
2088
|
//# sourceMappingURL=runtime.js.map
|
|
1503
|
-
//# debugId=
|
|
2089
|
+
//# debugId=a1d2566f-bb81-5e21-aaab-f501f90657ed
|