@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
|
@@ -2,47 +2,47 @@ import {
|
|
|
2
2
|
AbsolutePath2,
|
|
3
3
|
PositiveInt2,
|
|
4
4
|
RelativePath2
|
|
5
|
-
} from "./
|
|
5
|
+
} from "./model-resolver-922hggd3.js";
|
|
6
6
|
import {
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
} from "./
|
|
7
|
+
Service77,
|
|
8
|
+
node80
|
|
9
|
+
} from "./model-resolver-714t0x07.js";
|
|
10
10
|
import {
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
} from "./
|
|
11
|
+
Service17,
|
|
12
|
+
node19
|
|
13
|
+
} from "./model-resolver-at58p27x.js";
|
|
14
14
|
import {
|
|
15
15
|
__export
|
|
16
|
-
} from "./
|
|
16
|
+
} from "./model-resolver-9rqn6x4v.js";
|
|
17
17
|
|
|
18
18
|
// src/filesystem.ts
|
|
19
19
|
var exports_filesystem = {};
|
|
20
20
|
__export(exports_filesystem, {
|
|
21
|
-
Content: () =>
|
|
21
|
+
Content: () => Content2,
|
|
22
22
|
DEFAULT_SEARCH_LIMIT: () => DEFAULT_SEARCH_LIMIT2,
|
|
23
23
|
DEFAULT_SEARCH_TIMEOUT_MS: () => DEFAULT_SEARCH_TIMEOUT_MS2,
|
|
24
|
-
Entry: () =>
|
|
25
|
-
Event: () =>
|
|
24
|
+
Entry: () => Entry2,
|
|
25
|
+
Event: () => Event2,
|
|
26
26
|
FileSystem: () => exports_filesystem,
|
|
27
27
|
FindInput: () => FindInput2,
|
|
28
28
|
GlobInput: () => GlobInput2,
|
|
29
29
|
GrepInput: () => GrepInput2,
|
|
30
|
-
ListInput: () =>
|
|
30
|
+
ListInput: () => ListInput2,
|
|
31
31
|
Match: () => Match2,
|
|
32
|
-
NotFoundError: () =>
|
|
32
|
+
NotFoundError: () => NotFoundError2,
|
|
33
33
|
ReadInput: () => ReadInput2,
|
|
34
|
-
Service: () =>
|
|
34
|
+
Service: () => Service16,
|
|
35
35
|
Submatch: () => Submatch2,
|
|
36
36
|
Write: () => Write2,
|
|
37
37
|
WriteInput: () => WriteInput2,
|
|
38
|
-
node: () =>
|
|
38
|
+
node: () => node18
|
|
39
39
|
});
|
|
40
40
|
import { makeLocationNode } from "@opencode/util/effect/app-node";
|
|
41
41
|
import path from "path";
|
|
42
42
|
import { Context, Effect, Layer, Schema } from "effect";
|
|
43
43
|
import { FSUtil } from "@opencode/util/fs-util";
|
|
44
44
|
import { Entry, FileSystem, FindInput as FindInput2, Write as Write2 } from "@opencode/schema/filesystem";
|
|
45
|
-
import { Entry as
|
|
45
|
+
import { Entry as Entry2, Match as Match2, Submatch as Submatch2 } from "@opencode/schema/filesystem";
|
|
46
46
|
var ReadInput2 = Schema.Struct({
|
|
47
47
|
path: RelativePath2
|
|
48
48
|
});
|
|
@@ -51,18 +51,18 @@ var WriteInput2 = Schema.Struct({
|
|
|
51
51
|
data: Schema.Uint8Array
|
|
52
52
|
});
|
|
53
53
|
|
|
54
|
-
class
|
|
54
|
+
class NotFoundError2 extends Schema.TaggedError()("FileSystem.NotFoundError", {
|
|
55
55
|
path: RelativePath2
|
|
56
56
|
}) {
|
|
57
57
|
}
|
|
58
|
-
var
|
|
58
|
+
var Content2 = Schema.Struct({
|
|
59
59
|
uri: Schema.String,
|
|
60
60
|
name: Schema.String.pipe(Schema.optional),
|
|
61
61
|
content: Schema.String,
|
|
62
62
|
encoding: Schema.Literals(["utf8", "base64"]),
|
|
63
63
|
mime: Schema.String
|
|
64
64
|
}).annotate({ identifier: "FileSystem.Content" });
|
|
65
|
-
var
|
|
65
|
+
var ListInput2 = Schema.Struct({
|
|
66
66
|
path: Schema.String.pipe(Schema.optional)
|
|
67
67
|
});
|
|
68
68
|
var DEFAULT_SEARCH_LIMIT2 = 100;
|
|
@@ -85,14 +85,14 @@ class GrepInput2 extends Schema.Class("FileSystem.GrepInput")({
|
|
|
85
85
|
limit: Schema.optionalKey(PositiveInt2)
|
|
86
86
|
}) {
|
|
87
87
|
}
|
|
88
|
-
var
|
|
88
|
+
var Event2 = FileSystem.Event;
|
|
89
89
|
|
|
90
|
-
class
|
|
90
|
+
class Service16 extends Context.Service()("@opencode/FileSystem") {
|
|
91
91
|
}
|
|
92
|
-
var baseLayer = Layer.effect(
|
|
92
|
+
var baseLayer = Layer.effect(Service16, Effect.gen(function* () {
|
|
93
93
|
const fs = yield* FSUtil.Service;
|
|
94
|
-
const location = yield*
|
|
95
|
-
const search = yield*
|
|
94
|
+
const location = yield* Service77;
|
|
95
|
+
const search = yield* Service17;
|
|
96
96
|
const root = location.workspaceID ? location.directory : yield* fs.realPath(location.directory).pipe(Effect.orDie);
|
|
97
97
|
const resolve = Effect.fnUntraced(function* (input) {
|
|
98
98
|
const absolute = path.resolve(location.directory, input ?? ".");
|
|
@@ -103,15 +103,15 @@ var baseLayer = Layer.effect(Service62, Effect.gen(function* () {
|
|
|
103
103
|
return yield* Effect.die(new Error("Path escapes the location"));
|
|
104
104
|
return { absolute, real, directory: location.directory };
|
|
105
105
|
});
|
|
106
|
-
return
|
|
106
|
+
return Service16.of({
|
|
107
107
|
find: search.find,
|
|
108
108
|
read: Effect.fn("FileSystem.read")(function* (input) {
|
|
109
|
-
const target = yield* resolve(input.path).pipe(Effect.catchReason("PlatformError", "NotFound", () => Effect.fail(new
|
|
110
|
-
const info = yield* fs.stat(target.real).pipe(Effect.catchReason("PlatformError", "NotFound", () => Effect.fail(new
|
|
109
|
+
const target = yield* resolve(input.path).pipe(Effect.catchReason("PlatformError", "NotFound", () => Effect.fail(new NotFoundError2({ path: input.path })), (_, error) => Effect.die(error)));
|
|
110
|
+
const info = yield* fs.stat(target.real).pipe(Effect.catchReason("PlatformError", "NotFound", () => Effect.fail(new NotFoundError2({ path: input.path })), (_, error) => Effect.die(error)));
|
|
111
111
|
if (info.type !== "File")
|
|
112
112
|
return yield* Effect.die(new Error("Path is not a file"));
|
|
113
113
|
return {
|
|
114
|
-
content: yield* fs.readFile(target.real).pipe(Effect.catchReason("PlatformError", "NotFound", () => Effect.fail(new
|
|
114
|
+
content: yield* fs.readFile(target.real).pipe(Effect.catchReason("PlatformError", "NotFound", () => Effect.fail(new NotFoundError2({ path: input.path })), (_, error) => Effect.die(error))),
|
|
115
115
|
mime: FSUtil.mimeType(target.real)
|
|
116
116
|
};
|
|
117
117
|
}),
|
|
@@ -140,10 +140,10 @@ var baseLayer = Layer.effect(Service62, Effect.gen(function* () {
|
|
|
140
140
|
})
|
|
141
141
|
});
|
|
142
142
|
}));
|
|
143
|
-
var
|
|
144
|
-
service:
|
|
143
|
+
var node18 = makeLocationNode({
|
|
144
|
+
service: Service16,
|
|
145
145
|
layer: baseLayer,
|
|
146
|
-
deps: [FSUtil.node,
|
|
146
|
+
deps: [FSUtil.node, node80, node19]
|
|
147
147
|
});
|
|
148
148
|
|
|
149
|
-
export { FindInput2, Write2, ReadInput2, WriteInput2,
|
|
149
|
+
export { FindInput2, Write2, ReadInput2, WriteInput2, NotFoundError2, Content2, ListInput2, DEFAULT_SEARCH_LIMIT2, DEFAULT_SEARCH_TIMEOUT_MS2, GlobInput2, GrepInput2, Event2, Service16, node18, exports_filesystem, Entry2, Match2, Submatch2 };
|
|
@@ -1,45 +1,45 @@
|
|
|
1
1
|
import {
|
|
2
|
-
|
|
3
|
-
} from "./
|
|
2
|
+
Service54
|
|
3
|
+
} from "./model-resolver-67wvcnxv.js";
|
|
4
4
|
import {
|
|
5
5
|
unavailable3
|
|
6
|
-
} from "./
|
|
6
|
+
} from "./model-resolver-02nrjc1r.js";
|
|
7
7
|
import {
|
|
8
8
|
AbsolutePath2
|
|
9
|
-
} from "./
|
|
9
|
+
} from "./model-resolver-922hggd3.js";
|
|
10
10
|
import {
|
|
11
11
|
File2,
|
|
12
|
-
|
|
13
|
-
} from "./
|
|
12
|
+
Service43
|
|
13
|
+
} from "./model-resolver-jye6n1dv.js";
|
|
14
14
|
import {
|
|
15
|
-
|
|
16
|
-
} from "./
|
|
15
|
+
Service77
|
|
16
|
+
} from "./model-resolver-714t0x07.js";
|
|
17
17
|
import {
|
|
18
18
|
__export
|
|
19
|
-
} from "./
|
|
19
|
+
} from "./model-resolver-9rqn6x4v.js";
|
|
20
20
|
|
|
21
21
|
// src/config/plugin/instruction.ts
|
|
22
22
|
var exports_instruction = {};
|
|
23
23
|
__export(exports_instruction, {
|
|
24
24
|
ConfigInstructionPlugin: () => exports_instruction,
|
|
25
|
-
Plugin: () =>
|
|
25
|
+
Plugin: () => Plugin16
|
|
26
26
|
});
|
|
27
27
|
import { define } from "@opencode/plugin/effect/plugin";
|
|
28
28
|
import { FSUtil } from "@opencode/util/fs-util";
|
|
29
29
|
import { Global } from "@opencode/util/global";
|
|
30
30
|
import { dirname, join } from "path";
|
|
31
31
|
import { Effect, PubSub, Semaphore, Stream } from "effect";
|
|
32
|
-
var
|
|
32
|
+
var Plugin16 = define({
|
|
33
33
|
id: "opencode.config.instruction",
|
|
34
34
|
effect: Effect.fn(function* () {
|
|
35
|
-
const discovery = yield*
|
|
35
|
+
const discovery = yield* Service43;
|
|
36
36
|
if (!discovery.project && !discovery.global)
|
|
37
37
|
return;
|
|
38
38
|
yield* Effect.gen(function* () {
|
|
39
39
|
const fs = yield* FSUtil.Service;
|
|
40
40
|
const global = yield* Global.Service;
|
|
41
|
-
const location = yield*
|
|
42
|
-
const watcher = yield*
|
|
41
|
+
const location = yield* Service77;
|
|
42
|
+
const watcher = yield* Service54;
|
|
43
43
|
const changes = yield* PubSub.sliding(1);
|
|
44
44
|
const lock = Semaphore.makeUnsafe(1);
|
|
45
45
|
const start = yield* fs.resolve(location.directory);
|
|
@@ -114,4 +114,4 @@ function ancestorDirectories(start, stop) {
|
|
|
114
114
|
return [start, ...ancestorDirectories(dirname(start), stop)];
|
|
115
115
|
}
|
|
116
116
|
|
|
117
|
-
export {
|
|
117
|
+
export { Plugin16, exports_instruction };
|
|
@@ -1,33 +1,33 @@
|
|
|
1
1
|
import {
|
|
2
2
|
Service82,
|
|
3
3
|
node86
|
|
4
|
-
} from "./
|
|
4
|
+
} from "./model-resolver-jp646bv9.js";
|
|
5
5
|
import {
|
|
6
6
|
optional2,
|
|
7
7
|
statics2
|
|
8
|
-
} from "./
|
|
8
|
+
} from "./model-resolver-922hggd3.js";
|
|
9
9
|
import {
|
|
10
10
|
Ref4,
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
} from "./
|
|
11
|
+
Service77,
|
|
12
|
+
node80
|
|
13
|
+
} from "./model-resolver-714t0x07.js";
|
|
14
14
|
import {
|
|
15
15
|
__export
|
|
16
|
-
} from "./
|
|
16
|
+
} from "./model-resolver-9rqn6x4v.js";
|
|
17
17
|
|
|
18
18
|
// src/rpc.ts
|
|
19
19
|
var exports_rpc = {};
|
|
20
20
|
__export(exports_rpc, {
|
|
21
21
|
Rpc: () => exports_rpc,
|
|
22
|
-
Service: () =>
|
|
22
|
+
Service: () => Service20,
|
|
23
23
|
define: () => define2,
|
|
24
|
-
node: () =>
|
|
24
|
+
node: () => node23
|
|
25
25
|
});
|
|
26
26
|
import { define as define2 } from "@opencode/schema/rpc";
|
|
27
27
|
import { Event } from "@opencode/schema/event";
|
|
28
28
|
import { makeLocationNode } from "@opencode/util/effect/app-node";
|
|
29
29
|
import { Context, Deferred, Effect, JsonSchema, Layer, Schema, SchemaRepresentation, Stream } from "effect";
|
|
30
|
-
class
|
|
30
|
+
class Service20 extends Context.Service()("@opencode/Rpc") {
|
|
31
31
|
}
|
|
32
32
|
|
|
33
33
|
class DeclaredError extends Error {
|
|
@@ -39,9 +39,9 @@ class DeclaredError extends Error {
|
|
|
39
39
|
this.data = data;
|
|
40
40
|
}
|
|
41
41
|
}
|
|
42
|
-
var layer = Layer.effect(
|
|
42
|
+
var layer = Layer.effect(Service20, Effect.gen(function* () {
|
|
43
43
|
const bus = yield* Service82;
|
|
44
|
-
const location = yield*
|
|
44
|
+
const location = yield* Service77;
|
|
45
45
|
const ref = Ref4.make({ directory: location.directory, workspaceID: location.workspaceID });
|
|
46
46
|
const closed = yield* Deferred.make();
|
|
47
47
|
const callContext = {
|
|
@@ -118,14 +118,14 @@ var layer = Layer.effect(Service72, Effect.gen(function* () {
|
|
|
118
118
|
const registered = events.get(name);
|
|
119
119
|
if (!registered)
|
|
120
120
|
return Stream.fail(new Error(`Unknown RPC event: ${definition.id}.${name}`));
|
|
121
|
-
return bus.subscribe(registered.definition).pipe(Stream.provideService(
|
|
121
|
+
return bus.subscribe(registered.definition).pipe(Stream.provideService(Service77, location), Stream.mapEffect((payload) => logicalEvent(definition, name, payload, ref)));
|
|
122
122
|
}
|
|
123
123
|
}
|
|
124
124
|
};
|
|
125
125
|
};
|
|
126
|
-
return
|
|
126
|
+
return Service20.of({ register, call, client, close: Deferred.succeed(closed, undefined).pipe(Effect.asVoid) });
|
|
127
127
|
}));
|
|
128
|
-
var
|
|
128
|
+
var node23 = makeLocationNode({ service: Service20, layer, deps: [node86, node80] });
|
|
129
129
|
var fields = {
|
|
130
130
|
id: Event.ID,
|
|
131
131
|
created: Schema.Finite,
|
|
@@ -210,4 +210,4 @@ var logicalEvent = Effect.fn("Rpc.logicalEvent")(function* (definition, name, pa
|
|
|
210
210
|
};
|
|
211
211
|
});
|
|
212
212
|
|
|
213
|
-
export {
|
|
213
|
+
export { Service20, node23, exports_rpc, define2 };
|
|
@@ -1,12 +1,12 @@
|
|
|
1
1
|
import {
|
|
2
2
|
SessionMessage2
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./model-resolver-gftt206x.js";
|
|
4
4
|
import {
|
|
5
5
|
SessionSchema2
|
|
6
|
-
} from "./
|
|
6
|
+
} from "./model-resolver-ndmv45hp.js";
|
|
7
7
|
import {
|
|
8
8
|
__export
|
|
9
|
-
} from "./
|
|
9
|
+
} from "./model-resolver-9rqn6x4v.js";
|
|
10
10
|
|
|
11
11
|
// src/session/error.ts
|
|
12
12
|
var exports_error2 = {};
|
|
@@ -19,7 +19,7 @@ __export(exports_error2, {
|
|
|
19
19
|
InboxConflictError: () => InboxConflictError2,
|
|
20
20
|
MessageDecodeError: () => MessageDecodeError2,
|
|
21
21
|
MessageNotFoundError: () => MessageNotFoundError2,
|
|
22
|
-
NotFoundError: () =>
|
|
22
|
+
NotFoundError: () => NotFoundError10,
|
|
23
23
|
PromptConflictError: () => PromptConflictError2,
|
|
24
24
|
SessionErrors: () => exports_error2,
|
|
25
25
|
SkillNotFoundError: () => SkillNotFoundError2,
|
|
@@ -32,7 +32,7 @@ import { Agent } from "@opencode/schema/agent";
|
|
|
32
32
|
import { Skill } from "@opencode/schema/skill";
|
|
33
33
|
import { SessionError } from "@opencode/schema/session-error";
|
|
34
34
|
|
|
35
|
-
class
|
|
35
|
+
class NotFoundError10 extends Schema.TaggedError()("Session.NotFoundError", {
|
|
36
36
|
sessionID: SessionSchema2.ID
|
|
37
37
|
}) {
|
|
38
38
|
}
|
|
@@ -123,4 +123,4 @@ class SkillNotFoundError2 extends Schema.TaggedError()("Session.SkillNotFoundErr
|
|
|
123
123
|
}) {
|
|
124
124
|
}
|
|
125
125
|
|
|
126
|
-
export {
|
|
126
|
+
export { NotFoundError10, MessageNotFoundError2, ForkEmptyError2, MessageDecodeError2, AgentNotFoundError2, StepFailedError2, UserInterruptedError2, PromptConflictError2, SyntheticConflictError2, AttachmentError2, CompactionConflictError2, BusyError2, InboxConflictError2, SkillNotFoundError2, exports_error2 };
|
|
@@ -1,30 +1,30 @@
|
|
|
1
1
|
import {
|
|
2
2
|
PositiveInt2
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./model-resolver-922hggd3.js";
|
|
4
4
|
import {
|
|
5
5
|
Action2
|
|
6
|
-
} from "./
|
|
6
|
+
} from "./model-resolver-f3ngv102.js";
|
|
7
7
|
import {
|
|
8
|
-
|
|
9
|
-
} from "./
|
|
10
|
-
import {
|
|
11
|
-
Info11
|
|
12
|
-
} from "./job-dj9sq318.js";
|
|
8
|
+
Info17
|
|
9
|
+
} from "./model-resolver-3pbjq009.js";
|
|
13
10
|
import {
|
|
14
|
-
|
|
15
|
-
} from "./
|
|
11
|
+
Info12
|
|
12
|
+
} from "./model-resolver-t0fxg8b9.js";
|
|
16
13
|
import {
|
|
17
14
|
Info13
|
|
18
|
-
} from "./
|
|
15
|
+
} from "./model-resolver-6hh8tjw2.js";
|
|
16
|
+
import {
|
|
17
|
+
Info11
|
|
18
|
+
} from "./model-resolver-s8zy8myc.js";
|
|
19
19
|
import {
|
|
20
20
|
Spec2
|
|
21
|
-
} from "./
|
|
21
|
+
} from "./model-resolver-7dqw4kz8.js";
|
|
22
22
|
import {
|
|
23
|
-
|
|
24
|
-
} from "./
|
|
23
|
+
Info16
|
|
24
|
+
} from "./model-resolver-hnr5yq9h.js";
|
|
25
25
|
import {
|
|
26
|
-
|
|
27
|
-
} from "./
|
|
26
|
+
Info9
|
|
27
|
+
} from "./model-resolver-gtc37187.js";
|
|
28
28
|
import {
|
|
29
29
|
migrate2,
|
|
30
30
|
normalizeAction2,
|
|
@@ -33,10 +33,10 @@ import {
|
|
|
33
33
|
migrateMcp2,
|
|
34
34
|
migrateProvider2,
|
|
35
35
|
providerID2
|
|
36
|
-
} from "./
|
|
36
|
+
} from "./model-resolver-5gjvpwac.js";
|
|
37
37
|
import {
|
|
38
38
|
__export
|
|
39
|
-
} from "./
|
|
39
|
+
} from "./model-resolver-9rqn6x4v.js";
|
|
40
40
|
|
|
41
41
|
// src/config/normalize.ts
|
|
42
42
|
var exports_normalize = {};
|
|
@@ -84,10 +84,10 @@ function normalize2(input) {
|
|
|
84
84
|
const encoded = {};
|
|
85
85
|
unsupportedTopLevel.forEach((key) => unsupportedIfPresent(input, key, [key], diagnostics));
|
|
86
86
|
const legacySnapshots = own(input, "snapshot") ? decodeEncoded(Schema.Boolean, input.snapshot, ["snapshot"], diagnostics) : undefined;
|
|
87
|
-
const legacyUpdate = own(input, "autoupdate") ? decodeValue(
|
|
87
|
+
const legacyUpdate = own(input, "autoupdate") ? decodeValue(Info9.fields.autoupdate, input.autoupdate, ["autoupdate"], diagnostics) : undefined;
|
|
88
88
|
const nativeUpdate = own(input, "update") ? decodeEncoded(Info.fields.update, input.update, ["update"], diagnostics) : undefined;
|
|
89
89
|
const legacyShare = own(input, "autoshare") ? decodeValue(Schema.Boolean, input.autoshare, ["autoshare"], diagnostics) === true ? "auto" : undefined : undefined;
|
|
90
|
-
const legacyMedia = own(input, "attachment") ? decodeValue(
|
|
90
|
+
const legacyMedia = own(input, "attachment") ? decodeValue(Info12, input.attachment, ["attachment"], diagnostics) : undefined;
|
|
91
91
|
if (legacyMedia !== undefined) {
|
|
92
92
|
const migrated = migrate2({ attachment: legacyMedia }).media;
|
|
93
93
|
if (migrated !== undefined)
|
|
@@ -104,7 +104,7 @@ function normalize2(input) {
|
|
|
104
104
|
const legacyReferences = decodeMap(input.reference, ConfigReference.Entry, ["reference"], diagnostics, decodeEncoded);
|
|
105
105
|
const nativeReferences = decodeMap(input.references, ConfigReference.Entry, ["references"], diagnostics, decodeEncoded);
|
|
106
106
|
mergeMap(encoded, "references", legacyReferences, nativeReferences, isRecord(input.reference) || isRecord(input.references), diagnostics);
|
|
107
|
-
const legacyCommands = decodeMap(input.command,
|
|
107
|
+
const legacyCommands = decodeMap(input.command, Info13, ["command"], diagnostics, decodeValue);
|
|
108
108
|
diagnoseSelectionMap(input.command, ["command"], diagnostics);
|
|
109
109
|
const migratedCommands = mapValues(legacyCommands, (value) => {
|
|
110
110
|
const migrated = commands2({ value })?.value;
|
|
@@ -112,7 +112,7 @@ function normalize2(input) {
|
|
|
112
112
|
});
|
|
113
113
|
const nativeCommands = decodeMap(input.commands, ConfigCommand.Info, ["commands"], diagnostics, decodeEncoded);
|
|
114
114
|
mergeMap(encoded, "commands", migratedCommands, nativeCommands, isRecord(input.command) || isRecord(input.commands), diagnostics);
|
|
115
|
-
const legacyAgents = mapValues(decodeMap(input.agent,
|
|
115
|
+
const legacyAgents = mapValues(decodeMap(input.agent, Info17, ["agent"], diagnostics, decodeValue), (value) => canonical(ConfigAgent.Info, migrateAgent2(value)));
|
|
116
116
|
const legacySmallModel = own(input, "small_model") ? decodeValue(Schema.String, input.small_model, ["small_model"], diagnostics) : undefined;
|
|
117
117
|
const migratedSmallModel = legacySmallModel ? migrate2({ small_model: legacySmallModel }).agents?.title?.model : undefined;
|
|
118
118
|
if (legacySmallModel && !migratedSmallModel)
|
|
@@ -126,7 +126,7 @@ function normalize2(input) {
|
|
|
126
126
|
model: migratedSmallModel,
|
|
127
127
|
...legacyAgents.title
|
|
128
128
|
};
|
|
129
|
-
const modeAgents = mapValues(decodeMap(input.mode,
|
|
129
|
+
const modeAgents = mapValues(decodeMap(input.mode, Info17, ["mode"], diagnostics, decodeValue), (value) => canonical(ConfigAgent.Info, migrateAgent2({ ...value, mode: "primary" })));
|
|
130
130
|
const migratedAgents = mergeMaps(legacyAgents, modeAgents, ["agents"], diagnostics);
|
|
131
131
|
const nativeAgents = decodeMap(input.agents, ConfigAgent.Info, ["agents"], diagnostics, decodeEncoded);
|
|
132
132
|
diagnoseAgentUnsupported(input.agent, ["agent"], diagnostics);
|
|
@@ -225,7 +225,7 @@ function normalizeMcp(input, encoded, diagnostics) {
|
|
|
225
225
|
normalizeMcpTimeout(value, timeout, path, diagnostics);
|
|
226
226
|
return;
|
|
227
227
|
}
|
|
228
|
-
const server = decodeValue(
|
|
228
|
+
const server = decodeValue(Info11, value, path, diagnostics);
|
|
229
229
|
if (server !== undefined)
|
|
230
230
|
setOwn(legacyServers, name, canonical(ConfigMCP.Server, migrateMcp2(server)));
|
|
231
231
|
});
|
|
@@ -421,7 +421,7 @@ function migrateProviders(value, diagnostics) {
|
|
|
421
421
|
diagnoseProviderUnsupported(raw, path, diagnostics);
|
|
422
422
|
if (invalidProviderOverlays(raw, path, diagnostics))
|
|
423
423
|
return [];
|
|
424
|
-
const provider = decodeValue(
|
|
424
|
+
const provider = decodeValue(Info16, raw, path, diagnostics);
|
|
425
425
|
if (provider === undefined)
|
|
426
426
|
return [];
|
|
427
427
|
const destination = providerID2(name);
|
|
@@ -1,21 +1,21 @@
|
|
|
1
1
|
import {
|
|
2
2
|
useragent2
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./model-resolver-spq00ka2.js";
|
|
4
4
|
import {
|
|
5
5
|
__export
|
|
6
|
-
} from "./
|
|
6
|
+
} from "./model-resolver-9rqn6x4v.js";
|
|
7
7
|
|
|
8
8
|
// src/plugin/websearch/tavily.ts
|
|
9
9
|
var exports_tavily = {};
|
|
10
10
|
__export(exports_tavily, {
|
|
11
|
-
Plugin: () =>
|
|
11
|
+
Plugin: () => Plugin25,
|
|
12
12
|
WebSearchTavily: () => exports_tavily,
|
|
13
|
-
endpoint: () =>
|
|
13
|
+
endpoint: () => endpoint6
|
|
14
14
|
});
|
|
15
15
|
import { define } from "@opencode/plugin/effect/plugin";
|
|
16
16
|
import { Duration, Effect, Schema } from "effect";
|
|
17
17
|
import { HttpClient, HttpClientRequest, HttpClientResponse } from "effect/unstable/http";
|
|
18
|
-
var
|
|
18
|
+
var endpoint6 = "https://api.tavily.com/search";
|
|
19
19
|
var SearchRequest = Schema.Struct({
|
|
20
20
|
query: Schema.String,
|
|
21
21
|
search_depth: Schema.Literal("basic"),
|
|
@@ -29,7 +29,7 @@ var SearchResponse = Schema.Struct({
|
|
|
29
29
|
content: Schema.String
|
|
30
30
|
}))
|
|
31
31
|
});
|
|
32
|
-
var
|
|
32
|
+
var Plugin25 = define({
|
|
33
33
|
id: "opencode.websearch.tavily",
|
|
34
34
|
effect: Effect.fn("WebSearchTavily.Plugin")(function* (ctx) {
|
|
35
35
|
const http = yield* HttpClient.HttpClient;
|
|
@@ -51,7 +51,7 @@ var Plugin4 = define({
|
|
|
51
51
|
execute: (input) => Effect.gen(function* () {
|
|
52
52
|
const connection = yield* ctx.integration.connection.active("tavily");
|
|
53
53
|
const credential = connection ? yield* ctx.integration.connection.resolve(connection) : undefined;
|
|
54
|
-
const request = yield* HttpClientRequest.post(
|
|
54
|
+
const request = yield* HttpClientRequest.post(endpoint6).pipe(HttpClientRequest.acceptJson, HttpClientRequest.setHeaders({
|
|
55
55
|
"User-Agent": useragent2(ctx.app),
|
|
56
56
|
"X-Client-Name": "opencode2",
|
|
57
57
|
...credential?.type === "key" ? { Authorization: `Bearer ${credential.key}` } : { "X-Tavily-Access-Mode": "keyless" }
|
|
@@ -77,4 +77,4 @@ var Plugin4 = define({
|
|
|
77
77
|
})
|
|
78
78
|
});
|
|
79
79
|
|
|
80
|
-
export {
|
|
80
|
+
export { endpoint6, Plugin25, exports_tavily };
|
|
@@ -1,38 +1,38 @@
|
|
|
1
1
|
import {
|
|
2
2
|
AbsolutePath2
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./model-resolver-922hggd3.js";
|
|
4
4
|
import {
|
|
5
|
-
|
|
6
|
-
} from "./
|
|
5
|
+
Service77
|
|
6
|
+
} from "./model-resolver-714t0x07.js";
|
|
7
7
|
import {
|
|
8
|
-
|
|
9
|
-
} from "./
|
|
8
|
+
Service53
|
|
9
|
+
} from "./model-resolver-m6dz94as.js";
|
|
10
10
|
import {
|
|
11
11
|
LocalSource2,
|
|
12
12
|
GitSource2
|
|
13
|
-
} from "./
|
|
13
|
+
} from "./model-resolver-gtybr0rh.js";
|
|
14
14
|
import {
|
|
15
15
|
observe2
|
|
16
|
-
} from "./
|
|
16
|
+
} from "./model-resolver-qsdy395h.js";
|
|
17
17
|
import {
|
|
18
18
|
__export
|
|
19
|
-
} from "./
|
|
19
|
+
} from "./model-resolver-9rqn6x4v.js";
|
|
20
20
|
|
|
21
21
|
// src/config/plugin/reference.ts
|
|
22
22
|
var exports_reference = {};
|
|
23
23
|
__export(exports_reference, {
|
|
24
24
|
ConfigReferencePlugin: () => exports_reference,
|
|
25
|
-
Plugin: () =>
|
|
25
|
+
Plugin: () => Plugin10
|
|
26
26
|
});
|
|
27
27
|
import { define } from "@opencode/plugin/effect/plugin";
|
|
28
28
|
import path from "path";
|
|
29
29
|
import { Effect } from "effect";
|
|
30
30
|
import { Global } from "@opencode/util/global";
|
|
31
|
-
var
|
|
31
|
+
var Plugin10 = define({
|
|
32
32
|
id: "opencode.config.reference",
|
|
33
33
|
effect: Effect.fn(function* (ctx) {
|
|
34
|
-
const config = yield*
|
|
35
|
-
const location = yield*
|
|
34
|
+
const config = yield* Service53;
|
|
35
|
+
const location = yield* Service77;
|
|
36
36
|
const global = yield* Global.Service;
|
|
37
37
|
const loaded = yield* observe2(config, ctx.event, ctx.reference.reload());
|
|
38
38
|
yield* ctx.reference.transform((editor) => {
|
|
@@ -72,4 +72,4 @@ function localPath(directory, home, value) {
|
|
|
72
72
|
return path.isAbsolute(value) ? value : path.resolve(directory, value);
|
|
73
73
|
}
|
|
74
74
|
|
|
75
|
-
export {
|
|
75
|
+
export { Plugin10, exports_reference };
|
|
@@ -2,31 +2,31 @@ import {
|
|
|
2
2
|
Key4,
|
|
3
3
|
removed2,
|
|
4
4
|
empty3,
|
|
5
|
-
|
|
5
|
+
make20,
|
|
6
6
|
diffByKey2
|
|
7
|
-
} from "./
|
|
7
|
+
} from "./model-resolver-02nrjc1r.js";
|
|
8
8
|
import {
|
|
9
9
|
evaluate2
|
|
10
|
-
} from "./
|
|
10
|
+
} from "./model-resolver-aqczg285.js";
|
|
11
11
|
import {
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
} from "./
|
|
12
|
+
Service41,
|
|
13
|
+
node44
|
|
14
|
+
} from "./model-resolver-d61582ny.js";
|
|
15
15
|
import {
|
|
16
16
|
namespace2,
|
|
17
|
-
|
|
18
|
-
} from "./
|
|
17
|
+
name13
|
|
18
|
+
} from "./model-resolver-n8nareh9.js";
|
|
19
19
|
import {
|
|
20
20
|
__export
|
|
21
|
-
} from "./
|
|
21
|
+
} from "./model-resolver-9rqn6x4v.js";
|
|
22
22
|
|
|
23
23
|
// src/mcp/instructions.ts
|
|
24
|
-
var
|
|
25
|
-
__export(
|
|
26
|
-
McpInstructions: () =>
|
|
27
|
-
Service: () =>
|
|
28
|
-
layer: () =>
|
|
29
|
-
node: () =>
|
|
24
|
+
var exports_instructions5 = {};
|
|
25
|
+
__export(exports_instructions5, {
|
|
26
|
+
McpInstructions: () => exports_instructions5,
|
|
27
|
+
Service: () => Service39,
|
|
28
|
+
layer: () => layer14,
|
|
29
|
+
node: () => node42
|
|
30
30
|
});
|
|
31
31
|
import { makeLocationNode } from "@opencode/util/effect/app-node";
|
|
32
32
|
import { Context, Effect, Layer, Schema } from "effect";
|
|
@@ -62,16 +62,16 @@ var update = (previous, current) => {
|
|
|
62
62
|
`);
|
|
63
63
|
};
|
|
64
64
|
|
|
65
|
-
class
|
|
65
|
+
class Service39 extends Context.Service()("@opencode/McpInstructions") {
|
|
66
66
|
}
|
|
67
|
-
var
|
|
68
|
-
const mcp = yield*
|
|
69
|
-
return
|
|
67
|
+
var layer14 = Layer.effect(Service39, Effect.gen(function* () {
|
|
68
|
+
const mcp = yield* Service41;
|
|
69
|
+
return Service39.of({
|
|
70
70
|
load: Effect.fn("McpInstructions.load")(function* (selection) {
|
|
71
71
|
const agent = selection.info;
|
|
72
72
|
if (!agent)
|
|
73
73
|
return empty3;
|
|
74
|
-
const source = (value) =>
|
|
74
|
+
const source = (value) => make20({
|
|
75
75
|
key: Key4.make("core/mcp-guidance"),
|
|
76
76
|
codec: Schema.toCodecJson(Schema.Array(Summary)),
|
|
77
77
|
read: Effect.succeed(value),
|
|
@@ -90,7 +90,7 @@ var layer9 = Layer.effect(Service22, Effect.gen(function* () {
|
|
|
90
90
|
const codemode = owned[0]?.codemode !== false;
|
|
91
91
|
if (codemode && !canExecute)
|
|
92
92
|
return [];
|
|
93
|
-
if (!owned.some((tool) => evaluate2(
|
|
93
|
+
if (!owned.some((tool) => evaluate2(name13(tool.server, tool.name), "*", agent.permissions).effect !== "deny"))
|
|
94
94
|
return [];
|
|
95
95
|
return [
|
|
96
96
|
codemode ? { server: item.server, instructions: item.instructions } : { server: item.server, instructions: item.instructions, codemode: false }
|
|
@@ -100,6 +100,6 @@ var layer9 = Layer.effect(Service22, Effect.gen(function* () {
|
|
|
100
100
|
})
|
|
101
101
|
});
|
|
102
102
|
}));
|
|
103
|
-
var
|
|
103
|
+
var node42 = makeLocationNode({ service: Service39, layer: layer14, deps: [node44] });
|
|
104
104
|
|
|
105
|
-
export {
|
|
105
|
+
export { Service39, layer14, node42, exports_instructions5 };
|