@opencode/core 0.0.0-dev-19277 → 0.0.0-dev-19280
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 +79 -79
- package/dist/aisdk-native.js +2 -2
- package/dist/aisdk.js +6 -6
- package/dist/app.js +9 -9
- package/dist/bus.js +71 -71
- package/dist/catalog.js +83 -83
- package/dist/chunks/{file-mutation-d8w89wm7.js → location-service-map-061af93m.js} +27 -27
- package/dist/chunks/{file-mutation-xx4rmm3g.js → location-service-map-076fdf6x.js} +3 -3
- package/dist/chunks/{file-mutation-8jbc784w.js → location-service-map-0erzq2np.js} +3 -3
- package/dist/chunks/{file-mutation-247w7exe.js → location-service-map-0h6kt2by.js} +9 -9
- package/dist/chunks/{file-mutation-rctxm0qc.js → location-service-map-0j4fym4e.js} +29 -29
- package/dist/chunks/{file-mutation-0paq2nw3.js → location-service-map-0paq2nw3.js} +1 -1
- package/dist/chunks/{file-mutation-0q0f95c6.js → location-service-map-0q0f95c6.js} +1 -1
- package/dist/chunks/{file-mutation-s8bq04yk.js → location-service-map-0r7wabnc.js} +11 -11
- package/dist/chunks/{file-mutation-sp6dvf2v.js → location-service-map-0xbgg0nv.js} +9 -9
- package/dist/chunks/{file-mutation-3xgyx5eq.js → location-service-map-13vmeyva.js} +11 -11
- package/dist/chunks/{file-mutation-zsxc4c9d.js → location-service-map-16qsj906.js} +11 -11
- package/dist/chunks/{file-mutation-8j6q4g8w.js → location-service-map-1crzq34m.js} +26 -26
- package/dist/chunks/{file-mutation-1dazxqgg.js → location-service-map-1dazxqgg.js} +2 -2
- package/dist/chunks/{file-mutation-0hpxrkyb.js → location-service-map-1dfhrqqs.js} +5 -5
- package/dist/chunks/{file-mutation-wz87yraf.js → location-service-map-1g2ww1p9.js} +11 -11
- package/dist/chunks/{file-mutation-p2xftarf.js → location-service-map-1hmee049.js} +72 -72
- package/dist/chunks/{file-mutation-21r38tys.js → location-service-map-21r38tys.js} +1 -1
- package/dist/chunks/{file-mutation-2402vzrj.js → location-service-map-2402vzrj.js} +1 -1
- package/dist/chunks/{file-mutation-5n93a29p.js → location-service-map-24ye1wdt.js} +6 -6
- package/dist/chunks/{file-mutation-2a5m3afh.js → location-service-map-2a5m3afh.js} +1 -1
- package/dist/chunks/{file-mutation-tn6wbc2f.js → location-service-map-2aa0fsm0.js} +33 -33
- package/dist/chunks/{file-mutation-qe9w01wa.js → location-service-map-2end795d.js} +16 -16
- package/dist/chunks/{file-mutation-p72z5xx6.js → location-service-map-2gfgcbzh.js} +2 -2
- package/dist/chunks/{file-mutation-rqkamac7.js → location-service-map-2m9apge2.js} +13 -13
- package/dist/chunks/{file-mutation-njwpmmd3.js → location-service-map-2qwrzt4p.js} +9 -9
- package/dist/chunks/{file-mutation-nkzsta8f.js → location-service-map-2sr0pdaw.js} +32 -32
- package/dist/chunks/{file-mutation-7w3s9kd0.js → location-service-map-2y34zzjz.js} +4 -4
- package/dist/chunks/{file-mutation-8cta7abr.js → location-service-map-30021mhd.js} +27 -27
- package/dist/chunks/{file-mutation-p5needny.js → location-service-map-36vh5heq.js} +27 -27
- package/dist/chunks/{file-mutation-rz0qknjf.js → location-service-map-37v971k2.js} +5 -5
- package/dist/chunks/{file-mutation-tcyfzrxp.js → location-service-map-3aqv7wxc.js} +22 -22
- package/dist/chunks/{file-mutation-7bnzk546.js → location-service-map-3c1tgrea.js} +6 -6
- package/dist/chunks/{file-mutation-3fc6dm20.js → location-service-map-3fc6dm20.js} +1 -1
- package/dist/chunks/{file-mutation-3hepkmqq.js → location-service-map-3hepkmqq.js} +1 -1
- package/dist/chunks/{file-mutation-cts2bt7k.js → location-service-map-3kwjdgrz.js} +17 -17
- package/dist/chunks/{file-mutation-3smtnn6g.js → location-service-map-3smtnn6g.js} +1 -1
- package/dist/chunks/{file-mutation-3tvqynh2.js → location-service-map-3tvqynh2.js} +1 -1
- package/dist/chunks/{file-mutation-60kyphxy.js → location-service-map-41gq8gm7.js} +23 -23
- package/dist/chunks/{file-mutation-jxd5bzpm.js → location-service-map-4796q64q.js} +9 -9
- package/dist/chunks/{file-mutation-hjt4xg1x.js → location-service-map-47gsdddb.js} +7 -7
- package/dist/chunks/{file-mutation-6cmsf6vb.js → location-service-map-4hzyr4ps.js} +10 -10
- package/dist/chunks/{file-mutation-00mqm9kf.js → location-service-map-4rt6grj7.js} +1 -1
- package/dist/chunks/{file-mutation-nf9faws4.js → location-service-map-4tj7k7mp.js} +22 -22
- package/dist/chunks/{file-mutation-0gapa1rm.js → location-service-map-4v4bfvma.js} +5 -5
- package/dist/chunks/{file-mutation-367cq7nk.js → location-service-map-4vgmnd2k.js} +4 -4
- package/dist/chunks/{file-mutation-cnev1v43.js → location-service-map-4x7wp6bv.js} +30 -30
- package/dist/chunks/{file-mutation-p28nmw69.js → location-service-map-4zned0t3.js} +4 -4
- package/dist/chunks/{file-mutation-rsq2zz8k.js → location-service-map-4zpskbgw.js} +20 -20
- package/dist/chunks/{file-mutation-tyjqv9hn.js → location-service-map-54rgpan3.js} +82 -82
- package/dist/chunks/{file-mutation-5c4hm403.js → location-service-map-5c4hm403.js} +3 -3
- package/dist/chunks/{file-mutation-jy4hnskt.js → location-service-map-5c7att9k.js} +19 -19
- package/dist/chunks/{file-mutation-5daktx2q.js → location-service-map-5daktx2q.js} +1 -1
- package/dist/chunks/{file-mutation-2y7rw762.js → location-service-map-5gn61kgv.js} +28 -28
- package/dist/chunks/{file-mutation-qcfsefxz.js → location-service-map-5h8vdksd.js} +5 -5
- package/dist/chunks/{file-mutation-q6btqjeq.js → location-service-map-5jg3sy5t.js} +31 -31
- package/dist/chunks/{file-mutation-7p10x1xf.js → location-service-map-5nh6m5vw.js} +23 -23
- package/dist/chunks/{file-mutation-5t3nmthw.js → location-service-map-5t3nmthw.js} +2 -2
- package/dist/chunks/location-service-map-5tkdef88.js +462 -0
- package/dist/chunks/{file-mutation-pzh16mkn.js → location-service-map-5z63511r.js} +9 -9
- package/dist/chunks/{file-mutation-fabdmt4z.js → location-service-map-61tk1b3w.js} +20 -20
- package/dist/chunks/{file-mutation-669tq793.js → location-service-map-669tq793.js} +1 -1
- package/dist/chunks/{file-mutation-606feepv.js → location-service-map-66fdfd31.js} +13 -13
- package/dist/chunks/{file-mutation-6q1wcpsb.js → location-service-map-67eqsqcw.js} +9 -9
- package/dist/chunks/{file-mutation-veksjtca.js → location-service-map-67rqfjp4.js} +9 -9
- package/dist/chunks/{file-mutation-92gnze2z.js → location-service-map-6cf0kwbj.js} +22 -22
- package/dist/chunks/{file-mutation-4zsgf4s5.js → location-service-map-6cm37j9r.js} +3 -3
- package/dist/chunks/{file-mutation-7xb7fmfe.js → location-service-map-6dxh1ctg.js} +4 -4
- package/dist/chunks/{file-mutation-q1a91n7k.js → location-service-map-6e1ynkjd.js} +4 -4
- package/dist/chunks/{file-mutation-jyyxenps.js → location-service-map-6fgbakp6.js} +48 -48
- package/dist/chunks/{file-mutation-jjs74g98.js → location-service-map-6jnybvqn.js} +9 -9
- package/dist/chunks/{file-mutation-6msgmcgs.js → location-service-map-6msgmcgs.js} +1 -1
- package/dist/chunks/{file-mutation-5gadzevc.js → location-service-map-6rsdt8e9.js} +2 -2
- package/dist/chunks/location-service-map-6z5nery6.js +247 -0
- package/dist/chunks/{file-mutation-71q4at8m.js → location-service-map-71q4at8m.js} +1 -1
- package/dist/chunks/{file-mutation-t8dsf4y4.js → location-service-map-76fg4f71.js} +26 -26
- package/dist/chunks/{file-mutation-j1tv1ftq.js → location-service-map-77gr2wf6.js} +21 -21
- package/dist/chunks/{file-mutation-7bmhse3q.js → location-service-map-7bmhse3q.js} +1 -1
- package/dist/chunks/{file-mutation-fcrkznn8.js → location-service-map-7dqw4kz8.js} +5 -5
- package/dist/chunks/{file-mutation-y29mgp2t.js → location-service-map-7gepjn4b.js} +11 -11
- package/dist/chunks/{file-mutation-zz8a5fkg.js → location-service-map-7qr4d326.js} +39 -39
- package/dist/chunks/{file-mutation-zy5vpaje.js → location-service-map-7v6bx775.js} +6 -6
- package/dist/chunks/{file-mutation-mn56vmxg.js → location-service-map-80t34wb3.js} +11 -11
- package/dist/chunks/{file-mutation-81swgkk7.js → location-service-map-81swgkk7.js} +2 -2
- package/dist/chunks/{file-mutation-1c43r3nd.js → location-service-map-841pgex1.js} +33 -33
- package/dist/chunks/{file-mutation-bb3vk36n.js → location-service-map-8b2cqggs.js} +47 -47
- package/dist/chunks/{file-mutation-xjy62hxy.js → location-service-map-8ce9gjz0.js} +42 -42
- package/dist/chunks/{file-mutation-8d7r5vzw.js → location-service-map-8d7r5vzw.js} +1 -1
- package/dist/chunks/{file-mutation-7y01f8qv.js → location-service-map-8dnnpvxn.js} +25 -25
- package/dist/chunks/{file-mutation-fxp7jvj2.js → location-service-map-8gnjjt4m.js} +17 -17
- package/dist/chunks/{file-mutation-8sghyhzw.js → location-service-map-8sghyhzw.js} +1 -1
- package/dist/chunks/{file-mutation-10thcfkt.js → location-service-map-8v0m4qy5.js} +8 -8
- package/dist/chunks/{file-mutation-eg73htfk.js → location-service-map-8w01z9h0.js} +10 -10
- package/dist/chunks/{file-mutation-72tn9ghv.js → location-service-map-907sgp7f.js} +12 -12
- package/dist/chunks/{file-mutation-mg72ab2k.js → location-service-map-9095qaaa.js} +23 -23
- package/dist/chunks/{file-mutation-3104awdf.js → location-service-map-93cx6esp.js} +11 -11
- package/dist/chunks/{file-mutation-06z9ykg9.js → location-service-map-98wajpgs.js} +2 -2
- package/dist/chunks/{file-mutation-a8rhcpbw.js → location-service-map-9hmzd01s.js} +46 -46
- package/dist/chunks/{file-mutation-8qyd7cwr.js → location-service-map-9x70wdpr.js} +27 -27
- package/dist/chunks/location-service-map-9zdhvgqs.js +18 -0
- package/dist/chunks/location-service-map-a25zw1br.js +22 -0
- package/dist/chunks/{file-mutation-3fz5m4fk.js → location-service-map-a78p0fgv.js} +28 -28
- package/dist/chunks/{file-mutation-g38wjbjk.js → location-service-map-aa78bncg.js} +90 -90
- package/dist/chunks/{file-mutation-q2n4r9w0.js → location-service-map-aabn5n86.js} +6 -6
- package/dist/chunks/{file-mutation-aaet6srn.js → location-service-map-aaet6srn.js} +2 -2
- package/dist/chunks/{file-mutation-qzdhe1zn.js → location-service-map-ae8ff96s.js} +29 -29
- package/dist/chunks/{file-mutation-ptzhgr5h.js → location-service-map-amphtb7h.js} +5 -5
- package/dist/chunks/{file-mutation-dv1qgsyq.js → location-service-map-asmz7wyz.js} +8 -8
- package/dist/chunks/{file-mutation-y3btstjn.js → location-service-map-az24r0qy.js} +41 -41
- package/dist/chunks/{file-mutation-b6gygkdw.js → location-service-map-b6gygkdw.js} +2 -2
- package/dist/chunks/{file-mutation-xb2ts2qy.js → location-service-map-b6pgh42p.js} +11 -11
- package/dist/chunks/{file-mutation-42f597f5.js → location-service-map-b7wf9cse.js} +18 -18
- package/dist/chunks/{file-mutation-n37c4crj.js → location-service-map-b8b3f19r.js} +9 -9
- package/dist/chunks/{file-mutation-ftbctthd.js → location-service-map-bfvgachw.js} +22 -22
- package/dist/chunks/{file-mutation-ehc12fd7.js → location-service-map-bk4s3tx3.js} +60 -60
- package/dist/chunks/{file-mutation-wcwgv12t.js → location-service-map-bwzhs6r2.js} +18 -18
- package/dist/chunks/{file-mutation-tdzs1sts.js → location-service-map-c7g3redb.js} +22 -22
- package/dist/chunks/{file-mutation-3r6p895e.js → location-service-map-capp4e5v.js} +9 -9
- package/dist/chunks/{file-mutation-whxd3enn.js → location-service-map-cy3hhnd8.js} +7 -7
- package/dist/chunks/{file-mutation-hh3rdgg0.js → location-service-map-d0hhfdg4.js} +10 -10
- package/dist/chunks/{file-mutation-af04s6ss.js → location-service-map-d2aac7k2.js} +5 -5
- package/dist/chunks/{file-mutation-dj2t23y0.js → location-service-map-dj2t23y0.js} +2 -2
- package/dist/chunks/{file-mutation-bn9crtcs.js → location-service-map-dm6exe3b.js} +13 -13
- package/dist/chunks/{file-mutation-dpkg50ah.js → location-service-map-dpkg50ah.js} +1 -1
- package/dist/chunks/{file-mutation-35v8zpsc.js → location-service-map-dz2mtk21.js} +10 -10
- package/dist/chunks/{file-mutation-a3nznhzv.js → location-service-map-eaxv9vp3.js} +11 -11
- package/dist/chunks/{file-mutation-r8kbebh4.js → location-service-map-eedqqt57.js} +9 -9
- package/dist/chunks/{file-mutation-5937bz6q.js → location-service-map-ensq9cxs.js} +15 -15
- package/dist/chunks/{file-mutation-f8714f1t.js → location-service-map-er71arxf.js} +12 -12
- package/dist/chunks/{file-mutation-etq0c3wd.js → location-service-map-etq0c3wd.js} +1 -1
- package/dist/chunks/{file-mutation-ezt9sm97.js → location-service-map-f3j7ywnm.js} +6 -6
- package/dist/chunks/{file-mutation-42sfbp1j.js → location-service-map-f4p5cr8k.js} +18 -18
- package/dist/chunks/{file-mutation-dcj77ap2.js → location-service-map-f5h9zjps.js} +1 -1
- package/dist/chunks/{file-mutation-x4nm51dm.js → location-service-map-f64330d9.js} +5 -5
- package/dist/chunks/{file-mutation-2tfmgkzg.js → location-service-map-fab8hzt3.js} +4 -4
- package/dist/chunks/{file-mutation-vvzkhv7j.js → location-service-map-fbddvgjq.js} +7 -7
- package/dist/chunks/{file-mutation-4qwq4s91.js → location-service-map-fjjp0bek.js} +19 -19
- package/dist/chunks/{file-mutation-4066mr2m.js → location-service-map-fnf4x40q.js} +1 -1
- package/dist/chunks/{file-mutation-fxbjtjnd.js → location-service-map-fxbjtjnd.js} +1 -1
- package/dist/chunks/{file-mutation-k2h4r4s0.js → location-service-map-g190xswt.js} +4 -4
- package/dist/chunks/{file-mutation-z1rj0apg.js → location-service-map-g2xbs3ev.js} +4 -4
- package/dist/chunks/{file-mutation-k7d0894y.js → location-service-map-g46phx72.js} +3 -3
- package/dist/chunks/{file-mutation-xgggc9mx.js → location-service-map-gb30xeaa.js} +7 -7
- package/dist/chunks/{file-mutation-06jyfgyp.js → location-service-map-gczbgzva.js} +5 -5
- package/dist/chunks/{file-mutation-gd4qta3r.js → location-service-map-gd4qta3r.js} +1 -1
- package/dist/chunks/{file-mutation-gv6a8nnw.js → location-service-map-gv6a8nnw.js} +2 -2
- package/dist/chunks/{file-mutation-h03wrkyp.js → location-service-map-h03wrkyp.js} +2 -2
- package/dist/chunks/{file-mutation-bpestkwk.js → location-service-map-h4kyb941.js} +15 -15
- package/dist/chunks/{file-mutation-h6vf3j39.js → location-service-map-h6vf3j39.js} +1 -1
- package/dist/chunks/{file-mutation-48dbrct6.js → location-service-map-hbtjffsn.js} +39 -39
- package/dist/chunks/{file-mutation-hdnk95c8.js → location-service-map-hdnk95c8.js} +2 -2
- package/dist/chunks/{file-mutation-kne8f3cn.js → location-service-map-hn57h045.js} +4 -4
- package/dist/chunks/{file-mutation-tjz4jb0t.js → location-service-map-hsg9k7t6.js} +23 -23
- package/dist/chunks/{file-mutation-4xhhjths.js → location-service-map-hvbks3tt.js} +8 -8
- package/dist/chunks/{file-mutation-dw27n1fr.js → location-service-map-hznkg6qn.js} +34 -34
- package/dist/chunks/{file-mutation-7yqjxrmz.js → location-service-map-j15mfg1p.js} +4 -4
- package/dist/chunks/{file-mutation-ex1n32br.js → location-service-map-j28tp19m.js} +32 -32
- package/dist/chunks/{file-mutation-j56e64zr.js → location-service-map-j56e64zr.js} +1 -1
- package/dist/chunks/{file-mutation-np31jw2q.js → location-service-map-jgvckwgj.js} +2 -2
- package/dist/chunks/{file-mutation-wbvqtf6x.js → location-service-map-jmaqwnm5.js} +34 -34
- package/dist/chunks/{file-mutation-8drta6s7.js → location-service-map-jrv1xbev.js} +3 -3
- package/dist/chunks/{file-mutation-60258f1x.js → location-service-map-jv9ns0w3.js} +27 -27
- package/dist/chunks/{file-mutation-hxjrekng.js → location-service-map-jywbac0n.js} +25 -25
- package/dist/chunks/{file-mutation-kg06axw8.js → location-service-map-kg06axw8.js} +1 -1
- package/dist/chunks/{file-mutation-5hk4b2g6.js → location-service-map-kk8h1mek.js} +8 -8
- package/dist/chunks/{file-mutation-0dvs85g7.js → location-service-map-kqa41daq.js} +30 -30
- package/dist/chunks/{file-mutation-2d2egxgf.js → location-service-map-krm5fbzy.js} +7 -7
- package/dist/chunks/{file-mutation-m0jqrx5p.js → location-service-map-m0jqrx5p.js} +2 -2
- package/dist/chunks/{file-mutation-yrrr1c1d.js → location-service-map-m24xnkg2.js} +8 -8
- package/dist/chunks/{file-mutation-m9w0rfyh.js → location-service-map-m9w0rfyh.js} +1 -1
- package/dist/chunks/{file-mutation-mfqp6xfm.js → location-service-map-mfqp6xfm.js} +2 -2
- package/dist/chunks/{file-mutation-mhkvc446.js → location-service-map-mhkvc446.js} +1 -1
- package/dist/chunks/{file-mutation-mkcjrzeh.js → location-service-map-mkcjrzeh.js} +1 -1
- package/dist/chunks/{file-mutation-kw005k4s.js → location-service-map-mm89s5e8.js} +17 -17
- package/dist/chunks/{file-mutation-ext9pkk2.js → location-service-map-ms0zmdaj.js} +20 -20
- package/dist/chunks/{file-mutation-paegk39x.js → location-service-map-msq0jde0.js} +4 -4
- package/dist/chunks/{file-mutation-94akxnqj.js → location-service-map-mwps40g7.js} +28 -28
- package/dist/chunks/{file-mutation-dfjp71nt.js → location-service-map-mzv60zsr.js} +13 -13
- package/dist/chunks/{file-mutation-c3kepfq8.js → location-service-map-n3p3jf1x.js} +1 -1
- package/dist/chunks/{file-mutation-hjqx3p8t.js → location-service-map-n8ja4s63.js} +17 -17
- package/dist/chunks/{file-mutation-dv81esc2.js → location-service-map-n9mdbeqq.js} +25 -25
- package/dist/chunks/{file-mutation-4a9jveby.js → location-service-map-nhez0whe.js} +10 -10
- package/dist/chunks/{file-mutation-qtc2be4y.js → location-service-map-nkq24z0e.js} +28 -28
- package/dist/chunks/{file-mutation-t69nnh3p.js → location-service-map-npntah3r.js} +8 -8
- package/dist/chunks/{file-mutation-8ebjx6fe.js → location-service-map-nqgwmxz9.js} +44 -44
- package/dist/chunks/{file-mutation-9rd8ck05.js → location-service-map-nzdya8zy.js} +21 -21
- package/dist/chunks/{file-mutation-gfqzzqy5.js → location-service-map-p1wf2k30.js} +9 -9
- package/dist/chunks/{file-mutation-w79zsp0s.js → location-service-map-p33ejz0k.js} +1 -1
- package/dist/chunks/{file-mutation-0wyskpwe.js → location-service-map-pdpf3tt7.js} +7 -7
- package/dist/chunks/{file-mutation-pjvnvgmy.js → location-service-map-pjvnvgmy.js} +1 -1
- package/dist/chunks/{file-mutation-pknna89w.js → location-service-map-pknna89w.js} +1 -1
- package/dist/chunks/{file-mutation-9mc8gqcg.js → location-service-map-ps8w6tdx.js} +17 -17
- package/dist/chunks/{file-mutation-hyb8y3ys.js → location-service-map-pzx9vzqb.js} +15 -15
- package/dist/chunks/{file-mutation-8dh3d31y.js → location-service-map-q0dj6ebj.js} +23 -23
- package/dist/chunks/{file-mutation-79r1wrqa.js → location-service-map-q2h0z8ma.js} +1 -1
- package/dist/chunks/{file-mutation-g52xpjny.js → location-service-map-qak59w04.js} +15 -15
- package/dist/chunks/{file-mutation-smky3vmn.js → location-service-map-qej9sj1w.js} +11 -11
- package/dist/chunks/{file-mutation-3az26vt0.js → location-service-map-qgde9kn8.js} +4 -4
- package/dist/chunks/{file-mutation-dmvjy0zd.js → location-service-map-qgxb7vr4.js} +18 -18
- package/dist/chunks/{file-mutation-ke6fm163.js → location-service-map-qjn3382e.js} +11 -11
- package/dist/chunks/{file-mutation-qsdy395h.js → location-service-map-qsdy395h.js} +1 -1
- package/dist/chunks/{file-mutation-vmq7ehpy.js → location-service-map-qte5z7bc.js} +5 -5
- package/dist/chunks/{file-mutation-hrd90x2a.js → location-service-map-rd0bynaw.js} +11 -11
- package/dist/chunks/{file-mutation-eaj1djv9.js → location-service-map-rhjbct0v.js} +8 -8
- package/dist/chunks/{file-mutation-gx7t6n5h.js → location-service-map-rsxg3zg0.js} +6 -6
- package/dist/chunks/{file-mutation-a2ew8a62.js → location-service-map-ryr25ayn.js} +4 -4
- package/dist/chunks/{file-mutation-cjsb4aez.js → location-service-map-s534qmrw.js} +4 -4
- package/dist/chunks/{file-mutation-1gxa8pvp.js → location-service-map-s8ab6230.js} +9 -9
- package/dist/chunks/{file-mutation-xckwjtqa.js → location-service-map-s9ysmem1.js} +5 -5
- package/dist/chunks/{file-mutation-3atm5pec.js → location-service-map-saaf3fxb.js} +8 -8
- package/dist/chunks/{file-mutation-2gz38ge4.js → location-service-map-sn6jpf3k.js} +26 -26
- package/dist/chunks/{file-mutation-0zraj51v.js → location-service-map-t0ba7kpe.js} +15 -15
- package/dist/chunks/{file-mutation-vhyew4fq.js → location-service-map-t0v1gnpj.js} +13 -13
- package/dist/chunks/{file-mutation-zfq492nr.js → location-service-map-t29szwpj.js} +15 -15
- package/dist/chunks/{file-mutation-tazgh4e4.js → location-service-map-tazgh4e4.js} +1 -1
- package/dist/chunks/{file-mutation-y6gtn0j7.js → location-service-map-tbxt9n2a.js} +8 -8
- package/dist/chunks/{file-mutation-a3x7agn0.js → location-service-map-tc59d7j5.js} +12 -12
- package/dist/chunks/{file-mutation-tcezcvh9.js → location-service-map-tcezcvh9.js} +1 -1
- package/dist/chunks/{file-mutation-tdstcens.js → location-service-map-tdstcens.js} +1 -1
- package/dist/chunks/{file-mutation-16c289jz.js → location-service-map-tfrhnqth.js} +11 -11
- package/dist/chunks/{file-mutation-7h5kkf6d.js → location-service-map-tftr6m9x.js} +6 -6
- package/dist/chunks/{file-mutation-tdz9b6vr.js → location-service-map-tfwap27p.js} +10 -10
- package/dist/chunks/{file-mutation-6sv6dpsj.js → location-service-map-tmjae0pq.js} +20 -20
- package/dist/chunks/{file-mutation-tn0aqsam.js → location-service-map-tn0aqsam.js} +2 -2
- package/dist/chunks/{file-mutation-r907z5k8.js → location-service-map-tnkz2q47.js} +1 -1
- package/dist/chunks/{file-mutation-n3ehebhz.js → location-service-map-tpsh7nep.js} +12 -12
- package/dist/chunks/{file-mutation-tvtrv512.js → location-service-map-tvtrv512.js} +1 -1
- package/dist/chunks/{file-mutation-39d2pp1w.js → location-service-map-v7w426qw.js} +27 -27
- package/dist/chunks/{file-mutation-veqvce7d.js → location-service-map-veqvce7d.js} +1 -1
- package/dist/chunks/{file-mutation-dpkj867d.js → location-service-map-vjq8w0ct.js} +24 -24
- package/dist/chunks/{file-mutation-r98e92ep.js → location-service-map-vncycja5.js} +4 -4
- package/dist/chunks/{file-mutation-mejqjgjf.js → location-service-map-vnhrgrcz.js} +41 -41
- package/dist/chunks/{file-mutation-dmkr9q0x.js → location-service-map-vpytprf9.js} +41 -41
- package/dist/chunks/{file-mutation-spm6zjyx.js → location-service-map-vqmx0vgv.js} +15 -15
- package/dist/chunks/{file-mutation-vzcthcp8.js → location-service-map-vzcthcp8.js} +1 -1
- package/dist/chunks/{file-mutation-w3wsvvr9.js → location-service-map-w3wsvvr9.js} +1 -1
- package/dist/chunks/{file-mutation-da1r5k86.js → location-service-map-w74r38yk.js} +9 -9
- package/dist/chunks/{file-mutation-8ghb20vc.js → location-service-map-w9f4sbje.js} +30 -30
- package/dist/chunks/{file-mutation-2g1m3br9.js → location-service-map-wb3jcy3h.js} +4 -4
- package/dist/chunks/{file-mutation-wd87259q.js → location-service-map-wd87259q.js} +1 -1
- package/dist/chunks/{file-mutation-2xjj231b.js → location-service-map-wygcwagr.js} +6 -6
- package/dist/chunks/{file-mutation-x1ezjp6w.js → location-service-map-x1ezjp6w.js} +1 -1
- package/dist/chunks/{file-mutation-kmv022h3.js → location-service-map-x3d13zqf.js} +1 -1
- package/dist/chunks/{file-mutation-x43y2vfs.js → location-service-map-x43y2vfs.js} +2 -2
- package/dist/chunks/{file-mutation-p39afa95.js → location-service-map-xkwrsmqc.js} +8 -8
- package/dist/chunks/{file-mutation-s2jbkb1q.js → location-service-map-xmmda1hq.js} +5 -5
- package/dist/chunks/{file-mutation-9jpw5dy7.js → location-service-map-xnfkgz8z.js} +16 -16
- package/dist/chunks/{file-mutation-7yae232w.js → location-service-map-xqyszs4f.js} +15 -15
- package/dist/chunks/{file-mutation-6bjqtyfe.js → location-service-map-xrgnr4vw.js} +11 -11
- package/dist/chunks/{file-mutation-pb9tbqa1.js → location-service-map-xrywhj35.js} +32 -32
- package/dist/chunks/{file-mutation-3g8y8pv7.js → location-service-map-xtgp4803.js} +159 -159
- package/dist/chunks/{file-mutation-vbqfnkw5.js → location-service-map-xtjyn408.js} +11 -11
- package/dist/chunks/{file-mutation-836726zz.js → location-service-map-xvx8vm3y.js} +39 -39
- package/dist/chunks/{file-mutation-qcavarx3.js → location-service-map-xxs862kg.js} +12 -12
- package/dist/chunks/{file-mutation-2f04pwep.js → location-service-map-xxynqx5z.js} +3 -3
- package/dist/chunks/{file-mutation-5jrddqs7.js → location-service-map-y0zvy8xh.js} +26 -26
- package/dist/chunks/{file-mutation-m6yajhq8.js → location-service-map-y0zx1wb0.js} +13 -13
- package/dist/chunks/{file-mutation-y1fvbwt7.js → location-service-map-y1fvbwt7.js} +1 -1
- package/dist/chunks/{file-mutation-wnmx9wgd.js → location-service-map-y2fvzcwf.js} +14 -14
- package/dist/chunks/{file-mutation-z7xj2rat.js → location-service-map-y64575h1.js} +3 -3
- package/dist/chunks/{file-mutation-s28tf7nw.js → location-service-map-y7w5tfeq.js} +10 -10
- package/dist/chunks/{file-mutation-pazvw4y1.js → location-service-map-y8nnf61w.js} +10 -10
- package/dist/chunks/{file-mutation-hmdpr2b6.js → location-service-map-yap3mhkf.js} +17 -17
- package/dist/chunks/{file-mutation-1acjjqhc.js → location-service-map-yp2x3t23.js} +4 -4
- package/dist/chunks/{file-mutation-yrhqyw5v.js → location-service-map-yrhqyw5v.js} +1 -1
- package/dist/chunks/{file-mutation-yrznvahk.js → location-service-map-yrznvahk.js} +2 -2
- package/dist/chunks/{file-mutation-axp4ehpq.js → location-service-map-yxc59d7f.js} +6 -6
- package/dist/chunks/{file-mutation-51p8cq1d.js → location-service-map-z00wvf46.js} +5 -5
- package/dist/chunks/{file-mutation-0rkmensh.js → location-service-map-z0adqxrv.js} +24 -24
- package/dist/chunks/{file-mutation-z0bkrqjs.js → location-service-map-z0bkrqjs.js} +1 -1
- package/dist/chunks/{file-mutation-z63w68vq.js → location-service-map-z63w68vq.js} +2 -2
- package/dist/chunks/{file-mutation-zeh9ct20.js → location-service-map-zeh9ct20.js} +2 -2
- package/dist/chunks/{file-mutation-nkz4n0yd.js → location-service-map-zejb1v11.js} +14 -14
- package/dist/chunks/{file-mutation-25j8zc8k.js → location-service-map-zhz9x1ck.js} +10 -10
- package/dist/chunks/{file-mutation-s0hza5ac.js → location-service-map-zj09a0ew.js} +4 -4
- package/dist/chunks/{file-mutation-qvpva3ng.js → location-service-map-zj96yyh5.js} +33 -33
- package/dist/chunks/{file-mutation-a1pyxhvt.js → location-service-map-znpwehhw.js} +8 -8
- package/dist/chunks/{file-mutation-zr2ceqn5.js → location-service-map-zr2ceqn5.js} +1 -1
- package/dist/chunks/{file-mutation-zxq2ej10.js → location-service-map-zxq2ej10.js} +1 -1
- package/dist/chunks/{file-mutation-5br4wbzw.js → location-service-map-zzx7yemb.js} +26 -26
- package/dist/codemode/catalog.js +1 -1
- package/dist/codemode/instructions.js +9 -9
- package/dist/codemode/tool.js +2 -2
- package/dist/command.js +81 -81
- package/dist/config/discovery.js +77 -77
- package/dist/config/markdown.js +1 -1
- package/dist/config/normalize.js +19 -19
- package/dist/config/plugin/agent.js +115 -115
- package/dist/config/plugin/command.js +207 -207
- package/dist/config/plugin/compaction.js +155 -155
- package/dist/config/plugin/entry-observer.js +1 -1
- package/dist/config/plugin/formatter.js +117 -117
- package/dist/config/plugin/image.js +115 -115
- package/dist/config/plugin/instruction.js +85 -85
- package/dist/config/plugin/location-watcher.js +115 -115
- package/dist/config/plugin/mcp.js +124 -124
- package/dist/config/plugin/policy.js +114 -114
- package/dist/config/plugin/provider.js +113 -113
- package/dist/config/plugin/reference.js +117 -117
- package/dist/config/plugin/shell.js +116 -116
- package/dist/config/plugin/skill-file.js +97 -97
- package/dist/config/plugin/skill.js +134 -134
- package/dist/config/plugin/snapshot.js +115 -115
- package/dist/config/plugin/source.js +117 -117
- package/dist/config/plugin/tool-output.js +117 -117
- package/dist/config/plugin/websearch.js +113 -113
- package/dist/config/plugin/worktree.js +118 -118
- package/dist/config/variable.js +3 -3
- package/dist/config/watch.js +1 -1
- package/dist/config.js +119 -119
- package/dist/credential/sql.js +2 -2
- package/dist/credential.js +81 -81
- package/dist/database/database.js +68 -68
- package/dist/database/drizzle/effect-sqlite/driver.js +12 -12
- package/dist/database/drizzle/effect-sqlite/index.js +12 -12
- package/dist/database/drizzle/effect-sqlite/session.js +11 -11
- package/dist/database/drizzle/index.js +13 -13
- package/dist/database/drizzle/internal/drizzle-utils.js +1 -1
- package/dist/database/drizzle/sqlite-core/effect/count.js +1 -1
- package/dist/database/drizzle/sqlite-core/effect/db.js +9 -9
- package/dist/database/drizzle/sqlite-core/effect/delete.js +2 -2
- package/dist/database/drizzle/sqlite-core/effect/index.js +10 -10
- package/dist/database/drizzle/sqlite-core/effect/insert.js +2 -2
- package/dist/database/drizzle/sqlite-core/effect/query.js +1 -1
- package/dist/database/drizzle/sqlite-core/effect/raw.js +1 -1
- package/dist/database/drizzle/sqlite-core/effect/select.js +2 -2
- package/dist/database/drizzle/sqlite-core/effect/session.js +10 -10
- package/dist/database/drizzle/sqlite-core/effect/update.js +2 -2
- package/dist/database/drizzle.js +14 -14
- package/dist/database/migration/20260127222353_familiar_lady_ursula.js +1 -1
- package/dist/database/migration/20260211171708_add_project_commands.js +1 -1
- package/dist/database/migration/20260213144116_wakeful_the_professor.js +1 -1
- package/dist/database/migration/20260225215848_workspace.js +1 -1
- package/dist/database/migration/20260227213759_add_session_workspace_id.js +1 -1
- package/dist/database/migration/20260228203230_blue_harpoon.js +1 -1
- package/dist/database/migration/20260303231226_add_workspace_fields.js +1 -1
- package/dist/database/migration/20260309230000_move_org_to_state.js +1 -1
- package/dist/database/migration/20260312043431_session_message_cursor.js +1 -1
- package/dist/database/migration/20260323234822_events.js +1 -1
- package/dist/database/migration/20260410174513_workspace-name.js +1 -1
- package/dist/database/migration/20260413175956_chief_energizer.js +1 -1
- package/dist/database/migration/20260423070820_add_icon_url_override.js +1 -1
- package/dist/database/migration/20260427172553_slow_nightmare.js +1 -1
- package/dist/database/migration/20260428004200_add_session_path.js +1 -1
- package/dist/database/migration/20260501142318_next_venus.js +1 -1
- package/dist/database/migration/20260504145000_add_sync_owner.js +1 -1
- package/dist/database/migration/20260507164347_add_workspace_time.js +1 -1
- package/dist/database/migration/20260510033149_session_usage.js +1 -1
- package/dist/database/migration/20260511000411_data_migration_state.js +1 -1
- package/dist/database/migration/20260511173437_session-metadata.js +1 -1
- package/dist/database/migration/20260601010001_normalize_storage_paths.js +1 -1
- package/dist/database/migration/20260601202201_amazing_prowler.js +1 -1
- package/dist/database/migration/20260602002951_lowly_union_jack.js +1 -1
- package/dist/database/migration/20260602182828_add_project_directories.js +1 -1
- package/dist/database/migration/20260603001617_session_message_projection_indexes.js +1 -1
- package/dist/database/migration/20260603040000_session_message_projection_order.js +1 -1
- package/dist/database/migration/20260603141458_session_input_inbox.js +1 -1
- package/dist/database/migration/20260603160727_jittery_ezekiel_stane.js +1 -1
- package/dist/database/migration/20260604172448_event_sourced_session_input.js +1 -1
- package/dist/database/migration/20260605003541_add_session_context_snapshot.js +1 -1
- package/dist/database/migration/20260605042240_add_context_epoch_agent.js +1 -1
- package/dist/database/migration/20260611035744_credential.js +1 -1
- package/dist/database/migration/20260611192811_lush_chimera.js +1 -1
- package/dist/database/migration/20260612174303_project_dir_strategy.js +1 -1
- package/dist/database/migration/20260622142730_simplify_session_context_epoch.js +1 -1
- package/dist/database/migration/20260622170816_reset_v2_session_state.js +1 -1
- package/dist/database/migration/20260622202450_simplify_session_input.js +1 -1
- package/dist/database/migration/20260804233008_loose_psylocke.js +1 -1
- package/dist/database/migration/20260805200742_import_legacy_credentials.js +1 -1
- package/dist/database/migration/20260808023530_workspace_domain.js +1 -1
- package/dist/database/migration/20260811161259_execution_claim_attempts.js +1 -1
- package/dist/database/migration/20260812181746_session_inbox.js +1 -1
- package/dist/database/migration/20260812213948_worktree.js +1 -1
- package/dist/database/migration/20260819222447_session_viewed_state.js +1 -1
- package/dist/database/migration/20260823191254_nullable_workspace_binding.js +1 -1
- package/dist/database/migration.gen.js +47 -47
- package/dist/database/migration.js +49 -49
- 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 +361 -361
- package/dist/effect/app-node-platform.js +2 -2
- package/dist/effect/keyed-mutex.js +1 -1
- package/dist/effect/websocket-constructor.js +1 -1
- package/dist/environment/driver.js +1 -1
- package/dist/environment/environment.js +84 -84
- package/dist/environment/exec-defaults.js +2 -2
- package/dist/environment/files.js +1 -1
- package/dist/environment/index.js +86 -86
- 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 +72 -72
- package/dist/file-access.js +99 -99
- package/dist/file-mutation.js +89 -89
- package/dist/file-retention.js +1 -1
- package/dist/file.js +1 -1
- package/dist/filesystem/fff.bun.js +2 -2
- package/dist/filesystem/fff.js +1 -1
- package/dist/filesystem/fff.node.js +2 -2
- package/dist/filesystem/fff.workerd.js +2 -2
- package/dist/filesystem/ignore.js +1 -1
- package/dist/filesystem/location-watcher-policy.js +6 -6
- package/dist/filesystem/location-watcher.js +220 -220
- package/dist/filesystem/protected.js +1 -1
- package/dist/filesystem/search.js +95 -95
- package/dist/filesystem/watcher-binding.js +1 -1
- package/dist/filesystem/watcher.js +15 -15
- package/dist/filesystem.js +92 -92
- package/dist/form.js +82 -82
- package/dist/formatter/builtins.js +2 -2
- package/dist/formatter.js +82 -82
- package/dist/generate.js +83 -83
- package/dist/git.js +7 -7
- 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 +3 -3
- package/dist/github-copilot/openai-compatible-error.js +1 -1
- package/dist/github-copilot/responses/convert-to-openai-responses-input.js +1 -1
- package/dist/github-copilot/responses/map-openai-responses-finish-reason.js +1 -1
- package/dist/github-copilot/responses/openai-error.js +1 -1
- package/dist/github-copilot/responses/openai-responses-language-model.js +10 -10
- package/dist/github-copilot/responses/openai-responses-prepare-tools.js +6 -6
- package/dist/github-copilot/responses/tool/code-interpreter.js +1 -1
- package/dist/github-copilot/responses/tool/file-search.js +1 -1
- package/dist/github-copilot/responses/tool/image-generation.js +1 -1
- package/dist/github-copilot/responses/tool/web-search-preview.js +1 -1
- package/dist/github-copilot/responses/tool/web-search.js +1 -1
- package/dist/id/id.js +1 -1
- package/dist/image/photon.js +2 -2
- package/dist/image.js +6 -6
- package/dist/instance/service.js +5 -5
- package/dist/instance.js +352 -352
- package/dist/instruction-discovery.js +83 -83
- package/dist/instructions/builtins.js +82 -82
- package/dist/instructions/index.js +5 -5
- package/dist/integration/connection.js +1 -1
- package/dist/integration.js +84 -84
- package/dist/job.js +77 -77
- package/dist/kv/sql.js +2 -2
- package/dist/kv.js +71 -71
- package/dist/location-activity.js +131 -131
- package/dist/location-mutation.js +99 -99
- package/dist/location-service-map.js +81 -81
- package/dist/location-services.js +349 -349
- package/dist/location.js +84 -84
- package/dist/mcp/client.js +86 -86
- package/dist/mcp/index.js +103 -103
- package/dist/mcp/instructions.js +120 -120
- package/dist/mcp/oauth.js +3 -3
- package/dist/mcp/stdio.js +85 -85
- package/dist/mime.js +1 -1
- package/dist/modal/models.js +3 -3
- package/dist/model-resolver.js +86 -86
- package/dist/model.js +8 -8
- package/dist/models-dev.js +84 -84
- package/dist/oauth/page.js +1 -1
- package/dist/permission/saved.js +78 -78
- package/dist/permission/sql.js +5 -5
- package/dist/permission.js +106 -106
- package/dist/persistent-pty/binary.bun.js +1 -1
- package/dist/persistent-pty/daemon.js +1 -1
- package/dist/persistent-pty/index.js +84 -84
- package/dist/persistent-pty/pty-binding.js +1 -1
- package/dist/persistent-pty.js +73 -73
- package/dist/plugin/agent.js +97 -97
- package/dist/plugin/command.js +94 -94
- package/dist/plugin/hooks.js +1 -1
- package/dist/plugin/host.js +213 -213
- package/dist/plugin/instance.js +5 -5
- package/dist/plugin/internal.js +323 -323
- package/dist/plugin/mcp-codemode-exclusion.js +3 -3
- package/dist/plugin/models-dev.js +75 -75
- package/dist/plugin/module.js +7 -7
- package/dist/plugin/optimize.js +2 -2
- package/dist/plugin/plan.js +97 -97
- package/dist/plugin/promise.js +1 -1
- package/dist/plugin/provider/alibaba.js +2 -2
- package/dist/plugin/provider/amazon-bedrock.js +2 -2
- package/dist/plugin/provider/anthropic.js +2 -2
- package/dist/plugin/provider/azure.js +118 -118
- package/dist/plugin/provider/cerebras.js +2 -2
- package/dist/plugin/provider/cloudflare-ai-gateway.js +117 -117
- package/dist/plugin/provider/cloudflare-workers-ai.js +117 -117
- package/dist/plugin/provider/cohere.js +2 -2
- package/dist/plugin/provider/configured.js +114 -114
- package/dist/plugin/provider/digitalocean.js +79 -79
- package/dist/plugin/provider/dynamic.js +2 -2
- package/dist/plugin/provider/factory.js +1 -1
- package/dist/plugin/provider/gateway.js +2 -2
- package/dist/plugin/provider/github-copilot.js +80 -80
- package/dist/plugin/provider/gitlab.js +3 -3
- package/dist/plugin/provider/google-vertex.js +2 -2
- package/dist/plugin/provider/kilo.js +2 -2
- package/dist/plugin/provider/llmgateway.js +76 -76
- package/dist/plugin/provider/lmstudio.js +117 -117
- package/dist/plugin/provider/mistral.js +2 -2
- package/dist/plugin/provider/modal.js +79 -79
- package/dist/plugin/provider/nvidia.js +2 -2
- package/dist/plugin/provider/ollama.js +117 -117
- package/dist/plugin/provider/openai-compatible.js +1 -1
- package/dist/plugin/provider/openai.js +78 -78
- package/dist/plugin/provider/opencode.js +76 -76
- package/dist/plugin/provider/openrouter.js +3 -3
- package/dist/plugin/provider/perplexity.js +2 -2
- package/dist/plugin/provider/sap-ai-core.js +3 -3
- package/dist/plugin/provider/sdk-factory.js +1 -1
- package/dist/plugin/provider/snowflake-cortex.js +2 -2
- package/dist/plugin/provider/venice.js +2 -2
- package/dist/plugin/provider/vercel.js +2 -2
- package/dist/plugin/provider/vllm.js +117 -117
- package/dist/plugin/provider/xai.js +77 -77
- package/dist/plugin/provider/zenmux.js +2 -2
- package/dist/plugin/provider.js +156 -156
- package/dist/plugin/sdk.js +72 -72
- package/dist/plugin/service.js +3 -3
- package/dist/plugin/skill.js +131 -131
- package/dist/plugin/source-directory.js +1 -1
- package/dist/plugin/supervisor.js +342 -342
- package/dist/plugin/update.js +6 -6
- package/dist/plugin/variant.js +4 -4
- package/dist/plugin/vcs/git.js +82 -82
- package/dist/plugin/vcs/hg.js +82 -82
- package/dist/plugin/warming.js +112 -112
- package/dist/plugin/websearch/exa.js +7 -7
- package/dist/plugin/websearch/firecrawl.js +6 -6
- package/dist/plugin/websearch/index.js +8 -8
- package/dist/plugin/websearch/mcp.js +2 -2
- package/dist/plugin/websearch/parallel.js +8 -8
- package/dist/plugin/websearch/tavily.js +4 -4
- package/dist/plugin.js +218 -218
- package/dist/project/schema.js +2 -2
- package/dist/project/sql.js +4 -4
- package/dist/project.js +79 -79
- package/dist/provider.js +7 -7
- package/dist/pty/protocol.js +1 -1
- package/dist/pty/schema.js +1 -1
- package/dist/pty/ticket.js +1 -1
- package/dist/pty.js +88 -88
- package/dist/reference/instructions.js +84 -84
- package/dist/reference.js +86 -86
- package/dist/repository-cache.js +76 -76
- package/dist/repository.js +1 -1
- package/dist/ripgrep/binary.js +2 -2
- package/dist/ripgrep.js +91 -91
- package/dist/rpc.js +81 -81
- package/dist/schema.js +1 -1
- package/dist/session/command.js +72 -72
- package/dist/session/compaction.js +127 -127
- package/dist/session/context.js +147 -147
- package/dist/session/environment.js +5 -5
- package/dist/session/error.js +3 -3
- package/dist/session/event.js +1 -1
- package/dist/session/execution/restart.js +219 -219
- package/dist/session/execution.js +122 -122
- package/dist/session/generate.js +146 -146
- package/dist/session/history.js +13 -13
- package/dist/session/inbox.js +86 -86
- package/dist/session/info.js +3 -3
- package/dist/session/instruction-entry.js +75 -75
- package/dist/session/instruction-state.js +8 -8
- package/dist/session/instructions.js +88 -88
- package/dist/session/message-updater.js +4 -4
- package/dist/session/message.js +1 -1
- package/dist/session/model-request.js +111 -111
- package/dist/session/model-transport.js +7 -7
- package/dist/session/move.js +126 -126
- package/dist/session/projector.js +84 -84
- package/dist/session/prompt.js +100 -100
- package/dist/session/provider-context.js +3 -3
- package/dist/session/revert.js +85 -85
- 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 +86 -86
- package/dist/session/runner/publish-llm-event.js +3 -3
- package/dist/session/runner/retry.js +110 -110
- package/dist/session/runner/step.js +121 -121
- package/dist/session/runner/to-llm-message.js +2 -2
- package/dist/session/schema.js +5 -5
- package/dist/session/session.js +167 -167
- package/dist/session/shell.js +131 -131
- package/dist/session/skill.js +98 -98
- package/dist/session/sql.js +5 -5
- package/dist/session/stats.js +73 -73
- package/dist/session/store.js +83 -83
- package/dist/session/subagent-completion.js +1 -1
- package/dist/session/subagent-job.js +203 -203
- package/dist/session/system-prompt.js +5 -5
- package/dist/session/title.js +151 -151
- package/dist/session/to-session-error.js +107 -107
- package/dist/session/transfer.js +218 -218
- package/dist/session/usage.js +1 -1
- package/dist/session.js +209 -209
- 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 +11 -11
- package/dist/shell.js +131 -131
- package/dist/skill/discovery.js +6 -6
- package/dist/skill/instructions.js +102 -102
- package/dist/skill.js +105 -105
- package/dist/snapshot.js +86 -86
- 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 +119 -119
- package/dist/tool/plugin/edit.js +115 -115
- package/dist/tool/plugin/file-diff.js +1 -1
- package/dist/tool/plugin/glob.js +120 -120
- package/dist/tool/plugin/grep.js +118 -118
- package/dist/tool/plugin/opencode.js +3 -3
- package/dist/tool/plugin/patch.js +117 -117
- package/dist/tool/plugin/question.js +98 -98
- package/dist/tool/plugin/read.js +121 -121
- package/dist/tool/plugin/shell.js +210 -210
- package/dist/tool/plugin/skill.js +96 -96
- package/dist/tool/plugin/subagent.js +214 -214
- package/dist/tool/plugin/webfetch.js +105 -105
- package/dist/tool/plugin/websearch.js +107 -107
- package/dist/tool/plugin/write.js +115 -115
- package/dist/tool/read-filesystem.js +92 -92
- package/dist/tool/runtime.js +1 -1
- package/dist/tool-output.js +8 -8
- package/dist/tool.js +13 -13
- package/dist/util/error-summary.js +1 -1
- package/dist/util/error.js +1 -1
- package/dist/util/iife.js +1 -1
- package/dist/util/lazy.js +1 -1
- package/dist/util/slug.js +1 -1
- package/dist/util/token.js +1 -1
- package/dist/util/which.js +1 -1
- package/dist/util/wildcard.js +1 -1
- package/dist/v1/config/agent.js +5 -5
- package/dist/v1/config/attachment.js +2 -2
- package/dist/v1/config/command.js +3 -3
- package/dist/v1/config/config.js +16 -16
- package/dist/v1/config/error.js +2 -2
- package/dist/v1/config/formatter.js +3 -3
- package/dist/v1/config/layout.js +1 -1
- package/dist/v1/config/lsp.js +3 -3
- package/dist/v1/config/mcp.js +4 -4
- package/dist/v1/config/migrate.js +4 -4
- package/dist/v1/config/permission.js +3 -3
- package/dist/v1/config/plugin.js +3 -3
- package/dist/v1/config/provider-options.js +1 -1
- package/dist/v1/config/provider.js +4 -4
- package/dist/v1/config/server.js +2 -2
- package/dist/v1/config/skills.js +3 -3
- package/dist/v1/permission.js +1 -1
- package/dist/vcs/patch.js +1 -1
- package/dist/vcs.js +85 -85
- package/dist/websearch.js +82 -82
- package/dist/wellknown/plugin.js +72 -72
- package/dist/wellknown.js +77 -77
- package/dist/workspace/driver.js +5 -5
- package/dist/workspace/sql.js +1 -1
- package/dist/workspace.js +70 -70
- package/dist/worktree/directory.js +2 -2
- package/dist/worktree/git.js +5 -5
- package/dist/worktree/refresh.js +341 -341
- package/dist/worktree/sql.js +5 -5
- package/dist/worktree.js +83 -83
- package/package.json +8 -8
- package/dist/chunks/file-mutation-222skj7k.js +0 -22
- package/dist/chunks/file-mutation-8133rf48.js +0 -462
- package/dist/chunks/file-mutation-9sh4wc5j.js +0 -18
- package/dist/chunks/file-mutation-b48n75y5.js +0 -247
- /package/dist/chunks/{file-mutation-0mesazry.js → location-service-map-0mesazry.js} +0 -0
- /package/dist/chunks/{file-mutation-0qkdqm5v.js → location-service-map-0qkdqm5v.js} +0 -0
- /package/dist/chunks/{file-mutation-0zkw76rk.js → location-service-map-0zkw76rk.js} +0 -0
- /package/dist/chunks/{file-mutation-17cy0kzp.js → location-service-map-17cy0kzp.js} +0 -0
- /package/dist/chunks/{file-mutation-1cnp2v09.js → location-service-map-1cnp2v09.js} +0 -0
- /package/dist/chunks/{file-mutation-1kg9ymc8.js → location-service-map-1kg9ymc8.js} +0 -0
- /package/dist/chunks/{file-mutation-2710q6r3.js → location-service-map-2710q6r3.js} +0 -0
- /package/dist/chunks/{file-mutation-2axfhc9x.js → location-service-map-2axfhc9x.js} +0 -0
- /package/dist/chunks/{file-mutation-2c3vjs8z.js → location-service-map-2c3vjs8z.js} +0 -0
- /package/dist/chunks/{file-mutation-359p4xyc.js → location-service-map-359p4xyc.js} +0 -0
- /package/dist/chunks/{file-mutation-3asan66x.js → location-service-map-3asan66x.js} +0 -0
- /package/dist/chunks/{file-mutation-3v8g72cx.js → location-service-map-3v8g72cx.js} +0 -0
- /package/dist/chunks/{file-mutation-3w5fmr99.js → location-service-map-3w5fmr99.js} +0 -0
- /package/dist/chunks/{file-mutation-3wcehsnq.js → location-service-map-3wcehsnq.js} +0 -0
- /package/dist/chunks/{file-mutation-43n2bw4t.js → location-service-map-43n2bw4t.js} +0 -0
- /package/dist/chunks/{file-mutation-4knz6hnm.js → location-service-map-4knz6hnm.js} +0 -0
- /package/dist/chunks/{file-mutation-4y7fprxs.js → location-service-map-4y7fprxs.js} +0 -0
- /package/dist/chunks/{file-mutation-53557ph1.js → location-service-map-53557ph1.js} +0 -0
- /package/dist/chunks/{file-mutation-550bvhaj.js → location-service-map-550bvhaj.js} +0 -0
- /package/dist/chunks/{file-mutation-6prwharc.js → location-service-map-6prwharc.js} +0 -0
- /package/dist/chunks/{file-mutation-7akdwqpd.js → location-service-map-7akdwqpd.js} +0 -0
- /package/dist/chunks/{file-mutation-7m9af43g.js → location-service-map-7m9af43g.js} +0 -0
- /package/dist/chunks/{file-mutation-822emrt2.js → location-service-map-822emrt2.js} +0 -0
- /package/dist/chunks/{file-mutation-88xbtdfr.js → location-service-map-88xbtdfr.js} +0 -0
- /package/dist/chunks/{file-mutation-8n3pysct.js → location-service-map-8n3pysct.js} +0 -0
- /package/dist/chunks/{file-mutation-922hggd3.js → location-service-map-922hggd3.js} +0 -0
- /package/dist/chunks/{file-mutation-9a4afbnw.js → location-service-map-9a4afbnw.js} +0 -0
- /package/dist/chunks/{file-mutation-9rqn6x4v.js → location-service-map-9rqn6x4v.js} +0 -0
- /package/dist/chunks/{file-mutation-a1tpkmh4.js → location-service-map-a1tpkmh4.js} +0 -0
- /package/dist/chunks/{file-mutation-a6k6eb26.js → location-service-map-a6k6eb26.js} +0 -0
- /package/dist/chunks/{file-mutation-af5trqkr.js → location-service-map-af5trqkr.js} +0 -0
- /package/dist/chunks/{file-mutation-afrmfg78.js → location-service-map-afrmfg78.js} +0 -0
- /package/dist/chunks/{file-mutation-aqzs7mqg.js → location-service-map-aqzs7mqg.js} +0 -0
- /package/dist/chunks/{file-mutation-atq7p7m5.js → location-service-map-atq7p7m5.js} +0 -0
- /package/dist/chunks/{file-mutation-bkyjaxrp.js → location-service-map-bkyjaxrp.js} +0 -0
- /package/dist/chunks/{file-mutation-bmr6ed5q.js → location-service-map-bmr6ed5q.js} +0 -0
- /package/dist/chunks/{file-mutation-cf4snx6d.js → location-service-map-cf4snx6d.js} +0 -0
- /package/dist/chunks/{file-mutation-cvy3z8tj.js → location-service-map-cvy3z8tj.js} +0 -0
- /package/dist/chunks/{file-mutation-d9fn303g.js → location-service-map-d9fn303g.js} +0 -0
- /package/dist/chunks/{file-mutation-d9jj8t3e.js → location-service-map-d9jj8t3e.js} +0 -0
- /package/dist/chunks/{file-mutation-dajrwvna.js → location-service-map-dajrwvna.js} +0 -0
- /package/dist/chunks/{file-mutation-dap0rakb.js → location-service-map-dap0rakb.js} +0 -0
- /package/dist/chunks/{file-mutation-df08tz66.js → location-service-map-df08tz66.js} +0 -0
- /package/dist/chunks/{file-mutation-dy18nga0.js → location-service-map-dy18nga0.js} +0 -0
- /package/dist/chunks/{file-mutation-e5kj55wp.js → location-service-map-e5kj55wp.js} +0 -0
- /package/dist/chunks/{file-mutation-e73j6tqm.js → location-service-map-e73j6tqm.js} +0 -0
- /package/dist/chunks/{file-mutation-ec1grn59.js → location-service-map-ec1grn59.js} +0 -0
- /package/dist/chunks/{file-mutation-eh3zwz77.js → location-service-map-eh3zwz77.js} +0 -0
- /package/dist/chunks/{file-mutation-emrn6kk6.js → location-service-map-emrn6kk6.js} +0 -0
- /package/dist/chunks/{file-mutation-f0mxakyp.js → location-service-map-f0mxakyp.js} +0 -0
- /package/dist/chunks/{file-mutation-f6n9ztr4.js → location-service-map-f6n9ztr4.js} +0 -0
- /package/dist/chunks/{file-mutation-faypxj3z.js → location-service-map-faypxj3z.js} +0 -0
- /package/dist/chunks/{file-mutation-fd410y7t.js → location-service-map-fd410y7t.js} +0 -0
- /package/dist/chunks/{file-mutation-fxgpk5d8.js → location-service-map-fxgpk5d8.js} +0 -0
- /package/dist/chunks/{file-mutation-g4wezp1m.js → location-service-map-g4wezp1m.js} +0 -0
- /package/dist/chunks/{file-mutation-g86h250q.js → location-service-map-g86h250q.js} +0 -0
- /package/dist/chunks/{file-mutation-gebd4c9n.js → location-service-map-gebd4c9n.js} +0 -0
- /package/dist/chunks/{file-mutation-gftt206x.js → location-service-map-gftt206x.js} +0 -0
- /package/dist/chunks/{file-mutation-hjbc5kem.js → location-service-map-hjbc5kem.js} +0 -0
- /package/dist/chunks/{file-mutation-hk9envan.js → location-service-map-hk9envan.js} +0 -0
- /package/dist/chunks/{file-mutation-hrnqkpcd.js → location-service-map-hrnqkpcd.js} +0 -0
- /package/dist/chunks/{file-mutation-j2ntwpah.js → location-service-map-j2ntwpah.js} +0 -0
- /package/dist/chunks/{file-mutation-j5zkgpj8.js → location-service-map-j5zkgpj8.js} +0 -0
- /package/dist/chunks/{file-mutation-jr7sbwjy.js → location-service-map-jr7sbwjy.js} +0 -0
- /package/dist/chunks/{file-mutation-jwfs4k6c.js → location-service-map-jwfs4k6c.js} +0 -0
- /package/dist/chunks/{file-mutation-jzg6c2d5.js → location-service-map-jzg6c2d5.js} +0 -0
- /package/dist/chunks/{file-mutation-mp448xyj.js → location-service-map-mp448xyj.js} +0 -0
- /package/dist/chunks/{file-mutation-msx8hqn2.js → location-service-map-msx8hqn2.js} +0 -0
- /package/dist/chunks/{file-mutation-n05xt0ee.js → location-service-map-n05xt0ee.js} +0 -0
- /package/dist/chunks/{file-mutation-n3j8tn72.js → location-service-map-n3j8tn72.js} +0 -0
- /package/dist/chunks/{file-mutation-njntx4h6.js → location-service-map-njntx4h6.js} +0 -0
- /package/dist/chunks/{file-mutation-paphc93g.js → location-service-map-paphc93g.js} +0 -0
- /package/dist/chunks/{file-mutation-q3sfg36h.js → location-service-map-q3sfg36h.js} +0 -0
- /package/dist/chunks/{file-mutation-q74kybfr.js → location-service-map-q74kybfr.js} +0 -0
- /package/dist/chunks/{file-mutation-qaymkmh1.js → location-service-map-qaymkmh1.js} +0 -0
- /package/dist/chunks/{file-mutation-qb87gjwd.js → location-service-map-qb87gjwd.js} +0 -0
- /package/dist/chunks/{file-mutation-qfa1cgps.js → location-service-map-qfa1cgps.js} +0 -0
- /package/dist/chunks/{file-mutation-qrg20bc0.js → location-service-map-qrg20bc0.js} +0 -0
- /package/dist/chunks/{file-mutation-rcb2kzg1.js → location-service-map-rcb2kzg1.js} +0 -0
- /package/dist/chunks/{file-mutation-sdp7kfr6.js → location-service-map-sdp7kfr6.js} +0 -0
- /package/dist/chunks/{file-mutation-sk3qaz4a.js → location-service-map-sk3qaz4a.js} +0 -0
- /package/dist/chunks/{file-mutation-ssg3fenm.js → location-service-map-ssg3fenm.js} +0 -0
- /package/dist/chunks/{file-mutation-twg0f83k.js → location-service-map-twg0f83k.js} +0 -0
- /package/dist/chunks/{file-mutation-w803qqfp.js → location-service-map-w803qqfp.js} +0 -0
- /package/dist/chunks/{file-mutation-wer8tq1h.js → location-service-map-wer8tq1h.js} +0 -0
- /package/dist/chunks/{file-mutation-wtztk69x.js → location-service-map-wtztk69x.js} +0 -0
- /package/dist/chunks/{file-mutation-x0ckcb58.js → location-service-map-x0ckcb58.js} +0 -0
- /package/dist/chunks/{file-mutation-x61499pn.js → location-service-map-x61499pn.js} +0 -0
- /package/dist/chunks/{file-mutation-y44na4kk.js → location-service-map-y44na4kk.js} +0 -0
- /package/dist/chunks/{file-mutation-y8cydn3q.js → location-service-map-y8cydn3q.js} +0 -0
- /package/dist/chunks/{file-mutation-ygaqb7jw.js → location-service-map-ygaqb7jw.js} +0 -0
- /package/dist/chunks/{file-mutation-ym463w8f.js → location-service-map-ym463w8f.js} +0 -0
- /package/dist/chunks/{file-mutation-z9919s4g.js → location-service-map-z9919s4g.js} +0 -0
|
@@ -1,23 +1,23 @@
|
|
|
1
1
|
import {
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
} from "./
|
|
2
|
+
Service78,
|
|
3
|
+
node83
|
|
4
|
+
} from "./location-service-map-2end795d.js";
|
|
5
5
|
import {
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
} from "./
|
|
6
|
+
Service76,
|
|
7
|
+
node81
|
|
8
|
+
} from "./location-service-map-mm89s5e8.js";
|
|
9
9
|
import {
|
|
10
10
|
reconcile2,
|
|
11
11
|
create3
|
|
12
|
-
} from "./
|
|
12
|
+
} from "./location-service-map-kg06axw8.js";
|
|
13
13
|
import {
|
|
14
14
|
PATCH_CONTEXT_LINES2,
|
|
15
15
|
MAX_TOTAL_PATCH_BYTES2,
|
|
16
16
|
emptyPatch2
|
|
17
|
-
} from "./
|
|
17
|
+
} from "./location-service-map-tazgh4e4.js";
|
|
18
18
|
import {
|
|
19
19
|
__export
|
|
20
|
-
} from "./
|
|
20
|
+
} from "./location-service-map-9rqn6x4v.js";
|
|
21
21
|
|
|
22
22
|
// src/vcs.ts
|
|
23
23
|
var exports_vcs = {};
|
|
@@ -26,17 +26,17 @@ __export(exports_vcs, {
|
|
|
26
26
|
BranchList: () => BranchList2,
|
|
27
27
|
DiffError: () => DiffError2,
|
|
28
28
|
FileStatus: () => FileStatus2,
|
|
29
|
-
Info: () =>
|
|
29
|
+
Info: () => Info27,
|
|
30
30
|
Mode: () => Mode2,
|
|
31
|
-
Service: () =>
|
|
31
|
+
Service: () => Service67,
|
|
32
32
|
Vcs: () => exports_vcs,
|
|
33
|
-
node: () =>
|
|
33
|
+
node: () => node72
|
|
34
34
|
});
|
|
35
35
|
import path from "path";
|
|
36
36
|
import { Cause, Context, Effect, FiberSet, Layer, Schema, Semaphore, Stream } from "effect";
|
|
37
37
|
import { FileDiff } from "@opencode/schema/file-diff";
|
|
38
38
|
import { FileSystem } from "@opencode/schema/filesystem";
|
|
39
|
-
import { Base as Base2, BranchList as BranchList2, FileStatus as FileStatus2, Info as
|
|
39
|
+
import { Base as Base2, BranchList as BranchList2, FileStatus as FileStatus2, Info as Info27, Mode as Mode2 } from "@opencode/schema/vcs";
|
|
40
40
|
import { VcsEvent } from "@opencode/schema/vcs-event";
|
|
41
41
|
import { makeLocationNode } from "@opencode/util/effect/app-node";
|
|
42
42
|
import { FSUtil } from "@opencode/util/fs-util";
|
|
@@ -45,12 +45,12 @@ class DiffError2 extends Schema.TaggedError()("Vcs.DiffError", {
|
|
|
45
45
|
}) {
|
|
46
46
|
}
|
|
47
47
|
|
|
48
|
-
class
|
|
48
|
+
class Service67 extends Context.Service()("@opencode/Vcs") {
|
|
49
49
|
}
|
|
50
|
-
var layer = Layer.effect(
|
|
50
|
+
var layer = Layer.effect(Service67, Effect.gen(function* () {
|
|
51
51
|
const fs = yield* FSUtil.Service;
|
|
52
|
-
const location = yield*
|
|
53
|
-
const bus = yield*
|
|
52
|
+
const location = yield* Service76;
|
|
53
|
+
const bus = yield* Service78;
|
|
54
54
|
const root = yield* Effect.scope;
|
|
55
55
|
const fork = yield* FiberSet.makeRuntime();
|
|
56
56
|
const vcs = location.vcs;
|
|
@@ -62,7 +62,7 @@ var layer = Layer.effect(Service41, Effect.gen(function* () {
|
|
|
62
62
|
canonical: location.project.canonical,
|
|
63
63
|
...vcs ? { store: vcs.store } : {}
|
|
64
64
|
};
|
|
65
|
-
const decodeInfo = Schema.decodeUnknownEffect(Schema.toType(
|
|
65
|
+
const decodeInfo = Schema.decodeUnknownEffect(Schema.toType(Info27));
|
|
66
66
|
const decodeBase = Schema.decodeUnknownEffect(Schema.NullOr(Base2));
|
|
67
67
|
const decodeBranches = Schema.decodeUnknownEffect(BranchList2);
|
|
68
68
|
const decodeStatus = Schema.decodeUnknownEffect(Schema.Array(FileStatus2));
|
|
@@ -115,7 +115,7 @@ var layer = Layer.effect(Service41, Effect.gen(function* () {
|
|
|
115
115
|
const isBranchMetadata = vcs.type === "git" ? (file) => path.basename(file) === "HEAD" && FSUtil.contains(store, file) : (file) => path.resolve(file) === path.join(store, "branch");
|
|
116
116
|
yield* bus.subscribe(FileSystem.Event.Changed).pipe(Stream.filter((event) => isBranchMetadata(event.data.file)), Stream.runForEach((event) => refresh().pipe(Effect.catchCauseIf((cause) => !Cause.hasInterrupts(cause), (cause) => Effect.logWarning("vcs refresh failed", { file: event.data.file, cause })), Effect.withSpan("Vcs.refreshBranch", { attributes: { file: event.data.file } }))), Effect.forkScoped({ startImmediately: true }));
|
|
117
117
|
}
|
|
118
|
-
return
|
|
118
|
+
return Service67.of({
|
|
119
119
|
transform: state.transform,
|
|
120
120
|
reload: state.reload,
|
|
121
121
|
info: Effect.fn("Vcs.info")(function* () {
|
|
@@ -161,10 +161,10 @@ var layer = Layer.effect(Service41, Effect.gen(function* () {
|
|
|
161
161
|
})
|
|
162
162
|
});
|
|
163
163
|
}));
|
|
164
|
-
var
|
|
165
|
-
service:
|
|
164
|
+
var node72 = makeLocationNode({
|
|
165
|
+
service: Service67,
|
|
166
166
|
layer,
|
|
167
|
-
deps: [FSUtil.node,
|
|
167
|
+
deps: [FSUtil.node, node81, node83]
|
|
168
168
|
});
|
|
169
169
|
|
|
170
|
-
export { Base2, BranchList2, FileStatus2,
|
|
170
|
+
export { Base2, BranchList2, FileStatus2, Info27, Mode2, DiffError2, Service67, node72, exports_vcs };
|
|
@@ -1,21 +1,21 @@
|
|
|
1
1
|
import {
|
|
2
2
|
call2
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./location-service-map-mfqp6xfm.js";
|
|
4
4
|
import {
|
|
5
5
|
__export
|
|
6
|
-
} from "./
|
|
6
|
+
} from "./location-service-map-9rqn6x4v.js";
|
|
7
7
|
|
|
8
8
|
// src/plugin/websearch/exa.ts
|
|
9
9
|
var exports_exa = {};
|
|
10
10
|
__export(exports_exa, {
|
|
11
|
-
Plugin: () =>
|
|
11
|
+
Plugin: () => Plugin20,
|
|
12
12
|
WebSearchExa: () => exports_exa,
|
|
13
|
-
endpoint: () =>
|
|
13
|
+
endpoint: () => endpoint3
|
|
14
14
|
});
|
|
15
15
|
import { define } from "@opencode/plugin/effect/plugin";
|
|
16
16
|
import { Effect, Schema } from "effect";
|
|
17
17
|
import { HttpClient } from "effect/unstable/http";
|
|
18
|
-
var
|
|
18
|
+
var endpoint3 = "https://mcp.exa.ai/mcp";
|
|
19
19
|
var McpInput = Schema.Struct({
|
|
20
20
|
query: Schema.String,
|
|
21
21
|
numResults: Schema.Number.pipe(Schema.optional)
|
|
@@ -27,7 +27,7 @@ var McpOutput = Schema.Struct({
|
|
|
27
27
|
_meta: Schema.Struct({ searchTime: Schema.Number }).pipe(Schema.optional)
|
|
28
28
|
}))
|
|
29
29
|
});
|
|
30
|
-
var
|
|
30
|
+
var Plugin20 = define({
|
|
31
31
|
id: "opencode.websearch.exa",
|
|
32
32
|
effect: Effect.fn("WebSearchExa.Plugin")(function* (ctx) {
|
|
33
33
|
const http = yield* HttpClient.HttpClient;
|
|
@@ -49,7 +49,7 @@ var Plugin23 = define({
|
|
|
49
49
|
execute: (input) => Effect.gen(function* () {
|
|
50
50
|
const connection = yield* ctx.integration.connection.active("exa");
|
|
51
51
|
const credential = connection ? yield* ctx.integration.connection.resolve(connection) : undefined;
|
|
52
|
-
const url = new URL(
|
|
52
|
+
const url = new URL(endpoint3);
|
|
53
53
|
if (credential?.type === "key")
|
|
54
54
|
url.searchParams.set("exaApiKey", credential.key);
|
|
55
55
|
const result = yield* call2(http, url.toString(), "web_search_exa", { input: McpInput, output: McpOutput }, { query: input.query, numResults: 8 });
|
|
@@ -80,4 +80,4 @@ function parseResults(text) {
|
|
|
80
80
|
});
|
|
81
81
|
}
|
|
82
82
|
|
|
83
|
-
export {
|
|
83
|
+
export { endpoint3, Plugin20, exports_exa };
|
|
@@ -2,45 +2,45 @@ import {
|
|
|
2
2
|
NotFound2,
|
|
3
3
|
WrongKind2,
|
|
4
4
|
Failed2
|
|
5
|
-
} from "./
|
|
5
|
+
} from "./location-service-map-2a5m3afh.js";
|
|
6
6
|
import {
|
|
7
|
-
|
|
8
|
-
} from "./
|
|
7
|
+
Service76
|
|
8
|
+
} from "./location-service-map-mm89s5e8.js";
|
|
9
9
|
import {
|
|
10
10
|
Service65
|
|
11
|
-
} from "./
|
|
11
|
+
} from "./location-service-map-16qsj906.js";
|
|
12
12
|
import {
|
|
13
|
-
|
|
14
|
-
} from "./
|
|
13
|
+
Service13
|
|
14
|
+
} from "./location-service-map-vqmx0vgv.js";
|
|
15
15
|
import {
|
|
16
|
-
|
|
16
|
+
Service14,
|
|
17
17
|
readText2,
|
|
18
18
|
syncTextBom2
|
|
19
|
-
} from "./
|
|
19
|
+
} from "./location-service-map-d0hhfdg4.js";
|
|
20
20
|
import {
|
|
21
|
-
|
|
22
|
-
} from "./
|
|
21
|
+
Service57
|
|
22
|
+
} from "./location-service-map-6fgbakp6.js";
|
|
23
23
|
import {
|
|
24
|
-
|
|
24
|
+
Service15,
|
|
25
25
|
resolvePath2
|
|
26
|
-
} from "./
|
|
26
|
+
} from "./location-service-map-b7wf9cse.js";
|
|
27
27
|
import {
|
|
28
28
|
fileDiff2
|
|
29
|
-
} from "./
|
|
29
|
+
} from "./location-service-map-6prwharc.js";
|
|
30
30
|
import {
|
|
31
31
|
__export
|
|
32
|
-
} from "./
|
|
32
|
+
} from "./location-service-map-9rqn6x4v.js";
|
|
33
33
|
|
|
34
34
|
// src/tool/plugin/patch.ts
|
|
35
35
|
var exports_patch = {};
|
|
36
36
|
__export(exports_patch, {
|
|
37
37
|
Applied: () => Applied2,
|
|
38
|
-
Input: () =>
|
|
39
|
-
Output: () =>
|
|
38
|
+
Input: () => Input5,
|
|
39
|
+
Output: () => Output5,
|
|
40
40
|
PatchTool: () => exports_patch,
|
|
41
|
-
Plugin: () =>
|
|
42
|
-
name: () =>
|
|
43
|
-
toModelContent: () =>
|
|
41
|
+
Plugin: () => Plugin36,
|
|
42
|
+
name: () => name5,
|
|
43
|
+
toModelContent: () => toModelContent4
|
|
44
44
|
});
|
|
45
45
|
import { ToolFailure } from "@opencode/ai";
|
|
46
46
|
import { FileDiff } from "@opencode/schema/file-diff";
|
|
@@ -85,8 +85,8 @@ It is important to remember:
|
|
|
85
85
|
`;
|
|
86
86
|
|
|
87
87
|
// src/tool/plugin/patch.ts
|
|
88
|
-
var
|
|
89
|
-
var
|
|
88
|
+
var name5 = "patch";
|
|
89
|
+
var Input5 = Schema.Struct({
|
|
90
90
|
patchText: Schema.String.annotate({
|
|
91
91
|
description: "The full patch text describing add, update, and delete operations"
|
|
92
92
|
})
|
|
@@ -96,30 +96,30 @@ var Applied2 = Schema.Struct({
|
|
|
96
96
|
resource: Schema.String,
|
|
97
97
|
target: Schema.String
|
|
98
98
|
});
|
|
99
|
-
var
|
|
99
|
+
var Output5 = Schema.Struct({
|
|
100
100
|
applied: Schema.Array(Applied2),
|
|
101
101
|
files: Schema.Array(FileDiff.Info)
|
|
102
102
|
});
|
|
103
|
-
var
|
|
103
|
+
var toModelContent4 = (output) => [
|
|
104
104
|
"Success. Updated the following files:",
|
|
105
105
|
...output.applied.map((item) => `${item.type === "add" ? "A" : item.type === "delete" ? "D" : "M"} ${item.resource}`)
|
|
106
106
|
].join(`
|
|
107
107
|
`);
|
|
108
|
-
var
|
|
108
|
+
var Plugin36 = {
|
|
109
109
|
id: "opencode.tool.patch",
|
|
110
110
|
effect: Effect.fn("PatchTool.Plugin")(function* (ctx) {
|
|
111
111
|
const environment = yield* Service65;
|
|
112
|
-
const access = yield*
|
|
113
|
-
const fileMutation = yield*
|
|
114
|
-
const formatter = yield*
|
|
115
|
-
const location = yield*
|
|
116
|
-
const permission = yield*
|
|
112
|
+
const access = yield* Service15;
|
|
113
|
+
const fileMutation = yield* Service14;
|
|
114
|
+
const formatter = yield* Service13;
|
|
115
|
+
const location = yield* Service76;
|
|
116
|
+
const permission = yield* Service57;
|
|
117
117
|
yield* ctx.tool.transform((editor) => editor.add({
|
|
118
|
-
name:
|
|
118
|
+
name: name5,
|
|
119
119
|
options: { codemode: false, permission: "edit" },
|
|
120
120
|
description: patch_default,
|
|
121
|
-
input:
|
|
122
|
-
output:
|
|
121
|
+
input: Input5,
|
|
122
|
+
output: Output5,
|
|
123
123
|
execute: (input, context) => {
|
|
124
124
|
const applied = [];
|
|
125
125
|
const parsed = Patch.parse(input.patchText);
|
|
@@ -266,7 +266,7 @@ var Plugin42 = {
|
|
|
266
266
|
return { applied, files };
|
|
267
267
|
}).pipe(fileMutation.withLock(lockTargets), Effect.map((output) => ({
|
|
268
268
|
output,
|
|
269
|
-
content:
|
|
269
|
+
content: toModelContent4(output),
|
|
270
270
|
metadata: { files: output.files }
|
|
271
271
|
})), Effect.mapError((error) => error instanceof ToolFailure ? error : new ToolFailure({ message: "Unable to apply patch", error })));
|
|
272
272
|
}
|
|
@@ -323,4 +323,4 @@ function trimDiff(diff) {
|
|
|
323
323
|
`);
|
|
324
324
|
}
|
|
325
325
|
|
|
326
|
-
export {
|
|
326
|
+
export { name5, Input5, Applied2, Output5, toModelContent4, Plugin36, exports_patch };
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import {
|
|
2
2
|
__export
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./location-service-map-9rqn6x4v.js";
|
|
4
4
|
|
|
5
5
|
// src/v1/config/lsp.ts
|
|
6
6
|
var exports_lsp = {};
|
|
@@ -8,7 +8,7 @@ __export(exports_lsp, {
|
|
|
8
8
|
ConfigLSPV1: () => exports_lsp,
|
|
9
9
|
Disabled: () => Disabled2,
|
|
10
10
|
Entry: () => Entry4,
|
|
11
|
-
Info: () =>
|
|
11
|
+
Info: () => Info15,
|
|
12
12
|
builtinServerIds: () => builtinServerIds2,
|
|
13
13
|
requiresExtensionsForCustomServers: () => requiresExtensionsForCustomServers2
|
|
14
14
|
});
|
|
@@ -79,6 +79,6 @@ var requiresExtensionsForCustomServers2 = Schema.makeFilter((data) => {
|
|
|
79
79
|
});
|
|
80
80
|
return ok ? undefined : "For custom LSP servers, 'extensions' array is required.";
|
|
81
81
|
});
|
|
82
|
-
var
|
|
82
|
+
var Info15 = Schema.Union([Schema.Boolean, Schema.Record(Schema.String, Entry4)]).check(requiresExtensionsForCustomServers2);
|
|
83
83
|
|
|
84
|
-
export { Disabled2, Entry4, builtinServerIds2, requiresExtensionsForCustomServers2,
|
|
84
|
+
export { Disabled2, Entry4, builtinServerIds2, requiresExtensionsForCustomServers2, Info15, exports_lsp };
|
|
@@ -1,32 +1,32 @@
|
|
|
1
1
|
import {
|
|
2
2
|
AbsolutePath2,
|
|
3
3
|
RelativePath2
|
|
4
|
-
} from "./
|
|
4
|
+
} from "./location-service-map-922hggd3.js";
|
|
5
5
|
import {
|
|
6
6
|
Repository2,
|
|
7
7
|
TreeID2,
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
} from "./
|
|
8
|
+
Service80,
|
|
9
|
+
node85
|
|
10
|
+
} from "./location-service-map-tfwap27p.js";
|
|
11
11
|
import {
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
} from "./
|
|
12
|
+
Service76,
|
|
13
|
+
node81
|
|
14
|
+
} from "./location-service-map-mm89s5e8.js";
|
|
15
15
|
import {
|
|
16
16
|
create3
|
|
17
|
-
} from "./
|
|
17
|
+
} from "./location-service-map-kg06axw8.js";
|
|
18
18
|
import {
|
|
19
19
|
__export
|
|
20
|
-
} from "./
|
|
20
|
+
} from "./location-service-map-9rqn6x4v.js";
|
|
21
21
|
|
|
22
22
|
// src/snapshot.ts
|
|
23
23
|
var exports_snapshot2 = {};
|
|
24
24
|
__export(exports_snapshot2, {
|
|
25
|
-
Error: () =>
|
|
26
|
-
ID: () =>
|
|
27
|
-
Service: () =>
|
|
25
|
+
Error: () => Error3,
|
|
26
|
+
ID: () => ID4,
|
|
27
|
+
Service: () => Service44,
|
|
28
28
|
Snapshot: () => exports_snapshot2,
|
|
29
|
-
node: () =>
|
|
29
|
+
node: () => node47,
|
|
30
30
|
noopLayer: () => noopLayer3
|
|
31
31
|
});
|
|
32
32
|
import { makeLocationNode } from "@opencode/util/effect/app-node";
|
|
@@ -34,22 +34,22 @@ import path from "path";
|
|
|
34
34
|
import { Context, Effect, Fiber, Layer, Schema, Scope } from "effect";
|
|
35
35
|
import { FSUtil } from "@opencode/util/fs-util";
|
|
36
36
|
import { Global } from "@opencode/util/global";
|
|
37
|
-
import { ID as
|
|
37
|
+
import { ID as ID4 } from "@opencode/schema/snapshot";
|
|
38
38
|
import { Hash } from "@opencode/util/hash";
|
|
39
|
-
class
|
|
39
|
+
class Error3 extends Schema.TaggedError()("Snapshot.Error", {
|
|
40
40
|
operation: Schema.Literals(["capture", "files", "diff", "restore"]),
|
|
41
41
|
message: Schema.String,
|
|
42
42
|
cause: Schema.optional(Schema.Defect())
|
|
43
43
|
}) {
|
|
44
44
|
}
|
|
45
45
|
|
|
46
|
-
class
|
|
46
|
+
class Service44 extends Context.Service()("@opencode/Snapshot") {
|
|
47
47
|
}
|
|
48
|
-
var layer = Layer.effect(
|
|
48
|
+
var layer = Layer.effect(Service44, Effect.gen(function* () {
|
|
49
49
|
const fs = yield* FSUtil.Service;
|
|
50
|
-
const git = yield*
|
|
50
|
+
const git = yield* Service80;
|
|
51
51
|
const global = yield* Global.Service;
|
|
52
|
-
const location = yield*
|
|
52
|
+
const location = yield* Service76;
|
|
53
53
|
const lifetime = yield* Scope.Scope;
|
|
54
54
|
const state = create3({
|
|
55
55
|
name: "snapshot",
|
|
@@ -63,7 +63,7 @@ var layer = Layer.effect(Service57, Effect.gen(function* () {
|
|
|
63
63
|
const repositoryFiber = yield* Effect.cached(Effect.gen(function* () {
|
|
64
64
|
const source = yield* git.repo.discover(location.project.directory);
|
|
65
65
|
if (!source)
|
|
66
|
-
return yield* new
|
|
66
|
+
return yield* new Error3({ operation: "capture", message: "Project is not a Git repository" });
|
|
67
67
|
const worktree = AbsolutePath2.make(yield* fs.realPath(source.worktree).pipe(Effect.orDie));
|
|
68
68
|
const gitDirectory = AbsolutePath2.make(path.join(global.data, "snapshot", location.project.id, Hash.fast(worktree)));
|
|
69
69
|
const snapshotRepository = (yield* fs.existsSafe(path.join(gitDirectory, "HEAD"))) ? new Repository2({ worktree, gitDirectory, commonDirectory: gitDirectory }) : yield* git.repo.create({ worktree, gitDirectory, seed: source }).pipe(Effect.mapError((cause) => failure("capture", cause)));
|
|
@@ -73,7 +73,7 @@ var layer = Layer.effect(Service57, Effect.gen(function* () {
|
|
|
73
73
|
const scope = Effect.fnUntraced(function* (worktree) {
|
|
74
74
|
const relative = path.relative(worktree, location.directory);
|
|
75
75
|
if (relative.startsWith("..") || path.isAbsolute(relative))
|
|
76
|
-
return yield* new
|
|
76
|
+
return yield* new Error3({ operation: "capture", message: "Location is outside the project" });
|
|
77
77
|
return RelativePath2.make(relative.replaceAll("\\", "/") || ".");
|
|
78
78
|
});
|
|
79
79
|
const enabled = () => location.vcs?.type === "git" && state.get().enabled;
|
|
@@ -82,7 +82,7 @@ var layer = Layer.effect(Service57, Effect.gen(function* () {
|
|
|
82
82
|
return;
|
|
83
83
|
return yield* Effect.gen(function* () {
|
|
84
84
|
const repo = yield* repository;
|
|
85
|
-
return
|
|
85
|
+
return ID4.make(yield* git.tree.capture({
|
|
86
86
|
repository: repo.snapshotRepository,
|
|
87
87
|
scopes: [yield* scope(repo.worktree)],
|
|
88
88
|
ignores: repo.source,
|
|
@@ -122,25 +122,25 @@ var layer = Layer.effect(Service57, Effect.gen(function* () {
|
|
|
122
122
|
for (const [file, snapshot] of input.files) {
|
|
123
123
|
const absolute = path.resolve(worktree, file);
|
|
124
124
|
if (!FSUtil.contains(worktree, absolute))
|
|
125
|
-
return yield* new
|
|
125
|
+
return yield* new Error3({ operation: "restore", message: `Path escapes the project: ${file}` });
|
|
126
126
|
files.set(file, TreeID2.make(snapshot));
|
|
127
127
|
}
|
|
128
128
|
return files;
|
|
129
129
|
});
|
|
130
130
|
const restore = Effect.fn("Snapshot.restore")(function* (input) {
|
|
131
131
|
if (!enabled())
|
|
132
|
-
return yield* new
|
|
132
|
+
return yield* new Error3({ operation: "restore", message: "Snapshots are disabled" });
|
|
133
133
|
const repo = yield* repository.pipe(Effect.mapError((cause) => failure("restore", cause)));
|
|
134
134
|
yield* git.tree.restore({ repository: repo.snapshotRepository, files: yield* plan(repo.worktree, input) }).pipe(Effect.mapError((cause) => failure("restore", cause)));
|
|
135
135
|
});
|
|
136
|
-
return
|
|
136
|
+
return Service44.of({ transform: state.transform, reload: state.reload, capture, files, diff, restore });
|
|
137
137
|
}).pipe(Effect.withSpan("Snapshot.boot")));
|
|
138
|
-
var
|
|
139
|
-
service:
|
|
138
|
+
var node47 = makeLocationNode({
|
|
139
|
+
service: Service44,
|
|
140
140
|
layer,
|
|
141
|
-
deps: [FSUtil.node,
|
|
141
|
+
deps: [FSUtil.node, node85, Global.node, node81]
|
|
142
142
|
});
|
|
143
|
-
var noopLayer3 = Layer.succeed(
|
|
143
|
+
var noopLayer3 = Layer.succeed(Service44, Service44.of({
|
|
144
144
|
transform: () => Effect.succeed({ dispose: Effect.void }),
|
|
145
145
|
reload: () => Effect.void,
|
|
146
146
|
capture: () => Effect.undefined,
|
|
@@ -149,13 +149,13 @@ var noopLayer3 = Layer.succeed(Service57, Service57.of({
|
|
|
149
149
|
restore: () => Effect.void
|
|
150
150
|
}));
|
|
151
151
|
function failure(operation, cause) {
|
|
152
|
-
if (cause instanceof
|
|
152
|
+
if (cause instanceof Error3 && cause.operation === operation)
|
|
153
153
|
return cause;
|
|
154
|
-
return new
|
|
154
|
+
return new Error3({
|
|
155
155
|
operation,
|
|
156
156
|
message: cause instanceof globalThis.Error ? cause.message : String(cause),
|
|
157
157
|
cause
|
|
158
158
|
});
|
|
159
159
|
}
|
|
160
160
|
|
|
161
|
-
export {
|
|
161
|
+
export { ID4, Error3, Service44, node47, noopLayer3, exports_snapshot2 };
|
|
@@ -1,10 +1,10 @@
|
|
|
1
1
|
import {
|
|
2
2
|
resolveNullableObjectPaths2,
|
|
3
3
|
mapResultRow2
|
|
4
|
-
} from "./
|
|
4
|
+
} from "./location-service-map-emrn6kk6.js";
|
|
5
5
|
import {
|
|
6
6
|
SQLiteEffectDatabase2
|
|
7
|
-
} from "./
|
|
7
|
+
} from "./location-service-map-cy3hhnd8.js";
|
|
8
8
|
|
|
9
9
|
// src/database/drizzle/sqlite-core/effect/session.ts
|
|
10
10
|
import * as Cause from "effect/Cause";
|
|
@@ -1,29 +1,29 @@
|
|
|
1
1
|
import {
|
|
2
2
|
Metadata2,
|
|
3
3
|
useragent2,
|
|
4
|
-
|
|
5
|
-
} from "./
|
|
4
|
+
node59
|
|
5
|
+
} from "./location-service-map-1g2ww1p9.js";
|
|
6
6
|
import {
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
} from "./
|
|
7
|
+
Service78,
|
|
8
|
+
node83
|
|
9
|
+
} from "./location-service-map-2end795d.js";
|
|
10
10
|
import {
|
|
11
|
-
|
|
11
|
+
ID16,
|
|
12
12
|
aisdk2
|
|
13
|
-
} from "./
|
|
13
|
+
} from "./location-service-map-npntah3r.js";
|
|
14
14
|
import {
|
|
15
|
-
|
|
15
|
+
ID15,
|
|
16
16
|
VariantID2,
|
|
17
17
|
Family2,
|
|
18
18
|
compatibility2
|
|
19
|
-
} from "./
|
|
19
|
+
} from "./location-service-map-907sgp7f.js";
|
|
20
20
|
import {
|
|
21
|
-
|
|
22
|
-
|
|
23
|
-
} from "./
|
|
21
|
+
Service71,
|
|
22
|
+
node76
|
|
23
|
+
} from "./location-service-map-66fdfd31.js";
|
|
24
24
|
import {
|
|
25
25
|
__export
|
|
26
|
-
} from "./
|
|
26
|
+
} from "./location-service-map-9rqn6x4v.js";
|
|
27
27
|
|
|
28
28
|
// src/models-dev.ts
|
|
29
29
|
var exports_models_dev = {};
|
|
@@ -31,12 +31,12 @@ __export(exports_models_dev, {
|
|
|
31
31
|
CatalogModelStatus: () => CatalogModelStatus2,
|
|
32
32
|
Event: () => Event3,
|
|
33
33
|
ModelsDev: () => exports_models_dev,
|
|
34
|
-
Options: () =>
|
|
35
|
-
Service: () =>
|
|
34
|
+
Options: () => Options3,
|
|
35
|
+
Service: () => Service18,
|
|
36
36
|
bodyDigest: () => bodyDigest2,
|
|
37
|
-
configured: () =>
|
|
38
|
-
layer: () =>
|
|
39
|
-
node: () =>
|
|
37
|
+
configured: () => configured3,
|
|
38
|
+
layer: () => layer9,
|
|
39
|
+
node: () => node21
|
|
40
40
|
});
|
|
41
41
|
import { Cause, Context, Duration, Effect, Layer, Option, Schedule, Schema, Semaphore } from "effect";
|
|
42
42
|
import { HttpClient, HttpClientRequest } from "effect/unstable/http";
|
|
@@ -56,7 +56,7 @@ var CatalogModelStatus2 = Schema.Literals(["alpha", "beta", "deprecated"]);
|
|
|
56
56
|
function normalize(input) {
|
|
57
57
|
const providers = [];
|
|
58
58
|
for (const item of Object.values(input)) {
|
|
59
|
-
const providerID =
|
|
59
|
+
const providerID = ID16.make(item.id);
|
|
60
60
|
const info = {
|
|
61
61
|
id: providerID,
|
|
62
62
|
name: item.name,
|
|
@@ -68,10 +68,10 @@ function normalize(input) {
|
|
|
68
68
|
for (const model of Object.values(item.models)) {
|
|
69
69
|
const baseCost = cost(model.cost);
|
|
70
70
|
const variants = reasoningVariants(item, model);
|
|
71
|
-
const id =
|
|
71
|
+
const id = ID15.make(model.id);
|
|
72
72
|
models.push(modelInfo(providerID, id, model, { cost: baseCost, variants }));
|
|
73
73
|
for (const [mode, options] of Object.entries(model.experimental?.modes ?? {})) {
|
|
74
|
-
const modeID =
|
|
74
|
+
const modeID = ID15.make(`${model.id}-${mode}`);
|
|
75
75
|
models.push(modelInfo(providerID, modeID, model, {
|
|
76
76
|
name: modeName(model, mode),
|
|
77
77
|
cost: mergeCost(baseCost, options.cost),
|
|
@@ -449,7 +449,7 @@ function modeName(model, mode) {
|
|
|
449
449
|
function modelInfo(providerID, id, model, input = {}) {
|
|
450
450
|
return {
|
|
451
451
|
id,
|
|
452
|
-
modelID:
|
|
452
|
+
modelID: ID15.make(model.id),
|
|
453
453
|
providerID,
|
|
454
454
|
name: input.name ?? model.name,
|
|
455
455
|
compatibility: compatibility2(model.interleaved),
|
|
@@ -475,14 +475,14 @@ function modelInfo(providerID, id, model, input = {}) {
|
|
|
475
475
|
body: input.request?.body ? { ...input.request.body } : undefined
|
|
476
476
|
};
|
|
477
477
|
}
|
|
478
|
-
var
|
|
478
|
+
var Options3 = Schema.Struct({
|
|
479
479
|
url: Schema.optional(Schema.String),
|
|
480
480
|
file: Schema.optional(Schema.String),
|
|
481
481
|
fetch: Schema.optional(Schema.Boolean),
|
|
482
482
|
snapshot: Schema.optional(Schema.Boolean)
|
|
483
483
|
});
|
|
484
484
|
|
|
485
|
-
class
|
|
485
|
+
class Service18 extends Context.Service()("@opencode/ModelsDev") {
|
|
486
486
|
}
|
|
487
487
|
var CatalogJson = Schema.fromJsonString(Schema.Record(Schema.String, Schema.Unknown));
|
|
488
488
|
var decodeCatalog = (text) => Schema.decodeUnknownEffect(CatalogJson)(text).pipe(Effect.map((catalog) => catalog));
|
|
@@ -505,11 +505,11 @@ function cacheKey(source) {
|
|
|
505
505
|
function bodyDigest2(text) {
|
|
506
506
|
return Hash.sha256(text);
|
|
507
507
|
}
|
|
508
|
-
var
|
|
508
|
+
var layer9 = (options) => Layer.effect(Service18, Effect.gen(function* () {
|
|
509
509
|
const fs = yield* FSUtil.Service;
|
|
510
|
-
const bus = yield*
|
|
510
|
+
const bus = yield* Service78;
|
|
511
511
|
const app = yield* Metadata2;
|
|
512
|
-
const kv = yield*
|
|
512
|
+
const kv = yield* Service71;
|
|
513
513
|
const http = HttpClient.filterStatusOk((yield* HttpClient.HttpClient).pipe(HttpClient.retryTransient({
|
|
514
514
|
retryOn: "errors-and-responses",
|
|
515
515
|
times: 2,
|
|
@@ -589,15 +589,15 @@ var layer8 = (options) => Layer.effect(Service15, Effect.gen(function* () {
|
|
|
589
589
|
if (fetch && !process.argv.includes("--get-yargs-completions")) {
|
|
590
590
|
yield* Effect.forkScoped(refresh().pipe(Effect.repeat(Schedule.spaced(ttl)), Effect.ignore));
|
|
591
591
|
}
|
|
592
|
-
return
|
|
592
|
+
return Service18.of({ get, refresh });
|
|
593
593
|
}));
|
|
594
|
-
function
|
|
594
|
+
function configured3(options) {
|
|
595
595
|
return makeGlobalNode({
|
|
596
|
-
service:
|
|
597
|
-
layer:
|
|
598
|
-
deps: [FSUtil.node,
|
|
596
|
+
service: Service18,
|
|
597
|
+
layer: layer9(options),
|
|
598
|
+
deps: [FSUtil.node, node83, node59, node76, httpClient]
|
|
599
599
|
});
|
|
600
600
|
}
|
|
601
|
-
var
|
|
601
|
+
var node21 = configured3();
|
|
602
602
|
|
|
603
|
-
export { CatalogModelStatus2,
|
|
603
|
+
export { CatalogModelStatus2, Options3, Service18, bodyDigest2, layer9, configured3, node21, exports_models_dev, Event3 };
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import {
|
|
2
|
-
|
|
3
|
-
} from "./
|
|
2
|
+
ID16
|
|
3
|
+
} from "./location-service-map-npntah3r.js";
|
|
4
4
|
|
|
5
5
|
// src/plugin/provider/snowflake-cortex.ts
|
|
6
6
|
import { Effect } from "effect";
|
|
@@ -52,7 +52,7 @@ var SnowflakeCortexPlugin2 = define({
|
|
|
52
52
|
id: "opencode.provider.snowflake.cortex",
|
|
53
53
|
effect: Effect.fn(function* (ctx) {
|
|
54
54
|
yield* ctx.aisdk.hook("sdk", Effect.fn(function* (evt) {
|
|
55
|
-
if (evt.model.providerID !==
|
|
55
|
+
if (evt.model.providerID !== ID16.make("snowflake-cortex"))
|
|
56
56
|
return;
|
|
57
57
|
const token = process.env.SNOWFLAKE_CORTEX_TOKEN ?? process.env.SNOWFLAKE_CORTEX_PAT ?? (typeof evt.options.token === "string" ? evt.options.token : undefined) ?? (typeof evt.options.apiKey === "string" ? evt.options.apiKey : undefined);
|
|
58
58
|
const upstream = typeof evt.options.fetch === "function" ? evt.options.fetch : undefined;
|