@opencode/core 0.0.0-dev-19882 → 0.0.0-dev-19883
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/dist/account/sql.js +1 -1
- package/dist/agent.js +78 -78
- package/dist/aisdk-native.js +88 -88
- package/dist/aisdk.js +93 -93
- package/dist/app.js +9 -9
- package/dist/bus.js +68 -68
- package/dist/chunks/event-logger-05e5mmsy.js +252 -0
- package/dist/chunks/{file-retention-cgx608pj.js → event-logger-08pqa12r.js} +14 -14
- package/dist/chunks/{file-retention-af04s6ss.js → event-logger-0f9afca0.js} +5 -5
- package/dist/chunks/{file-retention-zvcs2h3f.js → event-logger-0jcepjca.js} +10 -10
- package/dist/chunks/{file-retention-7dqw4kz8.js → event-logger-0jwsre1p.js} +5 -5
- package/dist/chunks/{file-retention-0paq2nw3.js → event-logger-0paq2nw3.js} +1 -1
- package/dist/chunks/{file-retention-qdme6shq.js → event-logger-0pasfmx1.js} +12 -12
- package/dist/chunks/{file-retention-0q0f95c6.js → event-logger-0q0f95c6.js} +1 -1
- package/dist/chunks/{file-retention-yq8wzs83.js → event-logger-148btmhs.js} +56 -56
- package/dist/chunks/{file-retention-6tkqkfbf.js → event-logger-17dw7sdx.js} +46 -46
- package/dist/chunks/{file-retention-yp2x3t23.js → event-logger-1acjjqhc.js} +4 -4
- package/dist/chunks/{file-retention-1dazxqgg.js → event-logger-1dazxqgg.js} +2 -2
- package/dist/chunks/{file-retention-8y74cv5j.js → event-logger-1mx79f5s.js} +21 -21
- package/dist/chunks/{file-retention-8b167y8a.js → event-logger-1r23a98c.js} +35 -35
- package/dist/chunks/{file-retention-nfmjes2s.js → event-logger-1xbk51d1.js} +3 -3
- package/dist/chunks/{file-retention-0xwbjxfr.js → event-logger-1yf2qjj7.js} +25 -25
- package/dist/chunks/{file-retention-tjqchgqk.js → event-logger-1zqt6k48.js} +11 -11
- package/dist/chunks/{file-retention-21r38tys.js → event-logger-21r38tys.js} +1 -1
- package/dist/chunks/{file-retention-2402vzrj.js → event-logger-2402vzrj.js} +1 -1
- package/dist/chunks/event-logger-28bncwe8.js +26 -0
- package/dist/chunks/{file-retention-2a5m3afh.js → event-logger-2a5m3afh.js} +1 -1
- package/dist/chunks/{file-retention-vwhz9c2y.js → event-logger-2hppe1qg.js} +27 -27
- package/dist/chunks/{file-retention-ckzj2a1x.js → event-logger-2mn660gm.js} +11 -11
- package/dist/chunks/{file-retention-qek8dtx8.js → event-logger-2syw43ez.js} +11 -11
- package/dist/chunks/{file-retention-2f0bjgcj.js → event-logger-3cfzdc8e.js} +5 -5
- package/dist/chunks/{file-retention-984gzsd7.js → event-logger-3csn3f6x.js} +24 -24
- package/dist/chunks/{file-retention-3fc6dm20.js → event-logger-3fc6dm20.js} +1 -1
- package/dist/chunks/{file-retention-3hepkmqq.js → event-logger-3hepkmqq.js} +1 -1
- package/dist/chunks/{file-retention-c9dd285s.js → event-logger-3m7gm69k.js} +47 -47
- package/dist/chunks/{file-retention-ayrh20bw.js → event-logger-3pt4dhyb.js} +7 -7
- package/dist/chunks/{file-retention-3smtnn6g.js → event-logger-3smtnn6g.js} +1 -1
- package/dist/chunks/{file-retention-f5yqwc0y.js → event-logger-3td8ra85.js} +7 -7
- package/dist/chunks/{file-retention-3tvqynh2.js → event-logger-3tvqynh2.js} +1 -1
- package/dist/chunks/{file-retention-k5q0tfv3.js → event-logger-3w5nwqty.js} +40 -40
- package/dist/chunks/{file-retention-cf78hqg4.js → event-logger-3xa9cbtx.js} +3 -3
- package/dist/chunks/{file-retention-m6b0tvc0.js → event-logger-3y81hdb8.js} +3 -3
- package/dist/chunks/{file-retention-mejjs3gq.js → event-logger-40zcdha5.js} +11 -11
- package/dist/chunks/{file-retention-fkjmw100.js → event-logger-44ke2mar.js} +6 -6
- package/dist/chunks/{file-retention-q7qrw62a.js → event-logger-46efvg8p.js} +8 -8
- package/dist/chunks/{file-retention-1w78bxtf.js → event-logger-46msr37g.js} +9 -9
- package/dist/chunks/{file-retention-8mh6qs45.js → event-logger-475xsn2x.js} +5 -5
- package/dist/chunks/{file-retention-cfpt4yrn.js → event-logger-4fdckjx1.js} +21 -21
- package/dist/chunks/{file-retention-gj3qr6k7.js → event-logger-4s11dycz.js} +50 -50
- package/dist/chunks/{file-retention-1s6npp0x.js → event-logger-4tr7qdh0.js} +9 -9
- package/dist/chunks/{file-retention-v7ffx8ea.js → event-logger-4ttkb0e5.js} +20 -20
- package/dist/chunks/{file-retention-q126tr5h.js → event-logger-4xv00g1r.js} +20 -20
- package/dist/chunks/{file-retention-qn4ba14w.js → event-logger-510m7gjw.js} +5 -5
- package/dist/chunks/{file-retention-was7srj9.js → event-logger-533t3k18.js} +8 -8
- package/dist/chunks/{file-retention-56gdpj1q.js → event-logger-56gdpj1q.js} +2 -2
- package/dist/chunks/{file-retention-57ez7d0k.js → event-logger-57ez7d0k.js} +2 -2
- package/dist/chunks/{file-retention-a1bz86dw.js → event-logger-5c4hm403.js} +3 -3
- package/dist/chunks/{file-retention-5daktx2q.js → event-logger-5daktx2q.js} +1 -1
- package/dist/chunks/{file-retention-dy7xfy74.js → event-logger-5g0g34ek.js} +10 -10
- package/dist/chunks/{file-retention-dkrr66w3.js → event-logger-5gk8amnh.js} +8 -8
- package/dist/chunks/{file-retention-4cp2jqb2.js → event-logger-5jghf0hr.js} +17 -17
- package/dist/chunks/{file-retention-xh89e2hh.js → event-logger-5qpddqx9.js} +33 -33
- package/dist/chunks/{file-retention-5s5jpmcb.js → event-logger-5sfbvqw6.js} +24 -24
- package/dist/chunks/{file-retention-5t3nmthw.js → event-logger-5t3nmthw.js} +2 -2
- package/dist/chunks/{file-retention-bm43m6wm.js → event-logger-5t3q07mb.js} +9 -9
- package/dist/chunks/{file-retention-rd456c9t.js → event-logger-5y196rt8.js} +22 -22
- package/dist/chunks/{file-retention-axe08f99.js → event-logger-60ya4rxq.js} +29 -29
- package/dist/chunks/{file-retention-wda1wpd5.js → event-logger-619d0a7n.js} +16 -16
- package/dist/chunks/{file-retention-0465j91r.js → event-logger-63m4sj6v.js} +13 -13
- package/dist/chunks/{file-retention-669tq793.js → event-logger-669tq793.js} +1 -1
- package/dist/chunks/{file-retention-3tvxnvmk.js → event-logger-6h1q4549.js} +27 -27
- package/dist/chunks/{file-retention-q67fkkta.js → event-logger-6hc1ve34.js} +9 -9
- package/dist/chunks/{file-retention-3fy2htfg.js → event-logger-6hsqvad3.js} +24 -24
- package/dist/chunks/{file-retention-6msgmcgs.js → event-logger-6msgmcgs.js} +1 -1
- package/dist/chunks/{file-retention-7bmhse3q.js → event-logger-7bmhse3q.js} +1 -1
- package/dist/chunks/{file-retention-ab8cnxkj.js → event-logger-7np6y5v9.js} +12 -12
- package/dist/chunks/{file-retention-3y98hz0x.js → event-logger-89wvkx3n.js} +82 -82
- package/dist/chunks/{file-retention-m474z1kw.js → event-logger-8akqzrar.js} +18 -18
- package/dist/chunks/{file-retention-9x2j21m7.js → event-logger-8d1k587k.js} +31 -31
- package/dist/chunks/{file-retention-8d7r5vzw.js → event-logger-8d7r5vzw.js} +1 -1
- package/dist/chunks/{file-retention-qby9dwvd.js → event-logger-8mbscqky.js} +8 -8
- package/dist/chunks/{file-retention-ppvrv3b5.js → event-logger-8mfkgmb0.js} +1 -1
- package/dist/chunks/{file-retention-1dan17xy.js → event-logger-8qmmky1n.js} +10 -10
- package/dist/chunks/{file-retention-wkd68h98.js → event-logger-8w6a2ddy.js} +32 -32
- package/dist/chunks/{file-retention-2avmftzw.js → event-logger-8xfdh4m7.js} +8 -8
- package/dist/chunks/{file-retention-kd4bpffd.js → event-logger-8y0ey7w7.js} +15 -15
- package/dist/chunks/{file-retention-2kvyq317.js → event-logger-8zv0ajwr.js} +13 -13
- package/dist/chunks/{file-retention-eeaf82dq.js → event-logger-9c3np669.js} +8 -8
- package/dist/chunks/event-logger-9sh4wc5j.js +18 -0
- package/dist/chunks/{file-retention-wjv2nsv8.js → event-logger-a1apahce.js} +6 -6
- package/dist/chunks/{file-retention-mpc2mza6.js → event-logger-a25zmek9.js} +12 -12
- package/dist/chunks/{file-retention-xnr80fb6.js → event-logger-a48tmg35.js} +3 -3
- package/dist/chunks/{file-retention-pb1eahw5.js → event-logger-a68v6zx7.js} +8 -8
- package/dist/chunks/{file-retention-aaet6srn.js → event-logger-aaet6srn.js} +2 -2
- package/dist/chunks/{file-retention-ds33edxf.js → event-logger-adbn4dna.js} +18 -18
- package/dist/chunks/{file-retention-hhahvva9.js → event-logger-addpfpm2.js} +2 -2
- package/dist/chunks/{file-retention-6tg303q8.js → event-logger-afdq0bv9.js} +3 -3
- package/dist/chunks/{file-retention-954vm9zf.js → event-logger-ah5wg1j1.js} +6 -6
- package/dist/chunks/{file-retention-w2pkbhw2.js → event-logger-akg7mpd2.js} +17 -17
- package/dist/chunks/{file-retention-w44rhn25.js → event-logger-as30p4pk.js} +22 -22
- package/dist/chunks/{file-retention-4cf05jz0.js → event-logger-b282z4ws.js} +20 -20
- package/dist/chunks/{file-retention-aj2jtzg2.js → event-logger-b6d8p86x.js} +9 -9
- package/dist/chunks/{file-retention-b6gygkdw.js → event-logger-b6gygkdw.js} +2 -2
- package/dist/chunks/{file-retention-8zqwde36.js → event-logger-b9pgx79x.js} +1 -1
- package/dist/chunks/{file-retention-8s3n9c7m.js → event-logger-bbcxnpjs.js} +22 -22
- package/dist/chunks/{file-retention-4ygb4b7g.js → event-logger-bbj18gvp.js} +2 -2
- package/dist/chunks/{file-retention-4n8q391k.js → event-logger-bgaehm52.js} +14 -14
- package/dist/chunks/{file-retention-215n7470.js → event-logger-bwckxjxx.js} +11 -11
- package/dist/chunks/{file-retention-yc9v5tg1.js → event-logger-c121y83y.js} +9 -9
- package/dist/chunks/{file-retention-c8z6r1re.js → event-logger-c1np9tvh.js} +12 -12
- package/dist/chunks/{file-retention-c765mh8b.js → event-logger-c765mh8b.js} +2 -2
- package/dist/chunks/{file-retention-4f92x3nk.js → event-logger-c7a8dyv3.js} +3 -3
- package/dist/chunks/{file-retention-tcay1cqt.js → event-logger-c8bydgjz.js} +6 -6
- package/dist/chunks/{file-retention-k0vw0a2j.js → event-logger-c9sk7z94.js} +15 -15
- package/dist/chunks/{file-retention-n7kj0nfb.js → event-logger-cc6fgmxw.js} +19 -19
- package/dist/chunks/{file-retention-53tprqe9.js → event-logger-cd9nda8q.js} +15 -15
- package/dist/chunks/{file-retention-kz3hpxab.js → event-logger-ceaeedp1.js} +6 -6
- package/dist/chunks/{file-retention-37b5a4wm.js → event-logger-ch0zjgx3.js} +20 -20
- package/dist/chunks/{file-retention-htdsj6r1.js → event-logger-cj65b5yb.js} +18 -18
- package/dist/chunks/{file-retention-0a2z30tt.js → event-logger-ckqp5h15.js} +34 -34
- package/dist/chunks/{file-retention-phstrbs2.js → event-logger-cmwkp3r5.js} +8 -8
- package/dist/chunks/{file-retention-hd72gfym.js → event-logger-cq9babp4.js} +17 -17
- package/dist/chunks/{file-retention-tb78nqd6.js → event-logger-cr4m8zwx.js} +11 -11
- package/dist/chunks/{file-retention-tb4jd28d.js → event-logger-cxzmmvrx.js} +6 -6
- package/dist/chunks/{file-retention-qns4nxe6.js → event-logger-d52xjy57.js} +25 -25
- package/dist/chunks/{file-retention-8p4f9s12.js → event-logger-dj2t23y0.js} +2 -2
- package/dist/chunks/{file-retention-dpkg50ah.js → event-logger-dpkg50ah.js} +1 -1
- package/dist/chunks/{file-retention-xcc8tqnx.js → event-logger-dtm1n4d8.js} +10 -10
- package/dist/chunks/{file-retention-4an14yhs.js → event-logger-dtv5040x.js} +8 -8
- package/dist/chunks/{file-retention-8mgkexa6.js → event-logger-dwhttab4.js} +12 -12
- package/dist/chunks/{file-retention-6xwcf1a8.js → event-logger-dz8x4rxg.js} +4 -4
- package/dist/chunks/{file-retention-s18791rc.js → event-logger-ef1vt8sq.js} +4 -4
- package/dist/chunks/{file-retention-ef5x83kb.js → event-logger-ef5x83kb.js} +1 -1
- package/dist/chunks/{file-retention-kd60309v.js → event-logger-efadqd38.js} +3 -3
- package/dist/chunks/{file-retention-w7dexayp.js → event-logger-eh6z0q8m.js} +27 -27
- package/dist/chunks/{file-retention-673ngpmn.js → event-logger-ejre7x2g.js} +14 -14
- package/dist/chunks/{file-retention-embw8kgh.js → event-logger-embw8kgh.js} +1 -1
- package/dist/chunks/{file-retention-j50syq5q.js → event-logger-enxf8gt6.js} +18 -18
- package/dist/chunks/{file-retention-6jr39b9q.js → event-logger-erw0j3dc.js} +15 -15
- package/dist/chunks/{file-retention-erw5rpbs.js → event-logger-erw5rpbs.js} +2 -2
- package/dist/chunks/{file-retention-etq0c3wd.js → event-logger-etq0c3wd.js} +1 -1
- package/dist/chunks/{file-retention-hen7z686.js → event-logger-ewzsd05a.js} +25 -25
- package/dist/chunks/{file-retention-cjwramev.js → event-logger-ezy2bptn.js} +8 -8
- package/dist/chunks/{file-retention-ykxsfcqd.js → event-logger-f0ekz9ts.js} +17 -17
- package/dist/chunks/{file-retention-fja4vk1j.js → event-logger-f19mgfsc.js} +9 -9
- package/dist/chunks/{file-retention-eaew7zx1.js → event-logger-f1ckv151.js} +15 -15
- package/dist/chunks/{file-retention-pnbe07hy.js → event-logger-fc3harsg.js} +5 -5
- package/dist/chunks/{file-retention-yn99y8fk.js → event-logger-fm7r8sy8.js} +6 -6
- package/dist/chunks/{file-retention-j58c5xyq.js → event-logger-fqcgpcra.js} +9 -9
- package/dist/chunks/{file-retention-pr2185cp.js → event-logger-fr5z3gca.js} +1 -1
- package/dist/chunks/{file-retention-fxbjtjnd.js → event-logger-fxbjtjnd.js} +1 -1
- package/dist/chunks/{file-retention-c86z6gw9.js → event-logger-gbspdhem.js} +7 -7
- package/dist/chunks/{file-retention-pepar0ja.js → event-logger-gc0sa5ac.js} +66 -66
- package/dist/chunks/{file-retention-4drgpw32.js → event-logger-gcavn3wx.js} +5 -5
- package/dist/chunks/{file-retention-gd4qta3r.js → event-logger-gd4qta3r.js} +1 -1
- package/dist/chunks/{file-retention-e3t6na1y.js → event-logger-gjdnp5j1.js} +1 -1
- package/dist/chunks/{file-retention-gv6a8nnw.js → event-logger-gv6a8nnw.js} +2 -2
- package/dist/chunks/{file-retention-yj9gc6e9.js → event-logger-gz9012ze.js} +4 -4
- package/dist/chunks/{file-retention-1jetprvn.js → event-logger-h4gjr50j.js} +4 -4
- package/dist/chunks/{file-retention-h4z1mxff.js → event-logger-h4z1mxff.js} +2 -2
- package/dist/chunks/{file-retention-h6r3nrb9.js → event-logger-h6r3nrb9.js} +1 -1
- package/dist/chunks/{file-retention-h6vf3j39.js → event-logger-h6vf3j39.js} +1 -1
- package/dist/chunks/{file-retention-qnjwxcy5.js → event-logger-h9e7zzhd.js} +6 -6
- package/dist/chunks/{file-retention-f828m53h.js → event-logger-hdnk95c8.js} +2 -2
- package/dist/chunks/{file-retention-k779xt46.js → event-logger-he4jzgvh.js} +14 -14
- package/dist/chunks/{file-retention-phgk4j5x.js → event-logger-hxcpnqqq.js} +10 -10
- package/dist/chunks/{file-retention-aaxh33wy.js → event-logger-j113hsvj.js} +8 -8
- package/dist/chunks/{file-retention-p0b4ytnr.js → event-logger-j15mfg1p.js} +4 -4
- package/dist/chunks/{file-retention-bscb95cy.js → event-logger-j311gd59.js} +7 -7
- package/dist/chunks/{file-retention-j56e64zr.js → event-logger-j56e64zr.js} +1 -1
- package/dist/chunks/{file-retention-yedm1x7m.js → event-logger-j945v2sv.js} +24 -24
- package/dist/chunks/{file-retention-6dxv2793.js → event-logger-jbzwn50f.js} +46 -46
- package/dist/chunks/{file-retention-jjs74g98.js → event-logger-jjs74g98.js} +2 -2
- package/dist/chunks/{file-retention-cq37gk0t.js → event-logger-jmphe03k.js} +4 -4
- package/dist/chunks/{file-retention-n3822xjh.js → event-logger-jqpxjgen.js} +24 -24
- package/dist/chunks/{file-retention-k3c624dm.js → event-logger-k3c624dm.js} +3 -3
- package/dist/chunks/{file-retention-7w99qc9d.js → event-logger-k6yq57aq.js} +2 -2
- package/dist/chunks/{file-retention-qrsctp9r.js → event-logger-k8qf691v.js} +15 -15
- package/dist/chunks/{file-retention-2f81yahh.js → event-logger-k9eyp8c5.js} +21 -21
- package/dist/chunks/{file-retention-kkp8zx71.js → event-logger-kkp8zx71.js} +1 -1
- package/dist/chunks/{file-retention-qqrhapfm.js → event-logger-km0q4cc0.js} +20 -20
- package/dist/chunks/{file-retention-g3y0met1.js → event-logger-kz7agx4r.js} +38 -38
- package/dist/chunks/{file-retention-cfpkc3c9.js → event-logger-m0jqrx5p.js} +2 -2
- package/dist/chunks/{file-retention-m3fdjcah.js → event-logger-m3fdjcah.js} +1 -1
- package/dist/chunks/{file-retention-m9w0rfyh.js → event-logger-m9w0rfyh.js} +1 -1
- package/dist/chunks/{file-retention-krmnc5cg.js → event-logger-mgs7q34e.js} +11 -11
- package/dist/chunks/{file-retention-06dxphr1.js → event-logger-msq0jde0.js} +4 -4
- package/dist/chunks/{file-retention-tc5he9wg.js → event-logger-mtd3hevm.js} +43 -43
- package/dist/chunks/{file-retention-a25dsj3m.js → event-logger-n22mwfxb.js} +47 -47
- package/dist/chunks/{file-retention-p3sjsf4c.js → event-logger-n7z9xjgh.js} +9 -9
- package/dist/chunks/{file-retention-hjqn29cc.js → event-logger-nemvvhp1.js} +1 -1
- package/dist/chunks/{file-retention-1xy1s23z.js → event-logger-newypggy.js} +10 -10
- package/dist/chunks/{file-retention-hpxktczp.js → event-logger-nhzac2vt.js} +20 -20
- package/dist/chunks/{file-retention-s3xynfkg.js → event-logger-nnwve76w.js} +10 -10
- package/dist/chunks/{file-retention-magykp64.js → event-logger-nrdmrqsx.js} +4 -4
- package/dist/chunks/{file-retention-grfryzp0.js → event-logger-ntr68xqe.js} +6 -6
- package/dist/chunks/{file-retention-k9avtbwf.js → event-logger-nv6sgpkb.js} +6 -6
- package/dist/chunks/{file-retention-k4pgmrqs.js → event-logger-nybvked5.js} +13 -13
- package/dist/chunks/{file-retention-tbz0fdvh.js → event-logger-p28j5sbe.js} +5 -5
- package/dist/chunks/{file-retention-564f0z0w.js → event-logger-p3yw0krh.js} +17 -17
- package/dist/chunks/{file-retention-raq0bhdx.js → event-logger-p6n5ewqn.js} +13 -13
- package/dist/chunks/{file-retention-p7nsp59h.js → event-logger-p7nsp59h.js} +1 -1
- package/dist/chunks/{file-retention-q116m3wp.js → event-logger-pg0h3cca.js} +7 -7
- package/dist/chunks/{file-retention-pjvnvgmy.js → event-logger-pjvnvgmy.js} +1 -1
- package/dist/chunks/{file-retention-a9z38t8t.js → event-logger-pkhzxmfp.js} +20 -20
- package/dist/chunks/{file-retention-pknna89w.js → event-logger-pknna89w.js} +1 -1
- package/dist/chunks/{file-retention-ypezmy3j.js → event-logger-pnezrcsm.js} +3 -3
- package/dist/chunks/{file-retention-bz85s9hh.js → event-logger-pstg3rfm.js} +1 -1
- package/dist/chunks/{file-retention-6v2v7y0g.js → event-logger-q1v1tjfj.js} +36 -36
- package/dist/chunks/{file-retention-66yb9ghn.js → event-logger-q3hye7rp.js} +43 -43
- package/dist/chunks/{file-retention-nxz2ctde.js → event-logger-q42dvkxw.js} +20 -20
- package/dist/chunks/{file-retention-wkx5y8be.js → event-logger-q4x4f9x3.js} +6 -6
- package/dist/chunks/{file-retention-yrdrmcw9.js → event-logger-qp1yqj07.js} +18 -18
- package/dist/chunks/{file-retention-8m0xfxha.js → event-logger-qp69s4zb.js} +12 -12
- package/dist/chunks/{file-retention-m06kr8rz.js → event-logger-qq10ch32.js} +25 -25
- package/dist/chunks/{file-retention-qsdy395h.js → event-logger-qsdy395h.js} +1 -1
- package/dist/chunks/{file-retention-swsjrdwb.js → event-logger-r3fw3xwq.js} +12 -12
- package/dist/chunks/{file-retention-mvfsc1pv.js → event-logger-r5x6zcsm.js} +3 -3
- package/dist/chunks/{file-retention-rdw6cm16.js → event-logger-rdw6cm16.js} +1 -1
- package/dist/chunks/{file-retention-dd7met55.js → event-logger-rmxzq7f5.js} +8 -8
- package/dist/chunks/{file-retention-m22wyk78.js → event-logger-rt0dk2st.js} +25 -25
- package/dist/chunks/{file-retention-rw8zzf0g.js → event-logger-rtbp0y8z.js} +8 -8
- package/dist/chunks/{file-retention-p7322rh5.js → event-logger-s78dcbxc.js} +13 -13
- package/dist/chunks/{file-retention-t9taxymt.js → event-logger-s8mtmqsj.js} +3 -3
- package/dist/chunks/{file-retention-qsxes4qb.js → event-logger-s8xqzfhv.js} +22 -22
- package/dist/chunks/{file-retention-50fcby8k.js → event-logger-scyg2gcb.js} +11 -11
- package/dist/chunks/{file-retention-c9fwgwbn.js → event-logger-sfh11f92.js} +22 -22
- package/dist/chunks/{file-retention-sb19sksh.js → event-logger-sfk65rgw.js} +8 -8
- package/dist/chunks/{file-retention-167dw5de.js → event-logger-sqgt392s.js} +35 -35
- package/dist/chunks/{file-retention-pkav3n9h.js → event-logger-syh73nww.js} +12 -12
- package/dist/chunks/{file-retention-wb2tsxva.js → event-logger-t00k10qy.js} +7 -7
- package/dist/chunks/{file-retention-rhjbct0v.js → event-logger-t550f9t1.js} +4 -4
- package/dist/chunks/{file-retention-as6js5h3.js → event-logger-t5gx411e.js} +5 -5
- package/dist/chunks/{file-retention-dfe8djrf.js → event-logger-t9zs3egg.js} +4 -4
- package/dist/chunks/{file-retention-tazgh4e4.js → event-logger-tazgh4e4.js} +1 -1
- package/dist/chunks/{file-retention-tcezcvh9.js → event-logger-tcezcvh9.js} +1 -1
- package/dist/chunks/{file-retention-tdstcens.js → event-logger-tdstcens.js} +1 -1
- package/dist/chunks/{file-retention-523mvypz.js → event-logger-tjzps5h2.js} +17 -17
- package/dist/chunks/{file-retention-081pkz04.js → event-logger-tqsbc54k.js} +3 -3
- package/dist/chunks/{file-retention-b6q9rwn2.js → event-logger-tvk4srm3.js} +28 -28
- package/dist/chunks/{file-retention-tvtrv512.js → event-logger-tvtrv512.js} +1 -1
- package/dist/chunks/{file-retention-eg6dj9bv.js → event-logger-tw4cw4te.js} +33 -33
- package/dist/chunks/{file-retention-g92vxn4r.js → event-logger-v0ks3twn.js} +128 -128
- package/dist/chunks/{file-retention-ymjb4ggy.js → event-logger-v2f267zw.js} +17 -17
- package/dist/chunks/{file-retention-f6e7w7qa.js → event-logger-v3kcbs8h.js} +4 -4
- package/dist/chunks/{file-retention-6hh8tjw2.js → event-logger-v5dkyp31.js} +4 -4
- package/dist/chunks/{file-retention-9j9rrcym.js → event-logger-v6efr277.js} +4 -4
- package/dist/chunks/{file-retention-d64bv18p.js → event-logger-v880302c.js} +19 -19
- package/dist/chunks/{file-retention-veqvce7d.js → event-logger-veqvce7d.js} +1 -1
- package/dist/chunks/{file-retention-0xhrvaxm.js → event-logger-vh8m9vgh.js} +12 -12
- package/dist/chunks/{file-retention-xmn7azz3.js → event-logger-vkja9z68.js} +9 -9
- package/dist/chunks/{file-retention-e0v2rycq.js → event-logger-vsmhe3bm.js} +16 -16
- package/dist/chunks/{file-retention-t8g68kxt.js → event-logger-vy0sc1r4.js} +26 -26
- package/dist/chunks/{file-retention-zs7xhsyr.js → event-logger-vz9h7ybk.js} +14 -14
- package/dist/chunks/{file-retention-vzcthcp8.js → event-logger-vzcthcp8.js} +1 -1
- package/dist/chunks/{file-retention-w3wsvvr9.js → event-logger-w3wsvvr9.js} +1 -1
- package/dist/chunks/{file-retention-4vc8sr10.js → event-logger-w9hz286w.js} +24 -24
- package/dist/chunks/{file-retention-3tpxjgq6.js → event-logger-wcp0pvg9.js} +30 -30
- package/dist/chunks/{file-retention-wd87259q.js → event-logger-wd87259q.js} +1 -1
- package/dist/chunks/{file-retention-8fxnv50h.js → event-logger-whjydms9.js} +32 -32
- package/dist/chunks/{file-retention-zmh7j08z.js → event-logger-wn8hqewz.js} +17 -17
- package/dist/chunks/{file-retention-nng2ktcm.js → event-logger-wqc6684y.js} +2 -2
- package/dist/chunks/{file-retention-5rddp1d9.js → event-logger-ws6abfst.js} +1 -1
- package/dist/chunks/{file-retention-hm8nq6aa.js → event-logger-x09vac25.js} +3 -3
- package/dist/chunks/{file-retention-x1ezjp6w.js → event-logger-x1ezjp6w.js} +1 -1
- package/dist/chunks/{file-retention-1tr2x808.js → event-logger-xc3sajb5.js} +20 -20
- package/dist/chunks/{file-retention-6bbyae08.js → event-logger-xe37s958.js} +24 -24
- package/dist/chunks/{file-retention-drwq78ky.js → event-logger-xfkkasph.js} +4 -4
- package/dist/chunks/{file-retention-g3d2w7hy.js → event-logger-xfqb4thj.js} +10 -10
- package/dist/chunks/{file-retention-4fbyhaeh.js → event-logger-xg1bq5dx.js} +4 -4
- package/dist/chunks/{file-retention-t7d66bkg.js → event-logger-xqcbpej0.js} +30 -30
- package/dist/chunks/event-logger-xrsqh21y.js +4 -0
- package/dist/chunks/{file-retention-fmcqyzhx.js → event-logger-y0mc46pw.js} +9 -9
- package/dist/chunks/{file-retention-y1fvbwt7.js → event-logger-y1fvbwt7.js} +1 -1
- package/dist/chunks/{file-retention-fk5jcdb3.js → event-logger-y3x14sz7.js} +9 -9
- package/dist/chunks/{file-retention-qez3s13j.js → event-logger-y51nmxxr.js} +284 -284
- package/dist/chunks/{file-retention-ns0rd2gc.js → event-logger-y8bg65e2.js} +11 -11
- package/dist/chunks/{file-retention-t6kv9btv.js → event-logger-yaa6bn1m.js} +31 -31
- package/dist/chunks/{file-retention-yrhqyw5v.js → event-logger-yrhqyw5v.js} +1 -1
- package/dist/chunks/{file-retention-yrznvahk.js → event-logger-yrznvahk.js} +2 -2
- package/dist/chunks/{file-retention-z0bkrqjs.js → event-logger-z0bkrqjs.js} +1 -1
- package/dist/chunks/{file-retention-z63w68vq.js → event-logger-z63w68vq.js} +2 -2
- package/dist/chunks/{file-retention-zeh9ct20.js → event-logger-zeh9ct20.js} +2 -2
- package/dist/chunks/{file-retention-0ejh5z8n.js → event-logger-zh8ae39d.js} +9 -9
- package/dist/chunks/{file-retention-zr2ceqn5.js → event-logger-zr2ceqn5.js} +1 -1
- package/dist/chunks/{file-retention-9hj87zcn.js → event-logger-zs2egq8y.js} +2 -2
- package/dist/chunks/{file-retention-161zx9cz.js → event-logger-zsbsgkcm.js} +11 -11
- package/dist/chunks/{file-retention-zxq2ej10.js → event-logger-zxq2ej10.js} +1 -1
- package/dist/chunks/{file-retention-p8z5rwmr.js → event-logger-zxs38eqt.js} +12 -12
- package/dist/codemode/catalog.js +1 -1
- package/dist/codemode/instructions.js +7 -7
- package/dist/codemode/tool.js +3 -3
- package/dist/codemode/web.js +1 -1
- package/dist/command.js +82 -82
- package/dist/config/discovery.js +81 -81
- package/dist/config/markdown.js +1 -1
- package/dist/config/normalize.js +105 -105
- package/dist/config/plugin/agent.js +122 -122
- package/dist/config/plugin/command.js +211 -211
- package/dist/config/plugin/compaction.js +159 -159
- package/dist/config/plugin/compatibility.js +140 -140
- package/dist/config/plugin/entry-observer.js +1 -1
- package/dist/config/plugin/formatter.js +123 -123
- package/dist/config/plugin/image.js +122 -122
- package/dist/config/plugin/instruction.js +89 -89
- package/dist/config/plugin/location-watcher.js +122 -122
- package/dist/config/plugin/mcp.js +129 -129
- package/dist/config/plugin/policy.js +122 -122
- package/dist/config/plugin/provider.js +122 -122
- package/dist/config/plugin/reference.js +124 -124
- package/dist/config/plugin/shell.js +124 -124
- package/dist/config/plugin/skill-file.js +101 -101
- package/dist/config/plugin/skill.js +143 -143
- package/dist/config/plugin/snapshot.js +122 -122
- package/dist/config/plugin/source.js +119 -119
- package/dist/config/plugin/tool-output.js +124 -124
- package/dist/config/plugin/websearch.js +123 -123
- package/dist/config/plugin/worktree.js +124 -124
- package/dist/config/variable.js +3 -3
- package/dist/config/watch.js +1 -1
- package/dist/config.js +127 -127
- package/dist/credential/sql.js +2 -2
- package/dist/credential.js +82 -82
- package/dist/database/database.js +65 -65
- package/dist/database/drizzle/effect-sqlite/driver.js +12 -12
- package/dist/database/drizzle/effect-sqlite/index.js +12 -12
- package/dist/database/drizzle/effect-sqlite/session.js +11 -11
- package/dist/database/drizzle/index.js +13 -13
- package/dist/database/drizzle/internal/drizzle-utils.js +1 -1
- package/dist/database/drizzle/sqlite-core/effect/count.js +1 -1
- package/dist/database/drizzle/sqlite-core/effect/db.js +9 -9
- package/dist/database/drizzle/sqlite-core/effect/delete.js +2 -2
- package/dist/database/drizzle/sqlite-core/effect/index.js +10 -10
- package/dist/database/drizzle/sqlite-core/effect/insert.js +2 -2
- package/dist/database/drizzle/sqlite-core/effect/query.js +1 -1
- package/dist/database/drizzle/sqlite-core/effect/raw.js +1 -1
- package/dist/database/drizzle/sqlite-core/effect/select.js +2 -2
- package/dist/database/drizzle/sqlite-core/effect/session.js +10 -10
- package/dist/database/drizzle/sqlite-core/effect/update.js +2 -2
- package/dist/database/drizzle.js +14 -14
- package/dist/database/migration/20260127222353_familiar_lady_ursula.js +1 -1
- package/dist/database/migration/20260211171708_add_project_commands.js +1 -1
- package/dist/database/migration/20260213144116_wakeful_the_professor.js +1 -1
- package/dist/database/migration/20260225215848_workspace.js +1 -1
- package/dist/database/migration/20260227213759_add_session_workspace_id.js +1 -1
- package/dist/database/migration/20260228203230_blue_harpoon.js +1 -1
- package/dist/database/migration/20260303231226_add_workspace_fields.js +1 -1
- package/dist/database/migration/20260309230000_move_org_to_state.js +1 -1
- package/dist/database/migration/20260312043431_session_message_cursor.js +1 -1
- package/dist/database/migration/20260323234822_events.js +1 -1
- package/dist/database/migration/20260410174513_workspace-name.js +1 -1
- package/dist/database/migration/20260413175956_chief_energizer.js +1 -1
- package/dist/database/migration/20260423070820_add_icon_url_override.js +1 -1
- package/dist/database/migration/20260427172553_slow_nightmare.js +1 -1
- package/dist/database/migration/20260428004200_add_session_path.js +1 -1
- package/dist/database/migration/20260501142318_next_venus.js +1 -1
- package/dist/database/migration/20260504145000_add_sync_owner.js +1 -1
- package/dist/database/migration/20260507164347_add_workspace_time.js +1 -1
- package/dist/database/migration/20260510033149_session_usage.js +1 -1
- package/dist/database/migration/20260511000411_data_migration_state.js +1 -1
- package/dist/database/migration/20260511173437_session-metadata.js +1 -1
- package/dist/database/migration/20260601010001_normalize_storage_paths.js +1 -1
- package/dist/database/migration/20260601202201_amazing_prowler.js +1 -1
- package/dist/database/migration/20260602002951_lowly_union_jack.js +1 -1
- package/dist/database/migration/20260602182828_add_project_directories.js +1 -1
- package/dist/database/migration/20260603001617_session_message_projection_indexes.js +1 -1
- package/dist/database/migration/20260603040000_session_message_projection_order.js +1 -1
- package/dist/database/migration/20260603141458_session_input_inbox.js +1 -1
- package/dist/database/migration/20260603160727_jittery_ezekiel_stane.js +1 -1
- package/dist/database/migration/20260604172448_event_sourced_session_input.js +1 -1
- package/dist/database/migration/20260605003541_add_session_context_snapshot.js +1 -1
- package/dist/database/migration/20260605042240_add_context_epoch_agent.js +1 -1
- package/dist/database/migration/20260611035744_credential.js +1 -1
- package/dist/database/migration/20260611192811_lush_chimera.js +1 -1
- package/dist/database/migration/20260612174303_project_dir_strategy.js +1 -1
- package/dist/database/migration/20260622142730_simplify_session_context_epoch.js +1 -1
- package/dist/database/migration/20260622170816_reset_v2_session_state.js +1 -1
- package/dist/database/migration/20260622202450_simplify_session_input.js +1 -1
- package/dist/database/migration/20260804233008_loose_psylocke.js +1 -1
- package/dist/database/migration/20260805200742_import_legacy_credentials.js +1 -1
- package/dist/database/migration/20260808023530_workspace_domain.js +1 -1
- package/dist/database/migration/20260811161259_execution_claim_attempts.js +1 -1
- package/dist/database/migration/20260812181746_session_inbox.js +1 -1
- package/dist/database/migration/20260812213948_worktree.js +1 -1
- package/dist/database/migration/20260819222447_session_viewed_state.js +1 -1
- package/dist/database/migration/20260823191254_nullable_workspace_binding.js +1 -1
- package/dist/database/migration/20260910120000_clear_v1_session_permission.js +1 -1
- package/dist/database/migration.gen.js +48 -48
- package/dist/database/migration.js +50 -50
- package/dist/database/path.js +2 -2
- package/dist/database/schema.gen.js +1 -1
- package/dist/database/schema.sql.js +1 -1
- package/dist/database/sqlite.bun.js +1 -1
- package/dist/database/sqlite.js +1 -1
- package/dist/database/sqlite.node.js +1 -1
- package/dist/database/sqlite.workerd.js +1 -1
- package/dist/database/v1-migration.bun.js +75 -75
- package/dist/database/v1-migration.js +1 -1
- package/dist/effect/app-node-builder.js +368 -368
- package/dist/effect/app-node-platform.js +2 -2
- package/dist/effect/keyed-mutex.js +1 -1
- package/dist/effect/websocket-constructor.js +1 -1
- package/dist/environment/driver.js +1 -1
- package/dist/environment/environment.js +92 -92
- package/dist/environment/exec-defaults.js +2 -2
- package/dist/environment/files.js +1 -1
- package/dist/environment/index.js +94 -94
- package/dist/environment/local.js +2 -2
- package/dist/environment/memory.js +2 -2
- package/dist/environment/unavailable.js +1 -1
- package/dist/event/sql.js +1 -1
- package/dist/event-logger.js +69 -69
- package/dist/file-access.js +103 -103
- package/dist/file-mutation.js +93 -93
- package/dist/file-retention.js +1 -1
- package/dist/file.js +1 -1
- package/dist/filesystem/fff.bun.js +2 -2
- package/dist/filesystem/fff.js +1 -1
- package/dist/filesystem/fff.node.js +2 -2
- package/dist/filesystem/fff.workerd.js +2 -2
- package/dist/filesystem/ignore.js +1 -1
- package/dist/filesystem/location-watcher-policy.js +2 -2
- package/dist/filesystem/location-watcher.js +224 -224
- package/dist/filesystem/protected.js +1 -1
- package/dist/filesystem/search.js +96 -96
- package/dist/filesystem/watcher-binding.js +1 -1
- package/dist/filesystem/watcher.js +15 -15
- package/dist/filesystem.js +97 -97
- package/dist/form.js +75 -75
- package/dist/formatter/builtins.js +4 -4
- package/dist/formatter.js +88 -88
- package/dist/generate.js +100 -100
- package/dist/git.js +10 -10
- package/dist/github-copilot/chat/convert-to-openai-compatible-chat-messages.js +1 -1
- package/dist/github-copilot/chat/get-response-metadata.js +1 -1
- package/dist/github-copilot/chat/map-openai-compatible-finish-reason.js +1 -1
- package/dist/github-copilot/chat/openai-compatible-chat-language-model.js +7 -7
- package/dist/github-copilot/chat/openai-compatible-chat-options.js +1 -1
- package/dist/github-copilot/chat/openai-compatible-prepare-tools.js +1 -1
- package/dist/github-copilot/copilot-provider.js +17 -17
- package/dist/github-copilot/models.js +90 -90
- package/dist/github-copilot/openai-compatible-error.js +1 -1
- package/dist/github-copilot/responses/convert-to-openai-responses-input.js +1 -1
- package/dist/github-copilot/responses/map-openai-responses-finish-reason.js +1 -1
- package/dist/github-copilot/responses/openai-error.js +1 -1
- package/dist/github-copilot/responses/openai-responses-language-model.js +10 -10
- package/dist/github-copilot/responses/openai-responses-prepare-tools.js +6 -6
- package/dist/github-copilot/responses/tool/code-interpreter.js +1 -1
- package/dist/github-copilot/responses/tool/file-search.js +1 -1
- package/dist/github-copilot/responses/tool/image-generation.js +1 -1
- package/dist/github-copilot/responses/tool/web-search-preview.js +1 -1
- package/dist/github-copilot/responses/tool/web-search.js +1 -1
- package/dist/id/id.js +1 -1
- package/dist/image/photon.js +2 -2
- package/dist/image.js +6 -6
- package/dist/instance/service.js +5 -5
- package/dist/instance.js +359 -359
- package/dist/instruction-discovery.js +84 -84
- package/dist/instructions/builtins.js +86 -86
- package/dist/instructions/index.js +3 -3
- package/dist/integration/connection.js +1 -1
- package/dist/integration.js +79 -79
- package/dist/job.js +78 -78
- package/dist/kv/sql.js +2 -2
- package/dist/kv.js +72 -72
- package/dist/location-activity.js +128 -128
- package/dist/location-lifecycle.js +105 -105
- package/dist/location-mutation.js +103 -103
- package/dist/location-service-map.js +85 -85
- package/dist/location-services.js +356 -356
- package/dist/location.js +84 -84
- package/dist/mcp/client.js +90 -90
- package/dist/mcp/index.js +103 -103
- package/dist/mcp/instructions.js +123 -123
- package/dist/mcp/oauth.js +77 -77
- package/dist/mcp/stdio.js +89 -89
- package/dist/mime.js +1 -1
- package/dist/modal/models.js +90 -90
- package/dist/model-resolver.js +97 -97
- package/dist/model.js +89 -89
- package/dist/models-dev.js +106 -106
- package/dist/oauth/page.js +1 -1
- package/dist/permission/saved.js +81 -81
- package/dist/permission/sql.js +5 -5
- package/dist/permission.js +108 -108
- package/dist/persistent-pty/binary.bun.js +1 -1
- package/dist/persistent-pty/daemon.js +1 -1
- package/dist/persistent-pty/index.js +85 -85
- package/dist/persistent-pty/pty-binding.js +1 -1
- package/dist/persistent-pty.js +74 -74
- package/dist/plugin/agent.js +101 -101
- package/dist/plugin/command.js +98 -98
- package/dist/plugin/compaction.js +130 -130
- package/dist/plugin/hooks.js +5 -5
- package/dist/plugin/host.js +217 -217
- package/dist/plugin/identity.js +1 -1
- package/dist/plugin/instance.js +5 -5
- package/dist/plugin/internal.js +330 -330
- package/dist/plugin/mcp-codemode-exclusion.js +1 -1
- package/dist/plugin/models-dev.js +95 -95
- package/dist/plugin/module.js +7 -7
- package/dist/plugin/optimize.js +4 -4
- package/dist/plugin/plan.js +101 -101
- package/dist/plugin/promise.js +1 -1
- package/dist/plugin/provider/amazon-bedrock.js +89 -89
- package/dist/plugin/provider/azure.js +121 -121
- package/dist/plugin/provider/cerebras.js +1 -1
- package/dist/plugin/provider/cloudflare-ai-gateway.js +120 -120
- package/dist/plugin/provider/cloudflare-workers-ai.js +120 -120
- package/dist/plugin/provider/cohere.js +2 -2
- package/dist/plugin/provider/configured.js +118 -118
- package/dist/plugin/provider/digitalocean.js +92 -92
- package/dist/plugin/provider/dynamic.js +2 -2
- package/dist/plugin/provider/factory.js +1 -1
- package/dist/plugin/provider/gateway.js +2 -2
- package/dist/plugin/provider/github-copilot.js +92 -92
- package/dist/plugin/provider/gitlab.js +90 -90
- package/dist/plugin/provider/google-vertex.js +89 -89
- package/dist/plugin/provider/kilo.js +1 -1
- package/dist/plugin/provider/llmgateway.js +76 -76
- package/dist/plugin/provider/lmstudio.js +121 -121
- package/dist/plugin/provider/modal.js +91 -91
- package/dist/plugin/provider/nvidia.js +1 -1
- package/dist/plugin/provider/ollama.js +119 -119
- package/dist/plugin/provider/openai.js +93 -93
- package/dist/plugin/provider/opencode.js +92 -92
- package/dist/plugin/provider/openrouter.js +90 -90
- package/dist/plugin/provider/perplexity.js +2 -2
- package/dist/plugin/provider/poe.js +77 -77
- package/dist/plugin/provider/prompt-cache-key.js +89 -89
- package/dist/plugin/provider/sap-ai-core.js +90 -90
- package/dist/plugin/provider/sdk-factory.js +1 -1
- package/dist/plugin/provider/snowflake-cortex.js +121 -121
- package/dist/plugin/provider/venice.js +2 -2
- package/dist/plugin/provider/vercel.js +89 -89
- package/dist/plugin/provider/vllm.js +121 -121
- package/dist/plugin/provider/xai.js +90 -90
- package/dist/plugin/provider/zenmux.js +1 -1
- package/dist/plugin/provider.js +158 -158
- package/dist/plugin/sdk.js +75 -75
- package/dist/plugin/service.js +3 -3
- package/dist/plugin/skill.js +138 -138
- package/dist/plugin/source-directory.js +1 -1
- package/dist/plugin/supervisor.js +345 -345
- package/dist/plugin/tool-input-repair.js +2 -2
- package/dist/plugin/update.js +6 -6
- package/dist/plugin/vcs/git.js +83 -83
- package/dist/plugin/vcs/hg.js +83 -83
- package/dist/plugin/warming.js +120 -120
- package/dist/plugin/websearch/exa.js +7 -7
- package/dist/plugin/websearch/firecrawl.js +8 -8
- package/dist/plugin/websearch/index.js +9 -9
- package/dist/plugin/websearch/mcp.js +2 -2
- package/dist/plugin/websearch/parallel.js +6 -6
- package/dist/plugin/websearch/tavily.js +6 -6
- package/dist/plugin/websearch/tinyfish.js +8 -8
- package/dist/plugin.js +228 -228
- package/dist/project/schema.js +2 -2
- package/dist/project/sql.js +4 -4
- package/dist/project.js +83 -83
- package/dist/provider.js +92 -92
- package/dist/pty/protocol.js +1 -1
- package/dist/pty/schema.js +3 -3
- package/dist/pty/ticket.js +1 -1
- package/dist/pty.js +97 -97
- package/dist/reference/instructions.js +86 -86
- package/dist/reference.js +84 -84
- package/dist/repository-cache.js +80 -80
- package/dist/repository.js +1 -1
- package/dist/ripgrep/binary.js +2 -2
- package/dist/ripgrep.js +96 -96
- package/dist/rpc.js +85 -85
- package/dist/schema.js +1 -1
- package/dist/session/command.js +73 -73
- package/dist/session/compaction.js +133 -133
- package/dist/session/context.js +147 -147
- package/dist/session/diff.js +87 -87
- package/dist/session/environment.js +5 -5
- package/dist/session/error.js +5 -5
- package/dist/session/event.js +1 -1
- package/dist/session/execution/restart.js +217 -217
- package/dist/session/execution.js +123 -123
- package/dist/session/generate.js +150 -150
- package/dist/session/history.js +13 -13
- package/dist/session/inbox.js +89 -89
- package/dist/session/info.js +3 -3
- package/dist/session/instruction-entry.js +76 -76
- package/dist/session/instruction-state.js +8 -8
- package/dist/session/instructions.js +92 -92
- package/dist/session/message-updater.js +4 -4
- package/dist/session/message.js +1 -1
- package/dist/session/model-request.js +116 -116
- package/dist/session/model-transport.js +7 -7
- package/dist/session/move.js +129 -129
- package/dist/session/projector.js +85 -85
- package/dist/session/prompt.js +104 -104
- package/dist/session/provider-context.js +3 -3
- package/dist/session/revert.js +89 -89
- package/dist/session/run-coordinator.js +3 -3
- package/dist/session/runner/index.js +1 -1
- package/dist/session/runner/llm.js +230 -230
- package/dist/session/runner/max-steps.js +1 -1
- package/dist/session/runner/model.js +93 -93
- package/dist/session/runner/publish-llm-event.js +3 -3
- package/dist/session/runner/retry.js +111 -111
- package/dist/session/runner/step.js +123 -123
- package/dist/session/runner/to-llm-message.js +2 -2
- package/dist/session/schema.js +3 -3
- package/dist/session/session.js +171 -171
- package/dist/session/shell.js +137 -137
- package/dist/session/skill.js +102 -102
- package/dist/session/sql.js +5 -5
- package/dist/session/stats.js +72 -72
- package/dist/session/store.js +86 -86
- package/dist/session/subagent-completion.js +1 -1
- package/dist/session/subagent-job.js +209 -209
- package/dist/session/system-prompt.js +3 -3
- package/dist/session/title.js +153 -153
- package/dist/session/to-session-error.js +110 -110
- package/dist/session/transfer.js +216 -216
- package/dist/session/usage.js +1 -1
- package/dist/session.js +215 -215
- package/dist/shell/parse.js +6 -6
- package/dist/shell/result.js +1 -1
- package/dist/shell/scan.js +1 -1
- package/dist/shell/select.js +15 -15
- package/dist/shell.js +139 -139
- package/dist/skill/discovery.js +2 -2
- package/dist/skill/instructions.js +106 -106
- package/dist/skill.js +107 -107
- package/dist/snapshot.js +92 -92
- package/dist/state.js +1 -1
- package/dist/tool/html-markdown.js +1 -1
- package/dist/tool/http-body.js +1 -1
- package/dist/tool/mcp.js +124 -124
- package/dist/tool/plugin/edit.js +117 -117
- package/dist/tool/plugin/file-diff.js +1 -1
- package/dist/tool/plugin/glob.js +123 -123
- package/dist/tool/plugin/grep.js +123 -123
- package/dist/tool/plugin/opencode.js +3 -3
- package/dist/tool/plugin/patch.js +121 -121
- package/dist/tool/plugin/question.js +102 -102
- package/dist/tool/plugin/read.js +124 -124
- package/dist/tool/plugin/shell.js +216 -216
- package/dist/tool/plugin/skill.js +110 -110
- package/dist/tool/plugin/subagent.js +212 -212
- package/dist/tool/plugin/webfetch.js +109 -109
- package/dist/tool/plugin/websearch.js +113 -113
- package/dist/tool/plugin/write.js +121 -121
- package/dist/tool/read-filesystem.js +99 -99
- package/dist/tool/runtime.js +1 -1
- package/dist/tool-output.js +8 -8
- package/dist/tool.js +12 -12
- package/dist/util/error-summary.js +1 -1
- package/dist/util/error.js +1 -1
- package/dist/util/git-executable.js +2 -2
- package/dist/util/iife.js +1 -1
- package/dist/util/lazy.js +1 -1
- package/dist/util/slug.js +1 -1
- package/dist/util/token.js +1 -1
- package/dist/util/which.js +1 -1
- package/dist/util/wildcard.js +1 -1
- package/dist/v1/config/agent.js +5 -5
- package/dist/v1/config/attachment.js +4 -4
- package/dist/v1/config/command.js +3 -3
- package/dist/v1/config/config.js +16 -16
- package/dist/v1/config/error.js +2 -2
- package/dist/v1/config/formatter.js +5 -5
- package/dist/v1/config/layout.js +1 -1
- package/dist/v1/config/lsp.js +3 -3
- package/dist/v1/config/mcp.js +4 -4
- package/dist/v1/config/migrate.js +91 -91
- package/dist/v1/config/permission.js +3 -3
- package/dist/v1/config/plugin.js +3 -3
- package/dist/v1/config/provider-options.js +1 -1
- package/dist/v1/config/provider.js +4 -4
- package/dist/v1/config/server.js +2 -2
- package/dist/v1/config/skills.js +3 -3
- package/dist/v1/permission.js +1 -1
- package/dist/variant.js +92 -92
- package/dist/vcs/patch.js +1 -1
- package/dist/vcs.js +86 -86
- package/dist/websearch.js +83 -83
- package/dist/wellknown/plugin.js +75 -75
- package/dist/wellknown.js +80 -80
- package/dist/workspace/driver.js +7 -7
- package/dist/workspace/sql.js +1 -1
- package/dist/workspace.js +79 -79
- package/dist/worktree/directory.js +2 -2
- package/dist/worktree/git.js +10 -10
- package/dist/worktree/sql.js +5 -5
- package/dist/worktree/strategies.js +88 -88
- package/dist/worktree.js +97 -97
- package/package.json +8 -8
- package/dist/chunks/file-retention-0mesazry.js +0 -4
- package/dist/chunks/file-retention-619r8v3y.js +0 -18
- package/dist/chunks/file-retention-gsnhtkd6.js +0 -252
- package/dist/chunks/file-retention-gtjgk2yx.js +0 -26
- /package/dist/chunks/{file-retention-0qkdqm5v.js → event-logger-0qkdqm5v.js} +0 -0
- /package/dist/chunks/{file-retention-0zkw76rk.js → event-logger-0zkw76rk.js} +0 -0
- /package/dist/chunks/{file-retention-17cy0kzp.js → event-logger-17cy0kzp.js} +0 -0
- /package/dist/chunks/{file-retention-1cnp2v09.js → event-logger-1cnp2v09.js} +0 -0
- /package/dist/chunks/{file-retention-1kg9ymc8.js → event-logger-1kg9ymc8.js} +0 -0
- /package/dist/chunks/{file-retention-24dcb14g.js → event-logger-24dcb14g.js} +0 -0
- /package/dist/chunks/{file-retention-2710q6r3.js → event-logger-2710q6r3.js} +0 -0
- /package/dist/chunks/{file-retention-2axfhc9x.js → event-logger-2axfhc9x.js} +0 -0
- /package/dist/chunks/{file-retention-2c3vjs8z.js → event-logger-2c3vjs8z.js} +0 -0
- /package/dist/chunks/{file-retention-359p4xyc.js → event-logger-359p4xyc.js} +0 -0
- /package/dist/chunks/{file-retention-3asan66x.js → event-logger-3asan66x.js} +0 -0
- /package/dist/chunks/{file-retention-3v8g72cx.js → event-logger-3v8g72cx.js} +0 -0
- /package/dist/chunks/{file-retention-3w5fmr99.js → event-logger-3w5fmr99.js} +0 -0
- /package/dist/chunks/{file-retention-3wcehsnq.js → event-logger-3wcehsnq.js} +0 -0
- /package/dist/chunks/{file-retention-43n2bw4t.js → event-logger-43n2bw4t.js} +0 -0
- /package/dist/chunks/{file-retention-4knz6hnm.js → event-logger-4knz6hnm.js} +0 -0
- /package/dist/chunks/{file-retention-4vcrnpx2.js → event-logger-4vcrnpx2.js} +0 -0
- /package/dist/chunks/{file-retention-4y7fprxs.js → event-logger-4y7fprxs.js} +0 -0
- /package/dist/chunks/{file-retention-53557ph1.js → event-logger-53557ph1.js} +0 -0
- /package/dist/chunks/{file-retention-550bvhaj.js → event-logger-550bvhaj.js} +0 -0
- /package/dist/chunks/{file-retention-5qd3pb7m.js → event-logger-5qd3pb7m.js} +0 -0
- /package/dist/chunks/{file-retention-6prwharc.js → event-logger-6prwharc.js} +0 -0
- /package/dist/chunks/{file-retention-7akdwqpd.js → event-logger-7akdwqpd.js} +0 -0
- /package/dist/chunks/{file-retention-7m9af43g.js → event-logger-7m9af43g.js} +0 -0
- /package/dist/chunks/{file-retention-822emrt2.js → event-logger-822emrt2.js} +0 -0
- /package/dist/chunks/{file-retention-88xbtdfr.js → event-logger-88xbtdfr.js} +0 -0
- /package/dist/chunks/{file-retention-8n3pysct.js → event-logger-8n3pysct.js} +0 -0
- /package/dist/chunks/{file-retention-922hggd3.js → event-logger-922hggd3.js} +0 -0
- /package/dist/chunks/{file-retention-9a4afbnw.js → event-logger-9a4afbnw.js} +0 -0
- /package/dist/chunks/{file-retention-9rqn6x4v.js → event-logger-9rqn6x4v.js} +0 -0
- /package/dist/chunks/{file-retention-a6k6eb26.js → event-logger-a6k6eb26.js} +0 -0
- /package/dist/chunks/{file-retention-af5trqkr.js → event-logger-af5trqkr.js} +0 -0
- /package/dist/chunks/{file-retention-afrmfg78.js → event-logger-afrmfg78.js} +0 -0
- /package/dist/chunks/{file-retention-aqzs7mqg.js → event-logger-aqzs7mqg.js} +0 -0
- /package/dist/chunks/{file-retention-atq7p7m5.js → event-logger-atq7p7m5.js} +0 -0
- /package/dist/chunks/{file-retention-bkyjaxrp.js → event-logger-bkyjaxrp.js} +0 -0
- /package/dist/chunks/{file-retention-bmr6ed5q.js → event-logger-bmr6ed5q.js} +0 -0
- /package/dist/chunks/{file-retention-cf4snx6d.js → event-logger-cf4snx6d.js} +0 -0
- /package/dist/chunks/{file-retention-cvy3z8tj.js → event-logger-cvy3z8tj.js} +0 -0
- /package/dist/chunks/{file-retention-d9fn303g.js → event-logger-d9fn303g.js} +0 -0
- /package/dist/chunks/{file-retention-d9jj8t3e.js → event-logger-d9jj8t3e.js} +0 -0
- /package/dist/chunks/{file-retention-dajrwvna.js → event-logger-dajrwvna.js} +0 -0
- /package/dist/chunks/{file-retention-dap0rakb.js → event-logger-dap0rakb.js} +0 -0
- /package/dist/chunks/{file-retention-df08tz66.js → event-logger-df08tz66.js} +0 -0
- /package/dist/chunks/{file-retention-dy18nga0.js → event-logger-dy18nga0.js} +0 -0
- /package/dist/chunks/{file-retention-e5kj55wp.js → event-logger-e5kj55wp.js} +0 -0
- /package/dist/chunks/{file-retention-e73j6tqm.js → event-logger-e73j6tqm.js} +0 -0
- /package/dist/chunks/{file-retention-ec1grn59.js → event-logger-ec1grn59.js} +0 -0
- /package/dist/chunks/{file-retention-eh3zwz77.js → event-logger-eh3zwz77.js} +0 -0
- /package/dist/chunks/{file-retention-emrn6kk6.js → event-logger-emrn6kk6.js} +0 -0
- /package/dist/chunks/{file-retention-f0mxakyp.js → event-logger-f0mxakyp.js} +0 -0
- /package/dist/chunks/{file-retention-f6n9ztr4.js → event-logger-f6n9ztr4.js} +0 -0
- /package/dist/chunks/{file-retention-faypxj3z.js → event-logger-faypxj3z.js} +0 -0
- /package/dist/chunks/{file-retention-fd410y7t.js → event-logger-fd410y7t.js} +0 -0
- /package/dist/chunks/{file-retention-fxgpk5d8.js → event-logger-fxgpk5d8.js} +0 -0
- /package/dist/chunks/{file-retention-g4wezp1m.js → event-logger-g4wezp1m.js} +0 -0
- /package/dist/chunks/{file-retention-g86h250q.js → event-logger-g86h250q.js} +0 -0
- /package/dist/chunks/{file-retention-gebd4c9n.js → event-logger-gebd4c9n.js} +0 -0
- /package/dist/chunks/{file-retention-gftt206x.js → event-logger-gftt206x.js} +0 -0
- /package/dist/chunks/{file-retention-hjbc5kem.js → event-logger-hjbc5kem.js} +0 -0
- /package/dist/chunks/{file-retention-hk9envan.js → event-logger-hk9envan.js} +0 -0
- /package/dist/chunks/{file-retention-j2ntwpah.js → event-logger-j2ntwpah.js} +0 -0
- /package/dist/chunks/{file-retention-j5zkgpj8.js → event-logger-j5zkgpj8.js} +0 -0
- /package/dist/chunks/{file-retention-jjkms2e6.js → event-logger-jjkms2e6.js} +0 -0
- /package/dist/chunks/{file-retention-jr7sbwjy.js → event-logger-jr7sbwjy.js} +0 -0
- /package/dist/chunks/{file-retention-jwfs4k6c.js → event-logger-jwfs4k6c.js} +0 -0
- /package/dist/chunks/{file-retention-jzg6c2d5.js → event-logger-jzg6c2d5.js} +0 -0
- /package/dist/chunks/{file-retention-mp448xyj.js → event-logger-mp448xyj.js} +0 -0
- /package/dist/chunks/{file-retention-msx8hqn2.js → event-logger-msx8hqn2.js} +0 -0
- /package/dist/chunks/{file-retention-n05xt0ee.js → event-logger-n05xt0ee.js} +0 -0
- /package/dist/chunks/{file-retention-n3j8tn72.js → event-logger-n3j8tn72.js} +0 -0
- /package/dist/chunks/{file-retention-njntx4h6.js → event-logger-njntx4h6.js} +0 -0
- /package/dist/chunks/{file-retention-q3sfg36h.js → event-logger-q3sfg36h.js} +0 -0
- /package/dist/chunks/{file-retention-q74kybfr.js → event-logger-q74kybfr.js} +0 -0
- /package/dist/chunks/{file-retention-qaymkmh1.js → event-logger-qaymkmh1.js} +0 -0
- /package/dist/chunks/{file-retention-qb87gjwd.js → event-logger-qb87gjwd.js} +0 -0
- /package/dist/chunks/{file-retention-qfa1cgps.js → event-logger-qfa1cgps.js} +0 -0
- /package/dist/chunks/{file-retention-qg3g05ea.js → event-logger-qg3g05ea.js} +0 -0
- /package/dist/chunks/{file-retention-qrg20bc0.js → event-logger-qrg20bc0.js} +0 -0
- /package/dist/chunks/{file-retention-rcb2kzg1.js → event-logger-rcb2kzg1.js} +0 -0
- /package/dist/chunks/{file-retention-sdp7kfr6.js → event-logger-sdp7kfr6.js} +0 -0
- /package/dist/chunks/{file-retention-sk3qaz4a.js → event-logger-sk3qaz4a.js} +0 -0
- /package/dist/chunks/{file-retention-ssg3fenm.js → event-logger-ssg3fenm.js} +0 -0
- /package/dist/chunks/{file-retention-twg0f83k.js → event-logger-twg0f83k.js} +0 -0
- /package/dist/chunks/{file-retention-w803qqfp.js → event-logger-w803qqfp.js} +0 -0
- /package/dist/chunks/{file-retention-wc3fc9cn.js → event-logger-wc3fc9cn.js} +0 -0
- /package/dist/chunks/{file-retention-wer8tq1h.js → event-logger-wer8tq1h.js} +0 -0
- /package/dist/chunks/{file-retention-wtztk69x.js → event-logger-wtztk69x.js} +0 -0
- /package/dist/chunks/{file-retention-x0ckcb58.js → event-logger-x0ckcb58.js} +0 -0
- /package/dist/chunks/{file-retention-x61499pn.js → event-logger-x61499pn.js} +0 -0
- /package/dist/chunks/{file-retention-y44na4kk.js → event-logger-y44na4kk.js} +0 -0
- /package/dist/chunks/{file-retention-y8cydn3q.js → event-logger-y8cydn3q.js} +0 -0
- /package/dist/chunks/{file-retention-y8f7s663.js → event-logger-y8f7s663.js} +0 -0
- /package/dist/chunks/{file-retention-ygaqb7jw.js → event-logger-ygaqb7jw.js} +0 -0
- /package/dist/chunks/{file-retention-ym463w8f.js → event-logger-ym463w8f.js} +0 -0
- /package/dist/chunks/{file-retention-z9919s4g.js → event-logger-z9919s4g.js} +0 -0
|
@@ -1,18 +1,18 @@
|
|
|
1
1
|
import {
|
|
2
2
|
AbsolutePath2
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./event-logger-922hggd3.js";
|
|
4
4
|
import {
|
|
5
|
-
|
|
6
|
-
} from "./
|
|
5
|
+
Service79
|
|
6
|
+
} from "./event-logger-ejre7x2g.js";
|
|
7
7
|
import {
|
|
8
|
-
|
|
9
|
-
} from "./
|
|
8
|
+
Service18
|
|
9
|
+
} from "./event-logger-enxf8gt6.js";
|
|
10
10
|
import {
|
|
11
11
|
Service8
|
|
12
|
-
} from "./
|
|
12
|
+
} from "./event-logger-syh73nww.js";
|
|
13
13
|
import {
|
|
14
14
|
NotFound2
|
|
15
|
-
} from "./
|
|
15
|
+
} from "./event-logger-2a5m3afh.js";
|
|
16
16
|
import {
|
|
17
17
|
MEDIA_MIMES2,
|
|
18
18
|
BinaryFileError2,
|
|
@@ -23,26 +23,26 @@ import {
|
|
|
23
23
|
FileContent2,
|
|
24
24
|
TextPage2,
|
|
25
25
|
ListPage2,
|
|
26
|
-
|
|
27
|
-
} from "./
|
|
26
|
+
Service9
|
|
27
|
+
} from "./event-logger-k8qf691v.js";
|
|
28
28
|
import {
|
|
29
29
|
__export
|
|
30
|
-
} from "./
|
|
30
|
+
} from "./event-logger-9rqn6x4v.js";
|
|
31
31
|
|
|
32
32
|
// src/tool/plugin/read.ts
|
|
33
33
|
var exports_read = {};
|
|
34
34
|
__export(exports_read, {
|
|
35
|
-
Input: () =>
|
|
36
|
-
Plugin: () =>
|
|
35
|
+
Input: () => Input5,
|
|
36
|
+
Plugin: () => Plugin25,
|
|
37
37
|
ReadTool: () => exports_read,
|
|
38
|
-
name: () =>
|
|
39
|
-
toModelContent: () =>
|
|
38
|
+
name: () => name5,
|
|
39
|
+
toModelContent: () => toModelContent4
|
|
40
40
|
});
|
|
41
41
|
import { basename, dirname, join } from "path";
|
|
42
42
|
import { ToolFailure } from "@opencode/ai";
|
|
43
43
|
import { Effect, Schema } from "effect";
|
|
44
44
|
import { FSUtil } from "@opencode/util/fs-util";
|
|
45
|
-
var
|
|
45
|
+
var name5 = "read";
|
|
46
46
|
var FILENAME = "AGENTS.md";
|
|
47
47
|
var LocationInput = Schema.Struct({
|
|
48
48
|
path: Schema.String.annotate({ description: "File or directory to read" }),
|
|
@@ -53,21 +53,21 @@ var LocationInput = Schema.Struct({
|
|
|
53
53
|
description: "The maximum number of lines or directory entries to read (defaults to 2000)"
|
|
54
54
|
})
|
|
55
55
|
});
|
|
56
|
-
var
|
|
56
|
+
var Input5 = LocationInput;
|
|
57
57
|
var Output = Schema.Union([FileContent2, TextPage2, ListPage2]);
|
|
58
|
-
var
|
|
58
|
+
var Plugin25 = {
|
|
59
59
|
id: "opencode.tool.read",
|
|
60
60
|
effect: Effect.fn("ReadTool.Plugin")(function* (ctx) {
|
|
61
|
-
const reader = yield*
|
|
62
|
-
const access = yield*
|
|
61
|
+
const reader = yield* Service9;
|
|
62
|
+
const access = yield* Service18;
|
|
63
63
|
const sessionInstructions = yield* Service8;
|
|
64
64
|
const fs = yield* FSUtil.Service;
|
|
65
|
-
const location = yield*
|
|
65
|
+
const location = yield* Service79;
|
|
66
66
|
yield* ctx.tool.transform((editor) => editor.add({
|
|
67
|
-
name:
|
|
67
|
+
name: name5,
|
|
68
68
|
options: { codemode: false },
|
|
69
69
|
description: "Read the contents of a file or directory. Supports text files, images, and PDFs. Images and PDFs are presented directly to the model. Each text line is prefixed by its 1-based line number as <line>: <content>. The prefix is for reference and is not part of the file content. Directory entries are returned one per line. Use offset and limit to read large files or directories in sections. Prefer one larger read over many small slices, and use grep to find specific content in large files.",
|
|
70
|
-
input:
|
|
70
|
+
input: Input5,
|
|
71
71
|
output: Output,
|
|
72
72
|
execute: (input, context) => {
|
|
73
73
|
return Effect.gen(function* () {
|
|
@@ -112,7 +112,7 @@ var Plugin3 = {
|
|
|
112
112
|
return { output: result.content, path: result.path };
|
|
113
113
|
}).pipe(Effect.map((result) => ({
|
|
114
114
|
output: result.output,
|
|
115
|
-
content:
|
|
115
|
+
content: toModelContent4(result.path, input.offset, result.output),
|
|
116
116
|
metadata: { truncated: result.output.type === "file" ? false : result.output.truncated }
|
|
117
117
|
})), Effect.mapError((error) => {
|
|
118
118
|
if (error instanceof ToolFailure)
|
|
@@ -144,7 +144,7 @@ ${suggestions.join(`
|
|
|
144
144
|
});
|
|
145
145
|
})
|
|
146
146
|
};
|
|
147
|
-
var
|
|
147
|
+
var toModelContent4 = (path, offset, output) => {
|
|
148
148
|
if (output.type === "file" && output.encoding === "base64")
|
|
149
149
|
return [
|
|
150
150
|
{ type: "text", text: output.mime === "application/pdf" ? "PDF read successfully" : "Image read successfully" },
|
|
@@ -180,4 +180,4 @@ var toModelContent2 = (path, offset, output) => {
|
|
|
180
180
|
`);
|
|
181
181
|
};
|
|
182
182
|
|
|
183
|
-
export {
|
|
183
|
+
export { name5, Input5, Plugin25, toModelContent4, exports_read };
|
|
@@ -1,12 +1,12 @@
|
|
|
1
1
|
import {
|
|
2
2
|
ID12
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./event-logger-vh8m9vgh.js";
|
|
4
4
|
import {
|
|
5
|
-
|
|
6
|
-
} from "./
|
|
5
|
+
Service43
|
|
6
|
+
} from "./event-logger-q3hye7rp.js";
|
|
7
7
|
import {
|
|
8
8
|
foldSettings2
|
|
9
|
-
} from "./
|
|
9
|
+
} from "./event-logger-q4x4f9x3.js";
|
|
10
10
|
|
|
11
11
|
// src/plugin/provider/vllm.ts
|
|
12
12
|
import { define } from "@opencode/plugin/effect/plugin";
|
|
@@ -21,12 +21,12 @@ var RemoteModel = Schema.Struct({
|
|
|
21
21
|
var Response = Schema.Struct({ data: Schema.Array(RemoteModel) });
|
|
22
22
|
var discovery = new Map;
|
|
23
23
|
var discoveryLock = Semaphore.makeUnsafe(1);
|
|
24
|
-
function
|
|
24
|
+
function make6(origin = "http://127.0.0.1:8000", interval = "30 seconds") {
|
|
25
25
|
return define({
|
|
26
26
|
id: "opencode.provider.vllm",
|
|
27
27
|
effect: Effect.fn(function* (ctx) {
|
|
28
28
|
const http = HttpClient.filterStatusOk(yield* HttpClient.HttpClient);
|
|
29
|
-
const config = yield*
|
|
29
|
+
const config = yield* Service43;
|
|
30
30
|
const source = { current: configured(yield* config.entries(), origin) };
|
|
31
31
|
const loaded = { models: [], hash: "[]" };
|
|
32
32
|
yield* ctx.integration.transform((integrations) => {
|
|
@@ -112,7 +112,7 @@ ${current.modelsEndpoint}`;
|
|
|
112
112
|
})
|
|
113
113
|
});
|
|
114
114
|
}
|
|
115
|
-
var VLLMPlugin2 =
|
|
115
|
+
var VLLMPlugin2 = make6();
|
|
116
116
|
function configured(entries, origin) {
|
|
117
117
|
const settings = foldSettings2(entries, providerID, undefined);
|
|
118
118
|
const baseURL = (typeof settings?.baseURL === "string" ? settings.baseURL : `${origin.replace(/\/+$/, "")}/v1`).replace(/\/+$/, "");
|
|
@@ -134,4 +134,4 @@ function configured(entries, origin) {
|
|
|
134
134
|
return { baseURL, apiKey, healthEndpoint: health.toString(), modelsEndpoint: models.toString() };
|
|
135
135
|
}
|
|
136
136
|
|
|
137
|
-
export {
|
|
137
|
+
export { make6, VLLMPlugin2 };
|
|
@@ -1,29 +1,29 @@
|
|
|
1
1
|
import {
|
|
2
2
|
useragent2
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./event-logger-bwckxjxx.js";
|
|
4
4
|
import {
|
|
5
5
|
Service81
|
|
6
|
-
} from "./
|
|
6
|
+
} from "./event-logger-gz9012ze.js";
|
|
7
7
|
import {
|
|
8
8
|
OAuth3,
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
} from "./
|
|
9
|
+
Event20,
|
|
10
|
+
Service78
|
|
11
|
+
} from "./event-logger-tvk4srm3.js";
|
|
12
12
|
import {
|
|
13
13
|
ID14,
|
|
14
14
|
MethodID2,
|
|
15
|
-
|
|
16
|
-
} from "./
|
|
15
|
+
Service76
|
|
16
|
+
} from "./event-logger-akg7mpd2.js";
|
|
17
17
|
import {
|
|
18
18
|
success2,
|
|
19
19
|
error2
|
|
20
|
-
} from "./
|
|
20
|
+
} from "./event-logger-pjvnvgmy.js";
|
|
21
21
|
import {
|
|
22
22
|
ID13
|
|
23
|
-
} from "./
|
|
23
|
+
} from "./event-logger-cc6fgmxw.js";
|
|
24
24
|
import {
|
|
25
25
|
configuredSettings2
|
|
26
|
-
} from "./
|
|
26
|
+
} from "./event-logger-q4x4f9x3.js";
|
|
27
27
|
|
|
28
28
|
// src/plugin/provider/snowflake-cortex.ts
|
|
29
29
|
import { define } from "@opencode/plugin/effect/plugin";
|
|
@@ -53,8 +53,8 @@ var SnowflakeCortexPlugin2 = define({
|
|
|
53
53
|
id: "opencode.provider.snowflake.cortex",
|
|
54
54
|
effect: Effect.fn(function* (ctx) {
|
|
55
55
|
const http = yield* HttpClient.HttpClient;
|
|
56
|
-
const credentials = yield*
|
|
57
|
-
const integrations = yield*
|
|
56
|
+
const credentials = yield* Service78;
|
|
57
|
+
const integrations = yield* Service76;
|
|
58
58
|
const bus = yield* Service81;
|
|
59
59
|
const configured = yield* configuredSettings2(providerID);
|
|
60
60
|
const account = { value: "" };
|
|
@@ -184,7 +184,7 @@ var SnowflakeCortexPlugin2 = define({
|
|
|
184
184
|
});
|
|
185
185
|
}
|
|
186
186
|
});
|
|
187
|
-
yield* bus.subscribe(
|
|
187
|
+
yield* bus.subscribe(Event20.Switched).pipe(Stream.filter((event) => event.data.integrationID === integrationID), Stream.runForEach(() => load.pipe(Effect.andThen(ctx.provider.reload()))), Effect.forkScoped({ startImmediately: true }));
|
|
188
188
|
yield* ctx.session.hook("http.request", (event) => Effect.sync(() => {
|
|
189
189
|
const token = envToken();
|
|
190
190
|
if (token)
|
|
@@ -1,14 +1,14 @@
|
|
|
1
1
|
import {
|
|
2
2
|
OAuth3
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./event-logger-tvk4srm3.js";
|
|
4
4
|
import {
|
|
5
5
|
ID14,
|
|
6
6
|
MethodID2
|
|
7
|
-
} from "./
|
|
7
|
+
} from "./event-logger-akg7mpd2.js";
|
|
8
8
|
import {
|
|
9
9
|
success2,
|
|
10
10
|
error2
|
|
11
|
-
} from "./
|
|
11
|
+
} from "./event-logger-pjvnvgmy.js";
|
|
12
12
|
|
|
13
13
|
// src/plugin/provider/poe.ts
|
|
14
14
|
import { define } from "@opencode/plugin/effect/plugin";
|
|
@@ -1,29 +1,29 @@
|
|
|
1
1
|
import {
|
|
2
2
|
Service81,
|
|
3
3
|
node85
|
|
4
|
-
} from "./
|
|
4
|
+
} from "./event-logger-gz9012ze.js";
|
|
5
5
|
import {
|
|
6
6
|
environment2
|
|
7
|
-
} from "./
|
|
7
|
+
} from "./event-logger-sfh11f92.js";
|
|
8
8
|
import {
|
|
9
9
|
makeDaemonTransport2
|
|
10
|
-
} from "./
|
|
10
|
+
} from "./event-logger-sk3qaz4a.js";
|
|
11
11
|
import {
|
|
12
12
|
__export
|
|
13
|
-
} from "./
|
|
13
|
+
} from "./event-logger-9rqn6x4v.js";
|
|
14
14
|
|
|
15
15
|
// src/persistent-pty/index.ts
|
|
16
16
|
var exports_persistent_pty = {};
|
|
17
17
|
__export(exports_persistent_pty, {
|
|
18
18
|
Handoff: () => Handoff2,
|
|
19
|
-
NotFoundError: () =>
|
|
20
|
-
Options: () =>
|
|
19
|
+
NotFoundError: () => NotFoundError2,
|
|
20
|
+
Options: () => Options2,
|
|
21
21
|
PersistentPty: () => exports_persistent_pty,
|
|
22
|
-
Service: () =>
|
|
22
|
+
Service: () => Service16,
|
|
23
23
|
UnavailableError: () => UnavailableError2,
|
|
24
|
-
configured: () =>
|
|
25
|
-
layer: () =>
|
|
26
|
-
node: () =>
|
|
24
|
+
configured: () => configured2,
|
|
25
|
+
layer: () => layer8,
|
|
26
|
+
node: () => node19
|
|
27
27
|
});
|
|
28
28
|
import os from "node:os";
|
|
29
29
|
import path from "node:path";
|
|
@@ -35,21 +35,21 @@ import { Pty } from "@opencode/schema/pty";
|
|
|
35
35
|
import { Global } from "@opencode/util/global";
|
|
36
36
|
import { resolveBinary } from "#persistent-pty-binary";
|
|
37
37
|
import { Handoff as Handoff2 } from "@opencode/schema/persistent-pty";
|
|
38
|
-
var
|
|
38
|
+
var Options2 = Schema.Struct({ handoff: Schema.optional(Handoff) });
|
|
39
39
|
|
|
40
40
|
class UnavailableError2 extends Schema.TaggedError()("PersistentPty.UnavailableError", {
|
|
41
41
|
message: Schema.String
|
|
42
42
|
}) {
|
|
43
43
|
}
|
|
44
44
|
|
|
45
|
-
class
|
|
45
|
+
class NotFoundError2 extends Schema.TaggedError()("PersistentPty.NotFoundError", {
|
|
46
46
|
ptyID: Pty.ID
|
|
47
47
|
}) {
|
|
48
48
|
}
|
|
49
49
|
|
|
50
|
-
class
|
|
50
|
+
class Service16 extends Context.Service()("@opencode/PersistentPty") {
|
|
51
51
|
}
|
|
52
|
-
var makeLayer = (options = {}) => Layer.effect(
|
|
52
|
+
var makeLayer = (options = {}) => Layer.effect(Service16, Effect.gen(function* () {
|
|
53
53
|
const bus = yield* Service81;
|
|
54
54
|
const global = yield* Global.Service;
|
|
55
55
|
const context = yield* Effect.context();
|
|
@@ -72,7 +72,7 @@ var makeLayer = (options = {}) => Layer.effect(Service19, Effect.gen(function* (
|
|
|
72
72
|
const get = Effect.fn("PersistentPty.get")(function* (id) {
|
|
73
73
|
const found = (yield* list()).find((terminal) => terminal.id === id);
|
|
74
74
|
if (!found)
|
|
75
|
-
return yield* new
|
|
75
|
+
return yield* new NotFoundError2({ ptyID: id });
|
|
76
76
|
return found;
|
|
77
77
|
});
|
|
78
78
|
const create = Effect.fn("PersistentPty.create")(function* (sessionID, input) {
|
|
@@ -239,7 +239,7 @@ var makeLayer = (options = {}) => Layer.effect(Service19, Effect.gen(function* (
|
|
|
239
239
|
detach: attachment.detach
|
|
240
240
|
};
|
|
241
241
|
});
|
|
242
|
-
return
|
|
242
|
+
return Service16.of({
|
|
243
243
|
list,
|
|
244
244
|
get,
|
|
245
245
|
create,
|
|
@@ -255,13 +255,13 @@ var makeLayer = (options = {}) => Layer.effect(Service19, Effect.gen(function* (
|
|
|
255
255
|
attach
|
|
256
256
|
});
|
|
257
257
|
}));
|
|
258
|
-
var
|
|
259
|
-
var
|
|
260
|
-
service:
|
|
261
|
-
layer: options === undefined ?
|
|
258
|
+
var layer8 = makeLayer();
|
|
259
|
+
var configured2 = (options) => makeGlobalNode({
|
|
260
|
+
service: Service16,
|
|
261
|
+
layer: options === undefined ? layer8 : makeLayer(options),
|
|
262
262
|
deps: [node85, Global.node]
|
|
263
263
|
});
|
|
264
|
-
var
|
|
264
|
+
var node19 = configured2();
|
|
265
265
|
var request = (daemon, value, start = false) => daemon.request(value, start).pipe(Effect.mapError(unavailable));
|
|
266
266
|
var optionalRequest = (daemon, value) => daemon.requestIfRunning(value).pipe(Effect.mapError(unavailable));
|
|
267
267
|
var unexpected = (response) => Effect.fail(new UnavailableError2({ message: `unexpected opencode-pty response: ${response.type}` }));
|
|
@@ -301,4 +301,4 @@ function fromID(value) {
|
|
|
301
301
|
return parsed;
|
|
302
302
|
}
|
|
303
303
|
|
|
304
|
-
export {
|
|
304
|
+
export { Options2, UnavailableError2, NotFoundError2, Service16, layer8, configured2, node19, exports_persistent_pty, Handoff2 };
|
|
@@ -1,22 +1,22 @@
|
|
|
1
1
|
import {
|
|
2
2
|
PATCH_CONTEXT_LINES2
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./event-logger-tazgh4e4.js";
|
|
4
4
|
import {
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
} from "./
|
|
5
|
+
ID8,
|
|
6
|
+
Service61
|
|
7
|
+
} from "./event-logger-5qpddqx9.js";
|
|
8
8
|
import {
|
|
9
9
|
SessionSchema2
|
|
10
|
-
} from "./
|
|
10
|
+
} from "./event-logger-k6yq57aq.js";
|
|
11
11
|
import {
|
|
12
12
|
MessageNotFoundError2
|
|
13
|
-
} from "./
|
|
13
|
+
} from "./event-logger-nv6sgpkb.js";
|
|
14
14
|
import {
|
|
15
15
|
SessionMessageTable2
|
|
16
|
-
} from "./
|
|
16
|
+
} from "./event-logger-5c4hm403.js";
|
|
17
17
|
import {
|
|
18
18
|
__export
|
|
19
|
-
} from "./
|
|
19
|
+
} from "./event-logger-9rqn6x4v.js";
|
|
20
20
|
|
|
21
21
|
// src/session/diff.ts
|
|
22
22
|
var exports_diff = {};
|
|
@@ -81,14 +81,14 @@ var turn2 = Effect.fn("SessionDiff.turn")(function* (db, locations, input) {
|
|
|
81
81
|
const location = before ? decodeLocation(before) : after ? decodeLocation(after) : input.session.location;
|
|
82
82
|
const recorded = steps.findLast((step) => step.end)?.end;
|
|
83
83
|
return yield* Effect.gen(function* () {
|
|
84
|
-
const snapshot = yield*
|
|
84
|
+
const snapshot = yield* Service61;
|
|
85
85
|
const running = input.active && final.completed === null;
|
|
86
86
|
const to = running ? (yield* snapshot.capture()) ?? recorded : recorded;
|
|
87
87
|
if (!to)
|
|
88
88
|
return [];
|
|
89
89
|
return yield* snapshot.diff({
|
|
90
|
-
from:
|
|
91
|
-
to:
|
|
90
|
+
from: ID8.make(from),
|
|
91
|
+
to: ID8.make(to),
|
|
92
92
|
context: input.context ?? PATCH_CONTEXT_LINES2
|
|
93
93
|
});
|
|
94
94
|
}).pipe(Effect.provide(locations.get(location)));
|
|
@@ -1,29 +1,29 @@
|
|
|
1
1
|
import {
|
|
2
2
|
create3
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./event-logger-rdw6cm16.js";
|
|
4
4
|
import {
|
|
5
5
|
which2
|
|
6
|
-
} from "./
|
|
6
|
+
} from "./event-logger-qaymkmh1.js";
|
|
7
7
|
import {
|
|
8
8
|
__export
|
|
9
|
-
} from "./
|
|
9
|
+
} from "./event-logger-9rqn6x4v.js";
|
|
10
10
|
|
|
11
11
|
// src/shell/select.ts
|
|
12
12
|
var exports_select = {};
|
|
13
13
|
__export(exports_select, {
|
|
14
|
-
Options: () =>
|
|
15
|
-
Service: () =>
|
|
14
|
+
Options: () => Options9,
|
|
15
|
+
Service: () => Service65,
|
|
16
16
|
ShellSelect: () => exports_select,
|
|
17
17
|
args: () => args2,
|
|
18
|
-
configured: () =>
|
|
18
|
+
configured: () => configured9,
|
|
19
19
|
environment: () => environment2,
|
|
20
20
|
gitbash: () => gitbash2,
|
|
21
|
-
list: () =>
|
|
21
|
+
list: () => list4,
|
|
22
22
|
login: () => login2,
|
|
23
23
|
name: () => name15,
|
|
24
|
-
node: () =>
|
|
24
|
+
node: () => node68,
|
|
25
25
|
ps: () => ps2,
|
|
26
|
-
resolve: () =>
|
|
26
|
+
resolve: () => resolve2
|
|
27
27
|
});
|
|
28
28
|
import path from "path";
|
|
29
29
|
import { readFile } from "fs/promises";
|
|
@@ -43,11 +43,11 @@ var META = {
|
|
|
43
43
|
sh: { login: true },
|
|
44
44
|
zsh: { login: true }
|
|
45
45
|
};
|
|
46
|
-
var
|
|
46
|
+
var Options9 = Schema.Struct({
|
|
47
47
|
gitbash: Schema.optional(Schema.String)
|
|
48
48
|
});
|
|
49
49
|
|
|
50
|
-
class
|
|
50
|
+
class Service65 extends Context.Service()("@opencode/ShellSelect") {
|
|
51
51
|
}
|
|
52
52
|
function stat(file) {
|
|
53
53
|
return statSync(file, { throwIfNoEntry: false }) ?? undefined;
|
|
@@ -164,7 +164,7 @@ function environment2(bin, filter) {
|
|
|
164
164
|
}
|
|
165
165
|
var defaultConfigured;
|
|
166
166
|
var defaultCompatible;
|
|
167
|
-
function
|
|
167
|
+
function resolve2(input, configShell, options, bin) {
|
|
168
168
|
const filter = input.priority === "compat" ? { compatible: true } : undefined;
|
|
169
169
|
if (configShell)
|
|
170
170
|
return select(configShell, options, filter, bin);
|
|
@@ -180,15 +180,15 @@ function resolve3(input, configShell, options, bin) {
|
|
|
180
180
|
defaultConfigured = { bin, value };
|
|
181
181
|
return value;
|
|
182
182
|
}
|
|
183
|
-
|
|
183
|
+
resolve2.reset = () => {
|
|
184
184
|
defaultConfigured = undefined;
|
|
185
185
|
defaultCompatible = undefined;
|
|
186
186
|
};
|
|
187
|
-
async function
|
|
187
|
+
async function list4(options, bin) {
|
|
188
188
|
const shells = process.platform === "win32" ? win(options, bin) : await unix();
|
|
189
189
|
return shells.filter((shell) => executable(shell, options, bin)).map((shell) => info(shell, options, bin));
|
|
190
190
|
}
|
|
191
|
-
var layer = (options) => Layer.effect(
|
|
191
|
+
var layer = (options) => Layer.effect(Service65, Effect.gen(function* () {
|
|
192
192
|
const global = yield* Global.Service;
|
|
193
193
|
const state = create3({
|
|
194
194
|
name: "shell-select",
|
|
@@ -199,16 +199,16 @@ var layer = (options) => Layer.effect(Service42, Effect.gen(function* () {
|
|
|
199
199
|
}
|
|
200
200
|
})
|
|
201
201
|
});
|
|
202
|
-
return
|
|
202
|
+
return Service65.of({
|
|
203
203
|
transform: state.transform,
|
|
204
204
|
reload: state.reload,
|
|
205
|
-
resolve: (input) => Effect.sync(() =>
|
|
206
|
-
list: () => Effect.promise(() =>
|
|
205
|
+
resolve: (input) => Effect.sync(() => resolve2(input, state.get().shell, options, global.bin)),
|
|
206
|
+
list: () => Effect.promise(() => list4(options, global.bin))
|
|
207
207
|
});
|
|
208
208
|
}));
|
|
209
|
-
function
|
|
210
|
-
return makeLocationNode({ service:
|
|
209
|
+
function configured9(options) {
|
|
210
|
+
return makeLocationNode({ service: Service65, layer: layer(options), deps: [Global.node] });
|
|
211
211
|
}
|
|
212
|
-
var
|
|
212
|
+
var node68 = configured9();
|
|
213
213
|
|
|
214
|
-
export {
|
|
214
|
+
export { Options9, Service65, gitbash2, name15, login2, ps2, args2, environment2, resolve2, list4, configured9, node68, exports_select };
|
|
@@ -1,19 +1,19 @@
|
|
|
1
1
|
import {
|
|
2
2
|
fromPromise2
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./event-logger-zr2ceqn5.js";
|
|
4
4
|
import {
|
|
5
|
-
|
|
6
|
-
} from "./
|
|
5
|
+
Service44
|
|
6
|
+
} from "./event-logger-5y196rt8.js";
|
|
7
7
|
import {
|
|
8
8
|
__export
|
|
9
|
-
} from "./
|
|
9
|
+
} from "./event-logger-9rqn6x4v.js";
|
|
10
10
|
|
|
11
11
|
// src/plugin/module.ts
|
|
12
12
|
var exports_module = {};
|
|
13
13
|
__export(exports_module, {
|
|
14
14
|
LoadError: () => LoadError2,
|
|
15
15
|
PluginModule: () => exports_module,
|
|
16
|
-
make: () =>
|
|
16
|
+
make: () => make9
|
|
17
17
|
});
|
|
18
18
|
import { Host } from "@opencode/plugin/host";
|
|
19
19
|
import { createPluginSources } from "@opencode/plugin/source";
|
|
@@ -22,8 +22,8 @@ import { Deferred, Effect, FiberSet, PubSub, Schema, Stream } from "effect";
|
|
|
22
22
|
import path from "path";
|
|
23
23
|
import { stat } from "node:fs/promises";
|
|
24
24
|
import { fileURLToPath, pathToFileURL } from "url";
|
|
25
|
-
var
|
|
26
|
-
const watcher = yield*
|
|
25
|
+
var make9 = Effect.fn("PluginModule.make")(function* () {
|
|
26
|
+
const watcher = yield* Service44;
|
|
27
27
|
const scope = yield* Effect.scope;
|
|
28
28
|
const runPromise = yield* FiberSet.makeRuntimePromise();
|
|
29
29
|
const changes = yield* PubSub.unbounded();
|
|
@@ -102,4 +102,4 @@ var load = Effect.fn("PluginModule.load")(function* (operation, sources, options
|
|
|
102
102
|
};
|
|
103
103
|
});
|
|
104
104
|
|
|
105
|
-
export {
|
|
105
|
+
export { make9, LoadError2, exports_module };
|