@opencode/core 0.0.0-dev-19276 → 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 +81 -81
- package/dist/aisdk-native.js +2 -2
- package/dist/aisdk.js +6 -6
- package/dist/app.js +7 -7
- package/dist/bus.js +67 -67
- package/dist/catalog.js +83 -83
- package/dist/chunks/{bus-gssc8jsq.js → location-service-map-061af93m.js} +31 -31
- package/dist/chunks/{bus-jgy4w7ep.js → location-service-map-076fdf6x.js} +6 -6
- package/dist/chunks/{bus-c5as0yvq.js → location-service-map-0erzq2np.js} +5 -5
- package/dist/chunks/{bus-0mv9cd5d.js → location-service-map-0h6kt2by.js} +22 -22
- package/dist/chunks/{bus-d8ksp3m6.js → location-service-map-0j4fym4e.js} +26 -26
- package/dist/chunks/location-service-map-0mesazry.js +4 -0
- package/dist/chunks/{bus-0paq2nw3.js → location-service-map-0paq2nw3.js} +1 -1
- package/dist/chunks/{bus-0q0f95c6.js → location-service-map-0q0f95c6.js} +1 -1
- package/dist/chunks/{bus-jhtev1kt.js → location-service-map-0r7wabnc.js} +11 -11
- package/dist/chunks/{bus-zn3tg85k.js → location-service-map-0xbgg0nv.js} +7 -7
- package/dist/chunks/{bus-wk2zc65r.js → location-service-map-13vmeyva.js} +11 -11
- package/dist/chunks/{bus-x122gxrn.js → location-service-map-16qsj906.js} +21 -21
- package/dist/chunks/{bus-a87z9vq8.js → location-service-map-1crzq34m.js} +31 -31
- package/dist/chunks/{bus-1dazxqgg.js → location-service-map-1dazxqgg.js} +2 -2
- package/dist/chunks/{bus-0hpxrkyb.js → location-service-map-1dfhrqqs.js} +5 -5
- package/dist/chunks/{bus-xg3sah7k.js → location-service-map-1g2ww1p9.js} +8 -8
- package/dist/chunks/{bus-5rfvnrqe.js → location-service-map-1hmee049.js} +67 -67
- package/dist/chunks/{bus-21r38tys.js → location-service-map-21r38tys.js} +1 -1
- package/dist/chunks/{bus-2402vzrj.js → location-service-map-2402vzrj.js} +1 -1
- package/dist/chunks/{bus-1xeq3jts.js → location-service-map-24ye1wdt.js} +6 -6
- package/dist/chunks/{bus-2a5m3afh.js → location-service-map-2a5m3afh.js} +1 -1
- package/dist/chunks/{bus-t1bk1a1z.js → location-service-map-2aa0fsm0.js} +30 -30
- package/dist/chunks/{bus-yywfy67y.js → location-service-map-2end795d.js} +8 -8
- package/dist/chunks/{bus-p72z5xx6.js → location-service-map-2gfgcbzh.js} +2 -2
- package/dist/chunks/{bus-nd285e9w.js → location-service-map-2m9apge2.js} +13 -13
- package/dist/chunks/{bus-apg01d9p.js → location-service-map-2qwrzt4p.js} +8 -8
- package/dist/chunks/{bus-aypcqpwv.js → location-service-map-2sr0pdaw.js} +27 -27
- package/dist/chunks/{bus-mjncxbbh.js → location-service-map-2y34zzjz.js} +6 -6
- package/dist/chunks/{bus-3pf38fxc.js → location-service-map-30021mhd.js} +22 -22
- package/dist/chunks/{bus-ngtvrv33.js → location-service-map-36vh5heq.js} +30 -30
- package/dist/chunks/{bus-sv9bpgvh.js → location-service-map-37v971k2.js} +5 -5
- package/dist/chunks/{bus-fzhn4ra8.js → location-service-map-3aqv7wxc.js} +25 -25
- package/dist/chunks/{bus-ve6nm2s5.js → location-service-map-3c1tgrea.js} +6 -6
- package/dist/chunks/{bus-3fc6dm20.js → location-service-map-3fc6dm20.js} +1 -1
- package/dist/chunks/{bus-3hepkmqq.js → location-service-map-3hepkmqq.js} +1 -1
- package/dist/chunks/{bus-zcer3j7s.js → location-service-map-3kwjdgrz.js} +16 -16
- package/dist/chunks/{bus-3smtnn6g.js → location-service-map-3smtnn6g.js} +1 -1
- package/dist/chunks/{bus-3tvqynh2.js → location-service-map-3tvqynh2.js} +1 -1
- package/dist/chunks/{bus-kc6sgx3t.js → location-service-map-41gq8gm7.js} +16 -16
- package/dist/chunks/{bus-sma03fcp.js → location-service-map-4796q64q.js} +9 -9
- package/dist/chunks/{bus-hjt4xg1x.js → location-service-map-47gsdddb.js} +7 -7
- package/dist/chunks/{bus-h8507pfw.js → location-service-map-4hzyr4ps.js} +8 -8
- package/dist/chunks/{bus-jy16bfac.js → location-service-map-4rt6grj7.js} +1 -1
- package/dist/chunks/{bus-50wkfpjr.js → location-service-map-4tj7k7mp.js} +24 -24
- package/dist/chunks/{bus-d1r5081s.js → location-service-map-4v4bfvma.js} +5 -5
- package/dist/chunks/{bus-8dt4t099.js → location-service-map-4vgmnd2k.js} +4 -4
- package/dist/chunks/{bus-bzke21cp.js → location-service-map-4x7wp6bv.js} +33 -33
- package/dist/chunks/{bus-qr27hz8v.js → location-service-map-4zned0t3.js} +4 -4
- package/dist/chunks/{bus-e010nfwn.js → location-service-map-4zpskbgw.js} +20 -20
- package/dist/chunks/{bus-1rsjtwsx.js → location-service-map-54rgpan3.js} +81 -81
- package/dist/chunks/{bus-a1bz86dw.js → location-service-map-5c4hm403.js} +3 -3
- package/dist/chunks/{bus-t62yyj2t.js → location-service-map-5c7att9k.js} +10 -10
- package/dist/chunks/{bus-5daktx2q.js → location-service-map-5daktx2q.js} +1 -1
- package/dist/chunks/{bus-bwer0mcv.js → location-service-map-5gn61kgv.js} +25 -25
- package/dist/chunks/{bus-1ah30sey.js → location-service-map-5h8vdksd.js} +5 -5
- package/dist/chunks/{bus-1st7a56d.js → location-service-map-5jg3sy5t.js} +24 -24
- package/dist/chunks/{bus-8ev9m3kr.js → location-service-map-5nh6m5vw.js} +23 -23
- package/dist/chunks/{bus-5t3nmthw.js → location-service-map-5t3nmthw.js} +2 -2
- package/dist/chunks/location-service-map-5tkdef88.js +462 -0
- package/dist/chunks/{bus-pzh16mkn.js → location-service-map-5z63511r.js} +9 -9
- package/dist/chunks/{bus-psvegz14.js → location-service-map-61tk1b3w.js} +13 -13
- package/dist/chunks/{bus-669tq793.js → location-service-map-669tq793.js} +1 -1
- package/dist/chunks/{bus-btekesqw.js → location-service-map-66fdfd31.js} +13 -13
- package/dist/chunks/{bus-4xdz4snq.js → location-service-map-67eqsqcw.js} +11 -11
- package/dist/chunks/{bus-ek27wd5s.js → location-service-map-67rqfjp4.js} +9 -9
- package/dist/chunks/{bus-q1f45d8g.js → location-service-map-6cf0kwbj.js} +24 -24
- package/dist/chunks/{bus-k6avkgtn.js → location-service-map-6cm37j9r.js} +3 -3
- package/dist/chunks/{bus-czkgr94f.js → location-service-map-6dxh1ctg.js} +4 -4
- package/dist/chunks/{bus-q1a91n7k.js → location-service-map-6e1ynkjd.js} +4 -4
- package/dist/chunks/{bus-7wh9hy1a.js → location-service-map-6fgbakp6.js} +53 -53
- package/dist/chunks/{bus-gsx0ryk4.js → location-service-map-6jnybvqn.js} +9 -9
- package/dist/chunks/{bus-6msgmcgs.js → location-service-map-6msgmcgs.js} +1 -1
- package/dist/chunks/{bus-e0prvjnp.js → location-service-map-6rsdt8e9.js} +2 -2
- package/dist/chunks/location-service-map-6z5nery6.js +247 -0
- package/dist/chunks/{bus-71q4at8m.js → location-service-map-71q4at8m.js} +1 -1
- package/dist/chunks/{bus-s38pncdy.js → location-service-map-76fg4f71.js} +22 -22
- package/dist/chunks/{bus-vfsjdgra.js → location-service-map-77gr2wf6.js} +15 -15
- package/dist/chunks/{bus-7bmhse3q.js → location-service-map-7bmhse3q.js} +1 -1
- package/dist/chunks/{bus-2k8khapm.js → location-service-map-7dqw4kz8.js} +5 -5
- package/dist/chunks/{bus-pb7ssnfd.js → location-service-map-7gepjn4b.js} +11 -11
- package/dist/chunks/{bus-cw1ehra3.js → location-service-map-7qr4d326.js} +41 -41
- package/dist/chunks/{bus-151sq2qz.js → location-service-map-7v6bx775.js} +6 -6
- package/dist/chunks/{bus-d9q0n3sf.js → location-service-map-80t34wb3.js} +11 -11
- package/dist/chunks/{bus-81swgkk7.js → location-service-map-81swgkk7.js} +2 -2
- package/dist/chunks/{bus-wg7k3gk9.js → location-service-map-841pgex1.js} +27 -27
- package/dist/chunks/{bus-92j3apgd.js → location-service-map-8b2cqggs.js} +34 -34
- package/dist/chunks/{bus-23t95pj9.js → location-service-map-8ce9gjz0.js} +36 -36
- package/dist/chunks/{bus-8d7r5vzw.js → location-service-map-8d7r5vzw.js} +1 -1
- package/dist/chunks/{bus-65d7re2p.js → location-service-map-8dnnpvxn.js} +19 -19
- package/dist/chunks/{bus-njct8jvz.js → location-service-map-8gnjjt4m.js} +16 -16
- package/dist/chunks/{bus-dc76j9wz.js → location-service-map-8sghyhzw.js} +8 -8
- package/dist/chunks/{bus-n31fqgg2.js → location-service-map-8v0m4qy5.js} +11 -11
- package/dist/chunks/{bus-6pfbz9y2.js → location-service-map-8w01z9h0.js} +10 -10
- package/dist/chunks/{bus-80e0yyk8.js → location-service-map-907sgp7f.js} +12 -12
- package/dist/chunks/{bus-10761f79.js → location-service-map-9095qaaa.js} +21 -21
- package/dist/chunks/{bus-91ahjgzv.js → location-service-map-93cx6esp.js} +11 -11
- package/dist/chunks/{bus-348phf0m.js → location-service-map-98wajpgs.js} +4 -4
- package/dist/chunks/{bus-d1dwjz3j.js → location-service-map-9hmzd01s.js} +46 -46
- package/dist/chunks/{bus-wa2dac04.js → location-service-map-9x70wdpr.js} +24 -24
- package/dist/chunks/location-service-map-9zdhvgqs.js +18 -0
- package/dist/chunks/location-service-map-a25zw1br.js +22 -0
- package/dist/chunks/{bus-hzc8qab0.js → location-service-map-a78p0fgv.js} +12 -12
- package/dist/chunks/{bus-39aa7p7s.js → location-service-map-aa78bncg.js} +83 -83
- package/dist/chunks/{bus-wnpr5qws.js → location-service-map-aabn5n86.js} +6 -6
- package/dist/chunks/{bus-aaet6srn.js → location-service-map-aaet6srn.js} +2 -2
- package/dist/chunks/{bus-v2ejn755.js → location-service-map-ae8ff96s.js} +28 -28
- package/dist/chunks/{bus-0j044k52.js → location-service-map-amphtb7h.js} +8 -8
- package/dist/chunks/{bus-844ef7ks.js → location-service-map-asmz7wyz.js} +8 -8
- package/dist/chunks/{bus-y4m39d6z.js → location-service-map-az24r0qy.js} +37 -37
- package/dist/chunks/{bus-b6gygkdw.js → location-service-map-b6gygkdw.js} +2 -2
- package/dist/chunks/{bus-9ge5qtph.js → location-service-map-b6pgh42p.js} +11 -11
- package/dist/chunks/{bus-wc7hea4z.js → location-service-map-b7wf9cse.js} +15 -15
- package/dist/chunks/{bus-kpvyk30t.js → location-service-map-b8b3f19r.js} +9 -9
- package/dist/chunks/{bus-5cn90sgv.js → location-service-map-bfvgachw.js} +17 -17
- package/dist/chunks/{bus-dtj5a7tc.js → location-service-map-bk4s3tx3.js} +55 -55
- package/dist/chunks/{bus-dg9v98ve.js → location-service-map-bwzhs6r2.js} +20 -20
- package/dist/chunks/{bus-5dcvxp1d.js → location-service-map-c7g3redb.js} +18 -18
- package/dist/chunks/{bus-caq2c48b.js → location-service-map-capp4e5v.js} +9 -9
- package/dist/chunks/{bus-678ce1rn.js → location-service-map-cy3hhnd8.js} +7 -7
- package/dist/chunks/{bus-z1b1h7dj.js → location-service-map-d0hhfdg4.js} +7 -7
- package/dist/chunks/{bus-mtft99cd.js → location-service-map-d2aac7k2.js} +5 -5
- package/dist/chunks/{bus-8p4f9s12.js → location-service-map-dj2t23y0.js} +2 -2
- package/dist/chunks/{bus-zkqxbvht.js → location-service-map-dm6exe3b.js} +13 -13
- package/dist/chunks/{bus-y71avatq.js → location-service-map-dpkg50ah.js} +4 -4
- package/dist/chunks/{bus-rp6fyjtn.js → location-service-map-dz2mtk21.js} +10 -10
- package/dist/chunks/{bus-wpcdczfe.js → location-service-map-eaxv9vp3.js} +11 -11
- package/dist/chunks/{bus-h2gxeskk.js → location-service-map-eedqqt57.js} +7 -7
- package/dist/chunks/{bus-ftezeqv3.js → location-service-map-ensq9cxs.js} +15 -15
- package/dist/chunks/{bus-gvphacjb.js → location-service-map-er71arxf.js} +12 -12
- package/dist/chunks/{bus-etq0c3wd.js → location-service-map-etq0c3wd.js} +1 -1
- package/dist/chunks/{bus-03tt90jk.js → location-service-map-f3j7ywnm.js} +6 -6
- package/dist/chunks/{bus-08c8ha06.js → location-service-map-f4p5cr8k.js} +14 -14
- package/dist/chunks/{bus-31dz7cp4.js → location-service-map-f5h9zjps.js} +1 -1
- package/dist/chunks/{bus-t2zw4ehs.js → location-service-map-f64330d9.js} +5 -5
- package/dist/chunks/{bus-cq37gk0t.js → location-service-map-fab8hzt3.js} +4 -4
- package/dist/chunks/{bus-j3ewftxc.js → location-service-map-fbddvgjq.js} +7 -7
- package/dist/chunks/{bus-g81r2fbr.js → location-service-map-fjjp0bek.js} +17 -17
- package/dist/chunks/{bus-f9bavhm2.js → location-service-map-fnf4x40q.js} +1 -1
- package/dist/chunks/{bus-fxbjtjnd.js → location-service-map-fxbjtjnd.js} +1 -1
- package/dist/chunks/{bus-kk00bynn.js → location-service-map-g190xswt.js} +21 -21
- package/dist/chunks/{bus-vwwyt62p.js → location-service-map-g2xbs3ev.js} +4 -4
- package/dist/chunks/{bus-aj64j3za.js → location-service-map-g46phx72.js} +9 -9
- package/dist/chunks/{bus-xfpdx5t3.js → location-service-map-gb30xeaa.js} +7 -7
- package/dist/chunks/{bus-seggh8xt.js → location-service-map-gczbgzva.js} +9 -9
- package/dist/chunks/{bus-gd4qta3r.js → location-service-map-gd4qta3r.js} +1 -1
- package/dist/chunks/{bus-gv6a8nnw.js → location-service-map-gv6a8nnw.js} +2 -2
- package/dist/chunks/{bus-h03wrkyp.js → location-service-map-h03wrkyp.js} +2 -2
- package/dist/chunks/{bus-6bs0ze1e.js → location-service-map-h4kyb941.js} +15 -15
- package/dist/chunks/{bus-h6vf3j39.js → location-service-map-h6vf3j39.js} +1 -1
- package/dist/chunks/{bus-6e18hcte.js → location-service-map-hbtjffsn.js} +42 -42
- package/dist/chunks/{bus-f828m53h.js → location-service-map-hdnk95c8.js} +2 -2
- package/dist/chunks/{bus-2vs2nh1n.js → location-service-map-hn57h045.js} +4 -4
- package/dist/chunks/{bus-ty14kxfn.js → location-service-map-hsg9k7t6.js} +16 -16
- package/dist/chunks/{bus-xbrnje9f.js → location-service-map-hvbks3tt.js} +8 -8
- package/dist/chunks/{bus-3hjtj8hn.js → location-service-map-hznkg6qn.js} +32 -32
- package/dist/chunks/{bus-qqtwvk4z.js → location-service-map-j15mfg1p.js} +6 -6
- package/dist/chunks/{bus-zt0w0vav.js → location-service-map-j28tp19m.js} +21 -21
- package/dist/chunks/{bus-j56e64zr.js → location-service-map-j56e64zr.js} +1 -1
- package/dist/chunks/{bus-d931vq23.js → location-service-map-jgvckwgj.js} +2 -2
- package/dist/chunks/{bus-1vqcz3hm.js → location-service-map-jmaqwnm5.js} +33 -33
- package/dist/chunks/{bus-k0k8y9a7.js → location-service-map-jrv1xbev.js} +3 -3
- package/dist/chunks/{bus-rac1zgpy.js → location-service-map-jv9ns0w3.js} +32 -32
- package/dist/chunks/{bus-zpsh6c0j.js → location-service-map-jywbac0n.js} +22 -22
- package/dist/chunks/{bus-kg06axw8.js → location-service-map-kg06axw8.js} +1 -1
- package/dist/chunks/{bus-8t1wrec1.js → location-service-map-kk8h1mek.js} +8 -8
- package/dist/chunks/{bus-7wsvn7dg.js → location-service-map-kqa41daq.js} +18 -18
- package/dist/chunks/{bus-weeegdkk.js → location-service-map-krm5fbzy.js} +9 -9
- package/dist/chunks/{bus-cfpkc3c9.js → location-service-map-m0jqrx5p.js} +2 -2
- package/dist/chunks/{bus-4d5vyrnh.js → location-service-map-m24xnkg2.js} +11 -11
- package/dist/chunks/{bus-m9w0rfyh.js → location-service-map-m9w0rfyh.js} +1 -1
- package/dist/chunks/{bus-mfqp6xfm.js → location-service-map-mfqp6xfm.js} +2 -2
- package/dist/chunks/{bus-73tb2d7t.js → location-service-map-mhkvc446.js} +3 -3
- package/dist/chunks/{bus-mkcjrzeh.js → location-service-map-mkcjrzeh.js} +1 -1
- package/dist/chunks/{bus-hj7jnvhr.js → location-service-map-mm89s5e8.js} +6 -6
- package/dist/chunks/{bus-9sg3cs2t.js → location-service-map-ms0zmdaj.js} +16 -16
- package/dist/chunks/{bus-6p3xbzsx.js → location-service-map-msq0jde0.js} +4 -4
- package/dist/chunks/{bus-2vdmvhdx.js → location-service-map-mwps40g7.js} +30 -30
- package/dist/chunks/{bus-swf6f7p9.js → location-service-map-mzv60zsr.js} +11 -11
- package/dist/chunks/{bus-v8ch97zc.js → location-service-map-n3p3jf1x.js} +1 -1
- package/dist/chunks/{bus-bjt4k7v3.js → location-service-map-n8ja4s63.js} +14 -14
- package/dist/chunks/{bus-2gv1fy3f.js → location-service-map-n9mdbeqq.js} +15 -15
- package/dist/chunks/{bus-x1t6vezw.js → location-service-map-nhez0whe.js} +10 -10
- package/dist/chunks/{bus-wvzfgg4c.js → location-service-map-nkq24z0e.js} +25 -25
- package/dist/chunks/{bus-2d6j2h4j.js → location-service-map-npntah3r.js} +6 -6
- package/dist/chunks/{bus-zfr0a75a.js → location-service-map-nqgwmxz9.js} +36 -36
- package/dist/chunks/{bus-byaheska.js → location-service-map-nzdya8zy.js} +24 -24
- package/dist/chunks/{bus-p1wf2k30.js → location-service-map-p1wf2k30.js} +2 -2
- package/dist/chunks/{bus-kjcr15p7.js → location-service-map-p33ejz0k.js} +1 -1
- package/dist/chunks/{bus-j935v87r.js → location-service-map-paphc93g.js} +2 -2
- package/dist/chunks/{bus-vgedysxv.js → location-service-map-pdpf3tt7.js} +13 -13
- package/dist/chunks/{bus-pjvnvgmy.js → location-service-map-pjvnvgmy.js} +1 -1
- package/dist/chunks/{bus-pknna89w.js → location-service-map-pknna89w.js} +1 -1
- package/dist/chunks/{bus-qpes22qe.js → location-service-map-ps8w6tdx.js} +17 -17
- package/dist/chunks/{bus-vezrvrpz.js → location-service-map-pzx9vzqb.js} +17 -17
- package/dist/chunks/{bus-54c6103e.js → location-service-map-q0dj6ebj.js} +22 -22
- package/dist/chunks/{bus-5jtdmvnp.js → location-service-map-q2h0z8ma.js} +1 -1
- package/dist/chunks/{bus-7v401y1c.js → location-service-map-qak59w04.js} +9 -9
- package/dist/chunks/{bus-t2g8y53t.js → location-service-map-qej9sj1w.js} +11 -11
- package/dist/chunks/{bus-refnp3pv.js → location-service-map-qgde9kn8.js} +4 -4
- package/dist/chunks/{bus-6amate8q.js → location-service-map-qgxb7vr4.js} +18 -18
- package/dist/chunks/{bus-trt64bkt.js → location-service-map-qjn3382e.js} +11 -11
- package/dist/chunks/{bus-qsdy395h.js → location-service-map-qsdy395h.js} +1 -1
- package/dist/chunks/{bus-vmq7ehpy.js → location-service-map-qte5z7bc.js} +5 -5
- package/dist/chunks/{bus-z7a0szv5.js → location-service-map-rd0bynaw.js} +14 -14
- package/dist/chunks/{bus-rhjbct0v.js → location-service-map-rhjbct0v.js} +1 -1
- package/dist/chunks/{bus-0czprt7a.js → location-service-map-rsxg3zg0.js} +6 -6
- package/dist/chunks/{bus-jfqtm2ew.js → location-service-map-ryr25ayn.js} +4 -4
- package/dist/chunks/{bus-2wyjv582.js → location-service-map-s534qmrw.js} +4 -4
- package/dist/chunks/{bus-kzvhg9hn.js → location-service-map-s8ab6230.js} +9 -9
- package/dist/chunks/{bus-e07fh9p3.js → location-service-map-s9ysmem1.js} +5 -5
- package/dist/chunks/{bus-h74ge2a2.js → location-service-map-saaf3fxb.js} +11 -11
- package/dist/chunks/{bus-c0bvtzp5.js → location-service-map-sn6jpf3k.js} +20 -20
- package/dist/chunks/{bus-h1vg8afz.js → location-service-map-t0ba7kpe.js} +13 -13
- package/dist/chunks/{bus-3fathxbm.js → location-service-map-t0v1gnpj.js} +7 -7
- package/dist/chunks/{bus-1a592kp3.js → location-service-map-t29szwpj.js} +14 -14
- package/dist/chunks/{bus-tazgh4e4.js → location-service-map-tazgh4e4.js} +1 -1
- package/dist/chunks/{bus-kt9yxkkw.js → location-service-map-tbxt9n2a.js} +8 -8
- package/dist/chunks/{bus-evtq9ncg.js → location-service-map-tc59d7j5.js} +11 -11
- package/dist/chunks/{bus-tcezcvh9.js → location-service-map-tcezcvh9.js} +1 -1
- package/dist/chunks/{bus-tdstcens.js → location-service-map-tdstcens.js} +1 -1
- package/dist/chunks/{bus-vzna85n7.js → location-service-map-tfrhnqth.js} +11 -11
- package/dist/chunks/{bus-esngagfe.js → location-service-map-tftr6m9x.js} +6 -6
- package/dist/chunks/{bus-8pngxq2x.js → location-service-map-tfwap27p.js} +10 -10
- package/dist/chunks/{bus-7c9jbg9y.js → location-service-map-tmjae0pq.js} +20 -20
- package/dist/chunks/{bus-2f0bjgcj.js → location-service-map-tn0aqsam.js} +5 -5
- package/dist/chunks/{bus-76w1t1yj.js → location-service-map-tnkz2q47.js} +1 -1
- package/dist/chunks/{bus-01797ny4.js → location-service-map-tpsh7nep.js} +12 -12
- package/dist/chunks/{bus-tvtrv512.js → location-service-map-tvtrv512.js} +1 -1
- package/dist/chunks/{bus-ex1tnahw.js → location-service-map-v7w426qw.js} +31 -31
- package/dist/chunks/{bus-veqvce7d.js → location-service-map-veqvce7d.js} +1 -1
- package/dist/chunks/{bus-wdnk5teh.js → location-service-map-vjq8w0ct.js} +21 -21
- package/dist/chunks/{bus-3j8sdtpz.js → location-service-map-vncycja5.js} +4 -4
- package/dist/chunks/{bus-c6591jrk.js → location-service-map-vnhrgrcz.js} +41 -41
- package/dist/chunks/{bus-8ja0m408.js → location-service-map-vpytprf9.js} +43 -43
- package/dist/chunks/{bus-kr6jnmgs.js → location-service-map-vqmx0vgv.js} +11 -11
- package/dist/chunks/{bus-vzcthcp8.js → location-service-map-vzcthcp8.js} +1 -1
- package/dist/chunks/{bus-w3wsvvr9.js → location-service-map-w3wsvvr9.js} +1 -1
- package/dist/chunks/{bus-6akyj57t.js → location-service-map-w74r38yk.js} +6 -6
- package/dist/chunks/{bus-9d775fyf.js → location-service-map-w9f4sbje.js} +28 -28
- package/dist/chunks/{bus-a4exdnt3.js → location-service-map-wb3jcy3h.js} +4 -4
- package/dist/chunks/{bus-wd87259q.js → location-service-map-wd87259q.js} +1 -1
- package/dist/chunks/{bus-scz5mjk7.js → location-service-map-wygcwagr.js} +6 -6
- package/dist/chunks/{bus-x1ezjp6w.js → location-service-map-x1ezjp6w.js} +1 -1
- package/dist/chunks/{bus-qmr73083.js → location-service-map-x3d13zqf.js} +1 -1
- package/dist/chunks/{bus-x43y2vfs.js → location-service-map-x43y2vfs.js} +2 -2
- package/dist/chunks/{bus-a1bwf94s.js → location-service-map-xkwrsmqc.js} +8 -8
- package/dist/chunks/{bus-p287w59f.js → location-service-map-xmmda1hq.js} +5 -5
- package/dist/chunks/{bus-xp5q11x6.js → location-service-map-xnfkgz8z.js} +26 -26
- package/dist/chunks/{bus-gw1k03mf.js → location-service-map-xqyszs4f.js} +17 -17
- package/dist/chunks/{bus-mm42hkcz.js → location-service-map-xrgnr4vw.js} +18 -18
- package/dist/chunks/{bus-wh639w33.js → location-service-map-xrywhj35.js} +35 -35
- package/dist/chunks/{bus-9stazftj.js → location-service-map-xtgp4803.js} +159 -159
- package/dist/chunks/{bus-z8xaha1g.js → location-service-map-xtjyn408.js} +12 -12
- package/dist/chunks/{bus-qx44h9xp.js → location-service-map-xvx8vm3y.js} +43 -43
- package/dist/chunks/{bus-j24nh5aa.js → location-service-map-xxs862kg.js} +9 -9
- package/dist/chunks/{bus-2f04pwep.js → location-service-map-xxynqx5z.js} +3 -3
- package/dist/chunks/{bus-gtgj7jsd.js → location-service-map-y0zvy8xh.js} +23 -23
- package/dist/chunks/{bus-a4s3bgbq.js → location-service-map-y0zx1wb0.js} +13 -13
- package/dist/chunks/{bus-y1fvbwt7.js → location-service-map-y1fvbwt7.js} +1 -1
- package/dist/chunks/{bus-qrqp7107.js → location-service-map-y2fvzcwf.js} +16 -16
- package/dist/chunks/{bus-18cztcj7.js → location-service-map-y64575h1.js} +3 -3
- package/dist/chunks/{bus-wh60pg5s.js → location-service-map-y7w5tfeq.js} +10 -10
- package/dist/chunks/{bus-8ga2rbrz.js → location-service-map-y8nnf61w.js} +10 -10
- package/dist/chunks/{bus-bs0x6s8g.js → location-service-map-yap3mhkf.js} +15 -15
- package/dist/chunks/{bus-yp2x3t23.js → location-service-map-yp2x3t23.js} +1 -1
- package/dist/chunks/{bus-yrhqyw5v.js → location-service-map-yrhqyw5v.js} +1 -1
- package/dist/chunks/{bus-s4enseaf.js → location-service-map-yrznvahk.js} +2 -2
- package/dist/chunks/{bus-07770t2t.js → location-service-map-yxc59d7f.js} +6 -6
- package/dist/chunks/{bus-9pqmfa27.js → location-service-map-z00wvf46.js} +3 -3
- package/dist/chunks/{bus-ybbm8fej.js → location-service-map-z0adqxrv.js} +24 -24
- package/dist/chunks/{bus-z0bkrqjs.js → location-service-map-z0bkrqjs.js} +1 -1
- package/dist/chunks/{bus-29x78va6.js → location-service-map-z63w68vq.js} +6 -6
- package/dist/chunks/{bus-zeh9ct20.js → location-service-map-zeh9ct20.js} +2 -2
- package/dist/chunks/{bus-14adtvh1.js → location-service-map-zejb1v11.js} +14 -14
- package/dist/chunks/{bus-45kmc290.js → location-service-map-zhz9x1ck.js} +10 -10
- package/dist/chunks/{bus-zj09a0ew.js → location-service-map-zj09a0ew.js} +1 -1
- package/dist/chunks/{bus-3b5bkbaw.js → location-service-map-zj96yyh5.js} +33 -33
- package/dist/chunks/{bus-prcjvqfg.js → location-service-map-znpwehhw.js} +8 -8
- package/dist/chunks/{bus-zr2ceqn5.js → location-service-map-zr2ceqn5.js} +1 -1
- package/dist/chunks/{bus-zxq2ej10.js → location-service-map-zxq2ej10.js} +1 -1
- package/dist/chunks/{bus-ddexhamb.js → location-service-map-zzx7yemb.js} +27 -27
- package/dist/codemode/catalog.js +1 -1
- package/dist/codemode/instructions.js +11 -11
- package/dist/codemode/tool.js +2 -2
- package/dist/command.js +79 -79
- 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 +113 -113
- 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 +117 -117
- 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 +115 -115
- 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 +117 -117
- 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 +14 -14
- package/dist/database/drizzle/effect-sqlite/index.js +14 -14
- package/dist/database/drizzle/effect-sqlite/session.js +11 -11
- package/dist/database/drizzle/index.js +15 -15
- package/dist/database/drizzle/internal/drizzle-utils.js +1 -1
- package/dist/database/drizzle/sqlite-core/effect/count.js +1 -1
- package/dist/database/drizzle/sqlite-core/effect/db.js +9 -9
- package/dist/database/drizzle/sqlite-core/effect/delete.js +2 -2
- package/dist/database/drizzle/sqlite-core/effect/index.js +10 -10
- package/dist/database/drizzle/sqlite-core/effect/insert.js +2 -2
- package/dist/database/drizzle/sqlite-core/effect/query.js +1 -1
- package/dist/database/drizzle/sqlite-core/effect/raw.js +1 -1
- package/dist/database/drizzle/sqlite-core/effect/select.js +2 -2
- package/dist/database/drizzle/sqlite-core/effect/session.js +10 -10
- package/dist/database/drizzle/sqlite-core/effect/update.js +2 -2
- package/dist/database/drizzle.js +16 -16
- package/dist/database/migration/20260127222353_familiar_lady_ursula.js +1 -1
- package/dist/database/migration/20260211171708_add_project_commands.js +1 -1
- package/dist/database/migration/20260213144116_wakeful_the_professor.js +1 -1
- package/dist/database/migration/20260225215848_workspace.js +1 -1
- package/dist/database/migration/20260227213759_add_session_workspace_id.js +1 -1
- package/dist/database/migration/20260228203230_blue_harpoon.js +1 -1
- package/dist/database/migration/20260303231226_add_workspace_fields.js +1 -1
- package/dist/database/migration/20260309230000_move_org_to_state.js +1 -1
- package/dist/database/migration/20260312043431_session_message_cursor.js +1 -1
- package/dist/database/migration/20260323234822_events.js +1 -1
- package/dist/database/migration/20260410174513_workspace-name.js +1 -1
- package/dist/database/migration/20260413175956_chief_energizer.js +1 -1
- package/dist/database/migration/20260423070820_add_icon_url_override.js +1 -1
- package/dist/database/migration/20260427172553_slow_nightmare.js +1 -1
- package/dist/database/migration/20260428004200_add_session_path.js +1 -1
- package/dist/database/migration/20260501142318_next_venus.js +1 -1
- package/dist/database/migration/20260504145000_add_sync_owner.js +1 -1
- package/dist/database/migration/20260507164347_add_workspace_time.js +1 -1
- package/dist/database/migration/20260510033149_session_usage.js +1 -1
- package/dist/database/migration/20260511000411_data_migration_state.js +1 -1
- package/dist/database/migration/20260511173437_session-metadata.js +1 -1
- package/dist/database/migration/20260601010001_normalize_storage_paths.js +1 -1
- package/dist/database/migration/20260601202201_amazing_prowler.js +1 -1
- package/dist/database/migration/20260602002951_lowly_union_jack.js +1 -1
- package/dist/database/migration/20260602182828_add_project_directories.js +1 -1
- package/dist/database/migration/20260603001617_session_message_projection_indexes.js +1 -1
- package/dist/database/migration/20260603040000_session_message_projection_order.js +1 -1
- package/dist/database/migration/20260603141458_session_input_inbox.js +1 -1
- package/dist/database/migration/20260603160727_jittery_ezekiel_stane.js +1 -1
- package/dist/database/migration/20260604172448_event_sourced_session_input.js +1 -1
- package/dist/database/migration/20260605003541_add_session_context_snapshot.js +1 -1
- package/dist/database/migration/20260605042240_add_context_epoch_agent.js +1 -1
- package/dist/database/migration/20260611035744_credential.js +1 -1
- package/dist/database/migration/20260611192811_lush_chimera.js +1 -1
- package/dist/database/migration/20260612174303_project_dir_strategy.js +1 -1
- package/dist/database/migration/20260622142730_simplify_session_context_epoch.js +1 -1
- package/dist/database/migration/20260622170816_reset_v2_session_state.js +1 -1
- package/dist/database/migration/20260622202450_simplify_session_input.js +1 -1
- package/dist/database/migration/20260804233008_loose_psylocke.js +1 -1
- package/dist/database/migration/20260805200742_import_legacy_credentials.js +1 -1
- package/dist/database/migration/20260808023530_workspace_domain.js +1 -1
- package/dist/database/migration/20260811161259_execution_claim_attempts.js +1 -1
- package/dist/database/migration/20260812181746_session_inbox.js +1 -1
- package/dist/database/migration/20260812213948_worktree.js +1 -1
- package/dist/database/migration/20260819222447_session_viewed_state.js +1 -1
- package/dist/database/migration/20260823191254_nullable_workspace_binding.js +1 -1
- package/dist/database/migration.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 +3 -3
- package/dist/effect/websocket-constructor.js +1 -1
- package/dist/environment/driver.js +1 -1
- package/dist/environment/environment.js +88 -88
- package/dist/environment/exec-defaults.js +2 -2
- package/dist/environment/files.js +1 -1
- package/dist/environment/index.js +90 -90
- 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 +68 -68
- package/dist/file-access.js +99 -99
- package/dist/file-mutation.js +85 -85
- 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 +2 -2
- package/dist/filesystem/location-watcher.js +222 -222
- package/dist/filesystem/protected.js +1 -1
- package/dist/filesystem/search.js +99 -99
- package/dist/filesystem/watcher-binding.js +3 -3
- package/dist/filesystem/watcher.js +15 -15
- package/dist/filesystem.js +96 -96
- package/dist/form.js +82 -82
- package/dist/formatter/builtins.js +4 -4
- package/dist/formatter.js +82 -82
- package/dist/generate.js +85 -85
- 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 +79 -79
- package/dist/instructions/builtins.js +82 -82
- package/dist/instructions/index.js +1 -1
- package/dist/integration/connection.js +1 -1
- package/dist/integration.js +84 -84
- package/dist/job.js +75 -75
- package/dist/kv/sql.js +2 -2
- package/dist/kv.js +71 -71
- package/dist/location-activity.js +128 -128
- 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 +80 -80
- package/dist/mcp/client.js +86 -86
- package/dist/mcp/index.js +93 -93
- 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 +86 -86
- 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 +110 -110
- package/dist/persistent-pty/binary.bun.js +1 -1
- package/dist/persistent-pty/daemon.js +1 -1
- package/dist/persistent-pty/index.js +86 -86
- package/dist/persistent-pty/pty-binding.js +1 -1
- package/dist/persistent-pty.js +73 -73
- package/dist/plugin/agent.js +95 -95
- package/dist/plugin/command.js +94 -94
- package/dist/plugin/hooks.js +5 -5
- 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 +1 -1
- 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 +74 -74
- 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 +340 -340
- 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 +8 -8
- package/dist/plugin/websearch/index.js +8 -8
- package/dist/plugin/websearch/mcp.js +2 -2
- package/dist/plugin/websearch/parallel.js +6 -6
- package/dist/plugin/websearch/tavily.js +6 -6
- package/dist/plugin.js +224 -224
- package/dist/project/schema.js +2 -2
- package/dist/project/sql.js +4 -4
- package/dist/project.js +75 -75
- package/dist/provider.js +5 -5
- package/dist/pty/protocol.js +1 -1
- package/dist/pty/schema.js +3 -3
- package/dist/pty/ticket.js +1 -1
- package/dist/pty.js +94 -94
- 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 +129 -129
- package/dist/session/context.js +147 -147
- package/dist/session/environment.js +5 -5
- package/dist/session/error.js +7 -7
- package/dist/session/event.js +1 -1
- package/dist/session/execution/restart.js +216 -216
- package/dist/session/execution.js +120 -120
- package/dist/session/generate.js +146 -146
- package/dist/session/history.js +15 -15
- package/dist/session/inbox.js +82 -82
- 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 +113 -113
- package/dist/session/model-transport.js +9 -9
- 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 +1 -1
- 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 +119 -119
- package/dist/session/runner/to-llm-message.js +2 -2
- package/dist/session/schema.js +5 -5
- package/dist/session/session.js +169 -169
- package/dist/session/shell.js +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 +205 -205
- package/dist/session/system-prompt.js +5 -5
- package/dist/session/title.js +149 -149
- package/dist/session/to-session-error.js +107 -107
- package/dist/session/transfer.js +212 -212
- package/dist/session/usage.js +1 -1
- package/dist/session.js +211 -211
- 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 +133 -133
- package/dist/skill/discovery.js +6 -6
- package/dist/skill/instructions.js +102 -102
- package/dist/skill.js +105 -105
- package/dist/snapshot.js +84 -84
- 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 +113 -113
- package/dist/tool/plugin/edit.js +115 -115
- package/dist/tool/plugin/file-diff.js +1 -1
- package/dist/tool/plugin/glob.js +118 -118
- package/dist/tool/plugin/grep.js +120 -120
- 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 +104 -104
- package/dist/tool/plugin/subagent.js +214 -214
- package/dist/tool/plugin/webfetch.js +105 -105
- package/dist/tool/plugin/websearch.js +105 -105
- package/dist/tool/plugin/write.js +117 -117
- 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 +7 -7
- package/dist/v1/config/attachment.js +4 -4
- package/dist/v1/config/command.js +3 -3
- package/dist/v1/config/config.js +16 -16
- package/dist/v1/config/error.js +4 -4
- package/dist/v1/config/formatter.js +5 -5
- package/dist/v1/config/layout.js +1 -1
- package/dist/v1/config/lsp.js +5 -5
- package/dist/v1/config/mcp.js +4 -4
- package/dist/v1/config/migrate.js +4 -4
- package/dist/v1/config/permission.js +7 -7
- package/dist/v1/config/plugin.js +3 -3
- package/dist/v1/config/provider-options.js +1 -1
- package/dist/v1/config/provider.js +4 -4
- package/dist/v1/config/server.js +2 -2
- package/dist/v1/config/skills.js +3 -3
- package/dist/v1/permission.js +1 -1
- package/dist/vcs/patch.js +1 -1
- package/dist/vcs.js +85 -85
- package/dist/websearch.js +82 -82
- package/dist/wellknown/plugin.js +74 -74
- package/dist/wellknown.js +77 -77
- package/dist/workspace/driver.js +5 -5
- package/dist/workspace/sql.js +1 -1
- package/dist/workspace.js +76 -76
- 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 +89 -89
- package/package.json +8 -8
- package/dist/chunks/bus-05zf2dx1.js +0 -247
- package/dist/chunks/bus-0kwcw7fy.js +0 -4
- package/dist/chunks/bus-578j099y.js +0 -22
- package/dist/chunks/bus-by5v678g.js +0 -18
- package/dist/chunks/bus-vkrb956e.js +0 -462
- /package/dist/chunks/{bus-0qkdqm5v.js → location-service-map-0qkdqm5v.js} +0 -0
- /package/dist/chunks/{bus-0zkw76rk.js → location-service-map-0zkw76rk.js} +0 -0
- /package/dist/chunks/{bus-17cy0kzp.js → location-service-map-17cy0kzp.js} +0 -0
- /package/dist/chunks/{bus-1cnp2v09.js → location-service-map-1cnp2v09.js} +0 -0
- /package/dist/chunks/{bus-1kg9ymc8.js → location-service-map-1kg9ymc8.js} +0 -0
- /package/dist/chunks/{bus-2710q6r3.js → location-service-map-2710q6r3.js} +0 -0
- /package/dist/chunks/{bus-2axfhc9x.js → location-service-map-2axfhc9x.js} +0 -0
- /package/dist/chunks/{bus-2c3vjs8z.js → location-service-map-2c3vjs8z.js} +0 -0
- /package/dist/chunks/{bus-359p4xyc.js → location-service-map-359p4xyc.js} +0 -0
- /package/dist/chunks/{bus-3asan66x.js → location-service-map-3asan66x.js} +0 -0
- /package/dist/chunks/{bus-3v8g72cx.js → location-service-map-3v8g72cx.js} +0 -0
- /package/dist/chunks/{bus-3w5fmr99.js → location-service-map-3w5fmr99.js} +0 -0
- /package/dist/chunks/{bus-3wcehsnq.js → location-service-map-3wcehsnq.js} +0 -0
- /package/dist/chunks/{bus-43n2bw4t.js → location-service-map-43n2bw4t.js} +0 -0
- /package/dist/chunks/{bus-4knz6hnm.js → location-service-map-4knz6hnm.js} +0 -0
- /package/dist/chunks/{bus-4y7fprxs.js → location-service-map-4y7fprxs.js} +0 -0
- /package/dist/chunks/{bus-53557ph1.js → location-service-map-53557ph1.js} +0 -0
- /package/dist/chunks/{bus-550bvhaj.js → location-service-map-550bvhaj.js} +0 -0
- /package/dist/chunks/{bus-6prwharc.js → location-service-map-6prwharc.js} +0 -0
- /package/dist/chunks/{bus-7akdwqpd.js → location-service-map-7akdwqpd.js} +0 -0
- /package/dist/chunks/{bus-7m9af43g.js → location-service-map-7m9af43g.js} +0 -0
- /package/dist/chunks/{bus-822emrt2.js → location-service-map-822emrt2.js} +0 -0
- /package/dist/chunks/{bus-88xbtdfr.js → location-service-map-88xbtdfr.js} +0 -0
- /package/dist/chunks/{bus-8n3pysct.js → location-service-map-8n3pysct.js} +0 -0
- /package/dist/chunks/{bus-922hggd3.js → location-service-map-922hggd3.js} +0 -0
- /package/dist/chunks/{bus-9a4afbnw.js → location-service-map-9a4afbnw.js} +0 -0
- /package/dist/chunks/{bus-9rqn6x4v.js → location-service-map-9rqn6x4v.js} +0 -0
- /package/dist/chunks/{bus-a1tpkmh4.js → location-service-map-a1tpkmh4.js} +0 -0
- /package/dist/chunks/{bus-a6k6eb26.js → location-service-map-a6k6eb26.js} +0 -0
- /package/dist/chunks/{bus-af5trqkr.js → location-service-map-af5trqkr.js} +0 -0
- /package/dist/chunks/{bus-afrmfg78.js → location-service-map-afrmfg78.js} +0 -0
- /package/dist/chunks/{bus-aqzs7mqg.js → location-service-map-aqzs7mqg.js} +0 -0
- /package/dist/chunks/{bus-atq7p7m5.js → location-service-map-atq7p7m5.js} +0 -0
- /package/dist/chunks/{bus-bkyjaxrp.js → location-service-map-bkyjaxrp.js} +0 -0
- /package/dist/chunks/{bus-bmr6ed5q.js → location-service-map-bmr6ed5q.js} +0 -0
- /package/dist/chunks/{bus-cf4snx6d.js → location-service-map-cf4snx6d.js} +0 -0
- /package/dist/chunks/{bus-cvy3z8tj.js → location-service-map-cvy3z8tj.js} +0 -0
- /package/dist/chunks/{bus-d9fn303g.js → location-service-map-d9fn303g.js} +0 -0
- /package/dist/chunks/{bus-d9jj8t3e.js → location-service-map-d9jj8t3e.js} +0 -0
- /package/dist/chunks/{bus-dajrwvna.js → location-service-map-dajrwvna.js} +0 -0
- /package/dist/chunks/{bus-dap0rakb.js → location-service-map-dap0rakb.js} +0 -0
- /package/dist/chunks/{bus-df08tz66.js → location-service-map-df08tz66.js} +0 -0
- /package/dist/chunks/{bus-dy18nga0.js → location-service-map-dy18nga0.js} +0 -0
- /package/dist/chunks/{bus-e5kj55wp.js → location-service-map-e5kj55wp.js} +0 -0
- /package/dist/chunks/{bus-e73j6tqm.js → location-service-map-e73j6tqm.js} +0 -0
- /package/dist/chunks/{bus-ec1grn59.js → location-service-map-ec1grn59.js} +0 -0
- /package/dist/chunks/{bus-eh3zwz77.js → location-service-map-eh3zwz77.js} +0 -0
- /package/dist/chunks/{bus-emrn6kk6.js → location-service-map-emrn6kk6.js} +0 -0
- /package/dist/chunks/{bus-f0mxakyp.js → location-service-map-f0mxakyp.js} +0 -0
- /package/dist/chunks/{bus-f6n9ztr4.js → location-service-map-f6n9ztr4.js} +0 -0
- /package/dist/chunks/{bus-faypxj3z.js → location-service-map-faypxj3z.js} +0 -0
- /package/dist/chunks/{bus-fd410y7t.js → location-service-map-fd410y7t.js} +0 -0
- /package/dist/chunks/{bus-fxgpk5d8.js → location-service-map-fxgpk5d8.js} +0 -0
- /package/dist/chunks/{bus-g4wezp1m.js → location-service-map-g4wezp1m.js} +0 -0
- /package/dist/chunks/{bus-g86h250q.js → location-service-map-g86h250q.js} +0 -0
- /package/dist/chunks/{bus-gebd4c9n.js → location-service-map-gebd4c9n.js} +0 -0
- /package/dist/chunks/{bus-gftt206x.js → location-service-map-gftt206x.js} +0 -0
- /package/dist/chunks/{bus-hjbc5kem.js → location-service-map-hjbc5kem.js} +0 -0
- /package/dist/chunks/{bus-hk9envan.js → location-service-map-hk9envan.js} +0 -0
- /package/dist/chunks/{bus-hrnqkpcd.js → location-service-map-hrnqkpcd.js} +0 -0
- /package/dist/chunks/{bus-j2ntwpah.js → location-service-map-j2ntwpah.js} +0 -0
- /package/dist/chunks/{bus-j5zkgpj8.js → location-service-map-j5zkgpj8.js} +0 -0
- /package/dist/chunks/{bus-jr7sbwjy.js → location-service-map-jr7sbwjy.js} +0 -0
- /package/dist/chunks/{bus-jwfs4k6c.js → location-service-map-jwfs4k6c.js} +0 -0
- /package/dist/chunks/{bus-jzg6c2d5.js → location-service-map-jzg6c2d5.js} +0 -0
- /package/dist/chunks/{bus-mp448xyj.js → location-service-map-mp448xyj.js} +0 -0
- /package/dist/chunks/{bus-msx8hqn2.js → location-service-map-msx8hqn2.js} +0 -0
- /package/dist/chunks/{bus-n05xt0ee.js → location-service-map-n05xt0ee.js} +0 -0
- /package/dist/chunks/{bus-n3j8tn72.js → location-service-map-n3j8tn72.js} +0 -0
- /package/dist/chunks/{bus-njntx4h6.js → location-service-map-njntx4h6.js} +0 -0
- /package/dist/chunks/{bus-q3sfg36h.js → location-service-map-q3sfg36h.js} +0 -0
- /package/dist/chunks/{bus-q74kybfr.js → location-service-map-q74kybfr.js} +0 -0
- /package/dist/chunks/{bus-qaymkmh1.js → location-service-map-qaymkmh1.js} +0 -0
- /package/dist/chunks/{bus-qb87gjwd.js → location-service-map-qb87gjwd.js} +0 -0
- /package/dist/chunks/{bus-qfa1cgps.js → location-service-map-qfa1cgps.js} +0 -0
- /package/dist/chunks/{bus-qrg20bc0.js → location-service-map-qrg20bc0.js} +0 -0
- /package/dist/chunks/{bus-rcb2kzg1.js → location-service-map-rcb2kzg1.js} +0 -0
- /package/dist/chunks/{bus-sdp7kfr6.js → location-service-map-sdp7kfr6.js} +0 -0
- /package/dist/chunks/{bus-sk3qaz4a.js → location-service-map-sk3qaz4a.js} +0 -0
- /package/dist/chunks/{bus-ssg3fenm.js → location-service-map-ssg3fenm.js} +0 -0
- /package/dist/chunks/{bus-twg0f83k.js → location-service-map-twg0f83k.js} +0 -0
- /package/dist/chunks/{bus-w803qqfp.js → location-service-map-w803qqfp.js} +0 -0
- /package/dist/chunks/{bus-wer8tq1h.js → location-service-map-wer8tq1h.js} +0 -0
- /package/dist/chunks/{bus-wtztk69x.js → location-service-map-wtztk69x.js} +0 -0
- /package/dist/chunks/{bus-x0ckcb58.js → location-service-map-x0ckcb58.js} +0 -0
- /package/dist/chunks/{bus-x61499pn.js → location-service-map-x61499pn.js} +0 -0
- /package/dist/chunks/{bus-y44na4kk.js → location-service-map-y44na4kk.js} +0 -0
- /package/dist/chunks/{bus-y8cydn3q.js → location-service-map-y8cydn3q.js} +0 -0
- /package/dist/chunks/{bus-ygaqb7jw.js → location-service-map-ygaqb7jw.js} +0 -0
- /package/dist/chunks/{bus-ym463w8f.js → location-service-map-ym463w8f.js} +0 -0
- /package/dist/chunks/{bus-z9919s4g.js → location-service-map-z9919s4g.js} +0 -0
|
@@ -1,49 +1,49 @@
|
|
|
1
1
|
import {
|
|
2
2
|
typeFollowing2
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./location-service-map-2a5m3afh.js";
|
|
4
4
|
import {
|
|
5
5
|
RelativePath2
|
|
6
|
-
} from "./
|
|
6
|
+
} from "./location-service-map-922hggd3.js";
|
|
7
7
|
import {
|
|
8
8
|
Service76
|
|
9
|
-
} from "./
|
|
9
|
+
} from "./location-service-map-mm89s5e8.js";
|
|
10
10
|
import {
|
|
11
|
-
|
|
12
|
-
} from "./
|
|
11
|
+
Service65
|
|
12
|
+
} from "./location-service-map-16qsj906.js";
|
|
13
13
|
import {
|
|
14
|
-
|
|
15
|
-
} from "./
|
|
14
|
+
Service20
|
|
15
|
+
} from "./location-service-map-rd0bynaw.js";
|
|
16
16
|
import {
|
|
17
17
|
DEFAULT_SEARCH_LIMIT2,
|
|
18
18
|
DEFAULT_SEARCH_TIMEOUT_MS2,
|
|
19
19
|
GlobInput2,
|
|
20
20
|
Entry2
|
|
21
|
-
} from "./
|
|
21
|
+
} from "./location-service-map-xrgnr4vw.js";
|
|
22
22
|
import {
|
|
23
|
-
|
|
24
|
-
} from "./
|
|
23
|
+
Service57
|
|
24
|
+
} from "./location-service-map-6fgbakp6.js";
|
|
25
25
|
import {
|
|
26
|
-
|
|
27
|
-
} from "./
|
|
26
|
+
Service15
|
|
27
|
+
} from "./location-service-map-b7wf9cse.js";
|
|
28
28
|
import {
|
|
29
29
|
__export
|
|
30
|
-
} from "./
|
|
30
|
+
} from "./location-service-map-9rqn6x4v.js";
|
|
31
31
|
|
|
32
32
|
// src/tool/plugin/glob.ts
|
|
33
33
|
var exports_glob = {};
|
|
34
34
|
__export(exports_glob, {
|
|
35
35
|
GlobTool: () => exports_glob,
|
|
36
|
-
Input: () =>
|
|
37
|
-
Output: () =>
|
|
38
|
-
Plugin: () =>
|
|
39
|
-
name: () =>
|
|
36
|
+
Input: () => Input11,
|
|
37
|
+
Output: () => Output8,
|
|
38
|
+
Plugin: () => Plugin42,
|
|
39
|
+
name: () => name11,
|
|
40
40
|
toModelContent: () => toModelContent6
|
|
41
41
|
});
|
|
42
42
|
import { ToolFailure } from "@opencode/ai";
|
|
43
43
|
import { Effect, Schema } from "effect";
|
|
44
44
|
import path from "path";
|
|
45
|
-
var
|
|
46
|
-
var
|
|
45
|
+
var name11 = "glob";
|
|
46
|
+
var Input11 = Schema.Struct({
|
|
47
47
|
pattern: GlobInput2.fields.pattern.annotate({ description: "Glob pattern to match files against" }),
|
|
48
48
|
path: Schema.optionalKey(RelativePath2).annotate({
|
|
49
49
|
description: "Directory to search. Defaults to the current working directory."
|
|
@@ -55,7 +55,7 @@ var Input10 = Schema.Struct({
|
|
|
55
55
|
description: `Maximum number of matching files to return (default: ${DEFAULT_SEARCH_LIMIT2})`
|
|
56
56
|
})
|
|
57
57
|
});
|
|
58
|
-
var
|
|
58
|
+
var Output8 = Schema.Array(Entry2);
|
|
59
59
|
var toModelContent6 = (entries, truncated = false) => {
|
|
60
60
|
const lines = entries.length === 0 ? ["No files found"] : entries.map((item) => item.path);
|
|
61
61
|
if (truncated)
|
|
@@ -63,27 +63,27 @@ var toModelContent6 = (entries, truncated = false) => {
|
|
|
63
63
|
return lines.join(`
|
|
64
64
|
`);
|
|
65
65
|
};
|
|
66
|
-
var
|
|
66
|
+
var Plugin42 = {
|
|
67
67
|
id: "opencode.tool.glob",
|
|
68
68
|
effect: Effect.fn("GlobTool.Plugin")(function* (ctx) {
|
|
69
|
-
const environment = yield*
|
|
70
|
-
const ripgrep = yield*
|
|
69
|
+
const environment = yield* Service65;
|
|
70
|
+
const ripgrep = yield* Service20;
|
|
71
71
|
const location = yield* Service76;
|
|
72
|
-
const access = yield*
|
|
73
|
-
const permission = yield*
|
|
72
|
+
const access = yield* Service15;
|
|
73
|
+
const permission = yield* Service57;
|
|
74
74
|
yield* ctx.tool.transform((editor) => editor.add({
|
|
75
|
-
name:
|
|
75
|
+
name: name11,
|
|
76
76
|
options: { codemode: false },
|
|
77
77
|
description: 'Search file paths using a glob pattern (examples: "**/*.ts", "src/**/*.tsx").',
|
|
78
|
-
input:
|
|
79
|
-
output:
|
|
78
|
+
input: Input11,
|
|
79
|
+
output: Output8,
|
|
80
80
|
execute: (input, context) => Effect.gen(function* () {
|
|
81
81
|
const searchPath = input.path === "undefined" || input.path === "null" ? undefined : input.path;
|
|
82
82
|
const source = { type: "tool", messageID: context.messageID, id: context.id };
|
|
83
83
|
const target = yield* access.resolve({ path: searchPath ?? ".", kind: "directory" });
|
|
84
84
|
yield* access.authorizeExternal([target], context);
|
|
85
85
|
yield* permission.assert({
|
|
86
|
-
action:
|
|
86
|
+
action: name11,
|
|
87
87
|
resources: [input.pattern],
|
|
88
88
|
save: ["*"],
|
|
89
89
|
metadata: {
|
|
@@ -125,4 +125,4 @@ var Plugin41 = {
|
|
|
125
125
|
})
|
|
126
126
|
};
|
|
127
127
|
|
|
128
|
-
export {
|
|
128
|
+
export { name11, Input11, Output8, toModelContent6, Plugin42, exports_glob };
|
|
@@ -1,17 +1,17 @@
|
|
|
1
1
|
import {
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
} from "./
|
|
2
|
+
Service79,
|
|
3
|
+
node84
|
|
4
|
+
} from "./location-service-map-tfrhnqth.js";
|
|
5
5
|
import {
|
|
6
6
|
EventSequenceTable2,
|
|
7
7
|
EventTable2
|
|
8
|
-
} from "./
|
|
8
|
+
} from "./location-service-map-2710q6r3.js";
|
|
9
9
|
import {
|
|
10
10
|
makeUnsafe2
|
|
11
|
-
} from "./
|
|
11
|
+
} from "./location-service-map-dpkg50ah.js";
|
|
12
12
|
import {
|
|
13
13
|
__export
|
|
14
|
-
} from "./
|
|
14
|
+
} from "./location-service-map-9rqn6x4v.js";
|
|
15
15
|
|
|
16
16
|
// src/bus.ts
|
|
17
17
|
var exports_bus = {};
|
|
@@ -81,7 +81,7 @@ class Service78 extends Context.Service()("@opencode/Bus") {
|
|
|
81
81
|
function configured12(options) {
|
|
82
82
|
return makeGlobalNode({
|
|
83
83
|
service: Service78,
|
|
84
|
-
deps: [
|
|
84
|
+
deps: [node84],
|
|
85
85
|
layer: Layer.effect(Service78, Effect.gen(function* () {
|
|
86
86
|
const { Location } = yield* Effect.promise(() => import("../location.js"));
|
|
87
87
|
const { SessionTable } = yield* Effect.promise(() => import("../session/sql.js"));
|
|
@@ -93,7 +93,7 @@ function configured12(options) {
|
|
|
93
93
|
const projectors = new Map;
|
|
94
94
|
const listeners = new Array;
|
|
95
95
|
const durableLocks = makeUnsafe2();
|
|
96
|
-
const { db } = yield*
|
|
96
|
+
const { db } = yield* Service79;
|
|
97
97
|
const logReadPageSize = options?.logReadPageSize ?? 512;
|
|
98
98
|
const persist = options?.persist ?? false;
|
|
99
99
|
const sessions = new Map;
|
|
@@ -1,10 +1,10 @@
|
|
|
1
1
|
import {
|
|
2
2
|
AbsolutePath2,
|
|
3
3
|
RelativePath2
|
|
4
|
-
} from "./
|
|
4
|
+
} from "./location-service-map-922hggd3.js";
|
|
5
5
|
import {
|
|
6
6
|
SessionSchema2
|
|
7
|
-
} from "./
|
|
7
|
+
} from "./location-service-map-xxynqx5z.js";
|
|
8
8
|
|
|
9
9
|
// src/session/info.ts
|
|
10
10
|
import { DateTime, Schema } from "effect";
|
|
@@ -1,33 +1,33 @@
|
|
|
1
1
|
import {
|
|
2
2
|
useragent2
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./location-service-map-1g2ww1p9.js";
|
|
4
4
|
import {
|
|
5
5
|
Service78
|
|
6
|
-
} from "./
|
|
6
|
+
} from "./location-service-map-2end795d.js";
|
|
7
7
|
import {
|
|
8
8
|
OAuth3,
|
|
9
|
-
|
|
10
|
-
} from "./
|
|
9
|
+
Event16
|
|
10
|
+
} from "./location-service-map-v7w426qw.js";
|
|
11
11
|
import {
|
|
12
|
-
|
|
12
|
+
ID5,
|
|
13
13
|
MethodID2
|
|
14
|
-
} from "./
|
|
14
|
+
} from "./location-service-map-5jg3sy5t.js";
|
|
15
15
|
import {
|
|
16
|
-
|
|
17
|
-
} from "./
|
|
16
|
+
ID16
|
|
17
|
+
} from "./location-service-map-npntah3r.js";
|
|
18
18
|
import {
|
|
19
19
|
Family2
|
|
20
|
-
} from "./
|
|
20
|
+
} from "./location-service-map-907sgp7f.js";
|
|
21
21
|
import {
|
|
22
22
|
bootstrap2
|
|
23
|
-
} from "./
|
|
23
|
+
} from "./location-service-map-pjvnvgmy.js";
|
|
24
24
|
|
|
25
25
|
// src/plugin/provider/digitalocean.ts
|
|
26
26
|
import { define } from "@opencode/plugin/effect/plugin";
|
|
27
27
|
import { Clock, Deferred, Effect, Option, Schedule, Schema, Semaphore, Stream } from "effect";
|
|
28
28
|
import { HttpClient, HttpClientRequest, HttpClientResponse } from "effect/unstable/http";
|
|
29
|
-
var providerID =
|
|
30
|
-
var integrationID =
|
|
29
|
+
var providerID = ID16.make("digitalocean");
|
|
30
|
+
var integrationID = ID5.make("digitalocean");
|
|
31
31
|
var methodID = MethodID2.make("browser");
|
|
32
32
|
var clientID = "b1a6c5158156caac821fd1b30253ca8acb52454a48fa744420e41889cb589f82";
|
|
33
33
|
var authorizeEndpoint = "https://cloud.digitalocean.com/v1/oauth/authorize";
|
|
@@ -158,7 +158,7 @@ var DigitalOceanPlugin2 = define({
|
|
|
158
158
|
}
|
|
159
159
|
});
|
|
160
160
|
const refresh = () => loading.withPermit(load().pipe(Effect.andThen(ctx.catalog.reload())));
|
|
161
|
-
yield* bus.subscribe(
|
|
161
|
+
yield* bus.subscribe(Event16.Switched).pipe(Stream.filter((event) => event.data.integrationID === integrationID), Stream.runForEach(refresh), Effect.forkScoped({ startImmediately: true }));
|
|
162
162
|
yield* refresh().pipe(Effect.repeat(Schedule.spaced("5 minutes")), Effect.forkScoped);
|
|
163
163
|
})
|
|
164
164
|
});
|
|
@@ -1,27 +1,27 @@
|
|
|
1
1
|
import {
|
|
2
2
|
Service78
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./location-service-map-2end795d.js";
|
|
4
4
|
import {
|
|
5
|
-
|
|
5
|
+
Service64,
|
|
6
6
|
Event18
|
|
7
|
-
} from "./
|
|
7
|
+
} from "./location-service-map-77gr2wf6.js";
|
|
8
8
|
import {
|
|
9
9
|
__export
|
|
10
|
-
} from "./
|
|
10
|
+
} from "./location-service-map-9rqn6x4v.js";
|
|
11
11
|
|
|
12
12
|
// src/wellknown/plugin.ts
|
|
13
13
|
var exports_plugin = {};
|
|
14
14
|
__export(exports_plugin, {
|
|
15
|
-
Plugin: () =>
|
|
15
|
+
Plugin: () => Plugin32,
|
|
16
16
|
WellKnownPlugin: () => exports_plugin
|
|
17
17
|
});
|
|
18
18
|
import { define } from "@opencode/plugin/effect/plugin";
|
|
19
19
|
import { Effect, Stream } from "effect";
|
|
20
|
-
var
|
|
20
|
+
var Plugin32 = define({
|
|
21
21
|
id: "opencode.wellknown",
|
|
22
22
|
effect: Effect.fn(function* (ctx) {
|
|
23
23
|
const bus = yield* Service78;
|
|
24
|
-
const wellknown = yield*
|
|
24
|
+
const wellknown = yield* Service64;
|
|
25
25
|
yield* wellknown.entries().pipe(Effect.orDie);
|
|
26
26
|
yield* ctx.integration.transform((editor) => {
|
|
27
27
|
wellknown.snapshot().forEach((entry) => {
|
|
@@ -45,4 +45,4 @@ var Plugin44 = define({
|
|
|
45
45
|
})
|
|
46
46
|
});
|
|
47
47
|
|
|
48
|
-
export {
|
|
48
|
+
export { Plugin32, exports_plugin };
|
|
@@ -1,45 +1,45 @@
|
|
|
1
1
|
import {
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
} from "./
|
|
2
|
+
Service79,
|
|
3
|
+
node84
|
|
4
|
+
} from "./location-service-map-tfrhnqth.js";
|
|
5
5
|
import {
|
|
6
6
|
latestSequence2,
|
|
7
7
|
Service78,
|
|
8
8
|
node83
|
|
9
|
-
} from "./
|
|
9
|
+
} from "./location-service-map-2end795d.js";
|
|
10
10
|
import {
|
|
11
11
|
llmClient2
|
|
12
|
-
} from "./
|
|
12
|
+
} from "./location-service-map-5t3nmthw.js";
|
|
13
13
|
import {
|
|
14
14
|
SessionEvent2
|
|
15
|
-
} from "./
|
|
15
|
+
} from "./location-service-map-ec1grn59.js";
|
|
16
16
|
import {
|
|
17
17
|
firstUserMessage2
|
|
18
|
-
} from "./
|
|
18
|
+
} from "./location-service-map-m24xnkg2.js";
|
|
19
19
|
import {
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
} from "./
|
|
20
|
+
Service58,
|
|
21
|
+
node62
|
|
22
|
+
} from "./location-service-map-pzx9vzqb.js";
|
|
23
23
|
import {
|
|
24
|
-
|
|
25
|
-
|
|
26
|
-
} from "./
|
|
24
|
+
Service26,
|
|
25
|
+
node31
|
|
26
|
+
} from "./location-service-map-aa78bncg.js";
|
|
27
27
|
import {
|
|
28
28
|
record2,
|
|
29
29
|
add2
|
|
30
|
-
} from "./
|
|
30
|
+
} from "./location-service-map-tdstcens.js";
|
|
31
31
|
import {
|
|
32
32
|
__export
|
|
33
|
-
} from "./
|
|
33
|
+
} from "./location-service-map-9rqn6x4v.js";
|
|
34
34
|
|
|
35
35
|
// src/session/title.ts
|
|
36
36
|
var exports_title = {};
|
|
37
37
|
__export(exports_title, {
|
|
38
|
-
Service: () =>
|
|
38
|
+
Service: () => Service2,
|
|
39
39
|
SessionTitle: () => exports_title,
|
|
40
40
|
isUntitled: () => isUntitled2,
|
|
41
41
|
layer: () => layer3,
|
|
42
|
-
node: () =>
|
|
42
|
+
node: () => node4
|
|
43
43
|
});
|
|
44
44
|
import { isDeepStrictEqual } from "node:util";
|
|
45
45
|
import { LLMClient, LLMEvent, Message, SystemPart } from "@opencode/ai";
|
|
@@ -51,19 +51,19 @@ var MAX_CONTEXT_LENGTH = 8000;
|
|
|
51
51
|
var MAX_FIRST_MESSAGE_LENGTH = 2000;
|
|
52
52
|
var titleChanged = Symbol("Session title changed");
|
|
53
53
|
|
|
54
|
-
class
|
|
54
|
+
class Service2 extends Context.Service()("@opencode/SessionTitle") {
|
|
55
55
|
}
|
|
56
56
|
var truncate = (value) => value.length <= MAX_LENGTH ? value : `${value.slice(0, MAX_LENGTH - 3)}...`;
|
|
57
57
|
var isUntitled2 = (session) => isExactRootFallback({
|
|
58
58
|
title: session.title,
|
|
59
59
|
time: { created: DateTime.toEpochMillis(session.time.created) }
|
|
60
60
|
});
|
|
61
|
-
var layer3 = Layer.effect(
|
|
61
|
+
var layer3 = Layer.effect(Service2, Effect.gen(function* () {
|
|
62
62
|
const bus = yield* Service78;
|
|
63
63
|
const llm = yield* LLMClient.Service;
|
|
64
|
-
const context = yield*
|
|
65
|
-
const store = yield*
|
|
66
|
-
const db = (yield*
|
|
64
|
+
const context = yield* Service26;
|
|
65
|
+
const store = yield* Service58;
|
|
66
|
+
const db = (yield* Service79).db;
|
|
67
67
|
const attempt = Effect.fn("SessionTitle.attempt")(function* (input) {
|
|
68
68
|
const chunks = [];
|
|
69
69
|
let failed = false;
|
|
@@ -145,12 +145,12 @@ Recent conversation:
|
|
|
145
145
|
title: truncate(title)
|
|
146
146
|
}, { commit: (sequence) => sequence === expectedSequence ? Effect.void : Effect.die(titleChanged) }).pipe(Effect.catchDefect((defect) => defect === titleChanged ? Effect.void : Effect.die(defect)));
|
|
147
147
|
});
|
|
148
|
-
return
|
|
148
|
+
return Service2.of({ generate });
|
|
149
149
|
}));
|
|
150
|
-
var
|
|
151
|
-
service:
|
|
150
|
+
var node4 = makeLocationNode({
|
|
151
|
+
service: Service2,
|
|
152
152
|
layer: layer3,
|
|
153
|
-
deps: [node83, llmClient2,
|
|
153
|
+
deps: [node83, llmClient2, node31, node62, node84]
|
|
154
154
|
});
|
|
155
155
|
|
|
156
|
-
export {
|
|
156
|
+
export { Service2, isUntitled2, layer3, node4, exports_title };
|
|
@@ -1,21 +1,21 @@
|
|
|
1
1
|
import {
|
|
2
2
|
__export
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./location-service-map-9rqn6x4v.js";
|
|
4
4
|
|
|
5
5
|
// src/v1/config/formatter.ts
|
|
6
6
|
var exports_formatter3 = {};
|
|
7
7
|
__export(exports_formatter3, {
|
|
8
8
|
ConfigFormatterV1: () => exports_formatter3,
|
|
9
|
-
Entry: () =>
|
|
10
|
-
Info: () =>
|
|
9
|
+
Entry: () => Entry3,
|
|
10
|
+
Info: () => Info13
|
|
11
11
|
});
|
|
12
12
|
import { Schema } from "effect";
|
|
13
|
-
var
|
|
13
|
+
var Entry3 = Schema.Struct({
|
|
14
14
|
disabled: Schema.optional(Schema.Boolean),
|
|
15
15
|
command: Schema.optional(Schema.mutable(Schema.Array(Schema.String))),
|
|
16
16
|
environment: Schema.optional(Schema.Record(Schema.String, Schema.String)),
|
|
17
17
|
extensions: Schema.optional(Schema.mutable(Schema.Array(Schema.String)))
|
|
18
18
|
});
|
|
19
|
-
var
|
|
19
|
+
var Info13 = Schema.Union([Schema.Boolean, Schema.Record(Schema.String, Entry3)]);
|
|
20
20
|
|
|
21
|
-
export {
|
|
21
|
+
export { Entry3, Info13, exports_formatter3 };
|
|
@@ -1,31 +1,31 @@
|
|
|
1
1
|
import {
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
} from "./
|
|
2
|
+
Service55,
|
|
3
|
+
node58
|
|
4
|
+
} from "./location-service-map-4tj7k7mp.js";
|
|
5
5
|
import {
|
|
6
6
|
Service76,
|
|
7
7
|
node81
|
|
8
|
-
} from "./
|
|
8
|
+
} from "./location-service-map-mm89s5e8.js";
|
|
9
9
|
import {
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
} from "./
|
|
10
|
+
Service54,
|
|
11
|
+
node57
|
|
12
|
+
} from "./location-service-map-nqgwmxz9.js";
|
|
13
13
|
import {
|
|
14
14
|
names2,
|
|
15
15
|
discover2
|
|
16
|
-
} from "./
|
|
16
|
+
} from "./location-service-map-zxq2ej10.js";
|
|
17
17
|
import {
|
|
18
18
|
__export
|
|
19
|
-
} from "./
|
|
19
|
+
} from "./location-service-map-9rqn6x4v.js";
|
|
20
20
|
|
|
21
21
|
// src/config/plugin/source.ts
|
|
22
22
|
var exports_source = {};
|
|
23
23
|
__export(exports_source, {
|
|
24
24
|
ConfigPluginSource: () => exports_source,
|
|
25
|
-
Service: () =>
|
|
25
|
+
Service: () => Service3,
|
|
26
26
|
empty: () => empty2,
|
|
27
27
|
layer: () => layer5,
|
|
28
|
-
node: () =>
|
|
28
|
+
node: () => node6
|
|
29
29
|
});
|
|
30
30
|
import { FSUtil } from "@opencode/util/fs-util";
|
|
31
31
|
import { Host } from "@opencode/plugin/host";
|
|
@@ -33,11 +33,11 @@ import { makeLocationNode } from "@opencode/util/effect/app-node";
|
|
|
33
33
|
import { Context, Effect, Layer, Option, PubSub, Stream } from "effect";
|
|
34
34
|
import path from "path";
|
|
35
35
|
import { fileURLToPath, pathToFileURL } from "url";
|
|
36
|
-
class
|
|
36
|
+
class Service3 extends Context.Service()("@opencode/ConfigPluginSource") {
|
|
37
37
|
}
|
|
38
|
-
var layer5 = Layer.effect(
|
|
39
|
-
const config = yield*
|
|
40
|
-
const watcher = yield*
|
|
38
|
+
var layer5 = Layer.effect(Service3, Effect.gen(function* () {
|
|
39
|
+
const config = yield* Service54;
|
|
40
|
+
const watcher = yield* Service55;
|
|
41
41
|
const fs = yield* FSUtil.Service;
|
|
42
42
|
const location = yield* Service76;
|
|
43
43
|
const configuredChanges = yield* PubSub.unbounded();
|
|
@@ -58,7 +58,7 @@ var layer5 = Layer.effect(Service4, Effect.gen(function* () {
|
|
|
58
58
|
yield* updates.pipe(Stream.runForEach(() => PubSub.publish(configuredChanges, undefined)), Effect.catchCause((cause) => Effect.logError("configured plugin watch failed", { target: operation.target, cause })), Effect.forkScoped({ startImmediately: true }));
|
|
59
59
|
}
|
|
60
60
|
});
|
|
61
|
-
return
|
|
61
|
+
return Service3.of({
|
|
62
62
|
operations: Effect.fn("ConfigPluginSource.operations")(function* () {
|
|
63
63
|
const entries = yield* config.entries();
|
|
64
64
|
const operations = yield* scan(fs, location, entries);
|
|
@@ -70,14 +70,14 @@ var layer5 = Layer.effect(Service4, Effect.gen(function* () {
|
|
|
70
70
|
})), Stream.fromPubSub(configuredChanges))
|
|
71
71
|
});
|
|
72
72
|
}));
|
|
73
|
-
var
|
|
74
|
-
service:
|
|
73
|
+
var node6 = makeLocationNode({
|
|
74
|
+
service: Service3,
|
|
75
75
|
layer: layer5,
|
|
76
|
-
deps: [
|
|
76
|
+
deps: [node57, FSUtil.node, node58, node81]
|
|
77
77
|
});
|
|
78
78
|
var empty2 = makeLocationNode({
|
|
79
|
-
service:
|
|
80
|
-
layer: Layer.succeed(
|
|
79
|
+
service: Service3,
|
|
80
|
+
layer: Layer.succeed(Service3, Service3.of({
|
|
81
81
|
operations: () => Effect.succeed([]),
|
|
82
82
|
changes: () => Stream.never
|
|
83
83
|
})),
|
|
@@ -137,4 +137,4 @@ function isPluginSource(entries, file) {
|
|
|
137
137
|
return entries.some((entry) => entry.type === "directory" && names2.some((directory) => FSUtil.contains(path.join(entry.path, directory), file)));
|
|
138
138
|
}
|
|
139
139
|
|
|
140
|
-
export {
|
|
140
|
+
export { Service3, layer5, node6, empty2, exports_source };
|
|
@@ -1,72 +1,72 @@
|
|
|
1
1
|
import {
|
|
2
|
-
|
|
3
|
-
} from "./
|
|
2
|
+
Service65
|
|
3
|
+
} from "./location-service-map-16qsj906.js";
|
|
4
4
|
import {
|
|
5
5
|
Service14,
|
|
6
6
|
readText2,
|
|
7
7
|
syncTextBom2
|
|
8
|
-
} from "./
|
|
8
|
+
} from "./location-service-map-d0hhfdg4.js";
|
|
9
9
|
import {
|
|
10
|
-
|
|
11
|
-
} from "./
|
|
10
|
+
Service13
|
|
11
|
+
} from "./location-service-map-vqmx0vgv.js";
|
|
12
12
|
import {
|
|
13
|
-
|
|
14
|
-
} from "./
|
|
13
|
+
Service57
|
|
14
|
+
} from "./location-service-map-6fgbakp6.js";
|
|
15
15
|
import {
|
|
16
|
-
|
|
17
|
-
} from "./
|
|
16
|
+
Service15
|
|
17
|
+
} from "./location-service-map-b7wf9cse.js";
|
|
18
18
|
import {
|
|
19
19
|
fileDiff2
|
|
20
|
-
} from "./
|
|
20
|
+
} from "./location-service-map-6prwharc.js";
|
|
21
21
|
import {
|
|
22
22
|
__export
|
|
23
|
-
} from "./
|
|
23
|
+
} from "./location-service-map-9rqn6x4v.js";
|
|
24
24
|
|
|
25
25
|
// src/tool/plugin/write.ts
|
|
26
26
|
var exports_write = {};
|
|
27
27
|
__export(exports_write, {
|
|
28
|
-
Input: () =>
|
|
29
|
-
Output: () =>
|
|
30
|
-
Plugin: () =>
|
|
28
|
+
Input: () => Input3,
|
|
29
|
+
Output: () => Output3,
|
|
30
|
+
Plugin: () => Plugin34,
|
|
31
31
|
WriteTool: () => exports_write,
|
|
32
|
-
name: () =>
|
|
33
|
-
toModelContent: () =>
|
|
32
|
+
name: () => name3,
|
|
33
|
+
toModelContent: () => toModelContent3
|
|
34
34
|
});
|
|
35
35
|
import { ToolFailure } from "@opencode/ai";
|
|
36
36
|
import { Effect, Schema } from "effect";
|
|
37
37
|
import { Bom } from "@opencode/util/bom";
|
|
38
|
-
var
|
|
39
|
-
var
|
|
38
|
+
var name3 = "write";
|
|
39
|
+
var Input3 = Schema.Struct({
|
|
40
40
|
path: Schema.String.annotate({
|
|
41
41
|
description: "Path to the file to write to"
|
|
42
42
|
}),
|
|
43
43
|
content: Schema.String.annotate({ description: "Content to write to the file" })
|
|
44
44
|
});
|
|
45
|
-
var
|
|
45
|
+
var Output3 = Schema.Struct({
|
|
46
46
|
operation: Schema.Literal("write"),
|
|
47
47
|
target: Schema.String,
|
|
48
48
|
resource: Schema.String,
|
|
49
49
|
existed: Schema.Boolean
|
|
50
50
|
});
|
|
51
|
-
var
|
|
52
|
-
var
|
|
51
|
+
var toModelContent3 = (output) => `${output.existed ? "Wrote" : "Created"} file successfully: ${output.resource}`;
|
|
52
|
+
var Plugin34 = {
|
|
53
53
|
id: "opencode.tool.write",
|
|
54
54
|
effect: Effect.fn("WriteTool.Plugin")(function* (ctx) {
|
|
55
|
-
const access = yield*
|
|
55
|
+
const access = yield* Service15;
|
|
56
56
|
const fileMutation = yield* Service14;
|
|
57
|
-
const environment = yield*
|
|
58
|
-
const formatter = yield*
|
|
59
|
-
const permission = yield*
|
|
57
|
+
const environment = yield* Service65;
|
|
58
|
+
const formatter = yield* Service13;
|
|
59
|
+
const permission = yield* Service57;
|
|
60
60
|
yield* ctx.tool.transform((editor) => editor.add({
|
|
61
|
-
name:
|
|
61
|
+
name: name3,
|
|
62
62
|
options: { codemode: false, permission: "edit" },
|
|
63
63
|
description: `Writes a file to the local filesystem, overwriting if one exists.
|
|
64
64
|
|
|
65
65
|
Missing parent directories are created automatically.
|
|
66
66
|
|
|
67
67
|
Use this tool to create new files or overwrite existing files. For partial changes, use the edit tool instead.`,
|
|
68
|
-
input:
|
|
69
|
-
output:
|
|
68
|
+
input: Input3,
|
|
69
|
+
output: Output3,
|
|
70
70
|
execute: (input, context) => Effect.gen(function* () {
|
|
71
71
|
const source = {
|
|
72
72
|
type: "tool",
|
|
@@ -93,9 +93,9 @@ Use this tool to create new files or overwrite existing files. For partial chang
|
|
|
93
93
|
yield* syncTextBom2(environment.files, target.absolute, bom);
|
|
94
94
|
}
|
|
95
95
|
return result;
|
|
96
|
-
}).pipe(Effect.map((output) => ({ output, content:
|
|
96
|
+
}).pipe(Effect.map((output) => ({ output, content: toModelContent3(output) })), Effect.mapError((error) => new ToolFailure({ message: `Unable to write ${input.path}`, error })))
|
|
97
97
|
})).pipe(Effect.orDie);
|
|
98
98
|
})
|
|
99
99
|
};
|
|
100
100
|
|
|
101
|
-
export {
|
|
101
|
+
export { name3, Input3, Output3, toModelContent3, Plugin34, exports_write };
|
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
import {
|
|
2
|
-
|
|
2
|
+
ID16,
|
|
3
3
|
isAISDK2,
|
|
4
4
|
packageName2
|
|
5
|
-
} from "./
|
|
5
|
+
} from "./location-service-map-npntah3r.js";
|
|
6
6
|
|
|
7
7
|
// src/plugin/provider/google-vertex.ts
|
|
8
8
|
import { Effect } from "effect";
|
|
@@ -39,7 +39,7 @@ var GoogleVertexPlugin2 = define({
|
|
|
39
39
|
for (const item of evt.provider.list()) {
|
|
40
40
|
if (!isAISDK2(item.provider.package))
|
|
41
41
|
continue;
|
|
42
|
-
if (packageName2(item.provider.package) !== "@ai-sdk/google-vertex" && !(item.provider.id ===
|
|
42
|
+
if (packageName2(item.provider.package) !== "@ai-sdk/google-vertex" && !(item.provider.id === ID16.googleVertex && packageName2(item.provider.package)?.includes("@ai-sdk/openai-compatible")))
|
|
43
43
|
continue;
|
|
44
44
|
const project = resolveProject(item.provider.settings ?? {});
|
|
45
45
|
const location = String(resolveLocation(item.provider.settings ?? {}));
|
|
@@ -56,7 +56,7 @@ var GoogleVertexPlugin2 = define({
|
|
|
56
56
|
}
|
|
57
57
|
});
|
|
58
58
|
yield* ctx.aisdk.hook("sdk", Effect.fn(function* (evt) {
|
|
59
|
-
if (evt.model.providerID ===
|
|
59
|
+
if (evt.model.providerID === ID16.googleVertex && evt.package.includes("@ai-sdk/openai-compatible")) {
|
|
60
60
|
evt.options.fetch = authFetch(evt.options.fetch);
|
|
61
61
|
return;
|
|
62
62
|
}
|
|
@@ -87,7 +87,7 @@ var GoogleVertexPlugin2 = define({
|
|
|
87
87
|
});
|
|
88
88
|
}));
|
|
89
89
|
yield* ctx.aisdk.hook("language", Effect.fn(function* (evt) {
|
|
90
|
-
if (evt.model.providerID !==
|
|
90
|
+
if (evt.model.providerID !== ID16.googleVertex)
|
|
91
91
|
return;
|
|
92
92
|
evt.language = evt.sdk.languageModel(String(evt.model.modelID ?? evt.model.id).trim());
|
|
93
93
|
}));
|