@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
|
@@ -2,27 +2,27 @@ import {
|
|
|
2
2
|
VariantUnavailableError3,
|
|
3
3
|
UnsupportedPackageError3,
|
|
4
4
|
UnresolvedProviderVariablesError3,
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
} from "./
|
|
5
|
+
Service65,
|
|
6
|
+
node70
|
|
7
|
+
} from "./kv-nrsgzae9.js";
|
|
8
8
|
import {
|
|
9
9
|
SessionSchema2
|
|
10
|
-
} from "./
|
|
10
|
+
} from "./kv-30b3mgv1.js";
|
|
11
11
|
import {
|
|
12
12
|
__export
|
|
13
|
-
} from "./
|
|
13
|
+
} from "./kv-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: () => Service32,
|
|
21
21
|
SessionRunnerModel: () => exports_model,
|
|
22
22
|
UnresolvedProviderVariablesError: () => UnresolvedProviderVariablesError2,
|
|
23
23
|
UnsupportedPackageError: () => UnsupportedPackageError2,
|
|
24
24
|
VariantUnavailableError: () => VariantUnavailableError2,
|
|
25
|
-
node: () =>
|
|
25
|
+
node: () => node35,
|
|
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 Service32 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(Service32, Effect.gen(function* () {
|
|
65
|
+
const resolver = yield* Service65;
|
|
66
|
+
return Service32.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(Service28, Effect.gen(function* () {
|
|
|
81
81
|
})
|
|
82
82
|
});
|
|
83
83
|
}));
|
|
84
|
-
var
|
|
84
|
+
var node35 = makeLocationNode({ service: Service32, layer, deps: [node70] });
|
|
85
85
|
|
|
86
|
-
export { ModelNotSelectedError2, ModelUnavailableError2, VariantUnavailableError2, UnsupportedPackageError2, UnresolvedProviderVariablesError2,
|
|
86
|
+
export { ModelNotSelectedError2, ModelUnavailableError2, VariantUnavailableError2, UnsupportedPackageError2, UnresolvedProviderVariablesError2, Service32, resolved2, node35, exports_model };
|
|
@@ -1,39 +1,39 @@
|
|
|
1
1
|
import {
|
|
2
|
-
|
|
3
|
-
} from "./
|
|
2
|
+
Service73
|
|
3
|
+
} from "./kv-79wv29v2.js";
|
|
4
4
|
import {
|
|
5
|
-
|
|
6
|
-
} from "./
|
|
5
|
+
Service57
|
|
6
|
+
} from "./kv-vdg40kx5.js";
|
|
7
7
|
import {
|
|
8
|
-
|
|
8
|
+
Service41,
|
|
9
9
|
readText2,
|
|
10
10
|
syncTextBom2
|
|
11
|
-
} from "./
|
|
11
|
+
} from "./kv-97bakyrv.js";
|
|
12
12
|
import {
|
|
13
|
-
|
|
14
|
-
} from "./
|
|
13
|
+
Service42
|
|
14
|
+
} from "./kv-wxnkrcd6.js";
|
|
15
15
|
import {
|
|
16
16
|
externalDirectoryPermission2,
|
|
17
17
|
resolvePath2,
|
|
18
|
-
|
|
19
|
-
} from "./
|
|
18
|
+
Service13
|
|
19
|
+
} from "./kv-cxcx5eqt.js";
|
|
20
20
|
import {
|
|
21
|
-
|
|
22
|
-
} from "./
|
|
21
|
+
Service60
|
|
22
|
+
} from "./kv-sb865qzj.js";
|
|
23
23
|
import {
|
|
24
24
|
fileDiff2
|
|
25
|
-
} from "./
|
|
25
|
+
} from "./kv-6prwharc.js";
|
|
26
26
|
import {
|
|
27
27
|
__export
|
|
28
|
-
} from "./
|
|
28
|
+
} from "./kv-9rqn6x4v.js";
|
|
29
29
|
|
|
30
30
|
// src/tool/plugin/edit.ts
|
|
31
31
|
var exports_edit = {};
|
|
32
32
|
__export(exports_edit, {
|
|
33
33
|
EditTool: () => exports_edit,
|
|
34
34
|
Input: () => Input6,
|
|
35
|
-
Output: () =>
|
|
36
|
-
Plugin: () =>
|
|
35
|
+
Output: () => Output3,
|
|
36
|
+
Plugin: () => Plugin7,
|
|
37
37
|
name: () => name6
|
|
38
38
|
});
|
|
39
39
|
import { ToolFailure } from "@opencode-ai/ai";
|
|
@@ -51,7 +51,7 @@ var Input6 = Schema.Struct({
|
|
|
51
51
|
description: "Whether to replace every occurrence of oldString. When false, oldString must match exactly once. Defaults to false."
|
|
52
52
|
})
|
|
53
53
|
});
|
|
54
|
-
var
|
|
54
|
+
var Output3 = Schema.Struct({
|
|
55
55
|
files: Schema.Array(FileDiff.Info),
|
|
56
56
|
replacements: Schema.Number
|
|
57
57
|
});
|
|
@@ -104,21 +104,21 @@ var findLineOccurrences = (content, search) => {
|
|
|
104
104
|
return result;
|
|
105
105
|
}, []);
|
|
106
106
|
};
|
|
107
|
-
var
|
|
107
|
+
var Plugin7 = {
|
|
108
108
|
id: "opencode.tool.edit",
|
|
109
109
|
effect: Effect.fn("EditTool.Plugin")(function* (ctx) {
|
|
110
|
-
const mutation = yield*
|
|
111
|
-
const fileMutation = yield*
|
|
112
|
-
const environment = yield*
|
|
113
|
-
const formatter = yield*
|
|
114
|
-
const location = yield*
|
|
115
|
-
const permission = yield*
|
|
110
|
+
const mutation = yield* Service13;
|
|
111
|
+
const fileMutation = yield* Service41;
|
|
112
|
+
const environment = yield* Service57;
|
|
113
|
+
const formatter = yield* Service42;
|
|
114
|
+
const location = yield* Service73;
|
|
115
|
+
const permission = yield* Service60;
|
|
116
116
|
yield* ctx.tool.transform((editor) => editor.add({
|
|
117
117
|
name: name6,
|
|
118
118
|
options: { codemode: false, permission: "edit" },
|
|
119
119
|
description: "Edit the contents of a file by finding and replacing exact text. When editing text from Read output, preserve the exact indentation (tabs or spaces) and omit the line-number prefix, such as `1: `. Never include the prefix in oldString or newString. The edit fails if oldString is not found. By default, oldString must identify a UNIQUE location. Multiple matches FAIL unless replaceAll is true. Add more surrounding context to disambiguate, or set replaceAll to true to replace every occurrence. Use replaceAll when the change should apply to every occurrence, such as renaming a variable.",
|
|
120
120
|
input: Input6,
|
|
121
|
-
output:
|
|
121
|
+
output: Output3,
|
|
122
122
|
execute: (input, context) => {
|
|
123
123
|
return Effect.gen(function* () {
|
|
124
124
|
const permissionSource = {
|
|
@@ -203,4 +203,4 @@ var Plugin24 = {
|
|
|
203
203
|
})
|
|
204
204
|
};
|
|
205
205
|
|
|
206
|
-
export { name6, Input6,
|
|
206
|
+
export { name6, Input6, Output3, Plugin7, exports_edit };
|
|
@@ -1,22 +1,22 @@
|
|
|
1
1
|
import {
|
|
2
2
|
Service79,
|
|
3
|
-
|
|
4
|
-
} from "./
|
|
3
|
+
node84
|
|
4
|
+
} from "./kv-sjgmz1h0.js";
|
|
5
5
|
import {
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
} from "./
|
|
6
|
+
Key4,
|
|
7
|
+
Service70,
|
|
8
|
+
node75
|
|
9
|
+
} from "./kv-8h22p1mt.js";
|
|
10
10
|
import {
|
|
11
11
|
create3
|
|
12
|
-
} from "./
|
|
12
|
+
} from "./kv-kg06axw8.js";
|
|
13
13
|
import {
|
|
14
14
|
validateAnswer2,
|
|
15
15
|
validateFields2
|
|
16
|
-
} from "./
|
|
16
|
+
} from "./kv-sqv9vyke.js";
|
|
17
17
|
import {
|
|
18
18
|
__export
|
|
19
|
-
} from "./
|
|
19
|
+
} from "./kv-9rqn6x4v.js";
|
|
20
20
|
|
|
21
21
|
// src/integration.ts
|
|
22
22
|
var exports_integration = {};
|
|
@@ -31,8 +31,8 @@ __export(exports_integration, {
|
|
|
31
31
|
CommandMethod: () => CommandMethod2,
|
|
32
32
|
EnvMethod: () => EnvMethod2,
|
|
33
33
|
Event: () => Event15,
|
|
34
|
-
ID: () =>
|
|
35
|
-
Info: () =>
|
|
34
|
+
ID: () => ID12,
|
|
35
|
+
Info: () => Info22,
|
|
36
36
|
Integration: () => exports_integration,
|
|
37
37
|
KeyMethod: () => KeyMethod2,
|
|
38
38
|
Method: () => Method2,
|
|
@@ -40,7 +40,7 @@ __export(exports_integration, {
|
|
|
40
40
|
OAuthMethod: () => OAuthMethod2,
|
|
41
41
|
Ref: () => Ref2,
|
|
42
42
|
Service: () => Service67,
|
|
43
|
-
node: () =>
|
|
43
|
+
node: () => node72
|
|
44
44
|
});
|
|
45
45
|
import { makeLocationNode } from "@opencode-ai/util/effect/app-node";
|
|
46
46
|
import {
|
|
@@ -62,7 +62,7 @@ import { Integration } from "@opencode-ai/schema/integration";
|
|
|
62
62
|
import { AppProcess } from "@opencode-ai/util/process";
|
|
63
63
|
import { ChildProcess } from "effect/unstable/process";
|
|
64
64
|
import { Event as Event15 } from "@opencode-ai/schema/integration";
|
|
65
|
-
var
|
|
65
|
+
var ID12 = Integration.ID;
|
|
66
66
|
var MethodID2 = Integration.MethodID;
|
|
67
67
|
var AttemptID2 = Integration.AttemptID;
|
|
68
68
|
var OAuthMethod2 = Integration.OAuthMethod;
|
|
@@ -70,7 +70,7 @@ var CommandMethod2 = Integration.CommandMethod;
|
|
|
70
70
|
var KeyMethod2 = Integration.KeyMethod;
|
|
71
71
|
var EnvMethod2 = Integration.EnvMethod;
|
|
72
72
|
var Method2 = Integration.Method;
|
|
73
|
-
var
|
|
73
|
+
var Info22 = Integration.Info;
|
|
74
74
|
var Attempt2 = Integration.Attempt;
|
|
75
75
|
var AttemptStatus2 = Integration.AttemptStatus;
|
|
76
76
|
var CommandAttempt2 = Integration.CommandAttempt;
|
|
@@ -93,7 +93,7 @@ var attemptLifetime = Duration.toMillis(Duration.minutes(10));
|
|
|
93
93
|
var terminalRetention = Duration.toMillis(Duration.minutes(1));
|
|
94
94
|
var scrubInterval = Duration.seconds(30);
|
|
95
95
|
var layer = Layer.effect(Service67, Effect.gen(function* () {
|
|
96
|
-
const credentials = yield*
|
|
96
|
+
const credentials = yield* Service70;
|
|
97
97
|
const bus = yield* Service79;
|
|
98
98
|
const processes = yield* AppProcess.Service;
|
|
99
99
|
const scope = yield* Scope.Scope;
|
|
@@ -187,7 +187,7 @@ var layer = Layer.effect(Service67, Effect.gen(function* () {
|
|
|
187
187
|
const env = (entry?.methods ?? []).filter((method) => method.type === "env").flatMap((method) => method.names.filter((name) => process.env[name])).map((name) => ({ type: "env", name }));
|
|
188
188
|
return [...credentials, ...env];
|
|
189
189
|
};
|
|
190
|
-
const project = (entry, connections) =>
|
|
190
|
+
const project = (entry, connections) => Info22.make({
|
|
191
191
|
id: entry.ref.id,
|
|
192
192
|
name: entry.ref.name,
|
|
193
193
|
...entry.ref.metadata === undefined ? {} : { metadata: entry.ref.metadata },
|
|
@@ -271,7 +271,7 @@ var layer = Layer.effect(Service67, Effect.gen(function* () {
|
|
|
271
271
|
const persistence = yield* createCredential({
|
|
272
272
|
integrationID: attempt.integrationID,
|
|
273
273
|
label: attempt.label,
|
|
274
|
-
value:
|
|
274
|
+
value: Key4.make({ type: "key", key: exit.value })
|
|
275
275
|
}).pipe(Effect.asVoid, Effect.exit);
|
|
276
276
|
const settledAt = yield* Clock.currentTimeMillis;
|
|
277
277
|
const terminal = Exit.isSuccess(persistence) ? {
|
|
@@ -438,7 +438,7 @@ var layer = Layer.effect(Service67, Effect.gen(function* () {
|
|
|
438
438
|
resolve: Effect.fn("Integration.connection.resolve")(function* (connection) {
|
|
439
439
|
if (connection.type === "env") {
|
|
440
440
|
const key = process.env[connection.name];
|
|
441
|
-
return key ?
|
|
441
|
+
return key ? Key4.make({ type: "key", key }) : undefined;
|
|
442
442
|
}
|
|
443
443
|
const credential = yield* credentials.get(connection.id);
|
|
444
444
|
if (!credential)
|
|
@@ -471,7 +471,7 @@ var layer = Layer.effect(Service67, Effect.gen(function* () {
|
|
|
471
471
|
yield* createCredential({
|
|
472
472
|
integrationID: input.integrationID,
|
|
473
473
|
label: input.label,
|
|
474
|
-
value:
|
|
474
|
+
value: Key4.make({
|
|
475
475
|
type: "key",
|
|
476
476
|
key: input.key,
|
|
477
477
|
...Object.keys(answer).length > 0 ? { configuration: answer } : {}
|
|
@@ -565,10 +565,10 @@ var layer = Layer.effect(Service67, Effect.gen(function* () {
|
|
|
565
565
|
}
|
|
566
566
|
});
|
|
567
567
|
}));
|
|
568
|
-
var
|
|
568
|
+
var node72 = makeLocationNode({
|
|
569
569
|
service: Service67,
|
|
570
570
|
layer,
|
|
571
|
-
deps: [
|
|
571
|
+
deps: [node75, node84, AppProcess.node]
|
|
572
572
|
});
|
|
573
573
|
|
|
574
|
-
export {
|
|
574
|
+
export { ID12, MethodID2, AttemptID2, OAuthMethod2, CommandMethod2, KeyMethod2, EnvMethod2, Method2, Info22, Attempt2, AttemptStatus2, CommandAttempt2, CommandAttemptStatus2, CodeRequiredError2, AuthorizationError2, Ref2, Service67, node72, exports_integration, Event15 };
|
|
@@ -1,41 +1,41 @@
|
|
|
1
1
|
import {
|
|
2
2
|
__export
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./kv-9rqn6x4v.js";
|
|
4
4
|
|
|
5
5
|
// src/v1/config/permission.ts
|
|
6
|
-
var
|
|
7
|
-
__export(
|
|
6
|
+
var exports_permission = {};
|
|
7
|
+
__export(exports_permission, {
|
|
8
8
|
Action: () => Action2,
|
|
9
|
-
ConfigPermissionV1: () =>
|
|
10
|
-
Info: () =>
|
|
9
|
+
ConfigPermissionV1: () => exports_permission,
|
|
10
|
+
Info: () => Info13,
|
|
11
11
|
Object: () => Object2,
|
|
12
|
-
Rule: () =>
|
|
12
|
+
Rule: () => Rule2
|
|
13
13
|
});
|
|
14
14
|
import { Schema, SchemaGetter } from "effect";
|
|
15
15
|
var Action2 = Schema.Literals(["ask", "allow", "deny"]).annotate({ identifier: "PermissionActionConfig" });
|
|
16
16
|
var Object2 = Schema.Record(Schema.String, Action2).annotate({ identifier: "PermissionObjectConfig" });
|
|
17
|
-
var
|
|
17
|
+
var Rule2 = Schema.Union([Action2, Object2]).annotate({ identifier: "PermissionRuleConfig" });
|
|
18
18
|
var InputObject = Schema.StructWithRest(Schema.Struct({
|
|
19
|
-
read: Schema.optional(
|
|
20
|
-
edit: Schema.optional(
|
|
21
|
-
glob: Schema.optional(
|
|
22
|
-
grep: Schema.optional(
|
|
23
|
-
list: Schema.optional(
|
|
24
|
-
bash: Schema.optional(
|
|
25
|
-
task: Schema.optional(
|
|
26
|
-
external_directory: Schema.optional(
|
|
19
|
+
read: Schema.optional(Rule2),
|
|
20
|
+
edit: Schema.optional(Rule2),
|
|
21
|
+
glob: Schema.optional(Rule2),
|
|
22
|
+
grep: Schema.optional(Rule2),
|
|
23
|
+
list: Schema.optional(Rule2),
|
|
24
|
+
bash: Schema.optional(Rule2),
|
|
25
|
+
task: Schema.optional(Rule2),
|
|
26
|
+
external_directory: Schema.optional(Rule2),
|
|
27
27
|
question: Schema.optional(Action2),
|
|
28
28
|
webfetch: Schema.optional(Action2),
|
|
29
29
|
websearch: Schema.optional(Action2),
|
|
30
|
-
lsp: Schema.optional(
|
|
30
|
+
lsp: Schema.optional(Rule2),
|
|
31
31
|
doom_loop: Schema.optional(Action2),
|
|
32
|
-
skill: Schema.optional(
|
|
33
|
-
}), [Schema.Record(Schema.String,
|
|
32
|
+
skill: Schema.optional(Rule2)
|
|
33
|
+
}), [Schema.Record(Schema.String, Rule2)]);
|
|
34
34
|
var InputSchema = Schema.Union([Action2, InputObject]);
|
|
35
35
|
var normalizeInput = (input) => typeof input === "string" ? { "*": input } : input;
|
|
36
|
-
var
|
|
36
|
+
var Info13 = InputSchema.pipe(Schema.decodeTo(InputObject, {
|
|
37
37
|
decode: SchemaGetter.transform(normalizeInput),
|
|
38
38
|
encode: SchemaGetter.passthrough({ strict: false })
|
|
39
39
|
})).annotate({ identifier: "PermissionConfig" });
|
|
40
40
|
|
|
41
|
-
export { Action2, Object2,
|
|
41
|
+
export { Action2, Object2, Rule2, Info13, exports_permission };
|
|
@@ -1,33 +1,33 @@
|
|
|
1
1
|
import {
|
|
2
2
|
Service80,
|
|
3
|
-
|
|
4
|
-
} from "./
|
|
3
|
+
node85
|
|
4
|
+
} from "./kv-6cz4jj83.js";
|
|
5
5
|
import {
|
|
6
6
|
PermissionTable2
|
|
7
|
-
} from "./
|
|
7
|
+
} from "./kv-g2gt0w0k.js";
|
|
8
8
|
import {
|
|
9
9
|
__export
|
|
10
|
-
} from "./
|
|
10
|
+
} from "./kv-9rqn6x4v.js";
|
|
11
11
|
|
|
12
12
|
// src/permission/saved.ts
|
|
13
13
|
var exports_saved = {};
|
|
14
14
|
__export(exports_saved, {
|
|
15
15
|
AddInput: () => AddInput2,
|
|
16
|
-
ID: () =>
|
|
17
|
-
Info: () =>
|
|
18
|
-
ListInput: () =>
|
|
16
|
+
ID: () => ID9,
|
|
17
|
+
Info: () => Info19,
|
|
18
|
+
ListInput: () => ListInput4,
|
|
19
19
|
PermissionSaved: () => exports_saved,
|
|
20
|
-
Service: () =>
|
|
21
|
-
node: () =>
|
|
20
|
+
Service: () => Service61,
|
|
21
|
+
node: () => node66
|
|
22
22
|
});
|
|
23
23
|
import { eq } from "drizzle-orm";
|
|
24
24
|
import { Context, Effect, Layer, Schema } from "effect";
|
|
25
25
|
import { Project } from "@opencode-ai/schema/project";
|
|
26
26
|
import { makeGlobalNode } from "@opencode-ai/util/effect/app-node";
|
|
27
27
|
import { PermissionSaved } from "@opencode-ai/schema/permission-saved";
|
|
28
|
-
var
|
|
29
|
-
var
|
|
30
|
-
var
|
|
28
|
+
var ID9 = PermissionSaved.ID;
|
|
29
|
+
var Info19 = PermissionSaved.Info;
|
|
30
|
+
var ListInput4 = Schema.Struct({
|
|
31
31
|
projectID: Project.ID.pipe(Schema.optional)
|
|
32
32
|
}).annotate({ identifier: "PermissionSaved.ListInput" });
|
|
33
33
|
var AddInput2 = Schema.Struct({
|
|
@@ -36,9 +36,9 @@ var AddInput2 = Schema.Struct({
|
|
|
36
36
|
resources: Schema.Array(Schema.String)
|
|
37
37
|
}).annotate({ identifier: "PermissionSaved.AddInput" });
|
|
38
38
|
|
|
39
|
-
class
|
|
39
|
+
class Service61 extends Context.Service()("@opencode/PermissionSaved") {
|
|
40
40
|
}
|
|
41
|
-
var layer = Layer.effect(
|
|
41
|
+
var layer = Layer.effect(Service61, Effect.gen(function* () {
|
|
42
42
|
const db = (yield* Service80).db;
|
|
43
43
|
const list = Effect.fnUntraced(function* (input) {
|
|
44
44
|
const rows = yield* db.select().from(PermissionTable2).where(input?.projectID ? eq(PermissionTable2.project_id, input.projectID) : undefined).all().pipe(Effect.orDie);
|
|
@@ -53,7 +53,7 @@ var layer = Layer.effect(Service43, Effect.gen(function* () {
|
|
|
53
53
|
if (!input.resources.length)
|
|
54
54
|
return;
|
|
55
55
|
yield* db.insert(PermissionTable2).values(input.resources.map((resource) => ({
|
|
56
|
-
id:
|
|
56
|
+
id: ID9.create(),
|
|
57
57
|
project_id: input.projectID,
|
|
58
58
|
action: input.action,
|
|
59
59
|
resource
|
|
@@ -62,8 +62,8 @@ var layer = Layer.effect(Service43, Effect.gen(function* () {
|
|
|
62
62
|
const remove = Effect.fn("PermissionSaved.remove")(function* (id) {
|
|
63
63
|
yield* db.delete(PermissionTable2).where(eq(PermissionTable2.id, id)).run().pipe(Effect.orDie);
|
|
64
64
|
});
|
|
65
|
-
return
|
|
65
|
+
return Service61.of({ list, add, remove });
|
|
66
66
|
}));
|
|
67
|
-
var
|
|
67
|
+
var node66 = makeGlobalNode({ service: Service61, layer, deps: [node85] });
|
|
68
68
|
|
|
69
|
-
export {
|
|
69
|
+
export { ID9, Info19, ListInput4, AddInput2, Service61, node66, exports_saved };
|
|
@@ -1,16 +1,16 @@
|
|
|
1
1
|
import {
|
|
2
2
|
SessionMessage2
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./kv-982e01ww.js";
|
|
4
4
|
import {
|
|
5
5
|
SessionSchema2
|
|
6
|
-
} from "./
|
|
6
|
+
} from "./kv-30b3mgv1.js";
|
|
7
7
|
import {
|
|
8
8
|
__export
|
|
9
|
-
} from "./
|
|
9
|
+
} from "./kv-9rqn6x4v.js";
|
|
10
10
|
|
|
11
11
|
// src/session/error.ts
|
|
12
|
-
var
|
|
13
|
-
__export(
|
|
12
|
+
var exports_error2 = {};
|
|
13
|
+
__export(exports_error2, {
|
|
14
14
|
AgentNotFoundError: () => AgentNotFoundError2,
|
|
15
15
|
AttachmentError: () => AttachmentError2,
|
|
16
16
|
BusyError: () => BusyError2,
|
|
@@ -22,9 +22,9 @@ __export(exports_error, {
|
|
|
22
22
|
MessageNotAssistantError: () => MessageNotAssistantError2,
|
|
23
23
|
MessageNotFoundError: () => MessageNotFoundError2,
|
|
24
24
|
MessageToolIncompleteError: () => MessageToolIncompleteError2,
|
|
25
|
-
NotFoundError: () =>
|
|
25
|
+
NotFoundError: () => NotFoundError7,
|
|
26
26
|
PromptConflictError: () => PromptConflictError2,
|
|
27
|
-
SessionErrors: () =>
|
|
27
|
+
SessionErrors: () => exports_error2,
|
|
28
28
|
SkillNotFoundError: () => SkillNotFoundError2,
|
|
29
29
|
StepFailedError: () => StepFailedError2,
|
|
30
30
|
SyntheticConflictError: () => SyntheticConflictError2,
|
|
@@ -35,7 +35,7 @@ import { Agent } from "@opencode-ai/schema/agent";
|
|
|
35
35
|
import { Skill } from "@opencode-ai/schema/skill";
|
|
36
36
|
import { SessionError } from "@opencode-ai/schema/session-error";
|
|
37
37
|
|
|
38
|
-
class
|
|
38
|
+
class NotFoundError7 extends Schema.TaggedError()("Session.NotFoundError", {
|
|
39
39
|
sessionID: SessionSchema2.ID
|
|
40
40
|
}) {
|
|
41
41
|
}
|
|
@@ -144,4 +144,4 @@ class SkillNotFoundError2 extends Schema.TaggedError()("Session.SkillNotFoundErr
|
|
|
144
144
|
}) {
|
|
145
145
|
}
|
|
146
146
|
|
|
147
|
-
export {
|
|
147
|
+
export { NotFoundError7, MessageNotFoundError2, MessageNotAssistantError2, MessageIncompleteError2, MessageToolIncompleteError2, ForkEmptyError2, MessageDecodeError2, AgentNotFoundError2, StepFailedError2, UserInterruptedError2, PromptConflictError2, SyntheticConflictError2, AttachmentError2, CompactionConflictError2, BusyError2, InboxConflictError2, SkillNotFoundError2, exports_error2 };
|
|
@@ -1,17 +1,17 @@
|
|
|
1
1
|
import {
|
|
2
|
-
|
|
2
|
+
ID16,
|
|
3
3
|
aisdk2,
|
|
4
4
|
mergeOverlay2
|
|
5
|
-
} from "./
|
|
5
|
+
} from "./kv-k8j9qym8.js";
|
|
6
6
|
import {
|
|
7
|
-
|
|
7
|
+
ID15,
|
|
8
8
|
VariantID2,
|
|
9
9
|
Info25,
|
|
10
10
|
compatibility2
|
|
11
|
-
} from "./
|
|
11
|
+
} from "./kv-ba11spzb.js";
|
|
12
12
|
import {
|
|
13
13
|
__export
|
|
14
|
-
} from "./
|
|
14
|
+
} from "./kv-9rqn6x4v.js";
|
|
15
15
|
|
|
16
16
|
// src/modal/models.ts
|
|
17
17
|
var exports_models = {};
|
|
@@ -21,7 +21,7 @@ __export(exports_models, {
|
|
|
21
21
|
});
|
|
22
22
|
import { Money } from "@opencode-ai/schema/money";
|
|
23
23
|
import { Option, Schema } from "effect";
|
|
24
|
-
var providerID =
|
|
24
|
+
var providerID = ID16.make("modal");
|
|
25
25
|
var ReasoningOption = Schema.Struct({
|
|
26
26
|
type: Schema.Literal("effort"),
|
|
27
27
|
values: Schema.Array(Schema.NullOr(Schema.String))
|
|
@@ -69,8 +69,8 @@ async function get2(baseURL, apiKey, existing) {
|
|
|
69
69
|
const templates = new Map(existing.map((model) => [model.id, model]));
|
|
70
70
|
const result = new Map;
|
|
71
71
|
for (const item of remote) {
|
|
72
|
-
const template = templates.get(
|
|
73
|
-
const id =
|
|
72
|
+
const template = templates.get(ID15.make(item.base_model_id ?? item.hugging_face_id ?? item.id));
|
|
73
|
+
const id = ID15.make(item.id);
|
|
74
74
|
result.set(id, build(id, item, baseURL, template));
|
|
75
75
|
}
|
|
76
76
|
return result;
|
|
@@ -91,7 +91,7 @@ function build(id, remote, baseURL, previous) {
|
|
|
91
91
|
return Info25.make({
|
|
92
92
|
...Info25.default(providerID, id),
|
|
93
93
|
id,
|
|
94
|
-
modelID:
|
|
94
|
+
modelID: ID15.make(remote.id),
|
|
95
95
|
providerID,
|
|
96
96
|
name: remote.name ?? previous?.name ?? remote.id,
|
|
97
97
|
family: previous?.family,
|
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
import {
|
|
2
2
|
absoluteColumn2
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./kv-r8dhm0tv.js";
|
|
4
4
|
import {
|
|
5
5
|
ProjectTable2
|
|
6
|
-
} from "./
|
|
6
|
+
} from "./kv-qvbcabdc.js";
|
|
7
7
|
|
|
8
8
|
// src/worktree/sql.ts
|
|
9
9
|
import { integer, primaryKey, sqliteTable, text } from "drizzle-orm/sqlite-core";
|
|
@@ -0,0 +1,20 @@
|
|
|
1
|
+
import {
|
|
2
|
+
__export
|
|
3
|
+
} from "./kv-9rqn6x4v.js";
|
|
4
|
+
|
|
5
|
+
// src/instance/service.ts
|
|
6
|
+
var exports_service2 = {};
|
|
7
|
+
__export(exports_service2, {
|
|
8
|
+
Instance: () => exports_service2,
|
|
9
|
+
Service: () => Service33,
|
|
10
|
+
node: () => node36
|
|
11
|
+
});
|
|
12
|
+
import { Context } from "effect";
|
|
13
|
+
import { Node } from "@opencode-ai/util/effect/app-node";
|
|
14
|
+
import { LayerNode } from "@opencode-ai/util/effect/layer-node";
|
|
15
|
+
|
|
16
|
+
class Service33 extends Context.Service()("@opencode/Instance") {
|
|
17
|
+
}
|
|
18
|
+
var node36 = LayerNode.unbound(Service33, Node.tags.values.global);
|
|
19
|
+
|
|
20
|
+
export { Service33, node36, exports_service2 };
|