@opencode/core 0.0.0-dev-80 → 0.0.0-dev-81
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 +89 -89
- package/dist/aisdk-native.js +97 -97
- package/dist/aisdk.js +103 -103
- package/dist/app.js +9 -9
- package/dist/bus.js +79 -79
- package/dist/chunks/{ripgrep-aj7mw0zk.js → generate-034tev2y.js} +2 -2
- package/dist/chunks/{ripgrep-k28m6mdm.js → generate-03efvwc7.js} +12 -12
- package/dist/chunks/{ripgrep-cb54j1zr.js → generate-09a8m3xd.js} +9 -9
- package/dist/chunks/{ripgrep-87cy3nxk.js → generate-0brwp79y.js} +14 -14
- package/dist/chunks/{ripgrep-df17qpd9.js → generate-0j37w4ym.js} +4 -4
- package/dist/chunks/{ripgrep-56hhdn6r.js → generate-0vpw1p67.js} +15 -15
- package/dist/chunks/{ripgrep-jsvd7yjj.js → generate-0yrgkn6z.js} +21 -21
- package/dist/chunks/{ripgrep-x8nvjgx0.js → generate-11hfp36g.js} +4 -4
- package/dist/chunks/{ripgrep-g1ttnxq8.js → generate-138apfz4.js} +41 -41
- package/dist/chunks/{ripgrep-8d2bz6m6.js → generate-160yv0cs.js} +8 -8
- package/dist/chunks/{ripgrep-med93trz.js → generate-1ce0rtfx.js} +4 -4
- package/dist/chunks/{ripgrep-fjf4pq9j.js → generate-1d6rqfwz.js} +15 -15
- package/dist/chunks/{ripgrep-27w5k9zf.js → generate-1ep2p91f.js} +2 -2
- package/dist/chunks/{ripgrep-rsjqfdc9.js → generate-1gpknkjr.js} +1 -1
- package/dist/chunks/{ripgrep-c3mymrd0.js → generate-1hkqnyxs.js} +5 -5
- package/dist/chunks/{ripgrep-s9j2kwh6.js → generate-1p5r6cjt.js} +45 -45
- package/dist/chunks/{ripgrep-sqbb0ctm.js → generate-1q5awywt.js} +5 -5
- package/dist/chunks/{ripgrep-pfj0xs0p.js → generate-1w4xpz6a.js} +21 -21
- package/dist/chunks/{ripgrep-1x2knyw4.js → generate-1x2knyw4.js} +1 -1
- package/dist/chunks/{ripgrep-9pskqgbs.js → generate-1yebjb7n.js} +21 -21
- package/dist/chunks/{ripgrep-1yq9hg58.js → generate-1yq9hg58.js} +1 -1
- package/dist/chunks/{ripgrep-204s3925.js → generate-204s3925.js} +1 -1
- package/dist/chunks/{ripgrep-2mdz3tk1.js → generate-20ax9mvp.js} +15 -15
- package/dist/chunks/{ripgrep-6d3rx8wt.js → generate-20yb03sy.js} +25 -25
- package/dist/chunks/{ripgrep-8k2vnwwb.js → generate-21gczqff.js} +15 -15
- package/dist/chunks/{ripgrep-r5493qw4.js → generate-22b1x2mz.js} +18 -18
- package/dist/chunks/{ripgrep-5b4c6ssz.js → generate-251v4ac3.js} +30 -30
- package/dist/chunks/{ripgrep-7fx6peza.js → generate-25rhbghy.js} +5 -5
- package/dist/chunks/{ripgrep-9at5fq9s.js → generate-2gp0ejb3.js} +13 -13
- package/dist/chunks/{ripgrep-e2ne77ac.js → generate-2jrrfqe1.js} +4 -4
- package/dist/chunks/{ripgrep-cxy0d1dt.js → generate-2k5h4fp7.js} +1 -1
- package/dist/chunks/{ripgrep-32pwgmem.js → generate-2r5swsc6.js} +13 -13
- package/dist/chunks/{ripgrep-6rdptfg1.js → generate-2xh3b742.js} +6 -6
- package/dist/chunks/{ripgrep-hsxwhxza.js → generate-2zp4fvvj.js} +42 -42
- package/dist/chunks/{ripgrep-gfrk9heb.js → generate-301e04c8.js} +18 -18
- package/dist/chunks/{ripgrep-xn661xyh.js → generate-36639cz4.js} +23 -23
- package/dist/chunks/{ripgrep-kz0q6sc1.js → generate-3bpzsehq.js} +18 -18
- package/dist/chunks/{ripgrep-3hepkmqq.js → generate-3hepkmqq.js} +1 -1
- package/dist/chunks/{ripgrep-rfcwtbbn.js → generate-3n7cxz37.js} +27 -27
- package/dist/chunks/{ripgrep-3nnrz6f6.js → generate-3nnrz6f6.js} +1 -1
- package/dist/chunks/{ripgrep-5rcvdxf6.js → generate-3p1ghjfc.js} +3 -3
- package/dist/chunks/{ripgrep-v4vw7d5e.js → generate-40smdzyz.js} +22 -22
- package/dist/chunks/{ripgrep-7c7a89na.js → generate-40ykd73j.js} +5 -5
- package/dist/chunks/generate-47mgcevd.js +18 -0
- package/dist/chunks/{ripgrep-yhnsyv94.js → generate-4gry5n0p.js} +8 -8
- package/dist/chunks/{ripgrep-rvdapjqy.js → generate-4p3cqz3x.js} +11 -11
- package/dist/chunks/{ripgrep-4pyp9zr9.js → generate-4pyp9zr9.js} +1 -1
- package/dist/chunks/{ripgrep-y00x4xpa.js → generate-4tqs0jzk.js} +4 -4
- package/dist/chunks/{ripgrep-4v008n1t.js → generate-4v008n1t.js} +1 -1
- package/dist/chunks/{ripgrep-yby3zgg4.js → generate-4x344z2c.js} +2 -2
- package/dist/chunks/{ripgrep-mxbg502x.js → generate-500djfy4.js} +43 -43
- package/dist/chunks/{ripgrep-4s6kdcz7.js → generate-53antfq0.js} +34 -34
- package/dist/chunks/{ripgrep-088pd99w.js → generate-54vd48rk.js} +38 -38
- package/dist/chunks/{ripgrep-yzhzc5rz.js → generate-54x4knwr.js} +14 -14
- package/dist/chunks/{ripgrep-369akvbe.js → generate-5h88a2js.js} +22 -22
- package/dist/chunks/{ripgrep-5m9w47nd.js → generate-5m9w47nd.js} +1 -1
- package/dist/chunks/{ripgrep-6ttkwnky.js → generate-5n5cq6dk.js} +5 -5
- package/dist/chunks/{ripgrep-3tbr4cqx.js → generate-5p98y19k.js} +92 -92
- package/dist/chunks/{ripgrep-kn05yypj.js → generate-5zch7wr3.js} +33 -33
- package/dist/chunks/{ripgrep-ar2j3j0f.js → generate-61ennm6n.js} +4 -4
- package/dist/chunks/{ripgrep-atft9rda.js → generate-63mgg1rp.js} +11 -11
- package/dist/chunks/{ripgrep-egbe5b71.js → generate-6712xt67.js} +12 -12
- package/dist/chunks/{ripgrep-c4rtwfmc.js → generate-67scqdth.js} +14 -14
- package/dist/chunks/{ripgrep-4bj5kpb7.js → generate-6ak84kja.js} +6 -6
- package/dist/chunks/{ripgrep-wj35k8fd.js → generate-6dwbj699.js} +18 -18
- package/dist/chunks/{ripgrep-6esdw8yj.js → generate-6esdw8yj.js} +1 -1
- package/dist/chunks/{ripgrep-2p6ra54c.js → generate-6f3v2fef.js} +47 -47
- package/dist/chunks/{ripgrep-18g90bpv.js → generate-6twykydk.js} +9 -9
- package/dist/chunks/{ripgrep-hetdxzf5.js → generate-6yfzf5e6.js} +6 -6
- package/dist/chunks/{ripgrep-af5csmsa.js → generate-71wjfbxa.js} +36 -36
- package/dist/chunks/{ripgrep-jjk3mcr6.js → generate-72sg82ve.js} +39 -39
- package/dist/chunks/{ripgrep-nah043kf.js → generate-770pw0s1.js} +4 -4
- package/dist/chunks/{ripgrep-whpc6sfg.js → generate-79nptycn.js} +5 -5
- package/dist/chunks/{ripgrep-7bmhse3q.js → generate-7bmhse3q.js} +1 -1
- package/dist/chunks/{ripgrep-beftacqj.js → generate-7h4tq4n1.js} +11 -11
- package/dist/chunks/{ripgrep-fe9sakca.js → generate-7w1eqnvf.js} +27 -27
- package/dist/chunks/{ripgrep-7w2ypzdf.js → generate-7w2ypzdf.js} +1 -1
- package/dist/chunks/{ripgrep-80svsvjd.js → generate-7wemp1j9.js} +3 -3
- package/dist/chunks/{ripgrep-s01r1pv0.js → generate-7x1s9yws.js} +47 -47
- package/dist/chunks/{ripgrep-xbazz2d9.js → generate-8ekhwd22.js} +11 -11
- package/dist/chunks/{ripgrep-wsh0m2bq.js → generate-8essger0.js} +11 -11
- package/dist/chunks/{ripgrep-t2yw8h65.js → generate-8g8pwsx1.js} +19 -19
- package/dist/chunks/{ripgrep-e8e8nyhn.js → generate-8hesv9dy.js} +9 -9
- package/dist/chunks/{ripgrep-jfwapypb.js → generate-8n33y3k3.js} +32 -32
- package/dist/chunks/{ripgrep-8wtp7s3z.js → generate-8wtp7s3z.js} +1 -1
- package/dist/chunks/{ripgrep-g7esga4v.js → generate-8y4jps98.js} +7 -7
- package/dist/chunks/{ripgrep-90zstvax.js → generate-90zstvax.js} +1 -1
- package/dist/chunks/{ripgrep-f40h8bb4.js → generate-91p4ggbh.js} +27 -27
- package/dist/chunks/{ripgrep-1k1debk9.js → generate-9c8mgkwd.js} +21 -21
- package/dist/chunks/{ripgrep-d6x0x4gv.js → generate-9d7mqhyt.js} +9 -9
- package/dist/chunks/{ripgrep-eyemdhec.js → generate-9nzqwf7d.js} +13 -13
- package/dist/chunks/{ripgrep-egvqapfn.js → generate-9r6pmcfc.js} +15 -15
- package/dist/chunks/{ripgrep-znpwn00m.js → generate-9t0hde1r.js} +6 -6
- package/dist/chunks/{ripgrep-dp66fs17.js → generate-9t2khtsw.js} +11 -11
- package/dist/chunks/{ripgrep-ekj5s85x.js → generate-9w44n7hp.js} +42 -42
- package/dist/chunks/{ripgrep-bvysct2v.js → generate-a38kcqy6.js} +4 -4
- package/dist/chunks/{ripgrep-whwj36b7.js → generate-a5rsj065.js} +28 -28
- package/dist/chunks/{ripgrep-avm9nspx.js → generate-aed20f0x.js} +22 -22
- package/dist/chunks/{ripgrep-gtgtppsz.js → generate-afb5aatv.js} +6 -6
- package/dist/chunks/{ripgrep-0g9tw212.js → generate-akqe8dt6.js} +21 -21
- package/dist/chunks/{ripgrep-7fdjd8sw.js → generate-apyew4sh.js} +16 -16
- package/dist/chunks/{ripgrep-h5qpngq0.js → generate-aq5yna8t.js} +23 -23
- package/dist/chunks/{ripgrep-waaaz1pk.js → generate-as0atjke.js} +88 -88
- package/dist/chunks/{ripgrep-n441rgj1.js → generate-axp9e7dj.js} +19 -19
- package/dist/chunks/{ripgrep-3cbjf1nt.js → generate-ayjs7tqn.js} +2 -2
- package/dist/chunks/{ripgrep-7v7pq9bn.js → generate-b5kdkb71.js} +22 -22
- package/dist/chunks/{ripgrep-b6vsg801.js → generate-b6vsg801.js} +2 -2
- package/dist/chunks/{ripgrep-p7jhty20.js → generate-bbba65ws.js} +22 -22
- package/dist/chunks/{ripgrep-bz7kwm0q.js → generate-be81zkxx.js} +4 -4
- package/dist/chunks/{ripgrep-kkew1p9e.js → generate-bh1et42v.js} +6 -6
- package/dist/chunks/{ripgrep-26kaq2yd.js → generate-br8sx1gf.js} +27 -27
- package/dist/chunks/{ripgrep-5s0mcww8.js → generate-brk3g9gh.js} +34 -34
- package/dist/chunks/{ripgrep-xd9cc171.js → generate-bstexjd6.js} +5 -5
- package/dist/chunks/{ripgrep-9j0qcbqj.js → generate-c3e7yfrv.js} +14 -14
- package/dist/chunks/{ripgrep-7vgs011g.js → generate-c5gtzg91.js} +22 -22
- package/dist/chunks/{ripgrep-tqgfaemp.js → generate-cnf0gdnp.js} +16 -16
- package/dist/chunks/{ripgrep-yjk9nwe0.js → generate-cpnzy11t.js} +14 -14
- package/dist/chunks/{ripgrep-dqdq9hrz.js → generate-cr86k73f.js} +5 -5
- package/dist/chunks/{ripgrep-wcxk9yeq.js → generate-crfddmzc.js} +8 -8
- package/dist/chunks/{ripgrep-58t0zvek.js → generate-csmn30a6.js} +18 -18
- package/dist/chunks/{ripgrep-0ak2x9h8.js → generate-cwbxe8yb.js} +330 -330
- package/dist/chunks/{ripgrep-cwrgdav8.js → generate-cwrgdav8.js} +2 -2
- package/dist/chunks/{ripgrep-b134vsz7.js → generate-cy3hxfvf.js} +7 -7
- package/dist/chunks/{ripgrep-d4v9tmah.js → generate-d4v9tmah.js} +2 -2
- package/dist/chunks/{ripgrep-9np782jn.js → generate-d5drkmka.js} +29 -29
- package/dist/chunks/{ripgrep-s6qcrcda.js → generate-dcqept39.js} +49 -49
- package/dist/chunks/{ripgrep-fczcv4ax.js → generate-dfrvr67t.js} +4 -4
- package/dist/chunks/{ripgrep-k7ngd8gp.js → generate-ds023f62.js} +43 -43
- package/dist/chunks/{ripgrep-dt77769w.js → generate-dt77769w.js} +1 -1
- package/dist/chunks/{ripgrep-94r7trmv.js → generate-e38cwtn4.js} +14 -14
- package/dist/chunks/{ripgrep-e834z07m.js → generate-e834z07m.js} +1 -1
- package/dist/chunks/{ripgrep-xtd7xn7c.js → generate-e8gkemrs.js} +16 -16
- package/dist/chunks/{ripgrep-qnghve6e.js → generate-ez1g32xq.js} +8 -8
- package/dist/chunks/{ripgrep-4m70se6x.js → generate-f0wnzmyw.js} +21 -21
- package/dist/chunks/{ripgrep-b24mhxf9.js → generate-f62s2454.js} +18 -18
- package/dist/chunks/generate-f8t92yxe.js +26 -0
- package/dist/chunks/{ripgrep-g60sf386.js → generate-fbbqkjna.js} +15 -15
- package/dist/chunks/{ripgrep-fffv3p7h.js → generate-fffv3p7h.js} +1 -1
- package/dist/chunks/{ripgrep-fg9p65nk.js → generate-fg9p65nk.js} +2 -2
- package/dist/chunks/{ripgrep-zj9d1drk.js → generate-fhc9sedx.js} +8 -8
- package/dist/chunks/{ripgrep-n1ebme49.js → generate-fvw7fpk2.js} +7 -7
- package/dist/chunks/{ripgrep-pt95v14f.js → generate-g3t4yj1z.js} +11 -11
- package/dist/chunks/{ripgrep-v1stdd41.js → generate-g7e5n1s9.js} +22 -22
- package/dist/chunks/{ripgrep-khv4yf1p.js → generate-g9h88g1w.js} +9 -9
- package/dist/chunks/{ripgrep-wqwapjjj.js → generate-gbnxd7gn.js} +12 -12
- package/dist/chunks/{ripgrep-2ab3aktw.js → generate-gbqwd2zm.js} +16 -16
- package/dist/chunks/{ripgrep-ep59zg61.js → generate-gg8p9cgs.js} +3 -3
- package/dist/chunks/{ripgrep-szez8t3h.js → generate-gnef790b.js} +45 -45
- package/dist/chunks/{ripgrep-3w5nebbj.js → generate-gqvm7anc.js} +20 -20
- package/dist/chunks/{ripgrep-mh86pja4.js → generate-gwx54z98.js} +28 -28
- package/dist/chunks/{ripgrep-f2zj0t6k.js → generate-h2vbff59.js} +19 -19
- package/dist/chunks/{ripgrep-mnjz2ecc.js → generate-h5j7qrbp.js} +30 -30
- package/dist/chunks/{ripgrep-hdfrs5mg.js → generate-hdfrs5mg.js} +2 -2
- package/dist/chunks/{ripgrep-ncqtsx5w.js → generate-hfj3jdg6.js} +20 -20
- package/dist/chunks/{ripgrep-hpg1pkwy.js → generate-hpg1pkwy.js} +1 -1
- package/dist/chunks/{ripgrep-d2k0mtej.js → generate-htfy1f57.js} +8 -8
- package/dist/chunks/{ripgrep-ef7fp8z8.js → generate-j08vsdds.js} +11 -11
- package/dist/chunks/{ripgrep-ese4m9k3.js → generate-j3x9csx9.js} +15 -15
- package/dist/chunks/{ripgrep-mhvjr1t0.js → generate-j9e1a4db.js} +11 -11
- package/dist/chunks/{ripgrep-vbjqtebd.js → generate-j9krqxqk.js} +11 -11
- package/dist/chunks/{ripgrep-jfaecv01.js → generate-jfaecv01.js} +1 -1
- package/dist/chunks/{ripgrep-wakh2edy.js → generate-jh3ekwcy.js} +18 -18
- package/dist/chunks/{ripgrep-smfe966e.js → generate-jhbdwcm4.js} +24 -24
- package/dist/chunks/{ripgrep-k1r1j926.js → generate-jsq7ewwj.js} +185 -185
- package/dist/chunks/{ripgrep-jtnps1zs.js → generate-jtnps1zs.js} +2 -2
- package/dist/chunks/{ripgrep-5ac7ycjy.js → generate-k0gkqvt1.js} +11 -11
- package/dist/chunks/{ripgrep-6gchybz4.js → generate-k0n1bgzs.js} +17 -17
- package/dist/chunks/{ripgrep-8xdd5vcj.js → generate-k0ysn4xj.js} +33 -33
- package/dist/chunks/{ripgrep-z83xd19b.js → generate-k3yt60zb.js} +10 -10
- package/dist/chunks/{ripgrep-k814nvkf.js → generate-k814nvkf.js} +1 -1
- package/dist/chunks/{ripgrep-qqg9c0kv.js → generate-kd4chd64.js} +7 -7
- package/dist/chunks/{ripgrep-1ax49313.js → generate-khsakms0.js} +30 -30
- package/dist/chunks/{ripgrep-ak3gvmya.js → generate-kkdts8xr.js} +15 -15
- package/dist/chunks/{ripgrep-s2rjrqgv.js → generate-kn76f024.js} +29 -29
- package/dist/chunks/{ripgrep-aqkr4v1j.js → generate-ksdhek8b.js} +25 -25
- package/dist/chunks/{ripgrep-kt3bjfbg.js → generate-kt3bjfbg.js} +1 -1
- package/dist/chunks/{ripgrep-2c98r4e2.js → generate-kwvnq2ts.js} +14 -14
- package/dist/chunks/{ripgrep-m1714858.js → generate-m1714858.js} +1 -1
- package/dist/chunks/{ripgrep-46wzcrep.js → generate-m2th4j2b.js} +9 -9
- package/dist/chunks/{ripgrep-9hfpmwpz.js → generate-m32vg8vz.js} +17 -17
- package/dist/chunks/{ripgrep-pbcm2cp0.js → generate-m3vm7evr.js} +31 -31
- package/dist/chunks/{ripgrep-m9w0rfyh.js → generate-m9w0rfyh.js} +1 -1
- package/dist/chunks/{ripgrep-jce146zy.js → generate-mfrr2svg.js} +33 -33
- package/dist/chunks/{ripgrep-0g35qp0e.js → generate-mfxp7adw.js} +11 -11
- package/dist/chunks/{ripgrep-qkqjbc48.js → generate-mqe7nf5n.js} +3 -3
- package/dist/chunks/{ripgrep-s7k6069s.js → generate-mqwrzhmg.js} +18 -18
- package/dist/chunks/{ripgrep-kd78bhya.js → generate-mr14th8x.js} +14 -14
- package/dist/chunks/{ripgrep-h15brmzx.js → generate-mvj3t52g.js} +9 -9
- package/dist/chunks/{ripgrep-8whp40kv.js → generate-my4zabxr.js} +3 -3
- package/dist/chunks/{ripgrep-axb490gr.js → generate-ne4tt1ep.js} +9 -9
- package/dist/chunks/{ripgrep-6gkj1px0.js → generate-njamm2cm.js} +12 -12
- package/dist/chunks/{ripgrep-bhak5syd.js → generate-njmvt0nj.js} +4 -4
- package/dist/chunks/{ripgrep-m8c2jzgg.js → generate-njwjh564.js} +4 -4
- package/dist/chunks/{ripgrep-xmdremne.js → generate-nmtbp73c.js} +5 -5
- package/dist/chunks/{ripgrep-70ha973v.js → generate-nnt30w3v.js} +8 -8
- package/dist/chunks/{ripgrep-v3vj6w0p.js → generate-ntp0m708.js} +37 -37
- package/dist/chunks/{ripgrep-w5q9nec7.js → generate-nvfej1dx.js} +55 -55
- package/dist/chunks/{ripgrep-p015t6z3.js → generate-p015t6z3.js} +2 -2
- package/dist/chunks/{ripgrep-dfsm4808.js → generate-p1vte9h6.js} +11 -11
- package/dist/chunks/{ripgrep-nsxce02n.js → generate-p7snmzw9.js} +2 -2
- package/dist/chunks/{ripgrep-26x8chrq.js → generate-p869v6ff.js} +6 -6
- package/dist/chunks/{ripgrep-6zs6nt10.js → generate-pbbktnbz.js} +4 -4
- package/dist/chunks/{ripgrep-epbqh0vp.js → generate-pcty9z1k.js} +4 -4
- package/dist/chunks/{ripgrep-pknna89w.js → generate-pknna89w.js} +1 -1
- package/dist/chunks/{ripgrep-ehhyyyn7.js → generate-pzgm482x.js} +46 -46
- package/dist/chunks/{ripgrep-41b5jrt2.js → generate-q174ee3q.js} +9 -9
- package/dist/chunks/{ripgrep-zgd7st2n.js → generate-q18as39h.js} +29 -29
- package/dist/chunks/generate-q331f19b.js +257 -0
- package/dist/chunks/{ripgrep-cbrygq68.js → generate-q526re3s.js} +3 -3
- package/dist/chunks/{ripgrep-754mq792.js → generate-q9k672yb.js} +9 -9
- package/dist/chunks/{ripgrep-nfzcmjp8.js → generate-qaf4nrm9.js} +16 -16
- package/dist/chunks/{ripgrep-3a7jzk54.js → generate-qcxq8hjc.js} +24 -24
- package/dist/chunks/{ripgrep-577qsrq7.js → generate-qp6mrnfa.js} +7 -7
- package/dist/chunks/{ripgrep-qp7r0hxv.js → generate-qp7r0hxv.js} +1 -1
- package/dist/chunks/{ripgrep-tqf554py.js → generate-qsh779tg.js} +16 -16
- package/dist/chunks/{ripgrep-r0yr0wbs.js → generate-r0yr0wbs.js} +1 -1
- package/dist/chunks/{ripgrep-r542h3bh.js → generate-r542h3bh.js} +1 -1
- package/dist/chunks/{ripgrep-x3y1gccb.js → generate-raxq219f.js} +25 -25
- package/dist/chunks/{ripgrep-rb9dy4dg.js → generate-rb9dy4dg.js} +1 -1
- package/dist/chunks/{ripgrep-8r9nj4s8.js → generate-rcbjwvze.js} +4 -4
- package/dist/chunks/{ripgrep-9wzjb77v.js → generate-rfy1qsv0.js} +5 -5
- package/dist/chunks/{ripgrep-rt5dr6hb.js → generate-rt5dr6hb.js} +1 -1
- package/dist/chunks/{ripgrep-rw0vxzvv.js → generate-s7jh2bt2.js} +12 -12
- package/dist/chunks/{ripgrep-sa3fpqfw.js → generate-sa3fpqfw.js} +2 -2
- package/dist/chunks/{ripgrep-4wvca7dx.js → generate-spqbgcqv.js} +5 -5
- package/dist/chunks/{ripgrep-sqjzf8x2.js → generate-sqjzf8x2.js} +1 -1
- package/dist/chunks/{ripgrep-c9t2ty9q.js → generate-ssfehs1z.js} +4 -4
- package/dist/chunks/{ripgrep-svcy3p9a.js → generate-svcy3p9a.js} +1 -1
- package/dist/chunks/{ripgrep-szcgc7h4.js → generate-szcgc7h4.js} +2 -2
- package/dist/chunks/{ripgrep-67v8yagg.js → generate-t1fs0nta.js} +8 -8
- package/dist/chunks/{ripgrep-06ezgrzy.js → generate-t2hws329.js} +6 -6
- package/dist/chunks/{ripgrep-tczq8hjw.js → generate-tczq8hjw.js} +1 -1
- package/dist/chunks/{ripgrep-xjzq7hnt.js → generate-tgwbm25x.js} +13 -13
- package/dist/chunks/{ripgrep-qzm6q9ch.js → generate-tkcrbpkc.js} +6 -6
- package/dist/chunks/{ripgrep-twssxy5n.js → generate-twssxy5n.js} +2 -2
- package/dist/chunks/{ripgrep-v2r1d0zg.js → generate-v2r1d0zg.js} +1 -1
- package/dist/chunks/{ripgrep-km92jeaq.js → generate-v5ahc3ch.js} +15 -15
- package/dist/chunks/{ripgrep-b3aag47p.js → generate-v7bnf05s.js} +17 -17
- package/dist/chunks/{ripgrep-cgjret3e.js → generate-vcvg2s1w.js} +11 -11
- package/dist/chunks/{ripgrep-81pg0v03.js → generate-vdpapx9q.js} +13 -13
- package/dist/chunks/{ripgrep-veqvce7d.js → generate-veqvce7d.js} +1 -1
- package/dist/chunks/{ripgrep-gw22fdws.js → generate-vgx7atgj.js} +39 -39
- package/dist/chunks/{ripgrep-c2rtzjd7.js → generate-vyv0j8nn.js} +25 -25
- package/dist/chunks/{ripgrep-cy5ayqt4.js → generate-vzd7w2ek.js} +43 -43
- package/dist/chunks/{ripgrep-40za9wsf.js → generate-w2eysc6j.js} +9 -9
- package/dist/chunks/{ripgrep-h7d4rbrg.js → generate-w35wzz9x.js} +4 -4
- package/dist/chunks/{ripgrep-w3wsvvr9.js → generate-w3wsvvr9.js} +1 -1
- package/dist/chunks/{ripgrep-wyyb2rea.js → generate-w43zhwmv.js} +2 -2
- package/dist/chunks/{ripgrep-fv2q085q.js → generate-w8gkdedy.js} +11 -11
- package/dist/chunks/{ripgrep-76cb1hcw.js → generate-w8qtt4th.js} +4 -4
- package/dist/chunks/{ripgrep-51d35nkj.js → generate-wa8k00xj.js} +6 -6
- package/dist/chunks/{ripgrep-wakvkjy4.js → generate-wakvkjy4.js} +1 -1
- package/dist/chunks/{ripgrep-wd87259q.js → generate-wd87259q.js} +1 -1
- package/dist/chunks/{ripgrep-ap93h9h9.js → generate-wdccw9aa.js} +9 -9
- package/dist/chunks/{ripgrep-rrjn135q.js → generate-wfwbmxj9.js} +22 -22
- package/dist/chunks/{ripgrep-xsvyg0zg.js → generate-wfxkb6jf.js} +12 -12
- package/dist/chunks/{ripgrep-chtd0as3.js → generate-wncvwmyx.js} +73 -73
- package/dist/chunks/{ripgrep-wnhgecwx.js → generate-wnhgecwx.js} +1 -1
- package/dist/chunks/{ripgrep-kh5b5n0x.js → generate-wr0x8q8w.js} +11 -11
- package/dist/chunks/{ripgrep-w687dnns.js → generate-wr3re1en.js} +4 -4
- package/dist/chunks/{ripgrep-9mv4bqkt.js → generate-wresbwaf.js} +11 -11
- package/dist/chunks/{ripgrep-25841xge.js → generate-wwpqwb19.js} +33 -33
- package/dist/chunks/{ripgrep-3marnbwx.js → generate-x2jb7586.js} +20 -20
- package/dist/chunks/{ripgrep-h3tz4d10.js → generate-x8kf0qe2.js} +30 -30
- package/dist/chunks/{ripgrep-x2gs057w.js → generate-xgh8r5md.js} +19 -19
- package/dist/chunks/{ripgrep-ssky9yg5.js → generate-xjrcb2hz.js} +4 -4
- package/dist/chunks/{ripgrep-xt0z8zst.js → generate-xt0z8zst.js} +1 -1
- package/dist/chunks/{ripgrep-8haq8m5n.js → generate-y0nfsw3x.js} +25 -25
- package/dist/chunks/{ripgrep-6b33zqre.js → generate-y3pzht0c.js} +5 -5
- package/dist/chunks/{ripgrep-qkw2jr9b.js → generate-yara3q77.js} +2 -2
- package/dist/chunks/{ripgrep-yb20nhc3.js → generate-yb20nhc3.js} +1 -1
- package/dist/chunks/{ripgrep-w52ybf1s.js → generate-yrxdp6ww.js} +54 -54
- package/dist/chunks/{ripgrep-h0p593e3.js → generate-yw016jnw.js} +21 -21
- package/dist/chunks/{ripgrep-z0bkrqjs.js → generate-z0bkrqjs.js} +1 -1
- package/dist/chunks/{ripgrep-z38nccrw.js → generate-z38nccrw.js} +1 -1
- package/dist/chunks/{ripgrep-rqynnb9h.js → generate-z72vmst9.js} +14 -14
- package/dist/chunks/{ripgrep-bxe7n28z.js → generate-zavmbsdh.js} +8 -8
- package/dist/chunks/{ripgrep-zegc5h6d.js → generate-zbwtxs0r.js} +20 -20
- package/dist/chunks/{ripgrep-g3dtbvmz.js → generate-zcvy3frr.js} +12 -12
- package/dist/chunks/{ripgrep-y1eshr2q.js → generate-zcxysqg2.js} +13 -13
- package/dist/chunks/{ripgrep-zgkm4kzm.js → generate-zgkm4kzm.js} +3 -3
- package/dist/chunks/{ripgrep-zh7bbm8x.js → generate-zh7bbm8x.js} +2 -2
- package/dist/chunks/{ripgrep-vwvg46tm.js → generate-zmwx25fz.js} +2 -2
- package/dist/chunks/{ripgrep-9hd5kt3n.js → generate-zqy7k0qn.js} +7 -7
- package/dist/chunks/{ripgrep-9knspxm5.js → generate-zs3j1aq1.js} +18 -18
- package/dist/chunks/{ripgrep-bwsv21wr.js → generate-zs7h2624.js} +34 -34
- package/dist/chunks/{ripgrep-a3rq0v5y.js → generate-zskc75ww.js} +18 -18
- package/dist/chunks/{ripgrep-e5vtkg49.js → generate-zw4834mw.js} +26 -26
- package/dist/chunks/{ripgrep-qrg0trs5.js → generate-zxxmr6sq.js} +8 -8
- package/dist/codemode/catalog.js +1 -1
- package/dist/codemode/instructions.js +9 -9
- package/dist/codemode/tool.js +3 -3
- package/dist/codemode/web.js +1 -1
- package/dist/command.js +91 -91
- package/dist/config/discovery.js +92 -92
- package/dist/config/integration.js +3 -3
- package/dist/config/markdown.js +1 -1
- package/dist/config/normalize.js +107 -107
- package/dist/config/plugin/agent.js +123 -123
- package/dist/config/plugin/command.js +221 -221
- package/dist/config/plugin/compaction.js +162 -162
- package/dist/config/plugin/compatibility.js +142 -142
- package/dist/config/plugin/entry-observer.js +1 -1
- package/dist/config/plugin/formatter.js +122 -122
- package/dist/config/plugin/image.js +121 -121
- package/dist/config/plugin/instruction.js +121 -121
- package/dist/config/plugin/location-watcher.js +121 -121
- package/dist/config/plugin/mcp.js +132 -132
- package/dist/config/plugin/policy.js +123 -123
- package/dist/config/plugin/provider.js +122 -122
- package/dist/config/plugin/reference.js +123 -123
- package/dist/config/plugin/shell.js +123 -123
- package/dist/config/plugin/skill-file.js +138 -138
- package/dist/config/plugin/skill-scan.js +3 -3
- package/dist/config/plugin/skill.js +143 -143
- package/dist/config/plugin/snapshot.js +121 -121
- package/dist/config/plugin/source.js +124 -124
- package/dist/config/plugin/tool-output.js +122 -122
- package/dist/config/plugin/websearch.js +122 -122
- package/dist/config/plugin/worktree.js +123 -123
- package/dist/config/variable.js +1 -1
- package/dist/config/watch.js +1 -1
- package/dist/config.js +124 -124
- package/dist/console-access.js +1 -1
- package/dist/credential/sql.js +2 -2
- package/dist/credential.js +89 -89
- package/dist/database/database.js +76 -76
- package/dist/database/drizzle/effect-sqlite/driver.js +14 -14
- package/dist/database/drizzle/effect-sqlite/index.js +14 -14
- package/dist/database/drizzle/effect-sqlite/session.js +11 -11
- package/dist/database/drizzle/index.js +15 -15
- package/dist/database/drizzle/internal/drizzle-utils.js +1 -1
- package/dist/database/drizzle/sqlite-core/effect/count.js +1 -1
- package/dist/database/drizzle/sqlite-core/effect/db.js +9 -9
- package/dist/database/drizzle/sqlite-core/effect/delete.js +2 -2
- package/dist/database/drizzle/sqlite-core/effect/index.js +10 -10
- package/dist/database/drizzle/sqlite-core/effect/insert.js +2 -2
- package/dist/database/drizzle/sqlite-core/effect/query.js +1 -1
- package/dist/database/drizzle/sqlite-core/effect/raw.js +1 -1
- package/dist/database/drizzle/sqlite-core/effect/select.js +2 -2
- package/dist/database/drizzle/sqlite-core/effect/session.js +10 -10
- package/dist/database/drizzle/sqlite-core/effect/update.js +2 -2
- package/dist/database/drizzle.js +16 -16
- package/dist/database/migration/20260127222353_familiar_lady_ursula.js +1 -1
- package/dist/database/migration/20260211171708_add_project_commands.js +1 -1
- package/dist/database/migration/20260213144116_wakeful_the_professor.js +1 -1
- package/dist/database/migration/20260225215848_workspace.js +1 -1
- package/dist/database/migration/20260227213759_add_session_workspace_id.js +1 -1
- package/dist/database/migration/20260228203230_blue_harpoon.js +1 -1
- package/dist/database/migration/20260303231226_add_workspace_fields.js +1 -1
- package/dist/database/migration/20260309230000_move_org_to_state.js +1 -1
- package/dist/database/migration/20260312043431_session_message_cursor.js +1 -1
- package/dist/database/migration/20260323234822_events.js +1 -1
- package/dist/database/migration/20260410174513_workspace-name.js +1 -1
- package/dist/database/migration/20260413175956_chief_energizer.js +1 -1
- package/dist/database/migration/20260423070820_add_icon_url_override.js +1 -1
- package/dist/database/migration/20260427172553_slow_nightmare.js +1 -1
- package/dist/database/migration/20260428004200_add_session_path.js +1 -1
- package/dist/database/migration/20260501142318_next_venus.js +1 -1
- package/dist/database/migration/20260504145000_add_sync_owner.js +1 -1
- package/dist/database/migration/20260507164347_add_workspace_time.js +1 -1
- package/dist/database/migration/20260510033149_session_usage.js +1 -1
- package/dist/database/migration/20260511000411_data_migration_state.js +1 -1
- package/dist/database/migration/20260511173437_session-metadata.js +1 -1
- package/dist/database/migration/20260601010001_normalize_storage_paths.js +1 -1
- package/dist/database/migration/20260601202201_amazing_prowler.js +1 -1
- package/dist/database/migration/20260602002951_lowly_union_jack.js +1 -1
- package/dist/database/migration/20260602182828_add_project_directories.js +1 -1
- package/dist/database/migration/20260603001617_session_message_projection_indexes.js +1 -1
- package/dist/database/migration/20260603040000_session_message_projection_order.js +1 -1
- package/dist/database/migration/20260603141458_session_input_inbox.js +1 -1
- package/dist/database/migration/20260603160727_jittery_ezekiel_stane.js +1 -1
- package/dist/database/migration/20260604172448_event_sourced_session_input.js +1 -1
- package/dist/database/migration/20260605003541_add_session_context_snapshot.js +1 -1
- package/dist/database/migration/20260605042240_add_context_epoch_agent.js +1 -1
- package/dist/database/migration/20260611035744_credential.js +1 -1
- package/dist/database/migration/20260611192811_lush_chimera.js +1 -1
- package/dist/database/migration/20260612174303_project_dir_strategy.js +1 -1
- package/dist/database/migration/20260622142730_simplify_session_context_epoch.js +1 -1
- package/dist/database/migration/20260622170816_reset_v2_session_state.js +1 -1
- package/dist/database/migration/20260622202450_simplify_session_input.js +1 -1
- package/dist/database/migration/20260804233008_loose_psylocke.js +1 -1
- package/dist/database/migration/20260805200742_import_legacy_credentials.js +1 -1
- package/dist/database/migration/20260808023530_workspace_domain.js +1 -1
- package/dist/database/migration/20260811161259_execution_claim_attempts.js +1 -1
- package/dist/database/migration/20260812181746_session_inbox.js +1 -1
- package/dist/database/migration/20260812213948_worktree.js +1 -1
- package/dist/database/migration/20260819222447_session_viewed_state.js +1 -1
- package/dist/database/migration/20260823191254_nullable_workspace_binding.js +1 -1
- package/dist/database/migration/20260910120000_clear_v1_session_permission.js +1 -1
- package/dist/database/migration/20260923013825_project_time_active.js +1 -1
- package/dist/database/migration/20261007190000_azure_cli_external_credential.js +1 -1
- package/dist/database/migration/20261010180456_project_time_archived.js +1 -1
- package/dist/database/migration/20261024002554_session_allowance.js +1 -1
- package/dist/database/migration/20261024175301_drop_session_allowance.js +1 -1
- package/dist/database/migration/20261025123711_blob.js +1 -1
- package/dist/database/migration/20261025154125_drop_session_pending.js +1 -1
- package/dist/database/migration.gen.js +55 -55
- package/dist/database/migration.js +57 -57
- 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 +96 -96
- package/dist/database/v1-migration.js +1 -1
- package/dist/effect/app-node-builder.js +382 -382
- 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 +101 -101
- package/dist/environment/exec-defaults.js +2 -2
- package/dist/environment/files.js +1 -1
- package/dist/environment/index.js +103 -103
- package/dist/environment/local.js +2 -2
- package/dist/environment/memory.js +2 -2
- package/dist/environment/unavailable.js +3 -3
- package/dist/event/sql.js +1 -1
- package/dist/event-logger.js +80 -80
- package/dist/file-access.js +148 -148
- package/dist/file-mutation.js +102 -102
- package/dist/file-retention.js +1 -1
- package/dist/filesystem/fff.bun.js +2 -2
- package/dist/filesystem/fff.js +1 -1
- package/dist/filesystem/fff.node.js +2 -2
- package/dist/filesystem/fff.workerd.js +2 -2
- package/dist/filesystem/file-watch.js +86 -86
- package/dist/filesystem/location-watcher-policy.js +2 -2
- package/dist/filesystem/location-watcher.js +232 -232
- package/dist/filesystem/protected.js +3 -3
- package/dist/filesystem/search.js +107 -107
- package/dist/filesystem/watcher-binding.js +1 -1
- package/dist/filesystem/watcher.js +11 -11
- package/dist/filesystem.js +110 -110
- package/dist/form.js +86 -86
- package/dist/formatter/builtins.js +4 -4
- package/dist/formatter.js +95 -95
- package/dist/generate.js +117 -117
- package/dist/git.js +11 -11
- 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 +99 -99
- package/dist/github-copilot/openai-compatible-error.js +1 -1
- package/dist/github-copilot/responses/convert-to-openai-responses-input.js +1 -1
- package/dist/github-copilot/responses/map-openai-responses-finish-reason.js +1 -1
- package/dist/github-copilot/responses/openai-error.js +1 -1
- package/dist/github-copilot/responses/openai-responses-language-model.js +10 -10
- package/dist/github-copilot/responses/openai-responses-prepare-tools.js +6 -6
- package/dist/github-copilot/responses/tool/code-interpreter.js +1 -1
- package/dist/github-copilot/responses/tool/file-search.js +1 -1
- package/dist/github-copilot/responses/tool/image-generation.js +1 -1
- package/dist/github-copilot/responses/tool/web-search-preview.js +1 -1
- package/dist/github-copilot/responses/tool/web-search.js +1 -1
- package/dist/image/photon-normalize.js +1 -1
- package/dist/image/photon-worker.js +1 -1
- package/dist/image/photon.js +4 -4
- package/dist/image.js +6 -6
- package/dist/instance/service.js +5 -5
- package/dist/instance.js +373 -373
- package/dist/instruction-discovery.js +90 -90
- package/dist/instructions/builtins.js +95 -95
- package/dist/instructions/index.js +1 -1
- package/dist/integration/connection.js +3 -3
- package/dist/integration.js +93 -93
- package/dist/job.js +84 -84
- package/dist/kv/sql.js +2 -2
- package/dist/kv.js +77 -77
- package/dist/location-activity.js +166 -166
- package/dist/location-lifecycle.js +142 -142
- package/dist/location-service-map.js +94 -94
- package/dist/location-services.js +370 -370
- package/dist/location.js +89 -89
- package/dist/managed-policy.js +9 -9
- package/dist/mcp/client.js +99 -99
- package/dist/mcp/index.js +115 -115
- package/dist/mcp/instructions.js +166 -166
- package/dist/mcp/oauth.js +84 -84
- package/dist/mcp/socket-client.js +1 -1
- package/dist/mcp/stdio.js +98 -98
- package/dist/mime.js +1 -1
- package/dist/modal/models.js +99 -99
- package/dist/model-resolver.js +107 -107
- package/dist/model-retry.js +1 -1
- package/dist/model.js +110 -110
- package/dist/models-dev/v1.js +1 -1
- package/dist/models-dev.js +116 -116
- package/dist/oauth/page.js +1 -1
- package/dist/permission/saved.js +86 -86
- package/dist/permission/sql.js +5 -5
- package/dist/permission.js +143 -143
- package/dist/persistent-pty/binary.bun.js +1 -1
- package/dist/persistent-pty/daemon.js +1 -1
- package/dist/persistent-pty/index.js +88 -88
- package/dist/persistent-pty/pty-binding.js +1 -1
- package/dist/persistent-pty.js +81 -81
- package/dist/plugin/agent.js +82 -82
- package/dist/plugin/command.js +110 -110
- package/dist/plugin/hooks.js +5 -5
- package/dist/plugin/host.js +225 -225
- package/dist/plugin/identity.js +5 -5
- package/dist/plugin/instance.js +5 -5
- package/dist/plugin/internal.js +343 -343
- package/dist/plugin/mcp-codemode-defaults.js +3 -3
- package/dist/plugin/models-dev.js +105 -105
- package/dist/plugin/module.js +123 -123
- package/dist/plugin/optimize.js +2 -2
- package/dist/plugin/plan.js +138 -138
- package/dist/plugin/promise.js +1 -1
- package/dist/plugin/provider/amazon-bedrock.js +98 -98
- package/dist/plugin/provider/azure.js +121 -121
- package/dist/plugin/provider/cerebras.js +1 -1
- package/dist/plugin/provider/chatgpt.js +121 -121
- 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 +117 -117
- package/dist/plugin/provider/databricks.js +1 -1
- package/dist/plugin/provider/digitalocean.js +101 -101
- package/dist/plugin/provider/dynamic.js +2 -2
- package/dist/plugin/provider/factory.js +1 -1
- package/dist/plugin/provider/github-copilot.js +103 -103
- package/dist/plugin/provider/gitlab.js +101 -101
- package/dist/plugin/provider/google-vertex.js +118 -118
- package/dist/plugin/provider/kilo.js +1 -1
- package/dist/plugin/provider/llmgateway.js +84 -84
- package/dist/plugin/provider/lmstudio.js +130 -130
- package/dist/plugin/provider/local.js +127 -127
- package/dist/plugin/provider/modal.js +100 -100
- package/dist/plugin/provider/neon.js +1 -1
- package/dist/plugin/provider/nvidia.js +1 -1
- package/dist/plugin/provider/ollama.js +130 -130
- package/dist/plugin/provider/openai-context-caps.js +98 -98
- package/dist/plugin/provider/openai.js +121 -121
- package/dist/plugin/provider/opencode-legacy.js +108 -108
- package/dist/plugin/provider/opencode.js +127 -127
- package/dist/plugin/provider/openrouter.js +99 -99
- package/dist/plugin/provider/perplexity.js +2 -2
- package/dist/plugin/provider/poe.js +85 -85
- package/dist/plugin/provider/prompt-cache-key.js +1 -1
- package/dist/plugin/provider/sap-ai-core.js +99 -99
- package/dist/plugin/provider/sdk-factory.js +1 -1
- package/dist/plugin/provider/snowflake-cortex.js +120 -120
- package/dist/plugin/provider/vercel.js +98 -98
- package/dist/plugin/provider/vllm.js +130 -130
- package/dist/plugin/provider/xai.js +99 -99
- package/dist/plugin/provider/zenmux.js +1 -1
- package/dist/plugin/provider.js +178 -178
- package/dist/plugin/sdk.js +82 -82
- package/dist/plugin/service.js +3 -3
- package/dist/plugin/skill.js +141 -141
- package/dist/plugin/source-directory.js +1 -1
- package/dist/plugin/supervisor.js +360 -360
- package/dist/plugin/tool-input-repair.js +4 -4
- package/dist/plugin/update.js +6 -6
- package/dist/plugin/vcs/git.js +94 -94
- package/dist/plugin/vcs/hg.js +94 -94
- package/dist/plugin/verbosity.js +101 -101
- package/dist/plugin/warming.js +119 -119
- package/dist/plugin/websearch/exa.js +7 -7
- package/dist/plugin/websearch/firecrawl.js +8 -8
- package/dist/plugin/websearch/index.js +9 -9
- package/dist/plugin/websearch/mcp.js +6 -6
- package/dist/plugin/websearch/parallel.js +8 -8
- package/dist/plugin/websearch/tavily.js +6 -6
- package/dist/plugin/websearch/tinyfish.js +8 -8
- package/dist/plugin.js +230 -230
- package/dist/project/icon.js +5 -5
- package/dist/project/schema.js +2 -2
- package/dist/project/sql.js +4 -4
- package/dist/project.js +88 -88
- package/dist/provider.js +107 -107
- package/dist/pty/protocol.js +1 -1
- package/dist/pty/ticket.js +1 -1
- package/dist/pty.js +94 -94
- package/dist/reference/instructions.js +96 -96
- package/dist/reference.js +96 -96
- package/dist/repository-cache.js +88 -88
- package/dist/repository.js +3 -3
- package/dist/ripgrep/binary.js +2 -2
- package/dist/ripgrep.js +103 -103
- package/dist/rpc.js +94 -94
- package/dist/schema.js +1 -1
- package/dist/session/affinity.js +1 -1
- package/dist/session/blob.js +120 -120
- package/dist/session/command.js +80 -80
- package/dist/session/compaction.js +162 -162
- package/dist/session/context.js +188 -188
- package/dist/session/diff.js +96 -96
- package/dist/session/environment.js +5 -5
- package/dist/session/error.js +5 -5
- package/dist/session/event.js +1 -1
- package/dist/session/execution/restart.js +231 -231
- package/dist/session/execution.js +152 -152
- package/dist/session/generate.js +190 -190
- package/dist/session/history.js +127 -127
- package/dist/session/inbox.js +138 -138
- package/dist/session/info.js +3 -3
- package/dist/session/instruction-entry.js +85 -85
- package/dist/session/instruction-state.js +8 -8
- package/dist/session/instructions.js +132 -132
- package/dist/session/message-updater.js +2 -2
- package/dist/session/message.js +1 -1
- package/dist/session/model-request.js +155 -155
- package/dist/session/model-transport.js +9 -9
- package/dist/session/move.js +156 -156
- package/dist/session/projector.js +134 -134
- package/dist/session/prompt.js +140 -140
- package/dist/session/recent-text.js +1 -1
- package/dist/session/revert.js +130 -130
- package/dist/session/run-coordinator.js +3 -3
- package/dist/session/runner/index.js +3 -3
- package/dist/session/runner/llm.js +238 -238
- package/dist/session/runner/max-steps.js +1 -1
- package/dist/session/runner/model.js +108 -108
- package/dist/session/runner/publish-llm-event.js +141 -141
- package/dist/session/runner/retry.js +5 -5
- package/dist/session/runner/step.js +152 -152
- package/dist/session/runner/to-llm-message.js +128 -128
- package/dist/session/schema.js +5 -5
- package/dist/session/session.js +172 -172
- package/dist/session/shell.js +135 -135
- package/dist/session/skill.js +139 -139
- package/dist/session/sql.js +5 -5
- package/dist/session/stats.js +81 -81
- package/dist/session/store.js +133 -133
- package/dist/session/stored.js +2 -2
- package/dist/session/subagent-completion.js +1 -1
- package/dist/session/subagent-job.js +219 -219
- package/dist/session/system-prompt.js +5 -5
- package/dist/session/title.js +190 -190
- package/dist/session/to-session-error.js +140 -140
- package/dist/session/transfer.js +227 -227
- package/dist/session/usage.js +1 -1
- package/dist/session.js +223 -223
- package/dist/shell/parse.js +8 -8
- package/dist/shell/result.js +1 -1
- package/dist/shell/scan.js +1 -1
- package/dist/shell/select.js +9 -9
- package/dist/shell.js +135 -135
- package/dist/skill/discovery.js +6 -6
- package/dist/skill/instructions.js +143 -143
- package/dist/skill.js +146 -146
- package/dist/snapshot.js +97 -97
- 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 +167 -167
- package/dist/tool/plugin/edit.js +150 -150
- package/dist/tool/plugin/file-diff.js +1 -1
- package/dist/tool/plugin/glob.js +160 -160
- package/dist/tool/plugin/grep.js +160 -160
- package/dist/tool/plugin/mcp-resource.js +154 -154
- package/dist/tool/plugin/opencode.js +153 -153
- package/dist/tool/plugin/patch.js +158 -158
- package/dist/tool/plugin/question.js +140 -140
- package/dist/tool/plugin/read.js +159 -159
- package/dist/tool/plugin/shell.js +224 -224
- package/dist/tool/plugin/skill.js +145 -145
- package/dist/tool/plugin/subagent.js +226 -226
- package/dist/tool/plugin/todo.js +143 -143
- package/dist/tool/plugin/webfetch.js +147 -147
- package/dist/tool/plugin/websearch.js +147 -147
- package/dist/tool/plugin/write.js +158 -158
- package/dist/tool/read-filesystem.js +110 -110
- package/dist/tool/runtime.js +1 -1
- package/dist/tool-output.js +7 -7
- package/dist/tool.js +12 -12
- package/dist/usage-limits.js +95 -95
- package/dist/util/error-summary.js +1 -1
- package/dist/util/git-executable.js +3 -3
- package/dist/util/lazy.js +1 -1
- package/dist/util/slug.js +1 -1
- package/dist/util/token.js +1 -1
- package/dist/util/which.js +1 -1
- package/dist/util/wildcard.js +1 -1
- package/dist/v1/config/agent.js +7 -7
- package/dist/v1/config/command.js +5 -5
- package/dist/v1/config/mcp.js +4 -4
- package/dist/v1/config/migrate.js +100 -100
- package/dist/v1/config/permission.js +3 -3
- package/dist/v1/config/plugin.js +1 -1
- package/dist/v1/config/provider-options.js +1 -1
- package/dist/v1/config/provider.js +2 -2
- package/dist/variant.js +101 -101
- package/dist/vcs/patch.js +1 -1
- package/dist/vcs.js +97 -97
- package/dist/voice.js +96 -96
- package/dist/websearch.js +90 -90
- package/dist/wellknown/plugin.js +82 -82
- package/dist/wellknown.js +85 -85
- package/dist/workspace/driver.js +5 -5
- package/dist/workspace/sql.js +1 -1
- package/dist/workspace.js +88 -88
- package/dist/worktree/directory.js +2 -2
- package/dist/worktree/git.js +11 -11
- package/dist/worktree/sql.js +5 -5
- package/dist/worktree/strategies.js +97 -97
- package/dist/worktree.js +106 -106
- package/package.json +8 -8
- package/dist/chunks/ripgrep-4hbcjkqy.js +0 -257
- package/dist/chunks/ripgrep-j1207za8.js +0 -26
- package/dist/chunks/ripgrep-jztn5z23.js +0 -18
- /package/dist/chunks/{ripgrep-0qkdqm5v.js → generate-0qkdqm5v.js} +0 -0
- /package/dist/chunks/{ripgrep-0zkw76rk.js → generate-0zkw76rk.js} +0 -0
- /package/dist/chunks/{ripgrep-17cy0kzp.js → generate-17cy0kzp.js} +0 -0
- /package/dist/chunks/{ripgrep-1cnp2v09.js → generate-1cnp2v09.js} +0 -0
- /package/dist/chunks/{ripgrep-1jakw16s.js → generate-1jakw16s.js} +0 -0
- /package/dist/chunks/{ripgrep-24dcb14g.js → generate-24dcb14g.js} +0 -0
- /package/dist/chunks/{ripgrep-2710q6r3.js → generate-2710q6r3.js} +0 -0
- /package/dist/chunks/{ripgrep-2bv980vf.js → generate-2bv980vf.js} +0 -0
- /package/dist/chunks/{ripgrep-2c3vjs8z.js → generate-2c3vjs8z.js} +0 -0
- /package/dist/chunks/{ripgrep-359p4xyc.js → generate-359p4xyc.js} +0 -0
- /package/dist/chunks/{ripgrep-3asan66x.js → generate-3asan66x.js} +0 -0
- /package/dist/chunks/{ripgrep-3v8g72cx.js → generate-3v8g72cx.js} +0 -0
- /package/dist/chunks/{ripgrep-3wcehsnq.js → generate-3wcehsnq.js} +0 -0
- /package/dist/chunks/{ripgrep-43n2bw4t.js → generate-43n2bw4t.js} +0 -0
- /package/dist/chunks/{ripgrep-4knz6hnm.js → generate-4knz6hnm.js} +0 -0
- /package/dist/chunks/{ripgrep-4m86bj6y.js → generate-4m86bj6y.js} +0 -0
- /package/dist/chunks/{ripgrep-4vcrnpx2.js → generate-4vcrnpx2.js} +0 -0
- /package/dist/chunks/{ripgrep-4y7fprxs.js → generate-4y7fprxs.js} +0 -0
- /package/dist/chunks/{ripgrep-53557ph1.js → generate-53557ph1.js} +0 -0
- /package/dist/chunks/{ripgrep-550bvhaj.js → generate-550bvhaj.js} +0 -0
- /package/dist/chunks/{ripgrep-5w3e23ze.js → generate-5w3e23ze.js} +0 -0
- /package/dist/chunks/{ripgrep-6prwharc.js → generate-6prwharc.js} +0 -0
- /package/dist/chunks/{ripgrep-6q2bdcd1.js → generate-6q2bdcd1.js} +0 -0
- /package/dist/chunks/{ripgrep-7akdwqpd.js → generate-7akdwqpd.js} +0 -0
- /package/dist/chunks/{ripgrep-7m9af43g.js → generate-7m9af43g.js} +0 -0
- /package/dist/chunks/{ripgrep-822emrt2.js → generate-822emrt2.js} +0 -0
- /package/dist/chunks/{ripgrep-84wd9syh.js → generate-84wd9syh.js} +0 -0
- /package/dist/chunks/{ripgrep-88xbtdfr.js → generate-88xbtdfr.js} +0 -0
- /package/dist/chunks/{ripgrep-8n3pysct.js → generate-8n3pysct.js} +0 -0
- /package/dist/chunks/{ripgrep-8wj87zfr.js → generate-8wj87zfr.js} +0 -0
- /package/dist/chunks/{ripgrep-9a4afbnw.js → generate-9a4afbnw.js} +0 -0
- /package/dist/chunks/{ripgrep-9rqn6x4v.js → generate-9rqn6x4v.js} +0 -0
- /package/dist/chunks/{ripgrep-a058387c.js → generate-a058387c.js} +0 -0
- /package/dist/chunks/{ripgrep-a6k6eb26.js → generate-a6k6eb26.js} +0 -0
- /package/dist/chunks/{ripgrep-af5trqkr.js → generate-af5trqkr.js} +0 -0
- /package/dist/chunks/{ripgrep-afrmfg78.js → generate-afrmfg78.js} +0 -0
- /package/dist/chunks/{ripgrep-aqzs7mqg.js → generate-aqzs7mqg.js} +0 -0
- /package/dist/chunks/{ripgrep-atq7p7m5.js → generate-atq7p7m5.js} +0 -0
- /package/dist/chunks/{ripgrep-beh6qq61.js → generate-beh6qq61.js} +0 -0
- /package/dist/chunks/{ripgrep-bkyjaxrp.js → generate-bkyjaxrp.js} +0 -0
- /package/dist/chunks/{ripgrep-bmr6ed5q.js → generate-bmr6ed5q.js} +0 -0
- /package/dist/chunks/{ripgrep-cf4snx6d.js → generate-cf4snx6d.js} +0 -0
- /package/dist/chunks/{ripgrep-cqv5kn06.js → generate-cqv5kn06.js} +0 -0
- /package/dist/chunks/{ripgrep-cvy3z8tj.js → generate-cvy3z8tj.js} +0 -0
- /package/dist/chunks/{ripgrep-d9fn303g.js → generate-d9fn303g.js} +0 -0
- /package/dist/chunks/{ripgrep-d9jj8t3e.js → generate-d9jj8t3e.js} +0 -0
- /package/dist/chunks/{ripgrep-dajrwvna.js → generate-dajrwvna.js} +0 -0
- /package/dist/chunks/{ripgrep-dap0rakb.js → generate-dap0rakb.js} +0 -0
- /package/dist/chunks/{ripgrep-df08tz66.js → generate-df08tz66.js} +0 -0
- /package/dist/chunks/{ripgrep-dy18nga0.js → generate-dy18nga0.js} +0 -0
- /package/dist/chunks/{ripgrep-e5kj55wp.js → generate-e5kj55wp.js} +0 -0
- /package/dist/chunks/{ripgrep-e73j6tqm.js → generate-e73j6tqm.js} +0 -0
- /package/dist/chunks/{ripgrep-ec1grn59.js → generate-ec1grn59.js} +0 -0
- /package/dist/chunks/{ripgrep-eh3zwz77.js → generate-eh3zwz77.js} +0 -0
- /package/dist/chunks/{ripgrep-emrn6kk6.js → generate-emrn6kk6.js} +0 -0
- /package/dist/chunks/{ripgrep-f0mxakyp.js → generate-f0mxakyp.js} +0 -0
- /package/dist/chunks/{ripgrep-f6n9ztr4.js → generate-f6n9ztr4.js} +0 -0
- /package/dist/chunks/{ripgrep-faypxj3z.js → generate-faypxj3z.js} +0 -0
- /package/dist/chunks/{ripgrep-fd410y7t.js → generate-fd410y7t.js} +0 -0
- /package/dist/chunks/{ripgrep-fkpq3x5p.js → generate-fkpq3x5p.js} +0 -0
- /package/dist/chunks/{ripgrep-g4wezp1m.js → generate-g4wezp1m.js} +0 -0
- /package/dist/chunks/{ripgrep-g86h250q.js → generate-g86h250q.js} +0 -0
- /package/dist/chunks/{ripgrep-gebd4c9n.js → generate-gebd4c9n.js} +0 -0
- /package/dist/chunks/{ripgrep-gftt206x.js → generate-gftt206x.js} +0 -0
- /package/dist/chunks/{ripgrep-hcxmzztb.js → generate-hcxmzztb.js} +0 -0
- /package/dist/chunks/{ripgrep-hk9envan.js → generate-hk9envan.js} +0 -0
- /package/dist/chunks/{ripgrep-j2ntwpah.js → generate-j2ntwpah.js} +0 -0
- /package/dist/chunks/{ripgrep-j5zkgpj8.js → generate-j5zkgpj8.js} +0 -0
- /package/dist/chunks/{ripgrep-jjkms2e6.js → generate-jjkms2e6.js} +0 -0
- /package/dist/chunks/{ripgrep-jr7sbwjy.js → generate-jr7sbwjy.js} +0 -0
- /package/dist/chunks/{ripgrep-jwfs4k6c.js → generate-jwfs4k6c.js} +0 -0
- /package/dist/chunks/{ripgrep-jwr30sdr.js → generate-jwr30sdr.js} +0 -0
- /package/dist/chunks/{ripgrep-jze0r7bz.js → generate-jze0r7bz.js} +0 -0
- /package/dist/chunks/{ripgrep-jzg6c2d5.js → generate-jzg6c2d5.js} +0 -0
- /package/dist/chunks/{ripgrep-m18g726c.js → generate-m18g726c.js} +0 -0
- /package/dist/chunks/{ripgrep-mp448xyj.js → generate-mp448xyj.js} +0 -0
- /package/dist/chunks/{ripgrep-msx8hqn2.js → generate-msx8hqn2.js} +0 -0
- /package/dist/chunks/{ripgrep-n05xt0ee.js → generate-n05xt0ee.js} +0 -0
- /package/dist/chunks/{ripgrep-n3j8tn72.js → generate-n3j8tn72.js} +0 -0
- /package/dist/chunks/{ripgrep-ncqqe42p.js → generate-ncqqe42p.js} +0 -0
- /package/dist/chunks/{ripgrep-njntx4h6.js → generate-njntx4h6.js} +0 -0
- /package/dist/chunks/{ripgrep-p71gwv9c.js → generate-p71gwv9c.js} +0 -0
- /package/dist/chunks/{ripgrep-q3sfg36h.js → generate-q3sfg36h.js} +0 -0
- /package/dist/chunks/{ripgrep-q74kybfr.js → generate-q74kybfr.js} +0 -0
- /package/dist/chunks/{ripgrep-qaymkmh1.js → generate-qaymkmh1.js} +0 -0
- /package/dist/chunks/{ripgrep-qb87gjwd.js → generate-qb87gjwd.js} +0 -0
- /package/dist/chunks/{ripgrep-qfa1cgps.js → generate-qfa1cgps.js} +0 -0
- /package/dist/chunks/{ripgrep-qg3g05ea.js → generate-qg3g05ea.js} +0 -0
- /package/dist/chunks/{ripgrep-qrg20bc0.js → generate-qrg20bc0.js} +0 -0
- /package/dist/chunks/{ripgrep-rcb2kzg1.js → generate-rcb2kzg1.js} +0 -0
- /package/dist/chunks/{ripgrep-sdp7kfr6.js → generate-sdp7kfr6.js} +0 -0
- /package/dist/chunks/{ripgrep-ssg3fenm.js → generate-ssg3fenm.js} +0 -0
- /package/dist/chunks/{ripgrep-ve7vex1e.js → generate-ve7vex1e.js} +0 -0
- /package/dist/chunks/{ripgrep-w803qqfp.js → generate-w803qqfp.js} +0 -0
- /package/dist/chunks/{ripgrep-wc3fc9cn.js → generate-wc3fc9cn.js} +0 -0
- /package/dist/chunks/{ripgrep-wer8tq1h.js → generate-wer8tq1h.js} +0 -0
- /package/dist/chunks/{ripgrep-wtztk69x.js → generate-wtztk69x.js} +0 -0
- /package/dist/chunks/{ripgrep-x0ckcb58.js → generate-x0ckcb58.js} +0 -0
- /package/dist/chunks/{ripgrep-x61499pn.js → generate-x61499pn.js} +0 -0
- /package/dist/chunks/{ripgrep-y44na4kk.js → generate-y44na4kk.js} +0 -0
- /package/dist/chunks/{ripgrep-y8f7s663.js → generate-y8f7s663.js} +0 -0
- /package/dist/chunks/{ripgrep-ygaqb7jw.js → generate-ygaqb7jw.js} +0 -0
- /package/dist/chunks/{ripgrep-ym463w8f.js → generate-ym463w8f.js} +0 -0
- /package/dist/chunks/{ripgrep-z5v4ffb3.js → generate-z5v4ffb3.js} +0 -0
- /package/dist/chunks/{ripgrep-z9919s4g.js → generate-z9919s4g.js} +0 -0
|
@@ -2,45 +2,45 @@ import {
|
|
|
2
2
|
NotFound3,
|
|
3
3
|
WrongKind2,
|
|
4
4
|
Failed2
|
|
5
|
-
} from "./
|
|
5
|
+
} from "./generate-svcy3p9a.js";
|
|
6
6
|
import {
|
|
7
7
|
Service83
|
|
8
|
-
} from "./
|
|
8
|
+
} from "./generate-w43zhwmv.js";
|
|
9
9
|
import {
|
|
10
|
-
|
|
11
|
-
} from "./
|
|
10
|
+
Service75
|
|
11
|
+
} from "./generate-f0wnzmyw.js";
|
|
12
12
|
import {
|
|
13
|
-
|
|
14
|
-
} from "./
|
|
13
|
+
Service19
|
|
14
|
+
} from "./generate-63mgg1rp.js";
|
|
15
15
|
import {
|
|
16
|
-
|
|
16
|
+
Service27,
|
|
17
17
|
readText2,
|
|
18
18
|
syncTextBom2
|
|
19
|
-
} from "./
|
|
19
|
+
} from "./generate-2r5swsc6.js";
|
|
20
20
|
import {
|
|
21
|
-
|
|
22
|
-
} from "./
|
|
21
|
+
Service58
|
|
22
|
+
} from "./generate-vzd7w2ek.js";
|
|
23
23
|
import {
|
|
24
|
-
|
|
24
|
+
Service13,
|
|
25
25
|
resolvePath2
|
|
26
|
-
} from "./
|
|
26
|
+
} from "./generate-40smdzyz.js";
|
|
27
27
|
import {
|
|
28
28
|
fileDiff2
|
|
29
|
-
} from "./
|
|
29
|
+
} from "./generate-6prwharc.js";
|
|
30
30
|
import {
|
|
31
31
|
__export
|
|
32
|
-
} from "./
|
|
32
|
+
} from "./generate-9rqn6x4v.js";
|
|
33
33
|
|
|
34
34
|
// src/tool/plugin/patch.ts
|
|
35
35
|
var exports_patch = {};
|
|
36
36
|
__export(exports_patch, {
|
|
37
37
|
Applied: () => Applied2,
|
|
38
|
-
Input: () =>
|
|
39
|
-
Output: () =>
|
|
38
|
+
Input: () => Input6,
|
|
39
|
+
Output: () => Output4,
|
|
40
40
|
PatchTool: () => exports_patch,
|
|
41
|
-
Plugin: () =>
|
|
42
|
-
name: () =>
|
|
43
|
-
toModelContent: () =>
|
|
41
|
+
Plugin: () => Plugin7,
|
|
42
|
+
name: () => name6,
|
|
43
|
+
toModelContent: () => toModelContent3
|
|
44
44
|
});
|
|
45
45
|
import { ToolFailure } from "@opencode/ai/effect";
|
|
46
46
|
import { FileDiff } from "@opencode/schema/file-diff";
|
|
@@ -85,8 +85,8 @@ It is important to remember:
|
|
|
85
85
|
`;
|
|
86
86
|
|
|
87
87
|
// src/tool/plugin/patch.ts
|
|
88
|
-
var
|
|
89
|
-
var
|
|
88
|
+
var name6 = "patch";
|
|
89
|
+
var Input6 = Schema.Struct({
|
|
90
90
|
patchText: Schema.String.annotate({
|
|
91
91
|
description: "The full patch text describing add, update, and delete operations"
|
|
92
92
|
})
|
|
@@ -96,30 +96,30 @@ var Applied2 = Schema.Struct({
|
|
|
96
96
|
resource: Schema.String,
|
|
97
97
|
target: Schema.String
|
|
98
98
|
});
|
|
99
|
-
var
|
|
99
|
+
var Output4 = Schema.Struct({
|
|
100
100
|
applied: Schema.Array(Applied2),
|
|
101
101
|
files: Schema.Array(FileDiff.Info)
|
|
102
102
|
});
|
|
103
|
-
var
|
|
103
|
+
var toModelContent3 = (output) => [
|
|
104
104
|
"Success. Updated the following files:",
|
|
105
105
|
...output.applied.map((item) => `${item.type === "add" ? "A" : item.type === "delete" ? "D" : "M"} ${item.resource}`)
|
|
106
106
|
].join(`
|
|
107
107
|
`);
|
|
108
|
-
var
|
|
108
|
+
var Plugin7 = {
|
|
109
109
|
id: "opencode.tool.patch",
|
|
110
110
|
effect: Effect.fn("PatchTool.Plugin")(function* (ctx) {
|
|
111
|
-
const environment = yield*
|
|
112
|
-
const access = yield*
|
|
113
|
-
const fileMutation = yield*
|
|
114
|
-
const formatter = yield*
|
|
111
|
+
const environment = yield* Service75;
|
|
112
|
+
const access = yield* Service13;
|
|
113
|
+
const fileMutation = yield* Service27;
|
|
114
|
+
const formatter = yield* Service19;
|
|
115
115
|
const location = yield* Service83;
|
|
116
|
-
const permission = yield*
|
|
116
|
+
const permission = yield* Service58;
|
|
117
117
|
yield* ctx.tool.transform((editor) => editor.add({
|
|
118
|
-
name:
|
|
118
|
+
name: name6,
|
|
119
119
|
options: { codemode: false, permission: "edit" },
|
|
120
120
|
description: patch_default,
|
|
121
|
-
input:
|
|
122
|
-
output:
|
|
121
|
+
input: Input6,
|
|
122
|
+
output: Output4,
|
|
123
123
|
execute: (input, context) => {
|
|
124
124
|
const applied = [];
|
|
125
125
|
const parsed = Patch.parse(input.patchText);
|
|
@@ -285,7 +285,7 @@ var Plugin50 = {
|
|
|
285
285
|
return { applied, files };
|
|
286
286
|
}).pipe(fileMutation.withLock(lockTargets), Effect.map((output) => ({
|
|
287
287
|
output,
|
|
288
|
-
content:
|
|
288
|
+
content: toModelContent3(output),
|
|
289
289
|
metadata: { files: output.files }
|
|
290
290
|
})), Effect.mapError((error) => error instanceof ToolFailure ? error : new ToolFailure({ message: "Unable to apply patch", error })));
|
|
291
291
|
}
|
|
@@ -345,4 +345,4 @@ function trimDiff(diff) {
|
|
|
345
345
|
`);
|
|
346
346
|
}
|
|
347
347
|
|
|
348
|
-
export {
|
|
348
|
+
export { name6, Input6, Applied2, Output4, toModelContent3, Plugin7, exports_patch };
|
|
@@ -1,42 +1,42 @@
|
|
|
1
1
|
import {
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
} from "./
|
|
2
|
+
Service86,
|
|
3
|
+
node90
|
|
4
|
+
} from "./generate-qsh779tg.js";
|
|
5
5
|
import {
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
} from "./
|
|
6
|
+
Service41,
|
|
7
|
+
node45
|
|
8
|
+
} from "./generate-dcqept39.js";
|
|
9
9
|
import {
|
|
10
10
|
isTextual2
|
|
11
|
-
} from "./
|
|
11
|
+
} from "./generate-4pyp9zr9.js";
|
|
12
12
|
import {
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
} from "./
|
|
13
|
+
Service58,
|
|
14
|
+
node60
|
|
15
|
+
} from "./generate-vzd7w2ek.js";
|
|
16
16
|
import {
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
} from "./
|
|
17
|
+
Service46,
|
|
18
|
+
node49
|
|
19
|
+
} from "./generate-aed20f0x.js";
|
|
20
20
|
import {
|
|
21
|
-
|
|
22
|
-
|
|
23
|
-
} from "./
|
|
21
|
+
Service45,
|
|
22
|
+
node48
|
|
23
|
+
} from "./generate-4p3cqz3x.js";
|
|
24
24
|
import {
|
|
25
25
|
MEDIA_MIMES2
|
|
26
|
-
} from "./
|
|
26
|
+
} from "./generate-xgh8r5md.js";
|
|
27
27
|
import {
|
|
28
28
|
__export
|
|
29
|
-
} from "./
|
|
29
|
+
} from "./generate-9rqn6x4v.js";
|
|
30
30
|
|
|
31
31
|
// src/tool/mcp.ts
|
|
32
32
|
var exports_mcp3 = {};
|
|
33
33
|
__export(exports_mcp3, {
|
|
34
34
|
McpTool: () => exports_mcp3,
|
|
35
|
-
Service: () =>
|
|
36
|
-
layer: () =>
|
|
37
|
-
name: () =>
|
|
35
|
+
Service: () => Service36,
|
|
36
|
+
layer: () => layer16,
|
|
37
|
+
name: () => name14,
|
|
38
38
|
namespace: () => namespace2,
|
|
39
|
-
node: () =>
|
|
39
|
+
node: () => node40
|
|
40
40
|
});
|
|
41
41
|
import { ToolFailure } from "@opencode/ai/effect";
|
|
42
42
|
import { McpEvent } from "@opencode/schema/mcp-event";
|
|
@@ -45,16 +45,16 @@ import { makeLocationNode } from "@opencode/util/effect/app-node";
|
|
|
45
45
|
import { extension } from "mime-types";
|
|
46
46
|
var decodeJson = Schema.decodeUnknownOption(Schema.fromJsonString(Schema.Unknown));
|
|
47
47
|
var namespace2 = (server) => server.replace(/[^a-zA-Z0-9_-]/g, "_");
|
|
48
|
-
var
|
|
48
|
+
var name14 = (server, tool) => `${namespace2(server)}_${tool.replace(/[^a-zA-Z0-9_-]/g, "_")}`;
|
|
49
49
|
|
|
50
|
-
class
|
|
50
|
+
class Service36 extends Context.Service()("@opencode/McpTool") {
|
|
51
51
|
}
|
|
52
|
-
var
|
|
53
|
-
const mcp = yield*
|
|
54
|
-
const tools = yield*
|
|
55
|
-
const bus = yield*
|
|
56
|
-
const permission = yield*
|
|
57
|
-
const toolOutput = yield*
|
|
52
|
+
var layer16 = Layer.effect(Service36, Effect.gen(function* () {
|
|
53
|
+
const mcp = yield* Service41;
|
|
54
|
+
const tools = yield* Service46;
|
|
55
|
+
const bus = yield* Service86;
|
|
56
|
+
const permission = yield* Service58;
|
|
57
|
+
const toolOutput = yield* Service45;
|
|
58
58
|
const lock = Semaphore.makeUnsafe(1);
|
|
59
59
|
let discovered = [];
|
|
60
60
|
const initial = yield* lock.withPermit(Effect.gen(function* () {
|
|
@@ -69,7 +69,7 @@ var layer14 = Layer.effect(Service27, Effect.gen(function* () {
|
|
|
69
69
|
output: tool.outputSchema ?? {},
|
|
70
70
|
execute: (input, context) => Effect.gen(function* () {
|
|
71
71
|
yield* permission.assert({
|
|
72
|
-
action:
|
|
72
|
+
action: name14(tool.server, tool.name),
|
|
73
73
|
resources: ["*"],
|
|
74
74
|
save: ["*"],
|
|
75
75
|
metadata: { input: input ?? {} },
|
|
@@ -111,7 +111,7 @@ var layer14 = Layer.effect(Service27, Effect.gen(function* () {
|
|
|
111
111
|
output: output(),
|
|
112
112
|
...content.length === 0 ? {} : { content }
|
|
113
113
|
};
|
|
114
|
-
}).pipe(Effect.mapError((error) => error instanceof ToolFailure ? error : new ToolFailure({ message: `Unable to execute ${
|
|
114
|
+
}).pipe(Effect.mapError((error) => error instanceof ToolFailure ? error : new ToolFailure({ message: `Unable to execute ${name14(tool.server, tool.name)}` })))
|
|
115
115
|
});
|
|
116
116
|
}
|
|
117
117
|
});
|
|
@@ -124,7 +124,7 @@ var layer14 = Layer.effect(Service27, Effect.gen(function* () {
|
|
|
124
124
|
yield* bus.subscribe(McpEvent.ToolsChanged).pipe(Stream.runForEach(() => PubSub.publish(changes, undefined)), Effect.forkScoped({ startImmediately: true }));
|
|
125
125
|
const updates = yield* PubSub.subscribe(changes);
|
|
126
126
|
yield* Stream.fromSubscription(updates).pipe(Stream.debounce("100 millis"), Stream.runForEach(() => reconcile), Effect.forkScoped({ startImmediately: true }));
|
|
127
|
-
return
|
|
127
|
+
return Service36.of({ flush: Effect.asVoid(Fiber.await(initial)) });
|
|
128
128
|
}));
|
|
129
129
|
var toContent = Effect.fnUntraced(function* (part, toolOutput) {
|
|
130
130
|
if (part.type === "text")
|
|
@@ -144,10 +144,10 @@ ${bytes.toString("utf8")}` };
|
|
|
144
144
|
text: `[Binary resource ${label} (${part.mimeType}, ${bytes.byteLength} bytes) saved to ${file}]`
|
|
145
145
|
};
|
|
146
146
|
});
|
|
147
|
-
var
|
|
148
|
-
service:
|
|
149
|
-
layer:
|
|
150
|
-
deps: [
|
|
147
|
+
var node40 = makeLocationNode({
|
|
148
|
+
service: Service36,
|
|
149
|
+
layer: layer16,
|
|
150
|
+
deps: [node49, node45, node90, node60, node48]
|
|
151
151
|
});
|
|
152
152
|
|
|
153
|
-
export { namespace2,
|
|
153
|
+
export { namespace2, name14, Service36, layer16, node40, exports_mcp3 };
|
|
@@ -1,22 +1,22 @@
|
|
|
1
1
|
import {
|
|
2
|
-
|
|
3
|
-
} from "./
|
|
2
|
+
Service86
|
|
3
|
+
} from "./generate-qsh779tg.js";
|
|
4
4
|
import {
|
|
5
5
|
Service83
|
|
6
|
-
} from "./
|
|
6
|
+
} from "./generate-w43zhwmv.js";
|
|
7
7
|
import {
|
|
8
8
|
PromptsChanged2,
|
|
9
|
-
|
|
10
|
-
} from "./
|
|
9
|
+
Service41
|
|
10
|
+
} from "./generate-dcqept39.js";
|
|
11
11
|
import {
|
|
12
12
|
__export
|
|
13
|
-
} from "./
|
|
13
|
+
} from "./generate-9rqn6x4v.js";
|
|
14
14
|
|
|
15
15
|
// src/plugin/command.ts
|
|
16
|
-
var
|
|
17
|
-
__export(
|
|
18
|
-
CommandPlugin: () =>
|
|
19
|
-
Plugin: () =>
|
|
16
|
+
var exports_command2 = {};
|
|
17
|
+
__export(exports_command2, {
|
|
18
|
+
CommandPlugin: () => exports_command2,
|
|
19
|
+
Plugin: () => Plugin45
|
|
20
20
|
});
|
|
21
21
|
import { define } from "@opencode/plugin/effect/plugin";
|
|
22
22
|
import { Effect, Stream } from "effect";
|
|
@@ -193,12 +193,12 @@ If you're uncertain about something and can't verify it with these tools, say "I
|
|
|
193
193
|
`;
|
|
194
194
|
|
|
195
195
|
// src/plugin/command.ts
|
|
196
|
-
var
|
|
196
|
+
var Plugin45 = define({
|
|
197
197
|
id: "opencode.command",
|
|
198
198
|
effect: Effect.fn(function* (ctx) {
|
|
199
199
|
const location = yield* Service83;
|
|
200
|
-
const mcp = yield*
|
|
201
|
-
const bus = yield*
|
|
200
|
+
const mcp = yield* Service41;
|
|
201
|
+
const bus = yield* Service86;
|
|
202
202
|
const loaded = { prompts: [] };
|
|
203
203
|
yield* bus.subscribe(PromptsChanged2).pipe(Stream.runForEach(() => mcp.prompts().pipe(Effect.tap((prompts) => Effect.sync(() => loaded.prompts = prompts)), Effect.andThen(ctx.command.reload()))), Effect.forkScoped({ startImmediately: true }));
|
|
204
204
|
loaded.prompts = yield* mcp.prompts();
|
|
@@ -280,4 +280,4 @@ function sanitize(value) {
|
|
|
280
280
|
var argsRegex = /(?:\[Image\s+\d+\]|"[^"]*"|'[^']*'|[^\s"']+)/gi;
|
|
281
281
|
var quoteTrimRegex = /^["']|["']$/g;
|
|
282
282
|
|
|
283
|
-
export {
|
|
283
|
+
export { Plugin45, exports_command2 };
|
|
@@ -1,31 +1,31 @@
|
|
|
1
1
|
import {
|
|
2
2
|
RelativePath2
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./generate-z5v4ffb3.js";
|
|
4
4
|
import {
|
|
5
5
|
Service83,
|
|
6
6
|
node87
|
|
7
|
-
} from "./
|
|
7
|
+
} from "./generate-w43zhwmv.js";
|
|
8
8
|
import {
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
} from "./
|
|
9
|
+
Service74,
|
|
10
|
+
node76
|
|
11
|
+
} from "./generate-kwvnq2ts.js";
|
|
12
12
|
import {
|
|
13
13
|
isHome2,
|
|
14
|
-
|
|
15
|
-
} from "./
|
|
14
|
+
names4
|
|
15
|
+
} from "./generate-w8qtt4th.js";
|
|
16
16
|
import {
|
|
17
17
|
__export
|
|
18
|
-
} from "./
|
|
18
|
+
} from "./generate-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
|
-
Service: () =>
|
|
25
|
-
configured: () =>
|
|
24
|
+
Service: () => Service73,
|
|
25
|
+
configured: () => configured9,
|
|
26
26
|
fffLayer: () => fffLayer2,
|
|
27
27
|
makeFffLayer: () => makeFffLayer2,
|
|
28
|
-
node: () =>
|
|
28
|
+
node: () => node75
|
|
29
29
|
});
|
|
30
30
|
import { makeLocationNode } from "@opencode/util/effect/app-node";
|
|
31
31
|
import path from "path";
|
|
@@ -33,7 +33,7 @@ import { Clock, Context, Deferred, Duration, Effect, Layer, Scope } from "effect
|
|
|
33
33
|
import { Fff } from "#fff";
|
|
34
34
|
import fuzzysort from "fuzzysort";
|
|
35
35
|
import { FileSystem } from "@opencode/schema/filesystem";
|
|
36
|
-
class
|
|
36
|
+
class Service73 extends Context.Service()("@opencode/FileSystem/Search") {
|
|
37
37
|
}
|
|
38
38
|
var REFRESH_INTERVAL = Duration.toMillis("10 seconds");
|
|
39
39
|
function emptyIndex() {
|
|
@@ -52,9 +52,9 @@ function search(index, input) {
|
|
|
52
52
|
});
|
|
53
53
|
});
|
|
54
54
|
}
|
|
55
|
-
var ripgrepLayer = Layer.effect(
|
|
55
|
+
var ripgrepLayer = Layer.effect(Service73, Effect.gen(function* () {
|
|
56
56
|
const location = yield* Service83;
|
|
57
|
-
const ripgrep = yield*
|
|
57
|
+
const ripgrep = yield* Service74;
|
|
58
58
|
const scope = yield* Scope.Scope;
|
|
59
59
|
const clock = yield* Clock.Clock;
|
|
60
60
|
const home = isHome2(location.directory);
|
|
@@ -71,7 +71,7 @@ var ripgrepLayer = Layer.effect(Service50, Effect.gen(function* () {
|
|
|
71
71
|
cwd: location.directory,
|
|
72
72
|
pattern: "*",
|
|
73
73
|
limit: location.vcs && !home ? Number.MAX_SAFE_INTEGER : 1e5,
|
|
74
|
-
exclude: home ? [...
|
|
74
|
+
exclude: home ? [...names4()].map((name) => `${name}/**`) : undefined,
|
|
75
75
|
onEntry: (entry) => Effect.sync(() => {
|
|
76
76
|
next.files.set(entry.path, previous.files.get(entry.path) ?? fuzzysort.prepare(entry.path));
|
|
77
77
|
const parts = entry.path.split("/");
|
|
@@ -99,7 +99,7 @@ var ripgrepLayer = Layer.effect(Service50, Effect.gen(function* () {
|
|
|
99
99
|
Deferred.doneUnsafe(attempt, exit);
|
|
100
100
|
})), Effect.forkIn(scope), Effect.flatMap(() => initialized ? Effect.void : Deferred.await(attempt)));
|
|
101
101
|
});
|
|
102
|
-
return
|
|
102
|
+
return Service73.of({
|
|
103
103
|
find: (input) => Effect.gen(function* () {
|
|
104
104
|
yield* refresh;
|
|
105
105
|
return search(index, input);
|
|
@@ -119,7 +119,7 @@ function createPicker(create, directory) {
|
|
|
119
119
|
return { ok: false, error };
|
|
120
120
|
}
|
|
121
121
|
}
|
|
122
|
-
var makeFffLayer2 = (create) => Layer.effect(
|
|
122
|
+
var makeFffLayer2 = (create) => Layer.effect(Service73, Effect.gen(function* () {
|
|
123
123
|
const location = yield* Service83;
|
|
124
124
|
let state;
|
|
125
125
|
yield* Effect.addFinalizer(() => Effect.sync(() => {
|
|
@@ -152,7 +152,7 @@ var makeFffLayer2 = (create) => Layer.effect(Service50, Effect.gen(function* ()
|
|
|
152
152
|
}
|
|
153
153
|
return current.result.value;
|
|
154
154
|
});
|
|
155
|
-
return
|
|
155
|
+
return Service73.of({
|
|
156
156
|
find: (input) => Effect.gen(function* () {
|
|
157
157
|
const finder = yield* picker;
|
|
158
158
|
if (!finder)
|
|
@@ -207,9 +207,9 @@ var layer = (options) => Layer.unwrap(Effect.gen(function* () {
|
|
|
207
207
|
return ripgrepLayer;
|
|
208
208
|
return location.vcs && !isHome2(location.directory) ? fffLayer2 : ripgrepLayer;
|
|
209
209
|
}));
|
|
210
|
-
function
|
|
211
|
-
return makeLocationNode({ service:
|
|
210
|
+
function configured9(options) {
|
|
211
|
+
return makeLocationNode({ service: Service73, layer: layer(options), deps: [node87, node76] });
|
|
212
212
|
}
|
|
213
|
-
var
|
|
213
|
+
var node75 = configured9();
|
|
214
214
|
|
|
215
|
-
export {
|
|
215
|
+
export { Service73, makeFffLayer2, fffLayer2, configured9, node75, exports_search };
|
|
@@ -1,20 +1,20 @@
|
|
|
1
1
|
import {
|
|
2
2
|
OAuth3
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./generate-5zch7wr3.js";
|
|
4
4
|
import {
|
|
5
|
-
|
|
5
|
+
ID14,
|
|
6
6
|
MethodID2
|
|
7
|
-
} from "./
|
|
7
|
+
} from "./generate-q18as39h.js";
|
|
8
8
|
import {
|
|
9
9
|
success2,
|
|
10
10
|
error2
|
|
11
|
-
} from "./
|
|
11
|
+
} from "./generate-yb20nhc3.js";
|
|
12
12
|
|
|
13
13
|
// src/plugin/provider/poe.ts
|
|
14
14
|
import { define } from "@opencode/plugin/effect/plugin";
|
|
15
15
|
import { Clock, Deferred, Effect, Option, Schema } from "effect";
|
|
16
16
|
import { HttpClient, HttpClientRequest, HttpClientResponse } from "effect/http";
|
|
17
|
-
var integrationID =
|
|
17
|
+
var integrationID = ID14.make("poe");
|
|
18
18
|
var methodID = MethodID2.make("browser");
|
|
19
19
|
var clientID = "client_728290227fc048cc9262091a1ea197ea";
|
|
20
20
|
var issuer = "https://poe.com";
|