@opencode/core 0.0.0-dev-176 → 0.0.0-dev-177
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 +89 -89
- package/dist/aisdk-native.js +97 -97
- package/dist/aisdk.js +103 -103
- package/dist/app.js +9 -9
- package/dist/bus.js +79 -79
- package/dist/chunks/{persistent-pty-034tev2y.js → vcs-034tev2y.js} +2 -2
- package/dist/chunks/{persistent-pty-0v98g2dp.js → vcs-079ccags.js} +5 -5
- package/dist/chunks/{persistent-pty-kb8fswp1.js → vcs-0d5zdg09.js} +4 -4
- package/dist/chunks/{persistent-pty-sa8kccs0.js → vcs-10wj17tq.js} +13 -13
- package/dist/chunks/{persistent-pty-4wj04rfq.js → vcs-1941k5sj.js} +32 -32
- package/dist/chunks/{persistent-pty-1ep2p91f.js → vcs-1ep2p91f.js} +2 -2
- package/dist/chunks/{persistent-pty-xt0z8zst.js → vcs-1kn6jdkn.js} +4 -4
- package/dist/chunks/{persistent-pty-1x2knyw4.js → vcs-1x2knyw4.js} +1 -1
- package/dist/chunks/{persistent-pty-wzkv2sek.js → vcs-1xxgzegw.js} +4 -4
- package/dist/chunks/{persistent-pty-jv541gt1.js → vcs-1y89m7wx.js} +5 -5
- package/dist/chunks/{persistent-pty-p7vhpwh8.js → vcs-1yq9hg58.js} +5 -5
- package/dist/chunks/{persistent-pty-204s3925.js → vcs-204s3925.js} +1 -1
- package/dist/chunks/{persistent-pty-vm6x4cc6.js → vcs-2660epmj.js} +11 -11
- package/dist/chunks/{persistent-pty-24bdjav6.js → vcs-27kvnj30.js} +25 -25
- package/dist/chunks/{persistent-pty-7ky5q9y1.js → vcs-2evsnrbc.js} +30 -30
- package/dist/chunks/{persistent-pty-whfmfgat.js → vcs-2qdnk5gy.js} +4 -4
- package/dist/chunks/{persistent-pty-zb5gs1ba.js → vcs-2qr4rt5k.js} +3 -3
- package/dist/chunks/{persistent-pty-xefsy4ps.js → vcs-2v478qgw.js} +34 -34
- package/dist/chunks/{persistent-pty-ygqxcxbg.js → vcs-2vmza6bx.js} +4 -4
- package/dist/chunks/{persistent-pty-ve5h0m4q.js → vcs-3012d813.js} +7 -7
- package/dist/chunks/{persistent-pty-h6fv7vft.js → vcs-3becjr0v.js} +17 -17
- package/dist/chunks/{persistent-pty-519tq28h.js → vcs-3br35akn.js} +17 -17
- package/dist/chunks/{persistent-pty-3hepkmqq.js → vcs-3hepkmqq.js} +1 -1
- package/dist/chunks/{persistent-pty-6xqtcmxs.js → vcs-3kdbrncp.js} +5 -5
- package/dist/chunks/{persistent-pty-3nnrz6f6.js → vcs-3nnrz6f6.js} +1 -1
- package/dist/chunks/{persistent-pty-wa71be01.js → vcs-3sdek3b3.js} +48 -48
- package/dist/chunks/{persistent-pty-h0n6thsx.js → vcs-3y5kg779.js} +2 -2
- package/dist/chunks/{persistent-pty-7r7rb3ck.js → vcs-3zm80s7d.js} +12 -12
- package/dist/chunks/{persistent-pty-pszedv3e.js → vcs-41w1qpn3.js} +9 -9
- package/dist/chunks/{persistent-pty-n0vyk18c.js → vcs-42qb5rv4.js} +24 -24
- package/dist/chunks/{persistent-pty-mx5ntkq3.js → vcs-497mjgh5.js} +26 -26
- package/dist/chunks/{persistent-pty-6sbnn1cw.js → vcs-4jvymcr5.js} +9 -9
- package/dist/chunks/{persistent-pty-0ya4kcpa.js → vcs-4m6wdh0q.js} +14 -14
- package/dist/chunks/{persistent-pty-hdfrs5mg.js → vcs-4pnypb5f.js} +7 -7
- package/dist/chunks/{persistent-pty-4pyp9zr9.js → vcs-4pyp9zr9.js} +1 -1
- package/dist/chunks/{persistent-pty-h8kx6a24.js → vcs-4qnt9348.js} +22 -22
- package/dist/chunks/{persistent-pty-4v008n1t.js → vcs-4v008n1t.js} +1 -1
- package/dist/chunks/{persistent-pty-qdmaswkh.js → vcs-4xy4nqvy.js} +21 -21
- package/dist/chunks/{persistent-pty-mnyz6jmh.js → vcs-4ya1zf4j.js} +9 -9
- package/dist/chunks/{persistent-pty-9n2g1sn7.js → vcs-4zjf7cy2.js} +20 -20
- package/dist/chunks/vcs-5272mb2r.js +257 -0
- package/dist/chunks/{persistent-pty-7wpj9r4n.js → vcs-56exsq7y.js} +10 -10
- package/dist/chunks/{persistent-pty-w2eysc6j.js → vcs-5enarcya.js} +6 -6
- package/dist/chunks/{persistent-pty-5m9w47nd.js → vcs-5m9w47nd.js} +1 -1
- package/dist/chunks/{persistent-pty-6azgr7ze.js → vcs-5qx92zct.js} +42 -42
- package/dist/chunks/{persistent-pty-1jsvn0r5.js → vcs-5ww8zx74.js} +3 -3
- package/dist/chunks/{persistent-pty-pbbktnbz.js → vcs-5x26af84.js} +4 -4
- package/dist/chunks/{persistent-pty-1ynb6ezc.js → vcs-5x47hebm.js} +13 -13
- package/dist/chunks/{persistent-pty-vzvqvrbr.js → vcs-5xh13x4p.js} +27 -27
- package/dist/chunks/{persistent-pty-dncqwfyx.js → vcs-66rmjjex.js} +21 -21
- package/dist/chunks/{persistent-pty-6esdw8yj.js → vcs-6esdw8yj.js} +1 -1
- package/dist/chunks/{persistent-pty-bn32yz83.js → vcs-711z6zs4.js} +32 -32
- package/dist/chunks/{persistent-pty-76cb1hcw.js → vcs-76cb1hcw.js} +1 -1
- package/dist/chunks/{persistent-pty-7bmhse3q.js → vcs-7bmhse3q.js} +1 -1
- package/dist/chunks/{persistent-pty-cpyv68vg.js → vcs-7jk9ktw7.js} +43 -43
- package/dist/chunks/{persistent-pty-7c82yqbx.js → vcs-7vva77b5.js} +5 -5
- package/dist/chunks/{persistent-pty-7w2ypzdf.js → vcs-7w2ypzdf.js} +1 -1
- package/dist/chunks/{persistent-pty-hrxhk37r.js → vcs-7xwxxj51.js} +43 -43
- package/dist/chunks/{persistent-pty-95jfhm1f.js → vcs-803py63b.js} +45 -45
- package/dist/chunks/{persistent-pty-kvvk99b7.js → vcs-81e513d9.js} +15 -15
- package/dist/chunks/{persistent-pty-y067tb9j.js → vcs-82j41amh.js} +4 -4
- package/dist/chunks/{persistent-pty-pqnrqzxc.js → vcs-834xe486.js} +9 -9
- package/dist/chunks/{persistent-pty-80erdhxq.js → vcs-88nacy35.js} +36 -36
- package/dist/chunks/{persistent-pty-qpv0mvvz.js → vcs-893ry4nt.js} +10 -10
- package/dist/chunks/{persistent-pty-kg1ma0kd.js → vcs-8abc36xm.js} +50 -50
- package/dist/chunks/{persistent-pty-7vktkwjq.js → vcs-8axx4zpa.js} +12 -12
- package/dist/chunks/{persistent-pty-3h757q1d.js → vcs-8cr8ejqg.js} +8 -8
- package/dist/chunks/{persistent-pty-cjaw03wv.js → vcs-8dhx12dr.js} +17 -17
- package/dist/chunks/{persistent-pty-eke95etz.js → vcs-8e8fnv13.js} +39 -39
- package/dist/chunks/{persistent-pty-jj147ft1.js → vcs-8f2h6hsz.js} +16 -16
- package/dist/chunks/{persistent-pty-31avdb49.js → vcs-8rgb2cvr.js} +11 -11
- package/dist/chunks/{persistent-pty-nng17e32.js → vcs-8sqprg4w.js} +36 -36
- package/dist/chunks/{persistent-pty-8wtp7s3z.js → vcs-8wtp7s3z.js} +1 -1
- package/dist/chunks/{persistent-pty-90zstvax.js → vcs-90zstvax.js} +1 -1
- package/dist/chunks/{persistent-pty-gbc4psnj.js → vcs-911083wy.js} +15 -15
- package/dist/chunks/{persistent-pty-mp6ntmcp.js → vcs-961rs8be.js} +12 -12
- package/dist/chunks/{persistent-pty-ddad440e.js → vcs-96a4eq0m.js} +27 -27
- package/dist/chunks/{persistent-pty-m0kj7b7a.js → vcs-96tdjhwb.js} +2 -2
- package/dist/chunks/{persistent-pty-7xcxnnhw.js → vcs-9a3x2kz4.js} +13 -13
- package/dist/chunks/{persistent-pty-d54nae6v.js → vcs-9ca4th6x.js} +25 -25
- package/dist/chunks/{persistent-pty-9370xdb0.js → vcs-9d4562qa.js} +17 -17
- package/dist/chunks/{persistent-pty-p0knec42.js → vcs-9hf7djsb.js} +15 -15
- package/dist/chunks/{persistent-pty-dbb763wq.js → vcs-9nxy5s5f.js} +8 -8
- package/dist/chunks/{persistent-pty-r8v4vvzq.js → vcs-9qdswjvr.js} +12 -12
- package/dist/chunks/{persistent-pty-crvjh2nq.js → vcs-9s8mp9xy.js} +6 -6
- package/dist/chunks/{persistent-pty-h6t0znmf.js → vcs-9yhxtcx8.js} +9 -9
- package/dist/chunks/{persistent-pty-0anyt1n6.js → vcs-9z9tayqc.js} +5 -5
- package/dist/chunks/{persistent-pty-56fkkzwp.js → vcs-a2jzevxz.js} +14 -14
- package/dist/chunks/{persistent-pty-6rqz0akc.js → vcs-a9qv6y2y.js} +32 -32
- package/dist/chunks/{persistent-pty-fvtwqean.js → vcs-acqpw5y2.js} +21 -21
- package/dist/chunks/{persistent-pty-v8vavc5t.js → vcs-aecr8kmf.js} +40 -40
- package/dist/chunks/{persistent-pty-ez0bd5c5.js → vcs-axgnp1w7.js} +26 -26
- package/dist/chunks/{persistent-pty-ayjs7tqn.js → vcs-ayjs7tqn.js} +2 -2
- package/dist/chunks/{persistent-pty-b6vsg801.js → vcs-b6vsg801.js} +2 -2
- package/dist/chunks/{persistent-pty-7aszcnrw.js → vcs-b8zfksyw.js} +12 -12
- package/dist/chunks/{persistent-pty-heamr9gy.js → vcs-bh6hwh25.js} +3 -3
- package/dist/chunks/{persistent-pty-61ennm6n.js → vcs-bjhzkqyk.js} +4 -4
- package/dist/chunks/{persistent-pty-tmy26mxh.js → vcs-bqxvxs63.js} +23 -23
- package/dist/chunks/{persistent-pty-bstexjd6.js → vcs-bstexjd6.js} +1 -1
- package/dist/chunks/{persistent-pty-dfagftgj.js → vcs-bzfazvnd.js} +20 -20
- package/dist/chunks/{persistent-pty-xc897g4n.js → vcs-bzzy1r12.js} +11 -11
- package/dist/chunks/{persistent-pty-cd1wa7pc.js → vcs-c603at3t.js} +3 -3
- package/dist/chunks/{persistent-pty-3ryz99p0.js → vcs-c6x7d2ts.js} +4 -4
- package/dist/chunks/{persistent-pty-y906m0ew.js → vcs-ce5fknq2.js} +5 -5
- package/dist/chunks/{persistent-pty-7j9wt8g8.js → vcs-chc0g785.js} +5 -5
- package/dist/chunks/{persistent-pty-x25jfgjr.js → vcs-ckvzbjwj.js} +25 -25
- package/dist/chunks/{persistent-pty-v4t7rh87.js → vcs-cqnqmmbc.js} +22 -22
- package/dist/chunks/{persistent-pty-g7fyn0m6.js → vcs-crgewsnq.js} +5 -5
- package/dist/chunks/{persistent-pty-tkb7bqdy.js → vcs-cvc38qdd.js} +9 -9
- package/dist/chunks/{persistent-pty-cwrgdav8.js → vcs-cwrgdav8.js} +2 -2
- package/dist/chunks/{persistent-pty-d4v9tmah.js → vcs-d4v9tmah.js} +2 -2
- package/dist/chunks/{persistent-pty-4pw98qd4.js → vcs-d8p3t516.js} +4 -4
- package/dist/chunks/{persistent-pty-txsdra3m.js → vcs-d8wf4604.js} +34 -34
- package/dist/chunks/{persistent-pty-nkyj4cf1.js → vcs-dc473hq1.js} +20 -20
- package/dist/chunks/{persistent-pty-jeggvkmv.js → vcs-dcphv4q7.js} +11 -11
- package/dist/chunks/{persistent-pty-00htyqr9.js → vcs-drmc7326.js} +13 -13
- package/dist/chunks/{persistent-pty-drvbhkez.js → vcs-drvbhkez.js} +2 -2
- package/dist/chunks/{persistent-pty-dt77769w.js → vcs-dt77769w.js} +1 -1
- package/dist/chunks/{persistent-pty-cr8fx06x.js → vcs-dw6yk4g4.js} +19 -19
- package/dist/chunks/{persistent-pty-t20mvzrk.js → vcs-dxf45bfp.js} +27 -27
- package/dist/chunks/{persistent-pty-5qtr8rjc.js → vcs-dxqpfg1f.js} +78 -78
- package/dist/chunks/{persistent-pty-aqpt7qn5.js → vcs-dzcfjmec.js} +16 -16
- package/dist/chunks/{persistent-pty-67avc1k8.js → vcs-dzfs5b6c.js} +8 -8
- package/dist/chunks/{persistent-pty-50fdsjg8.js → vcs-e14jxrf8.js} +21 -21
- package/dist/chunks/{persistent-pty-yc76cwjc.js → vcs-e515nszc.js} +23 -23
- package/dist/chunks/{persistent-pty-e834z07m.js → vcs-e834z07m.js} +1 -1
- package/dist/chunks/{persistent-pty-xeecq2r5.js → vcs-ede588cb.js} +3 -3
- package/dist/chunks/{persistent-pty-wdnrbeqs.js → vcs-ehm90j5g.js} +4 -4
- package/dist/chunks/{persistent-pty-zd4mb3qc.js → vcs-eke9g6w2.js} +13 -13
- package/dist/chunks/vcs-ev660z6k.js +18 -0
- package/dist/chunks/{persistent-pty-7nnxdazv.js → vcs-ezm7bgte.js} +4 -4
- package/dist/chunks/{persistent-pty-09bv4atg.js → vcs-f01y088k.js} +5 -5
- package/dist/chunks/{persistent-pty-7w4mdq9h.js → vcs-f12ryszn.js} +12 -12
- package/dist/chunks/{persistent-pty-58fxbgyk.js → vcs-f3t04jjg.js} +7 -7
- package/dist/chunks/{persistent-pty-7kjqz9vx.js → vcs-f9v35vn9.js} +5 -5
- package/dist/chunks/{persistent-pty-fffv3p7h.js → vcs-fffv3p7h.js} +1 -1
- package/dist/chunks/{persistent-pty-fg9p65nk.js → vcs-fg9p65nk.js} +2 -2
- package/dist/chunks/{persistent-pty-vcvnp0q3.js → vcs-fne85w7v.js} +4 -4
- package/dist/chunks/{persistent-pty-jdgjvsvw.js → vcs-fw6nb5ck.js} +32 -32
- package/dist/chunks/{persistent-pty-qr2tsp5r.js → vcs-g67k3az8.js} +20 -20
- package/dist/chunks/{persistent-pty-zngxafys.js → vcs-g9c34x6f.js} +11 -11
- package/dist/chunks/{persistent-pty-c34ang25.js → vcs-gb3x7pd4.js} +23 -23
- package/dist/chunks/{persistent-pty-fv3rjegd.js → vcs-gcc564ca.js} +50 -50
- package/dist/chunks/{persistent-pty-gg8p9cgs.js → vcs-gg8p9cgs.js} +3 -3
- package/dist/chunks/{persistent-pty-72amzxyx.js → vcs-h7hv4bsx.js} +3 -3
- package/dist/chunks/{persistent-pty-0garbbmq.js → vcs-h871ecej.js} +20 -20
- package/dist/chunks/{persistent-pty-gs5kg9b2.js → vcs-h9cd45gd.js} +22 -22
- package/dist/chunks/vcs-hdfbhhjq.js +26 -0
- package/dist/chunks/{persistent-pty-hfgk9wzg.js → vcs-hfgk9wzg.js} +1 -1
- package/dist/chunks/{persistent-pty-z4v0at7d.js → vcs-hnyptrnw.js} +30 -30
- package/dist/chunks/{persistent-pty-hpg1pkwy.js → vcs-hpg1pkwy.js} +1 -1
- package/dist/chunks/{persistent-pty-6hjagsjn.js → vcs-hq1wfz6f.js} +4 -4
- package/dist/chunks/{persistent-pty-2zp5a6yg.js → vcs-hqxkkta1.js} +3 -3
- package/dist/chunks/{persistent-pty-r8rdcxeh.js → vcs-hrf8w9bv.js} +18 -18
- package/dist/chunks/{persistent-pty-43d5xc6d.js → vcs-hxe8n5wd.js} +19 -19
- package/dist/chunks/{persistent-pty-ybctve4h.js → vcs-hznj66aq.js} +36 -36
- package/dist/chunks/{persistent-pty-zf9grm2a.js → vcs-j3fqds5k.js} +37 -37
- package/dist/chunks/{persistent-pty-52a9j804.js → vcs-jbzt06de.js} +64 -64
- package/dist/chunks/{persistent-pty-bm4gstpq.js → vcs-jc512s3p.js} +8 -8
- package/dist/chunks/{persistent-pty-gcjdgkn2.js → vcs-jcqm84fr.js} +9 -9
- package/dist/chunks/{persistent-pty-dyph5nm8.js → vcs-jd4h7jwf.js} +27 -27
- package/dist/chunks/{persistent-pty-jfaecv01.js → vcs-jfaecv01.js} +1 -1
- package/dist/chunks/{persistent-pty-ya13x5xa.js → vcs-jhrp8x7n.js} +18 -18
- package/dist/chunks/{persistent-pty-p3t53mgr.js → vcs-jnxh9bnf.js} +24 -24
- package/dist/chunks/{persistent-pty-ty8kxeae.js → vcs-jpf9vszk.js} +35 -35
- package/dist/chunks/{persistent-pty-jtnps1zs.js → vcs-jtnps1zs.js} +2 -2
- package/dist/chunks/{persistent-pty-scntyf0x.js → vcs-jxt3q3kf.js} +11 -11
- package/dist/chunks/{persistent-pty-epv0aws2.js → vcs-k1cjxzzv.js} +18 -18
- package/dist/chunks/{persistent-pty-633sykgz.js → vcs-k6d7f0h0.js} +24 -24
- package/dist/chunks/{persistent-pty-k814nvkf.js → vcs-k814nvkf.js} +1 -1
- package/dist/chunks/{persistent-pty-wby0kqsc.js → vcs-k9zkdd2y.js} +4 -4
- package/dist/chunks/{persistent-pty-5spjnxae.js → vcs-kam05h7r.js} +23 -23
- package/dist/chunks/{persistent-pty-htf1zbz3.js → vcs-kkmrs84d.js} +16 -16
- package/dist/chunks/{persistent-pty-kt3bjfbg.js → vcs-kt3bjfbg.js} +1 -1
- package/dist/chunks/{persistent-pty-1evzqt9k.js → vcs-kvaqnkh5.js} +6 -6
- package/dist/chunks/{persistent-pty-ky4b16es.js → vcs-kvkehzzy.js} +11 -11
- package/dist/chunks/{persistent-pty-pyhph78g.js → vcs-kvnh73qb.js} +11 -11
- package/dist/chunks/{persistent-pty-m1714858.js → vcs-m1714858.js} +1 -1
- package/dist/chunks/{persistent-pty-wgn86zaw.js → vcs-m23nxqzn.js} +25 -25
- package/dist/chunks/{persistent-pty-c4wqcyac.js → vcs-m3dz0tc2.js} +32 -32
- package/dist/chunks/{persistent-pty-yqveydy6.js → vcs-m7xh3h0x.js} +4 -4
- package/dist/chunks/{persistent-pty-m9w0rfyh.js → vcs-m9w0rfyh.js} +1 -1
- package/dist/chunks/{persistent-pty-9ep0cc8m.js → vcs-mhhpcp40.js} +54 -54
- package/dist/chunks/{persistent-pty-v21mv7f7.js → vcs-mp9ebvmh.js} +12 -12
- package/dist/chunks/{persistent-pty-2fe6144r.js → vcs-mr1t2pzq.js} +23 -23
- package/dist/chunks/{persistent-pty-9j54w4dz.js → vcs-mvmschgv.js} +48 -48
- package/dist/chunks/{persistent-pty-bcvtcraz.js → vcs-n39rwvas.js} +1 -1
- package/dist/chunks/{persistent-pty-s1a2cwn2.js → vcs-n93tr00k.js} +10 -10
- package/dist/chunks/{persistent-pty-nah043kf.js → vcs-nah043kf.js} +1 -1
- package/dist/chunks/{persistent-pty-wxcgqqg8.js → vcs-nahhmz6x.js} +16 -16
- package/dist/chunks/{persistent-pty-sjx7wecx.js → vcs-ncgj4fsm.js} +9 -9
- package/dist/chunks/{persistent-pty-mk295dtd.js → vcs-nhenvrcv.js} +12 -12
- package/dist/chunks/{persistent-pty-k567f45b.js → vcs-nqnxqd2r.js} +17 -17
- package/dist/chunks/{persistent-pty-vsqvcqta.js → vcs-nrtygxmh.js} +6 -6
- package/dist/chunks/{persistent-pty-p015t6z3.js → vcs-p015t6z3.js} +2 -2
- package/dist/chunks/{persistent-pty-9s067py2.js → vcs-p2esgkzz.js} +3 -3
- package/dist/chunks/{persistent-pty-7655k14p.js → vcs-p5t3gg5q.js} +11 -11
- package/dist/chunks/{persistent-pty-5yh47y05.js → vcs-ph7et01j.js} +20 -20
- package/dist/chunks/{persistent-pty-pknna89w.js → vcs-pknna89w.js} +1 -1
- package/dist/chunks/{persistent-pty-mr182tfb.js → vcs-prjhwpt4.js} +8 -8
- package/dist/chunks/{persistent-pty-1fr6zs4m.js → vcs-pzf76rrq.js} +30 -30
- package/dist/chunks/{persistent-pty-ra34yqmw.js → vcs-q85rya1m.js} +6 -6
- package/dist/chunks/{persistent-pty-0mwtxpwv.js → vcs-qatsv5dz.js} +25 -25
- package/dist/chunks/{persistent-pty-h9ytefs8.js → vcs-qgj2y09a.js} +5 -5
- package/dist/chunks/{persistent-pty-0w2jttgf.js → vcs-qj0f10hy.js} +2 -2
- package/dist/chunks/{persistent-pty-8jztxfpf.js → vcs-qjgzc4b4.js} +4 -4
- package/dist/chunks/{persistent-pty-qn4ber4v.js → vcs-qjq7p7j6.js} +25 -25
- package/dist/chunks/{persistent-pty-qp7r0hxv.js → vcs-qp7r0hxv.js} +1 -1
- package/dist/chunks/{persistent-pty-gp067yzn.js → vcs-qw6ypx0r.js} +11 -11
- package/dist/chunks/{persistent-pty-qymz5vam.js → vcs-qzze65dp.js} +32 -32
- package/dist/chunks/{persistent-pty-r0yr0wbs.js → vcs-r0yr0wbs.js} +1 -1
- package/dist/chunks/{persistent-pty-pa997763.js → vcs-r4kh5xmg.js} +3 -3
- package/dist/chunks/{persistent-pty-r542h3bh.js → vcs-r542h3bh.js} +1 -1
- package/dist/chunks/{persistent-pty-w15dafs9.js → vcs-r76g6m5d.js} +18 -18
- package/dist/chunks/{persistent-pty-53bv7djz.js → vcs-rb35zdj3.js} +6 -6
- package/dist/chunks/{persistent-pty-rb9dy4dg.js → vcs-rb9dy4dg.js} +1 -1
- package/dist/chunks/{persistent-pty-8hn4pygh.js → vcs-rc3e9zq8.js} +28 -28
- package/dist/chunks/{persistent-pty-5y682njc.js → vcs-rdssdv87.js} +27 -27
- package/dist/chunks/{persistent-pty-stbkav8k.js → vcs-rnkzngrq.js} +13 -13
- package/dist/chunks/{persistent-pty-rzepvn2e.js → vcs-rnvx41re.js} +41 -41
- package/dist/chunks/{persistent-pty-7wmpehws.js → vcs-rq1s007a.js} +17 -17
- package/dist/chunks/{persistent-pty-8r65fy8w.js → vcs-rramyk5b.js} +20 -20
- package/dist/chunks/{persistent-pty-rt5dr6hb.js → vcs-rt5dr6hb.js} +1 -1
- package/dist/chunks/{persistent-pty-41qk7kz0.js → vcs-rvnzb7rd.js} +8 -8
- package/dist/chunks/{persistent-pty-s0wxxy3w.js → vcs-rvr8sh1j.js} +9 -9
- package/dist/chunks/{persistent-pty-kep7f5cc.js → vcs-s11q4rn7.js} +11 -11
- package/dist/chunks/{persistent-pty-gdpq6bd8.js → vcs-s1pbznk9.js} +20 -20
- package/dist/chunks/{persistent-pty-df05jr30.js → vcs-s3yt9ny0.js} +6 -6
- package/dist/chunks/{persistent-pty-q63cb7ap.js → vcs-s7gmm2q3.js} +8 -4
- package/dist/chunks/{persistent-pty-v0t96s7a.js → vcs-s7kyse9r.js} +4 -4
- package/dist/chunks/{persistent-pty-bwqqmtwx.js → vcs-s7vmaqmh.js} +26 -26
- package/dist/chunks/{persistent-pty-sa3fpqfw.js → vcs-sa3fpqfw.js} +2 -2
- package/dist/chunks/{persistent-pty-z8r5vx31.js → vcs-sbanjb5j.js} +11 -11
- package/dist/chunks/{persistent-pty-q7agyjxx.js → vcs-sdv7qrfx.js} +6 -6
- package/dist/chunks/{persistent-pty-e6awym77.js → vcs-sfxc8tsc.js} +21 -21
- package/dist/chunks/{persistent-pty-6xxhtnvb.js → vcs-shhgqsar.js} +25 -25
- package/dist/chunks/{persistent-pty-cg8wvfan.js → vcs-sp1n9vrr.js} +13 -13
- package/dist/chunks/{persistent-pty-4qv6rmbn.js → vcs-sp5gwvgy.js} +17 -17
- package/dist/chunks/{persistent-pty-sqjzf8x2.js → vcs-sqjzf8x2.js} +1 -1
- package/dist/chunks/{persistent-pty-d2887f8n.js → vcs-ssfehs1z.js} +4 -4
- package/dist/chunks/{persistent-pty-svcy3p9a.js → vcs-svcy3p9a.js} +1 -1
- package/dist/chunks/{persistent-pty-ngtazrm4.js → vcs-svxc5mk7.js} +24 -24
- package/dist/chunks/{persistent-pty-qb24xxd1.js → vcs-swjc4wgc.js} +13 -13
- package/dist/chunks/{persistent-pty-3rkfx9k9.js → vcs-t7d5dner.js} +23 -23
- package/dist/chunks/{persistent-pty-atcw9je4.js → vcs-t9rnzgt8.js} +7 -7
- package/dist/chunks/{persistent-pty-tczq8hjw.js → vcs-tczq8hjw.js} +1 -1
- package/dist/chunks/{persistent-pty-2s4hqds4.js → vcs-tq4ca257.js} +25 -25
- package/dist/chunks/{persistent-pty-whss3p2j.js → vcs-ts41tt44.js} +18 -18
- package/dist/chunks/{persistent-pty-twssxy5n.js → vcs-twssxy5n.js} +2 -2
- package/dist/chunks/{persistent-pty-atr4tm0y.js → vcs-tzz7d8n9.js} +70 -70
- package/dist/chunks/{persistent-pty-v2r1d0zg.js → vcs-v2r1d0zg.js} +1 -1
- package/dist/chunks/{persistent-pty-z8hdzhhq.js → vcs-vbfgf998.js} +10 -10
- package/dist/chunks/{persistent-pty-nad4mkqt.js → vcs-vbhy04yp.js} +8 -8
- package/dist/chunks/{persistent-pty-xbcfztz3.js → vcs-vj5jshb9.js} +13 -13
- package/dist/chunks/{persistent-pty-vxqjk0bx.js → vcs-vp7nv6ts.js} +11 -11
- package/dist/chunks/{persistent-pty-kjgnzevm.js → vcs-vzmjdaw1.js} +9 -9
- package/dist/chunks/{persistent-pty-ve45bn9x.js → vcs-w2808p42.js} +6 -6
- package/dist/chunks/{persistent-pty-32qv0r55.js → vcs-w3ghn6yx.js} +4 -4
- package/dist/chunks/{persistent-pty-w3wsvvr9.js → vcs-w3wsvvr9.js} +1 -1
- package/dist/chunks/{persistent-pty-wr3re1en.js → vcs-w687dnns.js} +4 -4
- package/dist/chunks/{persistent-pty-wakvkjy4.js → vcs-wakvkjy4.js} +1 -1
- package/dist/chunks/{persistent-pty-wd87259q.js → vcs-wd87259q.js} +1 -1
- package/dist/chunks/{persistent-pty-wnhgecwx.js → vcs-wnhgecwx.js} +1 -1
- package/dist/chunks/{persistent-pty-npb1z062.js → vcs-wx1qd37n.js} +11 -11
- package/dist/chunks/{persistent-pty-mtq5g9x7.js → vcs-x1yq370d.js} +5 -5
- package/dist/chunks/{persistent-pty-r3096bj9.js → vcs-x22fevgm.js} +38 -38
- package/dist/chunks/{persistent-pty-38d21fdm.js → vcs-xcrax9b3.js} +22 -22
- package/dist/chunks/{persistent-pty-cn77934z.js → vcs-xcrtaswj.js} +11 -11
- package/dist/chunks/{persistent-pty-g0tp74by.js → vcs-xz2fv4yr.js} +17 -17
- package/dist/chunks/{persistent-pty-pzrv7hbh.js → vcs-y2hjk6xz.js} +12 -12
- package/dist/chunks/{persistent-pty-9y7cq3y4.js → vcs-y2syk0h5.js} +10 -10
- package/dist/chunks/{persistent-pty-f2k3g6xd.js → vcs-y9sq7js0.js} +175 -175
- package/dist/chunks/{persistent-pty-yara3q77.js → vcs-yara3q77.js} +2 -2
- package/dist/chunks/{persistent-pty-yb20nhc3.js → vcs-yb20nhc3.js} +1 -1
- package/dist/chunks/{persistent-pty-ddvn7d3w.js → vcs-ydsespw1.js} +8 -8
- package/dist/chunks/{persistent-pty-ddc2cb7k.js → vcs-yg76txfd.js} +23 -23
- package/dist/chunks/{persistent-pty-kpprecar.js → vcs-ym5kwrv0.js} +31 -31
- package/dist/chunks/{persistent-pty-a9q6fvpe.js → vcs-ymz7p2c9.js} +3 -3
- package/dist/chunks/vcs-yv133y3g.js +511 -0
- package/dist/chunks/{persistent-pty-z38nccrw.js → vcs-z38nccrw.js} +1 -1
- package/dist/chunks/{persistent-pty-4c0sy8z7.js → vcs-z9wg9fq4.js} +14 -14
- package/dist/chunks/{persistent-pty-49xvkvhm.js → vcs-zac84x8b.js} +3 -3
- package/dist/chunks/{persistent-pty-gqng3fq0.js → vcs-zgf2rtvh.js} +5 -5
- package/dist/chunks/{persistent-pty-c84tv7mg.js → vcs-znxracq4.js} +6 -6
- package/dist/chunks/{persistent-pty-n17h7ycd.js → vcs-zsd8tnyx.js} +14 -14
- package/dist/codemode/catalog.js +1 -1
- package/dist/codemode/instructions.js +7 -7
- package/dist/codemode/tool.js +3 -3
- package/dist/codemode/web.js +1 -1
- package/dist/command.js +89 -89
- package/dist/config/discovery.js +90 -90
- package/dist/config/integration.js +3 -3
- package/dist/config/markdown.js +1 -1
- package/dist/config/normalize.js +107 -107
- package/dist/config/plugin/agent.js +121 -121
- package/dist/config/plugin/command.js +219 -219
- package/dist/config/plugin/compaction.js +162 -162
- package/dist/config/plugin/compatibility.js +142 -142
- package/dist/config/plugin/entry-observer.js +1 -1
- package/dist/config/plugin/formatter.js +122 -122
- package/dist/config/plugin/image.js +121 -121
- package/dist/config/plugin/instruction.js +121 -121
- package/dist/config/plugin/location-watcher.js +121 -121
- package/dist/config/plugin/mcp.js +128 -128
- package/dist/config/plugin/policy.js +123 -123
- package/dist/config/plugin/provider.js +122 -122
- package/dist/config/plugin/reference.js +123 -123
- package/dist/config/plugin/shell.js +121 -121
- package/dist/config/plugin/skill-file.js +138 -138
- package/dist/config/plugin/skill-scan.js +1 -1
- package/dist/config/plugin/skill.js +143 -143
- package/dist/config/plugin/snapshot.js +121 -121
- package/dist/config/plugin/source.js +124 -124
- package/dist/config/plugin/tool-output.js +122 -122
- package/dist/config/plugin/websearch.js +120 -120
- package/dist/config/plugin/worktree.js +123 -123
- package/dist/config/variable.js +1 -1
- package/dist/config/watch.js +1 -1
- package/dist/config.js +126 -126
- package/dist/console-access.js +1 -1
- package/dist/credential/sql.js +2 -2
- package/dist/credential.js +89 -89
- package/dist/database/database.js +72 -72
- 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/20260923013825_project_time_active.js +1 -1
- package/dist/database/migration/20261007190000_azure_cli_external_credential.js +1 -1
- package/dist/database/migration/20261010180456_project_time_archived.js +1 -1
- package/dist/database/migration/20261024002554_session_allowance.js +1 -1
- package/dist/database/migration/20261024175301_drop_session_allowance.js +1 -1
- package/dist/database/migration/20261025123711_blob.js +1 -1
- package/dist/database/migration/20261025154125_drop_session_pending.js +1 -1
- package/dist/database/migration.gen.js +55 -55
- package/dist/database/migration.js +57 -57
- 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 +100 -100
- package/dist/database/v1-migration.js +1 -1
- package/dist/effect/app-node-builder.js +377 -377
- package/dist/effect/app-node-platform.js +2 -2
- package/dist/effect/keyed-mutex.js +3 -3
- package/dist/effect/websocket-constructor.js +1 -1
- package/dist/environment/driver.js +1 -1
- package/dist/environment/environment.js +101 -101
- package/dist/environment/exec-defaults.js +2 -2
- package/dist/environment/files.js +1 -1
- package/dist/environment/index.js +101 -101
- package/dist/environment/local.js +2 -2
- package/dist/environment/memory.js +2 -2
- package/dist/environment/unavailable.js +3 -3
- package/dist/event/sql.js +1 -1
- package/dist/event-logger.js +80 -80
- package/dist/file-access.js +148 -148
- package/dist/file-mutation.js +102 -102
- package/dist/file-retention.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/file-watch.js +86 -86
- package/dist/filesystem/location-watcher-policy.js +4 -4
- package/dist/filesystem/location-watcher.js +234 -234
- package/dist/filesystem/protected.js +1 -1
- package/dist/filesystem/search.js +107 -107
- package/dist/filesystem/watcher-binding.js +1 -1
- package/dist/filesystem/watcher.js +11 -11
- package/dist/filesystem.js +110 -110
- package/dist/form.js +82 -82
- package/dist/formatter/builtins.js +4 -4
- package/dist/formatter.js +95 -95
- package/dist/generate.js +113 -113
- package/dist/git.js +11 -11
- 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 +107 -107
- 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/image/photon-normalize.js +1 -1
- package/dist/image/photon-worker.js +1 -1
- package/dist/image/photon.js +4 -4
- package/dist/image.js +6 -6
- package/dist/instance/service.js +5 -5
- package/dist/instance.js +368 -368
- package/dist/instruction-discovery.js +86 -86
- package/dist/instructions/builtins.js +95 -95
- package/dist/instructions/index.js +3 -3
- package/dist/integration/connection.js +3 -3
- package/dist/integration.js +87 -87
- package/dist/job.js +84 -84
- package/dist/kv/sql.js +2 -2
- package/dist/kv.js +79 -79
- package/dist/location-activity.js +166 -166
- package/dist/location-lifecycle.js +142 -142
- package/dist/location-service-map.js +94 -94
- package/dist/location-services.js +365 -365
- package/dist/location.js +95 -95
- package/dist/managed-policy.js +3 -3
- package/dist/mcp/client.js +99 -99
- package/dist/mcp/index.js +111 -111
- package/dist/mcp/instructions.js +166 -166
- package/dist/mcp/oauth.js +84 -84
- package/dist/mcp/socket-client.js +1 -1
- package/dist/mcp/stdio.js +98 -98
- package/dist/mime.js +1 -1
- package/dist/modal/models.js +107 -107
- package/dist/model-resolver.js +107 -107
- package/dist/model-retry.js +1 -1
- package/dist/model.js +102 -102
- package/dist/models-dev/v1.js +1 -1
- package/dist/models-dev.js +112 -112
- package/dist/oauth/page.js +1 -1
- package/dist/permission/saved.js +88 -88
- package/dist/permission/sql.js +5 -5
- package/dist/permission.js +145 -145
- package/dist/persistent-pty/binary.bun.js +1 -1
- package/dist/persistent-pty/daemon.js +1 -1
- package/dist/persistent-pty/index.js +90 -90
- package/dist/persistent-pty/pty-binding.js +1 -1
- package/dist/persistent-pty.js +81 -81
- package/dist/plugin/agent.js +80 -80
- package/dist/plugin/command.js +108 -108
- package/dist/plugin/hooks.js +5 -5
- package/dist/plugin/host.js +227 -227
- package/dist/plugin/identity.js +5 -5
- package/dist/plugin/instance.js +5 -5
- package/dist/plugin/internal.js +338 -338
- package/dist/plugin/mcp-codemode-defaults.js +3 -3
- package/dist/plugin/models-dev.js +105 -105
- package/dist/plugin/module.js +123 -123
- package/dist/plugin/optimize.js +2 -2
- package/dist/plugin/plan.js +138 -138
- package/dist/plugin/promise.js +1 -1
- package/dist/plugin/provider/amazon-bedrock.js +98 -98
- package/dist/plugin/provider/azure.js +121 -121
- package/dist/plugin/provider/cerebras.js +1 -1
- package/dist/plugin/provider/chatgpt.js +121 -121
- package/dist/plugin/provider/cloudflare-ai-gateway.js +118 -118
- package/dist/plugin/provider/cloudflare-workers-ai.js +118 -118
- package/dist/plugin/provider/configured.js +117 -117
- package/dist/plugin/provider/databricks.js +1 -1
- package/dist/plugin/provider/digitalocean.js +101 -101
- package/dist/plugin/provider/dynamic.js +2 -2
- package/dist/plugin/provider/github-copilot.js +103 -103
- package/dist/plugin/provider/gitlab.js +101 -101
- package/dist/plugin/provider/google-vertex.js +118 -118
- package/dist/plugin/provider/kilo.js +1 -1
- package/dist/plugin/provider/llmgateway.js +84 -84
- package/dist/plugin/provider/lmstudio.js +130 -130
- package/dist/plugin/provider/local.js +127 -127
- package/dist/plugin/provider/modal.js +100 -100
- package/dist/plugin/provider/neon.js +1 -1
- package/dist/plugin/provider/nvidia.js +1 -1
- package/dist/plugin/provider/ollama.js +130 -130
- package/dist/plugin/provider/openai-context-caps.js +98 -98
- package/dist/plugin/provider/openai.js +121 -121
- package/dist/plugin/provider/opencode.js +124 -124
- package/dist/plugin/provider/openrouter.js +99 -99
- package/dist/plugin/provider/poe.js +85 -85
- package/dist/plugin/provider/prompt-cache-key.js +1 -1
- package/dist/plugin/provider/sap-ai-core.js +99 -99
- package/dist/plugin/provider/sdk-factory.js +1 -1
- package/dist/plugin/provider/snowflake-cortex.js +120 -120
- package/dist/plugin/provider/vllm.js +130 -130
- package/dist/plugin/provider/xai.js +99 -99
- package/dist/plugin/provider/zenmux.js +1 -1
- package/dist/plugin/provider.js +171 -171
- package/dist/plugin/sdk.js +82 -82
- package/dist/plugin/service.js +3 -3
- package/dist/plugin/skill.js +141 -141
- package/dist/plugin/source-directory.js +1 -1
- package/dist/plugin/supervisor.js +357 -357
- package/dist/plugin/tool-input-repair.js +4 -4
- package/dist/plugin/update.js +6 -6
- package/dist/plugin/vcs/git.js +94 -94
- package/dist/plugin/vcs/hg.js +94 -94
- package/dist/plugin/verbosity.js +101 -101
- package/dist/plugin/warming.js +119 -119
- 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 +4 -4
- package/dist/plugin/websearch/parallel.js +6 -6
- package/dist/plugin/websearch/tavily.js +6 -6
- package/dist/plugin/websearch/tinyfish.js +8 -8
- package/dist/plugin.js +232 -232
- package/dist/project/icon.js +5 -5
- package/dist/project/schema.js +6 -6
- package/dist/project/sql.js +4 -4
- package/dist/project.js +96 -96
- package/dist/provider.js +101 -101
- package/dist/pty/protocol.js +1 -1
- package/dist/pty/ticket.js +1 -1
- package/dist/pty.js +106 -106
- package/dist/reference/instructions.js +92 -92
- package/dist/reference.js +96 -96
- package/dist/repository-cache.js +88 -88
- package/dist/repository.js +1 -1
- package/dist/ripgrep/binary.js +2 -2
- package/dist/ripgrep.js +105 -105
- package/dist/rpc.js +94 -94
- package/dist/schema.js +1 -1
- package/dist/session/affinity.js +1 -1
- package/dist/session/blob.js +120 -120
- package/dist/session/command.js +80 -80
- package/dist/session/compaction.js +158 -158
- package/dist/session/context.js +184 -184
- package/dist/session/diff.js +96 -96
- package/dist/session/environment.js +5 -5
- package/dist/session/error.js +5 -5
- package/dist/session/event.js +1 -1
- package/dist/session/execution/restart.js +228 -228
- package/dist/session/execution.js +154 -154
- package/dist/session/generate.js +188 -188
- package/dist/session/history.js +127 -127
- package/dist/session/inbox.js +138 -138
- package/dist/session/info.js +3 -3
- package/dist/session/instruction-entry.js +83 -83
- package/dist/session/instruction-state.js +8 -8
- package/dist/session/instructions.js +132 -132
- package/dist/session/message-updater.js +2 -2
- package/dist/session/message.js +1 -1
- package/dist/session/model-request.js +155 -155
- package/dist/session/model-transport.js +9 -9
- package/dist/session/move.js +152 -152
- package/dist/session/projector.js +132 -132
- package/dist/session/prompt.js +140 -140
- package/dist/session/recent-text.js +1 -1
- package/dist/session/revert.js +130 -130
- package/dist/session/run-coordinator.js +3 -3
- package/dist/session/runner/index.js +3 -3
- package/dist/session/runner/llm.js +238 -238
- package/dist/session/runner/max-steps.js +1 -1
- package/dist/session/runner/model.js +108 -108
- package/dist/session/runner/publish-llm-event.js +141 -141
- package/dist/session/runner/retry.js +5 -5
- package/dist/session/runner/step.js +154 -154
- package/dist/session/runner/to-llm-message.js +128 -128
- package/dist/session/schema.js +5 -5
- package/dist/session/session.js +172 -172
- package/dist/session/shell.js +135 -135
- package/dist/session/skill.js +139 -139
- package/dist/session/sql.js +5 -5
- package/dist/session/stats.js +79 -79
- package/dist/session/store.js +133 -133
- package/dist/session/stored.js +2 -2
- package/dist/session/subagent-completion.js +1 -1
- package/dist/session/subagent-job.js +219 -219
- package/dist/session/system-prompt.js +1 -1
- package/dist/session/title.js +192 -192
- package/dist/session/to-session-error.js +140 -140
- package/dist/session/transfer.js +224 -224
- package/dist/session/usage.js +1 -1
- package/dist/session.js +219 -219
- 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 +13 -13
- package/dist/shell.js +137 -137
- package/dist/skill/discovery.js +6 -6
- package/dist/skill/instructions.js +143 -143
- package/dist/skill.js +144 -144
- package/dist/snapshot.js +101 -101
- 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 +167 -167
- package/dist/tool/plugin/edit.js +156 -156
- package/dist/tool/plugin/file-diff.js +1 -1
- package/dist/tool/plugin/glob.js +160 -160
- package/dist/tool/plugin/grep.js +158 -158
- package/dist/tool/plugin/mcp-resource.js +154 -154
- package/dist/tool/plugin/opencode.js +153 -153
- package/dist/tool/plugin/patch.js +152 -152
- package/dist/tool/plugin/question.js +138 -138
- package/dist/tool/plugin/read.js +161 -161
- package/dist/tool/plugin/shell.js +222 -222
- package/dist/tool/plugin/skill.js +149 -149
- package/dist/tool/plugin/subagent.js +226 -226
- package/dist/tool/plugin/todo.js +145 -145
- package/dist/tool/plugin/webfetch.js +149 -149
- package/dist/tool/plugin/websearch.js +145 -145
- package/dist/tool/plugin/write.js +150 -150
- package/dist/tool/read-filesystem.js +108 -108
- package/dist/tool/runtime.js +1 -1
- package/dist/tool-output.js +7 -7
- package/dist/tool.js +14 -14
- package/dist/types/codemode/web.d.ts +23 -1
- package/dist/usage-limits.js +95 -95
- package/dist/util/error-summary.js +1 -1
- package/dist/util/git-executable.js +3 -3
- 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 +7 -7
- package/dist/v1/config/command.js +3 -3
- package/dist/v1/config/mcp.js +4 -4
- package/dist/v1/config/migrate.js +100 -100
- 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/variant.js +99 -99
- package/dist/vcs/patch.js +1 -1
- package/dist/vcs.js +97 -97
- package/dist/voice.js +86 -86
- package/dist/websearch.js +86 -86
- package/dist/wellknown/plugin.js +82 -82
- package/dist/wellknown.js +87 -87
- package/dist/workspace/driver.js +5 -5
- package/dist/workspace/sql.js +1 -1
- package/dist/workspace.js +88 -88
- package/dist/worktree/directory.js +2 -2
- package/dist/worktree/git.js +11 -11
- package/dist/worktree/sql.js +5 -5
- package/dist/worktree/strategies.js +93 -93
- package/dist/worktree.js +100 -100
- package/package.json +8 -8
- package/dist/chunks/persistent-pty-7h6zwn4y.js +0 -511
- package/dist/chunks/persistent-pty-kb564s6s.js +0 -257
- package/dist/chunks/persistent-pty-m2b5v9hb.js +0 -26
- package/dist/chunks/persistent-pty-z355x5yr.js +0 -18
- /package/dist/chunks/{persistent-pty-0qkdqm5v.js → vcs-0qkdqm5v.js} +0 -0
- /package/dist/chunks/{persistent-pty-0zkw76rk.js → vcs-0zkw76rk.js} +0 -0
- /package/dist/chunks/{persistent-pty-17cy0kzp.js → vcs-17cy0kzp.js} +0 -0
- /package/dist/chunks/{persistent-pty-1cnp2v09.js → vcs-1cnp2v09.js} +0 -0
- /package/dist/chunks/{persistent-pty-1jakw16s.js → vcs-1jakw16s.js} +0 -0
- /package/dist/chunks/{persistent-pty-24dcb14g.js → vcs-24dcb14g.js} +0 -0
- /package/dist/chunks/{persistent-pty-2710q6r3.js → vcs-2710q6r3.js} +0 -0
- /package/dist/chunks/{persistent-pty-2bv980vf.js → vcs-2bv980vf.js} +0 -0
- /package/dist/chunks/{persistent-pty-2c3vjs8z.js → vcs-2c3vjs8z.js} +0 -0
- /package/dist/chunks/{persistent-pty-359p4xyc.js → vcs-359p4xyc.js} +0 -0
- /package/dist/chunks/{persistent-pty-3asan66x.js → vcs-3asan66x.js} +0 -0
- /package/dist/chunks/{persistent-pty-3v8g72cx.js → vcs-3v8g72cx.js} +0 -0
- /package/dist/chunks/{persistent-pty-3wcehsnq.js → vcs-3wcehsnq.js} +0 -0
- /package/dist/chunks/{persistent-pty-43n2bw4t.js → vcs-43n2bw4t.js} +0 -0
- /package/dist/chunks/{persistent-pty-4knz6hnm.js → vcs-4knz6hnm.js} +0 -0
- /package/dist/chunks/{persistent-pty-4m86bj6y.js → vcs-4m86bj6y.js} +0 -0
- /package/dist/chunks/{persistent-pty-4vcrnpx2.js → vcs-4vcrnpx2.js} +0 -0
- /package/dist/chunks/{persistent-pty-4y7fprxs.js → vcs-4y7fprxs.js} +0 -0
- /package/dist/chunks/{persistent-pty-53557ph1.js → vcs-53557ph1.js} +0 -0
- /package/dist/chunks/{persistent-pty-550bvhaj.js → vcs-550bvhaj.js} +0 -0
- /package/dist/chunks/{persistent-pty-5w3e23ze.js → vcs-5w3e23ze.js} +0 -0
- /package/dist/chunks/{persistent-pty-6prwharc.js → vcs-6prwharc.js} +0 -0
- /package/dist/chunks/{persistent-pty-6q2bdcd1.js → vcs-6q2bdcd1.js} +0 -0
- /package/dist/chunks/{persistent-pty-7akdwqpd.js → vcs-7akdwqpd.js} +0 -0
- /package/dist/chunks/{persistent-pty-7m9af43g.js → vcs-7m9af43g.js} +0 -0
- /package/dist/chunks/{persistent-pty-822emrt2.js → vcs-822emrt2.js} +0 -0
- /package/dist/chunks/{persistent-pty-84wd9syh.js → vcs-84wd9syh.js} +0 -0
- /package/dist/chunks/{persistent-pty-88xbtdfr.js → vcs-88xbtdfr.js} +0 -0
- /package/dist/chunks/{persistent-pty-8n3pysct.js → vcs-8n3pysct.js} +0 -0
- /package/dist/chunks/{persistent-pty-8wj87zfr.js → vcs-8wj87zfr.js} +0 -0
- /package/dist/chunks/{persistent-pty-9a4afbnw.js → vcs-9a4afbnw.js} +0 -0
- /package/dist/chunks/{persistent-pty-9rqn6x4v.js → vcs-9rqn6x4v.js} +0 -0
- /package/dist/chunks/{persistent-pty-a058387c.js → vcs-a058387c.js} +0 -0
- /package/dist/chunks/{persistent-pty-a6k6eb26.js → vcs-a6k6eb26.js} +0 -0
- /package/dist/chunks/{persistent-pty-af5trqkr.js → vcs-af5trqkr.js} +0 -0
- /package/dist/chunks/{persistent-pty-afrmfg78.js → vcs-afrmfg78.js} +0 -0
- /package/dist/chunks/{persistent-pty-aqzs7mqg.js → vcs-aqzs7mqg.js} +0 -0
- /package/dist/chunks/{persistent-pty-atq7p7m5.js → vcs-atq7p7m5.js} +0 -0
- /package/dist/chunks/{persistent-pty-beh6qq61.js → vcs-beh6qq61.js} +0 -0
- /package/dist/chunks/{persistent-pty-bkyjaxrp.js → vcs-bkyjaxrp.js} +0 -0
- /package/dist/chunks/{persistent-pty-bmr6ed5q.js → vcs-bmr6ed5q.js} +0 -0
- /package/dist/chunks/{persistent-pty-cf4snx6d.js → vcs-cf4snx6d.js} +0 -0
- /package/dist/chunks/{persistent-pty-cqv5kn06.js → vcs-cqv5kn06.js} +0 -0
- /package/dist/chunks/{persistent-pty-cvy3z8tj.js → vcs-cvy3z8tj.js} +0 -0
- /package/dist/chunks/{persistent-pty-d9fn303g.js → vcs-d9fn303g.js} +0 -0
- /package/dist/chunks/{persistent-pty-d9jj8t3e.js → vcs-d9jj8t3e.js} +0 -0
- /package/dist/chunks/{persistent-pty-dajrwvna.js → vcs-dajrwvna.js} +0 -0
- /package/dist/chunks/{persistent-pty-dap0rakb.js → vcs-dap0rakb.js} +0 -0
- /package/dist/chunks/{persistent-pty-df08tz66.js → vcs-df08tz66.js} +0 -0
- /package/dist/chunks/{persistent-pty-dy18nga0.js → vcs-dy18nga0.js} +0 -0
- /package/dist/chunks/{persistent-pty-e5kj55wp.js → vcs-e5kj55wp.js} +0 -0
- /package/dist/chunks/{persistent-pty-e73j6tqm.js → vcs-e73j6tqm.js} +0 -0
- /package/dist/chunks/{persistent-pty-ec1grn59.js → vcs-ec1grn59.js} +0 -0
- /package/dist/chunks/{persistent-pty-eh3zwz77.js → vcs-eh3zwz77.js} +0 -0
- /package/dist/chunks/{persistent-pty-emrn6kk6.js → vcs-emrn6kk6.js} +0 -0
- /package/dist/chunks/{persistent-pty-f0mxakyp.js → vcs-f0mxakyp.js} +0 -0
- /package/dist/chunks/{persistent-pty-f6n9ztr4.js → vcs-f6n9ztr4.js} +0 -0
- /package/dist/chunks/{persistent-pty-faypxj3z.js → vcs-faypxj3z.js} +0 -0
- /package/dist/chunks/{persistent-pty-fd410y7t.js → vcs-fd410y7t.js} +0 -0
- /package/dist/chunks/{persistent-pty-fkpq3x5p.js → vcs-fkpq3x5p.js} +0 -0
- /package/dist/chunks/{persistent-pty-g4wezp1m.js → vcs-g4wezp1m.js} +0 -0
- /package/dist/chunks/{persistent-pty-g86h250q.js → vcs-g86h250q.js} +0 -0
- /package/dist/chunks/{persistent-pty-gebd4c9n.js → vcs-gebd4c9n.js} +0 -0
- /package/dist/chunks/{persistent-pty-gftt206x.js → vcs-gftt206x.js} +0 -0
- /package/dist/chunks/{persistent-pty-hcxmzztb.js → vcs-hcxmzztb.js} +0 -0
- /package/dist/chunks/{persistent-pty-hk9envan.js → vcs-hk9envan.js} +0 -0
- /package/dist/chunks/{persistent-pty-j2ntwpah.js → vcs-j2ntwpah.js} +0 -0
- /package/dist/chunks/{persistent-pty-j5zkgpj8.js → vcs-j5zkgpj8.js} +0 -0
- /package/dist/chunks/{persistent-pty-jjkms2e6.js → vcs-jjkms2e6.js} +0 -0
- /package/dist/chunks/{persistent-pty-jr7sbwjy.js → vcs-jr7sbwjy.js} +0 -0
- /package/dist/chunks/{persistent-pty-jwfs4k6c.js → vcs-jwfs4k6c.js} +0 -0
- /package/dist/chunks/{persistent-pty-jwr30sdr.js → vcs-jwr30sdr.js} +0 -0
- /package/dist/chunks/{persistent-pty-jze0r7bz.js → vcs-jze0r7bz.js} +0 -0
- /package/dist/chunks/{persistent-pty-jzg6c2d5.js → vcs-jzg6c2d5.js} +0 -0
- /package/dist/chunks/{persistent-pty-m18g726c.js → vcs-m18g726c.js} +0 -0
- /package/dist/chunks/{persistent-pty-mp448xyj.js → vcs-mp448xyj.js} +0 -0
- /package/dist/chunks/{persistent-pty-msx8hqn2.js → vcs-msx8hqn2.js} +0 -0
- /package/dist/chunks/{persistent-pty-n05xt0ee.js → vcs-n05xt0ee.js} +0 -0
- /package/dist/chunks/{persistent-pty-n3j8tn72.js → vcs-n3j8tn72.js} +0 -0
- /package/dist/chunks/{persistent-pty-ncqqe42p.js → vcs-ncqqe42p.js} +0 -0
- /package/dist/chunks/{persistent-pty-njntx4h6.js → vcs-njntx4h6.js} +0 -0
- /package/dist/chunks/{persistent-pty-p71gwv9c.js → vcs-p71gwv9c.js} +0 -0
- /package/dist/chunks/{persistent-pty-q3sfg36h.js → vcs-q3sfg36h.js} +0 -0
- /package/dist/chunks/{persistent-pty-q74kybfr.js → vcs-q74kybfr.js} +0 -0
- /package/dist/chunks/{persistent-pty-qaymkmh1.js → vcs-qaymkmh1.js} +0 -0
- /package/dist/chunks/{persistent-pty-qb87gjwd.js → vcs-qb87gjwd.js} +0 -0
- /package/dist/chunks/{persistent-pty-qfa1cgps.js → vcs-qfa1cgps.js} +0 -0
- /package/dist/chunks/{persistent-pty-qg3g05ea.js → vcs-qg3g05ea.js} +0 -0
- /package/dist/chunks/{persistent-pty-qrg20bc0.js → vcs-qrg20bc0.js} +0 -0
- /package/dist/chunks/{persistent-pty-rcb2kzg1.js → vcs-rcb2kzg1.js} +0 -0
- /package/dist/chunks/{persistent-pty-sdp7kfr6.js → vcs-sdp7kfr6.js} +0 -0
- /package/dist/chunks/{persistent-pty-ssg3fenm.js → vcs-ssg3fenm.js} +0 -0
- /package/dist/chunks/{persistent-pty-ve7vex1e.js → vcs-ve7vex1e.js} +0 -0
- /package/dist/chunks/{persistent-pty-w803qqfp.js → vcs-w803qqfp.js} +0 -0
- /package/dist/chunks/{persistent-pty-wc3fc9cn.js → vcs-wc3fc9cn.js} +0 -0
- /package/dist/chunks/{persistent-pty-wer8tq1h.js → vcs-wer8tq1h.js} +0 -0
- /package/dist/chunks/{persistent-pty-wtztk69x.js → vcs-wtztk69x.js} +0 -0
- /package/dist/chunks/{persistent-pty-x0ckcb58.js → vcs-x0ckcb58.js} +0 -0
- /package/dist/chunks/{persistent-pty-x61499pn.js → vcs-x61499pn.js} +0 -0
- /package/dist/chunks/{persistent-pty-y44na4kk.js → vcs-y44na4kk.js} +0 -0
- /package/dist/chunks/{persistent-pty-y8f7s663.js → vcs-y8f7s663.js} +0 -0
- /package/dist/chunks/{persistent-pty-ygaqb7jw.js → vcs-ygaqb7jw.js} +0 -0
- /package/dist/chunks/{persistent-pty-z5v4ffb3.js → vcs-z5v4ffb3.js} +0 -0
- /package/dist/chunks/{persistent-pty-z9919s4g.js → vcs-z9919s4g.js} +0 -0
|
@@ -1,41 +1,41 @@
|
|
|
1
1
|
import {
|
|
2
2
|
makeUnsafe2
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./vcs-qjgzc4b4.js";
|
|
4
4
|
import {
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
} from "./
|
|
5
|
+
Service83,
|
|
6
|
+
node87
|
|
7
|
+
} from "./vcs-b8zfksyw.js";
|
|
8
8
|
import {
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
} from "./
|
|
9
|
+
Event18,
|
|
10
|
+
Service78,
|
|
11
|
+
node82
|
|
12
|
+
} from "./vcs-ym5kwrv0.js";
|
|
13
13
|
import {
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
} from "./
|
|
14
|
+
Service80,
|
|
15
|
+
node84
|
|
16
|
+
} from "./vcs-8f2h6hsz.js";
|
|
17
17
|
import {
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
} from "./
|
|
18
|
+
Service61,
|
|
19
|
+
node64
|
|
20
|
+
} from "./vcs-svxc5mk7.js";
|
|
21
21
|
import {
|
|
22
22
|
ID15,
|
|
23
|
-
|
|
24
|
-
|
|
25
|
-
} from "./
|
|
23
|
+
Service79,
|
|
24
|
+
node83
|
|
25
|
+
} from "./vcs-z9wg9fq4.js";
|
|
26
26
|
import {
|
|
27
27
|
reconcile2,
|
|
28
28
|
create3
|
|
29
|
-
} from "./
|
|
29
|
+
} from "./vcs-204s3925.js";
|
|
30
30
|
import {
|
|
31
|
-
|
|
31
|
+
ID13,
|
|
32
32
|
MethodID2,
|
|
33
33
|
Service77,
|
|
34
34
|
node81
|
|
35
|
-
} from "./
|
|
35
|
+
} from "./vcs-h871ecej.js";
|
|
36
36
|
import {
|
|
37
37
|
__export
|
|
38
|
-
} from "./
|
|
38
|
+
} from "./vcs-9rqn6x4v.js";
|
|
39
39
|
|
|
40
40
|
// src/mcp/index.ts
|
|
41
41
|
var exports_mcp4 = {};
|
|
@@ -49,12 +49,12 @@ __export(exports_mcp4, {
|
|
|
49
49
|
ResourceContent: () => ResourceContent2,
|
|
50
50
|
ResourceTemplate: () => ResourceTemplate2,
|
|
51
51
|
ServerName: () => ServerName2,
|
|
52
|
-
Service: () =>
|
|
52
|
+
Service: () => Service35,
|
|
53
53
|
Status: () => Status2,
|
|
54
54
|
ToolCallError: () => ToolCallError2,
|
|
55
55
|
configured: () => configured4,
|
|
56
|
-
layer: () =>
|
|
57
|
-
node: () =>
|
|
56
|
+
layer: () => layer16,
|
|
57
|
+
node: () => node39
|
|
58
58
|
});
|
|
59
59
|
import { Mcp } from "@opencode/schema/mcp";
|
|
60
60
|
import { McpEvent } from "@opencode/schema/mcp-event";
|
|
@@ -104,7 +104,7 @@ var URL_ELICITATION_FIELD_KEY = "elicitation";
|
|
|
104
104
|
var endpointLoads = makeUnsafe2();
|
|
105
105
|
var cloneConfig = (config) => structuredClone(config);
|
|
106
106
|
|
|
107
|
-
class
|
|
107
|
+
class Service35 extends Context.Service()("@opencode/MCP") {
|
|
108
108
|
}
|
|
109
109
|
var Options4 = Schema.Struct({
|
|
110
110
|
clientInfo: Schema.optional(Schema.Struct({
|
|
@@ -112,13 +112,13 @@ var Options4 = Schema.Struct({
|
|
|
112
112
|
version: Schema.String
|
|
113
113
|
}))
|
|
114
114
|
});
|
|
115
|
-
var
|
|
116
|
-
const location = yield*
|
|
117
|
-
const environment = yield*
|
|
118
|
-
const bus = yield*
|
|
119
|
-
const forms = yield*
|
|
115
|
+
var layer16 = (options) => Layer.effect(Service35, Effect.gen(function* () {
|
|
116
|
+
const location = yield* Service80;
|
|
117
|
+
const environment = yield* Service61;
|
|
118
|
+
const bus = yield* Service83;
|
|
119
|
+
const forms = yield* Service79;
|
|
120
120
|
const integration = yield* Service77;
|
|
121
|
-
const credentials = yield*
|
|
121
|
+
const credentials = yield* Service78;
|
|
122
122
|
const root = yield* Effect.scope;
|
|
123
123
|
const fork = yield* FiberSet.makeRuntime();
|
|
124
124
|
const servers = yield* Scope.fork(root, "parallel");
|
|
@@ -133,7 +133,7 @@ var layer18 = (options) => Layer.effect(Service41, Effect.gen(function* () {
|
|
|
133
133
|
return;
|
|
134
134
|
const remote = entry.config;
|
|
135
135
|
const suffix = "mcp_" + createHash("sha1").update(name + "\x00" + remote.url).digest("hex").slice(0, 16);
|
|
136
|
-
const integrationID =
|
|
136
|
+
const integrationID = ID13.make(suffix);
|
|
137
137
|
entry.integrationID = integrationID;
|
|
138
138
|
owned.add(integrationID);
|
|
139
139
|
const methodID = MethodID2.make(suffix);
|
|
@@ -149,7 +149,7 @@ var layer18 = (options) => Layer.effect(Service41, Effect.gen(function* () {
|
|
|
149
149
|
method: { id: methodID, type: "oauth", label: name },
|
|
150
150
|
authorize: () => Effect.gen(function* () {
|
|
151
151
|
const { McpOAuth } = yield* Effect.promise(() => import("../mcp/oauth.js"));
|
|
152
|
-
return yield* McpOAuth.authorize({ name, config: remote, integrationID, methodID }).pipe(Effect.provideService(
|
|
152
|
+
return yield* McpOAuth.authorize({ name, config: remote, integrationID, methodID }).pipe(Effect.provideService(Service78, credentials));
|
|
153
153
|
})
|
|
154
154
|
});
|
|
155
155
|
}).pipe(Scope.provide(scope));
|
|
@@ -164,7 +164,7 @@ var layer18 = (options) => Layer.effect(Service41, Effect.gen(function* () {
|
|
|
164
164
|
if (entry.config.type !== "remote" || !entry.integrationID)
|
|
165
165
|
return;
|
|
166
166
|
const { McpOAuth } = yield* Effect.promise(() => import("../mcp/oauth.js"));
|
|
167
|
-
return yield* McpOAuth.connectProvider({ config: entry.config, integrationID: entry.integrationID }).pipe(Effect.provideService(
|
|
167
|
+
return yield* McpOAuth.connectProvider({ config: entry.config, integrationID: entry.integrationID }).pipe(Effect.provideService(Service78, credentials));
|
|
168
168
|
});
|
|
169
169
|
const elicitation = {
|
|
170
170
|
create: (input) => Effect.gen(function* () {
|
|
@@ -272,7 +272,7 @@ var layer18 = (options) => Layer.effect(Service41, Effect.gen(function* () {
|
|
|
272
272
|
entry.scope = scope;
|
|
273
273
|
const authProvider = yield* connectProvider(entry);
|
|
274
274
|
const { McpClient } = yield* Effect.promise(() => import("../mcp/client.js"));
|
|
275
|
-
const load = McpClient.connect(name, entry.config, location.directory, authProvider, elicitation, options?.clientInfo).pipe(Effect.flatMap((connection) => connection.tools().pipe(Effect.map((tools) => ({ connection, tools })))), Effect.provideService(
|
|
275
|
+
const load = McpClient.connect(name, entry.config, location.directory, authProvider, elicitation, options?.clientInfo).pipe(Effect.flatMap((connection) => connection.tools().pipe(Effect.map((tools) => ({ connection, tools })))), Effect.provideService(Service61, environment), Scope.provide(scope));
|
|
276
276
|
const result = yield* (entry.config.type === "remote" ? endpointLoads.withLock(entry.config.url)(load) : load).pipe(Effect.exit);
|
|
277
277
|
if (Exit.isSuccess(result)) {
|
|
278
278
|
entry.client = result.value.connection;
|
|
@@ -373,7 +373,7 @@ var layer18 = (options) => Layer.effect(Service41, Effect.gen(function* () {
|
|
|
373
373
|
let closed = false;
|
|
374
374
|
const result = yield* McpClient.connect(name, { type: "attached", transport }, location.directory, undefined, elicitation, options?.clientInfo).pipe(Effect.tap((connection) => Effect.sync(() => connection.onClose(() => {
|
|
375
375
|
closed = true;
|
|
376
|
-
}))), Effect.flatMap((connection) => connection.tools().pipe(Effect.map((tools) => ({ connection, tools })))), Effect.provideService(
|
|
376
|
+
}))), Effect.flatMap((connection) => connection.tools().pipe(Effect.map((tools) => ({ connection, tools })))), Effect.provideService(Service61, environment), Scope.provide(scope), Effect.onError(() => Scope.close(scope, Exit.void)), Effect.mapError((error) => error instanceof McpClient.ConnectError ? error : new McpClient.ConnectError({ server: name, message: error.message })));
|
|
377
377
|
const register = Effect.gen(function* () {
|
|
378
378
|
if (closed) {
|
|
379
379
|
yield* Scope.close(scope, Exit.void);
|
|
@@ -452,7 +452,7 @@ var layer18 = (options) => Layer.effect(Service41, Effect.gen(function* () {
|
|
|
452
452
|
yield* startServer(name, entry);
|
|
453
453
|
}).pipe(locks.withLock(name));
|
|
454
454
|
});
|
|
455
|
-
fork(bus.subscribe(
|
|
455
|
+
fork(bus.subscribe(Event18.Switched).pipe(Stream.filter((event) => owned.has(event.data.integrationID)), Stream.runForEach((event) => Effect.sync(() => fork(reconnect(event.data.integrationID))))));
|
|
456
456
|
const state = create3({
|
|
457
457
|
name: "mcp",
|
|
458
458
|
initial: () => ({
|
|
@@ -478,7 +478,7 @@ var layer18 = (options) => Layer.effect(Service41, Effect.gen(function* () {
|
|
|
478
478
|
}),
|
|
479
479
|
notify: () => reconcile2(root, fork, () => reconcileLock.withPermit(reconcile()))
|
|
480
480
|
});
|
|
481
|
-
return
|
|
481
|
+
return Service35.of({
|
|
482
482
|
transform: state.transform,
|
|
483
483
|
reload: state.reload,
|
|
484
484
|
servers: Effect.fn("MCP.servers")(function* () {
|
|
@@ -613,12 +613,12 @@ function mergeCatalogs(catalogs) {
|
|
|
613
613
|
}
|
|
614
614
|
function configured4(options) {
|
|
615
615
|
return makeLocationNode({
|
|
616
|
-
service:
|
|
617
|
-
layer:
|
|
618
|
-
deps: [
|
|
616
|
+
service: Service35,
|
|
617
|
+
layer: layer16(options),
|
|
618
|
+
deps: [node84, node64, node87, node83, node81, node82]
|
|
619
619
|
});
|
|
620
620
|
}
|
|
621
|
-
var
|
|
621
|
+
var node39 = configured4();
|
|
622
622
|
function toElicitationField(key, property, required) {
|
|
623
623
|
const machineTitle = /^(boolean|string|number|integer|array|object)(\s+with\b.*|\s+in\b.*)?$/i;
|
|
624
624
|
const title = property.title && !machineTitle.test(property.title.trim()) ? property.title : property.description ?? key;
|
|
@@ -669,4 +669,4 @@ function toElicitationField(key, property, required) {
|
|
|
669
669
|
}
|
|
670
670
|
}
|
|
671
671
|
|
|
672
|
-
export { ServerName2, PromptsChanged2, Status2, Resource2, ResourceTemplate2, ResourceCatalog2, ResourceContent2, NotFoundError4, ToolCallError2,
|
|
672
|
+
export { ServerName2, PromptsChanged2, Status2, Resource2, ResourceTemplate2, ResourceCatalog2, ResourceContent2, NotFoundError4, ToolCallError2, Service35, Options4, layer16, configured4, node39, exports_mcp4 };
|
|
@@ -1,34 +1,34 @@
|
|
|
1
1
|
import {
|
|
2
2
|
useragent2
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./vcs-dcphv4q7.js";
|
|
4
4
|
import {
|
|
5
|
-
|
|
6
|
-
} from "./
|
|
5
|
+
Service83
|
|
6
|
+
} from "./vcs-b8zfksyw.js";
|
|
7
7
|
import {
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
} from "./
|
|
8
|
+
ID14,
|
|
9
|
+
Event18,
|
|
10
|
+
Service78
|
|
11
|
+
} from "./vcs-ym5kwrv0.js";
|
|
12
12
|
import {
|
|
13
13
|
key2
|
|
14
|
-
} from "./
|
|
14
|
+
} from "./vcs-bjhzkqyk.js";
|
|
15
15
|
import {
|
|
16
|
-
|
|
16
|
+
ID13,
|
|
17
17
|
MethodID2
|
|
18
|
-
} from "./
|
|
18
|
+
} from "./vcs-h871ecej.js";
|
|
19
19
|
import {
|
|
20
20
|
which2
|
|
21
|
-
} from "./
|
|
21
|
+
} from "./vcs-qaymkmh1.js";
|
|
22
22
|
import {
|
|
23
|
-
|
|
23
|
+
ID12,
|
|
24
24
|
Service76
|
|
25
|
-
} from "./
|
|
25
|
+
} from "./vcs-acqpw5y2.js";
|
|
26
26
|
import {
|
|
27
|
-
|
|
28
|
-
} from "./
|
|
27
|
+
ID11
|
|
28
|
+
} from "./vcs-bqxvxs63.js";
|
|
29
29
|
import {
|
|
30
30
|
configuredSettings2
|
|
31
|
-
} from "./
|
|
31
|
+
} from "./vcs-ehm90j5g.js";
|
|
32
32
|
|
|
33
33
|
// src/plugin/provider/azure.ts
|
|
34
34
|
import { Clock, Effect, FiberHandle, Option, Schema, Semaphore, Stream } from "effect";
|
|
@@ -63,17 +63,17 @@ var decodeManagementDeployment = Schema.decodeUnknownOption(Schema.Struct({
|
|
|
63
63
|
}));
|
|
64
64
|
var ResourceQuery = Schema.Struct({ query: Schema.String });
|
|
65
65
|
var Resources = Schema.Struct({ data: Schema.Array(Schema.Struct({ id: Schema.NonEmptyString })) });
|
|
66
|
-
function
|
|
66
|
+
function make6(endpoints = {
|
|
67
67
|
resource: (name) => `https://${name}.openai.azure.com/openai`,
|
|
68
68
|
management: "https://management.azure.com"
|
|
69
69
|
}) {
|
|
70
70
|
return define({
|
|
71
71
|
id: "opencode.provider.azure",
|
|
72
72
|
effect: Effect.fn(function* (ctx) {
|
|
73
|
-
const configured = yield* configuredSettings2(
|
|
73
|
+
const configured = yield* configuredSettings2(ID12.azure);
|
|
74
74
|
const processes = yield* AppProcess.Service;
|
|
75
|
-
const bus = yield*
|
|
76
|
-
const credentials = yield*
|
|
75
|
+
const bus = yield* Service83;
|
|
76
|
+
const credentials = yield* Service78;
|
|
77
77
|
const providers = yield* Service76;
|
|
78
78
|
const http = HttpClient.filterStatusOk(yield* HttpClient.HttpClient);
|
|
79
79
|
const tokens = new Map;
|
|
@@ -100,11 +100,11 @@ function make8(endpoints = {
|
|
|
100
100
|
const configuredResource = Boolean(resolveResourceName(configured) || typeof configured?.baseURL === "string");
|
|
101
101
|
yield* ctx.integration.transform((editor) => {
|
|
102
102
|
editor.method.update({
|
|
103
|
-
integrationID:
|
|
103
|
+
integrationID: ID12.azure,
|
|
104
104
|
method: { type: "env", names: ["AZURE_API_KEY", "AZURE_COGNITIVE_SERVICES_API_KEY"] }
|
|
105
105
|
});
|
|
106
106
|
editor.method.update({
|
|
107
|
-
integrationID:
|
|
107
|
+
integrationID: ID12.azure,
|
|
108
108
|
method: {
|
|
109
109
|
type: "key",
|
|
110
110
|
label: "API key",
|
|
@@ -122,7 +122,7 @@ function make8(endpoints = {
|
|
|
122
122
|
if (!available)
|
|
123
123
|
return;
|
|
124
124
|
editor.method.update({
|
|
125
|
-
integrationID:
|
|
125
|
+
integrationID: ID12.azure,
|
|
126
126
|
method: {
|
|
127
127
|
id: methodID,
|
|
128
128
|
type: "external",
|
|
@@ -142,8 +142,8 @@ function make8(endpoints = {
|
|
|
142
142
|
});
|
|
143
143
|
});
|
|
144
144
|
const load = Effect.fn("AzurePlugin.load")(function* () {
|
|
145
|
-
const connection = yield* ctx.integration.connection.active(
|
|
146
|
-
const stored = connection?.type === "credential" ? yield* credentials.get(
|
|
145
|
+
const connection = yield* ctx.integration.connection.active(ID12.azure);
|
|
146
|
+
const stored = connection?.type === "credential" ? yield* credentials.get(ID14.make(connection.id)) : undefined;
|
|
147
147
|
return { connection, resource: credentialResource(stored?.value) };
|
|
148
148
|
});
|
|
149
149
|
const findResource = Effect.fn("AzurePlugin.findResource")(function* (resource) {
|
|
@@ -182,7 +182,7 @@ function make8(endpoints = {
|
|
|
182
182
|
}));
|
|
183
183
|
const discover = Effect.fn("AzurePlugin.discover")(function* () {
|
|
184
184
|
const connection = loaded.connection;
|
|
185
|
-
const settings = (yield* providers.get(
|
|
185
|
+
const settings = (yield* providers.get(ID12.azure))?.settings;
|
|
186
186
|
const name = loaded.resource ?? resolveResourceName(settings);
|
|
187
187
|
const url = connection && name !== undefined && resourcePattern.test(name) && typeof settings?.baseURL !== "string" ? `${endpoints.resource(name)}/deployments?api-version=2022-12-01` : undefined;
|
|
188
188
|
if (loaded.connection !== connection)
|
|
@@ -204,11 +204,11 @@ function make8(endpoints = {
|
|
|
204
204
|
const found = yield* deployments(url, name, credential).pipe(Effect.map((list) => list.toSorted((a, b) => a.name.localeCompare(b.name))), Effect.catch((cause) => Effect.logWarning("failed to sync Azure deployments", { cause }).pipe(Effect.as(undefined))));
|
|
205
205
|
if (!found)
|
|
206
206
|
return;
|
|
207
|
-
if (loaded.connection !== connection || key2(connection) !== key2(yield* ctx.integration.connection.active(
|
|
207
|
+
if (loaded.connection !== connection || key2(connection) !== key2(yield* ctx.integration.connection.active(ID12.azure)))
|
|
208
208
|
return;
|
|
209
209
|
if (JSON.stringify(found) === JSON.stringify(loaded.deployments))
|
|
210
210
|
return;
|
|
211
|
-
const catalog = new Map(Array.from((yield* providers.snapshot()).records.get(
|
|
211
|
+
const catalog = new Map(Array.from((yield* providers.snapshot()).records.get(ID12.azure)?.models.keys() ?? [], (id) => [
|
|
212
212
|
id.toLowerCase(),
|
|
213
213
|
id
|
|
214
214
|
]));
|
|
@@ -221,11 +221,11 @@ function make8(endpoints = {
|
|
|
221
221
|
yield* ctx.model.reload();
|
|
222
222
|
});
|
|
223
223
|
const refresh = () => rebind().pipe(Effect.andThen(FiberHandle.run(discovery, discover())));
|
|
224
|
-
const resourceFor = (provider) => provider.id ===
|
|
224
|
+
const resourceFor = (provider) => provider.id === ID12.azure ? loaded.resource ?? resolveResourceName(provider.settings) : resolveResourceName(provider.settings, loaded.resource);
|
|
225
225
|
Object.assign(loaded, yield* load());
|
|
226
226
|
yield* ctx.provider.transform((evt) => {
|
|
227
227
|
for (const item of evt.list()) {
|
|
228
|
-
if (item.provider.id !==
|
|
228
|
+
if (item.provider.id !== ID12.azure && !item.provider.package.startsWith("@opencode/ai/providers/azure/"))
|
|
229
229
|
continue;
|
|
230
230
|
const resourceName = resourceFor(item.provider);
|
|
231
231
|
const websocket = responsesWebSocketCapable(item.provider);
|
|
@@ -240,7 +240,7 @@ function make8(endpoints = {
|
|
|
240
240
|
};
|
|
241
241
|
});
|
|
242
242
|
}
|
|
243
|
-
const item = evt.get(
|
|
243
|
+
const item = evt.get(ID12.azure);
|
|
244
244
|
if (!item)
|
|
245
245
|
return;
|
|
246
246
|
evt.add({
|
|
@@ -251,7 +251,7 @@ function make8(endpoints = {
|
|
|
251
251
|
});
|
|
252
252
|
yield* ctx.model.transform((models) => {
|
|
253
253
|
for (const item of models.provider.list()) {
|
|
254
|
-
if (item.provider.id !==
|
|
254
|
+
if (item.provider.id !== ID12.azure && !item.provider.package.startsWith("@opencode/ai/providers/azure/"))
|
|
255
255
|
continue;
|
|
256
256
|
const resourceName = resourceFor(item.provider);
|
|
257
257
|
if (!resourceName)
|
|
@@ -270,20 +270,20 @@ function make8(endpoints = {
|
|
|
270
270
|
}
|
|
271
271
|
if (!loaded.deployments)
|
|
272
272
|
return;
|
|
273
|
-
const catalog = models.list(
|
|
273
|
+
const catalog = models.list(ID12.azure);
|
|
274
274
|
const deployed = deployedModels(loaded.deployments, catalog);
|
|
275
275
|
for (const model of catalog) {
|
|
276
276
|
if (!deployed.has(model.id))
|
|
277
|
-
models.remove(
|
|
277
|
+
models.remove(ID12.azure, model.id);
|
|
278
278
|
}
|
|
279
279
|
for (const [id, model] of deployed) {
|
|
280
|
-
models.update(
|
|
280
|
+
models.update(ID12.azure, id, (draft) => Object.assign(draft, model));
|
|
281
281
|
}
|
|
282
282
|
});
|
|
283
|
-
yield* bus.subscribe(
|
|
283
|
+
yield* bus.subscribe(Event18.Switched).pipe(Stream.filter((event) => event.data.integrationID === ID13.make("azure")), Stream.runForEach(() => refresh()), Effect.forkScoped({ startImmediately: true }));
|
|
284
284
|
yield* refresh().pipe(Effect.forkScoped);
|
|
285
285
|
const bearer = Effect.fn("AzurePlugin.bearer")(function* (url) {
|
|
286
|
-
const connection = yield* ctx.integration.connection.active(
|
|
286
|
+
const connection = yield* ctx.integration.connection.active(ID12.azure);
|
|
287
287
|
const credential = connection ? yield* ctx.integration.connection.resolve(connection).pipe(Effect.orElseSucceed(() => {
|
|
288
288
|
return;
|
|
289
289
|
})) : undefined;
|
|
@@ -295,7 +295,7 @@ function make8(endpoints = {
|
|
|
295
295
|
return `Bearer ${current.access}`;
|
|
296
296
|
});
|
|
297
297
|
yield* ctx.session.hook("http.request", (evt) => Effect.gen(function* () {
|
|
298
|
-
if (evt.model.providerID !==
|
|
298
|
+
if (evt.model.providerID !== ID12.azure)
|
|
299
299
|
return;
|
|
300
300
|
const authorization = yield* bearer(evt.request.url);
|
|
301
301
|
if (!authorization)
|
|
@@ -304,9 +304,9 @@ function make8(endpoints = {
|
|
|
304
304
|
evt.request.headers.delete("x-api-key");
|
|
305
305
|
evt.request.headers.set("authorization", authorization);
|
|
306
306
|
evt.request.headers.set("user-agent", useragent2(ctx.app));
|
|
307
|
-
}), { providerID:
|
|
307
|
+
}), { providerID: ID12.azure });
|
|
308
308
|
yield* ctx.session.hook("experimental.ws.handshake", (evt) => Effect.gen(function* () {
|
|
309
|
-
if (evt.model.providerID !==
|
|
309
|
+
if (evt.model.providerID !== ID12.azure)
|
|
310
310
|
return;
|
|
311
311
|
const authorization = yield* bearer(evt.url);
|
|
312
312
|
if (!authorization)
|
|
@@ -315,11 +315,11 @@ function make8(endpoints = {
|
|
|
315
315
|
delete evt.headers["x-api-key"];
|
|
316
316
|
evt.headers.authorization = authorization;
|
|
317
317
|
evt.headers["user-agent"] = useragent2(ctx.app);
|
|
318
|
-
}), { providerID:
|
|
318
|
+
}), { providerID: ID12.azure });
|
|
319
319
|
})
|
|
320
320
|
});
|
|
321
321
|
}
|
|
322
|
-
var AzurePlugin2 =
|
|
322
|
+
var AzurePlugin2 = make6();
|
|
323
323
|
function resolveResourceName(settings, fallback) {
|
|
324
324
|
const configured = settings?.resourceName;
|
|
325
325
|
if (typeof configured === "string" && configured.trim() !== "")
|
|
@@ -349,11 +349,11 @@ function deployedModels(deployments, catalog) {
|
|
|
349
349
|
const model = catalogModel(models, deployment);
|
|
350
350
|
if (!model)
|
|
351
351
|
return [];
|
|
352
|
-
const id =
|
|
352
|
+
const id = ID11.make(deployment.name.toLowerCase());
|
|
353
353
|
const info = {
|
|
354
354
|
...structuredClone(model),
|
|
355
355
|
id,
|
|
356
|
-
modelID:
|
|
356
|
+
modelID: ID11.make(deployment.name),
|
|
357
357
|
name: id === model.id.toLowerCase() ? model.name : `${model.name} (${deployment.name})`
|
|
358
358
|
};
|
|
359
359
|
return [[id, info]];
|
|
@@ -375,4 +375,4 @@ function responsesWebSocketCapable(provider) {
|
|
|
375
375
|
return /^https:\/\/[^/]+\.openai\.azure\.com(?:\/|$)/i.test(settings.baseURL);
|
|
376
376
|
}
|
|
377
377
|
|
|
378
|
-
export {
|
|
378
|
+
export { make6, AzurePlugin2 };
|
|
@@ -1,25 +1,25 @@
|
|
|
1
1
|
import {
|
|
2
2
|
WorktreeError2
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./vcs-y2hjk6xz.js";
|
|
4
4
|
import {
|
|
5
|
-
|
|
6
|
-
} from "./
|
|
5
|
+
Service63
|
|
6
|
+
} from "./vcs-mvmschgv.js";
|
|
7
7
|
import {
|
|
8
|
-
|
|
9
|
-
} from "./
|
|
8
|
+
Service25
|
|
9
|
+
} from "./vcs-qatsv5dz.js";
|
|
10
10
|
import {
|
|
11
11
|
DirectoryUnavailableError2
|
|
12
|
-
} from "./
|
|
12
|
+
} from "./vcs-d4v9tmah.js";
|
|
13
13
|
import {
|
|
14
|
-
|
|
14
|
+
Info6,
|
|
15
15
|
List2,
|
|
16
16
|
InvalidDirectoryError2,
|
|
17
17
|
StrategyUnavailableError2,
|
|
18
18
|
OperationError2
|
|
19
|
-
} from "./
|
|
19
|
+
} from "./vcs-rdssdv87.js";
|
|
20
20
|
import {
|
|
21
21
|
__export
|
|
22
|
-
} from "./
|
|
22
|
+
} from "./vcs-9rqn6x4v.js";
|
|
23
23
|
|
|
24
24
|
// src/tool/plugin/opencode.ts
|
|
25
25
|
var exports_opencode = {};
|
|
@@ -27,7 +27,7 @@ __export(exports_opencode, {
|
|
|
27
27
|
ModelsInput: () => ModelsInput2,
|
|
28
28
|
MoveInput: () => MoveInput2,
|
|
29
29
|
OpenCodeTools: () => exports_opencode,
|
|
30
|
-
Plugin: () =>
|
|
30
|
+
Plugin: () => Plugin44,
|
|
31
31
|
RenameInput: () => RenameInput2,
|
|
32
32
|
WorktreeCreateInput: () => WorktreeCreateInput2,
|
|
33
33
|
WorktreeRemoveInput: () => WorktreeRemoveInput2
|
|
@@ -97,11 +97,11 @@ var ModelsOutput = Schema.Struct({
|
|
|
97
97
|
total: Schema.Int.annotate({ description: "Number of matching models across all pages." }),
|
|
98
98
|
next: Schema.NullOr(Schema.Int).annotate({ description: "Offset of the next page, or null on the last page." })
|
|
99
99
|
});
|
|
100
|
-
var
|
|
100
|
+
var Plugin44 = {
|
|
101
101
|
id: "opencode.tools",
|
|
102
102
|
effect: Effect.fn("OpenCodeTools.Plugin")(function* (ctx) {
|
|
103
|
-
const access = yield*
|
|
104
|
-
const permission = yield*
|
|
103
|
+
const access = yield* Service25;
|
|
104
|
+
const permission = yield* Service63;
|
|
105
105
|
const hook = (event) => Effect.sync(() => {
|
|
106
106
|
event.system.push(SystemPart.make("When you create a worktree outside the current working directory and intend to use it as your primary working directory, consider using `execute` to call `tools.opencode.session_move` and make the worktree the session's working directory."));
|
|
107
107
|
});
|
|
@@ -153,7 +153,7 @@ var Plugin26 = {
|
|
|
153
153
|
name: "worktree_create",
|
|
154
154
|
description: "Create a named worktree. Returns its directory.",
|
|
155
155
|
input: WorktreeCreateInput2,
|
|
156
|
-
output:
|
|
156
|
+
output: Info6,
|
|
157
157
|
options: { namespace: "opencode", codemode: true, pinned: true },
|
|
158
158
|
execute: (input) => ctx.worktree.create({ projectID: ctx.location.project.id, name: input.name }).pipe(Effect.map((output) => ({ output, content: `Created worktree in ${output.directory}.` })), Effect.mapError((error) => new ToolFailure({ message: `Unable to create worktree ${input.name}`, error })))
|
|
159
159
|
});
|
|
@@ -250,4 +250,4 @@ function removeFailure(directory, error) {
|
|
|
250
250
|
return `Unable to remove worktree ${directory}.`;
|
|
251
251
|
}
|
|
252
252
|
|
|
253
|
-
export { RenameInput2, MoveInput2, WorktreeCreateInput2, WorktreeRemoveInput2, ModelsInput2,
|
|
253
|
+
export { RenameInput2, MoveInput2, WorktreeCreateInput2, WorktreeRemoveInput2, ModelsInput2, Plugin44, exports_opencode };
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import {
|
|
2
2
|
createLocalProviderPlugin2
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./vcs-4m6wdh0q.js";
|
|
4
4
|
|
|
5
5
|
// src/plugin/provider/vllm.ts
|
|
6
6
|
import { Effect, Schema } from "effect";
|
|
@@ -11,7 +11,7 @@ var RemoteModel = Schema.Struct({
|
|
|
11
11
|
max_model_len: Schema.NullOr(Schema.Int)
|
|
12
12
|
});
|
|
13
13
|
var Response = Schema.Struct({ data: Schema.Array(RemoteModel) });
|
|
14
|
-
var
|
|
14
|
+
var make5 = createLocalProviderPlugin2({
|
|
15
15
|
id: "opencode.provider.vllm",
|
|
16
16
|
providerID,
|
|
17
17
|
name: "vLLM",
|
|
@@ -26,6 +26,6 @@ var make7 = createLocalProviderPlugin2({
|
|
|
26
26
|
context: item.max_model_len
|
|
27
27
|
})
|
|
28
28
|
});
|
|
29
|
-
var VLLMPlugin2 =
|
|
29
|
+
var VLLMPlugin2 = make5();
|
|
30
30
|
|
|
31
|
-
export {
|
|
31
|
+
export { make5, VLLMPlugin2 };
|
|
@@ -7,21 +7,21 @@ import {
|
|
|
7
7
|
deletePatch2,
|
|
8
8
|
countPatch2,
|
|
9
9
|
chunksByFile2
|
|
10
|
-
} from "./
|
|
10
|
+
} from "./vcs-rb9dy4dg.js";
|
|
11
11
|
import {
|
|
12
|
-
|
|
13
|
-
} from "./
|
|
12
|
+
Service80
|
|
13
|
+
} from "./vcs-8f2h6hsz.js";
|
|
14
14
|
import {
|
|
15
15
|
DiffError2
|
|
16
|
-
} from "./
|
|
16
|
+
} from "./vcs-42qb5rv4.js";
|
|
17
17
|
import {
|
|
18
18
|
__export
|
|
19
|
-
} from "./
|
|
19
|
+
} from "./vcs-9rqn6x4v.js";
|
|
20
20
|
|
|
21
21
|
// src/plugin/vcs/hg.ts
|
|
22
22
|
var exports_hg = {};
|
|
23
23
|
__export(exports_hg, {
|
|
24
|
-
Plugin: () =>
|
|
24
|
+
Plugin: () => Plugin27,
|
|
25
25
|
VcsHgPlugin: () => exports_hg
|
|
26
26
|
});
|
|
27
27
|
import path from "path";
|
|
@@ -30,10 +30,10 @@ import { ChildProcess } from "effect/process";
|
|
|
30
30
|
import { define } from "@opencode/plugin/effect/plugin";
|
|
31
31
|
import { FSUtil } from "@opencode/util/fs-util";
|
|
32
32
|
import { AppProcess } from "@opencode/util/process";
|
|
33
|
-
var
|
|
33
|
+
var Plugin27 = define({
|
|
34
34
|
id: "opencode.vcs.hg",
|
|
35
35
|
effect: Effect.fn("VcsHgPlugin")(function* (ctx) {
|
|
36
|
-
const location = yield*
|
|
36
|
+
const location = yield* Service80;
|
|
37
37
|
if (location.vcs && location.vcs.type !== "hg")
|
|
38
38
|
return;
|
|
39
39
|
const processes = yield* AppProcess.Service;
|
|
@@ -198,4 +198,4 @@ function makeHg(proc, worktree) {
|
|
|
198
198
|
return { status, diff, branch, ancestor, cat };
|
|
199
199
|
}
|
|
200
200
|
|
|
201
|
-
export {
|
|
201
|
+
export { Plugin27, exports_hg };
|