@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,18 +1,18 @@
|
|
|
1
1
|
import {
|
|
2
2
|
AbsolutePath2
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./location-services-z5v4ffb3.js";
|
|
4
4
|
import {
|
|
5
|
-
|
|
6
|
-
} from "./
|
|
5
|
+
Service75
|
|
6
|
+
} from "./location-services-829vnhtg.js";
|
|
7
7
|
import {
|
|
8
|
-
|
|
9
|
-
} from "./
|
|
8
|
+
Service56
|
|
9
|
+
} from "./location-services-bc24gvvh.js";
|
|
10
10
|
import {
|
|
11
11
|
Service11
|
|
12
|
-
} from "./
|
|
12
|
+
} from "./location-services-7yn7yysf.js";
|
|
13
13
|
import {
|
|
14
14
|
NotFound2
|
|
15
|
-
} from "./
|
|
15
|
+
} from "./location-services-2a5m3afh.js";
|
|
16
16
|
import {
|
|
17
17
|
MEDIA_MIMES2,
|
|
18
18
|
BinaryFileError2,
|
|
@@ -23,26 +23,26 @@ import {
|
|
|
23
23
|
FileContent2,
|
|
24
24
|
TextPage2,
|
|
25
25
|
ListPage2,
|
|
26
|
-
|
|
27
|
-
} from "./
|
|
26
|
+
Service12
|
|
27
|
+
} from "./location-services-g759vh0t.js";
|
|
28
28
|
import {
|
|
29
29
|
__export
|
|
30
|
-
} from "./
|
|
30
|
+
} from "./location-services-9rqn6x4v.js";
|
|
31
31
|
|
|
32
32
|
// src/tool/plugin/read.ts
|
|
33
33
|
var exports_read = {};
|
|
34
34
|
__export(exports_read, {
|
|
35
|
-
Input: () =>
|
|
36
|
-
Plugin: () =>
|
|
35
|
+
Input: () => Input2,
|
|
36
|
+
Plugin: () => Plugin37,
|
|
37
37
|
ReadTool: () => exports_read,
|
|
38
|
-
name: () =>
|
|
39
|
-
toModelContent: () =>
|
|
38
|
+
name: () => name2,
|
|
39
|
+
toModelContent: () => toModelContent2
|
|
40
40
|
});
|
|
41
41
|
import { basename, dirname, join } from "path";
|
|
42
42
|
import { ToolFailure } from "@opencode/ai";
|
|
43
43
|
import { Effect, Schema } from "effect";
|
|
44
44
|
import { FSUtil } from "@opencode/util/fs-util";
|
|
45
|
-
var
|
|
45
|
+
var name2 = "read";
|
|
46
46
|
var FILENAME = "AGENTS.md";
|
|
47
47
|
var LocationInput = Schema.Struct({
|
|
48
48
|
path: Schema.String.annotate({ description: "File or directory to read" }),
|
|
@@ -53,21 +53,21 @@ var LocationInput = Schema.Struct({
|
|
|
53
53
|
description: "The maximum number of lines or directory entries to read (defaults to and capped at 2000)"
|
|
54
54
|
})
|
|
55
55
|
});
|
|
56
|
-
var
|
|
56
|
+
var Input2 = LocationInput;
|
|
57
57
|
var Output = Schema.Union([FileContent2, TextPage2, ListPage2]);
|
|
58
|
-
var
|
|
58
|
+
var Plugin37 = {
|
|
59
59
|
id: "opencode.tool.read",
|
|
60
60
|
effect: Effect.fn("ReadTool.Plugin")(function* (ctx) {
|
|
61
|
-
const reader = yield*
|
|
62
|
-
const access = yield*
|
|
61
|
+
const reader = yield* Service12;
|
|
62
|
+
const access = yield* Service56;
|
|
63
63
|
const sessionInstructions = yield* Service11;
|
|
64
64
|
const fs = yield* FSUtil.Service;
|
|
65
|
-
const location = yield*
|
|
65
|
+
const location = yield* Service75;
|
|
66
66
|
yield* ctx.tool.transform((editor) => editor.add({
|
|
67
|
-
name:
|
|
67
|
+
name: name2,
|
|
68
68
|
options: { codemode: false },
|
|
69
69
|
description: "Read the contents of a file or directory. Supports text files, images, and PDFs. Images and PDFs are presented directly to the model. Each text line is prefixed by its 1-based line number as <line>: <content>. The prefix is for reference and is not part of the file content. Directory entries are returned one per line. Use offset and limit to read large files or directories in sections. Prefer one larger read over many small slices, and use grep to find specific content in large files.",
|
|
70
|
-
input:
|
|
70
|
+
input: Input2,
|
|
71
71
|
output: Output,
|
|
72
72
|
execute: (input, context) => {
|
|
73
73
|
return Effect.gen(function* () {
|
|
@@ -113,7 +113,7 @@ var Plugin14 = {
|
|
|
113
113
|
return { output: result.content, path: result.path };
|
|
114
114
|
}).pipe(Effect.map((result) => ({
|
|
115
115
|
output: result.output,
|
|
116
|
-
content:
|
|
116
|
+
content: toModelContent2(result.path, input.offset, result.output),
|
|
117
117
|
metadata: { truncated: result.output.type === "file" ? false : result.output.truncated }
|
|
118
118
|
})), Effect.mapError((error) => {
|
|
119
119
|
if (error instanceof ToolFailure)
|
|
@@ -146,7 +146,7 @@ ${suggestions.join(`
|
|
|
146
146
|
});
|
|
147
147
|
})
|
|
148
148
|
};
|
|
149
|
-
var
|
|
149
|
+
var toModelContent2 = (path, offset, output) => {
|
|
150
150
|
if (output.type === "file" && output.encoding === "base64")
|
|
151
151
|
return [
|
|
152
152
|
{ type: "text", text: output.mime === "application/pdf" ? "PDF read successfully" : "Image read successfully" },
|
|
@@ -182,4 +182,4 @@ var toModelContent6 = (path, offset, output) => {
|
|
|
182
182
|
`);
|
|
183
183
|
};
|
|
184
184
|
|
|
185
|
-
export {
|
|
185
|
+
export { name2, Input2, Plugin37, toModelContent2, exports_read };
|
|
@@ -1,36 +1,36 @@
|
|
|
1
1
|
import {
|
|
2
2
|
batch2
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./location-services-rdw6cm16.js";
|
|
4
4
|
import {
|
|
5
|
-
|
|
6
|
-
} from "./
|
|
5
|
+
Service50
|
|
6
|
+
} from "./location-services-j06x18dw.js";
|
|
7
7
|
import {
|
|
8
8
|
match2
|
|
9
|
-
} from "./
|
|
9
|
+
} from "./location-services-y1fvbwt7.js";
|
|
10
10
|
import {
|
|
11
11
|
Service13,
|
|
12
12
|
statements2,
|
|
13
13
|
decision2
|
|
14
|
-
} from "./
|
|
14
|
+
} from "./location-services-m55qy151.js";
|
|
15
15
|
import {
|
|
16
16
|
observe2
|
|
17
|
-
} from "./
|
|
17
|
+
} from "./location-services-qsdy395h.js";
|
|
18
18
|
import {
|
|
19
19
|
__export
|
|
20
|
-
} from "./
|
|
20
|
+
} from "./location-services-9rqn6x4v.js";
|
|
21
21
|
|
|
22
22
|
// src/config/plugin/policy.ts
|
|
23
23
|
var exports_policy = {};
|
|
24
24
|
__export(exports_policy, {
|
|
25
25
|
ConfigPolicyPlugin: () => exports_policy,
|
|
26
|
-
Plugin: () =>
|
|
26
|
+
Plugin: () => Plugin30
|
|
27
27
|
});
|
|
28
28
|
import { define } from "@opencode/plugin/effect/plugin";
|
|
29
29
|
import { Effect, Stream } from "effect";
|
|
30
|
-
var
|
|
30
|
+
var Plugin30 = define({
|
|
31
31
|
id: "opencode.config.policy",
|
|
32
32
|
effect: Effect.fn(function* (ctx) {
|
|
33
|
-
const config = yield*
|
|
33
|
+
const config = yield* Service50;
|
|
34
34
|
const managed = yield* Service13;
|
|
35
35
|
const reload = batch2(Effect.all([ctx.provider.reload(), ctx.mcp.reload(), ctx.skill.reload()], { discard: true }));
|
|
36
36
|
const loaded = yield* observe2(config, ctx.event, reload);
|
|
@@ -69,4 +69,4 @@ var Plugin43 = define({
|
|
|
69
69
|
})
|
|
70
70
|
});
|
|
71
71
|
|
|
72
|
-
export {
|
|
72
|
+
export { Plugin30, exports_policy };
|
|
@@ -1,41 +1,41 @@
|
|
|
1
1
|
import {
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
} from "./
|
|
2
|
+
Service81,
|
|
3
|
+
node85
|
|
4
|
+
} from "./location-services-8fsm0kax.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/agent.ts
|
|
13
13
|
var exports_agent4 = {};
|
|
14
14
|
__export(exports_agent4, {
|
|
15
15
|
Agent: () => exports_agent4,
|
|
16
16
|
Color: () => Color2,
|
|
17
|
-
Event: () =>
|
|
18
|
-
ID: () =>
|
|
19
|
-
Info: () =>
|
|
17
|
+
Event: () => Event15,
|
|
18
|
+
ID: () => ID10,
|
|
19
|
+
Info: () => Info19,
|
|
20
20
|
Name: () => Name3,
|
|
21
|
-
Service: () =>
|
|
21
|
+
Service: () => Service71,
|
|
22
22
|
defaultID: () => defaultID2,
|
|
23
|
-
node: () =>
|
|
23
|
+
node: () => node75
|
|
24
24
|
});
|
|
25
25
|
import { makeLocationNode } from "@opencode/util/effect/app-node";
|
|
26
26
|
import { Array, Context, Effect, Layer } from "effect";
|
|
27
27
|
import { Agent } from "@opencode/schema/agent";
|
|
28
|
-
import { Event as
|
|
29
|
-
var
|
|
28
|
+
import { Event as Event15 } from "@opencode/schema/agent";
|
|
29
|
+
var ID10 = Agent.ID;
|
|
30
30
|
var Name3 = Agent.Name;
|
|
31
|
-
var defaultID2 =
|
|
31
|
+
var defaultID2 = ID10.make("build");
|
|
32
32
|
var Color2 = Agent.Color;
|
|
33
|
-
var
|
|
33
|
+
var Info19 = Agent.Info;
|
|
34
34
|
|
|
35
|
-
class
|
|
35
|
+
class Service71 extends Context.Service()("@opencode/Agent") {
|
|
36
36
|
}
|
|
37
|
-
var layer = Layer.effect(
|
|
38
|
-
const bus = yield*
|
|
37
|
+
var layer = Layer.effect(Service71, Effect.gen(function* () {
|
|
38
|
+
const bus = yield* Service81;
|
|
39
39
|
const state = create3({
|
|
40
40
|
name: "agent",
|
|
41
41
|
initial: () => ({ agents: new Map }),
|
|
@@ -46,7 +46,7 @@ var layer = Layer.effect(Service63, Effect.gen(function* () {
|
|
|
46
46
|
editor.default = id;
|
|
47
47
|
},
|
|
48
48
|
update: (id, fn) => {
|
|
49
|
-
const current = editor.agents.get(id) ??
|
|
49
|
+
const current = editor.agents.get(id) ?? Info19.default(id);
|
|
50
50
|
if (!editor.agents.has(id))
|
|
51
51
|
editor.agents.set(id, current);
|
|
52
52
|
fn(current);
|
|
@@ -64,7 +64,7 @@ var layer = Layer.effect(Service63, Effect.gen(function* () {
|
|
|
64
64
|
const configured = data.default ? selectable(data.agents.get(data.default)) : undefined;
|
|
65
65
|
if (configured)
|
|
66
66
|
return configured;
|
|
67
|
-
const build = selectable(data.agents.get(
|
|
67
|
+
const build = selectable(data.agents.get(ID10.make("build")));
|
|
68
68
|
if (build)
|
|
69
69
|
return build;
|
|
70
70
|
for (const agent of data.agents.values()) {
|
|
@@ -73,7 +73,7 @@ var layer = Layer.effect(Service63, Effect.gen(function* () {
|
|
|
73
73
|
return fallback;
|
|
74
74
|
}
|
|
75
75
|
};
|
|
76
|
-
return
|
|
76
|
+
return Service71.of({
|
|
77
77
|
transform: state.transform,
|
|
78
78
|
reload: state.reload,
|
|
79
79
|
get: Effect.fn("Agent.get")(function* (id) {
|
|
@@ -81,12 +81,12 @@ var layer = Layer.effect(Service63, Effect.gen(function* () {
|
|
|
81
81
|
}),
|
|
82
82
|
resolve: Effect.fnUntraced(function* (id) {
|
|
83
83
|
if (id !== undefined)
|
|
84
|
-
return state.get().agents.get(
|
|
84
|
+
return state.get().agents.get(ID10.make(id));
|
|
85
85
|
return selectedDefault();
|
|
86
86
|
}),
|
|
87
87
|
select: Effect.fn("Agent.select")(function* (id) {
|
|
88
88
|
if (id !== undefined) {
|
|
89
|
-
const selected =
|
|
89
|
+
const selected = ID10.make(id);
|
|
90
90
|
return { id: selected, info: state.get().agents.get(selected) };
|
|
91
91
|
}
|
|
92
92
|
const info = selectedDefault();
|
|
@@ -101,6 +101,6 @@ var layer = Layer.effect(Service63, Effect.gen(function* () {
|
|
|
101
101
|
})
|
|
102
102
|
});
|
|
103
103
|
}));
|
|
104
|
-
var
|
|
104
|
+
var node75 = makeLocationNode({ service: Service71, layer, deps: [node85] });
|
|
105
105
|
|
|
106
|
-
export {
|
|
106
|
+
export { ID10, Name3, defaultID2, Color2, Info19, Service71, node75, exports_agent4, Event15 };
|
|
@@ -1,15 +1,15 @@
|
|
|
1
1
|
import {
|
|
2
2
|
latest2,
|
|
3
|
-
|
|
4
|
-
} from "./
|
|
3
|
+
Service50
|
|
4
|
+
} from "./location-services-j06x18dw.js";
|
|
5
5
|
import {
|
|
6
6
|
__export
|
|
7
|
-
} from "./
|
|
7
|
+
} from "./location-services-9rqn6x4v.js";
|
|
8
8
|
|
|
9
9
|
// src/plugin/warming.ts
|
|
10
10
|
var exports_warming = {};
|
|
11
11
|
__export(exports_warming, {
|
|
12
|
-
Plugin: () =>
|
|
12
|
+
Plugin: () => Plugin19,
|
|
13
13
|
WarmingPlugin: () => exports_warming
|
|
14
14
|
});
|
|
15
15
|
import { define } from "@opencode/plugin/effect/plugin";
|
|
@@ -19,10 +19,10 @@ var defaults = {
|
|
|
19
19
|
interval: Duration.minutes(4),
|
|
20
20
|
duration: Duration.minutes(30)
|
|
21
21
|
};
|
|
22
|
-
var
|
|
22
|
+
var Plugin19 = define({
|
|
23
23
|
id: "opencode.warming",
|
|
24
24
|
effect: Effect.fn(function* (ctx) {
|
|
25
|
-
const config = yield*
|
|
25
|
+
const config = yield* Service50;
|
|
26
26
|
const loadSettings = Effect.fn("WarmingPlugin.loadSettings")(function* () {
|
|
27
27
|
const warming = latest2(yield* config.entries(), "warming");
|
|
28
28
|
if (!warming)
|
|
@@ -96,4 +96,4 @@ var Plugin23 = define({
|
|
|
96
96
|
})
|
|
97
97
|
});
|
|
98
98
|
|
|
99
|
-
export {
|
|
99
|
+
export { Plugin19, exports_warming };
|
|
@@ -1,28 +1,28 @@
|
|
|
1
1
|
import {
|
|
2
2
|
ephemeral2,
|
|
3
|
+
Service81,
|
|
4
|
+
node85
|
|
5
|
+
} from "./location-services-8fsm0kax.js";
|
|
6
|
+
import {
|
|
3
7
|
Service83,
|
|
4
8
|
node87
|
|
5
|
-
} from "./
|
|
6
|
-
import {
|
|
7
|
-
Service67,
|
|
8
|
-
node71
|
|
9
|
-
} from "./form-7wpb6h90.js";
|
|
9
|
+
} from "./location-services-ymnkanq5.js";
|
|
10
10
|
import {
|
|
11
11
|
__export
|
|
12
|
-
} from "./
|
|
12
|
+
} from "./location-services-9rqn6x4v.js";
|
|
13
13
|
|
|
14
14
|
// src/wellknown.ts
|
|
15
15
|
var exports_wellknown = {};
|
|
16
16
|
__export(exports_wellknown, {
|
|
17
17
|
Auth: () => Auth2,
|
|
18
18
|
Config: () => Config2,
|
|
19
|
-
Event: () =>
|
|
19
|
+
Event: () => Event11,
|
|
20
20
|
Manifest: () => Manifest2,
|
|
21
21
|
RemoteConfig: () => RemoteConfig2,
|
|
22
|
-
Service: () =>
|
|
22
|
+
Service: () => Service52,
|
|
23
23
|
WellKnown: () => exports_wellknown,
|
|
24
24
|
inspect: () => inspect2,
|
|
25
|
-
node: () =>
|
|
25
|
+
node: () => node56,
|
|
26
26
|
resolve: () => resolve3
|
|
27
27
|
});
|
|
28
28
|
import { Integration } from "@opencode/schema/integration";
|
|
@@ -46,9 +46,9 @@ var Manifest2 = Schema.Struct({
|
|
|
46
46
|
remote_config: Schema.optional(RemoteConfig2)
|
|
47
47
|
}).annotate({ identifier: "WellKnown.Manifest" });
|
|
48
48
|
|
|
49
|
-
class
|
|
49
|
+
class Service52 extends Context.Service()("@opencode/WellKnown") {
|
|
50
50
|
}
|
|
51
|
-
var
|
|
51
|
+
var Event11 = {
|
|
52
52
|
Updated: ephemeral2({ type: "wellknown.updated", schema: {} })
|
|
53
53
|
};
|
|
54
54
|
var inspect2 = Effect.fn("WellKnown.inspect")(function* (origin) {
|
|
@@ -75,10 +75,10 @@ var resolveEntry = Effect.fnUntraced(function* (entry, variables) {
|
|
|
75
75
|
});
|
|
76
76
|
var sourcesKey = "wellknown:sources";
|
|
77
77
|
var Sources = Schema.Array(Schema.String);
|
|
78
|
-
var layer = Layer.effect(
|
|
78
|
+
var layer = Layer.effect(Service52, Effect.gen(function* () {
|
|
79
79
|
const http = yield* HttpClient.HttpClient;
|
|
80
|
-
const kv = yield*
|
|
81
|
-
const bus = yield*
|
|
80
|
+
const kv = yield* Service83;
|
|
81
|
+
const bus = yield* Service81;
|
|
82
82
|
const cache = yield* Ref.make(new Map);
|
|
83
83
|
const lock = Semaphore.makeUnsafe(1);
|
|
84
84
|
const loadEntry = Effect.fn("WellKnown.loadEntry")(function* (origin) {
|
|
@@ -109,10 +109,10 @@ var layer = Layer.effect(Service54, Effect.gen(function* () {
|
|
|
109
109
|
if (!changed)
|
|
110
110
|
return false;
|
|
111
111
|
yield* Ref.set(cache, next);
|
|
112
|
-
yield* bus.publish(
|
|
112
|
+
yield* bus.publish(Event11.Updated, {});
|
|
113
113
|
return true;
|
|
114
114
|
}, (effect) => lock.withPermit(effect));
|
|
115
|
-
return
|
|
115
|
+
return Service52.of({
|
|
116
116
|
entries: load,
|
|
117
117
|
snapshot: () => Array.from(Ref.getUnsafe(cache).values()),
|
|
118
118
|
refresh,
|
|
@@ -125,7 +125,7 @@ var layer = Layer.effect(Service54, Effect.gen(function* () {
|
|
|
125
125
|
const origins = Schema.is(Sources)(sources) ? sources : [];
|
|
126
126
|
yield* kv.set(sourcesKey, Array.from(new Set([...origins, origin])));
|
|
127
127
|
yield* Ref.update(cache, (current) => new Map(current).set(origin, entry));
|
|
128
|
-
yield* bus.publish(
|
|
128
|
+
yield* bus.publish(Event11.Updated, {});
|
|
129
129
|
return entry;
|
|
130
130
|
}, (effect, _value) => lock.withPermit(effect)),
|
|
131
131
|
remove: Effect.fn("WellKnown.remove")(function* (value) {
|
|
@@ -138,11 +138,11 @@ var layer = Layer.effect(Service54, Effect.gen(function* () {
|
|
|
138
138
|
next.delete(origin);
|
|
139
139
|
return next;
|
|
140
140
|
});
|
|
141
|
-
yield* bus.publish(
|
|
141
|
+
yield* bus.publish(Event11.Updated, {});
|
|
142
142
|
}, (effect, _value) => lock.withPermit(effect)),
|
|
143
143
|
resolve: Effect.fn("WellKnown.resolveEntry")((entry, variables) => resolveEntry(entry, variables).pipe(Effect.provideService(HttpClient.HttpClient, http)))
|
|
144
144
|
});
|
|
145
145
|
}));
|
|
146
|
-
var
|
|
146
|
+
var node56 = makeGlobalNode({ service: Service52, layer, deps: [httpClient, node87, node85] });
|
|
147
147
|
|
|
148
|
-
export { Auth2, RemoteConfig2, Config2, Manifest2,
|
|
148
|
+
export { Auth2, RemoteConfig2, Config2, Manifest2, Service52, Event11, inspect2, resolve3, node56, exports_wellknown };
|
|
@@ -1,29 +1,29 @@
|
|
|
1
1
|
import {
|
|
2
2
|
useragent2
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./location-services-54n3348x.js";
|
|
4
4
|
import {
|
|
5
|
-
|
|
6
|
-
} from "./
|
|
5
|
+
Service81
|
|
6
|
+
} from "./location-services-8fsm0kax.js";
|
|
7
7
|
import {
|
|
8
8
|
OAuth3,
|
|
9
|
-
|
|
10
|
-
} from "./
|
|
9
|
+
Event21
|
|
10
|
+
} from "./location-services-35t5c9n6.js";
|
|
11
11
|
import {
|
|
12
|
-
|
|
12
|
+
ID15,
|
|
13
13
|
MethodID2
|
|
14
|
-
} from "./
|
|
14
|
+
} from "./location-services-najdsepz.js";
|
|
15
15
|
import {
|
|
16
16
|
success2,
|
|
17
17
|
error2
|
|
18
|
-
} from "./
|
|
18
|
+
} from "./location-services-pjvnvgmy.js";
|
|
19
19
|
import {
|
|
20
|
-
|
|
20
|
+
ID12,
|
|
21
21
|
mergeOverlay2,
|
|
22
22
|
mergeHeaders2
|
|
23
|
-
} from "./
|
|
23
|
+
} from "./location-services-gp92atbq.js";
|
|
24
24
|
import {
|
|
25
25
|
get5
|
|
26
|
-
} from "./
|
|
26
|
+
} from "./location-services-54ma36ye.js";
|
|
27
27
|
|
|
28
28
|
// src/plugin/provider/openai.ts
|
|
29
29
|
import { define } from "@opencode/plugin/effect/plugin";
|
|
@@ -47,7 +47,7 @@ var Claims = Schema.fromJsonString(Schema.Struct({
|
|
|
47
47
|
}));
|
|
48
48
|
var decodeClaims = Schema.decodeUnknownOption(Claims);
|
|
49
49
|
var browser = (app) => ({
|
|
50
|
-
integrationID:
|
|
50
|
+
integrationID: ID15.make("openai"),
|
|
51
51
|
method: {
|
|
52
52
|
id: browserMethodID,
|
|
53
53
|
type: "oauth",
|
|
@@ -120,7 +120,7 @@ function addressInUse(error) {
|
|
|
120
120
|
return "code" in error && error.code === "EADDRINUSE";
|
|
121
121
|
}
|
|
122
122
|
var headless = (app) => ({
|
|
123
|
-
integrationID:
|
|
123
|
+
integrationID: ID15.make("openai"),
|
|
124
124
|
method: {
|
|
125
125
|
id: headlessMethodID,
|
|
126
126
|
type: "oauth",
|
|
@@ -165,7 +165,7 @@ var headless = (app) => ({
|
|
|
165
165
|
var OpenAIPlugin3 = define({
|
|
166
166
|
id: "opencode.provider.openai",
|
|
167
167
|
effect: Effect.fn(function* (ctx) {
|
|
168
|
-
const bus = yield*
|
|
168
|
+
const bus = yield* Service81;
|
|
169
169
|
const loading = Semaphore.makeUnsafe(1);
|
|
170
170
|
let chatgpt;
|
|
171
171
|
const load = Effect.fn("OpenAIPlugin.load")(function* () {
|
|
@@ -181,7 +181,7 @@ var OpenAIPlugin3 = define({
|
|
|
181
181
|
});
|
|
182
182
|
yield* load();
|
|
183
183
|
yield* ctx.provider.transform((providers) => {
|
|
184
|
-
const item = providers.get(
|
|
184
|
+
const item = providers.get(ID12.openai);
|
|
185
185
|
if (!item)
|
|
186
186
|
return;
|
|
187
187
|
const account = chatgpt?.metadata?.accountID;
|
|
@@ -200,7 +200,7 @@ var OpenAIPlugin3 = define({
|
|
|
200
200
|
});
|
|
201
201
|
});
|
|
202
202
|
yield* ctx.model.transform((models) => {
|
|
203
|
-
for (const model of models.list(
|
|
203
|
+
for (const model of models.list(ID12.openai)) {
|
|
204
204
|
models.update(model.providerID, model.id, (draft) => {
|
|
205
205
|
if (!chatgpt)
|
|
206
206
|
return;
|
|
@@ -231,14 +231,14 @@ var OpenAIPlugin3 = define({
|
|
|
231
231
|
}));
|
|
232
232
|
evt.headers.originator = "opencode";
|
|
233
233
|
evt.headers["session-id"] = session ? get5(session) : evt.sessionID;
|
|
234
|
-
}), { providerID:
|
|
234
|
+
}), { providerID: ID12.openai });
|
|
235
235
|
const omitOutputLimit = (evt) => Effect.sync(() => {
|
|
236
236
|
delete evt.options.maxTokens;
|
|
237
237
|
});
|
|
238
238
|
for (const name of ["context", "compaction"])
|
|
239
|
-
yield* ctx.session.hook(name, omitOutputLimit, { providerID:
|
|
239
|
+
yield* ctx.session.hook(name, omitOutputLimit, { providerID: ID12.openai });
|
|
240
240
|
const refresh = () => loading.withPermit(load().pipe(Effect.andThen(ctx.provider.reload())));
|
|
241
|
-
yield* bus.subscribe(
|
|
241
|
+
yield* bus.subscribe(Event21.Switched).pipe(Stream.filter((event) => event.data.integrationID === ID15.make("openai")), Stream.runForEach(refresh), Effect.forkScoped({ startImmediately: true }));
|
|
242
242
|
})
|
|
243
243
|
});
|
|
244
244
|
function headers(contentType, app) {
|
|
@@ -1,56 +1,56 @@
|
|
|
1
1
|
import {
|
|
2
|
-
Service83,
|
|
3
|
-
node87
|
|
4
|
-
} from "./form-vrxgzr22.js";
|
|
5
|
-
import {
|
|
6
|
-
Event20,
|
|
7
2
|
Service81,
|
|
8
3
|
node85
|
|
9
|
-
} from "./
|
|
4
|
+
} from "./location-services-8fsm0kax.js";
|
|
5
|
+
import {
|
|
6
|
+
Event21,
|
|
7
|
+
Service80,
|
|
8
|
+
node84
|
|
9
|
+
} from "./location-services-35t5c9n6.js";
|
|
10
10
|
import {
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
} from "./
|
|
11
|
+
Service51,
|
|
12
|
+
node55
|
|
13
|
+
} from "./location-services-ye1azc5f.js";
|
|
14
14
|
import {
|
|
15
15
|
AbsolutePath2
|
|
16
|
-
} from "./
|
|
16
|
+
} from "./location-services-z5v4ffb3.js";
|
|
17
17
|
import {
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
} from "./
|
|
18
|
+
Service75,
|
|
19
|
+
node79
|
|
20
|
+
} from "./location-services-829vnhtg.js";
|
|
21
21
|
import {
|
|
22
22
|
substitute2
|
|
23
|
-
} from "./
|
|
23
|
+
} from "./location-services-4ts7tf6z.js";
|
|
24
24
|
import {
|
|
25
25
|
normalize2
|
|
26
|
-
} from "./
|
|
26
|
+
} from "./location-services-pwf1cgs9.js";
|
|
27
27
|
import {
|
|
28
28
|
names4,
|
|
29
29
|
discover3
|
|
30
|
-
} from "./
|
|
30
|
+
} from "./location-services-t4xga9rg.js";
|
|
31
31
|
import {
|
|
32
32
|
plan2
|
|
33
|
-
} from "./
|
|
33
|
+
} from "./location-services-j56e64zr.js";
|
|
34
34
|
import {
|
|
35
|
-
|
|
36
|
-
|
|
37
|
-
|
|
38
|
-
} from "./
|
|
35
|
+
Service52,
|
|
36
|
+
Event11,
|
|
37
|
+
node56
|
|
38
|
+
} from "./location-services-hvx2372f.js";
|
|
39
39
|
import {
|
|
40
40
|
__export
|
|
41
|
-
} from "./
|
|
41
|
+
} from "./location-services-9rqn6x4v.js";
|
|
42
42
|
|
|
43
43
|
// src/config.ts
|
|
44
44
|
var exports_config = {};
|
|
45
45
|
__export(exports_config, {
|
|
46
46
|
Config: () => exports_config,
|
|
47
47
|
Options: () => Options6,
|
|
48
|
-
Service: () =>
|
|
48
|
+
Service: () => Service50,
|
|
49
49
|
Test: () => Test2,
|
|
50
|
-
configured: () =>
|
|
50
|
+
configured: () => configured7,
|
|
51
51
|
latest: () => latest2,
|
|
52
52
|
layer: () => layer18,
|
|
53
|
-
node: () =>
|
|
53
|
+
node: () => node54,
|
|
54
54
|
testLayer: () => testLayer2
|
|
55
55
|
});
|
|
56
56
|
import { makeLocationNode } from "@opencode/util/effect/app-node";
|
|
@@ -71,7 +71,7 @@ var Options6 = Schema.Struct({
|
|
|
71
71
|
content: Schema.optional(Schema.String)
|
|
72
72
|
});
|
|
73
73
|
|
|
74
|
-
class
|
|
74
|
+
class Service50 extends Context.Service()("@opencode/Config") {
|
|
75
75
|
}
|
|
76
76
|
|
|
77
77
|
class Test2 extends Context.Service()("@opencode/Config/Test") {
|
|
@@ -89,16 +89,16 @@ var testLayer2 = (initial = [], compatibility = {
|
|
|
89
89
|
setEntries: (next) => Ref.set(entries, next),
|
|
90
90
|
emitChange: (update) => PubSub.publish(updates, update).pipe(Effect.asVoid)
|
|
91
91
|
});
|
|
92
|
-
return Context.empty().pipe(Context.add(
|
|
92
|
+
return Context.empty().pipe(Context.add(Service50, service), Context.add(Test2, service));
|
|
93
93
|
}));
|
|
94
|
-
var layer18 = (options) => Layer.effect(
|
|
94
|
+
var layer18 = (options) => Layer.effect(Service50, Effect.gen(function* () {
|
|
95
95
|
const fs = yield* FSUtil.Service;
|
|
96
|
-
const location = yield*
|
|
97
|
-
const watcher = yield*
|
|
98
|
-
const bus = yield*
|
|
99
|
-
const credentials = yield*
|
|
96
|
+
const location = yield* Service75;
|
|
97
|
+
const watcher = yield* Service51;
|
|
98
|
+
const bus = yield* Service81;
|
|
99
|
+
const credentials = yield* Service80;
|
|
100
100
|
const globalService = yield* Global.Service;
|
|
101
|
-
const wellknown = yield*
|
|
101
|
+
const wellknown = yield* Service52;
|
|
102
102
|
const reloadLock = Semaphore.makeUnsafe(1);
|
|
103
103
|
const updateLock = Semaphore.makeUnsafe(1);
|
|
104
104
|
const decodeOptions = { errors: "all", onExcessProperty: "ignore", propertyOrder: "original" };
|
|
@@ -221,8 +221,8 @@ var layer18 = (options) => Layer.effect(Service47, Effect.gen(function* () {
|
|
|
221
221
|
}, (effect) => reloadLock.withPermit(effect));
|
|
222
222
|
const pendingReloads = yield* PubSub.subscribe(reloads);
|
|
223
223
|
yield* Stream.fromSubscription(pendingReloads).pipe(Stream.debounce("100 millis"), Stream.runForEach(() => reload().pipe(Effect.catchCause((cause) => Effect.logError("failed to reload config", { cause })))), Effect.forkScoped({ startImmediately: true }));
|
|
224
|
-
yield* bus.subscribe(
|
|
225
|
-
yield* bus.subscribe(
|
|
224
|
+
yield* bus.subscribe(Event21.Switched).pipe(Stream.filterEffect((event) => wellknown.entries().pipe(Effect.map((entries) => entries.some((entry) => entry.integrationID === event.data.integrationID)), Effect.orElseSucceed(() => false))), Stream.runForEach(() => reload().pipe(Effect.catchCause((cause) => Effect.logError("failed to reload wellknown config", { cause })))), Effect.forkScoped({ startImmediately: true }));
|
|
225
|
+
yield* bus.subscribe(Event11.Updated).pipe(Stream.runForEach(() => reload().pipe(Effect.catchCause((cause) => Effect.logError("failed to reload wellknown sources", { cause })))), Effect.forkScoped({ startImmediately: true }));
|
|
226
226
|
yield* Effect.sleep("10 minutes").pipe(Effect.andThen(Effect.suspend(() => {
|
|
227
227
|
if (!wellknown.snapshot().length)
|
|
228
228
|
return Effect.void;
|
|
@@ -250,7 +250,7 @@ var layer18 = (options) => Layer.effect(Service47, Effect.gen(function* () {
|
|
|
250
250
|
`);
|
|
251
251
|
yield* requestReload;
|
|
252
252
|
}, (effect) => updateLock.withPermit(effect));
|
|
253
|
-
return
|
|
253
|
+
return Service50.of({
|
|
254
254
|
entries: Effect.fnUntraced(function* () {
|
|
255
255
|
return configs;
|
|
256
256
|
}),
|
|
@@ -262,13 +262,13 @@ var layer18 = (options) => Layer.effect(Service47, Effect.gen(function* () {
|
|
|
262
262
|
update
|
|
263
263
|
});
|
|
264
264
|
}));
|
|
265
|
-
function
|
|
265
|
+
function configured7(options) {
|
|
266
266
|
return makeLocationNode({
|
|
267
|
-
service:
|
|
267
|
+
service: Service50,
|
|
268
268
|
layer: layer18(options),
|
|
269
|
-
deps: [
|
|
269
|
+
deps: [node55, node85, FSUtil.node, Global.node, node79, node84, node56]
|
|
270
270
|
});
|
|
271
271
|
}
|
|
272
|
-
var
|
|
272
|
+
var node54 = configured7();
|
|
273
273
|
|
|
274
|
-
export { latest2, Options6,
|
|
274
|
+
export { latest2, Options6, Service50, Test2, testLayer2, layer18, configured7, node54, exports_config };
|