@opencode/core 0.0.0-dev-19316 → 0.0.0-dev-19317
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/{workspace-1s80jvpe.js → repository-02smmm4r.js} +30 -30
- package/dist/chunks/{workspace-k19spz14.js → repository-045wck3r.js} +4 -4
- package/dist/chunks/{workspace-4d61g8er.js → repository-059964m6.js} +43 -43
- package/dist/chunks/{workspace-0hf9g8pg.js → repository-0bps82y7.js} +6 -6
- package/dist/chunks/{workspace-0paq2nw3.js → repository-0paq2nw3.js} +1 -1
- package/dist/chunks/{workspace-0q0f95c6.js → repository-0q0f95c6.js} +1 -1
- package/dist/chunks/{workspace-9cex7hp6.js → repository-0xvyn13b.js} +59 -59
- package/dist/chunks/{workspace-s5g9mpsf.js → repository-164c4x8d.js} +4 -4
- package/dist/chunks/{workspace-jwqth68t.js → repository-16j2nq32.js} +19 -19
- package/dist/chunks/{workspace-1acjjqhc.js → repository-1acjjqhc.js} +1 -1
- package/dist/chunks/{workspace-7k17nv4j.js → repository-1ajye52f.js} +22 -22
- package/dist/chunks/{workspace-g5twr0sp.js → repository-1awm1f41.js} +12 -12
- package/dist/chunks/{workspace-1dazxqgg.js → repository-1dazxqgg.js} +2 -2
- package/dist/chunks/{workspace-1dfhrqqs.js → repository-1dfhrqqs.js} +2 -2
- package/dist/chunks/{workspace-9mbwqz4q.js → repository-1f0q2knt.js} +36 -36
- package/dist/chunks/{workspace-d5a42mez.js → repository-1pdzqgga.js} +15 -15
- package/dist/chunks/{workspace-9zswys26.js → repository-1tjg7tvh.js} +9 -9
- package/dist/chunks/{workspace-33w4ejhs.js → repository-1ygqh575.js} +6 -6
- package/dist/chunks/{workspace-21r38tys.js → repository-21r38tys.js} +1 -1
- package/dist/chunks/{workspace-6h73sxmp.js → repository-2402vzrj.js} +5 -5
- package/dist/chunks/{workspace-2a5m3afh.js → repository-2a5m3afh.js} +1 -1
- package/dist/chunks/{workspace-e3b0d0gy.js → repository-2bqak6vk.js} +9 -9
- package/dist/chunks/{workspace-wgq3akg3.js → repository-2c593dpe.js} +26 -26
- package/dist/chunks/{workspace-83q95eg7.js → repository-2d626495.js} +9 -9
- package/dist/chunks/{workspace-ak2adswv.js → repository-2ehqxkpw.js} +18 -18
- package/dist/chunks/{workspace-dj9sq318.js → repository-2f0bjgcj.js} +5 -5
- package/dist/chunks/{workspace-wmqmw210.js → repository-2p43b4z4.js} +8 -8
- package/dist/chunks/{workspace-bskx12th.js → repository-2pmrb1d6.js} +7 -7
- package/dist/chunks/{workspace-fvr7jna4.js → repository-2qyxhzr1.js} +13 -13
- package/dist/chunks/{workspace-4dg124c5.js → repository-2vgzs72b.js} +5 -5
- package/dist/chunks/{workspace-awaee7qt.js → repository-2y34zzjz.js} +6 -6
- package/dist/chunks/{workspace-z9xz7t7m.js → repository-35adck8a.js} +23 -23
- package/dist/chunks/{workspace-eramvw3w.js → repository-36t2ng94.js} +19 -19
- package/dist/chunks/{workspace-f4x3f9y9.js → repository-38sxx9hd.js} +30 -30
- package/dist/chunks/{workspace-7gvp9cq5.js → repository-3dj2kwsy.js} +21 -21
- package/dist/chunks/{workspace-3hepkmqq.js → repository-3hepkmqq.js} +1 -1
- package/dist/chunks/{workspace-317x7tvz.js → repository-3kem7kwr.js} +16 -16
- package/dist/chunks/{workspace-3smtnn6g.js → repository-3smtnn6g.js} +1 -1
- package/dist/chunks/{workspace-3tvqynh2.js → repository-3tvqynh2.js} +1 -1
- package/dist/chunks/{workspace-mqy0jkn2.js → repository-3ythc6yv.js} +4 -4
- package/dist/chunks/{workspace-awz7xhfp.js → repository-43k15f45.js} +4 -4
- package/dist/chunks/{workspace-7mz653pd.js → repository-476t6gmh.js} +7 -7
- package/dist/chunks/{workspace-nhy5jxhy.js → repository-47gsdddb.js} +5 -5
- package/dist/chunks/{workspace-xkzbfh0m.js → repository-4c8re0tx.js} +13 -13
- package/dist/chunks/{workspace-bkqaqtv1.js → repository-4cbfc9qt.js} +17 -17
- package/dist/chunks/{workspace-eds7zwp6.js → repository-4em4qkvj.js} +24 -24
- package/dist/chunks/{workspace-yyhgy33t.js → repository-4r8zj0xa.js} +10 -10
- package/dist/chunks/{workspace-rrjgssxh.js → repository-50364jye.js} +46 -46
- package/dist/chunks/{workspace-4t57t1en.js → repository-594bb0zr.js} +11 -11
- package/dist/chunks/{workspace-5daktx2q.js → repository-5daktx2q.js} +1 -1
- package/dist/chunks/{workspace-0em1p5dp.js → repository-5ffk5gzk.js} +81 -81
- package/dist/chunks/{workspace-5kptn8c0.js → repository-5kptn8c0.js} +2 -2
- package/dist/chunks/{workspace-9n5bgjha.js → repository-5naxf7j8.js} +3 -3
- package/dist/chunks/{workspace-5t3nmthw.js → repository-5t3nmthw.js} +2 -2
- package/dist/chunks/{workspace-zka56nxw.js → repository-615kspf3.js} +26 -26
- package/dist/chunks/{workspace-669tq793.js → repository-669tq793.js} +1 -1
- package/dist/chunks/{workspace-eh4km76q.js → repository-66cmz1z4.js} +24 -24
- package/dist/chunks/{workspace-k1hbjbhr.js → repository-66v2kt92.js} +41 -41
- package/dist/chunks/{workspace-mxj2eewr.js → repository-6c6pe1h9.js} +20 -20
- package/dist/chunks/{workspace-yagmabmz.js → repository-6cw0q144.js} +4 -4
- package/dist/chunks/{workspace-6msgmcgs.js → repository-6msgmcgs.js} +1 -1
- package/dist/chunks/{workspace-rztdx977.js → repository-6prdtfsq.js} +9 -9
- package/dist/chunks/{workspace-97s80yy3.js → repository-6xrzfrk8.js} +23 -23
- package/dist/chunks/{workspace-gwwc15b8.js → repository-6xyd484e.js} +14 -14
- package/dist/chunks/{workspace-f5agypy8.js → repository-6zr7k3aq.js} +16 -16
- package/dist/chunks/{workspace-71q4at8m.js → repository-71q4at8m.js} +1 -1
- package/dist/chunks/{workspace-1jyjw0dy.js → repository-71wj71z5.js} +14 -14
- package/dist/chunks/{workspace-eq1pz5kg.js → repository-73tb2d7t.js} +3 -3
- package/dist/chunks/{workspace-dffz74yj.js → repository-76dvax8j.js} +26 -26
- package/dist/chunks/{workspace-8761qpcg.js → repository-7796pmke.js} +39 -39
- package/dist/chunks/{workspace-bsxfqzhc.js → repository-786rp8pk.js} +8 -8
- package/dist/chunks/{workspace-7bmhse3q.js → repository-7bmhse3q.js} +1 -1
- package/dist/chunks/{workspace-xwwm14an.js → repository-7hy3mtbm.js} +9 -9
- package/dist/chunks/{workspace-ej8xv5ds.js → repository-89scvk1m.js} +3 -3
- package/dist/chunks/{workspace-8d7r5vzw.js → repository-8d7r5vzw.js} +1 -1
- package/dist/chunks/{workspace-dvzjgrza.js → repository-8fkaqdjp.js} +39 -39
- package/dist/chunks/{workspace-50p99xk2.js → repository-8g9ptmgy.js} +37 -37
- package/dist/chunks/{workspace-8p4f9s12.js → repository-8p4f9s12.js} +2 -2
- package/dist/chunks/{workspace-pkjnw8xf.js → repository-8w4ne1ng.js} +27 -27
- package/dist/chunks/{workspace-sp5zyyma.js → repository-8wsye86r.js} +8 -8
- package/dist/chunks/{workspace-vypqtakx.js → repository-96yt6zt0.js} +1 -1
- package/dist/chunks/{workspace-r7x04355.js → repository-983mj5wh.js} +34 -34
- package/dist/chunks/{workspace-cgnjyr8a.js → repository-994195wy.js} +47 -47
- package/dist/chunks/{workspace-qkek724z.js → repository-9cq2d911.js} +8 -8
- package/dist/chunks/{workspace-kfdzm4dd.js → repository-9j04cpa9.js} +27 -27
- package/dist/chunks/{workspace-a2vj9kk6.js → repository-9kp37p9x.js} +17 -17
- package/dist/chunks/{workspace-f10twq9w.js → repository-9pn042z2.js} +11 -11
- package/dist/chunks/{workspace-36jkazxa.js → repository-9pntmsg4.js} +5 -5
- package/dist/chunks/{workspace-540a1fgr.js → repository-9t7dzp30.js} +33 -33
- package/dist/chunks/{workspace-gk38wydt.js → repository-a08t2777.js} +17 -17
- package/dist/chunks/{workspace-a1bz86dw.js → repository-a1bz86dw.js} +3 -3
- package/dist/chunks/{workspace-ntgxvp5h.js → repository-a4hnh0bm.js} +11 -11
- package/dist/chunks/{workspace-t6msp11s.js → repository-a5tz83rk.js} +6 -6
- package/dist/chunks/{workspace-aaet6srn.js → repository-aaet6srn.js} +2 -2
- package/dist/chunks/{workspace-r0nnab1q.js → repository-ahpy00m2.js} +24 -24
- package/dist/chunks/{workspace-mw6ans9c.js → repository-akymg2m4.js} +5 -5
- package/dist/chunks/{workspace-kenqsagb.js → repository-arbskmtj.js} +9 -9
- package/dist/chunks/{workspace-19g3xj2s.js → repository-arkn2b9y.js} +30 -30
- package/dist/chunks/{workspace-66j98p5d.js → repository-awakh2te.js} +29 -29
- package/dist/chunks/{workspace-b6gygkdw.js → repository-b6gygkdw.js} +2 -2
- package/dist/chunks/{workspace-9a52esse.js → repository-bb1ss1nb.js} +23 -23
- package/dist/chunks/{workspace-vze96k0n.js → repository-bcn5dnkb.js} +4 -4
- package/dist/chunks/{workspace-323qkwbp.js → repository-bh01taga.js} +7 -7
- package/dist/chunks/{workspace-wynthrjp.js → repository-bkqb0v3f.js} +6 -6
- package/dist/chunks/{workspace-mpxhxrb2.js → repository-bn183kc6.js} +18 -18
- package/dist/chunks/{workspace-wv6yb1rv.js → repository-bsbmndgv.js} +1 -1
- package/dist/chunks/{workspace-60stz191.js → repository-cb945wyk.js} +31 -31
- package/dist/chunks/{workspace-e4k3fffr.js → repository-cct48r6v.js} +23 -23
- package/dist/chunks/{workspace-cfpkc3c9.js → repository-cfpkc3c9.js} +2 -2
- package/dist/chunks/{workspace-rtv6ahp9.js → repository-cjwramev.js} +6 -6
- package/dist/chunks/{workspace-rjqwr5dw.js → repository-ckjvqjqe.js} +24 -24
- package/dist/chunks/{workspace-kxpygcw9.js → repository-cpy6gm2a.js} +6 -6
- package/dist/chunks/{workspace-95x6xbkr.js → repository-cq37gk0t.js} +4 -4
- package/dist/chunks/{workspace-0cmfkvjr.js → repository-dj0r9pya.js} +28 -28
- package/dist/chunks/{workspace-wn4kdw9q.js → repository-e3rrrskg.js} +4 -4
- package/dist/chunks/repository-e5dbcc46.js +22 -0
- package/dist/chunks/{workspace-w23a9fg2.js → repository-e72k63ab.js} +3 -3
- package/dist/chunks/{workspace-4rd6evxz.js → repository-ebn37zs9.js} +15 -15
- package/dist/chunks/{workspace-baaqp4zd.js → repository-embw8kgh.js} +4 -4
- package/dist/chunks/{workspace-etq0c3wd.js → repository-etq0c3wd.js} +1 -1
- package/dist/chunks/{workspace-10dffqyq.js → repository-f0v0ycm1.js} +22 -22
- package/dist/chunks/{workspace-39mbwg99.js → repository-f28ytfvt.js} +16 -16
- package/dist/chunks/{workspace-ayjzdqkx.js → repository-f4ay2dft.js} +4 -4
- package/dist/chunks/{workspace-gsyxgrq8.js → repository-f76ze5tv.js} +35 -35
- package/dist/chunks/{workspace-f828m53h.js → repository-f828m53h.js} +2 -2
- package/dist/chunks/{workspace-h2gyv3sg.js → repository-f8q7mv7a.js} +1 -1
- package/dist/chunks/{workspace-cjsvwj1q.js → repository-fa62265d.js} +15 -15
- package/dist/chunks/{workspace-d53dp3ny.js → repository-fcsd4zs5.js} +11 -11
- package/dist/chunks/{workspace-3trbxeqx.js → repository-fgh0kbhd.js} +1 -1
- package/dist/chunks/{workspace-rme5v0wm.js → repository-fmyvj1jr.js} +10 -10
- package/dist/chunks/{workspace-fxbjtjnd.js → repository-fxbjtjnd.js} +1 -1
- package/dist/chunks/{workspace-fq1h1v14.js → repository-fygdb7h7.js} +3 -3
- package/dist/chunks/{workspace-cwtysmh4.js → repository-g48a3zmh.js} +12 -12
- package/dist/chunks/{workspace-qzyph8ek.js → repository-g71p6t9p.js} +11 -11
- package/dist/chunks/{workspace-awhdw3pf.js → repository-g8e8xch5.js} +81 -81
- package/dist/chunks/{workspace-kma43rbx.js → repository-gb6yb404.js} +35 -35
- package/dist/chunks/{workspace-gd4qta3r.js → repository-gd4qta3r.js} +1 -1
- package/dist/chunks/{workspace-3fc6dm20.js → repository-gdvy8fx6.js} +4 -4
- package/dist/chunks/{workspace-2nyvck04.js → repository-gn1fbr6b.js} +9 -9
- package/dist/chunks/{workspace-1ev0k7s6.js → repository-gs888y4z.js} +8 -8
- package/dist/chunks/{workspace-bgqpk6ej.js → repository-gszsphzc.js} +5 -5
- package/dist/chunks/{workspace-gv6a8nnw.js → repository-gv6a8nnw.js} +2 -2
- package/dist/chunks/{workspace-h03wrkyp.js → repository-h03wrkyp.js} +2 -2
- package/dist/chunks/{workspace-5nzafj0m.js → repository-h0r85tvv.js} +11 -11
- package/dist/chunks/{workspace-3q6hd4jt.js → repository-h165c536.js} +12 -12
- package/dist/chunks/{workspace-h6vf3j39.js → repository-h6vf3j39.js} +1 -1
- package/dist/chunks/{workspace-ed1arge1.js → repository-h7q5ckcv.js} +18 -18
- package/dist/chunks/{workspace-h7ygw6q4.js → repository-h7ygw6q4.js} +2 -2
- package/dist/chunks/{workspace-zqpyhaa2.js → repository-hjza1htt.js} +10 -10
- package/dist/chunks/{workspace-af04s6ss.js → repository-hkfg6fzm.js} +5 -5
- package/dist/chunks/{workspace-c4t116nm.js → repository-hrxs1993.js} +3 -3
- package/dist/chunks/{workspace-c82pnra3.js → repository-hteedcyj.js} +32 -32
- package/dist/chunks/{workspace-2yamwwtx.js → repository-hvbtbey6.js} +10 -10
- package/dist/chunks/{workspace-j56e64zr.js → repository-j56e64zr.js} +1 -1
- package/dist/chunks/{workspace-1vtz46z8.js → repository-j9c14zc8.js} +8 -8
- package/dist/chunks/{workspace-s6jr34qb.js → repository-jb0x01rj.js} +26 -26
- package/dist/chunks/{workspace-gf3khw20.js → repository-jgw85x6m.js} +15 -15
- package/dist/chunks/{workspace-q3jq24j1.js → repository-jhhkcjkk.js} +18 -18
- package/dist/chunks/{workspace-9m6qag95.js → repository-jk1sm5e0.js} +23 -23
- package/dist/chunks/{workspace-7vbk9m4e.js → repository-jpcfnxx6.js} +15 -15
- package/dist/chunks/{workspace-48hw3qw3.js → repository-jqb83hwr.js} +22 -22
- package/dist/chunks/{workspace-nrdmrqsx.js → repository-jw80jp6b.js} +4 -4
- package/dist/chunks/{workspace-4zb7zm34.js → repository-jyjh1hv5.js} +11 -11
- package/dist/chunks/{workspace-9k2v62xn.js → repository-k16ay38w.js} +1 -1
- package/dist/chunks/{workspace-bh0wyjv7.js → repository-k1dwx0ea.js} +6 -6
- package/dist/chunks/{workspace-wzkwse1s.js → repository-k6mvgpmx.js} +13 -13
- package/dist/chunks/{workspace-kg06axw8.js → repository-kg06axw8.js} +1 -1
- package/dist/chunks/{workspace-8hpffc5d.js → repository-kpgmbxv4.js} +12 -12
- package/dist/chunks/{workspace-vabb23s0.js → repository-ksz0h0wp.js} +1 -1
- package/dist/chunks/{workspace-4tq5d7x2.js → repository-kw9bzk6g.js} +20 -20
- package/dist/chunks/{workspace-ewztbjbx.js → repository-kzx5e7cb.js} +169 -169
- package/dist/chunks/{workspace-j69p6wmc.js → repository-m1kdqrrt.js} +26 -26
- package/dist/chunks/{workspace-1tbv6t5g.js → repository-m23z2hgx.js} +43 -43
- package/dist/chunks/{workspace-84tssp1s.js → repository-m27pyyd3.js} +6 -6
- package/dist/chunks/{workspace-m9w0rfyh.js → repository-m9w0rfyh.js} +1 -1
- package/dist/chunks/{workspace-fmah640z.js → repository-mf7gv44a.js} +24 -20
- package/dist/chunks/{workspace-42h2bxtq.js → repository-mh0z80me.js} +10 -10
- package/dist/chunks/{workspace-mkcjrzeh.js → repository-mkcjrzeh.js} +1 -1
- package/dist/chunks/{workspace-2fsj26k1.js → repository-mmwr6ta3.js} +15 -15
- package/dist/chunks/{workspace-81czwxpn.js → repository-msq0jde0.js} +4 -4
- package/dist/chunks/{workspace-ve0zfa78.js → repository-mvptyta3.js} +9 -9
- package/dist/chunks/{workspace-mtd5x7py.js → repository-n4w1yhk7.js} +16 -16
- package/dist/chunks/{workspace-5aktmhjp.js → repository-n7698azc.js} +15 -15
- package/dist/chunks/{workspace-rs226bz6.js → repository-n76fdqym.js} +5 -5
- package/dist/chunks/{workspace-t7b1xacm.js → repository-nv9askeb.js} +8 -8
- package/dist/chunks/{workspace-40ztfmwz.js → repository-nyw36zg8.js} +15 -15
- package/dist/chunks/{workspace-xmh8jj88.js → repository-p33ejz0k.js} +1 -1
- package/dist/chunks/{workspace-mrk2ms14.js → repository-p55xqwj6.js} +35 -35
- package/dist/chunks/{workspace-5yrg3hxm.js → repository-p66jjbas.js} +8 -8
- package/dist/chunks/{workspace-6gfd5xf8.js → repository-paks601p.js} +30 -30
- package/dist/chunks/{workspace-s7731dqm.js → repository-php4m0nf.js} +2 -2
- package/dist/chunks/repository-phz3h32g.js +18 -0
- package/dist/chunks/{workspace-pjvnvgmy.js → repository-pjvnvgmy.js} +1 -1
- package/dist/chunks/{workspace-93hpb89x.js → repository-pk2244jm.js} +3 -3
- package/dist/chunks/{workspace-pknna89w.js → repository-pknna89w.js} +1 -1
- package/dist/chunks/{workspace-srvat6zp.js → repository-pt8770bk.js} +6 -6
- package/dist/chunks/{workspace-1s5kemrg.js → repository-qa2rds3b.js} +25 -25
- package/dist/chunks/{workspace-93dyhyad.js → repository-qg6rt9vr.js} +17 -17
- package/dist/chunks/{workspace-0jwsre1p.js → repository-qgn6gcr1.js} +5 -5
- package/dist/chunks/{workspace-zyzp2298.js → repository-qmxj8h0d.js} +9 -9
- package/dist/chunks/{workspace-b8gwhbay.js → repository-qsdt89h7.js} +22 -22
- package/dist/chunks/{workspace-qsdy395h.js → repository-qsdy395h.js} +1 -1
- package/dist/chunks/{workspace-v84z85pp.js → repository-r4prmjef.js} +15 -15
- package/dist/chunks/{workspace-esdnemd6.js → repository-r9babyk8.js} +1 -1
- package/dist/chunks/{workspace-g8d3gcyj.js → repository-ratrq7cm.js} +5 -5
- package/dist/chunks/{workspace-0gdmqesm.js → repository-rhjbct0v.js} +4 -4
- package/dist/chunks/{workspace-xp88wr07.js → repository-rk0rec3h.js} +9 -9
- package/dist/chunks/{workspace-b94pmmqr.js → repository-rwey6xtr.js} +284 -284
- package/dist/chunks/{workspace-p129658b.js → repository-s1taq3yv.js} +15 -15
- package/dist/chunks/{workspace-t6qa8pj9.js → repository-s6wjkaab.js} +18 -18
- package/dist/chunks/{workspace-a68v6zx7.js → repository-sbnsh8k5.js} +8 -8
- package/dist/chunks/{workspace-2vg72gbq.js → repository-swtg4spb.js} +9 -9
- package/dist/chunks/{workspace-61tdtcny.js → repository-t0db4qcz.js} +10 -10
- package/dist/chunks/{workspace-1yafz2c2.js → repository-t5vzjtwz.js} +21 -21
- package/dist/chunks/{workspace-tazgh4e4.js → repository-tazgh4e4.js} +1 -1
- package/dist/chunks/repository-tb3zndzb.js +247 -0
- package/dist/chunks/{workspace-5jfbnsm9.js → repository-tbcgmyg4.js} +50 -50
- package/dist/chunks/{workspace-tcezcvh9.js → repository-tcezcvh9.js} +1 -1
- package/dist/chunks/{workspace-j6rj9xt6.js → repository-tcjn4qbc.js} +41 -41
- package/dist/chunks/{workspace-tdstcens.js → repository-tdstcens.js} +1 -1
- package/dist/chunks/{workspace-zke2pdp6.js → repository-tesasq7y.js} +11 -11
- package/dist/chunks/{workspace-wkwfxgj3.js → repository-tfngb0ww.js} +4 -4
- package/dist/chunks/{workspace-pn6nrrpr.js → repository-tkms5754.js} +27 -27
- package/dist/chunks/{workspace-hrhrxexm.js → repository-tq3zj2mx.js} +4 -4
- package/dist/chunks/{workspace-8p83gb6h.js → repository-ttm38dpy.js} +6 -6
- package/dist/chunks/{workspace-5kmnb5g6.js → repository-tts5d3vq.js} +15 -15
- package/dist/chunks/{workspace-tvtrv512.js → repository-tvtrv512.js} +1 -1
- package/dist/chunks/{workspace-6st33d4x.js → repository-txft1z8e.js} +25 -25
- package/dist/chunks/{workspace-0qnka9n6.js → repository-v9t95238.js} +17 -17
- package/dist/chunks/{workspace-4zbs3q2b.js → repository-vbzh8kc2.js} +25 -25
- package/dist/chunks/{workspace-jab8rdhp.js → repository-vepva715.js} +9 -9
- package/dist/chunks/{workspace-veqvce7d.js → repository-veqvce7d.js} +1 -1
- package/dist/chunks/{workspace-v1cqtm69.js → repository-vmvf27d6.js} +16 -16
- package/dist/chunks/{workspace-q2b1ymqp.js → repository-vncycja5.js} +4 -4
- package/dist/chunks/{workspace-4jmdj23e.js → repository-vxwzppst.js} +9 -9
- package/dist/chunks/{workspace-vzcthcp8.js → repository-vzcthcp8.js} +1 -1
- package/dist/chunks/{workspace-0s5v0p6k.js → repository-vzkegt94.js} +51 -51
- package/dist/chunks/{workspace-90qgvd9n.js → repository-w3b0evb0.js} +23 -23
- package/dist/chunks/{workspace-w3wsvvr9.js → repository-w3wsvvr9.js} +1 -1
- package/dist/chunks/{workspace-rdz2tx67.js → repository-w4x6a4ey.js} +3 -3
- package/dist/chunks/{workspace-gj9xpvv3.js → repository-wa9n8nyq.js} +8 -8
- package/dist/chunks/{workspace-wd87259q.js → repository-wd87259q.js} +1 -1
- package/dist/chunks/{workspace-5cwvq4ff.js → repository-wjvnh3e5.js} +2 -2
- package/dist/chunks/{workspace-3v77a270.js → repository-wn91f6p1.js} +24 -24
- package/dist/chunks/{workspace-86jav2f7.js → repository-wq9rcnez.js} +23 -23
- package/dist/chunks/{workspace-s2bazk07.js → repository-wr1pgfqd.js} +16 -16
- package/dist/chunks/{workspace-5pq3v0sk.js → repository-wsnptkpy.js} +12 -12
- package/dist/chunks/{workspace-7gb606e6.js → repository-wt2bvgvt.js} +11 -11
- package/dist/chunks/{workspace-qqbqqn54.js → repository-ww34bdfa.js} +36 -36
- package/dist/chunks/{workspace-x1ezjp6w.js → repository-x1ezjp6w.js} +1 -1
- package/dist/chunks/{workspace-asmz7wyz.js → repository-x3et2xth.js} +8 -8
- package/dist/chunks/{workspace-x43y2vfs.js → repository-x43y2vfs.js} +2 -2
- package/dist/chunks/{workspace-v9ct93z2.js → repository-x5wwe36q.js} +8 -8
- package/dist/chunks/{workspace-wwhdthxc.js → repository-y01f7qch.js} +24 -24
- package/dist/chunks/{workspace-y1fvbwt7.js → repository-y1fvbwt7.js} +1 -1
- package/dist/chunks/{workspace-y71avatq.js → repository-y71avatq.js} +1 -1
- package/dist/chunks/{workspace-ya5s98jd.js → repository-y7vh14v8.js} +11 -11
- package/dist/chunks/{workspace-12jdhdht.js → repository-yfc3q1gy.js} +8 -8
- package/dist/chunks/{workspace-beamd2gc.js → repository-yg76m3am.js} +7 -7
- package/dist/chunks/{workspace-qn4ba14w.js → repository-yjptyezs.js} +5 -5
- package/dist/chunks/{workspace-15pjexzy.js → repository-yn917984.js} +13 -13
- package/dist/chunks/{workspace-yrhqyw5v.js → repository-yrhqyw5v.js} +1 -1
- package/dist/chunks/{workspace-yrznvahk.js → repository-yrznvahk.js} +2 -2
- package/dist/chunks/{workspace-dgmwn8ez.js → repository-yy3gmdz3.js} +8 -8
- package/dist/chunks/{workspace-43bvnm0c.js → repository-yzygp3kb.js} +27 -27
- package/dist/chunks/{workspace-z0bkrqjs.js → repository-z0bkrqjs.js} +1 -1
- package/dist/chunks/{workspace-n51qh0r9.js → repository-z0tfr0p6.js} +6 -6
- package/dist/chunks/{workspace-0yq4eb34.js → repository-z2v8zvr3.js} +24 -24
- package/dist/chunks/{workspace-z63w68vq.js → repository-z63w68vq.js} +2 -2
- package/dist/chunks/{workspace-mrw4weg4.js → repository-z69s9t6b.js} +5 -5
- package/dist/chunks/{workspace-91xp5nbf.js → repository-zaph8b8m.js} +7 -7
- package/dist/chunks/{workspace-zeh9ct20.js → repository-zeh9ct20.js} +2 -2
- package/dist/chunks/{workspace-jxn2j4b1.js → repository-zgjvenhq.js} +4 -4
- package/dist/chunks/{workspace-pq4st5kv.js → repository-zhxw6mnd.js} +2 -2
- package/dist/chunks/{workspace-q265yh5d.js → repository-zk0g9nwz.js} +7 -7
- package/dist/chunks/{workspace-zr2ceqn5.js → repository-zr2ceqn5.js} +1 -1
- package/dist/chunks/{workspace-c0mtdgpv.js → repository-zsf3bcce.js} +16 -16
- package/dist/chunks/{workspace-zxq2ej10.js → repository-zxq2ej10.js} +1 -1
- package/dist/chunks/{workspace-bt8hdx22.js → repository-zxy676qc.js} +17 -17
- package/dist/codemode/catalog.js +3 -3
- package/dist/codemode/instructions.js +9 -9
- package/dist/codemode/tool.js +2 -2
- package/dist/command.js +83 -83
- 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 +115 -115
- package/dist/config/plugin/command.js +207 -207
- 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 +115 -115
- package/dist/config/plugin/mcp.js +124 -124
- 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 +116 -116
- package/dist/config/plugin/skill-file.js +97 -97
- package/dist/config/plugin/skill.js +134 -134
- 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 +113 -113
- 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 +81 -81
- package/dist/database/database.js +64 -64
- package/dist/database/drizzle/effect-sqlite/driver.js +12 -12
- package/dist/database/drizzle/effect-sqlite/index.js +12 -12
- package/dist/database/drizzle/effect-sqlite/session.js +11 -11
- package/dist/database/drizzle/index.js +13 -13
- 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 +14 -14
- 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 +1 -1
- 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 +220 -220
- 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 +78 -78
- package/dist/generate.js +91 -91
- 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 +81 -81
- 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 +84 -84
- 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 +76 -76
- 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 +97 -97
- package/dist/plugin/command.js +94 -94
- 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 +115 -115
- 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 +72 -72
- package/dist/plugin/service.js +3 -3
- package/dist/plugin/skill.js +133 -133
- 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 +4 -4
- package/dist/plugin/websearch/parallel.js +8 -8
- package/dist/plugin/websearch/tavily.js +6 -6
- package/dist/plugin.js +218 -218
- package/dist/project/schema.js +8 -8
- package/dist/project/sql.js +4 -4
- package/dist/project.js +85 -85
- package/dist/provider.js +5 -5
- package/dist/pty/protocol.js +1 -1
- package/dist/pty/schema.js +1 -1
- package/dist/pty/ticket.js +1 -1
- package/dist/pty.js +88 -88
- package/dist/reference/instructions.js +82 -82
- 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 +93 -93
- package/dist/rpc.js +81 -81
- package/dist/schema.js +1 -1
- package/dist/session/command.js +72 -72
- package/dist/session/compaction.js +129 -129
- package/dist/session/context.js +145 -145
- 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 +146 -146
- package/dist/session/history.js +13 -13
- package/dist/session/inbox.js +88 -88
- 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 +1 -1
- 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 +203 -203
- 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 +2 -2
- package/dist/skill/instructions.js +100 -100
- package/dist/skill.js +103 -103
- package/dist/snapshot.js +86 -86
- 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 +115 -115
- package/dist/tool/plugin/file-diff.js +1 -1
- package/dist/tool/plugin/glob.js +120 -120
- package/dist/tool/plugin/grep.js +118 -118
- package/dist/tool/plugin/opencode.js +3 -3
- package/dist/tool/plugin/patch.js +117 -117
- package/dist/tool/plugin/question.js +100 -100
- package/dist/tool/plugin/read.js +121 -121
- package/dist/tool/plugin/shell.js +210 -210
- 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 +107 -107
- package/dist/tool/plugin/write.js +115 -115
- 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 +3 -3
- package/dist/v1/config/config.js +16 -16
- package/dist/v1/config/error.js +2 -2
- package/dist/v1/config/formatter.js +5 -5
- package/dist/v1/config/layout.js +1 -1
- package/dist/v1/config/lsp.js +5 -5
- package/dist/v1/config/mcp.js +4 -4
- package/dist/v1/config/migrate.js +4 -4
- package/dist/v1/config/permission.js +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 +72 -72
- package/dist/wellknown.js +77 -77
- package/dist/workspace/driver.js +5 -5
- 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/workspace-q509s3k3.js +0 -18
- package/dist/chunks/workspace-x04nape8.js +0 -247
- package/dist/chunks/workspace-y31r8zkp.js +0 -22
- /package/dist/chunks/{workspace-0mesazry.js → repository-0mesazry.js} +0 -0
- /package/dist/chunks/{workspace-0qkdqm5v.js → repository-0qkdqm5v.js} +0 -0
- /package/dist/chunks/{workspace-0zkw76rk.js → repository-0zkw76rk.js} +0 -0
- /package/dist/chunks/{workspace-17cy0kzp.js → repository-17cy0kzp.js} +0 -0
- /package/dist/chunks/{workspace-1cnp2v09.js → repository-1cnp2v09.js} +0 -0
- /package/dist/chunks/{workspace-1kg9ymc8.js → repository-1kg9ymc8.js} +0 -0
- /package/dist/chunks/{workspace-2710q6r3.js → repository-2710q6r3.js} +0 -0
- /package/dist/chunks/{workspace-2axfhc9x.js → repository-2axfhc9x.js} +0 -0
- /package/dist/chunks/{workspace-2c3vjs8z.js → repository-2c3vjs8z.js} +0 -0
- /package/dist/chunks/{workspace-359p4xyc.js → repository-359p4xyc.js} +0 -0
- /package/dist/chunks/{workspace-3asan66x.js → repository-3asan66x.js} +0 -0
- /package/dist/chunks/{workspace-3v8g72cx.js → repository-3v8g72cx.js} +0 -0
- /package/dist/chunks/{workspace-3w5fmr99.js → repository-3w5fmr99.js} +0 -0
- /package/dist/chunks/{workspace-3wcehsnq.js → repository-3wcehsnq.js} +0 -0
- /package/dist/chunks/{workspace-43n2bw4t.js → repository-43n2bw4t.js} +0 -0
- /package/dist/chunks/{workspace-4knz6hnm.js → repository-4knz6hnm.js} +0 -0
- /package/dist/chunks/{workspace-4y7fprxs.js → repository-4y7fprxs.js} +0 -0
- /package/dist/chunks/{workspace-53557ph1.js → repository-53557ph1.js} +0 -0
- /package/dist/chunks/{workspace-550bvhaj.js → repository-550bvhaj.js} +0 -0
- /package/dist/chunks/{workspace-6prwharc.js → repository-6prwharc.js} +0 -0
- /package/dist/chunks/{workspace-7akdwqpd.js → repository-7akdwqpd.js} +0 -0
- /package/dist/chunks/{workspace-7m9af43g.js → repository-7m9af43g.js} +0 -0
- /package/dist/chunks/{workspace-822emrt2.js → repository-822emrt2.js} +0 -0
- /package/dist/chunks/{workspace-88xbtdfr.js → repository-88xbtdfr.js} +0 -0
- /package/dist/chunks/{workspace-8n3pysct.js → repository-8n3pysct.js} +0 -0
- /package/dist/chunks/{workspace-922hggd3.js → repository-922hggd3.js} +0 -0
- /package/dist/chunks/{workspace-9a4afbnw.js → repository-9a4afbnw.js} +0 -0
- /package/dist/chunks/{workspace-9rqn6x4v.js → repository-9rqn6x4v.js} +0 -0
- /package/dist/chunks/{workspace-a1tpkmh4.js → repository-a1tpkmh4.js} +0 -0
- /package/dist/chunks/{workspace-a6k6eb26.js → repository-a6k6eb26.js} +0 -0
- /package/dist/chunks/{workspace-af5trqkr.js → repository-af5trqkr.js} +0 -0
- /package/dist/chunks/{workspace-afrmfg78.js → repository-afrmfg78.js} +0 -0
- /package/dist/chunks/{workspace-aqzs7mqg.js → repository-aqzs7mqg.js} +0 -0
- /package/dist/chunks/{workspace-atq7p7m5.js → repository-atq7p7m5.js} +0 -0
- /package/dist/chunks/{workspace-bkyjaxrp.js → repository-bkyjaxrp.js} +0 -0
- /package/dist/chunks/{workspace-bmr6ed5q.js → repository-bmr6ed5q.js} +0 -0
- /package/dist/chunks/{workspace-cf4snx6d.js → repository-cf4snx6d.js} +0 -0
- /package/dist/chunks/{workspace-cvy3z8tj.js → repository-cvy3z8tj.js} +0 -0
- /package/dist/chunks/{workspace-d9fn303g.js → repository-d9fn303g.js} +0 -0
- /package/dist/chunks/{workspace-d9jj8t3e.js → repository-d9jj8t3e.js} +0 -0
- /package/dist/chunks/{workspace-dajrwvna.js → repository-dajrwvna.js} +0 -0
- /package/dist/chunks/{workspace-dap0rakb.js → repository-dap0rakb.js} +0 -0
- /package/dist/chunks/{workspace-df08tz66.js → repository-df08tz66.js} +0 -0
- /package/dist/chunks/{workspace-dy18nga0.js → repository-dy18nga0.js} +0 -0
- /package/dist/chunks/{workspace-e5kj55wp.js → repository-e5kj55wp.js} +0 -0
- /package/dist/chunks/{workspace-e73j6tqm.js → repository-e73j6tqm.js} +0 -0
- /package/dist/chunks/{workspace-ec1grn59.js → repository-ec1grn59.js} +0 -0
- /package/dist/chunks/{workspace-eh3zwz77.js → repository-eh3zwz77.js} +0 -0
- /package/dist/chunks/{workspace-emrn6kk6.js → repository-emrn6kk6.js} +0 -0
- /package/dist/chunks/{workspace-f0mxakyp.js → repository-f0mxakyp.js} +0 -0
- /package/dist/chunks/{workspace-f6n9ztr4.js → repository-f6n9ztr4.js} +0 -0
- /package/dist/chunks/{workspace-faypxj3z.js → repository-faypxj3z.js} +0 -0
- /package/dist/chunks/{workspace-fd410y7t.js → repository-fd410y7t.js} +0 -0
- /package/dist/chunks/{workspace-fxgpk5d8.js → repository-fxgpk5d8.js} +0 -0
- /package/dist/chunks/{workspace-g4wezp1m.js → repository-g4wezp1m.js} +0 -0
- /package/dist/chunks/{workspace-g86h250q.js → repository-g86h250q.js} +0 -0
- /package/dist/chunks/{workspace-gebd4c9n.js → repository-gebd4c9n.js} +0 -0
- /package/dist/chunks/{workspace-gftt206x.js → repository-gftt206x.js} +0 -0
- /package/dist/chunks/{workspace-hjbc5kem.js → repository-hjbc5kem.js} +0 -0
- /package/dist/chunks/{workspace-hk9envan.js → repository-hk9envan.js} +0 -0
- /package/dist/chunks/{workspace-hrnqkpcd.js → repository-hrnqkpcd.js} +0 -0
- /package/dist/chunks/{workspace-j2ntwpah.js → repository-j2ntwpah.js} +0 -0
- /package/dist/chunks/{workspace-j5zkgpj8.js → repository-j5zkgpj8.js} +0 -0
- /package/dist/chunks/{workspace-jr7sbwjy.js → repository-jr7sbwjy.js} +0 -0
- /package/dist/chunks/{workspace-jwfs4k6c.js → repository-jwfs4k6c.js} +0 -0
- /package/dist/chunks/{workspace-jzg6c2d5.js → repository-jzg6c2d5.js} +0 -0
- /package/dist/chunks/{workspace-mp448xyj.js → repository-mp448xyj.js} +0 -0
- /package/dist/chunks/{workspace-msx8hqn2.js → repository-msx8hqn2.js} +0 -0
- /package/dist/chunks/{workspace-n05xt0ee.js → repository-n05xt0ee.js} +0 -0
- /package/dist/chunks/{workspace-n3j8tn72.js → repository-n3j8tn72.js} +0 -0
- /package/dist/chunks/{workspace-njntx4h6.js → repository-njntx4h6.js} +0 -0
- /package/dist/chunks/{workspace-paphc93g.js → repository-paphc93g.js} +0 -0
- /package/dist/chunks/{workspace-q3sfg36h.js → repository-q3sfg36h.js} +0 -0
- /package/dist/chunks/{workspace-q74kybfr.js → repository-q74kybfr.js} +0 -0
- /package/dist/chunks/{workspace-qaymkmh1.js → repository-qaymkmh1.js} +0 -0
- /package/dist/chunks/{workspace-qb87gjwd.js → repository-qb87gjwd.js} +0 -0
- /package/dist/chunks/{workspace-qfa1cgps.js → repository-qfa1cgps.js} +0 -0
- /package/dist/chunks/{workspace-qrg20bc0.js → repository-qrg20bc0.js} +0 -0
- /package/dist/chunks/{workspace-rcb2kzg1.js → repository-rcb2kzg1.js} +0 -0
- /package/dist/chunks/{workspace-sdp7kfr6.js → repository-sdp7kfr6.js} +0 -0
- /package/dist/chunks/{workspace-sk3qaz4a.js → repository-sk3qaz4a.js} +0 -0
- /package/dist/chunks/{workspace-ssg3fenm.js → repository-ssg3fenm.js} +0 -0
- /package/dist/chunks/{workspace-twg0f83k.js → repository-twg0f83k.js} +0 -0
- /package/dist/chunks/{workspace-w803qqfp.js → repository-w803qqfp.js} +0 -0
- /package/dist/chunks/{workspace-wer8tq1h.js → repository-wer8tq1h.js} +0 -0
- /package/dist/chunks/{workspace-wtztk69x.js → repository-wtztk69x.js} +0 -0
- /package/dist/chunks/{workspace-x0ckcb58.js → repository-x0ckcb58.js} +0 -0
- /package/dist/chunks/{workspace-x61499pn.js → repository-x61499pn.js} +0 -0
- /package/dist/chunks/{workspace-y44na4kk.js → repository-y44na4kk.js} +0 -0
- /package/dist/chunks/{workspace-y8cydn3q.js → repository-y8cydn3q.js} +0 -0
- /package/dist/chunks/{workspace-ygaqb7jw.js → repository-ygaqb7jw.js} +0 -0
- /package/dist/chunks/{workspace-ym463w8f.js → repository-ym463w8f.js} +0 -0
- /package/dist/chunks/{workspace-z9919s4g.js → repository-z9919s4g.js} +0 -0
|
@@ -1,27 +1,27 @@
|
|
|
1
1
|
import {
|
|
2
2
|
Service80
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./repository-5naxf7j8.js";
|
|
4
4
|
import {
|
|
5
|
-
|
|
6
|
-
} from "./
|
|
5
|
+
Service49
|
|
6
|
+
} from "./repository-0bps82y7.js";
|
|
7
7
|
import {
|
|
8
8
|
awaitActivation2
|
|
9
|
-
} from "./
|
|
9
|
+
} from "./repository-phz3h32g.js";
|
|
10
10
|
import {
|
|
11
11
|
provenance2
|
|
12
|
-
} from "./
|
|
12
|
+
} from "./repository-msq0jde0.js";
|
|
13
13
|
import {
|
|
14
14
|
preview2
|
|
15
|
-
} from "./
|
|
15
|
+
} from "./repository-gs888y4z.js";
|
|
16
16
|
import {
|
|
17
17
|
baseTranscript2
|
|
18
|
-
} from "./
|
|
18
|
+
} from "./repository-paks601p.js";
|
|
19
19
|
import {
|
|
20
|
-
|
|
21
|
-
} from "./
|
|
20
|
+
Service24
|
|
21
|
+
} from "./repository-5ffk5gzk.js";
|
|
22
22
|
import {
|
|
23
23
|
__export
|
|
24
|
-
} from "./
|
|
24
|
+
} from "./repository-9rqn6x4v.js";
|
|
25
25
|
|
|
26
26
|
// src/session/generate.ts
|
|
27
27
|
var exports_generate = {};
|
|
@@ -32,12 +32,12 @@ __export(exports_generate, {
|
|
|
32
32
|
import { LLMClient, Message } from "@opencode/ai";
|
|
33
33
|
import { Effect } from "effect";
|
|
34
34
|
var generate3 = Effect.fn("SessionGenerate.generate")(function* (input) {
|
|
35
|
-
const instances = yield*
|
|
35
|
+
const instances = yield* Service49;
|
|
36
36
|
const database = yield* Service80;
|
|
37
37
|
const llm = yield* LLMClient.Service;
|
|
38
38
|
return yield* Effect.gen(function* () {
|
|
39
39
|
yield* awaitActivation2;
|
|
40
|
-
const context = yield*
|
|
40
|
+
const context = yield* Service24;
|
|
41
41
|
const selection = yield* context.select(input.session.id);
|
|
42
42
|
const model = yield* context.resolveModel(selection.session);
|
|
43
43
|
const history = yield* preview2(database.db, selection.session.id, selection.instructions, provenance2(model) ?? "local");
|
|
@@ -1,20 +1,20 @@
|
|
|
1
1
|
import {
|
|
2
2
|
AbsolutePath2
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./repository-922hggd3.js";
|
|
4
4
|
import {
|
|
5
5
|
root2
|
|
6
|
-
} from "./
|
|
6
|
+
} from "./repository-66v2kt92.js";
|
|
7
7
|
import {
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
} from "./
|
|
8
|
+
Service70,
|
|
9
|
+
node75
|
|
10
|
+
} from "./repository-vmvf27d6.js";
|
|
11
11
|
import {
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
} from "./
|
|
12
|
+
Service52,
|
|
13
|
+
node56
|
|
14
|
+
} from "./repository-8g9ptmgy.js";
|
|
15
15
|
import {
|
|
16
16
|
__export
|
|
17
|
-
} from "./
|
|
17
|
+
} from "./repository-9rqn6x4v.js";
|
|
18
18
|
|
|
19
19
|
// src/file-access.ts
|
|
20
20
|
var exports_file_access = {};
|
|
@@ -22,9 +22,9 @@ __export(exports_file_access, {
|
|
|
22
22
|
FileAccess: () => exports_file_access,
|
|
23
23
|
Kind: () => Kind2,
|
|
24
24
|
ResolveInput: () => ResolveInput2,
|
|
25
|
-
Service: () =>
|
|
25
|
+
Service: () => Service13,
|
|
26
26
|
externalDirectoryPermission: () => externalDirectoryPermission2,
|
|
27
|
-
node: () =>
|
|
27
|
+
node: () => node16,
|
|
28
28
|
resolvePath: () => resolvePath2
|
|
29
29
|
});
|
|
30
30
|
import { makeLocationNode } from "@opencode/util/effect/app-node";
|
|
@@ -43,7 +43,7 @@ var externalDirectoryPermission2 = (input) => ({
|
|
|
43
43
|
save: [input.save]
|
|
44
44
|
});
|
|
45
45
|
|
|
46
|
-
class
|
|
46
|
+
class Service13 extends Context.Service()("@opencode/FileAccess") {
|
|
47
47
|
}
|
|
48
48
|
var resolvePath2 = (directory, input, home = Global.Path.home) => {
|
|
49
49
|
const normalized = FSUtil.windowsPath(input);
|
|
@@ -55,10 +55,10 @@ var invocation = (context) => ({
|
|
|
55
55
|
agent: context.agent,
|
|
56
56
|
source: { type: "tool", messageID: context.messageID, id: context.id }
|
|
57
57
|
});
|
|
58
|
-
var layer = Layer.effect(
|
|
58
|
+
var layer = Layer.effect(Service13, Effect.gen(function* () {
|
|
59
59
|
const fs = yield* FSUtil.Service;
|
|
60
|
-
const location = yield*
|
|
61
|
-
const permission = yield*
|
|
60
|
+
const location = yield* Service70;
|
|
61
|
+
const permission = yield* Service52;
|
|
62
62
|
const resolve = Effect.fn("FileAccess.resolve")(function* (input) {
|
|
63
63
|
const absolute = AbsolutePath2.make(resolvePath2(location.directory, input.path));
|
|
64
64
|
const worktree = path.resolve(location.project.directory);
|
|
@@ -107,8 +107,8 @@ var layer = Layer.effect(Service19, Effect.gen(function* () {
|
|
|
107
107
|
});
|
|
108
108
|
return target;
|
|
109
109
|
});
|
|
110
|
-
return
|
|
110
|
+
return Service13.of({ resolve, authorizeExternal, authorizeRead });
|
|
111
111
|
}));
|
|
112
|
-
var
|
|
112
|
+
var node16 = makeLocationNode({ service: Service13, layer, deps: [FSUtil.node, node75, node56] });
|
|
113
113
|
|
|
114
|
-
export { Kind2, ResolveInput2, externalDirectoryPermission2,
|
|
114
|
+
export { Kind2, ResolveInput2, externalDirectoryPermission2, Service13, resolvePath2, node16, exports_file_access };
|
|
@@ -1,20 +1,20 @@
|
|
|
1
1
|
import {
|
|
2
|
-
|
|
3
|
-
|
|
2
|
+
Service57,
|
|
3
|
+
node61,
|
|
4
4
|
canonical3
|
|
5
|
-
} from "./
|
|
5
|
+
} from "./repository-nv9askeb.js";
|
|
6
6
|
import {
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
} from "./
|
|
7
|
+
Service49,
|
|
8
|
+
node53
|
|
9
|
+
} from "./repository-0bps82y7.js";
|
|
10
10
|
import {
|
|
11
11
|
layer2
|
|
12
|
-
} from "./
|
|
12
|
+
} from "./repository-tb3zndzb.js";
|
|
13
13
|
|
|
14
14
|
// src/location-services.ts
|
|
15
15
|
import { Duration, Effect, Exit, Layer, LayerMap, MutableHashMap, Option } from "effect";
|
|
16
16
|
function buildLocationServiceMap2(replacements = []) {
|
|
17
|
-
return Layer.effect(
|
|
17
|
+
return Layer.effect(Service57, Effect.gen(function* () {
|
|
18
18
|
const owner = yield* Effect.scope;
|
|
19
19
|
const booting = MutableHashMap.empty();
|
|
20
20
|
const inner = yield* LayerMap.make((ref) => {
|
|
@@ -42,11 +42,11 @@ function buildLocationServiceMap2(replacements = []) {
|
|
|
42
42
|
})
|
|
43
43
|
};
|
|
44
44
|
const bindings = [
|
|
45
|
-
|
|
45
|
+
node53.replace(Layer.succeed(Service49, {
|
|
46
46
|
provide: (session) => Effect.provide(map.get(session.location))
|
|
47
47
|
})),
|
|
48
48
|
...replacements,
|
|
49
|
-
|
|
49
|
+
node61.replace(Layer.succeed(Service57, map))
|
|
50
50
|
];
|
|
51
51
|
return map;
|
|
52
52
|
}));
|
|
@@ -1,15 +1,15 @@
|
|
|
1
1
|
import {
|
|
2
2
|
PositiveInt2
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./repository-922hggd3.js";
|
|
4
4
|
import {
|
|
5
5
|
__export
|
|
6
|
-
} from "./
|
|
6
|
+
} from "./repository-9rqn6x4v.js";
|
|
7
7
|
|
|
8
8
|
// src/v1/config/mcp.ts
|
|
9
9
|
var exports_mcp5 = {};
|
|
10
10
|
__export(exports_mcp5, {
|
|
11
11
|
ConfigMCPV1: () => exports_mcp5,
|
|
12
|
-
Info: () =>
|
|
12
|
+
Info: () => Info12,
|
|
13
13
|
Local: () => Local2,
|
|
14
14
|
OAuth: () => OAuth2,
|
|
15
15
|
Remote: () => Remote2
|
|
@@ -64,6 +64,6 @@ var Remote2 = Schema.Struct({
|
|
|
64
64
|
description: "Timeout in ms for MCP server requests. Defaults to 5000 (5 seconds) if not specified."
|
|
65
65
|
})
|
|
66
66
|
}).annotate({ identifier: "McpRemoteConfig" });
|
|
67
|
-
var
|
|
67
|
+
var Info12 = Schema.Union([Local2, Remote2]).annotate({ discriminator: "type" });
|
|
68
68
|
|
|
69
|
-
export { Local2, OAuth2, Remote2,
|
|
69
|
+
export { Local2, OAuth2, Remote2, Info12, exports_mcp5 };
|
|
@@ -1,12 +1,12 @@
|
|
|
1
1
|
import {
|
|
2
2
|
SessionMessage2
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./repository-gftt206x.js";
|
|
4
4
|
import {
|
|
5
5
|
SessionSchema2
|
|
6
|
-
} from "./
|
|
6
|
+
} from "./repository-pk2244jm.js";
|
|
7
7
|
import {
|
|
8
8
|
__export
|
|
9
|
-
} from "./
|
|
9
|
+
} from "./repository-9rqn6x4v.js";
|
|
10
10
|
|
|
11
11
|
// src/session/error.ts
|
|
12
12
|
var exports_error2 = {};
|
|
@@ -1,51 +1,51 @@
|
|
|
1
1
|
import {
|
|
2
2
|
typeFollowing2
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./repository-2a5m3afh.js";
|
|
4
4
|
import {
|
|
5
5
|
RelativePath2
|
|
6
|
-
} from "./
|
|
6
|
+
} from "./repository-922hggd3.js";
|
|
7
7
|
import {
|
|
8
|
-
|
|
9
|
-
} from "./
|
|
8
|
+
Service70
|
|
9
|
+
} from "./repository-vmvf27d6.js";
|
|
10
10
|
import {
|
|
11
|
-
|
|
12
|
-
} from "./
|
|
11
|
+
Service68
|
|
12
|
+
} from "./repository-z2v8zvr3.js";
|
|
13
13
|
import {
|
|
14
14
|
InvalidPatternError2,
|
|
15
|
-
|
|
16
|
-
} from "./
|
|
15
|
+
Service67
|
|
16
|
+
} from "./repository-jhhkcjkk.js";
|
|
17
17
|
import {
|
|
18
18
|
DEFAULT_SEARCH_LIMIT2,
|
|
19
19
|
DEFAULT_SEARCH_TIMEOUT_MS2,
|
|
20
20
|
GrepInput2,
|
|
21
21
|
Entry2,
|
|
22
22
|
Match2
|
|
23
|
-
} from "./
|
|
23
|
+
} from "./repository-3dj2kwsy.js";
|
|
24
24
|
import {
|
|
25
|
-
|
|
26
|
-
} from "./
|
|
25
|
+
Service52
|
|
26
|
+
} from "./repository-8g9ptmgy.js";
|
|
27
27
|
import {
|
|
28
|
-
|
|
29
|
-
} from "./
|
|
28
|
+
Service13
|
|
29
|
+
} from "./repository-h7q5ckcv.js";
|
|
30
30
|
import {
|
|
31
31
|
__export
|
|
32
|
-
} from "./
|
|
32
|
+
} from "./repository-9rqn6x4v.js";
|
|
33
33
|
|
|
34
34
|
// src/tool/plugin/grep.ts
|
|
35
35
|
var exports_grep = {};
|
|
36
36
|
__export(exports_grep, {
|
|
37
37
|
GrepTool: () => exports_grep,
|
|
38
|
-
Input: () =>
|
|
39
|
-
Output: () =>
|
|
40
|
-
Plugin: () =>
|
|
41
|
-
name: () =>
|
|
38
|
+
Input: () => Input9,
|
|
39
|
+
Output: () => Output7,
|
|
40
|
+
Plugin: () => Plugin23,
|
|
41
|
+
name: () => name9,
|
|
42
42
|
toModelContent: () => toModelContent4
|
|
43
43
|
});
|
|
44
44
|
import { ToolFailure } from "@opencode/ai";
|
|
45
45
|
import { Effect, Schema } from "effect";
|
|
46
46
|
import path from "path";
|
|
47
|
-
var
|
|
48
|
-
var
|
|
47
|
+
var name9 = "grep";
|
|
48
|
+
var Input9 = Schema.Struct({
|
|
49
49
|
pattern: GrepInput2.fields.pattern.check(Schema.isMinLength(1, { message: "Pattern must not be empty" })).annotate({
|
|
50
50
|
description: "Regular expression or literal text to match in file contents."
|
|
51
51
|
}),
|
|
@@ -65,7 +65,7 @@ var Input7 = Schema.Struct({
|
|
|
65
65
|
description: `Maximum number of matching lines to return (default: ${DEFAULT_SEARCH_LIMIT2})`
|
|
66
66
|
})
|
|
67
67
|
});
|
|
68
|
-
var
|
|
68
|
+
var Output7 = Schema.Array(Match2);
|
|
69
69
|
var toModelContent4 = (matches, truncated = false) => {
|
|
70
70
|
const lines = matches.length === 0 ? ["No matches found"] : [`Found ${matches.length} matches`];
|
|
71
71
|
let current = "";
|
|
@@ -83,26 +83,26 @@ var toModelContent4 = (matches, truncated = false) => {
|
|
|
83
83
|
return lines.join(`
|
|
84
84
|
`);
|
|
85
85
|
};
|
|
86
|
-
var
|
|
86
|
+
var Plugin23 = {
|
|
87
87
|
id: "opencode.tool.grep",
|
|
88
88
|
effect: Effect.fn("GrepTool.Plugin")(function* (ctx) {
|
|
89
|
-
const environment = yield*
|
|
90
|
-
const ripgrep = yield*
|
|
91
|
-
const location = yield*
|
|
92
|
-
const access = yield*
|
|
93
|
-
const permission = yield*
|
|
89
|
+
const environment = yield* Service68;
|
|
90
|
+
const ripgrep = yield* Service67;
|
|
91
|
+
const location = yield* Service70;
|
|
92
|
+
const access = yield* Service13;
|
|
93
|
+
const permission = yield* Service52;
|
|
94
94
|
yield* ctx.tool.transform((editor) => editor.add({
|
|
95
|
-
name:
|
|
95
|
+
name: name9,
|
|
96
96
|
options: { codemode: false },
|
|
97
97
|
description: "Search file contents using ripgrep's regular expression syntax or literal text matching. Use it to locate specific code, symbols, or text patterns, and narrow searches with `path` or `include`. Returns matching file paths, line numbers, and line previews.",
|
|
98
|
-
input:
|
|
99
|
-
output:
|
|
98
|
+
input: Input9,
|
|
99
|
+
output: Output7,
|
|
100
100
|
execute: (input, context) => Effect.gen(function* () {
|
|
101
101
|
const source = { type: "tool", messageID: context.messageID, id: context.id };
|
|
102
102
|
const target = yield* access.resolve({ path: input.path ?? "." });
|
|
103
103
|
yield* access.authorizeExternal([target], context);
|
|
104
104
|
yield* permission.assert({
|
|
105
|
-
action:
|
|
105
|
+
action: name9,
|
|
106
106
|
resources: [input.pattern],
|
|
107
107
|
save: ["*"],
|
|
108
108
|
metadata: {
|
|
@@ -154,4 +154,4 @@ var Plugin8 = {
|
|
|
154
154
|
})
|
|
155
155
|
};
|
|
156
156
|
|
|
157
|
-
export {
|
|
157
|
+
export { name9, Input9, Output7, toModelContent4, Plugin23, exports_grep };
|
|
@@ -1,12 +1,12 @@
|
|
|
1
1
|
import {
|
|
2
|
-
|
|
3
|
-
} from "./
|
|
2
|
+
ID17
|
|
3
|
+
} from "./repository-1awm1f41.js";
|
|
4
4
|
import {
|
|
5
|
-
|
|
6
|
-
} from "./
|
|
5
|
+
Service44
|
|
6
|
+
} from "./repository-m23z2hgx.js";
|
|
7
7
|
import {
|
|
8
8
|
foldSettings2
|
|
9
|
-
} from "./
|
|
9
|
+
} from "./repository-zaph8b8m.js";
|
|
10
10
|
|
|
11
11
|
// src/plugin/provider/vllm.ts
|
|
12
12
|
import { define } from "@opencode/plugin/effect/plugin";
|
|
@@ -21,12 +21,12 @@ var RemoteModel = Schema.Struct({
|
|
|
21
21
|
var Response = Schema.Struct({ data: Schema.Array(RemoteModel) });
|
|
22
22
|
var discovery = new Map;
|
|
23
23
|
var discoveryLock = Semaphore.makeUnsafe(1);
|
|
24
|
-
function
|
|
24
|
+
function make5(origin = "http://127.0.0.1:8000", interval = "30 seconds") {
|
|
25
25
|
return define({
|
|
26
26
|
id: "opencode.provider.vllm",
|
|
27
27
|
effect: Effect.fn(function* (ctx) {
|
|
28
28
|
const http = HttpClient.filterStatusOk(yield* HttpClient.HttpClient);
|
|
29
|
-
const config = yield*
|
|
29
|
+
const config = yield* Service44;
|
|
30
30
|
const source = { current: configured(yield* config.entries(), origin) };
|
|
31
31
|
const loaded = { models: [], hash: "[]" };
|
|
32
32
|
yield* ctx.integration.transform((integrations) => {
|
|
@@ -53,7 +53,7 @@ function make4(origin = "http://127.0.0.1:8000", interval = "30 seconds") {
|
|
|
53
53
|
});
|
|
54
54
|
for (const item of loaded.models) {
|
|
55
55
|
catalog.model.update(providerID, item.id, (model) => {
|
|
56
|
-
model.modelID =
|
|
56
|
+
model.modelID = ID17.make(item.id);
|
|
57
57
|
model.name = item.id;
|
|
58
58
|
model.capabilities = { tools: false, input: ["text"], output: ["text"] };
|
|
59
59
|
if (typeof item.max_model_len === "number" && item.max_model_len > 0)
|
|
@@ -112,7 +112,7 @@ ${current.modelsEndpoint}`;
|
|
|
112
112
|
})
|
|
113
113
|
});
|
|
114
114
|
}
|
|
115
|
-
var VLLMPlugin2 =
|
|
115
|
+
var VLLMPlugin2 = make5();
|
|
116
116
|
function configured(entries, origin) {
|
|
117
117
|
const settings = foldSettings2(entries, providerID, undefined);
|
|
118
118
|
const baseURL = (typeof settings?.baseURL === "string" ? settings.baseURL : `${origin.replace(/\/+$/, "")}/v1`).replace(/\/+$/, "");
|
|
@@ -134,4 +134,4 @@ function configured(entries, origin) {
|
|
|
134
134
|
return { baseURL, apiKey, healthEndpoint: health.toString(), modelsEndpoint: models.toString() };
|
|
135
135
|
}
|
|
136
136
|
|
|
137
|
-
export {
|
|
137
|
+
export { make5, VLLMPlugin2 };
|
|
@@ -1,13 +1,13 @@
|
|
|
1
1
|
import {
|
|
2
2
|
__export
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./repository-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: () => Service55,
|
|
10
|
+
node: () => node59
|
|
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 Service55 extends Context.Service()("@opencode/PluginHooks") {
|
|
24
24
|
}
|
|
25
|
-
var layer = Layer.effect(
|
|
25
|
+
var layer = Layer.effect(Service55, 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(Service60, 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 Service55.of({ has, register, trigger });
|
|
58
58
|
}));
|
|
59
|
-
var
|
|
59
|
+
var node59 = makeLocationNode({ service: Service55, layer, deps: [] });
|
|
60
60
|
|
|
61
|
-
export {
|
|
61
|
+
export { Service55, node59, exports_hooks };
|
|
@@ -1,56 +1,56 @@
|
|
|
1
1
|
import {
|
|
2
2
|
Service79,
|
|
3
3
|
node84
|
|
4
|
-
} from "./
|
|
4
|
+
} from "./repository-e3rrrskg.js";
|
|
5
5
|
import {
|
|
6
|
-
|
|
6
|
+
parse4,
|
|
7
7
|
parseRemote2,
|
|
8
8
|
validateBranch3,
|
|
9
9
|
isRemote2,
|
|
10
10
|
cachePath2
|
|
11
|
-
} from "./
|
|
11
|
+
} from "./repository-2402vzrj.js";
|
|
12
12
|
import {
|
|
13
13
|
AbsolutePath2
|
|
14
|
-
} from "./
|
|
14
|
+
} from "./repository-922hggd3.js";
|
|
15
15
|
import {
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
} from "./
|
|
16
|
+
Service64,
|
|
17
|
+
node68
|
|
18
|
+
} from "./repository-w3b0evb0.js";
|
|
19
19
|
import {
|
|
20
20
|
create3
|
|
21
|
-
} from "./
|
|
21
|
+
} from "./repository-kg06axw8.js";
|
|
22
22
|
import {
|
|
23
23
|
__export
|
|
24
|
-
} from "./
|
|
24
|
+
} from "./repository-9rqn6x4v.js";
|
|
25
25
|
|
|
26
26
|
// src/reference.ts
|
|
27
27
|
var exports_reference2 = {};
|
|
28
28
|
__export(exports_reference2, {
|
|
29
|
-
Event: () =>
|
|
29
|
+
Event: () => Event15,
|
|
30
30
|
GitSource: () => GitSource2,
|
|
31
|
-
Info: () =>
|
|
31
|
+
Info: () => Info24,
|
|
32
32
|
LocalSource: () => LocalSource2,
|
|
33
33
|
Reference: () => exports_reference2,
|
|
34
|
-
Service: () =>
|
|
34
|
+
Service: () => Service63,
|
|
35
35
|
Source: () => Source5,
|
|
36
|
-
node: () =>
|
|
36
|
+
node: () => node67
|
|
37
37
|
});
|
|
38
38
|
import { makeLocationNode } from "@opencode/util/effect/app-node";
|
|
39
39
|
import { Context, Effect, Layer, Scope } from "effect";
|
|
40
40
|
import { Reference } from "@opencode/schema/reference";
|
|
41
41
|
import { Global } from "@opencode/util/global";
|
|
42
|
-
import { Event as
|
|
42
|
+
import { Event as Event15 } from "@opencode/schema/reference";
|
|
43
43
|
var LocalSource2 = Reference.LocalSource;
|
|
44
44
|
var GitSource2 = Reference.GitSource;
|
|
45
45
|
var Source5 = Reference.Source;
|
|
46
|
-
var
|
|
46
|
+
var Info24 = Reference.Info;
|
|
47
47
|
|
|
48
|
-
class
|
|
48
|
+
class Service63 extends Context.Service()("@opencode/Reference") {
|
|
49
49
|
}
|
|
50
|
-
var layer = Layer.effect(
|
|
50
|
+
var layer = Layer.effect(Service63, Effect.gen(function* () {
|
|
51
51
|
const global = yield* Global.Service;
|
|
52
52
|
const bus = yield* Service79;
|
|
53
|
-
const cache = yield*
|
|
53
|
+
const cache = yield* Service64;
|
|
54
54
|
const scope = yield* Scope.Scope;
|
|
55
55
|
const list = () => Array.from(state.get().sources).flatMap(([name, source]) => {
|
|
56
56
|
const info = {
|
|
@@ -60,8 +60,8 @@ var layer = Layer.effect(Service71, Effect.gen(function* () {
|
|
|
60
60
|
...source.hidden === undefined ? {} : { hidden: source.hidden }
|
|
61
61
|
};
|
|
62
62
|
if (source.type === "local")
|
|
63
|
-
return [
|
|
64
|
-
const repository =
|
|
63
|
+
return [Info24.make({ ...info, path: source.path })];
|
|
64
|
+
const repository = parse4(source.repository);
|
|
65
65
|
if (!repository || !isRemote2(repository))
|
|
66
66
|
return [];
|
|
67
67
|
if (source.branch) {
|
|
@@ -72,7 +72,7 @@ var layer = Layer.effect(Service71, Effect.gen(function* () {
|
|
|
72
72
|
}
|
|
73
73
|
}
|
|
74
74
|
return [
|
|
75
|
-
|
|
75
|
+
Info24.make({
|
|
76
76
|
...info,
|
|
77
77
|
path: AbsolutePath2.make(cachePath2(global.repos, repository, source.branch))
|
|
78
78
|
})
|
|
@@ -104,7 +104,7 @@ var layer = Layer.effect(Service71, Effect.gen(function* () {
|
|
|
104
104
|
})
|
|
105
105
|
});
|
|
106
106
|
yield* Effect.sleep("1 hour").pipe(Effect.andThen(refresh()), Effect.forever, Effect.forkScoped);
|
|
107
|
-
return
|
|
107
|
+
return Service63.of({
|
|
108
108
|
transform: state.transform,
|
|
109
109
|
reload: state.reload,
|
|
110
110
|
list: Effect.fn("Reference.list")(function* () {
|
|
@@ -112,10 +112,10 @@ var layer = Layer.effect(Service71, Effect.gen(function* () {
|
|
|
112
112
|
})
|
|
113
113
|
});
|
|
114
114
|
}));
|
|
115
|
-
var
|
|
116
|
-
service:
|
|
115
|
+
var node67 = makeLocationNode({
|
|
116
|
+
service: Service63,
|
|
117
117
|
layer,
|
|
118
|
-
deps: [Global.node, node84,
|
|
118
|
+
deps: [Global.node, node84, node68]
|
|
119
119
|
});
|
|
120
120
|
|
|
121
|
-
export { LocalSource2, GitSource2, Source5,
|
|
121
|
+
export { LocalSource2, GitSource2, Source5, Info24, Service63, node67, exports_reference2, Event15 };
|
|
@@ -1,23 +1,23 @@
|
|
|
1
1
|
import {
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
} from "./
|
|
2
|
+
Service63,
|
|
3
|
+
node67
|
|
4
|
+
} from "./repository-jb0x01rj.js";
|
|
5
5
|
import {
|
|
6
6
|
Key3,
|
|
7
7
|
removed2,
|
|
8
|
-
|
|
8
|
+
make20,
|
|
9
9
|
diffByKey2
|
|
10
|
-
} from "./
|
|
10
|
+
} from "./repository-rhjbct0v.js";
|
|
11
11
|
import {
|
|
12
12
|
__export
|
|
13
|
-
} from "./
|
|
13
|
+
} from "./repository-9rqn6x4v.js";
|
|
14
14
|
|
|
15
15
|
// src/reference/instructions.ts
|
|
16
16
|
var exports_instructions3 = {};
|
|
17
17
|
__export(exports_instructions3, {
|
|
18
18
|
ReferenceInstructions: () => exports_instructions3,
|
|
19
|
-
Service: () =>
|
|
20
|
-
node: () =>
|
|
19
|
+
Service: () => Service29,
|
|
20
|
+
node: () => node33
|
|
21
21
|
});
|
|
22
22
|
import { makeLocationNode } from "@opencode/util/effect/app-node";
|
|
23
23
|
import { Context, Effect, Layer, Schema } from "effect";
|
|
@@ -57,18 +57,18 @@ var update = (previous, current) => {
|
|
|
57
57
|
`);
|
|
58
58
|
};
|
|
59
59
|
|
|
60
|
-
class
|
|
60
|
+
class Service29 extends Context.Service()("@opencode/ReferenceInstructions") {
|
|
61
61
|
}
|
|
62
|
-
var layer = Layer.effect(
|
|
63
|
-
const references = yield*
|
|
64
|
-
return
|
|
62
|
+
var layer = Layer.effect(Service29, Effect.gen(function* () {
|
|
63
|
+
const references = yield* Service63;
|
|
64
|
+
return Service29.of({
|
|
65
65
|
load: Effect.fn("ReferenceInstructions.load")(function* () {
|
|
66
66
|
const available = (yield* references.list()).filter((reference) => reference.description !== undefined).map((reference) => ({
|
|
67
67
|
name: reference.name,
|
|
68
68
|
path: reference.path,
|
|
69
69
|
description: reference.description
|
|
70
70
|
})).toSorted((a, b) => a.name.localeCompare(b.name));
|
|
71
|
-
return
|
|
71
|
+
return make20({
|
|
72
72
|
key: Key3.make("core/reference-guidance"),
|
|
73
73
|
codec: Schema.toCodecJson(Schema.Array(Summary)),
|
|
74
74
|
read: Effect.succeed(available.length === 0 ? removed2 : available),
|
|
@@ -81,6 +81,6 @@ var layer = Layer.effect(Service23, Effect.gen(function* () {
|
|
|
81
81
|
})
|
|
82
82
|
});
|
|
83
83
|
}));
|
|
84
|
-
var
|
|
84
|
+
var node33 = makeLocationNode({ service: Service29, layer, deps: [node67] });
|
|
85
85
|
|
|
86
|
-
export {
|
|
86
|
+
export { Service29, node33, exports_instructions3 };
|