@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,21 +1,21 @@
|
|
|
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
|
SessionEvent2
|
|
11
|
-
} from "./
|
|
11
|
+
} from "./location-service-map-ec1grn59.js";
|
|
12
12
|
import {
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
} from "./
|
|
13
|
+
Service58,
|
|
14
|
+
node62
|
|
15
|
+
} from "./location-service-map-pzx9vzqb.js";
|
|
16
16
|
import {
|
|
17
17
|
__export
|
|
18
|
-
} from "./
|
|
18
|
+
} from "./location-service-map-9rqn6x4v.js";
|
|
19
19
|
|
|
20
20
|
// src/session/instructions.ts
|
|
21
21
|
var exports_instructions = {};
|
|
@@ -35,10 +35,10 @@ var InjectedMetadata = Schema.Struct({
|
|
|
35
35
|
class Service11 extends Context.Service()("@opencode/SessionInstructions") {
|
|
36
36
|
}
|
|
37
37
|
var layer = Layer.effect(Service11, Effect.gen(function* () {
|
|
38
|
-
const bus = yield*
|
|
38
|
+
const bus = yield* Service78;
|
|
39
39
|
const fs = yield* FSUtil.Service;
|
|
40
|
-
const store = yield*
|
|
41
|
-
const location = yield*
|
|
40
|
+
const store = yield* Service58;
|
|
41
|
+
const location = yield* Service76;
|
|
42
42
|
const root = yield* fs.resolve(location.project.directory);
|
|
43
43
|
const inFlight = yield* Ref.make(new Map);
|
|
44
44
|
const load = Effect.fn("SessionInstructions.load")(function* (input) {
|
|
@@ -98,7 +98,7 @@ function describePath(root, path) {
|
|
|
98
98
|
var node14 = makeLocationNode({
|
|
99
99
|
name: "session-instructions",
|
|
100
100
|
layer,
|
|
101
|
-
deps: [
|
|
101
|
+
deps: [node83, FSUtil.node, node81, node62]
|
|
102
102
|
});
|
|
103
103
|
|
|
104
104
|
export { Service11, node14, exports_instructions };
|
|
@@ -1,21 +1,21 @@
|
|
|
1
1
|
import {
|
|
2
|
-
|
|
2
|
+
ID16,
|
|
3
3
|
isAISDK2,
|
|
4
4
|
packageName2,
|
|
5
5
|
mergeOverlay2
|
|
6
|
-
} from "./
|
|
6
|
+
} from "./location-service-map-npntah3r.js";
|
|
7
7
|
import {
|
|
8
8
|
__export
|
|
9
|
-
} from "./
|
|
9
|
+
} from "./location-service-map-9rqn6x4v.js";
|
|
10
10
|
|
|
11
11
|
// src/aisdk.ts
|
|
12
12
|
var exports_aisdk = {};
|
|
13
13
|
__export(exports_aisdk, {
|
|
14
14
|
AISDK: () => exports_aisdk,
|
|
15
15
|
InitError: () => InitError2,
|
|
16
|
-
Service: () =>
|
|
16
|
+
Service: () => Service50,
|
|
17
17
|
locationLayer: () => locationLayer2,
|
|
18
|
-
node: () =>
|
|
18
|
+
node: () => node53
|
|
19
19
|
});
|
|
20
20
|
import { makeLocationNode } from "@opencode/util/effect/app-node";
|
|
21
21
|
import { APICallError } from "@ai-sdk/provider";
|
|
@@ -128,7 +128,7 @@ function prepareOptions(model, pkg) {
|
|
|
128
128
|
}
|
|
129
129
|
|
|
130
130
|
class InitError2 extends Schema.TaggedError()("AISDK.InitError", {
|
|
131
|
-
providerID:
|
|
131
|
+
providerID: ID16,
|
|
132
132
|
cause: Schema.Defect()
|
|
133
133
|
}) {
|
|
134
134
|
}
|
|
@@ -136,9 +136,9 @@ function initError(providerID) {
|
|
|
136
136
|
return Effect.catchCause((cause) => Effect.fail(new InitError2({ providerID, cause: Cause.squash(cause) })));
|
|
137
137
|
}
|
|
138
138
|
|
|
139
|
-
class
|
|
139
|
+
class Service50 extends Context.Service()("@opencode/AISDK") {
|
|
140
140
|
}
|
|
141
|
-
var locationLayer2 = Layer.effect(
|
|
141
|
+
var locationLayer2 = Layer.effect(Service50, Effect.gen(function* () {
|
|
142
142
|
let sdkHooks = [];
|
|
143
143
|
let languageHooks = [];
|
|
144
144
|
const languages = new Map;
|
|
@@ -176,7 +176,7 @@ var locationLayer2 = Layer.effect(Service54, Effect.gen(function* () {
|
|
|
176
176
|
}
|
|
177
177
|
return event;
|
|
178
178
|
});
|
|
179
|
-
const service =
|
|
179
|
+
const service = Service50.of({
|
|
180
180
|
hook: {
|
|
181
181
|
sdk: register(() => sdkHooks, (next) => sdkHooks = next),
|
|
182
182
|
language: register(() => languageHooks, (next) => languageHooks = next)
|
|
@@ -809,6 +809,6 @@ function providerErrorMessage(error) {
|
|
|
809
809
|
const prefix = error.statusCode === undefined ? "Provider request failed" : `Provider request failed with HTTP ${error.statusCode}`;
|
|
810
810
|
return error.message.trim() !== "" ? error.message : message ?? (code === undefined ? prefix : `${prefix}: ${code}`);
|
|
811
811
|
}
|
|
812
|
-
var
|
|
812
|
+
var node53 = makeLocationNode({ service: Service50, layer: locationLayer2, deps: [] });
|
|
813
813
|
|
|
814
|
-
export { InitError2,
|
|
814
|
+
export { InitError2, Service50, locationLayer2, node53, exports_aisdk };
|
|
@@ -1,15 +1,15 @@
|
|
|
1
1
|
import {
|
|
2
2
|
ps2
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./location-service-map-xqyszs4f.js";
|
|
4
4
|
import {
|
|
5
5
|
lazy2
|
|
6
|
-
} from "./
|
|
6
|
+
} from "./location-service-map-88xbtdfr.js";
|
|
7
7
|
import {
|
|
8
8
|
match2
|
|
9
|
-
} from "./
|
|
9
|
+
} from "./location-service-map-y1fvbwt7.js";
|
|
10
10
|
import {
|
|
11
11
|
__export
|
|
12
|
-
} from "./
|
|
12
|
+
} from "./location-service-map-9rqn6x4v.js";
|
|
13
13
|
|
|
14
14
|
// src/shell/parse.ts
|
|
15
15
|
var exports_parse = {};
|
|
@@ -1,32 +1,32 @@
|
|
|
1
1
|
import {
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
} from "./
|
|
2
|
+
Service79,
|
|
3
|
+
node84
|
|
4
|
+
} from "./location-service-map-tfrhnqth.js";
|
|
5
5
|
import {
|
|
6
6
|
PermissionTable2
|
|
7
|
-
} from "./
|
|
7
|
+
} from "./location-service-map-hdnk95c8.js";
|
|
8
8
|
import {
|
|
9
9
|
__export
|
|
10
|
-
} from "./
|
|
10
|
+
} from "./location-service-map-9rqn6x4v.js";
|
|
11
11
|
|
|
12
12
|
// src/permission/saved.ts
|
|
13
13
|
var exports_saved = {};
|
|
14
14
|
__export(exports_saved, {
|
|
15
15
|
AddInput: () => AddInput2,
|
|
16
|
-
ID: () =>
|
|
17
|
-
Info: () =>
|
|
16
|
+
ID: () => ID9,
|
|
17
|
+
Info: () => Info22,
|
|
18
18
|
ListInput: () => ListInput5,
|
|
19
19
|
PermissionSaved: () => exports_saved,
|
|
20
|
-
Service: () =>
|
|
21
|
-
node: () =>
|
|
20
|
+
Service: () => Service59,
|
|
21
|
+
node: () => node63
|
|
22
22
|
});
|
|
23
23
|
import { eq } from "drizzle-orm";
|
|
24
24
|
import { Context, Effect, Layer, Schema } from "effect";
|
|
25
25
|
import { Project } from "@opencode/schema/project";
|
|
26
26
|
import { makeGlobalNode } from "@opencode/util/effect/app-node";
|
|
27
27
|
import { PermissionSaved } from "@opencode/schema/permission-saved";
|
|
28
|
-
var
|
|
29
|
-
var
|
|
28
|
+
var ID9 = PermissionSaved.ID;
|
|
29
|
+
var Info22 = PermissionSaved.Info;
|
|
30
30
|
var ListInput5 = Schema.Struct({
|
|
31
31
|
projectID: Project.ID.pipe(Schema.optional)
|
|
32
32
|
}).annotate({ identifier: "PermissionSaved.ListInput" });
|
|
@@ -36,10 +36,10 @@ var AddInput2 = Schema.Struct({
|
|
|
36
36
|
resources: Schema.Array(Schema.String)
|
|
37
37
|
}).annotate({ identifier: "PermissionSaved.AddInput" });
|
|
38
38
|
|
|
39
|
-
class
|
|
39
|
+
class Service59 extends Context.Service()("@opencode/PermissionSaved") {
|
|
40
40
|
}
|
|
41
|
-
var layer = Layer.effect(
|
|
42
|
-
const db = (yield*
|
|
41
|
+
var layer = Layer.effect(Service59, Effect.gen(function* () {
|
|
42
|
+
const db = (yield* Service79).db;
|
|
43
43
|
const list = Effect.fnUntraced(function* (input) {
|
|
44
44
|
const rows = yield* db.select().from(PermissionTable2).where(input?.projectID ? eq(PermissionTable2.project_id, input.projectID) : undefined).all().pipe(Effect.orDie);
|
|
45
45
|
return rows.map((row) => ({
|
|
@@ -53,7 +53,7 @@ var layer = Layer.effect(Service72, Effect.gen(function* () {
|
|
|
53
53
|
if (!input.resources.length)
|
|
54
54
|
return;
|
|
55
55
|
yield* db.insert(PermissionTable2).values(input.resources.map((resource) => ({
|
|
56
|
-
id:
|
|
56
|
+
id: ID9.create(),
|
|
57
57
|
project_id: input.projectID,
|
|
58
58
|
action: input.action,
|
|
59
59
|
resource
|
|
@@ -62,8 +62,8 @@ var layer = Layer.effect(Service72, Effect.gen(function* () {
|
|
|
62
62
|
const remove = Effect.fn("PermissionSaved.remove")(function* (id) {
|
|
63
63
|
yield* db.delete(PermissionTable2).where(eq(PermissionTable2.id, id)).run().pipe(Effect.orDie);
|
|
64
64
|
});
|
|
65
|
-
return
|
|
65
|
+
return Service59.of({ list, add, remove });
|
|
66
66
|
}));
|
|
67
|
-
var
|
|
67
|
+
var node63 = makeGlobalNode({ service: Service59, layer, deps: [node84] });
|
|
68
68
|
|
|
69
|
-
export {
|
|
69
|
+
export { ID9, Info22, ListInput5, AddInput2, Service59, node63, exports_saved };
|
|
@@ -1,18 +1,18 @@
|
|
|
1
1
|
import {
|
|
2
|
-
|
|
3
|
-
} from "./
|
|
2
|
+
Service48
|
|
3
|
+
} from "./location-service-map-9x70wdpr.js";
|
|
4
4
|
import {
|
|
5
|
-
|
|
6
|
-
} from "./
|
|
5
|
+
Service57
|
|
6
|
+
} from "./location-service-map-6fgbakp6.js";
|
|
7
7
|
import {
|
|
8
8
|
__export
|
|
9
|
-
} from "./
|
|
9
|
+
} from "./location-service-map-9rqn6x4v.js";
|
|
10
10
|
|
|
11
11
|
// src/tool/plugin/question.ts
|
|
12
12
|
var exports_question = {};
|
|
13
13
|
__export(exports_question, {
|
|
14
14
|
CancelledError: () => CancelledError2,
|
|
15
|
-
Input: () =>
|
|
15
|
+
Input: () => Input13,
|
|
16
16
|
Output: () => Output9,
|
|
17
17
|
Plugin: () => Plugin45,
|
|
18
18
|
QuestionTool: () => exports_question,
|
|
@@ -34,7 +34,7 @@ Usage notes:
|
|
|
34
34
|
- A "Type your own answer" option is added automatically; don't include a separate option for free form answers
|
|
35
35
|
- Set \`multiple: true\` to allow selecting more than one option
|
|
36
36
|
- If you recommend a specific option, make that the first option in the list and add "(Recommended)" at the end of the label`;
|
|
37
|
-
var
|
|
37
|
+
var Input13 = Schema.Struct({
|
|
38
38
|
questions: Schema.Array(Question.Prompt).check(Schema.isNonEmpty()).annotate({ description: "Questions to ask" })
|
|
39
39
|
});
|
|
40
40
|
var Output9 = Schema.Struct({
|
|
@@ -53,13 +53,13 @@ var toModelContent7 = (questions, answers) => {
|
|
|
53
53
|
var Plugin45 = {
|
|
54
54
|
id: "opencode.tool.question",
|
|
55
55
|
effect: Effect.fn("QuestionTool.Plugin")(function* (ctx) {
|
|
56
|
-
const forms = yield*
|
|
57
|
-
const permission = yield*
|
|
56
|
+
const forms = yield* Service48;
|
|
57
|
+
const permission = yield* Service57;
|
|
58
58
|
yield* ctx.tool.transform((editor) => editor.add({
|
|
59
59
|
name: name13,
|
|
60
60
|
options: { codemode: false },
|
|
61
61
|
description: description6,
|
|
62
|
-
input:
|
|
62
|
+
input: Input13,
|
|
63
63
|
output: Output9,
|
|
64
64
|
execute: (input, context) => permission.assert({
|
|
65
65
|
action: "question",
|
|
@@ -115,4 +115,4 @@ function toField(question, index) {
|
|
|
115
115
|
};
|
|
116
116
|
}
|
|
117
117
|
|
|
118
|
-
export { name13, description6,
|
|
118
|
+
export { name13, description6, Input13, Output9, CancelledError2, toModelContent7, Plugin45, exports_question };
|
|
@@ -1,15 +1,15 @@
|
|
|
1
1
|
import {
|
|
2
2
|
PositiveInt2
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./location-service-map-922hggd3.js";
|
|
4
4
|
import {
|
|
5
5
|
__export
|
|
6
|
-
} from "./
|
|
6
|
+
} from "./location-service-map-9rqn6x4v.js";
|
|
7
7
|
|
|
8
8
|
// src/v1/config/provider.ts
|
|
9
9
|
var exports_provider2 = {};
|
|
10
10
|
__export(exports_provider2, {
|
|
11
11
|
ConfigProviderV1: () => exports_provider2,
|
|
12
|
-
Info: () =>
|
|
12
|
+
Info: () => Info19,
|
|
13
13
|
Model: () => Model2,
|
|
14
14
|
ModelStatus: () => ModelStatus2
|
|
15
15
|
});
|
|
@@ -61,7 +61,7 @@ var Model2 = Schema.Struct({
|
|
|
61
61
|
disabled: Schema.optional(Schema.Boolean).annotate({ description: "Disable this variant for the model" })
|
|
62
62
|
}), [Schema.Record(Schema.String, Schema.Any)])).annotate({ description: "Variant-specific configuration" }))
|
|
63
63
|
});
|
|
64
|
-
var
|
|
64
|
+
var Info19 = Schema.Struct({
|
|
65
65
|
api: Schema.optional(Schema.String),
|
|
66
66
|
name: Schema.optional(Schema.String),
|
|
67
67
|
env: Schema.optional(Schema.mutable(Schema.Array(Schema.String))),
|
|
@@ -95,4 +95,4 @@ var Info21 = Schema.Struct({
|
|
|
95
95
|
models: Schema.optional(Schema.Record(Schema.String, Model2))
|
|
96
96
|
}).annotate({ identifier: "ProviderConfig" });
|
|
97
97
|
|
|
98
|
-
export { ModelStatus2, Model2,
|
|
98
|
+
export { ModelStatus2, Model2, Info19, exports_provider2 };
|
|
@@ -2,17 +2,17 @@ import {
|
|
|
2
2
|
NonNegativeInt2,
|
|
3
3
|
PositiveInt2,
|
|
4
4
|
RelativePath2
|
|
5
|
-
} from "./
|
|
5
|
+
} from "./location-service-map-922hggd3.js";
|
|
6
6
|
import {
|
|
7
7
|
Service65,
|
|
8
8
|
node69
|
|
9
|
-
} from "./
|
|
9
|
+
} from "./location-service-map-16qsj906.js";
|
|
10
10
|
import {
|
|
11
11
|
RipgrepBinary2
|
|
12
|
-
} from "./
|
|
12
|
+
} from "./location-service-map-8d7r5vzw.js";
|
|
13
13
|
import {
|
|
14
14
|
__export
|
|
15
|
-
} from "./
|
|
15
|
+
} from "./location-service-map-9rqn6x4v.js";
|
|
16
16
|
|
|
17
17
|
// src/ripgrep.ts
|
|
18
18
|
var exports_ripgrep = {};
|
|
@@ -20,8 +20,8 @@ __export(exports_ripgrep, {
|
|
|
20
20
|
Error: () => Error2,
|
|
21
21
|
InvalidPatternError: () => InvalidPatternError2,
|
|
22
22
|
Ripgrep: () => exports_ripgrep,
|
|
23
|
-
Service: () =>
|
|
24
|
-
node: () =>
|
|
23
|
+
Service: () => Service20,
|
|
24
|
+
node: () => node23
|
|
25
25
|
});
|
|
26
26
|
import { Context, Effect, Fiber, Layer, Schema, Stream } from "effect";
|
|
27
27
|
import { ChildProcess } from "effect/unstable/process";
|
|
@@ -58,12 +58,12 @@ class InvalidPatternError2 extends Schema.TaggedError()("Ripgrep.InvalidPatternE
|
|
|
58
58
|
}) {
|
|
59
59
|
}
|
|
60
60
|
|
|
61
|
-
class
|
|
61
|
+
class Service20 extends Context.Service()("@opencode/Ripgrep") {
|
|
62
62
|
}
|
|
63
63
|
var failure = (message, cause) => new Error2({ message, cause });
|
|
64
64
|
var normalizePath = (value) => value.replace(/^(?:\.[\\/])+/u, "").replace(/^[\\/]+/u, "").replaceAll("\\", "/");
|
|
65
65
|
var isInvalidPattern = (stderr) => stderr.includes("regex parse error") || stderr.includes("error parsing regex");
|
|
66
|
-
var layer = Layer.effect(
|
|
66
|
+
var layer = Layer.effect(Service20, Effect.gen(function* () {
|
|
67
67
|
const environment = yield* Service65;
|
|
68
68
|
const binary = yield* RipgrepBinary2.Service;
|
|
69
69
|
const run = (input) => {
|
|
@@ -92,7 +92,7 @@ var layer = Layer.effect(Service18, Effect.gen(function* () {
|
|
|
92
92
|
const abortable = input.signal ? program.pipe(Effect.raceFirst(waitForAbort(input.signal))) : program;
|
|
93
93
|
return abortable.pipe(Effect.mapError((cause) => cause instanceof Error2 || cause instanceof InvalidPatternError2 ? cause : failure("ripgrep execution failed", cause)));
|
|
94
94
|
};
|
|
95
|
-
return
|
|
95
|
+
return Service20.of({
|
|
96
96
|
glob: (input) => run({
|
|
97
97
|
cwd: input.cwd,
|
|
98
98
|
limit: input.limit,
|
|
@@ -174,6 +174,6 @@ var layer = Layer.effect(Service18, Effect.gen(function* () {
|
|
|
174
174
|
}))))
|
|
175
175
|
});
|
|
176
176
|
}));
|
|
177
|
-
var
|
|
177
|
+
var node23 = makeLocationNode({ service: Service20, layer, deps: [node69, RipgrepBinary2.node] });
|
|
178
178
|
|
|
179
|
-
export { Error2, InvalidPatternError2,
|
|
179
|
+
export { Error2, InvalidPatternError2, Service20, node23, exports_ripgrep };
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import {
|
|
2
2
|
__export
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./location-service-map-9rqn6x4v.js";
|
|
4
4
|
|
|
5
5
|
// src/instructions/index.ts
|
|
6
6
|
var exports_instructions6 = {};
|
|
@@ -10,7 +10,7 @@ __export(exports_instructions6, {
|
|
|
10
10
|
Hash: () => Hash2,
|
|
11
11
|
InitializationBlocked: () => InitializationBlocked2,
|
|
12
12
|
Instructions: () => exports_instructions6,
|
|
13
|
-
Key: () =>
|
|
13
|
+
Key: () => Key3,
|
|
14
14
|
Values: () => Values2,
|
|
15
15
|
applyHashDelta: () => applyHashDelta2,
|
|
16
16
|
combine: () => combine2,
|
|
@@ -18,7 +18,7 @@ __export(exports_instructions6, {
|
|
|
18
18
|
diffByKey: () => diffByKey2,
|
|
19
19
|
empty: () => empty3,
|
|
20
20
|
hash: () => hash2,
|
|
21
|
-
make: () =>
|
|
21
|
+
make: () => make20,
|
|
22
22
|
read: () => read3,
|
|
23
23
|
removed: () => removed2,
|
|
24
24
|
renderInitial: () => renderInitial2,
|
|
@@ -28,7 +28,7 @@ __export(exports_instructions6, {
|
|
|
28
28
|
import { createHash } from "crypto";
|
|
29
29
|
import { Instruction } from "@opencode/schema/instruction";
|
|
30
30
|
import { Data, Effect, Option, Schema } from "effect";
|
|
31
|
-
var
|
|
31
|
+
var Key3 = Instruction.Key;
|
|
32
32
|
var Hash2 = Instruction.Hash;
|
|
33
33
|
var Values2 = Instruction.Values;
|
|
34
34
|
var Delta2 = Instruction.Delta;
|
|
@@ -36,21 +36,21 @@ var NonValue = Data.taggedEnum();
|
|
|
36
36
|
var unavailable3 = NonValue.Unavailable();
|
|
37
37
|
var removed2 = NonValue.Removed();
|
|
38
38
|
|
|
39
|
-
class InitializationBlocked2 extends Schema.TaggedError()("Instructions.InitializationBlocked", { keys: Schema.Array(
|
|
39
|
+
class InitializationBlocked2 extends Schema.TaggedError()("Instructions.InitializationBlocked", { keys: Schema.Array(Key3) }) {
|
|
40
40
|
get message() {
|
|
41
41
|
return `Instruction initialization blocked by unavailable sources: ${this.keys.join(", ")}`;
|
|
42
42
|
}
|
|
43
43
|
}
|
|
44
44
|
|
|
45
45
|
class DuplicateKeyError2 extends Schema.TaggedError()("Instructions.DuplicateKeyError", {
|
|
46
|
-
key:
|
|
46
|
+
key: Key3
|
|
47
47
|
}) {
|
|
48
48
|
get message() {
|
|
49
49
|
return `Duplicate instruction key: ${this.key}`;
|
|
50
50
|
}
|
|
51
51
|
}
|
|
52
52
|
var empty3 = [];
|
|
53
|
-
function
|
|
53
|
+
function make20(source) {
|
|
54
54
|
const decode = Schema.decodeUnknownOption(source.codec);
|
|
55
55
|
const encode = Schema.encodeSync(source.codec);
|
|
56
56
|
const initial = (value) => requireText(source.key, "initial", source.render.initial(value));
|
|
@@ -193,4 +193,4 @@ function requireText(key, kind, text) {
|
|
|
193
193
|
return text;
|
|
194
194
|
}
|
|
195
195
|
|
|
196
|
-
export {
|
|
196
|
+
export { Key3, Hash2, Values2, Delta2, unavailable3, removed2, InitializationBlocked2, DuplicateKeyError2, empty3, make20, combine2, read3, diff2, renderInitial2, renderUpdate2, hash2, applyHashDelta2, diffByKey2, exports_instructions6 };
|
|
@@ -1,22 +1,22 @@
|
|
|
1
1
|
import {
|
|
2
2
|
useragent2
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./location-service-map-1g2ww1p9.js";
|
|
4
4
|
import {
|
|
5
|
-
|
|
6
|
-
} from "./
|
|
5
|
+
ID16
|
|
6
|
+
} from "./location-service-map-npntah3r.js";
|
|
7
7
|
import {
|
|
8
8
|
iife2
|
|
9
|
-
} from "./
|
|
9
|
+
} from "./location-service-map-1kg9ymc8.js";
|
|
10
10
|
import {
|
|
11
11
|
configuredSettings2
|
|
12
|
-
} from "./
|
|
12
|
+
} from "./location-service-map-fbddvgjq.js";
|
|
13
13
|
|
|
14
14
|
// src/plugin/provider/cloudflare-ai-gateway.ts
|
|
15
15
|
import os from "os";
|
|
16
16
|
import { Effect, Option, Schema } from "effect";
|
|
17
17
|
import { define } from "@opencode/plugin/effect/plugin";
|
|
18
18
|
import { Form } from "@opencode/schema/form";
|
|
19
|
-
var providerID =
|
|
19
|
+
var providerID = ID16.make("cloudflare-ai-gateway");
|
|
20
20
|
var CloudflareAIGatewayPlugin2 = define({
|
|
21
21
|
id: "opencode.provider.cloudflare.ai.gateway",
|
|
22
22
|
effect: Effect.fn(function* (ctx) {
|
|
@@ -1,15 +1,15 @@
|
|
|
1
1
|
import {
|
|
2
2
|
__export
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./location-service-map-9rqn6x4v.js";
|
|
4
4
|
|
|
5
5
|
// src/v1/config/command.ts
|
|
6
6
|
var exports_command5 = {};
|
|
7
7
|
__export(exports_command5, {
|
|
8
8
|
ConfigCommandV1: () => exports_command5,
|
|
9
|
-
Info: () =>
|
|
9
|
+
Info: () => Info11
|
|
10
10
|
});
|
|
11
11
|
import { Schema } from "effect";
|
|
12
|
-
var
|
|
12
|
+
var Info11 = Schema.Struct({
|
|
13
13
|
template: Schema.String,
|
|
14
14
|
description: Schema.optional(Schema.String),
|
|
15
15
|
agent: Schema.optional(Schema.String),
|
|
@@ -18,4 +18,4 @@ var Info18 = Schema.Struct({
|
|
|
18
18
|
subtask: Schema.optional(Schema.Boolean)
|
|
19
19
|
});
|
|
20
20
|
|
|
21
|
-
export {
|
|
21
|
+
export { Info11, exports_command5 };
|
|
@@ -1,13 +1,13 @@
|
|
|
1
1
|
import {
|
|
2
2
|
__export
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./location-service-map-9rqn6x4v.js";
|
|
4
4
|
|
|
5
5
|
// src/tool/plugin/opencode.ts
|
|
6
6
|
var exports_opencode = {};
|
|
7
7
|
__export(exports_opencode, {
|
|
8
8
|
MoveInput: () => MoveInput2,
|
|
9
9
|
OpenCodeTools: () => exports_opencode,
|
|
10
|
-
Plugin: () =>
|
|
10
|
+
Plugin: () => Plugin44,
|
|
11
11
|
RenameInput: () => RenameInput2
|
|
12
12
|
});
|
|
13
13
|
import { SystemPart, ToolFailure } from "@opencode/ai";
|
|
@@ -26,7 +26,7 @@ var MoveInput2 = Schema.Struct({
|
|
|
26
26
|
})
|
|
27
27
|
});
|
|
28
28
|
var MoveOutput = Schema.Struct({ sessionID: Session.ID, directory: AbsolutePath });
|
|
29
|
-
var
|
|
29
|
+
var Plugin44 = {
|
|
30
30
|
id: "opencode.tools",
|
|
31
31
|
effect: Effect.fn("OpenCodeTools.Plugin")(function* (ctx) {
|
|
32
32
|
yield* ctx.session.hook("context", (event) => Effect.sync(() => {
|
|
@@ -74,4 +74,4 @@ var Plugin40 = {
|
|
|
74
74
|
})
|
|
75
75
|
};
|
|
76
76
|
|
|
77
|
-
export { RenameInput2, MoveInput2,
|
|
77
|
+
export { RenameInput2, MoveInput2, Plugin44, exports_opencode };
|
|
@@ -1,28 +1,28 @@
|
|
|
1
1
|
import {
|
|
2
|
-
|
|
3
|
-
} from "./
|
|
2
|
+
Service54
|
|
3
|
+
} from "./location-service-map-nqgwmxz9.js";
|
|
4
4
|
import {
|
|
5
5
|
match2
|
|
6
|
-
} from "./
|
|
6
|
+
} from "./location-service-map-y1fvbwt7.js";
|
|
7
7
|
import {
|
|
8
8
|
observe2
|
|
9
|
-
} from "./
|
|
9
|
+
} from "./location-service-map-qsdy395h.js";
|
|
10
10
|
import {
|
|
11
11
|
__export
|
|
12
|
-
} from "./
|
|
12
|
+
} from "./location-service-map-9rqn6x4v.js";
|
|
13
13
|
|
|
14
14
|
// src/config/plugin/policy.ts
|
|
15
15
|
var exports_policy = {};
|
|
16
16
|
__export(exports_policy, {
|
|
17
17
|
ConfigPolicyPlugin: () => exports_policy,
|
|
18
|
-
Plugin: () =>
|
|
18
|
+
Plugin: () => Plugin16
|
|
19
19
|
});
|
|
20
20
|
import { define } from "@opencode/plugin/effect/plugin";
|
|
21
21
|
import { Effect } from "effect";
|
|
22
|
-
var
|
|
22
|
+
var Plugin16 = define({
|
|
23
23
|
id: "opencode.config.policy",
|
|
24
24
|
effect: Effect.fn(function* (ctx) {
|
|
25
|
-
const config = yield*
|
|
25
|
+
const config = yield* Service54;
|
|
26
26
|
const loaded = yield* observe2(config, ctx.event, ctx.catalog.reload());
|
|
27
27
|
yield* ctx.catalog.transform((catalog) => {
|
|
28
28
|
const policies = loaded.entries.filter((entry) => entry.type === "document").toReversed().flatMap((entry) => entry.info.experimental?.policies ?? []);
|
|
@@ -35,4 +35,4 @@ var Plugin12 = define({
|
|
|
35
35
|
})
|
|
36
36
|
});
|
|
37
37
|
|
|
38
|
-
export {
|
|
38
|
+
export { Plugin16, exports_policy };
|
|
@@ -1,22 +1,22 @@
|
|
|
1
1
|
import {
|
|
2
2
|
isAISDK2,
|
|
3
3
|
packageName2
|
|
4
|
-
} from "./
|
|
4
|
+
} from "./location-service-map-npntah3r.js";
|
|
5
5
|
import {
|
|
6
6
|
__export
|
|
7
|
-
} from "./
|
|
7
|
+
} from "./location-service-map-9rqn6x4v.js";
|
|
8
8
|
|
|
9
9
|
// src/plugin/variant.ts
|
|
10
10
|
var exports_variant = {};
|
|
11
11
|
__export(exports_variant, {
|
|
12
|
-
Plugin: () =>
|
|
12
|
+
Plugin: () => Plugin27,
|
|
13
13
|
VariantPlugin: () => exports_variant,
|
|
14
14
|
generate: () => generate2
|
|
15
15
|
});
|
|
16
16
|
import { Effect } from "effect";
|
|
17
17
|
import { define } from "@opencode/plugin/effect/plugin";
|
|
18
18
|
import { Model } from "@opencode/schema/model";
|
|
19
|
-
var
|
|
19
|
+
var Plugin27 = define({
|
|
20
20
|
id: "opencode.variant",
|
|
21
21
|
effect: Effect.fn(function* (ctx) {
|
|
22
22
|
yield* ctx.catalog.transform((catalog) => {
|
|
@@ -52,4 +52,4 @@ function generate2(model, provider) {
|
|
|
52
52
|
}));
|
|
53
53
|
}
|
|
54
54
|
|
|
55
|
-
export {
|
|
55
|
+
export { Plugin27, generate2, exports_variant };
|
|
@@ -1,18 +1,18 @@
|
|
|
1
1
|
import {
|
|
2
2
|
PositiveInt2
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./location-service-map-922hggd3.js";
|
|
4
4
|
import {
|
|
5
|
-
|
|
6
|
-
} from "./
|
|
5
|
+
Info16
|
|
6
|
+
} from "./location-service-map-g190xswt.js";
|
|
7
7
|
import {
|
|
8
8
|
__export
|
|
9
|
-
} from "./
|
|
9
|
+
} from "./location-service-map-9rqn6x4v.js";
|
|
10
10
|
|
|
11
11
|
// src/v1/config/agent.ts
|
|
12
12
|
var exports_agent3 = {};
|
|
13
13
|
__export(exports_agent3, {
|
|
14
14
|
ConfigAgentV1: () => exports_agent3,
|
|
15
|
-
Info: () =>
|
|
15
|
+
Info: () => Info12
|
|
16
16
|
});
|
|
17
17
|
import { Schema, SchemaGetter } from "effect";
|
|
18
18
|
var Color = Schema.Union([
|
|
@@ -44,7 +44,7 @@ var AgentSchema = Schema.StructWithRest(Schema.Struct({
|
|
|
44
44
|
description: "Maximum number of agentic iterations before forcing text-only response"
|
|
45
45
|
}),
|
|
46
46
|
maxSteps: Schema.optional(PositiveInt2).annotate({ description: "@deprecated Use 'steps' field instead." }),
|
|
47
|
-
permission: Schema.optional(
|
|
47
|
+
permission: Schema.optional(Info16)
|
|
48
48
|
}), [Schema.Record(Schema.String, Schema.Any)]);
|
|
49
49
|
var KNOWN_KEYS = new Set(["name", ...Object.keys(AgentSchema.schema.fields)]);
|
|
50
50
|
var normalize = (agent) => {
|
|
@@ -66,9 +66,9 @@ var normalize = (agent) => {
|
|
|
66
66
|
const steps = agent.steps ?? agent.maxSteps;
|
|
67
67
|
return { ...agent, options, permission, ...steps !== undefined ? { steps } : {} };
|
|
68
68
|
};
|
|
69
|
-
var
|
|
69
|
+
var Info12 = AgentSchema.pipe(Schema.decodeTo(AgentSchema, {
|
|
70
70
|
decode: SchemaGetter.transform(normalize),
|
|
71
71
|
encode: SchemaGetter.passthrough({ strict: false })
|
|
72
72
|
})).annotate({ identifier: "AgentConfig" });
|
|
73
73
|
|
|
74
|
-
export {
|
|
74
|
+
export { Info12, exports_agent3 };
|