@unbrained/pm-cli 2026.7.4 → 2026.7.5
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 +26 -0
- package/README.md +1 -5
- package/dist/cli/commands/calendar.d.ts +3 -2
- package/dist/cli/commands/calendar.js +4 -4
- package/dist/cli/commands/calendar.js.map +1 -1
- package/dist/cli/commands/claim.js +17 -3
- package/dist/cli/commands/claim.js.map +1 -1
- package/dist/cli/commands/close.js +34 -16
- package/dist/cli/commands/close.js.map +1 -1
- package/dist/cli/commands/copy.js +3 -3
- package/dist/cli/commands/copy.js.map +1 -1
- package/dist/cli/commands/create.d.ts +7 -0
- package/dist/cli/commands/create.js +156 -110
- package/dist/cli/commands/create.js.map +1 -1
- package/dist/cli/commands/extension/bundled-catalog.d.ts +6 -0
- package/dist/cli/commands/extension/bundled-catalog.js +15 -2
- package/dist/cli/commands/extension/bundled-catalog.js.map +1 -1
- package/dist/cli/commands/extension/describe.d.ts +6 -3
- package/dist/cli/commands/extension/describe.js +21 -9
- package/dist/cli/commands/extension/describe.js.map +1 -1
- package/dist/cli/commands/extension/doctor.d.ts +0 -4
- package/dist/cli/commands/extension/doctor.js +3 -3
- package/dist/cli/commands/extension/doctor.js.map +1 -1
- package/dist/cli/commands/extension/scaffold.js +7 -2
- package/dist/cli/commands/extension/scaffold.js.map +1 -1
- package/dist/cli/commands/extension/shared.d.ts +2 -7
- package/dist/cli/commands/extension/shared.js +4 -10
- package/dist/cli/commands/extension/shared.js.map +1 -1
- package/dist/cli/commands/extension.js +33 -8
- package/dist/cli/commands/extension.js.map +1 -1
- package/dist/cli/commands/profile.js +3 -3
- package/dist/cli/commands/profile.js.map +1 -1
- package/dist/cli/commands/reindex.js +3 -3
- package/dist/cli/commands/reindex.js.map +1 -1
- package/dist/cli/commands/restore.js +3 -3
- package/dist/cli/commands/restore.js.map +1 -1
- package/dist/cli/commands/schema.js +10 -10
- package/dist/cli/commands/schema.js.map +1 -1
- package/dist/cli/commands/update.js +5 -3
- package/dist/cli/commands/update.js.map +1 -1
- package/dist/cli/error-guidance.js +107 -7
- package/dist/cli/error-guidance.js.map +1 -1
- package/dist/cli/main.d.ts +6 -2
- package/dist/cli/main.js +33 -12
- package/dist/cli/main.js.map +1 -1
- package/dist/cli-bundle/chunks/activity-4XQIDNM5.js +18 -0
- package/dist/cli-bundle/chunks/{activity-OENQCYZD.js → activity-YKAKZTZ4.js} +11 -9
- package/dist/cli-bundle/chunks/{aggregate-EC4LWS3U.js → aggregate-EQX2RGB7.js} +16 -13
- package/dist/cli-bundle/chunks/{aggregate-EC4LWS3U.js.map → aggregate-EQX2RGB7.js.map} +1 -1
- package/dist/cli-bundle/chunks/{aggregate-RCB3QJJE.js → aggregate-PEGZGJXD.js} +18 -15
- package/dist/cli-bundle/chunks/{aggregate-RCB3QJJE.js.map → aggregate-PEGZGJXD.js.map} +1 -1
- package/dist/cli-bundle/chunks/{append-XLEKVVWB.js → append-CZGUZ45Q.js} +11 -8
- package/dist/cli-bundle/chunks/{append-XLEKVVWB.js.map → append-CZGUZ45Q.js.map} +1 -1
- package/dist/cli-bundle/chunks/{append-ADBOI3A6.js → append-NSQBCXZJ.js} +13 -10
- package/dist/cli-bundle/chunks/{append-ADBOI3A6.js.map → append-NSQBCXZJ.js.map} +1 -1
- package/dist/cli-bundle/chunks/chunk-3JZNEQBA.js +1413 -0
- package/dist/cli-bundle/chunks/chunk-3JZNEQBA.js.map +1 -0
- package/dist/cli-bundle/chunks/{chunk-2LRMWMZ6.js → chunk-3PL6LEKP.js} +16 -14
- package/dist/cli-bundle/chunks/{chunk-2LRMWMZ6.js.map → chunk-3PL6LEKP.js.map} +1 -1
- package/dist/cli-bundle/chunks/{chunk-CN4OAA2G.js → chunk-3U3VEWK6.js} +277 -119
- package/dist/cli-bundle/chunks/chunk-3U3VEWK6.js.map +7 -0
- package/dist/cli-bundle/chunks/{chunk-EB4BBEZD.js → chunk-3Y4OESPP.js} +14 -12
- package/dist/cli-bundle/chunks/{chunk-EB4BBEZD.js.map → chunk-3Y4OESPP.js.map} +1 -1
- package/dist/cli-bundle/chunks/{chunk-NHDR3UCW.js → chunk-4LRVSBO6.js} +14 -12
- package/dist/cli-bundle/chunks/{chunk-NHDR3UCW.js.map → chunk-4LRVSBO6.js.map} +1 -1
- package/dist/cli-bundle/chunks/{chunk-6YB7HG2J.js → chunk-4OFLJHX6.js} +7 -5
- package/dist/cli-bundle/chunks/{chunk-6YB7HG2J.js.map → chunk-4OFLJHX6.js.map} +1 -1
- package/dist/cli-bundle/chunks/{chunk-SBNT6SLO.js → chunk-4QQ6PM7M.js} +45 -557
- package/dist/cli-bundle/chunks/chunk-4QQ6PM7M.js.map +7 -0
- package/dist/cli-bundle/chunks/{chunk-M34MVAOP.js → chunk-53BTLLAF.js} +16 -200
- package/dist/cli-bundle/chunks/chunk-53BTLLAF.js.map +1 -0
- package/dist/cli-bundle/chunks/{chunk-UYLA5ROU.js → chunk-57C2RLW5.js} +277 -112
- package/dist/cli-bundle/chunks/chunk-57C2RLW5.js.map +1 -0
- package/dist/cli-bundle/chunks/{chunk-R7EMP4JG.js → chunk-5B3X4Y22.js} +52 -63
- package/dist/cli-bundle/chunks/{chunk-R7EMP4JG.js.map → chunk-5B3X4Y22.js.map} +3 -3
- package/dist/cli-bundle/chunks/{chunk-XBIYI23P.js → chunk-5J2XPTAD.js} +10 -8
- package/dist/cli-bundle/chunks/{chunk-XBIYI23P.js.map → chunk-5J2XPTAD.js.map} +1 -1
- package/dist/cli-bundle/chunks/{chunk-4SHME4VR.js → chunk-5JE6SMYS.js} +2 -2
- package/dist/cli-bundle/chunks/{chunk-4KPQQ42D.js → chunk-5JZ7APJU.js} +18 -16
- package/dist/cli-bundle/chunks/{chunk-4KPQQ42D.js.map → chunk-5JZ7APJU.js.map} +1 -1
- package/dist/cli-bundle/chunks/{chunk-BDDYM4LH.js → chunk-5VVUKE3U.js} +424 -2228
- package/dist/cli-bundle/chunks/chunk-5VVUKE3U.js.map +7 -0
- package/dist/cli-bundle/chunks/{chunk-QFXFKYNQ.js → chunk-75U6M5ZD.js} +16 -14
- package/dist/cli-bundle/chunks/{chunk-QFXFKYNQ.js.map → chunk-75U6M5ZD.js.map} +1 -1
- package/dist/cli-bundle/chunks/chunk-7C2O74AE.js +23 -0
- package/dist/cli-bundle/chunks/chunk-7C2O74AE.js.map +7 -0
- package/dist/cli-bundle/chunks/{chunk-A222YWOQ.js → chunk-7EQNAZX2.js} +14 -12
- package/dist/cli-bundle/chunks/{chunk-A222YWOQ.js.map → chunk-7EQNAZX2.js.map} +1 -1
- package/dist/cli-bundle/chunks/{chunk-Z4DGFQDH.js → chunk-7LQKVMPA.js} +14 -4
- package/dist/cli-bundle/chunks/chunk-7LQKVMPA.js.map +1 -0
- package/dist/cli-bundle/chunks/{chunk-EH23N5FX.js → chunk-7MDXZAZS.js} +29 -7
- package/dist/cli-bundle/chunks/chunk-7MDXZAZS.js.map +1 -0
- package/dist/cli-bundle/chunks/{chunk-XQCWTSLO.js → chunk-7QH7DHUB.js} +74 -8
- package/dist/cli-bundle/chunks/chunk-7QH7DHUB.js.map +1 -0
- package/dist/cli-bundle/chunks/{chunk-3C5T3ZEO.js → chunk-7WYXBPYQ.js} +7 -5
- package/dist/cli-bundle/chunks/{chunk-3C5T3ZEO.js.map → chunk-7WYXBPYQ.js.map} +1 -1
- package/dist/cli-bundle/chunks/chunk-AAEQMOC6.js +150 -0
- package/dist/cli-bundle/chunks/chunk-AAEQMOC6.js.map +1 -0
- package/dist/cli-bundle/chunks/{chunk-CQISNF3Z.js → chunk-ABRA3BHY.js} +18 -16
- package/dist/cli-bundle/chunks/{chunk-CQISNF3Z.js.map → chunk-ABRA3BHY.js.map} +2 -2
- package/dist/cli-bundle/chunks/chunk-B5KXLBSJ.js +47 -0
- package/dist/cli-bundle/chunks/chunk-B5KXLBSJ.js.map +7 -0
- package/dist/cli-bundle/chunks/{chunk-Y2VSCQ77.js → chunk-BFVHCAOO.js} +9 -7
- package/dist/cli-bundle/chunks/{chunk-Y2VSCQ77.js.map → chunk-BFVHCAOO.js.map} +1 -1
- package/dist/cli-bundle/chunks/{chunk-7ITQSEBL.js → chunk-BVEUCSH2.js} +6 -4
- package/dist/cli-bundle/chunks/{chunk-7ITQSEBL.js.map → chunk-BVEUCSH2.js.map} +1 -1
- package/dist/cli-bundle/chunks/chunk-C3PMDWGX.js +160 -0
- package/dist/cli-bundle/chunks/chunk-C3PMDWGX.js.map +7 -0
- package/dist/cli-bundle/chunks/{chunk-HL742IBM.js → chunk-D3UCE7RW.js} +7 -5
- package/dist/cli-bundle/chunks/{chunk-HL742IBM.js.map → chunk-D3UCE7RW.js.map} +1 -1
- package/dist/cli-bundle/chunks/chunk-DC3QJQWI.js +275 -0
- package/dist/cli-bundle/chunks/chunk-DC3QJQWI.js.map +7 -0
- package/dist/cli-bundle/chunks/chunk-DLQ4ZTCU.js +634 -0
- package/dist/cli-bundle/chunks/chunk-DLQ4ZTCU.js.map +7 -0
- package/dist/cli-bundle/chunks/{chunk-MZG6I2Q2.js → chunk-DRBV5UC2.js} +8 -23
- package/dist/cli-bundle/chunks/chunk-DRBV5UC2.js.map +7 -0
- package/dist/cli-bundle/chunks/{chunk-DEIDJQZK.js → chunk-E2FUG6GD.js} +15 -220
- package/dist/cli-bundle/chunks/{chunk-DEIDJQZK.js.map → chunk-E2FUG6GD.js.map} +3 -3
- package/dist/cli-bundle/chunks/{chunk-3MLQZI3H.js → chunk-EEY54JMF.js} +5 -3
- package/dist/cli-bundle/chunks/{chunk-3MLQZI3H.js.map → chunk-EEY54JMF.js.map} +1 -1
- package/dist/cli-bundle/chunks/{chunk-CQFZRLXQ.js → chunk-EZFKWSC7.js} +94 -16
- package/dist/cli-bundle/chunks/{chunk-CQFZRLXQ.js.map → chunk-EZFKWSC7.js.map} +4 -4
- package/dist/cli-bundle/chunks/{chunk-4PJYRA3V.js → chunk-FDBARR33.js} +17 -15
- package/dist/cli-bundle/chunks/{chunk-4PJYRA3V.js.map → chunk-FDBARR33.js.map} +2 -2
- package/dist/cli-bundle/chunks/{chunk-NGDK3KEZ.js → chunk-FGQKEDE4.js} +36 -12
- package/dist/cli-bundle/chunks/chunk-FGQKEDE4.js.map +7 -0
- package/dist/cli-bundle/chunks/{chunk-FMWQRMHS.js → chunk-FJRKQREY.js} +10 -18
- package/dist/cli-bundle/chunks/chunk-FJRKQREY.js.map +1 -0
- package/dist/cli-bundle/chunks/{chunk-6QY2NA2M.js → chunk-FUM6UMY4.js} +10 -11
- package/dist/cli-bundle/chunks/{chunk-6QY2NA2M.js.map → chunk-FUM6UMY4.js.map} +1 -1
- package/dist/cli-bundle/chunks/{chunk-UGDONITK.js → chunk-GIWXVMZ3.js} +140 -334
- package/dist/cli-bundle/chunks/chunk-GIWXVMZ3.js.map +7 -0
- package/dist/cli-bundle/chunks/{chunk-OTSP6UEX.js → chunk-HBYZDSK5.js} +19 -17
- package/dist/cli-bundle/chunks/{chunk-OTSP6UEX.js.map → chunk-HBYZDSK5.js.map} +1 -1
- package/dist/cli-bundle/chunks/{chunk-D2LDM35X.js → chunk-HJE4JTKQ.js} +6 -4
- package/dist/cli-bundle/chunks/{chunk-D2LDM35X.js.map → chunk-HJE4JTKQ.js.map} +1 -1
- package/dist/cli-bundle/chunks/{chunk-AOP2EMK3.js → chunk-HK72NWAD.js} +89 -18
- package/dist/cli-bundle/chunks/chunk-HK72NWAD.js.map +1 -0
- package/dist/cli-bundle/chunks/{chunk-2ONH3WG6.js → chunk-IJ6CO3JV.js} +18 -16
- package/dist/cli-bundle/chunks/{chunk-2ONH3WG6.js.map → chunk-IJ6CO3JV.js.map} +1 -1
- package/dist/cli-bundle/chunks/{chunk-J4KNRDI3.js → chunk-JFCVQXZX.js} +139 -326
- package/dist/cli-bundle/chunks/chunk-JFCVQXZX.js.map +1 -0
- package/dist/cli-bundle/chunks/{chunk-V655JQ5J.js → chunk-JLA7EVYV.js} +12 -10
- package/dist/cli-bundle/chunks/{chunk-V655JQ5J.js.map → chunk-JLA7EVYV.js.map} +1 -1
- package/dist/cli-bundle/chunks/chunk-K32L7HZO.js +76 -0
- package/dist/cli-bundle/chunks/chunk-K32L7HZO.js.map +1 -0
- package/dist/cli-bundle/chunks/{chunk-WBWRQS32.js → chunk-K3AGVXSF.js} +37 -13
- package/dist/cli-bundle/chunks/chunk-K3AGVXSF.js.map +1 -0
- package/dist/cli-bundle/chunks/chunk-KDZ6K25I.js +79 -0
- package/dist/cli-bundle/chunks/chunk-KDZ6K25I.js.map +7 -0
- package/dist/cli-bundle/chunks/chunk-KGHH652T.js +44 -0
- package/dist/cli-bundle/chunks/chunk-KGHH652T.js.map +1 -0
- package/dist/cli-bundle/chunks/chunk-KL22PY6L.js +915 -0
- package/dist/cli-bundle/chunks/chunk-KL22PY6L.js.map +1 -0
- package/dist/cli-bundle/chunks/{chunk-JZJJEJBR.js → chunk-KLG4ZULO.js} +12 -10
- package/dist/cli-bundle/chunks/{chunk-JZJJEJBR.js.map → chunk-KLG4ZULO.js.map} +1 -1
- package/dist/cli-bundle/chunks/{chunk-KKHIQOTN.js → chunk-LEKT4K7I.js} +74 -8
- package/dist/cli-bundle/chunks/chunk-LEKT4K7I.js.map +7 -0
- package/dist/cli-bundle/chunks/{contracts-CVBINC7C.js → chunk-MNZ7DRNC.js} +13 -10
- package/dist/cli-bundle/chunks/{contracts-CVBINC7C.js.map → chunk-MNZ7DRNC.js.map} +1 -1
- package/dist/cli-bundle/chunks/{chunk-2VK677OA.js → chunk-MTTXDAK4.js} +176 -125
- package/dist/cli-bundle/chunks/chunk-MTTXDAK4.js.map +7 -0
- package/dist/cli-bundle/chunks/{chunk-Q2266G4S.js → chunk-MZ7VNEVY.js} +8 -6
- package/dist/cli-bundle/chunks/{chunk-Q2266G4S.js.map → chunk-MZ7VNEVY.js.map} +1 -1
- package/dist/cli-bundle/chunks/{chunk-4EVY7CQN.js → chunk-N6DNM2FA.js} +2 -2
- package/dist/cli-bundle/chunks/{test-runs-5SLLV3XU.js → chunk-N7X4WP6L.js} +11 -8
- package/dist/cli-bundle/chunks/{test-runs-5SLLV3XU.js.map → chunk-N7X4WP6L.js.map} +1 -1
- package/dist/cli-bundle/chunks/{chunk-AZMPKLIA.js → chunk-NBFCNJ7Q.js} +177 -126
- package/dist/cli-bundle/chunks/chunk-NBFCNJ7Q.js.map +1 -0
- package/dist/cli-bundle/chunks/{chunk-YZR7UMZ6.js → chunk-NER3KUUS.js} +2 -2
- package/dist/cli-bundle/chunks/chunk-NNHHXJB2.js +20 -0
- package/dist/cli-bundle/chunks/chunk-NNHHXJB2.js.map +1 -0
- package/dist/cli-bundle/chunks/chunk-OBA2WH65.js +918 -0
- package/dist/cli-bundle/chunks/chunk-OBA2WH65.js.map +7 -0
- package/dist/cli-bundle/chunks/{chunk-DJ5S2LDY.js → chunk-OESSOFJ4.js} +14 -12
- package/dist/cli-bundle/chunks/{chunk-DJ5S2LDY.js.map → chunk-OESSOFJ4.js.map} +1 -1
- package/dist/cli-bundle/chunks/chunk-OK5NXCZB.js +238 -0
- package/dist/cli-bundle/chunks/chunk-OK5NXCZB.js.map +1 -0
- package/dist/cli-bundle/chunks/{chunk-TUV7SIWZ.js → chunk-OWTIRHX4.js} +28 -6
- package/dist/cli-bundle/chunks/chunk-OWTIRHX4.js.map +7 -0
- package/dist/cli-bundle/chunks/{chunk-PV5JS7MP.js → chunk-P3VRG72Q.js} +10 -8
- package/dist/cli-bundle/chunks/{chunk-PV5JS7MP.js.map → chunk-P3VRG72Q.js.map} +1 -1
- package/dist/cli-bundle/chunks/chunk-P5TFTLWW.js +1423 -0
- package/dist/cli-bundle/chunks/chunk-P5TFTLWW.js.map +7 -0
- package/dist/cli-bundle/chunks/chunk-P5YORJRH.js +1977 -0
- package/dist/cli-bundle/chunks/chunk-P5YORJRH.js.map +7 -0
- package/dist/cli-bundle/chunks/{chunk-WTXDLBSZ.js → chunk-PDXT6Q55.js} +2 -2
- package/dist/cli-bundle/chunks/{chunk-YZWXMDNH.js → chunk-PJ3A56YF.js} +46 -537
- package/dist/cli-bundle/chunks/chunk-PJ3A56YF.js.map +1 -0
- package/dist/cli-bundle/chunks/{test-runs-L3WKLO67.js → chunk-PPAJG4GB.js} +13 -10
- package/dist/cli-bundle/chunks/{test-runs-L3WKLO67.js.map → chunk-PPAJG4GB.js.map} +1 -1
- package/dist/cli-bundle/chunks/{chunk-LLQLLAKU.js → chunk-PPE4YUQM.js} +1670 -1573
- package/dist/cli-bundle/chunks/chunk-PPE4YUQM.js.map +1 -0
- package/dist/cli-bundle/chunks/{chunk-TO4KCIOT.js → chunk-QHZO65XW.js} +8 -6
- package/dist/cli-bundle/chunks/{chunk-TO4KCIOT.js.map → chunk-QHZO65XW.js.map} +1 -1
- package/dist/cli-bundle/chunks/{chunk-4OXNQHKQ.js → chunk-R3ZBLGTC.js} +9 -10
- package/dist/cli-bundle/chunks/{chunk-4OXNQHKQ.js.map → chunk-R3ZBLGTC.js.map} +2 -2
- package/dist/cli-bundle/chunks/chunk-RCT3YJOK.js +624 -0
- package/dist/cli-bundle/chunks/chunk-RCT3YJOK.js.map +1 -0
- package/dist/cli-bundle/chunks/{chunk-724VLYDJ.js → chunk-RX3HQSYG.js} +2 -2
- package/dist/cli-bundle/chunks/{chunk-PUVPC5DL.js → chunk-S4APD35C.js} +4 -4
- package/dist/cli-bundle/chunks/{chunk-T5RTYLZJ.js → chunk-S5AYOUT5.js} +8 -6
- package/dist/cli-bundle/chunks/{chunk-T5RTYLZJ.js.map → chunk-S5AYOUT5.js.map} +1 -1
- package/dist/cli-bundle/chunks/{chunk-75VMARGO.js → chunk-STPSZ2XY.js} +19 -744
- package/dist/cli-bundle/chunks/chunk-STPSZ2XY.js.map +1 -0
- package/dist/cli-bundle/chunks/{chunk-A2W3XKAD.js → chunk-T35XLYZF.js} +2 -2
- package/dist/cli-bundle/chunks/{chunk-N2LOJUBB.js → chunk-T3ABIMGW.js} +5 -3
- package/dist/cli-bundle/chunks/{chunk-N2LOJUBB.js.map → chunk-T3ABIMGW.js.map} +1 -1
- package/dist/cli-bundle/chunks/{chunk-FDNJMYZB.js → chunk-T3F4DF23.js} +16 -14
- package/dist/cli-bundle/chunks/{chunk-FDNJMYZB.js.map → chunk-T3F4DF23.js.map} +1 -1
- package/dist/cli-bundle/chunks/chunk-T4MX77AK.js +272 -0
- package/dist/cli-bundle/chunks/chunk-T4MX77AK.js.map +1 -0
- package/dist/cli-bundle/chunks/chunk-T5Y3QSNF.js +5354 -0
- package/dist/cli-bundle/chunks/chunk-T5Y3QSNF.js.map +1 -0
- package/dist/cli-bundle/chunks/{chunk-XFO2NJY6.js → chunk-TSPKZRRW.js} +33 -28
- package/dist/cli-bundle/chunks/chunk-TSPKZRRW.js.map +1 -0
- package/dist/cli-bundle/chunks/{chunk-ZZWMJVW2.js → chunk-TT42JUMF.js} +4 -4
- package/dist/cli-bundle/chunks/chunk-UHKX7I75.js +165 -0
- package/dist/cli-bundle/chunks/chunk-UHKX7I75.js.map +1 -0
- package/dist/cli-bundle/chunks/{chunk-7745CXNI.js → chunk-UI5BJ6DO.js} +1231 -1134
- package/dist/cli-bundle/chunks/chunk-UI5BJ6DO.js.map +7 -0
- package/dist/cli-bundle/chunks/chunk-US3T3W5J.js +1932 -0
- package/dist/cli-bundle/chunks/chunk-US3T3W5J.js.map +1 -0
- package/dist/cli-bundle/chunks/chunk-UZRDBL6W.js +175 -0
- package/dist/cli-bundle/chunks/chunk-UZRDBL6W.js.map +7 -0
- package/dist/cli-bundle/chunks/{chunk-B4O5S7I3.js → chunk-VUHVWI4C.js} +13 -3
- package/dist/cli-bundle/chunks/chunk-VUHVWI4C.js.map +7 -0
- package/dist/cli-bundle/chunks/{contracts-NLCDIZAT.js → chunk-VZIYHZDX.js} +11 -8
- package/dist/cli-bundle/chunks/{contracts-NLCDIZAT.js.map → chunk-VZIYHZDX.js.map} +1 -1
- package/dist/cli-bundle/chunks/{chunk-TGYDJEJH.js → chunk-WISPVC2E.js} +9 -7
- package/dist/cli-bundle/chunks/{chunk-TGYDJEJH.js.map → chunk-WISPVC2E.js.map} +1 -1
- package/dist/cli-bundle/chunks/chunk-WVSGSZ6J.js +5434 -0
- package/dist/cli-bundle/chunks/chunk-WVSGSZ6J.js.map +7 -0
- package/dist/cli-bundle/chunks/{chunk-MTB4PRA3.js → chunk-XQCG2JGW.js} +17 -749
- package/dist/cli-bundle/chunks/chunk-XQCG2JGW.js.map +7 -0
- package/dist/cli-bundle/chunks/chunk-Y76TWC45.js +550 -0
- package/dist/cli-bundle/chunks/chunk-Y76TWC45.js.map +7 -0
- package/dist/cli-bundle/chunks/{chunk-SL2ANJSV.js → chunk-YD5FML7K.js} +418 -2173
- package/dist/cli-bundle/chunks/chunk-YD5FML7K.js.map +1 -0
- package/dist/cli-bundle/chunks/{chunk-NHKXOMZ5.js → chunk-YFIE7YK6.js} +7 -5
- package/dist/cli-bundle/chunks/{chunk-NHKXOMZ5.js.map → chunk-YFIE7YK6.js.map} +1 -1
- package/dist/cli-bundle/chunks/{chunk-5FYY76HR.js → chunk-YMABYTNG.js} +32 -27
- package/dist/cli-bundle/chunks/chunk-YMABYTNG.js.map +7 -0
- package/dist/cli-bundle/chunks/{chunk-W5X3AHJN.js → chunk-YOF5VPKM.js} +2 -2
- package/dist/cli-bundle/chunks/{chunk-M6PR5BC6.js → chunk-YPPVU5GX.js} +11 -9
- package/dist/cli-bundle/chunks/{chunk-M6PR5BC6.js.map → chunk-YPPVU5GX.js.map} +1 -1
- package/dist/cli-bundle/chunks/{chunk-ZIEGTQCY.js → chunk-YQMMMONE.js} +6 -4
- package/dist/cli-bundle/chunks/{chunk-ZIEGTQCY.js.map → chunk-YQMMMONE.js.map} +1 -1
- package/dist/cli-bundle/chunks/{chunk-4IW7STMB.js → chunk-YSAH5FY5.js} +16 -14
- package/dist/cli-bundle/chunks/{chunk-4IW7STMB.js.map → chunk-YSAH5FY5.js.map} +1 -1
- package/dist/cli-bundle/chunks/{chunk-JYLFF7GJ.js → chunk-YZIR4R3U.js} +16 -14
- package/dist/cli-bundle/chunks/{chunk-JYLFF7GJ.js.map → chunk-YZIR4R3U.js.map} +1 -1
- package/dist/cli-bundle/chunks/{chunk-7G5SUU6F.js → chunk-Z2CRRZYF.js} +14 -12
- package/dist/cli-bundle/chunks/{chunk-7G5SUU6F.js.map → chunk-Z2CRRZYF.js.map} +1 -1
- package/dist/cli-bundle/chunks/chunk-ZAHXPXVY.js +533 -0
- package/dist/cli-bundle/chunks/chunk-ZAHXPXVY.js.map +1 -0
- package/dist/cli-bundle/chunks/{chunk-WOOB7PV7.js → chunk-ZCJAA3JK.js} +8 -6
- package/dist/cli-bundle/chunks/{chunk-WOOB7PV7.js.map → chunk-ZCJAA3JK.js.map} +1 -1
- package/dist/cli-bundle/chunks/{chunk-WSDIALO4.js → chunk-ZD34OFFQ.js} +5 -3
- package/dist/cli-bundle/chunks/{chunk-WSDIALO4.js.map → chunk-ZD34OFFQ.js.map} +1 -1
- package/dist/cli-bundle/chunks/{chunk-Q3XVLRCJ.js → chunk-ZJB3UV5U.js} +54 -58
- package/dist/cli-bundle/chunks/chunk-ZJB3UV5U.js.map +1 -0
- package/dist/cli-bundle/chunks/{chunk-MZ4NH46V.js → chunk-ZMD35NYG.js} +2 -2
- package/dist/cli-bundle/chunks/chunk-ZVDL32GJ.js +241 -0
- package/dist/cli-bundle/chunks/chunk-ZVDL32GJ.js.map +7 -0
- package/dist/cli-bundle/chunks/{claim-D6L33A5Y.js → claim-4DROPSIS.js} +30 -13
- package/dist/cli-bundle/chunks/claim-4DROPSIS.js.map +1 -0
- package/dist/cli-bundle/chunks/{claim-YAFUTPVK.js → claim-VX54TV5U.js} +29 -12
- package/dist/cli-bundle/chunks/claim-VX54TV5U.js.map +7 -0
- package/dist/cli-bundle/chunks/{close-TGYXG7TV.js → close-3YRR3XY6.js} +9 -7
- package/dist/cli-bundle/chunks/close-OB2Y4QP5.js +16 -0
- package/dist/cli-bundle/chunks/{close-many-SNA6LNZH.js → close-many-AP4MWU36.js} +21 -18
- package/dist/cli-bundle/chunks/{close-many-SNA6LNZH.js.map → close-many-AP4MWU36.js.map} +1 -1
- package/dist/cli-bundle/chunks/{close-many-4QSWKCRU.js → close-many-OMZIGZB4.js} +19 -16
- package/dist/cli-bundle/chunks/{close-many-4QSWKCRU.js.map → close-many-OMZIGZB4.js.map} +1 -1
- package/dist/cli-bundle/chunks/{comments-QC6ARR5X.js → comments-MIW5MZOX.js} +12 -9
- package/dist/cli-bundle/chunks/{comments-QC6ARR5X.js.map → comments-MIW5MZOX.js.map} +1 -1
- package/dist/cli-bundle/chunks/{comments-ZHVYGUVC.js → comments-SAG5LSKL.js} +14 -11
- package/dist/cli-bundle/chunks/{comments-ZHVYGUVC.js.map → comments-SAG5LSKL.js.map} +1 -1
- package/dist/cli-bundle/chunks/{config-O6W2EU2G.js → config-DJJKZB5R.js} +20 -17
- package/dist/cli-bundle/chunks/{config-O6W2EU2G.js.map → config-DJJKZB5R.js.map} +1 -1
- package/dist/cli-bundle/chunks/{config-XQRFJXJP.js → config-V57QD47V.js} +22 -19
- package/dist/cli-bundle/chunks/{config-XQRFJXJP.js.map → config-V57QD47V.js.map} +1 -1
- package/dist/cli-bundle/chunks/{context-IHE3IXN5.js → context-4OQGIPSO.js} +15 -12
- package/dist/cli-bundle/chunks/{context-WSYWBEUL.js → context-WLA6IAWE.js} +15 -12
- package/dist/cli-bundle/chunks/contracts-HXJLKCRI.js +12 -0
- package/dist/cli-bundle/chunks/contracts-OJEXMKVW.js +16 -0
- package/dist/cli-bundle/chunks/{copy-7MUQC44A.js → copy-LEE6P6EM.js} +17 -14
- package/dist/cli-bundle/chunks/{copy-7MUQC44A.js.map → copy-LEE6P6EM.js.map} +2 -2
- package/dist/cli-bundle/chunks/{copy-ANWXDJVC.js → copy-OTJOWFL6.js} +18 -15
- package/dist/cli-bundle/chunks/{copy-ANWXDJVC.js.map → copy-OTJOWFL6.js.map} +1 -1
- package/dist/cli-bundle/chunks/create-WKOZKPQR.js +30 -0
- package/dist/cli-bundle/chunks/{create-JIA2IFCO.js → create-XWWQFQ6S.js} +14 -12
- package/dist/cli-bundle/chunks/{delete-5OLYWQIC.js → delete-62JQTYT4.js} +10 -7
- package/dist/cli-bundle/chunks/{delete-5OLYWQIC.js.map → delete-62JQTYT4.js.map} +1 -1
- package/dist/cli-bundle/chunks/{delete-INHKCIRN.js → delete-HQKGRNRZ.js} +12 -9
- package/dist/cli-bundle/chunks/{delete-INHKCIRN.js.map → delete-HQKGRNRZ.js.map} +1 -1
- package/dist/cli-bundle/chunks/{deps-IYEID3QX.js → deps-55FTG6Z5.js} +12 -9
- package/dist/cli-bundle/chunks/{deps-IYEID3QX.js.map → deps-55FTG6Z5.js.map} +1 -1
- package/dist/cli-bundle/chunks/{deps-CCSWGZW7.js → deps-L2FPIAD3.js} +10 -7
- package/dist/cli-bundle/chunks/{deps-CCSWGZW7.js.map → deps-L2FPIAD3.js.map} +1 -1
- package/dist/cli-bundle/chunks/{docs-PKO7OEIM.js → docs-6CRCSVKK.js} +11 -9
- package/dist/cli-bundle/chunks/{docs-PKO7OEIM.js.map → docs-6CRCSVKK.js.map} +1 -1
- package/dist/cli-bundle/chunks/{docs-3XZK22WF.js → docs-S6UTOTO5.js} +9 -7
- package/dist/cli-bundle/chunks/{docs-3XZK22WF.js.map → docs-S6UTOTO5.js.map} +1 -1
- package/dist/cli-bundle/chunks/{eval-5XYP6NMY.js → eval-N6UHFWVO.js} +15 -11
- package/dist/cli-bundle/chunks/{eval-5XYP6NMY.js.map → eval-N6UHFWVO.js.map} +1 -1
- package/dist/cli-bundle/chunks/{eval-O4WGQYDI.js → eval-PHOTWYHI.js} +17 -13
- package/dist/cli-bundle/chunks/{eval-O4WGQYDI.js.map → eval-PHOTWYHI.js.map} +1 -1
- package/dist/cli-bundle/chunks/{extension-T7JNTAAA.js → extension-NBAH62ML.js} +17 -11
- package/dist/cli-bundle/chunks/{extension-PVGRRZZG.js → extension-ZF6ZZPOU.js} +17 -11
- package/dist/cli-bundle/chunks/{files-W7HH5EOD.js → files-6P57MRKL.js} +12 -9
- package/dist/cli-bundle/chunks/{files-W7HH5EOD.js.map → files-6P57MRKL.js.map} +1 -1
- package/dist/cli-bundle/chunks/{files-7IU56S6R.js → files-JPU3FNJ7.js} +14 -11
- package/dist/cli-bundle/chunks/{files-7IU56S6R.js.map → files-JPU3FNJ7.js.map} +1 -1
- package/dist/cli-bundle/chunks/{focus-6FA5KYRY.js → focus-LFZ6IDBR.js} +15 -11
- package/dist/cli-bundle/chunks/{focus-6FA5KYRY.js.map → focus-LFZ6IDBR.js.map} +1 -1
- package/dist/cli-bundle/chunks/{focus-CQ63JFDG.js → focus-WNMYCVYA.js} +13 -9
- package/dist/cli-bundle/chunks/{focus-CQ63JFDG.js.map → focus-WNMYCVYA.js.map} +1 -1
- package/dist/cli-bundle/chunks/{gc-3BG67KTO.js → gc-AETFKZ44.js} +10 -7
- package/dist/cli-bundle/chunks/{gc-3BG67KTO.js.map → gc-AETFKZ44.js.map} +1 -1
- package/dist/cli-bundle/chunks/{gc-PEZYGNVB.js → gc-RLBP4QVN.js} +12 -9
- package/dist/cli-bundle/chunks/{gc-PEZYGNVB.js.map → gc-RLBP4QVN.js.map} +1 -1
- package/dist/cli-bundle/chunks/{get-J6CSJ4SX.js → get-NH2MPBCI.js} +18 -15
- package/dist/cli-bundle/chunks/{get-J6CSJ4SX.js.map → get-NH2MPBCI.js.map} +1 -1
- package/dist/cli-bundle/chunks/{get-KJTKGNEQ.js → get-P4ZQXCPZ.js} +16 -13
- package/dist/cli-bundle/chunks/{get-KJTKGNEQ.js.map → get-P4ZQXCPZ.js.map} +1 -1
- package/dist/cli-bundle/chunks/{health-32UQICEL.js → health-3GVPMQBL.js} +36 -29
- package/dist/cli-bundle/chunks/{health-32UQICEL.js.map → health-3GVPMQBL.js.map} +1 -1
- package/dist/cli-bundle/chunks/{health-ZUZG5ULV.js → health-DNTM72GJ.js} +34 -27
- package/dist/cli-bundle/chunks/{health-ZUZG5ULV.js.map → health-DNTM72GJ.js.map} +1 -1
- package/dist/cli-bundle/chunks/history-RYKLC72X.js +20 -0
- package/dist/cli-bundle/chunks/{history-W6QVR6FA.js → history-SGPYRAFT.js} +10 -8
- package/dist/cli-bundle/chunks/{history-compact-JQ6ZGYSJ.js → history-compact-3F6VELO7.js} +18 -15
- package/dist/cli-bundle/chunks/{history-compact-JQ6ZGYSJ.js.map → history-compact-3F6VELO7.js.map} +1 -1
- package/dist/cli-bundle/chunks/{history-compact-F355EGL4.js → history-compact-656Y2TN4.js} +20 -17
- package/dist/cli-bundle/chunks/{history-compact-F355EGL4.js.map → history-compact-656Y2TN4.js.map} +1 -1
- package/dist/cli-bundle/chunks/history-redact-4H3FCKF3.js +21 -0
- package/dist/cli-bundle/chunks/{history-redact-TUWOUYX5.js → history-redact-54ICFKXM.js} +11 -9
- package/dist/cli-bundle/chunks/{history-repair-ZKS3LKPV.js → history-repair-4N6SDVHK.js} +17 -14
- package/dist/cli-bundle/chunks/{history-repair-ZKS3LKPV.js.map → history-repair-4N6SDVHK.js.map} +1 -1
- package/dist/cli-bundle/chunks/{history-repair-MPCAIKYE.js → history-repair-EVTO6LIH.js} +19 -16
- package/dist/cli-bundle/chunks/{history-repair-MPCAIKYE.js.map → history-repair-EVTO6LIH.js.map} +1 -1
- package/dist/cli-bundle/chunks/init-RPIPQUNV.js +32 -0
- package/dist/cli-bundle/chunks/init-SKQAESQS.js +28 -0
- package/dist/cli-bundle/chunks/{learnings-EYC3OKS2.js → learnings-2HTPZNGZ.js} +10 -8
- package/dist/cli-bundle/chunks/{learnings-EYC3OKS2.js.map → learnings-2HTPZNGZ.js.map} +1 -1
- package/dist/cli-bundle/chunks/{learnings-HKJJUVTA.js → learnings-YBIHY3D6.js} +12 -10
- package/dist/cli-bundle/chunks/{learnings-HKJJUVTA.js.map → learnings-YBIHY3D6.js.map} +1 -1
- package/dist/cli-bundle/chunks/{list-KN3TL5Y5.js → list-64LHZ3HM.js} +10 -8
- package/dist/cli-bundle/chunks/{list-HFD5737R.js → list-7LXBTEKI.js} +10 -8
- package/dist/cli-bundle/chunks/{next-DQUMFAHG.js → next-7ODPAQ4U.js} +22 -18
- package/dist/cli-bundle/chunks/{next-DQUMFAHG.js.map → next-7ODPAQ4U.js.map} +1 -1
- package/dist/cli-bundle/chunks/{next-JUEYC5HE.js → next-ODJUM4ZM.js} +24 -20
- package/dist/cli-bundle/chunks/{next-JUEYC5HE.js.map → next-ODJUM4ZM.js.map} +1 -1
- package/dist/cli-bundle/chunks/{notes-ZG6RLZXB.js → notes-72YXN5JX.js} +10 -8
- package/dist/cli-bundle/chunks/{notes-ZG6RLZXB.js.map → notes-72YXN5JX.js.map} +1 -1
- package/dist/cli-bundle/chunks/{notes-XATYT43P.js → notes-NJ7IQJX4.js} +12 -10
- package/dist/cli-bundle/chunks/{notes-XATYT43P.js.map → notes-NJ7IQJX4.js.map} +1 -1
- package/dist/cli-bundle/chunks/{plan-DVVLX7LK.js → plan-R4NDQ27E.js} +18 -15
- package/dist/cli-bundle/chunks/{plan-DVVLX7LK.js.map → plan-R4NDQ27E.js.map} +1 -1
- package/dist/cli-bundle/chunks/{plan-5NWQL2DH.js → plan-XWY5T67S.js} +20 -17
- package/dist/cli-bundle/chunks/{plan-5NWQL2DH.js.map → plan-XWY5T67S.js.map} +1 -1
- package/dist/cli-bundle/chunks/profile-XQWEQKS3.js +397 -0
- package/dist/cli-bundle/chunks/profile-XQWEQKS3.js.map +1 -0
- package/dist/cli-bundle/chunks/profile-YRDHLMRO.js +400 -0
- package/dist/cli-bundle/chunks/profile-YRDHLMRO.js.map +7 -0
- package/dist/cli-bundle/chunks/{register-list-query-WRS6ACUW.js → register-list-query-5H66WFYF.js} +22 -19
- package/dist/cli-bundle/chunks/{register-list-query-WRS6ACUW.js.map → register-list-query-5H66WFYF.js.map} +1 -1
- package/dist/cli-bundle/chunks/{register-list-query-PNRAHNIQ.js → register-list-query-FB3FNDLZ.js} +24 -21
- package/dist/cli-bundle/chunks/{register-list-query-PNRAHNIQ.js.map → register-list-query-FB3FNDLZ.js.map} +1 -1
- package/dist/cli-bundle/chunks/{register-mutation-K2MNRWGI.js → register-mutation-UJO23C7R.js} +42 -39
- package/dist/cli-bundle/chunks/{register-mutation-K2MNRWGI.js.map → register-mutation-UJO23C7R.js.map} +1 -1
- package/dist/cli-bundle/chunks/{register-mutation-ET6E4VLE.js → register-mutation-Z2ETYHKS.js} +40 -37
- package/dist/cli-bundle/chunks/{register-mutation-ET6E4VLE.js.map → register-mutation-Z2ETYHKS.js.map} +1 -1
- package/dist/cli-bundle/chunks/{register-operations-6DQRUTIX.js → register-operations-A3XAM5J7.js} +39 -36
- package/dist/cli-bundle/chunks/{register-operations-6DQRUTIX.js.map → register-operations-A3XAM5J7.js.map} +1 -1
- package/dist/cli-bundle/chunks/{register-operations-73UDWMVB.js → register-operations-SG7HBSUP.js} +37 -34
- package/dist/cli-bundle/chunks/{register-operations-73UDWMVB.js.map → register-operations-SG7HBSUP.js.map} +1 -1
- package/dist/cli-bundle/chunks/{register-setup-LYYCMQFV.js → register-setup-I45OGJUV.js} +25 -19
- package/dist/cli-bundle/chunks/{register-setup-LYYCMQFV.js.map → register-setup-I45OGJUV.js.map} +1 -1
- package/dist/cli-bundle/chunks/{register-setup-FXZJ2CEJ.js → register-setup-K6U3NVY5.js} +23 -17
- package/dist/cli-bundle/chunks/{register-setup-FXZJ2CEJ.js.map → register-setup-K6U3NVY5.js.map} +1 -1
- package/dist/cli-bundle/chunks/restore-PXOFL6AM.js +19 -0
- package/dist/cli-bundle/chunks/{restore-R6YJHQK3.js → restore-YJ2ET6AT.js} +11 -9
- package/dist/cli-bundle/chunks/{scheduling-shortcuts-OGODPUBL.js → scheduling-shortcuts-SSC4MYWQ.js} +14 -12
- package/dist/cli-bundle/chunks/{scheduling-shortcuts-OGODPUBL.js.map → scheduling-shortcuts-SSC4MYWQ.js.map} +1 -1
- package/dist/cli-bundle/chunks/{scheduling-shortcuts-LE4S7OI7.js → scheduling-shortcuts-ULRG7MNP.js} +16 -14
- package/dist/cli-bundle/chunks/{scheduling-shortcuts-LE4S7OI7.js.map → scheduling-shortcuts-ULRG7MNP.js.map} +1 -1
- package/dist/cli-bundle/chunks/{schema-ICCD3HOP.js → schema-2PUXCZ25.js} +10 -7
- package/dist/cli-bundle/chunks/{schema-RHH23PQX.js → schema-Y6DXXK2F.js} +10 -7
- package/dist/cli-bundle/chunks/{search-Z2VGP2Q5.js → search-3S72CTD6.js} +13 -10
- package/dist/cli-bundle/chunks/{search-HDDKOPFE.js → search-WNUNBQXO.js} +13 -10
- package/dist/cli-bundle/chunks/{stats-ETFP37MB.js → stats-IJYTRQGV.js} +13 -10
- package/dist/cli-bundle/chunks/{stats-ETFP37MB.js.map → stats-IJYTRQGV.js.map} +1 -1
- package/dist/cli-bundle/chunks/{stats-DHMRXHOB.js → stats-L2D5Y2O5.js} +15 -12
- package/dist/cli-bundle/chunks/{stats-DHMRXHOB.js.map → stats-L2D5Y2O5.js.map} +1 -1
- package/dist/cli-bundle/chunks/{telemetry-ZRBM22QD.js → telemetry-L2CVOKVN.js} +11 -8
- package/dist/cli-bundle/chunks/{telemetry-ZRBM22QD.js.map → telemetry-L2CVOKVN.js.map} +1 -1
- package/dist/cli-bundle/chunks/{telemetry-NUZNKDCP.js → telemetry-QBYWQA76.js} +13 -10
- package/dist/cli-bundle/chunks/{telemetry-NUZNKDCP.js.map → telemetry-QBYWQA76.js.map} +1 -1
- package/dist/cli-bundle/chunks/{test-XNKTIP4Y.js → test-DQ2QFJ7W.js} +21 -15
- package/dist/cli-bundle/chunks/test-W7QBLVJS.js +41 -0
- package/dist/cli-bundle/chunks/{test-all-APCBSXQI.js → test-all-636NTRTT.js} +26 -19
- package/dist/cli-bundle/chunks/{test-all-APCBSXQI.js.map → test-all-636NTRTT.js.map} +1 -1
- package/dist/cli-bundle/chunks/{test-all-KIK3OYBY.js → test-all-DWYK3RG6.js} +24 -17
- package/dist/cli-bundle/chunks/{test-all-KIK3OYBY.js.map → test-all-DWYK3RG6.js.map} +1 -1
- package/dist/cli-bundle/chunks/test-runs-245OINZR.js +28 -0
- package/dist/cli-bundle/chunks/test-runs-245OINZR.js.map +1 -0
- package/dist/cli-bundle/chunks/test-runs-ZRD4GCTT.js +24 -0
- package/dist/cli-bundle/chunks/test-runs-ZRD4GCTT.js.map +7 -0
- package/dist/cli-bundle/chunks/update-SFLZPJXX.js +30 -0
- package/dist/cli-bundle/chunks/update-SFLZPJXX.js.map +1 -0
- package/dist/cli-bundle/chunks/update-SJZ6S77U.js +26 -0
- package/dist/cli-bundle/chunks/update-SJZ6S77U.js.map +7 -0
- package/dist/cli-bundle/chunks/{update-many-XGTJ7QIU.js → update-many-DC7X3EWM.js} +32 -29
- package/dist/cli-bundle/chunks/{update-many-XGTJ7QIU.js.map → update-many-DC7X3EWM.js.map} +1 -1
- package/dist/cli-bundle/chunks/{update-many-GFCQG6ZQ.js → update-many-SLLAMHT7.js} +34 -31
- package/dist/cli-bundle/chunks/{update-many-GFCQG6ZQ.js.map → update-many-SLLAMHT7.js.map} +1 -1
- package/dist/cli-bundle/chunks/{upgrade-KJ3JGELR.js → upgrade-HFFXLZJA.js} +19 -12
- package/dist/cli-bundle/chunks/{upgrade-KJ3JGELR.js.map → upgrade-HFFXLZJA.js.map} +1 -1
- package/dist/cli-bundle/chunks/{upgrade-RBRQ7PQU.js → upgrade-UYQKM7RF.js} +21 -14
- package/dist/cli-bundle/chunks/{upgrade-RBRQ7PQU.js.map → upgrade-UYQKM7RF.js.map} +1 -1
- package/dist/cli-bundle/chunks/{validate-EW6TGC7R.js → validate-PA4FDTOV.js} +34 -27
- package/dist/cli-bundle/chunks/{validate-EW6TGC7R.js.map → validate-PA4FDTOV.js.map} +2 -2
- package/dist/cli-bundle/chunks/{validate-T6PR5WAL.js → validate-Z7L75YEJ.js} +35 -28
- package/dist/cli-bundle/chunks/{validate-T6PR5WAL.js.map → validate-Z7L75YEJ.js.map} +1 -1
- package/dist/cli-bundle/main.js +173 -57
- package/dist/cli-bundle/main.js.map +2 -2
- package/dist/cli-bundle/sdk-runtime.js +247 -0
- package/dist/cli-bundle/sdk-runtime.js.map +7 -0
- package/dist/cli-bundle/sdk-testing.js +101 -0
- package/dist/cli-bundle/sdk-testing.js.map +7 -0
- package/dist/cli-bundle/sdk.js +787 -0
- package/dist/cli-bundle/sdk.js.map +7 -0
- package/dist/core/config/nested-settings.d.ts +4 -3
- package/dist/core/config/nested-settings.js +17 -6
- package/dist/core/config/nested-settings.js.map +1 -1
- package/dist/core/extensions/activation-summary.d.ts +6 -0
- package/dist/core/extensions/activation-summary.js +10 -4
- package/dist/core/extensions/activation-summary.js.map +1 -1
- package/dist/core/extensions/capability-usage.d.ts +6 -0
- package/dist/core/extensions/capability-usage.js +10 -4
- package/dist/core/extensions/capability-usage.js.map +1 -1
- package/dist/core/extensions/extension-types.d.ts +5 -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.d.ts +3 -0
- package/dist/core/extensions/loader.js +11 -19
- package/dist/core/extensions/loader.js.map +1 -1
- package/dist/core/history/history-rewrite.js +3 -3
- package/dist/core/history/history-rewrite.js.map +1 -1
- package/dist/core/item/parent-reference-policy.d.ts +9 -1
- package/dist/core/item/parent-reference-policy.js +28 -4
- package/dist/core/item/parent-reference-policy.js.map +1 -1
- package/dist/core/lock/lock.d.ts +28 -1
- package/dist/core/lock/lock.js +254 -20
- package/dist/core/lock/lock.js.map +1 -1
- package/dist/core/search/background-refresh.js +7 -19
- package/dist/core/search/background-refresh.js.map +1 -1
- package/dist/core/search/http-client.d.ts +0 -1
- package/dist/core/search/http-client.js +3 -3
- package/dist/core/search/http-client.js.map +1 -1
- package/dist/core/shared/constants.js +3 -2
- package/dist/core/shared/constants.js.map +1 -1
- package/dist/core/shared/errors.d.ts +1 -0
- package/dist/core/shared/errors.js +2 -2
- package/dist/core/shared/errors.js.map +1 -1
- package/dist/core/shared/primitives.d.ts +12 -0
- package/dist/core/shared/primitives.js +29 -2
- package/dist/core/shared/primitives.js.map +1 -1
- package/dist/core/store/item-store.js +3 -3
- package/dist/core/store/item-store.js.map +1 -1
- package/dist/core/store/settings-validator.d.ts +1 -0
- package/dist/core/store/settings-validator.js +6 -3
- package/dist/core/store/settings-validator.js.map +1 -1
- package/dist/core/store/settings.js +3 -3
- package/dist/core/store/settings.js.map +1 -1
- package/dist/core/validate/fix-planning.d.ts +0 -2
- package/dist/core/validate/fix-planning.js +3 -3
- package/dist/core/validate/fix-planning.js.map +1 -1
- package/dist/sdk/cli-contracts/commander-mutation-options.js +3 -2
- package/dist/sdk/cli-contracts/commander-mutation-options.js.map +1 -1
- package/dist/sdk/cli-contracts/flag-contracts.js +3 -2
- package/dist/sdk/cli-contracts/flag-contracts.js.map +1 -1
- package/dist/sdk/errors.d.ts +21 -2
- package/dist/sdk/errors.js +8 -2
- package/dist/sdk/errors.js.map +1 -1
- package/dist/sdk/package-import-adapters.js +3 -3
- package/dist/sdk/package-import-adapters.js.map +1 -1
- package/dist/sdk/testing.js +41 -19
- package/dist/sdk/testing.js.map +1 -1
- package/dist/types.d.ts +6 -0
- package/dist/types.js +2 -2
- package/dist/types.js.map +1 -1
- package/docs/ARCHITECTURE.md +27 -0
- package/docs/CONFIGURATION.md +3 -0
- package/docs/README.md +1 -0
- package/docs/SDK_PRIMITIVE_INVENTORY.md +55 -0
- package/docs/TESTING.md +5 -1
- package/docs/examples/ci/github-actions-pm-extension-gate.yml +5 -5
- package/docs/examples/ci/gitlab-ci-pm-extension-gate.yml +1 -1
- package/docs/examples/ci/jenkins-pm-extension-gate.Jenkinsfile +1 -1
- package/package.json +11 -24
- package/packages/pm-beads/extensions/beads/package.json +3 -0
- package/packages/pm-beads/extensions/beads/runtime-loader.ts +24 -2
- package/packages/pm-calendar/extensions/calendar/package.json +3 -0
- package/packages/pm-command-kit/extensions/command-kit/package.json +3 -0
- package/packages/pm-governance-audit/extensions/governance-audit/package.json +3 -0
- package/packages/pm-guide-shell/extensions/guide-shell/package.json +3 -0
- package/packages/pm-kanban/extensions/kanban/package.json +3 -0
- package/packages/pm-lifecycle-hooks/extensions/lifecycle-hooks/package.json +3 -0
- package/packages/pm-search-advanced/extensions/search-advanced/package.json +3 -0
- package/packages/pm-templates/extensions/templates/package.json +3 -0
- package/packages/pm-todos/extensions/todos/package.json +3 -0
- package/packages/pm-todos/extensions/todos/runtime-loader.ts +21 -3
- package/scripts/bundle-cli.mjs +12 -2
- package/dist/cli-bundle/chunks/activity-IDS5GSYG.js +0 -16
- package/dist/cli-bundle/chunks/chunk-2VK677OA.js.map +0 -7
- package/dist/cli-bundle/chunks/chunk-5FYY76HR.js.map +0 -7
- package/dist/cli-bundle/chunks/chunk-75VMARGO.js.map +0 -1
- package/dist/cli-bundle/chunks/chunk-7745CXNI.js.map +0 -7
- package/dist/cli-bundle/chunks/chunk-AOP2EMK3.js.map +0 -1
- package/dist/cli-bundle/chunks/chunk-AZMPKLIA.js.map +0 -1
- package/dist/cli-bundle/chunks/chunk-B4O5S7I3.js.map +0 -7
- package/dist/cli-bundle/chunks/chunk-BDDYM4LH.js.map +0 -7
- package/dist/cli-bundle/chunks/chunk-CN4OAA2G.js.map +0 -7
- package/dist/cli-bundle/chunks/chunk-EH23N5FX.js.map +0 -1
- package/dist/cli-bundle/chunks/chunk-FMWQRMHS.js.map +0 -1
- package/dist/cli-bundle/chunks/chunk-J4KNRDI3.js.map +0 -1
- package/dist/cli-bundle/chunks/chunk-KKHIQOTN.js.map +0 -7
- package/dist/cli-bundle/chunks/chunk-LLQLLAKU.js.map +0 -1
- package/dist/cli-bundle/chunks/chunk-M34MVAOP.js.map +0 -1
- package/dist/cli-bundle/chunks/chunk-MTB4PRA3.js.map +0 -7
- package/dist/cli-bundle/chunks/chunk-MZG6I2Q2.js.map +0 -7
- package/dist/cli-bundle/chunks/chunk-NGDK3KEZ.js.map +0 -7
- package/dist/cli-bundle/chunks/chunk-Q3XVLRCJ.js.map +0 -1
- package/dist/cli-bundle/chunks/chunk-SBNT6SLO.js.map +0 -7
- package/dist/cli-bundle/chunks/chunk-SL2ANJSV.js.map +0 -1
- package/dist/cli-bundle/chunks/chunk-TUV7SIWZ.js.map +0 -7
- package/dist/cli-bundle/chunks/chunk-UGDONITK.js.map +0 -7
- package/dist/cli-bundle/chunks/chunk-UYLA5ROU.js.map +0 -1
- package/dist/cli-bundle/chunks/chunk-WBWRQS32.js.map +0 -1
- package/dist/cli-bundle/chunks/chunk-XFO2NJY6.js.map +0 -1
- package/dist/cli-bundle/chunks/chunk-XQCWTSLO.js.map +0 -1
- package/dist/cli-bundle/chunks/chunk-YZWXMDNH.js.map +0 -1
- package/dist/cli-bundle/chunks/chunk-Z4DGFQDH.js.map +0 -1
- package/dist/cli-bundle/chunks/claim-D6L33A5Y.js.map +0 -1
- package/dist/cli-bundle/chunks/claim-YAFUTPVK.js.map +0 -7
- package/dist/cli-bundle/chunks/close-KLDLHAOP.js +0 -14
- package/dist/cli-bundle/chunks/create-AJ6HUR5W.js +0 -28
- package/dist/cli-bundle/chunks/history-IOH6FKG7.js +0 -18
- package/dist/cli-bundle/chunks/history-redact-VVDOARNO.js +0 -19
- package/dist/cli-bundle/chunks/init-CZLEEE6Q.js +0 -22
- package/dist/cli-bundle/chunks/init-MAA6UMNQ.js +0 -26
- package/dist/cli-bundle/chunks/profile-54DZ4CLB.js +0 -1205
- package/dist/cli-bundle/chunks/profile-54DZ4CLB.js.map +0 -1
- package/dist/cli-bundle/chunks/profile-PLIQVEOY.js +0 -1243
- package/dist/cli-bundle/chunks/profile-PLIQVEOY.js.map +0 -7
- package/dist/cli-bundle/chunks/restore-L27TMMCF.js +0 -17
- package/dist/cli-bundle/chunks/test-H36PM746.js +0 -35
- package/dist/cli-bundle/chunks/update-RQKI3AMW.js +0 -24
- package/dist/cli-bundle/chunks/update-ZM7NJWHY.js +0 -28
- /package/dist/cli-bundle/chunks/{activity-IDS5GSYG.js.map → activity-4XQIDNM5.js.map} +0 -0
- /package/dist/cli-bundle/chunks/{activity-OENQCYZD.js.map → activity-YKAKZTZ4.js.map} +0 -0
- /package/dist/cli-bundle/chunks/{chunk-4SHME4VR.js.map → chunk-5JE6SMYS.js.map} +0 -0
- /package/dist/cli-bundle/chunks/{chunk-4EVY7CQN.js.map → chunk-N6DNM2FA.js.map} +0 -0
- /package/dist/cli-bundle/chunks/{chunk-YZR7UMZ6.js.map → chunk-NER3KUUS.js.map} +0 -0
- /package/dist/cli-bundle/chunks/{chunk-WTXDLBSZ.js.map → chunk-PDXT6Q55.js.map} +0 -0
- /package/dist/cli-bundle/chunks/{chunk-724VLYDJ.js.map → chunk-RX3HQSYG.js.map} +0 -0
- /package/dist/cli-bundle/chunks/{chunk-PUVPC5DL.js.map → chunk-S4APD35C.js.map} +0 -0
- /package/dist/cli-bundle/chunks/{chunk-A2W3XKAD.js.map → chunk-T35XLYZF.js.map} +0 -0
- /package/dist/cli-bundle/chunks/{chunk-ZZWMJVW2.js.map → chunk-TT42JUMF.js.map} +0 -0
- /package/dist/cli-bundle/chunks/{chunk-W5X3AHJN.js.map → chunk-YOF5VPKM.js.map} +0 -0
- /package/dist/cli-bundle/chunks/{chunk-MZ4NH46V.js.map → chunk-ZMD35NYG.js.map} +0 -0
- /package/dist/cli-bundle/chunks/{close-TGYXG7TV.js.map → close-3YRR3XY6.js.map} +0 -0
- /package/dist/cli-bundle/chunks/{close-KLDLHAOP.js.map → close-OB2Y4QP5.js.map} +0 -0
- /package/dist/cli-bundle/chunks/{context-IHE3IXN5.js.map → context-4OQGIPSO.js.map} +0 -0
- /package/dist/cli-bundle/chunks/{context-WSYWBEUL.js.map → context-WLA6IAWE.js.map} +0 -0
- /package/dist/cli-bundle/chunks/{create-AJ6HUR5W.js.map → contracts-HXJLKCRI.js.map} +0 -0
- /package/dist/cli-bundle/chunks/{create-JIA2IFCO.js.map → contracts-OJEXMKVW.js.map} +0 -0
- /package/dist/cli-bundle/chunks/{extension-T7JNTAAA.js.map → create-WKOZKPQR.js.map} +0 -0
- /package/dist/cli-bundle/chunks/{extension-PVGRRZZG.js.map → create-XWWQFQ6S.js.map} +0 -0
- /package/dist/cli-bundle/chunks/{history-IOH6FKG7.js.map → extension-NBAH62ML.js.map} +0 -0
- /package/dist/cli-bundle/chunks/{history-W6QVR6FA.js.map → extension-ZF6ZZPOU.js.map} +0 -0
- /package/dist/cli-bundle/chunks/{history-redact-VVDOARNO.js.map → history-RYKLC72X.js.map} +0 -0
- /package/dist/cli-bundle/chunks/{history-redact-TUWOUYX5.js.map → history-SGPYRAFT.js.map} +0 -0
- /package/dist/cli-bundle/chunks/{init-CZLEEE6Q.js.map → history-redact-4H3FCKF3.js.map} +0 -0
- /package/dist/cli-bundle/chunks/{init-MAA6UMNQ.js.map → history-redact-54ICFKXM.js.map} +0 -0
- /package/dist/cli-bundle/chunks/{list-HFD5737R.js.map → init-RPIPQUNV.js.map} +0 -0
- /package/dist/cli-bundle/chunks/{list-KN3TL5Y5.js.map → init-SKQAESQS.js.map} +0 -0
- /package/dist/cli-bundle/chunks/{restore-L27TMMCF.js.map → list-64LHZ3HM.js.map} +0 -0
- /package/dist/cli-bundle/chunks/{restore-R6YJHQK3.js.map → list-7LXBTEKI.js.map} +0 -0
- /package/dist/cli-bundle/chunks/{schema-ICCD3HOP.js.map → restore-PXOFL6AM.js.map} +0 -0
- /package/dist/cli-bundle/chunks/{schema-RHH23PQX.js.map → restore-YJ2ET6AT.js.map} +0 -0
- /package/dist/cli-bundle/chunks/{search-HDDKOPFE.js.map → schema-2PUXCZ25.js.map} +0 -0
- /package/dist/cli-bundle/chunks/{search-Z2VGP2Q5.js.map → schema-Y6DXXK2F.js.map} +0 -0
- /package/dist/cli-bundle/chunks/{test-XNKTIP4Y.js.map → search-3S72CTD6.js.map} +0 -0
- /package/dist/cli-bundle/chunks/{test-H36PM746.js.map → search-WNUNBQXO.js.map} +0 -0
- /package/dist/cli-bundle/chunks/{update-ZM7NJWHY.js.map → test-DQ2QFJ7W.js.map} +0 -0
- /package/dist/cli-bundle/chunks/{update-RQKI3AMW.js.map → test-W7QBLVJS.js.map} +0 -0
|
@@ -1,3 +1,36 @@
|
|
|
1
|
+
import {
|
|
2
|
+
acquireLock,
|
|
3
|
+
listAllFrontMatterLight
|
|
4
|
+
} from "./chunk-3U3VEWK6.js";
|
|
5
|
+
import {
|
|
6
|
+
BUILTIN_STATUS_IDS,
|
|
7
|
+
TYPE_PRESET_NAMES,
|
|
8
|
+
assertStatusTokensAvailable,
|
|
9
|
+
normalizeAddFieldInput,
|
|
10
|
+
normalizeAddStatusInput,
|
|
11
|
+
normalizeFieldKey,
|
|
12
|
+
normalizeStatusToken,
|
|
13
|
+
normalizeTypePresetName,
|
|
14
|
+
parseFieldsFile,
|
|
15
|
+
parseStatusDefsFile,
|
|
16
|
+
removeField,
|
|
17
|
+
removeStatusDef,
|
|
18
|
+
resolveTypePresetDefinitions,
|
|
19
|
+
serializeFieldsFile,
|
|
20
|
+
serializeStatusDefsFile,
|
|
21
|
+
upsertField,
|
|
22
|
+
upsertStatusDef
|
|
23
|
+
} from "./chunk-Y76TWC45.js";
|
|
24
|
+
import {
|
|
25
|
+
nowIso
|
|
26
|
+
} from "./chunk-DRBV5UC2.js";
|
|
27
|
+
import {
|
|
28
|
+
PmCliError,
|
|
29
|
+
getActiveExtensionRegistrations,
|
|
30
|
+
readSettings,
|
|
31
|
+
resolveGovernanceKnobs,
|
|
32
|
+
runActiveOnWriteHooks
|
|
33
|
+
} from "./chunk-P5YORJRH.js";
|
|
1
34
|
import {
|
|
2
35
|
assertAliasesAvailable,
|
|
3
36
|
assertTypeFolderAvailable,
|
|
@@ -8,560 +41,27 @@ import {
|
|
|
8
41
|
removeItemType,
|
|
9
42
|
serializeItemTypesFile,
|
|
10
43
|
upsertItemType
|
|
11
|
-
} from "./chunk-
|
|
12
|
-
import {
|
|
13
|
-
acquireLock,
|
|
14
|
-
listAllFrontMatterLight
|
|
15
|
-
} from "./chunk-CN4OAA2G.js";
|
|
16
|
-
import {
|
|
17
|
-
evictOldestMemoEntries,
|
|
18
|
-
nowIso
|
|
19
|
-
} from "./chunk-MZG6I2Q2.js";
|
|
44
|
+
} from "./chunk-T35XLYZF.js";
|
|
20
45
|
import {
|
|
21
46
|
DEFAULT_RUNTIME_SCHEMA_FILE_PATHS,
|
|
22
|
-
DEFAULT_RUNTIME_STATUS_DEFINITIONS,
|
|
23
47
|
EXIT_CODE,
|
|
24
|
-
PmCliError,
|
|
25
|
-
RUNTIME_FIELD_COMMAND_VALUES,
|
|
26
|
-
RUNTIME_FIELD_TYPE_VALUES,
|
|
27
|
-
RUNTIME_STATUS_ROLE_VALUES,
|
|
28
48
|
filePathForSchemaSection,
|
|
29
|
-
getActiveExtensionRegistrations,
|
|
30
49
|
getSettingsPath,
|
|
31
50
|
normalizeRuntimeSchemaSettings,
|
|
32
51
|
pathExists,
|
|
33
52
|
readFileIfExists,
|
|
34
|
-
readSettings,
|
|
35
|
-
resolveGovernanceKnobs,
|
|
36
53
|
resolveItemTypeRegistry,
|
|
37
54
|
resolvePmRoot,
|
|
38
55
|
resolveRuntimeFieldRegistry,
|
|
39
56
|
resolveRuntimeStatusRegistry,
|
|
40
|
-
runActiveOnWriteHooks,
|
|
41
57
|
toDefaultFolder,
|
|
42
58
|
writeFileAtomic
|
|
43
|
-
} from "./chunk-
|
|
59
|
+
} from "./chunk-5VVUKE3U.js";
|
|
44
60
|
|
|
45
61
|
// dist/cli/commands/schema.js
|
|
46
62
|
import path from "node:path";
|
|
47
63
|
import { mkdir } from "node:fs/promises";
|
|
48
64
|
|
|
49
|
-
// dist/core/schema/status-defs-file.js
|
|
50
|
-
!(function() {
|
|
51
|
-
try {
|
|
52
|
-
var e = "undefined" != typeof window ? window : "undefined" != typeof global ? global : "undefined" != typeof globalThis ? globalThis : "undefined" != typeof self ? self : {}, n = new e.Error().stack;
|
|
53
|
-
n && (e._sentryDebugIds = e._sentryDebugIds || {}, e._sentryDebugIds[n] = "4ca30149-d989-52dc-8614-81b993d3c9a5");
|
|
54
|
-
} catch (e2) {
|
|
55
|
-
}
|
|
56
|
-
})();
|
|
57
|
-
var RUNTIME_STATUS_ROLE_SET = new Set(RUNTIME_STATUS_ROLE_VALUES);
|
|
58
|
-
var STATUS_TOKEN_MEMO_MAX_ENTRIES = 2e3;
|
|
59
|
-
var statusTokenMemo = /* @__PURE__ */ new Map();
|
|
60
|
-
var BUILTIN_STATUS_IDS = new Set(DEFAULT_RUNTIME_STATUS_DEFINITIONS.map((definition) => normalizeStatusToken(definition.id)).filter((id) => id.length > 0));
|
|
61
|
-
function normalizeStatusToken(value) {
|
|
62
|
-
if (typeof value !== "string") {
|
|
63
|
-
return "";
|
|
64
|
-
}
|
|
65
|
-
const memoized = statusTokenMemo.get(value);
|
|
66
|
-
if (memoized !== void 0) {
|
|
67
|
-
return memoized;
|
|
68
|
-
}
|
|
69
|
-
const normalized = value.trim().toLowerCase().replaceAll(/[\s-]+/g, "_");
|
|
70
|
-
if (statusTokenMemo.size >= STATUS_TOKEN_MEMO_MAX_ENTRIES) {
|
|
71
|
-
evictOldestMemoEntries(statusTokenMemo);
|
|
72
|
-
}
|
|
73
|
-
statusTokenMemo.set(value, normalized);
|
|
74
|
-
return normalized;
|
|
75
|
-
}
|
|
76
|
-
function dedupeTokens(values) {
|
|
77
|
-
const seen = /* @__PURE__ */ new Set();
|
|
78
|
-
for (const value of values) {
|
|
79
|
-
const token = normalizeStatusToken(value);
|
|
80
|
-
if (token.length > 0) {
|
|
81
|
-
seen.add(token);
|
|
82
|
-
}
|
|
83
|
-
}
|
|
84
|
-
return [...seen].sort((left, right) => left.localeCompare(right));
|
|
85
|
-
}
|
|
86
|
-
function normalizeAddStatusInput(raw) {
|
|
87
|
-
const id = normalizeStatusToken(raw.id);
|
|
88
|
-
if (id.length === 0) {
|
|
89
|
-
throw new Error("Status id must not be empty.");
|
|
90
|
-
}
|
|
91
|
-
if (BUILTIN_STATUS_IDS.has(id)) {
|
|
92
|
-
throw new Error(`Cannot add-status the built-in status "${id}". Built-in statuses are reserved: ${[...BUILTIN_STATUS_IDS].join(", ")}.`);
|
|
93
|
-
}
|
|
94
|
-
let roles;
|
|
95
|
-
if (raw.roles !== void 0) {
|
|
96
|
-
roles = [];
|
|
97
|
-
const seenRoles = /* @__PURE__ */ new Set();
|
|
98
|
-
for (const rawRole of raw.roles) {
|
|
99
|
-
const role = typeof rawRole === "string" ? rawRole.trim().toLowerCase() : "";
|
|
100
|
-
if (role.length === 0) {
|
|
101
|
-
continue;
|
|
102
|
-
}
|
|
103
|
-
if (!RUNTIME_STATUS_ROLE_SET.has(role)) {
|
|
104
|
-
throw new Error(`Invalid status role "${rawRole}". Allowed roles: ${RUNTIME_STATUS_ROLE_VALUES.join(", ")}.`);
|
|
105
|
-
}
|
|
106
|
-
if (!seenRoles.has(role)) {
|
|
107
|
-
seenRoles.add(role);
|
|
108
|
-
roles.push(role);
|
|
109
|
-
}
|
|
110
|
-
}
|
|
111
|
-
}
|
|
112
|
-
const aliases = raw.aliases === void 0 ? void 0 : dedupeTokens(raw.aliases).filter((alias) => alias !== id);
|
|
113
|
-
const description = raw.description?.trim();
|
|
114
|
-
const order = typeof raw.order === "number" && Number.isFinite(raw.order) ? Math.trunc(raw.order) : void 0;
|
|
115
|
-
return {
|
|
116
|
-
id,
|
|
117
|
-
roles,
|
|
118
|
-
aliases,
|
|
119
|
-
description: description && description.length > 0 ? description : void 0,
|
|
120
|
-
order
|
|
121
|
-
};
|
|
122
|
-
}
|
|
123
|
-
function selectStatusesArray(parsed) {
|
|
124
|
-
if (Array.isArray(parsed)) {
|
|
125
|
-
return parsed;
|
|
126
|
-
}
|
|
127
|
-
if (typeof parsed !== "object" || parsed === null) {
|
|
128
|
-
return void 0;
|
|
129
|
-
}
|
|
130
|
-
const record = parsed;
|
|
131
|
-
if (Array.isArray(record.statuses)) {
|
|
132
|
-
return record.statuses;
|
|
133
|
-
}
|
|
134
|
-
if (Array.isArray(record.definitions)) {
|
|
135
|
-
return record.definitions;
|
|
136
|
-
}
|
|
137
|
-
return void 0;
|
|
138
|
-
}
|
|
139
|
-
function extractStatusDefinitions(parsed) {
|
|
140
|
-
const candidate = selectStatusesArray(parsed);
|
|
141
|
-
if (!candidate) {
|
|
142
|
-
return [];
|
|
143
|
-
}
|
|
144
|
-
const definitions = [];
|
|
145
|
-
for (const entry of candidate) {
|
|
146
|
-
if (typeof entry !== "object" || entry === null || Array.isArray(entry)) {
|
|
147
|
-
continue;
|
|
148
|
-
}
|
|
149
|
-
const record = entry;
|
|
150
|
-
if (typeof record.id !== "string" || record.id.trim().length === 0) {
|
|
151
|
-
continue;
|
|
152
|
-
}
|
|
153
|
-
definitions.push(record);
|
|
154
|
-
}
|
|
155
|
-
return definitions;
|
|
156
|
-
}
|
|
157
|
-
function parseStatusDefsFile(raw) {
|
|
158
|
-
if (raw === null || raw === void 0 || raw.trim().length === 0) {
|
|
159
|
-
return { statuses: [] };
|
|
160
|
-
}
|
|
161
|
-
let parsed;
|
|
162
|
-
try {
|
|
163
|
-
parsed = JSON.parse(raw);
|
|
164
|
-
} catch {
|
|
165
|
-
throw new Error("schema/statuses.json contains invalid JSON.");
|
|
166
|
-
}
|
|
167
|
-
return { statuses: extractStatusDefinitions(parsed) };
|
|
168
|
-
}
|
|
169
|
-
function serializeStatusDefsFile(file) {
|
|
170
|
-
return `${JSON.stringify({ statuses: file.statuses }, null, 2)}
|
|
171
|
-
`;
|
|
172
|
-
}
|
|
173
|
-
function upsertStatusDef(file, input, baseDefinition) {
|
|
174
|
-
const statuses = file.statuses.slice();
|
|
175
|
-
const existingIndex = statuses.findIndex((definition) => normalizeStatusToken(definition.id) === input.id);
|
|
176
|
-
const existing = existingIndex >= 0 ? statuses[existingIndex] : baseDefinition;
|
|
177
|
-
const next = {
|
|
178
|
-
...existing,
|
|
179
|
-
id: input.id
|
|
180
|
-
};
|
|
181
|
-
if (input.roles !== void 0) {
|
|
182
|
-
if (input.roles.length > 0) {
|
|
183
|
-
next.roles = [...input.roles];
|
|
184
|
-
} else if (next.roles !== void 0) {
|
|
185
|
-
delete next.roles;
|
|
186
|
-
}
|
|
187
|
-
}
|
|
188
|
-
if (input.aliases !== void 0) {
|
|
189
|
-
if (input.aliases.length > 0) {
|
|
190
|
-
next.aliases = [...input.aliases];
|
|
191
|
-
} else if (next.aliases !== void 0) {
|
|
192
|
-
delete next.aliases;
|
|
193
|
-
}
|
|
194
|
-
}
|
|
195
|
-
if (input.description !== void 0) {
|
|
196
|
-
next.description = input.description;
|
|
197
|
-
}
|
|
198
|
-
if (input.order !== void 0) {
|
|
199
|
-
next.order = input.order;
|
|
200
|
-
}
|
|
201
|
-
if (existingIndex >= 0) {
|
|
202
|
-
statuses[existingIndex] = next;
|
|
203
|
-
} else {
|
|
204
|
-
statuses.push(next);
|
|
205
|
-
}
|
|
206
|
-
return {
|
|
207
|
-
file: { statuses },
|
|
208
|
-
definition: next,
|
|
209
|
-
// "replaced" reflects whether the status already existed effectively (in the
|
|
210
|
-
// file OR in resolved settings), so the CLI reports "Updated" vs "Registered"
|
|
211
|
-
// correctly even when the prior definition lived only in settings.
|
|
212
|
-
replaced: existing !== void 0
|
|
213
|
-
};
|
|
214
|
-
}
|
|
215
|
-
function removeStatusDef(file, id) {
|
|
216
|
-
const normalizedId = normalizeStatusToken(id);
|
|
217
|
-
if (normalizedId.length === 0) {
|
|
218
|
-
throw new Error("Status id must not be empty.");
|
|
219
|
-
}
|
|
220
|
-
if (BUILTIN_STATUS_IDS.has(normalizedId)) {
|
|
221
|
-
throw new Error(`Cannot remove built-in status "${normalizedId}". Built-in statuses are reserved: ${[...BUILTIN_STATUS_IDS].join(", ")}.`);
|
|
222
|
-
}
|
|
223
|
-
const statuses = file.statuses.slice();
|
|
224
|
-
const existingIndex = statuses.findIndex((definition2) => normalizeStatusToken(definition2.id) === normalizedId);
|
|
225
|
-
if (existingIndex < 0) {
|
|
226
|
-
return { file: { statuses }, removed: false };
|
|
227
|
-
}
|
|
228
|
-
const [definition] = statuses.splice(existingIndex, 1);
|
|
229
|
-
return { file: { statuses }, removed: true, definition };
|
|
230
|
-
}
|
|
231
|
-
function assertStatusTokensAvailable(input, resolvedAliasToId) {
|
|
232
|
-
const candidates = [input.id, ...input.aliases ?? []];
|
|
233
|
-
for (const candidate of candidates) {
|
|
234
|
-
const token = normalizeStatusToken(candidate);
|
|
235
|
-
if (token.length === 0) {
|
|
236
|
-
continue;
|
|
237
|
-
}
|
|
238
|
-
const owner = resolvedAliasToId.get(token);
|
|
239
|
-
if (owner !== void 0 && owner !== input.id) {
|
|
240
|
-
throw new Error(`Status token "${token}" already belongs to status "${owner}". Choose a different id/alias to avoid shadowing it.`);
|
|
241
|
-
}
|
|
242
|
-
}
|
|
243
|
-
}
|
|
244
|
-
|
|
245
|
-
// dist/core/schema/fields-file.js
|
|
246
|
-
!(function() {
|
|
247
|
-
try {
|
|
248
|
-
var e = "undefined" != typeof window ? window : "undefined" != typeof global ? global : "undefined" != typeof globalThis ? globalThis : "undefined" != typeof self ? self : {}, n = new e.Error().stack;
|
|
249
|
-
n && (e._sentryDebugIds = e._sentryDebugIds || {}, e._sentryDebugIds[n] = "22996f94-e5ce-5558-bdbf-f44e7d7f9073");
|
|
250
|
-
} catch (e2) {
|
|
251
|
-
}
|
|
252
|
-
})();
|
|
253
|
-
var RUNTIME_FIELD_TYPE_SET = new Set(RUNTIME_FIELD_TYPE_VALUES);
|
|
254
|
-
var RUNTIME_FIELD_COMMAND_SET = new Set(RUNTIME_FIELD_COMMAND_VALUES);
|
|
255
|
-
var BUILTIN_FIELD_KEYS = /* @__PURE__ */ new Set([
|
|
256
|
-
"id",
|
|
257
|
-
"title",
|
|
258
|
-
"type",
|
|
259
|
-
"status",
|
|
260
|
-
"priority",
|
|
261
|
-
"tags",
|
|
262
|
-
"assignee",
|
|
263
|
-
"parent",
|
|
264
|
-
"description",
|
|
265
|
-
"body",
|
|
266
|
-
"created_at",
|
|
267
|
-
"updated_at",
|
|
268
|
-
"closed_at",
|
|
269
|
-
"author",
|
|
270
|
-
"deadline",
|
|
271
|
-
"estimate",
|
|
272
|
-
"sprint",
|
|
273
|
-
"release",
|
|
274
|
-
"risk",
|
|
275
|
-
"confidence",
|
|
276
|
-
"reviewer",
|
|
277
|
-
"resolution",
|
|
278
|
-
"expected",
|
|
279
|
-
"actual"
|
|
280
|
-
]);
|
|
281
|
-
var DEFAULT_FIELD_COMMANDS = ["create", "update"];
|
|
282
|
-
function normalizeFieldKey(value) {
|
|
283
|
-
return typeof value === "string" ? value.trim().toLowerCase().replaceAll(/[\s-]+/g, "_") : "";
|
|
284
|
-
}
|
|
285
|
-
function normalizeCliToken(value) {
|
|
286
|
-
if (typeof value !== "string") {
|
|
287
|
-
return "";
|
|
288
|
-
}
|
|
289
|
-
const collapsed = value.trim().toLowerCase().replaceAll(/[\s_]+/g, "-");
|
|
290
|
-
return collapsed.startsWith("--") ? collapsed.slice(2) : collapsed;
|
|
291
|
-
}
|
|
292
|
-
function keyToDefaultCliFlag(key) {
|
|
293
|
-
return key.replaceAll("_", "-");
|
|
294
|
-
}
|
|
295
|
-
function dedupeCliTokens(values, exclude) {
|
|
296
|
-
const seen = /* @__PURE__ */ new Set();
|
|
297
|
-
for (const value of values) {
|
|
298
|
-
const token = normalizeCliToken(value);
|
|
299
|
-
if (token.length > 0 && token !== exclude) {
|
|
300
|
-
seen.add(token);
|
|
301
|
-
}
|
|
302
|
-
}
|
|
303
|
-
return [...seen].sort((left, right) => left.localeCompare(right));
|
|
304
|
-
}
|
|
305
|
-
function dedupeStringList(values) {
|
|
306
|
-
const seen = /* @__PURE__ */ new Set();
|
|
307
|
-
for (const value of values ?? []) {
|
|
308
|
-
const trimmed = value.trim();
|
|
309
|
-
if (trimmed.length > 0) {
|
|
310
|
-
seen.add(trimmed);
|
|
311
|
-
}
|
|
312
|
-
}
|
|
313
|
-
return [...seen].sort((left, right) => left.localeCompare(right));
|
|
314
|
-
}
|
|
315
|
-
function normalizeFieldCommands(rawCommands) {
|
|
316
|
-
const seen = /* @__PURE__ */ new Set();
|
|
317
|
-
const normalized = [];
|
|
318
|
-
for (const rawCommand of rawCommands ?? []) {
|
|
319
|
-
const command = rawCommand.trim().toLowerCase();
|
|
320
|
-
if (command.length === 0) {
|
|
321
|
-
continue;
|
|
322
|
-
}
|
|
323
|
-
if (!RUNTIME_FIELD_COMMAND_SET.has(command)) {
|
|
324
|
-
throw new Error(`Invalid field command "${rawCommand}". Allowed: ${RUNTIME_FIELD_COMMAND_VALUES.join(", ")}.`);
|
|
325
|
-
}
|
|
326
|
-
if (!seen.has(command)) {
|
|
327
|
-
seen.add(command);
|
|
328
|
-
normalized.push(command);
|
|
329
|
-
}
|
|
330
|
-
}
|
|
331
|
-
return rawCommands === void 0 || normalized.length === 0 ? [...DEFAULT_FIELD_COMMANDS] : normalized;
|
|
332
|
-
}
|
|
333
|
-
function normalizeAddFieldInput(raw) {
|
|
334
|
-
const key = normalizeFieldKey(raw.key);
|
|
335
|
-
if (key.length === 0) {
|
|
336
|
-
throw new Error("Field key must not be empty.");
|
|
337
|
-
}
|
|
338
|
-
if (BUILTIN_FIELD_KEYS.has(key)) {
|
|
339
|
-
throw new Error(`Cannot define custom field "${key}": it shadows a built-in field. Built-in fields are reserved.`);
|
|
340
|
-
}
|
|
341
|
-
const typeCandidate = typeof raw.type === "string" && raw.type.trim().length > 0 ? raw.type.trim().toLowerCase() : "string";
|
|
342
|
-
if (!RUNTIME_FIELD_TYPE_SET.has(typeCandidate)) {
|
|
343
|
-
throw new Error(`Invalid field type "${raw.type}". Allowed: ${RUNTIME_FIELD_TYPE_VALUES.join(", ")}.`);
|
|
344
|
-
}
|
|
345
|
-
const type = typeCandidate;
|
|
346
|
-
const commands = normalizeFieldCommands(raw.commands);
|
|
347
|
-
const cliFlagToken = normalizeCliToken(raw.cliFlag);
|
|
348
|
-
const cliFlag = cliFlagToken.length > 0 && cliFlagToken !== keyToDefaultCliFlag(key) ? cliFlagToken : void 0;
|
|
349
|
-
const effectiveFlag = cliFlag ?? keyToDefaultCliFlag(key);
|
|
350
|
-
const cliAliases = dedupeCliTokens(raw.aliases ?? [], effectiveFlag);
|
|
351
|
-
const description = raw.description?.trim();
|
|
352
|
-
return {
|
|
353
|
-
key,
|
|
354
|
-
type,
|
|
355
|
-
commands,
|
|
356
|
-
description: description && description.length > 0 ? description : void 0,
|
|
357
|
-
cliFlag,
|
|
358
|
-
cliAliases,
|
|
359
|
-
required: raw.required === true,
|
|
360
|
-
requiredOnCreate: raw.requiredOnCreate === true,
|
|
361
|
-
// allow_unset defaults to true (omitted) and is only persisted when an
|
|
362
|
-
// operator explicitly disables it with --no-allow-unset (allowUnset === false).
|
|
363
|
-
allowUnset: raw.allowUnset !== false,
|
|
364
|
-
requiredTypes: dedupeStringList(raw.requiredTypes)
|
|
365
|
-
};
|
|
366
|
-
}
|
|
367
|
-
function selectFieldsArray(parsed) {
|
|
368
|
-
if (Array.isArray(parsed)) {
|
|
369
|
-
return parsed;
|
|
370
|
-
}
|
|
371
|
-
if (typeof parsed !== "object" || parsed === null) {
|
|
372
|
-
return void 0;
|
|
373
|
-
}
|
|
374
|
-
const record = parsed;
|
|
375
|
-
if (Array.isArray(record.fields)) {
|
|
376
|
-
return record.fields;
|
|
377
|
-
}
|
|
378
|
-
if (Array.isArray(record.definitions)) {
|
|
379
|
-
return record.definitions;
|
|
380
|
-
}
|
|
381
|
-
return void 0;
|
|
382
|
-
}
|
|
383
|
-
function extractFieldDefinitions(parsed) {
|
|
384
|
-
const candidate = selectFieldsArray(parsed);
|
|
385
|
-
if (!candidate) {
|
|
386
|
-
return [];
|
|
387
|
-
}
|
|
388
|
-
const definitions = [];
|
|
389
|
-
for (const entry of candidate) {
|
|
390
|
-
if (typeof entry !== "object" || entry === null || Array.isArray(entry)) {
|
|
391
|
-
continue;
|
|
392
|
-
}
|
|
393
|
-
const record = entry;
|
|
394
|
-
if (typeof record.key !== "string" || record.key.trim().length === 0) {
|
|
395
|
-
continue;
|
|
396
|
-
}
|
|
397
|
-
definitions.push(record);
|
|
398
|
-
}
|
|
399
|
-
return definitions;
|
|
400
|
-
}
|
|
401
|
-
function parseFieldsFile(raw) {
|
|
402
|
-
if (raw === null || raw === void 0 || raw.trim().length === 0) {
|
|
403
|
-
return { fields: [] };
|
|
404
|
-
}
|
|
405
|
-
let parsed;
|
|
406
|
-
try {
|
|
407
|
-
parsed = JSON.parse(raw);
|
|
408
|
-
} catch {
|
|
409
|
-
throw new Error("schema/fields.json contains invalid JSON.");
|
|
410
|
-
}
|
|
411
|
-
return { fields: extractFieldDefinitions(parsed) };
|
|
412
|
-
}
|
|
413
|
-
function serializeFieldsFile(file) {
|
|
414
|
-
return `${JSON.stringify({ fields: file.fields }, null, 2)}
|
|
415
|
-
`;
|
|
416
|
-
}
|
|
417
|
-
function upsertField(file, input) {
|
|
418
|
-
const existing = file.fields.find((definition) => normalizeFieldKey(definition.key) === input.key);
|
|
419
|
-
const replaced = existing !== void 0;
|
|
420
|
-
const fields = file.fields.filter((definition) => normalizeFieldKey(definition.key) !== input.key);
|
|
421
|
-
const next = {
|
|
422
|
-
...existing,
|
|
423
|
-
key: input.key,
|
|
424
|
-
type: input.type,
|
|
425
|
-
commands: [...input.commands]
|
|
426
|
-
};
|
|
427
|
-
applyOptionalString(next, "description", input.description);
|
|
428
|
-
applyOptionalString(next, "cli_flag", input.cliFlag);
|
|
429
|
-
if (input.cliAliases.length > 0) {
|
|
430
|
-
next.cli_aliases = [...input.cliAliases];
|
|
431
|
-
} else {
|
|
432
|
-
delete next.cli_aliases;
|
|
433
|
-
}
|
|
434
|
-
applyBooleanFlag(next, "required", input.required);
|
|
435
|
-
applyBooleanFlag(next, "required_on_create", input.requiredOnCreate);
|
|
436
|
-
if (input.allowUnset === false) {
|
|
437
|
-
next.allow_unset = false;
|
|
438
|
-
} else {
|
|
439
|
-
delete next.allow_unset;
|
|
440
|
-
}
|
|
441
|
-
if (input.requiredTypes.length > 0) {
|
|
442
|
-
next.required_types = [...input.requiredTypes];
|
|
443
|
-
} else {
|
|
444
|
-
delete next.required_types;
|
|
445
|
-
}
|
|
446
|
-
fields.push(next);
|
|
447
|
-
fields.sort((left, right) => normalizeFieldKey(left.key).localeCompare(normalizeFieldKey(right.key)));
|
|
448
|
-
return {
|
|
449
|
-
file: { fields },
|
|
450
|
-
definition: next,
|
|
451
|
-
replaced
|
|
452
|
-
};
|
|
453
|
-
}
|
|
454
|
-
function removeField(file, key) {
|
|
455
|
-
const normalizedKey = normalizeFieldKey(key);
|
|
456
|
-
if (normalizedKey.length === 0) {
|
|
457
|
-
throw new Error("Field key must not be empty.");
|
|
458
|
-
}
|
|
459
|
-
const removed = [];
|
|
460
|
-
const fields = file.fields.filter((definition) => {
|
|
461
|
-
if (normalizeFieldKey(definition.key) === normalizedKey) {
|
|
462
|
-
removed.push(definition);
|
|
463
|
-
return false;
|
|
464
|
-
}
|
|
465
|
-
return true;
|
|
466
|
-
});
|
|
467
|
-
if (removed.length === 0) {
|
|
468
|
-
return { file: { fields }, removed: false };
|
|
469
|
-
}
|
|
470
|
-
return { file: { fields }, removed: true, definition: removed[0] };
|
|
471
|
-
}
|
|
472
|
-
function applyOptionalString(definition, key, value) {
|
|
473
|
-
const record = definition;
|
|
474
|
-
if (value !== void 0 && value.length > 0) {
|
|
475
|
-
record[key] = value;
|
|
476
|
-
} else {
|
|
477
|
-
delete record[key];
|
|
478
|
-
}
|
|
479
|
-
}
|
|
480
|
-
function applyBooleanFlag(definition, key, value) {
|
|
481
|
-
const record = definition;
|
|
482
|
-
if (value) {
|
|
483
|
-
record[key] = true;
|
|
484
|
-
} else {
|
|
485
|
-
delete record[key];
|
|
486
|
-
}
|
|
487
|
-
}
|
|
488
|
-
|
|
489
|
-
// dist/core/schema/type-presets.js
|
|
490
|
-
!(function() {
|
|
491
|
-
try {
|
|
492
|
-
var e = "undefined" != typeof window ? window : "undefined" != typeof global ? global : "undefined" != typeof globalThis ? globalThis : "undefined" != typeof self ? self : {}, n = new e.Error().stack;
|
|
493
|
-
n && (e._sentryDebugIds = e._sentryDebugIds || {}, e._sentryDebugIds[n] = "27ffb0eb-4e5f-54bc-8384-14addc91ac3f");
|
|
494
|
-
} catch (e2) {
|
|
495
|
-
}
|
|
496
|
-
})();
|
|
497
|
-
var TYPE_PRESET_NAMES = ["agile", "ops", "research"];
|
|
498
|
-
var TYPE_PRESET_DEFINITIONS = {
|
|
499
|
-
agile: [
|
|
500
|
-
{
|
|
501
|
-
name: "Story",
|
|
502
|
-
description: "User-facing outcome or capability slice expressed from a stakeholder perspective.",
|
|
503
|
-
defaultStatus: "open",
|
|
504
|
-
folder: "stories",
|
|
505
|
-
aliases: ["user-story"]
|
|
506
|
-
},
|
|
507
|
-
{
|
|
508
|
-
name: "Spike",
|
|
509
|
-
description: "Time-boxed investigation used to reduce uncertainty before implementation.",
|
|
510
|
-
defaultStatus: "open",
|
|
511
|
-
folder: "spikes",
|
|
512
|
-
aliases: ["research-spike"]
|
|
513
|
-
}
|
|
514
|
-
],
|
|
515
|
-
ops: [
|
|
516
|
-
{
|
|
517
|
-
name: "Incident",
|
|
518
|
-
description: "Operational disruption, degradation, or support escalation with recovery tracking.",
|
|
519
|
-
defaultStatus: "open",
|
|
520
|
-
folder: "incidents",
|
|
521
|
-
aliases: ["outage"]
|
|
522
|
-
},
|
|
523
|
-
{
|
|
524
|
-
name: "Runbook",
|
|
525
|
-
description: "Repeatable operational procedure, diagnostic path, or response playbook.",
|
|
526
|
-
defaultStatus: "open",
|
|
527
|
-
folder: "runbooks",
|
|
528
|
-
aliases: ["playbook"]
|
|
529
|
-
}
|
|
530
|
-
],
|
|
531
|
-
research: [
|
|
532
|
-
{
|
|
533
|
-
name: "Experiment",
|
|
534
|
-
description: "Validated-learning activity with hypothesis, method, and outcome tracking.",
|
|
535
|
-
defaultStatus: "open",
|
|
536
|
-
folder: "experiments",
|
|
537
|
-
aliases: ["study"]
|
|
538
|
-
},
|
|
539
|
-
{
|
|
540
|
-
name: "Hypothesis",
|
|
541
|
-
description: "Testable claim or assumption that should be supported, rejected, or refined.",
|
|
542
|
-
defaultStatus: "open",
|
|
543
|
-
folder: "hypotheses",
|
|
544
|
-
aliases: ["assumption"]
|
|
545
|
-
}
|
|
546
|
-
]
|
|
547
|
-
};
|
|
548
|
-
function normalizeTypePresetName(rawValue) {
|
|
549
|
-
if (rawValue === void 0) {
|
|
550
|
-
return void 0;
|
|
551
|
-
}
|
|
552
|
-
const normalized = rawValue.trim().toLowerCase().replaceAll("-", "_");
|
|
553
|
-
if (normalized.length === 0) {
|
|
554
|
-
throw new Error("Type preset name must not be empty.");
|
|
555
|
-
}
|
|
556
|
-
if (normalized === "agile" || normalized === "ops" || normalized === "research") {
|
|
557
|
-
return normalized;
|
|
558
|
-
}
|
|
559
|
-
throw new Error(`Invalid type preset "${rawValue}". Allowed: ${TYPE_PRESET_NAMES.join(", ")}.`);
|
|
560
|
-
}
|
|
561
|
-
function resolveTypePresetDefinitions(preset) {
|
|
562
|
-
return TYPE_PRESET_DEFINITIONS[preset].map((rawDefinition) => normalizeAddTypeInput(rawDefinition));
|
|
563
|
-
}
|
|
564
|
-
|
|
565
65
|
// dist/core/schema/type-inference.js
|
|
566
66
|
!(function() {
|
|
567
67
|
try {
|
|
@@ -630,7 +130,7 @@ function inferTypesFromTitles(titles, options = {}) {
|
|
|
630
130
|
!(function() {
|
|
631
131
|
try {
|
|
632
132
|
var e = "undefined" != typeof window ? window : "undefined" != typeof global ? global : "undefined" != typeof globalThis ? globalThis : "undefined" != typeof self ? self : {}, n = new e.Error().stack;
|
|
633
|
-
n && (e._sentryDebugIds = e._sentryDebugIds || {}, e._sentryDebugIds[n] = "
|
|
133
|
+
n && (e._sentryDebugIds = e._sentryDebugIds || {}, e._sentryDebugIds[n] = "de6e7ebd-3f26-5da7-82d2-dd839bef4fb2");
|
|
634
134
|
} catch (e2) {
|
|
635
135
|
}
|
|
636
136
|
})();
|
|
@@ -679,7 +179,7 @@ async function runSchemaAddType(name, options, global2) {
|
|
|
679
179
|
const warnings = [];
|
|
680
180
|
const author = toAuthor(options.author, settings.author_default);
|
|
681
181
|
const governance = resolveGovernanceKnobs(settings);
|
|
682
|
-
const releaseLock = await acquireLock(pmRoot, SCHEMA_TYPES_LOCK_ID, settings.locks.ttl_seconds, author, Boolean(options.force), governance.force_required_for_stale_lock);
|
|
182
|
+
const releaseLock = await acquireLock(pmRoot, SCHEMA_TYPES_LOCK_ID, settings.locks.ttl_seconds, author, Boolean(options.force), governance.force_required_for_stale_lock, settings.locks.wait_ms);
|
|
683
183
|
let upsert;
|
|
684
184
|
try {
|
|
685
185
|
const previousRaw = await readFileIfExists(typesPath);
|
|
@@ -772,7 +272,7 @@ async function runSchemaRemoveType(name, options, global2) {
|
|
|
772
272
|
const warnings = [];
|
|
773
273
|
const author = toAuthor(options.author, settings.author_default);
|
|
774
274
|
const governance = resolveGovernanceKnobs(settings);
|
|
775
|
-
const releaseLock = await acquireLock(pmRoot, SCHEMA_TYPES_LOCK_ID, settings.locks.ttl_seconds, author, Boolean(options.force), governance.force_required_for_stale_lock);
|
|
275
|
+
const releaseLock = await acquireLock(pmRoot, SCHEMA_TYPES_LOCK_ID, settings.locks.ttl_seconds, author, Boolean(options.force), governance.force_required_for_stale_lock, settings.locks.wait_ms);
|
|
776
276
|
let removal;
|
|
777
277
|
try {
|
|
778
278
|
const previousRaw = await readFileIfExists(typesPath);
|
|
@@ -912,7 +412,7 @@ async function runSchemaAddStatus(id, options, global2) {
|
|
|
912
412
|
const warnings = [];
|
|
913
413
|
const author = toAuthor(options.author, settings.author_default);
|
|
914
414
|
const governance = resolveGovernanceKnobs(settings);
|
|
915
|
-
const releaseLock = await acquireLock(pmRoot, SCHEMA_STATUSES_LOCK_ID, settings.locks.ttl_seconds, author, Boolean(options.force), governance.force_required_for_stale_lock);
|
|
415
|
+
const releaseLock = await acquireLock(pmRoot, SCHEMA_STATUSES_LOCK_ID, settings.locks.ttl_seconds, author, Boolean(options.force), governance.force_required_for_stale_lock, settings.locks.wait_ms);
|
|
916
416
|
let upsert;
|
|
917
417
|
try {
|
|
918
418
|
const previousRaw = await readFileIfExists(statusesPath);
|
|
@@ -960,7 +460,7 @@ async function runSchemaRemoveStatus(id, options, global2) {
|
|
|
960
460
|
const warnings = [];
|
|
961
461
|
const author = toAuthor(options.author, settings.author_default);
|
|
962
462
|
const governance = resolveGovernanceKnobs(settings);
|
|
963
|
-
const releaseLock = await acquireLock(pmRoot, SCHEMA_STATUSES_LOCK_ID, settings.locks.ttl_seconds, author, Boolean(options.force), governance.force_required_for_stale_lock);
|
|
463
|
+
const releaseLock = await acquireLock(pmRoot, SCHEMA_STATUSES_LOCK_ID, settings.locks.ttl_seconds, author, Boolean(options.force), governance.force_required_for_stale_lock, settings.locks.wait_ms);
|
|
964
464
|
let removal;
|
|
965
465
|
try {
|
|
966
466
|
const previousRaw = await readFileIfExists(statusesPath);
|
|
@@ -1224,7 +724,7 @@ async function runSchemaAddField(key, options, global2) {
|
|
|
1224
724
|
const warnings = [];
|
|
1225
725
|
const author = toAuthor(options.author, settings.author_default);
|
|
1226
726
|
const governance = resolveGovernanceKnobs(settings);
|
|
1227
|
-
const releaseLock = await acquireLock(pmRoot, SCHEMA_FIELDS_LOCK_ID, settings.locks.ttl_seconds, author, Boolean(options.force), governance.force_required_for_stale_lock);
|
|
727
|
+
const releaseLock = await acquireLock(pmRoot, SCHEMA_FIELDS_LOCK_ID, settings.locks.ttl_seconds, author, Boolean(options.force), governance.force_required_for_stale_lock, settings.locks.wait_ms);
|
|
1228
728
|
let upsert;
|
|
1229
729
|
try {
|
|
1230
730
|
const previousRaw = await readFileIfExists(fieldsPath);
|
|
@@ -1283,7 +783,7 @@ async function runSchemaRemoveField(key, options, global2) {
|
|
|
1283
783
|
const warnings = [];
|
|
1284
784
|
const author = toAuthor(options.author, settings.author_default);
|
|
1285
785
|
const governance = resolveGovernanceKnobs(settings);
|
|
1286
|
-
const releaseLock = await acquireLock(pmRoot, SCHEMA_FIELDS_LOCK_ID, settings.locks.ttl_seconds, author, Boolean(options.force), governance.force_required_for_stale_lock);
|
|
786
|
+
const releaseLock = await acquireLock(pmRoot, SCHEMA_FIELDS_LOCK_ID, settings.locks.ttl_seconds, author, Boolean(options.force), governance.force_required_for_stale_lock, settings.locks.wait_ms);
|
|
1287
787
|
let removal;
|
|
1288
788
|
try {
|
|
1289
789
|
const previousRaw = await readFileIfExists(fieldsPath);
|
|
@@ -1385,7 +885,7 @@ async function runSchemaApplyPreset(preset, options, global2) {
|
|
|
1385
885
|
const registered = [];
|
|
1386
886
|
const replaced = [];
|
|
1387
887
|
let definitionsCount = 0;
|
|
1388
|
-
const releaseLock = await acquireLock(pmRoot, SCHEMA_TYPES_LOCK_ID, settings.locks.ttl_seconds, author, Boolean(options.force), governance.force_required_for_stale_lock);
|
|
888
|
+
const releaseLock = await acquireLock(pmRoot, SCHEMA_TYPES_LOCK_ID, settings.locks.ttl_seconds, author, Boolean(options.force), governance.force_required_for_stale_lock, settings.locks.wait_ms);
|
|
1389
889
|
try {
|
|
1390
890
|
const previousRaw = await readFileIfExists(typesPath);
|
|
1391
891
|
let parsed;
|
|
@@ -1472,7 +972,7 @@ async function runSchemaInferTypes(options, global2) {
|
|
|
1472
972
|
}
|
|
1473
973
|
const author = toAuthor(options.author, settings.author_default);
|
|
1474
974
|
const governance = resolveGovernanceKnobs(settings);
|
|
1475
|
-
const releaseLock = await acquireLock(pmRoot, SCHEMA_TYPES_LOCK_ID, settings.locks.ttl_seconds, author, Boolean(options.force), governance.force_required_for_stale_lock);
|
|
975
|
+
const releaseLock = await acquireLock(pmRoot, SCHEMA_TYPES_LOCK_ID, settings.locks.ttl_seconds, author, Boolean(options.force), governance.force_required_for_stale_lock, settings.locks.wait_ms);
|
|
1476
976
|
try {
|
|
1477
977
|
const previousRaw = await readFileIfExists(typesPath);
|
|
1478
978
|
let parsed;
|
|
@@ -1716,18 +1216,6 @@ var _testOnlySchemaCommand = {
|
|
|
1716
1216
|
};
|
|
1717
1217
|
|
|
1718
1218
|
export {
|
|
1719
|
-
normalizeAddStatusInput,
|
|
1720
|
-
parseStatusDefsFile,
|
|
1721
|
-
serializeStatusDefsFile,
|
|
1722
|
-
upsertStatusDef,
|
|
1723
|
-
normalizeAddFieldInput,
|
|
1724
|
-
parseFieldsFile,
|
|
1725
|
-
serializeFieldsFile,
|
|
1726
|
-
upsertField,
|
|
1727
|
-
TYPE_PRESET_NAMES,
|
|
1728
|
-
TYPE_PRESET_DEFINITIONS,
|
|
1729
|
-
normalizeTypePresetName,
|
|
1730
|
-
resolveTypePresetDefinitions,
|
|
1731
1219
|
SCHEMA_SUBCOMMANDS,
|
|
1732
1220
|
runSchemaAddType,
|
|
1733
1221
|
runSchemaRemoveType,
|
|
@@ -1758,4 +1246,4 @@ export {
|
|
|
1758
1246
|
formatSchemaInferTypesHuman,
|
|
1759
1247
|
_testOnlySchemaCommand
|
|
1760
1248
|
};
|
|
1761
|
-
//# sourceMappingURL=chunk-
|
|
1249
|
+
//# sourceMappingURL=chunk-4QQ6PM7M.js.map
|