@opencode/core 0.0.0-dev-19990 → 0.0.0-dev-19992
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 +80 -80
- 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/{location-services-88sz8qcd.js → rpc-06dxphr1.js} +4 -4
- package/dist/chunks/{location-services-qgn6gcr1.js → rpc-0jwsre1p.js} +5 -5
- package/dist/chunks/{location-services-y5mrfvw4.js → rpc-0ke265bw.js} +9 -9
- package/dist/chunks/{location-services-0paq2nw3.js → rpc-0paq2nw3.js} +1 -1
- package/dist/chunks/{location-services-n796g8g9.js → rpc-0ph59fht.js} +16 -16
- package/dist/chunks/{location-services-0q0f95c6.js → rpc-0q0f95c6.js} +1 -1
- package/dist/chunks/{location-services-5vzt3hsq.js → rpc-0se06039.js} +18 -18
- package/dist/chunks/{location-services-15nepkqg.js → rpc-15nepkqg.js} +1 -1
- package/dist/chunks/rpc-15rq8gy3.js +503 -0
- package/dist/chunks/{location-services-1dazxqgg.js → rpc-1dazxqgg.js} +2 -2
- package/dist/chunks/{location-services-tj3f376k.js → rpc-1rn8gmsz.js} +44 -44
- package/dist/chunks/{location-services-cfcb28fa.js → rpc-1v4ncvf1.js} +13 -13
- package/dist/chunks/{location-services-9vvz8tb7.js → rpc-1v9d934k.js} +3 -3
- package/dist/chunks/{location-services-te64bnw5.js → rpc-1yv8ewat.js} +11 -11
- package/dist/chunks/{location-services-1jd31h14.js → rpc-20b89835.js} +29 -29
- package/dist/chunks/{location-services-21r38tys.js → rpc-21r38tys.js} +1 -1
- package/dist/chunks/{location-services-dn2efj05.js → rpc-2297m39m.js} +23 -23
- package/dist/chunks/{location-services-6h73sxmp.js → rpc-2402vzrj.js} +5 -5
- package/dist/chunks/{location-services-2a5m3afh.js → rpc-2a5m3afh.js} +1 -1
- package/dist/chunks/{location-services-1mr20jda.js → rpc-2d5yg9xz.js} +36 -36
- package/dist/chunks/{location-services-1kfd7ef9.js → rpc-2edszpwc.js} +4 -4
- package/dist/chunks/{location-services-n6v1qrtk.js → rpc-2kxt5g9w.js} +9 -9
- package/dist/chunks/{location-services-88cra88t.js → rpc-2y0xkqje.js} +18 -18
- package/dist/chunks/{location-services-8276pn1k.js → rpc-33pnsvg8.js} +10 -10
- package/dist/chunks/{location-services-c78bbtc9.js → rpc-37s12vcn.js} +5 -5
- package/dist/chunks/{location-services-8ptpxp6e.js → rpc-3dfwtr57.js} +5 -5
- package/dist/chunks/{location-services-3fc6dm20.js → rpc-3fc6dm20.js} +1 -1
- package/dist/chunks/{location-services-3hepkmqq.js → rpc-3hepkmqq.js} +1 -1
- package/dist/chunks/{location-services-hpr7df9q.js → rpc-3j8kvhb5.js} +23 -23
- package/dist/chunks/{location-services-ddn55026.js → rpc-3qw13626.js} +19 -19
- package/dist/chunks/{location-services-n6f5s1x7.js → rpc-3qxgsv5e.js} +24 -24
- package/dist/chunks/{location-services-3smtnn6g.js → rpc-3smtnn6g.js} +1 -1
- package/dist/chunks/{location-services-3tvqynh2.js → rpc-3tvqynh2.js} +1 -1
- package/dist/chunks/{location-services-1gvvevgd.js → rpc-3vc7fpqj.js} +26 -26
- package/dist/chunks/{location-services-b384714b.js → rpc-46zfe6jc.js} +11 -11
- package/dist/chunks/{location-services-qhc0r12v.js → rpc-4719gnan.js} +13 -13
- package/dist/chunks/{location-services-jx4nz2xk.js → rpc-4crtaem1.js} +3 -3
- package/dist/chunks/{location-services-51f5btjf.js → rpc-4mwpykj0.js} +6 -6
- package/dist/chunks/{location-services-skv7khd7.js → rpc-4nqx0pjw.js} +10 -10
- package/dist/chunks/{location-services-wg2wfkmw.js → rpc-4nx2vdbr.js} +9 -9
- package/dist/chunks/{location-services-e6hmchc5.js → rpc-510m7gjw.js} +5 -5
- package/dist/chunks/{location-services-0awvc9r7.js → rpc-5113vt88.js} +43 -43
- package/dist/chunks/{location-services-1ygqh575.js → rpc-56gdpj1q.js} +9 -9
- package/dist/chunks/{location-services-r3q6pmcz.js → rpc-5bdbc12f.js} +4 -4
- package/dist/chunks/{location-services-5daktx2q.js → rpc-5daktx2q.js} +1 -1
- package/dist/chunks/{location-services-e3qxr5gk.js → rpc-5qd3pb7m.js} +2 -2
- package/dist/chunks/{location-services-ng0wn3re.js → rpc-5rma0qs2.js} +14 -14
- package/dist/chunks/{location-services-5t3nmthw.js → rpc-5t3nmthw.js} +2 -2
- package/dist/chunks/{location-services-nt838bzg.js → rpc-5xbn3wz4.js} +26 -26
- package/dist/chunks/rpc-619r8v3y.js +18 -0
- package/dist/chunks/{location-services-v0zc82fe.js → rpc-61d3hh45.js} +6 -6
- package/dist/chunks/{location-services-4q2pb1pk.js → rpc-62331pxr.js} +12 -12
- package/dist/chunks/{location-services-669tq793.js → rpc-669tq793.js} +1 -1
- package/dist/chunks/{location-services-40rk6xyw.js → rpc-6ay8t20q.js} +79 -79
- package/dist/chunks/{location-services-3tz37857.js → rpc-6ec6cttg.js} +7 -7
- package/dist/chunks/{location-services-6msgmcgs.js → rpc-6msgmcgs.js} +1 -1
- package/dist/chunks/{location-services-ghv5w7d0.js → rpc-6pzrsera.js} +177 -177
- package/dist/chunks/{location-services-p02qeq9f.js → rpc-6rtsw9n4.js} +14 -14
- package/dist/chunks/{location-services-nnbkbes4.js → rpc-74daz04t.js} +20 -20
- package/dist/chunks/{location-services-7bmhse3q.js → rpc-7bmhse3q.js} +1 -1
- package/dist/chunks/{location-services-ns5ky5mf.js → rpc-7c7415gy.js} +6 -6
- package/dist/chunks/{location-services-wyn7s30h.js → rpc-7eeptrcw.js} +15 -15
- package/dist/chunks/{location-services-mwsmzt3f.js → rpc-7fy22w40.js} +24 -24
- package/dist/chunks/{location-services-xrekytkb.js → rpc-7q9fqjem.js} +11 -11
- package/dist/chunks/{location-services-jg27fbph.js → rpc-7qg2jrvj.js} +44 -44
- package/dist/chunks/{location-services-2f63qf0t.js → rpc-7vb1rapr.js} +20 -20
- package/dist/chunks/{location-services-tk6mcj4j.js → rpc-7y2vz6we.js} +2 -2
- package/dist/chunks/{location-services-vk4y7fnw.js → rpc-85ksh7tn.js} +8 -8
- package/dist/chunks/{location-services-ryw434v4.js → rpc-86ptwy60.js} +32 -32
- package/dist/chunks/{location-services-m3w7ztfh.js → rpc-8bhhfc6h.js} +9 -9
- package/dist/chunks/{location-services-8d7r5vzw.js → rpc-8d7r5vzw.js} +1 -1
- package/dist/chunks/{location-services-tvrqpjh0.js → rpc-8grck6yx.js} +5 -5
- package/dist/chunks/{location-services-8p4f9s12.js → rpc-8p4f9s12.js} +2 -2
- package/dist/chunks/{location-services-rxb7sq98.js → rpc-8qqdpc26.js} +22 -22
- package/dist/chunks/{location-services-nvm7b3d9.js → rpc-8r8fhnyb.js} +3 -3
- package/dist/chunks/{location-services-eahhehpg.js → rpc-8tsdq50x.js} +4 -4
- package/dist/chunks/{location-services-a5n5sjk6.js → rpc-8x7dr5w6.js} +14 -14
- package/dist/chunks/{location-services-t6sgf1tq.js → rpc-97fmyryk.js} +9 -9
- package/dist/chunks/{location-services-mpq7t3fm.js → rpc-98frrk71.js} +13 -13
- package/dist/chunks/{location-services-6q7a50ek.js → rpc-9g3kc011.js} +12 -12
- package/dist/chunks/{location-services-hm6af37m.js → rpc-9kmbd9mt.js} +2 -2
- package/dist/chunks/{location-services-88kaacx5.js → rpc-9xfcchtv.js} +13 -13
- package/dist/chunks/{location-services-a1bz86dw.js → rpc-a1bz86dw.js} +3 -3
- package/dist/chunks/{location-services-1cp1jdvt.js → rpc-a3b89sp2.js} +1 -1
- package/dist/chunks/rpc-a3hs1tdx.js +252 -0
- package/dist/chunks/{location-services-aaq8jk6x.js → rpc-aacxctvt.js} +10 -10
- package/dist/chunks/{location-services-aaet6srn.js → rpc-aaet6srn.js} +2 -2
- package/dist/chunks/{location-services-kmx3s855.js → rpc-acpsw7f4.js} +33 -33
- package/dist/chunks/{location-services-vbtntptj.js → rpc-aqmrw25w.js} +5 -5
- package/dist/chunks/{location-services-m2tcdgpb.js → rpc-ay8pchpw.js} +15 -15
- package/dist/chunks/{location-services-6hjx5zpb.js → rpc-b0dgvpy7.js} +9 -9
- package/dist/chunks/{location-services-hfkd247d.js → rpc-b0mytkpx.js} +4 -4
- package/dist/chunks/{location-services-34w264d1.js → rpc-b41t4wre.js} +26 -26
- package/dist/chunks/{location-services-01m6rrzq.js → rpc-b4bwt3xa.js} +28 -28
- package/dist/chunks/{location-services-b6gygkdw.js → rpc-b6gygkdw.js} +2 -2
- package/dist/chunks/{location-services-9psv48q1.js → rpc-b8n6587t.js} +15 -15
- package/dist/chunks/{location-services-xvdb5qe3.js → rpc-b9ehjk15.js} +38 -38
- package/dist/chunks/{location-services-c7fxb10r.js → rpc-bccxfgwn.js} +14 -14
- package/dist/chunks/{location-services-m7tbhrfm.js → rpc-bgg2t0gn.js} +11 -11
- package/dist/chunks/{location-services-zg12q5ce.js → rpc-bpm8jz68.js} +11 -11
- package/dist/chunks/{location-services-p66gbczx.js → rpc-bqp9ajbn.js} +28 -28
- package/dist/chunks/{location-services-ydteqrt6.js → rpc-bwdf5y29.js} +3 -3
- package/dist/chunks/{location-services-pvm4e74w.js → rpc-byf9gwrr.js} +20 -20
- package/dist/chunks/{location-services-vts118fw.js → rpc-bz2g5qqv.js} +8 -8
- package/dist/chunks/{location-services-scq4khx8.js → rpc-bz85s9hh.js} +1 -1
- package/dist/chunks/{location-services-7kw34kx6.js → rpc-c2786m8r.js} +16 -16
- package/dist/chunks/{location-services-yx4eqfxe.js → rpc-c585n4t8.js} +10 -10
- package/dist/chunks/{location-services-k7b8rfmd.js → rpc-c6s6jqnn.js} +32 -32
- package/dist/chunks/{location-services-6n25gfj7.js → rpc-c8cgma2b.js} +11 -11
- package/dist/chunks/{location-services-k4xfvtes.js → rpc-camavqkh.js} +15 -15
- package/dist/chunks/{location-services-sn3tdkda.js → rpc-cdgvj2kx.js} +43 -43
- package/dist/chunks/{location-services-cfpkc3c9.js → rpc-cfpkc3c9.js} +2 -2
- package/dist/chunks/{location-services-9hn6k4tm.js → rpc-cmwkp3r5.js} +8 -8
- package/dist/chunks/{location-services-abwfh72f.js → rpc-cp75n9jp.js} +9 -9
- package/dist/chunks/{location-services-af04s6ss.js → rpc-cr07tj7n.js} +5 -5
- package/dist/chunks/{location-services-4ez1w3r1.js → rpc-csw9sj5x.js} +15 -15
- package/dist/chunks/{location-services-56m60q16.js → rpc-ctzssw83.js} +5 -5
- package/dist/chunks/{location-services-se4bhmmn.js → rpc-cwtqxc7t.js} +20 -20
- package/dist/chunks/{location-services-st7xyzc1.js → rpc-d57gtw90.js} +10 -10
- package/dist/chunks/{location-services-0xpq87pm.js → rpc-dajadwvy.js} +28 -28
- package/dist/chunks/{location-services-wp495f2m.js → rpc-dc4azbw1.js} +23 -23
- package/dist/chunks/{location-services-1gwy9r54.js → rpc-deag6zkv.js} +10 -10
- package/dist/chunks/{location-services-f73krv2a.js → rpc-dm30ym2f.js} +22 -22
- package/dist/chunks/{location-services-zq3kwfqf.js → rpc-dm31f7ef.js} +21 -21
- package/dist/chunks/{location-services-qqeeq2t9.js → rpc-drwq78ky.js} +7 -7
- package/dist/chunks/{location-services-ef5x83kb.js → rpc-ef5x83kb.js} +1 -1
- package/dist/chunks/{location-services-hre4bev2.js → rpc-ehmp4g5w.js} +23 -23
- package/dist/chunks/{location-services-8xbwx0dm.js → rpc-er62cyqb.js} +17 -17
- package/dist/chunks/{location-services-erw5rpbs.js → rpc-erw5rpbs.js} +2 -2
- package/dist/chunks/{location-services-etq0c3wd.js → rpc-etq0c3wd.js} +1 -1
- package/dist/chunks/{location-services-8ekyey0k.js → rpc-f0e6pqyf.js} +17 -17
- package/dist/chunks/{location-services-f2n192rq.js → rpc-f2n192rq.js} +1 -1
- package/dist/chunks/{location-services-k1qrnqst.js → rpc-f5gy8qwh.js} +8 -8
- package/dist/chunks/{location-services-87fax2n3.js → rpc-f7nmna5v.js} +17 -17
- package/dist/chunks/{location-services-f828m53h.js → rpc-f828m53h.js} +2 -2
- package/dist/chunks/{location-services-zqx8wcya.js → rpc-fkjmw100.js} +8 -8
- package/dist/chunks/{location-services-c2e8sy4y.js → rpc-fmmg8gc5.js} +3 -3
- package/dist/chunks/{location-services-6zbdesq5.js → rpc-fwsv2j6h.js} +9 -9
- package/dist/chunks/{location-services-fxbjtjnd.js → rpc-fxbjtjnd.js} +1 -1
- package/dist/chunks/{location-services-cfv81dax.js → rpc-g1sxm558.js} +8 -8
- package/dist/chunks/{location-services-djszqvmq.js → rpc-g6q9qykm.js} +9 -9
- package/dist/chunks/{location-services-nk0qtxm3.js → rpc-g8g228df.js} +5 -5
- package/dist/chunks/{location-services-nmn7tnp3.js → rpc-gamd18a2.js} +11 -11
- package/dist/chunks/{location-services-gd4qta3r.js → rpc-gd4qta3r.js} +1 -1
- package/dist/chunks/{location-services-3801kdgp.js → rpc-gg4dpy88.js} +5 -5
- package/dist/chunks/{location-services-s4mvkza9.js → rpc-gng7q7sj.js} +19 -19
- package/dist/chunks/{location-services-gf90b0ze.js → rpc-gp5jhmvj.js} +5 -5
- package/dist/chunks/{location-services-7bsa5gxs.js → rpc-gpgvdg4k.js} +15 -15
- package/dist/chunks/{location-services-gv6a8nnw.js → rpc-gv6a8nnw.js} +2 -2
- package/dist/chunks/{location-services-d0m7pr96.js → rpc-h0c3er1k.js} +7 -7
- package/dist/chunks/{location-services-p7rv1rws.js → rpc-h13tab88.js} +1 -1
- package/dist/chunks/{location-services-emw51jwk.js → rpc-h57htbpc.js} +12 -12
- package/dist/chunks/{location-services-5mtzsd3b.js → rpc-h6r3nrb9.js} +4 -4
- package/dist/chunks/{location-services-h6vf3j39.js → rpc-h6vf3j39.js} +1 -1
- package/dist/chunks/{location-services-cq37gk0t.js → rpc-hfdr1yjj.js} +4 -4
- package/dist/chunks/{location-services-4vd4dex8.js → rpc-hm0xnccw.js} +3 -3
- package/dist/chunks/{location-services-5ra2q5qv.js → rpc-j1xb3v0n.js} +15 -15
- package/dist/chunks/{location-services-6egeq6my.js → rpc-j3tj37yg.js} +27 -27
- package/dist/chunks/{location-services-j56e64zr.js → rpc-j56e64zr.js} +1 -1
- package/dist/chunks/rpc-jmgc3nby.js +26 -0
- package/dist/chunks/{location-services-agvg5qah.js → rpc-jncpz27z.js} +21 -21
- package/dist/chunks/{location-services-w28zxt92.js → rpc-jpmjaseq.js} +8 -8
- package/dist/chunks/{location-services-grywydj4.js → rpc-k1t2850w.js} +35 -35
- package/dist/chunks/{location-services-k3c624dm.js → rpc-k3c624dm.js} +3 -3
- package/dist/chunks/{location-services-zr5theey.js → rpc-kbw4jcdq.js} +15 -15
- package/dist/chunks/{location-services-ws03zej7.js → rpc-kg23xgw4.js} +30 -30
- package/dist/chunks/{location-services-snf4x512.js → rpc-kj09xbws.js} +13 -13
- package/dist/chunks/{location-services-zrb79psr.js → rpc-krrb0sne.js} +17 -17
- package/dist/chunks/{location-services-31gk0xmh.js → rpc-ktjtecaw.js} +5 -5
- package/dist/chunks/{location-services-4an1x5pp.js → rpc-kv8ny5cf.js} +41 -41
- package/dist/chunks/{location-services-b5y3f1h0.js → rpc-kz98t5xb.js} +24 -24
- package/dist/chunks/{location-services-fhs97t90.js → rpc-m2d0j7c0.js} +9 -9
- package/dist/chunks/{location-services-m3fdjcah.js → rpc-m3fdjcah.js} +1 -1
- package/dist/chunks/{location-services-tzjj1kc7.js → rpc-m4hm81g6.js} +7 -7
- package/dist/chunks/{location-services-3c7atets.js → rpc-m77ynzk7.js} +67 -67
- package/dist/chunks/{location-services-m9w0rfyh.js → rpc-m9w0rfyh.js} +1 -1
- package/dist/chunks/{location-services-xdk9p2qn.js → rpc-magykp64.js} +21 -21
- package/dist/chunks/{location-services-bnvn4pem.js → rpc-masy0ksy.js} +38 -38
- package/dist/chunks/{location-services-sb32ssze.js → rpc-me8pr9wv.js} +24 -24
- package/dist/chunks/{location-services-7wdjtyr9.js → rpc-mf9m2v67.js} +3 -3
- package/dist/chunks/{location-services-mhkvc446.js → rpc-mvfsc1pv.js} +3 -3
- package/dist/chunks/{location-services-bkamt3qx.js → rpc-n73kz7xx.js} +19 -19
- package/dist/chunks/{location-services-e3zex04b.js → rpc-nbze6fcs.js} +20 -20
- package/dist/chunks/{location-services-23sxaqwc.js → rpc-ndqtf2h8.js} +4 -4
- package/dist/chunks/{location-services-0etd1xa7.js → rpc-nhsqghgk.js} +31 -31
- package/dist/chunks/{location-services-7egtcx6y.js → rpc-nnjbn8t1.js} +15 -15
- package/dist/chunks/{location-services-vgdmpsq1.js → rpc-nr54yvkx.js} +11 -11
- package/dist/chunks/{location-services-kjypnagj.js → rpc-nxbb8fxw.js} +60 -60
- package/dist/chunks/{location-services-c1eme1s4.js → rpc-nxts5t6n.js} +21 -21
- package/dist/chunks/{location-services-p28j5sbe.js → rpc-p28j5sbe.js} +2 -2
- package/dist/chunks/{location-services-v62zg8mg.js → rpc-p3xc4xks.js} +24 -24
- package/dist/chunks/{location-services-try8nhvt.js → rpc-pb1eahw5.js} +8 -8
- package/dist/chunks/{location-services-m1gdwcaq.js → rpc-pb231g4a.js} +11 -11
- package/dist/chunks/{location-services-rph3zd4r.js → rpc-pf2hb43r.js} +4 -4
- package/dist/chunks/{location-services-v159pygw.js → rpc-pfherxsy.js} +10 -10
- package/dist/chunks/{location-services-pjvnvgmy.js → rpc-pjvnvgmy.js} +1 -1
- package/dist/chunks/{location-services-pknna89w.js → rpc-pknna89w.js} +1 -1
- package/dist/chunks/{location-services-zvwz45r0.js → rpc-pnkbpv6t.js} +9 -9
- package/dist/chunks/{location-services-n6r87j0j.js → rpc-psmbgs7g.js} +28 -28
- package/dist/chunks/{location-services-kzdcqyn1.js → rpc-q4fmv0xv.js} +5 -5
- package/dist/chunks/{location-services-7nv231hx.js → rpc-q4r160dw.js} +22 -22
- package/dist/chunks/{location-services-e5kr9kgh.js → rpc-q6zxb0dv.js} +8 -8
- package/dist/chunks/{location-services-8nqr2n6c.js → rpc-q9qmz9bt.js} +36 -36
- package/dist/chunks/{location-services-arj9dccy.js → rpc-qcps4ny8.js} +13 -13
- package/dist/chunks/{location-services-s92nqyjh.js → rpc-qfent050.js} +30 -30
- package/dist/chunks/{location-services-qsdy395h.js → rpc-qsdy395h.js} +1 -1
- package/dist/chunks/{location-services-3ythc6yv.js → rpc-qsjcxkdn.js} +4 -4
- package/dist/chunks/{location-services-swezhaf3.js → rpc-r0wq7eep.js} +17 -17
- package/dist/chunks/{location-services-rdw6cm16.js → rpc-rdw6cm16.js} +1 -1
- package/dist/chunks/{location-services-3bcp9tcb.js → rpc-s1myyttd.js} +24 -24
- package/dist/chunks/{location-services-8vq4d4w0.js → rpc-s2scdk12.js} +10 -10
- package/dist/chunks/{location-services-rhjbct0v.js → rpc-s8d7rejh.js} +4 -4
- package/dist/chunks/{location-services-w3y8k1v7.js → rpc-sgaqkpk5.js} +16 -16
- package/dist/chunks/{location-services-j6aqjcjq.js → rpc-sgvwkv8e.js} +20 -20
- package/dist/chunks/{location-services-mtq6xxnx.js → rpc-sxz6gkc3.js} +4 -4
- package/dist/chunks/{location-services-bf0ztrs3.js → rpc-t9zs3egg.js} +4 -4
- package/dist/chunks/{location-services-a6g4ym8r.js → rpc-tafc1fk6.js} +23 -23
- package/dist/chunks/{location-services-tazgh4e4.js → rpc-tazgh4e4.js} +1 -1
- package/dist/chunks/{location-services-tcezcvh9.js → rpc-tcezcvh9.js} +1 -1
- package/dist/chunks/{location-services-tdstcens.js → rpc-tdstcens.js} +1 -1
- package/dist/chunks/{location-services-28v8g8tv.js → rpc-tmw1rwa9.js} +10 -10
- package/dist/chunks/{location-services-mprtma81.js → rpc-tnb36c60.js} +9 -9
- package/dist/chunks/{location-services-8s37hxe0.js → rpc-tsfg207r.js} +17 -17
- package/dist/chunks/{location-services-tvtrv512.js → rpc-tvtrv512.js} +1 -1
- package/dist/chunks/{location-services-kavbpyyd.js → rpc-tzb6e3r6.js} +5 -5
- package/dist/chunks/{location-services-4rsgw4yb.js → rpc-v200xqhb.js} +27 -27
- package/dist/chunks/{location-services-8rzpx88q.js → rpc-v64nhsy3.js} +3 -3
- package/dist/chunks/{location-services-n5mtvmj9.js → rpc-vahxzr05.js} +5 -5
- package/dist/chunks/{location-services-rp369ww1.js → rpc-vdbh6zs4.js} +21 -21
- package/dist/chunks/{location-services-veqvce7d.js → rpc-veqvce7d.js} +1 -1
- package/dist/chunks/{location-services-yzn5ksjm.js → rpc-vkjqcw97.js} +11 -11
- package/dist/chunks/{location-services-w0s1wefr.js → rpc-vvaf4j8d.js} +6 -6
- package/dist/chunks/{location-services-vzcthcp8.js → rpc-vzcthcp8.js} +1 -1
- package/dist/chunks/{location-services-w3wsvvr9.js → rpc-w3wsvvr9.js} +1 -1
- package/dist/chunks/{location-services-s6feradb.js → rpc-wawr4bz0.js} +24 -24
- package/dist/chunks/{location-services-ey38z1na.js → rpc-wcq0cga2.js} +5 -5
- package/dist/chunks/{location-services-wd87259q.js → rpc-wd87259q.js} +1 -1
- package/dist/chunks/{location-services-4z9k8dmg.js → rpc-wgz7hchk.js} +6 -6
- package/dist/chunks/{location-services-zj0384f4.js → rpc-whzfsptd.js} +32 -32
- package/dist/chunks/{location-services-gc3mdm9n.js → rpc-wjnjc2hh.js} +26 -26
- package/dist/chunks/{location-services-9eqnyttp.js → rpc-wmk5945b.js} +14 -14
- package/dist/chunks/{location-services-2e6pktnv.js → rpc-wpx0pb6f.js} +15 -15
- package/dist/chunks/{location-services-p8szgfvy.js → rpc-wqhxb2kt.js} +24 -24
- package/dist/chunks/{location-services-hhnzhpep.js → rpc-wrgat8t0.js} +32 -32
- package/dist/chunks/{location-services-epkv2gr7.js → rpc-wrqzf6yv.js} +11 -11
- package/dist/chunks/{location-services-tsvx7fxa.js → rpc-wyzj5584.js} +11 -11
- package/dist/chunks/{location-services-fda3g3tq.js → rpc-x0sran1m.js} +3 -3
- package/dist/chunks/{location-services-x1ezjp6w.js → rpc-x1ezjp6w.js} +1 -1
- package/dist/chunks/{location-services-00fzm1w7.js → rpc-x23ksf4z.js} +33 -33
- package/dist/chunks/{location-services-rwvda106.js → rpc-x52z618e.js} +26 -26
- package/dist/chunks/{location-services-xjpwa9c9.js → rpc-x6z9f47m.js} +6 -6
- package/dist/chunks/{location-services-ehyw662f.js → rpc-x7pv6ctg.js} +23 -23
- package/dist/chunks/{location-services-vjwykvdj.js → rpc-xgsnkr8v.js} +32 -32
- package/dist/chunks/{location-services-vg1y2ksa.js → rpc-xqzh09xr.js} +4 -4
- package/dist/chunks/{location-services-ky3ckhpn.js → rpc-xvehhaav.js} +15 -15
- package/dist/chunks/{location-services-sxe2jk1w.js → rpc-xvr811ke.js} +4 -4
- package/dist/chunks/{location-services-zs5rg84x.js → rpc-xyngvbdn.js} +4 -4
- package/dist/chunks/{location-services-dam73wyf.js → rpc-y0aq26gy.js} +4 -4
- package/dist/chunks/{location-services-y1fvbwt7.js → rpc-y1fvbwt7.js} +1 -1
- package/dist/chunks/{location-services-7gpacpea.js → rpc-y375z6cy.js} +4 -4
- package/dist/chunks/{location-services-gzk824pf.js → rpc-y468816p.js} +16 -16
- package/dist/chunks/{location-services-z4pnwbb1.js → rpc-y49qhy70.js} +47 -47
- package/dist/chunks/{location-services-y71avatq.js → rpc-y71avatq.js} +1 -1
- package/dist/chunks/{location-services-r56ww2g0.js → rpc-y8vnvn5j.js} +27 -27
- package/dist/chunks/{location-services-h5ys5bwc.js → rpc-yg16m4gh.js} +23 -23
- package/dist/chunks/{location-services-ktzj56fm.js → rpc-yhs9sve9.js} +57 -57
- package/dist/chunks/{location-services-tj1j9wj6.js → rpc-ykgervwn.js} +22 -22
- package/dist/chunks/{location-services-t9d84gp7.js → rpc-ykv3t8te.js} +4 -4
- package/dist/chunks/{location-services-ra43yj2j.js → rpc-yrbh5b2w.js} +16 -16
- package/dist/chunks/{location-services-0g9k6d50.js → rpc-yrdhjzv2.js} +37 -37
- package/dist/chunks/{location-services-yrhqyw5v.js → rpc-yrhqyw5v.js} +1 -1
- package/dist/chunks/{location-services-s4enseaf.js → rpc-yrznvahk.js} +2 -2
- package/dist/chunks/{location-services-9ea2d7th.js → rpc-ywdz5hzb.js} +42 -42
- package/dist/chunks/{location-services-z0bkrqjs.js → rpc-z0bkrqjs.js} +1 -1
- package/dist/chunks/{location-services-2tvarzw6.js → rpc-z4s70jvx.js} +27 -27
- package/dist/chunks/{location-services-29x78va6.js → rpc-z63w68vq.js} +6 -6
- package/dist/chunks/{location-services-zcrspsvn.js → rpc-zcrspsvn.js} +1 -1
- package/dist/chunks/{location-services-zeh9ct20.js → rpc-zeh9ct20.js} +2 -2
- package/dist/chunks/{location-services-amzhydp5.js → rpc-zh982f6d.js} +19 -19
- package/dist/chunks/{location-services-41pwsgy5.js → rpc-zn414pmx.js} +20 -20
- package/dist/chunks/{location-services-pe8snvzf.js → rpc-zp98706c.js} +23 -23
- package/dist/chunks/{location-services-zr2ceqn5.js → rpc-zr2ceqn5.js} +1 -1
- package/dist/chunks/{location-services-zxq2ej10.js → rpc-zxq2ej10.js} +1 -1
- package/dist/chunks/{location-services-c1byb785.js → rpc-zyjq4k38.js} +4 -4
- package/dist/codemode/catalog.js +1 -1
- package/dist/codemode/instructions.js +9 -9
- 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 +124 -124
- package/dist/config/plugin/command.js +213 -213
- package/dist/config/plugin/compaction.js +161 -161
- 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 +124 -124
- package/dist/config/plugin/mcp.js +131 -131
- package/dist/config/plugin/policy.js +123 -123
- package/dist/config/plugin/provider.js +122 -122
- package/dist/config/plugin/reference.js +124 -124
- package/dist/config/plugin/shell.js +122 -122
- 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 +125 -125
- package/dist/config/plugin/tool-output.js +124 -124
- package/dist/config/plugin/websearch.js +121 -121
- 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 +369 -369
- 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 +6 -6
- package/dist/filesystem/location-watcher.js +226 -226
- package/dist/filesystem/protected.js +1 -1
- package/dist/filesystem/search.js +96 -96
- package/dist/filesystem/watcher-binding.js +3 -3
- package/dist/filesystem/watcher.js +15 -15
- package/dist/filesystem.js +97 -97
- package/dist/form.js +83 -83
- package/dist/formatter/builtins.js +4 -4
- package/dist/formatter.js +86 -86
- package/dist/generate.js +102 -102
- 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 +98 -98
- 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 +360 -360
- 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 +3 -3
- package/dist/integration.js +83 -83
- 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 +357 -357
- package/dist/location.js +86 -86
- package/dist/managed-policy.js +5 -5
- package/dist/mcp/client.js +90 -90
- package/dist/mcp/index.js +101 -101
- package/dist/mcp/instructions.js +127 -127
- 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 +98 -98
- package/dist/model-resolver.js +97 -97
- package/dist/model.js +101 -101
- package/dist/models-dev.js +98 -98
- 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 +114 -114
- 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 +103 -103
- package/dist/plugin/command.js +100 -100
- package/dist/plugin/compaction.js +132 -132
- package/dist/plugin/hooks.js +5 -5
- package/dist/plugin/host.js +217 -217
- package/dist/plugin/identity.js +3 -3
- package/dist/plugin/instance.js +5 -5
- package/dist/plugin/internal.js +331 -331
- package/dist/plugin/mcp-codemode-exclusion.js +3 -3
- 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 +121 -121
- package/dist/plugin/provider/openai.js +93 -93
- package/dist/plugin/provider/opencode.js +93 -93
- 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 +159 -159
- package/dist/plugin/sdk.js +75 -75
- package/dist/plugin/service.js +3 -3
- package/dist/plugin/skill.js +140 -140
- package/dist/plugin/source-directory.js +1 -1
- package/dist/plugin/supervisor.js +350 -350
- package/dist/plugin/tool-input-repair.js +4 -4
- package/dist/plugin/update.js +6 -6
- package/dist/plugin/vcs/git.js +85 -85
- package/dist/plugin/vcs/hg.js +85 -85
- package/dist/plugin/warming.js +120 -120
- package/dist/plugin/websearch/exa.js +5 -5
- package/dist/plugin/websearch/firecrawl.js +8 -8
- package/dist/plugin/websearch/index.js +9 -9
- package/dist/plugin/websearch/mcp.js +6 -6
- package/dist/plugin/websearch/parallel.js +6 -6
- package/dist/plugin/websearch/tavily.js +4 -4
- package/dist/plugin/websearch/tinyfish.js +8 -8
- package/dist/plugin.js +220 -220
- package/dist/project/schema.js +8 -8
- package/dist/project/sql.js +4 -4
- package/dist/project.js +89 -89
- package/dist/provider.js +96 -96
- package/dist/pty/protocol.js +1 -1
- package/dist/pty/schema.js +1 -1
- package/dist/pty/ticket.js +1 -1
- package/dist/pty.js +89 -89
- package/dist/reference/instructions.js +86 -86
- package/dist/reference.js +90 -90
- package/dist/repository-cache.js +80 -80
- package/dist/repository.js +3 -3
- package/dist/ripgrep/binary.js +2 -2
- package/dist/ripgrep.js +94 -94
- package/dist/rpc.js +85 -85
- package/dist/schema.js +1 -1
- package/dist/session/command.js +73 -73
- package/dist/session/compaction.js +131 -131
- package/dist/session/context.js +147 -147
- package/dist/session/diff.js +87 -87
- package/dist/session/environment.js +1 -1
- package/dist/session/error.js +7 -7
- package/dist/session/event.js +1 -1
- package/dist/session/execution/restart.js +214 -214
- package/dist/session/execution.js +123 -123
- package/dist/session/generate.js +152 -152
- package/dist/session/history.js +15 -15
- package/dist/session/inbox.js +81 -81
- package/dist/session/info.js +3 -3
- package/dist/session/instruction-entry.js +78 -78
- package/dist/session/instruction-state.js +8 -8
- package/dist/session/instructions.js +96 -96
- package/dist/session/message-updater.js +2 -2
- package/dist/session/message.js +1 -1
- package/dist/session/model-request.js +118 -118
- package/dist/session/model-transport.js +9 -9
- package/dist/session/move.js +125 -125
- 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 +1 -1
- 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 +97 -97
- package/dist/session/runner/publish-llm-event.js +3 -3
- package/dist/session/runner/retry.js +113 -113
- package/dist/session/runner/step.js +125 -125
- package/dist/session/runner/to-llm-message.js +2 -2
- package/dist/session/schema.js +5 -5
- package/dist/session/session.js +169 -169
- 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 +5 -5
- package/dist/session/title.js +155 -155
- package/dist/session/to-session-error.js +110 -110
- package/dist/session/transfer.js +213 -213
- package/dist/session/usage.js +1 -1
- package/dist/session.js +213 -213
- 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 +13 -13
- package/dist/shell.js +133 -133
- package/dist/skill/discovery.js +6 -6
- package/dist/skill/instructions.js +106 -106
- package/dist/skill.js +109 -109
- 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 +126 -126
- package/dist/tool/plugin/edit.js +119 -119
- package/dist/tool/plugin/file-diff.js +1 -1
- package/dist/tool/plugin/glob.js +121 -121
- 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 +214 -214
- package/dist/tool/plugin/skill.js +112 -112
- package/dist/tool/plugin/subagent.js +218 -218
- package/dist/tool/plugin/webfetch.js +111 -111
- package/dist/tool/plugin/websearch.js +111 -111
- 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 +14 -14
- 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 +4 -4
- package/dist/v1/config/formatter.js +3 -3
- 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 +7 -7
- 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 +90 -90
- package/dist/vcs/patch.js +1 -1
- package/dist/vcs.js +88 -88
- package/dist/websearch.js +81 -81
- package/dist/wellknown/plugin.js +75 -75
- package/dist/wellknown.js +80 -80
- package/dist/workspace/driver.js +3 -3
- 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 +93 -93
- package/package.json +8 -8
- package/dist/chunks/location-services-1x11rq2a.js +0 -18
- package/dist/chunks/location-services-cnkp4w5s.js +0 -503
- package/dist/chunks/location-services-g603487s.js +0 -252
- package/dist/chunks/location-services-mna67q0j.js +0 -26
- /package/dist/chunks/{location-services-0mesazry.js → rpc-0mesazry.js} +0 -0
- /package/dist/chunks/{location-services-0qkdqm5v.js → rpc-0qkdqm5v.js} +0 -0
- /package/dist/chunks/{location-services-0zkw76rk.js → rpc-0zkw76rk.js} +0 -0
- /package/dist/chunks/{location-services-17cy0kzp.js → rpc-17cy0kzp.js} +0 -0
- /package/dist/chunks/{location-services-1cnp2v09.js → rpc-1cnp2v09.js} +0 -0
- /package/dist/chunks/{location-services-1kg9ymc8.js → rpc-1kg9ymc8.js} +0 -0
- /package/dist/chunks/{location-services-24dcb14g.js → rpc-24dcb14g.js} +0 -0
- /package/dist/chunks/{location-services-2710q6r3.js → rpc-2710q6r3.js} +0 -0
- /package/dist/chunks/{location-services-2axfhc9x.js → rpc-2axfhc9x.js} +0 -0
- /package/dist/chunks/{location-services-2c3vjs8z.js → rpc-2c3vjs8z.js} +0 -0
- /package/dist/chunks/{location-services-359p4xyc.js → rpc-359p4xyc.js} +0 -0
- /package/dist/chunks/{location-services-3asan66x.js → rpc-3asan66x.js} +0 -0
- /package/dist/chunks/{location-services-3v8g72cx.js → rpc-3v8g72cx.js} +0 -0
- /package/dist/chunks/{location-services-3w5fmr99.js → rpc-3w5fmr99.js} +0 -0
- /package/dist/chunks/{location-services-3wcehsnq.js → rpc-3wcehsnq.js} +0 -0
- /package/dist/chunks/{location-services-43n2bw4t.js → rpc-43n2bw4t.js} +0 -0
- /package/dist/chunks/{location-services-4knz6hnm.js → rpc-4knz6hnm.js} +0 -0
- /package/dist/chunks/{location-services-4vcrnpx2.js → rpc-4vcrnpx2.js} +0 -0
- /package/dist/chunks/{location-services-4y7fprxs.js → rpc-4y7fprxs.js} +0 -0
- /package/dist/chunks/{location-services-53557ph1.js → rpc-53557ph1.js} +0 -0
- /package/dist/chunks/{location-services-550bvhaj.js → rpc-550bvhaj.js} +0 -0
- /package/dist/chunks/{location-services-6prwharc.js → rpc-6prwharc.js} +0 -0
- /package/dist/chunks/{location-services-7akdwqpd.js → rpc-7akdwqpd.js} +0 -0
- /package/dist/chunks/{location-services-7m9af43g.js → rpc-7m9af43g.js} +0 -0
- /package/dist/chunks/{location-services-822emrt2.js → rpc-822emrt2.js} +0 -0
- /package/dist/chunks/{location-services-88xbtdfr.js → rpc-88xbtdfr.js} +0 -0
- /package/dist/chunks/{location-services-8n3pysct.js → rpc-8n3pysct.js} +0 -0
- /package/dist/chunks/{location-services-922hggd3.js → rpc-922hggd3.js} +0 -0
- /package/dist/chunks/{location-services-9a4afbnw.js → rpc-9a4afbnw.js} +0 -0
- /package/dist/chunks/{location-services-9rqn6x4v.js → rpc-9rqn6x4v.js} +0 -0
- /package/dist/chunks/{location-services-a6k6eb26.js → rpc-a6k6eb26.js} +0 -0
- /package/dist/chunks/{location-services-af5trqkr.js → rpc-af5trqkr.js} +0 -0
- /package/dist/chunks/{location-services-afrmfg78.js → rpc-afrmfg78.js} +0 -0
- /package/dist/chunks/{location-services-aqzs7mqg.js → rpc-aqzs7mqg.js} +0 -0
- /package/dist/chunks/{location-services-atq7p7m5.js → rpc-atq7p7m5.js} +0 -0
- /package/dist/chunks/{location-services-bkyjaxrp.js → rpc-bkyjaxrp.js} +0 -0
- /package/dist/chunks/{location-services-bmr6ed5q.js → rpc-bmr6ed5q.js} +0 -0
- /package/dist/chunks/{location-services-cf4snx6d.js → rpc-cf4snx6d.js} +0 -0
- /package/dist/chunks/{location-services-cvy3z8tj.js → rpc-cvy3z8tj.js} +0 -0
- /package/dist/chunks/{location-services-d9fn303g.js → rpc-d9fn303g.js} +0 -0
- /package/dist/chunks/{location-services-d9jj8t3e.js → rpc-d9jj8t3e.js} +0 -0
- /package/dist/chunks/{location-services-dajrwvna.js → rpc-dajrwvna.js} +0 -0
- /package/dist/chunks/{location-services-dap0rakb.js → rpc-dap0rakb.js} +0 -0
- /package/dist/chunks/{location-services-df08tz66.js → rpc-df08tz66.js} +0 -0
- /package/dist/chunks/{location-services-dy18nga0.js → rpc-dy18nga0.js} +0 -0
- /package/dist/chunks/{location-services-e5kj55wp.js → rpc-e5kj55wp.js} +0 -0
- /package/dist/chunks/{location-services-e73j6tqm.js → rpc-e73j6tqm.js} +0 -0
- /package/dist/chunks/{location-services-ec1grn59.js → rpc-ec1grn59.js} +0 -0
- /package/dist/chunks/{location-services-eh3zwz77.js → rpc-eh3zwz77.js} +0 -0
- /package/dist/chunks/{location-services-emrn6kk6.js → rpc-emrn6kk6.js} +0 -0
- /package/dist/chunks/{location-services-f0mxakyp.js → rpc-f0mxakyp.js} +0 -0
- /package/dist/chunks/{location-services-f6n9ztr4.js → rpc-f6n9ztr4.js} +0 -0
- /package/dist/chunks/{location-services-faypxj3z.js → rpc-faypxj3z.js} +0 -0
- /package/dist/chunks/{location-services-fd410y7t.js → rpc-fd410y7t.js} +0 -0
- /package/dist/chunks/{location-services-fxgpk5d8.js → rpc-fxgpk5d8.js} +0 -0
- /package/dist/chunks/{location-services-g4wezp1m.js → rpc-g4wezp1m.js} +0 -0
- /package/dist/chunks/{location-services-g86h250q.js → rpc-g86h250q.js} +0 -0
- /package/dist/chunks/{location-services-gebd4c9n.js → rpc-gebd4c9n.js} +0 -0
- /package/dist/chunks/{location-services-gftt206x.js → rpc-gftt206x.js} +0 -0
- /package/dist/chunks/{location-services-hjbc5kem.js → rpc-hjbc5kem.js} +0 -0
- /package/dist/chunks/{location-services-hk9envan.js → rpc-hk9envan.js} +0 -0
- /package/dist/chunks/{location-services-j2ntwpah.js → rpc-j2ntwpah.js} +0 -0
- /package/dist/chunks/{location-services-j5zkgpj8.js → rpc-j5zkgpj8.js} +0 -0
- /package/dist/chunks/{location-services-jjkms2e6.js → rpc-jjkms2e6.js} +0 -0
- /package/dist/chunks/{location-services-jr7sbwjy.js → rpc-jr7sbwjy.js} +0 -0
- /package/dist/chunks/{location-services-jwfs4k6c.js → rpc-jwfs4k6c.js} +0 -0
- /package/dist/chunks/{location-services-jzg6c2d5.js → rpc-jzg6c2d5.js} +0 -0
- /package/dist/chunks/{location-services-mp448xyj.js → rpc-mp448xyj.js} +0 -0
- /package/dist/chunks/{location-services-msx8hqn2.js → rpc-msx8hqn2.js} +0 -0
- /package/dist/chunks/{location-services-n05xt0ee.js → rpc-n05xt0ee.js} +0 -0
- /package/dist/chunks/{location-services-n3j8tn72.js → rpc-n3j8tn72.js} +0 -0
- /package/dist/chunks/{location-services-njntx4h6.js → rpc-njntx4h6.js} +0 -0
- /package/dist/chunks/{location-services-q3sfg36h.js → rpc-q3sfg36h.js} +0 -0
- /package/dist/chunks/{location-services-q74kybfr.js → rpc-q74kybfr.js} +0 -0
- /package/dist/chunks/{location-services-qaymkmh1.js → rpc-qaymkmh1.js} +0 -0
- /package/dist/chunks/{location-services-qb87gjwd.js → rpc-qb87gjwd.js} +0 -0
- /package/dist/chunks/{location-services-qfa1cgps.js → rpc-qfa1cgps.js} +0 -0
- /package/dist/chunks/{location-services-qg3g05ea.js → rpc-qg3g05ea.js} +0 -0
- /package/dist/chunks/{location-services-qrg20bc0.js → rpc-qrg20bc0.js} +0 -0
- /package/dist/chunks/{location-services-rcb2kzg1.js → rpc-rcb2kzg1.js} +0 -0
- /package/dist/chunks/{location-services-sdp7kfr6.js → rpc-sdp7kfr6.js} +0 -0
- /package/dist/chunks/{location-services-sk3qaz4a.js → rpc-sk3qaz4a.js} +0 -0
- /package/dist/chunks/{location-services-ssg3fenm.js → rpc-ssg3fenm.js} +0 -0
- /package/dist/chunks/{location-services-twg0f83k.js → rpc-twg0f83k.js} +0 -0
- /package/dist/chunks/{location-services-w803qqfp.js → rpc-w803qqfp.js} +0 -0
- /package/dist/chunks/{location-services-wc3fc9cn.js → rpc-wc3fc9cn.js} +0 -0
- /package/dist/chunks/{location-services-wer8tq1h.js → rpc-wer8tq1h.js} +0 -0
- /package/dist/chunks/{location-services-wtztk69x.js → rpc-wtztk69x.js} +0 -0
- /package/dist/chunks/{location-services-x0ckcb58.js → rpc-x0ckcb58.js} +0 -0
- /package/dist/chunks/{location-services-x61499pn.js → rpc-x61499pn.js} +0 -0
- /package/dist/chunks/{location-services-y44na4kk.js → rpc-y44na4kk.js} +0 -0
- /package/dist/chunks/{location-services-y8cydn3q.js → rpc-y8cydn3q.js} +0 -0
- /package/dist/chunks/{location-services-y8f7s663.js → rpc-y8f7s663.js} +0 -0
- /package/dist/chunks/{location-services-ygaqb7jw.js → rpc-ygaqb7jw.js} +0 -0
- /package/dist/chunks/{location-services-ym463w8f.js → rpc-ym463w8f.js} +0 -0
- /package/dist/chunks/{location-services-z9919s4g.js → rpc-z9919s4g.js} +0 -0
|
@@ -1,32 +1,32 @@
|
|
|
1
1
|
import {
|
|
2
2
|
Service83,
|
|
3
3
|
node87
|
|
4
|
-
} from "./
|
|
4
|
+
} from "./rpc-2edszpwc.js";
|
|
5
5
|
import {
|
|
6
6
|
create3
|
|
7
|
-
} from "./
|
|
7
|
+
} from "./rpc-rdw6cm16.js";
|
|
8
8
|
import {
|
|
9
9
|
evaluate2
|
|
10
|
-
} from "./
|
|
10
|
+
} from "./rpc-yhs9sve9.js";
|
|
11
11
|
import {
|
|
12
12
|
__export
|
|
13
|
-
} from "./
|
|
13
|
+
} from "./rpc-9rqn6x4v.js";
|
|
14
14
|
|
|
15
15
|
// src/skill.ts
|
|
16
16
|
var exports_skill5 = {};
|
|
17
17
|
__export(exports_skill5, {
|
|
18
18
|
DirectorySource: () => DirectorySource2,
|
|
19
19
|
EmbeddedSource: () => EmbeddedSource2,
|
|
20
|
-
Event: () =>
|
|
21
|
-
ID: () =>
|
|
22
|
-
Info: () =>
|
|
20
|
+
Event: () => Event6,
|
|
21
|
+
ID: () => ID5,
|
|
22
|
+
Info: () => Info6,
|
|
23
23
|
Name: () => Name2,
|
|
24
|
-
Service: () =>
|
|
24
|
+
Service: () => Service46,
|
|
25
25
|
Skill: () => exports_skill5,
|
|
26
26
|
Source: () => Source3,
|
|
27
27
|
UrlSource: () => UrlSource2,
|
|
28
28
|
available: () => available2,
|
|
29
|
-
node: () =>
|
|
29
|
+
node: () => node48,
|
|
30
30
|
prepare: () => prepare3,
|
|
31
31
|
toModelOutput: () => toModelOutput3
|
|
32
32
|
});
|
|
@@ -34,13 +34,13 @@ import { makeLocationNode } from "@opencode/util/effect/app-node";
|
|
|
34
34
|
import path from "path";
|
|
35
35
|
import { Context, Effect, Layer } from "effect";
|
|
36
36
|
import { Skill } from "@opencode/schema/skill";
|
|
37
|
-
import { Event as
|
|
37
|
+
import { Event as Event6 } from "@opencode/schema/skill";
|
|
38
38
|
var DirectorySource2 = Skill.DirectorySource;
|
|
39
39
|
var UrlSource2 = Skill.UrlSource;
|
|
40
40
|
var EmbeddedSource2 = Skill.EmbeddedSource;
|
|
41
41
|
var Source3 = Skill.Source;
|
|
42
|
-
var
|
|
43
|
-
var
|
|
42
|
+
var Info6 = Skill.Info;
|
|
43
|
+
var ID5 = Skill.ID;
|
|
44
44
|
var Name2 = Skill.Name;
|
|
45
45
|
var available2 = (skills, permissions) => skills.filter((skill) => evaluate2("skill", skill.id, permissions).effect !== "deny");
|
|
46
46
|
var toModelOutput3 = (skill, files) => {
|
|
@@ -71,33 +71,33 @@ var prepare3 = Effect.fn("Skill.prepare")(function* (fs, skill) {
|
|
|
71
71
|
};
|
|
72
72
|
});
|
|
73
73
|
|
|
74
|
-
class
|
|
74
|
+
class Service46 extends Context.Service()("@opencode/Skill") {
|
|
75
75
|
}
|
|
76
|
-
var layer = Layer.effect(
|
|
76
|
+
var layer = Layer.effect(Service46, Effect.gen(function* () {
|
|
77
77
|
const bus = yield* Service83;
|
|
78
78
|
const state = create3({
|
|
79
79
|
name: "skill",
|
|
80
80
|
initial: () => ({ skills: new Map }),
|
|
81
81
|
editor: (editor) => ({
|
|
82
82
|
list: () => Array.from(editor.skills.values()),
|
|
83
|
-
get: (id) => editor.skills.get(
|
|
83
|
+
get: (id) => editor.skills.get(ID5.make(id)),
|
|
84
84
|
add: (skill) => {
|
|
85
85
|
editor.skills.set(skill.id, { ...skill });
|
|
86
86
|
},
|
|
87
87
|
update: (id, update) => {
|
|
88
|
-
const current = editor.skills.get(
|
|
88
|
+
const current = editor.skills.get(ID5.make(id));
|
|
89
89
|
if (!current)
|
|
90
90
|
return;
|
|
91
91
|
update(current);
|
|
92
|
-
current.id =
|
|
92
|
+
current.id = ID5.make(id);
|
|
93
93
|
},
|
|
94
94
|
remove: (id) => {
|
|
95
|
-
editor.skills.delete(
|
|
95
|
+
editor.skills.delete(ID5.make(id));
|
|
96
96
|
}
|
|
97
97
|
}),
|
|
98
98
|
notify: () => bus.publish(Skill.Event.Updated, {}).pipe(Effect.asVoid)
|
|
99
99
|
});
|
|
100
|
-
return
|
|
100
|
+
return Service46.of({
|
|
101
101
|
transform: state.transform,
|
|
102
102
|
reload: state.reload,
|
|
103
103
|
get: Effect.fn("Skill.get")(function* (id) {
|
|
@@ -108,10 +108,10 @@ var layer = Layer.effect(Service56, Effect.gen(function* () {
|
|
|
108
108
|
})
|
|
109
109
|
});
|
|
110
110
|
}));
|
|
111
|
-
var
|
|
112
|
-
service:
|
|
111
|
+
var node48 = makeLocationNode({
|
|
112
|
+
service: Service46,
|
|
113
113
|
layer,
|
|
114
114
|
deps: [node87]
|
|
115
115
|
});
|
|
116
116
|
|
|
117
|
-
export { DirectorySource2, UrlSource2, EmbeddedSource2, Source3,
|
|
117
|
+
export { DirectorySource2, UrlSource2, EmbeddedSource2, Source3, Info6, ID5, Name2, available2, toModelOutput3, prepare3, Service46, node48, exports_skill5, Event6 };
|
|
@@ -1,26 +1,26 @@
|
|
|
1
1
|
import {
|
|
2
|
-
|
|
3
|
-
} from "./
|
|
2
|
+
Service80
|
|
3
|
+
} from "./rpc-9g3kc011.js";
|
|
4
4
|
import {
|
|
5
5
|
DirectoryUnavailableError2,
|
|
6
6
|
canonical2
|
|
7
|
-
} from "./
|
|
7
|
+
} from "./rpc-gv6a8nnw.js";
|
|
8
8
|
import {
|
|
9
9
|
__export
|
|
10
|
-
} from "./
|
|
10
|
+
} from "./rpc-9rqn6x4v.js";
|
|
11
11
|
|
|
12
12
|
// src/worktree/git.ts
|
|
13
13
|
var exports_git2 = {};
|
|
14
14
|
__export(exports_git2, {
|
|
15
15
|
WorktreeGit: () => exports_git2,
|
|
16
|
-
make: () =>
|
|
16
|
+
make: () => make18
|
|
17
17
|
});
|
|
18
18
|
import { Effect } from "effect";
|
|
19
19
|
import { Worktree } from "@opencode/schema/worktree";
|
|
20
20
|
import { FSUtil } from "@opencode/util/fs-util";
|
|
21
|
-
var
|
|
21
|
+
var make18 = Effect.gen(function* () {
|
|
22
22
|
const fs = yield* FSUtil.Service;
|
|
23
|
-
const git = yield*
|
|
23
|
+
const git = yield* Service80;
|
|
24
24
|
return {
|
|
25
25
|
id: Worktree.StrategyID.make("git"),
|
|
26
26
|
create: Effect.fn("Worktree.Git.create")(function* (input) {
|
|
@@ -46,4 +46,4 @@ var make17 = Effect.gen(function* () {
|
|
|
46
46
|
};
|
|
47
47
|
});
|
|
48
48
|
|
|
49
|
-
export {
|
|
49
|
+
export { make18, exports_git2 };
|
|
@@ -2,45 +2,45 @@ import {
|
|
|
2
2
|
NotFound2,
|
|
3
3
|
WrongKind2,
|
|
4
4
|
Failed2
|
|
5
|
-
} from "./
|
|
5
|
+
} from "./rpc-2a5m3afh.js";
|
|
6
6
|
import {
|
|
7
|
-
|
|
8
|
-
} from "./
|
|
7
|
+
Service78
|
|
8
|
+
} from "./rpc-0ph59fht.js";
|
|
9
9
|
import {
|
|
10
|
-
|
|
11
|
-
} from "./
|
|
10
|
+
Service54
|
|
11
|
+
} from "./rpc-me8pr9wv.js";
|
|
12
12
|
import {
|
|
13
|
-
|
|
14
|
-
} from "./
|
|
13
|
+
Service16
|
|
14
|
+
} from "./rpc-kbw4jcdq.js";
|
|
15
15
|
import {
|
|
16
|
-
|
|
16
|
+
Service15,
|
|
17
17
|
readText2,
|
|
18
18
|
syncTextBom2
|
|
19
|
-
} from "./
|
|
19
|
+
} from "./rpc-9xfcchtv.js";
|
|
20
20
|
import {
|
|
21
|
-
|
|
22
|
-
} from "./
|
|
21
|
+
Service63
|
|
22
|
+
} from "./rpc-yhs9sve9.js";
|
|
23
23
|
import {
|
|
24
|
-
|
|
24
|
+
Service22,
|
|
25
25
|
resolvePath2
|
|
26
|
-
} from "./
|
|
26
|
+
} from "./rpc-2y0xkqje.js";
|
|
27
27
|
import {
|
|
28
28
|
fileDiff2
|
|
29
|
-
} from "./
|
|
29
|
+
} from "./rpc-6prwharc.js";
|
|
30
30
|
import {
|
|
31
31
|
__export
|
|
32
|
-
} from "./
|
|
32
|
+
} from "./rpc-9rqn6x4v.js";
|
|
33
33
|
|
|
34
34
|
// src/tool/plugin/patch.ts
|
|
35
35
|
var exports_patch = {};
|
|
36
36
|
__export(exports_patch, {
|
|
37
37
|
Applied: () => Applied2,
|
|
38
|
-
Input: () =>
|
|
39
|
-
Output: () =>
|
|
38
|
+
Input: () => Input12,
|
|
39
|
+
Output: () => Output8,
|
|
40
40
|
PatchTool: () => exports_patch,
|
|
41
|
-
Plugin: () =>
|
|
42
|
-
name: () =>
|
|
43
|
-
toModelContent: () =>
|
|
41
|
+
Plugin: () => Plugin31,
|
|
42
|
+
name: () => name12,
|
|
43
|
+
toModelContent: () => toModelContent6
|
|
44
44
|
});
|
|
45
45
|
import { ToolFailure } from "@opencode/ai";
|
|
46
46
|
import { FileDiff } from "@opencode/schema/file-diff";
|
|
@@ -85,8 +85,8 @@ It is important to remember:
|
|
|
85
85
|
`;
|
|
86
86
|
|
|
87
87
|
// src/tool/plugin/patch.ts
|
|
88
|
-
var
|
|
89
|
-
var
|
|
88
|
+
var name12 = "patch";
|
|
89
|
+
var Input12 = Schema.Struct({
|
|
90
90
|
patchText: Schema.String.annotate({
|
|
91
91
|
description: "The full patch text describing add, update, and delete operations"
|
|
92
92
|
})
|
|
@@ -96,30 +96,30 @@ var Applied2 = Schema.Struct({
|
|
|
96
96
|
resource: Schema.String,
|
|
97
97
|
target: Schema.String
|
|
98
98
|
});
|
|
99
|
-
var
|
|
99
|
+
var Output8 = Schema.Struct({
|
|
100
100
|
applied: Schema.Array(Applied2),
|
|
101
101
|
files: Schema.Array(FileDiff.Info)
|
|
102
102
|
});
|
|
103
|
-
var
|
|
103
|
+
var toModelContent6 = (output) => [
|
|
104
104
|
"Success. Updated the following files:",
|
|
105
105
|
...output.applied.map((item) => `${item.type === "add" ? "A" : item.type === "delete" ? "D" : "M"} ${item.resource}`)
|
|
106
106
|
].join(`
|
|
107
107
|
`);
|
|
108
|
-
var
|
|
108
|
+
var Plugin31 = {
|
|
109
109
|
id: "opencode.tool.patch",
|
|
110
110
|
effect: Effect.fn("PatchTool.Plugin")(function* (ctx) {
|
|
111
|
-
const environment = yield*
|
|
112
|
-
const access = yield*
|
|
113
|
-
const fileMutation = yield*
|
|
114
|
-
const formatter = yield*
|
|
115
|
-
const location = yield*
|
|
116
|
-
const permission = yield*
|
|
111
|
+
const environment = yield* Service54;
|
|
112
|
+
const access = yield* Service22;
|
|
113
|
+
const fileMutation = yield* Service15;
|
|
114
|
+
const formatter = yield* Service16;
|
|
115
|
+
const location = yield* Service78;
|
|
116
|
+
const permission = yield* Service63;
|
|
117
117
|
yield* ctx.tool.transform((editor) => editor.add({
|
|
118
|
-
name:
|
|
118
|
+
name: name12,
|
|
119
119
|
options: { codemode: false, permission: "edit" },
|
|
120
120
|
description: patch_default,
|
|
121
|
-
input:
|
|
122
|
-
output:
|
|
121
|
+
input: Input12,
|
|
122
|
+
output: Output8,
|
|
123
123
|
execute: (input, context) => {
|
|
124
124
|
const applied = [];
|
|
125
125
|
const parsed = Patch.parse(input.patchText);
|
|
@@ -266,7 +266,7 @@ var Plugin40 = {
|
|
|
266
266
|
return { applied, files };
|
|
267
267
|
}).pipe(fileMutation.withLock(lockTargets), Effect.map((output) => ({
|
|
268
268
|
output,
|
|
269
|
-
content:
|
|
269
|
+
content: toModelContent6(output),
|
|
270
270
|
metadata: { files: output.files }
|
|
271
271
|
})), Effect.mapError((error) => error instanceof ToolFailure ? error : new ToolFailure({ message: "Unable to apply patch", error })));
|
|
272
272
|
}
|
|
@@ -326,4 +326,4 @@ function trimDiff(diff) {
|
|
|
326
326
|
`);
|
|
327
327
|
}
|
|
328
328
|
|
|
329
|
-
export {
|
|
329
|
+
export { name12, Input12, Applied2, Output8, toModelContent6, Plugin31, exports_patch };
|
|
@@ -1,38 +1,38 @@
|
|
|
1
1
|
import {
|
|
2
2
|
AbsolutePath2
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./rpc-922hggd3.js";
|
|
4
4
|
import {
|
|
5
|
-
|
|
6
|
-
} from "./
|
|
5
|
+
Service78
|
|
6
|
+
} from "./rpc-0ph59fht.js";
|
|
7
7
|
import {
|
|
8
|
-
|
|
9
|
-
} from "./
|
|
8
|
+
Service52
|
|
9
|
+
} from "./rpc-5113vt88.js";
|
|
10
10
|
import {
|
|
11
11
|
LocalSource2,
|
|
12
12
|
GitSource2
|
|
13
|
-
} from "./
|
|
13
|
+
} from "./rpc-b4bwt3xa.js";
|
|
14
14
|
import {
|
|
15
15
|
observe2
|
|
16
|
-
} from "./
|
|
16
|
+
} from "./rpc-qsdy395h.js";
|
|
17
17
|
import {
|
|
18
18
|
__export
|
|
19
|
-
} from "./
|
|
19
|
+
} from "./rpc-9rqn6x4v.js";
|
|
20
20
|
|
|
21
21
|
// src/config/plugin/reference.ts
|
|
22
22
|
var exports_reference = {};
|
|
23
23
|
__export(exports_reference, {
|
|
24
24
|
ConfigReferencePlugin: () => exports_reference,
|
|
25
|
-
Plugin: () =>
|
|
25
|
+
Plugin: () => Plugin10
|
|
26
26
|
});
|
|
27
27
|
import { define } from "@opencode/plugin/effect/plugin";
|
|
28
28
|
import path from "path";
|
|
29
29
|
import { Effect } from "effect";
|
|
30
30
|
import { Global } from "@opencode/util/global";
|
|
31
|
-
var
|
|
31
|
+
var Plugin10 = define({
|
|
32
32
|
id: "opencode.config.reference",
|
|
33
33
|
effect: Effect.fn(function* (ctx) {
|
|
34
|
-
const config = yield*
|
|
35
|
-
const location = yield*
|
|
34
|
+
const config = yield* Service52;
|
|
35
|
+
const location = yield* Service78;
|
|
36
36
|
const global = yield* Global.Service;
|
|
37
37
|
const loaded = yield* observe2(config, ctx.event, ctx.reference.reload());
|
|
38
38
|
yield* ctx.reference.transform((editor) => {
|
|
@@ -72,4 +72,4 @@ function localPath(directory, home, value) {
|
|
|
72
72
|
return path.isAbsolute(value) ? value : path.resolve(directory, value);
|
|
73
73
|
}
|
|
74
74
|
|
|
75
|
-
export {
|
|
75
|
+
export { Plugin10, exports_reference };
|
|
@@ -1,33 +1,33 @@
|
|
|
1
1
|
import {
|
|
2
2
|
key2
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./rpc-h6r3nrb9.js";
|
|
4
4
|
import {
|
|
5
5
|
Service83
|
|
6
|
-
} from "./
|
|
6
|
+
} from "./rpc-2edszpwc.js";
|
|
7
7
|
import {
|
|
8
8
|
OAuth3,
|
|
9
|
-
|
|
10
|
-
} from "./
|
|
9
|
+
Event18
|
|
10
|
+
} from "./rpc-psmbgs7g.js";
|
|
11
11
|
import {
|
|
12
|
-
|
|
12
|
+
ID14,
|
|
13
13
|
MethodID2
|
|
14
|
-
} from "./
|
|
14
|
+
} from "./rpc-dc4azbw1.js";
|
|
15
15
|
import {
|
|
16
|
-
|
|
16
|
+
ID13,
|
|
17
17
|
aisdk2,
|
|
18
18
|
mergeOverlay2,
|
|
19
|
-
|
|
20
|
-
} from "./
|
|
19
|
+
Service74
|
|
20
|
+
} from "./rpc-wjnjc2hh.js";
|
|
21
21
|
import {
|
|
22
|
-
|
|
23
|
-
} from "./
|
|
22
|
+
ID11
|
|
23
|
+
} from "./rpc-kg23xgw4.js";
|
|
24
24
|
import {
|
|
25
|
-
|
|
26
|
-
|
|
27
|
-
} from "./
|
|
25
|
+
load2,
|
|
26
|
+
derive2
|
|
27
|
+
} from "./rpc-ykgervwn.js";
|
|
28
28
|
import {
|
|
29
29
|
useragent2
|
|
30
|
-
} from "./
|
|
30
|
+
} from "./rpc-pb231g4a.js";
|
|
31
31
|
|
|
32
32
|
// src/plugin/provider/github-copilot.ts
|
|
33
33
|
import { Effect, Option, Schema, Semaphore, Stream } from "effect";
|
|
@@ -59,7 +59,7 @@ var decodeUser = Schema.decodeUnknownOption(User);
|
|
|
59
59
|
var JsonBody = Schema.fromJsonString(Schema.Unknown);
|
|
60
60
|
var decodeBody = Schema.decodeUnknownOption(JsonBody);
|
|
61
61
|
var oauth = (app) => ({
|
|
62
|
-
integrationID:
|
|
62
|
+
integrationID: ID14.make("github-copilot"),
|
|
63
63
|
method: {
|
|
64
64
|
id: methodID,
|
|
65
65
|
type: "oauth",
|
|
@@ -157,7 +157,7 @@ var oauth = (app) => ({
|
|
|
157
157
|
var GithubCopilotPlugin2 = define({
|
|
158
158
|
id: "opencode.provider.github.copilot",
|
|
159
159
|
effect: Effect.fn(function* (ctx) {
|
|
160
|
-
const providers = yield*
|
|
160
|
+
const providers = yield* Service74;
|
|
161
161
|
const bus = yield* Service83;
|
|
162
162
|
const loading = Semaphore.makeUnsafe(1);
|
|
163
163
|
const loaded = {};
|
|
@@ -173,9 +173,9 @@ var GithubCopilotPlugin2 = define({
|
|
|
173
173
|
return;
|
|
174
174
|
}
|
|
175
175
|
const url = copilotBaseURL2(credential.metadata) ?? baseURL();
|
|
176
|
-
const provider = yield* providers.get(
|
|
176
|
+
const provider = yield* providers.get(ID13.githubCopilot);
|
|
177
177
|
const remote = yield* Effect.tryPromise({
|
|
178
|
-
try: () =>
|
|
178
|
+
try: () => load2(url, {
|
|
179
179
|
...provider?.headers,
|
|
180
180
|
Authorization: `Bearer ${credential.refresh}`,
|
|
181
181
|
"User-Agent": useragent2(ctx.app),
|
|
@@ -194,13 +194,13 @@ var GithubCopilotPlugin2 = define({
|
|
|
194
194
|
editor.method.update(oauth(ctx.app));
|
|
195
195
|
});
|
|
196
196
|
yield* ctx.provider.transform((evt) => {
|
|
197
|
-
const item = evt.get(
|
|
197
|
+
const item = evt.get(ID13.githubCopilot);
|
|
198
198
|
if (!item)
|
|
199
199
|
return;
|
|
200
200
|
if (loaded.models) {
|
|
201
201
|
evt.add({
|
|
202
202
|
info: item.provider,
|
|
203
|
-
models: Array.from(
|
|
203
|
+
models: Array.from(derive2(loaded.baseURL ?? baseURL(), loaded.models, Array.from(item.models.values())).values()),
|
|
204
204
|
sourceConnection: loaded.connection
|
|
205
205
|
});
|
|
206
206
|
return;
|
|
@@ -214,17 +214,17 @@ var GithubCopilotPlugin2 = define({
|
|
|
214
214
|
}
|
|
215
215
|
});
|
|
216
216
|
yield* ctx.model.transform((models) => {
|
|
217
|
-
if (models.get(
|
|
218
|
-
models.update(
|
|
217
|
+
if (models.get(ID13.githubCopilot, ID11.make("gpt-5-chat-latest"))) {
|
|
218
|
+
models.update(ID13.githubCopilot, ID11.make("gpt-5-chat-latest"), (model) => {
|
|
219
219
|
model.enabled = false;
|
|
220
220
|
});
|
|
221
221
|
}
|
|
222
222
|
});
|
|
223
223
|
const refresh = () => loading.withPermit(load().pipe(Effect.andThen(ctx.provider.reload())));
|
|
224
|
-
yield* bus.subscribe(
|
|
224
|
+
yield* bus.subscribe(Event18.Switched).pipe(Stream.filter((event) => event.data.integrationID === ID14.make("github-copilot")), Stream.runForEach(refresh), Effect.forkScoped({ startImmediately: true }));
|
|
225
225
|
yield* refresh().pipe(Effect.forkScoped);
|
|
226
226
|
yield* ctx.aisdk.hook("sdk", Effect.fn(function* (evt) {
|
|
227
|
-
if (evt.model.providerID !==
|
|
227
|
+
if (evt.model.providerID !== ID13.githubCopilot)
|
|
228
228
|
return;
|
|
229
229
|
if (evt.package !== "@ai-sdk/github-copilot")
|
|
230
230
|
return;
|
|
@@ -233,7 +233,7 @@ var GithubCopilotPlugin2 = define({
|
|
|
233
233
|
evt.sdk = mod.createOpenaiCompatible(evt.options);
|
|
234
234
|
}));
|
|
235
235
|
yield* ctx.session.hook("model.request", (evt) => Effect.gen(function* () {
|
|
236
|
-
if (evt.model.providerID !==
|
|
236
|
+
if (evt.model.providerID !== ID13.githubCopilot)
|
|
237
237
|
return;
|
|
238
238
|
const session = yield* ctx.session.get({ sessionID: evt.sessionID }).pipe(Effect.orElseSucceed(() => {
|
|
239
239
|
return;
|
|
@@ -243,9 +243,9 @@ var GithubCopilotPlugin2 = define({
|
|
|
243
243
|
evt.headers["X-Interaction-Id"] = evt.sessionID;
|
|
244
244
|
if (interaction !== "conversation-agent")
|
|
245
245
|
evt.headers["x-initiator"] = "agent";
|
|
246
|
-
}), { providerID:
|
|
246
|
+
}), { providerID: ID13.githubCopilot });
|
|
247
247
|
yield* ctx.session.hook("http.request", (evt) => Effect.gen(function* () {
|
|
248
|
-
if (evt.model.providerID !==
|
|
248
|
+
if (evt.model.providerID !== ID13.githubCopilot)
|
|
249
249
|
return;
|
|
250
250
|
const token = evt.request.headers.get("x-api-key");
|
|
251
251
|
if (!token)
|
|
@@ -253,9 +253,9 @@ var GithubCopilotPlugin2 = define({
|
|
|
253
253
|
const text = yield* Effect.promise(() => evt.request.clone().text());
|
|
254
254
|
const body = Option.getOrUndefined(decodeBody(text));
|
|
255
255
|
applyHeaders(evt.request.headers, token, ctx.app, requestMetadata(evt.request.url, body), true);
|
|
256
|
-
}), { providerID:
|
|
256
|
+
}), { providerID: ID13.githubCopilot });
|
|
257
257
|
yield* ctx.aisdk.hook("language", Effect.fn(function* (evt) {
|
|
258
|
-
if (evt.model.providerID !==
|
|
258
|
+
if (evt.model.providerID !== ID13.githubCopilot)
|
|
259
259
|
return;
|
|
260
260
|
if (evt.sdk.responses === undefined && evt.sdk.chat === undefined) {
|
|
261
261
|
evt.language = evt.sdk.languageModel(evt.model.modelID ?? evt.model.id);
|
|
@@ -1,17 +1,17 @@
|
|
|
1
1
|
import {
|
|
2
2
|
__export
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./rpc-9rqn6x4v.js";
|
|
4
4
|
|
|
5
5
|
// src/plugin/mcp-codemode-exclusion.ts
|
|
6
6
|
var exports_mcp_codemode_exclusion = {};
|
|
7
7
|
__export(exports_mcp_codemode_exclusion, {
|
|
8
8
|
McpCodeModeExclusionPlugin: () => exports_mcp_codemode_exclusion,
|
|
9
|
-
Plugin: () =>
|
|
9
|
+
Plugin: () => Plugin48
|
|
10
10
|
});
|
|
11
11
|
import { define } from "@opencode/plugin/effect/plugin";
|
|
12
12
|
import { Effect } from "effect";
|
|
13
13
|
var urls = [/^https:\/\/executor\.sh\/[^/]+\/mcp$/];
|
|
14
|
-
var
|
|
14
|
+
var Plugin48 = define({
|
|
15
15
|
id: "opencode.mcp.codemode.exclusion",
|
|
16
16
|
effect: Effect.fn(function* (ctx) {
|
|
17
17
|
yield* ctx.mcp.transform((editor) => {
|
|
@@ -34,4 +34,4 @@ var Plugin13 = define({
|
|
|
34
34
|
})
|
|
35
35
|
});
|
|
36
36
|
|
|
37
|
-
export {
|
|
37
|
+
export { Plugin48, exports_mcp_codemode_exclusion };
|
|
@@ -1,33 +1,33 @@
|
|
|
1
1
|
import {
|
|
2
2
|
Service84,
|
|
3
3
|
node88
|
|
4
|
-
} from "./
|
|
4
|
+
} from "./rpc-bwdf5y29.js";
|
|
5
5
|
import {
|
|
6
6
|
PermissionTable2
|
|
7
|
-
} from "./
|
|
7
|
+
} from "./rpc-f828m53h.js";
|
|
8
8
|
import {
|
|
9
9
|
__export
|
|
10
|
-
} from "./
|
|
10
|
+
} from "./rpc-9rqn6x4v.js";
|
|
11
11
|
|
|
12
12
|
// src/permission/saved.ts
|
|
13
13
|
var exports_saved = {};
|
|
14
14
|
__export(exports_saved, {
|
|
15
15
|
AddInput: () => AddInput2,
|
|
16
|
-
ID: () =>
|
|
17
|
-
Info: () =>
|
|
18
|
-
ListInput: () =>
|
|
16
|
+
ID: () => ID8,
|
|
17
|
+
Info: () => Info21,
|
|
18
|
+
ListInput: () => ListInput4,
|
|
19
19
|
PermissionSaved: () => exports_saved,
|
|
20
|
-
Service: () =>
|
|
21
|
-
node: () =>
|
|
20
|
+
Service: () => Service64,
|
|
21
|
+
node: () => node68
|
|
22
22
|
});
|
|
23
23
|
import { eq } from "drizzle-orm";
|
|
24
24
|
import { Context, DateTime, Effect, Layer, Schema } from "effect";
|
|
25
25
|
import { Project } from "@opencode/schema/project";
|
|
26
26
|
import { makeGlobalNode } from "@opencode/util/effect/app-node";
|
|
27
27
|
import { PermissionSaved } from "@opencode/schema/permission-saved";
|
|
28
|
-
var
|
|
29
|
-
var
|
|
30
|
-
var
|
|
28
|
+
var ID8 = PermissionSaved.ID;
|
|
29
|
+
var Info21 = PermissionSaved.Info;
|
|
30
|
+
var ListInput4 = Schema.Struct({
|
|
31
31
|
projectID: Project.ID.pipe(Schema.optional)
|
|
32
32
|
}).annotate({ identifier: "PermissionSaved.ListInput" });
|
|
33
33
|
var AddInput2 = Schema.Struct({
|
|
@@ -36,9 +36,9 @@ var AddInput2 = Schema.Struct({
|
|
|
36
36
|
resources: Schema.Array(Schema.String)
|
|
37
37
|
}).annotate({ identifier: "PermissionSaved.AddInput" });
|
|
38
38
|
|
|
39
|
-
class
|
|
39
|
+
class Service64 extends Context.Service()("@opencode/PermissionSaved") {
|
|
40
40
|
}
|
|
41
|
-
var layer = Layer.effect(
|
|
41
|
+
var layer = Layer.effect(Service64, Effect.gen(function* () {
|
|
42
42
|
const db = (yield* Service84).db;
|
|
43
43
|
const list = Effect.fnUntraced(function* (input) {
|
|
44
44
|
const rows = yield* db.select().from(PermissionTable2).where(input?.projectID ? eq(PermissionTable2.project_id, input.projectID) : undefined).all().pipe(Effect.orDie);
|
|
@@ -57,7 +57,7 @@ var layer = Layer.effect(Service61, Effect.gen(function* () {
|
|
|
57
57
|
if (!input.resources.length)
|
|
58
58
|
return;
|
|
59
59
|
yield* db.insert(PermissionTable2).values(input.resources.map((resource) => ({
|
|
60
|
-
id:
|
|
60
|
+
id: ID8.create(),
|
|
61
61
|
project_id: input.projectID,
|
|
62
62
|
action: input.action,
|
|
63
63
|
resource
|
|
@@ -66,8 +66,8 @@ var layer = Layer.effect(Service61, Effect.gen(function* () {
|
|
|
66
66
|
const remove = Effect.fn("PermissionSaved.remove")(function* (id) {
|
|
67
67
|
yield* db.delete(PermissionTable2).where(eq(PermissionTable2.id, id)).run().pipe(Effect.orDie);
|
|
68
68
|
});
|
|
69
|
-
return
|
|
69
|
+
return Service64.of({ list, add, remove });
|
|
70
70
|
}));
|
|
71
|
-
var
|
|
71
|
+
var node68 = makeGlobalNode({ service: Service64, layer, deps: [node88] });
|
|
72
72
|
|
|
73
|
-
export {
|
|
73
|
+
export { ID8, Info21, ListInput4, AddInput2, Service64, node68, exports_saved };
|