@opencode/core 0.0.0-dev-19783 → 0.0.0-dev-19786
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 +88 -88
- package/dist/aisdk.js +93 -93
- package/dist/app.js +7 -7
- package/dist/bus.js +68 -68
- package/dist/chunks/{instance-0gdmqesm.js → worktree-02nrjc1r.js} +8 -8
- package/dist/chunks/{instance-wvqqa2da.js → worktree-04enqndv.js} +23 -23
- package/dist/chunks/{instance-vgez7cq6.js → worktree-0c8jn50h.js} +19 -19
- package/dist/chunks/{instance-aamtrqep.js → worktree-0ke265bw.js} +9 -9
- package/dist/chunks/worktree-0mesazry.js +4 -0
- package/dist/chunks/{instance-0paq2nw3.js → worktree-0paq2nw3.js} +1 -1
- package/dist/chunks/{instance-0q0f95c6.js → worktree-0q0f95c6.js} +1 -1
- package/dist/chunks/{instance-j92an4n8.js → worktree-0y84g9dp.js} +15 -15
- package/dist/chunks/{instance-axq2qqja.js → worktree-11qxjnwn.js} +26 -26
- package/dist/chunks/{instance-y67gsgy6.js → worktree-18e56dsp.js} +4 -4
- package/dist/chunks/{instance-1dazxqgg.js → worktree-1dazxqgg.js} +2 -2
- package/dist/chunks/{instance-p953g3ar.js → worktree-1x4qbafh.js} +5 -5
- package/dist/chunks/{instance-ayxtq27e.js → worktree-1xsagsv9.js} +7 -7
- package/dist/chunks/{instance-pe1v4sfp.js → worktree-1xyq38ba.js} +15 -15
- package/dist/chunks/{instance-657mtx6e.js → worktree-1ze21cng.js} +8 -8
- package/dist/chunks/{instance-21r38tys.js → worktree-21r38tys.js} +1 -1
- package/dist/chunks/{instance-b07e27g0.js → worktree-28gpn7ce.js} +4 -4
- package/dist/chunks/{instance-63t0gypr.js → worktree-2a2zhc3v.js} +6 -6
- package/dist/chunks/{instance-2a5m3afh.js → worktree-2a5m3afh.js} +1 -1
- package/dist/chunks/{instance-03c0dk09.js → worktree-2eqxfp0f.js} +3 -3
- package/dist/chunks/{instance-2angj6gv.js → worktree-2vkv0cnq.js} +12 -12
- package/dist/chunks/{instance-s6s1xcqj.js → worktree-2vt4g46n.js} +21 -21
- package/dist/chunks/{instance-yax4tzp2.js → worktree-2xc5n587.js} +44 -44
- package/dist/chunks/{instance-qq8x5mwt.js → worktree-2y34zzjz.js} +6 -6
- package/dist/chunks/{instance-q4z7v0wg.js → worktree-352dzxrn.js} +62 -62
- package/dist/chunks/{instance-qykaxjj0.js → worktree-3etfrgmm.js} +14 -14
- package/dist/chunks/{instance-1y283654.js → worktree-3ewed21c.js} +4 -4
- package/dist/chunks/{instance-mqx2z72q.js → worktree-3f2v0gwp.js} +11 -11
- package/dist/chunks/{instance-3fc6dm20.js → worktree-3fc6dm20.js} +1 -1
- package/dist/chunks/{instance-f2524wdr.js → worktree-3h7n30se.js} +3 -3
- package/dist/chunks/{instance-3hepkmqq.js → worktree-3hepkmqq.js} +1 -1
- package/dist/chunks/{instance-mx9vqzsb.js → worktree-3ppptnan.js} +6 -6
- package/dist/chunks/{instance-y3ry7t4p.js → worktree-3s6m3xx6.js} +17 -17
- package/dist/chunks/{instance-3smtnn6g.js → worktree-3smtnn6g.js} +1 -1
- package/dist/chunks/{instance-3tvqynh2.js → worktree-3tvqynh2.js} +1 -1
- package/dist/chunks/{instance-a320s7a5.js → worktree-3z13rd8a.js} +20 -20
- package/dist/chunks/{instance-jd5g9jm4.js → worktree-40yvm8mv.js} +17 -17
- package/dist/chunks/{instance-d80srs23.js → worktree-48bv5w94.js} +9 -9
- package/dist/chunks/{instance-7hfdv8rw.js → worktree-4ctxht0a.js} +26 -26
- package/dist/chunks/{instance-p26stxcb.js → worktree-4y303w9z.js} +4 -4
- package/dist/chunks/{instance-56gdpj1q.js → worktree-56gdpj1q.js} +2 -2
- package/dist/chunks/{instance-ebbf9pgk.js → worktree-5a2bhhk2.js} +44 -44
- package/dist/chunks/{instance-5daktx2q.js → worktree-5daktx2q.js} +1 -1
- package/dist/chunks/{instance-ds5qb9v7.js → worktree-5n38ptm2.js} +16 -16
- package/dist/chunks/{instance-e3qxr5gk.js → worktree-5qd3pb7m.js} +2 -2
- package/dist/chunks/{instance-tkc7wv66.js → worktree-5rd22f3b.js} +8 -8
- package/dist/chunks/{instance-5t3nmthw.js → worktree-5t3nmthw.js} +2 -2
- package/dist/chunks/{instance-xkzk3kf6.js → worktree-5vkfrnd8.js} +43 -43
- package/dist/chunks/{instance-669tq793.js → worktree-669tq793.js} +1 -1
- package/dist/chunks/{instance-nyw7406d.js → worktree-67yjsjje.js} +17 -17
- package/dist/chunks/{instance-z7kyfmvk.js → worktree-68034420.js} +18 -18
- package/dist/chunks/{instance-2qrb2527.js → worktree-6e8z0jrw.js} +32 -32
- package/dist/chunks/{instance-2402vzrj.js → worktree-6h73sxmp.js} +5 -5
- package/dist/chunks/{instance-1v87hgx4.js → worktree-6j1m79c6.js} +6 -6
- package/dist/chunks/{instance-sp7f5s6g.js → worktree-6jppzzhm.js} +13 -13
- package/dist/chunks/{instance-6msgmcgs.js → worktree-6msgmcgs.js} +1 -1
- package/dist/chunks/{instance-dd6sdcxh.js → worktree-6ycjtwdb.js} +12 -12
- package/dist/chunks/{instance-bfc54kbn.js → worktree-73vr0mv3.js} +19 -19
- package/dist/chunks/{instance-swhtrqby.js → worktree-79m0gshw.js} +11 -11
- package/dist/chunks/{instance-7bmhse3q.js → worktree-7bmhse3q.js} +1 -1
- package/dist/chunks/{instance-ydd0n9pq.js → worktree-7dqtr61s.js} +2 -2
- package/dist/chunks/{instance-18j7x150.js → worktree-7qrhk883.js} +85 -85
- package/dist/chunks/{instance-fgktf29t.js → worktree-7s451enq.js} +8 -8
- package/dist/chunks/{instance-casqr825.js → worktree-7v1e5ggg.js} +21 -21
- package/dist/chunks/{instance-tf4eh807.js → worktree-891w0k4k.js} +9 -9
- package/dist/chunks/{instance-tcezcvh9.js → worktree-89znhe33.js} +4 -4
- package/dist/chunks/{instance-e4ts3arn.js → worktree-8cgz7b85.js} +25 -25
- package/dist/chunks/{instance-8d7r5vzw.js → worktree-8d7r5vzw.js} +1 -1
- package/dist/chunks/{instance-b54f1rqh.js → worktree-8genm1rm.js} +33 -33
- package/dist/chunks/{instance-8p4f9s12.js → worktree-8p4f9s12.js} +2 -2
- package/dist/chunks/{instance-tv8xz5bt.js → worktree-8w211mg0.js} +30 -30
- package/dist/chunks/{instance-h6r3nrb9.js → worktree-8z00fdkb.js} +4 -4
- package/dist/chunks/{instance-hzc5fjvg.js → worktree-8zc4hgbz.js} +9 -9
- package/dist/chunks/{instance-9cpthwm2.js → worktree-91mgkbnq.js} +91 -91
- package/dist/chunks/{instance-2hr5nhwa.js → worktree-97w5rk9e.js} +8 -8
- package/dist/chunks/{instance-vvprn43g.js → worktree-98qyphw1.js} +10 -10
- package/dist/chunks/{instance-e89xj288.js → worktree-994b2pxg.js} +5 -5
- package/dist/chunks/{instance-erf2q3nj.js → worktree-9r04htgm.js} +4 -4
- package/dist/chunks/worktree-9sh4wc5j.js +18 -0
- package/dist/chunks/{instance-zk2v3m6d.js → worktree-9t5725tz.js} +7 -7
- package/dist/chunks/{instance-a1bz86dw.js → worktree-a1bz86dw.js} +3 -3
- package/dist/chunks/{instance-3knmatw5.js → worktree-a4vbyqq0.js} +17 -17
- package/dist/chunks/{instance-aaet6srn.js → worktree-aaet6srn.js} +2 -2
- package/dist/chunks/{instance-qqbd2d4z.js → worktree-aar3e3j0.js} +22 -22
- package/dist/chunks/{instance-570mgq0k.js → worktree-aemx4jfn.js} +3 -3
- package/dist/chunks/{instance-qanwtn7w.js → worktree-an77xd2b.js} +20 -20
- package/dist/chunks/{instance-ecfw1qje.js → worktree-aqjys6xa.js} +32 -32
- package/dist/chunks/{instance-rgyyn3yp.js → worktree-as4zy6vm.js} +6 -6
- package/dist/chunks/{instance-97w0cd5j.js → worktree-atnvsyyy.js} +8 -8
- package/dist/chunks/{instance-t0yhkcyw.js → worktree-ay6nbv33.js} +36 -36
- package/dist/chunks/{instance-b6gygkdw.js → worktree-b6gygkdw.js} +2 -2
- package/dist/chunks/{instance-qw18fngb.js → worktree-bchad5r9.js} +56 -56
- package/dist/chunks/{instance-je33k1s5.js → worktree-bgrhz2qd.js} +26 -26
- package/dist/chunks/{instance-9k9sjh9m.js → worktree-bpe9edxa.js} +11 -11
- package/dist/chunks/{instance-8v6pyhej.js → worktree-br0tr5aq.js} +8 -8
- package/dist/chunks/{instance-xd31w659.js → worktree-c2kxfk76.js} +10 -10
- package/dist/chunks/{instance-qdz4khna.js → worktree-c71z4xdm.js} +17 -17
- package/dist/chunks/{instance-wpfm9sx5.js → worktree-c746w9ce.js} +16 -16
- package/dist/chunks/{instance-g6q9qykm.js → worktree-c765mh8b.js} +9 -9
- package/dist/chunks/{instance-wc9fr37g.js → worktree-cbch6rr6.js} +32 -32
- package/dist/chunks/{instance-npmp885d.js → worktree-cerv3vyz.js} +11 -11
- package/dist/chunks/{instance-cfpkc3c9.js → worktree-cfpkc3c9.js} +2 -2
- package/dist/chunks/{instance-bb8wzrbb.js → worktree-cfqgz3t8.js} +8 -8
- package/dist/chunks/{instance-m05v0yr1.js → worktree-cmv6f9bd.js} +22 -22
- package/dist/chunks/{instance-9afpsfvx.js → worktree-cqastrjb.js} +13 -13
- package/dist/chunks/{instance-6f67gg4c.js → worktree-cv42xg6h.js} +7 -7
- package/dist/chunks/{instance-sxm9qmm8.js → worktree-cvb3zs8g.js} +12 -12
- package/dist/chunks/{instance-600grhy8.js → worktree-cw30v4cn.js} +10 -10
- package/dist/chunks/{instance-3dt99za4.js → worktree-cxs7v5sj.js} +32 -32
- package/dist/chunks/{instance-dpkg50ah.js → worktree-dpkg50ah.js} +1 -1
- package/dist/chunks/{instance-xfkkasph.js → worktree-drwq78ky.js} +4 -4
- package/dist/chunks/{instance-277c56sy.js → worktree-dx2wdmpc.js} +22 -22
- package/dist/chunks/{instance-ts0nqc9n.js → worktree-e516v6v9.js} +20 -20
- package/dist/chunks/{instance-zf5d0hzc.js → worktree-ea5pzae2.js} +34 -34
- package/dist/chunks/{instance-0ntvdwh0.js → worktree-ear7p3c0.js} +20 -20
- package/dist/chunks/{instance-ef5x83kb.js → worktree-ef5x83kb.js} +1 -1
- package/dist/chunks/{instance-mc03h5vv.js → worktree-efskn69j.js} +27 -27
- package/dist/chunks/{instance-tdxfnnbf.js → worktree-eg49wf4x.js} +4 -4
- package/dist/chunks/{instance-xmrastb6.js → worktree-egfnhzxk.js} +42 -42
- package/dist/chunks/{instance-m932gs3h.js → worktree-egnx0mgt.js} +32 -32
- package/dist/chunks/{instance-j4eqxq1c.js → worktree-emcas405.js} +10 -10
- package/dist/chunks/{instance-erw5rpbs.js → worktree-erw5rpbs.js} +2 -2
- package/dist/chunks/{instance-etq0c3wd.js → worktree-etq0c3wd.js} +1 -1
- package/dist/chunks/{instance-4k8y8fqs.js → worktree-ezhgv383.js} +13 -13
- package/dist/chunks/{instance-1acjjqhc.js → worktree-f2n192rq.js} +4 -4
- package/dist/chunks/{instance-36bn96k7.js → worktree-f79e7k6s.js} +10 -10
- package/dist/chunks/{instance-f828m53h.js → worktree-f828m53h.js} +2 -2
- package/dist/chunks/{instance-5avspqh4.js → worktree-fasg9v5a.js} +179 -179
- package/dist/chunks/{instance-psx1kah8.js → worktree-fdtfpwha.js} +8 -8
- package/dist/chunks/{instance-84zt2byv.js → worktree-fhs97t90.js} +9 -9
- package/dist/chunks/{instance-1jwe7gn6.js → worktree-fr0wf22j.js} +23 -23
- package/dist/chunks/{instance-fxbjtjnd.js → worktree-fxbjtjnd.js} +1 -1
- package/dist/chunks/{instance-vkxpz7g2.js → worktree-fxqygnfa.js} +4 -4
- package/dist/chunks/{instance-68demsjw.js → worktree-fz3rwrdq.js} +41 -41
- package/dist/chunks/{instance-j9wfepw7.js → worktree-fzmcda3j.js} +15 -15
- package/dist/chunks/{instance-t51qk8jz.js → worktree-g190xswt.js} +21 -21
- package/dist/chunks/{instance-cjhswx0k.js → worktree-g59fec1k.js} +9 -9
- package/dist/chunks/{instance-73gmm198.js → worktree-g8d3gcyj.js} +7 -7
- package/dist/chunks/{instance-bjb1v0c5.js → worktree-gck4x0yv.js} +15 -15
- package/dist/chunks/{instance-gd4qta3r.js → worktree-gd4qta3r.js} +1 -1
- package/dist/chunks/{instance-efvzne3y.js → worktree-gdfmbz4s.js} +3 -3
- package/dist/chunks/{instance-fa3e36t3.js → worktree-gjg8myr7.js} +39 -39
- package/dist/chunks/{instance-gsbcxfvh.js → worktree-gjtye2vm.js} +5 -5
- package/dist/chunks/{instance-4gyredzv.js → worktree-gmjjhz4f.js} +9 -9
- package/dist/chunks/{instance-d1t00am6.js → worktree-gnykwcvs.js} +11 -11
- package/dist/chunks/{instance-kne8f3cn.js → worktree-gst7axd9.js} +4 -4
- package/dist/chunks/{instance-gv6a8nnw.js → worktree-gv6a8nnw.js} +2 -2
- package/dist/chunks/{instance-h6vf3j39.js → worktree-h6vf3j39.js} +1 -1
- package/dist/chunks/{instance-fcj1myx6.js → worktree-h97ghsst.js} +4 -4
- package/dist/chunks/{instance-1yct523w.js → worktree-h9r9fv56.js} +16 -16
- package/dist/chunks/{instance-n1e7mg08.js → worktree-hptze64w.js} +13 -13
- package/dist/chunks/{instance-tw0j4dsg.js → worktree-hxy9p1j4.js} +20 -20
- package/dist/chunks/{instance-j56e64zr.js → worktree-j56e64zr.js} +1 -1
- package/dist/chunks/{instance-51jra4mh.js → worktree-jca4demv.js} +2 -2
- package/dist/chunks/{instance-kbnepyf9.js → worktree-jencvzfg.js} +7 -7
- package/dist/chunks/{instance-2s5a06qk.js → worktree-jkepba1g.js} +17 -17
- package/dist/chunks/{instance-ngre8871.js → worktree-jn8151j6.js} +19 -19
- package/dist/chunks/{instance-b9t8mzwa.js → worktree-jp5vppjv.js} +4 -4
- package/dist/chunks/{instance-reddmcey.js → worktree-jqbbnhze.js} +10 -10
- package/dist/chunks/{instance-vtxys3hm.js → worktree-jw7v3n98.js} +24 -24
- package/dist/chunks/{instance-k3c624dm.js → worktree-k3c624dm.js} +3 -3
- package/dist/chunks/{instance-m67asvt4.js → worktree-k6c7vfzw.js} +15 -15
- package/dist/chunks/{instance-dvnmf1fp.js → worktree-kcqxfy54.js} +11 -11
- package/dist/chunks/{instance-2ganz3y8.js → worktree-kej5q4ky.js} +1 -1
- package/dist/chunks/{instance-53m6kfwc.js → worktree-kj5jtrjw.js} +23 -23
- package/dist/chunks/{instance-7qnnpvms.js → worktree-kjqh1yxe.js} +5 -5
- package/dist/chunks/{instance-tyzav73b.js → worktree-kkee341m.js} +3 -3
- package/dist/chunks/{instance-zvy80ke6.js → worktree-kkr5cxbn.js} +23 -23
- package/dist/chunks/{instance-44ke2mar.js → worktree-knb7evpn.js} +2 -2
- package/dist/chunks/{instance-g9dj4eex.js → worktree-kq20shcj.js} +23 -23
- package/dist/chunks/{instance-5zcnrd4p.js → worktree-ksp79sx9.js} +23 -23
- package/dist/chunks/{instance-b31nrvr9.js → worktree-kxrysg97.js} +30 -30
- package/dist/chunks/{instance-m3fdjcah.js → worktree-m3fdjcah.js} +1 -1
- package/dist/chunks/{instance-m9w0rfyh.js → worktree-m9w0rfyh.js} +1 -1
- package/dist/chunks/{instance-5vv8f1hy.js → worktree-mg4r3kp3.js} +36 -36
- package/dist/chunks/{instance-nk5cscgv.js → worktree-mjhv1wha.js} +5 -5
- package/dist/chunks/{instance-e0r7vjdq.js → worktree-mqw5201m.js} +9 -9
- package/dist/chunks/{instance-mvfsc1pv.js → worktree-mvfsc1pv.js} +1 -1
- package/dist/chunks/{instance-d383cjmk.js → worktree-mw934p8z.js} +8 -8
- package/dist/chunks/{instance-7vdg9jfk.js → worktree-n3k12czw.js} +33 -33
- package/dist/chunks/{instance-yce18jh1.js → worktree-n6ewyaym.js} +5 -5
- package/dist/chunks/{instance-35agz59w.js → worktree-nnxdhk5c.js} +6 -6
- package/dist/chunks/{instance-sqx0bk9r.js → worktree-npp86ptg.js} +9 -9
- package/dist/chunks/{instance-tmjwnytf.js → worktree-nrjsavn4.js} +28 -28
- package/dist/chunks/{instance-ewwt1h2z.js → worktree-nv07z01f.js} +4 -4
- package/dist/chunks/worktree-nvmavsm4.js +252 -0
- package/dist/chunks/{instance-4bfgp7x0.js → worktree-nx8bwbma.js} +31 -31
- package/dist/chunks/{instance-me07ymb5.js → worktree-p1h8wft8.js} +47 -47
- package/dist/chunks/{instance-p28j5sbe.js → worktree-p28j5sbe.js} +2 -2
- package/dist/chunks/{instance-pxrttdfk.js → worktree-p3ms0v6j.js} +3 -3
- package/dist/chunks/{instance-0pnjzbjt.js → worktree-p3srhck7.js} +11 -11
- package/dist/chunks/{instance-sra9araw.js → worktree-p44d8wdy.js} +5 -5
- package/dist/chunks/{instance-mqpfa9qa.js → worktree-p732wtvd.js} +32 -32
- package/dist/chunks/{instance-aep4nafj.js → worktree-p85a1qhf.js} +5 -5
- package/dist/chunks/{instance-33n2asgk.js → worktree-paegk39x.js} +4 -4
- package/dist/chunks/{instance-6869sn5t.js → worktree-pb9y5tzb.js} +11 -11
- package/dist/chunks/{instance-z3q2rza6.js → worktree-pbsj02a2.js} +21 -21
- package/dist/chunks/{instance-xw4fj8c5.js → worktree-pfcm4e2t.js} +30 -30
- package/dist/chunks/{instance-pjvnvgmy.js → worktree-pjvnvgmy.js} +1 -1
- package/dist/chunks/{instance-pknna89w.js → worktree-pknna89w.js} +1 -1
- package/dist/chunks/{instance-6bmvnc6m.js → worktree-pqkghsa1.js} +11 -11
- package/dist/chunks/{instance-dnwkeky3.js → worktree-ptm80rvs.js} +8 -8
- package/dist/chunks/{instance-1dqb6mrm.js → worktree-ptwjer8q.js} +15 -15
- package/dist/chunks/{instance-rk0mmw8x.js → worktree-pw2fq9db.js} +5 -5
- package/dist/chunks/{instance-a0z9cg1y.js → worktree-q12fs922.js} +10 -10
- package/dist/chunks/{instance-7jdsj2a9.js → worktree-q3t37ft6.js} +3 -3
- package/dist/chunks/{instance-mcpzeezx.js → worktree-qbs3m11x.js} +16 -16
- package/dist/chunks/{instance-7dqw4kz8.js → worktree-qgn6gcr1.js} +5 -5
- package/dist/chunks/{instance-2v2408sh.js → worktree-qh0240ge.js} +46 -46
- package/dist/chunks/{instance-z5bw83pc.js → worktree-qkvc6zdp.js} +33 -33
- package/dist/chunks/{instance-nk6z1afr.js → worktree-qppnxmq1.js} +15 -15
- package/dist/chunks/{instance-y5awa09e.js → worktree-qqfjyj17.js} +302 -302
- package/dist/chunks/{instance-qsdy395h.js → worktree-qsdy395h.js} +1 -1
- package/dist/chunks/{instance-m9f39ft3.js → worktree-qssnpgtf.js} +24 -24
- package/dist/chunks/{instance-e5jtmmq1.js → worktree-r1ab995x.js} +3 -3
- package/dist/chunks/{instance-4gvvgzj0.js → worktree-r2fqvpfx.js} +18 -18
- package/dist/chunks/{instance-ky4q3wsn.js → worktree-r3pbwjbk.js} +19 -19
- package/dist/chunks/{instance-4p08v6j5.js → worktree-r43w5d2a.js} +46 -46
- package/dist/chunks/{instance-nvn8234v.js → worktree-r90yh4s3.js} +37 -37
- package/dist/chunks/{instance-rdw6cm16.js → worktree-rdw6cm16.js} +1 -1
- package/dist/chunks/{instance-9z16he2p.js → worktree-rfdt8g4x.js} +57 -57
- package/dist/chunks/{instance-1782s99w.js → worktree-rmc821pf.js} +8 -8
- package/dist/chunks/{instance-7qs7p99e.js → worktree-rnjmkr11.js} +7 -7
- package/dist/chunks/{instance-r0wf10m3.js → worktree-rqwdmbz9.js} +24 -24
- package/dist/chunks/{instance-6esyy6c6.js → worktree-rswfs2n2.js} +3 -3
- package/dist/chunks/{instance-zw8gthe1.js → worktree-rswh72q4.js} +9 -9
- package/dist/chunks/{instance-96ttdyyh.js → worktree-rwcdkc4s.js} +10 -10
- package/dist/chunks/{instance-0z32jx1n.js → worktree-rymj624c.js} +9 -9
- package/dist/chunks/{instance-0509cf2g.js → worktree-s1ndejzt.js} +17 -17
- package/dist/chunks/{instance-gpyn97pg.js → worktree-s6srgh84.js} +18 -18
- package/dist/chunks/{instance-49w8mb30.js → worktree-saaf3fxb.js} +11 -11
- package/dist/chunks/{instance-01h5b8t7.js → worktree-sncnr08v.js} +41 -41
- package/dist/chunks/{instance-dfe8djrf.js → worktree-sx1n432n.js} +4 -4
- package/dist/chunks/{instance-059h7ztc.js → worktree-t0w541at.js} +21 -21
- package/dist/chunks/{instance-tazgh4e4.js → worktree-tazgh4e4.js} +1 -1
- package/dist/chunks/{instance-d5vwjvq7.js → worktree-tcg29b4q.js} +1 -1
- package/dist/chunks/{instance-tdstcens.js → worktree-tdstcens.js} +1 -1
- package/dist/chunks/{instance-d9q5694a.js → worktree-tennbh37.js} +24 -24
- package/dist/chunks/{instance-ax6x4xjd.js → worktree-tg3vth51.js} +4 -4
- package/dist/chunks/{instance-2qp6y8xf.js → worktree-tn0aqsam.js} +5 -5
- package/dist/chunks/{instance-bww5wdhm.js → worktree-tpbw80pw.js} +16 -16
- package/dist/chunks/{instance-tvtrv512.js → worktree-tvtrv512.js} +1 -1
- package/dist/chunks/{instance-9nqhek0v.js → worktree-v5zbexrb.js} +24 -24
- package/dist/chunks/{instance-veqvce7d.js → worktree-veqvce7d.js} +1 -1
- package/dist/chunks/{instance-en0bd26m.js → worktree-vg4nn9tt.js} +10 -10
- package/dist/chunks/{instance-q3bxgjqn.js → worktree-vj52mgyq.js} +4 -4
- package/dist/chunks/{instance-f2yxgyqv.js → worktree-vpdbt6f3.js} +11 -11
- package/dist/chunks/{instance-ycvgyfyv.js → worktree-vy52bkvf.js} +1 -1
- package/dist/chunks/{instance-vzcthcp8.js → worktree-vzcthcp8.js} +1 -1
- package/dist/chunks/{instance-1jfwrsva.js → worktree-w1pnds27.js} +17 -17
- package/dist/chunks/{instance-w3wsvvr9.js → worktree-w3wsvvr9.js} +1 -1
- package/dist/chunks/{instance-kcm4h82a.js → worktree-w418y777.js} +13 -13
- package/dist/chunks/{instance-wd87259q.js → worktree-wd87259q.js} +1 -1
- package/dist/chunks/{instance-k2rvhh71.js → worktree-wjahessk.js} +7 -7
- package/dist/chunks/{instance-ajc8dn8b.js → worktree-wjrcy753.js} +20 -20
- package/dist/chunks/{instance-z2qvtray.js → worktree-wpm2rk0p.js} +6 -6
- package/dist/chunks/{instance-x1ezjp6w.js → worktree-x1ezjp6w.js} +1 -1
- package/dist/chunks/{instance-r6hwepdv.js → worktree-x2fsbb45.js} +27 -27
- package/dist/chunks/{instance-j1p6n3we.js → worktree-x52bhdm3.js} +33 -33
- package/dist/chunks/{instance-sy0a8s1t.js → worktree-x7pykh9x.js} +9 -9
- package/dist/chunks/{instance-qn9x1106.js → worktree-xjwkwtp6.js} +15 -15
- package/dist/chunks/{instance-ewtftdck.js → worktree-xp8r7stt.js} +17 -17
- package/dist/chunks/{instance-xehmcjs3.js → worktree-y04dpqf4.js} +12 -12
- package/dist/chunks/{instance-y1fvbwt7.js → worktree-y1fvbwt7.js} +1 -1
- package/dist/chunks/{instance-sk2hk6tq.js → worktree-y56ehv6b.js} +9 -9
- package/dist/chunks/{instance-htz03tp5.js → worktree-y89k24cj.js} +14 -14
- package/dist/chunks/{instance-dmeff8vk.js → worktree-y9qxyczm.js} +12 -12
- package/dist/chunks/{instance-zbfkg7d6.js → worktree-yb3spt80.js} +4 -4
- package/dist/chunks/{instance-9y19w4t8.js → worktree-yb90qen6.js} +11 -11
- package/dist/chunks/{instance-92a4ap4w.js → worktree-yjptyezs.js} +5 -5
- package/dist/chunks/{instance-yrhqyw5v.js → worktree-yrhqyw5v.js} +1 -1
- package/dist/chunks/{instance-s4enseaf.js → worktree-yrznvahk.js} +2 -2
- package/dist/chunks/{instance-qaw2sn3v.js → worktree-ys4bdtvd.js} +31 -31
- package/dist/chunks/{instance-vb5pczhz.js → worktree-yvtjrsq1.js} +24 -24
- package/dist/chunks/{instance-yy3jr7gg.js → worktree-yx7aeq6j.js} +8 -8
- package/dist/chunks/{instance-z0bkrqjs.js → worktree-z0bkrqjs.js} +1 -1
- package/dist/chunks/{instance-2mbvqxqr.js → worktree-z5hgzkz0.js} +19 -19
- package/dist/chunks/{instance-29x78va6.js → worktree-z63w68vq.js} +6 -6
- package/dist/chunks/{instance-s6xcdz7z.js → worktree-zd4g673n.js} +11 -11
- package/dist/chunks/{instance-zeh9ct20.js → worktree-zeh9ct20.js} +2 -2
- package/dist/chunks/{instance-mfy240fq.js → worktree-zqeffdkx.js} +25 -25
- package/dist/chunks/{instance-zr2ceqn5.js → worktree-zr2ceqn5.js} +1 -1
- package/dist/chunks/{instance-zxq2ej10.js → worktree-zxq2ej10.js} +1 -1
- package/dist/codemode/catalog.js +1 -1
- package/dist/codemode/instructions.js +7 -7
- package/dist/codemode/tool.js +3 -3
- package/dist/codemode/web.js +1 -1
- package/dist/command.js +84 -84
- package/dist/config/discovery.js +83 -83
- package/dist/config/markdown.js +1 -1
- package/dist/config/normalize.js +105 -105
- package/dist/config/plugin/agent.js +122 -122
- package/dist/config/plugin/command.js +209 -209
- package/dist/config/plugin/compaction.js +159 -159
- package/dist/config/plugin/compatibility.js +140 -140
- package/dist/config/plugin/entry-observer.js +1 -1
- package/dist/config/plugin/formatter.js +123 -123
- package/dist/config/plugin/image.js +120 -120
- package/dist/config/plugin/instruction.js +89 -89
- package/dist/config/plugin/location-watcher.js +122 -122
- package/dist/config/plugin/mcp.js +129 -129
- package/dist/config/plugin/policy.js +122 -122
- package/dist/config/plugin/provider.js +122 -122
- package/dist/config/plugin/reference.js +124 -124
- package/dist/config/plugin/shell.js +122 -122
- package/dist/config/plugin/skill-file.js +101 -101
- package/dist/config/plugin/skill.js +141 -141
- package/dist/config/plugin/snapshot.js +122 -122
- package/dist/config/plugin/source.js +119 -119
- package/dist/config/plugin/tool-output.js +122 -122
- package/dist/config/plugin/websearch.js +121 -121
- package/dist/config/plugin/worktree.js +124 -124
- package/dist/config/variable.js +3 -3
- package/dist/config/watch.js +1 -1
- package/dist/config.js +127 -127
- package/dist/credential/sql.js +2 -2
- package/dist/credential.js +84 -84
- package/dist/database/database.js +65 -65
- 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 +75 -75
- package/dist/database/v1-migration.js +1 -1
- package/dist/effect/app-node-builder.js +367 -367
- 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 +92 -92
- package/dist/environment/exec-defaults.js +2 -2
- package/dist/environment/files.js +1 -1
- package/dist/environment/index.js +94 -94
- 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 +69 -69
- package/dist/file-access.js +103 -103
- package/dist/file-mutation.js +93 -93
- 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 +3 -3
- package/dist/filesystem/search.js +102 -102
- package/dist/filesystem/watcher-binding.js +3 -3
- package/dist/filesystem/watcher.js +15 -15
- package/dist/filesystem.js +107 -107
- package/dist/form.js +85 -85
- package/dist/formatter/builtins.js +2 -2
- package/dist/formatter.js +86 -86
- package/dist/generate.js +104 -104
- package/dist/git.js +10 -10
- 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 +98 -98
- 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 +358 -358
- package/dist/instruction-discovery.js +82 -82
- package/dist/instructions/builtins.js +86 -86
- package/dist/instructions/index.js +5 -5
- package/dist/integration/connection.js +3 -3
- package/dist/integration.js +87 -87
- package/dist/job.js +78 -78
- package/dist/kv/sql.js +2 -2
- package/dist/kv.js +72 -72
- package/dist/location-activity.js +131 -131
- package/dist/location-lifecycle.js +101 -101
- package/dist/location-mutation.js +103 -103
- package/dist/location-service-map.js +85 -85
- package/dist/location-services.js +355 -355
- package/dist/location.js +88 -88
- package/dist/mcp/client.js +90 -90
- package/dist/mcp/index.js +103 -103
- package/dist/mcp/instructions.js +125 -125
- package/dist/mcp/oauth.js +77 -77
- package/dist/mcp/stdio.js +89 -89
- package/dist/mime.js +1 -1
- package/dist/modal/models.js +98 -98
- package/dist/model-resolver.js +97 -97
- package/dist/model.js +101 -101
- package/dist/models-dev.js +104 -104
- 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 +118 -118
- package/dist/persistent-pty/binary.bun.js +1 -1
- package/dist/persistent-pty/daemon.js +1 -1
- package/dist/persistent-pty/index.js +83 -83
- package/dist/persistent-pty/pty-binding.js +1 -1
- package/dist/persistent-pty.js +74 -74
- package/dist/plugin/agent.js +101 -101
- package/dist/plugin/command.js +98 -98
- package/dist/plugin/compaction.js +130 -130
- package/dist/plugin/hooks.js +5 -5
- package/dist/plugin/host.js +217 -217
- package/dist/plugin/identity.js +3 -3
- package/dist/plugin/instance.js +5 -5
- package/dist/plugin/internal.js +329 -329
- package/dist/plugin/mcp-codemode-exclusion.js +3 -3
- package/dist/plugin/models-dev.js +95 -95
- package/dist/plugin/module.js +7 -7
- package/dist/plugin/optimize.js +2 -2
- package/dist/plugin/plan.js +101 -101
- package/dist/plugin/promise.js +1 -1
- package/dist/plugin/provider/amazon-bedrock.js +89 -89
- package/dist/plugin/provider/azure.js +121 -121
- package/dist/plugin/provider/cerebras.js +1 -1
- package/dist/plugin/provider/cloudflare-ai-gateway.js +120 -120
- package/dist/plugin/provider/cloudflare-workers-ai.js +120 -120
- package/dist/plugin/provider/cohere.js +2 -2
- package/dist/plugin/provider/configured.js +118 -118
- package/dist/plugin/provider/digitalocean.js +92 -92
- 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 +92 -92
- package/dist/plugin/provider/gitlab.js +90 -90
- package/dist/plugin/provider/google-vertex.js +89 -89
- package/dist/plugin/provider/kilo.js +1 -1
- package/dist/plugin/provider/llmgateway.js +76 -76
- package/dist/plugin/provider/lmstudio.js +121 -121
- package/dist/plugin/provider/modal.js +91 -91
- package/dist/plugin/provider/nvidia.js +1 -1
- package/dist/plugin/provider/ollama.js +121 -121
- package/dist/plugin/provider/openai.js +91 -91
- package/dist/plugin/provider/opencode.js +92 -92
- package/dist/plugin/provider/openrouter.js +90 -90
- package/dist/plugin/provider/perplexity.js +2 -2
- package/dist/plugin/provider/poe.js +77 -77
- package/dist/plugin/provider/prompt-cache-key.js +89 -89
- package/dist/plugin/provider/sap-ai-core.js +90 -90
- package/dist/plugin/provider/sdk-factory.js +1 -1
- package/dist/plugin/provider/snowflake-cortex.js +121 -121
- package/dist/plugin/provider/venice.js +2 -2
- package/dist/plugin/provider/vercel.js +89 -89
- package/dist/plugin/provider/vllm.js +119 -119
- package/dist/plugin/provider/xai.js +90 -90
- package/dist/plugin/provider/zenmux.js +1 -1
- package/dist/plugin/provider.js +158 -158
- package/dist/plugin/sdk.js +75 -75
- package/dist/plugin/service.js +3 -3
- package/dist/plugin/skill.js +138 -138
- package/dist/plugin/source-directory.js +1 -1
- package/dist/plugin/supervisor.js +344 -344
- package/dist/plugin/update.js +6 -6
- package/dist/plugin/vcs/git.js +83 -83
- package/dist/plugin/vcs/hg.js +85 -85
- package/dist/plugin/warming.js +120 -120
- package/dist/plugin/websearch/exa.js +7 -7
- package/dist/plugin/websearch/firecrawl.js +8 -8
- package/dist/plugin/websearch/index.js +9 -9
- 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/websearch/tinyfish.js +8 -8
- package/dist/plugin.js +226 -226
- package/dist/project/schema.js +8 -8
- package/dist/project/sql.js +4 -4
- package/dist/project.js +89 -89
- package/dist/provider.js +100 -100
- 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 +97 -97
- package/dist/reference/instructions.js +88 -88
- package/dist/reference.js +90 -90
- package/dist/repository-cache.js +80 -80
- package/dist/repository.js +3 -3
- package/dist/ripgrep/binary.js +2 -2
- package/dist/ripgrep.js +96 -96
- package/dist/rpc.js +85 -85
- package/dist/schema.js +1 -1
- package/dist/session/command.js +73 -73
- package/dist/session/compaction.js +133 -133
- package/dist/session/context.js +151 -151
- package/dist/session/diff.js +87 -87
- 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 +125 -125
- package/dist/session/generate.js +152 -152
- package/dist/session/history.js +15 -15
- package/dist/session/inbox.js +81 -81
- package/dist/session/info.js +3 -3
- package/dist/session/instruction-entry.js +78 -78
- package/dist/session/instruction-state.js +8 -8
- package/dist/session/instructions.js +96 -96
- package/dist/session/message-updater.js +2 -2
- package/dist/session/message.js +1 -1
- package/dist/session/model-request.js +116 -116
- package/dist/session/model-transport.js +7 -7
- package/dist/session/move.js +129 -129
- package/dist/session/projector.js +85 -85
- package/dist/session/prompt.js +104 -104
- package/dist/session/provider-context.js +3 -3
- package/dist/session/revert.js +89 -89
- package/dist/session/run-coordinator.js +3 -3
- package/dist/session/runner/index.js +3 -3
- package/dist/session/runner/llm.js +228 -228
- package/dist/session/runner/max-steps.js +1 -1
- package/dist/session/runner/model.js +97 -97
- package/dist/session/runner/publish-llm-event.js +3 -3
- package/dist/session/runner/retry.js +113 -113
- package/dist/session/runner/step.js +123 -123
- package/dist/session/runner/to-llm-message.js +2 -2
- package/dist/session/schema.js +5 -5
- package/dist/session/session.js +171 -171
- package/dist/session/shell.js +137 -137
- package/dist/session/skill.js +102 -102
- package/dist/session/sql.js +5 -5
- package/dist/session/stats.js +72 -72
- package/dist/session/store.js +86 -86
- package/dist/session/subagent-completion.js +1 -1
- package/dist/session/subagent-job.js +207 -207
- package/dist/session/system-prompt.js +3 -3
- package/dist/session/title.js +149 -149
- package/dist/session/to-session-error.js +110 -110
- package/dist/session/transfer.js +216 -216
- package/dist/session/usage.js +1 -1
- package/dist/session.js +217 -217
- 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 +9 -9
- package/dist/shell.js +137 -137
- package/dist/skill/discovery.js +6 -6
- package/dist/skill/instructions.js +106 -106
- package/dist/skill.js +105 -105
- package/dist/snapshot.js +92 -92
- 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 +122 -122
- package/dist/tool/plugin/edit.js +119 -119
- package/dist/tool/plugin/file-diff.js +1 -1
- package/dist/tool/plugin/glob.js +123 -123
- package/dist/tool/plugin/grep.js +117 -117
- package/dist/tool/plugin/opencode.js +3 -3
- package/dist/tool/plugin/patch.js +121 -121
- package/dist/tool/plugin/question.js +100 -100
- package/dist/tool/plugin/read.js +124 -124
- package/dist/tool/plugin/shell.js +214 -214
- package/dist/tool/plugin/skill.js +108 -108
- package/dist/tool/plugin/subagent.js +216 -216
- package/dist/tool/plugin/webfetch.js +109 -109
- package/dist/tool/plugin/websearch.js +109 -109
- package/dist/tool/plugin/write.js +121 -121
- package/dist/tool/read-filesystem.js +99 -99
- package/dist/tool/runtime.js +1 -1
- package/dist/tool-output.js +8 -8
- package/dist/tool.js +16 -16
- package/dist/util/error-summary.js +1 -1
- package/dist/util/error.js +1 -1
- package/dist/util/git-executable.js +2 -2
- 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 +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 +91 -91
- 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/variant.js +90 -90
- package/dist/vcs/patch.js +1 -1
- package/dist/vcs.js +88 -88
- package/dist/websearch.js +81 -81
- package/dist/wellknown/plugin.js +75 -75
- package/dist/wellknown.js +78 -78
- package/dist/workspace/driver.js +5 -5
- package/dist/workspace/sql.js +1 -1
- package/dist/workspace.js +79 -79
- package/dist/worktree/directory.js +2 -2
- package/dist/worktree/git.js +10 -10
- package/dist/worktree/sql.js +5 -5
- package/dist/worktree/strategies.js +88 -88
- package/dist/worktree.js +97 -97
- package/package.json +8 -8
- package/dist/chunks/instance-7fj5dwt0.js +0 -18
- package/dist/chunks/instance-akbf6chq.js +0 -252
- package/dist/chunks/instance-xrsqh21y.js +0 -4
- /package/dist/chunks/{instance-0qkdqm5v.js → worktree-0qkdqm5v.js} +0 -0
- /package/dist/chunks/{instance-0zkw76rk.js → worktree-0zkw76rk.js} +0 -0
- /package/dist/chunks/{instance-17cy0kzp.js → worktree-17cy0kzp.js} +0 -0
- /package/dist/chunks/{instance-1cnp2v09.js → worktree-1cnp2v09.js} +0 -0
- /package/dist/chunks/{instance-1kg9ymc8.js → worktree-1kg9ymc8.js} +0 -0
- /package/dist/chunks/{instance-24dcb14g.js → worktree-24dcb14g.js} +0 -0
- /package/dist/chunks/{instance-2710q6r3.js → worktree-2710q6r3.js} +0 -0
- /package/dist/chunks/{instance-2axfhc9x.js → worktree-2axfhc9x.js} +0 -0
- /package/dist/chunks/{instance-2c3vjs8z.js → worktree-2c3vjs8z.js} +0 -0
- /package/dist/chunks/{instance-359p4xyc.js → worktree-359p4xyc.js} +0 -0
- /package/dist/chunks/{instance-3asan66x.js → worktree-3asan66x.js} +0 -0
- /package/dist/chunks/{instance-3v8g72cx.js → worktree-3v8g72cx.js} +0 -0
- /package/dist/chunks/{instance-3w5fmr99.js → worktree-3w5fmr99.js} +0 -0
- /package/dist/chunks/{instance-3wcehsnq.js → worktree-3wcehsnq.js} +0 -0
- /package/dist/chunks/{instance-43n2bw4t.js → worktree-43n2bw4t.js} +0 -0
- /package/dist/chunks/{instance-4knz6hnm.js → worktree-4knz6hnm.js} +0 -0
- /package/dist/chunks/{instance-4vcrnpx2.js → worktree-4vcrnpx2.js} +0 -0
- /package/dist/chunks/{instance-4y7fprxs.js → worktree-4y7fprxs.js} +0 -0
- /package/dist/chunks/{instance-53557ph1.js → worktree-53557ph1.js} +0 -0
- /package/dist/chunks/{instance-550bvhaj.js → worktree-550bvhaj.js} +0 -0
- /package/dist/chunks/{instance-6prwharc.js → worktree-6prwharc.js} +0 -0
- /package/dist/chunks/{instance-7akdwqpd.js → worktree-7akdwqpd.js} +0 -0
- /package/dist/chunks/{instance-7m9af43g.js → worktree-7m9af43g.js} +0 -0
- /package/dist/chunks/{instance-822emrt2.js → worktree-822emrt2.js} +0 -0
- /package/dist/chunks/{instance-88xbtdfr.js → worktree-88xbtdfr.js} +0 -0
- /package/dist/chunks/{instance-8n3pysct.js → worktree-8n3pysct.js} +0 -0
- /package/dist/chunks/{instance-922hggd3.js → worktree-922hggd3.js} +0 -0
- /package/dist/chunks/{instance-9a4afbnw.js → worktree-9a4afbnw.js} +0 -0
- /package/dist/chunks/{instance-9rqn6x4v.js → worktree-9rqn6x4v.js} +0 -0
- /package/dist/chunks/{instance-a6k6eb26.js → worktree-a6k6eb26.js} +0 -0
- /package/dist/chunks/{instance-af5trqkr.js → worktree-af5trqkr.js} +0 -0
- /package/dist/chunks/{instance-afrmfg78.js → worktree-afrmfg78.js} +0 -0
- /package/dist/chunks/{instance-aqzs7mqg.js → worktree-aqzs7mqg.js} +0 -0
- /package/dist/chunks/{instance-atq7p7m5.js → worktree-atq7p7m5.js} +0 -0
- /package/dist/chunks/{instance-bkyjaxrp.js → worktree-bkyjaxrp.js} +0 -0
- /package/dist/chunks/{instance-bmr6ed5q.js → worktree-bmr6ed5q.js} +0 -0
- /package/dist/chunks/{instance-cf4snx6d.js → worktree-cf4snx6d.js} +0 -0
- /package/dist/chunks/{instance-cvy3z8tj.js → worktree-cvy3z8tj.js} +0 -0
- /package/dist/chunks/{instance-d9fn303g.js → worktree-d9fn303g.js} +0 -0
- /package/dist/chunks/{instance-d9jj8t3e.js → worktree-d9jj8t3e.js} +0 -0
- /package/dist/chunks/{instance-dajrwvna.js → worktree-dajrwvna.js} +0 -0
- /package/dist/chunks/{instance-dap0rakb.js → worktree-dap0rakb.js} +0 -0
- /package/dist/chunks/{instance-df08tz66.js → worktree-df08tz66.js} +0 -0
- /package/dist/chunks/{instance-dy18nga0.js → worktree-dy18nga0.js} +0 -0
- /package/dist/chunks/{instance-e5kj55wp.js → worktree-e5kj55wp.js} +0 -0
- /package/dist/chunks/{instance-e73j6tqm.js → worktree-e73j6tqm.js} +0 -0
- /package/dist/chunks/{instance-ec1grn59.js → worktree-ec1grn59.js} +0 -0
- /package/dist/chunks/{instance-eh3zwz77.js → worktree-eh3zwz77.js} +0 -0
- /package/dist/chunks/{instance-emrn6kk6.js → worktree-emrn6kk6.js} +0 -0
- /package/dist/chunks/{instance-f0mxakyp.js → worktree-f0mxakyp.js} +0 -0
- /package/dist/chunks/{instance-f6n9ztr4.js → worktree-f6n9ztr4.js} +0 -0
- /package/dist/chunks/{instance-faypxj3z.js → worktree-faypxj3z.js} +0 -0
- /package/dist/chunks/{instance-fd410y7t.js → worktree-fd410y7t.js} +0 -0
- /package/dist/chunks/{instance-fxgpk5d8.js → worktree-fxgpk5d8.js} +0 -0
- /package/dist/chunks/{instance-g4wezp1m.js → worktree-g4wezp1m.js} +0 -0
- /package/dist/chunks/{instance-g86h250q.js → worktree-g86h250q.js} +0 -0
- /package/dist/chunks/{instance-gebd4c9n.js → worktree-gebd4c9n.js} +0 -0
- /package/dist/chunks/{instance-gftt206x.js → worktree-gftt206x.js} +0 -0
- /package/dist/chunks/{instance-hjbc5kem.js → worktree-hjbc5kem.js} +0 -0
- /package/dist/chunks/{instance-hk9envan.js → worktree-hk9envan.js} +0 -0
- /package/dist/chunks/{instance-j2ntwpah.js → worktree-j2ntwpah.js} +0 -0
- /package/dist/chunks/{instance-j5zkgpj8.js → worktree-j5zkgpj8.js} +0 -0
- /package/dist/chunks/{instance-jjkms2e6.js → worktree-jjkms2e6.js} +0 -0
- /package/dist/chunks/{instance-jr7sbwjy.js → worktree-jr7sbwjy.js} +0 -0
- /package/dist/chunks/{instance-jwfs4k6c.js → worktree-jwfs4k6c.js} +0 -0
- /package/dist/chunks/{instance-jzg6c2d5.js → worktree-jzg6c2d5.js} +0 -0
- /package/dist/chunks/{instance-mp448xyj.js → worktree-mp448xyj.js} +0 -0
- /package/dist/chunks/{instance-msx8hqn2.js → worktree-msx8hqn2.js} +0 -0
- /package/dist/chunks/{instance-n05xt0ee.js → worktree-n05xt0ee.js} +0 -0
- /package/dist/chunks/{instance-n3j8tn72.js → worktree-n3j8tn72.js} +0 -0
- /package/dist/chunks/{instance-njntx4h6.js → worktree-njntx4h6.js} +0 -0
- /package/dist/chunks/{instance-q3sfg36h.js → worktree-q3sfg36h.js} +0 -0
- /package/dist/chunks/{instance-q74kybfr.js → worktree-q74kybfr.js} +0 -0
- /package/dist/chunks/{instance-qaymkmh1.js → worktree-qaymkmh1.js} +0 -0
- /package/dist/chunks/{instance-qb87gjwd.js → worktree-qb87gjwd.js} +0 -0
- /package/dist/chunks/{instance-qfa1cgps.js → worktree-qfa1cgps.js} +0 -0
- /package/dist/chunks/{instance-qg3g05ea.js → worktree-qg3g05ea.js} +0 -0
- /package/dist/chunks/{instance-qrg20bc0.js → worktree-qrg20bc0.js} +0 -0
- /package/dist/chunks/{instance-rcb2kzg1.js → worktree-rcb2kzg1.js} +0 -0
- /package/dist/chunks/{instance-sdp7kfr6.js → worktree-sdp7kfr6.js} +0 -0
- /package/dist/chunks/{instance-sk3qaz4a.js → worktree-sk3qaz4a.js} +0 -0
- /package/dist/chunks/{instance-ssg3fenm.js → worktree-ssg3fenm.js} +0 -0
- /package/dist/chunks/{instance-twg0f83k.js → worktree-twg0f83k.js} +0 -0
- /package/dist/chunks/{instance-w803qqfp.js → worktree-w803qqfp.js} +0 -0
- /package/dist/chunks/{instance-wc3fc9cn.js → worktree-wc3fc9cn.js} +0 -0
- /package/dist/chunks/{instance-wer8tq1h.js → worktree-wer8tq1h.js} +0 -0
- /package/dist/chunks/{instance-wtztk69x.js → worktree-wtztk69x.js} +0 -0
- /package/dist/chunks/{instance-x0ckcb58.js → worktree-x0ckcb58.js} +0 -0
- /package/dist/chunks/{instance-x61499pn.js → worktree-x61499pn.js} +0 -0
- /package/dist/chunks/{instance-y44na4kk.js → worktree-y44na4kk.js} +0 -0
- /package/dist/chunks/{instance-y8cydn3q.js → worktree-y8cydn3q.js} +0 -0
- /package/dist/chunks/{instance-y8f7s663.js → worktree-y8f7s663.js} +0 -0
- /package/dist/chunks/{instance-ygaqb7jw.js → worktree-ygaqb7jw.js} +0 -0
- /package/dist/chunks/{instance-ym463w8f.js → worktree-ym463w8f.js} +0 -0
- /package/dist/chunks/{instance-z9919s4g.js → worktree-z9919s4g.js} +0 -0
|
@@ -1,12 +1,12 @@
|
|
|
1
1
|
import {
|
|
2
2
|
__export
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./worktree-9rqn6x4v.js";
|
|
4
4
|
|
|
5
5
|
// src/session/system-prompt.ts
|
|
6
6
|
var exports_system_prompt = {};
|
|
7
7
|
__export(exports_system_prompt, {
|
|
8
8
|
SessionSystemPrompt: () => exports_system_prompt,
|
|
9
|
-
make: () =>
|
|
9
|
+
make: () => make14,
|
|
10
10
|
render: () => render3
|
|
11
11
|
});
|
|
12
12
|
|
|
@@ -29,7 +29,7 @@ var system_default = `You are an AI agent running in OpenCode, a coding agent ha
|
|
|
29
29
|
`;
|
|
30
30
|
|
|
31
31
|
// src/session/system-prompt.ts
|
|
32
|
-
function
|
|
32
|
+
function make14(tools) {
|
|
33
33
|
return render3(system_default, tools);
|
|
34
34
|
}
|
|
35
35
|
function render3(prompt, tools) {
|
|
@@ -47,4 +47,4 @@ function render3(prompt, tools) {
|
|
|
47
47
|
`));
|
|
48
48
|
}
|
|
49
49
|
|
|
50
|
-
export {
|
|
50
|
+
export { make14, render3, exports_system_prompt };
|
|
@@ -1,32 +1,32 @@
|
|
|
1
1
|
import {
|
|
2
|
-
|
|
2
|
+
Key4,
|
|
3
3
|
removed2,
|
|
4
4
|
empty3,
|
|
5
|
-
|
|
5
|
+
make20,
|
|
6
6
|
diffByKey2
|
|
7
|
-
} from "./
|
|
7
|
+
} from "./worktree-02nrjc1r.js";
|
|
8
8
|
import {
|
|
9
9
|
evaluate2
|
|
10
|
-
} from "./
|
|
10
|
+
} from "./worktree-352dzxrn.js";
|
|
11
11
|
import {
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
} from "./
|
|
12
|
+
Service35,
|
|
13
|
+
node38
|
|
14
|
+
} from "./worktree-r43w5d2a.js";
|
|
15
15
|
import {
|
|
16
16
|
namespace2,
|
|
17
17
|
name13
|
|
18
|
-
} from "./
|
|
18
|
+
} from "./worktree-kq20shcj.js";
|
|
19
19
|
import {
|
|
20
20
|
__export
|
|
21
|
-
} from "./
|
|
21
|
+
} from "./worktree-9rqn6x4v.js";
|
|
22
22
|
|
|
23
23
|
// src/mcp/instructions.ts
|
|
24
|
-
var
|
|
25
|
-
__export(
|
|
26
|
-
McpInstructions: () =>
|
|
27
|
-
Service: () =>
|
|
24
|
+
var exports_instructions2 = {};
|
|
25
|
+
__export(exports_instructions2, {
|
|
26
|
+
McpInstructions: () => exports_instructions2,
|
|
27
|
+
Service: () => Service26,
|
|
28
28
|
layer: () => layer11,
|
|
29
|
-
node: () =>
|
|
29
|
+
node: () => node30
|
|
30
30
|
});
|
|
31
31
|
import { makeLocationNode } from "@opencode/util/effect/app-node";
|
|
32
32
|
import { Context, Effect, Layer, Schema } from "effect";
|
|
@@ -62,17 +62,17 @@ var update = (previous, current) => {
|
|
|
62
62
|
`);
|
|
63
63
|
};
|
|
64
64
|
|
|
65
|
-
class
|
|
65
|
+
class Service26 extends Context.Service()("@opencode/McpInstructions") {
|
|
66
66
|
}
|
|
67
|
-
var layer11 = Layer.effect(
|
|
68
|
-
const mcp = yield*
|
|
69
|
-
return
|
|
67
|
+
var layer11 = Layer.effect(Service26, Effect.gen(function* () {
|
|
68
|
+
const mcp = yield* Service35;
|
|
69
|
+
return Service26.of({
|
|
70
70
|
load: Effect.fn("McpInstructions.load")(function* (selection) {
|
|
71
71
|
const agent = selection.info;
|
|
72
72
|
if (!agent)
|
|
73
73
|
return empty3;
|
|
74
|
-
const source = (value) =>
|
|
75
|
-
key:
|
|
74
|
+
const source = (value) => make20({
|
|
75
|
+
key: Key4.make("core/mcp-guidance"),
|
|
76
76
|
codec: Schema.toCodecJson(Schema.Array(Summary)),
|
|
77
77
|
read: Effect.succeed(value),
|
|
78
78
|
render: {
|
|
@@ -100,6 +100,6 @@ var layer11 = Layer.effect(Service32, Effect.gen(function* () {
|
|
|
100
100
|
})
|
|
101
101
|
});
|
|
102
102
|
}));
|
|
103
|
-
var
|
|
103
|
+
var node30 = makeLocationNode({ service: Service26, layer: layer11, deps: [node38] });
|
|
104
104
|
|
|
105
|
-
export {
|
|
105
|
+
export { Service26, layer11, node30, exports_instructions2 };
|
|
@@ -1,23 +1,23 @@
|
|
|
1
1
|
import {
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
} from "./
|
|
2
|
+
Service58,
|
|
3
|
+
node61
|
|
4
|
+
} from "./worktree-nrjsavn4.js";
|
|
5
5
|
import {
|
|
6
|
-
|
|
6
|
+
Key4,
|
|
7
7
|
removed2,
|
|
8
|
-
|
|
8
|
+
make20,
|
|
9
9
|
diffByKey2
|
|
10
|
-
} from "./
|
|
10
|
+
} from "./worktree-02nrjc1r.js";
|
|
11
11
|
import {
|
|
12
12
|
__export
|
|
13
|
-
} from "./
|
|
13
|
+
} from "./worktree-9rqn6x4v.js";
|
|
14
14
|
|
|
15
15
|
// src/reference/instructions.ts
|
|
16
|
-
var
|
|
17
|
-
__export(
|
|
18
|
-
ReferenceInstructions: () =>
|
|
19
|
-
Service: () =>
|
|
20
|
-
node: () =>
|
|
16
|
+
var exports_instructions4 = {};
|
|
17
|
+
__export(exports_instructions4, {
|
|
18
|
+
ReferenceInstructions: () => exports_instructions4,
|
|
19
|
+
Service: () => Service27,
|
|
20
|
+
node: () => node31
|
|
21
21
|
});
|
|
22
22
|
import { makeLocationNode } from "@opencode/util/effect/app-node";
|
|
23
23
|
import { Context, Effect, Layer, Schema } from "effect";
|
|
@@ -57,19 +57,19 @@ var update = (previous, current) => {
|
|
|
57
57
|
`);
|
|
58
58
|
};
|
|
59
59
|
|
|
60
|
-
class
|
|
60
|
+
class Service27 extends Context.Service()("@opencode/ReferenceInstructions") {
|
|
61
61
|
}
|
|
62
|
-
var layer = Layer.effect(
|
|
63
|
-
const references = yield*
|
|
64
|
-
return
|
|
62
|
+
var layer = Layer.effect(Service27, Effect.gen(function* () {
|
|
63
|
+
const references = yield* Service58;
|
|
64
|
+
return Service27.of({
|
|
65
65
|
load: Effect.fn("ReferenceInstructions.load")(function* () {
|
|
66
66
|
const available = (yield* references.list()).filter((reference) => reference.description !== undefined).map((reference) => ({
|
|
67
67
|
name: reference.name,
|
|
68
68
|
path: reference.path,
|
|
69
69
|
description: reference.description
|
|
70
70
|
})).toSorted((a, b) => a.name.localeCompare(b.name));
|
|
71
|
-
return
|
|
72
|
-
key:
|
|
71
|
+
return make20({
|
|
72
|
+
key: Key4.make("core/reference-guidance"),
|
|
73
73
|
codec: Schema.toCodecJson(Schema.Array(Summary)),
|
|
74
74
|
read: Effect.succeed(available.length === 0 ? removed2 : available),
|
|
75
75
|
render: {
|
|
@@ -81,6 +81,6 @@ var layer = Layer.effect(Service30, Effect.gen(function* () {
|
|
|
81
81
|
})
|
|
82
82
|
});
|
|
83
83
|
}));
|
|
84
|
-
var
|
|
84
|
+
var node31 = makeLocationNode({ service: Service27, layer, deps: [node61] });
|
|
85
85
|
|
|
86
|
-
export {
|
|
86
|
+
export { Service27, node31, exports_instructions4 };
|
|
@@ -1,66 +1,66 @@
|
|
|
1
1
|
import {
|
|
2
2
|
Service82,
|
|
3
3
|
node86
|
|
4
|
-
} from "./
|
|
4
|
+
} from "./worktree-eg49wf4x.js";
|
|
5
5
|
import {
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
} from "./
|
|
6
|
+
Service77,
|
|
7
|
+
node81
|
|
8
|
+
} from "./worktree-3s6m3xx6.js";
|
|
9
9
|
import {
|
|
10
|
-
|
|
11
|
-
} from "./
|
|
10
|
+
ID2
|
|
11
|
+
} from "./worktree-0mesazry.js";
|
|
12
12
|
import {
|
|
13
|
-
|
|
13
|
+
Service48,
|
|
14
14
|
login2,
|
|
15
|
-
|
|
16
|
-
} from "./
|
|
15
|
+
node50
|
|
16
|
+
} from "./worktree-cqastrjb.js";
|
|
17
17
|
import {
|
|
18
18
|
lazy2
|
|
19
|
-
} from "./
|
|
19
|
+
} from "./worktree-88xbtdfr.js";
|
|
20
20
|
import {
|
|
21
21
|
__export
|
|
22
|
-
} from "./
|
|
22
|
+
} from "./worktree-9rqn6x4v.js";
|
|
23
23
|
|
|
24
24
|
// src/pty.ts
|
|
25
25
|
var exports_pty = {};
|
|
26
26
|
__export(exports_pty, {
|
|
27
|
-
CreateInput: () =>
|
|
28
|
-
Event: () =>
|
|
27
|
+
CreateInput: () => CreateInput2,
|
|
28
|
+
Event: () => Event2,
|
|
29
29
|
ExitedError: () => ExitedError2,
|
|
30
|
-
Info: () =>
|
|
31
|
-
NotFoundError: () =>
|
|
30
|
+
Info: () => Info2,
|
|
31
|
+
NotFoundError: () => NotFoundError2,
|
|
32
32
|
Pty: () => exports_pty,
|
|
33
|
-
Service: () =>
|
|
33
|
+
Service: () => Service14,
|
|
34
34
|
UpdateInput: () => UpdateInput2,
|
|
35
|
-
node: () =>
|
|
35
|
+
node: () => node16
|
|
36
36
|
});
|
|
37
37
|
import { makeLocationNode } from "@opencode/util/effect/app-node";
|
|
38
38
|
import { Context, Effect, Layer, Schema } from "effect";
|
|
39
39
|
import { Pty } from "@opencode/schema/pty";
|
|
40
|
-
import { Event as
|
|
40
|
+
import { Event as Event2 } from "@opencode/schema/pty";
|
|
41
41
|
var BUFFER_LIMIT = 1024 * 1024 * 2;
|
|
42
42
|
var EXITED_LIMIT = 25;
|
|
43
43
|
var pty = lazy2(() => import("#pty"));
|
|
44
|
-
var
|
|
45
|
-
var
|
|
44
|
+
var Info2 = Pty.Info;
|
|
45
|
+
var CreateInput2 = Pty.CreateInput;
|
|
46
46
|
var UpdateInput2 = Pty.UpdateInput;
|
|
47
47
|
|
|
48
|
-
class
|
|
49
|
-
ptyID:
|
|
48
|
+
class NotFoundError2 extends Schema.TaggedError()("Pty.NotFoundError", {
|
|
49
|
+
ptyID: ID2
|
|
50
50
|
}) {
|
|
51
51
|
}
|
|
52
52
|
|
|
53
53
|
class ExitedError2 extends Schema.TaggedError()("Pty.ExitedError", {
|
|
54
|
-
ptyID:
|
|
54
|
+
ptyID: ID2
|
|
55
55
|
}) {
|
|
56
56
|
}
|
|
57
57
|
|
|
58
|
-
class
|
|
58
|
+
class Service14 extends Context.Service()("@opencode/Pty") {
|
|
59
59
|
}
|
|
60
|
-
var layer = Layer.effect(
|
|
60
|
+
var layer = Layer.effect(Service14, Effect.gen(function* () {
|
|
61
61
|
const bus = yield* Service82;
|
|
62
|
-
const location = yield*
|
|
63
|
-
const shell = yield*
|
|
62
|
+
const location = yield* Service77;
|
|
63
|
+
const shell = yield* Service48;
|
|
64
64
|
const context = yield* Effect.context();
|
|
65
65
|
const runFork = Effect.runForkWith(context);
|
|
66
66
|
const sessions = new Map;
|
|
@@ -97,7 +97,7 @@ var layer = Layer.effect(Service64, Effect.gen(function* () {
|
|
|
97
97
|
const requireSession = Effect.fn("Pty.requireSession")(function* (id) {
|
|
98
98
|
const session = sessions.get(id);
|
|
99
99
|
if (!session)
|
|
100
|
-
return yield* new
|
|
100
|
+
return yield* new NotFoundError2({ ptyID: id });
|
|
101
101
|
return session;
|
|
102
102
|
});
|
|
103
103
|
const removeSession = Effect.fnUntraced(function* (id) {
|
|
@@ -123,7 +123,7 @@ var layer = Layer.effect(Service64, Effect.gen(function* () {
|
|
|
123
123
|
return (yield* requireSession(id)).info;
|
|
124
124
|
});
|
|
125
125
|
const create = Effect.fn("Pty.create")(function* (input) {
|
|
126
|
-
const id =
|
|
126
|
+
const id = ID2.ascending();
|
|
127
127
|
const command = input.command || (yield* shell.resolve({ priority: "config" }));
|
|
128
128
|
const args = login2(command) ? [...input.args ?? [], "-l"] : [...input.args ?? []];
|
|
129
129
|
const cwd = input.cwd || location.directory;
|
|
@@ -268,12 +268,12 @@ var layer = Layer.effect(Service64, Effect.gen(function* () {
|
|
|
268
268
|
}
|
|
269
269
|
};
|
|
270
270
|
});
|
|
271
|
-
return
|
|
271
|
+
return Service14.of({ list, get, create, update, remove, write, attach });
|
|
272
272
|
}));
|
|
273
|
-
var
|
|
274
|
-
service:
|
|
273
|
+
var node16 = makeLocationNode({
|
|
274
|
+
service: Service14,
|
|
275
275
|
layer,
|
|
276
|
-
deps: [node86,
|
|
276
|
+
deps: [node86, node81, node50]
|
|
277
277
|
});
|
|
278
278
|
|
|
279
|
-
export {
|
|
279
|
+
export { Info2, CreateInput2, UpdateInput2, NotFoundError2, ExitedError2, Service14, node16, exports_pty, Event2 };
|
|
@@ -1,34 +1,34 @@
|
|
|
1
1
|
import {
|
|
2
2
|
Service83
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./worktree-p3ms0v6j.js";
|
|
4
4
|
import {
|
|
5
5
|
Service82
|
|
6
|
-
} from "./
|
|
6
|
+
} from "./worktree-eg49wf4x.js";
|
|
7
7
|
import {
|
|
8
|
-
|
|
9
|
-
} from "./
|
|
8
|
+
Service40
|
|
9
|
+
} from "./worktree-3ppptnan.js";
|
|
10
10
|
import {
|
|
11
11
|
RelativePath2
|
|
12
|
-
} from "./
|
|
12
|
+
} from "./worktree-922hggd3.js";
|
|
13
13
|
import {
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
} from "./
|
|
14
|
+
ID6,
|
|
15
|
+
Service50
|
|
16
|
+
} from "./worktree-x52bhdm3.js";
|
|
17
17
|
import {
|
|
18
18
|
SessionEvent2
|
|
19
|
-
} from "./
|
|
19
|
+
} from "./worktree-ec1grn59.js";
|
|
20
20
|
import {
|
|
21
21
|
SessionMessage2
|
|
22
|
-
} from "./
|
|
22
|
+
} from "./worktree-gftt206x.js";
|
|
23
23
|
import {
|
|
24
24
|
MessageNotFoundError2
|
|
25
|
-
} from "./
|
|
25
|
+
} from "./worktree-gmjjhz4f.js";
|
|
26
26
|
import {
|
|
27
27
|
SessionMessageTable2
|
|
28
|
-
} from "./
|
|
28
|
+
} from "./worktree-a1bz86dw.js";
|
|
29
29
|
import {
|
|
30
30
|
__export
|
|
31
|
-
} from "./
|
|
31
|
+
} from "./worktree-9rqn6x4v.js";
|
|
32
32
|
|
|
33
33
|
// src/session/revert.ts
|
|
34
34
|
var exports_revert = {};
|
|
@@ -42,12 +42,12 @@ __export(exports_revert, {
|
|
|
42
42
|
import { and, asc, eq, gt } from "drizzle-orm";
|
|
43
43
|
import { Effect, Schema } from "effect";
|
|
44
44
|
var stage2 = Effect.fn("SessionRevert.stage")(function* (input) {
|
|
45
|
-
const instances = yield*
|
|
45
|
+
const instances = yield* Service40;
|
|
46
46
|
const database = yield* Service83;
|
|
47
47
|
const bus = yield* Service82;
|
|
48
48
|
return yield* Effect.gen(function* () {
|
|
49
|
-
const snapshot = yield*
|
|
50
|
-
const original = input.session.revert?.snapshot ?
|
|
49
|
+
const snapshot = yield* Service50;
|
|
50
|
+
const original = input.session.revert?.snapshot ? ID6.make(input.session.revert.snapshot) : yield* snapshot.capture();
|
|
51
51
|
const next = yield* plan(database.db, { sessionID: input.session.id, messageID: input.messageID });
|
|
52
52
|
const restore = new Map;
|
|
53
53
|
if (original) {
|
|
@@ -74,13 +74,13 @@ var stage2 = Effect.fn("SessionRevert.stage")(function* (input) {
|
|
|
74
74
|
}).pipe(instances.provide(input.session));
|
|
75
75
|
});
|
|
76
76
|
var clear2 = Effect.fn("SessionRevert.clear")(function* (session) {
|
|
77
|
-
const instances = yield*
|
|
77
|
+
const instances = yield* Service40;
|
|
78
78
|
const bus = yield* Service82;
|
|
79
79
|
yield* Effect.gen(function* () {
|
|
80
|
-
const snapshot = yield*
|
|
80
|
+
const snapshot = yield* Service50;
|
|
81
81
|
if (!session.revert)
|
|
82
82
|
return;
|
|
83
|
-
const original = session.revert.snapshot ?
|
|
83
|
+
const original = session.revert.snapshot ? ID6.make(session.revert.snapshot) : undefined;
|
|
84
84
|
if (original)
|
|
85
85
|
yield* snapshot.restore({
|
|
86
86
|
files: new Map((session.revert.files ?? []).map((file) => [RelativePath2.make(file.file), original]))
|
|
@@ -111,7 +111,7 @@ var plan = Effect.fn("SessionRevert.plan")(function* (db, input) {
|
|
|
111
111
|
continue;
|
|
112
112
|
for (const file of message.snapshot.files ?? [])
|
|
113
113
|
if (!files.has(file))
|
|
114
|
-
files.set(file,
|
|
114
|
+
files.set(file, ID6.make(message.snapshot.start));
|
|
115
115
|
}
|
|
116
116
|
return files;
|
|
117
117
|
});
|
|
@@ -1,18 +1,18 @@
|
|
|
1
1
|
import {
|
|
2
2
|
AbsolutePath2
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./worktree-922hggd3.js";
|
|
4
4
|
import {
|
|
5
|
-
|
|
6
|
-
} from "./
|
|
5
|
+
Service77
|
|
6
|
+
} from "./worktree-3s6m3xx6.js";
|
|
7
7
|
import {
|
|
8
|
-
|
|
9
|
-
} from "./
|
|
8
|
+
Service17
|
|
9
|
+
} from "./worktree-s6srgh84.js";
|
|
10
10
|
import {
|
|
11
|
-
|
|
12
|
-
} from "./
|
|
11
|
+
Service9
|
|
12
|
+
} from "./worktree-jn8151j6.js";
|
|
13
13
|
import {
|
|
14
14
|
NotFound2
|
|
15
|
-
} from "./
|
|
15
|
+
} from "./worktree-2a5m3afh.js";
|
|
16
16
|
import {
|
|
17
17
|
MEDIA_MIMES2,
|
|
18
18
|
BinaryFileError2,
|
|
@@ -23,26 +23,26 @@ import {
|
|
|
23
23
|
FileContent2,
|
|
24
24
|
TextPage2,
|
|
25
25
|
ListPage2,
|
|
26
|
-
|
|
27
|
-
} from "./
|
|
26
|
+
Service10
|
|
27
|
+
} from "./worktree-s1ndejzt.js";
|
|
28
28
|
import {
|
|
29
29
|
__export
|
|
30
|
-
} from "./
|
|
30
|
+
} from "./worktree-9rqn6x4v.js";
|
|
31
31
|
|
|
32
32
|
// src/tool/plugin/read.ts
|
|
33
33
|
var exports_read = {};
|
|
34
34
|
__export(exports_read, {
|
|
35
|
-
Input: () =>
|
|
36
|
-
Plugin: () =>
|
|
35
|
+
Input: () => Input6,
|
|
36
|
+
Plugin: () => Plugin26,
|
|
37
37
|
ReadTool: () => exports_read,
|
|
38
|
-
name: () =>
|
|
39
|
-
toModelContent: () =>
|
|
38
|
+
name: () => name6,
|
|
39
|
+
toModelContent: () => toModelContent2
|
|
40
40
|
});
|
|
41
41
|
import { basename, dirname, join } from "path";
|
|
42
42
|
import { ToolFailure } from "@opencode/ai";
|
|
43
43
|
import { Effect, Schema } from "effect";
|
|
44
44
|
import { FSUtil } from "@opencode/util/fs-util";
|
|
45
|
-
var
|
|
45
|
+
var name6 = "read";
|
|
46
46
|
var FILENAME = "AGENTS.md";
|
|
47
47
|
var LocationInput = Schema.Struct({
|
|
48
48
|
path: Schema.String.annotate({ description: "File or directory to read" }),
|
|
@@ -53,21 +53,21 @@ var LocationInput = Schema.Struct({
|
|
|
53
53
|
description: "The maximum number of lines or directory entries to read (defaults to 2000)"
|
|
54
54
|
})
|
|
55
55
|
});
|
|
56
|
-
var
|
|
56
|
+
var Input6 = LocationInput;
|
|
57
57
|
var Output = Schema.Union([FileContent2, TextPage2, ListPage2]);
|
|
58
|
-
var
|
|
58
|
+
var Plugin26 = {
|
|
59
59
|
id: "opencode.tool.read",
|
|
60
60
|
effect: Effect.fn("ReadTool.Plugin")(function* (ctx) {
|
|
61
|
-
const reader = yield*
|
|
62
|
-
const access = yield*
|
|
63
|
-
const sessionInstructions = yield*
|
|
61
|
+
const reader = yield* Service10;
|
|
62
|
+
const access = yield* Service17;
|
|
63
|
+
const sessionInstructions = yield* Service9;
|
|
64
64
|
const fs = yield* FSUtil.Service;
|
|
65
|
-
const location = yield*
|
|
65
|
+
const location = yield* Service77;
|
|
66
66
|
yield* ctx.tool.transform((editor) => editor.add({
|
|
67
|
-
name:
|
|
67
|
+
name: name6,
|
|
68
68
|
options: { codemode: false },
|
|
69
69
|
description: "Read the contents of a file or directory. Supports text files, images, and PDFs. Images and PDFs are presented directly to the model. Each text line is prefixed by its 1-based line number as <line>: <content>. The prefix is for reference and is not part of the file content. Directory entries are returned one per line. Use offset and limit to read large files or directories in sections. Prefer one larger read over many small slices, and use grep to find specific content in large files.",
|
|
70
|
-
input:
|
|
70
|
+
input: Input6,
|
|
71
71
|
output: Output,
|
|
72
72
|
execute: (input, context) => {
|
|
73
73
|
return Effect.gen(function* () {
|
|
@@ -112,7 +112,7 @@ var Plugin30 = {
|
|
|
112
112
|
return { output: result.content, path: result.path };
|
|
113
113
|
}).pipe(Effect.map((result) => ({
|
|
114
114
|
output: result.output,
|
|
115
|
-
content:
|
|
115
|
+
content: toModelContent2(result.path, input.offset, result.output),
|
|
116
116
|
metadata: { truncated: result.output.type === "file" ? false : result.output.truncated }
|
|
117
117
|
})), Effect.mapError((error) => {
|
|
118
118
|
if (error instanceof ToolFailure)
|
|
@@ -144,7 +144,7 @@ ${suggestions.join(`
|
|
|
144
144
|
});
|
|
145
145
|
})
|
|
146
146
|
};
|
|
147
|
-
var
|
|
147
|
+
var toModelContent2 = (path, offset, output) => {
|
|
148
148
|
if (output.type === "file" && output.encoding === "base64")
|
|
149
149
|
return [
|
|
150
150
|
{ type: "text", text: output.mime === "application/pdf" ? "PDF read successfully" : "Image read successfully" },
|
|
@@ -180,4 +180,4 @@ var toModelContent5 = (path, offset, output) => {
|
|
|
180
180
|
`);
|
|
181
181
|
};
|
|
182
182
|
|
|
183
|
-
export {
|
|
183
|
+
export { name6, Input6, Plugin26, toModelContent2, exports_read };
|
|
@@ -1,17 +1,17 @@
|
|
|
1
1
|
import {
|
|
2
2
|
Service83,
|
|
3
3
|
node87
|
|
4
|
-
} from "./
|
|
4
|
+
} from "./worktree-p3ms0v6j.js";
|
|
5
5
|
import {
|
|
6
6
|
EventSequenceTable2,
|
|
7
7
|
EventTable2
|
|
8
|
-
} from "./
|
|
8
|
+
} from "./worktree-2710q6r3.js";
|
|
9
9
|
import {
|
|
10
10
|
makeUnsafe2
|
|
11
|
-
} from "./
|
|
11
|
+
} from "./worktree-dpkg50ah.js";
|
|
12
12
|
import {
|
|
13
13
|
__export
|
|
14
|
-
} from "./
|
|
14
|
+
} from "./worktree-9rqn6x4v.js";
|
|
15
15
|
|
|
16
16
|
// src/bus.ts
|
|
17
17
|
var exports_bus = {};
|