@opencode/core 0.0.0-dev-19666 → 0.0.0-dev-19668
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 +78 -78
- 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/{credential-13n5e6v7.js → instance-0g5fb9v6.js} +32 -32
- package/dist/chunks/{credential-508p55fx.js → instance-0gy19s89.js} +20 -20
- package/dist/chunks/{credential-dgve2xzp.js → instance-0krch480.js} +20 -20
- package/dist/chunks/{credential-0paq2nw3.js → instance-0paq2nw3.js} +1 -1
- package/dist/chunks/{credential-0q0f95c6.js → instance-0q0f95c6.js} +1 -1
- package/dist/chunks/{credential-yypw0vbp.js → instance-0r05r6y5.js} +4 -4
- package/dist/chunks/{credential-nh00fgee.js → instance-0w8tcgn8.js} +11 -11
- package/dist/chunks/{credential-p55ry8ca.js → instance-11c79axx.js} +3 -3
- package/dist/chunks/{credential-acm2yer0.js → instance-15br85e5.js} +11 -11
- package/dist/chunks/{credential-dr1t5hnz.js → instance-15ebt1k7.js} +11 -11
- package/dist/chunks/{credential-z2qvtray.js → instance-1ak9gecn.js} +6 -6
- package/dist/chunks/{credential-1dazxqgg.js → instance-1dazxqgg.js} +2 -2
- package/dist/chunks/{credential-1ahzwbrc.js → instance-1dm53pqx.js} +3 -3
- package/dist/chunks/{credential-1t6ktrk6.js → instance-1e6fktsr.js} +4 -4
- package/dist/chunks/{credential-4fggj5wy.js → instance-1ete8hpw.js} +135 -135
- package/dist/chunks/{credential-nb113zne.js → instance-1jgw1m7h.js} +5 -5
- package/dist/chunks/{credential-21r38tys.js → instance-21r38tys.js} +1 -1
- package/dist/chunks/{credential-9h1fa16h.js → instance-28r13cza.js} +25 -25
- package/dist/chunks/{credential-x2k6c1jf.js → instance-298c5yqg.js} +13 -13
- package/dist/chunks/{credential-29x78va6.js → instance-29x78va6.js} +2 -2
- package/dist/chunks/{credential-2a5m3afh.js → instance-2a5m3afh.js} +1 -1
- package/dist/chunks/{credential-1w9mhehj.js → instance-2bxta7w6.js} +10 -10
- package/dist/chunks/{credential-prx5v8cj.js → instance-2jbmzqes.js} +6 -6
- package/dist/chunks/{credential-esaz05fm.js → instance-2vb0bbeg.js} +11 -11
- package/dist/chunks/{credential-ddt2bs9e.js → instance-2vs2nh1n.js} +4 -4
- package/dist/chunks/{credential-8mfdap3f.js → instance-2w5dyyz8.js} +8 -8
- package/dist/chunks/{credential-v689wcn1.js → instance-30qj6q5x.js} +30 -30
- package/dist/chunks/{credential-gj8zg189.js → instance-34k7kvp9.js} +8 -8
- package/dist/chunks/{credential-3fc6dm20.js → instance-3fc6dm20.js} +1 -1
- package/dist/chunks/{credential-3hepkmqq.js → instance-3hepkmqq.js} +1 -1
- package/dist/chunks/{credential-0t1hp5a3.js → instance-3nsxk8ey.js} +3 -3
- package/dist/chunks/{credential-e1gfgpzq.js → instance-3p685mzr.js} +9 -9
- package/dist/chunks/{credential-5apets8e.js → instance-3pcvz4ws.js} +3 -3
- package/dist/chunks/{credential-gmvdm7qq.js → instance-3r4vzja4.js} +31 -31
- package/dist/chunks/{credential-3smtnn6g.js → instance-3smtnn6g.js} +1 -1
- package/dist/chunks/{credential-sr8e46fz.js → instance-3th6e4td.js} +16 -16
- package/dist/chunks/{credential-3tvqynh2.js → instance-3tvqynh2.js} +1 -1
- package/dist/chunks/{credential-5xwnfstc.js → instance-3tyw3evm.js} +15 -15
- package/dist/chunks/{credential-t1dawjzh.js → instance-4a0nv7mx.js} +8 -8
- package/dist/chunks/{credential-x1md2fzm.js → instance-4g8wyabt.js} +13 -13
- package/dist/chunks/{credential-qfrqt7ba.js → instance-4k15esfj.js} +37 -37
- package/dist/chunks/{credential-kd1cpg0d.js → instance-4ppzwvcs.js} +16 -16
- package/dist/chunks/{credential-6gewjzag.js → instance-4yxpvs2w.js} +8 -8
- package/dist/chunks/{credential-gx61xvmr.js → instance-50yhx13p.js} +3 -3
- package/dist/chunks/{credential-aww5fh3f.js → instance-56b29qja.js} +22 -22
- package/dist/chunks/{credential-5c4hm403.js → instance-5c4hm403.js} +3 -3
- package/dist/chunks/{credential-5daktx2q.js → instance-5daktx2q.js} +1 -1
- package/dist/chunks/{credential-fmt9gx9z.js → instance-5h668sd5.js} +3 -3
- package/dist/chunks/{credential-bgs9y14h.js → instance-5nrew705.js} +5 -5
- package/dist/chunks/{credential-s6nyx2af.js → instance-5q2hrvam.js} +11 -11
- package/dist/chunks/{credential-9zjppy0x.js → instance-5s6f8rh0.js} +16 -16
- package/dist/chunks/{credential-5t3nmthw.js → instance-5t3nmthw.js} +2 -2
- package/dist/chunks/{credential-738narex.js → instance-60dmn98w.js} +4 -4
- package/dist/chunks/{credential-dznngq2q.js → instance-60e6sxh2.js} +6 -6
- package/dist/chunks/{credential-gvqa5h3n.js → instance-60esd0tn.js} +21 -21
- package/dist/chunks/{credential-dmsmn8n3.js → instance-6666p02z.js} +29 -29
- package/dist/chunks/{credential-669tq793.js → instance-669tq793.js} +1 -1
- package/dist/chunks/{credential-0e8sy9ry.js → instance-678wb24d.js} +10 -10
- package/dist/chunks/{credential-vh8r7pqb.js → instance-6bdmnzyz.js} +10 -10
- package/dist/chunks/{credential-7jdsj2a9.js → instance-6bsje7ws.js} +3 -3
- package/dist/chunks/{credential-pz6wpjec.js → instance-6g8nk7s8.js} +11 -11
- package/dist/chunks/{credential-2402vzrj.js → instance-6h73sxmp.js} +5 -5
- package/dist/chunks/{credential-4t549gag.js → instance-6hn037ft.js} +13 -13
- package/dist/chunks/{credential-6msgmcgs.js → instance-6msgmcgs.js} +1 -1
- package/dist/chunks/{credential-7bmhse3q.js → instance-7bmhse3q.js} +1 -1
- package/dist/chunks/{credential-2xj68b26.js → instance-7fckcx78.js} +11 -11
- package/dist/chunks/{credential-tf6e7ykh.js → instance-7nbyvxpn.js} +9 -9
- package/dist/chunks/{credential-f5mgxjb1.js → instance-7pteanyt.js} +34 -34
- package/dist/chunks/{credential-6v4n8nt1.js → instance-7vaxr2ka.js} +19 -19
- package/dist/chunks/{credential-qz49fwgp.js → instance-7yqjxrmz.js} +4 -4
- package/dist/chunks/{credential-64p606dm.js → instance-82akp4zr.js} +4 -4
- package/dist/chunks/{credential-64kphnzf.js → instance-88sz8qcd.js} +4 -4
- package/dist/chunks/{credential-y31b318c.js → instance-89smrnyf.js} +4 -4
- package/dist/chunks/{credential-8d7r5vzw.js → instance-8d7r5vzw.js} +1 -1
- package/dist/chunks/{credential-h32de20b.js → instance-8dxhy5rt.js} +8 -8
- package/dist/chunks/{credential-w4apwaf4.js → instance-8jjk62q1.js} +7 -7
- package/dist/chunks/{credential-xf4jyg83.js → instance-8p5sftrr.js} +32 -32
- package/dist/chunks/{credential-bhbz1g28.js → instance-8xvmmkej.js} +1 -1
- package/dist/chunks/{credential-9kb0rfcz.js → instance-8z06avg2.js} +19 -19
- package/dist/chunks/{credential-2g36pw43.js → instance-912gw8mb.js} +11 -11
- package/dist/chunks/{credential-bgsk5sf6.js → instance-935nhz7s.js} +26 -26
- package/dist/chunks/{credential-dfgcgxez.js → instance-9d1sjdve.js} +15 -15
- package/dist/chunks/{credential-kzdc4nak.js → instance-9jntrs5a.js} +24 -24
- package/dist/chunks/{credential-zwsreqmt.js → instance-9kkp93tm.js} +13 -13
- package/dist/chunks/{credential-r1y777cf.js → instance-9vb206v5.js} +22 -22
- package/dist/chunks/{credential-dc33ykcf.js → instance-a62nge54.js} +9 -9
- package/dist/chunks/{credential-05ygxhcx.js → instance-a6tgq3jj.js} +18 -18
- package/dist/chunks/{credential-r36d19v4.js → instance-a7wrfz7n.js} +47 -47
- package/dist/chunks/{credential-aaet6srn.js → instance-aaet6srn.js} +2 -2
- package/dist/chunks/{credential-ws1cv121.js → instance-aaj88y8y.js} +43 -43
- package/dist/chunks/{credential-v8p7hepz.js → instance-akej89mw.js} +4 -4
- package/dist/chunks/{credential-3cmcwjyg.js → instance-akty5zr7.js} +2 -2
- package/dist/chunks/{credential-22yysgjd.js → instance-axcx2qsy.js} +1 -1
- package/dist/chunks/{credential-b6cw5a0r.js → instance-b1kyv30e.js} +7 -7
- package/dist/chunks/{credential-m665a3h5.js → instance-b1p9xx4t.js} +10 -10
- package/dist/chunks/{credential-b6gygkdw.js → instance-b6gygkdw.js} +2 -2
- package/dist/chunks/{credential-bex791m1.js → instance-b9qde9pe.js} +11 -11
- package/dist/chunks/instance-bb64b0wk.js +247 -0
- package/dist/chunks/{credential-8eg2ksxv.js → instance-bcsztfft.js} +21 -21
- package/dist/chunks/{credential-r7e4w6sk.js → instance-bkd9dd8t.js} +3 -3
- package/dist/chunks/{credential-h6wsj49y.js → instance-bpyn7xqn.js} +20 -20
- package/dist/chunks/{credential-esn92z5j.js → instance-bxzg3jj0.js} +12 -12
- package/dist/chunks/{credential-zn7zem8s.js → instance-bz7kr88x.js} +20 -20
- package/dist/chunks/{credential-4zp3m0y7.js → instance-c1689fta.js} +20 -20
- package/dist/chunks/{credential-pamnnq1w.js → instance-cfzkb6b5.js} +9 -9
- package/dist/chunks/{credential-36cgn824.js → instance-cqtvvg9q.js} +5 -5
- package/dist/chunks/{credential-pkvyjtqm.js → instance-cyrkg44w.js} +24 -24
- package/dist/chunks/{credential-cx9swraq.js → instance-cyy8wvw6.js} +3 -3
- package/dist/chunks/{credential-e5646j3d.js → instance-d4js9802.js} +3 -3
- package/dist/chunks/{credential-2wkyznp6.js → instance-d6a4a9pj.js} +8 -8
- package/dist/chunks/{credential-pf91bz7r.js → instance-d9e1farc.js} +25 -25
- package/dist/chunks/{credential-d9s573fh.js → instance-d9s573fh.js} +2 -2
- package/dist/chunks/{credential-2e11fzmp.js → instance-derrv5a3.js} +14 -14
- package/dist/chunks/{credential-dj2t23y0.js → instance-dj2t23y0.js} +2 -2
- package/dist/chunks/{credential-bd16h6cm.js → instance-djhq7drf.js} +15 -15
- package/dist/chunks/{credential-r2m716tb.js → instance-djszqvmq.js} +9 -9
- package/dist/chunks/{credential-2qerxkme.js → instance-ds9q2vr1.js} +11 -11
- package/dist/chunks/{credential-5h89xv10.js → instance-dsdy8vby.js} +3 -3
- package/dist/chunks/{credential-c86qhz4v.js → instance-e4x0grwk.js} +23 -23
- package/dist/chunks/{credential-htz6nkmz.js → instance-edyb2n8j.js} +9 -9
- package/dist/chunks/{credential-ef5x83kb.js → instance-ef5x83kb.js} +1 -1
- package/dist/chunks/{credential-3dz6av1h.js → instance-emhj89z8.js} +25 -25
- package/dist/chunks/{credential-hebf1kxy.js → instance-enpsa0qn.js} +17 -17
- package/dist/chunks/{credential-mkw2wvv0.js → instance-ep9bxrrg.js} +11 -11
- package/dist/chunks/{credential-vcr66jmq.js → instance-esc4jst6.js} +35 -35
- package/dist/chunks/{credential-etq0c3wd.js → instance-etq0c3wd.js} +1 -1
- package/dist/chunks/{credential-n9kbh9vm.js → instance-f1zbxv7x.js} +6 -6
- package/dist/chunks/{credential-68mh88x5.js → instance-f8pc85bz.js} +12 -12
- package/dist/chunks/{credential-51jra4mh.js → instance-ff0svapt.js} +2 -2
- package/dist/chunks/{credential-jfqtm2ew.js → instance-fm2qvscf.js} +4 -4
- package/dist/chunks/{credential-ze0v8k2q.js → instance-fqq0hene.js} +2 -2
- package/dist/chunks/{credential-psbrwbtd.js → instance-frz0c0cz.js} +5 -5
- package/dist/chunks/{credential-fxbjtjnd.js → instance-fxbjtjnd.js} +1 -1
- package/dist/chunks/{credential-vkw6eg78.js → instance-g2paefxp.js} +13 -13
- package/dist/chunks/instance-gbadjzag.js +4 -0
- package/dist/chunks/{credential-gd4qta3r.js → instance-gd4qta3r.js} +1 -1
- package/dist/chunks/{credential-p12fe6dj.js → instance-gh6gapm3.js} +8 -8
- package/dist/chunks/{credential-1kf20zpt.js → instance-gncvst1x.js} +16 -16
- package/dist/chunks/{credential-h774x8jn.js → instance-gwtgg5sm.js} +1 -1
- package/dist/chunks/{credential-h03wrkyp.js → instance-h03wrkyp.js} +2 -2
- package/dist/chunks/{credential-byrjk9ja.js → instance-h0zwybfz.js} +9 -9
- package/dist/chunks/{credential-11bvvhnn.js → instance-h1ahy5ek.js} +46 -46
- package/dist/chunks/{credential-7eqb3hhp.js → instance-h50cqp6j.js} +82 -82
- package/dist/chunks/{credential-4dgbcxzg.js → instance-h6r3nrb9.js} +4 -4
- package/dist/chunks/{credential-h6vf3j39.js → instance-h6vf3j39.js} +1 -1
- package/dist/chunks/{credential-0jq9fyba.js → instance-h71w788e.js} +9 -9
- package/dist/chunks/{credential-hdnk95c8.js → instance-hdnk95c8.js} +2 -2
- package/dist/chunks/{credential-x8e4p6xd.js → instance-hf7c8yph.js} +23 -23
- package/dist/chunks/{credential-83wkmbw3.js → instance-hg0hrt40.js} +8 -8
- package/dist/chunks/{credential-f34svx4d.js → instance-hj9z3tcv.js} +20 -20
- package/dist/chunks/instance-hnqfxvsn.js +26 -0
- package/dist/chunks/{credential-9s36ejp2.js → instance-hre18h31.js} +297 -297
- package/dist/chunks/{credential-e7tvk2tq.js → instance-j4qgncdz.js} +20 -20
- package/dist/chunks/{credential-nca7p386.js → instance-j5208yae.js} +4 -4
- package/dist/chunks/{credential-j56e64zr.js → instance-j56e64zr.js} +1 -1
- package/dist/chunks/{credential-1ae6kvz9.js → instance-j7n3cemq.js} +22 -22
- package/dist/chunks/{credential-nbehtjny.js → instance-jaq434jb.js} +41 -41
- package/dist/chunks/{credential-3e16hxxp.js → instance-jdehz713.js} +50 -50
- package/dist/chunks/{credential-2d70jdp9.js → instance-jgeks98r.js} +34 -34
- package/dist/chunks/{credential-dn50tt4t.js → instance-jh4qzhs2.js} +26 -26
- package/dist/chunks/{credential-whtyrcz8.js → instance-jne38kqm.js} +7 -7
- package/dist/chunks/{credential-jppvw2tx.js → instance-jppvw2tx.js} +2 -2
- package/dist/chunks/{credential-5gsz1cxq.js → instance-jvwg1ga9.js} +8 -8
- package/dist/chunks/{credential-ea5hcw4s.js → instance-jwbqhvyy.js} +5 -5
- package/dist/chunks/{credential-rynznh0p.js → instance-k1p02d2x.js} +1 -1
- package/dist/chunks/{credential-bfe3gwjm.js → instance-k8w7tfth.js} +13 -13
- package/dist/chunks/{credential-fkjmw100.js → instance-k9kj6xed.js} +2 -2
- package/dist/chunks/{credential-6fr6g2j9.js → instance-kavyapnq.js} +29 -29
- package/dist/chunks/{credential-m0jqrx5p.js → instance-m0jqrx5p.js} +2 -2
- package/dist/chunks/{credential-81dmkzj2.js → instance-m5qq5kwq.js} +13 -13
- package/dist/chunks/{credential-m9w0rfyh.js → instance-m9w0rfyh.js} +1 -1
- package/dist/chunks/{credential-1ygqh575.js → instance-mfqp6xfm.js} +6 -6
- package/dist/chunks/{credential-1bbkgx8g.js → instance-mvfsc1pv.js} +3 -3
- package/dist/chunks/{credential-0y85p7dm.js → instance-mzpn2brq.js} +6 -6
- package/dist/chunks/{credential-m9m18251.js → instance-ngwscea7.js} +4 -4
- package/dist/chunks/{credential-4fxtva6j.js → instance-nrapt07a.js} +28 -28
- package/dist/chunks/{credential-tckg6srr.js → instance-nvj1kykz.js} +34 -34
- package/dist/chunks/{credential-b6q09cwq.js → instance-nvyyfnfk.js} +11 -11
- package/dist/chunks/{credential-kbfsvxgx.js → instance-nzn78r5p.js} +1 -1
- package/dist/chunks/{credential-qb62zmsn.js → instance-p32j4z8w.js} +64 -64
- package/dist/chunks/{credential-83sndckj.js → instance-p3sej622.js} +27 -27
- package/dist/chunks/{credential-4ygq0zje.js → instance-pf78hefy.js} +18 -18
- package/dist/chunks/{credential-tc1y06w0.js → instance-pgprxder.js} +8 -8
- package/dist/chunks/{credential-3tbdz2xg.js → instance-phjns8p3.js} +6 -6
- package/dist/chunks/{credential-pjvnvgmy.js → instance-pjvnvgmy.js} +1 -1
- package/dist/chunks/{credential-pknna89w.js → instance-pknna89w.js} +1 -1
- package/dist/chunks/{credential-rpjgfq5s.js → instance-pnkbpv6t.js} +9 -9
- package/dist/chunks/{credential-4ft7aw51.js → instance-pqxq7h3w.js} +6 -6
- package/dist/chunks/{credential-rqp7cg88.js → instance-pr0nt90c.js} +30 -30
- package/dist/chunks/{credential-xecgr4w2.js → instance-prbwkgep.js} +26 -26
- package/dist/chunks/{credential-36q87gfm.js → instance-prqvfbxz.js} +30 -30
- package/dist/chunks/{credential-e6xxsv62.js → instance-q2tpbqqe.js} +11 -11
- package/dist/chunks/{credential-y1kk5z1y.js → instance-q8eb1k0k.js} +5 -5
- package/dist/chunks/{credential-kk8h1mek.js → instance-qaja2phe.js} +8 -8
- package/dist/chunks/{credential-e6jvw2we.js → instance-qcz0b8xd.js} +289 -289
- package/dist/chunks/{credential-7dqw4kz8.js → instance-qgn6gcr1.js} +5 -5
- package/dist/chunks/{credential-4x37hr07.js → instance-qm8s848r.js} +25 -25
- package/dist/chunks/{credential-g7rb6ydv.js → instance-qr7pvdk6.js} +26 -26
- package/dist/chunks/{credential-0xq9xhmj.js → instance-qrsc005n.js} +15 -15
- package/dist/chunks/{credential-qsdy395h.js → instance-qsdy395h.js} +1 -1
- package/dist/chunks/{credential-5dgyrznt.js → instance-qwa60kff.js} +16 -16
- package/dist/chunks/{credential-kna91w2n.js → instance-qzakss4s.js} +9 -9
- package/dist/chunks/{credential-x3nvw3tt.js → instance-r2b987nx.js} +17 -17
- package/dist/chunks/{credential-pab7612g.js → instance-r5r2b0ps.js} +25 -25
- package/dist/chunks/{credential-1fv74gqc.js → instance-r5zwk8ta.js} +6 -6
- package/dist/chunks/{credential-xvj7j57r.js → instance-r9k4tx6d.js} +14 -14
- package/dist/chunks/{credential-r9mregkx.js → instance-r9mregkx.js} +2 -2
- package/dist/chunks/instance-rap9a73h.js +18 -0
- package/dist/chunks/{credential-rdw6cm16.js → instance-rdw6cm16.js} +1 -1
- package/dist/chunks/{credential-5cfjqfg7.js → instance-rmbjzhen.js} +8 -8
- package/dist/chunks/{credential-rq775frq.js → instance-rq775frq.js} +2 -2
- package/dist/chunks/{credential-s4enseaf.js → instance-s4enseaf.js} +2 -2
- package/dist/chunks/{credential-0bnjtszc.js → instance-s62y2h9f.js} +11 -11
- package/dist/chunks/{credential-eaj1djv9.js → instance-s8d7rejh.js} +6 -6
- package/dist/chunks/{credential-wy8b5sm2.js → instance-scq4khx8.js} +1 -1
- package/dist/chunks/{credential-7z7az0f5.js → instance-sej7e0cf.js} +4 -4
- package/dist/chunks/{credential-z7hh0hye.js → instance-seqhjg6w.js} +6 -6
- package/dist/chunks/{credential-x27zz9cf.js → instance-sffhvdnv.js} +10 -10
- package/dist/chunks/{credential-q6fm3z54.js → instance-shj1fj37.js} +11 -11
- package/dist/chunks/{credential-f9tp8y98.js → instance-sn3wtj51.js} +11 -11
- package/dist/chunks/{credential-6mxat6pr.js → instance-sq2r2vdd.js} +28 -28
- package/dist/chunks/{credential-6tsskk3m.js → instance-stz8d20e.js} +20 -20
- package/dist/chunks/{credential-d1mtykxg.js → instance-sxzvkvgj.js} +6 -6
- package/dist/chunks/{credential-nx9y3xfj.js → instance-sy11k7qp.js} +27 -27
- package/dist/chunks/{credential-yh4x4bcf.js → instance-t5p3vz8a.js} +4 -4
- package/dist/chunks/{credential-bbde4wd0.js → instance-taw7adfa.js} +15 -15
- package/dist/chunks/{credential-tazgh4e4.js → instance-tazgh4e4.js} +1 -1
- package/dist/chunks/{credential-tcezcvh9.js → instance-tcezcvh9.js} +1 -1
- package/dist/chunks/{credential-tdstcens.js → instance-tdstcens.js} +1 -1
- package/dist/chunks/{credential-bnhg3r2a.js → instance-tj6919dj.js} +12 -12
- package/dist/chunks/{credential-5yzzbxa7.js → instance-tpw6cwsb.js} +8 -8
- package/dist/chunks/{credential-tvtrv512.js → instance-tvtrv512.js} +1 -1
- package/dist/chunks/{credential-xgvhk45p.js → instance-tx7695cg.js} +18 -18
- package/dist/chunks/{credential-9p1k4t37.js → instance-tzp0ad23.js} +3 -3
- package/dist/chunks/{credential-8jc16yv6.js → instance-tzsgfa2r.js} +11 -11
- package/dist/chunks/{credential-9e4nk0tq.js → instance-tzy028k3.js} +18 -18
- package/dist/chunks/{credential-veqvce7d.js → instance-veqvce7d.js} +1 -1
- package/dist/chunks/{credential-dfe8djrf.js → instance-vncycja5.js} +4 -4
- package/dist/chunks/{credential-r19fnxbw.js → instance-vpjxzjpn.js} +2 -2
- package/dist/chunks/{credential-z7h5tktn.js → instance-vqn6rqq7.js} +26 -26
- package/dist/chunks/{credential-w5hdw20w.js → instance-vrq0t35r.js} +14 -14
- package/dist/chunks/{credential-vzcthcp8.js → instance-vzcthcp8.js} +1 -1
- package/dist/chunks/{credential-ny7wh072.js → instance-w2cqnh9n.js} +19 -19
- package/dist/chunks/{credential-wn0ga2b8.js → instance-w3ka5t40.js} +9 -9
- package/dist/chunks/{credential-w3wsvvr9.js → instance-w3wsvvr9.js} +1 -1
- package/dist/chunks/{credential-57nrd0dc.js → instance-w5y4tavx.js} +2 -2
- package/dist/chunks/{credential-9j72sgz6.js → instance-wc1zjscd.js} +15 -15
- package/dist/chunks/{credential-wd87259q.js → instance-wd87259q.js} +1 -1
- package/dist/chunks/{credential-e90yva4k.js → instance-wg1g507j.js} +6 -6
- package/dist/chunks/{credential-gccs2bwb.js → instance-wjp9vsv4.js} +8 -8
- package/dist/chunks/{credential-spyq2p40.js → instance-x19kptkb.js} +7 -7
- package/dist/chunks/{credential-kmfjf26x.js → instance-x1cz5y8g.js} +43 -43
- package/dist/chunks/{credential-x1ezjp6w.js → instance-x1ezjp6w.js} +1 -1
- package/dist/chunks/{credential-j1zf7whd.js → instance-x38sdwsn.js} +24 -24
- package/dist/chunks/{credential-bpxxtvpb.js → instance-x62z9j5x.js} +3 -3
- package/dist/chunks/{credential-fsh1gg8q.js → instance-xdjdqbmh.js} +15 -15
- package/dist/chunks/{credential-kk00bynn.js → instance-xdk9p2qn.js} +4 -4
- package/dist/chunks/{credential-g4bkzb6c.js → instance-xe8phhbd.js} +33 -33
- package/dist/chunks/{credential-drwq78ky.js → instance-xfkkasph.js} +4 -4
- package/dist/chunks/{credential-v24739yc.js → instance-xjn7esxk.js} +5 -5
- package/dist/chunks/{credential-sxtjcjkh.js → instance-xm043qvn.js} +15 -15
- package/dist/chunks/{credential-17dh7jyv.js → instance-xmag1c89.js} +41 -41
- package/dist/chunks/{credential-ww3m2m79.js → instance-xnh41m6d.js} +10 -10
- package/dist/chunks/{credential-27ydpwgw.js → instance-xw363qe6.js} +6 -6
- package/dist/chunks/{credential-y1fvbwt7.js → instance-y1fvbwt7.js} +1 -1
- package/dist/chunks/{credential-8pr7wmf3.js → instance-y3dxd8ty.js} +4 -4
- package/dist/chunks/{credential-y71avatq.js → instance-y71avatq.js} +1 -1
- package/dist/chunks/{credential-0nx44e6s.js → instance-yfrcqpw5.js} +7 -7
- package/dist/chunks/{credential-1acjjqhc.js → instance-yp2x3t23.js} +4 -4
- package/dist/chunks/{credential-yrhqyw5v.js → instance-yrhqyw5v.js} +1 -1
- package/dist/chunks/{credential-yyb7tjpc.js → instance-yyb7tjpc.js} +2 -2
- package/dist/chunks/{credential-z0bkrqjs.js → instance-z0bkrqjs.js} +1 -1
- package/dist/chunks/{credential-qhjfj27n.js → instance-z9ntjsvf.js} +41 -41
- package/dist/chunks/{credential-ewh97b2b.js → instance-zgt8dcnd.js} +31 -31
- package/dist/chunks/{credential-pq3mzx0q.js → instance-zgxtemc4.js} +9 -9
- package/dist/chunks/{credential-zr2ceqn5.js → instance-zr2ceqn5.js} +1 -1
- package/dist/chunks/{credential-nbj5kk3p.js → instance-zwrqmy8x.js} +44 -44
- package/dist/chunks/{credential-xs6ytfqx.js → instance-zx73h4zj.js} +87 -87
- package/dist/chunks/{credential-zxq2ej10.js → instance-zxq2ej10.js} +1 -1
- package/dist/codemode/catalog.js +1 -1
- package/dist/codemode/instructions.js +7 -7
- package/dist/codemode/tool.js +2 -2
- package/dist/command.js +80 -80
- package/dist/config/discovery.js +81 -81
- package/dist/config/markdown.js +1 -1
- package/dist/config/normalize.js +105 -105
- package/dist/config/plugin/agent.js +124 -124
- package/dist/config/plugin/command.js +212 -212
- package/dist/config/plugin/compaction.js +158 -158
- 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 +124 -124
- package/dist/config/plugin/skill-file.js +101 -101
- package/dist/config/plugin/skill.js +143 -143
- package/dist/config/plugin/snapshot.js +122 -122
- package/dist/config/plugin/source.js +123 -123
- package/dist/config/plugin/tool-output.js +124 -124
- package/dist/config/plugin/websearch.js +123 -123
- package/dist/config/plugin/worktree.js +124 -124
- package/dist/config/variable.js +3 -3
- package/dist/config/watch.js +1 -1
- package/dist/config.js +125 -125
- package/dist/credential/sql.js +2 -2
- package/dist/credential.js +80 -80
- 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 +364 -364
- package/dist/effect/app-node-platform.js +2 -2
- package/dist/effect/keyed-mutex.js +1 -1
- package/dist/effect/websocket-constructor.js +1 -1
- package/dist/environment/driver.js +1 -1
- package/dist/environment/environment.js +92 -92
- package/dist/environment/exec-defaults.js +2 -2
- package/dist/environment/files.js +1 -1
- package/dist/environment/index.js +94 -94
- package/dist/environment/local.js +2 -2
- package/dist/environment/memory.js +2 -2
- package/dist/environment/unavailable.js +1 -1
- package/dist/event/sql.js +1 -1
- package/dist/event-logger.js +69 -69
- package/dist/file-access.js +103 -103
- package/dist/file-mutation.js +93 -93
- package/dist/file-retention.js +1 -1
- package/dist/file.js +1 -1
- package/dist/filesystem/fff.bun.js +2 -2
- package/dist/filesystem/fff.js +1 -1
- package/dist/filesystem/fff.node.js +2 -2
- package/dist/filesystem/fff.workerd.js +2 -2
- package/dist/filesystem/ignore.js +1 -1
- package/dist/filesystem/location-watcher-policy.js +6 -6
- package/dist/filesystem/location-watcher.js +225 -225
- package/dist/filesystem/protected.js +1 -1
- package/dist/filesystem/search.js +102 -102
- package/dist/filesystem/watcher-binding.js +1 -1
- package/dist/filesystem/watcher.js +9 -9
- package/dist/filesystem.js +105 -105
- package/dist/form.js +81 -81
- package/dist/formatter/builtins.js +4 -4
- package/dist/formatter.js +86 -86
- package/dist/generate.js +102 -102
- package/dist/git.js +6 -6
- 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 +355 -355
- package/dist/instruction-discovery.js +80 -80
- 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 +83 -83
- package/dist/job.js +76 -76
- package/dist/kv/sql.js +2 -2
- package/dist/kv.js +72 -72
- package/dist/location-activity.js +131 -131
- package/dist/location-mutation.js +103 -103
- package/dist/location-service-map.js +85 -85
- package/dist/location-services.js +352 -352
- package/dist/location.js +80 -80
- package/dist/mcp/client.js +90 -90
- package/dist/mcp/index.js +105 -105
- package/dist/mcp/instructions.js +126 -126
- 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 +79 -79
- 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 +81 -81
- package/dist/persistent-pty/pty-binding.js +1 -1
- package/dist/persistent-pty.js +74 -74
- package/dist/plugin/agent.js +103 -103
- package/dist/plugin/command.js +100 -100
- package/dist/plugin/hooks.js +5 -5
- package/dist/plugin/host.js +216 -216
- package/dist/plugin/identity.js +3 -3
- package/dist/plugin/instance.js +5 -5
- package/dist/plugin/internal.js +327 -327
- package/dist/plugin/mcp-codemode-exclusion.js +3 -3
- package/dist/plugin/models-dev.js +95 -95
- package/dist/plugin/module.js +7 -7
- package/dist/plugin/optimize.js +2 -2
- 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 +91 -91
- 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 +121 -121
- 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 +346 -346
- 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 +7 -7
- 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 +8 -8
- package/dist/plugin.js +227 -227
- package/dist/project/schema.js +2 -2
- package/dist/project/sql.js +4 -4
- package/dist/project.js +79 -79
- package/dist/provider.js +96 -96
- 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 +97 -97
- package/dist/reference/instructions.js +86 -86
- package/dist/reference.js +90 -90
- package/dist/repository-cache.js +80 -80
- package/dist/repository.js +3 -3
- 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 +132 -132
- package/dist/session/context.js +150 -150
- 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 +219 -219
- package/dist/session/execution.js +125 -125
- package/dist/session/generate.js +149 -149
- package/dist/session/history.js +13 -13
- package/dist/session/inbox.js +85 -85
- package/dist/session/info.js +3 -3
- package/dist/session/instruction-entry.js +78 -78
- package/dist/session/instruction-state.js +8 -8
- package/dist/session/instructions.js +96 -96
- package/dist/session/message-updater.js +2 -2
- package/dist/session/message.js +1 -1
- package/dist/session/model-request.js +117 -117
- 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 +3 -3
- package/dist/session/revert.js +89 -89
- package/dist/session/run-coordinator.js +3 -3
- package/dist/session/runner/index.js +3 -3
- package/dist/session/runner/llm.js +228 -228
- package/dist/session/runner/max-steps.js +1 -1
- package/dist/session/runner/model.js +97 -97
- package/dist/session/runner/publish-llm-event.js +3 -3
- package/dist/session/runner/retry.js +113 -113
- package/dist/session/runner/step.js +124 -124
- 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 +86 -86
- package/dist/session/subagent-completion.js +1 -1
- package/dist/session/subagent-job.js +208 -208
- package/dist/session/system-prompt.js +3 -3
- package/dist/session/title.js +154 -154
- package/dist/session/to-session-error.js +110 -110
- package/dist/session/transfer.js +212 -212
- package/dist/session/usage.js +1 -1
- package/dist/session.js +216 -216
- 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 +109 -109
- package/dist/snapshot.js +90 -90
- package/dist/state.js +1 -1
- package/dist/tool/html-markdown.js +1 -1
- package/dist/tool/http-body.js +1 -1
- package/dist/tool/mcp.js +125 -125
- package/dist/tool/plugin/edit.js +119 -119
- package/dist/tool/plugin/file-diff.js +1 -1
- package/dist/tool/plugin/glob.js +121 -121
- package/dist/tool/plugin/grep.js +121 -121
- package/dist/tool/plugin/opencode.js +3 -3
- package/dist/tool/plugin/patch.js +121 -121
- package/dist/tool/plugin/question.js +102 -102
- package/dist/tool/plugin/read.js +124 -124
- package/dist/tool/plugin/shell.js +215 -215
- package/dist/tool/plugin/skill.js +112 -112
- package/dist/tool/plugin/subagent.js +217 -217
- package/dist/tool/plugin/webfetch.js +109 -109
- package/dist/tool/plugin/websearch.js +113 -113
- package/dist/tool/plugin/write.js +121 -121
- package/dist/tool/read-filesystem.js +99 -99
- package/dist/tool/runtime.js +1 -1
- package/dist/tool-output.js +8 -8
- package/dist/tool.js +15 -15
- package/dist/util/error-summary.js +1 -1
- package/dist/util/error.js +1 -1
- package/dist/util/git-executable.js +2 -2
- package/dist/util/iife.js +1 -1
- package/dist/util/lazy.js +1 -1
- package/dist/util/slug.js +1 -1
- package/dist/util/token.js +1 -1
- package/dist/util/which.js +1 -1
- package/dist/util/wildcard.js +1 -1
- package/dist/v1/config/agent.js +5 -5
- package/dist/v1/config/attachment.js +4 -4
- package/dist/v1/config/command.js +3 -3
- package/dist/v1/config/config.js +16 -16
- package/dist/v1/config/error.js +2 -2
- package/dist/v1/config/formatter.js +3 -3
- 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 +90 -90
- package/dist/vcs/patch.js +1 -1
- package/dist/vcs.js +88 -88
- package/dist/websearch.js +81 -81
- package/dist/wellknown/plugin.js +73 -73
- package/dist/wellknown.js +78 -78
- 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 +8 -8
- package/dist/worktree/sql.js +5 -5
- package/dist/worktree/strategies.js +84 -84
- package/dist/worktree.js +93 -93
- package/package.json +8 -8
- package/dist/chunks/credential-0mesazry.js +0 -4
- package/dist/chunks/credential-1qcbrk1r.js +0 -26
- package/dist/chunks/credential-by5v678g.js +0 -18
- package/dist/chunks/credential-qsh95xcw.js +0 -247
- /package/dist/chunks/{credential-0qkdqm5v.js → instance-0qkdqm5v.js} +0 -0
- /package/dist/chunks/{credential-0zkw76rk.js → instance-0zkw76rk.js} +0 -0
- /package/dist/chunks/{credential-17cy0kzp.js → instance-17cy0kzp.js} +0 -0
- /package/dist/chunks/{credential-1cnp2v09.js → instance-1cnp2v09.js} +0 -0
- /package/dist/chunks/{credential-1kg9ymc8.js → instance-1kg9ymc8.js} +0 -0
- /package/dist/chunks/{credential-24dcb14g.js → instance-24dcb14g.js} +0 -0
- /package/dist/chunks/{credential-2710q6r3.js → instance-2710q6r3.js} +0 -0
- /package/dist/chunks/{credential-2axfhc9x.js → instance-2axfhc9x.js} +0 -0
- /package/dist/chunks/{credential-2c3vjs8z.js → instance-2c3vjs8z.js} +0 -0
- /package/dist/chunks/{credential-359p4xyc.js → instance-359p4xyc.js} +0 -0
- /package/dist/chunks/{credential-3asan66x.js → instance-3asan66x.js} +0 -0
- /package/dist/chunks/{credential-3v8g72cx.js → instance-3v8g72cx.js} +0 -0
- /package/dist/chunks/{credential-3w5fmr99.js → instance-3w5fmr99.js} +0 -0
- /package/dist/chunks/{credential-3wcehsnq.js → instance-3wcehsnq.js} +0 -0
- /package/dist/chunks/{credential-43n2bw4t.js → instance-43n2bw4t.js} +0 -0
- /package/dist/chunks/{credential-4knz6hnm.js → instance-4knz6hnm.js} +0 -0
- /package/dist/chunks/{credential-4vcrnpx2.js → instance-4vcrnpx2.js} +0 -0
- /package/dist/chunks/{credential-4y7fprxs.js → instance-4y7fprxs.js} +0 -0
- /package/dist/chunks/{credential-53557ph1.js → instance-53557ph1.js} +0 -0
- /package/dist/chunks/{credential-550bvhaj.js → instance-550bvhaj.js} +0 -0
- /package/dist/chunks/{credential-6prwharc.js → instance-6prwharc.js} +0 -0
- /package/dist/chunks/{credential-7akdwqpd.js → instance-7akdwqpd.js} +0 -0
- /package/dist/chunks/{credential-7m9af43g.js → instance-7m9af43g.js} +0 -0
- /package/dist/chunks/{credential-822emrt2.js → instance-822emrt2.js} +0 -0
- /package/dist/chunks/{credential-88xbtdfr.js → instance-88xbtdfr.js} +0 -0
- /package/dist/chunks/{credential-8n3pysct.js → instance-8n3pysct.js} +0 -0
- /package/dist/chunks/{credential-922hggd3.js → instance-922hggd3.js} +0 -0
- /package/dist/chunks/{credential-9a4afbnw.js → instance-9a4afbnw.js} +0 -0
- /package/dist/chunks/{credential-9rqn6x4v.js → instance-9rqn6x4v.js} +0 -0
- /package/dist/chunks/{credential-a6k6eb26.js → instance-a6k6eb26.js} +0 -0
- /package/dist/chunks/{credential-af5trqkr.js → instance-af5trqkr.js} +0 -0
- /package/dist/chunks/{credential-afrmfg78.js → instance-afrmfg78.js} +0 -0
- /package/dist/chunks/{credential-aqzs7mqg.js → instance-aqzs7mqg.js} +0 -0
- /package/dist/chunks/{credential-atq7p7m5.js → instance-atq7p7m5.js} +0 -0
- /package/dist/chunks/{credential-bkyjaxrp.js → instance-bkyjaxrp.js} +0 -0
- /package/dist/chunks/{credential-bmr6ed5q.js → instance-bmr6ed5q.js} +0 -0
- /package/dist/chunks/{credential-cf4snx6d.js → instance-cf4snx6d.js} +0 -0
- /package/dist/chunks/{credential-cvy3z8tj.js → instance-cvy3z8tj.js} +0 -0
- /package/dist/chunks/{credential-d9fn303g.js → instance-d9fn303g.js} +0 -0
- /package/dist/chunks/{credential-d9jj8t3e.js → instance-d9jj8t3e.js} +0 -0
- /package/dist/chunks/{credential-dajrwvna.js → instance-dajrwvna.js} +0 -0
- /package/dist/chunks/{credential-dap0rakb.js → instance-dap0rakb.js} +0 -0
- /package/dist/chunks/{credential-df08tz66.js → instance-df08tz66.js} +0 -0
- /package/dist/chunks/{credential-dy18nga0.js → instance-dy18nga0.js} +0 -0
- /package/dist/chunks/{credential-e3qxr5gk.js → instance-e3qxr5gk.js} +0 -0
- /package/dist/chunks/{credential-e5kj55wp.js → instance-e5kj55wp.js} +0 -0
- /package/dist/chunks/{credential-e73j6tqm.js → instance-e73j6tqm.js} +0 -0
- /package/dist/chunks/{credential-ec1grn59.js → instance-ec1grn59.js} +0 -0
- /package/dist/chunks/{credential-eh3zwz77.js → instance-eh3zwz77.js} +0 -0
- /package/dist/chunks/{credential-emrn6kk6.js → instance-emrn6kk6.js} +0 -0
- /package/dist/chunks/{credential-f0mxakyp.js → instance-f0mxakyp.js} +0 -0
- /package/dist/chunks/{credential-f6n9ztr4.js → instance-f6n9ztr4.js} +0 -0
- /package/dist/chunks/{credential-faypxj3z.js → instance-faypxj3z.js} +0 -0
- /package/dist/chunks/{credential-fd410y7t.js → instance-fd410y7t.js} +0 -0
- /package/dist/chunks/{credential-fxgpk5d8.js → instance-fxgpk5d8.js} +0 -0
- /package/dist/chunks/{credential-g4wezp1m.js → instance-g4wezp1m.js} +0 -0
- /package/dist/chunks/{credential-g86h250q.js → instance-g86h250q.js} +0 -0
- /package/dist/chunks/{credential-gebd4c9n.js → instance-gebd4c9n.js} +0 -0
- /package/dist/chunks/{credential-gftt206x.js → instance-gftt206x.js} +0 -0
- /package/dist/chunks/{credential-hjbc5kem.js → instance-hjbc5kem.js} +0 -0
- /package/dist/chunks/{credential-hk9envan.js → instance-hk9envan.js} +0 -0
- /package/dist/chunks/{credential-j2ntwpah.js → instance-j2ntwpah.js} +0 -0
- /package/dist/chunks/{credential-j5zkgpj8.js → instance-j5zkgpj8.js} +0 -0
- /package/dist/chunks/{credential-jjkms2e6.js → instance-jjkms2e6.js} +0 -0
- /package/dist/chunks/{credential-jr7sbwjy.js → instance-jr7sbwjy.js} +0 -0
- /package/dist/chunks/{credential-jwfs4k6c.js → instance-jwfs4k6c.js} +0 -0
- /package/dist/chunks/{credential-jzg6c2d5.js → instance-jzg6c2d5.js} +0 -0
- /package/dist/chunks/{credential-mp448xyj.js → instance-mp448xyj.js} +0 -0
- /package/dist/chunks/{credential-msx8hqn2.js → instance-msx8hqn2.js} +0 -0
- /package/dist/chunks/{credential-n05xt0ee.js → instance-n05xt0ee.js} +0 -0
- /package/dist/chunks/{credential-n3j8tn72.js → instance-n3j8tn72.js} +0 -0
- /package/dist/chunks/{credential-njntx4h6.js → instance-njntx4h6.js} +0 -0
- /package/dist/chunks/{credential-q3sfg36h.js → instance-q3sfg36h.js} +0 -0
- /package/dist/chunks/{credential-q74kybfr.js → instance-q74kybfr.js} +0 -0
- /package/dist/chunks/{credential-qaymkmh1.js → instance-qaymkmh1.js} +0 -0
- /package/dist/chunks/{credential-qb87gjwd.js → instance-qb87gjwd.js} +0 -0
- /package/dist/chunks/{credential-qfa1cgps.js → instance-qfa1cgps.js} +0 -0
- /package/dist/chunks/{credential-qg3g05ea.js → instance-qg3g05ea.js} +0 -0
- /package/dist/chunks/{credential-qrg20bc0.js → instance-qrg20bc0.js} +0 -0
- /package/dist/chunks/{credential-rcb2kzg1.js → instance-rcb2kzg1.js} +0 -0
- /package/dist/chunks/{credential-sdp7kfr6.js → instance-sdp7kfr6.js} +0 -0
- /package/dist/chunks/{credential-sk3qaz4a.js → instance-sk3qaz4a.js} +0 -0
- /package/dist/chunks/{credential-ssg3fenm.js → instance-ssg3fenm.js} +0 -0
- /package/dist/chunks/{credential-twg0f83k.js → instance-twg0f83k.js} +0 -0
- /package/dist/chunks/{credential-w803qqfp.js → instance-w803qqfp.js} +0 -0
- /package/dist/chunks/{credential-wc3fc9cn.js → instance-wc3fc9cn.js} +0 -0
- /package/dist/chunks/{credential-wer8tq1h.js → instance-wer8tq1h.js} +0 -0
- /package/dist/chunks/{credential-wtztk69x.js → instance-wtztk69x.js} +0 -0
- /package/dist/chunks/{credential-x0ckcb58.js → instance-x0ckcb58.js} +0 -0
- /package/dist/chunks/{credential-x61499pn.js → instance-x61499pn.js} +0 -0
- /package/dist/chunks/{credential-y44na4kk.js → instance-y44na4kk.js} +0 -0
- /package/dist/chunks/{credential-y8cydn3q.js → instance-y8cydn3q.js} +0 -0
- /package/dist/chunks/{credential-y8f7s663.js → instance-y8f7s663.js} +0 -0
- /package/dist/chunks/{credential-ygaqb7jw.js → instance-ygaqb7jw.js} +0 -0
- /package/dist/chunks/{credential-ym463w8f.js → instance-ym463w8f.js} +0 -0
- /package/dist/chunks/{credential-z9919s4g.js → instance-z9919s4g.js} +0 -0
|
@@ -1,10 +1,10 @@
|
|
|
1
1
|
import {
|
|
2
2
|
Service81,
|
|
3
3
|
node85
|
|
4
|
-
} from "./
|
|
4
|
+
} from "./instance-0r05r6y5.js";
|
|
5
5
|
import {
|
|
6
6
|
__export
|
|
7
|
-
} from "./
|
|
7
|
+
} from "./instance-9rqn6x4v.js";
|
|
8
8
|
|
|
9
9
|
// src/form.ts
|
|
10
10
|
var exports_form = {};
|
|
@@ -12,31 +12,31 @@ __export(exports_form, {
|
|
|
12
12
|
AlreadyExistsError: () => AlreadyExistsError2,
|
|
13
13
|
AlreadySettledError: () => AlreadySettledError2,
|
|
14
14
|
Answer: () => Answer2,
|
|
15
|
-
Event: () =>
|
|
15
|
+
Event: () => Event20,
|
|
16
16
|
Field: () => Field2,
|
|
17
17
|
Fields: () => Fields2,
|
|
18
18
|
Form: () => exports_form,
|
|
19
|
-
ID: () =>
|
|
20
|
-
Info: () =>
|
|
19
|
+
ID: () => ID16,
|
|
20
|
+
Info: () => Info31,
|
|
21
21
|
InvalidAnswerError: () => InvalidAnswerError2,
|
|
22
22
|
InvalidFormError: () => InvalidFormError2,
|
|
23
23
|
NotFoundError: () => NotFoundError10,
|
|
24
24
|
Reply: () => Reply3,
|
|
25
|
-
Service: () =>
|
|
25
|
+
Service: () => Service77,
|
|
26
26
|
State: () => State3,
|
|
27
27
|
When: () => When2,
|
|
28
|
-
layer: () =>
|
|
29
|
-
node: () =>
|
|
28
|
+
layer: () => layer25,
|
|
29
|
+
node: () => node81,
|
|
30
30
|
validateAnswer: () => validateAnswer2,
|
|
31
31
|
validateFields: () => validateFields2
|
|
32
32
|
});
|
|
33
33
|
import { Form } from "@opencode/schema/form";
|
|
34
34
|
import { Cache, Context, Deferred, Duration, Effect, Exit, Layer, Option, Schema } from "effect";
|
|
35
35
|
import { makeLocationNode } from "@opencode/util/effect/app-node";
|
|
36
|
-
import { Event as
|
|
36
|
+
import { Event as Event20 } from "@opencode/schema/form";
|
|
37
37
|
var RETENTION = Duration.minutes(10);
|
|
38
|
-
var
|
|
39
|
-
var
|
|
38
|
+
var ID16 = Form.ID;
|
|
39
|
+
var Info31 = Form.Info;
|
|
40
40
|
var Field2 = Form.Field;
|
|
41
41
|
var Fields2 = Form.Fields;
|
|
42
42
|
var When2 = Form.When;
|
|
@@ -45,7 +45,7 @@ var Answer2 = Form.Answer;
|
|
|
45
45
|
var Reply3 = Form.Reply;
|
|
46
46
|
|
|
47
47
|
class NotFoundError10 extends Schema.TaggedError()("Form.NotFoundError", {
|
|
48
|
-
id:
|
|
48
|
+
id: ID16
|
|
49
49
|
}) {
|
|
50
50
|
get message() {
|
|
51
51
|
return `Form not found: ${this.id}`;
|
|
@@ -53,7 +53,7 @@ class NotFoundError10 extends Schema.TaggedError()("Form.NotFoundError", {
|
|
|
53
53
|
}
|
|
54
54
|
|
|
55
55
|
class AlreadySettledError2 extends Schema.TaggedError()("Form.AlreadySettledError", {
|
|
56
|
-
id:
|
|
56
|
+
id: ID16
|
|
57
57
|
}) {
|
|
58
58
|
get message() {
|
|
59
59
|
return `Form already settled: ${this.id}`;
|
|
@@ -61,7 +61,7 @@ class AlreadySettledError2 extends Schema.TaggedError()("Form.AlreadySettledErro
|
|
|
61
61
|
}
|
|
62
62
|
|
|
63
63
|
class AlreadyExistsError2 extends Schema.TaggedError()("Form.AlreadyExistsError", {
|
|
64
|
-
id:
|
|
64
|
+
id: ID16
|
|
65
65
|
}) {
|
|
66
66
|
get message() {
|
|
67
67
|
return `Form already exists: ${this.id}`;
|
|
@@ -69,7 +69,7 @@ class AlreadyExistsError2 extends Schema.TaggedError()("Form.AlreadyExistsError"
|
|
|
69
69
|
}
|
|
70
70
|
|
|
71
71
|
class InvalidAnswerError2 extends Schema.TaggedError()("Form.InvalidAnswerError", {
|
|
72
|
-
id:
|
|
72
|
+
id: ID16,
|
|
73
73
|
message: Schema.String
|
|
74
74
|
}) {
|
|
75
75
|
}
|
|
@@ -79,9 +79,9 @@ class InvalidFormError2 extends Schema.TaggedError()("Form.InvalidFormError", {
|
|
|
79
79
|
}) {
|
|
80
80
|
}
|
|
81
81
|
|
|
82
|
-
class
|
|
82
|
+
class Service77 extends Context.Service()("@opencode/Form") {
|
|
83
83
|
}
|
|
84
|
-
var
|
|
84
|
+
var layer25 = Layer.effect(Service77, Effect.gen(function* () {
|
|
85
85
|
const bus = yield* Service81;
|
|
86
86
|
const forms = yield* Cache.makeWith(() => Effect.die(new Error("Form cache must be used via set/getSuccess, never get")), {
|
|
87
87
|
capacity: Number.MAX_SAFE_INTEGER,
|
|
@@ -89,7 +89,7 @@ var layer24 = Layer.effect(Service73, Effect.gen(function* () {
|
|
|
89
89
|
});
|
|
90
90
|
const requireEntry = Effect.fn("Form.requireEntry")((id) => Cache.getSuccess(forms, id).pipe(Effect.flatMap((entry) => Effect.fromOption(entry, () => new NotFoundError10({ id })))));
|
|
91
91
|
const create = Effect.fn("Form.create")((input) => Effect.uninterruptible(Effect.gen(function* () {
|
|
92
|
-
const id = input.id ??
|
|
92
|
+
const id = input.id ?? ID16.create();
|
|
93
93
|
const existing = yield* Cache.getSuccess(forms, id);
|
|
94
94
|
if (Option.isSome(existing))
|
|
95
95
|
return yield* new AlreadyExistsError2({ id });
|
|
@@ -153,9 +153,9 @@ var layer24 = Layer.effect(Service73, Effect.gen(function* () {
|
|
|
153
153
|
yield* Deferred.succeed(entry.deferred, next);
|
|
154
154
|
})));
|
|
155
155
|
yield* Effect.addFinalizer(() => Cache.values(forms).pipe(Effect.flatMap((entries) => Effect.forEach(Array.from(entries).filter((entry) => entry.state.status === "pending"), (entry) => cancel(entry.form.id).pipe(Effect.ignore), { discard: true }))));
|
|
156
|
-
return
|
|
156
|
+
return Service77.of({ create, ask, get, list, state, reply, cancel });
|
|
157
157
|
}));
|
|
158
|
-
var
|
|
158
|
+
var node81 = makeLocationNode({ service: Service77, layer: layer25, deps: [node85] });
|
|
159
159
|
function validateAnswer2(form, answer) {
|
|
160
160
|
const fields = new Map(form.map((field) => [field.key, field]));
|
|
161
161
|
for (const key of Object.keys(answer)) {
|
|
@@ -307,4 +307,4 @@ function isDateTime(value) {
|
|
|
307
307
|
return !Number.isNaN(new Date(value).getTime());
|
|
308
308
|
}
|
|
309
309
|
|
|
310
|
-
export {
|
|
310
|
+
export { ID16, Info31, Field2, Fields2, When2, State3, Answer2, Reply3, NotFoundError10, AlreadySettledError2, AlreadyExistsError2, InvalidAnswerError2, InvalidFormError2, Service77, layer25, node81, validateAnswer2, validateFields2, exports_form, Event20 };
|
|
@@ -1,12 +1,12 @@
|
|
|
1
1
|
import {
|
|
2
2
|
aisdk2
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./instance-qcz0b8xd.js";
|
|
4
4
|
import {
|
|
5
5
|
VariantID2
|
|
6
|
-
} from "./
|
|
6
|
+
} from "./instance-vqn6rqq7.js";
|
|
7
7
|
import {
|
|
8
8
|
__export
|
|
9
|
-
} from "./
|
|
9
|
+
} from "./instance-9rqn6x4v.js";
|
|
10
10
|
|
|
11
11
|
// src/variant.ts
|
|
12
12
|
var exports_variant = {};
|
|
@@ -1,16 +1,16 @@
|
|
|
1
1
|
import {
|
|
2
2
|
Service81,
|
|
3
3
|
node85
|
|
4
|
-
} from "./
|
|
4
|
+
} from "./instance-0r05r6y5.js";
|
|
5
5
|
import {
|
|
6
6
|
environment2
|
|
7
|
-
} from "./
|
|
7
|
+
} from "./instance-8z06avg2.js";
|
|
8
8
|
import {
|
|
9
9
|
makeDaemonTransport2
|
|
10
|
-
} from "./
|
|
10
|
+
} from "./instance-sk3qaz4a.js";
|
|
11
11
|
import {
|
|
12
12
|
__export
|
|
13
|
-
} from "./
|
|
13
|
+
} from "./instance-9rqn6x4v.js";
|
|
14
14
|
|
|
15
15
|
// src/persistent-pty/index.ts
|
|
16
16
|
var exports_persistent_pty = {};
|
|
@@ -19,11 +19,11 @@ __export(exports_persistent_pty, {
|
|
|
19
19
|
NotFoundError: () => NotFoundError3,
|
|
20
20
|
Options: () => Options3,
|
|
21
21
|
PersistentPty: () => exports_persistent_pty,
|
|
22
|
-
Service: () =>
|
|
23
|
-
UnavailableError: () =>
|
|
22
|
+
Service: () => Service23,
|
|
23
|
+
UnavailableError: () => UnavailableError3,
|
|
24
24
|
configured: () => configured3,
|
|
25
|
-
layer: () =>
|
|
26
|
-
node: () =>
|
|
25
|
+
layer: () => layer10,
|
|
26
|
+
node: () => node26
|
|
27
27
|
});
|
|
28
28
|
import os from "node:os";
|
|
29
29
|
import path from "node:path";
|
|
@@ -37,7 +37,7 @@ import { resolveBinary } from "#persistent-pty-binary";
|
|
|
37
37
|
import { Handoff as Handoff2 } from "@opencode/schema/persistent-pty";
|
|
38
38
|
var Options3 = Schema.Struct({ handoff: Schema.optional(Handoff) });
|
|
39
39
|
|
|
40
|
-
class
|
|
40
|
+
class UnavailableError3 extends Schema.TaggedError()("PersistentPty.UnavailableError", {
|
|
41
41
|
message: Schema.String
|
|
42
42
|
}) {
|
|
43
43
|
}
|
|
@@ -47,9 +47,9 @@ class NotFoundError3 extends Schema.TaggedError()("PersistentPty.NotFoundError",
|
|
|
47
47
|
}) {
|
|
48
48
|
}
|
|
49
49
|
|
|
50
|
-
class
|
|
50
|
+
class Service23 extends Context.Service()("@opencode/PersistentPty") {
|
|
51
51
|
}
|
|
52
|
-
var makeLayer = (options = {}) => Layer.effect(
|
|
52
|
+
var makeLayer = (options = {}) => Layer.effect(Service23, Effect.gen(function* () {
|
|
53
53
|
const bus = yield* Service81;
|
|
54
54
|
const global = yield* Global.Service;
|
|
55
55
|
const context = yield* Effect.context();
|
|
@@ -162,7 +162,7 @@ var makeLayer = (options = {}) => Layer.effect(Service16, Effect.gen(function* (
|
|
|
162
162
|
});
|
|
163
163
|
const read = Effect.fn("PersistentPty.read")(function* (sessionID, lines) {
|
|
164
164
|
if (lines !== undefined && !Schema.is(ReadLines)(lines))
|
|
165
|
-
return yield* new
|
|
165
|
+
return yield* new UnavailableError3({ message: "lines must be an integer between 1 and 65535" });
|
|
166
166
|
const id = current.get(sessionID);
|
|
167
167
|
if (!id)
|
|
168
168
|
return null;
|
|
@@ -239,7 +239,7 @@ var makeLayer = (options = {}) => Layer.effect(Service16, Effect.gen(function* (
|
|
|
239
239
|
detach: attachment.detach
|
|
240
240
|
};
|
|
241
241
|
});
|
|
242
|
-
return
|
|
242
|
+
return Service23.of({
|
|
243
243
|
list,
|
|
244
244
|
get,
|
|
245
245
|
create,
|
|
@@ -255,17 +255,17 @@ var makeLayer = (options = {}) => Layer.effect(Service16, Effect.gen(function* (
|
|
|
255
255
|
attach
|
|
256
256
|
});
|
|
257
257
|
}));
|
|
258
|
-
var
|
|
258
|
+
var layer10 = makeLayer();
|
|
259
259
|
var configured3 = (options) => makeGlobalNode({
|
|
260
|
-
service:
|
|
261
|
-
layer: options === undefined ?
|
|
260
|
+
service: Service23,
|
|
261
|
+
layer: options === undefined ? layer10 : makeLayer(options),
|
|
262
262
|
deps: [node85, Global.node]
|
|
263
263
|
});
|
|
264
|
-
var
|
|
264
|
+
var node26 = configured3();
|
|
265
265
|
var request = (daemon, value, start = false) => daemon.request(value, start).pipe(Effect.mapError(unavailable));
|
|
266
266
|
var optionalRequest = (daemon, value) => daemon.requestIfRunning(value).pipe(Effect.mapError(unavailable));
|
|
267
|
-
var unexpected = (response) => Effect.fail(new
|
|
268
|
-
var unavailable = (error) => new
|
|
267
|
+
var unexpected = (response) => Effect.fail(new UnavailableError3({ message: `unexpected opencode-pty response: ${response.type}` }));
|
|
268
|
+
var unavailable = (error) => new UnavailableError3({ message: error instanceof Error ? error.message : String(error) });
|
|
269
269
|
var runtimeDirectory = () => {
|
|
270
270
|
const root = process.env.OPENCODE_PTY_RUNTIME_DIR ?? (process.env.XDG_RUNTIME_DIR ? path.join(process.env.XDG_RUNTIME_DIR, "opencode-pty") : path.join(os.tmpdir(), `opencode-pty-${typeof process.getuid === "function" ? process.getuid() : process.env.USER || "unknown"}`));
|
|
271
271
|
return path.join(root, crypto.randomUUID());
|
|
@@ -301,4 +301,4 @@ function fromID(value) {
|
|
|
301
301
|
return parsed;
|
|
302
302
|
}
|
|
303
303
|
|
|
304
|
-
export { Options3,
|
|
304
|
+
export { Options3, UnavailableError3, NotFoundError3, Service23, layer10, configured3, node26, exports_persistent_pty, Handoff2 };
|
|
@@ -1,15 +1,15 @@
|
|
|
1
1
|
import {
|
|
2
2
|
cleanup3
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./instance-gd4qta3r.js";
|
|
4
4
|
import {
|
|
5
5
|
ascending2
|
|
6
|
-
} from "./
|
|
6
|
+
} from "./instance-tvtrv512.js";
|
|
7
7
|
import {
|
|
8
8
|
create3
|
|
9
|
-
} from "./
|
|
9
|
+
} from "./instance-rdw6cm16.js";
|
|
10
10
|
import {
|
|
11
11
|
__export
|
|
12
|
-
} from "./
|
|
12
|
+
} from "./instance-9rqn6x4v.js";
|
|
13
13
|
|
|
14
14
|
// src/tool-output.ts
|
|
15
15
|
var exports_tool_output2 = {};
|
|
@@ -18,9 +18,9 @@ __export(exports_tool_output2, {
|
|
|
18
18
|
MAX_BYTES: () => MAX_BYTES2,
|
|
19
19
|
MAX_LINES: () => MAX_LINES2,
|
|
20
20
|
RETENTION: () => RETENTION3,
|
|
21
|
-
Service: () =>
|
|
21
|
+
Service: () => Service60,
|
|
22
22
|
ToolOutput: () => exports_tool_output2,
|
|
23
|
-
node: () =>
|
|
23
|
+
node: () => node62
|
|
24
24
|
});
|
|
25
25
|
import path from "path";
|
|
26
26
|
import { Context, Duration, Effect, Layer, Schedule } from "effect";
|
|
@@ -32,13 +32,13 @@ var MAX_BYTES2 = 50 * 1024;
|
|
|
32
32
|
var RETENTION3 = Duration.days(7);
|
|
33
33
|
var DIRECTORY3 = "tool-output";
|
|
34
34
|
|
|
35
|
-
class
|
|
35
|
+
class Service60 extends Context.Service()("@opencode/ToolOutput") {
|
|
36
36
|
}
|
|
37
37
|
var cleanup = Effect.fn("ToolOutput.cleanup")(function* (fs, directory) {
|
|
38
38
|
const entries = yield* fs.readDirectory(directory).pipe(Effect.map((entries) => entries.filter((entry) => /^tool_[0-9a-f]{12}/.test(entry))), Effect.orElseSucceed(() => []));
|
|
39
39
|
yield* cleanup3(fs, entries.map((entry) => path.join(directory, entry)), RETENTION3);
|
|
40
40
|
});
|
|
41
|
-
var layer = Layer.effect(
|
|
41
|
+
var layer = Layer.effect(Service60, Effect.gen(function* () {
|
|
42
42
|
const fs = yield* FSUtil.Service;
|
|
43
43
|
const global = yield* Global.Service;
|
|
44
44
|
const directory = path.join(global.data, DIRECTORY3);
|
|
@@ -122,7 +122,7 @@ var layer = Layer.effect(Service54, Effect.gen(function* () {
|
|
|
122
122
|
metadata: { ...result.metadata, truncated: true, outputPath: file }
|
|
123
123
|
};
|
|
124
124
|
});
|
|
125
|
-
return
|
|
125
|
+
return Service60.of({
|
|
126
126
|
transform: state.transform,
|
|
127
127
|
reload: state.reload,
|
|
128
128
|
truncate,
|
|
@@ -139,10 +139,10 @@ var cleanupNode = makeGlobalNode({
|
|
|
139
139
|
layer: cleanupLayer,
|
|
140
140
|
deps: [FSUtil.node, Global.node]
|
|
141
141
|
});
|
|
142
|
-
var
|
|
143
|
-
service:
|
|
142
|
+
var node62 = makeLocationNode({
|
|
143
|
+
service: Service60,
|
|
144
144
|
layer,
|
|
145
145
|
deps: [FSUtil.node, Global.node, cleanupNode]
|
|
146
146
|
});
|
|
147
147
|
|
|
148
|
-
export { MAX_LINES2, MAX_BYTES2, RETENTION3, DIRECTORY3,
|
|
148
|
+
export { MAX_LINES2, MAX_BYTES2, RETENTION3, DIRECTORY3, Service60, node62, exports_tool_output2 };
|
|
@@ -1,44 +1,44 @@
|
|
|
1
1
|
import {
|
|
2
|
-
|
|
3
|
-
} from "./
|
|
2
|
+
Service54
|
|
3
|
+
} from "./instance-zwrqmy8x.js";
|
|
4
4
|
import {
|
|
5
5
|
MAX_MARKDOWN_BYTES2,
|
|
6
6
|
convertHTMLToMarkdown2
|
|
7
|
-
} from "./
|
|
7
|
+
} from "./instance-4vcrnpx2.js";
|
|
8
8
|
import {
|
|
9
9
|
collectBoundedResponseBody2
|
|
10
|
-
} from "./
|
|
10
|
+
} from "./instance-3v8g72cx.js";
|
|
11
11
|
import {
|
|
12
12
|
__export
|
|
13
|
-
} from "./
|
|
13
|
+
} from "./instance-9rqn6x4v.js";
|
|
14
14
|
|
|
15
15
|
// src/tool/plugin/webfetch.ts
|
|
16
16
|
var exports_webfetch = {};
|
|
17
17
|
__export(exports_webfetch, {
|
|
18
18
|
DEFAULT_TIMEOUT_SECONDS: () => DEFAULT_TIMEOUT_SECONDS2,
|
|
19
|
-
Input: () =>
|
|
19
|
+
Input: () => Input5,
|
|
20
20
|
MAX_RESPONSE_BYTES: () => MAX_RESPONSE_BYTES3,
|
|
21
21
|
MAX_TIMEOUT_SECONDS: () => MAX_TIMEOUT_SECONDS2,
|
|
22
|
-
Plugin: () =>
|
|
22
|
+
Plugin: () => Plugin39,
|
|
23
23
|
WebFetchTool: () => exports_webfetch,
|
|
24
24
|
convertHTMLToMarkdown: () => convertHTMLToMarkdown2,
|
|
25
|
-
description: () =>
|
|
25
|
+
description: () => description3,
|
|
26
26
|
extractTextFromHTML: () => extractTextFromHTML2,
|
|
27
|
-
name: () =>
|
|
27
|
+
name: () => name5
|
|
28
28
|
});
|
|
29
29
|
import { ToolFailure } from "@opencode/ai";
|
|
30
30
|
import { Duration, Effect, Schema } from "effect";
|
|
31
31
|
import { HttpClient, HttpClientRequest, HttpClientResponse } from "effect/unstable/http";
|
|
32
32
|
import { Parser } from "htmlparser2";
|
|
33
|
-
var
|
|
33
|
+
var name5 = "webfetch";
|
|
34
34
|
var MAX_RESPONSE_BYTES3 = MAX_MARKDOWN_BYTES2;
|
|
35
35
|
var DEFAULT_TIMEOUT_SECONDS2 = 30;
|
|
36
36
|
var MAX_TIMEOUT_SECONDS2 = 120;
|
|
37
|
-
var
|
|
37
|
+
var description3 = `Fetch content from an HTTP or HTTPS URL and return it as text, markdown, or HTML. Markdown is the default.
|
|
38
38
|
|
|
39
39
|
Use a more targeted tool when one is available. This tool is read-only. Large text results may be replaced with a preview while the complete output is retained in managed storage.`;
|
|
40
40
|
var Timeout = Schema.Finite.check(Schema.isGreaterThan(0), Schema.isLessThanOrEqualTo(MAX_TIMEOUT_SECONDS2));
|
|
41
|
-
var
|
|
41
|
+
var Input5 = Schema.Struct({
|
|
42
42
|
url: Schema.String.annotate({ description: "The HTTP or HTTPS URL to fetch content from" }),
|
|
43
43
|
format: Schema.Literals(["text", "markdown", "html"]).annotate({ description: "The format to return the content in. Defaults to markdown." }).pipe(Schema.withDecodingDefaultKey(Effect.succeed("markdown"))),
|
|
44
44
|
timeout: Schema.optionalKey(Timeout).annotate({
|
|
@@ -48,7 +48,7 @@ var Input12 = Schema.Struct({
|
|
|
48
48
|
var Output = Schema.Struct({
|
|
49
49
|
url: Schema.String,
|
|
50
50
|
contentType: Schema.String,
|
|
51
|
-
format:
|
|
51
|
+
format: Input5.fields.format,
|
|
52
52
|
output: Schema.String
|
|
53
53
|
});
|
|
54
54
|
var acceptHeader = (format) => {
|
|
@@ -92,16 +92,16 @@ var convert = (content, contentType, format) => {
|
|
|
92
92
|
return extractTextFromHTML2(content);
|
|
93
93
|
return content;
|
|
94
94
|
};
|
|
95
|
-
var
|
|
95
|
+
var Plugin39 = {
|
|
96
96
|
id: "opencode.tool.webfetch",
|
|
97
97
|
effect: Effect.fn("WebFetchTool.Plugin")(function* (ctx) {
|
|
98
98
|
const http = yield* HttpClient.HttpClient;
|
|
99
|
-
const permission = yield*
|
|
99
|
+
const permission = yield* Service54;
|
|
100
100
|
yield* ctx.tool.transform((editor) => editor.add({
|
|
101
|
-
name:
|
|
101
|
+
name: name5,
|
|
102
102
|
options: { codemode: false },
|
|
103
|
-
description:
|
|
104
|
-
input:
|
|
103
|
+
description: description3,
|
|
104
|
+
input: Input5,
|
|
105
105
|
output: Output,
|
|
106
106
|
execute: (input, context) => Effect.gen(function* () {
|
|
107
107
|
yield* Effect.try({
|
|
@@ -109,7 +109,7 @@ var Plugin28 = {
|
|
|
109
109
|
catch: (error) => error
|
|
110
110
|
});
|
|
111
111
|
yield* permission.assert({
|
|
112
|
-
action:
|
|
112
|
+
action: name5,
|
|
113
113
|
resources: [input.url],
|
|
114
114
|
save: ["*"],
|
|
115
115
|
metadata: input,
|
|
@@ -167,4 +167,4 @@ function extractTextFromHTML2(html) {
|
|
|
167
167
|
parser.end();
|
|
168
168
|
return text.trim();
|
|
169
169
|
}
|
|
170
|
-
export {
|
|
170
|
+
export { name5, MAX_RESPONSE_BYTES3, DEFAULT_TIMEOUT_SECONDS2, MAX_TIMEOUT_SECONDS2, description3, Input5, Plugin39, extractTextFromHTML2, exports_webfetch };
|
|
@@ -2,35 +2,35 @@ import {
|
|
|
2
2
|
ephemeral2,
|
|
3
3
|
Service81,
|
|
4
4
|
node85
|
|
5
|
-
} from "./
|
|
5
|
+
} from "./instance-0r05r6y5.js";
|
|
6
6
|
import {
|
|
7
|
-
|
|
7
|
+
Key3,
|
|
8
8
|
unavailable3,
|
|
9
9
|
removed2,
|
|
10
10
|
make21,
|
|
11
11
|
diffByKey2
|
|
12
|
-
} from "./
|
|
12
|
+
} from "./instance-s8d7rejh.js";
|
|
13
13
|
import {
|
|
14
14
|
AbsolutePath2
|
|
15
|
-
} from "./
|
|
15
|
+
} from "./instance-922hggd3.js";
|
|
16
16
|
import {
|
|
17
17
|
create3
|
|
18
|
-
} from "./
|
|
18
|
+
} from "./instance-rdw6cm16.js";
|
|
19
19
|
import {
|
|
20
20
|
__export
|
|
21
|
-
} from "./
|
|
21
|
+
} from "./instance-9rqn6x4v.js";
|
|
22
22
|
|
|
23
23
|
// src/instruction-discovery.ts
|
|
24
24
|
var exports_instruction_discovery = {};
|
|
25
25
|
__export(exports_instruction_discovery, {
|
|
26
|
-
Event: () =>
|
|
26
|
+
Event: () => Event16,
|
|
27
27
|
File: () => File2,
|
|
28
28
|
InstructionDiscovery: () => exports_instruction_discovery,
|
|
29
29
|
Options: () => Options10,
|
|
30
|
-
Service: () =>
|
|
30
|
+
Service: () => Service73,
|
|
31
31
|
configured: () => configured11,
|
|
32
|
-
layer: () =>
|
|
33
|
-
node: () =>
|
|
32
|
+
layer: () => layer24,
|
|
33
|
+
node: () => node77
|
|
34
34
|
});
|
|
35
35
|
import { Context, Effect, Layer, Schema } from "effect";
|
|
36
36
|
import { makeLocationNode } from "@opencode/util/effect/app-node";
|
|
@@ -41,8 +41,8 @@ class File2 extends Schema.Class("InstructionDiscovery.File")({
|
|
|
41
41
|
}) {
|
|
42
42
|
}
|
|
43
43
|
var Files = Schema.Array(File2);
|
|
44
|
-
var key =
|
|
45
|
-
var
|
|
44
|
+
var key = Key3.make("core/instructions");
|
|
45
|
+
var Event16 = {
|
|
46
46
|
Updated: ephemeral2({ type: "instruction-discovery.updated", schema: {} })
|
|
47
47
|
};
|
|
48
48
|
var Options10 = Schema.Struct({
|
|
@@ -50,9 +50,9 @@ var Options10 = Schema.Struct({
|
|
|
50
50
|
global: Schema.optional(Schema.Boolean)
|
|
51
51
|
});
|
|
52
52
|
|
|
53
|
-
class
|
|
53
|
+
class Service73 extends Context.Service()("@opencode/InstructionDiscovery") {
|
|
54
54
|
}
|
|
55
|
-
var
|
|
55
|
+
var layer24 = (options) => Layer.effect(Service73, Effect.gen(function* () {
|
|
56
56
|
const bus = yield* Service81;
|
|
57
57
|
const state = create3({
|
|
58
58
|
name: "instruction-discovery",
|
|
@@ -72,7 +72,7 @@ var layer25 = (options) => Layer.effect(Service75, Effect.gen(function* () {
|
|
|
72
72
|
editor.available = false;
|
|
73
73
|
}
|
|
74
74
|
}),
|
|
75
|
-
notify: () => bus.publish(
|
|
75
|
+
notify: () => bus.publish(Event16.Updated, {}).pipe(Effect.asVoid)
|
|
76
76
|
});
|
|
77
77
|
const source = (value) => make21({
|
|
78
78
|
key,
|
|
@@ -90,7 +90,7 @@ var layer25 = (options) => Layer.effect(Service75, Effect.gen(function* () {
|
|
|
90
90
|
return unavailable3;
|
|
91
91
|
return Array.from(current.files.values());
|
|
92
92
|
});
|
|
93
|
-
return
|
|
93
|
+
return Service73.of({
|
|
94
94
|
project: options?.project !== false,
|
|
95
95
|
global: options?.global !== false,
|
|
96
96
|
transform: state.transform,
|
|
@@ -106,12 +106,12 @@ var layer25 = (options) => Layer.effect(Service75, Effect.gen(function* () {
|
|
|
106
106
|
}));
|
|
107
107
|
function configured11(options) {
|
|
108
108
|
return makeLocationNode({
|
|
109
|
-
service:
|
|
110
|
-
layer:
|
|
109
|
+
service: Service73,
|
|
110
|
+
layer: layer24(options),
|
|
111
111
|
deps: [node85]
|
|
112
112
|
});
|
|
113
113
|
}
|
|
114
|
-
var
|
|
114
|
+
var node77 = configured11();
|
|
115
115
|
function render(files) {
|
|
116
116
|
return files.map((file) => `Instructions from: ${file.path}
|
|
117
117
|
${file.content}`).join(`
|
|
@@ -142,4 +142,4 @@ ${render([after])}`;
|
|
|
142
142
|
`);
|
|
143
143
|
}
|
|
144
144
|
|
|
145
|
-
export { File2,
|
|
145
|
+
export { File2, Event16, Options10, Service73, layer24, configured11, node77, exports_instruction_discovery };
|
|
@@ -1,18 +1,18 @@
|
|
|
1
1
|
import {
|
|
2
|
-
|
|
3
|
-
} from "./
|
|
2
|
+
Service42
|
|
3
|
+
} from "./instance-sxzvkvgj.js";
|
|
4
4
|
import {
|
|
5
5
|
awaitActivation2
|
|
6
|
-
} from "./
|
|
6
|
+
} from "./instance-rap9a73h.js";
|
|
7
7
|
import {
|
|
8
8
|
SkillNotFoundError2
|
|
9
|
-
} from "./
|
|
9
|
+
} from "./instance-f1zbxv7x.js";
|
|
10
10
|
import {
|
|
11
|
-
|
|
12
|
-
} from "./
|
|
11
|
+
Service46
|
|
12
|
+
} from "./instance-9vb206v5.js";
|
|
13
13
|
import {
|
|
14
14
|
__export
|
|
15
|
-
} from "./
|
|
15
|
+
} from "./instance-9rqn6x4v.js";
|
|
16
16
|
|
|
17
17
|
// src/session/skill.ts
|
|
18
18
|
var exports_skill4 = {};
|
|
@@ -22,8 +22,8 @@ __export(exports_skill4, {
|
|
|
22
22
|
});
|
|
23
23
|
import { Effect } from "effect";
|
|
24
24
|
var get4 = Effect.fn("SessionSkill.get")(function* (input) {
|
|
25
|
-
const instances = yield*
|
|
26
|
-
const skills = yield* awaitActivation2.pipe(Effect.andThen(
|
|
25
|
+
const instances = yield* Service42;
|
|
26
|
+
const skills = yield* awaitActivation2.pipe(Effect.andThen(Service46), instances.provide(input.session));
|
|
27
27
|
const skill = yield* skills.get(input.skill);
|
|
28
28
|
if (!skill)
|
|
29
29
|
return yield* new SkillNotFoundError2({ skill: input.skill });
|
|
@@ -1,16 +1,16 @@
|
|
|
1
1
|
import {
|
|
2
2
|
PositiveInt2
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./instance-922hggd3.js";
|
|
4
4
|
import {
|
|
5
5
|
__export
|
|
6
|
-
} from "./
|
|
6
|
+
} from "./instance-9rqn6x4v.js";
|
|
7
7
|
|
|
8
8
|
// src/v1/config/attachment.ts
|
|
9
9
|
var exports_attachment = {};
|
|
10
10
|
__export(exports_attachment, {
|
|
11
11
|
ConfigAttachmentV1: () => exports_attachment,
|
|
12
12
|
Image: () => Image2,
|
|
13
|
-
Info: () =>
|
|
13
|
+
Info: () => Info18
|
|
14
14
|
});
|
|
15
15
|
import { Schema } from "effect";
|
|
16
16
|
var Image2 = Schema.Struct({
|
|
@@ -27,8 +27,8 @@ var Image2 = Schema.Struct({
|
|
|
27
27
|
description: "Maximum base64 payload bytes for an image attachment (default: 5242880)"
|
|
28
28
|
})
|
|
29
29
|
}).annotate({ identifier: "ImageAttachmentConfig" });
|
|
30
|
-
var
|
|
30
|
+
var Info18 = Schema.Struct({
|
|
31
31
|
image: Schema.optional(Image2).annotate({ description: "Image attachment configuration" })
|
|
32
32
|
}).annotate({ identifier: "AttachmentConfig" });
|
|
33
33
|
|
|
34
|
-
export { Image2,
|
|
34
|
+
export { Image2, Info18, exports_attachment };
|