@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,54 +1,54 @@
|
|
|
1
1
|
import {
|
|
2
|
-
|
|
3
|
-
|
|
2
|
+
ID8,
|
|
3
|
+
Info22,
|
|
4
4
|
SessionSchema2
|
|
5
|
-
} from "./
|
|
5
|
+
} from "./repository-pk2244jm.js";
|
|
6
6
|
import {
|
|
7
7
|
RelativePath2
|
|
8
|
-
} from "./
|
|
8
|
+
} from "./repository-922hggd3.js";
|
|
9
9
|
import {
|
|
10
10
|
Service80,
|
|
11
11
|
node85
|
|
12
|
-
} from "./
|
|
12
|
+
} from "./repository-5naxf7j8.js";
|
|
13
13
|
import {
|
|
14
14
|
isSynced2,
|
|
15
15
|
Service79,
|
|
16
16
|
node84
|
|
17
|
-
} from "./
|
|
17
|
+
} from "./repository-e3rrrskg.js";
|
|
18
18
|
import {
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
} from "./
|
|
19
|
+
Service71,
|
|
20
|
+
node76
|
|
21
|
+
} from "./repository-66v2kt92.js";
|
|
22
22
|
import {
|
|
23
|
-
|
|
24
|
-
|
|
25
|
-
} from "./
|
|
23
|
+
Service49,
|
|
24
|
+
node53
|
|
25
|
+
} from "./repository-0bps82y7.js";
|
|
26
26
|
import {
|
|
27
27
|
SessionEvent2
|
|
28
|
-
} from "./
|
|
28
|
+
} from "./repository-ec1grn59.js";
|
|
29
29
|
import {
|
|
30
30
|
SessionMessageTable2
|
|
31
|
-
} from "./
|
|
31
|
+
} from "./repository-a1bz86dw.js";
|
|
32
32
|
import {
|
|
33
|
-
|
|
34
|
-
} from "./
|
|
33
|
+
node52
|
|
34
|
+
} from "./repository-y01f7qch.js";
|
|
35
35
|
import {
|
|
36
36
|
current2
|
|
37
|
-
} from "./
|
|
37
|
+
} from "./repository-cq37gk0t.js";
|
|
38
38
|
import {
|
|
39
39
|
snapshot2
|
|
40
|
-
} from "./
|
|
40
|
+
} from "./repository-fa62265d.js";
|
|
41
41
|
import {
|
|
42
42
|
Slug2
|
|
43
|
-
} from "./
|
|
43
|
+
} from "./repository-gebd4c9n.js";
|
|
44
44
|
import {
|
|
45
45
|
SessionAlreadyProjected2,
|
|
46
|
-
|
|
47
|
-
} from "./
|
|
46
|
+
node31
|
|
47
|
+
} from "./repository-6zr7k3aq.js";
|
|
48
48
|
import {
|
|
49
49
|
Metadata2,
|
|
50
|
-
|
|
51
|
-
} from "./
|
|
50
|
+
node48
|
|
51
|
+
} from "./repository-g71p6t9p.js";
|
|
52
52
|
import {
|
|
53
53
|
NotFoundError7,
|
|
54
54
|
MessageNotFoundError2,
|
|
@@ -64,50 +64,50 @@ import {
|
|
|
64
64
|
BusyError2,
|
|
65
65
|
InboxConflictError2,
|
|
66
66
|
SkillNotFoundError2
|
|
67
|
-
} from "./
|
|
67
|
+
} from "./repository-hrxs1993.js";
|
|
68
68
|
import {
|
|
69
|
-
|
|
70
|
-
|
|
71
|
-
|
|
72
|
-
} from "./
|
|
69
|
+
ListInput5,
|
|
70
|
+
Service54,
|
|
71
|
+
node58
|
|
72
|
+
} from "./repository-6xyd484e.js";
|
|
73
73
|
import {
|
|
74
|
-
|
|
75
|
-
|
|
76
|
-
} from "./
|
|
74
|
+
Service51,
|
|
75
|
+
node55
|
|
76
|
+
} from "./repository-s1taq3yv.js";
|
|
77
77
|
import {
|
|
78
|
-
|
|
79
|
-
|
|
80
|
-
} from "./
|
|
78
|
+
Service46,
|
|
79
|
+
node51
|
|
80
|
+
} from "./repository-ww34bdfa.js";
|
|
81
81
|
import {
|
|
82
82
|
llmClient2
|
|
83
|
-
} from "./
|
|
83
|
+
} from "./repository-5t3nmthw.js";
|
|
84
84
|
import {
|
|
85
|
-
|
|
86
|
-
|
|
87
|
-
} from "./
|
|
85
|
+
Service31,
|
|
86
|
+
node35
|
|
87
|
+
} from "./repository-jyjh1hv5.js";
|
|
88
88
|
import {
|
|
89
89
|
generate3
|
|
90
|
-
} from "./
|
|
90
|
+
} from "./repository-h165c536.js";
|
|
91
91
|
import {
|
|
92
92
|
execute2
|
|
93
|
-
} from "./
|
|
93
|
+
} from "./repository-2p43b4z4.js";
|
|
94
94
|
import {
|
|
95
95
|
DestinationNotFoundError2,
|
|
96
96
|
DestinationNotDirectoryError2,
|
|
97
97
|
DestinationUnavailableError2,
|
|
98
|
-
|
|
99
|
-
|
|
100
|
-
} from "./
|
|
98
|
+
Service27,
|
|
99
|
+
node30
|
|
100
|
+
} from "./repository-vzkegt94.js";
|
|
101
101
|
import {
|
|
102
|
-
|
|
103
|
-
|
|
104
|
-
} from "./
|
|
102
|
+
Service37,
|
|
103
|
+
node41
|
|
104
|
+
} from "./repository-8wsye86r.js";
|
|
105
105
|
import {
|
|
106
|
-
|
|
107
|
-
} from "./
|
|
106
|
+
make13
|
|
107
|
+
} from "./repository-cb945wyk.js";
|
|
108
108
|
import {
|
|
109
109
|
__export
|
|
110
|
-
} from "./
|
|
110
|
+
} from "./repository-9rqn6x4v.js";
|
|
111
111
|
|
|
112
112
|
// src/session.ts
|
|
113
113
|
var exports_session = {};
|
|
@@ -118,9 +118,9 @@ __export(exports_session, {
|
|
|
118
118
|
DestinationNotDirectoryError: () => DestinationNotDirectoryError2,
|
|
119
119
|
DestinationNotFoundError: () => DestinationNotFoundError2,
|
|
120
120
|
DestinationUnavailableError: () => DestinationUnavailableError2,
|
|
121
|
-
ID: () =>
|
|
121
|
+
ID: () => ID8,
|
|
122
122
|
InboxConflictError: () => InboxConflictError2,
|
|
123
|
-
Info: () =>
|
|
123
|
+
Info: () => Info22,
|
|
124
124
|
ListAnchor: () => ListAnchor2,
|
|
125
125
|
ListInput: () => ListInput3,
|
|
126
126
|
MessageDecodeError: () => MessageDecodeError2,
|
|
@@ -130,12 +130,12 @@ __export(exports_session, {
|
|
|
130
130
|
MessageToolIncompleteError: () => MessageToolIncompleteError2,
|
|
131
131
|
NotFoundError: () => NotFoundError7,
|
|
132
132
|
PromptConflictError: () => PromptConflictError2,
|
|
133
|
-
Service: () =>
|
|
133
|
+
Service: () => Service22,
|
|
134
134
|
Session: () => exports_session,
|
|
135
135
|
SessionSchema: () => SessionSchema2,
|
|
136
136
|
SkillNotFoundError: () => SkillNotFoundError2,
|
|
137
137
|
SyntheticConflictError: () => SyntheticConflictError2,
|
|
138
|
-
node: () =>
|
|
138
|
+
node: () => node26
|
|
139
139
|
});
|
|
140
140
|
import { Effect, Layer, Schema, Context, Stream } from "effect";
|
|
141
141
|
import { LLMClient } from "@opencode/ai";
|
|
@@ -145,26 +145,26 @@ import { Model } from "@opencode/schema/model";
|
|
|
145
145
|
import path from "path";
|
|
146
146
|
import { Node } from "@opencode/util/effect/app-node";
|
|
147
147
|
import { FSUtil } from "@opencode/util/fs-util";
|
|
148
|
-
var ListInput3 =
|
|
149
|
-
class
|
|
148
|
+
var ListInput3 = ListInput5;
|
|
149
|
+
class Service22 extends Context.Service()("@opencode/Session") {
|
|
150
150
|
}
|
|
151
|
-
var layer = Layer.effect(
|
|
151
|
+
var layer = Layer.effect(Service22, Effect.gen(function* () {
|
|
152
152
|
const app = yield* Metadata2;
|
|
153
153
|
const database = yield* Service80;
|
|
154
154
|
const db = database.db;
|
|
155
155
|
const bus = yield* Service79;
|
|
156
|
-
const projects = yield*
|
|
157
|
-
const execution = yield*
|
|
156
|
+
const projects = yield* Service71;
|
|
157
|
+
const execution = yield* Service46;
|
|
158
158
|
const llm = yield* LLMClient.Service;
|
|
159
|
-
const transport = yield*
|
|
160
|
-
const store = yield*
|
|
161
|
-
const instances = yield*
|
|
162
|
-
const moves = yield*
|
|
163
|
-
const jobs = yield*
|
|
164
|
-
const environments = yield*
|
|
165
|
-
const sessions = yield*
|
|
159
|
+
const transport = yield* Service31;
|
|
160
|
+
const store = yield* Service54;
|
|
161
|
+
const instances = yield* Service49;
|
|
162
|
+
const moves = yield* Service27;
|
|
163
|
+
const jobs = yield* Service51;
|
|
164
|
+
const environments = yield* Service37;
|
|
165
|
+
const sessions = yield* make13();
|
|
166
166
|
const isDurableSessionEvent = Schema.is(SessionEvent2.Durable);
|
|
167
|
-
const result =
|
|
167
|
+
const result = Service22.of({
|
|
168
168
|
create: Effect.fn("Session.create")(function* (input) {
|
|
169
169
|
const sessionID = input.id ?? SessionSchema2.ID.create();
|
|
170
170
|
const recorded = yield* store.get(sessionID);
|
|
@@ -266,11 +266,11 @@ var layer = Layer.effect(Service20, Effect.gen(function* () {
|
|
|
266
266
|
prompt: (input) => sessions.forSession(input.sessionID).prompt(input),
|
|
267
267
|
generate: Effect.fn("Session.generate")(function* (input) {
|
|
268
268
|
const session = yield* result.get(input.sessionID);
|
|
269
|
-
return yield* generate3({ session, prompt: input.prompt }).pipe(Effect.provideService(
|
|
269
|
+
return yield* generate3({ session, prompt: input.prompt }).pipe(Effect.provideService(Service49, instances), Effect.provideService(Service80, database), Effect.provideService(LLMClient.Service, llm));
|
|
270
270
|
}),
|
|
271
271
|
command: Effect.fn("Session.command")(function* (input) {
|
|
272
272
|
const session = yield* result.get(input.sessionID);
|
|
273
|
-
return yield* execute2({ ...input, session }).pipe(Effect.provideService(
|
|
273
|
+
return yield* execute2({ ...input, session }).pipe(Effect.provideService(Service49, instances));
|
|
274
274
|
}),
|
|
275
275
|
shell: (input) => sessions.forSession(input.sessionID).shell(input),
|
|
276
276
|
skill: (input) => sessions.forSession(input.sessionID).skill(input),
|
|
@@ -310,26 +310,26 @@ var layer = Layer.effect(Service20, Effect.gen(function* () {
|
|
|
310
310
|
});
|
|
311
311
|
return result;
|
|
312
312
|
}));
|
|
313
|
-
var
|
|
314
|
-
service:
|
|
313
|
+
var node26 = Node.makeGlobalNode({
|
|
314
|
+
service: Service22,
|
|
315
315
|
layer,
|
|
316
316
|
deps: [
|
|
317
|
-
|
|
318
|
-
|
|
317
|
+
node55,
|
|
318
|
+
node41,
|
|
319
319
|
node85,
|
|
320
320
|
node84,
|
|
321
|
-
|
|
321
|
+
node76,
|
|
322
|
+
node51,
|
|
323
|
+
node35,
|
|
324
|
+
llmClient2,
|
|
325
|
+
node58,
|
|
322
326
|
node53,
|
|
327
|
+
node52,
|
|
328
|
+
node30,
|
|
323
329
|
node31,
|
|
324
|
-
llmClient2,
|
|
325
|
-
node60,
|
|
326
|
-
node56,
|
|
327
|
-
node54,
|
|
328
|
-
node25,
|
|
329
|
-
node26,
|
|
330
330
|
FSUtil.node,
|
|
331
|
-
|
|
331
|
+
node48
|
|
332
332
|
]
|
|
333
333
|
});
|
|
334
334
|
|
|
335
|
-
export { ListAnchor2, ListInput3,
|
|
335
|
+
export { ListAnchor2, ListInput3, Service22, node26, exports_session };
|
|
@@ -1,49 +1,49 @@
|
|
|
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
|
-
|
|
15
|
-
} from "./
|
|
14
|
+
Service67
|
|
15
|
+
} from "./repository-jhhkcjkk.js";
|
|
16
16
|
import {
|
|
17
17
|
DEFAULT_SEARCH_LIMIT2,
|
|
18
18
|
DEFAULT_SEARCH_TIMEOUT_MS2,
|
|
19
19
|
GlobInput2,
|
|
20
20
|
Entry2
|
|
21
|
-
} from "./
|
|
21
|
+
} from "./repository-3dj2kwsy.js";
|
|
22
22
|
import {
|
|
23
|
-
|
|
24
|
-
} from "./
|
|
23
|
+
Service52
|
|
24
|
+
} from "./repository-8g9ptmgy.js";
|
|
25
25
|
import {
|
|
26
|
-
|
|
27
|
-
} from "./
|
|
26
|
+
Service13
|
|
27
|
+
} from "./repository-h7q5ckcv.js";
|
|
28
28
|
import {
|
|
29
29
|
__export
|
|
30
|
-
} from "./
|
|
30
|
+
} from "./repository-9rqn6x4v.js";
|
|
31
31
|
|
|
32
32
|
// src/tool/plugin/glob.ts
|
|
33
33
|
var exports_glob = {};
|
|
34
34
|
__export(exports_glob, {
|
|
35
35
|
GlobTool: () => exports_glob,
|
|
36
|
-
Input: () =>
|
|
37
|
-
Output: () =>
|
|
38
|
-
Plugin: () =>
|
|
39
|
-
name: () =>
|
|
40
|
-
toModelContent: () =>
|
|
36
|
+
Input: () => Input6,
|
|
37
|
+
Output: () => Output5,
|
|
38
|
+
Plugin: () => Plugin19,
|
|
39
|
+
name: () => name6,
|
|
40
|
+
toModelContent: () => toModelContent3
|
|
41
41
|
});
|
|
42
42
|
import { ToolFailure } from "@opencode/ai";
|
|
43
43
|
import { Effect, Schema } from "effect";
|
|
44
44
|
import path from "path";
|
|
45
|
-
var
|
|
46
|
-
var
|
|
45
|
+
var name6 = "glob";
|
|
46
|
+
var Input6 = Schema.Struct({
|
|
47
47
|
pattern: GlobInput2.fields.pattern.annotate({ description: "Glob pattern to match files against" }),
|
|
48
48
|
path: Schema.optionalKey(RelativePath2).annotate({
|
|
49
49
|
description: "Directory to search. Defaults to the current working directory."
|
|
@@ -55,35 +55,35 @@ var Input10 = Schema.Struct({
|
|
|
55
55
|
description: `Maximum number of matching files to return (default: ${DEFAULT_SEARCH_LIMIT2})`
|
|
56
56
|
})
|
|
57
57
|
});
|
|
58
|
-
var
|
|
59
|
-
var
|
|
58
|
+
var Output5 = Schema.Array(Entry2);
|
|
59
|
+
var toModelContent3 = (entries, truncated = false) => {
|
|
60
60
|
const lines = entries.length === 0 ? ["No files found"] : entries.map((item) => item.path);
|
|
61
61
|
if (truncated)
|
|
62
62
|
lines.push("", `(Results are truncated: showing first ${entries.length} results. Consider using a more specific path or pattern.)`);
|
|
63
63
|
return lines.join(`
|
|
64
64
|
`);
|
|
65
65
|
};
|
|
66
|
-
var
|
|
66
|
+
var Plugin19 = {
|
|
67
67
|
id: "opencode.tool.glob",
|
|
68
68
|
effect: Effect.fn("GlobTool.Plugin")(function* (ctx) {
|
|
69
|
-
const environment = yield*
|
|
70
|
-
const ripgrep = yield*
|
|
71
|
-
const location = yield*
|
|
72
|
-
const access = yield*
|
|
73
|
-
const permission = yield*
|
|
69
|
+
const environment = yield* Service68;
|
|
70
|
+
const ripgrep = yield* Service67;
|
|
71
|
+
const location = yield* Service70;
|
|
72
|
+
const access = yield* Service13;
|
|
73
|
+
const permission = yield* Service52;
|
|
74
74
|
yield* ctx.tool.transform((editor) => editor.add({
|
|
75
|
-
name:
|
|
75
|
+
name: name6,
|
|
76
76
|
options: { codemode: false },
|
|
77
77
|
description: 'Search file paths using a glob pattern (examples: "**/*.ts", "src/**/*.tsx").',
|
|
78
|
-
input:
|
|
79
|
-
output:
|
|
78
|
+
input: Input6,
|
|
79
|
+
output: Output5,
|
|
80
80
|
execute: (input, context) => Effect.gen(function* () {
|
|
81
81
|
const searchPath = input.path === "undefined" || input.path === "null" ? undefined : input.path;
|
|
82
82
|
const source = { type: "tool", messageID: context.messageID, id: context.id };
|
|
83
83
|
const target = yield* access.resolve({ path: searchPath ?? ".", kind: "directory" });
|
|
84
84
|
yield* access.authorizeExternal([target], context);
|
|
85
85
|
yield* permission.assert({
|
|
86
|
-
action:
|
|
86
|
+
action: name6,
|
|
87
87
|
resources: [input.pattern],
|
|
88
88
|
save: ["*"],
|
|
89
89
|
metadata: {
|
|
@@ -118,11 +118,11 @@ var Plugin11 = {
|
|
|
118
118
|
return { entries: entries.slice(0, limit), truncated: entries.length > limit };
|
|
119
119
|
}).pipe(Effect.map((result) => ({
|
|
120
120
|
output: result.entries,
|
|
121
|
-
content:
|
|
121
|
+
content: toModelContent3(result.entries.map((entry) => ({ ...entry, path: path.resolve(location.directory, entry.path) })), result.truncated),
|
|
122
122
|
metadata: { count: result.entries.length, truncated: result.truncated }
|
|
123
123
|
})), Effect.mapError((error) => error instanceof ToolFailure ? error : new ToolFailure({ message: `Unable to find files matching ${input.pattern}`, error })))
|
|
124
124
|
})).pipe(Effect.orDie);
|
|
125
125
|
})
|
|
126
126
|
};
|
|
127
127
|
|
|
128
|
-
export {
|
|
128
|
+
export { name6, Input6, Output5, toModelContent3, Plugin19, exports_glob };
|
|
@@ -1,18 +1,18 @@
|
|
|
1
1
|
import {
|
|
2
2
|
__export
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./repository-9rqn6x4v.js";
|
|
4
4
|
|
|
5
5
|
// src/codemode/catalog.ts
|
|
6
6
|
var exports_catalog = {};
|
|
7
7
|
__export(exports_catalog, {
|
|
8
8
|
CodeModeCatalog: () => exports_catalog,
|
|
9
9
|
Summary: () => Summary2,
|
|
10
|
-
Tool: () =>
|
|
10
|
+
Tool: () => Tool3,
|
|
11
11
|
namespaceLine: () => namespaceLine2,
|
|
12
12
|
summarize: () => summarize2
|
|
13
13
|
});
|
|
14
14
|
import { Schema } from "effect";
|
|
15
|
-
var
|
|
15
|
+
var Tool3 = Schema.Struct({
|
|
16
16
|
type: Schema.Literal("tool"),
|
|
17
17
|
name: Schema.String,
|
|
18
18
|
description: Schema.String,
|
|
@@ -148,4 +148,4 @@ function cost(text) {
|
|
|
148
148
|
return Math.round(text.length / CHARACTERS_PER_TOKEN);
|
|
149
149
|
}
|
|
150
150
|
|
|
151
|
-
export {
|
|
151
|
+
export { Tool3, Summary2, summarize2, namespaceLine2, exports_catalog };
|
|
@@ -1,28 +1,28 @@
|
|
|
1
1
|
import {
|
|
2
|
-
|
|
3
|
-
} from "./
|
|
2
|
+
Service44
|
|
3
|
+
} from "./repository-m23z2hgx.js";
|
|
4
4
|
import {
|
|
5
5
|
match2
|
|
6
|
-
} from "./
|
|
6
|
+
} from "./repository-y1fvbwt7.js";
|
|
7
7
|
import {
|
|
8
8
|
observe2
|
|
9
|
-
} from "./
|
|
9
|
+
} from "./repository-qsdy395h.js";
|
|
10
10
|
import {
|
|
11
11
|
__export
|
|
12
|
-
} from "./
|
|
12
|
+
} from "./repository-9rqn6x4v.js";
|
|
13
13
|
|
|
14
14
|
// src/config/plugin/policy.ts
|
|
15
15
|
var exports_policy = {};
|
|
16
16
|
__export(exports_policy, {
|
|
17
17
|
ConfigPolicyPlugin: () => exports_policy,
|
|
18
|
-
Plugin: () =>
|
|
18
|
+
Plugin: () => Plugin38
|
|
19
19
|
});
|
|
20
20
|
import { define } from "@opencode/plugin/effect/plugin";
|
|
21
21
|
import { Effect } from "effect";
|
|
22
|
-
var
|
|
22
|
+
var Plugin38 = define({
|
|
23
23
|
id: "opencode.config.policy",
|
|
24
24
|
effect: Effect.fn(function* (ctx) {
|
|
25
|
-
const config = yield*
|
|
25
|
+
const config = yield* Service44;
|
|
26
26
|
const loaded = yield* observe2(config, ctx.event, ctx.catalog.reload());
|
|
27
27
|
yield* ctx.catalog.transform((catalog) => {
|
|
28
28
|
const policies = loaded.entries.filter((entry) => entry.type === "document").toReversed().flatMap((entry) => entry.info.experimental?.policies ?? []);
|
|
@@ -35,4 +35,4 @@ var Plugin32 = define({
|
|
|
35
35
|
})
|
|
36
36
|
});
|
|
37
37
|
|
|
38
|
-
export {
|
|
38
|
+
export { Plugin38, exports_policy };
|
|
@@ -1,31 +1,31 @@
|
|
|
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
|
MessageDecodeError2
|
|
9
|
-
} from "./
|
|
9
|
+
} from "./repository-hrxs1993.js";
|
|
10
10
|
import {
|
|
11
11
|
InitializationBlocked2,
|
|
12
12
|
read3
|
|
13
|
-
} from "./
|
|
13
|
+
} from "./repository-rhjbct0v.js";
|
|
14
14
|
import {
|
|
15
15
|
SessionMessageTable2
|
|
16
|
-
} from "./
|
|
16
|
+
} from "./repository-a1bz86dw.js";
|
|
17
17
|
import {
|
|
18
18
|
initial2,
|
|
19
19
|
preview3
|
|
20
|
-
} from "./
|
|
20
|
+
} from "./repository-cq37gk0t.js";
|
|
21
21
|
import {
|
|
22
22
|
compatible2,
|
|
23
23
|
isCheckpoint2,
|
|
24
24
|
validate2
|
|
25
|
-
} from "./
|
|
25
|
+
} from "./repository-msq0jde0.js";
|
|
26
26
|
import {
|
|
27
27
|
__export
|
|
28
|
-
} from "./
|
|
28
|
+
} from "./repository-9rqn6x4v.js";
|
|
29
29
|
|
|
30
30
|
// src/session/history.ts
|
|
31
31
|
var exports_history = {};
|
|
@@ -1,12 +1,12 @@
|
|
|
1
1
|
import {
|
|
2
2
|
AbsolutePath2
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./repository-922hggd3.js";
|
|
4
4
|
import {
|
|
5
|
-
|
|
6
|
-
} from "./
|
|
5
|
+
Service70
|
|
6
|
+
} from "./repository-vmvf27d6.js";
|
|
7
7
|
import {
|
|
8
8
|
__export
|
|
9
|
-
} from "./
|
|
9
|
+
} from "./repository-9rqn6x4v.js";
|
|
10
10
|
|
|
11
11
|
// src/config/discovery.ts
|
|
12
12
|
var exports_discovery2 = {};
|
|
@@ -23,7 +23,7 @@ var names4 = ["opencode.json", "opencode.jsonc"];
|
|
|
23
23
|
var discover3 = Effect.fn("ConfigDiscovery.discover")(function* (options) {
|
|
24
24
|
const fs = yield* FSUtil.Service;
|
|
25
25
|
const global = yield* Global.Service;
|
|
26
|
-
const location = yield*
|
|
26
|
+
const location = yield* Service70;
|
|
27
27
|
const globalDirectory = AbsolutePath2.make(global.config);
|
|
28
28
|
const globalAgentsDirectory = AbsolutePath2.make(path.join(global.home, ".agents"));
|
|
29
29
|
const globalClaudeDirectory = AbsolutePath2.make(path.join(global.home, ".claude"));
|
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
import {
|
|
2
2
|
SessionEvent2
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./repository-ec1grn59.js";
|
|
4
4
|
import {
|
|
5
5
|
tokens2
|
|
6
|
-
} from "./
|
|
6
|
+
} from "./repository-tdstcens.js";
|
|
7
7
|
|
|
8
8
|
// src/session/runner/publish-llm-event.ts
|
|
9
9
|
import { Effect, Fiber, Iterable } from "effect";
|
|
@@ -1,21 +1,21 @@
|
|
|
1
1
|
import {
|
|
2
|
-
|
|
2
|
+
ID18,
|
|
3
3
|
isAISDK2,
|
|
4
4
|
packageName2,
|
|
5
5
|
mergeOverlay2
|
|
6
|
-
} from "./
|
|
6
|
+
} from "./repository-m27pyyd3.js";
|
|
7
7
|
import {
|
|
8
8
|
__export
|
|
9
|
-
} from "./
|
|
9
|
+
} from "./repository-9rqn6x4v.js";
|
|
10
10
|
|
|
11
11
|
// src/aisdk.ts
|
|
12
12
|
var exports_aisdk = {};
|
|
13
13
|
__export(exports_aisdk, {
|
|
14
14
|
AISDK: () => exports_aisdk,
|
|
15
15
|
InitError: () => InitError2,
|
|
16
|
-
Service: () =>
|
|
16
|
+
Service: () => Service74,
|
|
17
17
|
locationLayer: () => locationLayer2,
|
|
18
|
-
node: () =>
|
|
18
|
+
node: () => node79
|
|
19
19
|
});
|
|
20
20
|
import { makeLocationNode } from "@opencode/util/effect/app-node";
|
|
21
21
|
import { APICallError } from "@ai-sdk/provider";
|
|
@@ -128,7 +128,7 @@ function prepareOptions(model, pkg) {
|
|
|
128
128
|
}
|
|
129
129
|
|
|
130
130
|
class InitError2 extends Schema.TaggedError()("AISDK.InitError", {
|
|
131
|
-
providerID:
|
|
131
|
+
providerID: ID18,
|
|
132
132
|
cause: Schema.Defect()
|
|
133
133
|
}) {
|
|
134
134
|
}
|
|
@@ -136,9 +136,9 @@ function initError(providerID) {
|
|
|
136
136
|
return Effect.catchCause((cause) => Effect.fail(new InitError2({ providerID, cause: Cause.squash(cause) })));
|
|
137
137
|
}
|
|
138
138
|
|
|
139
|
-
class
|
|
139
|
+
class Service74 extends Context.Service()("@opencode/AISDK") {
|
|
140
140
|
}
|
|
141
|
-
var locationLayer2 = Layer.effect(
|
|
141
|
+
var locationLayer2 = Layer.effect(Service74, Effect.gen(function* () {
|
|
142
142
|
let sdkHooks = [];
|
|
143
143
|
let languageHooks = [];
|
|
144
144
|
const languages = new Map;
|
|
@@ -176,7 +176,7 @@ var locationLayer2 = Layer.effect(Service69, Effect.gen(function* () {
|
|
|
176
176
|
}
|
|
177
177
|
return event;
|
|
178
178
|
});
|
|
179
|
-
const service =
|
|
179
|
+
const service = Service74.of({
|
|
180
180
|
hook: {
|
|
181
181
|
sdk: register(() => sdkHooks, (next) => sdkHooks = next),
|
|
182
182
|
language: register(() => languageHooks, (next) => languageHooks = next)
|
|
@@ -809,6 +809,6 @@ function providerErrorMessage(error) {
|
|
|
809
809
|
const prefix = error.statusCode === undefined ? "Provider request failed" : `Provider request failed with HTTP ${error.statusCode}`;
|
|
810
810
|
return error.message.trim() !== "" ? error.message : message ?? (code === undefined ? prefix : `${prefix}: ${code}`);
|
|
811
811
|
}
|
|
812
|
-
var
|
|
812
|
+
var node79 = makeLocationNode({ service: Service74, layer: locationLayer2, deps: [] });
|
|
813
813
|
|
|
814
|
-
export { InitError2,
|
|
814
|
+
export { InitError2, Service74, locationLayer2, node79, exports_aisdk };
|