@opencode/core 0.0.0-dev-19821 → 0.0.0-dev-19825
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 +80 -80
- package/dist/aisdk-native.js +88 -88
- package/dist/aisdk.js +93 -93
- package/dist/app.js +9 -9
- package/dist/bus.js +68 -68
- package/dist/chunks/{job-9wbyf57d.js → model-resolver-020nhycz.js} +5 -5
- package/dist/chunks/{job-eaj1djv9.js → model-resolver-02nrjc1r.js} +4 -4
- package/dist/chunks/{job-pf2hb43r.js → model-resolver-0ft9cg2j.js} +4 -4
- package/dist/chunks/{job-8f57sem9.js → model-resolver-0mj02m0m.js} +11 -11
- package/dist/chunks/{job-0paq2nw3.js → model-resolver-0paq2nw3.js} +1 -1
- package/dist/chunks/{job-esqzc4fs.js → model-resolver-0pvezn32.js} +3 -3
- package/dist/chunks/{job-0q0f95c6.js → model-resolver-0q0f95c6.js} +1 -1
- package/dist/chunks/{job-1gtkbj19.js → model-resolver-0vtgharz.js} +17 -17
- package/dist/chunks/{job-mfna20ew.js → model-resolver-0xv915x5.js} +3 -3
- package/dist/chunks/{job-1dazxqgg.js → model-resolver-1dazxqgg.js} +2 -2
- package/dist/chunks/{job-a6fsw91z.js → model-resolver-1hav7hz4.js} +27 -27
- package/dist/chunks/{job-0h0s6eq7.js → model-resolver-1whgvkhb.js} +25 -25
- package/dist/chunks/{job-hpxbhh9j.js → model-resolver-1xydzxfg.js} +6 -6
- package/dist/chunks/model-resolver-1zvmacfw.js +492 -0
- package/dist/chunks/{job-2vr0m82r.js → model-resolver-20abag2s.js} +12 -12
- package/dist/chunks/{job-21r38tys.js → model-resolver-21r38tys.js} +1 -1
- package/dist/chunks/{job-zxxqg0t9.js → model-resolver-25bty98p.js} +10 -10
- package/dist/chunks/{job-2a5m3afh.js → model-resolver-2a5m3afh.js} +1 -1
- package/dist/chunks/{job-kwrb1vta.js → model-resolver-2brc3x9h.js} +11 -11
- package/dist/chunks/{job-jczg0w2x.js → model-resolver-2db12876.js} +8 -8
- package/dist/chunks/{job-32sn9zmq.js → model-resolver-2g8vnf3k.js} +23 -23
- package/dist/chunks/{job-tsdhstjq.js → model-resolver-2gskzpsx.js} +9 -9
- package/dist/chunks/{job-5jkb1k88.js → model-resolver-2sv6c61x.js} +11 -11
- package/dist/chunks/{job-a1xnpkxd.js → model-resolver-302vsmhn.js} +31 -31
- package/dist/chunks/{job-9bwme3e5.js → model-resolver-30wd4m73.js} +13 -13
- package/dist/chunks/{job-71shgfsf.js → model-resolver-388eqbaa.js} +32 -32
- package/dist/chunks/{job-s65x92mt.js → model-resolver-3axdyzka.js} +6 -6
- package/dist/chunks/{job-egkz4txj.js → model-resolver-3f2adkq6.js} +19 -19
- package/dist/chunks/{job-3fc6dm20.js → model-resolver-3fc6dm20.js} +1 -1
- package/dist/chunks/{job-3hepkmqq.js → model-resolver-3hepkmqq.js} +1 -1
- package/dist/chunks/{job-7aqv3jr3.js → model-resolver-3m5m9qrs.js} +18 -18
- package/dist/chunks/{job-h2r7bbkd.js → model-resolver-3pbjq009.js} +8 -8
- package/dist/chunks/{job-g6v7ypq0.js → model-resolver-3rd3t3my.js} +18 -18
- package/dist/chunks/{job-3smtnn6g.js → model-resolver-3smtnn6g.js} +1 -1
- package/dist/chunks/{job-3tvqynh2.js → model-resolver-3tvqynh2.js} +1 -1
- package/dist/chunks/{job-4nzxx4d3.js → model-resolver-45anmqk8.js} +12 -12
- package/dist/chunks/{job-t4x7ra2n.js → model-resolver-4a8jsfjg.js} +24 -24
- package/dist/chunks/{job-tk9ew89t.js → model-resolver-52fpbh6z.js} +8 -8
- package/dist/chunks/{job-drwq78ky.js → model-resolver-57b9ws8p.js} +5 -5
- package/dist/chunks/{job-h7kw5x2h.js → model-resolver-599cv9mn.js} +20 -20
- package/dist/chunks/{job-bgc09g8q.js → model-resolver-5d7aan1t.js} +28 -28
- package/dist/chunks/{job-5daktx2q.js → model-resolver-5daktx2q.js} +1 -1
- package/dist/chunks/{job-r6tah6zk.js → model-resolver-5gb78qtd.js} +10 -10
- package/dist/chunks/{job-9fe0nesq.js → model-resolver-5gjvpwac.js} +4 -4
- package/dist/chunks/{job-ye7w4cqk.js → model-resolver-5kkq0gjf.js} +13 -13
- package/dist/chunks/{job-rzvntaz1.js → model-resolver-5qbvy54r.js} +6 -6
- package/dist/chunks/{job-z1xjbeh4.js → model-resolver-5qt1pv7d.js} +9 -9
- package/dist/chunks/{job-d43tgzm4.js → model-resolver-5rnnm2b5.js} +9 -9
- package/dist/chunks/{job-5t3nmthw.js → model-resolver-5t3nmthw.js} +2 -2
- package/dist/chunks/{job-p37cw4rj.js → model-resolver-5xtgfte3.js} +4 -4
- package/dist/chunks/{job-pc4bd1ey.js → model-resolver-61fj4v2j.js} +16 -16
- package/dist/chunks/{job-za8v1e16.js → model-resolver-61m3qh6y.js} +33 -33
- package/dist/chunks/{job-rfyfz3ew.js → model-resolver-645hz6vd.js} +15 -15
- package/dist/chunks/{job-2qazqbzw.js → model-resolver-662vgtgv.js} +5 -5
- package/dist/chunks/{job-669tq793.js → model-resolver-669tq793.js} +1 -1
- package/dist/chunks/{job-q0x3bbkn.js → model-resolver-67wvcnxv.js} +22 -22
- package/dist/chunks/{job-ssb8vzq0.js → model-resolver-69ck6qnd.js} +14 -14
- package/dist/chunks/{job-6h73sxmp.js → model-resolver-6h73sxmp.js} +1 -1
- package/dist/chunks/{job-g8d3gcyj.js → model-resolver-6hh8tjw2.js} +7 -7
- package/dist/chunks/model-resolver-6kdq0pjd.js +4 -0
- package/dist/chunks/{job-6msgmcgs.js → model-resolver-6msgmcgs.js} +1 -1
- package/dist/chunks/{job-3e34z61w.js → model-resolver-6nxs6bmb.js} +6 -6
- package/dist/chunks/{job-z135kqbe.js → model-resolver-6vybgjkk.js} +36 -36
- package/dist/chunks/{job-k28n6t13.js → model-resolver-6yjhzckp.js} +9 -9
- package/dist/chunks/{job-9nap1tbr.js → model-resolver-70c6s51t.js} +8 -8
- package/dist/chunks/{job-7thy3neb.js → model-resolver-714t0x07.js} +16 -16
- package/dist/chunks/{job-06v682d8.js → model-resolver-7ahjg70a.js} +8 -8
- package/dist/chunks/{job-7bmhse3q.js → model-resolver-7bmhse3q.js} +1 -1
- package/dist/chunks/{job-qgn6gcr1.js → model-resolver-7dqw4kz8.js} +5 -5
- package/dist/chunks/{job-71m3rqxh.js → model-resolver-7macgssb.js} +14 -14
- package/dist/chunks/{job-fhs97t90.js → model-resolver-84zt2byv.js} +9 -9
- package/dist/chunks/{job-8d7r5vzw.js → model-resolver-8d7r5vzw.js} +1 -1
- package/dist/chunks/{job-mr86hgcg.js → model-resolver-8gb3p5gx.js} +22 -22
- package/dist/chunks/{job-dj2t23y0.js → model-resolver-8p4f9s12.js} +2 -2
- package/dist/chunks/{job-f5ftdqyv.js → model-resolver-8r2zwmfy.js} +4 -4
- package/dist/chunks/{job-b4z9ja23.js → model-resolver-93d5c3p8.js} +3 -3
- package/dist/chunks/{job-xakv51w3.js → model-resolver-94vh82pz.js} +37 -37
- package/dist/chunks/{job-wncs52te.js → model-resolver-99rt69fd.js} +21 -21
- package/dist/chunks/{job-w1ad28wa.js → model-resolver-9eq5kwq7.js} +5 -5
- package/dist/chunks/{job-vqfzq50h.js → model-resolver-9gea571p.js} +6 -6
- package/dist/chunks/{job-za2adgwd.js → model-resolver-9j3dqq3x.js} +14 -14
- package/dist/chunks/{job-5c4hm403.js → model-resolver-a1bz86dw.js} +3 -3
- package/dist/chunks/{job-ss3wr7y3.js → model-resolver-a2j8gyzs.js} +16 -16
- package/dist/chunks/{job-aaet6srn.js → model-resolver-aaet6srn.js} +2 -2
- package/dist/chunks/{job-d858xzj7.js → model-resolver-afrtgck4.js} +4 -4
- package/dist/chunks/{job-50ejayt8.js → model-resolver-afx6jjxh.js} +24 -24
- package/dist/chunks/{job-p479xm5n.js → model-resolver-afzhdx1e.js} +24 -24
- package/dist/chunks/{job-57ez7d0k.js → model-resolver-ajmg8w9c.js} +9 -9
- package/dist/chunks/{job-1e0p5273.js → model-resolver-aqczg285.js} +36 -36
- package/dist/chunks/{job-c7nv01yg.js → model-resolver-ar4d9jpk.js} +51 -51
- package/dist/chunks/{job-bv11tn3t.js → model-resolver-ass6jfzc.js} +20 -20
- package/dist/chunks/{job-2y5824bb.js → model-resolver-at58p27x.js} +32 -32
- package/dist/chunks/{job-rxv8w89z.js → model-resolver-azbfhwfn.js} +10 -10
- package/dist/chunks/{job-b6gygkdw.js → model-resolver-b6gygkdw.js} +2 -2
- package/dist/chunks/{job-w2tyfqqp.js → model-resolver-b7359s7r.js} +38 -38
- package/dist/chunks/{job-1rtycg88.js → model-resolver-bae6x12q.js} +20 -20
- package/dist/chunks/{job-bc1scf50.js → model-resolver-bdrygk5x.js} +15 -15
- package/dist/chunks/{job-apsrg68e.js → model-resolver-bgv3s5qc.js} +36 -36
- package/dist/chunks/{job-4jz5jyn0.js → model-resolver-c2fpeh16.js} +9 -9
- package/dist/chunks/{job-q2sqeqex.js → model-resolver-c4v1e0kz.js} +21 -21
- package/dist/chunks/{job-zdx017e5.js → model-resolver-c78c395z.js} +20 -20
- package/dist/chunks/{job-m0jqrx5p.js → model-resolver-cfpkc3c9.js} +2 -2
- package/dist/chunks/{job-tem2pcp0.js → model-resolver-cn090jyv.js} +15 -15
- package/dist/chunks/{job-hsmc4e55.js → model-resolver-cp0393ap.js} +11 -11
- package/dist/chunks/{job-r55vasa2.js → model-resolver-cpj0znwe.js} +4 -4
- package/dist/chunks/{job-rpwm8seb.js → model-resolver-d0yqsex8.js} +23 -23
- package/dist/chunks/{job-g47mxt1p.js → model-resolver-d61582ny.js} +51 -51
- package/dist/chunks/{job-bqmgswbv.js → model-resolver-d8byxyk8.js} +12 -12
- package/dist/chunks/{job-wbktg4wj.js → model-resolver-d8ewt5hf.js} +18 -18
- package/dist/chunks/{job-yw26j43m.js → model-resolver-d8q14kxf.js} +9 -9
- package/dist/chunks/{job-3bfmbvg2.js → model-resolver-da534a5t.js} +33 -33
- package/dist/chunks/{job-3szszgrt.js → model-resolver-deajav4h.js} +3 -3
- package/dist/chunks/{job-t6e30qbs.js → model-resolver-dg4f34fa.js} +47 -47
- package/dist/chunks/{job-c765mh8b.js → model-resolver-djszqvmq.js} +9 -9
- package/dist/chunks/{job-qhk3c1hk.js → model-resolver-dqtg3793.js} +15 -15
- package/dist/chunks/{job-0vvpktwt.js → model-resolver-dvgz3dt4.js} +28 -28
- package/dist/chunks/{job-asj1j4ys.js → model-resolver-e0zpv5qc.js} +25 -25
- package/dist/chunks/{job-j0d9e70d.js → model-resolver-e1hrzsan.js} +12 -12
- package/dist/chunks/{job-hn57h045.js → model-resolver-e2hjzebn.js} +4 -4
- package/dist/chunks/{job-5z4wn5yq.js → model-resolver-e80cp3zm.js} +35 -35
- package/dist/chunks/{job-ef5x83kb.js → model-resolver-ef5x83kb.js} +1 -1
- package/dist/chunks/{job-wh1n14bd.js → model-resolver-epads6cz.js} +17 -17
- package/dist/chunks/{job-8mt5e22m.js → model-resolver-eqfyccyr.js} +20 -20
- package/dist/chunks/{job-erw5rpbs.js → model-resolver-erw5rpbs.js} +2 -2
- package/dist/chunks/{job-etq0c3wd.js → model-resolver-etq0c3wd.js} +1 -1
- package/dist/chunks/{job-jw80jp6b.js → model-resolver-f3ngv102.js} +4 -4
- package/dist/chunks/{job-2b4h2ww7.js → model-resolver-f4e894nd.js} +13 -13
- package/dist/chunks/{job-hdnk95c8.js → model-resolver-f828m53h.js} +2 -2
- package/dist/chunks/{job-brvmyjnj.js → model-resolver-fbmcmy2w.js} +4 -4
- package/dist/chunks/{job-zsxqfppe.js → model-resolver-fn7gfzjh.js} +11 -11
- package/dist/chunks/{job-fxbjtjnd.js → model-resolver-fxbjtjnd.js} +1 -1
- package/dist/chunks/{job-2tfmgkzg.js → model-resolver-fxqygnfa.js} +4 -4
- package/dist/chunks/{job-dm1rxb12.js → model-resolver-fytsnjje.js} +1 -1
- package/dist/chunks/{job-sd834t27.js → model-resolver-g4tydmkk.js} +11 -11
- package/dist/chunks/{job-r6ssyrn8.js → model-resolver-g5epyhxx.js} +16 -16
- package/dist/chunks/{job-e89xj288.js → model-resolver-gcavn3wx.js} +5 -5
- package/dist/chunks/{job-gd4qta3r.js → model-resolver-gd4qta3r.js} +1 -1
- package/dist/chunks/{job-atbq07bs.js → model-resolver-gfdjmmb6.js} +16 -16
- package/dist/chunks/{job-aazyja1w.js → model-resolver-gqkxh60r.js} +27 -27
- package/dist/chunks/{job-985zy11a.js → model-resolver-gtc37187.js} +42 -42
- package/dist/chunks/{job-rdpx5tsz.js → model-resolver-gtybr0rh.js} +26 -26
- package/dist/chunks/{job-gv6a8nnw.js → model-resolver-gv6a8nnw.js} +2 -2
- package/dist/chunks/{job-h6vf3j39.js → model-resolver-h6vf3j39.js} +1 -1
- package/dist/chunks/{job-0jq9fyba.js → model-resolver-h71w788e.js} +9 -9
- package/dist/chunks/{job-87deq66t.js → model-resolver-had4kgfk.js} +6 -6
- package/dist/chunks/{job-2xsycv5e.js → model-resolver-hhq4mbvj.js} +13 -13
- package/dist/chunks/{job-vmgq4x8b.js → model-resolver-hkagk5ex.js} +2 -2
- package/dist/chunks/{job-0r7yqxbf.js → model-resolver-hnr5yq9h.js} +5 -5
- package/dist/chunks/{job-3dr0v1fh.js → model-resolver-hr6wd4xv.js} +30 -30
- package/dist/chunks/{job-zqgctg7n.js → model-resolver-hxtxrrh5.js} +87 -87
- package/dist/chunks/{job-f0p5ctes.js → model-resolver-hynyds1q.js} +4 -4
- package/dist/chunks/{job-hggmt63b.js → model-resolver-hzjt009y.js} +11 -11
- package/dist/chunks/{job-48xyscag.js → model-resolver-hzz7dkwv.js} +6 -6
- package/dist/chunks/{job-tktcwvw2.js → model-resolver-j0aemhh7.js} +47 -47
- package/dist/chunks/{job-zhtw8qjf.js → model-resolver-j1bvcdkg.js} +15 -15
- package/dist/chunks/{job-8ahba785.js → model-resolver-j4206d7h.js} +3 -3
- package/dist/chunks/{job-j56e64zr.js → model-resolver-j56e64zr.js} +1 -1
- package/dist/chunks/{job-qsxf26yz.js → model-resolver-j8zzr2am.js} +6 -6
- package/dist/chunks/{job-a21nqz3m.js → model-resolver-jdfvscg1.js} +10 -10
- package/dist/chunks/{job-gsw6h1kf.js → model-resolver-jp646bv9.js} +4 -4
- package/dist/chunks/model-resolver-jqh9b0xq.js +18 -0
- package/dist/chunks/{job-hqq6j2f9.js → model-resolver-jye6n1dv.js} +24 -24
- package/dist/chunks/{job-k3c624dm.js → model-resolver-k3c624dm.js} +3 -3
- package/dist/chunks/{job-ef62gz93.js → model-resolver-k4839s1d.js} +20 -20
- package/dist/chunks/{job-dmdcvf38.js → model-resolver-k5kzksx8.js} +16 -16
- package/dist/chunks/{job-m3fdjcah.js → model-resolver-m3fdjcah.js} +1 -1
- package/dist/chunks/{job-yfz9e6q0.js → model-resolver-m6dz94as.js} +46 -46
- package/dist/chunks/{job-pggmyjh7.js → model-resolver-m9r6vjpz.js} +4 -4
- package/dist/chunks/{job-m9w0rfyh.js → model-resolver-m9w0rfyh.js} +1 -1
- package/dist/chunks/{job-1ygqh575.js → model-resolver-mfqp6xfm.js} +6 -6
- package/dist/chunks/{job-ymqqterr.js → model-resolver-mk35kvz7.js} +19 -19
- package/dist/chunks/{job-yxvmkcfe.js → model-resolver-mktnxe3b.js} +38 -38
- package/dist/chunks/{job-73tb2d7t.js → model-resolver-mvfsc1pv.js} +3 -3
- package/dist/chunks/{job-yjab35yh.js → model-resolver-mwt452g0.js} +6 -6
- package/dist/chunks/{job-rxmj5mzk.js → model-resolver-mxf3pqwm.js} +6 -6
- package/dist/chunks/{job-tx9w5tca.js → model-resolver-n0tq777j.js} +8 -8
- package/dist/chunks/{job-zw67fc8n.js → model-resolver-n272ptga.js} +3 -3
- package/dist/chunks/{job-3vh7x5wm.js → model-resolver-n8nareh9.js} +27 -27
- package/dist/chunks/{job-5cmxdwv8.js → model-resolver-ndmv45hp.js} +3 -3
- package/dist/chunks/{job-15d0d0bm.js → model-resolver-nhgg4y17.js} +17 -17
- package/dist/chunks/{job-p28j5sbe.js → model-resolver-p28j5sbe.js} +2 -2
- package/dist/chunks/{job-2evyaa68.js → model-resolver-p7nsp59h.js} +4 -4
- package/dist/chunks/{job-paegk39x.js → model-resolver-paegk39x.js} +1 -1
- package/dist/chunks/{job-c45er5nk.js → model-resolver-pdv94s4z.js} +5 -5
- package/dist/chunks/{job-g7pvs3fs.js → model-resolver-peyz0p0p.js} +7 -7
- package/dist/chunks/{job-d6qthb8j.js → model-resolver-phx6da97.js} +11 -11
- package/dist/chunks/{job-pjvnvgmy.js → model-resolver-pjvnvgmy.js} +1 -1
- package/dist/chunks/{job-pknna89w.js → model-resolver-pknna89w.js} +1 -1
- package/dist/chunks/{job-vv1h1xbx.js → model-resolver-pngaa6th.js} +5 -5
- package/dist/chunks/{job-668w0xjb.js → model-resolver-pp5arfp9.js} +26 -26
- package/dist/chunks/{job-vxt7r4vg.js → model-resolver-prxamd8a.js} +10 -10
- package/dist/chunks/{job-s6e14krq.js → model-resolver-psz8a7r0.js} +10 -10
- package/dist/chunks/{job-efm8p952.js → model-resolver-pt292bv7.js} +15 -15
- package/dist/chunks/{job-8j9pcpgt.js → model-resolver-q4s6dcxk.js} +44 -44
- package/dist/chunks/{job-wv5yzdar.js → model-resolver-q6nw98mh.js} +20 -20
- package/dist/chunks/{job-szcj0kzf.js → model-resolver-qayd3wzs.js} +8 -8
- package/dist/chunks/model-resolver-qb6tpq85.js +252 -0
- package/dist/chunks/{job-8s8dhtps.js → model-resolver-qewhjxtc.js} +10 -10
- package/dist/chunks/{job-caajgf1j.js → model-resolver-qq8y32fb.js} +5 -5
- package/dist/chunks/{job-qsdy395h.js → model-resolver-qsdy395h.js} +1 -1
- package/dist/chunks/{job-hbyhqfhs.js → model-resolver-qvreyy9g.js} +5 -5
- package/dist/chunks/{job-q8b8x23r.js → model-resolver-qwbyjwn2.js} +25 -25
- package/dist/chunks/{job-3kvw8mnh.js → model-resolver-r8fpbd5t.js} +42 -42
- package/dist/chunks/{job-1acjjqhc.js → model-resolver-r8xr0va3.js} +4 -4
- package/dist/chunks/{job-kfgbczz1.js → model-resolver-rctnpmcd.js} +33 -33
- package/dist/chunks/{job-rdw6cm16.js → model-resolver-rdw6cm16.js} +1 -1
- package/dist/chunks/{job-fk58vp44.js → model-resolver-rfgcsz1j.js} +30 -30
- package/dist/chunks/{job-5m8b30t3.js → model-resolver-s172k70m.js} +20 -20
- package/dist/chunks/{job-h8z3wjez.js → model-resolver-s3hdfs1j.js} +27 -27
- package/dist/chunks/{job-27e1jej6.js → model-resolver-s3zk8xvh.js} +88 -88
- package/dist/chunks/{job-0f9afca0.js → model-resolver-s8zy8myc.js} +5 -5
- package/dist/chunks/{job-habd9p12.js → model-resolver-sdaja34n.js} +30 -30
- package/dist/chunks/{job-pbnv5caj.js → model-resolver-se2qvfz1.js} +3 -3
- package/dist/chunks/{job-pn56yd6f.js → model-resolver-spq00ka2.js} +11 -11
- package/dist/chunks/{job-87sngdwh.js → model-resolver-sw7ectjd.js} +11 -11
- package/dist/chunks/{job-gzkctzh1.js → model-resolver-swg14gxk.js} +3 -3
- package/dist/chunks/{job-dj9sq318.js → model-resolver-t0fxg8b9.js} +5 -5
- package/dist/chunks/{job-mjqkth3z.js → model-resolver-t0vv8359.js} +179 -179
- package/dist/chunks/{job-znj4065v.js → model-resolver-t9tmexac.js} +20 -20
- package/dist/chunks/{job-tazgh4e4.js → model-resolver-tazgh4e4.js} +1 -1
- package/dist/chunks/{job-89znhe33.js → model-resolver-tcezcvh9.js} +4 -4
- package/dist/chunks/{job-tcg29b4q.js → model-resolver-tcg29b4q.js} +1 -1
- package/dist/chunks/{job-hjb25kd7.js → model-resolver-td0y98rs.js} +41 -41
- package/dist/chunks/{job-bm3m92rh.js → model-resolver-tders91x.js} +12 -12
- package/dist/chunks/{job-tdstcens.js → model-resolver-tdstcens.js} +1 -1
- package/dist/chunks/{job-wnrxzpw0.js → model-resolver-tm5ahrk2.js} +5 -5
- package/dist/chunks/{job-gg62xv4q.js → model-resolver-tsyf12nv.js} +1 -1
- package/dist/chunks/{job-tvtrv512.js → model-resolver-tvtrv512.js} +1 -1
- package/dist/chunks/{job-m2v8bx2y.js → model-resolver-tzrwg04y.js} +7 -7
- package/dist/chunks/{job-1ej0a07e.js → model-resolver-v1h3kxjj.js} +24 -24
- package/dist/chunks/{job-9a60j1p0.js → model-resolver-va2p3qdk.js} +24 -24
- package/dist/chunks/{job-veqvce7d.js → model-resolver-veqvce7d.js} +1 -1
- package/dist/chunks/{job-xnm8kjs2.js → model-resolver-vggvkcjb.js} +8 -8
- package/dist/chunks/{job-sx1n432n.js → model-resolver-vncycja5.js} +4 -4
- package/dist/chunks/{job-vr2vg3zy.js → model-resolver-vr2vg3zy.js} +1 -1
- package/dist/chunks/{job-7ma37mjv.js → model-resolver-vss6mrqc.js} +30 -30
- package/dist/chunks/{job-mkw2wvv0.js → model-resolver-vstb6x8b.js} +15 -15
- package/dist/chunks/{job-j1g8nv42.js → model-resolver-vz2xtr04.js} +5 -5
- package/dist/chunks/{job-vzcthcp8.js → model-resolver-vzcthcp8.js} +1 -1
- package/dist/chunks/{job-7pz960d0.js → model-resolver-vzv9kxzp.js} +7 -7
- package/dist/chunks/{job-w3wsvvr9.js → model-resolver-w3wsvvr9.js} +1 -1
- package/dist/chunks/model-resolver-w53v25xj.js +26 -0
- package/dist/chunks/{job-kbx20vne.js → model-resolver-wc548a52.js} +11 -11
- package/dist/chunks/{job-wd87259q.js → model-resolver-wd87259q.js} +1 -1
- package/dist/chunks/{job-wd36wav5.js → model-resolver-whd5ad1s.js} +32 -32
- package/dist/chunks/{job-1jaberd3.js → model-resolver-wngr9w9n.js} +15 -15
- package/dist/chunks/{job-epybzj2g.js → model-resolver-wrgxtjh4.js} +15 -15
- package/dist/chunks/{job-q1zmm1c6.js → model-resolver-wrmrmykr.js} +6 -6
- package/dist/chunks/{job-zmxkbdbt.js → model-resolver-wv3gb8g4.js} +24 -24
- package/dist/chunks/{job-x1ezjp6w.js → model-resolver-x1ezjp6w.js} +1 -1
- package/dist/chunks/{job-hkzck3ga.js → model-resolver-x2abejx6.js} +8 -8
- package/dist/chunks/{job-dba8p38n.js → model-resolver-x2fva0gh.js} +13 -13
- package/dist/chunks/{job-m7s474br.js → model-resolver-x9ajzjwe.js} +23 -23
- package/dist/chunks/{job-92tc7jpe.js → model-resolver-xd87acyy.js} +25 -25
- package/dist/chunks/{job-fkjmw100.js → model-resolver-xfdrc2qg.js} +8 -8
- package/dist/chunks/{job-x7kmr8sd.js → model-resolver-xgrb3kvx.js} +26 -26
- package/dist/chunks/{job-1padrdc5.js → model-resolver-xgvz8aqb.js} +6 -6
- package/dist/chunks/{job-b7nw3dz7.js → model-resolver-xk5qfe87.js} +17 -17
- package/dist/chunks/{job-f063ghk9.js → model-resolver-xv7845dj.js} +15 -15
- package/dist/chunks/{job-63e71ytq.js → model-resolver-xxzhzqzk.js} +2 -2
- package/dist/chunks/{job-y1fvbwt7.js → model-resolver-y1fvbwt7.js} +1 -1
- package/dist/chunks/{job-7kvkdg61.js → model-resolver-y4cxnkp6.js} +24 -24
- package/dist/chunks/{job-y71avatq.js → model-resolver-y71avatq.js} +1 -1
- package/dist/chunks/{job-481kcnmx.js → model-resolver-y85jehk6.js} +20 -20
- package/dist/chunks/{job-es0t55qq.js → model-resolver-ydd32yv2.js} +25 -25
- package/dist/chunks/{job-0dhz5hwf.js → model-resolver-ye0sgdwz.js} +10 -10
- package/dist/chunks/{job-nv7rbgje.js → model-resolver-yr8whrpt.js} +9 -9
- package/dist/chunks/{job-yrhqyw5v.js → model-resolver-yrhqyw5v.js} +1 -1
- package/dist/chunks/{job-yrznvahk.js → model-resolver-yrznvahk.js} +2 -2
- package/dist/chunks/{job-wzdyyep8.js → model-resolver-yxht4gzb.js} +8 -8
- package/dist/chunks/{job-y1fyccvv.js → model-resolver-yy7y4tn3.js} +7 -7
- package/dist/chunks/{job-z0bkrqjs.js → model-resolver-z0bkrqjs.js} +1 -1
- package/dist/chunks/{job-znrpspxx.js → model-resolver-z1j8fwgr.js} +11 -11
- package/dist/chunks/{job-hsg4398k.js → model-resolver-z36d3h7g.js} +13 -13
- package/dist/chunks/{job-hd50s0sm.js → model-resolver-z5p64esd.js} +20 -20
- package/dist/chunks/{job-z63w68vq.js → model-resolver-z63w68vq.js} +2 -2
- package/dist/chunks/{job-p293czm2.js → model-resolver-zcdrxs46.js} +4 -4
- package/dist/chunks/{job-zeh9ct20.js → model-resolver-zeh9ct20.js} +2 -2
- package/dist/chunks/{job-xxa0rhz0.js → model-resolver-zgenf5ev.js} +35 -35
- package/dist/chunks/{job-kcbwjnna.js → model-resolver-zhxq7wpj.js} +11 -11
- package/dist/chunks/{job-zr2ceqn5.js → model-resolver-zr2ceqn5.js} +1 -1
- package/dist/chunks/{job-qvzgrdvp.js → model-resolver-zxbqrrvg.js} +65 -65
- package/dist/chunks/{job-zxq2ej10.js → model-resolver-zxq2ej10.js} +1 -1
- package/dist/codemode/catalog.js +1 -1
- package/dist/codemode/instructions.js +9 -9
- package/dist/codemode/tool.js +3 -3
- package/dist/codemode/web.js +1 -1
- package/dist/command.js +82 -82
- package/dist/config/discovery.js +83 -83
- package/dist/config/markdown.js +1 -1
- package/dist/config/normalize.js +105 -105
- package/dist/config/plugin/agent.js +124 -124
- package/dist/config/plugin/command.js +213 -213
- package/dist/config/plugin/compaction.js +161 -161
- 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 +122 -122
- package/dist/config/plugin/reference.js +124 -124
- package/dist/config/plugin/shell.js +122 -122
- package/dist/config/plugin/skill-file.js +101 -101
- package/dist/config/plugin/skill.js +143 -143
- package/dist/config/plugin/snapshot.js +122 -122
- package/dist/config/plugin/source.js +125 -125
- package/dist/config/plugin/tool-output.js +124 -124
- package/dist/config/plugin/websearch.js +121 -121
- package/dist/config/plugin/worktree.js +124 -124
- package/dist/config/variable.js +3 -3
- package/dist/config/watch.js +1 -1
- package/dist/config.js +127 -127
- package/dist/credential/sql.js +2 -2
- package/dist/credential.js +82 -82
- package/dist/database/database.js +65 -65
- package/dist/database/drizzle/effect-sqlite/driver.js +12 -12
- package/dist/database/drizzle/effect-sqlite/index.js +12 -12
- package/dist/database/drizzle/effect-sqlite/session.js +11 -11
- package/dist/database/drizzle/index.js +13 -13
- package/dist/database/drizzle/internal/drizzle-utils.js +1 -1
- package/dist/database/drizzle/sqlite-core/effect/count.js +1 -1
- package/dist/database/drizzle/sqlite-core/effect/db.js +9 -9
- package/dist/database/drizzle/sqlite-core/effect/delete.js +2 -2
- package/dist/database/drizzle/sqlite-core/effect/index.js +10 -10
- package/dist/database/drizzle/sqlite-core/effect/insert.js +2 -2
- package/dist/database/drizzle/sqlite-core/effect/query.js +1 -1
- package/dist/database/drizzle/sqlite-core/effect/raw.js +1 -1
- package/dist/database/drizzle/sqlite-core/effect/select.js +2 -2
- package/dist/database/drizzle/sqlite-core/effect/session.js +10 -10
- package/dist/database/drizzle/sqlite-core/effect/update.js +2 -2
- package/dist/database/drizzle.js +14 -14
- package/dist/database/migration/20260127222353_familiar_lady_ursula.js +1 -1
- package/dist/database/migration/20260211171708_add_project_commands.js +1 -1
- package/dist/database/migration/20260213144116_wakeful_the_professor.js +1 -1
- package/dist/database/migration/20260225215848_workspace.js +1 -1
- package/dist/database/migration/20260227213759_add_session_workspace_id.js +1 -1
- package/dist/database/migration/20260228203230_blue_harpoon.js +1 -1
- package/dist/database/migration/20260303231226_add_workspace_fields.js +1 -1
- package/dist/database/migration/20260309230000_move_org_to_state.js +1 -1
- package/dist/database/migration/20260312043431_session_message_cursor.js +1 -1
- package/dist/database/migration/20260323234822_events.js +1 -1
- package/dist/database/migration/20260410174513_workspace-name.js +1 -1
- package/dist/database/migration/20260413175956_chief_energizer.js +1 -1
- package/dist/database/migration/20260423070820_add_icon_url_override.js +1 -1
- package/dist/database/migration/20260427172553_slow_nightmare.js +1 -1
- package/dist/database/migration/20260428004200_add_session_path.js +1 -1
- package/dist/database/migration/20260501142318_next_venus.js +1 -1
- package/dist/database/migration/20260504145000_add_sync_owner.js +1 -1
- package/dist/database/migration/20260507164347_add_workspace_time.js +1 -1
- package/dist/database/migration/20260510033149_session_usage.js +1 -1
- package/dist/database/migration/20260511000411_data_migration_state.js +1 -1
- package/dist/database/migration/20260511173437_session-metadata.js +1 -1
- package/dist/database/migration/20260601010001_normalize_storage_paths.js +1 -1
- package/dist/database/migration/20260601202201_amazing_prowler.js +1 -1
- package/dist/database/migration/20260602002951_lowly_union_jack.js +1 -1
- package/dist/database/migration/20260602182828_add_project_directories.js +1 -1
- package/dist/database/migration/20260603001617_session_message_projection_indexes.js +1 -1
- package/dist/database/migration/20260603040000_session_message_projection_order.js +1 -1
- package/dist/database/migration/20260603141458_session_input_inbox.js +1 -1
- package/dist/database/migration/20260603160727_jittery_ezekiel_stane.js +1 -1
- package/dist/database/migration/20260604172448_event_sourced_session_input.js +1 -1
- package/dist/database/migration/20260605003541_add_session_context_snapshot.js +1 -1
- package/dist/database/migration/20260605042240_add_context_epoch_agent.js +1 -1
- package/dist/database/migration/20260611035744_credential.js +1 -1
- package/dist/database/migration/20260611192811_lush_chimera.js +1 -1
- package/dist/database/migration/20260612174303_project_dir_strategy.js +1 -1
- package/dist/database/migration/20260622142730_simplify_session_context_epoch.js +1 -1
- package/dist/database/migration/20260622170816_reset_v2_session_state.js +1 -1
- package/dist/database/migration/20260622202450_simplify_session_input.js +1 -1
- package/dist/database/migration/20260804233008_loose_psylocke.js +1 -1
- package/dist/database/migration/20260805200742_import_legacy_credentials.js +1 -1
- package/dist/database/migration/20260808023530_workspace_domain.js +1 -1
- package/dist/database/migration/20260811161259_execution_claim_attempts.js +1 -1
- package/dist/database/migration/20260812181746_session_inbox.js +1 -1
- package/dist/database/migration/20260812213948_worktree.js +1 -1
- package/dist/database/migration/20260819222447_session_viewed_state.js +1 -1
- package/dist/database/migration/20260823191254_nullable_workspace_binding.js +1 -1
- package/dist/database/migration/20260910120000_clear_v1_session_permission.js +1 -1
- package/dist/database/migration.gen.js +48 -48
- package/dist/database/migration.js +50 -50
- package/dist/database/path.js +2 -2
- package/dist/database/schema.gen.js +1 -1
- package/dist/database/schema.sql.js +1 -1
- package/dist/database/sqlite.bun.js +1 -1
- package/dist/database/sqlite.js +1 -1
- package/dist/database/sqlite.node.js +1 -1
- package/dist/database/sqlite.workerd.js +1 -1
- package/dist/database/v1-migration.bun.js +75 -75
- package/dist/database/v1-migration.js +1 -1
- package/dist/effect/app-node-builder.js +367 -367
- package/dist/effect/app-node-platform.js +2 -2
- package/dist/effect/keyed-mutex.js +1 -1
- package/dist/effect/websocket-constructor.js +1 -1
- package/dist/environment/driver.js +1 -1
- package/dist/environment/environment.js +92 -92
- package/dist/environment/exec-defaults.js +2 -2
- package/dist/environment/files.js +1 -1
- package/dist/environment/index.js +92 -92
- 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 +226 -226
- package/dist/filesystem/protected.js +3 -3
- package/dist/filesystem/search.js +102 -102
- package/dist/filesystem/watcher-binding.js +1 -1
- package/dist/filesystem/watcher.js +15 -15
- package/dist/filesystem.js +107 -107
- package/dist/form.js +83 -83
- package/dist/formatter/builtins.js +4 -4
- package/dist/formatter.js +86 -86
- package/dist/generate.js +102 -102
- 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 +6 -6
- package/dist/instance/service.js +5 -5
- package/dist/instance.js +359 -359
- 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 +3 -3
- package/dist/integration.js +85 -85
- package/dist/job.js +76 -76
- package/dist/kv/sql.js +2 -2
- package/dist/kv.js +72 -72
- package/dist/location-activity.js +129 -129
- package/dist/location-lifecycle.js +105 -105
- package/dist/location-mutation.js +103 -103
- package/dist/location-service-map.js +85 -85
- package/dist/location-services.js +356 -356
- package/dist/location.js +86 -86
- package/dist/mcp/client.js +90 -90
- package/dist/mcp/index.js +107 -107
- package/dist/mcp/instructions.js +127 -127
- package/dist/mcp/oauth.js +77 -77
- package/dist/mcp/stdio.js +89 -89
- package/dist/mime.js +1 -1
- package/dist/modal/models.js +90 -90
- package/dist/model-resolver.js +97 -97
- package/dist/model.js +99 -99
- package/dist/models-dev.js +106 -106
- package/dist/oauth/page.js +1 -1
- package/dist/permission/saved.js +73 -73
- package/dist/permission/sql.js +5 -5
- package/dist/permission.js +106 -106
- package/dist/persistent-pty/binary.bun.js +1 -1
- package/dist/persistent-pty/daemon.js +1 -1
- package/dist/persistent-pty/index.js +83 -83
- package/dist/persistent-pty/pty-binding.js +1 -1
- package/dist/persistent-pty.js +74 -74
- package/dist/plugin/agent.js +103 -103
- package/dist/plugin/command.js +100 -100
- package/dist/plugin/compaction.js +132 -132
- package/dist/plugin/hooks.js +5 -5
- package/dist/plugin/host.js +217 -217
- package/dist/plugin/identity.js +3 -3
- package/dist/plugin/instance.js +3 -3
- package/dist/plugin/internal.js +330 -330
- package/dist/plugin/mcp-codemode-exclusion.js +3 -3
- package/dist/plugin/models-dev.js +95 -95
- package/dist/plugin/module.js +7 -7
- package/dist/plugin/optimize.js +4 -4
- package/dist/plugin/plan.js +101 -101
- package/dist/plugin/promise.js +1 -1
- package/dist/plugin/provider/amazon-bedrock.js +89 -89
- package/dist/plugin/provider/azure.js +121 -121
- package/dist/plugin/provider/cerebras.js +1 -1
- package/dist/plugin/provider/cloudflare-ai-gateway.js +120 -120
- package/dist/plugin/provider/cloudflare-workers-ai.js +120 -120
- package/dist/plugin/provider/cohere.js +2 -2
- package/dist/plugin/provider/configured.js +118 -118
- package/dist/plugin/provider/digitalocean.js +92 -92
- package/dist/plugin/provider/dynamic.js +2 -2
- package/dist/plugin/provider/factory.js +1 -1
- package/dist/plugin/provider/gateway.js +2 -2
- package/dist/plugin/provider/github-copilot.js +92 -92
- package/dist/plugin/provider/gitlab.js +90 -90
- package/dist/plugin/provider/google-vertex.js +89 -89
- package/dist/plugin/provider/kilo.js +1 -1
- package/dist/plugin/provider/llmgateway.js +76 -76
- package/dist/plugin/provider/lmstudio.js +121 -121
- package/dist/plugin/provider/modal.js +91 -91
- package/dist/plugin/provider/nvidia.js +1 -1
- package/dist/plugin/provider/ollama.js +119 -119
- 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/prompt-cache-key.js +89 -89
- package/dist/plugin/provider/sap-ai-core.js +90 -90
- package/dist/plugin/provider/sdk-factory.js +1 -1
- package/dist/plugin/provider/snowflake-cortex.js +121 -121
- package/dist/plugin/provider/venice.js +2 -2
- package/dist/plugin/provider/vercel.js +89 -89
- package/dist/plugin/provider/vllm.js +119 -119
- package/dist/plugin/provider/xai.js +90 -90
- package/dist/plugin/provider/zenmux.js +1 -1
- package/dist/plugin/provider.js +158 -158
- package/dist/plugin/sdk.js +75 -75
- package/dist/plugin/service.js +3 -3
- package/dist/plugin/skill.js +140 -140
- package/dist/plugin/source-directory.js +1 -1
- package/dist/plugin/supervisor.js +349 -349
- package/dist/plugin/tool-input-repair.js +4 -4
- package/dist/plugin/update.js +6 -6
- 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 +5 -5
- package/dist/plugin/websearch/firecrawl.js +6 -6
- package/dist/plugin/websearch/index.js +9 -9
- package/dist/plugin/websearch/mcp.js +4 -4
- package/dist/plugin/websearch/parallel.js +8 -8
- package/dist/plugin/websearch/tavily.js +6 -6
- package/dist/plugin/websearch/tinyfish.js +6 -6
- package/dist/plugin.js +228 -228
- package/dist/project/schema.js +8 -8
- package/dist/project/sql.js +4 -4
- package/dist/project.js +87 -87
- package/dist/provider.js +98 -98
- 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 +95 -95
- 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 +85 -85
- package/dist/schema.js +1 -1
- package/dist/session/command.js +73 -73
- package/dist/session/compaction.js +133 -133
- package/dist/session/context.js +151 -151
- package/dist/session/diff.js +87 -87
- package/dist/session/environment.js +5 -5
- package/dist/session/error.js +5 -5
- package/dist/session/event.js +1 -1
- package/dist/session/execution/restart.js +218 -218
- package/dist/session/execution.js +127 -127
- package/dist/session/generate.js +152 -152
- package/dist/session/history.js +13 -13
- package/dist/session/inbox.js +87 -87
- package/dist/session/info.js +3 -3
- package/dist/session/instruction-entry.js +78 -78
- package/dist/session/instruction-state.js +8 -8
- package/dist/session/instructions.js +92 -92
- package/dist/session/message-updater.js +2 -2
- package/dist/session/message.js +1 -1
- package/dist/session/model-request.js +118 -118
- package/dist/session/model-transport.js +9 -9
- package/dist/session/move.js +129 -129
- package/dist/session/projector.js +85 -85
- package/dist/session/prompt.js +104 -104
- package/dist/session/provider-context.js +1 -1
- 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 +230 -230
- package/dist/session/runner/max-steps.js +1 -1
- package/dist/session/runner/model.js +97 -97
- package/dist/session/runner/publish-llm-event.js +3 -3
- package/dist/session/runner/retry.js +111 -111
- package/dist/session/runner/step.js +125 -125
- package/dist/session/runner/to-llm-message.js +2 -2
- package/dist/session/schema.js +5 -5
- package/dist/session/session.js +171 -171
- package/dist/session/shell.js +137 -137
- package/dist/session/skill.js +102 -102
- package/dist/session/sql.js +5 -5
- package/dist/session/stats.js +72 -72
- package/dist/session/store.js +82 -82
- package/dist/session/subagent-completion.js +1 -1
- package/dist/session/subagent-job.js +209 -209
- package/dist/session/system-prompt.js +3 -3
- package/dist/session/title.js +155 -155
- package/dist/session/to-session-error.js +110 -110
- package/dist/session/transfer.js +216 -216
- package/dist/session/usage.js +1 -1
- package/dist/session.js +217 -217
- package/dist/shell/parse.js +6 -6
- package/dist/shell/result.js +1 -1
- package/dist/shell/scan.js +1 -1
- package/dist/shell/select.js +13 -13
- package/dist/shell.js +139 -139
- package/dist/skill/discovery.js +6 -6
- package/dist/skill/instructions.js +106 -106
- package/dist/skill.js +111 -111
- package/dist/snapshot.js +92 -92
- package/dist/state.js +1 -1
- package/dist/tool/html-markdown.js +1 -1
- package/dist/tool/http-body.js +1 -1
- package/dist/tool/mcp.js +126 -126
- package/dist/tool/plugin/edit.js +117 -117
- package/dist/tool/plugin/file-diff.js +1 -1
- package/dist/tool/plugin/glob.js +123 -123
- package/dist/tool/plugin/grep.js +123 -123
- package/dist/tool/plugin/opencode.js +1 -1
- package/dist/tool/plugin/patch.js +115 -115
- package/dist/tool/plugin/question.js +104 -104
- package/dist/tool/plugin/read.js +124 -124
- package/dist/tool/plugin/shell.js +214 -214
- package/dist/tool/plugin/skill.js +108 -108
- package/dist/tool/plugin/subagent.js +218 -218
- package/dist/tool/plugin/webfetch.js +107 -107
- package/dist/tool/plugin/websearch.js +111 -111
- package/dist/tool/plugin/write.js +121 -121
- package/dist/tool/read-filesystem.js +95 -95
- package/dist/tool/runtime.js +1 -1
- package/dist/tool-output.js +8 -8
- package/dist/tool.js +16 -16
- package/dist/util/error-summary.js +1 -1
- package/dist/util/error.js +1 -1
- package/dist/util/git-executable.js +2 -2
- package/dist/util/iife.js +1 -1
- package/dist/util/lazy.js +1 -1
- package/dist/util/slug.js +1 -1
- package/dist/util/token.js +1 -1
- package/dist/util/which.js +1 -1
- package/dist/util/wildcard.js +1 -1
- package/dist/v1/config/agent.js +5 -5
- package/dist/v1/config/attachment.js +4 -4
- package/dist/v1/config/command.js +5 -5
- package/dist/v1/config/config.js +16 -16
- package/dist/v1/config/error.js +2 -2
- package/dist/v1/config/formatter.js +5 -5
- package/dist/v1/config/layout.js +1 -1
- package/dist/v1/config/lsp.js +3 -3
- 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 +4 -4
- package/dist/v1/config/server.js +2 -2
- package/dist/v1/config/skills.js +3 -3
- package/dist/v1/permission.js +1 -1
- package/dist/variant.js +92 -92
- 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 +80 -80
- package/dist/workspace/driver.js +5 -5
- package/dist/workspace/sql.js +1 -1
- package/dist/workspace.js +77 -77
- package/dist/worktree/directory.js +2 -2
- package/dist/worktree/git.js +10 -10
- package/dist/worktree/sql.js +5 -5
- package/dist/worktree/strategies.js +88 -88
- package/dist/worktree.js +93 -93
- package/package.json +8 -8
- package/dist/chunks/job-0mesazry.js +0 -4
- package/dist/chunks/job-76z3yd02.js +0 -252
- package/dist/chunks/job-dqkwgabx.js +0 -26
- package/dist/chunks/job-p2h6zvwc.js +0 -18
- package/dist/chunks/job-qqb4kf29.js +0 -492
- /package/dist/chunks/{job-0qkdqm5v.js → model-resolver-0qkdqm5v.js} +0 -0
- /package/dist/chunks/{job-0zkw76rk.js → model-resolver-0zkw76rk.js} +0 -0
- /package/dist/chunks/{job-17cy0kzp.js → model-resolver-17cy0kzp.js} +0 -0
- /package/dist/chunks/{job-1cnp2v09.js → model-resolver-1cnp2v09.js} +0 -0
- /package/dist/chunks/{job-1kg9ymc8.js → model-resolver-1kg9ymc8.js} +0 -0
- /package/dist/chunks/{job-24dcb14g.js → model-resolver-24dcb14g.js} +0 -0
- /package/dist/chunks/{job-2710q6r3.js → model-resolver-2710q6r3.js} +0 -0
- /package/dist/chunks/{job-2axfhc9x.js → model-resolver-2axfhc9x.js} +0 -0
- /package/dist/chunks/{job-2c3vjs8z.js → model-resolver-2c3vjs8z.js} +0 -0
- /package/dist/chunks/{job-359p4xyc.js → model-resolver-359p4xyc.js} +0 -0
- /package/dist/chunks/{job-3asan66x.js → model-resolver-3asan66x.js} +0 -0
- /package/dist/chunks/{job-3v8g72cx.js → model-resolver-3v8g72cx.js} +0 -0
- /package/dist/chunks/{job-3w5fmr99.js → model-resolver-3w5fmr99.js} +0 -0
- /package/dist/chunks/{job-3wcehsnq.js → model-resolver-3wcehsnq.js} +0 -0
- /package/dist/chunks/{job-43n2bw4t.js → model-resolver-43n2bw4t.js} +0 -0
- /package/dist/chunks/{job-4knz6hnm.js → model-resolver-4knz6hnm.js} +0 -0
- /package/dist/chunks/{job-4vcrnpx2.js → model-resolver-4vcrnpx2.js} +0 -0
- /package/dist/chunks/{job-4y7fprxs.js → model-resolver-4y7fprxs.js} +0 -0
- /package/dist/chunks/{job-53557ph1.js → model-resolver-53557ph1.js} +0 -0
- /package/dist/chunks/{job-550bvhaj.js → model-resolver-550bvhaj.js} +0 -0
- /package/dist/chunks/{job-5qd3pb7m.js → model-resolver-5qd3pb7m.js} +0 -0
- /package/dist/chunks/{job-6prwharc.js → model-resolver-6prwharc.js} +0 -0
- /package/dist/chunks/{job-7akdwqpd.js → model-resolver-7akdwqpd.js} +0 -0
- /package/dist/chunks/{job-7m9af43g.js → model-resolver-7m9af43g.js} +0 -0
- /package/dist/chunks/{job-822emrt2.js → model-resolver-822emrt2.js} +0 -0
- /package/dist/chunks/{job-88xbtdfr.js → model-resolver-88xbtdfr.js} +0 -0
- /package/dist/chunks/{job-8n3pysct.js → model-resolver-8n3pysct.js} +0 -0
- /package/dist/chunks/{job-922hggd3.js → model-resolver-922hggd3.js} +0 -0
- /package/dist/chunks/{job-9a4afbnw.js → model-resolver-9a4afbnw.js} +0 -0
- /package/dist/chunks/{job-9rqn6x4v.js → model-resolver-9rqn6x4v.js} +0 -0
- /package/dist/chunks/{job-a6k6eb26.js → model-resolver-a6k6eb26.js} +0 -0
- /package/dist/chunks/{job-af5trqkr.js → model-resolver-af5trqkr.js} +0 -0
- /package/dist/chunks/{job-afrmfg78.js → model-resolver-afrmfg78.js} +0 -0
- /package/dist/chunks/{job-aqzs7mqg.js → model-resolver-aqzs7mqg.js} +0 -0
- /package/dist/chunks/{job-atq7p7m5.js → model-resolver-atq7p7m5.js} +0 -0
- /package/dist/chunks/{job-bkyjaxrp.js → model-resolver-bkyjaxrp.js} +0 -0
- /package/dist/chunks/{job-bmr6ed5q.js → model-resolver-bmr6ed5q.js} +0 -0
- /package/dist/chunks/{job-cf4snx6d.js → model-resolver-cf4snx6d.js} +0 -0
- /package/dist/chunks/{job-cvy3z8tj.js → model-resolver-cvy3z8tj.js} +0 -0
- /package/dist/chunks/{job-d9fn303g.js → model-resolver-d9fn303g.js} +0 -0
- /package/dist/chunks/{job-d9jj8t3e.js → model-resolver-d9jj8t3e.js} +0 -0
- /package/dist/chunks/{job-dajrwvna.js → model-resolver-dajrwvna.js} +0 -0
- /package/dist/chunks/{job-dap0rakb.js → model-resolver-dap0rakb.js} +0 -0
- /package/dist/chunks/{job-df08tz66.js → model-resolver-df08tz66.js} +0 -0
- /package/dist/chunks/{job-dy18nga0.js → model-resolver-dy18nga0.js} +0 -0
- /package/dist/chunks/{job-e5kj55wp.js → model-resolver-e5kj55wp.js} +0 -0
- /package/dist/chunks/{job-e73j6tqm.js → model-resolver-e73j6tqm.js} +0 -0
- /package/dist/chunks/{job-ec1grn59.js → model-resolver-ec1grn59.js} +0 -0
- /package/dist/chunks/{job-eh3zwz77.js → model-resolver-eh3zwz77.js} +0 -0
- /package/dist/chunks/{job-emrn6kk6.js → model-resolver-emrn6kk6.js} +0 -0
- /package/dist/chunks/{job-f0mxakyp.js → model-resolver-f0mxakyp.js} +0 -0
- /package/dist/chunks/{job-f6n9ztr4.js → model-resolver-f6n9ztr4.js} +0 -0
- /package/dist/chunks/{job-faypxj3z.js → model-resolver-faypxj3z.js} +0 -0
- /package/dist/chunks/{job-fd410y7t.js → model-resolver-fd410y7t.js} +0 -0
- /package/dist/chunks/{job-fxgpk5d8.js → model-resolver-fxgpk5d8.js} +0 -0
- /package/dist/chunks/{job-g4wezp1m.js → model-resolver-g4wezp1m.js} +0 -0
- /package/dist/chunks/{job-g86h250q.js → model-resolver-g86h250q.js} +0 -0
- /package/dist/chunks/{job-gebd4c9n.js → model-resolver-gebd4c9n.js} +0 -0
- /package/dist/chunks/{job-gftt206x.js → model-resolver-gftt206x.js} +0 -0
- /package/dist/chunks/{job-hjbc5kem.js → model-resolver-hjbc5kem.js} +0 -0
- /package/dist/chunks/{job-hk9envan.js → model-resolver-hk9envan.js} +0 -0
- /package/dist/chunks/{job-j2ntwpah.js → model-resolver-j2ntwpah.js} +0 -0
- /package/dist/chunks/{job-j5zkgpj8.js → model-resolver-j5zkgpj8.js} +0 -0
- /package/dist/chunks/{job-jjkms2e6.js → model-resolver-jjkms2e6.js} +0 -0
- /package/dist/chunks/{job-jr7sbwjy.js → model-resolver-jr7sbwjy.js} +0 -0
- /package/dist/chunks/{job-jwfs4k6c.js → model-resolver-jwfs4k6c.js} +0 -0
- /package/dist/chunks/{job-jzg6c2d5.js → model-resolver-jzg6c2d5.js} +0 -0
- /package/dist/chunks/{job-mp448xyj.js → model-resolver-mp448xyj.js} +0 -0
- /package/dist/chunks/{job-msx8hqn2.js → model-resolver-msx8hqn2.js} +0 -0
- /package/dist/chunks/{job-n05xt0ee.js → model-resolver-n05xt0ee.js} +0 -0
- /package/dist/chunks/{job-n3j8tn72.js → model-resolver-n3j8tn72.js} +0 -0
- /package/dist/chunks/{job-njntx4h6.js → model-resolver-njntx4h6.js} +0 -0
- /package/dist/chunks/{job-q3sfg36h.js → model-resolver-q3sfg36h.js} +0 -0
- /package/dist/chunks/{job-q74kybfr.js → model-resolver-q74kybfr.js} +0 -0
- /package/dist/chunks/{job-qaymkmh1.js → model-resolver-qaymkmh1.js} +0 -0
- /package/dist/chunks/{job-qb87gjwd.js → model-resolver-qb87gjwd.js} +0 -0
- /package/dist/chunks/{job-qfa1cgps.js → model-resolver-qfa1cgps.js} +0 -0
- /package/dist/chunks/{job-qg3g05ea.js → model-resolver-qg3g05ea.js} +0 -0
- /package/dist/chunks/{job-qrg20bc0.js → model-resolver-qrg20bc0.js} +0 -0
- /package/dist/chunks/{job-rcb2kzg1.js → model-resolver-rcb2kzg1.js} +0 -0
- /package/dist/chunks/{job-sdp7kfr6.js → model-resolver-sdp7kfr6.js} +0 -0
- /package/dist/chunks/{job-sk3qaz4a.js → model-resolver-sk3qaz4a.js} +0 -0
- /package/dist/chunks/{job-ssg3fenm.js → model-resolver-ssg3fenm.js} +0 -0
- /package/dist/chunks/{job-twg0f83k.js → model-resolver-twg0f83k.js} +0 -0
- /package/dist/chunks/{job-w803qqfp.js → model-resolver-w803qqfp.js} +0 -0
- /package/dist/chunks/{job-wc3fc9cn.js → model-resolver-wc3fc9cn.js} +0 -0
- /package/dist/chunks/{job-wer8tq1h.js → model-resolver-wer8tq1h.js} +0 -0
- /package/dist/chunks/{job-wtztk69x.js → model-resolver-wtztk69x.js} +0 -0
- /package/dist/chunks/{job-x0ckcb58.js → model-resolver-x0ckcb58.js} +0 -0
- /package/dist/chunks/{job-x61499pn.js → model-resolver-x61499pn.js} +0 -0
- /package/dist/chunks/{job-y44na4kk.js → model-resolver-y44na4kk.js} +0 -0
- /package/dist/chunks/{job-y8cydn3q.js → model-resolver-y8cydn3q.js} +0 -0
- /package/dist/chunks/{job-y8f7s663.js → model-resolver-y8f7s663.js} +0 -0
- /package/dist/chunks/{job-ygaqb7jw.js → model-resolver-ygaqb7jw.js} +0 -0
- /package/dist/chunks/{job-ym463w8f.js → model-resolver-ym463w8f.js} +0 -0
- /package/dist/chunks/{job-z9919s4g.js → model-resolver-z9919s4g.js} +0 -0
|
@@ -1,66 +1,66 @@
|
|
|
1
1
|
import {
|
|
2
2
|
Service82,
|
|
3
3
|
node86
|
|
4
|
-
} from "./
|
|
4
|
+
} from "./model-resolver-jp646bv9.js";
|
|
5
5
|
import {
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
} from "./
|
|
6
|
+
Service77,
|
|
7
|
+
node80
|
|
8
|
+
} from "./model-resolver-714t0x07.js";
|
|
9
9
|
import {
|
|
10
|
-
|
|
11
|
-
} from "./
|
|
10
|
+
ID4
|
|
11
|
+
} from "./model-resolver-6kdq0pjd.js";
|
|
12
12
|
import {
|
|
13
|
-
|
|
13
|
+
Service52,
|
|
14
14
|
login2,
|
|
15
|
-
|
|
16
|
-
} from "./
|
|
15
|
+
node56
|
|
16
|
+
} from "./model-resolver-mk35kvz7.js";
|
|
17
17
|
import {
|
|
18
18
|
lazy2
|
|
19
|
-
} from "./
|
|
19
|
+
} from "./model-resolver-88xbtdfr.js";
|
|
20
20
|
import {
|
|
21
21
|
__export
|
|
22
|
-
} from "./
|
|
22
|
+
} from "./model-resolver-9rqn6x4v.js";
|
|
23
23
|
|
|
24
24
|
// src/pty.ts
|
|
25
25
|
var exports_pty = {};
|
|
26
26
|
__export(exports_pty, {
|
|
27
27
|
CreateInput: () => CreateInput2,
|
|
28
|
-
Event: () =>
|
|
28
|
+
Event: () => Event6,
|
|
29
29
|
ExitedError: () => ExitedError2,
|
|
30
|
-
Info: () =>
|
|
31
|
-
NotFoundError: () =>
|
|
30
|
+
Info: () => Info4,
|
|
31
|
+
NotFoundError: () => NotFoundError4,
|
|
32
32
|
Pty: () => exports_pty,
|
|
33
|
-
Service: () =>
|
|
33
|
+
Service: () => Service24,
|
|
34
34
|
UpdateInput: () => UpdateInput2,
|
|
35
|
-
node: () =>
|
|
35
|
+
node: () => node27
|
|
36
36
|
});
|
|
37
37
|
import { makeLocationNode } from "@opencode/util/effect/app-node";
|
|
38
38
|
import { Context, Effect, Layer, Schema } from "effect";
|
|
39
39
|
import { Pty } from "@opencode/schema/pty";
|
|
40
|
-
import { Event as
|
|
40
|
+
import { Event as Event6 } from "@opencode/schema/pty";
|
|
41
41
|
var BUFFER_LIMIT = 1024 * 1024 * 2;
|
|
42
42
|
var EXITED_LIMIT = 25;
|
|
43
43
|
var pty = lazy2(() => import("#pty"));
|
|
44
|
-
var
|
|
44
|
+
var Info4 = Pty.Info;
|
|
45
45
|
var CreateInput2 = Pty.CreateInput;
|
|
46
46
|
var UpdateInput2 = Pty.UpdateInput;
|
|
47
47
|
|
|
48
|
-
class
|
|
49
|
-
ptyID:
|
|
48
|
+
class NotFoundError4 extends Schema.TaggedError()("Pty.NotFoundError", {
|
|
49
|
+
ptyID: ID4
|
|
50
50
|
}) {
|
|
51
51
|
}
|
|
52
52
|
|
|
53
53
|
class ExitedError2 extends Schema.TaggedError()("Pty.ExitedError", {
|
|
54
|
-
ptyID:
|
|
54
|
+
ptyID: ID4
|
|
55
55
|
}) {
|
|
56
56
|
}
|
|
57
57
|
|
|
58
|
-
class
|
|
58
|
+
class Service24 extends Context.Service()("@opencode/Pty") {
|
|
59
59
|
}
|
|
60
|
-
var layer = Layer.effect(
|
|
60
|
+
var layer = Layer.effect(Service24, Effect.gen(function* () {
|
|
61
61
|
const bus = yield* Service82;
|
|
62
|
-
const location = yield*
|
|
63
|
-
const shell = yield*
|
|
62
|
+
const location = yield* Service77;
|
|
63
|
+
const shell = yield* Service52;
|
|
64
64
|
const context = yield* Effect.context();
|
|
65
65
|
const runFork = Effect.runForkWith(context);
|
|
66
66
|
const sessions = new Map;
|
|
@@ -97,7 +97,7 @@ var layer = Layer.effect(Service14, Effect.gen(function* () {
|
|
|
97
97
|
const requireSession = Effect.fn("Pty.requireSession")(function* (id) {
|
|
98
98
|
const session = sessions.get(id);
|
|
99
99
|
if (!session)
|
|
100
|
-
return yield* new
|
|
100
|
+
return yield* new NotFoundError4({ ptyID: id });
|
|
101
101
|
return session;
|
|
102
102
|
});
|
|
103
103
|
const removeSession = Effect.fnUntraced(function* (id) {
|
|
@@ -123,7 +123,7 @@ var layer = Layer.effect(Service14, Effect.gen(function* () {
|
|
|
123
123
|
return (yield* requireSession(id)).info;
|
|
124
124
|
});
|
|
125
125
|
const create = Effect.fn("Pty.create")(function* (input) {
|
|
126
|
-
const id =
|
|
126
|
+
const id = ID4.ascending();
|
|
127
127
|
const command = input.command || (yield* shell.resolve({ priority: "config" }));
|
|
128
128
|
const args = login2(command) ? [...input.args ?? [], "-l"] : [...input.args ?? []];
|
|
129
129
|
const cwd = input.cwd || location.directory;
|
|
@@ -268,12 +268,12 @@ var layer = Layer.effect(Service14, Effect.gen(function* () {
|
|
|
268
268
|
}
|
|
269
269
|
};
|
|
270
270
|
});
|
|
271
|
-
return
|
|
271
|
+
return Service24.of({ list, get, create, update, remove, write, attach });
|
|
272
272
|
}));
|
|
273
|
-
var
|
|
274
|
-
service:
|
|
273
|
+
var node27 = makeLocationNode({
|
|
274
|
+
service: Service24,
|
|
275
275
|
layer,
|
|
276
|
-
deps: [node86,
|
|
276
|
+
deps: [node86, node80, node56]
|
|
277
277
|
});
|
|
278
278
|
|
|
279
|
-
export {
|
|
279
|
+
export { Info4, CreateInput2, UpdateInput2, NotFoundError4, ExitedError2, Service24, node27, exports_pty, Event6 };
|
|
@@ -1,13 +1,13 @@
|
|
|
1
1
|
import {
|
|
2
2
|
Service83,
|
|
3
3
|
node87
|
|
4
|
-
} from "./
|
|
4
|
+
} from "./model-resolver-swg14gxk.js";
|
|
5
5
|
import {
|
|
6
6
|
PermissionTable2
|
|
7
|
-
} from "./
|
|
7
|
+
} from "./model-resolver-f828m53h.js";
|
|
8
8
|
import {
|
|
9
9
|
__export
|
|
10
|
-
} from "./
|
|
10
|
+
} from "./model-resolver-9rqn6x4v.js";
|
|
11
11
|
|
|
12
12
|
// src/permission/saved.ts
|
|
13
13
|
var exports_saved = {};
|
|
@@ -18,7 +18,7 @@ __export(exports_saved, {
|
|
|
18
18
|
ListInput: () => ListInput5,
|
|
19
19
|
PermissionSaved: () => exports_saved,
|
|
20
20
|
Service: () => Service75,
|
|
21
|
-
node: () =>
|
|
21
|
+
node: () => node78
|
|
22
22
|
});
|
|
23
23
|
import { eq } from "drizzle-orm";
|
|
24
24
|
import { Context, DateTime, Effect, Layer, Schema } from "effect";
|
|
@@ -68,6 +68,6 @@ var layer = Layer.effect(Service75, Effect.gen(function* () {
|
|
|
68
68
|
});
|
|
69
69
|
return Service75.of({ list, add, remove });
|
|
70
70
|
}));
|
|
71
|
-
var
|
|
71
|
+
var node78 = makeGlobalNode({ service: Service75, layer, deps: [node87] });
|
|
72
72
|
|
|
73
|
-
export { ID13, Info28, ListInput5, AddInput2, Service75,
|
|
73
|
+
export { ID13, Info28, ListInput5, AddInput2, Service75, node78, exports_saved };
|
|
@@ -1,29 +1,29 @@
|
|
|
1
1
|
import {
|
|
2
2
|
Service82,
|
|
3
3
|
node86
|
|
4
|
-
} from "./
|
|
4
|
+
} from "./model-resolver-jp646bv9.js";
|
|
5
5
|
import {
|
|
6
6
|
environment2
|
|
7
|
-
} from "./
|
|
7
|
+
} from "./model-resolver-mk35kvz7.js";
|
|
8
8
|
import {
|
|
9
9
|
makeDaemonTransport2
|
|
10
|
-
} from "./
|
|
10
|
+
} from "./model-resolver-sk3qaz4a.js";
|
|
11
11
|
import {
|
|
12
12
|
__export
|
|
13
|
-
} from "./
|
|
13
|
+
} from "./model-resolver-9rqn6x4v.js";
|
|
14
14
|
|
|
15
15
|
// src/persistent-pty/index.ts
|
|
16
16
|
var exports_persistent_pty = {};
|
|
17
17
|
__export(exports_persistent_pty, {
|
|
18
18
|
Handoff: () => Handoff2,
|
|
19
19
|
NotFoundError: () => NotFoundError3,
|
|
20
|
-
Options: () =>
|
|
20
|
+
Options: () => Options4,
|
|
21
21
|
PersistentPty: () => exports_persistent_pty,
|
|
22
|
-
Service: () =>
|
|
22
|
+
Service: () => Service22,
|
|
23
23
|
UnavailableError: () => UnavailableError2,
|
|
24
|
-
configured: () =>
|
|
25
|
-
layer: () =>
|
|
26
|
-
node: () =>
|
|
24
|
+
configured: () => configured4,
|
|
25
|
+
layer: () => layer10,
|
|
26
|
+
node: () => node25
|
|
27
27
|
});
|
|
28
28
|
import os from "node:os";
|
|
29
29
|
import path from "node:path";
|
|
@@ -35,7 +35,7 @@ import { Pty } from "@opencode/schema/pty";
|
|
|
35
35
|
import { Global } from "@opencode/util/global";
|
|
36
36
|
import { resolveBinary } from "#persistent-pty-binary";
|
|
37
37
|
import { Handoff as Handoff2 } from "@opencode/schema/persistent-pty";
|
|
38
|
-
var
|
|
38
|
+
var Options4 = Schema.Struct({ handoff: Schema.optional(Handoff) });
|
|
39
39
|
|
|
40
40
|
class UnavailableError2 extends Schema.TaggedError()("PersistentPty.UnavailableError", {
|
|
41
41
|
message: Schema.String
|
|
@@ -47,9 +47,9 @@ class NotFoundError3 extends Schema.TaggedError()("PersistentPty.NotFoundError",
|
|
|
47
47
|
}) {
|
|
48
48
|
}
|
|
49
49
|
|
|
50
|
-
class
|
|
50
|
+
class Service22 extends Context.Service()("@opencode/PersistentPty") {
|
|
51
51
|
}
|
|
52
|
-
var makeLayer = (options = {}) => Layer.effect(
|
|
52
|
+
var makeLayer = (options = {}) => Layer.effect(Service22, Effect.gen(function* () {
|
|
53
53
|
const bus = yield* Service82;
|
|
54
54
|
const global = yield* Global.Service;
|
|
55
55
|
const context = yield* Effect.context();
|
|
@@ -239,7 +239,7 @@ var makeLayer = (options = {}) => Layer.effect(Service16, Effect.gen(function* (
|
|
|
239
239
|
detach: attachment.detach
|
|
240
240
|
};
|
|
241
241
|
});
|
|
242
|
-
return
|
|
242
|
+
return Service22.of({
|
|
243
243
|
list,
|
|
244
244
|
get,
|
|
245
245
|
create,
|
|
@@ -255,13 +255,13 @@ var makeLayer = (options = {}) => Layer.effect(Service16, Effect.gen(function* (
|
|
|
255
255
|
attach
|
|
256
256
|
});
|
|
257
257
|
}));
|
|
258
|
-
var
|
|
259
|
-
var
|
|
260
|
-
service:
|
|
261
|
-
layer: options === undefined ?
|
|
258
|
+
var layer10 = makeLayer();
|
|
259
|
+
var configured4 = (options) => makeGlobalNode({
|
|
260
|
+
service: Service22,
|
|
261
|
+
layer: options === undefined ? layer10 : makeLayer(options),
|
|
262
262
|
deps: [node86, Global.node]
|
|
263
263
|
});
|
|
264
|
-
var
|
|
264
|
+
var node25 = configured4();
|
|
265
265
|
var request = (daemon, value, start = false) => daemon.request(value, start).pipe(Effect.mapError(unavailable));
|
|
266
266
|
var optionalRequest = (daemon, value) => daemon.requestIfRunning(value).pipe(Effect.mapError(unavailable));
|
|
267
267
|
var unexpected = (response) => Effect.fail(new UnavailableError2({ message: `unexpected opencode-pty response: ${response.type}` }));
|
|
@@ -301,4 +301,4 @@ function fromID(value) {
|
|
|
301
301
|
return parsed;
|
|
302
302
|
}
|
|
303
303
|
|
|
304
|
-
export {
|
|
304
|
+
export { Options4, UnavailableError2, NotFoundError3, Service22, layer10, configured4, node25, exports_persistent_pty, Handoff2 };
|
|
@@ -1,23 +1,23 @@
|
|
|
1
1
|
import {
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
} from "./
|
|
2
|
+
Service44,
|
|
3
|
+
node47
|
|
4
|
+
} from "./model-resolver-gtybr0rh.js";
|
|
5
5
|
import {
|
|
6
6
|
Key4,
|
|
7
7
|
removed2,
|
|
8
|
-
|
|
8
|
+
make20,
|
|
9
9
|
diffByKey2
|
|
10
|
-
} from "./
|
|
10
|
+
} from "./model-resolver-02nrjc1r.js";
|
|
11
11
|
import {
|
|
12
12
|
__export
|
|
13
|
-
} from "./
|
|
13
|
+
} from "./model-resolver-9rqn6x4v.js";
|
|
14
14
|
|
|
15
15
|
// src/reference/instructions.ts
|
|
16
|
-
var
|
|
17
|
-
__export(
|
|
18
|
-
ReferenceInstructions: () =>
|
|
19
|
-
Service: () =>
|
|
20
|
-
node: () =>
|
|
16
|
+
var exports_instructions2 = {};
|
|
17
|
+
__export(exports_instructions2, {
|
|
18
|
+
ReferenceInstructions: () => exports_instructions2,
|
|
19
|
+
Service: () => Service33,
|
|
20
|
+
node: () => node37
|
|
21
21
|
});
|
|
22
22
|
import { makeLocationNode } from "@opencode/util/effect/app-node";
|
|
23
23
|
import { Context, Effect, Layer, Schema } from "effect";
|
|
@@ -57,18 +57,18 @@ var update = (previous, current) => {
|
|
|
57
57
|
`);
|
|
58
58
|
};
|
|
59
59
|
|
|
60
|
-
class
|
|
60
|
+
class Service33 extends Context.Service()("@opencode/ReferenceInstructions") {
|
|
61
61
|
}
|
|
62
|
-
var layer = Layer.effect(
|
|
63
|
-
const references = yield*
|
|
64
|
-
return
|
|
62
|
+
var layer = Layer.effect(Service33, Effect.gen(function* () {
|
|
63
|
+
const references = yield* Service44;
|
|
64
|
+
return Service33.of({
|
|
65
65
|
load: Effect.fn("ReferenceInstructions.load")(function* () {
|
|
66
66
|
const available = (yield* references.list()).filter((reference) => reference.description !== undefined).map((reference) => ({
|
|
67
67
|
name: reference.name,
|
|
68
68
|
path: reference.path,
|
|
69
69
|
description: reference.description
|
|
70
70
|
})).toSorted((a, b) => a.name.localeCompare(b.name));
|
|
71
|
-
return
|
|
71
|
+
return make20({
|
|
72
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),
|
|
@@ -81,6 +81,6 @@ var layer = Layer.effect(Service24, Effect.gen(function* () {
|
|
|
81
81
|
})
|
|
82
82
|
});
|
|
83
83
|
}));
|
|
84
|
-
var
|
|
84
|
+
var node37 = makeLocationNode({ service: Service33, layer, deps: [node47] });
|
|
85
85
|
|
|
86
|
-
export {
|
|
86
|
+
export { Service33, node37, exports_instructions2 };
|
|
@@ -1,18 +1,18 @@
|
|
|
1
1
|
import {
|
|
2
2
|
PositiveInt2
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./model-resolver-922hggd3.js";
|
|
4
4
|
import {
|
|
5
|
-
|
|
6
|
-
} from "./
|
|
5
|
+
Info18
|
|
6
|
+
} from "./model-resolver-f3ngv102.js";
|
|
7
7
|
import {
|
|
8
8
|
__export
|
|
9
|
-
} from "./
|
|
9
|
+
} from "./model-resolver-9rqn6x4v.js";
|
|
10
10
|
|
|
11
11
|
// src/v1/config/agent.ts
|
|
12
12
|
var exports_agent3 = {};
|
|
13
13
|
__export(exports_agent3, {
|
|
14
14
|
ConfigAgentV1: () => exports_agent3,
|
|
15
|
-
Info: () =>
|
|
15
|
+
Info: () => Info17
|
|
16
16
|
});
|
|
17
17
|
import { Schema, SchemaGetter } from "effect";
|
|
18
18
|
var Color = Schema.Union([
|
|
@@ -44,7 +44,7 @@ var AgentSchema = Schema.StructWithRest(Schema.Struct({
|
|
|
44
44
|
description: "Maximum number of agentic iterations before forcing text-only response"
|
|
45
45
|
}),
|
|
46
46
|
maxSteps: Schema.optional(PositiveInt2).annotate({ description: "@deprecated Use 'steps' field instead." }),
|
|
47
|
-
permission: Schema.optional(
|
|
47
|
+
permission: Schema.optional(Info18)
|
|
48
48
|
}), [Schema.Record(Schema.String, Schema.Any)]);
|
|
49
49
|
var KNOWN_KEYS = new Set(["name", ...Object.keys(AgentSchema.schema.fields)]);
|
|
50
50
|
var normalize = (agent) => {
|
|
@@ -66,9 +66,9 @@ var normalize = (agent) => {
|
|
|
66
66
|
const steps = agent.steps ?? agent.maxSteps;
|
|
67
67
|
return { ...agent, options, permission, ...steps !== undefined ? { steps } : {} };
|
|
68
68
|
};
|
|
69
|
-
var
|
|
69
|
+
var Info17 = AgentSchema.pipe(Schema.decodeTo(AgentSchema, {
|
|
70
70
|
decode: SchemaGetter.transform(normalize),
|
|
71
71
|
encode: SchemaGetter.passthrough({ strict: false })
|
|
72
72
|
})).annotate({ identifier: "AgentConfig" });
|
|
73
73
|
|
|
74
|
-
export {
|
|
74
|
+
export { Info17, exports_agent3 };
|
|
@@ -2,26 +2,26 @@ import {
|
|
|
2
2
|
NonNegativeInt2,
|
|
3
3
|
PositiveInt2,
|
|
4
4
|
RelativePath2
|
|
5
|
-
} from "./
|
|
5
|
+
} from "./model-resolver-922hggd3.js";
|
|
6
6
|
import {
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
} from "./
|
|
7
|
+
Service64,
|
|
8
|
+
node67
|
|
9
|
+
} from "./model-resolver-afzhdx1e.js";
|
|
10
10
|
import {
|
|
11
11
|
RipgrepBinary2
|
|
12
|
-
} from "./
|
|
12
|
+
} from "./model-resolver-8d7r5vzw.js";
|
|
13
13
|
import {
|
|
14
14
|
__export
|
|
15
|
-
} from "./
|
|
15
|
+
} from "./model-resolver-9rqn6x4v.js";
|
|
16
16
|
|
|
17
17
|
// src/ripgrep.ts
|
|
18
18
|
var exports_ripgrep = {};
|
|
19
19
|
__export(exports_ripgrep, {
|
|
20
|
-
Error: () =>
|
|
20
|
+
Error: () => Error2,
|
|
21
21
|
InvalidPatternError: () => InvalidPatternError2,
|
|
22
22
|
Ripgrep: () => exports_ripgrep,
|
|
23
|
-
Service: () =>
|
|
24
|
-
node: () =>
|
|
23
|
+
Service: () => Service18,
|
|
24
|
+
node: () => node20
|
|
25
25
|
});
|
|
26
26
|
import { Context, Effect, Fiber, Layer, Schema, Stream } from "effect";
|
|
27
27
|
import { ChildProcess } from "effect/unstable/process";
|
|
@@ -46,7 +46,7 @@ var RawMatch = Schema.Struct({
|
|
|
46
46
|
});
|
|
47
47
|
var decodeJsonRecord = Schema.decodeUnknownEffect(Schema.fromJsonString(Schema.Unknown));
|
|
48
48
|
|
|
49
|
-
class
|
|
49
|
+
class Error2 extends Schema.TaggedError()("Ripgrep.Error", {
|
|
50
50
|
message: Schema.String,
|
|
51
51
|
cause: Schema.optional(Schema.Defect())
|
|
52
52
|
}) {
|
|
@@ -58,13 +58,13 @@ class InvalidPatternError2 extends Schema.TaggedError()("Ripgrep.InvalidPatternE
|
|
|
58
58
|
}) {
|
|
59
59
|
}
|
|
60
60
|
|
|
61
|
-
class
|
|
61
|
+
class Service18 extends Context.Service()("@opencode/Ripgrep") {
|
|
62
62
|
}
|
|
63
|
-
var failure = (message, cause) => new
|
|
63
|
+
var failure = (message, cause) => new Error2({ message, cause });
|
|
64
64
|
var normalizePath = (value) => value.replace(/^(?:\.[\\/])+/u, "").replace(/^[\\/]+/u, "").replaceAll("\\", "/");
|
|
65
65
|
var isInvalidPattern = (stderr) => stderr.includes("regex parse error") || stderr.includes("error parsing regex");
|
|
66
|
-
var layer = Layer.effect(
|
|
67
|
-
const environment = yield*
|
|
66
|
+
var layer = Layer.effect(Service18, Effect.gen(function* () {
|
|
67
|
+
const environment = yield* Service64;
|
|
68
68
|
const binary = yield* RipgrepBinary2.Service;
|
|
69
69
|
const run = (input) => {
|
|
70
70
|
const program = Effect.scoped(Effect.gen(function* () {
|
|
@@ -90,9 +90,9 @@ var layer = Layer.effect(Service64, Effect.gen(function* () {
|
|
|
90
90
|
return code === 1 ? [] : rows;
|
|
91
91
|
}));
|
|
92
92
|
const abortable = input.signal ? program.pipe(Effect.raceFirst(waitForAbort(input.signal))) : program;
|
|
93
|
-
return abortable.pipe(Effect.mapError((cause) => cause instanceof
|
|
93
|
+
return abortable.pipe(Effect.mapError((cause) => cause instanceof Error2 || cause instanceof InvalidPatternError2 ? cause : failure("ripgrep execution failed", cause)));
|
|
94
94
|
};
|
|
95
|
-
return
|
|
95
|
+
return Service18.of({
|
|
96
96
|
glob: (input) => run({
|
|
97
97
|
cwd: input.cwd,
|
|
98
98
|
limit: input.limit,
|
|
@@ -175,6 +175,6 @@ var layer = Layer.effect(Service64, Effect.gen(function* () {
|
|
|
175
175
|
}))))
|
|
176
176
|
});
|
|
177
177
|
}));
|
|
178
|
-
var
|
|
178
|
+
var node20 = makeLocationNode({ service: Service18, layer, deps: [node67, RipgrepBinary2.node] });
|
|
179
179
|
|
|
180
|
-
export {
|
|
180
|
+
export { Error2, InvalidPatternError2, Service18, node20, exports_ripgrep };
|
|
@@ -1,16 +1,16 @@
|
|
|
1
1
|
import {
|
|
2
|
-
|
|
2
|
+
ID7,
|
|
3
3
|
mergeOverlay2
|
|
4
|
-
} from "./
|
|
4
|
+
} from "./model-resolver-rfgcsz1j.js";
|
|
5
5
|
import {
|
|
6
|
-
|
|
6
|
+
ID6,
|
|
7
7
|
VariantID2,
|
|
8
|
-
|
|
8
|
+
Info20,
|
|
9
9
|
compatibility2
|
|
10
|
-
} from "./
|
|
10
|
+
} from "./model-resolver-vss6mrqc.js";
|
|
11
11
|
import {
|
|
12
12
|
__export
|
|
13
|
-
} from "./
|
|
13
|
+
} from "./model-resolver-9rqn6x4v.js";
|
|
14
14
|
|
|
15
15
|
// src/modal/models.ts
|
|
16
16
|
var exports_models = {};
|
|
@@ -22,7 +22,7 @@ __export(exports_models, {
|
|
|
22
22
|
});
|
|
23
23
|
import { Money } from "@opencode/schema/money";
|
|
24
24
|
import { Option, Schema } from "effect";
|
|
25
|
-
var providerID =
|
|
25
|
+
var providerID = ID7.make("modal");
|
|
26
26
|
var ReasoningOption = Schema.Struct({
|
|
27
27
|
type: Schema.Literal("effort"),
|
|
28
28
|
values: Schema.Array(Schema.NullOr(Schema.String))
|
|
@@ -75,8 +75,8 @@ function derive2(baseURL, remote, existing) {
|
|
|
75
75
|
const templates = new Map(existing.map((model) => [model.id, model]));
|
|
76
76
|
const result = new Map;
|
|
77
77
|
for (const item of remote) {
|
|
78
|
-
const template = templates.get(
|
|
79
|
-
const id =
|
|
78
|
+
const template = templates.get(ID6.make(item.base_model_id ?? item.hugging_face_id ?? item.id));
|
|
79
|
+
const id = ID6.make(item.id);
|
|
80
80
|
result.set(id, build(id, item, baseURL, template));
|
|
81
81
|
}
|
|
82
82
|
return result;
|
|
@@ -94,10 +94,10 @@ function limit(value, fallback) {
|
|
|
94
94
|
function build(id, remote, baseURL, previous) {
|
|
95
95
|
const cost = previous?.cost[0];
|
|
96
96
|
const input = previous?.limit.input;
|
|
97
|
-
return
|
|
98
|
-
...
|
|
97
|
+
return Info20.make({
|
|
98
|
+
...Info20.default(providerID, id),
|
|
99
99
|
id,
|
|
100
|
-
modelID:
|
|
100
|
+
modelID: ID6.make(remote.id),
|
|
101
101
|
providerID,
|
|
102
102
|
name: remote.name ?? previous?.name ?? remote.id,
|
|
103
103
|
family: previous?.family,
|
|
@@ -1,65 +1,65 @@
|
|
|
1
1
|
import {
|
|
2
2
|
Service83,
|
|
3
3
|
node87
|
|
4
|
-
} from "./
|
|
4
|
+
} from "./model-resolver-swg14gxk.js";
|
|
5
5
|
import {
|
|
6
6
|
Service82,
|
|
7
7
|
node86
|
|
8
|
-
} from "./
|
|
8
|
+
} from "./model-resolver-jp646bv9.js";
|
|
9
9
|
import {
|
|
10
10
|
llmClient2
|
|
11
|
-
} from "./
|
|
11
|
+
} from "./model-resolver-5t3nmthw.js";
|
|
12
12
|
import {
|
|
13
13
|
SessionEvent2
|
|
14
|
-
} from "./
|
|
14
|
+
} from "./model-resolver-ec1grn59.js";
|
|
15
15
|
import {
|
|
16
16
|
provenance2,
|
|
17
17
|
compatible2,
|
|
18
18
|
isCheckpoint2,
|
|
19
19
|
encode2
|
|
20
|
-
} from "./
|
|
20
|
+
} from "./model-resolver-paegk39x.js";
|
|
21
21
|
import {
|
|
22
22
|
load5
|
|
23
|
-
} from "./
|
|
23
|
+
} from "./model-resolver-2db12876.js";
|
|
24
24
|
import {
|
|
25
25
|
create3
|
|
26
|
-
} from "./
|
|
26
|
+
} from "./model-resolver-rdw6cm16.js";
|
|
27
27
|
import {
|
|
28
28
|
toLLMMessages2
|
|
29
|
-
} from "./
|
|
29
|
+
} from "./model-resolver-tcg29b4q.js";
|
|
30
30
|
import {
|
|
31
31
|
baseTranscript2,
|
|
32
32
|
unsupportedParts2,
|
|
33
33
|
boundImages2
|
|
34
|
-
} from "./
|
|
34
|
+
} from "./model-resolver-hr6wd4xv.js";
|
|
35
35
|
import {
|
|
36
36
|
toSessionError2
|
|
37
|
-
} from "./
|
|
37
|
+
} from "./model-resolver-zcdrxs46.js";
|
|
38
38
|
import {
|
|
39
39
|
policy2,
|
|
40
40
|
transient2
|
|
41
|
-
} from "./
|
|
41
|
+
} from "./model-resolver-n272ptga.js";
|
|
42
42
|
import {
|
|
43
43
|
estimate2
|
|
44
|
-
} from "./
|
|
44
|
+
} from "./model-resolver-h6vf3j39.js";
|
|
45
45
|
import {
|
|
46
46
|
calculateCost2,
|
|
47
47
|
record2,
|
|
48
48
|
add2
|
|
49
|
-
} from "./
|
|
49
|
+
} from "./model-resolver-tdstcens.js";
|
|
50
50
|
import {
|
|
51
51
|
__export
|
|
52
|
-
} from "./
|
|
52
|
+
} from "./model-resolver-9rqn6x4v.js";
|
|
53
53
|
|
|
54
54
|
// src/session/compaction.ts
|
|
55
55
|
var exports_compaction3 = {};
|
|
56
56
|
__export(exports_compaction3, {
|
|
57
|
-
Service: () =>
|
|
57
|
+
Service: () => Service8,
|
|
58
58
|
SessionCompaction: () => exports_compaction3,
|
|
59
59
|
buildPrompt: () => buildPrompt2,
|
|
60
60
|
estimateTokens: () => estimateTokens2,
|
|
61
|
-
layer: () =>
|
|
62
|
-
node: () =>
|
|
61
|
+
layer: () => layer7,
|
|
62
|
+
node: () => node10,
|
|
63
63
|
retainUsers: () => retainUsers2,
|
|
64
64
|
serializeToolContent: () => serializeToolContent2,
|
|
65
65
|
truncateToolOutput: () => truncateToolOutput2
|
|
@@ -125,7 +125,7 @@ var SUMMARY_HEADINGS = SUMMARY_TEMPLATE.split(`
|
|
|
125
125
|
`).filter((line) => line.startsWith("##"));
|
|
126
126
|
var LEGACY_HEADING = "## Additional Context";
|
|
127
127
|
|
|
128
|
-
class
|
|
128
|
+
class Service8 extends Context.Service()("@opencode/SessionCompaction") {
|
|
129
129
|
}
|
|
130
130
|
var hasInputUsage = (message) => message.type === "assistant" && !message.error && message.tokens !== undefined && message.tokens.input + message.tokens.cache.read + message.tokens.cache.write > 0;
|
|
131
131
|
var estimateTokens2 = (input) => {
|
|
@@ -298,7 +298,7 @@ var buildPrompt2 = (update, legacy = false) => {
|
|
|
298
298
|
};
|
|
299
299
|
var hasSummarySection = (summary) => summary.split(`
|
|
300
300
|
`).some((line) => SUMMARY_HEADINGS.includes(line.trim()));
|
|
301
|
-
var
|
|
301
|
+
var layer7 = Layer.effect(Service8, Effect.gen(function* () {
|
|
302
302
|
const bus = yield* Service82;
|
|
303
303
|
const llm = yield* LLMClient.Service;
|
|
304
304
|
const db = (yield* Service83).db;
|
|
@@ -606,7 +606,7 @@ var layer6 = Layer.effect(Service9, Effect.gen(function* () {
|
|
|
606
606
|
}
|
|
607
607
|
}));
|
|
608
608
|
});
|
|
609
|
-
return
|
|
609
|
+
return Service8.of({
|
|
610
610
|
transform: state.transform,
|
|
611
611
|
reload: state.reload,
|
|
612
612
|
enabled: () => state.get().auto,
|
|
@@ -615,10 +615,10 @@ var layer6 = Layer.effect(Service9, Effect.gen(function* () {
|
|
|
615
615
|
compactManual
|
|
616
616
|
});
|
|
617
617
|
}));
|
|
618
|
-
var
|
|
619
|
-
service:
|
|
620
|
-
layer:
|
|
618
|
+
var node10 = makeLocationNode({
|
|
619
|
+
service: Service8,
|
|
620
|
+
layer: layer7,
|
|
621
621
|
deps: [node86, node87, llmClient2]
|
|
622
622
|
});
|
|
623
623
|
|
|
624
|
-
export {
|
|
624
|
+
export { Service8, estimateTokens2, retainUsers2, truncateToolOutput2, serializeToolContent2, buildPrompt2, layer7, node10, exports_compaction3 };
|