@namzu/cli 59.0.0 → 60.0.0
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 +15 -0
- package/README.md +1 -1
- package/dist/bin.js +1 -1
- package/dist/chunks/{acp-AQUZCZSO.js → acp-QLIZHXKX.js} +70 -70
- package/dist/chunks/acp-QLIZHXKX.js.map +6 -0
- package/dist/chunks/{activity-command-Y3A6GIFW.js → activity-command-IVAID3QG.js} +14 -14
- package/dist/chunks/{add-DWFKSOYI.js → add-W4VXIXR3.js} +21 -21
- package/dist/chunks/{agent-Z6PJYBAO.js → agent-3VVUFK46.js} +50 -50
- package/dist/chunks/agent-session-TXDHPZJX.js +92 -0
- package/dist/chunks/{apply-at-exit-SHGR2BAB.js → apply-at-exit-UW5DQZED.js} +7 -7
- package/dist/chunks/{archive-KYXU4AZZ.js → archive-VGG3TNKD.js} +12 -12
- package/dist/chunks/{auth-R3RCZZ7U.js → auth-XUAD35SY.js} +12 -12
- package/dist/chunks/{bin-main-DUZFYUCJ.js → bin-main-3A5QPUJN.js} +8 -8
- package/dist/chunks/{binding-5UJYMFMU.js → binding-743KPSRO.js} +3 -3
- package/dist/chunks/{browser-7CFZ6BZS.js → browser-Y6PS3RBO.js} +7 -7
- package/dist/chunks/{chat-BELD32ZP.js → chat-P3OKHK34.js} +17 -17
- package/dist/chunks/{chunk-MDBUSIPW.js → chunk-24PN4KZ7.js} +5 -5
- package/dist/chunks/{chunk-UFGLSUGU.js → chunk-2CP6CJXJ.js} +19 -19
- package/dist/chunks/{chunk-2KC52MDS.js → chunk-2ED34AXP.js} +2 -2
- package/dist/chunks/{chunk-J5E4DV6R.js → chunk-2FP2UHZO.js} +3 -3
- package/dist/chunks/{chunk-O2PZDA5H.js → chunk-2MEBOBOM.js} +3 -3
- package/dist/chunks/{chunk-OA7QKUCM.js → chunk-2P427DDU.js} +10 -10
- package/dist/chunks/{chunk-VJHENTNB.js → chunk-2PEIKBGP.js} +2 -2
- package/dist/chunks/{chunk-TYNAB5GR.js → chunk-2X53RSPY.js} +2 -2
- package/dist/chunks/{chunk-4RW7GDJ4.js → chunk-3533PAJJ.js} +2 -2
- package/dist/chunks/{chunk-P4TCLMD6.js → chunk-37S6BVTN.js} +2 -2
- package/dist/chunks/{chunk-TP7DRQXE.js → chunk-3APHAS77.js} +6 -6
- package/dist/chunks/{chunk-D35UCVTK.js → chunk-3JCHJOU3.js} +5 -5
- package/dist/chunks/{chunk-DKSFQRUM.js → chunk-3P5TQ3VZ.js} +5 -5
- package/dist/chunks/{chunk-ESIICAI3.js → chunk-44V3FNMT.js} +3 -3
- package/dist/chunks/{chunk-CNSKJ3DZ.js → chunk-4FMBST2N.js} +2 -2
- package/dist/chunks/{chunk-3ETXWTV4.js → chunk-4KRQ6EWL.js} +8 -8
- package/dist/chunks/{chunk-FMQCPAKR.js → chunk-4YUR4SIL.js} +3 -3
- package/dist/chunks/{chunk-KPOOM7QT.js → chunk-52T26DYZ.js} +4 -4
- package/dist/chunks/{chunk-W752G3FM.js → chunk-5Y455HIT.js} +3 -3
- package/dist/chunks/{chunk-CQFWLYTK.js → chunk-6V6MRHZZ.js} +2 -2
- package/dist/chunks/{chunk-KHGY6QJR.js → chunk-7MC2ACNB.js} +40 -6
- package/dist/chunks/chunk-7MC2ACNB.js.map +6 -0
- package/dist/chunks/{chunk-FEOS7UZ2.js → chunk-7PD3LHIR.js} +2 -2
- package/dist/chunks/{chunk-SSPHAILP.js → chunk-7XLZPKOT.js} +2 -2
- package/dist/chunks/{chunk-4TIUY3Q6.js → chunk-ATL46ZCR.js} +36 -14
- package/dist/chunks/{chunk-4TIUY3Q6.js.map → chunk-ATL46ZCR.js.map} +1 -1
- package/dist/chunks/{chunk-OSC47PCX.js → chunk-AXCSETAX.js} +13 -7
- package/dist/chunks/{chunk-OSC47PCX.js.map → chunk-AXCSETAX.js.map} +1 -1
- package/dist/chunks/{chunk-JPM3JXZB.js → chunk-BBBFPJV3.js} +3 -3
- package/dist/chunks/{chunk-LB4HC5U7.js → chunk-BBBVDHRH.js} +3 -3
- package/dist/chunks/{chunk-73HWWJYC.js → chunk-BJWJPQ66.js} +2 -2
- package/dist/chunks/{chunk-XJALHM5Z.js → chunk-CKMF72VE.js} +3 -3
- package/dist/chunks/{chunk-7LDUPEXP.js → chunk-CQNVNHRL.js} +2 -2
- package/dist/chunks/{chunk-AEXGGJUW.js → chunk-D3OHAYMX.js} +5 -5
- package/dist/chunks/{chunk-DGYMR4WJ.js → chunk-D5ORLKON.js} +4 -4
- package/dist/chunks/{chunk-KVNL7XA6.js → chunk-DFOULHWV.js} +3 -3
- package/dist/chunks/{chunk-WGC5DJEW.js → chunk-DHQJRU7E.js} +3 -3
- package/dist/chunks/{chunk-6YXHH5JW.js → chunk-DLMDCCO7.js} +2 -2
- package/dist/chunks/{chunk-MF57EX7H.js → chunk-E5GQTEDW.js} +3 -3
- package/dist/chunks/{chunk-P725GKKG.js → chunk-EN2E63G6.js} +6 -6
- package/dist/chunks/{chunk-JRWUIW4J.js → chunk-ESLOAQRL.js} +2 -2
- package/dist/chunks/{chunk-DJTCZSSY.js → chunk-EVJKQAZM.js} +2 -2
- package/dist/chunks/{chunk-RZKIZTPA.js → chunk-EYF7VILP.js} +2 -2
- package/dist/chunks/{chunk-OOJP5BEK.js → chunk-F6YNTG3K.js} +38 -16
- package/dist/chunks/{chunk-OOJP5BEK.js.map → chunk-F6YNTG3K.js.map} +1 -1
- package/dist/chunks/{chunk-CEZW3NVM.js → chunk-FISBMAF4.js} +4 -4
- package/dist/chunks/{chunk-QTHG6UPU.js → chunk-FOS5YJED.js} +2 -2
- package/dist/chunks/{chunk-CG5CGXNF.js → chunk-FQ3DUX7L.js} +2 -2
- package/dist/chunks/{chunk-XVOPQCPD.js → chunk-G4XSQIFF.js} +2 -2
- package/dist/chunks/{chunk-AIQKSTVJ.js → chunk-G52WH6JI.js} +4 -4
- package/dist/chunks/{chunk-HW2QBNAA.js → chunk-GRCEOMSP.js} +13 -13
- package/dist/chunks/{chunk-PKFXIWVX.js → chunk-GVHUHRGI.js} +4 -4
- package/dist/chunks/{chunk-WSDZIJNK.js → chunk-HA46XY4I.js} +4 -4
- package/dist/chunks/{chunk-OH7EYW3T.js → chunk-HAIG4TLP.js} +6 -6
- package/dist/chunks/{chunk-WXYRLTRY.js → chunk-HNSJJXIO.js} +3 -3
- package/dist/chunks/{chunk-D6XZ4ZAV.js → chunk-HT6A5LCI.js} +4 -4
- package/dist/chunks/{chunk-2EVP6BX4.js → chunk-IGZGAC75.js} +2 -2
- package/dist/chunks/{chunk-5JVKE4LB.js → chunk-IOTYZLY5.js} +181 -118
- package/dist/chunks/chunk-IOTYZLY5.js.map +6 -0
- package/dist/chunks/{chunk-MRZHTIE7.js → chunk-ITFIXESL.js} +4 -4
- package/dist/chunks/{chunk-QZTTIL3A.js → chunk-IXJ6A2XE.js} +3 -3
- package/dist/chunks/{chunk-G5LPTLLY.js → chunk-J2AH4QK4.js} +3 -3
- package/dist/chunks/{chunk-FK5C7SHM.js → chunk-JAPP6DFJ.js} +16 -93
- package/dist/chunks/chunk-JAPP6DFJ.js.map +6 -0
- package/dist/chunks/{chunk-UL6MZ5OM.js → chunk-JARQ4I4Q.js} +9 -9
- package/dist/chunks/{chunk-WW3AU2YN.js → chunk-JCK6FM7F.js} +2 -2
- package/dist/chunks/{chunk-ABKURT35.js → chunk-JR66BLKY.js} +3 -3
- package/dist/chunks/{chunk-LXJW3ZYI.js → chunk-K4APHATW.js} +2 -2
- package/dist/chunks/{chunk-YNWPC3HO.js → chunk-KBIVQ5RH.js} +5 -5
- package/dist/chunks/{chunk-PFVYYH6O.js → chunk-L7DZ2QPD.js} +2 -2
- package/dist/chunks/{chunk-FRGOWO6N.js → chunk-LGUIDOA7.js} +13 -12
- package/dist/chunks/chunk-LGUIDOA7.js.map +6 -0
- package/dist/chunks/{chunk-3PH6F6Z3.js → chunk-LONNSCMP.js} +2 -2
- package/dist/chunks/{chunk-HGTOAMV6.js → chunk-LQFUO2RZ.js} +1987 -709
- package/dist/chunks/chunk-LQFUO2RZ.js.map +6 -0
- package/dist/chunks/{chunk-ACO3LTRT.js → chunk-M4LHZRTX.js} +3 -3
- package/dist/chunks/{chunk-567CSU37.js → chunk-MN3CC4AF.js} +8 -8
- package/dist/chunks/{chunk-LWJJDERP.js → chunk-MXLAVYBS.js} +2 -2
- package/dist/chunks/{chunk-TRRKG642.js → chunk-NCPOOJD4.js} +3 -3
- package/dist/chunks/{chunk-ATCVFWXD.js → chunk-NIHIVQJS.js} +38 -38
- package/dist/chunks/{chunk-7Y4RR47U.js → chunk-OK3QKISP.js} +5 -5
- package/dist/chunks/{chunk-IJ6Z6FNY.js → chunk-ONVEH4H7.js} +3 -3
- package/dist/chunks/{chunk-E6FMAE5Q.js → chunk-OOIVZ5PA.js} +9 -9
- package/dist/chunks/{chunk-ZQGCZYAE.js → chunk-OTNW5ZO6.js} +2 -2
- package/dist/chunks/{chunk-G76POTWW.js → chunk-OVJOSPJ5.js} +3 -3
- package/dist/chunks/{chunk-S7FE35WQ.js → chunk-P2PWTXHD.js} +3 -3
- package/dist/chunks/{chunk-GEVWZWLM.js → chunk-PGD2EYI7.js} +3 -3
- package/dist/chunks/{chunk-DJKWBSVM.js → chunk-PIUHVCR3.js} +2 -2
- package/dist/chunks/{chunk-JUDJGDYX.js → chunk-QFJ5IWYL.js} +3 -3
- package/dist/chunks/{chunk-DRWJTADQ.js → chunk-QI6XNUH6.js} +4 -4
- package/dist/chunks/{chunk-4TJ7AGQO.js → chunk-QUUDXDDL.js} +2 -2
- package/dist/chunks/{chunk-7J23SPSX.js → chunk-R2TBZK62.js} +8 -7
- package/dist/chunks/{chunk-SS6IJAPA.js → chunk-R6WB34IP.js} +2 -2
- package/dist/chunks/{chunk-XLXPPVUT.js → chunk-RE5EUO3F.js} +2 -2
- package/dist/chunks/{chunk-D3SCA6NT.js → chunk-RYV4P5CO.js} +5 -5
- package/dist/chunks/{chunk-2VP2Q657.js → chunk-S5GKG5GV.js} +3 -3
- package/dist/chunks/{chunk-6IOZY2AB.js → chunk-S6LFXBVK.js} +36 -14
- package/dist/chunks/chunk-S6LFXBVK.js.map +6 -0
- package/dist/chunks/{chunk-KETRBV2E.js → chunk-SNKDM7FT.js} +2 -2
- package/dist/chunks/{chunk-VE4XIWDW.js → chunk-SR4DQPOI.js} +2 -2
- package/dist/chunks/{chunk-6CSJRIUZ.js → chunk-TFOFFJNY.js} +2 -2
- package/dist/chunks/{chunk-PQT7624W.js → chunk-TN7MDKW2.js} +8 -8
- package/dist/chunks/{chunk-TORIEDBN.js → chunk-TSHMH45O.js} +4 -4
- package/dist/chunks/{chunk-E65IWYTT.js → chunk-TYD5K7MT.js} +6 -6
- package/dist/chunks/{chunk-KBLYZ7L7.js → chunk-UCDXXMAD.js} +3 -3
- package/dist/chunks/{chunk-5HMJ3DYR.js → chunk-UI3ELYQU.js} +4 -4
- package/dist/chunks/{chunk-IRAG3YXW.js → chunk-ULJAPIOG.js} +3 -3
- package/dist/chunks/{chunk-VL6Z2OMG.js → chunk-VJFBRQZ4.js} +2 -2
- package/dist/chunks/{chunk-24EZWZDZ.js → chunk-VUKFKBOO.js} +6 -6
- package/dist/chunks/{chunk-4BAXYUZQ.js → chunk-WWMSEDXA.js} +5 -5
- package/dist/chunks/{chunk-MF5KTVGJ.js → chunk-XAMOWP2G.js} +7 -7
- package/dist/chunks/{chunk-Q6PZODSV.js → chunk-XIBT7TAZ.js} +4 -4
- package/dist/chunks/{chunk-VSNV3U2B.js → chunk-XLWFT4QC.js} +5 -5
- package/dist/chunks/{chunk-GUK47JTV.js → chunk-XNALFKQ2.js} +4 -4
- package/dist/chunks/{chunk-OQWLQUO7.js → chunk-XS6GGF4E.js} +176 -58
- package/dist/chunks/{chunk-OQWLQUO7.js.map → chunk-XS6GGF4E.js.map} +3 -3
- package/dist/chunks/{chunk-3RLKUXXG.js → chunk-XVML5P53.js} +15 -15
- package/dist/chunks/{chunk-JZTTOZRG.js → chunk-YHFKTEU6.js} +2 -2
- package/dist/chunks/{chunk-44MFZJ24.js → chunk-YMVJOKBZ.js} +2 -2
- package/dist/chunks/{chunk-W4S4ZBXX.js → chunk-YWBOZNDX.js} +11 -11
- package/dist/chunks/{chunk-23D5IXMW.js → chunk-ZFEDNTIB.js} +3 -3
- package/dist/chunks/{chunk-MDVYEFTI.js → chunk-ZHRBJT5B.js} +2 -2
- package/dist/chunks/{chunk-E4RVHFV6.js → chunk-ZPWWUTSR.js} +2 -2
- package/dist/chunks/{chunk-EA6YICQ7.js → chunk-ZX5C2ELY.js} +3 -3
- package/dist/chunks/{chunk-GQ6WXY3M.js → chunk-ZY7N242I.js} +4 -4
- package/dist/chunks/{cli-runtime-P6LCHPBA.js → cli-runtime-SL6YG4EX.js} +22 -22
- package/dist/chunks/{commands-BNHIQVYO.js → commands-XRQOUFRE.js} +6 -6
- package/dist/chunks/{config-ZMXMX2WY.js → config-W3ABQG5K.js} +12 -12
- package/dist/chunks/{cost-BJKADKEZ.js → cost-ZKKW4JSZ.js} +5 -5
- package/dist/chunks/{crash-report-OJHGVRD7.js → crash-report-Q2WAKIU5.js} +6 -6
- package/dist/chunks/{dist-NCBDELMI.js → dist-IPR6EVQM.js} +2 -2
- package/dist/chunks/{dist-PMSBTFU5.js → dist-JY4FIVBZ.js} +2 -2
- package/dist/chunks/{dist-43XWK3LF.js → dist-O2QP5QCU.js} +2 -2
- package/dist/chunks/{dist-4ZPDHZOX.js → dist-OXSKWJNB.js} +6 -2
- package/dist/chunks/{dist-4LEGETQA.js → dist-R4PUUPXV.js} +3 -3
- package/dist/chunks/{dist-ADQAO5C3.js → dist-VT4VSQTO.js} +2 -2
- package/dist/chunks/{dist-BGJEX527.js → dist-WI7EX7ZF.js} +2 -2
- package/dist/chunks/{dist-FMFNU4M3.js → dist-YE6ADUZP.js} +2 -2
- package/dist/chunks/{doctor-AIYB27QY.js → doctor-EUH7WGN6.js} +38 -38
- package/dist/chunks/{drain-PYKX4QNR.js → drain-3DDY42KQ.js} +17 -17
- package/dist/chunks/{entry-HM5E7KCD.js → entry-FNHGVOQM.js} +6 -6
- package/dist/chunks/{eval-H4NKZYVV.js → eval-CFKAWR3B.js} +9 -9
- package/dist/chunks/{exec-2PRVZNUX.js → exec-BR6L3C3T.js} +45 -45
- package/dist/chunks/{extension-4233XOZW.js → extension-4VR722KH.js} +5 -5
- package/dist/chunks/{home-AZY7APF6.js → home-JCDINY64.js} +3 -3
- package/dist/chunks/{homes-WL6LAAY5.js → homes-53P37RPB.js} +5 -5
- package/dist/chunks/{hooks-AK5S4YUS.js → hooks-6EV4IEHU.js} +21 -21
- package/dist/chunks/{hooks-report-NJLGBWN3.js → hooks-report-OK5PIOSF.js} +17 -17
- package/dist/chunks/{host-SX3QC5FN.js → host-KF63UW3T.js} +10 -10
- package/dist/chunks/host-queries-5ZWYD4VD.js +37 -0
- package/dist/chunks/{installed-list-44QXUJFE.js → installed-list-QLVA6XBV.js} +4 -4
- package/dist/chunks/{learn-LW4DLSGZ.js → learn-XNVRCNGV.js} +17 -17
- package/dist/chunks/{learn-builtin-4RV2XDH4.js → learn-builtin-XABWBGRU.js} +20 -20
- package/dist/chunks/{lifecycle-AJCHTSAF.js → lifecycle-K7REDQBN.js} +30 -30
- package/dist/chunks/{list-DT7AJVPX.js → list-US5UDLON.js} +18 -18
- package/dist/chunks/{live-Z6HZFXPW.js → live-DNA4UB2B.js} +37 -37
- package/dist/chunks/{load-454TJBPW.js → load-2WCYASMC.js} +9 -9
- package/dist/chunks/{logs-GRUSUSL7.js → logs-ZF7YJNOC.js} +4 -4
- package/dist/chunks/{mcp-AFLRDYNN.js → mcp-FBJXQJ6I.js} +21 -21
- package/dist/chunks/{mcp-serve-NNWP4IES.js → mcp-serve-TTZ33VMY.js} +17 -17
- package/dist/chunks/{message-command-ZR2JQBBU.js → message-command-FMT4APFA.js} +56 -56
- package/dist/chunks/{open-Z3BELFL7.js → open-I4YKGQSW.js} +7 -7
- package/dist/chunks/{operator-tools-PN3SPQ3C.js → operator-tools-FC5JFH42.js} +15 -15
- package/dist/chunks/{output-schema-DSR56W6A.js → output-schema-KMYL2UB6.js} +3 -3
- package/dist/chunks/{pal-ZOH5ILEV.js → pal-UZFR42OY.js} +15 -15
- package/dist/chunks/{peers-LXNB4QSL.js → peers-NM5HJGSR.js} +7 -7
- package/dist/chunks/{peers-WINODTEB.js → peers-V7XCJUFZ.js} +19 -19
- package/dist/chunks/{plugin-MLHZ42NZ.js → plugin-UEPWXCB4.js} +17 -17
- package/dist/chunks/{providers-UOTUEQOJ.js → providers-BQ25F6LA.js} +17 -17
- package/dist/chunks/{providers-AVECY67I.js → providers-VS37WA3E.js} +10 -10
- package/dist/chunks/{pty-GW2YC23H.js → pty-NWEV3DSP.js} +3 -3
- package/dist/chunks/resume-Y7P3TAVG.js +25 -0
- package/dist/chunks/{resume-command-FXT3KGLC.js → resume-command-KEXAVL6P.js} +4 -4
- package/dist/chunks/{running-3NLAODZ7.js → running-JLMG6IL4.js} +4 -4
- package/dist/chunks/{schedule-TTQUT45H.js → schedule-6ERJJOA3.js} +12 -12
- package/dist/chunks/{send-FRNTRW2M.js → send-UXJ7GXKN.js} +19 -19
- package/dist/chunks/send-person-DLJU45IU.js +32 -0
- package/dist/chunks/{service-TCKPUGL5.js → service-NYJZCLH2.js} +30 -30
- package/dist/chunks/{setting-cli-HGYOIGC6.js → setting-cli-ILFKSR4D.js} +12 -12
- package/dist/chunks/{skills-ICVGYWBH.js → skills-4HM2LPS4.js} +25 -25
- package/dist/chunks/{skills-ICVGYWBH.js.map → skills-4HM2LPS4.js.map} +1 -1
- package/dist/chunks/{start-check-C5VJXVPY.js → start-check-7GBRCGVJ.js} +2 -2
- package/dist/chunks/{startup-failure-YQSEQRNQ.js → startup-failure-UA32GGJB.js} +2 -2
- package/dist/chunks/{state-2DBTSDEP.js → state-SSRHEX5K.js} +19 -19
- package/dist/chunks/{store-CZGKLVTT.js → store-2GFZ5XXW.js} +12 -12
- package/dist/chunks/{store-S4BT3ESJ.js → store-MP5EB266.js} +3 -3
- package/dist/chunks/{store-RJZCW2MI.js → store-ROR7VTZ2.js} +8 -8
- package/dist/chunks/{store-JJKCDY7Y.js → store-WRRTTRBT.js} +10 -4
- package/dist/chunks/{tui-Q7ED7VFI.js → tui-2JTNW2G7.js} +92 -92
- package/dist/chunks/{update-G7D3YCH5.js → update-32IRH5TG.js} +8 -8
- package/dist/chunks/{watch-EON3IWRY.js → watch-PXPP5QXP.js} +96 -96
- package/dist/chunks/{workspaces-O6S2OTDL.js → workspaces-4YXZSENL.js} +15 -15
- package/dist/chunks/{worktree-A2DNXLOT.js → worktree-DJHBLFHZ.js} +21 -21
- package/dist/config/hooks-report.d.ts.map +1 -1
- package/dist/config/load.d.ts.map +1 -1
- package/dist/config/schema.d.ts +12 -0
- package/dist/config/schema.d.ts.map +1 -1
- package/dist/config/settings-descriptors.d.ts.map +1 -1
- package/dist/index.js +38 -38
- package/dist/reminders/skills.d.ts.map +1 -1
- package/dist/skills/catalog.d.ts +14 -1
- package/dist/skills/catalog.d.ts.map +1 -1
- package/dist/skills/installed-list.d.ts +1 -1
- package/dist/skills/installed-list.d.ts.map +1 -1
- package/dist/skills/overrides.d.ts +56 -0
- package/dist/skills/overrides.d.ts.map +1 -0
- package/dist/skills/save.d.ts +2 -21
- package/dist/skills/save.d.ts.map +1 -1
- package/dist/skills/store.d.ts +20 -3
- package/dist/skills/store.d.ts.map +1 -1
- package/dist/skills/usage.d.ts +54 -0
- package/dist/skills/usage.d.ts.map +1 -0
- package/dist/tui/App.d.ts +10 -15
- package/dist/tui/App.d.ts.map +1 -1
- package/dist/tui/PluginScreen.d.ts +17 -0
- package/dist/tui/PluginScreen.d.ts.map +1 -0
- package/dist/tui/SaveSkillOverlay.d.ts +8 -0
- package/dist/tui/SaveSkillOverlay.d.ts.map +1 -1
- package/dist/tui/SkillsManager.d.ts +9 -0
- package/dist/tui/SkillsManager.d.ts.map +1 -0
- package/dist/tui/agent.d.ts +6 -0
- package/dist/tui/agent.d.ts.map +1 -1
- package/dist/tui/plugin-screen.d.ts +243 -0
- package/dist/tui/plugin-screen.d.ts.map +1 -0
- package/dist/tui/plugin-view.d.ts +4 -0
- package/dist/tui/plugin-view.d.ts.map +1 -1
- package/dist/tui/skills/suggest-setting.d.ts +3 -3
- package/dist/tui/skills-manager.d.ts +145 -0
- package/dist/tui/skills-manager.d.ts.map +1 -0
- package/dist/tui/slashCommands.d.ts +1 -1
- package/dist/tui/slashCommands.d.ts.map +1 -1
- package/package.json +3 -3
- package/skills/skill-creator/SKILL.md +2 -2
- package/dist/chunks/acp-AQUZCZSO.js.map +0 -6
- package/dist/chunks/agent-session-WXWW7E5M.js +0 -92
- package/dist/chunks/chunk-5JVKE4LB.js.map +0 -6
- package/dist/chunks/chunk-6IOZY2AB.js.map +0 -6
- package/dist/chunks/chunk-FK5C7SHM.js.map +0 -6
- package/dist/chunks/chunk-FRGOWO6N.js.map +0 -6
- package/dist/chunks/chunk-HGTOAMV6.js.map +0 -6
- package/dist/chunks/chunk-KHGY6QJR.js.map +0 -6
- package/dist/chunks/host-queries-HBW7AW44.js +0 -37
- package/dist/chunks/resume-AYWSKWEX.js +0 -25
- package/dist/chunks/send-person-57F5RJA7.js +0 -32
- /package/dist/chunks/{activity-command-Y3A6GIFW.js.map → activity-command-IVAID3QG.js.map} +0 -0
- /package/dist/chunks/{add-DWFKSOYI.js.map → add-W4VXIXR3.js.map} +0 -0
- /package/dist/chunks/{agent-Z6PJYBAO.js.map → agent-3VVUFK46.js.map} +0 -0
- /package/dist/chunks/{agent-session-WXWW7E5M.js.map → agent-session-TXDHPZJX.js.map} +0 -0
- /package/dist/chunks/{apply-at-exit-SHGR2BAB.js.map → apply-at-exit-UW5DQZED.js.map} +0 -0
- /package/dist/chunks/{archive-KYXU4AZZ.js.map → archive-VGG3TNKD.js.map} +0 -0
- /package/dist/chunks/{auth-R3RCZZ7U.js.map → auth-XUAD35SY.js.map} +0 -0
- /package/dist/chunks/{bin-main-DUZFYUCJ.js.map → bin-main-3A5QPUJN.js.map} +0 -0
- /package/dist/chunks/{binding-5UJYMFMU.js.map → binding-743KPSRO.js.map} +0 -0
- /package/dist/chunks/{browser-7CFZ6BZS.js.map → browser-Y6PS3RBO.js.map} +0 -0
- /package/dist/chunks/{chat-BELD32ZP.js.map → chat-P3OKHK34.js.map} +0 -0
- /package/dist/chunks/{chunk-MDBUSIPW.js.map → chunk-24PN4KZ7.js.map} +0 -0
- /package/dist/chunks/{chunk-UFGLSUGU.js.map → chunk-2CP6CJXJ.js.map} +0 -0
- /package/dist/chunks/{chunk-2KC52MDS.js.map → chunk-2ED34AXP.js.map} +0 -0
- /package/dist/chunks/{chunk-J5E4DV6R.js.map → chunk-2FP2UHZO.js.map} +0 -0
- /package/dist/chunks/{chunk-O2PZDA5H.js.map → chunk-2MEBOBOM.js.map} +0 -0
- /package/dist/chunks/{chunk-OA7QKUCM.js.map → chunk-2P427DDU.js.map} +0 -0
- /package/dist/chunks/{chunk-VJHENTNB.js.map → chunk-2PEIKBGP.js.map} +0 -0
- /package/dist/chunks/{chunk-TYNAB5GR.js.map → chunk-2X53RSPY.js.map} +0 -0
- /package/dist/chunks/{chunk-4RW7GDJ4.js.map → chunk-3533PAJJ.js.map} +0 -0
- /package/dist/chunks/{chunk-P4TCLMD6.js.map → chunk-37S6BVTN.js.map} +0 -0
- /package/dist/chunks/{chunk-TP7DRQXE.js.map → chunk-3APHAS77.js.map} +0 -0
- /package/dist/chunks/{chunk-D35UCVTK.js.map → chunk-3JCHJOU3.js.map} +0 -0
- /package/dist/chunks/{chunk-DKSFQRUM.js.map → chunk-3P5TQ3VZ.js.map} +0 -0
- /package/dist/chunks/{chunk-ESIICAI3.js.map → chunk-44V3FNMT.js.map} +0 -0
- /package/dist/chunks/{chunk-CNSKJ3DZ.js.map → chunk-4FMBST2N.js.map} +0 -0
- /package/dist/chunks/{chunk-3ETXWTV4.js.map → chunk-4KRQ6EWL.js.map} +0 -0
- /package/dist/chunks/{chunk-FMQCPAKR.js.map → chunk-4YUR4SIL.js.map} +0 -0
- /package/dist/chunks/{chunk-KPOOM7QT.js.map → chunk-52T26DYZ.js.map} +0 -0
- /package/dist/chunks/{chunk-W752G3FM.js.map → chunk-5Y455HIT.js.map} +0 -0
- /package/dist/chunks/{chunk-CQFWLYTK.js.map → chunk-6V6MRHZZ.js.map} +0 -0
- /package/dist/chunks/{chunk-FEOS7UZ2.js.map → chunk-7PD3LHIR.js.map} +0 -0
- /package/dist/chunks/{chunk-SSPHAILP.js.map → chunk-7XLZPKOT.js.map} +0 -0
- /package/dist/chunks/{chunk-JPM3JXZB.js.map → chunk-BBBFPJV3.js.map} +0 -0
- /package/dist/chunks/{chunk-LB4HC5U7.js.map → chunk-BBBVDHRH.js.map} +0 -0
- /package/dist/chunks/{chunk-73HWWJYC.js.map → chunk-BJWJPQ66.js.map} +0 -0
- /package/dist/chunks/{chunk-XJALHM5Z.js.map → chunk-CKMF72VE.js.map} +0 -0
- /package/dist/chunks/{chunk-7LDUPEXP.js.map → chunk-CQNVNHRL.js.map} +0 -0
- /package/dist/chunks/{chunk-AEXGGJUW.js.map → chunk-D3OHAYMX.js.map} +0 -0
- /package/dist/chunks/{chunk-DGYMR4WJ.js.map → chunk-D5ORLKON.js.map} +0 -0
- /package/dist/chunks/{chunk-KVNL7XA6.js.map → chunk-DFOULHWV.js.map} +0 -0
- /package/dist/chunks/{chunk-WGC5DJEW.js.map → chunk-DHQJRU7E.js.map} +0 -0
- /package/dist/chunks/{chunk-6YXHH5JW.js.map → chunk-DLMDCCO7.js.map} +0 -0
- /package/dist/chunks/{chunk-MF57EX7H.js.map → chunk-E5GQTEDW.js.map} +0 -0
- /package/dist/chunks/{chunk-P725GKKG.js.map → chunk-EN2E63G6.js.map} +0 -0
- /package/dist/chunks/{chunk-JRWUIW4J.js.map → chunk-ESLOAQRL.js.map} +0 -0
- /package/dist/chunks/{chunk-DJTCZSSY.js.map → chunk-EVJKQAZM.js.map} +0 -0
- /package/dist/chunks/{chunk-RZKIZTPA.js.map → chunk-EYF7VILP.js.map} +0 -0
- /package/dist/chunks/{chunk-CEZW3NVM.js.map → chunk-FISBMAF4.js.map} +0 -0
- /package/dist/chunks/{chunk-QTHG6UPU.js.map → chunk-FOS5YJED.js.map} +0 -0
- /package/dist/chunks/{chunk-CG5CGXNF.js.map → chunk-FQ3DUX7L.js.map} +0 -0
- /package/dist/chunks/{chunk-XVOPQCPD.js.map → chunk-G4XSQIFF.js.map} +0 -0
- /package/dist/chunks/{chunk-AIQKSTVJ.js.map → chunk-G52WH6JI.js.map} +0 -0
- /package/dist/chunks/{chunk-HW2QBNAA.js.map → chunk-GRCEOMSP.js.map} +0 -0
- /package/dist/chunks/{chunk-PKFXIWVX.js.map → chunk-GVHUHRGI.js.map} +0 -0
- /package/dist/chunks/{chunk-WSDZIJNK.js.map → chunk-HA46XY4I.js.map} +0 -0
- /package/dist/chunks/{chunk-OH7EYW3T.js.map → chunk-HAIG4TLP.js.map} +0 -0
- /package/dist/chunks/{chunk-WXYRLTRY.js.map → chunk-HNSJJXIO.js.map} +0 -0
- /package/dist/chunks/{chunk-D6XZ4ZAV.js.map → chunk-HT6A5LCI.js.map} +0 -0
- /package/dist/chunks/{chunk-2EVP6BX4.js.map → chunk-IGZGAC75.js.map} +0 -0
- /package/dist/chunks/{chunk-MRZHTIE7.js.map → chunk-ITFIXESL.js.map} +0 -0
- /package/dist/chunks/{chunk-QZTTIL3A.js.map → chunk-IXJ6A2XE.js.map} +0 -0
- /package/dist/chunks/{chunk-G5LPTLLY.js.map → chunk-J2AH4QK4.js.map} +0 -0
- /package/dist/chunks/{chunk-UL6MZ5OM.js.map → chunk-JARQ4I4Q.js.map} +0 -0
- /package/dist/chunks/{chunk-WW3AU2YN.js.map → chunk-JCK6FM7F.js.map} +0 -0
- /package/dist/chunks/{chunk-ABKURT35.js.map → chunk-JR66BLKY.js.map} +0 -0
- /package/dist/chunks/{chunk-LXJW3ZYI.js.map → chunk-K4APHATW.js.map} +0 -0
- /package/dist/chunks/{chunk-YNWPC3HO.js.map → chunk-KBIVQ5RH.js.map} +0 -0
- /package/dist/chunks/{chunk-PFVYYH6O.js.map → chunk-L7DZ2QPD.js.map} +0 -0
- /package/dist/chunks/{chunk-3PH6F6Z3.js.map → chunk-LONNSCMP.js.map} +0 -0
- /package/dist/chunks/{chunk-ACO3LTRT.js.map → chunk-M4LHZRTX.js.map} +0 -0
- /package/dist/chunks/{chunk-567CSU37.js.map → chunk-MN3CC4AF.js.map} +0 -0
- /package/dist/chunks/{chunk-LWJJDERP.js.map → chunk-MXLAVYBS.js.map} +0 -0
- /package/dist/chunks/{chunk-TRRKG642.js.map → chunk-NCPOOJD4.js.map} +0 -0
- /package/dist/chunks/{chunk-ATCVFWXD.js.map → chunk-NIHIVQJS.js.map} +0 -0
- /package/dist/chunks/{chunk-7Y4RR47U.js.map → chunk-OK3QKISP.js.map} +0 -0
- /package/dist/chunks/{chunk-IJ6Z6FNY.js.map → chunk-ONVEH4H7.js.map} +0 -0
- /package/dist/chunks/{chunk-E6FMAE5Q.js.map → chunk-OOIVZ5PA.js.map} +0 -0
- /package/dist/chunks/{chunk-ZQGCZYAE.js.map → chunk-OTNW5ZO6.js.map} +0 -0
- /package/dist/chunks/{chunk-G76POTWW.js.map → chunk-OVJOSPJ5.js.map} +0 -0
- /package/dist/chunks/{chunk-S7FE35WQ.js.map → chunk-P2PWTXHD.js.map} +0 -0
- /package/dist/chunks/{chunk-GEVWZWLM.js.map → chunk-PGD2EYI7.js.map} +0 -0
- /package/dist/chunks/{chunk-DJKWBSVM.js.map → chunk-PIUHVCR3.js.map} +0 -0
- /package/dist/chunks/{chunk-JUDJGDYX.js.map → chunk-QFJ5IWYL.js.map} +0 -0
- /package/dist/chunks/{chunk-DRWJTADQ.js.map → chunk-QI6XNUH6.js.map} +0 -0
- /package/dist/chunks/{chunk-4TJ7AGQO.js.map → chunk-QUUDXDDL.js.map} +0 -0
- /package/dist/chunks/{chunk-7J23SPSX.js.map → chunk-R2TBZK62.js.map} +0 -0
- /package/dist/chunks/{chunk-SS6IJAPA.js.map → chunk-R6WB34IP.js.map} +0 -0
- /package/dist/chunks/{chunk-XLXPPVUT.js.map → chunk-RE5EUO3F.js.map} +0 -0
- /package/dist/chunks/{chunk-D3SCA6NT.js.map → chunk-RYV4P5CO.js.map} +0 -0
- /package/dist/chunks/{chunk-2VP2Q657.js.map → chunk-S5GKG5GV.js.map} +0 -0
- /package/dist/chunks/{chunk-KETRBV2E.js.map → chunk-SNKDM7FT.js.map} +0 -0
- /package/dist/chunks/{chunk-VE4XIWDW.js.map → chunk-SR4DQPOI.js.map} +0 -0
- /package/dist/chunks/{chunk-6CSJRIUZ.js.map → chunk-TFOFFJNY.js.map} +0 -0
- /package/dist/chunks/{chunk-PQT7624W.js.map → chunk-TN7MDKW2.js.map} +0 -0
- /package/dist/chunks/{chunk-TORIEDBN.js.map → chunk-TSHMH45O.js.map} +0 -0
- /package/dist/chunks/{chunk-E65IWYTT.js.map → chunk-TYD5K7MT.js.map} +0 -0
- /package/dist/chunks/{chunk-KBLYZ7L7.js.map → chunk-UCDXXMAD.js.map} +0 -0
- /package/dist/chunks/{chunk-5HMJ3DYR.js.map → chunk-UI3ELYQU.js.map} +0 -0
- /package/dist/chunks/{chunk-IRAG3YXW.js.map → chunk-ULJAPIOG.js.map} +0 -0
- /package/dist/chunks/{chunk-VL6Z2OMG.js.map → chunk-VJFBRQZ4.js.map} +0 -0
- /package/dist/chunks/{chunk-24EZWZDZ.js.map → chunk-VUKFKBOO.js.map} +0 -0
- /package/dist/chunks/{chunk-4BAXYUZQ.js.map → chunk-WWMSEDXA.js.map} +0 -0
- /package/dist/chunks/{chunk-MF5KTVGJ.js.map → chunk-XAMOWP2G.js.map} +0 -0
- /package/dist/chunks/{chunk-Q6PZODSV.js.map → chunk-XIBT7TAZ.js.map} +0 -0
- /package/dist/chunks/{chunk-VSNV3U2B.js.map → chunk-XLWFT4QC.js.map} +0 -0
- /package/dist/chunks/{chunk-GUK47JTV.js.map → chunk-XNALFKQ2.js.map} +0 -0
- /package/dist/chunks/{chunk-3RLKUXXG.js.map → chunk-XVML5P53.js.map} +0 -0
- /package/dist/chunks/{chunk-JZTTOZRG.js.map → chunk-YHFKTEU6.js.map} +0 -0
- /package/dist/chunks/{chunk-44MFZJ24.js.map → chunk-YMVJOKBZ.js.map} +0 -0
- /package/dist/chunks/{chunk-W4S4ZBXX.js.map → chunk-YWBOZNDX.js.map} +0 -0
- /package/dist/chunks/{chunk-23D5IXMW.js.map → chunk-ZFEDNTIB.js.map} +0 -0
- /package/dist/chunks/{chunk-MDVYEFTI.js.map → chunk-ZHRBJT5B.js.map} +0 -0
- /package/dist/chunks/{chunk-E4RVHFV6.js.map → chunk-ZPWWUTSR.js.map} +0 -0
- /package/dist/chunks/{chunk-EA6YICQ7.js.map → chunk-ZX5C2ELY.js.map} +0 -0
- /package/dist/chunks/{chunk-GQ6WXY3M.js.map → chunk-ZY7N242I.js.map} +0 -0
- /package/dist/chunks/{cli-runtime-P6LCHPBA.js.map → cli-runtime-SL6YG4EX.js.map} +0 -0
- /package/dist/chunks/{commands-BNHIQVYO.js.map → commands-XRQOUFRE.js.map} +0 -0
- /package/dist/chunks/{config-ZMXMX2WY.js.map → config-W3ABQG5K.js.map} +0 -0
- /package/dist/chunks/{cost-BJKADKEZ.js.map → cost-ZKKW4JSZ.js.map} +0 -0
- /package/dist/chunks/{crash-report-OJHGVRD7.js.map → crash-report-Q2WAKIU5.js.map} +0 -0
- /package/dist/chunks/{dist-NCBDELMI.js.map → dist-IPR6EVQM.js.map} +0 -0
- /package/dist/chunks/{dist-PMSBTFU5.js.map → dist-JY4FIVBZ.js.map} +0 -0
- /package/dist/chunks/{dist-43XWK3LF.js.map → dist-O2QP5QCU.js.map} +0 -0
- /package/dist/chunks/{dist-4LEGETQA.js.map → dist-OXSKWJNB.js.map} +0 -0
- /package/dist/chunks/{dist-4ZPDHZOX.js.map → dist-R4PUUPXV.js.map} +0 -0
- /package/dist/chunks/{dist-ADQAO5C3.js.map → dist-VT4VSQTO.js.map} +0 -0
- /package/dist/chunks/{dist-BGJEX527.js.map → dist-WI7EX7ZF.js.map} +0 -0
- /package/dist/chunks/{dist-FMFNU4M3.js.map → dist-YE6ADUZP.js.map} +0 -0
- /package/dist/chunks/{doctor-AIYB27QY.js.map → doctor-EUH7WGN6.js.map} +0 -0
- /package/dist/chunks/{drain-PYKX4QNR.js.map → drain-3DDY42KQ.js.map} +0 -0
- /package/dist/chunks/{entry-HM5E7KCD.js.map → entry-FNHGVOQM.js.map} +0 -0
- /package/dist/chunks/{eval-H4NKZYVV.js.map → eval-CFKAWR3B.js.map} +0 -0
- /package/dist/chunks/{exec-2PRVZNUX.js.map → exec-BR6L3C3T.js.map} +0 -0
- /package/dist/chunks/{extension-4233XOZW.js.map → extension-4VR722KH.js.map} +0 -0
- /package/dist/chunks/{home-AZY7APF6.js.map → home-JCDINY64.js.map} +0 -0
- /package/dist/chunks/{homes-WL6LAAY5.js.map → homes-53P37RPB.js.map} +0 -0
- /package/dist/chunks/{hooks-AK5S4YUS.js.map → hooks-6EV4IEHU.js.map} +0 -0
- /package/dist/chunks/{hooks-report-NJLGBWN3.js.map → hooks-report-OK5PIOSF.js.map} +0 -0
- /package/dist/chunks/{host-SX3QC5FN.js.map → host-KF63UW3T.js.map} +0 -0
- /package/dist/chunks/{host-queries-HBW7AW44.js.map → host-queries-5ZWYD4VD.js.map} +0 -0
- /package/dist/chunks/{installed-list-44QXUJFE.js.map → installed-list-QLVA6XBV.js.map} +0 -0
- /package/dist/chunks/{learn-LW4DLSGZ.js.map → learn-XNVRCNGV.js.map} +0 -0
- /package/dist/chunks/{learn-builtin-4RV2XDH4.js.map → learn-builtin-XABWBGRU.js.map} +0 -0
- /package/dist/chunks/{lifecycle-AJCHTSAF.js.map → lifecycle-K7REDQBN.js.map} +0 -0
- /package/dist/chunks/{list-DT7AJVPX.js.map → list-US5UDLON.js.map} +0 -0
- /package/dist/chunks/{live-Z6HZFXPW.js.map → live-DNA4UB2B.js.map} +0 -0
- /package/dist/chunks/{load-454TJBPW.js.map → load-2WCYASMC.js.map} +0 -0
- /package/dist/chunks/{logs-GRUSUSL7.js.map → logs-ZF7YJNOC.js.map} +0 -0
- /package/dist/chunks/{mcp-AFLRDYNN.js.map → mcp-FBJXQJ6I.js.map} +0 -0
- /package/dist/chunks/{mcp-serve-NNWP4IES.js.map → mcp-serve-TTZ33VMY.js.map} +0 -0
- /package/dist/chunks/{message-command-ZR2JQBBU.js.map → message-command-FMT4APFA.js.map} +0 -0
- /package/dist/chunks/{open-Z3BELFL7.js.map → open-I4YKGQSW.js.map} +0 -0
- /package/dist/chunks/{operator-tools-PN3SPQ3C.js.map → operator-tools-FC5JFH42.js.map} +0 -0
- /package/dist/chunks/{output-schema-DSR56W6A.js.map → output-schema-KMYL2UB6.js.map} +0 -0
- /package/dist/chunks/{pal-ZOH5ILEV.js.map → pal-UZFR42OY.js.map} +0 -0
- /package/dist/chunks/{peers-LXNB4QSL.js.map → peers-NM5HJGSR.js.map} +0 -0
- /package/dist/chunks/{peers-WINODTEB.js.map → peers-V7XCJUFZ.js.map} +0 -0
- /package/dist/chunks/{plugin-MLHZ42NZ.js.map → plugin-UEPWXCB4.js.map} +0 -0
- /package/dist/chunks/{providers-UOTUEQOJ.js.map → providers-BQ25F6LA.js.map} +0 -0
- /package/dist/chunks/{providers-AVECY67I.js.map → providers-VS37WA3E.js.map} +0 -0
- /package/dist/chunks/{pty-GW2YC23H.js.map → pty-NWEV3DSP.js.map} +0 -0
- /package/dist/chunks/{resume-AYWSKWEX.js.map → resume-Y7P3TAVG.js.map} +0 -0
- /package/dist/chunks/{resume-command-FXT3KGLC.js.map → resume-command-KEXAVL6P.js.map} +0 -0
- /package/dist/chunks/{running-3NLAODZ7.js.map → running-JLMG6IL4.js.map} +0 -0
- /package/dist/chunks/{schedule-TTQUT45H.js.map → schedule-6ERJJOA3.js.map} +0 -0
- /package/dist/chunks/{send-FRNTRW2M.js.map → send-UXJ7GXKN.js.map} +0 -0
- /package/dist/chunks/{send-person-57F5RJA7.js.map → send-person-DLJU45IU.js.map} +0 -0
- /package/dist/chunks/{service-TCKPUGL5.js.map → service-NYJZCLH2.js.map} +0 -0
- /package/dist/chunks/{setting-cli-HGYOIGC6.js.map → setting-cli-ILFKSR4D.js.map} +0 -0
- /package/dist/chunks/{start-check-C5VJXVPY.js.map → start-check-7GBRCGVJ.js.map} +0 -0
- /package/dist/chunks/{startup-failure-YQSEQRNQ.js.map → startup-failure-UA32GGJB.js.map} +0 -0
- /package/dist/chunks/{state-2DBTSDEP.js.map → state-SSRHEX5K.js.map} +0 -0
- /package/dist/chunks/{store-CZGKLVTT.js.map → store-2GFZ5XXW.js.map} +0 -0
- /package/dist/chunks/{store-JJKCDY7Y.js.map → store-MP5EB266.js.map} +0 -0
- /package/dist/chunks/{store-RJZCW2MI.js.map → store-ROR7VTZ2.js.map} +0 -0
- /package/dist/chunks/{store-S4BT3ESJ.js.map → store-WRRTTRBT.js.map} +0 -0
- /package/dist/chunks/{tui-Q7ED7VFI.js.map → tui-2JTNW2G7.js.map} +0 -0
- /package/dist/chunks/{update-G7D3YCH5.js.map → update-32IRH5TG.js.map} +0 -0
- /package/dist/chunks/{watch-EON3IWRY.js.map → watch-PXPP5QXP.js.map} +0 -0
- /package/dist/chunks/{workspaces-O6S2OTDL.js.map → workspaces-4YXZSENL.js.map} +0 -0
- /package/dist/chunks/{worktree-A2DNXLOT.js.map → worktree-DJHBLFHZ.js.map} +0 -0
|
@@ -325,7 +325,7 @@ var require_brace_expansion = __commonJS({
|
|
|
325
325
|
});
|
|
326
326
|
|
|
327
327
|
// ../sdk/dist/version.js
|
|
328
|
-
var VERSION = "69.
|
|
328
|
+
var VERSION = "69.2.0";
|
|
329
329
|
|
|
330
330
|
// ../sdk/dist/runtime/harness-session/index.js
|
|
331
331
|
import { posix, win32 } from "node:path";
|
|
@@ -37665,9 +37665,13 @@ function renderSkillsSection(skills) {
|
|
|
37665
37665
|
const lines2 = [
|
|
37666
37666
|
"<skill>",
|
|
37667
37667
|
`<name>${s.metadata.name}</name>`,
|
|
37668
|
-
`<description>${skillModelDescription(s.metadata)}</description
|
|
37668
|
+
...s.metadata.listing === "name-only" ? [] : [`<description>${skillModelDescription(s.metadata)}</description>`],
|
|
37669
37669
|
`<location>${s.dirPath}/SKILL.md</location>`
|
|
37670
37670
|
];
|
|
37671
|
+
if (s.metadata.listing === "name-only") {
|
|
37672
|
+
lines2.push("</skill>");
|
|
37673
|
+
return lines2.join("\n");
|
|
37674
|
+
}
|
|
37671
37675
|
if (s.metadata.compatibility) {
|
|
37672
37676
|
lines2.push(`<compatibility>${s.metadata.compatibility}</compatibility>`);
|
|
37673
37677
|
}
|
|
@@ -67283,16 +67287,16 @@ function split(command) {
|
|
|
67283
67287
|
continue;
|
|
67284
67288
|
}
|
|
67285
67289
|
if (ch === "|" || ch === "&" || ch === ";" || ch === "\n") {
|
|
67286
|
-
let
|
|
67290
|
+
let sep19 = ch;
|
|
67287
67291
|
if ((ch === "|" || ch === "&") && next2 === ch) {
|
|
67288
|
-
|
|
67292
|
+
sep19 = ch + ch;
|
|
67289
67293
|
i += 1;
|
|
67290
67294
|
} else if (ch === "|" && next2 === "&") {
|
|
67291
|
-
|
|
67295
|
+
sep19 = "|&";
|
|
67292
67296
|
i += 1;
|
|
67293
67297
|
}
|
|
67294
67298
|
push();
|
|
67295
|
-
pending2 =
|
|
67299
|
+
pending2 = sep19 === "\n" ? ";" : sep19;
|
|
67296
67300
|
continue;
|
|
67297
67301
|
}
|
|
67298
67302
|
current += ch;
|
|
@@ -73821,10 +73825,65 @@ import { readFile as readFile10 } from "node:fs/promises";
|
|
|
73821
73825
|
|
|
73822
73826
|
// ../sdk/dist/tools/builtins/atomic-write-file.js
|
|
73823
73827
|
import { randomUUID as randomUUID4 } from "node:crypto";
|
|
73828
|
+
import { lstatSync as lstatSync4, realpathSync as realpathSync5 } from "node:fs";
|
|
73824
73829
|
import { mkdir as mkdir8, open as open11, realpath as realpath5, rename as rename3, stat as stat8, unlink as unlink7 } from "node:fs/promises";
|
|
73825
|
-
import { basename as basename9, dirname as dirname14, join as join24 } from "node:path";
|
|
73830
|
+
import nodePath, { basename as basename9, dirname as dirname14, join as join24, sep as sep8 } from "node:path";
|
|
73831
|
+
var UnsafeWritePathError = class extends Error {
|
|
73832
|
+
static {
|
|
73833
|
+
__name(this, "UnsafeWritePathError");
|
|
73834
|
+
}
|
|
73835
|
+
name = "UnsafeWritePathError";
|
|
73836
|
+
};
|
|
73837
|
+
function lstatOrUndefined(path2) {
|
|
73838
|
+
try {
|
|
73839
|
+
return lstatSync4(path2);
|
|
73840
|
+
} catch (error62) {
|
|
73841
|
+
if (error62.code === "ENOENT")
|
|
73842
|
+
return void 0;
|
|
73843
|
+
throw error62;
|
|
73844
|
+
}
|
|
73845
|
+
}
|
|
73846
|
+
__name(lstatOrUndefined, "lstatOrUndefined");
|
|
73847
|
+
function realOrSelf(path2) {
|
|
73848
|
+
try {
|
|
73849
|
+
return realpathSync5(path2);
|
|
73850
|
+
} catch {
|
|
73851
|
+
return path2;
|
|
73852
|
+
}
|
|
73853
|
+
}
|
|
73854
|
+
__name(realOrSelf, "realOrSelf");
|
|
73855
|
+
function isInside(root, path2) {
|
|
73856
|
+
const rel = nodePath.relative(root, path2);
|
|
73857
|
+
return rel === "" || !nodePath.isAbsolute(rel) && rel !== ".." && !rel.startsWith(`..${sep8}`);
|
|
73858
|
+
}
|
|
73859
|
+
__name(isInside, "isInside");
|
|
73860
|
+
function assertNoLinkBelow(anchor2, file2) {
|
|
73861
|
+
const rel = nodePath.relative(anchor2, file2);
|
|
73862
|
+
if (rel === "" || nodePath.isAbsolute(rel) || rel === ".." || rel.startsWith(`..${sep8}`)) {
|
|
73863
|
+
throw new UnsafeWritePathError(`${file2} is not inside ${anchor2}.`);
|
|
73864
|
+
}
|
|
73865
|
+
let current = anchor2;
|
|
73866
|
+
let deepest = anchor2;
|
|
73867
|
+
for (const part2 of rel.split(sep8)) {
|
|
73868
|
+
current = join24(current, part2);
|
|
73869
|
+
const stat25 = lstatOrUndefined(current);
|
|
73870
|
+
if (stat25 === void 0)
|
|
73871
|
+
break;
|
|
73872
|
+
if (stat25.isSymbolicLink()) {
|
|
73873
|
+
throw new UnsafeWritePathError(`${current} is a symbolic link; it is never written through. Remove the link or save somewhere else.`);
|
|
73874
|
+
}
|
|
73875
|
+
deepest = current;
|
|
73876
|
+
}
|
|
73877
|
+
if (!isInside(realOrSelf(anchor2), realOrSelf(deepest))) {
|
|
73878
|
+
throw new UnsafeWritePathError(`${file2} resolves outside ${anchor2}; nothing was written.`);
|
|
73879
|
+
}
|
|
73880
|
+
}
|
|
73881
|
+
__name(assertNoLinkBelow, "assertNoLinkBelow");
|
|
73826
73882
|
async function atomicWriteFile2(requestedPath, content, hooks = {}) {
|
|
73827
|
-
const
|
|
73883
|
+
const anchor2 = hooks.refuseLinksBelow;
|
|
73884
|
+
if (anchor2 !== void 0)
|
|
73885
|
+
assertNoLinkBelow(anchor2, requestedPath);
|
|
73886
|
+
const filePath = anchor2 === void 0 ? await realpath5(requestedPath).catch(() => requestedPath) : requestedPath;
|
|
73828
73887
|
const directory = dirname14(filePath);
|
|
73829
73888
|
await mkdir8(directory, { recursive: true });
|
|
73830
73889
|
const existingMode = await stat8(filePath).then((value) => value.mode).catch(() => void 0);
|
|
@@ -73832,12 +73891,14 @@ async function atomicWriteFile2(requestedPath, content, hooks = {}) {
|
|
|
73832
73891
|
let handle;
|
|
73833
73892
|
let committed = false;
|
|
73834
73893
|
try {
|
|
73835
|
-
handle = await open11(tempPath, "wx", existingMode ?? 438);
|
|
73894
|
+
handle = await open11(tempPath, "wx", hooks.mode ?? existingMode ?? 438);
|
|
73836
73895
|
await handle.writeFile(content, "utf-8");
|
|
73837
73896
|
await handle.sync();
|
|
73838
73897
|
await handle.close();
|
|
73839
73898
|
handle = void 0;
|
|
73840
73899
|
await hooks.beforeCommit?.();
|
|
73900
|
+
if (anchor2 !== void 0)
|
|
73901
|
+
assertNoLinkBelow(anchor2, filePath);
|
|
73841
73902
|
await rename3(tempPath, filePath);
|
|
73842
73903
|
committed = true;
|
|
73843
73904
|
await syncDirectory3(directory);
|
|
@@ -92630,7 +92691,7 @@ var ScanSessionIndex = class _ScanSessionIndex extends SessionIndexBase {
|
|
|
92630
92691
|
};
|
|
92631
92692
|
|
|
92632
92693
|
// ../sdk/dist/store/session-index/sqlite.js
|
|
92633
|
-
import { chmodSync as chmodSync2, existsSync as existsSync5, lstatSync as
|
|
92694
|
+
import { chmodSync as chmodSync2, existsSync as existsSync5, lstatSync as lstatSync5, statSync as statSync5 } from "node:fs";
|
|
92634
92695
|
import { mkdir as mkdir12, open as open14, readdir as readdir8, rename as rename5, rm as rm5, stat as stat11 } from "node:fs/promises";
|
|
92635
92696
|
import { createRequire as createRequire2 } from "node:module";
|
|
92636
92697
|
import { basename as basename11, dirname as dirname19, join as join30 } from "node:path";
|
|
@@ -92643,7 +92704,7 @@ function restrictIndexFiles(path2) {
|
|
|
92643
92704
|
const uid = process.getuid?.();
|
|
92644
92705
|
for (const file2 of [path2, `${path2}-journal`, `${path2}-wal`, `${path2}-shm`]) {
|
|
92645
92706
|
try {
|
|
92646
|
-
const entry =
|
|
92707
|
+
const entry = lstatSync5(file2);
|
|
92647
92708
|
if (!entry.isFile() || (entry.mode & 63) === 0)
|
|
92648
92709
|
continue;
|
|
92649
92710
|
if (uid !== void 0 && entry.uid !== uid)
|
|
@@ -100215,7 +100276,7 @@ import { pathToFileURL } from "node:url";
|
|
|
100215
100276
|
|
|
100216
100277
|
// ../sdk/dist/directory/scan.js
|
|
100217
100278
|
import { lstat as lstat7, readdir as readdir10, realpath as realpath7 } from "node:fs/promises";
|
|
100218
|
-
import { basename as basename14, extname as extname3, join as join35, relative as relative6, sep as
|
|
100279
|
+
import { basename as basename14, extname as extname3, join as join35, relative as relative6, sep as sep9 } from "node:path";
|
|
100219
100280
|
var CODE_EXTENSIONS = /* @__PURE__ */ new Set([".ts", ".mts", ".cts", ".js", ".mjs", ".cjs"]);
|
|
100220
100281
|
async function scanSlot(root, slot, dirName) {
|
|
100221
100282
|
const dir = join35(root, dirName);
|
|
@@ -114992,7 +115053,7 @@ __name(summarizeBlocking, "summarizeBlocking");
|
|
|
114992
115053
|
|
|
114993
115054
|
// ../sdk/dist/manager/agent/lifecycle.js
|
|
114994
115055
|
import { realpath as realpath11, rm as rm6, stat as stat15 } from "node:fs/promises";
|
|
114995
|
-
import { isAbsolute as isAbsolute14, relative as relative7, resolve as resolve23, sep as
|
|
115056
|
+
import { isAbsolute as isAbsolute14, relative as relative7, resolve as resolve23, sep as sep10 } from "node:path";
|
|
114996
115057
|
|
|
114997
115058
|
// ../sdk/dist/session/handoff/capacity.js
|
|
114998
115059
|
var DelegationCapacityExceeded = class extends Error {
|
|
@@ -115192,7 +115253,7 @@ async function requireIsolatedWorktreePath(ref, callerCwd, subdirectory) {
|
|
|
115192
115253
|
}
|
|
115193
115254
|
const lexicalChild = resolve23(meta3.worktreePath, subdirectory);
|
|
115194
115255
|
const lexicalRelative = relative7(resolve23(meta3.worktreePath), lexicalChild);
|
|
115195
|
-
if (isAbsolute14(lexicalRelative) || lexicalRelative === ".." || lexicalRelative.startsWith(`..${
|
|
115256
|
+
if (isAbsolute14(lexicalRelative) || lexicalRelative === ".." || lexicalRelative.startsWith(`..${sep10}`)) {
|
|
115196
115257
|
throw new Error("Isolated workspace subdirectory escapes the worktree");
|
|
115197
115258
|
}
|
|
115198
115259
|
let physicalChild;
|
|
@@ -115205,7 +115266,7 @@ async function requireIsolatedWorktreePath(ref, callerCwd, subdirectory) {
|
|
|
115205
115266
|
throw new Error("Isolated workspace subdirectory is missing or not a directory", { cause });
|
|
115206
115267
|
}
|
|
115207
115268
|
const physicalRelative = relative7(physicalPaths[0], physicalChild);
|
|
115208
|
-
if (physicalRelative === "" || isAbsolute14(physicalRelative) || physicalRelative === ".." || physicalRelative.startsWith(`..${
|
|
115269
|
+
if (physicalRelative === "" || isAbsolute14(physicalRelative) || physicalRelative === ".." || physicalRelative.startsWith(`..${sep10}`)) {
|
|
115209
115270
|
throw new Error("Isolated workspace subdirectory resolves outside its worktree");
|
|
115210
115271
|
}
|
|
115211
115272
|
return physicalChild;
|
|
@@ -118407,7 +118468,7 @@ registerMock();
|
|
|
118407
118468
|
|
|
118408
118469
|
// ../sdk/dist/sandbox/provider/local.js
|
|
118409
118470
|
import { spawn as spawn5, spawnSync } from "node:child_process";
|
|
118410
|
-
import { constants as constants6, accessSync as accessSync4, existsSync as existsSync7, realpathSync as
|
|
118471
|
+
import { constants as constants6, accessSync as accessSync4, existsSync as existsSync7, realpathSync as realpathSync6 } from "node:fs";
|
|
118411
118472
|
import { readFile as fsReadFile, writeFile as fsWriteFile, mkdir as mkdir16, open as open16, readdir as readdir14, rename as rename7, rm as rm7, stat as stat16 } from "node:fs/promises";
|
|
118412
118473
|
import { tmpdir as tmpdir3 } from "node:os";
|
|
118413
118474
|
import { dirname as dirname23, isAbsolute as isAbsolute16, join as join44, parse as parse8, resolve as resolve24 } from "node:path";
|
|
@@ -119571,7 +119632,7 @@ function resolveTrustedWrapper(name3) {
|
|
|
119571
119632
|
for (const candidate of TRUSTED_WRAPPER_CANDIDATES[name3]) {
|
|
119572
119633
|
try {
|
|
119573
119634
|
accessSync4(candidate, constants6.X_OK);
|
|
119574
|
-
return
|
|
119635
|
+
return realpathSync6(candidate);
|
|
119575
119636
|
} catch {
|
|
119576
119637
|
}
|
|
119577
119638
|
}
|
|
@@ -119677,7 +119738,7 @@ function detectEnvironment() {
|
|
|
119677
119738
|
__name(detectEnvironment, "detectEnvironment");
|
|
119678
119739
|
function canonicalizePath(p) {
|
|
119679
119740
|
try {
|
|
119680
|
-
return
|
|
119741
|
+
return realpathSync6(p);
|
|
119681
119742
|
} catch {
|
|
119682
119743
|
if (p.startsWith("/var/"))
|
|
119683
119744
|
return `/private${p}`;
|
|
@@ -120556,11 +120617,11 @@ var TextChunker = class {
|
|
|
120556
120617
|
const trimmed = text12.trim();
|
|
120557
120618
|
return trimmed.length > 0 ? [{ content: trimmed, index: startIndex }] : [];
|
|
120558
120619
|
}
|
|
120559
|
-
for (const
|
|
120560
|
-
const parts =
|
|
120620
|
+
for (const sep19 of separators) {
|
|
120621
|
+
const parts = sep19 === "" ? [...text12] : splitKeepingSeparator(text12, sep19).filter((p) => p.trim().length > 0);
|
|
120561
120622
|
if (parts.length <= 1)
|
|
120562
120623
|
continue;
|
|
120563
|
-
const remaining = separators.slice(separators.indexOf(
|
|
120624
|
+
const remaining = separators.slice(separators.indexOf(sep19) + 1);
|
|
120564
120625
|
const merged = this.mergeSmallParts(parts, config2);
|
|
120565
120626
|
if (merged.every((c) => c.content.length <= config2.chunkSize)) {
|
|
120566
120627
|
return merged;
|
|
@@ -120582,12 +120643,12 @@ var TextChunker = class {
|
|
|
120582
120643
|
}
|
|
120583
120644
|
splitBySeparators(text12, separators) {
|
|
120584
120645
|
let parts = [text12];
|
|
120585
|
-
for (const
|
|
120646
|
+
for (const sep19 of separators) {
|
|
120586
120647
|
const nextParts = [];
|
|
120587
120648
|
for (const part2 of parts) {
|
|
120588
|
-
const splits = part2.split(
|
|
120649
|
+
const splits = part2.split(sep19);
|
|
120589
120650
|
for (const [i, segment2] of splits.entries()) {
|
|
120590
|
-
const piece = i < splits.length - 1 ? segment2 +
|
|
120651
|
+
const piece = i < splits.length - 1 ? segment2 + sep19 : segment2;
|
|
120591
120652
|
if (piece.trim().length > 0) {
|
|
120592
120653
|
nextParts.push(piece);
|
|
120593
120654
|
}
|
|
@@ -120617,17 +120678,17 @@ var TextChunker = class {
|
|
|
120617
120678
|
return chunks;
|
|
120618
120679
|
}
|
|
120619
120680
|
};
|
|
120620
|
-
function splitKeepingSeparator(text12,
|
|
120621
|
-
if (
|
|
120681
|
+
function splitKeepingSeparator(text12, sep19) {
|
|
120682
|
+
if (sep19 === "")
|
|
120622
120683
|
return [text12];
|
|
120623
120684
|
const parts = [];
|
|
120624
120685
|
let start = 0;
|
|
120625
120686
|
for (; ; ) {
|
|
120626
|
-
const at = text12.indexOf(
|
|
120687
|
+
const at = text12.indexOf(sep19, start);
|
|
120627
120688
|
if (at === -1)
|
|
120628
120689
|
break;
|
|
120629
|
-
parts.push(text12.slice(start, at +
|
|
120630
|
-
start = at +
|
|
120690
|
+
parts.push(text12.slice(start, at + sep19.length));
|
|
120691
|
+
start = at + sep19.length;
|
|
120631
120692
|
}
|
|
120632
120693
|
if (start < text12.length)
|
|
120633
120694
|
parts.push(text12.slice(start));
|
|
@@ -125850,9 +125911,9 @@ var WorkspaceBackendRegistry = class {
|
|
|
125850
125911
|
|
|
125851
125912
|
// ../sdk/dist/session/workspace/git-worktree.js
|
|
125852
125913
|
import { execFile as execFile2 } from "node:child_process";
|
|
125853
|
-
import { readFileSync as readFileSync8, realpathSync as
|
|
125914
|
+
import { readFileSync as readFileSync8, realpathSync as realpathSync7 } from "node:fs";
|
|
125854
125915
|
import { realpath as realpath12 } from "node:fs/promises";
|
|
125855
|
-
import { basename as basename16, dirname as dirname24, isAbsolute as isAbsolute18, join as join45, relative as relative8, resolve as resolve25, sep as
|
|
125916
|
+
import { basename as basename16, dirname as dirname24, isAbsolute as isAbsolute18, join as join45, relative as relative8, resolve as resolve25, sep as sep11 } from "node:path";
|
|
125856
125917
|
import { promisify } from "node:util";
|
|
125857
125918
|
var execFileAsync = promisify(execFile2);
|
|
125858
125919
|
var defaultExecFile = /* @__PURE__ */ __name(async (file2, args) => execFileAsync(file2, [...args]), "defaultExecFile");
|
|
@@ -125905,7 +125966,7 @@ var GitWorktreeDriver = class {
|
|
|
125905
125966
|
} catch (cause) {
|
|
125906
125967
|
throw new WorkspaceBackendError({ op: "create:ownership", kind: this.kind, cause });
|
|
125907
125968
|
}
|
|
125908
|
-
const relativePath = relative8(worktreesDir, worktreePath).split(
|
|
125969
|
+
const relativePath = relative8(worktreesDir, worktreePath).split(sep11).join("/");
|
|
125909
125970
|
const branch = `${this.branchPrefix}/${relativePath}`;
|
|
125910
125971
|
const argv = ["-C", repoRoot, "worktree", "add", "-b", branch, "--", worktreePath];
|
|
125911
125972
|
if (params.baseRef !== void 0) {
|
|
@@ -126079,7 +126140,7 @@ var GitWorktreeDriver = class {
|
|
|
126079
126140
|
if (!isStrictDescendant(worktreesDir, worktreePath)) {
|
|
126080
126141
|
throw new Error("Workspace reference escapes the managed worktree directory");
|
|
126081
126142
|
}
|
|
126082
|
-
const label5 = relative8(worktreesDir, worktreePath).split(
|
|
126143
|
+
const label5 = relative8(worktreesDir, worktreePath).split(sep11).join("/");
|
|
126083
126144
|
const branch = ref.meta.branch;
|
|
126084
126145
|
const suffix = `/${label5}`;
|
|
126085
126146
|
if (!branch.endsWith(suffix) || !isBranchPrefix(branch.slice(0, -suffix.length))) {
|
|
@@ -126136,7 +126197,7 @@ async function canonicalizeThroughExisting(input2) {
|
|
|
126136
126197
|
__name(canonicalizeThroughExisting, "canonicalizeThroughExisting");
|
|
126137
126198
|
function isStrictDescendant(root, candidate) {
|
|
126138
126199
|
const rel = relative8(root, candidate);
|
|
126139
|
-
return rel !== "" && rel !== ".." && !rel.startsWith(`..${
|
|
126200
|
+
return rel !== "" && rel !== ".." && !rel.startsWith(`..${sep11}`) && !isAbsolute18(rel);
|
|
126140
126201
|
}
|
|
126141
126202
|
__name(isStrictDescendant, "isStrictDescendant");
|
|
126142
126203
|
function parseWorktreeList(stdout, worktreePath) {
|
|
@@ -126168,7 +126229,7 @@ __name(parseWorktreeList, "parseWorktreeList");
|
|
|
126168
126229
|
function defaultWorktreesDir(repoRoot) {
|
|
126169
126230
|
let cwd;
|
|
126170
126231
|
try {
|
|
126171
|
-
cwd =
|
|
126232
|
+
cwd = realpathSync7(repoRoot);
|
|
126172
126233
|
} catch {
|
|
126173
126234
|
cwd = resolve25(repoRoot);
|
|
126174
126235
|
}
|
|
@@ -126186,7 +126247,7 @@ __name(defaultWorktreesDir, "defaultWorktreesDir");
|
|
|
126186
126247
|
|
|
126187
126248
|
// ../sdk/dist/session/workspace/shared-session.js
|
|
126188
126249
|
import { mkdir as mkdir17, readFile as readFile21, rename as rename8, writeFile as writeFile6 } from "node:fs/promises";
|
|
126189
|
-
import { dirname as dirname25, join as join46, normalize as normalize6, relative as relative9, sep as
|
|
126250
|
+
import { dirname as dirname25, join as join46, normalize as normalize6, relative as relative9, sep as sep12 } from "node:path";
|
|
126190
126251
|
import { posix as posix5 } from "node:path";
|
|
126191
126252
|
var SharedSessionWorkspace = class _SharedSessionWorkspace {
|
|
126192
126253
|
static {
|
|
@@ -126228,7 +126289,7 @@ var SharedSessionWorkspace = class _SharedSessionWorkspace {
|
|
|
126228
126289
|
runtimePath(...segments) {
|
|
126229
126290
|
if (segments.length === 0)
|
|
126230
126291
|
return this.runtimeRoot;
|
|
126231
|
-
return posix5.join(this.runtimeRoot, ...segments.map((segment2) => segment2.split(
|
|
126292
|
+
return posix5.join(this.runtimeRoot, ...segments.map((segment2) => segment2.split(sep12).join("/")));
|
|
126232
126293
|
}
|
|
126233
126294
|
async ensure() {
|
|
126234
126295
|
await Promise.all([
|
|
@@ -126402,7 +126463,7 @@ ${ensureTrailingNewline(input2.sectionText)}` : ensureTrailingNewline(input2.sec
|
|
|
126402
126463
|
function safeJoin(root, segments) {
|
|
126403
126464
|
const fullPath = normalize6(join46(root, ...segments));
|
|
126404
126465
|
const rel = relative9(root, fullPath);
|
|
126405
|
-
if (rel === "" || !rel.startsWith("..") && !rel.includes(`..${
|
|
126466
|
+
if (rel === "" || !rel.startsWith("..") && !rel.includes(`..${sep12}`))
|
|
126406
126467
|
return fullPath;
|
|
126407
126468
|
throw new Error(`SharedSessionWorkspace path escapes root: ${segments.join("/")}`);
|
|
126408
126469
|
}
|
|
@@ -127590,7 +127651,7 @@ async function readText(path2) {
|
|
|
127590
127651
|
__name(readText, "readText");
|
|
127591
127652
|
|
|
127592
127653
|
// ../sdk/dist/store/session/memory.js
|
|
127593
|
-
import { realpathSync as
|
|
127654
|
+
import { realpathSync as realpathSync8 } from "node:fs";
|
|
127594
127655
|
import { resolve as resolve28 } from "node:path";
|
|
127595
127656
|
|
|
127596
127657
|
// ../sdk/dist/store/session/canonical-path.js
|
|
@@ -127687,7 +127748,7 @@ var InMemorySessionStore = class {
|
|
|
127687
127748
|
if (project.rootPath !== void 0) {
|
|
127688
127749
|
let rootPath;
|
|
127689
127750
|
try {
|
|
127690
|
-
rootPath =
|
|
127751
|
+
rootPath = realpathSync8(project.rootPath);
|
|
127691
127752
|
} catch (error62) {
|
|
127692
127753
|
if (error62.code !== "ENOENT")
|
|
127693
127754
|
throw error62;
|
|
@@ -133898,7 +133959,7 @@ var SqliteLearningExperienceStore = class {
|
|
|
133898
133959
|
|
|
133899
133960
|
// ../sdk/dist/learning/store.js
|
|
133900
133961
|
import { createHash as createHash40, randomUUID as randomUUID11 } from "node:crypto";
|
|
133901
|
-
import { closeSync as closeSync6, existsSync as existsSync8, fsyncSync as fsyncSync2, linkSync, lstatSync as
|
|
133962
|
+
import { closeSync as closeSync6, existsSync as existsSync8, fsyncSync as fsyncSync2, linkSync, lstatSync as lstatSync6, mkdirSync as mkdirSync11, openSync as openSync6, readFileSync as readFileSync10, unlinkSync as unlinkSync2, writeFileSync as writeFileSync6 } from "node:fs";
|
|
133902
133963
|
import { createRequire as createRequire4 } from "node:module";
|
|
133903
133964
|
import { dirname as dirname27, join as join51, resolve as resolve31 } from "node:path";
|
|
133904
133965
|
|
|
@@ -134363,7 +134424,7 @@ var SqliteLearningStore = class {
|
|
|
134363
134424
|
if (error62.code !== "EEXIST")
|
|
134364
134425
|
throw error62;
|
|
134365
134426
|
}
|
|
134366
|
-
const entry =
|
|
134427
|
+
const entry = lstatSync6(target);
|
|
134367
134428
|
if (!entry.isFile() || entry.isSymbolicLink() || entry.size !== artifact.bytes || digest4(readFileSync10(target)) !== artifact.hash)
|
|
134368
134429
|
throw new Error("Learning artifact content does not match its hash.");
|
|
134369
134430
|
} finally {
|
|
@@ -134398,7 +134459,7 @@ var SqliteLearningStore = class {
|
|
|
134398
134459
|
throw new Error("Learning artifact is not retained in this scope.");
|
|
134399
134460
|
external_exports.string().regex(/^[0-9a-f]{64}$/).parse(artifact.hash);
|
|
134400
134461
|
const path2 = join51(this.artifactsPath, `${artifact.hash}.json`);
|
|
134401
|
-
const entry =
|
|
134462
|
+
const entry = lstatSync6(path2);
|
|
134402
134463
|
if (!entry.isFile() || entry.isSymbolicLink() || entry.size !== artifact.bytes || entry.size > MAX_ARTIFACT_BYTES)
|
|
134403
134464
|
throw new Error("Learning artifact is not a regular file of the recorded size.");
|
|
134404
134465
|
const body = readFileSync10(path2);
|
|
@@ -134538,7 +134599,7 @@ __name(permissionModeWord, "permissionModeWord");
|
|
|
134538
134599
|
import { join as join53 } from "node:path";
|
|
134539
134600
|
|
|
134540
134601
|
// ../sdk/dist/peers/dir.js
|
|
134541
|
-
import { chmodSync as chmodSync3, lstatSync as
|
|
134602
|
+
import { chmodSync as chmodSync3, lstatSync as lstatSync7, mkdirSync as mkdirSync12 } from "node:fs";
|
|
134542
134603
|
import { tmpdir as tmpdir4 } from "node:os";
|
|
134543
134604
|
import { join as join52 } from "node:path";
|
|
134544
134605
|
var PeerDirectoryError = class extends Error {
|
|
@@ -134567,7 +134628,7 @@ function fitsSocketPath(dir, platform2) {
|
|
|
134567
134628
|
__name(fitsSocketPath, "fitsSocketPath");
|
|
134568
134629
|
function hardenPeerRuntimeDir(path2, uid) {
|
|
134569
134630
|
mkdirSync12(path2, { recursive: true, mode: PRIVATE_DIR_MODE });
|
|
134570
|
-
const created =
|
|
134631
|
+
const created = lstatSync7(path2);
|
|
134571
134632
|
if (created.isSymbolicLink()) {
|
|
134572
134633
|
throw new PeerDirectoryError(`Refusing peer runtime path ${path2}: it is a symbolic link.`);
|
|
134573
134634
|
}
|
|
@@ -134577,7 +134638,7 @@ function hardenPeerRuntimeDir(path2, uid) {
|
|
|
134577
134638
|
if (process.platform === "win32")
|
|
134578
134639
|
return;
|
|
134579
134640
|
chmodSync3(path2, PRIVATE_DIR_MODE);
|
|
134580
|
-
const entry =
|
|
134641
|
+
const entry = lstatSync7(path2);
|
|
134581
134642
|
if (uid !== void 0 && entry.uid !== uid) {
|
|
134582
134643
|
throw new PeerDirectoryError(`Refusing peer runtime path ${path2}: it belongs to uid ${entry.uid}, not ${uid}.`);
|
|
134583
134644
|
}
|
|
@@ -134836,7 +134897,7 @@ __name(derivePeerRef, "derivePeerRef");
|
|
|
134836
134897
|
|
|
134837
134898
|
// ../sdk/dist/peers/registry.js
|
|
134838
134899
|
import { randomBytes as randomBytes10 } from "node:crypto";
|
|
134839
|
-
import { closeSync as closeSync7, fsyncSync as fsyncSync3, lstatSync as
|
|
134900
|
+
import { closeSync as closeSync7, fsyncSync as fsyncSync3, lstatSync as lstatSync8, openSync as openSync7, readFileSync as readFileSync11, readdirSync as readdirSync5, renameSync as renameSync4, unlinkSync as unlinkSync3, writeSync as writeSync4 } from "node:fs";
|
|
134840
134901
|
import { basename as basename17, dirname as dirname28, join as join54 } from "node:path";
|
|
134841
134902
|
|
|
134842
134903
|
// ../sdk/dist/peers/client.js
|
|
@@ -135051,7 +135112,7 @@ __name(readPeerRecords, "readPeerRecords");
|
|
|
135051
135112
|
function removeIfOwned(path2, uid) {
|
|
135052
135113
|
let entry;
|
|
135053
135114
|
try {
|
|
135054
|
-
entry =
|
|
135115
|
+
entry = lstatSync8(path2);
|
|
135055
135116
|
} catch (error62) {
|
|
135056
135117
|
if (error62.code === "ENOENT")
|
|
135057
135118
|
return;
|
|
@@ -135082,7 +135143,7 @@ function removeStaleSocketIfOwned(address2, uid) {
|
|
|
135082
135143
|
return;
|
|
135083
135144
|
let entry;
|
|
135084
135145
|
try {
|
|
135085
|
-
entry =
|
|
135146
|
+
entry = lstatSync8(parsed.path);
|
|
135086
135147
|
} catch {
|
|
135087
135148
|
return;
|
|
135088
135149
|
}
|
|
@@ -135130,7 +135191,7 @@ __name(listLivePeers, "listLivePeers");
|
|
|
135130
135191
|
|
|
135131
135192
|
// ../sdk/dist/peers/endpoint.js
|
|
135132
135193
|
import { timingSafeEqual as timingSafeEqual3 } from "node:crypto";
|
|
135133
|
-
import { chmodSync as chmodSync4, lstatSync as
|
|
135194
|
+
import { chmodSync as chmodSync4, lstatSync as lstatSync9, unlinkSync as unlinkSync4 } from "node:fs";
|
|
135134
135195
|
import { createServer } from "node:net";
|
|
135135
135196
|
import { basename as basename18 } from "node:path";
|
|
135136
135197
|
var PeerEndpointError = class extends Error {
|
|
@@ -135261,7 +135322,7 @@ __name(createOutstandingCapWarner, "createOutstandingCapWarner");
|
|
|
135261
135322
|
async function removeStaleSocket(path2, uid) {
|
|
135262
135323
|
let entry;
|
|
135263
135324
|
try {
|
|
135264
|
-
entry =
|
|
135325
|
+
entry = lstatSync9(path2);
|
|
135265
135326
|
} catch (error62) {
|
|
135266
135327
|
if (error62.code === "ENOENT")
|
|
135267
135328
|
return;
|
|
@@ -135641,7 +135702,7 @@ __name(teamNameProblem, "teamNameProblem");
|
|
|
135641
135702
|
|
|
135642
135703
|
// ../sdk/dist/teams/store.js
|
|
135643
135704
|
import { randomUUID as randomUUID12 } from "node:crypto";
|
|
135644
|
-
import { closeSync as closeSync8, existsSync as existsSync9, lstatSync as
|
|
135705
|
+
import { closeSync as closeSync8, existsSync as existsSync9, lstatSync as lstatSync10, mkdirSync as mkdirSync13, openSync as openSync8, readFileSync as readFileSync12, readdirSync as readdirSync6, renameSync as renameSync5, rmSync as rmSync5, rmdirSync, writeSync as writeSync5 } from "node:fs";
|
|
135645
135706
|
import { join as join55 } from "node:path";
|
|
135646
135707
|
var TEAM_COLORS = [
|
|
135647
135708
|
"blue",
|
|
@@ -135770,7 +135831,7 @@ var TeamStore = class {
|
|
|
135770
135831
|
const dir = this.teamDir(team);
|
|
135771
135832
|
let entry;
|
|
135772
135833
|
try {
|
|
135773
|
-
entry =
|
|
135834
|
+
entry = lstatSync10(dir);
|
|
135774
135835
|
} catch {
|
|
135775
135836
|
return false;
|
|
135776
135837
|
}
|
|
@@ -135799,7 +135860,7 @@ var TeamStore = class {
|
|
|
135799
135860
|
const dir = join55(this.rootDir, name3);
|
|
135800
135861
|
let entry;
|
|
135801
135862
|
try {
|
|
135802
|
-
entry =
|
|
135863
|
+
entry = lstatSync10(dir);
|
|
135803
135864
|
} catch {
|
|
135804
135865
|
continue;
|
|
135805
135866
|
}
|
|
@@ -140698,7 +140759,7 @@ __name(createNamzuNetwork, "createNamzuNetwork");
|
|
|
140698
140759
|
|
|
140699
140760
|
// ../sdk/dist/account/registry.js
|
|
140700
140761
|
import { randomBytes as randomBytes15 } from "node:crypto";
|
|
140701
|
-
import { chmodSync as chmodSync5, closeSync as closeSync9, fsyncSync as fsyncSync4, mkdirSync as mkdirSync14, openSync as openSync9, readFileSync as readFileSync13, realpathSync as
|
|
140762
|
+
import { chmodSync as chmodSync5, closeSync as closeSync9, fsyncSync as fsyncSync4, mkdirSync as mkdirSync14, openSync as openSync9, readFileSync as readFileSync13, realpathSync as realpathSync9, renameSync as renameSync6, rmSync as rmSync6, unlinkSync as unlinkSync5, writeSync as writeSync6 } from "node:fs";
|
|
140702
140763
|
import { basename as basename20, dirname as dirname31, isAbsolute as isAbsolute20, join as join60, relative as relative10, resolve as resolve33 } from "node:path";
|
|
140703
140764
|
|
|
140704
140765
|
// ../sdk/dist/account/lock.js
|
|
@@ -140929,12 +140990,12 @@ function createAccountRegistry(options = {}) {
|
|
|
140929
140990
|
}
|
|
140930
140991
|
}
|
|
140931
140992
|
__name(checkEndpointAndModel, "checkEndpointAndModel");
|
|
140932
|
-
function
|
|
140993
|
+
function realOrSelf2(target) {
|
|
140933
140994
|
let existing = resolve33(target);
|
|
140934
140995
|
const rest = [];
|
|
140935
140996
|
for (; ; ) {
|
|
140936
140997
|
try {
|
|
140937
|
-
return join60(
|
|
140998
|
+
return join60(realpathSync9(existing), ...rest.reverse());
|
|
140938
140999
|
} catch {
|
|
140939
141000
|
const parent = dirname31(existing);
|
|
140940
141001
|
if (parent === existing)
|
|
@@ -140944,14 +141005,14 @@ function createAccountRegistry(options = {}) {
|
|
|
140944
141005
|
}
|
|
140945
141006
|
}
|
|
140946
141007
|
}
|
|
140947
|
-
__name(
|
|
141008
|
+
__name(realOrSelf2, "realOrSelf");
|
|
140948
141009
|
function insideAccountsRoot(dir) {
|
|
140949
|
-
const rel = relative10(
|
|
141010
|
+
const rel = relative10(realOrSelf2(accountsRoot), realOrSelf2(dir));
|
|
140950
141011
|
return rel !== "" && !rel.startsWith("..") && !isAbsolute20(rel);
|
|
140951
141012
|
}
|
|
140952
141013
|
__name(insideAccountsRoot, "insideAccountsRoot");
|
|
140953
141014
|
function nests(outer, inner) {
|
|
140954
|
-
const rel = relative10(
|
|
141015
|
+
const rel = relative10(realOrSelf2(outer), realOrSelf2(inner));
|
|
140955
141016
|
return rel === "" || !rel.startsWith("..") && !isAbsolute20(rel);
|
|
140956
141017
|
}
|
|
140957
141018
|
__name(nests, "nests");
|
|
@@ -141130,8 +141191,8 @@ __name(resolveBoundAccount, "resolveBoundAccount");
|
|
|
141130
141191
|
|
|
141131
141192
|
// ../sdk/dist/pals/store.js
|
|
141132
141193
|
import { randomUUID as randomUUID14 } from "node:crypto";
|
|
141133
|
-
import { chmodSync as chmodSync6, closeSync as closeSync10, fsyncSync as fsyncSync5, linkSync as linkSync2, lstatSync as
|
|
141134
|
-
import { dirname as dirname32, isAbsolute as isAbsolute21, join as join61, relative as relative11, resolve as resolve34, sep as
|
|
141194
|
+
import { chmodSync as chmodSync6, closeSync as closeSync10, fsyncSync as fsyncSync5, linkSync as linkSync2, lstatSync as lstatSync11, mkdirSync as mkdirSync15, openSync as openSync10, readFileSync as readFileSync14, readdirSync as readdirSync7, realpathSync as realpathSync10, unlinkSync as unlinkSync6, writeSync as writeSync7 } from "node:fs";
|
|
141195
|
+
import { dirname as dirname32, isAbsolute as isAbsolute21, join as join61, relative as relative11, resolve as resolve34, sep as sep13 } from "node:path";
|
|
141135
141196
|
var ID = /^[0-9a-f]{8}-[0-9a-f]{4}-[0-9a-f]{4}-[0-9a-f]{4}-[0-9a-f]{12}$/u;
|
|
141136
141197
|
var REVISION_FILE2 = /^[1-9][0-9]*\.json$/u;
|
|
141137
141198
|
var PalConflictError = class extends Error {
|
|
@@ -141154,10 +141215,10 @@ __name(palId, "palId");
|
|
|
141154
141215
|
function homePath(home) {
|
|
141155
141216
|
const path2 = resolve34(home);
|
|
141156
141217
|
mkdirSync15(path2, { recursive: true, mode: 448 });
|
|
141157
|
-
const entry =
|
|
141218
|
+
const entry = lstatSync11(path2);
|
|
141158
141219
|
if (!entry.isDirectory() || entry.isSymbolicLink())
|
|
141159
141220
|
throw new Error("Pal home must be a real directory.");
|
|
141160
|
-
const canonical5 =
|
|
141221
|
+
const canonical5 = realpathSync10(path2);
|
|
141161
141222
|
if (canonical5 !== path2)
|
|
141162
141223
|
throw new Error("Pal root may not contain symlink aliases.");
|
|
141163
141224
|
return canonical5;
|
|
@@ -141165,7 +141226,7 @@ function homePath(home) {
|
|
|
141165
141226
|
__name(homePath, "homePath");
|
|
141166
141227
|
function contained(path2, root) {
|
|
141167
141228
|
const rel = relative11(root, path2);
|
|
141168
|
-
return rel === "" || !isAbsolute21(rel) && rel !== ".." && !rel.startsWith(`..${
|
|
141229
|
+
return rel === "" || !isAbsolute21(rel) && rel !== ".." && !rel.startsWith(`..${sep13}`);
|
|
141169
141230
|
}
|
|
141170
141231
|
__name(contained, "contained");
|
|
141171
141232
|
function paths(home, workspaceRoot, id3) {
|
|
@@ -141223,15 +141284,15 @@ function readStoredRevision(home, workspaceRoot, id3, revision) {
|
|
|
141223
141284
|
const source = join61(paths(home, workspaceRoot, id3).revisions, `${revision}.json`);
|
|
141224
141285
|
assertDirectory(paths(home, workspaceRoot, id3).palDir);
|
|
141225
141286
|
assertDirectory(paths(home, workspaceRoot, id3).revisions);
|
|
141226
|
-
const file2 =
|
|
141287
|
+
const file2 = lstatSync11(source);
|
|
141227
141288
|
if (!file2.isFile() || file2.isSymbolicLink())
|
|
141228
141289
|
throw new Error("Pal revision must be a real file.");
|
|
141229
141290
|
const raw = JSON.parse(readFileSync14(source, "utf8"));
|
|
141230
141291
|
if (raw.v !== 1 || raw.kind !== "pal" && raw.kind !== "pal-deleted" || raw.id !== id3 || raw.revision !== revision || !Number.isSafeInteger(revision) || revision < 1 || typeof raw.createdAt !== "string" || typeof raw.updatedAt !== "string" || typeof raw.workspace !== "string" || typeof raw.paused !== "boolean")
|
|
141231
141292
|
throw new Error(`Invalid Pal definition ${id3} revision ${revision}.`);
|
|
141232
141293
|
const expected = paths(home, workspaceRoot, id3).workspace;
|
|
141233
|
-
const entry =
|
|
141234
|
-
if (!entry.isDirectory() || entry.isSymbolicLink() ||
|
|
141294
|
+
const entry = lstatSync11(expected);
|
|
141295
|
+
if (!entry.isDirectory() || entry.isSymbolicLink() || realpathSync10(expected) !== expected || raw.workspace !== expected || contained(expected, home))
|
|
141235
141296
|
throw new Error(`Pal ${id3} workspace identity changed.`);
|
|
141236
141297
|
return {
|
|
141237
141298
|
v: 1,
|
|
@@ -141400,7 +141461,7 @@ var DiskPalStore = class {
|
|
|
141400
141461
|
/** Exact validated host control directory; never an execution-computer claim. */
|
|
141401
141462
|
atWorkspace(cwd) {
|
|
141402
141463
|
const lexical = resolve34(cwd);
|
|
141403
|
-
const canonical5 =
|
|
141464
|
+
const canonical5 = realpathSync10(lexical);
|
|
141404
141465
|
const lexicalReserved = contained(lexical, this.workspaceRoot);
|
|
141405
141466
|
const canonicalReserved = contained(canonical5, this.workspaceRoot);
|
|
141406
141467
|
if (!lexicalReserved && !canonicalReserved)
|
|
@@ -141417,8 +141478,8 @@ var DiskPalStore = class {
|
|
|
141417
141478
|
}
|
|
141418
141479
|
};
|
|
141419
141480
|
function assertDirectory(path2) {
|
|
141420
|
-
const entry =
|
|
141421
|
-
if (!entry.isDirectory() || entry.isSymbolicLink() ||
|
|
141481
|
+
const entry = lstatSync11(path2);
|
|
141482
|
+
if (!entry.isDirectory() || entry.isSymbolicLink() || realpathSync10(path2) !== path2)
|
|
141422
141483
|
throw new Error(`Pal directory identity changed: ${path2}`);
|
|
141423
141484
|
}
|
|
141424
141485
|
__name(assertDirectory, "assertDirectory");
|
|
@@ -142282,7 +142343,7 @@ __name(createPalReferenceImageTool, "createPalReferenceImageTool");
|
|
|
142282
142343
|
|
|
142283
142344
|
// ../sdk/dist/pals/communication/store.js
|
|
142284
142345
|
import { randomUUID as randomUUID16 } from "node:crypto";
|
|
142285
|
-
import { chmodSync as chmodSync7, lstatSync as
|
|
142346
|
+
import { chmodSync as chmodSync7, lstatSync as lstatSync12, mkdirSync as mkdirSync16, readdirSync as readdirSync8, realpathSync as realpathSync11 } from "node:fs";
|
|
142286
142347
|
import { join as join62, resolve as resolve35 } from "node:path";
|
|
142287
142348
|
import { isDeepStrictEqual as isDeepStrictEqual10 } from "node:util";
|
|
142288
142349
|
|
|
@@ -143105,8 +143166,8 @@ var DiskPalCommunicationStore = class {
|
|
|
143105
143166
|
}
|
|
143106
143167
|
directory(path2) {
|
|
143107
143168
|
mkdirSync16(path2, { recursive: true, mode: 448 });
|
|
143108
|
-
const stat25 =
|
|
143109
|
-
if (!stat25.isDirectory() || stat25.isSymbolicLink() ||
|
|
143169
|
+
const stat25 = lstatSync12(path2);
|
|
143170
|
+
if (!stat25.isDirectory() || stat25.isSymbolicLink() || realpathSync11(path2) !== path2)
|
|
143110
143171
|
throw new Error("Pal communication requires a real directory without aliases.");
|
|
143111
143172
|
this.secure(path2);
|
|
143112
143173
|
}
|
|
@@ -143123,7 +143184,7 @@ var DiskPalCommunicationStore = class {
|
|
|
143123
143184
|
for (const name3 of readdirSync8(revisionsDir)) {
|
|
143124
143185
|
if (!/^[1-9][0-9]*\.json$/u.test(name3))
|
|
143125
143186
|
continue;
|
|
143126
|
-
const stat25 =
|
|
143187
|
+
const stat25 = lstatSync12(join62(revisionsDir, name3));
|
|
143127
143188
|
if (!stat25.isFile() || stat25.isSymbolicLink())
|
|
143128
143189
|
throw new Error("Pal communication commit must be a real file.");
|
|
143129
143190
|
}
|
|
@@ -143960,7 +144021,7 @@ async function dispatchPalMessagesOnce(options, recipient, signal) {
|
|
|
143960
144021
|
__name(dispatchPalMessagesOnce, "dispatchPalMessagesOnce");
|
|
143961
144022
|
|
|
143962
144023
|
// ../sdk/dist/pals/communication/policy.js
|
|
143963
|
-
import { chmodSync as chmodSync8, lstatSync as
|
|
144024
|
+
import { chmodSync as chmodSync8, lstatSync as lstatSync13, mkdirSync as mkdirSync17, readdirSync as readdirSync9, realpathSync as realpathSync12 } from "node:fs";
|
|
143964
144025
|
import { join as join63, resolve as resolve36 } from "node:path";
|
|
143965
144026
|
var PalMessagePermissionConflictError = class extends Error {
|
|
143966
144027
|
static {
|
|
@@ -144006,8 +144067,8 @@ var DiskPalMessagePolicy = class {
|
|
|
144006
144067
|
}
|
|
144007
144068
|
directory(path2) {
|
|
144008
144069
|
mkdirSync17(path2, { recursive: true, mode: 448 });
|
|
144009
|
-
const entry =
|
|
144010
|
-
if (!entry.isDirectory() || entry.isSymbolicLink() ||
|
|
144070
|
+
const entry = lstatSync13(path2);
|
|
144071
|
+
if (!entry.isDirectory() || entry.isSymbolicLink() || realpathSync12(path2) !== path2)
|
|
144011
144072
|
throw new Error("Pal communication policy requires real directories without aliases.");
|
|
144012
144073
|
this.secure(path2);
|
|
144013
144074
|
}
|
|
@@ -144637,7 +144698,7 @@ async function dispatchPalIngressOnce(options, recipient, signal) {
|
|
|
144637
144698
|
__name(dispatchPalIngressOnce, "dispatchPalIngressOnce");
|
|
144638
144699
|
|
|
144639
144700
|
// ../sdk/dist/pals/channels/routes.js
|
|
144640
|
-
import { chmodSync as chmodSync9, lstatSync as
|
|
144701
|
+
import { chmodSync as chmodSync9, lstatSync as lstatSync14, mkdirSync as mkdirSync18, readdirSync as readdirSync10, realpathSync as realpathSync13 } from "node:fs";
|
|
144641
144702
|
import { join as join64, resolve as resolve37 } from "node:path";
|
|
144642
144703
|
import { isDeepStrictEqual as isDeepStrictEqual11 } from "node:util";
|
|
144643
144704
|
|
|
@@ -144755,8 +144816,8 @@ var DiskPalChannelRoutes = class {
|
|
|
144755
144816
|
}
|
|
144756
144817
|
directory(path2) {
|
|
144757
144818
|
mkdirSync18(path2, { recursive: true, mode: 448 });
|
|
144758
|
-
const entry =
|
|
144759
|
-
if (!entry.isDirectory() || entry.isSymbolicLink() ||
|
|
144819
|
+
const entry = lstatSync14(path2);
|
|
144820
|
+
if (!entry.isDirectory() || entry.isSymbolicLink() || realpathSync13(path2) !== path2)
|
|
144760
144821
|
throw new Error("Channel routes require real directories without aliases.");
|
|
144761
144822
|
this.secure(path2);
|
|
144762
144823
|
}
|
|
@@ -144769,13 +144830,13 @@ var DiskPalChannelRoutes = class {
|
|
|
144769
144830
|
for (const name3 of readdirSync10(revisionsDir)) {
|
|
144770
144831
|
if (!/^[1-9][0-9]*\.json$/u.test(name3))
|
|
144771
144832
|
continue;
|
|
144772
|
-
const entry =
|
|
144833
|
+
const entry = lstatSync14(join64(revisionsDir, name3));
|
|
144773
144834
|
if (!entry.isFile() || entry.isSymbolicLink())
|
|
144774
144835
|
throw new Error("Channel route commits must be real files.");
|
|
144775
144836
|
}
|
|
144776
144837
|
const legacyPath = join64(directory, "route.json");
|
|
144777
144838
|
try {
|
|
144778
|
-
const legacy =
|
|
144839
|
+
const legacy = lstatSync14(legacyPath);
|
|
144779
144840
|
if (!legacy.isFile() || legacy.isSymbolicLink())
|
|
144780
144841
|
throw new Error("Channel route projections must be real files.");
|
|
144781
144842
|
} catch (error62) {
|
|
@@ -145067,7 +145128,7 @@ var PalChannelRouter = class {
|
|
|
145067
145128
|
};
|
|
145068
145129
|
|
|
145069
145130
|
// ../sdk/dist/pals/activity/subscription-store.js
|
|
145070
|
-
import { chmodSync as chmodSync10, lstatSync as
|
|
145131
|
+
import { chmodSync as chmodSync10, lstatSync as lstatSync15, mkdirSync as mkdirSync19, readdirSync as readdirSync11, realpathSync as realpathSync14 } from "node:fs";
|
|
145071
145132
|
import { join as join65, resolve as resolve38 } from "node:path";
|
|
145072
145133
|
import { isDeepStrictEqual as isDeepStrictEqual14 } from "node:util";
|
|
145073
145134
|
|
|
@@ -145116,8 +145177,8 @@ var DiskPalActivitySubscriptionStore = class {
|
|
|
145116
145177
|
}
|
|
145117
145178
|
directory(path2) {
|
|
145118
145179
|
mkdirSync19(path2, { recursive: true, mode: 448 });
|
|
145119
|
-
const stat25 =
|
|
145120
|
-
if (!stat25.isDirectory() || stat25.isSymbolicLink() ||
|
|
145180
|
+
const stat25 = lstatSync15(path2);
|
|
145181
|
+
if (!stat25.isDirectory() || stat25.isSymbolicLink() || realpathSync14(path2) !== path2)
|
|
145121
145182
|
throw new Error("Pal subscriptions require real directories without aliases.");
|
|
145122
145183
|
this.secure(path2);
|
|
145123
145184
|
}
|
|
@@ -145131,7 +145192,7 @@ var DiskPalActivitySubscriptionStore = class {
|
|
|
145131
145192
|
for (const name3 of readdirSync11(revisionsDir)) {
|
|
145132
145193
|
if (!/^[1-9][0-9]*\.json$/u.test(name3))
|
|
145133
145194
|
continue;
|
|
145134
|
-
const stat25 =
|
|
145195
|
+
const stat25 = lstatSync15(join65(revisionsDir, name3));
|
|
145135
145196
|
if (!stat25.isFile() || stat25.isSymbolicLink())
|
|
145136
145197
|
throw new Error("Pal subscription commits must be real files.");
|
|
145137
145198
|
}
|
|
@@ -145154,8 +145215,8 @@ var DiskPalActivitySubscriptionStore = class {
|
|
|
145154
145215
|
/** Complete current records for trusted host projection; a bad record rejects the whole list. */
|
|
145155
145216
|
async list() {
|
|
145156
145217
|
try {
|
|
145157
|
-
const entry =
|
|
145158
|
-
if (!entry.isDirectory() || entry.isSymbolicLink() ||
|
|
145218
|
+
const entry = lstatSync15(this.root);
|
|
145219
|
+
if (!entry.isDirectory() || entry.isSymbolicLink() || realpathSync14(this.root) !== this.root)
|
|
145159
145220
|
throw new Error("Pal subscriptions require real directories without aliases.");
|
|
145160
145221
|
} catch (error62) {
|
|
145161
145222
|
if (error62.code === "ENOENT")
|
|
@@ -145228,7 +145289,7 @@ var DiskPalActivitySubscriptionStore = class {
|
|
|
145228
145289
|
};
|
|
145229
145290
|
|
|
145230
145291
|
// ../sdk/dist/pals/activity/subscription-policy.js
|
|
145231
|
-
import { chmodSync as chmodSync11, lstatSync as
|
|
145292
|
+
import { chmodSync as chmodSync11, lstatSync as lstatSync16, mkdirSync as mkdirSync20, readdirSync as readdirSync12, realpathSync as realpathSync15 } from "node:fs";
|
|
145232
145293
|
import { join as join66, resolve as resolve39 } from "node:path";
|
|
145233
145294
|
import { isDeepStrictEqual as isDeepStrictEqual15 } from "node:util";
|
|
145234
145295
|
var PalActivitySubscriptionPermissionConflictError = class extends Error {
|
|
@@ -145274,8 +145335,8 @@ var DiskPalActivitySubscriptionPolicy = class {
|
|
|
145274
145335
|
}
|
|
145275
145336
|
directory(path2) {
|
|
145276
145337
|
mkdirSync20(path2, { recursive: true, mode: 448 });
|
|
145277
|
-
const stat25 =
|
|
145278
|
-
if (!stat25.isDirectory() || stat25.isSymbolicLink() ||
|
|
145338
|
+
const stat25 = lstatSync16(path2);
|
|
145339
|
+
if (!stat25.isDirectory() || stat25.isSymbolicLink() || realpathSync15(path2) !== path2)
|
|
145279
145340
|
throw new Error("Pal activity permissions require real directories without aliases.");
|
|
145280
145341
|
this.secure(path2);
|
|
145281
145342
|
}
|
|
@@ -145289,7 +145350,7 @@ var DiskPalActivitySubscriptionPolicy = class {
|
|
|
145289
145350
|
for (const name3 of readdirSync12(revisionsDir)) {
|
|
145290
145351
|
if (!/^[1-9][0-9]*\.json$/u.test(name3))
|
|
145291
145352
|
continue;
|
|
145292
|
-
const stat25 =
|
|
145353
|
+
const stat25 = lstatSync16(join66(revisionsDir, name3));
|
|
145293
145354
|
if (!stat25.isFile() || stat25.isSymbolicLink())
|
|
145294
145355
|
throw new Error("Pal permission commits must be real files.");
|
|
145295
145356
|
}
|
|
@@ -145880,7 +145941,7 @@ function admitToolFacts(value) {
|
|
|
145880
145941
|
__name(admitToolFacts, "admitToolFacts");
|
|
145881
145942
|
|
|
145882
145943
|
// ../sdk/dist/tools/builtins/glob.js
|
|
145883
|
-
import { isAbsolute as isAbsolute23, join as join67, relative as relative13, sep as
|
|
145944
|
+
import { isAbsolute as isAbsolute23, join as join67, relative as relative13, sep as sep15 } from "node:path";
|
|
145884
145945
|
|
|
145885
145946
|
// ../sdk/dist/tools/posix-path.js
|
|
145886
145947
|
function normalizeSegments(path2) {
|
|
@@ -145930,7 +145991,7 @@ function resolveWithinPosix(root, candidate) {
|
|
|
145930
145991
|
__name(resolveWithinPosix, "resolveWithinPosix");
|
|
145931
145992
|
|
|
145932
145993
|
// ../sdk/dist/tools/builtins/search-support.js
|
|
145933
|
-
import { isAbsolute as isAbsolute22, join as joinPath2, posix as posix8, relative as relative12, sep as
|
|
145994
|
+
import { isAbsolute as isAbsolute22, join as joinPath2, posix as posix8, relative as relative12, sep as sep14 } from "node:path";
|
|
145934
145995
|
var SEARCH_BUDGET_MS = 12e3;
|
|
145935
145996
|
var MAX_FILES_SEARCHED = 5e4;
|
|
145936
145997
|
function openSearchBudget(parent, budgetMs = SEARCH_BUDGET_MS) {
|
|
@@ -145955,9 +146016,9 @@ function hostDisplayPath(workingDirectory, absolute) {
|
|
|
145955
146016
|
const rel = relative12(workingDirectory, absolute);
|
|
145956
146017
|
if (rel === "")
|
|
145957
146018
|
return ".";
|
|
145958
|
-
if (rel === ".." || rel.startsWith(`..${
|
|
146019
|
+
if (rel === ".." || rel.startsWith(`..${sep14}`) || isAbsolute22(rel))
|
|
145959
146020
|
return absolute;
|
|
145960
|
-
return
|
|
146021
|
+
return sep14 === "/" ? rel : rel.split(sep14).join("/");
|
|
145961
146022
|
}
|
|
145962
146023
|
__name(hostDisplayPath, "hostDisplayPath");
|
|
145963
146024
|
function quoteControlPath(path2) {
|
|
@@ -146060,13 +146121,13 @@ var inputSchema9 = external_exports.object({
|
|
|
146060
146121
|
include_ignored: external_exports.boolean().optional().describe("Also return files that .gitignore and .ignore rules exclude, such as build output and dependencies. Default: false.")
|
|
146061
146122
|
});
|
|
146062
146123
|
function relativePattern(pattern, root, sandboxed) {
|
|
146063
|
-
let result = sandboxed ? pattern : pattern.split(
|
|
146124
|
+
let result = sandboxed ? pattern : pattern.split(sep15).join("/");
|
|
146064
146125
|
if (result.split("/").includes("..")) {
|
|
146065
146126
|
throw new Error('Glob pattern escapes the search directory through "..". Choose a contained path and a relative pattern.');
|
|
146066
146127
|
}
|
|
146067
146128
|
if (sandboxed ? result.startsWith("/") : isAbsolute23(pattern)) {
|
|
146068
146129
|
const contained2 = sandboxed ? resolveWithinPosix(root, result) : resolveWithin(root, pattern);
|
|
146069
|
-
result = sandboxed ? relativePosix(root, contained2) : relative13(root, contained2).split(
|
|
146130
|
+
result = sandboxed ? relativePosix(root, contained2) : relative13(root, contained2).split(sep15).join("/");
|
|
146070
146131
|
}
|
|
146071
146132
|
while (result.startsWith("./"))
|
|
146072
146133
|
result = result.slice(2);
|
|
@@ -146203,7 +146264,7 @@ ${ignoredHint(ignored)}` : "";
|
|
|
146203
146264
|
|
|
146204
146265
|
// ../sdk/dist/tools/builtins/code-analysis.js
|
|
146205
146266
|
import { realpath as realpath14, stat as stat19 } from "node:fs/promises";
|
|
146206
|
-
import { isAbsolute as isAbsolute24, relative as relative14, sep as
|
|
146267
|
+
import { isAbsolute as isAbsolute24, relative as relative14, sep as sep16 } from "node:path";
|
|
146207
146268
|
var DEFAULT_LIMIT = 50;
|
|
146208
146269
|
var MAX_LIMIT = 200;
|
|
146209
146270
|
var DEFAULT_MAX_CHARS = 2e4;
|
|
@@ -146484,9 +146545,9 @@ async function owningRoot(roots, target) {
|
|
|
146484
146545
|
__name(owningRoot, "owningRoot");
|
|
146485
146546
|
function relativeTo(root, path2) {
|
|
146486
146547
|
const rel = relative14(root, path2);
|
|
146487
|
-
if (rel === "" || rel === ".." || rel.startsWith(`..${
|
|
146548
|
+
if (rel === "" || rel === ".." || rel.startsWith(`..${sep16}`) || isAbsolute24(rel))
|
|
146488
146549
|
return path2;
|
|
146489
|
-
return
|
|
146550
|
+
return sep16 === "/" ? rel : rel.split(sep16).join("/");
|
|
146490
146551
|
}
|
|
146491
146552
|
__name(relativeTo, "relativeTo");
|
|
146492
146553
|
function shortFunction(fn) {
|
|
@@ -146705,7 +146766,7 @@ __name(getCodeNavigationTools, "getCodeNavigationTools");
|
|
|
146705
146766
|
|
|
146706
146767
|
// ../sdk/dist/tools/builtins/grep.js
|
|
146707
146768
|
import { stat as stat20 } from "node:fs/promises";
|
|
146708
|
-
import { dirname as dirname33, isAbsolute as isAbsolute25, join as join68, relative as relative15, resolve as resolve40, sep as
|
|
146769
|
+
import { dirname as dirname33, isAbsolute as isAbsolute25, join as join68, relative as relative15, resolve as resolve40, sep as sep17 } from "node:path";
|
|
146709
146770
|
async function readWithSignal(read, signal) {
|
|
146710
146771
|
signal?.throwIfAborted();
|
|
146711
146772
|
if (!signal)
|
|
@@ -146754,7 +146815,7 @@ function createLocalReader(root, signal) {
|
|
|
146754
146815
|
const real = await realDirectory(directory);
|
|
146755
146816
|
rootReal ??= await rootRealPromise;
|
|
146756
146817
|
const contained2 = real === directory ? filePath : join68(real, filePath.slice(directory.length + 1));
|
|
146757
|
-
if (!(contained2.startsWith(rootReal +
|
|
146818
|
+
if (!(contained2.startsWith(rootReal + sep17) || contained2 === rootReal)) {
|
|
146758
146819
|
const rel = relative15(rootReal, contained2);
|
|
146759
146820
|
if (rel.startsWith("..") || isAbsolute25(rel)) {
|
|
146760
146821
|
throw new Error("Path escapes the working directory through a link.");
|
|
@@ -146780,7 +146841,7 @@ function createLocalReader(root, signal) {
|
|
|
146780
146841
|
__name(createLocalReader, "createLocalReader");
|
|
146781
146842
|
var PLAIN_TAIL = /(^|\/)\.{1,2}(\/|$)|\/\/|\/$/;
|
|
146782
146843
|
function createWalkedPaths(root, lexicalRoot, workingDirectory) {
|
|
146783
|
-
if (
|
|
146844
|
+
if (sep17 !== "/")
|
|
146784
146845
|
return void 0;
|
|
146785
146846
|
const prefix = root === "/" ? "/" : `${root}/`;
|
|
146786
146847
|
const rootRel = relative15(workingDirectory, lexicalRoot);
|
|
@@ -146806,12 +146867,12 @@ function createWalkedPaths(root, lexicalRoot, workingDirectory) {
|
|
|
146806
146867
|
}
|
|
146807
146868
|
__name(createWalkedPaths, "createWalkedPaths");
|
|
146808
146869
|
function relativeInclude(include, root, sandboxed) {
|
|
146809
|
-
let pattern = sandboxed ? include : include.split(
|
|
146870
|
+
let pattern = sandboxed ? include : include.split(sep17).join("/");
|
|
146810
146871
|
if (pattern.split("/").includes(".."))
|
|
146811
146872
|
throw new Error("Include pattern escapes the search directory");
|
|
146812
146873
|
if (sandboxed ? pattern.startsWith("/") : isAbsolute25(include)) {
|
|
146813
146874
|
const absolute = sandboxed ? resolveWithinPosix(root, pattern) : resolveWithin(root, include);
|
|
146814
|
-
pattern = sandboxed ? relativePosix(root, absolute) : relative15(root, absolute).split(
|
|
146875
|
+
pattern = sandboxed ? relativePosix(root, absolute) : relative15(root, absolute).split(sep17).join("/");
|
|
146815
146876
|
}
|
|
146816
146877
|
while (pattern.startsWith("./"))
|
|
146817
146878
|
pattern = pattern.slice(2);
|
|
@@ -152269,7 +152330,7 @@ import { randomBytes as randomBytes16 } from "node:crypto";
|
|
|
152269
152330
|
import { createReadStream as createReadStream2 } from "node:fs";
|
|
152270
152331
|
import { realpath as realpath15, stat as stat24 } from "node:fs/promises";
|
|
152271
152332
|
import { createServer as createServer3 } from "node:http";
|
|
152272
|
-
import { basename as basename22, extname as extname4, isAbsolute as isAbsolute26, join as join70, relative as relative17, resolve as resolve43, sep as
|
|
152333
|
+
import { basename as basename22, extname as extname4, isAbsolute as isAbsolute26, join as join70, relative as relative17, resolve as resolve43, sep as sep18 } from "node:path";
|
|
152273
152334
|
var SCHEME = /^[A-Za-z][A-Za-z0-9+.-]*:/;
|
|
152274
152335
|
var WINDOWS_DRIVE = /^[A-Za-z]:[\\/]/;
|
|
152275
152336
|
function isWindowsDrivePath(path2) {
|
|
@@ -152360,14 +152421,14 @@ var LocalPageRefusal = class extends Error {
|
|
|
152360
152421
|
}
|
|
152361
152422
|
name = "LocalPageRefusal";
|
|
152362
152423
|
};
|
|
152363
|
-
function
|
|
152424
|
+
function isInside2(root, path2) {
|
|
152364
152425
|
const rel = relative17(root, path2);
|
|
152365
152426
|
return rel === "" || !rel.startsWith("..") && !isAbsolute26(rel);
|
|
152366
152427
|
}
|
|
152367
|
-
__name(
|
|
152428
|
+
__name(isInside2, "isInside");
|
|
152368
152429
|
function segmentsBelow(root, path2) {
|
|
152369
152430
|
const rel = relative17(root, path2);
|
|
152370
|
-
return rel === "" ? [] : rel.split(
|
|
152431
|
+
return rel === "" ? [] : rel.split(sep18);
|
|
152371
152432
|
}
|
|
152372
152433
|
__name(segmentsBelow, "segmentsBelow");
|
|
152373
152434
|
function localPageRoots(context2) {
|
|
@@ -152406,9 +152467,9 @@ async function resolveLocalPage(reading, context2, platform2 = process.platform)
|
|
|
152406
152467
|
} catch {
|
|
152407
152468
|
}
|
|
152408
152469
|
}
|
|
152409
|
-
const root = realRoots.find((candidate) =>
|
|
152470
|
+
const root = realRoots.find((candidate) => isInside2(candidate, target));
|
|
152410
152471
|
if (root === void 0) {
|
|
152411
|
-
const linked = realRoots.some((candidate) =>
|
|
152472
|
+
const linked = realRoots.some((candidate) => isInside2(candidate, resolve43(lexical)));
|
|
152412
152473
|
throw new LocalPageRefusal(linked ? `${lexical} is a link that leads outside the allowed folders, to ${target}, so it is not opened. ${allowed}` : `${lexical} is outside the folders local pages open from. ${allowed}`);
|
|
152413
152474
|
}
|
|
152414
152475
|
let file2 = target;
|
|
@@ -152421,7 +152482,7 @@ async function resolveLocalPage(reading, context2, platform2 = process.platform)
|
|
|
152421
152482
|
} catch {
|
|
152422
152483
|
throw new LocalPageRefusal(`${lexical} is a folder with no index.html; folders are never listed. Name the page file. ${allowed}`);
|
|
152423
152484
|
}
|
|
152424
|
-
if (!
|
|
152485
|
+
if (!isInside2(root, file2)) {
|
|
152425
152486
|
throw new LocalPageRefusal(`${lexical}/index.html leads outside the allowed folders.`);
|
|
152426
152487
|
}
|
|
152427
152488
|
}
|
|
@@ -152429,7 +152490,7 @@ async function resolveLocalPage(reading, context2, platform2 = process.platform)
|
|
|
152429
152490
|
throw new LocalPageRefusal(`${lexical} is not a file.`);
|
|
152430
152491
|
const segments = segmentsBelow(root, file2);
|
|
152431
152492
|
const secret = secretPathReason(segments);
|
|
152432
|
-
const lexicalRoot = localPageRoots(context2).map((candidate) => resolve43(candidate)).find((candidate) =>
|
|
152493
|
+
const lexicalRoot = localPageRoots(context2).map((candidate) => resolve43(candidate)).find((candidate) => isInside2(candidate, lexical));
|
|
152433
152494
|
const lexicalSecret = lexicalRoot === void 0 ? void 0 : secretPathReason(segmentsBelow(lexicalRoot, lexical));
|
|
152434
152495
|
const reason = secret ?? lexicalSecret;
|
|
152435
152496
|
if (reason !== void 0) {
|
|
@@ -152570,12 +152631,12 @@ var LocalPageServers = class {
|
|
|
152570
152631
|
let file2 = join70(root, ...segments);
|
|
152571
152632
|
try {
|
|
152572
152633
|
file2 = await realpath15(file2);
|
|
152573
|
-
if (!
|
|
152634
|
+
if (!isInside2(root, file2))
|
|
152574
152635
|
return respond(res, 403);
|
|
152575
152636
|
let info = await stat24(file2);
|
|
152576
152637
|
if (info.isDirectory()) {
|
|
152577
152638
|
file2 = await realpath15(join70(file2, "index.html"));
|
|
152578
|
-
if (!
|
|
152639
|
+
if (!isInside2(root, file2))
|
|
152579
152640
|
return respond(res, 403);
|
|
152580
152641
|
info = await stat24(file2);
|
|
152581
152642
|
}
|
|
@@ -156507,6 +156568,8 @@ export {
|
|
|
156507
156568
|
createViewImageTool,
|
|
156508
156569
|
ViewImageTool,
|
|
156509
156570
|
ReadFileTool,
|
|
156571
|
+
UnsafeWritePathError,
|
|
156572
|
+
atomicWriteFile2 as atomicWriteFile,
|
|
156510
156573
|
diffWords,
|
|
156511
156574
|
diffLines,
|
|
156512
156575
|
structuredPatch,
|
|
@@ -157354,4 +157417,4 @@ export {
|
|
|
157354
157417
|
WakeBudget,
|
|
157355
157418
|
wakeBudgetFromEnv
|
|
157356
157419
|
};
|
|
157357
|
-
//# sourceMappingURL=chunk-
|
|
157420
|
+
//# sourceMappingURL=chunk-IOTYZLY5.js.map
|