@opencode/core 0.0.0-dev-19498 → 0.0.0-dev-19503
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 +82 -82
- package/dist/aisdk-native.js +2 -2
- package/dist/aisdk.js +6 -6
- package/dist/app.js +9 -9
- package/dist/bus.js +72 -72
- package/dist/catalog.js +84 -84
- package/dist/chunks/{repository-c6yb4237.js → file-0gjrpm4q.js} +19 -19
- package/dist/chunks/{repository-e99x5n85.js → file-0gw11f53.js} +28 -28
- package/dist/chunks/{repository-rtxv9fy7.js → file-0p2zh9q8.js} +17 -17
- package/dist/chunks/{repository-k79tzb9n.js → file-0p4j4cv0.js} +9 -9
- package/dist/chunks/{repository-0paq2nw3.js → file-0paq2nw3.js} +1 -1
- package/dist/chunks/{repository-rf224sys.js → file-0pnmq97r.js} +32 -32
- package/dist/chunks/{repository-0q0f95c6.js → file-0q0f95c6.js} +1 -1
- package/dist/chunks/{repository-x7b60kqc.js → file-0x6jhfyd.js} +36 -36
- package/dist/chunks/{repository-pnsxdan0.js → file-14vdq9mv.js} +20 -20
- package/dist/chunks/{repository-4hwjbp3f.js → file-1ac4bme3.js} +10 -10
- package/dist/chunks/{repository-1dazxqgg.js → file-1dazxqgg.js} +2 -2
- package/dist/chunks/{repository-m5r142j1.js → file-1j7qs22q.js} +36 -36
- package/dist/chunks/{repository-02dtbf74.js → file-1r0yq1wn.js} +17 -17
- package/dist/chunks/{repository-303jm9zc.js → file-1sxt24ag.js} +30 -30
- package/dist/chunks/{repository-21r38tys.js → file-21r38tys.js} +1 -1
- package/dist/chunks/{repository-9nv865s7.js → file-24a117tm.js} +9 -9
- package/dist/chunks/{repository-z63w68vq.js → file-29x78va6.js} +6 -6
- package/dist/chunks/{repository-2a5m3afh.js → file-2a5m3afh.js} +1 -1
- package/dist/chunks/{repository-31v32fqb.js → file-2hpfm54d.js} +10 -10
- package/dist/chunks/{repository-hybg6kpz.js → file-2kpnaqjr.js} +26 -26
- package/dist/chunks/{repository-3z7f8tm9.js → file-2n6t0d3f.js} +13 -13
- package/dist/chunks/{repository-bsns4k6q.js → file-2nv7jv6x.js} +15 -15
- package/dist/chunks/{repository-wbjwqceb.js → file-2rnktxfb.js} +43 -43
- package/dist/chunks/{repository-dwxy40gg.js → file-2t17ewj5.js} +18 -18
- package/dist/chunks/{repository-bzjkhwme.js → file-2ve45fd6.js} +5 -5
- package/dist/chunks/{repository-hc8297b1.js → file-2zpcf09p.js} +8 -8
- package/dist/chunks/{repository-3fc6dm20.js → file-3fc6dm20.js} +1 -1
- package/dist/chunks/{repository-gqrxex2e.js → file-3fj0ehej.js} +43 -43
- package/dist/chunks/{repository-3hepkmqq.js → file-3hepkmqq.js} +1 -1
- package/dist/chunks/{repository-kp844bkx.js → file-3kff94q5.js} +9 -9
- package/dist/chunks/{repository-emggx1tz.js → file-3ra6k2ma.js} +9 -9
- package/dist/chunks/{repository-3smtnn6g.js → file-3smtnn6g.js} +1 -1
- package/dist/chunks/{repository-v6rf84qt.js → file-3tc3fw1n.js} +20 -20
- package/dist/chunks/{repository-3tvqynh2.js → file-3tvqynh2.js} +1 -1
- package/dist/chunks/{repository-z3pw5915.js → file-3w2b2yj4.js} +5 -5
- package/dist/chunks/{repository-csbyz877.js → file-3yjg5mh2.js} +3 -3
- package/dist/chunks/{repository-etw8f4c2.js → file-3yknbgq7.js} +19 -19
- package/dist/chunks/{repository-tt9rf8rt.js → file-3yycxr83.js} +13 -13
- package/dist/chunks/{repository-bk89yz0d.js → file-4786se8r.js} +1 -1
- package/dist/chunks/{repository-s22r2bgp.js → file-4d8pxj8c.js} +31 -31
- package/dist/chunks/{repository-ps8cmt9z.js → file-4j7j5868.js} +3 -3
- package/dist/chunks/{repository-j0fn4spe.js → file-4nwkg5vr.js} +4 -4
- package/dist/chunks/{repository-q2x85fkv.js → file-4p8799rk.js} +11 -11
- package/dist/chunks/{repository-swvvrepw.js → file-4sv526vh.js} +11 -11
- package/dist/chunks/{repository-fv119r3h.js → file-4t8p017q.js} +13 -13
- package/dist/chunks/{repository-0ajdgxne.js → file-4y66k410.js} +5 -5
- package/dist/chunks/{repository-wgjqh7ga.js → file-4zj9va87.js} +27 -27
- package/dist/chunks/{repository-mfqp6xfm.js → file-56gdpj1q.js} +6 -6
- package/dist/chunks/{repository-5daktx2q.js → file-5daktx2q.js} +1 -1
- package/dist/chunks/{repository-4j44ebqe.js → file-5dmv5s4a.js} +34 -34
- package/dist/chunks/{repository-vcgkk9hq.js → file-5f2tz19k.js} +17 -17
- package/dist/chunks/{repository-79ttbg46.js → file-5m8ed8y5.js} +25 -25
- package/dist/chunks/{repository-5t3nmthw.js → file-5t3nmthw.js} +2 -2
- package/dist/chunks/{repository-p7kse70a.js → file-5trk58xb.js} +8 -8
- package/dist/chunks/{repository-jcxv3m6c.js → file-631z4xzt.js} +46 -46
- package/dist/chunks/{repository-669tq793.js → file-669tq793.js} +1 -1
- package/dist/chunks/{repository-8skddr1y.js → file-6djd1gzm.js} +6 -6
- package/dist/chunks/{repository-ypt0emkc.js → file-6fex6vem.js} +6 -6
- package/dist/chunks/{repository-6h73sxmp.js → file-6h73sxmp.js} +1 -1
- package/dist/chunks/{repository-jjs74g98.js → file-6jnybvqn.js} +9 -9
- package/dist/chunks/{repository-780w54ys.js → file-6jyhw6dt.js} +34 -34
- package/dist/chunks/{repository-6msgmcgs.js → file-6msgmcgs.js} +1 -1
- package/dist/chunks/{repository-71q4at8m.js → file-71q4at8m.js} +1 -1
- package/dist/chunks/{repository-rrbca1ec.js → file-737983wq.js} +4 -4
- package/dist/chunks/{repository-zcy8rv0e.js → file-79xwf2jn.js} +18 -18
- package/dist/chunks/{repository-7bmhse3q.js → file-7bmhse3q.js} +1 -1
- package/dist/chunks/{repository-2k8khapm.js → file-7dqw4kz8.js} +5 -5
- package/dist/chunks/{repository-bjs2yq5f.js → file-7ebn0nc0.js} +6 -6
- package/dist/chunks/{repository-qrjvp9c2.js → file-7ek6x336.js} +168 -168
- package/dist/chunks/{repository-715fqh1x.js → file-7hkvzewv.js} +8 -8
- package/dist/chunks/{repository-jxrrwyvz.js → file-7j62yvdk.js} +20 -20
- package/dist/chunks/{repository-gv99rv2p.js → file-7r53ar6y.js} +9 -9
- package/dist/chunks/{repository-vngt7js8.js → file-7s83vr9a.js} +23 -23
- package/dist/chunks/{repository-1bbkgx8g.js → file-7yh4e7ss.js} +3 -3
- package/dist/chunks/{repository-gw4wh78t.js → file-7yzymgne.js} +17 -17
- package/dist/chunks/{repository-5zxg5yys.js → file-81swgkk7.js} +9 -9
- package/dist/chunks/{repository-cmwkp3r5.js → file-844ef7ks.js} +4 -4
- package/dist/chunks/{repository-ejjk7mg9.js → file-865r9qcv.js} +8 -8
- package/dist/chunks/{repository-j7m8st6v.js → file-87deq66t.js} +8 -8
- package/dist/chunks/{repository-1hc11dc4.js → file-88sz8qcd.js} +4 -4
- package/dist/chunks/{repository-dz921fs9.js → file-8cbmhaq5.js} +1 -1
- package/dist/chunks/{repository-sqhkja9w.js → file-8cypfrbh.js} +6 -6
- package/dist/chunks/{repository-8d7r5vzw.js → file-8d7r5vzw.js} +1 -1
- package/dist/chunks/{repository-m0qh16g1.js → file-8n54f2ta.js} +18 -18
- package/dist/chunks/{repository-dj2t23y0.js → file-8p4f9s12.js} +2 -2
- package/dist/chunks/{repository-e535yj0k.js → file-8trdseqr.js} +26 -26
- package/dist/chunks/{repository-b27vhd2z.js → file-8x96bj0m.js} +7 -7
- package/dist/chunks/{repository-gn2hfjap.js → file-91p1v22t.js} +8 -8
- package/dist/chunks/{repository-rzja4vsd.js → file-9524tstc.js} +3 -3
- package/dist/chunks/{repository-drknmmyh.js → file-9bj2cvf7.js} +9 -9
- package/dist/chunks/{repository-89qp1k24.js → file-9fvpfb58.js} +11 -11
- package/dist/chunks/{repository-3dcs0pne.js → file-9gy04t1n.js} +64 -64
- package/dist/chunks/{repository-ebmt16rb.js → file-9m3d1h1h.js} +4 -4
- package/dist/chunks/{repository-1v08kvga.js → file-9p11ca5c.js} +25 -25
- package/dist/chunks/{repository-mc9wjbnw.js → file-9pgc3c9f.js} +17 -17
- package/dist/chunks/{repository-5c4hm403.js → file-a1bz86dw.js} +3 -3
- package/dist/chunks/{repository-aaet6srn.js → file-aaet6srn.js} +2 -2
- package/dist/chunks/{repository-jfn6jztq.js → file-ah6b56rd.js} +9 -9
- package/dist/chunks/{repository-czhxebx3.js → file-akadabsh.js} +15 -15
- package/dist/chunks/{repository-q56g9vvj.js → file-aksfce1s.js} +16 -16
- package/dist/chunks/{repository-t8028kwh.js → file-amkbtr58.js} +15 -15
- package/dist/chunks/{repository-0v53mg2y.js → file-an7cqtb7.js} +4 -4
- package/dist/chunks/{repository-8cp8hhzs.js → file-aq71ck84.js} +13 -13
- package/dist/chunks/{repository-5q0d5xf3.js → file-ax4359t5.js} +22 -22
- package/dist/chunks/{repository-may4g8rc.js → file-axvk3tbf.js} +21 -21
- package/dist/chunks/{repository-3q1jyqhd.js → file-b3wkxfg9.js} +1 -1
- package/dist/chunks/{repository-mq4pc9p2.js → file-b4ssmz4r.js} +9 -9
- package/dist/chunks/{repository-b6gygkdw.js → file-b6gygkdw.js} +2 -2
- package/dist/chunks/{repository-h73hfk1n.js → file-bd7brtc3.js} +11 -11
- package/dist/chunks/{repository-zq6stcrg.js → file-bw0vgseb.js} +8 -8
- package/dist/chunks/{repository-6cstdyv9.js → file-c4a2d4g2.js} +5 -5
- package/dist/chunks/{repository-ddnawyq4.js → file-c9n252bm.js} +11 -11
- package/dist/chunks/{repository-w2g4wz0k.js → file-cf9snega.js} +41 -41
- package/dist/chunks/{repository-m0jqrx5p.js → file-cfpkc3c9.js} +2 -2
- package/dist/chunks/{repository-9hxsd346.js → file-cn0yhb7k.js} +11 -11
- package/dist/chunks/{repository-axet0v9v.js → file-cvfevwhc.js} +14 -14
- package/dist/chunks/{repository-7beh8vzt.js → file-cwq9bbm8.js} +27 -27
- package/dist/chunks/{repository-qwtet0bt.js → file-cyf7cx3n.js} +18 -18
- package/dist/chunks/{repository-2q4wgzbd.js → file-cza9j1er.js} +1 -1
- package/dist/chunks/{repository-4h4kc2we.js → file-d4jn0akt.js} +27 -27
- package/dist/chunks/{repository-5kdrn25z.js → file-d678zc2k.js} +18 -18
- package/dist/chunks/{repository-m6h6nebs.js → file-da2mbxce.js} +14 -14
- package/dist/chunks/{repository-v41m4hv8.js → file-dc8d22k9.js} +22 -22
- package/dist/chunks/{repository-ej495afh.js → file-dcbb9xhy.js} +11 -11
- package/dist/chunks/{repository-c2rnhds8.js → file-drjkjrg9.js} +6 -6
- package/dist/chunks/{repository-d4pyqmad.js → file-dw1fjyb0.js} +5 -5
- package/dist/chunks/{repository-gtp689g7.js → file-dxpt5v4a.js} +288 -288
- package/dist/chunks/{repository-7da7ws9f.js → file-e17bkqjz.js} +1 -1
- package/dist/chunks/{repository-bd5kazb5.js → file-e3z6xmzm.js} +9 -9
- package/dist/chunks/{repository-z8jqfd5s.js → file-ea0j55ct.js} +4 -4
- package/dist/chunks/{repository-b1mg7fsy.js → file-ea8nv0r7.js} +2 -2
- package/dist/chunks/{repository-fyymr9xg.js → file-ec8389mk.js} +4 -4
- package/dist/chunks/{repository-d38fd2j6.js → file-egqavg4q.js} +15 -15
- package/dist/chunks/{repository-6xfb7f67.js → file-egqspz5t.js} +14 -14
- package/dist/chunks/{repository-ddt2bs9e.js → file-embw8kgh.js} +4 -4
- package/dist/chunks/{repository-epq63s4f.js → file-epq9ds0r.js} +64 -64
- package/dist/chunks/{repository-etq0c3wd.js → file-etq0c3wd.js} +1 -1
- package/dist/chunks/{repository-me7tczfq.js → file-f4d4r4a6.js} +20 -20
- package/dist/chunks/{repository-hdnk95c8.js → file-f828m53h.js} +2 -2
- package/dist/chunks/{repository-np7xrdgd.js → file-f8vm562w.js} +5 -5
- package/dist/chunks/{repository-z69pw8hh.js → file-fbm4qtpf.js} +22 -22
- package/dist/chunks/{repository-1sjjhtq8.js → file-fcnjngqh.js} +31 -31
- package/dist/chunks/{repository-z4h1g45j.js → file-fepbzpny.js} +17 -17
- package/dist/chunks/{repository-vxrjsf8c.js → file-fschw3aw.js} +7 -7
- package/dist/chunks/{repository-fxbjtjnd.js → file-fxbjtjnd.js} +1 -1
- package/dist/chunks/{repository-qs4sxs2p.js → file-fxtthhfd.js} +28 -28
- package/dist/chunks/{repository-9cqrggry.js → file-fzsrmebp.js} +24 -24
- package/dist/chunks/{repository-v0af3dwr.js → file-fzxbqhyn.js} +35 -35
- package/dist/chunks/{repository-35cpeqze.js → file-g0m6rrr1.js} +20 -20
- package/dist/chunks/{repository-bq5fxdyt.js → file-g14zqp48.js} +8 -8
- package/dist/chunks/{repository-6d9mz4vp.js → file-g3n6es57.js} +9 -9
- package/dist/chunks/{repository-n2xxa85q.js → file-g4adkwgc.js} +6 -6
- package/dist/chunks/{repository-7da99df4.js → file-g6nh8byg.js} +7 -7
- package/dist/chunks/{repository-0j1x6d8f.js → file-gbe8bvty.js} +4 -4
- package/dist/chunks/{repository-gd4qta3r.js → file-gd4qta3r.js} +1 -1
- package/dist/chunks/{repository-3k42az9m.js → file-gptjq5xf.js} +16 -16
- package/dist/chunks/{repository-2qm2t37x.js → file-gt8btckc.js} +32 -32
- package/dist/chunks/{repository-th5km1p3.js → file-gv6a8nnw.js} +5 -5
- package/dist/chunks/{repository-fjvydvzm.js → file-gzbkpp9m.js} +4 -4
- package/dist/chunks/{repository-h03wrkyp.js → file-h03wrkyp.js} +2 -2
- package/dist/chunks/file-h591h6nq.js +247 -0
- package/dist/chunks/{repository-gkrd4bgd.js → file-h60zwq4m.js} +4 -4
- package/dist/chunks/{repository-h6vf3j39.js → file-h6vf3j39.js} +1 -1
- package/dist/chunks/{repository-cgv98gz4.js → file-hbakxq5y.js} +19 -19
- package/dist/chunks/{repository-18d55ntk.js → file-hnjcq03z.js} +23 -23
- package/dist/chunks/{repository-6zz1gbh1.js → file-hp075dpy.js} +12 -12
- package/dist/chunks/{repository-5axkb2dj.js → file-hp277x20.js} +29 -29
- package/dist/chunks/{repository-ghk9cxjs.js → file-hq8zt1th.js} +6 -6
- package/dist/chunks/file-ht5y0zrb.js +18 -0
- package/dist/chunks/{repository-rtdmfcdc.js → file-j3ktvrzf.js} +26 -26
- package/dist/chunks/{repository-j56e64zr.js → file-j56e64zr.js} +1 -1
- package/dist/chunks/{repository-f8qzdw9k.js → file-j6frhm8p.js} +5 -5
- package/dist/chunks/{repository-pead7vf7.js → file-j7w4f3hr.js} +24 -24
- package/dist/chunks/{repository-paphc93g.js → file-j935v87r.js} +2 -2
- package/dist/chunks/{repository-6tfgbeb6.js → file-j9n5fxav.js} +18 -18
- package/dist/chunks/{repository-zpc6dyj7.js → file-jeanpfns.js} +1 -1
- package/dist/chunks/{repository-chwwb1dy.js → file-jfqp9qt8.js} +9 -9
- package/dist/chunks/{repository-rzfk4f89.js → file-jjcqt8zt.js} +7 -7
- package/dist/chunks/{repository-fjqp604d.js → file-jtq2znwy.js} +24 -24
- package/dist/chunks/{repository-dpkg50ah.js → file-jwcy2c2z.js} +4 -4
- package/dist/chunks/{repository-kg06axw8.js → file-kg06axw8.js} +1 -1
- package/dist/chunks/{repository-yvzs9wg3.js → file-km5917gx.js} +51 -51
- package/dist/chunks/{repository-p53gvhkt.js → file-ktw3pdy7.js} +32 -32
- package/dist/chunks/{repository-m9w0rfyh.js → file-m9w0rfyh.js} +1 -1
- package/dist/chunks/{repository-zw4pk1bw.js → file-ma15yhyh.js} +5 -5
- package/dist/chunks/{repository-qd6kbfr6.js → file-map7vc9e.js} +4 -4
- package/dist/chunks/{repository-78qgck3m.js → file-n3ehebhz.js} +12 -12
- package/dist/chunks/{repository-r2m9agnq.js → file-nd9hg1xj.js} +24 -24
- package/dist/chunks/{repository-t0bxsy7k.js → file-neb913ap.js} +8 -8
- package/dist/chunks/{repository-nhy5jxhy.js → file-nhy5jxhy.js} +1 -1
- package/dist/chunks/{repository-nv5vn7qx.js → file-nv5vn7qx.js} +2 -2
- package/dist/chunks/{repository-mpxnmgtm.js → file-nze65y9n.js} +42 -42
- package/dist/chunks/{repository-qte5z7bc.js → file-p1nm93x7.js} +5 -5
- package/dist/chunks/{repository-wt6nz37q.js → file-pfjv880m.js} +45 -45
- package/dist/chunks/{repository-6p1sqnga.js → file-pg0dvyvk.js} +12 -12
- package/dist/chunks/{repository-pjvnvgmy.js → file-pjvnvgmy.js} +1 -1
- package/dist/chunks/{repository-pknna89w.js → file-pknna89w.js} +1 -1
- package/dist/chunks/{repository-8e3avz02.js → file-pndtw5qe.js} +43 -43
- package/dist/chunks/{repository-8sp4zmk3.js → file-pnfpsavj.js} +8 -8
- package/dist/chunks/{repository-wge1ywg1.js → file-pp59n8pp.js} +24 -24
- package/dist/chunks/{repository-qsxbhfxw.js → file-q043d12m.js} +11 -11
- package/dist/chunks/{repository-se1g6v53.js → file-q4jqhhxd.js} +87 -87
- package/dist/chunks/{repository-4p9etfsw.js → file-qbejwr8p.js} +32 -32
- package/dist/chunks/{repository-m3r691ny.js → file-qefhz522.js} +11 -11
- package/dist/chunks/{repository-thaqkx7r.js → file-qmy7xtej.js} +1 -1
- package/dist/chunks/{repository-8x1ga14t.js → file-qp9w0mn5.js} +7 -7
- package/dist/chunks/{repository-9wjhpth9.js → file-qpcnk2ce.js} +72 -72
- package/dist/chunks/{repository-9vtsx9kz.js → file-qrdc2j4b.js} +25 -25
- package/dist/chunks/{repository-6rdedmrb.js → file-qryaexwa.js} +37 -37
- package/dist/chunks/{repository-qsdy395h.js → file-qsdy395h.js} +1 -1
- package/dist/chunks/{repository-tjz4ep1y.js → file-r12ptjs8.js} +27 -27
- package/dist/chunks/{repository-pvkhkebb.js → file-r1m6q3fm.js} +16 -16
- package/dist/chunks/{repository-760k6j29.js → file-r6x8jqph.js} +23 -23
- package/dist/chunks/{repository-zvv0052e.js → file-r9030hxj.js} +9 -9
- package/dist/chunks/{repository-r9mregkx.js → file-r9mregkx.js} +2 -2
- package/dist/chunks/{repository-ms4pas81.js → file-rq9x2xtg.js} +28 -28
- package/dist/chunks/{repository-15p57gcn.js → file-rry1cpvn.js} +15 -15
- package/dist/chunks/{repository-czfqgbdx.js → file-rxe92ft5.js} +26 -26
- package/dist/chunks/{repository-bjpwrgw7.js → file-s3h59be2.js} +24 -24
- package/dist/chunks/{repository-yrznvahk.js → file-s4enseaf.js} +2 -2
- package/dist/chunks/{repository-96n8jbhm.js → file-sp0cj90t.js} +20 -20
- package/dist/chunks/{repository-9rqcq6mt.js → file-svxygcjw.js} +2 -2
- package/dist/chunks/{repository-1fvpfgwa.js → file-szbdehq3.js} +30 -30
- package/dist/chunks/{repository-q1h4ggtj.js → file-szgy4byf.js} +4 -4
- package/dist/chunks/{repository-02nrjc1r.js → file-t550f9t1.js} +8 -8
- package/dist/chunks/{repository-ht4gsq17.js → file-t6xdqw2p.js} +6 -6
- package/dist/chunks/file-t83d2b0d.js +22 -0
- package/dist/chunks/{repository-35yx2wmk.js → file-t8eheybj.js} +37 -37
- package/dist/chunks/{repository-tazgh4e4.js → file-tazgh4e4.js} +1 -1
- package/dist/chunks/{repository-89znhe33.js → file-tcezcvh9.js} +4 -4
- package/dist/chunks/{repository-tdstcens.js → file-tdstcens.js} +1 -1
- package/dist/chunks/{repository-qy11zpxb.js → file-tgqjfyja.js} +3 -3
- package/dist/chunks/{repository-tvtrv512.js → file-tvtrv512.js} +1 -1
- package/dist/chunks/{repository-xengr0xg.js → file-tw0jne9w.js} +19 -19
- package/dist/chunks/{repository-n4qym5bf.js → file-v32yr9d8.js} +3 -3
- package/dist/chunks/{repository-asnar2z5.js → file-v4cav7rx.js} +32 -32
- package/dist/chunks/{repository-gw0sx9d8.js → file-v65drjb8.js} +11 -11
- package/dist/chunks/{repository-4hbd63w4.js → file-vczh7xgt.js} +20 -20
- package/dist/chunks/{repository-veqvce7d.js → file-veqvce7d.js} +1 -1
- package/dist/chunks/{repository-9h1nkghz.js → file-verq85zk.js} +4 -4
- package/dist/chunks/{repository-bx7759mv.js → file-vj15hgm9.js} +10 -10
- package/dist/chunks/{repository-z0jd1bs7.js → file-vmtte7pc.js} +43 -43
- package/dist/chunks/{repository-wdgh92ty.js → file-vsctkjm2.js} +16 -16
- package/dist/chunks/{repository-f3ngv102.js → file-vsp1fds9.js} +21 -21
- package/dist/chunks/{repository-vzcthcp8.js → file-vzcthcp8.js} +1 -1
- package/dist/chunks/{repository-w3wsvvr9.js → file-w3wsvvr9.js} +1 -1
- package/dist/chunks/{repository-0hb9kn17.js → file-w727stb0.js} +45 -45
- package/dist/chunks/{repository-wd87259q.js → file-wd87259q.js} +1 -1
- package/dist/chunks/{repository-yvtv9nre.js → file-wgpg5g3d.js} +16 -16
- package/dist/chunks/{repository-6db80x29.js → file-wjtjjmd0.js} +11 -11
- package/dist/chunks/{repository-f44pksnw.js → file-wpmxaqyc.js} +6 -6
- package/dist/chunks/{repository-fshg7mjp.js → file-wpqth83p.js} +4 -4
- package/dist/chunks/{repository-dx870anp.js → file-x060fdep.js} +90 -90
- package/dist/chunks/{repository-x1ezjp6w.js → file-x1ezjp6w.js} +1 -1
- package/dist/chunks/{repository-gsqrher5.js → file-x9vpcgg3.js} +30 -30
- package/dist/chunks/{repository-2s14wjwq.js → file-xv4b1b4q.js} +47 -47
- package/dist/chunks/{repository-y1fvbwt7.js → file-y1fvbwt7.js} +1 -1
- package/dist/chunks/{repository-9edcvf27.js → file-y2vrj84a.js} +6 -6
- package/dist/chunks/{repository-kehke4gd.js → file-y4x12v72.js} +12 -12
- package/dist/chunks/{repository-twyqrbez.js → file-y67y16g8.js} +28 -28
- package/dist/chunks/{repository-68vqj5c0.js → file-y9n3sh8b.js} +8 -8
- package/dist/chunks/{repository-1qpfe9sk.js → file-ydn3gg3r.js} +10 -10
- package/dist/chunks/{repository-f2n192rq.js → file-yp2x3t23.js} +4 -4
- package/dist/chunks/{repository-sscy94be.js → file-yq0x5dd5.js} +27 -27
- package/dist/chunks/{repository-3btz0cnc.js → file-yqfy31rq.js} +16 -16
- package/dist/chunks/{repository-yrhqyw5v.js → file-yrhqyw5v.js} +1 -1
- package/dist/chunks/{repository-ead3g9p8.js → file-yt0fqk68.js} +5 -5
- package/dist/chunks/{repository-mv74xwze.js → file-yz3h3ntp.js} +15 -15
- package/dist/chunks/{repository-z0bkrqjs.js → file-z0bkrqjs.js} +1 -1
- package/dist/chunks/{repository-w19q6fm0.js → file-z51k40g3.js} +2 -2
- package/dist/chunks/{repository-q7dhks77.js → file-z91f3yc5.js} +29 -29
- package/dist/chunks/{repository-1rc1q9w7.js → file-z9qams9d.js} +11 -11
- package/dist/chunks/{repository-63sbrax2.js → file-zbqyvn6w.js} +18 -18
- package/dist/chunks/{repository-zeh9ct20.js → file-zeh9ct20.js} +2 -2
- package/dist/chunks/{repository-s9sks4b0.js → file-zjsxw8xc.js} +15 -15
- package/dist/chunks/{repository-0kjyx4as.js → file-zpjvc3ac.js} +12 -12
- package/dist/chunks/{repository-zr2ceqn5.js → file-zr2ceqn5.js} +1 -1
- package/dist/chunks/{repository-c1495ybz.js → file-zts5fb25.js} +11 -11
- package/dist/chunks/{repository-zxq2ej10.js → file-zxq2ej10.js} +1 -1
- package/dist/codemode/catalog.js +1 -1
- package/dist/codemode/instructions.js +7 -7
- package/dist/codemode/tool.js +2 -2
- package/dist/command.js +84 -84
- package/dist/config/discovery.js +80 -80
- package/dist/config/markdown.js +1 -1
- package/dist/config/normalize.js +19 -19
- package/dist/config/plugin/agent.js +116 -116
- package/dist/config/plugin/command.js +208 -208
- package/dist/config/plugin/compaction.js +156 -156
- package/dist/config/plugin/entry-observer.js +1 -1
- package/dist/config/plugin/formatter.js +118 -118
- package/dist/config/plugin/image.js +116 -116
- package/dist/config/plugin/instruction.js +86 -86
- package/dist/config/plugin/location-watcher.js +118 -118
- package/dist/config/plugin/mcp.js +125 -125
- package/dist/config/plugin/policy.js +115 -115
- package/dist/config/plugin/provider.js +114 -114
- package/dist/config/plugin/reference.js +118 -118
- package/dist/config/plugin/shell.js +117 -117
- package/dist/config/plugin/skill-file.js +98 -98
- package/dist/config/plugin/skill.js +135 -135
- package/dist/config/plugin/snapshot.js +114 -114
- package/dist/config/plugin/source.js +118 -118
- package/dist/config/plugin/tool-output.js +118 -118
- package/dist/config/plugin/websearch.js +114 -114
- package/dist/config/plugin/worktree.js +119 -119
- 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 +84 -84
- package/dist/database/database.js +73 -73
- package/dist/database/drizzle/effect-sqlite/driver.js +12 -12
- package/dist/database/drizzle/effect-sqlite/index.js +12 -12
- package/dist/database/drizzle/effect-sqlite/session.js +11 -11
- package/dist/database/drizzle/index.js +13 -13
- package/dist/database/drizzle/internal/drizzle-utils.js +1 -1
- package/dist/database/drizzle/sqlite-core/effect/count.js +1 -1
- package/dist/database/drizzle/sqlite-core/effect/db.js +9 -9
- package/dist/database/drizzle/sqlite-core/effect/delete.js +2 -2
- package/dist/database/drizzle/sqlite-core/effect/index.js +10 -10
- package/dist/database/drizzle/sqlite-core/effect/insert.js +2 -2
- package/dist/database/drizzle/sqlite-core/effect/query.js +1 -1
- package/dist/database/drizzle/sqlite-core/effect/raw.js +1 -1
- package/dist/database/drizzle/sqlite-core/effect/select.js +2 -2
- package/dist/database/drizzle/sqlite-core/effect/session.js +10 -10
- package/dist/database/drizzle/sqlite-core/effect/update.js +2 -2
- package/dist/database/drizzle.js +14 -14
- package/dist/database/migration/20260127222353_familiar_lady_ursula.js +1 -1
- package/dist/database/migration/20260211171708_add_project_commands.js +1 -1
- package/dist/database/migration/20260213144116_wakeful_the_professor.js +1 -1
- package/dist/database/migration/20260225215848_workspace.js +1 -1
- package/dist/database/migration/20260227213759_add_session_workspace_id.js +1 -1
- package/dist/database/migration/20260228203230_blue_harpoon.js +1 -1
- package/dist/database/migration/20260303231226_add_workspace_fields.js +1 -1
- package/dist/database/migration/20260309230000_move_org_to_state.js +1 -1
- package/dist/database/migration/20260312043431_session_message_cursor.js +1 -1
- package/dist/database/migration/20260323234822_events.js +1 -1
- package/dist/database/migration/20260410174513_workspace-name.js +1 -1
- package/dist/database/migration/20260413175956_chief_energizer.js +1 -1
- package/dist/database/migration/20260423070820_add_icon_url_override.js +1 -1
- package/dist/database/migration/20260427172553_slow_nightmare.js +1 -1
- package/dist/database/migration/20260428004200_add_session_path.js +1 -1
- package/dist/database/migration/20260501142318_next_venus.js +1 -1
- package/dist/database/migration/20260504145000_add_sync_owner.js +1 -1
- package/dist/database/migration/20260507164347_add_workspace_time.js +1 -1
- package/dist/database/migration/20260510033149_session_usage.js +1 -1
- package/dist/database/migration/20260511000411_data_migration_state.js +1 -1
- package/dist/database/migration/20260511173437_session-metadata.js +1 -1
- package/dist/database/migration/20260601010001_normalize_storage_paths.js +1 -1
- package/dist/database/migration/20260601202201_amazing_prowler.js +1 -1
- package/dist/database/migration/20260602002951_lowly_union_jack.js +1 -1
- package/dist/database/migration/20260602182828_add_project_directories.js +1 -1
- package/dist/database/migration/20260603001617_session_message_projection_indexes.js +1 -1
- package/dist/database/migration/20260603040000_session_message_projection_order.js +1 -1
- package/dist/database/migration/20260603141458_session_input_inbox.js +1 -1
- package/dist/database/migration/20260603160727_jittery_ezekiel_stane.js +1 -1
- package/dist/database/migration/20260604172448_event_sourced_session_input.js +1 -1
- package/dist/database/migration/20260605003541_add_session_context_snapshot.js +1 -1
- package/dist/database/migration/20260605042240_add_context_epoch_agent.js +1 -1
- package/dist/database/migration/20260611035744_credential.js +1 -1
- package/dist/database/migration/20260611192811_lush_chimera.js +1 -1
- package/dist/database/migration/20260612174303_project_dir_strategy.js +1 -1
- package/dist/database/migration/20260622142730_simplify_session_context_epoch.js +1 -1
- package/dist/database/migration/20260622170816_reset_v2_session_state.js +1 -1
- package/dist/database/migration/20260622202450_simplify_session_input.js +1 -1
- package/dist/database/migration/20260804233008_loose_psylocke.js +1 -1
- package/dist/database/migration/20260805200742_import_legacy_credentials.js +1 -1
- package/dist/database/migration/20260808023530_workspace_domain.js +1 -1
- package/dist/database/migration/20260811161259_execution_claim_attempts.js +1 -1
- package/dist/database/migration/20260812181746_session_inbox.js +1 -1
- package/dist/database/migration/20260812213948_worktree.js +1 -1
- package/dist/database/migration/20260819222447_session_viewed_state.js +1 -1
- package/dist/database/migration/20260823191254_nullable_workspace_binding.js +1 -1
- package/dist/database/migration/20260910120000_clear_v1_session_permission.js +1 -1
- package/dist/database/migration.gen.js +48 -48
- package/dist/database/migration.js +50 -50
- 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 +78 -78
- package/dist/database/v1-migration.js +1 -1
- package/dist/effect/app-node-builder.js +361 -361
- package/dist/effect/app-node-platform.js +2 -2
- package/dist/effect/keyed-mutex.js +3 -3
- package/dist/effect/websocket-constructor.js +1 -1
- package/dist/environment/driver.js +1 -1
- package/dist/environment/environment.js +89 -89
- package/dist/environment/exec-defaults.js +2 -2
- package/dist/environment/files.js +1 -1
- package/dist/environment/index.js +91 -91
- 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 +73 -73
- package/dist/file-access.js +100 -100
- package/dist/file-mutation.js +90 -90
- 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 +223 -223
- package/dist/filesystem/protected.js +3 -3
- package/dist/filesystem/search.js +100 -100
- package/dist/filesystem/watcher-binding.js +3 -3
- package/dist/filesystem/watcher.js +15 -15
- package/dist/filesystem.js +99 -99
- package/dist/form.js +83 -83
- package/dist/formatter/builtins.js +4 -4
- package/dist/formatter.js +83 -83
- package/dist/generate.js +94 -94
- 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 +7 -7
- package/dist/github-copilot/openai-compatible-error.js +1 -1
- package/dist/github-copilot/responses/convert-to-openai-responses-input.js +1 -1
- package/dist/github-copilot/responses/map-openai-responses-finish-reason.js +1 -1
- package/dist/github-copilot/responses/openai-error.js +1 -1
- package/dist/github-copilot/responses/openai-responses-language-model.js +10 -10
- package/dist/github-copilot/responses/openai-responses-prepare-tools.js +6 -6
- package/dist/github-copilot/responses/tool/code-interpreter.js +1 -1
- package/dist/github-copilot/responses/tool/file-search.js +1 -1
- package/dist/github-copilot/responses/tool/image-generation.js +1 -1
- package/dist/github-copilot/responses/tool/web-search-preview.js +1 -1
- package/dist/github-copilot/responses/tool/web-search.js +1 -1
- package/dist/id/id.js +1 -1
- package/dist/image/photon.js +2 -2
- package/dist/image.js +6 -6
- package/dist/instance/service.js +5 -5
- package/dist/instance.js +352 -352
- package/dist/instruction-discovery.js +82 -82
- package/dist/instructions/builtins.js +83 -83
- package/dist/instructions/index.js +5 -5
- package/dist/integration/connection.js +1 -1
- package/dist/integration.js +85 -85
- package/dist/job.js +78 -78
- package/dist/kv/sql.js +2 -2
- package/dist/kv.js +68 -68
- package/dist/location-activity.js +134 -134
- package/dist/location-mutation.js +100 -100
- package/dist/location-service-map.js +84 -84
- package/dist/location-services.js +349 -349
- package/dist/location.js +85 -85
- package/dist/mcp/client.js +87 -87
- package/dist/mcp/index.js +98 -98
- package/dist/mcp/instructions.js +117 -117
- package/dist/mcp/oauth.js +3 -3
- package/dist/mcp/stdio.js +86 -86
- package/dist/mime.js +1 -1
- package/dist/modal/models.js +7 -7
- package/dist/model-resolver.js +87 -87
- package/dist/model.js +8 -8
- package/dist/models-dev.js +75 -75
- package/dist/oauth/page.js +1 -1
- package/dist/permission/saved.js +81 -81
- package/dist/permission/sql.js +5 -5
- package/dist/permission.js +115 -115
- package/dist/persistent-pty/binary.bun.js +1 -1
- package/dist/persistent-pty/daemon.js +1 -1
- package/dist/persistent-pty/index.js +87 -87
- package/dist/persistent-pty/pty-binding.js +1 -1
- package/dist/persistent-pty.js +74 -74
- package/dist/plugin/agent.js +98 -98
- package/dist/plugin/command.js +95 -95
- package/dist/plugin/hooks.js +5 -5
- package/dist/plugin/host.js +214 -214
- package/dist/plugin/instance.js +3 -3
- package/dist/plugin/internal.js +323 -323
- package/dist/plugin/mcp-codemode-exclusion.js +3 -3
- package/dist/plugin/models-dev.js +76 -76
- package/dist/plugin/module.js +7 -7
- package/dist/plugin/optimize.js +2 -2
- package/dist/plugin/plan.js +98 -98
- 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/azure.js +119 -119
- package/dist/plugin/provider/cerebras.js +2 -2
- package/dist/plugin/provider/cloudflare-ai-gateway.js +118 -118
- package/dist/plugin/provider/cloudflare-workers-ai.js +118 -118
- package/dist/plugin/provider/cohere.js +2 -2
- package/dist/plugin/provider/configured.js +115 -115
- package/dist/plugin/provider/digitalocean.js +80 -80
- 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 +81 -81
- 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 +77 -77
- package/dist/plugin/provider/lmstudio.js +118 -118
- package/dist/plugin/provider/modal.js +80 -80
- package/dist/plugin/provider/nvidia.js +2 -2
- package/dist/plugin/provider/ollama.js +118 -118
- package/dist/plugin/provider/openai-compatible.js +1 -1
- package/dist/plugin/provider/openai.js +79 -79
- package/dist/plugin/provider/opencode.js +80 -80
- package/dist/plugin/provider/openrouter.js +3 -3
- package/dist/plugin/provider/perplexity.js +2 -2
- package/dist/plugin/provider/poe.js +77 -77
- 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 +118 -118
- package/dist/plugin/provider/venice.js +2 -2
- package/dist/plugin/provider/vercel.js +2 -2
- package/dist/plugin/provider/vllm.js +118 -118
- package/dist/plugin/provider/xai.js +78 -78
- package/dist/plugin/provider/zenmux.js +2 -2
- package/dist/plugin/provider.js +157 -157
- package/dist/plugin/sdk.js +75 -75
- package/dist/plugin/service.js +3 -3
- package/dist/plugin/skill.js +134 -134
- package/dist/plugin/source-directory.js +1 -1
- package/dist/plugin/supervisor.js +342 -342
- package/dist/plugin/update.js +6 -6
- package/dist/plugin/variant.js +4 -4
- package/dist/plugin/vcs/git.js +83 -83
- package/dist/plugin/vcs/hg.js +83 -83
- package/dist/plugin/warming.js +113 -113
- package/dist/plugin/websearch/exa.js +7 -7
- package/dist/plugin/websearch/firecrawl.js +6 -6
- package/dist/plugin/websearch/index.js +8 -8
- package/dist/plugin/websearch/mcp.js +4 -4
- package/dist/plugin/websearch/parallel.js +8 -8
- package/dist/plugin/websearch/tavily.js +6 -6
- package/dist/plugin.js +219 -219
- package/dist/project/schema.js +8 -8
- package/dist/project/sql.js +4 -4
- package/dist/project.js +84 -84
- package/dist/provider.js +7 -7
- package/dist/pty/protocol.js +1 -1
- package/dist/pty/schema.js +1 -1
- package/dist/pty/ticket.js +1 -1
- package/dist/pty.js +83 -83
- package/dist/reference/instructions.js +85 -85
- package/dist/reference.js +87 -87
- package/dist/repository-cache.js +77 -77
- package/dist/repository.js +1 -1
- package/dist/ripgrep/binary.js +2 -2
- package/dist/ripgrep.js +94 -94
- package/dist/rpc.js +82 -82
- package/dist/schema.js +1 -1
- package/dist/session/command.js +73 -73
- package/dist/session/compaction.js +128 -128
- package/dist/session/context.js +148 -148
- 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 +220 -220
- package/dist/session/execution.js +123 -123
- package/dist/session/generate.js +149 -149
- package/dist/session/history.js +15 -15
- package/dist/session/inbox.js +87 -87
- package/dist/session/info.js +3 -3
- package/dist/session/instruction-entry.js +76 -76
- package/dist/session/instruction-state.js +8 -8
- package/dist/session/instructions.js +93 -93
- package/dist/session/message-updater.js +4 -4
- package/dist/session/message.js +1 -1
- package/dist/session/model-request.js +114 -114
- package/dist/session/model-transport.js +9 -9
- package/dist/session/move.js +127 -127
- package/dist/session/projector.js +85 -85
- package/dist/session/prompt.js +101 -101
- package/dist/session/provider-context.js +3 -3
- package/dist/session/revert.js +86 -86
- package/dist/session/run-coordinator.js +3 -3
- package/dist/session/runner/index.js +3 -3
- package/dist/session/runner/llm.js +226 -226
- package/dist/session/runner/max-steps.js +1 -1
- package/dist/session/runner/model.js +87 -87
- package/dist/session/runner/publish-llm-event.js +3 -3
- package/dist/session/runner/retry.js +111 -111
- package/dist/session/runner/step.js +122 -122
- package/dist/session/runner/to-llm-message.js +2 -2
- package/dist/session/schema.js +5 -5
- package/dist/session/session.js +168 -168
- package/dist/session/shell.js +132 -132
- package/dist/session/skill.js +99 -99
- package/dist/session/sql.js +5 -5
- package/dist/session/stats.js +74 -74
- package/dist/session/store.js +86 -86
- package/dist/session/subagent-completion.js +1 -1
- package/dist/session/subagent-job.js +206 -206
- package/dist/session/system-prompt.js +1 -1
- package/dist/session/title.js +152 -152
- package/dist/session/to-session-error.js +108 -108
- package/dist/session/transfer.js +219 -219
- package/dist/session/usage.js +1 -1
- package/dist/session.js +212 -212
- package/dist/shell/parse.js +6 -6
- package/dist/shell/result.js +1 -1
- package/dist/shell/scan.js +1 -1
- package/dist/shell/select.js +13 -13
- package/dist/shell.js +134 -134
- package/dist/skill/discovery.js +6 -6
- package/dist/skill/instructions.js +101 -101
- package/dist/skill.js +108 -108
- package/dist/snapshot.js +87 -87
- 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 +120 -120
- package/dist/tool/plugin/edit.js +116 -116
- package/dist/tool/plugin/file-diff.js +1 -1
- package/dist/tool/plugin/glob.js +121 -121
- package/dist/tool/plugin/grep.js +121 -121
- package/dist/tool/plugin/opencode.js +3 -3
- package/dist/tool/plugin/patch.js +118 -118
- package/dist/tool/plugin/question.js +99 -99
- package/dist/tool/plugin/read.js +122 -122
- package/dist/tool/plugin/shell.js +211 -211
- package/dist/tool/plugin/skill.js +109 -109
- package/dist/tool/plugin/subagent.js +211 -211
- package/dist/tool/plugin/webfetch.js +106 -106
- package/dist/tool/plugin/websearch.js +108 -108
- package/dist/tool/plugin/write.js +114 -114
- package/dist/tool/read-filesystem.js +97 -97
- package/dist/tool/runtime.js +1 -1
- package/dist/tool-output.js +8 -8
- package/dist/tool.js +13 -13
- package/dist/util/error-summary.js +1 -1
- package/dist/util/error.js +1 -1
- package/dist/util/iife.js +1 -1
- package/dist/util/lazy.js +1 -1
- package/dist/util/slug.js +1 -1
- package/dist/util/token.js +1 -1
- package/dist/util/which.js +1 -1
- package/dist/util/wildcard.js +1 -1
- package/dist/v1/config/agent.js +7 -7
- package/dist/v1/config/attachment.js +4 -4
- package/dist/v1/config/command.js +5 -5
- package/dist/v1/config/config.js +16 -16
- package/dist/v1/config/error.js +4 -4
- package/dist/v1/config/formatter.js +3 -3
- 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 +84 -84
- package/dist/websearch.js +81 -81
- package/dist/wellknown/plugin.js +75 -75
- package/dist/wellknown.js +80 -80
- package/dist/workspace/driver.js +7 -7
- package/dist/workspace/sql.js +1 -1
- package/dist/workspace.js +79 -79
- package/dist/worktree/directory.js +4 -4
- package/dist/worktree/git.js +7 -7
- package/dist/worktree/refresh.js +341 -341
- package/dist/worktree/sql.js +5 -5
- package/dist/worktree.js +90 -90
- package/package.json +8 -8
- package/dist/chunks/repository-9zdhvgqs.js +0 -18
- package/dist/chunks/repository-qsqamk6a.js +0 -247
- package/dist/chunks/repository-w7xk12sf.js +0 -22
- /package/dist/chunks/{repository-0mesazry.js → file-0mesazry.js} +0 -0
- /package/dist/chunks/{repository-0qkdqm5v.js → file-0qkdqm5v.js} +0 -0
- /package/dist/chunks/{repository-0zkw76rk.js → file-0zkw76rk.js} +0 -0
- /package/dist/chunks/{repository-17cy0kzp.js → file-17cy0kzp.js} +0 -0
- /package/dist/chunks/{repository-1cnp2v09.js → file-1cnp2v09.js} +0 -0
- /package/dist/chunks/{repository-1kg9ymc8.js → file-1kg9ymc8.js} +0 -0
- /package/dist/chunks/{repository-2710q6r3.js → file-2710q6r3.js} +0 -0
- /package/dist/chunks/{repository-2axfhc9x.js → file-2axfhc9x.js} +0 -0
- /package/dist/chunks/{repository-2c3vjs8z.js → file-2c3vjs8z.js} +0 -0
- /package/dist/chunks/{repository-359p4xyc.js → file-359p4xyc.js} +0 -0
- /package/dist/chunks/{repository-3asan66x.js → file-3asan66x.js} +0 -0
- /package/dist/chunks/{repository-3v8g72cx.js → file-3v8g72cx.js} +0 -0
- /package/dist/chunks/{repository-3w5fmr99.js → file-3w5fmr99.js} +0 -0
- /package/dist/chunks/{repository-3wcehsnq.js → file-3wcehsnq.js} +0 -0
- /package/dist/chunks/{repository-43n2bw4t.js → file-43n2bw4t.js} +0 -0
- /package/dist/chunks/{repository-4knz6hnm.js → file-4knz6hnm.js} +0 -0
- /package/dist/chunks/{repository-4vcrnpx2.js → file-4vcrnpx2.js} +0 -0
- /package/dist/chunks/{repository-4y7fprxs.js → file-4y7fprxs.js} +0 -0
- /package/dist/chunks/{repository-53557ph1.js → file-53557ph1.js} +0 -0
- /package/dist/chunks/{repository-550bvhaj.js → file-550bvhaj.js} +0 -0
- /package/dist/chunks/{repository-6prwharc.js → file-6prwharc.js} +0 -0
- /package/dist/chunks/{repository-7akdwqpd.js → file-7akdwqpd.js} +0 -0
- /package/dist/chunks/{repository-7m9af43g.js → file-7m9af43g.js} +0 -0
- /package/dist/chunks/{repository-822emrt2.js → file-822emrt2.js} +0 -0
- /package/dist/chunks/{repository-88xbtdfr.js → file-88xbtdfr.js} +0 -0
- /package/dist/chunks/{repository-8n3pysct.js → file-8n3pysct.js} +0 -0
- /package/dist/chunks/{repository-922hggd3.js → file-922hggd3.js} +0 -0
- /package/dist/chunks/{repository-9a4afbnw.js → file-9a4afbnw.js} +0 -0
- /package/dist/chunks/{repository-9rqn6x4v.js → file-9rqn6x4v.js} +0 -0
- /package/dist/chunks/{repository-a6k6eb26.js → file-a6k6eb26.js} +0 -0
- /package/dist/chunks/{repository-af5trqkr.js → file-af5trqkr.js} +0 -0
- /package/dist/chunks/{repository-afrmfg78.js → file-afrmfg78.js} +0 -0
- /package/dist/chunks/{repository-aqzs7mqg.js → file-aqzs7mqg.js} +0 -0
- /package/dist/chunks/{repository-atq7p7m5.js → file-atq7p7m5.js} +0 -0
- /package/dist/chunks/{repository-bkyjaxrp.js → file-bkyjaxrp.js} +0 -0
- /package/dist/chunks/{repository-bmr6ed5q.js → file-bmr6ed5q.js} +0 -0
- /package/dist/chunks/{repository-cf4snx6d.js → file-cf4snx6d.js} +0 -0
- /package/dist/chunks/{repository-cvy3z8tj.js → file-cvy3z8tj.js} +0 -0
- /package/dist/chunks/{repository-d9fn303g.js → file-d9fn303g.js} +0 -0
- /package/dist/chunks/{repository-d9jj8t3e.js → file-d9jj8t3e.js} +0 -0
- /package/dist/chunks/{repository-dajrwvna.js → file-dajrwvna.js} +0 -0
- /package/dist/chunks/{repository-dap0rakb.js → file-dap0rakb.js} +0 -0
- /package/dist/chunks/{repository-df08tz66.js → file-df08tz66.js} +0 -0
- /package/dist/chunks/{repository-dy18nga0.js → file-dy18nga0.js} +0 -0
- /package/dist/chunks/{repository-e5kj55wp.js → file-e5kj55wp.js} +0 -0
- /package/dist/chunks/{repository-e73j6tqm.js → file-e73j6tqm.js} +0 -0
- /package/dist/chunks/{repository-ec1grn59.js → file-ec1grn59.js} +0 -0
- /package/dist/chunks/{repository-eh3zwz77.js → file-eh3zwz77.js} +0 -0
- /package/dist/chunks/{repository-emrn6kk6.js → file-emrn6kk6.js} +0 -0
- /package/dist/chunks/{repository-f0mxakyp.js → file-f0mxakyp.js} +0 -0
- /package/dist/chunks/{repository-f6n9ztr4.js → file-f6n9ztr4.js} +0 -0
- /package/dist/chunks/{repository-faypxj3z.js → file-faypxj3z.js} +0 -0
- /package/dist/chunks/{repository-fd410y7t.js → file-fd410y7t.js} +0 -0
- /package/dist/chunks/{repository-fxgpk5d8.js → file-fxgpk5d8.js} +0 -0
- /package/dist/chunks/{repository-g4wezp1m.js → file-g4wezp1m.js} +0 -0
- /package/dist/chunks/{repository-g86h250q.js → file-g86h250q.js} +0 -0
- /package/dist/chunks/{repository-gebd4c9n.js → file-gebd4c9n.js} +0 -0
- /package/dist/chunks/{repository-gftt206x.js → file-gftt206x.js} +0 -0
- /package/dist/chunks/{repository-hjbc5kem.js → file-hjbc5kem.js} +0 -0
- /package/dist/chunks/{repository-hk9envan.js → file-hk9envan.js} +0 -0
- /package/dist/chunks/{repository-hrnqkpcd.js → file-hrnqkpcd.js} +0 -0
- /package/dist/chunks/{repository-j2ntwpah.js → file-j2ntwpah.js} +0 -0
- /package/dist/chunks/{repository-j5zkgpj8.js → file-j5zkgpj8.js} +0 -0
- /package/dist/chunks/{repository-jr7sbwjy.js → file-jr7sbwjy.js} +0 -0
- /package/dist/chunks/{repository-jwfs4k6c.js → file-jwfs4k6c.js} +0 -0
- /package/dist/chunks/{repository-jzg6c2d5.js → file-jzg6c2d5.js} +0 -0
- /package/dist/chunks/{repository-mp448xyj.js → file-mp448xyj.js} +0 -0
- /package/dist/chunks/{repository-msx8hqn2.js → file-msx8hqn2.js} +0 -0
- /package/dist/chunks/{repository-n05xt0ee.js → file-n05xt0ee.js} +0 -0
- /package/dist/chunks/{repository-n3j8tn72.js → file-n3j8tn72.js} +0 -0
- /package/dist/chunks/{repository-njntx4h6.js → file-njntx4h6.js} +0 -0
- /package/dist/chunks/{repository-q3sfg36h.js → file-q3sfg36h.js} +0 -0
- /package/dist/chunks/{repository-q74kybfr.js → file-q74kybfr.js} +0 -0
- /package/dist/chunks/{repository-qaymkmh1.js → file-qaymkmh1.js} +0 -0
- /package/dist/chunks/{repository-qb87gjwd.js → file-qb87gjwd.js} +0 -0
- /package/dist/chunks/{repository-qfa1cgps.js → file-qfa1cgps.js} +0 -0
- /package/dist/chunks/{repository-qrg20bc0.js → file-qrg20bc0.js} +0 -0
- /package/dist/chunks/{repository-rcb2kzg1.js → file-rcb2kzg1.js} +0 -0
- /package/dist/chunks/{repository-sdp7kfr6.js → file-sdp7kfr6.js} +0 -0
- /package/dist/chunks/{repository-sk3qaz4a.js → file-sk3qaz4a.js} +0 -0
- /package/dist/chunks/{repository-ssg3fenm.js → file-ssg3fenm.js} +0 -0
- /package/dist/chunks/{repository-twg0f83k.js → file-twg0f83k.js} +0 -0
- /package/dist/chunks/{repository-w803qqfp.js → file-w803qqfp.js} +0 -0
- /package/dist/chunks/{repository-wer8tq1h.js → file-wer8tq1h.js} +0 -0
- /package/dist/chunks/{repository-wtztk69x.js → file-wtztk69x.js} +0 -0
- /package/dist/chunks/{repository-x0ckcb58.js → file-x0ckcb58.js} +0 -0
- /package/dist/chunks/{repository-x61499pn.js → file-x61499pn.js} +0 -0
- /package/dist/chunks/{repository-y44na4kk.js → file-y44na4kk.js} +0 -0
- /package/dist/chunks/{repository-y8cydn3q.js → file-y8cydn3q.js} +0 -0
- /package/dist/chunks/{repository-y8f7s663.js → file-y8f7s663.js} +0 -0
- /package/dist/chunks/{repository-ygaqb7jw.js → file-ygaqb7jw.js} +0 -0
- /package/dist/chunks/{repository-ym463w8f.js → file-ym463w8f.js} +0 -0
- /package/dist/chunks/{repository-z9919s4g.js → file-z9919s4g.js} +0 -0
|
@@ -1,49 +1,49 @@
|
|
|
1
1
|
import {
|
|
2
2
|
AbsolutePath2
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./file-922hggd3.js";
|
|
4
4
|
import {
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
} from "./
|
|
5
|
+
Service79,
|
|
6
|
+
node83
|
|
7
|
+
} from "./file-yz3h3ntp.js";
|
|
8
8
|
import {
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
} from "./
|
|
9
|
+
Service78,
|
|
10
|
+
node82
|
|
11
|
+
} from "./file-vsctkjm2.js";
|
|
12
12
|
import {
|
|
13
13
|
Service77,
|
|
14
|
-
|
|
15
|
-
} from "./
|
|
14
|
+
node81
|
|
15
|
+
} from "./file-y2vrj84a.js";
|
|
16
16
|
import {
|
|
17
|
-
|
|
17
|
+
ID18,
|
|
18
18
|
Current3,
|
|
19
|
-
|
|
19
|
+
Info33,
|
|
20
20
|
UpdateInput4,
|
|
21
|
-
|
|
21
|
+
Event20,
|
|
22
22
|
Vcs3
|
|
23
|
-
} from "./
|
|
23
|
+
} from "./file-81swgkk7.js";
|
|
24
24
|
import {
|
|
25
25
|
ProjectTable2,
|
|
26
26
|
upsertProject2
|
|
27
|
-
} from "./
|
|
27
|
+
} from "./file-8p4f9s12.js";
|
|
28
28
|
import {
|
|
29
29
|
WorktreeTable2
|
|
30
|
-
} from "./
|
|
30
|
+
} from "./file-cfpkc3c9.js";
|
|
31
31
|
import {
|
|
32
32
|
__export
|
|
33
|
-
} from "./
|
|
33
|
+
} from "./file-9rqn6x4v.js";
|
|
34
34
|
|
|
35
35
|
// src/project.ts
|
|
36
36
|
var exports_project = {};
|
|
37
37
|
__export(exports_project, {
|
|
38
38
|
Current: () => Current2,
|
|
39
|
-
ID: () =>
|
|
40
|
-
Info: () =>
|
|
39
|
+
ID: () => ID17,
|
|
40
|
+
Info: () => Info32,
|
|
41
41
|
NotFoundError: () => NotFoundError10,
|
|
42
42
|
Project: () => exports_project,
|
|
43
|
-
Service: () =>
|
|
43
|
+
Service: () => Service76,
|
|
44
44
|
UpdateInput: () => UpdateInput3,
|
|
45
45
|
Vcs: () => Vcs2,
|
|
46
|
-
node: () =>
|
|
46
|
+
node: () => node80,
|
|
47
47
|
root: () => root2
|
|
48
48
|
});
|
|
49
49
|
import { Context, Effect, Layer, Schema } from "effect";
|
|
@@ -55,14 +55,14 @@ import { FSUtil } from "@opencode/util/fs-util";
|
|
|
55
55
|
import { AppProcess } from "@opencode/util/process";
|
|
56
56
|
import { makeGlobalNode } from "@opencode/util/effect/app-node";
|
|
57
57
|
import { Hash } from "@opencode/util/hash";
|
|
58
|
-
var
|
|
58
|
+
var ID17 = ID18;
|
|
59
59
|
var Vcs2 = Vcs3;
|
|
60
60
|
var Current2 = Current3;
|
|
61
|
-
var
|
|
61
|
+
var Info32 = Info33;
|
|
62
62
|
var UpdateInput3 = UpdateInput4;
|
|
63
63
|
|
|
64
64
|
class NotFoundError10 extends Schema.TaggedError()("Project.NotFoundError", {
|
|
65
|
-
projectID:
|
|
65
|
+
projectID: ID17
|
|
66
66
|
}) {
|
|
67
67
|
}
|
|
68
68
|
var root2 = Effect.fn("Project.root")(function* (fs, input, markers = [".git", ".hg"]) {
|
|
@@ -71,7 +71,7 @@ var root2 = Effect.fn("Project.root")(function* (fs, input, markers = [".git", "
|
|
|
71
71
|
}));
|
|
72
72
|
});
|
|
73
73
|
|
|
74
|
-
class
|
|
74
|
+
class Service76 extends Context.Service()("@opencode/Project") {
|
|
75
75
|
}
|
|
76
76
|
function fromRow(row) {
|
|
77
77
|
const icon = row.icon_url || row.icon_url_override || row.icon_color ? {
|
|
@@ -94,12 +94,12 @@ function fromRow(row) {
|
|
|
94
94
|
sandboxes: row.sandboxes
|
|
95
95
|
};
|
|
96
96
|
}
|
|
97
|
-
var layer = Layer.effect(
|
|
97
|
+
var layer = Layer.effect(Service76, Effect.gen(function* () {
|
|
98
98
|
const fs = yield* FSUtil.Service;
|
|
99
99
|
const git = yield* Service77;
|
|
100
100
|
const proc = yield* AppProcess.Service;
|
|
101
|
-
const bus = yield*
|
|
102
|
-
const db = (yield*
|
|
101
|
+
const bus = yield* Service78;
|
|
102
|
+
const db = (yield* Service79).db;
|
|
103
103
|
const announcing = new Set;
|
|
104
104
|
const persist = Effect.fnUntraced(function* (project) {
|
|
105
105
|
const previous = yield* db.select({ canonical: ProjectTable2.worktree }).from(ProjectTable2).where(eq(ProjectTable2.id, project.id)).get().pipe(Effect.orDie);
|
|
@@ -107,7 +107,7 @@ var layer = Layer.effect(Service70, Effect.gen(function* () {
|
|
|
107
107
|
if (previous && previous.canonical !== project.canonical && !(yield* fs.exists(previous.canonical).pipe(Effect.orElseSucceed(() => true)))) {
|
|
108
108
|
const row = yield* db.update(ProjectTable2).set({ worktree: project.canonical }).where(eq(ProjectTable2.id, project.id)).returning().get().pipe(Effect.orDie);
|
|
109
109
|
if (row)
|
|
110
|
-
yield* bus.publish(
|
|
110
|
+
yield* bus.publish(Event20.Updated, fromRow(row));
|
|
111
111
|
}
|
|
112
112
|
if (!project.vcs)
|
|
113
113
|
return project;
|
|
@@ -144,7 +144,7 @@ var layer = Layer.effect(Service70, Effect.gen(function* () {
|
|
|
144
144
|
yield* bus.publish(Worktree.Event.Resolved, {
|
|
145
145
|
projectID: item.projectID,
|
|
146
146
|
directory: item.directory,
|
|
147
|
-
previous: project.previous ??
|
|
147
|
+
previous: project.previous ?? ID17.global,
|
|
148
148
|
...adopted.length ? { adopted: adopted.map((candidate) => candidate.id) } : {}
|
|
149
149
|
}, {
|
|
150
150
|
commit: () => db.insert(WorktreeTable2).values({ project_id: item.projectID, directory: item.directory, strategy: item.strategy }).onConflictDoNothing().run().pipe(Effect.orDie, Effect.asVoid)
|
|
@@ -169,11 +169,11 @@ var layer = Layer.effect(Service70, Effect.gen(function* () {
|
|
|
169
169
|
if (!row)
|
|
170
170
|
return yield* new NotFoundError10({ projectID: input.projectID });
|
|
171
171
|
const project = fromRow(row);
|
|
172
|
-
yield* bus.publish(
|
|
172
|
+
yield* bus.publish(Event20.Updated, project);
|
|
173
173
|
return project;
|
|
174
174
|
});
|
|
175
175
|
const cached = Effect.fnUntraced(function* (dir) {
|
|
176
|
-
return yield* fs.readFileString(path.join(dir, "opencode")).pipe(Effect.map((value) => value.trim()), Effect.map((value) => value ?
|
|
176
|
+
return yield* fs.readFileString(path.join(dir, "opencode")).pipe(Effect.map((value) => value.trim()), Effect.map((value) => value ? ID17.make(value) : undefined), Effect.orElseSucceed(() => {
|
|
177
177
|
return;
|
|
178
178
|
}));
|
|
179
179
|
});
|
|
@@ -184,7 +184,7 @@ var layer = Layer.effect(Service70, Effect.gen(function* () {
|
|
|
184
184
|
const normalized = url(origin);
|
|
185
185
|
if (!normalized)
|
|
186
186
|
return;
|
|
187
|
-
return
|
|
187
|
+
return ID17.make(Hash.fast(`git-remote:${normalized}`));
|
|
188
188
|
});
|
|
189
189
|
function url(input) {
|
|
190
190
|
const value = input.trim();
|
|
@@ -209,7 +209,7 @@ var layer = Layer.effect(Service70, Effect.gen(function* () {
|
|
|
209
209
|
}
|
|
210
210
|
const rootCommit = Effect.fnUntraced(function* (repo) {
|
|
211
211
|
const root = (yield* git.history.rootCommits(repo))[0];
|
|
212
|
-
return root ?
|
|
212
|
+
return root ? ID17.make(root) : undefined;
|
|
213
213
|
});
|
|
214
214
|
const hgRoot = Effect.fnUntraced(function* (worktree) {
|
|
215
215
|
const result = yield* proc.run(ChildProcess.make("hg", ["log", "-r", "roots(all())", "-T", `{node}
|
|
@@ -225,7 +225,7 @@ var layer = Layer.effect(Service70, Effect.gen(function* () {
|
|
|
225
225
|
return;
|
|
226
226
|
const node = result.stdout.toString("utf8").split(`
|
|
227
227
|
`).map((item) => item.trim()).filter(Boolean).toSorted()[0];
|
|
228
|
-
return node ?
|
|
228
|
+
return node ? ID17.make(node) : undefined;
|
|
229
229
|
});
|
|
230
230
|
const hgDiscover = Effect.fnUntraced(function* (dotHg) {
|
|
231
231
|
const worktree = AbsolutePath2.make(path.dirname(dotHg));
|
|
@@ -234,7 +234,7 @@ var layer = Layer.effect(Service70, Effect.gen(function* () {
|
|
|
234
234
|
const id = previous ?? (yield* hgRoot(worktree));
|
|
235
235
|
return {
|
|
236
236
|
previous,
|
|
237
|
-
id: id ??
|
|
237
|
+
id: id ?? ID17.global,
|
|
238
238
|
directory: worktree,
|
|
239
239
|
vcs: { type: "hg", store }
|
|
240
240
|
};
|
|
@@ -251,7 +251,7 @@ var layer = Layer.effect(Service70, Effect.gen(function* () {
|
|
|
251
251
|
const canonical = repo.gitDirectory === repo.commonDirectory ? repo.worktree : yield* git.worktree.list(repo).pipe(Effect.map((items) => items.find((item) => item.kind === "main")?.directory ?? repo.worktree), Effect.orElseSucceed(() => repo.worktree));
|
|
252
252
|
return yield* persist({
|
|
253
253
|
previous,
|
|
254
|
-
id: id ??
|
|
254
|
+
id: id ?? ID17.global,
|
|
255
255
|
directory: repo.worktree,
|
|
256
256
|
canonical,
|
|
257
257
|
vcs: { type: "git", store: repo.commonDirectory }
|
|
@@ -265,18 +265,18 @@ var layer = Layer.effect(Service70, Effect.gen(function* () {
|
|
|
265
265
|
});
|
|
266
266
|
}
|
|
267
267
|
return yield* persist({
|
|
268
|
-
id:
|
|
268
|
+
id: ID17.make(Hash.fast(`directory:${directory}`)),
|
|
269
269
|
directory,
|
|
270
270
|
canonical: directory,
|
|
271
271
|
vcs: undefined
|
|
272
272
|
});
|
|
273
273
|
});
|
|
274
|
-
return
|
|
274
|
+
return Service76.of({ list, update, resolve });
|
|
275
275
|
}));
|
|
276
|
-
var
|
|
277
|
-
service:
|
|
276
|
+
var node80 = makeGlobalNode({
|
|
277
|
+
service: Service76,
|
|
278
278
|
layer,
|
|
279
|
-
deps: [
|
|
279
|
+
deps: [node82, node83, FSUtil.node, node81, AppProcess.node]
|
|
280
280
|
});
|
|
281
281
|
|
|
282
|
-
export {
|
|
282
|
+
export { ID17, Vcs2, Current2, Info32, UpdateInput3, NotFoundError10, root2, Service76, node80, exports_project };
|
|
@@ -1,15 +1,15 @@
|
|
|
1
1
|
import {
|
|
2
2
|
PositiveInt2
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./file-922hggd3.js";
|
|
4
4
|
import {
|
|
5
5
|
__export
|
|
6
|
-
} from "./
|
|
6
|
+
} from "./file-9rqn6x4v.js";
|
|
7
7
|
|
|
8
8
|
// src/v1/config/provider.ts
|
|
9
9
|
var exports_provider2 = {};
|
|
10
10
|
__export(exports_provider2, {
|
|
11
11
|
ConfigProviderV1: () => exports_provider2,
|
|
12
|
-
Info: () =>
|
|
12
|
+
Info: () => Info22,
|
|
13
13
|
Model: () => Model2,
|
|
14
14
|
ModelStatus: () => ModelStatus2
|
|
15
15
|
});
|
|
@@ -61,7 +61,7 @@ var Model2 = Schema.Struct({
|
|
|
61
61
|
disabled: Schema.optional(Schema.Boolean).annotate({ description: "Disable this variant for the model" })
|
|
62
62
|
}), [Schema.Record(Schema.String, Schema.Any)])).annotate({ description: "Variant-specific configuration" }))
|
|
63
63
|
});
|
|
64
|
-
var
|
|
64
|
+
var Info22 = Schema.Struct({
|
|
65
65
|
api: Schema.optional(Schema.String),
|
|
66
66
|
name: Schema.optional(Schema.String),
|
|
67
67
|
env: Schema.optional(Schema.mutable(Schema.Array(Schema.String))),
|
|
@@ -95,4 +95,4 @@ var Info19 = Schema.Struct({
|
|
|
95
95
|
models: Schema.optional(Schema.Record(Schema.String, Model2))
|
|
96
96
|
}).annotate({ identifier: "ProviderConfig" });
|
|
97
97
|
|
|
98
|
-
export { ModelStatus2, Model2,
|
|
98
|
+
export { ModelStatus2, Model2, Info22, exports_provider2 };
|
|
@@ -1,56 +1,56 @@
|
|
|
1
1
|
import {
|
|
2
|
+
Service78,
|
|
3
|
+
node82
|
|
4
|
+
} from "./file-vsctkjm2.js";
|
|
5
|
+
import {
|
|
6
|
+
Event18,
|
|
2
7
|
Service74,
|
|
3
8
|
node78
|
|
4
|
-
} from "./
|
|
5
|
-
import {
|
|
6
|
-
Event15,
|
|
7
|
-
Service58,
|
|
8
|
-
node62
|
|
9
|
-
} from "./repository-m5r142j1.js";
|
|
9
|
+
} from "./file-1j7qs22q.js";
|
|
10
10
|
import {
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
} from "./
|
|
11
|
+
Service66,
|
|
12
|
+
node69
|
|
13
|
+
} from "./file-fzsrmebp.js";
|
|
14
14
|
import {
|
|
15
15
|
AbsolutePath2
|
|
16
|
-
} from "./
|
|
16
|
+
} from "./file-922hggd3.js";
|
|
17
17
|
import {
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
} from "./
|
|
18
|
+
Service72,
|
|
19
|
+
node76
|
|
20
|
+
} from "./file-1r0yq1wn.js";
|
|
21
21
|
import {
|
|
22
22
|
substitute2
|
|
23
|
-
} from "./
|
|
23
|
+
} from "./file-s4enseaf.js";
|
|
24
24
|
import {
|
|
25
25
|
normalize2
|
|
26
|
-
} from "./
|
|
26
|
+
} from "./file-nd9hg1xj.js";
|
|
27
27
|
import {
|
|
28
|
-
|
|
28
|
+
names4,
|
|
29
29
|
discover3
|
|
30
|
-
} from "./
|
|
30
|
+
} from "./file-1ac4bme3.js";
|
|
31
31
|
import {
|
|
32
32
|
plan2
|
|
33
|
-
} from "./
|
|
33
|
+
} from "./file-j56e64zr.js";
|
|
34
34
|
import {
|
|
35
|
-
|
|
36
|
-
|
|
37
|
-
|
|
38
|
-
} from "./
|
|
35
|
+
Service67,
|
|
36
|
+
Event17,
|
|
37
|
+
node70
|
|
38
|
+
} from "./file-sp0cj90t.js";
|
|
39
39
|
import {
|
|
40
40
|
__export
|
|
41
|
-
} from "./
|
|
41
|
+
} from "./file-9rqn6x4v.js";
|
|
42
42
|
|
|
43
43
|
// src/config.ts
|
|
44
44
|
var exports_config = {};
|
|
45
45
|
__export(exports_config, {
|
|
46
46
|
Config: () => exports_config,
|
|
47
47
|
Options: () => Options7,
|
|
48
|
-
Service: () =>
|
|
48
|
+
Service: () => Service65,
|
|
49
49
|
Test: () => Test2,
|
|
50
|
-
configured: () =>
|
|
50
|
+
configured: () => configured7,
|
|
51
51
|
latest: () => latest2,
|
|
52
|
-
layer: () =>
|
|
53
|
-
node: () =>
|
|
52
|
+
layer: () => layer22,
|
|
53
|
+
node: () => node68,
|
|
54
54
|
testLayer: () => testLayer2
|
|
55
55
|
});
|
|
56
56
|
import { makeLocationNode } from "@opencode/util/effect/app-node";
|
|
@@ -78,7 +78,7 @@ var Options7 = Schema.Struct({
|
|
|
78
78
|
content: Schema.optional(Schema.String)
|
|
79
79
|
});
|
|
80
80
|
|
|
81
|
-
class
|
|
81
|
+
class Service65 extends Context.Service()("@opencode/Config") {
|
|
82
82
|
}
|
|
83
83
|
|
|
84
84
|
class Test2 extends Context.Service()("@opencode/Config/Test") {
|
|
@@ -92,15 +92,15 @@ var testLayer2 = (initial = []) => Layer.effectContext(Effect.gen(function* () {
|
|
|
92
92
|
setEntries: (next) => Ref.set(entries, next),
|
|
93
93
|
emitChange: (update) => PubSub.publish(updates, update).pipe(Effect.asVoid)
|
|
94
94
|
});
|
|
95
|
-
return Context.empty().pipe(Context.add(
|
|
95
|
+
return Context.empty().pipe(Context.add(Service65, service), Context.add(Test2, service));
|
|
96
96
|
}));
|
|
97
|
-
var
|
|
97
|
+
var layer22 = (options) => Layer.effect(Service65, Effect.gen(function* () {
|
|
98
98
|
const fs = yield* FSUtil.Service;
|
|
99
|
-
const location = yield*
|
|
100
|
-
const watcher = yield*
|
|
101
|
-
const bus = yield*
|
|
102
|
-
const credentials = yield*
|
|
103
|
-
const wellknown = yield*
|
|
99
|
+
const location = yield* Service72;
|
|
100
|
+
const watcher = yield* Service66;
|
|
101
|
+
const bus = yield* Service78;
|
|
102
|
+
const credentials = yield* Service74;
|
|
103
|
+
const wellknown = yield* Service67;
|
|
104
104
|
const reloadLock = Semaphore.makeUnsafe(1);
|
|
105
105
|
const decodeOptions = { errors: "all", onExcessProperty: "ignore", propertyOrder: "original" };
|
|
106
106
|
const decodeInfo = Schema.decodeUnknownOption(Info, decodeOptions);
|
|
@@ -168,7 +168,7 @@ var layer23 = (options) => Layer.effect(Service55, Effect.gen(function* () {
|
|
|
168
168
|
});
|
|
169
169
|
const loadDirectory = Effect.fnUntraced(function* (directory) {
|
|
170
170
|
return [
|
|
171
|
-
...yield* Effect.forEach(
|
|
171
|
+
...yield* Effect.forEach(names4, (file) => loadFile(path.join(directory, file))).pipe(Effect.map((configs) => configs.filter((config) => config !== undefined))),
|
|
172
172
|
new Directory({ type: "directory", path: directory })
|
|
173
173
|
];
|
|
174
174
|
});
|
|
@@ -223,8 +223,8 @@ var layer23 = (options) => Layer.effect(Service55, Effect.gen(function* () {
|
|
|
223
223
|
}, (effect) => reloadLock.withPermit(effect));
|
|
224
224
|
const pendingReloads = yield* PubSub.subscribe(reloads);
|
|
225
225
|
yield* Stream.fromSubscription(pendingReloads).pipe(Stream.debounce("100 millis"), Stream.runForEach(() => reload().pipe(Effect.catchCause((cause) => Effect.logError("failed to reload config", { cause })))), Effect.forkScoped({ startImmediately: true }));
|
|
226
|
-
yield* bus.subscribe(
|
|
227
|
-
yield* bus.subscribe(
|
|
226
|
+
yield* bus.subscribe(Event18.Switched).pipe(Stream.filterEffect((event) => wellknown.entries().pipe(Effect.map((entries) => entries.some((entry) => entry.integrationID === event.data.integrationID)), Effect.orElseSucceed(() => false))), Stream.runForEach(() => reload().pipe(Effect.catchCause((cause) => Effect.logError("failed to reload wellknown config", { cause })))), Effect.forkScoped({ startImmediately: true }));
|
|
227
|
+
yield* bus.subscribe(Event17.Updated).pipe(Stream.runForEach(() => reload().pipe(Effect.catchCause((cause) => Effect.logError("failed to reload wellknown sources", { cause })))), Effect.forkScoped({ startImmediately: true }));
|
|
228
228
|
yield* Effect.sleep("10 minutes").pipe(Effect.andThen(Effect.suspend(() => {
|
|
229
229
|
if (!wellknown.snapshot().length)
|
|
230
230
|
return Effect.void;
|
|
@@ -235,20 +235,20 @@ var layer23 = (options) => Layer.effect(Service55, Effect.gen(function* () {
|
|
|
235
235
|
}).pipe(Effect.catchCause((cause) => Effect.logWarning("failed to refresh wellknown config", { cause })));
|
|
236
236
|
})), Effect.forever, Effect.forkScoped({ startImmediately: true }));
|
|
237
237
|
yield* reloadLock.withPermit(reconcile(initial));
|
|
238
|
-
return
|
|
238
|
+
return Service65.of({
|
|
239
239
|
entries: Effect.fnUntraced(function* () {
|
|
240
240
|
return configs;
|
|
241
241
|
}),
|
|
242
242
|
changes: () => Stream.fromPubSub(updates)
|
|
243
243
|
});
|
|
244
244
|
}));
|
|
245
|
-
function
|
|
245
|
+
function configured7(options) {
|
|
246
246
|
return makeLocationNode({
|
|
247
|
-
service:
|
|
248
|
-
layer:
|
|
249
|
-
deps: [
|
|
247
|
+
service: Service65,
|
|
248
|
+
layer: layer22(options),
|
|
249
|
+
deps: [node69, node82, FSUtil.node, Global.node, node76, node78, node70]
|
|
250
250
|
});
|
|
251
251
|
}
|
|
252
|
-
var
|
|
252
|
+
var node68 = configured7();
|
|
253
253
|
|
|
254
|
-
export { latest2, Options7,
|
|
254
|
+
export { latest2, Options7, Service65, Test2, testLayer2, layer22, configured7, node68, exports_config };
|
|
@@ -1,27 +1,27 @@
|
|
|
1
1
|
import {
|
|
2
|
-
|
|
3
|
-
} from "./
|
|
2
|
+
Service78
|
|
3
|
+
} from "./file-vsctkjm2.js";
|
|
4
4
|
import {
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
} from "./
|
|
5
|
+
Service67,
|
|
6
|
+
Event17
|
|
7
|
+
} from "./file-sp0cj90t.js";
|
|
8
8
|
import {
|
|
9
9
|
__export
|
|
10
|
-
} from "./
|
|
10
|
+
} from "./file-9rqn6x4v.js";
|
|
11
11
|
|
|
12
12
|
// src/wellknown/plugin.ts
|
|
13
13
|
var exports_plugin = {};
|
|
14
14
|
__export(exports_plugin, {
|
|
15
|
-
Plugin: () =>
|
|
15
|
+
Plugin: () => Plugin19,
|
|
16
16
|
WellKnownPlugin: () => exports_plugin
|
|
17
17
|
});
|
|
18
18
|
import { define } from "@opencode/plugin/effect/plugin";
|
|
19
19
|
import { Effect, Stream } from "effect";
|
|
20
|
-
var
|
|
20
|
+
var Plugin19 = define({
|
|
21
21
|
id: "opencode.wellknown",
|
|
22
22
|
effect: Effect.fn(function* (ctx) {
|
|
23
|
-
const bus = yield*
|
|
24
|
-
const wellknown = yield*
|
|
23
|
+
const bus = yield* Service78;
|
|
24
|
+
const wellknown = yield* Service67;
|
|
25
25
|
yield* wellknown.entries().pipe(Effect.orDie);
|
|
26
26
|
yield* ctx.integration.transform((editor) => {
|
|
27
27
|
wellknown.snapshot().forEach((entry) => {
|
|
@@ -41,8 +41,8 @@ var Plugin44 = define({
|
|
|
41
41
|
});
|
|
42
42
|
});
|
|
43
43
|
});
|
|
44
|
-
yield* bus.subscribe(
|
|
44
|
+
yield* bus.subscribe(Event17.Updated).pipe(Stream.runForEach(() => ctx.integration.reload()), Effect.forkScoped({ startImmediately: true }));
|
|
45
45
|
})
|
|
46
46
|
});
|
|
47
47
|
|
|
48
|
-
export {
|
|
48
|
+
export { Plugin19, exports_plugin };
|
|
@@ -1,62 +1,62 @@
|
|
|
1
1
|
import {
|
|
2
2
|
NonNegativeInt2
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./file-922hggd3.js";
|
|
4
4
|
import {
|
|
5
5
|
latest2,
|
|
6
|
-
|
|
7
|
-
} from "./
|
|
6
|
+
Service65
|
|
7
|
+
} from "./file-pfjv880m.js";
|
|
8
8
|
import {
|
|
9
9
|
typeFollowing2
|
|
10
|
-
} from "./
|
|
10
|
+
} from "./file-2a5m3afh.js";
|
|
11
11
|
import {
|
|
12
|
-
|
|
13
|
-
} from "./
|
|
12
|
+
Service69
|
|
13
|
+
} from "./file-jtq2znwy.js";
|
|
14
14
|
import {
|
|
15
|
-
|
|
16
|
-
} from "./
|
|
15
|
+
Service51
|
|
16
|
+
} from "./file-da2mbxce.js";
|
|
17
17
|
import {
|
|
18
|
-
|
|
19
|
-
} from "./
|
|
18
|
+
Service55
|
|
19
|
+
} from "./file-epq9ds0r.js";
|
|
20
20
|
import {
|
|
21
|
-
|
|
21
|
+
Service41,
|
|
22
22
|
resolvePath2
|
|
23
|
-
} from "./
|
|
23
|
+
} from "./file-j9n5fxav.js";
|
|
24
24
|
import {
|
|
25
25
|
output2,
|
|
26
26
|
notice2,
|
|
27
27
|
metadata2,
|
|
28
28
|
notification2
|
|
29
|
-
} from "./
|
|
29
|
+
} from "./file-fxbjtjnd.js";
|
|
30
30
|
import {
|
|
31
|
-
|
|
31
|
+
Service68,
|
|
32
32
|
name15
|
|
33
|
-
} from "./
|
|
33
|
+
} from "./file-3yknbgq7.js";
|
|
34
34
|
import {
|
|
35
|
-
|
|
36
|
-
|
|
37
|
-
} from "./
|
|
35
|
+
NotFoundError8,
|
|
36
|
+
Service63
|
|
37
|
+
} from "./file-km5917gx.js";
|
|
38
38
|
import {
|
|
39
|
-
|
|
40
|
-
} from "./
|
|
39
|
+
Service17
|
|
40
|
+
} from "./file-x060fdep.js";
|
|
41
41
|
import {
|
|
42
42
|
scan2
|
|
43
|
-
} from "./
|
|
43
|
+
} from "./file-verq85zk.js";
|
|
44
44
|
import {
|
|
45
45
|
__export
|
|
46
|
-
} from "./
|
|
46
|
+
} from "./file-9rqn6x4v.js";
|
|
47
47
|
|
|
48
48
|
// src/tool/plugin/shell.ts
|
|
49
49
|
var exports_shell2 = {};
|
|
50
50
|
__export(exports_shell2, {
|
|
51
51
|
DEFAULT_TIMEOUT_MS: () => DEFAULT_TIMEOUT_MS2,
|
|
52
|
-
Input: () =>
|
|
53
|
-
Plugin: () =>
|
|
52
|
+
Input: () => Input12,
|
|
53
|
+
Plugin: () => Plugin31,
|
|
54
54
|
ShellTool: () => exports_shell2,
|
|
55
|
-
name: () =>
|
|
55
|
+
name: () => name12
|
|
56
56
|
});
|
|
57
57
|
import { ToolFailure } from "@opencode/ai";
|
|
58
58
|
import { Deferred, Effect, Schema, Scope } from "effect";
|
|
59
|
-
var
|
|
59
|
+
var name12 = "shell";
|
|
60
60
|
var DEFAULT_TIMEOUT_MS2 = 2 * 60 * 1000;
|
|
61
61
|
var BACKGROUND_INSTRUCTION = "You will be notified automatically when the command finishes. The notification will include the command's output. Unless the user explicitly asks otherwise, DO NOT poll for completion, even if you need the final result to continue. Repeatedly sleeping and reading or searching the output file is polling, not useful work. You may read the current output if it lets you do useful work now, but do not repeatedly check it while waiting for the command to finish. Keep working on anything that does not depend on the result. If you have nothing else to do, end your response; you will be resumed automatically when the command finishes.";
|
|
62
62
|
var OS = process.platform === "darwin" ? "macOS" : process.platform === "win32" ? "Windows" : process.platform === "linux" ? "Linux" : process.platform;
|
|
@@ -70,7 +70,7 @@ var description = (shell) => [
|
|
|
70
70
|
"Commands accept an optional timeout, background commands have no timeout by default.",
|
|
71
71
|
"Background commands return immediately, and you will be notified when they complete."
|
|
72
72
|
].join(" ");
|
|
73
|
-
var
|
|
73
|
+
var Input12 = Schema.Struct({
|
|
74
74
|
command: Schema.String.annotate({ description: "Shell command string to execute" }),
|
|
75
75
|
workdir: Schema.optionalKey(Schema.String).annotate({
|
|
76
76
|
description: "Working directory to execute the command in. Defaults to the current working directory. When possible, avoid changing directories in the command and set the working directory here instead."
|
|
@@ -115,19 +115,19 @@ Output is streaming to: ${file}`,
|
|
|
115
115
|
truncated: false,
|
|
116
116
|
status: "running"
|
|
117
117
|
});
|
|
118
|
-
var
|
|
118
|
+
var Plugin31 = {
|
|
119
119
|
id: "opencode.tool.shell",
|
|
120
120
|
effect: Effect.fn("ShellTool.Plugin")(function* (ctx) {
|
|
121
|
-
const sessions = yield*
|
|
122
|
-
const jobs = yield*
|
|
121
|
+
const sessions = yield* Service17;
|
|
122
|
+
const jobs = yield* Service51;
|
|
123
123
|
const scope = yield* Scope.Scope;
|
|
124
|
-
const environment = yield*
|
|
125
|
-
const access = yield*
|
|
126
|
-
const shell = yield*
|
|
127
|
-
const shellSelect = yield*
|
|
124
|
+
const environment = yield* Service69;
|
|
125
|
+
const access = yield* Service41;
|
|
126
|
+
const shell = yield* Service63;
|
|
127
|
+
const shellSelect = yield* Service68;
|
|
128
128
|
const compatibleShell = shellSelect.resolve({ priority: "compat" });
|
|
129
|
-
const permission = yield*
|
|
130
|
-
const config = yield*
|
|
129
|
+
const permission = yield* Service55;
|
|
130
|
+
const config = yield* Service65;
|
|
131
131
|
const prepare = Effect.fn("ShellTool.prepare")(function* (invocation, context) {
|
|
132
132
|
const source = {
|
|
133
133
|
type: "tool",
|
|
@@ -146,7 +146,7 @@ var Plugin33 = {
|
|
|
146
146
|
yield* access.authorizeExternal([target, ...directories], context);
|
|
147
147
|
if (parsed.commands.length > 0)
|
|
148
148
|
yield* permission.assert({
|
|
149
|
-
action:
|
|
149
|
+
action: name12,
|
|
150
150
|
resources: parsed.commands.map((command) => command.resource),
|
|
151
151
|
save: parsed.commands.map((command) => command.save),
|
|
152
152
|
sessionID: context.sessionID,
|
|
@@ -183,10 +183,10 @@ var Plugin33 = {
|
|
|
183
183
|
yield* jobs.completeBackground(info.notificationID);
|
|
184
184
|
}, Effect.forkIn(scope, { startImmediately: true }));
|
|
185
185
|
yield* ctx.tool.transform((editor) => editor.add({
|
|
186
|
-
name:
|
|
186
|
+
name: name12,
|
|
187
187
|
options: { codemode: false },
|
|
188
188
|
description: description(),
|
|
189
|
-
input:
|
|
189
|
+
input: Input12,
|
|
190
190
|
output: Output,
|
|
191
191
|
execute: (input, context) => Effect.gen(function* () {
|
|
192
192
|
const timeout = input.background === true ? input.timeout ?? 0 : input.timeout ?? DEFAULT_TIMEOUT_MS2;
|
|
@@ -205,7 +205,7 @@ var Plugin33 = {
|
|
|
205
205
|
const run = Effect.gen(function* () {
|
|
206
206
|
const result = yield* shell.result(info);
|
|
207
207
|
if (!result.capture)
|
|
208
|
-
return yield* new
|
|
208
|
+
return yield* new NotFoundError8({ id: info.id });
|
|
209
209
|
const output = output2(result);
|
|
210
210
|
return {
|
|
211
211
|
...output,
|
|
@@ -219,7 +219,7 @@ Command exceeded timeout of ${finalTimeout} ms. Retry with a larger timeout if t
|
|
|
219
219
|
`)), Effect.onInterrupt(() => shell.remove(info.id).pipe(Effect.ignore)));
|
|
220
220
|
const job = yield* jobs.start({
|
|
221
221
|
id: info.id,
|
|
222
|
-
type:
|
|
222
|
+
type: name12,
|
|
223
223
|
title: info.command,
|
|
224
224
|
metadata: { sessionID: context.sessionID, shellID: info.id },
|
|
225
225
|
recovery: {
|
|
@@ -249,7 +249,7 @@ Command exceeded timeout of ${finalTimeout} ms. Retry with a larger timeout if t
|
|
|
249
249
|
}).pipe(Effect.map(toolResult), Effect.mapError((error) => new ToolFailure({ message: `Unable to execute command: ${input.command}`, error })))
|
|
250
250
|
})).pipe(Effect.orDie);
|
|
251
251
|
yield* ctx.session.hook("context", (event) => Effect.gen(function* () {
|
|
252
|
-
const tool = event.tools[
|
|
252
|
+
const tool = event.tools[name12];
|
|
253
253
|
if (!tool)
|
|
254
254
|
return;
|
|
255
255
|
tool.description = description(name15(yield* compatibleShell));
|
|
@@ -257,4 +257,4 @@ Command exceeded timeout of ${finalTimeout} ms. Retry with a larger timeout if t
|
|
|
257
257
|
})
|
|
258
258
|
};
|
|
259
259
|
|
|
260
|
-
export {
|
|
260
|
+
export { name12, DEFAULT_TIMEOUT_MS2, Input12, Plugin31, exports_shell2 };
|