@opencode-ai/core 0.0.0-dev-19121 → 0.0.0-dev-19123
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 +9 -9
- package/dist/bus.js +69 -69
- package/dist/catalog.js +82 -82
- package/dist/chunks/{location-mutation-01w7s3hf.js → location-services-01w7s3hf.js} +2 -2
- package/dist/chunks/{location-mutation-wj7y60vs.js → location-services-045f1zrn.js} +7 -7
- package/dist/chunks/{location-mutation-v6v8agnt.js → location-services-0daqs9er.js} +11 -11
- package/dist/chunks/{location-mutation-0dv7911r.js → location-services-0dv7911r.js} +1 -1
- package/dist/chunks/{location-mutation-0e0xafbb.js → location-services-0e0xafbb.js} +2 -2
- package/dist/chunks/{location-mutation-2afxnevg.js → location-services-0ekd4hek.js} +29 -29
- package/dist/chunks/{location-mutation-e1hrx4vk.js → location-services-0ez61b8c.js} +2 -2
- package/dist/chunks/{location-mutation-7dqw4kz8.js → location-services-0jwsre1p.js} +5 -5
- package/dist/chunks/{location-mutation-0paq2nw3.js → location-services-0paq2nw3.js} +1 -1
- package/dist/chunks/{location-mutation-0s9ayhjt.js → location-services-0s9ayhjt.js} +1 -1
- package/dist/chunks/{location-mutation-tkb3hcz3.js → location-services-0tsnwgcr.js} +28 -28
- package/dist/chunks/{location-mutation-yemf1k0t.js → location-services-146cyary.js} +10 -10
- package/dist/chunks/{location-mutation-1hy241bm.js → location-services-14hmenm3.js} +3 -3
- package/dist/chunks/{location-mutation-1ct4r87x.js → location-services-1ct4r87x.js} +1 -1
- package/dist/chunks/{location-mutation-gwkvhn1a.js → location-services-1d6e8fp6.js} +29 -29
- package/dist/chunks/{location-mutation-9jb7v9hr.js → location-services-1kvt7k90.js} +15 -15
- package/dist/chunks/{location-mutation-m2v22qsj.js → location-services-1m9gek0r.js} +11 -11
- package/dist/chunks/{location-mutation-m1peg48k.js → location-services-1n116cmy.js} +9 -9
- package/dist/chunks/{location-mutation-7seg0qzm.js → location-services-20s6b78b.js} +22 -22
- package/dist/chunks/{location-mutation-21r38tys.js → location-services-21r38tys.js} +1 -1
- package/dist/chunks/{location-mutation-2402vzrj.js → location-services-2402vzrj.js} +1 -1
- package/dist/chunks/{location-mutation-29x78va6.js → location-services-29x78va6.js} +2 -2
- package/dist/chunks/{location-mutation-2a5m3afh.js → location-services-2a5m3afh.js} +1 -1
- package/dist/chunks/{location-mutation-wwyfrmf4.js → location-services-2ame73pb.js} +13 -13
- package/dist/chunks/{location-mutation-n6m3vdqa.js → location-services-2fw09n55.js} +10 -10
- package/dist/chunks/{location-mutation-dnfpdc9a.js → location-services-2ga4d33a.js} +15 -15
- package/dist/chunks/{location-mutation-2ht70gj7.js → location-services-2ht70gj7.js} +1 -1
- package/dist/chunks/{location-mutation-2jqmte8w.js → location-services-2jqmte8w.js} +2 -2
- package/dist/chunks/{location-mutation-knkbq3q0.js → location-services-2xa4mn5x.js} +17 -17
- package/dist/chunks/{location-mutation-msb8yzxf.js → location-services-30r17csp.js} +51 -51
- package/dist/chunks/{location-mutation-n9ppk6dm.js → location-services-398r99hg.js} +28 -28
- package/dist/chunks/{location-mutation-ddbs5teb.js → location-services-3cwf5791.js} +8 -8
- package/dist/chunks/location-services-3evw0qr2.js +18 -0
- package/dist/chunks/{location-mutation-3fc6dm20.js → location-services-3fc6dm20.js} +1 -1
- package/dist/chunks/{location-mutation-3hepkmqq.js → location-services-3hepkmqq.js} +1 -1
- package/dist/chunks/{location-mutation-na3y75gh.js → location-services-3jj6bjb6.js} +5 -5
- package/dist/chunks/{location-mutation-3qzbfqsy.js → location-services-3qzbfqsy.js} +2 -2
- package/dist/chunks/{location-mutation-s9d88b2t.js → location-services-3rtc5zee.js} +22 -22
- package/dist/chunks/{location-mutation-db0e37wd.js → location-services-3sa4xpcp.js} +4 -4
- package/dist/chunks/{location-mutation-3smtnn6g.js → location-services-3smtnn6g.js} +1 -1
- package/dist/chunks/{location-mutation-cxtts8e7.js → location-services-3ts7rm59.js} +11 -11
- package/dist/chunks/{location-mutation-3tvqynh2.js → location-services-3tvqynh2.js} +1 -1
- package/dist/chunks/{location-mutation-xamd2zft.js → location-services-3vy7bm5p.js} +26 -26
- package/dist/chunks/{location-mutation-454k5vzh.js → location-services-454k5vzh.js} +1 -1
- package/dist/chunks/{location-mutation-encdknep.js → location-services-49qhf4cn.js} +13 -13
- package/dist/chunks/{location-mutation-ytcv0e2y.js → location-services-4k5rvnzr.js} +7 -7
- package/dist/chunks/{location-mutation-4r2nyarf.js → location-services-4r2nyarf.js} +1 -1
- package/dist/chunks/{location-mutation-rvb2zp0m.js → location-services-4z6b0fg6.js} +6 -6
- package/dist/chunks/{location-mutation-bemx5yka.js → location-services-5291er17.js} +11 -11
- package/dist/chunks/{location-mutation-zqg3qsz2.js → location-services-558w0eyg.js} +4 -4
- package/dist/chunks/{location-mutation-neent8sy.js → location-services-573b68qb.js} +6 -6
- package/dist/chunks/{location-mutation-5daktx2q.js → location-services-5daktx2q.js} +1 -1
- package/dist/chunks/{location-mutation-5fmxt4p5.js → location-services-5fmxt4p5.js} +1 -1
- package/dist/chunks/{location-mutation-hqkh5ptn.js → location-services-5gk8tmgr.js} +25 -25
- package/dist/chunks/{location-mutation-5jvc5tg2.js → location-services-5jvc5tg2.js} +1 -1
- package/dist/chunks/{location-mutation-1ccfr7s1.js → location-services-5rmhknbq.js} +16 -16
- package/dist/chunks/{location-mutation-5xfzsdsy.js → location-services-5rw6je3s.js} +3 -3
- package/dist/chunks/{location-mutation-gq5pjjs5.js → location-services-5sb2nwk1.js} +15 -15
- package/dist/chunks/{location-mutation-ez5b8bq3.js → location-services-5sg4xzjf.js} +7 -7
- package/dist/chunks/{location-mutation-r9r233ve.js → location-services-5wqhk4sp.js} +26 -26
- package/dist/chunks/location-services-61zbbsb0.js +20 -0
- package/dist/chunks/{location-mutation-j11ebv35.js → location-services-69cg10bk.js} +9 -9
- package/dist/chunks/{location-mutation-6z5bwd8g.js → location-services-6abnk40k.js} +9 -9
- package/dist/chunks/{location-mutation-zydyd6ns.js → location-services-6cpax4a9.js} +11 -11
- package/dist/chunks/{location-mutation-5rg6taer.js → location-services-6f0pgdt6.js} +40 -40
- package/dist/chunks/{location-mutation-fyfx3mdb.js → location-services-6hydcyp0.js} +5 -5
- package/dist/chunks/{location-mutation-eyn7heyk.js → location-services-6k54eer5.js} +34 -34
- package/dist/chunks/{location-mutation-jdpn2m95.js → location-services-6rd5cydf.js} +29 -29
- package/dist/chunks/{location-mutation-6tf8tr4v.js → location-services-6tf8tr4v.js} +2 -2
- package/dist/chunks/{location-mutation-711hfp6y.js → location-services-711hfp6y.js} +2 -2
- package/dist/chunks/{location-mutation-7bmhse3q.js → location-services-7bmhse3q.js} +1 -1
- package/dist/chunks/{location-mutation-ws4s5fz4.js → location-services-7d826drz.js} +15 -15
- package/dist/chunks/{location-mutation-jd8mn5p2.js → location-services-7wk8hpe3.js} +16 -16
- package/dist/chunks/{location-mutation-jes6det3.js → location-services-7y22fjrf.js} +10 -10
- package/dist/chunks/{location-mutation-1bbkgx8g.js → location-services-7yh4e7ss.js} +3 -3
- package/dist/chunks/location-services-7zk4hah4.js +4 -0
- package/dist/chunks/{location-mutation-qk5jqvf6.js → location-services-7zxx2843.js} +24 -24
- package/dist/chunks/{location-mutation-9aw4ndah.js → location-services-820xmye9.js} +24 -24
- package/dist/chunks/{location-mutation-f608tw31.js → location-services-86dyhxqj.js} +24 -24
- package/dist/chunks/{location-mutation-qs4avvkb.js → location-services-86s3977f.js} +1 -1
- package/dist/chunks/{location-mutation-0h1823wr.js → location-services-86y9jrhy.js} +29 -29
- package/dist/chunks/{location-mutation-zwtzvvjx.js → location-services-8d452593.js} +11 -11
- package/dist/chunks/{location-mutation-1bwaarmf.js → location-services-8je8k5cb.js} +4 -4
- package/dist/chunks/{location-mutation-sy0cq7x8.js → location-services-8xqt1c25.js} +3 -3
- package/dist/chunks/{location-mutation-78k4jgfg.js → location-services-9175d0mz.js} +12 -12
- package/dist/chunks/{location-mutation-hp5x85jt.js → location-services-93763nq9.js} +20 -20
- package/dist/chunks/{location-mutation-zt4xbacx.js → location-services-93aea81q.js} +22 -22
- package/dist/chunks/{location-mutation-vs15gdj7.js → location-services-954vm9zf.js} +6 -6
- package/dist/chunks/{location-mutation-fy6n5twb.js → location-services-98nks7yx.js} +4 -4
- package/dist/chunks/{location-mutation-sykc9y4a.js → location-services-994b2pxg.js} +5 -5
- package/dist/chunks/{location-mutation-nfjw82t9.js → location-services-9d3b2ydm.js} +7 -7
- package/dist/chunks/{location-mutation-6cb6478y.js → location-services-9e45c1vq.js} +20 -20
- package/dist/chunks/{location-mutation-h0z9htzn.js → location-services-9mwtsm6t.js} +19 -19
- package/dist/chunks/{location-mutation-r0msr716.js → location-services-9p3tsgpy.js} +4 -4
- package/dist/chunks/{location-mutation-yvbvz765.js → location-services-9ze5atdz.js} +57 -57
- package/dist/chunks/{location-mutation-kxdr1kq1.js → location-services-a4vmehse.js} +23 -23
- package/dist/chunks/{location-mutation-sd27yh2r.js → location-services-a75chk1r.js} +5 -5
- package/dist/chunks/{location-mutation-tqaejzyn.js → location-services-aa4x52zb.js} +11 -11
- package/dist/chunks/{location-mutation-aaet6srn.js → location-services-aaet6srn.js} +2 -2
- package/dist/chunks/location-services-ah3vh4fp.js +460 -0
- package/dist/chunks/{location-mutation-3jz20tpy.js → location-services-ap8gxcbn.js} +6 -6
- package/dist/chunks/{location-mutation-qxj5q7gc.js → location-services-az24jgzn.js} +9 -9
- package/dist/chunks/{location-mutation-b6gygkdw.js → location-services-b6gygkdw.js} +2 -2
- package/dist/chunks/{location-mutation-em9dwk44.js → location-services-b7cxq2m5.js} +25 -25
- package/dist/chunks/{location-mutation-b9wsbatv.js → location-services-b9wsbatv.js} +1 -1
- package/dist/chunks/{location-mutation-h0rsqts8.js → location-services-bexxahbt.js} +28 -28
- package/dist/chunks/{location-mutation-6kwfy8hq.js → location-services-bxm0k6ts.js} +31 -31
- package/dist/chunks/{location-mutation-6e958v7x.js → location-services-c0faa19c.js} +6 -6
- package/dist/chunks/{location-mutation-gfgqbam0.js → location-services-c28brx2k.js} +6 -6
- package/dist/chunks/{location-mutation-fztharvt.js → location-services-c76926jn.js} +9 -9
- package/dist/chunks/{location-mutation-tbhbzg6j.js → location-services-c9sjs92y.js} +10 -10
- package/dist/chunks/{location-mutation-cn0gp01e.js → location-services-ce044ptp.js} +2 -2
- package/dist/chunks/{location-mutation-ar6zppax.js → location-services-ck91x8tz.js} +36 -36
- package/dist/chunks/{location-mutation-eepzdbxz.js → location-services-czqdcwjb.js} +14 -14
- package/dist/chunks/{location-mutation-rcy6hjed.js → location-services-d41v0vs9.js} +23 -22
- package/dist/chunks/{location-mutation-k0h1cen8.js → location-services-d674kx35.js} +11 -11
- package/dist/chunks/location-services-db0m4wvs.js +51 -0
- package/dist/chunks/{location-mutation-gcegv8bm.js → location-services-dc0m9nfq.js} +20 -20
- package/dist/chunks/{location-mutation-prk0e8fy.js → location-services-dc2ndnks.js} +9 -9
- package/dist/chunks/{location-mutation-8gqsnzk6.js → location-services-dedcm63c.js} +22 -22
- package/dist/chunks/{location-mutation-psw3c1gx.js → location-services-dns6mj49.js} +9 -9
- package/dist/chunks/{location-mutation-gk9cwknp.js → location-services-dx0wg0tz.js} +76 -76
- package/dist/chunks/{location-mutation-768z0hjh.js → location-services-e5b0qn1c.js} +1 -1
- package/dist/chunks/{location-mutation-ttbkqz8v.js → location-services-e5pek5sn.js} +8 -8
- package/dist/chunks/{location-mutation-zt4v7pfa.js → location-services-en3sh7px.js} +9 -9
- package/dist/chunks/{location-mutation-jn8mbdkr.js → location-services-eyb1z5ae.js} +11 -11
- package/dist/chunks/{location-mutation-wdq06wjp.js → location-services-f1axbr6p.js} +40 -40
- package/dist/chunks/{location-mutation-tkk8z58j.js → location-services-fecdhfha.js} +7 -7
- package/dist/chunks/{location-mutation-3wyb35ec.js → location-services-fgmsv21m.js} +15 -15
- package/dist/chunks/{location-mutation-ymb94r1y.js → location-services-fs6wj8at.js} +24 -24
- package/dist/chunks/{location-mutation-efv4s0g0.js → location-services-fvanntqq.js} +6 -6
- package/dist/chunks/{location-mutation-fpq4fbkk.js → location-services-fvt5q22p.js} +6 -6
- package/dist/chunks/{location-mutation-fxbjtjnd.js → location-services-fxbjtjnd.js} +1 -1
- package/dist/chunks/{location-mutation-fxypknc8.js → location-services-fxypknc8.js} +1 -1
- package/dist/chunks/{location-mutation-hrvm11jt.js → location-services-g2dy4bvs.js} +3 -3
- package/dist/chunks/{location-mutation-d72308c8.js → location-services-g2gt0w0k.js} +2 -2
- package/dist/chunks/{location-mutation-d1a1bt21.js → location-services-g41n1fn3.js} +5 -5
- package/dist/chunks/{location-mutation-5k67w2az.js → location-services-g72d1q92.js} +10 -10
- package/dist/chunks/{location-mutation-at5d07az.js → location-services-g8d3gcyj.js} +7 -7
- package/dist/chunks/{location-mutation-3mrm2hwf.js → location-services-g95cjzen.js} +10 -10
- package/dist/chunks/{location-mutation-gd4qta3r.js → location-services-gd4qta3r.js} +1 -1
- package/dist/chunks/{location-mutation-kq8qk9j3.js → location-services-gjzxw37y.js} +27 -27
- package/dist/chunks/location-services-gr1309v5.js +22 -0
- package/dist/chunks/{location-mutation-bcq4t5vj.js → location-services-gs4rkss0.js} +7 -7
- package/dist/chunks/{location-mutation-19teqjg6.js → location-services-gvmqvecv.js} +30 -30
- package/dist/chunks/{location-mutation-ae9mband.js → location-services-gxrn9h3d.js} +26 -26
- package/dist/chunks/{location-mutation-ypvj0dvm.js → location-services-gya8g0qk.js} +11 -11
- package/dist/chunks/{location-mutation-w9xrf1e2.js → location-services-gyqz79xx.js} +25 -25
- package/dist/chunks/{location-mutation-h6vf3j39.js → location-services-h6vf3j39.js} +1 -1
- package/dist/chunks/{location-mutation-vbtnabzj.js → location-services-hcd9bceq.js} +14 -14
- package/dist/chunks/{location-mutation-heyhwy2w.js → location-services-heyhwy2w.js} +1 -1
- package/dist/chunks/{location-mutation-yq6h1dyd.js → location-services-hmnf0bp1.js} +5 -5
- package/dist/chunks/{location-mutation-y3epb4cg.js → location-services-hnxfn165.js} +18 -18
- package/dist/chunks/{location-mutation-wj1cs9x4.js → location-services-hqrrhmbp.js} +25 -25
- package/dist/chunks/{location-mutation-exqkd66q.js → location-services-ht2yd5p4.js} +26 -26
- package/dist/chunks/{location-mutation-nyrmy1z6.js → location-services-j0ezphm2.js} +20 -20
- package/dist/chunks/{location-mutation-mjncxbbh.js → location-services-j5208yae.js} +6 -6
- package/dist/chunks/{location-mutation-ms7jfr1m.js → location-services-j9sb8mea.js} +9 -9
- package/dist/chunks/{location-mutation-z954rzej.js → location-services-jd9eyjvc.js} +38 -38
- package/dist/chunks/{location-mutation-bcezcar3.js → location-services-je9hks3h.js} +5 -5
- package/dist/chunks/{location-mutation-y71avatq.js → location-services-jwcy2c2z.js} +4 -4
- package/dist/chunks/{location-mutation-rv6p7w22.js → location-services-jyyqr7q3.js} +14 -14
- package/dist/chunks/{location-mutation-twg9q6d2.js → location-services-jze0w19d.js} +16 -16
- package/dist/chunks/{location-mutation-0sk6av0w.js → location-services-k0ngpa4t.js} +35 -35
- package/dist/chunks/{location-mutation-7xfsdta4.js → location-services-k0ya8bme.js} +16 -16
- package/dist/chunks/{location-mutation-k4bwy1x5.js → location-services-k4bwy1x5.js} +1 -1
- package/dist/chunks/{location-mutation-zrg626nr.js → location-services-k4vvhz10.js} +11 -11
- package/dist/chunks/{location-mutation-mtan077r.js → location-services-k937cge0.js} +17 -17
- package/dist/chunks/{location-mutation-gm8tpq3e.js → location-services-k962g4j1.js} +11 -11
- package/dist/chunks/{location-mutation-ext0y26q.js → location-services-kctmjn4p.js} +5 -5
- package/dist/chunks/{location-mutation-7678e2w2.js → location-services-kfgvrrfp.js} +26 -26
- package/dist/chunks/{location-mutation-kg06axw8.js → location-services-kg06axw8.js} +1 -1
- package/dist/chunks/{location-mutation-ecjyhxv0.js → location-services-khfm06dd.js} +12 -12
- package/dist/chunks/{location-mutation-yfbd16n1.js → location-services-kk3rr3qh.js} +5 -5
- package/dist/chunks/{location-mutation-vy6tdsmf.js → location-services-knktnvd5.js} +4 -4
- package/dist/chunks/{location-mutation-crrrqmng.js → location-services-kpgzv4p9.js} +13 -13
- package/dist/chunks/{location-mutation-kvsjn1dr.js → location-services-kvsjn1dr.js} +2 -2
- package/dist/chunks/location-services-m2pjqhxk.js +44 -0
- package/dist/chunks/{location-mutation-xc28r99p.js → location-services-m372t30b.js} +34 -34
- package/dist/chunks/{location-mutation-ekhhj8pe.js → location-services-m8dnhwdf.js} +7 -7
- package/dist/chunks/{location-mutation-m9w0rfyh.js → location-services-m9w0rfyh.js} +1 -1
- package/dist/chunks/{location-mutation-2w6bfmvf.js → location-services-mcxg6pmm.js} +1 -1
- package/dist/chunks/{location-mutation-x5www9fj.js → location-services-menvx3m9.js} +20 -20
- package/dist/chunks/{location-mutation-nrznasy4.js → location-services-mnqcpvp4.js} +24 -24
- package/dist/chunks/{location-mutation-5n6tmmp5.js → location-services-n1xadze2.js} +11 -11
- package/dist/chunks/{location-mutation-9r2wxtzb.js → location-services-n57ezdmm.js} +15 -15
- package/dist/chunks/{location-mutation-rnsf690d.js → location-services-nfs5s19p.js} +9 -9
- package/dist/chunks/{location-mutation-nf2cw6d6.js → location-services-nj1fe1jb.js} +4 -4
- package/dist/chunks/{location-mutation-wfeyt0dq.js → location-services-nnnj2wbt.js} +28 -28
- package/dist/chunks/{location-mutation-n7z8rwmy.js → location-services-nzyds8rb.js} +12 -12
- package/dist/chunks/{location-mutation-nfe1n4jc.js → location-services-p0w949fe.js} +6 -6
- package/dist/chunks/{location-mutation-c5d63h90.js → location-services-p4671y1g.js} +20 -20
- package/dist/chunks/{location-mutation-bjg9h0sq.js → location-services-pa4f1x1m.js} +22 -22
- package/dist/chunks/{location-mutation-3gqhr4wr.js → location-services-pfnbt8cc.js} +16 -16
- package/dist/chunks/{location-mutation-09qfd5pw.js → location-services-phmx9zzk.js} +41 -41
- package/dist/chunks/{location-mutation-pjvnvgmy.js → location-services-pjvnvgmy.js} +1 -1
- package/dist/chunks/{location-mutation-pknna89w.js → location-services-pknna89w.js} +1 -1
- package/dist/chunks/{location-mutation-2tp8tyg3.js → location-services-pqvede48.js} +4 -4
- package/dist/chunks/{location-mutation-bjjsq4aq.js → location-services-q3mvmq3w.js} +8 -8
- package/dist/chunks/{location-mutation-xsrpbzp3.js → location-services-q3s1g42q.js} +7 -7
- package/dist/chunks/{location-mutation-5mhvc9ws.js → location-services-q9rc88k9.js} +11 -11
- package/dist/chunks/location-services-qnnvnzf3.js +287 -0
- package/dist/chunks/{location-mutation-qsdy395h.js → location-services-qsdy395h.js} +1 -1
- package/dist/chunks/{location-mutation-9qm9egsn.js → location-services-qvbcabdc.js} +2 -2
- package/dist/chunks/{location-mutation-d3vxtdrv.js → location-services-qvwjc6yp.js} +10 -10
- package/dist/chunks/{location-mutation-jph4yfm0.js → location-services-r4shs0wn.js} +10 -10
- package/dist/chunks/{location-mutation-r8dhm0tv.js → location-services-r8dhm0tv.js} +1 -1
- package/dist/chunks/{location-mutation-geemq6eh.js → location-services-rj5w3mtz.js} +4 -4
- package/dist/chunks/{location-mutation-wfsrt4xp.js → location-services-rjgrhwwz.js} +4 -4
- package/dist/chunks/{location-mutation-aj7d9r5a.js → location-services-rmy3e5eg.js} +3 -3
- package/dist/chunks/{location-mutation-kx2gvdct.js → location-services-rvhss2m2.js} +4 -4
- package/dist/chunks/{location-mutation-6tkeq6mm.js → location-services-rxzgqjy1.js} +3 -3
- package/dist/chunks/{location-mutation-8jxcp26p.js → location-services-s18jmqte.js} +12 -12
- package/dist/chunks/{location-mutation-q3bvm35g.js → location-services-s2vs8x71.js} +39 -39
- package/dist/chunks/{location-mutation-pt7wq7x0.js → location-services-s3eqpch7.js} +1 -1
- package/dist/chunks/{location-mutation-sba4qhjf.js → location-services-sba4qhjf.js} +1 -1
- package/dist/chunks/{location-mutation-mr8pv455.js → location-services-sbq66r6g.js} +27 -27
- package/dist/chunks/{location-mutation-zr94hr5w.js → location-services-se8343fv.js} +25 -25
- package/dist/chunks/{location-mutation-a8pydxdv.js → location-services-sy92nsfc.js} +1 -1
- package/dist/chunks/{location-mutation-0nwt5npc.js → location-services-t7rtampj.js} +2 -2
- package/dist/chunks/{location-mutation-qhkgmvvr.js → location-services-t95a6mym.js} +2 -2
- package/dist/chunks/{location-mutation-tazgh4e4.js → location-services-tazgh4e4.js} +1 -1
- package/dist/chunks/{location-mutation-tcezcvh9.js → location-services-tcezcvh9.js} +1 -1
- package/dist/chunks/{location-mutation-tjykrgmx.js → location-services-tjykrgmx.js} +1 -1
- package/dist/chunks/{location-mutation-6jv2bj4v.js → location-services-tk228e24.js} +82 -82
- package/dist/chunks/{location-mutation-0qwgmk3c.js → location-services-tmhmjagm.js} +8 -8
- package/dist/chunks/{location-mutation-4mws4vra.js → location-services-tnjhdsge.js} +9 -9
- package/dist/chunks/{location-mutation-827gjf98.js → location-services-tp6caa3d.js} +11 -11
- package/dist/chunks/{location-mutation-1h561g3c.js → location-services-v2pza5zk.js} +8 -8
- package/dist/chunks/{location-mutation-k3wca5q4.js → location-services-v594shb6.js} +21 -21
- package/dist/chunks/{location-mutation-tppvcy65.js → location-services-v60ecprk.js} +7 -7
- package/dist/chunks/{location-mutation-0pdnz7ef.js → location-services-vfrvdtz3.js} +29 -29
- package/dist/chunks/location-services-vm9h7nn7.js +247 -0
- package/dist/chunks/{location-mutation-ve4pfa0n.js → location-services-vncycja5.js} +4 -4
- package/dist/chunks/{location-mutation-q18qpsh3.js → location-services-vpjfb8q2.js} +16 -16
- package/dist/chunks/{location-mutation-737r5hhq.js → location-services-vqkewy85.js} +22 -22
- package/dist/chunks/{location-mutation-yj3e99fm.js → location-services-vsr56sgz.js} +3 -3
- package/dist/chunks/{location-mutation-xny6jqhd.js → location-services-w2vgcc2w.js} +37 -37
- package/dist/chunks/{location-mutation-w3wsvvr9.js → location-services-w3wsvvr9.js} +1 -1
- package/dist/chunks/{location-mutation-0rag4e4f.js → location-services-w4600456.js} +4 -4
- package/dist/chunks/{location-mutation-x06whm69.js → location-services-w7j7tazs.js} +11 -11
- package/dist/chunks/{location-mutation-gxvh7thp.js → location-services-wcnr6rrh.js} +9 -9
- package/dist/chunks/{location-mutation-wd87259q.js → location-services-wd87259q.js} +1 -1
- package/dist/chunks/{location-mutation-0b89de78.js → location-services-ww8c32hp.js} +5 -5
- package/dist/chunks/{location-mutation-69wmbgv2.js → location-services-wze2vh4b.js} +8 -8
- package/dist/chunks/{location-mutation-rnkmxyqk.js → location-services-x00g5gps.js} +9 -9
- package/dist/chunks/{location-mutation-x1ezjp6w.js → location-services-x1ezjp6w.js} +1 -1
- package/dist/chunks/{location-mutation-17cx6v33.js → location-services-x24q2dv9.js} +193 -153
- package/dist/chunks/{location-mutation-5zgn512j.js → location-services-x66mkz1z.js} +26 -26
- package/dist/chunks/{location-mutation-h9k9cmfx.js → location-services-x9qr1909.js} +9 -9
- package/dist/chunks/{location-mutation-y5j2xpyk.js → location-services-xazezp0p.js} +11 -11
- package/dist/chunks/{location-mutation-x0mkew1p.js → location-services-xbpts9sh.js} +9 -9
- package/dist/chunks/{location-mutation-gsegsdbx.js → location-services-xexqb8q9.js} +8 -8
- package/dist/chunks/{location-mutation-8z5rgnjd.js → location-services-xhtgrbvc.js} +8 -8
- package/dist/chunks/{location-mutation-jnmmvqjs.js → location-services-xqsy6kp0.js} +1 -1
- package/dist/chunks/{location-mutation-bb7r8rxx.js → location-services-xr8qdc97.js} +15 -15
- package/dist/chunks/{location-mutation-1qsrvesq.js → location-services-xre0f2nr.js} +31 -31
- package/dist/chunks/{location-mutation-rsp2kejy.js → location-services-xtxq49pg.js} +13 -13
- package/dist/chunks/{location-mutation-n9xwprfq.js → location-services-y0wtxgtq.js} +24 -24
- package/dist/chunks/{location-mutation-32971pnb.js → location-services-y15phd97.js} +25 -25
- package/dist/chunks/{location-mutation-y1fvbwt7.js → location-services-y1fvbwt7.js} +1 -1
- package/dist/chunks/{location-mutation-93a8yfjt.js → location-services-y2cqme3r.js} +5 -5
- package/dist/chunks/{location-mutation-hxsqza2t.js → location-services-y2e9289q.js} +22 -22
- package/dist/chunks/{location-mutation-4g8dp60g.js → location-services-ya5ydtak.js} +6 -6
- package/dist/chunks/{location-mutation-9v1bmnwj.js → location-services-yf5er8qd.js} +11 -11
- package/dist/chunks/{location-mutation-ajtjthsy.js → location-services-yg7sb877.js} +2 -2
- package/dist/chunks/{location-mutation-wkpm2t5g.js → location-services-ym8n7jpx.js} +11 -11
- package/dist/chunks/{location-mutation-z1k01bn4.js → location-services-z1k01bn4.js} +2 -2
- package/dist/chunks/{location-mutation-5ynzwv1w.js → location-services-z2s7y4xn.js} +46 -46
- package/dist/chunks/{location-mutation-djtdz80w.js → location-services-z3xgatyd.js} +4 -4
- package/dist/chunks/{location-mutation-8m0dxkat.js → location-services-z5837jq4.js} +18 -18
- package/dist/chunks/{location-mutation-babry5yc.js → location-services-zj4hh745.js} +7 -7
- package/dist/chunks/{location-mutation-2t2f1f7r.js → location-services-zkzsy6tz.js} +27 -27
- package/dist/chunks/{location-mutation-fhx1q6kw.js → location-services-zmchtb2v.js} +8 -8
- package/dist/chunks/{location-mutation-zajwd6at.js → location-services-zn2pq4p8.js} +5 -5
- package/dist/chunks/{location-mutation-zxq2ej10.js → location-services-zxq2ej10.js} +1 -1
- package/dist/codemode/catalog.js +1 -1
- package/dist/codemode/instructions.js +7 -7
- 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 +116 -116
- package/dist/config/plugin/command.js +207 -207
- package/dist/config/plugin/compaction.js +153 -153
- package/dist/config/plugin/entry-observer.js +1 -1
- package/dist/config/plugin/formatter.js +116 -116
- package/dist/config/plugin/image.js +114 -114
- package/dist/config/plugin/instruction.js +85 -85
- package/dist/config/plugin/location-watcher.js +114 -114
- package/dist/config/plugin/mcp.js +125 -125
- package/dist/config/plugin/policy.js +113 -113
- package/dist/config/plugin/provider.js +112 -112
- package/dist/config/plugin/reference.js +116 -116
- package/dist/config/plugin/shell.js +115 -115
- package/dist/config/plugin/skill-file.js +96 -96
- package/dist/config/plugin/skill.js +134 -134
- package/dist/config/plugin/snapshot.js +114 -114
- package/dist/config/plugin/source.js +116 -116
- package/dist/config/plugin/tool-output.js +116 -116
- package/dist/config/plugin/websearch.js +112 -112
- package/dist/config/plugin/worktree.js +122 -0
- package/dist/config/variable.js +3 -3
- package/dist/config/watch.js +1 -1
- package/dist/config.js +118 -118
- package/dist/credential/sql.js +2 -2
- package/dist/credential.js +82 -82
- package/dist/database/database.js +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 +74 -74
- package/dist/database/v1-migration.js +1 -1
- package/dist/effect/app-node-builder.js +358 -356
- 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 +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 +68 -68
- 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 +218 -215
- package/dist/filesystem/protected.js +1 -1
- package/dist/filesystem/search.js +99 -99
- package/dist/filesystem/watcher-binding.js +1 -1
- package/dist/filesystem/watcher.js +15 -15
- package/dist/filesystem.js +100 -100
- package/dist/form.js +84 -84
- package/dist/formatter/builtins.js +4 -4
- package/dist/formatter.js +82 -82
- package/dist/generate.js +90 -90
- package/dist/git.js +5 -5
- 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 +7 -7
- package/dist/instance.js +349 -347
- package/dist/instruction-discovery.js +83 -83
- package/dist/instructions/builtins.js +82 -82
- package/dist/instructions/index.js +3 -3
- package/dist/integration/connection.js +1 -1
- package/dist/integration.js +83 -83
- package/dist/job.js +77 -77
- package/dist/kv/sql.js +2 -2
- package/dist/kv.js +71 -71
- package/dist/location-activity.js +83 -83
- package/dist/location-mutation.js +81 -81
- package/dist/location-service-map.js +83 -83
- package/dist/location-services.js +346 -344
- package/dist/location.js +78 -78
- package/dist/mcp/client.js +86 -86
- package/dist/mcp/index.js +94 -94
- package/dist/mcp/instructions.js +120 -120
- package/dist/mcp/oauth.js +2 -2
- 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 +85 -85
- package/dist/model.js +6 -6
- package/dist/models-dev.js +78 -78
- 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 +107 -107
- 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 +98 -98
- package/dist/plugin/command.js +95 -95
- package/dist/plugin/hooks.js +5 -5
- package/dist/plugin/host.js +213 -210
- package/dist/plugin/instance.js +5 -5
- package/dist/plugin/internal.js +320 -316
- package/dist/plugin/mcp-codemode-exclusion.js +3 -3
- package/dist/plugin/models-dev.js +75 -75
- package/dist/plugin/module.js +2 -2
- package/dist/plugin/plan.js +96 -96
- 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 +4 -4
- package/dist/plugin/provider/azure.js +117 -117
- package/dist/plugin/provider/cerebras.js +2 -2
- package/dist/plugin/provider/cloudflare-ai-gateway.js +116 -116
- package/dist/plugin/provider/cloudflare-workers-ai.js +116 -116
- package/dist/plugin/provider/cohere.js +2 -2
- package/dist/plugin/provider/configured.js +113 -113
- 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 +79 -79
- 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 +75 -75
- package/dist/plugin/provider/lmstudio.js +116 -116
- package/dist/plugin/provider/mistral.js +2 -2
- package/dist/plugin/provider/modal.js +78 -78
- package/dist/plugin/provider/nvidia.js +2 -2
- package/dist/plugin/provider/ollama.js +116 -116
- package/dist/plugin/provider/openai-compatible.js +1 -1
- package/dist/plugin/provider/openai.js +79 -79
- package/dist/plugin/provider/opencode.js +75 -75
- 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 +116 -116
- package/dist/plugin/provider/xai.js +76 -76
- package/dist/plugin/provider/zenmux.js +2 -2
- package/dist/plugin/provider.js +154 -154
- package/dist/plugin/sdk.js +72 -72
- package/dist/plugin/service.js +5 -5
- package/dist/plugin/skill.js +131 -131
- package/dist/plugin/source-directory.js +1 -1
- package/dist/plugin/supervisor.js +339 -335
- package/dist/plugin/system-prompt.js +5 -5
- 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 +111 -111
- 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 +6 -6
- package/dist/plugin/websearch/parallel.js +8 -8
- package/dist/plugin/websearch/tavily.js +6 -6
- package/dist/plugin.js +220 -217
- package/dist/project/schema.js +6 -6
- package/dist/project/sql.js +4 -4
- package/dist/project.js +79 -79
- 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 +82 -82
- 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 +89 -89
- package/dist/rpc.js +81 -81
- package/dist/schema.js +1 -1
- package/dist/session/command.js +72 -72
- package/dist/session/compaction.js +123 -123
- package/dist/session/context.js +145 -145
- package/dist/session/environment.js +5 -5
- package/dist/session/error.js +5 -5
- package/dist/session/event.js +1 -1
- package/dist/session/execution/restart.js +212 -212
- package/dist/session/execution.js +116 -116
- package/dist/session/generate.js +144 -144
- package/dist/session/history.js +12 -12
- package/dist/session/inbox.js +86 -86
- package/dist/session/info.js +3 -3
- package/dist/session/instruction-entry.js +77 -77
- package/dist/session/instruction-state.js +8 -8
- package/dist/session/instructions.js +91 -91
- package/dist/session/message-updater.js +4 -4
- package/dist/session/message.js +1 -1
- package/dist/session/model-request.js +112 -112
- package/dist/session/model-transport.js +9 -9
- package/dist/session/move.js +122 -122
- package/dist/session/projector.js +84 -84
- package/dist/session/prompt.js +99 -99
- package/dist/session/revert.js +85 -85
- package/dist/session/run-coordinator.js +3 -3
- package/dist/session/runner/index.js +1 -1
- package/dist/session/runner/llm.js +223 -220
- package/dist/session/runner/max-steps.js +1 -1
- package/dist/session/runner/model.js +85 -85
- package/dist/session/runner/publish-llm-event.js +3 -3
- package/dist/session/runner/retry.js +4 -4
- package/dist/session/runner/step.js +119 -119
- package/dist/session/runner/to-llm-message.js +1 -1
- package/dist/session/schema.js +5 -5
- package/dist/session/session.js +167 -167
- package/dist/session/shell.js +130 -130
- package/dist/session/skill.js +97 -97
- package/dist/session/sql.js +5 -5
- package/dist/session/stats.js +71 -71
- package/dist/session/store.js +84 -84
- package/dist/session/subagent-completion.js +1 -1
- package/dist/session/subagent-job.js +203 -203
- package/dist/session/system-prompt.js +3 -3
- package/dist/session/title.js +149 -149
- package/dist/session/to-session-error.js +105 -105
- package/dist/session/transfer.js +207 -207
- 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 +13 -13
- package/dist/shell.js +130 -130
- package/dist/skill/discovery.js +6 -6
- package/dist/skill/instructions.js +101 -101
- package/dist/skill.js +104 -104
- 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 +117 -117
- package/dist/tool/plugin/edit.js +114 -114
- package/dist/tool/plugin/file-diff.js +1 -1
- package/dist/tool/plugin/glob.js +117 -117
- package/dist/tool/plugin/grep.js +119 -119
- package/dist/tool/plugin/opencode.js +3 -3
- package/dist/tool/plugin/patch.js +114 -114
- package/dist/tool/plugin/question.js +101 -101
- package/dist/tool/plugin/read.js +120 -120
- package/dist/tool/plugin/shell.js +208 -208
- package/dist/tool/plugin/skill.js +105 -105
- package/dist/tool/plugin/subagent.js +210 -210
- package/dist/tool/plugin/webfetch.js +104 -104
- package/dist/tool/plugin/websearch.js +106 -106
- package/dist/tool/plugin/write.js +116 -116
- package/dist/tool/read-filesystem.js +96 -96
- package/dist/tool/runtime.js +1 -1
- package/dist/tool-output.js +8 -8
- package/dist/tool.js +13 -13
- package/dist/types/config/plugin/worktree.d.ts +6 -0
- package/dist/types/instance.d.ts +2 -1
- package/dist/types/plugin/host.d.ts +3 -2
- package/dist/types/plugin/internal.d.ts +3 -2
- package/dist/types/project/sql.d.ts +1 -1
- package/dist/types/v1/config/migrate.d.ts +3 -0
- package/dist/types/worktree/git.d.ts +1 -1
- package/dist/types/worktree/refresh.d.ts +2 -0
- package/dist/types/worktree.d.ts +22 -36
- 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 +5 -5
- package/dist/v1/config/config.js +16 -16
- package/dist/v1/config/error.js +2 -2
- 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 +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 +2 -2
- 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 +81 -81
- package/dist/websearch.js +82 -82
- package/dist/wellknown/plugin.js +72 -72
- package/dist/wellknown.js +79 -79
- package/dist/workspace/driver.js +7 -7
- package/dist/workspace/sql.js +1 -1
- package/dist/workspace.js +78 -78
- package/dist/worktree/directory.js +4 -4
- package/dist/worktree/git.js +7 -7
- package/dist/worktree/refresh.js +343 -0
- package/dist/worktree/sql.js +5 -5
- package/dist/worktree.js +97 -102
- package/package.json +7 -7
- package/dist/chunks/location-mutation-35chk74t.js +0 -4
- package/dist/chunks/location-mutation-4v7qdvcn.js +0 -18
- package/dist/chunks/location-mutation-62ya9kgq.js +0 -243
- package/dist/chunks/location-mutation-7fmqvqpa.js +0 -20
- package/dist/chunks/location-mutation-jb14a65r.js +0 -450
- package/dist/chunks/location-mutation-m1v38ztw.js +0 -22
- package/dist/chunks/location-mutation-xrrv7eja.js +0 -269
- /package/dist/chunks/{location-mutation-0fabt78z.js → location-services-0fabt78z.js} +0 -0
- /package/dist/chunks/{location-mutation-0qkdqm5v.js → location-services-0qkdqm5v.js} +0 -0
- /package/dist/chunks/{location-mutation-0zkw76rk.js → location-services-0zkw76rk.js} +0 -0
- /package/dist/chunks/{location-mutation-17cy0kzp.js → location-services-17cy0kzp.js} +0 -0
- /package/dist/chunks/{location-mutation-1cnp2v09.js → location-services-1cnp2v09.js} +0 -0
- /package/dist/chunks/{location-mutation-1kg9ymc8.js → location-services-1kg9ymc8.js} +0 -0
- /package/dist/chunks/{location-mutation-2710q6r3.js → location-services-2710q6r3.js} +0 -0
- /package/dist/chunks/{location-mutation-2axfhc9x.js → location-services-2axfhc9x.js} +0 -0
- /package/dist/chunks/{location-mutation-2c3vjs8z.js → location-services-2c3vjs8z.js} +0 -0
- /package/dist/chunks/{location-mutation-359p4xyc.js → location-services-359p4xyc.js} +0 -0
- /package/dist/chunks/{location-mutation-3asan66x.js → location-services-3asan66x.js} +0 -0
- /package/dist/chunks/{location-mutation-3t738kvx.js → location-services-3t738kvx.js} +0 -0
- /package/dist/chunks/{location-mutation-3v8g72cx.js → location-services-3v8g72cx.js} +0 -0
- /package/dist/chunks/{location-mutation-3wcehsnq.js → location-services-3wcehsnq.js} +0 -0
- /package/dist/chunks/{location-mutation-41nvscxy.js → location-services-41nvscxy.js} +0 -0
- /package/dist/chunks/{location-mutation-43n2bw4t.js → location-services-43n2bw4t.js} +0 -0
- /package/dist/chunks/{location-mutation-4knz6hnm.js → location-services-4knz6hnm.js} +0 -0
- /package/dist/chunks/{location-mutation-4y7fprxs.js → location-services-4y7fprxs.js} +0 -0
- /package/dist/chunks/{location-mutation-53557ph1.js → location-services-53557ph1.js} +0 -0
- /package/dist/chunks/{location-mutation-550bvhaj.js → location-services-550bvhaj.js} +0 -0
- /package/dist/chunks/{location-mutation-5qd3pb7m.js → location-services-5qd3pb7m.js} +0 -0
- /package/dist/chunks/{location-mutation-6prwharc.js → location-services-6prwharc.js} +0 -0
- /package/dist/chunks/{location-mutation-7akdwqpd.js → location-services-7akdwqpd.js} +0 -0
- /package/dist/chunks/{location-mutation-7m9af43g.js → location-services-7m9af43g.js} +0 -0
- /package/dist/chunks/{location-mutation-822emrt2.js → location-services-822emrt2.js} +0 -0
- /package/dist/chunks/{location-mutation-88xbtdfr.js → location-services-88xbtdfr.js} +0 -0
- /package/dist/chunks/{location-mutation-8n3pysct.js → location-services-8n3pysct.js} +0 -0
- /package/dist/chunks/{location-mutation-982e01ww.js → location-services-982e01ww.js} +0 -0
- /package/dist/chunks/{location-mutation-9a4afbnw.js → location-services-9a4afbnw.js} +0 -0
- /package/dist/chunks/{location-mutation-9rqn6x4v.js → location-services-9rqn6x4v.js} +0 -0
- /package/dist/chunks/{location-mutation-a1tpkmh4.js → location-services-a1tpkmh4.js} +0 -0
- /package/dist/chunks/{location-mutation-af5trqkr.js → location-services-af5trqkr.js} +0 -0
- /package/dist/chunks/{location-mutation-afrmfg78.js → location-services-afrmfg78.js} +0 -0
- /package/dist/chunks/{location-mutation-aqzs7mqg.js → location-services-aqzs7mqg.js} +0 -0
- /package/dist/chunks/{location-mutation-atq7p7m5.js → location-services-atq7p7m5.js} +0 -0
- /package/dist/chunks/{location-mutation-bkyjaxrp.js → location-services-bkyjaxrp.js} +0 -0
- /package/dist/chunks/{location-mutation-bmr6ed5q.js → location-services-bmr6ed5q.js} +0 -0
- /package/dist/chunks/{location-mutation-cf4snx6d.js → location-services-cf4snx6d.js} +0 -0
- /package/dist/chunks/{location-mutation-cvy3z8tj.js → location-services-cvy3z8tj.js} +0 -0
- /package/dist/chunks/{location-mutation-d9fn303g.js → location-services-d9fn303g.js} +0 -0
- /package/dist/chunks/{location-mutation-d9jj8t3e.js → location-services-d9jj8t3e.js} +0 -0
- /package/dist/chunks/{location-mutation-dajrwvna.js → location-services-dajrwvna.js} +0 -0
- /package/dist/chunks/{location-mutation-dap0rakb.js → location-services-dap0rakb.js} +0 -0
- /package/dist/chunks/{location-mutation-df08tz66.js → location-services-df08tz66.js} +0 -0
- /package/dist/chunks/{location-mutation-dy18nga0.js → location-services-dy18nga0.js} +0 -0
- /package/dist/chunks/{location-mutation-e5kj55wp.js → location-services-e5kj55wp.js} +0 -0
- /package/dist/chunks/{location-mutation-e73j6tqm.js → location-services-e73j6tqm.js} +0 -0
- /package/dist/chunks/{location-mutation-eh3zwz77.js → location-services-eh3zwz77.js} +0 -0
- /package/dist/chunks/{location-mutation-emrn6kk6.js → location-services-emrn6kk6.js} +0 -0
- /package/dist/chunks/{location-mutation-f0mxakyp.js → location-services-f0mxakyp.js} +0 -0
- /package/dist/chunks/{location-mutation-f6n9ztr4.js → location-services-f6n9ztr4.js} +0 -0
- /package/dist/chunks/{location-mutation-faypxj3z.js → location-services-faypxj3z.js} +0 -0
- /package/dist/chunks/{location-mutation-fd410y7t.js → location-services-fd410y7t.js} +0 -0
- /package/dist/chunks/{location-mutation-fxgpk5d8.js → location-services-fxgpk5d8.js} +0 -0
- /package/dist/chunks/{location-mutation-g4wezp1m.js → location-services-g4wezp1m.js} +0 -0
- /package/dist/chunks/{location-mutation-g86h250q.js → location-services-g86h250q.js} +0 -0
- /package/dist/chunks/{location-mutation-gebd4c9n.js → location-services-gebd4c9n.js} +0 -0
- /package/dist/chunks/{location-mutation-hk9envan.js → location-services-hk9envan.js} +0 -0
- /package/dist/chunks/{location-mutation-j2ntwpah.js → location-services-j2ntwpah.js} +0 -0
- /package/dist/chunks/{location-mutation-j5zkgpj8.js → location-services-j5zkgpj8.js} +0 -0
- /package/dist/chunks/{location-mutation-jr7sbwjy.js → location-services-jr7sbwjy.js} +0 -0
- /package/dist/chunks/{location-mutation-jwfs4k6c.js → location-services-jwfs4k6c.js} +0 -0
- /package/dist/chunks/{location-mutation-jzg6c2d5.js → location-services-jzg6c2d5.js} +0 -0
- /package/dist/chunks/{location-mutation-mntxs535.js → location-services-mntxs535.js} +0 -0
- /package/dist/chunks/{location-mutation-mp448xyj.js → location-services-mp448xyj.js} +0 -0
- /package/dist/chunks/{location-mutation-msx8hqn2.js → location-services-msx8hqn2.js} +0 -0
- /package/dist/chunks/{location-mutation-n05xt0ee.js → location-services-n05xt0ee.js} +0 -0
- /package/dist/chunks/{location-mutation-n3j8tn72.js → location-services-n3j8tn72.js} +0 -0
- /package/dist/chunks/{location-mutation-njntx4h6.js → location-services-njntx4h6.js} +0 -0
- /package/dist/chunks/{location-mutation-p8qxwesx.js → location-services-p8qxwesx.js} +0 -0
- /package/dist/chunks/{location-mutation-q3sfg36h.js → location-services-q3sfg36h.js} +0 -0
- /package/dist/chunks/{location-mutation-q74kybfr.js → location-services-q74kybfr.js} +0 -0
- /package/dist/chunks/{location-mutation-qaymkmh1.js → location-services-qaymkmh1.js} +0 -0
- /package/dist/chunks/{location-mutation-qb87gjwd.js → location-services-qb87gjwd.js} +0 -0
- /package/dist/chunks/{location-mutation-qfa1cgps.js → location-services-qfa1cgps.js} +0 -0
- /package/dist/chunks/{location-mutation-qrg20bc0.js → location-services-qrg20bc0.js} +0 -0
- /package/dist/chunks/{location-mutation-rcb2kzg1.js → location-services-rcb2kzg1.js} +0 -0
- /package/dist/chunks/{location-mutation-sdp7kfr6.js → location-services-sdp7kfr6.js} +0 -0
- /package/dist/chunks/{location-mutation-se0s1eqw.js → location-services-se0s1eqw.js} +0 -0
- /package/dist/chunks/{location-mutation-sk3qaz4a.js → location-services-sk3qaz4a.js} +0 -0
- /package/dist/chunks/{location-mutation-ssg3fenm.js → location-services-ssg3fenm.js} +0 -0
- /package/dist/chunks/{location-mutation-twg0f83k.js → location-services-twg0f83k.js} +0 -0
- /package/dist/chunks/{location-mutation-w803qqfp.js → location-services-w803qqfp.js} +0 -0
- /package/dist/chunks/{location-mutation-wer8tq1h.js → location-services-wer8tq1h.js} +0 -0
- /package/dist/chunks/{location-mutation-wtztk69x.js → location-services-wtztk69x.js} +0 -0
- /package/dist/chunks/{location-mutation-x0ckcb58.js → location-services-x0ckcb58.js} +0 -0
- /package/dist/chunks/{location-mutation-x1b8g1yb.js → location-services-x1b8g1yb.js} +0 -0
- /package/dist/chunks/{location-mutation-x61499pn.js → location-services-x61499pn.js} +0 -0
- /package/dist/chunks/{location-mutation-y44na4kk.js → location-services-y44na4kk.js} +0 -0
- /package/dist/chunks/{location-mutation-y8cydn3q.js → location-services-y8cydn3q.js} +0 -0
- /package/dist/chunks/{location-mutation-ygaqb7jw.js → location-services-ygaqb7jw.js} +0 -0
- /package/dist/chunks/{location-mutation-z9919s4g.js → location-services-z9919s4g.js} +0 -0
- /package/dist/chunks/{location-mutation-zbjnn3ac.js → location-services-zbjnn3ac.js} +0 -0
|
@@ -1,50 +1,50 @@
|
|
|
1
1
|
import {
|
|
2
2
|
typeFollowing2
|
|
3
|
-
} from "./location-
|
|
3
|
+
} from "./location-services-2a5m3afh.js";
|
|
4
4
|
import {
|
|
5
5
|
RelativePath2
|
|
6
|
-
} from "./location-
|
|
6
|
+
} from "./location-services-p8qxwesx.js";
|
|
7
7
|
import {
|
|
8
8
|
Service76
|
|
9
|
-
} from "./location-
|
|
9
|
+
} from "./location-services-kctmjn4p.js";
|
|
10
10
|
import {
|
|
11
11
|
Service53
|
|
12
|
-
} from "./location-
|
|
12
|
+
} from "./location-services-ym8n7jpx.js";
|
|
13
13
|
import {
|
|
14
14
|
Service52
|
|
15
|
-
} from "./location-
|
|
15
|
+
} from "./location-services-az24jgzn.js";
|
|
16
16
|
import {
|
|
17
17
|
DEFAULT_SEARCH_LIMIT2,
|
|
18
18
|
DEFAULT_SEARCH_TIMEOUT_MS2,
|
|
19
19
|
GlobInput2,
|
|
20
20
|
Entry2
|
|
21
|
-
} from "./location-
|
|
21
|
+
} from "./location-services-20s6b78b.js";
|
|
22
22
|
import {
|
|
23
23
|
externalDirectoryPermission2,
|
|
24
|
-
|
|
25
|
-
} from "./location-
|
|
24
|
+
Service74
|
|
25
|
+
} from "./location-services-9175d0mz.js";
|
|
26
26
|
import {
|
|
27
|
-
|
|
28
|
-
} from "./location-
|
|
27
|
+
Service41
|
|
28
|
+
} from "./location-services-30r17csp.js";
|
|
29
29
|
import {
|
|
30
30
|
__export
|
|
31
|
-
} from "./location-
|
|
31
|
+
} from "./location-services-9rqn6x4v.js";
|
|
32
32
|
|
|
33
33
|
// src/tool/plugin/glob.ts
|
|
34
34
|
var exports_glob = {};
|
|
35
35
|
__export(exports_glob, {
|
|
36
36
|
GlobTool: () => exports_glob,
|
|
37
|
-
Input: () =>
|
|
37
|
+
Input: () => Input11,
|
|
38
38
|
Output: () => Output7,
|
|
39
|
-
Plugin: () =>
|
|
40
|
-
name: () =>
|
|
41
|
-
toModelContent: () =>
|
|
39
|
+
Plugin: () => Plugin29,
|
|
40
|
+
name: () => name11,
|
|
41
|
+
toModelContent: () => toModelContent6
|
|
42
42
|
});
|
|
43
43
|
import { ToolFailure } from "@opencode-ai/ai";
|
|
44
44
|
import { Effect, Schema } from "effect";
|
|
45
45
|
import path from "path";
|
|
46
|
-
var
|
|
47
|
-
var
|
|
46
|
+
var name11 = "glob";
|
|
47
|
+
var Input11 = Schema.Struct({
|
|
48
48
|
pattern: GlobInput2.fields.pattern.annotate({ description: "Glob pattern to match files against" }),
|
|
49
49
|
path: Schema.optionalKey(RelativePath2).annotate({
|
|
50
50
|
description: "Directory to search. Defaults to the current working directory."
|
|
@@ -57,26 +57,26 @@ var Input10 = Schema.Struct({
|
|
|
57
57
|
})
|
|
58
58
|
});
|
|
59
59
|
var Output7 = Schema.Array(Entry2);
|
|
60
|
-
var
|
|
60
|
+
var toModelContent6 = (entries, truncated = false) => {
|
|
61
61
|
const lines = entries.length === 0 ? ["No files found"] : entries.map((item) => item.path);
|
|
62
62
|
if (truncated)
|
|
63
63
|
lines.push("", `(Results are truncated: showing first ${entries.length} results. Consider using a more specific path or pattern.)`);
|
|
64
64
|
return lines.join(`
|
|
65
65
|
`);
|
|
66
66
|
};
|
|
67
|
-
var
|
|
67
|
+
var Plugin29 = {
|
|
68
68
|
id: "opencode.tool.glob",
|
|
69
69
|
effect: Effect.fn("GlobTool.Plugin")(function* (ctx) {
|
|
70
70
|
const environment = yield* Service53;
|
|
71
71
|
const ripgrep = yield* Service52;
|
|
72
72
|
const location = yield* Service76;
|
|
73
|
-
const mutation = yield*
|
|
74
|
-
const permission = yield*
|
|
73
|
+
const mutation = yield* Service74;
|
|
74
|
+
const permission = yield* Service41;
|
|
75
75
|
yield* ctx.tool.transform((editor) => editor.add({
|
|
76
|
-
name:
|
|
76
|
+
name: name11,
|
|
77
77
|
options: { codemode: false },
|
|
78
78
|
description: 'Search file paths using a glob pattern (examples: "**/*.ts", "src/**/*.tsx").',
|
|
79
|
-
input:
|
|
79
|
+
input: Input11,
|
|
80
80
|
output: Output7,
|
|
81
81
|
execute: (input, context) => Effect.gen(function* () {
|
|
82
82
|
const searchPath = input.path === "undefined" || input.path === "null" ? undefined : input.path;
|
|
@@ -91,7 +91,7 @@ var Plugin40 = {
|
|
|
91
91
|
source
|
|
92
92
|
});
|
|
93
93
|
yield* permission.assert({
|
|
94
|
-
action:
|
|
94
|
+
action: name11,
|
|
95
95
|
resources: [input.pattern],
|
|
96
96
|
save: ["*"],
|
|
97
97
|
metadata: {
|
|
@@ -126,11 +126,11 @@ var Plugin40 = {
|
|
|
126
126
|
return { entries: entries.slice(0, limit), truncated: entries.length > limit };
|
|
127
127
|
}).pipe(Effect.map((result) => ({
|
|
128
128
|
output: result.entries,
|
|
129
|
-
content:
|
|
129
|
+
content: toModelContent6(result.entries.map((entry) => ({ ...entry, path: path.resolve(location.directory, entry.path) })), result.truncated),
|
|
130
130
|
metadata: { count: result.entries.length, truncated: result.truncated }
|
|
131
131
|
})), Effect.mapError((error) => error instanceof ToolFailure ? error : new ToolFailure({ message: `Unable to find files matching ${input.pattern}`, error })))
|
|
132
132
|
})).pipe(Effect.orDie);
|
|
133
133
|
})
|
|
134
134
|
};
|
|
135
135
|
|
|
136
|
-
export {
|
|
136
|
+
export { name11, Input11, Output7, toModelContent6, Plugin29, exports_glob };
|
|
@@ -1,15 +1,15 @@
|
|
|
1
1
|
import {
|
|
2
2
|
cleanup3
|
|
3
|
-
} from "./location-
|
|
3
|
+
} from "./location-services-gd4qta3r.js";
|
|
4
4
|
import {
|
|
5
5
|
ascending2
|
|
6
|
-
} from "./location-
|
|
6
|
+
} from "./location-services-k4bwy1x5.js";
|
|
7
7
|
import {
|
|
8
8
|
create3
|
|
9
|
-
} from "./location-
|
|
9
|
+
} from "./location-services-kg06axw8.js";
|
|
10
10
|
import {
|
|
11
11
|
__export
|
|
12
|
-
} from "./location-
|
|
12
|
+
} from "./location-services-9rqn6x4v.js";
|
|
13
13
|
|
|
14
14
|
// src/tool-output.ts
|
|
15
15
|
var exports_tool_output2 = {};
|
|
@@ -18,9 +18,9 @@ __export(exports_tool_output2, {
|
|
|
18
18
|
MAX_BYTES: () => MAX_BYTES2,
|
|
19
19
|
MAX_LINES: () => MAX_LINES2,
|
|
20
20
|
RETENTION: () => RETENTION3,
|
|
21
|
-
Service: () =>
|
|
21
|
+
Service: () => Service61,
|
|
22
22
|
ToolOutput: () => exports_tool_output2,
|
|
23
|
-
node: () =>
|
|
23
|
+
node: () => node65
|
|
24
24
|
});
|
|
25
25
|
import path from "path";
|
|
26
26
|
import { Context, Duration, Effect, Layer, Schedule } from "effect";
|
|
@@ -32,13 +32,13 @@ var MAX_BYTES2 = 50 * 1024;
|
|
|
32
32
|
var RETENTION3 = Duration.days(7);
|
|
33
33
|
var DIRECTORY3 = "tool-output";
|
|
34
34
|
|
|
35
|
-
class
|
|
35
|
+
class Service61 extends Context.Service()("@opencode/ToolOutput") {
|
|
36
36
|
}
|
|
37
37
|
var cleanup = Effect.fn("ToolOutput.cleanup")(function* (fs, directory) {
|
|
38
38
|
const entries = yield* fs.readDirectory(directory).pipe(Effect.map((entries) => entries.filter((entry) => /^tool_[0-9a-f]{12}/.test(entry))), Effect.orElseSucceed(() => []));
|
|
39
39
|
yield* cleanup3(fs, entries.map((entry) => path.join(directory, entry)), RETENTION3);
|
|
40
40
|
});
|
|
41
|
-
var layer = Layer.effect(
|
|
41
|
+
var layer = Layer.effect(Service61, Effect.gen(function* () {
|
|
42
42
|
const fs = yield* FSUtil.Service;
|
|
43
43
|
const global = yield* Global.Service;
|
|
44
44
|
const directory = path.join(global.data, DIRECTORY3);
|
|
@@ -122,7 +122,7 @@ var layer = Layer.effect(Service54, Effect.gen(function* () {
|
|
|
122
122
|
metadata: { ...result.metadata, truncated: true, outputPath: file }
|
|
123
123
|
};
|
|
124
124
|
});
|
|
125
|
-
return
|
|
125
|
+
return Service61.of({
|
|
126
126
|
transform: state.transform,
|
|
127
127
|
reload: state.reload,
|
|
128
128
|
truncate,
|
|
@@ -139,10 +139,10 @@ var cleanupNode = makeGlobalNode({
|
|
|
139
139
|
layer: cleanupLayer,
|
|
140
140
|
deps: [FSUtil.node, Global.node]
|
|
141
141
|
});
|
|
142
|
-
var
|
|
143
|
-
service:
|
|
142
|
+
var node65 = makeLocationNode({
|
|
143
|
+
service: Service61,
|
|
144
144
|
layer,
|
|
145
145
|
deps: [FSUtil.node, Global.node, cleanupNode]
|
|
146
146
|
});
|
|
147
147
|
|
|
148
|
-
export { MAX_LINES2, MAX_BYTES2, RETENTION3, DIRECTORY3,
|
|
148
|
+
export { MAX_LINES2, MAX_BYTES2, RETENTION3, DIRECTORY3, Service61, node65, exports_tool_output2 };
|
|
@@ -1,15 +1,15 @@
|
|
|
1
1
|
import {
|
|
2
2
|
SessionMessage2
|
|
3
|
-
} from "./location-
|
|
3
|
+
} from "./location-services-982e01ww.js";
|
|
4
4
|
import {
|
|
5
5
|
__export
|
|
6
|
-
} from "./location-
|
|
6
|
+
} from "./location-services-9rqn6x4v.js";
|
|
7
7
|
|
|
8
8
|
// src/session/message-updater.ts
|
|
9
9
|
var exports_message_updater = {};
|
|
10
10
|
__export(exports_message_updater, {
|
|
11
11
|
SessionMessageUpdater: () => exports_message_updater,
|
|
12
|
-
update: () =>
|
|
12
|
+
update: () => update3
|
|
13
13
|
});
|
|
14
14
|
import { castDraft, produce } from "immer";
|
|
15
15
|
import { DateTime, Effect, Match, pipe, Schema } from "effect";
|
|
@@ -21,7 +21,7 @@ var projectTerminalSnapshot = (draft, event) => {
|
|
|
21
21
|
files: event.data.files ? Array.from(event.data.files) : undefined
|
|
22
22
|
};
|
|
23
23
|
};
|
|
24
|
-
function
|
|
24
|
+
function update3(adapter, event) {
|
|
25
25
|
const created = DateTime.makeUnsafe(event.created);
|
|
26
26
|
const latestTool = (assistant, id) => assistant.content.findLast((item) => item.type === "tool" && item.id === id);
|
|
27
27
|
const latestText = (assistant) => assistant.content.findLast((item) => item.type === "text");
|
|
@@ -383,4 +383,4 @@ function update2(adapter, event) {
|
|
|
383
383
|
return project(event);
|
|
384
384
|
}
|
|
385
385
|
|
|
386
|
-
export {
|
|
386
|
+
export { update3, exports_message_updater };
|
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
import {
|
|
2
2
|
useragent2
|
|
3
|
-
} from "./location-
|
|
3
|
+
} from "./location-services-5291er17.js";
|
|
4
4
|
import {
|
|
5
|
-
|
|
6
|
-
} from "./location-
|
|
5
|
+
ID18
|
|
6
|
+
} from "./location-services-4z6b0fg6.js";
|
|
7
7
|
|
|
8
8
|
// src/plugin/provider/gitlab.ts
|
|
9
9
|
import os from "os";
|
|
@@ -33,7 +33,7 @@ var GitLabPlugin2 = define({
|
|
|
33
33
|
});
|
|
34
34
|
}));
|
|
35
35
|
yield* ctx.aisdk.hook("language", Effect.fn(function* (evt) {
|
|
36
|
-
if (evt.model.providerID !==
|
|
36
|
+
if (evt.model.providerID !== ID18.gitlab)
|
|
37
37
|
return;
|
|
38
38
|
const featureFlags = typeof evt.options.featureFlags === "object" && evt.options.featureFlags ? evt.options.featureFlags : {};
|
|
39
39
|
const id = evt.model.modelID ?? evt.model.id;
|
|
@@ -2,27 +2,27 @@ import {
|
|
|
2
2
|
VariantUnavailableError3,
|
|
3
3
|
UnsupportedPackageError3,
|
|
4
4
|
UnresolvedProviderVariablesError3,
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
} from "./location-
|
|
5
|
+
Service64,
|
|
6
|
+
node68
|
|
7
|
+
} from "./location-services-w2vgcc2w.js";
|
|
8
8
|
import {
|
|
9
9
|
SessionSchema2
|
|
10
|
-
} from "./location-
|
|
10
|
+
} from "./location-services-5rw6je3s.js";
|
|
11
11
|
import {
|
|
12
12
|
__export
|
|
13
|
-
} from "./location-
|
|
13
|
+
} from "./location-services-9rqn6x4v.js";
|
|
14
14
|
|
|
15
15
|
// src/session/runner/model.ts
|
|
16
16
|
var exports_model = {};
|
|
17
17
|
__export(exports_model, {
|
|
18
18
|
ModelNotSelectedError: () => ModelNotSelectedError2,
|
|
19
19
|
ModelUnavailableError: () => ModelUnavailableError2,
|
|
20
|
-
Service: () =>
|
|
20
|
+
Service: () => Service28,
|
|
21
21
|
SessionRunnerModel: () => exports_model,
|
|
22
22
|
UnresolvedProviderVariablesError: () => UnresolvedProviderVariablesError2,
|
|
23
23
|
UnsupportedPackageError: () => UnsupportedPackageError2,
|
|
24
24
|
VariantUnavailableError: () => VariantUnavailableError2,
|
|
25
|
-
node: () =>
|
|
25
|
+
node: () => node32,
|
|
26
26
|
resolved: () => resolved2
|
|
27
27
|
});
|
|
28
28
|
import { makeLocationNode } from "@opencode-ai/util/effect/app-node";
|
|
@@ -48,7 +48,7 @@ var VariantUnavailableError2 = VariantUnavailableError3;
|
|
|
48
48
|
var UnsupportedPackageError2 = UnsupportedPackageError3;
|
|
49
49
|
var UnresolvedProviderVariablesError2 = UnresolvedProviderVariablesError3;
|
|
50
50
|
|
|
51
|
-
class
|
|
51
|
+
class Service28 extends Context.Service()("@opencode/SessionRunnerModel") {
|
|
52
52
|
}
|
|
53
53
|
var resolved2 = (model, options) => ({
|
|
54
54
|
model,
|
|
@@ -61,9 +61,9 @@ var resolved2 = (model, options) => ({
|
|
|
61
61
|
cost: options.cost,
|
|
62
62
|
limit: options.limit
|
|
63
63
|
});
|
|
64
|
-
var layer = Layer.effect(
|
|
65
|
-
const resolver = yield*
|
|
66
|
-
return
|
|
64
|
+
var layer = Layer.effect(Service28, Effect.gen(function* () {
|
|
65
|
+
const resolver = yield* Service64;
|
|
66
|
+
return Service28.of({
|
|
67
67
|
resolve: Effect.fn("SessionRunnerModel.resolve")(function* (session, available) {
|
|
68
68
|
if (!session.model) {
|
|
69
69
|
const resolved = yield* resolver.resolve();
|
|
@@ -81,6 +81,6 @@ var layer = Layer.effect(Service34, Effect.gen(function* () {
|
|
|
81
81
|
})
|
|
82
82
|
});
|
|
83
83
|
}));
|
|
84
|
-
var
|
|
84
|
+
var node32 = makeLocationNode({ service: Service28, layer, deps: [node68] });
|
|
85
85
|
|
|
86
|
-
export { ModelNotSelectedError2, ModelUnavailableError2, VariantUnavailableError2, UnsupportedPackageError2, UnresolvedProviderVariablesError2,
|
|
86
|
+
export { ModelNotSelectedError2, ModelUnavailableError2, VariantUnavailableError2, UnsupportedPackageError2, UnresolvedProviderVariablesError2, Service28, resolved2, node32, exports_model };
|
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
import {
|
|
2
2
|
InvalidError2
|
|
3
|
-
} from "./location-
|
|
3
|
+
} from "./location-services-29x78va6.js";
|
|
4
4
|
import {
|
|
5
5
|
__export
|
|
6
|
-
} from "./location-
|
|
6
|
+
} from "./location-services-9rqn6x4v.js";
|
|
7
7
|
|
|
8
8
|
// src/config/variable.ts
|
|
9
9
|
var exports_variable = {};
|
|
@@ -0,0 +1,44 @@
|
|
|
1
|
+
import {
|
|
2
|
+
Service76,
|
|
3
|
+
node80
|
|
4
|
+
} from "./location-services-kctmjn4p.js";
|
|
5
|
+
import {
|
|
6
|
+
Service30
|
|
7
|
+
} from "./location-services-3evw0qr2.js";
|
|
8
|
+
import {
|
|
9
|
+
Service39,
|
|
10
|
+
node42
|
|
11
|
+
} from "./location-services-qnnvnzf3.js";
|
|
12
|
+
import {
|
|
13
|
+
node20
|
|
14
|
+
} from "./location-services-v594shb6.js";
|
|
15
|
+
import {
|
|
16
|
+
node5
|
|
17
|
+
} from "./location-services-k0ngpa4t.js";
|
|
18
|
+
import {
|
|
19
|
+
__export
|
|
20
|
+
} from "./location-services-9rqn6x4v.js";
|
|
21
|
+
|
|
22
|
+
// src/worktree/refresh.ts
|
|
23
|
+
var exports_refresh = {};
|
|
24
|
+
__export(exports_refresh, {
|
|
25
|
+
WorktreeRefresh: () => exports_refresh,
|
|
26
|
+
node: () => node2
|
|
27
|
+
});
|
|
28
|
+
import { Effect, Layer } from "effect";
|
|
29
|
+
import { makeLocationNode } from "@opencode-ai/util/effect/app-node";
|
|
30
|
+
var layer = Layer.effectDiscard(Effect.gen(function* () {
|
|
31
|
+
const location = yield* Service76;
|
|
32
|
+
const plugins = yield* Service30;
|
|
33
|
+
const worktrees = yield* Service39;
|
|
34
|
+
if (location.workspaceID)
|
|
35
|
+
return;
|
|
36
|
+
yield* plugins.awaitActivation.pipe(Effect.andThen(worktrees.refresh()), Effect.catchCause((cause) => Effect.logWarning("worktree refresh failed", { cause })), Effect.forkScoped);
|
|
37
|
+
}));
|
|
38
|
+
var node2 = makeLocationNode({
|
|
39
|
+
name: "worktree-refresh",
|
|
40
|
+
layer,
|
|
41
|
+
deps: [node42, node80, node20, node5]
|
|
42
|
+
});
|
|
43
|
+
|
|
44
|
+
export { node2, exports_refresh };
|
|
@@ -1,41 +1,41 @@
|
|
|
1
1
|
import {
|
|
2
2
|
makeUnsafe2
|
|
3
|
-
} from "./location-
|
|
3
|
+
} from "./location-services-jwcy2c2z.js";
|
|
4
4
|
import {
|
|
5
5
|
Service79,
|
|
6
6
|
node83
|
|
7
|
-
} from "./location-
|
|
7
|
+
} from "./location-services-3cwf5791.js";
|
|
8
8
|
import {
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
} from "./location-
|
|
9
|
+
Event16,
|
|
10
|
+
Service68,
|
|
11
|
+
node72
|
|
12
|
+
} from "./location-services-86y9jrhy.js";
|
|
13
13
|
import {
|
|
14
14
|
Service76,
|
|
15
15
|
node80
|
|
16
|
-
} from "./location-
|
|
16
|
+
} from "./location-services-kctmjn4p.js";
|
|
17
17
|
import {
|
|
18
18
|
Service53,
|
|
19
19
|
node56
|
|
20
|
-
} from "./location-
|
|
20
|
+
} from "./location-services-ym8n7jpx.js";
|
|
21
21
|
import {
|
|
22
|
-
|
|
23
|
-
|
|
24
|
-
|
|
25
|
-
} from "./location-
|
|
22
|
+
ID14,
|
|
23
|
+
Service69,
|
|
24
|
+
node73
|
|
25
|
+
} from "./location-services-3vy7bm5p.js";
|
|
26
26
|
import {
|
|
27
27
|
reconcile2,
|
|
28
28
|
create3
|
|
29
|
-
} from "./location-
|
|
29
|
+
} from "./location-services-kg06axw8.js";
|
|
30
30
|
import {
|
|
31
|
-
|
|
31
|
+
ID11,
|
|
32
32
|
MethodID2,
|
|
33
|
-
|
|
34
|
-
|
|
35
|
-
} from "./location-
|
|
33
|
+
Service67,
|
|
34
|
+
node71
|
|
35
|
+
} from "./location-services-bexxahbt.js";
|
|
36
36
|
import {
|
|
37
37
|
__export
|
|
38
|
-
} from "./location-
|
|
38
|
+
} from "./location-services-9rqn6x4v.js";
|
|
39
39
|
|
|
40
40
|
// src/mcp/index.ts
|
|
41
41
|
var exports_mcp4 = {};
|
|
@@ -56,7 +56,7 @@ __export(exports_mcp4, {
|
|
|
56
56
|
ServerInfo: () => ServerInfo2,
|
|
57
57
|
ServerInstructions: () => ServerInstructions2,
|
|
58
58
|
ServerName: () => ServerName2,
|
|
59
|
-
Service: () =>
|
|
59
|
+
Service: () => Service34,
|
|
60
60
|
Status: () => Status2,
|
|
61
61
|
Tool: () => Tool3,
|
|
62
62
|
ToolCallError: () => ToolCallError2,
|
|
@@ -64,7 +64,7 @@ __export(exports_mcp4, {
|
|
|
64
64
|
ToolResultContent: () => ToolResultContent2,
|
|
65
65
|
configured: () => configured4,
|
|
66
66
|
layer: () => layer16,
|
|
67
|
-
node: () =>
|
|
67
|
+
node: () => node37
|
|
68
68
|
});
|
|
69
69
|
import { Mcp } from "@opencode-ai/schema/mcp";
|
|
70
70
|
import { McpEvent } from "@opencode-ai/schema/mcp-event";
|
|
@@ -81,7 +81,7 @@ var Status2 = Mcp.Status;
|
|
|
81
81
|
class ServerInfo2 extends Schema.Class("MCP.ServerInfo")({
|
|
82
82
|
name: ServerName2,
|
|
83
83
|
status: Status2,
|
|
84
|
-
integrationID:
|
|
84
|
+
integrationID: ID11.pipe(Schema.optional)
|
|
85
85
|
}) {
|
|
86
86
|
}
|
|
87
87
|
|
|
@@ -165,7 +165,7 @@ var GLOBAL_ELICITATION_SESSION_ID = "global";
|
|
|
165
165
|
var URL_ELICITATION_FIELD_KEY = "elicitation";
|
|
166
166
|
var cloneConfig = (config) => structuredClone(config);
|
|
167
167
|
|
|
168
|
-
class
|
|
168
|
+
class Service34 extends Context.Service()("@opencode/MCP") {
|
|
169
169
|
}
|
|
170
170
|
var Options4 = Schema.Struct({
|
|
171
171
|
clientInfo: Schema.optional(Schema.Struct({
|
|
@@ -173,13 +173,13 @@ var Options4 = Schema.Struct({
|
|
|
173
173
|
version: Schema.String
|
|
174
174
|
}))
|
|
175
175
|
});
|
|
176
|
-
var layer16 = (options) => Layer.effect(
|
|
176
|
+
var layer16 = (options) => Layer.effect(Service34, Effect.gen(function* () {
|
|
177
177
|
const location = yield* Service76;
|
|
178
178
|
const environment = yield* Service53;
|
|
179
179
|
const bus = yield* Service79;
|
|
180
|
-
const forms = yield*
|
|
181
|
-
const integration = yield*
|
|
182
|
-
const credentials = yield*
|
|
180
|
+
const forms = yield* Service69;
|
|
181
|
+
const integration = yield* Service67;
|
|
182
|
+
const credentials = yield* Service68;
|
|
183
183
|
const root = yield* Effect.scope;
|
|
184
184
|
const fork = yield* FiberSet.makeRuntime();
|
|
185
185
|
const entries = new Map;
|
|
@@ -191,7 +191,7 @@ var layer16 = (options) => Layer.effect(Service37, Effect.gen(function* () {
|
|
|
191
191
|
return;
|
|
192
192
|
const remote = entry.config;
|
|
193
193
|
const suffix = "mcp_" + createHash("sha1").update(name + "\x00" + remote.url).digest("hex").slice(0, 16);
|
|
194
|
-
const integrationID =
|
|
194
|
+
const integrationID = ID11.make(suffix);
|
|
195
195
|
entry.integrationID = integrationID;
|
|
196
196
|
owned.add(integrationID);
|
|
197
197
|
const methodID = MethodID2.make(suffix);
|
|
@@ -285,7 +285,7 @@ var layer16 = (options) => Layer.effect(Service37, Effect.gen(function* () {
|
|
|
285
285
|
const elicitation = {
|
|
286
286
|
create: (input) => Effect.gen(function* () {
|
|
287
287
|
if (input.params.mode === "url") {
|
|
288
|
-
const formID =
|
|
288
|
+
const formID = ID14.create();
|
|
289
289
|
const key = input.server + "\x00" + input.params.elicitationId;
|
|
290
290
|
urlElicitations.set(key, formID);
|
|
291
291
|
return yield* forms.ask({
|
|
@@ -527,7 +527,7 @@ var layer16 = (options) => Layer.effect(Service37, Effect.gen(function* () {
|
|
|
527
527
|
yield* startServer(name, entry);
|
|
528
528
|
}).pipe(locks.withLock(name));
|
|
529
529
|
});
|
|
530
|
-
fork(bus.subscribe(
|
|
530
|
+
fork(bus.subscribe(Event16.Switched).pipe(Stream.filter((event) => owned.has(event.data.integrationID)), Stream.runForEach((event) => Effect.sync(() => fork(reconnect(event.data.integrationID))))));
|
|
531
531
|
const state = create3({
|
|
532
532
|
name: "mcp",
|
|
533
533
|
initial: () => ({
|
|
@@ -557,7 +557,7 @@ var layer16 = (options) => Layer.effect(Service37, Effect.gen(function* () {
|
|
|
557
557
|
concurrency: "unbounded",
|
|
558
558
|
discard: true
|
|
559
559
|
}));
|
|
560
|
-
return
|
|
560
|
+
return Service34.of({
|
|
561
561
|
transform: state.transform,
|
|
562
562
|
reload: state.reload,
|
|
563
563
|
servers: Effect.fn("MCP.servers")(function* () {
|
|
@@ -679,12 +679,12 @@ var layer16 = (options) => Layer.effect(Service37, Effect.gen(function* () {
|
|
|
679
679
|
}));
|
|
680
680
|
function configured4(options) {
|
|
681
681
|
return makeLocationNode({
|
|
682
|
-
service:
|
|
682
|
+
service: Service34,
|
|
683
683
|
layer: layer16(options),
|
|
684
|
-
deps: [node80, node56, node83,
|
|
684
|
+
deps: [node80, node56, node83, node73, node71, node72]
|
|
685
685
|
});
|
|
686
686
|
}
|
|
687
|
-
var
|
|
687
|
+
var node37 = configured4();
|
|
688
688
|
function toElicitationField(key, property, required) {
|
|
689
689
|
const machineTitle = /^(boolean|string|number|integer|array|object)(\s+with\b.*|\s+in\b.*)?$/i;
|
|
690
690
|
const title = property.title && !machineTitle.test(property.title.trim()) ? property.title : property.description ?? key;
|
|
@@ -735,4 +735,4 @@ function toElicitationField(key, property, required) {
|
|
|
735
735
|
}
|
|
736
736
|
}
|
|
737
737
|
|
|
738
|
-
export { ServerName2, PromptsChanged2, Status2, ServerInfo2, ServerInstructions2, Tool3, ToolResultContent2, ToolResult2, PromptArgument2, Prompt2, PromptMessage2, PromptResult2, Resource2, ResourceTemplate2, ResourceCatalog2, ResourceContentPart2, ResourceContent2, NotFoundError3, ToolCallError2,
|
|
738
|
+
export { ServerName2, PromptsChanged2, Status2, ServerInfo2, ServerInstructions2, Tool3, ToolResultContent2, ToolResult2, PromptArgument2, Prompt2, PromptMessage2, PromptResult2, Resource2, ResourceTemplate2, ResourceCatalog2, ResourceContentPart2, ResourceContent2, NotFoundError3, ToolCallError2, Service34, Options4, layer16, configured4, node37, exports_mcp4 };
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import {
|
|
2
2
|
Service76
|
|
3
|
-
} from "./location-
|
|
3
|
+
} from "./location-services-kctmjn4p.js";
|
|
4
4
|
import {
|
|
5
5
|
PATCH_CONTEXT_LINES2,
|
|
6
6
|
MAX_PATCH_BYTES2,
|
|
@@ -10,18 +10,18 @@ import {
|
|
|
10
10
|
deletePatch2,
|
|
11
11
|
countPatch2,
|
|
12
12
|
chunksByFile2
|
|
13
|
-
} from "./location-
|
|
13
|
+
} from "./location-services-tazgh4e4.js";
|
|
14
14
|
import {
|
|
15
15
|
DiffError2
|
|
16
|
-
} from "./location-
|
|
16
|
+
} from "./location-services-en3sh7px.js";
|
|
17
17
|
import {
|
|
18
18
|
__export
|
|
19
|
-
} from "./location-
|
|
19
|
+
} from "./location-services-9rqn6x4v.js";
|
|
20
20
|
|
|
21
21
|
// src/plugin/vcs/hg.ts
|
|
22
22
|
var exports_hg = {};
|
|
23
23
|
__export(exports_hg, {
|
|
24
|
-
Plugin: () =>
|
|
24
|
+
Plugin: () => Plugin35,
|
|
25
25
|
VcsHgPlugin: () => exports_hg
|
|
26
26
|
});
|
|
27
27
|
import path from "path";
|
|
@@ -30,7 +30,7 @@ import { ChildProcess } from "effect/unstable/process";
|
|
|
30
30
|
import { define } from "@opencode-ai/plugin/effect/plugin";
|
|
31
31
|
import { FSUtil } from "@opencode-ai/util/fs-util";
|
|
32
32
|
import { AppProcess } from "@opencode-ai/util/process";
|
|
33
|
-
var
|
|
33
|
+
var Plugin35 = define({
|
|
34
34
|
id: "opencode.vcs.hg",
|
|
35
35
|
effect: Effect.fn("VcsHgPlugin")(function* (ctx) {
|
|
36
36
|
const location = yield* Service76;
|
|
@@ -188,4 +188,4 @@ function makeHg(proc, worktree) {
|
|
|
188
188
|
return { status, diff, branch, ancestor, cat };
|
|
189
189
|
}
|
|
190
190
|
|
|
191
|
-
export {
|
|
191
|
+
export { Plugin35, exports_hg };
|
|
@@ -4,7 +4,7 @@ import {
|
|
|
4
4
|
orderSelectedFields2,
|
|
5
5
|
mapUpdateSet2,
|
|
6
6
|
getTableLikeName2
|
|
7
|
-
} from "./location-
|
|
7
|
+
} from "./location-services-emrn6kk6.js";
|
|
8
8
|
|
|
9
9
|
// src/database/drizzle/sqlite-core/effect/update.ts
|
|
10
10
|
import { applyEffectWrapper } from "drizzle-orm/effect-core/query-effect";
|