@opencode/core 0.0.0-dev-21818 → 0.0.0-dev-21820
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 +85 -85
- package/dist/aisdk-native.js +94 -94
- package/dist/aisdk.js +98 -98
- package/dist/app.js +7 -7
- package/dist/bus.js +73 -73
- package/dist/chunks/{command-034tev2y.js → usage-limits-034tev2y.js} +2 -2
- package/dist/chunks/{command-qk5jxgq1.js → usage-limits-052mqgew.js} +9 -9
- package/dist/chunks/{command-pn39a5na.js → usage-limits-06r9fgh1.js} +5 -5
- package/dist/chunks/{command-6ad2fdvv.js → usage-limits-07jy34sd.js} +13 -13
- package/dist/chunks/{command-577yexmd.js → usage-limits-09nb6j7n.js} +18 -18
- package/dist/chunks/{command-v6e0t90w.js → usage-limits-0hkdpjs7.js} +14 -14
- package/dist/chunks/{command-h41k652m.js → usage-limits-0pa66m09.js} +4 -4
- package/dist/chunks/{command-qdm153cs.js → usage-limits-0sbjk12p.js} +20 -20
- package/dist/chunks/{command-xpsakxdv.js → usage-limits-0yhksvcd.js} +27 -27
- package/dist/chunks/{command-9mrkfh1z.js → usage-limits-0z6c2se0.js} +46 -46
- package/dist/chunks/{command-tg1vr1qt.js → usage-limits-160yv0cs.js} +8 -8
- package/dist/chunks/{command-1ep2p91f.js → usage-limits-1ep2p91f.js} +2 -2
- package/dist/chunks/{command-xhq4j13x.js → usage-limits-1nr9fzax.js} +9 -9
- package/dist/chunks/{command-9b79tx17.js → usage-limits-1pfjjcy6.js} +37 -37
- package/dist/chunks/{command-kkx1be94.js → usage-limits-1qtqz3f2.js} +88 -88
- package/dist/chunks/{command-bqkh1202.js → usage-limits-1teq0rja.js} +3 -3
- package/dist/chunks/{command-1x2knyw4.js → usage-limits-1x2knyw4.js} +1 -1
- package/dist/chunks/{command-1yq9hg58.js → usage-limits-1yq9hg58.js} +1 -1
- package/dist/chunks/{command-rxrz6b15.js → usage-limits-27bs79w9.js} +2 -2
- package/dist/chunks/{command-a6f4tgap.js → usage-limits-27s7w8ge.js} +37 -37
- package/dist/chunks/{command-d2r51erv.js → usage-limits-2fghwe76.js} +11 -11
- package/dist/chunks/{command-jn0nm8ve.js → usage-limits-2p2332jf.js} +3 -3
- package/dist/chunks/{command-3bv62f95.js → usage-limits-2rwv1cer.js} +54 -54
- package/dist/chunks/{command-2z1j29yd.js → usage-limits-2z1j29yd.js} +1 -1
- package/dist/chunks/{command-ra86m6px.js → usage-limits-2z573b49.js} +12 -12
- package/dist/chunks/{command-n61941kj.js → usage-limits-2zqc5m45.js} +35 -35
- package/dist/chunks/{command-23h7j0rk.js → usage-limits-37qjwjg3.js} +31 -31
- package/dist/chunks/usage-limits-37x35jkp.js +261 -0
- package/dist/chunks/{command-5s5ptkmy.js → usage-limits-3agpfbf6.js} +17 -17
- package/dist/chunks/{command-x8rpw2zs.js → usage-limits-3fgjz1qb.js} +16 -16
- package/dist/chunks/{command-3hepkmqq.js → usage-limits-3hepkmqq.js} +1 -1
- package/dist/chunks/{command-1ftf7dq4.js → usage-limits-3mw19qy8.js} +31 -31
- package/dist/chunks/{command-3nnrz6f6.js → usage-limits-3nnrz6f6.js} +1 -1
- package/dist/chunks/{command-e5xbdws1.js → usage-limits-3ntsf9a0.js} +26 -26
- package/dist/chunks/{command-ejj7q3zx.js → usage-limits-3rszrfa9.js} +6 -6
- package/dist/chunks/{command-kw6cmkwk.js → usage-limits-3sph5gmk.js} +24 -24
- package/dist/chunks/{command-d22d9jvp.js → usage-limits-43tvqsb6.js} +33 -33
- package/dist/chunks/{command-dnspaa82.js → usage-limits-44asjrm9.js} +6 -6
- package/dist/chunks/{command-rgrvdfrb.js → usage-limits-45j1dh4w.js} +14 -14
- package/dist/chunks/{command-bw8hbntf.js → usage-limits-4ayw2j9m.js} +16 -16
- package/dist/chunks/{command-ekcysewp.js → usage-limits-4h4hk51q.js} +4 -4
- package/dist/chunks/{command-6rzaq17p.js → usage-limits-4jvqj91g.js} +12 -12
- package/dist/chunks/{command-dk5xnaxx.js → usage-limits-4q1b57yv.js} +4 -4
- package/dist/chunks/{command-vbjryyts.js → usage-limits-4snmzknn.js} +24 -24
- package/dist/chunks/{command-y4n6pw34.js → usage-limits-4tqs0jzk.js} +4 -4
- package/dist/chunks/{command-4v008n1t.js → usage-limits-4v008n1t.js} +1 -1
- package/dist/chunks/{command-4xvmh7wp.js → usage-limits-4xvmh7wp.js} +3 -3
- package/dist/chunks/{command-2b2ezf52.js → usage-limits-5hahrjda.js} +15 -15
- package/dist/chunks/{command-5m9w47nd.js → usage-limits-5m9w47nd.js} +1 -1
- package/dist/chunks/{command-kntz01hn.js → usage-limits-5rvbns9h.js} +33 -33
- package/dist/chunks/{command-xdpngg3w.js → usage-limits-5xan3hjt.js} +24 -24
- package/dist/chunks/{command-8h6a48m8.js → usage-limits-648wsnpr.js} +13 -13
- package/dist/chunks/{command-96frc3qv.js → usage-limits-6bv7yxz5.js} +27 -27
- package/dist/chunks/{command-6esdw8yj.js → usage-limits-6esdw8yj.js} +1 -1
- package/dist/chunks/{command-jfemb6dg.js → usage-limits-6gf3hhvq.js} +30 -30
- package/dist/chunks/{command-as1c0yqt.js → usage-limits-6ha7pnwq.js} +22 -22
- package/dist/chunks/{command-8bt0vqrr.js → usage-limits-6jrjvs1q.js} +6 -6
- package/dist/chunks/{command-6pjqjmy2.js → usage-limits-6pjqjmy2.js} +1 -1
- package/dist/chunks/{command-at1k79a5.js → usage-limits-6q2t9e19.js} +11 -11
- package/dist/chunks/{command-sbcmjw49.js → usage-limits-6qx2exdt.js} +11 -11
- package/dist/chunks/{command-eb8ey7jf.js → usage-limits-726yah4h.js} +9 -9
- package/dist/chunks/{command-w8qtt4th.js → usage-limits-76cb1hcw.js} +4 -4
- package/dist/chunks/{command-d0cfhy82.js → usage-limits-78p57jmb.js} +52 -52
- package/dist/chunks/{command-7bmhse3q.js → usage-limits-7bmhse3q.js} +1 -1
- package/dist/chunks/{command-cvnpy6ac.js → usage-limits-7h2jh6d6.js} +27 -27
- package/dist/chunks/{command-7sf0nz0c.js → usage-limits-7pg880mj.js} +29 -29
- package/dist/chunks/{command-2xjnyn7t.js → usage-limits-7qj4kw2w.js} +27 -27
- package/dist/chunks/{command-7w2ypzdf.js → usage-limits-7w2ypzdf.js} +1 -1
- package/dist/chunks/{command-tct5dn0h.js → usage-limits-7wfd13xk.js} +16 -16
- package/dist/chunks/{command-bcvpnfz0.js → usage-limits-7z0r3bs7.js} +21 -21
- package/dist/chunks/{command-eengcg00.js → usage-limits-85tnhsr5.js} +1 -1
- package/dist/chunks/{command-pc1v25hk.js → usage-limits-8bc2ahr8.js} +3 -3
- package/dist/chunks/{command-nxxea952.js → usage-limits-8h5h53em.js} +27 -27
- package/dist/chunks/{command-yhp1gsdf.js → usage-limits-8m3evvpt.js} +15 -15
- package/dist/chunks/{command-8wtp7s3z.js → usage-limits-8wtp7s3z.js} +1 -1
- package/dist/chunks/{command-m37sd98t.js → usage-limits-8y4jps98.js} +4 -4
- package/dist/chunks/{command-91rj84md.js → usage-limits-91rj84md.js} +1 -1
- package/dist/chunks/{command-j65hkcsb.js → usage-limits-94a8q2nd.js} +12 -12
- package/dist/chunks/{command-b0j6y7s5.js → usage-limits-989aym0q.js} +11 -11
- package/dist/chunks/{command-998yhzzq.js → usage-limits-998yhzzq.js} +3 -3
- package/dist/chunks/{command-9gwdkggz.js → usage-limits-9c88vk2a.js} +20 -20
- package/dist/chunks/{command-qah7t4da.js → usage-limits-9cbnrx2n.js} +6 -6
- package/dist/chunks/{command-9cx9sm2q.js → usage-limits-9cx9sm2q.js} +1 -1
- package/dist/chunks/{command-tdhzh0hh.js → usage-limits-9pf9j90h.js} +14 -14
- package/dist/chunks/usage-limits-9t1hjeb8.js +517 -0
- package/dist/chunks/{command-drp4sy68.js → usage-limits-a210w1rj.js} +11 -11
- package/dist/chunks/{command-nn4rsceg.js → usage-limits-a3qfv0hd.js} +52 -52
- package/dist/chunks/{command-fvf40wtt.js → usage-limits-a4xckjr4.js} +24 -24
- package/dist/chunks/{command-9w6z0tb8.js → usage-limits-aaca795k.js} +21 -21
- package/dist/chunks/{command-c379g7ag.js → usage-limits-ac4t24sd.js} +28 -28
- package/dist/chunks/{command-x81g74mp.js → usage-limits-aebkqpzg.js} +10 -10
- package/dist/chunks/{command-ky6psh45.js → usage-limits-aj1nzrgt.js} +11 -11
- package/dist/chunks/{command-ryw9gt93.js → usage-limits-akvc2j30.js} +1 -1
- package/dist/chunks/{command-1v0dspd3.js → usage-limits-aqvd6vz0.js} +30 -30
- package/dist/chunks/{command-ebgyc8dk.js → usage-limits-arwkaxws.js} +21 -21
- package/dist/chunks/{command-n19651je.js → usage-limits-atx9ncrc.js} +14 -14
- package/dist/chunks/{command-k4vjszwk.js → usage-limits-ax80y17w.js} +4 -4
- package/dist/chunks/{command-ayjs7tqn.js → usage-limits-ayjs7tqn.js} +2 -2
- package/dist/chunks/{command-b0mv4wxm.js → usage-limits-b0mv4wxm.js} +2 -2
- package/dist/chunks/{command-athptrr6.js → usage-limits-b3mwsdc9.js} +11 -11
- package/dist/chunks/{command-b6vsg801.js → usage-limits-b6vsg801.js} +2 -2
- package/dist/chunks/{command-xt2n4gan.js → usage-limits-b8qrkhky.js} +28 -28
- package/dist/chunks/{command-kx2s0cab.js → usage-limits-bbaqhw4f.js} +36 -36
- package/dist/chunks/{command-y7mjvyet.js → usage-limits-bbrx00jz.js} +14 -14
- package/dist/chunks/usage-limits-bc6t731e.js +250 -0
- package/dist/chunks/{command-zba5tm1j.js → usage-limits-bjhzkqyk.js} +4 -4
- package/dist/chunks/{command-919wx1z3.js → usage-limits-bnndz809.js} +8 -8
- package/dist/chunks/{command-536c1kkr.js → usage-limits-bxpaffak.js} +4 -4
- package/dist/chunks/{command-8jw7rn7z.js → usage-limits-c4hczych.js} +64 -47
- package/dist/chunks/{command-absbpnym.js → usage-limits-cbc4taa6.js} +11 -11
- package/dist/chunks/{command-601dsf04.js → usage-limits-cfjtprja.js} +16 -16
- package/dist/chunks/{command-9s9yrq09.js → usage-limits-cspetaqy.js} +7 -7
- package/dist/chunks/{command-ycf7t0x4.js → usage-limits-ctt8qbk9.js} +6 -6
- package/dist/chunks/{command-2hxshrhc.js → usage-limits-cvxbw3ks.js} +28 -28
- package/dist/chunks/{command-p5n2p3b1.js → usage-limits-d0h5jp63.js} +36 -36
- package/dist/chunks/{command-krv10r25.js → usage-limits-d2k9ndpk.js} +13 -13
- package/dist/chunks/{command-d4v9tmah.js → usage-limits-d4v9tmah.js} +2 -2
- package/dist/chunks/{command-eshe19cj.js → usage-limits-d7s2envm.js} +6 -6
- package/dist/chunks/{command-xt4j5ppg.js → usage-limits-dj80dh0k.js} +5 -5
- package/dist/chunks/{command-jatb60mj.js → usage-limits-dv889aa0.js} +19 -19
- package/dist/chunks/{command-7gk9js8e.js → usage-limits-dy2frryf.js} +86 -86
- package/dist/chunks/usage-limits-e07q2w5p.js +83 -0
- package/dist/chunks/{command-hdfrs5mg.js → usage-limits-e2x7gzav.js} +7 -7
- package/dist/chunks/{command-sn3c9y12.js → usage-limits-e3hyq533.js} +14 -14
- package/dist/chunks/{command-e834z07m.js → usage-limits-e834z07m.js} +1 -1
- package/dist/chunks/{command-9j2em94t.js → usage-limits-e9gy876p.js} +28 -28
- package/dist/chunks/{command-hb0m8f38.js → usage-limits-ebn47abq.js} +11 -11
- package/dist/chunks/{command-mtm9tq44.js → usage-limits-efwjs4bb.js} +13 -13
- package/dist/chunks/{command-qvw98tg0.js → usage-limits-egmw08v6.js} +5 -5
- package/dist/chunks/{command-xsact9zs.js → usage-limits-emq6awqh.js} +4 -4
- package/dist/chunks/{command-rpnphm24.js → usage-limits-emsb7nrx.js} +19 -19
- package/dist/chunks/{command-vyyww4cp.js → usage-limits-eterkqt0.js} +32 -32
- package/dist/chunks/{command-rkvbxbtx.js → usage-limits-ewc6z4rh.js} +34 -34
- package/dist/chunks/{command-zppqv0za.js → usage-limits-ex7z9m54.js} +2 -2
- package/dist/chunks/{command-je2dmma1.js → usage-limits-exp5mnmq.js} +1 -1
- package/dist/chunks/{command-vg3pf4h8.js → usage-limits-ey1djyv9.js} +10 -10
- package/dist/chunks/{command-jhd2q5aa.js → usage-limits-f0tpkmet.js} +32 -32
- package/dist/chunks/{command-6rxdw5v4.js → usage-limits-f3jntyhm.js} +32 -32
- package/dist/chunks/{command-3531vqe2.js → usage-limits-f7bvh908.js} +19 -19
- package/dist/chunks/{command-5j20qf3f.js → usage-limits-f7r22wb4.js} +45 -45
- package/dist/chunks/{command-bdgfgxkz.js → usage-limits-f9nfcqdq.js} +7 -7
- package/dist/chunks/{command-n2mgc41n.js → usage-limits-fdhstezy.js} +8 -8
- package/dist/chunks/{command-fffv3p7h.js → usage-limits-fffv3p7h.js} +1 -1
- package/dist/chunks/{command-ba7dfhfp.js → usage-limits-fjz66g9m.js} +8 -8
- package/dist/chunks/{command-t2cmnhk6.js → usage-limits-fr1v3ke2.js} +3 -3
- package/dist/chunks/usage-limits-frx5y0yf.js +26 -0
- package/dist/chunks/{command-sa1j54ah.js → usage-limits-g3h8dgtz.js} +4 -4
- package/dist/chunks/{command-g5h9c0rr.js → usage-limits-g5h9c0rr.js} +2 -2
- package/dist/chunks/{command-913j3mh8.js → usage-limits-g9arxaec.js} +11 -11
- package/dist/chunks/{command-vrcsa8qx.js → usage-limits-gcjdgkn2.js} +9 -9
- package/dist/chunks/{command-wrd1e224.js → usage-limits-ggf2j3cc.js} +23 -23
- package/dist/chunks/{command-zcttm0a7.js → usage-limits-ghztajqa.js} +20 -20
- package/dist/chunks/{command-a24mpnx1.js → usage-limits-gk7spenk.js} +24 -24
- package/dist/chunks/{command-jvnwfx78.js → usage-limits-gqa6c0dc.js} +17 -17
- package/dist/chunks/{command-w9654aqw.js → usage-limits-gx0r2313.js} +6 -6
- package/dist/chunks/{command-xpgf5ggf.js → usage-limits-gy0tz9ap.js} +15 -15
- package/dist/chunks/{command-rc5p4tbx.js → usage-limits-gycv8rtq.js} +23 -23
- package/dist/chunks/{command-h5qan5zz.js → usage-limits-h5qan5zz.js} +3 -3
- package/dist/chunks/{command-v8vd993n.js → usage-limits-hdvssxsh.js} +8 -8
- package/dist/chunks/{command-7fxmge10.js → usage-limits-hf1c1nxg.js} +5 -5
- package/dist/chunks/{command-fhkyxz58.js → usage-limits-hgnysbnx.js} +70 -70
- package/dist/chunks/{command-ekteap66.js → usage-limits-hngxbr5f.js} +6 -6
- package/dist/chunks/{command-e8var0bn.js → usage-limits-hp0kf9qk.js} +35 -35
- package/dist/chunks/{command-9g25krhk.js → usage-limits-hpdffqc1.js} +20 -20
- package/dist/chunks/{command-bvnym4q4.js → usage-limits-hycwzgsh.js} +21 -21
- package/dist/chunks/{command-j113cymg.js → usage-limits-j113cymg.js} +1 -1
- package/dist/chunks/{command-sgf93zt1.js → usage-limits-j3xzkfr8.js} +21 -21
- package/dist/chunks/{command-y6tn7bpp.js → usage-limits-j8tswv6e.js} +16 -16
- package/dist/chunks/{command-jchrqzf6.js → usage-limits-jefw9j3y.js} +4 -4
- package/dist/chunks/{command-9wejqmxs.js → usage-limits-k02002gh.js} +10 -10
- package/dist/chunks/{command-6s0p322d.js → usage-limits-k680cdq8.js} +11 -11
- package/dist/chunks/{command-k814nvkf.js → usage-limits-k814nvkf.js} +1 -1
- package/dist/chunks/{command-k3s0qkj7.js → usage-limits-k9vn056m.js} +20 -20
- package/dist/chunks/{command-wrd39zd3.js → usage-limits-kb2r74xq.js} +9 -9
- package/dist/chunks/{command-knm9h1gt.js → usage-limits-kbdzx3mw.js} +5 -5
- package/dist/chunks/{command-0kr898da.js → usage-limits-ke16v9kv.js} +8 -8
- package/dist/chunks/{command-5jyzhfg0.js → usage-limits-kkayz510.js} +4 -4
- package/dist/chunks/{command-fptf4jb2.js → usage-limits-km6kdywk.js} +28 -28
- package/dist/chunks/{command-kt3bjfbg.js → usage-limits-kt3bjfbg.js} +1 -1
- package/dist/chunks/{command-m1714858.js → usage-limits-m1714858.js} +1 -1
- package/dist/chunks/{command-88bjnhq0.js → usage-limits-m304ba9t.js} +5 -5
- package/dist/chunks/{command-kz35drw9.js → usage-limits-m8nbymbg.js} +19 -19
- package/dist/chunks/{command-m9w0rfyh.js → usage-limits-m9w0rfyh.js} +1 -1
- package/dist/chunks/{command-za6yq9hg.js → usage-limits-ma15yhyh.js} +5 -5
- package/dist/chunks/{command-maspj1v3.js → usage-limits-maspj1v3.js} +1 -1
- package/dist/chunks/{command-y3tncrtt.js → usage-limits-mrsa6jkf.js} +15 -15
- package/dist/chunks/{command-82k6bzc0.js → usage-limits-mrss2ga5.js} +45 -45
- package/dist/chunks/{command-bgg6fpfq.js → usage-limits-n7wnam13.js} +7 -7
- package/dist/chunks/{command-nah043kf.js → usage-limits-nah043kf.js} +1 -1
- package/dist/chunks/{command-d8kktwmb.js → usage-limits-ngakgrqq.js} +9 -9
- package/dist/chunks/{command-xc2k0qa9.js → usage-limits-njkmhayd.js} +10 -10
- package/dist/chunks/{command-vkjtdrj5.js → usage-limits-nm3cbc6x.js} +16 -16
- package/dist/chunks/{command-zv77kcwz.js → usage-limits-nmhe9dy6.js} +11 -11
- package/dist/chunks/{command-99hv2r52.js → usage-limits-ntm28ryz.js} +18 -18
- package/dist/chunks/{command-p015t6z3.js → usage-limits-p015t6z3.js} +2 -2
- package/dist/chunks/{command-pwp33k1j.js → usage-limits-p2hj6cy1.js} +18 -18
- package/dist/chunks/{command-jt3cc694.js → usage-limits-pjwfm23k.js} +22 -16
- package/dist/chunks/{command-pknna89w.js → usage-limits-pknna89w.js} +1 -1
- package/dist/chunks/{command-dkg6zq9k.js → usage-limits-pq70gwcm.js} +15 -15
- package/dist/chunks/{command-ry3msmns.js → usage-limits-pz2vpapy.js} +6 -6
- package/dist/chunks/{command-6r3jgch7.js → usage-limits-q0hvv05t.js} +13 -13
- package/dist/chunks/{command-yzj4f4rb.js → usage-limits-qdpm05xk.js} +4 -4
- package/dist/chunks/{command-anxj7259.js → usage-limits-qepdakcz.js} +9 -9
- package/dist/chunks/{command-7zt3ezbt.js → usage-limits-qn0rjxfc.js} +11 -11
- package/dist/chunks/{command-yphf4wkb.js → usage-limits-qqa1433q.js} +38 -38
- package/dist/chunks/{command-qv7y9773.js → usage-limits-qv7y9773.js} +1 -1
- package/dist/chunks/{command-p17y9zxj.js → usage-limits-qz97qh5p.js} +3 -3
- package/dist/chunks/{command-r0yr0wbs.js → usage-limits-r0yr0wbs.js} +1 -1
- package/dist/chunks/{command-jns1hsnf.js → usage-limits-r4czht1g.js} +20 -20
- package/dist/chunks/{command-r542h3bh.js → usage-limits-r542h3bh.js} +1 -1
- package/dist/chunks/{command-v4y8fefg.js → usage-limits-r7a84vp7.js} +24 -24
- package/dist/chunks/{command-rb9dy4dg.js → usage-limits-rb9dy4dg.js} +1 -1
- package/dist/chunks/{command-0e8wpp30.js → usage-limits-rby583qs.js} +8 -8
- package/dist/chunks/{command-mgyrh3fg.js → usage-limits-rrme742e.js} +13 -13
- package/dist/chunks/{command-rt5dr6hb.js → usage-limits-rt5dr6hb.js} +1 -1
- package/dist/chunks/{command-mdqxs31b.js → usage-limits-rx4h7akj.js} +16 -16
- package/dist/chunks/usage-limits-s5c3tv3b.js +169 -0
- package/dist/chunks/{command-as5dbhq9.js → usage-limits-s78dgp47.js} +6 -6
- package/dist/chunks/{command-sa3fpqfw.js → usage-limits-sa3fpqfw.js} +2 -2
- package/dist/chunks/{command-h1a1swr0.js → usage-limits-skwsegzf.js} +21 -21
- package/dist/chunks/{command-sqjzf8x2.js → usage-limits-sqjzf8x2.js} +1 -1
- package/dist/chunks/{command-pnd0tgce.js → usage-limits-sqz0nt1s.js} +45 -45
- package/dist/chunks/{command-d2887f8n.js → usage-limits-ssfehs1z.js} +4 -4
- package/dist/chunks/{command-5j2x0vh6.js → usage-limits-st9cgr6w.js} +15 -15
- package/dist/chunks/{command-7xg2jm5b.js → usage-limits-szcgc7h4.js} +5 -5
- package/dist/chunks/{command-bbwwgj76.js → usage-limits-t0g5gwyx.js} +18 -18
- package/dist/chunks/{command-t8nkzmzj.js → usage-limits-t211gxpv.js} +5 -5
- package/dist/chunks/{command-1vdntpm3.js → usage-limits-taacwnvm.js} +7 -7
- package/dist/chunks/{command-tczq8hjw.js → usage-limits-tczq8hjw.js} +1 -1
- package/dist/chunks/{command-jarxapq1.js → usage-limits-tj65tddj.js} +28 -28
- package/dist/chunks/{command-ve1a31qq.js → usage-limits-tnkagvdq.js} +5 -5
- package/dist/chunks/{command-3mgb105e.js → usage-limits-tpm1qpxt.js} +9 -9
- package/dist/chunks/{command-6ek2k839.js → usage-limits-tvxkwhzj.js} +7 -7
- package/dist/chunks/{command-twv2r8f4.js → usage-limits-twv2r8f4.js} +2 -2
- package/dist/chunks/{command-wphkpwyy.js → usage-limits-txkqgr37.js} +21 -21
- package/dist/chunks/{command-12j5xb52.js → usage-limits-tyhzfa9z.js} +17 -17
- package/dist/chunks/{command-44ggx2jg.js → usage-limits-tzhfmb8s.js} +5 -5
- package/dist/chunks/{command-v2r1d0zg.js → usage-limits-v2r1d0zg.js} +1 -1
- package/dist/chunks/{command-jnfhfvtc.js → usage-limits-v63rcc1z.js} +15 -15
- package/dist/chunks/{command-vd3b3yk9.js → usage-limits-vd3b3yk9.js} +1 -1
- package/dist/chunks/{command-veqvce7d.js → usage-limits-veqvce7d.js} +1 -1
- package/dist/chunks/{command-ry63fkbp.js → usage-limits-vg05jr2c.js} +6 -6
- package/dist/chunks/{command-p7kxzmqg.js → usage-limits-vk32b34p.js} +5 -5
- package/dist/chunks/{command-41rwrk3a.js → usage-limits-vn79cqmx.js} +32 -32
- package/dist/chunks/{command-hzrfc1p4.js → usage-limits-vx3jgdek.js} +3 -3
- package/dist/chunks/{command-40za9wsf.js → usage-limits-w2eysc6j.js} +9 -9
- package/dist/chunks/{command-w3wsvvr9.js → usage-limits-w3wsvvr9.js} +1 -1
- package/dist/chunks/{command-wakvkjy4.js → usage-limits-wakvkjy4.js} +1 -1
- package/dist/chunks/{command-wd87259q.js → usage-limits-wd87259q.js} +1 -1
- package/dist/chunks/{command-41krkmrm.js → usage-limits-wekwn6qz.js} +6 -6
- package/dist/chunks/{command-38gd8qqf.js → usage-limits-whf27mzz.js} +17 -17
- package/dist/chunks/{command-3qb2tvq8.js → usage-limits-whwnz90f.js} +16 -16
- package/dist/chunks/{command-9q3dx9gn.js → usage-limits-wn7kwqy9.js} +15 -15
- package/dist/chunks/{command-w687dnns.js → usage-limits-wr3re1en.js} +4 -4
- package/dist/chunks/{command-afj7tpg0.js → usage-limits-wzb86tnv.js} +21 -21
- package/dist/chunks/{command-bqsy6k7b.js → usage-limits-wzrwmevq.js} +10 -10
- package/dist/chunks/{command-fv74a081.js → usage-limits-x02d0s8b.js} +7 -7
- package/dist/chunks/{command-8jztxfpf.js → usage-limits-x8nvjgx0.js} +4 -4
- package/dist/chunks/{command-g8sddq98.js → usage-limits-xctymaxe.js} +46 -46
- package/dist/chunks/{command-bstexjd6.js → usage-limits-xd9cc171.js} +5 -5
- package/dist/chunks/{command-dqwe69sr.js → usage-limits-xf86h4sa.js} +5 -5
- package/dist/chunks/{command-vwyfhr0a.js → usage-limits-xz2v9wfs.js} +31 -31
- package/dist/chunks/{command-k008twyg.js → usage-limits-y4yx52dp.js} +20 -20
- package/dist/chunks/{command-yb20nhc3.js → usage-limits-yb20nhc3.js} +1 -1
- package/dist/chunks/{command-cg7dpz2x.js → usage-limits-ycbqeg09.js} +116 -197
- package/dist/chunks/{command-adw70tjx.js → usage-limits-ydj2t2r9.js} +181 -181
- package/dist/chunks/{command-t2bs72an.js → usage-limits-yg4mp0v5.js} +2 -2
- package/dist/chunks/{command-cy2v52d0.js → usage-limits-ymy0chk8.js} +4 -4
- package/dist/chunks/{command-5r6qh7e4.js → usage-limits-ypcrvbc5.js} +10 -10
- package/dist/chunks/{command-rhcben61.js → usage-limits-ysd28b92.js} +41 -41
- package/dist/chunks/{command-gy4qwgqr.js → usage-limits-yskc27rg.js} +26 -26
- package/dist/chunks/{command-4kfhgg5n.js → usage-limits-yxemhy2w.js} +25 -25
- package/dist/chunks/{command-z0bkrqjs.js → usage-limits-z0bkrqjs.js} +1 -1
- package/dist/chunks/{command-z38nccrw.js → usage-limits-z38nccrw.js} +1 -1
- package/dist/chunks/{command-v9f0gyh1.js → usage-limits-z59pzgfn.js} +15 -15
- package/dist/chunks/usage-limits-z7bdqmx5.js +18 -0
- package/dist/chunks/{command-xfys7e1v.js → usage-limits-zf9hj4sn.js} +21 -21
- package/dist/chunks/{command-agqd6nxz.js → usage-limits-zgt5j0h2.js} +6 -6
- package/dist/chunks/{command-zkg84ctx.js → usage-limits-zkg84ctx.js} +1 -1
- package/dist/chunks/{command-k8yb96yz.js → usage-limits-zqhzzkgw.js} +6 -6
- package/dist/chunks/{command-b0f7zp2n.js → usage-limits-zszhs1ry.js} +5 -5
- package/dist/chunks/{command-103he1eh.js → usage-limits-ztjft4ja.js} +30 -30
- package/dist/chunks/{command-t33zj5sv.js → usage-limits-zv0vsyec.js} +15 -15
- package/dist/chunks/{command-pss5e485.js → usage-limits-zyxp1bdt.js} +4 -4
- package/dist/chunks/{command-5jhj8f90.js → usage-limits-zzjqjb6m.js} +23 -23
- 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 +89 -89
- package/dist/config/integration.js +14 -0
- package/dist/config/markdown.js +1 -1
- package/dist/config/normalize.js +104 -104
- package/dist/config/plugin/agent.js +120 -120
- package/dist/config/plugin/command.js +216 -216
- package/dist/config/plugin/compaction.js +157 -157
- package/dist/config/plugin/compatibility.js +137 -137
- package/dist/config/plugin/entry-observer.js +1 -1
- package/dist/config/plugin/formatter.js +119 -119
- package/dist/config/plugin/image.js +118 -118
- package/dist/config/plugin/instruction.js +118 -118
- package/dist/config/plugin/location-watcher.js +116 -116
- package/dist/config/plugin/mcp.js +127 -127
- package/dist/config/plugin/policy.js +120 -119
- package/dist/config/plugin/provider.js +121 -118
- package/dist/config/plugin/reference.js +120 -120
- package/dist/config/plugin/shell.js +120 -120
- package/dist/config/plugin/skill-file.js +107 -107
- package/dist/config/plugin/skill-scan.js +1 -1
- package/dist/config/plugin/skill.js +138 -138
- package/dist/config/plugin/snapshot.js +118 -118
- package/dist/config/plugin/source.js +121 -121
- package/dist/config/plugin/tool-output.js +119 -119
- package/dist/config/plugin/websearch.js +119 -119
- package/dist/config/plugin/worktree.js +120 -120
- package/dist/config/variable.js +1 -1
- package/dist/config/watch.js +1 -1
- package/dist/config.js +119 -119
- package/dist/console-access.js +1 -1
- package/dist/credential/sql.js +2 -2
- package/dist/credential.js +87 -87
- package/dist/database/database.js +70 -70
- 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.gen.js +53 -53
- package/dist/database/migration.js +55 -55
- 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 +92 -92
- package/dist/database/v1-migration.js +1 -1
- package/dist/effect/app-node-builder.js +376 -374
- 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 +98 -98
- package/dist/environment/exec-defaults.js +2 -2
- package/dist/environment/files.js +1 -1
- package/dist/environment/index.js +100 -100
- 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 +74 -74
- package/dist/file-access.js +109 -109
- package/dist/file-mutation.js +99 -99
- 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/location-watcher-policy.js +6 -6
- package/dist/filesystem/location-watcher.js +227 -227
- package/dist/filesystem/protected.js +3 -3
- package/dist/filesystem/search.js +104 -104
- package/dist/filesystem/watcher-binding.js +1 -1
- package/dist/filesystem/watcher.js +9 -9
- package/dist/filesystem.js +107 -107
- package/dist/form.js +88 -88
- package/dist/formatter/builtins.js +4 -4
- package/dist/formatter.js +92 -92
- package/dist/generate.js +110 -110
- package/dist/git.js +7 -7
- 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 +96 -96
- 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.js +2 -2
- package/dist/image.js +6 -6
- package/dist/instance/service.js +5 -5
- package/dist/instance.js +367 -365
- package/dist/instruction-discovery.js +86 -86
- package/dist/instructions/builtins.js +92 -92
- package/dist/instructions/index.js +3 -3
- package/dist/integration/connection.js +3 -3
- package/dist/integration.js +93 -93
- package/dist/job.js +82 -82
- package/dist/kv/sql.js +2 -2
- package/dist/kv.js +77 -77
- package/dist/location-activity.js +158 -158
- package/dist/location-lifecycle.js +112 -112
- package/dist/location-service-map.js +91 -91
- package/dist/location-services.js +364 -362
- package/dist/location.js +92 -92
- package/dist/managed-policy.js +11 -10
- package/dist/mcp/client.js +96 -96
- package/dist/mcp/index.js +114 -114
- package/dist/mcp/instructions.js +143 -143
- package/dist/mcp/oauth.js +82 -82
- package/dist/mcp/socket-client.js +1 -1
- package/dist/mcp/stdio.js +95 -95
- package/dist/mime.js +1 -1
- package/dist/modal/models.js +96 -96
- package/dist/model-resolver.js +102 -102
- package/dist/model-retry.js +1 -1
- package/dist/model.js +105 -105
- package/dist/models-dev.js +112 -112
- package/dist/oauth/page.js +1 -1
- package/dist/permission/saved.js +86 -86
- package/dist/permission/sql.js +5 -5
- package/dist/permission.js +116 -116
- 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 +79 -79
- package/dist/plugin/agent.js +80 -80
- package/dist/plugin/command.js +107 -107
- package/dist/plugin/hooks.js +3 -3
- package/dist/plugin/host.js +222 -222
- package/dist/plugin/identity.js +5 -5
- package/dist/plugin/instance.js +5 -5
- package/dist/plugin/internal.js +337 -335
- package/dist/plugin/mcp-codemode-defaults.js +3 -3
- package/dist/plugin/models-dev.js +101 -101
- package/dist/plugin/module.js +120 -119
- package/dist/plugin/optimize.js +4 -4
- package/dist/plugin/plan.js +107 -107
- package/dist/plugin/promise.js +1 -1
- package/dist/plugin/provider/amazon-bedrock.js +95 -95
- package/dist/plugin/provider/azure.js +118 -118
- package/dist/plugin/provider/cerebras.js +1 -1
- package/dist/plugin/provider/chatgpt.js +118 -118
- package/dist/plugin/provider/cloudflare-ai-gateway.js +115 -115
- package/dist/plugin/provider/cloudflare-workers-ai.js +115 -115
- package/dist/plugin/provider/cohere.js +2 -2
- package/dist/plugin/provider/configured.js +114 -114
- package/dist/plugin/provider/databricks.js +1 -1
- package/dist/plugin/provider/digitalocean.js +98 -98
- package/dist/plugin/provider/dynamic.js +2 -2
- package/dist/plugin/provider/factory.js +1 -1
- package/dist/plugin/provider/github-copilot.js +100 -100
- package/dist/plugin/provider/gitlab.js +98 -98
- package/dist/plugin/provider/google-vertex.js +115 -115
- package/dist/plugin/provider/kilo.js +1 -1
- package/dist/plugin/provider/llmgateway.js +82 -82
- package/dist/plugin/provider/lmstudio.js +127 -127
- package/dist/plugin/provider/local.js +124 -124
- package/dist/plugin/provider/modal.js +97 -97
- package/dist/plugin/provider/neon.js +1 -1
- package/dist/plugin/provider/nvidia.js +1 -1
- package/dist/plugin/provider/ollama.js +125 -125
- package/dist/plugin/provider/openai-context-caps.js +95 -95
- package/dist/plugin/provider/openai.js +120 -120
- package/dist/plugin/provider/opencode-legacy.js +116 -0
- package/dist/plugin/provider/opencode.js +124 -104
- package/dist/plugin/provider/openrouter.js +96 -96
- package/dist/plugin/provider/perplexity.js +2 -2
- package/dist/plugin/provider/poe.js +83 -83
- package/dist/plugin/provider/prompt-cache-key.js +1 -1
- package/dist/plugin/provider/sap-ai-core.js +96 -96
- package/dist/plugin/provider/sdk-factory.js +1 -1
- package/dist/plugin/provider/snowflake-cortex.js +117 -117
- package/dist/plugin/provider/vercel.js +95 -95
- package/dist/plugin/provider/vllm.js +127 -127
- package/dist/plugin/provider/xai.js +96 -96
- package/dist/plugin/provider/zenmux.js +1 -1
- package/dist/plugin/provider.js +175 -171
- package/dist/plugin/sdk.js +80 -80
- package/dist/plugin/service.js +3 -3
- package/dist/plugin/skill.js +136 -136
- package/dist/plugin/source-directory.js +1 -1
- package/dist/plugin/supervisor.js +356 -354
- package/dist/plugin/tool-input-repair.js +4 -4
- package/dist/plugin/update.js +6 -6
- package/dist/plugin/vcs/git.js +91 -91
- package/dist/plugin/vcs/hg.js +91 -91
- package/dist/plugin/verbosity.js +98 -98
- package/dist/plugin/warming.js +116 -116
- package/dist/plugin/websearch/exa.js +7 -7
- package/dist/plugin/websearch/firecrawl.js +6 -6
- package/dist/plugin/websearch/index.js +9 -9
- package/dist/plugin/websearch/mcp.js +6 -6
- package/dist/plugin/websearch/parallel.js +6 -6
- package/dist/plugin/websearch/tavily.js +4 -4
- package/dist/plugin/websearch/tinyfish.js +8 -8
- package/dist/plugin.js +229 -229
- package/dist/project/schema.js +6 -6
- package/dist/project/sql.js +4 -4
- package/dist/project.js +91 -91
- package/dist/provider.js +104 -104
- package/dist/pty/protocol.js +1 -1
- package/dist/pty/ticket.js +1 -1
- package/dist/pty.js +103 -103
- package/dist/reference/instructions.js +92 -92
- package/dist/reference.js +96 -96
- package/dist/repository-cache.js +86 -86
- package/dist/repository.js +3 -3
- package/dist/ripgrep/binary.js +2 -2
- package/dist/ripgrep.js +100 -100
- package/dist/rpc.js +91 -91
- package/dist/schema.js +1 -1
- package/dist/session/affinity.js +1 -1
- package/dist/session/command.js +78 -78
- package/dist/session/compaction.js +139 -139
- package/dist/session/context.js +167 -167
- package/dist/session/diff.js +93 -93
- 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 +223 -223
- package/dist/session/execution.js +131 -131
- package/dist/session/generate.js +169 -169
- package/dist/session/history.js +13 -13
- package/dist/session/inbox.js +99 -99
- 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 +102 -102
- package/dist/session/message-updater.js +2 -2
- package/dist/session/message.js +1 -1
- package/dist/session/model-request.js +125 -125
- package/dist/session/model-transport.js +9 -9
- package/dist/session/move.js +135 -135
- package/dist/session/projector.js +93 -93
- package/dist/session/prompt.js +110 -110
- package/dist/session/recent-text.js +1 -1
- package/dist/session/revert.js +99 -99
- package/dist/session/run-coordinator.js +3 -3
- package/dist/session/runner/index.js +3 -3
- package/dist/session/runner/llm.js +233 -233
- package/dist/session/runner/max-steps.js +1 -1
- package/dist/session/runner/model.js +105 -105
- package/dist/session/runner/publish-llm-event.js +118 -118
- package/dist/session/runner/retry.js +5 -5
- package/dist/session/runner/step.js +131 -131
- package/dist/session/runner/to-llm-message.js +14 -14
- package/dist/session/schema.js +5 -5
- package/dist/session/session.js +167 -167
- package/dist/session/shell.js +132 -132
- package/dist/session/skill.js +108 -108
- package/dist/session/sql.js +5 -5
- package/dist/session/stats.js +77 -77
- package/dist/session/store.js +89 -89
- package/dist/session/subagent-completion.js +1 -1
- package/dist/session/subagent-job.js +214 -214
- package/dist/session/system-prompt.js +3 -3
- package/dist/session/title.js +171 -171
- package/dist/session/to-session-error.js +117 -117
- package/dist/session/transfer.js +219 -219
- package/dist/session/usage.js +1 -1
- package/dist/session.js +220 -220
- 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 +134 -134
- package/dist/skill/discovery.js +6 -6
- package/dist/skill/instructions.js +112 -112
- package/dist/skill.js +117 -117
- package/dist/snapshot.js +94 -94
- 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 +140 -140
- package/dist/tool/plugin/edit.js +125 -125
- package/dist/tool/plugin/file-diff.js +1 -1
- package/dist/tool/plugin/glob.js +127 -127
- package/dist/tool/plugin/grep.js +129 -129
- package/dist/tool/plugin/mcp-resource.js +129 -129
- package/dist/tool/plugin/opencode.js +114 -114
- package/dist/tool/plugin/patch.js +127 -127
- package/dist/tool/plugin/question.js +108 -108
- package/dist/tool/plugin/read.js +130 -130
- package/dist/tool/plugin/shell.js +219 -219
- package/dist/tool/plugin/skill.js +118 -118
- package/dist/tool/plugin/subagent.js +221 -221
- package/dist/tool/plugin/todo.js +140 -140
- package/dist/tool/plugin/webfetch.js +118 -118
- package/dist/tool/plugin/websearch.js +119 -119
- package/dist/tool/plugin/write.js +127 -127
- package/dist/tool/read-filesystem.js +105 -105
- package/dist/tool/runtime.js +1 -1
- package/dist/tool-output.js +7 -7
- package/dist/tool.js +14 -14
- package/dist/types/config/integration.d.ts +81 -0
- package/dist/types/config/plugin/provider.d.ts +8 -0
- package/dist/types/config.d.ts +7 -0
- package/dist/types/plugin/provider/opencode-legacy.d.ts +69 -0
- package/dist/types/plugin/provider/opencode.d.ts +2 -1
- package/dist/usage-limits.js +93 -93
- 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 +6 -6
- package/dist/v1/config/migrate.js +97 -97
- package/dist/v1/config/permission.js +1 -1
- package/dist/v1/config/plugin.js +1 -1
- package/dist/v1/config/provider-options.js +1 -1
- package/dist/v1/config/provider.js +4 -4
- package/dist/variant.js +98 -98
- package/dist/vcs/patch.js +1 -1
- package/dist/vcs.js +94 -94
- package/dist/voice.js +92 -92
- package/dist/websearch.js +88 -88
- package/dist/wellknown/plugin.js +80 -80
- package/dist/wellknown.js +85 -85
- package/dist/workspace/driver.js +5 -5
- package/dist/workspace/sql.js +1 -1
- package/dist/workspace.js +86 -86
- 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 +94 -94
- package/dist/worktree.js +101 -101
- package/package.json +8 -8
- package/dist/chunks/command-0s5yyc28.js +0 -219
- package/dist/chunks/command-5dwav50q.js +0 -26
- package/dist/chunks/command-eefqnhm8.js +0 -517
- package/dist/chunks/command-me0dhgxs.js +0 -18
- package/dist/chunks/command-xd0mmx4p.js +0 -261
- /package/dist/chunks/{command-0qkdqm5v.js → usage-limits-0qkdqm5v.js} +0 -0
- /package/dist/chunks/{command-0zkw76rk.js → usage-limits-0zkw76rk.js} +0 -0
- /package/dist/chunks/{command-17cy0kzp.js → usage-limits-17cy0kzp.js} +0 -0
- /package/dist/chunks/{command-1cnp2v09.js → usage-limits-1cnp2v09.js} +0 -0
- /package/dist/chunks/{command-24dcb14g.js → usage-limits-24dcb14g.js} +0 -0
- /package/dist/chunks/{command-2710q6r3.js → usage-limits-2710q6r3.js} +0 -0
- /package/dist/chunks/{command-2bv980vf.js → usage-limits-2bv980vf.js} +0 -0
- /package/dist/chunks/{command-2c3vjs8z.js → usage-limits-2c3vjs8z.js} +0 -0
- /package/dist/chunks/{command-359p4xyc.js → usage-limits-359p4xyc.js} +0 -0
- /package/dist/chunks/{command-3asan66x.js → usage-limits-3asan66x.js} +0 -0
- /package/dist/chunks/{command-3v8g72cx.js → usage-limits-3v8g72cx.js} +0 -0
- /package/dist/chunks/{command-3wcehsnq.js → usage-limits-3wcehsnq.js} +0 -0
- /package/dist/chunks/{command-43n2bw4t.js → usage-limits-43n2bw4t.js} +0 -0
- /package/dist/chunks/{command-4knz6hnm.js → usage-limits-4knz6hnm.js} +0 -0
- /package/dist/chunks/{command-4vcrnpx2.js → usage-limits-4vcrnpx2.js} +0 -0
- /package/dist/chunks/{command-4y7fprxs.js → usage-limits-4y7fprxs.js} +0 -0
- /package/dist/chunks/{command-53557ph1.js → usage-limits-53557ph1.js} +0 -0
- /package/dist/chunks/{command-550bvhaj.js → usage-limits-550bvhaj.js} +0 -0
- /package/dist/chunks/{command-5fjb7ams.js → usage-limits-5fjb7ams.js} +0 -0
- /package/dist/chunks/{command-5qd3pb7m.js → usage-limits-5qd3pb7m.js} +0 -0
- /package/dist/chunks/{command-6prwharc.js → usage-limits-6prwharc.js} +0 -0
- /package/dist/chunks/{command-6q2bdcd1.js → usage-limits-6q2bdcd1.js} +0 -0
- /package/dist/chunks/{command-7akdwqpd.js → usage-limits-7akdwqpd.js} +0 -0
- /package/dist/chunks/{command-7m9af43g.js → usage-limits-7m9af43g.js} +0 -0
- /package/dist/chunks/{command-822emrt2.js → usage-limits-822emrt2.js} +0 -0
- /package/dist/chunks/{command-84wd9syh.js → usage-limits-84wd9syh.js} +0 -0
- /package/dist/chunks/{command-88xbtdfr.js → usage-limits-88xbtdfr.js} +0 -0
- /package/dist/chunks/{command-8n3pysct.js → usage-limits-8n3pysct.js} +0 -0
- /package/dist/chunks/{command-8wj87zfr.js → usage-limits-8wj87zfr.js} +0 -0
- /package/dist/chunks/{command-9a4afbnw.js → usage-limits-9a4afbnw.js} +0 -0
- /package/dist/chunks/{command-9rqn6x4v.js → usage-limits-9rqn6x4v.js} +0 -0
- /package/dist/chunks/{command-a058387c.js → usage-limits-a058387c.js} +0 -0
- /package/dist/chunks/{command-a6k6eb26.js → usage-limits-a6k6eb26.js} +0 -0
- /package/dist/chunks/{command-af5trqkr.js → usage-limits-af5trqkr.js} +0 -0
- /package/dist/chunks/{command-afrmfg78.js → usage-limits-afrmfg78.js} +0 -0
- /package/dist/chunks/{command-aqzs7mqg.js → usage-limits-aqzs7mqg.js} +0 -0
- /package/dist/chunks/{command-atq7p7m5.js → usage-limits-atq7p7m5.js} +0 -0
- /package/dist/chunks/{command-bkyjaxrp.js → usage-limits-bkyjaxrp.js} +0 -0
- /package/dist/chunks/{command-bmr6ed5q.js → usage-limits-bmr6ed5q.js} +0 -0
- /package/dist/chunks/{command-cf4snx6d.js → usage-limits-cf4snx6d.js} +0 -0
- /package/dist/chunks/{command-cqv5kn06.js → usage-limits-cqv5kn06.js} +0 -0
- /package/dist/chunks/{command-cvy3z8tj.js → usage-limits-cvy3z8tj.js} +0 -0
- /package/dist/chunks/{command-d9fn303g.js → usage-limits-d9fn303g.js} +0 -0
- /package/dist/chunks/{command-d9jj8t3e.js → usage-limits-d9jj8t3e.js} +0 -0
- /package/dist/chunks/{command-dajrwvna.js → usage-limits-dajrwvna.js} +0 -0
- /package/dist/chunks/{command-dap0rakb.js → usage-limits-dap0rakb.js} +0 -0
- /package/dist/chunks/{command-df08tz66.js → usage-limits-df08tz66.js} +0 -0
- /package/dist/chunks/{command-dy18nga0.js → usage-limits-dy18nga0.js} +0 -0
- /package/dist/chunks/{command-e5kj55wp.js → usage-limits-e5kj55wp.js} +0 -0
- /package/dist/chunks/{command-e73j6tqm.js → usage-limits-e73j6tqm.js} +0 -0
- /package/dist/chunks/{command-ec1grn59.js → usage-limits-ec1grn59.js} +0 -0
- /package/dist/chunks/{command-eh3zwz77.js → usage-limits-eh3zwz77.js} +0 -0
- /package/dist/chunks/{command-emrn6kk6.js → usage-limits-emrn6kk6.js} +0 -0
- /package/dist/chunks/{command-f0mxakyp.js → usage-limits-f0mxakyp.js} +0 -0
- /package/dist/chunks/{command-f6n9ztr4.js → usage-limits-f6n9ztr4.js} +0 -0
- /package/dist/chunks/{command-faypxj3z.js → usage-limits-faypxj3z.js} +0 -0
- /package/dist/chunks/{command-fd410y7t.js → usage-limits-fd410y7t.js} +0 -0
- /package/dist/chunks/{command-g4wezp1m.js → usage-limits-g4wezp1m.js} +0 -0
- /package/dist/chunks/{command-g86h250q.js → usage-limits-g86h250q.js} +0 -0
- /package/dist/chunks/{command-gebd4c9n.js → usage-limits-gebd4c9n.js} +0 -0
- /package/dist/chunks/{command-gftt206x.js → usage-limits-gftt206x.js} +0 -0
- /package/dist/chunks/{command-hcxmzztb.js → usage-limits-hcxmzztb.js} +0 -0
- /package/dist/chunks/{command-hk9envan.js → usage-limits-hk9envan.js} +0 -0
- /package/dist/chunks/{command-j2ntwpah.js → usage-limits-j2ntwpah.js} +0 -0
- /package/dist/chunks/{command-j5zkgpj8.js → usage-limits-j5zkgpj8.js} +0 -0
- /package/dist/chunks/{command-jjkms2e6.js → usage-limits-jjkms2e6.js} +0 -0
- /package/dist/chunks/{command-jr7sbwjy.js → usage-limits-jr7sbwjy.js} +0 -0
- /package/dist/chunks/{command-jwfs4k6c.js → usage-limits-jwfs4k6c.js} +0 -0
- /package/dist/chunks/{command-jwr30sdr.js → usage-limits-jwr30sdr.js} +0 -0
- /package/dist/chunks/{command-jze0r7bz.js → usage-limits-jze0r7bz.js} +0 -0
- /package/dist/chunks/{command-jzg6c2d5.js → usage-limits-jzg6c2d5.js} +0 -0
- /package/dist/chunks/{command-m18g726c.js → usage-limits-m18g726c.js} +0 -0
- /package/dist/chunks/{command-mp448xyj.js → usage-limits-mp448xyj.js} +0 -0
- /package/dist/chunks/{command-msx8hqn2.js → usage-limits-msx8hqn2.js} +0 -0
- /package/dist/chunks/{command-n05xt0ee.js → usage-limits-n05xt0ee.js} +0 -0
- /package/dist/chunks/{command-n3j8tn72.js → usage-limits-n3j8tn72.js} +0 -0
- /package/dist/chunks/{command-njntx4h6.js → usage-limits-njntx4h6.js} +0 -0
- /package/dist/chunks/{command-pkyv6v7h.js → usage-limits-pkyv6v7h.js} +0 -0
- /package/dist/chunks/{command-q3sfg36h.js → usage-limits-q3sfg36h.js} +0 -0
- /package/dist/chunks/{command-q74kybfr.js → usage-limits-q74kybfr.js} +0 -0
- /package/dist/chunks/{command-qaymkmh1.js → usage-limits-qaymkmh1.js} +0 -0
- /package/dist/chunks/{command-qb87gjwd.js → usage-limits-qb87gjwd.js} +0 -0
- /package/dist/chunks/{command-qfa1cgps.js → usage-limits-qfa1cgps.js} +0 -0
- /package/dist/chunks/{command-qg3g05ea.js → usage-limits-qg3g05ea.js} +0 -0
- /package/dist/chunks/{command-qrg20bc0.js → usage-limits-qrg20bc0.js} +0 -0
- /package/dist/chunks/{command-rcb2kzg1.js → usage-limits-rcb2kzg1.js} +0 -0
- /package/dist/chunks/{command-sdp7kfr6.js → usage-limits-sdp7kfr6.js} +0 -0
- /package/dist/chunks/{command-ssg3fenm.js → usage-limits-ssg3fenm.js} +0 -0
- /package/dist/chunks/{command-ve7vex1e.js → usage-limits-ve7vex1e.js} +0 -0
- /package/dist/chunks/{command-w803qqfp.js → usage-limits-w803qqfp.js} +0 -0
- /package/dist/chunks/{command-wc3fc9cn.js → usage-limits-wc3fc9cn.js} +0 -0
- /package/dist/chunks/{command-wer8tq1h.js → usage-limits-wer8tq1h.js} +0 -0
- /package/dist/chunks/{command-wjj7prxr.js → usage-limits-wjj7prxr.js} +0 -0
- /package/dist/chunks/{command-wtztk69x.js → usage-limits-wtztk69x.js} +0 -0
- /package/dist/chunks/{command-x0ckcb58.js → usage-limits-x0ckcb58.js} +0 -0
- /package/dist/chunks/{command-x61499pn.js → usage-limits-x61499pn.js} +0 -0
- /package/dist/chunks/{command-y44na4kk.js → usage-limits-y44na4kk.js} +0 -0
- /package/dist/chunks/{command-y8f7s663.js → usage-limits-y8f7s663.js} +0 -0
- /package/dist/chunks/{command-ygaqb7jw.js → usage-limits-ygaqb7jw.js} +0 -0
- /package/dist/chunks/{command-ym463w8f.js → usage-limits-ym463w8f.js} +0 -0
- /package/dist/chunks/{command-z5v4ffb3.js → usage-limits-z5v4ffb3.js} +0 -0
- /package/dist/chunks/{command-z9919s4g.js → usage-limits-z9919s4g.js} +0 -0
|
@@ -1,57 +1,57 @@
|
|
|
1
1
|
import {
|
|
2
2
|
Service86,
|
|
3
3
|
node90
|
|
4
|
-
} from "./
|
|
4
|
+
} from "./usage-limits-bxpaffak.js";
|
|
5
5
|
import {
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
} from "./
|
|
6
|
+
Service80,
|
|
7
|
+
node84
|
|
8
|
+
} from "./usage-limits-cfjtprja.js";
|
|
9
9
|
import {
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
} from "./
|
|
10
|
+
Service54,
|
|
11
|
+
node57
|
|
12
|
+
} from "./usage-limits-3sph5gmk.js";
|
|
13
13
|
import {
|
|
14
14
|
cleanup3
|
|
15
|
-
} from "./
|
|
15
|
+
} from "./usage-limits-tczq8hjw.js";
|
|
16
16
|
import {
|
|
17
|
-
|
|
17
|
+
Service51,
|
|
18
18
|
args2,
|
|
19
|
-
|
|
20
|
-
} from "./
|
|
19
|
+
node54
|
|
20
|
+
} from "./usage-limits-y4yx52dp.js";
|
|
21
21
|
import {
|
|
22
|
-
|
|
22
|
+
Service74,
|
|
23
23
|
node78
|
|
24
|
-
} from "./
|
|
24
|
+
} from "./usage-limits-n7wnam13.js";
|
|
25
25
|
import {
|
|
26
|
-
|
|
27
|
-
|
|
28
|
-
} from "./
|
|
26
|
+
Service49,
|
|
27
|
+
node52
|
|
28
|
+
} from "./usage-limits-hdvssxsh.js";
|
|
29
29
|
import {
|
|
30
30
|
SessionSchema2
|
|
31
|
-
} from "./
|
|
31
|
+
} from "./usage-limits-vx3jgdek.js";
|
|
32
32
|
import {
|
|
33
33
|
latest2,
|
|
34
|
-
|
|
35
|
-
|
|
36
|
-
} from "./
|
|
34
|
+
Service56,
|
|
35
|
+
node60
|
|
36
|
+
} from "./usage-limits-c4hczych.js";
|
|
37
37
|
import {
|
|
38
38
|
MAX_LINES2,
|
|
39
39
|
MAX_BYTES2
|
|
40
|
-
} from "./
|
|
40
|
+
} from "./usage-limits-a210w1rj.js";
|
|
41
41
|
import {
|
|
42
42
|
__export
|
|
43
|
-
} from "./
|
|
43
|
+
} from "./usage-limits-9rqn6x4v.js";
|
|
44
44
|
|
|
45
45
|
// src/shell.ts
|
|
46
46
|
var exports_shell4 = {};
|
|
47
47
|
__export(exports_shell4, {
|
|
48
48
|
DIRECTORY: () => DIRECTORY2,
|
|
49
|
-
NotFoundError: () =>
|
|
49
|
+
NotFoundError: () => NotFoundError7,
|
|
50
50
|
RETENTION: () => RETENTION2,
|
|
51
|
-
Service: () =>
|
|
51
|
+
Service: () => Service48,
|
|
52
52
|
Shell: () => exports_shell4,
|
|
53
53
|
cleanup: () => cleanup2,
|
|
54
|
-
node: () =>
|
|
54
|
+
node: () => node51
|
|
55
55
|
});
|
|
56
56
|
import path from "path";
|
|
57
57
|
import { Context, Deferred, Duration, Effect, Fiber, Latch, Layer, Schema, Schedule, Stream } from "effect";
|
|
@@ -63,7 +63,7 @@ import { CrossSpawnSpawner } from "@opencode/util/cross-spawn-spawner";
|
|
|
63
63
|
import { makeGlobalNode, makeLocationNode } from "@opencode/util/effect/app-node";
|
|
64
64
|
import { FSUtil } from "@opencode/util/fs-util";
|
|
65
65
|
import { Global } from "@opencode/util/global";
|
|
66
|
-
class
|
|
66
|
+
class NotFoundError7 extends Schema.TaggedError()("Shell.NotFoundError", {
|
|
67
67
|
id: Shell.ID
|
|
68
68
|
}) {
|
|
69
69
|
}
|
|
@@ -71,7 +71,7 @@ var EXITED_LIMIT = 25;
|
|
|
71
71
|
var RETENTION2 = Duration.days(7);
|
|
72
72
|
var DIRECTORY2 = "shell";
|
|
73
73
|
|
|
74
|
-
class
|
|
74
|
+
class Service48 extends Context.Service()("@opencode/Shell") {
|
|
75
75
|
}
|
|
76
76
|
var cleanup2 = Effect.fn("Shell.cleanup")(function* () {
|
|
77
77
|
const fs = yield* FSUtil.Service;
|
|
@@ -87,15 +87,15 @@ var cleanupNode = makeGlobalNode({
|
|
|
87
87
|
layer: cleanupLayer,
|
|
88
88
|
deps: [FSUtil.node, Global.node]
|
|
89
89
|
});
|
|
90
|
-
var layer = () => Layer.effect(
|
|
90
|
+
var layer = () => Layer.effect(Service48, Effect.gen(function* () {
|
|
91
91
|
const bus = yield* Service86;
|
|
92
|
-
const location = yield*
|
|
92
|
+
const location = yield* Service80;
|
|
93
93
|
const global = yield* Global.Service;
|
|
94
|
-
const shell = yield*
|
|
95
|
-
const environment = yield*
|
|
96
|
-
const hooks = yield*
|
|
97
|
-
const environments = yield*
|
|
98
|
-
const config = yield*
|
|
94
|
+
const shell = yield* Service51;
|
|
95
|
+
const environment = yield* Service54;
|
|
96
|
+
const hooks = yield* Service74;
|
|
97
|
+
const environments = yield* Service49;
|
|
98
|
+
const config = yield* Service56;
|
|
99
99
|
const context = yield* Effect.context();
|
|
100
100
|
const runFork = Effect.runForkWith(context);
|
|
101
101
|
const commands = new Map;
|
|
@@ -116,7 +116,7 @@ var layer = () => Layer.effect(Service45, Effect.gen(function* () {
|
|
|
116
116
|
const require2 = Effect.fnUntraced(function* (id) {
|
|
117
117
|
const command = commands.get(id);
|
|
118
118
|
if (!command)
|
|
119
|
-
return yield* new
|
|
119
|
+
return yield* new NotFoundError7({ id });
|
|
120
120
|
return command;
|
|
121
121
|
});
|
|
122
122
|
const removeCommand = Effect.fnUntraced(function* (id) {
|
|
@@ -129,7 +129,7 @@ var layer = () => Layer.effect(Service45, Effect.gen(function* () {
|
|
|
129
129
|
commands.delete(id);
|
|
130
130
|
if (command.timeoutFiber)
|
|
131
131
|
yield* Fiber.interrupt(command.timeoutFiber);
|
|
132
|
-
yield* Deferred.fail(command.done, new
|
|
132
|
+
yield* Deferred.fail(command.done, new NotFoundError7({ id }));
|
|
133
133
|
yield* Effect.promise(() => unlink(command.file).catch(() => {}));
|
|
134
134
|
if (command.info.status === "running")
|
|
135
135
|
yield* bus.publish(Shell.Event.Exited, { id, status: "killed" });
|
|
@@ -336,22 +336,22 @@ var layer = () => Layer.effect(Service45, Effect.gen(function* () {
|
|
|
336
336
|
const command = yield* Deferred.await(ready);
|
|
337
337
|
return command.info;
|
|
338
338
|
});
|
|
339
|
-
return
|
|
339
|
+
return Service48.of({ create, list, get, wait, result, timeout, output, remove });
|
|
340
340
|
}));
|
|
341
|
-
var
|
|
342
|
-
service:
|
|
341
|
+
var node51 = makeLocationNode({
|
|
342
|
+
service: Service48,
|
|
343
343
|
layer: layer(),
|
|
344
344
|
deps: [
|
|
345
345
|
node90,
|
|
346
|
-
|
|
346
|
+
node84,
|
|
347
347
|
Global.node,
|
|
348
|
-
|
|
349
|
-
node80,
|
|
350
|
-
node78,
|
|
351
|
-
node49,
|
|
348
|
+
node54,
|
|
352
349
|
node57,
|
|
350
|
+
node78,
|
|
351
|
+
node52,
|
|
352
|
+
node60,
|
|
353
353
|
cleanupNode
|
|
354
354
|
]
|
|
355
355
|
});
|
|
356
356
|
|
|
357
|
-
export {
|
|
357
|
+
export { NotFoundError7, RETENTION2, DIRECTORY2, Service48, cleanup2, node51, exports_shell4 };
|
|
@@ -1,26 +1,26 @@
|
|
|
1
1
|
import {
|
|
2
2
|
SessionMessage2
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./usage-limits-gftt206x.js";
|
|
4
4
|
import {
|
|
5
5
|
MessageDecodeError2
|
|
6
|
-
} from "./
|
|
6
|
+
} from "./usage-limits-gx0r2313.js";
|
|
7
7
|
import {
|
|
8
8
|
InitializationBlocked2,
|
|
9
9
|
read3
|
|
10
|
-
} from "./
|
|
10
|
+
} from "./usage-limits-jefw9j3y.js";
|
|
11
11
|
import {
|
|
12
12
|
SessionMessageTable2
|
|
13
|
-
} from "./
|
|
13
|
+
} from "./usage-limits-998yhzzq.js";
|
|
14
14
|
import {
|
|
15
15
|
initial2,
|
|
16
16
|
preview3
|
|
17
|
-
} from "./
|
|
17
|
+
} from "./usage-limits-4q1b57yv.js";
|
|
18
18
|
import {
|
|
19
19
|
messageToText2
|
|
20
|
-
} from "./
|
|
20
|
+
} from "./usage-limits-v2r1d0zg.js";
|
|
21
21
|
import {
|
|
22
22
|
__export
|
|
23
|
-
} from "./
|
|
23
|
+
} from "./usage-limits-9rqn6x4v.js";
|
|
24
24
|
|
|
25
25
|
// src/session/history.ts
|
|
26
26
|
var exports_history = {};
|
|
@@ -1,16 +1,16 @@
|
|
|
1
1
|
import {
|
|
2
|
-
|
|
2
|
+
ID13,
|
|
3
3
|
isAISDK2,
|
|
4
4
|
packageName2,
|
|
5
5
|
timeouts2,
|
|
6
6
|
mergeOverlay2
|
|
7
|
-
} from "./
|
|
7
|
+
} from "./usage-limits-aqvd6vz0.js";
|
|
8
8
|
import {
|
|
9
9
|
stringify2
|
|
10
|
-
} from "./
|
|
10
|
+
} from "./usage-limits-5fjb7ams.js";
|
|
11
11
|
import {
|
|
12
12
|
__export
|
|
13
|
-
} from "./
|
|
13
|
+
} from "./usage-limits-9rqn6x4v.js";
|
|
14
14
|
|
|
15
15
|
// src/aisdk.ts
|
|
16
16
|
var exports_aisdk = {};
|
|
@@ -19,7 +19,7 @@ __export(exports_aisdk, {
|
|
|
19
19
|
InitError: () => InitError2,
|
|
20
20
|
Service: () => Service68,
|
|
21
21
|
locationLayer: () => locationLayer2,
|
|
22
|
-
node: () =>
|
|
22
|
+
node: () => node72
|
|
23
23
|
});
|
|
24
24
|
import { makeLocationNode } from "@opencode/util/effect/app-node";
|
|
25
25
|
import { APICallError } from "@ai-sdk/provider";
|
|
@@ -156,7 +156,7 @@ function throughMiddleware(store, send, input, init) {
|
|
|
156
156
|
var HEADER_TIMEOUT_MESSAGE = "Response headers timed out";
|
|
157
157
|
|
|
158
158
|
class InitError2 extends Schema.TaggedError()("AISDK.InitError", {
|
|
159
|
-
providerID:
|
|
159
|
+
providerID: ID13,
|
|
160
160
|
cause: Schema.Defect()
|
|
161
161
|
}) {
|
|
162
162
|
}
|
|
@@ -870,6 +870,6 @@ function providerErrorMessage(error) {
|
|
|
870
870
|
const prefix = error.statusCode === undefined ? "Provider request failed" : `Provider request failed with HTTP ${error.statusCode}`;
|
|
871
871
|
return error.message.trim() !== "" ? error.message : message ?? (code === undefined ? prefix : `${prefix}: ${code}`);
|
|
872
872
|
}
|
|
873
|
-
var
|
|
873
|
+
var node72 = makeLocationNode({ service: Service68, layer: locationLayer2, deps: [] });
|
|
874
874
|
|
|
875
|
-
export { InitError2, Service68, locationLayer2,
|
|
875
|
+
export { InitError2, Service68, locationLayer2, node72, exports_aisdk };
|
|
@@ -1,21 +1,21 @@
|
|
|
1
1
|
import {
|
|
2
2
|
call2
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./usage-limits-w2eysc6j.js";
|
|
4
4
|
import {
|
|
5
5
|
__export
|
|
6
|
-
} from "./
|
|
6
|
+
} from "./usage-limits-9rqn6x4v.js";
|
|
7
7
|
|
|
8
8
|
// src/plugin/websearch/exa.ts
|
|
9
9
|
var exports_exa = {};
|
|
10
10
|
__export(exports_exa, {
|
|
11
|
-
Plugin: () =>
|
|
11
|
+
Plugin: () => Plugin38,
|
|
12
12
|
WebSearchExa: () => exports_exa,
|
|
13
|
-
endpoint: () =>
|
|
13
|
+
endpoint: () => endpoint4
|
|
14
14
|
});
|
|
15
15
|
import { define } from "@opencode/plugin/effect/plugin";
|
|
16
16
|
import { Effect, Schema } from "effect";
|
|
17
17
|
import { HttpClient } from "effect/http";
|
|
18
|
-
var
|
|
18
|
+
var endpoint4 = "https://mcp.exa.ai/mcp";
|
|
19
19
|
var McpInput = Schema.Struct({
|
|
20
20
|
query: Schema.String,
|
|
21
21
|
numResults: Schema.Number.pipe(Schema.optional)
|
|
@@ -27,7 +27,7 @@ var McpOutput = Schema.Struct({
|
|
|
27
27
|
_meta: Schema.Struct({ searchTime: Schema.Number }).pipe(Schema.optional)
|
|
28
28
|
}))
|
|
29
29
|
});
|
|
30
|
-
var
|
|
30
|
+
var Plugin38 = define({
|
|
31
31
|
id: "opencode.websearch.exa",
|
|
32
32
|
effect: Effect.fn("WebSearchExa.Plugin")(function* (ctx) {
|
|
33
33
|
const http = yield* HttpClient.HttpClient;
|
|
@@ -49,7 +49,7 @@ var Plugin2 = define({
|
|
|
49
49
|
execute: (input) => Effect.gen(function* () {
|
|
50
50
|
const connection = yield* ctx.integration.connection.active("exa");
|
|
51
51
|
const credential = connection ? yield* ctx.integration.connection.resolve(connection) : undefined;
|
|
52
|
-
const url = new URL(
|
|
52
|
+
const url = new URL(endpoint4);
|
|
53
53
|
if (credential?.type === "key")
|
|
54
54
|
url.searchParams.set("exaApiKey", credential.key);
|
|
55
55
|
const result = yield* call2(http, url.toString(), "web_search_exa", { input: McpInput, output: McpOutput }, { query: input.query, numResults: 8 });
|
|
@@ -80,4 +80,4 @@ function parseResults(text) {
|
|
|
80
80
|
});
|
|
81
81
|
}
|
|
82
82
|
|
|
83
|
-
export {
|
|
83
|
+
export { endpoint4, Plugin38, exports_exa };
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import {
|
|
2
|
-
|
|
3
|
-
} from "./
|
|
2
|
+
ID7
|
|
3
|
+
} from "./usage-limits-6gf3hhvq.js";
|
|
4
4
|
|
|
5
5
|
// src/plugin/provider/openrouter.ts
|
|
6
6
|
import { Effect } from "effect";
|
|
@@ -21,7 +21,7 @@ var OpenRouterPlugin2 = define({
|
|
|
21
21
|
for (const item of models.provider.list()) {
|
|
22
22
|
if (item.provider.package !== "@opencode/ai/providers/openrouter")
|
|
23
23
|
continue;
|
|
24
|
-
for (const modelID of [
|
|
24
|
+
for (const modelID of [ID7.make("gpt-5-chat-latest"), ID7.make("openai/gpt-5-chat")]) {
|
|
25
25
|
if (!models.get(item.provider.id, modelID))
|
|
26
26
|
continue;
|
|
27
27
|
models.update(item.provider.id, modelID, (model) => {
|
|
@@ -0,0 +1,26 @@
|
|
|
1
|
+
import {
|
|
2
|
+
Plugin38
|
|
3
|
+
} from "./usage-limits-fjz66g9m.js";
|
|
4
|
+
import {
|
|
5
|
+
Plugin39
|
|
6
|
+
} from "./usage-limits-d7s2envm.js";
|
|
7
|
+
import {
|
|
8
|
+
Plugin37
|
|
9
|
+
} from "./usage-limits-wekwn6qz.js";
|
|
10
|
+
import {
|
|
11
|
+
Plugin40
|
|
12
|
+
} from "./usage-limits-hf1c1nxg.js";
|
|
13
|
+
import {
|
|
14
|
+
Plugin36
|
|
15
|
+
} from "./usage-limits-0hkdpjs7.js";
|
|
16
|
+
|
|
17
|
+
// src/plugin/websearch/index.ts
|
|
18
|
+
var WebSearchPlugins2 = [
|
|
19
|
+
Plugin38,
|
|
20
|
+
Plugin39,
|
|
21
|
+
Plugin37,
|
|
22
|
+
Plugin40,
|
|
23
|
+
Plugin36
|
|
24
|
+
];
|
|
25
|
+
|
|
26
|
+
export { WebSearchPlugins2 };
|
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
import {
|
|
2
|
-
|
|
3
|
-
} from "./
|
|
2
|
+
Service54
|
|
3
|
+
} from "./usage-limits-3sph5gmk.js";
|
|
4
4
|
import {
|
|
5
5
|
__export
|
|
6
|
-
} from "./
|
|
6
|
+
} from "./usage-limits-9rqn6x4v.js";
|
|
7
7
|
|
|
8
8
|
// src/mcp/stdio.ts
|
|
9
9
|
var exports_stdio = {};
|
|
@@ -21,7 +21,7 @@ var MAX_FRAME_BYTES = 16 * 1024 * 1024;
|
|
|
21
21
|
var EXIT_WAIT = Duration.seconds(1);
|
|
22
22
|
var STDERR_TAIL = 1000;
|
|
23
23
|
var make2 = Effect.fnUntraced(function* (options) {
|
|
24
|
-
const environment = yield*
|
|
24
|
+
const environment = yield* Service54;
|
|
25
25
|
const scope = yield* Effect.scope;
|
|
26
26
|
const outgoing = yield* Queue.bounded(OUTGOING_CAPACITY);
|
|
27
27
|
const buffer = new ReadBuffer;
|
|
@@ -2,10 +2,10 @@ import {
|
|
|
2
2
|
NotFound3,
|
|
3
3
|
WrongKind2,
|
|
4
4
|
Failed2
|
|
5
|
-
} from "./
|
|
5
|
+
} from "./usage-limits-zkg84ctx.js";
|
|
6
6
|
import {
|
|
7
7
|
__export
|
|
8
|
-
} from "./
|
|
8
|
+
} from "./usage-limits-9rqn6x4v.js";
|
|
9
9
|
|
|
10
10
|
// src/environment/exec-defaults.ts
|
|
11
11
|
var exports_exec_defaults = {};
|
|
@@ -1,29 +1,29 @@
|
|
|
1
1
|
import {
|
|
2
|
-
|
|
3
|
-
} from "./
|
|
2
|
+
Service56
|
|
3
|
+
} from "./usage-limits-c4hczych.js";
|
|
4
4
|
import {
|
|
5
|
-
|
|
6
|
-
} from "./
|
|
5
|
+
Service61
|
|
6
|
+
} from "./usage-limits-qepdakcz.js";
|
|
7
7
|
import {
|
|
8
8
|
observe2
|
|
9
|
-
} from "./
|
|
9
|
+
} from "./usage-limits-6pjqjmy2.js";
|
|
10
10
|
import {
|
|
11
11
|
__export
|
|
12
|
-
} from "./
|
|
12
|
+
} from "./usage-limits-9rqn6x4v.js";
|
|
13
13
|
|
|
14
14
|
// src/config/plugin/image.ts
|
|
15
15
|
var exports_image = {};
|
|
16
16
|
__export(exports_image, {
|
|
17
17
|
ConfigImagePlugin: () => exports_image,
|
|
18
|
-
Plugin: () =>
|
|
18
|
+
Plugin: () => Plugin29
|
|
19
19
|
});
|
|
20
20
|
import { define } from "@opencode/plugin/effect/plugin";
|
|
21
21
|
import { Effect } from "effect";
|
|
22
|
-
var
|
|
22
|
+
var Plugin29 = define({
|
|
23
23
|
id: "opencode.config.image",
|
|
24
24
|
effect: Effect.fn(function* (ctx) {
|
|
25
|
-
const config = yield*
|
|
26
|
-
const image = yield*
|
|
25
|
+
const config = yield* Service56;
|
|
26
|
+
const image = yield* Service61;
|
|
27
27
|
const loaded = yield* observe2(config, ctx.event, image.reload());
|
|
28
28
|
yield* image.transform((editor) => {
|
|
29
29
|
for (const entry of loaded.entries) {
|
|
@@ -43,4 +43,4 @@ var Plugin31 = define({
|
|
|
43
43
|
})
|
|
44
44
|
});
|
|
45
45
|
|
|
46
|
-
export {
|
|
46
|
+
export { Plugin29, exports_image };
|
|
@@ -1,16 +1,16 @@
|
|
|
1
1
|
import {
|
|
2
2
|
AbsolutePath2
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./usage-limits-z5v4ffb3.js";
|
|
4
4
|
import {
|
|
5
5
|
__export
|
|
6
|
-
} from "./
|
|
6
|
+
} from "./usage-limits-9rqn6x4v.js";
|
|
7
7
|
|
|
8
8
|
// src/skill/discovery.ts
|
|
9
9
|
var exports_discovery = {};
|
|
10
10
|
__export(exports_discovery, {
|
|
11
|
-
Service: () =>
|
|
11
|
+
Service: () => Service12,
|
|
12
12
|
SkillDiscovery: () => exports_discovery,
|
|
13
|
-
node: () =>
|
|
13
|
+
node: () => node14
|
|
14
14
|
});
|
|
15
15
|
import path from "path";
|
|
16
16
|
import { Context, Effect, Layer, Schedule, Schema } from "effect";
|
|
@@ -48,9 +48,9 @@ class Index extends Schema.Class("SkillDiscovery.Index")({
|
|
|
48
48
|
}) {
|
|
49
49
|
}
|
|
50
50
|
|
|
51
|
-
class
|
|
51
|
+
class Service12 extends Context.Service()("@opencode/SkillDiscovery") {
|
|
52
52
|
}
|
|
53
|
-
var layer = Layer.effect(
|
|
53
|
+
var layer = Layer.effect(Service12, Effect.gen(function* () {
|
|
54
54
|
const fs = yield* FSUtil.Service;
|
|
55
55
|
const global = yield* Global.Service;
|
|
56
56
|
const http = (yield* HttpClient.HttpClient).pipe(HttpClient.retryTransient({
|
|
@@ -63,7 +63,7 @@ var layer = Layer.effect(Service10, Effect.gen(function* () {
|
|
|
63
63
|
return true;
|
|
64
64
|
return yield* HttpClientRequest.get(url).pipe(http.execute, Effect.flatMap((response) => response.arrayBuffer), Effect.flatMap((body) => fs.writeWithDirs(destination, new Uint8Array(body))), Effect.as(true), Effect.catch((error) => Effect.logError("failed to download skill file", { url, error }).pipe(Effect.as(false))));
|
|
65
65
|
});
|
|
66
|
-
return
|
|
66
|
+
return Service12.of({
|
|
67
67
|
pull: Effect.fn("SkillDiscovery.pull")(function* (url) {
|
|
68
68
|
const base = url.endsWith("/") ? url : `${url}/`;
|
|
69
69
|
const source = new URL(base);
|
|
@@ -150,6 +150,6 @@ var layer = Layer.effect(Service10, Effect.gen(function* () {
|
|
|
150
150
|
})
|
|
151
151
|
});
|
|
152
152
|
}));
|
|
153
|
-
var
|
|
153
|
+
var node14 = makeGlobalNode({ service: Service12, layer, deps: [httpClient, FSUtil.node, Global.node] });
|
|
154
154
|
|
|
155
|
-
export {
|
|
155
|
+
export { Service12, node14, exports_discovery };
|
|
@@ -4,43 +4,43 @@ import {
|
|
|
4
4
|
normalizeContent2,
|
|
5
5
|
normalizedName2,
|
|
6
6
|
effectiveName2
|
|
7
|
-
} from "./
|
|
7
|
+
} from "./usage-limits-5fjb7ams.js";
|
|
8
8
|
import {
|
|
9
9
|
create2,
|
|
10
10
|
catalog2
|
|
11
|
-
} from "./
|
|
11
|
+
} from "./usage-limits-4xvmh7wp.js";
|
|
12
12
|
import {
|
|
13
13
|
create3
|
|
14
|
-
} from "./
|
|
14
|
+
} from "./usage-limits-vd3b3yk9.js";
|
|
15
15
|
import {
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
} from "./
|
|
16
|
+
Service61,
|
|
17
|
+
node65
|
|
18
|
+
} from "./usage-limits-qepdakcz.js";
|
|
19
19
|
import {
|
|
20
|
-
|
|
20
|
+
Service74,
|
|
21
21
|
node78
|
|
22
|
-
} from "./
|
|
22
|
+
} from "./usage-limits-n7wnam13.js";
|
|
23
23
|
import {
|
|
24
24
|
match2
|
|
25
|
-
} from "./
|
|
25
|
+
} from "./usage-limits-z38nccrw.js";
|
|
26
26
|
import {
|
|
27
27
|
__export
|
|
28
|
-
} from "./
|
|
28
|
+
} from "./usage-limits-9rqn6x4v.js";
|
|
29
29
|
|
|
30
30
|
// src/tool.ts
|
|
31
31
|
var exports_tool = {};
|
|
32
32
|
__export(exports_tool, {
|
|
33
33
|
CallID: () => CallID2,
|
|
34
34
|
Content: () => Content3,
|
|
35
|
-
Error: () =>
|
|
35
|
+
Error: () => Error5,
|
|
36
36
|
FileContent: () => FileContent3,
|
|
37
37
|
RegistrationError: () => RegistrationError2,
|
|
38
|
-
Service: () =>
|
|
38
|
+
Service: () => Service60,
|
|
39
39
|
TextContent: () => TextContent2,
|
|
40
40
|
Tool: () => exports_tool,
|
|
41
|
-
node: () =>
|
|
41
|
+
node: () => node64
|
|
42
42
|
});
|
|
43
|
-
import { CallID as CallID2, Content as Content3, Error as
|
|
43
|
+
import { CallID as CallID2, Content as Content3, Error as Error5, FileContent as FileContent3, TextContent as TextContent2 } from "@opencode/schema/tool";
|
|
44
44
|
import { ToolDefinition } from "@opencode/ai/effect";
|
|
45
45
|
import { Tool } from "@opencode/schema/tool";
|
|
46
46
|
import { Context, Effect, Layer, Result, Schema, SchemaIssue } from "effect";
|
|
@@ -51,11 +51,11 @@ class RegistrationError2 extends Schema.TaggedError()("Tool.RegistrationError",
|
|
|
51
51
|
}) {
|
|
52
52
|
}
|
|
53
53
|
|
|
54
|
-
class
|
|
54
|
+
class Service60 extends Context.Service()("@opencode/Tool") {
|
|
55
55
|
}
|
|
56
|
-
var layer = Layer.effect(
|
|
57
|
-
const hooks = yield*
|
|
58
|
-
const image = yield*
|
|
56
|
+
var layer = Layer.effect(Service60, Effect.gen(function* () {
|
|
57
|
+
const hooks = yield* Service74;
|
|
58
|
+
const image = yield* Service61;
|
|
59
59
|
const normalizeImages = Effect.fnUntraced(function* (content) {
|
|
60
60
|
const normalized = yield* Effect.forEach(content, (item) => {
|
|
61
61
|
if (item.type !== "file" || !item.mime.startsWith("image/"))
|
|
@@ -198,7 +198,7 @@ var layer = Layer.effect(Service73, Effect.gen(function* () {
|
|
|
198
198
|
}), { discard: true });
|
|
199
199
|
}
|
|
200
200
|
});
|
|
201
|
-
return
|
|
201
|
+
return Service60.of({
|
|
202
202
|
transform: state.transform,
|
|
203
203
|
reload: state.reload,
|
|
204
204
|
list: () => Effect.sync(() => Array.from(state.get().tools.values())),
|
|
@@ -293,10 +293,10 @@ function namespaceError(name) {
|
|
|
293
293
|
return;
|
|
294
294
|
return new RegistrationError2({ name, message: `Invalid tool namespace: ${JSON.stringify(name)}` });
|
|
295
295
|
}
|
|
296
|
-
var
|
|
297
|
-
service:
|
|
296
|
+
var node64 = makeLocationNode({
|
|
297
|
+
service: Service60,
|
|
298
298
|
layer,
|
|
299
|
-
deps: [node78,
|
|
299
|
+
deps: [node78, node65]
|
|
300
300
|
});
|
|
301
301
|
|
|
302
|
-
export { RegistrationError2,
|
|
302
|
+
export { RegistrationError2, Service60, node64, exports_tool, CallID2, Content3, Error5, FileContent3, TextContent2 };
|