@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,22 +1,22 @@
|
|
|
1
1
|
import {
|
|
2
2
|
PATCH_CONTEXT_LINES2
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./rpc-tazgh4e4.js";
|
|
4
4
|
import {
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
} from "./
|
|
5
|
+
ID4,
|
|
6
|
+
Service37
|
|
7
|
+
} from "./rpc-x23ksf4z.js";
|
|
8
8
|
import {
|
|
9
9
|
SessionSchema2
|
|
10
|
-
} from "./
|
|
10
|
+
} from "./rpc-mf9m2v67.js";
|
|
11
11
|
import {
|
|
12
12
|
MessageNotFoundError2
|
|
13
|
-
} from "./
|
|
13
|
+
} from "./rpc-97fmyryk.js";
|
|
14
14
|
import {
|
|
15
15
|
SessionMessageTable2
|
|
16
|
-
} from "./
|
|
16
|
+
} from "./rpc-a1bz86dw.js";
|
|
17
17
|
import {
|
|
18
18
|
__export
|
|
19
|
-
} from "./
|
|
19
|
+
} from "./rpc-9rqn6x4v.js";
|
|
20
20
|
|
|
21
21
|
// src/session/diff.ts
|
|
22
22
|
var exports_diff = {};
|
|
@@ -81,14 +81,14 @@ var turn2 = Effect.fn("SessionDiff.turn")(function* (db, locations, input) {
|
|
|
81
81
|
const location = before ? decodeLocation(before) : after ? decodeLocation(after) : input.session.location;
|
|
82
82
|
const recorded = steps.findLast((step) => step.end)?.end;
|
|
83
83
|
return yield* Effect.gen(function* () {
|
|
84
|
-
const snapshot = yield*
|
|
84
|
+
const snapshot = yield* Service37;
|
|
85
85
|
const running = input.active && final.completed === null;
|
|
86
86
|
const to = running ? (yield* snapshot.capture()) ?? recorded : recorded;
|
|
87
87
|
if (!to)
|
|
88
88
|
return [];
|
|
89
89
|
return yield* snapshot.diff({
|
|
90
|
-
from:
|
|
91
|
-
to:
|
|
90
|
+
from: ID4.make(from),
|
|
91
|
+
to: ID4.make(to),
|
|
92
92
|
context: input.context ?? PATCH_CONTEXT_LINES2
|
|
93
93
|
});
|
|
94
94
|
}).pipe(Effect.provide(locations.get(location)));
|
|
@@ -1,32 +1,32 @@
|
|
|
1
1
|
import {
|
|
2
|
-
|
|
3
|
-
} from "./
|
|
2
|
+
Service53
|
|
3
|
+
} from "./rpc-s1myyttd.js";
|
|
4
4
|
import {
|
|
5
|
-
|
|
6
|
-
} from "./
|
|
5
|
+
Service52
|
|
6
|
+
} from "./rpc-5113vt88.js";
|
|
7
7
|
import {
|
|
8
8
|
parse2
|
|
9
|
-
} from "./
|
|
9
|
+
} from "./rpc-x6z9f47m.js";
|
|
10
10
|
import {
|
|
11
11
|
__export
|
|
12
|
-
} from "./
|
|
12
|
+
} from "./rpc-9rqn6x4v.js";
|
|
13
13
|
|
|
14
14
|
// src/config/plugin/compatibility.ts
|
|
15
15
|
var exports_compatibility = {};
|
|
16
16
|
__export(exports_compatibility, {
|
|
17
17
|
ConfigCompatibilityPlugin: () => exports_compatibility,
|
|
18
|
-
Plugin: () =>
|
|
18
|
+
Plugin: () => Plugin5
|
|
19
19
|
});
|
|
20
20
|
import { define } from "@opencode/plugin/effect/plugin";
|
|
21
21
|
import { FSUtil } from "@opencode/util/fs-util";
|
|
22
22
|
import path from "path";
|
|
23
23
|
import { Effect, FiberMap, PubSub, Semaphore, Stream } from "effect";
|
|
24
|
-
var
|
|
24
|
+
var Plugin5 = define({
|
|
25
25
|
id: "opencode.config.compatibility",
|
|
26
26
|
effect: Effect.fn(function* (ctx) {
|
|
27
|
-
const config = yield*
|
|
27
|
+
const config = yield* Service52;
|
|
28
28
|
const fs = yield* FSUtil.Service;
|
|
29
|
-
const watcher = yield*
|
|
29
|
+
const watcher = yield* Service53;
|
|
30
30
|
const watches = yield* FiberMap.make();
|
|
31
31
|
const changes = yield* PubSub.sliding(1);
|
|
32
32
|
const lock = Semaphore.makeUnsafe(1);
|
|
@@ -73,4 +73,4 @@ var Plugin29 = define({
|
|
|
73
73
|
})
|
|
74
74
|
});
|
|
75
75
|
|
|
76
|
-
export {
|
|
76
|
+
export { Plugin5, exports_compatibility };
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import {
|
|
2
|
-
|
|
3
|
-
} from "./
|
|
2
|
+
ID13
|
|
3
|
+
} from "./rpc-wjnjc2hh.js";
|
|
4
4
|
|
|
5
5
|
// src/plugin/provider/amazon-bedrock.ts
|
|
6
6
|
import { Effect } from "effect";
|
|
@@ -18,7 +18,7 @@ var AmazonBedrockPlugin2 = define({
|
|
|
18
18
|
effect: Effect.fn(function* (ctx) {
|
|
19
19
|
yield* ctx.integration.transform((editor) => {
|
|
20
20
|
editor.method.update({
|
|
21
|
-
integrationID:
|
|
21
|
+
integrationID: ID13.amazonBedrock,
|
|
22
22
|
method: { type: "env", names: ["AWS_BEARER_TOKEN_BEDROCK"] }
|
|
23
23
|
});
|
|
24
24
|
});
|
|
@@ -1,55 +1,55 @@
|
|
|
1
1
|
import {
|
|
2
2
|
AbsolutePath2,
|
|
3
3
|
RelativePath2
|
|
4
|
-
} from "./
|
|
4
|
+
} from "./rpc-922hggd3.js";
|
|
5
5
|
import {
|
|
6
6
|
Repository2,
|
|
7
7
|
TreeID2,
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
} from "./
|
|
8
|
+
Service80,
|
|
9
|
+
node84
|
|
10
|
+
} from "./rpc-9g3kc011.js";
|
|
11
11
|
import {
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
} from "./
|
|
12
|
+
Service78,
|
|
13
|
+
node82
|
|
14
|
+
} from "./rpc-0ph59fht.js";
|
|
15
15
|
import {
|
|
16
16
|
create3
|
|
17
|
-
} from "./
|
|
17
|
+
} from "./rpc-rdw6cm16.js";
|
|
18
18
|
import {
|
|
19
19
|
__export
|
|
20
|
-
} from "./
|
|
20
|
+
} from "./rpc-9rqn6x4v.js";
|
|
21
21
|
|
|
22
22
|
// src/snapshot.ts
|
|
23
23
|
var exports_snapshot2 = {};
|
|
24
24
|
__export(exports_snapshot2, {
|
|
25
|
-
Error: () =>
|
|
26
|
-
ID: () =>
|
|
27
|
-
Service: () =>
|
|
25
|
+
Error: () => Error3,
|
|
26
|
+
ID: () => ID4,
|
|
27
|
+
Service: () => Service37,
|
|
28
28
|
Snapshot: () => exports_snapshot2,
|
|
29
|
-
node: () =>
|
|
30
|
-
noopLayer: () =>
|
|
29
|
+
node: () => node40,
|
|
30
|
+
noopLayer: () => noopLayer2
|
|
31
31
|
});
|
|
32
32
|
import { makeLocationNode } from "@opencode/util/effect/app-node";
|
|
33
33
|
import path from "path";
|
|
34
34
|
import { Context, Effect, Fiber, Layer, Schema, Scope } from "effect";
|
|
35
35
|
import { FSUtil } from "@opencode/util/fs-util";
|
|
36
36
|
import { Global } from "@opencode/util/global";
|
|
37
|
-
import { ID as
|
|
37
|
+
import { ID as ID4 } from "@opencode/schema/snapshot";
|
|
38
38
|
import { Hash } from "@opencode/util/hash";
|
|
39
|
-
class
|
|
39
|
+
class Error3 extends Schema.TaggedError()("Snapshot.Error", {
|
|
40
40
|
operation: Schema.Literals(["capture", "files", "diff", "restore"]),
|
|
41
41
|
message: Schema.String,
|
|
42
42
|
cause: Schema.optional(Schema.Defect())
|
|
43
43
|
}) {
|
|
44
44
|
}
|
|
45
45
|
|
|
46
|
-
class
|
|
46
|
+
class Service37 extends Context.Service()("@opencode/Snapshot") {
|
|
47
47
|
}
|
|
48
|
-
var layer = Layer.effect(
|
|
48
|
+
var layer = Layer.effect(Service37, Effect.gen(function* () {
|
|
49
49
|
const fs = yield* FSUtil.Service;
|
|
50
|
-
const git = yield*
|
|
50
|
+
const git = yield* Service80;
|
|
51
51
|
const global = yield* Global.Service;
|
|
52
|
-
const location = yield*
|
|
52
|
+
const location = yield* Service78;
|
|
53
53
|
const lifetime = yield* Scope.Scope;
|
|
54
54
|
const state = create3({
|
|
55
55
|
name: "snapshot",
|
|
@@ -63,7 +63,7 @@ var layer = Layer.effect(Service55, Effect.gen(function* () {
|
|
|
63
63
|
const repositoryFiber = yield* Effect.cached(Effect.gen(function* () {
|
|
64
64
|
const source = yield* git.repo.discover(location.project.directory);
|
|
65
65
|
if (!source)
|
|
66
|
-
return yield* new
|
|
66
|
+
return yield* new Error3({ operation: "capture", message: "Project is not a Git repository" });
|
|
67
67
|
const worktree = AbsolutePath2.make(yield* fs.realPath(source.worktree).pipe(Effect.orDie));
|
|
68
68
|
const gitDirectory = AbsolutePath2.make(path.join(global.data, "snapshot", location.project.id, Hash.fast(worktree)));
|
|
69
69
|
const snapshotRepository = (yield* fs.existsSafe(path.join(gitDirectory, "HEAD"))) ? new Repository2({ worktree, gitDirectory, commonDirectory: gitDirectory }) : yield* git.repo.create({ worktree, gitDirectory, seed: source }).pipe(Effect.mapError((cause) => failure("capture", cause)));
|
|
@@ -73,7 +73,7 @@ var layer = Layer.effect(Service55, Effect.gen(function* () {
|
|
|
73
73
|
const scope = Effect.fnUntraced(function* (worktree) {
|
|
74
74
|
const relative = path.relative(worktree, location.directory);
|
|
75
75
|
if (relative.startsWith("..") || path.isAbsolute(relative))
|
|
76
|
-
return yield* new
|
|
76
|
+
return yield* new Error3({ operation: "capture", message: "Location is outside the project" });
|
|
77
77
|
return RelativePath2.make(relative.replaceAll("\\", "/") || ".");
|
|
78
78
|
});
|
|
79
79
|
const enabled = () => location.vcs?.type === "git" && state.get().enabled;
|
|
@@ -82,7 +82,7 @@ var layer = Layer.effect(Service55, Effect.gen(function* () {
|
|
|
82
82
|
return;
|
|
83
83
|
return yield* Effect.gen(function* () {
|
|
84
84
|
const repo = yield* repository;
|
|
85
|
-
return
|
|
85
|
+
return ID4.make(yield* git.tree.capture({
|
|
86
86
|
repository: repo.snapshotRepository,
|
|
87
87
|
scopes: [yield* scope(repo.worktree)],
|
|
88
88
|
ignores: repo.source,
|
|
@@ -127,25 +127,25 @@ var layer = Layer.effect(Service55, Effect.gen(function* () {
|
|
|
127
127
|
for (const [file, snapshot] of input.files) {
|
|
128
128
|
const absolute = path.resolve(worktree, file);
|
|
129
129
|
if (!FSUtil.contains(worktree, absolute))
|
|
130
|
-
return yield* new
|
|
130
|
+
return yield* new Error3({ operation: "restore", message: `Path escapes the project: ${file}` });
|
|
131
131
|
files.set(file, TreeID2.make(snapshot));
|
|
132
132
|
}
|
|
133
133
|
return files;
|
|
134
134
|
});
|
|
135
135
|
const restore = Effect.fn("Snapshot.restore")(function* (input) {
|
|
136
136
|
if (!enabled())
|
|
137
|
-
return yield* new
|
|
137
|
+
return yield* new Error3({ operation: "restore", message: "Snapshots are disabled" });
|
|
138
138
|
const repo = yield* repository.pipe(Effect.mapError((cause) => failure("restore", cause)));
|
|
139
139
|
yield* git.tree.restore({ repository: repo.snapshotRepository, files: yield* plan(repo.worktree, input) }).pipe(Effect.mapError((cause) => failure("restore", cause)));
|
|
140
140
|
});
|
|
141
|
-
return
|
|
141
|
+
return Service37.of({ transform: state.transform, reload: state.reload, capture, files, diff, restore });
|
|
142
142
|
}).pipe(Effect.withSpan("Snapshot.boot")));
|
|
143
|
-
var
|
|
144
|
-
service:
|
|
143
|
+
var node40 = makeLocationNode({
|
|
144
|
+
service: Service37,
|
|
145
145
|
layer,
|
|
146
|
-
deps: [FSUtil.node,
|
|
146
|
+
deps: [FSUtil.node, node84, Global.node, node82]
|
|
147
147
|
});
|
|
148
|
-
var
|
|
148
|
+
var noopLayer2 = Layer.succeed(Service37, Service37.of({
|
|
149
149
|
transform: () => Effect.succeed({ dispose: Effect.void }),
|
|
150
150
|
reload: () => Effect.void,
|
|
151
151
|
capture: () => Effect.undefined,
|
|
@@ -154,13 +154,13 @@ var noopLayer3 = Layer.succeed(Service55, Service55.of({
|
|
|
154
154
|
restore: () => Effect.void
|
|
155
155
|
}));
|
|
156
156
|
function failure(operation, cause) {
|
|
157
|
-
if (cause instanceof
|
|
157
|
+
if (cause instanceof Error3 && cause.operation === operation)
|
|
158
158
|
return cause;
|
|
159
|
-
return new
|
|
159
|
+
return new Error3({
|
|
160
160
|
operation,
|
|
161
161
|
message: cause instanceof globalThis.Error ? cause.message : String(cause),
|
|
162
162
|
cause
|
|
163
163
|
});
|
|
164
164
|
}
|
|
165
165
|
|
|
166
|
-
export {
|
|
166
|
+
export { ID4, Error3, Service37, node40, noopLayer2, exports_snapshot2 };
|
|
@@ -1,66 +1,66 @@
|
|
|
1
1
|
import {
|
|
2
|
-
|
|
3
|
-
} from "./
|
|
2
|
+
Service77
|
|
3
|
+
} from "./rpc-wawr4bz0.js";
|
|
4
4
|
import {
|
|
5
|
-
|
|
6
|
-
} from "./
|
|
5
|
+
Service63
|
|
6
|
+
} from "./rpc-yhs9sve9.js";
|
|
7
7
|
import {
|
|
8
|
-
|
|
8
|
+
ID12,
|
|
9
9
|
Result2,
|
|
10
10
|
ProviderRequiredError2,
|
|
11
11
|
DisabledError2,
|
|
12
12
|
RequestError2,
|
|
13
|
-
|
|
14
|
-
} from "./
|
|
13
|
+
Service72
|
|
14
|
+
} from "./rpc-tafc1fk6.js";
|
|
15
15
|
import {
|
|
16
16
|
__export
|
|
17
|
-
} from "./
|
|
17
|
+
} from "./rpc-9rqn6x4v.js";
|
|
18
18
|
|
|
19
19
|
// src/tool/plugin/websearch.ts
|
|
20
20
|
var exports_websearch2 = {};
|
|
21
21
|
__export(exports_websearch2, {
|
|
22
|
-
Input: () =>
|
|
22
|
+
Input: () => Input10,
|
|
23
23
|
NO_RESULTS: () => NO_RESULTS2,
|
|
24
|
-
Plugin: () =>
|
|
24
|
+
Plugin: () => Plugin29,
|
|
25
25
|
WebSearchTool: () => exports_websearch2,
|
|
26
|
-
description: () =>
|
|
27
|
-
name: () =>
|
|
26
|
+
description: () => description5,
|
|
27
|
+
name: () => name10
|
|
28
28
|
});
|
|
29
29
|
import { ToolFailure } from "@opencode/ai";
|
|
30
30
|
import { Effect, Schema, Semaphore } from "effect";
|
|
31
31
|
import { HttpClientError } from "effect/unstable/http";
|
|
32
|
-
var
|
|
32
|
+
var name10 = "websearch";
|
|
33
33
|
var NO_RESULTS2 = "No search results found. Please try a different query.";
|
|
34
34
|
var providerSelectionLock = Semaphore.makeUnsafe(1);
|
|
35
35
|
var httpErrors = new Map([
|
|
36
36
|
[429, "Web search rate limited (HTTP 429)"],
|
|
37
37
|
[401, "Web search authentication failed (HTTP 401)"]
|
|
38
38
|
]);
|
|
39
|
-
var
|
|
39
|
+
var description5 = `Search the web using the user's selected search integration. Use this for current information beyond knowledge cutoff.
|
|
40
40
|
|
|
41
41
|
The current year is ${new Date().getFullYear()}. Use this year when searching for recent information or current events.`;
|
|
42
|
-
var
|
|
42
|
+
var Input10 = Schema.Struct({
|
|
43
43
|
query: Schema.String.annotate({ description: "Websearch query" })
|
|
44
44
|
});
|
|
45
45
|
var Output = Schema.Struct({
|
|
46
|
-
provider:
|
|
46
|
+
provider: ID12,
|
|
47
47
|
results: Schema.Array(Result2)
|
|
48
48
|
});
|
|
49
|
-
var
|
|
49
|
+
var Plugin29 = {
|
|
50
50
|
id: "opencode.tool.websearch",
|
|
51
51
|
effect: Effect.fn("WebSearchTool.Plugin")(function* (ctx) {
|
|
52
|
-
const permission = yield*
|
|
53
|
-
const forms = yield*
|
|
54
|
-
const websearch = yield*
|
|
52
|
+
const permission = yield* Service63;
|
|
53
|
+
const forms = yield* Service77;
|
|
54
|
+
const websearch = yield* Service72;
|
|
55
55
|
yield* ctx.tool.transform((editor) => editor.add({
|
|
56
|
-
name:
|
|
56
|
+
name: name10,
|
|
57
57
|
options: { codemode: false },
|
|
58
|
-
description:
|
|
59
|
-
input:
|
|
58
|
+
description: description5,
|
|
59
|
+
input: Input10,
|
|
60
60
|
output: Output,
|
|
61
61
|
execute: (input, context) => Effect.gen(function* () {
|
|
62
62
|
yield* permission.assert({
|
|
63
|
-
action:
|
|
63
|
+
action: name10,
|
|
64
64
|
resources: [input.query],
|
|
65
65
|
save: ["*"],
|
|
66
66
|
metadata: input,
|
|
@@ -176,7 +176,7 @@ ${result.content}` : ""}`;
|
|
|
176
176
|
const hook = (event) => Effect.gen(function* () {
|
|
177
177
|
const disabled = yield* websearch.default().pipe(Effect.as(false), Effect.catchTag("WebSearch.Disabled", () => Effect.succeed(true)));
|
|
178
178
|
if (disabled)
|
|
179
|
-
delete event.tools[
|
|
179
|
+
delete event.tools[name10];
|
|
180
180
|
});
|
|
181
181
|
yield* ctx.session.hook("context", hook);
|
|
182
182
|
yield* ctx.session.hook("compaction", hook);
|
|
@@ -184,4 +184,4 @@ ${result.content}` : ""}`;
|
|
|
184
184
|
})
|
|
185
185
|
};
|
|
186
186
|
|
|
187
|
-
export {
|
|
187
|
+
export { name10, NO_RESULTS2, description5, Input10, Plugin29, exports_websearch2 };
|
|
@@ -1,16 +1,16 @@
|
|
|
1
1
|
import {
|
|
2
2
|
parseOption2
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./rpc-5daktx2q.js";
|
|
4
4
|
import {
|
|
5
5
|
AbsolutePath2
|
|
6
|
-
} from "./
|
|
6
|
+
} from "./rpc-922hggd3.js";
|
|
7
7
|
import {
|
|
8
|
-
|
|
8
|
+
ID5,
|
|
9
9
|
Name2
|
|
10
|
-
} from "./
|
|
10
|
+
} from "./rpc-q4r160dw.js";
|
|
11
11
|
import {
|
|
12
12
|
__export
|
|
13
|
-
} from "./
|
|
13
|
+
} from "./rpc-9rqn6x4v.js";
|
|
14
14
|
|
|
15
15
|
// src/config/plugin/skill-file.ts
|
|
16
16
|
var exports_skill_file = {};
|
|
@@ -55,7 +55,7 @@ function parse2(directory, filepath, content) {
|
|
|
55
55
|
return {
|
|
56
56
|
_tag: "Parsed",
|
|
57
57
|
skill: {
|
|
58
|
-
id:
|
|
58
|
+
id: ID5.make(id),
|
|
59
59
|
name: Name2.make(frontmatter.name ?? id),
|
|
60
60
|
...frontmatter.description === undefined ? {} : { description: frontmatter.description },
|
|
61
61
|
...autoinvoke === undefined ? {} : { autoinvoke },
|
|
@@ -1,45 +1,45 @@
|
|
|
1
1
|
import {
|
|
2
2
|
Service84,
|
|
3
3
|
node88
|
|
4
|
-
} from "./
|
|
4
|
+
} from "./rpc-bwdf5y29.js";
|
|
5
5
|
import {
|
|
6
6
|
latestSequence2,
|
|
7
7
|
Service83,
|
|
8
8
|
node87
|
|
9
|
-
} from "./
|
|
9
|
+
} from "./rpc-2edszpwc.js";
|
|
10
10
|
import {
|
|
11
11
|
llmClient2
|
|
12
|
-
} from "./
|
|
12
|
+
} from "./rpc-5t3nmthw.js";
|
|
13
13
|
import {
|
|
14
14
|
SessionEvent2
|
|
15
|
-
} from "./
|
|
15
|
+
} from "./rpc-ec1grn59.js";
|
|
16
16
|
import {
|
|
17
17
|
firstUserMessage2
|
|
18
|
-
} from "./
|
|
18
|
+
} from "./rpc-bpm8jz68.js";
|
|
19
19
|
import {
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
} from "./
|
|
20
|
+
Service65,
|
|
21
|
+
node69
|
|
22
|
+
} from "./rpc-c2786m8r.js";
|
|
23
23
|
import {
|
|
24
24
|
Service26,
|
|
25
25
|
node29
|
|
26
|
-
} from "./
|
|
26
|
+
} from "./rpc-6ay8t20q.js";
|
|
27
27
|
import {
|
|
28
28
|
record2,
|
|
29
29
|
add2
|
|
30
|
-
} from "./
|
|
30
|
+
} from "./rpc-tdstcens.js";
|
|
31
31
|
import {
|
|
32
32
|
__export
|
|
33
|
-
} from "./
|
|
33
|
+
} from "./rpc-9rqn6x4v.js";
|
|
34
34
|
|
|
35
35
|
// src/session/title.ts
|
|
36
36
|
var exports_title = {};
|
|
37
37
|
__export(exports_title, {
|
|
38
|
-
Service: () =>
|
|
38
|
+
Service: () => Service3,
|
|
39
39
|
SessionTitle: () => exports_title,
|
|
40
40
|
isUntitled: () => isUntitled2,
|
|
41
|
-
layer: () =>
|
|
42
|
-
node: () =>
|
|
41
|
+
layer: () => layer3,
|
|
42
|
+
node: () => node4
|
|
43
43
|
});
|
|
44
44
|
import { isDeepStrictEqual } from "node:util";
|
|
45
45
|
import { LLMClient, LLMEvent, Message, SystemPart } from "@opencode/ai";
|
|
@@ -51,18 +51,18 @@ var MAX_CONTEXT_LENGTH = 8000;
|
|
|
51
51
|
var MAX_FIRST_MESSAGE_LENGTH = 2000;
|
|
52
52
|
var titleChanged = Symbol("Session title changed");
|
|
53
53
|
|
|
54
|
-
class
|
|
54
|
+
class Service3 extends Context.Service()("@opencode/SessionTitle") {
|
|
55
55
|
}
|
|
56
56
|
var truncate = (value) => value.length <= MAX_LENGTH ? value : `${value.slice(0, MAX_LENGTH - 3)}...`;
|
|
57
57
|
var isUntitled2 = (session) => isExactRootFallback({
|
|
58
58
|
title: session.title,
|
|
59
59
|
time: { created: DateTime.toEpochMillis(session.time.created) }
|
|
60
60
|
});
|
|
61
|
-
var
|
|
61
|
+
var layer3 = Layer.effect(Service3, Effect.gen(function* () {
|
|
62
62
|
const bus = yield* Service83;
|
|
63
63
|
const llm = yield* LLMClient.Service;
|
|
64
64
|
const context = yield* Service26;
|
|
65
|
-
const store = yield*
|
|
65
|
+
const store = yield* Service65;
|
|
66
66
|
const db = (yield* Service84).db;
|
|
67
67
|
const attempt = Effect.fn("SessionTitle.attempt")(function* (input) {
|
|
68
68
|
const chunks = [];
|
|
@@ -145,12 +145,12 @@ Recent conversation:
|
|
|
145
145
|
title: truncate(title)
|
|
146
146
|
}, { commit: (sequence) => sequence === expectedSequence ? Effect.void : Effect.die(titleChanged) }).pipe(Effect.catchDefect((defect) => defect === titleChanged ? Effect.void : Effect.die(defect)));
|
|
147
147
|
});
|
|
148
|
-
return
|
|
148
|
+
return Service3.of({ generate });
|
|
149
149
|
}));
|
|
150
|
-
var
|
|
151
|
-
service:
|
|
152
|
-
layer:
|
|
153
|
-
deps: [node87, llmClient2, node29,
|
|
150
|
+
var node4 = makeLocationNode({
|
|
151
|
+
service: Service3,
|
|
152
|
+
layer: layer3,
|
|
153
|
+
deps: [node87, llmClient2, node29, node69, node88]
|
|
154
154
|
});
|
|
155
155
|
|
|
156
|
-
export {
|
|
156
|
+
export { Service3, isUntitled2, layer3, node4, exports_title };
|
|
@@ -1,72 +1,72 @@
|
|
|
1
1
|
import {
|
|
2
|
-
|
|
3
|
-
} from "./
|
|
2
|
+
Service54
|
|
3
|
+
} from "./rpc-me8pr9wv.js";
|
|
4
4
|
import {
|
|
5
|
-
|
|
5
|
+
Service15,
|
|
6
6
|
readText2,
|
|
7
7
|
syncTextBom2
|
|
8
|
-
} from "./
|
|
8
|
+
} from "./rpc-9xfcchtv.js";
|
|
9
9
|
import {
|
|
10
|
-
|
|
11
|
-
} from "./
|
|
10
|
+
Service16
|
|
11
|
+
} from "./rpc-kbw4jcdq.js";
|
|
12
12
|
import {
|
|
13
|
-
|
|
14
|
-
} from "./
|
|
13
|
+
Service63
|
|
14
|
+
} from "./rpc-yhs9sve9.js";
|
|
15
15
|
import {
|
|
16
|
-
|
|
17
|
-
} from "./
|
|
16
|
+
Service22
|
|
17
|
+
} from "./rpc-2y0xkqje.js";
|
|
18
18
|
import {
|
|
19
19
|
fileDiff2
|
|
20
|
-
} from "./
|
|
20
|
+
} from "./rpc-6prwharc.js";
|
|
21
21
|
import {
|
|
22
22
|
__export
|
|
23
|
-
} from "./
|
|
23
|
+
} from "./rpc-9rqn6x4v.js";
|
|
24
24
|
|
|
25
25
|
// src/tool/plugin/write.ts
|
|
26
26
|
var exports_write = {};
|
|
27
27
|
__export(exports_write, {
|
|
28
|
-
Input: () =>
|
|
29
|
-
Output: () =>
|
|
30
|
-
Plugin: () =>
|
|
28
|
+
Input: () => Input6,
|
|
29
|
+
Output: () => Output4,
|
|
30
|
+
Plugin: () => Plugin25,
|
|
31
31
|
WriteTool: () => exports_write,
|
|
32
|
-
name: () =>
|
|
33
|
-
toModelContent: () =>
|
|
32
|
+
name: () => name6,
|
|
33
|
+
toModelContent: () => toModelContent4
|
|
34
34
|
});
|
|
35
35
|
import { ToolFailure } from "@opencode/ai";
|
|
36
36
|
import { Effect, Schema } from "effect";
|
|
37
37
|
import { Bom } from "@opencode/util/bom";
|
|
38
|
-
var
|
|
39
|
-
var
|
|
38
|
+
var name6 = "write";
|
|
39
|
+
var Input6 = Schema.Struct({
|
|
40
40
|
path: Schema.String.annotate({
|
|
41
41
|
description: "Path to the file to write to"
|
|
42
42
|
}),
|
|
43
43
|
content: Schema.String.annotate({ description: "Content to write to the file" })
|
|
44
44
|
});
|
|
45
|
-
var
|
|
45
|
+
var Output4 = Schema.Struct({
|
|
46
46
|
operation: Schema.Literal("write"),
|
|
47
47
|
target: Schema.String,
|
|
48
48
|
resource: Schema.String,
|
|
49
49
|
existed: Schema.Boolean
|
|
50
50
|
});
|
|
51
|
-
var
|
|
52
|
-
var
|
|
51
|
+
var toModelContent4 = (output) => `${output.existed ? "Wrote" : "Created"} file successfully: ${output.resource}`;
|
|
52
|
+
var Plugin25 = {
|
|
53
53
|
id: "opencode.tool.write",
|
|
54
54
|
effect: Effect.fn("WriteTool.Plugin")(function* (ctx) {
|
|
55
|
-
const access = yield*
|
|
56
|
-
const fileMutation = yield*
|
|
57
|
-
const environment = yield*
|
|
58
|
-
const formatter = yield*
|
|
59
|
-
const permission = yield*
|
|
55
|
+
const access = yield* Service22;
|
|
56
|
+
const fileMutation = yield* Service15;
|
|
57
|
+
const environment = yield* Service54;
|
|
58
|
+
const formatter = yield* Service16;
|
|
59
|
+
const permission = yield* Service63;
|
|
60
60
|
yield* ctx.tool.transform((editor) => editor.add({
|
|
61
|
-
name:
|
|
61
|
+
name: name6,
|
|
62
62
|
options: { codemode: false, permission: "edit" },
|
|
63
63
|
description: `Writes a file to the local filesystem, overwriting if one exists.
|
|
64
64
|
|
|
65
65
|
Missing parent directories are created automatically.
|
|
66
66
|
|
|
67
67
|
Use this tool to create new files or overwrite existing files. For partial changes, use the edit tool instead.`,
|
|
68
|
-
input:
|
|
69
|
-
output:
|
|
68
|
+
input: Input6,
|
|
69
|
+
output: Output4,
|
|
70
70
|
execute: (input, context) => Effect.gen(function* () {
|
|
71
71
|
const source = {
|
|
72
72
|
type: "tool",
|
|
@@ -93,9 +93,9 @@ Use this tool to create new files or overwrite existing files. For partial chang
|
|
|
93
93
|
yield* syncTextBom2(environment.files, target.absolute, bom);
|
|
94
94
|
}
|
|
95
95
|
return result;
|
|
96
|
-
}).pipe(Effect.map((output) => ({ output, content:
|
|
96
|
+
}).pipe(Effect.map((output) => ({ output, content: toModelContent4(output) })), Effect.mapError((error) => new ToolFailure({ message: `Unable to write ${input.path}`, error })))
|
|
97
97
|
})).pipe(Effect.orDie);
|
|
98
98
|
})
|
|
99
99
|
};
|
|
100
100
|
|
|
101
|
-
export {
|
|
101
|
+
export { name6, Input6, Output4, toModelContent4, Plugin25, exports_write };
|
|
@@ -2,13 +2,13 @@ import {
|
|
|
2
2
|
AgentNotFoundError2,
|
|
3
3
|
StepFailedError2,
|
|
4
4
|
UserInterruptedError2
|
|
5
|
-
} from "./
|
|
5
|
+
} from "./rpc-97fmyryk.js";
|
|
6
6
|
import {
|
|
7
7
|
BlockedError2
|
|
8
|
-
} from "./
|
|
8
|
+
} from "./rpc-yhs9sve9.js";
|
|
9
9
|
import {
|
|
10
10
|
AuthorizationError2
|
|
11
|
-
} from "./
|
|
11
|
+
} from "./rpc-dc4azbw1.js";
|
|
12
12
|
import {
|
|
13
13
|
ModelNotSelectedError2,
|
|
14
14
|
ModelUnavailableError2,
|
|
@@ -18,7 +18,7 @@ import {
|
|
|
18
18
|
ModelInitializationError2,
|
|
19
19
|
UnresolvedProviderVariablesError2,
|
|
20
20
|
UnsupportedCompactionError2
|
|
21
|
-
} from "./
|
|
21
|
+
} from "./rpc-1v4ncvf1.js";
|
|
22
22
|
|
|
23
23
|
// src/session/to-session-error.ts
|
|
24
24
|
import { AIError, ToolFailure } from "@opencode/ai";
|