@opencode/core 0.0.0-dev-55 → 0.0.0-dev-56
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 +87 -87
- 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/{repository-cache-034tev2y.js → rpc-034tev2y.js} +2 -2
- package/dist/chunks/{repository-cache-yz9rz98a.js → rpc-06ezgrzy.js} +6 -6
- package/dist/chunks/{repository-cache-3ryz99p0.js → rpc-0ahs07zn.js} +4 -4
- package/dist/chunks/{repository-cache-efqx7wb7.js → rpc-0c526ams.js} +16 -16
- package/dist/chunks/{repository-cache-126c3fvz.js → rpc-0rq8521k.js} +4 -4
- package/dist/chunks/{repository-cache-g4y5gz37.js → rpc-0vawvjhj.js} +6 -6
- package/dist/chunks/{repository-cache-dqpjcdfr.js → rpc-0vp9s6f9.js} +9 -9
- package/dist/chunks/{repository-cache-gh11ee6b.js → rpc-0whhes9s.js} +15 -15
- package/dist/chunks/{repository-cache-x6d4sgx3.js → rpc-11r0hn6h.js} +11 -11
- package/dist/chunks/{repository-cache-0xaqh9kd.js → rpc-1cm167wn.js} +5 -5
- package/dist/chunks/{repository-cache-sytrbmxa.js → rpc-1cz5jnx3.js} +21 -21
- package/dist/chunks/{repository-cache-1ep2p91f.js → rpc-1ep2p91f.js} +2 -2
- package/dist/chunks/{repository-cache-69zgfr7z.js → rpc-1fev81q9.js} +12 -12
- package/dist/chunks/{repository-cache-mc3192g6.js → rpc-1pr3bvqr.js} +54 -54
- package/dist/chunks/{repository-cache-e3p7per7.js → rpc-1w0v2jg6.js} +94 -94
- package/dist/chunks/{repository-cache-1x2knyw4.js → rpc-1x2knyw4.js} +1 -1
- package/dist/chunks/{repository-cache-5zrxpy3q.js → rpc-1yq9hg58.js} +5 -5
- package/dist/chunks/{repository-cache-204s3925.js → rpc-204s3925.js} +1 -1
- package/dist/chunks/{repository-cache-1znhd7w1.js → rpc-20pewr79.js} +40 -40
- package/dist/chunks/{repository-cache-thyeeq05.js → rpc-21sjz75x.js} +3 -3
- package/dist/chunks/{repository-cache-snb89k4v.js → rpc-24b1822y.js} +37 -37
- package/dist/chunks/{repository-cache-j7407a90.js → rpc-24f1v18m.js} +15 -15
- package/dist/chunks/{repository-cache-dwy6z8dc.js → rpc-27mf012m.js} +24 -24
- package/dist/chunks/{repository-cache-744d0c63.js → rpc-2dyqtkwr.js} +5 -5
- package/dist/chunks/rpc-2fww1xq6.js +257 -0
- package/dist/chunks/{repository-cache-0tgb71k0.js → rpc-2zq6pbnf.js} +38 -38
- package/dist/chunks/{repository-cache-gybe5gkg.js → rpc-33fc7s0m.js} +25 -25
- package/dist/chunks/{repository-cache-fhsk438g.js → rpc-33kcjwwy.js} +10 -10
- package/dist/chunks/{repository-cache-1p9mjqrz.js → rpc-37fv4m6h.js} +19 -19
- package/dist/chunks/{repository-cache-5btzaxpa.js → rpc-3dcwdj6v.js} +19 -19
- package/dist/chunks/{repository-cache-grfmaxtg.js → rpc-3gda39my.js} +48 -48
- package/dist/chunks/{repository-cache-3hepkmqq.js → rpc-3hepkmqq.js} +1 -1
- package/dist/chunks/{repository-cache-haf3v3hy.js → rpc-3j1m3tq4.js} +5 -5
- package/dist/chunks/{repository-cache-sgrnxxty.js → rpc-3jakq1d6.js} +19 -19
- package/dist/chunks/{repository-cache-6zz3v10r.js → rpc-3kq4a6sg.js} +15 -15
- package/dist/chunks/{repository-cache-3nnrz6f6.js → rpc-3nnrz6f6.js} +1 -1
- package/dist/chunks/{repository-cache-h255y8je.js → rpc-3t8h1e95.js} +35 -35
- package/dist/chunks/{repository-cache-vtsyfctf.js → rpc-40d4xgsq.js} +25 -25
- package/dist/chunks/{repository-cache-w2eysc6j.js → rpc-40za9wsf.js} +9 -9
- package/dist/chunks/{repository-cache-vdatw69e.js → rpc-45c1pec7.js} +21 -21
- package/dist/chunks/{repository-cache-ywqn3jdz.js → rpc-48d8ae9z.js} +8 -8
- package/dist/chunks/{repository-cache-1cdppm47.js → rpc-49q52fh6.js} +33 -33
- package/dist/chunks/{repository-cache-93ab2gax.js → rpc-4cp64nen.js} +20 -20
- package/dist/chunks/{repository-cache-asrq7j76.js → rpc-4d2pgjbv.js} +20 -20
- package/dist/chunks/{repository-cache-js6kqssh.js → rpc-4d6ha9s6.js} +5 -5
- package/dist/chunks/{repository-cache-ze8w1qcn.js → rpc-4dp2wx2w.js} +64 -64
- package/dist/chunks/{repository-cache-dkqkergf.js → rpc-4fd5ta9m.js} +2 -2
- package/dist/chunks/{repository-cache-grnvj370.js → rpc-4m1g0ceg.js} +22 -22
- package/dist/chunks/{repository-cache-4pyp9zr9.js → rpc-4pyp9zr9.js} +1 -1
- package/dist/chunks/{repository-cache-4v008n1t.js → rpc-4v008n1t.js} +1 -1
- package/dist/chunks/{repository-cache-g3hvekgd.js → rpc-52f5rtfj.js} +18 -18
- package/dist/chunks/{repository-cache-bx992dmv.js → rpc-5456a48y.js} +9 -9
- package/dist/chunks/{repository-cache-f2hv8cv8.js → rpc-55pbqef1.js} +11 -11
- package/dist/chunks/{repository-cache-5m9w47nd.js → rpc-5m9w47nd.js} +1 -1
- package/dist/chunks/{repository-cache-60ge4sjk.js → rpc-5t0ssftj.js} +20 -20
- package/dist/chunks/{repository-cache-mptjpcxy.js → rpc-5tsxr0ws.js} +14 -14
- package/dist/chunks/{repository-cache-scvnz3tv.js → rpc-65dm05df.js} +45 -45
- package/dist/chunks/{repository-cache-pankmnx0.js → rpc-67nysykx.js} +15 -15
- package/dist/chunks/{repository-cache-fsd04637.js → rpc-68a4b1nr.js} +9 -9
- package/dist/chunks/{repository-cache-b4e3zc8a.js → rpc-6dfsbm8p.js} +40 -40
- package/dist/chunks/{repository-cache-6esdw8yj.js → rpc-6esdw8yj.js} +1 -1
- package/dist/chunks/{repository-cache-0h58xf1g.js → rpc-6g6p8k27.js} +34 -34
- package/dist/chunks/{repository-cache-2jexvr2j.js → rpc-6m6bsj58.js} +27 -27
- package/dist/chunks/{repository-cache-06pe9pmm.js → rpc-6sbpw0e5.js} +25 -25
- package/dist/chunks/{repository-cache-jb6rb1an.js → rpc-6v5hcgfq.js} +15 -15
- package/dist/chunks/{repository-cache-sh0q5wym.js → rpc-6xsxm8kw.js} +35 -35
- package/dist/chunks/{repository-cache-6y263vp8.js → rpc-6y263vp8.js} +2 -2
- package/dist/chunks/{repository-cache-knt1f303.js → rpc-72tjyr14.js} +15 -15
- package/dist/chunks/{repository-cache-7bmhse3q.js → rpc-7bmhse3q.js} +1 -1
- package/dist/chunks/{repository-cache-atw8c7pr.js → rpc-7h2t6vc0.js} +6 -6
- package/dist/chunks/{repository-cache-75v6tc0m.js → rpc-7ktfwhzn.js} +19 -19
- package/dist/chunks/{repository-cache-2cwns7qk.js → rpc-7m6jdvvc.js} +21 -21
- package/dist/chunks/{repository-cache-3z0hxnyk.js → rpc-7nwq7d8b.js} +5 -5
- package/dist/chunks/{repository-cache-efz9xtfj.js → rpc-7pasvbr1.js} +23 -23
- package/dist/chunks/{repository-cache-7w2ypzdf.js → rpc-7w2ypzdf.js} +1 -1
- package/dist/chunks/{repository-cache-401hbwyh.js → rpc-7zxwgkwf.js} +5 -5
- package/dist/chunks/{repository-cache-j6gvah3y.js → rpc-85wke8th.js} +30 -30
- package/dist/chunks/{repository-cache-rx5gvnt1.js → rpc-883j7vh5.js} +28 -28
- package/dist/chunks/{repository-cache-vqxcyac6.js → rpc-88pmpatn.js} +11 -11
- package/dist/chunks/{repository-cache-fdfvc1dg.js → rpc-8en22g3v.js} +24 -24
- package/dist/chunks/{repository-cache-csyeyjrf.js → rpc-8fdswnnk.js} +9 -9
- package/dist/chunks/{repository-cache-4btp19b3.js → rpc-8k1232g8.js} +14 -14
- package/dist/chunks/{repository-cache-0711fn9k.js → rpc-8rgpj3v9.js} +29 -29
- package/dist/chunks/{repository-cache-6z1320sj.js → rpc-8v13ctkh.js} +30 -30
- package/dist/chunks/{repository-cache-8wtp7s3z.js → rpc-8wtp7s3z.js} +1 -1
- package/dist/chunks/{repository-cache-90zstvax.js → rpc-90zstvax.js} +1 -1
- package/dist/chunks/{repository-cache-taveqshq.js → rpc-919vdwc6.js} +14 -14
- package/dist/chunks/{repository-cache-6fjx9w38.js → rpc-94dw899a.js} +18 -18
- package/dist/chunks/{repository-cache-8nzygxt8.js → rpc-9aaqd4cr.js} +51 -51
- package/dist/chunks/{repository-cache-9cx9sm2q.js → rpc-9cx9sm2q.js} +1 -1
- package/dist/chunks/{repository-cache-jmzf3sak.js → rpc-9d3qqyt3.js} +33 -33
- package/dist/chunks/{repository-cache-gf4hftfj.js → rpc-9ej9d65q.js} +10 -10
- package/dist/chunks/{repository-cache-9q8g9sv8.js → rpc-9q8g9sv8.js} +1 -1
- package/dist/chunks/{repository-cache-p1vte9h6.js → rpc-9v9sw9y8.js} +11 -11
- package/dist/chunks/{repository-cache-zwenfqkq.js → rpc-9vv0e3hr.js} +7 -7
- package/dist/chunks/{repository-cache-69gwv1xx.js → rpc-9wzjb77v.js} +5 -5
- package/dist/chunks/{repository-cache-22nm8aah.js → rpc-a7mz7h33.js} +44 -44
- package/dist/chunks/{repository-cache-rpkzka4k.js → rpc-ag2aa0c3.js} +13 -13
- package/dist/chunks/{repository-cache-pfy2m4ca.js → rpc-akbz7b6h.js} +5 -5
- package/dist/chunks/{repository-cache-9ryshn0f.js → rpc-aqre7xn4.js} +29 -29
- package/dist/chunks/{repository-cache-2nn7s44w.js → rpc-atqtx36x.js} +34 -34
- package/dist/chunks/{repository-cache-368y3b8n.js → rpc-avmkrmj1.js} +19 -19
- package/dist/chunks/{repository-cache-ayjs7tqn.js → rpc-ayjs7tqn.js} +2 -2
- package/dist/chunks/{repository-cache-8mtpnz0v.js → rpc-ayzcn7ry.js} +27 -27
- package/dist/chunks/{repository-cache-b6vsg801.js → rpc-b6vsg801.js} +2 -2
- package/dist/chunks/{repository-cache-61ennm6n.js → rpc-bjhzkqyk.js} +4 -4
- package/dist/chunks/{repository-cache-s6re1h3h.js → rpc-brp6nb8b.js} +36 -36
- package/dist/chunks/{repository-cache-c7w77bqn.js → rpc-bsfsn1q2.js} +14 -14
- package/dist/chunks/{repository-cache-bstexjd6.js → rpc-bstexjd6.js} +1 -1
- package/dist/chunks/{repository-cache-2r71v196.js → rpc-bvqmrn1m.js} +14 -14
- package/dist/chunks/{repository-cache-stwk20ed.js → rpc-c49xtfdh.js} +8 -8
- package/dist/chunks/{repository-cache-q9eywg3w.js → rpc-cedkk2hn.js} +27 -27
- package/dist/chunks/rpc-crdv5ver.js +517 -0
- package/dist/chunks/{repository-cache-x4gc5gbk.js → rpc-crhn495q.js} +9 -9
- package/dist/chunks/{repository-cache-yc79q165.js → rpc-cttyfbh0.js} +14 -14
- package/dist/chunks/{repository-cache-cwrgdav8.js → rpc-cwrgdav8.js} +2 -2
- package/dist/chunks/{repository-cache-9111wyrc.js → rpc-cyj2kt6c.js} +6 -6
- package/dist/chunks/{repository-cache-bwjvbmsb.js → rpc-d081q3rt.js} +87 -87
- package/dist/chunks/{repository-cache-ssfehs1z.js → rpc-d2887f8n.js} +4 -4
- package/dist/chunks/{repository-cache-sgrvbqkr.js → rpc-d3a27jat.js} +20 -20
- package/dist/chunks/{repository-cache-qkxp7296.js → rpc-d495y938.js} +1 -1
- package/dist/chunks/{repository-cache-d4v9tmah.js → rpc-d4v9tmah.js} +2 -2
- package/dist/chunks/{repository-cache-q5h6r7rp.js → rpc-d9vrgche.js} +27 -27
- package/dist/chunks/{repository-cache-djjzzs3c.js → rpc-djjzzs3c.js} +3 -3
- package/dist/chunks/{repository-cache-2c4q4gd1.js → rpc-drerwy6v.js} +6 -6
- package/dist/chunks/{repository-cache-mj0wev1x.js → rpc-drvbhkez.js} +4 -4
- package/dist/chunks/{repository-cache-dt77769w.js → rpc-dt77769w.js} +1 -1
- package/dist/chunks/{repository-cache-yfkhsjsm.js → rpc-dtbhyemk.js} +6 -6
- package/dist/chunks/{repository-cache-x4etgdbd.js → rpc-dv6qm9br.js} +27 -27
- package/dist/chunks/{repository-cache-e07q2w5p.js → rpc-e07q2w5p.js} +1 -1
- package/dist/chunks/{repository-cache-e834z07m.js → rpc-e834z07m.js} +1 -1
- package/dist/chunks/{repository-cache-ws0jw39t.js → rpc-emfgrb33.js} +27 -27
- package/dist/chunks/{repository-cache-a0tqv4gf.js → rpc-enhdjx8m.js} +17 -17
- package/dist/chunks/{repository-cache-cyty15yb.js → rpc-ey18rynk.js} +28 -28
- package/dist/chunks/{repository-cache-x00hvv89.js → rpc-f1jvjr49.js} +3 -3
- package/dist/chunks/{repository-cache-r6whtadg.js → rpc-f4tcs0jy.js} +23 -23
- package/dist/chunks/{repository-cache-76g7jkkw.js → rpc-fdaca9h8.js} +15 -15
- package/dist/chunks/{repository-cache-fffv3p7h.js → rpc-fffv3p7h.js} +1 -1
- package/dist/chunks/{repository-cache-an749m78.js → rpc-ffj9xh6w.js} +1 -1
- package/dist/chunks/{repository-cache-prq7xxp2.js → rpc-fg9p65nk.js} +6 -6
- package/dist/chunks/{repository-cache-6ze967nv.js → rpc-fkvkceny.js} +58 -58
- package/dist/chunks/{repository-cache-hxvg6wb1.js → rpc-fpp6hpcz.js} +18 -18
- package/dist/chunks/{repository-cache-dg9hqg77.js → rpc-fxp3jdxe.js} +3 -3
- package/dist/chunks/{repository-cache-w687dnns.js → rpc-fznmdakp.js} +4 -4
- package/dist/chunks/{repository-cache-s0815yd1.js → rpc-g3vbb411.js} +32 -32
- package/dist/chunks/{repository-cache-98qrekfe.js → rpc-g5cwnqn4.js} +5 -5
- package/dist/chunks/{repository-cache-fwgp6qwj.js → rpc-g5f8x4xx.js} +2 -2
- package/dist/chunks/{repository-cache-kke9g1hb.js → rpc-g5n7re5f.js} +50 -50
- package/dist/chunks/{repository-cache-1860ddgg.js → rpc-g60qat9x.js} +25 -25
- package/dist/chunks/{repository-cache-jcqm84fr.js → rpc-gcjdgkn2.js} +9 -9
- package/dist/chunks/{repository-cache-gg8p9cgs.js → rpc-gg8p9cgs.js} +3 -3
- package/dist/chunks/{repository-cache-hgrfbex2.js → rpc-gnpspdhe.js} +9 -9
- package/dist/chunks/{repository-cache-0731t3tw.js → rpc-gs6z249h.js} +11 -11
- package/dist/chunks/{repository-cache-xt0z8zst.js → rpc-gtn9c16a.js} +4 -4
- package/dist/chunks/{repository-cache-cwcqs07e.js → rpc-h05nesbv.js} +33 -33
- package/dist/chunks/{repository-cache-hdfrs5mg.js → rpc-hdfrs5mg.js} +2 -2
- package/dist/chunks/{repository-cache-06w9ffrv.js → rpc-hfgk9wzg.js} +5 -5
- package/dist/chunks/{repository-cache-rqx7f7vj.js → rpc-hggwpgzd.js} +4 -4
- package/dist/chunks/{repository-cache-hpg1pkwy.js → rpc-hpg1pkwy.js} +1 -1
- package/dist/chunks/{repository-cache-wa8k00xj.js → rpc-hvvf9qw8.js} +6 -6
- package/dist/chunks/rpc-hzxj5g2m.js +26 -0
- package/dist/chunks/{repository-cache-0fe450at.js → rpc-j3crpzxq.js} +13 -13
- package/dist/chunks/{repository-cache-75g1xcwv.js → rpc-j8mbjqzd.js} +18 -18
- package/dist/chunks/{repository-cache-pk48tdmc.js → rpc-jag19rqs.js} +8 -8
- package/dist/chunks/{repository-cache-zaq8ky8h.js → rpc-je2wvarz.js} +11 -11
- package/dist/chunks/{repository-cache-jfaecv01.js → rpc-jfaecv01.js} +1 -1
- package/dist/chunks/{repository-cache-q9qc3bva.js → rpc-jpf9vwqw.js} +9 -9
- package/dist/chunks/{repository-cache-t0zgzgtb.js → rpc-jq6y1ase.js} +12 -12
- package/dist/chunks/{repository-cache-jtnps1zs.js → rpc-jtnps1zs.js} +2 -2
- package/dist/chunks/rpc-jztn5z23.js +18 -0
- package/dist/chunks/{repository-cache-wvk1wtsq.js → rpc-k5kj76dt.js} +11 -11
- package/dist/chunks/{repository-cache-k814nvkf.js → rpc-k814nvkf.js} +1 -1
- package/dist/chunks/{repository-cache-m29sxe67.js → rpc-kacyanm6.js} +19 -19
- package/dist/chunks/{repository-cache-1v5xq3rj.js → rpc-kc9nrs0j.js} +24 -24
- package/dist/chunks/{repository-cache-61t7fw61.js → rpc-kcdb1e28.js} +22 -22
- package/dist/chunks/{repository-cache-5mkx8w5e.js → rpc-kk9fztqn.js} +11 -11
- package/dist/chunks/{repository-cache-bec1vpmw.js → rpc-ksghqzra.js} +34 -34
- package/dist/chunks/{repository-cache-kt3bjfbg.js → rpc-kt3bjfbg.js} +1 -1
- package/dist/chunks/{repository-cache-q1s8j9ch.js → rpc-kv3397pn.js} +4 -4
- package/dist/chunks/{repository-cache-zgd8t41s.js → rpc-kwh42651.js} +9 -9
- package/dist/chunks/{repository-cache-ytc9yt2s.js → rpc-kzsyc12b.js} +9 -9
- package/dist/chunks/{repository-cache-ayj1td4f.js → rpc-m0beerck.js} +27 -27
- package/dist/chunks/{repository-cache-m1714858.js → rpc-m1714858.js} +1 -1
- package/dist/chunks/{repository-cache-me73n50h.js → rpc-m2zathk5.js} +11 -11
- package/dist/chunks/{repository-cache-epsjn5re.js → rpc-m5e8m7x2.js} +12 -12
- package/dist/chunks/{repository-cache-k2rhsbab.js → rpc-m9dmsm3n.js} +4 -4
- package/dist/chunks/{repository-cache-m9w0rfyh.js → rpc-m9w0rfyh.js} +1 -1
- package/dist/chunks/{repository-cache-j0tgfc8g.js → rpc-mj1vn29f.js} +8 -8
- package/dist/chunks/{repository-cache-vb2nzj1m.js → rpc-mm8jtwth.js} +24 -24
- package/dist/chunks/{repository-cache-54cc93aa.js → rpc-mpm5mb5p.js} +39 -39
- package/dist/chunks/{repository-cache-adf3gjyn.js → rpc-mqf62vgd.js} +31 -31
- package/dist/chunks/{repository-cache-5bbnem9k.js → rpc-myx6e55h.js} +11 -11
- package/dist/chunks/{repository-cache-w81qrt50.js → rpc-n3f5ztfg.js} +9 -9
- package/dist/chunks/{repository-cache-6nw1th37.js → rpc-na8jz2jz.js} +4 -4
- package/dist/chunks/{repository-cache-770pw0s1.js → rpc-nah043kf.js} +4 -4
- package/dist/chunks/{repository-cache-gcgkk9nz.js → rpc-ncgr05pj.js} +23 -23
- package/dist/chunks/{repository-cache-pbbktnbz.js → rpc-nf3nsvxh.js} +4 -4
- package/dist/chunks/{repository-cache-4rdf7p1z.js → rpc-ngfv116b.js} +6 -6
- package/dist/chunks/{repository-cache-bwewbjz4.js → rpc-npb0m00r.js} +13 -13
- package/dist/chunks/{repository-cache-p015t6z3.js → rpc-p015t6z3.js} +2 -2
- package/dist/chunks/{repository-cache-h4ydejha.js → rpc-p2p83sy3.js} +13 -13
- package/dist/chunks/{repository-cache-p96sj727.js → rpc-pjvdrmby.js} +6 -6
- package/dist/chunks/{repository-cache-pknna89w.js → rpc-pknna89w.js} +1 -1
- package/dist/chunks/{repository-cache-zc9mtzb2.js → rpc-pms2m0st.js} +5 -5
- package/dist/chunks/{repository-cache-9tvpxs1q.js → rpc-pn41xxg3.js} +4 -4
- package/dist/chunks/{repository-cache-pnwsrq7c.js → rpc-pnwsrq7c.js} +3 -3
- package/dist/chunks/{repository-cache-bt05tr8e.js → rpc-pv5ds392.js} +5 -5
- package/dist/chunks/{repository-cache-fcq8h12c.js → rpc-pxrx0r0g.js} +32 -32
- package/dist/chunks/{repository-cache-0av67dp6.js → rpc-q08g37zc.js} +4 -4
- package/dist/chunks/{repository-cache-207ajt2h.js → rpc-q17z9dx8.js} +5 -5
- package/dist/chunks/{repository-cache-bb4x0tjg.js → rpc-q2mw85a4.js} +196 -196
- package/dist/chunks/{repository-cache-sjt6c43d.js → rpc-qedxx4df.js} +11 -11
- package/dist/chunks/{repository-cache-8t2j541k.js → rpc-qj76h0fc.js} +16 -16
- package/dist/chunks/{repository-cache-qkqjbc48.js → rpc-qkqjbc48.js} +1 -1
- package/dist/chunks/{repository-cache-xwmtk72n.js → rpc-qmj7wcqf.js} +8 -8
- package/dist/chunks/{repository-cache-qp7r0hxv.js → rpc-qp7r0hxv.js} +1 -1
- package/dist/chunks/{repository-cache-ts7mkfs9.js → rpc-qsee9sfb.js} +3 -3
- package/dist/chunks/{repository-cache-jgy2dcvd.js → rpc-qx5f0d2q.js} +46 -26
- package/dist/chunks/{repository-cache-j49x6kf4.js → rpc-qz087kyw.js} +8 -8
- package/dist/chunks/{repository-cache-rwct159c.js → rpc-r0rv0wyp.js} +11 -11
- package/dist/chunks/{repository-cache-r0yr0wbs.js → rpc-r0yr0wbs.js} +1 -1
- package/dist/chunks/{repository-cache-kk93czde.js → rpc-r3fd02n6.js} +16 -16
- package/dist/chunks/{repository-cache-b58rnyhw.js → rpc-r427bdzm.js} +22 -22
- package/dist/chunks/{repository-cache-r542h3bh.js → rpc-r542h3bh.js} +1 -1
- package/dist/chunks/{repository-cache-g2zgwj7s.js → rpc-r7pyyrd2.js} +19 -19
- package/dist/chunks/{repository-cache-rb9dy4dg.js → rpc-rb9dy4dg.js} +1 -1
- package/dist/chunks/{repository-cache-3w0ebqzc.js → rpc-rj5anvxz.js} +12 -12
- package/dist/chunks/{repository-cache-agrjqxtd.js → rpc-rmq8nx06.js} +35 -35
- package/dist/chunks/{repository-cache-m6ved7xn.js → rpc-rrxyghcz.js} +22 -22
- package/dist/chunks/{repository-cache-rt5dr6hb.js → rpc-rt5dr6hb.js} +1 -1
- package/dist/chunks/{repository-cache-sa01r6br.js → rpc-s5vpcb73.js} +7 -7
- package/dist/chunks/{repository-cache-f1h45990.js → rpc-s7hqqt4z.js} +40 -40
- package/dist/chunks/{repository-cache-sa3fpqfw.js → rpc-sa3fpqfw.js} +2 -2
- package/dist/chunks/{repository-cache-bxpjy74r.js → rpc-sdtp6k0d.js} +18 -18
- package/dist/chunks/{repository-cache-0kze6sgm.js → rpc-sedz7jsj.js} +29 -29
- package/dist/chunks/{repository-cache-havzekw2.js → rpc-sj12gjca.js} +4 -4
- package/dist/chunks/{repository-cache-sqjzf8x2.js → rpc-sqjzf8x2.js} +1 -1
- package/dist/chunks/{repository-cache-svcy3p9a.js → rpc-svcy3p9a.js} +1 -1
- package/dist/chunks/{repository-cache-3t73xeyv.js → rpc-t5jqs5j7.js} +2 -2
- package/dist/chunks/{repository-cache-dh0xafzq.js → rpc-t7gq5xjm.js} +35 -35
- package/dist/chunks/{repository-cache-tczq8hjw.js → rpc-tczq8hjw.js} +1 -1
- package/dist/chunks/{repository-cache-tg1vr1qt.js → rpc-tg1vr1qt.js} +1 -1
- package/dist/chunks/{repository-cache-76q453m6.js → rpc-th47pjd4.js} +25 -25
- package/dist/chunks/{repository-cache-pzbtwyx3.js → rpc-tjxwgd7m.js} +27 -27
- package/dist/chunks/{repository-cache-3hq0yj39.js → rpc-tv0gzqtp.js} +2 -2
- package/dist/chunks/{repository-cache-gj88ka9e.js → rpc-twcvacat.js} +14 -14
- package/dist/chunks/{repository-cache-twssxy5n.js → rpc-twssxy5n.js} +2 -2
- package/dist/chunks/{repository-cache-rp5k6d8n.js → rpc-twsxhs3f.js} +16 -16
- package/dist/chunks/{repository-cache-6xz7nqt8.js → rpc-twvtkg4y.js} +12 -12
- package/dist/chunks/{repository-cache-c1tffms3.js → rpc-txpcm6be.js} +50 -50
- package/dist/chunks/{repository-cache-v2r1d0zg.js → rpc-v2r1d0zg.js} +1 -1
- package/dist/chunks/{repository-cache-jzesebws.js → rpc-v5xd2mpf.js} +17 -17
- package/dist/chunks/{repository-cache-f4zya5pk.js → rpc-v83fq82d.js} +40 -40
- package/dist/chunks/{repository-cache-dys1grgm.js → rpc-v92b8r51.js} +14 -14
- package/dist/chunks/{repository-cache-4c9y6q6s.js → rpc-vb2mcp36.js} +9 -9
- package/dist/chunks/{repository-cache-veqvce7d.js → rpc-veqvce7d.js} +1 -1
- package/dist/chunks/{repository-cache-a16f13fh.js → rpc-vnn3phs4.js} +25 -25
- package/dist/chunks/{repository-cache-v7wb1cp1.js → rpc-vsne3b7e.js} +18 -18
- package/dist/chunks/{repository-cache-0k1p4s69.js → rpc-vtjnzknn.js} +7 -7
- package/dist/chunks/{repository-cache-5vz29j2k.js → rpc-w1hkhdtf.js} +22 -22
- package/dist/chunks/{repository-cache-w3wsvvr9.js → rpc-w3wsvvr9.js} +1 -1
- package/dist/chunks/{repository-cache-w8qtt4th.js → rpc-w8qtt4th.js} +1 -1
- package/dist/chunks/{repository-cache-c9xzbdd8.js → rpc-w8t2j0ev.js} +5 -5
- package/dist/chunks/{repository-cache-wakvkjy4.js → rpc-wakvkjy4.js} +1 -1
- package/dist/chunks/{repository-cache-wd87259q.js → rpc-wd87259q.js} +1 -1
- package/dist/chunks/{repository-cache-rz5tx8yt.js → rpc-whngmfrz.js} +21 -21
- package/dist/chunks/{repository-cache-mszzfg2j.js → rpc-whz9p1gq.js} +23 -23
- package/dist/chunks/{repository-cache-kqjqdw98.js → rpc-x356pzge.js} +48 -48
- package/dist/chunks/{repository-cache-k6c5bswj.js → rpc-x60fdxnj.js} +16 -16
- package/dist/chunks/{repository-cache-11hfp36g.js → rpc-x8nvjgx0.js} +4 -4
- package/dist/chunks/{repository-cache-txxjr4gv.js → rpc-xa9xwx2k.js} +31 -30
- package/dist/chunks/{repository-cache-nx0czgsy.js → rpc-xnf74d9j.js} +3 -3
- package/dist/chunks/{repository-cache-s3jtzn6y.js → rpc-xnnf989s.js} +30 -30
- package/dist/chunks/{repository-cache-w76xjer3.js → rpc-xpve62cf.js} +4 -4
- package/dist/chunks/{repository-cache-cbyw8mhh.js → rpc-xqhxnj8s.js} +13 -13
- package/dist/chunks/{repository-cache-83fkeet7.js → rpc-xxpmek4t.js} +9 -9
- package/dist/chunks/{repository-cache-twtxmczq.js → rpc-y3dxaa8f.js} +12 -12
- package/dist/chunks/{repository-cache-yara3q77.js → rpc-yara3q77.js} +2 -2
- package/dist/chunks/{repository-cache-yb20nhc3.js → rpc-yb20nhc3.js} +1 -1
- package/dist/chunks/{repository-cache-jwhwbamd.js → rpc-yx939w10.js} +21 -21
- package/dist/chunks/{repository-cache-z0bkrqjs.js → rpc-z0bkrqjs.js} +1 -1
- package/dist/chunks/{repository-cache-z38nccrw.js → rpc-z38nccrw.js} +1 -1
- package/dist/chunks/{repository-cache-evnead99.js → rpc-zbg53hjx.js} +9 -9
- package/dist/chunks/{repository-cache-46mxd6jt.js → rpc-zbmx9syz.js} +33 -33
- package/dist/chunks/{repository-cache-zgkm4kzm.js → rpc-zgkm4kzm.js} +3 -3
- package/dist/chunks/{repository-cache-jpj38ht1.js → rpc-zr1w76qe.js} +4 -4
- package/dist/chunks/{repository-cache-ajv3ghch.js → rpc-ztfp96c4.js} +32 -21
- package/dist/chunks/{repository-cache-4yq3azdc.js → rpc-zvgac7b0.js} +24 -24
- package/dist/chunks/{repository-cache-0mv4v5wj.js → rpc-zzqwmb9j.js} +26 -26
- package/dist/codemode/catalog.js +1 -1
- package/dist/codemode/instructions.js +9 -9
- 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 +1 -1
- package/dist/config/markdown.js +1 -1
- package/dist/config/normalize.js +107 -107
- package/dist/config/plugin/agent.js +123 -123
- package/dist/config/plugin/command.js +221 -221
- 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 +123 -123
- package/dist/config/plugin/mcp.js +132 -132
- 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 +123 -123
- package/dist/config/plugin/skill-file.js +138 -138
- package/dist/config/plugin/skill-scan.js +3 -3
- 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 +122 -122
- 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 +14 -14
- package/dist/database/drizzle/effect-sqlite/index.js +14 -14
- package/dist/database/drizzle/effect-sqlite/session.js +11 -11
- package/dist/database/drizzle/index.js +15 -15
- 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 +16 -16
- 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 +95 -95
- package/dist/database/v1-migration.js +1 -1
- package/dist/effect/app-node-builder.js +382 -382
- 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 +103 -103
- 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 +6 -6
- 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 +88 -88
- package/dist/formatter/builtins.js +2 -2
- 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 +373 -373
- package/dist/instruction-discovery.js +88 -88
- 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 +93 -93
- 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 +370 -370
- package/dist/location.js +93 -93
- package/dist/managed-policy.js +9 -9
- package/dist/mcp/client.js +99 -99
- package/dist/mcp/index.js +113 -113
- package/dist/mcp/instructions.js +168 -168
- 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 +108 -108
- package/dist/models-dev/v1.js +1 -1
- package/dist/models-dev.js +116 -116
- 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 +82 -82
- package/dist/plugin/command.js +110 -110
- package/dist/plugin/hooks.js +5 -5
- package/dist/plugin/host.js +225 -225
- package/dist/plugin/identity.js +5 -5
- package/dist/plugin/instance.js +1 -1
- package/dist/plugin/internal.js +343 -343
- package/dist/plugin/mcp-codemode-defaults.js +3 -3
- package/dist/plugin/models-dev.js +105 -105
- package/dist/plugin/module.js +121 -121
- 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 +119 -119
- 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/cohere.js +2 -2
- 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/factory.js +1 -1
- 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-legacy.js +108 -108
- package/dist/plugin/provider/opencode.js +127 -127
- package/dist/plugin/provider/openrouter.js +99 -99
- package/dist/plugin/provider/perplexity.js +2 -2
- 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/vercel.js +98 -98
- 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 +178 -178
- package/dist/plugin/sdk.js +78 -78
- 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 +360 -360
- package/dist/plugin/tool-input-repair.js +4 -4
- package/dist/plugin/update.js +2 -2
- 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 +6 -6
- package/dist/plugin/websearch/parallel.js +8 -8
- package/dist/plugin/websearch/tavily.js +4 -4
- package/dist/plugin/websearch/tinyfish.js +8 -8
- package/dist/plugin.js +232 -230
- package/dist/project/icon.js +5 -5
- package/dist/project/schema.js +2 -2
- package/dist/project/sql.js +4 -4
- package/dist/project.js +92 -92
- package/dist/provider.js +107 -107
- 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 +96 -96
- package/dist/reference.js +98 -98
- package/dist/repository-cache.js +88 -88
- package/dist/repository.js +1 -1
- package/dist/ripgrep/binary.js +2 -2
- package/dist/ripgrep.js +103 -103
- 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 +188 -188
- 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 +231 -231
- 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 +85 -85
- 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 +156 -156
- package/dist/session/projector.js +134 -134
- 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 +3 -3
- package/dist/session/runner/step.js +152 -152
- 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 +4 -4
- package/dist/session/subagent-completion.js +1 -1
- package/dist/session/subagent-job.js +219 -219
- package/dist/session/system-prompt.js +3 -3
- package/dist/session/title.js +190 -190
- package/dist/session/to-session-error.js +140 -140
- package/dist/session/transfer.js +227 -227
- package/dist/session/usage.js +1 -1
- package/dist/session.js +225 -225
- package/dist/shell/parse.js +8 -8
- 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 +148 -148
- 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 +165 -165
- 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 +160 -160
- package/dist/tool/plugin/mcp-resource.js +154 -154
- package/dist/tool/plugin/opencode.js +153 -153
- package/dist/tool/plugin/patch.js +156 -156
- package/dist/tool/plugin/question.js +138 -138
- package/dist/tool/plugin/read.js +161 -161
- package/dist/tool/plugin/shell.js +224 -224
- package/dist/tool/plugin/skill.js +147 -147
- package/dist/tool/plugin/subagent.js +224 -224
- package/dist/tool/plugin/todo.js +145 -145
- package/dist/tool/plugin/webfetch.js +149 -149
- package/dist/tool/plugin/websearch.js +147 -147
- package/dist/tool/plugin/write.js +158 -158
- package/dist/tool/read-filesystem.js +110 -110
- package/dist/tool/runtime.js +1 -1
- package/dist/tool-output.js +7 -7
- package/dist/tool.js +14 -14
- package/dist/types/plugin/module.d.ts +10 -0
- package/dist/types/plugin/service.d.ts +12 -0
- package/dist/types/plugin.d.ts +1 -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 +3 -3
- 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 +1 -1
- package/dist/v1/config/plugin.js +3 -3
- package/dist/v1/config/provider-options.js +1 -1
- package/dist/v1/config/provider.js +2 -2
- package/dist/variant.js +101 -101
- package/dist/vcs/patch.js +1 -1
- package/dist/vcs.js +97 -97
- package/dist/voice.js +94 -94
- package/dist/websearch.js +90 -90
- package/dist/wellknown/plugin.js +80 -80
- 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 +97 -97
- package/dist/worktree.js +108 -108
- package/package.json +8 -8
- package/dist/chunks/repository-cache-12h23m8g.js +0 -517
- package/dist/chunks/repository-cache-2a2m1jyz.js +0 -257
- package/dist/chunks/repository-cache-xx32eqvj.js +0 -26
- package/dist/chunks/repository-cache-z355x5yr.js +0 -18
- /package/dist/chunks/{repository-cache-0qkdqm5v.js → rpc-0qkdqm5v.js} +0 -0
- /package/dist/chunks/{repository-cache-0zkw76rk.js → rpc-0zkw76rk.js} +0 -0
- /package/dist/chunks/{repository-cache-17cy0kzp.js → rpc-17cy0kzp.js} +0 -0
- /package/dist/chunks/{repository-cache-1cnp2v09.js → rpc-1cnp2v09.js} +0 -0
- /package/dist/chunks/{repository-cache-1jakw16s.js → rpc-1jakw16s.js} +0 -0
- /package/dist/chunks/{repository-cache-24dcb14g.js → rpc-24dcb14g.js} +0 -0
- /package/dist/chunks/{repository-cache-2710q6r3.js → rpc-2710q6r3.js} +0 -0
- /package/dist/chunks/{repository-cache-2bv980vf.js → rpc-2bv980vf.js} +0 -0
- /package/dist/chunks/{repository-cache-2c3vjs8z.js → rpc-2c3vjs8z.js} +0 -0
- /package/dist/chunks/{repository-cache-359p4xyc.js → rpc-359p4xyc.js} +0 -0
- /package/dist/chunks/{repository-cache-3asan66x.js → rpc-3asan66x.js} +0 -0
- /package/dist/chunks/{repository-cache-3v8g72cx.js → rpc-3v8g72cx.js} +0 -0
- /package/dist/chunks/{repository-cache-3wcehsnq.js → rpc-3wcehsnq.js} +0 -0
- /package/dist/chunks/{repository-cache-43n2bw4t.js → rpc-43n2bw4t.js} +0 -0
- /package/dist/chunks/{repository-cache-4knz6hnm.js → rpc-4knz6hnm.js} +0 -0
- /package/dist/chunks/{repository-cache-4m86bj6y.js → rpc-4m86bj6y.js} +0 -0
- /package/dist/chunks/{repository-cache-4vcrnpx2.js → rpc-4vcrnpx2.js} +0 -0
- /package/dist/chunks/{repository-cache-4y7fprxs.js → rpc-4y7fprxs.js} +0 -0
- /package/dist/chunks/{repository-cache-53557ph1.js → rpc-53557ph1.js} +0 -0
- /package/dist/chunks/{repository-cache-550bvhaj.js → rpc-550bvhaj.js} +0 -0
- /package/dist/chunks/{repository-cache-5w3e23ze.js → rpc-5w3e23ze.js} +0 -0
- /package/dist/chunks/{repository-cache-6prwharc.js → rpc-6prwharc.js} +0 -0
- /package/dist/chunks/{repository-cache-6q2bdcd1.js → rpc-6q2bdcd1.js} +0 -0
- /package/dist/chunks/{repository-cache-7akdwqpd.js → rpc-7akdwqpd.js} +0 -0
- /package/dist/chunks/{repository-cache-7m9af43g.js → rpc-7m9af43g.js} +0 -0
- /package/dist/chunks/{repository-cache-822emrt2.js → rpc-822emrt2.js} +0 -0
- /package/dist/chunks/{repository-cache-84wd9syh.js → rpc-84wd9syh.js} +0 -0
- /package/dist/chunks/{repository-cache-88xbtdfr.js → rpc-88xbtdfr.js} +0 -0
- /package/dist/chunks/{repository-cache-8n3pysct.js → rpc-8n3pysct.js} +0 -0
- /package/dist/chunks/{repository-cache-8wj87zfr.js → rpc-8wj87zfr.js} +0 -0
- /package/dist/chunks/{repository-cache-9a4afbnw.js → rpc-9a4afbnw.js} +0 -0
- /package/dist/chunks/{repository-cache-9rqn6x4v.js → rpc-9rqn6x4v.js} +0 -0
- /package/dist/chunks/{repository-cache-a058387c.js → rpc-a058387c.js} +0 -0
- /package/dist/chunks/{repository-cache-a6k6eb26.js → rpc-a6k6eb26.js} +0 -0
- /package/dist/chunks/{repository-cache-af5trqkr.js → rpc-af5trqkr.js} +0 -0
- /package/dist/chunks/{repository-cache-afrmfg78.js → rpc-afrmfg78.js} +0 -0
- /package/dist/chunks/{repository-cache-aqzs7mqg.js → rpc-aqzs7mqg.js} +0 -0
- /package/dist/chunks/{repository-cache-atq7p7m5.js → rpc-atq7p7m5.js} +0 -0
- /package/dist/chunks/{repository-cache-beh6qq61.js → rpc-beh6qq61.js} +0 -0
- /package/dist/chunks/{repository-cache-bkyjaxrp.js → rpc-bkyjaxrp.js} +0 -0
- /package/dist/chunks/{repository-cache-bmr6ed5q.js → rpc-bmr6ed5q.js} +0 -0
- /package/dist/chunks/{repository-cache-cf4snx6d.js → rpc-cf4snx6d.js} +0 -0
- /package/dist/chunks/{repository-cache-cqv5kn06.js → rpc-cqv5kn06.js} +0 -0
- /package/dist/chunks/{repository-cache-cvy3z8tj.js → rpc-cvy3z8tj.js} +0 -0
- /package/dist/chunks/{repository-cache-d9fn303g.js → rpc-d9fn303g.js} +0 -0
- /package/dist/chunks/{repository-cache-d9jj8t3e.js → rpc-d9jj8t3e.js} +0 -0
- /package/dist/chunks/{repository-cache-dajrwvna.js → rpc-dajrwvna.js} +0 -0
- /package/dist/chunks/{repository-cache-dap0rakb.js → rpc-dap0rakb.js} +0 -0
- /package/dist/chunks/{repository-cache-df08tz66.js → rpc-df08tz66.js} +0 -0
- /package/dist/chunks/{repository-cache-dy18nga0.js → rpc-dy18nga0.js} +0 -0
- /package/dist/chunks/{repository-cache-e5kj55wp.js → rpc-e5kj55wp.js} +0 -0
- /package/dist/chunks/{repository-cache-e73j6tqm.js → rpc-e73j6tqm.js} +0 -0
- /package/dist/chunks/{repository-cache-ec1grn59.js → rpc-ec1grn59.js} +0 -0
- /package/dist/chunks/{repository-cache-eh3zwz77.js → rpc-eh3zwz77.js} +0 -0
- /package/dist/chunks/{repository-cache-emrn6kk6.js → rpc-emrn6kk6.js} +0 -0
- /package/dist/chunks/{repository-cache-f0mxakyp.js → rpc-f0mxakyp.js} +0 -0
- /package/dist/chunks/{repository-cache-f6n9ztr4.js → rpc-f6n9ztr4.js} +0 -0
- /package/dist/chunks/{repository-cache-faypxj3z.js → rpc-faypxj3z.js} +0 -0
- /package/dist/chunks/{repository-cache-fd410y7t.js → rpc-fd410y7t.js} +0 -0
- /package/dist/chunks/{repository-cache-fkpq3x5p.js → rpc-fkpq3x5p.js} +0 -0
- /package/dist/chunks/{repository-cache-g4wezp1m.js → rpc-g4wezp1m.js} +0 -0
- /package/dist/chunks/{repository-cache-g86h250q.js → rpc-g86h250q.js} +0 -0
- /package/dist/chunks/{repository-cache-gebd4c9n.js → rpc-gebd4c9n.js} +0 -0
- /package/dist/chunks/{repository-cache-gftt206x.js → rpc-gftt206x.js} +0 -0
- /package/dist/chunks/{repository-cache-hcxmzztb.js → rpc-hcxmzztb.js} +0 -0
- /package/dist/chunks/{repository-cache-hk9envan.js → rpc-hk9envan.js} +0 -0
- /package/dist/chunks/{repository-cache-j2ntwpah.js → rpc-j2ntwpah.js} +0 -0
- /package/dist/chunks/{repository-cache-j5zkgpj8.js → rpc-j5zkgpj8.js} +0 -0
- /package/dist/chunks/{repository-cache-jjkms2e6.js → rpc-jjkms2e6.js} +0 -0
- /package/dist/chunks/{repository-cache-jr7sbwjy.js → rpc-jr7sbwjy.js} +0 -0
- /package/dist/chunks/{repository-cache-jwfs4k6c.js → rpc-jwfs4k6c.js} +0 -0
- /package/dist/chunks/{repository-cache-jwr30sdr.js → rpc-jwr30sdr.js} +0 -0
- /package/dist/chunks/{repository-cache-jze0r7bz.js → rpc-jze0r7bz.js} +0 -0
- /package/dist/chunks/{repository-cache-jzg6c2d5.js → rpc-jzg6c2d5.js} +0 -0
- /package/dist/chunks/{repository-cache-m18g726c.js → rpc-m18g726c.js} +0 -0
- /package/dist/chunks/{repository-cache-mp448xyj.js → rpc-mp448xyj.js} +0 -0
- /package/dist/chunks/{repository-cache-msx8hqn2.js → rpc-msx8hqn2.js} +0 -0
- /package/dist/chunks/{repository-cache-n05xt0ee.js → rpc-n05xt0ee.js} +0 -0
- /package/dist/chunks/{repository-cache-n3j8tn72.js → rpc-n3j8tn72.js} +0 -0
- /package/dist/chunks/{repository-cache-ncqqe42p.js → rpc-ncqqe42p.js} +0 -0
- /package/dist/chunks/{repository-cache-njntx4h6.js → rpc-njntx4h6.js} +0 -0
- /package/dist/chunks/{repository-cache-p71gwv9c.js → rpc-p71gwv9c.js} +0 -0
- /package/dist/chunks/{repository-cache-q3sfg36h.js → rpc-q3sfg36h.js} +0 -0
- /package/dist/chunks/{repository-cache-q74kybfr.js → rpc-q74kybfr.js} +0 -0
- /package/dist/chunks/{repository-cache-qaymkmh1.js → rpc-qaymkmh1.js} +0 -0
- /package/dist/chunks/{repository-cache-qb87gjwd.js → rpc-qb87gjwd.js} +0 -0
- /package/dist/chunks/{repository-cache-qfa1cgps.js → rpc-qfa1cgps.js} +0 -0
- /package/dist/chunks/{repository-cache-qg3g05ea.js → rpc-qg3g05ea.js} +0 -0
- /package/dist/chunks/{repository-cache-qrg20bc0.js → rpc-qrg20bc0.js} +0 -0
- /package/dist/chunks/{repository-cache-rcb2kzg1.js → rpc-rcb2kzg1.js} +0 -0
- /package/dist/chunks/{repository-cache-sdp7kfr6.js → rpc-sdp7kfr6.js} +0 -0
- /package/dist/chunks/{repository-cache-ssg3fenm.js → rpc-ssg3fenm.js} +0 -0
- /package/dist/chunks/{repository-cache-ve7vex1e.js → rpc-ve7vex1e.js} +0 -0
- /package/dist/chunks/{repository-cache-w803qqfp.js → rpc-w803qqfp.js} +0 -0
- /package/dist/chunks/{repository-cache-wc3fc9cn.js → rpc-wc3fc9cn.js} +0 -0
- /package/dist/chunks/{repository-cache-wer8tq1h.js → rpc-wer8tq1h.js} +0 -0
- /package/dist/chunks/{repository-cache-wtztk69x.js → rpc-wtztk69x.js} +0 -0
- /package/dist/chunks/{repository-cache-x0ckcb58.js → rpc-x0ckcb58.js} +0 -0
- /package/dist/chunks/{repository-cache-x61499pn.js → rpc-x61499pn.js} +0 -0
- /package/dist/chunks/{repository-cache-y44na4kk.js → rpc-y44na4kk.js} +0 -0
- /package/dist/chunks/{repository-cache-y8f7s663.js → rpc-y8f7s663.js} +0 -0
- /package/dist/chunks/{repository-cache-ygaqb7jw.js → rpc-ygaqb7jw.js} +0 -0
- /package/dist/chunks/{repository-cache-ym463w8f.js → rpc-ym463w8f.js} +0 -0
- /package/dist/chunks/{repository-cache-z5v4ffb3.js → rpc-z5v4ffb3.js} +0 -0
- /package/dist/chunks/{repository-cache-z9919s4g.js → rpc-z9919s4g.js} +0 -0
|
@@ -1,27 +1,27 @@
|
|
|
1
1
|
import {
|
|
2
2
|
Service87,
|
|
3
3
|
node91
|
|
4
|
-
} from "./
|
|
4
|
+
} from "./rpc-f1jvjr49.js";
|
|
5
5
|
import {
|
|
6
6
|
makeUnsafe2
|
|
7
|
-
} from "./
|
|
7
|
+
} from "./rpc-x8nvjgx0.js";
|
|
8
8
|
import {
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
} from "./
|
|
9
|
+
Service86,
|
|
10
|
+
node90
|
|
11
|
+
} from "./rpc-1fev81q9.js";
|
|
12
12
|
import {
|
|
13
13
|
SessionEvent2
|
|
14
|
-
} from "./
|
|
14
|
+
} from "./rpc-ec1grn59.js";
|
|
15
15
|
import {
|
|
16
16
|
SessionMessageTable2,
|
|
17
17
|
SessionInboxTable2
|
|
18
|
-
} from "./
|
|
18
|
+
} from "./rpc-gg8p9cgs.js";
|
|
19
19
|
import {
|
|
20
20
|
SessionMessage2
|
|
21
|
-
} from "./
|
|
21
|
+
} from "./rpc-gftt206x.js";
|
|
22
22
|
import {
|
|
23
23
|
UserPayload3
|
|
24
|
-
} from "./
|
|
24
|
+
} from "./rpc-fg9p65nk.js";
|
|
25
25
|
import {
|
|
26
26
|
hydrateInbox2,
|
|
27
27
|
keepInboxRefs2,
|
|
@@ -29,13 +29,13 @@ import {
|
|
|
29
29
|
externalizePayload2,
|
|
30
30
|
recordRefs2,
|
|
31
31
|
releaseMessage2
|
|
32
|
-
} from "./
|
|
32
|
+
} from "./rpc-pjvdrmby.js";
|
|
33
33
|
import {
|
|
34
34
|
decodeMessageRows2
|
|
35
|
-
} from "./
|
|
35
|
+
} from "./rpc-crhn495q.js";
|
|
36
36
|
import {
|
|
37
37
|
__export
|
|
38
|
-
} from "./
|
|
38
|
+
} from "./rpc-9rqn6x4v.js";
|
|
39
39
|
|
|
40
40
|
// src/session/inbox.ts
|
|
41
41
|
var exports_inbox = {};
|
|
@@ -43,7 +43,7 @@ __export(exports_inbox, {
|
|
|
43
43
|
Compaction: () => Compaction2,
|
|
44
44
|
CompactionPayload: () => CompactionPayload2,
|
|
45
45
|
Delivery: () => Delivery2,
|
|
46
|
-
Info: () =>
|
|
46
|
+
Info: () => Info8,
|
|
47
47
|
Item: () => Item2,
|
|
48
48
|
LifecycleConflict: () => LifecycleConflict2,
|
|
49
49
|
MediaInfo: () => MediaInfo2,
|
|
@@ -51,7 +51,7 @@ __export(exports_inbox, {
|
|
|
51
51
|
MediaUserPayload: () => MediaUserPayload2,
|
|
52
52
|
Move: () => Move2,
|
|
53
53
|
MovePayload: () => MovePayload2,
|
|
54
|
-
Service: () =>
|
|
54
|
+
Service: () => Service42,
|
|
55
55
|
SessionInbox: () => exports_inbox,
|
|
56
56
|
Synthetic: () => Synthetic2,
|
|
57
57
|
SyntheticPayload: () => SyntheticPayload2,
|
|
@@ -59,13 +59,13 @@ __export(exports_inbox, {
|
|
|
59
59
|
UserPayload: () => UserPayload2,
|
|
60
60
|
find: () => find2,
|
|
61
61
|
has: () => has2,
|
|
62
|
-
layer: () =>
|
|
62
|
+
layer: () => layer22,
|
|
63
63
|
list: () => list3,
|
|
64
64
|
listWithRefs: () => listWithRefs2,
|
|
65
|
-
make: () =>
|
|
65
|
+
make: () => make18,
|
|
66
66
|
moveIDs: () => moveIDs2,
|
|
67
67
|
nextPromotable: () => nextPromotable2,
|
|
68
|
-
node: () =>
|
|
68
|
+
node: () => node44,
|
|
69
69
|
projectAdmitted: () => projectAdmitted2,
|
|
70
70
|
projectCancelled: () => projectCancelled2,
|
|
71
71
|
projectDelivered: () => projectDelivered2,
|
|
@@ -80,7 +80,7 @@ import {
|
|
|
80
80
|
Compaction as Compaction2,
|
|
81
81
|
CompactionPayload as CompactionPayload2,
|
|
82
82
|
Delivery as Delivery2,
|
|
83
|
-
Info as
|
|
83
|
+
Info as Info8,
|
|
84
84
|
Item as Item2,
|
|
85
85
|
MediaInfo as MediaInfo2,
|
|
86
86
|
MediaUser as MediaUser2,
|
|
@@ -184,12 +184,12 @@ var promotedFromMessage = Effect.fn("SessionInbox.promotedFromMessage")(function
|
|
|
184
184
|
});
|
|
185
185
|
});
|
|
186
186
|
|
|
187
|
-
class
|
|
187
|
+
class Service42 extends Context.Service()("@opencode/SessionInbox") {
|
|
188
188
|
}
|
|
189
|
-
var
|
|
189
|
+
var make18 = Effect.fn("SessionInbox.make")(function* () {
|
|
190
190
|
const database = yield* Service87;
|
|
191
191
|
const db = database.db;
|
|
192
|
-
const bus = yield*
|
|
192
|
+
const bus = yield* Service86;
|
|
193
193
|
const reconcile = Effect.fn("SessionInbox.reconcile")(function* (request) {
|
|
194
194
|
const existing = (yield* find2(db, request.id)) ?? (yield* promotedFromMessage(db, request.sessionID, request.id, request.delivery));
|
|
195
195
|
if (existing === undefined)
|
|
@@ -206,7 +206,7 @@ var make19 = Effect.fn("SessionInbox.make")(function* () {
|
|
|
206
206
|
inboxID: request.id,
|
|
207
207
|
sessionID: request.sessionID,
|
|
208
208
|
item: request.item
|
|
209
|
-
}).pipe(Effect.map((event) =>
|
|
209
|
+
}).pipe(Effect.map((event) => Info8.make({
|
|
210
210
|
id: request.id,
|
|
211
211
|
sessionID: request.sessionID,
|
|
212
212
|
time: { created: DateTime.makeUnsafe(event.created) },
|
|
@@ -260,8 +260,8 @@ var make19 = Effect.fn("SessionInbox.make")(function* () {
|
|
|
260
260
|
queue
|
|
261
261
|
};
|
|
262
262
|
});
|
|
263
|
-
var
|
|
264
|
-
var
|
|
263
|
+
var layer22 = Layer.effect(Service42, make18());
|
|
264
|
+
var node44 = makeGlobalNode({ service: Service42, layer: layer22, deps: [node91, node90] });
|
|
265
265
|
var projectAdmitted2 = Effect.fn("SessionInbox.projectAdmitted")(function* (db, request) {
|
|
266
266
|
const message = yield* db.select({ id: SessionMessageTable2.id }).from(SessionMessageTable2).where(eq(SessionMessageTable2.id, request.id)).get().pipe(Effect.orDie);
|
|
267
267
|
if (message !== undefined)
|
|
@@ -385,4 +385,4 @@ var pendingSteers = (db, sessionID) => db.select().from(SessionInboxTable2).wher
|
|
|
385
385
|
return rows;
|
|
386
386
|
}));
|
|
387
387
|
|
|
388
|
-
export { Compaction2, CompactionPayload2, Delivery2,
|
|
388
|
+
export { Compaction2, CompactionPayload2, Delivery2, Info8, Item2, MediaInfo2, MediaUser2, MediaUserPayload2, Move2, MovePayload2, Synthetic2, SyntheticPayload2, User2, UserPayload2, serialized2, LifecycleConflict2, find2, Service42, make18, layer22, node44, projectAdmitted2, projectDelivered2, projectCancelled2, projectDeliveryChanged2, list3, listWithRefs2, moveIDs2, nextPromotable2, has2, promote2, exports_inbox };
|
|
@@ -1,29 +1,29 @@
|
|
|
1
1
|
import {
|
|
2
2
|
Service87,
|
|
3
3
|
node91
|
|
4
|
-
} from "./
|
|
4
|
+
} from "./rpc-f1jvjr49.js";
|
|
5
5
|
import {
|
|
6
6
|
KVTable2
|
|
7
|
-
} from "./
|
|
7
|
+
} from "./rpc-3hepkmqq.js";
|
|
8
8
|
import {
|
|
9
9
|
__export
|
|
10
|
-
} from "./
|
|
10
|
+
} from "./rpc-9rqn6x4v.js";
|
|
11
11
|
|
|
12
12
|
// src/kv.ts
|
|
13
13
|
var exports_kv = {};
|
|
14
14
|
__export(exports_kv, {
|
|
15
15
|
KV: () => exports_kv,
|
|
16
|
-
Service: () =>
|
|
17
|
-
node: () =>
|
|
16
|
+
Service: () => Service77,
|
|
17
|
+
node: () => node80
|
|
18
18
|
});
|
|
19
19
|
import { and, asc, eq, gt, gte, lt } from "drizzle-orm";
|
|
20
20
|
import { Context, Effect, Layer } from "effect";
|
|
21
21
|
import { makeGlobalNode } from "@opencode/util/effect/app-node";
|
|
22
|
-
class
|
|
22
|
+
class Service77 extends Context.Service()("@opencode/KV") {
|
|
23
23
|
}
|
|
24
|
-
var layer = Layer.effect(
|
|
24
|
+
var layer = Layer.effect(Service77, Effect.gen(function* () {
|
|
25
25
|
const db = (yield* Service87).db;
|
|
26
|
-
return
|
|
26
|
+
return Service77.of({
|
|
27
27
|
get: Effect.fn("KV.get")(function* (key) {
|
|
28
28
|
return (yield* db.select({ value: KVTable2.value }).from(KVTable2).where(eq(KVTable2.key, key)).get().pipe(Effect.orDie))?.value;
|
|
29
29
|
}),
|
|
@@ -51,6 +51,6 @@ function prefixEnd(prefix) {
|
|
|
51
51
|
return;
|
|
52
52
|
return `${points.slice(0, index).join("")}${String.fromCodePoint(points[index].codePointAt(0) + 1)}`;
|
|
53
53
|
}
|
|
54
|
-
var
|
|
54
|
+
var node80 = makeGlobalNode({ service: Service77, layer, deps: [node91] });
|
|
55
55
|
|
|
56
|
-
export {
|
|
56
|
+
export { Service77, node80, exports_kv };
|
|
@@ -1,33 +1,33 @@
|
|
|
1
1
|
import {
|
|
2
2
|
Service87
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./rpc-f1jvjr49.js";
|
|
4
4
|
import {
|
|
5
|
-
|
|
6
|
-
} from "./
|
|
5
|
+
Service86
|
|
6
|
+
} from "./rpc-1fev81q9.js";
|
|
7
7
|
import {
|
|
8
|
-
|
|
9
|
-
} from "./
|
|
8
|
+
Service40
|
|
9
|
+
} from "./rpc-hvvf9qw8.js";
|
|
10
10
|
import {
|
|
11
11
|
RelativePath2
|
|
12
|
-
} from "./
|
|
12
|
+
} from "./rpc-z5v4ffb3.js";
|
|
13
13
|
import {
|
|
14
|
-
|
|
15
|
-
} from "./
|
|
14
|
+
Service36
|
|
15
|
+
} from "./rpc-zbmx9syz.js";
|
|
16
16
|
import {
|
|
17
17
|
SessionEvent2
|
|
18
|
-
} from "./
|
|
18
|
+
} from "./rpc-ec1grn59.js";
|
|
19
19
|
import {
|
|
20
20
|
MessageNotFoundError2
|
|
21
|
-
} from "./
|
|
21
|
+
} from "./rpc-drerwy6v.js";
|
|
22
22
|
import {
|
|
23
23
|
SessionMessageTable2
|
|
24
|
-
} from "./
|
|
24
|
+
} from "./rpc-gg8p9cgs.js";
|
|
25
25
|
import {
|
|
26
26
|
decodeMessageRowSync2
|
|
27
|
-
} from "./
|
|
27
|
+
} from "./rpc-crhn495q.js";
|
|
28
28
|
import {
|
|
29
29
|
__export
|
|
30
|
-
} from "./
|
|
30
|
+
} from "./rpc-9rqn6x4v.js";
|
|
31
31
|
|
|
32
32
|
// src/session/revert.ts
|
|
33
33
|
var exports_revert = {};
|
|
@@ -40,11 +40,11 @@ __export(exports_revert, {
|
|
|
40
40
|
import { and, asc, eq, gt } from "drizzle-orm";
|
|
41
41
|
import { Effect } from "effect";
|
|
42
42
|
var stage2 = Effect.fn("SessionRevert.stage")(function* (input) {
|
|
43
|
-
const instances = yield*
|
|
43
|
+
const instances = yield* Service40;
|
|
44
44
|
const database = yield* Service87;
|
|
45
|
-
const bus = yield*
|
|
45
|
+
const bus = yield* Service86;
|
|
46
46
|
return yield* Effect.gen(function* () {
|
|
47
|
-
const snapshot = yield*
|
|
47
|
+
const snapshot = yield* Service36;
|
|
48
48
|
const original = input.session.revert?.snapshot ?? (yield* snapshot.capture());
|
|
49
49
|
const next = yield* plan(database.db, { sessionID: input.session.id, messageID: input.messageID });
|
|
50
50
|
const restore = new Map;
|
|
@@ -72,10 +72,10 @@ var stage2 = Effect.fn("SessionRevert.stage")(function* (input) {
|
|
|
72
72
|
}).pipe(instances.provide(input.session));
|
|
73
73
|
});
|
|
74
74
|
var clear2 = Effect.fn("SessionRevert.clear")(function* (session) {
|
|
75
|
-
const instances = yield*
|
|
76
|
-
const bus = yield*
|
|
75
|
+
const instances = yield* Service40;
|
|
76
|
+
const bus = yield* Service86;
|
|
77
77
|
yield* Effect.gen(function* () {
|
|
78
|
-
const snapshot = yield*
|
|
78
|
+
const snapshot = yield* Service36;
|
|
79
79
|
if (!session.revert)
|
|
80
80
|
return;
|
|
81
81
|
const original = session.revert.snapshot;
|
|
@@ -2,27 +2,27 @@ import {
|
|
|
2
2
|
NonNegativeInt2,
|
|
3
3
|
PositiveInt2,
|
|
4
4
|
RelativePath2
|
|
5
|
-
} from "./
|
|
5
|
+
} from "./rpc-z5v4ffb3.js";
|
|
6
6
|
import {
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
} from "./
|
|
7
|
+
Service81,
|
|
8
|
+
node84
|
|
9
|
+
} from "./rpc-kc9nrs0j.js";
|
|
10
10
|
import {
|
|
11
11
|
Content3
|
|
12
|
-
} from "./
|
|
12
|
+
} from "./rpc-85wke8th.js";
|
|
13
13
|
import {
|
|
14
14
|
detect2
|
|
15
|
-
} from "./
|
|
15
|
+
} from "./rpc-4pyp9zr9.js";
|
|
16
16
|
import {
|
|
17
17
|
__export
|
|
18
|
-
} from "./
|
|
18
|
+
} from "./rpc-9rqn6x4v.js";
|
|
19
19
|
|
|
20
20
|
// src/tool/read-filesystem.ts
|
|
21
21
|
var exports_read_filesystem = {};
|
|
22
22
|
__export(exports_read_filesystem, {
|
|
23
23
|
BinaryFileError: () => BinaryFileError2,
|
|
24
24
|
FileContent: () => FileContent2,
|
|
25
|
-
ListEntry: () =>
|
|
25
|
+
ListEntry: () => ListEntry2,
|
|
26
26
|
ListPage: () => ListPage2,
|
|
27
27
|
MAX_MEDIA_INGEST_BYTES: () => MAX_MEDIA_INGEST_BYTES2,
|
|
28
28
|
MAX_READ_BYTES: () => MAX_READ_BYTES2,
|
|
@@ -33,9 +33,9 @@ __export(exports_read_filesystem, {
|
|
|
33
33
|
PageInput: () => PageInput2,
|
|
34
34
|
PathKindError: () => PathKindError2,
|
|
35
35
|
ReadToolFileSystem: () => exports_read_filesystem,
|
|
36
|
-
Service: () =>
|
|
36
|
+
Service: () => Service31,
|
|
37
37
|
TextPage: () => TextPage2,
|
|
38
|
-
node: () =>
|
|
38
|
+
node: () => node34,
|
|
39
39
|
read: () => read2
|
|
40
40
|
});
|
|
41
41
|
import path from "path";
|
|
@@ -101,20 +101,20 @@ class TextPage2 extends Schema.Class("ReadTool.TextPage")({
|
|
|
101
101
|
next: Schema.optionalKey(PositiveInt2)
|
|
102
102
|
}) {
|
|
103
103
|
}
|
|
104
|
-
var
|
|
104
|
+
var ListEntry2 = Schema.Struct({
|
|
105
105
|
path: RelativePath2,
|
|
106
106
|
type: Schema.Literals(["file", "directory", "symlink"])
|
|
107
107
|
}).annotate({ identifier: "ReadTool.ListEntry" });
|
|
108
108
|
|
|
109
109
|
class ListPage2 extends Schema.Class("ReadTool.ListPage")({
|
|
110
110
|
type: Schema.Literal("list-page"),
|
|
111
|
-
entries: Schema.Array(
|
|
111
|
+
entries: Schema.Array(ListEntry2),
|
|
112
112
|
truncated: Schema.Boolean,
|
|
113
113
|
next: Schema.optionalKey(PositiveInt2)
|
|
114
114
|
}) {
|
|
115
115
|
}
|
|
116
116
|
|
|
117
|
-
class
|
|
117
|
+
class Service31 extends Context.Service()("@opencode/ReadToolFileSystem") {
|
|
118
118
|
}
|
|
119
119
|
var mimeType = (value) => lookup(value) || "application/octet-stream";
|
|
120
120
|
var read2 = Effect.fn("ReadTool.read")(function* (files, input, resource, page = {}) {
|
|
@@ -227,7 +227,7 @@ var list = (items, page) => {
|
|
|
227
227
|
const offset = page.offset || 1;
|
|
228
228
|
const limit = Math.min(page.limit || MAX_READ_LINES2, MAX_READ_LINES2);
|
|
229
229
|
const visible = items.flatMap((item) => item.type === "other" ? [] : [
|
|
230
|
-
|
|
230
|
+
ListEntry2.make({
|
|
231
231
|
path: RelativePath2.make(item.name + (item.type === "directory" ? path.sep : "")),
|
|
232
232
|
type: item.type
|
|
233
233
|
})
|
|
@@ -330,13 +330,13 @@ var nthNewline = (bytes, count) => {
|
|
|
330
330
|
return index + 1;
|
|
331
331
|
}
|
|
332
332
|
};
|
|
333
|
-
var layer = Layer.effect(
|
|
334
|
-
const environment = yield*
|
|
335
|
-
return
|
|
333
|
+
var layer = Layer.effect(Service31, Effect.gen(function* () {
|
|
334
|
+
const environment = yield* Service81;
|
|
335
|
+
return Service31.of({
|
|
336
336
|
list: environment.files.list,
|
|
337
337
|
read: (path2, resource, page) => read2(environment.files, path2, resource, page)
|
|
338
338
|
});
|
|
339
339
|
}));
|
|
340
|
-
var
|
|
340
|
+
var node34 = makeLocationNode({ service: Service31, layer, deps: [node84] });
|
|
341
341
|
|
|
342
|
-
export { MAX_READ_LINES2, MAX_READ_BYTES2, MAX_MEDIA_INGEST_BYTES2, MEDIA_MIMES2, BinaryFileError2, MediaIngestLimitError2, OffsetOutOfRangeError2, PathKindError2, PageInput2, FileContent2, TextPage2,
|
|
342
|
+
export { MAX_READ_LINES2, MAX_READ_BYTES2, MAX_MEDIA_INGEST_BYTES2, MEDIA_MIMES2, BinaryFileError2, MediaIngestLimitError2, OffsetOutOfRangeError2, PathKindError2, PageInput2, FileContent2, TextPage2, ListEntry2, ListPage2, Service31, read2, node34, exports_read_filesystem };
|
|
@@ -1,63 +1,63 @@
|
|
|
1
1
|
import {
|
|
2
2
|
NonNegativeInt2
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./rpc-z5v4ffb3.js";
|
|
4
4
|
import {
|
|
5
5
|
latest2,
|
|
6
|
-
|
|
7
|
-
} from "./
|
|
6
|
+
Service68
|
|
7
|
+
} from "./rpc-g5n7re5f.js";
|
|
8
8
|
import {
|
|
9
9
|
typeFollowing2
|
|
10
|
-
} from "./
|
|
10
|
+
} from "./rpc-svcy3p9a.js";
|
|
11
11
|
import {
|
|
12
|
-
|
|
13
|
-
} from "./
|
|
12
|
+
Service81
|
|
13
|
+
} from "./rpc-kc9nrs0j.js";
|
|
14
14
|
import {
|
|
15
|
-
|
|
16
|
-
} from "./
|
|
15
|
+
Service43
|
|
16
|
+
} from "./rpc-x60fdxnj.js";
|
|
17
17
|
import {
|
|
18
|
-
|
|
19
|
-
} from "./
|
|
18
|
+
Service64
|
|
19
|
+
} from "./rpc-x356pzge.js";
|
|
20
20
|
import {
|
|
21
|
-
|
|
21
|
+
Service63,
|
|
22
22
|
resolvePath2
|
|
23
|
-
} from "./
|
|
23
|
+
} from "./rpc-th47pjd4.js";
|
|
24
24
|
import {
|
|
25
25
|
output2,
|
|
26
26
|
notice2,
|
|
27
27
|
metadata2,
|
|
28
28
|
notification2
|
|
29
|
-
} from "./
|
|
29
|
+
} from "./rpc-k814nvkf.js";
|
|
30
30
|
import {
|
|
31
|
-
|
|
31
|
+
Service49,
|
|
32
32
|
name16
|
|
33
|
-
} from "./
|
|
33
|
+
} from "./rpc-7ktfwhzn.js";
|
|
34
34
|
import {
|
|
35
|
-
|
|
36
|
-
|
|
37
|
-
} from "./
|
|
35
|
+
NotFoundError6,
|
|
36
|
+
Service47
|
|
37
|
+
} from "./rpc-txpcm6be.js";
|
|
38
38
|
import {
|
|
39
|
-
|
|
40
|
-
} from "./
|
|
39
|
+
Service20
|
|
40
|
+
} from "./rpc-1w0v2jg6.js";
|
|
41
41
|
import {
|
|
42
|
-
|
|
43
|
-
} from "./
|
|
42
|
+
scan3
|
|
43
|
+
} from "./rpc-s5vpcb73.js";
|
|
44
44
|
import {
|
|
45
45
|
__export
|
|
46
|
-
} from "./
|
|
46
|
+
} from "./rpc-9rqn6x4v.js";
|
|
47
47
|
|
|
48
48
|
// src/tool/plugin/shell.ts
|
|
49
|
-
var
|
|
50
|
-
__export(
|
|
49
|
+
var exports_shell2 = {};
|
|
50
|
+
__export(exports_shell2, {
|
|
51
51
|
DEFAULT_TIMEOUT_MS: () => DEFAULT_TIMEOUT_MS2,
|
|
52
|
-
Input: () =>
|
|
53
|
-
Plugin: () =>
|
|
54
|
-
ShellTool: () =>
|
|
55
|
-
name: () =>
|
|
52
|
+
Input: () => Input6,
|
|
53
|
+
Plugin: () => Plugin41,
|
|
54
|
+
ShellTool: () => exports_shell2,
|
|
55
|
+
name: () => name6
|
|
56
56
|
});
|
|
57
57
|
import { ToolFailure } from "@opencode/ai/effect";
|
|
58
58
|
import { Deferred, Effect, Schema, Scope } from "effect";
|
|
59
59
|
import { shellParserWasm } from "#shell-parser-wasm";
|
|
60
|
-
var
|
|
60
|
+
var name6 = "shell";
|
|
61
61
|
var DEFAULT_TIMEOUT_MS2 = 2 * 60 * 1000;
|
|
62
62
|
var BACKGROUND_INSTRUCTION = "You will be notified automatically when the command finishes. The notification will include the command's output. Unless the user explicitly asks otherwise, DO NOT poll for completion, even if you need the final result to continue. Repeatedly sleeping and reading or searching the output file is polling, not useful work. You may read the current output if it lets you do useful work now, but do not repeatedly check it while waiting for the command to finish. Keep working on anything that does not depend on the result. If you have nothing else to do, end your response; you will be resumed automatically when the command finishes.";
|
|
63
63
|
var OS = process.platform === "darwin" ? "macOS" : process.platform === "win32" ? "Windows" : process.platform === "linux" ? "Linux" : process.platform;
|
|
@@ -71,7 +71,7 @@ var description = (shell) => [
|
|
|
71
71
|
"Commands accept an optional timeout, background commands have no timeout by default.",
|
|
72
72
|
"Background commands return immediately, and you will be notified when they complete."
|
|
73
73
|
].join(" ");
|
|
74
|
-
var
|
|
74
|
+
var Input6 = Schema.Struct({
|
|
75
75
|
command: Schema.String.annotate({ description: "Shell command string to execute" }),
|
|
76
76
|
workdir: Schema.optionalKey(Schema.String).annotate({
|
|
77
77
|
description: "Working directory to execute the command in. Defaults to the current working directory. When possible, avoid changing directories in the command and set the working directory here instead."
|
|
@@ -117,19 +117,19 @@ Output is streaming to: ${file}`,
|
|
|
117
117
|
truncated: false,
|
|
118
118
|
status: "running"
|
|
119
119
|
});
|
|
120
|
-
var
|
|
120
|
+
var Plugin41 = {
|
|
121
121
|
id: "opencode.tool.shell",
|
|
122
122
|
effect: Effect.fn("ShellTool.Plugin")(function* (ctx) {
|
|
123
|
-
const sessions = yield*
|
|
124
|
-
const jobs = yield*
|
|
123
|
+
const sessions = yield* Service20;
|
|
124
|
+
const jobs = yield* Service43;
|
|
125
125
|
const scope = yield* Scope.Scope;
|
|
126
|
-
const environment = yield*
|
|
127
|
-
const access = yield*
|
|
128
|
-
const shell = yield*
|
|
129
|
-
const shellSelect = yield*
|
|
126
|
+
const environment = yield* Service81;
|
|
127
|
+
const access = yield* Service63;
|
|
128
|
+
const shell = yield* Service47;
|
|
129
|
+
const shellSelect = yield* Service49;
|
|
130
130
|
const compatibleShell = shellSelect.resolve({ priority: "compat" });
|
|
131
|
-
const permission = yield*
|
|
132
|
-
const config = yield*
|
|
131
|
+
const permission = yield* Service64;
|
|
132
|
+
const config = yield* Service68;
|
|
133
133
|
const prepare = Effect.fn("ShellTool.prepare")(function* (invocation, context) {
|
|
134
134
|
const source = {
|
|
135
135
|
type: "tool",
|
|
@@ -140,7 +140,7 @@ var Plugin13 = {
|
|
|
140
140
|
invocation.cwd = target.absolute;
|
|
141
141
|
const timeout = invocation.timeout;
|
|
142
142
|
const portable = latest2(yield* config.entries(), "experimental")?.portable_shell_scanner ?? (shellParserWasm.bash === "" || ctx.app.channel === "local" || ctx.app.channel === "dev");
|
|
143
|
-
const parsed = yield*
|
|
143
|
+
const parsed = yield* scan3(invocation.command, invocation.shell, target.absolute, { portable });
|
|
144
144
|
const directories = yield* Effect.forEach(parsed.directories, (directory) => access.resolve({
|
|
145
145
|
path: resolvePath2(target.absolute, directory),
|
|
146
146
|
kind: "directory"
|
|
@@ -148,7 +148,7 @@ var Plugin13 = {
|
|
|
148
148
|
yield* access.authorizeExternal([target, ...directories], context);
|
|
149
149
|
if (parsed.commands.length > 0)
|
|
150
150
|
yield* permission.assert({
|
|
151
|
-
action:
|
|
151
|
+
action: name6,
|
|
152
152
|
resources: parsed.commands.map((command) => command.resource),
|
|
153
153
|
save: parsed.commands.map((command) => command.save),
|
|
154
154
|
sessionID: context.sessionID,
|
|
@@ -185,10 +185,10 @@ var Plugin13 = {
|
|
|
185
185
|
yield* jobs.completeBackground(info.notificationID);
|
|
186
186
|
}, Effect.forkIn(scope, { startImmediately: true }));
|
|
187
187
|
yield* ctx.tool.transform((editor) => editor.add({
|
|
188
|
-
name:
|
|
188
|
+
name: name6,
|
|
189
189
|
options: { codemode: false },
|
|
190
190
|
description: description(),
|
|
191
|
-
input:
|
|
191
|
+
input: Input6,
|
|
192
192
|
output: Output,
|
|
193
193
|
execute: (input, context) => Effect.gen(function* () {
|
|
194
194
|
const timeout = input.background === true ? input.timeout ?? 0 : input.timeout ?? DEFAULT_TIMEOUT_MS2;
|
|
@@ -211,7 +211,7 @@ var Plugin13 = {
|
|
|
211
211
|
const run = Effect.gen(function* () {
|
|
212
212
|
const result = yield* shell.result(info);
|
|
213
213
|
if (!result.capture)
|
|
214
|
-
return yield* new
|
|
214
|
+
return yield* new NotFoundError6({ id: info.id });
|
|
215
215
|
const output = output2(result);
|
|
216
216
|
return {
|
|
217
217
|
...output,
|
|
@@ -225,7 +225,7 @@ Command exceeded timeout of ${finalTimeout} ms. Retry with a larger timeout if t
|
|
|
225
225
|
`)), Effect.onInterrupt(() => shell.remove(info.id).pipe(Effect.ignore)));
|
|
226
226
|
const job = yield* jobs.start({
|
|
227
227
|
id: info.id,
|
|
228
|
-
type:
|
|
228
|
+
type: name6,
|
|
229
229
|
title: info.command,
|
|
230
230
|
metadata: { sessionID: context.sessionID, shellID: info.id },
|
|
231
231
|
recovery: {
|
|
@@ -255,7 +255,7 @@ Command exceeded timeout of ${finalTimeout} ms. Retry with a larger timeout if t
|
|
|
255
255
|
}).pipe(Effect.map(toolResult), Effect.mapError((error) => new ToolFailure({ message: `Unable to execute command: ${input.command}`, error })))
|
|
256
256
|
})).pipe(Effect.orDie);
|
|
257
257
|
const hook = (event) => Effect.gen(function* () {
|
|
258
|
-
const tool = event.tools[
|
|
258
|
+
const tool = event.tools[name6];
|
|
259
259
|
if (!tool)
|
|
260
260
|
return;
|
|
261
261
|
tool.description = description(name16(yield* compatibleShell));
|
|
@@ -266,4 +266,4 @@ Command exceeded timeout of ${finalTimeout} ms. Retry with a larger timeout if t
|
|
|
266
266
|
})
|
|
267
267
|
};
|
|
268
268
|
|
|
269
|
-
export {
|
|
269
|
+
export { name6, DEFAULT_TIMEOUT_MS2, Input6, Plugin41, exports_shell2 };
|
|
@@ -1,15 +1,15 @@
|
|
|
1
1
|
import {
|
|
2
2
|
PositiveInt2
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./rpc-z5v4ffb3.js";
|
|
4
4
|
import {
|
|
5
5
|
__export
|
|
6
|
-
} from "./
|
|
6
|
+
} from "./rpc-9rqn6x4v.js";
|
|
7
7
|
|
|
8
8
|
// src/v1/config/mcp.ts
|
|
9
9
|
var exports_mcp5 = {};
|
|
10
10
|
__export(exports_mcp5, {
|
|
11
11
|
ConfigMCPV1: () => exports_mcp5,
|
|
12
|
-
Info: () =>
|
|
12
|
+
Info: () => Info17,
|
|
13
13
|
Local: () => Local2,
|
|
14
14
|
OAuth: () => OAuth2,
|
|
15
15
|
Remote: () => Remote3
|
|
@@ -70,6 +70,6 @@ var Remote3 = Schema.Struct({
|
|
|
70
70
|
description: "Timeout in ms for MCP server requests. Defaults to 5000 (5 seconds) if not specified."
|
|
71
71
|
})
|
|
72
72
|
}).annotate({ identifier: "McpRemoteConfig" });
|
|
73
|
-
var
|
|
73
|
+
var Info17 = Schema.Union([Local2, Remote3]).annotate({ discriminator: "type" });
|
|
74
74
|
|
|
75
|
-
export { Local2, OAuth2, Remote3,
|
|
75
|
+
export { Local2, OAuth2, Remote3, Info17, exports_mcp5 };
|
|
@@ -1,36 +1,36 @@
|
|
|
1
1
|
import {
|
|
2
|
-
|
|
3
|
-
} from "./
|
|
2
|
+
Service86
|
|
3
|
+
} from "./rpc-1fev81q9.js";
|
|
4
4
|
import {
|
|
5
|
-
|
|
6
|
-
} from "./
|
|
5
|
+
Service36
|
|
6
|
+
} from "./rpc-zbmx9syz.js";
|
|
7
7
|
import {
|
|
8
|
-
|
|
9
|
-
} from "./
|
|
8
|
+
Error3
|
|
9
|
+
} from "./rpc-mm8jtwth.js";
|
|
10
10
|
import {
|
|
11
|
-
|
|
12
|
-
} from "./
|
|
11
|
+
Service56
|
|
12
|
+
} from "./rpc-myx6e55h.js";
|
|
13
13
|
import {
|
|
14
14
|
StepFailedError2
|
|
15
|
-
} from "./
|
|
15
|
+
} from "./rpc-drerwy6v.js";
|
|
16
16
|
import {
|
|
17
17
|
SessionEvent2
|
|
18
|
-
} from "./
|
|
18
|
+
} from "./rpc-ec1grn59.js";
|
|
19
19
|
import {
|
|
20
20
|
toSessionError2
|
|
21
|
-
} from "./
|
|
21
|
+
} from "./rpc-g5cwnqn4.js";
|
|
22
22
|
import {
|
|
23
23
|
record2
|
|
24
|
-
} from "./
|
|
24
|
+
} from "./rpc-r542h3bh.js";
|
|
25
25
|
import {
|
|
26
26
|
createLLMEventPublisher2
|
|
27
|
-
} from "./
|
|
27
|
+
} from "./rpc-xnf74d9j.js";
|
|
28
28
|
import {
|
|
29
29
|
isRetryable2
|
|
30
|
-
} from "./
|
|
30
|
+
} from "./rpc-djjzzs3c.js";
|
|
31
31
|
import {
|
|
32
32
|
__export
|
|
33
|
-
} from "./
|
|
33
|
+
} from "./rpc-9rqn6x4v.js";
|
|
34
34
|
|
|
35
35
|
// src/session/runner/step.ts
|
|
36
36
|
var exports_step = {};
|
|
@@ -52,10 +52,10 @@ var TOOLS_INTERRUPTED = { type: "aborted", message: "Tool execution interrupted"
|
|
|
52
52
|
var STEP_INTERRUPTED = { type: "aborted", message: "Step interrupted" };
|
|
53
53
|
var RESULT_MISSING = { type: "tool.result-missing", message: "Provider did not return a tool result" };
|
|
54
54
|
var make9 = Effect.gen(function* () {
|
|
55
|
-
const bus = yield*
|
|
55
|
+
const bus = yield* Service86;
|
|
56
56
|
const llm = yield* LLMClient.Service;
|
|
57
|
-
const snapshots = yield*
|
|
58
|
-
const toolOutput = yield*
|
|
57
|
+
const snapshots = yield* Service36;
|
|
58
|
+
const toolOutput = yield* Service56;
|
|
59
59
|
const attempt = Effect.fn("SessionStep.attempt")(function* (input) {
|
|
60
60
|
const pendingStartSnapshot = yield* snapshots.capture().pipe(Effect.forkScoped);
|
|
61
61
|
const publisher = createLLMEventPublisher2(bus, {
|
|
@@ -71,7 +71,7 @@ var make9 = Effect.gen(function* () {
|
|
|
71
71
|
const interruptTools = Effect.suspend(() => Fiber.interruptAll(toolRuns.map((run) => run.fiber)));
|
|
72
72
|
const executeTool = (call) => {
|
|
73
73
|
if (input.prepared.request.toolChoice?.type === "none")
|
|
74
|
-
return new
|
|
74
|
+
return new Error3({ message: "Tools are disabled after the maximum agent steps" });
|
|
75
75
|
return input.prepared.executeTool({
|
|
76
76
|
sessionID: input.sessionID,
|
|
77
77
|
agent: input.agent,
|