@unbrained/pm-cli 2026.7.18 → 2026.7.19
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/.claude-plugin/marketplace.json +2 -2
- package/CHANGELOG.md +17 -0
- package/dist/cli/commands/claim.js +6 -4
- package/dist/cli/commands/claim.js.map +1 -1
- package/dist/cli/commands/comments.js +5 -2
- package/dist/cli/commands/comments.js.map +1 -1
- package/dist/cli/commands/context.d.ts +10 -1
- package/dist/cli/commands/context.js +44 -6
- package/dist/cli/commands/context.js.map +1 -1
- package/dist/cli/commands/create.js +15 -4
- package/dist/cli/commands/create.js.map +1 -1
- package/dist/cli/commands/next.js +13 -3
- package/dist/cli/commands/next.js.map +1 -1
- package/dist/cli/commands/update.js +14 -3
- package/dist/cli/commands/update.js.map +1 -1
- package/dist/cli/error-guidance.js +23 -4
- package/dist/cli/error-guidance.js.map +1 -1
- package/dist/cli/extension-command-help.d.ts +11 -0
- package/dist/cli/extension-command-help.js +62 -2
- package/dist/cli/extension-command-help.js.map +1 -1
- package/dist/cli/main.d.ts +1 -0
- package/dist/cli/main.js +16 -11
- package/dist/cli/main.js.map +1 -1
- package/dist/cli-bundle/bundle-manifest.json +326 -350
- package/dist/cli-bundle/chunks/{append-5YF3TO7I.js → append-MBXHNWSX.js} +5 -5
- package/dist/cli-bundle/chunks/append-XUYF7NON.js +11 -0
- package/dist/cli-bundle/chunks/{chunk-BIRYX32V.js → chunk-2UCG5H6B.js} +3 -3
- package/dist/cli-bundle/chunks/{chunk-VE6ZSTQW.js → chunk-2XPDCXK5.js} +4 -4
- package/dist/cli-bundle/chunks/{chunk-I3INI567.js → chunk-3EZZTFL2.js} +909 -124
- package/dist/cli-bundle/chunks/chunk-3EZZTFL2.js.map +7 -0
- package/dist/cli-bundle/chunks/{chunk-GLZKZON6.js → chunk-3HSRP6T2.js} +2 -2
- package/dist/cli-bundle/chunks/{chunk-XWBD6DSR.js → chunk-3KPNOZOH.js} +23 -23
- package/dist/cli-bundle/chunks/{chunk-MR4SHYR4.js → chunk-3QNUDDY2.js} +104 -23
- package/dist/cli-bundle/chunks/chunk-3QNUDDY2.js.map +7 -0
- package/dist/cli-bundle/chunks/{chunk-SIPOACV5.js → chunk-46Z6FAVP.js} +888 -124
- package/dist/cli-bundle/chunks/chunk-46Z6FAVP.js.map +1 -0
- package/dist/cli-bundle/chunks/{chunk-HO4DLBNK.js → chunk-4M6RZJXF.js} +2 -2
- package/dist/cli-bundle/chunks/{chunk-RXPQ5Q23.js → chunk-4PSJVGRE.js} +11 -11
- package/dist/cli-bundle/chunks/{chunk-ADXDCAKP.js → chunk-5S6IZXK7.js} +146 -32
- package/dist/cli-bundle/chunks/{chunk-IL5SPRMH.js.map → chunk-5S6IZXK7.js.map} +7 -1
- package/dist/cli-bundle/chunks/chunk-66SRNEBK.js +143 -0
- package/dist/cli-bundle/chunks/chunk-66SRNEBK.js.map +7 -0
- package/dist/cli-bundle/chunks/{chunk-YFE7JHX3.js → chunk-6BNV3G6C.js} +2 -2
- package/dist/cli-bundle/chunks/{chunk-43UMFKCK.js → chunk-6V4T4RD3.js} +23 -23
- package/dist/cli-bundle/chunks/chunk-77XFQRTD.js +140 -0
- package/dist/cli-bundle/chunks/chunk-77XFQRTD.js.map +1 -0
- package/dist/cli-bundle/chunks/{chunk-EHJFUOXL.js → chunk-7B7IHMLH.js} +3 -3
- package/dist/cli-bundle/chunks/{chunk-I7DIDUSP.js → chunk-7CHWLT2J.js} +2 -2
- package/dist/cli-bundle/chunks/{chunk-L6FVNR7X.js → chunk-A3GAQLBH.js} +5 -5
- package/dist/cli-bundle/chunks/{chunk-B57RJHBZ.js → chunk-A4FVWFZY.js} +4 -4
- package/dist/cli-bundle/chunks/{chunk-D52ZN3BF.js → chunk-A5EQPNV7.js} +2 -2
- package/dist/cli-bundle/chunks/{chunk-TZAE66GQ.js → chunk-AGEBQRBG.js} +15 -15
- package/dist/cli-bundle/chunks/{chunk-WU3KAN6A.js → chunk-AQUNTB7G.js} +3 -3
- package/dist/cli-bundle/chunks/{chunk-OGVTB5VO.js → chunk-AR24KW26.js} +237 -36
- package/dist/cli-bundle/chunks/chunk-AR24KW26.js.map +7 -0
- package/dist/cli-bundle/chunks/{chunk-XWYQ2LT4.js → chunk-BBGR4FKQ.js} +4 -4
- package/dist/cli-bundle/chunks/{chunk-HTXXXF45.js → chunk-BDC4TW4B.js} +98 -24
- package/dist/cli-bundle/chunks/chunk-BDC4TW4B.js.map +1 -0
- package/dist/cli-bundle/chunks/{chunk-2FUOXSRN.js → chunk-BFJP4VYC.js} +4 -4
- package/dist/cli-bundle/chunks/{chunk-633PKXLT.js → chunk-BZKE2O5V.js} +3 -3
- package/dist/cli-bundle/chunks/{chunk-XPUTSGJU.js → chunk-CZA2DXCV.js} +230 -36
- package/dist/cli-bundle/chunks/chunk-CZA2DXCV.js.map +1 -0
- package/dist/cli-bundle/chunks/{chunk-KX62NMZC.js → chunk-D35WYXWC.js} +626 -5
- package/dist/cli-bundle/chunks/chunk-D35WYXWC.js.map +1 -0
- package/dist/cli-bundle/chunks/chunk-DOASIOQR.js +289 -0
- package/dist/cli-bundle/chunks/chunk-DOASIOQR.js.map +7 -0
- package/dist/cli-bundle/chunks/{chunk-L337QKWJ.js → chunk-DUDLSQFG.js} +5 -5
- package/dist/cli-bundle/chunks/{chunk-BVLOMU6O.js → chunk-E7KBMWEF.js} +2 -2
- package/dist/cli-bundle/chunks/{chunk-3QDR6ZLU.js → chunk-EAV3P54W.js} +9 -9
- package/dist/cli-bundle/chunks/{chunk-3QDR6ZLU.js.map → chunk-EAV3P54W.js.map} +2 -2
- package/dist/cli-bundle/chunks/{chunk-WQXRZMFN.js → chunk-EEECAV5M.js} +2 -2
- package/dist/cli-bundle/chunks/{chunk-35FHWD4C.js → chunk-EI3UIMZM.js} +4 -4
- package/dist/cli-bundle/chunks/{chunk-RGMWJLXF.js → chunk-EVAN5VJA.js} +8 -5
- package/dist/cli-bundle/chunks/{chunk-RGMWJLXF.js.map → chunk-EVAN5VJA.js.map} +2 -2
- package/dist/cli-bundle/chunks/{chunk-PT7MCCGD.js → chunk-FIUTBFC6.js} +2 -2
- package/dist/cli-bundle/chunks/{chunk-7H5NNCJ5.js → chunk-FQF6VVPH.js} +4 -4
- package/dist/cli-bundle/chunks/{chunk-6DYOZS6C.js → chunk-FQO5THHM.js} +2 -2
- package/dist/cli-bundle/chunks/{chunk-5HGZKQUL.js → chunk-FQODDTE7.js} +4 -4
- package/dist/cli-bundle/chunks/{chunk-67RO3H4N.js → chunk-G33XIMRT.js} +6 -6
- package/dist/cli-bundle/chunks/{chunk-D53RTYVI.js → chunk-GFZB5CLP.js} +20 -10
- package/dist/cli-bundle/chunks/chunk-GFZB5CLP.js.map +7 -0
- package/dist/cli-bundle/chunks/{chunk-QWBKN3QC.js → chunk-GKCEEXMA.js} +8 -8
- package/dist/cli-bundle/chunks/{chunk-DG2EQRIH.js → chunk-GRDK25BN.js} +7 -7
- package/dist/cli-bundle/chunks/{chunk-FXFCFL73.js → chunk-H3YKUVDR.js} +5 -5
- package/dist/cli-bundle/chunks/{chunk-IL5SPRMH.js → chunk-IEMXESIS.js} +123 -16
- package/dist/cli-bundle/chunks/chunk-IEMXESIS.js.map +1 -0
- package/dist/cli-bundle/chunks/{chunk-ARGDWQ4J.js → chunk-IGBBTPM5.js} +2 -2
- package/dist/cli-bundle/chunks/{chunk-QPGQNLPI.js → chunk-IR3GOO6E.js} +3842 -4109
- package/dist/cli-bundle/chunks/chunk-IR3GOO6E.js.map +1 -0
- package/dist/cli-bundle/chunks/{chunk-FY4RLHSC.js → chunk-IRJ6F23W.js} +2 -2
- package/dist/cli-bundle/chunks/{chunk-66MKH7SZ.js → chunk-IXG5CMBR.js} +4 -4
- package/dist/cli-bundle/chunks/{chunk-F3VC3GOV.js → chunk-JBW2S2C6.js} +2090 -253
- package/dist/cli-bundle/chunks/chunk-JBW2S2C6.js.map +7 -0
- package/dist/cli-bundle/chunks/{chunk-7UCY6DR5.js → chunk-JPWUZOMR.js} +2 -2
- package/dist/cli-bundle/chunks/{chunk-FVNWHUME.js → chunk-K2L6FZBX.js} +8 -8
- package/dist/cli-bundle/chunks/chunk-KGPLSHJD.js +286 -0
- package/dist/cli-bundle/chunks/chunk-KGPLSHJD.js.map +1 -0
- package/dist/cli-bundle/chunks/{chunk-YQEZWI3R.js → chunk-KZ5AC6B5.js} +5 -3
- package/dist/cli-bundle/chunks/chunk-KZ5AC6B5.js.map +7 -0
- package/dist/cli-bundle/chunks/{chunk-X2MGQMZO.js → chunk-LT5UWU7H.js} +2 -2
- package/dist/cli-bundle/chunks/{chunk-KH6QAHME.js → chunk-M4B4RK4J.js} +3 -3
- package/dist/cli-bundle/chunks/{chunk-QRZNCRNA.js → chunk-MI3346YW.js} +377 -240
- package/dist/cli-bundle/chunks/chunk-MI3346YW.js.map +1 -0
- package/dist/cli-bundle/chunks/{chunk-2XOSFSTH.js → chunk-MQOSMBWV.js} +5 -5
- package/dist/cli-bundle/chunks/{chunk-YIIIAKCE.js → chunk-MRXAHR4B.js} +28 -22
- package/dist/cli-bundle/chunks/chunk-MRXAHR4B.js.map +1 -0
- package/dist/cli-bundle/chunks/{chunk-7R6UIHYY.js → chunk-N2TEEOXJ.js} +5 -5
- package/dist/cli-bundle/chunks/{chunk-NTRQLE2R.js → chunk-N7FCFJ76.js} +2 -2
- package/dist/cli-bundle/chunks/{chunk-37DRDP2B.js → chunk-NPEYH6CE.js} +5 -5
- package/dist/cli-bundle/chunks/{chunk-GKPCTQYG.js → chunk-NTS2RKHN.js} +3942 -4216
- package/dist/cli-bundle/chunks/chunk-NTS2RKHN.js.map +7 -0
- package/dist/cli-bundle/chunks/{chunk-6VHUGVNP.js → chunk-ODEIDKGW.js} +2062 -246
- package/dist/cli-bundle/chunks/chunk-ODEIDKGW.js.map +1 -0
- package/dist/cli-bundle/chunks/{chunk-2CXL335K.js → chunk-OK7VSX3N.js} +3 -3
- package/dist/cli-bundle/chunks/{chunk-NNANAWFH.js → chunk-OKPZDH43.js} +3 -3
- package/dist/cli-bundle/chunks/{chunk-G6MYGULG.js → chunk-OKWJUL6F.js} +6 -6
- package/dist/cli-bundle/chunks/{chunk-HPAYDSR2.js → chunk-P24ZU5QV.js} +27 -21
- package/dist/cli-bundle/chunks/chunk-P24ZU5QV.js.map +7 -0
- package/dist/cli-bundle/chunks/{chunk-TGBTLGPX.js → chunk-Q4PSG2GV.js} +13 -4
- package/dist/cli-bundle/chunks/{chunk-TGBTLGPX.js.map → chunk-Q4PSG2GV.js.map} +1 -1
- package/dist/cli-bundle/chunks/{chunk-5UKQLQM2.js → chunk-Q5NHJ6RO.js} +6 -4
- package/dist/cli-bundle/chunks/chunk-Q5NHJ6RO.js.map +1 -0
- package/dist/cli-bundle/chunks/{chunk-D5XHO4Q7.js → chunk-Q6JPYR7I.js} +2 -2
- package/dist/cli-bundle/chunks/{chunk-P22HGFFI.js → chunk-QFG4MB7P.js} +5 -5
- package/dist/cli-bundle/chunks/{chunk-P22HGFFI.js.map → chunk-QFG4MB7P.js.map} +1 -1
- package/dist/cli-bundle/chunks/{chunk-IE5KRAKN.js → chunk-QQ77W23U.js} +4 -4
- package/dist/cli-bundle/chunks/{chunk-M7MVOKVV.js → chunk-QYGK2XQ3.js} +3 -3
- package/dist/cli-bundle/chunks/{chunk-646MQXFW.js → chunk-RLLOZAM2.js} +4 -4
- package/dist/cli-bundle/chunks/{chunk-646MQXFW.js.map → chunk-RLLOZAM2.js.map} +2 -2
- package/dist/cli-bundle/chunks/{chunk-X5YCTFKT.js → chunk-RWAIRGBC.js} +3 -3
- package/dist/cli-bundle/chunks/{chunk-W5E2UUSH.js → chunk-RX53WHFI.js} +3 -3
- package/dist/cli-bundle/chunks/{chunk-R5XTTZSJ.js → chunk-SBW7EQC4.js} +5 -5
- package/dist/cli-bundle/chunks/{chunk-TM5CIO3F.js → chunk-SGJB6PXA.js} +3 -3
- package/dist/cli-bundle/chunks/{chunk-DDFGYUCQ.js → chunk-STBCBDKF.js} +7 -7
- package/dist/cli-bundle/chunks/{chunk-EX7OQT3Y.js → chunk-SUNZKVAH.js} +10 -10
- package/dist/cli-bundle/chunks/{chunk-EX7OQT3Y.js.map → chunk-SUNZKVAH.js.map} +1 -1
- package/dist/cli-bundle/chunks/{chunk-FHOBCGQO.js → chunk-SVAWG7EE.js} +2 -2
- package/dist/cli-bundle/chunks/{chunk-6O44IN44.js → chunk-T6MOTLOJ.js} +2 -2
- package/dist/cli-bundle/chunks/{chunk-HSYV4ZYT.js → chunk-TELI67UP.js} +9 -6
- package/dist/cli-bundle/chunks/{chunk-HSYV4ZYT.js.map → chunk-TELI67UP.js.map} +1 -1
- package/dist/cli-bundle/chunks/{chunk-EWIT5WIC.js → chunk-U6RYD446.js} +11 -11
- package/dist/cli-bundle/chunks/{chunk-E4FXM2XB.js → chunk-UE7LK3RE.js} +5 -5
- package/dist/cli-bundle/chunks/{chunk-N33FD2UI.js → chunk-UNNCT5QY.js} +3 -3
- package/dist/cli-bundle/chunks/{chunk-2IPNL3DR.js → chunk-UOIFZ66L.js} +3 -3
- package/dist/cli-bundle/chunks/{chunk-LSOWTLEM.js → chunk-UU6EP25G.js} +2 -2
- package/dist/cli-bundle/chunks/{chunk-HYTOJW2Q.js → chunk-UW6HCMP2.js} +15 -15
- package/dist/cli-bundle/chunks/{chunk-47HXN6RX.js → chunk-UWAQI3B7.js} +3 -3
- package/dist/cli-bundle/chunks/{chunk-YKFHF37B.js → chunk-V4QHAMI5.js} +3 -3
- package/dist/cli-bundle/chunks/{chunk-VAHZIPWS.js → chunk-VA3H7VVC.js} +4 -4
- package/dist/cli-bundle/chunks/{chunk-XC2HEEOV.js → chunk-VFA5EIEN.js} +21 -11
- package/dist/cli-bundle/chunks/chunk-VFA5EIEN.js.map +1 -0
- package/dist/cli-bundle/chunks/{chunk-TLWJP5BF.js → chunk-VQOG2ETB.js} +4 -4
- package/dist/cli-bundle/chunks/{chunk-H5IOT54C.js → chunk-VSQE43NO.js} +8 -8
- package/dist/cli-bundle/chunks/{chunk-BDA35QG5.js → chunk-W6IEJXNC.js} +2 -2
- package/dist/cli-bundle/chunks/{chunk-WACRQ26A.js → chunk-WCBB6VI3.js} +637 -9
- package/dist/cli-bundle/chunks/chunk-WCBB6VI3.js.map +7 -0
- package/dist/cli-bundle/chunks/{chunk-OWP6QFBV.js → chunk-XDWXPG2E.js} +4 -4
- package/dist/cli-bundle/chunks/{chunk-CKX4WOPC.js → chunk-XKVHL3MB.js} +2 -2
- package/dist/cli-bundle/chunks/{chunk-WL3SS45P.js → chunk-XVB6BATY.js} +3 -3
- package/dist/cli-bundle/chunks/{chunk-NVZ6NVHJ.js → chunk-XXWDEQ6O.js} +4 -4
- package/dist/cli-bundle/chunks/{chunk-ILVOOAT4.js → chunk-Y2VSGFT4.js} +8 -8
- package/dist/cli-bundle/chunks/{chunk-NCVT6XEL.js → chunk-YG56M3NE.js} +11 -11
- package/dist/cli-bundle/chunks/{chunk-AFGKSHAM.js → chunk-YGEA4CLH.js} +4 -4
- package/dist/cli-bundle/chunks/{chunk-AXRT7K5V.js → chunk-YIC5NGXF.js} +11 -11
- package/dist/cli-bundle/chunks/{chunk-DHNG452T.js → chunk-ZF52NVRT.js} +396 -245
- package/dist/cli-bundle/chunks/chunk-ZF52NVRT.js.map +7 -0
- package/dist/cli-bundle/chunks/{chunk-XXLXJL7V.js → chunk-ZUCBPXNA.js} +4 -4
- package/dist/cli-bundle/chunks/{close-X3CF6FQP.js → close-7NWA3GLA.js} +5 -5
- package/dist/cli-bundle/chunks/close-ZZCDDWJT.js +12 -0
- package/dist/cli-bundle/chunks/close-many-QCZHFCON.js +23 -0
- package/dist/cli-bundle/chunks/{close-many-J7A5EHOQ.js → close-many-YALQ7AXS.js} +14 -14
- package/dist/cli-bundle/chunks/comments-FMQNYPSZ.js +13 -0
- package/dist/cli-bundle/chunks/{comments-TMHMALA5.js → comments-SQIQ5WYR.js} +7 -7
- package/dist/cli-bundle/chunks/copy-GI3RCVZP.js +9 -0
- package/dist/cli-bundle/chunks/{copy-FWQA5OU4.js → copy-YDAMENCP.js} +4 -4
- package/dist/cli-bundle/chunks/{create-AQ5SIGZC.js → create-JSL6CXU3.js} +11 -9
- package/dist/cli-bundle/chunks/create-LXMLYJNM.js +29 -0
- package/dist/cli-bundle/chunks/delete-5DFAXJNI.js +10 -0
- package/dist/cli-bundle/chunks/{delete-YYYFOSEA.js → delete-IGVOZEU2.js} +4 -4
- package/dist/cli-bundle/chunks/{deps-NIIKXLPB.js → deps-BQAXUQAK.js} +6 -6
- package/dist/cli-bundle/chunks/{deps-MQ4ZIGZB.js → deps-CBPPSS6J.js} +6 -6
- package/dist/cli-bundle/chunks/docs-KCWPLQOV.js +14 -0
- package/dist/cli-bundle/chunks/{docs-53NUGMIQ.js → docs-NS2AZWCN.js} +7 -7
- package/dist/cli-bundle/chunks/{files-3PXGXYDB.js → files-PVWEPT5J.js} +7 -7
- package/dist/cli-bundle/chunks/{files-EGLKHD7O.js → files-XUUBQ76I.js} +7 -7
- package/dist/cli-bundle/chunks/focus-3EJVFI3D.js +10 -0
- package/dist/cli-bundle/chunks/{focus-SRPASFTN.js → focus-DHBHKK3E.js} +5 -5
- package/dist/cli-bundle/chunks/{history-compact-G4DULDCX.js → history-compact-3TNPYVFG.js} +6 -6
- package/dist/cli-bundle/chunks/history-compact-JHYVDYLW.js +16 -0
- package/dist/cli-bundle/chunks/{history-redact-IUSJ6X3E.js → history-redact-ELRL73XN.js} +4 -4
- package/dist/cli-bundle/chunks/{history-redact-THHGRQXV.js → history-redact-KKFDICCF.js} +4 -4
- package/dist/cli-bundle/chunks/{history-repair-LUQWRS7X.js → history-repair-J7WKZFAG.js} +6 -6
- package/dist/cli-bundle/chunks/history-repair-REMI7DDI.js +16 -0
- package/dist/cli-bundle/chunks/learnings-O6V5WDCV.js +13 -0
- package/dist/cli-bundle/chunks/{learnings-2MRNBFJF.js → learnings-X4D6JCCG.js} +7 -7
- package/dist/cli-bundle/chunks/{notes-73JWKWUD.js → notes-UQC6VS6N.js} +7 -7
- package/dist/cli-bundle/chunks/notes-ZSZREWZA.js +13 -0
- package/dist/cli-bundle/chunks/{plan-AZPMCG37.js → plan-5GKRBJJO.js} +12 -10
- package/dist/cli-bundle/chunks/plan-EZW2YDDY.js +26 -0
- package/dist/cli-bundle/chunks/{profile-AVCIIZID.js → profile-5PQAPCLF.js} +10 -10
- package/dist/cli-bundle/chunks/{profile-LFYO3HHX.js → profile-CW4BD3FO.js} +10 -10
- package/dist/cli-bundle/chunks/{register-list-query-UKMF55FT.js → register-list-query-HTDQE6VI.js} +24 -24
- package/dist/cli-bundle/chunks/{register-list-query-MZUF2EEC.js → register-list-query-PHIPDFP2.js} +24 -24
- package/dist/cli-bundle/chunks/{register-mutation-T6RVNJC4.js → register-mutation-BLEWM5I6.js} +32 -32
- package/dist/cli-bundle/chunks/{register-mutation-2PBW2GEX.js → register-mutation-OTYHR7J6.js} +32 -32
- package/dist/cli-bundle/chunks/{register-operations-KHZYR6MG.js → register-operations-AMCUFYEW.js} +38 -40
- package/dist/cli-bundle/chunks/{register-operations-KHZYR6MG.js.map → register-operations-AMCUFYEW.js.map} +1 -1
- package/dist/cli-bundle/chunks/{register-operations-WPQ2LWZJ.js → register-operations-MRLHOZYR.js} +36 -38
- package/dist/cli-bundle/chunks/{register-operations-WPQ2LWZJ.js.map → register-operations-MRLHOZYR.js.map} +1 -1
- package/dist/cli-bundle/chunks/{register-setup-PGDNOXDQ.js → register-setup-N2FOSWAG.js} +15 -17
- package/dist/cli-bundle/chunks/{register-setup-PGDNOXDQ.js.map → register-setup-N2FOSWAG.js.map} +1 -1
- package/dist/cli-bundle/chunks/{register-setup-TDN7WAO6.js → register-setup-ZVKTDL4G.js} +17 -19
- package/dist/cli-bundle/chunks/{register-setup-TDN7WAO6.js.map → register-setup-ZVKTDL4G.js.map} +1 -1
- package/dist/cli-bundle/chunks/restore-A55MLFAI.js +14 -0
- package/dist/cli-bundle/chunks/{restore-E3PRGDN3.js → restore-HEQAG6EK.js} +6 -6
- package/dist/cli-bundle/chunks/{schema-5JNFQFUW.js → schema-MAXAIHEC.js} +6 -6
- package/dist/cli-bundle/chunks/{schema-TMIW4XZC.js → schema-Q5DAWJ2S.js} +6 -6
- package/dist/cli-bundle/chunks/update-5DTSCWVF.js +23 -0
- package/dist/cli-bundle/chunks/{update-SQYZA3ZW.js → update-DWFXXJKP.js} +15 -13
- package/dist/cli-bundle/chunks/update-many-6T4ZLZS7.js +34 -0
- package/dist/cli-bundle/chunks/update-many-MYRK6VBJ.js +38 -0
- package/dist/cli-bundle/main.js +152 -29
- package/dist/cli-bundle/main.js.map +3 -3
- package/dist/cli-bundle/sdk-runtime.js +72 -75
- package/dist/cli-bundle/sdk-testing.js +8 -8
- package/dist/cli-bundle/sdk.js +288 -642
- package/dist/cli-bundle/sdk.js.map +4 -4
- package/dist/core/extensions/activation-summary.d.ts +2 -0
- package/dist/core/extensions/activation-summary.js +7 -2
- package/dist/core/extensions/activation-summary.js.map +1 -1
- package/dist/core/extensions/capability-usage.d.ts +1 -1
- package/dist/core/extensions/capability-usage.js +5 -2
- package/dist/core/extensions/capability-usage.js.map +1 -1
- package/dist/core/extensions/extension-hook-runtime.js +3 -2
- package/dist/core/extensions/extension-hook-runtime.js.map +1 -1
- package/dist/core/extensions/extension-registries.js +3 -2
- package/dist/core/extensions/extension-registries.js.map +1 -1
- package/dist/core/extensions/extension-types.d.ts +38 -1
- package/dist/core/extensions/extension-types.js +3 -2
- package/dist/core/extensions/extension-types.js.map +1 -1
- package/dist/core/extensions/loader.js +36 -2
- package/dist/core/extensions/loader.js.map +1 -1
- package/dist/core/store/item-store.d.ts +4 -1
- package/dist/core/store/item-store.js +3 -3
- package/dist/core/store/item-store.js.map +1 -1
- package/dist/core/store/paths.d.ts +2 -0
- package/dist/core/store/paths.js +26 -3
- package/dist/core/store/paths.js.map +1 -1
- package/dist/sdk/cli-contracts/enum-contracts.d.ts +1 -1
- package/dist/sdk/compose.d.ts +3 -0
- package/dist/sdk/compose.js +14 -2
- package/dist/sdk/compose.js.map +1 -1
- package/dist/sdk/dependencies.js +3 -3
- package/dist/sdk/dependencies.js.map +1 -1
- package/dist/sdk/extension-command-context.d.ts +10 -0
- package/dist/sdk/extension-command-context.js +30 -0
- package/dist/sdk/extension-command-context.js.map +1 -0
- package/dist/sdk/graph/assembly.js +14 -4
- package/dist/sdk/graph/assembly.js.map +1 -1
- package/dist/sdk/graph/index.d.ts +1 -0
- package/dist/sdk/graph/index.js +3 -2
- package/dist/sdk/graph/index.js.map +1 -1
- package/dist/sdk/graph/mutation-advisory.d.ts +20 -0
- package/dist/sdk/graph/mutation-advisory.js +80 -0
- package/dist/sdk/graph/mutation-advisory.js.map +1 -0
- package/dist/sdk/graph/run.d.ts +5 -1
- package/dist/sdk/graph/run.js +11 -3
- package/dist/sdk/graph/run.js.map +1 -1
- package/dist/sdk/index.d.ts +4 -1
- package/dist/sdk/index.js +5 -2
- package/dist/sdk/index.js.map +1 -1
- package/dist/sdk/ownership-source.d.ts +2 -0
- package/dist/sdk/ownership-source.js +22 -0
- package/dist/sdk/ownership-source.js.map +1 -0
- package/dist/sdk/relationship-history.d.ts +38 -0
- package/dist/sdk/relationship-history.js +60 -2
- package/dist/sdk/relationship-history.js.map +1 -1
- package/dist/sdk/relationships.js +49 -8
- package/dist/sdk/relationships.js.map +1 -1
- package/dist/sdk/runtime-input.js +3 -2
- package/dist/sdk/runtime-input.js.map +1 -1
- package/dist/sdk/runtime.d.ts +2 -0
- package/dist/sdk/runtime.js +19 -2
- package/dist/sdk/runtime.js.map +1 -1
- package/dist/sdk/tracker-root-discovery.d.ts +6 -0
- package/dist/sdk/tracker-root-discovery.js +10 -0
- package/dist/sdk/tracker-root-discovery.js.map +1 -0
- package/dist/sdk/workspace-transaction.d.ts +83 -0
- package/dist/sdk/workspace-transaction.js +364 -0
- package/dist/sdk/workspace-transaction.js.map +1 -0
- package/docs/AGENT_UX_CONTRACTS.md +41 -0
- package/docs/EXTENSIONS.md +4 -4
- package/docs/README.md +1 -0
- package/docs/SDK.md +102 -1
- package/marketplace.json +2 -2
- package/package.json +1 -1
- package/packages/pm-beads/package.json +1 -1
- package/packages/pm-calendar/package.json +1 -1
- package/packages/pm-command-kit/package.json +1 -1
- package/packages/pm-governance-audit/package.json +1 -1
- package/packages/pm-guide-shell/package.json +1 -1
- package/packages/pm-kanban/package.json +1 -1
- package/packages/pm-lifecycle-hooks/package.json +1 -1
- package/packages/pm-linked-test-adapters/package.json +1 -1
- package/packages/pm-search-advanced/package.json +1 -1
- package/packages/pm-templates/package.json +1 -1
- package/packages/pm-todos/package.json +1 -1
- package/packages/pm-vcs/GAP_REPORT.md +31 -0
- package/packages/pm-vcs/README.md +62 -0
- package/packages/pm-vcs/extensions/vcs/index.ts +745 -0
- package/packages/pm-vcs/extensions/vcs/manifest.json +19 -0
- package/packages/pm-vcs/extensions/vcs/package.json +3 -0
- package/packages/pm-vcs/package.json +55 -0
- package/plugins/pm-claude/.claude-plugin/plugin.json +1 -1
- package/plugins/pm-codex/.codex-plugin/plugin.json +1 -1
- package/dist/cli-bundle/chunks/append-JHO5K6RP.js +0 -11
- package/dist/cli-bundle/chunks/chunk-2BX74BAS.js +0 -125
- package/dist/cli-bundle/chunks/chunk-2BX74BAS.js.map +0 -7
- package/dist/cli-bundle/chunks/chunk-3CUQZNQ6.js +0 -672
- package/dist/cli-bundle/chunks/chunk-3CUQZNQ6.js.map +0 -7
- package/dist/cli-bundle/chunks/chunk-5UKQLQM2.js.map +0 -1
- package/dist/cli-bundle/chunks/chunk-6VHUGVNP.js.map +0 -1
- package/dist/cli-bundle/chunks/chunk-74FKFFXO.js +0 -172
- package/dist/cli-bundle/chunks/chunk-74FKFFXO.js.map +0 -7
- package/dist/cli-bundle/chunks/chunk-ADXDCAKP.js.map +0 -7
- package/dist/cli-bundle/chunks/chunk-BAP7G3N2.js +0 -178
- package/dist/cli-bundle/chunks/chunk-BAP7G3N2.js.map +0 -7
- package/dist/cli-bundle/chunks/chunk-D53RTYVI.js.map +0 -7
- package/dist/cli-bundle/chunks/chunk-DHNG452T.js.map +0 -7
- package/dist/cli-bundle/chunks/chunk-EY7ZE3TG.js +0 -1831
- package/dist/cli-bundle/chunks/chunk-EY7ZE3TG.js.map +0 -1
- package/dist/cli-bundle/chunks/chunk-F3VC3GOV.js.map +0 -7
- package/dist/cli-bundle/chunks/chunk-FL4D53ND.js +0 -162
- package/dist/cli-bundle/chunks/chunk-FL4D53ND.js.map +0 -1
- package/dist/cli-bundle/chunks/chunk-GKPCTQYG.js.map +0 -7
- package/dist/cli-bundle/chunks/chunk-HPAYDSR2.js.map +0 -7
- package/dist/cli-bundle/chunks/chunk-HTXXXF45.js.map +0 -1
- package/dist/cli-bundle/chunks/chunk-I3INI567.js.map +0 -7
- package/dist/cli-bundle/chunks/chunk-KX62NMZC.js.map +0 -1
- package/dist/cli-bundle/chunks/chunk-L5BTTDU5.js +0 -662
- package/dist/cli-bundle/chunks/chunk-L5BTTDU5.js.map +0 -1
- package/dist/cli-bundle/chunks/chunk-MR4SHYR4.js.map +0 -7
- package/dist/cli-bundle/chunks/chunk-OGVTB5VO.js.map +0 -7
- package/dist/cli-bundle/chunks/chunk-QPGQNLPI.js.map +0 -1
- package/dist/cli-bundle/chunks/chunk-QRZNCRNA.js.map +0 -1
- package/dist/cli-bundle/chunks/chunk-RC4UOUXA.js +0 -122
- package/dist/cli-bundle/chunks/chunk-RC4UOUXA.js.map +0 -1
- package/dist/cli-bundle/chunks/chunk-RTBX3C4C.js +0 -1841
- package/dist/cli-bundle/chunks/chunk-RTBX3C4C.js.map +0 -7
- package/dist/cli-bundle/chunks/chunk-SIPOACV5.js.map +0 -1
- package/dist/cli-bundle/chunks/chunk-WACRQ26A.js.map +0 -7
- package/dist/cli-bundle/chunks/chunk-XC2HEEOV.js.map +0 -1
- package/dist/cli-bundle/chunks/chunk-XPUTSGJU.js.map +0 -1
- package/dist/cli-bundle/chunks/chunk-YIIIAKCE.js.map +0 -1
- package/dist/cli-bundle/chunks/chunk-YJSURTBB.js +0 -175
- package/dist/cli-bundle/chunks/chunk-YJSURTBB.js.map +0 -1
- package/dist/cli-bundle/chunks/chunk-YQEZWI3R.js.map +0 -7
- package/dist/cli-bundle/chunks/close-GPD7DTJV.js +0 -12
- package/dist/cli-bundle/chunks/close-many-NQLYGPYW.js +0 -23
- package/dist/cli-bundle/chunks/comments-2AOZQ5D2.js +0 -13
- package/dist/cli-bundle/chunks/copy-N3LCQBMC.js +0 -9
- package/dist/cli-bundle/chunks/create-KOGQ3JKD.js +0 -27
- package/dist/cli-bundle/chunks/delete-6G3MBZ6S.js +0 -10
- package/dist/cli-bundle/chunks/docs-OWRGDMNY.js +0 -14
- package/dist/cli-bundle/chunks/focus-KZLIA6WS.js +0 -10
- package/dist/cli-bundle/chunks/history-compact-HHIUOMZ7.js +0 -16
- package/dist/cli-bundle/chunks/history-repair-KG7SWXI6.js +0 -16
- package/dist/cli-bundle/chunks/learnings-ZVHSALJY.js +0 -13
- package/dist/cli-bundle/chunks/notes-BAKUL5DJ.js +0 -13
- package/dist/cli-bundle/chunks/plan-LEAGLPGP.js +0 -24
- package/dist/cli-bundle/chunks/restore-KIUYTAEJ.js +0 -14
- package/dist/cli-bundle/chunks/update-XZJYS5X7.js +0 -21
- package/dist/cli-bundle/chunks/update-many-R24B3GBK.js +0 -36
- package/dist/cli-bundle/chunks/update-many-WQ3R3J6N.js +0 -32
- /package/dist/cli-bundle/chunks/{append-5YF3TO7I.js.map → append-MBXHNWSX.js.map} +0 -0
- /package/dist/cli-bundle/chunks/{append-JHO5K6RP.js.map → append-XUYF7NON.js.map} +0 -0
- /package/dist/cli-bundle/chunks/{chunk-BIRYX32V.js.map → chunk-2UCG5H6B.js.map} +0 -0
- /package/dist/cli-bundle/chunks/{chunk-VE6ZSTQW.js.map → chunk-2XPDCXK5.js.map} +0 -0
- /package/dist/cli-bundle/chunks/{chunk-GLZKZON6.js.map → chunk-3HSRP6T2.js.map} +0 -0
- /package/dist/cli-bundle/chunks/{chunk-XWBD6DSR.js.map → chunk-3KPNOZOH.js.map} +0 -0
- /package/dist/cli-bundle/chunks/{chunk-HO4DLBNK.js.map → chunk-4M6RZJXF.js.map} +0 -0
- /package/dist/cli-bundle/chunks/{chunk-RXPQ5Q23.js.map → chunk-4PSJVGRE.js.map} +0 -0
- /package/dist/cli-bundle/chunks/{chunk-YFE7JHX3.js.map → chunk-6BNV3G6C.js.map} +0 -0
- /package/dist/cli-bundle/chunks/{chunk-43UMFKCK.js.map → chunk-6V4T4RD3.js.map} +0 -0
- /package/dist/cli-bundle/chunks/{chunk-EHJFUOXL.js.map → chunk-7B7IHMLH.js.map} +0 -0
- /package/dist/cli-bundle/chunks/{chunk-I7DIDUSP.js.map → chunk-7CHWLT2J.js.map} +0 -0
- /package/dist/cli-bundle/chunks/{chunk-L6FVNR7X.js.map → chunk-A3GAQLBH.js.map} +0 -0
- /package/dist/cli-bundle/chunks/{chunk-B57RJHBZ.js.map → chunk-A4FVWFZY.js.map} +0 -0
- /package/dist/cli-bundle/chunks/{chunk-D52ZN3BF.js.map → chunk-A5EQPNV7.js.map} +0 -0
- /package/dist/cli-bundle/chunks/{chunk-TZAE66GQ.js.map → chunk-AGEBQRBG.js.map} +0 -0
- /package/dist/cli-bundle/chunks/{chunk-WU3KAN6A.js.map → chunk-AQUNTB7G.js.map} +0 -0
- /package/dist/cli-bundle/chunks/{chunk-XWYQ2LT4.js.map → chunk-BBGR4FKQ.js.map} +0 -0
- /package/dist/cli-bundle/chunks/{chunk-2FUOXSRN.js.map → chunk-BFJP4VYC.js.map} +0 -0
- /package/dist/cli-bundle/chunks/{chunk-633PKXLT.js.map → chunk-BZKE2O5V.js.map} +0 -0
- /package/dist/cli-bundle/chunks/{chunk-L337QKWJ.js.map → chunk-DUDLSQFG.js.map} +0 -0
- /package/dist/cli-bundle/chunks/{chunk-BVLOMU6O.js.map → chunk-E7KBMWEF.js.map} +0 -0
- /package/dist/cli-bundle/chunks/{chunk-WQXRZMFN.js.map → chunk-EEECAV5M.js.map} +0 -0
- /package/dist/cli-bundle/chunks/{chunk-35FHWD4C.js.map → chunk-EI3UIMZM.js.map} +0 -0
- /package/dist/cli-bundle/chunks/{chunk-PT7MCCGD.js.map → chunk-FIUTBFC6.js.map} +0 -0
- /package/dist/cli-bundle/chunks/{chunk-7H5NNCJ5.js.map → chunk-FQF6VVPH.js.map} +0 -0
- /package/dist/cli-bundle/chunks/{chunk-6DYOZS6C.js.map → chunk-FQO5THHM.js.map} +0 -0
- /package/dist/cli-bundle/chunks/{chunk-5HGZKQUL.js.map → chunk-FQODDTE7.js.map} +0 -0
- /package/dist/cli-bundle/chunks/{chunk-67RO3H4N.js.map → chunk-G33XIMRT.js.map} +0 -0
- /package/dist/cli-bundle/chunks/{chunk-QWBKN3QC.js.map → chunk-GKCEEXMA.js.map} +0 -0
- /package/dist/cli-bundle/chunks/{chunk-DG2EQRIH.js.map → chunk-GRDK25BN.js.map} +0 -0
- /package/dist/cli-bundle/chunks/{chunk-FXFCFL73.js.map → chunk-H3YKUVDR.js.map} +0 -0
- /package/dist/cli-bundle/chunks/{chunk-ARGDWQ4J.js.map → chunk-IGBBTPM5.js.map} +0 -0
- /package/dist/cli-bundle/chunks/{chunk-FY4RLHSC.js.map → chunk-IRJ6F23W.js.map} +0 -0
- /package/dist/cli-bundle/chunks/{chunk-66MKH7SZ.js.map → chunk-IXG5CMBR.js.map} +0 -0
- /package/dist/cli-bundle/chunks/{chunk-7UCY6DR5.js.map → chunk-JPWUZOMR.js.map} +0 -0
- /package/dist/cli-bundle/chunks/{chunk-FVNWHUME.js.map → chunk-K2L6FZBX.js.map} +0 -0
- /package/dist/cli-bundle/chunks/{chunk-X2MGQMZO.js.map → chunk-LT5UWU7H.js.map} +0 -0
- /package/dist/cli-bundle/chunks/{chunk-KH6QAHME.js.map → chunk-M4B4RK4J.js.map} +0 -0
- /package/dist/cli-bundle/chunks/{chunk-2XOSFSTH.js.map → chunk-MQOSMBWV.js.map} +0 -0
- /package/dist/cli-bundle/chunks/{chunk-7R6UIHYY.js.map → chunk-N2TEEOXJ.js.map} +0 -0
- /package/dist/cli-bundle/chunks/{chunk-NTRQLE2R.js.map → chunk-N7FCFJ76.js.map} +0 -0
- /package/dist/cli-bundle/chunks/{chunk-37DRDP2B.js.map → chunk-NPEYH6CE.js.map} +0 -0
- /package/dist/cli-bundle/chunks/{chunk-2CXL335K.js.map → chunk-OK7VSX3N.js.map} +0 -0
- /package/dist/cli-bundle/chunks/{chunk-NNANAWFH.js.map → chunk-OKPZDH43.js.map} +0 -0
- /package/dist/cli-bundle/chunks/{chunk-G6MYGULG.js.map → chunk-OKWJUL6F.js.map} +0 -0
- /package/dist/cli-bundle/chunks/{chunk-D5XHO4Q7.js.map → chunk-Q6JPYR7I.js.map} +0 -0
- /package/dist/cli-bundle/chunks/{chunk-IE5KRAKN.js.map → chunk-QQ77W23U.js.map} +0 -0
- /package/dist/cli-bundle/chunks/{chunk-M7MVOKVV.js.map → chunk-QYGK2XQ3.js.map} +0 -0
- /package/dist/cli-bundle/chunks/{chunk-X5YCTFKT.js.map → chunk-RWAIRGBC.js.map} +0 -0
- /package/dist/cli-bundle/chunks/{chunk-W5E2UUSH.js.map → chunk-RX53WHFI.js.map} +0 -0
- /package/dist/cli-bundle/chunks/{chunk-R5XTTZSJ.js.map → chunk-SBW7EQC4.js.map} +0 -0
- /package/dist/cli-bundle/chunks/{chunk-TM5CIO3F.js.map → chunk-SGJB6PXA.js.map} +0 -0
- /package/dist/cli-bundle/chunks/{chunk-DDFGYUCQ.js.map → chunk-STBCBDKF.js.map} +0 -0
- /package/dist/cli-bundle/chunks/{chunk-FHOBCGQO.js.map → chunk-SVAWG7EE.js.map} +0 -0
- /package/dist/cli-bundle/chunks/{chunk-6O44IN44.js.map → chunk-T6MOTLOJ.js.map} +0 -0
- /package/dist/cli-bundle/chunks/{chunk-EWIT5WIC.js.map → chunk-U6RYD446.js.map} +0 -0
- /package/dist/cli-bundle/chunks/{chunk-E4FXM2XB.js.map → chunk-UE7LK3RE.js.map} +0 -0
- /package/dist/cli-bundle/chunks/{chunk-N33FD2UI.js.map → chunk-UNNCT5QY.js.map} +0 -0
- /package/dist/cli-bundle/chunks/{chunk-2IPNL3DR.js.map → chunk-UOIFZ66L.js.map} +0 -0
- /package/dist/cli-bundle/chunks/{chunk-LSOWTLEM.js.map → chunk-UU6EP25G.js.map} +0 -0
- /package/dist/cli-bundle/chunks/{chunk-HYTOJW2Q.js.map → chunk-UW6HCMP2.js.map} +0 -0
- /package/dist/cli-bundle/chunks/{chunk-47HXN6RX.js.map → chunk-UWAQI3B7.js.map} +0 -0
- /package/dist/cli-bundle/chunks/{chunk-YKFHF37B.js.map → chunk-V4QHAMI5.js.map} +0 -0
- /package/dist/cli-bundle/chunks/{chunk-VAHZIPWS.js.map → chunk-VA3H7VVC.js.map} +0 -0
- /package/dist/cli-bundle/chunks/{chunk-TLWJP5BF.js.map → chunk-VQOG2ETB.js.map} +0 -0
- /package/dist/cli-bundle/chunks/{chunk-H5IOT54C.js.map → chunk-VSQE43NO.js.map} +0 -0
- /package/dist/cli-bundle/chunks/{chunk-BDA35QG5.js.map → chunk-W6IEJXNC.js.map} +0 -0
- /package/dist/cli-bundle/chunks/{chunk-OWP6QFBV.js.map → chunk-XDWXPG2E.js.map} +0 -0
- /package/dist/cli-bundle/chunks/{chunk-CKX4WOPC.js.map → chunk-XKVHL3MB.js.map} +0 -0
- /package/dist/cli-bundle/chunks/{chunk-WL3SS45P.js.map → chunk-XVB6BATY.js.map} +0 -0
- /package/dist/cli-bundle/chunks/{chunk-NVZ6NVHJ.js.map → chunk-XXWDEQ6O.js.map} +0 -0
- /package/dist/cli-bundle/chunks/{chunk-ILVOOAT4.js.map → chunk-Y2VSGFT4.js.map} +0 -0
- /package/dist/cli-bundle/chunks/{chunk-NCVT6XEL.js.map → chunk-YG56M3NE.js.map} +0 -0
- /package/dist/cli-bundle/chunks/{chunk-AFGKSHAM.js.map → chunk-YGEA4CLH.js.map} +0 -0
- /package/dist/cli-bundle/chunks/{chunk-AXRT7K5V.js.map → chunk-YIC5NGXF.js.map} +0 -0
- /package/dist/cli-bundle/chunks/{chunk-XXLXJL7V.js.map → chunk-ZUCBPXNA.js.map} +0 -0
- /package/dist/cli-bundle/chunks/{close-X3CF6FQP.js.map → close-7NWA3GLA.js.map} +0 -0
- /package/dist/cli-bundle/chunks/{close-GPD7DTJV.js.map → close-ZZCDDWJT.js.map} +0 -0
- /package/dist/cli-bundle/chunks/{close-many-NQLYGPYW.js.map → close-many-QCZHFCON.js.map} +0 -0
- /package/dist/cli-bundle/chunks/{close-many-J7A5EHOQ.js.map → close-many-YALQ7AXS.js.map} +0 -0
- /package/dist/cli-bundle/chunks/{comments-2AOZQ5D2.js.map → comments-FMQNYPSZ.js.map} +0 -0
- /package/dist/cli-bundle/chunks/{comments-TMHMALA5.js.map → comments-SQIQ5WYR.js.map} +0 -0
- /package/dist/cli-bundle/chunks/{copy-N3LCQBMC.js.map → copy-GI3RCVZP.js.map} +0 -0
- /package/dist/cli-bundle/chunks/{copy-FWQA5OU4.js.map → copy-YDAMENCP.js.map} +0 -0
- /package/dist/cli-bundle/chunks/{create-AQ5SIGZC.js.map → create-JSL6CXU3.js.map} +0 -0
- /package/dist/cli-bundle/chunks/{create-KOGQ3JKD.js.map → create-LXMLYJNM.js.map} +0 -0
- /package/dist/cli-bundle/chunks/{delete-6G3MBZ6S.js.map → delete-5DFAXJNI.js.map} +0 -0
- /package/dist/cli-bundle/chunks/{delete-YYYFOSEA.js.map → delete-IGVOZEU2.js.map} +0 -0
- /package/dist/cli-bundle/chunks/{deps-NIIKXLPB.js.map → deps-BQAXUQAK.js.map} +0 -0
- /package/dist/cli-bundle/chunks/{deps-MQ4ZIGZB.js.map → deps-CBPPSS6J.js.map} +0 -0
- /package/dist/cli-bundle/chunks/{docs-OWRGDMNY.js.map → docs-KCWPLQOV.js.map} +0 -0
- /package/dist/cli-bundle/chunks/{docs-53NUGMIQ.js.map → docs-NS2AZWCN.js.map} +0 -0
- /package/dist/cli-bundle/chunks/{files-3PXGXYDB.js.map → files-PVWEPT5J.js.map} +0 -0
- /package/dist/cli-bundle/chunks/{files-EGLKHD7O.js.map → files-XUUBQ76I.js.map} +0 -0
- /package/dist/cli-bundle/chunks/{focus-KZLIA6WS.js.map → focus-3EJVFI3D.js.map} +0 -0
- /package/dist/cli-bundle/chunks/{focus-SRPASFTN.js.map → focus-DHBHKK3E.js.map} +0 -0
- /package/dist/cli-bundle/chunks/{history-compact-G4DULDCX.js.map → history-compact-3TNPYVFG.js.map} +0 -0
- /package/dist/cli-bundle/chunks/{history-compact-HHIUOMZ7.js.map → history-compact-JHYVDYLW.js.map} +0 -0
- /package/dist/cli-bundle/chunks/{history-redact-IUSJ6X3E.js.map → history-redact-ELRL73XN.js.map} +0 -0
- /package/dist/cli-bundle/chunks/{history-redact-THHGRQXV.js.map → history-redact-KKFDICCF.js.map} +0 -0
- /package/dist/cli-bundle/chunks/{history-repair-LUQWRS7X.js.map → history-repair-J7WKZFAG.js.map} +0 -0
- /package/dist/cli-bundle/chunks/{history-repair-KG7SWXI6.js.map → history-repair-REMI7DDI.js.map} +0 -0
- /package/dist/cli-bundle/chunks/{learnings-ZVHSALJY.js.map → learnings-O6V5WDCV.js.map} +0 -0
- /package/dist/cli-bundle/chunks/{learnings-2MRNBFJF.js.map → learnings-X4D6JCCG.js.map} +0 -0
- /package/dist/cli-bundle/chunks/{notes-73JWKWUD.js.map → notes-UQC6VS6N.js.map} +0 -0
- /package/dist/cli-bundle/chunks/{notes-BAKUL5DJ.js.map → notes-ZSZREWZA.js.map} +0 -0
- /package/dist/cli-bundle/chunks/{plan-AZPMCG37.js.map → plan-5GKRBJJO.js.map} +0 -0
- /package/dist/cli-bundle/chunks/{plan-LEAGLPGP.js.map → plan-EZW2YDDY.js.map} +0 -0
- /package/dist/cli-bundle/chunks/{profile-AVCIIZID.js.map → profile-5PQAPCLF.js.map} +0 -0
- /package/dist/cli-bundle/chunks/{profile-LFYO3HHX.js.map → profile-CW4BD3FO.js.map} +0 -0
- /package/dist/cli-bundle/chunks/{register-list-query-UKMF55FT.js.map → register-list-query-HTDQE6VI.js.map} +0 -0
- /package/dist/cli-bundle/chunks/{register-list-query-MZUF2EEC.js.map → register-list-query-PHIPDFP2.js.map} +0 -0
- /package/dist/cli-bundle/chunks/{register-mutation-T6RVNJC4.js.map → register-mutation-BLEWM5I6.js.map} +0 -0
- /package/dist/cli-bundle/chunks/{register-mutation-2PBW2GEX.js.map → register-mutation-OTYHR7J6.js.map} +0 -0
- /package/dist/cli-bundle/chunks/{restore-KIUYTAEJ.js.map → restore-A55MLFAI.js.map} +0 -0
- /package/dist/cli-bundle/chunks/{restore-E3PRGDN3.js.map → restore-HEQAG6EK.js.map} +0 -0
- /package/dist/cli-bundle/chunks/{schema-5JNFQFUW.js.map → schema-MAXAIHEC.js.map} +0 -0
- /package/dist/cli-bundle/chunks/{schema-TMIW4XZC.js.map → schema-Q5DAWJ2S.js.map} +0 -0
- /package/dist/cli-bundle/chunks/{update-XZJYS5X7.js.map → update-5DTSCWVF.js.map} +0 -0
- /package/dist/cli-bundle/chunks/{update-SQYZA3ZW.js.map → update-DWFXXJKP.js.map} +0 -0
- /package/dist/cli-bundle/chunks/{update-many-WQ3R3J6N.js.map → update-many-6T4ZLZS7.js.map} +0 -0
- /package/dist/cli-bundle/chunks/{update-many-R24B3GBK.js.map → update-many-MYRK6VBJ.js.map} +0 -0
package/dist/cli-bundle/sdk.js
CHANGED
|
@@ -12,10 +12,13 @@ import {
|
|
|
12
12
|
parseBootstrapHelpRequest,
|
|
13
13
|
parseBootstrapTypeValue,
|
|
14
14
|
stripGlobalBootstrapTokens
|
|
15
|
-
} from "./chunks/chunk-
|
|
15
|
+
} from "./chunks/chunk-Q4PSG2GV.js";
|
|
16
16
|
import {
|
|
17
17
|
PM_CLI_EXPECTED_ERROR_NAME,
|
|
18
18
|
PmClient,
|
|
19
|
+
RelationshipEventLog,
|
|
20
|
+
RelationshipEventStore,
|
|
21
|
+
WorkspaceTransactionInterruptedError,
|
|
19
22
|
aggregate,
|
|
20
23
|
append,
|
|
21
24
|
claim,
|
|
@@ -25,6 +28,7 @@ import {
|
|
|
25
28
|
closeTask,
|
|
26
29
|
comments,
|
|
27
30
|
commitImportedItem,
|
|
31
|
+
commitWorkspaceTransaction,
|
|
28
32
|
config,
|
|
29
33
|
context,
|
|
30
34
|
copy,
|
|
@@ -125,22 +129,45 @@ import {
|
|
|
125
129
|
update,
|
|
126
130
|
upgrade,
|
|
127
131
|
validate
|
|
128
|
-
} from "./chunks/chunk-
|
|
129
|
-
import "./chunks/chunk-
|
|
130
|
-
import "./chunks/chunk-3HKUXVKV.js";
|
|
131
|
-
import "./chunks/chunk-PNTULOGU.js";
|
|
132
|
+
} from "./chunks/chunk-3EZZTFL2.js";
|
|
133
|
+
import "./chunks/chunk-3KPNOZOH.js";
|
|
132
134
|
import {
|
|
133
|
-
|
|
134
|
-
|
|
135
|
-
|
|
136
|
-
|
|
135
|
+
_testOnlyConfigCommand,
|
|
136
|
+
runConfig
|
|
137
|
+
} from "./chunks/chunk-5S6IZXK7.js";
|
|
138
|
+
import {
|
|
139
|
+
DEFAULT_CHILD_SAMPLE_LIMIT,
|
|
140
|
+
DEFAULT_EVAL_QUERIES_RELATIVE_PATH,
|
|
141
|
+
MAX_CHILD_PROJECTION_ITEMS,
|
|
142
|
+
auditWorkspaceRelationshipGraph,
|
|
143
|
+
buildItemChildrenRollup,
|
|
144
|
+
buildItemSchedule,
|
|
145
|
+
collectDuplicateRelationshipEdgeGroups,
|
|
146
|
+
computeRelationshipDominators,
|
|
147
|
+
detectRelationshipCommunities,
|
|
148
|
+
enumerateRelationshipPaths,
|
|
149
|
+
findRedundantRelationshipEdges,
|
|
150
|
+
formatDuplicateEdgeGroup,
|
|
151
|
+
hierarchyAncestors,
|
|
152
|
+
hierarchyDescendants,
|
|
153
|
+
itemHasSchedule,
|
|
154
|
+
orderingPredecessors,
|
|
155
|
+
orderingSuccessors,
|
|
156
|
+
parseGraphSubcommand,
|
|
157
|
+
planRelationshipRemediation,
|
|
158
|
+
runEval,
|
|
159
|
+
runGraph,
|
|
160
|
+
runSearch
|
|
161
|
+
} from "./chunks/chunk-NTS2RKHN.js";
|
|
137
162
|
import {
|
|
138
163
|
TELEMETRY_SUBCOMMANDS,
|
|
139
164
|
_testOnlyHealthCommand,
|
|
140
165
|
_testOnlyValidateCommand,
|
|
141
166
|
classifyLinkedTestFailure,
|
|
142
167
|
countFailureCategories,
|
|
168
|
+
describeItemOwnershipConflict,
|
|
143
169
|
extractReferencedPmItemIdsFromCommand,
|
|
170
|
+
flushTelemetryQueueNow,
|
|
144
171
|
inspectHistoryAuthorStream,
|
|
145
172
|
resolveLinkedTestFailureExitCode,
|
|
146
173
|
runGc,
|
|
@@ -160,218 +187,24 @@ import {
|
|
|
160
187
|
runValidate,
|
|
161
188
|
scanHistoryAuthorAttribution,
|
|
162
189
|
summarizeContextPreflight
|
|
163
|
-
} from "./chunks/chunk-
|
|
164
|
-
import
|
|
165
|
-
runDocs
|
|
166
|
-
} from "./chunks/chunk-D5XHO4Q7.js";
|
|
167
|
-
import "./chunks/chunk-2FUOXSRN.js";
|
|
168
|
-
import "./chunks/chunk-NNANAWFH.js";
|
|
169
|
-
import "./chunks/chunk-OWP6QFBV.js";
|
|
170
|
-
import "./chunks/chunk-W5E2UUSH.js";
|
|
171
|
-
import "./chunks/chunk-G6MYGULG.js";
|
|
172
|
-
import {
|
|
173
|
-
PROFILE_SUBCOMMANDS,
|
|
174
|
-
_testOnly as _testOnly4,
|
|
175
|
-
describeProfileComposition,
|
|
176
|
-
describeProjectProfile,
|
|
177
|
-
formatProfileApplyHuman,
|
|
178
|
-
formatProfileLintHuman,
|
|
179
|
-
formatProfileListHuman,
|
|
180
|
-
formatProfileShowHuman,
|
|
181
|
-
loadCreateTemplateOptions,
|
|
182
|
-
planProfileApplication,
|
|
183
|
-
runProfileApply,
|
|
184
|
-
runProfileLint,
|
|
185
|
-
runProfileList,
|
|
186
|
-
runProfileShow,
|
|
187
|
-
runTemplatesList,
|
|
188
|
-
runTemplatesSave,
|
|
189
|
-
runTemplatesShow
|
|
190
|
-
} from "./chunks/chunk-TZAE66GQ.js";
|
|
191
|
-
import "./chunks/chunk-LSOWTLEM.js";
|
|
192
|
-
import "./chunks/chunk-6DYOZS6C.js";
|
|
193
|
-
import "./chunks/chunk-ZHBI2AP7.js";
|
|
194
|
-
import {
|
|
195
|
-
runFiles,
|
|
196
|
-
runFilesDiscover
|
|
197
|
-
} from "./chunks/chunk-66MKH7SZ.js";
|
|
198
|
-
import {
|
|
199
|
-
applyPathMigrations,
|
|
200
|
-
applyStandaloneNote,
|
|
201
|
-
artifactKey,
|
|
202
|
-
dedupeLinkedArtifacts,
|
|
203
|
-
ensureScope,
|
|
204
|
-
expandAddGlobEntries,
|
|
205
|
-
normalizeLinkedPath,
|
|
206
|
-
parseAddEntries,
|
|
207
|
-
parseAddGlobEntries,
|
|
208
|
-
parseMigrateEntries,
|
|
209
|
-
parseRemoveEntries,
|
|
210
|
-
renameArtifactsResultKey,
|
|
211
|
-
runLinkedArtifacts,
|
|
212
|
-
sortLinkedArtifacts,
|
|
213
|
-
validateLinkedPaths
|
|
214
|
-
} from "./chunks/chunk-FVNWHUME.js";
|
|
215
|
-
import "./chunks/chunk-RXPQ5Q23.js";
|
|
216
|
-
import "./chunks/chunk-XWBD6DSR.js";
|
|
217
|
-
import "./chunks/chunk-WL3SS45P.js";
|
|
218
|
-
import "./chunks/chunk-5HGZKQUL.js";
|
|
219
|
-
import "./chunks/chunk-HPAYDSR2.js";
|
|
220
|
-
import {
|
|
221
|
-
PLAN_SHOW_DEPTH_VALUES,
|
|
222
|
-
PLAN_SUBCOMMANDS,
|
|
223
|
-
PLAN_TEMPLATE_NAMES
|
|
224
|
-
} from "./chunks/chunk-XXLXJL7V.js";
|
|
225
|
-
import {
|
|
226
|
-
HISTORY_COMPACT_BULK_DEFAULT_MIN_ENTRIES,
|
|
227
|
-
assertHistoryCompactTarget,
|
|
228
|
-
runHistoryCompact,
|
|
229
|
-
runHistoryCompactBulk
|
|
230
|
-
} from "./chunks/chunk-37DRDP2B.js";
|
|
231
|
-
import "./chunks/chunk-YUSOJDWM.js";
|
|
232
|
-
import "./chunks/chunk-RGMWJLXF.js";
|
|
233
|
-
import {
|
|
234
|
-
isErrnoError,
|
|
235
|
-
limitAnnotationEntries,
|
|
236
|
-
parseAnnotationTextInput,
|
|
237
|
-
readAnnotationEntries,
|
|
238
|
-
resolveAnnotationIndex,
|
|
239
|
-
resolveAnnotationInput,
|
|
240
|
-
runAnnotationCommand,
|
|
241
|
-
wrapOwnershipConflict
|
|
242
|
-
} from "./chunks/chunk-QWBKN3QC.js";
|
|
243
|
-
import {
|
|
244
|
-
flushTelemetryQueueNow
|
|
245
|
-
} from "./chunks/chunk-RTBX3C4C.js";
|
|
246
|
-
import {
|
|
247
|
-
activateExtensionForTest,
|
|
248
|
-
assertExtensionBlueprint,
|
|
249
|
-
assertExtensionCapabilityUsage,
|
|
250
|
-
assertExtensionDeactivated,
|
|
251
|
-
assertExtensionManifestCompatible,
|
|
252
|
-
assertExtensionManifestMatchesBlueprint,
|
|
253
|
-
assertExtensionPreflight,
|
|
254
|
-
assertPackageManifest,
|
|
255
|
-
assertProjectProfile,
|
|
256
|
-
assertRegisteredCommandContract,
|
|
257
|
-
assertRegisteredCommandOverride,
|
|
258
|
-
assertRegisteredExporter,
|
|
259
|
-
assertRegisteredFlags,
|
|
260
|
-
assertRegisteredHook,
|
|
261
|
-
assertRegisteredImporter,
|
|
262
|
-
assertRegisteredItemField,
|
|
263
|
-
assertRegisteredItemType,
|
|
264
|
-
assertRegisteredMigration,
|
|
265
|
-
assertRegisteredParserOverride,
|
|
266
|
-
assertRegisteredPreflightOverride,
|
|
267
|
-
assertRegisteredProfile,
|
|
268
|
-
assertRegisteredRendererOverride,
|
|
269
|
-
assertRegisteredSearchProvider,
|
|
270
|
-
assertRegisteredServiceOverride,
|
|
271
|
-
assertRegisteredVectorStoreAdapter,
|
|
272
|
-
checkExtensionManifestCompatibility,
|
|
273
|
-
composeExtension,
|
|
274
|
-
composeExtensionPackage,
|
|
275
|
-
createExtensionTestHarness,
|
|
276
|
-
deactivateExtensionForTest,
|
|
277
|
-
defineExtension,
|
|
278
|
-
defineExtensionBlueprint,
|
|
279
|
-
deriveExtensionCapabilities,
|
|
280
|
-
describeExtensionBlueprint,
|
|
281
|
-
lintExtensionBlueprint,
|
|
282
|
-
mergeExtensionBlueprints,
|
|
283
|
-
preflightExtension,
|
|
284
|
-
runRegisteredCommandForTest,
|
|
285
|
-
runRegisteredCommandOverrideForTest,
|
|
286
|
-
runRegisteredExporterForTest,
|
|
287
|
-
runRegisteredHookForTest,
|
|
288
|
-
runRegisteredImporterForTest,
|
|
289
|
-
runRegisteredMigrationForTest,
|
|
290
|
-
runRegisteredParserOverrideForTest,
|
|
291
|
-
runRegisteredPreflightOverrideForTest,
|
|
292
|
-
runRegisteredRendererOverrideForTest,
|
|
293
|
-
runRegisteredSearchProviderForTest,
|
|
294
|
-
runRegisteredServiceOverrideForTest,
|
|
295
|
-
runRegisteredVectorStoreAdapterForTest,
|
|
296
|
-
synthesizeExtensionManifest
|
|
297
|
-
} from "./chunks/chunk-D53RTYVI.js";
|
|
298
|
-
import {
|
|
299
|
-
BUILTIN_PROFILES,
|
|
300
|
-
PROFILE_LINT_CODES,
|
|
301
|
-
PROFILE_LINT_DIMENSIONS,
|
|
302
|
-
PROFILE_NAMES,
|
|
303
|
-
lintProjectProfile,
|
|
304
|
-
listProfiles,
|
|
305
|
-
normalizeProfileName,
|
|
306
|
-
resolveProfile
|
|
307
|
-
} from "./chunks/chunk-DDFGYUCQ.js";
|
|
308
|
-
import "./chunks/chunk-KAE727L2.js";
|
|
309
|
-
import {
|
|
310
|
-
_testOnlyConfigCommand,
|
|
311
|
-
runConfig
|
|
312
|
-
} from "./chunks/chunk-ADXDCAKP.js";
|
|
190
|
+
} from "./chunks/chunk-JBW2S2C6.js";
|
|
191
|
+
import "./chunks/chunk-P24ZU5QV.js";
|
|
313
192
|
import {
|
|
314
193
|
INIT_AGENT_GUIDANCE_MODE_VALUES,
|
|
315
194
|
PM_PACKAGE_CONVENTIONAL_RESOURCE_ROOTS,
|
|
316
195
|
PM_PACKAGE_RESOURCE_KINDS,
|
|
317
|
-
_testOnly,
|
|
318
|
-
_testOnly2,
|
|
196
|
+
_testOnly as _testOnly2,
|
|
197
|
+
_testOnly2 as _testOnly3,
|
|
319
198
|
collectPackageExtensionDirectories,
|
|
199
|
+
quoteCommandArg,
|
|
200
|
+
quoteWindowsCommandArg,
|
|
320
201
|
readPmPackageManifest,
|
|
202
|
+
renderPmCommand,
|
|
321
203
|
runExtension,
|
|
322
204
|
runInit,
|
|
323
205
|
runInitAgentGuidance,
|
|
324
206
|
summarizeInitResult
|
|
325
|
-
} from "./chunks/chunk-
|
|
326
|
-
import "./chunks/chunk-2XOSFSTH.js";
|
|
327
|
-
import "./chunks/chunk-2BX74BAS.js";
|
|
328
|
-
import {
|
|
329
|
-
quoteCommandArg,
|
|
330
|
-
quoteWindowsCommandArg,
|
|
331
|
-
renderPmCommand
|
|
332
|
-
} from "./chunks/chunk-74FKFFXO.js";
|
|
333
|
-
import {
|
|
334
|
-
describeExtensionActivation,
|
|
335
|
-
renderExtensionSurfaceMarkdown
|
|
336
|
-
} from "./chunks/chunk-YQEZWI3R.js";
|
|
337
|
-
import "./chunks/chunk-Q3K5XPAQ.js";
|
|
338
|
-
import "./chunks/chunk-2CXL335K.js";
|
|
339
|
-
import {
|
|
340
|
-
DEFAULT_CHILD_SAMPLE_LIMIT,
|
|
341
|
-
DEFAULT_EVAL_QUERIES_RELATIVE_PATH,
|
|
342
|
-
MAX_CHILD_PROJECTION_ITEMS,
|
|
343
|
-
analyzeGraphImpact,
|
|
344
|
-
analyzeKnowledgeGraph,
|
|
345
|
-
analyzeRelationshipExecution,
|
|
346
|
-
auditWorkspaceRelationshipGraph,
|
|
347
|
-
buildItemChildrenRollup,
|
|
348
|
-
buildItemSchedule,
|
|
349
|
-
collectDuplicateRelationshipEdgeGroups,
|
|
350
|
-
compareRelationshipSnapshots,
|
|
351
|
-
computeRelationshipDominators,
|
|
352
|
-
detectRelationshipCommunities,
|
|
353
|
-
enumerateRelationshipPaths,
|
|
354
|
-
findRedundantRelationshipEdges,
|
|
355
|
-
formatDuplicateEdgeGroup,
|
|
356
|
-
hierarchyAncestors,
|
|
357
|
-
hierarchyDescendants,
|
|
358
|
-
itemHasSchedule,
|
|
359
|
-
orderingPredecessors,
|
|
360
|
-
orderingSuccessors,
|
|
361
|
-
parseGraphSubcommand,
|
|
362
|
-
planRelationshipRemediation,
|
|
363
|
-
runEval,
|
|
364
|
-
runGraph,
|
|
365
|
-
runSearch
|
|
366
|
-
} from "./chunks/chunk-GKPCTQYG.js";
|
|
367
|
-
import {
|
|
368
|
-
WorkspaceGraphCache,
|
|
369
|
-
buildRelationshipContext,
|
|
370
|
-
computeWorkspaceGraphFingerprint,
|
|
371
|
-
resetWorkspaceGraphCache,
|
|
372
|
-
runDeps,
|
|
373
|
-
workspaceGraphCache
|
|
374
|
-
} from "./chunks/chunk-3QDR6ZLU.js";
|
|
207
|
+
} from "./chunks/chunk-ZF52NVRT.js";
|
|
375
208
|
import {
|
|
376
209
|
CONTEXT_EVALUATION_METRIC_NAMES,
|
|
377
210
|
CONTEXT_PACKING_PROFILES,
|
|
@@ -381,6 +214,10 @@ import {
|
|
|
381
214
|
defaultScoreContextCandidates,
|
|
382
215
|
evaluateContextRanking,
|
|
383
216
|
packContextCandidates,
|
|
217
|
+
readContextUsageAffinity,
|
|
218
|
+
recordContextUsageServing,
|
|
219
|
+
recordContextUsageTouch,
|
|
220
|
+
recordContextUsageTouches,
|
|
384
221
|
renderCalendarMarkdown,
|
|
385
222
|
renderCalendarToon,
|
|
386
223
|
resolveCalendarOutputFormat,
|
|
@@ -390,63 +227,51 @@ import {
|
|
|
390
227
|
scoreContextCandidates,
|
|
391
228
|
scoreContextCandidatesWithActiveExtensions,
|
|
392
229
|
summarizeContextEvaluationReports
|
|
393
|
-
} from "./chunks/chunk-
|
|
394
|
-
import {
|
|
395
|
-
RelationshipGraph,
|
|
396
|
-
RelationshipKindRegistry,
|
|
397
|
-
assembleWorkspaceRelationshipGraph,
|
|
398
|
-
collectDanglingDependencyReferences,
|
|
399
|
-
collectMissingDependencyTargetIds,
|
|
400
|
-
createRelationshipKindRegistry,
|
|
401
|
-
dependencyToRelationship,
|
|
402
|
-
isOrderingRelationshipKind
|
|
403
|
-
} from "./chunks/chunk-3CUQZNQ6.js";
|
|
404
|
-
import "./chunks/chunk-KWYX6ZIR.js";
|
|
405
|
-
import {
|
|
406
|
-
parseIntegerLimit,
|
|
407
|
-
parsePriority,
|
|
408
|
-
parseType,
|
|
409
|
-
runList
|
|
410
|
-
} from "./chunks/chunk-AXRT7K5V.js";
|
|
230
|
+
} from "./chunks/chunk-AR24KW26.js";
|
|
411
231
|
import {
|
|
412
|
-
|
|
413
|
-
|
|
414
|
-
|
|
415
|
-
decodeQueryCursorState,
|
|
416
|
-
encodeQueryCursor,
|
|
417
|
-
paginateQueryRows,
|
|
418
|
-
resolveQueryCursorStart
|
|
419
|
-
} from "./chunks/chunk-M7MVOKVV.js";
|
|
420
|
-
import {
|
|
421
|
-
getItemAt
|
|
422
|
-
} from "./chunks/chunk-B57RJHBZ.js";
|
|
423
|
-
import "./chunks/chunk-NTRQLE2R.js";
|
|
232
|
+
refreshSemanticEmbeddingsForMutatedItems,
|
|
233
|
+
runSemanticRefreshWorker
|
|
234
|
+
} from "./chunks/chunk-N2TEEOXJ.js";
|
|
424
235
|
import {
|
|
425
|
-
|
|
426
|
-
|
|
427
|
-
|
|
428
|
-
|
|
429
|
-
|
|
430
|
-
|
|
431
|
-
resolveHistorySubject,
|
|
432
|
-
resolveHistoryTarget,
|
|
433
|
-
runHistoryRedact
|
|
434
|
-
} from "./chunks/chunk-X5YCTFKT.js";
|
|
236
|
+
HISTORY_COMPACT_BULK_DEFAULT_MIN_ENTRIES,
|
|
237
|
+
assertHistoryCompactTarget,
|
|
238
|
+
runHistoryCompact,
|
|
239
|
+
runHistoryCompactBulk
|
|
240
|
+
} from "./chunks/chunk-NPEYH6CE.js";
|
|
241
|
+
import "./chunks/chunk-PNTULOGU.js";
|
|
435
242
|
import {
|
|
436
|
-
|
|
437
|
-
|
|
438
|
-
|
|
243
|
+
assertHistoryRepairTarget,
|
|
244
|
+
runHistoryRepair,
|
|
245
|
+
runHistoryRepairAll
|
|
246
|
+
} from "./chunks/chunk-A3GAQLBH.js";
|
|
247
|
+
import "./chunks/chunk-BFJP4VYC.js";
|
|
248
|
+
import "./chunks/chunk-FQO5THHM.js";
|
|
249
|
+
import "./chunks/chunk-UU6EP25G.js";
|
|
439
250
|
import {
|
|
440
|
-
|
|
441
|
-
|
|
442
|
-
|
|
443
|
-
|
|
444
|
-
|
|
445
|
-
import "./chunks/chunk-CYCJBU3I.js";
|
|
251
|
+
PLAN_SHOW_DEPTH_VALUES,
|
|
252
|
+
PLAN_SUBCOMMANDS,
|
|
253
|
+
PLAN_TEMPLATE_NAMES
|
|
254
|
+
} from "./chunks/chunk-ZUCBPXNA.js";
|
|
255
|
+
import "./chunks/chunk-YUSOJDWM.js";
|
|
446
256
|
import {
|
|
447
|
-
|
|
448
|
-
|
|
449
|
-
|
|
257
|
+
PROFILE_SUBCOMMANDS,
|
|
258
|
+
_testOnly as _testOnly4,
|
|
259
|
+
describeProfileComposition,
|
|
260
|
+
describeProjectProfile,
|
|
261
|
+
formatProfileApplyHuman,
|
|
262
|
+
formatProfileLintHuman,
|
|
263
|
+
formatProfileListHuman,
|
|
264
|
+
formatProfileShowHuman,
|
|
265
|
+
loadCreateTemplateOptions,
|
|
266
|
+
planProfileApplication,
|
|
267
|
+
runProfileApply,
|
|
268
|
+
runProfileLint,
|
|
269
|
+
runProfileList,
|
|
270
|
+
runProfileShow,
|
|
271
|
+
runTemplatesList,
|
|
272
|
+
runTemplatesSave,
|
|
273
|
+
runTemplatesShow
|
|
274
|
+
} from "./chunks/chunk-AGEBQRBG.js";
|
|
450
275
|
import {
|
|
451
276
|
ACTIVITY_COMMANDER_STRING_OPTION_CONTRACTS,
|
|
452
277
|
APPEND_FLAG_CONTRACTS,
|
|
@@ -571,11 +396,24 @@ import {
|
|
|
571
396
|
resolveSubcommandFlagContractsForCommand,
|
|
572
397
|
toCompletionFlagString,
|
|
573
398
|
withFlagAliasMetadata
|
|
574
|
-
} from "./chunks/chunk-
|
|
399
|
+
} from "./chunks/chunk-EEECAV5M.js";
|
|
400
|
+
import "./chunks/chunk-MQOSMBWV.js";
|
|
401
|
+
import "./chunks/chunk-EVAN5VJA.js";
|
|
402
|
+
import {
|
|
403
|
+
isErrnoError,
|
|
404
|
+
limitAnnotationEntries,
|
|
405
|
+
parseAnnotationTextInput,
|
|
406
|
+
readAnnotationEntries,
|
|
407
|
+
resolveAnnotationIndex,
|
|
408
|
+
resolveAnnotationInput,
|
|
409
|
+
runAnnotationCommand,
|
|
410
|
+
wrapOwnershipConflict
|
|
411
|
+
} from "./chunks/chunk-GKCEEXMA.js";
|
|
575
412
|
import {
|
|
576
413
|
LINKED_TEST_ENV_NAME_PATTERN,
|
|
577
414
|
LINKED_TEST_PM_CONTEXT_MODE_VALUES,
|
|
578
415
|
LINKED_TEST_PROTECTED_ENV_KEYS,
|
|
416
|
+
collectNewOrderingCycleWarnings,
|
|
579
417
|
parseLinkedTestAssertionEqualsMap,
|
|
580
418
|
parseLinkedTestAssertionGteMap,
|
|
581
419
|
parseLinkedTestBoolean,
|
|
@@ -586,26 +424,184 @@ import {
|
|
|
586
424
|
parseLinkedTestMinLines,
|
|
587
425
|
parseLinkedTestRegexList,
|
|
588
426
|
parseLinkedTestStringList
|
|
589
|
-
} from "./chunks/chunk-
|
|
590
|
-
import "./chunks/chunk-
|
|
427
|
+
} from "./chunks/chunk-3QNUDDY2.js";
|
|
428
|
+
import "./chunks/chunk-SGJB6PXA.js";
|
|
591
429
|
import {
|
|
592
|
-
|
|
593
|
-
|
|
594
|
-
|
|
595
|
-
|
|
596
|
-
|
|
430
|
+
analyzeGraphImpact,
|
|
431
|
+
analyzeKnowledgeGraph,
|
|
432
|
+
analyzeRelationshipExecution,
|
|
433
|
+
compareRelationshipSnapshots
|
|
434
|
+
} from "./chunks/chunk-DOASIOQR.js";
|
|
597
435
|
import {
|
|
598
436
|
SUPPRESS_HOST_OUTPUT_MARKER,
|
|
599
437
|
isHostOutputSuppressed,
|
|
600
438
|
suppressHostOutput
|
|
601
|
-
} from "./chunks/chunk-
|
|
602
|
-
import "./chunks/chunk-
|
|
439
|
+
} from "./chunks/chunk-7B7IHMLH.js";
|
|
440
|
+
import "./chunks/chunk-OKPZDH43.js";
|
|
441
|
+
import "./chunks/chunk-XDWXPG2E.js";
|
|
442
|
+
import "./chunks/chunk-E7KBMWEF.js";
|
|
443
|
+
import "./chunks/chunk-RX53WHFI.js";
|
|
444
|
+
import "./chunks/chunk-3HKUXVKV.js";
|
|
445
|
+
import {
|
|
446
|
+
WorkspaceGraphCache,
|
|
447
|
+
buildRelationshipContext,
|
|
448
|
+
computeWorkspaceGraphFingerprint,
|
|
449
|
+
resetWorkspaceGraphCache,
|
|
450
|
+
runDeps,
|
|
451
|
+
workspaceGraphCache
|
|
452
|
+
} from "./chunks/chunk-EAV3P54W.js";
|
|
453
|
+
import {
|
|
454
|
+
assembleWorkspaceRelationshipGraph,
|
|
455
|
+
collectDanglingDependencyReferences,
|
|
456
|
+
collectMissingDependencyTargetIds
|
|
457
|
+
} from "./chunks/chunk-66SRNEBK.js";
|
|
458
|
+
import "./chunks/chunk-6X5MZ5R2.js";
|
|
459
|
+
import {
|
|
460
|
+
runDocs
|
|
461
|
+
} from "./chunks/chunk-Q6JPYR7I.js";
|
|
462
|
+
import "./chunks/chunk-ZHBI2AP7.js";
|
|
463
|
+
import {
|
|
464
|
+
runFiles,
|
|
465
|
+
runFilesDiscover
|
|
466
|
+
} from "./chunks/chunk-IXG5CMBR.js";
|
|
467
|
+
import {
|
|
468
|
+
applyPathMigrations,
|
|
469
|
+
applyStandaloneNote,
|
|
470
|
+
artifactKey,
|
|
471
|
+
dedupeLinkedArtifacts,
|
|
472
|
+
ensureScope,
|
|
473
|
+
expandAddGlobEntries,
|
|
474
|
+
normalizeLinkedPath,
|
|
475
|
+
parseAddEntries,
|
|
476
|
+
parseAddGlobEntries,
|
|
477
|
+
parseMigrateEntries,
|
|
478
|
+
parseRemoveEntries,
|
|
479
|
+
renameArtifactsResultKey,
|
|
480
|
+
runLinkedArtifacts,
|
|
481
|
+
sortLinkedArtifacts,
|
|
482
|
+
validateLinkedPaths
|
|
483
|
+
} from "./chunks/chunk-K2L6FZBX.js";
|
|
484
|
+
import "./chunks/chunk-D6HZN36B.js";
|
|
485
|
+
import {
|
|
486
|
+
activateExtensionForTest,
|
|
487
|
+
assertExtensionBlueprint,
|
|
488
|
+
assertExtensionCapabilityUsage,
|
|
489
|
+
assertExtensionDeactivated,
|
|
490
|
+
assertExtensionManifestCompatible,
|
|
491
|
+
assertExtensionManifestMatchesBlueprint,
|
|
492
|
+
assertExtensionPreflight,
|
|
493
|
+
assertPackageManifest,
|
|
494
|
+
assertProjectProfile,
|
|
495
|
+
assertRegisteredCommandContract,
|
|
496
|
+
assertRegisteredCommandOverride,
|
|
497
|
+
assertRegisteredExporter,
|
|
498
|
+
assertRegisteredFlags,
|
|
499
|
+
assertRegisteredHook,
|
|
500
|
+
assertRegisteredImporter,
|
|
501
|
+
assertRegisteredItemField,
|
|
502
|
+
assertRegisteredItemType,
|
|
503
|
+
assertRegisteredMigration,
|
|
504
|
+
assertRegisteredParserOverride,
|
|
505
|
+
assertRegisteredPreflightOverride,
|
|
506
|
+
assertRegisteredProfile,
|
|
507
|
+
assertRegisteredRendererOverride,
|
|
508
|
+
assertRegisteredSearchProvider,
|
|
509
|
+
assertRegisteredServiceOverride,
|
|
510
|
+
assertRegisteredVectorStoreAdapter,
|
|
511
|
+
checkExtensionManifestCompatibility,
|
|
512
|
+
composeExtension,
|
|
513
|
+
composeExtensionPackage,
|
|
514
|
+
createExtensionTestHarness,
|
|
515
|
+
deactivateExtensionForTest,
|
|
516
|
+
defineExtension,
|
|
517
|
+
defineExtensionBlueprint,
|
|
518
|
+
deriveExtensionCapabilities,
|
|
519
|
+
describeExtensionBlueprint,
|
|
520
|
+
lintExtensionBlueprint,
|
|
521
|
+
mergeExtensionBlueprints,
|
|
522
|
+
preflightExtension,
|
|
523
|
+
runRegisteredCommandForTest,
|
|
524
|
+
runRegisteredCommandOverrideForTest,
|
|
525
|
+
runRegisteredExporterForTest,
|
|
526
|
+
runRegisteredHookForTest,
|
|
527
|
+
runRegisteredImporterForTest,
|
|
528
|
+
runRegisteredMigrationForTest,
|
|
529
|
+
runRegisteredParserOverrideForTest,
|
|
530
|
+
runRegisteredPreflightOverrideForTest,
|
|
531
|
+
runRegisteredRendererOverrideForTest,
|
|
532
|
+
runRegisteredSearchProviderForTest,
|
|
533
|
+
runRegisteredServiceOverrideForTest,
|
|
534
|
+
runRegisteredVectorStoreAdapterForTest,
|
|
535
|
+
synthesizeExtensionManifest
|
|
536
|
+
} from "./chunks/chunk-GFZB5CLP.js";
|
|
537
|
+
import "./chunks/chunk-CYCJBU3I.js";
|
|
538
|
+
import {
|
|
539
|
+
describeExtensionActivation,
|
|
540
|
+
renderExtensionSurfaceMarkdown
|
|
541
|
+
} from "./chunks/chunk-KZ5AC6B5.js";
|
|
542
|
+
import {
|
|
543
|
+
BUILTIN_PROFILES,
|
|
544
|
+
PROFILE_LINT_CODES,
|
|
545
|
+
PROFILE_LINT_DIMENSIONS,
|
|
546
|
+
PROFILE_NAMES,
|
|
547
|
+
lintProjectProfile,
|
|
548
|
+
listProfiles,
|
|
549
|
+
normalizeProfileName,
|
|
550
|
+
resolveProfile
|
|
551
|
+
} from "./chunks/chunk-STBCBDKF.js";
|
|
552
|
+
import "./chunks/chunk-Q3K5XPAQ.js";
|
|
553
|
+
import "./chunks/chunk-KAE727L2.js";
|
|
554
|
+
import "./chunks/chunk-OK7VSX3N.js";
|
|
555
|
+
import "./chunks/chunk-4M6RZJXF.js";
|
|
556
|
+
import "./chunks/chunk-OKWJUL6F.js";
|
|
557
|
+
import {
|
|
558
|
+
parseTags
|
|
559
|
+
} from "./chunks/chunk-A5EQPNV7.js";
|
|
560
|
+
import "./chunks/chunk-4PSJVGRE.js";
|
|
561
|
+
import "./chunks/chunk-XVB6BATY.js";
|
|
562
|
+
import "./chunks/chunk-KWYX6ZIR.js";
|
|
563
|
+
import {
|
|
564
|
+
parseIntegerLimit,
|
|
565
|
+
parsePriority,
|
|
566
|
+
parseType,
|
|
567
|
+
runList
|
|
568
|
+
} from "./chunks/chunk-YIC5NGXF.js";
|
|
569
|
+
import "./chunks/chunk-N7FCFJ76.js";
|
|
570
|
+
import {
|
|
571
|
+
parseLimit
|
|
572
|
+
} from "./chunks/chunk-7CHWLT2J.js";
|
|
573
|
+
import {
|
|
574
|
+
QUERY_CURSOR_CONTRACT,
|
|
575
|
+
createQueryFingerprint,
|
|
576
|
+
decodeQueryCursor,
|
|
577
|
+
decodeQueryCursorState,
|
|
578
|
+
encodeQueryCursor,
|
|
579
|
+
paginateQueryRows,
|
|
580
|
+
resolveQueryCursorStart
|
|
581
|
+
} from "./chunks/chunk-QYGK2XQ3.js";
|
|
582
|
+
import "./chunks/chunk-VQOG2ETB.js";
|
|
603
583
|
import {
|
|
604
584
|
collectBlockedByIds,
|
|
605
585
|
collectDependencyBlockedIds,
|
|
606
586
|
computeActionabilityReport,
|
|
607
587
|
resolveItemBlockers
|
|
608
|
-
} from "./chunks/chunk-
|
|
588
|
+
} from "./chunks/chunk-W6IEJXNC.js";
|
|
589
|
+
import "./chunks/chunk-FQODDTE7.js";
|
|
590
|
+
import {
|
|
591
|
+
getItemAt
|
|
592
|
+
} from "./chunks/chunk-A4FVWFZY.js";
|
|
593
|
+
import {
|
|
594
|
+
_testOnly,
|
|
595
|
+
applyHistoryPatch,
|
|
596
|
+
ensureMaterializedHistoryTarget,
|
|
597
|
+
extractPatchFailureContext,
|
|
598
|
+
readHistoryEntries,
|
|
599
|
+
replayHistoryToTarget,
|
|
600
|
+
resolveHistorySubject,
|
|
601
|
+
resolveHistoryTarget,
|
|
602
|
+
runHistoryRedact
|
|
603
|
+
} from "./chunks/chunk-RWAIRGBC.js";
|
|
604
|
+
import "./chunks/chunk-YRYYFGV3.js";
|
|
609
605
|
import {
|
|
610
606
|
BASELINE_ITEM_FORMAT_VERSION,
|
|
611
607
|
CURRENT_ITEM_FORMAT_VERSION,
|
|
@@ -633,7 +629,7 @@ import {
|
|
|
633
629
|
scanItemFormatVersions,
|
|
634
630
|
serializeItemDocument,
|
|
635
631
|
splitFrontMatter
|
|
636
|
-
} from "./chunks/chunk-
|
|
632
|
+
} from "./chunks/chunk-RLLOZAM2.js";
|
|
637
633
|
import {
|
|
638
634
|
BUILTIN_ITEM_TYPE_VALUES,
|
|
639
635
|
CONFIDENCE_TEXT_VALUES,
|
|
@@ -653,11 +649,17 @@ import {
|
|
|
653
649
|
PmCliError,
|
|
654
650
|
RESERVED_ITEM_FIELD_NAMES,
|
|
655
651
|
RISK_VALUES,
|
|
652
|
+
RelationshipGraph,
|
|
653
|
+
RelationshipKindRegistry,
|
|
656
654
|
STATUS_VALUES,
|
|
657
655
|
collectUsedExtensionCapabilities,
|
|
656
|
+
createRelationshipKindRegistry,
|
|
657
|
+
dependencyToRelationship,
|
|
658
|
+
discoverNearbyPmRoot,
|
|
658
659
|
getHistoryPath,
|
|
659
660
|
getItemPath,
|
|
660
661
|
getSettingsPath,
|
|
662
|
+
isOrderingRelationshipKind,
|
|
661
663
|
pathExists,
|
|
662
664
|
readFileIfExists,
|
|
663
665
|
reconcileExtensionCapabilityUsage,
|
|
@@ -667,7 +669,7 @@ import {
|
|
|
667
669
|
resolveRuntimeFieldRegistry,
|
|
668
670
|
resolveRuntimeStatusRegistry,
|
|
669
671
|
writeFileAtomic
|
|
670
|
-
} from "./chunks/chunk-
|
|
672
|
+
} from "./chunks/chunk-WCBB6VI3.js";
|
|
671
673
|
|
|
672
674
|
// dist/sdk/search-refresh-worker.js
|
|
673
675
|
!(function() {
|
|
@@ -700,7 +702,7 @@ async function flushTelemetryQueue() {
|
|
|
700
702
|
!(function() {
|
|
701
703
|
try {
|
|
702
704
|
var e = "undefined" != typeof window ? window : "undefined" != typeof global ? global : "undefined" != typeof globalThis ? globalThis : "undefined" != typeof self ? self : {}, n = new e.Error().stack;
|
|
703
|
-
n && (e._sentryDebugIds = e._sentryDebugIds || {}, e._sentryDebugIds[n] = "
|
|
705
|
+
n && (e._sentryDebugIds = e._sentryDebugIds || {}, e._sentryDebugIds[n] = "d123a5fc-d172-5644-8cce-abf975f187d8");
|
|
704
706
|
} catch (e2) {
|
|
705
707
|
}
|
|
706
708
|
})();
|
|
@@ -723,367 +725,6 @@ async function flushTelemetryQueue() {
|
|
|
723
725
|
}
|
|
724
726
|
})();
|
|
725
727
|
|
|
726
|
-
// dist/sdk/relationship-history.js
|
|
727
|
-
import { constants } from "node:fs";
|
|
728
|
-
import { lstat, mkdir, open } from "node:fs/promises";
|
|
729
|
-
import path from "node:path";
|
|
730
|
-
!(function() {
|
|
731
|
-
try {
|
|
732
|
-
var e = "undefined" != typeof window ? window : "undefined" != typeof global ? global : "undefined" != typeof globalThis ? globalThis : "undefined" != typeof self ? self : {}, n = new e.Error().stack;
|
|
733
|
-
n && (e._sentryDebugIds = e._sentryDebugIds || {}, e._sentryDebugIds[n] = "787e8f44-80d5-554f-9232-9675cf6a8637");
|
|
734
|
-
} catch (e2) {
|
|
735
|
-
}
|
|
736
|
-
})();
|
|
737
|
-
function requiredText(value, field) {
|
|
738
|
-
if (typeof value !== "string" || value.trim().length === 0)
|
|
739
|
-
throw new TypeError(`Relationship event ${field} must be non-empty`);
|
|
740
|
-
return value.trim();
|
|
741
|
-
}
|
|
742
|
-
function edgeIdentity(edge, registry) {
|
|
743
|
-
const definition = registry.require(edge.kind);
|
|
744
|
-
const endpoints = definition.direction === "undirected" ? [edge.source, edge.target].sort().join("\0") : `${edge.source}\0${edge.target}`;
|
|
745
|
-
return `${definition.kind}\0${endpoints}`;
|
|
746
|
-
}
|
|
747
|
-
function freezeEdge(edge) {
|
|
748
|
-
return Object.freeze({
|
|
749
|
-
...edge,
|
|
750
|
-
...edge.payload === void 0 ? {} : { payload: Object.freeze(structuredClone(edge.payload)) }
|
|
751
|
-
});
|
|
752
|
-
}
|
|
753
|
-
function assertCardinality(candidate, excludeRelationshipId, registry, indexes) {
|
|
754
|
-
const definition = registry.require(candidate.kind);
|
|
755
|
-
const outgoingOwner = indexes.outgoingOne.get(`${definition.kind}\0${candidate.source}`);
|
|
756
|
-
if (outgoingOwner !== void 0 && outgoingOwner !== excludeRelationshipId)
|
|
757
|
-
throw new TypeError(`Relationship outgoing cardinality exceeded for ${definition.kind}`);
|
|
758
|
-
const incomingOwner = indexes.incomingOne.get(`${definition.kind}\0${candidate.target}`);
|
|
759
|
-
if (incomingOwner !== void 0 && incomingOwner !== excludeRelationshipId)
|
|
760
|
-
throw new TypeError(`Relationship incoming cardinality exceeded for ${definition.kind}`);
|
|
761
|
-
const identity = edgeIdentity(candidate, registry);
|
|
762
|
-
const identityOwner = indexes.identities.get(identity);
|
|
763
|
-
if (identityOwner !== void 0 && identityOwner !== excludeRelationshipId)
|
|
764
|
-
throw new TypeError(`Relationship edge already active: ${identity}`);
|
|
765
|
-
}
|
|
766
|
-
function replayEvents(events) {
|
|
767
|
-
const active = /* @__PURE__ */ new Map();
|
|
768
|
-
for (const event of events) {
|
|
769
|
-
if (event.action === "remove")
|
|
770
|
-
active.delete(event.relationshipId);
|
|
771
|
-
else
|
|
772
|
-
active.set(event.relationshipId, event.edge);
|
|
773
|
-
}
|
|
774
|
-
return active;
|
|
775
|
-
}
|
|
776
|
-
function normalizeEventHeader(input, currentVersion, eventIds) {
|
|
777
|
-
if (input.expectedVersion !== void 0 && input.expectedVersion !== currentVersion)
|
|
778
|
-
throw new TypeError(`Relationship event version conflict: expected ${input.expectedVersion}, current ${currentVersion}`);
|
|
779
|
-
const eventId = requiredText(input.eventId, "eventId");
|
|
780
|
-
if (eventIds.has(eventId))
|
|
781
|
-
throw new TypeError(`Relationship event already exists: ${eventId}`);
|
|
782
|
-
if (input.action !== "add" && input.action !== "remove" && input.action !== "supersede")
|
|
783
|
-
throw new TypeError(`Unknown relationship event action: ${input.action}`);
|
|
784
|
-
if (!Number.isFinite(Date.parse(input.timestamp)))
|
|
785
|
-
throw new TypeError("Relationship event timestamp must be valid");
|
|
786
|
-
return {
|
|
787
|
-
eventId,
|
|
788
|
-
relationshipId: requiredText(input.relationshipId, "relationshipId"),
|
|
789
|
-
author: requiredText(input.author, "author"),
|
|
790
|
-
timestamp: new Date(input.timestamp).toISOString()
|
|
791
|
-
};
|
|
792
|
-
}
|
|
793
|
-
function resolveMutationEdge(input, relationshipId, active, nodes, registry, indexes) {
|
|
794
|
-
const isActive = active.has(relationshipId);
|
|
795
|
-
if (input.action === "add" && isActive)
|
|
796
|
-
throw new TypeError(`Relationship is already active: ${relationshipId}`);
|
|
797
|
-
if (input.action !== "add" && !isActive)
|
|
798
|
-
throw new TypeError(`Relationship is not active: ${relationshipId}`);
|
|
799
|
-
if (input.action === "remove")
|
|
800
|
-
return void 0;
|
|
801
|
-
if (!input.edge)
|
|
802
|
-
throw new TypeError(`Relationship ${input.action} event requires an edge`);
|
|
803
|
-
const source = typeof input.edge.source === "string" ? input.edge.source.trim() : "";
|
|
804
|
-
const target = typeof input.edge.target === "string" ? input.edge.target.trim() : "";
|
|
805
|
-
if (!nodes.has(source) || !nodes.has(target))
|
|
806
|
-
throw new TypeError(`Relationship endpoint not found: ${source} -> ${target}`);
|
|
807
|
-
const canonical = new RelationshipGraph([source, target], [input.edge], registry).edges()[0];
|
|
808
|
-
assertCardinality(canonical, relationshipId, registry, indexes);
|
|
809
|
-
return freezeEdge(canonical);
|
|
810
|
-
}
|
|
811
|
-
var RelationshipEventLog = class {
|
|
812
|
-
#nodes;
|
|
813
|
-
#registry;
|
|
814
|
-
#events = [];
|
|
815
|
-
#eventIds = /* @__PURE__ */ new Set();
|
|
816
|
-
#active = /* @__PURE__ */ new Map();
|
|
817
|
-
#cardinalityIndexes = {
|
|
818
|
-
identities: /* @__PURE__ */ new Map(),
|
|
819
|
-
outgoingOne: /* @__PURE__ */ new Map(),
|
|
820
|
-
incomingOne: /* @__PURE__ */ new Map()
|
|
821
|
-
};
|
|
822
|
-
/** Create an empty relationship ledger for a fixed node universe. */
|
|
823
|
-
constructor(nodes, options = {}) {
|
|
824
|
-
this.#nodes = new Set([...nodes].filter((node) => typeof node === "string").map((node) => node.trim()).filter(Boolean));
|
|
825
|
-
this.#registry = options.registry ?? createRelationshipKindRegistry();
|
|
826
|
-
}
|
|
827
|
-
/** Current append sequence. */
|
|
828
|
-
get version() {
|
|
829
|
-
return this.#events.length;
|
|
830
|
-
}
|
|
831
|
-
/** Return an immutable copy of the full event stream. */
|
|
832
|
-
events() {
|
|
833
|
-
return Object.freeze([...this.#events]);
|
|
834
|
-
}
|
|
835
|
-
/** Add one active relationship to constant-time validation indexes. */
|
|
836
|
-
#indexActive(relationshipId, edge) {
|
|
837
|
-
const definition = this.#registry.require(edge.kind);
|
|
838
|
-
this.#cardinalityIndexes.identities.set(edgeIdentity(edge, this.#registry), relationshipId);
|
|
839
|
-
if (definition.outgoing === "one")
|
|
840
|
-
this.#cardinalityIndexes.outgoingOne.set(`${definition.kind}\0${edge.source}`, relationshipId);
|
|
841
|
-
if (definition.incoming === "one")
|
|
842
|
-
this.#cardinalityIndexes.incomingOne.set(`${definition.kind}\0${edge.target}`, relationshipId);
|
|
843
|
-
}
|
|
844
|
-
/** Remove one superseded or deleted relationship from validation indexes. */
|
|
845
|
-
#unindexActive(edge) {
|
|
846
|
-
const definition = this.#registry.require(edge.kind);
|
|
847
|
-
this.#cardinalityIndexes.identities.delete(edgeIdentity(edge, this.#registry));
|
|
848
|
-
if (definition.outgoing === "one")
|
|
849
|
-
this.#cardinalityIndexes.outgoingOne.delete(`${definition.kind}\0${edge.source}`);
|
|
850
|
-
if (definition.incoming === "one")
|
|
851
|
-
this.#cardinalityIndexes.incomingOne.delete(`${definition.kind}\0${edge.target}`);
|
|
852
|
-
}
|
|
853
|
-
/** Validate and append one attributable relationship mutation. */
|
|
854
|
-
append(input) {
|
|
855
|
-
const header = normalizeEventHeader(input, this.version, this.#eventIds);
|
|
856
|
-
const previous = this.#active.get(header.relationshipId);
|
|
857
|
-
const edge = resolveMutationEdge(input, header.relationshipId, this.#active, this.#nodes, this.#registry, this.#cardinalityIndexes);
|
|
858
|
-
const event = Object.freeze({
|
|
859
|
-
eventId: header.eventId,
|
|
860
|
-
relationshipId: header.relationshipId,
|
|
861
|
-
action: input.action,
|
|
862
|
-
...edge === void 0 ? {} : { edge },
|
|
863
|
-
author: header.author,
|
|
864
|
-
timestamp: header.timestamp,
|
|
865
|
-
...input.reason?.trim() ? { reason: input.reason.trim() } : {},
|
|
866
|
-
sequence: this.version + 1
|
|
867
|
-
});
|
|
868
|
-
this.#events.push(event);
|
|
869
|
-
this.#eventIds.add(header.eventId);
|
|
870
|
-
if (previous)
|
|
871
|
-
this.#unindexActive(previous);
|
|
872
|
-
if (input.action === "remove")
|
|
873
|
-
this.#active.delete(header.relationshipId);
|
|
874
|
-
else {
|
|
875
|
-
this.#active.set(header.relationshipId, edge);
|
|
876
|
-
this.#indexActive(header.relationshipId, edge);
|
|
877
|
-
}
|
|
878
|
-
return event;
|
|
879
|
-
}
|
|
880
|
-
/** Materialize an exact point-in-time graph without mutating the ledger. */
|
|
881
|
-
snapshot(options = {}) {
|
|
882
|
-
if (options.atVersion !== void 0 && options.atTimestamp !== void 0)
|
|
883
|
-
throw new TypeError("Relationship snapshot accepts one target");
|
|
884
|
-
let included;
|
|
885
|
-
if (options.atTimestamp !== void 0) {
|
|
886
|
-
const timestamp = Date.parse(options.atTimestamp);
|
|
887
|
-
if (!Number.isFinite(timestamp))
|
|
888
|
-
throw new TypeError("Relationship snapshot timestamp must be valid");
|
|
889
|
-
let lastIndex = -1;
|
|
890
|
-
for (let index = this.#events.length - 1; index >= 0; index -= 1) {
|
|
891
|
-
if (Date.parse(this.#events[index].timestamp) > timestamp)
|
|
892
|
-
continue;
|
|
893
|
-
lastIndex = index;
|
|
894
|
-
break;
|
|
895
|
-
}
|
|
896
|
-
included = lastIndex === -1 ? [] : this.#events.slice(0, lastIndex + 1);
|
|
897
|
-
} else {
|
|
898
|
-
const version = options.atVersion ?? this.version;
|
|
899
|
-
if (!Number.isInteger(version) || version < 0 || version > this.version)
|
|
900
|
-
throw new TypeError(`Relationship snapshot version out of range: ${version}`);
|
|
901
|
-
included = this.#events.slice(0, version);
|
|
902
|
-
}
|
|
903
|
-
const active = replayEvents(included);
|
|
904
|
-
const graph2 = new RelationshipGraph(this.#nodes, active.values(), this.#registry);
|
|
905
|
-
return Object.freeze({
|
|
906
|
-
version: included.length,
|
|
907
|
-
...included.at(-1) ? { asOf: included.at(-1).timestamp } : {},
|
|
908
|
-
edges: graph2.edges(),
|
|
909
|
-
graph: graph2
|
|
910
|
-
});
|
|
911
|
-
}
|
|
912
|
-
/** Page the immutable event stream with a cursor bound to this log version. */
|
|
913
|
-
page(options) {
|
|
914
|
-
if (!Number.isInteger(options.limit) || options.limit < 1)
|
|
915
|
-
throw new TypeError("Relationship event page limit must be positive");
|
|
916
|
-
const fingerprint = createQueryFingerprint("relationship-events", {
|
|
917
|
-
order: "append-sequence"
|
|
918
|
-
});
|
|
919
|
-
const snapshot = options.cursor === void 0 ? this.version : Number(decodeQueryCursorState(options.cursor, fingerprint).snapshot);
|
|
920
|
-
if (!Number.isSafeInteger(snapshot) || snapshot < 0 || snapshot > this.version)
|
|
921
|
-
throw new TypeError("Relationship event cursor snapshot version is invalid");
|
|
922
|
-
const page = paginateQueryRows(this.#events.slice(0, snapshot), {
|
|
923
|
-
cursor: options.cursor,
|
|
924
|
-
fingerprint,
|
|
925
|
-
limit: options.limit,
|
|
926
|
-
readId: (event) => event.eventId,
|
|
927
|
-
snapshot: String(snapshot)
|
|
928
|
-
});
|
|
929
|
-
return {
|
|
930
|
-
version: snapshot,
|
|
931
|
-
events: page.rows,
|
|
932
|
-
hasMore: page.has_more,
|
|
933
|
-
...page.next_cursor ? { nextCursor: page.next_cursor } : {}
|
|
934
|
-
};
|
|
935
|
-
}
|
|
936
|
-
};
|
|
937
|
-
var RELATIONSHIP_STORE_LOCK_ID = "relationship-event-store";
|
|
938
|
-
var RELATIONSHIP_NOFOLLOW_FLAG = constants.O_NOFOLLOW;
|
|
939
|
-
function acquireRelationshipStoreLock(pmRoot) {
|
|
940
|
-
return acquireLock(pmRoot, RELATIONSHIP_STORE_LOCK_ID, 30, `relationship-store:${process.pid}`, false, false, 3e3);
|
|
941
|
-
}
|
|
942
|
-
async function resolveRelationshipEventStorePath(pmRoot, relativePath = "relationships/events.jsonl") {
|
|
943
|
-
const root = path.resolve(pmRoot);
|
|
944
|
-
const target = path.resolve(root, relativePath);
|
|
945
|
-
const relative = path.relative(root, target);
|
|
946
|
-
if (relative.length === 0)
|
|
947
|
-
throw new TypeError("Relationship event path must name a file within the tracker root");
|
|
948
|
-
if (relative === ".." || relative.startsWith(`..${path.sep}`) || path.isAbsolute(relative))
|
|
949
|
-
throw new TypeError("Relationship event path must stay within the tracker root");
|
|
950
|
-
await mkdir(root, { recursive: true });
|
|
951
|
-
const rootStats = await lstat(root);
|
|
952
|
-
if (rootStats.isSymbolicLink())
|
|
953
|
-
throw new TypeError("Relationship event tracker root must not be a symbolic link");
|
|
954
|
-
let current = root;
|
|
955
|
-
for (const segment of relative.split(path.sep)) {
|
|
956
|
-
current = path.join(current, segment);
|
|
957
|
-
try {
|
|
958
|
-
if ((await lstat(current)).isSymbolicLink())
|
|
959
|
-
throw new TypeError("Relationship event path must not contain symbolic links");
|
|
960
|
-
} catch (error) {
|
|
961
|
-
if (error.code === "ENOENT")
|
|
962
|
-
break;
|
|
963
|
-
throw error;
|
|
964
|
-
}
|
|
965
|
-
}
|
|
966
|
-
return target;
|
|
967
|
-
}
|
|
968
|
-
async function loadRelationshipEventLog(target, nodes, registry) {
|
|
969
|
-
const log = new RelationshipEventLog(nodes, { registry });
|
|
970
|
-
let raw;
|
|
971
|
-
let handle;
|
|
972
|
-
try {
|
|
973
|
-
handle = await open(target, constants.O_RDONLY | RELATIONSHIP_NOFOLLOW_FLAG);
|
|
974
|
-
raw = await handle.readFile("utf8");
|
|
975
|
-
} catch (error) {
|
|
976
|
-
if (error.code === "ENOENT")
|
|
977
|
-
return log;
|
|
978
|
-
throw error;
|
|
979
|
-
} finally {
|
|
980
|
-
await handle?.close();
|
|
981
|
-
}
|
|
982
|
-
const lines = raw.split("\n");
|
|
983
|
-
for (let index = 0; index < lines.length; index += 1) {
|
|
984
|
-
const line = lines[index].trim();
|
|
985
|
-
if (!line)
|
|
986
|
-
continue;
|
|
987
|
-
let stored;
|
|
988
|
-
try {
|
|
989
|
-
stored = JSON.parse(line);
|
|
990
|
-
} catch {
|
|
991
|
-
throw new TypeError(`Invalid relationship event JSONL at line ${index + 1}`);
|
|
992
|
-
}
|
|
993
|
-
if (stored.sequence !== log.version + 1)
|
|
994
|
-
throw new TypeError(`Invalid relationship event sequence at line ${index + 1}`);
|
|
995
|
-
log.append({
|
|
996
|
-
eventId: stored.eventId,
|
|
997
|
-
relationshipId: stored.relationshipId,
|
|
998
|
-
action: stored.action,
|
|
999
|
-
...stored.edge === void 0 ? {} : { edge: stored.edge },
|
|
1000
|
-
author: stored.author,
|
|
1001
|
-
timestamp: stored.timestamp,
|
|
1002
|
-
...stored.reason === void 0 ? {} : { reason: stored.reason },
|
|
1003
|
-
expectedVersion: log.version
|
|
1004
|
-
});
|
|
1005
|
-
}
|
|
1006
|
-
return log;
|
|
1007
|
-
}
|
|
1008
|
-
var RelationshipEventStore = class _RelationshipEventStore {
|
|
1009
|
-
#pmRoot;
|
|
1010
|
-
#nodes;
|
|
1011
|
-
#registry;
|
|
1012
|
-
#path;
|
|
1013
|
-
#log;
|
|
1014
|
-
constructor(options, nodes, target, log) {
|
|
1015
|
-
this.#pmRoot = options.pmRoot;
|
|
1016
|
-
this.#nodes = nodes;
|
|
1017
|
-
this.#registry = options.registry;
|
|
1018
|
-
this.#path = target;
|
|
1019
|
-
this.#log = log;
|
|
1020
|
-
}
|
|
1021
|
-
/** Open and validate an existing stream or create an empty store view. */
|
|
1022
|
-
static async open(options) {
|
|
1023
|
-
const nodes = Object.freeze([...options.nodes]);
|
|
1024
|
-
const target = await resolveRelationshipEventStorePath(options.pmRoot, options.relativePath);
|
|
1025
|
-
const release2 = await acquireRelationshipStoreLock(options.pmRoot);
|
|
1026
|
-
try {
|
|
1027
|
-
await resolveRelationshipEventStorePath(options.pmRoot, target);
|
|
1028
|
-
const log = await loadRelationshipEventLog(target, nodes, options.registry);
|
|
1029
|
-
return new _RelationshipEventStore(options, nodes, target, log);
|
|
1030
|
-
} finally {
|
|
1031
|
-
await release2();
|
|
1032
|
-
}
|
|
1033
|
-
}
|
|
1034
|
-
/** Absolute JSONL path, exposed for diagnostics and backup tooling. */
|
|
1035
|
-
get path() {
|
|
1036
|
-
return this.#path;
|
|
1037
|
-
}
|
|
1038
|
-
/** Refresh from durable history and return the current validated append sequence. */
|
|
1039
|
-
async currentVersion() {
|
|
1040
|
-
this.#log = await this.#refreshFromDurableHistory();
|
|
1041
|
-
return this.#log.version;
|
|
1042
|
-
}
|
|
1043
|
-
/** Append one event after refreshing under the shared workspace lock. */
|
|
1044
|
-
async append(input) {
|
|
1045
|
-
const release2 = await acquireRelationshipStoreLock(this.#pmRoot);
|
|
1046
|
-
try {
|
|
1047
|
-
const target = await resolveRelationshipEventStorePath(this.#pmRoot, this.#path);
|
|
1048
|
-
const refreshed = await loadRelationshipEventLog(target, this.#nodes, this.#registry);
|
|
1049
|
-
const event = refreshed.append(input);
|
|
1050
|
-
await mkdir(path.dirname(target), { recursive: true });
|
|
1051
|
-
await resolveRelationshipEventStorePath(this.#pmRoot, target);
|
|
1052
|
-
const handle = await open(target, constants.O_APPEND | constants.O_CREAT | constants.O_WRONLY | RELATIONSHIP_NOFOLLOW_FLAG);
|
|
1053
|
-
try {
|
|
1054
|
-
await handle.appendFile(`${JSON.stringify(event)}
|
|
1055
|
-
`, "utf8");
|
|
1056
|
-
} finally {
|
|
1057
|
-
await handle.close();
|
|
1058
|
-
}
|
|
1059
|
-
this.#log = refreshed;
|
|
1060
|
-
return event;
|
|
1061
|
-
} finally {
|
|
1062
|
-
await release2();
|
|
1063
|
-
}
|
|
1064
|
-
}
|
|
1065
|
-
/** Refresh from durable history and materialize an exact validated snapshot. */
|
|
1066
|
-
async snapshot(options = {}) {
|
|
1067
|
-
this.#log = await this.#refreshFromDurableHistory();
|
|
1068
|
-
return this.#log.snapshot(options);
|
|
1069
|
-
}
|
|
1070
|
-
/** Refresh from durable history and page immutable events. */
|
|
1071
|
-
async page(options) {
|
|
1072
|
-
this.#log = await this.#refreshFromDurableHistory();
|
|
1073
|
-
return this.#log.page(options);
|
|
1074
|
-
}
|
|
1075
|
-
/** Serialize a durable refresh with writers so readers never observe a torn JSONL tail. */
|
|
1076
|
-
async #refreshFromDurableHistory() {
|
|
1077
|
-
const release2 = await acquireRelationshipStoreLock(this.#pmRoot);
|
|
1078
|
-
try {
|
|
1079
|
-
const target = await resolveRelationshipEventStorePath(this.#pmRoot, this.#path);
|
|
1080
|
-
return await loadRelationshipEventLog(target, this.#nodes, this.#registry);
|
|
1081
|
-
} finally {
|
|
1082
|
-
await release2();
|
|
1083
|
-
}
|
|
1084
|
-
}
|
|
1085
|
-
};
|
|
1086
|
-
|
|
1087
728
|
// dist/sdk/define.js
|
|
1088
729
|
!(function() {
|
|
1089
730
|
try {
|
|
@@ -1160,7 +801,7 @@ function defineOnIndexHook(hook) {
|
|
|
1160
801
|
!(function() {
|
|
1161
802
|
try {
|
|
1162
803
|
var e = "undefined" != typeof window ? window : "undefined" != typeof global ? global : "undefined" != typeof globalThis ? globalThis : "undefined" != typeof self ? self : {}, n = new e.Error().stack;
|
|
1163
|
-
n && (e._sentryDebugIds = e._sentryDebugIds || {}, e._sentryDebugIds[n] = "
|
|
804
|
+
n && (e._sentryDebugIds = e._sentryDebugIds || {}, e._sentryDebugIds[n] = "2457f02e-1af3-57cc-b0a9-7380895a5fcb");
|
|
1164
805
|
} catch (e2) {
|
|
1165
806
|
}
|
|
1166
807
|
})();
|
|
@@ -1334,11 +975,12 @@ export {
|
|
|
1334
975
|
UPDATE_MANY_FLAG_CONTRACTS,
|
|
1335
976
|
UPGRADE_FLAG_CONTRACTS,
|
|
1336
977
|
WorkspaceGraphCache,
|
|
1337
|
-
|
|
978
|
+
WorkspaceTransactionInterruptedError,
|
|
979
|
+
_testOnly,
|
|
1338
980
|
_testOnlyConfigCommand,
|
|
1339
981
|
_testOnlyHealthCommand,
|
|
1340
|
-
|
|
1341
|
-
|
|
982
|
+
_testOnly3 as _testOnlyInit,
|
|
983
|
+
_testOnly2 as _testOnlyInitAgentGuidance,
|
|
1342
984
|
_testOnly4 as _testOnlyTemplates,
|
|
1343
985
|
_testOnlyValidateCommand,
|
|
1344
986
|
acquireLock,
|
|
@@ -1402,10 +1044,12 @@ export {
|
|
|
1402
1044
|
collectDependencyBlockedIds,
|
|
1403
1045
|
collectDuplicateRelationshipEdgeGroups,
|
|
1404
1046
|
collectMissingDependencyTargetIds,
|
|
1047
|
+
collectNewOrderingCycleWarnings,
|
|
1405
1048
|
collectPackageExtensionDirectories,
|
|
1406
1049
|
collectUsedExtensionCapabilities,
|
|
1407
1050
|
comments,
|
|
1408
1051
|
commitImportedItem,
|
|
1052
|
+
commitWorkspaceTransaction,
|
|
1409
1053
|
compactFlagAliasContracts,
|
|
1410
1054
|
compareRelationshipSnapshots,
|
|
1411
1055
|
composeExtension,
|
|
@@ -1458,9 +1102,11 @@ export {
|
|
|
1458
1102
|
deriveExtensionCapabilities,
|
|
1459
1103
|
describeExtensionActivation,
|
|
1460
1104
|
describeExtensionBlueprint,
|
|
1105
|
+
describeItemOwnershipConflict,
|
|
1461
1106
|
describeProfileComposition,
|
|
1462
1107
|
describeProjectProfile,
|
|
1463
1108
|
detectRelationshipCommunities,
|
|
1109
|
+
discoverNearbyPmRoot,
|
|
1464
1110
|
docs,
|
|
1465
1111
|
effectiveItemFormatVersion,
|
|
1466
1112
|
emptyImportedDocument,
|