@opencode/core 0.0.0-dev-20712 → 0.0.0-dev-20713
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 +82 -82
- package/dist/aisdk-native.js +90 -90
- package/dist/aisdk.js +95 -95
- package/dist/app.js +9 -9
- package/dist/bus.js +74 -74
- package/dist/chunks/{form-rrs16p2a.js → location-services-090mqsqa.js} +50 -50
- package/dist/chunks/{form-n9tvhd39.js → location-services-0a4qccd8.js} +37 -37
- package/dist/chunks/{form-0paq2nw3.js → location-services-0paq2nw3.js} +1 -1
- package/dist/chunks/{form-kzn9b0yx.js → location-services-0r4dtv79.js} +87 -87
- package/dist/chunks/{form-0vbcp93d.js → location-services-0vbcp93d.js} +2 -2
- package/dist/chunks/{form-c2sed5cq.js → location-services-143qq2q9.js} +3 -3
- package/dist/chunks/{form-sryg0kp6.js → location-services-1c65g91r.js} +17 -17
- package/dist/chunks/{form-1dazxqgg.js → location-services-1dazxqgg.js} +2 -2
- package/dist/chunks/{form-1dvck2a7.js → location-services-1dvck2a7.js} +2 -2
- package/dist/chunks/{form-ny70bwj6.js → location-services-1hnnp4my.js} +21 -21
- package/dist/chunks/{form-x6pyv2yz.js → location-services-1nwxscpy.js} +5 -5
- package/dist/chunks/{form-bq42tmev.js → location-services-1qpb5tp2.js} +15 -15
- package/dist/chunks/{form-25b7azff.js → location-services-1rw9m4p9.js} +53 -53
- package/dist/chunks/{form-nk25batw.js → location-services-1ryfw7wy.js} +9 -9
- package/dist/chunks/{form-3xjc4gvj.js → location-services-1sn2rrav.js} +4 -4
- package/dist/chunks/{form-e2ekxyxj.js → location-services-1x0wq35b.js} +20 -20
- package/dist/chunks/{form-33w4ejhs.js → location-services-1ygqh575.js} +6 -6
- package/dist/chunks/{form-2a5m3afh.js → location-services-2a5m3afh.js} +1 -1
- package/dist/chunks/{form-j4e6bw45.js → location-services-2en5nzqt.js} +20 -20
- package/dist/chunks/{form-2k8khapm.js → location-services-2k8khapm.js} +1 -1
- package/dist/chunks/{form-p3bnm29a.js → location-services-2vx29jw0.js} +70 -70
- package/dist/chunks/{form-7vfe0jxp.js → location-services-35t5c9n6.js} +27 -27
- package/dist/chunks/{form-0k7fsqbg.js → location-services-3892v6z1.js} +11 -11
- package/dist/chunks/{form-y2ef215h.js → location-services-3c019r4e.js} +6 -6
- package/dist/chunks/{form-s1q20etf.js → location-services-3dq5nwnj.js} +8 -8
- package/dist/chunks/{form-3fc6dm20.js → location-services-3fc6dm20.js} +1 -1
- package/dist/chunks/{form-5w9yjztw.js → location-services-3g8j9he4.js} +1 -1
- package/dist/chunks/{form-3hepkmqq.js → location-services-3hepkmqq.js} +1 -1
- package/dist/chunks/{form-5hp5cn4k.js → location-services-3j6ne696.js} +15 -15
- package/dist/chunks/{form-3smtnn6g.js → location-services-3smtnn6g.js} +1 -1
- package/dist/chunks/{form-3tvqynh2.js → location-services-3tvqynh2.js} +1 -1
- package/dist/chunks/{form-3zsf4n22.js → location-services-3zsf4n22.js} +1 -1
- package/dist/chunks/{form-vttgn2fv.js → location-services-408t61km.js} +22 -22
- package/dist/chunks/{form-xtzppgah.js → location-services-40vbek4t.js} +24 -24
- package/dist/chunks/{form-ff7ybqyq.js → location-services-45jpj27j.js} +30 -30
- package/dist/chunks/{form-72rw85ce.js → location-services-4as14ht8.js} +11 -11
- package/dist/chunks/{form-3cxatzex.js → location-services-4datraz0.js} +33 -33
- package/dist/chunks/{form-1hpgpzcd.js → location-services-4fxfkc7z.js} +1 -1
- package/dist/chunks/{form-nx17tqsy.js → location-services-4m0wz9sy.js} +13 -13
- package/dist/chunks/{form-kmhwdwzj.js → location-services-4sbgwmvz.js} +27 -27
- package/dist/chunks/{form-wte5p5wk.js → location-services-4td0mp7r.js} +22 -22
- package/dist/chunks/{form-4ts7tf6z.js → location-services-4ts7tf6z.js} +2 -2
- package/dist/chunks/{form-zrq8kphx.js → location-services-4w5f3qm5.js} +8 -8
- package/dist/chunks/{form-w39jehkq.js → location-services-4xpgt2w9.js} +5 -5
- package/dist/chunks/{form-97w5rk9e.js → location-services-52fpbh6z.js} +8 -8
- package/dist/chunks/{form-54ma36ye.js → location-services-54ma36ye.js} +1 -1
- package/dist/chunks/{form-5fskm1g1.js → location-services-54n3348x.js} +11 -11
- package/dist/chunks/{form-ynxadk5f.js → location-services-556cbe2c.js} +32 -32
- package/dist/chunks/{form-gkjptba1.js → location-services-5638ckp1.js} +40 -40
- package/dist/chunks/{form-j6dqhm69.js → location-services-5a1saz3z.js} +7 -7
- package/dist/chunks/{form-ey2d9ww2.js → location-services-5ch7w9gr.js} +16 -16
- package/dist/chunks/{form-pdcc66ph.js → location-services-5gex9apx.js} +9 -9
- package/dist/chunks/{form-5m9w47nd.js → location-services-5m9w47nd.js} +1 -1
- package/dist/chunks/{form-rwbyvv20.js → location-services-5n94zzt5.js} +12 -12
- package/dist/chunks/{form-jmh888fr.js → location-services-5ngaw42y.js} +5 -5
- package/dist/chunks/{form-5t3nmthw.js → location-services-5t3nmthw.js} +2 -2
- package/dist/chunks/{form-en9mxp96.js → location-services-5tcm9639.js} +9 -9
- package/dist/chunks/{form-rdemb1sp.js → location-services-5ter27tw.js} +84 -84
- package/dist/chunks/{form-zpjz29v3.js → location-services-5znnbjke.js} +15 -15
- package/dist/chunks/{form-7np7eqsh.js → location-services-64kmy9j5.js} +27 -27
- package/dist/chunks/{form-zhgd40h6.js → location-services-67pp6krk.js} +11 -11
- package/dist/chunks/{form-27dsvfdn.js → location-services-6dw4ea0w.js} +11 -11
- package/dist/chunks/location-services-6j1w54p8.js +507 -0
- package/dist/chunks/{form-4yezxa73.js → location-services-6m9fbfes.js} +18 -18
- package/dist/chunks/{form-dpahde6h.js → location-services-6s1cj1tt.js} +8 -8
- package/dist/chunks/{form-dfjxtsf9.js → location-services-6s3s1fg4.js} +12 -12
- package/dist/chunks/{form-6xb47vfp.js → location-services-6xb47vfp.js} +1 -1
- package/dist/chunks/{form-e9pn449h.js → location-services-6zwh9aj1.js} +33 -33
- package/dist/chunks/{form-0y0kf6wg.js → location-services-70r1pqqg.js} +29 -29
- package/dist/chunks/{form-v7dmft4n.js → location-services-714dkkmd.js} +2 -2
- package/dist/chunks/{form-71az546q.js → location-services-71az546q.js} +2 -2
- package/dist/chunks/{form-1r523x99.js → location-services-72arfbwk.js} +15 -15
- package/dist/chunks/{form-h9pdt6sj.js → location-services-775bhwgq.js} +24 -24
- package/dist/chunks/{form-sy0pmzyc.js → location-services-7afm2kja.js} +9 -9
- package/dist/chunks/{form-7bmhse3q.js → location-services-7bmhse3q.js} +1 -1
- package/dist/chunks/{form-jczht3en.js → location-services-7kcyxzbf.js} +11 -11
- package/dist/chunks/{form-x6srj39b.js → location-services-7yn7yysf.js} +15 -15
- package/dist/chunks/{form-1yjpjcr4.js → location-services-829vnhtg.js} +17 -17
- package/dist/chunks/{form-84txncab.js → location-services-84txncab.js} +1 -1
- package/dist/chunks/{form-kzc3h1h3.js → location-services-86qzxe6p.js} +4 -4
- package/dist/chunks/{form-tx5xyhq5.js → location-services-89mkd23b.js} +13 -13
- package/dist/chunks/{form-8d7r5vzw.js → location-services-8d7r5vzw.js} +1 -1
- package/dist/chunks/{form-9pg2mgde.js → location-services-8djjmzd0.js} +15 -15
- package/dist/chunks/{form-h54hfh8j.js → location-services-8dppv2fz.js} +32 -32
- package/dist/chunks/{form-vrxgzr22.js → location-services-8fsm0kax.js} +12 -12
- package/dist/chunks/{form-8m6m0r52.js → location-services-8m6m0r52.js} +1 -1
- package/dist/chunks/{form-g86s18q2.js → location-services-8q5y0cn3.js} +4 -4
- package/dist/chunks/{form-grt2nr2n.js → location-services-8r5eqakz.js} +4 -4
- package/dist/chunks/{form-8sze2n9a.js → location-services-8sze2n9a.js} +2 -2
- package/dist/chunks/{form-a8pj8mn0.js → location-services-8wzbfrbx.js} +17 -17
- package/dist/chunks/{form-p5hcnrhr.js → location-services-92vcvfg1.js} +13 -13
- package/dist/chunks/{form-9e5bzkjp.js → location-services-9e5bzkjp.js} +3 -3
- package/dist/chunks/{form-q1swvmxz.js → location-services-9hq6qwnd.js} +5 -5
- package/dist/chunks/{form-6raz6jxr.js → location-services-9jw6tmbg.js} +50 -50
- package/dist/chunks/{form-qnt41q0e.js → location-services-9mfnv0v2.js} +43 -43
- package/dist/chunks/{form-mb14aw74.js → location-services-9pa8tak9.js} +2 -2
- package/dist/chunks/{form-8y7xgh0n.js → location-services-9r3y1p7f.js} +3 -3
- package/dist/chunks/location-services-9sh4wc5j.js +18 -0
- package/dist/chunks/{form-nyr8w1ke.js → location-services-a46mm0ee.js} +9 -9
- package/dist/chunks/{form-gaxgkjf8.js → location-services-a51ynd9p.js} +6 -6
- package/dist/chunks/{form-aaet6srn.js → location-services-aaet6srn.js} +2 -2
- package/dist/chunks/{form-6rq4gtsx.js → location-services-ahcsgb9w.js} +11 -11
- package/dist/chunks/{form-qygbw77c.js → location-services-b3f8fkhc.js} +5 -5
- package/dist/chunks/{form-b6gygkdw.js → location-services-b6gygkdw.js} +2 -2
- package/dist/chunks/{form-mve1g6bp.js → location-services-bc24gvvh.js} +18 -18
- package/dist/chunks/{form-28tchkyp.js → location-services-beyt37cq.js} +5 -5
- package/dist/chunks/{form-n6bnymb1.js → location-services-bf9ddvv6.js} +11 -11
- package/dist/chunks/{form-epw93366.js → location-services-bmp9vq25.js} +13 -13
- package/dist/chunks/{form-nx2dw5kc.js → location-services-bttwcpyk.js} +5 -5
- package/dist/chunks/{form-g31gf8f8.js → location-services-by4ag7x2.js} +34 -34
- package/dist/chunks/{form-w5svrknw.js → location-services-c125teng.js} +47 -47
- package/dist/chunks/{form-6zwxhqpy.js → location-services-c4rqd3wk.js} +8 -8
- package/dist/chunks/{form-r2m716tb.js → location-services-cpneeje0.js} +9 -9
- package/dist/chunks/{form-8xct5cxg.js → location-services-cpw83ygf.js} +11 -11
- package/dist/chunks/{form-hemh68r6.js → location-services-dczjeyn8.js} +11 -11
- package/dist/chunks/{form-x661k3y3.js → location-services-dgpsrprm.js} +4 -4
- package/dist/chunks/{form-kvyym21z.js → location-services-djvetfx2.js} +20 -20
- package/dist/chunks/{form-dmqcgk4z.js → location-services-dmqcgk4z.js} +2 -2
- package/dist/chunks/{form-rwkzbhyy.js → location-services-dsh8vst2.js} +12 -12
- package/dist/chunks/{form-cnjgabfw.js → location-services-dsknr0yk.js} +3 -3
- package/dist/chunks/{form-0z17ev8v.js → location-services-dwkmxqgd.js} +8 -8
- package/dist/chunks/{form-9e4dck5x.js → location-services-e71zdn5c.js} +25 -25
- package/dist/chunks/{form-etk2hy4s.js → location-services-e91bry7y.js} +5 -5
- package/dist/chunks/{form-ef5x83kb.js → location-services-ef5x83kb.js} +1 -1
- package/dist/chunks/{form-rrhp263n.js → location-services-ejrm3dhc.js} +11 -11
- package/dist/chunks/{form-x961pzcr.js → location-services-eknqak9c.js} +9 -9
- package/dist/chunks/{form-eq1pz5kg.js → location-services-eq1pz5kg.js} +1 -1
- package/dist/chunks/{form-71n2tkks.js → location-services-erk2x9q8.js} +20 -20
- package/dist/chunks/{form-03xyy9gs.js → location-services-esvm55dh.js} +6 -6
- package/dist/chunks/{form-mfjewbd5.js → location-services-etjyn4ah.js} +14 -14
- package/dist/chunks/{form-etq0c3wd.js → location-services-etq0c3wd.js} +1 -1
- package/dist/chunks/{form-fn9c5fvq.js → location-services-ey591qjc.js} +9 -9
- package/dist/chunks/{form-252d8696.js → location-services-fct9x3ew.js} +4 -4
- package/dist/chunks/{form-03m92h0d.js → location-services-fdm959xk.js} +4 -4
- package/dist/chunks/{form-mbvtbt08.js → location-services-ffyqsraf.js} +3 -3
- package/dist/chunks/{form-6g3wr2ps.js → location-services-fg82ej31.js} +46 -46
- package/dist/chunks/{form-nsbrtvjc.js → location-services-fgkzp840.js} +9 -9
- package/dist/chunks/{form-qvreyy9g.js → location-services-fhz5gfgy.js} +5 -5
- package/dist/chunks/{form-bq0rdahm.js → location-services-fk9m9cdy.js} +24 -24
- package/dist/chunks/{form-f4qc7wm0.js → location-services-fnwn8q6d.js} +25 -25
- package/dist/chunks/{form-emsjfhry.js → location-services-fxqj5382.js} +11 -11
- package/dist/chunks/{form-8caf3z4f.js → location-services-g52spd2y.js} +3 -3
- package/dist/chunks/{form-xhb76b6f.js → location-services-g73pajwe.js} +5 -5
- package/dist/chunks/{form-t405ddsp.js → location-services-g759vh0t.js} +15 -15
- package/dist/chunks/location-services-ga5yx83j.js +26 -0
- package/dist/chunks/{form-emchrq21.js → location-services-gcyajqzf.js} +19 -19
- package/dist/chunks/{form-gd4qta3r.js → location-services-gd4qta3r.js} +1 -1
- package/dist/chunks/{form-h72p6djb.js → location-services-gf1bh1yg.js} +22 -22
- package/dist/chunks/{form-6kzp9tjq.js → location-services-gj71zhbs.js} +5 -5
- package/dist/chunks/{form-saay569z.js → location-services-gp92atbq.js} +30 -30
- package/dist/chunks/{form-h2b79v29.js → location-services-h2b79v29.js} +2 -2
- package/dist/chunks/{form-md3s2szf.js → location-services-h34br2t2.js} +45 -45
- package/dist/chunks/{form-3hfgbjq7.js → location-services-h5kpxx87.js} +11 -11
- package/dist/chunks/{form-h6vf3j39.js → location-services-h6vf3j39.js} +1 -1
- package/dist/chunks/{form-xfz669ft.js → location-services-hhggqwb7.js} +25 -25
- package/dist/chunks/{form-gtsdgcz5.js → location-services-hqb6574m.js} +11 -11
- package/dist/chunks/{form-nj5d8b17.js → location-services-hsqjtarx.js} +24 -24
- package/dist/chunks/{form-emw1ng5r.js → location-services-hvdvkv9k.js} +7 -7
- package/dist/chunks/{form-n3x7zedj.js → location-services-hvx2372f.js} +20 -20
- package/dist/chunks/{form-9sw398jp.js → location-services-hzp6fpd7.js} +19 -19
- package/dist/chunks/{form-shpz0x2t.js → location-services-j06x18dw.js} +41 -41
- package/dist/chunks/{form-1t3ws46a.js → location-services-j3adhp7k.js} +21 -21
- package/dist/chunks/{form-fsavhfb3.js → location-services-j4adkb5s.js} +5 -5
- package/dist/chunks/{form-j56e64zr.js → location-services-j56e64zr.js} +1 -1
- package/dist/chunks/{form-srv86p4c.js → location-services-jrk86w7g.js} +4 -4
- package/dist/chunks/{form-777szttk.js → location-services-k42xqjyy.js} +5 -5
- package/dist/chunks/{form-m67a48vq.js → location-services-ktw141zw.js} +6 -6
- package/dist/chunks/{form-m3fdjcah.js → location-services-m3fdjcah.js} +1 -1
- package/dist/chunks/{form-m55qy151.js → location-services-m55qy151.js} +2 -2
- package/dist/chunks/{form-fy26h6d0.js → location-services-m8kb1vaj.js} +187 -187
- package/dist/chunks/{form-m9w0rfyh.js → location-services-m9w0rfyh.js} +1 -1
- package/dist/chunks/{form-2y0gssv2.js → location-services-mbk818q6.js} +32 -32
- package/dist/chunks/{form-71mvzqvh.js → location-services-mdbyye31.js} +42 -42
- package/dist/chunks/{form-r64egdpd.js → location-services-mj7rzhdb.js} +21 -21
- package/dist/chunks/{form-mjymc32g.js → location-services-mjymc32g.js} +1 -1
- package/dist/chunks/{form-8wrmbg2q.js → location-services-mm327pz2.js} +10 -10
- package/dist/chunks/{form-v1ymkx2n.js → location-services-mxcf8an3.js} +60 -60
- package/dist/chunks/{form-9t69bxse.js → location-services-n02fvr50.js} +39 -39
- package/dist/chunks/{form-a9s5mds0.js → location-services-n0fk43h9.js} +12 -12
- package/dist/chunks/{form-45dcvjxr.js → location-services-n0ft8hcx.js} +16 -16
- package/dist/chunks/{form-3sj8yt8v.js → location-services-n1n192bv.js} +4 -4
- package/dist/chunks/{form-9655znhp.js → location-services-n3hqy7dr.js} +40 -40
- package/dist/chunks/{form-3jqrg18r.js → location-services-n99k9mta.js} +8 -8
- package/dist/chunks/{form-2sjstzd9.js → location-services-n9s7vh0m.js} +26 -26
- package/dist/chunks/{form-x6a93ps9.js → location-services-najdsepz.js} +31 -31
- package/dist/chunks/{form-6b2zjn2e.js → location-services-njhqdk9p.js} +9 -9
- package/dist/chunks/{form-15gefpzg.js → location-services-np06pbpk.js} +8 -8
- package/dist/chunks/{form-hyf4z54j.js → location-services-nv1ymvwr.js} +41 -41
- package/dist/chunks/{form-cgmwfznc.js → location-services-p0b0e56d.js} +19 -19
- package/dist/chunks/{form-dmhzqrvc.js → location-services-p2p0t0hz.js} +32 -32
- package/dist/chunks/{form-5yzzbxa7.js → location-services-p37cw4rj.js} +8 -8
- package/dist/chunks/{form-x6qwvpbm.js → location-services-p4rqfd6d.js} +1 -1
- package/dist/chunks/{form-vkbrv8jq.js → location-services-p694c9yj.js} +13 -13
- package/dist/chunks/{form-8qvzptz7.js → location-services-pc4b88sv.js} +4 -4
- package/dist/chunks/{form-pjvnvgmy.js → location-services-pjvnvgmy.js} +1 -1
- package/dist/chunks/{form-pknna89w.js → location-services-pknna89w.js} +1 -1
- package/dist/chunks/{form-jhf3jymm.js → location-services-prmgem5b.js} +6 -6
- package/dist/chunks/{form-kb04t352.js → location-services-ptt1vh0p.js} +30 -30
- package/dist/chunks/{form-q7xbkb5s.js → location-services-pvka53nw.js} +12 -12
- package/dist/chunks/{form-yw9j0rfh.js → location-services-pwf1cgs9.js} +18 -18
- package/dist/chunks/{form-q0xm7vwc.js → location-services-q0xm7vwc.js} +2 -2
- package/dist/chunks/{form-63de3g4x.js → location-services-q1y2bas8.js} +22 -22
- package/dist/chunks/{form-kagyhy09.js → location-services-q3kjngk2.js} +27 -27
- package/dist/chunks/{form-8j7w067x.js → location-services-q41kjra6.js} +15 -15
- package/dist/chunks/{form-cr9xg22w.js → location-services-qaw30qcw.js} +13 -13
- package/dist/chunks/{form-qnc92qwc.js → location-services-qnc92qwc.js} +1 -1
- package/dist/chunks/{form-qsdy395h.js → location-services-qsdy395h.js} +1 -1
- package/dist/chunks/{form-xyafkbt0.js → location-services-qxjc9qry.js} +3 -3
- package/dist/chunks/{form-xj01a2sc.js → location-services-qzbcmdhp.js} +4 -4
- package/dist/chunks/{form-0mbme20d.js → location-services-r6hh1vkr.js} +5 -5
- package/dist/chunks/{form-yp2cb2tg.js → location-services-r6vdp95s.js} +7 -7
- package/dist/chunks/{form-q2mesgbk.js → location-services-r7h3zj63.js} +11 -11
- package/dist/chunks/{form-bqhmrmw6.js → location-services-r8qqcvrh.js} +9 -9
- package/dist/chunks/{form-ertkbvpv.js → location-services-r9d8n4d7.js} +8 -8
- package/dist/chunks/{form-t11s7ysw.js → location-services-r9sh2p1t.js} +28 -28
- package/dist/chunks/{form-rdw6cm16.js → location-services-rdw6cm16.js} +1 -1
- package/dist/chunks/{form-yp2x3t23.js → location-services-rhraev7y.js} +4 -4
- package/dist/chunks/{form-tz4n1mmd.js → location-services-rwm5vee1.js} +4 -4
- package/dist/chunks/{form-rhjbct0v.js → location-services-s8d7rejh.js} +4 -4
- package/dist/chunks/{form-255xb92k.js → location-services-sgcfaw1d.js} +10 -10
- package/dist/chunks/{form-zz5bnwga.js → location-services-sqx3zc3m.js} +10 -10
- package/dist/chunks/{form-e5vfwkta.js → location-services-ss9dt959.js} +29 -29
- package/dist/chunks/{form-vftbjcp2.js → location-services-t4xga9rg.js} +5 -5
- package/dist/chunks/{form-ejt9a4mc.js → location-services-t67pmggw.js} +30 -30
- package/dist/chunks/{form-vhb6rdqv.js → location-services-t86beb65.js} +1 -1
- package/dist/chunks/{form-tazgh4e4.js → location-services-tazgh4e4.js} +1 -1
- package/dist/chunks/{form-6rm5yzkt.js → location-services-tb1cafh6.js} +4 -4
- package/dist/chunks/{form-nd1vxy83.js → location-services-tbnh9822.js} +7 -7
- package/dist/chunks/{form-tcezcvh9.js → location-services-tcezcvh9.js} +1 -1
- package/dist/chunks/{form-tdstcens.js → location-services-tdstcens.js} +1 -1
- package/dist/chunks/{form-gp98pctq.js → location-services-tehdmycx.js} +19 -19
- package/dist/chunks/{form-qm0v3jhh.js → location-services-tkmwgdpd.js} +4 -4
- package/dist/chunks/{form-rnvk8381.js → location-services-tm0vdwh1.js} +3 -3
- package/dist/chunks/{form-qf5hq1jc.js → location-services-tnnvj0a3.js} +25 -25
- package/dist/chunks/{form-ftscd474.js → location-services-trhcpccp.js} +35 -35
- package/dist/chunks/{form-mkxprw0w.js → location-services-ttq4n78r.js} +26 -26
- package/dist/chunks/{form-kr9cxk9c.js → location-services-v10ct05m.js} +13 -13
- package/dist/chunks/{form-pq3gk156.js → location-services-v1b95tmg.js} +8 -8
- package/dist/chunks/{form-veqvce7d.js → location-services-veqvce7d.js} +1 -1
- package/dist/chunks/{form-5k5eqdfy.js → location-services-vhr5c18c.js} +6 -6
- package/dist/chunks/{form-4zpqjyc2.js → location-services-vtpm2p8h.js} +25 -25
- package/dist/chunks/{form-ydx4b4m1.js → location-services-vywg5zeg.js} +21 -21
- package/dist/chunks/{form-vzs5sf6e.js → location-services-vzs5sf6e.js} +1 -1
- package/dist/chunks/{form-qeakwxs4.js → location-services-w1p8d3wf.js} +18 -18
- package/dist/chunks/{form-w3wsvvr9.js → location-services-w3wsvvr9.js} +1 -1
- package/dist/chunks/{form-4cp7wv5q.js → location-services-wbnf30j7.js} +45 -45
- package/dist/chunks/{form-706k5x78.js → location-services-wd72ymxp.js} +26 -26
- package/dist/chunks/{form-wd87259q.js → location-services-wd87259q.js} +1 -1
- package/dist/chunks/{form-zncnmdzc.js → location-services-wgn8yj4b.js} +9 -9
- package/dist/chunks/{form-4fyrm325.js → location-services-wk6z7kfa.js} +5 -5
- package/dist/chunks/{form-608ttmbm.js → location-services-wk8p8d9k.js} +28 -28
- package/dist/chunks/{form-p72tmm3t.js → location-services-wkpgmqjt.js} +14 -14
- package/dist/chunks/{form-svm2f7kt.js → location-services-wkqnkv23.js} +15 -15
- package/dist/chunks/{form-d79mvy98.js → location-services-ws118cbe.js} +4 -4
- package/dist/chunks/{form-xrhtfqv1.js → location-services-wwb7w8xq.js} +6 -6
- package/dist/chunks/{form-kt29frc8.js → location-services-wxyama83.js} +22 -22
- package/dist/chunks/{form-c1mfk2j0.js → location-services-x2gc414t.js} +6 -6
- package/dist/chunks/{form-mh6zphse.js → location-services-xbnfw7tj.js} +23 -23
- package/dist/chunks/{form-c2kh31mj.js → location-services-xcyxjqx3.js} +49 -49
- package/dist/chunks/{form-xfkkasph.js → location-services-xfkkasph.js} +1 -1
- package/dist/chunks/{form-vkp779ce.js → location-services-xnxfwdgn.js} +20 -20
- package/dist/chunks/location-services-xnzfdbxb.js +253 -0
- package/dist/chunks/{form-8wwj16a6.js → location-services-xtq486j8.js} +22 -22
- package/dist/chunks/{form-a881zpfh.js → location-services-y0mc46pw.js} +9 -9
- package/dist/chunks/{form-j8w9hkn2.js → location-services-y18k7kyj.js} +16 -16
- package/dist/chunks/{form-y1fvbwt7.js → location-services-y1fvbwt7.js} +1 -1
- package/dist/chunks/{form-nxm207yx.js → location-services-y71avatq.js} +4 -4
- package/dist/chunks/{form-y6nafv0r.js → location-services-ye1azc5f.js} +18 -18
- package/dist/chunks/{form-46rybbhe.js → location-services-yhtffmk9.js} +36 -36
- package/dist/chunks/{form-7wpb6h90.js → location-services-ymnkanq5.js} +10 -10
- package/dist/chunks/{form-pdvk0jp2.js → location-services-z06mtppn.js} +12 -12
- package/dist/chunks/{form-z0bkrqjs.js → location-services-z0bkrqjs.js} +1 -1
- package/dist/chunks/{form-jzw0rzw4.js → location-services-z7r6d9wp.js} +9 -9
- package/dist/chunks/{form-m35ayfrn.js → location-services-ze7hzpt3.js} +28 -28
- package/dist/chunks/{form-as7cf5zz.js → location-services-zfs8ae4p.js} +4 -4
- package/dist/chunks/{form-zr2ceqn5.js → location-services-zr2ceqn5.js} +1 -1
- package/dist/chunks/{form-zxq2ej10.js → location-services-zxq2ej10.js} +1 -1
- package/dist/codemode/catalog.js +1 -1
- package/dist/codemode/instructions.js +3 -3
- package/dist/codemode/tool.js +3 -3
- package/dist/codemode/web.js +1 -1
- package/dist/command.js +84 -84
- package/dist/config/discovery.js +83 -83
- package/dist/config/markdown.js +1 -1
- package/dist/config/normalize.js +100 -100
- package/dist/config/plugin/agent.js +117 -117
- package/dist/config/plugin/command.js +206 -206
- package/dist/config/plugin/compaction.js +155 -155
- package/dist/config/plugin/compatibility.js +135 -135
- package/dist/config/plugin/entry-observer.js +1 -1
- package/dist/config/plugin/formatter.js +118 -118
- package/dist/config/plugin/image.js +117 -117
- package/dist/config/plugin/instruction.js +91 -91
- package/dist/config/plugin/location-watcher.js +117 -117
- package/dist/config/plugin/mcp.js +124 -124
- package/dist/config/plugin/policy.js +118 -118
- package/dist/config/plugin/provider.js +117 -117
- package/dist/config/plugin/reference.js +119 -119
- package/dist/config/plugin/shell.js +119 -119
- package/dist/config/plugin/skill-file.js +103 -103
- package/dist/config/plugin/skill.js +138 -138
- package/dist/config/plugin/snapshot.js +117 -117
- package/dist/config/plugin/source.js +118 -118
- package/dist/config/plugin/tool-output.js +118 -118
- package/dist/config/plugin/websearch.js +118 -118
- package/dist/config/plugin/worktree.js +119 -119
- package/dist/config/variable.js +3 -3
- package/dist/config/watch.js +1 -1
- package/dist/config.js +118 -118
- package/dist/credential/sql.js +2 -2
- package/dist/credential.js +82 -82
- package/dist/database/database.js +67 -67
- package/dist/database/drizzle/effect-sqlite/driver.js +14 -14
- package/dist/database/drizzle/effect-sqlite/index.js +14 -14
- package/dist/database/drizzle/effect-sqlite/session.js +11 -11
- package/dist/database/drizzle/index.js +15 -15
- 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 +16 -16
- 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/20260923013825_project_time_active.js +1 -1
- package/dist/database/migration/20261007190000_azure_cli_external_credential.js +1 -1
- package/dist/database/migration.gen.js +50 -50
- package/dist/database/migration.js +52 -52
- 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 +77 -77
- package/dist/database/v1-migration.js +1 -1
- package/dist/effect/app-node-builder.js +364 -364
- package/dist/effect/app-node-platform.js +2 -2
- package/dist/effect/keyed-mutex.js +3 -3
- package/dist/effect/websocket-constructor.js +1 -1
- package/dist/environment/driver.js +1 -1
- package/dist/environment/environment.js +94 -94
- 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 +75 -75
- package/dist/file-access.js +105 -105
- package/dist/file-mutation.js +95 -95
- package/dist/file-retention.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/location-watcher-policy.js +6 -6
- package/dist/filesystem/location-watcher.js +219 -219
- package/dist/filesystem/protected.js +1 -1
- package/dist/filesystem/search.js +98 -98
- package/dist/filesystem/watcher-binding.js +1 -1
- package/dist/filesystem/watcher.js +11 -11
- package/dist/filesystem.js +103 -103
- package/dist/form.js +85 -85
- package/dist/formatter/builtins.js +2 -2
- package/dist/formatter.js +88 -88
- package/dist/generate.js +104 -104
- 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 +92 -92
- 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/image/photon.js +2 -2
- package/dist/image.js +6 -6
- package/dist/instance/service.js +5 -5
- package/dist/instance.js +355 -355
- package/dist/instruction-discovery.js +86 -86
- package/dist/instructions/builtins.js +88 -88
- package/dist/instructions/index.js +3 -3
- package/dist/integration/connection.js +3 -3
- package/dist/integration.js +90 -90
- package/dist/job.js +79 -79
- package/dist/kv/sql.js +2 -2
- package/dist/kv.js +74 -74
- package/dist/location-activity.js +135 -135
- package/dist/location-lifecycle.js +108 -108
- package/dist/location-service-map.js +87 -87
- package/dist/location-services.js +352 -352
- package/dist/location.js +90 -90
- package/dist/managed-policy.js +2 -2
- package/dist/mcp/client.js +92 -92
- package/dist/mcp/index.js +108 -108
- package/dist/mcp/instructions.js +130 -130
- package/dist/mcp/oauth.js +79 -79
- package/dist/mcp/stdio.js +91 -91
- package/dist/mime.js +1 -1
- package/dist/modal/models.js +92 -92
- package/dist/model-resolver.js +99 -99
- package/dist/model.js +99 -99
- package/dist/models-dev.js +108 -108
- 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 +110 -110
- package/dist/persistent-pty/binary.bun.js +1 -1
- package/dist/persistent-pty/daemon.js +1 -1
- package/dist/persistent-pty/index.js +91 -91
- package/dist/persistent-pty/pty-binding.js +1 -1
- package/dist/persistent-pty.js +76 -76
- package/dist/plugin/agent.js +75 -75
- package/dist/plugin/command.js +101 -101
- package/dist/plugin/hooks.js +5 -5
- package/dist/plugin/host.js +212 -212
- package/dist/plugin/identity.js +3 -3
- package/dist/plugin/instance.js +5 -5
- package/dist/plugin/internal.js +327 -327
- package/dist/plugin/mcp-codemode-defaults.js +3 -3
- package/dist/plugin/models-dev.js +97 -97
- package/dist/plugin/module.js +118 -118
- package/dist/plugin/optimize.js +2 -2
- package/dist/plugin/plan.js +103 -103
- package/dist/plugin/promise.js +1 -1
- package/dist/plugin/provider/amazon-bedrock.js +91 -91
- package/dist/plugin/provider/azure.js +118 -118
- package/dist/plugin/provider/cerebras.js +1 -1
- package/dist/plugin/provider/chatgpt.js +95 -95
- package/dist/plugin/provider/cloudflare-ai-gateway.js +114 -114
- package/dist/plugin/provider/cloudflare-workers-ai.js +115 -115
- package/dist/plugin/provider/cohere.js +2 -2
- package/dist/plugin/provider/configured.js +113 -113
- package/dist/plugin/provider/digitalocean.js +94 -94
- package/dist/plugin/provider/dynamic.js +2 -2
- package/dist/plugin/provider/factory.js +1 -1
- package/dist/plugin/provider/github-copilot.js +96 -96
- package/dist/plugin/provider/gitlab.js +94 -94
- package/dist/plugin/provider/google-vertex.js +91 -91
- package/dist/plugin/provider/kilo.js +1 -1
- package/dist/plugin/provider/llmgateway.js +79 -79
- package/dist/plugin/provider/lmstudio.js +117 -117
- package/dist/plugin/provider/local.js +114 -114
- package/dist/plugin/provider/modal.js +93 -93
- package/dist/plugin/provider/nvidia.js +1 -1
- package/dist/plugin/provider/ollama.js +115 -115
- package/dist/plugin/provider/openai.js +94 -94
- package/dist/plugin/provider/opencode.js +98 -98
- package/dist/plugin/provider/openrouter.js +92 -92
- package/dist/plugin/provider/perplexity.js +2 -2
- package/dist/plugin/provider/poe.js +80 -80
- package/dist/plugin/provider/prompt-cache-key.js +91 -91
- package/dist/plugin/provider/sap-ai-core.js +92 -92
- package/dist/plugin/provider/sdk-factory.js +1 -1
- package/dist/plugin/provider/snowflake-cortex.js +116 -116
- package/dist/plugin/provider/vercel.js +91 -91
- package/dist/plugin/provider/vllm.js +117 -117
- package/dist/plugin/provider/xai.js +92 -92
- package/dist/plugin/provider/zenmux.js +1 -1
- package/dist/plugin/provider.js +157 -157
- package/dist/plugin/sdk.js +75 -75
- package/dist/plugin/service.js +3 -3
- package/dist/plugin/skill.js +135 -135
- package/dist/plugin/source-directory.js +1 -1
- package/dist/plugin/supervisor.js +344 -344
- package/dist/plugin/tool-input-repair.js +4 -4
- package/dist/plugin/update.js +6 -6
- package/dist/plugin/vcs/git.js +87 -87
- package/dist/plugin/vcs/hg.js +87 -87
- package/dist/plugin/verbosity.js +94 -94
- package/dist/plugin/warming.js +115 -115
- package/dist/plugin/websearch/exa.js +7 -7
- package/dist/plugin/websearch/firecrawl.js +8 -8
- package/dist/plugin/websearch/index.js +9 -9
- package/dist/plugin/websearch/mcp.js +4 -4
- package/dist/plugin/websearch/parallel.js +8 -8
- package/dist/plugin/websearch/tavily.js +6 -6
- package/dist/plugin/websearch/tinyfish.js +8 -8
- package/dist/plugin.js +219 -219
- package/dist/project/schema.js +8 -8
- package/dist/project/sql.js +4 -4
- package/dist/project.js +89 -89
- package/dist/provider.js +98 -98
- package/dist/pty/protocol.js +1 -1
- package/dist/pty/ticket.js +1 -1
- package/dist/pty.js +94 -94
- package/dist/reference/instructions.js +90 -90
- package/dist/reference.js +90 -90
- package/dist/repository-cache.js +80 -80
- package/dist/repository.js +1 -1
- package/dist/ripgrep/binary.js +2 -2
- package/dist/ripgrep.js +96 -96
- package/dist/rpc.js +87 -87
- package/dist/schema.js +1 -1
- package/dist/session/affinity.js +1 -1
- package/dist/session/command.js +75 -75
- package/dist/session/compaction.js +134 -134
- package/dist/session/context.js +154 -154
- package/dist/session/diff.js +89 -89
- package/dist/session/environment.js +5 -5
- package/dist/session/error.js +5 -5
- package/dist/session/event.js +1 -1
- package/dist/session/execution/restart.js +218 -218
- package/dist/session/execution.js +128 -128
- package/dist/session/generate.js +153 -153
- package/dist/session/history.js +13 -13
- package/dist/session/inbox.js +91 -91
- 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 +94 -94
- package/dist/session/message-updater.js +2 -2
- package/dist/session/message.js +1 -1
- package/dist/session/model-request.js +121 -121
- package/dist/session/model-transport.js +5 -5
- package/dist/session/move.js +130 -130
- package/dist/session/projector.js +87 -87
- package/dist/session/prompt.js +106 -106
- package/dist/session/provider-context.js +3 -3
- package/dist/session/revert.js +91 -91
- package/dist/session/run-coordinator.js +3 -3
- package/dist/session/runner/index.js +3 -3
- package/dist/session/runner/llm.js +225 -225
- package/dist/session/runner/max-steps.js +1 -1
- package/dist/session/runner/model.js +99 -99
- package/dist/session/runner/publish-llm-event.js +114 -114
- package/dist/session/runner/retry.js +4 -4
- package/dist/session/runner/step.js +126 -126
- package/dist/session/runner/to-llm-message.js +2 -2
- package/dist/session/schema.js +5 -5
- package/dist/session/session.js +163 -163
- package/dist/session/shell.js +131 -131
- package/dist/session/skill.js +104 -104
- package/dist/session/sql.js +5 -5
- package/dist/session/stats.js +74 -74
- package/dist/session/store.js +86 -86
- package/dist/session/subagent-completion.js +1 -1
- package/dist/session/subagent-job.js +204 -204
- package/dist/session/system-prompt.js +1 -1
- package/dist/session/title.js +156 -156
- package/dist/session/to-session-error.js +112 -112
- package/dist/session/transfer.js +214 -214
- package/dist/session/usage.js +1 -1
- package/dist/session.js +210 -210
- package/dist/shell/parse.js +6 -6
- package/dist/shell/result.js +1 -1
- package/dist/shell/scan.js +1 -1
- package/dist/shell/select.js +15 -15
- package/dist/shell.js +133 -133
- package/dist/skill/discovery.js +6 -6
- package/dist/skill/instructions.js +108 -108
- package/dist/skill.js +111 -111
- 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 +127 -127
- package/dist/tool/plugin/edit.js +121 -121
- package/dist/tool/plugin/file-diff.js +1 -1
- package/dist/tool/plugin/glob.js +125 -125
- package/dist/tool/plugin/grep.js +123 -123
- package/dist/tool/plugin/mcp-resource.js +118 -118
- package/dist/tool/plugin/opencode.js +3 -3
- package/dist/tool/plugin/patch.js +123 -123
- package/dist/tool/plugin/question.js +102 -102
- package/dist/tool/plugin/read.js +126 -126
- package/dist/tool/plugin/shell.js +211 -211
- package/dist/tool/plugin/skill.js +110 -110
- package/dist/tool/plugin/subagent.js +213 -213
- package/dist/tool/plugin/webfetch.js +111 -111
- package/dist/tool/plugin/websearch.js +115 -115
- package/dist/tool/plugin/write.js +123 -123
- package/dist/tool/read-filesystem.js +101 -101
- package/dist/tool/runtime.js +1 -1
- package/dist/tool-output.js +7 -7
- package/dist/tool.js +12 -12
- package/dist/util/error-summary.js +1 -1
- package/dist/util/error.js +1 -1
- package/dist/util/git-executable.js +2 -2
- package/dist/util/iife.js +1 -1
- package/dist/util/lazy.js +1 -1
- package/dist/util/slug.js +1 -1
- package/dist/util/token.js +1 -1
- package/dist/util/which.js +1 -1
- package/dist/util/wildcard.js +1 -1
- package/dist/v1/config/agent.js +5 -5
- package/dist/v1/config/command.js +3 -3
- package/dist/v1/config/error.js +2 -2
- package/dist/v1/config/mcp.js +4 -4
- package/dist/v1/config/migrate.js +93 -93
- package/dist/v1/config/permission.js +1 -1
- package/dist/v1/config/plugin.js +1 -1
- package/dist/v1/config/provider-options.js +1 -1
- package/dist/v1/config/provider.js +4 -4
- package/dist/variant.js +94 -94
- package/dist/vcs/patch.js +1 -1
- package/dist/vcs.js +90 -90
- package/dist/websearch.js +83 -83
- package/dist/wellknown/plugin.js +77 -77
- package/dist/wellknown.js +80 -80
- package/dist/workspace/driver.js +7 -7
- package/dist/workspace/sql.js +1 -1
- package/dist/workspace.js +81 -81
- 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 +90 -90
- package/dist/worktree.js +97 -97
- package/package.json +8 -8
- package/dist/chunks/form-4k43d9fa.js +0 -507
- package/dist/chunks/form-6r9dv1tj.js +0 -26
- package/dist/chunks/form-q509s3k3.js +0 -18
- package/dist/chunks/form-sqaw2ayv.js +0 -253
- /package/dist/chunks/{form-0qkdqm5v.js → location-services-0qkdqm5v.js} +0 -0
- /package/dist/chunks/{form-0zkw76rk.js → location-services-0zkw76rk.js} +0 -0
- /package/dist/chunks/{form-17cy0kzp.js → location-services-17cy0kzp.js} +0 -0
- /package/dist/chunks/{form-1cnp2v09.js → location-services-1cnp2v09.js} +0 -0
- /package/dist/chunks/{form-1kg9ymc8.js → location-services-1kg9ymc8.js} +0 -0
- /package/dist/chunks/{form-24dcb14g.js → location-services-24dcb14g.js} +0 -0
- /package/dist/chunks/{form-2710q6r3.js → location-services-2710q6r3.js} +0 -0
- /package/dist/chunks/{form-2axfhc9x.js → location-services-2axfhc9x.js} +0 -0
- /package/dist/chunks/{form-2c3vjs8z.js → location-services-2c3vjs8z.js} +0 -0
- /package/dist/chunks/{form-34c7v6d4.js → location-services-34c7v6d4.js} +0 -0
- /package/dist/chunks/{form-359p4xyc.js → location-services-359p4xyc.js} +0 -0
- /package/dist/chunks/{form-3asan66x.js → location-services-3asan66x.js} +0 -0
- /package/dist/chunks/{form-3t0ybcrp.js → location-services-3t0ybcrp.js} +0 -0
- /package/dist/chunks/{form-3v8g72cx.js → location-services-3v8g72cx.js} +0 -0
- /package/dist/chunks/{form-3w5fmr99.js → location-services-3w5fmr99.js} +0 -0
- /package/dist/chunks/{form-3wcehsnq.js → location-services-3wcehsnq.js} +0 -0
- /package/dist/chunks/{form-43n2bw4t.js → location-services-43n2bw4t.js} +0 -0
- /package/dist/chunks/{form-4knz6hnm.js → location-services-4knz6hnm.js} +0 -0
- /package/dist/chunks/{form-4vcrnpx2.js → location-services-4vcrnpx2.js} +0 -0
- /package/dist/chunks/{form-4y7fprxs.js → location-services-4y7fprxs.js} +0 -0
- /package/dist/chunks/{form-53557ph1.js → location-services-53557ph1.js} +0 -0
- /package/dist/chunks/{form-550bvhaj.js → location-services-550bvhaj.js} +0 -0
- /package/dist/chunks/{form-5qd3pb7m.js → location-services-5qd3pb7m.js} +0 -0
- /package/dist/chunks/{form-6prwharc.js → location-services-6prwharc.js} +0 -0
- /package/dist/chunks/{form-6q2bdcd1.js → location-services-6q2bdcd1.js} +0 -0
- /package/dist/chunks/{form-7akdwqpd.js → location-services-7akdwqpd.js} +0 -0
- /package/dist/chunks/{form-7m9af43g.js → location-services-7m9af43g.js} +0 -0
- /package/dist/chunks/{form-822emrt2.js → location-services-822emrt2.js} +0 -0
- /package/dist/chunks/{form-84wd9syh.js → location-services-84wd9syh.js} +0 -0
- /package/dist/chunks/{form-88xbtdfr.js → location-services-88xbtdfr.js} +0 -0
- /package/dist/chunks/{form-8n3pysct.js → location-services-8n3pysct.js} +0 -0
- /package/dist/chunks/{form-8wj87zfr.js → location-services-8wj87zfr.js} +0 -0
- /package/dist/chunks/{form-9a4afbnw.js → location-services-9a4afbnw.js} +0 -0
- /package/dist/chunks/{form-9rqn6x4v.js → location-services-9rqn6x4v.js} +0 -0
- /package/dist/chunks/{form-a6k6eb26.js → location-services-a6k6eb26.js} +0 -0
- /package/dist/chunks/{form-af5trqkr.js → location-services-af5trqkr.js} +0 -0
- /package/dist/chunks/{form-afrmfg78.js → location-services-afrmfg78.js} +0 -0
- /package/dist/chunks/{form-aqzs7mqg.js → location-services-aqzs7mqg.js} +0 -0
- /package/dist/chunks/{form-atq7p7m5.js → location-services-atq7p7m5.js} +0 -0
- /package/dist/chunks/{form-bkyjaxrp.js → location-services-bkyjaxrp.js} +0 -0
- /package/dist/chunks/{form-bmr6ed5q.js → location-services-bmr6ed5q.js} +0 -0
- /package/dist/chunks/{form-cf4snx6d.js → location-services-cf4snx6d.js} +0 -0
- /package/dist/chunks/{form-cvy3z8tj.js → location-services-cvy3z8tj.js} +0 -0
- /package/dist/chunks/{form-d9fn303g.js → location-services-d9fn303g.js} +0 -0
- /package/dist/chunks/{form-d9jj8t3e.js → location-services-d9jj8t3e.js} +0 -0
- /package/dist/chunks/{form-dajrwvna.js → location-services-dajrwvna.js} +0 -0
- /package/dist/chunks/{form-dap0rakb.js → location-services-dap0rakb.js} +0 -0
- /package/dist/chunks/{form-df08tz66.js → location-services-df08tz66.js} +0 -0
- /package/dist/chunks/{form-dy18nga0.js → location-services-dy18nga0.js} +0 -0
- /package/dist/chunks/{form-e5kj55wp.js → location-services-e5kj55wp.js} +0 -0
- /package/dist/chunks/{form-e73j6tqm.js → location-services-e73j6tqm.js} +0 -0
- /package/dist/chunks/{form-ec1grn59.js → location-services-ec1grn59.js} +0 -0
- /package/dist/chunks/{form-eh3zwz77.js → location-services-eh3zwz77.js} +0 -0
- /package/dist/chunks/{form-emrn6kk6.js → location-services-emrn6kk6.js} +0 -0
- /package/dist/chunks/{form-f0mxakyp.js → location-services-f0mxakyp.js} +0 -0
- /package/dist/chunks/{form-f6n9ztr4.js → location-services-f6n9ztr4.js} +0 -0
- /package/dist/chunks/{form-faypxj3z.js → location-services-faypxj3z.js} +0 -0
- /package/dist/chunks/{form-fd410y7t.js → location-services-fd410y7t.js} +0 -0
- /package/dist/chunks/{form-fxgpk5d8.js → location-services-fxgpk5d8.js} +0 -0
- /package/dist/chunks/{form-g4wezp1m.js → location-services-g4wezp1m.js} +0 -0
- /package/dist/chunks/{form-g86h250q.js → location-services-g86h250q.js} +0 -0
- /package/dist/chunks/{form-gebd4c9n.js → location-services-gebd4c9n.js} +0 -0
- /package/dist/chunks/{form-gftt206x.js → location-services-gftt206x.js} +0 -0
- /package/dist/chunks/{form-hk9envan.js → location-services-hk9envan.js} +0 -0
- /package/dist/chunks/{form-j2ntwpah.js → location-services-j2ntwpah.js} +0 -0
- /package/dist/chunks/{form-j5zkgpj8.js → location-services-j5zkgpj8.js} +0 -0
- /package/dist/chunks/{form-jjkms2e6.js → location-services-jjkms2e6.js} +0 -0
- /package/dist/chunks/{form-jr7sbwjy.js → location-services-jr7sbwjy.js} +0 -0
- /package/dist/chunks/{form-jwfs4k6c.js → location-services-jwfs4k6c.js} +0 -0
- /package/dist/chunks/{form-jzg6c2d5.js → location-services-jzg6c2d5.js} +0 -0
- /package/dist/chunks/{form-mp448xyj.js → location-services-mp448xyj.js} +0 -0
- /package/dist/chunks/{form-msx8hqn2.js → location-services-msx8hqn2.js} +0 -0
- /package/dist/chunks/{form-n05xt0ee.js → location-services-n05xt0ee.js} +0 -0
- /package/dist/chunks/{form-n3j8tn72.js → location-services-n3j8tn72.js} +0 -0
- /package/dist/chunks/{form-njntx4h6.js → location-services-njntx4h6.js} +0 -0
- /package/dist/chunks/{form-q3sfg36h.js → location-services-q3sfg36h.js} +0 -0
- /package/dist/chunks/{form-q74kybfr.js → location-services-q74kybfr.js} +0 -0
- /package/dist/chunks/{form-qaymkmh1.js → location-services-qaymkmh1.js} +0 -0
- /package/dist/chunks/{form-qb87gjwd.js → location-services-qb87gjwd.js} +0 -0
- /package/dist/chunks/{form-qfa1cgps.js → location-services-qfa1cgps.js} +0 -0
- /package/dist/chunks/{form-qg3g05ea.js → location-services-qg3g05ea.js} +0 -0
- /package/dist/chunks/{form-qrg20bc0.js → location-services-qrg20bc0.js} +0 -0
- /package/dist/chunks/{form-rcb2kzg1.js → location-services-rcb2kzg1.js} +0 -0
- /package/dist/chunks/{form-sdp7kfr6.js → location-services-sdp7kfr6.js} +0 -0
- /package/dist/chunks/{form-ssg3fenm.js → location-services-ssg3fenm.js} +0 -0
- /package/dist/chunks/{form-w803qqfp.js → location-services-w803qqfp.js} +0 -0
- /package/dist/chunks/{form-wc3fc9cn.js → location-services-wc3fc9cn.js} +0 -0
- /package/dist/chunks/{form-wer8tq1h.js → location-services-wer8tq1h.js} +0 -0
- /package/dist/chunks/{form-wtztk69x.js → location-services-wtztk69x.js} +0 -0
- /package/dist/chunks/{form-x0ckcb58.js → location-services-x0ckcb58.js} +0 -0
- /package/dist/chunks/{form-x61499pn.js → location-services-x61499pn.js} +0 -0
- /package/dist/chunks/{form-y44na4kk.js → location-services-y44na4kk.js} +0 -0
- /package/dist/chunks/{form-y8cydn3q.js → location-services-y8cydn3q.js} +0 -0
- /package/dist/chunks/{form-y8f7s663.js → location-services-y8f7s663.js} +0 -0
- /package/dist/chunks/{form-ygaqb7jw.js → location-services-ygaqb7jw.js} +0 -0
- /package/dist/chunks/{form-ym463w8f.js → location-services-ym463w8f.js} +0 -0
- /package/dist/chunks/{form-z5v4ffb3.js → location-services-z5v4ffb3.js} +0 -0
- /package/dist/chunks/{form-z9919s4g.js → location-services-z9919s4g.js} +0 -0
|
@@ -1,30 +1,30 @@
|
|
|
1
1
|
import {
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
} from "./
|
|
2
|
+
Service81,
|
|
3
|
+
node85
|
|
4
|
+
} from "./location-services-8fsm0kax.js";
|
|
5
5
|
import {
|
|
6
6
|
environment2
|
|
7
|
-
} from "./
|
|
7
|
+
} from "./location-services-408t61km.js";
|
|
8
8
|
import {
|
|
9
9
|
makeDaemonTransport2
|
|
10
|
-
} from "./
|
|
10
|
+
} from "./location-services-3t0ybcrp.js";
|
|
11
11
|
import {
|
|
12
12
|
__export
|
|
13
|
-
} from "./
|
|
13
|
+
} from "./location-services-9rqn6x4v.js";
|
|
14
14
|
|
|
15
15
|
// src/persistent-pty/index.ts
|
|
16
16
|
var exports_persistent_pty = {};
|
|
17
17
|
__export(exports_persistent_pty, {
|
|
18
18
|
Handoff: () => Handoff2,
|
|
19
|
-
NotFoundError: () =>
|
|
20
|
-
Options: () =>
|
|
19
|
+
NotFoundError: () => NotFoundError7,
|
|
20
|
+
Options: () => Options9,
|
|
21
21
|
PersistentPty: () => exports_persistent_pty,
|
|
22
|
-
Service: () =>
|
|
23
|
-
UnavailableError: () =>
|
|
24
|
-
available: () =>
|
|
25
|
-
configured: () =>
|
|
26
|
-
layer: () =>
|
|
27
|
-
node: () =>
|
|
22
|
+
Service: () => Service57,
|
|
23
|
+
UnavailableError: () => UnavailableError3,
|
|
24
|
+
available: () => available3,
|
|
25
|
+
configured: () => configured10,
|
|
26
|
+
layer: () => layer22,
|
|
27
|
+
node: () => node62
|
|
28
28
|
});
|
|
29
29
|
import path from "node:path";
|
|
30
30
|
import { Context, Effect, Layer, Schema } from "effect";
|
|
@@ -35,26 +35,26 @@ import { Pty } from "@opencode/schema/pty";
|
|
|
35
35
|
import { Global } from "@opencode/util/global";
|
|
36
36
|
import { resolveBinary } from "#persistent-pty-binary";
|
|
37
37
|
import { Handoff as Handoff2 } from "@opencode/schema/persistent-pty";
|
|
38
|
-
import { available as
|
|
39
|
-
var
|
|
38
|
+
import { available as available3 } from "#persistent-pty-binary";
|
|
39
|
+
var Options9 = Schema.Struct({
|
|
40
40
|
handoff: Schema.optional(Handoff),
|
|
41
41
|
root: Schema.optional(Schema.String)
|
|
42
42
|
});
|
|
43
43
|
|
|
44
|
-
class
|
|
44
|
+
class UnavailableError3 extends Schema.TaggedError()("PersistentPty.UnavailableError", {
|
|
45
45
|
message: Schema.String
|
|
46
46
|
}) {
|
|
47
47
|
}
|
|
48
48
|
|
|
49
|
-
class
|
|
49
|
+
class NotFoundError7 extends Schema.TaggedError()("PersistentPty.NotFoundError", {
|
|
50
50
|
ptyID: Pty.ID
|
|
51
51
|
}) {
|
|
52
52
|
}
|
|
53
53
|
|
|
54
|
-
class
|
|
54
|
+
class Service57 extends Context.Service()("@opencode/PersistentPty") {
|
|
55
55
|
}
|
|
56
|
-
var makeLayer = (options = {}) => Layer.effect(
|
|
57
|
-
const bus = yield*
|
|
56
|
+
var makeLayer = (options = {}) => Layer.effect(Service57, Effect.gen(function* () {
|
|
57
|
+
const bus = yield* Service81;
|
|
58
58
|
const global = yield* Global.Service;
|
|
59
59
|
const context = yield* Effect.context();
|
|
60
60
|
const runFork = Effect.runForkWith(context);
|
|
@@ -76,7 +76,7 @@ var makeLayer = (options = {}) => Layer.effect(Service40, Effect.gen(function* (
|
|
|
76
76
|
const get = Effect.fn("PersistentPty.get")(function* (id) {
|
|
77
77
|
const found = (yield* list()).find((terminal) => terminal.id === id);
|
|
78
78
|
if (!found)
|
|
79
|
-
return yield* new
|
|
79
|
+
return yield* new NotFoundError7({ ptyID: id });
|
|
80
80
|
return found;
|
|
81
81
|
});
|
|
82
82
|
const create = Effect.fn("PersistentPty.create")(function* (sessionID, input) {
|
|
@@ -166,7 +166,7 @@ var makeLayer = (options = {}) => Layer.effect(Service40, Effect.gen(function* (
|
|
|
166
166
|
});
|
|
167
167
|
const read = Effect.fn("PersistentPty.read")(function* (sessionID, lines) {
|
|
168
168
|
if (lines !== undefined && !Schema.is(ReadLines)(lines))
|
|
169
|
-
return yield* new
|
|
169
|
+
return yield* new UnavailableError3({ message: "lines must be an integer between 1 and 65535" });
|
|
170
170
|
const id = current.get(sessionID);
|
|
171
171
|
if (!id)
|
|
172
172
|
return null;
|
|
@@ -243,7 +243,7 @@ var makeLayer = (options = {}) => Layer.effect(Service40, Effect.gen(function* (
|
|
|
243
243
|
detach: attachment.detach
|
|
244
244
|
};
|
|
245
245
|
});
|
|
246
|
-
return
|
|
246
|
+
return Service57.of({
|
|
247
247
|
list,
|
|
248
248
|
get,
|
|
249
249
|
create,
|
|
@@ -259,17 +259,17 @@ var makeLayer = (options = {}) => Layer.effect(Service40, Effect.gen(function* (
|
|
|
259
259
|
attach
|
|
260
260
|
});
|
|
261
261
|
}));
|
|
262
|
-
var
|
|
263
|
-
var
|
|
264
|
-
service:
|
|
265
|
-
layer: options === undefined ?
|
|
266
|
-
deps: [
|
|
262
|
+
var layer22 = makeLayer();
|
|
263
|
+
var configured10 = (options) => makeGlobalNode({
|
|
264
|
+
service: Service57,
|
|
265
|
+
layer: options === undefined ? layer22 : makeLayer(options),
|
|
266
|
+
deps: [node85, Global.node]
|
|
267
267
|
});
|
|
268
|
-
var
|
|
268
|
+
var node62 = configured10();
|
|
269
269
|
var request = (daemon, value, start = false) => daemon.request(value, start).pipe(Effect.mapError(unavailable));
|
|
270
270
|
var optionalRequest = (daemon, value) => daemon.requestIfRunning(value).pipe(Effect.mapError(unavailable));
|
|
271
|
-
var unexpected = (response) => Effect.fail(new
|
|
272
|
-
var unavailable = (error) => new
|
|
271
|
+
var unexpected = (response) => Effect.fail(new UnavailableError3({ message: `unexpected opencode-pty response: ${response.type}` }));
|
|
272
|
+
var unavailable = (error) => new UnavailableError3({ message: error instanceof Error ? error.message : String(error) });
|
|
273
273
|
function toInfo(value) {
|
|
274
274
|
const status = value.lifecycle.status;
|
|
275
275
|
return {
|
|
@@ -301,4 +301,4 @@ function fromID(value) {
|
|
|
301
301
|
return parsed;
|
|
302
302
|
}
|
|
303
303
|
|
|
304
|
-
export {
|
|
304
|
+
export { Options9, UnavailableError3, NotFoundError7, Service57, layer22, configured10, node62, exports_persistent_pty, Handoff2, available3 };
|
|
@@ -2,18 +2,18 @@ import {
|
|
|
2
2
|
AbsolutePath2,
|
|
3
3
|
PositiveInt2,
|
|
4
4
|
RelativePath2
|
|
5
|
-
} from "./
|
|
5
|
+
} from "./location-services-z5v4ffb3.js";
|
|
6
6
|
import {
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
} from "./
|
|
7
|
+
Service75,
|
|
8
|
+
node79
|
|
9
|
+
} from "./location-services-829vnhtg.js";
|
|
10
10
|
import {
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
} from "./
|
|
11
|
+
Service15,
|
|
12
|
+
node17
|
|
13
|
+
} from "./location-services-fk9m9cdy.js";
|
|
14
14
|
import {
|
|
15
15
|
__export
|
|
16
|
-
} from "./
|
|
16
|
+
} from "./location-services-9rqn6x4v.js";
|
|
17
17
|
|
|
18
18
|
// src/filesystem.ts
|
|
19
19
|
var exports_filesystem = {};
|
|
@@ -24,20 +24,20 @@ __export(exports_filesystem, {
|
|
|
24
24
|
DirectoryAccessDeniedError: () => DirectoryAccessDeniedError2,
|
|
25
25
|
DirectoryNotFoundError: () => DirectoryNotFoundError2,
|
|
26
26
|
Entry: () => Entry2,
|
|
27
|
-
Event: () =>
|
|
27
|
+
Event: () => Event2,
|
|
28
28
|
FileSystem: () => exports_filesystem,
|
|
29
29
|
FindInput: () => FindInput2,
|
|
30
30
|
GlobInput: () => GlobInput2,
|
|
31
31
|
GrepInput: () => GrepInput2,
|
|
32
32
|
ListInput: () => ListInput2,
|
|
33
33
|
Match: () => Match2,
|
|
34
|
-
NotFoundError: () =>
|
|
34
|
+
NotFoundError: () => NotFoundError2,
|
|
35
35
|
ReadInput: () => ReadInput2,
|
|
36
|
-
Service: () =>
|
|
36
|
+
Service: () => Service14,
|
|
37
37
|
Submatch: () => Submatch2,
|
|
38
38
|
Write: () => Write2,
|
|
39
39
|
WriteInput: () => WriteInput2,
|
|
40
|
-
node: () =>
|
|
40
|
+
node: () => node16
|
|
41
41
|
});
|
|
42
42
|
import { makeLocationNode } from "@opencode/util/effect/app-node";
|
|
43
43
|
import path from "path";
|
|
@@ -53,7 +53,7 @@ var WriteInput2 = Schema.Struct({
|
|
|
53
53
|
data: Schema.Uint8Array
|
|
54
54
|
});
|
|
55
55
|
|
|
56
|
-
class
|
|
56
|
+
class NotFoundError2 extends Schema.TaggedError()("FileSystem.NotFoundError", {
|
|
57
57
|
path: RelativePath2
|
|
58
58
|
}) {
|
|
59
59
|
}
|
|
@@ -105,14 +105,14 @@ class GrepInput2 extends Schema.Class("FileSystem.GrepInput")({
|
|
|
105
105
|
limit: Schema.optionalKey(PositiveInt2)
|
|
106
106
|
}) {
|
|
107
107
|
}
|
|
108
|
-
var
|
|
108
|
+
var Event2 = FileSystem.Event;
|
|
109
109
|
|
|
110
|
-
class
|
|
110
|
+
class Service14 extends Context.Service()("@opencode/FileSystem") {
|
|
111
111
|
}
|
|
112
|
-
var baseLayer = Layer.effect(
|
|
112
|
+
var baseLayer = Layer.effect(Service14, Effect.gen(function* () {
|
|
113
113
|
const fs = yield* FSUtil.Service;
|
|
114
|
-
const location = yield*
|
|
115
|
-
const search = yield*
|
|
114
|
+
const location = yield* Service75;
|
|
115
|
+
const search = yield* Service15;
|
|
116
116
|
const root = location.workspaceID ? location.directory : yield* fs.realPath(location.directory).pipe(Effect.catch((cause) => {
|
|
117
117
|
if (cause.reason._tag === "NotFound")
|
|
118
118
|
return Effect.fail(new DirectoryNotFoundError2({ directory: location.directory, cause }));
|
|
@@ -122,22 +122,22 @@ var baseLayer = Layer.effect(Service17, Effect.gen(function* () {
|
|
|
122
122
|
}));
|
|
123
123
|
const resolve = Effect.fnUntraced(function* (input) {
|
|
124
124
|
if (input.includes("\x00"))
|
|
125
|
-
return yield* Effect.fail(new
|
|
125
|
+
return yield* Effect.fail(new NotFoundError2({ path: input }));
|
|
126
126
|
const absolute = path.resolve(location.directory, input);
|
|
127
127
|
if (!FSUtil.contains(location.directory, absolute))
|
|
128
|
-
return yield* Effect.fail(new
|
|
129
|
-
const real = yield* fs.realPath(absolute).pipe(Effect.catchReason("PlatformError", "NotFound", () => Effect.fail(new
|
|
128
|
+
return yield* Effect.fail(new NotFoundError2({ path: input }));
|
|
129
|
+
const real = yield* fs.realPath(absolute).pipe(Effect.catchReason("PlatformError", "NotFound", () => Effect.fail(new NotFoundError2({ path: input })), (_, error) => Effect.die(error)));
|
|
130
130
|
if (!FSUtil.contains(root, real))
|
|
131
|
-
return yield* Effect.fail(new
|
|
131
|
+
return yield* Effect.fail(new NotFoundError2({ path: input }));
|
|
132
132
|
return { absolute, real, directory: location.directory };
|
|
133
133
|
});
|
|
134
|
-
return
|
|
134
|
+
return Service14.of({
|
|
135
135
|
find: search.find,
|
|
136
136
|
read: Effect.fn("FileSystem.read")(function* (input) {
|
|
137
137
|
const target = yield* resolve(input.path);
|
|
138
|
-
const info = yield* fs.stat(target.real).pipe(Effect.catchReason("PlatformError", "NotFound", () => Effect.fail(new
|
|
138
|
+
const info = yield* fs.stat(target.real).pipe(Effect.catchReason("PlatformError", "NotFound", () => Effect.fail(new NotFoundError2({ path: input.path })), (_, error) => Effect.die(error)));
|
|
139
139
|
if (info.type !== "File")
|
|
140
|
-
return yield* Effect.fail(new
|
|
140
|
+
return yield* Effect.fail(new NotFoundError2({ path: input.path }));
|
|
141
141
|
return {
|
|
142
142
|
mime: FSUtil.mimeType(target.real),
|
|
143
143
|
size: Number(info.size),
|
|
@@ -170,10 +170,10 @@ var baseLayer = Layer.effect(Service17, Effect.gen(function* () {
|
|
|
170
170
|
})
|
|
171
171
|
});
|
|
172
172
|
}));
|
|
173
|
-
var
|
|
174
|
-
service:
|
|
173
|
+
var node16 = makeLocationNode({
|
|
174
|
+
service: Service14,
|
|
175
175
|
layer: baseLayer,
|
|
176
|
-
deps: [FSUtil.node,
|
|
176
|
+
deps: [FSUtil.node, node79, node17]
|
|
177
177
|
});
|
|
178
178
|
|
|
179
|
-
export { FindInput2, Write2, ReadInput2, WriteInput2,
|
|
179
|
+
export { FindInput2, Write2, ReadInput2, WriteInput2, NotFoundError2, DirectoryNotFoundError2, DirectoryAccessDeniedError2, Content2, ListInput2, DEFAULT_SEARCH_LIMIT2, DEFAULT_SEARCH_TIMEOUT_MS2, GlobInput2, GrepInput2, Event2, Service14, node16, exports_filesystem, Entry2, Match2, Submatch2 };
|
|
@@ -1,10 +1,10 @@
|
|
|
1
1
|
import {
|
|
2
2
|
resolveNullableObjectPaths2,
|
|
3
3
|
mapResultRow2
|
|
4
|
-
} from "./
|
|
4
|
+
} from "./location-services-emrn6kk6.js";
|
|
5
5
|
import {
|
|
6
6
|
SQLiteEffectDatabase2
|
|
7
|
-
} from "./
|
|
7
|
+
} from "./location-services-tbnh9822.js";
|
|
8
8
|
|
|
9
9
|
// src/database/drizzle/sqlite-core/effect/session.ts
|
|
10
10
|
import * as Cause from "effect/Cause";
|
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
import {
|
|
2
2
|
Timestamps2
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./location-services-qfa1cgps.js";
|
|
4
4
|
import {
|
|
5
5
|
ProjectTable2
|
|
6
|
-
} from "./
|
|
6
|
+
} from "./location-services-h2b79v29.js";
|
|
7
7
|
|
|
8
8
|
// src/permission/sql.ts
|
|
9
9
|
import { sqliteTable, text, uniqueIndex } from "drizzle-orm/sqlite-core";
|
|
@@ -1,30 +1,30 @@
|
|
|
1
1
|
import {
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
} from "./
|
|
2
|
+
Service75,
|
|
3
|
+
node79
|
|
4
|
+
} from "./location-services-829vnhtg.js";
|
|
5
5
|
import {
|
|
6
6
|
create3
|
|
7
|
-
} from "./
|
|
7
|
+
} from "./location-services-rdw6cm16.js";
|
|
8
8
|
import {
|
|
9
9
|
__export
|
|
10
|
-
} from "./
|
|
10
|
+
} from "./location-services-9rqn6x4v.js";
|
|
11
11
|
|
|
12
12
|
// src/formatter.ts
|
|
13
13
|
var exports_formatter2 = {};
|
|
14
14
|
__export(exports_formatter2, {
|
|
15
15
|
Formatter: () => exports_formatter2,
|
|
16
|
-
Service: () =>
|
|
17
|
-
node: () =>
|
|
16
|
+
Service: () => Service21,
|
|
17
|
+
node: () => node23
|
|
18
18
|
});
|
|
19
19
|
import { Context, Effect, Layer } from "effect";
|
|
20
20
|
import { ChildProcess } from "effect/unstable/process";
|
|
21
21
|
import path from "path";
|
|
22
22
|
import { makeLocationNode } from "@opencode/util/effect/app-node";
|
|
23
23
|
import { AppProcess } from "@opencode/util/process";
|
|
24
|
-
class
|
|
24
|
+
class Service21 extends Context.Service()("@opencode/v2/Formatter") {
|
|
25
25
|
}
|
|
26
|
-
var layer = Layer.effect(
|
|
27
|
-
const location = yield*
|
|
26
|
+
var layer = Layer.effect(Service21, Effect.gen(function* () {
|
|
27
|
+
const location = yield* Service75;
|
|
28
28
|
const processes = yield* AppProcess.Service;
|
|
29
29
|
const commands = new WeakMap;
|
|
30
30
|
const state = create3({
|
|
@@ -85,12 +85,12 @@ var layer = Layer.effect(Service20, Effect.gen(function* () {
|
|
|
85
85
|
}
|
|
86
86
|
return false;
|
|
87
87
|
});
|
|
88
|
-
return
|
|
88
|
+
return Service21.of({ transform: state.transform, reload: state.reload, file });
|
|
89
89
|
}));
|
|
90
|
-
var
|
|
91
|
-
service:
|
|
90
|
+
var node23 = makeLocationNode({
|
|
91
|
+
service: Service21,
|
|
92
92
|
layer,
|
|
93
|
-
deps: [
|
|
93
|
+
deps: [node79, AppProcess.node]
|
|
94
94
|
});
|
|
95
95
|
|
|
96
|
-
export {
|
|
96
|
+
export { Service21, node23, exports_formatter2 };
|
|
@@ -3,34 +3,34 @@ import {
|
|
|
3
3
|
WrongKind2,
|
|
4
4
|
Failed2,
|
|
5
5
|
typeFollowing2
|
|
6
|
-
} from "./
|
|
6
|
+
} from "./location-services-2a5m3afh.js";
|
|
7
7
|
import {
|
|
8
8
|
execDefaults2
|
|
9
|
-
} from "./
|
|
9
|
+
} from "./location-services-1dazxqgg.js";
|
|
10
10
|
import {
|
|
11
11
|
makeLocalDriver2
|
|
12
|
-
} from "./
|
|
12
|
+
} from "./location-services-b6gygkdw.js";
|
|
13
13
|
import {
|
|
14
14
|
makeMemoryDriver2
|
|
15
|
-
} from "./
|
|
15
|
+
} from "./location-services-aaet6srn.js";
|
|
16
16
|
import {
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
} from "./
|
|
17
|
+
Service75,
|
|
18
|
+
node79
|
|
19
|
+
} from "./location-services-829vnhtg.js";
|
|
20
20
|
import {
|
|
21
|
-
|
|
22
|
-
|
|
23
|
-
} from "./
|
|
21
|
+
Service49,
|
|
22
|
+
node52
|
|
23
|
+
} from "./location-services-wd72ymxp.js";
|
|
24
24
|
import {
|
|
25
25
|
__export
|
|
26
|
-
} from "./
|
|
26
|
+
} from "./location-services-9rqn6x4v.js";
|
|
27
27
|
|
|
28
28
|
// src/environment/environment.ts
|
|
29
29
|
var exports_environment2 = {};
|
|
30
30
|
__export(exports_environment2, {
|
|
31
31
|
EnvironmentService: () => exports_environment2,
|
|
32
|
-
Service: () =>
|
|
33
|
-
node: () =>
|
|
32
|
+
Service: () => Service48,
|
|
33
|
+
node: () => node51
|
|
34
34
|
});
|
|
35
35
|
import { CrossSpawnSpawner } from "@opencode/util/cross-spawn-spawner";
|
|
36
36
|
import { makeLocationNode } from "@opencode/util/effect/app-node";
|
|
@@ -43,13 +43,13 @@ __export(exports_environment3, {
|
|
|
43
43
|
Environment: () => exports_environment3,
|
|
44
44
|
Failed: () => Failed2,
|
|
45
45
|
NotFound: () => NotFound2,
|
|
46
|
-
Service: () =>
|
|
46
|
+
Service: () => Service48,
|
|
47
47
|
WrongKind: () => WrongKind2,
|
|
48
48
|
execDefaults: () => execDefaults2,
|
|
49
49
|
makeFiles: () => makeFiles2,
|
|
50
50
|
makeLocalDriver: () => makeLocalDriver2,
|
|
51
51
|
makeMemoryDriver: () => makeMemoryDriver2,
|
|
52
|
-
node: () =>
|
|
52
|
+
node: () => node51,
|
|
53
53
|
typeFollowing: () => typeFollowing2
|
|
54
54
|
});
|
|
55
55
|
var makeFiles2 = (driver) => ({
|
|
@@ -58,19 +58,19 @@ var makeFiles2 = (driver) => ({
|
|
|
58
58
|
});
|
|
59
59
|
|
|
60
60
|
// src/environment/environment.ts
|
|
61
|
-
class
|
|
61
|
+
class Service48 extends Context.Service()("@opencode/Environment") {
|
|
62
62
|
}
|
|
63
|
-
var layer = Layer.effect(
|
|
63
|
+
var layer = Layer.effect(Service48, Effect.gen(function* () {
|
|
64
64
|
const spawner = yield* ChildProcessSpawner;
|
|
65
|
-
const location = yield*
|
|
66
|
-
const workspace = yield*
|
|
65
|
+
const location = yield* Service75;
|
|
66
|
+
const workspace = yield* Service49;
|
|
67
67
|
const driver = location.workspaceID ? yield* workspace.connect(location.workspaceID).pipe(Effect.mapError((cause) => new Error(`Failed to bind Environment to workspace ${location.workspaceID}`, { cause })), Effect.orDie) : makeLocalDriver2(spawner);
|
|
68
|
-
return
|
|
68
|
+
return Service48.of({ files: makeFiles2(driver), spawner: driver.spawner });
|
|
69
69
|
}));
|
|
70
|
-
var
|
|
71
|
-
service:
|
|
70
|
+
var node51 = makeLocationNode({
|
|
71
|
+
service: Service48,
|
|
72
72
|
layer,
|
|
73
|
-
deps: [CrossSpawnSpawner.node,
|
|
73
|
+
deps: [CrossSpawnSpawner.node, node79, node52]
|
|
74
74
|
});
|
|
75
75
|
|
|
76
|
-
export {
|
|
76
|
+
export { Service48, node51, exports_environment2, makeFiles2, exports_environment3 };
|
|
@@ -1,31 +1,31 @@
|
|
|
1
1
|
import {
|
|
2
2
|
AbsolutePath2
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./location-services-z5v4ffb3.js";
|
|
4
4
|
import {
|
|
5
5
|
__export
|
|
6
|
-
} from "./
|
|
6
|
+
} from "./location-services-9rqn6x4v.js";
|
|
7
7
|
|
|
8
8
|
// src/project/schema.ts
|
|
9
9
|
var exports_schema = {};
|
|
10
10
|
__export(exports_schema, {
|
|
11
11
|
Current: () => Current3,
|
|
12
|
-
Event: () =>
|
|
13
|
-
ID: () =>
|
|
14
|
-
Info: () =>
|
|
12
|
+
Event: () => Event18,
|
|
13
|
+
ID: () => ID14,
|
|
14
|
+
Info: () => Info24,
|
|
15
15
|
ProjectSchema: () => exports_schema,
|
|
16
16
|
UpdateInput: () => UpdateInput4,
|
|
17
17
|
Vcs: () => Vcs3
|
|
18
18
|
});
|
|
19
19
|
import { Schema } from "effect";
|
|
20
20
|
import { Project } from "@opencode/schema/project";
|
|
21
|
-
var
|
|
21
|
+
var ID14 = Project.ID;
|
|
22
22
|
var Current3 = Project.Current;
|
|
23
|
-
var
|
|
23
|
+
var Info24 = Project.Info;
|
|
24
24
|
var UpdateInput4 = Project.UpdateInput;
|
|
25
|
-
var
|
|
25
|
+
var Event18 = Project.Event;
|
|
26
26
|
var Vcs3 = Schema.Struct({
|
|
27
27
|
type: Project.Vcs,
|
|
28
28
|
store: AbsolutePath2
|
|
29
29
|
});
|
|
30
30
|
|
|
31
|
-
export {
|
|
31
|
+
export { ID14, Current3, Info24, UpdateInput4, Event18, Vcs3, exports_schema };
|
|
@@ -2,7 +2,7 @@ import {
|
|
|
2
2
|
getTableColumnsRuntime2,
|
|
3
3
|
orderSelectedFields2,
|
|
4
4
|
mapUpdateSet2
|
|
5
|
-
} from "./
|
|
5
|
+
} from "./location-services-emrn6kk6.js";
|
|
6
6
|
|
|
7
7
|
// src/database/drizzle/sqlite-core/effect/insert.ts
|
|
8
8
|
import { applyEffectWrapper } from "drizzle-orm/effect-core/query-effect";
|
|
@@ -1,22 +1,22 @@
|
|
|
1
1
|
import {
|
|
2
|
-
|
|
2
|
+
ID12,
|
|
3
3
|
isAISDK2,
|
|
4
4
|
packageName2,
|
|
5
5
|
timeouts2,
|
|
6
6
|
mergeOverlay2
|
|
7
|
-
} from "./
|
|
7
|
+
} from "./location-services-gp92atbq.js";
|
|
8
8
|
import {
|
|
9
9
|
__export
|
|
10
|
-
} from "./
|
|
10
|
+
} from "./location-services-9rqn6x4v.js";
|
|
11
11
|
|
|
12
12
|
// src/aisdk.ts
|
|
13
13
|
var exports_aisdk = {};
|
|
14
14
|
__export(exports_aisdk, {
|
|
15
15
|
AISDK: () => exports_aisdk,
|
|
16
16
|
InitError: () => InitError2,
|
|
17
|
-
Service: () =>
|
|
17
|
+
Service: () => Service66,
|
|
18
18
|
locationLayer: () => locationLayer2,
|
|
19
|
-
node: () =>
|
|
19
|
+
node: () => node70
|
|
20
20
|
});
|
|
21
21
|
import { makeLocationNode } from "@opencode/util/effect/app-node";
|
|
22
22
|
import { APICallError } from "@ai-sdk/provider";
|
|
@@ -151,7 +151,7 @@ function throughMiddleware(store, send, input, init) {
|
|
|
151
151
|
var HEADER_TIMEOUT_MESSAGE = "Response headers timed out";
|
|
152
152
|
|
|
153
153
|
class InitError2 extends Schema.TaggedError()("AISDK.InitError", {
|
|
154
|
-
providerID:
|
|
154
|
+
providerID: ID12,
|
|
155
155
|
cause: Schema.Defect()
|
|
156
156
|
}) {
|
|
157
157
|
}
|
|
@@ -159,9 +159,9 @@ function initError(providerID) {
|
|
|
159
159
|
return Effect.catchCause((cause) => Effect.fail(new InitError2({ providerID, cause: Cause.squash(cause) })));
|
|
160
160
|
}
|
|
161
161
|
|
|
162
|
-
class
|
|
162
|
+
class Service66 extends Context.Service()("@opencode/AISDK") {
|
|
163
163
|
}
|
|
164
|
-
var locationLayer2 = Layer.effect(
|
|
164
|
+
var locationLayer2 = Layer.effect(Service66, Effect.gen(function* () {
|
|
165
165
|
let sdkHooks = [];
|
|
166
166
|
let languageHooks = [];
|
|
167
167
|
const languages = new Map;
|
|
@@ -199,7 +199,7 @@ var locationLayer2 = Layer.effect(Service73, Effect.gen(function* () {
|
|
|
199
199
|
}
|
|
200
200
|
return event;
|
|
201
201
|
});
|
|
202
|
-
const service =
|
|
202
|
+
const service = Service66.of({
|
|
203
203
|
hook: {
|
|
204
204
|
sdk: register(() => sdkHooks, (next) => sdkHooks = next),
|
|
205
205
|
language: register(() => languageHooks, (next) => languageHooks = next)
|
|
@@ -874,6 +874,6 @@ function providerErrorMessage(error) {
|
|
|
874
874
|
const prefix = error.statusCode === undefined ? "Provider request failed" : `Provider request failed with HTTP ${error.statusCode}`;
|
|
875
875
|
return error.message.trim() !== "" ? error.message : message ?? (code === undefined ? prefix : `${prefix}: ${code}`);
|
|
876
876
|
}
|
|
877
|
-
var
|
|
877
|
+
var node70 = makeLocationNode({ service: Service66, layer: locationLayer2, deps: [] });
|
|
878
878
|
|
|
879
|
-
export { InitError2,
|
|
879
|
+
export { InitError2, Service66, locationLayer2, node70, exports_aisdk };
|
|
@@ -1,21 +1,21 @@
|
|
|
1
1
|
import {
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
} from "./
|
|
2
|
+
Service81,
|
|
3
|
+
node85
|
|
4
|
+
} from "./location-services-8fsm0kax.js";
|
|
5
5
|
import {
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
} from "./
|
|
6
|
+
Service75,
|
|
7
|
+
node79
|
|
8
|
+
} from "./location-services-829vnhtg.js";
|
|
9
9
|
import {
|
|
10
10
|
SessionEvent2
|
|
11
|
-
} from "./
|
|
11
|
+
} from "./location-services-ec1grn59.js";
|
|
12
12
|
import {
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
} from "./
|
|
13
|
+
Service69,
|
|
14
|
+
node73
|
|
15
|
+
} from "./location-services-pvka53nw.js";
|
|
16
16
|
import {
|
|
17
17
|
__export
|
|
18
|
-
} from "./
|
|
18
|
+
} from "./location-services-9rqn6x4v.js";
|
|
19
19
|
|
|
20
20
|
// src/session/instructions.ts
|
|
21
21
|
var exports_instructions = {};
|
|
@@ -35,10 +35,10 @@ var InjectedMetadata = Schema.Struct({
|
|
|
35
35
|
class Service11 extends Context.Service()("@opencode/SessionInstructions") {
|
|
36
36
|
}
|
|
37
37
|
var layer = Layer.effect(Service11, Effect.gen(function* () {
|
|
38
|
-
const bus = yield*
|
|
38
|
+
const bus = yield* Service81;
|
|
39
39
|
const fs = yield* FSUtil.Service;
|
|
40
|
-
const store = yield*
|
|
41
|
-
const location = yield*
|
|
40
|
+
const store = yield* Service69;
|
|
41
|
+
const location = yield* Service75;
|
|
42
42
|
const root = yield* fs.resolve(location.project.directory);
|
|
43
43
|
const inFlight = yield* Ref.make(new Map);
|
|
44
44
|
const load = Effect.fn("SessionInstructions.load")(function* (input) {
|
|
@@ -98,7 +98,7 @@ function describePath(root, path) {
|
|
|
98
98
|
var node13 = makeLocationNode({
|
|
99
99
|
name: "session-instructions",
|
|
100
100
|
layer,
|
|
101
|
-
deps: [
|
|
101
|
+
deps: [node85, FSUtil.node, node79, node73]
|
|
102
102
|
});
|
|
103
103
|
|
|
104
104
|
export { Service11, node13, exports_instructions };
|