@opencode/core 0.0.0-dev-21820 → 0.0.0-dev-21823
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 +83 -83
- 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 → filesystem-034tev2y.js} +2 -2
- package/dist/chunks/{usage-limits-kbdzx3mw.js → filesystem-03efvwc7.js} +5 -5
- package/dist/chunks/{usage-limits-m8nbymbg.js → filesystem-048zrydy.js} +26 -26
- package/dist/chunks/{usage-limits-8y4jps98.js → filesystem-06w9ffrv.js} +7 -7
- package/dist/chunks/{usage-limits-2fghwe76.js → filesystem-074yh523.js} +13 -13
- package/dist/chunks/filesystem-0983wq4j.js +26 -0
- package/dist/chunks/{usage-limits-wr3re1en.js → filesystem-0h8y3ex8.js} +4 -4
- package/dist/chunks/{usage-limits-t0g5gwyx.js → filesystem-0kzfsnkr.js} +17 -17
- package/dist/chunks/{usage-limits-cfjtprja.js → filesystem-0r6ymdag.js} +16 -16
- package/dist/chunks/{usage-limits-z59pzgfn.js → filesystem-0s7h5zzx.js} +17 -17
- package/dist/chunks/{usage-limits-bc6t731e.js → filesystem-0v2akbxk.js} +12 -12
- package/dist/chunks/{usage-limits-x8nvjgx0.js → filesystem-11hfp36g.js} +4 -4
- package/dist/chunks/{usage-limits-0sbjk12p.js → filesystem-14r675e2.js} +17 -17
- package/dist/chunks/{usage-limits-2z573b49.js → filesystem-1e41c092.js} +10 -10
- package/dist/chunks/{usage-limits-1ep2p91f.js → filesystem-1ep2p91f.js} +2 -2
- package/dist/chunks/{usage-limits-4jvqj91g.js → filesystem-1gvqg047.js} +12 -12
- package/dist/chunks/{usage-limits-cspetaqy.js → filesystem-1jewsfbp.js} +7 -7
- package/dist/chunks/{usage-limits-zf9hj4sn.js → filesystem-1kqxs66r.js} +19 -19
- package/dist/chunks/{usage-limits-1x2knyw4.js → filesystem-1x2knyw4.js} +1 -1
- package/dist/chunks/{usage-limits-1yq9hg58.js → filesystem-1yq9hg58.js} +1 -1
- package/dist/chunks/{usage-limits-r4czht1g.js → filesystem-1zp85v90.js} +15 -15
- package/dist/chunks/{usage-limits-j3xzkfr8.js → filesystem-2552f9gw.js} +16 -16
- package/dist/chunks/{usage-limits-k9vn056m.js → filesystem-286bwkth.js} +18 -18
- package/dist/chunks/{usage-limits-5xan3hjt.js → filesystem-2a5amaht.js} +22 -22
- package/dist/chunks/{usage-limits-6jrjvs1q.js → filesystem-2fawgvav.js} +6 -6
- package/dist/chunks/{usage-limits-s5c3tv3b.js → filesystem-2ggcr862.js} +12 -12
- package/dist/chunks/{usage-limits-5rvbns9h.js → filesystem-2xs0rryy.js} +33 -33
- package/dist/chunks/{usage-limits-2z1j29yd.js → filesystem-2z1j29yd.js} +1 -1
- package/dist/chunks/{usage-limits-45j1dh4w.js → filesystem-2zz4pbej.js} +9 -9
- package/dist/chunks/{usage-limits-9cbnrx2n.js → filesystem-32rqdfc7.js} +6 -6
- package/dist/chunks/{usage-limits-v63rcc1z.js → filesystem-37f9eqtg.js} +15 -15
- package/dist/chunks/{usage-limits-exp5mnmq.js → filesystem-38my8t2w.js} +4 -4
- package/dist/chunks/{usage-limits-xf86h4sa.js → filesystem-3bdnrd1q.js} +2 -2
- package/dist/chunks/{usage-limits-ke16v9kv.js → filesystem-3dffs2xc.js} +8 -8
- package/dist/chunks/{usage-limits-emq6awqh.js → filesystem-3gv0spa2.js} +4 -4
- package/dist/chunks/{usage-limits-3hepkmqq.js → filesystem-3hepkmqq.js} +1 -1
- package/dist/chunks/{usage-limits-3nnrz6f6.js → filesystem-3nnrz6f6.js} +1 -1
- package/dist/chunks/{usage-limits-r7a84vp7.js → filesystem-3p35tcse.js} +21 -21
- package/dist/chunks/{usage-limits-hf1c1nxg.js → filesystem-3rr06q29.js} +8 -8
- package/dist/chunks/{usage-limits-27bs79w9.js → filesystem-3t73xeyv.js} +2 -2
- package/dist/chunks/{usage-limits-aebkqpzg.js → filesystem-3wddgepz.js} +10 -10
- package/dist/chunks/{usage-limits-a210w1rj.js → filesystem-3y5jkgnv.js} +11 -11
- package/dist/chunks/{usage-limits-e9gy876p.js → filesystem-40g71j7h.js} +25 -25
- package/dist/chunks/{usage-limits-mrss2ga5.js → filesystem-40h6q7je.js} +36 -36
- package/dist/chunks/{usage-limits-27s7w8ge.js → filesystem-48wh137g.js} +35 -35
- package/dist/chunks/{usage-limits-ngakgrqq.js → filesystem-4angxd36.js} +6 -6
- package/dist/chunks/{usage-limits-d7s2envm.js → filesystem-4etepjnw.js} +9 -9
- package/dist/chunks/{usage-limits-bxpaffak.js → filesystem-4fhqgc15.js} +4 -4
- package/dist/chunks/{usage-limits-bbaqhw4f.js → filesystem-4fvyz6gm.js} +36 -36
- package/dist/chunks/{usage-limits-hpdffqc1.js → filesystem-4mnradvb.js} +18 -18
- package/dist/chunks/{usage-limits-6qx2exdt.js → filesystem-4npqj7c8.js} +11 -11
- package/dist/chunks/{usage-limits-4q1b57yv.js → filesystem-4q1b57yv.js} +4 -4
- package/dist/chunks/{usage-limits-tnkagvdq.js → filesystem-4t70q674.js} +2 -2
- package/dist/chunks/{usage-limits-4tqs0jzk.js → filesystem-4tqs0jzk.js} +1 -1
- package/dist/chunks/{usage-limits-4v008n1t.js → filesystem-4v008n1t.js} +1 -1
- package/dist/chunks/{usage-limits-taacwnvm.js → filesystem-4wqc8mqe.js} +5 -5
- package/dist/chunks/{usage-limits-0pa66m09.js → filesystem-4x0avmzf.js} +2 -2
- package/dist/chunks/{usage-limits-4xvmh7wp.js → filesystem-4xvmh7wp.js} +3 -3
- package/dist/chunks/{usage-limits-hycwzgsh.js → filesystem-4yc3bycz.js} +21 -21
- package/dist/chunks/{usage-limits-tvxkwhzj.js → filesystem-58g0x2b7.js} +7 -7
- package/dist/chunks/{usage-limits-kkayz510.js → filesystem-59ebw7nb.js} +4 -4
- package/dist/chunks/{usage-limits-yxemhy2w.js → filesystem-5ae85xy6.js} +25 -25
- package/dist/chunks/{usage-limits-2p2332jf.js → filesystem-5bcft13g.js} +3 -3
- package/dist/chunks/{usage-limits-nmhe9dy6.js → filesystem-5byqedsg.js} +11 -11
- package/dist/chunks/{usage-limits-1pfjjcy6.js → filesystem-5j8szzxn.js} +24 -24
- package/dist/chunks/{usage-limits-5m9w47nd.js → filesystem-5m9w47nd.js} +1 -1
- package/dist/chunks/{usage-limits-6gf3hhvq.js → filesystem-5pjpz24y.js} +30 -30
- package/dist/chunks/{usage-limits-dj80dh0k.js → filesystem-5rqb1j6q.js} +5 -5
- package/dist/chunks/{usage-limits-f7r22wb4.js → filesystem-5w9558x0.js} +43 -43
- package/dist/chunks/{usage-limits-7z0r3bs7.js → filesystem-5zvran9a.js} +12 -12
- package/dist/chunks/{usage-limits-p2hj6cy1.js → filesystem-600wwvjd.js} +18 -18
- package/dist/chunks/{usage-limits-bjhzkqyk.js → filesystem-61ennm6n.js} +4 -4
- package/dist/chunks/{usage-limits-k680cdq8.js → filesystem-65d25esd.js} +11 -11
- package/dist/chunks/filesystem-6cw60t4e.js +261 -0
- package/dist/chunks/{usage-limits-6esdw8yj.js → filesystem-6esdw8yj.js} +1 -1
- package/dist/chunks/{usage-limits-3ntsf9a0.js → filesystem-6gfsr0bt.js} +16 -16
- package/dist/chunks/{usage-limits-aaca795k.js → filesystem-6jp186ct.js} +20 -20
- package/dist/chunks/{usage-limits-6pjqjmy2.js → filesystem-6pjqjmy2.js} +1 -1
- package/dist/chunks/{usage-limits-xctymaxe.js → filesystem-6rh867e6.js} +41 -41
- package/dist/chunks/{usage-limits-76cb1hcw.js → filesystem-76cb1hcw.js} +1 -1
- package/dist/chunks/{usage-limits-7bmhse3q.js → filesystem-7bmhse3q.js} +1 -1
- package/dist/chunks/{usage-limits-dy2frryf.js → filesystem-7gagvex5.js} +88 -88
- package/dist/chunks/{usage-limits-2zqc5m45.js → filesystem-7hpze2gp.js} +35 -35
- package/dist/chunks/{usage-limits-7w2ypzdf.js → filesystem-7w2ypzdf.js} +1 -1
- package/dist/chunks/{usage-limits-whwnz90f.js → filesystem-7yp67vww.js} +16 -16
- package/dist/chunks/{usage-limits-ydj2t2r9.js → filesystem-82raarjb.js} +154 -154
- package/dist/chunks/{usage-limits-zv0vsyec.js → filesystem-86m0qwc3.js} +11 -11
- package/dist/chunks/{usage-limits-qv7y9773.js → filesystem-87s5319w.js} +4 -4
- package/dist/chunks/{usage-limits-sqz0nt1s.js → filesystem-8a1tt6eq.js} +18 -18
- package/dist/chunks/{usage-limits-yskc27rg.js → filesystem-8m0g8d5b.js} +26 -26
- package/dist/chunks/{usage-limits-gx0r2313.js → filesystem-8shc1k29.js} +6 -6
- package/dist/chunks/{usage-limits-wzb86tnv.js → filesystem-8t7k9j69.js} +16 -16
- package/dist/chunks/{usage-limits-txkqgr37.js → filesystem-8vdykv35.js} +19 -19
- package/dist/chunks/{usage-limits-8wtp7s3z.js → filesystem-8wtp7s3z.js} +1 -1
- package/dist/chunks/{usage-limits-gycv8rtq.js → filesystem-8x51n0mm.js} +19 -19
- package/dist/chunks/{usage-limits-2rwv1cer.js → filesystem-90x1sh4x.js} +54 -54
- package/dist/chunks/{usage-limits-91rj84md.js → filesystem-91rj84md.js} +1 -1
- package/dist/chunks/{usage-limits-hgnysbnx.js → filesystem-934a61m2.js} +61 -61
- package/dist/chunks/{usage-limits-ma15yhyh.js → filesystem-96te9d4b.js} +5 -5
- package/dist/chunks/{usage-limits-998yhzzq.js → filesystem-998yhzzq.js} +3 -3
- package/dist/chunks/{usage-limits-xz2v9wfs.js → filesystem-9ab6dc0a.js} +32 -32
- package/dist/chunks/{usage-limits-9cx9sm2q.js → filesystem-9cx9sm2q.js} +1 -1
- package/dist/chunks/{usage-limits-bbrx00jz.js → filesystem-9d5cfh3a.js} +18 -18
- package/dist/chunks/{usage-limits-km6kdywk.js → filesystem-9g74tn6t.js} +28 -28
- package/dist/chunks/{usage-limits-160yv0cs.js → filesystem-9kg5w032.js} +8 -8
- package/dist/chunks/{usage-limits-5hahrjda.js → filesystem-9w35abq4.js} +13 -13
- package/dist/chunks/{usage-limits-ycbqeg09.js → filesystem-9w5zpkrk.js} +23 -23
- package/dist/chunks/{usage-limits-94a8q2nd.js → filesystem-a54cs83f.js} +12 -12
- package/dist/chunks/{usage-limits-4snmzknn.js → filesystem-aa6rfe83.js} +24 -24
- package/dist/chunks/{usage-limits-ntm28ryz.js → filesystem-abjs6xs3.js} +12 -12
- package/dist/chunks/{usage-limits-m304ba9t.js → filesystem-aekqvw83.js} +3 -3
- package/dist/chunks/{usage-limits-ayjs7tqn.js → filesystem-ayjs7tqn.js} +2 -2
- package/dist/chunks/{usage-limits-7wfd13xk.js → filesystem-azx0qc1w.js} +13 -13
- package/dist/chunks/{usage-limits-b0mv4wxm.js → filesystem-b0mv4wxm.js} +2 -2
- package/dist/chunks/{usage-limits-ztjft4ja.js → filesystem-b6qckq3s.js} +32 -32
- package/dist/chunks/{usage-limits-b6vsg801.js → filesystem-b6vsg801.js} +2 -2
- package/dist/chunks/{usage-limits-d2k9ndpk.js → filesystem-bbzawyb8.js} +10 -10
- package/dist/chunks/{usage-limits-dv889aa0.js → filesystem-bm3x8n5f.js} +19 -19
- package/dist/chunks/{usage-limits-qdpm05xk.js → filesystem-bnjexpda.js} +4 -4
- package/dist/chunks/{usage-limits-xd9cc171.js → filesystem-bstexjd6.js} +5 -5
- package/dist/chunks/{usage-limits-7h2jh6d6.js → filesystem-c5tnkfyv.js} +27 -27
- package/dist/chunks/{usage-limits-ax80y17w.js → filesystem-cgnt16pw.js} +4 -4
- package/dist/chunks/{usage-limits-a4xckjr4.js → filesystem-cwb88cey.js} +13 -13
- package/dist/chunks/{usage-limits-mrsa6jkf.js → filesystem-cwm52xht.js} +17 -17
- package/dist/chunks/{usage-limits-pjwfm23k.js → filesystem-cy5ef8hm.js} +11 -11
- package/dist/chunks/{usage-limits-d4v9tmah.js → filesystem-d4v9tmah.js} +2 -2
- package/dist/chunks/{usage-limits-43tvqsb6.js → filesystem-d71bfcjn.js} +30 -30
- package/dist/chunks/{usage-limits-726yah4h.js → filesystem-dbgk2cxj.js} +9 -9
- package/dist/chunks/{usage-limits-b3mwsdc9.js → filesystem-dhs71wnc.js} +8 -8
- package/dist/chunks/{usage-limits-ypcrvbc5.js → filesystem-dm791vdb.js} +10 -10
- package/dist/chunks/{usage-limits-aqvd6vz0.js → filesystem-ds6cc6fh.js} +26 -26
- package/dist/chunks/{usage-limits-tzhfmb8s.js → filesystem-dx106jag.js} +5 -5
- package/dist/chunks/{usage-limits-e07q2w5p.js → filesystem-e07q2w5p.js} +1 -1
- package/dist/chunks/{usage-limits-atx9ncrc.js → filesystem-e5reh5tz.js} +11 -11
- package/dist/chunks/{usage-limits-e834z07m.js → filesystem-e834z07m.js} +1 -1
- package/dist/chunks/{usage-limits-9pf9j90h.js → filesystem-e889e6n9.js} +14 -14
- package/dist/chunks/{usage-limits-h5qan5zz.js → filesystem-e90h7m11.js} +8 -8
- package/dist/chunks/{usage-limits-d0h5jp63.js → filesystem-efjhr83e.js} +36 -36
- package/dist/chunks/{usage-limits-egmw08v6.js → filesystem-egmw08v6.js} +2 -2
- package/dist/chunks/{usage-limits-g9arxaec.js → filesystem-egnaf4wc.js} +11 -11
- package/dist/chunks/{usage-limits-tpm1qpxt.js → filesystem-eqh43b5v.js} +9 -9
- package/dist/chunks/{usage-limits-qz97qh5p.js → filesystem-f4c57skx.js} +3 -3
- package/dist/chunks/{usage-limits-pq70gwcm.js → filesystem-fakbbexg.js} +15 -15
- package/dist/chunks/{usage-limits-44asjrm9.js → filesystem-fdhm0b4k.js} +3 -3
- package/dist/chunks/{usage-limits-fffv3p7h.js → filesystem-fffv3p7h.js} +1 -1
- package/dist/chunks/{usage-limits-vn79cqmx.js → filesystem-fngyzhnx.js} +19 -19
- package/dist/chunks/{usage-limits-wekwn6qz.js → filesystem-ftjyxsq7.js} +7 -7
- package/dist/chunks/{usage-limits-hp0kf9qk.js → filesystem-fxjf9rj9.js} +35 -35
- package/dist/chunks/{usage-limits-cvxbw3ks.js → filesystem-g0rar7vt.js} +24 -24
- package/dist/chunks/{usage-limits-g5h9c0rr.js → filesystem-g5h9c0rr.js} +2 -2
- package/dist/chunks/{usage-limits-f7bvh908.js → filesystem-gajzcr6m.js} +19 -19
- package/dist/chunks/{usage-limits-6bv7yxz5.js → filesystem-gek54jmm.js} +26 -26
- package/dist/chunks/{usage-limits-ymy0chk8.js → filesystem-gkn4n67r.js} +2 -2
- package/dist/chunks/{usage-limits-ghztajqa.js → filesystem-gs4x0wfm.js} +20 -20
- package/dist/chunks/{usage-limits-a3qfv0hd.js → filesystem-h7hbrg9k.js} +52 -52
- package/dist/chunks/{usage-limits-e2x7gzav.js → filesystem-hdfrs5mg.js} +7 -7
- package/dist/chunks/{usage-limits-j8tswv6e.js → filesystem-hj2cbhc2.js} +14 -14
- package/dist/chunks/{usage-limits-wzrwmevq.js → filesystem-hk4y1qbf.js} +5 -5
- package/dist/chunks/{usage-limits-3rszrfa9.js → filesystem-hndjxhwx.js} +8 -8
- package/dist/chunks/{usage-limits-hdvssxsh.js → filesystem-hx3mz2q2.js} +8 -8
- package/dist/chunks/{usage-limits-9c88vk2a.js → filesystem-j0sqg4d1.js} +15 -15
- package/dist/chunks/{usage-limits-j113cymg.js → filesystem-j113cymg.js} +1 -1
- package/dist/chunks/{usage-limits-st9cgr6w.js → filesystem-j5n4xn75.js} +15 -15
- package/dist/chunks/{usage-limits-n7wnam13.js → filesystem-j77g158z.js} +8 -8
- package/dist/chunks/{usage-limits-3mw19qy8.js → filesystem-jd6wp082.js} +34 -34
- package/dist/chunks/{usage-limits-jefw9j3y.js → filesystem-jefw9j3y.js} +1 -1
- package/dist/chunks/{usage-limits-ggf2j3cc.js → filesystem-jfakxrjq.js} +25 -25
- package/dist/chunks/{usage-limits-0yhksvcd.js → filesystem-jfh72r8h.js} +19 -19
- package/dist/chunks/{usage-limits-aj1nzrgt.js → filesystem-jnbf1chn.js} +11 -11
- package/dist/chunks/{usage-limits-6ha7pnwq.js → filesystem-jnmjcr89.js} +27 -27
- package/dist/chunks/{usage-limits-8m3evvpt.js → filesystem-jpkt0sc6.js} +13 -13
- package/dist/chunks/{usage-limits-8bc2ahr8.js → filesystem-jx89vj1k.js} +3 -3
- package/dist/chunks/{usage-limits-4h4hk51q.js → filesystem-jyenpfw3.js} +4 -4
- package/dist/chunks/{usage-limits-ac4t24sd.js → filesystem-k7hxwx4t.js} +24 -24
- package/dist/chunks/{usage-limits-e3hyq533.js → filesystem-k7takf4z.js} +11 -11
- package/dist/chunks/{usage-limits-k814nvkf.js → filesystem-k814nvkf.js} +1 -1
- package/dist/chunks/{usage-limits-ssfehs1z.js → filesystem-kkqethq7.js} +4 -4
- package/dist/chunks/{usage-limits-tj65tddj.js → filesystem-kncd35yj.js} +23 -23
- package/dist/chunks/{usage-limits-kt3bjfbg.js → filesystem-kt3bjfbg.js} +1 -1
- package/dist/chunks/{usage-limits-7qj4kw2w.js → filesystem-kvgq4cgd.js} +15 -15
- package/dist/chunks/{usage-limits-37qjwjg3.js → filesystem-kvtqra18.js} +35 -35
- package/dist/chunks/{usage-limits-c4hczych.js → filesystem-kw6b49qt.js} +42 -42
- package/dist/chunks/{usage-limits-gqa6c0dc.js → filesystem-kzdpc3xr.js} +17 -17
- package/dist/chunks/{usage-limits-m1714858.js → filesystem-m1714858.js} +1 -1
- package/dist/chunks/{usage-limits-zszhs1ry.js → filesystem-m4zwndh2.js} +3 -3
- package/dist/chunks/{usage-limits-m9w0rfyh.js → filesystem-m9w0rfyh.js} +1 -1
- package/dist/chunks/{usage-limits-maspj1v3.js → filesystem-maspj1v3.js} +1 -1
- package/dist/chunks/{usage-limits-zgt5j0h2.js → filesystem-mj0wev1x.js} +8 -8
- package/dist/chunks/{usage-limits-f3jntyhm.js → filesystem-msrvq25q.js} +35 -35
- package/dist/chunks/{usage-limits-85tnhsr5.js → filesystem-mwp0yv48.js} +1 -1
- package/dist/chunks/{usage-limits-rrme742e.js → filesystem-mxem74k4.js} +13 -13
- package/dist/chunks/{usage-limits-zzjqjb6m.js → filesystem-n11a5kh1.js} +23 -23
- package/dist/chunks/{usage-limits-arwkaxws.js → filesystem-n3hzq8hq.js} +21 -21
- package/dist/chunks/{usage-limits-szcgc7h4.js → filesystem-n6v2b7cw.js} +5 -5
- package/dist/chunks/{usage-limits-nah043kf.js → filesystem-nah043kf.js} +1 -1
- package/dist/chunks/{usage-limits-vg05jr2c.js → filesystem-neftya4w.js} +8 -8
- package/dist/chunks/{usage-limits-x02d0s8b.js → filesystem-ngzdt2ve.js} +5 -5
- package/dist/chunks/{usage-limits-fr1v3ke2.js → filesystem-nsq4yd7p.js} +3 -3
- package/dist/chunks/{usage-limits-rby583qs.js → filesystem-nwvcypp6.js} +11 -11
- package/dist/chunks/{usage-limits-p015t6z3.js → filesystem-p015t6z3.js} +2 -2
- package/dist/chunks/{usage-limits-eterkqt0.js → filesystem-p07d65z0.js} +32 -32
- package/dist/chunks/{usage-limits-06r9fgh1.js → filesystem-pfy2m4ca.js} +5 -5
- package/dist/chunks/{usage-limits-fdhstezy.js → filesystem-pgrw573c.js} +10 -10
- package/dist/chunks/{usage-limits-efwjs4bb.js → filesystem-pk31y8jx.js} +10 -10
- package/dist/chunks/{usage-limits-pknna89w.js → filesystem-pknna89w.js} +1 -1
- package/dist/chunks/{usage-limits-k02002gh.js → filesystem-pp4x3x88.js} +10 -10
- package/dist/chunks/{usage-limits-qn0rjxfc.js → filesystem-q13f8gqt.js} +11 -11
- package/dist/chunks/{usage-limits-akvc2j30.js → filesystem-q1bdnzan.js} +1 -1
- package/dist/chunks/{usage-limits-052mqgew.js → filesystem-q4syar25.js} +9 -9
- package/dist/chunks/{usage-limits-vk32b34p.js → filesystem-q6kf4edm.js} +1 -1
- package/dist/chunks/{usage-limits-1qtqz3f2.js → filesystem-qkpn6d5r.js} +85 -85
- package/dist/chunks/{usage-limits-bnndz809.js → filesystem-qkrpwkqk.js} +8 -8
- package/dist/chunks/{usage-limits-0z6c2se0.js → filesystem-qswdam80.js} +41 -41
- package/dist/chunks/{usage-limits-989aym0q.js → filesystem-qxe3n5xa.js} +6 -6
- package/dist/chunks/{usage-limits-r0yr0wbs.js → filesystem-r0yr0wbs.js} +1 -1
- package/dist/chunks/{usage-limits-r542h3bh.js → filesystem-r542h3bh.js} +1 -1
- package/dist/chunks/{usage-limits-hngxbr5f.js → filesystem-r5y2frqw.js} +6 -6
- package/dist/chunks/{usage-limits-fjz66g9m.js → filesystem-r8f6rk3c.js} +6 -6
- package/dist/chunks/{usage-limits-0hkdpjs7.js → filesystem-r9zbyr4a.js} +12 -12
- package/dist/chunks/{usage-limits-rb9dy4dg.js → filesystem-rb9dy4dg.js} +1 -1
- package/dist/chunks/{usage-limits-6q2t9e19.js → filesystem-rh0vm7a3.js} +9 -9
- package/dist/chunks/{usage-limits-b8qrkhky.js → filesystem-rk1c2d86.js} +23 -23
- package/dist/chunks/{usage-limits-ey1djyv9.js → filesystem-rk5tncjm.js} +10 -10
- package/dist/chunks/{usage-limits-3sph5gmk.js → filesystem-rrbn0j5d.js} +24 -24
- package/dist/chunks/{usage-limits-y4yx52dp.js → filesystem-rrv8kjjp.js} +10 -10
- package/dist/chunks/{usage-limits-rt5dr6hb.js → filesystem-rt5dr6hb.js} +1 -1
- package/dist/chunks/{usage-limits-whf27mzz.js → filesystem-rz958wdz.js} +17 -17
- package/dist/chunks/{usage-limits-sa3fpqfw.js → filesystem-sa3fpqfw.js} +2 -2
- package/dist/chunks/{usage-limits-wn7kwqy9.js → filesystem-sb8x2mjg.js} +13 -13
- package/dist/chunks/{usage-limits-cbc4taa6.js → filesystem-sbanjb5j.js} +11 -11
- package/dist/chunks/{usage-limits-yg4mp0v5.js → filesystem-scbc8y9k.js} +2 -2
- package/dist/chunks/{usage-limits-gcjdgkn2.js → filesystem-smfcvx02.js} +9 -9
- package/dist/chunks/{usage-limits-sqjzf8x2.js → filesystem-sqjzf8x2.js} +1 -1
- package/dist/chunks/{usage-limits-f9nfcqdq.js → filesystem-srha6svp.js} +7 -7
- package/dist/chunks/{usage-limits-9t1hjeb8.js → filesystem-sx82062d.js} +306 -306
- package/dist/chunks/{usage-limits-gk7spenk.js → filesystem-t4zj4gks.js} +18 -18
- package/dist/chunks/{usage-limits-f0tpkmet.js → filesystem-t6gd5zzm.js} +17 -17
- package/dist/chunks/{usage-limits-tczq8hjw.js → filesystem-tczq8hjw.js} +1 -1
- package/dist/chunks/{usage-limits-vx3jgdek.js → filesystem-ts7mkfs9.js} +2 -2
- package/dist/chunks/{usage-limits-zyxp1bdt.js → filesystem-tvw5eq5w.js} +4 -4
- package/dist/chunks/{usage-limits-twv2r8f4.js → filesystem-twv2r8f4.js} +2 -2
- package/dist/chunks/{usage-limits-ex7z9m54.js → filesystem-tz3v2dvp.js} +2 -2
- package/dist/chunks/{usage-limits-v2r1d0zg.js → filesystem-v2r1d0zg.js} +1 -1
- package/dist/chunks/{usage-limits-njkmhayd.js → filesystem-vcpv0cg0.js} +6 -6
- package/dist/chunks/{usage-limits-vd3b3yk9.js → filesystem-vd3b3yk9.js} +1 -1
- package/dist/chunks/{usage-limits-veqvce7d.js → filesystem-veqvce7d.js} +1 -1
- package/dist/chunks/{usage-limits-78p57jmb.js → filesystem-vgqmettk.js} +54 -49
- package/dist/chunks/{usage-limits-qepdakcz.js → filesystem-vh4zhzaj.js} +9 -9
- package/dist/chunks/{usage-limits-qqa1433q.js → filesystem-vmpcefzm.js} +42 -42
- package/dist/chunks/{usage-limits-8h5h53em.js → filesystem-vmw5emv6.js} +25 -25
- package/dist/chunks/{usage-limits-3fgjz1qb.js → filesystem-vvmd7csk.js} +16 -16
- package/dist/chunks/{usage-limits-ewc6z4rh.js → filesystem-vxjvm93v.js} +31 -31
- package/dist/chunks/{usage-limits-w2eysc6j.js → filesystem-w2eysc6j.js} +2 -2
- package/dist/chunks/{usage-limits-w3wsvvr9.js → filesystem-w3wsvvr9.js} +1 -1
- package/dist/chunks/{usage-limits-tyhzfa9z.js → filesystem-w5d18jnt.js} +13 -13
- package/dist/chunks/{usage-limits-gy0tz9ap.js → filesystem-w84f94qk.js} +15 -15
- package/dist/chunks/{usage-limits-g3h8dgtz.js → filesystem-wachhca3.js} +4 -4
- package/dist/chunks/{usage-limits-wakvkjy4.js → filesystem-wakvkjy4.js} +1 -1
- package/dist/chunks/{usage-limits-wd87259q.js → filesystem-wd87259q.js} +1 -1
- package/dist/chunks/{usage-limits-t211gxpv.js → filesystem-wmjzvx4b.js} +4 -4
- package/dist/chunks/{usage-limits-nm3cbc6x.js → filesystem-wt7ydzte.js} +14 -14
- package/dist/chunks/{usage-limits-skwsegzf.js → filesystem-wybcmnnj.js} +21 -21
- package/dist/chunks/{usage-limits-kb2r74xq.js → filesystem-x0vqv7fn.js} +9 -9
- package/dist/chunks/{usage-limits-q0hvv05t.js → filesystem-xkat47kc.js} +13 -13
- package/dist/chunks/{usage-limits-648wsnpr.js → filesystem-xpyh10vg.js} +18 -18
- package/dist/chunks/{usage-limits-1teq0rja.js → filesystem-xxteqpwx.js} +3 -3
- package/dist/chunks/{usage-limits-rx4h7akj.js → filesystem-xy470p1n.js} +16 -16
- package/dist/chunks/{usage-limits-07jy34sd.js → filesystem-y2rgpw35.js} +13 -13
- package/dist/chunks/{usage-limits-7pg880mj.js → filesystem-y5smbybx.js} +23 -23
- package/dist/chunks/{usage-limits-yb20nhc3.js → filesystem-yb20nhc3.js} +1 -1
- package/dist/chunks/{usage-limits-s78dgp47.js → filesystem-yh9xwh37.js} +6 -6
- package/dist/chunks/{usage-limits-4ayw2j9m.js → filesystem-yjvjgdfq.js} +16 -16
- package/dist/chunks/{usage-limits-pz2vpapy.js → filesystem-yzs5y582.js} +6 -6
- package/dist/chunks/{usage-limits-z0bkrqjs.js → filesystem-z0bkrqjs.js} +1 -1
- package/dist/chunks/filesystem-z355x5yr.js +18 -0
- package/dist/chunks/{usage-limits-z38nccrw.js → filesystem-z38nccrw.js} +1 -1
- package/dist/chunks/{usage-limits-ysd28b92.js → filesystem-z3ayhk2f.js} +43 -43
- package/dist/chunks/{usage-limits-ebn47abq.js → filesystem-z4ndfdcq.js} +11 -11
- package/dist/chunks/{usage-limits-ctt8qbk9.js → filesystem-zdt59aw1.js} +3 -3
- package/dist/chunks/{usage-limits-09nb6j7n.js → filesystem-zfk4rxgj.js} +8 -8
- package/dist/chunks/{usage-limits-zqhzzkgw.js → filesystem-zj038rf2.js} +6 -6
- package/dist/chunks/{usage-limits-zkg84ctx.js → filesystem-zkg84ctx.js} +1 -1
- package/dist/chunks/{usage-limits-3agpfbf6.js → filesystem-zqmnxa57.js} +17 -17
- package/dist/chunks/{usage-limits-emsb7nrx.js → filesystem-zr78jqjw.js} +17 -17
- package/dist/chunks/{usage-limits-1nr9fzax.js → filesystem-zz0567cx.js} +9 -9
- 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 +87 -87
- 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 +118 -118
- package/dist/config/plugin/command.js +214 -214
- 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 +125 -125
- 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 +118 -118
- 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 +115 -115
- package/dist/config/plugin/tool-output.js +119 -119
- package/dist/config/plugin/websearch.js +117 -117
- 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 +85 -85
- 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 -376
- 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 +98 -98
- 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 +223 -223
- package/dist/filesystem/protected.js +1 -1
- package/dist/filesystem/search.js +102 -102
- package/dist/filesystem/watcher-binding.js +1 -1
- package/dist/filesystem/watcher.js +9 -9
- package/dist/filesystem.js +109 -109
- package/dist/form.js +82 -82
- package/dist/formatter/builtins.js +4 -4
- package/dist/formatter.js +92 -92
- package/dist/generate.js +112 -112
- 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 -367
- package/dist/instruction-discovery.js +84 -84
- 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 +80 -80
- 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 +9 -9
- package/dist/mcp/client.js +97 -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 +104 -104
- package/dist/model-retry.js +1 -1
- package/dist/model.js +107 -107
- package/dist/models-dev.js +104 -104
- 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 +112 -112
- 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 +78 -78
- package/dist/plugin/command.js +105 -105
- 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 +1 -1
- 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 +105 -105
- package/dist/plugin/promise.js +1 -1
- package/dist/plugin/provider/amazon-bedrock.js +95 -95
- package/dist/plugin/provider/azure.js +116 -116
- 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 +103 -103
- 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 +134 -134
- package/dist/plugin/source-directory.js +1 -1
- package/dist/plugin/supervisor.js +352 -352
- package/dist/plugin/tool-input-repair.js +2 -2
- package/dist/plugin/update.js +6 -6
- package/dist/plugin/vcs/git.js +91 -91
- package/dist/plugin/vcs/hg.js +89 -89
- package/dist/plugin/verbosity.js +98 -98
- package/dist/plugin/warming.js +116 -116
- package/dist/plugin/websearch/exa.js +5 -5
- package/dist/plugin/websearch/firecrawl.js +8 -8
- package/dist/plugin/websearch/index.js +9 -9
- package/dist/plugin/websearch/mcp.js +2 -2
- package/dist/plugin/websearch/parallel.js +6 -6
- package/dist/plugin/websearch/tavily.js +6 -6
- package/dist/plugin/websearch/tinyfish.js +8 -8
- package/dist/plugin.js +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 +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 +102 -102
- 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 +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 +231 -231
- 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 +129 -129
- package/dist/session/runner/to-llm-message.js +14 -14
- package/dist/session/schema.js +3 -3
- 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 +165 -165
- package/dist/session/to-session-error.js +117 -117
- package/dist/session/transfer.js +217 -217
- 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 +7 -7
- package/dist/shell.js +134 -134
- package/dist/skill/discovery.js +6 -6
- package/dist/skill/instructions.js +110 -110
- package/dist/skill.js +113 -113
- 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 +142 -142
- 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 +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 +217 -217
- package/dist/tool/plugin/skill.js +114 -114
- package/dist/tool/plugin/subagent.js +221 -221
- package/dist/tool/plugin/todo.js +138 -138
- package/dist/tool/plugin/webfetch.js +114 -114
- package/dist/tool/plugin/websearch.js +117 -117
- package/dist/tool/plugin/write.js +117 -117
- 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 +16 -16
- package/dist/types/mcp/client.d.ts +2 -0
- 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 +3 -3
- 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 +1 -1
- package/dist/v1/config/provider-options.js +1 -1
- package/dist/v1/config/provider.js +4 -4
- package/dist/variant.js +96 -96
- package/dist/vcs/patch.js +1 -1
- package/dist/vcs.js +94 -94
- package/dist/voice.js +92 -92
- package/dist/websearch.js +86 -86
- package/dist/wellknown/plugin.js +80 -80
- package/dist/wellknown.js +83 -83
- package/dist/workspace/driver.js +7 -7
- 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-frx5y0yf.js +0 -26
- package/dist/chunks/usage-limits-z7bdqmx5.js +0 -18
- /package/dist/chunks/{usage-limits-0qkdqm5v.js → filesystem-0qkdqm5v.js} +0 -0
- /package/dist/chunks/{usage-limits-0zkw76rk.js → filesystem-0zkw76rk.js} +0 -0
- /package/dist/chunks/{usage-limits-17cy0kzp.js → filesystem-17cy0kzp.js} +0 -0
- /package/dist/chunks/{usage-limits-1cnp2v09.js → filesystem-1cnp2v09.js} +0 -0
- /package/dist/chunks/{usage-limits-24dcb14g.js → filesystem-24dcb14g.js} +0 -0
- /package/dist/chunks/{usage-limits-2710q6r3.js → filesystem-2710q6r3.js} +0 -0
- /package/dist/chunks/{usage-limits-2bv980vf.js → filesystem-2bv980vf.js} +0 -0
- /package/dist/chunks/{usage-limits-2c3vjs8z.js → filesystem-2c3vjs8z.js} +0 -0
- /package/dist/chunks/{usage-limits-359p4xyc.js → filesystem-359p4xyc.js} +0 -0
- /package/dist/chunks/{usage-limits-3asan66x.js → filesystem-3asan66x.js} +0 -0
- /package/dist/chunks/{usage-limits-3v8g72cx.js → filesystem-3v8g72cx.js} +0 -0
- /package/dist/chunks/{usage-limits-3wcehsnq.js → filesystem-3wcehsnq.js} +0 -0
- /package/dist/chunks/{usage-limits-43n2bw4t.js → filesystem-43n2bw4t.js} +0 -0
- /package/dist/chunks/{usage-limits-4knz6hnm.js → filesystem-4knz6hnm.js} +0 -0
- /package/dist/chunks/{usage-limits-4vcrnpx2.js → filesystem-4vcrnpx2.js} +0 -0
- /package/dist/chunks/{usage-limits-4y7fprxs.js → filesystem-4y7fprxs.js} +0 -0
- /package/dist/chunks/{usage-limits-53557ph1.js → filesystem-53557ph1.js} +0 -0
- /package/dist/chunks/{usage-limits-550bvhaj.js → filesystem-550bvhaj.js} +0 -0
- /package/dist/chunks/{usage-limits-5fjb7ams.js → filesystem-5fjb7ams.js} +0 -0
- /package/dist/chunks/{usage-limits-5qd3pb7m.js → filesystem-5qd3pb7m.js} +0 -0
- /package/dist/chunks/{usage-limits-6prwharc.js → filesystem-6prwharc.js} +0 -0
- /package/dist/chunks/{usage-limits-6q2bdcd1.js → filesystem-6q2bdcd1.js} +0 -0
- /package/dist/chunks/{usage-limits-7akdwqpd.js → filesystem-7akdwqpd.js} +0 -0
- /package/dist/chunks/{usage-limits-7m9af43g.js → filesystem-7m9af43g.js} +0 -0
- /package/dist/chunks/{usage-limits-822emrt2.js → filesystem-822emrt2.js} +0 -0
- /package/dist/chunks/{usage-limits-84wd9syh.js → filesystem-84wd9syh.js} +0 -0
- /package/dist/chunks/{usage-limits-88xbtdfr.js → filesystem-88xbtdfr.js} +0 -0
- /package/dist/chunks/{usage-limits-8n3pysct.js → filesystem-8n3pysct.js} +0 -0
- /package/dist/chunks/{usage-limits-8wj87zfr.js → filesystem-8wj87zfr.js} +0 -0
- /package/dist/chunks/{usage-limits-9a4afbnw.js → filesystem-9a4afbnw.js} +0 -0
- /package/dist/chunks/{usage-limits-9rqn6x4v.js → filesystem-9rqn6x4v.js} +0 -0
- /package/dist/chunks/{usage-limits-a058387c.js → filesystem-a058387c.js} +0 -0
- /package/dist/chunks/{usage-limits-a6k6eb26.js → filesystem-a6k6eb26.js} +0 -0
- /package/dist/chunks/{usage-limits-af5trqkr.js → filesystem-af5trqkr.js} +0 -0
- /package/dist/chunks/{usage-limits-afrmfg78.js → filesystem-afrmfg78.js} +0 -0
- /package/dist/chunks/{usage-limits-aqzs7mqg.js → filesystem-aqzs7mqg.js} +0 -0
- /package/dist/chunks/{usage-limits-atq7p7m5.js → filesystem-atq7p7m5.js} +0 -0
- /package/dist/chunks/{usage-limits-bkyjaxrp.js → filesystem-bkyjaxrp.js} +0 -0
- /package/dist/chunks/{usage-limits-bmr6ed5q.js → filesystem-bmr6ed5q.js} +0 -0
- /package/dist/chunks/{usage-limits-cf4snx6d.js → filesystem-cf4snx6d.js} +0 -0
- /package/dist/chunks/{usage-limits-cqv5kn06.js → filesystem-cqv5kn06.js} +0 -0
- /package/dist/chunks/{usage-limits-cvy3z8tj.js → filesystem-cvy3z8tj.js} +0 -0
- /package/dist/chunks/{usage-limits-d9fn303g.js → filesystem-d9fn303g.js} +0 -0
- /package/dist/chunks/{usage-limits-d9jj8t3e.js → filesystem-d9jj8t3e.js} +0 -0
- /package/dist/chunks/{usage-limits-dajrwvna.js → filesystem-dajrwvna.js} +0 -0
- /package/dist/chunks/{usage-limits-dap0rakb.js → filesystem-dap0rakb.js} +0 -0
- /package/dist/chunks/{usage-limits-df08tz66.js → filesystem-df08tz66.js} +0 -0
- /package/dist/chunks/{usage-limits-dy18nga0.js → filesystem-dy18nga0.js} +0 -0
- /package/dist/chunks/{usage-limits-e5kj55wp.js → filesystem-e5kj55wp.js} +0 -0
- /package/dist/chunks/{usage-limits-e73j6tqm.js → filesystem-e73j6tqm.js} +0 -0
- /package/dist/chunks/{usage-limits-ec1grn59.js → filesystem-ec1grn59.js} +0 -0
- /package/dist/chunks/{usage-limits-eh3zwz77.js → filesystem-eh3zwz77.js} +0 -0
- /package/dist/chunks/{usage-limits-emrn6kk6.js → filesystem-emrn6kk6.js} +0 -0
- /package/dist/chunks/{usage-limits-f0mxakyp.js → filesystem-f0mxakyp.js} +0 -0
- /package/dist/chunks/{usage-limits-f6n9ztr4.js → filesystem-f6n9ztr4.js} +0 -0
- /package/dist/chunks/{usage-limits-faypxj3z.js → filesystem-faypxj3z.js} +0 -0
- /package/dist/chunks/{usage-limits-fd410y7t.js → filesystem-fd410y7t.js} +0 -0
- /package/dist/chunks/{usage-limits-g4wezp1m.js → filesystem-g4wezp1m.js} +0 -0
- /package/dist/chunks/{usage-limits-g86h250q.js → filesystem-g86h250q.js} +0 -0
- /package/dist/chunks/{usage-limits-gebd4c9n.js → filesystem-gebd4c9n.js} +0 -0
- /package/dist/chunks/{usage-limits-gftt206x.js → filesystem-gftt206x.js} +0 -0
- /package/dist/chunks/{usage-limits-hcxmzztb.js → filesystem-hcxmzztb.js} +0 -0
- /package/dist/chunks/{usage-limits-hk9envan.js → filesystem-hk9envan.js} +0 -0
- /package/dist/chunks/{usage-limits-j2ntwpah.js → filesystem-j2ntwpah.js} +0 -0
- /package/dist/chunks/{usage-limits-j5zkgpj8.js → filesystem-j5zkgpj8.js} +0 -0
- /package/dist/chunks/{usage-limits-jjkms2e6.js → filesystem-jjkms2e6.js} +0 -0
- /package/dist/chunks/{usage-limits-jr7sbwjy.js → filesystem-jr7sbwjy.js} +0 -0
- /package/dist/chunks/{usage-limits-jwfs4k6c.js → filesystem-jwfs4k6c.js} +0 -0
- /package/dist/chunks/{usage-limits-jwr30sdr.js → filesystem-jwr30sdr.js} +0 -0
- /package/dist/chunks/{usage-limits-jze0r7bz.js → filesystem-jze0r7bz.js} +0 -0
- /package/dist/chunks/{usage-limits-jzg6c2d5.js → filesystem-jzg6c2d5.js} +0 -0
- /package/dist/chunks/{usage-limits-m18g726c.js → filesystem-m18g726c.js} +0 -0
- /package/dist/chunks/{usage-limits-mp448xyj.js → filesystem-mp448xyj.js} +0 -0
- /package/dist/chunks/{usage-limits-msx8hqn2.js → filesystem-msx8hqn2.js} +0 -0
- /package/dist/chunks/{usage-limits-n05xt0ee.js → filesystem-n05xt0ee.js} +0 -0
- /package/dist/chunks/{usage-limits-n3j8tn72.js → filesystem-n3j8tn72.js} +0 -0
- /package/dist/chunks/{usage-limits-njntx4h6.js → filesystem-njntx4h6.js} +0 -0
- /package/dist/chunks/{usage-limits-pkyv6v7h.js → filesystem-pkyv6v7h.js} +0 -0
- /package/dist/chunks/{usage-limits-q3sfg36h.js → filesystem-q3sfg36h.js} +0 -0
- /package/dist/chunks/{usage-limits-q74kybfr.js → filesystem-q74kybfr.js} +0 -0
- /package/dist/chunks/{usage-limits-qaymkmh1.js → filesystem-qaymkmh1.js} +0 -0
- /package/dist/chunks/{usage-limits-qb87gjwd.js → filesystem-qb87gjwd.js} +0 -0
- /package/dist/chunks/{usage-limits-qfa1cgps.js → filesystem-qfa1cgps.js} +0 -0
- /package/dist/chunks/{usage-limits-qg3g05ea.js → filesystem-qg3g05ea.js} +0 -0
- /package/dist/chunks/{usage-limits-qrg20bc0.js → filesystem-qrg20bc0.js} +0 -0
- /package/dist/chunks/{usage-limits-rcb2kzg1.js → filesystem-rcb2kzg1.js} +0 -0
- /package/dist/chunks/{usage-limits-sdp7kfr6.js → filesystem-sdp7kfr6.js} +0 -0
- /package/dist/chunks/{usage-limits-ssg3fenm.js → filesystem-ssg3fenm.js} +0 -0
- /package/dist/chunks/{usage-limits-ve7vex1e.js → filesystem-ve7vex1e.js} +0 -0
- /package/dist/chunks/{usage-limits-w803qqfp.js → filesystem-w803qqfp.js} +0 -0
- /package/dist/chunks/{usage-limits-wc3fc9cn.js → filesystem-wc3fc9cn.js} +0 -0
- /package/dist/chunks/{usage-limits-wer8tq1h.js → filesystem-wer8tq1h.js} +0 -0
- /package/dist/chunks/{usage-limits-wjj7prxr.js → filesystem-wjj7prxr.js} +0 -0
- /package/dist/chunks/{usage-limits-wtztk69x.js → filesystem-wtztk69x.js} +0 -0
- /package/dist/chunks/{usage-limits-x0ckcb58.js → filesystem-x0ckcb58.js} +0 -0
- /package/dist/chunks/{usage-limits-x61499pn.js → filesystem-x61499pn.js} +0 -0
- /package/dist/chunks/{usage-limits-y44na4kk.js → filesystem-y44na4kk.js} +0 -0
- /package/dist/chunks/{usage-limits-y8f7s663.js → filesystem-y8f7s663.js} +0 -0
- /package/dist/chunks/{usage-limits-ygaqb7jw.js → filesystem-ygaqb7jw.js} +0 -0
- /package/dist/chunks/{usage-limits-ym463w8f.js → filesystem-ym463w8f.js} +0 -0
- /package/dist/chunks/{usage-limits-z5v4ffb3.js → filesystem-z5v4ffb3.js} +0 -0
- /package/dist/chunks/{usage-limits-z9919s4g.js → filesystem-z9919s4g.js} +0 -0
|
@@ -1,33 +1,33 @@
|
|
|
1
1
|
import {
|
|
2
2
|
Document2
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./filesystem-e07q2w5p.js";
|
|
4
4
|
import {
|
|
5
5
|
match2
|
|
6
|
-
} from "./
|
|
6
|
+
} from "./filesystem-z38nccrw.js";
|
|
7
7
|
import {
|
|
8
8
|
__export
|
|
9
|
-
} from "./
|
|
9
|
+
} from "./filesystem-9rqn6x4v.js";
|
|
10
10
|
|
|
11
11
|
// src/managed-policy.ts
|
|
12
12
|
var exports_managed_policy = {};
|
|
13
13
|
__export(exports_managed_policy, {
|
|
14
14
|
ManagedPolicy: () => exports_managed_policy,
|
|
15
|
-
Service: () =>
|
|
15
|
+
Service: () => Service20,
|
|
16
16
|
decision: () => decision2,
|
|
17
|
-
layer: () =>
|
|
18
|
-
node: () =>
|
|
17
|
+
layer: () => layer12,
|
|
18
|
+
node: () => node22,
|
|
19
19
|
statements: () => statements3
|
|
20
20
|
});
|
|
21
21
|
import { isDeepStrictEqual } from "node:util";
|
|
22
22
|
import { Context, Effect, Layer, PubSub, Stream } from "effect";
|
|
23
23
|
import { makeGlobalNode } from "@opencode/util/effect/app-node";
|
|
24
24
|
|
|
25
|
-
class
|
|
25
|
+
class Service20 extends Context.Service()("@opencode/ManagedPolicy") {
|
|
26
26
|
}
|
|
27
|
-
var
|
|
27
|
+
var layer12 = Layer.effect(Service20, Effect.gen(function* () {
|
|
28
28
|
const changes = yield* PubSub.unbounded();
|
|
29
29
|
const state = { current: { statements: [] } };
|
|
30
|
-
return
|
|
30
|
+
return Service20.of({
|
|
31
31
|
changes: () => Stream.fromPubSub(changes),
|
|
32
32
|
current: () => state.current,
|
|
33
33
|
set: (next) => Effect.gen(function* () {
|
|
@@ -39,7 +39,7 @@ var layer10 = Layer.effect(Service15, Effect.gen(function* () {
|
|
|
39
39
|
})
|
|
40
40
|
});
|
|
41
41
|
}));
|
|
42
|
-
var
|
|
42
|
+
var node22 = makeGlobalNode({ service: Service20, layer: layer12, deps: [] });
|
|
43
43
|
function statements3(entries, organization) {
|
|
44
44
|
return [
|
|
45
45
|
...entries.filter((entry) => entry.type === "document").toReversed().flatMap((entry) => (entry.info.policies ?? []).map((policy) => ({
|
|
@@ -56,4 +56,4 @@ function decision2(policies, action, resource) {
|
|
|
56
56
|
return policies.findLast((policy) => policy.action === action && match2(resource, policy.resource))?.effect ?? "allow";
|
|
57
57
|
}
|
|
58
58
|
|
|
59
|
-
export {
|
|
59
|
+
export { Service20, layer12, node22, statements3, decision2, exports_managed_policy };
|
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
import {
|
|
2
2
|
AbsolutePath2
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./filesystem-z5v4ffb3.js";
|
|
4
4
|
import {
|
|
5
5
|
__export
|
|
6
|
-
} from "./
|
|
6
|
+
} from "./filesystem-9rqn6x4v.js";
|
|
7
7
|
|
|
8
8
|
// src/worktree/directory.ts
|
|
9
9
|
var exports_directory = {};
|
|
@@ -1,56 +1,56 @@
|
|
|
1
1
|
import {
|
|
2
2
|
Service87
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./filesystem-f4c57skx.js";
|
|
4
4
|
import {
|
|
5
5
|
Service86
|
|
6
|
-
} from "./
|
|
6
|
+
} from "./filesystem-4fhqgc15.js";
|
|
7
7
|
import {
|
|
8
|
-
|
|
9
|
-
} from "./
|
|
8
|
+
Service63
|
|
9
|
+
} from "./filesystem-32rqdfc7.js";
|
|
10
10
|
import {
|
|
11
11
|
userNotification2
|
|
12
|
-
} from "./
|
|
12
|
+
} from "./filesystem-k814nvkf.js";
|
|
13
13
|
import {
|
|
14
14
|
SessionMessage2
|
|
15
|
-
} from "./
|
|
15
|
+
} from "./filesystem-gftt206x.js";
|
|
16
16
|
import {
|
|
17
|
-
|
|
17
|
+
NotFoundError10,
|
|
18
18
|
PromptConflictError2,
|
|
19
19
|
SyntheticConflictError2,
|
|
20
20
|
CompactionConflictError2,
|
|
21
21
|
BusyError2,
|
|
22
22
|
InboxConflictError2
|
|
23
|
-
} from "./
|
|
23
|
+
} from "./filesystem-8shc1k29.js";
|
|
24
24
|
import {
|
|
25
25
|
SessionEvent2
|
|
26
|
-
} from "./
|
|
26
|
+
} from "./filesystem-ec1grn59.js";
|
|
27
27
|
import {
|
|
28
|
-
|
|
29
|
-
} from "./
|
|
28
|
+
Service75
|
|
29
|
+
} from "./filesystem-a54cs83f.js";
|
|
30
30
|
import {
|
|
31
31
|
SyntheticPayload2,
|
|
32
|
-
|
|
33
|
-
} from "./
|
|
32
|
+
Service62
|
|
33
|
+
} from "./filesystem-aa6rfe83.js";
|
|
34
34
|
import {
|
|
35
|
-
|
|
36
|
-
} from "./
|
|
35
|
+
Service59
|
|
36
|
+
} from "./filesystem-4fvyz6gm.js";
|
|
37
37
|
import {
|
|
38
38
|
prepare2
|
|
39
|
-
} from "./
|
|
39
|
+
} from "./filesystem-vvmd7csk.js";
|
|
40
40
|
import {
|
|
41
41
|
stage2,
|
|
42
42
|
clear2,
|
|
43
43
|
commit2
|
|
44
|
-
} from "./
|
|
44
|
+
} from "./filesystem-yjvjgdfq.js";
|
|
45
45
|
import {
|
|
46
46
|
start2
|
|
47
|
-
} from "./
|
|
47
|
+
} from "./filesystem-zz0567cx.js";
|
|
48
48
|
import {
|
|
49
49
|
get4
|
|
50
|
-
} from "./
|
|
50
|
+
} from "./filesystem-q4syar25.js";
|
|
51
51
|
import {
|
|
52
52
|
__export
|
|
53
|
-
} from "./
|
|
53
|
+
} from "./filesystem-9rqn6x4v.js";
|
|
54
54
|
|
|
55
55
|
// src/session/session.ts
|
|
56
56
|
var exports_session2 = {};
|
|
@@ -64,16 +64,16 @@ import { FSUtil } from "@opencode/util/fs-util";
|
|
|
64
64
|
var make15 = Effect.fn("Session.make")(function* () {
|
|
65
65
|
const bus = yield* Service86;
|
|
66
66
|
const database = yield* Service87;
|
|
67
|
-
const store = yield*
|
|
68
|
-
const instances = yield*
|
|
69
|
-
const execution = yield*
|
|
70
|
-
const admission = yield*
|
|
67
|
+
const store = yield* Service75;
|
|
68
|
+
const instances = yield* Service63;
|
|
69
|
+
const execution = yield* Service59;
|
|
70
|
+
const admission = yield* Service62;
|
|
71
71
|
const fs = yield* FSUtil.Service;
|
|
72
72
|
const scope = yield* Scope.Scope;
|
|
73
73
|
const get = Effect.fn("Session.get")(function* (sessionID) {
|
|
74
74
|
const session = yield* store.get(sessionID);
|
|
75
75
|
if (!session)
|
|
76
|
-
return yield* new
|
|
76
|
+
return yield* new NotFoundError10({ sessionID });
|
|
77
77
|
return session;
|
|
78
78
|
});
|
|
79
79
|
const message = Effect.fn("Session.message")(function* (sessionID, messageID) {
|
|
@@ -146,7 +146,7 @@ var make15 = Effect.fn("Session.make")(function* () {
|
|
|
146
146
|
});
|
|
147
147
|
if (existing)
|
|
148
148
|
return existing;
|
|
149
|
-
const item = yield* restore(prepare2({ session, messageID, input }).pipe(Effect.provideService(
|
|
149
|
+
const item = yield* restore(prepare2({ session, messageID, input }).pipe(Effect.provideService(Service63, instances), Effect.provideService(FSUtil.Service, fs)));
|
|
150
150
|
if (session.revert)
|
|
151
151
|
yield* commit2(bus, session);
|
|
152
152
|
return yield* admission.admit({
|
|
@@ -162,7 +162,7 @@ var make15 = Effect.fn("Session.make")(function* () {
|
|
|
162
162
|
const shell = Effect.fn("Session.shell")(function* (sessionID, input) {
|
|
163
163
|
const session = yield* get(sessionID);
|
|
164
164
|
const running = yield* Effect.gen(function* () {
|
|
165
|
-
const started = yield* start2({ session, command: input.command }).pipe(Effect.provideService(
|
|
165
|
+
const started = yield* start2({ session, command: input.command }).pipe(Effect.provideService(Service63, instances), Effect.tapError((error) => synthetic(sessionID, {
|
|
166
166
|
text: `User shell command failed to start:
|
|
167
167
|
${input.command}
|
|
168
168
|
|
|
@@ -191,7 +191,7 @@ ${error.message}`,
|
|
|
191
191
|
});
|
|
192
192
|
const skill = Effect.fn("Session.skill")(function* (sessionID, input) {
|
|
193
193
|
const session = yield* get(sessionID);
|
|
194
|
-
const skill = yield* get4({ session, skill: input.skill }).pipe(Effect.provideService(
|
|
194
|
+
const skill = yield* get4({ session, skill: input.skill }).pipe(Effect.provideService(Service63, instances));
|
|
195
195
|
yield* bus.publish(SessionEvent2.Skill.Activated, {
|
|
196
196
|
sessionID,
|
|
197
197
|
id: skill.id,
|
|
@@ -248,13 +248,13 @@ ${error.message}`,
|
|
|
248
248
|
const session = yield* get(sessionID);
|
|
249
249
|
if (yield* execution.isActive(sessionID))
|
|
250
250
|
return yield* new BusyError2({ sessionID });
|
|
251
|
-
return yield* stage2({ session, messageID: input.messageID, files: input.files }).pipe(Effect.provideService(
|
|
251
|
+
return yield* stage2({ session, messageID: input.messageID, files: input.files }).pipe(Effect.provideService(Service63, instances), Effect.provideService(Service87, database), Effect.provideService(Service86, bus));
|
|
252
252
|
});
|
|
253
253
|
const clear = Effect.fn("Session.revert.clear")(function* (sessionID) {
|
|
254
254
|
const session = yield* get(sessionID);
|
|
255
255
|
if (yield* execution.isActive(sessionID))
|
|
256
256
|
return yield* new BusyError2({ sessionID });
|
|
257
|
-
yield* clear2(session).pipe(Effect.provideService(
|
|
257
|
+
yield* clear2(session).pipe(Effect.provideService(Service63, instances), Effect.provideService(Service86, bus));
|
|
258
258
|
return yield* execution.wake(sessionID);
|
|
259
259
|
});
|
|
260
260
|
const commit = Effect.fn("Session.revert.commit")(function* (sessionID) {
|
|
@@ -1,17 +1,17 @@
|
|
|
1
1
|
import {
|
|
2
2
|
Ref4
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./filesystem-0r6ymdag.js";
|
|
4
4
|
import {
|
|
5
5
|
__export
|
|
6
|
-
} from "./
|
|
6
|
+
} from "./filesystem-9rqn6x4v.js";
|
|
7
7
|
|
|
8
8
|
// src/location-service-map.ts
|
|
9
9
|
var exports_location_service_map = {};
|
|
10
10
|
__export(exports_location_service_map, {
|
|
11
11
|
LocationServiceMap: () => exports_location_service_map,
|
|
12
|
-
Service: () =>
|
|
12
|
+
Service: () => Service65,
|
|
13
13
|
canonical: () => canonical3,
|
|
14
|
-
node: () =>
|
|
14
|
+
node: () => node69,
|
|
15
15
|
reload: () => reload2
|
|
16
16
|
});
|
|
17
17
|
import { Context, Effect, Exit, Layer, RcMap } from "effect";
|
|
@@ -19,14 +19,14 @@ import { LayerNode } from "@opencode/util/effect/layer-node";
|
|
|
19
19
|
import { Node } from "@opencode/util/effect/app-node";
|
|
20
20
|
import { AbsolutePath } from "@opencode/schema/schema";
|
|
21
21
|
import path from "path";
|
|
22
|
-
class
|
|
22
|
+
class Service65 extends Context.Service()("@opencode/example/LocationServiceMap") {
|
|
23
23
|
static get(ref) {
|
|
24
|
-
return Layer.unwrap(Effect.map(
|
|
24
|
+
return Layer.unwrap(Effect.map(Service65, (locations) => locations.get(ref)));
|
|
25
25
|
}
|
|
26
26
|
}
|
|
27
|
-
var
|
|
27
|
+
var node69 = LayerNode.unbound(Service65, Node.tags.values.global);
|
|
28
28
|
var reload2 = Effect.fn("LocationServiceMap.reload")(function* () {
|
|
29
|
-
const locations = yield*
|
|
29
|
+
const locations = yield* Service65;
|
|
30
30
|
const refs = Array.from(yield* RcMap.keys(locations.rcMap));
|
|
31
31
|
yield* Effect.forEach(refs, (ref) => locations.invalidate(ref), {
|
|
32
32
|
discard: true,
|
|
@@ -45,4 +45,4 @@ function canonical3(ref) {
|
|
|
45
45
|
});
|
|
46
46
|
}
|
|
47
47
|
|
|
48
|
-
export {
|
|
48
|
+
export { Service65, node69, reload2, canonical3, exports_location_service_map };
|
|
@@ -1,26 +1,26 @@
|
|
|
1
1
|
import {
|
|
2
2
|
latest2,
|
|
3
|
-
|
|
4
|
-
} from "./
|
|
3
|
+
Service68
|
|
4
|
+
} from "./filesystem-kw6b49qt.js";
|
|
5
5
|
import {
|
|
6
6
|
observe2
|
|
7
|
-
} from "./
|
|
7
|
+
} from "./filesystem-6pjqjmy2.js";
|
|
8
8
|
import {
|
|
9
9
|
__export
|
|
10
|
-
} from "./
|
|
10
|
+
} from "./filesystem-9rqn6x4v.js";
|
|
11
11
|
|
|
12
12
|
// src/config/plugin/websearch.ts
|
|
13
13
|
var exports_websearch2 = {};
|
|
14
14
|
__export(exports_websearch2, {
|
|
15
15
|
ConfigWebSearchPlugin: () => exports_websearch2,
|
|
16
|
-
Plugin: () =>
|
|
16
|
+
Plugin: () => Plugin29
|
|
17
17
|
});
|
|
18
18
|
import { define } from "@opencode/plugin/effect/plugin";
|
|
19
19
|
import { Effect } from "effect";
|
|
20
|
-
var
|
|
20
|
+
var Plugin29 = define({
|
|
21
21
|
id: "opencode.config.websearch",
|
|
22
22
|
effect: Effect.fn(function* (ctx) {
|
|
23
|
-
const config = yield*
|
|
23
|
+
const config = yield* Service68;
|
|
24
24
|
const loaded = yield* observe2(config, ctx.event, ctx.websearch.reload());
|
|
25
25
|
yield* ctx.websearch.transform((websearch) => {
|
|
26
26
|
const selection = latest2(loaded.entries, "websearch");
|
|
@@ -32,4 +32,4 @@ var Plugin18 = define({
|
|
|
32
32
|
})
|
|
33
33
|
});
|
|
34
34
|
|
|
35
|
-
export {
|
|
35
|
+
export { Plugin29, exports_websearch2 };
|
|
@@ -1,27 +1,27 @@
|
|
|
1
1
|
import {
|
|
2
2
|
Service86
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./filesystem-4fhqgc15.js";
|
|
4
4
|
import {
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
} from "./
|
|
5
|
+
Service70,
|
|
6
|
+
Event11
|
|
7
|
+
} from "./filesystem-286bwkth.js";
|
|
8
8
|
import {
|
|
9
9
|
__export
|
|
10
|
-
} from "./
|
|
10
|
+
} from "./filesystem-9rqn6x4v.js";
|
|
11
11
|
|
|
12
12
|
// src/wellknown/plugin.ts
|
|
13
13
|
var exports_plugin = {};
|
|
14
14
|
__export(exports_plugin, {
|
|
15
|
-
Plugin: () =>
|
|
15
|
+
Plugin: () => Plugin50,
|
|
16
16
|
WellKnownPlugin: () => exports_plugin
|
|
17
17
|
});
|
|
18
18
|
import { define } from "@opencode/plugin/effect/plugin";
|
|
19
19
|
import { Effect, Stream } from "effect";
|
|
20
|
-
var
|
|
20
|
+
var Plugin50 = define({
|
|
21
21
|
id: "opencode.wellknown",
|
|
22
22
|
effect: Effect.fn(function* (ctx) {
|
|
23
23
|
const bus = yield* Service86;
|
|
24
|
-
const wellknown = yield*
|
|
24
|
+
const wellknown = yield* Service70;
|
|
25
25
|
yield* wellknown.entries().pipe(Effect.orDie);
|
|
26
26
|
yield* ctx.integration.transform((editor) => {
|
|
27
27
|
wellknown.snapshot().forEach((entry) => {
|
|
@@ -41,8 +41,8 @@ var Plugin33 = define({
|
|
|
41
41
|
});
|
|
42
42
|
});
|
|
43
43
|
});
|
|
44
|
-
yield* bus.subscribe(
|
|
44
|
+
yield* bus.subscribe(Event11.Updated).pipe(Stream.runForEach(() => ctx.integration.reload()), Effect.forkScoped({ startImmediately: true }));
|
|
45
45
|
})
|
|
46
46
|
});
|
|
47
47
|
|
|
48
|
-
export {
|
|
48
|
+
export { Plugin50, exports_plugin };
|
|
@@ -1,27 +1,27 @@
|
|
|
1
1
|
import {
|
|
2
2
|
Service86,
|
|
3
3
|
node90
|
|
4
|
-
} from "./
|
|
4
|
+
} from "./filesystem-4fhqgc15.js";
|
|
5
5
|
import {
|
|
6
6
|
shutdown2,
|
|
7
7
|
create3
|
|
8
|
-
} from "./
|
|
8
|
+
} from "./filesystem-vd3b3yk9.js";
|
|
9
9
|
import {
|
|
10
10
|
key2
|
|
11
|
-
} from "./
|
|
11
|
+
} from "./filesystem-61ennm6n.js";
|
|
12
12
|
import {
|
|
13
13
|
ID14,
|
|
14
|
-
Service77,
|
|
15
|
-
node81,
|
|
16
|
-
Event16
|
|
17
|
-
} from "./usage-limits-7pg880mj.js";
|
|
18
|
-
import {
|
|
19
14
|
Service80,
|
|
20
|
-
node84
|
|
21
|
-
|
|
15
|
+
node84,
|
|
16
|
+
Event17
|
|
17
|
+
} from "./filesystem-y5smbybx.js";
|
|
18
|
+
import {
|
|
19
|
+
Service83,
|
|
20
|
+
node87
|
|
21
|
+
} from "./filesystem-0r6ymdag.js";
|
|
22
22
|
import {
|
|
23
23
|
__export
|
|
24
|
-
} from "./
|
|
24
|
+
} from "./filesystem-9rqn6x4v.js";
|
|
25
25
|
|
|
26
26
|
// src/provider.ts
|
|
27
27
|
var exports_provider3 = {};
|
|
@@ -30,13 +30,13 @@ __export(exports_provider3, {
|
|
|
30
30
|
Compaction: () => Compaction3,
|
|
31
31
|
DEFAULT_CHUNK_TIMEOUT_MS: () => DEFAULT_CHUNK_TIMEOUT_MS2,
|
|
32
32
|
DEFAULT_TIMEOUT_MS: () => DEFAULT_TIMEOUT_MS3,
|
|
33
|
-
Event: () =>
|
|
33
|
+
Event: () => Event16,
|
|
34
34
|
ID: () => ID13,
|
|
35
|
-
Info: () =>
|
|
35
|
+
Info: () => Info23,
|
|
36
36
|
LoadError: () => LoadError3,
|
|
37
37
|
Provider: () => exports_provider3,
|
|
38
38
|
Request: () => Request3,
|
|
39
|
-
Service: () =>
|
|
39
|
+
Service: () => Service79,
|
|
40
40
|
Settings: () => Settings2,
|
|
41
41
|
Transport: () => Transport2,
|
|
42
42
|
aisdk: () => aisdk2,
|
|
@@ -48,7 +48,7 @@ __export(exports_provider3, {
|
|
|
48
48
|
mergeOverlay: () => mergeOverlay2,
|
|
49
49
|
modelSettings: () => modelSettings2,
|
|
50
50
|
nativeSettings: () => nativeSettings2,
|
|
51
|
-
node: () =>
|
|
51
|
+
node: () => node83,
|
|
52
52
|
packageName: () => packageName2,
|
|
53
53
|
timeout: () => timeout2,
|
|
54
54
|
timeouts: () => timeouts2
|
|
@@ -323,7 +323,7 @@ var Legacy = Schema.StructWithRest(Schema.Struct({
|
|
|
323
323
|
var decode = Schema.decodeUnknownSync(Legacy);
|
|
324
324
|
|
|
325
325
|
// src/provider.ts
|
|
326
|
-
import { Event as
|
|
326
|
+
import { Event as Event16 } from "@opencode/schema/provider";
|
|
327
327
|
var ID13 = Provider.ID;
|
|
328
328
|
var AISDK_PREFIX2 = "aisdk:";
|
|
329
329
|
var isAISDK2 = (value) => value?.startsWith(AISDK_PREFIX2) ?? false;
|
|
@@ -538,9 +538,9 @@ var Request3 = Provider.Request;
|
|
|
538
538
|
var Compaction3 = Provider.Compaction;
|
|
539
539
|
var Transport2 = Provider.Transport;
|
|
540
540
|
var Settings2 = Provider.Settings;
|
|
541
|
-
var
|
|
541
|
+
var Info23 = Provider.Info;
|
|
542
542
|
|
|
543
|
-
class
|
|
543
|
+
class Service79 extends Context.Service()("@opencode/Provider") {
|
|
544
544
|
}
|
|
545
545
|
var definitions = new WeakMap;
|
|
546
546
|
function index(providerID, models) {
|
|
@@ -553,10 +553,10 @@ function index(providerID, models) {
|
|
|
553
553
|
definitions.set(models, indexes);
|
|
554
554
|
return result;
|
|
555
555
|
}
|
|
556
|
-
var layer = Layer.effect(
|
|
556
|
+
var layer = Layer.effect(Service79, Effect2.gen(function* () {
|
|
557
557
|
const bus = yield* Service86;
|
|
558
|
-
const integrations = yield*
|
|
559
|
-
const location = yield*
|
|
558
|
+
const integrations = yield* Service80;
|
|
559
|
+
const location = yield* Service83;
|
|
560
560
|
const state = create3({
|
|
561
561
|
name: "provider",
|
|
562
562
|
initial: () => new Map,
|
|
@@ -567,7 +567,7 @@ var layer = Layer.effect(Service76, Effect2.gen(function* () {
|
|
|
567
567
|
const current = records.get(id);
|
|
568
568
|
if (current)
|
|
569
569
|
return current;
|
|
570
|
-
const added = { provider:
|
|
570
|
+
const added = { provider: Info23.empty(id), models: new Map };
|
|
571
571
|
records.set(id, added);
|
|
572
572
|
maps.add(added.models);
|
|
573
573
|
return added;
|
|
@@ -674,8 +674,8 @@ var layer = Layer.effect(Service76, Effect2.gen(function* () {
|
|
|
674
674
|
location: { directory: location.directory, workspaceID: location.workspaceID }
|
|
675
675
|
});
|
|
676
676
|
});
|
|
677
|
-
yield* bus.subscribe([
|
|
678
|
-
return
|
|
677
|
+
yield* bus.subscribe([Event17.Updated, Credential.Event.Updated, Credential.Event.Switched]).pipe(Stream.runForEach(() => notify), Effect2.forkScoped({ startImmediately: true }));
|
|
678
|
+
return Service79.of({
|
|
679
679
|
transform: state.transform,
|
|
680
680
|
reload: state.reload,
|
|
681
681
|
get: Effect2.fn("Provider.get")((id) => Effect2.sync(() => freeze(state.get().get(id)?.provider, true))),
|
|
@@ -684,7 +684,7 @@ var layer = Layer.effect(Service76, Effect2.gen(function* () {
|
|
|
684
684
|
snapshot
|
|
685
685
|
});
|
|
686
686
|
}));
|
|
687
|
-
var
|
|
687
|
+
var node83 = makeLocationNode({ service: Service79, layer, deps: [node90, node84, node87] });
|
|
688
688
|
var importPackage = Effect2.fn("Provider.importPackage")(function* (specifier, entrypoint, load = () => importModule(entrypoint)) {
|
|
689
689
|
const module = yield* Effect2.tryPromise({
|
|
690
690
|
try: () => {
|
|
@@ -706,4 +706,4 @@ var importPackage = Effect2.fn("Provider.importPackage")(function* (specifier, e
|
|
|
706
706
|
return module;
|
|
707
707
|
});
|
|
708
708
|
|
|
709
|
-
export { rewrite2, native2, exports_aisdk_native, ID13, AISDK_PREFIX2, isAISDK2, aisdk2, packageName2, LoadError3, builtinPackages2, loadPackage2, nativeSettings2, modelSettings2, DEFAULT_TIMEOUT_MS3, DEFAULT_CHUNK_TIMEOUT_MS2, timeout2, timeouts2, encoding2, mergeOverlay2, mergeHeaders2, Request3, Compaction3, Transport2, Settings2,
|
|
709
|
+
export { rewrite2, native2, exports_aisdk_native, ID13, AISDK_PREFIX2, isAISDK2, aisdk2, packageName2, LoadError3, builtinPackages2, loadPackage2, nativeSettings2, modelSettings2, DEFAULT_TIMEOUT_MS3, DEFAULT_CHUNK_TIMEOUT_MS2, timeout2, timeouts2, encoding2, mergeOverlay2, mergeHeaders2, Request3, Compaction3, Transport2, Settings2, Info23, Service79, node83, exports_provider3, Event16 };
|
|
@@ -1,14 +1,14 @@
|
|
|
1
1
|
import {
|
|
2
2
|
AgentNotFoundError2,
|
|
3
3
|
StepFailedError2
|
|
4
|
-
} from "./
|
|
4
|
+
} from "./filesystem-8shc1k29.js";
|
|
5
5
|
import {
|
|
6
6
|
CorrectedError2,
|
|
7
7
|
BlockedError2
|
|
8
|
-
} from "./
|
|
8
|
+
} from "./filesystem-6rh867e6.js";
|
|
9
9
|
import {
|
|
10
10
|
AuthorizationError2
|
|
11
|
-
} from "./
|
|
11
|
+
} from "./filesystem-y5smbybx.js";
|
|
12
12
|
import {
|
|
13
13
|
VariantUnavailableError2,
|
|
14
14
|
UnsupportedPackageError2,
|
|
@@ -16,11 +16,11 @@ import {
|
|
|
16
16
|
ModelInitializationError2,
|
|
17
17
|
UnresolvedProviderVariablesError2,
|
|
18
18
|
UnsupportedCompactionError2
|
|
19
|
-
} from "./
|
|
19
|
+
} from "./filesystem-48wh137g.js";
|
|
20
20
|
import {
|
|
21
21
|
ModelNotSelectedError2,
|
|
22
22
|
ModelUnavailableError2
|
|
23
|
-
} from "./
|
|
23
|
+
} from "./filesystem-0s7h5zzx.js";
|
|
24
24
|
|
|
25
25
|
// src/session/to-session-error.ts
|
|
26
26
|
import { AIError, ToolFailure } from "@opencode/ai/effect";
|
|
@@ -1,22 +1,22 @@
|
|
|
1
1
|
import {
|
|
2
2
|
Service86
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./filesystem-4fhqgc15.js";
|
|
4
4
|
import {
|
|
5
|
-
|
|
6
|
-
} from "./
|
|
5
|
+
Service83
|
|
6
|
+
} from "./filesystem-0r6ymdag.js";
|
|
7
7
|
import {
|
|
8
8
|
PromptsChanged2,
|
|
9
|
-
|
|
10
|
-
} from "./
|
|
9
|
+
Service41
|
|
10
|
+
} from "./filesystem-vgqmettk.js";
|
|
11
11
|
import {
|
|
12
12
|
__export
|
|
13
|
-
} from "./
|
|
13
|
+
} from "./filesystem-9rqn6x4v.js";
|
|
14
14
|
|
|
15
15
|
// src/plugin/command.ts
|
|
16
16
|
var exports_command2 = {};
|
|
17
17
|
__export(exports_command2, {
|
|
18
18
|
CommandPlugin: () => exports_command2,
|
|
19
|
-
Plugin: () =>
|
|
19
|
+
Plugin: () => Plugin48
|
|
20
20
|
});
|
|
21
21
|
import { define } from "@opencode/plugin/effect/plugin";
|
|
22
22
|
import { Effect, Stream } from "effect";
|
|
@@ -193,11 +193,11 @@ If you're uncertain about something and can't verify it with these tools, say "I
|
|
|
193
193
|
`;
|
|
194
194
|
|
|
195
195
|
// src/plugin/command.ts
|
|
196
|
-
var
|
|
196
|
+
var Plugin48 = define({
|
|
197
197
|
id: "opencode.command",
|
|
198
198
|
effect: Effect.fn(function* (ctx) {
|
|
199
|
-
const location = yield*
|
|
200
|
-
const mcp = yield*
|
|
199
|
+
const location = yield* Service83;
|
|
200
|
+
const mcp = yield* Service41;
|
|
201
201
|
const bus = yield* Service86;
|
|
202
202
|
const loaded = { prompts: [] };
|
|
203
203
|
yield* bus.subscribe(PromptsChanged2).pipe(Stream.runForEach(() => mcp.prompts().pipe(Effect.tap((prompts) => Effect.sync(() => loaded.prompts = prompts)), Effect.andThen(ctx.command.reload()))), Effect.forkScoped({ startImmediately: true }));
|
|
@@ -280,4 +280,4 @@ function sanitize(value) {
|
|
|
280
280
|
var argsRegex = /(?:\[Image\s+\d+\]|"[^"]*"|'[^']*'|[^\s"']+)/gi;
|
|
281
281
|
var quoteTrimRegex = /^["']|["']$/g;
|
|
282
282
|
|
|
283
|
-
export {
|
|
283
|
+
export { Plugin48, exports_command2 };
|
|
@@ -1,22 +1,22 @@
|
|
|
1
1
|
import {
|
|
2
|
-
|
|
3
|
-
} from "./
|
|
2
|
+
Service83
|
|
3
|
+
} from "./filesystem-0r6ymdag.js";
|
|
4
4
|
import {
|
|
5
|
-
|
|
5
|
+
ID12,
|
|
6
6
|
Family2
|
|
7
|
-
} from "./
|
|
7
|
+
} from "./filesystem-5pjpz24y.js";
|
|
8
8
|
import {
|
|
9
|
-
|
|
10
|
-
} from "./
|
|
9
|
+
Service68
|
|
10
|
+
} from "./filesystem-kw6b49qt.js";
|
|
11
11
|
import {
|
|
12
|
-
|
|
13
|
-
} from "./
|
|
12
|
+
Service55
|
|
13
|
+
} from "./filesystem-rrbn0j5d.js";
|
|
14
14
|
import {
|
|
15
15
|
spawner2
|
|
16
|
-
} from "./
|
|
16
|
+
} from "./filesystem-0h8y3ex8.js";
|
|
17
17
|
import {
|
|
18
18
|
foldSettings2
|
|
19
|
-
} from "./
|
|
19
|
+
} from "./filesystem-yzs5y582.js";
|
|
20
20
|
|
|
21
21
|
// src/plugin/provider/local.ts
|
|
22
22
|
import { define } from "@opencode/plugin/effect/plugin";
|
|
@@ -32,9 +32,9 @@ function createLocalProviderPlugin2(input) {
|
|
|
32
32
|
id: input.id,
|
|
33
33
|
effect: Effect.fn(function* (ctx) {
|
|
34
34
|
const http = HttpClient.filterStatusOk(yield* HttpClient.HttpClient);
|
|
35
|
-
const config = yield*
|
|
36
|
-
const environment = yield* Effect.serviceOption(
|
|
37
|
-
const location = yield* Effect.serviceOption(
|
|
35
|
+
const config = yield* Service68;
|
|
36
|
+
const environment = yield* Effect.serviceOption(Service55);
|
|
37
|
+
const location = yield* Effect.serviceOption(Service83);
|
|
38
38
|
const defaultOrigin = origin ?? (shellParserWasm.bash === "" || Option.isSome(location) && location.value.workspaceID !== undefined || Option.isSome(environment) && environment.value.spawner === spawner2 ? undefined : input.origin);
|
|
39
39
|
const source = { current: configured(yield* config.entries(), input.providerID, defaultOrigin, suffix) };
|
|
40
40
|
const loaded = { models: [], hash: "[]" };
|
|
@@ -63,7 +63,7 @@ function createLocalProviderPlugin2(input) {
|
|
|
63
63
|
for (const item of loaded.models) {
|
|
64
64
|
const spec = input.model(item);
|
|
65
65
|
providers.models.update(input.providerID, spec.id, (model) => {
|
|
66
|
-
model.modelID =
|
|
66
|
+
model.modelID = ID12.make(spec.id);
|
|
67
67
|
model.name = spec.name || spec.id;
|
|
68
68
|
model.family = spec.family ? Family2.make(spec.family) : undefined;
|
|
69
69
|
model.capabilities = {
|