@opencode/core 0.0.0-dev-19611 → 0.0.0-dev-19615
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 +76 -76
- package/dist/aisdk-native.js +89 -89
- package/dist/aisdk.js +93 -93
- package/dist/app.js +9 -9
- package/dist/bus.js +68 -68
- package/dist/chunks/{image-fhtb1nxk.js → persistent-pty-00ddz8r8.js} +3 -3
- package/dist/chunks/{image-pe73xtx4.js → persistent-pty-0416qr2w.js} +1 -1
- package/dist/chunks/{image-5c0f1prt.js → persistent-pty-06dxphr1.js} +4 -4
- package/dist/chunks/{image-zrpcnpdy.js → persistent-pty-0ewnzcv7.js} +15 -15
- package/dist/chunks/{image-57ez7d0k.js → persistent-pty-0ke265bw.js} +5 -5
- package/dist/chunks/persistent-pty-0mesazry.js +4 -0
- package/dist/chunks/{image-axf0s4jm.js → persistent-pty-0n0nsrah.js} +18 -18
- package/dist/chunks/{image-rd23nqx6.js → persistent-pty-0nnbvqte.js} +20 -20
- package/dist/chunks/{image-33dzk201.js → persistent-pty-0p9gaksb.js} +30 -30
- package/dist/chunks/{image-0paq2nw3.js → persistent-pty-0paq2nw3.js} +1 -1
- package/dist/chunks/{image-0q0f95c6.js → persistent-pty-0q0f95c6.js} +1 -1
- package/dist/chunks/{image-rwmg7s8f.js → persistent-pty-0tmgye68.js} +5 -5
- package/dist/chunks/{image-3t9tj8wy.js → persistent-pty-0w7p6pc4.js} +8 -8
- package/dist/chunks/{image-9h41vc4j.js → persistent-pty-1080qp6z.js} +4 -4
- package/dist/chunks/{image-sssgmf7d.js → persistent-pty-128k6fv0.js} +17 -17
- package/dist/chunks/{image-s1nnrw4q.js → persistent-pty-159vhs70.js} +3 -3
- package/dist/chunks/{image-qw34z0mz.js → persistent-pty-15njw289.js} +11 -11
- package/dist/chunks/{image-mqx0de4k.js → persistent-pty-1665kmjf.js} +8 -8
- package/dist/chunks/{image-6npptpe2.js → persistent-pty-168cxzkt.js} +8 -8
- package/dist/chunks/persistent-pty-16c3xx7h.js +472 -0
- package/dist/chunks/{image-3685kgv2.js → persistent-pty-17yz0dpg.js} +11 -11
- package/dist/chunks/{image-1dazxqgg.js → persistent-pty-1dazxqgg.js} +2 -2
- package/dist/chunks/{image-49q20pp7.js → persistent-pty-1jg83eh2.js} +22 -22
- package/dist/chunks/{image-59sbn0zz.js → persistent-pty-1rcrwsx6.js} +20 -20
- package/dist/chunks/{image-m7pytshy.js → persistent-pty-1v3qmhpx.js} +9 -9
- package/dist/chunks/{image-mfz8wse2.js → persistent-pty-1xmfxxn8.js} +9 -9
- package/dist/chunks/{image-ppz8g910.js → persistent-pty-1z4441q1.js} +30 -30
- package/dist/chunks/{image-21r38tys.js → persistent-pty-21r38tys.js} +1 -1
- package/dist/chunks/{image-2402vzrj.js → persistent-pty-2402vzrj.js} +1 -1
- package/dist/chunks/{image-ep9bxrrg.js → persistent-pty-29eh7px0.js} +15 -15
- package/dist/chunks/{image-xx4v3z4y.js → persistent-pty-2a2cqssq.js} +20 -20
- package/dist/chunks/{image-2a5m3afh.js → persistent-pty-2a5m3afh.js} +1 -1
- package/dist/chunks/{image-5k2nshkd.js → persistent-pty-2ewtncz9.js} +11 -11
- package/dist/chunks/{image-r60qs0tf.js → persistent-pty-2gs48sxz.js} +18 -18
- package/dist/chunks/{image-g36gcegr.js → persistent-pty-2h9bx89r.js} +1 -1
- package/dist/chunks/{image-prq0wc4d.js → persistent-pty-2n22gnr4.js} +18 -18
- package/dist/chunks/{image-fsqzyqf7.js → persistent-pty-2npcnmz2.js} +11 -11
- package/dist/chunks/{image-0dr9jjfc.js → persistent-pty-2nqnw7p6.js} +3 -3
- package/dist/chunks/{image-54tjnctb.js → persistent-pty-2xm786hw.js} +11 -11
- package/dist/chunks/{image-7rjv7hd1.js → persistent-pty-3945624f.js} +39 -39
- package/dist/chunks/{image-3fc6dm20.js → persistent-pty-3fc6dm20.js} +1 -1
- package/dist/chunks/{image-w94394wb.js → persistent-pty-3g8pxf29.js} +12 -12
- package/dist/chunks/{image-3hepkmqq.js → persistent-pty-3hepkmqq.js} +1 -1
- package/dist/chunks/{image-3smtnn6g.js → persistent-pty-3smtnn6g.js} +1 -1
- package/dist/chunks/{image-5ebw3s4g.js → persistent-pty-3tt1qkhr.js} +5 -5
- package/dist/chunks/{image-3tvqynh2.js → persistent-pty-3tvqynh2.js} +1 -1
- package/dist/chunks/{image-qnevtc5c.js → persistent-pty-3ybepafv.js} +14 -14
- package/dist/chunks/{image-hjt4xg1x.js → persistent-pty-47gsdddb.js} +7 -7
- package/dist/chunks/{image-g477egy3.js → persistent-pty-4c8bw516.js} +8 -8
- package/dist/chunks/{image-j5rjq302.js → persistent-pty-4kynjgmh.js} +4 -4
- package/dist/chunks/{image-ebah8r6x.js → persistent-pty-4m2pmvxz.js} +6 -6
- package/dist/chunks/{image-saseaz33.js → persistent-pty-58qggt1v.js} +6 -6
- package/dist/chunks/{image-5c4hm403.js → persistent-pty-5c4hm403.js} +3 -3
- package/dist/chunks/{image-5daktx2q.js → persistent-pty-5daktx2q.js} +1 -1
- package/dist/chunks/{image-cfp1wp84.js → persistent-pty-5t1r04e6.js} +23 -23
- package/dist/chunks/{image-5t3nmthw.js → persistent-pty-5t3nmthw.js} +2 -2
- package/dist/chunks/{image-gse1qw90.js → persistent-pty-606maf0m.js} +4 -4
- package/dist/chunks/persistent-pty-619r8v3y.js +18 -0
- package/dist/chunks/{image-q594ctnf.js → persistent-pty-63trw53e.js} +29 -29
- package/dist/chunks/{image-669tq793.js → persistent-pty-669tq793.js} +1 -1
- package/dist/chunks/{image-qz348hxe.js → persistent-pty-676hzarg.js} +4 -4
- package/dist/chunks/{image-6q87w041.js → persistent-pty-6bnhsggd.js} +51 -51
- package/dist/chunks/{image-806p5xqx.js → persistent-pty-6c4ajerj.js} +26 -26
- package/dist/chunks/{image-d7tzj868.js → persistent-pty-6g5dp8bv.js} +20 -20
- package/dist/chunks/{image-6msgmcgs.js → persistent-pty-6msgmcgs.js} +1 -1
- package/dist/chunks/{image-fgjfhan0.js → persistent-pty-6psyn72r.js} +4 -4
- package/dist/chunks/{image-8e1b1gzh.js → persistent-pty-6qr3rp4k.js} +6 -6
- package/dist/chunks/{image-kbrpdkkr.js → persistent-pty-6scr59yh.js} +13 -13
- package/dist/chunks/{image-71q4at8m.js → persistent-pty-71q4at8m.js} +1 -1
- package/dist/chunks/{image-0evxafpt.js → persistent-pty-78k4hpgd.js} +10 -10
- package/dist/chunks/{image-7f40knje.js → persistent-pty-793b0gca.js} +26 -26
- package/dist/chunks/{image-7s78zkxc.js → persistent-pty-7a3bvnr0.js} +8 -8
- package/dist/chunks/{image-7bmhse3q.js → persistent-pty-7bmhse3q.js} +1 -1
- package/dist/chunks/{image-6s054ecb.js → persistent-pty-7cghnzfc.js} +17 -17
- package/dist/chunks/{image-kvccqq4y.js → persistent-pty-7m2tq7cp.js} +12 -12
- package/dist/chunks/{image-t1fh5c1n.js → persistent-pty-7t7cf13d.js} +5 -5
- package/dist/chunks/{image-hjtap0zg.js → persistent-pty-7wp0300p.js} +20 -20
- package/dist/chunks/{image-0xnze9ce.js → persistent-pty-7zqgez5c.js} +65 -65
- package/dist/chunks/{image-axyt463m.js → persistent-pty-82yprfhz.js} +20 -20
- package/dist/chunks/{image-61s2mknn.js → persistent-pty-836tdgwv.js} +28 -28
- package/dist/chunks/{image-8d7r5vzw.js → persistent-pty-8d7r5vzw.js} +1 -1
- package/dist/chunks/{image-30hxd0b6.js → persistent-pty-8tpwn33w.js} +4 -4
- package/dist/chunks/{image-hswahs1s.js → persistent-pty-8vvpb9k6.js} +10 -10
- package/dist/chunks/{image-7jm5jzq7.js → persistent-pty-93354nf3.js} +14 -14
- package/dist/chunks/{image-98n2zv5b.js → persistent-pty-9avjsh34.js} +20 -20
- package/dist/chunks/{image-cefmkny3.js → persistent-pty-9ccb5f3v.js} +44 -44
- package/dist/chunks/{image-4n3236zn.js → persistent-pty-9h7ckpab.js} +3 -3
- package/dist/chunks/{image-ch1hcs5y.js → persistent-pty-9hdj3naw.js} +36 -36
- package/dist/chunks/{image-pvvjbe5v.js → persistent-pty-9pfgr6qx.js} +30 -30
- package/dist/chunks/{image-2eh5hdcs.js → persistent-pty-9ttc7nk4.js} +6 -6
- package/dist/chunks/{image-pvrrebnp.js → persistent-pty-a09p09ba.js} +9 -9
- package/dist/chunks/{image-a3r4dcrj.js → persistent-pty-a3r4dcrj.js} +2 -2
- package/dist/chunks/{image-7hqs4pm0.js → persistent-pty-a7gjz33w.js} +41 -41
- package/dist/chunks/{image-y18b782a.js → persistent-pty-a7s8hxm1.js} +23 -23
- package/dist/chunks/{image-aaet6srn.js → persistent-pty-aaet6srn.js} +2 -2
- package/dist/chunks/{image-xc5tp58y.js → persistent-pty-akxe4e1m.js} +34 -34
- package/dist/chunks/{image-hfn6h9h0.js → persistent-pty-am406eak.js} +10 -10
- package/dist/chunks/{image-xe94yqgp.js → persistent-pty-amtcdxb0.js} +8 -8
- package/dist/chunks/{image-xrrhyath.js → persistent-pty-aqnkc8vq.js} +36 -36
- package/dist/chunks/{image-5xtgfte3.js → persistent-pty-asmz7wyz.js} +8 -8
- package/dist/chunks/{image-t7vkg8np.js → persistent-pty-awwjsxkk.js} +17 -17
- package/dist/chunks/{image-22zy1c33.js → persistent-pty-b5xe1e3z.js} +8 -8
- package/dist/chunks/{image-b6gygkdw.js → persistent-pty-b6gygkdw.js} +2 -2
- package/dist/chunks/{image-pk7fv021.js → persistent-pty-b7wd86f2.js} +5 -5
- package/dist/chunks/{image-4qh8ec8f.js → persistent-pty-b8hbvna6.js} +4 -4
- package/dist/chunks/{image-yxa2jv7b.js → persistent-pty-bmdpbe9w.js} +13 -13
- package/dist/chunks/{image-g7q9pgkk.js → persistent-pty-bnn7b9a6.js} +2 -2
- package/dist/chunks/{image-zhq6vg7a.js → persistent-pty-bz85s9hh.js} +1 -1
- package/dist/chunks/{image-7wtn6qfv.js → persistent-pty-ccwg80eh.js} +29 -29
- package/dist/chunks/{image-41kev6en.js → persistent-pty-cftjh0pp.js} +12 -12
- package/dist/chunks/{image-ygkn4pcb.js → persistent-pty-cj23dd3r.js} +1 -1
- package/dist/chunks/{image-zsfad6mw.js → persistent-pty-cng9f4dx.js} +14 -14
- package/dist/chunks/{image-3zykk5as.js → persistent-pty-cqf2xh9s.js} +8 -8
- package/dist/chunks/{image-5bekvhzp.js → persistent-pty-cqvrk7k3.js} +9 -9
- package/dist/chunks/{image-gvkmt430.js → persistent-pty-crptryd9.js} +9 -9
- package/dist/chunks/{image-p44d8wdy.js → persistent-pty-d2aac7k2.js} +5 -5
- package/dist/chunks/{image-d4he2qe1.js → persistent-pty-d3tz2ej1.js} +9 -9
- package/dist/chunks/{image-4mfmjxec.js → persistent-pty-d9gs8gt2.js} +9 -9
- package/dist/chunks/{image-n17g706s.js → persistent-pty-da8nh50n.js} +1 -1
- package/dist/chunks/{image-8y2shdgp.js → persistent-pty-dc3gn177.js} +24 -24
- package/dist/chunks/{image-dj2t23y0.js → persistent-pty-dj2t23y0.js} +2 -2
- package/dist/chunks/{image-zbhf92rx.js → persistent-pty-dmyqzcf7.js} +15 -15
- package/dist/chunks/{image-dpkg50ah.js → persistent-pty-dpkg50ah.js} +1 -1
- package/dist/chunks/{image-0qaz1sfc.js → persistent-pty-e058e3s9.js} +11 -11
- package/dist/chunks/{image-95hsdyye.js → persistent-pty-e2516hzg.js} +10 -10
- package/dist/chunks/{image-10fqs124.js → persistent-pty-e30th1gq.js} +15 -15
- package/dist/chunks/{image-e5nv3ght.js → persistent-pty-e5nv3ght.js} +2 -2
- package/dist/chunks/{image-922nm86p.js → persistent-pty-ea0wf7ef.js} +24 -24
- package/dist/chunks/{image-s8d7rejh.js → persistent-pty-eaj1djv9.js} +6 -6
- package/dist/chunks/{image-aj6515bh.js → persistent-pty-ecvt32vq.js} +40 -40
- package/dist/chunks/{image-ef5x83kb.js → persistent-pty-ef5x83kb.js} +1 -1
- package/dist/chunks/{image-wde5h6bz.js → persistent-pty-ems0kgp9.js} +29 -29
- package/dist/chunks/{image-cs2qrq3p.js → persistent-pty-emwdkzex.js} +2 -2
- package/dist/chunks/{image-sy6qbg9d.js → persistent-pty-etagmg0f.js} +1 -1
- package/dist/chunks/{image-etq0c3wd.js → persistent-pty-etq0c3wd.js} +1 -1
- package/dist/chunks/{image-ggv97vhn.js → persistent-pty-eyx2h93p.js} +4 -4
- package/dist/chunks/{image-bxtjsyk9.js → persistent-pty-f729kafc.js} +13 -13
- package/dist/chunks/{image-afdssyjb.js → persistent-pty-f73rjn58.js} +4 -4
- package/dist/chunks/{image-y56ehv6b.js → persistent-pty-f7ehr2sm.js} +8 -8
- package/dist/chunks/{image-e1kg9vz0.js → persistent-pty-f8x48a86.js} +32 -32
- package/dist/chunks/{image-dt0jwwwa.js → persistent-pty-fjr2n3hs.js} +12 -12
- package/dist/chunks/{image-f2gth83d.js → persistent-pty-fp01c4dv.js} +9 -9
- package/dist/chunks/{image-1kgb4aq1.js → persistent-pty-fq80gekt.js} +11 -11
- package/dist/chunks/{image-yngbnjdn.js → persistent-pty-fv78erfy.js} +14 -14
- package/dist/chunks/{image-fxbjtjnd.js → persistent-pty-fxbjtjnd.js} +1 -1
- package/dist/chunks/{image-tv9x8hxg.js → persistent-pty-g14qqa5m.js} +9 -9
- package/dist/chunks/{image-1z5mtsne.js → persistent-pty-g6vw9x20.js} +2 -2
- package/dist/chunks/{image-8dhatp37.js → persistent-pty-gcsw9js5.js} +2 -2
- package/dist/chunks/{image-gd4qta3r.js → persistent-pty-gd4qta3r.js} +1 -1
- package/dist/chunks/{image-5wmgxaxj.js → persistent-pty-gf6drbgy.js} +17 -17
- package/dist/chunks/{image-h79m35fy.js → persistent-pty-gg33va22.js} +16 -16
- package/dist/chunks/{image-7ac170kv.js → persistent-pty-gnx4ytbv.js} +4 -4
- package/dist/chunks/{image-gv6a8nnw.js → persistent-pty-gv6a8nnw.js} +2 -2
- package/dist/chunks/{image-yzvrqxqx.js → persistent-pty-gzyg5frm.js} +8 -8
- package/dist/chunks/{image-h03wrkyp.js → persistent-pty-h03wrkyp.js} +2 -2
- package/dist/chunks/{image-h6r3nrb9.js → persistent-pty-h6r3nrb9.js} +1 -1
- package/dist/chunks/{image-h6vf3j39.js → persistent-pty-h6vf3j39.js} +1 -1
- package/dist/chunks/{image-p5k166g4.js → persistent-pty-h7jbsx2h.js} +15 -15
- package/dist/chunks/{image-hdnk95c8.js → persistent-pty-hdnk95c8.js} +2 -2
- package/dist/chunks/{image-7sny0gx5.js → persistent-pty-hdw8tt72.js} +25 -25
- package/dist/chunks/{image-f270k846.js → persistent-pty-he5sq67e.js} +29 -29
- package/dist/chunks/{image-ssnhfp6a.js → persistent-pty-hsvhxp1c.js} +9 -9
- package/dist/chunks/{image-j56e64zr.js → persistent-pty-j56e64zr.js} +1 -1
- package/dist/chunks/{image-bpr49tj0.js → persistent-pty-j5sy72my.js} +14 -14
- package/dist/chunks/{image-pmr4s4kc.js → persistent-pty-j83byb14.js} +4 -4
- package/dist/chunks/{image-jxphv8sm.js → persistent-pty-j956qkgw.js} +23 -23
- package/dist/chunks/persistent-pty-jh3x0mgs.js +251 -0
- package/dist/chunks/{image-qbjqdxea.js → persistent-pty-jqw55cbk.js} +27 -27
- package/dist/chunks/{image-bjsxm6fs.js → persistent-pty-jz7vjy1b.js} +9 -9
- package/dist/chunks/{image-vzvpgcjq.js → persistent-pty-k7nyhs2p.js} +8 -8
- package/dist/chunks/{image-hwkbadth.js → persistent-pty-kayctt86.js} +6 -6
- package/dist/chunks/{image-sbs223z4.js → persistent-pty-kgv25dq2.js} +15 -15
- package/dist/chunks/{image-m55pfywp.js → persistent-pty-kr15r9j0.js} +4 -4
- package/dist/chunks/{image-bva47t1w.js → persistent-pty-ks9mcypz.js} +7 -7
- package/dist/chunks/{image-fvanntqq.js → persistent-pty-kxpygcw9.js} +6 -6
- package/dist/chunks/{image-010j0rjj.js → persistent-pty-m01mrk84.js} +4 -4
- package/dist/chunks/{image-m0jqrx5p.js → persistent-pty-m0jqrx5p.js} +2 -2
- package/dist/chunks/{image-b5f0xpv3.js → persistent-pty-m7n2arr4.js} +23 -23
- package/dist/chunks/{image-m9w0rfyh.js → persistent-pty-m9w0rfyh.js} +1 -1
- package/dist/chunks/{image-g190xswt.js → persistent-pty-magykp64.js} +4 -4
- package/dist/chunks/{image-t676541r.js → persistent-pty-mawyg7zm.js} +11 -11
- package/dist/chunks/{image-33w4ejhs.js → persistent-pty-mfqp6xfm.js} +9 -9
- package/dist/chunks/{image-d5g3wzfd.js → persistent-pty-mk55h7rv.js} +9 -9
- package/dist/chunks/{image-1bbkgx8g.js → persistent-pty-mvfsc1pv.js} +3 -3
- package/dist/chunks/{image-zt441g4g.js → persistent-pty-mzm91676.js} +18 -18
- package/dist/chunks/{image-waxe3yd1.js → persistent-pty-n6j2na38.js} +3 -3
- package/dist/chunks/{image-4w2yzhqg.js → persistent-pty-n9vsahr8.js} +4 -4
- package/dist/chunks/{image-j2vdbwsr.js → persistent-pty-napk2q6z.js} +4 -4
- package/dist/chunks/{image-fjvydvzm.js → persistent-pty-ndqtf2h8.js} +6 -6
- package/dist/chunks/{image-9mvt1ex4.js → persistent-pty-ngtvz82x.js} +8 -8
- package/dist/chunks/{image-man2vsb5.js → persistent-pty-nnxcy4dv.js} +16 -16
- package/dist/chunks/{image-5bny2dwb.js → persistent-pty-nwkxvrjh.js} +12 -12
- package/dist/chunks/{image-818pfwc9.js → persistent-pty-pb1eahw5.js} +8 -8
- package/dist/chunks/{image-pjvnvgmy.js → persistent-pty-pjvnvgmy.js} +1 -1
- package/dist/chunks/{image-x9afmtav.js → persistent-pty-pk7e3h3q.js} +33 -33
- package/dist/chunks/{image-pknna89w.js → persistent-pty-pknna89w.js} +1 -1
- package/dist/chunks/{image-3p19zrd2.js → persistent-pty-pnb9ns89.js} +80 -80
- package/dist/chunks/{image-ktwkz8s9.js → persistent-pty-py1dnmkf.js} +16 -16
- package/dist/chunks/{image-4jygvmvn.js → persistent-pty-q0w303rt.js} +35 -35
- package/dist/chunks/{image-nv2ksrja.js → persistent-pty-q163eq15.js} +10 -10
- package/dist/chunks/{image-j66pfzft.js → persistent-pty-q4mq6gzb.js} +5 -5
- package/dist/chunks/{image-jq1p61tn.js → persistent-pty-qcvkt5ys.js} +10 -10
- package/dist/chunks/{image-4a27vn7r.js → persistent-pty-qd7g4580.js} +17 -17
- package/dist/chunks/{image-7dqw4kz8.js → persistent-pty-qgn6gcr1.js} +5 -5
- package/dist/chunks/{image-1a4hyc8b.js → persistent-pty-qqkyq49c.js} +22 -22
- package/dist/chunks/{image-t0wbe1cv.js → persistent-pty-qqr71d1k.js} +4 -4
- package/dist/chunks/{image-qsdy395h.js → persistent-pty-qsdy395h.js} +1 -1
- package/dist/chunks/{image-ret12whd.js → persistent-pty-qsnd21jp.js} +1 -1
- package/dist/chunks/{image-vs59tkqa.js → persistent-pty-qyaww9ez.js} +8 -8
- package/dist/chunks/{image-qmh473g3.js → persistent-pty-r37qap0f.js} +26 -26
- package/dist/chunks/{image-cbbptew9.js → persistent-pty-r3hedab7.js} +9 -9
- package/dist/chunks/{image-x497tgc1.js → persistent-pty-r5fm14bv.js} +1 -1
- package/dist/chunks/{image-v6vfg88f.js → persistent-pty-r8jacvma.js} +11 -11
- package/dist/chunks/{image-r9mregkx.js → persistent-pty-r9mregkx.js} +2 -2
- package/dist/chunks/{image-y2n85772.js → persistent-pty-rb223waz.js} +12 -12
- package/dist/chunks/{image-rdw6cm16.js → persistent-pty-rdw6cm16.js} +1 -1
- package/dist/chunks/{image-y8bs7pn1.js → persistent-pty-rgpm5swf.js} +25 -25
- package/dist/chunks/{image-r8xr0va3.js → persistent-pty-rhraev7y.js} +4 -4
- package/dist/chunks/persistent-pty-rjc8hf95.js +26 -0
- package/dist/chunks/{image-c76sny21.js → persistent-pty-rweh3sg7.js} +39 -39
- package/dist/chunks/{image-azxt8y52.js → persistent-pty-rwyftrqw.js} +15 -15
- package/dist/chunks/{image-n03aapsh.js → persistent-pty-ryphtns4.js} +43 -43
- package/dist/chunks/{image-8r48jvq9.js → persistent-pty-s4xyb5fw.js} +11 -11
- package/dist/chunks/{image-eeh91h1y.js → persistent-pty-s9gf5sr7.js} +14 -14
- package/dist/chunks/{image-1zqsf2j9.js → persistent-pty-sgwh5nyn.js} +8 -8
- package/dist/chunks/{image-6ya7w255.js → persistent-pty-shcrswgg.js} +6 -6
- package/dist/chunks/{image-k1m65rvn.js → persistent-pty-skmkmxp0.js} +2 -2
- package/dist/chunks/{image-dh976vjg.js → persistent-pty-smhn81zh.js} +18 -18
- package/dist/chunks/{image-ve1hctsm.js → persistent-pty-sv9chvdr.js} +23 -23
- package/dist/chunks/{image-jfqtm2ew.js → persistent-pty-t2fc4mz5.js} +4 -4
- package/dist/chunks/{image-dw06mjkt.js → persistent-pty-t2pnbfzy.js} +13 -13
- package/dist/chunks/{image-cacjtj5k.js → persistent-pty-t3sbk6vh.js} +5 -5
- package/dist/chunks/{image-2c0ya96f.js → persistent-pty-t6sne0kb.js} +8 -8
- package/dist/chunks/{image-tazgh4e4.js → persistent-pty-tazgh4e4.js} +1 -1
- package/dist/chunks/{image-tcezcvh9.js → persistent-pty-tcezcvh9.js} +1 -1
- package/dist/chunks/{image-3wctd9by.js → persistent-pty-tdgh5t2p.js} +16 -16
- package/dist/chunks/{image-tdstcens.js → persistent-pty-tdstcens.js} +1 -1
- package/dist/chunks/{image-enrjqv4h.js → persistent-pty-tejhb5zm.js} +17 -17
- package/dist/chunks/{image-t0fxg8b9.js → persistent-pty-tn0aqsam.js} +5 -5
- package/dist/chunks/{image-kbnc93aj.js → persistent-pty-tvq811ks.js} +3 -3
- package/dist/chunks/{image-tvtrv512.js → persistent-pty-tvtrv512.js} +1 -1
- package/dist/chunks/{image-87wkjvtv.js → persistent-pty-v623y87q.js} +19 -19
- package/dist/chunks/{image-dh6wvp2k.js → persistent-pty-v6jj17d0.js} +14 -14
- package/dist/chunks/{image-veqvce7d.js → persistent-pty-veqvce7d.js} +1 -1
- package/dist/chunks/{image-4vte9j2j.js → persistent-pty-vewj4445.js} +9 -9
- package/dist/chunks/{image-f5crtqgd.js → persistent-pty-vj9rsbtx.js} +109 -109
- package/dist/chunks/{image-v90b78v5.js → persistent-pty-vrgp73wa.js} +24 -24
- package/dist/chunks/{image-ey7m5wa6.js → persistent-pty-vsw1grft.js} +10 -10
- package/dist/chunks/{image-h5jfkxsw.js → persistent-pty-vsx7z4qv.js} +18 -18
- package/dist/chunks/{image-vzcthcp8.js → persistent-pty-vzcthcp8.js} +1 -1
- package/dist/chunks/{image-96dvqytq.js → persistent-pty-w38nqpbs.js} +24 -24
- package/dist/chunks/{image-w3wsvvr9.js → persistent-pty-w3wsvvr9.js} +1 -1
- package/dist/chunks/{image-c4qbqqm9.js → persistent-pty-wbfsxz0q.js} +8 -8
- package/dist/chunks/{image-wd87259q.js → persistent-pty-wd87259q.js} +1 -1
- package/dist/chunks/{image-c605ygk1.js → persistent-pty-wjh3v1jb.js} +47 -47
- package/dist/chunks/{image-w97vtpxb.js → persistent-pty-wpfxdaf4.js} +1 -1
- package/dist/chunks/{image-x1ezjp6w.js → persistent-pty-x1ezjp6w.js} +1 -1
- package/dist/chunks/{image-n4wre08x.js → persistent-pty-x45er773.js} +23 -23
- package/dist/chunks/{image-f2jvx8nr.js → persistent-pty-x5w67hdr.js} +3 -3
- package/dist/chunks/{image-cmra4ph4.js → persistent-pty-xcj7mwvd.js} +83 -83
- package/dist/chunks/{image-s7yhcq7p.js → persistent-pty-xk66p9py.js} +14 -14
- package/dist/chunks/{image-m5wgsj6n.js → persistent-pty-xvk71cdz.js} +2 -2
- package/dist/chunks/{image-hnbzzefg.js → persistent-pty-xxwh85ck.js} +22 -22
- package/dist/chunks/{image-v8g0avwf.js → persistent-pty-xznwr7ns.js} +9 -9
- package/dist/chunks/{image-y1fvbwt7.js → persistent-pty-y1fvbwt7.js} +1 -1
- package/dist/chunks/{image-a84h0eb3.js → persistent-pty-ya92ykk0.js} +27 -27
- package/dist/chunks/{image-ybhbtxjg.js → persistent-pty-ybhbtxjg.js} +3 -3
- package/dist/chunks/{image-ghtm10aa.js → persistent-pty-yhj4pxny.js} +6 -6
- package/dist/chunks/{image-yjptyezs.js → persistent-pty-yjptyezs.js} +2 -2
- package/dist/chunks/{image-hnakerc1.js → persistent-pty-yk4whm8q.js} +7 -7
- package/dist/chunks/{image-yrhqyw5v.js → persistent-pty-yrhqyw5v.js} +1 -1
- package/dist/chunks/{image-yrznvahk.js → persistent-pty-yrznvahk.js} +2 -2
- package/dist/chunks/{image-tb6c5549.js → persistent-pty-yxfwmy22.js} +27 -27
- package/dist/chunks/{image-whzj9w6d.js → persistent-pty-yyw42t83.js} +13 -13
- package/dist/chunks/{image-z0bkrqjs.js → persistent-pty-z0bkrqjs.js} +1 -1
- package/dist/chunks/{image-z63w68vq.js → persistent-pty-z63w68vq.js} +2 -2
- package/dist/chunks/{image-zeh9ct20.js → persistent-pty-zeh9ct20.js} +2 -2
- package/dist/chunks/{image-fr9qgvrp.js → persistent-pty-zngsg18x.js} +36 -36
- package/dist/chunks/{image-zr2ceqn5.js → persistent-pty-zr2ceqn5.js} +1 -1
- package/dist/chunks/{image-cpce81tk.js → persistent-pty-zs6fhvxe.js} +13 -13
- package/dist/chunks/{image-zxq2ej10.js → persistent-pty-zxq2ej10.js} +1 -1
- package/dist/chunks/{image-ydv41jj4.js → persistent-pty-zyz1zm3y.js} +9 -9
- package/dist/codemode/catalog.js +1 -1
- package/dist/codemode/instructions.js +9 -9
- package/dist/codemode/tool.js +2 -2
- package/dist/command.js +80 -80
- package/dist/config/discovery.js +81 -81
- package/dist/config/markdown.js +1 -1
- package/dist/config/normalize.js +105 -105
- package/dist/config/plugin/agent.js +124 -124
- package/dist/config/plugin/command.js +213 -213
- 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 +122 -122
- package/dist/config/plugin/instruction.js +89 -89
- package/dist/config/plugin/location-watcher.js +124 -124
- package/dist/config/plugin/mcp.js +131 -131
- package/dist/config/plugin/policy.js +122 -122
- package/dist/config/plugin/provider.js +121 -121
- package/dist/config/plugin/reference.js +124 -124
- package/dist/config/plugin/shell.js +124 -124
- package/dist/config/plugin/skill-file.js +101 -101
- package/dist/config/plugin/skill.js +143 -143
- package/dist/config/plugin/snapshot.js +122 -122
- package/dist/config/plugin/source.js +123 -123
- package/dist/config/plugin/tool-output.js +124 -124
- package/dist/config/plugin/websearch.js +123 -123
- package/dist/config/plugin/worktree.js +125 -125
- 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 +76 -76
- 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 +365 -365
- 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 +225 -225
- package/dist/filesystem/protected.js +1 -1
- package/dist/filesystem/search.js +102 -102
- package/dist/filesystem/watcher-binding.js +1 -1
- package/dist/filesystem/watcher.js +13 -13
- package/dist/filesystem.js +105 -105
- package/dist/form.js +73 -73
- package/dist/formatter/builtins.js +4 -4
- package/dist/formatter.js +86 -86
- package/dist/generate.js +99 -99
- 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 +90 -90
- 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 +4 -4
- package/dist/instance/service.js +5 -5
- package/dist/instance.js +356 -356
- package/dist/instruction-discovery.js +84 -84
- package/dist/instructions/builtins.js +86 -86
- package/dist/instructions/index.js +3 -3
- package/dist/integration/connection.js +1 -1
- package/dist/integration.js +77 -77
- package/dist/job.js +76 -76
- package/dist/kv/sql.js +2 -2
- package/dist/kv.js +72 -72
- package/dist/location-activity.js +132 -132
- package/dist/location-mutation.js +103 -103
- package/dist/location-service-map.js +85 -85
- package/dist/location-services.js +353 -353
- package/dist/location.js +84 -84
- package/dist/mcp/client.js +90 -90
- package/dist/mcp/index.js +107 -107
- package/dist/mcp/instructions.js +126 -126
- package/dist/mcp/oauth.js +74 -74
- package/dist/mcp/stdio.js +89 -89
- package/dist/mime.js +1 -1
- package/dist/modal/models.js +90 -90
- package/dist/model-resolver.js +98 -98
- package/dist/model.js +91 -91
- package/dist/models-dev.js +105 -105
- package/dist/oauth/page.js +1 -1
- package/dist/permission/saved.js +75 -75
- package/dist/permission/sql.js +5 -5
- package/dist/permission.js +104 -104
- package/dist/persistent-pty/binary.bun.js +1 -1
- package/dist/persistent-pty/daemon.js +1 -1
- package/dist/persistent-pty/index.js +85 -85
- package/dist/persistent-pty/pty-binding.js +1 -1
- package/dist/persistent-pty.js +74 -74
- package/dist/plugin/agent.js +103 -103
- package/dist/plugin/command.js +100 -100
- package/dist/plugin/hooks.js +5 -5
- package/dist/plugin/host.js +216 -216
- package/dist/plugin/instance.js +5 -5
- package/dist/plugin/internal.js +327 -327
- package/dist/plugin/mcp-codemode-exclusion.js +3 -3
- package/dist/plugin/models-dev.js +94 -94
- package/dist/plugin/module.js +7 -7
- package/dist/plugin/optimize.js +4 -4
- package/dist/plugin/plan.js +101 -101
- package/dist/plugin/promise.js +1 -1
- package/dist/plugin/provider/alibaba.js +2 -2
- package/dist/plugin/provider/amazon-bedrock.js +89 -89
- package/dist/plugin/provider/azure.js +121 -121
- package/dist/plugin/provider/cerebras.js +89 -89
- package/dist/plugin/provider/cloudflare-ai-gateway.js +121 -121
- package/dist/plugin/provider/cloudflare-workers-ai.js +121 -121
- 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 +89 -89
- package/dist/plugin/provider/llmgateway.js +89 -89
- package/dist/plugin/provider/lmstudio.js +121 -121
- package/dist/plugin/provider/modal.js +91 -91
- package/dist/plugin/provider/nvidia.js +89 -89
- package/dist/plugin/provider/ollama.js +121 -121
- package/dist/plugin/provider/openai-compatible.js +1 -1
- package/dist/plugin/provider/openai.js +93 -93
- 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/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 +121 -121
- package/dist/plugin/provider/xai.js +90 -90
- package/dist/plugin/provider/zenmux.js +89 -89
- package/dist/plugin/provider.js +159 -159
- 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 +346 -346
- package/dist/plugin/update.js +4 -4
- package/dist/plugin/variant.js +91 -91
- package/dist/plugin/vcs/git.js +85 -85
- 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 +6 -6
- package/dist/plugin/websearch/index.js +9 -9
- package/dist/plugin/websearch/mcp.js +6 -6
- package/dist/plugin/websearch/parallel.js +8 -8
- package/dist/plugin/websearch/tavily.js +6 -6
- package/dist/plugin/websearch/tinyfish.js +6 -6
- package/dist/plugin.js +227 -227
- package/dist/project/schema.js +4 -4
- package/dist/project/sql.js +4 -4
- package/dist/project.js +83 -83
- package/dist/provider.js +90 -90
- 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 +93 -93
- package/dist/reference/instructions.js +88 -88
- package/dist/reference.js +90 -90
- package/dist/repository-cache.js +80 -80
- package/dist/repository.js +1 -1
- package/dist/ripgrep/binary.js +2 -2
- package/dist/ripgrep.js +96 -96
- package/dist/rpc.js +81 -81
- package/dist/schema.js +1 -1
- package/dist/session/command.js +73 -73
- package/dist/session/compaction.js +131 -131
- 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 +3 -3
- package/dist/session/event.js +1 -1
- package/dist/session/execution/restart.js +220 -220
- package/dist/session/execution.js +126 -126
- package/dist/session/generate.js +150 -150
- package/dist/session/history.js +13 -13
- package/dist/session/inbox.js +85 -85
- 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 +96 -96
- package/dist/session/message-updater.js +2 -2
- package/dist/session/message.js +1 -1
- package/dist/session/model-request.js +115 -115
- package/dist/session/model-transport.js +7 -7
- package/dist/session/move.js +130 -130
- 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 +98 -98
- package/dist/session/runner/publish-llm-event.js +3 -3
- package/dist/session/runner/retry.js +114 -114
- package/dist/session/runner/step.js +125 -125
- package/dist/session/runner/to-llm-message.js +2 -2
- package/dist/session/schema.js +1 -1
- package/dist/session/session.js +170 -170
- 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 +209 -209
- package/dist/session/system-prompt.js +5 -5
- package/dist/session/title.js +155 -155
- package/dist/session/to-session-error.js +111 -111
- package/dist/session/transfer.js +214 -214
- package/dist/session/usage.js +1 -1
- package/dist/session.js +213 -213
- package/dist/shell/parse.js +6 -6
- package/dist/shell/result.js +1 -1
- package/dist/shell/scan.js +1 -1
- package/dist/shell/select.js +11 -11
- package/dist/shell.js +137 -137
- package/dist/skill/discovery.js +6 -6
- package/dist/skill/instructions.js +104 -104
- package/dist/skill.js +107 -107
- package/dist/snapshot.js +88 -88
- 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 +125 -125
- package/dist/tool/plugin/edit.js +117 -117
- package/dist/tool/plugin/file-diff.js +1 -1
- package/dist/tool/plugin/glob.js +119 -119
- package/dist/tool/plugin/grep.js +123 -123
- package/dist/tool/plugin/opencode.js +3 -3
- package/dist/tool/plugin/patch.js +121 -121
- package/dist/tool/plugin/question.js +104 -104
- package/dist/tool/plugin/read.js +118 -118
- package/dist/tool/plugin/shell.js +216 -216
- package/dist/tool/plugin/skill.js +110 -110
- package/dist/tool/plugin/subagent.js +218 -218
- package/dist/tool/plugin/webfetch.js +111 -111
- package/dist/tool/plugin/websearch.js +113 -113
- package/dist/tool/plugin/write.js +115 -115
- 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 +15 -15
- 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 +5 -5
- package/dist/v1/config/attachment.js +4 -4
- package/dist/v1/config/command.js +3 -3
- package/dist/v1/config/config.js +16 -16
- package/dist/v1/config/error.js +2 -2
- package/dist/v1/config/formatter.js +5 -5
- package/dist/v1/config/layout.js +1 -1
- package/dist/v1/config/lsp.js +5 -5
- package/dist/v1/config/mcp.js +4 -4
- package/dist/v1/config/migrate.js +91 -91
- package/dist/v1/config/permission.js +3 -3
- package/dist/v1/config/plugin.js +3 -3
- package/dist/v1/config/provider-options.js +1 -1
- package/dist/v1/config/provider.js +2 -2
- package/dist/v1/config/server.js +2 -2
- package/dist/v1/config/skills.js +3 -3
- package/dist/v1/permission.js +1 -1
- package/dist/vcs/patch.js +1 -1
- package/dist/vcs.js +88 -88
- package/dist/websearch.js +83 -83
- 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 +75 -75
- package/dist/worktree/directory.js +2 -2
- package/dist/worktree/git.js +8 -8
- package/dist/worktree/refresh.js +345 -345
- package/dist/worktree/sql.js +5 -5
- package/dist/worktree.js +89 -89
- package/package.json +8 -8
- package/dist/chunks/image-7gmd6s9f.js +0 -472
- package/dist/chunks/image-ae2tejpt.js +0 -251
- package/dist/chunks/image-kjz2ypmt.js +0 -26
- package/dist/chunks/image-qapv375x.js +0 -4
- package/dist/chunks/image-rap9a73h.js +0 -18
- /package/dist/chunks/{image-0qkdqm5v.js → persistent-pty-0qkdqm5v.js} +0 -0
- /package/dist/chunks/{image-0zkw76rk.js → persistent-pty-0zkw76rk.js} +0 -0
- /package/dist/chunks/{image-17cy0kzp.js → persistent-pty-17cy0kzp.js} +0 -0
- /package/dist/chunks/{image-1cnp2v09.js → persistent-pty-1cnp2v09.js} +0 -0
- /package/dist/chunks/{image-1kg9ymc8.js → persistent-pty-1kg9ymc8.js} +0 -0
- /package/dist/chunks/{image-2710q6r3.js → persistent-pty-2710q6r3.js} +0 -0
- /package/dist/chunks/{image-2axfhc9x.js → persistent-pty-2axfhc9x.js} +0 -0
- /package/dist/chunks/{image-2c3vjs8z.js → persistent-pty-2c3vjs8z.js} +0 -0
- /package/dist/chunks/{image-359p4xyc.js → persistent-pty-359p4xyc.js} +0 -0
- /package/dist/chunks/{image-3asan66x.js → persistent-pty-3asan66x.js} +0 -0
- /package/dist/chunks/{image-3v8g72cx.js → persistent-pty-3v8g72cx.js} +0 -0
- /package/dist/chunks/{image-3w5fmr99.js → persistent-pty-3w5fmr99.js} +0 -0
- /package/dist/chunks/{image-3wcehsnq.js → persistent-pty-3wcehsnq.js} +0 -0
- /package/dist/chunks/{image-43n2bw4t.js → persistent-pty-43n2bw4t.js} +0 -0
- /package/dist/chunks/{image-4knz6hnm.js → persistent-pty-4knz6hnm.js} +0 -0
- /package/dist/chunks/{image-4vcrnpx2.js → persistent-pty-4vcrnpx2.js} +0 -0
- /package/dist/chunks/{image-4y7fprxs.js → persistent-pty-4y7fprxs.js} +0 -0
- /package/dist/chunks/{image-53557ph1.js → persistent-pty-53557ph1.js} +0 -0
- /package/dist/chunks/{image-550bvhaj.js → persistent-pty-550bvhaj.js} +0 -0
- /package/dist/chunks/{image-5qd3pb7m.js → persistent-pty-5qd3pb7m.js} +0 -0
- /package/dist/chunks/{image-6prwharc.js → persistent-pty-6prwharc.js} +0 -0
- /package/dist/chunks/{image-7akdwqpd.js → persistent-pty-7akdwqpd.js} +0 -0
- /package/dist/chunks/{image-7m9af43g.js → persistent-pty-7m9af43g.js} +0 -0
- /package/dist/chunks/{image-822emrt2.js → persistent-pty-822emrt2.js} +0 -0
- /package/dist/chunks/{image-88xbtdfr.js → persistent-pty-88xbtdfr.js} +0 -0
- /package/dist/chunks/{image-8n3pysct.js → persistent-pty-8n3pysct.js} +0 -0
- /package/dist/chunks/{image-922hggd3.js → persistent-pty-922hggd3.js} +0 -0
- /package/dist/chunks/{image-9a4afbnw.js → persistent-pty-9a4afbnw.js} +0 -0
- /package/dist/chunks/{image-9rqn6x4v.js → persistent-pty-9rqn6x4v.js} +0 -0
- /package/dist/chunks/{image-a6k6eb26.js → persistent-pty-a6k6eb26.js} +0 -0
- /package/dist/chunks/{image-af5trqkr.js → persistent-pty-af5trqkr.js} +0 -0
- /package/dist/chunks/{image-afrmfg78.js → persistent-pty-afrmfg78.js} +0 -0
- /package/dist/chunks/{image-aqzs7mqg.js → persistent-pty-aqzs7mqg.js} +0 -0
- /package/dist/chunks/{image-atq7p7m5.js → persistent-pty-atq7p7m5.js} +0 -0
- /package/dist/chunks/{image-bkyjaxrp.js → persistent-pty-bkyjaxrp.js} +0 -0
- /package/dist/chunks/{image-bmr6ed5q.js → persistent-pty-bmr6ed5q.js} +0 -0
- /package/dist/chunks/{image-cf4snx6d.js → persistent-pty-cf4snx6d.js} +0 -0
- /package/dist/chunks/{image-cvy3z8tj.js → persistent-pty-cvy3z8tj.js} +0 -0
- /package/dist/chunks/{image-d9fn303g.js → persistent-pty-d9fn303g.js} +0 -0
- /package/dist/chunks/{image-d9jj8t3e.js → persistent-pty-d9jj8t3e.js} +0 -0
- /package/dist/chunks/{image-dajrwvna.js → persistent-pty-dajrwvna.js} +0 -0
- /package/dist/chunks/{image-dap0rakb.js → persistent-pty-dap0rakb.js} +0 -0
- /package/dist/chunks/{image-df08tz66.js → persistent-pty-df08tz66.js} +0 -0
- /package/dist/chunks/{image-dy18nga0.js → persistent-pty-dy18nga0.js} +0 -0
- /package/dist/chunks/{image-e5kj55wp.js → persistent-pty-e5kj55wp.js} +0 -0
- /package/dist/chunks/{image-e73j6tqm.js → persistent-pty-e73j6tqm.js} +0 -0
- /package/dist/chunks/{image-ec1grn59.js → persistent-pty-ec1grn59.js} +0 -0
- /package/dist/chunks/{image-eh3zwz77.js → persistent-pty-eh3zwz77.js} +0 -0
- /package/dist/chunks/{image-emrn6kk6.js → persistent-pty-emrn6kk6.js} +0 -0
- /package/dist/chunks/{image-f0mxakyp.js → persistent-pty-f0mxakyp.js} +0 -0
- /package/dist/chunks/{image-f6n9ztr4.js → persistent-pty-f6n9ztr4.js} +0 -0
- /package/dist/chunks/{image-faypxj3z.js → persistent-pty-faypxj3z.js} +0 -0
- /package/dist/chunks/{image-fd410y7t.js → persistent-pty-fd410y7t.js} +0 -0
- /package/dist/chunks/{image-fxgpk5d8.js → persistent-pty-fxgpk5d8.js} +0 -0
- /package/dist/chunks/{image-g4wezp1m.js → persistent-pty-g4wezp1m.js} +0 -0
- /package/dist/chunks/{image-g86h250q.js → persistent-pty-g86h250q.js} +0 -0
- /package/dist/chunks/{image-gebd4c9n.js → persistent-pty-gebd4c9n.js} +0 -0
- /package/dist/chunks/{image-gftt206x.js → persistent-pty-gftt206x.js} +0 -0
- /package/dist/chunks/{image-hjbc5kem.js → persistent-pty-hjbc5kem.js} +0 -0
- /package/dist/chunks/{image-hk9envan.js → persistent-pty-hk9envan.js} +0 -0
- /package/dist/chunks/{image-hrnqkpcd.js → persistent-pty-hrnqkpcd.js} +0 -0
- /package/dist/chunks/{image-j2ntwpah.js → persistent-pty-j2ntwpah.js} +0 -0
- /package/dist/chunks/{image-j5zkgpj8.js → persistent-pty-j5zkgpj8.js} +0 -0
- /package/dist/chunks/{image-jexxy024.js → persistent-pty-jexxy024.js} +0 -0
- /package/dist/chunks/{image-jr7sbwjy.js → persistent-pty-jr7sbwjy.js} +0 -0
- /package/dist/chunks/{image-jwfs4k6c.js → persistent-pty-jwfs4k6c.js} +0 -0
- /package/dist/chunks/{image-jzg6c2d5.js → persistent-pty-jzg6c2d5.js} +0 -0
- /package/dist/chunks/{image-mp448xyj.js → persistent-pty-mp448xyj.js} +0 -0
- /package/dist/chunks/{image-msx8hqn2.js → persistent-pty-msx8hqn2.js} +0 -0
- /package/dist/chunks/{image-n05xt0ee.js → persistent-pty-n05xt0ee.js} +0 -0
- /package/dist/chunks/{image-n3j8tn72.js → persistent-pty-n3j8tn72.js} +0 -0
- /package/dist/chunks/{image-njntx4h6.js → persistent-pty-njntx4h6.js} +0 -0
- /package/dist/chunks/{image-q3sfg36h.js → persistent-pty-q3sfg36h.js} +0 -0
- /package/dist/chunks/{image-q74kybfr.js → persistent-pty-q74kybfr.js} +0 -0
- /package/dist/chunks/{image-qaymkmh1.js → persistent-pty-qaymkmh1.js} +0 -0
- /package/dist/chunks/{image-qb87gjwd.js → persistent-pty-qb87gjwd.js} +0 -0
- /package/dist/chunks/{image-qfa1cgps.js → persistent-pty-qfa1cgps.js} +0 -0
- /package/dist/chunks/{image-qrg20bc0.js → persistent-pty-qrg20bc0.js} +0 -0
- /package/dist/chunks/{image-rcb2kzg1.js → persistent-pty-rcb2kzg1.js} +0 -0
- /package/dist/chunks/{image-sdp7kfr6.js → persistent-pty-sdp7kfr6.js} +0 -0
- /package/dist/chunks/{image-sk3qaz4a.js → persistent-pty-sk3qaz4a.js} +0 -0
- /package/dist/chunks/{image-ssg3fenm.js → persistent-pty-ssg3fenm.js} +0 -0
- /package/dist/chunks/{image-twg0f83k.js → persistent-pty-twg0f83k.js} +0 -0
- /package/dist/chunks/{image-w803qqfp.js → persistent-pty-w803qqfp.js} +0 -0
- /package/dist/chunks/{image-wer8tq1h.js → persistent-pty-wer8tq1h.js} +0 -0
- /package/dist/chunks/{image-wtztk69x.js → persistent-pty-wtztk69x.js} +0 -0
- /package/dist/chunks/{image-x0ckcb58.js → persistent-pty-x0ckcb58.js} +0 -0
- /package/dist/chunks/{image-x61499pn.js → persistent-pty-x61499pn.js} +0 -0
- /package/dist/chunks/{image-y44na4kk.js → persistent-pty-y44na4kk.js} +0 -0
- /package/dist/chunks/{image-y8cydn3q.js → persistent-pty-y8cydn3q.js} +0 -0
- /package/dist/chunks/{image-y8f7s663.js → persistent-pty-y8f7s663.js} +0 -0
- /package/dist/chunks/{image-ygaqb7jw.js → persistent-pty-ygaqb7jw.js} +0 -0
- /package/dist/chunks/{image-ym463w8f.js → persistent-pty-ym463w8f.js} +0 -0
- /package/dist/chunks/{image-z9919s4g.js → persistent-pty-z9919s4g.js} +0 -0
|
@@ -2,45 +2,45 @@ import {
|
|
|
2
2
|
NotFound2,
|
|
3
3
|
WrongKind2,
|
|
4
4
|
Failed2
|
|
5
|
-
} from "./
|
|
5
|
+
} from "./persistent-pty-2a5m3afh.js";
|
|
6
6
|
import {
|
|
7
|
-
|
|
8
|
-
} from "./
|
|
7
|
+
Service76
|
|
8
|
+
} from "./persistent-pty-93354nf3.js";
|
|
9
9
|
import {
|
|
10
|
-
|
|
11
|
-
} from "./
|
|
10
|
+
Service53
|
|
11
|
+
} from "./persistent-pty-w38nqpbs.js";
|
|
12
12
|
import {
|
|
13
|
-
|
|
14
|
-
} from "./
|
|
13
|
+
Service25
|
|
14
|
+
} from "./persistent-pty-kgv25dq2.js";
|
|
15
15
|
import {
|
|
16
|
-
|
|
16
|
+
Service13,
|
|
17
17
|
readText2,
|
|
18
18
|
syncTextBom2
|
|
19
|
-
} from "./
|
|
19
|
+
} from "./persistent-pty-6scr59yh.js";
|
|
20
20
|
import {
|
|
21
|
-
|
|
22
|
-
} from "./
|
|
21
|
+
Service62
|
|
22
|
+
} from "./persistent-pty-f8x48a86.js";
|
|
23
23
|
import {
|
|
24
|
-
|
|
24
|
+
Service15,
|
|
25
25
|
resolvePath2
|
|
26
|
-
} from "./
|
|
26
|
+
} from "./persistent-pty-vsx7z4qv.js";
|
|
27
27
|
import {
|
|
28
28
|
fileDiff2
|
|
29
|
-
} from "./
|
|
29
|
+
} from "./persistent-pty-6prwharc.js";
|
|
30
30
|
import {
|
|
31
31
|
__export
|
|
32
|
-
} from "./
|
|
32
|
+
} from "./persistent-pty-9rqn6x4v.js";
|
|
33
33
|
|
|
34
34
|
// src/tool/plugin/patch.ts
|
|
35
35
|
var exports_patch = {};
|
|
36
36
|
__export(exports_patch, {
|
|
37
37
|
Applied: () => Applied2,
|
|
38
|
-
Input: () =>
|
|
39
|
-
Output: () =>
|
|
38
|
+
Input: () => Input3,
|
|
39
|
+
Output: () => Output2,
|
|
40
40
|
PatchTool: () => exports_patch,
|
|
41
|
-
Plugin: () =>
|
|
42
|
-
name: () =>
|
|
43
|
-
toModelContent: () =>
|
|
41
|
+
Plugin: () => Plugin37,
|
|
42
|
+
name: () => name3,
|
|
43
|
+
toModelContent: () => toModelContent2
|
|
44
44
|
});
|
|
45
45
|
import { ToolFailure } from "@opencode/ai";
|
|
46
46
|
import { FileDiff } from "@opencode/schema/file-diff";
|
|
@@ -85,8 +85,8 @@ It is important to remember:
|
|
|
85
85
|
`;
|
|
86
86
|
|
|
87
87
|
// src/tool/plugin/patch.ts
|
|
88
|
-
var
|
|
89
|
-
var
|
|
88
|
+
var name3 = "patch";
|
|
89
|
+
var Input3 = Schema.Struct({
|
|
90
90
|
patchText: Schema.String.annotate({
|
|
91
91
|
description: "The full patch text describing add, update, and delete operations"
|
|
92
92
|
})
|
|
@@ -96,30 +96,30 @@ var Applied2 = Schema.Struct({
|
|
|
96
96
|
resource: Schema.String,
|
|
97
97
|
target: Schema.String
|
|
98
98
|
});
|
|
99
|
-
var
|
|
99
|
+
var Output2 = Schema.Struct({
|
|
100
100
|
applied: Schema.Array(Applied2),
|
|
101
101
|
files: Schema.Array(FileDiff.Info)
|
|
102
102
|
});
|
|
103
|
-
var
|
|
103
|
+
var toModelContent2 = (output) => [
|
|
104
104
|
"Success. Updated the following files:",
|
|
105
105
|
...output.applied.map((item) => `${item.type === "add" ? "A" : item.type === "delete" ? "D" : "M"} ${item.resource}`)
|
|
106
106
|
].join(`
|
|
107
107
|
`);
|
|
108
|
-
var
|
|
108
|
+
var Plugin37 = {
|
|
109
109
|
id: "opencode.tool.patch",
|
|
110
110
|
effect: Effect.fn("PatchTool.Plugin")(function* (ctx) {
|
|
111
|
-
const environment = yield*
|
|
112
|
-
const access = yield*
|
|
113
|
-
const fileMutation = yield*
|
|
114
|
-
const formatter = yield*
|
|
115
|
-
const location = yield*
|
|
116
|
-
const permission = yield*
|
|
111
|
+
const environment = yield* Service53;
|
|
112
|
+
const access = yield* Service15;
|
|
113
|
+
const fileMutation = yield* Service13;
|
|
114
|
+
const formatter = yield* Service25;
|
|
115
|
+
const location = yield* Service76;
|
|
116
|
+
const permission = yield* Service62;
|
|
117
117
|
yield* ctx.tool.transform((editor) => editor.add({
|
|
118
|
-
name:
|
|
118
|
+
name: name3,
|
|
119
119
|
options: { codemode: false, permission: "edit" },
|
|
120
120
|
description: patch_default,
|
|
121
|
-
input:
|
|
122
|
-
output:
|
|
121
|
+
input: Input3,
|
|
122
|
+
output: Output2,
|
|
123
123
|
execute: (input, context) => {
|
|
124
124
|
const applied = [];
|
|
125
125
|
const parsed = Patch.parse(input.patchText);
|
|
@@ -266,7 +266,7 @@ var Plugin11 = {
|
|
|
266
266
|
return { applied, files };
|
|
267
267
|
}).pipe(fileMutation.withLock(lockTargets), Effect.map((output) => ({
|
|
268
268
|
output,
|
|
269
|
-
content:
|
|
269
|
+
content: toModelContent2(output),
|
|
270
270
|
metadata: { files: output.files }
|
|
271
271
|
})), Effect.mapError((error) => error instanceof ToolFailure ? error : new ToolFailure({ message: "Unable to apply patch", error })));
|
|
272
272
|
}
|
|
@@ -326,4 +326,4 @@ function trimDiff(diff) {
|
|
|
326
326
|
`);
|
|
327
327
|
}
|
|
328
328
|
|
|
329
|
-
export {
|
|
329
|
+
export { name3, Input3, Applied2, Output2, toModelContent2, Plugin37, exports_patch };
|
|
@@ -1,22 +1,22 @@
|
|
|
1
1
|
import {
|
|
2
2
|
__export
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./persistent-pty-9rqn6x4v.js";
|
|
4
4
|
|
|
5
5
|
// src/plugin/instance.ts
|
|
6
6
|
var exports_instance2 = {};
|
|
7
7
|
__export(exports_instance2, {
|
|
8
8
|
InstancePlugins: () => exports_instance2,
|
|
9
|
-
Service: () =>
|
|
9
|
+
Service: () => Service7,
|
|
10
10
|
bound: () => bound2,
|
|
11
|
-
node: () =>
|
|
11
|
+
node: () => node10
|
|
12
12
|
});
|
|
13
13
|
import { Context, Layer } from "effect";
|
|
14
14
|
import { makeLocationNode } from "@opencode/util/effect/app-node";
|
|
15
15
|
|
|
16
|
-
class
|
|
16
|
+
class Service7 extends Context.Service()("@opencode/InstancePlugins") {
|
|
17
17
|
}
|
|
18
|
-
var
|
|
19
|
-
service:
|
|
18
|
+
var node10 = makeLocationNode({
|
|
19
|
+
service: Service7,
|
|
20
20
|
layer: bound2([]),
|
|
21
21
|
deps: []
|
|
22
22
|
});
|
|
@@ -26,7 +26,7 @@ function bound2(plugins) {
|
|
|
26
26
|
throw new Error(`duplicate instance plugin ids: ${duplicates.map((plugin) => plugin.id).join(", ")}`);
|
|
27
27
|
}
|
|
28
28
|
const stamped = plugins.map((plugin) => ({ ...plugin, revision: "instance", source: { type: "sdk" } }));
|
|
29
|
-
return Layer.succeed(
|
|
29
|
+
return Layer.succeed(Service7, Service7.of({ all: () => stamped }));
|
|
30
30
|
}
|
|
31
31
|
|
|
32
|
-
export {
|
|
32
|
+
export { Service7, node10, bound2, exports_instance2 };
|
|
@@ -1,21 +1,21 @@
|
|
|
1
1
|
import {
|
|
2
2
|
Service81,
|
|
3
3
|
node86
|
|
4
|
-
} from "./
|
|
4
|
+
} from "./persistent-pty-00ddz8r8.js";
|
|
5
5
|
import {
|
|
6
6
|
makeUnsafe2
|
|
7
|
-
} from "./
|
|
7
|
+
} from "./persistent-pty-dpkg50ah.js";
|
|
8
8
|
import {
|
|
9
9
|
Binding2,
|
|
10
10
|
RegistryService2,
|
|
11
|
-
|
|
12
|
-
} from "./
|
|
11
|
+
node59
|
|
12
|
+
} from "./persistent-pty-6qr3rp4k.js";
|
|
13
13
|
import {
|
|
14
14
|
WorkspaceTable2
|
|
15
|
-
} from "./
|
|
15
|
+
} from "./persistent-pty-faypxj3z.js";
|
|
16
16
|
import {
|
|
17
17
|
__export
|
|
18
|
-
} from "./
|
|
18
|
+
} from "./persistent-pty-9rqn6x4v.js";
|
|
19
19
|
|
|
20
20
|
// src/workspace.ts
|
|
21
21
|
var exports_workspace = {};
|
|
@@ -24,10 +24,10 @@ __export(exports_workspace, {
|
|
|
24
24
|
ID: () => ID7,
|
|
25
25
|
Info: () => Info20,
|
|
26
26
|
NotFound: () => NotFound3,
|
|
27
|
-
Service: () =>
|
|
27
|
+
Service: () => Service54,
|
|
28
28
|
Workspace: () => exports_workspace,
|
|
29
|
-
configured: () =>
|
|
30
|
-
node: () =>
|
|
29
|
+
configured: () => configured8,
|
|
30
|
+
node: () => node58
|
|
31
31
|
});
|
|
32
32
|
import { Workspace } from "@opencode/schema/workspace";
|
|
33
33
|
import { makeGlobalNode } from "@opencode/util/effect/app-node";
|
|
@@ -56,14 +56,14 @@ class CreateConflict2 extends Schema.TaggedError()("Workspace.CreateConflict", {
|
|
|
56
56
|
}) {
|
|
57
57
|
}
|
|
58
58
|
|
|
59
|
-
class
|
|
59
|
+
class Service54 extends Context.Service()("@opencode/Workspace") {
|
|
60
60
|
}
|
|
61
|
-
var
|
|
62
|
-
service:
|
|
61
|
+
var configured8 = (options = {}) => makeGlobalNode({
|
|
62
|
+
service: Service54,
|
|
63
63
|
layer: layer(options),
|
|
64
|
-
deps: [node86,
|
|
64
|
+
deps: [node86, node59]
|
|
65
65
|
});
|
|
66
|
-
var layer = (options) => Layer.effect(
|
|
66
|
+
var layer = (options) => Layer.effect(Service54, Effect.gen(function* () {
|
|
67
67
|
const db = (yield* Service81).db;
|
|
68
68
|
const registry = yield* RegistryService2;
|
|
69
69
|
const lifetime = yield* Scope.Scope;
|
|
@@ -154,7 +154,7 @@ var layer = (options) => Layer.effect(Service55, Effect.gen(function* () {
|
|
|
154
154
|
yield* Scope.close(connection.scope, Exit.void);
|
|
155
155
|
}).pipe(Effect.catchCause((cause) => Effect.logError("workspace idle suspension failed", cause)))), { concurrency: "unbounded", discard: true });
|
|
156
156
|
}).pipe(Effect.repeat(Schedule.spaced(options.pollInterval ?? Duration.minutes(1))), Effect.forkScoped);
|
|
157
|
-
return
|
|
157
|
+
return Service54.of({
|
|
158
158
|
create: Effect.fn("Workspace.create")(function* (input) {
|
|
159
159
|
const workspaceID = input.id ?? ID7.create();
|
|
160
160
|
const existing = yield* db.select({ provider: WorkspaceTable2.provider }).from(WorkspaceTable2).where(eq(WorkspaceTable2.id, workspaceID)).get().pipe(Effect.orDie);
|
|
@@ -221,6 +221,6 @@ var layer = (options) => Layer.effect(Service55, Effect.gen(function* () {
|
|
|
221
221
|
})
|
|
222
222
|
});
|
|
223
223
|
}));
|
|
224
|
-
var
|
|
224
|
+
var node58 = configured8();
|
|
225
225
|
|
|
226
|
-
export { ID7, Info20, NotFound3, CreateConflict2,
|
|
226
|
+
export { ID7, Info20, NotFound3, CreateConflict2, Service54, configured8, node58, exports_workspace };
|
|
@@ -1,19 +1,19 @@
|
|
|
1
1
|
import {
|
|
2
2
|
fromPromise2
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./persistent-pty-zr2ceqn5.js";
|
|
4
4
|
import {
|
|
5
|
-
|
|
6
|
-
} from "./
|
|
5
|
+
Service49
|
|
6
|
+
} from "./persistent-pty-9avjsh34.js";
|
|
7
7
|
import {
|
|
8
8
|
__export
|
|
9
|
-
} from "./
|
|
9
|
+
} from "./persistent-pty-9rqn6x4v.js";
|
|
10
10
|
|
|
11
11
|
// src/plugin/module.ts
|
|
12
12
|
var exports_module = {};
|
|
13
13
|
__export(exports_module, {
|
|
14
14
|
LoadError: () => LoadError2,
|
|
15
15
|
PluginModule: () => exports_module,
|
|
16
|
-
make: () =>
|
|
16
|
+
make: () => make9
|
|
17
17
|
});
|
|
18
18
|
import { Host } from "@opencode/plugin/host";
|
|
19
19
|
import { createPluginSources } from "@opencode/plugin/source";
|
|
@@ -22,8 +22,8 @@ import { Deferred, Effect, FiberSet, PubSub, Schema, Stream } from "effect";
|
|
|
22
22
|
import path from "path";
|
|
23
23
|
import { stat } from "node:fs/promises";
|
|
24
24
|
import { fileURLToPath, pathToFileURL } from "url";
|
|
25
|
-
var
|
|
26
|
-
const watcher = yield*
|
|
25
|
+
var make9 = Effect.fn("PluginModule.make")(function* () {
|
|
26
|
+
const watcher = yield* Service49;
|
|
27
27
|
const scope = yield* Effect.scope;
|
|
28
28
|
const runPromise = yield* FiberSet.makeRuntimePromise();
|
|
29
29
|
const changes = yield* PubSub.unbounded();
|
|
@@ -102,4 +102,4 @@ var load = Effect.fn("PluginModule.load")(function* (operation, sources, options
|
|
|
102
102
|
};
|
|
103
103
|
});
|
|
104
104
|
|
|
105
|
-
export {
|
|
105
|
+
export { make9, LoadError2, exports_module };
|
|
@@ -2,10 +2,10 @@ import {
|
|
|
2
2
|
NotFound2,
|
|
3
3
|
WrongKind2,
|
|
4
4
|
Failed2
|
|
5
|
-
} from "./
|
|
5
|
+
} from "./persistent-pty-2a5m3afh.js";
|
|
6
6
|
import {
|
|
7
7
|
__export
|
|
8
|
-
} from "./
|
|
8
|
+
} from "./persistent-pty-9rqn6x4v.js";
|
|
9
9
|
|
|
10
10
|
// src/environment/local.ts
|
|
11
11
|
var exports_local = {};
|
|
@@ -1,22 +1,22 @@
|
|
|
1
1
|
import {
|
|
2
2
|
isAISDK2,
|
|
3
3
|
packageName2
|
|
4
|
-
} from "./
|
|
4
|
+
} from "./persistent-pty-0ewnzcv7.js";
|
|
5
5
|
import {
|
|
6
6
|
__export
|
|
7
|
-
} from "./
|
|
7
|
+
} from "./persistent-pty-9rqn6x4v.js";
|
|
8
8
|
|
|
9
9
|
// src/plugin/variant.ts
|
|
10
10
|
var exports_variant = {};
|
|
11
11
|
__export(exports_variant, {
|
|
12
|
-
Plugin: () =>
|
|
12
|
+
Plugin: () => Plugin26,
|
|
13
13
|
VariantPlugin: () => exports_variant,
|
|
14
14
|
generate: () => generate2
|
|
15
15
|
});
|
|
16
16
|
import { Effect } from "effect";
|
|
17
17
|
import { define } from "@opencode/plugin/effect/plugin";
|
|
18
18
|
import { Model } from "@opencode/schema/model";
|
|
19
|
-
var
|
|
19
|
+
var Plugin26 = define({
|
|
20
20
|
id: "opencode.variant",
|
|
21
21
|
effect: Effect.fn(function* (ctx) {
|
|
22
22
|
yield* ctx.model.transform((models) => {
|
|
@@ -50,4 +50,4 @@ function generate2(model, provider) {
|
|
|
50
50
|
}));
|
|
51
51
|
}
|
|
52
52
|
|
|
53
|
-
export {
|
|
53
|
+
export { Plugin26, generate2, exports_variant };
|
|
@@ -1,17 +1,17 @@
|
|
|
1
1
|
import {
|
|
2
2
|
provider2,
|
|
3
3
|
model2
|
|
4
|
-
} from "./
|
|
4
|
+
} from "./persistent-pty-0paq2nw3.js";
|
|
5
5
|
import {
|
|
6
6
|
aisdk2
|
|
7
|
-
} from "./
|
|
7
|
+
} from "./persistent-pty-0ewnzcv7.js";
|
|
8
8
|
import {
|
|
9
9
|
Capabilities2,
|
|
10
10
|
compatibility2
|
|
11
|
-
} from "./
|
|
11
|
+
} from "./persistent-pty-3ybepafv.js";
|
|
12
12
|
import {
|
|
13
13
|
__export
|
|
14
|
-
} from "./
|
|
14
|
+
} from "./persistent-pty-9rqn6x4v.js";
|
|
15
15
|
|
|
16
16
|
// src/v1/config/migrate.ts
|
|
17
17
|
var exports_migrate = {};
|
|
@@ -1,19 +1,19 @@
|
|
|
1
1
|
import {
|
|
2
2
|
Service81,
|
|
3
3
|
node86
|
|
4
|
-
} from "./
|
|
4
|
+
} from "./persistent-pty-00ddz8r8.js";
|
|
5
5
|
import {
|
|
6
|
-
|
|
6
|
+
Key4,
|
|
7
7
|
removed2,
|
|
8
8
|
make21,
|
|
9
9
|
combine2
|
|
10
|
-
} from "./
|
|
10
|
+
} from "./persistent-pty-eaj1djv9.js";
|
|
11
11
|
import {
|
|
12
12
|
InstructionEntryTable2
|
|
13
|
-
} from "./
|
|
13
|
+
} from "./persistent-pty-5c4hm403.js";
|
|
14
14
|
import {
|
|
15
15
|
__export
|
|
16
|
-
} from "./
|
|
16
|
+
} from "./persistent-pty-9rqn6x4v.js";
|
|
17
17
|
|
|
18
18
|
// src/session/instruction-entry.ts
|
|
19
19
|
var exports_instruction_entry = {};
|
|
@@ -22,11 +22,11 @@ __export(exports_instruction_entry, {
|
|
|
22
22
|
InstructionEntry: () => exports_instruction_entry,
|
|
23
23
|
Key: () => Key2,
|
|
24
24
|
MaxValueBytes: () => MaxValueBytes2,
|
|
25
|
-
Service: () =>
|
|
25
|
+
Service: () => Service30,
|
|
26
26
|
Snapshot: () => Snapshot2,
|
|
27
27
|
ValueTooLargeError: () => ValueTooLargeError2,
|
|
28
28
|
initialize: () => initialize2,
|
|
29
|
-
node: () =>
|
|
29
|
+
node: () => node35,
|
|
30
30
|
snapshot: () => snapshot2
|
|
31
31
|
});
|
|
32
32
|
import { and, asc, eq, isNotNull, isNull, ne, or } from "drizzle-orm";
|
|
@@ -56,13 +56,13 @@ var initialize2 = Effect.fn("InstructionEntry.initialize")(function* (db, sessio
|
|
|
56
56
|
}))).run().pipe(Effect.orDie), { discard: true });
|
|
57
57
|
});
|
|
58
58
|
|
|
59
|
-
class
|
|
59
|
+
class Service30 extends Context.Service()("@opencode/InstructionEntry") {
|
|
60
60
|
}
|
|
61
61
|
var renderValue = (value) => typeof value === "string" ? value : JSON.stringify(value, null, 2);
|
|
62
62
|
var renderBlock = (key, value) => [`<context key="${key}">`, renderValue(value), "</context>"].join(`
|
|
63
63
|
`);
|
|
64
64
|
var source = (entry) => make21({
|
|
65
|
-
key:
|
|
65
|
+
key: Key4.make(`api/${entry.key}`),
|
|
66
66
|
codec: Schema.toCodecJson(Schema.Json),
|
|
67
67
|
read: Effect.succeed(entry.removed ? removed2 : entry.value),
|
|
68
68
|
render: {
|
|
@@ -75,7 +75,7 @@ var source = (entry) => make21({
|
|
|
75
75
|
removed: () => `The context under "${entry.key}" no longer applies. Disregard it.`
|
|
76
76
|
}
|
|
77
77
|
});
|
|
78
|
-
var layer = Layer.effect(
|
|
78
|
+
var layer = Layer.effect(Service30, Effect.gen(function* () {
|
|
79
79
|
const { db } = yield* Service81;
|
|
80
80
|
const rows = Effect.fnUntraced(function* (sessionID, includeRemoved) {
|
|
81
81
|
return yield* db.select({
|
|
@@ -108,8 +108,8 @@ var layer = Layer.effect(Service32, Effect.gen(function* () {
|
|
|
108
108
|
const load = Effect.fn("InstructionEntry.load")(function* (sessionID) {
|
|
109
109
|
return combine2((yield* rows(sessionID, true)).map(source));
|
|
110
110
|
});
|
|
111
|
-
return
|
|
111
|
+
return Service30.of({ list, put, remove, load });
|
|
112
112
|
}));
|
|
113
|
-
var
|
|
113
|
+
var node35 = makeLocationNode({ service: Service30, layer, deps: [node86] });
|
|
114
114
|
|
|
115
|
-
export { Key2, Info6, Snapshot2, MaxValueBytes2, ValueTooLargeError2, snapshot2, initialize2,
|
|
115
|
+
export { Key2, Info6, Snapshot2, MaxValueBytes2, ValueTooLargeError2, snapshot2, initialize2, Service30, node35, exports_instruction_entry };
|
|
@@ -1,11 +1,11 @@
|
|
|
1
1
|
import {
|
|
2
2
|
ID14,
|
|
3
3
|
Service73
|
|
4
|
-
} from "./
|
|
4
|
+
} from "./persistent-pty-fjr2n3hs.js";
|
|
5
5
|
import {
|
|
6
6
|
isAISDK2,
|
|
7
7
|
packageName2
|
|
8
|
-
} from "./
|
|
8
|
+
} from "./persistent-pty-0ewnzcv7.js";
|
|
9
9
|
|
|
10
10
|
// src/plugin/provider/llmgateway.ts
|
|
11
11
|
import { Effect } from "effect";
|
|
@@ -1,49 +1,49 @@
|
|
|
1
1
|
import {
|
|
2
2
|
typeFollowing2
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./persistent-pty-2a5m3afh.js";
|
|
4
4
|
import {
|
|
5
5
|
RelativePath2
|
|
6
|
-
} from "./
|
|
6
|
+
} from "./persistent-pty-922hggd3.js";
|
|
7
7
|
import {
|
|
8
|
-
|
|
9
|
-
} from "./
|
|
8
|
+
Service76
|
|
9
|
+
} from "./persistent-pty-93354nf3.js";
|
|
10
10
|
import {
|
|
11
|
-
|
|
12
|
-
} from "./
|
|
11
|
+
Service53
|
|
12
|
+
} from "./persistent-pty-w38nqpbs.js";
|
|
13
13
|
import {
|
|
14
|
-
|
|
15
|
-
} from "./
|
|
14
|
+
Service23
|
|
15
|
+
} from "./persistent-pty-smhn81zh.js";
|
|
16
16
|
import {
|
|
17
17
|
DEFAULT_SEARCH_LIMIT2,
|
|
18
18
|
DEFAULT_SEARCH_TIMEOUT_MS2,
|
|
19
19
|
GlobInput2,
|
|
20
20
|
Entry2
|
|
21
|
-
} from "./
|
|
21
|
+
} from "./persistent-pty-1z4441q1.js";
|
|
22
22
|
import {
|
|
23
|
-
|
|
24
|
-
} from "./
|
|
23
|
+
Service62
|
|
24
|
+
} from "./persistent-pty-f8x48a86.js";
|
|
25
25
|
import {
|
|
26
|
-
|
|
27
|
-
} from "./
|
|
26
|
+
Service15
|
|
27
|
+
} from "./persistent-pty-vsx7z4qv.js";
|
|
28
28
|
import {
|
|
29
29
|
__export
|
|
30
|
-
} from "./
|
|
30
|
+
} from "./persistent-pty-9rqn6x4v.js";
|
|
31
31
|
|
|
32
32
|
// src/tool/plugin/glob.ts
|
|
33
33
|
var exports_glob = {};
|
|
34
34
|
__export(exports_glob, {
|
|
35
35
|
GlobTool: () => exports_glob,
|
|
36
|
-
Input: () =>
|
|
36
|
+
Input: () => Input4,
|
|
37
37
|
Output: () => Output3,
|
|
38
|
-
Plugin: () =>
|
|
39
|
-
name: () =>
|
|
38
|
+
Plugin: () => Plugin38,
|
|
39
|
+
name: () => name4,
|
|
40
40
|
toModelContent: () => toModelContent3
|
|
41
41
|
});
|
|
42
42
|
import { ToolFailure } from "@opencode/ai";
|
|
43
43
|
import { Effect, Schema } from "effect";
|
|
44
44
|
import path from "path";
|
|
45
|
-
var
|
|
46
|
-
var
|
|
45
|
+
var name4 = "glob";
|
|
46
|
+
var Input4 = Schema.Struct({
|
|
47
47
|
pattern: GlobInput2.fields.pattern.annotate({ description: "Glob pattern to match files against" }),
|
|
48
48
|
path: Schema.optionalKey(RelativePath2).annotate({
|
|
49
49
|
description: "Directory to search. Defaults to the current working directory."
|
|
@@ -63,19 +63,19 @@ var toModelContent3 = (entries, truncated = false) => {
|
|
|
63
63
|
return lines.join(`
|
|
64
64
|
`);
|
|
65
65
|
};
|
|
66
|
-
var
|
|
66
|
+
var Plugin38 = {
|
|
67
67
|
id: "opencode.tool.glob",
|
|
68
68
|
effect: Effect.fn("GlobTool.Plugin")(function* (ctx) {
|
|
69
|
-
const environment = yield*
|
|
70
|
-
const ripgrep = yield*
|
|
71
|
-
const location = yield*
|
|
72
|
-
const access = yield*
|
|
73
|
-
const permission = yield*
|
|
69
|
+
const environment = yield* Service53;
|
|
70
|
+
const ripgrep = yield* Service23;
|
|
71
|
+
const location = yield* Service76;
|
|
72
|
+
const access = yield* Service15;
|
|
73
|
+
const permission = yield* Service62;
|
|
74
74
|
yield* ctx.tool.transform((editor) => editor.add({
|
|
75
|
-
name:
|
|
75
|
+
name: name4,
|
|
76
76
|
options: { codemode: false },
|
|
77
77
|
description: 'Search file paths using a glob pattern (examples: "**/*.ts", "src/**/*.tsx").',
|
|
78
|
-
input:
|
|
78
|
+
input: Input4,
|
|
79
79
|
output: Output3,
|
|
80
80
|
execute: (input, context) => Effect.gen(function* () {
|
|
81
81
|
const searchPath = input.path === "undefined" || input.path === "null" ? undefined : input.path;
|
|
@@ -83,7 +83,7 @@ var Plugin5 = {
|
|
|
83
83
|
const target = yield* access.resolve({ path: searchPath ?? ".", kind: "directory" });
|
|
84
84
|
yield* access.authorizeExternal([target], context);
|
|
85
85
|
yield* permission.assert({
|
|
86
|
-
action:
|
|
86
|
+
action: name4,
|
|
87
87
|
resources: [input.pattern],
|
|
88
88
|
save: ["*"],
|
|
89
89
|
metadata: {
|
|
@@ -125,4 +125,4 @@ var Plugin5 = {
|
|
|
125
125
|
})
|
|
126
126
|
};
|
|
127
127
|
|
|
128
|
-
export {
|
|
128
|
+
export { name4, Input4, Output3, toModelContent3, Plugin38, exports_glob };
|
|
@@ -1,21 +1,21 @@
|
|
|
1
1
|
import {
|
|
2
2
|
AbsolutePath2,
|
|
3
3
|
RelativePath2
|
|
4
|
-
} from "./
|
|
4
|
+
} from "./persistent-pty-922hggd3.js";
|
|
5
5
|
import {
|
|
6
6
|
makeUnsafe2
|
|
7
|
-
} from "./
|
|
7
|
+
} from "./persistent-pty-dpkg50ah.js";
|
|
8
8
|
import {
|
|
9
9
|
MAX_TOTAL_PATCH_BYTES2,
|
|
10
10
|
emptyPatch2,
|
|
11
11
|
chunksByFile2
|
|
12
|
-
} from "./
|
|
12
|
+
} from "./persistent-pty-tazgh4e4.js";
|
|
13
13
|
import {
|
|
14
14
|
gitExecutable2
|
|
15
|
-
} from "./
|
|
15
|
+
} from "./persistent-pty-ef5x83kb.js";
|
|
16
16
|
import {
|
|
17
17
|
__export
|
|
18
|
-
} from "./
|
|
18
|
+
} from "./persistent-pty-9rqn6x4v.js";
|
|
19
19
|
|
|
20
20
|
// src/git.ts
|
|
21
21
|
var exports_git3 = {};
|
|
@@ -23,11 +23,11 @@ __export(exports_git3, {
|
|
|
23
23
|
Git: () => exports_git3,
|
|
24
24
|
OperationError: () => OperationError3,
|
|
25
25
|
Repository: () => Repository2,
|
|
26
|
-
Service: () =>
|
|
26
|
+
Service: () => Service78,
|
|
27
27
|
TreeID: () => TreeID2,
|
|
28
28
|
Worktree: () => Worktree2,
|
|
29
29
|
WorktreeError: () => WorktreeError2,
|
|
30
|
-
node: () =>
|
|
30
|
+
node: () => node83
|
|
31
31
|
});
|
|
32
32
|
import path from "path";
|
|
33
33
|
import { Context, Effect, Layer, Schema } from "effect";
|
|
@@ -93,9 +93,9 @@ class WorktreeError2 extends Schema.TaggedError()("Git.WorktreeError", {
|
|
|
93
93
|
}) {
|
|
94
94
|
}
|
|
95
95
|
|
|
96
|
-
class
|
|
96
|
+
class Service78 extends Context.Service()("@opencode/Git") {
|
|
97
97
|
}
|
|
98
|
-
var layer = Layer.effect(
|
|
98
|
+
var layer = Layer.effect(Service78, Effect.gen(function* () {
|
|
99
99
|
const fs = yield* FSUtil.Service;
|
|
100
100
|
const proc = yield* AppProcess.Service;
|
|
101
101
|
const locks = makeUnsafe2();
|
|
@@ -419,7 +419,7 @@ var layer = Layer.effect(Service79, Effect.gen(function* () {
|
|
|
419
419
|
kind: index === 0 ? "main" : "linked"
|
|
420
420
|
}));
|
|
421
421
|
});
|
|
422
|
-
return
|
|
422
|
+
return Service78.of({
|
|
423
423
|
repo: { discover, clone, create },
|
|
424
424
|
remote: { get: remote },
|
|
425
425
|
history: { head, branch, defaultRemoteBranch: remoteHead, rootCommits: roots },
|
|
@@ -435,7 +435,7 @@ var layer = Layer.effect(Service79, Effect.gen(function* () {
|
|
|
435
435
|
}
|
|
436
436
|
});
|
|
437
437
|
}));
|
|
438
|
-
var
|
|
438
|
+
var node83 = makeGlobalNode({ service: Service78, layer, deps: [FSUtil.node, AppProcess.node] });
|
|
439
439
|
function run(cwd, proc, args) {
|
|
440
440
|
return execute(cwd, proc, args).pipe(Effect.orElseSucceed(() => ({ exitCode: 1, text: "", stderr: "" })));
|
|
441
441
|
}
|
|
@@ -463,4 +463,4 @@ function resolvePath(cwd, value) {
|
|
|
463
463
|
return path.resolve(cwd, normalized);
|
|
464
464
|
}
|
|
465
465
|
|
|
466
|
-
export { Repository2, TreeID2, OperationError3, Worktree2, WorktreeError2,
|
|
466
|
+
export { Repository2, TreeID2, OperationError3, Worktree2, WorktreeError2, Service78, node83, exports_git3 };
|