@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,62 +1,62 @@
|
|
|
1
1
|
import {
|
|
2
2
|
NonNegativeInt2
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./ripgrep-922hggd3.js";
|
|
4
4
|
import {
|
|
5
5
|
latest2,
|
|
6
|
-
|
|
7
|
-
} from "./
|
|
6
|
+
Service71
|
|
7
|
+
} from "./ripgrep-kg76qfxw.js";
|
|
8
8
|
import {
|
|
9
9
|
typeFollowing2
|
|
10
|
-
} from "./
|
|
11
|
-
import {
|
|
12
|
-
Service48
|
|
13
|
-
} from "./aisdk-msk50a9j.js";
|
|
10
|
+
} from "./ripgrep-2a5m3afh.js";
|
|
14
11
|
import {
|
|
15
12
|
Service61
|
|
16
|
-
} from "./
|
|
13
|
+
} from "./ripgrep-j4c2y7gg.js";
|
|
14
|
+
import {
|
|
15
|
+
Service51
|
|
16
|
+
} from "./ripgrep-8evqb545.js";
|
|
17
17
|
import {
|
|
18
|
-
|
|
19
|
-
} from "./
|
|
18
|
+
Service66
|
|
19
|
+
} from "./ripgrep-9xx88crh.js";
|
|
20
20
|
import {
|
|
21
|
-
|
|
21
|
+
Service65,
|
|
22
22
|
resolvePath2
|
|
23
|
-
} from "./
|
|
23
|
+
} from "./ripgrep-x84xvd1n.js";
|
|
24
24
|
import {
|
|
25
25
|
output2,
|
|
26
26
|
notice2,
|
|
27
27
|
metadata2,
|
|
28
28
|
notification2
|
|
29
|
-
} from "./
|
|
29
|
+
} from "./ripgrep-fxbjtjnd.js";
|
|
30
30
|
import {
|
|
31
|
-
|
|
31
|
+
Service39,
|
|
32
32
|
name15
|
|
33
|
-
} from "./
|
|
33
|
+
} from "./ripgrep-03m5yc2w.js";
|
|
34
34
|
import {
|
|
35
|
-
|
|
36
|
-
|
|
37
|
-
} from "./
|
|
35
|
+
NotFoundError5,
|
|
36
|
+
Service34
|
|
37
|
+
} from "./ripgrep-f0zqv8cz.js";
|
|
38
38
|
import {
|
|
39
|
-
|
|
40
|
-
} from "./
|
|
39
|
+
Service20
|
|
40
|
+
} from "./ripgrep-x38mj0ya.js";
|
|
41
41
|
import {
|
|
42
42
|
scan2
|
|
43
|
-
} from "./
|
|
43
|
+
} from "./ripgrep-ybpn653b.js";
|
|
44
44
|
import {
|
|
45
45
|
__export
|
|
46
|
-
} from "./
|
|
46
|
+
} from "./ripgrep-9rqn6x4v.js";
|
|
47
47
|
|
|
48
48
|
// src/tool/plugin/shell.ts
|
|
49
49
|
var exports_shell2 = {};
|
|
50
50
|
__export(exports_shell2, {
|
|
51
51
|
DEFAULT_TIMEOUT_MS: () => DEFAULT_TIMEOUT_MS2,
|
|
52
|
-
Input: () =>
|
|
53
|
-
Plugin: () =>
|
|
52
|
+
Input: () => Input8,
|
|
53
|
+
Plugin: () => Plugin26,
|
|
54
54
|
ShellTool: () => exports_shell2,
|
|
55
|
-
name: () =>
|
|
55
|
+
name: () => name8
|
|
56
56
|
});
|
|
57
57
|
import { ToolFailure } from "@opencode/ai";
|
|
58
58
|
import { Deferred, Effect, Schema, Scope } from "effect";
|
|
59
|
-
var
|
|
59
|
+
var name8 = "shell";
|
|
60
60
|
var DEFAULT_TIMEOUT_MS2 = 2 * 60 * 1000;
|
|
61
61
|
var BACKGROUND_INSTRUCTION = "You will be notified automatically when the command finishes. The notification will include the command's output. Unless the user explicitly asks otherwise, DO NOT poll for completion, even if you need the final result to continue. Repeatedly sleeping and reading or searching the output file is polling, not useful work. You may read the current output if it lets you do useful work now, but do not repeatedly check it while waiting for the command to finish. Keep working on anything that does not depend on the result. If you have nothing else to do, end your response; you will be resumed automatically when the command finishes.";
|
|
62
62
|
var OS = process.platform === "darwin" ? "macOS" : process.platform === "win32" ? "Windows" : process.platform === "linux" ? "Linux" : process.platform;
|
|
@@ -70,7 +70,7 @@ var description = (shell) => [
|
|
|
70
70
|
"Commands accept an optional timeout, background commands have no timeout by default.",
|
|
71
71
|
"Background commands return immediately, and you will be notified when they complete."
|
|
72
72
|
].join(" ");
|
|
73
|
-
var
|
|
73
|
+
var Input8 = Schema.Struct({
|
|
74
74
|
command: Schema.String.annotate({ description: "Shell command string to execute" }),
|
|
75
75
|
workdir: Schema.optionalKey(Schema.String).annotate({
|
|
76
76
|
description: "Working directory to execute the command in. Defaults to the current working directory. When possible, avoid changing directories in the command and set the working directory here instead."
|
|
@@ -115,19 +115,19 @@ Output is streaming to: ${file}`,
|
|
|
115
115
|
truncated: false,
|
|
116
116
|
status: "running"
|
|
117
117
|
});
|
|
118
|
-
var
|
|
118
|
+
var Plugin26 = {
|
|
119
119
|
id: "opencode.tool.shell",
|
|
120
120
|
effect: Effect.fn("ShellTool.Plugin")(function* (ctx) {
|
|
121
|
-
const sessions = yield*
|
|
122
|
-
const jobs = yield*
|
|
121
|
+
const sessions = yield* Service20;
|
|
122
|
+
const jobs = yield* Service51;
|
|
123
123
|
const scope = yield* Scope.Scope;
|
|
124
|
-
const environment = yield*
|
|
125
|
-
const access = yield*
|
|
126
|
-
const shell = yield*
|
|
127
|
-
const shellSelect = yield*
|
|
124
|
+
const environment = yield* Service61;
|
|
125
|
+
const access = yield* Service65;
|
|
126
|
+
const shell = yield* Service34;
|
|
127
|
+
const shellSelect = yield* Service39;
|
|
128
128
|
const compatibleShell = shellSelect.resolve({ priority: "compat" });
|
|
129
|
-
const permission = yield*
|
|
130
|
-
const config = yield*
|
|
129
|
+
const permission = yield* Service66;
|
|
130
|
+
const config = yield* Service71;
|
|
131
131
|
const prepare = Effect.fn("ShellTool.prepare")(function* (invocation, context) {
|
|
132
132
|
const source = {
|
|
133
133
|
type: "tool",
|
|
@@ -146,7 +146,7 @@ var Plugin43 = {
|
|
|
146
146
|
yield* access.authorizeExternal([target, ...directories], context);
|
|
147
147
|
if (parsed.commands.length > 0)
|
|
148
148
|
yield* permission.assert({
|
|
149
|
-
action:
|
|
149
|
+
action: name8,
|
|
150
150
|
resources: parsed.commands.map((command) => command.resource),
|
|
151
151
|
save: parsed.commands.map((command) => command.save),
|
|
152
152
|
sessionID: context.sessionID,
|
|
@@ -183,10 +183,10 @@ var Plugin43 = {
|
|
|
183
183
|
yield* jobs.completeBackground(info.notificationID);
|
|
184
184
|
}, Effect.forkIn(scope, { startImmediately: true }));
|
|
185
185
|
yield* ctx.tool.transform((editor) => editor.add({
|
|
186
|
-
name:
|
|
186
|
+
name: name8,
|
|
187
187
|
options: { codemode: false },
|
|
188
188
|
description: description(),
|
|
189
|
-
input:
|
|
189
|
+
input: Input8,
|
|
190
190
|
output: Output,
|
|
191
191
|
execute: (input, context) => Effect.gen(function* () {
|
|
192
192
|
const timeout = input.background === true ? input.timeout ?? 0 : input.timeout ?? DEFAULT_TIMEOUT_MS2;
|
|
@@ -205,7 +205,7 @@ var Plugin43 = {
|
|
|
205
205
|
const run = Effect.gen(function* () {
|
|
206
206
|
const result = yield* shell.result(info);
|
|
207
207
|
if (!result.capture)
|
|
208
|
-
return yield* new
|
|
208
|
+
return yield* new NotFoundError5({ id: info.id });
|
|
209
209
|
const output = output2(result);
|
|
210
210
|
return {
|
|
211
211
|
...output,
|
|
@@ -219,7 +219,7 @@ Command exceeded timeout of ${finalTimeout} ms. Retry with a larger timeout if t
|
|
|
219
219
|
`)), Effect.onInterrupt(() => shell.remove(info.id).pipe(Effect.ignore)));
|
|
220
220
|
const job = yield* jobs.start({
|
|
221
221
|
id: info.id,
|
|
222
|
-
type:
|
|
222
|
+
type: name8,
|
|
223
223
|
title: info.command,
|
|
224
224
|
metadata: { sessionID: context.sessionID, shellID: info.id },
|
|
225
225
|
recovery: {
|
|
@@ -249,7 +249,7 @@ Command exceeded timeout of ${finalTimeout} ms. Retry with a larger timeout if t
|
|
|
249
249
|
}).pipe(Effect.map(toolResult), Effect.mapError((error) => new ToolFailure({ message: `Unable to execute command: ${input.command}`, error })))
|
|
250
250
|
})).pipe(Effect.orDie);
|
|
251
251
|
yield* ctx.session.hook("context", (event) => Effect.gen(function* () {
|
|
252
|
-
const tool = event.tools[
|
|
252
|
+
const tool = event.tools[name8];
|
|
253
253
|
if (!tool)
|
|
254
254
|
return;
|
|
255
255
|
tool.description = description(name15(yield* compatibleShell));
|
|
@@ -257,4 +257,4 @@ Command exceeded timeout of ${finalTimeout} ms. Retry with a larger timeout if t
|
|
|
257
257
|
})
|
|
258
258
|
};
|
|
259
259
|
|
|
260
|
-
export {
|
|
260
|
+
export { name8, DEFAULT_TIMEOUT_MS2, Input8, Plugin26, exports_shell2 };
|
|
@@ -1,12 +1,12 @@
|
|
|
1
1
|
import {
|
|
2
|
-
|
|
3
|
-
} from "./
|
|
2
|
+
Service57
|
|
3
|
+
} from "./ripgrep-r12m2gvw.js";
|
|
4
4
|
import {
|
|
5
|
-
|
|
6
|
-
} from "./
|
|
5
|
+
Service66
|
|
6
|
+
} from "./ripgrep-9xx88crh.js";
|
|
7
7
|
import {
|
|
8
8
|
__export
|
|
9
|
-
} from "./
|
|
9
|
+
} from "./ripgrep-9rqn6x4v.js";
|
|
10
10
|
|
|
11
11
|
// src/tool/plugin/question.ts
|
|
12
12
|
var exports_question = {};
|
|
@@ -17,13 +17,13 @@ __export(exports_question, {
|
|
|
17
17
|
Plugin: () => Plugin45,
|
|
18
18
|
QuestionTool: () => exports_question,
|
|
19
19
|
description: () => description6,
|
|
20
|
-
name: () =>
|
|
20
|
+
name: () => name14,
|
|
21
21
|
toModelContent: () => toModelContent7
|
|
22
22
|
});
|
|
23
23
|
import { ToolFailure } from "@opencode/ai";
|
|
24
24
|
import { Effect, Schema } from "effect";
|
|
25
25
|
import { Question } from "@opencode/schema/question";
|
|
26
|
-
var
|
|
26
|
+
var name14 = "question";
|
|
27
27
|
var description6 = `Use this tool when you need to ask the user questions during execution. This allows you to:
|
|
28
28
|
1. Gather user preferences or requirements
|
|
29
29
|
2. Clarify ambiguous instructions
|
|
@@ -53,10 +53,10 @@ var toModelContent7 = (questions, answers) => {
|
|
|
53
53
|
var Plugin45 = {
|
|
54
54
|
id: "opencode.tool.question",
|
|
55
55
|
effect: Effect.fn("QuestionTool.Plugin")(function* (ctx) {
|
|
56
|
-
const forms = yield*
|
|
57
|
-
const permission = yield*
|
|
56
|
+
const forms = yield* Service57;
|
|
57
|
+
const permission = yield* Service66;
|
|
58
58
|
yield* ctx.tool.transform((editor) => editor.add({
|
|
59
|
-
name:
|
|
59
|
+
name: name14,
|
|
60
60
|
options: { codemode: false },
|
|
61
61
|
description: description6,
|
|
62
62
|
input: Input13,
|
|
@@ -115,4 +115,4 @@ function toField(question, index) {
|
|
|
115
115
|
};
|
|
116
116
|
}
|
|
117
117
|
|
|
118
|
-
export {
|
|
118
|
+
export { name14, description6, Input13, Output9, CancelledError2, toModelContent7, Plugin45, exports_question };
|
|
@@ -1,10 +1,10 @@
|
|
|
1
1
|
import {
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
} from "./
|
|
2
|
+
Service79,
|
|
3
|
+
node84
|
|
4
|
+
} from "./ripgrep-tjncz0mj.js";
|
|
5
5
|
import {
|
|
6
6
|
__export
|
|
7
|
-
} from "./
|
|
7
|
+
} from "./ripgrep-9rqn6x4v.js";
|
|
8
8
|
|
|
9
9
|
// src/form.ts
|
|
10
10
|
var exports_form = {};
|
|
@@ -12,40 +12,40 @@ __export(exports_form, {
|
|
|
12
12
|
AlreadyExistsError: () => AlreadyExistsError2,
|
|
13
13
|
AlreadySettledError: () => AlreadySettledError2,
|
|
14
14
|
Answer: () => Answer2,
|
|
15
|
-
Event: () =>
|
|
15
|
+
Event: () => Event11,
|
|
16
16
|
Field: () => Field2,
|
|
17
17
|
Fields: () => Fields2,
|
|
18
18
|
Form: () => exports_form,
|
|
19
|
-
ID: () =>
|
|
20
|
-
Info: () =>
|
|
19
|
+
ID: () => ID8,
|
|
20
|
+
Info: () => Info11,
|
|
21
21
|
InvalidAnswerError: () => InvalidAnswerError2,
|
|
22
22
|
InvalidFormError: () => InvalidFormError2,
|
|
23
|
-
NotFoundError: () =>
|
|
24
|
-
Reply: () =>
|
|
25
|
-
Service: () =>
|
|
23
|
+
NotFoundError: () => NotFoundError7,
|
|
24
|
+
Reply: () => Reply2,
|
|
25
|
+
Service: () => Service57,
|
|
26
26
|
State: () => State3,
|
|
27
27
|
When: () => When2,
|
|
28
|
-
layer: () =>
|
|
29
|
-
node: () =>
|
|
28
|
+
layer: () => layer21,
|
|
29
|
+
node: () => node61,
|
|
30
30
|
validateAnswer: () => validateAnswer2,
|
|
31
31
|
validateFields: () => validateFields2
|
|
32
32
|
});
|
|
33
33
|
import { Form } from "@opencode/schema/form";
|
|
34
34
|
import { Cache, Context, Deferred, Duration, Effect, Exit, Layer, Option, Schema } from "effect";
|
|
35
35
|
import { makeLocationNode } from "@opencode/util/effect/app-node";
|
|
36
|
-
import { Event as
|
|
36
|
+
import { Event as Event11 } from "@opencode/schema/form";
|
|
37
37
|
var RETENTION = Duration.minutes(10);
|
|
38
|
-
var
|
|
39
|
-
var
|
|
38
|
+
var ID8 = Form.ID;
|
|
39
|
+
var Info11 = Form.Info;
|
|
40
40
|
var Field2 = Form.Field;
|
|
41
41
|
var Fields2 = Form.Fields;
|
|
42
42
|
var When2 = Form.When;
|
|
43
43
|
var State3 = Form.State;
|
|
44
44
|
var Answer2 = Form.Answer;
|
|
45
|
-
var
|
|
45
|
+
var Reply2 = Form.Reply;
|
|
46
46
|
|
|
47
|
-
class
|
|
48
|
-
id:
|
|
47
|
+
class NotFoundError7 extends Schema.TaggedError()("Form.NotFoundError", {
|
|
48
|
+
id: ID8
|
|
49
49
|
}) {
|
|
50
50
|
get message() {
|
|
51
51
|
return `Form not found: ${this.id}`;
|
|
@@ -53,7 +53,7 @@ class NotFoundError10 extends Schema.TaggedError()("Form.NotFoundError", {
|
|
|
53
53
|
}
|
|
54
54
|
|
|
55
55
|
class AlreadySettledError2 extends Schema.TaggedError()("Form.AlreadySettledError", {
|
|
56
|
-
id:
|
|
56
|
+
id: ID8
|
|
57
57
|
}) {
|
|
58
58
|
get message() {
|
|
59
59
|
return `Form already settled: ${this.id}`;
|
|
@@ -61,7 +61,7 @@ class AlreadySettledError2 extends Schema.TaggedError()("Form.AlreadySettledErro
|
|
|
61
61
|
}
|
|
62
62
|
|
|
63
63
|
class AlreadyExistsError2 extends Schema.TaggedError()("Form.AlreadyExistsError", {
|
|
64
|
-
id:
|
|
64
|
+
id: ID8
|
|
65
65
|
}) {
|
|
66
66
|
get message() {
|
|
67
67
|
return `Form already exists: ${this.id}`;
|
|
@@ -69,7 +69,7 @@ class AlreadyExistsError2 extends Schema.TaggedError()("Form.AlreadyExistsError"
|
|
|
69
69
|
}
|
|
70
70
|
|
|
71
71
|
class InvalidAnswerError2 extends Schema.TaggedError()("Form.InvalidAnswerError", {
|
|
72
|
-
id:
|
|
72
|
+
id: ID8,
|
|
73
73
|
message: Schema.String
|
|
74
74
|
}) {
|
|
75
75
|
}
|
|
@@ -79,17 +79,17 @@ class InvalidFormError2 extends Schema.TaggedError()("Form.InvalidFormError", {
|
|
|
79
79
|
}) {
|
|
80
80
|
}
|
|
81
81
|
|
|
82
|
-
class
|
|
82
|
+
class Service57 extends Context.Service()("@opencode/Form") {
|
|
83
83
|
}
|
|
84
|
-
var
|
|
85
|
-
const bus = yield*
|
|
84
|
+
var layer21 = Layer.effect(Service57, Effect.gen(function* () {
|
|
85
|
+
const bus = yield* Service79;
|
|
86
86
|
const forms = yield* Cache.makeWith(() => Effect.die(new Error("Form cache must be used via set/getSuccess, never get")), {
|
|
87
87
|
capacity: Number.MAX_SAFE_INTEGER,
|
|
88
88
|
timeToLive: (exit) => Exit.isSuccess(exit) && exit.value.state.status === "pending" ? Duration.infinity : RETENTION
|
|
89
89
|
});
|
|
90
|
-
const requireEntry = Effect.fn("Form.requireEntry")((id) => Cache.getSuccess(forms, id).pipe(Effect.flatMap((entry) => Effect.fromOption(entry, () => new
|
|
90
|
+
const requireEntry = Effect.fn("Form.requireEntry")((id) => Cache.getSuccess(forms, id).pipe(Effect.flatMap((entry) => Effect.fromOption(entry, () => new NotFoundError7({ id })))));
|
|
91
91
|
const create = Effect.fn("Form.create")((input) => Effect.uninterruptible(Effect.gen(function* () {
|
|
92
|
-
const id = input.id ??
|
|
92
|
+
const id = input.id ?? ID8.create();
|
|
93
93
|
const existing = yield* Cache.getSuccess(forms, id);
|
|
94
94
|
if (Option.isSome(existing))
|
|
95
95
|
return yield* new AlreadyExistsError2({ id });
|
|
@@ -153,9 +153,9 @@ var layer25 = Layer.effect(Service73, Effect.gen(function* () {
|
|
|
153
153
|
yield* Deferred.succeed(entry.deferred, next);
|
|
154
154
|
})));
|
|
155
155
|
yield* Effect.addFinalizer(() => Cache.values(forms).pipe(Effect.flatMap((entries) => Effect.forEach(Array.from(entries).filter((entry) => entry.state.status === "pending"), (entry) => cancel(entry.form.id).pipe(Effect.ignore), { discard: true }))));
|
|
156
|
-
return
|
|
156
|
+
return Service57.of({ create, ask, get, list, state, reply, cancel });
|
|
157
157
|
}));
|
|
158
|
-
var
|
|
158
|
+
var node61 = makeLocationNode({ service: Service57, layer: layer21, deps: [node84] });
|
|
159
159
|
function validateAnswer2(form, answer) {
|
|
160
160
|
const fields = new Map(form.map((field) => [field.key, field]));
|
|
161
161
|
for (const key of Object.keys(answer)) {
|
|
@@ -307,4 +307,4 @@ function isDateTime(value) {
|
|
|
307
307
|
return !Number.isNaN(new Date(value).getTime());
|
|
308
308
|
}
|
|
309
309
|
|
|
310
|
-
export {
|
|
310
|
+
export { ID8, Info11, Field2, Fields2, When2, State3, Answer2, Reply2, NotFoundError7, AlreadySettledError2, AlreadyExistsError2, InvalidAnswerError2, InvalidFormError2, Service57, layer21, node61, validateAnswer2, validateFields2, exports_form, Event11 };
|
|
@@ -1,36 +1,36 @@
|
|
|
1
1
|
import {
|
|
2
|
-
|
|
2
|
+
ID16,
|
|
3
3
|
isAISDK2,
|
|
4
4
|
packageName2,
|
|
5
5
|
loadPackage2,
|
|
6
6
|
nativeSettings2,
|
|
7
7
|
mergeOverlay2,
|
|
8
8
|
mergeHeaders2
|
|
9
|
-
} from "./
|
|
9
|
+
} from "./ripgrep-g14zqp48.js";
|
|
10
10
|
import {
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
} from "./
|
|
11
|
+
Service56,
|
|
12
|
+
node60
|
|
13
|
+
} from "./ripgrep-bn56f23d.js";
|
|
14
14
|
import {
|
|
15
15
|
map2
|
|
16
|
-
} from "./
|
|
16
|
+
} from "./ripgrep-ea8nv0r7.js";
|
|
17
17
|
import {
|
|
18
|
-
|
|
18
|
+
ID15,
|
|
19
19
|
VariantID2,
|
|
20
|
-
|
|
21
|
-
} from "./
|
|
20
|
+
Ref3
|
|
21
|
+
} from "./ripgrep-9d8v8ke2.js";
|
|
22
22
|
import {
|
|
23
|
-
|
|
24
|
-
|
|
25
|
-
|
|
26
|
-
} from "./
|
|
23
|
+
ID7,
|
|
24
|
+
Service55,
|
|
25
|
+
node59
|
|
26
|
+
} from "./ripgrep-g1sy3t6s.js";
|
|
27
27
|
import {
|
|
28
|
-
|
|
29
|
-
|
|
30
|
-
} from "./
|
|
28
|
+
Service54,
|
|
29
|
+
node58
|
|
30
|
+
} from "./ripgrep-s69d0rhj.js";
|
|
31
31
|
import {
|
|
32
32
|
__export
|
|
33
|
-
} from "./
|
|
33
|
+
} from "./ripgrep-9rqn6x4v.js";
|
|
34
34
|
|
|
35
35
|
// src/model-resolver.ts
|
|
36
36
|
var exports_model_resolver = {};
|
|
@@ -39,15 +39,15 @@ __export(exports_model_resolver, {
|
|
|
39
39
|
ModelConfigurationError: () => ModelConfigurationError3,
|
|
40
40
|
ModelInitializationError: () => ModelInitializationError3,
|
|
41
41
|
ModelResolver: () => exports_model_resolver,
|
|
42
|
-
Service: () =>
|
|
42
|
+
Service: () => Service53,
|
|
43
43
|
UnresolvedProviderVariablesError: () => UnresolvedProviderVariablesError3,
|
|
44
44
|
UnsupportedCompactionError: () => UnsupportedCompactionError3,
|
|
45
45
|
UnsupportedPackageError: () => UnsupportedPackageError3,
|
|
46
46
|
VariantUnavailableError: () => VariantUnavailableError3,
|
|
47
47
|
fromCatalogModel: () => fromCatalogModel2,
|
|
48
48
|
hasPackage: () => hasPackage2,
|
|
49
|
-
layer: () =>
|
|
50
|
-
node: () =>
|
|
49
|
+
layer: () => layer20,
|
|
50
|
+
node: () => node57,
|
|
51
51
|
resolveModel: () => resolveModel2,
|
|
52
52
|
withVariant: () => withVariant2
|
|
53
53
|
});
|
|
@@ -57,8 +57,8 @@ import { Auth } from "@opencode/ai/route";
|
|
|
57
57
|
import { Context, Effect, Layer, Schema, Struct } from "effect";
|
|
58
58
|
import { Npm } from "@opencode/util/npm";
|
|
59
59
|
class VariantUnavailableError3 extends Schema.TaggedError()("SessionRunnerModel.VariantUnavailableError", {
|
|
60
|
-
providerID:
|
|
61
|
-
modelID:
|
|
60
|
+
providerID: ID16,
|
|
61
|
+
modelID: ID15,
|
|
62
62
|
variant: VariantID2
|
|
63
63
|
}) {
|
|
64
64
|
get message() {
|
|
@@ -67,8 +67,8 @@ class VariantUnavailableError3 extends Schema.TaggedError()("SessionRunnerModel.
|
|
|
67
67
|
}
|
|
68
68
|
|
|
69
69
|
class UnsupportedPackageError3 extends Schema.TaggedError()("SessionRunnerModel.UnsupportedPackageError", {
|
|
70
|
-
providerID:
|
|
71
|
-
modelID:
|
|
70
|
+
providerID: ID16,
|
|
71
|
+
modelID: ID15,
|
|
72
72
|
package: Schema.String
|
|
73
73
|
}) {
|
|
74
74
|
get message() {
|
|
@@ -78,8 +78,8 @@ class UnsupportedPackageError3 extends Schema.TaggedError()("SessionRunnerModel.
|
|
|
78
78
|
var InitializationPhase2 = Schema.Literals(["load", "init", "construct"]);
|
|
79
79
|
|
|
80
80
|
class ModelConfigurationError3 extends Schema.TaggedError()("SessionRunnerModel.ModelConfigurationError", {
|
|
81
|
-
providerID:
|
|
82
|
-
modelID:
|
|
81
|
+
providerID: ID16,
|
|
82
|
+
modelID: ID15,
|
|
83
83
|
package: Schema.String,
|
|
84
84
|
detail: Schema.String
|
|
85
85
|
}) {
|
|
@@ -89,8 +89,8 @@ class ModelConfigurationError3 extends Schema.TaggedError()("SessionRunnerModel.
|
|
|
89
89
|
}
|
|
90
90
|
|
|
91
91
|
class ModelInitializationError3 extends Schema.TaggedError()("SessionRunnerModel.ModelInitializationError", {
|
|
92
|
-
providerID:
|
|
93
|
-
modelID:
|
|
92
|
+
providerID: ID16,
|
|
93
|
+
modelID: ID15,
|
|
94
94
|
package: Schema.String,
|
|
95
95
|
phase: InitializationPhase2,
|
|
96
96
|
detail: Schema.String
|
|
@@ -101,8 +101,8 @@ class ModelInitializationError3 extends Schema.TaggedError()("SessionRunnerModel
|
|
|
101
101
|
}
|
|
102
102
|
|
|
103
103
|
class UnresolvedProviderVariablesError3 extends Schema.TaggedError()("SessionRunnerModel.UnresolvedProviderVariablesError", {
|
|
104
|
-
providerID:
|
|
105
|
-
modelID:
|
|
104
|
+
providerID: ID16,
|
|
105
|
+
modelID: ID15,
|
|
106
106
|
variables: Schema.Array(Schema.String)
|
|
107
107
|
}) {
|
|
108
108
|
get message() {
|
|
@@ -111,8 +111,8 @@ class UnresolvedProviderVariablesError3 extends Schema.TaggedError()("SessionRun
|
|
|
111
111
|
}
|
|
112
112
|
|
|
113
113
|
class UnsupportedCompactionError3 extends Schema.TaggedError()("SessionRunnerModel.UnsupportedCompactionError", {
|
|
114
|
-
providerID:
|
|
115
|
-
modelID:
|
|
114
|
+
providerID: ID16,
|
|
115
|
+
modelID: ID15,
|
|
116
116
|
route: Schema.String
|
|
117
117
|
}) {
|
|
118
118
|
get message() {
|
|
@@ -120,7 +120,7 @@ class UnsupportedCompactionError3 extends Schema.TaggedError()("SessionRunnerMod
|
|
|
120
120
|
}
|
|
121
121
|
}
|
|
122
122
|
|
|
123
|
-
class
|
|
123
|
+
class Service53 extends Context.Service()("@opencode/ModelResolver") {
|
|
124
124
|
}
|
|
125
125
|
var withVariant2 = (model, variantID) => {
|
|
126
126
|
const id = variantID === "default" ? undefined : variantID;
|
|
@@ -268,14 +268,14 @@ var causeMessage = (cause) => {
|
|
|
268
268
|
};
|
|
269
269
|
var resolveModel2 = (model, variant, credential, dependencies) => withVariant2(model, variant).pipe(Effect.flatMap((model) => fromCatalogModel2(model, credential, dependencies)));
|
|
270
270
|
var hasPackage2 = (model) => Boolean(model.package);
|
|
271
|
-
var
|
|
272
|
-
const catalog = yield*
|
|
273
|
-
const integrations = yield*
|
|
271
|
+
var layer20 = Layer.effect(Service53, Effect.gen(function* () {
|
|
272
|
+
const catalog = yield* Service54;
|
|
273
|
+
const integrations = yield* Service55;
|
|
274
274
|
const npm = yield* Npm.Service;
|
|
275
|
-
const aisdk = yield*
|
|
275
|
+
const aisdk = yield* Service56;
|
|
276
276
|
const load = Effect.fn("ModelResolver.resolveModel")(function* (selected, variant) {
|
|
277
277
|
const provider = yield* catalog.provider.get(selected.providerID);
|
|
278
|
-
const connection = yield* integrations.connection.active(provider?.integrationID ??
|
|
278
|
+
const connection = yield* integrations.connection.active(provider?.integrationID ?? ID7.make(selected.providerID));
|
|
279
279
|
const credential = connection ? yield* integrations.connection.resolve(connection) : undefined;
|
|
280
280
|
const runtimeInfo = yield* withVariant2(selected, variant);
|
|
281
281
|
const model = yield* fromCatalogModel2(runtimeInfo, credential, {
|
|
@@ -285,7 +285,7 @@ var layer24 = Layer.effect(Service70, Effect.gen(function* () {
|
|
|
285
285
|
const runtime = provider?.activation === "enabled" && credential === undefined && !hasConfiguredAuth(runtimeInfo) && usesAPIKeyAuth(runtimeInfo.package) ? LanguageModel.update(model, { route: model.route.with({ auth: Auth.none }) }) : model;
|
|
286
286
|
return {
|
|
287
287
|
model: runtime,
|
|
288
|
-
ref:
|
|
288
|
+
ref: Ref3.make({
|
|
289
289
|
id: selected.id,
|
|
290
290
|
providerID: selected.providerID,
|
|
291
291
|
...variant === undefined ? {} : { variant }
|
|
@@ -297,7 +297,7 @@ var layer24 = Layer.effect(Service70, Effect.gen(function* () {
|
|
|
297
297
|
websocket: selected.websocket ?? false
|
|
298
298
|
};
|
|
299
299
|
});
|
|
300
|
-
return
|
|
300
|
+
return Service53.of({
|
|
301
301
|
resolve: Effect.fn("ModelResolver.resolve")(function* (requested) {
|
|
302
302
|
const selected = requested ? yield* catalog.model.get(requested.providerID, requested.id) : yield* catalog.model.default().pipe(Effect.flatMap((model) => model && hasPackage2(model) ? Effect.succeed(model) : Effect.map(catalog.model.available(), (models) => models.find(hasPackage2))));
|
|
303
303
|
if (!selected)
|
|
@@ -314,10 +314,10 @@ function usesAPIKeyAuth(packageName) {
|
|
|
314
314
|
const name = packageName2(packageName);
|
|
315
315
|
return name === "@ai-sdk/openai" || name === "@ai-sdk/anthropic" || name === "@ai-sdk/cerebras" || name === "@ai-sdk/deepinfra" || name === "@ai-sdk/openai-compatible" || name === "@ai-sdk/google" || name === "@ai-sdk/groq" || name === "@ai-sdk/mistral" || name === "@ai-sdk/togetherai" || name === "@ai-sdk/xai" || name === "@openrouter/ai-sdk-provider" || name === "@ai-sdk/azure" || name === "@opencode/ai/providers/openai" || name?.startsWith("@opencode/ai/providers/openai/") === true || name === "@opencode/ai/providers/anthropic" || name === "@opencode/ai/providers/anthropic-compatible" || name === "@opencode/ai/providers/baseten" || name === "@opencode/ai/providers/cerebras" || name === "@opencode/ai/providers/cloudflare-ai-gateway" || name === "@opencode/ai/providers/cloudflare-workers-ai" || name === "@opencode/ai/providers/deepinfra" || name === "@opencode/ai/providers/deepseek" || name === "@opencode/ai/providers/fireworks" || name === "@opencode/ai/providers/openai-compatible" || name === "@opencode/ai/providers/google" || name === "@opencode/ai/providers/groq" || name === "@opencode/ai/providers/mistral" || name === "@opencode/ai/providers/togetherai" || name === "@opencode/ai/providers/xai" || name === "@opencode/ai/providers/openrouter" || name === "@opencode/ai/providers/azure" || name?.startsWith("@opencode/ai/providers/azure/") === true;
|
|
316
316
|
}
|
|
317
|
-
var
|
|
318
|
-
service:
|
|
319
|
-
layer:
|
|
320
|
-
deps: [
|
|
317
|
+
var node57 = makeLocationNode({
|
|
318
|
+
service: Service53,
|
|
319
|
+
layer: layer20,
|
|
320
|
+
deps: [node58, node59, Npm.node, node60]
|
|
321
321
|
});
|
|
322
322
|
|
|
323
|
-
export { VariantUnavailableError3, UnsupportedPackageError3, InitializationPhase2, ModelConfigurationError3, ModelInitializationError3, UnresolvedProviderVariablesError3, UnsupportedCompactionError3,
|
|
323
|
+
export { VariantUnavailableError3, UnsupportedPackageError3, InitializationPhase2, ModelConfigurationError3, ModelInitializationError3, UnresolvedProviderVariablesError3, UnsupportedCompactionError3, Service53, withVariant2, fromCatalogModel2, resolveModel2, hasPackage2, layer20, node57, exports_model_resolver };
|
|
@@ -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
|
-
|
|
9
|
-
} from "./
|
|
8
|
+
Service34
|
|
9
|
+
} from "./ripgrep-f0zqv8cz.js";
|
|
10
10
|
import {
|
|
11
11
|
unavailable2
|
|
12
|
-
} from "./
|
|
12
|
+
} from "./ripgrep-fxbjtjnd.js";
|
|
13
13
|
import {
|
|
14
14
|
__export
|
|
15
|
-
} from "./
|
|
15
|
+
} from "./ripgrep-9rqn6x4v.js";
|
|
16
16
|
|
|
17
17
|
// src/session/shell.ts
|
|
18
18
|
var exports_shell3 = {};
|
|
@@ -22,8 +22,8 @@ __export(exports_shell3, {
|
|
|
22
22
|
});
|
|
23
23
|
import { Effect } from "effect";
|
|
24
24
|
var start2 = Effect.fn("SessionShell.start")(function* (input) {
|
|
25
|
-
const instances = yield*
|
|
26
|
-
const shell = yield* awaitActivation2.pipe(Effect.andThen(
|
|
25
|
+
const instances = yield* Service49;
|
|
26
|
+
const shell = yield* awaitActivation2.pipe(Effect.andThen(Service34), instances.provide(input.session));
|
|
27
27
|
const info = yield* shell.create({
|
|
28
28
|
command: input.command,
|
|
29
29
|
cwd: input.session.location.directory,
|