@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
|
@@ -3,34 +3,34 @@ import {
|
|
|
3
3
|
WrongKind2,
|
|
4
4
|
Failed2,
|
|
5
5
|
typeFollowing2
|
|
6
|
-
} from "./
|
|
6
|
+
} from "./workspace-2a5m3afh.js";
|
|
7
7
|
import {
|
|
8
8
|
execDefaults2
|
|
9
|
-
} from "./
|
|
9
|
+
} from "./workspace-1dazxqgg.js";
|
|
10
10
|
import {
|
|
11
11
|
makeLocalDriver2
|
|
12
|
-
} from "./
|
|
12
|
+
} from "./workspace-b6gygkdw.js";
|
|
13
13
|
import {
|
|
14
14
|
makeMemoryDriver2
|
|
15
|
-
} from "./
|
|
15
|
+
} from "./workspace-aaet6srn.js";
|
|
16
16
|
import {
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
} from "./
|
|
17
|
+
Service79,
|
|
18
|
+
node83
|
|
19
|
+
} from "./workspace-pb8ac6tt.js";
|
|
20
20
|
import {
|
|
21
|
-
|
|
22
|
-
|
|
23
|
-
} from "./
|
|
21
|
+
Service75,
|
|
22
|
+
node78
|
|
23
|
+
} from "./workspace-t4m3fhjr.js";
|
|
24
24
|
import {
|
|
25
25
|
__export
|
|
26
|
-
} from "./
|
|
26
|
+
} from "./workspace-9rqn6x4v.js";
|
|
27
27
|
|
|
28
28
|
// src/environment/environment.ts
|
|
29
29
|
var exports_environment2 = {};
|
|
30
30
|
__export(exports_environment2, {
|
|
31
31
|
EnvironmentService: () => exports_environment2,
|
|
32
|
-
Service: () =>
|
|
33
|
-
node: () =>
|
|
32
|
+
Service: () => Service74,
|
|
33
|
+
node: () => node77
|
|
34
34
|
});
|
|
35
35
|
import { CrossSpawnSpawner } from "@opencode/util/cross-spawn-spawner";
|
|
36
36
|
import { makeLocationNode } from "@opencode/util/effect/app-node";
|
|
@@ -43,13 +43,13 @@ __export(exports_environment3, {
|
|
|
43
43
|
Environment: () => exports_environment3,
|
|
44
44
|
Failed: () => Failed2,
|
|
45
45
|
NotFound: () => NotFound2,
|
|
46
|
-
Service: () =>
|
|
46
|
+
Service: () => Service74,
|
|
47
47
|
WrongKind: () => WrongKind2,
|
|
48
48
|
execDefaults: () => execDefaults2,
|
|
49
49
|
makeFiles: () => makeFiles2,
|
|
50
50
|
makeLocalDriver: () => makeLocalDriver2,
|
|
51
51
|
makeMemoryDriver: () => makeMemoryDriver2,
|
|
52
|
-
node: () =>
|
|
52
|
+
node: () => node77,
|
|
53
53
|
typeFollowing: () => typeFollowing2
|
|
54
54
|
});
|
|
55
55
|
var makeFiles2 = (driver) => ({
|
|
@@ -58,19 +58,19 @@ var makeFiles2 = (driver) => ({
|
|
|
58
58
|
});
|
|
59
59
|
|
|
60
60
|
// src/environment/environment.ts
|
|
61
|
-
class
|
|
61
|
+
class Service74 extends Context.Service()("@opencode/Environment") {
|
|
62
62
|
}
|
|
63
|
-
var layer = Layer.effect(
|
|
63
|
+
var layer = Layer.effect(Service74, Effect.gen(function* () {
|
|
64
64
|
const spawner = yield* ChildProcessSpawner;
|
|
65
|
-
const location = yield*
|
|
66
|
-
const workspace = yield*
|
|
65
|
+
const location = yield* Service79;
|
|
66
|
+
const workspace = yield* Service75;
|
|
67
67
|
const driver = location.workspaceID ? yield* workspace.connect(location.workspaceID).pipe(Effect.mapError((cause) => new Error(`Failed to bind Environment to workspace ${location.workspaceID}`, { cause })), Effect.orDie) : makeLocalDriver2(spawner);
|
|
68
|
-
return
|
|
68
|
+
return Service74.of({ files: makeFiles2(driver), spawner: driver.spawner });
|
|
69
69
|
}));
|
|
70
|
-
var
|
|
71
|
-
service:
|
|
70
|
+
var node77 = makeLocationNode({
|
|
71
|
+
service: Service74,
|
|
72
72
|
layer,
|
|
73
|
-
deps: [CrossSpawnSpawner.node,
|
|
73
|
+
deps: [CrossSpawnSpawner.node, node83, node78]
|
|
74
74
|
});
|
|
75
75
|
|
|
76
|
-
export {
|
|
76
|
+
export { Service74, node77, exports_environment2, makeFiles2, exports_environment3 };
|
|
@@ -1,24 +1,24 @@
|
|
|
1
1
|
import {
|
|
2
2
|
useragent2
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./workspace-hf1pa3fg.js";
|
|
4
4
|
import {
|
|
5
5
|
call2
|
|
6
|
-
} from "./
|
|
6
|
+
} from "./workspace-mfqp6xfm.js";
|
|
7
7
|
import {
|
|
8
8
|
__export
|
|
9
|
-
} from "./
|
|
9
|
+
} from "./workspace-9rqn6x4v.js";
|
|
10
10
|
|
|
11
11
|
// src/plugin/websearch/parallel.ts
|
|
12
12
|
var exports_parallel = {};
|
|
13
13
|
__export(exports_parallel, {
|
|
14
|
-
Plugin: () =>
|
|
14
|
+
Plugin: () => Plugin20,
|
|
15
15
|
WebSearchParallel: () => exports_parallel,
|
|
16
|
-
endpoint: () =>
|
|
16
|
+
endpoint: () => endpoint2
|
|
17
17
|
});
|
|
18
18
|
import { define } from "@opencode/plugin/effect/plugin";
|
|
19
19
|
import { Effect, Schema } from "effect";
|
|
20
20
|
import { HttpClient } from "effect/unstable/http";
|
|
21
|
-
var
|
|
21
|
+
var endpoint2 = "https://search.parallel.ai/mcp";
|
|
22
22
|
var McpInput = Schema.Struct({
|
|
23
23
|
objective: Schema.String,
|
|
24
24
|
search_queries: Schema.Array(Schema.String),
|
|
@@ -47,7 +47,7 @@ var McpOutput = Schema.Struct({
|
|
|
47
47
|
content: Schema.Array(Schema.Struct({ type: Schema.Literal("text"), text: Schema.String })),
|
|
48
48
|
structuredContent: SearchResponse
|
|
49
49
|
});
|
|
50
|
-
var
|
|
50
|
+
var Plugin20 = define({
|
|
51
51
|
id: "opencode.websearch.parallel",
|
|
52
52
|
effect: Effect.fn("WebSearchParallel.Plugin")(function* (ctx) {
|
|
53
53
|
const http = yield* HttpClient.HttpClient;
|
|
@@ -69,7 +69,7 @@ var Plugin25 = define({
|
|
|
69
69
|
execute: (input) => Effect.gen(function* () {
|
|
70
70
|
const connection = yield* ctx.integration.connection.active("parallel");
|
|
71
71
|
const credential = connection ? yield* ctx.integration.connection.resolve(connection) : undefined;
|
|
72
|
-
const result = yield* call2(http,
|
|
72
|
+
const result = yield* call2(http, endpoint2, "web_search", { input: McpInput, output: McpOutput }, {
|
|
73
73
|
objective: input.query,
|
|
74
74
|
search_queries: [input.query]
|
|
75
75
|
}, {
|
|
@@ -93,4 +93,4 @@ var Plugin25 = define({
|
|
|
93
93
|
})
|
|
94
94
|
});
|
|
95
95
|
|
|
96
|
-
export {
|
|
96
|
+
export { endpoint2, Plugin20, exports_parallel };
|
|
@@ -1,45 +1,45 @@
|
|
|
1
1
|
import {
|
|
2
2
|
Service83,
|
|
3
3
|
node87
|
|
4
|
-
} from "./
|
|
4
|
+
} from "./workspace-8kdf092n.js";
|
|
5
5
|
import {
|
|
6
6
|
latestSequence2,
|
|
7
7
|
Service82,
|
|
8
8
|
node86
|
|
9
|
-
} from "./
|
|
9
|
+
} from "./workspace-9n3na3w3.js";
|
|
10
10
|
import {
|
|
11
11
|
llmClient2
|
|
12
|
-
} from "./
|
|
12
|
+
} from "./workspace-5t3nmthw.js";
|
|
13
13
|
import {
|
|
14
14
|
SessionEvent2
|
|
15
|
-
} from "./
|
|
15
|
+
} from "./workspace-ec1grn59.js";
|
|
16
16
|
import {
|
|
17
17
|
firstUserMessage2
|
|
18
|
-
} from "./
|
|
18
|
+
} from "./workspace-1k3mj0p1.js";
|
|
19
19
|
import {
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
} from "./
|
|
20
|
+
Service65,
|
|
21
|
+
node68
|
|
22
|
+
} from "./workspace-t8vry4vd.js";
|
|
23
23
|
import {
|
|
24
|
-
|
|
25
|
-
|
|
26
|
-
} from "./
|
|
24
|
+
Service26,
|
|
25
|
+
node30
|
|
26
|
+
} from "./workspace-n6g1ey08.js";
|
|
27
27
|
import {
|
|
28
28
|
record2,
|
|
29
29
|
add2
|
|
30
|
-
} from "./
|
|
30
|
+
} from "./workspace-tdstcens.js";
|
|
31
31
|
import {
|
|
32
32
|
__export
|
|
33
|
-
} from "./
|
|
33
|
+
} from "./workspace-9rqn6x4v.js";
|
|
34
34
|
|
|
35
35
|
// src/session/title.ts
|
|
36
36
|
var exports_title = {};
|
|
37
37
|
__export(exports_title, {
|
|
38
|
-
Service: () =>
|
|
38
|
+
Service: () => Service2,
|
|
39
39
|
SessionTitle: () => exports_title,
|
|
40
40
|
isUntitled: () => isUntitled2,
|
|
41
|
-
layer: () =>
|
|
42
|
-
node: () =>
|
|
41
|
+
layer: () => layer3,
|
|
42
|
+
node: () => node3
|
|
43
43
|
});
|
|
44
44
|
import { isDeepStrictEqual } from "node:util";
|
|
45
45
|
import { LLMClient, LLMEvent, Message, SystemPart } from "@opencode/ai";
|
|
@@ -51,18 +51,18 @@ var MAX_CONTEXT_LENGTH = 8000;
|
|
|
51
51
|
var MAX_FIRST_MESSAGE_LENGTH = 2000;
|
|
52
52
|
var titleChanged = Symbol("Session title changed");
|
|
53
53
|
|
|
54
|
-
class
|
|
54
|
+
class Service2 extends Context.Service()("@opencode/SessionTitle") {
|
|
55
55
|
}
|
|
56
56
|
var truncate = (value) => value.length <= MAX_LENGTH ? value : `${value.slice(0, MAX_LENGTH - 3)}...`;
|
|
57
57
|
var isUntitled2 = (session) => isExactRootFallback({
|
|
58
58
|
title: session.title,
|
|
59
59
|
time: { created: DateTime.toEpochMillis(session.time.created) }
|
|
60
60
|
});
|
|
61
|
-
var
|
|
61
|
+
var layer3 = Layer.effect(Service2, Effect.gen(function* () {
|
|
62
62
|
const bus = yield* Service82;
|
|
63
63
|
const llm = yield* LLMClient.Service;
|
|
64
|
-
const context = yield*
|
|
65
|
-
const store = yield*
|
|
64
|
+
const context = yield* Service26;
|
|
65
|
+
const store = yield* Service65;
|
|
66
66
|
const db = (yield* Service83).db;
|
|
67
67
|
const attempt = Effect.fn("SessionTitle.attempt")(function* (input) {
|
|
68
68
|
const chunks = [];
|
|
@@ -145,12 +145,12 @@ Recent conversation:
|
|
|
145
145
|
title: truncate(title)
|
|
146
146
|
}, { commit: (sequence) => sequence === expectedSequence ? Effect.void : Effect.die(titleChanged) }).pipe(Effect.catchDefect((defect) => defect === titleChanged ? Effect.void : Effect.die(defect)));
|
|
147
147
|
});
|
|
148
|
-
return
|
|
148
|
+
return Service2.of({ generate });
|
|
149
149
|
}));
|
|
150
|
-
var
|
|
151
|
-
service:
|
|
152
|
-
layer:
|
|
153
|
-
deps: [node86, llmClient2,
|
|
150
|
+
var node3 = makeLocationNode({
|
|
151
|
+
service: Service2,
|
|
152
|
+
layer: layer3,
|
|
153
|
+
deps: [node86, llmClient2, node30, node68, node87]
|
|
154
154
|
});
|
|
155
155
|
|
|
156
|
-
export {
|
|
156
|
+
export { Service2, isUntitled2, layer3, node3, exports_title };
|
|
@@ -1,33 +1,33 @@
|
|
|
1
1
|
import {
|
|
2
2
|
Service83,
|
|
3
3
|
node87
|
|
4
|
-
} from "./
|
|
4
|
+
} from "./workspace-8kdf092n.js";
|
|
5
5
|
import {
|
|
6
6
|
makeUnsafe2
|
|
7
|
-
} from "./
|
|
7
|
+
} from "./workspace-y71avatq.js";
|
|
8
8
|
import {
|
|
9
9
|
Binding2,
|
|
10
10
|
RegistryService2,
|
|
11
|
-
|
|
12
|
-
} from "./
|
|
11
|
+
node79
|
|
12
|
+
} from "./workspace-y8p3zjbc.js";
|
|
13
13
|
import {
|
|
14
14
|
WorkspaceTable2
|
|
15
|
-
} from "./
|
|
15
|
+
} from "./workspace-faypxj3z.js";
|
|
16
16
|
import {
|
|
17
17
|
__export
|
|
18
|
-
} from "./
|
|
18
|
+
} from "./workspace-9rqn6x4v.js";
|
|
19
19
|
|
|
20
20
|
// src/workspace.ts
|
|
21
21
|
var exports_workspace = {};
|
|
22
22
|
__export(exports_workspace, {
|
|
23
23
|
CreateConflict: () => CreateConflict2,
|
|
24
|
-
ID: () =>
|
|
25
|
-
Info: () =>
|
|
24
|
+
ID: () => ID15,
|
|
25
|
+
Info: () => Info30,
|
|
26
26
|
NotFound: () => NotFound3,
|
|
27
|
-
Service: () =>
|
|
27
|
+
Service: () => Service75,
|
|
28
28
|
Workspace: () => exports_workspace,
|
|
29
|
-
configured: () =>
|
|
30
|
-
node: () =>
|
|
29
|
+
configured: () => configured10,
|
|
30
|
+
node: () => node78
|
|
31
31
|
});
|
|
32
32
|
import { Workspace } from "@opencode/schema/workspace";
|
|
33
33
|
import { makeGlobalNode } from "@opencode/util/effect/app-node";
|
|
@@ -35,10 +35,10 @@ import { eq } from "drizzle-orm";
|
|
|
35
35
|
import { Clock, Context, Deferred, Duration, Effect, Exit, FiberSet, Layer, Ref, Schedule, Schema, Scope } from "effect";
|
|
36
36
|
import { systemError } from "effect/PlatformError";
|
|
37
37
|
import { make } from "effect/unstable/process/ChildProcessSpawner";
|
|
38
|
-
var
|
|
38
|
+
var ID15 = Workspace.ID;
|
|
39
39
|
|
|
40
|
-
class
|
|
41
|
-
id:
|
|
40
|
+
class Info30 extends Schema.Class("Workspace.Info")({
|
|
41
|
+
id: ID15,
|
|
42
42
|
provider: Schema.String,
|
|
43
43
|
binding: Binding2,
|
|
44
44
|
createdAt: Schema.Number,
|
|
@@ -46,24 +46,24 @@ class Info20 extends Schema.Class("Workspace.Info")({
|
|
|
46
46
|
}) {
|
|
47
47
|
}
|
|
48
48
|
|
|
49
|
-
class NotFound3 extends Schema.TaggedError()("Workspace.NotFound", { workspaceID:
|
|
49
|
+
class NotFound3 extends Schema.TaggedError()("Workspace.NotFound", { workspaceID: ID15 }) {
|
|
50
50
|
}
|
|
51
51
|
|
|
52
52
|
class CreateConflict2 extends Schema.TaggedError()("Workspace.CreateConflict", {
|
|
53
|
-
workspaceID:
|
|
53
|
+
workspaceID: ID15,
|
|
54
54
|
provider: Schema.String,
|
|
55
55
|
existingProvider: Schema.String
|
|
56
56
|
}) {
|
|
57
57
|
}
|
|
58
58
|
|
|
59
|
-
class
|
|
59
|
+
class Service75 extends Context.Service()("@opencode/Workspace") {
|
|
60
60
|
}
|
|
61
|
-
var
|
|
62
|
-
service:
|
|
61
|
+
var configured10 = (options = {}) => makeGlobalNode({
|
|
62
|
+
service: Service75,
|
|
63
63
|
layer: layer(options),
|
|
64
|
-
deps: [node87,
|
|
64
|
+
deps: [node87, node79]
|
|
65
65
|
});
|
|
66
|
-
var layer = (options) => Layer.effect(
|
|
66
|
+
var layer = (options) => Layer.effect(Service75, Effect.gen(function* () {
|
|
67
67
|
const db = (yield* Service83).db;
|
|
68
68
|
const registry = yield* RegistryService2;
|
|
69
69
|
const lifetime = yield* Scope.Scope;
|
|
@@ -80,7 +80,7 @@ var layer = (options) => Layer.effect(Service58, Effect.gen(function* () {
|
|
|
80
80
|
return row;
|
|
81
81
|
});
|
|
82
82
|
const saveBinding = (workspaceID, binding) => db.update(WorkspaceTable2).set({ binding }).where(eq(WorkspaceTable2.id, workspaceID)).run().pipe(Effect.orDie);
|
|
83
|
-
const info = (row, binding) => new
|
|
83
|
+
const info = (row, binding) => new Info30({
|
|
84
84
|
id: row.id,
|
|
85
85
|
provider: row.provider,
|
|
86
86
|
binding,
|
|
@@ -154,9 +154,9 @@ var layer = (options) => Layer.effect(Service58, Effect.gen(function* () {
|
|
|
154
154
|
yield* Scope.close(connection.scope, Exit.void);
|
|
155
155
|
}).pipe(Effect.catchCause((cause) => Effect.logError("workspace idle suspension failed", cause)))), { concurrency: "unbounded", discard: true });
|
|
156
156
|
}).pipe(Effect.repeat(Schedule.spaced(options.pollInterval ?? Duration.minutes(1))), Effect.forkScoped);
|
|
157
|
-
return
|
|
157
|
+
return Service75.of({
|
|
158
158
|
create: Effect.fn("Workspace.create")(function* (input) {
|
|
159
|
-
const workspaceID = input.id ??
|
|
159
|
+
const workspaceID = input.id ?? ID15.create();
|
|
160
160
|
const existing = yield* db.select({ provider: WorkspaceTable2.provider }).from(WorkspaceTable2).where(eq(WorkspaceTable2.id, workspaceID)).get().pipe(Effect.orDie);
|
|
161
161
|
if (existing) {
|
|
162
162
|
if (existing.provider === input.provider)
|
|
@@ -221,6 +221,6 @@ var layer = (options) => Layer.effect(Service58, Effect.gen(function* () {
|
|
|
221
221
|
})
|
|
222
222
|
});
|
|
223
223
|
}));
|
|
224
|
-
var
|
|
224
|
+
var node78 = configured10();
|
|
225
225
|
|
|
226
|
-
export {
|
|
226
|
+
export { ID15, Info30, NotFound3, CreateConflict2, Service75, configured10, node78, exports_workspace };
|
|
@@ -1,29 +1,29 @@
|
|
|
1
1
|
import {
|
|
2
2
|
Service83,
|
|
3
3
|
node87
|
|
4
|
-
} from "./
|
|
4
|
+
} from "./workspace-8kdf092n.js";
|
|
5
5
|
import {
|
|
6
6
|
SessionTable2,
|
|
7
7
|
SessionMessageTable2
|
|
8
|
-
} from "./
|
|
8
|
+
} from "./workspace-a1bz86dw.js";
|
|
9
9
|
import {
|
|
10
10
|
decodeMessageRow2,
|
|
11
11
|
load5
|
|
12
|
-
} from "./
|
|
12
|
+
} from "./workspace-1k3mj0p1.js";
|
|
13
13
|
import {
|
|
14
14
|
fromRow2
|
|
15
|
-
} from "./
|
|
15
|
+
} from "./workspace-g84cjvn9.js";
|
|
16
16
|
import {
|
|
17
17
|
__export
|
|
18
|
-
} from "./
|
|
18
|
+
} from "./workspace-9rqn6x4v.js";
|
|
19
19
|
|
|
20
20
|
// src/session/store.ts
|
|
21
21
|
var exports_store = {};
|
|
22
22
|
__export(exports_store, {
|
|
23
|
-
ListInput: () =>
|
|
24
|
-
Service: () =>
|
|
23
|
+
ListInput: () => ListInput3,
|
|
24
|
+
Service: () => Service65,
|
|
25
25
|
SessionStore: () => exports_store,
|
|
26
|
-
node: () =>
|
|
26
|
+
node: () => node68
|
|
27
27
|
});
|
|
28
28
|
import { and, asc, desc, eq, gt, isNotNull, isNull, like, lt, notInArray, or, sql } from "drizzle-orm";
|
|
29
29
|
import { Context, Effect, Layer, Schema } from "effect";
|
|
@@ -50,13 +50,13 @@ var ListProjectInput = Schema.Struct({
|
|
|
50
50
|
subpath: RelativePath.pipe(Schema.optional)
|
|
51
51
|
});
|
|
52
52
|
var ListAllInput = Schema.Struct(ListInputBase);
|
|
53
|
-
var
|
|
53
|
+
var ListInput3 = Schema.Union([ListDirectoryInput, ListProjectInput, ListAllInput]);
|
|
54
54
|
|
|
55
|
-
class
|
|
55
|
+
class Service65 extends Context.Service()("@opencode/SessionStore") {
|
|
56
56
|
}
|
|
57
|
-
var layer = Layer.effect(
|
|
57
|
+
var layer = Layer.effect(Service65, Effect.gen(function* () {
|
|
58
58
|
const { db } = yield* Service83;
|
|
59
|
-
return
|
|
59
|
+
return Service65.of({
|
|
60
60
|
get: Effect.fnUntraced(function* (sessionID) {
|
|
61
61
|
const row = yield* db.select().from(SessionTable2).where(eq(SessionTable2.id, sessionID)).get().pipe(Effect.orDie);
|
|
62
62
|
return row ? fromRow2(row) : undefined;
|
|
@@ -125,6 +125,6 @@ var layer = Layer.effect(Service69, Effect.gen(function* () {
|
|
|
125
125
|
})
|
|
126
126
|
});
|
|
127
127
|
}));
|
|
128
|
-
var
|
|
128
|
+
var node68 = makeGlobalNode({ service: Service65, layer, deps: [node87] });
|
|
129
129
|
|
|
130
|
-
export {
|
|
130
|
+
export { ListInput3, Service65, node68, exports_store };
|
|
@@ -1,20 +1,20 @@
|
|
|
1
1
|
import {
|
|
2
|
-
|
|
2
|
+
ID12,
|
|
3
3
|
Name3,
|
|
4
4
|
defaultID2
|
|
5
|
-
} from "./
|
|
5
|
+
} from "./workspace-kf9njbrh.js";
|
|
6
6
|
import {
|
|
7
7
|
merge2
|
|
8
|
-
} from "./
|
|
8
|
+
} from "./workspace-a2p8e6yv.js";
|
|
9
9
|
import {
|
|
10
10
|
__export
|
|
11
|
-
} from "./
|
|
11
|
+
} from "./workspace-9rqn6x4v.js";
|
|
12
12
|
|
|
13
13
|
// src/plugin/agent.ts
|
|
14
14
|
var exports_agent2 = {};
|
|
15
15
|
__export(exports_agent2, {
|
|
16
16
|
AgentPlugin: () => exports_agent2,
|
|
17
|
-
Plugin: () =>
|
|
17
|
+
Plugin: () => Plugin24
|
|
18
18
|
});
|
|
19
19
|
import { define } from "@opencode/plugin/effect/plugin";
|
|
20
20
|
import { Effect } from "effect";
|
|
@@ -90,7 +90,7 @@ Rules:
|
|
|
90
90
|
- Never ask questions or add new questions
|
|
91
91
|
- If the conversation ends with an unanswered question to the user, preserve that exact question
|
|
92
92
|
- If the conversation ends with an imperative statement or request to the user (e.g. "Now please run the command and paste the console output"), always include that exact request in the summary`;
|
|
93
|
-
var
|
|
93
|
+
var Plugin24 = define({
|
|
94
94
|
id: "opencode.agent",
|
|
95
95
|
effect: Effect.fn(function* (ctx) {
|
|
96
96
|
yield* ctx.agent.transform((editor) => {
|
|
@@ -100,13 +100,13 @@ var Plugin28 = define({
|
|
|
100
100
|
item.mode = "primary";
|
|
101
101
|
item.permissions.push({ action: "question", resource: "*", effect: "allow" });
|
|
102
102
|
});
|
|
103
|
-
editor.update(
|
|
103
|
+
editor.update(ID12.make("general"), (item) => {
|
|
104
104
|
item.name = Name3.make("General");
|
|
105
105
|
item.description = "General-purpose agent for researching complex questions and executing multi-step tasks. Use this agent to execute multiple units of work in parallel.";
|
|
106
106
|
item.mode = "subagent";
|
|
107
107
|
item.permissions.push({ action: "question", resource: "*", effect: "deny" }, { action: "subagent", resource: "*", effect: "deny" });
|
|
108
108
|
});
|
|
109
|
-
editor.update(
|
|
109
|
+
editor.update(ID12.make("explore"), (item) => {
|
|
110
110
|
const externalDirectories = item.permissions.filter((rule) => rule.action === "external_directory" && rule.effect === "allow");
|
|
111
111
|
item.name = Name3.make("Explore");
|
|
112
112
|
item.description = 'Fast agent specialized for exploring codebases. Use this when you need to quickly find files by patterns (eg. "src/components/**/*.tsx"), search code for keywords (eg. "API endpoints"), or answer questions about the codebase (eg. "how do API endpoints work?"). When calling this agent, specify the desired thoroughness level: "quick" for basic searches, "medium" for moderate exploration, or "very thorough" for comprehensive analysis across multiple locations and naming conventions.';
|
|
@@ -125,19 +125,19 @@ var Plugin28 = define({
|
|
|
125
125
|
{ action: "subagent", resource: "*", effect: "deny" }
|
|
126
126
|
], [{ action: "external_directory", resource: "*", effect: "ask" }, ...externalDirectories]));
|
|
127
127
|
});
|
|
128
|
-
editor.update(
|
|
128
|
+
editor.update(ID12.make("compaction"), (item) => {
|
|
129
129
|
item.name = Name3.make("Compaction");
|
|
130
130
|
item.mode = "primary";
|
|
131
131
|
item.hidden = true;
|
|
132
132
|
});
|
|
133
|
-
editor.update(
|
|
133
|
+
editor.update(ID12.make("title"), (item) => {
|
|
134
134
|
item.name = Name3.make("Title");
|
|
135
135
|
item.mode = "primary";
|
|
136
136
|
item.hidden = true;
|
|
137
137
|
item.system = PROMPT_TITLE;
|
|
138
138
|
item.permissions.push({ action: "*", resource: "*", effect: "deny" });
|
|
139
139
|
});
|
|
140
|
-
editor.update(
|
|
140
|
+
editor.update(ID12.make("summary"), (item) => {
|
|
141
141
|
item.name = Name3.make("Summary");
|
|
142
142
|
item.mode = "primary";
|
|
143
143
|
item.hidden = true;
|
|
@@ -148,4 +148,4 @@ var Plugin28 = define({
|
|
|
148
148
|
})
|
|
149
149
|
});
|
|
150
150
|
|
|
151
|
-
export {
|
|
151
|
+
export { Plugin24, exports_agent2 };
|
|
@@ -1,34 +1,34 @@
|
|
|
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
|
RelativePath2
|
|
12
|
-
} from "./
|
|
12
|
+
} from "./workspace-922hggd3.js";
|
|
13
13
|
import {
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
} from "./
|
|
14
|
+
ID5,
|
|
15
|
+
Service46
|
|
16
|
+
} from "./workspace-ezrmvp0h.js";
|
|
17
17
|
import {
|
|
18
18
|
SessionEvent2
|
|
19
|
-
} from "./
|
|
19
|
+
} from "./workspace-ec1grn59.js";
|
|
20
20
|
import {
|
|
21
21
|
SessionMessage2
|
|
22
|
-
} from "./
|
|
22
|
+
} from "./workspace-gftt206x.js";
|
|
23
23
|
import {
|
|
24
24
|
MessageNotFoundError2
|
|
25
|
-
} from "./
|
|
25
|
+
} from "./workspace-mvwxevy0.js";
|
|
26
26
|
import {
|
|
27
27
|
SessionMessageTable2
|
|
28
|
-
} from "./
|
|
28
|
+
} from "./workspace-a1bz86dw.js";
|
|
29
29
|
import {
|
|
30
30
|
__export
|
|
31
|
-
} from "./
|
|
31
|
+
} from "./workspace-9rqn6x4v.js";
|
|
32
32
|
|
|
33
33
|
// src/session/revert.ts
|
|
34
34
|
var exports_revert = {};
|
|
@@ -42,12 +42,12 @@ __export(exports_revert, {
|
|
|
42
42
|
import { and, asc, eq, gt } from "drizzle-orm";
|
|
43
43
|
import { Effect, Schema } from "effect";
|
|
44
44
|
var stage2 = Effect.fn("SessionRevert.stage")(function* (input) {
|
|
45
|
-
const instances = yield*
|
|
45
|
+
const instances = yield* Service42;
|
|
46
46
|
const database = yield* Service83;
|
|
47
47
|
const bus = yield* Service82;
|
|
48
48
|
return yield* Effect.gen(function* () {
|
|
49
|
-
const snapshot = yield*
|
|
50
|
-
const original = input.session.revert?.snapshot ?
|
|
49
|
+
const snapshot = yield* Service46;
|
|
50
|
+
const original = input.session.revert?.snapshot ? ID5.make(input.session.revert.snapshot) : yield* snapshot.capture();
|
|
51
51
|
const next = yield* plan(database.db, { sessionID: input.session.id, messageID: input.messageID });
|
|
52
52
|
const restore = new Map;
|
|
53
53
|
if (original) {
|
|
@@ -74,13 +74,13 @@ var stage2 = Effect.fn("SessionRevert.stage")(function* (input) {
|
|
|
74
74
|
}).pipe(instances.provide(input.session));
|
|
75
75
|
});
|
|
76
76
|
var clear2 = Effect.fn("SessionRevert.clear")(function* (session) {
|
|
77
|
-
const instances = yield*
|
|
77
|
+
const instances = yield* Service42;
|
|
78
78
|
const bus = yield* Service82;
|
|
79
79
|
yield* Effect.gen(function* () {
|
|
80
|
-
const snapshot = yield*
|
|
80
|
+
const snapshot = yield* Service46;
|
|
81
81
|
if (!session.revert)
|
|
82
82
|
return;
|
|
83
|
-
const original = session.revert.snapshot ?
|
|
83
|
+
const original = session.revert.snapshot ? ID5.make(session.revert.snapshot) : undefined;
|
|
84
84
|
if (original)
|
|
85
85
|
yield* snapshot.restore({
|
|
86
86
|
files: new Map((session.revert.files ?? []).map((file) => [RelativePath2.make(file.file), original]))
|
|
@@ -111,7 +111,7 @@ var plan = Effect.fn("SessionRevert.plan")(function* (db, input) {
|
|
|
111
111
|
continue;
|
|
112
112
|
for (const file of message.snapshot.files ?? [])
|
|
113
113
|
if (!files.has(file))
|
|
114
|
-
files.set(file,
|
|
114
|
+
files.set(file, ID5.make(message.snapshot.start));
|
|
115
115
|
}
|
|
116
116
|
return files;
|
|
117
117
|
});
|