@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,7 +2,7 @@ import {
|
|
|
2
2
|
ID14,
|
|
3
3
|
Service73,
|
|
4
4
|
node78
|
|
5
|
-
} from "./
|
|
5
|
+
} from "./persistent-pty-fjr2n3hs.js";
|
|
6
6
|
import {
|
|
7
7
|
ID13,
|
|
8
8
|
isAISDK2,
|
|
@@ -13,24 +13,24 @@ import {
|
|
|
13
13
|
mergeHeaders2,
|
|
14
14
|
Service72,
|
|
15
15
|
node77
|
|
16
|
-
} from "./
|
|
16
|
+
} from "./persistent-pty-0ewnzcv7.js";
|
|
17
17
|
import {
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
} from "./
|
|
18
|
+
Service70,
|
|
19
|
+
node75
|
|
20
|
+
} from "./persistent-pty-1xmfxxn8.js";
|
|
21
21
|
import {
|
|
22
22
|
map2
|
|
23
|
-
} from "./
|
|
23
|
+
} from "./persistent-pty-g6vw9x20.js";
|
|
24
24
|
import {
|
|
25
25
|
ID12,
|
|
26
26
|
VariantID2,
|
|
27
27
|
Ref2,
|
|
28
28
|
Service71,
|
|
29
29
|
node76
|
|
30
|
-
} from "./
|
|
30
|
+
} from "./persistent-pty-3ybepafv.js";
|
|
31
31
|
import {
|
|
32
32
|
__export
|
|
33
|
-
} from "./
|
|
33
|
+
} from "./persistent-pty-9rqn6x4v.js";
|
|
34
34
|
|
|
35
35
|
// src/model-resolver.ts
|
|
36
36
|
var exports_model_resolver = {};
|
|
@@ -39,15 +39,15 @@ __export(exports_model_resolver, {
|
|
|
39
39
|
ModelConfigurationError: () => ModelConfigurationError3,
|
|
40
40
|
ModelInitializationError: () => ModelInitializationError3,
|
|
41
41
|
ModelResolver: () => exports_model_resolver,
|
|
42
|
-
Service: () =>
|
|
42
|
+
Service: () => Service69,
|
|
43
43
|
UnresolvedProviderVariablesError: () => UnresolvedProviderVariablesError3,
|
|
44
44
|
UnsupportedCompactionError: () => UnsupportedCompactionError3,
|
|
45
45
|
UnsupportedPackageError: () => UnsupportedPackageError3,
|
|
46
46
|
VariantUnavailableError: () => VariantUnavailableError3,
|
|
47
47
|
fromCatalogModel: () => fromCatalogModel2,
|
|
48
48
|
hasPackage: () => hasPackage2,
|
|
49
|
-
layer: () =>
|
|
50
|
-
node: () =>
|
|
49
|
+
layer: () => layer23,
|
|
50
|
+
node: () => node74,
|
|
51
51
|
resolveModel: () => resolveModel2,
|
|
52
52
|
withVariant: () => withVariant2
|
|
53
53
|
});
|
|
@@ -120,7 +120,7 @@ class UnsupportedCompactionError3 extends Schema.TaggedError()("SessionRunnerMod
|
|
|
120
120
|
}
|
|
121
121
|
}
|
|
122
122
|
|
|
123
|
-
class
|
|
123
|
+
class Service69 extends Context.Service()("@opencode/ModelResolver") {
|
|
124
124
|
}
|
|
125
125
|
var withVariant2 = (model, variantID) => {
|
|
126
126
|
const id = variantID === "default" ? undefined : variantID;
|
|
@@ -268,12 +268,12 @@ var causeMessage = (cause) => {
|
|
|
268
268
|
};
|
|
269
269
|
var resolveModel2 = (model, variant, credential, dependencies) => withVariant2(model, variant).pipe(Effect.flatMap((model) => fromCatalogModel2(model, credential, dependencies)));
|
|
270
270
|
var hasPackage2 = (model) => Boolean(model.package);
|
|
271
|
-
var
|
|
271
|
+
var layer23 = Layer.effect(Service69, Effect.gen(function* () {
|
|
272
272
|
const providers = yield* Service72;
|
|
273
273
|
const models = yield* Service71;
|
|
274
274
|
const integrations = yield* Service73;
|
|
275
275
|
const npm = yield* Npm.Service;
|
|
276
|
-
const aisdk = yield*
|
|
276
|
+
const aisdk = yield* Service70;
|
|
277
277
|
const load = Effect.fn("ModelResolver.resolveModel")(function* (selected, variant) {
|
|
278
278
|
const provider = yield* providers.get(selected.providerID);
|
|
279
279
|
const connection = yield* integrations.connection.active(provider?.integrationID ?? ID14.make(selected.providerID));
|
|
@@ -298,7 +298,7 @@ var layer24 = Layer.effect(Service67, Effect.gen(function* () {
|
|
|
298
298
|
websocket: selected.websocket ?? false
|
|
299
299
|
};
|
|
300
300
|
});
|
|
301
|
-
return
|
|
301
|
+
return Service69.of({
|
|
302
302
|
resolve: Effect.fn("ModelResolver.resolve")(function* (requested) {
|
|
303
303
|
const selected = requested ? yield* models.get(requested.providerID, requested.id) : yield* models.default().pipe(Effect.flatMap((model) => model && hasPackage2(model) ? Effect.succeed(model) : Effect.map(models.available(), (models) => models.find(hasPackage2))));
|
|
304
304
|
if (!selected)
|
|
@@ -315,10 +315,10 @@ function usesAPIKeyAuth(packageName) {
|
|
|
315
315
|
const name = packageName2(packageName);
|
|
316
316
|
return name === "@ai-sdk/openai" || name === "@ai-sdk/anthropic" || name === "@ai-sdk/cerebras" || name === "@ai-sdk/deepinfra" || name === "@ai-sdk/openai-compatible" || name === "@ai-sdk/google" || name === "@ai-sdk/groq" || name === "@ai-sdk/mistral" || name === "@ai-sdk/togetherai" || name === "@ai-sdk/xai" || name === "@openrouter/ai-sdk-provider" || name === "@ai-sdk/azure" || name === "@opencode/ai/providers/openai" || name?.startsWith("@opencode/ai/providers/openai/") === true || name === "@opencode/ai/providers/anthropic" || name === "@opencode/ai/providers/anthropic-compatible" || name === "@opencode/ai/providers/baseten" || name === "@opencode/ai/providers/cerebras" || name === "@opencode/ai/providers/cloudflare-ai-gateway" || name === "@opencode/ai/providers/cloudflare-workers-ai" || name === "@opencode/ai/providers/deepinfra" || name === "@opencode/ai/providers/deepseek" || name === "@opencode/ai/providers/fireworks" || name === "@opencode/ai/providers/openai-compatible" || name === "@opencode/ai/providers/google" || name === "@opencode/ai/providers/groq" || name === "@opencode/ai/providers/mistral" || name === "@opencode/ai/providers/togetherai" || name === "@opencode/ai/providers/xai" || name === "@opencode/ai/providers/openrouter" || name === "@opencode/ai/providers/azure" || name?.startsWith("@opencode/ai/providers/azure/") === true;
|
|
317
317
|
}
|
|
318
|
-
var
|
|
319
|
-
service:
|
|
320
|
-
layer:
|
|
321
|
-
deps: [node77, node76, node78, Npm.node,
|
|
318
|
+
var node74 = makeLocationNode({
|
|
319
|
+
service: Service69,
|
|
320
|
+
layer: layer23,
|
|
321
|
+
deps: [node77, node76, node78, Npm.node, node75]
|
|
322
322
|
});
|
|
323
323
|
|
|
324
|
-
export { VariantUnavailableError3, UnsupportedPackageError3, InitializationPhase2, ModelConfigurationError3, ModelInitializationError3, UnresolvedProviderVariablesError3, UnsupportedCompactionError3,
|
|
324
|
+
export { VariantUnavailableError3, UnsupportedPackageError3, InitializationPhase2, ModelConfigurationError3, ModelInitializationError3, UnresolvedProviderVariablesError3, UnsupportedCompactionError3, Service69, withVariant2, fromCatalogModel2, resolveModel2, hasPackage2, layer23, node74, exports_model_resolver };
|
|
@@ -7,21 +7,21 @@ import {
|
|
|
7
7
|
deletePatch2,
|
|
8
8
|
countPatch2,
|
|
9
9
|
chunksByFile2
|
|
10
|
-
} from "./
|
|
10
|
+
} from "./persistent-pty-tazgh4e4.js";
|
|
11
11
|
import {
|
|
12
|
-
|
|
13
|
-
} from "./
|
|
12
|
+
Service76
|
|
13
|
+
} from "./persistent-pty-93354nf3.js";
|
|
14
14
|
import {
|
|
15
15
|
DiffError2
|
|
16
|
-
} from "./
|
|
16
|
+
} from "./persistent-pty-2a2cqssq.js";
|
|
17
17
|
import {
|
|
18
18
|
__export
|
|
19
|
-
} from "./
|
|
19
|
+
} from "./persistent-pty-9rqn6x4v.js";
|
|
20
20
|
|
|
21
21
|
// src/plugin/vcs/hg.ts
|
|
22
22
|
var exports_hg = {};
|
|
23
23
|
__export(exports_hg, {
|
|
24
|
-
Plugin: () =>
|
|
24
|
+
Plugin: () => Plugin29,
|
|
25
25
|
VcsHgPlugin: () => exports_hg
|
|
26
26
|
});
|
|
27
27
|
import path from "path";
|
|
@@ -30,10 +30,10 @@ import { ChildProcess } from "effect/unstable/process";
|
|
|
30
30
|
import { define } from "@opencode/plugin/effect/plugin";
|
|
31
31
|
import { FSUtil } from "@opencode/util/fs-util";
|
|
32
32
|
import { AppProcess } from "@opencode/util/process";
|
|
33
|
-
var
|
|
33
|
+
var Plugin29 = define({
|
|
34
34
|
id: "opencode.vcs.hg",
|
|
35
35
|
effect: Effect.fn("VcsHgPlugin")(function* (ctx) {
|
|
36
|
-
const location = yield*
|
|
36
|
+
const location = yield* Service76;
|
|
37
37
|
if (location.vcs?.type !== "hg")
|
|
38
38
|
return;
|
|
39
39
|
const processes = yield* AppProcess.Service;
|
|
@@ -188,4 +188,4 @@ function makeHg(proc, worktree) {
|
|
|
188
188
|
return { status, diff, branch, ancestor, cat };
|
|
189
189
|
}
|
|
190
190
|
|
|
191
|
-
export {
|
|
191
|
+
export { Plugin29, exports_hg };
|
|
@@ -3,19 +3,19 @@ import {
|
|
|
3
3
|
isAISDK2,
|
|
4
4
|
packageName2,
|
|
5
5
|
mergeOverlay2
|
|
6
|
-
} from "./
|
|
6
|
+
} from "./persistent-pty-0ewnzcv7.js";
|
|
7
7
|
import {
|
|
8
8
|
__export
|
|
9
|
-
} from "./
|
|
9
|
+
} from "./persistent-pty-9rqn6x4v.js";
|
|
10
10
|
|
|
11
11
|
// src/aisdk.ts
|
|
12
12
|
var exports_aisdk = {};
|
|
13
13
|
__export(exports_aisdk, {
|
|
14
14
|
AISDK: () => exports_aisdk,
|
|
15
15
|
InitError: () => InitError2,
|
|
16
|
-
Service: () =>
|
|
16
|
+
Service: () => Service70,
|
|
17
17
|
locationLayer: () => locationLayer2,
|
|
18
|
-
node: () =>
|
|
18
|
+
node: () => node75
|
|
19
19
|
});
|
|
20
20
|
import { makeLocationNode } from "@opencode/util/effect/app-node";
|
|
21
21
|
import { APICallError } from "@ai-sdk/provider";
|
|
@@ -136,9 +136,9 @@ function initError(providerID) {
|
|
|
136
136
|
return Effect.catchCause((cause) => Effect.fail(new InitError2({ providerID, cause: Cause.squash(cause) })));
|
|
137
137
|
}
|
|
138
138
|
|
|
139
|
-
class
|
|
139
|
+
class Service70 extends Context.Service()("@opencode/AISDK") {
|
|
140
140
|
}
|
|
141
|
-
var locationLayer2 = Layer.effect(
|
|
141
|
+
var locationLayer2 = Layer.effect(Service70, Effect.gen(function* () {
|
|
142
142
|
let sdkHooks = [];
|
|
143
143
|
let languageHooks = [];
|
|
144
144
|
const languages = new Map;
|
|
@@ -176,7 +176,7 @@ var locationLayer2 = Layer.effect(Service68, Effect.gen(function* () {
|
|
|
176
176
|
}
|
|
177
177
|
return event;
|
|
178
178
|
});
|
|
179
|
-
const service =
|
|
179
|
+
const service = Service70.of({
|
|
180
180
|
hook: {
|
|
181
181
|
sdk: register(() => sdkHooks, (next) => sdkHooks = next),
|
|
182
182
|
language: register(() => languageHooks, (next) => languageHooks = next)
|
|
@@ -817,6 +817,6 @@ function providerErrorMessage(error) {
|
|
|
817
817
|
const prefix = error.statusCode === undefined ? "Provider request failed" : `Provider request failed with HTTP ${error.statusCode}`;
|
|
818
818
|
return error.message.trim() !== "" ? error.message : message ?? (code === undefined ? prefix : `${prefix}: ${code}`);
|
|
819
819
|
}
|
|
820
|
-
var
|
|
820
|
+
var node75 = makeLocationNode({ service: Service70, layer: locationLayer2, deps: [] });
|
|
821
821
|
|
|
822
|
-
export { InitError2,
|
|
822
|
+
export { InitError2, Service70, locationLayer2, node75, exports_aisdk };
|
|
@@ -1,38 +1,38 @@
|
|
|
1
1
|
import {
|
|
2
2
|
PositiveInt2,
|
|
3
3
|
RelativePath2
|
|
4
|
-
} from "./
|
|
4
|
+
} from "./persistent-pty-922hggd3.js";
|
|
5
5
|
import {
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
} from "./
|
|
6
|
+
Service76,
|
|
7
|
+
node81
|
|
8
|
+
} from "./persistent-pty-93354nf3.js";
|
|
9
9
|
import {
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
} from "./
|
|
10
|
+
Service22,
|
|
11
|
+
node26
|
|
12
|
+
} from "./persistent-pty-9pfgr6qx.js";
|
|
13
13
|
import {
|
|
14
14
|
__export
|
|
15
|
-
} from "./
|
|
15
|
+
} from "./persistent-pty-9rqn6x4v.js";
|
|
16
16
|
|
|
17
17
|
// src/filesystem.ts
|
|
18
18
|
var exports_filesystem = {};
|
|
19
19
|
__export(exports_filesystem, {
|
|
20
|
-
Content: () =>
|
|
20
|
+
Content: () => Content2,
|
|
21
21
|
DEFAULT_SEARCH_LIMIT: () => DEFAULT_SEARCH_LIMIT2,
|
|
22
22
|
DEFAULT_SEARCH_TIMEOUT_MS: () => DEFAULT_SEARCH_TIMEOUT_MS2,
|
|
23
23
|
Entry: () => Entry2,
|
|
24
|
-
Event: () =>
|
|
24
|
+
Event: () => Event6,
|
|
25
25
|
FileSystem: () => exports_filesystem,
|
|
26
26
|
FindInput: () => FindInput2,
|
|
27
27
|
GlobInput: () => GlobInput2,
|
|
28
28
|
GrepInput: () => GrepInput2,
|
|
29
|
-
ListInput: () =>
|
|
29
|
+
ListInput: () => ListInput2,
|
|
30
30
|
Match: () => Match2,
|
|
31
|
-
NotFoundError: () =>
|
|
31
|
+
NotFoundError: () => NotFoundError3,
|
|
32
32
|
ReadInput: () => ReadInput2,
|
|
33
|
-
Service: () =>
|
|
33
|
+
Service: () => Service21,
|
|
34
34
|
Submatch: () => Submatch2,
|
|
35
|
-
node: () =>
|
|
35
|
+
node: () => node25
|
|
36
36
|
});
|
|
37
37
|
import { makeLocationNode } from "@opencode/util/effect/app-node";
|
|
38
38
|
import path from "path";
|
|
@@ -44,18 +44,18 @@ var ReadInput2 = Schema.Struct({
|
|
|
44
44
|
path: RelativePath2
|
|
45
45
|
});
|
|
46
46
|
|
|
47
|
-
class
|
|
47
|
+
class NotFoundError3 extends Schema.TaggedError()("FileSystem.NotFoundError", {
|
|
48
48
|
path: RelativePath2
|
|
49
49
|
}) {
|
|
50
50
|
}
|
|
51
|
-
var
|
|
51
|
+
var Content2 = Schema.Struct({
|
|
52
52
|
uri: Schema.String,
|
|
53
53
|
name: Schema.String.pipe(Schema.optional),
|
|
54
54
|
content: Schema.String,
|
|
55
55
|
encoding: Schema.Literals(["utf8", "base64"]),
|
|
56
56
|
mime: Schema.String
|
|
57
57
|
}).annotate({ identifier: "FileSystem.Content" });
|
|
58
|
-
var
|
|
58
|
+
var ListInput2 = Schema.Struct({
|
|
59
59
|
path: Schema.String.pipe(Schema.optional)
|
|
60
60
|
});
|
|
61
61
|
var DEFAULT_SEARCH_LIMIT2 = 100;
|
|
@@ -78,14 +78,14 @@ class GrepInput2 extends Schema.Class("FileSystem.GrepInput")({
|
|
|
78
78
|
limit: Schema.optionalKey(PositiveInt2)
|
|
79
79
|
}) {
|
|
80
80
|
}
|
|
81
|
-
var
|
|
81
|
+
var Event6 = FileSystem.Event;
|
|
82
82
|
|
|
83
|
-
class
|
|
83
|
+
class Service21 extends Context.Service()("@opencode/FileSystem") {
|
|
84
84
|
}
|
|
85
|
-
var baseLayer = Layer.effect(
|
|
85
|
+
var baseLayer = Layer.effect(Service21, Effect.gen(function* () {
|
|
86
86
|
const fs = yield* FSUtil.Service;
|
|
87
|
-
const location = yield*
|
|
88
|
-
const search = yield*
|
|
87
|
+
const location = yield* Service76;
|
|
88
|
+
const search = yield* Service22;
|
|
89
89
|
const root = location.workspaceID ? location.directory : yield* fs.realPath(location.directory).pipe(Effect.orDie);
|
|
90
90
|
const resolve = Effect.fnUntraced(function* (input) {
|
|
91
91
|
const absolute = path.resolve(location.directory, input ?? ".");
|
|
@@ -96,15 +96,15 @@ var baseLayer = Layer.effect(Service41, Effect.gen(function* () {
|
|
|
96
96
|
return yield* Effect.die(new Error("Path escapes the location"));
|
|
97
97
|
return { absolute, real, directory: location.directory };
|
|
98
98
|
});
|
|
99
|
-
return
|
|
99
|
+
return Service21.of({
|
|
100
100
|
find: search.find,
|
|
101
101
|
read: Effect.fn("FileSystem.read")(function* (input) {
|
|
102
|
-
const target = yield* resolve(input.path).pipe(Effect.catchReason("PlatformError", "NotFound", () => Effect.fail(new
|
|
103
|
-
const info = yield* fs.stat(target.real).pipe(Effect.catchReason("PlatformError", "NotFound", () => Effect.fail(new
|
|
102
|
+
const target = yield* resolve(input.path).pipe(Effect.catchReason("PlatformError", "NotFound", () => Effect.fail(new NotFoundError3({ path: input.path })), (_, error) => Effect.die(error)));
|
|
103
|
+
const info = yield* fs.stat(target.real).pipe(Effect.catchReason("PlatformError", "NotFound", () => Effect.fail(new NotFoundError3({ path: input.path })), (_, error) => Effect.die(error)));
|
|
104
104
|
if (info.type !== "File")
|
|
105
105
|
return yield* Effect.die(new Error("Path is not a file"));
|
|
106
106
|
return {
|
|
107
|
-
content: yield* fs.readFile(target.real).pipe(Effect.catchReason("PlatformError", "NotFound", () => Effect.fail(new
|
|
107
|
+
content: yield* fs.readFile(target.real).pipe(Effect.catchReason("PlatformError", "NotFound", () => Effect.fail(new NotFoundError3({ path: input.path })), (_, error) => Effect.die(error))),
|
|
108
108
|
mime: FSUtil.mimeType(target.real)
|
|
109
109
|
};
|
|
110
110
|
}),
|
|
@@ -128,10 +128,10 @@ var baseLayer = Layer.effect(Service41, Effect.gen(function* () {
|
|
|
128
128
|
})
|
|
129
129
|
});
|
|
130
130
|
}));
|
|
131
|
-
var
|
|
132
|
-
service:
|
|
131
|
+
var node25 = makeLocationNode({
|
|
132
|
+
service: Service21,
|
|
133
133
|
layer: baseLayer,
|
|
134
|
-
deps: [FSUtil.node,
|
|
134
|
+
deps: [FSUtil.node, node81, node26]
|
|
135
135
|
});
|
|
136
136
|
|
|
137
|
-
export { FindInput2, ReadInput2,
|
|
137
|
+
export { FindInput2, ReadInput2, NotFoundError3, Content2, ListInput2, DEFAULT_SEARCH_LIMIT2, DEFAULT_SEARCH_TIMEOUT_MS2, GlobInput2, GrepInput2, Event6, Service21, node25, exports_filesystem, Entry2, Match2, Submatch2 };
|
|
@@ -1,24 +1,24 @@
|
|
|
1
1
|
import {
|
|
2
|
-
|
|
2
|
+
Key4,
|
|
3
3
|
removed2,
|
|
4
4
|
make21,
|
|
5
5
|
diffByKey2
|
|
6
|
-
} from "./
|
|
6
|
+
} from "./persistent-pty-eaj1djv9.js";
|
|
7
7
|
import {
|
|
8
8
|
Summary2,
|
|
9
9
|
summarize2,
|
|
10
10
|
namespaceLine2
|
|
11
|
-
} from "./
|
|
11
|
+
} from "./persistent-pty-3fc6dm20.js";
|
|
12
12
|
import {
|
|
13
13
|
__export
|
|
14
|
-
} from "./
|
|
14
|
+
} from "./persistent-pty-9rqn6x4v.js";
|
|
15
15
|
|
|
16
16
|
// src/codemode/instructions.ts
|
|
17
|
-
var
|
|
18
|
-
__export(
|
|
19
|
-
CodeModeInstructions: () =>
|
|
20
|
-
make: () =>
|
|
21
|
-
render: () =>
|
|
17
|
+
var exports_instructions5 = {};
|
|
18
|
+
__export(exports_instructions5, {
|
|
19
|
+
CodeModeInstructions: () => exports_instructions5,
|
|
20
|
+
make: () => make15,
|
|
21
|
+
render: () => render3,
|
|
22
22
|
update: () => update3
|
|
23
23
|
});
|
|
24
24
|
import { searchSignature, toolExpression } from "@opencode/codemode";
|
|
@@ -34,7 +34,7 @@ Call \`search(...)\` to discover exact paths and signatures for additional tools
|
|
|
34
34
|
- ${searchSignature}` : ""}
|
|
35
35
|
|
|
36
36
|
## Available tools`;
|
|
37
|
-
function
|
|
37
|
+
function render3(catalog) {
|
|
38
38
|
if (catalog.total === 0)
|
|
39
39
|
return "No Code Mode tools are currently available. Later Code Mode catalog updates may add or remove tools. Do not call `execute` unless there is at least one available Code Mode tool.";
|
|
40
40
|
const tools = catalog.namespaces.flatMap((namespace) => {
|
|
@@ -48,7 +48,7 @@ ${tools.join(`
|
|
|
48
48
|
function update3(previous, current) {
|
|
49
49
|
const replacement = `The Code Mode tool catalog has changed. This catalog supersedes the previous Code Mode tool catalog.
|
|
50
50
|
|
|
51
|
-
${
|
|
51
|
+
${render3(current)}`;
|
|
52
52
|
if (current.total === 0)
|
|
53
53
|
return replacement;
|
|
54
54
|
const previousComplete = previous.shown === previous.total;
|
|
@@ -111,20 +111,20 @@ ${render2(current)}`;
|
|
|
111
111
|
return delta;
|
|
112
112
|
return replacement;
|
|
113
113
|
}
|
|
114
|
-
var key =
|
|
114
|
+
var key = Key4.make("core/codemode");
|
|
115
115
|
var codec = Schema.toCodecJson(Summary2);
|
|
116
|
-
var
|
|
116
|
+
var make15 = (inventory) => {
|
|
117
117
|
const catalog = inventory === undefined ? removed2 : summarize2(inventory);
|
|
118
118
|
return make21({
|
|
119
119
|
key,
|
|
120
120
|
codec,
|
|
121
121
|
read: Effect.succeed(catalog),
|
|
122
122
|
render: {
|
|
123
|
-
initial:
|
|
123
|
+
initial: render3,
|
|
124
124
|
changed: update3,
|
|
125
125
|
removed: () => "Code Mode tools are no longer available. Do not use any previously listed Code Mode tools."
|
|
126
126
|
}
|
|
127
127
|
});
|
|
128
128
|
};
|
|
129
129
|
|
|
130
|
-
export {
|
|
130
|
+
export { render3, update3, make15, exports_instructions5 };
|
|
@@ -1,23 +1,23 @@
|
|
|
1
1
|
import {
|
|
2
2
|
Service80,
|
|
3
3
|
node85
|
|
4
|
-
} from "./
|
|
4
|
+
} from "./persistent-pty-606maf0m.js";
|
|
5
5
|
import {
|
|
6
6
|
PATCH_CONTEXT_LINES2,
|
|
7
7
|
MAX_TOTAL_PATCH_BYTES2,
|
|
8
8
|
emptyPatch2
|
|
9
|
-
} from "./
|
|
9
|
+
} from "./persistent-pty-tazgh4e4.js";
|
|
10
10
|
import {
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
} from "./
|
|
11
|
+
Service76,
|
|
12
|
+
node81
|
|
13
|
+
} from "./persistent-pty-93354nf3.js";
|
|
14
14
|
import {
|
|
15
15
|
reconcile2,
|
|
16
16
|
create3
|
|
17
|
-
} from "./
|
|
17
|
+
} from "./persistent-pty-rdw6cm16.js";
|
|
18
18
|
import {
|
|
19
19
|
__export
|
|
20
|
-
} from "./
|
|
20
|
+
} from "./persistent-pty-9rqn6x4v.js";
|
|
21
21
|
|
|
22
22
|
// src/vcs.ts
|
|
23
23
|
var exports_vcs = {};
|
|
@@ -26,17 +26,17 @@ __export(exports_vcs, {
|
|
|
26
26
|
BranchList: () => BranchList2,
|
|
27
27
|
DiffError: () => DiffError2,
|
|
28
28
|
FileStatus: () => FileStatus2,
|
|
29
|
-
Info: () =>
|
|
29
|
+
Info: () => Info5,
|
|
30
30
|
Mode: () => Mode2,
|
|
31
|
-
Service: () =>
|
|
31
|
+
Service: () => Service20,
|
|
32
32
|
Vcs: () => exports_vcs,
|
|
33
|
-
node: () =>
|
|
33
|
+
node: () => node24
|
|
34
34
|
});
|
|
35
35
|
import path from "path";
|
|
36
36
|
import { Cause, Context, Effect, FiberSet, Layer, Schema, Semaphore, Stream } from "effect";
|
|
37
37
|
import { FileDiff } from "@opencode/schema/file-diff";
|
|
38
38
|
import { FileSystem } from "@opencode/schema/filesystem";
|
|
39
|
-
import { Base as Base2, BranchList as BranchList2, FileStatus as FileStatus2, Info as
|
|
39
|
+
import { Base as Base2, BranchList as BranchList2, FileStatus as FileStatus2, Info as Info5, Mode as Mode2 } from "@opencode/schema/vcs";
|
|
40
40
|
import { VcsEvent } from "@opencode/schema/vcs-event";
|
|
41
41
|
import { makeLocationNode } from "@opencode/util/effect/app-node";
|
|
42
42
|
import { FSUtil } from "@opencode/util/fs-util";
|
|
@@ -45,11 +45,11 @@ class DiffError2 extends Schema.TaggedError()("Vcs.DiffError", {
|
|
|
45
45
|
}) {
|
|
46
46
|
}
|
|
47
47
|
|
|
48
|
-
class
|
|
48
|
+
class Service20 extends Context.Service()("@opencode/Vcs") {
|
|
49
49
|
}
|
|
50
|
-
var layer = Layer.effect(
|
|
50
|
+
var layer = Layer.effect(Service20, Effect.gen(function* () {
|
|
51
51
|
const fs = yield* FSUtil.Service;
|
|
52
|
-
const location = yield*
|
|
52
|
+
const location = yield* Service76;
|
|
53
53
|
const bus = yield* Service80;
|
|
54
54
|
const root = yield* Effect.scope;
|
|
55
55
|
const fork = yield* FiberSet.makeRuntime();
|
|
@@ -62,7 +62,7 @@ var layer = Layer.effect(Service13, Effect.gen(function* () {
|
|
|
62
62
|
canonical: location.project.canonical,
|
|
63
63
|
...vcs ? { store: vcs.store } : {}
|
|
64
64
|
};
|
|
65
|
-
const decodeInfo = Schema.decodeUnknownEffect(Schema.toType(
|
|
65
|
+
const decodeInfo = Schema.decodeUnknownEffect(Schema.toType(Info5));
|
|
66
66
|
const decodeBase = Schema.decodeUnknownEffect(Schema.NullOr(Base2));
|
|
67
67
|
const decodeBranches = Schema.decodeUnknownEffect(BranchList2);
|
|
68
68
|
const decodeStatus = Schema.decodeUnknownEffect(Schema.Array(FileStatus2));
|
|
@@ -115,7 +115,7 @@ var layer = Layer.effect(Service13, Effect.gen(function* () {
|
|
|
115
115
|
const isBranchMetadata = vcs.type === "git" ? (file) => path.basename(file) === "HEAD" && FSUtil.contains(store, file) : (file) => path.resolve(file) === path.join(store, "branch");
|
|
116
116
|
yield* bus.subscribe(FileSystem.Event.Changed).pipe(Stream.filter((event) => isBranchMetadata(event.data.file)), Stream.runForEach((event) => refresh().pipe(Effect.catchCauseIf((cause) => !Cause.hasInterrupts(cause), (cause) => Effect.logWarning("vcs refresh failed", { file: event.data.file, cause })), Effect.withSpan("Vcs.refreshBranch", { attributes: { file: event.data.file } }))), Effect.forkScoped({ startImmediately: true }));
|
|
117
117
|
}
|
|
118
|
-
return
|
|
118
|
+
return Service20.of({
|
|
119
119
|
transform: state.transform,
|
|
120
120
|
reload: state.reload,
|
|
121
121
|
info: Effect.fn("Vcs.info")(function* () {
|
|
@@ -161,10 +161,10 @@ var layer = Layer.effect(Service13, Effect.gen(function* () {
|
|
|
161
161
|
})
|
|
162
162
|
});
|
|
163
163
|
}));
|
|
164
|
-
var
|
|
165
|
-
service:
|
|
164
|
+
var node24 = makeLocationNode({
|
|
165
|
+
service: Service20,
|
|
166
166
|
layer,
|
|
167
|
-
deps: [FSUtil.node,
|
|
167
|
+
deps: [FSUtil.node, node81, node85]
|
|
168
168
|
});
|
|
169
169
|
|
|
170
|
-
export { Base2, BranchList2, FileStatus2,
|
|
170
|
+
export { Base2, BranchList2, FileStatus2, Info5, Mode2, DiffError2, Service20, node24, exports_vcs };
|
|
@@ -1,24 +1,24 @@
|
|
|
1
1
|
import {
|
|
2
2
|
__export
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./persistent-pty-9rqn6x4v.js";
|
|
4
4
|
|
|
5
5
|
// src/app.ts
|
|
6
6
|
var exports_app = {};
|
|
7
7
|
__export(exports_app, {
|
|
8
8
|
App: () => exports_app,
|
|
9
9
|
Metadata: () => Metadata2,
|
|
10
|
-
configured: () =>
|
|
11
|
-
layer: () =>
|
|
12
|
-
make: () =>
|
|
13
|
-
node: () =>
|
|
10
|
+
configured: () => configured10,
|
|
11
|
+
layer: () => layer20,
|
|
12
|
+
make: () => make17,
|
|
13
|
+
node: () => node61,
|
|
14
14
|
useragent: () => useragent2
|
|
15
15
|
});
|
|
16
16
|
import { Context, Layer } from "effect";
|
|
17
17
|
import { makeGlobalNode } from "@opencode/util/effect/app-node";
|
|
18
18
|
var Metadata2 = Context.Reference("@opencode/App", {
|
|
19
|
-
defaultValue: () =>
|
|
19
|
+
defaultValue: () => make17()
|
|
20
20
|
});
|
|
21
|
-
function
|
|
21
|
+
function make17(input = {}) {
|
|
22
22
|
return {
|
|
23
23
|
name: input.name ?? "opencode",
|
|
24
24
|
version: input.version ?? "unknown",
|
|
@@ -28,8 +28,8 @@ function make16(input = {}) {
|
|
|
28
28
|
function useragent2(app) {
|
|
29
29
|
return `opencode/${app.channel}/${app.version}/${app.name}`;
|
|
30
30
|
}
|
|
31
|
-
var
|
|
32
|
-
var
|
|
33
|
-
var
|
|
31
|
+
var layer20 = (input) => Layer.succeed(Metadata2, make17(input));
|
|
32
|
+
var configured10 = (input) => makeGlobalNode({ service: Metadata2, layer: layer20(input), deps: [] });
|
|
33
|
+
var node61 = configured10();
|
|
34
34
|
|
|
35
|
-
export { Metadata2,
|
|
35
|
+
export { Metadata2, make17, useragent2, layer20, configured10, node61, exports_app };
|
|
@@ -1,23 +1,23 @@
|
|
|
1
1
|
import {
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
} from "./
|
|
2
|
+
Service51,
|
|
3
|
+
node55
|
|
4
|
+
} from "./persistent-pty-793b0gca.js";
|
|
5
5
|
import {
|
|
6
|
-
|
|
6
|
+
Key4,
|
|
7
7
|
removed2,
|
|
8
8
|
make21,
|
|
9
9
|
diffByKey2
|
|
10
|
-
} from "./
|
|
10
|
+
} from "./persistent-pty-eaj1djv9.js";
|
|
11
11
|
import {
|
|
12
12
|
__export
|
|
13
|
-
} from "./
|
|
13
|
+
} from "./persistent-pty-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: () => Service36,
|
|
20
|
+
node: () => node40
|
|
21
21
|
});
|
|
22
22
|
import { makeLocationNode } from "@opencode/util/effect/app-node";
|
|
23
23
|
import { Context, Effect, Layer, Schema } from "effect";
|
|
@@ -57,11 +57,11 @@ var update = (previous, current) => {
|
|
|
57
57
|
`);
|
|
58
58
|
};
|
|
59
59
|
|
|
60
|
-
class
|
|
60
|
+
class Service36 extends Context.Service()("@opencode/ReferenceInstructions") {
|
|
61
61
|
}
|
|
62
|
-
var layer = Layer.effect(
|
|
63
|
-
const references = yield*
|
|
64
|
-
return
|
|
62
|
+
var layer = Layer.effect(Service36, Effect.gen(function* () {
|
|
63
|
+
const references = yield* Service51;
|
|
64
|
+
return Service36.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,
|
|
@@ -69,7 +69,7 @@ var layer = Layer.effect(Service25, Effect.gen(function* () {
|
|
|
69
69
|
description: reference.description
|
|
70
70
|
})).toSorted((a, b) => a.name.localeCompare(b.name));
|
|
71
71
|
return make21({
|
|
72
|
-
key:
|
|
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(Service25, Effect.gen(function* () {
|
|
|
81
81
|
})
|
|
82
82
|
});
|
|
83
83
|
}));
|
|
84
|
-
var
|
|
84
|
+
var node40 = makeLocationNode({ service: Service36, layer, deps: [node55] });
|
|
85
85
|
|
|
86
|
-
export {
|
|
86
|
+
export { Service36, node40, exports_instructions4 };
|