@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,41 +1,41 @@
|
|
|
1
1
|
import {
|
|
2
2
|
__export
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./ripgrep-9rqn6x4v.js";
|
|
4
4
|
|
|
5
5
|
// src/v1/config/permission.ts
|
|
6
|
-
var
|
|
7
|
-
__export(
|
|
6
|
+
var exports_permission2 = {};
|
|
7
|
+
__export(exports_permission2, {
|
|
8
8
|
Action: () => Action2,
|
|
9
|
-
ConfigPermissionV1: () =>
|
|
10
|
-
Info: () =>
|
|
9
|
+
ConfigPermissionV1: () => exports_permission2,
|
|
10
|
+
Info: () => Info23,
|
|
11
11
|
Object: () => Object2,
|
|
12
|
-
Rule: () =>
|
|
12
|
+
Rule: () => Rule3
|
|
13
13
|
});
|
|
14
14
|
import { Schema, SchemaGetter } from "effect";
|
|
15
15
|
var Action2 = Schema.Literals(["ask", "allow", "deny"]).annotate({ identifier: "PermissionActionConfig" });
|
|
16
16
|
var Object2 = Schema.Record(Schema.String, Action2).annotate({ identifier: "PermissionObjectConfig" });
|
|
17
|
-
var
|
|
17
|
+
var Rule3 = Schema.Union([Action2, Object2]).annotate({ identifier: "PermissionRuleConfig" });
|
|
18
18
|
var InputObject = Schema.StructWithRest(Schema.Struct({
|
|
19
|
-
read: Schema.optional(
|
|
20
|
-
edit: Schema.optional(
|
|
21
|
-
glob: Schema.optional(
|
|
22
|
-
grep: Schema.optional(
|
|
23
|
-
list: Schema.optional(
|
|
24
|
-
bash: Schema.optional(
|
|
25
|
-
task: Schema.optional(
|
|
26
|
-
external_directory: Schema.optional(
|
|
19
|
+
read: Schema.optional(Rule3),
|
|
20
|
+
edit: Schema.optional(Rule3),
|
|
21
|
+
glob: Schema.optional(Rule3),
|
|
22
|
+
grep: Schema.optional(Rule3),
|
|
23
|
+
list: Schema.optional(Rule3),
|
|
24
|
+
bash: Schema.optional(Rule3),
|
|
25
|
+
task: Schema.optional(Rule3),
|
|
26
|
+
external_directory: Schema.optional(Rule3),
|
|
27
27
|
question: Schema.optional(Action2),
|
|
28
|
-
webfetch: Schema.optional(
|
|
28
|
+
webfetch: Schema.optional(Rule3),
|
|
29
29
|
websearch: Schema.optional(Action2),
|
|
30
|
-
lsp: Schema.optional(
|
|
30
|
+
lsp: Schema.optional(Rule3),
|
|
31
31
|
doom_loop: Schema.optional(Action2),
|
|
32
|
-
skill: Schema.optional(
|
|
33
|
-
}), [Schema.Record(Schema.String,
|
|
32
|
+
skill: Schema.optional(Rule3)
|
|
33
|
+
}), [Schema.Record(Schema.String, Rule3)]);
|
|
34
34
|
var InputSchema = Schema.Union([Action2, InputObject]);
|
|
35
35
|
var normalizeInput = (input) => typeof input === "string" ? { "*": input } : input;
|
|
36
|
-
var
|
|
36
|
+
var Info23 = InputSchema.pipe(Schema.decodeTo(InputObject, {
|
|
37
37
|
decode: SchemaGetter.transform(normalizeInput),
|
|
38
38
|
encode: SchemaGetter.passthrough({ strict: false })
|
|
39
39
|
})).annotate({ identifier: "PermissionConfig" });
|
|
40
40
|
|
|
41
|
-
export { Action2, Object2,
|
|
41
|
+
export { Action2, Object2, Rule3, Info23, exports_permission2 };
|
|
@@ -1,32 +1,32 @@
|
|
|
1
1
|
import {
|
|
2
2
|
RelativePath2
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./ripgrep-922hggd3.js";
|
|
4
4
|
import {
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
} from "./
|
|
5
|
+
Service76,
|
|
6
|
+
node81
|
|
7
|
+
} from "./ripgrep-tayeq9hg.js";
|
|
8
8
|
import {
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
} from "./
|
|
9
|
+
Service60,
|
|
10
|
+
node64
|
|
11
|
+
} from "./ripgrep-sh6mjzwx.js";
|
|
12
12
|
import {
|
|
13
13
|
isHome2,
|
|
14
14
|
names3
|
|
15
|
-
} from "./
|
|
15
|
+
} from "./ripgrep-tcezcvh9.js";
|
|
16
16
|
import {
|
|
17
17
|
__export
|
|
18
|
-
} from "./
|
|
18
|
+
} from "./ripgrep-9rqn6x4v.js";
|
|
19
19
|
|
|
20
20
|
// src/filesystem/search.ts
|
|
21
21
|
var exports_search = {};
|
|
22
22
|
__export(exports_search, {
|
|
23
23
|
FileSystemSearch: () => exports_search,
|
|
24
|
-
Options: () =>
|
|
25
|
-
Service: () =>
|
|
26
|
-
configured: () =>
|
|
24
|
+
Options: () => Options6,
|
|
25
|
+
Service: () => Service59,
|
|
26
|
+
configured: () => configured7,
|
|
27
27
|
fffLayer: () => fffLayer2,
|
|
28
|
-
layer: () =>
|
|
29
|
-
node: () =>
|
|
28
|
+
layer: () => layer22,
|
|
29
|
+
node: () => node63,
|
|
30
30
|
ripgrepLayer: () => ripgrepLayer2
|
|
31
31
|
});
|
|
32
32
|
import { makeLocationNode } from "@opencode/util/effect/app-node";
|
|
@@ -35,11 +35,11 @@ import { Clock, Context, Deferred, Duration, Effect, Layer, Schema, Scope } from
|
|
|
35
35
|
import { Fff } from "#fff";
|
|
36
36
|
import fuzzysort from "fuzzysort";
|
|
37
37
|
import { FileSystem } from "@opencode/schema/filesystem";
|
|
38
|
-
var
|
|
38
|
+
var Options6 = Schema.Struct({
|
|
39
39
|
fff: Schema.optional(Schema.Boolean)
|
|
40
40
|
});
|
|
41
41
|
|
|
42
|
-
class
|
|
42
|
+
class Service59 extends Context.Service()("@opencode/FileSystem/Search") {
|
|
43
43
|
}
|
|
44
44
|
var REFRESH_INTERVAL = Duration.toMillis("10 seconds");
|
|
45
45
|
function emptyIndex() {
|
|
@@ -58,9 +58,9 @@ function search(index, input) {
|
|
|
58
58
|
});
|
|
59
59
|
});
|
|
60
60
|
}
|
|
61
|
-
var ripgrepLayer2 = Layer.effect(
|
|
62
|
-
const location = yield*
|
|
63
|
-
const ripgrep = yield*
|
|
61
|
+
var ripgrepLayer2 = Layer.effect(Service59, Effect.gen(function* () {
|
|
62
|
+
const location = yield* Service76;
|
|
63
|
+
const ripgrep = yield* Service60;
|
|
64
64
|
const scope = yield* Scope.Scope;
|
|
65
65
|
const clock = yield* Clock.Clock;
|
|
66
66
|
const home = isHome2(location.directory);
|
|
@@ -105,15 +105,15 @@ var ripgrepLayer2 = Layer.effect(Service14, Effect.gen(function* () {
|
|
|
105
105
|
Deferred.doneUnsafe(attempt, exit);
|
|
106
106
|
})), Effect.forkIn(scope), Effect.flatMap(() => initialized ? Effect.void : Deferred.await(attempt)));
|
|
107
107
|
});
|
|
108
|
-
return
|
|
108
|
+
return Service59.of({
|
|
109
109
|
find: (input) => Effect.gen(function* () {
|
|
110
110
|
yield* refresh;
|
|
111
111
|
return search(index, input);
|
|
112
112
|
})
|
|
113
113
|
});
|
|
114
114
|
}));
|
|
115
|
-
var fffLayer2 = Layer.effect(
|
|
116
|
-
const location = yield*
|
|
115
|
+
var fffLayer2 = Layer.effect(Service59, Effect.gen(function* () {
|
|
116
|
+
const location = yield* Service76;
|
|
117
117
|
const result = yield* Effect.try({
|
|
118
118
|
try: () => Fff.create({
|
|
119
119
|
basePath: location.directory,
|
|
@@ -126,12 +126,12 @@ var fffLayer2 = Layer.effect(Service14, Effect.gen(function* () {
|
|
|
126
126
|
if (!result?.ok) {
|
|
127
127
|
if (result)
|
|
128
128
|
yield* Effect.logWarning("failed to initialize fff", { error: result.error });
|
|
129
|
-
return
|
|
129
|
+
return Service59.of({
|
|
130
130
|
find: () => Effect.succeed([])
|
|
131
131
|
});
|
|
132
132
|
}
|
|
133
133
|
yield* Effect.addFinalizer(() => Effect.sync(() => result.value.destroy()));
|
|
134
|
-
return
|
|
134
|
+
return Service59.of({
|
|
135
135
|
find: (input) => Effect.sync(() => {
|
|
136
136
|
const options = { pageIndex: 0, pageSize: input.limit ?? 50 };
|
|
137
137
|
const items = (() => {
|
|
@@ -174,17 +174,17 @@ var fffLayer2 = Layer.effect(Service14, Effect.gen(function* () {
|
|
|
174
174
|
})
|
|
175
175
|
});
|
|
176
176
|
}));
|
|
177
|
-
var
|
|
178
|
-
const location = yield*
|
|
177
|
+
var layer22 = (options) => Layer.unwrap(Effect.gen(function* () {
|
|
178
|
+
const location = yield* Service76;
|
|
179
179
|
if (location.workspaceID)
|
|
180
180
|
return ripgrepLayer2;
|
|
181
181
|
if (options?.fff === false || options?.fff === undefined && process.platform === "win32" || !Fff.available())
|
|
182
182
|
return ripgrepLayer2;
|
|
183
183
|
return location.vcs && !isHome2(location.directory) ? fffLayer2 : ripgrepLayer2;
|
|
184
184
|
}));
|
|
185
|
-
function
|
|
186
|
-
return makeLocationNode({ service:
|
|
185
|
+
function configured7(options) {
|
|
186
|
+
return makeLocationNode({ service: Service59, layer: layer22(options), deps: [node81, node64] });
|
|
187
187
|
}
|
|
188
|
-
var
|
|
188
|
+
var node63 = configured7();
|
|
189
189
|
|
|
190
|
-
export {
|
|
190
|
+
export { Options6, Service59, ripgrepLayer2, fffLayer2, layer22, configured7, node63, exports_search };
|
|
@@ -5,15 +5,15 @@ import {
|
|
|
5
5
|
ModelInitializationError3,
|
|
6
6
|
UnresolvedProviderVariablesError3,
|
|
7
7
|
UnsupportedCompactionError3,
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
} from "./
|
|
8
|
+
Service53,
|
|
9
|
+
node57
|
|
10
|
+
} from "./ripgrep-r14b6q3s.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/session/runner/model.ts
|
|
19
19
|
var exports_model = {};
|
|
@@ -22,13 +22,13 @@ __export(exports_model, {
|
|
|
22
22
|
ModelInitializationError: () => ModelInitializationError2,
|
|
23
23
|
ModelNotSelectedError: () => ModelNotSelectedError2,
|
|
24
24
|
ModelUnavailableError: () => ModelUnavailableError2,
|
|
25
|
-
Service: () =>
|
|
25
|
+
Service: () => Service48,
|
|
26
26
|
SessionRunnerModel: () => exports_model,
|
|
27
27
|
UnresolvedProviderVariablesError: () => UnresolvedProviderVariablesError2,
|
|
28
28
|
UnsupportedCompactionError: () => UnsupportedCompactionError2,
|
|
29
29
|
UnsupportedPackageError: () => UnsupportedPackageError2,
|
|
30
30
|
VariantUnavailableError: () => VariantUnavailableError2,
|
|
31
|
-
node: () =>
|
|
31
|
+
node: () => node52,
|
|
32
32
|
resolved: () => resolved2
|
|
33
33
|
});
|
|
34
34
|
import { makeLocationNode } from "@opencode/util/effect/app-node";
|
|
@@ -57,7 +57,7 @@ var ModelInitializationError2 = ModelInitializationError3;
|
|
|
57
57
|
var UnresolvedProviderVariablesError2 = UnresolvedProviderVariablesError3;
|
|
58
58
|
var UnsupportedCompactionError2 = UnsupportedCompactionError3;
|
|
59
59
|
|
|
60
|
-
class
|
|
60
|
+
class Service48 extends Context.Service()("@opencode/SessionRunnerModel") {
|
|
61
61
|
}
|
|
62
62
|
var resolved2 = (model, options) => ({
|
|
63
63
|
model,
|
|
@@ -72,9 +72,9 @@ var resolved2 = (model, options) => ({
|
|
|
72
72
|
compaction: options.compaction,
|
|
73
73
|
websocket: options.websocket ?? false
|
|
74
74
|
});
|
|
75
|
-
var layer = Layer.effect(
|
|
76
|
-
const resolver = yield*
|
|
77
|
-
return
|
|
75
|
+
var layer = Layer.effect(Service48, Effect.gen(function* () {
|
|
76
|
+
const resolver = yield* Service53;
|
|
77
|
+
return Service48.of({
|
|
78
78
|
resolve: Effect.fn("SessionRunnerModel.resolve")(function* (session, available) {
|
|
79
79
|
if (!session.model) {
|
|
80
80
|
const resolved = yield* resolver.resolve();
|
|
@@ -92,6 +92,6 @@ var layer = Layer.effect(Service58, Effect.gen(function* () {
|
|
|
92
92
|
})
|
|
93
93
|
});
|
|
94
94
|
}));
|
|
95
|
-
var
|
|
95
|
+
var node52 = makeLocationNode({ service: Service48, layer, deps: [node57] });
|
|
96
96
|
|
|
97
|
-
export { ModelNotSelectedError2, ModelUnavailableError2, VariantUnavailableError2, UnsupportedPackageError2, ModelConfigurationError2, ModelInitializationError2, UnresolvedProviderVariablesError2, UnsupportedCompactionError2,
|
|
97
|
+
export { ModelNotSelectedError2, ModelUnavailableError2, VariantUnavailableError2, UnsupportedPackageError2, ModelConfigurationError2, ModelInitializationError2, UnresolvedProviderVariablesError2, UnsupportedCompactionError2, Service48, resolved2, node52, exports_model };
|
|
@@ -1,33 +1,33 @@
|
|
|
1
1
|
import {
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
} from "./
|
|
2
|
+
Service77,
|
|
3
|
+
node82
|
|
4
|
+
} from "./ripgrep-4ypr07qq.js";
|
|
5
5
|
import {
|
|
6
6
|
__export
|
|
7
|
-
} from "./
|
|
7
|
+
} from "./ripgrep-9rqn6x4v.js";
|
|
8
8
|
|
|
9
9
|
// src/location.ts
|
|
10
10
|
var exports_location = {};
|
|
11
11
|
__export(exports_location, {
|
|
12
|
-
Info: () =>
|
|
12
|
+
Info: () => Info31,
|
|
13
13
|
Location: () => exports_location,
|
|
14
|
-
Ref: () =>
|
|
15
|
-
Service: () =>
|
|
14
|
+
Ref: () => Ref4,
|
|
15
|
+
Service: () => Service76,
|
|
16
16
|
boundNode: () => boundNode2,
|
|
17
|
-
node: () =>
|
|
17
|
+
node: () => node81,
|
|
18
18
|
response: () => response2
|
|
19
19
|
});
|
|
20
20
|
import { Context, Effect, Layer } from "effect";
|
|
21
|
-
import { Info as
|
|
21
|
+
import { Info as Info31, Ref as Ref4, response as response2 } from "@opencode/schema/location";
|
|
22
22
|
import { LayerNode } from "@opencode/util/effect/layer-node";
|
|
23
23
|
import { makeLocationNode, tags } from "@opencode/util/effect/app-node";
|
|
24
|
-
class
|
|
24
|
+
class Service76 extends Context.Service()("@opencode/Location") {
|
|
25
25
|
}
|
|
26
|
-
var
|
|
27
|
-
var layer = (ref, options) => Layer.effect(
|
|
28
|
-
const project = yield*
|
|
26
|
+
var node81 = LayerNode.unbound(Service76, tags.values.location);
|
|
27
|
+
var layer = (ref, options) => Layer.effect(Service76, Effect.gen(function* () {
|
|
28
|
+
const project = yield* Service77;
|
|
29
29
|
const resolved = yield* project.resolve(ref.directory, options);
|
|
30
|
-
return
|
|
30
|
+
return Service76.of({
|
|
31
31
|
directory: ref.directory,
|
|
32
32
|
workspaceID: ref.workspaceID,
|
|
33
33
|
project: { id: resolved.id, directory: resolved.directory, canonical: resolved.canonical },
|
|
@@ -35,9 +35,9 @@ var layer = (ref, options) => Layer.effect(Service66, Effect.gen(function* () {
|
|
|
35
35
|
});
|
|
36
36
|
}));
|
|
37
37
|
var boundNode2 = (ref, options) => makeLocationNode({
|
|
38
|
-
service:
|
|
38
|
+
service: Service76,
|
|
39
39
|
layer: layer(ref, options),
|
|
40
|
-
deps: [
|
|
40
|
+
deps: [node82]
|
|
41
41
|
});
|
|
42
42
|
|
|
43
|
-
export {
|
|
43
|
+
export { Info31, Ref4, response2, Service76, node81, boundNode2, exports_location };
|
|
@@ -1,22 +1,22 @@
|
|
|
1
1
|
import {
|
|
2
2
|
isAISDK2,
|
|
3
3
|
packageName2
|
|
4
|
-
} from "./
|
|
4
|
+
} from "./ripgrep-g14zqp48.js";
|
|
5
5
|
import {
|
|
6
6
|
__export
|
|
7
|
-
} from "./
|
|
7
|
+
} from "./ripgrep-9rqn6x4v.js";
|
|
8
8
|
|
|
9
9
|
// src/plugin/variant.ts
|
|
10
10
|
var exports_variant = {};
|
|
11
11
|
__export(exports_variant, {
|
|
12
|
-
Plugin: () =>
|
|
12
|
+
Plugin: () => Plugin44,
|
|
13
13
|
VariantPlugin: () => exports_variant,
|
|
14
14
|
generate: () => generate2
|
|
15
15
|
});
|
|
16
16
|
import { Effect } from "effect";
|
|
17
17
|
import { define } from "@opencode/plugin/effect/plugin";
|
|
18
18
|
import { Model } from "@opencode/schema/model";
|
|
19
|
-
var
|
|
19
|
+
var Plugin44 = define({
|
|
20
20
|
id: "opencode.variant",
|
|
21
21
|
effect: Effect.fn(function* (ctx) {
|
|
22
22
|
yield* ctx.catalog.transform((catalog) => {
|
|
@@ -52,4 +52,4 @@ function generate2(model, provider) {
|
|
|
52
52
|
}));
|
|
53
53
|
}
|
|
54
54
|
|
|
55
|
-
export {
|
|
55
|
+
export { Plugin44, generate2, exports_variant };
|
|
@@ -1,52 +1,52 @@
|
|
|
1
1
|
import {
|
|
2
2
|
NonNegativeInt2,
|
|
3
3
|
PositiveInt2
|
|
4
|
-
} from "./
|
|
4
|
+
} from "./ripgrep-922hggd3.js";
|
|
5
5
|
import {
|
|
6
|
-
|
|
7
|
-
} from "./
|
|
6
|
+
Info23
|
|
7
|
+
} from "./ripgrep-t51qk8jz.js";
|
|
8
8
|
import {
|
|
9
|
-
|
|
10
|
-
} from "./
|
|
9
|
+
Info22
|
|
10
|
+
} from "./ripgrep-fk64qee0.js";
|
|
11
11
|
import {
|
|
12
|
-
|
|
13
|
-
} from "./
|
|
12
|
+
Info21
|
|
13
|
+
} from "./ripgrep-2a4sgpmw.js";
|
|
14
14
|
import {
|
|
15
|
-
|
|
16
|
-
} from "./
|
|
15
|
+
Info25
|
|
16
|
+
} from "./ripgrep-73gmm198.js";
|
|
17
17
|
import {
|
|
18
|
-
|
|
19
|
-
} from "./
|
|
18
|
+
Info27
|
|
19
|
+
} from "./ripgrep-yhemyvg6.js";
|
|
20
20
|
import {
|
|
21
21
|
Layout2
|
|
22
|
-
} from "./
|
|
22
|
+
} from "./ripgrep-21r38tys.js";
|
|
23
23
|
import {
|
|
24
|
-
|
|
25
|
-
} from "./
|
|
24
|
+
Info19
|
|
25
|
+
} from "./ripgrep-rp8jz6x1.js";
|
|
26
26
|
import {
|
|
27
|
-
|
|
28
|
-
} from "./
|
|
27
|
+
Info20
|
|
28
|
+
} from "./ripgrep-8jxztqqt.js";
|
|
29
29
|
import {
|
|
30
30
|
Spec2
|
|
31
|
-
} from "./
|
|
31
|
+
} from "./ripgrep-7dqw4kz8.js";
|
|
32
32
|
import {
|
|
33
|
-
|
|
34
|
-
} from "./
|
|
33
|
+
Info24
|
|
34
|
+
} from "./ripgrep-n92pz7zc.js";
|
|
35
35
|
import {
|
|
36
36
|
Server2
|
|
37
|
-
} from "./
|
|
37
|
+
} from "./ripgrep-rq775frq.js";
|
|
38
38
|
import {
|
|
39
|
-
|
|
40
|
-
} from "./
|
|
39
|
+
Info26
|
|
40
|
+
} from "./ripgrep-zv8jbdmn.js";
|
|
41
41
|
import {
|
|
42
42
|
__export
|
|
43
|
-
} from "./
|
|
43
|
+
} from "./ripgrep-9rqn6x4v.js";
|
|
44
44
|
|
|
45
45
|
// src/v1/config/config.ts
|
|
46
46
|
var exports_config2 = {};
|
|
47
47
|
__export(exports_config2, {
|
|
48
48
|
ConfigV1: () => exports_config2,
|
|
49
|
-
Info: () =>
|
|
49
|
+
Info: () => Info18,
|
|
50
50
|
WellKnown: () => WellKnown2
|
|
51
51
|
});
|
|
52
52
|
import { Schema } from "effect";
|
|
@@ -59,7 +59,7 @@ var LogLevelRef = Schema.Literals(["DEBUG", "INFO", "WARN", "ERROR"]).annotate({
|
|
|
59
59
|
identifier: "LogLevel",
|
|
60
60
|
description: "Log level"
|
|
61
61
|
});
|
|
62
|
-
var
|
|
62
|
+
var Info18 = Schema.Struct({
|
|
63
63
|
$schema: Schema.optional(Schema.String).annotate({
|
|
64
64
|
description: "JSON schema reference for configuration validation"
|
|
65
65
|
}),
|
|
@@ -68,10 +68,10 @@ var Info10 = Schema.Struct({
|
|
|
68
68
|
server: Schema.optional(Server2).annotate({
|
|
69
69
|
description: "Server configuration for opencode serve and web commands"
|
|
70
70
|
}),
|
|
71
|
-
command: Schema.optional(Schema.Record(Schema.String,
|
|
71
|
+
command: Schema.optional(Schema.Record(Schema.String, Info25)).annotate({
|
|
72
72
|
description: "Command configuration, see https://opencode.ai/docs/commands"
|
|
73
73
|
}),
|
|
74
|
-
skills: Schema.optional(
|
|
74
|
+
skills: Schema.optional(Info26).annotate({ description: "Additional skill folder paths" }),
|
|
75
75
|
references: Schema.optional(ConfigReference.Info).annotate({
|
|
76
76
|
description: "Named git or local directory references"
|
|
77
77
|
}),
|
|
@@ -113,33 +113,33 @@ var Info10 = Schema.Struct({
|
|
|
113
113
|
username: Schema.optional(Schema.String).annotate({
|
|
114
114
|
description: "Custom username to display in conversations instead of system username"
|
|
115
115
|
}),
|
|
116
|
-
mode: Schema.optional(Schema.StructWithRest(Schema.Struct({ build: Schema.optional(
|
|
116
|
+
mode: Schema.optional(Schema.StructWithRest(Schema.Struct({ build: Schema.optional(Info22), plan: Schema.optional(Info22) }), [Schema.Record(Schema.String, Info22)])).annotate({ description: "@deprecated Use `agent` field instead." }),
|
|
117
117
|
agent: Schema.optional(Schema.StructWithRest(Schema.Struct({
|
|
118
|
-
plan: Schema.optional(
|
|
119
|
-
build: Schema.optional(
|
|
120
|
-
general: Schema.optional(
|
|
121
|
-
explore: Schema.optional(
|
|
122
|
-
title: Schema.optional(
|
|
123
|
-
summary: Schema.optional(
|
|
124
|
-
compaction: Schema.optional(
|
|
125
|
-
}), [Schema.Record(Schema.String,
|
|
126
|
-
provider: Schema.optional(Schema.Record(Schema.String,
|
|
118
|
+
plan: Schema.optional(Info22),
|
|
119
|
+
build: Schema.optional(Info22),
|
|
120
|
+
general: Schema.optional(Info22),
|
|
121
|
+
explore: Schema.optional(Info22),
|
|
122
|
+
title: Schema.optional(Info22),
|
|
123
|
+
summary: Schema.optional(Info22),
|
|
124
|
+
compaction: Schema.optional(Info22)
|
|
125
|
+
}), [Schema.Record(Schema.String, Info22)])).annotate({ description: "Agent configuration, see https://opencode.ai/docs/agents" }),
|
|
126
|
+
provider: Schema.optional(Schema.Record(Schema.String, Info24)).annotate({
|
|
127
127
|
description: "Custom provider configurations and model overrides"
|
|
128
128
|
}),
|
|
129
|
-
mcp: Schema.optional(Schema.Record(Schema.String, Schema.Union([
|
|
130
|
-
formatter: Schema.optional(
|
|
129
|
+
mcp: Schema.optional(Schema.Record(Schema.String, Schema.Union([Info20, Schema.Struct({ enabled: Schema.Boolean })]))).annotate({ description: "MCP (Model Context Protocol) server configurations" }),
|
|
130
|
+
formatter: Schema.optional(Info27).annotate({
|
|
131
131
|
description: "Enable or configure formatters. Omit or set to false to disable, true to enable built-ins, or an object to enable built-ins with overrides."
|
|
132
132
|
}),
|
|
133
|
-
lsp: Schema.optional(
|
|
133
|
+
lsp: Schema.optional(Info19).annotate({
|
|
134
134
|
description: "Enable or configure LSP servers. Omit or set to false to disable, true to enable built-ins, or an object to enable built-ins with overrides."
|
|
135
135
|
}),
|
|
136
136
|
instructions: Schema.optional(Schema.mutable(Schema.Array(Schema.String))).annotate({
|
|
137
137
|
description: "Additional instruction files or patterns to include"
|
|
138
138
|
}),
|
|
139
139
|
layout: Schema.optional(Layout2).annotate({ description: "@deprecated Always uses stretch layout." }),
|
|
140
|
-
permission: Schema.optional(
|
|
140
|
+
permission: Schema.optional(Info23),
|
|
141
141
|
tools: Schema.optional(Schema.Record(Schema.String, Schema.Boolean)),
|
|
142
|
-
attachment: Schema.optional(
|
|
142
|
+
attachment: Schema.optional(Info21).annotate({
|
|
143
143
|
description: "Attachment processing configuration, including image size limits and resizing behavior"
|
|
144
144
|
}),
|
|
145
145
|
enterprise: Schema.optional(Schema.Struct({ url: Schema.optional(Schema.String).annotate({ description: "Enterprise URL" }) })),
|
|
@@ -191,4 +191,4 @@ var Info10 = Schema.Struct({
|
|
|
191
191
|
}))
|
|
192
192
|
}).annotate({ identifier: "Config" });
|
|
193
193
|
|
|
194
|
-
export { WellKnown2,
|
|
194
|
+
export { WellKnown2, Info18, exports_config2 };
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import {
|
|
2
|
-
|
|
2
|
+
ID16,
|
|
3
3
|
packageName2
|
|
4
|
-
} from "./
|
|
4
|
+
} from "./ripgrep-g14zqp48.js";
|
|
5
5
|
|
|
6
6
|
// src/plugin/provider/amazon-bedrock.ts
|
|
7
7
|
import { Effect } from "effect";
|
|
@@ -22,7 +22,7 @@ var AmazonBedrockPlugin2 = define({
|
|
|
22
22
|
effect: Effect.fn(function* (ctx) {
|
|
23
23
|
yield* ctx.integration.transform((editor) => {
|
|
24
24
|
editor.method.update({
|
|
25
|
-
integrationID:
|
|
25
|
+
integrationID: ID16.amazonBedrock,
|
|
26
26
|
method: { type: "env", names: ["AWS_BEARER_TOKEN_BEDROCK"] }
|
|
27
27
|
});
|
|
28
28
|
});
|
|
@@ -1,55 +1,55 @@
|
|
|
1
1
|
import {
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
} from "./
|
|
2
|
+
Service80,
|
|
3
|
+
node85
|
|
4
|
+
} from "./ripgrep-189kb88v.js";
|
|
5
5
|
import {
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
} from "./
|
|
6
|
+
Service79,
|
|
7
|
+
node84
|
|
8
|
+
} from "./ripgrep-tjncz0mj.js";
|
|
9
9
|
import {
|
|
10
10
|
llmClient2
|
|
11
|
-
} from "./
|
|
11
|
+
} from "./ripgrep-5t3nmthw.js";
|
|
12
12
|
import {
|
|
13
13
|
SessionEvent2
|
|
14
|
-
} from "./
|
|
14
|
+
} from "./ripgrep-ec1grn59.js";
|
|
15
15
|
import {
|
|
16
16
|
provenance2,
|
|
17
17
|
compatible2,
|
|
18
18
|
isCheckpoint2,
|
|
19
19
|
encode2
|
|
20
|
-
} from "./
|
|
20
|
+
} from "./ripgrep-hrndf12w.js";
|
|
21
21
|
import {
|
|
22
|
-
|
|
23
|
-
} from "./
|
|
22
|
+
load2
|
|
23
|
+
} from "./ripgrep-makktzfn.js";
|
|
24
24
|
import {
|
|
25
25
|
create3
|
|
26
|
-
} from "./
|
|
26
|
+
} from "./ripgrep-kg06axw8.js";
|
|
27
27
|
import {
|
|
28
28
|
toLLMMessages2
|
|
29
|
-
} from "./
|
|
29
|
+
} from "./ripgrep-9gyd2w40.js";
|
|
30
30
|
import {
|
|
31
31
|
baseTranscript2,
|
|
32
32
|
unsupportedParts2,
|
|
33
33
|
boundImages2
|
|
34
|
-
} from "./
|
|
34
|
+
} from "./ripgrep-c7gc6yv9.js";
|
|
35
35
|
import {
|
|
36
36
|
toSessionError2
|
|
37
|
-
} from "./
|
|
37
|
+
} from "./ripgrep-hw6f026f.js";
|
|
38
38
|
import {
|
|
39
39
|
policy2,
|
|
40
40
|
transient2
|
|
41
|
-
} from "./
|
|
41
|
+
} from "./ripgrep-3svns4sc.js";
|
|
42
42
|
import {
|
|
43
43
|
estimate2
|
|
44
|
-
} from "./
|
|
44
|
+
} from "./ripgrep-h6vf3j39.js";
|
|
45
45
|
import {
|
|
46
46
|
calculateCost2,
|
|
47
47
|
record2,
|
|
48
48
|
add2
|
|
49
|
-
} from "./
|
|
49
|
+
} from "./ripgrep-tdstcens.js";
|
|
50
50
|
import {
|
|
51
51
|
__export
|
|
52
|
-
} from "./
|
|
52
|
+
} from "./ripgrep-9rqn6x4v.js";
|
|
53
53
|
|
|
54
54
|
// src/session/compaction.ts
|
|
55
55
|
var exports_compaction2 = {};
|
|
@@ -297,9 +297,9 @@ var buildPrompt2 = (update, legacy = false) => {
|
|
|
297
297
|
var hasSummarySection = (summary) => summary.split(`
|
|
298
298
|
`).some((line) => SUMMARY_HEADINGS.includes(line.trim()));
|
|
299
299
|
var layer7 = Layer.effect(Service7, Effect.gen(function* () {
|
|
300
|
-
const bus = yield*
|
|
300
|
+
const bus = yield* Service79;
|
|
301
301
|
const llm = yield* LLMClient.Service;
|
|
302
|
-
const db = (yield*
|
|
302
|
+
const db = (yield* Service80).db;
|
|
303
303
|
const state = create3({
|
|
304
304
|
name: "session-compaction",
|
|
305
305
|
initial: () => ({ auto: true, buffer: DEFAULT_BUFFER, tokens: DEFAULT_KEEP_TOKENS }),
|
|
@@ -372,7 +372,7 @@ var layer7 = Layer.effect(Service7, Effect.gen(function* () {
|
|
|
372
372
|
webSocket
|
|
373
373
|
});
|
|
374
374
|
};
|
|
375
|
-
const original = (sessionID) =>
|
|
375
|
+
const original = (sessionID) => load2(db, sessionID, "local").pipe(Effect.orDie);
|
|
376
376
|
const recoverLocally = (input) => original(input.context.session.id).pipe(Effect.flatMap((messages) => execute({ ...input, context: { ...input.context, messages } })));
|
|
377
377
|
const executeProvider = Effect.fn("SessionCompaction.executeProvider")(function* (input) {
|
|
378
378
|
const context = input.context;
|
|
@@ -617,7 +617,7 @@ var layer7 = Layer.effect(Service7, Effect.gen(function* () {
|
|
|
617
617
|
var node10 = makeLocationNode({
|
|
618
618
|
service: Service7,
|
|
619
619
|
layer: layer7,
|
|
620
|
-
deps: [
|
|
620
|
+
deps: [node84, node85, llmClient2]
|
|
621
621
|
});
|
|
622
622
|
|
|
623
623
|
export { Service7, estimateTokens2, retainUsers2, truncateToolOutput2, serializeToolContent2, buildPrompt2, layer7, node10, exports_compaction2 };
|