@opencode/core 0.0.0-dev-19710 → 0.0.0-dev-19712
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/{integration-s8d7rejh.js → workspace-02nrjc1r.js} +8 -8
- package/dist/chunks/{integration-zee1rnkq.js → workspace-06x8he3q.js} +4 -4
- package/dist/chunks/{integration-5tabw72p.js → workspace-070h25cf.js} +4 -4
- package/dist/chunks/{integration-036p5t1s.js → workspace-0en0hh3r.js} +4 -4
- package/dist/chunks/{integration-c3cy3464.js → workspace-0g5heksx.js} +17 -17
- package/dist/chunks/{integration-jkfbzspm.js → workspace-0m8nsvy9.js} +6 -6
- package/dist/chunks/{integration-1g783q47.js → workspace-0n5xhwej.js} +12 -12
- package/dist/chunks/{integration-0paq2nw3.js → workspace-0paq2nw3.js} +1 -1
- package/dist/chunks/{integration-0q0f95c6.js → workspace-0q0f95c6.js} +1 -1
- package/dist/chunks/{integration-ze3my9xb.js → workspace-0wvc14eb.js} +7 -7
- package/dist/chunks/{integration-eq20eqwv.js → workspace-14cf3fnc.js} +9 -9
- package/dist/chunks/{integration-gj2gcseg.js → workspace-15wnrfbn.js} +10 -10
- package/dist/chunks/{integration-0sh1nr9y.js → workspace-1d660grq.js} +4 -4
- package/dist/chunks/{integration-1dazxqgg.js → workspace-1dazxqgg.js} +2 -2
- package/dist/chunks/{integration-0zjhxtck.js → workspace-1k3mj0p1.js} +8 -8
- package/dist/chunks/{integration-y12ar3nc.js → workspace-1mcxz0h7.js} +9 -9
- package/dist/chunks/{integration-em6yeas4.js → workspace-1r92jezb.js} +8 -8
- package/dist/chunks/{integration-59zmnph4.js → workspace-1znvsqnm.js} +11 -11
- package/dist/chunks/{integration-21r38tys.js → workspace-21r38tys.js} +1 -1
- package/dist/chunks/{integration-2a5m3afh.js → workspace-2a5m3afh.js} +1 -1
- package/dist/chunks/{integration-9k3sg66h.js → workspace-2ah6qvjc.js} +32 -32
- package/dist/chunks/{integration-a79cn4dv.js → workspace-2dc5062z.js} +22 -22
- package/dist/chunks/{integration-bbcx7f9q.js → workspace-2dza1j1w.js} +24 -24
- package/dist/chunks/{integration-7wmyjdq5.js → workspace-2e42xx7p.js} +9 -9
- package/dist/chunks/{integration-rc200j0g.js → workspace-2kt8pm2x.js} +11 -11
- package/dist/chunks/{integration-rey5gbxv.js → workspace-2mq1h16s.js} +9 -9
- package/dist/chunks/{integration-npfcha2j.js → workspace-2qdm0n6q.js} +8 -8
- package/dist/chunks/{integration-cvbhgv12.js → workspace-2rbdxa0z.js} +28 -28
- package/dist/chunks/{integration-mvdf8d0b.js → workspace-2v8jpvwj.js} +23 -23
- package/dist/chunks/{integration-csec10jd.js → workspace-2yz7af4v.js} +17 -17
- package/dist/chunks/{integration-pp90atm6.js → workspace-2zh1a5wq.js} +31 -31
- package/dist/chunks/{integration-0tmgye68.js → workspace-2zmfhp2c.js} +9 -9
- package/dist/chunks/{integration-dyvybp4g.js → workspace-31p7sczw.js} +9 -9
- package/dist/chunks/{integration-bvntf8rg.js → workspace-364vn791.js} +24 -24
- package/dist/chunks/{integration-3fc6dm20.js → workspace-3fc6dm20.js} +1 -1
- package/dist/chunks/{integration-e9fp0pfc.js → workspace-3h3k20v7.js} +12 -12
- package/dist/chunks/{integration-3hepkmqq.js → workspace-3hepkmqq.js} +1 -1
- package/dist/chunks/{integration-3smtnn6g.js → workspace-3smtnn6g.js} +1 -1
- package/dist/chunks/{integration-r3490575.js → workspace-3svq1avg.js} +23 -23
- package/dist/chunks/{integration-fkjmw100.js → workspace-3tq5qxbk.js} +4 -4
- package/dist/chunks/{integration-3tvqynh2.js → workspace-3tvqynh2.js} +1 -1
- package/dist/chunks/{integration-p9gzpnzn.js → workspace-3v699w7n.js} +16 -16
- package/dist/chunks/{integration-z04d3x8e.js → workspace-3wwm29st.js} +4 -4
- package/dist/chunks/{integration-gnvk75y5.js → workspace-43gyje3p.js} +22 -22
- package/dist/chunks/{integration-hq1qm27k.js → workspace-45svxemn.js} +32 -32
- package/dist/chunks/{integration-4w5f3qm5.js → workspace-4a0nv7mx.js} +8 -8
- package/dist/chunks/{integration-qz3twj3m.js → workspace-4mz2zdwc.js} +8 -8
- package/dist/chunks/{integration-4nyxymxc.js → workspace-4n6r91ab.js} +10 -10
- package/dist/chunks/{integration-aqex15s7.js → workspace-4y89hhmv.js} +14 -14
- package/dist/chunks/{integration-y8pjebad.js → workspace-55f5rt6f.js} +13 -13
- package/dist/chunks/{integration-drwq78ky.js → workspace-57b9ws8p.js} +5 -5
- package/dist/chunks/{integration-aamtrqep.js → workspace-57ez7d0k.js} +9 -9
- package/dist/chunks/{integration-5daktx2q.js → workspace-5daktx2q.js} +1 -1
- package/dist/chunks/{integration-0z6w7vfv.js → workspace-5f90fjb2.js} +12 -12
- package/dist/chunks/{integration-5vewfdfe.js → workspace-5g1v3qsj.js} +26 -26
- package/dist/chunks/{integration-8bqxprts.js → workspace-5h3g3jk3.js} +32 -32
- package/dist/chunks/{integration-kadzdddt.js → workspace-5mqe3xfr.js} +4 -4
- package/dist/chunks/{integration-wwgzd70h.js → workspace-5p5af7k1.js} +15 -15
- package/dist/chunks/{integration-nkqjxf7y.js → workspace-5pgkqyjt.js} +22 -22
- package/dist/chunks/{integration-5t3nmthw.js → workspace-5t3nmthw.js} +2 -2
- package/dist/chunks/{integration-3j12nn08.js → workspace-5xxye2p9.js} +32 -32
- package/dist/chunks/{integration-bd2xdacg.js → workspace-5ytc8238.js} +6 -6
- package/dist/chunks/{integration-2k8khapm.js → workspace-607tc6va.js} +5 -5
- package/dist/chunks/{integration-669tq793.js → workspace-669tq793.js} +1 -1
- package/dist/chunks/{integration-znsgg7xb.js → workspace-67158q71.js} +10 -10
- package/dist/chunks/{integration-3nd13y92.js → workspace-6914g88p.js} +4 -4
- package/dist/chunks/{integration-2402vzrj.js → workspace-6h73sxmp.js} +5 -5
- package/dist/chunks/{integration-6msgmcgs.js → workspace-6msgmcgs.js} +1 -1
- package/dist/chunks/{integration-bepjw9yn.js → workspace-6qeeyg7h.js} +10 -10
- package/dist/chunks/workspace-6r3amyyd.js +4 -0
- package/dist/chunks/workspace-6tpa31mz.js +252 -0
- package/dist/chunks/{integration-5nz6ax1n.js → workspace-6v2wypzw.js} +20 -20
- package/dist/chunks/{integration-0wf2tqk0.js → workspace-784vxkkx.js} +27 -27
- package/dist/chunks/{integration-38dcbtyf.js → workspace-7a5vsxyh.js} +7 -7
- package/dist/chunks/{integration-7bmhse3q.js → workspace-7bmhse3q.js} +1 -1
- package/dist/chunks/{integration-r5vp9y24.js → workspace-7c2hbp5a.js} +5 -5
- package/dist/chunks/{integration-3daac4ec.js → workspace-7d6njqxm.js} +8 -8
- package/dist/chunks/{integration-8m62krp8.js → workspace-7gxvsr6g.js} +32 -32
- package/dist/chunks/{integration-z4bwa3qe.js → workspace-7hpp833z.js} +8 -8
- package/dist/chunks/{integration-nrcejn5p.js → workspace-7q2jmvad.js} +52 -52
- package/dist/chunks/{integration-8p3jdhrw.js → workspace-7qat4nj7.js} +15 -15
- package/dist/chunks/{integration-mm8erg11.js → workspace-7rbsm7e1.js} +7 -7
- package/dist/chunks/{integration-zq6stcrg.js → workspace-7tpxex51.js} +8 -8
- package/dist/chunks/{integration-7atgh4d8.js → workspace-82qyyjsz.js} +20 -20
- package/dist/chunks/{integration-73w3apwg.js → workspace-83y1wrms.js} +21 -21
- package/dist/chunks/{integration-89znhe33.js → workspace-89znhe33.js} +1 -1
- package/dist/chunks/{integration-00x4qneg.js → workspace-8aaqm6qj.js} +4 -4
- package/dist/chunks/{integration-h0g5brtk.js → workspace-8avk9g0x.js} +20 -20
- package/dist/chunks/{integration-8d7r5vzw.js → workspace-8d7r5vzw.js} +1 -1
- package/dist/chunks/{integration-1grerm3k.js → workspace-8kdf092n.js} +3 -3
- package/dist/chunks/{integration-nwk86703.js → workspace-8kwg9t8a.js} +40 -40
- package/dist/chunks/{integration-7gmh2wfv.js → workspace-8njx4hgd.js} +41 -41
- package/dist/chunks/{integration-8p4f9s12.js → workspace-8p4f9s12.js} +2 -2
- package/dist/chunks/{integration-8jg8ek5x.js → workspace-8rxwgq24.js} +17 -17
- package/dist/chunks/{integration-j5f9ftm1.js → workspace-8y1wr0s4.js} +5 -5
- package/dist/chunks/{integration-s1vqdbhv.js → workspace-8yh5cssx.js} +36 -36
- package/dist/chunks/{integration-ngw33wy2.js → workspace-9n3na3w3.js} +4 -4
- package/dist/chunks/workspace-9sh4wc5j.js +18 -0
- package/dist/chunks/{integration-a1bz86dw.js → workspace-a1bz86dw.js} +3 -3
- package/dist/chunks/{integration-6fv08nd3.js → workspace-a2p8e6yv.js} +52 -52
- package/dist/chunks/{integration-1mvse44m.js → workspace-a2q56496.js} +5 -5
- package/dist/chunks/{integration-kp8q1t60.js → workspace-a3ftg8j6.js} +9 -9
- package/dist/chunks/{integration-aaet6srn.js → workspace-aaet6srn.js} +2 -2
- package/dist/chunks/{integration-fz7v89dg.js → workspace-abmd04e3.js} +11 -11
- package/dist/chunks/{integration-pcbvmd8f.js → workspace-abmhzdjp.js} +10 -10
- package/dist/chunks/{integration-fa5vrs7t.js → workspace-anabj4qm.js} +31 -31
- package/dist/chunks/{integration-yd22jjp7.js → workspace-aspy8tkd.js} +23 -23
- package/dist/chunks/{integration-6efrd1bz.js → workspace-atxzwzv8.js} +11 -11
- package/dist/chunks/{integration-fy8e00qg.js → workspace-aw9te8tx.js} +18 -18
- package/dist/chunks/{integration-rjs4w6st.js → workspace-az8ma4bw.js} +16 -16
- package/dist/chunks/{integration-b6gygkdw.js → workspace-b6gygkdw.js} +2 -2
- package/dist/chunks/{integration-tdk79w0v.js → workspace-bepbvaar.js} +5 -5
- package/dist/chunks/{integration-sb9nptgk.js → workspace-bga0vpdy.js} +40 -40
- package/dist/chunks/{integration-wqg02fh2.js → workspace-bs70j26f.js} +10 -10
- package/dist/chunks/{integration-g190xswt.js → workspace-cavr175a.js} +4 -4
- package/dist/chunks/{integration-wq70x3f2.js → workspace-ce1w4ye0.js} +11 -11
- package/dist/chunks/{integration-cfpkc3c9.js → workspace-cfpkc3c9.js} +2 -2
- package/dist/chunks/{integration-h6r3nrb9.js → workspace-cpj0znwe.js} +4 -4
- package/dist/chunks/{integration-rp8jz6x1.js → workspace-cqg8v4c7.js} +6 -6
- package/dist/chunks/{integration-hj7a6ch5.js → workspace-cz6dvqaq.js} +15 -15
- package/dist/chunks/{integration-h3a5bynx.js → workspace-d8h2c2mg.js} +70 -70
- package/dist/chunks/{integration-evbgk2k8.js → workspace-dj9sq318.js} +5 -5
- package/dist/chunks/{integration-jexxy024.js → workspace-dm1py9b3.js} +3 -3
- package/dist/chunks/{integration-khdb1k9v.js → workspace-e0059k45.js} +3 -3
- package/dist/chunks/{integration-20sd5k6h.js → workspace-e0cdamqp.js} +17 -17
- package/dist/chunks/{integration-2ehxpneg.js → workspace-e27kb02c.js} +12 -12
- package/dist/chunks/workspace-e34x0z4m.js +26 -0
- package/dist/chunks/{integration-vff0mh3b.js → workspace-e75t6m7m.js} +6 -6
- package/dist/chunks/{integration-ef5x83kb.js → workspace-ef5x83kb.js} +1 -1
- package/dist/chunks/{integration-e07jsa65.js → workspace-ejeg4hfb.js} +15 -15
- package/dist/chunks/{integration-etq0c3wd.js → workspace-etq0c3wd.js} +1 -1
- package/dist/chunks/{integration-beb887a4.js → workspace-ewxdb5ec.js} +8 -8
- package/dist/chunks/{integration-rtfv33p7.js → workspace-ezrmvp0h.js} +25 -25
- package/dist/chunks/{integration-g417z324.js → workspace-f49av6tv.js} +26 -26
- package/dist/chunks/{integration-1rq7khgm.js → workspace-f5pcmyht.js} +5 -5
- package/dist/chunks/{integration-gk9qjeyz.js → workspace-f7ap9x8s.js} +6 -6
- package/dist/chunks/{integration-f828m53h.js → workspace-f828m53h.js} +2 -2
- package/dist/chunks/{integration-818pfwc9.js → workspace-fad6j005.js} +8 -8
- package/dist/chunks/{integration-vhr1vhg9.js → workspace-fvatnzky.js} +23 -23
- package/dist/chunks/{integration-fxbjtjnd.js → workspace-fxbjtjnd.js} +1 -1
- package/dist/chunks/{integration-hfdr1yjj.js → workspace-fxqygnfa.js} +4 -4
- package/dist/chunks/{integration-svf3t0g9.js → workspace-g1rm5mqm.js} +27 -27
- package/dist/chunks/{integration-a3r4dcrj.js → workspace-g84cjvn9.js} +2 -2
- package/dist/chunks/{integration-gd4qta3r.js → workspace-gd4qta3r.js} +1 -1
- package/dist/chunks/{integration-jvcsw0eb.js → workspace-ghbw8nrm.js} +11 -11
- package/dist/chunks/{integration-jqgpz7cn.js → workspace-gmbmgzgz.js} +30 -30
- package/dist/chunks/{integration-9n16tggd.js → workspace-gqyh02e0.js} +14 -14
- package/dist/chunks/{integration-hy0bh2cv.js → workspace-gv4qw5nk.js} +39 -39
- package/dist/chunks/{integration-gv6a8nnw.js → workspace-gv6a8nnw.js} +2 -2
- package/dist/chunks/{integration-97p40ssa.js → workspace-gyxj72yr.js} +9 -9
- package/dist/chunks/{integration-h03wrkyp.js → workspace-h03wrkyp.js} +2 -2
- package/dist/chunks/{integration-h6vf3j39.js → workspace-h6vf3j39.js} +1 -1
- package/dist/chunks/{integration-0ejpa9z4.js → workspace-hab99yty.js} +25 -25
- package/dist/chunks/{integration-7rce4ag1.js → workspace-hf1pa3fg.js} +11 -11
- package/dist/chunks/{integration-zhq6vg7a.js → workspace-hqmr0w3b.js} +1 -1
- package/dist/chunks/{integration-5e30vc75.js → workspace-hs38nzf0.js} +24 -24
- package/dist/chunks/{integration-s4rfjbhr.js → workspace-hw0pyphf.js} +28 -28
- package/dist/chunks/{integration-m9wy7qrr.js → workspace-j5208yae.js} +6 -6
- package/dist/chunks/{integration-j56e64zr.js → workspace-j56e64zr.js} +1 -1
- package/dist/chunks/{integration-e0zdfgpc.js → workspace-jas3gm5e.js} +11 -11
- package/dist/chunks/{integration-3pe7sts8.js → workspace-jjs74g98.js} +9 -9
- package/dist/chunks/{integration-k3gnzxs0.js → workspace-jppvw2tx.js} +5 -5
- package/dist/chunks/{integration-qn4ba14w.js → workspace-jv01nqvq.js} +5 -5
- package/dist/chunks/{integration-ypb6hbzx.js → workspace-k2yp9qs6.js} +9 -9
- package/dist/chunks/{integration-k3c624dm.js → workspace-k3c624dm.js} +3 -3
- package/dist/chunks/{integration-mnv40ja6.js → workspace-k80qa8mn.js} +20 -20
- package/dist/chunks/{integration-hn951e2s.js → workspace-keyazff4.js} +15 -15
- package/dist/chunks/{integration-vv290ek6.js → workspace-kf9njbrh.js} +21 -21
- package/dist/chunks/{integration-yxvydm2y.js → workspace-kgrkrx7v.js} +13 -13
- package/dist/chunks/{integration-wej2e5j2.js → workspace-kkjsk8e7.js} +22 -22
- package/dist/chunks/{integration-0v7gp0te.js → workspace-km90xjj6.js} +184 -184
- package/dist/chunks/{integration-pbtfs0fk.js → workspace-kxpywdsa.js} +44 -44
- package/dist/chunks/{integration-z8z657gb.js → workspace-kxynz1ng.js} +12 -12
- package/dist/chunks/{integration-m3fdjcah.js → workspace-m3fdjcah.js} +1 -1
- package/dist/chunks/{integration-jyap2m5y.js → workspace-m8gayzza.js} +5 -5
- package/dist/chunks/{integration-m9w0rfyh.js → workspace-m9w0rfyh.js} +1 -1
- package/dist/chunks/{integration-ywe2m5gj.js → workspace-mdf4a9kz.js} +4 -4
- package/dist/chunks/{integration-mfqp6xfm.js → workspace-mfqp6xfm.js} +2 -2
- package/dist/chunks/{integration-pc872h1m.js → workspace-mh5wyt4r.js} +22 -22
- package/dist/chunks/{integration-s6kmca70.js → workspace-msdd669r.js} +17 -17
- package/dist/chunks/{integration-mvfsc1pv.js → workspace-mvfsc1pv.js} +1 -1
- package/dist/chunks/{integration-ybhbtxjg.js → workspace-mvwxevy0.js} +6 -6
- package/dist/chunks/{integration-qmf9b8yn.js → workspace-n65c7js6.js} +30 -30
- package/dist/chunks/{integration-b5p2j6p0.js → workspace-n6g1ey08.js} +87 -87
- package/dist/chunks/{integration-5vr8b22m.js → workspace-n8cj6j4g.js} +12 -12
- package/dist/chunks/{integration-ys3hhbzx.js → workspace-n93hngsq.js} +15 -15
- package/dist/chunks/{integration-p44z6ga6.js → workspace-nfhdg2sc.js} +4 -4
- package/dist/chunks/{integration-ykzpy18q.js → workspace-nv5c50a2.js} +13 -13
- package/dist/chunks/{integration-wp6sy7k7.js → workspace-nwkmrxqa.js} +15 -15
- package/dist/chunks/{integration-65j9yajg.js → workspace-nxz4hexq.js} +47 -47
- package/dist/chunks/{integration-eys57y9b.js → workspace-p42hj8p8.js} +8 -8
- package/dist/chunks/{integration-1dq8jzyn.js → workspace-p4776vvd.js} +2 -2
- package/dist/chunks/{integration-zfs2vqh8.js → workspace-pb8ac6tt.js} +17 -17
- package/dist/chunks/{integration-5b66h8r4.js → workspace-pjpcywhx.js} +15 -15
- package/dist/chunks/{integration-pjvnvgmy.js → workspace-pjvnvgmy.js} +1 -1
- package/dist/chunks/{integration-pknna89w.js → workspace-pknna89w.js} +1 -1
- package/dist/chunks/{integration-q2jz15ea.js → workspace-pkt9pf4t.js} +45 -45
- package/dist/chunks/{integration-9njw1pbg.js → workspace-pnh9m502.js} +19 -19
- package/dist/chunks/{integration-ts1a4cmw.js → workspace-q1ktvany.js} +13 -13
- package/dist/chunks/{integration-gqe03ern.js → workspace-q1rhxq0z.js} +38 -38
- package/dist/chunks/{integration-2tb6fqrv.js → workspace-q8sgk7j7.js} +13 -13
- package/dist/chunks/{integration-bvapxesr.js → workspace-qdyw34ax.js} +6 -6
- package/dist/chunks/{integration-3mdxeew8.js → workspace-qgrbwkje.js} +37 -37
- package/dist/chunks/{integration-58rmb8nn.js → workspace-qhbx089k.js} +10 -10
- package/dist/chunks/{integration-qsdy395h.js → workspace-qsdy395h.js} +1 -1
- package/dist/chunks/{integration-177enxgr.js → workspace-qwtbnqst.js} +30 -30
- package/dist/chunks/{integration-ejn9vktr.js → workspace-qzb1h3va.js} +16 -16
- package/dist/chunks/{integration-wz5tj16h.js → workspace-r4yqrmdq.js} +5 -5
- package/dist/chunks/{integration-qa3qhgw8.js → workspace-ratrq7cm.js} +4 -4
- package/dist/chunks/{integration-rdw6cm16.js → workspace-rdw6cm16.js} +1 -1
- package/dist/chunks/{integration-dbvre6p0.js → workspace-rehwyskh.js} +1 -1
- package/dist/chunks/{integration-mn7g0fj4.js → workspace-rxw762xc.js} +22 -22
- package/dist/chunks/{integration-b0nxs32q.js → workspace-rxwv643q.js} +8 -8
- package/dist/chunks/{integration-5d5383gp.js → workspace-s0hza5ac.js} +4 -4
- package/dist/chunks/{integration-5y8n8k4h.js → workspace-s111zjc4.js} +5 -5
- package/dist/chunks/{integration-k1gvekgg.js → workspace-s3mnyrbp.js} +28 -28
- package/dist/chunks/{integration-07afz3z6.js → workspace-s59jct75.js} +3 -3
- package/dist/chunks/{integration-wdk8b0jw.js → workspace-s7d4mcxb.js} +15 -15
- package/dist/chunks/{integration-n34s70pn.js → workspace-schwyem7.js} +11 -11
- package/dist/chunks/{integration-7fyhb82m.js → workspace-sp7zepf2.js} +8 -8
- package/dist/chunks/{integration-31mppqh5.js → workspace-ssb81s63.js} +18 -18
- package/dist/chunks/{integration-231knzcm.js → workspace-strbydbj.js} +30 -30
- package/dist/chunks/{integration-50635kd6.js → workspace-svn6bqj8.js} +12 -12
- package/dist/chunks/{integration-m0p0vxaq.js → workspace-sxy19tb0.js} +17 -17
- package/dist/chunks/{integration-bw9zjykr.js → workspace-sxzvkvgj.js} +6 -6
- package/dist/chunks/{integration-jjx8nex0.js → workspace-sz6xpjfh.js} +24 -24
- package/dist/chunks/{integration-bpbjfb9b.js → workspace-t03xfk5d.js} +9 -9
- package/dist/chunks/{integration-m9dbm90w.js → workspace-t32902ds.js} +26 -26
- package/dist/chunks/{integration-xcq5wtpt.js → workspace-t4m3fhjr.js} +26 -26
- package/dist/chunks/{integration-g5vga603.js → workspace-t8vry4vd.js} +14 -14
- package/dist/chunks/{integration-tazgh4e4.js → workspace-tazgh4e4.js} +1 -1
- package/dist/chunks/{integration-tdstcens.js → workspace-tdstcens.js} +1 -1
- package/dist/chunks/{integration-a6z4j4k6.js → workspace-tsg4fdf4.js} +12 -12
- package/dist/chunks/{integration-tvtrv512.js → workspace-tvtrv512.js} +1 -1
- package/dist/chunks/{integration-z9cechv3.js → workspace-tvv0avb7.js} +20 -20
- package/dist/chunks/{integration-1gsc2sjq.js → workspace-vctwf4mg.js} +30 -30
- package/dist/chunks/{integration-veqvce7d.js → workspace-veqvce7d.js} +1 -1
- package/dist/chunks/{integration-wbx2513r.js → workspace-vhmsv5f2.js} +18 -18
- package/dist/chunks/{integration-5c0f1prt.js → workspace-vj81g6vn.js} +4 -4
- package/dist/chunks/{integration-dfe8djrf.js → workspace-vncycja5.js} +4 -4
- package/dist/chunks/{integration-43bw3pmb.js → workspace-vs9zw531.js} +20 -20
- package/dist/chunks/{integration-bda137kz.js → workspace-vxrq6xqk.js} +1 -1
- package/dist/chunks/{integration-86me6zzc.js → workspace-vyq4cd8m.js} +35 -35
- package/dist/chunks/{integration-4q64j22s.js → workspace-vys1b9hh.js} +18 -18
- package/dist/chunks/{integration-vzcthcp8.js → workspace-vzcthcp8.js} +1 -1
- package/dist/chunks/{integration-4evxzfd7.js → workspace-w1ym5bz3.js} +83 -83
- package/dist/chunks/{integration-vte0rfzv.js → workspace-w2yh7emw.js} +41 -41
- package/dist/chunks/{integration-w3wsvvr9.js → workspace-w3wsvvr9.js} +1 -1
- package/dist/chunks/{integration-m5vjhj8j.js → workspace-w7nphhe6.js} +3 -3
- package/dist/chunks/{integration-pz7qgrhk.js → workspace-wb87t0xn.js} +11 -11
- package/dist/chunks/{integration-wd87259q.js → workspace-wd87259q.js} +1 -1
- package/dist/chunks/{integration-6kqbn47c.js → workspace-wh42m2fm.js} +11 -11
- package/dist/chunks/{integration-5bgttvnk.js → workspace-wh4msmjz.js} +3 -3
- package/dist/chunks/{integration-ad16xee0.js → workspace-wk16t4w5.js} +43 -43
- package/dist/chunks/{integration-zhepfts0.js → workspace-wwzs2tx9.js} +10 -10
- package/dist/chunks/{integration-x1ezjp6w.js → workspace-x1ezjp6w.js} +1 -1
- package/dist/chunks/{integration-68tc3g1n.js → workspace-x2mza7yn.js} +42 -42
- package/dist/chunks/{integration-tsj15wq9.js → workspace-xdmdpdp3.js} +19 -19
- package/dist/chunks/{integration-y1fvbwt7.js → workspace-y1fvbwt7.js} +1 -1
- package/dist/chunks/{integration-k6me36ee.js → workspace-y1tbpqn7.js} +32 -32
- package/dist/chunks/{integration-zxahscqd.js → workspace-y6bk66mf.js} +5 -5
- package/dist/chunks/{integration-80scg3y3.js → workspace-y6mhz57t.js} +4 -4
- package/dist/chunks/{integration-y71avatq.js → workspace-y71avatq.js} +1 -1
- package/dist/chunks/{integration-repb58am.js → workspace-y8p3zjbc.js} +6 -6
- package/dist/chunks/{integration-vfwezysy.js → workspace-yebk0wcz.js} +3 -3
- package/dist/chunks/workspace-yjeheqpk.js +478 -0
- package/dist/chunks/{integration-r8xr0va3.js → workspace-yp2x3t23.js} +4 -4
- package/dist/chunks/{integration-yrhqyw5v.js → workspace-yrhqyw5v.js} +1 -1
- package/dist/chunks/{integration-yrznvahk.js → workspace-yrznvahk.js} +2 -2
- package/dist/chunks/{integration-d2aac7k2.js → workspace-yt0fqk68.js} +5 -5
- package/dist/chunks/{integration-z0bkrqjs.js → workspace-z0bkrqjs.js} +1 -1
- package/dist/chunks/{integration-hk4abz9t.js → workspace-z3g3b9h9.js} +20 -20
- package/dist/chunks/{integration-z63w68vq.js → workspace-z63w68vq.js} +2 -2
- package/dist/chunks/{integration-zeh9ct20.js → workspace-zeh9ct20.js} +2 -2
- package/dist/chunks/{integration-wzntpgpt.js → workspace-zevtesy5.js} +42 -42
- package/dist/chunks/{integration-mpbpxyqm.js → workspace-zgh6wq4w.js} +23 -23
- package/dist/chunks/{integration-k6wrbde1.js → workspace-zqthbwvw.js} +23 -23
- package/dist/chunks/{integration-zr2ceqn5.js → workspace-zr2ceqn5.js} +1 -1
- package/dist/chunks/{integration-gb08tagh.js → workspace-zv3r6m93.js} +8 -8
- package/dist/chunks/{integration-zxq2ej10.js → workspace-zxq2ej10.js} +1 -1
- package/dist/chunks/{integration-3pm9bks8.js → workspace-zzqe82vy.js} +3 -3
- package/dist/codemode/catalog.js +1 -1
- package/dist/codemode/instructions.js +11 -11
- package/dist/codemode/tool.js +3 -3
- package/dist/codemode/web.js +1 -1
- 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 +122 -122
- package/dist/config/plugin/command.js +211 -211
- package/dist/config/plugin/compaction.js +159 -159
- package/dist/config/plugin/compatibility.js +138 -138
- 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 +122 -122
- package/dist/config/plugin/mcp.js +129 -129
- 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 +141 -141
- package/dist/config/plugin/snapshot.js +120 -120
- package/dist/config/plugin/source.js +125 -125
- package/dist/config/plugin/tool-output.js +122 -122
- 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 +125 -125
- package/dist/credential/sql.js +2 -2
- package/dist/credential.js +84 -84
- 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 +366 -366
- 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 +224 -224
- package/dist/filesystem/protected.js +1 -1
- package/dist/filesystem/search.js +102 -102
- package/dist/filesystem/watcher-binding.js +1 -1
- package/dist/filesystem/watcher.js +13 -13
- package/dist/filesystem.js +103 -103
- package/dist/form.js +83 -83
- package/dist/formatter/builtins.js +2 -2
- package/dist/formatter.js +86 -86
- package/dist/generate.js +98 -98
- 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 +98 -98
- 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 +357 -357
- package/dist/instruction-discovery.js +84 -84
- package/dist/instructions/builtins.js +86 -86
- package/dist/instructions/index.js +5 -5
- package/dist/integration/connection.js +3 -3
- package/dist/integration.js +87 -87
- package/dist/job.js +78 -78
- package/dist/kv/sql.js +2 -2
- package/dist/kv.js +72 -72
- package/dist/location-activity.js +131 -131
- 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 +354 -354
- package/dist/location.js +88 -88
- package/dist/mcp/client.js +90 -90
- package/dist/mcp/index.js +101 -101
- package/dist/mcp/instructions.js +125 -125
- 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 +98 -98
- package/dist/model-resolver.js +97 -97
- package/dist/model.js +101 -101
- 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 +110 -110
- package/dist/persistent-pty/binary.bun.js +1 -1
- package/dist/persistent-pty/daemon.js +1 -1
- package/dist/persistent-pty/index.js +85 -85
- package/dist/persistent-pty/pty-binding.js +1 -1
- package/dist/persistent-pty.js +74 -74
- package/dist/plugin/agent.js +101 -101
- package/dist/plugin/command.js +98 -98
- 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 +5 -5
- package/dist/plugin/internal.js +328 -328
- 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 +121 -121
- 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 +138 -138
- package/dist/plugin/source-directory.js +1 -1
- package/dist/plugin/supervisor.js +347 -347
- 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 +8 -8
- package/dist/plugin/websearch/index.js +9 -9
- package/dist/plugin/websearch/mcp.js +2 -2
- 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 +222 -222
- package/dist/project/schema.js +8 -8
- package/dist/project/sql.js +4 -4
- package/dist/project.js +89 -89
- package/dist/provider.js +100 -100
- 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 +88 -88
- package/dist/repository-cache.js +80 -80
- package/dist/repository.js +3 -3
- package/dist/ripgrep/binary.js +2 -2
- package/dist/ripgrep.js +94 -94
- package/dist/rpc.js +85 -85
- package/dist/schema.js +1 -1
- package/dist/session/command.js +73 -73
- package/dist/session/compaction.js +131 -131
- package/dist/session/context.js +151 -151
- package/dist/session/diff.js +87 -87
- package/dist/session/environment.js +3 -3
- package/dist/session/error.js +5 -5
- package/dist/session/event.js +1 -1
- package/dist/session/execution/restart.js +220 -220
- package/dist/session/execution.js +127 -127
- package/dist/session/generate.js +150 -150
- package/dist/session/history.js +13 -13
- package/dist/session/inbox.js +89 -89
- package/dist/session/info.js +3 -3
- package/dist/session/instruction-entry.js +76 -76
- package/dist/session/instruction-state.js +8 -8
- package/dist/session/instructions.js +92 -92
- package/dist/session/message-updater.js +4 -4
- 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 +127 -127
- package/dist/session/projector.js +83 -83
- 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 +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 +113 -113
- 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 +169 -169
- 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 +207 -207
- 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 +15 -15
- package/dist/shell.js +137 -137
- package/dist/skill/discovery.js +6 -6
- package/dist/skill/instructions.js +106 -106
- package/dist/skill.js +107 -107
- 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 +124 -124
- package/dist/tool/plugin/edit.js +119 -119
- package/dist/tool/plugin/file-diff.js +1 -1
- package/dist/tool/plugin/glob.js +123 -123
- 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 +104 -104
- package/dist/tool/plugin/read.js +124 -124
- package/dist/tool/plugin/shell.js +212 -212
- package/dist/tool/plugin/skill.js +110 -110
- package/dist/tool/plugin/subagent.js +218 -218
- package/dist/tool/plugin/webfetch.js +105 -105
- package/dist/tool/plugin/websearch.js +107 -107
- 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 +12 -12
- package/dist/util/error-summary.js +1 -1
- package/dist/util/error.js +1 -1
- package/dist/util/git-executable.js +2 -2
- package/dist/util/iife.js +1 -1
- package/dist/util/lazy.js +1 -1
- package/dist/util/slug.js +1 -1
- package/dist/util/token.js +1 -1
- package/dist/util/which.js +1 -1
- package/dist/util/wildcard.js +1 -1
- package/dist/v1/config/agent.js +5 -5
- package/dist/v1/config/attachment.js +4 -4
- package/dist/v1/config/command.js +3 -3
- package/dist/v1/config/config.js +16 -16
- package/dist/v1/config/error.js +2 -2
- package/dist/v1/config/formatter.js +5 -5
- package/dist/v1/config/layout.js +1 -1
- package/dist/v1/config/lsp.js +5 -5
- package/dist/v1/config/mcp.js +4 -4
- package/dist/v1/config/migrate.js +91 -91
- package/dist/v1/config/permission.js +3 -3
- package/dist/v1/config/plugin.js +3 -3
- package/dist/v1/config/provider-options.js +1 -1
- package/dist/v1/config/provider.js +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 +86 -86
- 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 +79 -79
- 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 +95 -95
- package/package.json +8 -8
- package/dist/chunks/integration-2svdb8be.js +0 -478
- package/dist/chunks/integration-4tq96d62.js +0 -252
- package/dist/chunks/integration-gbadjzag.js +0 -4
- package/dist/chunks/integration-gnc8cbnn.js +0 -26
- package/dist/chunks/integration-q509s3k3.js +0 -18
- /package/dist/chunks/{integration-0qkdqm5v.js → workspace-0qkdqm5v.js} +0 -0
- /package/dist/chunks/{integration-0zkw76rk.js → workspace-0zkw76rk.js} +0 -0
- /package/dist/chunks/{integration-17cy0kzp.js → workspace-17cy0kzp.js} +0 -0
- /package/dist/chunks/{integration-1cnp2v09.js → workspace-1cnp2v09.js} +0 -0
- /package/dist/chunks/{integration-1kg9ymc8.js → workspace-1kg9ymc8.js} +0 -0
- /package/dist/chunks/{integration-24dcb14g.js → workspace-24dcb14g.js} +0 -0
- /package/dist/chunks/{integration-2710q6r3.js → workspace-2710q6r3.js} +0 -0
- /package/dist/chunks/{integration-2axfhc9x.js → workspace-2axfhc9x.js} +0 -0
- /package/dist/chunks/{integration-2c3vjs8z.js → workspace-2c3vjs8z.js} +0 -0
- /package/dist/chunks/{integration-359p4xyc.js → workspace-359p4xyc.js} +0 -0
- /package/dist/chunks/{integration-3asan66x.js → workspace-3asan66x.js} +0 -0
- /package/dist/chunks/{integration-3v8g72cx.js → workspace-3v8g72cx.js} +0 -0
- /package/dist/chunks/{integration-3w5fmr99.js → workspace-3w5fmr99.js} +0 -0
- /package/dist/chunks/{integration-3wcehsnq.js → workspace-3wcehsnq.js} +0 -0
- /package/dist/chunks/{integration-43n2bw4t.js → workspace-43n2bw4t.js} +0 -0
- /package/dist/chunks/{integration-4knz6hnm.js → workspace-4knz6hnm.js} +0 -0
- /package/dist/chunks/{integration-4vcrnpx2.js → workspace-4vcrnpx2.js} +0 -0
- /package/dist/chunks/{integration-4y7fprxs.js → workspace-4y7fprxs.js} +0 -0
- /package/dist/chunks/{integration-53557ph1.js → workspace-53557ph1.js} +0 -0
- /package/dist/chunks/{integration-550bvhaj.js → workspace-550bvhaj.js} +0 -0
- /package/dist/chunks/{integration-5qd3pb7m.js → workspace-5qd3pb7m.js} +0 -0
- /package/dist/chunks/{integration-6prwharc.js → workspace-6prwharc.js} +0 -0
- /package/dist/chunks/{integration-7akdwqpd.js → workspace-7akdwqpd.js} +0 -0
- /package/dist/chunks/{integration-7m9af43g.js → workspace-7m9af43g.js} +0 -0
- /package/dist/chunks/{integration-822emrt2.js → workspace-822emrt2.js} +0 -0
- /package/dist/chunks/{integration-88xbtdfr.js → workspace-88xbtdfr.js} +0 -0
- /package/dist/chunks/{integration-8n3pysct.js → workspace-8n3pysct.js} +0 -0
- /package/dist/chunks/{integration-922hggd3.js → workspace-922hggd3.js} +0 -0
- /package/dist/chunks/{integration-9a4afbnw.js → workspace-9a4afbnw.js} +0 -0
- /package/dist/chunks/{integration-9rqn6x4v.js → workspace-9rqn6x4v.js} +0 -0
- /package/dist/chunks/{integration-a6k6eb26.js → workspace-a6k6eb26.js} +0 -0
- /package/dist/chunks/{integration-af5trqkr.js → workspace-af5trqkr.js} +0 -0
- /package/dist/chunks/{integration-afrmfg78.js → workspace-afrmfg78.js} +0 -0
- /package/dist/chunks/{integration-aqzs7mqg.js → workspace-aqzs7mqg.js} +0 -0
- /package/dist/chunks/{integration-atq7p7m5.js → workspace-atq7p7m5.js} +0 -0
- /package/dist/chunks/{integration-bkyjaxrp.js → workspace-bkyjaxrp.js} +0 -0
- /package/dist/chunks/{integration-bmr6ed5q.js → workspace-bmr6ed5q.js} +0 -0
- /package/dist/chunks/{integration-cf4snx6d.js → workspace-cf4snx6d.js} +0 -0
- /package/dist/chunks/{integration-cvy3z8tj.js → workspace-cvy3z8tj.js} +0 -0
- /package/dist/chunks/{integration-d9fn303g.js → workspace-d9fn303g.js} +0 -0
- /package/dist/chunks/{integration-d9jj8t3e.js → workspace-d9jj8t3e.js} +0 -0
- /package/dist/chunks/{integration-dajrwvna.js → workspace-dajrwvna.js} +0 -0
- /package/dist/chunks/{integration-dap0rakb.js → workspace-dap0rakb.js} +0 -0
- /package/dist/chunks/{integration-df08tz66.js → workspace-df08tz66.js} +0 -0
- /package/dist/chunks/{integration-dy18nga0.js → workspace-dy18nga0.js} +0 -0
- /package/dist/chunks/{integration-e5kj55wp.js → workspace-e5kj55wp.js} +0 -0
- /package/dist/chunks/{integration-e73j6tqm.js → workspace-e73j6tqm.js} +0 -0
- /package/dist/chunks/{integration-ec1grn59.js → workspace-ec1grn59.js} +0 -0
- /package/dist/chunks/{integration-eh3zwz77.js → workspace-eh3zwz77.js} +0 -0
- /package/dist/chunks/{integration-emrn6kk6.js → workspace-emrn6kk6.js} +0 -0
- /package/dist/chunks/{integration-f0mxakyp.js → workspace-f0mxakyp.js} +0 -0
- /package/dist/chunks/{integration-f6n9ztr4.js → workspace-f6n9ztr4.js} +0 -0
- /package/dist/chunks/{integration-faypxj3z.js → workspace-faypxj3z.js} +0 -0
- /package/dist/chunks/{integration-fd410y7t.js → workspace-fd410y7t.js} +0 -0
- /package/dist/chunks/{integration-fxgpk5d8.js → workspace-fxgpk5d8.js} +0 -0
- /package/dist/chunks/{integration-g4wezp1m.js → workspace-g4wezp1m.js} +0 -0
- /package/dist/chunks/{integration-g86h250q.js → workspace-g86h250q.js} +0 -0
- /package/dist/chunks/{integration-gebd4c9n.js → workspace-gebd4c9n.js} +0 -0
- /package/dist/chunks/{integration-gftt206x.js → workspace-gftt206x.js} +0 -0
- /package/dist/chunks/{integration-hjbc5kem.js → workspace-hjbc5kem.js} +0 -0
- /package/dist/chunks/{integration-hk9envan.js → workspace-hk9envan.js} +0 -0
- /package/dist/chunks/{integration-j2ntwpah.js → workspace-j2ntwpah.js} +0 -0
- /package/dist/chunks/{integration-j5zkgpj8.js → workspace-j5zkgpj8.js} +0 -0
- /package/dist/chunks/{integration-jjkms2e6.js → workspace-jjkms2e6.js} +0 -0
- /package/dist/chunks/{integration-jr7sbwjy.js → workspace-jr7sbwjy.js} +0 -0
- /package/dist/chunks/{integration-jwfs4k6c.js → workspace-jwfs4k6c.js} +0 -0
- /package/dist/chunks/{integration-jzg6c2d5.js → workspace-jzg6c2d5.js} +0 -0
- /package/dist/chunks/{integration-mp448xyj.js → workspace-mp448xyj.js} +0 -0
- /package/dist/chunks/{integration-msx8hqn2.js → workspace-msx8hqn2.js} +0 -0
- /package/dist/chunks/{integration-n05xt0ee.js → workspace-n05xt0ee.js} +0 -0
- /package/dist/chunks/{integration-n3j8tn72.js → workspace-n3j8tn72.js} +0 -0
- /package/dist/chunks/{integration-njntx4h6.js → workspace-njntx4h6.js} +0 -0
- /package/dist/chunks/{integration-q3sfg36h.js → workspace-q3sfg36h.js} +0 -0
- /package/dist/chunks/{integration-q74kybfr.js → workspace-q74kybfr.js} +0 -0
- /package/dist/chunks/{integration-qaymkmh1.js → workspace-qaymkmh1.js} +0 -0
- /package/dist/chunks/{integration-qb87gjwd.js → workspace-qb87gjwd.js} +0 -0
- /package/dist/chunks/{integration-qfa1cgps.js → workspace-qfa1cgps.js} +0 -0
- /package/dist/chunks/{integration-qg3g05ea.js → workspace-qg3g05ea.js} +0 -0
- /package/dist/chunks/{integration-qrg20bc0.js → workspace-qrg20bc0.js} +0 -0
- /package/dist/chunks/{integration-rcb2kzg1.js → workspace-rcb2kzg1.js} +0 -0
- /package/dist/chunks/{integration-sdp7kfr6.js → workspace-sdp7kfr6.js} +0 -0
- /package/dist/chunks/{integration-sk3qaz4a.js → workspace-sk3qaz4a.js} +0 -0
- /package/dist/chunks/{integration-ssg3fenm.js → workspace-ssg3fenm.js} +0 -0
- /package/dist/chunks/{integration-twg0f83k.js → workspace-twg0f83k.js} +0 -0
- /package/dist/chunks/{integration-w803qqfp.js → workspace-w803qqfp.js} +0 -0
- /package/dist/chunks/{integration-wc3fc9cn.js → workspace-wc3fc9cn.js} +0 -0
- /package/dist/chunks/{integration-wer8tq1h.js → workspace-wer8tq1h.js} +0 -0
- /package/dist/chunks/{integration-wtztk69x.js → workspace-wtztk69x.js} +0 -0
- /package/dist/chunks/{integration-x0ckcb58.js → workspace-x0ckcb58.js} +0 -0
- /package/dist/chunks/{integration-x61499pn.js → workspace-x61499pn.js} +0 -0
- /package/dist/chunks/{integration-y44na4kk.js → workspace-y44na4kk.js} +0 -0
- /package/dist/chunks/{integration-y8cydn3q.js → workspace-y8cydn3q.js} +0 -0
- /package/dist/chunks/{integration-y8f7s663.js → workspace-y8f7s663.js} +0 -0
- /package/dist/chunks/{integration-ygaqb7jw.js → workspace-ygaqb7jw.js} +0 -0
- /package/dist/chunks/{integration-ym463w8f.js → workspace-ym463w8f.js} +0 -0
- /package/dist/chunks/{integration-z9919s4g.js → workspace-z9919s4g.js} +0 -0
|
@@ -1,33 +1,33 @@
|
|
|
1
1
|
import {
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
} from "./
|
|
2
|
+
ID8,
|
|
3
|
+
Service62,
|
|
4
|
+
node64
|
|
5
|
+
} from "./workspace-2zh1a5wq.js";
|
|
6
6
|
import {
|
|
7
|
-
|
|
7
|
+
ID7,
|
|
8
8
|
isAISDK2,
|
|
9
9
|
packageName2,
|
|
10
10
|
loadPackage2,
|
|
11
11
|
nativeSettings2,
|
|
12
12
|
mergeOverlay2,
|
|
13
13
|
mergeHeaders2,
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
} from "./
|
|
14
|
+
Service61,
|
|
15
|
+
node63
|
|
16
|
+
} from "./workspace-5xxye2p9.js";
|
|
17
17
|
import {
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
} from "./
|
|
18
|
+
Service44,
|
|
19
|
+
node46
|
|
20
|
+
} from "./workspace-1znvsqnm.js";
|
|
21
21
|
import {
|
|
22
|
-
|
|
22
|
+
ID6,
|
|
23
23
|
VariantID2,
|
|
24
24
|
Ref2,
|
|
25
|
-
|
|
26
|
-
|
|
27
|
-
} from "./
|
|
25
|
+
Service53,
|
|
26
|
+
node55
|
|
27
|
+
} from "./workspace-2ah6qvjc.js";
|
|
28
28
|
import {
|
|
29
29
|
__export
|
|
30
|
-
} from "./
|
|
30
|
+
} from "./workspace-9rqn6x4v.js";
|
|
31
31
|
|
|
32
32
|
// src/model-resolver.ts
|
|
33
33
|
var exports_model_resolver = {};
|
|
@@ -36,15 +36,15 @@ __export(exports_model_resolver, {
|
|
|
36
36
|
ModelConfigurationError: () => ModelConfigurationError3,
|
|
37
37
|
ModelInitializationError: () => ModelInitializationError3,
|
|
38
38
|
ModelResolver: () => exports_model_resolver,
|
|
39
|
-
Service: () =>
|
|
39
|
+
Service: () => Service43,
|
|
40
40
|
UnresolvedProviderVariablesError: () => UnresolvedProviderVariablesError3,
|
|
41
41
|
UnsupportedCompactionError: () => UnsupportedCompactionError3,
|
|
42
42
|
UnsupportedPackageError: () => UnsupportedPackageError3,
|
|
43
43
|
VariantUnavailableError: () => VariantUnavailableError3,
|
|
44
44
|
fromCatalogModel: () => fromCatalogModel2,
|
|
45
45
|
hasPackage: () => hasPackage2,
|
|
46
|
-
layer: () =>
|
|
47
|
-
node: () =>
|
|
46
|
+
layer: () => layer17,
|
|
47
|
+
node: () => node45,
|
|
48
48
|
resolveModel: () => resolveModel2,
|
|
49
49
|
withVariant: () => withVariant2
|
|
50
50
|
});
|
|
@@ -54,8 +54,8 @@ import { Auth } from "@opencode/ai/route";
|
|
|
54
54
|
import { Context, Effect, Layer, Schema, Struct } from "effect";
|
|
55
55
|
import { Npm } from "@opencode/util/npm";
|
|
56
56
|
class VariantUnavailableError3 extends Schema.TaggedError()("SessionRunnerModel.VariantUnavailableError", {
|
|
57
|
-
providerID:
|
|
58
|
-
modelID:
|
|
57
|
+
providerID: ID7,
|
|
58
|
+
modelID: ID6,
|
|
59
59
|
variant: VariantID2
|
|
60
60
|
}) {
|
|
61
61
|
get message() {
|
|
@@ -64,8 +64,8 @@ class VariantUnavailableError3 extends Schema.TaggedError()("SessionRunnerModel.
|
|
|
64
64
|
}
|
|
65
65
|
|
|
66
66
|
class UnsupportedPackageError3 extends Schema.TaggedError()("SessionRunnerModel.UnsupportedPackageError", {
|
|
67
|
-
providerID:
|
|
68
|
-
modelID:
|
|
67
|
+
providerID: ID7,
|
|
68
|
+
modelID: ID6,
|
|
69
69
|
package: Schema.String
|
|
70
70
|
}) {
|
|
71
71
|
get message() {
|
|
@@ -75,8 +75,8 @@ class UnsupportedPackageError3 extends Schema.TaggedError()("SessionRunnerModel.
|
|
|
75
75
|
var InitializationPhase2 = Schema.Literals(["load", "init", "construct"]);
|
|
76
76
|
|
|
77
77
|
class ModelConfigurationError3 extends Schema.TaggedError()("SessionRunnerModel.ModelConfigurationError", {
|
|
78
|
-
providerID:
|
|
79
|
-
modelID:
|
|
78
|
+
providerID: ID7,
|
|
79
|
+
modelID: ID6,
|
|
80
80
|
package: Schema.String,
|
|
81
81
|
detail: Schema.String
|
|
82
82
|
}) {
|
|
@@ -86,8 +86,8 @@ class ModelConfigurationError3 extends Schema.TaggedError()("SessionRunnerModel.
|
|
|
86
86
|
}
|
|
87
87
|
|
|
88
88
|
class ModelInitializationError3 extends Schema.TaggedError()("SessionRunnerModel.ModelInitializationError", {
|
|
89
|
-
providerID:
|
|
90
|
-
modelID:
|
|
89
|
+
providerID: ID7,
|
|
90
|
+
modelID: ID6,
|
|
91
91
|
package: Schema.String,
|
|
92
92
|
phase: InitializationPhase2,
|
|
93
93
|
detail: Schema.String
|
|
@@ -98,8 +98,8 @@ class ModelInitializationError3 extends Schema.TaggedError()("SessionRunnerModel
|
|
|
98
98
|
}
|
|
99
99
|
|
|
100
100
|
class UnresolvedProviderVariablesError3 extends Schema.TaggedError()("SessionRunnerModel.UnresolvedProviderVariablesError", {
|
|
101
|
-
providerID:
|
|
102
|
-
modelID:
|
|
101
|
+
providerID: ID7,
|
|
102
|
+
modelID: ID6,
|
|
103
103
|
variables: Schema.Array(Schema.String)
|
|
104
104
|
}) {
|
|
105
105
|
get message() {
|
|
@@ -108,8 +108,8 @@ class UnresolvedProviderVariablesError3 extends Schema.TaggedError()("SessionRun
|
|
|
108
108
|
}
|
|
109
109
|
|
|
110
110
|
class UnsupportedCompactionError3 extends Schema.TaggedError()("SessionRunnerModel.UnsupportedCompactionError", {
|
|
111
|
-
providerID:
|
|
112
|
-
modelID:
|
|
111
|
+
providerID: ID7,
|
|
112
|
+
modelID: ID6,
|
|
113
113
|
route: Schema.String
|
|
114
114
|
}) {
|
|
115
115
|
get message() {
|
|
@@ -117,7 +117,7 @@ class UnsupportedCompactionError3 extends Schema.TaggedError()("SessionRunnerMod
|
|
|
117
117
|
}
|
|
118
118
|
}
|
|
119
119
|
|
|
120
|
-
class
|
|
120
|
+
class Service43 extends Context.Service()("@opencode/ModelResolver") {
|
|
121
121
|
}
|
|
122
122
|
var withVariant2 = (model, variantID) => {
|
|
123
123
|
const id = variantID === "default" ? undefined : variantID;
|
|
@@ -257,15 +257,15 @@ var causeMessage = (cause) => {
|
|
|
257
257
|
};
|
|
258
258
|
var resolveModel2 = (model, variant, credential, dependencies) => withVariant2(model, variant).pipe(Effect.flatMap((model) => fromCatalogModel2(model, credential, dependencies)));
|
|
259
259
|
var hasPackage2 = (model) => Boolean(model.package);
|
|
260
|
-
var
|
|
261
|
-
const providers = yield*
|
|
262
|
-
const models = yield*
|
|
263
|
-
const integrations = yield*
|
|
260
|
+
var layer17 = Layer.effect(Service43, Effect.gen(function* () {
|
|
261
|
+
const providers = yield* Service61;
|
|
262
|
+
const models = yield* Service53;
|
|
263
|
+
const integrations = yield* Service62;
|
|
264
264
|
const npm = yield* Npm.Service;
|
|
265
|
-
const aisdk = yield*
|
|
265
|
+
const aisdk = yield* Service44;
|
|
266
266
|
const load = Effect.fn("ModelResolver.resolveModel")(function* (selected, variant) {
|
|
267
267
|
const provider = yield* providers.get(selected.providerID);
|
|
268
|
-
const connection = yield* integrations.connection.active(provider?.integrationID ??
|
|
268
|
+
const connection = yield* integrations.connection.active(provider?.integrationID ?? ID8.make(selected.providerID));
|
|
269
269
|
const credential = connection ? yield* integrations.connection.resolve(connection) : undefined;
|
|
270
270
|
const runtimeInfo = yield* withVariant2(selected, variant);
|
|
271
271
|
const model = yield* fromCatalogModel2(runtimeInfo, credential, {
|
|
@@ -287,7 +287,7 @@ var layer24 = Layer.effect(Service65, Effect.gen(function* () {
|
|
|
287
287
|
transport: selected.transport
|
|
288
288
|
};
|
|
289
289
|
});
|
|
290
|
-
return
|
|
290
|
+
return Service43.of({
|
|
291
291
|
resolve: Effect.fn("ModelResolver.resolve")(function* (requested) {
|
|
292
292
|
const selected = requested ? yield* models.get(requested.providerID, requested.id) : yield* models.default().pipe(Effect.flatMap((model) => model && hasPackage2(model) ? Effect.succeed(model) : Effect.map(models.available(), (models) => models.find(hasPackage2))));
|
|
293
293
|
if (!selected)
|
|
@@ -304,10 +304,10 @@ function usesAPIKeyAuth(packageName) {
|
|
|
304
304
|
const name = packageName2(packageName);
|
|
305
305
|
return name === "@ai-sdk/openai" || name === "@ai-sdk/anthropic" || name === "@ai-sdk/cerebras" || name === "@ai-sdk/deepinfra" || name === "@ai-sdk/openai-compatible" || name === "@ai-sdk/google" || name === "@ai-sdk/groq" || name === "@ai-sdk/mistral" || name === "@ai-sdk/togetherai" || name === "@ai-sdk/xai" || name === "@openrouter/ai-sdk-provider" || name === "@ai-sdk/azure" || name === "@opencode/ai/providers/openai" || name?.startsWith("@opencode/ai/providers/openai/") === true || name === "@opencode/ai/providers/anthropic" || name === "@opencode/ai/providers/anthropic-compatible" || name === "@opencode/ai/providers/baseten" || name === "@opencode/ai/providers/cerebras" || name === "@opencode/ai/providers/cloudflare-ai-gateway" || name === "@opencode/ai/providers/cloudflare-workers-ai" || name === "@opencode/ai/providers/deepinfra" || name === "@opencode/ai/providers/deepseek" || name === "@opencode/ai/providers/fireworks" || name === "@opencode/ai/providers/openai-compatible" || name === "@opencode/ai/providers/google" || name === "@opencode/ai/providers/groq" || name === "@opencode/ai/providers/mistral" || name === "@opencode/ai/providers/togetherai" || name === "@opencode/ai/providers/xai" || name === "@opencode/ai/providers/openrouter" || name === "@opencode/ai/providers/azure" || name?.startsWith("@opencode/ai/providers/azure/") === true;
|
|
306
306
|
}
|
|
307
|
-
var
|
|
308
|
-
service:
|
|
309
|
-
layer:
|
|
310
|
-
deps: [
|
|
307
|
+
var node45 = makeLocationNode({
|
|
308
|
+
service: Service43,
|
|
309
|
+
layer: layer17,
|
|
310
|
+
deps: [node63, node55, node64, Npm.node, node46]
|
|
311
311
|
});
|
|
312
312
|
|
|
313
|
-
export { VariantUnavailableError3, UnsupportedPackageError3, InitializationPhase2, ModelConfigurationError3, ModelInitializationError3, UnresolvedProviderVariablesError3, UnsupportedCompactionError3,
|
|
313
|
+
export { VariantUnavailableError3, UnsupportedPackageError3, InitializationPhase2, ModelConfigurationError3, ModelInitializationError3, UnresolvedProviderVariablesError3, UnsupportedCompactionError3, Service43, withVariant2, fromCatalogModel2, resolveModel2, hasPackage2, layer17, node45, exports_model_resolver };
|
|
@@ -1,16 +1,16 @@
|
|
|
1
1
|
import {
|
|
2
|
-
|
|
3
|
-
} from "./
|
|
2
|
+
Service64
|
|
3
|
+
} from "./workspace-a2p8e6yv.js";
|
|
4
4
|
import {
|
|
5
5
|
MAX_MARKDOWN_BYTES2,
|
|
6
6
|
convertHTMLToMarkdown2
|
|
7
|
-
} from "./
|
|
7
|
+
} from "./workspace-4vcrnpx2.js";
|
|
8
8
|
import {
|
|
9
9
|
collectBoundedResponseBody2
|
|
10
|
-
} from "./
|
|
10
|
+
} from "./workspace-3v8g72cx.js";
|
|
11
11
|
import {
|
|
12
12
|
__export
|
|
13
|
-
} from "./
|
|
13
|
+
} from "./workspace-9rqn6x4v.js";
|
|
14
14
|
|
|
15
15
|
// src/tool/plugin/webfetch.ts
|
|
16
16
|
var exports_webfetch = {};
|
|
@@ -19,10 +19,10 @@ __export(exports_webfetch, {
|
|
|
19
19
|
Input: () => Input7,
|
|
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: () => description4,
|
|
26
26
|
extractTextFromHTML: () => extractTextFromHTML2,
|
|
27
27
|
name: () => name7
|
|
28
28
|
});
|
|
@@ -34,7 +34,7 @@ var name7 = "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 description4 = `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));
|
|
@@ -92,15 +92,15 @@ 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* Service64;
|
|
100
100
|
yield* ctx.tool.transform((editor) => editor.add({
|
|
101
101
|
name: name7,
|
|
102
102
|
options: { codemode: false },
|
|
103
|
-
description:
|
|
103
|
+
description: description4,
|
|
104
104
|
input: Input7,
|
|
105
105
|
output: Output,
|
|
106
106
|
execute: (input, context) => Effect.gen(function* () {
|
|
@@ -167,4 +167,4 @@ function extractTextFromHTML2(html) {
|
|
|
167
167
|
parser.end();
|
|
168
168
|
return text.trim();
|
|
169
169
|
}
|
|
170
|
-
export { name7, MAX_RESPONSE_BYTES3, DEFAULT_TIMEOUT_SECONDS2, MAX_TIMEOUT_SECONDS2,
|
|
170
|
+
export { name7, MAX_RESPONSE_BYTES3, DEFAULT_TIMEOUT_SECONDS2, MAX_TIMEOUT_SECONDS2, description4, Input7, Plugin39, extractTextFromHTML2, exports_webfetch };
|
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
import {
|
|
2
|
-
|
|
3
|
-
} from "./
|
|
2
|
+
ID7
|
|
3
|
+
} from "./workspace-5xxye2p9.js";
|
|
4
4
|
import {
|
|
5
5
|
loadSDKFactory2
|
|
6
|
-
} from "./
|
|
6
|
+
} from "./workspace-hjbc5kem.js";
|
|
7
7
|
|
|
8
8
|
// src/plugin/provider/sap-ai-core.ts
|
|
9
9
|
import { Effect } from "effect";
|
|
@@ -14,7 +14,7 @@ var SapAICorePlugin2 = define({
|
|
|
14
14
|
effect: Effect.fn(function* (ctx) {
|
|
15
15
|
const npm = yield* Npm.Service;
|
|
16
16
|
yield* ctx.aisdk.hook("sdk", Effect.fn(function* (evt) {
|
|
17
|
-
if (evt.model.providerID !==
|
|
17
|
+
if (evt.model.providerID !== ID7.make("sap-ai-core"))
|
|
18
18
|
return;
|
|
19
19
|
const serviceKey = process.env.AICORE_SERVICE_KEY ?? (typeof evt.options.serviceKey === "string" ? evt.options.serviceKey : undefined);
|
|
20
20
|
if (serviceKey && !process.env.AICORE_SERVICE_KEY)
|
|
@@ -25,7 +25,7 @@ var SapAICorePlugin2 = define({
|
|
|
25
25
|
evt.sdk = factory(serviceKey ? { deploymentId: process.env.AICORE_DEPLOYMENT_ID, resourceGroup: process.env.AICORE_RESOURCE_GROUP } : {});
|
|
26
26
|
}));
|
|
27
27
|
yield* ctx.aisdk.hook("language", Effect.fn(function* (evt) {
|
|
28
|
-
if (evt.model.providerID !==
|
|
28
|
+
if (evt.model.providerID !== ID7.make("sap-ai-core"))
|
|
29
29
|
return;
|
|
30
30
|
evt.language = evt.sdk(evt.model.modelID ?? evt.model.id);
|
|
31
31
|
}));
|
|
@@ -4,7 +4,7 @@ import {
|
|
|
4
4
|
orderSelectedFields2,
|
|
5
5
|
mapUpdateSet2,
|
|
6
6
|
getTableLikeName2
|
|
7
|
-
} from "./
|
|
7
|
+
} from "./workspace-emrn6kk6.js";
|
|
8
8
|
|
|
9
9
|
// src/database/drizzle/sqlite-core/effect/update.ts
|
|
10
10
|
import { applyEffectWrapper } from "drizzle-orm/effect-core/query-effect";
|
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
import {
|
|
2
2
|
useragent2
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./workspace-hf1pa3fg.js";
|
|
4
4
|
import {
|
|
5
|
-
|
|
6
|
-
} from "./
|
|
5
|
+
ID7
|
|
6
|
+
} from "./workspace-5xxye2p9.js";
|
|
7
7
|
|
|
8
8
|
// src/plugin/provider/gitlab.ts
|
|
9
9
|
import os from "os";
|
|
@@ -33,7 +33,7 @@ var GitLabPlugin2 = define({
|
|
|
33
33
|
});
|
|
34
34
|
}));
|
|
35
35
|
yield* ctx.aisdk.hook("language", Effect.fn(function* (evt) {
|
|
36
|
-
if (evt.model.providerID !==
|
|
36
|
+
if (evt.model.providerID !== ID7.gitlab)
|
|
37
37
|
return;
|
|
38
38
|
const featureFlags = typeof evt.options.featureFlags === "object" && evt.options.featureFlags ? evt.options.featureFlags : {};
|
|
39
39
|
const id = evt.model.modelID ?? evt.model.id;
|
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
import {
|
|
2
2
|
collectBoundedResponseBody2
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./workspace-3v8g72cx.js";
|
|
4
4
|
import {
|
|
5
5
|
__export
|
|
6
|
-
} from "./
|
|
6
|
+
} from "./workspace-9rqn6x4v.js";
|
|
7
7
|
|
|
8
8
|
// src/plugin/websearch/mcp.ts
|
|
9
9
|
var exports_mcp2 = {};
|
|
@@ -1,29 +1,29 @@
|
|
|
1
1
|
import {
|
|
2
2
|
create3
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./workspace-rdw6cm16.js";
|
|
4
4
|
import {
|
|
5
5
|
which2
|
|
6
|
-
} from "./
|
|
6
|
+
} from "./workspace-qaymkmh1.js";
|
|
7
7
|
import {
|
|
8
8
|
__export
|
|
9
|
-
} from "./
|
|
9
|
+
} from "./workspace-9rqn6x4v.js";
|
|
10
10
|
|
|
11
11
|
// src/shell/select.ts
|
|
12
12
|
var exports_select = {};
|
|
13
13
|
__export(exports_select, {
|
|
14
|
-
Options: () =>
|
|
15
|
-
Service: () =>
|
|
14
|
+
Options: () => Options10,
|
|
15
|
+
Service: () => Service78,
|
|
16
16
|
ShellSelect: () => exports_select,
|
|
17
17
|
args: () => args2,
|
|
18
|
-
configured: () =>
|
|
18
|
+
configured: () => configured11,
|
|
19
19
|
environment: () => environment2,
|
|
20
20
|
gitbash: () => gitbash2,
|
|
21
|
-
list: () =>
|
|
21
|
+
list: () => list4,
|
|
22
22
|
login: () => login2,
|
|
23
23
|
name: () => name15,
|
|
24
|
-
node: () =>
|
|
24
|
+
node: () => node82,
|
|
25
25
|
ps: () => ps2,
|
|
26
|
-
resolve: () =>
|
|
26
|
+
resolve: () => resolve4
|
|
27
27
|
});
|
|
28
28
|
import path from "path";
|
|
29
29
|
import { readFile } from "fs/promises";
|
|
@@ -43,11 +43,11 @@ var META = {
|
|
|
43
43
|
sh: { login: true },
|
|
44
44
|
zsh: { login: true }
|
|
45
45
|
};
|
|
46
|
-
var
|
|
46
|
+
var Options10 = Schema.Struct({
|
|
47
47
|
gitbash: Schema.optional(Schema.String)
|
|
48
48
|
});
|
|
49
49
|
|
|
50
|
-
class
|
|
50
|
+
class Service78 extends Context.Service()("@opencode/ShellSelect") {
|
|
51
51
|
}
|
|
52
52
|
function stat(file) {
|
|
53
53
|
return statSync(file, { throwIfNoEntry: false }) ?? undefined;
|
|
@@ -164,7 +164,7 @@ function environment2(bin, filter) {
|
|
|
164
164
|
}
|
|
165
165
|
var defaultConfigured;
|
|
166
166
|
var defaultCompatible;
|
|
167
|
-
function
|
|
167
|
+
function resolve4(input, configShell, options, bin) {
|
|
168
168
|
const filter = input.priority === "compat" ? { compatible: true } : undefined;
|
|
169
169
|
if (configShell)
|
|
170
170
|
return select(configShell, options, filter, bin);
|
|
@@ -180,15 +180,15 @@ function resolve2(input, configShell, options, bin) {
|
|
|
180
180
|
defaultConfigured = { bin, value };
|
|
181
181
|
return value;
|
|
182
182
|
}
|
|
183
|
-
|
|
183
|
+
resolve4.reset = () => {
|
|
184
184
|
defaultConfigured = undefined;
|
|
185
185
|
defaultCompatible = undefined;
|
|
186
186
|
};
|
|
187
|
-
async function
|
|
187
|
+
async function list4(options, bin) {
|
|
188
188
|
const shells = process.platform === "win32" ? win(options, bin) : await unix();
|
|
189
189
|
return shells.filter((shell) => executable(shell, options, bin)).map((shell) => info(shell, options, bin));
|
|
190
190
|
}
|
|
191
|
-
var layer = (options) => Layer.effect(
|
|
191
|
+
var layer = (options) => Layer.effect(Service78, Effect.gen(function* () {
|
|
192
192
|
const global = yield* Global.Service;
|
|
193
193
|
const state = create3({
|
|
194
194
|
name: "shell-select",
|
|
@@ -199,16 +199,16 @@ var layer = (options) => Layer.effect(Service49, Effect.gen(function* () {
|
|
|
199
199
|
}
|
|
200
200
|
})
|
|
201
201
|
});
|
|
202
|
-
return
|
|
202
|
+
return Service78.of({
|
|
203
203
|
transform: state.transform,
|
|
204
204
|
reload: state.reload,
|
|
205
|
-
resolve: (input) => Effect.sync(() =>
|
|
206
|
-
list: () => Effect.promise(() =>
|
|
205
|
+
resolve: (input) => Effect.sync(() => resolve4(input, state.get().shell, options, global.bin)),
|
|
206
|
+
list: () => Effect.promise(() => list4(options, global.bin))
|
|
207
207
|
});
|
|
208
208
|
}));
|
|
209
|
-
function
|
|
210
|
-
return makeLocationNode({ service:
|
|
209
|
+
function configured11(options) {
|
|
210
|
+
return makeLocationNode({ service: Service78, layer: layer(options), deps: [Global.node] });
|
|
211
211
|
}
|
|
212
|
-
var
|
|
212
|
+
var node82 = configured11();
|
|
213
213
|
|
|
214
|
-
export {
|
|
214
|
+
export { Options10, Service78, gitbash2, name15, login2, ps2, args2, environment2, resolve4, list4, configured11, node82, exports_select };
|
|
@@ -1,24 +1,24 @@
|
|
|
1
1
|
import {
|
|
2
2
|
Service82
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./workspace-9n3na3w3.js";
|
|
4
4
|
import {
|
|
5
5
|
OAuth3,
|
|
6
|
-
|
|
7
|
-
} from "./
|
|
6
|
+
Event15
|
|
7
|
+
} from "./workspace-n65c7js6.js";
|
|
8
8
|
import {
|
|
9
|
-
|
|
9
|
+
ID8,
|
|
10
10
|
MethodID2
|
|
11
|
-
} from "./
|
|
11
|
+
} from "./workspace-2zh1a5wq.js";
|
|
12
12
|
import {
|
|
13
|
-
|
|
13
|
+
ID7,
|
|
14
14
|
mergeOverlay2,
|
|
15
15
|
mergeHeaders2
|
|
16
|
-
} from "./
|
|
16
|
+
} from "./workspace-5xxye2p9.js";
|
|
17
17
|
import {
|
|
18
|
-
|
|
19
|
-
|
|
18
|
+
ID3,
|
|
19
|
+
Input13,
|
|
20
20
|
Response2
|
|
21
|
-
} from "./
|
|
21
|
+
} from "./workspace-hab99yty.js";
|
|
22
22
|
|
|
23
23
|
// src/plugin/provider/opencode.ts
|
|
24
24
|
import { Duration, Effect, Equal, Schema, Semaphore, Stream } from "effect";
|
|
@@ -32,7 +32,7 @@ var methodID = MethodID2.make("device");
|
|
|
32
32
|
var RemoteResponse = Schema.Struct({
|
|
33
33
|
providers: Schema.Record(Schema.String, ConfigProvider.Info),
|
|
34
34
|
websearch: Schema.Struct({
|
|
35
|
-
providerID:
|
|
35
|
+
providerID: ID3
|
|
36
36
|
}).pipe(Schema.optional)
|
|
37
37
|
});
|
|
38
38
|
var Device = Schema.Struct({
|
|
@@ -54,7 +54,7 @@ var User = Schema.Struct({ id: Schema.String, email: Schema.String });
|
|
|
54
54
|
var Org = Schema.Struct({ id: Schema.String, name: Schema.String });
|
|
55
55
|
function oauth(http) {
|
|
56
56
|
return {
|
|
57
|
-
integrationID:
|
|
57
|
+
integrationID: ID8.make("opencode"),
|
|
58
58
|
method: {
|
|
59
59
|
id: methodID,
|
|
60
60
|
type: "oauth",
|
|
@@ -125,7 +125,7 @@ var OpencodePlugin2 = define({
|
|
|
125
125
|
providers.update(providerID, (provider) => {
|
|
126
126
|
if (source && source.provider !== provider)
|
|
127
127
|
Object.assign(provider, structuredClone(source.provider), { id: provider.id });
|
|
128
|
-
provider.integrationID =
|
|
128
|
+
provider.integrationID = ID8.make("opencode");
|
|
129
129
|
if (item.canonical !== undefined)
|
|
130
130
|
provider.canonical = item.canonical;
|
|
131
131
|
if (item.name !== undefined)
|
|
@@ -195,7 +195,7 @@ var OpencodePlugin2 = define({
|
|
|
195
195
|
sourceConnection: snapshot.connection
|
|
196
196
|
});
|
|
197
197
|
}
|
|
198
|
-
const item = providers.get(
|
|
198
|
+
const item = providers.get(ID7.opencode);
|
|
199
199
|
if (!item)
|
|
200
200
|
return;
|
|
201
201
|
const hasKey = Boolean(process.env.OPENCODE_API_KEY || snapshot.connection || item.provider.settings?.apiKey);
|
|
@@ -207,7 +207,7 @@ var OpencodePlugin2 = define({
|
|
|
207
207
|
});
|
|
208
208
|
});
|
|
209
209
|
yield* ctx.model.transform((models) => {
|
|
210
|
-
const item = models.provider.get(
|
|
210
|
+
const item = models.provider.get(ID7.opencode);
|
|
211
211
|
if (!item)
|
|
212
212
|
return;
|
|
213
213
|
const hasKey = Boolean(process.env.OPENCODE_API_KEY || snapshot.connection || item.provider.settings?.apiKey && item.provider.settings.apiKey !== "public");
|
|
@@ -241,7 +241,7 @@ var OpencodePlugin2 = define({
|
|
|
241
241
|
const orgID = typeof metadata?.orgID === "string" ? metadata.orgID : undefined;
|
|
242
242
|
const token = credential.type === "oauth" ? credential.access : credential.key;
|
|
243
243
|
const server = yield* normalizeServer(serverUrl(credential));
|
|
244
|
-
const request = yield* HttpClientRequest.post(`${server}/api/websearch`).pipe(HttpClientRequest.acceptJson, HttpClientRequest.bearerToken(token), HttpClientRequest.setHeaders(orgID ? { "x-org-id": orgID } : {}), HttpClientRequest.schemaBodyJson(
|
|
244
|
+
const request = yield* HttpClientRequest.post(`${server}/api/websearch`).pipe(HttpClientRequest.acceptJson, HttpClientRequest.bearerToken(token), HttpClientRequest.setHeaders(orgID ? { "x-org-id": orgID } : {}), HttpClientRequest.schemaBodyJson(Input13)({
|
|
245
245
|
query: input.query,
|
|
246
246
|
providerID: descriptor.providerID
|
|
247
247
|
}));
|
|
@@ -262,7 +262,7 @@ var OpencodePlugin2 = define({
|
|
|
262
262
|
yield* Effect.all([ctx.provider.reload(), ctx.websearch.reload()], { concurrency: 2, discard: true });
|
|
263
263
|
});
|
|
264
264
|
const refresh = () => loading.withPermit(load().pipe(Effect.andThen(apply)));
|
|
265
|
-
yield* bus.subscribe(
|
|
265
|
+
yield* bus.subscribe(Event15.Switched).pipe(Stream.filter((event) => event.data.integrationID === ID8.make("opencode")), Stream.runForEach(refresh), Effect.forkScoped({ startImmediately: true }));
|
|
266
266
|
yield* Effect.sleep(Duration.minutes(1)).pipe(Effect.andThen(loading.withPermit(load().pipe(Effect.flatMap((next) => Equal.equals(snapshot, next) ? Effect.void : apply(next))))), Effect.forever, Effect.forkScoped);
|
|
267
267
|
})
|
|
268
268
|
});
|
|
@@ -1,12 +1,12 @@
|
|
|
1
1
|
import {
|
|
2
2
|
SessionMessage2
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./workspace-gftt206x.js";
|
|
4
4
|
import {
|
|
5
5
|
SessionSchema2
|
|
6
|
-
} from "./
|
|
6
|
+
} from "./workspace-dm1py9b3.js";
|
|
7
7
|
import {
|
|
8
8
|
__export
|
|
9
|
-
} from "./
|
|
9
|
+
} from "./workspace-9rqn6x4v.js";
|
|
10
10
|
|
|
11
11
|
// src/session/error.ts
|
|
12
12
|
var exports_error2 = {};
|
|
@@ -19,7 +19,7 @@ __export(exports_error2, {
|
|
|
19
19
|
InboxConflictError: () => InboxConflictError2,
|
|
20
20
|
MessageDecodeError: () => MessageDecodeError2,
|
|
21
21
|
MessageNotFoundError: () => MessageNotFoundError2,
|
|
22
|
-
NotFoundError: () =>
|
|
22
|
+
NotFoundError: () => NotFoundError6,
|
|
23
23
|
PromptConflictError: () => PromptConflictError2,
|
|
24
24
|
SessionErrors: () => exports_error2,
|
|
25
25
|
SkillNotFoundError: () => SkillNotFoundError2,
|
|
@@ -32,7 +32,7 @@ import { Agent } from "@opencode/schema/agent";
|
|
|
32
32
|
import { Skill } from "@opencode/schema/skill";
|
|
33
33
|
import { SessionError } from "@opencode/schema/session-error";
|
|
34
34
|
|
|
35
|
-
class
|
|
35
|
+
class NotFoundError6 extends Schema.TaggedError()("Session.NotFoundError", {
|
|
36
36
|
sessionID: SessionSchema2.ID
|
|
37
37
|
}) {
|
|
38
38
|
}
|
|
@@ -123,4 +123,4 @@ class SkillNotFoundError2 extends Schema.TaggedError()("Session.SkillNotFoundErr
|
|
|
123
123
|
}) {
|
|
124
124
|
}
|
|
125
125
|
|
|
126
|
-
export {
|
|
126
|
+
export { NotFoundError6, MessageNotFoundError2, ForkEmptyError2, MessageDecodeError2, AgentNotFoundError2, StepFailedError2, UserInterruptedError2, PromptConflictError2, SyntheticConflictError2, AttachmentError2, CompactionConflictError2, BusyError2, InboxConflictError2, SkillNotFoundError2, exports_error2 };
|