@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
|
@@ -1,20 +1,20 @@
|
|
|
1
1
|
import {
|
|
2
2
|
__export
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./generate-9rqn6x4v.js";
|
|
4
4
|
|
|
5
5
|
// src/config/plugin/skill-scan.ts
|
|
6
6
|
var exports_skill_scan = {};
|
|
7
7
|
__export(exports_skill_scan, {
|
|
8
8
|
SkillScan: () => exports_skill_scan,
|
|
9
9
|
ignore: () => ignore2,
|
|
10
|
-
scan: () =>
|
|
10
|
+
scan: () => scan3
|
|
11
11
|
});
|
|
12
12
|
import { FSUtil } from "@opencode/util/fs-util";
|
|
13
13
|
import path from "path";
|
|
14
14
|
import { Effect } from "effect";
|
|
15
15
|
var MAX_DEPTH = 6;
|
|
16
16
|
var ignore2 = [...FSUtil.ignoreGlobs, "**/.*", "**/.*/**"];
|
|
17
|
-
var
|
|
17
|
+
var scan3 = Effect.fn("SkillScan.scan")(function* (root) {
|
|
18
18
|
const fs = yield* FSUtil.Service;
|
|
19
19
|
const files = [];
|
|
20
20
|
const queue = [{ directory: root, depth: 0 }];
|
|
@@ -39,4 +39,4 @@ var scan2 = Effect.fn("SkillScan.scan")(function* (root) {
|
|
|
39
39
|
return files.toSorted();
|
|
40
40
|
});
|
|
41
41
|
|
|
42
|
-
export { ignore2,
|
|
42
|
+
export { ignore2, scan3, exports_skill_scan };
|
|
@@ -2,16 +2,16 @@ import {
|
|
|
2
2
|
managesTransactionsNatively2,
|
|
3
3
|
EffectSQLiteSession2,
|
|
4
4
|
EffectSQLiteTransaction2
|
|
5
|
-
} from "./
|
|
5
|
+
} from "./generate-1gpknkjr.js";
|
|
6
6
|
import {
|
|
7
7
|
EffectSQLiteDatabase2,
|
|
8
8
|
DefaultServices2,
|
|
9
|
-
|
|
9
|
+
make25,
|
|
10
10
|
makeWithDefaults2
|
|
11
|
-
} from "./
|
|
11
|
+
} from "./generate-6ak84kja.js";
|
|
12
12
|
import {
|
|
13
13
|
__export
|
|
14
|
-
} from "./
|
|
14
|
+
} from "./generate-9rqn6x4v.js";
|
|
15
15
|
|
|
16
16
|
// src/database/drizzle/index.ts
|
|
17
17
|
var exports_drizzle = {};
|
|
@@ -22,7 +22,7 @@ __export(exports_drizzle, {
|
|
|
22
22
|
EffectSQLiteDatabase: () => EffectSQLiteDatabase2,
|
|
23
23
|
EffectSQLiteSession: () => EffectSQLiteSession2,
|
|
24
24
|
EffectSQLiteTransaction: () => EffectSQLiteTransaction2,
|
|
25
|
-
make: () =>
|
|
25
|
+
make: () => make25,
|
|
26
26
|
makeWithDefaults: () => makeWithDefaults2,
|
|
27
27
|
managesTransactionsNatively: () => managesTransactionsNatively2
|
|
28
28
|
});
|
|
@@ -2,7 +2,7 @@ import {
|
|
|
2
2
|
getTableColumnsRuntime2,
|
|
3
3
|
orderSelectedFields2,
|
|
4
4
|
mapUpdateSet2
|
|
5
|
-
} from "./
|
|
5
|
+
} from "./generate-emrn6kk6.js";
|
|
6
6
|
|
|
7
7
|
// src/database/drizzle/sqlite-core/effect/insert.ts
|
|
8
8
|
import { applyEffectWrapper } from "drizzle-orm/effect-core/query-effect";
|
|
@@ -1,26 +1,26 @@
|
|
|
1
1
|
import {
|
|
2
2
|
latest2,
|
|
3
|
-
|
|
4
|
-
} from "./
|
|
3
|
+
Service63
|
|
4
|
+
} from "./generate-6f3v2fef.js";
|
|
5
5
|
import {
|
|
6
6
|
observe2
|
|
7
|
-
} from "./
|
|
7
|
+
} from "./generate-hpg1pkwy.js";
|
|
8
8
|
import {
|
|
9
9
|
__export
|
|
10
|
-
} from "./
|
|
10
|
+
} from "./generate-9rqn6x4v.js";
|
|
11
11
|
|
|
12
12
|
// src/config/plugin/websearch.ts
|
|
13
|
-
var
|
|
14
|
-
__export(
|
|
15
|
-
ConfigWebSearchPlugin: () =>
|
|
16
|
-
Plugin: () =>
|
|
13
|
+
var exports_websearch2 = {};
|
|
14
|
+
__export(exports_websearch2, {
|
|
15
|
+
ConfigWebSearchPlugin: () => exports_websearch2,
|
|
16
|
+
Plugin: () => Plugin23
|
|
17
17
|
});
|
|
18
18
|
import { define } from "@opencode/plugin/effect/plugin";
|
|
19
19
|
import { Effect } from "effect";
|
|
20
|
-
var
|
|
20
|
+
var Plugin23 = define({
|
|
21
21
|
id: "opencode.config.websearch",
|
|
22
22
|
effect: Effect.fn(function* (ctx) {
|
|
23
|
-
const config = yield*
|
|
23
|
+
const config = yield* Service63;
|
|
24
24
|
const loaded = yield* observe2(config, ctx.event, ctx.websearch.reload());
|
|
25
25
|
yield* ctx.websearch.transform((websearch) => {
|
|
26
26
|
const selection = latest2(loaded.entries, "websearch");
|
|
@@ -32,4 +32,4 @@ var Plugin25 = define({
|
|
|
32
32
|
})
|
|
33
33
|
});
|
|
34
34
|
|
|
35
|
-
export {
|
|
35
|
+
export { Plugin23, exports_websearch2 };
|
|
@@ -2,18 +2,18 @@ import {
|
|
|
2
2
|
AbsolutePath2,
|
|
3
3
|
PositiveInt2,
|
|
4
4
|
RelativePath2
|
|
5
|
-
} from "./
|
|
5
|
+
} from "./generate-z5v4ffb3.js";
|
|
6
6
|
import {
|
|
7
7
|
Service83,
|
|
8
8
|
node87
|
|
9
|
-
} from "./
|
|
9
|
+
} from "./generate-w43zhwmv.js";
|
|
10
10
|
import {
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
} from "./
|
|
11
|
+
Service73,
|
|
12
|
+
node75
|
|
13
|
+
} from "./generate-5h88a2js.js";
|
|
14
14
|
import {
|
|
15
15
|
__export
|
|
16
|
-
} from "./
|
|
16
|
+
} from "./generate-9rqn6x4v.js";
|
|
17
17
|
|
|
18
18
|
// src/filesystem.ts
|
|
19
19
|
var exports_filesystem = {};
|
|
@@ -24,17 +24,17 @@ __export(exports_filesystem, {
|
|
|
24
24
|
DirectoryAccessDeniedError: () => DirectoryAccessDeniedError2,
|
|
25
25
|
DirectoryNotFoundError: () => DirectoryNotFoundError2,
|
|
26
26
|
Entry: () => Entry2,
|
|
27
|
-
Event: () =>
|
|
27
|
+
Event: () => Event14,
|
|
28
28
|
FileSystem: () => exports_filesystem,
|
|
29
29
|
FindInput: () => FindInput2,
|
|
30
30
|
GlobInput: () => GlobInput2,
|
|
31
31
|
GrepInput: () => GrepInput2,
|
|
32
32
|
Match: () => Match2,
|
|
33
|
-
NotFoundError: () =>
|
|
34
|
-
Service: () =>
|
|
33
|
+
NotFoundError: () => NotFoundError10,
|
|
34
|
+
Service: () => Service72,
|
|
35
35
|
Submatch: () => Submatch2,
|
|
36
36
|
Write: () => Write2,
|
|
37
|
-
node: () =>
|
|
37
|
+
node: () => node74
|
|
38
38
|
});
|
|
39
39
|
import { makeLocationNode } from "@opencode/util/effect/app-node";
|
|
40
40
|
import path from "path";
|
|
@@ -43,7 +43,7 @@ import { FSUtil } from "@opencode/util/fs-util";
|
|
|
43
43
|
import { Entry, FileSystem, FindInput as FindInput2, Write as Write2 } from "@opencode/schema/filesystem";
|
|
44
44
|
import { Entry as Entry2, Match as Match2, Submatch as Submatch2 } from "@opencode/schema/filesystem";
|
|
45
45
|
|
|
46
|
-
class
|
|
46
|
+
class NotFoundError10 extends Schema.TaggedError()("FileSystem.NotFoundError", {
|
|
47
47
|
path: RelativePath2
|
|
48
48
|
}) {
|
|
49
49
|
}
|
|
@@ -92,14 +92,14 @@ class GrepInput2 extends Schema.Class("FileSystem.GrepInput")({
|
|
|
92
92
|
limit: Schema.optionalKey(PositiveInt2)
|
|
93
93
|
}) {
|
|
94
94
|
}
|
|
95
|
-
var
|
|
95
|
+
var Event14 = FileSystem.Event;
|
|
96
96
|
|
|
97
|
-
class
|
|
97
|
+
class Service72 extends Context.Service()("@opencode/FileSystem") {
|
|
98
98
|
}
|
|
99
|
-
var baseLayer = Layer.effect(
|
|
99
|
+
var baseLayer = Layer.effect(Service72, Effect.gen(function* () {
|
|
100
100
|
const fs = yield* FSUtil.Service;
|
|
101
101
|
const location = yield* Service83;
|
|
102
|
-
const search = yield*
|
|
102
|
+
const search = yield* Service73;
|
|
103
103
|
const root = location.workspaceID ? location.directory : yield* fs.realPath(location.directory).pipe(Effect.tap((real) => fs.access(real, { readable: true })), Effect.catch((cause) => {
|
|
104
104
|
if (cause.reason._tag === "NotFound")
|
|
105
105
|
return Effect.fail(new DirectoryNotFoundError2({ directory: location.directory, cause }));
|
|
@@ -109,22 +109,22 @@ var baseLayer = Layer.effect(Service49, Effect.gen(function* () {
|
|
|
109
109
|
}));
|
|
110
110
|
const resolve = Effect.fnUntraced(function* (input) {
|
|
111
111
|
if (input.includes("\x00"))
|
|
112
|
-
return yield* Effect.fail(new
|
|
112
|
+
return yield* Effect.fail(new NotFoundError10({ path: input }));
|
|
113
113
|
const absolute = path.resolve(location.directory, input);
|
|
114
114
|
if (!FSUtil.contains(location.directory, absolute))
|
|
115
|
-
return yield* Effect.fail(new
|
|
116
|
-
const real = yield* fs.realPath(absolute).pipe(Effect.catchReason("PlatformError", "NotFound", () => Effect.fail(new
|
|
115
|
+
return yield* Effect.fail(new NotFoundError10({ path: input }));
|
|
116
|
+
const real = yield* fs.realPath(absolute).pipe(Effect.catchReason("PlatformError", "NotFound", () => Effect.fail(new NotFoundError10({ path: input })), (_, error) => Effect.die(error)));
|
|
117
117
|
if (!FSUtil.contains(root, real))
|
|
118
|
-
return yield* Effect.fail(new
|
|
118
|
+
return yield* Effect.fail(new NotFoundError10({ path: input }));
|
|
119
119
|
return { absolute, real, directory: location.directory };
|
|
120
120
|
});
|
|
121
|
-
return
|
|
121
|
+
return Service72.of({
|
|
122
122
|
find: search.find,
|
|
123
123
|
read: Effect.fn("FileSystem.read")(function* (input) {
|
|
124
124
|
const target = yield* resolve(input.path);
|
|
125
|
-
const info = yield* fs.stat(target.real).pipe(Effect.catchReason("PlatformError", "NotFound", () => Effect.fail(new
|
|
125
|
+
const info = yield* fs.stat(target.real).pipe(Effect.catchReason("PlatformError", "NotFound", () => Effect.fail(new NotFoundError10({ path: input.path })), (_, error) => Effect.die(error)));
|
|
126
126
|
if (info.type !== "File")
|
|
127
|
-
return yield* Effect.fail(new
|
|
127
|
+
return yield* Effect.fail(new NotFoundError10({ path: input.path }));
|
|
128
128
|
return {
|
|
129
129
|
mime: FSUtil.mimeType(target.real),
|
|
130
130
|
size: Number(info.size),
|
|
@@ -134,7 +134,7 @@ var baseLayer = Layer.effect(Service49, Effect.gen(function* () {
|
|
|
134
134
|
}),
|
|
135
135
|
list: Effect.fn("FileSystem.list")(function* (input = {}) {
|
|
136
136
|
const directory = path.resolve(location.directory, input.path ?? ".");
|
|
137
|
-
const missing = new
|
|
137
|
+
const missing = new NotFoundError10({ path: RelativePath2.make(input.path ?? ".") });
|
|
138
138
|
const info = yield* fs.stat(directory).pipe(Effect.catchReason("PlatformError", "NotFound", () => Effect.fail(missing), (_, error) => Effect.die(error)));
|
|
139
139
|
if (info.type !== "Directory")
|
|
140
140
|
return yield* missing;
|
|
@@ -158,10 +158,10 @@ var baseLayer = Layer.effect(Service49, Effect.gen(function* () {
|
|
|
158
158
|
})
|
|
159
159
|
});
|
|
160
160
|
}));
|
|
161
|
-
var
|
|
162
|
-
service:
|
|
161
|
+
var node74 = makeLocationNode({
|
|
162
|
+
service: Service72,
|
|
163
163
|
layer: baseLayer,
|
|
164
|
-
deps: [FSUtil.node, node87,
|
|
164
|
+
deps: [FSUtil.node, node87, node75]
|
|
165
165
|
});
|
|
166
166
|
|
|
167
|
-
export { FindInput2, Write2,
|
|
167
|
+
export { FindInput2, Write2, NotFoundError10, DirectoryNotFoundError2, DirectoryAccessDeniedError2, Content3, DEFAULT_SEARCH_LIMIT2, DEFAULT_SEARCH_TIMEOUT_MS2, GlobInput2, GrepInput2, Event14, Service72, node74, exports_filesystem, Entry2, Match2, Submatch2 };
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import {
|
|
2
|
-
|
|
3
|
-
} from "./
|
|
2
|
+
ID11
|
|
3
|
+
} from "./generate-zs7h2624.js";
|
|
4
4
|
|
|
5
5
|
// src/plugin/provider/openrouter.ts
|
|
6
6
|
import { Effect } from "effect";
|
|
@@ -21,7 +21,7 @@ var OpenRouterPlugin2 = define({
|
|
|
21
21
|
for (const item of models.provider.list()) {
|
|
22
22
|
if (item.provider.package !== "@opencode/ai/providers/openrouter")
|
|
23
23
|
continue;
|
|
24
|
-
for (const modelID of [
|
|
24
|
+
for (const modelID of [ID11.make("gpt-5-chat-latest"), ID11.make("openai/gpt-5-chat")]) {
|
|
25
25
|
if (!models.get(item.provider.id, modelID))
|
|
26
26
|
continue;
|
|
27
27
|
models.update(item.provider.id, modelID, (model) => {
|
|
@@ -1,34 +1,34 @@
|
|
|
1
1
|
import {
|
|
2
2
|
useragent2
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./generate-p1vte9h6.js";
|
|
4
4
|
import {
|
|
5
|
-
|
|
6
|
-
} from "./
|
|
5
|
+
Service86
|
|
6
|
+
} from "./generate-qsh779tg.js";
|
|
7
7
|
import {
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
} from "./
|
|
8
|
+
ID16,
|
|
9
|
+
Event19,
|
|
10
|
+
Service82
|
|
11
|
+
} from "./generate-5zch7wr3.js";
|
|
12
12
|
import {
|
|
13
13
|
key2
|
|
14
|
-
} from "./
|
|
14
|
+
} from "./generate-61ennm6n.js";
|
|
15
15
|
import {
|
|
16
|
-
|
|
16
|
+
ID14,
|
|
17
17
|
MethodID2
|
|
18
|
-
} from "./
|
|
18
|
+
} from "./generate-q18as39h.js";
|
|
19
19
|
import {
|
|
20
20
|
which2
|
|
21
|
-
} from "./
|
|
21
|
+
} from "./generate-qaymkmh1.js";
|
|
22
22
|
import {
|
|
23
|
-
|
|
24
|
-
|
|
25
|
-
} from "./
|
|
23
|
+
ID13,
|
|
24
|
+
Service79
|
|
25
|
+
} from "./generate-h5j7qrbp.js";
|
|
26
26
|
import {
|
|
27
|
-
|
|
28
|
-
} from "./
|
|
27
|
+
ID11
|
|
28
|
+
} from "./generate-zs7h2624.js";
|
|
29
29
|
import {
|
|
30
30
|
configuredSettings2
|
|
31
|
-
} from "./
|
|
31
|
+
} from "./generate-2xh3b742.js";
|
|
32
32
|
|
|
33
33
|
// src/plugin/provider/azure.ts
|
|
34
34
|
import { Clock, Effect, FiberHandle, Option, Schema, Semaphore, Stream } from "effect";
|
|
@@ -63,18 +63,18 @@ var decodeManagementDeployment = Schema.decodeUnknownOption(Schema.Struct({
|
|
|
63
63
|
}));
|
|
64
64
|
var ResourceQuery = Schema.Struct({ query: Schema.String });
|
|
65
65
|
var Resources = Schema.Struct({ data: Schema.Array(Schema.Struct({ id: Schema.NonEmptyString })) });
|
|
66
|
-
function
|
|
66
|
+
function make10(endpoints = {
|
|
67
67
|
resource: (name) => `https://${name}.openai.azure.com/openai`,
|
|
68
68
|
management: "https://management.azure.com"
|
|
69
69
|
}) {
|
|
70
70
|
return define({
|
|
71
71
|
id: "opencode.provider.azure",
|
|
72
72
|
effect: Effect.fn(function* (ctx) {
|
|
73
|
-
const configured = yield* configuredSettings2(
|
|
73
|
+
const configured = yield* configuredSettings2(ID13.azure);
|
|
74
74
|
const processes = yield* AppProcess.Service;
|
|
75
|
-
const bus = yield*
|
|
76
|
-
const credentials = yield*
|
|
77
|
-
const providers = yield*
|
|
75
|
+
const bus = yield* Service86;
|
|
76
|
+
const credentials = yield* Service82;
|
|
77
|
+
const providers = yield* Service79;
|
|
78
78
|
const http = HttpClient.filterStatusOk(yield* HttpClient.HttpClient);
|
|
79
79
|
const tokens = new Map;
|
|
80
80
|
const resourceIDs = new Map;
|
|
@@ -100,11 +100,11 @@ function make7(endpoints = {
|
|
|
100
100
|
const configuredResource = Boolean(resolveResourceName(configured) || typeof configured?.baseURL === "string");
|
|
101
101
|
yield* ctx.integration.transform((editor) => {
|
|
102
102
|
editor.method.update({
|
|
103
|
-
integrationID:
|
|
103
|
+
integrationID: ID13.azure,
|
|
104
104
|
method: { type: "env", names: ["AZURE_API_KEY", "AZURE_COGNITIVE_SERVICES_API_KEY"] }
|
|
105
105
|
});
|
|
106
106
|
editor.method.update({
|
|
107
|
-
integrationID:
|
|
107
|
+
integrationID: ID13.azure,
|
|
108
108
|
method: {
|
|
109
109
|
type: "key",
|
|
110
110
|
label: "API key",
|
|
@@ -122,7 +122,7 @@ function make7(endpoints = {
|
|
|
122
122
|
if (!available)
|
|
123
123
|
return;
|
|
124
124
|
editor.method.update({
|
|
125
|
-
integrationID:
|
|
125
|
+
integrationID: ID13.azure,
|
|
126
126
|
method: {
|
|
127
127
|
id: methodID,
|
|
128
128
|
type: "external",
|
|
@@ -142,8 +142,8 @@ function make7(endpoints = {
|
|
|
142
142
|
});
|
|
143
143
|
});
|
|
144
144
|
const load = Effect.fn("AzurePlugin.load")(function* () {
|
|
145
|
-
const connection = yield* ctx.integration.connection.active(
|
|
146
|
-
const stored = connection?.type === "credential" ? yield* credentials.get(
|
|
145
|
+
const connection = yield* ctx.integration.connection.active(ID13.azure);
|
|
146
|
+
const stored = connection?.type === "credential" ? yield* credentials.get(ID16.make(connection.id)) : undefined;
|
|
147
147
|
return { connection, resource: credentialResource(stored?.value) };
|
|
148
148
|
});
|
|
149
149
|
const findResource = Effect.fn("AzurePlugin.findResource")(function* (resource) {
|
|
@@ -182,7 +182,7 @@ function make7(endpoints = {
|
|
|
182
182
|
}));
|
|
183
183
|
const discover = Effect.fn("AzurePlugin.discover")(function* () {
|
|
184
184
|
const connection = loaded.connection;
|
|
185
|
-
const settings = (yield* providers.get(
|
|
185
|
+
const settings = (yield* providers.get(ID13.azure))?.settings;
|
|
186
186
|
const name = loaded.resource ?? resolveResourceName(settings);
|
|
187
187
|
const url = connection && name !== undefined && resourcePattern.test(name) && typeof settings?.baseURL !== "string" ? `${endpoints.resource(name)}/deployments?api-version=2022-12-01` : undefined;
|
|
188
188
|
if (loaded.connection !== connection)
|
|
@@ -204,11 +204,11 @@ function make7(endpoints = {
|
|
|
204
204
|
const found = yield* deployments(url, name, credential).pipe(Effect.map((list) => list.toSorted((a, b) => a.name.localeCompare(b.name))), Effect.catch((cause) => Effect.logWarning("failed to sync Azure deployments", { cause }).pipe(Effect.as(undefined))));
|
|
205
205
|
if (!found)
|
|
206
206
|
return;
|
|
207
|
-
if (loaded.connection !== connection || key2(connection) !== key2(yield* ctx.integration.connection.active(
|
|
207
|
+
if (loaded.connection !== connection || key2(connection) !== key2(yield* ctx.integration.connection.active(ID13.azure)))
|
|
208
208
|
return;
|
|
209
209
|
if (JSON.stringify(found) === JSON.stringify(loaded.deployments))
|
|
210
210
|
return;
|
|
211
|
-
const catalog = new Map(Array.from((yield* providers.snapshot()).records.get(
|
|
211
|
+
const catalog = new Map(Array.from((yield* providers.snapshot()).records.get(ID13.azure)?.models.keys() ?? [], (id) => [
|
|
212
212
|
id.toLowerCase(),
|
|
213
213
|
id
|
|
214
214
|
]));
|
|
@@ -221,11 +221,11 @@ function make7(endpoints = {
|
|
|
221
221
|
yield* ctx.model.reload();
|
|
222
222
|
});
|
|
223
223
|
const refresh = () => rebind().pipe(Effect.andThen(FiberHandle.run(discovery, discover())));
|
|
224
|
-
const resourceFor = (provider) => provider.id ===
|
|
224
|
+
const resourceFor = (provider) => provider.id === ID13.azure ? loaded.resource ?? resolveResourceName(provider.settings) : resolveResourceName(provider.settings, loaded.resource);
|
|
225
225
|
Object.assign(loaded, yield* load());
|
|
226
226
|
yield* ctx.provider.transform((evt) => {
|
|
227
227
|
for (const item of evt.list()) {
|
|
228
|
-
if (item.provider.id !==
|
|
228
|
+
if (item.provider.id !== ID13.azure && !item.provider.package.startsWith("@opencode/ai/providers/azure/"))
|
|
229
229
|
continue;
|
|
230
230
|
const resourceName = resourceFor(item.provider);
|
|
231
231
|
const websocket = responsesWebSocketCapable(item.provider);
|
|
@@ -240,7 +240,7 @@ function make7(endpoints = {
|
|
|
240
240
|
};
|
|
241
241
|
});
|
|
242
242
|
}
|
|
243
|
-
const item = evt.get(
|
|
243
|
+
const item = evt.get(ID13.azure);
|
|
244
244
|
if (!item)
|
|
245
245
|
return;
|
|
246
246
|
evt.add({
|
|
@@ -251,7 +251,7 @@ function make7(endpoints = {
|
|
|
251
251
|
});
|
|
252
252
|
yield* ctx.model.transform((models) => {
|
|
253
253
|
for (const item of models.provider.list()) {
|
|
254
|
-
if (item.provider.id !==
|
|
254
|
+
if (item.provider.id !== ID13.azure && !item.provider.package.startsWith("@opencode/ai/providers/azure/"))
|
|
255
255
|
continue;
|
|
256
256
|
const resourceName = resourceFor(item.provider);
|
|
257
257
|
if (!resourceName)
|
|
@@ -270,20 +270,20 @@ function make7(endpoints = {
|
|
|
270
270
|
}
|
|
271
271
|
if (!loaded.deployments)
|
|
272
272
|
return;
|
|
273
|
-
const catalog = models.list(
|
|
273
|
+
const catalog = models.list(ID13.azure);
|
|
274
274
|
const deployed = deployedModels(loaded.deployments, catalog);
|
|
275
275
|
for (const model of catalog) {
|
|
276
276
|
if (!deployed.has(model.id))
|
|
277
|
-
models.remove(
|
|
277
|
+
models.remove(ID13.azure, model.id);
|
|
278
278
|
}
|
|
279
279
|
for (const [id, model] of deployed) {
|
|
280
|
-
models.update(
|
|
280
|
+
models.update(ID13.azure, id, (draft) => Object.assign(draft, model));
|
|
281
281
|
}
|
|
282
282
|
});
|
|
283
|
-
yield* bus.subscribe(
|
|
283
|
+
yield* bus.subscribe(Event19.Switched).pipe(Stream.filter((event) => event.data.integrationID === ID14.make("azure")), Stream.runForEach(() => refresh()), Effect.forkScoped({ startImmediately: true }));
|
|
284
284
|
yield* refresh().pipe(Effect.forkScoped);
|
|
285
285
|
const bearer = Effect.fn("AzurePlugin.bearer")(function* (url) {
|
|
286
|
-
const connection = yield* ctx.integration.connection.active(
|
|
286
|
+
const connection = yield* ctx.integration.connection.active(ID13.azure);
|
|
287
287
|
const credential = connection ? yield* ctx.integration.connection.resolve(connection).pipe(Effect.orElseSucceed(() => {
|
|
288
288
|
return;
|
|
289
289
|
})) : undefined;
|
|
@@ -295,7 +295,7 @@ function make7(endpoints = {
|
|
|
295
295
|
return `Bearer ${current.access}`;
|
|
296
296
|
});
|
|
297
297
|
yield* ctx.session.hook("http.request", (evt) => Effect.gen(function* () {
|
|
298
|
-
if (evt.model.providerID !==
|
|
298
|
+
if (evt.model.providerID !== ID13.azure)
|
|
299
299
|
return;
|
|
300
300
|
const authorization = yield* bearer(evt.request.url);
|
|
301
301
|
if (!authorization)
|
|
@@ -304,9 +304,9 @@ function make7(endpoints = {
|
|
|
304
304
|
evt.request.headers.delete("x-api-key");
|
|
305
305
|
evt.request.headers.set("authorization", authorization);
|
|
306
306
|
evt.request.headers.set("user-agent", useragent2(ctx.app));
|
|
307
|
-
}), { providerID:
|
|
307
|
+
}), { providerID: ID13.azure });
|
|
308
308
|
yield* ctx.session.hook("experimental.ws.handshake", (evt) => Effect.gen(function* () {
|
|
309
|
-
if (evt.model.providerID !==
|
|
309
|
+
if (evt.model.providerID !== ID13.azure)
|
|
310
310
|
return;
|
|
311
311
|
const authorization = yield* bearer(evt.url);
|
|
312
312
|
if (!authorization)
|
|
@@ -315,11 +315,11 @@ function make7(endpoints = {
|
|
|
315
315
|
delete evt.headers["x-api-key"];
|
|
316
316
|
evt.headers.authorization = authorization;
|
|
317
317
|
evt.headers["user-agent"] = useragent2(ctx.app);
|
|
318
|
-
}), { providerID:
|
|
318
|
+
}), { providerID: ID13.azure });
|
|
319
319
|
})
|
|
320
320
|
});
|
|
321
321
|
}
|
|
322
|
-
var AzurePlugin2 =
|
|
322
|
+
var AzurePlugin2 = make10();
|
|
323
323
|
function resolveResourceName(settings, fallback) {
|
|
324
324
|
const configured = settings?.resourceName;
|
|
325
325
|
if (typeof configured === "string" && configured.trim() !== "")
|
|
@@ -349,11 +349,11 @@ function deployedModels(deployments, catalog) {
|
|
|
349
349
|
const model = catalogModel(models, deployment);
|
|
350
350
|
if (!model)
|
|
351
351
|
return [];
|
|
352
|
-
const id =
|
|
352
|
+
const id = ID11.make(deployment.name.toLowerCase());
|
|
353
353
|
const info = {
|
|
354
354
|
...structuredClone(model),
|
|
355
355
|
id,
|
|
356
|
-
modelID:
|
|
356
|
+
modelID: ID11.make(deployment.name),
|
|
357
357
|
name: id === model.id.toLowerCase() ? model.name : `${model.name} (${deployment.name})`
|
|
358
358
|
};
|
|
359
359
|
return [[id, info]];
|
|
@@ -375,4 +375,4 @@ function responsesWebSocketCapable(provider) {
|
|
|
375
375
|
return /^https:\/\/[^/]+\.openai\.azure\.com(?:\/|$)/i.test(settings.baseURL);
|
|
376
376
|
}
|
|
377
377
|
|
|
378
|
-
export {
|
|
378
|
+
export { make10, AzurePlugin2 };
|
|
@@ -1,22 +1,22 @@
|
|
|
1
1
|
import {
|
|
2
2
|
PATCH_CONTEXT_LINES2
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./generate-rb9dy4dg.js";
|
|
4
4
|
import {
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
} from "./
|
|
5
|
+
ID5,
|
|
6
|
+
Service53
|
|
7
|
+
} from "./generate-1w4xpz6a.js";
|
|
8
8
|
import {
|
|
9
9
|
SessionSchema2
|
|
10
|
-
} from "./
|
|
10
|
+
} from "./generate-my4zabxr.js";
|
|
11
11
|
import {
|
|
12
12
|
MessageNotFoundError2
|
|
13
|
-
} from "./
|
|
13
|
+
} from "./generate-bh1et42v.js";
|
|
14
14
|
import {
|
|
15
15
|
SessionMessageTable2
|
|
16
|
-
} from "./
|
|
16
|
+
} from "./generate-gg8p9cgs.js";
|
|
17
17
|
import {
|
|
18
18
|
__export
|
|
19
|
-
} from "./
|
|
19
|
+
} from "./generate-9rqn6x4v.js";
|
|
20
20
|
|
|
21
21
|
// src/session/diff.ts
|
|
22
22
|
var exports_diff = {};
|
|
@@ -81,14 +81,14 @@ var turn2 = Effect.fn("SessionDiff.turn")(function* (db, locations, input) {
|
|
|
81
81
|
const location = before ? decodeLocation(before) : after ? decodeLocation(after) : input.session.location;
|
|
82
82
|
const recorded = steps.findLast((step) => step.end)?.end;
|
|
83
83
|
return yield* Effect.gen(function* () {
|
|
84
|
-
const snapshot = yield*
|
|
84
|
+
const snapshot = yield* Service53;
|
|
85
85
|
const running = input.active && final.completed === null;
|
|
86
86
|
const to = running ? (yield* snapshot.capture()) ?? recorded : recorded;
|
|
87
87
|
if (!to)
|
|
88
88
|
return [];
|
|
89
89
|
return yield* snapshot.diff({
|
|
90
|
-
from:
|
|
91
|
-
to:
|
|
90
|
+
from: ID5.make(from),
|
|
91
|
+
to: ID5.make(to),
|
|
92
92
|
context: input.context ?? PATCH_CONTEXT_LINES2
|
|
93
93
|
});
|
|
94
94
|
}).pipe(Effect.provide(locations.get(location)));
|
|
@@ -1,17 +1,17 @@
|
|
|
1
1
|
import {
|
|
2
|
-
|
|
2
|
+
ID13,
|
|
3
3
|
aisdk2,
|
|
4
4
|
mergeOverlay2
|
|
5
|
-
} from "./
|
|
5
|
+
} from "./generate-h5j7qrbp.js";
|
|
6
6
|
import {
|
|
7
|
-
|
|
7
|
+
ID11,
|
|
8
8
|
VariantID2,
|
|
9
9
|
Family2,
|
|
10
|
-
|
|
11
|
-
} from "./
|
|
10
|
+
Info21
|
|
11
|
+
} from "./generate-zs7h2624.js";
|
|
12
12
|
import {
|
|
13
13
|
__export
|
|
14
|
-
} from "./
|
|
14
|
+
} from "./generate-9rqn6x4v.js";
|
|
15
15
|
|
|
16
16
|
// src/github-copilot/models.ts
|
|
17
17
|
var exports_models2 = {};
|
|
@@ -94,7 +94,7 @@ function derive3(baseURL, remote, existing) {
|
|
|
94
94
|
result.set(id, build(id, current, baseURL, model));
|
|
95
95
|
}
|
|
96
96
|
for (const [id, model] of remote) {
|
|
97
|
-
const key =
|
|
97
|
+
const key = ID11.make(id);
|
|
98
98
|
if (result.has(key))
|
|
99
99
|
continue;
|
|
100
100
|
result.set(key, build(key, model, baseURL));
|
|
@@ -118,11 +118,11 @@ function build(id, remote, baseURL, previous) {
|
|
|
118
118
|
const usdPerMillion = prices && prices.batch_size > 0 ? 1e4 / prices.batch_size : 0;
|
|
119
119
|
const version = remote.version.startsWith(`${remote.id}-`) ? remote.version.slice(remote.id.length + 1) : remote.version;
|
|
120
120
|
const released = previous?.time.released || Date.parse(version);
|
|
121
|
-
return
|
|
122
|
-
...
|
|
121
|
+
return Info21.make({
|
|
122
|
+
...Info21.default(ID13.githubCopilot, id),
|
|
123
123
|
id,
|
|
124
|
-
modelID:
|
|
125
|
-
providerID:
|
|
124
|
+
modelID: ID11.make(remote.id),
|
|
125
|
+
providerID: ID13.githubCopilot,
|
|
126
126
|
family: previous?.family ?? Family2.make(remote.capabilities.family),
|
|
127
127
|
name: previous?.name ?? remote.name,
|
|
128
128
|
package: messages ? "@opencode/ai/providers/anthropic" : aisdk2("@ai-sdk/github-copilot"),
|