@unbrained/pm-cli 2026.6.20 → 2026.6.21
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 +17 -0
- package/dist/cli/commands/extension/scaffold.js +49 -3
- package/dist/cli/commands/extension/scaffold.js.map +1 -1
- package/dist/cli/commands/extension.js +9 -2
- package/dist/cli/commands/extension.js.map +1 -1
- package/dist/cli/commands/health.js +15 -3
- package/dist/cli/commands/health.js.map +1 -1
- package/dist/cli/commands/validate.d.ts +1 -1
- package/dist/cli/commands/validate.js +44 -2
- package/dist/cli/commands/validate.js.map +1 -1
- package/dist/cli-bundle/chunks/activity-CIHV64UC.js +18 -0
- package/dist/cli-bundle/chunks/{activity-KEEITOTB.js → activity-KW3IRP44.js} +11 -11
- package/dist/cli-bundle/chunks/{aggregate-GB2LJNTZ.js → aggregate-3ZKQG5SW.js} +10 -10
- package/dist/cli-bundle/chunks/{aggregate-5BTHOHW2.js → aggregate-FIGQEIL3.js} +10 -10
- package/dist/cli-bundle/chunks/{append-BBM4MNVD.js → append-EWJYJ7CH.js} +8 -8
- package/dist/cli-bundle/chunks/{append-BFV5UYWS.js → append-QEOLX3XB.js} +8 -8
- package/dist/cli-bundle/chunks/{chunk-RICT5QYR.js → chunk-2EIMPCE4.js} +3 -3
- package/dist/cli-bundle/chunks/{chunk-ZYG4TR32.js → chunk-2GCDRRIF.js} +12 -12
- package/dist/cli-bundle/chunks/{chunk-DYOJJTCG.js → chunk-2PKHRP6G.js} +10 -10
- package/dist/cli-bundle/chunks/{chunk-LTUB7ARL.js → chunk-32R4PIC6.js} +52 -7
- package/dist/cli-bundle/chunks/chunk-32R4PIC6.js.map +1 -0
- package/dist/cli-bundle/chunks/{chunk-HWHZ7EY7.js → chunk-37QXHBIB.js} +3 -3
- package/dist/cli-bundle/chunks/{chunk-ACULWT7G.js → chunk-3EWSGA7N.js} +12 -12
- package/dist/cli-bundle/chunks/{chunk-II4BRHKM.js → chunk-3MDHREEV.js} +3 -3
- package/dist/cli-bundle/chunks/{chunk-AZ75OVK4.js → chunk-434HM6Z5.js} +4 -3
- package/dist/cli-bundle/chunks/chunk-434HM6Z5.js.map +1 -0
- package/dist/cli-bundle/chunks/{chunk-E4E7UQBT.js → chunk-52OCIDPG.js} +5 -5
- package/dist/cli-bundle/chunks/{chunk-FA5O2DEG.js → chunk-5FIEHKEX.js} +5 -5
- package/dist/cli-bundle/chunks/{chunk-2QJLN4KM.js → chunk-5IDI42VV.js} +7 -7
- package/dist/cli-bundle/chunks/{chunk-H3ZTSYPA.js → chunk-5PCI3UBT.js} +52 -7
- package/dist/cli-bundle/chunks/chunk-5PCI3UBT.js.map +7 -0
- package/dist/cli-bundle/chunks/{chunk-2LUNPA3U.js → chunk-5QICDWMV.js} +2 -2
- package/dist/cli-bundle/chunks/{chunk-EOFROIC5.js → chunk-6CJWZAN7.js} +7 -7
- package/dist/cli-bundle/chunks/{chunk-3KVCMB2M.js → chunk-6H4LF7AO.js} +2 -2
- package/dist/cli-bundle/chunks/{chunk-6DZO5NN7.js → chunk-6M4RJS4M.js} +3 -3
- package/dist/cli-bundle/chunks/{chunk-WFOITX4A.js → chunk-6ZXM2XNF.js} +8 -8
- package/dist/cli-bundle/chunks/{chunk-AW4PYYNF.js → chunk-76Z3YSHV.js} +2 -2
- package/dist/cli-bundle/chunks/{chunk-ZHCSGIUX.js → chunk-7D3SAQXM.js} +2 -2
- package/dist/cli-bundle/chunks/{chunk-MFCFHL27.js → chunk-A4Z7ZOL5.js} +2 -2
- package/dist/cli-bundle/chunks/{chunk-F4EYOSNC.js → chunk-AIS5PGI3.js} +2 -2
- package/dist/cli-bundle/chunks/{chunk-BYNJWB5F.js → chunk-AZMOLBN3.js} +7 -7
- package/dist/cli-bundle/chunks/{chunk-VE3BUO3R.js → chunk-B473GZWW.js} +3 -3
- package/dist/cli-bundle/chunks/{chunk-W2ZESOQE.js → chunk-C3AZ5ZML.js} +13 -13
- package/dist/cli-bundle/chunks/{chunk-CNPWCUDR.js → chunk-C4N5I7ZW.js} +3 -3
- package/dist/cli-bundle/chunks/{chunk-DKWIPIJY.js → chunk-CF55WVVS.js} +2 -2
- package/dist/cli-bundle/chunks/{chunk-YBQF4CAW.js → chunk-CZPXY7UW.js} +3 -3
- package/dist/cli-bundle/chunks/{chunk-6KARQMC6.js → chunk-CZUB4XWO.js} +2 -2
- package/dist/cli-bundle/chunks/{chunk-K2LBDYDC.js → chunk-D7FYS6PG.js} +2 -2
- package/dist/cli-bundle/chunks/{chunk-X3CD2VUI.js → chunk-EBH56IXK.js} +8 -8
- package/dist/cli-bundle/chunks/{chunk-5XK2RYJR.js → chunk-F5NZWFSW.js} +7 -7
- package/dist/cli-bundle/chunks/{chunk-BZWIDTDE.js → chunk-F7K5GWP3.js} +9 -9
- package/dist/cli-bundle/chunks/{chunk-4KFL5OYK.js → chunk-FKBDKV7Y.js} +3 -3
- package/dist/cli-bundle/chunks/{chunk-XNQ3YH6N.js → chunk-FRUFKWNK.js} +2 -2
- package/dist/cli-bundle/chunks/{chunk-ICEWMJYH.js → chunk-FWPDUYEY.js} +7 -7
- package/dist/cli-bundle/chunks/{chunk-2ZY5SLNR.js → chunk-GMHPNNYG.js} +10 -10
- package/dist/cli-bundle/chunks/{chunk-U3WTMYBX.js → chunk-GOZUHWFD.js} +2 -2
- package/dist/cli-bundle/chunks/{chunk-ATRXPXAL.js → chunk-H7NJZWG2.js} +13 -13
- package/dist/cli-bundle/chunks/{chunk-VONJSFUW.js → chunk-HC4AWIKT.js} +2 -2
- package/dist/cli-bundle/chunks/{chunk-PF5GLFPU.js → chunk-HCU6WUSY.js} +9 -9
- package/dist/cli-bundle/chunks/{chunk-NKTUBA2C.js → chunk-HIP7WVTL.js} +4 -4
- package/dist/cli-bundle/chunks/{chunk-QWAJPGEI.js → chunk-HMOADQVT.js} +4 -3
- package/dist/cli-bundle/chunks/chunk-HMOADQVT.js.map +7 -0
- package/dist/cli-bundle/chunks/{chunk-RADIHKJ3.js → chunk-J4MYYSOL.js} +5 -5
- package/dist/cli-bundle/chunks/{chunk-IWKD7B33.js → chunk-JINYH2DB.js} +23 -2
- package/dist/cli-bundle/chunks/chunk-JINYH2DB.js.map +7 -0
- package/dist/cli-bundle/chunks/{chunk-FSOJCFDS.js → chunk-LEU5GHRC.js} +55 -5
- package/dist/cli-bundle/chunks/chunk-LEU5GHRC.js.map +1 -0
- package/dist/cli-bundle/chunks/{chunk-OVSFW4KD.js → chunk-LUWW7L4B.js} +3 -3
- package/dist/cli-bundle/chunks/{chunk-6KSFULO6.js → chunk-M5XALUSL.js} +2 -2
- package/dist/cli-bundle/chunks/{chunk-BBSUVIIT.js → chunk-N5ZJACJ6.js} +8 -8
- package/dist/cli-bundle/chunks/{chunk-ETJKPURB.js → chunk-NB3PYLQ6.js} +5 -5
- package/dist/cli-bundle/chunks/{chunk-7MMXBIRZ.js → chunk-NIGXMNNI.js} +2 -2
- package/dist/cli-bundle/chunks/{chunk-XKJDCJEH.js → chunk-NIUEXCFS.js} +6 -6
- package/dist/cli-bundle/chunks/{chunk-RNKUCHUQ.js → chunk-NJHMAJ6N.js} +8 -8
- package/dist/cli-bundle/chunks/{chunk-AOCYDQLT.js → chunk-NJN7LL7U.js} +5 -5
- package/dist/cli-bundle/chunks/{chunk-MTQK5ZSB.js → chunk-NSBZ2CKF.js} +2 -2
- package/dist/cli-bundle/chunks/{chunk-26OQTCGH.js → chunk-NXS7ZKAK.js} +4 -4
- package/dist/cli-bundle/chunks/{chunk-6LTSLEHD.js → chunk-O47BPOPC.js} +2 -2
- package/dist/cli-bundle/chunks/{chunk-6Y7IQ6XN.js → chunk-OFYMIDF2.js} +9 -9
- package/dist/cli-bundle/chunks/{chunk-4YMX7XFI.js → chunk-OTHIWLMB.js} +5 -5
- package/dist/cli-bundle/chunks/{chunk-QUTJOHGK.js → chunk-PFSRUHDH.js} +9 -9
- package/dist/cli-bundle/chunks/{chunk-FXKPUMIR.js → chunk-PP2U4NMT.js} +5 -5
- package/dist/cli-bundle/chunks/{chunk-XXGAWTH5.js → chunk-PUH4D67U.js} +2 -2
- package/dist/cli-bundle/chunks/{chunk-NCGQ27PK.js → chunk-Q2J2HJUN.js} +2 -2
- package/dist/cli-bundle/chunks/{chunk-5MWA46UN.js → chunk-QGG32QHW.js} +61 -4
- package/dist/cli-bundle/chunks/chunk-QGG32QHW.js.map +7 -0
- package/dist/cli-bundle/chunks/{chunk-J7VSEFWB.js → chunk-QQHISQBJ.js} +3 -3
- package/dist/cli-bundle/chunks/{chunk-KCJZREBI.js → chunk-QZTWBFXJ.js} +2 -2
- package/dist/cli-bundle/chunks/{chunk-OLEP5TJH.js → chunk-R2EMWY7Q.js} +24 -3
- package/dist/cli-bundle/chunks/chunk-R2EMWY7Q.js.map +1 -0
- package/dist/cli-bundle/chunks/{chunk-NMQNXH4U.js → chunk-RLK7P77C.js} +5 -5
- package/dist/cli-bundle/chunks/{chunk-FBBPCSJM.js → chunk-RVHYI7SL.js} +8 -8
- package/dist/cli-bundle/chunks/{chunk-3WAKNI2W.js → chunk-SBGXDO7A.js} +3 -3
- package/dist/cli-bundle/chunks/{chunk-6FSPWUBI.js → chunk-SRYYRVPB.js} +2 -2
- package/dist/cli-bundle/chunks/{chunk-SL233DQD.js → chunk-SX75ADBK.js} +6 -6
- package/dist/cli-bundle/chunks/{chunk-YT4Z2OVB.js → chunk-TKBHZPKD.js} +3 -3
- package/dist/cli-bundle/chunks/{chunk-EKMHDL6Z.js → chunk-UEMNL33O.js} +8 -8
- package/dist/cli-bundle/chunks/{chunk-4S4INK3B.js → chunk-UPE3CDD7.js} +7 -7
- package/dist/cli-bundle/chunks/{chunk-4PW4C3ZB.js → chunk-UV6IYE5U.js} +2 -2
- package/dist/cli-bundle/chunks/{chunk-GF44HVZL.js → chunk-WQ7NIVDK.js} +4 -4
- package/dist/cli-bundle/chunks/{chunk-B3LROPTV.js → chunk-YCJX76PW.js} +2 -2
- package/dist/cli-bundle/chunks/{chunk-WMQBNVZL.js → chunk-Z6T4PQI2.js} +4 -4
- package/dist/cli-bundle/chunks/{claim-G57ZJLZ4.js → claim-RC56YUWG.js} +10 -10
- package/dist/cli-bundle/chunks/{claim-TRSDQO6L.js → claim-THOJ6CMV.js} +10 -10
- package/dist/cli-bundle/chunks/close-DNMHGOCX.js +15 -0
- package/dist/cli-bundle/chunks/{close-4QMUQMON.js → close-SG5MNCVQ.js} +8 -8
- package/dist/cli-bundle/chunks/{close-many-A7U62CRI.js → close-many-3L3AQZBU.js} +15 -15
- package/dist/cli-bundle/chunks/{close-many-3UWKJRQK.js → close-many-DKQLBGLV.js} +15 -15
- package/dist/cli-bundle/chunks/{comments-4EM7XR74.js → comments-M7ZOZNBX.js} +10 -10
- package/dist/cli-bundle/chunks/{comments-URWDZP2I.js → comments-SKWMDWCW.js} +10 -10
- package/dist/cli-bundle/chunks/{config-GRJYZ2O3.js → config-7CK62S7T.js} +8 -8
- package/dist/cli-bundle/chunks/{config-PSZ5GWAK.js → config-OZCUABPB.js} +8 -8
- package/dist/cli-bundle/chunks/{context-A46YAV2F.js → context-OEC366TO.js} +13 -13
- package/dist/cli-bundle/chunks/{context-BCR34RKM.js → context-PUG2A7RC.js} +13 -13
- package/dist/cli-bundle/chunks/{contracts-JOPCQNDP.js → contracts-3THOLA7L.js} +4 -4
- package/dist/cli-bundle/chunks/{contracts-HPT25X4D.js → contracts-N65FXEOL.js} +4 -4
- package/dist/cli-bundle/chunks/{copy-X7V6AEDB.js → copy-6QLHILAC.js} +7 -7
- package/dist/cli-bundle/chunks/{copy-KBTIUW7L.js → copy-JPX7VZCH.js} +7 -7
- package/dist/cli-bundle/chunks/create-NNP6TSFO.js +30 -0
- package/dist/cli-bundle/chunks/{create-ZPZKJDFQ.js → create-Y54ZVVZH.js} +14 -14
- package/dist/cli-bundle/chunks/{delete-FGKVPUQZ.js → delete-63PCMQAJ.js} +7 -7
- package/dist/cli-bundle/chunks/{delete-2ZI6CJZM.js → delete-GDSMGAGJ.js} +7 -7
- package/dist/cli-bundle/chunks/{deps-IUJOBF2H.js → deps-T4ZF5G54.js} +7 -7
- package/dist/cli-bundle/chunks/{deps-SJCEFU3C.js → deps-XYQ73XRH.js} +7 -7
- package/dist/cli-bundle/chunks/{docs-UWJ75CKR.js → docs-C75YIXHC.js} +9 -9
- package/dist/cli-bundle/chunks/{docs-2LXF5SVC.js → docs-EHNPDWUL.js} +9 -9
- package/dist/cli-bundle/chunks/{eval-FRIDCTM2.js → eval-3WKDTRMH.js} +12 -12
- package/dist/cli-bundle/chunks/{eval-ZTT3F3SL.js → eval-GTENKE24.js} +12 -12
- package/dist/cli-bundle/chunks/{extension-VRYTNNSV.js → extension-46NWACO3.js} +5 -5
- package/dist/cli-bundle/chunks/{extension-XFQG3BXL.js → extension-D5FDZ2CO.js} +5 -5
- package/dist/cli-bundle/chunks/{files-B2RUCA32.js → files-DSZBOSSN.js} +9 -9
- package/dist/cli-bundle/chunks/{files-AJOGTTAN.js → files-X3H7CCBQ.js} +9 -9
- package/dist/cli-bundle/chunks/{focus-7N36RIMT.js → focus-5STQXDPU.js} +8 -8
- package/dist/cli-bundle/chunks/{focus-CFE33IYC.js → focus-MDVPOWB5.js} +8 -8
- package/dist/cli-bundle/chunks/{gc-OYJK4YBY.js → gc-ZC7JHBG7.js} +3 -3
- package/dist/cli-bundle/chunks/{gc-SBF2FGHK.js → gc-ZMST3WQP.js} +3 -3
- package/dist/cli-bundle/chunks/{get-577VLZZ7.js → get-J2IPJRZW.js} +11 -11
- package/dist/cli-bundle/chunks/{get-LLFWSPXW.js → get-NT7L2HUZ.js} +11 -11
- package/dist/cli-bundle/chunks/{health-C2PUT6JZ.js → health-IVMA3XQC.js} +33 -20
- package/dist/cli-bundle/chunks/health-IVMA3XQC.js.map +1 -0
- package/dist/cli-bundle/chunks/{health-PBJS7W2T.js → health-WOYBR3KU.js} +32 -19
- package/dist/cli-bundle/chunks/health-WOYBR3KU.js.map +7 -0
- package/dist/cli-bundle/chunks/{history-4FJK6Y3O.js → history-RLH2QCRO.js} +10 -10
- package/dist/cli-bundle/chunks/history-WX3MGFS2.js +20 -0
- package/dist/cli-bundle/chunks/{history-compact-HXF3OT7G.js → history-compact-UXDIFC33.js} +12 -12
- package/dist/cli-bundle/chunks/{history-compact-AXR6R6GU.js → history-compact-ZBEBGJM7.js} +12 -12
- package/dist/cli-bundle/chunks/{history-redact-UMPD4G3K.js → history-redact-P7I7AWMB.js} +11 -11
- package/dist/cli-bundle/chunks/history-redact-YQGU3XRA.js +21 -0
- package/dist/cli-bundle/chunks/{history-repair-WHOK2ICG.js → history-repair-52KINVIK.js} +12 -12
- package/dist/cli-bundle/chunks/{history-repair-X57HE5EA.js → history-repair-RM5ITLU5.js} +12 -12
- package/dist/cli-bundle/chunks/{init-N7MIIYCU.js → init-2BNZOO6F.js} +10 -10
- package/dist/cli-bundle/chunks/init-SC2P6CHP.js +20 -0
- package/dist/cli-bundle/chunks/{learnings-GZRBIEAN.js → learnings-W6F3FIPL.js} +10 -10
- package/dist/cli-bundle/chunks/{learnings-FPG7WAVW.js → learnings-YGYVHWJK.js} +10 -10
- package/dist/cli-bundle/chunks/{list-MZBCSKLU.js → list-K6FPV4J4.js} +10 -10
- package/dist/cli-bundle/chunks/{list-ZDQ2OBSO.js → list-KPAYU5KZ.js} +10 -10
- package/dist/cli-bundle/chunks/{notes-WQAP67EC.js → notes-PU74EPKV.js} +10 -10
- package/dist/cli-bundle/chunks/{notes-LW53PFLH.js → notes-YTD6ZILW.js} +10 -10
- package/dist/cli-bundle/chunks/{plan-AVJ4VJQO.js → plan-FNXHXRCI.js} +14 -14
- package/dist/cli-bundle/chunks/{plan-VZKICKIJ.js → plan-GEQYUCBW.js} +14 -14
- package/dist/cli-bundle/chunks/{register-list-query-CM4SVAQA.js → register-list-query-PHWYHENI.js} +19 -19
- package/dist/cli-bundle/chunks/{register-list-query-7BD6ZHU5.js → register-list-query-QI45RMKN.js} +19 -19
- package/dist/cli-bundle/chunks/{register-mutation-PLFHAS4N.js → register-mutation-X3BUOQEL.js} +33 -33
- package/dist/cli-bundle/chunks/{register-mutation-ANZIWHUF.js → register-mutation-YINRTS7L.js} +33 -33
- package/dist/cli-bundle/chunks/{register-operations-KQPQIFF2.js → register-operations-E5JEASRK.js} +32 -32
- package/dist/cli-bundle/chunks/{register-operations-VLGCAWIW.js → register-operations-MIDTRW7S.js} +32 -32
- package/dist/cli-bundle/chunks/{register-setup-TMEF6V7O.js → register-setup-DYBFLEZX.js} +15 -15
- package/dist/cli-bundle/chunks/{register-setup-KPTZ36D4.js → register-setup-EG2U6CEU.js} +15 -15
- package/dist/cli-bundle/chunks/restore-5KHR2YYQ.js +19 -0
- package/dist/cli-bundle/chunks/{restore-64JKQV7G.js → restore-XQYSWBV7.js} +11 -11
- package/dist/cli-bundle/chunks/{scheduling-shortcuts-X6D6VSZR.js → scheduling-shortcuts-HJMTEXKE.js} +14 -14
- package/dist/cli-bundle/chunks/{scheduling-shortcuts-4ION7QAX.js → scheduling-shortcuts-NNT5ASZR.js} +14 -14
- package/dist/cli-bundle/chunks/{schema-OA4RSVMI.js → schema-263RI4WW.js} +9 -9
- package/dist/cli-bundle/chunks/{schema-TA3NF3RG.js → schema-TZXW6XWD.js} +9 -9
- package/dist/cli-bundle/chunks/{search-INCM5I4J.js → search-LECJYSXE.js} +12 -12
- package/dist/cli-bundle/chunks/{search-UAIHEQZL.js → search-SFRJOVDG.js} +12 -12
- package/dist/cli-bundle/chunks/{stats-WQWTIA5Y.js → stats-N7ER2PNK.js} +8 -8
- package/dist/cli-bundle/chunks/{stats-RHEMG4CE.js → stats-VPBGSRQH.js} +8 -8
- package/dist/cli-bundle/chunks/{telemetry-G6UKGKJU.js → telemetry-L6K3BUIQ.js} +4 -4
- package/dist/cli-bundle/chunks/{telemetry-XA5D2QEO.js → telemetry-PP3FUNBU.js} +4 -4
- package/dist/cli-bundle/chunks/{test-ZMQF23P3.js → test-3EGNS3T5.js} +15 -15
- package/dist/cli-bundle/chunks/{test-XF7BYLMZ.js → test-RQCTSWUK.js} +15 -15
- package/dist/cli-bundle/chunks/{test-all-WUBBJCPU.js → test-all-NJ5V2QFS.js} +15 -15
- package/dist/cli-bundle/chunks/{test-all-ZNQBMUOI.js → test-all-ZHFAWNC3.js} +15 -15
- package/dist/cli-bundle/chunks/{test-runs-RFA42EEX.js → test-runs-AJHR6IQF.js} +5 -5
- package/dist/cli-bundle/chunks/{test-runs-N7LI7HLH.js → test-runs-GN3C6GOI.js} +5 -5
- package/dist/cli-bundle/chunks/update-6YXOGHRT.js +24 -0
- package/dist/cli-bundle/chunks/update-V33YUBRP.js +28 -0
- package/dist/cli-bundle/chunks/{update-many-NMRUQZL2.js → update-many-N2AN6ZDH.js} +23 -23
- package/dist/cli-bundle/chunks/{update-many-6XFR7TFG.js → update-many-RYQ64CFW.js} +23 -23
- package/dist/cli-bundle/chunks/{upgrade-EJTME2YQ.js → upgrade-TJXFLZIX.js} +5 -5
- package/dist/cli-bundle/chunks/{upgrade-QMCSONWR.js → upgrade-VPCIYAVW.js} +5 -5
- package/dist/cli-bundle/chunks/{validate-3SUCHXXX.js → validate-JMNWEUYF.js} +62 -24
- package/dist/cli-bundle/chunks/validate-JMNWEUYF.js.map +1 -0
- package/dist/cli-bundle/chunks/{validate-KIIJY5RC.js → validate-PHKIYGSY.js} +61 -23
- package/dist/cli-bundle/chunks/validate-PHKIYGSY.js.map +7 -0
- package/dist/cli-bundle/main.js +17 -17
- package/dist/core/diagnostics/remediation.js +23 -2
- package/dist/core/diagnostics/remediation.js.map +1 -1
- package/dist/core/item/item-format-version.d.ts +87 -0
- package/dist/core/item/item-format-version.js +85 -0
- package/dist/core/item/item-format-version.js.map +1 -0
- package/dist/core/item/item-format.js +8 -2
- package/dist/core/item/item-format.js.map +1 -1
- package/dist/core/shared/constants.js +3 -2
- package/dist/core/shared/constants.js.map +1 -1
- package/dist/sdk/index.d.ts +2 -2
- package/dist/sdk/index.js +3 -3
- package/dist/sdk/index.js.map +1 -1
- package/dist/sdk/runtime.d.ts +1 -0
- package/dist/sdk/runtime.js +3 -2
- package/dist/sdk/runtime.js.map +1 -1
- package/dist/sdk/testing.d.ts +48 -1
- package/dist/sdk/testing.js +98 -2
- package/dist/sdk/testing.js.map +1 -1
- package/dist/types.d.ts +7 -0
- package/dist/types.js +2 -2
- package/dist/types.js.map +1 -1
- package/docs/ARCHITECTURE.md +2 -0
- package/docs/COMMANDS.md +2 -0
- package/docs/SDK.md +71 -0
- package/package.json +1 -1
- package/packages/pm-command-kit/README.md +4 -0
- package/packages/pm-todos/extensions/todos/runtime.js +191 -8
- package/packages/pm-todos/extensions/todos/runtime.ts +207 -7
- package/dist/cli-bundle/chunks/activity-7G7NNNZQ.js +0 -18
- package/dist/cli-bundle/chunks/chunk-5MWA46UN.js.map +0 -7
- package/dist/cli-bundle/chunks/chunk-AZ75OVK4.js.map +0 -1
- package/dist/cli-bundle/chunks/chunk-FSOJCFDS.js.map +0 -1
- package/dist/cli-bundle/chunks/chunk-H3ZTSYPA.js.map +0 -7
- package/dist/cli-bundle/chunks/chunk-IWKD7B33.js.map +0 -7
- package/dist/cli-bundle/chunks/chunk-LTUB7ARL.js.map +0 -1
- package/dist/cli-bundle/chunks/chunk-OLEP5TJH.js.map +0 -1
- package/dist/cli-bundle/chunks/chunk-QWAJPGEI.js.map +0 -7
- package/dist/cli-bundle/chunks/close-NNZZTZ5V.js +0 -15
- package/dist/cli-bundle/chunks/create-4KOAQ6ME.js +0 -30
- package/dist/cli-bundle/chunks/health-C2PUT6JZ.js.map +0 -1
- package/dist/cli-bundle/chunks/health-PBJS7W2T.js.map +0 -7
- package/dist/cli-bundle/chunks/history-ZXNWG6H4.js +0 -20
- package/dist/cli-bundle/chunks/history-redact-GV633Z4H.js +0 -21
- package/dist/cli-bundle/chunks/init-KQWZSNBX.js +0 -20
- package/dist/cli-bundle/chunks/restore-GKM26SAW.js +0 -19
- package/dist/cli-bundle/chunks/update-CPNOG73P.js +0 -24
- package/dist/cli-bundle/chunks/update-T5AYT6ZN.js +0 -28
- package/dist/cli-bundle/chunks/validate-3SUCHXXX.js.map +0 -1
- package/dist/cli-bundle/chunks/validate-KIIJY5RC.js.map +0 -7
- /package/dist/cli-bundle/chunks/{activity-7G7NNNZQ.js.map → activity-CIHV64UC.js.map} +0 -0
- /package/dist/cli-bundle/chunks/{activity-KEEITOTB.js.map → activity-KW3IRP44.js.map} +0 -0
- /package/dist/cli-bundle/chunks/{aggregate-GB2LJNTZ.js.map → aggregate-3ZKQG5SW.js.map} +0 -0
- /package/dist/cli-bundle/chunks/{aggregate-5BTHOHW2.js.map → aggregate-FIGQEIL3.js.map} +0 -0
- /package/dist/cli-bundle/chunks/{append-BBM4MNVD.js.map → append-EWJYJ7CH.js.map} +0 -0
- /package/dist/cli-bundle/chunks/{append-BFV5UYWS.js.map → append-QEOLX3XB.js.map} +0 -0
- /package/dist/cli-bundle/chunks/{chunk-RICT5QYR.js.map → chunk-2EIMPCE4.js.map} +0 -0
- /package/dist/cli-bundle/chunks/{chunk-ZYG4TR32.js.map → chunk-2GCDRRIF.js.map} +0 -0
- /package/dist/cli-bundle/chunks/{chunk-DYOJJTCG.js.map → chunk-2PKHRP6G.js.map} +0 -0
- /package/dist/cli-bundle/chunks/{chunk-HWHZ7EY7.js.map → chunk-37QXHBIB.js.map} +0 -0
- /package/dist/cli-bundle/chunks/{chunk-ACULWT7G.js.map → chunk-3EWSGA7N.js.map} +0 -0
- /package/dist/cli-bundle/chunks/{chunk-II4BRHKM.js.map → chunk-3MDHREEV.js.map} +0 -0
- /package/dist/cli-bundle/chunks/{chunk-E4E7UQBT.js.map → chunk-52OCIDPG.js.map} +0 -0
- /package/dist/cli-bundle/chunks/{chunk-FA5O2DEG.js.map → chunk-5FIEHKEX.js.map} +0 -0
- /package/dist/cli-bundle/chunks/{chunk-2QJLN4KM.js.map → chunk-5IDI42VV.js.map} +0 -0
- /package/dist/cli-bundle/chunks/{chunk-2LUNPA3U.js.map → chunk-5QICDWMV.js.map} +0 -0
- /package/dist/cli-bundle/chunks/{chunk-EOFROIC5.js.map → chunk-6CJWZAN7.js.map} +0 -0
- /package/dist/cli-bundle/chunks/{chunk-3KVCMB2M.js.map → chunk-6H4LF7AO.js.map} +0 -0
- /package/dist/cli-bundle/chunks/{chunk-6DZO5NN7.js.map → chunk-6M4RJS4M.js.map} +0 -0
- /package/dist/cli-bundle/chunks/{chunk-WFOITX4A.js.map → chunk-6ZXM2XNF.js.map} +0 -0
- /package/dist/cli-bundle/chunks/{chunk-AW4PYYNF.js.map → chunk-76Z3YSHV.js.map} +0 -0
- /package/dist/cli-bundle/chunks/{chunk-ZHCSGIUX.js.map → chunk-7D3SAQXM.js.map} +0 -0
- /package/dist/cli-bundle/chunks/{chunk-MFCFHL27.js.map → chunk-A4Z7ZOL5.js.map} +0 -0
- /package/dist/cli-bundle/chunks/{chunk-F4EYOSNC.js.map → chunk-AIS5PGI3.js.map} +0 -0
- /package/dist/cli-bundle/chunks/{chunk-BYNJWB5F.js.map → chunk-AZMOLBN3.js.map} +0 -0
- /package/dist/cli-bundle/chunks/{chunk-VE3BUO3R.js.map → chunk-B473GZWW.js.map} +0 -0
- /package/dist/cli-bundle/chunks/{chunk-W2ZESOQE.js.map → chunk-C3AZ5ZML.js.map} +0 -0
- /package/dist/cli-bundle/chunks/{chunk-CNPWCUDR.js.map → chunk-C4N5I7ZW.js.map} +0 -0
- /package/dist/cli-bundle/chunks/{chunk-DKWIPIJY.js.map → chunk-CF55WVVS.js.map} +0 -0
- /package/dist/cli-bundle/chunks/{chunk-YBQF4CAW.js.map → chunk-CZPXY7UW.js.map} +0 -0
- /package/dist/cli-bundle/chunks/{chunk-6KARQMC6.js.map → chunk-CZUB4XWO.js.map} +0 -0
- /package/dist/cli-bundle/chunks/{chunk-K2LBDYDC.js.map → chunk-D7FYS6PG.js.map} +0 -0
- /package/dist/cli-bundle/chunks/{chunk-X3CD2VUI.js.map → chunk-EBH56IXK.js.map} +0 -0
- /package/dist/cli-bundle/chunks/{chunk-5XK2RYJR.js.map → chunk-F5NZWFSW.js.map} +0 -0
- /package/dist/cli-bundle/chunks/{chunk-BZWIDTDE.js.map → chunk-F7K5GWP3.js.map} +0 -0
- /package/dist/cli-bundle/chunks/{chunk-4KFL5OYK.js.map → chunk-FKBDKV7Y.js.map} +0 -0
- /package/dist/cli-bundle/chunks/{chunk-XNQ3YH6N.js.map → chunk-FRUFKWNK.js.map} +0 -0
- /package/dist/cli-bundle/chunks/{chunk-ICEWMJYH.js.map → chunk-FWPDUYEY.js.map} +0 -0
- /package/dist/cli-bundle/chunks/{chunk-2ZY5SLNR.js.map → chunk-GMHPNNYG.js.map} +0 -0
- /package/dist/cli-bundle/chunks/{chunk-U3WTMYBX.js.map → chunk-GOZUHWFD.js.map} +0 -0
- /package/dist/cli-bundle/chunks/{chunk-ATRXPXAL.js.map → chunk-H7NJZWG2.js.map} +0 -0
- /package/dist/cli-bundle/chunks/{chunk-VONJSFUW.js.map → chunk-HC4AWIKT.js.map} +0 -0
- /package/dist/cli-bundle/chunks/{chunk-PF5GLFPU.js.map → chunk-HCU6WUSY.js.map} +0 -0
- /package/dist/cli-bundle/chunks/{chunk-NKTUBA2C.js.map → chunk-HIP7WVTL.js.map} +0 -0
- /package/dist/cli-bundle/chunks/{chunk-RADIHKJ3.js.map → chunk-J4MYYSOL.js.map} +0 -0
- /package/dist/cli-bundle/chunks/{chunk-OVSFW4KD.js.map → chunk-LUWW7L4B.js.map} +0 -0
- /package/dist/cli-bundle/chunks/{chunk-6KSFULO6.js.map → chunk-M5XALUSL.js.map} +0 -0
- /package/dist/cli-bundle/chunks/{chunk-BBSUVIIT.js.map → chunk-N5ZJACJ6.js.map} +0 -0
- /package/dist/cli-bundle/chunks/{chunk-ETJKPURB.js.map → chunk-NB3PYLQ6.js.map} +0 -0
- /package/dist/cli-bundle/chunks/{chunk-7MMXBIRZ.js.map → chunk-NIGXMNNI.js.map} +0 -0
- /package/dist/cli-bundle/chunks/{chunk-XKJDCJEH.js.map → chunk-NIUEXCFS.js.map} +0 -0
- /package/dist/cli-bundle/chunks/{chunk-RNKUCHUQ.js.map → chunk-NJHMAJ6N.js.map} +0 -0
- /package/dist/cli-bundle/chunks/{chunk-AOCYDQLT.js.map → chunk-NJN7LL7U.js.map} +0 -0
- /package/dist/cli-bundle/chunks/{chunk-MTQK5ZSB.js.map → chunk-NSBZ2CKF.js.map} +0 -0
- /package/dist/cli-bundle/chunks/{chunk-26OQTCGH.js.map → chunk-NXS7ZKAK.js.map} +0 -0
- /package/dist/cli-bundle/chunks/{chunk-6LTSLEHD.js.map → chunk-O47BPOPC.js.map} +0 -0
- /package/dist/cli-bundle/chunks/{chunk-6Y7IQ6XN.js.map → chunk-OFYMIDF2.js.map} +0 -0
- /package/dist/cli-bundle/chunks/{chunk-4YMX7XFI.js.map → chunk-OTHIWLMB.js.map} +0 -0
- /package/dist/cli-bundle/chunks/{chunk-QUTJOHGK.js.map → chunk-PFSRUHDH.js.map} +0 -0
- /package/dist/cli-bundle/chunks/{chunk-FXKPUMIR.js.map → chunk-PP2U4NMT.js.map} +0 -0
- /package/dist/cli-bundle/chunks/{chunk-XXGAWTH5.js.map → chunk-PUH4D67U.js.map} +0 -0
- /package/dist/cli-bundle/chunks/{chunk-NCGQ27PK.js.map → chunk-Q2J2HJUN.js.map} +0 -0
- /package/dist/cli-bundle/chunks/{chunk-J7VSEFWB.js.map → chunk-QQHISQBJ.js.map} +0 -0
- /package/dist/cli-bundle/chunks/{chunk-KCJZREBI.js.map → chunk-QZTWBFXJ.js.map} +0 -0
- /package/dist/cli-bundle/chunks/{chunk-NMQNXH4U.js.map → chunk-RLK7P77C.js.map} +0 -0
- /package/dist/cli-bundle/chunks/{chunk-FBBPCSJM.js.map → chunk-RVHYI7SL.js.map} +0 -0
- /package/dist/cli-bundle/chunks/{chunk-3WAKNI2W.js.map → chunk-SBGXDO7A.js.map} +0 -0
- /package/dist/cli-bundle/chunks/{chunk-6FSPWUBI.js.map → chunk-SRYYRVPB.js.map} +0 -0
- /package/dist/cli-bundle/chunks/{chunk-SL233DQD.js.map → chunk-SX75ADBK.js.map} +0 -0
- /package/dist/cli-bundle/chunks/{chunk-YT4Z2OVB.js.map → chunk-TKBHZPKD.js.map} +0 -0
- /package/dist/cli-bundle/chunks/{chunk-EKMHDL6Z.js.map → chunk-UEMNL33O.js.map} +0 -0
- /package/dist/cli-bundle/chunks/{chunk-4S4INK3B.js.map → chunk-UPE3CDD7.js.map} +0 -0
- /package/dist/cli-bundle/chunks/{chunk-4PW4C3ZB.js.map → chunk-UV6IYE5U.js.map} +0 -0
- /package/dist/cli-bundle/chunks/{chunk-GF44HVZL.js.map → chunk-WQ7NIVDK.js.map} +0 -0
- /package/dist/cli-bundle/chunks/{chunk-B3LROPTV.js.map → chunk-YCJX76PW.js.map} +0 -0
- /package/dist/cli-bundle/chunks/{chunk-WMQBNVZL.js.map → chunk-Z6T4PQI2.js.map} +0 -0
- /package/dist/cli-bundle/chunks/{claim-G57ZJLZ4.js.map → claim-RC56YUWG.js.map} +0 -0
- /package/dist/cli-bundle/chunks/{claim-TRSDQO6L.js.map → claim-THOJ6CMV.js.map} +0 -0
- /package/dist/cli-bundle/chunks/{close-NNZZTZ5V.js.map → close-DNMHGOCX.js.map} +0 -0
- /package/dist/cli-bundle/chunks/{close-4QMUQMON.js.map → close-SG5MNCVQ.js.map} +0 -0
- /package/dist/cli-bundle/chunks/{close-many-A7U62CRI.js.map → close-many-3L3AQZBU.js.map} +0 -0
- /package/dist/cli-bundle/chunks/{close-many-3UWKJRQK.js.map → close-many-DKQLBGLV.js.map} +0 -0
- /package/dist/cli-bundle/chunks/{comments-4EM7XR74.js.map → comments-M7ZOZNBX.js.map} +0 -0
- /package/dist/cli-bundle/chunks/{comments-URWDZP2I.js.map → comments-SKWMDWCW.js.map} +0 -0
- /package/dist/cli-bundle/chunks/{config-GRJYZ2O3.js.map → config-7CK62S7T.js.map} +0 -0
- /package/dist/cli-bundle/chunks/{config-PSZ5GWAK.js.map → config-OZCUABPB.js.map} +0 -0
- /package/dist/cli-bundle/chunks/{context-A46YAV2F.js.map → context-OEC366TO.js.map} +0 -0
- /package/dist/cli-bundle/chunks/{context-BCR34RKM.js.map → context-PUG2A7RC.js.map} +0 -0
- /package/dist/cli-bundle/chunks/{contracts-JOPCQNDP.js.map → contracts-3THOLA7L.js.map} +0 -0
- /package/dist/cli-bundle/chunks/{contracts-HPT25X4D.js.map → contracts-N65FXEOL.js.map} +0 -0
- /package/dist/cli-bundle/chunks/{copy-X7V6AEDB.js.map → copy-6QLHILAC.js.map} +0 -0
- /package/dist/cli-bundle/chunks/{copy-KBTIUW7L.js.map → copy-JPX7VZCH.js.map} +0 -0
- /package/dist/cli-bundle/chunks/{create-4KOAQ6ME.js.map → create-NNP6TSFO.js.map} +0 -0
- /package/dist/cli-bundle/chunks/{create-ZPZKJDFQ.js.map → create-Y54ZVVZH.js.map} +0 -0
- /package/dist/cli-bundle/chunks/{delete-FGKVPUQZ.js.map → delete-63PCMQAJ.js.map} +0 -0
- /package/dist/cli-bundle/chunks/{delete-2ZI6CJZM.js.map → delete-GDSMGAGJ.js.map} +0 -0
- /package/dist/cli-bundle/chunks/{deps-IUJOBF2H.js.map → deps-T4ZF5G54.js.map} +0 -0
- /package/dist/cli-bundle/chunks/{deps-SJCEFU3C.js.map → deps-XYQ73XRH.js.map} +0 -0
- /package/dist/cli-bundle/chunks/{docs-UWJ75CKR.js.map → docs-C75YIXHC.js.map} +0 -0
- /package/dist/cli-bundle/chunks/{docs-2LXF5SVC.js.map → docs-EHNPDWUL.js.map} +0 -0
- /package/dist/cli-bundle/chunks/{eval-FRIDCTM2.js.map → eval-3WKDTRMH.js.map} +0 -0
- /package/dist/cli-bundle/chunks/{eval-ZTT3F3SL.js.map → eval-GTENKE24.js.map} +0 -0
- /package/dist/cli-bundle/chunks/{extension-VRYTNNSV.js.map → extension-46NWACO3.js.map} +0 -0
- /package/dist/cli-bundle/chunks/{extension-XFQG3BXL.js.map → extension-D5FDZ2CO.js.map} +0 -0
- /package/dist/cli-bundle/chunks/{files-B2RUCA32.js.map → files-DSZBOSSN.js.map} +0 -0
- /package/dist/cli-bundle/chunks/{files-AJOGTTAN.js.map → files-X3H7CCBQ.js.map} +0 -0
- /package/dist/cli-bundle/chunks/{focus-7N36RIMT.js.map → focus-5STQXDPU.js.map} +0 -0
- /package/dist/cli-bundle/chunks/{focus-CFE33IYC.js.map → focus-MDVPOWB5.js.map} +0 -0
- /package/dist/cli-bundle/chunks/{gc-OYJK4YBY.js.map → gc-ZC7JHBG7.js.map} +0 -0
- /package/dist/cli-bundle/chunks/{gc-SBF2FGHK.js.map → gc-ZMST3WQP.js.map} +0 -0
- /package/dist/cli-bundle/chunks/{get-577VLZZ7.js.map → get-J2IPJRZW.js.map} +0 -0
- /package/dist/cli-bundle/chunks/{get-LLFWSPXW.js.map → get-NT7L2HUZ.js.map} +0 -0
- /package/dist/cli-bundle/chunks/{history-4FJK6Y3O.js.map → history-RLH2QCRO.js.map} +0 -0
- /package/dist/cli-bundle/chunks/{history-ZXNWG6H4.js.map → history-WX3MGFS2.js.map} +0 -0
- /package/dist/cli-bundle/chunks/{history-compact-HXF3OT7G.js.map → history-compact-UXDIFC33.js.map} +0 -0
- /package/dist/cli-bundle/chunks/{history-compact-AXR6R6GU.js.map → history-compact-ZBEBGJM7.js.map} +0 -0
- /package/dist/cli-bundle/chunks/{history-redact-UMPD4G3K.js.map → history-redact-P7I7AWMB.js.map} +0 -0
- /package/dist/cli-bundle/chunks/{history-redact-GV633Z4H.js.map → history-redact-YQGU3XRA.js.map} +0 -0
- /package/dist/cli-bundle/chunks/{history-repair-WHOK2ICG.js.map → history-repair-52KINVIK.js.map} +0 -0
- /package/dist/cli-bundle/chunks/{history-repair-X57HE5EA.js.map → history-repair-RM5ITLU5.js.map} +0 -0
- /package/dist/cli-bundle/chunks/{init-N7MIIYCU.js.map → init-2BNZOO6F.js.map} +0 -0
- /package/dist/cli-bundle/chunks/{init-KQWZSNBX.js.map → init-SC2P6CHP.js.map} +0 -0
- /package/dist/cli-bundle/chunks/{learnings-GZRBIEAN.js.map → learnings-W6F3FIPL.js.map} +0 -0
- /package/dist/cli-bundle/chunks/{learnings-FPG7WAVW.js.map → learnings-YGYVHWJK.js.map} +0 -0
- /package/dist/cli-bundle/chunks/{list-MZBCSKLU.js.map → list-K6FPV4J4.js.map} +0 -0
- /package/dist/cli-bundle/chunks/{list-ZDQ2OBSO.js.map → list-KPAYU5KZ.js.map} +0 -0
- /package/dist/cli-bundle/chunks/{notes-WQAP67EC.js.map → notes-PU74EPKV.js.map} +0 -0
- /package/dist/cli-bundle/chunks/{notes-LW53PFLH.js.map → notes-YTD6ZILW.js.map} +0 -0
- /package/dist/cli-bundle/chunks/{plan-AVJ4VJQO.js.map → plan-FNXHXRCI.js.map} +0 -0
- /package/dist/cli-bundle/chunks/{plan-VZKICKIJ.js.map → plan-GEQYUCBW.js.map} +0 -0
- /package/dist/cli-bundle/chunks/{register-list-query-CM4SVAQA.js.map → register-list-query-PHWYHENI.js.map} +0 -0
- /package/dist/cli-bundle/chunks/{register-list-query-7BD6ZHU5.js.map → register-list-query-QI45RMKN.js.map} +0 -0
- /package/dist/cli-bundle/chunks/{register-mutation-PLFHAS4N.js.map → register-mutation-X3BUOQEL.js.map} +0 -0
- /package/dist/cli-bundle/chunks/{register-mutation-ANZIWHUF.js.map → register-mutation-YINRTS7L.js.map} +0 -0
- /package/dist/cli-bundle/chunks/{register-operations-KQPQIFF2.js.map → register-operations-E5JEASRK.js.map} +0 -0
- /package/dist/cli-bundle/chunks/{register-operations-VLGCAWIW.js.map → register-operations-MIDTRW7S.js.map} +0 -0
- /package/dist/cli-bundle/chunks/{register-setup-TMEF6V7O.js.map → register-setup-DYBFLEZX.js.map} +0 -0
- /package/dist/cli-bundle/chunks/{register-setup-KPTZ36D4.js.map → register-setup-EG2U6CEU.js.map} +0 -0
- /package/dist/cli-bundle/chunks/{restore-GKM26SAW.js.map → restore-5KHR2YYQ.js.map} +0 -0
- /package/dist/cli-bundle/chunks/{restore-64JKQV7G.js.map → restore-XQYSWBV7.js.map} +0 -0
- /package/dist/cli-bundle/chunks/{scheduling-shortcuts-X6D6VSZR.js.map → scheduling-shortcuts-HJMTEXKE.js.map} +0 -0
- /package/dist/cli-bundle/chunks/{scheduling-shortcuts-4ION7QAX.js.map → scheduling-shortcuts-NNT5ASZR.js.map} +0 -0
- /package/dist/cli-bundle/chunks/{schema-OA4RSVMI.js.map → schema-263RI4WW.js.map} +0 -0
- /package/dist/cli-bundle/chunks/{schema-TA3NF3RG.js.map → schema-TZXW6XWD.js.map} +0 -0
- /package/dist/cli-bundle/chunks/{search-INCM5I4J.js.map → search-LECJYSXE.js.map} +0 -0
- /package/dist/cli-bundle/chunks/{search-UAIHEQZL.js.map → search-SFRJOVDG.js.map} +0 -0
- /package/dist/cli-bundle/chunks/{stats-WQWTIA5Y.js.map → stats-N7ER2PNK.js.map} +0 -0
- /package/dist/cli-bundle/chunks/{stats-RHEMG4CE.js.map → stats-VPBGSRQH.js.map} +0 -0
- /package/dist/cli-bundle/chunks/{telemetry-G6UKGKJU.js.map → telemetry-L6K3BUIQ.js.map} +0 -0
- /package/dist/cli-bundle/chunks/{telemetry-XA5D2QEO.js.map → telemetry-PP3FUNBU.js.map} +0 -0
- /package/dist/cli-bundle/chunks/{test-ZMQF23P3.js.map → test-3EGNS3T5.js.map} +0 -0
- /package/dist/cli-bundle/chunks/{test-XF7BYLMZ.js.map → test-RQCTSWUK.js.map} +0 -0
- /package/dist/cli-bundle/chunks/{test-all-WUBBJCPU.js.map → test-all-NJ5V2QFS.js.map} +0 -0
- /package/dist/cli-bundle/chunks/{test-all-ZNQBMUOI.js.map → test-all-ZHFAWNC3.js.map} +0 -0
- /package/dist/cli-bundle/chunks/{test-runs-RFA42EEX.js.map → test-runs-AJHR6IQF.js.map} +0 -0
- /package/dist/cli-bundle/chunks/{test-runs-N7LI7HLH.js.map → test-runs-GN3C6GOI.js.map} +0 -0
- /package/dist/cli-bundle/chunks/{update-CPNOG73P.js.map → update-6YXOGHRT.js.map} +0 -0
- /package/dist/cli-bundle/chunks/{update-T5AYT6ZN.js.map → update-V33YUBRP.js.map} +0 -0
- /package/dist/cli-bundle/chunks/{update-many-NMRUQZL2.js.map → update-many-N2AN6ZDH.js.map} +0 -0
- /package/dist/cli-bundle/chunks/{update-many-6XFR7TFG.js.map → update-many-RYQ64CFW.js.map} +0 -0
- /package/dist/cli-bundle/chunks/{upgrade-EJTME2YQ.js.map → upgrade-TJXFLZIX.js.map} +0 -0
- /package/dist/cli-bundle/chunks/{upgrade-QMCSONWR.js.map → upgrade-VPCIYAVW.js.map} +0 -0
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import fs from "node:fs/promises";
|
|
2
2
|
import path from "node:path";
|
|
3
|
-
import { CONFIDENCE_TEXT_VALUES, EXIT_CODE, ISSUE_SEVERITY_VALUES, PmCliError, RISK_VALUES, canonicalDocument, commitImportedItem, generateItemId, getActiveExtensionRegistrations, getItemPath, listAllFrontMatter, locateItem, normalizeFrontMatter, normalizeItemId, nowIso, readLocatedItem, readSettings, resolveItemTypeRegistry, resolvePmRoot, runActiveOnReadHooks, runActiveOnWriteHooks, selectImportAuthor, splitFrontMatter, ensureTrackerInitialized, toEstimatedMinutesValue, toImportPriority, toImportStatus, toImportTags, toNonEmptyImportString, writeFileAtomic, } from "../../../../dist/sdk/index.js";
|
|
3
|
+
import { CONFIDENCE_TEXT_VALUES, DEPENDENCY_KIND_VALUES, EXIT_CODE, ISSUE_SEVERITY_VALUES, PmCliError, RISK_VALUES, canonicalDocument, commitImportedItem, generateItemId, getActiveExtensionRegistrations, getItemPath, listAllFrontMatter, locateItem, normalizeFrontMatter, normalizeItemId, nowIso, readLocatedItem, readSettings, resolveItemTypeRegistry, resolvePmRoot, runActiveOnReadHooks, runActiveOnWriteHooks, selectImportAuthor, splitFrontMatter, ensureTrackerInitialized, toEstimatedMinutesValue, toImportPriority, toImportStatus, toImportTags, toNonEmptyImportString, writeFileAtomic, } from "../../../../dist/sdk/index.js";
|
|
4
4
|
const DEFAULT_TODOS_FOLDER = ".pm/todos";
|
|
5
5
|
// Shared, behavior-identical value coercers are sourced from the SDK adapter
|
|
6
6
|
// surface; package-specific mappings (lenient timestamps, type-name resolution,
|
|
@@ -95,6 +95,189 @@ function toBoolean(value) {
|
|
|
95
95
|
return undefined;
|
|
96
96
|
}
|
|
97
97
|
const toTags = toImportTags;
|
|
98
|
+
function toLinkScope(value) {
|
|
99
|
+
return toNonEmptyString(value)?.toLowerCase() === "global" ? "global" : "project";
|
|
100
|
+
}
|
|
101
|
+
function toStringList(value) {
|
|
102
|
+
if (!Array.isArray(value)) {
|
|
103
|
+
return undefined;
|
|
104
|
+
}
|
|
105
|
+
const entries = value
|
|
106
|
+
.map((entry) => toNonEmptyString(entry))
|
|
107
|
+
.filter((entry) => entry !== undefined);
|
|
108
|
+
return entries.length > 0 ? entries : undefined;
|
|
109
|
+
}
|
|
110
|
+
function toStringMap(value) {
|
|
111
|
+
if (!isRecord(value)) {
|
|
112
|
+
return undefined;
|
|
113
|
+
}
|
|
114
|
+
const entries = Object.entries(value)
|
|
115
|
+
.map(([key, entryValue]) => [key.trim(), toNonEmptyString(entryValue)])
|
|
116
|
+
.filter((entry) => entry[0].length > 0 && entry[1] !== undefined);
|
|
117
|
+
return entries.length > 0 ? Object.fromEntries(entries) : undefined;
|
|
118
|
+
}
|
|
119
|
+
function toNumberMap(value) {
|
|
120
|
+
if (!isRecord(value)) {
|
|
121
|
+
return undefined;
|
|
122
|
+
}
|
|
123
|
+
const entries = Object.entries(value)
|
|
124
|
+
.map(([key, entryValue]) => [key.trim(), toInteger(entryValue)])
|
|
125
|
+
.filter((entry) => entry[0].length > 0 && entry[1] !== undefined);
|
|
126
|
+
return entries.length > 0 ? Object.fromEntries(entries) : undefined;
|
|
127
|
+
}
|
|
128
|
+
function toDependencyEntries(value, fallbackCreatedAt) {
|
|
129
|
+
if (!Array.isArray(value)) {
|
|
130
|
+
return undefined;
|
|
131
|
+
}
|
|
132
|
+
const dependencies = [];
|
|
133
|
+
for (const entry of value) {
|
|
134
|
+
if (!isRecord(entry)) {
|
|
135
|
+
continue;
|
|
136
|
+
}
|
|
137
|
+
const id = toNonEmptyString(entry.id);
|
|
138
|
+
if (!id) {
|
|
139
|
+
continue;
|
|
140
|
+
}
|
|
141
|
+
const normalizedKind = toNonEmptyString(entry.kind)?.toLowerCase();
|
|
142
|
+
const kind = normalizedKind && DEPENDENCY_KIND_VALUES.includes(normalizedKind) ? normalizedKind : "related";
|
|
143
|
+
dependencies.push({
|
|
144
|
+
id,
|
|
145
|
+
kind,
|
|
146
|
+
created_at: toIsoString(entry.created_at) ?? fallbackCreatedAt,
|
|
147
|
+
author: toNonEmptyString(entry.author),
|
|
148
|
+
source_kind: toNonEmptyString(entry.source_kind),
|
|
149
|
+
});
|
|
150
|
+
}
|
|
151
|
+
return dependencies.length > 0 ? dependencies : undefined;
|
|
152
|
+
}
|
|
153
|
+
function toLogEntries(value, fallbackCreatedAt, fallbackAuthor) {
|
|
154
|
+
if (!Array.isArray(value)) {
|
|
155
|
+
return undefined;
|
|
156
|
+
}
|
|
157
|
+
const entries = value
|
|
158
|
+
.map((entry) => {
|
|
159
|
+
if (typeof entry === "string") {
|
|
160
|
+
const text = toNonEmptyString(entry);
|
|
161
|
+
return text
|
|
162
|
+
? {
|
|
163
|
+
created_at: fallbackCreatedAt,
|
|
164
|
+
author: fallbackAuthor,
|
|
165
|
+
text,
|
|
166
|
+
}
|
|
167
|
+
: undefined;
|
|
168
|
+
}
|
|
169
|
+
if (!isRecord(entry)) {
|
|
170
|
+
return undefined;
|
|
171
|
+
}
|
|
172
|
+
const text = toNonEmptyString(entry.text);
|
|
173
|
+
if (!text) {
|
|
174
|
+
return undefined;
|
|
175
|
+
}
|
|
176
|
+
return {
|
|
177
|
+
created_at: toIsoString(entry.created_at) ?? fallbackCreatedAt,
|
|
178
|
+
author: toNonEmptyString(entry.author) ?? fallbackAuthor,
|
|
179
|
+
text,
|
|
180
|
+
};
|
|
181
|
+
})
|
|
182
|
+
.filter((entry) => entry !== undefined);
|
|
183
|
+
return entries.length > 0 ? entries : undefined;
|
|
184
|
+
}
|
|
185
|
+
function toLinkedFiles(value) {
|
|
186
|
+
if (!Array.isArray(value)) {
|
|
187
|
+
return undefined;
|
|
188
|
+
}
|
|
189
|
+
const entries = value
|
|
190
|
+
.map((entry) => {
|
|
191
|
+
if (typeof entry === "string") {
|
|
192
|
+
const filePath = toNonEmptyString(entry);
|
|
193
|
+
return filePath ? { path: filePath, scope: "project" } : undefined;
|
|
194
|
+
}
|
|
195
|
+
if (!isRecord(entry)) {
|
|
196
|
+
return undefined;
|
|
197
|
+
}
|
|
198
|
+
const filePath = toNonEmptyString(entry.path);
|
|
199
|
+
if (!filePath) {
|
|
200
|
+
return undefined;
|
|
201
|
+
}
|
|
202
|
+
return {
|
|
203
|
+
path: filePath,
|
|
204
|
+
scope: toLinkScope(entry.scope),
|
|
205
|
+
note: toNonEmptyString(entry.note),
|
|
206
|
+
};
|
|
207
|
+
})
|
|
208
|
+
.filter((entry) => entry !== undefined);
|
|
209
|
+
return entries.length > 0 ? entries : undefined;
|
|
210
|
+
}
|
|
211
|
+
function toLinkedDocs(value) {
|
|
212
|
+
if (!Array.isArray(value)) {
|
|
213
|
+
return undefined;
|
|
214
|
+
}
|
|
215
|
+
const entries = value
|
|
216
|
+
.map((entry) => {
|
|
217
|
+
if (typeof entry === "string") {
|
|
218
|
+
const docPath = toNonEmptyString(entry);
|
|
219
|
+
return docPath ? { path: docPath, scope: "project" } : undefined;
|
|
220
|
+
}
|
|
221
|
+
if (!isRecord(entry)) {
|
|
222
|
+
return undefined;
|
|
223
|
+
}
|
|
224
|
+
const docPath = toNonEmptyString(entry.path);
|
|
225
|
+
if (!docPath) {
|
|
226
|
+
return undefined;
|
|
227
|
+
}
|
|
228
|
+
return {
|
|
229
|
+
path: docPath,
|
|
230
|
+
scope: toLinkScope(entry.scope),
|
|
231
|
+
note: toNonEmptyString(entry.note),
|
|
232
|
+
};
|
|
233
|
+
})
|
|
234
|
+
.filter((entry) => entry !== undefined);
|
|
235
|
+
return entries.length > 0 ? entries : undefined;
|
|
236
|
+
}
|
|
237
|
+
function toLinkedTests(value) {
|
|
238
|
+
if (!Array.isArray(value)) {
|
|
239
|
+
return undefined;
|
|
240
|
+
}
|
|
241
|
+
const entries = [];
|
|
242
|
+
for (const entry of value) {
|
|
243
|
+
if (typeof entry === "string") {
|
|
244
|
+
const command = toNonEmptyString(entry);
|
|
245
|
+
if (command) {
|
|
246
|
+
entries.push({ command, scope: "project" });
|
|
247
|
+
}
|
|
248
|
+
continue;
|
|
249
|
+
}
|
|
250
|
+
if (!isRecord(entry)) {
|
|
251
|
+
continue;
|
|
252
|
+
}
|
|
253
|
+
const command = toNonEmptyString(entry.command);
|
|
254
|
+
const testPath = toNonEmptyString(entry.path);
|
|
255
|
+
if (!command && !testPath) {
|
|
256
|
+
continue;
|
|
257
|
+
}
|
|
258
|
+
const timeoutSeconds = toInteger(entry.timeout_seconds);
|
|
259
|
+
const pmContextMode = toNormalizedEnum(entry.pm_context_mode, ["schema", "tracker", "auto"]);
|
|
260
|
+
entries.push({
|
|
261
|
+
command,
|
|
262
|
+
path: testPath,
|
|
263
|
+
scope: toLinkScope(entry.scope),
|
|
264
|
+
timeout_seconds: timeoutSeconds !== undefined && timeoutSeconds > 0 ? timeoutSeconds : undefined,
|
|
265
|
+
pm_context_mode: pmContextMode,
|
|
266
|
+
env_set: toStringMap(entry.env_set),
|
|
267
|
+
env_clear: toStringList(entry.env_clear),
|
|
268
|
+
shared_host_safe: toBoolean(entry.shared_host_safe),
|
|
269
|
+
assert_stdout_contains: toStringList(entry.assert_stdout_contains),
|
|
270
|
+
assert_stdout_regex: toStringList(entry.assert_stdout_regex),
|
|
271
|
+
assert_stderr_contains: toStringList(entry.assert_stderr_contains),
|
|
272
|
+
assert_stderr_regex: toStringList(entry.assert_stderr_regex),
|
|
273
|
+
assert_stdout_min_lines: toInteger(entry.assert_stdout_min_lines),
|
|
274
|
+
assert_json_field_equals: toStringMap(entry.assert_json_field_equals),
|
|
275
|
+
assert_json_field_gte: toNumberMap(entry.assert_json_field_gte),
|
|
276
|
+
note: toNonEmptyString(entry.note),
|
|
277
|
+
});
|
|
278
|
+
}
|
|
279
|
+
return entries.length > 0 ? entries : undefined;
|
|
280
|
+
}
|
|
98
281
|
function toItemType(value, typeNames) {
|
|
99
282
|
const normalized = toNonEmptyString(value)?.toLowerCase();
|
|
100
283
|
const fallbackType = typeNames.find((entry) => entry.toLowerCase() === "task") ?? typeNames[0] ?? "Task";
|
|
@@ -224,13 +407,13 @@ async function importTodoCandidate(candidate, runtime) {
|
|
|
224
407
|
regression: toBoolean(candidate.frontMatter.regression),
|
|
225
408
|
customer_impact: toNonEmptyString(candidate.frontMatter.customer_impact),
|
|
226
409
|
close_reason: toNonEmptyString(candidate.frontMatter.close_reason),
|
|
227
|
-
dependencies:
|
|
228
|
-
comments:
|
|
229
|
-
notes:
|
|
230
|
-
learnings:
|
|
231
|
-
files:
|
|
232
|
-
docs:
|
|
233
|
-
tests:
|
|
410
|
+
dependencies: toDependencyEntries(candidate.frontMatter.dependencies, createdAt),
|
|
411
|
+
comments: toLogEntries(candidate.frontMatter.comments, createdAt, runtime.author),
|
|
412
|
+
notes: toLogEntries(candidate.frontMatter.notes, createdAt, runtime.author),
|
|
413
|
+
learnings: toLogEntries(candidate.frontMatter.learnings, createdAt, runtime.author),
|
|
414
|
+
files: toLinkedFiles(candidate.frontMatter.files),
|
|
415
|
+
docs: toLinkedDocs(candidate.frontMatter.docs),
|
|
416
|
+
tests: toLinkedTests(candidate.frontMatter.tests),
|
|
234
417
|
}),
|
|
235
418
|
body: candidate.body,
|
|
236
419
|
});
|
|
@@ -3,6 +3,7 @@ import type { Dirent } from "node:fs";
|
|
|
3
3
|
import path from "node:path";
|
|
4
4
|
import {
|
|
5
5
|
CONFIDENCE_TEXT_VALUES,
|
|
6
|
+
DEPENDENCY_KIND_VALUES,
|
|
6
7
|
EXIT_CODE,
|
|
7
8
|
ISSUE_SEVERITY_VALUES,
|
|
8
9
|
PmCliError,
|
|
@@ -36,6 +37,10 @@ import {
|
|
|
36
37
|
type ItemMetadata,
|
|
37
38
|
type ItemStatus,
|
|
38
39
|
type ItemType,
|
|
40
|
+
type LinkedDoc,
|
|
41
|
+
type LinkedFile,
|
|
42
|
+
type LinkedTest,
|
|
43
|
+
type LogNote,
|
|
39
44
|
type PmSettings,
|
|
40
45
|
} from "../../../../src/sdk/index.js";
|
|
41
46
|
|
|
@@ -194,6 +199,201 @@ function toBoolean(value: unknown): boolean | undefined {
|
|
|
194
199
|
|
|
195
200
|
const toTags = toImportTags;
|
|
196
201
|
|
|
202
|
+
function toLinkScope(value: unknown): "project" | "global" {
|
|
203
|
+
return toNonEmptyString(value)?.toLowerCase() === "global" ? "global" : "project";
|
|
204
|
+
}
|
|
205
|
+
|
|
206
|
+
function toStringList(value: unknown): string[] | undefined {
|
|
207
|
+
if (!Array.isArray(value)) {
|
|
208
|
+
return undefined;
|
|
209
|
+
}
|
|
210
|
+
const entries = value
|
|
211
|
+
.map((entry) => toNonEmptyString(entry))
|
|
212
|
+
.filter((entry): entry is string => entry !== undefined);
|
|
213
|
+
return entries.length > 0 ? entries : undefined;
|
|
214
|
+
}
|
|
215
|
+
|
|
216
|
+
function toStringMap(value: unknown): Record<string, string> | undefined {
|
|
217
|
+
if (!isRecord(value)) {
|
|
218
|
+
return undefined;
|
|
219
|
+
}
|
|
220
|
+
const entries = Object.entries(value)
|
|
221
|
+
.map(([key, entryValue]) => [key.trim(), toNonEmptyString(entryValue)] as const)
|
|
222
|
+
.filter((entry): entry is readonly [string, string] => entry[0].length > 0 && entry[1] !== undefined);
|
|
223
|
+
return entries.length > 0 ? Object.fromEntries(entries) : undefined;
|
|
224
|
+
}
|
|
225
|
+
|
|
226
|
+
function toNumberMap(value: unknown): Record<string, number> | undefined {
|
|
227
|
+
if (!isRecord(value)) {
|
|
228
|
+
return undefined;
|
|
229
|
+
}
|
|
230
|
+
const entries = Object.entries(value)
|
|
231
|
+
.map(([key, entryValue]) => [key.trim(), toInteger(entryValue)] as const)
|
|
232
|
+
.filter((entry): entry is readonly [string, number] => entry[0].length > 0 && entry[1] !== undefined);
|
|
233
|
+
return entries.length > 0 ? Object.fromEntries(entries) : undefined;
|
|
234
|
+
}
|
|
235
|
+
|
|
236
|
+
function toDependencyEntries(value: unknown, fallbackCreatedAt: string): ItemMetadata["dependencies"] {
|
|
237
|
+
if (!Array.isArray(value)) {
|
|
238
|
+
return undefined;
|
|
239
|
+
}
|
|
240
|
+
const dependencies: NonNullable<ItemMetadata["dependencies"]> = [];
|
|
241
|
+
for (const entry of value) {
|
|
242
|
+
if (!isRecord(entry)) {
|
|
243
|
+
continue;
|
|
244
|
+
}
|
|
245
|
+
const id = toNonEmptyString(entry.id);
|
|
246
|
+
if (!id) {
|
|
247
|
+
continue;
|
|
248
|
+
}
|
|
249
|
+
const normalizedKind = toNonEmptyString(entry.kind)?.toLowerCase();
|
|
250
|
+
const kind =
|
|
251
|
+
normalizedKind && DEPENDENCY_KIND_VALUES.includes(normalizedKind as (typeof DEPENDENCY_KIND_VALUES)[number])
|
|
252
|
+
? (normalizedKind as (typeof DEPENDENCY_KIND_VALUES)[number])
|
|
253
|
+
: "related";
|
|
254
|
+
dependencies.push({
|
|
255
|
+
id,
|
|
256
|
+
kind,
|
|
257
|
+
created_at: toIsoString(entry.created_at) ?? fallbackCreatedAt,
|
|
258
|
+
author: toNonEmptyString(entry.author),
|
|
259
|
+
source_kind: toNonEmptyString(entry.source_kind),
|
|
260
|
+
});
|
|
261
|
+
}
|
|
262
|
+
return dependencies.length > 0 ? dependencies : undefined;
|
|
263
|
+
}
|
|
264
|
+
|
|
265
|
+
function toLogEntries(value: unknown, fallbackCreatedAt: string, fallbackAuthor: string): LogNote[] | undefined {
|
|
266
|
+
if (!Array.isArray(value)) {
|
|
267
|
+
return undefined;
|
|
268
|
+
}
|
|
269
|
+
const entries = value
|
|
270
|
+
.map((entry) => {
|
|
271
|
+
if (typeof entry === "string") {
|
|
272
|
+
const text = toNonEmptyString(entry);
|
|
273
|
+
return text
|
|
274
|
+
? {
|
|
275
|
+
created_at: fallbackCreatedAt,
|
|
276
|
+
author: fallbackAuthor,
|
|
277
|
+
text,
|
|
278
|
+
}
|
|
279
|
+
: undefined;
|
|
280
|
+
}
|
|
281
|
+
if (!isRecord(entry)) {
|
|
282
|
+
return undefined;
|
|
283
|
+
}
|
|
284
|
+
const text = toNonEmptyString(entry.text);
|
|
285
|
+
if (!text) {
|
|
286
|
+
return undefined;
|
|
287
|
+
}
|
|
288
|
+
return {
|
|
289
|
+
created_at: toIsoString(entry.created_at) ?? fallbackCreatedAt,
|
|
290
|
+
author: toNonEmptyString(entry.author) ?? fallbackAuthor,
|
|
291
|
+
text,
|
|
292
|
+
};
|
|
293
|
+
})
|
|
294
|
+
.filter((entry): entry is LogNote => entry !== undefined);
|
|
295
|
+
return entries.length > 0 ? entries : undefined;
|
|
296
|
+
}
|
|
297
|
+
|
|
298
|
+
function toLinkedFiles(value: unknown): LinkedFile[] | undefined {
|
|
299
|
+
if (!Array.isArray(value)) {
|
|
300
|
+
return undefined;
|
|
301
|
+
}
|
|
302
|
+
const entries = value
|
|
303
|
+
.map((entry) => {
|
|
304
|
+
if (typeof entry === "string") {
|
|
305
|
+
const filePath = toNonEmptyString(entry);
|
|
306
|
+
return filePath ? { path: filePath, scope: "project" } : undefined;
|
|
307
|
+
}
|
|
308
|
+
if (!isRecord(entry)) {
|
|
309
|
+
return undefined;
|
|
310
|
+
}
|
|
311
|
+
const filePath = toNonEmptyString(entry.path);
|
|
312
|
+
if (!filePath) {
|
|
313
|
+
return undefined;
|
|
314
|
+
}
|
|
315
|
+
return {
|
|
316
|
+
path: filePath,
|
|
317
|
+
scope: toLinkScope(entry.scope),
|
|
318
|
+
note: toNonEmptyString(entry.note),
|
|
319
|
+
};
|
|
320
|
+
})
|
|
321
|
+
.filter((entry): entry is LinkedFile => entry !== undefined);
|
|
322
|
+
return entries.length > 0 ? entries : undefined;
|
|
323
|
+
}
|
|
324
|
+
|
|
325
|
+
function toLinkedDocs(value: unknown): LinkedDoc[] | undefined {
|
|
326
|
+
if (!Array.isArray(value)) {
|
|
327
|
+
return undefined;
|
|
328
|
+
}
|
|
329
|
+
const entries = value
|
|
330
|
+
.map((entry) => {
|
|
331
|
+
if (typeof entry === "string") {
|
|
332
|
+
const docPath = toNonEmptyString(entry);
|
|
333
|
+
return docPath ? { path: docPath, scope: "project" } : undefined;
|
|
334
|
+
}
|
|
335
|
+
if (!isRecord(entry)) {
|
|
336
|
+
return undefined;
|
|
337
|
+
}
|
|
338
|
+
const docPath = toNonEmptyString(entry.path);
|
|
339
|
+
if (!docPath) {
|
|
340
|
+
return undefined;
|
|
341
|
+
}
|
|
342
|
+
return {
|
|
343
|
+
path: docPath,
|
|
344
|
+
scope: toLinkScope(entry.scope),
|
|
345
|
+
note: toNonEmptyString(entry.note),
|
|
346
|
+
};
|
|
347
|
+
})
|
|
348
|
+
.filter((entry): entry is LinkedDoc => entry !== undefined);
|
|
349
|
+
return entries.length > 0 ? entries : undefined;
|
|
350
|
+
}
|
|
351
|
+
|
|
352
|
+
function toLinkedTests(value: unknown): LinkedTest[] | undefined {
|
|
353
|
+
if (!Array.isArray(value)) {
|
|
354
|
+
return undefined;
|
|
355
|
+
}
|
|
356
|
+
const entries: LinkedTest[] = [];
|
|
357
|
+
for (const entry of value) {
|
|
358
|
+
if (typeof entry === "string") {
|
|
359
|
+
const command = toNonEmptyString(entry);
|
|
360
|
+
if (command) {
|
|
361
|
+
entries.push({ command, scope: "project" });
|
|
362
|
+
}
|
|
363
|
+
continue;
|
|
364
|
+
}
|
|
365
|
+
if (!isRecord(entry)) {
|
|
366
|
+
continue;
|
|
367
|
+
}
|
|
368
|
+
const command = toNonEmptyString(entry.command);
|
|
369
|
+
const testPath = toNonEmptyString(entry.path);
|
|
370
|
+
if (!command && !testPath) {
|
|
371
|
+
continue;
|
|
372
|
+
}
|
|
373
|
+
const timeoutSeconds = toInteger(entry.timeout_seconds);
|
|
374
|
+
const pmContextMode = toNormalizedEnum(entry.pm_context_mode, ["schema", "tracker", "auto"] as const);
|
|
375
|
+
entries.push({
|
|
376
|
+
command,
|
|
377
|
+
path: testPath,
|
|
378
|
+
scope: toLinkScope(entry.scope),
|
|
379
|
+
timeout_seconds: timeoutSeconds !== undefined && timeoutSeconds > 0 ? timeoutSeconds : undefined,
|
|
380
|
+
pm_context_mode: pmContextMode,
|
|
381
|
+
env_set: toStringMap(entry.env_set),
|
|
382
|
+
env_clear: toStringList(entry.env_clear),
|
|
383
|
+
shared_host_safe: toBoolean(entry.shared_host_safe),
|
|
384
|
+
assert_stdout_contains: toStringList(entry.assert_stdout_contains),
|
|
385
|
+
assert_stdout_regex: toStringList(entry.assert_stdout_regex),
|
|
386
|
+
assert_stderr_contains: toStringList(entry.assert_stderr_contains),
|
|
387
|
+
assert_stderr_regex: toStringList(entry.assert_stderr_regex),
|
|
388
|
+
assert_stdout_min_lines: toInteger(entry.assert_stdout_min_lines),
|
|
389
|
+
assert_json_field_equals: toStringMap(entry.assert_json_field_equals),
|
|
390
|
+
assert_json_field_gte: toNumberMap(entry.assert_json_field_gte),
|
|
391
|
+
note: toNonEmptyString(entry.note),
|
|
392
|
+
});
|
|
393
|
+
}
|
|
394
|
+
return entries.length > 0 ? entries : undefined;
|
|
395
|
+
}
|
|
396
|
+
|
|
197
397
|
function toItemType(value: unknown, typeNames: string[]): ItemType {
|
|
198
398
|
const normalized = toNonEmptyString(value)?.toLowerCase();
|
|
199
399
|
const fallbackType = typeNames.find((entry) => entry.toLowerCase() === "task") ?? typeNames[0] ?? "Task";
|
|
@@ -342,13 +542,13 @@ async function importTodoCandidate(candidate: ParsedTodoCandidate, runtime: Todo
|
|
|
342
542
|
regression: toBoolean(candidate.frontMatter.regression),
|
|
343
543
|
customer_impact: toNonEmptyString(candidate.frontMatter.customer_impact),
|
|
344
544
|
close_reason: toNonEmptyString(candidate.frontMatter.close_reason),
|
|
345
|
-
dependencies:
|
|
346
|
-
comments:
|
|
347
|
-
notes:
|
|
348
|
-
learnings:
|
|
349
|
-
files:
|
|
350
|
-
docs:
|
|
351
|
-
tests:
|
|
545
|
+
dependencies: toDependencyEntries(candidate.frontMatter.dependencies, createdAt),
|
|
546
|
+
comments: toLogEntries(candidate.frontMatter.comments, createdAt, runtime.author),
|
|
547
|
+
notes: toLogEntries(candidate.frontMatter.notes, createdAt, runtime.author),
|
|
548
|
+
learnings: toLogEntries(candidate.frontMatter.learnings, createdAt, runtime.author),
|
|
549
|
+
files: toLinkedFiles(candidate.frontMatter.files),
|
|
550
|
+
docs: toLinkedDocs(candidate.frontMatter.docs),
|
|
551
|
+
tests: toLinkedTests(candidate.frontMatter.tests),
|
|
352
552
|
} as ItemMetadata),
|
|
353
553
|
body: candidate.body,
|
|
354
554
|
});
|
|
@@ -1,18 +0,0 @@
|
|
|
1
|
-
import {
|
|
2
|
-
_testOnly,
|
|
3
|
-
runActivity
|
|
4
|
-
} from "./chunk-2QJLN4KM.js";
|
|
5
|
-
import "./chunk-FBBPCSJM.js";
|
|
6
|
-
import "./chunk-NKTUBA2C.js";
|
|
7
|
-
import "./chunk-VE3BUO3R.js";
|
|
8
|
-
import "./chunk-SL233DQD.js";
|
|
9
|
-
import "./chunk-ZHCSGIUX.js";
|
|
10
|
-
import "./chunk-5MWA46UN.js";
|
|
11
|
-
import "./chunk-XNQ3YH6N.js";
|
|
12
|
-
import "./chunk-B3LROPTV.js";
|
|
13
|
-
import "./chunk-QWAJPGEI.js";
|
|
14
|
-
export {
|
|
15
|
-
_testOnly,
|
|
16
|
-
runActivity
|
|
17
|
-
};
|
|
18
|
-
//# sourceMappingURL=activity-7G7NNNZQ.js.map
|