@opencode-ai/core 0.0.0-dev-19123 → 0.0.0-dev-19130
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/account/sql.js +1 -1
- package/dist/agent.js +79 -79
- package/dist/aisdk-native.js +2 -2
- package/dist/aisdk.js +6 -6
- package/dist/app.js +9 -9
- package/dist/bus.js +71 -71
- package/dist/catalog.js +80 -80
- package/dist/chunks/{location-services-f1axbr6p.js → kv-01vy2qf1.js} +44 -44
- package/dist/chunks/{location-services-en3sh7px.js → kv-025ke3zd.js} +21 -21
- package/dist/chunks/{location-services-0e0xafbb.js → kv-0e0xafbb.js} +2 -2
- package/dist/chunks/{location-services-0paq2nw3.js → kv-0paq2nw3.js} +1 -1
- package/dist/chunks/{location-services-0s9ayhjt.js → kv-0s9ayhjt.js} +1 -1
- package/dist/chunks/{location-services-w7j7tazs.js → kv-0svj7cdm.js} +11 -11
- package/dist/chunks/{location-services-86dyhxqj.js → kv-14khgycb.js} +35 -35
- package/dist/chunks/{location-services-xbpts9sh.js → kv-19wbhakj.js} +9 -9
- package/dist/chunks/{location-services-j9sb8mea.js → kv-1b5vh9jk.js} +9 -9
- package/dist/chunks/{location-services-jd9eyjvc.js → kv-1cdzdhyq.js} +38 -38
- package/dist/chunks/{location-services-1ct4r87x.js → kv-1ct4r87x.js} +1 -1
- package/dist/chunks/{location-services-6k54eer5.js → kv-1fm2s4nd.js} +48 -48
- package/dist/chunks/{location-services-vsr56sgz.js → kv-1mhmc86v.js} +3 -3
- package/dist/chunks/{location-services-pqvede48.js → kv-1mxn2bzq.js} +6 -6
- package/dist/chunks/{location-services-p4671y1g.js → kv-1nynve4p.js} +22 -22
- package/dist/chunks/{location-services-gya8g0qk.js → kv-1wmwrxkp.js} +13 -13
- package/dist/chunks/{location-services-rj5w3mtz.js → kv-1zc94p5g.js} +4 -4
- package/dist/chunks/{location-services-21r38tys.js → kv-21r38tys.js} +1 -1
- package/dist/chunks/{location-services-2a5m3afh.js → kv-2a5m3afh.js} +1 -1
- package/dist/chunks/{location-services-k937cge0.js → kv-2bpd1fgv.js} +21 -21
- package/dist/chunks/{location-services-k4vvhz10.js → kv-2c7rzpng.js} +14 -14
- package/dist/chunks/{location-services-2ht70gj7.js → kv-2ht70gj7.js} +1 -1
- package/dist/chunks/{location-services-2jqmte8w.js → kv-2jqmte8w.js} +2 -2
- package/dist/chunks/{location-services-hqrrhmbp.js → kv-2mpwmjx4.js} +28 -28
- package/dist/chunks/{location-services-zn2pq4p8.js → kv-2rvwcrz3.js} +5 -5
- package/dist/chunks/{location-services-y15phd97.js → kv-2ygmgh61.js} +22 -22
- package/dist/chunks/{location-services-rxzgqjy1.js → kv-2yjgpyrw.js} +5 -5
- package/dist/chunks/{location-services-86s3977f.js → kv-30asy1df.js} +1 -1
- package/dist/chunks/{location-services-5rw6je3s.js → kv-30b3mgv1.js} +3 -3
- package/dist/chunks/{location-services-db0m4wvs.js → kv-31hc9vyy.js} +15 -15
- package/dist/chunks/{location-services-n1xadze2.js → kv-35dhy00d.js} +11 -11
- package/dist/chunks/{location-services-69cg10bk.js → kv-3c8b8tm4.js} +3 -3
- package/dist/chunks/{location-services-e5b0qn1c.js → kv-3d2c5316.js} +1 -1
- package/dist/chunks/{location-services-3fc6dm20.js → kv-3fc6dm20.js} +1 -1
- package/dist/chunks/{location-services-5sb2nwk1.js → kv-3h9522tj.js} +20 -20
- package/dist/chunks/{location-services-3hepkmqq.js → kv-3hepkmqq.js} +1 -1
- package/dist/chunks/{location-services-3qzbfqsy.js → kv-3qzbfqsy.js} +2 -2
- package/dist/chunks/{location-services-3smtnn6g.js → kv-3smtnn6g.js} +1 -1
- package/dist/chunks/{location-services-hcd9bceq.js → kv-3th1nsm4.js} +21 -21
- package/dist/chunks/{location-services-3tvqynh2.js → kv-3tvqynh2.js} +1 -1
- package/dist/chunks/{location-services-vpjfb8q2.js → kv-3x47y2jx.js} +16 -16
- package/dist/chunks/{location-services-2xa4mn5x.js → kv-3yknjtq3.js} +15 -15
- package/dist/chunks/{location-services-nnnj2wbt.js → kv-41a35y05.js} +28 -28
- package/dist/chunks/{location-services-phmx9zzk.js → kv-429n0dgw.js} +43 -43
- package/dist/chunks/{location-services-454k5vzh.js → kv-454k5vzh.js} +1 -1
- package/dist/chunks/{location-services-vfrvdtz3.js → kv-483g9p24.js} +29 -29
- package/dist/chunks/{location-services-xre0f2nr.js → kv-4ayk50q1.js} +30 -30
- package/dist/chunks/{location-services-wze2vh4b.js → kv-4jaxhfp4.js} +8 -8
- package/dist/chunks/{location-services-y2e9289q.js → kv-4p6qzwzt.js} +23 -23
- package/dist/chunks/{location-services-4r2nyarf.js → kv-4r2nyarf.js} +1 -1
- package/dist/chunks/{location-services-sy92nsfc.js → kv-4s94qtmw.js} +1 -1
- package/dist/chunks/{location-services-mcxg6pmm.js → kv-4venaaq7.js} +1 -1
- package/dist/chunks/{location-services-8d452593.js → kv-56mpk5fj.js} +11 -11
- package/dist/chunks/{location-services-q9rc88k9.js → kv-5amgftwf.js} +9 -9
- package/dist/chunks/{location-services-820xmye9.js → kv-5br107eg.js} +32 -32
- package/dist/chunks/{location-services-5daktx2q.js → kv-5daktx2q.js} +1 -1
- package/dist/chunks/{location-services-5fmxt4p5.js → kv-5fmxt4p5.js} +1 -1
- package/dist/chunks/{location-services-5jvc5tg2.js → kv-5jvc5tg2.js} +1 -1
- package/dist/chunks/{location-services-d41v0vs9.js → kv-5wv8fjzp.js} +24 -24
- package/dist/chunks/{location-services-jyyqr7q3.js → kv-5x044jyt.js} +16 -16
- package/dist/chunks/{location-services-xazezp0p.js → kv-6911v57f.js} +11 -11
- package/dist/chunks/{location-services-6abnk40k.js → kv-6abnk40k.js} +2 -2
- package/dist/chunks/{location-services-qvwjc6yp.js → kv-6cz4jj83.js} +11 -11
- package/dist/chunks/{location-services-eyb1z5ae.js → kv-6fpgqq1s.js} +11 -11
- package/dist/chunks/{location-services-2402vzrj.js → kv-6h73sxmp.js} +5 -5
- package/dist/chunks/{location-services-dc2ndnks.js → kv-6ng5d802.js} +9 -9
- package/dist/chunks/{location-services-6tf8tr4v.js → kv-6tf8tr4v.js} +2 -2
- package/dist/chunks/{location-services-x24q2dv9.js → kv-6yakk4cj.js} +162 -162
- package/dist/chunks/{location-services-az24jgzn.js → kv-70g0e2p2.js} +18 -18
- package/dist/chunks/{location-services-711hfp6y.js → kv-711hfp6y.js} +2 -2
- package/dist/chunks/{location-services-x66mkz1z.js → kv-74fc52v4.js} +28 -28
- package/dist/chunks/{location-services-x9qr1909.js → kv-76wr4mq2.js} +9 -9
- package/dist/chunks/{location-services-menvx3m9.js → kv-78t1e9mr.js} +19 -19
- package/dist/chunks/{location-services-xexqb8q9.js → kv-791z5ad3.js} +8 -8
- package/dist/chunks/{location-services-kctmjn4p.js → kv-79wv29v2.js} +14 -14
- package/dist/chunks/{location-services-7bmhse3q.js → kv-7bmhse3q.js} +1 -1
- package/dist/chunks/{location-services-0jwsre1p.js → kv-7dqw4kz8.js} +5 -5
- package/dist/chunks/{location-services-5wqhk4sp.js → kv-7f03nwjd.js} +25 -25
- package/dist/chunks/{location-services-4k5rvnzr.js → kv-7kkxr96g.js} +10 -10
- package/dist/chunks/{location-services-6rd5cydf.js → kv-7mfe7y8k.js} +36 -36
- package/dist/chunks/{location-services-dedcm63c.js → kv-7r6n7f4t.js} +24 -24
- package/dist/chunks/{location-services-e5pek5sn.js → kv-7wh82b4j.js} +8 -8
- package/dist/chunks/{location-services-c9sjs92y.js → kv-86sman9a.js} +10 -10
- package/dist/chunks/{location-services-k0ya8bme.js → kv-888k7gfv.js} +6 -6
- package/dist/chunks/{location-services-aa4x52zb.js → kv-89rs9bn1.js} +11 -11
- package/dist/chunks/{location-services-86y9jrhy.js → kv-8h22p1mt.js} +31 -31
- package/dist/chunks/{location-services-ce044ptp.js → kv-8hznsz6p.js} +2 -2
- package/dist/chunks/{location-services-8je8k5cb.js → kv-8kpe86bq.js} +4 -4
- package/dist/chunks/kv-8n5238z4.js +460 -0
- package/dist/chunks/{location-services-2ame73pb.js → kv-8q94n07n.js} +19 -19
- package/dist/chunks/{location-services-01w7s3hf.js → kv-93e2865f.js} +5 -5
- package/dist/chunks/{location-services-xhtgrbvc.js → kv-96v6enn9.js} +8 -8
- package/dist/chunks/{location-services-r4shs0wn.js → kv-97bakyrv.js} +13 -13
- package/dist/chunks/{location-services-c0faa19c.js → kv-97f5v037.js} +8 -8
- package/dist/chunks/{location-services-pfnbt8cc.js → kv-9d10vese.js} +16 -16
- package/dist/chunks/{location-services-3jj6bjb6.js → kv-9d4efts8.js} +5 -5
- package/dist/chunks/{location-services-994b2pxg.js → kv-9eh6sf6d.js} +5 -5
- package/dist/chunks/{location-services-7d826drz.js → kv-9exe85k5.js} +16 -16
- package/dist/chunks/{location-services-aaet6srn.js → kv-aaet6srn.js} +2 -2
- package/dist/chunks/{location-services-0dv7911r.js → kv-ag4rn41e.js} +4 -4
- package/dist/chunks/{location-services-k0ngpa4t.js → kv-aqdje4az.js} +34 -34
- package/dist/chunks/{location-services-wcnr6rrh.js → kv-avdj7myd.js} +9 -9
- package/dist/chunks/{location-services-j5208yae.js → kv-awaee7qt.js} +6 -6
- package/dist/chunks/{location-services-khfm06dd.js → kv-awsxa8gd.js} +12 -12
- package/dist/chunks/{location-services-9d3b2ydm.js → kv-b1ja8czg.js} +4 -4
- package/dist/chunks/{location-services-a75chk1r.js → kv-b58yw78m.js} +5 -5
- package/dist/chunks/{location-services-b6gygkdw.js → kv-b6gygkdw.js} +2 -2
- package/dist/chunks/{location-services-gs4rkss0.js → kv-b8dyjmnn.js} +10 -10
- package/dist/chunks/{location-services-b9wsbatv.js → kv-b9wsbatv.js} +1 -1
- package/dist/chunks/{location-services-g95cjzen.js → kv-ba11spzb.js} +10 -10
- package/dist/chunks/{location-services-jze0w19d.js → kv-bb9ne5cp.js} +16 -16
- package/dist/chunks/{location-services-je9hks3h.js → kv-bcezcar3.js} +5 -5
- package/dist/chunks/{location-services-vncycja5.js → kv-bct739vz.js} +4 -4
- package/dist/chunks/{location-services-ap8gxcbn.js → kv-bvn1897b.js} +6 -6
- package/dist/chunks/{location-services-6f0pgdt6.js → kv-c4ss8n76.js} +55 -55
- package/dist/chunks/{location-services-kfgvrrfp.js → kv-c7pbxa81.js} +35 -35
- package/dist/chunks/{location-services-rjgrhwwz.js → kv-c8jewj1g.js} +4 -4
- package/dist/chunks/{location-services-49qhf4cn.js → kv-cgpp0vvh.js} +10 -10
- package/dist/chunks/{location-services-558w0eyg.js → kv-cwr9ttf2.js} +4 -4
- package/dist/chunks/{location-services-0ekd4hek.js → kv-cx5csb6c.js} +31 -31
- package/dist/chunks/{location-services-9175d0mz.js → kv-cxcx5eqt.js} +16 -16
- package/dist/chunks/{location-services-b7cxq2m5.js → kv-d3jmhtxn.js} +20 -20
- package/dist/chunks/{location-services-pa4f1x1m.js → kv-d4x3q5xx.js} +24 -24
- package/dist/chunks/{location-services-qnnvnzf3.js → kv-d802p5bq.js} +33 -33
- package/dist/chunks/{location-services-q3s1g42q.js → kv-dcqt63ef.js} +9 -9
- package/dist/chunks/{location-services-knktnvd5.js → kv-deb96avd.js} +4 -4
- package/dist/chunks/{location-services-2ga4d33a.js → kv-dghtnwbk.js} +10 -10
- package/dist/chunks/{location-services-z3xgatyd.js → kv-djtdz80w.js} +4 -4
- package/dist/chunks/{location-services-zkzsy6tz.js → kv-e5zetm5r.js} +30 -30
- package/dist/chunks/{location-services-fvanntqq.js → kv-e6hd9jay.js} +6 -6
- package/dist/chunks/{location-services-k962g4j1.js → kv-e7wahez0.js} +16 -16
- package/dist/chunks/{location-services-n57ezdmm.js → kv-ec9wfmjb.js} +12 -12
- package/dist/chunks/{location-services-rmy3e5eg.js → kv-ec9zcby4.js} +3 -3
- package/dist/chunks/{location-services-g8d3gcyj.js → kv-edrmdtr5.js} +4 -4
- package/dist/chunks/{location-services-6hydcyp0.js → kv-ehmhr202.js} +2 -2
- package/dist/chunks/{location-services-d674kx35.js → kv-exzsytfe.js} +11 -11
- package/dist/chunks/{location-services-5sg4xzjf.js → kv-ez5b8bq3.js} +7 -7
- package/dist/chunks/{location-services-g41n1fn3.js → kv-fjaxw2sf.js} +5 -5
- package/dist/chunks/kv-fpvab1y7.js +22 -0
- package/dist/chunks/{location-services-v60ecprk.js → kv-fqrxtbzb.js} +7 -7
- package/dist/chunks/{location-services-tnjhdsge.js → kv-frr6f0x6.js} +11 -11
- package/dist/chunks/{location-services-7wk8hpe3.js → kv-fvgtxb6b.js} +20 -20
- package/dist/chunks/{location-services-fxbjtjnd.js → kv-fxbjtjnd.js} +1 -1
- package/dist/chunks/{location-services-fxypknc8.js → kv-fxypknc8.js} +1 -1
- package/dist/chunks/{location-services-6cpax4a9.js → kv-g0t48bj1.js} +11 -11
- package/dist/chunks/{location-services-m8dnhwdf.js → kv-g1mf38b7.js} +9 -9
- package/dist/chunks/{location-services-g2dy4bvs.js → kv-g2dy4bvs.js} +3 -3
- package/dist/chunks/{location-services-g2gt0w0k.js → kv-g2gt0w0k.js} +2 -2
- package/dist/chunks/{location-services-v594shb6.js → kv-g2xwq6bk.js} +20 -20
- package/dist/chunks/{location-services-g72d1q92.js → kv-ga3rkyd7.js} +11 -11
- package/dist/chunks/{location-services-fvt5q22p.js → kv-ga82gtse.js} +4 -4
- package/dist/chunks/{location-services-gd4qta3r.js → kv-gd4qta3r.js} +1 -1
- package/dist/chunks/{location-services-xr8qdc97.js → kv-gdq6xpxk.js} +15 -15
- package/dist/chunks/{location-services-gxrn9h3d.js → kv-gf5pa9zb.js} +27 -27
- package/dist/chunks/{location-services-1m9gek0r.js → kv-gj7m0vyt.js} +11 -11
- package/dist/chunks/{location-services-y0wtxgtq.js → kv-gwf7wvcd.js} +22 -22
- package/dist/chunks/{location-services-fs6wj8at.js → kv-gyyt7jg8.js} +21 -21
- package/dist/chunks/{location-services-xtxq49pg.js → kv-h1w2wy18.js} +15 -15
- package/dist/chunks/{location-services-h6vf3j39.js → kv-h6vf3j39.js} +1 -1
- package/dist/chunks/{location-services-ww8c32hp.js → kv-h722e297.js} +5 -5
- package/dist/chunks/{location-services-heyhwy2w.js → kv-heyhwy2w.js} +1 -1
- package/dist/chunks/{location-services-3ts7rm59.js → kv-hgea4q31.js} +11 -11
- package/dist/chunks/{location-services-hnxfn165.js → kv-hk5xz3yh.js} +18 -18
- package/dist/chunks/{location-services-s2vs8x71.js → kv-hre84gwr.js} +37 -37
- package/dist/chunks/{location-services-kvsjn1dr.js → kv-hw4pv20g.js} +2 -2
- package/dist/chunks/{location-services-dx0wg0tz.js → kv-hwbpdkjy.js} +84 -84
- package/dist/chunks/{location-services-7yh4e7ss.js → kv-j028xdjb.js} +3 -3
- package/dist/chunks/{location-services-5qd3pb7m.js → kv-j935v87r.js} +2 -2
- package/dist/chunks/{location-services-hmnf0bp1.js → kv-jegbh5ma.js} +5 -5
- package/dist/chunks/{location-services-tp6caa3d.js → kv-jw6brgvj.js} +8 -8
- package/dist/chunks/{location-services-jwcy2c2z.js → kv-jwcy2c2z.js} +1 -1
- package/dist/chunks/{location-services-1d6e8fp6.js → kv-jxx6rksz.js} +35 -35
- package/dist/chunks/{location-services-s3eqpch7.js → kv-k2x40hsx.js} +1 -1
- package/dist/chunks/{location-services-k4bwy1x5.js → kv-k4bwy1x5.js} +1 -1
- package/dist/chunks/{location-services-w4600456.js → kv-k8feg6vv.js} +4 -4
- package/dist/chunks/{location-services-4z6b0fg6.js → kv-k8j9qym8.js} +6 -6
- package/dist/chunks/{location-services-5gk8tmgr.js → kv-ka3w3q19.js} +26 -26
- package/dist/chunks/{location-services-kg06axw8.js → kv-kg06axw8.js} +1 -1
- package/dist/chunks/{location-services-kk3rr3qh.js → kv-kk3rr3qh.js} +2 -2
- package/dist/chunks/{location-services-tk228e24.js → kv-kmg1302y.js} +85 -85
- package/dist/chunks/{location-services-9mwtsm6t.js → kv-kwxphtpr.js} +15 -15
- package/dist/chunks/{location-services-7y22fjrf.js → kv-ky99qz99.js} +10 -10
- package/dist/chunks/{location-services-045f1zrn.js → kv-m5hnpaq0.js} +10 -10
- package/dist/chunks/{location-services-m9w0rfyh.js → kv-m9w0rfyh.js} +1 -1
- package/dist/chunks/{location-services-zmchtb2v.js → kv-mesa11ky.js} +8 -8
- package/dist/chunks/{location-services-t95a6mym.js → kv-mfr4kq4d.js} +4 -4
- package/dist/chunks/{location-services-0daqs9er.js → kv-mfrf7zbd.js} +14 -14
- package/dist/chunks/{location-services-ck91x8tz.js → kv-mghjqqx0.js} +36 -36
- package/dist/chunks/{location-services-fgmsv21m.js → kv-mv6hatw9.js} +17 -17
- package/dist/chunks/{location-services-93aea81q.js → kv-n0yw3xsz.js} +30 -30
- package/dist/chunks/{location-services-3sa4xpcp.js → kv-n70qn42e.js} +4 -4
- package/dist/chunks/{location-services-573b68qb.js → kv-ndw3t5b4.js} +6 -6
- package/dist/chunks/{location-services-gyqz79xx.js → kv-ngkr6b5f.js} +25 -25
- package/dist/chunks/{location-services-ht2yd5p4.js → kv-nm2jx9kc.js} +27 -27
- package/dist/chunks/{location-services-w2vgcc2w.js → kv-nrsgzae9.js} +35 -35
- package/dist/chunks/{location-services-98nks7yx.js → kv-nsmj0n09.js} +4 -4
- package/dist/chunks/{location-services-2fw09n55.js → kv-nw94snbt.js} +8 -8
- package/dist/chunks/{location-services-dc0m9nfq.js → kv-nzvd7nh3.js} +20 -20
- package/dist/chunks/{location-services-8xqt1c25.js → kv-p3x78jaa.js} +3 -3
- package/dist/chunks/{location-services-j0ezphm2.js → kv-p8cb1x9r.js} +17 -17
- package/dist/chunks/{location-services-v2pza5zk.js → kv-pae9v2p1.js} +8 -8
- package/dist/chunks/{location-services-3rtc5zee.js → kv-pccm5znj.js} +22 -22
- package/dist/chunks/{location-services-se8343fv.js → kv-pdjjysgq.js} +30 -30
- package/dist/chunks/kv-pf31ssb9.js +18 -0
- package/dist/chunks/{location-services-z5837jq4.js → kv-pg94fwbx.js} +18 -18
- package/dist/chunks/{location-services-pjvnvgmy.js → kv-pjvnvgmy.js} +1 -1
- package/dist/chunks/{location-services-9e45c1vq.js → kv-pk72n425.js} +19 -19
- package/dist/chunks/{location-services-pknna89w.js → kv-pknna89w.js} +1 -1
- package/dist/chunks/{location-services-s18jmqte.js → kv-ppt74xa8.js} +11 -11
- package/dist/chunks/{location-services-9p3tsgpy.js → kv-py42k196.js} +4 -4
- package/dist/chunks/{location-services-t7rtampj.js → kv-q1zsvncd.js} +2 -2
- package/dist/chunks/{location-services-z2s7y4xn.js → kv-q2cmzpgm.js} +46 -46
- package/dist/chunks/{location-services-q3mvmq3w.js → kv-q2q2jnwq.js} +8 -8
- package/dist/chunks/{location-services-tmhmjagm.js → kv-q5y82y0v.js} +11 -11
- package/dist/chunks/{location-services-dns6mj49.js → kv-qd1dw6kz.js} +9 -9
- package/dist/chunks/{location-services-qsdy395h.js → kv-qsdy395h.js} +1 -1
- package/dist/chunks/{location-services-qvbcabdc.js → kv-qvbcabdc.js} +2 -2
- package/dist/chunks/{location-services-m372t30b.js → kv-qxfc83m5.js} +47 -47
- package/dist/chunks/{location-services-r8dhm0tv.js → kv-r8dhm0tv.js} +1 -1
- package/dist/chunks/{location-services-a4vmehse.js → kv-rfjetgms.js} +25 -25
- package/dist/chunks/{location-services-9ze5atdz.js → kv-rqvex7fb.js} +68 -68
- package/dist/chunks/{location-services-rvhss2m2.js → kv-rvhss2m2.js} +1 -1
- package/dist/chunks/{location-services-mnqcpvp4.js → kv-rw4zj8q7.js} +28 -28
- package/dist/chunks/{location-services-93763nq9.js → kv-rygwcnmt.js} +17 -17
- package/dist/chunks/{location-services-0ez61b8c.js → kv-s6236c6g.js} +2 -2
- package/dist/chunks/{location-services-bxm0k6ts.js → kv-s85skzm5.js} +33 -33
- package/dist/chunks/{location-services-30r17csp.js → kv-sb865qzj.js} +55 -55
- package/dist/chunks/{location-services-sba4qhjf.js → kv-sba4qhjf.js} +1 -1
- package/dist/chunks/{location-services-3cwf5791.js → kv-sjgmz1h0.js} +11 -11
- package/dist/chunks/{location-services-xqsy6kp0.js → kv-sp7ybxtg.js} +1 -1
- package/dist/chunks/{location-services-3vy7bm5p.js → kv-sqv9vyke.js} +19 -19
- package/dist/chunks/{location-services-14hmenm3.js → kv-sr0473mb.js} +3 -3
- package/dist/chunks/{location-services-m2pjqhxk.js → kv-t58ywtsd.js} +20 -20
- package/dist/chunks/{location-services-nfs5s19p.js → kv-t9826ekr.js} +9 -9
- package/dist/chunks/{location-services-tazgh4e4.js → kv-tazgh4e4.js} +1 -1
- package/dist/chunks/{location-services-tcezcvh9.js → kv-tcezcvh9.js} +1 -1
- package/dist/chunks/{location-services-tjykrgmx.js → kv-tjykrgmx.js} +1 -1
- package/dist/chunks/{location-services-20s6b78b.js → kv-tq59p0v4.js} +25 -25
- package/dist/chunks/{location-services-146cyary.js → kv-tqs8rter.js} +10 -10
- package/dist/chunks/{location-services-sbq66r6g.js → kv-tt502gjk.js} +29 -29
- package/dist/chunks/{location-services-1n116cmy.js → kv-tynz9yxk.js} +9 -9
- package/dist/chunks/{location-services-5291er17.js → kv-v7yheh92.js} +11 -11
- package/dist/chunks/{location-services-vqkewy85.js → kv-vc8b97hj.js} +22 -22
- package/dist/chunks/{location-services-ym8n7jpx.js → kv-vdg40kx5.js} +24 -24
- package/dist/chunks/{location-services-fecdhfha.js → kv-vpf7w991.js} +7 -7
- package/dist/chunks/{location-services-ya5ydtak.js → kv-vqgyfqes.js} +6 -6
- package/dist/chunks/{location-services-gvmqvecv.js → kv-vtypg5wh.js} +32 -32
- package/dist/chunks/kv-w33pakb1.js +247 -0
- package/dist/chunks/kv-w3vb4krt.js +4 -0
- package/dist/chunks/{location-services-w3wsvvr9.js → kv-w3wsvvr9.js} +1 -1
- package/dist/chunks/{location-services-c76926jn.js → kv-w72j207r.js} +9 -9
- package/dist/chunks/{location-services-p0w949fe.js → kv-w8xtsejm.js} +6 -6
- package/dist/chunks/{location-services-zj4hh745.js → kv-wawrd6s0.js} +7 -7
- package/dist/chunks/{location-services-wd87259q.js → kv-wd87259q.js} +1 -1
- package/dist/chunks/{location-services-0tsnwgcr.js → kv-wey2fa38.js} +26 -26
- package/dist/chunks/{location-services-yf5er8qd.js → kv-wxnkrcd6.js} +15 -15
- package/dist/chunks/{location-services-kpgzv4p9.js → kv-wz8j445z.js} +13 -13
- package/dist/chunks/{location-services-x1ezjp6w.js → kv-x1ezjp6w.js} +1 -1
- package/dist/chunks/{location-services-398r99hg.js → kv-x41m9xmr.js} +26 -26
- package/dist/chunks/{location-services-bexxahbt.js → kv-x43eysf2.js} +22 -22
- package/dist/chunks/{location-services-nj1fe1jb.js → kv-xhtc2kq5.js} +20 -20
- package/dist/chunks/{location-services-1kvt7k90.js → kv-xy3qr8h9.js} +18 -18
- package/dist/chunks/{location-services-c28brx2k.js → kv-xz8ktccy.js} +9 -9
- package/dist/chunks/{location-services-y1fvbwt7.js → kv-y1fvbwt7.js} +1 -1
- package/dist/chunks/{location-services-y2cqme3r.js → kv-y2cqme3r.js} +2 -2
- package/dist/chunks/{location-services-nzyds8rb.js → kv-y6j5252n.js} +9 -9
- package/dist/chunks/{location-services-yg7sb877.js → kv-yg7sb877.js} +2 -2
- package/dist/chunks/kv-yhtqjkzd.js +20 -0
- package/dist/chunks/{location-services-5rmhknbq.js → kv-ynedfcq9.js} +12 -12
- package/dist/chunks/{location-services-954vm9zf.js → kv-yvfy7c1k.js} +6 -6
- package/dist/chunks/{location-services-x00g5gps.js → kv-yxzxwnyx.js} +9 -9
- package/dist/chunks/{location-services-z1k01bn4.js → kv-z1k01bn4.js} +2 -2
- package/dist/chunks/{location-services-29x78va6.js → kv-z63w68vq.js} +6 -6
- package/dist/chunks/{location-services-czqdcwjb.js → kv-z70b7sd9.js} +17 -17
- package/dist/chunks/{location-services-zxq2ej10.js → kv-zxq2ej10.js} +1 -1
- package/dist/chunks/{location-services-7zxx2843.js → kv-zxrrywwh.js} +24 -24
- package/dist/chunks/{location-services-gjzxw37y.js → kv-zzsb01av.js} +39 -39
- package/dist/codemode/catalog.js +1 -1
- package/dist/codemode/instructions.js +5 -5
- 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 +114 -114
- package/dist/config/plugin/command.js +205 -205
- 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 +116 -116
- package/dist/config/plugin/mcp.js +123 -123
- 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 +117 -117
- 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 +114 -114
- package/dist/config/plugin/tool-output.js +116 -116
- package/dist/config/plugin/websearch.js +114 -114
- package/dist/config/plugin/worktree.js +117 -117
- 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 +70 -70
- 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 -358
- package/dist/effect/app-node-platform.js +2 -2
- package/dist/effect/keyed-mutex.js +1 -1
- package/dist/effect/websocket-constructor.js +1 -1
- package/dist/environment/driver.js +1 -1
- package/dist/environment/environment.js +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 +70 -70
- package/dist/file-mutation.js +89 -89
- package/dist/file-retention.js +1 -1
- package/dist/file.js +1 -1
- package/dist/filesystem/fff.bun.js +2 -2
- package/dist/filesystem/fff.js +1 -1
- package/dist/filesystem/fff.node.js +2 -2
- package/dist/filesystem/fff.workerd.js +2 -2
- package/dist/filesystem/ignore.js +1 -1
- package/dist/filesystem/location-watcher-policy.js +6 -6
- package/dist/filesystem/location-watcher.js +220 -220
- package/dist/filesystem/protected.js +1 -1
- package/dist/filesystem/search.js +99 -99
- package/dist/filesystem/watcher-binding.js +3 -3
- package/dist/filesystem/watcher.js +15 -15
- package/dist/filesystem.js +100 -100
- package/dist/form.js +78 -78
- 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 -349
- package/dist/instruction-discovery.js +83 -83
- package/dist/instructions/builtins.js +82 -82
- package/dist/instructions/index.js +5 -5
- package/dist/integration/connection.js +1 -1
- package/dist/integration.js +79 -79
- package/dist/job.js +75 -75
- package/dist/kv/sql.js +2 -2
- package/dist/kv.js +71 -71
- package/dist/location-activity.js +84 -84
- package/dist/location-mutation.js +81 -81
- package/dist/location-service-map.js +81 -81
- package/dist/location-services.js +346 -346
- package/dist/location.js +80 -80
- package/dist/mcp/client.js +86 -86
- package/dist/mcp/index.js +102 -102
- 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 +80 -80
- package/dist/oauth/page.js +1 -1
- package/dist/permission/saved.js +80 -80
- 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 +96 -96
- package/dist/plugin/command.js +93 -93
- package/dist/plugin/hooks.js +5 -5
- package/dist/plugin/host.js +211 -211
- package/dist/plugin/instance.js +5 -5
- package/dist/plugin/internal.js +320 -320
- package/dist/plugin/mcp-codemode-exclusion.js +1 -1
- package/dist/plugin/models-dev.js +75 -75
- package/dist/plugin/module.js +2 -2
- package/dist/plugin/plan.js +94 -94
- 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 +129 -129
- package/dist/plugin/source-directory.js +1 -1
- package/dist/plugin/supervisor.js +339 -339
- 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 +109 -109
- 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 +8 -8
- package/dist/plugin/websearch/tavily.js +6 -6
- package/dist/plugin.js +222 -222
- package/dist/project/schema.js +6 -6
- package/dist/project/sql.js +4 -4
- package/dist/project.js +81 -81
- 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 +92 -92
- package/dist/reference/instructions.js +84 -84
- package/dist/reference.js +84 -84
- package/dist/repository-cache.js +76 -76
- package/dist/repository.js +3 -3
- package/dist/ripgrep/binary.js +2 -2
- package/dist/ripgrep.js +93 -93
- package/dist/rpc.js +81 -81
- package/dist/schema.js +1 -1
- package/dist/session/command.js +72 -72
- package/dist/session/compaction.js +125 -125
- package/dist/session/context.js +145 -145
- 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 +215 -215
- package/dist/session/execution.js +120 -120
- package/dist/session/generate.js +144 -144
- package/dist/session/history.js +14 -14
- 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 +91 -91
- package/dist/session/message-updater.js +2 -2
- 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 +124 -124
- 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 +3 -3
- package/dist/session/runner/llm.js +223 -223
- 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 +165 -165
- 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 +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 +132 -132
- 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 +119 -119
- package/dist/tool/plugin/edit.js +110 -110
- package/dist/tool/plugin/file-diff.js +1 -1
- package/dist/tool/plugin/glob.js +119 -119
- package/dist/tool/plugin/grep.js +119 -119
- package/dist/tool/plugin/opencode.js +3 -3
- package/dist/tool/plugin/patch.js +116 -116
- package/dist/tool/plugin/question.js +99 -99
- package/dist/tool/plugin/read.js +120 -120
- package/dist/tool/plugin/shell.js +206 -206
- package/dist/tool/plugin/skill.js +105 -105
- package/dist/tool/plugin/subagent.js +210 -210
- package/dist/tool/plugin/webfetch.js +102 -102
- package/dist/tool/plugin/websearch.js +106 -106
- package/dist/tool/plugin/write.js +116 -116
- package/dist/tool/read-filesystem.js +94 -94
- package/dist/tool/runtime.js +1 -1
- package/dist/tool-output.js +8 -8
- package/dist/tool.js +13 -13
- package/dist/util/error.js +1 -1
- package/dist/util/iife.js +1 -1
- package/dist/util/lazy.js +1 -1
- package/dist/util/slug.js +1 -1
- package/dist/util/token.js +1 -1
- package/dist/util/which.js +1 -1
- package/dist/util/wildcard.js +1 -1
- package/dist/v1/config/agent.js +5 -5
- package/dist/v1/config/attachment.js +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 +7 -7
- package/dist/workspace/sql.js +1 -1
- package/dist/workspace.js +78 -78
- package/dist/worktree/directory.js +2 -2
- package/dist/worktree/git.js +5 -5
- package/dist/worktree/refresh.js +338 -338
- package/dist/worktree/sql.js +5 -5
- package/dist/worktree.js +87 -87
- package/package.json +7 -7
- package/dist/chunks/location-services-3evw0qr2.js +0 -18
- package/dist/chunks/location-services-61zbbsb0.js +0 -20
- package/dist/chunks/location-services-7zk4hah4.js +0 -4
- package/dist/chunks/location-services-ah3vh4fp.js +0 -460
- package/dist/chunks/location-services-gr1309v5.js +0 -22
- package/dist/chunks/location-services-vm9h7nn7.js +0 -247
- /package/dist/chunks/{location-services-0fabt78z.js → kv-0fabt78z.js} +0 -0
- /package/dist/chunks/{location-services-0qkdqm5v.js → kv-0qkdqm5v.js} +0 -0
- /package/dist/chunks/{location-services-0zkw76rk.js → kv-0zkw76rk.js} +0 -0
- /package/dist/chunks/{location-services-17cy0kzp.js → kv-17cy0kzp.js} +0 -0
- /package/dist/chunks/{location-services-1cnp2v09.js → kv-1cnp2v09.js} +0 -0
- /package/dist/chunks/{location-services-1kg9ymc8.js → kv-1kg9ymc8.js} +0 -0
- /package/dist/chunks/{location-services-2710q6r3.js → kv-2710q6r3.js} +0 -0
- /package/dist/chunks/{location-services-2axfhc9x.js → kv-2axfhc9x.js} +0 -0
- /package/dist/chunks/{location-services-2c3vjs8z.js → kv-2c3vjs8z.js} +0 -0
- /package/dist/chunks/{location-services-359p4xyc.js → kv-359p4xyc.js} +0 -0
- /package/dist/chunks/{location-services-3asan66x.js → kv-3asan66x.js} +0 -0
- /package/dist/chunks/{location-services-3t738kvx.js → kv-3t738kvx.js} +0 -0
- /package/dist/chunks/{location-services-3v8g72cx.js → kv-3v8g72cx.js} +0 -0
- /package/dist/chunks/{location-services-3wcehsnq.js → kv-3wcehsnq.js} +0 -0
- /package/dist/chunks/{location-services-41nvscxy.js → kv-41nvscxy.js} +0 -0
- /package/dist/chunks/{location-services-43n2bw4t.js → kv-43n2bw4t.js} +0 -0
- /package/dist/chunks/{location-services-4knz6hnm.js → kv-4knz6hnm.js} +0 -0
- /package/dist/chunks/{location-services-4y7fprxs.js → kv-4y7fprxs.js} +0 -0
- /package/dist/chunks/{location-services-53557ph1.js → kv-53557ph1.js} +0 -0
- /package/dist/chunks/{location-services-550bvhaj.js → kv-550bvhaj.js} +0 -0
- /package/dist/chunks/{location-services-6prwharc.js → kv-6prwharc.js} +0 -0
- /package/dist/chunks/{location-services-7akdwqpd.js → kv-7akdwqpd.js} +0 -0
- /package/dist/chunks/{location-services-7m9af43g.js → kv-7m9af43g.js} +0 -0
- /package/dist/chunks/{location-services-822emrt2.js → kv-822emrt2.js} +0 -0
- /package/dist/chunks/{location-services-88xbtdfr.js → kv-88xbtdfr.js} +0 -0
- /package/dist/chunks/{location-services-8n3pysct.js → kv-8n3pysct.js} +0 -0
- /package/dist/chunks/{location-services-982e01ww.js → kv-982e01ww.js} +0 -0
- /package/dist/chunks/{location-services-9a4afbnw.js → kv-9a4afbnw.js} +0 -0
- /package/dist/chunks/{location-services-9rqn6x4v.js → kv-9rqn6x4v.js} +0 -0
- /package/dist/chunks/{location-services-a1tpkmh4.js → kv-a1tpkmh4.js} +0 -0
- /package/dist/chunks/{location-services-af5trqkr.js → kv-af5trqkr.js} +0 -0
- /package/dist/chunks/{location-services-afrmfg78.js → kv-afrmfg78.js} +0 -0
- /package/dist/chunks/{location-services-aqzs7mqg.js → kv-aqzs7mqg.js} +0 -0
- /package/dist/chunks/{location-services-atq7p7m5.js → kv-atq7p7m5.js} +0 -0
- /package/dist/chunks/{location-services-bkyjaxrp.js → kv-bkyjaxrp.js} +0 -0
- /package/dist/chunks/{location-services-bmr6ed5q.js → kv-bmr6ed5q.js} +0 -0
- /package/dist/chunks/{location-services-cf4snx6d.js → kv-cf4snx6d.js} +0 -0
- /package/dist/chunks/{location-services-cvy3z8tj.js → kv-cvy3z8tj.js} +0 -0
- /package/dist/chunks/{location-services-d9fn303g.js → kv-d9fn303g.js} +0 -0
- /package/dist/chunks/{location-services-d9jj8t3e.js → kv-d9jj8t3e.js} +0 -0
- /package/dist/chunks/{location-services-dajrwvna.js → kv-dajrwvna.js} +0 -0
- /package/dist/chunks/{location-services-dap0rakb.js → kv-dap0rakb.js} +0 -0
- /package/dist/chunks/{location-services-df08tz66.js → kv-df08tz66.js} +0 -0
- /package/dist/chunks/{location-services-dy18nga0.js → kv-dy18nga0.js} +0 -0
- /package/dist/chunks/{location-services-e5kj55wp.js → kv-e5kj55wp.js} +0 -0
- /package/dist/chunks/{location-services-e73j6tqm.js → kv-e73j6tqm.js} +0 -0
- /package/dist/chunks/{location-services-eh3zwz77.js → kv-eh3zwz77.js} +0 -0
- /package/dist/chunks/{location-services-emrn6kk6.js → kv-emrn6kk6.js} +0 -0
- /package/dist/chunks/{location-services-f0mxakyp.js → kv-f0mxakyp.js} +0 -0
- /package/dist/chunks/{location-services-f6n9ztr4.js → kv-f6n9ztr4.js} +0 -0
- /package/dist/chunks/{location-services-faypxj3z.js → kv-faypxj3z.js} +0 -0
- /package/dist/chunks/{location-services-fd410y7t.js → kv-fd410y7t.js} +0 -0
- /package/dist/chunks/{location-services-fxgpk5d8.js → kv-fxgpk5d8.js} +0 -0
- /package/dist/chunks/{location-services-g4wezp1m.js → kv-g4wezp1m.js} +0 -0
- /package/dist/chunks/{location-services-g86h250q.js → kv-g86h250q.js} +0 -0
- /package/dist/chunks/{location-services-gebd4c9n.js → kv-gebd4c9n.js} +0 -0
- /package/dist/chunks/{location-services-hk9envan.js → kv-hk9envan.js} +0 -0
- /package/dist/chunks/{location-services-j2ntwpah.js → kv-j2ntwpah.js} +0 -0
- /package/dist/chunks/{location-services-j5zkgpj8.js → kv-j5zkgpj8.js} +0 -0
- /package/dist/chunks/{location-services-jr7sbwjy.js → kv-jr7sbwjy.js} +0 -0
- /package/dist/chunks/{location-services-jwfs4k6c.js → kv-jwfs4k6c.js} +0 -0
- /package/dist/chunks/{location-services-jzg6c2d5.js → kv-jzg6c2d5.js} +0 -0
- /package/dist/chunks/{location-services-mntxs535.js → kv-mntxs535.js} +0 -0
- /package/dist/chunks/{location-services-mp448xyj.js → kv-mp448xyj.js} +0 -0
- /package/dist/chunks/{location-services-msx8hqn2.js → kv-msx8hqn2.js} +0 -0
- /package/dist/chunks/{location-services-n05xt0ee.js → kv-n05xt0ee.js} +0 -0
- /package/dist/chunks/{location-services-n3j8tn72.js → kv-n3j8tn72.js} +0 -0
- /package/dist/chunks/{location-services-njntx4h6.js → kv-njntx4h6.js} +0 -0
- /package/dist/chunks/{location-services-p8qxwesx.js → kv-p8qxwesx.js} +0 -0
- /package/dist/chunks/{location-services-q3sfg36h.js → kv-q3sfg36h.js} +0 -0
- /package/dist/chunks/{location-services-q74kybfr.js → kv-q74kybfr.js} +0 -0
- /package/dist/chunks/{location-services-qaymkmh1.js → kv-qaymkmh1.js} +0 -0
- /package/dist/chunks/{location-services-qb87gjwd.js → kv-qb87gjwd.js} +0 -0
- /package/dist/chunks/{location-services-qfa1cgps.js → kv-qfa1cgps.js} +0 -0
- /package/dist/chunks/{location-services-qrg20bc0.js → kv-qrg20bc0.js} +0 -0
- /package/dist/chunks/{location-services-rcb2kzg1.js → kv-rcb2kzg1.js} +0 -0
- /package/dist/chunks/{location-services-sdp7kfr6.js → kv-sdp7kfr6.js} +0 -0
- /package/dist/chunks/{location-services-se0s1eqw.js → kv-se0s1eqw.js} +0 -0
- /package/dist/chunks/{location-services-sk3qaz4a.js → kv-sk3qaz4a.js} +0 -0
- /package/dist/chunks/{location-services-ssg3fenm.js → kv-ssg3fenm.js} +0 -0
- /package/dist/chunks/{location-services-twg0f83k.js → kv-twg0f83k.js} +0 -0
- /package/dist/chunks/{location-services-w803qqfp.js → kv-w803qqfp.js} +0 -0
- /package/dist/chunks/{location-services-wer8tq1h.js → kv-wer8tq1h.js} +0 -0
- /package/dist/chunks/{location-services-wtztk69x.js → kv-wtztk69x.js} +0 -0
- /package/dist/chunks/{location-services-x0ckcb58.js → kv-x0ckcb58.js} +0 -0
- /package/dist/chunks/{location-services-x1b8g1yb.js → kv-x1b8g1yb.js} +0 -0
- /package/dist/chunks/{location-services-x61499pn.js → kv-x61499pn.js} +0 -0
- /package/dist/chunks/{location-services-y44na4kk.js → kv-y44na4kk.js} +0 -0
- /package/dist/chunks/{location-services-y8cydn3q.js → kv-y8cydn3q.js} +0 -0
- /package/dist/chunks/{location-services-ygaqb7jw.js → kv-ygaqb7jw.js} +0 -0
- /package/dist/chunks/{location-services-z9919s4g.js → kv-z9919s4g.js} +0 -0
- /package/dist/chunks/{location-services-zbjnn3ac.js → kv-zbjnn3ac.js} +0 -0
|
@@ -5,17 +5,17 @@ import {
|
|
|
5
5
|
renderInitial2,
|
|
6
6
|
renderUpdate2,
|
|
7
7
|
applyHashDelta2
|
|
8
|
-
} from "./
|
|
8
|
+
} from "./kv-97f5v037.js";
|
|
9
9
|
import {
|
|
10
10
|
SessionEvent2
|
|
11
|
-
} from "./
|
|
11
|
+
} from "./kv-mntxs535.js";
|
|
12
12
|
import {
|
|
13
13
|
InstructionBlobTable2,
|
|
14
14
|
InstructionStateTable2
|
|
15
|
-
} from "./
|
|
15
|
+
} from "./kv-g2dy4bvs.js";
|
|
16
16
|
import {
|
|
17
17
|
__export
|
|
18
|
-
} from "./
|
|
18
|
+
} from "./kv-9rqn6x4v.js";
|
|
19
19
|
|
|
20
20
|
// src/session/instruction-state.ts
|
|
21
21
|
var exports_instruction_state = {};
|
|
@@ -1,22 +1,22 @@
|
|
|
1
1
|
import {
|
|
2
2
|
AbsolutePath2
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./kv-p8qxwesx.js";
|
|
4
4
|
import {
|
|
5
|
-
|
|
6
|
-
} from "./
|
|
5
|
+
Service73
|
|
6
|
+
} from "./kv-79wv29v2.js";
|
|
7
7
|
import {
|
|
8
8
|
externalDirectoryPermission2,
|
|
9
|
-
|
|
10
|
-
} from "./
|
|
9
|
+
Service13
|
|
10
|
+
} from "./kv-cxcx5eqt.js";
|
|
11
11
|
import {
|
|
12
|
-
|
|
13
|
-
} from "./
|
|
12
|
+
Service60
|
|
13
|
+
} from "./kv-sb865qzj.js";
|
|
14
14
|
import {
|
|
15
|
-
|
|
16
|
-
} from "./
|
|
15
|
+
Service12
|
|
16
|
+
} from "./kv-fvgtxb6b.js";
|
|
17
17
|
import {
|
|
18
18
|
NotFound2
|
|
19
|
-
} from "./
|
|
19
|
+
} from "./kv-2a5m3afh.js";
|
|
20
20
|
import {
|
|
21
21
|
MEDIA_MIMES2,
|
|
22
22
|
BinaryFileError2,
|
|
@@ -27,26 +27,26 @@ import {
|
|
|
27
27
|
FileContent2,
|
|
28
28
|
TextPage2,
|
|
29
29
|
ListPage2,
|
|
30
|
-
|
|
31
|
-
} from "./
|
|
30
|
+
Service7
|
|
31
|
+
} from "./kv-5x044jyt.js";
|
|
32
32
|
import {
|
|
33
33
|
__export
|
|
34
|
-
} from "./
|
|
34
|
+
} from "./kv-9rqn6x4v.js";
|
|
35
35
|
|
|
36
36
|
// src/tool/plugin/read.ts
|
|
37
37
|
var exports_read = {};
|
|
38
38
|
__export(exports_read, {
|
|
39
|
-
Input: () =>
|
|
40
|
-
Plugin: () =>
|
|
39
|
+
Input: () => Input4,
|
|
40
|
+
Plugin: () => Plugin5,
|
|
41
41
|
ReadTool: () => exports_read,
|
|
42
|
-
name: () =>
|
|
43
|
-
toModelContent: () =>
|
|
42
|
+
name: () => name4,
|
|
43
|
+
toModelContent: () => toModelContent2
|
|
44
44
|
});
|
|
45
45
|
import { basename, dirname, join } from "path";
|
|
46
46
|
import { ToolFailure } from "@opencode-ai/ai";
|
|
47
47
|
import { Effect, Schema } from "effect";
|
|
48
48
|
import { FSUtil } from "@opencode-ai/util/fs-util";
|
|
49
|
-
var
|
|
49
|
+
var name4 = "read";
|
|
50
50
|
var FILENAME = "AGENTS.md";
|
|
51
51
|
var LocationInput = Schema.Struct({
|
|
52
52
|
path: Schema.String.annotate({ description: "File or directory to read" }),
|
|
@@ -57,22 +57,22 @@ var LocationInput = Schema.Struct({
|
|
|
57
57
|
description: "The maximum number of lines or directory entries to read (defaults to 2000)"
|
|
58
58
|
})
|
|
59
59
|
});
|
|
60
|
-
var
|
|
60
|
+
var Input4 = LocationInput;
|
|
61
61
|
var Output = Schema.Union([FileContent2, TextPage2, ListPage2]);
|
|
62
|
-
var
|
|
62
|
+
var Plugin5 = {
|
|
63
63
|
id: "opencode.tool.read",
|
|
64
64
|
effect: Effect.fn("ReadTool.Plugin")(function* (ctx) {
|
|
65
|
-
const reader = yield*
|
|
66
|
-
const mutation = yield*
|
|
67
|
-
const permission = yield*
|
|
68
|
-
const sessionInstructions = yield*
|
|
65
|
+
const reader = yield* Service7;
|
|
66
|
+
const mutation = yield* Service13;
|
|
67
|
+
const permission = yield* Service60;
|
|
68
|
+
const sessionInstructions = yield* Service12;
|
|
69
69
|
const fs = yield* FSUtil.Service;
|
|
70
|
-
const location = yield*
|
|
70
|
+
const location = yield* Service73;
|
|
71
71
|
yield* ctx.tool.transform((editor) => editor.add({
|
|
72
|
-
name:
|
|
72
|
+
name: name4,
|
|
73
73
|
options: { codemode: false },
|
|
74
74
|
description: "Read the contents of a file or directory. Supports text files, images, and PDFs. Images and PDFs are presented directly to the model. Each text line is prefixed by its 1-based line number as <line>: <content>. The prefix is for reference and is not part of the file content. Directory entries are returned one per line. Use offset and limit to read large files or directories in sections. Prefer one larger read over many small slices, and use grep to find specific content in large files.",
|
|
75
|
-
input:
|
|
75
|
+
input: Input4,
|
|
76
76
|
output: Output,
|
|
77
77
|
execute: (input, context) => {
|
|
78
78
|
return Effect.gen(function* () {
|
|
@@ -90,7 +90,7 @@ var Plugin28 = {
|
|
|
90
90
|
source
|
|
91
91
|
});
|
|
92
92
|
yield* permission.assert({
|
|
93
|
-
action:
|
|
93
|
+
action: name4,
|
|
94
94
|
resources: [target.resource],
|
|
95
95
|
save: ["*"],
|
|
96
96
|
sessionID: context.sessionID,
|
|
@@ -141,7 +141,7 @@ var Plugin28 = {
|
|
|
141
141
|
return { output: result.content, path: result.path };
|
|
142
142
|
}).pipe(Effect.map((result) => ({
|
|
143
143
|
output: result.output,
|
|
144
|
-
content:
|
|
144
|
+
content: toModelContent2(result.path, input.offset, result.output),
|
|
145
145
|
metadata: { truncated: result.output.type === "file" ? false : result.output.truncated }
|
|
146
146
|
})), Effect.mapError((error) => {
|
|
147
147
|
if (error instanceof ToolFailure)
|
|
@@ -173,7 +173,7 @@ ${suggestions.join(`
|
|
|
173
173
|
});
|
|
174
174
|
})
|
|
175
175
|
};
|
|
176
|
-
var
|
|
176
|
+
var toModelContent2 = (path, offset, output) => {
|
|
177
177
|
if (output.type === "file" && output.encoding === "base64")
|
|
178
178
|
return [
|
|
179
179
|
{ type: "text", text: output.mime === "application/pdf" ? "PDF read successfully" : "Image read successfully" },
|
|
@@ -208,4 +208,4 @@ var toModelContent5 = (path, offset, output) => {
|
|
|
208
208
|
`);
|
|
209
209
|
};
|
|
210
210
|
|
|
211
|
-
export {
|
|
211
|
+
export { name4, Input4, Plugin5, toModelContent2, exports_read };
|
|
@@ -1,16 +1,16 @@
|
|
|
1
1
|
import {
|
|
2
2
|
AbsolutePath2
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./kv-p8qxwesx.js";
|
|
4
4
|
import {
|
|
5
5
|
root2
|
|
6
|
-
} from "./
|
|
6
|
+
} from "./kv-14khgycb.js";
|
|
7
7
|
import {
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
} from "./
|
|
8
|
+
Service73,
|
|
9
|
+
node78
|
|
10
|
+
} from "./kv-79wv29v2.js";
|
|
11
11
|
import {
|
|
12
12
|
__export
|
|
13
|
-
} from "./
|
|
13
|
+
} from "./kv-9rqn6x4v.js";
|
|
14
14
|
|
|
15
15
|
// src/location-mutation.ts
|
|
16
16
|
var exports_location_mutation = {};
|
|
@@ -18,9 +18,9 @@ __export(exports_location_mutation, {
|
|
|
18
18
|
Kind: () => Kind2,
|
|
19
19
|
LocationMutation: () => exports_location_mutation,
|
|
20
20
|
ResolveInput: () => ResolveInput2,
|
|
21
|
-
Service: () =>
|
|
21
|
+
Service: () => Service13,
|
|
22
22
|
externalDirectoryPermission: () => externalDirectoryPermission2,
|
|
23
|
-
node: () =>
|
|
23
|
+
node: () => node17,
|
|
24
24
|
resolvePath: () => resolvePath2
|
|
25
25
|
});
|
|
26
26
|
import { makeLocationNode } from "@opencode-ai/util/effect/app-node";
|
|
@@ -43,12 +43,12 @@ var resolvePath2 = (directory, input, home = Global.Path.home) => {
|
|
|
43
43
|
return path.resolve(directory, normalized === "~" ? home : normalized.startsWith("~/") || process.platform === "win32" && normalized.startsWith("~\\") ? path.join(home, normalized.slice(2)) : normalized);
|
|
44
44
|
};
|
|
45
45
|
|
|
46
|
-
class
|
|
46
|
+
class Service13 extends Context.Service()("@opencode/LocationMutation") {
|
|
47
47
|
}
|
|
48
48
|
var slash = (value) => value.replaceAll("\\", "/");
|
|
49
|
-
var layer = Layer.effect(
|
|
49
|
+
var layer = Layer.effect(Service13, Effect.gen(function* () {
|
|
50
50
|
const fs = yield* FSUtil.Service;
|
|
51
|
-
const location = yield*
|
|
51
|
+
const location = yield* Service73;
|
|
52
52
|
const resolve = Effect.fnUntraced(function* (input) {
|
|
53
53
|
const absolute = resolvePath2(location.directory, input.path);
|
|
54
54
|
const worktree = path.resolve(location.project.directory);
|
|
@@ -73,12 +73,12 @@ var layer = Layer.effect(Service74, Effect.gen(function* () {
|
|
|
73
73
|
}
|
|
74
74
|
};
|
|
75
75
|
});
|
|
76
|
-
return
|
|
76
|
+
return Service13.of({ resolve });
|
|
77
77
|
}));
|
|
78
|
-
var
|
|
79
|
-
service:
|
|
78
|
+
var node17 = makeLocationNode({
|
|
79
|
+
service: Service13,
|
|
80
80
|
layer,
|
|
81
|
-
deps: [FSUtil.node,
|
|
81
|
+
deps: [FSUtil.node, node78]
|
|
82
82
|
});
|
|
83
83
|
|
|
84
|
-
export { Kind2, ResolveInput2, externalDirectoryPermission2, resolvePath2,
|
|
84
|
+
export { Kind2, ResolveInput2, externalDirectoryPermission2, resolvePath2, Service13, node17, exports_location_mutation };
|
|
@@ -1,43 +1,43 @@
|
|
|
1
1
|
import {
|
|
2
2
|
mergeOverlay2,
|
|
3
3
|
mergeHeaders2,
|
|
4
|
-
|
|
5
|
-
} from "./
|
|
4
|
+
Info26
|
|
5
|
+
} from "./kv-k8j9qym8.js";
|
|
6
6
|
import {
|
|
7
7
|
Info25
|
|
8
|
-
} from "./
|
|
8
|
+
} from "./kv-ba11spzb.js";
|
|
9
9
|
import {
|
|
10
10
|
Service79,
|
|
11
|
-
|
|
12
|
-
} from "./
|
|
11
|
+
node84
|
|
12
|
+
} from "./kv-sjgmz1h0.js";
|
|
13
13
|
import {
|
|
14
14
|
create3
|
|
15
|
-
} from "./
|
|
15
|
+
} from "./kv-kg06axw8.js";
|
|
16
16
|
import {
|
|
17
|
-
|
|
17
|
+
ID12,
|
|
18
18
|
Service67,
|
|
19
|
-
|
|
20
|
-
} from "./
|
|
19
|
+
node72
|
|
20
|
+
} from "./kv-x43eysf2.js";
|
|
21
21
|
import {
|
|
22
22
|
__export
|
|
23
|
-
} from "./
|
|
23
|
+
} from "./kv-9rqn6x4v.js";
|
|
24
24
|
|
|
25
25
|
// src/catalog.ts
|
|
26
26
|
var exports_catalog2 = {};
|
|
27
27
|
__export(exports_catalog2, {
|
|
28
28
|
Catalog: () => exports_catalog2,
|
|
29
29
|
Event: () => Event14,
|
|
30
|
-
Service: () =>
|
|
31
|
-
node: () =>
|
|
30
|
+
Service: () => Service66,
|
|
31
|
+
node: () => node71
|
|
32
32
|
});
|
|
33
33
|
import { makeLocationNode } from "@opencode-ai/util/effect/app-node";
|
|
34
34
|
import { Array, Context, Effect, Layer, Order, pipe } from "effect";
|
|
35
35
|
import { Catalog } from "@opencode-ai/schema/catalog";
|
|
36
36
|
import { Event as Event14 } from "@opencode-ai/schema/catalog";
|
|
37
37
|
|
|
38
|
-
class
|
|
38
|
+
class Service66 extends Context.Service()("@opencode/Catalog") {
|
|
39
39
|
}
|
|
40
|
-
var layer = Layer.effect(
|
|
40
|
+
var layer = Layer.effect(Service66, Effect.gen(function* () {
|
|
41
41
|
const bus = yield* Service79;
|
|
42
42
|
const integrations = yield* Service67;
|
|
43
43
|
const available = (provider, integration) => {
|
|
@@ -71,7 +71,7 @@ var layer = Layer.effect(Service65, Effect.gen(function* () {
|
|
|
71
71
|
let current = editor.providers.get(providerID);
|
|
72
72
|
if (!current) {
|
|
73
73
|
current = {
|
|
74
|
-
provider:
|
|
74
|
+
provider: Info26.empty(providerID),
|
|
75
75
|
models: new Map
|
|
76
76
|
};
|
|
77
77
|
editor.providers.set(providerID, current);
|
|
@@ -89,7 +89,7 @@ var layer = Layer.effect(Service65, Effect.gen(function* () {
|
|
|
89
89
|
let record = editor.providers.get(providerID);
|
|
90
90
|
if (!record) {
|
|
91
91
|
record = {
|
|
92
|
-
provider:
|
|
92
|
+
provider: Info26.empty(providerID),
|
|
93
93
|
models: new Map
|
|
94
94
|
};
|
|
95
95
|
editor.providers.set(providerID, record);
|
|
@@ -128,7 +128,7 @@ var layer = Layer.effect(Service65, Effect.gen(function* () {
|
|
|
128
128
|
}),
|
|
129
129
|
available: Effect.fn("Catalog.provider.available")(function* () {
|
|
130
130
|
const active = new Map((yield* integrations.list()).map((integration) => [integration.id, integration]));
|
|
131
|
-
return (yield* result.provider.all()).filter((provider) => available(provider, active.get(provider.integrationID ??
|
|
131
|
+
return (yield* result.provider.all()).filter((provider) => available(provider, active.get(provider.integrationID ?? ID12.make(provider.id))));
|
|
132
132
|
})
|
|
133
133
|
},
|
|
134
134
|
model: {
|
|
@@ -183,9 +183,9 @@ var layer = Layer.effect(Service65, Effect.gen(function* () {
|
|
|
183
183
|
})
|
|
184
184
|
}
|
|
185
185
|
};
|
|
186
|
-
return
|
|
186
|
+
return Service66.of(result);
|
|
187
187
|
}));
|
|
188
188
|
var SMALL_MODEL_FAMILY_PRIORITY = ["gpt-luna", "gemini-flash-lite", "gemini-flash", "claude-haiku"];
|
|
189
|
-
var
|
|
189
|
+
var node71 = makeLocationNode({ service: Service66, layer, deps: [node84, node72] });
|
|
190
190
|
|
|
191
|
-
export {
|
|
191
|
+
export { Service66, node71, exports_catalog2, Event14 };
|
|
@@ -1,28 +1,28 @@
|
|
|
1
1
|
import {
|
|
2
2
|
lazy2
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./kv-88xbtdfr.js";
|
|
4
4
|
import {
|
|
5
|
-
|
|
6
|
-
} from "./
|
|
5
|
+
load3
|
|
6
|
+
} from "./kv-j935v87r.js";
|
|
7
7
|
import {
|
|
8
8
|
__export
|
|
9
|
-
} from "./
|
|
9
|
+
} from "./kv-9rqn6x4v.js";
|
|
10
10
|
|
|
11
11
|
// src/filesystem/watcher.ts
|
|
12
12
|
var exports_watcher = {};
|
|
13
13
|
__export(exports_watcher, {
|
|
14
|
-
Event: () =>
|
|
14
|
+
Event: () => Event9,
|
|
15
15
|
Native: () => Native3,
|
|
16
|
-
Options: () =>
|
|
17
|
-
Service: () =>
|
|
16
|
+
Options: () => Options8,
|
|
17
|
+
Service: () => Service53,
|
|
18
18
|
Test: () => Test3,
|
|
19
19
|
Watcher: () => exports_watcher,
|
|
20
|
-
configured: () =>
|
|
20
|
+
configured: () => configured9,
|
|
21
21
|
hasNativeBinding: () => hasNativeBinding2,
|
|
22
|
-
layer: () =>
|
|
22
|
+
layer: () => layer22,
|
|
23
23
|
nativeLayer: () => nativeLayer2,
|
|
24
24
|
nativeNode: () => nativeNode2,
|
|
25
|
-
node: () =>
|
|
25
|
+
node: () => node57,
|
|
26
26
|
testLayer: () => testLayer3
|
|
27
27
|
});
|
|
28
28
|
import { createWrapper } from "@parcel/watcher/wrapper";
|
|
@@ -33,10 +33,10 @@ import { Cause, Context, Effect, Layer, PubSub, RcMap, Schema, Stream } from "ef
|
|
|
33
33
|
import { watch } from "node:fs";
|
|
34
34
|
import path from "path";
|
|
35
35
|
var SUBSCRIBE_TIMEOUT_MS = 1e4;
|
|
36
|
-
var
|
|
36
|
+
var Event9 = { Updated: FileSystem.Event.Changed };
|
|
37
37
|
var watcher = lazy2(() => {
|
|
38
38
|
try {
|
|
39
|
-
return createWrapper(
|
|
39
|
+
return createWrapper(load3());
|
|
40
40
|
} catch {
|
|
41
41
|
return;
|
|
42
42
|
}
|
|
@@ -53,18 +53,18 @@ var hasNativeBinding2 = () => !!watcher();
|
|
|
53
53
|
|
|
54
54
|
class Native3 extends Context.Service()("@opencode/Watcher/Native") {
|
|
55
55
|
}
|
|
56
|
-
var
|
|
56
|
+
var Options8 = Schema.Struct({
|
|
57
57
|
enabled: Schema.optional(Schema.Boolean)
|
|
58
58
|
});
|
|
59
59
|
|
|
60
|
-
class
|
|
60
|
+
class Service53 extends Context.Service()("@opencode/Watcher") {
|
|
61
61
|
}
|
|
62
62
|
|
|
63
63
|
class Test3 extends Context.Service()("@opencode/Watcher/Test") {
|
|
64
64
|
}
|
|
65
|
-
var
|
|
65
|
+
var layer22 = (options) => Layer.effect(Service53, Effect.gen(function* () {
|
|
66
66
|
if (options?.enabled === false) {
|
|
67
|
-
return
|
|
67
|
+
return Service53.of({ subscribe: () => Effect.succeed(Stream.empty) });
|
|
68
68
|
}
|
|
69
69
|
const native = yield* Native3;
|
|
70
70
|
const watchers = yield* RcMap.make({
|
|
@@ -105,7 +105,7 @@ var layer19 = (options) => Layer.effect(Service56, Effect.gen(function* () {
|
|
|
105
105
|
return Stream.fromSubscription(subscription);
|
|
106
106
|
}));
|
|
107
107
|
});
|
|
108
|
-
return
|
|
108
|
+
return Service53.of({ subscribe });
|
|
109
109
|
}));
|
|
110
110
|
var testLayer3 = Layer.effectContext(Effect.gen(function* () {
|
|
111
111
|
const subscriptions = [];
|
|
@@ -129,9 +129,9 @@ var testLayer3 = Layer.effectContext(Effect.gen(function* () {
|
|
|
129
129
|
};
|
|
130
130
|
})
|
|
131
131
|
});
|
|
132
|
-
const context = yield* Layer.build(
|
|
132
|
+
const context = yield* Layer.build(layer22().pipe(Layer.provide(Layer.succeed(Native3, native))));
|
|
133
133
|
const test = Test3.of({
|
|
134
|
-
subscribe: Context.get(context,
|
|
134
|
+
subscribe: Context.get(context, Service53).subscribe,
|
|
135
135
|
emit: (update) => Effect.sync(() => {
|
|
136
136
|
const target = path.resolve(update.path);
|
|
137
137
|
active.forEach((matches, publish) => {
|
|
@@ -141,7 +141,7 @@ var testLayer3 = Layer.effectContext(Effect.gen(function* () {
|
|
|
141
141
|
}),
|
|
142
142
|
subscriptions: () => Effect.sync(() => [...subscriptions])
|
|
143
143
|
});
|
|
144
|
-
return Context.empty().pipe(Context.add(
|
|
144
|
+
return Context.empty().pipe(Context.add(Service53, test), Context.add(Test3, test));
|
|
145
145
|
}));
|
|
146
146
|
var nativeLayer2 = Layer.succeed(Native3, Native3.of({
|
|
147
147
|
subscribe: (input) => {
|
|
@@ -164,10 +164,10 @@ var nativeLayer2 = Layer.succeed(Native3, Native3.of({
|
|
|
164
164
|
}
|
|
165
165
|
}));
|
|
166
166
|
var nativeNode2 = makeGlobalNode({ service: Native3, layer: nativeLayer2, deps: [] });
|
|
167
|
-
function
|
|
168
|
-
return makeGlobalNode({ service:
|
|
167
|
+
function configured9(options) {
|
|
168
|
+
return makeGlobalNode({ service: Service53, layer: layer22(options), deps: [nativeNode2] });
|
|
169
169
|
}
|
|
170
|
-
var
|
|
170
|
+
var node57 = configured9();
|
|
171
171
|
function subscribeDirectory(native, backend, directory, ignore, publish) {
|
|
172
172
|
if (!native || !backend) {
|
|
173
173
|
return Effect.logError("watcher backend not supported", { directory, platform: process.platform }).pipe(Effect.as(undefined));
|
|
@@ -187,4 +187,4 @@ function subscribeDirectory(native, backend, directory, ignore, publish) {
|
|
|
187
187
|
}).pipe(Effect.as(undefined))));
|
|
188
188
|
}
|
|
189
189
|
|
|
190
|
-
export {
|
|
190
|
+
export { Event9, hasNativeBinding2, Native3, Options8, Service53, Test3, layer22, testLayer3, nativeLayer2, nativeNode2, configured9, node57, exports_watcher };
|
|
@@ -1,47 +1,47 @@
|
|
|
1
1
|
import {
|
|
2
2
|
AbsolutePath2
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./kv-p8qxwesx.js";
|
|
4
4
|
import {
|
|
5
5
|
WorktreeError2,
|
|
6
|
-
|
|
7
|
-
} from "./
|
|
6
|
+
node83
|
|
7
|
+
} from "./kv-888k7gfv.js";
|
|
8
8
|
import {
|
|
9
|
-
|
|
10
|
-
} from "./
|
|
9
|
+
ID18
|
|
10
|
+
} from "./kv-fqrxtbzb.js";
|
|
11
11
|
import {
|
|
12
12
|
Slug2
|
|
13
|
-
} from "./
|
|
13
|
+
} from "./kv-gebd4c9n.js";
|
|
14
14
|
import {
|
|
15
15
|
Service80,
|
|
16
|
-
|
|
17
|
-
} from "./
|
|
16
|
+
node85
|
|
17
|
+
} from "./kv-6cz4jj83.js";
|
|
18
18
|
import {
|
|
19
19
|
Service79,
|
|
20
|
-
|
|
21
|
-
} from "./
|
|
20
|
+
node84
|
|
21
|
+
} from "./kv-sjgmz1h0.js";
|
|
22
22
|
import {
|
|
23
23
|
ProjectTable2
|
|
24
|
-
} from "./
|
|
24
|
+
} from "./kv-qvbcabdc.js";
|
|
25
25
|
import {
|
|
26
26
|
WorktreeTable2
|
|
27
|
-
} from "./
|
|
27
|
+
} from "./kv-yg7sb877.js";
|
|
28
28
|
import {
|
|
29
|
-
|
|
30
|
-
|
|
31
|
-
} from "./
|
|
29
|
+
Service73,
|
|
30
|
+
node78
|
|
31
|
+
} from "./kv-79wv29v2.js";
|
|
32
32
|
import {
|
|
33
33
|
DirectoryUnavailableError2,
|
|
34
34
|
canonical3
|
|
35
|
-
} from "./
|
|
35
|
+
} from "./kv-y2cqme3r.js";
|
|
36
36
|
import {
|
|
37
37
|
make17
|
|
38
|
-
} from "./
|
|
38
|
+
} from "./kv-3c8b8tm4.js";
|
|
39
39
|
import {
|
|
40
40
|
create3
|
|
41
|
-
} from "./
|
|
41
|
+
} from "./kv-kg06axw8.js";
|
|
42
42
|
import {
|
|
43
43
|
__export
|
|
44
|
-
} from "./
|
|
44
|
+
} from "./kv-9rqn6x4v.js";
|
|
45
45
|
|
|
46
46
|
// src/worktree.ts
|
|
47
47
|
var exports_worktree2 = {};
|
|
@@ -49,7 +49,7 @@ __export(exports_worktree2, {
|
|
|
49
49
|
CreateInput: () => CreateInput3,
|
|
50
50
|
DestinationExistsError: () => DestinationExistsError2,
|
|
51
51
|
DirectoryUnavailableError: () => DirectoryUnavailableError2,
|
|
52
|
-
Event: () =>
|
|
52
|
+
Event: () => Event7,
|
|
53
53
|
Info: () => Info6,
|
|
54
54
|
InvalidDirectoryError: () => InvalidDirectoryError2,
|
|
55
55
|
List: () => List2,
|
|
@@ -57,13 +57,13 @@ __export(exports_worktree2, {
|
|
|
57
57
|
OperationError: () => OperationError2,
|
|
58
58
|
RefreshResult: () => RefreshResult2,
|
|
59
59
|
RemoveInput: () => RemoveInput2,
|
|
60
|
-
Service: () =>
|
|
60
|
+
Service: () => Service44,
|
|
61
61
|
SourceDirectoryNotFoundError: () => SourceDirectoryNotFoundError2,
|
|
62
62
|
StrategyID: () => StrategyID2,
|
|
63
63
|
StrategyUnavailableError: () => StrategyUnavailableError2,
|
|
64
64
|
UnsupportedLocationError: () => UnsupportedLocationError2,
|
|
65
65
|
Worktree: () => exports_worktree2,
|
|
66
|
-
node: () =>
|
|
66
|
+
node: () => node47
|
|
67
67
|
});
|
|
68
68
|
import { Context, Effect, Layer, Schema } from "effect";
|
|
69
69
|
import { and, asc, desc, eq, isNull, sql } from "drizzle-orm";
|
|
@@ -86,7 +86,7 @@ var Info6 = Worktree.Info;
|
|
|
86
86
|
var List2 = Worktree.List;
|
|
87
87
|
var ListEntry3 = Worktree.ListEntry;
|
|
88
88
|
|
|
89
|
-
class SourceDirectoryNotFoundError2 extends Schema.TaggedError()("Worktree.SourceDirectoryNotFoundError", { projectID:
|
|
89
|
+
class SourceDirectoryNotFoundError2 extends Schema.TaggedError()("Worktree.SourceDirectoryNotFoundError", { projectID: ID18, directory: Schema.optional(AbsolutePath2) }) {
|
|
90
90
|
}
|
|
91
91
|
|
|
92
92
|
class DestinationExistsError2 extends Schema.TaggedError()("Worktree.DestinationExistsError", { directory: AbsolutePath2 }) {
|
|
@@ -100,17 +100,17 @@ class StrategyUnavailableError2 extends Schema.TaggedError()("Worktree.StrategyU
|
|
|
100
100
|
|
|
101
101
|
class UnsupportedLocationError2 extends Schema.TaggedError()("Worktree.UnsupportedLocationError", { directory: AbsolutePath2 }) {
|
|
102
102
|
}
|
|
103
|
-
var
|
|
103
|
+
var Event7 = Worktree.Event;
|
|
104
104
|
|
|
105
|
-
class
|
|
105
|
+
class Service44 extends Context.Service()("@opencode/v2/Worktree") {
|
|
106
106
|
}
|
|
107
|
-
var layer = Layer.effect(
|
|
107
|
+
var layer = Layer.effect(Service44, Effect.gen(function* () {
|
|
108
108
|
const fs = yield* FSUtil.Service;
|
|
109
109
|
const database = yield* Service80;
|
|
110
110
|
const db = database.db;
|
|
111
111
|
const bus = yield* Service79;
|
|
112
112
|
const processService = yield* AppProcess.Service;
|
|
113
|
-
const location = yield*
|
|
113
|
+
const location = yield* Service73;
|
|
114
114
|
const global = yield* Global.Service;
|
|
115
115
|
const projectID = location.project.id;
|
|
116
116
|
const local = location.workspaceID ? Effect.fail(new UnsupportedLocationError2({ directory: location.directory })) : Effect.void;
|
|
@@ -135,7 +135,7 @@ var layer = Layer.effect(Service39, Effect.gen(function* () {
|
|
|
135
135
|
});
|
|
136
136
|
const changed = Effect.fnUntraced(function* (update) {
|
|
137
137
|
if (update)
|
|
138
|
-
yield* bus.publish(
|
|
138
|
+
yield* bus.publish(Event7.Updated, { projectID });
|
|
139
139
|
});
|
|
140
140
|
const ops = {
|
|
141
141
|
list: Effect.fnUntraced(function* () {
|
|
@@ -259,7 +259,7 @@ var layer = Layer.effect(Service39, Effect.gen(function* () {
|
|
|
259
259
|
yield* changed(changes.updated.length > 0 || changes.removed.length > 0);
|
|
260
260
|
return changes;
|
|
261
261
|
});
|
|
262
|
-
return
|
|
262
|
+
return Service44.of({
|
|
263
263
|
transform: state.transform,
|
|
264
264
|
reload: state.reload,
|
|
265
265
|
list: Effect.fn("Worktree.list")(function* () {
|
|
@@ -271,10 +271,10 @@ var layer = Layer.effect(Service39, Effect.gen(function* () {
|
|
|
271
271
|
refresh
|
|
272
272
|
});
|
|
273
273
|
}));
|
|
274
|
-
var
|
|
275
|
-
service:
|
|
274
|
+
var node47 = makeLocationNode({
|
|
275
|
+
service: Service44,
|
|
276
276
|
layer,
|
|
277
|
-
deps: [FSUtil.node,
|
|
277
|
+
deps: [FSUtil.node, node83, node84, node85, AppProcess.node, node78, Global.node]
|
|
278
278
|
});
|
|
279
279
|
function operationError(strategy, operation, error) {
|
|
280
280
|
if (error instanceof WorktreeError2 || error instanceof DirectoryUnavailableError2 || error instanceof Worktree.OperationError)
|
|
@@ -284,4 +284,4 @@ function operationError(strategy, operation, error) {
|
|
|
284
284
|
});
|
|
285
285
|
}
|
|
286
286
|
|
|
287
|
-
export { StrategyID2, CreateInput3, RemoveInput2, RefreshResult2, Info6, List2, ListEntry3, SourceDirectoryNotFoundError2, DestinationExistsError2, InvalidDirectoryError2, StrategyUnavailableError2, UnsupportedLocationError2,
|
|
287
|
+
export { StrategyID2, CreateInput3, RemoveInput2, RefreshResult2, Info6, List2, ListEntry3, SourceDirectoryNotFoundError2, DestinationExistsError2, InvalidDirectoryError2, StrategyUnavailableError2, UnsupportedLocationError2, Event7, Service44, node47, exports_worktree2, OperationError2 };
|
|
@@ -1,34 +1,34 @@
|
|
|
1
1
|
import {
|
|
2
|
-
|
|
3
|
-
} from "./
|
|
2
|
+
Service73
|
|
3
|
+
} from "./kv-79wv29v2.js";
|
|
4
4
|
import {
|
|
5
5
|
PATCH_CONTEXT_LINES2,
|
|
6
6
|
MAX_PATCH_BYTES2,
|
|
7
7
|
MAX_TOTAL_PATCH_BYTES2,
|
|
8
8
|
emptyPatch2,
|
|
9
9
|
chunksByFile2
|
|
10
|
-
} from "./
|
|
10
|
+
} from "./kv-tazgh4e4.js";
|
|
11
11
|
import {
|
|
12
12
|
DiffError2
|
|
13
|
-
} from "./
|
|
13
|
+
} from "./kv-025ke3zd.js";
|
|
14
14
|
import {
|
|
15
15
|
__export
|
|
16
|
-
} from "./
|
|
16
|
+
} from "./kv-9rqn6x4v.js";
|
|
17
17
|
|
|
18
18
|
// src/plugin/vcs/git.ts
|
|
19
19
|
var exports_git = {};
|
|
20
20
|
__export(exports_git, {
|
|
21
|
-
Plugin: () =>
|
|
21
|
+
Plugin: () => Plugin32,
|
|
22
22
|
VcsGitPlugin: () => exports_git
|
|
23
23
|
});
|
|
24
24
|
import { define } from "@opencode-ai/plugin/effect/plugin";
|
|
25
25
|
import { Effect } from "effect";
|
|
26
26
|
import { ChildProcess } from "effect/unstable/process";
|
|
27
27
|
import { AppProcess } from "@opencode-ai/util/process";
|
|
28
|
-
var
|
|
28
|
+
var Plugin32 = define({
|
|
29
29
|
id: "opencode.vcs.git",
|
|
30
30
|
effect: Effect.fn("VcsGitPlugin")(function* (ctx) {
|
|
31
|
-
const location = yield*
|
|
31
|
+
const location = yield* Service73;
|
|
32
32
|
if (location.vcs?.type !== "git")
|
|
33
33
|
return;
|
|
34
34
|
const processes = yield* AppProcess.Service;
|
|
@@ -467,4 +467,4 @@ var track = Effect.fnUntraced(function* (ctx, ref, options) {
|
|
|
467
467
|
return yield* diffAgainstRef(ctx, ref, options);
|
|
468
468
|
});
|
|
469
469
|
|
|
470
|
-
export {
|
|
470
|
+
export { Plugin32, exports_git };
|