@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,37 +1,37 @@
|
|
|
1
1
|
import {
|
|
2
2
|
Service82,
|
|
3
3
|
node86
|
|
4
|
-
} from "./
|
|
4
|
+
} from "./model-resolver-jp646bv9.js";
|
|
5
5
|
import {
|
|
6
|
-
|
|
7
|
-
node83
|
|
8
|
-
} from "./job-7thy3neb.js";
|
|
9
|
-
import {
|
|
10
|
-
ID14,
|
|
11
|
-
Service76,
|
|
6
|
+
Service77,
|
|
12
7
|
node80
|
|
13
|
-
} from "./
|
|
8
|
+
} from "./model-resolver-714t0x07.js";
|
|
14
9
|
import {
|
|
15
|
-
|
|
16
|
-
|
|
10
|
+
ID18,
|
|
11
|
+
Service81,
|
|
12
|
+
node85
|
|
13
|
+
} from "./model-resolver-99rt69fd.js";
|
|
14
|
+
import {
|
|
15
|
+
NotFoundError10
|
|
16
|
+
} from "./model-resolver-wrmrmykr.js";
|
|
17
17
|
import {
|
|
18
18
|
Service74,
|
|
19
|
-
|
|
20
|
-
} from "./
|
|
19
|
+
node77
|
|
20
|
+
} from "./model-resolver-7ahjg70a.js";
|
|
21
21
|
import {
|
|
22
22
|
match2
|
|
23
|
-
} from "./
|
|
23
|
+
} from "./model-resolver-y1fvbwt7.js";
|
|
24
24
|
import {
|
|
25
25
|
Service75,
|
|
26
|
-
|
|
27
|
-
} from "./
|
|
26
|
+
node78
|
|
27
|
+
} from "./model-resolver-3axdyzka.js";
|
|
28
28
|
import {
|
|
29
|
-
|
|
30
|
-
|
|
31
|
-
} from "./
|
|
29
|
+
Service76,
|
|
30
|
+
node79
|
|
31
|
+
} from "./model-resolver-n0tq777j.js";
|
|
32
32
|
import {
|
|
33
33
|
__export
|
|
34
|
-
} from "./
|
|
34
|
+
} from "./model-resolver-9rqn6x4v.js";
|
|
35
35
|
|
|
36
36
|
// src/permission.ts
|
|
37
37
|
var exports_permission2 = {};
|
|
@@ -42,11 +42,11 @@ __export(exports_permission2, {
|
|
|
42
42
|
CorrectedError: () => CorrectedError2,
|
|
43
43
|
DeclinedError: () => DeclinedError2,
|
|
44
44
|
Effect: () => PermissionEffect,
|
|
45
|
-
Event: () =>
|
|
45
|
+
Event: () => Event19,
|
|
46
46
|
ID: () => ID12,
|
|
47
|
-
NotFoundError: () =>
|
|
47
|
+
NotFoundError: () => NotFoundError9,
|
|
48
48
|
Permission: () => exports_permission2,
|
|
49
|
-
Reply: () =>
|
|
49
|
+
Reply: () => Reply3,
|
|
50
50
|
ReplyInput: () => ReplyInput2,
|
|
51
51
|
Request: () => Request3,
|
|
52
52
|
Rule: () => Rule3,
|
|
@@ -55,13 +55,13 @@ __export(exports_permission2, {
|
|
|
55
55
|
Source: () => Source5,
|
|
56
56
|
evaluate: () => evaluate2,
|
|
57
57
|
merge: () => merge2,
|
|
58
|
-
node: () =>
|
|
58
|
+
node: () => node76
|
|
59
59
|
});
|
|
60
60
|
import { makeLocationNode } from "@opencode/util/effect/app-node";
|
|
61
61
|
import { Context, Deferred, Effect, Layer, Schema } from "effect";
|
|
62
62
|
import { Permission } from "@opencode/schema/permission";
|
|
63
63
|
import { Rule as Rule3, Ruleset as Ruleset2 } from "@opencode/schema/permission";
|
|
64
|
-
import { Event as
|
|
64
|
+
import { Event as Event19 } from "@opencode/schema/permission";
|
|
65
65
|
var PermissionEffect = Permission.Effect;
|
|
66
66
|
var missingAgentPermissions = [{ action: "*", resource: "*", effect: "deny" }];
|
|
67
67
|
var ID12 = Permission.ID;
|
|
@@ -75,15 +75,15 @@ var RequestFields = {
|
|
|
75
75
|
source: Permission.Request.fields.source
|
|
76
76
|
};
|
|
77
77
|
var Request3 = Permission.Request;
|
|
78
|
-
var
|
|
78
|
+
var Reply3 = Permission.Reply;
|
|
79
79
|
var AssertInput2 = Schema.Struct({
|
|
80
80
|
id: ID12.pipe(Schema.optional),
|
|
81
81
|
...RequestFields,
|
|
82
|
-
agent:
|
|
82
|
+
agent: ID18.pipe(Schema.optional)
|
|
83
83
|
}).annotate({ identifier: "Permission.AssertInput" });
|
|
84
84
|
var ReplyInput2 = Schema.Struct({
|
|
85
85
|
requestID: ID12,
|
|
86
|
-
reply:
|
|
86
|
+
reply: Reply3,
|
|
87
87
|
message: Schema.String.pipe(Schema.optional)
|
|
88
88
|
}).annotate({ identifier: "Permission.ReplyInput" });
|
|
89
89
|
var AskResult2 = Schema.Struct({
|
|
@@ -110,7 +110,7 @@ class BlockedError2 extends Schema.TaggedError()("Permission.BlockedError", {
|
|
|
110
110
|
}
|
|
111
111
|
}
|
|
112
112
|
|
|
113
|
-
class
|
|
113
|
+
class NotFoundError9 extends Schema.TaggedError()("Permission.NotFoundError", {
|
|
114
114
|
requestID: ID12
|
|
115
115
|
}) {
|
|
116
116
|
}
|
|
@@ -129,11 +129,11 @@ class Service73 extends Context.Service()("@opencode/Permission") {
|
|
|
129
129
|
}
|
|
130
130
|
var layer = Layer.effect(Service73, Effect.gen(function* () {
|
|
131
131
|
const bus = yield* Service82;
|
|
132
|
-
const location = yield*
|
|
133
|
-
const agents = yield*
|
|
132
|
+
const location = yield* Service77;
|
|
133
|
+
const agents = yield* Service81;
|
|
134
134
|
const sessions = yield* Service74;
|
|
135
135
|
const saved = yield* Service75;
|
|
136
|
-
const hooks = yield*
|
|
136
|
+
const hooks = yield* Service76;
|
|
137
137
|
const pending = new Map;
|
|
138
138
|
let closed = false;
|
|
139
139
|
const close = Effect.gen(function* () {
|
|
@@ -156,7 +156,7 @@ var layer = Layer.effect(Service73, Effect.gen(function* () {
|
|
|
156
156
|
const configured = Effect.fnUntraced(function* (sessionID, agentID) {
|
|
157
157
|
const session = yield* sessions.get(sessionID);
|
|
158
158
|
if (!session)
|
|
159
|
-
return yield* new
|
|
159
|
+
return yield* new NotFoundError10({ sessionID });
|
|
160
160
|
const agent = yield* agents.resolve(agentID ?? session.agent);
|
|
161
161
|
return merge2(agent?.permissions ?? missingAgentPermissions, session.permissions ?? []);
|
|
162
162
|
});
|
|
@@ -242,7 +242,7 @@ var layer = Layer.effect(Service73, Effect.gen(function* () {
|
|
|
242
242
|
const reply = Effect.fn("Permission.reply")((input) => Effect.uninterruptible(Effect.gen(function* () {
|
|
243
243
|
const existing = pending.get(input.requestID);
|
|
244
244
|
if (!existing)
|
|
245
|
-
return yield* new
|
|
245
|
+
return yield* new NotFoundError9({ requestID: input.requestID });
|
|
246
246
|
yield* bus.publish(Permission.Event.Replied, {
|
|
247
247
|
sessionID: existing.request.sessionID,
|
|
248
248
|
requestID: existing.request.id,
|
|
@@ -299,10 +299,10 @@ var layer = Layer.effect(Service73, Effect.gen(function* () {
|
|
|
299
299
|
});
|
|
300
300
|
return Service73.of({ ask, assert, reply, get, forSession, list, close });
|
|
301
301
|
}));
|
|
302
|
-
var
|
|
302
|
+
var node76 = makeLocationNode({
|
|
303
303
|
service: Service73,
|
|
304
304
|
layer,
|
|
305
|
-
deps: [node86,
|
|
305
|
+
deps: [node86, node80, node85, node77, node78, node79]
|
|
306
306
|
});
|
|
307
307
|
|
|
308
|
-
export { PermissionEffect, ID12, Source5, Request3,
|
|
308
|
+
export { PermissionEffect, ID12, Source5, Request3, Reply3, AssertInput2, ReplyInput2, AskResult2, DeclinedError2, CorrectedError2, BlockedError2, NotFoundError9, evaluate2, merge2, Service73, node76, exports_permission2, Rule3, Ruleset2, Event19 };
|
|
@@ -1,63 +1,63 @@
|
|
|
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
|
-
|
|
11
|
-
|
|
12
|
-
} from "./
|
|
10
|
+
Service59,
|
|
11
|
+
node62
|
|
12
|
+
} from "./model-resolver-9gea571p.js";
|
|
13
13
|
import {
|
|
14
14
|
AbsolutePath2,
|
|
15
15
|
RelativePath2
|
|
16
|
-
} from "./
|
|
16
|
+
} from "./model-resolver-922hggd3.js";
|
|
17
17
|
import {
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
} from "./
|
|
18
|
+
Service78,
|
|
19
|
+
node81
|
|
20
|
+
} from "./model-resolver-mktnxe3b.js";
|
|
21
21
|
import {
|
|
22
22
|
Ref4
|
|
23
|
-
} from "./
|
|
23
|
+
} from "./model-resolver-714t0x07.js";
|
|
24
24
|
import {
|
|
25
|
-
|
|
26
|
-
|
|
27
|
-
} from "./
|
|
25
|
+
Service63,
|
|
26
|
+
node66
|
|
27
|
+
} from "./model-resolver-c2fpeh16.js";
|
|
28
28
|
import {
|
|
29
29
|
SessionMessage2
|
|
30
|
-
} from "./
|
|
30
|
+
} from "./model-resolver-gftt206x.js";
|
|
31
31
|
import {
|
|
32
|
-
|
|
33
|
-
} from "./
|
|
32
|
+
NotFoundError10
|
|
33
|
+
} from "./model-resolver-wrmrmykr.js";
|
|
34
34
|
import {
|
|
35
35
|
SessionEvent2
|
|
36
|
-
} from "./
|
|
36
|
+
} from "./model-resolver-ec1grn59.js";
|
|
37
37
|
import {
|
|
38
|
-
|
|
39
|
-
} from "./
|
|
38
|
+
Service56
|
|
39
|
+
} from "./model-resolver-e2hjzebn.js";
|
|
40
40
|
import {
|
|
41
41
|
Service74,
|
|
42
|
-
|
|
43
|
-
} from "./
|
|
42
|
+
node77
|
|
43
|
+
} from "./model-resolver-7ahjg70a.js";
|
|
44
44
|
import {
|
|
45
45
|
Item2,
|
|
46
46
|
serialized2,
|
|
47
|
-
|
|
48
|
-
|
|
47
|
+
Service57,
|
|
48
|
+
node60,
|
|
49
49
|
moveIDs2
|
|
50
|
-
} from "./
|
|
50
|
+
} from "./model-resolver-t9tmexac.js";
|
|
51
51
|
import {
|
|
52
|
-
|
|
53
|
-
|
|
54
|
-
} from "./
|
|
52
|
+
Service55,
|
|
53
|
+
node59
|
|
54
|
+
} from "./model-resolver-bgv3s5qc.js";
|
|
55
55
|
import {
|
|
56
|
-
|
|
57
|
-
} from "./
|
|
56
|
+
node34
|
|
57
|
+
} from "./model-resolver-g5epyhxx.js";
|
|
58
58
|
import {
|
|
59
59
|
__export
|
|
60
|
-
} from "./
|
|
60
|
+
} from "./model-resolver-9rqn6x4v.js";
|
|
61
61
|
|
|
62
62
|
// src/session/move.ts
|
|
63
63
|
var exports_move = {};
|
|
@@ -65,9 +65,9 @@ __export(exports_move, {
|
|
|
65
65
|
DestinationNotDirectoryError: () => DestinationNotDirectoryError2,
|
|
66
66
|
DestinationNotFoundError: () => DestinationNotFoundError2,
|
|
67
67
|
DestinationUnavailableError: () => DestinationUnavailableError2,
|
|
68
|
-
Service: () =>
|
|
68
|
+
Service: () => Service30,
|
|
69
69
|
SessionMove: () => exports_move,
|
|
70
|
-
node: () =>
|
|
70
|
+
node: () => node33
|
|
71
71
|
});
|
|
72
72
|
import { makeGlobalNode } from "@opencode/util/effect/app-node";
|
|
73
73
|
import { FSUtil } from "@opencode/util/fs-util";
|
|
@@ -83,23 +83,23 @@ class DestinationNotDirectoryError2 extends Schema.TaggedError()("Session.Destin
|
|
|
83
83
|
class DestinationUnavailableError2 extends Schema.TaggedError()("Session.DestinationUnavailableError", { directory: AbsolutePath2 }) {
|
|
84
84
|
}
|
|
85
85
|
|
|
86
|
-
class
|
|
86
|
+
class Service30 extends Context.Service()("@opencode/SessionMove") {
|
|
87
87
|
}
|
|
88
|
-
var layer = Layer.effect(
|
|
88
|
+
var layer = Layer.effect(Service30, Effect.gen(function* () {
|
|
89
89
|
const fs = yield* FSUtil.Service;
|
|
90
90
|
const global = yield* Global.Service;
|
|
91
|
-
const projects = yield*
|
|
92
|
-
const locations = yield*
|
|
91
|
+
const projects = yield* Service78;
|
|
92
|
+
const locations = yield* Service63;
|
|
93
93
|
const store = yield* Service74;
|
|
94
|
-
const execution = yield*
|
|
95
|
-
const instances = yield*
|
|
96
|
-
const admission = yield*
|
|
94
|
+
const execution = yield* Service55;
|
|
95
|
+
const instances = yield* Service59;
|
|
96
|
+
const admission = yield* Service57;
|
|
97
97
|
const database = yield* Service83;
|
|
98
98
|
const bus = yield* Service82;
|
|
99
99
|
const get = Effect.fn("SessionMove.get")(function* (sessionID) {
|
|
100
100
|
const session = yield* store.get(sessionID);
|
|
101
101
|
if (!session)
|
|
102
|
-
return yield* new
|
|
102
|
+
return yield* new NotFoundError10({ sessionID });
|
|
103
103
|
return session;
|
|
104
104
|
});
|
|
105
105
|
const resolveDestination = Effect.fn("SessionMove.resolveDestination")(function* (session, input) {
|
|
@@ -131,9 +131,9 @@ var layer = Layer.effect(Service18, Effect.gen(function* () {
|
|
|
131
131
|
return false;
|
|
132
132
|
if (!(yield* fs.isDir(session.location.directory)))
|
|
133
133
|
return true;
|
|
134
|
-
return yield*
|
|
134
|
+
return yield* Service56.pipe(instances.provide(session), Effect.as(false), Effect.catchCause((cause) => Cause.hasInterrupts(cause) ? Effect.failCause(cause) : Effect.succeed(true)));
|
|
135
135
|
});
|
|
136
|
-
return
|
|
136
|
+
return Service30.of({
|
|
137
137
|
move: Effect.fn("SessionMove.move")(function* (input) {
|
|
138
138
|
const session = yield* get(input.sessionID);
|
|
139
139
|
const destination = yield* resolveDestination(session, input);
|
|
@@ -163,22 +163,22 @@ var layer = Layer.effect(Service18, Effect.gen(function* () {
|
|
|
163
163
|
})
|
|
164
164
|
});
|
|
165
165
|
}));
|
|
166
|
-
var
|
|
167
|
-
service:
|
|
166
|
+
var node33 = makeGlobalNode({
|
|
167
|
+
service: Service30,
|
|
168
168
|
layer,
|
|
169
169
|
deps: [
|
|
170
170
|
FSUtil.node,
|
|
171
171
|
Global.node,
|
|
172
|
-
|
|
172
|
+
node81,
|
|
173
|
+
node66,
|
|
174
|
+
node77,
|
|
175
|
+
node59,
|
|
173
176
|
node62,
|
|
174
|
-
|
|
175
|
-
node40,
|
|
176
|
-
node43,
|
|
177
|
-
node41,
|
|
177
|
+
node60,
|
|
178
178
|
node87,
|
|
179
179
|
node86,
|
|
180
|
-
|
|
180
|
+
node34
|
|
181
181
|
]
|
|
182
182
|
});
|
|
183
183
|
|
|
184
|
-
export { DestinationNotFoundError2, DestinationNotDirectoryError2, DestinationUnavailableError2,
|
|
184
|
+
export { DestinationNotFoundError2, DestinationNotDirectoryError2, DestinationUnavailableError2, Service30, node33, exports_move };
|
|
@@ -1,34 +1,34 @@
|
|
|
1
1
|
import {
|
|
2
2
|
Service83
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./model-resolver-swg14gxk.js";
|
|
4
4
|
import {
|
|
5
5
|
Service82
|
|
6
|
-
} from "./
|
|
6
|
+
} from "./model-resolver-jp646bv9.js";
|
|
7
7
|
import {
|
|
8
|
-
|
|
9
|
-
} from "./
|
|
8
|
+
Service59
|
|
9
|
+
} from "./model-resolver-9gea571p.js";
|
|
10
10
|
import {
|
|
11
11
|
RelativePath2
|
|
12
|
-
} from "./
|
|
12
|
+
} from "./model-resolver-922hggd3.js";
|
|
13
13
|
import {
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
} from "./
|
|
14
|
+
ID5,
|
|
15
|
+
Service42
|
|
16
|
+
} from "./model-resolver-da534a5t.js";
|
|
17
17
|
import {
|
|
18
18
|
SessionEvent2
|
|
19
|
-
} from "./
|
|
19
|
+
} from "./model-resolver-ec1grn59.js";
|
|
20
20
|
import {
|
|
21
21
|
SessionMessage2
|
|
22
|
-
} from "./
|
|
22
|
+
} from "./model-resolver-gftt206x.js";
|
|
23
23
|
import {
|
|
24
24
|
MessageNotFoundError2
|
|
25
|
-
} from "./
|
|
25
|
+
} from "./model-resolver-wrmrmykr.js";
|
|
26
26
|
import {
|
|
27
27
|
SessionMessageTable2
|
|
28
|
-
} from "./
|
|
28
|
+
} from "./model-resolver-a1bz86dw.js";
|
|
29
29
|
import {
|
|
30
30
|
__export
|
|
31
|
-
} from "./
|
|
31
|
+
} from "./model-resolver-9rqn6x4v.js";
|
|
32
32
|
|
|
33
33
|
// src/session/revert.ts
|
|
34
34
|
var exports_revert = {};
|
|
@@ -42,12 +42,12 @@ __export(exports_revert, {
|
|
|
42
42
|
import { and, asc, eq, gt } from "drizzle-orm";
|
|
43
43
|
import { Effect, Schema } from "effect";
|
|
44
44
|
var stage2 = Effect.fn("SessionRevert.stage")(function* (input) {
|
|
45
|
-
const instances = yield*
|
|
45
|
+
const instances = yield* Service59;
|
|
46
46
|
const database = yield* Service83;
|
|
47
47
|
const bus = yield* Service82;
|
|
48
48
|
return yield* Effect.gen(function* () {
|
|
49
|
-
const snapshot = yield*
|
|
50
|
-
const original = input.session.revert?.snapshot ?
|
|
49
|
+
const snapshot = yield* Service42;
|
|
50
|
+
const original = input.session.revert?.snapshot ? ID5.make(input.session.revert.snapshot) : yield* snapshot.capture();
|
|
51
51
|
const next = yield* plan(database.db, { sessionID: input.session.id, messageID: input.messageID });
|
|
52
52
|
const restore = new Map;
|
|
53
53
|
if (original) {
|
|
@@ -74,13 +74,13 @@ var stage2 = Effect.fn("SessionRevert.stage")(function* (input) {
|
|
|
74
74
|
}).pipe(instances.provide(input.session));
|
|
75
75
|
});
|
|
76
76
|
var clear2 = Effect.fn("SessionRevert.clear")(function* (session) {
|
|
77
|
-
const instances = yield*
|
|
77
|
+
const instances = yield* Service59;
|
|
78
78
|
const bus = yield* Service82;
|
|
79
79
|
yield* Effect.gen(function* () {
|
|
80
|
-
const snapshot = yield*
|
|
80
|
+
const snapshot = yield* Service42;
|
|
81
81
|
if (!session.revert)
|
|
82
82
|
return;
|
|
83
|
-
const original = session.revert.snapshot ?
|
|
83
|
+
const original = session.revert.snapshot ? ID5.make(session.revert.snapshot) : undefined;
|
|
84
84
|
if (original)
|
|
85
85
|
yield* snapshot.restore({
|
|
86
86
|
files: new Map((session.revert.files ?? []).map((file) => [RelativePath2.make(file.file), original]))
|
|
@@ -111,7 +111,7 @@ var plan = Effect.fn("SessionRevert.plan")(function* (db, input) {
|
|
|
111
111
|
continue;
|
|
112
112
|
for (const file of message.snapshot.files ?? [])
|
|
113
113
|
if (!files.has(file))
|
|
114
|
-
files.set(file,
|
|
114
|
+
files.set(file, ID5.make(message.snapshot.start));
|
|
115
115
|
}
|
|
116
116
|
return files;
|
|
117
117
|
});
|
|
@@ -1,32 +1,32 @@
|
|
|
1
1
|
import {
|
|
2
2
|
RelativePath2
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./model-resolver-922hggd3.js";
|
|
4
4
|
import {
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
} from "./
|
|
5
|
+
Service77,
|
|
6
|
+
node80
|
|
7
|
+
} from "./model-resolver-714t0x07.js";
|
|
8
8
|
import {
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
} from "./
|
|
9
|
+
Service18,
|
|
10
|
+
node20
|
|
11
|
+
} from "./model-resolver-3rd3t3my.js";
|
|
12
12
|
import {
|
|
13
13
|
isHome2,
|
|
14
|
-
|
|
15
|
-
} from "./
|
|
14
|
+
names3
|
|
15
|
+
} from "./model-resolver-tcezcvh9.js";
|
|
16
16
|
import {
|
|
17
17
|
__export
|
|
18
|
-
} from "./
|
|
18
|
+
} from "./model-resolver-9rqn6x4v.js";
|
|
19
19
|
|
|
20
20
|
// src/filesystem/search.ts
|
|
21
21
|
var exports_search = {};
|
|
22
22
|
__export(exports_search, {
|
|
23
23
|
FileSystemSearch: () => exports_search,
|
|
24
|
-
Options: () =>
|
|
25
|
-
Service: () =>
|
|
26
|
-
configured: () =>
|
|
24
|
+
Options: () => Options2,
|
|
25
|
+
Service: () => Service17,
|
|
26
|
+
configured: () => configured2,
|
|
27
27
|
fffLayer: () => fffLayer2,
|
|
28
|
-
layer: () =>
|
|
29
|
-
node: () =>
|
|
28
|
+
layer: () => layer8,
|
|
29
|
+
node: () => node19,
|
|
30
30
|
ripgrepLayer: () => ripgrepLayer2
|
|
31
31
|
});
|
|
32
32
|
import { makeLocationNode } from "@opencode/util/effect/app-node";
|
|
@@ -35,11 +35,11 @@ import { Clock, Context, Deferred, Duration, Effect, Layer, Schema, Scope } from
|
|
|
35
35
|
import { Fff } from "#fff";
|
|
36
36
|
import fuzzysort from "fuzzysort";
|
|
37
37
|
import { FileSystem } from "@opencode/schema/filesystem";
|
|
38
|
-
var
|
|
38
|
+
var Options2 = Schema.Struct({
|
|
39
39
|
fff: Schema.optional(Schema.Boolean)
|
|
40
40
|
});
|
|
41
41
|
|
|
42
|
-
class
|
|
42
|
+
class Service17 extends Context.Service()("@opencode/FileSystem/Search") {
|
|
43
43
|
}
|
|
44
44
|
var REFRESH_INTERVAL = Duration.toMillis("10 seconds");
|
|
45
45
|
function emptyIndex() {
|
|
@@ -58,9 +58,9 @@ function search(index, input) {
|
|
|
58
58
|
});
|
|
59
59
|
});
|
|
60
60
|
}
|
|
61
|
-
var ripgrepLayer2 = Layer.effect(
|
|
62
|
-
const location = yield*
|
|
63
|
-
const ripgrep = yield*
|
|
61
|
+
var ripgrepLayer2 = Layer.effect(Service17, Effect.gen(function* () {
|
|
62
|
+
const location = yield* Service77;
|
|
63
|
+
const ripgrep = yield* Service18;
|
|
64
64
|
const scope = yield* Scope.Scope;
|
|
65
65
|
const clock = yield* Clock.Clock;
|
|
66
66
|
const home = isHome2(location.directory);
|
|
@@ -77,7 +77,7 @@ var ripgrepLayer2 = Layer.effect(Service63, Effect.gen(function* () {
|
|
|
77
77
|
cwd: location.directory,
|
|
78
78
|
pattern: "*",
|
|
79
79
|
limit: location.vcs && !home ? Number.MAX_SAFE_INTEGER : 1e5,
|
|
80
|
-
exclude: home ? [...
|
|
80
|
+
exclude: home ? [...names3()].map((name) => `${name}/**`) : undefined,
|
|
81
81
|
onEntry: (entry) => Effect.sync(() => {
|
|
82
82
|
next.files.set(entry.path, previous.files.get(entry.path) ?? fuzzysort.prepare(entry.path));
|
|
83
83
|
const parts = entry.path.split("/");
|
|
@@ -105,15 +105,15 @@ var ripgrepLayer2 = Layer.effect(Service63, Effect.gen(function* () {
|
|
|
105
105
|
Deferred.doneUnsafe(attempt, exit);
|
|
106
106
|
})), Effect.forkIn(scope), Effect.flatMap(() => initialized ? Effect.void : Deferred.await(attempt)));
|
|
107
107
|
});
|
|
108
|
-
return
|
|
108
|
+
return Service17.of({
|
|
109
109
|
find: (input) => Effect.gen(function* () {
|
|
110
110
|
yield* refresh;
|
|
111
111
|
return search(index, input);
|
|
112
112
|
})
|
|
113
113
|
});
|
|
114
114
|
}));
|
|
115
|
-
var fffLayer2 = Layer.effect(
|
|
116
|
-
const location = yield*
|
|
115
|
+
var fffLayer2 = Layer.effect(Service17, Effect.gen(function* () {
|
|
116
|
+
const location = yield* Service77;
|
|
117
117
|
const result = yield* Effect.try({
|
|
118
118
|
try: () => Fff.create({
|
|
119
119
|
basePath: location.directory,
|
|
@@ -126,12 +126,12 @@ var fffLayer2 = Layer.effect(Service63, Effect.gen(function* () {
|
|
|
126
126
|
if (!result?.ok) {
|
|
127
127
|
if (result)
|
|
128
128
|
yield* Effect.logWarning("failed to initialize fff", { error: result.error });
|
|
129
|
-
return
|
|
129
|
+
return Service17.of({
|
|
130
130
|
find: () => Effect.succeed([])
|
|
131
131
|
});
|
|
132
132
|
}
|
|
133
133
|
yield* Effect.addFinalizer(() => Effect.sync(() => result.value.destroy()));
|
|
134
|
-
return
|
|
134
|
+
return Service17.of({
|
|
135
135
|
find: (input) => Effect.sync(() => {
|
|
136
136
|
const options = { pageIndex: 0, pageSize: input.limit ?? 50 };
|
|
137
137
|
const items = (() => {
|
|
@@ -174,17 +174,17 @@ var fffLayer2 = Layer.effect(Service63, Effect.gen(function* () {
|
|
|
174
174
|
})
|
|
175
175
|
});
|
|
176
176
|
}));
|
|
177
|
-
var
|
|
178
|
-
const location = yield*
|
|
177
|
+
var layer8 = (options) => Layer.unwrap(Effect.gen(function* () {
|
|
178
|
+
const location = yield* Service77;
|
|
179
179
|
if (location.workspaceID)
|
|
180
180
|
return ripgrepLayer2;
|
|
181
181
|
if (options?.fff === false || options?.fff === undefined && process.platform === "win32" || !Fff.available())
|
|
182
182
|
return ripgrepLayer2;
|
|
183
183
|
return location.vcs && !isHome2(location.directory) ? fffLayer2 : ripgrepLayer2;
|
|
184
184
|
}));
|
|
185
|
-
function
|
|
186
|
-
return makeLocationNode({ service:
|
|
185
|
+
function configured2(options) {
|
|
186
|
+
return makeLocationNode({ service: Service17, layer: layer8(options), deps: [node80, node20] });
|
|
187
187
|
}
|
|
188
|
-
var
|
|
188
|
+
var node19 = configured2();
|
|
189
189
|
|
|
190
|
-
export {
|
|
190
|
+
export { Options2, Service17, ripgrepLayer2, fffLayer2, layer8, configured2, node19, exports_search };
|
|
@@ -1,29 +1,29 @@
|
|
|
1
1
|
import {
|
|
2
2
|
Service83,
|
|
3
3
|
node87
|
|
4
|
-
} from "./
|
|
4
|
+
} from "./model-resolver-swg14gxk.js";
|
|
5
5
|
import {
|
|
6
6
|
KVTable2
|
|
7
|
-
} from "./
|
|
7
|
+
} from "./model-resolver-3hepkmqq.js";
|
|
8
8
|
import {
|
|
9
9
|
__export
|
|
10
|
-
} from "./
|
|
10
|
+
} from "./model-resolver-9rqn6x4v.js";
|
|
11
11
|
|
|
12
12
|
// src/kv.ts
|
|
13
13
|
var exports_kv = {};
|
|
14
14
|
__export(exports_kv, {
|
|
15
15
|
KV: () => exports_kv,
|
|
16
|
-
Service: () =>
|
|
17
|
-
node: () =>
|
|
16
|
+
Service: () => Service62,
|
|
17
|
+
node: () => node65
|
|
18
18
|
});
|
|
19
19
|
import { and, asc, eq, gt, gte, lt } from "drizzle-orm";
|
|
20
20
|
import { Context, Effect, Layer } from "effect";
|
|
21
21
|
import { makeGlobalNode } from "@opencode/util/effect/app-node";
|
|
22
|
-
class
|
|
22
|
+
class Service62 extends Context.Service()("@opencode/KV") {
|
|
23
23
|
}
|
|
24
|
-
var layer = Layer.effect(
|
|
24
|
+
var layer = Layer.effect(Service62, Effect.gen(function* () {
|
|
25
25
|
const db = (yield* Service83).db;
|
|
26
|
-
return
|
|
26
|
+
return Service62.of({
|
|
27
27
|
get: Effect.fn("KV.get")(function* (key) {
|
|
28
28
|
return (yield* db.select({ value: KVTable2.value }).from(KVTable2).where(eq(KVTable2.key, key)).get().pipe(Effect.orDie))?.value;
|
|
29
29
|
}),
|
|
@@ -51,6 +51,6 @@ function prefixEnd(prefix) {
|
|
|
51
51
|
return;
|
|
52
52
|
return `${points.slice(0, index).join("")}${String.fromCodePoint(points[index].codePointAt(0) + 1)}`;
|
|
53
53
|
}
|
|
54
|
-
var
|
|
54
|
+
var node65 = makeGlobalNode({ service: Service62, layer, deps: [node87] });
|
|
55
55
|
|
|
56
|
-
export {
|
|
56
|
+
export { Service62, node65, exports_kv };
|
|
@@ -2,10 +2,10 @@ import {
|
|
|
2
2
|
NotFound2,
|
|
3
3
|
WrongKind2,
|
|
4
4
|
Failed2
|
|
5
|
-
} from "./
|
|
5
|
+
} from "./model-resolver-2a5m3afh.js";
|
|
6
6
|
import {
|
|
7
7
|
__export
|
|
8
|
-
} from "./
|
|
8
|
+
} from "./model-resolver-9rqn6x4v.js";
|
|
9
9
|
|
|
10
10
|
// src/environment/local.ts
|
|
11
11
|
var exports_local = {};
|