@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,18 +1,18 @@
|
|
|
1
1
|
import {
|
|
2
2
|
webSocketConstructor2
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./workspace-5t3nmthw.js";
|
|
4
4
|
import {
|
|
5
5
|
__export
|
|
6
|
-
} from "./
|
|
6
|
+
} from "./workspace-9rqn6x4v.js";
|
|
7
7
|
|
|
8
8
|
// src/session/model-transport.ts
|
|
9
9
|
var exports_model_transport = {};
|
|
10
10
|
__export(exports_model_transport, {
|
|
11
|
-
Service: () =>
|
|
11
|
+
Service: () => Service31,
|
|
12
12
|
SessionModelTransport: () => exports_model_transport,
|
|
13
|
-
layer: () =>
|
|
13
|
+
layer: () => layer11,
|
|
14
14
|
makeLayer: () => makeLayer2,
|
|
15
|
-
node: () =>
|
|
15
|
+
node: () => node35
|
|
16
16
|
});
|
|
17
17
|
import {
|
|
18
18
|
WebSocketTransport
|
|
@@ -33,7 +33,7 @@ var events = Metric.counter("opencode_session_websocket_events_total", {
|
|
|
33
33
|
});
|
|
34
34
|
var metric = (event, attributes = {}) => Metric.update(events.pipe(Metric.withAttributes({ event, ...attributes })), 1);
|
|
35
35
|
|
|
36
|
-
class
|
|
36
|
+
class Service31 extends Context.Service()("@opencode/SessionModelTransport") {
|
|
37
37
|
}
|
|
38
38
|
var transportError = (message, input) => new AIError({
|
|
39
39
|
reason: new TransportError({ message, transport: "websocket", ...input })
|
|
@@ -57,7 +57,7 @@ var observationFrame = (observation) => {
|
|
|
57
57
|
return Effect.fail(observation.error);
|
|
58
58
|
};
|
|
59
59
|
var observationTerminal = (observation) => observation.type !== "frame";
|
|
60
|
-
var makeLayer2 = (connector) => Layer.effect(
|
|
60
|
+
var makeLayer2 = (connector) => Layer.effect(Service31, Effect.gen(function* () {
|
|
61
61
|
const scope = yield* Scope.Scope;
|
|
62
62
|
const states = new Map;
|
|
63
63
|
const state = (sessionID) => {
|
|
@@ -360,11 +360,11 @@ var makeLayer2 = (connector) => Layer.effect(Service24, Effect.gen(function* ()
|
|
|
360
360
|
}, { discard: true });
|
|
361
361
|
});
|
|
362
362
|
yield* Effect.addFinalizer(() => closeAll);
|
|
363
|
-
return
|
|
363
|
+
return Service31.of({ bind, close, closeAll });
|
|
364
364
|
}));
|
|
365
|
-
var
|
|
365
|
+
var layer11 = Layer.unwrap(Effect.map(Socket.WebSocketConstructor, (constructor) => makeLayer2({
|
|
366
366
|
open: (input) => WebSocketTransport.open(input).pipe(Effect.provideService(Socket.WebSocketConstructor, constructor))
|
|
367
367
|
})));
|
|
368
|
-
var
|
|
368
|
+
var node35 = makeGlobalNode({ service: Service31, layer: layer11, deps: [webSocketConstructor2] });
|
|
369
369
|
|
|
370
|
-
export {
|
|
370
|
+
export { Service31, makeLayer2, layer11, node35, exports_model_transport };
|
|
@@ -1,22 +1,22 @@
|
|
|
1
1
|
import {
|
|
2
2
|
create3
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./workspace-rdw6cm16.js";
|
|
4
4
|
import {
|
|
5
5
|
__export
|
|
6
|
-
} from "./
|
|
6
|
+
} from "./workspace-9rqn6x4v.js";
|
|
7
7
|
|
|
8
8
|
// src/filesystem/location-watcher-policy.ts
|
|
9
9
|
var exports_location_watcher_policy = {};
|
|
10
10
|
__export(exports_location_watcher_policy, {
|
|
11
11
|
LocationWatcherPolicy: () => exports_location_watcher_policy,
|
|
12
|
-
Service: () =>
|
|
13
|
-
node: () =>
|
|
12
|
+
Service: () => Service5,
|
|
13
|
+
node: () => node7
|
|
14
14
|
});
|
|
15
15
|
import { makeLocationNode } from "@opencode/util/effect/app-node";
|
|
16
16
|
import { Context, Effect, Layer, Scope } from "effect";
|
|
17
|
-
class
|
|
17
|
+
class Service5 extends Context.Service()("@opencode/LocationWatcherPolicy") {
|
|
18
18
|
}
|
|
19
|
-
var layer = Layer.effect(
|
|
19
|
+
var layer = Layer.effect(Service5, Effect.gen(function* () {
|
|
20
20
|
const listeners = new Set;
|
|
21
21
|
const state = create3({
|
|
22
22
|
name: "location-watcher-policy",
|
|
@@ -41,13 +41,13 @@ var layer = Layer.effect(Service4, Effect.gen(function* () {
|
|
|
41
41
|
yield* Scope.addFinalizer(scope, dispose);
|
|
42
42
|
return { dispose };
|
|
43
43
|
});
|
|
44
|
-
return
|
|
44
|
+
return Service5.of({
|
|
45
45
|
transform: state.transform,
|
|
46
46
|
reload: state.reload,
|
|
47
47
|
current,
|
|
48
48
|
observe
|
|
49
49
|
});
|
|
50
50
|
}));
|
|
51
|
-
var
|
|
51
|
+
var node7 = makeLocationNode({ service: Service5, layer, deps: [] });
|
|
52
52
|
|
|
53
|
-
export {
|
|
53
|
+
export { Service5, node7, exports_location_watcher_policy };
|
|
@@ -1,21 +1,21 @@
|
|
|
1
1
|
import {
|
|
2
2
|
useragent2
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./workspace-hf1pa3fg.js";
|
|
4
4
|
import {
|
|
5
5
|
__export
|
|
6
|
-
} from "./
|
|
6
|
+
} from "./workspace-9rqn6x4v.js";
|
|
7
7
|
|
|
8
8
|
// src/plugin/websearch/tavily.ts
|
|
9
9
|
var exports_tavily = {};
|
|
10
10
|
__export(exports_tavily, {
|
|
11
|
-
Plugin: () =>
|
|
11
|
+
Plugin: () => Plugin23,
|
|
12
12
|
WebSearchTavily: () => exports_tavily,
|
|
13
|
-
endpoint: () =>
|
|
13
|
+
endpoint: () => endpoint5
|
|
14
14
|
});
|
|
15
15
|
import { define } from "@opencode/plugin/effect/plugin";
|
|
16
16
|
import { Duration, Effect, Schema } from "effect";
|
|
17
17
|
import { HttpClient, HttpClientRequest, HttpClientResponse } from "effect/unstable/http";
|
|
18
|
-
var
|
|
18
|
+
var endpoint5 = "https://api.tavily.com/search";
|
|
19
19
|
var SearchRequest = Schema.Struct({
|
|
20
20
|
query: Schema.String,
|
|
21
21
|
search_depth: Schema.Literal("basic"),
|
|
@@ -29,7 +29,7 @@ var SearchResponse = Schema.Struct({
|
|
|
29
29
|
content: Schema.String
|
|
30
30
|
}))
|
|
31
31
|
});
|
|
32
|
-
var
|
|
32
|
+
var Plugin23 = define({
|
|
33
33
|
id: "opencode.websearch.tavily",
|
|
34
34
|
effect: Effect.fn("WebSearchTavily.Plugin")(function* (ctx) {
|
|
35
35
|
const http = yield* HttpClient.HttpClient;
|
|
@@ -51,7 +51,7 @@ var Plugin24 = define({
|
|
|
51
51
|
execute: (input) => Effect.gen(function* () {
|
|
52
52
|
const connection = yield* ctx.integration.connection.active("tavily");
|
|
53
53
|
const credential = connection ? yield* ctx.integration.connection.resolve(connection) : undefined;
|
|
54
|
-
const request = yield* HttpClientRequest.post(
|
|
54
|
+
const request = yield* HttpClientRequest.post(endpoint5).pipe(HttpClientRequest.acceptJson, HttpClientRequest.setHeaders({
|
|
55
55
|
"User-Agent": useragent2(ctx.app),
|
|
56
56
|
"X-Client-Name": "opencode2",
|
|
57
57
|
...credential?.type === "key" ? { Authorization: `Bearer ${credential.key}` } : { "X-Tavily-Access-Mode": "keyless" }
|
|
@@ -77,4 +77,4 @@ var Plugin24 = define({
|
|
|
77
77
|
})
|
|
78
78
|
});
|
|
79
79
|
|
|
80
|
-
export {
|
|
80
|
+
export { endpoint5, Plugin23, exports_tavily };
|
|
@@ -1,46 +1,46 @@
|
|
|
1
1
|
import {
|
|
2
2
|
Service82,
|
|
3
3
|
node86
|
|
4
|
-
} from "./
|
|
4
|
+
} from "./workspace-9n3na3w3.js";
|
|
5
5
|
import {
|
|
6
|
+
Service69,
|
|
7
|
+
node72
|
|
8
|
+
} from "./workspace-2dza1j1w.js";
|
|
9
|
+
import {
|
|
10
|
+
Ref4,
|
|
6
11
|
Service79,
|
|
7
12
|
node83
|
|
8
|
-
} from "./
|
|
9
|
-
import {
|
|
10
|
-
Ref3,
|
|
11
|
-
Service75,
|
|
12
|
-
node79
|
|
13
|
-
} from "./integration-zfs2vqh8.js";
|
|
13
|
+
} from "./workspace-pb8ac6tt.js";
|
|
14
14
|
import {
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
} from "./
|
|
15
|
+
Service64,
|
|
16
|
+
node67
|
|
17
|
+
} from "./workspace-a2p8e6yv.js";
|
|
18
18
|
import {
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
} from "./
|
|
19
|
+
Service23,
|
|
20
|
+
node26
|
|
21
|
+
} from "./workspace-z3g3b9h9.js";
|
|
22
22
|
import {
|
|
23
23
|
__export
|
|
24
|
-
} from "./
|
|
24
|
+
} from "./workspace-9rqn6x4v.js";
|
|
25
25
|
|
|
26
26
|
// src/location-lifecycle.ts
|
|
27
27
|
var exports_location_lifecycle = {};
|
|
28
28
|
__export(exports_location_lifecycle, {
|
|
29
29
|
LocationLifecycle: () => exports_location_lifecycle,
|
|
30
|
-
Service: () =>
|
|
31
|
-
node: () =>
|
|
30
|
+
Service: () => Service22,
|
|
31
|
+
node: () => node25
|
|
32
32
|
});
|
|
33
33
|
import { Context, Effect, Layer } from "effect";
|
|
34
34
|
import { makeLocationNode } from "@opencode/util/effect/app-node";
|
|
35
35
|
import { LocationEvent } from "@opencode/schema/location-event";
|
|
36
|
-
class
|
|
36
|
+
class Service22 extends Context.Service()("@opencode/LocationLifecycle") {
|
|
37
37
|
}
|
|
38
|
-
var layer = Layer.effect(
|
|
38
|
+
var layer = Layer.effect(Service22, Effect.gen(function* () {
|
|
39
39
|
const bus = yield* Service82;
|
|
40
|
-
const location = yield*
|
|
41
|
-
const permission = yield*
|
|
42
|
-
const forms = yield*
|
|
43
|
-
const rpc = yield*
|
|
40
|
+
const location = yield* Service79;
|
|
41
|
+
const permission = yield* Service64;
|
|
42
|
+
const forms = yield* Service69;
|
|
43
|
+
const rpc = yield* Service23;
|
|
44
44
|
let closed = false;
|
|
45
45
|
const shutdown = yield* Effect.cached(Effect.gen(function* () {
|
|
46
46
|
closed = true;
|
|
@@ -48,18 +48,18 @@ var layer = Layer.effect(Service13, Effect.gen(function* () {
|
|
|
48
48
|
yield* forms.close;
|
|
49
49
|
yield* rpc.close;
|
|
50
50
|
yield* bus.publish(LocationEvent.Shutdown, {}, {
|
|
51
|
-
location:
|
|
51
|
+
location: Ref4.make({ directory: location.directory, workspaceID: location.workspaceID })
|
|
52
52
|
});
|
|
53
53
|
}).pipe(Effect.uninterruptible));
|
|
54
|
-
return
|
|
54
|
+
return Service22.of({
|
|
55
55
|
isClosed: () => closed,
|
|
56
56
|
shutdown
|
|
57
57
|
});
|
|
58
58
|
}));
|
|
59
|
-
var
|
|
60
|
-
service:
|
|
59
|
+
var node25 = makeLocationNode({
|
|
60
|
+
service: Service22,
|
|
61
61
|
layer,
|
|
62
|
-
deps: [node86,
|
|
62
|
+
deps: [node86, node83, node67, node72, node26]
|
|
63
63
|
});
|
|
64
64
|
|
|
65
|
-
export {
|
|
65
|
+
export { Service22, node25, exports_location_lifecycle };
|
|
@@ -1,30 +1,30 @@
|
|
|
1
1
|
import {
|
|
2
2
|
useragent2
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./workspace-hf1pa3fg.js";
|
|
4
4
|
import {
|
|
5
5
|
Service82
|
|
6
|
-
} from "./
|
|
6
|
+
} from "./workspace-9n3na3w3.js";
|
|
7
7
|
import {
|
|
8
8
|
OAuth3,
|
|
9
|
-
|
|
10
|
-
} from "./
|
|
9
|
+
Event15
|
|
10
|
+
} from "./workspace-n65c7js6.js";
|
|
11
11
|
import {
|
|
12
|
-
|
|
12
|
+
ID8,
|
|
13
13
|
MethodID2
|
|
14
|
-
} from "./
|
|
14
|
+
} from "./workspace-2zh1a5wq.js";
|
|
15
15
|
import {
|
|
16
16
|
which2
|
|
17
|
-
} from "./
|
|
17
|
+
} from "./workspace-qaymkmh1.js";
|
|
18
18
|
import {
|
|
19
|
-
|
|
19
|
+
ID7,
|
|
20
20
|
mergeOverlay2
|
|
21
|
-
} from "./
|
|
21
|
+
} from "./workspace-5xxye2p9.js";
|
|
22
22
|
import {
|
|
23
23
|
iife2
|
|
24
|
-
} from "./
|
|
24
|
+
} from "./workspace-1kg9ymc8.js";
|
|
25
25
|
import {
|
|
26
26
|
configuredSettings2
|
|
27
|
-
} from "./
|
|
27
|
+
} from "./workspace-e75t6m7m.js";
|
|
28
28
|
|
|
29
29
|
// src/plugin/provider/azure.ts
|
|
30
30
|
import { Clock, Effect, Schema, Semaphore, Stream } from "effect";
|
|
@@ -44,7 +44,7 @@ var decodeToken = Schema.decodeUnknownEffect(Schema.Struct({
|
|
|
44
44
|
var AzurePlugin2 = define({
|
|
45
45
|
id: "opencode.provider.azure",
|
|
46
46
|
effect: Effect.fn(function* (ctx) {
|
|
47
|
-
const configured = yield* configuredSettings2(
|
|
47
|
+
const configured = yield* configuredSettings2(ID7.azure);
|
|
48
48
|
const processes = yield* AppProcess.Service;
|
|
49
49
|
const bus = yield* Service82;
|
|
50
50
|
const tokens = new Map;
|
|
@@ -80,13 +80,13 @@ var AzurePlugin2 = define({
|
|
|
80
80
|
});
|
|
81
81
|
yield* ctx.integration.transform((editor) => {
|
|
82
82
|
editor.method.update({
|
|
83
|
-
integrationID:
|
|
83
|
+
integrationID: ID7.azure,
|
|
84
84
|
method: { type: "key", label: "API key", form: form() }
|
|
85
85
|
});
|
|
86
86
|
if (!available)
|
|
87
87
|
return;
|
|
88
88
|
editor.method.update({
|
|
89
|
-
integrationID:
|
|
89
|
+
integrationID: ID7.azure,
|
|
90
90
|
method: {
|
|
91
91
|
id: methodID,
|
|
92
92
|
type: "oauth",
|
|
@@ -118,7 +118,7 @@ var AzurePlugin2 = define({
|
|
|
118
118
|
});
|
|
119
119
|
});
|
|
120
120
|
const load = Effect.fn("AzurePlugin.load")(function* () {
|
|
121
|
-
const connection = yield* ctx.integration.connection.active(
|
|
121
|
+
const connection = yield* ctx.integration.connection.active(ID7.azure);
|
|
122
122
|
const credential = connection ? yield* ctx.integration.connection.resolve(connection).pipe(Effect.orElseSucceed(() => {
|
|
123
123
|
return;
|
|
124
124
|
})) : undefined;
|
|
@@ -132,7 +132,7 @@ var AzurePlugin2 = define({
|
|
|
132
132
|
yield* load();
|
|
133
133
|
yield* ctx.provider.transform((evt) => {
|
|
134
134
|
for (const item of evt.list()) {
|
|
135
|
-
if (item.provider.id !==
|
|
135
|
+
if (item.provider.id !== ID7.azure && !item.provider.package.startsWith("@opencode/ai/providers/azure/"))
|
|
136
136
|
continue;
|
|
137
137
|
const resourceName = resolveResourceName(item.provider.settings, loaded.resource);
|
|
138
138
|
if (resourceName)
|
|
@@ -147,7 +147,7 @@ var AzurePlugin2 = define({
|
|
|
147
147
|
});
|
|
148
148
|
yield* ctx.model.transform((models) => {
|
|
149
149
|
for (const item of models.provider.list()) {
|
|
150
|
-
if (item.provider.id !==
|
|
150
|
+
if (item.provider.id !== ID7.azure && !item.provider.package.startsWith("@opencode/ai/providers/azure/"))
|
|
151
151
|
continue;
|
|
152
152
|
const resourceName = resolveResourceName(item.provider.settings, loaded.resource);
|
|
153
153
|
for (const model of models.list(item.provider.id)) {
|
|
@@ -161,9 +161,9 @@ var AzurePlugin2 = define({
|
|
|
161
161
|
}
|
|
162
162
|
});
|
|
163
163
|
const reload = () => loading.withPermit(load().pipe(Effect.andThen(ctx.provider.reload())));
|
|
164
|
-
yield* bus.subscribe(
|
|
164
|
+
yield* bus.subscribe(Event15.Switched).pipe(Stream.filter((event) => event.data.integrationID === ID8.make("azure")), Stream.runForEach(reload), Effect.forkScoped({ startImmediately: true }));
|
|
165
165
|
const bearer = Effect.fn("AzurePlugin.bearer")(function* (url) {
|
|
166
|
-
const connection = yield* ctx.integration.connection.active(
|
|
166
|
+
const connection = yield* ctx.integration.connection.active(ID7.azure);
|
|
167
167
|
const credential = connection ? yield* ctx.integration.connection.resolve(connection).pipe(Effect.orElseSucceed(() => {
|
|
168
168
|
return;
|
|
169
169
|
})) : undefined;
|
|
@@ -175,7 +175,7 @@ var AzurePlugin2 = define({
|
|
|
175
175
|
return `Bearer ${current.access}`;
|
|
176
176
|
});
|
|
177
177
|
yield* ctx.session.hook("http.request", (evt) => Effect.gen(function* () {
|
|
178
|
-
if (evt.model.providerID !==
|
|
178
|
+
if (evt.model.providerID !== ID7.azure)
|
|
179
179
|
return;
|
|
180
180
|
const authorization = yield* bearer(evt.request.url);
|
|
181
181
|
if (!authorization)
|
|
@@ -184,9 +184,9 @@ var AzurePlugin2 = define({
|
|
|
184
184
|
evt.request.headers.delete("x-api-key");
|
|
185
185
|
evt.request.headers.set("authorization", authorization);
|
|
186
186
|
evt.request.headers.set("user-agent", useragent2(ctx.app));
|
|
187
|
-
}), { providerID:
|
|
187
|
+
}), { providerID: ID7.azure });
|
|
188
188
|
yield* ctx.session.hook("experimental.ws.handshake", (evt) => Effect.gen(function* () {
|
|
189
|
-
if (evt.model.providerID !==
|
|
189
|
+
if (evt.model.providerID !== ID7.azure)
|
|
190
190
|
return;
|
|
191
191
|
const authorization = yield* bearer(evt.url);
|
|
192
192
|
if (!authorization)
|
|
@@ -195,7 +195,7 @@ var AzurePlugin2 = define({
|
|
|
195
195
|
delete evt.headers["x-api-key"];
|
|
196
196
|
evt.headers.authorization = authorization;
|
|
197
197
|
evt.headers["user-agent"] = useragent2(ctx.app);
|
|
198
|
-
}), { providerID:
|
|
198
|
+
}), { providerID: ID7.azure });
|
|
199
199
|
})
|
|
200
200
|
});
|
|
201
201
|
function resolveResourceName(settings, fallback) {
|
|
@@ -1,37 +1,37 @@
|
|
|
1
1
|
import {
|
|
2
2
|
useragent2
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./workspace-hf1pa3fg.js";
|
|
4
4
|
import {
|
|
5
5
|
Service82
|
|
6
|
-
} from "./
|
|
6
|
+
} from "./workspace-9n3na3w3.js";
|
|
7
7
|
import {
|
|
8
8
|
OAuth3,
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
} from "./
|
|
9
|
+
Event15,
|
|
10
|
+
Service63
|
|
11
|
+
} from "./workspace-n65c7js6.js";
|
|
12
12
|
import {
|
|
13
|
-
|
|
13
|
+
ID8,
|
|
14
14
|
MethodID2,
|
|
15
|
-
|
|
16
|
-
} from "./
|
|
15
|
+
Service62
|
|
16
|
+
} from "./workspace-2zh1a5wq.js";
|
|
17
17
|
import {
|
|
18
18
|
success2,
|
|
19
19
|
error2
|
|
20
|
-
} from "./
|
|
20
|
+
} from "./workspace-pjvnvgmy.js";
|
|
21
21
|
import {
|
|
22
|
-
|
|
23
|
-
} from "./
|
|
22
|
+
ID7
|
|
23
|
+
} from "./workspace-5xxye2p9.js";
|
|
24
24
|
import {
|
|
25
25
|
configuredSettings2
|
|
26
|
-
} from "./
|
|
26
|
+
} from "./workspace-e75t6m7m.js";
|
|
27
27
|
|
|
28
28
|
// src/plugin/provider/snowflake-cortex.ts
|
|
29
29
|
import { define } from "@opencode/plugin/effect/plugin";
|
|
30
30
|
import { Form } from "@opencode/schema/form";
|
|
31
31
|
import { Clock, Deferred, Effect, Option, Schema, Stream } from "effect";
|
|
32
32
|
import { HttpClient, HttpClientRequest, HttpClientResponse } from "effect/unstable/http";
|
|
33
|
-
var providerID =
|
|
34
|
-
var integrationID =
|
|
33
|
+
var providerID = ID7.make("snowflake-cortex");
|
|
34
|
+
var integrationID = ID8.make(providerID);
|
|
35
35
|
var methodID = MethodID2.make("browser");
|
|
36
36
|
var clientID = "LOCAL_APPLICATION";
|
|
37
37
|
var accountForm = Form.Fields.make([
|
|
@@ -53,8 +53,8 @@ var SnowflakeCortexPlugin2 = define({
|
|
|
53
53
|
id: "opencode.provider.snowflake.cortex",
|
|
54
54
|
effect: Effect.fn(function* (ctx) {
|
|
55
55
|
const http = yield* HttpClient.HttpClient;
|
|
56
|
-
const credentials = yield*
|
|
57
|
-
const integrations = yield*
|
|
56
|
+
const credentials = yield* Service63;
|
|
57
|
+
const integrations = yield* Service62;
|
|
58
58
|
const bus = yield* Service82;
|
|
59
59
|
const configured = yield* configuredSettings2(providerID);
|
|
60
60
|
const account = { value: "" };
|
|
@@ -184,7 +184,7 @@ var SnowflakeCortexPlugin2 = define({
|
|
|
184
184
|
});
|
|
185
185
|
}
|
|
186
186
|
});
|
|
187
|
-
yield* bus.subscribe(
|
|
187
|
+
yield* bus.subscribe(Event15.Switched).pipe(Stream.filter((event) => event.data.integrationID === integrationID), Stream.runForEach(() => load.pipe(Effect.andThen(ctx.provider.reload()))), Effect.forkScoped({ startImmediately: true }));
|
|
188
188
|
yield* ctx.session.hook("http.request", (event) => Effect.sync(() => {
|
|
189
189
|
const token = envToken();
|
|
190
190
|
if (token)
|
|
@@ -1,22 +1,22 @@
|
|
|
1
1
|
import {
|
|
2
2
|
Service82,
|
|
3
3
|
node86
|
|
4
|
-
} from "./
|
|
4
|
+
} from "./workspace-9n3na3w3.js";
|
|
5
5
|
import {
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
} from "./
|
|
6
|
+
Key3,
|
|
7
|
+
Service63,
|
|
8
|
+
node65
|
|
9
|
+
} from "./workspace-n65c7js6.js";
|
|
10
10
|
import {
|
|
11
11
|
create3
|
|
12
|
-
} from "./
|
|
12
|
+
} from "./workspace-rdw6cm16.js";
|
|
13
13
|
import {
|
|
14
14
|
validateAnswer2,
|
|
15
15
|
validateFields2
|
|
16
|
-
} from "./
|
|
16
|
+
} from "./workspace-2dza1j1w.js";
|
|
17
17
|
import {
|
|
18
18
|
__export
|
|
19
|
-
} from "./
|
|
19
|
+
} from "./workspace-9rqn6x4v.js";
|
|
20
20
|
|
|
21
21
|
// src/integration.ts
|
|
22
22
|
var exports_integration = {};
|
|
@@ -31,17 +31,17 @@ __export(exports_integration, {
|
|
|
31
31
|
CommandAttemptStatus: () => CommandAttemptStatus2,
|
|
32
32
|
CommandMethod: () => CommandMethod2,
|
|
33
33
|
EnvMethod: () => EnvMethod2,
|
|
34
|
-
Event: () =>
|
|
35
|
-
ID: () =>
|
|
36
|
-
Info: () =>
|
|
34
|
+
Event: () => Event14,
|
|
35
|
+
ID: () => ID8,
|
|
36
|
+
Info: () => Info23,
|
|
37
37
|
Integration: () => exports_integration,
|
|
38
38
|
KeyMethod: () => KeyMethod2,
|
|
39
39
|
Method: () => Method2,
|
|
40
40
|
MethodID: () => MethodID2,
|
|
41
41
|
OAuthMethod: () => OAuthMethod2,
|
|
42
|
-
Ref: () =>
|
|
43
|
-
Service: () =>
|
|
44
|
-
node: () =>
|
|
42
|
+
Ref: () => Ref3,
|
|
43
|
+
Service: () => Service62,
|
|
44
|
+
node: () => node64
|
|
45
45
|
});
|
|
46
46
|
import { makeLocationNode } from "@opencode/util/effect/app-node";
|
|
47
47
|
import {
|
|
@@ -62,8 +62,8 @@ import {
|
|
|
62
62
|
import { Integration } from "@opencode/schema/integration";
|
|
63
63
|
import { AppProcess } from "@opencode/util/process";
|
|
64
64
|
import { ChildProcess } from "effect/unstable/process";
|
|
65
|
-
import { Event as
|
|
66
|
-
var
|
|
65
|
+
import { Event as Event14 } from "@opencode/schema/integration";
|
|
66
|
+
var ID8 = Integration.ID;
|
|
67
67
|
var MethodID2 = Integration.MethodID;
|
|
68
68
|
var AttemptID2 = Integration.AttemptID;
|
|
69
69
|
var OAuthMethod2 = Integration.OAuthMethod;
|
|
@@ -71,7 +71,7 @@ var CommandMethod2 = Integration.CommandMethod;
|
|
|
71
71
|
var KeyMethod2 = Integration.KeyMethod;
|
|
72
72
|
var EnvMethod2 = Integration.EnvMethod;
|
|
73
73
|
var Method2 = Integration.Method;
|
|
74
|
-
var
|
|
74
|
+
var Info23 = Integration.Info;
|
|
75
75
|
var Attempt2 = Integration.Attempt;
|
|
76
76
|
var AttemptStatus2 = Integration.AttemptStatus;
|
|
77
77
|
var CommandAttempt2 = Integration.CommandAttempt;
|
|
@@ -94,19 +94,19 @@ class AuthorizationError2 extends Schema.TaggedError()("Integration.Authorizatio
|
|
|
94
94
|
}
|
|
95
95
|
|
|
96
96
|
class AttemptNotFoundError2 extends Schema.TaggedError()("Integration.AttemptNotFound", {
|
|
97
|
-
integrationID:
|
|
97
|
+
integrationID: ID8,
|
|
98
98
|
attemptID: AttemptID2
|
|
99
99
|
}) {
|
|
100
100
|
}
|
|
101
|
-
var
|
|
101
|
+
var Ref3 = Integration.Ref;
|
|
102
102
|
|
|
103
|
-
class
|
|
103
|
+
class Service62 extends Context.Service()("@opencode/Integration") {
|
|
104
104
|
}
|
|
105
105
|
var attemptLifetime = Duration.toMillis(Duration.minutes(10));
|
|
106
106
|
var terminalRetention = Duration.toMillis(Duration.minutes(1));
|
|
107
107
|
var scrubInterval = Duration.seconds(30);
|
|
108
|
-
var layer = Layer.effect(
|
|
109
|
-
const credentials = yield*
|
|
108
|
+
var layer = Layer.effect(Service62, Effect.gen(function* () {
|
|
109
|
+
const credentials = yield* Service63;
|
|
110
110
|
const bus = yield* Service82;
|
|
111
111
|
const processes = yield* AppProcess.Service;
|
|
112
112
|
const scope = yield* Scope.Scope;
|
|
@@ -200,7 +200,7 @@ var layer = Layer.effect(Service78, Effect.gen(function* () {
|
|
|
200
200
|
const env = (entry?.methods ?? []).filter((method) => method.type === "env").flatMap((method) => method.names.filter((name) => process.env[name])).map((name) => ({ type: "env", name }));
|
|
201
201
|
return [...credentials, ...env];
|
|
202
202
|
};
|
|
203
|
-
const project = (entry, connections) =>
|
|
203
|
+
const project = (entry, connections) => Info23.make({
|
|
204
204
|
id: entry.ref.id,
|
|
205
205
|
name: entry.ref.name,
|
|
206
206
|
...entry.ref.metadata === undefined ? {} : { metadata: entry.ref.metadata },
|
|
@@ -284,7 +284,7 @@ var layer = Layer.effect(Service78, Effect.gen(function* () {
|
|
|
284
284
|
const persistence = yield* createCredential({
|
|
285
285
|
integrationID: attempt.integrationID,
|
|
286
286
|
label: attempt.label,
|
|
287
|
-
value:
|
|
287
|
+
value: Key3.make({ type: "key", key: exit.value })
|
|
288
288
|
}).pipe(Effect.asVoid, Effect.exit);
|
|
289
289
|
const settledAt = yield* Clock.currentTimeMillis;
|
|
290
290
|
const terminal = Exit.isSuccess(persistence) ? {
|
|
@@ -430,7 +430,7 @@ var layer = Layer.effect(Service78, Effect.gen(function* () {
|
|
|
430
430
|
}).pipe(Scope.provide(attemptScope), Effect.exit, Effect.flatMap((exit) => settleCommand(attemptID, exit)), Effect.forkIn(attemptScope, { startImmediately: true }));
|
|
431
431
|
return CommandAttempt2.make({ attemptID, time });
|
|
432
432
|
});
|
|
433
|
-
return
|
|
433
|
+
return Service62.of({
|
|
434
434
|
transform: state.transform,
|
|
435
435
|
reload: state.reload,
|
|
436
436
|
revision: state.revision,
|
|
@@ -452,7 +452,7 @@ var layer = Layer.effect(Service78, Effect.gen(function* () {
|
|
|
452
452
|
resolve: Effect.fn("Integration.connection.resolve")(function* (connection) {
|
|
453
453
|
if (connection.type === "env") {
|
|
454
454
|
const key = process.env[connection.name];
|
|
455
|
-
return key ?
|
|
455
|
+
return key ? Key3.make({ type: "key", key }) : undefined;
|
|
456
456
|
}
|
|
457
457
|
const credential = yield* credentials.get(connection.id);
|
|
458
458
|
if (!credential)
|
|
@@ -485,7 +485,7 @@ var layer = Layer.effect(Service78, Effect.gen(function* () {
|
|
|
485
485
|
yield* createCredential({
|
|
486
486
|
integrationID: input.integrationID,
|
|
487
487
|
label: input.label,
|
|
488
|
-
value:
|
|
488
|
+
value: Key3.make({
|
|
489
489
|
type: "key",
|
|
490
490
|
key: input.key,
|
|
491
491
|
...Object.keys(answer).length > 0 ? { configuration: answer } : {}
|
|
@@ -579,10 +579,10 @@ var layer = Layer.effect(Service78, Effect.gen(function* () {
|
|
|
579
579
|
}
|
|
580
580
|
});
|
|
581
581
|
}));
|
|
582
|
-
var
|
|
583
|
-
service:
|
|
582
|
+
var node64 = makeLocationNode({
|
|
583
|
+
service: Service62,
|
|
584
584
|
layer,
|
|
585
|
-
deps: [
|
|
585
|
+
deps: [node65, node86, AppProcess.node]
|
|
586
586
|
});
|
|
587
587
|
|
|
588
|
-
export {
|
|
588
|
+
export { ID8, MethodID2, AttemptID2, OAuthMethod2, CommandMethod2, KeyMethod2, EnvMethod2, Method2, Info23, Attempt2, AttemptStatus2, CommandAttempt2, CommandAttemptStatus2, CodeRequiredError2, AuthorizationError2, AttemptNotFoundError2, Ref3, Service62, node64, exports_integration, Event14 };
|
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
import {
|
|
2
2
|
create3
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./workspace-rdw6cm16.js";
|
|
4
4
|
import {
|
|
5
5
|
__export
|
|
6
|
-
} from "./
|
|
6
|
+
} from "./workspace-9rqn6x4v.js";
|
|
7
7
|
|
|
8
8
|
// src/image.ts
|
|
9
9
|
var exports_image2 = {};
|
|
@@ -11,9 +11,9 @@ __export(exports_image2, {
|
|
|
11
11
|
DecodeError: () => DecodeError2,
|
|
12
12
|
Image: () => exports_image2,
|
|
13
13
|
ResizerUnavailableError: () => ResizerUnavailableError2,
|
|
14
|
-
Service: () =>
|
|
14
|
+
Service: () => Service60,
|
|
15
15
|
SizeError: () => SizeError2,
|
|
16
|
-
node: () =>
|
|
16
|
+
node: () => node62
|
|
17
17
|
});
|
|
18
18
|
import { makeLocationNode } from "@opencode/util/effect/app-node";
|
|
19
19
|
import { Context, Effect, Layer, Schema } from "effect";
|
|
@@ -42,9 +42,9 @@ class SizeError2 extends Schema.TaggedError()("Image.SizeError", {
|
|
|
42
42
|
}
|
|
43
43
|
}
|
|
44
44
|
|
|
45
|
-
class
|
|
45
|
+
class Service60 extends Context.Service()("@opencode/Image") {
|
|
46
46
|
}
|
|
47
|
-
var layer = Layer.effect(
|
|
47
|
+
var layer = Layer.effect(Service60, Effect.gen(function* () {
|
|
48
48
|
const state = create3({
|
|
49
49
|
name: "image",
|
|
50
50
|
initial: () => ({
|
|
@@ -74,8 +74,8 @@ var layer = Layer.effect(Service46, Effect.gen(function* () {
|
|
|
74
74
|
const normalize = yield* loadAdapter;
|
|
75
75
|
return yield* normalize(resource, content, state.get());
|
|
76
76
|
});
|
|
77
|
-
return
|
|
77
|
+
return Service60.of({ transform: state.transform, reload: state.reload, normalize });
|
|
78
78
|
}));
|
|
79
|
-
var
|
|
79
|
+
var node62 = makeLocationNode({ service: Service60, layer, deps: [] });
|
|
80
80
|
|
|
81
|
-
export { ResizerUnavailableError2, DecodeError2, SizeError2,
|
|
81
|
+
export { ResizerUnavailableError2, DecodeError2, SizeError2, Service60, node62, exports_image2 };
|