@opencode/core 0.0.0-dev-19315 → 0.0.0-dev-19316
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 +79 -79
- package/dist/aisdk-native.js +2 -2
- package/dist/aisdk.js +6 -6
- package/dist/app.js +9 -9
- package/dist/bus.js +67 -67
- package/dist/catalog.js +83 -83
- package/dist/chunks/{schema-7k98zq5j.js → workspace-0cmfkvjr.js} +20 -20
- package/dist/chunks/{schema-ymjxwgvb.js → workspace-0em1p5dp.js} +88 -88
- package/dist/chunks/{schema-rhjbct0v.js → workspace-0gdmqesm.js} +4 -4
- package/dist/chunks/{schema-v8jfbz3g.js → workspace-0hf9g8pg.js} +6 -6
- package/dist/chunks/{schema-qgn6gcr1.js → workspace-0jwsre1p.js} +5 -5
- package/dist/chunks/workspace-0mesazry.js +4 -0
- package/dist/chunks/{schema-0paq2nw3.js → workspace-0paq2nw3.js} +1 -1
- package/dist/chunks/{schema-0q0f95c6.js → workspace-0q0f95c6.js} +1 -1
- package/dist/chunks/{schema-mmpywmy8.js → workspace-0qnka9n6.js} +17 -17
- package/dist/chunks/{schema-6ytdtxpy.js → workspace-0s5v0p6k.js} +52 -52
- package/dist/chunks/{schema-bf4gnffv.js → workspace-0yq4eb34.js} +24 -24
- package/dist/chunks/{schema-vtfyh9kp.js → workspace-10dffqyq.js} +22 -22
- package/dist/chunks/{schema-3chymzge.js → workspace-12jdhdht.js} +11 -11
- package/dist/chunks/{schema-k0qqd9ns.js → workspace-15pjexzy.js} +13 -13
- package/dist/chunks/{schema-rc7c1nkz.js → workspace-19g3xj2s.js} +30 -30
- package/dist/chunks/{schema-yp2x3t23.js → workspace-1acjjqhc.js} +4 -4
- package/dist/chunks/{schema-1dazxqgg.js → workspace-1dazxqgg.js} +2 -2
- package/dist/chunks/{schema-1dfhrqqs.js → workspace-1dfhrqqs.js} +2 -2
- package/dist/chunks/{schema-jfmd2d66.js → workspace-1ev0k7s6.js} +8 -8
- package/dist/chunks/{schema-ra3x11vx.js → workspace-1jyjw0dy.js} +14 -14
- package/dist/chunks/{schema-hstcsx0c.js → workspace-1s5kemrg.js} +20 -20
- package/dist/chunks/{schema-2xxkd6hq.js → workspace-1s80jvpe.js} +30 -30
- package/dist/chunks/{schema-93qvm8az.js → workspace-1tbv6t5g.js} +43 -43
- package/dist/chunks/{schema-d421n1ff.js → workspace-1vtz46z8.js} +8 -8
- package/dist/chunks/{schema-4qce8s6f.js → workspace-1yafz2c2.js} +21 -21
- package/dist/chunks/{schema-21r38tys.js → workspace-21r38tys.js} +1 -1
- package/dist/chunks/{schema-2a5m3afh.js → workspace-2a5m3afh.js} +1 -1
- package/dist/chunks/{schema-h3fsa19t.js → workspace-2fsj26k1.js} +15 -15
- package/dist/chunks/{schema-y0sydbwz.js → workspace-2nyvck04.js} +9 -9
- package/dist/chunks/{schema-7q1612ja.js → workspace-2vg72gbq.js} +9 -9
- package/dist/chunks/{schema-4yfcpcky.js → workspace-2yamwwtx.js} +10 -10
- package/dist/chunks/{schema-2emagh9c.js → workspace-317x7tvz.js} +16 -16
- package/dist/chunks/{schema-gd3ag2we.js → workspace-323qkwbp.js} +10 -10
- package/dist/chunks/{schema-mfqp6xfm.js → workspace-33w4ejhs.js} +9 -9
- package/dist/chunks/{schema-7fcrrf7c.js → workspace-36jkazxa.js} +5 -5
- package/dist/chunks/{schema-cpk86zgx.js → workspace-39mbwg99.js} +16 -16
- package/dist/chunks/{schema-3fc6dm20.js → workspace-3fc6dm20.js} +1 -1
- package/dist/chunks/{schema-3hepkmqq.js → workspace-3hepkmqq.js} +1 -1
- package/dist/chunks/{schema-8qh0cz1n.js → workspace-3q6hd4jt.js} +16 -16
- package/dist/chunks/{schema-3smtnn6g.js → workspace-3smtnn6g.js} +1 -1
- package/dist/chunks/{schema-1fa9ans5.js → workspace-3trbxeqx.js} +1 -1
- package/dist/chunks/{schema-3tvqynh2.js → workspace-3tvqynh2.js} +1 -1
- package/dist/chunks/{schema-x9d6r3r4.js → workspace-3v77a270.js} +21 -21
- package/dist/chunks/{schema-yq7c167k.js → workspace-40ztfmwz.js} +17 -17
- package/dist/chunks/{schema-khgxsbt4.js → workspace-42h2bxtq.js} +10 -10
- package/dist/chunks/{schema-0t3za3r7.js → workspace-43bvnm0c.js} +32 -32
- package/dist/chunks/{schema-ed9v73ba.js → workspace-48hw3qw3.js} +25 -25
- package/dist/chunks/{schema-cg3xgnsj.js → workspace-4d61g8er.js} +46 -46
- package/dist/chunks/{schema-kzdcqyn1.js → workspace-4dg124c5.js} +5 -5
- package/dist/chunks/{schema-ws5qfxv9.js → workspace-4jmdj23e.js} +9 -9
- package/dist/chunks/{schema-tr93pe43.js → workspace-4rd6evxz.js} +15 -15
- package/dist/chunks/{schema-4bphcb4q.js → workspace-4t57t1en.js} +14 -14
- package/dist/chunks/{schema-5aprmt0q.js → workspace-4tq5d7x2.js} +20 -20
- package/dist/chunks/{schema-2mdv5ymf.js → workspace-4zb7zm34.js} +11 -11
- package/dist/chunks/{schema-pekwj3qr.js → workspace-4zbs3q2b.js} +33 -33
- package/dist/chunks/{schema-rysxkvb4.js → workspace-50p99xk2.js} +37 -37
- package/dist/chunks/{schema-hep2a0b7.js → workspace-540a1fgr.js} +33 -33
- package/dist/chunks/{schema-3w2rn9dp.js → workspace-5aktmhjp.js} +15 -15
- package/dist/chunks/{schema-n72fdvhp.js → workspace-5cwvq4ff.js} +2 -2
- package/dist/chunks/{schema-5daktx2q.js → workspace-5daktx2q.js} +1 -1
- package/dist/chunks/{schema-avvew7tz.js → workspace-5jfbnsm9.js} +50 -50
- package/dist/chunks/{schema-ej832pbm.js → workspace-5kmnb5g6.js} +15 -15
- package/dist/chunks/{schema-5kptn8c0.js → workspace-5kptn8c0.js} +2 -2
- package/dist/chunks/{schema-nq8ttx4a.js → workspace-5nzafj0m.js} +11 -11
- package/dist/chunks/{schema-mp03jghc.js → workspace-5pq3v0sk.js} +14 -14
- package/dist/chunks/{schema-5t3nmthw.js → workspace-5t3nmthw.js} +2 -2
- package/dist/chunks/{schema-v30hgzdg.js → workspace-5yrg3hxm.js} +8 -8
- package/dist/chunks/{schema-3f970z16.js → workspace-60stz191.js} +31 -31
- package/dist/chunks/{schema-fxma3jmn.js → workspace-61tdtcny.js} +10 -10
- package/dist/chunks/{schema-669tq793.js → workspace-669tq793.js} +1 -1
- package/dist/chunks/{schema-rzh64qrh.js → workspace-66j98p5d.js} +29 -29
- package/dist/chunks/{schema-kqh9nm8q.js → workspace-6gfd5xf8.js} +30 -30
- package/dist/chunks/{schema-2402vzrj.js → workspace-6h73sxmp.js} +5 -5
- package/dist/chunks/{schema-6msgmcgs.js → workspace-6msgmcgs.js} +1 -1
- package/dist/chunks/{schema-1hbbayva.js → workspace-6st33d4x.js} +25 -25
- package/dist/chunks/{schema-71q4at8m.js → workspace-71q4at8m.js} +1 -1
- package/dist/chunks/{schema-7bmhse3q.js → workspace-7bmhse3q.js} +1 -1
- package/dist/chunks/{schema-rnte4p8x.js → workspace-7gb606e6.js} +14 -14
- package/dist/chunks/{schema-ggkmsn0n.js → workspace-7gvp9cq5.js} +21 -21
- package/dist/chunks/{schema-dvt68sy9.js → workspace-7k17nv4j.js} +22 -22
- package/dist/chunks/{schema-yngj08nc.js → workspace-7mz653pd.js} +15 -15
- package/dist/chunks/{schema-7678ggar.js → workspace-7vbk9m4e.js} +9 -9
- package/dist/chunks/{schema-mfhfdr54.js → workspace-81czwxpn.js} +4 -4
- package/dist/chunks/{schema-wwke1kyk.js → workspace-83q95eg7.js} +9 -9
- package/dist/chunks/{schema-dt849bc4.js → workspace-84tssp1s.js} +4 -4
- package/dist/chunks/{schema-xkgcy5zw.js → workspace-86jav2f7.js} +31 -31
- package/dist/chunks/{schema-7v4sg4py.js → workspace-8761qpcg.js} +41 -41
- package/dist/chunks/{schema-8d7r5vzw.js → workspace-8d7r5vzw.js} +1 -1
- package/dist/chunks/{schema-wtzzntf3.js → workspace-8hpffc5d.js} +15 -15
- package/dist/chunks/{schema-8p4f9s12.js → workspace-8p4f9s12.js} +2 -2
- package/dist/chunks/{schema-fb69kj5w.js → workspace-8p83gb6h.js} +6 -6
- package/dist/chunks/{schema-1ns5ss6t.js → workspace-90qgvd9n.js} +23 -23
- package/dist/chunks/{schema-h86j3tsh.js → workspace-91xp5nbf.js} +7 -7
- package/dist/chunks/{schema-yefxppqx.js → workspace-93dyhyad.js} +17 -17
- package/dist/chunks/{schema-sfvj2g2k.js → workspace-93hpb89x.js} +3 -3
- package/dist/chunks/{schema-cq37gk0t.js → workspace-95x6xbkr.js} +4 -4
- package/dist/chunks/{schema-5y7wjg0m.js → workspace-97s80yy3.js} +23 -23
- package/dist/chunks/{schema-af8qyc7k.js → workspace-9a52esse.js} +28 -28
- package/dist/chunks/{schema-h8t2fjwh.js → workspace-9cex7hp6.js} +63 -63
- package/dist/chunks/{schema-qssq5wvh.js → workspace-9k2v62xn.js} +1 -1
- package/dist/chunks/{schema-rxb98w6d.js → workspace-9m6qag95.js} +19 -19
- package/dist/chunks/{schema-tmcnbrvb.js → workspace-9mbwqz4q.js} +39 -39
- package/dist/chunks/{schema-vyjxsjpz.js → workspace-9n5bgjha.js} +3 -3
- package/dist/chunks/{schema-d09006c3.js → workspace-9zswys26.js} +9 -9
- package/dist/chunks/{schema-a1bz86dw.js → workspace-a1bz86dw.js} +3 -3
- package/dist/chunks/{schema-zkvpckg7.js → workspace-a2vj9kk6.js} +17 -17
- package/dist/chunks/{schema-za9cx4qh.js → workspace-a68v6zx7.js} +8 -8
- package/dist/chunks/{schema-aaet6srn.js → workspace-aaet6srn.js} +2 -2
- package/dist/chunks/{schema-pecb0brz.js → workspace-af04s6ss.js} +5 -5
- package/dist/chunks/{schema-wcbqwdj0.js → workspace-ak2adswv.js} +15 -15
- package/dist/chunks/{schema-844ef7ks.js → workspace-asmz7wyz.js} +8 -8
- package/dist/chunks/{schema-23sxaqwc.js → workspace-awaee7qt.js} +4 -4
- package/dist/chunks/{schema-50ew5km2.js → workspace-awhdw3pf.js} +82 -82
- package/dist/chunks/{schema-dghgjkkt.js → workspace-awz7xhfp.js} +4 -4
- package/dist/chunks/{schema-yzyvjjcs.js → workspace-ayjzdqkx.js} +4 -4
- package/dist/chunks/{schema-b6gygkdw.js → workspace-b6gygkdw.js} +2 -2
- package/dist/chunks/{schema-5c7w043m.js → workspace-b8gwhbay.js} +22 -22
- package/dist/chunks/{schema-3m330dqz.js → workspace-b94pmmqr.js} +293 -293
- package/dist/chunks/{schema-dhmh7aw6.js → workspace-baaqp4zd.js} +4 -4
- package/dist/chunks/{schema-em9bvvd7.js → workspace-beamd2gc.js} +7 -7
- package/dist/chunks/{schema-ahwzvjet.js → workspace-bgqpk6ej.js} +5 -5
- package/dist/chunks/{schema-1tjd06ef.js → workspace-bh0wyjv7.js} +6 -6
- package/dist/chunks/{schema-x1b8f3r0.js → workspace-bkqaqtv1.js} +22 -22
- package/dist/chunks/{schema-9f3e1ggy.js → workspace-bskx12th.js} +7 -7
- package/dist/chunks/{schema-zggabhn7.js → workspace-bsxfqzhc.js} +11 -11
- package/dist/chunks/{schema-dsy3s5w9.js → workspace-bt8hdx22.js} +20 -20
- package/dist/chunks/{schema-rxcp57d1.js → workspace-c0mtdgpv.js} +16 -16
- package/dist/chunks/{schema-ann5hjcn.js → workspace-c4t116nm.js} +3 -3
- package/dist/chunks/{schema-bdg5dsss.js → workspace-c82pnra3.js} +35 -35
- package/dist/chunks/{schema-cfpkc3c9.js → workspace-cfpkc3c9.js} +2 -2
- package/dist/chunks/{schema-e0camyxs.js → workspace-cgnjyr8a.js} +47 -47
- package/dist/chunks/{schema-27qrrwqp.js → workspace-cjsvwj1q.js} +15 -15
- package/dist/chunks/{schema-mjdfv6k0.js → workspace-cwtysmh4.js} +12 -12
- package/dist/chunks/{schema-wkm5226z.js → workspace-d53dp3ny.js} +11 -11
- package/dist/chunks/{schema-w94wf1va.js → workspace-d5a42mez.js} +18 -18
- package/dist/chunks/{schema-s4bpprrf.js → workspace-dffz74yj.js} +26 -26
- package/dist/chunks/{schema-7f85ph34.js → workspace-dgmwn8ez.js} +8 -8
- package/dist/chunks/{schema-t0fxg8b9.js → workspace-dj9sq318.js} +5 -5
- package/dist/chunks/{schema-mey9myn8.js → workspace-dvzjgrza.js} +41 -41
- package/dist/chunks/{schema-tc2jbzt4.js → workspace-e3b0d0gy.js} +9 -9
- package/dist/chunks/{schema-zwyzcrrk.js → workspace-e4k3fffr.js} +23 -23
- package/dist/chunks/{schema-4kjqrx32.js → workspace-ed1arge1.js} +18 -18
- package/dist/chunks/{schema-0mgswt6t.js → workspace-eds7zwp6.js} +22 -22
- package/dist/chunks/{schema-jmarb9hd.js → workspace-eh4km76q.js} +26 -26
- package/dist/chunks/{schema-fge0ah70.js → workspace-ej8xv5ds.js} +3 -3
- package/dist/chunks/{schema-mhkvc446.js → workspace-eq1pz5kg.js} +3 -3
- package/dist/chunks/{schema-y0gb26f5.js → workspace-eramvw3w.js} +20 -20
- package/dist/chunks/{schema-7s02b6me.js → workspace-esdnemd6.js} +1 -1
- package/dist/chunks/{schema-etq0c3wd.js → workspace-etq0c3wd.js} +1 -1
- package/dist/chunks/{schema-0y31edgy.js → workspace-ewztbjbx.js} +167 -167
- package/dist/chunks/{schema-9gmrc3m2.js → workspace-f10twq9w.js} +11 -11
- package/dist/chunks/{schema-sbqjgjqr.js → workspace-f4x3f9y9.js} +29 -29
- package/dist/chunks/{schema-6xtbsy03.js → workspace-f5agypy8.js} +16 -16
- package/dist/chunks/{schema-f828m53h.js → workspace-f828m53h.js} +2 -2
- package/dist/chunks/{schema-dhqycw72.js → workspace-fmah640z.js} +11 -11
- package/dist/chunks/{schema-fmmn8x74.js → workspace-fq1h1v14.js} +3 -3
- package/dist/chunks/{schema-v3jcw94y.js → workspace-fvr7jna4.js} +13 -13
- package/dist/chunks/{schema-fxbjtjnd.js → workspace-fxbjtjnd.js} +1 -1
- package/dist/chunks/{schema-fban3jjy.js → workspace-g5twr0sp.js} +12 -12
- package/dist/chunks/{schema-g8d3gcyj.js → workspace-g8d3gcyj.js} +1 -1
- package/dist/chunks/{schema-gd4qta3r.js → workspace-gd4qta3r.js} +1 -1
- package/dist/chunks/{schema-gwfas74g.js → workspace-gf3khw20.js} +18 -18
- package/dist/chunks/{schema-wa9n8nyq.js → workspace-gj9xpvv3.js} +8 -8
- package/dist/chunks/{schema-3ezse2vx.js → workspace-gk38wydt.js} +15 -15
- package/dist/chunks/{schema-m1qbg9kq.js → workspace-gsyxgrq8.js} +35 -35
- package/dist/chunks/{schema-gv6a8nnw.js → workspace-gv6a8nnw.js} +2 -2
- package/dist/chunks/{schema-d1z56afy.js → workspace-gwwc15b8.js} +14 -14
- package/dist/chunks/{schema-h03wrkyp.js → workspace-h03wrkyp.js} +2 -2
- package/dist/chunks/{schema-n5zjdcc0.js → workspace-h2gyv3sg.js} +1 -1
- package/dist/chunks/{schema-h6vf3j39.js → workspace-h6vf3j39.js} +1 -1
- package/dist/chunks/{schema-gsx0ryk4.js → workspace-h7ygw6q4.js} +9 -9
- package/dist/chunks/{schema-c9rkggg0.js → workspace-hrhrxexm.js} +4 -4
- package/dist/chunks/{schema-j56e64zr.js → workspace-j56e64zr.js} +1 -1
- package/dist/chunks/{schema-3ry4enn3.js → workspace-j69p6wmc.js} +26 -26
- package/dist/chunks/{schema-jxtw827s.js → workspace-j6rj9xt6.js} +41 -41
- package/dist/chunks/{schema-2eyxhsen.js → workspace-jab8rdhp.js} +9 -9
- package/dist/chunks/{schema-8z893rkr.js → workspace-jwqth68t.js} +19 -19
- package/dist/chunks/{schema-9zb8tb0e.js → workspace-jxn2j4b1.js} +4 -4
- package/dist/chunks/{schema-esxv8tw4.js → workspace-k19spz14.js} +4 -4
- package/dist/chunks/{schema-r007a4a3.js → workspace-k1hbjbhr.js} +41 -41
- package/dist/chunks/{schema-gwng5rs7.js → workspace-kenqsagb.js} +9 -9
- package/dist/chunks/{schema-dv2wkykp.js → workspace-kfdzm4dd.js} +27 -27
- package/dist/chunks/{schema-kg06axw8.js → workspace-kg06axw8.js} +1 -1
- package/dist/chunks/{schema-0b4tyj5c.js → workspace-kma43rbx.js} +35 -35
- package/dist/chunks/{schema-6anwy9fs.js → workspace-kxpygcw9.js} +4 -4
- package/dist/chunks/{schema-m9w0rfyh.js → workspace-m9w0rfyh.js} +1 -1
- package/dist/chunks/{schema-mkcjrzeh.js → workspace-mkcjrzeh.js} +1 -1
- package/dist/chunks/{schema-g26fr9df.js → workspace-mpxhxrb2.js} +18 -18
- package/dist/chunks/{schema-xwwz9aqf.js → workspace-mqy0jkn2.js} +4 -4
- package/dist/chunks/{schema-vdpebk9b.js → workspace-mrk2ms14.js} +34 -34
- package/dist/chunks/{schema-2ee8pmxs.js → workspace-mrw4weg4.js} +5 -5
- package/dist/chunks/{schema-yeaas6gx.js → workspace-mtd5x7py.js} +20 -20
- package/dist/chunks/{schema-aynen3k2.js → workspace-mw6ans9c.js} +5 -5
- package/dist/chunks/{schema-0d55fq0h.js → workspace-mxj2eewr.js} +20 -20
- package/dist/chunks/{schema-a97fztfj.js → workspace-n51qh0r9.js} +6 -6
- package/dist/chunks/{schema-47gsdddb.js → workspace-nhy5jxhy.js} +5 -5
- package/dist/chunks/{schema-cavr175a.js → workspace-nrdmrqsx.js} +4 -4
- package/dist/chunks/{schema-jhk25xys.js → workspace-ntgxvp5h.js} +11 -11
- package/dist/chunks/{schema-n0amp1ck.js → workspace-p129658b.js} +15 -15
- package/dist/chunks/{schema-pjvnvgmy.js → workspace-pjvnvgmy.js} +1 -1
- package/dist/chunks/{schema-zq2jd2av.js → workspace-pkjnw8xf.js} +27 -27
- package/dist/chunks/{schema-pknna89w.js → workspace-pknna89w.js} +1 -1
- package/dist/chunks/{schema-f8zp45td.js → workspace-pn6nrrpr.js} +27 -27
- package/dist/chunks/{schema-xk1y82za.js → workspace-pq4st5kv.js} +2 -2
- package/dist/chunks/{schema-j2raxa28.js → workspace-q265yh5d.js} +10 -10
- package/dist/chunks/{schema-vncycja5.js → workspace-q2b1ymqp.js} +4 -4
- package/dist/chunks/{schema-4xtb46xg.js → workspace-q3jq24j1.js} +14 -14
- package/dist/chunks/workspace-q509s3k3.js +18 -0
- package/dist/chunks/{schema-pm9j628w.js → workspace-qkek724z.js} +8 -8
- package/dist/chunks/{schema-qjnxxf51.js → workspace-qn4ba14w.js} +5 -5
- package/dist/chunks/{schema-cfzd05x5.js → workspace-qqbqqn54.js} +38 -38
- package/dist/chunks/{schema-qsdy395h.js → workspace-qsdy395h.js} +1 -1
- package/dist/chunks/{schema-9sx9q53n.js → workspace-qzyph8ek.js} +11 -11
- package/dist/chunks/{schema-h4xjf306.js → workspace-r0nnab1q.js} +24 -24
- package/dist/chunks/{schema-ymnsp9y8.js → workspace-r7x04355.js} +30 -30
- package/dist/chunks/{schema-tqae5094.js → workspace-rdz2tx67.js} +5 -5
- package/dist/chunks/{schema-7jfqf6pz.js → workspace-rjqwr5dw.js} +24 -24
- package/dist/chunks/{schema-tfgscs23.js → workspace-rme5v0wm.js} +10 -10
- package/dist/chunks/{schema-wkxdf99e.js → workspace-rrjgssxh.js} +46 -46
- package/dist/chunks/{schema-6jex2xta.js → workspace-rs226bz6.js} +5 -5
- package/dist/chunks/{schema-yxc59d7f.js → workspace-rtv6ahp9.js} +8 -8
- package/dist/chunks/{schema-xaf9dczh.js → workspace-rztdx977.js} +9 -9
- package/dist/chunks/{schema-7z1274hf.js → workspace-s2bazk07.js} +14 -14
- package/dist/chunks/{schema-33v1kfw7.js → workspace-s5g9mpsf.js} +4 -4
- package/dist/chunks/{schema-26bm9vc1.js → workspace-s6jr34qb.js} +26 -26
- package/dist/chunks/{schema-cvdpw4j1.js → workspace-s7731dqm.js} +2 -2
- package/dist/chunks/{schema-bm1f71yt.js → workspace-sp5zyyma.js} +8 -8
- package/dist/chunks/{schema-jxbvqnrb.js → workspace-srvat6zp.js} +6 -6
- package/dist/chunks/{schema-n0pywpq4.js → workspace-t6msp11s.js} +6 -6
- package/dist/chunks/{schema-ygg5s4mj.js → workspace-t6qa8pj9.js} +18 -18
- package/dist/chunks/{schema-62t5ee4h.js → workspace-t7b1xacm.js} +8 -8
- package/dist/chunks/{schema-tazgh4e4.js → workspace-tazgh4e4.js} +1 -1
- package/dist/chunks/{schema-tcezcvh9.js → workspace-tcezcvh9.js} +1 -1
- package/dist/chunks/{schema-tdstcens.js → workspace-tdstcens.js} +1 -1
- package/dist/chunks/{schema-tvtrv512.js → workspace-tvtrv512.js} +1 -1
- package/dist/chunks/{schema-pr80m118.js → workspace-v1cqtm69.js} +16 -16
- package/dist/chunks/{schema-8gnjjt4m.js → workspace-v84z85pp.js} +15 -15
- package/dist/chunks/{schema-7tvckfyj.js → workspace-v9ct93z2.js} +8 -8
- package/dist/chunks/{schema-hf8cnsjw.js → workspace-vabb23s0.js} +1 -1
- package/dist/chunks/{schema-mqqdt0nc.js → workspace-ve0zfa78.js} +12 -12
- package/dist/chunks/{schema-veqvce7d.js → workspace-veqvce7d.js} +1 -1
- package/dist/chunks/{schema-t1bhcjx3.js → workspace-vypqtakx.js} +1 -1
- package/dist/chunks/{schema-vzcthcp8.js → workspace-vzcthcp8.js} +1 -1
- package/dist/chunks/{schema-e9cy62py.js → workspace-vze96k0n.js} +4 -4
- package/dist/chunks/{schema-8nq6hfsb.js → workspace-w23a9fg2.js} +6 -6
- package/dist/chunks/{schema-w3wsvvr9.js → workspace-w3wsvvr9.js} +1 -1
- package/dist/chunks/{schema-wd87259q.js → workspace-wd87259q.js} +1 -1
- package/dist/chunks/{schema-rry7wysn.js → workspace-wgq3akg3.js} +21 -21
- package/dist/chunks/{schema-v6kh18tr.js → workspace-wkwfxgj3.js} +4 -4
- package/dist/chunks/{schema-3csdgxhx.js → workspace-wmqmw210.js} +8 -8
- package/dist/chunks/{schema-p58x6frn.js → workspace-wn4kdw9q.js} +4 -4
- package/dist/chunks/{schema-2q85j725.js → workspace-wv6yb1rv.js} +1 -1
- package/dist/chunks/{schema-p0qwd5gw.js → workspace-wwhdthxc.js} +21 -21
- package/dist/chunks/{schema-ejffycx6.js → workspace-wynthrjp.js} +6 -6
- package/dist/chunks/{schema-d34vvr7x.js → workspace-wzkwse1s.js} +13 -13
- package/dist/chunks/workspace-x04nape8.js +247 -0
- package/dist/chunks/{schema-x1ezjp6w.js → workspace-x1ezjp6w.js} +1 -1
- package/dist/chunks/{schema-x43y2vfs.js → workspace-x43y2vfs.js} +2 -2
- package/dist/chunks/{schema-1z0ea248.js → workspace-xkzbfh0m.js} +13 -13
- package/dist/chunks/{schema-39r80e1r.js → workspace-xmh8jj88.js} +1 -1
- package/dist/chunks/{schema-rk0rec3h.js → workspace-xp88wr07.js} +9 -9
- package/dist/chunks/{schema-rwf0nzrt.js → workspace-xwwm14an.js} +9 -9
- package/dist/chunks/{schema-y1fvbwt7.js → workspace-y1fvbwt7.js} +1 -1
- package/dist/chunks/workspace-y31r8zkp.js +22 -0
- package/dist/chunks/{schema-dpkg50ah.js → workspace-y71avatq.js} +4 -4
- package/dist/chunks/{schema-5212w71j.js → workspace-ya5s98jd.js} +11 -11
- package/dist/chunks/{schema-sthx2gx7.js → workspace-yagmabmz.js} +4 -4
- package/dist/chunks/{schema-yrhqyw5v.js → workspace-yrhqyw5v.js} +1 -1
- package/dist/chunks/{schema-yrznvahk.js → workspace-yrznvahk.js} +2 -2
- package/dist/chunks/{schema-x583y8qn.js → workspace-yyhgy33t.js} +13 -13
- package/dist/chunks/{schema-z0bkrqjs.js → workspace-z0bkrqjs.js} +1 -1
- package/dist/chunks/{schema-z63w68vq.js → workspace-z63w68vq.js} +2 -2
- package/dist/chunks/{schema-hx6nt0pb.js → workspace-z9xz7t7m.js} +24 -24
- package/dist/chunks/{schema-zeh9ct20.js → workspace-zeh9ct20.js} +2 -2
- package/dist/chunks/{schema-19z7ckkr.js → workspace-zka56nxw.js} +30 -30
- package/dist/chunks/{schema-s621ccm3.js → workspace-zke2pdp6.js} +11 -11
- package/dist/chunks/{schema-apccazr7.js → workspace-zqpyhaa2.js} +10 -10
- package/dist/chunks/{schema-zr2ceqn5.js → workspace-zr2ceqn5.js} +1 -1
- package/dist/chunks/{schema-zxq2ej10.js → workspace-zxq2ej10.js} +1 -1
- package/dist/chunks/{schema-m3yrrbbr.js → workspace-zyzp2298.js} +10 -10
- package/dist/codemode/catalog.js +1 -1
- package/dist/codemode/instructions.js +9 -9
- package/dist/codemode/tool.js +2 -2
- package/dist/command.js +81 -81
- package/dist/config/discovery.js +77 -77
- package/dist/config/markdown.js +1 -1
- package/dist/config/normalize.js +19 -19
- package/dist/config/plugin/agent.js +117 -117
- package/dist/config/plugin/command.js +209 -209
- package/dist/config/plugin/compaction.js +155 -155
- package/dist/config/plugin/entry-observer.js +1 -1
- package/dist/config/plugin/formatter.js +117 -117
- package/dist/config/plugin/image.js +115 -115
- package/dist/config/plugin/instruction.js +85 -85
- package/dist/config/plugin/location-watcher.js +117 -117
- package/dist/config/plugin/mcp.js +126 -126
- package/dist/config/plugin/policy.js +114 -114
- package/dist/config/plugin/provider.js +113 -113
- package/dist/config/plugin/reference.js +117 -117
- package/dist/config/plugin/shell.js +118 -118
- package/dist/config/plugin/skill-file.js +97 -97
- package/dist/config/plugin/skill.js +136 -136
- package/dist/config/plugin/snapshot.js +115 -115
- package/dist/config/plugin/source.js +117 -117
- package/dist/config/plugin/tool-output.js +117 -117
- package/dist/config/plugin/websearch.js +115 -115
- package/dist/config/plugin/worktree.js +118 -118
- package/dist/config/variable.js +3 -3
- package/dist/config/watch.js +1 -1
- package/dist/config.js +119 -119
- package/dist/credential/sql.js +2 -2
- package/dist/credential.js +77 -77
- package/dist/database/database.js +64 -64
- 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.gen.js +47 -47
- package/dist/database/migration.js +49 -49
- 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 +74 -74
- 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 +88 -88
- package/dist/environment/exec-defaults.js +2 -2
- package/dist/environment/files.js +1 -1
- package/dist/environment/index.js +90 -90
- 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 +68 -68
- package/dist/file-access.js +99 -99
- package/dist/file-mutation.js +89 -89
- 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 +2 -2
- package/dist/filesystem/location-watcher.js +222 -222
- package/dist/filesystem/protected.js +1 -1
- package/dist/filesystem/search.js +99 -99
- package/dist/filesystem/watcher-binding.js +1 -1
- package/dist/filesystem/watcher.js +15 -15
- package/dist/filesystem.js +96 -96
- package/dist/form.js +82 -82
- package/dist/formatter/builtins.js +4 -4
- package/dist/formatter.js +82 -82
- package/dist/generate.js +93 -93
- 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 +7 -7
- 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 +79 -79
- package/dist/instructions/builtins.js +82 -82
- package/dist/instructions/index.js +3 -3
- package/dist/integration/connection.js +1 -1
- package/dist/integration.js +86 -86
- package/dist/job.js +75 -75
- package/dist/kv/sql.js +2 -2
- package/dist/kv.js +71 -71
- package/dist/location-activity.js +128 -128
- package/dist/location-mutation.js +99 -99
- package/dist/location-service-map.js +81 -81
- package/dist/location-services.js +349 -349
- package/dist/location.js +82 -82
- package/dist/mcp/client.js +86 -86
- package/dist/mcp/index.js +103 -103
- package/dist/mcp/instructions.js +122 -122
- package/dist/mcp/oauth.js +3 -3
- package/dist/mcp/stdio.js +85 -85
- package/dist/mime.js +1 -1
- package/dist/modal/models.js +7 -7
- package/dist/model-resolver.js +86 -86
- package/dist/model.js +8 -8
- package/dist/models-dev.js +86 -86
- package/dist/oauth/page.js +1 -1
- package/dist/permission/saved.js +78 -78
- package/dist/permission/sql.js +5 -5
- package/dist/permission.js +100 -100
- package/dist/persistent-pty/binary.bun.js +1 -1
- package/dist/persistent-pty/daemon.js +1 -1
- package/dist/persistent-pty/index.js +86 -86
- package/dist/persistent-pty/pty-binding.js +1 -1
- package/dist/persistent-pty.js +73 -73
- package/dist/plugin/agent.js +99 -99
- package/dist/plugin/command.js +96 -96
- package/dist/plugin/hooks.js +5 -5
- package/dist/plugin/host.js +213 -213
- 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 +75 -75
- package/dist/plugin/module.js +7 -7
- package/dist/plugin/optimize.js +4 -4
- package/dist/plugin/plan.js +97 -97
- 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/anthropic.js +2 -2
- package/dist/plugin/provider/azure.js +118 -118
- package/dist/plugin/provider/cerebras.js +2 -2
- package/dist/plugin/provider/cloudflare-ai-gateway.js +117 -117
- package/dist/plugin/provider/cloudflare-workers-ai.js +117 -117
- package/dist/plugin/provider/cohere.js +2 -2
- package/dist/plugin/provider/configured.js +114 -114
- package/dist/plugin/provider/digitalocean.js +79 -79
- 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 +80 -80
- 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 +76 -76
- package/dist/plugin/provider/lmstudio.js +117 -117
- package/dist/plugin/provider/mistral.js +2 -2
- package/dist/plugin/provider/modal.js +79 -79
- package/dist/plugin/provider/nvidia.js +2 -2
- package/dist/plugin/provider/ollama.js +117 -117
- package/dist/plugin/provider/openai-compatible.js +1 -1
- package/dist/plugin/provider/openai.js +80 -80
- package/dist/plugin/provider/opencode.js +76 -76
- package/dist/plugin/provider/openrouter.js +3 -3
- package/dist/plugin/provider/perplexity.js +2 -2
- 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 +117 -117
- package/dist/plugin/provider/venice.js +2 -2
- package/dist/plugin/provider/vercel.js +2 -2
- package/dist/plugin/provider/vllm.js +117 -117
- package/dist/plugin/provider/xai.js +77 -77
- package/dist/plugin/provider/zenmux.js +2 -2
- package/dist/plugin/provider.js +156 -156
- package/dist/plugin/sdk.js +74 -74
- package/dist/plugin/service.js +3 -3
- package/dist/plugin/skill.js +129 -129
- package/dist/plugin/source-directory.js +1 -1
- package/dist/plugin/supervisor.js +340 -340
- package/dist/plugin/update.js +6 -6
- package/dist/plugin/variant.js +4 -4
- package/dist/plugin/vcs/git.js +82 -82
- package/dist/plugin/vcs/hg.js +82 -82
- package/dist/plugin/warming.js +112 -112
- package/dist/plugin/websearch/exa.js +7 -7
- package/dist/plugin/websearch/firecrawl.js +8 -8
- 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 +224 -224
- package/dist/project/schema.js +8 -8
- package/dist/project/sql.js +4 -4
- package/dist/project.js +85 -85
- package/dist/provider.js +3 -3
- 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 +92 -92
- package/dist/reference/instructions.js +84 -84
- package/dist/reference.js +84 -84
- package/dist/repository-cache.js +76 -76
- package/dist/repository.js +3 -3
- package/dist/ripgrep/binary.js +2 -2
- package/dist/ripgrep.js +91 -91
- package/dist/rpc.js +81 -81
- package/dist/schema.js +1 -1
- package/dist/session/command.js +72 -72
- package/dist/session/compaction.js +127 -127
- package/dist/session/context.js +147 -147
- package/dist/session/environment.js +5 -5
- package/dist/session/error.js +3 -3
- package/dist/session/event.js +1 -1
- package/dist/session/execution/restart.js +216 -216
- package/dist/session/execution.js +124 -124
- package/dist/session/generate.js +148 -148
- package/dist/session/history.js +13 -13
- package/dist/session/inbox.js +86 -86
- package/dist/session/info.js +3 -3
- package/dist/session/instruction-entry.js +77 -77
- package/dist/session/instruction-state.js +8 -8
- package/dist/session/instructions.js +92 -92
- package/dist/session/message-updater.js +2 -2
- package/dist/session/message.js +1 -1
- package/dist/session/model-request.js +113 -113
- package/dist/session/model-transport.js +9 -9
- package/dist/session/move.js +126 -126
- package/dist/session/projector.js +84 -84
- package/dist/session/prompt.js +100 -100
- package/dist/session/provider-context.js +3 -3
- package/dist/session/revert.js +85 -85
- package/dist/session/run-coordinator.js +3 -3
- package/dist/session/runner/index.js +3 -3
- package/dist/session/runner/llm.js +225 -225
- package/dist/session/runner/max-steps.js +1 -1
- package/dist/session/runner/model.js +86 -86
- package/dist/session/runner/publish-llm-event.js +3 -3
- package/dist/session/runner/retry.js +110 -110
- package/dist/session/runner/step.js +119 -119
- package/dist/session/runner/to-llm-message.js +2 -2
- package/dist/session/schema.js +5 -5
- package/dist/session/session.js +169 -169
- package/dist/session/shell.js +131 -131
- package/dist/session/skill.js +98 -98
- package/dist/session/sql.js +5 -5
- package/dist/session/stats.js +71 -71
- package/dist/session/store.js +85 -85
- package/dist/session/subagent-completion.js +1 -1
- package/dist/session/subagent-job.js +205 -205
- package/dist/session/system-prompt.js +3 -3
- package/dist/session/title.js +149 -149
- package/dist/session/to-session-error.js +107 -107
- package/dist/session/transfer.js +212 -212
- package/dist/session/usage.js +1 -1
- package/dist/session.js +209 -209
- 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 +13 -13
- package/dist/shell.js +133 -133
- package/dist/skill/discovery.js +6 -6
- package/dist/skill/instructions.js +102 -102
- package/dist/skill.js +101 -101
- package/dist/snapshot.js +88 -88
- 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 +121 -121
- package/dist/tool/plugin/edit.js +113 -113
- package/dist/tool/plugin/file-diff.js +1 -1
- package/dist/tool/plugin/glob.js +120 -120
- package/dist/tool/plugin/grep.js +120 -120
- package/dist/tool/plugin/opencode.js +3 -3
- package/dist/tool/plugin/patch.js +113 -113
- package/dist/tool/plugin/question.js +100 -100
- package/dist/tool/plugin/read.js +121 -121
- package/dist/tool/plugin/shell.js +212 -212
- package/dist/tool/plugin/skill.js +108 -108
- package/dist/tool/plugin/subagent.js +214 -214
- package/dist/tool/plugin/webfetch.js +107 -107
- package/dist/tool/plugin/websearch.js +105 -105
- package/dist/tool/plugin/write.js +117 -117
- package/dist/tool/read-filesystem.js +96 -96
- package/dist/tool/runtime.js +1 -1
- package/dist/tool-output.js +8 -8
- package/dist/tool.js +13 -13
- 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 +5 -5
- package/dist/v1/config/attachment.js +4 -4
- package/dist/v1/config/command.js +1 -1
- package/dist/v1/config/config.js +16 -16
- package/dist/v1/config/error.js +2 -2
- package/dist/v1/config/formatter.js +3 -3
- package/dist/v1/config/layout.js +1 -1
- package/dist/v1/config/lsp.js +3 -3
- package/dist/v1/config/mcp.js +4 -4
- package/dist/v1/config/migrate.js +4 -4
- package/dist/v1/config/permission.js +3 -3
- package/dist/v1/config/plugin.js +3 -3
- 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 +85 -85
- package/dist/websearch.js +82 -82
- package/dist/wellknown/plugin.js +74 -74
- package/dist/wellknown.js +77 -77
- package/dist/workspace/driver.js +7 -7
- package/dist/workspace/sql.js +1 -1
- package/dist/workspace.js +78 -78
- package/dist/worktree/directory.js +2 -2
- 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 +89 -89
- package/package.json +8 -8
- package/dist/chunks/schema-619r8v3y.js +0 -18
- package/dist/chunks/schema-6kdq0pjd.js +0 -4
- package/dist/chunks/schema-9bt6bcbt.js +0 -247
- package/dist/chunks/schema-ky4k0tjn.js +0 -22
- /package/dist/chunks/{schema-0qkdqm5v.js → workspace-0qkdqm5v.js} +0 -0
- /package/dist/chunks/{schema-0zkw76rk.js → workspace-0zkw76rk.js} +0 -0
- /package/dist/chunks/{schema-17cy0kzp.js → workspace-17cy0kzp.js} +0 -0
- /package/dist/chunks/{schema-1cnp2v09.js → workspace-1cnp2v09.js} +0 -0
- /package/dist/chunks/{schema-1kg9ymc8.js → workspace-1kg9ymc8.js} +0 -0
- /package/dist/chunks/{schema-2710q6r3.js → workspace-2710q6r3.js} +0 -0
- /package/dist/chunks/{schema-2axfhc9x.js → workspace-2axfhc9x.js} +0 -0
- /package/dist/chunks/{schema-2c3vjs8z.js → workspace-2c3vjs8z.js} +0 -0
- /package/dist/chunks/{schema-359p4xyc.js → workspace-359p4xyc.js} +0 -0
- /package/dist/chunks/{schema-3asan66x.js → workspace-3asan66x.js} +0 -0
- /package/dist/chunks/{schema-3v8g72cx.js → workspace-3v8g72cx.js} +0 -0
- /package/dist/chunks/{schema-3w5fmr99.js → workspace-3w5fmr99.js} +0 -0
- /package/dist/chunks/{schema-3wcehsnq.js → workspace-3wcehsnq.js} +0 -0
- /package/dist/chunks/{schema-43n2bw4t.js → workspace-43n2bw4t.js} +0 -0
- /package/dist/chunks/{schema-4knz6hnm.js → workspace-4knz6hnm.js} +0 -0
- /package/dist/chunks/{schema-4y7fprxs.js → workspace-4y7fprxs.js} +0 -0
- /package/dist/chunks/{schema-53557ph1.js → workspace-53557ph1.js} +0 -0
- /package/dist/chunks/{schema-550bvhaj.js → workspace-550bvhaj.js} +0 -0
- /package/dist/chunks/{schema-6prwharc.js → workspace-6prwharc.js} +0 -0
- /package/dist/chunks/{schema-7akdwqpd.js → workspace-7akdwqpd.js} +0 -0
- /package/dist/chunks/{schema-7m9af43g.js → workspace-7m9af43g.js} +0 -0
- /package/dist/chunks/{schema-822emrt2.js → workspace-822emrt2.js} +0 -0
- /package/dist/chunks/{schema-88xbtdfr.js → workspace-88xbtdfr.js} +0 -0
- /package/dist/chunks/{schema-8n3pysct.js → workspace-8n3pysct.js} +0 -0
- /package/dist/chunks/{schema-922hggd3.js → workspace-922hggd3.js} +0 -0
- /package/dist/chunks/{schema-9a4afbnw.js → workspace-9a4afbnw.js} +0 -0
- /package/dist/chunks/{schema-9rqn6x4v.js → workspace-9rqn6x4v.js} +0 -0
- /package/dist/chunks/{schema-a1tpkmh4.js → workspace-a1tpkmh4.js} +0 -0
- /package/dist/chunks/{schema-a6k6eb26.js → workspace-a6k6eb26.js} +0 -0
- /package/dist/chunks/{schema-af5trqkr.js → workspace-af5trqkr.js} +0 -0
- /package/dist/chunks/{schema-afrmfg78.js → workspace-afrmfg78.js} +0 -0
- /package/dist/chunks/{schema-aqzs7mqg.js → workspace-aqzs7mqg.js} +0 -0
- /package/dist/chunks/{schema-atq7p7m5.js → workspace-atq7p7m5.js} +0 -0
- /package/dist/chunks/{schema-bkyjaxrp.js → workspace-bkyjaxrp.js} +0 -0
- /package/dist/chunks/{schema-bmr6ed5q.js → workspace-bmr6ed5q.js} +0 -0
- /package/dist/chunks/{schema-cf4snx6d.js → workspace-cf4snx6d.js} +0 -0
- /package/dist/chunks/{schema-cvy3z8tj.js → workspace-cvy3z8tj.js} +0 -0
- /package/dist/chunks/{schema-d9fn303g.js → workspace-d9fn303g.js} +0 -0
- /package/dist/chunks/{schema-d9jj8t3e.js → workspace-d9jj8t3e.js} +0 -0
- /package/dist/chunks/{schema-dajrwvna.js → workspace-dajrwvna.js} +0 -0
- /package/dist/chunks/{schema-dap0rakb.js → workspace-dap0rakb.js} +0 -0
- /package/dist/chunks/{schema-df08tz66.js → workspace-df08tz66.js} +0 -0
- /package/dist/chunks/{schema-dy18nga0.js → workspace-dy18nga0.js} +0 -0
- /package/dist/chunks/{schema-e5kj55wp.js → workspace-e5kj55wp.js} +0 -0
- /package/dist/chunks/{schema-e73j6tqm.js → workspace-e73j6tqm.js} +0 -0
- /package/dist/chunks/{schema-ec1grn59.js → workspace-ec1grn59.js} +0 -0
- /package/dist/chunks/{schema-eh3zwz77.js → workspace-eh3zwz77.js} +0 -0
- /package/dist/chunks/{schema-emrn6kk6.js → workspace-emrn6kk6.js} +0 -0
- /package/dist/chunks/{schema-f0mxakyp.js → workspace-f0mxakyp.js} +0 -0
- /package/dist/chunks/{schema-f6n9ztr4.js → workspace-f6n9ztr4.js} +0 -0
- /package/dist/chunks/{schema-faypxj3z.js → workspace-faypxj3z.js} +0 -0
- /package/dist/chunks/{schema-fd410y7t.js → workspace-fd410y7t.js} +0 -0
- /package/dist/chunks/{schema-fxgpk5d8.js → workspace-fxgpk5d8.js} +0 -0
- /package/dist/chunks/{schema-g4wezp1m.js → workspace-g4wezp1m.js} +0 -0
- /package/dist/chunks/{schema-g86h250q.js → workspace-g86h250q.js} +0 -0
- /package/dist/chunks/{schema-gebd4c9n.js → workspace-gebd4c9n.js} +0 -0
- /package/dist/chunks/{schema-gftt206x.js → workspace-gftt206x.js} +0 -0
- /package/dist/chunks/{schema-hjbc5kem.js → workspace-hjbc5kem.js} +0 -0
- /package/dist/chunks/{schema-hk9envan.js → workspace-hk9envan.js} +0 -0
- /package/dist/chunks/{schema-hrnqkpcd.js → workspace-hrnqkpcd.js} +0 -0
- /package/dist/chunks/{schema-j2ntwpah.js → workspace-j2ntwpah.js} +0 -0
- /package/dist/chunks/{schema-j5zkgpj8.js → workspace-j5zkgpj8.js} +0 -0
- /package/dist/chunks/{schema-jr7sbwjy.js → workspace-jr7sbwjy.js} +0 -0
- /package/dist/chunks/{schema-jwfs4k6c.js → workspace-jwfs4k6c.js} +0 -0
- /package/dist/chunks/{schema-jzg6c2d5.js → workspace-jzg6c2d5.js} +0 -0
- /package/dist/chunks/{schema-mp448xyj.js → workspace-mp448xyj.js} +0 -0
- /package/dist/chunks/{schema-msx8hqn2.js → workspace-msx8hqn2.js} +0 -0
- /package/dist/chunks/{schema-n05xt0ee.js → workspace-n05xt0ee.js} +0 -0
- /package/dist/chunks/{schema-n3j8tn72.js → workspace-n3j8tn72.js} +0 -0
- /package/dist/chunks/{schema-njntx4h6.js → workspace-njntx4h6.js} +0 -0
- /package/dist/chunks/{schema-paphc93g.js → workspace-paphc93g.js} +0 -0
- /package/dist/chunks/{schema-q3sfg36h.js → workspace-q3sfg36h.js} +0 -0
- /package/dist/chunks/{schema-q74kybfr.js → workspace-q74kybfr.js} +0 -0
- /package/dist/chunks/{schema-qaymkmh1.js → workspace-qaymkmh1.js} +0 -0
- /package/dist/chunks/{schema-qb87gjwd.js → workspace-qb87gjwd.js} +0 -0
- /package/dist/chunks/{schema-qfa1cgps.js → workspace-qfa1cgps.js} +0 -0
- /package/dist/chunks/{schema-qrg20bc0.js → workspace-qrg20bc0.js} +0 -0
- /package/dist/chunks/{schema-rcb2kzg1.js → workspace-rcb2kzg1.js} +0 -0
- /package/dist/chunks/{schema-sdp7kfr6.js → workspace-sdp7kfr6.js} +0 -0
- /package/dist/chunks/{schema-sk3qaz4a.js → workspace-sk3qaz4a.js} +0 -0
- /package/dist/chunks/{schema-ssg3fenm.js → workspace-ssg3fenm.js} +0 -0
- /package/dist/chunks/{schema-twg0f83k.js → workspace-twg0f83k.js} +0 -0
- /package/dist/chunks/{schema-w803qqfp.js → workspace-w803qqfp.js} +0 -0
- /package/dist/chunks/{schema-wer8tq1h.js → workspace-wer8tq1h.js} +0 -0
- /package/dist/chunks/{schema-wtztk69x.js → workspace-wtztk69x.js} +0 -0
- /package/dist/chunks/{schema-x0ckcb58.js → workspace-x0ckcb58.js} +0 -0
- /package/dist/chunks/{schema-x61499pn.js → workspace-x61499pn.js} +0 -0
- /package/dist/chunks/{schema-y44na4kk.js → workspace-y44na4kk.js} +0 -0
- /package/dist/chunks/{schema-y8cydn3q.js → workspace-y8cydn3q.js} +0 -0
- /package/dist/chunks/{schema-ygaqb7jw.js → workspace-ygaqb7jw.js} +0 -0
- /package/dist/chunks/{schema-ym463w8f.js → workspace-ym463w8f.js} +0 -0
- /package/dist/chunks/{schema-z9919s4g.js → workspace-z9919s4g.js} +0 -0
|
@@ -2,10 +2,10 @@ import {
|
|
|
2
2
|
NotFound2,
|
|
3
3
|
WrongKind2,
|
|
4
4
|
Failed2
|
|
5
|
-
} from "./
|
|
5
|
+
} from "./workspace-2a5m3afh.js";
|
|
6
6
|
import {
|
|
7
7
|
__export
|
|
8
|
-
} from "./
|
|
8
|
+
} from "./workspace-9rqn6x4v.js";
|
|
9
9
|
|
|
10
10
|
// src/environment/exec-defaults.ts
|
|
11
11
|
var exports_exec_defaults = {};
|
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
import {
|
|
2
2
|
SessionMessage2
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./workspace-gftt206x.js";
|
|
4
4
|
import {
|
|
5
5
|
__export
|
|
6
|
-
} from "./
|
|
6
|
+
} from "./workspace-9rqn6x4v.js";
|
|
7
7
|
|
|
8
8
|
// src/session/message-updater.ts
|
|
9
9
|
var exports_message_updater = {};
|
|
@@ -1,31 +1,31 @@
|
|
|
1
1
|
import {
|
|
2
2
|
SessionMessage2
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./workspace-gftt206x.js";
|
|
4
4
|
import {
|
|
5
5
|
SessionSchema2
|
|
6
|
-
} from "./
|
|
6
|
+
} from "./workspace-93hpb89x.js";
|
|
7
7
|
import {
|
|
8
8
|
MessageDecodeError2
|
|
9
|
-
} from "./
|
|
9
|
+
} from "./workspace-c4t116nm.js";
|
|
10
10
|
import {
|
|
11
11
|
InitializationBlocked2,
|
|
12
12
|
read3
|
|
13
|
-
} from "./
|
|
13
|
+
} from "./workspace-0gdmqesm.js";
|
|
14
14
|
import {
|
|
15
15
|
SessionMessageTable2
|
|
16
|
-
} from "./
|
|
16
|
+
} from "./workspace-a1bz86dw.js";
|
|
17
17
|
import {
|
|
18
18
|
initial2,
|
|
19
19
|
preview3
|
|
20
|
-
} from "./
|
|
20
|
+
} from "./workspace-95x6xbkr.js";
|
|
21
21
|
import {
|
|
22
22
|
compatible2,
|
|
23
23
|
isCheckpoint2,
|
|
24
24
|
validate2
|
|
25
|
-
} from "./
|
|
25
|
+
} from "./workspace-81czwxpn.js";
|
|
26
26
|
import {
|
|
27
27
|
__export
|
|
28
|
-
} from "./
|
|
28
|
+
} from "./workspace-9rqn6x4v.js";
|
|
29
29
|
|
|
30
30
|
// src/session/history.ts
|
|
31
31
|
var exports_history = {};
|
|
@@ -1,29 +1,29 @@
|
|
|
1
1
|
import {
|
|
2
|
-
|
|
3
|
-
} from "./
|
|
2
|
+
Service66
|
|
3
|
+
} from "./workspace-r0nnab1q.js";
|
|
4
4
|
import {
|
|
5
|
-
|
|
6
|
-
} from "./
|
|
5
|
+
Service56
|
|
6
|
+
} from "./workspace-50p99xk2.js";
|
|
7
7
|
import {
|
|
8
8
|
__export
|
|
9
|
-
} from "./
|
|
9
|
+
} from "./workspace-9rqn6x4v.js";
|
|
10
10
|
|
|
11
11
|
// src/tool/plugin/question.ts
|
|
12
12
|
var exports_question = {};
|
|
13
13
|
__export(exports_question, {
|
|
14
14
|
CancelledError: () => CancelledError2,
|
|
15
|
-
Input: () =>
|
|
15
|
+
Input: () => Input13,
|
|
16
16
|
Output: () => Output9,
|
|
17
17
|
Plugin: () => Plugin45,
|
|
18
18
|
QuestionTool: () => exports_question,
|
|
19
19
|
description: () => description6,
|
|
20
|
-
name: () =>
|
|
20
|
+
name: () => name13,
|
|
21
21
|
toModelContent: () => toModelContent7
|
|
22
22
|
});
|
|
23
23
|
import { ToolFailure } from "@opencode/ai";
|
|
24
24
|
import { Effect, Schema } from "effect";
|
|
25
25
|
import { Question } from "@opencode/schema/question";
|
|
26
|
-
var
|
|
26
|
+
var name13 = "question";
|
|
27
27
|
var description6 = `Use this tool when you need to ask the user questions during execution. This allows you to:
|
|
28
28
|
1. Gather user preferences or requirements
|
|
29
29
|
2. Clarify ambiguous instructions
|
|
@@ -34,7 +34,7 @@ Usage notes:
|
|
|
34
34
|
- A "Type your own answer" option is added automatically; don't include a separate option for free form answers
|
|
35
35
|
- Set \`multiple: true\` to allow selecting more than one option
|
|
36
36
|
- If you recommend a specific option, make that the first option in the list and add "(Recommended)" at the end of the label`;
|
|
37
|
-
var
|
|
37
|
+
var Input13 = Schema.Struct({
|
|
38
38
|
questions: Schema.Array(Question.Prompt).check(Schema.isNonEmpty()).annotate({ description: "Questions to ask" })
|
|
39
39
|
});
|
|
40
40
|
var Output9 = Schema.Struct({
|
|
@@ -53,13 +53,13 @@ var toModelContent7 = (questions, answers) => {
|
|
|
53
53
|
var Plugin45 = {
|
|
54
54
|
id: "opencode.tool.question",
|
|
55
55
|
effect: Effect.fn("QuestionTool.Plugin")(function* (ctx) {
|
|
56
|
-
const forms = yield*
|
|
57
|
-
const permission = yield*
|
|
56
|
+
const forms = yield* Service66;
|
|
57
|
+
const permission = yield* Service56;
|
|
58
58
|
yield* ctx.tool.transform((editor) => editor.add({
|
|
59
|
-
name:
|
|
59
|
+
name: name13,
|
|
60
60
|
options: { codemode: false },
|
|
61
61
|
description: description6,
|
|
62
|
-
input:
|
|
62
|
+
input: Input13,
|
|
63
63
|
output: Output9,
|
|
64
64
|
execute: (input, context) => permission.assert({
|
|
65
65
|
action: "question",
|
|
@@ -115,4 +115,4 @@ function toField(question, index) {
|
|
|
115
115
|
};
|
|
116
116
|
}
|
|
117
117
|
|
|
118
|
-
export {
|
|
118
|
+
export { name13, description6, Input13, Output9, CancelledError2, toModelContent7, Plugin45, exports_question };
|
|
@@ -2,44 +2,44 @@ import {
|
|
|
2
2
|
mergeOverlay2,
|
|
3
3
|
mergeHeaders2,
|
|
4
4
|
Info30
|
|
5
|
-
} from "./
|
|
5
|
+
} from "./workspace-84tssp1s.js";
|
|
6
6
|
import {
|
|
7
7
|
Info29
|
|
8
|
-
} from "./
|
|
8
|
+
} from "./workspace-g5twr0sp.js";
|
|
9
9
|
import {
|
|
10
10
|
Service79,
|
|
11
11
|
node84
|
|
12
|
-
} from "./
|
|
12
|
+
} from "./workspace-wn4kdw9q.js";
|
|
13
13
|
import {
|
|
14
14
|
create3
|
|
15
|
-
} from "./
|
|
15
|
+
} from "./workspace-kg06axw8.js";
|
|
16
16
|
import {
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
} from "./
|
|
17
|
+
ID11,
|
|
18
|
+
Service65,
|
|
19
|
+
node68
|
|
20
|
+
} from "./workspace-eh4km76q.js";
|
|
21
21
|
import {
|
|
22
22
|
__export
|
|
23
|
-
} from "./
|
|
23
|
+
} from "./workspace-9rqn6x4v.js";
|
|
24
24
|
|
|
25
25
|
// src/catalog.ts
|
|
26
26
|
var exports_catalog2 = {};
|
|
27
27
|
__export(exports_catalog2, {
|
|
28
28
|
Catalog: () => exports_catalog2,
|
|
29
|
-
Event: () =>
|
|
30
|
-
Service: () =>
|
|
31
|
-
node: () =>
|
|
29
|
+
Event: () => Event13,
|
|
30
|
+
Service: () => Service64,
|
|
31
|
+
node: () => node67
|
|
32
32
|
});
|
|
33
33
|
import { makeLocationNode } from "@opencode/util/effect/app-node";
|
|
34
34
|
import { Array, Context, Effect, Layer, Order, pipe } from "effect";
|
|
35
35
|
import { Catalog } from "@opencode/schema/catalog";
|
|
36
|
-
import { Event as
|
|
36
|
+
import { Event as Event13 } from "@opencode/schema/catalog";
|
|
37
37
|
|
|
38
|
-
class
|
|
38
|
+
class Service64 extends Context.Service()("@opencode/Catalog") {
|
|
39
39
|
}
|
|
40
|
-
var layer = Layer.effect(
|
|
40
|
+
var layer = Layer.effect(Service64, Effect.gen(function* () {
|
|
41
41
|
const bus = yield* Service79;
|
|
42
|
-
const integrations = yield*
|
|
42
|
+
const integrations = yield* Service65;
|
|
43
43
|
const available = (provider, integration) => {
|
|
44
44
|
if (provider.activation === "disabled")
|
|
45
45
|
return false;
|
|
@@ -129,7 +129,7 @@ var layer = Layer.effect(Service75, Effect.gen(function* () {
|
|
|
129
129
|
}),
|
|
130
130
|
available: Effect.fn("Catalog.provider.available")(function* () {
|
|
131
131
|
const active = new Map((yield* integrations.list()).map((integration) => [integration.id, integration]));
|
|
132
|
-
return (yield* result.provider.all()).filter((provider) => available(provider, active.get(provider.integrationID ??
|
|
132
|
+
return (yield* result.provider.all()).filter((provider) => available(provider, active.get(provider.integrationID ?? ID11.make(provider.id))));
|
|
133
133
|
})
|
|
134
134
|
},
|
|
135
135
|
model: {
|
|
@@ -184,9 +184,9 @@ var layer = Layer.effect(Service75, Effect.gen(function* () {
|
|
|
184
184
|
})
|
|
185
185
|
}
|
|
186
186
|
};
|
|
187
|
-
return
|
|
187
|
+
return Service64.of(result);
|
|
188
188
|
}));
|
|
189
189
|
var SMALL_MODEL_FAMILY_PRIORITY = ["gpt-luna", "gemini-flash-lite", "gemini-flash", "claude-haiku"];
|
|
190
|
-
var
|
|
190
|
+
var node67 = makeLocationNode({ service: Service64, layer, deps: [node84, node68] });
|
|
191
191
|
|
|
192
|
-
export {
|
|
192
|
+
export { Service64, node67, exports_catalog2, Event13 };
|
|
@@ -1,32 +1,32 @@
|
|
|
1
1
|
import {
|
|
2
2
|
RelativePath2
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./workspace-922hggd3.js";
|
|
4
4
|
import {
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
} from "./
|
|
5
|
+
Service61,
|
|
6
|
+
node64
|
|
7
|
+
} from "./workspace-v1cqtm69.js";
|
|
8
8
|
import {
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
} from "./
|
|
9
|
+
Service18,
|
|
10
|
+
node21
|
|
11
|
+
} from "./workspace-q3jq24j1.js";
|
|
12
12
|
import {
|
|
13
13
|
isHome2,
|
|
14
14
|
names3
|
|
15
|
-
} from "./
|
|
15
|
+
} from "./workspace-tcezcvh9.js";
|
|
16
16
|
import {
|
|
17
17
|
__export
|
|
18
|
-
} from "./
|
|
18
|
+
} from "./workspace-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: () => Options2,
|
|
25
|
+
Service: () => Service17,
|
|
26
|
+
configured: () => configured2,
|
|
27
27
|
fffLayer: () => fffLayer2,
|
|
28
|
-
layer: () =>
|
|
29
|
-
node: () =>
|
|
28
|
+
layer: () => layer8,
|
|
29
|
+
node: () => node20,
|
|
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 Options2 = Schema.Struct({
|
|
39
39
|
fff: Schema.optional(Schema.Boolean)
|
|
40
40
|
});
|
|
41
41
|
|
|
42
|
-
class
|
|
42
|
+
class Service17 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(Service17, Effect.gen(function* () {
|
|
62
|
+
const location = yield* Service61;
|
|
63
|
+
const ripgrep = yield* Service18;
|
|
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(Service22, 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 Service17.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(Service17, Effect.gen(function* () {
|
|
116
|
+
const location = yield* Service61;
|
|
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(Service22, 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 Service17.of({
|
|
130
130
|
find: () => Effect.succeed([])
|
|
131
131
|
});
|
|
132
132
|
}
|
|
133
133
|
yield* Effect.addFinalizer(() => Effect.sync(() => result.value.destroy()));
|
|
134
|
-
return
|
|
134
|
+
return Service17.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(Service22, Effect.gen(function* () {
|
|
|
174
174
|
})
|
|
175
175
|
});
|
|
176
176
|
}));
|
|
177
|
-
var
|
|
178
|
-
const location = yield*
|
|
177
|
+
var layer8 = (options) => Layer.unwrap(Effect.gen(function* () {
|
|
178
|
+
const location = yield* Service61;
|
|
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 configured2(options) {
|
|
186
|
+
return makeLocationNode({ service: Service17, layer: layer8(options), deps: [node64, node21] });
|
|
187
187
|
}
|
|
188
|
-
var
|
|
188
|
+
var node20 = configured2();
|
|
189
189
|
|
|
190
|
-
export {
|
|
190
|
+
export { Options2, Service17, ripgrepLayer2, fffLayer2, layer8, configured2, node20, exports_search };
|
|
@@ -1,56 +1,56 @@
|
|
|
1
1
|
import {
|
|
2
2
|
Service79,
|
|
3
3
|
node84
|
|
4
|
-
} from "./
|
|
4
|
+
} from "./workspace-wn4kdw9q.js";
|
|
5
5
|
import {
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
} from "./
|
|
6
|
+
Event18,
|
|
7
|
+
Service75,
|
|
8
|
+
node80
|
|
9
|
+
} from "./workspace-0cmfkvjr.js";
|
|
10
10
|
import {
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
} from "./
|
|
11
|
+
Service42,
|
|
12
|
+
node46
|
|
13
|
+
} from "./workspace-10dffqyq.js";
|
|
14
14
|
import {
|
|
15
15
|
AbsolutePath2
|
|
16
|
-
} from "./
|
|
16
|
+
} from "./workspace-922hggd3.js";
|
|
17
17
|
import {
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
} from "./
|
|
18
|
+
Service61,
|
|
19
|
+
node64
|
|
20
|
+
} from "./workspace-v1cqtm69.js";
|
|
21
21
|
import {
|
|
22
22
|
substitute2
|
|
23
|
-
} from "./
|
|
23
|
+
} from "./workspace-yrznvahk.js";
|
|
24
24
|
import {
|
|
25
25
|
normalize2
|
|
26
|
-
} from "./
|
|
26
|
+
} from "./workspace-b8gwhbay.js";
|
|
27
27
|
import {
|
|
28
28
|
names4,
|
|
29
29
|
discover3
|
|
30
|
-
} from "./
|
|
30
|
+
} from "./workspace-bgqpk6ej.js";
|
|
31
31
|
import {
|
|
32
32
|
plan2
|
|
33
|
-
} from "./
|
|
33
|
+
} from "./workspace-j56e64zr.js";
|
|
34
34
|
import {
|
|
35
|
-
|
|
36
|
-
|
|
37
|
-
|
|
38
|
-
} from "./
|
|
35
|
+
Service43,
|
|
36
|
+
Event7,
|
|
37
|
+
node47
|
|
38
|
+
} from "./workspace-mpxhxrb2.js";
|
|
39
39
|
import {
|
|
40
40
|
__export
|
|
41
|
-
} from "./
|
|
41
|
+
} from "./workspace-9rqn6x4v.js";
|
|
42
42
|
|
|
43
43
|
// src/config.ts
|
|
44
44
|
var exports_config = {};
|
|
45
45
|
__export(exports_config, {
|
|
46
46
|
Config: () => exports_config,
|
|
47
|
-
Options: () =>
|
|
48
|
-
Service: () =>
|
|
47
|
+
Options: () => Options4,
|
|
48
|
+
Service: () => Service41,
|
|
49
49
|
Test: () => Test2,
|
|
50
|
-
configured: () =>
|
|
50
|
+
configured: () => configured4,
|
|
51
51
|
latest: () => latest2,
|
|
52
|
-
layer: () =>
|
|
53
|
-
node: () =>
|
|
52
|
+
layer: () => layer15,
|
|
53
|
+
node: () => node45,
|
|
54
54
|
testLayer: () => testLayer2
|
|
55
55
|
});
|
|
56
56
|
import { makeLocationNode } from "@opencode/util/effect/app-node";
|
|
@@ -71,14 +71,14 @@ import { Global } from "@opencode/util/global";
|
|
|
71
71
|
function latest2(entries, key) {
|
|
72
72
|
return entries.findLast((entry) => entry.type === "document" && entry.info[key] !== undefined)?.info[key];
|
|
73
73
|
}
|
|
74
|
-
var
|
|
74
|
+
var Options4 = Schema.Struct({
|
|
75
75
|
project: Schema.optional(Schema.Boolean),
|
|
76
76
|
global: Schema.optional(Schema.Boolean),
|
|
77
77
|
file: Schema.optional(Schema.String),
|
|
78
78
|
content: Schema.optional(Schema.String)
|
|
79
79
|
});
|
|
80
80
|
|
|
81
|
-
class
|
|
81
|
+
class Service41 extends Context.Service()("@opencode/Config") {
|
|
82
82
|
}
|
|
83
83
|
|
|
84
84
|
class Test2 extends Context.Service()("@opencode/Config/Test") {
|
|
@@ -92,15 +92,15 @@ var testLayer2 = (initial = []) => Layer.effectContext(Effect.gen(function* () {
|
|
|
92
92
|
setEntries: (next) => Ref.set(entries, next),
|
|
93
93
|
emitChange: (update) => PubSub.publish(updates, update).pipe(Effect.asVoid)
|
|
94
94
|
});
|
|
95
|
-
return Context.empty().pipe(Context.add(
|
|
95
|
+
return Context.empty().pipe(Context.add(Service41, service), Context.add(Test2, service));
|
|
96
96
|
}));
|
|
97
|
-
var
|
|
97
|
+
var layer15 = (options) => Layer.effect(Service41, Effect.gen(function* () {
|
|
98
98
|
const fs = yield* FSUtil.Service;
|
|
99
|
-
const location = yield*
|
|
100
|
-
const watcher = yield*
|
|
99
|
+
const location = yield* Service61;
|
|
100
|
+
const watcher = yield* Service42;
|
|
101
101
|
const bus = yield* Service79;
|
|
102
|
-
const credentials = yield*
|
|
103
|
-
const wellknown = yield*
|
|
102
|
+
const credentials = yield* Service75;
|
|
103
|
+
const wellknown = yield* Service43;
|
|
104
104
|
const reloadLock = Semaphore.makeUnsafe(1);
|
|
105
105
|
const decodeOptions = { errors: "all", onExcessProperty: "ignore", propertyOrder: "original" };
|
|
106
106
|
const decodeInfo = Schema.decodeUnknownOption(Info, decodeOptions);
|
|
@@ -223,8 +223,8 @@ var layer17 = (options) => Layer.effect(Service43, Effect.gen(function* () {
|
|
|
223
223
|
}, (effect) => reloadLock.withPermit(effect));
|
|
224
224
|
const pendingReloads = yield* PubSub.subscribe(reloads);
|
|
225
225
|
yield* Stream.fromSubscription(pendingReloads).pipe(Stream.debounce("100 millis"), Stream.runForEach(() => reload().pipe(Effect.catchCause((cause) => Effect.logError("failed to reload config", { cause })))), Effect.forkScoped({ startImmediately: true }));
|
|
226
|
-
yield* bus.subscribe(
|
|
227
|
-
yield* bus.subscribe(
|
|
226
|
+
yield* bus.subscribe(Event18.Switched).pipe(Stream.filterEffect((event) => wellknown.entries().pipe(Effect.map((entries) => entries.some((entry) => entry.integrationID === event.data.integrationID)), Effect.orElseSucceed(() => false))), Stream.runForEach(() => reload().pipe(Effect.catchCause((cause) => Effect.logError("failed to reload wellknown config", { cause })))), Effect.forkScoped({ startImmediately: true }));
|
|
227
|
+
yield* bus.subscribe(Event7.Updated).pipe(Stream.runForEach(() => reload().pipe(Effect.catchCause((cause) => Effect.logError("failed to reload wellknown sources", { cause })))), Effect.forkScoped({ startImmediately: true }));
|
|
228
228
|
yield* Effect.sleep("10 minutes").pipe(Effect.andThen(Effect.suspend(() => {
|
|
229
229
|
if (!wellknown.snapshot().length)
|
|
230
230
|
return Effect.void;
|
|
@@ -235,20 +235,20 @@ var layer17 = (options) => Layer.effect(Service43, Effect.gen(function* () {
|
|
|
235
235
|
}).pipe(Effect.catchCause((cause) => Effect.logWarning("failed to refresh wellknown config", { cause })));
|
|
236
236
|
})), Effect.forever, Effect.forkScoped({ startImmediately: true }));
|
|
237
237
|
yield* reloadLock.withPermit(reconcile(initial));
|
|
238
|
-
return
|
|
238
|
+
return Service41.of({
|
|
239
239
|
entries: Effect.fnUntraced(function* () {
|
|
240
240
|
return configs;
|
|
241
241
|
}),
|
|
242
242
|
changes: () => Stream.fromPubSub(updates)
|
|
243
243
|
});
|
|
244
244
|
}));
|
|
245
|
-
function
|
|
245
|
+
function configured4(options) {
|
|
246
246
|
return makeLocationNode({
|
|
247
|
-
service:
|
|
248
|
-
layer:
|
|
249
|
-
deps: [
|
|
247
|
+
service: Service41,
|
|
248
|
+
layer: layer15(options),
|
|
249
|
+
deps: [node46, node84, FSUtil.node, Global.node, node64, node80, node47]
|
|
250
250
|
});
|
|
251
251
|
}
|
|
252
|
-
var
|
|
252
|
+
var node45 = configured4();
|
|
253
253
|
|
|
254
|
-
export { latest2,
|
|
254
|
+
export { latest2, Options4, Service41, Test2, testLayer2, layer15, configured4, node45, exports_config };
|
|
@@ -1,13 +1,13 @@
|
|
|
1
1
|
import {
|
|
2
2
|
__export
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./workspace-9rqn6x4v.js";
|
|
4
4
|
|
|
5
5
|
// src/plugin/hooks.ts
|
|
6
6
|
var exports_hooks = {};
|
|
7
7
|
__export(exports_hooks, {
|
|
8
8
|
PluginHooks: () => exports_hooks,
|
|
9
|
-
Service: () =>
|
|
10
|
-
node: () =>
|
|
9
|
+
Service: () => Service60,
|
|
10
|
+
node: () => node63
|
|
11
11
|
});
|
|
12
12
|
import { Context, Effect, Layer, Scope } from "effect";
|
|
13
13
|
import { makeLocationNode } from "@opencode/util/effect/app-node";
|
|
@@ -20,9 +20,9 @@ var eventProviderID = (event) => {
|
|
|
20
20
|
return typeof model.providerID === "string" ? model.providerID : undefined;
|
|
21
21
|
};
|
|
22
22
|
|
|
23
|
-
class
|
|
23
|
+
class Service60 extends Context.Service()("@opencode/PluginHooks") {
|
|
24
24
|
}
|
|
25
|
-
var layer = Layer.effect(
|
|
25
|
+
var layer = Layer.effect(Service60, Effect.gen(function* () {
|
|
26
26
|
const callbacks = new Map;
|
|
27
27
|
const key = (domain, name) => `${domain}.${String(name)}`;
|
|
28
28
|
const register = Effect.fn("PluginHooks.register")(function* (domain, name, callback, options) {
|
|
@@ -54,8 +54,8 @@ var layer = Layer.effect(Service54, Effect.gen(function* () {
|
|
|
54
54
|
return event;
|
|
55
55
|
});
|
|
56
56
|
const has = (domain, name, providerID) => Effect.sync(() => (callbacks.get(key(domain, name)) ?? []).some((entry) => entry.options?.providerID === undefined || entry.options.providerID === providerID));
|
|
57
|
-
return
|
|
57
|
+
return Service60.of({ has, register, trigger });
|
|
58
58
|
}));
|
|
59
|
-
var
|
|
59
|
+
var node63 = makeLocationNode({ service: Service60, layer, deps: [] });
|
|
60
60
|
|
|
61
|
-
export {
|
|
61
|
+
export { Service60, node63, exports_hooks };
|
|
@@ -1,44 +1,44 @@
|
|
|
1
1
|
import {
|
|
2
2
|
Service79,
|
|
3
3
|
node84
|
|
4
|
-
} from "./
|
|
4
|
+
} from "./workspace-wn4kdw9q.js";
|
|
5
5
|
import {
|
|
6
6
|
create3
|
|
7
|
-
} from "./
|
|
7
|
+
} from "./workspace-kg06axw8.js";
|
|
8
8
|
import {
|
|
9
9
|
__export
|
|
10
|
-
} from "./
|
|
10
|
+
} from "./workspace-9rqn6x4v.js";
|
|
11
11
|
|
|
12
12
|
// src/agent.ts
|
|
13
13
|
var exports_agent4 = {};
|
|
14
14
|
__export(exports_agent4, {
|
|
15
15
|
Agent: () => exports_agent4,
|
|
16
16
|
Color: () => Color2,
|
|
17
|
-
Event: () =>
|
|
18
|
-
ID: () =>
|
|
19
|
-
Info: () =>
|
|
17
|
+
Event: () => Event10,
|
|
18
|
+
ID: () => ID8,
|
|
19
|
+
Info: () => Info21,
|
|
20
20
|
Name: () => Name3,
|
|
21
|
-
Service: () =>
|
|
21
|
+
Service: () => Service59,
|
|
22
22
|
defaultID: () => defaultID2,
|
|
23
|
-
node: () =>
|
|
23
|
+
node: () => node62
|
|
24
24
|
});
|
|
25
25
|
import path from "path";
|
|
26
26
|
import { makeLocationNode } from "@opencode/util/effect/app-node";
|
|
27
27
|
import { Array, Context, Effect, Layer } from "effect";
|
|
28
28
|
import { Agent } from "@opencode/schema/agent";
|
|
29
29
|
import { Global } from "@opencode/util/global";
|
|
30
|
-
import { Event as
|
|
30
|
+
import { Event as Event10 } from "@opencode/schema/agent";
|
|
31
31
|
var SHELL_OUTPUT_GLOB = (data) => path.join(data, "shell", "*", "*");
|
|
32
32
|
var TOOL_OUTPUT_GLOB = (data) => path.join(data, "tool-output", "*");
|
|
33
|
-
var
|
|
33
|
+
var ID8 = Agent.ID;
|
|
34
34
|
var Name3 = Agent.Name;
|
|
35
|
-
var defaultID2 =
|
|
35
|
+
var defaultID2 = ID8.make("build");
|
|
36
36
|
var Color2 = Agent.Color;
|
|
37
|
-
var
|
|
37
|
+
var Info21 = Agent.Info;
|
|
38
38
|
|
|
39
|
-
class
|
|
39
|
+
class Service59 extends Context.Service()("@opencode/Agent") {
|
|
40
40
|
}
|
|
41
|
-
var layer = Layer.effect(
|
|
41
|
+
var layer = Layer.effect(Service59, Effect.gen(function* () {
|
|
42
42
|
const bus = yield* Service79;
|
|
43
43
|
const global = yield* Global.Service;
|
|
44
44
|
const permissions = [
|
|
@@ -57,7 +57,7 @@ var layer = Layer.effect(Service62, Effect.gen(function* () {
|
|
|
57
57
|
editor.default = id;
|
|
58
58
|
},
|
|
59
59
|
update: (id, fn) => {
|
|
60
|
-
const defaults =
|
|
60
|
+
const defaults = Info21.default(id);
|
|
61
61
|
const current = editor.agents.get(id) ?? {
|
|
62
62
|
...defaults,
|
|
63
63
|
permissions: [...defaults.permissions, ...permissions]
|
|
@@ -79,7 +79,7 @@ var layer = Layer.effect(Service62, Effect.gen(function* () {
|
|
|
79
79
|
const configured = data.default ? selectable(data.agents.get(data.default)) : undefined;
|
|
80
80
|
if (configured)
|
|
81
81
|
return configured;
|
|
82
|
-
const build = selectable(data.agents.get(
|
|
82
|
+
const build = selectable(data.agents.get(ID8.make("build")));
|
|
83
83
|
if (build)
|
|
84
84
|
return build;
|
|
85
85
|
for (const agent of data.agents.values()) {
|
|
@@ -88,7 +88,7 @@ var layer = Layer.effect(Service62, Effect.gen(function* () {
|
|
|
88
88
|
return fallback;
|
|
89
89
|
}
|
|
90
90
|
};
|
|
91
|
-
return
|
|
91
|
+
return Service59.of({
|
|
92
92
|
transform: state.transform,
|
|
93
93
|
reload: state.reload,
|
|
94
94
|
get: Effect.fn("Agent.get")(function* (id) {
|
|
@@ -96,12 +96,12 @@ var layer = Layer.effect(Service62, Effect.gen(function* () {
|
|
|
96
96
|
}),
|
|
97
97
|
resolve: Effect.fnUntraced(function* (id) {
|
|
98
98
|
if (id !== undefined)
|
|
99
|
-
return state.get().agents.get(
|
|
99
|
+
return state.get().agents.get(ID8.make(id));
|
|
100
100
|
return selectedDefault();
|
|
101
101
|
}),
|
|
102
102
|
select: Effect.fn("Agent.select")(function* (id) {
|
|
103
103
|
if (id !== undefined) {
|
|
104
|
-
const selected =
|
|
104
|
+
const selected = ID8.make(id);
|
|
105
105
|
return { id: selected, info: state.get().agents.get(selected) };
|
|
106
106
|
}
|
|
107
107
|
const info = selectedDefault();
|
|
@@ -116,6 +116,6 @@ var layer = Layer.effect(Service62, Effect.gen(function* () {
|
|
|
116
116
|
})
|
|
117
117
|
});
|
|
118
118
|
}));
|
|
119
|
-
var
|
|
119
|
+
var node62 = makeLocationNode({ service: Service59, layer, deps: [node84, Global.node] });
|
|
120
120
|
|
|
121
|
-
export {
|
|
121
|
+
export { ID8, Name3, defaultID2, Color2, Info21, Service59, node62, exports_agent4, Event10 };
|