@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,63 +1,63 @@
|
|
|
1
1
|
import {
|
|
2
2
|
Service83,
|
|
3
3
|
node87
|
|
4
|
-
} from "./
|
|
4
|
+
} from "./workspace-8kdf092n.js";
|
|
5
5
|
import {
|
|
6
6
|
Service82,
|
|
7
7
|
node86
|
|
8
|
-
} from "./
|
|
8
|
+
} from "./workspace-9n3na3w3.js";
|
|
9
9
|
import {
|
|
10
10
|
CredentialTable2
|
|
11
|
-
} from "./
|
|
11
|
+
} from "./workspace-pknna89w.js";
|
|
12
12
|
import {
|
|
13
13
|
from2
|
|
14
|
-
} from "./
|
|
14
|
+
} from "./workspace-0q0f95c6.js";
|
|
15
15
|
import {
|
|
16
16
|
__export
|
|
17
|
-
} from "./
|
|
17
|
+
} from "./workspace-9rqn6x4v.js";
|
|
18
18
|
|
|
19
19
|
// src/credential.ts
|
|
20
20
|
var exports_credential = {};
|
|
21
21
|
__export(exports_credential, {
|
|
22
22
|
Credential: () => exports_credential,
|
|
23
|
-
Event: () =>
|
|
24
|
-
ID: () =>
|
|
25
|
-
Info: () =>
|
|
26
|
-
Key: () =>
|
|
23
|
+
Event: () => Event15,
|
|
24
|
+
ID: () => ID9,
|
|
25
|
+
Info: () => Info24,
|
|
26
|
+
Key: () => Key3,
|
|
27
27
|
OAuth: () => OAuth3,
|
|
28
|
-
Service: () =>
|
|
28
|
+
Service: () => Service63,
|
|
29
29
|
Value: () => Value2,
|
|
30
|
-
node: () =>
|
|
30
|
+
node: () => node65
|
|
31
31
|
});
|
|
32
32
|
import { asc, desc, eq } from "drizzle-orm";
|
|
33
33
|
import { Cause, Context, Effect, Layer, Schema } from "effect";
|
|
34
34
|
import { Credential } from "@opencode/schema/credential";
|
|
35
35
|
import { Integration } from "@opencode/schema/integration";
|
|
36
36
|
import { makeGlobalNode } from "@opencode/util/effect/app-node";
|
|
37
|
-
var
|
|
37
|
+
var ID9 = Credential.ID;
|
|
38
38
|
var OAuth3 = Credential.OAuth;
|
|
39
|
-
var
|
|
39
|
+
var Key3 = Credential.Key;
|
|
40
40
|
var Value2 = Credential.Value;
|
|
41
|
-
var
|
|
41
|
+
var Event15 = Credential.Event;
|
|
42
42
|
|
|
43
|
-
class
|
|
44
|
-
id:
|
|
43
|
+
class Info24 extends Schema.Class("Credential.Info")({
|
|
44
|
+
id: ID9,
|
|
45
45
|
integrationID: Integration.ID,
|
|
46
46
|
label: Schema.String,
|
|
47
47
|
value: Value2
|
|
48
48
|
}) {
|
|
49
49
|
}
|
|
50
50
|
|
|
51
|
-
class
|
|
51
|
+
class Service63 extends Context.Service()("@opencode/Credential") {
|
|
52
52
|
}
|
|
53
|
-
var layer = Layer.effect(
|
|
53
|
+
var layer = Layer.effect(Service63, Effect.gen(function* () {
|
|
54
54
|
const db = (yield* Service83).db;
|
|
55
55
|
const bus = yield* Service82;
|
|
56
56
|
const decode = Schema.decodeUnknownSync(Value2);
|
|
57
57
|
const stored = (row) => {
|
|
58
58
|
if (!row.integration_id)
|
|
59
59
|
return;
|
|
60
|
-
return new
|
|
60
|
+
return new Info24({
|
|
61
61
|
id: row.id,
|
|
62
62
|
integrationID: row.integration_id,
|
|
63
63
|
label: row.label,
|
|
@@ -68,7 +68,7 @@ var layer = Layer.effect(Service80, Effect.gen(function* () {
|
|
|
68
68
|
const credential = stored(row);
|
|
69
69
|
return credential ? [credential] : [];
|
|
70
70
|
});
|
|
71
|
-
return
|
|
71
|
+
return Service63.of({
|
|
72
72
|
all: Effect.fn("Credential.all")(() => db.select().from(CredentialTable2).orderBy(asc(CredentialTable2.active), asc(CredentialTable2.time_created), asc(CredentialTable2.id)).all().pipe(Effect.orDie, Effect.map(storedRows))),
|
|
73
73
|
list: Effect.fn("Credential.list")((integrationID) => db.select().from(CredentialTable2).where(eq(CredentialTable2.integration_id, integrationID)).orderBy(asc(CredentialTable2.active), asc(CredentialTable2.time_created), asc(CredentialTable2.id)).all().pipe(Effect.orDie, Effect.map(storedRows))),
|
|
74
74
|
get: Effect.fn("Credential.get")(function* (id) {
|
|
@@ -76,8 +76,8 @@ var layer = Layer.effect(Service80, Effect.gen(function* () {
|
|
|
76
76
|
return row ? stored(row) : undefined;
|
|
77
77
|
}),
|
|
78
78
|
create: Effect.fn("Credential.create")(function* (input) {
|
|
79
|
-
const credential = new
|
|
80
|
-
id:
|
|
79
|
+
const credential = new Info24({
|
|
80
|
+
id: ID9.create(),
|
|
81
81
|
integrationID: input.integrationID,
|
|
82
82
|
label: input.label ?? "default",
|
|
83
83
|
value: input.value
|
|
@@ -101,8 +101,8 @@ var layer = Layer.effect(Service80, Effect.gen(function* () {
|
|
|
101
101
|
integrationID: credential.integrationID,
|
|
102
102
|
type: credential.value.type
|
|
103
103
|
});
|
|
104
|
-
yield* bus.publish(
|
|
105
|
-
yield* bus.publish(
|
|
104
|
+
yield* bus.publish(Event15.Updated, {}, { global: true });
|
|
105
|
+
yield* bus.publish(Event15.Switched, { integrationID: credential.integrationID, credentialID: credential.id }, { global: true });
|
|
106
106
|
return credential;
|
|
107
107
|
}),
|
|
108
108
|
activate: Effect.fn("Credential.activate")(function* (id) {
|
|
@@ -122,7 +122,7 @@ var layer = Layer.effect(Service80, Effect.gen(function* () {
|
|
|
122
122
|
})), Effect.orDie);
|
|
123
123
|
if (integrationID) {
|
|
124
124
|
yield* Effect.logInfo("credential activated", { integrationID, credentialID: id });
|
|
125
|
-
yield* bus.publish(
|
|
125
|
+
yield* bus.publish(Event15.Switched, { integrationID, credentialID: id }, { global: true });
|
|
126
126
|
}
|
|
127
127
|
}),
|
|
128
128
|
update: Effect.fn("Credential.update")(function* (id, updates) {
|
|
@@ -154,7 +154,7 @@ var layer = Layer.effect(Service80, Effect.gen(function* () {
|
|
|
154
154
|
labelChanged: updates.label !== undefined && updates.label !== credential.label
|
|
155
155
|
});
|
|
156
156
|
if (updates.label !== undefined && updates.label !== credential.label)
|
|
157
|
-
yield* bus.publish(
|
|
157
|
+
yield* bus.publish(Event15.Updated, {}, { global: true });
|
|
158
158
|
}),
|
|
159
159
|
remove: Effect.fn("Credential.remove")(function* (id) {
|
|
160
160
|
const removed = yield* db.transaction((tx) => Effect.gen(function* () {
|
|
@@ -187,12 +187,12 @@ var layer = Layer.effect(Service80, Effect.gen(function* () {
|
|
|
187
187
|
active: removed.switched,
|
|
188
188
|
...removed.switched ? { replacementID: removed.credentialID } : {}
|
|
189
189
|
});
|
|
190
|
-
yield* bus.publish(
|
|
190
|
+
yield* bus.publish(Event15.Updated, {}, { global: true });
|
|
191
191
|
if (removed.switched)
|
|
192
|
-
yield* bus.publish(
|
|
192
|
+
yield* bus.publish(Event15.Switched, { integrationID: removed.integrationID, credentialID: removed.credentialID }, { global: true });
|
|
193
193
|
})
|
|
194
194
|
});
|
|
195
195
|
}));
|
|
196
|
-
var
|
|
196
|
+
var node65 = makeGlobalNode({ service: Service63, layer, deps: [node87, node86] });
|
|
197
197
|
|
|
198
|
-
export {
|
|
198
|
+
export { ID9, OAuth3, Key3, Value2, Event15, Info24, Service63, node65, exports_credential };
|
|
@@ -1,118 +1,118 @@
|
|
|
1
1
|
import {
|
|
2
2
|
Service83,
|
|
3
3
|
node87
|
|
4
|
-
} from "./
|
|
4
|
+
} from "./workspace-8kdf092n.js";
|
|
5
5
|
import {
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
} from "./
|
|
6
|
+
Service79,
|
|
7
|
+
node83
|
|
8
|
+
} from "./workspace-pb8ac6tt.js";
|
|
9
9
|
import {
|
|
10
10
|
VariantID2,
|
|
11
11
|
Ref2,
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
} from "./
|
|
12
|
+
Service53,
|
|
13
|
+
node55
|
|
14
|
+
} from "./workspace-2ah6qvjc.js";
|
|
15
15
|
import {
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
} from "./
|
|
16
|
+
ID12,
|
|
17
|
+
Service67,
|
|
18
|
+
node70
|
|
19
|
+
} from "./workspace-kf9njbrh.js";
|
|
20
20
|
import {
|
|
21
21
|
AgentNotFoundError2
|
|
22
|
-
} from "./
|
|
22
|
+
} from "./workspace-mvwxevy0.js";
|
|
23
23
|
import {
|
|
24
24
|
combine2
|
|
25
|
-
} from "./
|
|
25
|
+
} from "./workspace-02nrjc1r.js";
|
|
26
26
|
import {
|
|
27
27
|
provenance2
|
|
28
|
-
} from "./
|
|
28
|
+
} from "./workspace-vj81g6vn.js";
|
|
29
29
|
import {
|
|
30
30
|
entriesForRunner2
|
|
31
|
-
} from "./
|
|
31
|
+
} from "./workspace-1k3mj0p1.js";
|
|
32
32
|
import {
|
|
33
|
-
|
|
34
|
-
|
|
35
|
-
} from "./
|
|
33
|
+
Service65,
|
|
34
|
+
node68
|
|
35
|
+
} from "./workspace-t8vry4vd.js";
|
|
36
36
|
import {
|
|
37
37
|
merge2
|
|
38
|
-
} from "./
|
|
38
|
+
} from "./workspace-a2p8e6yv.js";
|
|
39
39
|
import {
|
|
40
|
-
|
|
41
|
-
} from "./
|
|
40
|
+
make15
|
|
41
|
+
} from "./workspace-vs9zw531.js";
|
|
42
42
|
import {
|
|
43
|
-
|
|
44
|
-
|
|
45
|
-
} from "./
|
|
43
|
+
Service52,
|
|
44
|
+
node54
|
|
45
|
+
} from "./workspace-5g1v3qsj.js";
|
|
46
46
|
import {
|
|
47
|
-
|
|
48
|
-
|
|
49
|
-
} from "./
|
|
47
|
+
Service28,
|
|
48
|
+
node32
|
|
49
|
+
} from "./workspace-xdmdpdp3.js";
|
|
50
50
|
import {
|
|
51
|
-
|
|
52
|
-
|
|
53
|
-
} from "./
|
|
51
|
+
Service59,
|
|
52
|
+
node61
|
|
53
|
+
} from "./workspace-kkjsk8e7.js";
|
|
54
54
|
import {
|
|
55
|
-
|
|
56
|
-
|
|
57
|
-
} from "./
|
|
55
|
+
Service34,
|
|
56
|
+
node37
|
|
57
|
+
} from "./workspace-g1rm5mqm.js";
|
|
58
58
|
import {
|
|
59
|
-
|
|
60
|
-
|
|
61
|
-
} from "./
|
|
59
|
+
Service33,
|
|
60
|
+
node36
|
|
61
|
+
} from "./workspace-43gyje3p.js";
|
|
62
62
|
import {
|
|
63
|
-
|
|
64
|
-
|
|
65
|
-
} from "./
|
|
63
|
+
Service36,
|
|
64
|
+
node39
|
|
65
|
+
} from "./workspace-6v2wypzw.js";
|
|
66
66
|
import {
|
|
67
|
-
|
|
68
|
-
|
|
69
|
-
} from "./
|
|
67
|
+
Service29,
|
|
68
|
+
node33
|
|
69
|
+
} from "./workspace-8avk9g0x.js";
|
|
70
70
|
import {
|
|
71
71
|
Service27,
|
|
72
|
-
|
|
73
|
-
} from "./
|
|
72
|
+
node31
|
|
73
|
+
} from "./workspace-q1ktvany.js";
|
|
74
74
|
import {
|
|
75
|
-
|
|
76
|
-
|
|
77
|
-
} from "./
|
|
75
|
+
Service30,
|
|
76
|
+
node34
|
|
77
|
+
} from "./workspace-hw0pyphf.js";
|
|
78
78
|
import {
|
|
79
|
-
|
|
80
|
-
|
|
81
|
-
} from "./
|
|
79
|
+
Service41,
|
|
80
|
+
node43
|
|
81
|
+
} from "./workspace-nv5c50a2.js";
|
|
82
82
|
import {
|
|
83
83
|
__export
|
|
84
|
-
} from "./
|
|
84
|
+
} from "./workspace-9rqn6x4v.js";
|
|
85
85
|
|
|
86
86
|
// src/session/context.ts
|
|
87
87
|
var exports_context = {};
|
|
88
88
|
__export(exports_context, {
|
|
89
|
-
Service: () =>
|
|
89
|
+
Service: () => Service26,
|
|
90
90
|
SessionContext: () => exports_context,
|
|
91
|
-
node: () =>
|
|
91
|
+
node: () => node30
|
|
92
92
|
});
|
|
93
93
|
import { Context, Effect, Layer } from "effect";
|
|
94
94
|
import { makeLocationNode } from "@opencode/util/effect/app-node";
|
|
95
|
-
class
|
|
95
|
+
class Service26 extends Context.Service()("@opencode/SessionContext") {
|
|
96
96
|
}
|
|
97
|
-
var layer = Layer.effect(
|
|
98
|
-
const agents = yield*
|
|
99
|
-
const builtins = yield*
|
|
100
|
-
const model = yield*
|
|
97
|
+
var layer = Layer.effect(Service26, Effect.gen(function* () {
|
|
98
|
+
const agents = yield* Service67;
|
|
99
|
+
const builtins = yield* Service28;
|
|
100
|
+
const model = yield* Service53;
|
|
101
101
|
const db = (yield* Service83).db;
|
|
102
|
-
const discovery = yield*
|
|
102
|
+
const discovery = yield* Service52;
|
|
103
103
|
const entries = yield* Service27;
|
|
104
|
-
const location = yield*
|
|
105
|
-
const mcpInstructions = yield*
|
|
106
|
-
const mcpTools = yield*
|
|
107
|
-
const models = yield*
|
|
108
|
-
const request = yield*
|
|
109
|
-
const referenceInstructions = yield*
|
|
110
|
-
const skillInstructions = yield*
|
|
111
|
-
const store = yield*
|
|
112
|
-
const registry = yield*
|
|
104
|
+
const location = yield* Service79;
|
|
105
|
+
const mcpInstructions = yield* Service33;
|
|
106
|
+
const mcpTools = yield* Service34;
|
|
107
|
+
const models = yield* Service41;
|
|
108
|
+
const request = yield* Service30;
|
|
109
|
+
const referenceInstructions = yield* Service36;
|
|
110
|
+
const skillInstructions = yield* Service29;
|
|
111
|
+
const store = yield* Service65;
|
|
112
|
+
const registry = yield* Service59;
|
|
113
113
|
const resolveModel = (session) => models.resolve(session, model.available);
|
|
114
114
|
const selectTitle = Effect.fn("SessionContext.selectTitle")(function* (session) {
|
|
115
|
-
const agent = yield* agents.get(
|
|
115
|
+
const agent = yield* agents.get(ID12.make("title"));
|
|
116
116
|
if (!agent)
|
|
117
117
|
return;
|
|
118
118
|
const primary = yield* resolveModel(session).pipe(Effect.orElseSucceed(() => {
|
|
@@ -165,7 +165,7 @@ var layer = Layer.effect(Service18, Effect.gen(function* () {
|
|
|
165
165
|
agent: { ...agent, info: agent.info },
|
|
166
166
|
instructions: combine2([
|
|
167
167
|
loaded.builtins,
|
|
168
|
-
|
|
168
|
+
make15(loaded.tools.codeModeCatalog),
|
|
169
169
|
loaded.discovery,
|
|
170
170
|
loaded.skills,
|
|
171
171
|
loaded.references,
|
|
@@ -187,29 +187,29 @@ var layer = Layer.effect(Service18, Effect.gen(function* () {
|
|
|
187
187
|
tools: selection.tools
|
|
188
188
|
};
|
|
189
189
|
});
|
|
190
|
-
return
|
|
190
|
+
return Service26.of({ select, load, resolveModel, selectTitle, request });
|
|
191
191
|
}));
|
|
192
192
|
var MINIMAL_REASONING_VARIANTS = ["none", "minimal", "low"].map((id) => VariantID2.make(id));
|
|
193
|
-
var
|
|
194
|
-
service:
|
|
193
|
+
var node30 = makeLocationNode({
|
|
194
|
+
service: Service26,
|
|
195
195
|
layer,
|
|
196
196
|
deps: [
|
|
197
|
-
|
|
198
|
-
|
|
197
|
+
node70,
|
|
198
|
+
node55,
|
|
199
199
|
node87,
|
|
200
|
-
|
|
201
|
-
|
|
202
|
-
node30,
|
|
203
|
-
node79,
|
|
204
|
-
node24,
|
|
200
|
+
node32,
|
|
201
|
+
node54,
|
|
205
202
|
node31,
|
|
206
|
-
|
|
207
|
-
|
|
208
|
-
|
|
209
|
-
|
|
210
|
-
|
|
211
|
-
|
|
203
|
+
node83,
|
|
204
|
+
node36,
|
|
205
|
+
node37,
|
|
206
|
+
node39,
|
|
207
|
+
node43,
|
|
208
|
+
node34,
|
|
209
|
+
node68,
|
|
210
|
+
node33,
|
|
211
|
+
node61
|
|
212
212
|
]
|
|
213
213
|
});
|
|
214
214
|
|
|
215
|
-
export {
|
|
215
|
+
export { Service26, node30, exports_context };
|
|
@@ -1,34 +1,34 @@
|
|
|
1
1
|
import {
|
|
2
2
|
mergeOverlay2,
|
|
3
3
|
mergeHeaders2
|
|
4
|
-
} from "./
|
|
4
|
+
} from "./workspace-5xxye2p9.js";
|
|
5
5
|
import {
|
|
6
6
|
latest2,
|
|
7
|
-
|
|
8
|
-
} from "./
|
|
7
|
+
Service49
|
|
8
|
+
} from "./workspace-w2yh7emw.js";
|
|
9
9
|
import {
|
|
10
|
-
|
|
11
|
-
} from "./
|
|
10
|
+
resolve2
|
|
11
|
+
} from "./workspace-5ytc8238.js";
|
|
12
12
|
import {
|
|
13
13
|
observe2
|
|
14
|
-
} from "./
|
|
14
|
+
} from "./workspace-qsdy395h.js";
|
|
15
15
|
import {
|
|
16
16
|
__export
|
|
17
|
-
} from "./
|
|
17
|
+
} from "./workspace-9rqn6x4v.js";
|
|
18
18
|
|
|
19
19
|
// src/config/plugin/provider.ts
|
|
20
20
|
var exports_provider = {};
|
|
21
21
|
__export(exports_provider, {
|
|
22
22
|
ConfigProviderPlugin: () => exports_provider,
|
|
23
|
-
Plugin: () =>
|
|
23
|
+
Plugin: () => Plugin18
|
|
24
24
|
});
|
|
25
25
|
import { define } from "@opencode/plugin/effect/plugin";
|
|
26
26
|
import { Money } from "@opencode/schema/money";
|
|
27
27
|
import { Effect } from "effect";
|
|
28
|
-
var
|
|
28
|
+
var Plugin18 = define({
|
|
29
29
|
id: "opencode.config.provider",
|
|
30
30
|
effect: Effect.fn(function* (ctx) {
|
|
31
|
-
const config = yield*
|
|
31
|
+
const config = yield* Service49;
|
|
32
32
|
const loaded = yield* observe2(config, ctx.event, ctx.integration.reload().pipe(Effect.andThen(ctx.provider.reload())));
|
|
33
33
|
yield* ctx.integration.transform((integrations) => {
|
|
34
34
|
for (const [id, provider] of configuredProviders(loaded.entries)) {
|
|
@@ -185,7 +185,7 @@ var Plugin6 = define({
|
|
|
185
185
|
if (config.variants === undefined && !source?.base)
|
|
186
186
|
models.update(providerID, id, (model) => {
|
|
187
187
|
model.variants = [
|
|
188
|
-
...
|
|
188
|
+
...resolve2({
|
|
189
189
|
...model,
|
|
190
190
|
package: model.package ?? models.provider.get(providerID)?.provider.package
|
|
191
191
|
})
|
|
@@ -200,4 +200,4 @@ function configuredProviders(entries) {
|
|
|
200
200
|
return entries.filter((entry) => entry.type === "document").flatMap((file) => Object.entries(file.info.providers ?? {}));
|
|
201
201
|
}
|
|
202
202
|
|
|
203
|
-
export {
|
|
203
|
+
export { Plugin18, exports_provider };
|
|
@@ -1,32 +1,32 @@
|
|
|
1
1
|
import {
|
|
2
2
|
Service83,
|
|
3
3
|
node87
|
|
4
|
-
} from "./
|
|
4
|
+
} from "./workspace-8kdf092n.js";
|
|
5
5
|
import {
|
|
6
6
|
PermissionTable2
|
|
7
|
-
} from "./
|
|
7
|
+
} from "./workspace-f828m53h.js";
|
|
8
8
|
import {
|
|
9
9
|
__export
|
|
10
|
-
} from "./
|
|
10
|
+
} from "./workspace-9rqn6x4v.js";
|
|
11
11
|
|
|
12
12
|
// src/permission/saved.ts
|
|
13
13
|
var exports_saved = {};
|
|
14
14
|
__export(exports_saved, {
|
|
15
15
|
AddInput: () => AddInput2,
|
|
16
|
-
ID: () =>
|
|
17
|
-
Info: () =>
|
|
16
|
+
ID: () => ID11,
|
|
17
|
+
Info: () => Info26,
|
|
18
18
|
ListInput: () => ListInput4,
|
|
19
19
|
PermissionSaved: () => exports_saved,
|
|
20
|
-
Service: () =>
|
|
21
|
-
node: () =>
|
|
20
|
+
Service: () => Service66,
|
|
21
|
+
node: () => node69
|
|
22
22
|
});
|
|
23
23
|
import { eq } from "drizzle-orm";
|
|
24
24
|
import { Context, DateTime, Effect, Layer, Schema } from "effect";
|
|
25
25
|
import { Project } from "@opencode/schema/project";
|
|
26
26
|
import { makeGlobalNode } from "@opencode/util/effect/app-node";
|
|
27
27
|
import { PermissionSaved } from "@opencode/schema/permission-saved";
|
|
28
|
-
var
|
|
29
|
-
var
|
|
28
|
+
var ID11 = PermissionSaved.ID;
|
|
29
|
+
var Info26 = PermissionSaved.Info;
|
|
30
30
|
var ListInput4 = Schema.Struct({
|
|
31
31
|
projectID: Project.ID.pipe(Schema.optional)
|
|
32
32
|
}).annotate({ identifier: "PermissionSaved.ListInput" });
|
|
@@ -36,9 +36,9 @@ var AddInput2 = Schema.Struct({
|
|
|
36
36
|
resources: Schema.Array(Schema.String)
|
|
37
37
|
}).annotate({ identifier: "PermissionSaved.AddInput" });
|
|
38
38
|
|
|
39
|
-
class
|
|
39
|
+
class Service66 extends Context.Service()("@opencode/PermissionSaved") {
|
|
40
40
|
}
|
|
41
|
-
var layer = Layer.effect(
|
|
41
|
+
var layer = Layer.effect(Service66, Effect.gen(function* () {
|
|
42
42
|
const db = (yield* Service83).db;
|
|
43
43
|
const list = Effect.fnUntraced(function* (input) {
|
|
44
44
|
const rows = yield* db.select().from(PermissionTable2).where(input?.projectID ? eq(PermissionTable2.project_id, input.projectID) : undefined).all().pipe(Effect.orDie);
|
|
@@ -57,7 +57,7 @@ var layer = Layer.effect(Service68, Effect.gen(function* () {
|
|
|
57
57
|
if (!input.resources.length)
|
|
58
58
|
return;
|
|
59
59
|
yield* db.insert(PermissionTable2).values(input.resources.map((resource) => ({
|
|
60
|
-
id:
|
|
60
|
+
id: ID11.create(),
|
|
61
61
|
project_id: input.projectID,
|
|
62
62
|
action: input.action,
|
|
63
63
|
resource
|
|
@@ -66,8 +66,8 @@ var layer = Layer.effect(Service68, Effect.gen(function* () {
|
|
|
66
66
|
const remove = Effect.fn("PermissionSaved.remove")(function* (id) {
|
|
67
67
|
yield* db.delete(PermissionTable2).where(eq(PermissionTable2.id, id)).run().pipe(Effect.orDie);
|
|
68
68
|
});
|
|
69
|
-
return
|
|
69
|
+
return Service66.of({ list, add, remove });
|
|
70
70
|
}));
|
|
71
|
-
var
|
|
71
|
+
var node69 = makeGlobalNode({ service: Service66, layer, deps: [node87] });
|
|
72
72
|
|
|
73
|
-
export {
|
|
73
|
+
export { ID11, Info26, ListInput4, AddInput2, Service66, node69, exports_saved };
|
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
import {
|
|
2
|
-
|
|
3
|
-
} from "./
|
|
2
|
+
Service74
|
|
3
|
+
} from "./workspace-sz6xpjfh.js";
|
|
4
4
|
import {
|
|
5
5
|
__export
|
|
6
|
-
} from "./
|
|
6
|
+
} from "./workspace-9rqn6x4v.js";
|
|
7
7
|
|
|
8
8
|
// src/mcp/stdio.ts
|
|
9
9
|
var exports_stdio = {};
|
|
@@ -19,7 +19,7 @@ var FORCE_KILL_AFTER = Duration.seconds(2);
|
|
|
19
19
|
var OUTGOING_CAPACITY = 64;
|
|
20
20
|
var MAX_FRAME_BYTES = 16 * 1024 * 1024;
|
|
21
21
|
var make2 = Effect.fnUntraced(function* (options) {
|
|
22
|
-
const environment = yield*
|
|
22
|
+
const environment = yield* Service74;
|
|
23
23
|
const scope = yield* Effect.scope;
|
|
24
24
|
const outgoing = yield* Queue.bounded(OUTGOING_CAPACITY);
|
|
25
25
|
const buffer = new ReadBuffer;
|
|
@@ -5,15 +5,15 @@ import {
|
|
|
5
5
|
ModelInitializationError3,
|
|
6
6
|
UnresolvedProviderVariablesError3,
|
|
7
7
|
UnsupportedCompactionError3,
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
} from "./
|
|
8
|
+
Service43,
|
|
9
|
+
node45
|
|
10
|
+
} from "./workspace-kxpywdsa.js";
|
|
11
11
|
import {
|
|
12
12
|
SessionSchema2
|
|
13
|
-
} from "./
|
|
13
|
+
} from "./workspace-dm1py9b3.js";
|
|
14
14
|
import {
|
|
15
15
|
__export
|
|
16
|
-
} from "./
|
|
16
|
+
} from "./workspace-9rqn6x4v.js";
|
|
17
17
|
|
|
18
18
|
// src/session/runner/model.ts
|
|
19
19
|
var exports_model = {};
|
|
@@ -22,13 +22,13 @@ __export(exports_model, {
|
|
|
22
22
|
ModelInitializationError: () => ModelInitializationError2,
|
|
23
23
|
ModelNotSelectedError: () => ModelNotSelectedError2,
|
|
24
24
|
ModelUnavailableError: () => ModelUnavailableError2,
|
|
25
|
-
Service: () =>
|
|
25
|
+
Service: () => Service41,
|
|
26
26
|
SessionRunnerModel: () => exports_model,
|
|
27
27
|
UnresolvedProviderVariablesError: () => UnresolvedProviderVariablesError2,
|
|
28
28
|
UnsupportedCompactionError: () => UnsupportedCompactionError2,
|
|
29
29
|
UnsupportedPackageError: () => UnsupportedPackageError2,
|
|
30
30
|
VariantUnavailableError: () => VariantUnavailableError2,
|
|
31
|
-
node: () =>
|
|
31
|
+
node: () => node43,
|
|
32
32
|
resolved: () => resolved2
|
|
33
33
|
});
|
|
34
34
|
import { makeLocationNode } from "@opencode/util/effect/app-node";
|
|
@@ -57,7 +57,7 @@ var ModelInitializationError2 = ModelInitializationError3;
|
|
|
57
57
|
var UnresolvedProviderVariablesError2 = UnresolvedProviderVariablesError3;
|
|
58
58
|
var UnsupportedCompactionError2 = UnsupportedCompactionError3;
|
|
59
59
|
|
|
60
|
-
class
|
|
60
|
+
class Service41 extends Context.Service()("@opencode/SessionRunnerModel") {
|
|
61
61
|
}
|
|
62
62
|
var resolved2 = (model, options) => ({
|
|
63
63
|
model,
|
|
@@ -72,9 +72,9 @@ var resolved2 = (model, options) => ({
|
|
|
72
72
|
compaction: options.compaction,
|
|
73
73
|
transport: options.transport
|
|
74
74
|
});
|
|
75
|
-
var layer = Layer.effect(
|
|
76
|
-
const resolver = yield*
|
|
77
|
-
return
|
|
75
|
+
var layer = Layer.effect(Service41, Effect.gen(function* () {
|
|
76
|
+
const resolver = yield* Service43;
|
|
77
|
+
return Service41.of({
|
|
78
78
|
resolve: Effect.fn("SessionRunnerModel.resolve")(function* (session, available) {
|
|
79
79
|
if (!session.model) {
|
|
80
80
|
const resolved = yield* resolver.resolve();
|
|
@@ -92,6 +92,6 @@ var layer = Layer.effect(Service61, Effect.gen(function* () {
|
|
|
92
92
|
})
|
|
93
93
|
});
|
|
94
94
|
}));
|
|
95
|
-
var
|
|
95
|
+
var node43 = makeLocationNode({ service: Service41, layer, deps: [node45] });
|
|
96
96
|
|
|
97
|
-
export { ModelNotSelectedError2, ModelUnavailableError2, VariantUnavailableError2, UnsupportedPackageError2, ModelConfigurationError2, ModelInitializationError2, UnresolvedProviderVariablesError2, UnsupportedCompactionError2,
|
|
97
|
+
export { ModelNotSelectedError2, ModelUnavailableError2, VariantUnavailableError2, UnsupportedPackageError2, ModelConfigurationError2, ModelInitializationError2, UnresolvedProviderVariablesError2, UnsupportedCompactionError2, Service41, resolved2, node43, exports_model };
|