@opencode/core 0.0.0-dev-19519 → 0.0.0-dev-19520
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 +82 -82
- package/dist/aisdk-native.js +2 -2
- package/dist/aisdk.js +6 -6
- package/dist/app.js +3 -3
- package/dist/bus.js +72 -72
- package/dist/catalog.js +84 -84
- package/dist/chunks/{aisdk-axzgnajw.js → ripgrep-029gxqke.js} +36 -36
- package/dist/chunks/{aisdk-0bm6edds.js → ripgrep-03m5yc2w.js} +15 -15
- package/dist/chunks/{aisdk-yd9wcedj.js → ripgrep-0a0yz20b.js} +23 -23
- package/dist/chunks/{aisdk-6sth7kcr.js → ripgrep-0bps82y7.js} +6 -6
- package/dist/chunks/ripgrep-0mesazry.js +4 -0
- package/dist/chunks/{aisdk-0paq2nw3.js → ripgrep-0paq2nw3.js} +1 -1
- package/dist/chunks/{aisdk-0q0f95c6.js → ripgrep-0q0f95c6.js} +1 -1
- package/dist/chunks/{aisdk-gxsccdtc.js → ripgrep-15t60dpg.js} +41 -41
- package/dist/chunks/{aisdk-ncwp57gn.js → ripgrep-189kb88v.js} +11 -11
- package/dist/chunks/{aisdk-epaqsvmn.js → ripgrep-18e56dsp.js} +4 -4
- package/dist/chunks/{aisdk-ze2vws08.js → ripgrep-1902bdn8.js} +27 -27
- package/dist/chunks/{aisdk-gv6a8nnw.js → ripgrep-19d3sct9.js} +5 -5
- package/dist/chunks/{aisdk-y5h36fh7.js → ripgrep-19vea52x.js} +11 -11
- package/dist/chunks/{aisdk-1dazxqgg.js → ripgrep-1dazxqgg.js} +2 -2
- package/dist/chunks/{aisdk-21r38tys.js → ripgrep-21r38tys.js} +1 -1
- package/dist/chunks/{aisdk-c3fsn6h2.js → ripgrep-23va4g8n.js} +11 -11
- package/dist/chunks/{aisdk-2402vzrj.js → ripgrep-2402vzrj.js} +1 -1
- package/dist/chunks/{aisdk-xt6sjn1c.js → ripgrep-273h6293.js} +6 -6
- package/dist/chunks/{aisdk-z63w68vq.js → ripgrep-29x78va6.js} +6 -6
- package/dist/chunks/{aisdk-dj9sq318.js → ripgrep-2a4sgpmw.js} +5 -5
- package/dist/chunks/{aisdk-2a5m3afh.js → ripgrep-2a5m3afh.js} +1 -1
- package/dist/chunks/{aisdk-bqmb3fxw.js → ripgrep-2k28pc1g.js} +16 -16
- package/dist/chunks/{aisdk-mce7j10b.js → ripgrep-2k2kkdba.js} +11 -11
- package/dist/chunks/{aisdk-219neeqh.js → ripgrep-2ve45fd6.js} +5 -5
- package/dist/chunks/{aisdk-eyg9ws1k.js → ripgrep-2zr7sd05.js} +21 -21
- package/dist/chunks/{aisdk-t1f31a8j.js → ripgrep-3916sf1y.js} +27 -27
- package/dist/chunks/{aisdk-dg3h0a92.js → ripgrep-3cfxxyky.js} +17 -17
- package/dist/chunks/{aisdk-s1awdw9x.js → ripgrep-3cwb9jzf.js} +7 -7
- package/dist/chunks/{aisdk-pzhysev7.js → ripgrep-3e0pbzwc.js} +8 -8
- package/dist/chunks/{aisdk-3fc6dm20.js → ripgrep-3fc6dm20.js} +1 -1
- package/dist/chunks/{aisdk-3hepkmqq.js → ripgrep-3hepkmqq.js} +1 -1
- package/dist/chunks/{aisdk-3smtnn6g.js → ripgrep-3smtnn6g.js} +1 -1
- package/dist/chunks/{aisdk-3cgpfn1y.js → ripgrep-3svns4sc.js} +6 -6
- package/dist/chunks/{aisdk-3tvqynh2.js → ripgrep-3tvqynh2.js} +1 -1
- package/dist/chunks/{aisdk-kw3rpzz6.js → ripgrep-3xagmvq1.js} +8 -8
- package/dist/chunks/{aisdk-265kqrgy.js → ripgrep-4786se8r.js} +1 -1
- package/dist/chunks/{aisdk-wa0m3aez.js → ripgrep-4fzjfb08.js} +29 -29
- package/dist/chunks/{aisdk-anqp1ket.js → ripgrep-4sfcqppx.js} +2 -2
- package/dist/chunks/{aisdk-kt3y8h6r.js → ripgrep-4svbav50.js} +47 -47
- package/dist/chunks/{aisdk-m6g7jkxp.js → ripgrep-4wnp65at.js} +7 -7
- package/dist/chunks/{aisdk-4y66k410.js → ripgrep-4y66k410.js} +2 -2
- package/dist/chunks/{aisdk-hec2v6w6.js → ripgrep-4ypr07qq.js} +47 -47
- package/dist/chunks/{aisdk-p1a96z2b.js → ripgrep-4z15ngcr.js} +14 -14
- package/dist/chunks/{aisdk-xghvv9rn.js → ripgrep-52zfrmt1.js} +1 -1
- package/dist/chunks/{aisdk-3970aszm.js → ripgrep-5425k34f.js} +19 -19
- package/dist/chunks/{aisdk-1awgbxp7.js → ripgrep-55ec9169.js} +9 -9
- package/dist/chunks/{aisdk-1ygqh575.js → ripgrep-56gdpj1q.js} +9 -9
- package/dist/chunks/{aisdk-p8wja8y5.js → ripgrep-56gqpxz5.js} +63 -63
- package/dist/chunks/{aisdk-pzd97zp3.js → ripgrep-56tq4mad.js} +11 -11
- package/dist/chunks/{aisdk-kzwbfm8p.js → ripgrep-585pw9ae.js} +22 -22
- package/dist/chunks/{aisdk-a1bz86dw.js → ripgrep-5c4hm403.js} +3 -3
- package/dist/chunks/{aisdk-5daktx2q.js → ripgrep-5daktx2q.js} +1 -1
- package/dist/chunks/{aisdk-xw4p555a.js → ripgrep-5pegjrmw.js} +32 -32
- package/dist/chunks/ripgrep-5sag4wt5.js +22 -0
- package/dist/chunks/{aisdk-5t3nmthw.js → ripgrep-5t3nmthw.js} +2 -2
- package/dist/chunks/{aisdk-26688qyv.js → ripgrep-65jk6x65.js} +26 -26
- package/dist/chunks/{aisdk-669tq793.js → ripgrep-669tq793.js} +1 -1
- package/dist/chunks/{aisdk-kwh8rdnc.js → ripgrep-68sqcc23.js} +8 -8
- package/dist/chunks/{aisdk-1vang8nn.js → ripgrep-693j5c0s.js} +6 -6
- package/dist/chunks/{aisdk-2bdehndw.js → ripgrep-6hegse3n.js} +19 -19
- package/dist/chunks/{aisdk-6msgmcgs.js → ripgrep-6msgmcgs.js} +1 -1
- package/dist/chunks/{aisdk-5pddvan8.js → ripgrep-6x7sck92.js} +17 -17
- package/dist/chunks/{aisdk-71q4at8m.js → ripgrep-71q4at8m.js} +1 -1
- package/dist/chunks/{aisdk-jfqtm2ew.js → ripgrep-73gmm198.js} +4 -4
- package/dist/chunks/{aisdk-4z8f8a6g.js → ripgrep-795tw062.js} +23 -23
- package/dist/chunks/{aisdk-k5gqmr58.js → ripgrep-798sgk8w.js} +11 -11
- package/dist/chunks/{aisdk-5xtgfte3.js → ripgrep-7b15y959.js} +8 -8
- package/dist/chunks/{aisdk-7bmhse3q.js → ripgrep-7bmhse3q.js} +1 -1
- package/dist/chunks/{aisdk-7dqw4kz8.js → ripgrep-7dqw4kz8.js} +1 -1
- package/dist/chunks/{aisdk-ybax85s4.js → ripgrep-7mbgx17m.js} +26 -26
- package/dist/chunks/{aisdk-pxgfjhef.js → ripgrep-7q1g2eq3.js} +286 -286
- package/dist/chunks/{aisdk-2bvfj2rk.js → ripgrep-7y5jkdce.js} +13 -13
- package/dist/chunks/{aisdk-mhkvc446.js → ripgrep-7yh4e7ss.js} +3 -3
- package/dist/chunks/{aisdk-e33xfcyq.js → ripgrep-82f74kwp.js} +29 -29
- package/dist/chunks/{aisdk-6tt5evqq.js → ripgrep-89smrnyf.js} +4 -4
- package/dist/chunks/{aisdk-t2p9dx1c.js → ripgrep-8a0b7fze.js} +4 -4
- package/dist/chunks/{aisdk-8d7r5vzw.js → ripgrep-8d7r5vzw.js} +1 -1
- package/dist/chunks/{aisdk-vpznpbtb.js → ripgrep-8evqb545.js} +17 -17
- package/dist/chunks/{aisdk-nxhqveyz.js → ripgrep-8jxztqqt.js} +5 -5
- package/dist/chunks/{aisdk-jxt4v063.js → ripgrep-8qvgnq7a.js} +5 -5
- package/dist/chunks/{aisdk-gnmm0eyh.js → ripgrep-8recqrg4.js} +6 -6
- package/dist/chunks/{aisdk-cmcggjyd.js → ripgrep-9c1qwqga.js} +9 -9
- package/dist/chunks/{aisdk-244ce5kg.js → ripgrep-9d8v8ke2.js} +12 -12
- package/dist/chunks/{aisdk-jvjn3aa2.js → ripgrep-9fqgd0wm.js} +13 -13
- package/dist/chunks/{aisdk-d50f2zf5.js → ripgrep-9gyd2w40.js} +1 -1
- package/dist/chunks/{aisdk-hq13sp65.js → ripgrep-9pf502c0.js} +12 -12
- package/dist/chunks/{aisdk-jdh6s7jq.js → ripgrep-9pm6y0s1.js} +8 -8
- package/dist/chunks/ripgrep-9sh4wc5j.js +18 -0
- package/dist/chunks/{aisdk-g6cp7sgb.js → ripgrep-9vad26s7.js} +46 -46
- package/dist/chunks/{aisdk-4d4ewk63.js → ripgrep-9xx88crh.js} +60 -60
- package/dist/chunks/{aisdk-wpqx8hg0.js → ripgrep-a45m2fkf.js} +32 -32
- package/dist/chunks/{aisdk-f7e914y9.js → ripgrep-a4xw13fr.js} +23 -23
- package/dist/chunks/{aisdk-wa6svv6d.js → ripgrep-a5m36ryz.js} +5 -5
- package/dist/chunks/{aisdk-70n0c9wz.js → ripgrep-a6ztjttg.js} +15 -15
- package/dist/chunks/{aisdk-aaet6srn.js → ripgrep-aaet6srn.js} +2 -2
- package/dist/chunks/{aisdk-r9359xqd.js → ripgrep-aph4g9qx.js} +22 -22
- package/dist/chunks/{aisdk-19dwmd9m.js → ripgrep-ar8vnhha.js} +36 -36
- package/dist/chunks/{aisdk-rk0rec3h.js → ripgrep-awbdwcvp.js} +9 -9
- package/dist/chunks/{aisdk-b6gygkdw.js → ripgrep-b6gygkdw.js} +2 -2
- package/dist/chunks/{aisdk-5svkfz8e.js → ripgrep-bj2hb5dm.js} +34 -34
- package/dist/chunks/{aisdk-qjwa214h.js → ripgrep-bn56f23d.js} +11 -11
- package/dist/chunks/{aisdk-b6b3hb57.js → ripgrep-bnaeqmzy.js} +25 -25
- package/dist/chunks/{aisdk-gwydwvmj.js → ripgrep-bw0vgseb.js} +8 -8
- package/dist/chunks/{aisdk-qm02pys1.js → ripgrep-c4pfxw5s.js} +9 -9
- package/dist/chunks/{aisdk-ddxwkhz9.js → ripgrep-c7gc6yv9.js} +21 -21
- package/dist/chunks/{aisdk-sd60vjdv.js → ripgrep-cg3re8yn.js} +22 -22
- package/dist/chunks/{aisdk-wavq5vqb.js → ripgrep-cza9j1er.js} +1 -1
- package/dist/chunks/{aisdk-5td81y36.js → ripgrep-dh46x48g.js} +16 -16
- package/dist/chunks/{aisdk-e2hjzebn.js → ripgrep-dhmh7aw6.js} +4 -4
- package/dist/chunks/{aisdk-8p4f9s12.js → ripgrep-dj2t23y0.js} +2 -2
- package/dist/chunks/{aisdk-wsrtcsj8.js → ripgrep-ds2mmwsg.js} +8 -8
- package/dist/chunks/{aisdk-7w99qc9d.js → ripgrep-dv250zvr.js} +3 -3
- package/dist/chunks/{aisdk-0pb75hch.js → ripgrep-dw1fjyb0.js} +5 -5
- package/dist/chunks/{aisdk-ps5sf8py.js → ripgrep-dwcdeas1.js} +45 -45
- package/dist/chunks/{aisdk-sy6czt1v.js → ripgrep-dxkw8z59.js} +27 -27
- package/dist/chunks/{aisdk-cvtmmhw6.js → ripgrep-e17bkqjz.js} +1 -1
- package/dist/chunks/{aisdk-0xmhxrpt.js → ripgrep-e8ac3wj7.js} +14 -14
- package/dist/chunks/{aisdk-35wynegs.js → ripgrep-ea8nv0r7.js} +2 -2
- package/dist/chunks/{aisdk-w0888ddm.js → ripgrep-ebtmksy4.js} +15 -15
- package/dist/chunks/{aisdk-5h7adtbk.js → ripgrep-ecbpcs26.js} +5 -5
- package/dist/chunks/{aisdk-7tsf3dvt.js → ripgrep-esxf2z81.js} +10 -10
- package/dist/chunks/{aisdk-4780s8zr.js → ripgrep-etjd8m3h.js} +9 -9
- package/dist/chunks/{aisdk-etq0c3wd.js → ripgrep-etq0c3wd.js} +1 -1
- package/dist/chunks/{aisdk-t1pd95j1.js → ripgrep-eynhbbrp.js} +4 -4
- package/dist/chunks/{aisdk-rjhjfq7n.js → ripgrep-ez9ncaqn.js} +22 -22
- package/dist/chunks/{aisdk-w79n40hd.js → ripgrep-f0zqv8cz.js} +47 -47
- package/dist/chunks/{aisdk-fnsnmz3s.js → ripgrep-fgjcw7nx.js} +11 -11
- package/dist/chunks/{aisdk-h2r7bbkd.js → ripgrep-fk64qee0.js} +11 -11
- package/dist/chunks/{aisdk-fxbjtjnd.js → ripgrep-fxbjtjnd.js} +1 -1
- package/dist/chunks/{aisdk-9eh6sf6d.js → ripgrep-fyjp43ss.js} +5 -5
- package/dist/chunks/{aisdk-6dxd8b4m.js → ripgrep-g0zjwb8j.js} +35 -35
- package/dist/chunks/{aisdk-33n3bzdy.js → ripgrep-g14zqp48.js} +6 -6
- package/dist/chunks/{aisdk-5cegyqsx.js → ripgrep-g1sy3t6s.js} +29 -29
- package/dist/chunks/{aisdk-3kasv3ej.js → ripgrep-g2a831m9.js} +15 -15
- package/dist/chunks/{aisdk-gd4qta3r.js → ripgrep-gd4qta3r.js} +1 -1
- package/dist/chunks/{aisdk-nk984zqg.js → ripgrep-gj6rcz70.js} +9 -9
- package/dist/chunks/{aisdk-n0pywpq4.js → ripgrep-gk2407r3.js} +6 -6
- package/dist/chunks/{aisdk-n3gg6d5p.js → ripgrep-gnrgb9v9.js} +7 -7
- package/dist/chunks/{aisdk-q7j71zxc.js → ripgrep-gqm3etmd.js} +28 -28
- package/dist/chunks/{aisdk-h03wrkyp.js → ripgrep-h03wrkyp.js} +2 -2
- package/dist/chunks/{aisdk-9wxns9qt.js → ripgrep-h5eqzpkj.js} +171 -171
- package/dist/chunks/{aisdk-h6vf3j39.js → ripgrep-h6vf3j39.js} +1 -1
- package/dist/chunks/{aisdk-m05zvapk.js → ripgrep-hb36k1xj.js} +9 -9
- package/dist/chunks/{aisdk-xbvrr98x.js → ripgrep-hbqwmcym.js} +18 -18
- package/dist/chunks/{aisdk-f828m53h.js → ripgrep-hdnk95c8.js} +2 -2
- package/dist/chunks/{aisdk-m91kavyw.js → ripgrep-hkf2qys9.js} +6 -6
- package/dist/chunks/{aisdk-06dxphr1.js → ripgrep-hrndf12w.js} +4 -4
- package/dist/chunks/{aisdk-5kptn8c0.js → ripgrep-hrvd6t1f.js} +9 -9
- package/dist/chunks/{aisdk-ww8p5b1k.js → ripgrep-hsgwetrq.js} +9 -9
- package/dist/chunks/{aisdk-a0e3cbw8.js → ripgrep-hw6f026f.js} +4 -4
- package/dist/chunks/{aisdk-msk50a9j.js → ripgrep-j4c2y7gg.js} +24 -24
- package/dist/chunks/{aisdk-j56e64zr.js → ripgrep-j56e64zr.js} +1 -1
- package/dist/chunks/{aisdk-5cge38yz.js → ripgrep-j7twb6sd.js} +26 -26
- package/dist/chunks/{aisdk-paphc93g.js → ripgrep-j935v87r.js} +2 -2
- package/dist/chunks/{aisdk-924smr84.js → ripgrep-j9e0mrh2.js} +43 -43
- package/dist/chunks/{aisdk-ne2cd2m1.js → ripgrep-ja0fapct.js} +20 -20
- package/dist/chunks/{aisdk-mz6ae2yf.js → ripgrep-jeanpfns.js} +1 -1
- package/dist/chunks/{aisdk-xbpna4bp.js → ripgrep-jfpf741x.js} +12 -12
- package/dist/chunks/{aisdk-wp00kwxt.js → ripgrep-jn8gnkkx.js} +23 -23
- package/dist/chunks/{aisdk-s9yxznb6.js → ripgrep-jwjk52g2.js} +4 -4
- package/dist/chunks/{aisdk-ey7s2smf.js → ripgrep-k1t251yf.js} +18 -18
- package/dist/chunks/{aisdk-4z647y8j.js → ripgrep-k4cgc9a3.js} +63 -63
- package/dist/chunks/{aisdk-sk749243.js → ripgrep-k7c8rbx5.js} +32 -32
- package/dist/chunks/{aisdk-mk2528ak.js → ripgrep-k8kd5w7n.js} +11 -11
- package/dist/chunks/{aisdk-saf0zegx.js → ripgrep-k9gn0ad9.js} +13 -13
- package/dist/chunks/{aisdk-qbteesy0.js → ripgrep-kcb8efe6.js} +20 -20
- package/dist/chunks/{aisdk-yhz9n5rz.js → ripgrep-kd6sn3q5.js} +34 -34
- package/dist/chunks/{aisdk-th38bspn.js → ripgrep-ked90xm8.js} +5 -5
- package/dist/chunks/{aisdk-gsx0ryk4.js → ripgrep-ket1x0yc.js} +2 -2
- package/dist/chunks/{aisdk-kg06axw8.js → ripgrep-kg06axw8.js} +1 -1
- package/dist/chunks/{aisdk-7d86regf.js → ripgrep-kg76qfxw.js} +43 -43
- package/dist/chunks/{aisdk-cfpkc3c9.js → ripgrep-m0jqrx5p.js} +2 -2
- package/dist/chunks/{aisdk-k3a2w7sd.js → ripgrep-m7y3f53v.js} +4 -4
- package/dist/chunks/{aisdk-m9w0rfyh.js → ripgrep-m9w0rfyh.js} +1 -1
- package/dist/chunks/{aisdk-gfm5qb5s.js → ripgrep-makktzfn.js} +11 -11
- package/dist/chunks/{aisdk-c1p0t0c6.js → ripgrep-mgrb5prq.js} +22 -22
- package/dist/chunks/{aisdk-9wh61bgm.js → ripgrep-mqgn8hcj.js} +29 -29
- package/dist/chunks/{aisdk-fa8bhyre.js → ripgrep-mqhr8xm6.js} +24 -24
- package/dist/chunks/{aisdk-6rxp5wnv.js → ripgrep-mttv9c64.js} +12 -12
- package/dist/chunks/{aisdk-pt65ttd0.js → ripgrep-n0prnbcg.js} +12 -12
- package/dist/chunks/{aisdk-7gtpvgdx.js → ripgrep-n39gyvgw.js} +17 -17
- package/dist/chunks/{aisdk-0r7yqxbf.js → ripgrep-n92pz7zc.js} +5 -5
- package/dist/chunks/{aisdk-rphdqnvd.js → ripgrep-neqk7dw9.js} +30 -30
- package/dist/chunks/{aisdk-858cj2yj.js → ripgrep-nftwv1dv.js} +36 -36
- package/dist/chunks/{aisdk-ng5bkzwz.js → ripgrep-ngn3zv13.js} +20 -20
- package/dist/chunks/{aisdk-nhy5jxhy.js → ripgrep-nhy5jxhy.js} +1 -1
- package/dist/chunks/{aisdk-nv5vn7qx.js → ripgrep-nv5vn7qx.js} +2 -2
- package/dist/chunks/{aisdk-azy7dvcj.js → ripgrep-nz99f8xd.js} +35 -35
- package/dist/chunks/{aisdk-5q7r74pf.js → ripgrep-p6s6v31b.js} +21 -21
- package/dist/chunks/{aisdk-pjvnvgmy.js → ripgrep-pjvnvgmy.js} +1 -1
- package/dist/chunks/{aisdk-pknna89w.js → ripgrep-pknna89w.js} +1 -1
- package/dist/chunks/{aisdk-n4x12xf7.js → ripgrep-pqbv8h9y.js} +41 -41
- package/dist/chunks/ripgrep-pr17jsva.js +247 -0
- package/dist/chunks/{aisdk-252gv536.js → ripgrep-pvx4ycye.js} +10 -10
- package/dist/chunks/{aisdk-73h4t500.js → ripgrep-pwr8fgkg.js} +12 -12
- package/dist/chunks/{aisdk-pf455e0p.js → ripgrep-q6jxhr7p.js} +10 -10
- package/dist/chunks/{aisdk-9dq8a76t.js → ripgrep-q7vxj98b.js} +8 -8
- package/dist/chunks/{aisdk-akybccbs.js → ripgrep-qa4rp7fn.js} +9 -9
- package/dist/chunks/{aisdk-m5mymr4j.js → ripgrep-qbc1vncp.js} +22 -22
- package/dist/chunks/{aisdk-kwk78dnv.js → ripgrep-qj6a8geq.js} +15 -15
- package/dist/chunks/{aisdk-70d2s7af.js → ripgrep-qmy7xtej.js} +1 -1
- package/dist/chunks/{aisdk-qsdy395h.js → ripgrep-qsdy395h.js} +1 -1
- package/dist/chunks/{aisdk-zdw85t5j.js → ripgrep-qvmqnmmt.js} +43 -43
- package/dist/chunks/{aisdk-5y0b1sf4.js → ripgrep-qxd59bx2.js} +11 -11
- package/dist/chunks/{aisdk-224w1t6x.js → ripgrep-r12m2gvw.js} +29 -29
- package/dist/chunks/{aisdk-xp1j24tq.js → ripgrep-r14b6q3s.js} +45 -45
- package/dist/chunks/{aisdk-r9mregkx.js → ripgrep-r9mregkx.js} +2 -2
- package/dist/chunks/{aisdk-tryx8gd9.js → ripgrep-ra8yf1dm.js} +9 -9
- package/dist/chunks/{aisdk-6ersrjne.js → ripgrep-rp8jz6x1.js} +6 -6
- package/dist/chunks/{aisdk-zeh9ct20.js → ripgrep-rq775frq.js} +2 -2
- package/dist/chunks/{aisdk-j7se7r15.js → ripgrep-rqy9czj1.js} +18 -18
- package/dist/chunks/{aisdk-m4z4h769.js → ripgrep-rt0tzyzc.js} +17 -17
- package/dist/chunks/{aisdk-f3vnnygg.js → ripgrep-rt5nc7f1.js} +6 -6
- package/dist/chunks/{aisdk-peryqyrz.js → ripgrep-rvjgzqwq.js} +73 -73
- package/dist/chunks/{aisdk-kvexghzj.js → ripgrep-rz87j40z.js} +30 -30
- package/dist/chunks/{aisdk-yrznvahk.js → ripgrep-s4enseaf.js} +2 -2
- package/dist/chunks/{aisdk-fmrt92vm.js → ripgrep-s5kxrhz6.js} +10 -10
- package/dist/chunks/{aisdk-fbxj5bg3.js → ripgrep-s69d0rhj.js} +28 -28
- package/dist/chunks/{aisdk-qdw968f8.js → ripgrep-s6xr1hpd.js} +25 -25
- package/dist/chunks/{aisdk-s8d7rejh.js → ripgrep-s8d7rejh.js} +1 -1
- package/dist/chunks/{aisdk-s617fcbn.js → ripgrep-sa4c2d0v.js} +4 -4
- package/dist/chunks/{aisdk-zgfa8dqj.js → ripgrep-sasnma5y.js} +25 -25
- package/dist/chunks/{aisdk-s7z8792h.js → ripgrep-scqya4gj.js} +7 -7
- package/dist/chunks/{aisdk-139g1kzm.js → ripgrep-sh6mjzwx.js} +18 -18
- package/dist/chunks/{aisdk-a4mz35v6.js → ripgrep-syz7yhpm.js} +21 -21
- package/dist/chunks/{aisdk-sp9f9gq5.js → ripgrep-t3cqppxt.js} +9 -9
- package/dist/chunks/{aisdk-2e96adxv.js → ripgrep-t3pn2srw.js} +9 -9
- package/dist/chunks/{aisdk-jw80jp6b.js → ripgrep-t51qk8jz.js} +21 -21
- package/dist/chunks/{aisdk-sednt3jq.js → ripgrep-t6dm0qrg.js} +30 -30
- package/dist/chunks/{aisdk-ccsjbhvb.js → ripgrep-tarep50r.js} +13 -13
- package/dist/chunks/{aisdk-tddm3rmf.js → ripgrep-tayeq9hg.js} +17 -17
- package/dist/chunks/{aisdk-tazgh4e4.js → ripgrep-tazgh4e4.js} +1 -1
- package/dist/chunks/{aisdk-tcezcvh9.js → ripgrep-tcezcvh9.js} +1 -1
- package/dist/chunks/{aisdk-tdstcens.js → ripgrep-tdstcens.js} +1 -1
- package/dist/chunks/{aisdk-jr3e8pb9.js → ripgrep-tfk0ak3w.js} +5 -5
- package/dist/chunks/{aisdk-dkvgqwgn.js → ripgrep-tfk1j7dq.js} +43 -43
- package/dist/chunks/{aisdk-0artwwxx.js → ripgrep-tgqjfyja.js} +3 -3
- package/dist/chunks/{aisdk-kdhns56g.js → ripgrep-thqzz5bd.js} +23 -23
- package/dist/chunks/{aisdk-1jf9k91m.js → ripgrep-tjjqevy4.js} +11 -11
- package/dist/chunks/{aisdk-mdgf1tr5.js → ripgrep-tjncz0mj.js} +16 -16
- package/dist/chunks/{aisdk-0mh9zxm8.js → ripgrep-tkn615h0.js} +3 -3
- package/dist/chunks/{aisdk-y6y6c1gd.js → ripgrep-tt6n2bdb.js} +7 -7
- package/dist/chunks/{aisdk-ems07c8m.js → ripgrep-tvbftpt7.js} +6 -6
- package/dist/chunks/{aisdk-tvtrv512.js → ripgrep-tvtrv512.js} +1 -1
- package/dist/chunks/{aisdk-veqvce7d.js → ripgrep-veqvce7d.js} +1 -1
- package/dist/chunks/{aisdk-awhc7e7g.js → ripgrep-vfefw32n.js} +4 -4
- package/dist/chunks/{aisdk-0smbfg2x.js → ripgrep-vv5etkqr.js} +17 -17
- package/dist/chunks/{aisdk-ek5ar3qc.js → ripgrep-vvww6z2v.js} +11 -11
- package/dist/chunks/{aisdk-vzcthcp8.js → ripgrep-vzcthcp8.js} +1 -1
- package/dist/chunks/{aisdk-cvp7ggs2.js → ripgrep-w36hd28z.js} +9 -9
- package/dist/chunks/{aisdk-w3wsvvr9.js → ripgrep-w3wsvvr9.js} +1 -1
- package/dist/chunks/{aisdk-nnk8dd8x.js → ripgrep-w5enr2n1.js} +10 -10
- package/dist/chunks/{aisdk-aw8000ag.js → ripgrep-wahmyx3j.js} +8 -8
- package/dist/chunks/{aisdk-wd87259q.js → ripgrep-wd87259q.js} +1 -1
- package/dist/chunks/{aisdk-d5w2qn28.js → ripgrep-wdxjhaa6.js} +16 -16
- package/dist/chunks/{aisdk-2j2abz0x.js → ripgrep-wh1eej68.js} +13 -13
- package/dist/chunks/{aisdk-478b42xc.js → ripgrep-wy91bkd0.js} +20 -20
- package/dist/chunks/{aisdk-x1ezjp6w.js → ripgrep-x1ezjp6w.js} +1 -1
- package/dist/chunks/{aisdk-hq59abab.js → ripgrep-x38mj0ya.js} +86 -86
- package/dist/chunks/{aisdk-2gpc374w.js → ripgrep-x4jgrabg.js} +4 -4
- package/dist/chunks/{aisdk-h09j9c2e.js → ripgrep-x84xvd1n.js} +17 -17
- package/dist/chunks/{aisdk-fnnct887.js → ripgrep-xk1mwkvz.js} +35 -29
- package/dist/chunks/{aisdk-e9nz6801.js → ripgrep-xntwgtxc.js} +15 -15
- package/dist/chunks/{aisdk-hz9157mg.js → ripgrep-xpn5exb3.js} +5 -5
- package/dist/chunks/{aisdk-y1fvbwt7.js → ripgrep-y1fvbwt7.js} +1 -1
- package/dist/chunks/{aisdk-0tpmsbdx.js → ripgrep-y2wcncat.js} +28 -28
- package/dist/chunks/{aisdk-3978dcz8.js → ripgrep-y361e8w3.js} +20 -20
- package/dist/chunks/{aisdk-dpkg50ah.js → ripgrep-y71avatq.js} +4 -4
- package/dist/chunks/{aisdk-5fg8kh1z.js → ripgrep-ybpn653b.js} +4 -4
- package/dist/chunks/{aisdk-vyqn3nqs.js → ripgrep-yhemyvg6.js} +6 -6
- package/dist/chunks/{aisdk-rhraev7y.js → ripgrep-yp2x3t23.js} +4 -4
- package/dist/chunks/{aisdk-yrhqyw5v.js → ripgrep-yrhqyw5v.js} +1 -1
- package/dist/chunks/{aisdk-pvp6d6mk.js → ripgrep-yxtae5qy.js} +29 -29
- package/dist/chunks/{aisdk-z0bkrqjs.js → ripgrep-z0bkrqjs.js} +1 -1
- package/dist/chunks/{aisdk-de74m766.js → ripgrep-zj1vh5fc.js} +16 -16
- package/dist/chunks/{aisdk-nng2ktcm.js → ripgrep-zpd6x7fe.js} +2 -2
- package/dist/chunks/{aisdk-zr2ceqn5.js → ripgrep-zr2ceqn5.js} +1 -1
- package/dist/chunks/{aisdk-ve4pfa0n.js → ripgrep-zv8jbdmn.js} +4 -4
- package/dist/chunks/{aisdk-sqcj7v6g.js → ripgrep-zwzhnca6.js} +24 -24
- package/dist/chunks/{aisdk-zxq2ej10.js → ripgrep-zxq2ej10.js} +1 -1
- package/dist/codemode/catalog.js +1 -1
- package/dist/codemode/instructions.js +5 -5
- package/dist/codemode/tool.js +2 -2
- package/dist/command.js +80 -80
- package/dist/config/discovery.js +78 -78
- package/dist/config/markdown.js +1 -1
- package/dist/config/normalize.js +19 -19
- package/dist/config/plugin/agent.js +118 -118
- package/dist/config/plugin/command.js +210 -210
- package/dist/config/plugin/compaction.js +156 -156
- package/dist/config/plugin/entry-observer.js +1 -1
- package/dist/config/plugin/formatter.js +118 -118
- package/dist/config/plugin/image.js +116 -116
- package/dist/config/plugin/instruction.js +86 -86
- package/dist/config/plugin/location-watcher.js +118 -118
- package/dist/config/plugin/mcp.js +127 -127
- package/dist/config/plugin/policy.js +115 -115
- package/dist/config/plugin/provider.js +114 -114
- package/dist/config/plugin/reference.js +118 -118
- package/dist/config/plugin/shell.js +117 -117
- package/dist/config/plugin/skill-file.js +98 -98
- package/dist/config/plugin/skill.js +137 -137
- package/dist/config/plugin/snapshot.js +116 -116
- package/dist/config/plugin/source.js +118 -118
- package/dist/config/plugin/tool-output.js +118 -118
- package/dist/config/plugin/websearch.js +114 -114
- package/dist/config/plugin/worktree.js +119 -119
- package/dist/config/variable.js +3 -3
- package/dist/config/watch.js +1 -1
- package/dist/config.js +118 -118
- package/dist/credential/sql.js +2 -2
- package/dist/credential.js +82 -82
- package/dist/database/database.js +69 -69
- 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.gen.js +48 -48
- package/dist/database/migration.js +50 -50
- 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 +78 -78
- package/dist/database/v1-migration.js +1 -1
- package/dist/effect/app-node-builder.js +361 -361
- 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 +89 -89
- package/dist/environment/exec-defaults.js +2 -2
- package/dist/environment/files.js +1 -1
- package/dist/environment/index.js +91 -91
- 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 +73 -73
- package/dist/file-access.js +100 -100
- package/dist/file-mutation.js +90 -90
- package/dist/file-retention.js +1 -1
- package/dist/file.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/ignore.js +1 -1
- 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 +100 -100
- package/dist/filesystem/watcher-binding.js +3 -3
- package/dist/filesystem/watcher.js +13 -13
- package/dist/filesystem.js +103 -101
- package/dist/form.js +85 -85
- package/dist/formatter/builtins.js +4 -4
- package/dist/formatter.js +83 -83
- package/dist/generate.js +90 -90
- 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 +3 -3
- 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/id/id.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 +352 -352
- package/dist/instruction-discovery.js +82 -82
- package/dist/instructions/builtins.js +81 -81
- package/dist/instructions/index.js +1 -1
- package/dist/integration/connection.js +1 -1
- package/dist/integration.js +87 -87
- package/dist/job.js +78 -78
- package/dist/kv/sql.js +2 -2
- package/dist/kv.js +72 -72
- package/dist/location-activity.js +134 -134
- package/dist/location-mutation.js +100 -100
- package/dist/location-service-map.js +84 -84
- package/dist/location-services.js +349 -349
- package/dist/location.js +85 -85
- package/dist/mcp/client.js +87 -87
- package/dist/mcp/index.js +96 -96
- package/dist/mcp/instructions.js +119 -119
- package/dist/mcp/oauth.js +3 -3
- package/dist/mcp/stdio.js +86 -86
- package/dist/mime.js +1 -1
- package/dist/modal/models.js +3 -3
- package/dist/model-resolver.js +87 -87
- package/dist/model.js +8 -8
- package/dist/models-dev.js +87 -87
- package/dist/oauth/page.js +1 -1
- package/dist/permission/saved.js +81 -81
- package/dist/permission/sql.js +5 -5
- package/dist/permission.js +111 -111
- package/dist/persistent-pty/binary.bun.js +1 -1
- package/dist/persistent-pty/daemon.js +1 -1
- package/dist/persistent-pty/index.js +85 -85
- package/dist/persistent-pty/pty-binding.js +1 -1
- package/dist/persistent-pty.js +74 -74
- package/dist/plugin/agent.js +100 -100
- package/dist/plugin/command.js +97 -97
- package/dist/plugin/hooks.js +5 -5
- package/dist/plugin/host.js +214 -214
- package/dist/plugin/instance.js +5 -5
- package/dist/plugin/internal.js +323 -323
- package/dist/plugin/mcp-codemode-exclusion.js +3 -3
- package/dist/plugin/models-dev.js +76 -76
- package/dist/plugin/module.js +7 -7
- package/dist/plugin/optimize.js +2 -2
- package/dist/plugin/plan.js +98 -98
- package/dist/plugin/promise.js +1 -1
- package/dist/plugin/provider/alibaba.js +2 -2
- package/dist/plugin/provider/amazon-bedrock.js +2 -2
- package/dist/plugin/provider/azure.js +119 -119
- package/dist/plugin/provider/cerebras.js +2 -2
- package/dist/plugin/provider/cloudflare-ai-gateway.js +118 -118
- package/dist/plugin/provider/cloudflare-workers-ai.js +118 -118
- package/dist/plugin/provider/cohere.js +2 -2
- package/dist/plugin/provider/configured.js +115 -115
- package/dist/plugin/provider/digitalocean.js +80 -80
- package/dist/plugin/provider/dynamic.js +2 -2
- package/dist/plugin/provider/factory.js +1 -1
- package/dist/plugin/provider/gateway.js +2 -2
- package/dist/plugin/provider/github-copilot.js +81 -81
- package/dist/plugin/provider/gitlab.js +3 -3
- package/dist/plugin/provider/google-vertex.js +2 -2
- package/dist/plugin/provider/kilo.js +2 -2
- package/dist/plugin/provider/llmgateway.js +77 -77
- package/dist/plugin/provider/lmstudio.js +118 -118
- package/dist/plugin/provider/modal.js +80 -80
- package/dist/plugin/provider/nvidia.js +2 -2
- package/dist/plugin/provider/ollama.js +118 -118
- package/dist/plugin/provider/openai-compatible.js +1 -1
- package/dist/plugin/provider/openai.js +79 -79
- package/dist/plugin/provider/opencode.js +80 -80
- package/dist/plugin/provider/openrouter.js +3 -3
- package/dist/plugin/provider/perplexity.js +2 -2
- package/dist/plugin/provider/poe.js +77 -77
- package/dist/plugin/provider/sap-ai-core.js +3 -3
- package/dist/plugin/provider/sdk-factory.js +1 -1
- package/dist/plugin/provider/snowflake-cortex.js +118 -118
- package/dist/plugin/provider/venice.js +2 -2
- package/dist/plugin/provider/vercel.js +2 -2
- package/dist/plugin/provider/vllm.js +118 -118
- package/dist/plugin/provider/xai.js +78 -78
- package/dist/plugin/provider/zenmux.js +2 -2
- package/dist/plugin/provider.js +157 -157
- package/dist/plugin/sdk.js +75 -75
- 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 +342 -342
- package/dist/plugin/update.js +6 -6
- package/dist/plugin/variant.js +4 -4
- package/dist/plugin/vcs/git.js +83 -83
- package/dist/plugin/vcs/hg.js +83 -83
- package/dist/plugin/warming.js +113 -113
- package/dist/plugin/websearch/exa.js +7 -7
- package/dist/plugin/websearch/firecrawl.js +6 -6
- package/dist/plugin/websearch/index.js +8 -8
- package/dist/plugin/websearch/mcp.js +6 -6
- package/dist/plugin/websearch/parallel.js +8 -8
- package/dist/plugin/websearch/tavily.js +6 -6
- package/dist/plugin.js +223 -223
- package/dist/project/schema.js +8 -8
- package/dist/project/sql.js +4 -4
- package/dist/project.js +86 -86
- package/dist/provider.js +5 -5
- package/dist/pty/protocol.js +1 -1
- package/dist/pty/schema.js +3 -3
- package/dist/pty/ticket.js +1 -1
- package/dist/pty.js +93 -93
- package/dist/reference/instructions.js +85 -85
- package/dist/reference.js +87 -87
- package/dist/repository-cache.js +77 -77
- package/dist/repository.js +1 -1
- package/dist/ripgrep/binary.js +2 -2
- package/dist/ripgrep.js +94 -94
- package/dist/rpc.js +82 -82
- package/dist/schema.js +1 -1
- package/dist/session/command.js +73 -73
- package/dist/session/compaction.js +124 -124
- package/dist/session/context.js +146 -146
- package/dist/session/environment.js +3 -3
- package/dist/session/error.js +7 -7
- package/dist/session/event.js +1 -1
- package/dist/session/execution/restart.js +220 -220
- package/dist/session/execution.js +123 -123
- package/dist/session/generate.js +147 -147
- package/dist/session/history.js +15 -15
- package/dist/session/inbox.js +87 -87
- package/dist/session/info.js +3 -3
- package/dist/session/instruction-entry.js +76 -76
- package/dist/session/instruction-state.js +8 -8
- package/dist/session/instructions.js +93 -93
- package/dist/session/message-updater.js +2 -2
- package/dist/session/message.js +1 -1
- package/dist/session/model-request.js +110 -110
- package/dist/session/model-transport.js +5 -5
- package/dist/session/move.js +127 -127
- package/dist/session/projector.js +85 -85
- package/dist/session/prompt.js +101 -101
- package/dist/session/provider-context.js +3 -3
- package/dist/session/revert.js +86 -86
- package/dist/session/run-coordinator.js +3 -3
- package/dist/session/runner/index.js +3 -3
- package/dist/session/runner/llm.js +226 -226
- package/dist/session/runner/max-steps.js +1 -1
- package/dist/session/runner/model.js +87 -87
- package/dist/session/runner/publish-llm-event.js +3 -3
- package/dist/session/runner/retry.js +111 -111
- package/dist/session/runner/step.js +122 -122
- package/dist/session/runner/to-llm-message.js +2 -2
- package/dist/session/schema.js +5 -5
- package/dist/session/session.js +168 -168
- package/dist/session/shell.js +132 -132
- package/dist/session/skill.js +99 -99
- package/dist/session/sql.js +5 -5
- package/dist/session/stats.js +74 -74
- package/dist/session/store.js +86 -86
- package/dist/session/subagent-completion.js +1 -1
- package/dist/session/subagent-job.js +206 -206
- package/dist/session/system-prompt.js +1 -1
- package/dist/session/title.js +152 -152
- package/dist/session/to-session-error.js +108 -108
- package/dist/session/transfer.js +219 -219
- package/dist/session/usage.js +1 -1
- package/dist/session.js +214 -214
- 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 +11 -11
- package/dist/shell.js +132 -132
- package/dist/skill/discovery.js +2 -2
- package/dist/skill/instructions.js +101 -101
- package/dist/skill.js +108 -108
- package/dist/snapshot.js +85 -85
- 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 +118 -118
- package/dist/tool/plugin/edit.js +116 -116
- package/dist/tool/plugin/file-diff.js +1 -1
- package/dist/tool/plugin/glob.js +121 -121
- package/dist/tool/plugin/grep.js +119 -119
- package/dist/tool/plugin/opencode.js +3 -3
- package/dist/tool/plugin/patch.js +118 -118
- package/dist/tool/plugin/question.js +99 -99
- package/dist/tool/plugin/read.js +122 -122
- package/dist/tool/plugin/shell.js +211 -211
- package/dist/tool/plugin/skill.js +107 -107
- package/dist/tool/plugin/subagent.js +215 -215
- package/dist/tool/plugin/webfetch.js +108 -108
- package/dist/tool/plugin/websearch.js +106 -106
- package/dist/tool/plugin/write.js +116 -116
- package/dist/tool/read-filesystem.js +97 -97
- package/dist/tool/runtime.js +1 -1
- package/dist/tool-output.js +6 -6
- package/dist/tool.js +15 -15
- package/dist/types/filesystem.d.ts +6 -1
- package/dist/util/error-summary.js +1 -1
- package/dist/util/error.js +1 -1
- package/dist/util/iife.js +1 -1
- package/dist/util/lazy.js +1 -1
- package/dist/util/slug.js +1 -1
- package/dist/util/token.js +1 -1
- package/dist/util/which.js +1 -1
- package/dist/util/wildcard.js +1 -1
- package/dist/v1/config/agent.js +7 -7
- package/dist/v1/config/attachment.js +4 -4
- package/dist/v1/config/command.js +3 -3
- package/dist/v1/config/config.js +16 -16
- package/dist/v1/config/error.js +4 -4
- package/dist/v1/config/formatter.js +5 -5
- package/dist/v1/config/layout.js +1 -1
- package/dist/v1/config/lsp.js +5 -5
- package/dist/v1/config/mcp.js +4 -4
- package/dist/v1/config/migrate.js +4 -4
- package/dist/v1/config/permission.js +7 -7
- 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/v1/config/server.js +2 -2
- package/dist/v1/config/skills.js +3 -3
- package/dist/v1/permission.js +1 -1
- package/dist/vcs/patch.js +1 -1
- package/dist/vcs.js +84 -84
- package/dist/websearch.js +81 -81
- package/dist/wellknown/plugin.js +75 -75
- package/dist/wellknown.js +78 -78
- package/dist/workspace/driver.js +7 -7
- package/dist/workspace/sql.js +1 -1
- package/dist/workspace.js +79 -79
- package/dist/worktree/directory.js +4 -4
- package/dist/worktree/git.js +7 -7
- package/dist/worktree/refresh.js +341 -341
- package/dist/worktree/sql.js +5 -5
- package/dist/worktree.js +90 -90
- package/package.json +8 -8
- package/dist/chunks/aisdk-3c9tahfk.js +0 -247
- package/dist/chunks/aisdk-gyce5qg1.js +0 -18
- package/dist/chunks/aisdk-qapv375x.js +0 -4
- package/dist/chunks/aisdk-za368f76.js +0 -22
- /package/dist/chunks/{aisdk-0qkdqm5v.js → ripgrep-0qkdqm5v.js} +0 -0
- /package/dist/chunks/{aisdk-0zkw76rk.js → ripgrep-0zkw76rk.js} +0 -0
- /package/dist/chunks/{aisdk-17cy0kzp.js → ripgrep-17cy0kzp.js} +0 -0
- /package/dist/chunks/{aisdk-1cnp2v09.js → ripgrep-1cnp2v09.js} +0 -0
- /package/dist/chunks/{aisdk-1kg9ymc8.js → ripgrep-1kg9ymc8.js} +0 -0
- /package/dist/chunks/{aisdk-2710q6r3.js → ripgrep-2710q6r3.js} +0 -0
- /package/dist/chunks/{aisdk-2axfhc9x.js → ripgrep-2axfhc9x.js} +0 -0
- /package/dist/chunks/{aisdk-2c3vjs8z.js → ripgrep-2c3vjs8z.js} +0 -0
- /package/dist/chunks/{aisdk-359p4xyc.js → ripgrep-359p4xyc.js} +0 -0
- /package/dist/chunks/{aisdk-3asan66x.js → ripgrep-3asan66x.js} +0 -0
- /package/dist/chunks/{aisdk-3v8g72cx.js → ripgrep-3v8g72cx.js} +0 -0
- /package/dist/chunks/{aisdk-3w5fmr99.js → ripgrep-3w5fmr99.js} +0 -0
- /package/dist/chunks/{aisdk-3wcehsnq.js → ripgrep-3wcehsnq.js} +0 -0
- /package/dist/chunks/{aisdk-43n2bw4t.js → ripgrep-43n2bw4t.js} +0 -0
- /package/dist/chunks/{aisdk-4knz6hnm.js → ripgrep-4knz6hnm.js} +0 -0
- /package/dist/chunks/{aisdk-4vcrnpx2.js → ripgrep-4vcrnpx2.js} +0 -0
- /package/dist/chunks/{aisdk-4y7fprxs.js → ripgrep-4y7fprxs.js} +0 -0
- /package/dist/chunks/{aisdk-53557ph1.js → ripgrep-53557ph1.js} +0 -0
- /package/dist/chunks/{aisdk-550bvhaj.js → ripgrep-550bvhaj.js} +0 -0
- /package/dist/chunks/{aisdk-6prwharc.js → ripgrep-6prwharc.js} +0 -0
- /package/dist/chunks/{aisdk-7akdwqpd.js → ripgrep-7akdwqpd.js} +0 -0
- /package/dist/chunks/{aisdk-7m9af43g.js → ripgrep-7m9af43g.js} +0 -0
- /package/dist/chunks/{aisdk-822emrt2.js → ripgrep-822emrt2.js} +0 -0
- /package/dist/chunks/{aisdk-88xbtdfr.js → ripgrep-88xbtdfr.js} +0 -0
- /package/dist/chunks/{aisdk-8n3pysct.js → ripgrep-8n3pysct.js} +0 -0
- /package/dist/chunks/{aisdk-922hggd3.js → ripgrep-922hggd3.js} +0 -0
- /package/dist/chunks/{aisdk-9a4afbnw.js → ripgrep-9a4afbnw.js} +0 -0
- /package/dist/chunks/{aisdk-9rqn6x4v.js → ripgrep-9rqn6x4v.js} +0 -0
- /package/dist/chunks/{aisdk-a6k6eb26.js → ripgrep-a6k6eb26.js} +0 -0
- /package/dist/chunks/{aisdk-af5trqkr.js → ripgrep-af5trqkr.js} +0 -0
- /package/dist/chunks/{aisdk-afrmfg78.js → ripgrep-afrmfg78.js} +0 -0
- /package/dist/chunks/{aisdk-aqzs7mqg.js → ripgrep-aqzs7mqg.js} +0 -0
- /package/dist/chunks/{aisdk-atq7p7m5.js → ripgrep-atq7p7m5.js} +0 -0
- /package/dist/chunks/{aisdk-bkyjaxrp.js → ripgrep-bkyjaxrp.js} +0 -0
- /package/dist/chunks/{aisdk-bmr6ed5q.js → ripgrep-bmr6ed5q.js} +0 -0
- /package/dist/chunks/{aisdk-cf4snx6d.js → ripgrep-cf4snx6d.js} +0 -0
- /package/dist/chunks/{aisdk-cvy3z8tj.js → ripgrep-cvy3z8tj.js} +0 -0
- /package/dist/chunks/{aisdk-d9fn303g.js → ripgrep-d9fn303g.js} +0 -0
- /package/dist/chunks/{aisdk-d9jj8t3e.js → ripgrep-d9jj8t3e.js} +0 -0
- /package/dist/chunks/{aisdk-dajrwvna.js → ripgrep-dajrwvna.js} +0 -0
- /package/dist/chunks/{aisdk-dap0rakb.js → ripgrep-dap0rakb.js} +0 -0
- /package/dist/chunks/{aisdk-df08tz66.js → ripgrep-df08tz66.js} +0 -0
- /package/dist/chunks/{aisdk-dy18nga0.js → ripgrep-dy18nga0.js} +0 -0
- /package/dist/chunks/{aisdk-e5kj55wp.js → ripgrep-e5kj55wp.js} +0 -0
- /package/dist/chunks/{aisdk-e73j6tqm.js → ripgrep-e73j6tqm.js} +0 -0
- /package/dist/chunks/{aisdk-ec1grn59.js → ripgrep-ec1grn59.js} +0 -0
- /package/dist/chunks/{aisdk-eh3zwz77.js → ripgrep-eh3zwz77.js} +0 -0
- /package/dist/chunks/{aisdk-emrn6kk6.js → ripgrep-emrn6kk6.js} +0 -0
- /package/dist/chunks/{aisdk-f0mxakyp.js → ripgrep-f0mxakyp.js} +0 -0
- /package/dist/chunks/{aisdk-f6n9ztr4.js → ripgrep-f6n9ztr4.js} +0 -0
- /package/dist/chunks/{aisdk-faypxj3z.js → ripgrep-faypxj3z.js} +0 -0
- /package/dist/chunks/{aisdk-fd410y7t.js → ripgrep-fd410y7t.js} +0 -0
- /package/dist/chunks/{aisdk-fxgpk5d8.js → ripgrep-fxgpk5d8.js} +0 -0
- /package/dist/chunks/{aisdk-g4wezp1m.js → ripgrep-g4wezp1m.js} +0 -0
- /package/dist/chunks/{aisdk-g86h250q.js → ripgrep-g86h250q.js} +0 -0
- /package/dist/chunks/{aisdk-gebd4c9n.js → ripgrep-gebd4c9n.js} +0 -0
- /package/dist/chunks/{aisdk-gftt206x.js → ripgrep-gftt206x.js} +0 -0
- /package/dist/chunks/{aisdk-hjbc5kem.js → ripgrep-hjbc5kem.js} +0 -0
- /package/dist/chunks/{aisdk-hk9envan.js → ripgrep-hk9envan.js} +0 -0
- /package/dist/chunks/{aisdk-hrnqkpcd.js → ripgrep-hrnqkpcd.js} +0 -0
- /package/dist/chunks/{aisdk-j2ntwpah.js → ripgrep-j2ntwpah.js} +0 -0
- /package/dist/chunks/{aisdk-j5zkgpj8.js → ripgrep-j5zkgpj8.js} +0 -0
- /package/dist/chunks/{aisdk-jr7sbwjy.js → ripgrep-jr7sbwjy.js} +0 -0
- /package/dist/chunks/{aisdk-jwfs4k6c.js → ripgrep-jwfs4k6c.js} +0 -0
- /package/dist/chunks/{aisdk-jzg6c2d5.js → ripgrep-jzg6c2d5.js} +0 -0
- /package/dist/chunks/{aisdk-mp448xyj.js → ripgrep-mp448xyj.js} +0 -0
- /package/dist/chunks/{aisdk-msx8hqn2.js → ripgrep-msx8hqn2.js} +0 -0
- /package/dist/chunks/{aisdk-n05xt0ee.js → ripgrep-n05xt0ee.js} +0 -0
- /package/dist/chunks/{aisdk-n3j8tn72.js → ripgrep-n3j8tn72.js} +0 -0
- /package/dist/chunks/{aisdk-njntx4h6.js → ripgrep-njntx4h6.js} +0 -0
- /package/dist/chunks/{aisdk-q3sfg36h.js → ripgrep-q3sfg36h.js} +0 -0
- /package/dist/chunks/{aisdk-q74kybfr.js → ripgrep-q74kybfr.js} +0 -0
- /package/dist/chunks/{aisdk-qaymkmh1.js → ripgrep-qaymkmh1.js} +0 -0
- /package/dist/chunks/{aisdk-qb87gjwd.js → ripgrep-qb87gjwd.js} +0 -0
- /package/dist/chunks/{aisdk-qfa1cgps.js → ripgrep-qfa1cgps.js} +0 -0
- /package/dist/chunks/{aisdk-qrg20bc0.js → ripgrep-qrg20bc0.js} +0 -0
- /package/dist/chunks/{aisdk-rcb2kzg1.js → ripgrep-rcb2kzg1.js} +0 -0
- /package/dist/chunks/{aisdk-sdp7kfr6.js → ripgrep-sdp7kfr6.js} +0 -0
- /package/dist/chunks/{aisdk-sk3qaz4a.js → ripgrep-sk3qaz4a.js} +0 -0
- /package/dist/chunks/{aisdk-ssg3fenm.js → ripgrep-ssg3fenm.js} +0 -0
- /package/dist/chunks/{aisdk-twg0f83k.js → ripgrep-twg0f83k.js} +0 -0
- /package/dist/chunks/{aisdk-w803qqfp.js → ripgrep-w803qqfp.js} +0 -0
- /package/dist/chunks/{aisdk-wer8tq1h.js → ripgrep-wer8tq1h.js} +0 -0
- /package/dist/chunks/{aisdk-wtztk69x.js → ripgrep-wtztk69x.js} +0 -0
- /package/dist/chunks/{aisdk-x0ckcb58.js → ripgrep-x0ckcb58.js} +0 -0
- /package/dist/chunks/{aisdk-x61499pn.js → ripgrep-x61499pn.js} +0 -0
- /package/dist/chunks/{aisdk-y44na4kk.js → ripgrep-y44na4kk.js} +0 -0
- /package/dist/chunks/{aisdk-y8cydn3q.js → ripgrep-y8cydn3q.js} +0 -0
- /package/dist/chunks/{aisdk-y8f7s663.js → ripgrep-y8f7s663.js} +0 -0
- /package/dist/chunks/{aisdk-ygaqb7jw.js → ripgrep-ygaqb7jw.js} +0 -0
- /package/dist/chunks/{aisdk-ym463w8f.js → ripgrep-ym463w8f.js} +0 -0
- /package/dist/chunks/{aisdk-z9919s4g.js → ripgrep-z9919s4g.js} +0 -0
|
@@ -1,38 +1,38 @@
|
|
|
1
1
|
import {
|
|
2
2
|
ephemeral2,
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
} from "./
|
|
3
|
+
Service79,
|
|
4
|
+
node84
|
|
5
|
+
} from "./ripgrep-tjncz0mj.js";
|
|
6
6
|
import {
|
|
7
7
|
__export
|
|
8
|
-
} from "./
|
|
8
|
+
} from "./ripgrep-9rqn6x4v.js";
|
|
9
9
|
|
|
10
10
|
// src/plugin/sdk.ts
|
|
11
11
|
var exports_sdk = {};
|
|
12
12
|
__export(exports_sdk, {
|
|
13
13
|
SdkPlugins: () => exports_sdk,
|
|
14
|
-
Service: () =>
|
|
14
|
+
Service: () => Service5,
|
|
15
15
|
Updated: () => Updated2,
|
|
16
|
-
layer: () =>
|
|
17
|
-
node: () =>
|
|
16
|
+
layer: () => layer6,
|
|
17
|
+
node: () => node8
|
|
18
18
|
});
|
|
19
19
|
import { Context, Effect, Layer } from "effect";
|
|
20
20
|
import { makeGlobalNode } from "@opencode/util/effect/app-node";
|
|
21
21
|
var Updated2 = ephemeral2({ type: "sdk.plugin.updated", schema: {} });
|
|
22
22
|
|
|
23
|
-
class
|
|
23
|
+
class Service5 extends Context.Service()("@opencode/SdkPlugins") {
|
|
24
24
|
}
|
|
25
|
-
var
|
|
26
|
-
const bus = yield*
|
|
25
|
+
var layer6 = Layer.effect(Service5, Effect.gen(function* () {
|
|
26
|
+
const bus = yield* Service79;
|
|
27
27
|
const plugins = new Map;
|
|
28
28
|
let revision = 0;
|
|
29
|
-
return
|
|
29
|
+
return Service5.of({
|
|
30
30
|
register: (plugin) => Effect.sync(() => {
|
|
31
31
|
plugins.set(plugin.id, { ...plugin, revision: String(++revision), source: { type: "sdk" } });
|
|
32
32
|
}).pipe(Effect.andThen(bus.publish(Updated2, {})), Effect.asVoid),
|
|
33
33
|
all: () => [...plugins.values()]
|
|
34
34
|
});
|
|
35
35
|
}));
|
|
36
|
-
var
|
|
36
|
+
var node8 = makeGlobalNode({ service: Service5, layer: layer6, deps: [node84] });
|
|
37
37
|
|
|
38
|
-
export { Updated2,
|
|
38
|
+
export { Updated2, Service5, layer6, node8, exports_sdk };
|
|
@@ -1,11 +1,11 @@
|
|
|
1
1
|
import {
|
|
2
2
|
which2
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./ripgrep-qaymkmh1.js";
|
|
4
4
|
|
|
5
5
|
// src/formatter/builtins.ts
|
|
6
6
|
import { Effect } from "effect";
|
|
7
7
|
import { ChildProcess } from "effect/unstable/process";
|
|
8
|
-
function
|
|
8
|
+
function make6(input) {
|
|
9
9
|
const disabled = false;
|
|
10
10
|
const findExecutable = (name) => which2(name, undefined, input.bin);
|
|
11
11
|
const findUp = (target) => input.fs.findUp(target, input.directory, input.worktree);
|
|
@@ -261,4 +261,4 @@ function isRecord(input) {
|
|
|
261
261
|
return Boolean(input && typeof input === "object" && !Array.isArray(input));
|
|
262
262
|
}
|
|
263
263
|
|
|
264
|
-
export {
|
|
264
|
+
export { make6 };
|
|
@@ -1,32 +1,32 @@
|
|
|
1
1
|
import {
|
|
2
2
|
AbsolutePath2,
|
|
3
3
|
RelativePath2
|
|
4
|
-
} from "./
|
|
4
|
+
} from "./ripgrep-922hggd3.js";
|
|
5
5
|
import {
|
|
6
6
|
Repository2,
|
|
7
7
|
TreeID2,
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
} from "./
|
|
8
|
+
Service78,
|
|
9
|
+
node83
|
|
10
|
+
} from "./ripgrep-pvx4ycye.js";
|
|
11
11
|
import {
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
} from "./
|
|
12
|
+
Service76,
|
|
13
|
+
node81
|
|
14
|
+
} from "./ripgrep-tayeq9hg.js";
|
|
15
15
|
import {
|
|
16
16
|
create3
|
|
17
|
-
} from "./
|
|
17
|
+
} from "./ripgrep-kg06axw8.js";
|
|
18
18
|
import {
|
|
19
19
|
__export
|
|
20
|
-
} from "./
|
|
20
|
+
} from "./ripgrep-9rqn6x4v.js";
|
|
21
21
|
|
|
22
22
|
// src/snapshot.ts
|
|
23
23
|
var exports_snapshot2 = {};
|
|
24
24
|
__export(exports_snapshot2, {
|
|
25
|
-
Error: () =>
|
|
25
|
+
Error: () => Error3,
|
|
26
26
|
ID: () => ID6,
|
|
27
|
-
Service: () =>
|
|
27
|
+
Service: () => Service43,
|
|
28
28
|
Snapshot: () => exports_snapshot2,
|
|
29
|
-
node: () =>
|
|
29
|
+
node: () => node48,
|
|
30
30
|
noopLayer: () => noopLayer2
|
|
31
31
|
});
|
|
32
32
|
import { makeLocationNode } from "@opencode/util/effect/app-node";
|
|
@@ -36,20 +36,20 @@ import { FSUtil } from "@opencode/util/fs-util";
|
|
|
36
36
|
import { Global } from "@opencode/util/global";
|
|
37
37
|
import { ID as ID6 } from "@opencode/schema/snapshot";
|
|
38
38
|
import { Hash } from "@opencode/util/hash";
|
|
39
|
-
class
|
|
39
|
+
class Error3 extends Schema.TaggedError()("Snapshot.Error", {
|
|
40
40
|
operation: Schema.Literals(["capture", "files", "diff", "restore"]),
|
|
41
41
|
message: Schema.String,
|
|
42
42
|
cause: Schema.optional(Schema.Defect())
|
|
43
43
|
}) {
|
|
44
44
|
}
|
|
45
45
|
|
|
46
|
-
class
|
|
46
|
+
class Service43 extends Context.Service()("@opencode/Snapshot") {
|
|
47
47
|
}
|
|
48
|
-
var layer = Layer.effect(
|
|
48
|
+
var layer = Layer.effect(Service43, Effect.gen(function* () {
|
|
49
49
|
const fs = yield* FSUtil.Service;
|
|
50
|
-
const git = yield*
|
|
50
|
+
const git = yield* Service78;
|
|
51
51
|
const global = yield* Global.Service;
|
|
52
|
-
const location = yield*
|
|
52
|
+
const location = yield* Service76;
|
|
53
53
|
const lifetime = yield* Scope.Scope;
|
|
54
54
|
const state = create3({
|
|
55
55
|
name: "snapshot",
|
|
@@ -63,7 +63,7 @@ var layer = Layer.effect(Service44, Effect.gen(function* () {
|
|
|
63
63
|
const repositoryFiber = yield* Effect.cached(Effect.gen(function* () {
|
|
64
64
|
const source = yield* git.repo.discover(location.project.directory);
|
|
65
65
|
if (!source)
|
|
66
|
-
return yield* new
|
|
66
|
+
return yield* new Error3({ operation: "capture", message: "Project is not a Git repository" });
|
|
67
67
|
const worktree = AbsolutePath2.make(yield* fs.realPath(source.worktree).pipe(Effect.orDie));
|
|
68
68
|
const gitDirectory = AbsolutePath2.make(path.join(global.data, "snapshot", location.project.id, Hash.fast(worktree)));
|
|
69
69
|
const snapshotRepository = (yield* fs.existsSafe(path.join(gitDirectory, "HEAD"))) ? new Repository2({ worktree, gitDirectory, commonDirectory: gitDirectory }) : yield* git.repo.create({ worktree, gitDirectory, seed: source }).pipe(Effect.mapError((cause) => failure("capture", cause)));
|
|
@@ -73,7 +73,7 @@ var layer = Layer.effect(Service44, Effect.gen(function* () {
|
|
|
73
73
|
const scope = Effect.fnUntraced(function* (worktree) {
|
|
74
74
|
const relative = path.relative(worktree, location.directory);
|
|
75
75
|
if (relative.startsWith("..") || path.isAbsolute(relative))
|
|
76
|
-
return yield* new
|
|
76
|
+
return yield* new Error3({ operation: "capture", message: "Location is outside the project" });
|
|
77
77
|
return RelativePath2.make(relative.replaceAll("\\", "/") || ".");
|
|
78
78
|
});
|
|
79
79
|
const enabled = () => location.vcs?.type === "git" && state.get().enabled;
|
|
@@ -122,25 +122,25 @@ var layer = Layer.effect(Service44, Effect.gen(function* () {
|
|
|
122
122
|
for (const [file, snapshot] of input.files) {
|
|
123
123
|
const absolute = path.resolve(worktree, file);
|
|
124
124
|
if (!FSUtil.contains(worktree, absolute))
|
|
125
|
-
return yield* new
|
|
125
|
+
return yield* new Error3({ operation: "restore", message: `Path escapes the project: ${file}` });
|
|
126
126
|
files.set(file, TreeID2.make(snapshot));
|
|
127
127
|
}
|
|
128
128
|
return files;
|
|
129
129
|
});
|
|
130
130
|
const restore = Effect.fn("Snapshot.restore")(function* (input) {
|
|
131
131
|
if (!enabled())
|
|
132
|
-
return yield* new
|
|
132
|
+
return yield* new Error3({ operation: "restore", message: "Snapshots are disabled" });
|
|
133
133
|
const repo = yield* repository.pipe(Effect.mapError((cause) => failure("restore", cause)));
|
|
134
134
|
yield* git.tree.restore({ repository: repo.snapshotRepository, files: yield* plan(repo.worktree, input) }).pipe(Effect.mapError((cause) => failure("restore", cause)));
|
|
135
135
|
});
|
|
136
|
-
return
|
|
136
|
+
return Service43.of({ transform: state.transform, reload: state.reload, capture, files, diff, restore });
|
|
137
137
|
}).pipe(Effect.withSpan("Snapshot.boot")));
|
|
138
|
-
var
|
|
139
|
-
service:
|
|
138
|
+
var node48 = makeLocationNode({
|
|
139
|
+
service: Service43,
|
|
140
140
|
layer,
|
|
141
|
-
deps: [FSUtil.node,
|
|
141
|
+
deps: [FSUtil.node, node83, Global.node, node81]
|
|
142
142
|
});
|
|
143
|
-
var noopLayer2 = Layer.succeed(
|
|
143
|
+
var noopLayer2 = Layer.succeed(Service43, Service43.of({
|
|
144
144
|
transform: () => Effect.succeed({ dispose: Effect.void }),
|
|
145
145
|
reload: () => Effect.void,
|
|
146
146
|
capture: () => Effect.undefined,
|
|
@@ -149,13 +149,13 @@ var noopLayer2 = Layer.succeed(Service44, Service44.of({
|
|
|
149
149
|
restore: () => Effect.void
|
|
150
150
|
}));
|
|
151
151
|
function failure(operation, cause) {
|
|
152
|
-
if (cause instanceof
|
|
152
|
+
if (cause instanceof Error3 && cause.operation === operation)
|
|
153
153
|
return cause;
|
|
154
|
-
return new
|
|
154
|
+
return new Error3({
|
|
155
155
|
operation,
|
|
156
156
|
message: cause instanceof globalThis.Error ? cause.message : String(cause),
|
|
157
157
|
cause
|
|
158
158
|
});
|
|
159
159
|
}
|
|
160
160
|
|
|
161
|
-
export { ID6,
|
|
161
|
+
export { ID6, Error3, Service43, node48, noopLayer2, exports_snapshot2 };
|
|
@@ -5,17 +5,17 @@ import {
|
|
|
5
5
|
renderInitial2,
|
|
6
6
|
renderUpdate2,
|
|
7
7
|
applyHashDelta2
|
|
8
|
-
} from "./
|
|
8
|
+
} from "./ripgrep-s8d7rejh.js";
|
|
9
9
|
import {
|
|
10
10
|
SessionEvent2
|
|
11
|
-
} from "./
|
|
11
|
+
} from "./ripgrep-ec1grn59.js";
|
|
12
12
|
import {
|
|
13
13
|
InstructionBlobTable2,
|
|
14
14
|
InstructionStateTable2
|
|
15
|
-
} from "./
|
|
15
|
+
} from "./ripgrep-5c4hm403.js";
|
|
16
16
|
import {
|
|
17
17
|
__export
|
|
18
|
-
} from "./
|
|
18
|
+
} from "./ripgrep-9rqn6x4v.js";
|
|
19
19
|
|
|
20
20
|
// src/session/instruction-state.ts
|
|
21
21
|
var exports_instruction_state = {};
|
|
@@ -1,10 +1,10 @@
|
|
|
1
1
|
import {
|
|
2
2
|
isAISDK2,
|
|
3
3
|
packageName2
|
|
4
|
-
} from "./
|
|
4
|
+
} from "./ripgrep-g14zqp48.js";
|
|
5
5
|
import {
|
|
6
|
-
|
|
7
|
-
} from "./
|
|
6
|
+
ID15
|
|
7
|
+
} from "./ripgrep-9d8v8ke2.js";
|
|
8
8
|
|
|
9
9
|
// src/plugin/provider/openrouter.ts
|
|
10
10
|
import { Effect } from "effect";
|
|
@@ -21,7 +21,7 @@ var OpenRouterPlugin2 = define({
|
|
|
21
21
|
evt.provider.update(item.provider.id, (provider) => {
|
|
22
22
|
provider.headers = { ...provider.headers, "HTTP-Referer": "https://opencode.ai/", "X-Title": "opencode" };
|
|
23
23
|
});
|
|
24
|
-
for (const modelID of [
|
|
24
|
+
for (const modelID of [ID15.make("gpt-5-chat-latest"), ID15.make("openai/gpt-5-chat")]) {
|
|
25
25
|
if (!item.models.has(modelID))
|
|
26
26
|
continue;
|
|
27
27
|
evt.model.update(item.provider.id, modelID, (model) => {
|
|
@@ -1,27 +1,27 @@
|
|
|
1
1
|
import {
|
|
2
2
|
ascending2
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./ripgrep-tvtrv512.js";
|
|
4
4
|
import {
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
} from "./
|
|
5
|
+
Service74,
|
|
6
|
+
node79
|
|
7
|
+
} from "./ripgrep-k9gn0ad9.js";
|
|
8
8
|
import {
|
|
9
9
|
SessionMessage2
|
|
10
|
-
} from "./
|
|
10
|
+
} from "./ripgrep-gftt206x.js";
|
|
11
11
|
import {
|
|
12
12
|
SessionSchema2
|
|
13
|
-
} from "./
|
|
13
|
+
} from "./ripgrep-dv250zvr.js";
|
|
14
14
|
import {
|
|
15
15
|
__export
|
|
16
|
-
} from "./
|
|
16
|
+
} from "./ripgrep-9rqn6x4v.js";
|
|
17
17
|
|
|
18
18
|
// src/job.ts
|
|
19
19
|
var exports_job = {};
|
|
20
20
|
__export(exports_job, {
|
|
21
21
|
Job: () => exports_job,
|
|
22
|
-
Service: () =>
|
|
23
|
-
make: () =>
|
|
24
|
-
node: () =>
|
|
22
|
+
Service: () => Service51,
|
|
23
|
+
make: () => make18,
|
|
24
|
+
node: () => node55
|
|
25
25
|
});
|
|
26
26
|
import { Array, Cause, Clock, Context, Deferred, Effect, Exit, Layer, Schema, Scope, SynchronizedRef } from "effect";
|
|
27
27
|
import { makeGlobalNode } from "@opencode/util/effect/app-node";
|
|
@@ -50,7 +50,7 @@ var Background = Schema.Struct({
|
|
|
50
50
|
var decodeBackground = Schema.decodeUnknownResult(Background);
|
|
51
51
|
var backgroundPrefix = "job.background/";
|
|
52
52
|
|
|
53
|
-
class
|
|
53
|
+
class Service51 extends Context.Service()("@opencode/Job") {
|
|
54
54
|
}
|
|
55
55
|
function snapshot(job) {
|
|
56
56
|
return {
|
|
@@ -77,8 +77,8 @@ function decrementSession(input, sessionID) {
|
|
|
77
77
|
next.set(sessionID, count - 1);
|
|
78
78
|
return next;
|
|
79
79
|
}
|
|
80
|
-
var
|
|
81
|
-
const kv = yield*
|
|
80
|
+
var make18 = Effect.gen(function* () {
|
|
81
|
+
const kv = yield* Service74;
|
|
82
82
|
const state = {
|
|
83
83
|
jobs: yield* SynchronizedRef.make(new Map),
|
|
84
84
|
scope: yield* Scope.Scope
|
|
@@ -307,7 +307,7 @@ var make20 = Effect.gen(function* () {
|
|
|
307
307
|
return recovered;
|
|
308
308
|
}).pipe(Effect.withSpan("Job.pendingBackground"));
|
|
309
309
|
const completeBackground = Effect.fn("Job.completeBackground")((notificationID) => kv.remove(`${backgroundPrefix}${notificationID}`));
|
|
310
|
-
return
|
|
310
|
+
return Service51.of({
|
|
311
311
|
get,
|
|
312
312
|
start,
|
|
313
313
|
wait,
|
|
@@ -319,7 +319,7 @@ var make20 = Effect.gen(function* () {
|
|
|
319
319
|
completeBackground
|
|
320
320
|
});
|
|
321
321
|
});
|
|
322
|
-
var layer = Layer.effect(
|
|
323
|
-
var
|
|
322
|
+
var layer = Layer.effect(Service51, make18);
|
|
323
|
+
var node55 = makeGlobalNode({ service: Service51, layer, deps: [node79] });
|
|
324
324
|
|
|
325
|
-
export {
|
|
325
|
+
export { Service51, make18, node55, exports_job };
|
|
@@ -1,15 +1,15 @@
|
|
|
1
1
|
import {
|
|
2
2
|
PositiveInt2
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./ripgrep-922hggd3.js";
|
|
4
4
|
import {
|
|
5
5
|
__export
|
|
6
|
-
} from "./
|
|
6
|
+
} from "./ripgrep-9rqn6x4v.js";
|
|
7
7
|
|
|
8
8
|
// src/v1/config/mcp.ts
|
|
9
9
|
var exports_mcp5 = {};
|
|
10
10
|
__export(exports_mcp5, {
|
|
11
11
|
ConfigMCPV1: () => exports_mcp5,
|
|
12
|
-
Info: () =>
|
|
12
|
+
Info: () => Info20,
|
|
13
13
|
Local: () => Local2,
|
|
14
14
|
OAuth: () => OAuth2,
|
|
15
15
|
Remote: () => Remote2
|
|
@@ -64,6 +64,6 @@ var Remote2 = Schema.Struct({
|
|
|
64
64
|
description: "Timeout in ms for MCP server requests. Defaults to 5000 (5 seconds) if not specified."
|
|
65
65
|
})
|
|
66
66
|
}).annotate({ identifier: "McpRemoteConfig" });
|
|
67
|
-
var
|
|
67
|
+
var Info20 = Schema.Union([Local2, Remote2]).annotate({ discriminator: "type" });
|
|
68
68
|
|
|
69
|
-
export { Local2, OAuth2, Remote2,
|
|
69
|
+
export { Local2, OAuth2, Remote2, Info20, exports_mcp5 };
|
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
import {
|
|
2
2
|
webSocketConstructor2
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./ripgrep-5t3nmthw.js";
|
|
4
4
|
import {
|
|
5
5
|
__export
|
|
6
|
-
} from "./
|
|
6
|
+
} from "./ripgrep-9rqn6x4v.js";
|
|
7
7
|
|
|
8
8
|
// src/session/model-transport.ts
|
|
9
9
|
var exports_model_transport = {};
|
|
@@ -12,7 +12,7 @@ __export(exports_model_transport, {
|
|
|
12
12
|
SessionModelTransport: () => exports_model_transport,
|
|
13
13
|
layer: () => layer11,
|
|
14
14
|
makeLayer: () => makeLayer2,
|
|
15
|
-
node: () =>
|
|
15
|
+
node: () => node31
|
|
16
16
|
});
|
|
17
17
|
import {
|
|
18
18
|
WebSocketTransport
|
|
@@ -361,6 +361,6 @@ var makeLayer2 = (connector) => Layer.effect(Service26, Effect.gen(function* ()
|
|
|
361
361
|
var layer11 = Layer.unwrap(Effect.map(Socket.WebSocketConstructor, (constructor) => makeLayer2({
|
|
362
362
|
open: (input) => WebSocketTransport.open(input).pipe(Effect.provideService(Socket.WebSocketConstructor, constructor))
|
|
363
363
|
})));
|
|
364
|
-
var
|
|
364
|
+
var node31 = makeGlobalNode({ service: Service26, layer: layer11, deps: [webSocketConstructor2] });
|
|
365
365
|
|
|
366
|
-
export { Service26, makeLayer2, layer11,
|
|
366
|
+
export { Service26, makeLayer2, layer11, node31, exports_model_transport };
|
|
@@ -1,11 +1,11 @@
|
|
|
1
1
|
import {
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
} from "./
|
|
2
|
+
ID7,
|
|
3
|
+
Service55
|
|
4
|
+
} from "./ripgrep-g1sy3t6s.js";
|
|
5
5
|
import {
|
|
6
6
|
isAISDK2,
|
|
7
7
|
packageName2
|
|
8
|
-
} from "./
|
|
8
|
+
} from "./ripgrep-g14zqp48.js";
|
|
9
9
|
|
|
10
10
|
// src/plugin/provider/llmgateway.ts
|
|
11
11
|
import { Effect } from "effect";
|
|
@@ -13,7 +13,7 @@ import { define } from "@opencode/plugin/effect/plugin";
|
|
|
13
13
|
var LLMGatewayPlugin2 = define({
|
|
14
14
|
id: "opencode.provider.llmgateway",
|
|
15
15
|
effect: Effect.fn(function* (ctx) {
|
|
16
|
-
const integrations = yield*
|
|
16
|
+
const integrations = yield* Service55;
|
|
17
17
|
const configured = new Set((yield* integrations.list()).map((integration) => integration.id));
|
|
18
18
|
yield* ctx.catalog.transform((evt) => {
|
|
19
19
|
for (const item of evt.provider.list()) {
|
|
@@ -25,7 +25,7 @@ var LLMGatewayPlugin2 = define({
|
|
|
25
25
|
continue;
|
|
26
26
|
if (item.provider.settings?.baseURL !== "https://api.llmgateway.io/v1")
|
|
27
27
|
continue;
|
|
28
|
-
if (!configured.has(
|
|
28
|
+
if (!configured.has(ID7.make(item.provider.id)))
|
|
29
29
|
continue;
|
|
30
30
|
evt.provider.update(item.provider.id, (provider) => {
|
|
31
31
|
provider.headers = {
|
|
@@ -1,18 +1,18 @@
|
|
|
1
1
|
import {
|
|
2
|
-
|
|
3
|
-
} from "./
|
|
2
|
+
Service49
|
|
3
|
+
} from "./ripgrep-0bps82y7.js";
|
|
4
4
|
import {
|
|
5
5
|
awaitActivation2
|
|
6
|
-
} from "./
|
|
6
|
+
} from "./ripgrep-9sh4wc5j.js";
|
|
7
7
|
import {
|
|
8
8
|
SkillNotFoundError2
|
|
9
|
-
} from "./
|
|
9
|
+
} from "./ripgrep-t3pn2srw.js";
|
|
10
10
|
import {
|
|
11
|
-
|
|
12
|
-
} from "./
|
|
11
|
+
Service38
|
|
12
|
+
} from "./ripgrep-y2wcncat.js";
|
|
13
13
|
import {
|
|
14
14
|
__export
|
|
15
|
-
} from "./
|
|
15
|
+
} from "./ripgrep-9rqn6x4v.js";
|
|
16
16
|
|
|
17
17
|
// src/session/skill.ts
|
|
18
18
|
var exports_skill4 = {};
|
|
@@ -22,8 +22,8 @@ __export(exports_skill4, {
|
|
|
22
22
|
});
|
|
23
23
|
import { Effect } from "effect";
|
|
24
24
|
var get4 = Effect.fn("SessionSkill.get")(function* (input) {
|
|
25
|
-
const instances = yield*
|
|
26
|
-
const skills = yield* awaitActivation2.pipe(Effect.andThen(
|
|
25
|
+
const instances = yield* Service49;
|
|
26
|
+
const skills = yield* awaitActivation2.pipe(Effect.andThen(Service38), instances.provide(input.session));
|
|
27
27
|
const skill = yield* skills.get(input.skill);
|
|
28
28
|
if (!skill)
|
|
29
29
|
return yield* new SkillNotFoundError2({ skill: input.skill });
|
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
import {
|
|
2
|
-
|
|
3
|
-
} from "./
|
|
2
|
+
ID16
|
|
3
|
+
} from "./ripgrep-g14zqp48.js";
|
|
4
4
|
import {
|
|
5
5
|
__export
|
|
6
|
-
} from "./
|
|
6
|
+
} from "./ripgrep-9rqn6x4v.js";
|
|
7
7
|
|
|
8
8
|
// src/model.ts
|
|
9
9
|
var exports_model2 = {};
|
|
@@ -12,25 +12,25 @@ __export(exports_model2, {
|
|
|
12
12
|
Compatibility: () => Compatibility2,
|
|
13
13
|
Cost: () => Cost2,
|
|
14
14
|
Family: () => Family2,
|
|
15
|
-
ID: () =>
|
|
16
|
-
Info: () =>
|
|
15
|
+
ID: () => ID15,
|
|
16
|
+
Info: () => Info29,
|
|
17
17
|
Model: () => exports_model2,
|
|
18
18
|
ReasoningField: () => ReasoningField2,
|
|
19
|
-
Ref: () =>
|
|
19
|
+
Ref: () => Ref3,
|
|
20
20
|
VariantID: () => VariantID2,
|
|
21
21
|
compatibility: () => compatibility2,
|
|
22
22
|
parse: () => parse5
|
|
23
23
|
});
|
|
24
24
|
import { Model } from "@opencode/schema/model";
|
|
25
|
-
var
|
|
25
|
+
var ID15 = Model.ID;
|
|
26
26
|
var VariantID2 = Model.VariantID;
|
|
27
27
|
var Family2 = Model.Family;
|
|
28
28
|
var ReasoningField2 = Model.ReasoningField;
|
|
29
29
|
var Compatibility2 = Model.Compatibility;
|
|
30
30
|
var Capabilities2 = Model.Capabilities;
|
|
31
31
|
var Cost2 = Model.Cost;
|
|
32
|
-
var
|
|
33
|
-
var
|
|
32
|
+
var Ref3 = Model.Ref;
|
|
33
|
+
var Info29 = Model.Info;
|
|
34
34
|
function compatibility2(input) {
|
|
35
35
|
if (typeof input === "string")
|
|
36
36
|
return { reasoningField: input };
|
|
@@ -41,9 +41,9 @@ function compatibility2(input) {
|
|
|
41
41
|
function parse5(input) {
|
|
42
42
|
const index = input.indexOf("/");
|
|
43
43
|
return {
|
|
44
|
-
providerID:
|
|
45
|
-
modelID:
|
|
44
|
+
providerID: ID16.make(index === -1 ? input : input.slice(0, index)),
|
|
45
|
+
modelID: ID15.make(index === -1 ? "" : input.slice(index + 1))
|
|
46
46
|
};
|
|
47
47
|
}
|
|
48
48
|
|
|
49
|
-
export {
|
|
49
|
+
export { ID15, VariantID2, Family2, ReasoningField2, Compatibility2, Capabilities2, Cost2, Ref3, Info29, compatibility2, parse5, exports_model2 };
|
|
@@ -1,20 +1,20 @@
|
|
|
1
1
|
import {
|
|
2
2
|
makeUnsafe2
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./ripgrep-y71avatq.js";
|
|
4
4
|
import {
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
} from "./
|
|
5
|
+
Service61,
|
|
6
|
+
node65
|
|
7
|
+
} from "./ripgrep-j4c2y7gg.js";
|
|
8
8
|
import {
|
|
9
9
|
__export
|
|
10
|
-
} from "./
|
|
10
|
+
} from "./ripgrep-9rqn6x4v.js";
|
|
11
11
|
|
|
12
12
|
// src/file-mutation.ts
|
|
13
13
|
var exports_file_mutation = {};
|
|
14
14
|
__export(exports_file_mutation, {
|
|
15
15
|
FileMutation: () => exports_file_mutation,
|
|
16
|
-
Service: () =>
|
|
17
|
-
node: () =>
|
|
16
|
+
Service: () => Service13,
|
|
17
|
+
node: () => node16,
|
|
18
18
|
readText: () => readText2,
|
|
19
19
|
syncTextBom: () => syncTextBom2
|
|
20
20
|
});
|
|
@@ -22,7 +22,7 @@ import { makeLocationNode } from "@opencode/util/effect/app-node";
|
|
|
22
22
|
import { Context, Effect, Layer } from "effect";
|
|
23
23
|
import { FSUtil } from "@opencode/util/fs-util";
|
|
24
24
|
import { Bom } from "@opencode/util/bom";
|
|
25
|
-
class
|
|
25
|
+
class Service13 extends Context.Service()("@opencode/FileMutation") {
|
|
26
26
|
}
|
|
27
27
|
var readText2 = Effect.fn("FileMutation.readText")(function* (files, target) {
|
|
28
28
|
return Bom.decodeBytes((yield* files.read(target)).bytes);
|
|
@@ -34,8 +34,8 @@ var syncTextBom2 = Effect.fn("FileMutation.syncTextBom")(function* (files, targe
|
|
|
34
34
|
return synced.text;
|
|
35
35
|
});
|
|
36
36
|
var transactionLocks = makeUnsafe2();
|
|
37
|
-
var layer = Layer.effect(
|
|
38
|
-
const environment = yield*
|
|
37
|
+
var layer = Layer.effect(Service13, Effect.gen(function* () {
|
|
38
|
+
const environment = yield* Service61;
|
|
39
39
|
const locks = makeUnsafe2();
|
|
40
40
|
const withLock = (targets) => (effect) => [...new Set(targets.map(FSUtil.resolve))].sort().reduceRight((result, target) => transactionLocks.withLock(target)(result), effect);
|
|
41
41
|
const withTargetLock = (target) => (effect) => locks.withLock(target.absolute)(Effect.uninterruptible(effect));
|
|
@@ -56,8 +56,8 @@ var layer = Layer.effect(Service16, Effect.gen(function* () {
|
|
|
56
56
|
yield* environment.files.write(input.target.absolute, new TextEncoder().encode(Bom.join(next.text, Boolean(current && Bom.has(current)) || next.bom)));
|
|
57
57
|
return writeResult(input.target, current !== undefined);
|
|
58
58
|
})));
|
|
59
|
-
return
|
|
59
|
+
return Service13.of({ withLock, write, writeTextPreservingBom });
|
|
60
60
|
}));
|
|
61
|
-
var
|
|
61
|
+
var node16 = makeLocationNode({ service: Service13, layer, deps: [node65] });
|
|
62
62
|
|
|
63
|
-
export {
|
|
63
|
+
export { Service13, readText2, syncTextBom2, node16, exports_file_mutation };
|
|
@@ -1,17 +1,17 @@
|
|
|
1
1
|
import {
|
|
2
|
-
|
|
2
|
+
ID16,
|
|
3
3
|
aisdk2,
|
|
4
4
|
mergeOverlay2
|
|
5
|
-
} from "./
|
|
5
|
+
} from "./ripgrep-g14zqp48.js";
|
|
6
6
|
import {
|
|
7
|
-
|
|
7
|
+
ID15,
|
|
8
8
|
VariantID2,
|
|
9
|
-
|
|
9
|
+
Info29,
|
|
10
10
|
compatibility2
|
|
11
|
-
} from "./
|
|
11
|
+
} from "./ripgrep-9d8v8ke2.js";
|
|
12
12
|
import {
|
|
13
13
|
__export
|
|
14
|
-
} from "./
|
|
14
|
+
} from "./ripgrep-9rqn6x4v.js";
|
|
15
15
|
|
|
16
16
|
// src/modal/models.ts
|
|
17
17
|
var exports_models = {};
|
|
@@ -21,7 +21,7 @@ __export(exports_models, {
|
|
|
21
21
|
});
|
|
22
22
|
import { Money } from "@opencode/schema/money";
|
|
23
23
|
import { Option, Schema } from "effect";
|
|
24
|
-
var providerID =
|
|
24
|
+
var providerID = ID16.make("modal");
|
|
25
25
|
var ReasoningOption = Schema.Struct({
|
|
26
26
|
type: Schema.Literal("effort"),
|
|
27
27
|
values: Schema.Array(Schema.NullOr(Schema.String))
|
|
@@ -69,8 +69,8 @@ async function get2(baseURL, apiKey, existing) {
|
|
|
69
69
|
const templates = new Map(existing.map((model) => [model.id, model]));
|
|
70
70
|
const result = new Map;
|
|
71
71
|
for (const item of remote) {
|
|
72
|
-
const template = templates.get(
|
|
73
|
-
const id =
|
|
72
|
+
const template = templates.get(ID15.make(item.base_model_id ?? item.hugging_face_id ?? item.id));
|
|
73
|
+
const id = ID15.make(item.id);
|
|
74
74
|
result.set(id, build(id, item, baseURL, template));
|
|
75
75
|
}
|
|
76
76
|
return result;
|
|
@@ -88,10 +88,10 @@ function limit(value, fallback) {
|
|
|
88
88
|
function build(id, remote, baseURL, previous) {
|
|
89
89
|
const cost = previous?.cost[0];
|
|
90
90
|
const input = previous?.limit.input;
|
|
91
|
-
return
|
|
92
|
-
...
|
|
91
|
+
return Info29.make({
|
|
92
|
+
...Info29.default(providerID, id),
|
|
93
93
|
id,
|
|
94
|
-
modelID:
|
|
94
|
+
modelID: ID15.make(remote.id),
|
|
95
95
|
providerID,
|
|
96
96
|
name: remote.name ?? previous?.name ?? remote.id,
|
|
97
97
|
family: previous?.family,
|