@opencode/core 0.0.0-dev-21820 → 0.0.0-dev-21821
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 +100 -100
- package/dist/app.js +9 -9
- package/dist/bus.js +73 -73
- package/dist/chunks/{usage-limits-034tev2y.js → state-034tev2y.js} +2 -2
- package/dist/chunks/{usage-limits-2fghwe76.js → state-06nwrmf6.js} +13 -13
- package/dist/chunks/{usage-limits-8y4jps98.js → state-06w9ffrv.js} +7 -7
- package/dist/chunks/{usage-limits-052mqgew.js → state-0af46afc.js} +9 -9
- package/dist/chunks/{usage-limits-cvxbw3ks.js → state-0cwttbeb.js} +24 -24
- package/dist/chunks/{usage-limits-qqa1433q.js → state-0czbrqz1.js} +42 -42
- package/dist/chunks/{usage-limits-hngxbr5f.js → state-0gcad0bv.js} +6 -6
- package/dist/chunks/{usage-limits-43tvqsb6.js → state-0me3cbze.js} +30 -30
- package/dist/chunks/{usage-limits-3rszrfa9.js → state-0zn7pq1y.js} +8 -8
- package/dist/chunks/{usage-limits-9c88vk2a.js → state-12k1n0af.js} +15 -15
- package/dist/chunks/{usage-limits-7z0r3bs7.js → state-15n1g7v8.js} +12 -12
- package/dist/chunks/{usage-limits-zv0vsyec.js → state-1arg9991.js} +11 -11
- package/dist/chunks/{usage-limits-3sph5gmk.js → state-1c10trcx.js} +24 -24
- package/dist/chunks/{usage-limits-1ep2p91f.js → state-1ep2p91f.js} +2 -2
- package/dist/chunks/{usage-limits-1x2knyw4.js → state-1x2knyw4.js} +1 -1
- package/dist/chunks/state-21kyany4.js +261 -0
- package/dist/chunks/state-28779zxv.js +26 -0
- package/dist/chunks/{usage-limits-zszhs1ry.js → state-2kxtsxrk.js} +3 -3
- package/dist/chunks/{usage-limits-f9nfcqdq.js → state-2ppa869z.js} +7 -7
- package/dist/chunks/{usage-limits-bnndz809.js → state-2pqdxqk3.js} +8 -8
- package/dist/chunks/{usage-limits-xz2v9wfs.js → state-2rqvw2mf.js} +30 -30
- package/dist/chunks/{usage-limits-ggf2j3cc.js → state-2v7qkbf0.js} +22 -22
- package/dist/chunks/{usage-limits-2z1j29yd.js → state-2z1j29yd.js} +1 -1
- package/dist/chunks/{usage-limits-6gf3hhvq.js → state-30b52wnj.js} +30 -30
- package/dist/chunks/{usage-limits-ewc6z4rh.js → state-33rsf8jw.js} +34 -34
- package/dist/chunks/{usage-limits-d7s2envm.js → state-3dsdetck.js} +9 -9
- package/dist/chunks/{usage-limits-3hepkmqq.js → state-3hepkmqq.js} +1 -1
- package/dist/chunks/{usage-limits-3nnrz6f6.js → state-3nnrz6f6.js} +1 -1
- package/dist/chunks/{usage-limits-4h4hk51q.js → state-3tmwm9va.js} +4 -4
- package/dist/chunks/{usage-limits-w2eysc6j.js → state-40za9wsf.js} +9 -9
- package/dist/chunks/{usage-limits-0z6c2se0.js → state-4349p72q.js} +46 -46
- package/dist/chunks/{usage-limits-44asjrm9.js → state-44asjrm9.js} +3 -3
- package/dist/chunks/{usage-limits-ghztajqa.js → state-49chts1v.js} +20 -20
- package/dist/chunks/{usage-limits-x02d0s8b.js → state-49xna53c.js} +5 -5
- package/dist/chunks/{usage-limits-ey1djyv9.js → state-4awm4drz.js} +10 -10
- package/dist/chunks/{usage-limits-zqhzzkgw.js → state-4c4w8c1g.js} +3 -3
- package/dist/chunks/{usage-limits-1teq0rja.js → state-4eknyzsm.js} +3 -3
- package/dist/chunks/{usage-limits-rrme742e.js → state-4k1t9mxy.js} +13 -13
- package/dist/chunks/{usage-limits-ypcrvbc5.js → state-4kpnky1c.js} +8 -8
- package/dist/chunks/{usage-limits-94a8q2nd.js → state-4nw1g1b0.js} +12 -12
- package/dist/chunks/{usage-limits-bxpaffak.js → state-4p9b4r2p.js} +4 -4
- package/dist/chunks/{usage-limits-4q1b57yv.js → state-4q1b57yv.js} +4 -4
- package/dist/chunks/{usage-limits-4v008n1t.js → state-4v008n1t.js} +1 -1
- package/dist/chunks/{usage-limits-2zqc5m45.js → state-4vmx2553.js} +32 -32
- package/dist/chunks/{usage-limits-gk7spenk.js → state-4xa8m40g.js} +24 -24
- package/dist/chunks/{usage-limits-4xvmh7wp.js → state-4xvmh7wp.js} +3 -3
- package/dist/chunks/{usage-limits-dv889aa0.js → state-4z26ga1z.js} +19 -19
- package/dist/chunks/{usage-limits-k9vn056m.js → state-503es954.js} +13 -13
- package/dist/chunks/{usage-limits-b8qrkhky.js → state-51j4br5n.js} +25 -25
- package/dist/chunks/{usage-limits-f0tpkmet.js → state-54kk5jnt.js} +32 -32
- package/dist/chunks/{usage-limits-zf9hj4sn.js → state-5bbtdh0c.js} +19 -19
- package/dist/chunks/{usage-limits-cfjtprja.js → state-5ez0dp37.js} +16 -16
- package/dist/chunks/{usage-limits-5m9w47nd.js → state-5m9w47nd.js} +1 -1
- package/dist/chunks/{usage-limits-d2k9ndpk.js → state-5t1vec6f.js} +16 -16
- package/dist/chunks/{usage-limits-whf27mzz.js → state-5x6g3p31.js} +17 -17
- package/dist/chunks/{usage-limits-bjhzkqyk.js → state-61ennm6n.js} +4 -4
- package/dist/chunks/{usage-limits-njkmhayd.js → state-6avyng2x.js} +6 -6
- package/dist/chunks/{usage-limits-6esdw8yj.js → state-6esdw8yj.js} +1 -1
- package/dist/chunks/{usage-limits-6pjqjmy2.js → state-6pjqjmy2.js} +1 -1
- package/dist/chunks/{usage-limits-m304ba9t.js → state-70bbkc3v.js} +3 -3
- package/dist/chunks/{usage-limits-skwsegzf.js → state-73sjrw23.js} +16 -16
- package/dist/chunks/{usage-limits-76cb1hcw.js → state-76cb1hcw.js} +1 -1
- package/dist/chunks/{usage-limits-dj80dh0k.js → state-771e9tr6.js} +3 -3
- package/dist/chunks/{usage-limits-kkayz510.js → state-77xnrh6j.js} +4 -4
- package/dist/chunks/{usage-limits-7bmhse3q.js → state-7bmhse3q.js} +1 -1
- package/dist/chunks/{usage-limits-b3mwsdc9.js → state-7qcnp0x1.js} +11 -11
- package/dist/chunks/{usage-limits-aj1nzrgt.js → state-7va89kx5.js} +11 -11
- package/dist/chunks/{usage-limits-7w2ypzdf.js → state-7w2ypzdf.js} +1 -1
- package/dist/chunks/{usage-limits-wzb86tnv.js → state-80e17k03.js} +16 -16
- package/dist/chunks/{usage-limits-3fgjz1qb.js → state-80jbgczm.js} +16 -16
- package/dist/chunks/{usage-limits-hycwzgsh.js → state-81jtk0d4.js} +21 -21
- package/dist/chunks/{usage-limits-s78dgp47.js → state-8371pj2x.js} +6 -6
- package/dist/chunks/{usage-limits-qv7y9773.js → state-87s5319w.js} +4 -4
- package/dist/chunks/{usage-limits-qepdakcz.js → state-8csxm7jm.js} +9 -9
- package/dist/chunks/{usage-limits-8wtp7s3z.js → state-8wtp7s3z.js} +1 -1
- package/dist/chunks/{usage-limits-6ha7pnwq.js → state-8zstk8sy.js} +27 -27
- package/dist/chunks/{usage-limits-pq70gwcm.js → state-90c15hge.js} +15 -15
- package/dist/chunks/{usage-limits-91rj84md.js → state-91rj84md.js} +1 -1
- package/dist/chunks/{usage-limits-vn79cqmx.js → state-94q7ag8d.js} +23 -23
- package/dist/chunks/{usage-limits-a210w1rj.js → state-963r0pdn.js} +11 -11
- package/dist/chunks/{usage-limits-nmhe9dy6.js → state-972xsrgc.js} +7 -7
- package/dist/chunks/{usage-limits-f7r22wb4.js → state-992fen1c.js} +46 -46
- package/dist/chunks/{usage-limits-998yhzzq.js → state-998yhzzq.js} +3 -3
- package/dist/chunks/state-99dpys38.js +517 -0
- package/dist/chunks/{usage-limits-qn0rjxfc.js → state-9bgr5st8.js} +11 -11
- package/dist/chunks/{usage-limits-9cx9sm2q.js → state-9cx9sm2q.js} +1 -1
- package/dist/chunks/{usage-limits-3ntsf9a0.js → state-9zkm52pa.js} +26 -26
- package/dist/chunks/state-a610t88q.js +18 -0
- package/dist/chunks/{usage-limits-s5c3tv3b.js → state-acqd5mw7.js} +16 -16
- package/dist/chunks/{usage-limits-whwnz90f.js → state-adc3yk6d.js} +18 -18
- package/dist/chunks/{usage-limits-rx4h7akj.js → state-adchpjjx.js} +16 -16
- package/dist/chunks/{usage-limits-efwjs4bb.js → state-ady00g1q.js} +14 -14
- package/dist/chunks/{usage-limits-a4xckjr4.js → state-aev3k5yp.js} +13 -13
- package/dist/chunks/{usage-limits-mrss2ga5.js → state-amh70zsf.js} +42 -42
- package/dist/chunks/{usage-limits-ax80y17w.js → state-ay9v92pn.js} +4 -4
- package/dist/chunks/{usage-limits-ayjs7tqn.js → state-ayjs7tqn.js} +2 -2
- package/dist/chunks/{usage-limits-b0mv4wxm.js → state-b0mv4wxm.js} +2 -2
- package/dist/chunks/{usage-limits-b6vsg801.js → state-b6vsg801.js} +2 -2
- package/dist/chunks/{usage-limits-6q2t9e19.js → state-b7jmvbzq.js} +20 -20
- package/dist/chunks/{usage-limits-nm3cbc6x.js → state-b945bzec.js} +12 -12
- package/dist/chunks/{usage-limits-7pg880mj.js → state-bfs9yhh1.js} +23 -23
- package/dist/chunks/{usage-limits-km6kdywk.js → state-bha90fza.js} +28 -28
- package/dist/chunks/{usage-limits-2z573b49.js → state-bktwhx9z.js} +21 -21
- package/dist/chunks/{usage-limits-t211gxpv.js → state-br0kkpnn.js} +7 -7
- package/dist/chunks/{usage-limits-xd9cc171.js → state-bstexjd6.js} +5 -5
- package/dist/chunks/{usage-limits-9cbnrx2n.js → state-c4970w7t.js} +6 -6
- package/dist/chunks/{usage-limits-2rwv1cer.js → state-c5stsejj.js} +54 -54
- package/dist/chunks/{usage-limits-rby583qs.js → state-c8gsdbv5.js} +11 -11
- package/dist/chunks/{usage-limits-ma15yhyh.js → state-ce5fknq2.js} +5 -5
- package/dist/chunks/{usage-limits-ac4t24sd.js → state-ceyjc8ge.js} +26 -26
- package/dist/chunks/{usage-limits-27bs79w9.js → state-ch4a6gtw.js} +2 -2
- package/dist/chunks/{usage-limits-3agpfbf6.js → state-cypkeheb.js} +17 -17
- package/dist/chunks/{usage-limits-g9arxaec.js → state-d4ba0d7d.js} +8 -8
- package/dist/chunks/{usage-limits-d4v9tmah.js → state-d4v9tmah.js} +2 -2
- package/dist/chunks/{usage-limits-0sbjk12p.js → state-d7fjdp3y.js} +18 -18
- package/dist/chunks/{usage-limits-yg4mp0v5.js → state-dad9fjtp.js} +2 -2
- package/dist/chunks/{usage-limits-6jrjvs1q.js → state-djjzzs3c.js} +6 -6
- package/dist/chunks/{usage-limits-07jy34sd.js → state-dta660tg.js} +13 -13
- package/dist/chunks/{usage-limits-0yhksvcd.js → state-dyf500ns.js} +19 -19
- package/dist/chunks/{usage-limits-k02002gh.js → state-dzff6n8n.js} +10 -10
- package/dist/chunks/{usage-limits-e07q2w5p.js → state-e07q2w5p.js} +1 -1
- package/dist/chunks/{usage-limits-e834z07m.js → state-e834z07m.js} +1 -1
- package/dist/chunks/{usage-limits-tnkagvdq.js → state-e9rg68ej.js} +2 -2
- package/dist/chunks/{usage-limits-ebn47abq.js → state-efrp7n2x.js} +11 -11
- package/dist/chunks/{usage-limits-vk32b34p.js → state-emxrw28n.js} +1 -1
- package/dist/chunks/{usage-limits-q0hvv05t.js → state-evc2jewf.js} +13 -13
- package/dist/chunks/{usage-limits-37qjwjg3.js → state-ew0y3ary.js} +31 -31
- package/dist/chunks/{usage-limits-tyhzfa9z.js → state-exhg2pyt.js} +13 -13
- package/dist/chunks/{usage-limits-e9gy876p.js → state-f0kzxy20.js} +22 -22
- package/dist/chunks/{usage-limits-4jvqj91g.js → state-f9aw19jy.js} +12 -12
- package/dist/chunks/{usage-limits-pz2vpapy.js → state-fa13985z.js} +6 -6
- package/dist/chunks/{usage-limits-fffv3p7h.js → state-fffv3p7h.js} +1 -1
- package/dist/chunks/{usage-limits-z59pzgfn.js → state-fhr2s1er.js} +17 -17
- package/dist/chunks/{usage-limits-8h5h53em.js → state-fw65n7rt.js} +25 -25
- package/dist/chunks/{usage-limits-emsb7nrx.js → state-g3azxf0z.js} +19 -19
- package/dist/chunks/{usage-limits-hp0kf9qk.js → state-g3kbmw45.js} +35 -35
- package/dist/chunks/{usage-limits-g5h9c0rr.js → state-g5h9c0rr.js} +2 -2
- package/dist/chunks/{usage-limits-85tnhsr5.js → state-gdb2frqz.js} +1 -1
- package/dist/chunks/{usage-limits-bbaqhw4f.js → state-gfjw3g11.js} +34 -34
- package/dist/chunks/{usage-limits-h5qan5zz.js → state-ggp1yva8.js} +8 -8
- package/dist/chunks/{usage-limits-m8nbymbg.js → state-gmbrqcch.js} +21 -21
- package/dist/chunks/{usage-limits-fr1v3ke2.js → state-gnqjpr12.js} +3 -3
- package/dist/chunks/{usage-limits-f3jntyhm.js → state-gp8afgt9.js} +35 -35
- package/dist/chunks/{usage-limits-e3hyq533.js → state-gtxfg6p1.js} +14 -14
- package/dist/chunks/{usage-limits-aqvd6vz0.js → state-gtz18rwj.js} +26 -26
- package/dist/chunks/{usage-limits-j8tswv6e.js → state-gvr1nqb0.js} +16 -16
- package/dist/chunks/{usage-limits-wn7kwqy9.js → state-h1ps7867.js} +16 -16
- package/dist/chunks/{usage-limits-4tqs0jzk.js → state-h3b857xk.js} +4 -4
- package/dist/chunks/{usage-limits-tvxkwhzj.js → state-h54749ae.js} +7 -7
- package/dist/chunks/{usage-limits-3mw19qy8.js → state-h5tcmygr.js} +34 -34
- package/dist/chunks/{usage-limits-45j1dh4w.js → state-h7wan55b.js} +14 -14
- package/dist/chunks/{usage-limits-ycbqeg09.js → state-hb48s5x4.js} +23 -23
- package/dist/chunks/{usage-limits-e2x7gzav.js → state-hdfrs5mg.js} +7 -7
- package/dist/chunks/{usage-limits-f7bvh908.js → state-hdnjkj1d.js} +19 -19
- package/dist/chunks/{usage-limits-qdpm05xk.js → state-hjqfsptq.js} +4 -4
- package/dist/chunks/{usage-limits-78p57jmb.js → state-hq40j3p6.js} +48 -48
- package/dist/chunks/{usage-limits-6qx2exdt.js → state-hqncm972.js} +8 -8
- package/dist/chunks/{usage-limits-ydj2t2r9.js → state-hta0w01s.js} +149 -149
- package/dist/chunks/{usage-limits-fjz66g9m.js → state-hvwvq3df.js} +8 -8
- package/dist/chunks/{usage-limits-160yv0cs.js → state-hy8c1z76.js} +8 -8
- package/dist/chunks/{usage-limits-gycv8rtq.js → state-j02e2ssa.js} +23 -23
- package/dist/chunks/{usage-limits-j113cymg.js → state-j113cymg.js} +1 -1
- package/dist/chunks/{usage-limits-1nr9fzax.js → state-j9e6sx0d.js} +9 -9
- package/dist/chunks/{usage-limits-jefw9j3y.js → state-jefw9j3y.js} +1 -1
- package/dist/chunks/{usage-limits-cbc4taa6.js → state-jfeae8gq.js} +11 -11
- package/dist/chunks/{usage-limits-hdvssxsh.js → state-jjx6aha5.js} +8 -8
- package/dist/chunks/{usage-limits-gy0tz9ap.js → state-jrwc8w57.js} +15 -15
- package/dist/chunks/{usage-limits-ngakgrqq.js → state-jt25wn2n.js} +9 -9
- package/dist/chunks/{usage-limits-p2hj6cy1.js → state-jvnvsvj6.js} +18 -18
- package/dist/chunks/{usage-limits-bbrx00jz.js → state-k0jqhfwc.js} +14 -14
- package/dist/chunks/{usage-limits-k814nvkf.js → state-k814nvkf.js} +1 -1
- package/dist/chunks/{usage-limits-726yah4h.js → state-k8m6h63c.js} +9 -9
- package/dist/chunks/{usage-limits-kbdzx3mw.js → state-kbdzx3mw.js} +5 -5
- package/dist/chunks/{usage-limits-kt3bjfbg.js → state-kt3bjfbg.js} +1 -1
- package/dist/chunks/{usage-limits-m1714858.js → state-m1714858.js} +1 -1
- package/dist/chunks/{usage-limits-27s7w8ge.js → state-m1w08pzq.js} +35 -35
- package/dist/chunks/{usage-limits-xctymaxe.js → state-m4cs48c6.js} +44 -44
- package/dist/chunks/{usage-limits-m9w0rfyh.js → state-m9w0rfyh.js} +1 -1
- package/dist/chunks/{usage-limits-maspj1v3.js → state-maspj1v3.js} +1 -1
- package/dist/chunks/{usage-limits-yxemhy2w.js → state-mdn8gtgh.js} +25 -25
- package/dist/chunks/{usage-limits-zgt5j0h2.js → state-mj0wev1x.js} +8 -8
- package/dist/chunks/{usage-limits-ke16v9kv.js → state-mpd21h1g.js} +11 -11
- package/dist/chunks/{usage-limits-egmw08v6.js → state-mqcadzqw.js} +5 -5
- package/dist/chunks/{usage-limits-g3h8dgtz.js → state-mwta5nj0.js} +4 -4
- package/dist/chunks/{usage-limits-vx3jgdek.js → state-mzbswx4t.js} +3 -3
- package/dist/chunks/{usage-limits-ctt8qbk9.js → state-n1qenrmb.js} +6 -6
- package/dist/chunks/{usage-limits-atx9ncrc.js → state-n8emybve.js} +14 -14
- package/dist/chunks/{usage-limits-nah043kf.js → state-nah043kf.js} +1 -1
- package/dist/chunks/{usage-limits-5hahrjda.js → state-ncs6r1yk.js} +13 -13
- package/dist/chunks/{usage-limits-zzjqjb6m.js → state-nqykckqs.js} +23 -23
- package/dist/chunks/{usage-limits-p015t6z3.js → state-p015t6z3.js} +2 -2
- package/dist/chunks/{usage-limits-a3qfv0hd.js → state-p02wxyye.js} +52 -52
- package/dist/chunks/{usage-limits-c4hczych.js → state-p5k0b6xz.js} +44 -44
- package/dist/chunks/{usage-limits-1yq9hg58.js → state-p7vhpwh8.js} +5 -5
- package/dist/chunks/{usage-limits-kb2r74xq.js → state-pbrfva61.js} +9 -9
- package/dist/chunks/{usage-limits-pjwfm23k.js → state-pjwfm23k.js} +3 -3
- package/dist/chunks/{usage-limits-pknna89w.js → state-pknna89w.js} +1 -1
- package/dist/chunks/{usage-limits-2p2332jf.js → state-pr30wrsr.js} +3 -3
- package/dist/chunks/{usage-limits-j3xzkfr8.js → state-ptmtz89k.js} +21 -21
- package/dist/chunks/{usage-limits-xf86h4sa.js → state-q52p07dj.js} +5 -5
- package/dist/chunks/{usage-limits-mrsa6jkf.js → state-q5wyhmvf.js} +15 -15
- package/dist/chunks/{usage-limits-dy2frryf.js → state-q6n1xzyn.js} +88 -88
- package/dist/chunks/{usage-limits-cspetaqy.js → state-q8ydsxx6.js} +7 -7
- package/dist/chunks/{usage-limits-1qtqz3f2.js → state-qg5qwe27.js} +87 -87
- package/dist/chunks/{usage-limits-ysd28b92.js → state-qgrec3y3.js} +43 -43
- package/dist/chunks/{usage-limits-hgnysbnx.js → state-qkreem8c.js} +70 -70
- package/dist/chunks/{usage-limits-gx0r2313.js → state-qxq90j3e.js} +6 -6
- package/dist/chunks/{usage-limits-8bc2ahr8.js → state-qyq8h28g.js} +3 -3
- package/dist/chunks/{usage-limits-r0yr0wbs.js → state-r0yr0wbs.js} +1 -1
- package/dist/chunks/{usage-limits-fdhstezy.js → state-r2y2r2h5.js} +10 -10
- package/dist/chunks/{usage-limits-r542h3bh.js → state-r542h3bh.js} +1 -1
- package/dist/chunks/{usage-limits-0pa66m09.js → state-r67xb15b.js} +2 -2
- package/dist/chunks/{usage-limits-rb9dy4dg.js → state-rb9dy4dg.js} +1 -1
- package/dist/chunks/{usage-limits-6bv7yxz5.js → state-rcsw1nba.js} +29 -29
- package/dist/chunks/{usage-limits-8m3evvpt.js → state-rddythdj.js} +11 -11
- package/dist/chunks/{usage-limits-taacwnvm.js → state-rdrpd67x.js} +5 -5
- package/dist/chunks/{usage-limits-eterkqt0.js → state-rercxft0.js} +32 -32
- package/dist/chunks/{usage-limits-ex7z9m54.js → state-rfhngetd.js} +2 -2
- package/dist/chunks/{usage-limits-0hkdpjs7.js → state-rpazx2zk.js} +14 -14
- package/dist/chunks/{usage-limits-rt5dr6hb.js → state-rt5dr6hb.js} +1 -1
- package/dist/chunks/{usage-limits-wekwn6qz.js → state-rt6z3ksq.js} +6 -6
- package/dist/chunks/{usage-limits-arwkaxws.js → state-rvpcsj93.js} +21 -21
- package/dist/chunks/{usage-limits-d0h5jp63.js → state-s4fqh25a.js} +30 -30
- package/dist/chunks/{usage-limits-r7a84vp7.js → state-s81f7mnr.js} +24 -24
- package/dist/chunks/{usage-limits-sa3fpqfw.js → state-sa3fpqfw.js} +2 -2
- package/dist/chunks/{usage-limits-r4czht1g.js → state-scz350ws.js} +18 -18
- package/dist/chunks/{usage-limits-y4yx52dp.js → state-sf02nxf4.js} +19 -19
- package/dist/chunks/{usage-limits-989aym0q.js → state-sjc7ghj1.js} +6 -6
- package/dist/chunks/{usage-limits-sqjzf8x2.js → state-sqjzf8x2.js} +1 -1
- package/dist/chunks/{usage-limits-ssfehs1z.js → state-ssfehs1z.js} +1 -1
- package/dist/chunks/{usage-limits-gqa6c0dc.js → state-st147jaz.js} +17 -17
- package/dist/chunks/{usage-limits-szcgc7h4.js → state-szcgc7h4.js} +2 -2
- package/dist/chunks/{usage-limits-1pfjjcy6.js → state-ta944qmn.js} +28 -28
- package/dist/chunks/{usage-limits-tczq8hjw.js → state-tczq8hjw.js} +1 -1
- package/dist/chunks/{usage-limits-aebkqpzg.js → state-tm5er3st.js} +10 -10
- package/dist/chunks/{usage-limits-k680cdq8.js → state-tmt05c3b.js} +11 -11
- package/dist/chunks/{usage-limits-ntm28ryz.js → state-tr3b758d.js} +18 -18
- package/dist/chunks/{usage-limits-sqz0nt1s.js → state-tv6f3a3e.js} +21 -21
- package/dist/chunks/{usage-limits-twv2r8f4.js → state-twv2r8f4.js} +2 -2
- package/dist/chunks/{usage-limits-v2r1d0zg.js → state-v2r1d0zg.js} +1 -1
- package/dist/chunks/{usage-limits-7qj4kw2w.js → state-vcckamen.js} +27 -27
- package/dist/chunks/{usage-limits-vd3b3yk9.js → state-vd3b3yk9.js} +1 -1
- package/dist/chunks/{usage-limits-veqvce7d.js → state-veqvce7d.js} +1 -1
- package/dist/chunks/{usage-limits-tpm1qpxt.js → state-vgk61ywp.js} +9 -9
- package/dist/chunks/{usage-limits-648wsnpr.js → state-vj4r112x.js} +16 -16
- package/dist/chunks/{usage-limits-hf1c1nxg.js → state-vnxcbc78.js} +5 -5
- package/dist/chunks/{usage-limits-gcjdgkn2.js → state-vrcsa8qx.js} +9 -9
- package/dist/chunks/{usage-limits-exp5mnmq.js → state-vyycp0en.js} +4 -4
- package/dist/chunks/{usage-limits-st9cgr6w.js → state-vyzzfsct.js} +15 -15
- package/dist/chunks/{usage-limits-n7wnam13.js → state-w04hajkc.js} +8 -8
- package/dist/chunks/{usage-limits-7wfd13xk.js → state-w1dt9w7y.js} +13 -13
- package/dist/chunks/{usage-limits-w3wsvvr9.js → state-w3wsvvr9.js} +1 -1
- package/dist/chunks/{usage-limits-bc6t731e.js → state-w6p76wxk.js} +15 -15
- package/dist/chunks/{usage-limits-akvc2j30.js → state-w87973gh.js} +1 -1
- package/dist/chunks/{usage-limits-emq6awqh.js → state-w9w8mt4n.js} +4 -4
- package/dist/chunks/{usage-limits-wakvkjy4.js → state-wakvkjy4.js} +1 -1
- package/dist/chunks/{usage-limits-ymy0chk8.js → state-wc8m166b.js} +2 -2
- package/dist/chunks/{usage-limits-wd87259q.js → state-wd87259q.js} +1 -1
- package/dist/chunks/{usage-limits-5rvbns9h.js → state-weh1a0nb.js} +33 -33
- package/dist/chunks/{usage-limits-yskc27rg.js → state-wfrb9j0d.js} +26 -26
- package/dist/chunks/{usage-limits-tj65tddj.js → state-wh4zer6t.js} +28 -28
- package/dist/chunks/{usage-limits-wr3re1en.js → state-wr3re1en.js} +1 -1
- package/dist/chunks/{usage-limits-4snmzknn.js → state-wttyt2c5.js} +18 -18
- package/dist/chunks/{usage-limits-5xan3hjt.js → state-x4dm9tkt.js} +15 -15
- package/dist/chunks/{usage-limits-wzrwmevq.js → state-x4pq83ar.js} +5 -5
- package/dist/chunks/{usage-limits-x8nvjgx0.js → state-x8nvjgx0.js} +1 -1
- package/dist/chunks/{usage-limits-9pf9j90h.js → state-xbhwtc00.js} +14 -14
- package/dist/chunks/{usage-limits-zyxp1bdt.js → state-xemekp33.js} +4 -4
- package/dist/chunks/{usage-limits-09nb6j7n.js → state-xhqtt1yk.js} +8 -8
- package/dist/chunks/{usage-limits-v63rcc1z.js → state-xt3e85c7.js} +15 -15
- package/dist/chunks/{usage-limits-hpdffqc1.js → state-y24xrewf.js} +18 -18
- package/dist/chunks/{usage-limits-4ayw2j9m.js → state-y79xrw0m.js} +16 -16
- package/dist/chunks/{usage-limits-qz97qh5p.js → state-y9dcbvc0.js} +3 -3
- package/dist/chunks/{usage-limits-06r9fgh1.js → state-ya7cyy7h.js} +5 -5
- package/dist/chunks/{usage-limits-yb20nhc3.js → state-yb20nhc3.js} +1 -1
- package/dist/chunks/{usage-limits-tzhfmb8s.js → state-yc5f64c4.js} +5 -5
- package/dist/chunks/{usage-limits-7h2jh6d6.js → state-yee4tpcm.js} +24 -24
- package/dist/chunks/{usage-limits-vg05jr2c.js → state-ygjj23b0.js} +6 -6
- package/dist/chunks/{usage-limits-aaca795k.js → state-ygmx28v3.js} +20 -20
- package/dist/chunks/{usage-limits-t0g5gwyx.js → state-yjdnphb5.js} +20 -20
- package/dist/chunks/{usage-limits-z0bkrqjs.js → state-z0bkrqjs.js} +1 -1
- package/dist/chunks/{usage-limits-z38nccrw.js → state-z38nccrw.js} +1 -1
- package/dist/chunks/{usage-limits-ztjft4ja.js → state-zap846dn.js} +21 -21
- package/dist/chunks/{usage-limits-zkg84ctx.js → state-zkg84ctx.js} +1 -1
- package/dist/chunks/{usage-limits-txkqgr37.js → state-zxyxvdmp.js} +21 -21
- 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 +87 -87
- package/dist/config/integration.js +1 -1
- 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 +116 -116
- package/dist/config/plugin/instruction.js +118 -118
- package/dist/config/plugin/location-watcher.js +118 -118
- package/dist/config/plugin/mcp.js +129 -129
- package/dist/config/plugin/policy.js +120 -120
- package/dist/config/plugin/provider.js +119 -119
- 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 +117 -117
- 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 +123 -123
- package/dist/console-access.js +1 -1
- package/dist/credential/sql.js +2 -2
- package/dist/credential.js +85 -85
- package/dist/database/database.js +70 -70
- package/dist/database/drizzle/effect-sqlite/driver.js +12 -12
- package/dist/database/drizzle/effect-sqlite/index.js +12 -12
- package/dist/database/drizzle/effect-sqlite/session.js +11 -11
- package/dist/database/drizzle/index.js +13 -13
- package/dist/database/drizzle/internal/drizzle-utils.js +1 -1
- package/dist/database/drizzle/sqlite-core/effect/count.js +1 -1
- package/dist/database/drizzle/sqlite-core/effect/db.js +9 -9
- package/dist/database/drizzle/sqlite-core/effect/delete.js +2 -2
- package/dist/database/drizzle/sqlite-core/effect/index.js +10 -10
- package/dist/database/drizzle/sqlite-core/effect/insert.js +2 -2
- package/dist/database/drizzle/sqlite-core/effect/query.js +1 -1
- package/dist/database/drizzle/sqlite-core/effect/raw.js +1 -1
- package/dist/database/drizzle/sqlite-core/effect/select.js +2 -2
- package/dist/database/drizzle/sqlite-core/effect/session.js +10 -10
- package/dist/database/drizzle/sqlite-core/effect/update.js +2 -2
- package/dist/database/drizzle.js +14 -14
- package/dist/database/migration/20260127222353_familiar_lady_ursula.js +1 -1
- package/dist/database/migration/20260211171708_add_project_commands.js +1 -1
- package/dist/database/migration/20260213144116_wakeful_the_professor.js +1 -1
- package/dist/database/migration/20260225215848_workspace.js +1 -1
- package/dist/database/migration/20260227213759_add_session_workspace_id.js +1 -1
- package/dist/database/migration/20260228203230_blue_harpoon.js +1 -1
- package/dist/database/migration/20260303231226_add_workspace_fields.js +1 -1
- package/dist/database/migration/20260309230000_move_org_to_state.js +1 -1
- package/dist/database/migration/20260312043431_session_message_cursor.js +1 -1
- package/dist/database/migration/20260323234822_events.js +1 -1
- package/dist/database/migration/20260410174513_workspace-name.js +1 -1
- package/dist/database/migration/20260413175956_chief_energizer.js +1 -1
- package/dist/database/migration/20260423070820_add_icon_url_override.js +1 -1
- package/dist/database/migration/20260427172553_slow_nightmare.js +1 -1
- package/dist/database/migration/20260428004200_add_session_path.js +1 -1
- package/dist/database/migration/20260501142318_next_venus.js +1 -1
- package/dist/database/migration/20260504145000_add_sync_owner.js +1 -1
- package/dist/database/migration/20260507164347_add_workspace_time.js +1 -1
- package/dist/database/migration/20260510033149_session_usage.js +1 -1
- package/dist/database/migration/20260511000411_data_migration_state.js +1 -1
- package/dist/database/migration/20260511173437_session-metadata.js +1 -1
- package/dist/database/migration/20260601010001_normalize_storage_paths.js +1 -1
- package/dist/database/migration/20260601202201_amazing_prowler.js +1 -1
- package/dist/database/migration/20260602002951_lowly_union_jack.js +1 -1
- package/dist/database/migration/20260602182828_add_project_directories.js +1 -1
- package/dist/database/migration/20260603001617_session_message_projection_indexes.js +1 -1
- package/dist/database/migration/20260603040000_session_message_projection_order.js +1 -1
- package/dist/database/migration/20260603141458_session_input_inbox.js +1 -1
- package/dist/database/migration/20260603160727_jittery_ezekiel_stane.js +1 -1
- package/dist/database/migration/20260604172448_event_sourced_session_input.js +1 -1
- package/dist/database/migration/20260605003541_add_session_context_snapshot.js +1 -1
- package/dist/database/migration/20260605042240_add_context_epoch_agent.js +1 -1
- package/dist/database/migration/20260611035744_credential.js +1 -1
- package/dist/database/migration/20260611192811_lush_chimera.js +1 -1
- package/dist/database/migration/20260612174303_project_dir_strategy.js +1 -1
- package/dist/database/migration/20260622142730_simplify_session_context_epoch.js +1 -1
- package/dist/database/migration/20260622170816_reset_v2_session_state.js +1 -1
- package/dist/database/migration/20260622202450_simplify_session_input.js +1 -1
- package/dist/database/migration/20260804233008_loose_psylocke.js +1 -1
- package/dist/database/migration/20260805200742_import_legacy_credentials.js +1 -1
- package/dist/database/migration/20260808023530_workspace_domain.js +1 -1
- package/dist/database/migration/20260811161259_execution_claim_attempts.js +1 -1
- package/dist/database/migration/20260812181746_session_inbox.js +1 -1
- package/dist/database/migration/20260812213948_worktree.js +1 -1
- package/dist/database/migration/20260819222447_session_viewed_state.js +1 -1
- package/dist/database/migration/20260823191254_nullable_workspace_binding.js +1 -1
- package/dist/database/migration/20260910120000_clear_v1_session_permission.js +1 -1
- package/dist/database/migration/20260923013825_project_time_active.js +1 -1
- package/dist/database/migration/20261007190000_azure_cli_external_credential.js +1 -1
- package/dist/database/migration/20261010180456_project_time_archived.js +1 -1
- package/dist/database/migration/20261024002554_session_allowance.js +1 -1
- package/dist/database/migration/20261024175301_drop_session_allowance.js +1 -1
- package/dist/database/migration.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 -376
- package/dist/effect/app-node-platform.js +2 -2
- package/dist/effect/keyed-mutex.js +1 -1
- package/dist/effect/websocket-constructor.js +1 -1
- package/dist/environment/driver.js +1 -1
- package/dist/environment/environment.js +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 +1 -1
- 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 +223 -223
- package/dist/filesystem/protected.js +1 -1
- package/dist/filesystem/search.js +104 -104
- package/dist/filesystem/watcher-binding.js +1 -1
- package/dist/filesystem/watcher.js +11 -11
- package/dist/filesystem.js +105 -105
- package/dist/form.js +82 -82
- 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 +104 -104
- 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 -367
- package/dist/instruction-discovery.js +88 -88
- package/dist/instructions/builtins.js +92 -92
- package/dist/instructions/index.js +1 -1
- package/dist/integration/connection.js +3 -3
- package/dist/integration.js +89 -89
- 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 -364
- package/dist/location.js +92 -92
- package/dist/managed-policy.js +3 -3
- package/dist/mcp/client.js +96 -96
- package/dist/mcp/index.js +114 -114
- package/dist/mcp/instructions.js +141 -141
- 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 +104 -104
- package/dist/model-resolver.js +104 -104
- package/dist/model-retry.js +1 -1
- package/dist/model.js +107 -107
- package/dist/models-dev.js +106 -106
- package/dist/oauth/page.js +1 -1
- package/dist/permission/saved.js +84 -84
- package/dist/permission/sql.js +5 -5
- package/dist/permission.js +114 -114
- package/dist/persistent-pty/binary.bun.js +1 -1
- package/dist/persistent-pty/daemon.js +1 -1
- package/dist/persistent-pty/index.js +92 -92
- 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 +5 -5
- package/dist/plugin/host.js +220 -220
- package/dist/plugin/identity.js +5 -5
- package/dist/plugin/instance.js +5 -5
- package/dist/plugin/internal.js +337 -337
- package/dist/plugin/mcp-codemode-defaults.js +3 -3
- package/dist/plugin/models-dev.js +101 -101
- package/dist/plugin/module.js +120 -120
- 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 +127 -127
- 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 +105 -105
- package/dist/plugin/provider/opencode.js +124 -124
- 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 -175
- 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 -356
- 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 +8 -8
- 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 +231 -231
- package/dist/project/schema.js +6 -6
- package/dist/project/sql.js +4 -4
- package/dist/project.js +91 -91
- package/dist/provider.js +102 -102
- 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 +94 -94
- 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 +141 -141
- 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 +95 -95
- 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 +1 -1
- 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 +165 -165
- 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 +5 -5
- 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 +218 -218
- 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 +129 -129
- package/dist/tool/plugin/grep.js +127 -127
- package/dist/tool/plugin/mcp-resource.js +129 -129
- package/dist/tool/plugin/opencode.js +114 -114
- package/dist/tool/plugin/patch.js +123 -123
- package/dist/tool/plugin/question.js +106 -106
- package/dist/tool/plugin/read.js +128 -128
- package/dist/tool/plugin/shell.js +219 -219
- package/dist/tool/plugin/skill.js +116 -116
- 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 +12 -12
- 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 +5 -5
- package/dist/v1/config/command.js +5 -5
- package/dist/v1/config/mcp.js +4 -4
- package/dist/v1/config/migrate.js +97 -97
- package/dist/v1/config/permission.js +3 -3
- package/dist/v1/config/plugin.js +3 -3
- package/dist/v1/config/provider-options.js +1 -1
- package/dist/v1/config/provider.js +2 -2
- package/dist/variant.js +98 -98
- package/dist/vcs/patch.js +1 -1
- package/dist/vcs.js +94 -94
- package/dist/voice.js +88 -88
- package/dist/websearch.js +86 -86
- package/dist/wellknown/plugin.js +80 -80
- package/dist/wellknown.js +81 -81
- package/dist/workspace/driver.js +5 -5
- package/dist/workspace/sql.js +1 -1
- package/dist/workspace.js +84 -84
- package/dist/worktree/directory.js +2 -2
- package/dist/worktree/git.js +9 -9
- package/dist/worktree/sql.js +5 -5
- package/dist/worktree/strategies.js +94 -94
- package/dist/worktree.js +103 -103
- package/package.json +8 -8
- package/dist/chunks/usage-limits-37x35jkp.js +0 -261
- package/dist/chunks/usage-limits-9t1hjeb8.js +0 -517
- package/dist/chunks/usage-limits-frx5y0yf.js +0 -26
- package/dist/chunks/usage-limits-z7bdqmx5.js +0 -18
- /package/dist/chunks/{usage-limits-0qkdqm5v.js → state-0qkdqm5v.js} +0 -0
- /package/dist/chunks/{usage-limits-0zkw76rk.js → state-0zkw76rk.js} +0 -0
- /package/dist/chunks/{usage-limits-17cy0kzp.js → state-17cy0kzp.js} +0 -0
- /package/dist/chunks/{usage-limits-1cnp2v09.js → state-1cnp2v09.js} +0 -0
- /package/dist/chunks/{usage-limits-24dcb14g.js → state-24dcb14g.js} +0 -0
- /package/dist/chunks/{usage-limits-2710q6r3.js → state-2710q6r3.js} +0 -0
- /package/dist/chunks/{usage-limits-2bv980vf.js → state-2bv980vf.js} +0 -0
- /package/dist/chunks/{usage-limits-2c3vjs8z.js → state-2c3vjs8z.js} +0 -0
- /package/dist/chunks/{usage-limits-359p4xyc.js → state-359p4xyc.js} +0 -0
- /package/dist/chunks/{usage-limits-3asan66x.js → state-3asan66x.js} +0 -0
- /package/dist/chunks/{usage-limits-3v8g72cx.js → state-3v8g72cx.js} +0 -0
- /package/dist/chunks/{usage-limits-3wcehsnq.js → state-3wcehsnq.js} +0 -0
- /package/dist/chunks/{usage-limits-43n2bw4t.js → state-43n2bw4t.js} +0 -0
- /package/dist/chunks/{usage-limits-4knz6hnm.js → state-4knz6hnm.js} +0 -0
- /package/dist/chunks/{usage-limits-4vcrnpx2.js → state-4vcrnpx2.js} +0 -0
- /package/dist/chunks/{usage-limits-4y7fprxs.js → state-4y7fprxs.js} +0 -0
- /package/dist/chunks/{usage-limits-53557ph1.js → state-53557ph1.js} +0 -0
- /package/dist/chunks/{usage-limits-550bvhaj.js → state-550bvhaj.js} +0 -0
- /package/dist/chunks/{usage-limits-5fjb7ams.js → state-5fjb7ams.js} +0 -0
- /package/dist/chunks/{usage-limits-5qd3pb7m.js → state-5qd3pb7m.js} +0 -0
- /package/dist/chunks/{usage-limits-6prwharc.js → state-6prwharc.js} +0 -0
- /package/dist/chunks/{usage-limits-6q2bdcd1.js → state-6q2bdcd1.js} +0 -0
- /package/dist/chunks/{usage-limits-7akdwqpd.js → state-7akdwqpd.js} +0 -0
- /package/dist/chunks/{usage-limits-7m9af43g.js → state-7m9af43g.js} +0 -0
- /package/dist/chunks/{usage-limits-822emrt2.js → state-822emrt2.js} +0 -0
- /package/dist/chunks/{usage-limits-84wd9syh.js → state-84wd9syh.js} +0 -0
- /package/dist/chunks/{usage-limits-88xbtdfr.js → state-88xbtdfr.js} +0 -0
- /package/dist/chunks/{usage-limits-8n3pysct.js → state-8n3pysct.js} +0 -0
- /package/dist/chunks/{usage-limits-8wj87zfr.js → state-8wj87zfr.js} +0 -0
- /package/dist/chunks/{usage-limits-9a4afbnw.js → state-9a4afbnw.js} +0 -0
- /package/dist/chunks/{usage-limits-9rqn6x4v.js → state-9rqn6x4v.js} +0 -0
- /package/dist/chunks/{usage-limits-a058387c.js → state-a058387c.js} +0 -0
- /package/dist/chunks/{usage-limits-a6k6eb26.js → state-a6k6eb26.js} +0 -0
- /package/dist/chunks/{usage-limits-af5trqkr.js → state-af5trqkr.js} +0 -0
- /package/dist/chunks/{usage-limits-afrmfg78.js → state-afrmfg78.js} +0 -0
- /package/dist/chunks/{usage-limits-aqzs7mqg.js → state-aqzs7mqg.js} +0 -0
- /package/dist/chunks/{usage-limits-atq7p7m5.js → state-atq7p7m5.js} +0 -0
- /package/dist/chunks/{usage-limits-bkyjaxrp.js → state-bkyjaxrp.js} +0 -0
- /package/dist/chunks/{usage-limits-bmr6ed5q.js → state-bmr6ed5q.js} +0 -0
- /package/dist/chunks/{usage-limits-cf4snx6d.js → state-cf4snx6d.js} +0 -0
- /package/dist/chunks/{usage-limits-cqv5kn06.js → state-cqv5kn06.js} +0 -0
- /package/dist/chunks/{usage-limits-cvy3z8tj.js → state-cvy3z8tj.js} +0 -0
- /package/dist/chunks/{usage-limits-d9fn303g.js → state-d9fn303g.js} +0 -0
- /package/dist/chunks/{usage-limits-d9jj8t3e.js → state-d9jj8t3e.js} +0 -0
- /package/dist/chunks/{usage-limits-dajrwvna.js → state-dajrwvna.js} +0 -0
- /package/dist/chunks/{usage-limits-dap0rakb.js → state-dap0rakb.js} +0 -0
- /package/dist/chunks/{usage-limits-df08tz66.js → state-df08tz66.js} +0 -0
- /package/dist/chunks/{usage-limits-dy18nga0.js → state-dy18nga0.js} +0 -0
- /package/dist/chunks/{usage-limits-e5kj55wp.js → state-e5kj55wp.js} +0 -0
- /package/dist/chunks/{usage-limits-e73j6tqm.js → state-e73j6tqm.js} +0 -0
- /package/dist/chunks/{usage-limits-ec1grn59.js → state-ec1grn59.js} +0 -0
- /package/dist/chunks/{usage-limits-eh3zwz77.js → state-eh3zwz77.js} +0 -0
- /package/dist/chunks/{usage-limits-emrn6kk6.js → state-emrn6kk6.js} +0 -0
- /package/dist/chunks/{usage-limits-f0mxakyp.js → state-f0mxakyp.js} +0 -0
- /package/dist/chunks/{usage-limits-f6n9ztr4.js → state-f6n9ztr4.js} +0 -0
- /package/dist/chunks/{usage-limits-faypxj3z.js → state-faypxj3z.js} +0 -0
- /package/dist/chunks/{usage-limits-fd410y7t.js → state-fd410y7t.js} +0 -0
- /package/dist/chunks/{usage-limits-g4wezp1m.js → state-g4wezp1m.js} +0 -0
- /package/dist/chunks/{usage-limits-g86h250q.js → state-g86h250q.js} +0 -0
- /package/dist/chunks/{usage-limits-gebd4c9n.js → state-gebd4c9n.js} +0 -0
- /package/dist/chunks/{usage-limits-gftt206x.js → state-gftt206x.js} +0 -0
- /package/dist/chunks/{usage-limits-hcxmzztb.js → state-hcxmzztb.js} +0 -0
- /package/dist/chunks/{usage-limits-hk9envan.js → state-hk9envan.js} +0 -0
- /package/dist/chunks/{usage-limits-j2ntwpah.js → state-j2ntwpah.js} +0 -0
- /package/dist/chunks/{usage-limits-j5zkgpj8.js → state-j5zkgpj8.js} +0 -0
- /package/dist/chunks/{usage-limits-jjkms2e6.js → state-jjkms2e6.js} +0 -0
- /package/dist/chunks/{usage-limits-jr7sbwjy.js → state-jr7sbwjy.js} +0 -0
- /package/dist/chunks/{usage-limits-jwfs4k6c.js → state-jwfs4k6c.js} +0 -0
- /package/dist/chunks/{usage-limits-jwr30sdr.js → state-jwr30sdr.js} +0 -0
- /package/dist/chunks/{usage-limits-jze0r7bz.js → state-jze0r7bz.js} +0 -0
- /package/dist/chunks/{usage-limits-jzg6c2d5.js → state-jzg6c2d5.js} +0 -0
- /package/dist/chunks/{usage-limits-m18g726c.js → state-m18g726c.js} +0 -0
- /package/dist/chunks/{usage-limits-mp448xyj.js → state-mp448xyj.js} +0 -0
- /package/dist/chunks/{usage-limits-msx8hqn2.js → state-msx8hqn2.js} +0 -0
- /package/dist/chunks/{usage-limits-n05xt0ee.js → state-n05xt0ee.js} +0 -0
- /package/dist/chunks/{usage-limits-n3j8tn72.js → state-n3j8tn72.js} +0 -0
- /package/dist/chunks/{usage-limits-njntx4h6.js → state-njntx4h6.js} +0 -0
- /package/dist/chunks/{usage-limits-pkyv6v7h.js → state-pkyv6v7h.js} +0 -0
- /package/dist/chunks/{usage-limits-q3sfg36h.js → state-q3sfg36h.js} +0 -0
- /package/dist/chunks/{usage-limits-q74kybfr.js → state-q74kybfr.js} +0 -0
- /package/dist/chunks/{usage-limits-qaymkmh1.js → state-qaymkmh1.js} +0 -0
- /package/dist/chunks/{usage-limits-qb87gjwd.js → state-qb87gjwd.js} +0 -0
- /package/dist/chunks/{usage-limits-qfa1cgps.js → state-qfa1cgps.js} +0 -0
- /package/dist/chunks/{usage-limits-qg3g05ea.js → state-qg3g05ea.js} +0 -0
- /package/dist/chunks/{usage-limits-qrg20bc0.js → state-qrg20bc0.js} +0 -0
- /package/dist/chunks/{usage-limits-rcb2kzg1.js → state-rcb2kzg1.js} +0 -0
- /package/dist/chunks/{usage-limits-sdp7kfr6.js → state-sdp7kfr6.js} +0 -0
- /package/dist/chunks/{usage-limits-ssg3fenm.js → state-ssg3fenm.js} +0 -0
- /package/dist/chunks/{usage-limits-ve7vex1e.js → state-ve7vex1e.js} +0 -0
- /package/dist/chunks/{usage-limits-w803qqfp.js → state-w803qqfp.js} +0 -0
- /package/dist/chunks/{usage-limits-wc3fc9cn.js → state-wc3fc9cn.js} +0 -0
- /package/dist/chunks/{usage-limits-wer8tq1h.js → state-wer8tq1h.js} +0 -0
- /package/dist/chunks/{usage-limits-wjj7prxr.js → state-wjj7prxr.js} +0 -0
- /package/dist/chunks/{usage-limits-wtztk69x.js → state-wtztk69x.js} +0 -0
- /package/dist/chunks/{usage-limits-x0ckcb58.js → state-x0ckcb58.js} +0 -0
- /package/dist/chunks/{usage-limits-x61499pn.js → state-x61499pn.js} +0 -0
- /package/dist/chunks/{usage-limits-y44na4kk.js → state-y44na4kk.js} +0 -0
- /package/dist/chunks/{usage-limits-y8f7s663.js → state-y8f7s663.js} +0 -0
- /package/dist/chunks/{usage-limits-ygaqb7jw.js → state-ygaqb7jw.js} +0 -0
- /package/dist/chunks/{usage-limits-ym463w8f.js → state-ym463w8f.js} +0 -0
- /package/dist/chunks/{usage-limits-z5v4ffb3.js → state-z5v4ffb3.js} +0 -0
- /package/dist/chunks/{usage-limits-z9919s4g.js → state-z9919s4g.js} +0 -0
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
import {
|
|
2
2
|
ID14,
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
} from "./
|
|
3
|
+
Service80,
|
|
4
|
+
node84
|
|
5
|
+
} from "./state-bfs9yhh1.js";
|
|
6
6
|
import {
|
|
7
7
|
ID13,
|
|
8
8
|
isAISDK2,
|
|
@@ -15,24 +15,24 @@ import {
|
|
|
15
15
|
encoding2,
|
|
16
16
|
mergeOverlay2,
|
|
17
17
|
mergeHeaders2,
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
} from "./
|
|
18
|
+
Service79,
|
|
19
|
+
node83
|
|
20
|
+
} from "./state-gtz18rwj.js";
|
|
21
21
|
import {
|
|
22
|
-
|
|
23
|
-
|
|
24
|
-
} from "./
|
|
22
|
+
Service61,
|
|
23
|
+
node65
|
|
24
|
+
} from "./state-r2y2r2h5.js";
|
|
25
25
|
import {
|
|
26
|
-
|
|
26
|
+
ID11,
|
|
27
27
|
VariantID2,
|
|
28
28
|
Ref2,
|
|
29
|
-
|
|
30
|
-
|
|
29
|
+
Service73,
|
|
30
|
+
node77,
|
|
31
31
|
supportsText2
|
|
32
|
-
} from "./
|
|
32
|
+
} from "./state-30b52wnj.js";
|
|
33
33
|
import {
|
|
34
34
|
__export
|
|
35
|
-
} from "./
|
|
35
|
+
} from "./state-9rqn6x4v.js";
|
|
36
36
|
|
|
37
37
|
// src/model-resolver.ts
|
|
38
38
|
var exports_model_resolver = {};
|
|
@@ -41,15 +41,15 @@ __export(exports_model_resolver, {
|
|
|
41
41
|
ModelConfigurationError: () => ModelConfigurationError2,
|
|
42
42
|
ModelInitializationError: () => ModelInitializationError2,
|
|
43
43
|
ModelResolver: () => exports_model_resolver,
|
|
44
|
-
Service: () =>
|
|
44
|
+
Service: () => Service60,
|
|
45
45
|
UnresolvedProviderVariablesError: () => UnresolvedProviderVariablesError2,
|
|
46
46
|
UnsupportedCompactionError: () => UnsupportedCompactionError2,
|
|
47
47
|
UnsupportedPackageError: () => UnsupportedPackageError2,
|
|
48
48
|
VariantUnavailableError: () => VariantUnavailableError2,
|
|
49
49
|
fromCatalogModel: () => fromCatalogModel2,
|
|
50
50
|
hasPackage: () => hasPackage2,
|
|
51
|
-
layer: () =>
|
|
52
|
-
node: () =>
|
|
51
|
+
layer: () => layer24,
|
|
52
|
+
node: () => node64,
|
|
53
53
|
resolveModel: () => resolveModel3,
|
|
54
54
|
withVariant: () => withVariant2
|
|
55
55
|
});
|
|
@@ -60,7 +60,7 @@ import { Context, Effect, Layer, Schema, Struct } from "effect";
|
|
|
60
60
|
import { Npm } from "@opencode/util/npm";
|
|
61
61
|
class VariantUnavailableError2 extends Schema.TaggedError()("SessionRunnerModel.VariantUnavailableError", {
|
|
62
62
|
providerID: ID13,
|
|
63
|
-
modelID:
|
|
63
|
+
modelID: ID11,
|
|
64
64
|
variant: VariantID2
|
|
65
65
|
}) {
|
|
66
66
|
get message() {
|
|
@@ -70,7 +70,7 @@ class VariantUnavailableError2 extends Schema.TaggedError()("SessionRunnerModel.
|
|
|
70
70
|
|
|
71
71
|
class UnsupportedPackageError2 extends Schema.TaggedError()("SessionRunnerModel.UnsupportedPackageError", {
|
|
72
72
|
providerID: ID13,
|
|
73
|
-
modelID:
|
|
73
|
+
modelID: ID11,
|
|
74
74
|
package: Schema.String
|
|
75
75
|
}) {
|
|
76
76
|
get message() {
|
|
@@ -81,7 +81,7 @@ var InitializationPhase2 = Schema.Literals(["load", "init", "construct"]);
|
|
|
81
81
|
|
|
82
82
|
class ModelConfigurationError2 extends Schema.TaggedError()("SessionRunnerModel.ModelConfigurationError", {
|
|
83
83
|
providerID: ID13,
|
|
84
|
-
modelID:
|
|
84
|
+
modelID: ID11,
|
|
85
85
|
package: Schema.String,
|
|
86
86
|
detail: Schema.String
|
|
87
87
|
}) {
|
|
@@ -92,7 +92,7 @@ class ModelConfigurationError2 extends Schema.TaggedError()("SessionRunnerModel.
|
|
|
92
92
|
|
|
93
93
|
class ModelInitializationError2 extends Schema.TaggedError()("SessionRunnerModel.ModelInitializationError", {
|
|
94
94
|
providerID: ID13,
|
|
95
|
-
modelID:
|
|
95
|
+
modelID: ID11,
|
|
96
96
|
package: Schema.String,
|
|
97
97
|
phase: InitializationPhase2,
|
|
98
98
|
detail: Schema.String
|
|
@@ -104,7 +104,7 @@ class ModelInitializationError2 extends Schema.TaggedError()("SessionRunnerModel
|
|
|
104
104
|
|
|
105
105
|
class UnresolvedProviderVariablesError2 extends Schema.TaggedError()("SessionRunnerModel.UnresolvedProviderVariablesError", {
|
|
106
106
|
providerID: ID13,
|
|
107
|
-
modelID:
|
|
107
|
+
modelID: ID11,
|
|
108
108
|
variables: Schema.Array(Schema.String)
|
|
109
109
|
}) {
|
|
110
110
|
get message() {
|
|
@@ -114,7 +114,7 @@ class UnresolvedProviderVariablesError2 extends Schema.TaggedError()("SessionRun
|
|
|
114
114
|
|
|
115
115
|
class UnsupportedCompactionError2 extends Schema.TaggedError()("SessionRunnerModel.UnsupportedCompactionError", {
|
|
116
116
|
providerID: ID13,
|
|
117
|
-
modelID:
|
|
117
|
+
modelID: ID11,
|
|
118
118
|
route: Schema.String
|
|
119
119
|
}) {
|
|
120
120
|
get message() {
|
|
@@ -122,7 +122,7 @@ class UnsupportedCompactionError2 extends Schema.TaggedError()("SessionRunnerMod
|
|
|
122
122
|
}
|
|
123
123
|
}
|
|
124
124
|
|
|
125
|
-
class
|
|
125
|
+
class Service60 extends Context.Service()("@opencode/ModelResolver") {
|
|
126
126
|
}
|
|
127
127
|
var withVariant2 = (model, variantID) => {
|
|
128
128
|
const id = variantID === "default" ? undefined : variantID;
|
|
@@ -269,12 +269,12 @@ var causeMessage = (cause) => {
|
|
|
269
269
|
};
|
|
270
270
|
var resolveModel3 = (model, variant, credential, dependencies) => withVariant2(model, variant).pipe(Effect.flatMap((model) => fromCatalogModel2(model, credential, dependencies)));
|
|
271
271
|
var hasPackage2 = (model) => Boolean(model.package);
|
|
272
|
-
var
|
|
273
|
-
const providers = yield*
|
|
274
|
-
const models = yield*
|
|
275
|
-
const integrations = yield*
|
|
272
|
+
var layer24 = Layer.effect(Service60, Effect.gen(function* () {
|
|
273
|
+
const providers = yield* Service79;
|
|
274
|
+
const models = yield* Service73;
|
|
275
|
+
const integrations = yield* Service80;
|
|
276
276
|
const npm = yield* Npm.Service;
|
|
277
|
-
const aisdk = yield*
|
|
277
|
+
const aisdk = yield* Service61;
|
|
278
278
|
const load = Effect.fn("ModelResolver.resolveModel")(function* (selected, variant) {
|
|
279
279
|
const provider = yield* providers.get(selected.providerID);
|
|
280
280
|
const connection = yield* integrations.connection.active(provider?.integrationID ?? ID14.make(selected.providerID));
|
|
@@ -304,7 +304,7 @@ var layer27 = Layer.effect(Service67, Effect.gen(function* () {
|
|
|
304
304
|
chunkTimeout: timeout2(provider?.settings?.chunkTimeout)
|
|
305
305
|
};
|
|
306
306
|
});
|
|
307
|
-
return
|
|
307
|
+
return Service60.of({
|
|
308
308
|
resolve: Effect.fn("ModelResolver.resolve")(function* (requested) {
|
|
309
309
|
const selected = requested ? yield* models.get(requested.providerID, requested.id) : yield* models.default().pipe(Effect.flatMap((model) => model && hasPackage2(model) ? Effect.succeed(model) : Effect.map(models.available(), (models) => models.find((model) => hasPackage2(model) && supportsText2(model)))));
|
|
310
310
|
if (!selected)
|
|
@@ -321,10 +321,10 @@ function usesAPIKeyAuth(packageName) {
|
|
|
321
321
|
const name = packageName2(packageName);
|
|
322
322
|
return name === "@ai-sdk/openai" || name === "@ai-sdk/anthropic" || name === "@ai-sdk/cerebras" || name === "@ai-sdk/deepinfra" || name === "@ai-sdk/openai-compatible" || name === "@ai-sdk/google" || name === "@ai-sdk/groq" || name === "@ai-sdk/mistral" || name === "@ai-sdk/togetherai" || name === "@ai-sdk/xai" || name === "@openrouter/ai-sdk-provider" || name === "@ai-sdk/azure" || name === "@opencode/ai/providers/openai" || name?.startsWith("@opencode/ai/providers/openai/") === true || name === "@opencode/ai/providers/anthropic" || name === "@opencode/ai/providers/anthropic-compatible" || name === "@opencode/ai/providers/baseten" || name === "@opencode/ai/providers/cerebras" || name === "@opencode/ai/providers/cloudflare-ai-gateway" || name === "@opencode/ai/providers/cloudflare-workers-ai" || name === "@opencode/ai/providers/deepinfra" || name === "@opencode/ai/providers/deepseek" || name === "@opencode/ai/providers/fireworks" || name === "@opencode/ai/providers/openai-compatible" || name === "@opencode/ai/providers/google" || name === "@opencode/ai/providers/google/interactions" || name === "@opencode/ai/providers/groq" || name === "@opencode/ai/providers/mistral" || name === "@opencode/ai/providers/togetherai" || name === "@opencode/ai/providers/vercel-ai-gateway" || name === "@opencode/ai/providers/xai" || name === "@opencode/ai/providers/openrouter" || name === "@opencode/ai/providers/azure" || name?.startsWith("@opencode/ai/providers/azure/") === true;
|
|
323
323
|
}
|
|
324
|
-
var
|
|
325
|
-
service:
|
|
326
|
-
layer:
|
|
327
|
-
deps: [
|
|
324
|
+
var node64 = makeLocationNode({
|
|
325
|
+
service: Service60,
|
|
326
|
+
layer: layer24,
|
|
327
|
+
deps: [node83, node77, node84, Npm.node, node65]
|
|
328
328
|
});
|
|
329
329
|
|
|
330
|
-
export { VariantUnavailableError2, UnsupportedPackageError2, InitializationPhase2, ModelConfigurationError2, ModelInitializationError2, UnresolvedProviderVariablesError2, UnsupportedCompactionError2,
|
|
330
|
+
export { VariantUnavailableError2, UnsupportedPackageError2, InitializationPhase2, ModelConfigurationError2, ModelInitializationError2, UnresolvedProviderVariablesError2, UnsupportedCompactionError2, Service60, withVariant2, fromCatalogModel2, resolveModel3, hasPackage2, layer24, node64, exports_model_resolver };
|
|
@@ -1,36 +1,36 @@
|
|
|
1
1
|
import {
|
|
2
2
|
Service86,
|
|
3
3
|
node90
|
|
4
|
-
} from "./
|
|
4
|
+
} from "./state-4p9b4r2p.js";
|
|
5
5
|
import {
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
} from "./
|
|
6
|
+
Service83,
|
|
7
|
+
node87
|
|
8
|
+
} from "./state-5ez0dp37.js";
|
|
9
9
|
import {
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
} from "./
|
|
10
|
+
Service71,
|
|
11
|
+
node75
|
|
12
|
+
} from "./state-g3azxf0z.js";
|
|
13
13
|
import {
|
|
14
|
-
|
|
15
|
-
} from "./
|
|
14
|
+
NotFoundError10
|
|
15
|
+
} from "./state-qxq90j3e.js";
|
|
16
16
|
import {
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
} from "./
|
|
17
|
+
Service70,
|
|
18
|
+
node74
|
|
19
|
+
} from "./state-4nw1g1b0.js";
|
|
20
20
|
import {
|
|
21
21
|
match2
|
|
22
|
-
} from "./
|
|
22
|
+
} from "./state-z38nccrw.js";
|
|
23
23
|
import {
|
|
24
|
-
|
|
25
|
-
|
|
26
|
-
} from "./
|
|
24
|
+
Service69,
|
|
25
|
+
node73
|
|
26
|
+
} from "./state-5bbtdh0c.js";
|
|
27
27
|
import {
|
|
28
|
-
|
|
29
|
-
|
|
30
|
-
} from "./
|
|
28
|
+
Service78,
|
|
29
|
+
node82
|
|
30
|
+
} from "./state-w04hajkc.js";
|
|
31
31
|
import {
|
|
32
32
|
__export
|
|
33
|
-
} from "./
|
|
33
|
+
} from "./state-9rqn6x4v.js";
|
|
34
34
|
|
|
35
35
|
// src/permission.ts
|
|
36
36
|
var exports_permission2 = {};
|
|
@@ -39,29 +39,29 @@ __export(exports_permission2, {
|
|
|
39
39
|
CorrectedError: () => CorrectedError2,
|
|
40
40
|
DeclinedError: () => DeclinedError2,
|
|
41
41
|
Effect: () => PermissionEffect,
|
|
42
|
-
Event: () =>
|
|
43
|
-
ID: () =>
|
|
42
|
+
Event: () => Event12,
|
|
43
|
+
ID: () => ID7,
|
|
44
44
|
NotFoundError: () => NotFoundError8,
|
|
45
45
|
Permission: () => exports_permission2,
|
|
46
46
|
Reply: () => Reply2,
|
|
47
47
|
Request: () => Request2,
|
|
48
48
|
Rule: () => Rule3,
|
|
49
49
|
Ruleset: () => Ruleset2,
|
|
50
|
-
Service: () =>
|
|
51
|
-
Source: () =>
|
|
50
|
+
Service: () => Service68,
|
|
51
|
+
Source: () => Source5,
|
|
52
52
|
evaluate: () => evaluate2,
|
|
53
53
|
merge: () => merge2,
|
|
54
|
-
node: () =>
|
|
54
|
+
node: () => node72
|
|
55
55
|
});
|
|
56
56
|
import { makeLocationNode } from "@opencode/util/effect/app-node";
|
|
57
57
|
import { Context, Deferred, Effect, Layer, Schema } from "effect";
|
|
58
58
|
import { Permission } from "@opencode/schema/permission";
|
|
59
59
|
import { Rule as Rule3, Ruleset as Ruleset2 } from "@opencode/schema/permission";
|
|
60
|
-
import { Event as
|
|
60
|
+
import { Event as Event12 } from "@opencode/schema/permission";
|
|
61
61
|
var PermissionEffect = Permission.Effect;
|
|
62
62
|
var missingAgentPermissions = [{ action: "*", resource: "*", effect: "deny" }];
|
|
63
|
-
var
|
|
64
|
-
var
|
|
63
|
+
var ID7 = Permission.ID;
|
|
64
|
+
var Source5 = Permission.Source;
|
|
65
65
|
var Request2 = Permission.Request;
|
|
66
66
|
var Reply2 = Permission.Reply;
|
|
67
67
|
|
|
@@ -85,7 +85,7 @@ class BlockedError2 extends Schema.TaggedError()("Permission.BlockedError", {
|
|
|
85
85
|
}
|
|
86
86
|
|
|
87
87
|
class NotFoundError8 extends Schema.TaggedError()("Permission.NotFoundError", {
|
|
88
|
-
requestID:
|
|
88
|
+
requestID: ID7
|
|
89
89
|
}) {
|
|
90
90
|
}
|
|
91
91
|
function evaluate2(action, resource, ...rulesets) {
|
|
@@ -99,15 +99,15 @@ function merge2(...rulesets) {
|
|
|
99
99
|
return rulesets.flat();
|
|
100
100
|
}
|
|
101
101
|
|
|
102
|
-
class
|
|
102
|
+
class Service68 extends Context.Service()("@opencode/Permission") {
|
|
103
103
|
}
|
|
104
|
-
var layer = Layer.effect(
|
|
104
|
+
var layer = Layer.effect(Service68, Effect.gen(function* () {
|
|
105
105
|
const bus = yield* Service86;
|
|
106
|
-
const location = yield*
|
|
107
|
-
const agents = yield*
|
|
108
|
-
const sessions = yield*
|
|
109
|
-
const saved = yield*
|
|
110
|
-
const hooks = yield*
|
|
106
|
+
const location = yield* Service83;
|
|
107
|
+
const agents = yield* Service71;
|
|
108
|
+
const sessions = yield* Service70;
|
|
109
|
+
const saved = yield* Service69;
|
|
110
|
+
const hooks = yield* Service78;
|
|
111
111
|
const pending = new Map;
|
|
112
112
|
let closed = false;
|
|
113
113
|
const close = Effect.gen(function* () {
|
|
@@ -130,7 +130,7 @@ var layer = Layer.effect(Service71, Effect.gen(function* () {
|
|
|
130
130
|
const configured = Effect.fnUntraced(function* (sessionID, agentID) {
|
|
131
131
|
const session = yield* sessions.get(sessionID);
|
|
132
132
|
if (!session)
|
|
133
|
-
return yield* new
|
|
133
|
+
return yield* new NotFoundError10({ sessionID });
|
|
134
134
|
const agent = yield* agents.resolve(agentID ?? session.agent);
|
|
135
135
|
return merge2(agent?.permissions ?? missingAgentPermissions, session.permissions ?? []);
|
|
136
136
|
});
|
|
@@ -160,7 +160,7 @@ var layer = Layer.effect(Service71, Effect.gen(function* () {
|
|
|
160
160
|
});
|
|
161
161
|
function request(input, message) {
|
|
162
162
|
return {
|
|
163
|
-
id: input.id ??
|
|
163
|
+
id: input.id ?? ID7.create(),
|
|
164
164
|
sessionID: input.sessionID,
|
|
165
165
|
action: input.action,
|
|
166
166
|
resources: input.resources,
|
|
@@ -185,7 +185,7 @@ var layer = Layer.effect(Service71, Effect.gen(function* () {
|
|
|
185
185
|
}));
|
|
186
186
|
const ask = Effect.fn("Permission.ask")(function* (input) {
|
|
187
187
|
if (closed)
|
|
188
|
-
return { id: input.id ??
|
|
188
|
+
return { id: input.id ?? ID7.create(), effect: "deny" };
|
|
189
189
|
const result = yield* evaluateInput(input);
|
|
190
190
|
const value = request(input, result.message);
|
|
191
191
|
if (result.effect === "ask")
|
|
@@ -271,12 +271,12 @@ var layer = Layer.effect(Service71, Effect.gen(function* () {
|
|
|
271
271
|
const forSession = Effect.fn("Permission.forSession")(function* (sessionID) {
|
|
272
272
|
return Array.from(pending.values(), (item) => item.request).filter((request) => request.sessionID === sessionID);
|
|
273
273
|
});
|
|
274
|
-
return
|
|
274
|
+
return Service68.of({ ask, assert, reply, get, forSession, list, close });
|
|
275
275
|
}));
|
|
276
|
-
var
|
|
277
|
-
service:
|
|
276
|
+
var node72 = makeLocationNode({
|
|
277
|
+
service: Service68,
|
|
278
278
|
layer,
|
|
279
|
-
deps: [node90,
|
|
279
|
+
deps: [node90, node87, node75, node74, node73, node82]
|
|
280
280
|
});
|
|
281
281
|
|
|
282
|
-
export { PermissionEffect,
|
|
282
|
+
export { PermissionEffect, ID7, Source5, Request2, Reply2, DeclinedError2, CorrectedError2, BlockedError2, NotFoundError8, evaluate2, merge2, Service68, node72, exports_permission2, Rule3, Ruleset2, Event12 };
|
|
@@ -4,7 +4,7 @@ import {
|
|
|
4
4
|
orderSelectedFields2,
|
|
5
5
|
mapUpdateSet2,
|
|
6
6
|
getTableLikeName2
|
|
7
|
-
} from "./
|
|
7
|
+
} from "./state-emrn6kk6.js";
|
|
8
8
|
|
|
9
9
|
// src/database/drizzle/sqlite-core/effect/update.ts
|
|
10
10
|
import { applyEffectWrapper } from "drizzle-orm/effect-core/query-effect";
|
|
@@ -1,54 +1,54 @@
|
|
|
1
1
|
import {
|
|
2
|
-
|
|
3
|
-
} from "./
|
|
2
|
+
Service63
|
|
3
|
+
} from "./state-adc3yk6d.js";
|
|
4
4
|
import {
|
|
5
5
|
AbsolutePath2
|
|
6
|
-
} from "./
|
|
6
|
+
} from "./state-z5v4ffb3.js";
|
|
7
7
|
import {
|
|
8
|
-
|
|
9
|
-
} from "./
|
|
8
|
+
Service83
|
|
9
|
+
} from "./state-5ez0dp37.js";
|
|
10
10
|
import {
|
|
11
|
-
|
|
12
|
-
} from "./
|
|
11
|
+
Service62
|
|
12
|
+
} from "./state-p5k0b6xz.js";
|
|
13
13
|
import {
|
|
14
14
|
DirectorySource2,
|
|
15
15
|
UrlSource2,
|
|
16
|
-
|
|
17
|
-
} from "./
|
|
16
|
+
Source4
|
|
17
|
+
} from "./state-j02e2ssa.js";
|
|
18
18
|
import {
|
|
19
|
-
|
|
20
|
-
} from "./
|
|
19
|
+
Service10
|
|
20
|
+
} from "./state-vrcsa8qx.js";
|
|
21
21
|
import {
|
|
22
22
|
parse2
|
|
23
|
-
} from "./
|
|
23
|
+
} from "./state-8371pj2x.js";
|
|
24
24
|
import {
|
|
25
25
|
ignore2,
|
|
26
26
|
scan2
|
|
27
|
-
} from "./
|
|
27
|
+
} from "./state-nah043kf.js";
|
|
28
28
|
import {
|
|
29
29
|
__export
|
|
30
|
-
} from "./
|
|
30
|
+
} from "./state-9rqn6x4v.js";
|
|
31
31
|
|
|
32
32
|
// src/config/plugin/skill.ts
|
|
33
33
|
var exports_skill2 = {};
|
|
34
34
|
__export(exports_skill2, {
|
|
35
35
|
ConfigSkillPlugin: () => exports_skill2,
|
|
36
|
-
Plugin: () =>
|
|
36
|
+
Plugin: () => Plugin28
|
|
37
37
|
});
|
|
38
38
|
import { define } from "@opencode/plugin/effect/plugin";
|
|
39
39
|
import { FSUtil } from "@opencode/util/fs-util";
|
|
40
40
|
import { Global } from "@opencode/util/global";
|
|
41
41
|
import path from "path";
|
|
42
42
|
import { Effect, FiberMap, PubSub, Semaphore, Stream } from "effect";
|
|
43
|
-
var
|
|
43
|
+
var Plugin28 = define({
|
|
44
44
|
id: "opencode.config.skill",
|
|
45
45
|
effect: Effect.fn(function* (ctx) {
|
|
46
|
-
const config = yield*
|
|
47
|
-
const discovery = yield*
|
|
46
|
+
const config = yield* Service62;
|
|
47
|
+
const discovery = yield* Service10;
|
|
48
48
|
const fs = yield* FSUtil.Service;
|
|
49
49
|
const global = yield* Global.Service;
|
|
50
|
-
const location = yield*
|
|
51
|
-
const watcher = yield*
|
|
50
|
+
const location = yield* Service83;
|
|
51
|
+
const watcher = yield* Service63;
|
|
52
52
|
const loaded = {
|
|
53
53
|
entries: yield* config.entries(),
|
|
54
54
|
skills: []
|
|
@@ -91,7 +91,7 @@ var Plugin31 = define({
|
|
|
91
91
|
const sources = () => {
|
|
92
92
|
const result = [];
|
|
93
93
|
const add = (source) => {
|
|
94
|
-
if (result.some((item) =>
|
|
94
|
+
if (result.some((item) => Source4.equals(item, source)))
|
|
95
95
|
return;
|
|
96
96
|
result.push(source);
|
|
97
97
|
};
|
|
@@ -116,7 +116,7 @@ var Plugin31 = define({
|
|
|
116
116
|
};
|
|
117
117
|
const load = Effect.fn("ConfigSkillPlugin.load")(function* (source) {
|
|
118
118
|
const directories = source.type === "directory" ? [source.path] : yield* discovery.pull(source.url).pipe(Effect.catchCause((cause) => Effect.logWarning("failed to load skill source", {
|
|
119
|
-
source:
|
|
119
|
+
source: Source4.key(source),
|
|
120
120
|
cause
|
|
121
121
|
}).pipe(Effect.as([]))));
|
|
122
122
|
const roots = (yield* Effect.forEach(directories, watchDirectory)).flat();
|
|
@@ -144,7 +144,7 @@ var Plugin31 = define({
|
|
|
144
144
|
}
|
|
145
145
|
}
|
|
146
146
|
yield* Effect.logDebug("skill source loaded", {
|
|
147
|
-
source:
|
|
147
|
+
source: Source4.key(source),
|
|
148
148
|
type: source.type,
|
|
149
149
|
directories,
|
|
150
150
|
skills: skills.map((skill) => skill.id)
|
|
@@ -163,7 +163,7 @@ var Plugin31 = define({
|
|
|
163
163
|
if (file) {
|
|
164
164
|
yield* Effect.logInfo("skills rescanned", {
|
|
165
165
|
file,
|
|
166
|
-
sources: current.map(
|
|
166
|
+
sources: current.map(Source4.key),
|
|
167
167
|
skills: loaded.skills.map((skill) => skill.id)
|
|
168
168
|
});
|
|
169
169
|
}
|
|
@@ -179,4 +179,4 @@ var Plugin31 = define({
|
|
|
179
179
|
})
|
|
180
180
|
});
|
|
181
181
|
|
|
182
|
-
export {
|
|
182
|
+
export { Plugin28, exports_skill2 };
|
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
import {
|
|
2
|
-
|
|
3
|
-
} from "./
|
|
2
|
+
render2
|
|
3
|
+
} from "./state-06w9ffrv.js";
|
|
4
4
|
import {
|
|
5
5
|
__export
|
|
6
|
-
} from "./
|
|
6
|
+
} from "./state-9rqn6x4v.js";
|
|
7
7
|
|
|
8
8
|
// src/plugin/optimize.ts
|
|
9
9
|
var exports_optimize = {};
|
|
@@ -13,7 +13,7 @@ __export(exports_optimize, {
|
|
|
13
13
|
ArceePlugin: () => ArceePlugin2,
|
|
14
14
|
KimiPlugin: () => KimiPlugin2,
|
|
15
15
|
MetaPlugin: () => MetaPlugin2,
|
|
16
|
-
OpenAIPlugin: () =>
|
|
16
|
+
OpenAIPlugin: () => OpenAIPlugin3,
|
|
17
17
|
OpenAIToolsPlugin: () => OpenAIToolsPlugin2,
|
|
18
18
|
OptimizePlugin: () => exports_optimize,
|
|
19
19
|
Plugins: () => Plugins2,
|
|
@@ -375,7 +375,7 @@ By default, match the surrounding comment density: where the code has none, add
|
|
|
375
375
|
`;
|
|
376
376
|
|
|
377
377
|
// src/plugin/optimize.ts
|
|
378
|
-
var
|
|
378
|
+
var OpenAIPlugin3 = make("opencode.prompt.openai", (model) => {
|
|
379
379
|
const id = model.id.toLowerCase();
|
|
380
380
|
if (!id.includes("gpt"))
|
|
381
381
|
return;
|
|
@@ -410,7 +410,7 @@ var MetaPlugin2 = make("opencode.prompt.meta", (model) => {
|
|
|
410
410
|
return;
|
|
411
411
|
return meta_default.replaceAll("{{MODEL_NAME}}", model.name);
|
|
412
412
|
});
|
|
413
|
-
var Plugins2 = [
|
|
413
|
+
var Plugins2 = [OpenAIPlugin3, AnthropicPlugin2, KimiPlugin2, ArceePlugin2, MetaPlugin2];
|
|
414
414
|
var models = new WeakMap;
|
|
415
415
|
var resolveModel2 = (ctx, event) => Effect.gen(function* () {
|
|
416
416
|
const cached = models.get(event);
|
|
@@ -434,7 +434,7 @@ function make(id, optimize, mode = "override") {
|
|
|
434
434
|
const system = event.system[0];
|
|
435
435
|
if (!system)
|
|
436
436
|
return;
|
|
437
|
-
const rendered =
|
|
437
|
+
const rendered = render2(template, Object.keys(event.tools));
|
|
438
438
|
const text = mode === "append" ? `${system.text}
|
|
439
439
|
|
|
440
440
|
${rendered}` : rendered;
|
|
@@ -447,4 +447,4 @@ ${rendered}` : rendered;
|
|
|
447
447
|
});
|
|
448
448
|
}
|
|
449
449
|
|
|
450
|
-
export {
|
|
450
|
+
export { OpenAIPlugin3, AnthropicPlugin2, OpenAIToolsPlugin2, AnthropicToolsPlugin2, KimiPlugin2, ArceePlugin2, MetaPlugin2, Plugins2, resolveModel2, exports_optimize };
|
|
@@ -1,29 +1,29 @@
|
|
|
1
1
|
import {
|
|
2
|
-
|
|
3
|
-
} from "./
|
|
2
|
+
Service62
|
|
3
|
+
} from "./state-p5k0b6xz.js";
|
|
4
4
|
import {
|
|
5
|
-
|
|
6
|
-
} from "./
|
|
5
|
+
Service9
|
|
6
|
+
} from "./state-vgk61ywp.js";
|
|
7
7
|
import {
|
|
8
8
|
observe2
|
|
9
|
-
} from "./
|
|
9
|
+
} from "./state-6pjqjmy2.js";
|
|
10
10
|
import {
|
|
11
11
|
__export
|
|
12
|
-
} from "./
|
|
12
|
+
} from "./state-9rqn6x4v.js";
|
|
13
13
|
|
|
14
14
|
// src/config/plugin/location-watcher.ts
|
|
15
15
|
var exports_location_watcher2 = {};
|
|
16
16
|
__export(exports_location_watcher2, {
|
|
17
17
|
ConfigLocationWatcherPlugin: () => exports_location_watcher2,
|
|
18
|
-
Plugin: () =>
|
|
18
|
+
Plugin: () => Plugin26
|
|
19
19
|
});
|
|
20
20
|
import { define } from "@opencode/plugin/effect/plugin";
|
|
21
21
|
import { Effect } from "effect";
|
|
22
|
-
var
|
|
22
|
+
var Plugin26 = define({
|
|
23
23
|
id: "opencode.config.location-watcher",
|
|
24
24
|
effect: Effect.fn(function* (ctx) {
|
|
25
|
-
const config = yield*
|
|
26
|
-
const policy = yield*
|
|
25
|
+
const config = yield* Service62;
|
|
26
|
+
const policy = yield* Service9;
|
|
27
27
|
const loaded = yield* observe2(config, ctx.event, policy.reload());
|
|
28
28
|
yield* policy.transform((editor) => {
|
|
29
29
|
for (const entry of loaded.entries) {
|
|
@@ -35,4 +35,4 @@ var Plugin25 = define({
|
|
|
35
35
|
})
|
|
36
36
|
});
|
|
37
37
|
|
|
38
|
-
export {
|
|
38
|
+
export { Plugin26, exports_location_watcher2 };
|
|
@@ -1,21 +1,21 @@
|
|
|
1
1
|
import {
|
|
2
2
|
definition2
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./state-5fjb7ams.js";
|
|
4
4
|
import {
|
|
5
5
|
__export
|
|
6
|
-
} from "./
|
|
6
|
+
} from "./state-9rqn6x4v.js";
|
|
7
7
|
|
|
8
8
|
// src/plugin/tool-input-repair.ts
|
|
9
9
|
var exports_tool_input_repair = {};
|
|
10
10
|
__export(exports_tool_input_repair, {
|
|
11
|
-
Plugin: () =>
|
|
11
|
+
Plugin: () => Plugin17,
|
|
12
12
|
ToolInputRepairPlugin: () => exports_tool_input_repair
|
|
13
13
|
});
|
|
14
14
|
import { define } from "@opencode/plugin/effect/plugin";
|
|
15
15
|
import { Effect, Option, Predicate, Schema } from "effect";
|
|
16
16
|
var decodeJson = Schema.decodeUnknownOption(Schema.fromJsonString(Schema.Unknown));
|
|
17
17
|
var maxDepth = 6;
|
|
18
|
-
var
|
|
18
|
+
var Plugin17 = define({
|
|
19
19
|
id: "opencode.tool.input.repair",
|
|
20
20
|
effect: (ctx) => ctx.tool.hook("execute.before", (event) => Effect.gen(function* () {
|
|
21
21
|
if (event.tool === "execute")
|
|
@@ -120,4 +120,4 @@ function repairArray(value, schema, root, depth) {
|
|
|
120
120
|
return compatible ? [repaired] : value;
|
|
121
121
|
}
|
|
122
122
|
|
|
123
|
-
export {
|
|
123
|
+
export { Plugin17, exports_tool_input_repair };
|
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
import {
|
|
2
|
-
|
|
3
|
-
} from "./
|
|
2
|
+
Service58
|
|
3
|
+
} from "./state-1c10trcx.js";
|
|
4
4
|
import {
|
|
5
5
|
__export
|
|
6
|
-
} from "./
|
|
6
|
+
} from "./state-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* Service58;
|
|
25
25
|
const scope = yield* Effect.scope;
|
|
26
26
|
const outgoing = yield* Queue.bounded(OUTGOING_CAPACITY);
|
|
27
27
|
const buffer = new ReadBuffer;
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
// src/session/schema.ts
|
|
2
2
|
import * as SessionSchema2 from "@opencode/schema/session";
|
|
3
3
|
import { Session } from "@opencode/schema/session";
|
|
4
|
-
var
|
|
5
|
-
var
|
|
4
|
+
var ID10 = Session.ID;
|
|
5
|
+
var Info21 = Session.Info;
|
|
6
6
|
|
|
7
|
-
export {
|
|
7
|
+
export { ID10, Info21, SessionSchema2 };
|