@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,71 +1,71 @@
|
|
|
1
1
|
import {
|
|
2
2
|
Service83,
|
|
3
3
|
node87
|
|
4
|
-
} from "./
|
|
4
|
+
} from "./rpc-2edszpwc.js";
|
|
5
5
|
import {
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
} from "./
|
|
6
|
+
Service78,
|
|
7
|
+
node82
|
|
8
|
+
} from "./rpc-0ph59fht.js";
|
|
9
9
|
import {
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
} from "./
|
|
10
|
+
ID10,
|
|
11
|
+
Service66,
|
|
12
|
+
node70
|
|
13
|
+
} from "./rpc-jncpz27z.js";
|
|
14
14
|
import {
|
|
15
|
-
|
|
16
|
-
} from "./
|
|
15
|
+
NotFoundError9
|
|
16
|
+
} from "./rpc-97fmyryk.js";
|
|
17
17
|
import {
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
} from "./
|
|
18
|
+
Service65,
|
|
19
|
+
node69
|
|
20
|
+
} from "./rpc-c2786m8r.js";
|
|
21
21
|
import {
|
|
22
22
|
match2
|
|
23
|
-
} from "./
|
|
23
|
+
} from "./rpc-y1fvbwt7.js";
|
|
24
24
|
import {
|
|
25
|
-
|
|
26
|
-
|
|
27
|
-
} from "./
|
|
25
|
+
Service64,
|
|
26
|
+
node68
|
|
27
|
+
} from "./rpc-r0wq7eep.js";
|
|
28
28
|
import {
|
|
29
|
-
|
|
30
|
-
|
|
31
|
-
} from "./
|
|
29
|
+
Service67,
|
|
30
|
+
node71
|
|
31
|
+
} from "./rpc-g1sxm558.js";
|
|
32
32
|
import {
|
|
33
33
|
__export
|
|
34
|
-
} from "./
|
|
34
|
+
} from "./rpc-9rqn6x4v.js";
|
|
35
35
|
|
|
36
36
|
// src/permission.ts
|
|
37
|
-
var
|
|
38
|
-
__export(
|
|
37
|
+
var exports_permission2 = {};
|
|
38
|
+
__export(exports_permission2, {
|
|
39
39
|
AskResult: () => AskResult2,
|
|
40
40
|
AssertInput: () => AssertInput2,
|
|
41
41
|
BlockedError: () => BlockedError2,
|
|
42
42
|
CorrectedError: () => CorrectedError2,
|
|
43
43
|
DeclinedError: () => DeclinedError2,
|
|
44
44
|
Effect: () => PermissionEffect,
|
|
45
|
-
Event: () =>
|
|
46
|
-
ID: () =>
|
|
47
|
-
NotFoundError: () =>
|
|
48
|
-
Permission: () =>
|
|
45
|
+
Event: () => Event12,
|
|
46
|
+
ID: () => ID7,
|
|
47
|
+
NotFoundError: () => NotFoundError8,
|
|
48
|
+
Permission: () => exports_permission2,
|
|
49
49
|
Reply: () => Reply2,
|
|
50
50
|
ReplyInput: () => ReplyInput2,
|
|
51
51
|
Request: () => Request2,
|
|
52
|
-
Rule: () =>
|
|
52
|
+
Rule: () => Rule3,
|
|
53
53
|
Ruleset: () => Ruleset2,
|
|
54
|
-
Service: () =>
|
|
55
|
-
Source: () =>
|
|
54
|
+
Service: () => Service63,
|
|
55
|
+
Source: () => Source5,
|
|
56
56
|
evaluate: () => evaluate2,
|
|
57
57
|
merge: () => merge2,
|
|
58
|
-
node: () =>
|
|
58
|
+
node: () => node67
|
|
59
59
|
});
|
|
60
60
|
import { makeLocationNode } from "@opencode/util/effect/app-node";
|
|
61
61
|
import { Context, Deferred, Effect, Layer, Schema } from "effect";
|
|
62
62
|
import { Permission } from "@opencode/schema/permission";
|
|
63
|
-
import { Rule as
|
|
64
|
-
import { Event as
|
|
63
|
+
import { Rule as Rule3, Ruleset as Ruleset2 } from "@opencode/schema/permission";
|
|
64
|
+
import { Event as Event12 } from "@opencode/schema/permission";
|
|
65
65
|
var PermissionEffect = Permission.Effect;
|
|
66
66
|
var missingAgentPermissions = [{ action: "*", resource: "*", effect: "deny" }];
|
|
67
|
-
var
|
|
68
|
-
var
|
|
67
|
+
var ID7 = Permission.ID;
|
|
68
|
+
var Source5 = Permission.Source;
|
|
69
69
|
var RequestFields = {
|
|
70
70
|
sessionID: Permission.Request.fields.sessionID,
|
|
71
71
|
action: Permission.Request.fields.action,
|
|
@@ -77,17 +77,17 @@ var RequestFields = {
|
|
|
77
77
|
var Request2 = Permission.Request;
|
|
78
78
|
var Reply2 = Permission.Reply;
|
|
79
79
|
var AssertInput2 = Schema.Struct({
|
|
80
|
-
id:
|
|
80
|
+
id: ID7.pipe(Schema.optional),
|
|
81
81
|
...RequestFields,
|
|
82
|
-
agent:
|
|
82
|
+
agent: ID10.pipe(Schema.optional)
|
|
83
83
|
}).annotate({ identifier: "Permission.AssertInput" });
|
|
84
84
|
var ReplyInput2 = Schema.Struct({
|
|
85
|
-
requestID:
|
|
85
|
+
requestID: ID7,
|
|
86
86
|
reply: Reply2,
|
|
87
87
|
message: Schema.String.pipe(Schema.optional)
|
|
88
88
|
}).annotate({ identifier: "Permission.ReplyInput" });
|
|
89
89
|
var AskResult2 = Schema.Struct({
|
|
90
|
-
id:
|
|
90
|
+
id: ID7,
|
|
91
91
|
effect: Permission.Effect
|
|
92
92
|
}).annotate({ identifier: "Permission.AskResult" });
|
|
93
93
|
|
|
@@ -110,8 +110,8 @@ class BlockedError2 extends Schema.TaggedError()("Permission.BlockedError", {
|
|
|
110
110
|
}
|
|
111
111
|
}
|
|
112
112
|
|
|
113
|
-
class
|
|
114
|
-
requestID:
|
|
113
|
+
class NotFoundError8 extends Schema.TaggedError()("Permission.NotFoundError", {
|
|
114
|
+
requestID: ID7
|
|
115
115
|
}) {
|
|
116
116
|
}
|
|
117
117
|
function evaluate2(action, resource, ...rulesets) {
|
|
@@ -125,15 +125,15 @@ function merge2(...rulesets) {
|
|
|
125
125
|
return rulesets.flat();
|
|
126
126
|
}
|
|
127
127
|
|
|
128
|
-
class
|
|
128
|
+
class Service63 extends Context.Service()("@opencode/Permission") {
|
|
129
129
|
}
|
|
130
|
-
var layer = Layer.effect(
|
|
130
|
+
var layer = Layer.effect(Service63, Effect.gen(function* () {
|
|
131
131
|
const bus = yield* Service83;
|
|
132
|
-
const location = yield*
|
|
133
|
-
const agents = yield*
|
|
134
|
-
const sessions = yield*
|
|
135
|
-
const saved = yield*
|
|
136
|
-
const hooks = yield*
|
|
132
|
+
const location = yield* Service78;
|
|
133
|
+
const agents = yield* Service66;
|
|
134
|
+
const sessions = yield* Service65;
|
|
135
|
+
const saved = yield* Service64;
|
|
136
|
+
const hooks = yield* Service67;
|
|
137
137
|
const pending = new Map;
|
|
138
138
|
let closed = false;
|
|
139
139
|
const close = Effect.gen(function* () {
|
|
@@ -156,7 +156,7 @@ var layer = Layer.effect(Service59, Effect.gen(function* () {
|
|
|
156
156
|
const configured = Effect.fnUntraced(function* (sessionID, agentID) {
|
|
157
157
|
const session = yield* sessions.get(sessionID);
|
|
158
158
|
if (!session)
|
|
159
|
-
return yield* new
|
|
159
|
+
return yield* new NotFoundError9({ sessionID });
|
|
160
160
|
const agent = yield* agents.resolve(agentID ?? session.agent);
|
|
161
161
|
return merge2(agent?.permissions ?? missingAgentPermissions, session.permissions ?? []);
|
|
162
162
|
});
|
|
@@ -186,7 +186,7 @@ var layer = Layer.effect(Service59, Effect.gen(function* () {
|
|
|
186
186
|
});
|
|
187
187
|
function request(input, message) {
|
|
188
188
|
return {
|
|
189
|
-
id: input.id ??
|
|
189
|
+
id: input.id ?? ID7.create(),
|
|
190
190
|
sessionID: input.sessionID,
|
|
191
191
|
action: input.action,
|
|
192
192
|
resources: input.resources,
|
|
@@ -211,7 +211,7 @@ var layer = Layer.effect(Service59, Effect.gen(function* () {
|
|
|
211
211
|
}));
|
|
212
212
|
const ask = Effect.fn("Permission.ask")(function* (input) {
|
|
213
213
|
if (closed)
|
|
214
|
-
return { id: input.id ??
|
|
214
|
+
return { id: input.id ?? ID7.create(), effect: "deny" };
|
|
215
215
|
const result = yield* evaluateInput(input);
|
|
216
216
|
const value = request(input, result.message);
|
|
217
217
|
if (result.effect === "ask")
|
|
@@ -242,7 +242,7 @@ var layer = Layer.effect(Service59, Effect.gen(function* () {
|
|
|
242
242
|
const reply = Effect.fn("Permission.reply")((input) => Effect.uninterruptible(Effect.gen(function* () {
|
|
243
243
|
const existing = pending.get(input.requestID);
|
|
244
244
|
if (!existing)
|
|
245
|
-
return yield* new
|
|
245
|
+
return yield* new NotFoundError8({ requestID: input.requestID });
|
|
246
246
|
yield* bus.publish(Permission.Event.Replied, {
|
|
247
247
|
sessionID: existing.request.sessionID,
|
|
248
248
|
requestID: existing.request.id,
|
|
@@ -297,12 +297,12 @@ var layer = Layer.effect(Service59, Effect.gen(function* () {
|
|
|
297
297
|
const forSession = Effect.fn("Permission.forSession")(function* (sessionID) {
|
|
298
298
|
return Array.from(pending.values(), (item) => item.request).filter((request) => request.sessionID === sessionID);
|
|
299
299
|
});
|
|
300
|
-
return
|
|
300
|
+
return Service63.of({ ask, assert, reply, get, forSession, list, close });
|
|
301
301
|
}));
|
|
302
|
-
var
|
|
303
|
-
service:
|
|
302
|
+
var node67 = makeLocationNode({
|
|
303
|
+
service: Service63,
|
|
304
304
|
layer,
|
|
305
|
-
deps: [node87,
|
|
305
|
+
deps: [node87, node82, node70, node69, node68, node71]
|
|
306
306
|
});
|
|
307
307
|
|
|
308
|
-
export { PermissionEffect,
|
|
308
|
+
export { PermissionEffect, ID7, Source5, Request2, Reply2, AssertInput2, ReplyInput2, AskResult2, DeclinedError2, CorrectedError2, BlockedError2, NotFoundError8, evaluate2, merge2, Service63, node67, exports_permission2, Rule3, Ruleset2, Event12 };
|
|
@@ -1,25 +1,25 @@
|
|
|
1
1
|
import {
|
|
2
|
-
|
|
2
|
+
ID13,
|
|
3
3
|
aisdk2,
|
|
4
4
|
mergeOverlay2
|
|
5
|
-
} from "./
|
|
5
|
+
} from "./rpc-wjnjc2hh.js";
|
|
6
6
|
import {
|
|
7
|
-
|
|
7
|
+
ID11,
|
|
8
8
|
VariantID2,
|
|
9
9
|
Family2,
|
|
10
|
-
|
|
11
|
-
} from "./
|
|
10
|
+
Info25
|
|
11
|
+
} from "./rpc-kg23xgw4.js";
|
|
12
12
|
import {
|
|
13
13
|
__export
|
|
14
|
-
} from "./
|
|
14
|
+
} from "./rpc-9rqn6x4v.js";
|
|
15
15
|
|
|
16
16
|
// src/github-copilot/models.ts
|
|
17
|
-
var
|
|
18
|
-
__export(
|
|
19
|
-
CopilotModels: () =>
|
|
20
|
-
derive: () =>
|
|
21
|
-
get: () =>
|
|
22
|
-
load: () =>
|
|
17
|
+
var exports_models = {};
|
|
18
|
+
__export(exports_models, {
|
|
19
|
+
CopilotModels: () => exports_models,
|
|
20
|
+
derive: () => derive2,
|
|
21
|
+
get: () => get2,
|
|
22
|
+
load: () => load2
|
|
23
23
|
});
|
|
24
24
|
import { Money } from "@opencode/schema/money";
|
|
25
25
|
import { Option, Schema } from "effect";
|
|
@@ -68,10 +68,10 @@ var RemoteModel = Schema.Struct({
|
|
|
68
68
|
var Response = Schema.Struct({ data: Schema.Array(Schema.Unknown) });
|
|
69
69
|
var decodeResponse = Schema.decodeUnknownSync(Response);
|
|
70
70
|
var decodeModel = Schema.decodeUnknownOption(RemoteModel);
|
|
71
|
-
async function
|
|
72
|
-
return
|
|
71
|
+
async function get2(baseURL, headers, existing) {
|
|
72
|
+
return derive2(baseURL, await load2(baseURL, headers), existing);
|
|
73
73
|
}
|
|
74
|
-
async function
|
|
74
|
+
async function load2(baseURL, headers) {
|
|
75
75
|
const response = await fetch(`${baseURL}/models`, {
|
|
76
76
|
headers,
|
|
77
77
|
signal: AbortSignal.timeout(5000)
|
|
@@ -83,7 +83,7 @@ async function load3(baseURL, headers) {
|
|
|
83
83
|
return model && usable(model) ? [[model.id, model]] : [];
|
|
84
84
|
}));
|
|
85
85
|
}
|
|
86
|
-
function
|
|
86
|
+
function derive2(baseURL, remote, existing) {
|
|
87
87
|
const result = new Map(existing.map((model) => [model.id, model]));
|
|
88
88
|
for (const [id, model] of result) {
|
|
89
89
|
const current = remote.get(model.modelID);
|
|
@@ -94,7 +94,7 @@ function derive3(baseURL, remote, existing) {
|
|
|
94
94
|
result.set(id, build(id, current, baseURL, model));
|
|
95
95
|
}
|
|
96
96
|
for (const [id, model] of remote) {
|
|
97
|
-
const key =
|
|
97
|
+
const key = ID11.make(id);
|
|
98
98
|
if (result.has(key))
|
|
99
99
|
continue;
|
|
100
100
|
result.set(key, build(key, model, baseURL));
|
|
@@ -118,11 +118,11 @@ function build(id, remote, baseURL, previous) {
|
|
|
118
118
|
const usdPerMillion = prices && prices.batch_size > 0 ? 1e4 / prices.batch_size : 0;
|
|
119
119
|
const version = remote.version.startsWith(`${remote.id}-`) ? remote.version.slice(remote.id.length + 1) : remote.version;
|
|
120
120
|
const released = previous?.time.released || Date.parse(version);
|
|
121
|
-
return
|
|
122
|
-
...
|
|
121
|
+
return Info25.make({
|
|
122
|
+
...Info25.default(ID13.githubCopilot, id),
|
|
123
123
|
id,
|
|
124
|
-
modelID:
|
|
125
|
-
providerID:
|
|
124
|
+
modelID: ID11.make(remote.id),
|
|
125
|
+
providerID: ID13.githubCopilot,
|
|
126
126
|
family: previous?.family ?? Family2.make(remote.capabilities.family),
|
|
127
127
|
name: previous?.name ?? remote.name,
|
|
128
128
|
package: messages ? "@opencode/ai/providers/anthropic" : aisdk2("@ai-sdk/github-copilot"),
|
|
@@ -197,4 +197,4 @@ function variants(remote, messages) {
|
|
|
197
197
|
];
|
|
198
198
|
}
|
|
199
199
|
|
|
200
|
-
export {
|
|
200
|
+
export { get2, load2, derive2, exports_models };
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import {
|
|
2
2
|
__export
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./rpc-9rqn6x4v.js";
|
|
4
4
|
|
|
5
5
|
// src/tool/plugin/opencode.ts
|
|
6
6
|
var exports_opencode = {};
|
|
@@ -8,7 +8,7 @@ __export(exports_opencode, {
|
|
|
8
8
|
ModelsInput: () => ModelsInput2,
|
|
9
9
|
MoveInput: () => MoveInput2,
|
|
10
10
|
OpenCodeTools: () => exports_opencode,
|
|
11
|
-
Plugin: () =>
|
|
11
|
+
Plugin: () => Plugin32,
|
|
12
12
|
RenameInput: () => RenameInput2
|
|
13
13
|
});
|
|
14
14
|
import { SystemPart, ToolFailure } from "@opencode/ai";
|
|
@@ -64,7 +64,7 @@ var ModelsOutput = Schema.Struct({
|
|
|
64
64
|
total: Schema.Int.annotate({ description: "Number of matching models across all pages." }),
|
|
65
65
|
next: Schema.NullOr(Schema.Int).annotate({ description: "Offset of the next page, or null on the last page." })
|
|
66
66
|
});
|
|
67
|
-
var
|
|
67
|
+
var Plugin32 = {
|
|
68
68
|
id: "opencode.tools",
|
|
69
69
|
effect: Effect.fn("OpenCodeTools.Plugin")(function* (ctx) {
|
|
70
70
|
const hook = (event) => Effect.sync(() => {
|
|
@@ -161,4 +161,4 @@ var Plugin41 = {
|
|
|
161
161
|
})
|
|
162
162
|
};
|
|
163
163
|
|
|
164
|
-
export { RenameInput2, MoveInput2, ModelsInput2,
|
|
164
|
+
export { RenameInput2, MoveInput2, ModelsInput2, Plugin32, exports_opencode };
|
|
@@ -1,29 +1,29 @@
|
|
|
1
1
|
import {
|
|
2
|
-
|
|
3
|
-
} from "./
|
|
2
|
+
Service51
|
|
3
|
+
} from "./rpc-pnkbpv6t.js";
|
|
4
4
|
import {
|
|
5
|
-
|
|
6
|
-
} from "./
|
|
5
|
+
Service43
|
|
6
|
+
} from "./rpc-4mwpykj0.js";
|
|
7
7
|
import {
|
|
8
8
|
detect2
|
|
9
|
-
} from "./
|
|
9
|
+
} from "./rpc-3smtnn6g.js";
|
|
10
10
|
import {
|
|
11
11
|
awaitActivation2
|
|
12
|
-
} from "./
|
|
12
|
+
} from "./rpc-619r8v3y.js";
|
|
13
13
|
import {
|
|
14
|
-
|
|
15
|
-
} from "./
|
|
14
|
+
Service67
|
|
15
|
+
} from "./rpc-g1sxm558.js";
|
|
16
16
|
import {
|
|
17
17
|
AttachmentError2,
|
|
18
18
|
SkillNotFoundError2
|
|
19
|
-
} from "./
|
|
19
|
+
} from "./rpc-97fmyryk.js";
|
|
20
20
|
import {
|
|
21
21
|
prepare3,
|
|
22
|
-
|
|
23
|
-
} from "./
|
|
22
|
+
Service46
|
|
23
|
+
} from "./rpc-q4r160dw.js";
|
|
24
24
|
import {
|
|
25
25
|
__export
|
|
26
|
-
} from "./
|
|
26
|
+
} from "./rpc-9rqn6x4v.js";
|
|
27
27
|
|
|
28
28
|
// src/session/prompt.ts
|
|
29
29
|
var exports_prompt = {};
|
|
@@ -39,10 +39,10 @@ import path from "path";
|
|
|
39
39
|
import { fileURLToPath } from "url";
|
|
40
40
|
var prepare2 = Effect.fn("SessionPrompt.prepare")(function* (request) {
|
|
41
41
|
const fs = yield* FSUtil.Service;
|
|
42
|
-
const instances = yield*
|
|
42
|
+
const instances = yield* Service43;
|
|
43
43
|
return yield* Effect.gen(function* () {
|
|
44
44
|
yield* awaitActivation2;
|
|
45
|
-
const hooks = yield*
|
|
45
|
+
const hooks = yield* Service67;
|
|
46
46
|
const event = yield* hooks.trigger("session", "prompt", {
|
|
47
47
|
sessionID: request.session.id,
|
|
48
48
|
messageID: request.messageID,
|
|
@@ -61,7 +61,7 @@ var prepare2 = Effect.fn("SessionPrompt.prepare")(function* (request) {
|
|
|
61
61
|
const selected = yield* Effect.gen(function* () {
|
|
62
62
|
if (!requested?.length)
|
|
63
63
|
return;
|
|
64
|
-
const skillService = yield*
|
|
64
|
+
const skillService = yield* Service46;
|
|
65
65
|
const prepared = new Map;
|
|
66
66
|
return yield* Effect.forEach(requested, (attachment) => Effect.gen(function* () {
|
|
67
67
|
const name = prepared.get(attachment.id);
|
|
@@ -126,7 +126,7 @@ var materializeAttachment = Effect.fn("SessionPrompt.materializeAttachment")(fun
|
|
|
126
126
|
var normalizeImageAttachment = Effect.fn("SessionPrompt.normalizeImageAttachment")(function* (input, data, mime) {
|
|
127
127
|
if (!mime.startsWith("image/"))
|
|
128
128
|
return { data: Base64.make(data), mime };
|
|
129
|
-
const image = yield*
|
|
129
|
+
const image = yield* Service51;
|
|
130
130
|
const label = attachmentLabel(input);
|
|
131
131
|
const content = { uri: label, content: data, encoding: "base64", mime };
|
|
132
132
|
const normalized = yield* image.normalize(label, content).pipe(Effect.catchTag("Image.ResizerUnavailableError", () => Effect.succeed(content)), Effect.mapError((error) => new AttachmentError2({ uri: label, message: error.message })));
|
|
@@ -1,62 +1,62 @@
|
|
|
1
1
|
import {
|
|
2
2
|
NonNegativeInt2
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./rpc-922hggd3.js";
|
|
4
4
|
import {
|
|
5
5
|
latest2,
|
|
6
|
-
|
|
7
|
-
} from "./
|
|
6
|
+
Service52
|
|
7
|
+
} from "./rpc-5113vt88.js";
|
|
8
8
|
import {
|
|
9
9
|
typeFollowing2
|
|
10
|
-
} from "./
|
|
10
|
+
} from "./rpc-2a5m3afh.js";
|
|
11
11
|
import {
|
|
12
|
-
|
|
13
|
-
} from "./
|
|
12
|
+
Service54
|
|
13
|
+
} from "./rpc-me8pr9wv.js";
|
|
14
14
|
import {
|
|
15
|
-
|
|
16
|
-
} from "./
|
|
15
|
+
Service45
|
|
16
|
+
} from "./rpc-er62cyqb.js";
|
|
17
17
|
import {
|
|
18
|
-
|
|
19
|
-
} from "./
|
|
18
|
+
Service63
|
|
19
|
+
} from "./rpc-yhs9sve9.js";
|
|
20
20
|
import {
|
|
21
|
-
|
|
21
|
+
Service22,
|
|
22
22
|
resolvePath2
|
|
23
|
-
} from "./
|
|
23
|
+
} from "./rpc-2y0xkqje.js";
|
|
24
24
|
import {
|
|
25
25
|
output2,
|
|
26
26
|
notice2,
|
|
27
27
|
metadata2,
|
|
28
28
|
notification2
|
|
29
|
-
} from "./
|
|
29
|
+
} from "./rpc-fxbjtjnd.js";
|
|
30
30
|
import {
|
|
31
|
-
|
|
31
|
+
Service57,
|
|
32
32
|
name15
|
|
33
|
-
} from "./
|
|
33
|
+
} from "./rpc-zh982f6d.js";
|
|
34
34
|
import {
|
|
35
35
|
NotFoundError5,
|
|
36
36
|
Service38
|
|
37
|
-
} from "./
|
|
37
|
+
} from "./rpc-nhsqghgk.js";
|
|
38
38
|
import {
|
|
39
39
|
Service24
|
|
40
|
-
} from "./
|
|
40
|
+
} from "./rpc-m77ynzk7.js";
|
|
41
41
|
import {
|
|
42
42
|
scan2
|
|
43
|
-
} from "./
|
|
43
|
+
} from "./rpc-b0mytkpx.js";
|
|
44
44
|
import {
|
|
45
45
|
__export
|
|
46
|
-
} from "./
|
|
46
|
+
} from "./rpc-9rqn6x4v.js";
|
|
47
47
|
|
|
48
48
|
// src/tool/plugin/shell.ts
|
|
49
49
|
var exports_shell2 = {};
|
|
50
50
|
__export(exports_shell2, {
|
|
51
51
|
DEFAULT_TIMEOUT_MS: () => DEFAULT_TIMEOUT_MS2,
|
|
52
|
-
Input: () =>
|
|
53
|
-
Plugin: () =>
|
|
52
|
+
Input: () => Input9,
|
|
53
|
+
Plugin: () => Plugin28,
|
|
54
54
|
ShellTool: () => exports_shell2,
|
|
55
|
-
name: () =>
|
|
55
|
+
name: () => name9
|
|
56
56
|
});
|
|
57
57
|
import { ToolFailure } from "@opencode/ai";
|
|
58
58
|
import { Deferred, Effect, Schema, Scope } from "effect";
|
|
59
|
-
var
|
|
59
|
+
var name9 = "shell";
|
|
60
60
|
var DEFAULT_TIMEOUT_MS2 = 2 * 60 * 1000;
|
|
61
61
|
var BACKGROUND_INSTRUCTION = "You will be notified automatically when the command finishes. The notification will include the command's output. Unless the user explicitly asks otherwise, DO NOT poll for completion, even if you need the final result to continue. Repeatedly sleeping and reading or searching the output file is polling, not useful work. You may read the current output if it lets you do useful work now, but do not repeatedly check it while waiting for the command to finish. Keep working on anything that does not depend on the result. If you have nothing else to do, end your response; you will be resumed automatically when the command finishes.";
|
|
62
62
|
var OS = process.platform === "darwin" ? "macOS" : process.platform === "win32" ? "Windows" : process.platform === "linux" ? "Linux" : process.platform;
|
|
@@ -70,7 +70,7 @@ var description = (shell) => [
|
|
|
70
70
|
"Commands accept an optional timeout, background commands have no timeout by default.",
|
|
71
71
|
"Background commands return immediately, and you will be notified when they complete."
|
|
72
72
|
].join(" ");
|
|
73
|
-
var
|
|
73
|
+
var Input9 = Schema.Struct({
|
|
74
74
|
command: Schema.String.annotate({ description: "Shell command string to execute" }),
|
|
75
75
|
workdir: Schema.optionalKey(Schema.String).annotate({
|
|
76
76
|
description: "Working directory to execute the command in. Defaults to the current working directory. When possible, avoid changing directories in the command and set the working directory here instead."
|
|
@@ -115,19 +115,19 @@ Output is streaming to: ${file}`,
|
|
|
115
115
|
truncated: false,
|
|
116
116
|
status: "running"
|
|
117
117
|
});
|
|
118
|
-
var
|
|
118
|
+
var Plugin28 = {
|
|
119
119
|
id: "opencode.tool.shell",
|
|
120
120
|
effect: Effect.fn("ShellTool.Plugin")(function* (ctx) {
|
|
121
121
|
const sessions = yield* Service24;
|
|
122
|
-
const jobs = yield*
|
|
122
|
+
const jobs = yield* Service45;
|
|
123
123
|
const scope = yield* Scope.Scope;
|
|
124
|
-
const environment = yield*
|
|
125
|
-
const access = yield*
|
|
124
|
+
const environment = yield* Service54;
|
|
125
|
+
const access = yield* Service22;
|
|
126
126
|
const shell = yield* Service38;
|
|
127
|
-
const shellSelect = yield*
|
|
127
|
+
const shellSelect = yield* Service57;
|
|
128
128
|
const compatibleShell = shellSelect.resolve({ priority: "compat" });
|
|
129
|
-
const permission = yield*
|
|
130
|
-
const config = yield*
|
|
129
|
+
const permission = yield* Service63;
|
|
130
|
+
const config = yield* Service52;
|
|
131
131
|
const prepare = Effect.fn("ShellTool.prepare")(function* (invocation, context) {
|
|
132
132
|
const source = {
|
|
133
133
|
type: "tool",
|
|
@@ -146,7 +146,7 @@ var Plugin42 = {
|
|
|
146
146
|
yield* access.authorizeExternal([target, ...directories], context);
|
|
147
147
|
if (parsed.commands.length > 0)
|
|
148
148
|
yield* permission.assert({
|
|
149
|
-
action:
|
|
149
|
+
action: name9,
|
|
150
150
|
resources: parsed.commands.map((command) => command.resource),
|
|
151
151
|
save: parsed.commands.map((command) => command.save),
|
|
152
152
|
sessionID: context.sessionID,
|
|
@@ -183,10 +183,10 @@ var Plugin42 = {
|
|
|
183
183
|
yield* jobs.completeBackground(info.notificationID);
|
|
184
184
|
}, Effect.forkIn(scope, { startImmediately: true }));
|
|
185
185
|
yield* ctx.tool.transform((editor) => editor.add({
|
|
186
|
-
name:
|
|
186
|
+
name: name9,
|
|
187
187
|
options: { codemode: false },
|
|
188
188
|
description: description(),
|
|
189
|
-
input:
|
|
189
|
+
input: Input9,
|
|
190
190
|
output: Output,
|
|
191
191
|
execute: (input, context) => Effect.gen(function* () {
|
|
192
192
|
const timeout = input.background === true ? input.timeout ?? 0 : input.timeout ?? DEFAULT_TIMEOUT_MS2;
|
|
@@ -219,7 +219,7 @@ Command exceeded timeout of ${finalTimeout} ms. Retry with a larger timeout if t
|
|
|
219
219
|
`)), Effect.onInterrupt(() => shell.remove(info.id).pipe(Effect.ignore)));
|
|
220
220
|
const job = yield* jobs.start({
|
|
221
221
|
id: info.id,
|
|
222
|
-
type:
|
|
222
|
+
type: name9,
|
|
223
223
|
title: info.command,
|
|
224
224
|
metadata: { sessionID: context.sessionID, shellID: info.id },
|
|
225
225
|
recovery: {
|
|
@@ -249,7 +249,7 @@ Command exceeded timeout of ${finalTimeout} ms. Retry with a larger timeout if t
|
|
|
249
249
|
}).pipe(Effect.map(toolResult), Effect.mapError((error) => new ToolFailure({ message: `Unable to execute command: ${input.command}`, error })))
|
|
250
250
|
})).pipe(Effect.orDie);
|
|
251
251
|
const hook = (event) => Effect.gen(function* () {
|
|
252
|
-
const tool = event.tools[
|
|
252
|
+
const tool = event.tools[name9];
|
|
253
253
|
if (!tool)
|
|
254
254
|
return;
|
|
255
255
|
tool.description = description(name15(yield* compatibleShell));
|
|
@@ -260,4 +260,4 @@ Command exceeded timeout of ${finalTimeout} ms. Retry with a larger timeout if t
|
|
|
260
260
|
})
|
|
261
261
|
};
|
|
262
262
|
|
|
263
|
-
export {
|
|
263
|
+
export { name9, DEFAULT_TIMEOUT_MS2, Input9, Plugin28, exports_shell2 };
|