@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,50 +1,50 @@
|
|
|
1
1
|
import {
|
|
2
|
-
|
|
3
|
-
} from "./
|
|
2
|
+
Service71
|
|
3
|
+
} from "./vcs-9ca4th6x.js";
|
|
4
4
|
import {
|
|
5
5
|
Ref3,
|
|
6
6
|
Service75
|
|
7
|
-
} from "./
|
|
7
|
+
} from "./vcs-bqxvxs63.js";
|
|
8
8
|
import {
|
|
9
9
|
latest2,
|
|
10
|
-
|
|
11
|
-
} from "./
|
|
10
|
+
Service67
|
|
11
|
+
} from "./vcs-8abc36xm.js";
|
|
12
12
|
import {
|
|
13
13
|
SessionSchema2
|
|
14
|
-
} from "./
|
|
14
|
+
} from "./vcs-2qr4rt5k.js";
|
|
15
15
|
import {
|
|
16
|
-
|
|
17
|
-
} from "./
|
|
16
|
+
Service84
|
|
17
|
+
} from "./vcs-nahhmz6x.js";
|
|
18
18
|
import {
|
|
19
19
|
evaluate2,
|
|
20
|
-
|
|
21
|
-
} from "./
|
|
20
|
+
Service63
|
|
21
|
+
} from "./vcs-mvmschgv.js";
|
|
22
22
|
import {
|
|
23
23
|
Service28
|
|
24
|
-
} from "./
|
|
24
|
+
} from "./vcs-dxqpfg1f.js";
|
|
25
25
|
import {
|
|
26
26
|
NO_TEXT2
|
|
27
|
-
} from "./
|
|
27
|
+
} from "./vcs-sqjzf8x2.js";
|
|
28
28
|
import {
|
|
29
|
-
|
|
30
|
-
} from "./
|
|
29
|
+
Service12
|
|
30
|
+
} from "./vcs-dzcfjmec.js";
|
|
31
31
|
import {
|
|
32
32
|
__export
|
|
33
|
-
} from "./
|
|
33
|
+
} from "./vcs-9rqn6x4v.js";
|
|
34
34
|
|
|
35
35
|
// src/tool/plugin/subagent.ts
|
|
36
36
|
var exports_subagent = {};
|
|
37
37
|
__export(exports_subagent, {
|
|
38
|
-
Input: () =>
|
|
39
|
-
Output: () =>
|
|
40
|
-
Plugin: () =>
|
|
38
|
+
Input: () => Input8,
|
|
39
|
+
Output: () => Output6,
|
|
40
|
+
Plugin: () => Plugin42,
|
|
41
41
|
SubagentTool: () => exports_subagent,
|
|
42
|
-
description: () =>
|
|
43
|
-
name: () =>
|
|
42
|
+
description: () => description3,
|
|
43
|
+
name: () => name8
|
|
44
44
|
});
|
|
45
45
|
import { ToolFailure } from "@opencode/ai/effect";
|
|
46
46
|
import { Effect, Predicate, Schema } from "effect";
|
|
47
|
-
var
|
|
47
|
+
var name8 = "subagent";
|
|
48
48
|
var backgroundResult = (sessionID) => ({
|
|
49
49
|
sessionID,
|
|
50
50
|
status: "running",
|
|
@@ -55,7 +55,7 @@ var backgroundResult = (sessionID) => ({
|
|
|
55
55
|
].join(`
|
|
56
56
|
`)
|
|
57
57
|
});
|
|
58
|
-
var
|
|
58
|
+
var Input8 = Schema.Struct({
|
|
59
59
|
agent: Schema.String.annotate({
|
|
60
60
|
description: "The type of specialized agent to use for this task. If the user asks for a subagent by a name that is not one of the available subagents, they most likely mean a model: pick a suitable agent and pass the name through the model parameter instead."
|
|
61
61
|
}),
|
|
@@ -71,12 +71,12 @@ var Input2 = Schema.Struct({
|
|
|
71
71
|
description: "Run the subagent in the background and return immediately. You will be notified when it completes. DO NOT sleep, poll, or proactively check on its progress."
|
|
72
72
|
})
|
|
73
73
|
});
|
|
74
|
-
var
|
|
74
|
+
var Output6 = Schema.Struct({
|
|
75
75
|
sessionID: SessionSchema2.ID,
|
|
76
76
|
status: Schema.Literals(["completed", "running"]),
|
|
77
77
|
output: Schema.String
|
|
78
78
|
});
|
|
79
|
-
var
|
|
79
|
+
var description3 = [
|
|
80
80
|
"Spawns an agent in a child session to work on the specified task.",
|
|
81
81
|
"The output includes a sessionID you can pass back later to continue that specific conversation with the subagent.",
|
|
82
82
|
"New child sessions start with fresh context, so include all relevant context and instructions when you don't pass a sessionID.",
|
|
@@ -85,16 +85,16 @@ var description2 = [
|
|
|
85
85
|
"Use background only for independent work that can run while you continue elsewhere."
|
|
86
86
|
].join(`
|
|
87
87
|
`);
|
|
88
|
-
var
|
|
88
|
+
var Plugin42 = {
|
|
89
89
|
id: "opencode.tool.subagent",
|
|
90
90
|
effect: Effect.fn("SubagentTool.Plugin")(function* (ctx) {
|
|
91
91
|
const sessions = yield* Service28;
|
|
92
|
-
const jobs = yield*
|
|
93
|
-
const agents = yield*
|
|
94
|
-
const config = yield*
|
|
95
|
-
const permission = yield*
|
|
92
|
+
const jobs = yield* Service84;
|
|
93
|
+
const agents = yield* Service71;
|
|
94
|
+
const config = yield* Service67;
|
|
95
|
+
const permission = yield* Service63;
|
|
96
96
|
const models = yield* Service75;
|
|
97
|
-
const subagents = yield*
|
|
97
|
+
const subagents = yield* Service12;
|
|
98
98
|
const resolveModel = Effect.fn("SubagentTool.resolveModel")(function* (input) {
|
|
99
99
|
const ref = yield* Effect.try({
|
|
100
100
|
try: () => Ref3.parse(input),
|
|
@@ -114,11 +114,11 @@ var Plugin20 = {
|
|
|
114
114
|
return ref;
|
|
115
115
|
});
|
|
116
116
|
yield* ctx.tool.transform((editor) => editor.add({
|
|
117
|
-
name:
|
|
117
|
+
name: name8,
|
|
118
118
|
options: { codemode: false },
|
|
119
|
-
description:
|
|
120
|
-
input:
|
|
121
|
-
output:
|
|
119
|
+
description: description3,
|
|
120
|
+
input: Input8,
|
|
121
|
+
output: Output6,
|
|
122
122
|
execute: (input, context) => Effect.gen(function* () {
|
|
123
123
|
const parent = yield* sessions.get(context.sessionID).pipe(Effect.mapError((error) => new ToolFailure({ message: `Parent session not found: ${context.sessionID}`, error })));
|
|
124
124
|
let current = parent;
|
|
@@ -138,7 +138,7 @@ var Plugin20 = {
|
|
|
138
138
|
if (agent.mode === "primary")
|
|
139
139
|
return yield* new ToolFailure({ message: `Agent ${input.agent} cannot run as a subagent` });
|
|
140
140
|
yield* permission.assert({
|
|
141
|
-
action:
|
|
141
|
+
action: name8,
|
|
142
142
|
resources: [agent.id],
|
|
143
143
|
save: [agent.id],
|
|
144
144
|
sessionID: context.sessionID,
|
|
@@ -217,7 +217,7 @@ ${output.output}
|
|
|
217
217
|
})))
|
|
218
218
|
})).pipe(Effect.orDie);
|
|
219
219
|
yield* ctx.tool.hook("execute.before", (event) => Effect.sync(() => {
|
|
220
|
-
if (event.tool !==
|
|
220
|
+
if (event.tool !== name8 || !Predicate.isObject(event.input))
|
|
221
221
|
return;
|
|
222
222
|
if (event.input.model !== "" && event.input.sessionID !== "")
|
|
223
223
|
return;
|
|
@@ -229,13 +229,13 @@ ${output.output}
|
|
|
229
229
|
event.input = input;
|
|
230
230
|
}));
|
|
231
231
|
const hook = (event) => Effect.gen(function* () {
|
|
232
|
-
const tool = event.tools[
|
|
232
|
+
const tool = event.tools[name8];
|
|
233
233
|
if (!tool)
|
|
234
234
|
return;
|
|
235
235
|
const selected = yield* agents.resolve(event.agent);
|
|
236
236
|
if (!selected)
|
|
237
237
|
return;
|
|
238
|
-
const available = (yield* agents.list()).filter((agent) => agent.mode !== "primary" && !agent.hidden && evaluate2(
|
|
238
|
+
const available = (yield* agents.list()).filter((agent) => agent.mode !== "primary" && !agent.hidden && evaluate2(name8, agent.id, selected.permissions).effect !== "deny").toSorted((a, b) => a.id.localeCompare(b.id));
|
|
239
239
|
if (available.length === 0)
|
|
240
240
|
return;
|
|
241
241
|
tool.description = [
|
|
@@ -252,4 +252,4 @@ ${output.output}
|
|
|
252
252
|
})
|
|
253
253
|
};
|
|
254
254
|
|
|
255
|
-
export {
|
|
255
|
+
export { name8, Input8, Output6, description3, Plugin42, exports_subagent };
|
|
@@ -1,33 +1,33 @@
|
|
|
1
1
|
import {
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
} from "./
|
|
2
|
+
Service81,
|
|
3
|
+
node85
|
|
4
|
+
} from "./vcs-5qx92zct.js";
|
|
5
5
|
import {
|
|
6
6
|
__export
|
|
7
|
-
} from "./
|
|
7
|
+
} from "./vcs-9rqn6x4v.js";
|
|
8
8
|
|
|
9
9
|
// src/location.ts
|
|
10
10
|
var exports_location = {};
|
|
11
11
|
__export(exports_location, {
|
|
12
|
-
Info: () =>
|
|
12
|
+
Info: () => Info27,
|
|
13
13
|
Location: () => exports_location,
|
|
14
14
|
Ref: () => Ref5,
|
|
15
|
-
Service: () =>
|
|
15
|
+
Service: () => Service80,
|
|
16
16
|
boundNode: () => boundNode2,
|
|
17
|
-
node: () =>
|
|
17
|
+
node: () => node84,
|
|
18
18
|
response: () => response2
|
|
19
19
|
});
|
|
20
20
|
import { Context, Effect, Layer } from "effect";
|
|
21
|
-
import { Info as
|
|
21
|
+
import { Info as Info27, Ref as Ref5, response as response2 } from "@opencode/schema/location";
|
|
22
22
|
import { LayerNode } from "@opencode/util/effect/layer-node";
|
|
23
23
|
import { makeLocationNode, tags } from "@opencode/util/effect/app-node";
|
|
24
|
-
class
|
|
24
|
+
class Service80 extends Context.Service()("@opencode/Location") {
|
|
25
25
|
}
|
|
26
|
-
var
|
|
27
|
-
var layer = (ref) => Layer.effect(
|
|
28
|
-
const project = yield*
|
|
26
|
+
var node84 = LayerNode.unbound(Service80, tags.values.location);
|
|
27
|
+
var layer = (ref) => Layer.effect(Service80, Effect.gen(function* () {
|
|
28
|
+
const project = yield* Service81;
|
|
29
29
|
const resolved = yield* project.resolve(ref.directory);
|
|
30
|
-
return
|
|
30
|
+
return Service80.of({
|
|
31
31
|
directory: ref.directory,
|
|
32
32
|
workspaceID: ref.workspaceID,
|
|
33
33
|
project: { id: resolved.id, directory: resolved.directory, canonical: resolved.canonical },
|
|
@@ -35,9 +35,9 @@ var layer = (ref) => Layer.effect(Service82, Effect.gen(function* () {
|
|
|
35
35
|
});
|
|
36
36
|
}));
|
|
37
37
|
var boundNode2 = (ref) => makeLocationNode({
|
|
38
|
-
service:
|
|
38
|
+
service: Service80,
|
|
39
39
|
layer: layer(ref),
|
|
40
|
-
deps: [
|
|
40
|
+
deps: [node85]
|
|
41
41
|
});
|
|
42
42
|
|
|
43
|
-
export {
|
|
43
|
+
export { Info27, Ref5, response2, Service80, node84, boundNode2, exports_location };
|
|
@@ -1,19 +1,19 @@
|
|
|
1
1
|
import {
|
|
2
2
|
PositiveInt2
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./vcs-z5v4ffb3.js";
|
|
4
4
|
import {
|
|
5
5
|
Entries2,
|
|
6
|
-
|
|
7
|
-
} from "./
|
|
6
|
+
Info18
|
|
7
|
+
} from "./vcs-s7kyse9r.js";
|
|
8
8
|
import {
|
|
9
9
|
__export
|
|
10
|
-
} from "./
|
|
10
|
+
} from "./vcs-9rqn6x4v.js";
|
|
11
11
|
|
|
12
12
|
// src/v1/config/agent.ts
|
|
13
|
-
var
|
|
14
|
-
__export(
|
|
15
|
-
ConfigAgentV1: () =>
|
|
16
|
-
Info: () =>
|
|
13
|
+
var exports_agent3 = {};
|
|
14
|
+
__export(exports_agent3, {
|
|
15
|
+
ConfigAgentV1: () => exports_agent3,
|
|
16
|
+
Info: () => Info17
|
|
17
17
|
});
|
|
18
18
|
import { Schema, SchemaGetter } from "effect";
|
|
19
19
|
var Color = Schema.Union([
|
|
@@ -45,7 +45,7 @@ var AgentSchema = Schema.StructWithRest(Schema.Struct({
|
|
|
45
45
|
description: "Maximum number of agentic iterations before forcing text-only response"
|
|
46
46
|
}),
|
|
47
47
|
maxSteps: Schema.optional(PositiveInt2).annotate({ description: "@deprecated Use 'steps' field instead." }),
|
|
48
|
-
permission: Schema.optional(
|
|
48
|
+
permission: Schema.optional(Info18)
|
|
49
49
|
}), [Schema.Record(Schema.String, Schema.Any)]);
|
|
50
50
|
var KNOWN_KEYS = new Set(["name", ...Object.keys(AgentSchema.schema.fields)]);
|
|
51
51
|
var normalize = (agent) => {
|
|
@@ -64,9 +64,9 @@ var normalize = (agent) => {
|
|
|
64
64
|
const steps = agent.steps ?? agent.maxSteps;
|
|
65
65
|
return { ...agent, options, permission: [...permission], ...steps !== undefined ? { steps } : {} };
|
|
66
66
|
};
|
|
67
|
-
var
|
|
67
|
+
var Info17 = AgentSchema.pipe(Schema.decodeTo(Schema.toType(AgentSchema), {
|
|
68
68
|
decode: SchemaGetter.transform(normalize),
|
|
69
69
|
encode: SchemaGetter.passthrough({ strict: false })
|
|
70
70
|
})).annotate({ identifier: "AgentConfig" });
|
|
71
71
|
|
|
72
|
-
export {
|
|
72
|
+
export { Info17, exports_agent3 };
|
|
@@ -1,59 +1,59 @@
|
|
|
1
|
-
import {
|
|
2
|
-
Service85,
|
|
3
|
-
node89
|
|
4
|
-
} from "./persistent-pty-7aszcnrw.js";
|
|
5
|
-
import {
|
|
6
|
-
Service78,
|
|
7
|
-
node82
|
|
8
|
-
} from "./persistent-pty-4c0sy8z7.js";
|
|
9
1
|
import {
|
|
10
2
|
Service83,
|
|
11
3
|
node87
|
|
12
|
-
} from "./
|
|
4
|
+
} from "./vcs-b8zfksyw.js";
|
|
5
|
+
import {
|
|
6
|
+
Service79,
|
|
7
|
+
node83
|
|
8
|
+
} from "./vcs-z9wg9fq4.js";
|
|
9
|
+
import {
|
|
10
|
+
Service81,
|
|
11
|
+
node85
|
|
12
|
+
} from "./vcs-5qx92zct.js";
|
|
13
13
|
import {
|
|
14
14
|
Ref5,
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
} from "./
|
|
15
|
+
Service80,
|
|
16
|
+
node84
|
|
17
|
+
} from "./vcs-8f2h6hsz.js";
|
|
18
18
|
import {
|
|
19
19
|
canonical3
|
|
20
|
-
} from "./
|
|
20
|
+
} from "./vcs-4ya1zf4j.js";
|
|
21
21
|
import {
|
|
22
22
|
SessionEvent2
|
|
23
|
-
} from "./
|
|
23
|
+
} from "./vcs-ec1grn59.js";
|
|
24
24
|
import {
|
|
25
|
-
|
|
26
|
-
|
|
27
|
-
} from "./
|
|
25
|
+
Service63,
|
|
26
|
+
node67
|
|
27
|
+
} from "./vcs-mvmschgv.js";
|
|
28
28
|
import {
|
|
29
|
-
|
|
30
|
-
|
|
31
|
-
} from "./
|
|
29
|
+
Service21,
|
|
30
|
+
node24
|
|
31
|
+
} from "./vcs-ts41tt44.js";
|
|
32
32
|
import {
|
|
33
33
|
__export
|
|
34
|
-
} from "./
|
|
34
|
+
} from "./vcs-9rqn6x4v.js";
|
|
35
35
|
|
|
36
36
|
// src/location-lifecycle.ts
|
|
37
37
|
var exports_location_lifecycle = {};
|
|
38
38
|
__export(exports_location_lifecycle, {
|
|
39
39
|
LocationLifecycle: () => exports_location_lifecycle,
|
|
40
|
-
Service: () =>
|
|
41
|
-
node: () =>
|
|
40
|
+
Service: () => Service13,
|
|
41
|
+
node: () => node15
|
|
42
42
|
});
|
|
43
43
|
import { Context, Deferred, Effect, Layer, Schema } from "effect";
|
|
44
44
|
import { makeLocationNode } from "@opencode/util/effect/app-node";
|
|
45
45
|
import { LocationEvent } from "@opencode/schema/location-event";
|
|
46
46
|
var isSessionEvent = Schema.is(SessionEvent2.Durable);
|
|
47
47
|
|
|
48
|
-
class
|
|
48
|
+
class Service13 extends Context.Service()("@opencode/LocationLifecycle") {
|
|
49
49
|
}
|
|
50
|
-
var layer = Layer.effect(
|
|
51
|
-
const bus = yield*
|
|
52
|
-
const location = yield*
|
|
53
|
-
const permission = yield*
|
|
54
|
-
const forms = yield*
|
|
55
|
-
const rpc = yield*
|
|
56
|
-
const project = yield*
|
|
50
|
+
var layer = Layer.effect(Service13, Effect.gen(function* () {
|
|
51
|
+
const bus = yield* Service83;
|
|
52
|
+
const location = yield* Service80;
|
|
53
|
+
const permission = yield* Service63;
|
|
54
|
+
const forms = yield* Service79;
|
|
55
|
+
const rpc = yield* Service21;
|
|
56
|
+
const project = yield* Service81;
|
|
57
57
|
const scope = yield* Effect.scope;
|
|
58
58
|
yield* project.activate(location.project.id);
|
|
59
59
|
const unsubscribe = yield* bus.listen((event) => {
|
|
@@ -80,15 +80,15 @@ var layer = Layer.effect(Service17, Effect.gen(function* () {
|
|
|
80
80
|
});
|
|
81
81
|
}).pipe(Effect.ensuring(Deferred.succeed(done, undefined)));
|
|
82
82
|
}).pipe(Effect.uninterruptible);
|
|
83
|
-
return
|
|
83
|
+
return Service13.of({
|
|
84
84
|
isClosed: () => closed,
|
|
85
85
|
shutdown
|
|
86
86
|
});
|
|
87
87
|
}));
|
|
88
|
-
var
|
|
89
|
-
service:
|
|
88
|
+
var node15 = makeLocationNode({
|
|
89
|
+
service: Service13,
|
|
90
90
|
layer,
|
|
91
|
-
deps: [
|
|
91
|
+
deps: [node87, node84, node67, node85, node83, node24]
|
|
92
92
|
});
|
|
93
93
|
|
|
94
|
-
export {
|
|
94
|
+
export { Service13, node15, exports_location_lifecycle };
|
|
@@ -1,30 +1,30 @@
|
|
|
1
1
|
import {
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
} from "./
|
|
2
|
+
Service80,
|
|
3
|
+
node84
|
|
4
|
+
} from "./vcs-8f2h6hsz.js";
|
|
5
5
|
import {
|
|
6
6
|
create3
|
|
7
|
-
} from "./
|
|
7
|
+
} from "./vcs-204s3925.js";
|
|
8
8
|
import {
|
|
9
9
|
__export
|
|
10
|
-
} from "./
|
|
10
|
+
} from "./vcs-9rqn6x4v.js";
|
|
11
11
|
|
|
12
12
|
// src/formatter.ts
|
|
13
13
|
var exports_formatter2 = {};
|
|
14
14
|
__export(exports_formatter2, {
|
|
15
15
|
Formatter: () => exports_formatter2,
|
|
16
|
-
Service: () =>
|
|
17
|
-
node: () =>
|
|
16
|
+
Service: () => Service16,
|
|
17
|
+
node: () => node18
|
|
18
18
|
});
|
|
19
19
|
import { Context, Effect, Layer } from "effect";
|
|
20
20
|
import { ChildProcess } from "effect/process";
|
|
21
21
|
import path from "path";
|
|
22
22
|
import { makeLocationNode } from "@opencode/util/effect/app-node";
|
|
23
23
|
import { AppProcess } from "@opencode/util/process";
|
|
24
|
-
class
|
|
24
|
+
class Service16 extends Context.Service()("@opencode/v2/Formatter") {
|
|
25
25
|
}
|
|
26
|
-
var layer = Layer.effect(
|
|
27
|
-
const location = yield*
|
|
26
|
+
var layer = Layer.effect(Service16, Effect.gen(function* () {
|
|
27
|
+
const location = yield* Service80;
|
|
28
28
|
const processes = yield* AppProcess.Service;
|
|
29
29
|
const commands = new WeakMap;
|
|
30
30
|
const state = create3({
|
|
@@ -85,12 +85,12 @@ var layer = Layer.effect(Service21, Effect.gen(function* () {
|
|
|
85
85
|
}
|
|
86
86
|
return false;
|
|
87
87
|
});
|
|
88
|
-
return
|
|
88
|
+
return Service16.of({ transform: state.transform, reload: state.reload, file });
|
|
89
89
|
}));
|
|
90
|
-
var
|
|
91
|
-
service:
|
|
90
|
+
var node18 = makeLocationNode({
|
|
91
|
+
service: Service16,
|
|
92
92
|
layer,
|
|
93
|
-
deps: [
|
|
93
|
+
deps: [node84, AppProcess.node]
|
|
94
94
|
});
|
|
95
95
|
|
|
96
|
-
export {
|
|
96
|
+
export { Service16, node18, exports_formatter2 };
|
|
@@ -1,26 +1,26 @@
|
|
|
1
1
|
import {
|
|
2
2
|
fromPromise2
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./vcs-4v008n1t.js";
|
|
4
4
|
import {
|
|
5
|
-
|
|
6
|
-
} from "./
|
|
5
|
+
Service68
|
|
6
|
+
} from "./vcs-jhrp8x7n.js";
|
|
7
7
|
import {
|
|
8
|
-
|
|
9
|
-
} from "./
|
|
8
|
+
Service67
|
|
9
|
+
} from "./vcs-8abc36xm.js";
|
|
10
10
|
import {
|
|
11
11
|
statements2,
|
|
12
12
|
decision2
|
|
13
|
-
} from "./
|
|
13
|
+
} from "./vcs-ymz7p2c9.js";
|
|
14
14
|
import {
|
|
15
15
|
__export
|
|
16
|
-
} from "./
|
|
16
|
+
} from "./vcs-9rqn6x4v.js";
|
|
17
17
|
|
|
18
18
|
// src/plugin/module.ts
|
|
19
19
|
var exports_module = {};
|
|
20
20
|
__export(exports_module, {
|
|
21
21
|
LoadError: () => LoadError2,
|
|
22
22
|
PluginModule: () => exports_module,
|
|
23
|
-
make: () =>
|
|
23
|
+
make: () => make3
|
|
24
24
|
});
|
|
25
25
|
import { Host } from "@opencode/plugin/host";
|
|
26
26
|
import { GuiBundle } from "@opencode/schema/plugin";
|
|
@@ -31,9 +31,9 @@ import { Deferred, Effect, FiberSet, PubSub, Schema, Stream } from "effect";
|
|
|
31
31
|
import path from "path";
|
|
32
32
|
import { readFile, stat } from "node:fs/promises";
|
|
33
33
|
import { fileURLToPath, pathToFileURL } from "url";
|
|
34
|
-
var
|
|
35
|
-
const config = yield*
|
|
36
|
-
const watcher = yield*
|
|
34
|
+
var make3 = Effect.fn("PluginModule.make")(function* () {
|
|
35
|
+
const config = yield* Service67;
|
|
36
|
+
const watcher = yield* Service68;
|
|
37
37
|
const scope = yield* Effect.scope;
|
|
38
38
|
const runPromise = yield* FiberSet.makeRuntimePromise();
|
|
39
39
|
const changes = yield* PubSub.unbounded();
|
|
@@ -136,4 +136,4 @@ var loadServer = Effect.fn("PluginModule.loadServer")(function* (entrypoint, sou
|
|
|
136
136
|
return { plugin: "effect" in value ? value : fromPromise2(value), version: loaded.version };
|
|
137
137
|
});
|
|
138
138
|
|
|
139
|
-
export {
|
|
139
|
+
export { make3, LoadError2, exports_module };
|
|
@@ -1,18 +1,18 @@
|
|
|
1
1
|
import {
|
|
2
2
|
AbsolutePath2
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./vcs-z5v4ffb3.js";
|
|
4
4
|
import {
|
|
5
|
-
|
|
6
|
-
} from "./
|
|
5
|
+
Service80
|
|
6
|
+
} from "./vcs-8f2h6hsz.js";
|
|
7
7
|
import {
|
|
8
8
|
NotFound3
|
|
9
|
-
} from "./
|
|
9
|
+
} from "./vcs-svcy3p9a.js";
|
|
10
10
|
import {
|
|
11
|
-
|
|
12
|
-
} from "./
|
|
11
|
+
Service25
|
|
12
|
+
} from "./vcs-qatsv5dz.js";
|
|
13
13
|
import {
|
|
14
|
-
|
|
15
|
-
} from "./
|
|
14
|
+
Service10
|
|
15
|
+
} from "./vcs-4zjf7cy2.js";
|
|
16
16
|
import {
|
|
17
17
|
BinaryFileError2,
|
|
18
18
|
MediaIngestLimitError2,
|
|
@@ -22,26 +22,26 @@ import {
|
|
|
22
22
|
FileContent2,
|
|
23
23
|
TextPage2,
|
|
24
24
|
ListPage2,
|
|
25
|
-
|
|
26
|
-
} from "./
|
|
25
|
+
Service34
|
|
26
|
+
} from "./vcs-9hf7djsb.js";
|
|
27
27
|
import {
|
|
28
28
|
__export
|
|
29
|
-
} from "./
|
|
29
|
+
} from "./vcs-9rqn6x4v.js";
|
|
30
30
|
|
|
31
31
|
// src/tool/plugin/read.ts
|
|
32
32
|
var exports_read = {};
|
|
33
33
|
__export(exports_read, {
|
|
34
|
-
Input: () =>
|
|
35
|
-
Plugin: () =>
|
|
34
|
+
Input: () => Input3,
|
|
35
|
+
Plugin: () => Plugin37,
|
|
36
36
|
ReadTool: () => exports_read,
|
|
37
|
-
name: () =>
|
|
38
|
-
toModelContent: () =>
|
|
37
|
+
name: () => name3,
|
|
38
|
+
toModelContent: () => toModelContent2
|
|
39
39
|
});
|
|
40
40
|
import { basename, dirname, join } from "path";
|
|
41
41
|
import { ToolFailure } from "@opencode/ai/effect";
|
|
42
42
|
import { Effect, Schema } from "effect";
|
|
43
43
|
import { FSUtil } from "@opencode/util/fs-util";
|
|
44
|
-
var
|
|
44
|
+
var name3 = "read";
|
|
45
45
|
var FILENAME = "AGENTS.md";
|
|
46
46
|
var LocationInput = Schema.Struct({
|
|
47
47
|
path: Schema.String.annotate({ description: "File or directory to read" }),
|
|
@@ -52,21 +52,21 @@ var LocationInput = Schema.Struct({
|
|
|
52
52
|
description: "The maximum number of lines or directory entries to read (defaults to and capped at 2000)"
|
|
53
53
|
})
|
|
54
54
|
});
|
|
55
|
-
var
|
|
55
|
+
var Input3 = LocationInput;
|
|
56
56
|
var Output = Schema.Union([FileContent2, TextPage2, ListPage2]);
|
|
57
|
-
var
|
|
57
|
+
var Plugin37 = {
|
|
58
58
|
id: "opencode.tool.read",
|
|
59
59
|
effect: Effect.fn("ReadTool.Plugin")(function* (ctx) {
|
|
60
|
-
const reader = yield*
|
|
61
|
-
const access = yield*
|
|
62
|
-
const sessionInstructions = yield*
|
|
60
|
+
const reader = yield* Service34;
|
|
61
|
+
const access = yield* Service25;
|
|
62
|
+
const sessionInstructions = yield* Service10;
|
|
63
63
|
const fs = yield* FSUtil.Service;
|
|
64
|
-
const location = yield*
|
|
64
|
+
const location = yield* Service80;
|
|
65
65
|
yield* ctx.tool.transform((editor) => editor.add({
|
|
66
|
-
name:
|
|
66
|
+
name: name3,
|
|
67
67
|
options: { codemode: false },
|
|
68
68
|
description: "Read the contents of a file or directory. Supports text files, images, and PDFs. Images and PDFs are presented directly to the model. Each text line is prefixed by its 1-based line number as <line>: <content>. The prefix is for reference and is not part of the file content. Directory entries are returned one per line. Use offset and limit to read large files or directories in sections. Prefer one larger read over many small slices, and use grep to find specific content in large files.",
|
|
69
|
-
input:
|
|
69
|
+
input: Input3,
|
|
70
70
|
output: Output,
|
|
71
71
|
execute: (input, context) => {
|
|
72
72
|
return Effect.gen(function* () {
|
|
@@ -110,7 +110,7 @@ var Plugin23 = {
|
|
|
110
110
|
return { output: result.content, path: result.path };
|
|
111
111
|
}).pipe(Effect.map((result) => ({
|
|
112
112
|
output: result.output,
|
|
113
|
-
content:
|
|
113
|
+
content: toModelContent2(result.path, input.offset, result.output),
|
|
114
114
|
metadata: { truncated: result.output.type === "file" ? false : result.output.truncated }
|
|
115
115
|
})), Effect.mapError((error) => {
|
|
116
116
|
if (error instanceof ToolFailure)
|
|
@@ -143,7 +143,7 @@ ${suggestions.join(`
|
|
|
143
143
|
});
|
|
144
144
|
})
|
|
145
145
|
};
|
|
146
|
-
var
|
|
146
|
+
var toModelContent2 = (path, offset, output) => {
|
|
147
147
|
if (output.type === "file" && output.encoding === "base64")
|
|
148
148
|
return [
|
|
149
149
|
{ type: "text", text: output.mime === "application/pdf" ? "PDF read successfully" : "Image read successfully" },
|
|
@@ -179,4 +179,4 @@ var toModelContent3 = (path, offset, output) => {
|
|
|
179
179
|
`);
|
|
180
180
|
};
|
|
181
181
|
|
|
182
|
-
export {
|
|
182
|
+
export { name3, Input3, Plugin37, toModelContent2, exports_read };
|