@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,47 +1,47 @@
|
|
|
1
1
|
import {
|
|
2
2
|
Service82,
|
|
3
3
|
node86
|
|
4
|
-
} from "./
|
|
4
|
+
} from "./workspace-9n3na3w3.js";
|
|
5
5
|
import {
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
} from "./
|
|
6
|
+
Service35,
|
|
7
|
+
node38
|
|
8
|
+
} from "./workspace-pkt9pf4t.js";
|
|
9
9
|
import {
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
} from "./
|
|
10
|
+
Service64,
|
|
11
|
+
node67
|
|
12
|
+
} from "./workspace-a2p8e6yv.js";
|
|
13
13
|
import {
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
} from "./
|
|
14
|
+
Service59,
|
|
15
|
+
node61
|
|
16
|
+
} from "./workspace-kkjsk8e7.js";
|
|
17
17
|
import {
|
|
18
18
|
__export
|
|
19
|
-
} from "./
|
|
19
|
+
} from "./workspace-9rqn6x4v.js";
|
|
20
20
|
|
|
21
21
|
// src/tool/mcp.ts
|
|
22
22
|
var exports_mcp3 = {};
|
|
23
23
|
__export(exports_mcp3, {
|
|
24
24
|
McpTool: () => exports_mcp3,
|
|
25
|
-
Service: () =>
|
|
25
|
+
Service: () => Service34,
|
|
26
26
|
layer: () => layer13,
|
|
27
|
-
name: () =>
|
|
27
|
+
name: () => name14,
|
|
28
28
|
namespace: () => namespace2,
|
|
29
|
-
node: () =>
|
|
29
|
+
node: () => node37
|
|
30
30
|
});
|
|
31
31
|
import { ToolFailure } from "@opencode/ai";
|
|
32
32
|
import { McpEvent } from "@opencode/schema/mcp-event";
|
|
33
33
|
import { Context, Effect, Fiber, Layer, PubSub, Semaphore, Stream } from "effect";
|
|
34
34
|
import { makeLocationNode } from "@opencode/util/effect/app-node";
|
|
35
35
|
var namespace2 = (server) => server.replace(/[^a-zA-Z0-9_-]/g, "_");
|
|
36
|
-
var
|
|
36
|
+
var name14 = (server, tool) => `${namespace2(server)}_${tool.replace(/[^a-zA-Z0-9_-]/g, "_")}`;
|
|
37
37
|
|
|
38
|
-
class
|
|
38
|
+
class Service34 extends Context.Service()("@opencode/McpTool") {
|
|
39
39
|
}
|
|
40
|
-
var layer13 = Layer.effect(
|
|
41
|
-
const mcp = yield*
|
|
42
|
-
const tools = yield*
|
|
40
|
+
var layer13 = Layer.effect(Service34, Effect.gen(function* () {
|
|
41
|
+
const mcp = yield* Service35;
|
|
42
|
+
const tools = yield* Service59;
|
|
43
43
|
const bus = yield* Service82;
|
|
44
|
-
const permission = yield*
|
|
44
|
+
const permission = yield* Service64;
|
|
45
45
|
const lock = Semaphore.makeUnsafe(1);
|
|
46
46
|
let discovered = [];
|
|
47
47
|
const initial = yield* lock.withPermit(Effect.gen(function* () {
|
|
@@ -56,7 +56,7 @@ var layer13 = Layer.effect(Service28, Effect.gen(function* () {
|
|
|
56
56
|
output: tool.outputSchema ?? {},
|
|
57
57
|
execute: (input, context) => Effect.gen(function* () {
|
|
58
58
|
yield* permission.assert({
|
|
59
|
-
action:
|
|
59
|
+
action: name14(tool.server, tool.name),
|
|
60
60
|
resources: ["*"],
|
|
61
61
|
save: ["*"],
|
|
62
62
|
metadata: {},
|
|
@@ -105,7 +105,7 @@ var layer13 = Layer.effect(Service28, Effect.gen(function* () {
|
|
|
105
105
|
output: output(),
|
|
106
106
|
...content.length === 0 ? {} : { content }
|
|
107
107
|
};
|
|
108
|
-
}).pipe(Effect.mapError((error) => error instanceof ToolFailure ? error : new ToolFailure({ message: `Unable to execute ${
|
|
108
|
+
}).pipe(Effect.mapError((error) => error instanceof ToolFailure ? error : new ToolFailure({ message: `Unable to execute ${name14(tool.server, tool.name)}` })))
|
|
109
109
|
});
|
|
110
110
|
}
|
|
111
111
|
});
|
|
@@ -118,12 +118,12 @@ var layer13 = Layer.effect(Service28, Effect.gen(function* () {
|
|
|
118
118
|
yield* bus.subscribe(McpEvent.ToolsChanged).pipe(Stream.runForEach(() => PubSub.publish(changes, undefined)), Effect.forkScoped({ startImmediately: true }));
|
|
119
119
|
const updates = yield* PubSub.subscribe(changes);
|
|
120
120
|
yield* Stream.fromSubscription(updates).pipe(Stream.debounce("100 millis"), Stream.runForEach(() => reconcile), Effect.forkScoped({ startImmediately: true }));
|
|
121
|
-
return
|
|
121
|
+
return Service34.of({ flush: Effect.asVoid(Fiber.await(initial)) });
|
|
122
122
|
}));
|
|
123
|
-
var
|
|
124
|
-
service:
|
|
123
|
+
var node37 = makeLocationNode({
|
|
124
|
+
service: Service34,
|
|
125
125
|
layer: layer13,
|
|
126
|
-
deps: [
|
|
126
|
+
deps: [node61, node38, node86, node67]
|
|
127
127
|
});
|
|
128
128
|
|
|
129
|
-
export { namespace2,
|
|
129
|
+
export { namespace2, name14, Service34, layer13, node37, exports_mcp3 };
|
|
@@ -1,10 +1,10 @@
|
|
|
1
1
|
import {
|
|
2
2
|
AbsolutePath2,
|
|
3
3
|
RelativePath2
|
|
4
|
-
} from "./
|
|
4
|
+
} from "./workspace-922hggd3.js";
|
|
5
5
|
import {
|
|
6
6
|
SessionSchema2
|
|
7
|
-
} from "./
|
|
7
|
+
} from "./workspace-dm1py9b3.js";
|
|
8
8
|
|
|
9
9
|
// src/session/info.ts
|
|
10
10
|
import { DateTime, Schema } from "effect";
|
|
@@ -1,30 +1,30 @@
|
|
|
1
1
|
import {
|
|
2
2
|
latest2,
|
|
3
|
-
Service50
|
|
4
|
-
} from "./integration-vte0rfzv.js";
|
|
5
|
-
import {
|
|
6
3
|
Service49
|
|
7
|
-
} from "./
|
|
4
|
+
} from "./workspace-w2yh7emw.js";
|
|
5
|
+
import {
|
|
6
|
+
Service78
|
|
7
|
+
} from "./workspace-mh5wyt4r.js";
|
|
8
8
|
import {
|
|
9
9
|
observe2
|
|
10
|
-
} from "./
|
|
10
|
+
} from "./workspace-qsdy395h.js";
|
|
11
11
|
import {
|
|
12
12
|
__export
|
|
13
|
-
} from "./
|
|
13
|
+
} from "./workspace-9rqn6x4v.js";
|
|
14
14
|
|
|
15
15
|
// src/config/plugin/shell.ts
|
|
16
16
|
var exports_shell = {};
|
|
17
17
|
__export(exports_shell, {
|
|
18
18
|
ConfigShellPlugin: () => exports_shell,
|
|
19
|
-
Plugin: () =>
|
|
19
|
+
Plugin: () => Plugin11
|
|
20
20
|
});
|
|
21
21
|
import { define } from "@opencode/plugin/effect/plugin";
|
|
22
22
|
import { Effect } from "effect";
|
|
23
|
-
var
|
|
23
|
+
var Plugin11 = define({
|
|
24
24
|
id: "opencode.config.shell",
|
|
25
25
|
effect: Effect.fn(function* (ctx) {
|
|
26
|
-
const config = yield*
|
|
27
|
-
const shell = yield*
|
|
26
|
+
const config = yield* Service49;
|
|
27
|
+
const shell = yield* Service78;
|
|
28
28
|
const loaded = yield* observe2(config, ctx.event, shell.reload());
|
|
29
29
|
yield* shell.transform((editor) => {
|
|
30
30
|
const configured = latest2(loaded.entries, "shell");
|
|
@@ -34,4 +34,4 @@ var Plugin20 = define({
|
|
|
34
34
|
})
|
|
35
35
|
});
|
|
36
36
|
|
|
37
|
-
export {
|
|
37
|
+
export { Plugin11, exports_shell };
|
|
@@ -1,57 +1,57 @@
|
|
|
1
1
|
import {
|
|
2
2
|
Service83
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./workspace-8kdf092n.js";
|
|
4
4
|
import {
|
|
5
5
|
Service82
|
|
6
|
-
} from "./
|
|
6
|
+
} from "./workspace-9n3na3w3.js";
|
|
7
7
|
import {
|
|
8
|
-
|
|
9
|
-
} from "./
|
|
8
|
+
Service42
|
|
9
|
+
} from "./workspace-sxzvkvgj.js";
|
|
10
10
|
import {
|
|
11
11
|
userNotification2
|
|
12
|
-
} from "./
|
|
12
|
+
} from "./workspace-fxbjtjnd.js";
|
|
13
13
|
import {
|
|
14
14
|
SessionMessage2
|
|
15
|
-
} from "./
|
|
15
|
+
} from "./workspace-gftt206x.js";
|
|
16
16
|
import {
|
|
17
|
-
|
|
17
|
+
NotFoundError6,
|
|
18
18
|
PromptConflictError2,
|
|
19
19
|
SyntheticConflictError2,
|
|
20
20
|
CompactionConflictError2,
|
|
21
21
|
BusyError2,
|
|
22
22
|
InboxConflictError2
|
|
23
|
-
} from "./
|
|
23
|
+
} from "./workspace-mvwxevy0.js";
|
|
24
24
|
import {
|
|
25
25
|
SessionEvent2
|
|
26
|
-
} from "./
|
|
26
|
+
} from "./workspace-ec1grn59.js";
|
|
27
27
|
import {
|
|
28
|
-
|
|
29
|
-
} from "./
|
|
28
|
+
Service65
|
|
29
|
+
} from "./workspace-t8vry4vd.js";
|
|
30
30
|
import {
|
|
31
31
|
Delivery2,
|
|
32
32
|
SyntheticPayload2,
|
|
33
|
-
|
|
34
|
-
} from "./
|
|
33
|
+
Service40
|
|
34
|
+
} from "./workspace-hs38nzf0.js";
|
|
35
35
|
import {
|
|
36
|
-
|
|
37
|
-
} from "./
|
|
36
|
+
Service38
|
|
37
|
+
} from "./workspace-q1rhxq0z.js";
|
|
38
38
|
import {
|
|
39
39
|
prepare2
|
|
40
|
-
} from "./
|
|
40
|
+
} from "./workspace-qzb1h3va.js";
|
|
41
41
|
import {
|
|
42
42
|
stage2,
|
|
43
43
|
clear2,
|
|
44
44
|
commit2
|
|
45
|
-
} from "./
|
|
45
|
+
} from "./workspace-tvv0avb7.js";
|
|
46
46
|
import {
|
|
47
47
|
start2
|
|
48
|
-
} from "./
|
|
48
|
+
} from "./workspace-7rbsm7e1.js";
|
|
49
49
|
import {
|
|
50
50
|
get4
|
|
51
|
-
} from "./
|
|
51
|
+
} from "./workspace-31p7sczw.js";
|
|
52
52
|
import {
|
|
53
53
|
__export
|
|
54
|
-
} from "./
|
|
54
|
+
} from "./workspace-9rqn6x4v.js";
|
|
55
55
|
|
|
56
56
|
// src/session/session.ts
|
|
57
57
|
var exports_session2 = {};
|
|
@@ -65,16 +65,16 @@ import { FSUtil } from "@opencode/util/fs-util";
|
|
|
65
65
|
var make13 = Effect.fn("Session.make")(function* () {
|
|
66
66
|
const bus = yield* Service82;
|
|
67
67
|
const database = yield* Service83;
|
|
68
|
-
const store = yield*
|
|
69
|
-
const instances = yield*
|
|
70
|
-
const execution = yield*
|
|
71
|
-
const admission = yield*
|
|
68
|
+
const store = yield* Service65;
|
|
69
|
+
const instances = yield* Service42;
|
|
70
|
+
const execution = yield* Service38;
|
|
71
|
+
const admission = yield* Service40;
|
|
72
72
|
const fs = yield* FSUtil.Service;
|
|
73
73
|
const scope = yield* Scope.Scope;
|
|
74
74
|
const get = Effect.fn("Session.get")(function* (sessionID) {
|
|
75
75
|
const session = yield* store.get(sessionID);
|
|
76
76
|
if (!session)
|
|
77
|
-
return yield* new
|
|
77
|
+
return yield* new NotFoundError6({ sessionID });
|
|
78
78
|
return session;
|
|
79
79
|
});
|
|
80
80
|
const message = Effect.fn("Session.message")(function* (sessionID, messageID) {
|
|
@@ -131,7 +131,7 @@ var make13 = Effect.fn("Session.make")(function* () {
|
|
|
131
131
|
});
|
|
132
132
|
if (existing)
|
|
133
133
|
return existing;
|
|
134
|
-
const item = yield* restore(prepare2({ session, messageID, input }).pipe(Effect.provideService(
|
|
134
|
+
const item = yield* restore(prepare2({ session, messageID, input }).pipe(Effect.provideService(Service42, instances), Effect.provideService(FSUtil.Service, fs)));
|
|
135
135
|
if (session.revert)
|
|
136
136
|
yield* commit2(bus, session);
|
|
137
137
|
return yield* admission.admit({
|
|
@@ -147,7 +147,7 @@ var make13 = Effect.fn("Session.make")(function* () {
|
|
|
147
147
|
const shell = Effect.fn("Session.shell")(function* (sessionID, input) {
|
|
148
148
|
const session = yield* get(sessionID);
|
|
149
149
|
const running = yield* Effect.gen(function* () {
|
|
150
|
-
const started = yield* start2({ session, command: input.command }).pipe(Effect.provideService(
|
|
150
|
+
const started = yield* start2({ session, command: input.command }).pipe(Effect.provideService(Service42, instances), Effect.tapError((error) => synthetic(sessionID, {
|
|
151
151
|
text: `User shell command failed to start:
|
|
152
152
|
${input.command}
|
|
153
153
|
|
|
@@ -176,7 +176,7 @@ ${error.message}`,
|
|
|
176
176
|
});
|
|
177
177
|
const skill = Effect.fn("Session.skill")(function* (sessionID, input) {
|
|
178
178
|
const session = yield* get(sessionID);
|
|
179
|
-
const skill = yield* get4({ session, skill: input.skill }).pipe(Effect.provideService(
|
|
179
|
+
const skill = yield* get4({ session, skill: input.skill }).pipe(Effect.provideService(Service42, instances));
|
|
180
180
|
yield* bus.publish(SessionEvent2.Skill.Activated, {
|
|
181
181
|
sessionID,
|
|
182
182
|
id: skill.id,
|
|
@@ -233,13 +233,13 @@ ${error.message}`,
|
|
|
233
233
|
const session = yield* get(sessionID);
|
|
234
234
|
if (yield* execution.isActive(sessionID))
|
|
235
235
|
return yield* new BusyError2({ sessionID });
|
|
236
|
-
return yield* stage2({ session, messageID: input.messageID, files: input.files }).pipe(Effect.provideService(
|
|
236
|
+
return yield* stage2({ session, messageID: input.messageID, files: input.files }).pipe(Effect.provideService(Service42, instances), Effect.provideService(Service83, database), Effect.provideService(Service82, bus));
|
|
237
237
|
});
|
|
238
238
|
const clear = Effect.fn("Session.revert.clear")(function* (sessionID) {
|
|
239
239
|
const session = yield* get(sessionID);
|
|
240
240
|
if (yield* execution.isActive(sessionID))
|
|
241
241
|
return yield* new BusyError2({ sessionID });
|
|
242
|
-
yield* clear2(session).pipe(Effect.provideService(
|
|
242
|
+
yield* clear2(session).pipe(Effect.provideService(Service42, instances), Effect.provideService(Service82, bus));
|
|
243
243
|
return yield* execution.wake(sessionID);
|
|
244
244
|
});
|
|
245
245
|
const commit = Effect.fn("Session.revert.commit")(function* (sessionID) {
|
|
@@ -1,29 +1,29 @@
|
|
|
1
1
|
import {
|
|
2
|
-
|
|
3
|
-
} from "./
|
|
2
|
+
Service69
|
|
3
|
+
} from "./workspace-2dza1j1w.js";
|
|
4
4
|
import {
|
|
5
|
-
|
|
6
|
-
} from "./
|
|
5
|
+
Service64
|
|
6
|
+
} from "./workspace-a2p8e6yv.js";
|
|
7
7
|
import {
|
|
8
8
|
__export
|
|
9
|
-
} from "./
|
|
9
|
+
} from "./workspace-9rqn6x4v.js";
|
|
10
10
|
|
|
11
11
|
// src/tool/plugin/question.ts
|
|
12
12
|
var exports_question = {};
|
|
13
13
|
__export(exports_question, {
|
|
14
14
|
CancelledError: () => CancelledError2,
|
|
15
|
-
Input: () =>
|
|
15
|
+
Input: () => Input14,
|
|
16
16
|
Output: () => Output9,
|
|
17
17
|
Plugin: () => Plugin47,
|
|
18
18
|
QuestionTool: () => exports_question,
|
|
19
19
|
description: () => description6,
|
|
20
|
-
name: () =>
|
|
20
|
+
name: () => name13,
|
|
21
21
|
toModelContent: () => toModelContent7
|
|
22
22
|
});
|
|
23
23
|
import { ToolFailure } from "@opencode/ai";
|
|
24
24
|
import { Effect, Schema } from "effect";
|
|
25
25
|
import { Question } from "@opencode/schema/question";
|
|
26
|
-
var
|
|
26
|
+
var name13 = "question";
|
|
27
27
|
var description6 = `Use this tool when you need to ask the user questions during execution. This allows you to:
|
|
28
28
|
1. Gather user preferences or requirements
|
|
29
29
|
2. Clarify ambiguous instructions
|
|
@@ -34,7 +34,7 @@ Usage notes:
|
|
|
34
34
|
- A "Type your own answer" option is added automatically; don't include a separate option for free form answers
|
|
35
35
|
- Set \`multiple: true\` to allow selecting more than one option
|
|
36
36
|
- If you recommend a specific option, make that the first option in the list and add "(Recommended)" at the end of the label`;
|
|
37
|
-
var
|
|
37
|
+
var Input14 = Schema.Struct({
|
|
38
38
|
questions: Schema.Array(Question.Prompt).check(Schema.isNonEmpty()).annotate({ description: "Questions to ask" })
|
|
39
39
|
});
|
|
40
40
|
var Output9 = Schema.Struct({
|
|
@@ -53,13 +53,13 @@ var toModelContent7 = (questions, answers) => {
|
|
|
53
53
|
var Plugin47 = {
|
|
54
54
|
id: "opencode.tool.question",
|
|
55
55
|
effect: Effect.fn("QuestionTool.Plugin")(function* (ctx) {
|
|
56
|
-
const forms = yield*
|
|
57
|
-
const permission = yield*
|
|
56
|
+
const forms = yield* Service69;
|
|
57
|
+
const permission = yield* Service64;
|
|
58
58
|
yield* ctx.tool.transform((editor) => editor.add({
|
|
59
|
-
name:
|
|
59
|
+
name: name13,
|
|
60
60
|
options: { codemode: false },
|
|
61
61
|
description: description6,
|
|
62
|
-
input:
|
|
62
|
+
input: Input14,
|
|
63
63
|
output: Output9,
|
|
64
64
|
execute: (input, context) => permission.assert({
|
|
65
65
|
action: "question",
|
|
@@ -115,4 +115,4 @@ function toField(question, index) {
|
|
|
115
115
|
};
|
|
116
116
|
}
|
|
117
117
|
|
|
118
|
-
export {
|
|
118
|
+
export { name13, description6, Input14, Output9, CancelledError2, toModelContent7, Plugin47, exports_question };
|
|
@@ -1,62 +1,62 @@
|
|
|
1
1
|
import {
|
|
2
2
|
NonNegativeInt2
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./workspace-922hggd3.js";
|
|
4
4
|
import {
|
|
5
5
|
latest2,
|
|
6
|
-
|
|
7
|
-
} from "./
|
|
6
|
+
Service49
|
|
7
|
+
} from "./workspace-w2yh7emw.js";
|
|
8
8
|
import {
|
|
9
9
|
typeFollowing2
|
|
10
|
-
} from "./
|
|
10
|
+
} from "./workspace-2a5m3afh.js";
|
|
11
11
|
import {
|
|
12
|
-
|
|
13
|
-
} from "./
|
|
12
|
+
Service74
|
|
13
|
+
} from "./workspace-sz6xpjfh.js";
|
|
14
14
|
import {
|
|
15
|
-
|
|
16
|
-
} from "./
|
|
15
|
+
Service55
|
|
16
|
+
} from "./workspace-8rxwgq24.js";
|
|
17
17
|
import {
|
|
18
|
-
|
|
19
|
-
} from "./
|
|
18
|
+
Service64
|
|
19
|
+
} from "./workspace-a2p8e6yv.js";
|
|
20
20
|
import {
|
|
21
|
-
|
|
21
|
+
Service14,
|
|
22
22
|
resolvePath2
|
|
23
|
-
} from "./
|
|
23
|
+
} from "./workspace-vys1b9hh.js";
|
|
24
24
|
import {
|
|
25
25
|
output2,
|
|
26
26
|
notice2,
|
|
27
27
|
metadata2,
|
|
28
28
|
notification2
|
|
29
|
-
} from "./
|
|
29
|
+
} from "./workspace-fxbjtjnd.js";
|
|
30
30
|
import {
|
|
31
|
-
|
|
31
|
+
Service78,
|
|
32
32
|
name15
|
|
33
|
-
} from "./
|
|
33
|
+
} from "./workspace-mh5wyt4r.js";
|
|
34
34
|
import {
|
|
35
|
-
|
|
35
|
+
NotFoundError4,
|
|
36
36
|
Service47
|
|
37
|
-
} from "./
|
|
37
|
+
} from "./workspace-8kwg9t8a.js";
|
|
38
38
|
import {
|
|
39
|
-
|
|
40
|
-
} from "./
|
|
39
|
+
Service24
|
|
40
|
+
} from "./workspace-w1ym5bz3.js";
|
|
41
41
|
import {
|
|
42
42
|
scan2
|
|
43
|
-
} from "./
|
|
43
|
+
} from "./workspace-6914g88p.js";
|
|
44
44
|
import {
|
|
45
45
|
__export
|
|
46
|
-
} from "./
|
|
46
|
+
} from "./workspace-9rqn6x4v.js";
|
|
47
47
|
|
|
48
48
|
// src/tool/plugin/shell.ts
|
|
49
49
|
var exports_shell2 = {};
|
|
50
50
|
__export(exports_shell2, {
|
|
51
51
|
DEFAULT_TIMEOUT_MS: () => DEFAULT_TIMEOUT_MS2,
|
|
52
|
-
Input: () =>
|
|
52
|
+
Input: () => Input9,
|
|
53
53
|
Plugin: () => Plugin41,
|
|
54
54
|
ShellTool: () => exports_shell2,
|
|
55
|
-
name: () =>
|
|
55
|
+
name: () => name9
|
|
56
56
|
});
|
|
57
57
|
import { ToolFailure } from "@opencode/ai";
|
|
58
58
|
import { Deferred, Effect, Schema, Scope } from "effect";
|
|
59
|
-
var
|
|
59
|
+
var name9 = "shell";
|
|
60
60
|
var DEFAULT_TIMEOUT_MS2 = 2 * 60 * 1000;
|
|
61
61
|
var BACKGROUND_INSTRUCTION = "You will be notified automatically when the command finishes. The notification will include the command's output. Unless the user explicitly asks otherwise, DO NOT poll for completion, even if you need the final result to continue. Repeatedly sleeping and reading or searching the output file is polling, not useful work. You may read the current output if it lets you do useful work now, but do not repeatedly check it while waiting for the command to finish. Keep working on anything that does not depend on the result. If you have nothing else to do, end your response; you will be resumed automatically when the command finishes.";
|
|
62
62
|
var OS = process.platform === "darwin" ? "macOS" : process.platform === "win32" ? "Windows" : process.platform === "linux" ? "Linux" : process.platform;
|
|
@@ -70,7 +70,7 @@ var description = (shell) => [
|
|
|
70
70
|
"Commands accept an optional timeout, background commands have no timeout by default.",
|
|
71
71
|
"Background commands return immediately, and you will be notified when they complete."
|
|
72
72
|
].join(" ");
|
|
73
|
-
var
|
|
73
|
+
var Input9 = Schema.Struct({
|
|
74
74
|
command: Schema.String.annotate({ description: "Shell command string to execute" }),
|
|
75
75
|
workdir: Schema.optionalKey(Schema.String).annotate({
|
|
76
76
|
description: "Working directory to execute the command in. Defaults to the current working directory. When possible, avoid changing directories in the command and set the working directory here instead."
|
|
@@ -118,16 +118,16 @@ Output is streaming to: ${file}`,
|
|
|
118
118
|
var Plugin41 = {
|
|
119
119
|
id: "opencode.tool.shell",
|
|
120
120
|
effect: Effect.fn("ShellTool.Plugin")(function* (ctx) {
|
|
121
|
-
const sessions = yield*
|
|
122
|
-
const jobs = yield*
|
|
121
|
+
const sessions = yield* Service24;
|
|
122
|
+
const jobs = yield* Service55;
|
|
123
123
|
const scope = yield* Scope.Scope;
|
|
124
|
-
const environment = yield*
|
|
125
|
-
const access = yield*
|
|
124
|
+
const environment = yield* Service74;
|
|
125
|
+
const access = yield* Service14;
|
|
126
126
|
const shell = yield* Service47;
|
|
127
|
-
const shellSelect = yield*
|
|
127
|
+
const shellSelect = yield* Service78;
|
|
128
128
|
const compatibleShell = shellSelect.resolve({ priority: "compat" });
|
|
129
|
-
const permission = yield*
|
|
130
|
-
const config = yield*
|
|
129
|
+
const permission = yield* Service64;
|
|
130
|
+
const config = yield* Service49;
|
|
131
131
|
const prepare = Effect.fn("ShellTool.prepare")(function* (invocation, context) {
|
|
132
132
|
const source = {
|
|
133
133
|
type: "tool",
|
|
@@ -146,7 +146,7 @@ var Plugin41 = {
|
|
|
146
146
|
yield* access.authorizeExternal([target, ...directories], context);
|
|
147
147
|
if (parsed.commands.length > 0)
|
|
148
148
|
yield* permission.assert({
|
|
149
|
-
action:
|
|
149
|
+
action: name9,
|
|
150
150
|
resources: parsed.commands.map((command) => command.resource),
|
|
151
151
|
save: parsed.commands.map((command) => command.save),
|
|
152
152
|
sessionID: context.sessionID,
|
|
@@ -183,10 +183,10 @@ var Plugin41 = {
|
|
|
183
183
|
yield* jobs.completeBackground(info.notificationID);
|
|
184
184
|
}, Effect.forkIn(scope, { startImmediately: true }));
|
|
185
185
|
yield* ctx.tool.transform((editor) => editor.add({
|
|
186
|
-
name:
|
|
186
|
+
name: name9,
|
|
187
187
|
options: { codemode: false },
|
|
188
188
|
description: description(),
|
|
189
|
-
input:
|
|
189
|
+
input: Input9,
|
|
190
190
|
output: Output,
|
|
191
191
|
execute: (input, context) => Effect.gen(function* () {
|
|
192
192
|
const timeout = input.background === true ? input.timeout ?? 0 : input.timeout ?? DEFAULT_TIMEOUT_MS2;
|
|
@@ -205,7 +205,7 @@ var Plugin41 = {
|
|
|
205
205
|
const run = Effect.gen(function* () {
|
|
206
206
|
const result = yield* shell.result(info);
|
|
207
207
|
if (!result.capture)
|
|
208
|
-
return yield* new
|
|
208
|
+
return yield* new NotFoundError4({ id: info.id });
|
|
209
209
|
const output = output2(result);
|
|
210
210
|
return {
|
|
211
211
|
...output,
|
|
@@ -219,7 +219,7 @@ Command exceeded timeout of ${finalTimeout} ms. Retry with a larger timeout if t
|
|
|
219
219
|
`)), Effect.onInterrupt(() => shell.remove(info.id).pipe(Effect.ignore)));
|
|
220
220
|
const job = yield* jobs.start({
|
|
221
221
|
id: info.id,
|
|
222
|
-
type:
|
|
222
|
+
type: name9,
|
|
223
223
|
title: info.command,
|
|
224
224
|
metadata: { sessionID: context.sessionID, shellID: info.id },
|
|
225
225
|
recovery: {
|
|
@@ -249,7 +249,7 @@ Command exceeded timeout of ${finalTimeout} ms. Retry with a larger timeout if t
|
|
|
249
249
|
}).pipe(Effect.map(toolResult), Effect.mapError((error) => new ToolFailure({ message: `Unable to execute command: ${input.command}`, error })))
|
|
250
250
|
})).pipe(Effect.orDie);
|
|
251
251
|
const hook = (event) => Effect.gen(function* () {
|
|
252
|
-
const tool = event.tools[
|
|
252
|
+
const tool = event.tools[name9];
|
|
253
253
|
if (!tool)
|
|
254
254
|
return;
|
|
255
255
|
tool.description = description(name15(yield* compatibleShell));
|
|
@@ -260,4 +260,4 @@ Command exceeded timeout of ${finalTimeout} ms. Retry with a larger timeout if t
|
|
|
260
260
|
})
|
|
261
261
|
};
|
|
262
262
|
|
|
263
|
-
export {
|
|
263
|
+
export { name9, DEFAULT_TIMEOUT_MS2, Input9, Plugin41, exports_shell2 };
|
|
@@ -1,28 +1,28 @@
|
|
|
1
1
|
import {
|
|
2
|
-
|
|
3
|
-
} from "./
|
|
2
|
+
Service49
|
|
3
|
+
} from "./workspace-w2yh7emw.js";
|
|
4
4
|
import {
|
|
5
5
|
match2
|
|
6
|
-
} from "./
|
|
6
|
+
} from "./workspace-y1fvbwt7.js";
|
|
7
7
|
import {
|
|
8
8
|
observe2
|
|
9
|
-
} from "./
|
|
9
|
+
} from "./workspace-qsdy395h.js";
|
|
10
10
|
import {
|
|
11
11
|
__export
|
|
12
|
-
} from "./
|
|
12
|
+
} from "./workspace-9rqn6x4v.js";
|
|
13
13
|
|
|
14
14
|
// src/config/plugin/policy.ts
|
|
15
15
|
var exports_policy = {};
|
|
16
16
|
__export(exports_policy, {
|
|
17
17
|
ConfigPolicyPlugin: () => exports_policy,
|
|
18
|
-
Plugin: () =>
|
|
18
|
+
Plugin: () => Plugin9
|
|
19
19
|
});
|
|
20
20
|
import { define } from "@opencode/plugin/effect/plugin";
|
|
21
21
|
import { Effect } from "effect";
|
|
22
|
-
var
|
|
22
|
+
var Plugin9 = define({
|
|
23
23
|
id: "opencode.config.policy",
|
|
24
24
|
effect: Effect.fn(function* (ctx) {
|
|
25
|
-
const config = yield*
|
|
25
|
+
const config = yield* Service49;
|
|
26
26
|
const loaded = yield* observe2(config, ctx.event, ctx.provider.reload());
|
|
27
27
|
yield* ctx.provider.transform((providers) => {
|
|
28
28
|
const policies = loaded.entries.filter((entry) => entry.type === "document").toReversed().flatMap((entry) => entry.info.experimental?.policies ?? []);
|
|
@@ -35,4 +35,4 @@ var Plugin13 = define({
|
|
|
35
35
|
})
|
|
36
36
|
});
|
|
37
37
|
|
|
38
|
-
export {
|
|
38
|
+
export { Plugin9, exports_policy };
|
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
import {
|
|
2
2
|
SessionEvent2
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./workspace-ec1grn59.js";
|
|
4
4
|
import {
|
|
5
5
|
tokens2
|
|
6
|
-
} from "./
|
|
6
|
+
} from "./workspace-tdstcens.js";
|
|
7
7
|
|
|
8
8
|
// src/session/runner/publish-llm-event.ts
|
|
9
9
|
import { Effect, Fiber, Iterable } from "effect";
|