@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,32 +1,32 @@
|
|
|
1
1
|
import {
|
|
2
2
|
RelativePath2
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./repository-922hggd3.js";
|
|
4
4
|
import {
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
} from "./
|
|
5
|
+
Service70,
|
|
6
|
+
node75
|
|
7
|
+
} from "./repository-vmvf27d6.js";
|
|
8
8
|
import {
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
} from "./
|
|
9
|
+
Service67,
|
|
10
|
+
node71
|
|
11
|
+
} from "./repository-jhhkcjkk.js";
|
|
12
12
|
import {
|
|
13
13
|
isHome2,
|
|
14
14
|
names3
|
|
15
|
-
} from "./
|
|
15
|
+
} from "./repository-tcezcvh9.js";
|
|
16
16
|
import {
|
|
17
17
|
__export
|
|
18
|
-
} from "./
|
|
18
|
+
} from "./repository-9rqn6x4v.js";
|
|
19
19
|
|
|
20
20
|
// src/filesystem/search.ts
|
|
21
21
|
var exports_search = {};
|
|
22
22
|
__export(exports_search, {
|
|
23
23
|
FileSystemSearch: () => exports_search,
|
|
24
|
-
Options: () =>
|
|
25
|
-
Service: () =>
|
|
26
|
-
configured: () =>
|
|
24
|
+
Options: () => Options3,
|
|
25
|
+
Service: () => Service18,
|
|
26
|
+
configured: () => configured3,
|
|
27
27
|
fffLayer: () => fffLayer2,
|
|
28
|
-
layer: () =>
|
|
29
|
-
node: () =>
|
|
28
|
+
layer: () => layer9,
|
|
29
|
+
node: () => node21,
|
|
30
30
|
ripgrepLayer: () => ripgrepLayer2
|
|
31
31
|
});
|
|
32
32
|
import { makeLocationNode } from "@opencode/util/effect/app-node";
|
|
@@ -35,11 +35,11 @@ import { Clock, Context, Deferred, Duration, Effect, Layer, Schema, Scope } from
|
|
|
35
35
|
import { Fff } from "#fff";
|
|
36
36
|
import fuzzysort from "fuzzysort";
|
|
37
37
|
import { FileSystem } from "@opencode/schema/filesystem";
|
|
38
|
-
var
|
|
38
|
+
var Options3 = Schema.Struct({
|
|
39
39
|
fff: Schema.optional(Schema.Boolean)
|
|
40
40
|
});
|
|
41
41
|
|
|
42
|
-
class
|
|
42
|
+
class Service18 extends Context.Service()("@opencode/FileSystem/Search") {
|
|
43
43
|
}
|
|
44
44
|
var REFRESH_INTERVAL = Duration.toMillis("10 seconds");
|
|
45
45
|
function emptyIndex() {
|
|
@@ -58,9 +58,9 @@ function search(index, input) {
|
|
|
58
58
|
});
|
|
59
59
|
});
|
|
60
60
|
}
|
|
61
|
-
var ripgrepLayer2 = Layer.effect(
|
|
62
|
-
const location = yield*
|
|
63
|
-
const ripgrep = yield*
|
|
61
|
+
var ripgrepLayer2 = Layer.effect(Service18, Effect.gen(function* () {
|
|
62
|
+
const location = yield* Service70;
|
|
63
|
+
const ripgrep = yield* Service67;
|
|
64
64
|
const scope = yield* Scope.Scope;
|
|
65
65
|
const clock = yield* Clock.Clock;
|
|
66
66
|
const home = isHome2(location.directory);
|
|
@@ -105,15 +105,15 @@ var ripgrepLayer2 = Layer.effect(Service17, Effect.gen(function* () {
|
|
|
105
105
|
Deferred.doneUnsafe(attempt, exit);
|
|
106
106
|
})), Effect.forkIn(scope), Effect.flatMap(() => initialized ? Effect.void : Deferred.await(attempt)));
|
|
107
107
|
});
|
|
108
|
-
return
|
|
108
|
+
return Service18.of({
|
|
109
109
|
find: (input) => Effect.gen(function* () {
|
|
110
110
|
yield* refresh;
|
|
111
111
|
return search(index, input);
|
|
112
112
|
})
|
|
113
113
|
});
|
|
114
114
|
}));
|
|
115
|
-
var fffLayer2 = Layer.effect(
|
|
116
|
-
const location = yield*
|
|
115
|
+
var fffLayer2 = Layer.effect(Service18, Effect.gen(function* () {
|
|
116
|
+
const location = yield* Service70;
|
|
117
117
|
const result = yield* Effect.try({
|
|
118
118
|
try: () => Fff.create({
|
|
119
119
|
basePath: location.directory,
|
|
@@ -126,12 +126,12 @@ var fffLayer2 = Layer.effect(Service17, Effect.gen(function* () {
|
|
|
126
126
|
if (!result?.ok) {
|
|
127
127
|
if (result)
|
|
128
128
|
yield* Effect.logWarning("failed to initialize fff", { error: result.error });
|
|
129
|
-
return
|
|
129
|
+
return Service18.of({
|
|
130
130
|
find: () => Effect.succeed([])
|
|
131
131
|
});
|
|
132
132
|
}
|
|
133
133
|
yield* Effect.addFinalizer(() => Effect.sync(() => result.value.destroy()));
|
|
134
|
-
return
|
|
134
|
+
return Service18.of({
|
|
135
135
|
find: (input) => Effect.sync(() => {
|
|
136
136
|
const options = { pageIndex: 0, pageSize: input.limit ?? 50 };
|
|
137
137
|
const items = (() => {
|
|
@@ -174,17 +174,17 @@ var fffLayer2 = Layer.effect(Service17, Effect.gen(function* () {
|
|
|
174
174
|
})
|
|
175
175
|
});
|
|
176
176
|
}));
|
|
177
|
-
var
|
|
178
|
-
const location = yield*
|
|
177
|
+
var layer9 = (options) => Layer.unwrap(Effect.gen(function* () {
|
|
178
|
+
const location = yield* Service70;
|
|
179
179
|
if (location.workspaceID)
|
|
180
180
|
return ripgrepLayer2;
|
|
181
181
|
if (options?.fff === false || options?.fff === undefined && process.platform === "win32" || !Fff.available())
|
|
182
182
|
return ripgrepLayer2;
|
|
183
183
|
return location.vcs && !isHome2(location.directory) ? fffLayer2 : ripgrepLayer2;
|
|
184
184
|
}));
|
|
185
|
-
function
|
|
186
|
-
return makeLocationNode({ service:
|
|
185
|
+
function configured3(options) {
|
|
186
|
+
return makeLocationNode({ service: Service18, layer: layer9(options), deps: [node75, node71] });
|
|
187
187
|
}
|
|
188
|
-
var
|
|
188
|
+
var node21 = configured3();
|
|
189
189
|
|
|
190
|
-
export {
|
|
190
|
+
export { Options3, Service18, ripgrepLayer2, fffLayer2, layer9, configured3, node21, exports_search };
|
|
@@ -2,13 +2,13 @@ import {
|
|
|
2
2
|
AgentNotFoundError2,
|
|
3
3
|
StepFailedError2,
|
|
4
4
|
UserInterruptedError2
|
|
5
|
-
} from "./
|
|
5
|
+
} from "./repository-hrxs1993.js";
|
|
6
6
|
import {
|
|
7
7
|
BlockedError2
|
|
8
|
-
} from "./
|
|
8
|
+
} from "./repository-8g9ptmgy.js";
|
|
9
9
|
import {
|
|
10
10
|
AuthorizationError2
|
|
11
|
-
} from "./
|
|
11
|
+
} from "./repository-66cmz1z4.js";
|
|
12
12
|
import {
|
|
13
13
|
ModelNotSelectedError2,
|
|
14
14
|
ModelUnavailableError2,
|
|
@@ -16,7 +16,7 @@ import {
|
|
|
16
16
|
UnsupportedPackageError2,
|
|
17
17
|
UnresolvedProviderVariablesError2,
|
|
18
18
|
UnsupportedCompactionError2
|
|
19
|
-
} from "./
|
|
19
|
+
} from "./repository-yn917984.js";
|
|
20
20
|
|
|
21
21
|
// src/session/to-session-error.ts
|
|
22
22
|
import { AIError, ToolFailure } from "@opencode/ai";
|
|
@@ -1,62 +1,62 @@
|
|
|
1
1
|
import {
|
|
2
2
|
NonNegativeInt2
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./repository-922hggd3.js";
|
|
4
4
|
import {
|
|
5
5
|
latest2,
|
|
6
|
-
|
|
7
|
-
} from "./
|
|
6
|
+
Service44
|
|
7
|
+
} from "./repository-m23z2hgx.js";
|
|
8
8
|
import {
|
|
9
9
|
typeFollowing2
|
|
10
|
-
} from "./
|
|
10
|
+
} from "./repository-2a5m3afh.js";
|
|
11
11
|
import {
|
|
12
|
-
|
|
13
|
-
} from "./
|
|
12
|
+
Service68
|
|
13
|
+
} from "./repository-z2v8zvr3.js";
|
|
14
14
|
import {
|
|
15
|
-
|
|
16
|
-
} from "./
|
|
15
|
+
Service51
|
|
16
|
+
} from "./repository-s1taq3yv.js";
|
|
17
17
|
import {
|
|
18
|
-
|
|
19
|
-
} from "./
|
|
18
|
+
Service52
|
|
19
|
+
} from "./repository-8g9ptmgy.js";
|
|
20
20
|
import {
|
|
21
|
-
|
|
21
|
+
Service13,
|
|
22
22
|
resolvePath2
|
|
23
|
-
} from "./
|
|
23
|
+
} from "./repository-h7q5ckcv.js";
|
|
24
24
|
import {
|
|
25
25
|
output2,
|
|
26
26
|
notice2,
|
|
27
27
|
metadata2,
|
|
28
28
|
notification2
|
|
29
|
-
} from "./
|
|
29
|
+
} from "./repository-fxbjtjnd.js";
|
|
30
30
|
import {
|
|
31
|
-
|
|
31
|
+
Service61,
|
|
32
32
|
name15
|
|
33
|
-
} from "./
|
|
33
|
+
} from "./repository-qg6rt9vr.js";
|
|
34
34
|
import {
|
|
35
|
-
|
|
36
|
-
|
|
37
|
-
} from "./
|
|
35
|
+
NotFoundError5,
|
|
36
|
+
Service36
|
|
37
|
+
} from "./repository-994195wy.js";
|
|
38
38
|
import {
|
|
39
|
-
|
|
40
|
-
} from "./
|
|
39
|
+
Service22
|
|
40
|
+
} from "./repository-g8e8xch5.js";
|
|
41
41
|
import {
|
|
42
42
|
scan2
|
|
43
|
-
} from "./
|
|
43
|
+
} from "./repository-tq3zj2mx.js";
|
|
44
44
|
import {
|
|
45
45
|
__export
|
|
46
|
-
} from "./
|
|
46
|
+
} from "./repository-9rqn6x4v.js";
|
|
47
47
|
|
|
48
48
|
// src/tool/plugin/shell.ts
|
|
49
49
|
var exports_shell = {};
|
|
50
50
|
__export(exports_shell, {
|
|
51
51
|
DEFAULT_TIMEOUT_MS: () => DEFAULT_TIMEOUT_MS2,
|
|
52
|
-
Input: () =>
|
|
53
|
-
Plugin: () =>
|
|
52
|
+
Input: () => Input11,
|
|
53
|
+
Plugin: () => Plugin25,
|
|
54
54
|
ShellTool: () => exports_shell,
|
|
55
|
-
name: () =>
|
|
55
|
+
name: () => name11
|
|
56
56
|
});
|
|
57
57
|
import { ToolFailure } from "@opencode/ai";
|
|
58
58
|
import { Deferred, Effect, Schema, Scope } from "effect";
|
|
59
|
-
var
|
|
59
|
+
var name11 = "shell";
|
|
60
60
|
var DEFAULT_TIMEOUT_MS2 = 2 * 60 * 1000;
|
|
61
61
|
var BACKGROUND_INSTRUCTION = "You will be notified automatically when the command finishes. The notification will include the command's output. DO NOT run sleep commands or poll the output file to check for completion. You can read from the file when its current output would be useful, such as when inspecting logs from a background server. Otherwise, continue with other work or end your response.";
|
|
62
62
|
var OS = process.platform === "darwin" ? "macOS" : process.platform === "win32" ? "Windows" : process.platform === "linux" ? "Linux" : process.platform;
|
|
@@ -70,7 +70,7 @@ var description = (shell) => [
|
|
|
70
70
|
"Commands accept an optional timeout, background commands have no timeout by default.",
|
|
71
71
|
"Background commands return immediately, and you will be notified when they complete."
|
|
72
72
|
].join(" ");
|
|
73
|
-
var
|
|
73
|
+
var Input11 = Schema.Struct({
|
|
74
74
|
command: Schema.String.annotate({ description: "Shell command string to execute" }),
|
|
75
75
|
workdir: Schema.optionalKey(Schema.String).annotate({
|
|
76
76
|
description: "Working directory to execute the command in. Defaults to the current working directory. When possible, avoid changing directories in the command and set the working directory here instead."
|
|
@@ -115,19 +115,19 @@ Output is streaming to: ${file}`,
|
|
|
115
115
|
truncated: false,
|
|
116
116
|
status: "running"
|
|
117
117
|
});
|
|
118
|
-
var
|
|
118
|
+
var Plugin25 = {
|
|
119
119
|
id: "opencode.tool.shell",
|
|
120
120
|
effect: Effect.fn("ShellTool.Plugin")(function* (ctx) {
|
|
121
|
-
const sessions = yield*
|
|
122
|
-
const jobs = yield*
|
|
121
|
+
const sessions = yield* Service22;
|
|
122
|
+
const jobs = yield* Service51;
|
|
123
123
|
const scope = yield* Scope.Scope;
|
|
124
|
-
const environment = yield*
|
|
125
|
-
const access = yield*
|
|
126
|
-
const shell = yield*
|
|
127
|
-
const shellSelect = yield*
|
|
124
|
+
const environment = yield* Service68;
|
|
125
|
+
const access = yield* Service13;
|
|
126
|
+
const shell = yield* Service36;
|
|
127
|
+
const shellSelect = yield* Service61;
|
|
128
128
|
const compatibleShell = shellSelect.resolve({ priority: "compat" });
|
|
129
|
-
const permission = yield*
|
|
130
|
-
const config = yield*
|
|
129
|
+
const permission = yield* Service52;
|
|
130
|
+
const config = yield* Service44;
|
|
131
131
|
const prepare = Effect.fn("ShellTool.prepare")(function* (invocation, context) {
|
|
132
132
|
const source = {
|
|
133
133
|
type: "tool",
|
|
@@ -146,7 +146,7 @@ var Plugin7 = {
|
|
|
146
146
|
yield* access.authorizeExternal([target, ...directories], context);
|
|
147
147
|
if (parsed.commands.length > 0)
|
|
148
148
|
yield* permission.assert({
|
|
149
|
-
action:
|
|
149
|
+
action: name11,
|
|
150
150
|
resources: parsed.commands.map((command) => command.resource),
|
|
151
151
|
save: parsed.commands.map((command) => command.save),
|
|
152
152
|
sessionID: context.sessionID,
|
|
@@ -183,10 +183,10 @@ var Plugin7 = {
|
|
|
183
183
|
yield* jobs.completeBackground(info.notificationID);
|
|
184
184
|
}, Effect.forkIn(scope, { startImmediately: true }));
|
|
185
185
|
yield* ctx.tool.transform((editor) => editor.add({
|
|
186
|
-
name:
|
|
186
|
+
name: name11,
|
|
187
187
|
options: { codemode: false },
|
|
188
188
|
description: description(),
|
|
189
|
-
input:
|
|
189
|
+
input: Input11,
|
|
190
190
|
output: Output,
|
|
191
191
|
execute: (input, context) => Effect.gen(function* () {
|
|
192
192
|
const timeout = input.background === true ? input.timeout ?? 0 : input.timeout ?? DEFAULT_TIMEOUT_MS2;
|
|
@@ -205,7 +205,7 @@ var Plugin7 = {
|
|
|
205
205
|
const run = Effect.gen(function* () {
|
|
206
206
|
const result = yield* shell.result(info);
|
|
207
207
|
if (!result.capture)
|
|
208
|
-
return yield* new
|
|
208
|
+
return yield* new NotFoundError5({ id: info.id });
|
|
209
209
|
const output = output2(result);
|
|
210
210
|
return {
|
|
211
211
|
...output,
|
|
@@ -219,7 +219,7 @@ Command exceeded timeout of ${finalTimeout} ms. Retry with a larger timeout if t
|
|
|
219
219
|
`)), Effect.onInterrupt(() => shell.remove(info.id).pipe(Effect.ignore)));
|
|
220
220
|
const job = yield* jobs.start({
|
|
221
221
|
id: info.id,
|
|
222
|
-
type:
|
|
222
|
+
type: name11,
|
|
223
223
|
title: info.command,
|
|
224
224
|
metadata: { sessionID: context.sessionID, shellID: info.id },
|
|
225
225
|
recovery: {
|
|
@@ -249,7 +249,7 @@ Command exceeded timeout of ${finalTimeout} ms. Retry with a larger timeout if t
|
|
|
249
249
|
}).pipe(Effect.map(toolResult), Effect.mapError((error) => new ToolFailure({ message: `Unable to execute command: ${input.command}`, error })))
|
|
250
250
|
})).pipe(Effect.orDie);
|
|
251
251
|
yield* ctx.session.hook("context", (event) => Effect.gen(function* () {
|
|
252
|
-
const tool = event.tools[
|
|
252
|
+
const tool = event.tools[name11];
|
|
253
253
|
if (!tool)
|
|
254
254
|
return;
|
|
255
255
|
tool.description = description(name15(yield* compatibleShell));
|
|
@@ -257,4 +257,4 @@ Command exceeded timeout of ${finalTimeout} ms. Retry with a larger timeout if t
|
|
|
257
257
|
})
|
|
258
258
|
};
|
|
259
259
|
|
|
260
|
-
export {
|
|
260
|
+
export { name11, DEFAULT_TIMEOUT_MS2, Input11, Plugin25, exports_shell };
|
|
@@ -1,20 +1,20 @@
|
|
|
1
1
|
import {
|
|
2
2
|
__export
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./repository-9rqn6x4v.js";
|
|
4
4
|
|
|
5
5
|
// src/instance/service.ts
|
|
6
6
|
var exports_service2 = {};
|
|
7
7
|
__export(exports_service2, {
|
|
8
8
|
Instance: () => exports_service2,
|
|
9
|
-
Service: () =>
|
|
10
|
-
node: () =>
|
|
9
|
+
Service: () => Service49,
|
|
10
|
+
node: () => node53
|
|
11
11
|
});
|
|
12
12
|
import { Context } from "effect";
|
|
13
13
|
import { Node } from "@opencode/util/effect/app-node";
|
|
14
14
|
import { LayerNode } from "@opencode/util/effect/layer-node";
|
|
15
15
|
|
|
16
|
-
class
|
|
16
|
+
class Service49 extends Context.Service()("@opencode/Instance") {
|
|
17
17
|
}
|
|
18
|
-
var
|
|
18
|
+
var node53 = LayerNode.unbound(Service49, Node.tags.values.global);
|
|
19
19
|
|
|
20
|
-
export {
|
|
20
|
+
export { Service49, node53, exports_service2 };
|
|
@@ -1,115 +1,115 @@
|
|
|
1
1
|
import {
|
|
2
2
|
Service80,
|
|
3
3
|
node85
|
|
4
|
-
} from "./
|
|
4
|
+
} from "./repository-5naxf7j8.js";
|
|
5
5
|
import {
|
|
6
6
|
Service79,
|
|
7
7
|
node84
|
|
8
|
-
} from "./
|
|
8
|
+
} from "./repository-e3rrrskg.js";
|
|
9
9
|
import {
|
|
10
10
|
SessionEvent2
|
|
11
|
-
} from "./
|
|
11
|
+
} from "./repository-ec1grn59.js";
|
|
12
12
|
import {
|
|
13
13
|
SessionMessageTable2
|
|
14
|
-
} from "./
|
|
14
|
+
} from "./repository-a1bz86dw.js";
|
|
15
15
|
import {
|
|
16
16
|
prepare4
|
|
17
|
-
} from "./
|
|
17
|
+
} from "./repository-cq37gk0t.js";
|
|
18
18
|
import {
|
|
19
19
|
llmClient2
|
|
20
|
-
} from "./
|
|
20
|
+
} from "./repository-5t3nmthw.js";
|
|
21
21
|
import {
|
|
22
22
|
SessionMessage2
|
|
23
|
-
} from "./
|
|
23
|
+
} from "./repository-gftt206x.js";
|
|
24
24
|
import {
|
|
25
25
|
StepFailedError2
|
|
26
|
-
} from "./
|
|
26
|
+
} from "./repository-hrxs1993.js";
|
|
27
27
|
import {
|
|
28
28
|
provenance2
|
|
29
|
-
} from "./
|
|
29
|
+
} from "./repository-msq0jde0.js";
|
|
30
30
|
import {
|
|
31
31
|
decodeMessageRow2,
|
|
32
32
|
preview2
|
|
33
|
-
} from "./
|
|
33
|
+
} from "./repository-gs888y4z.js";
|
|
34
34
|
import {
|
|
35
|
-
|
|
36
|
-
|
|
37
|
-
} from "./
|
|
35
|
+
Service54,
|
|
36
|
+
node58
|
|
37
|
+
} from "./repository-6xyd484e.js";
|
|
38
38
|
import {
|
|
39
|
-
|
|
40
|
-
|
|
41
|
-
} from "./
|
|
39
|
+
Service31,
|
|
40
|
+
node35
|
|
41
|
+
} from "./repository-jyjh1hv5.js";
|
|
42
42
|
import {
|
|
43
43
|
baseTranscript2
|
|
44
|
-
} from "./
|
|
44
|
+
} from "./repository-paks601p.js";
|
|
45
45
|
import {
|
|
46
|
-
|
|
47
|
-
} from "./
|
|
46
|
+
make8
|
|
47
|
+
} from "./repository-ttm38dpy.js";
|
|
48
48
|
import {
|
|
49
|
-
|
|
50
|
-
|
|
51
|
-
} from "./
|
|
49
|
+
Service9,
|
|
50
|
+
node12
|
|
51
|
+
} from "./repository-4em4qkvj.js";
|
|
52
52
|
import {
|
|
53
|
-
|
|
53
|
+
Service24,
|
|
54
54
|
node27
|
|
55
|
-
} from "./
|
|
55
|
+
} from "./repository-5ffk5gzk.js";
|
|
56
56
|
import {
|
|
57
57
|
serialized2,
|
|
58
58
|
nextPromotable2,
|
|
59
59
|
promote2
|
|
60
|
-
} from "./
|
|
60
|
+
} from "./repository-y01f7qch.js";
|
|
61
61
|
import {
|
|
62
|
-
|
|
62
|
+
Service2,
|
|
63
63
|
isUntitled2,
|
|
64
|
-
|
|
65
|
-
} from "./
|
|
64
|
+
node3
|
|
65
|
+
} from "./repository-35adck8a.js";
|
|
66
66
|
import {
|
|
67
67
|
DrainResult2,
|
|
68
|
-
|
|
69
|
-
} from "./
|
|
68
|
+
Service47
|
|
69
|
+
} from "./repository-embw8kgh.js";
|
|
70
70
|
import {
|
|
71
|
-
|
|
72
|
-
} from "./
|
|
71
|
+
node62
|
|
72
|
+
} from "./repository-vbzh8kc2.js";
|
|
73
73
|
import {
|
|
74
|
-
|
|
75
|
-
} from "./
|
|
74
|
+
node42
|
|
75
|
+
} from "./repository-g48a3zmh.js";
|
|
76
76
|
import {
|
|
77
77
|
Outcome2,
|
|
78
78
|
make3
|
|
79
|
-
} from "./
|
|
79
|
+
} from "./repository-9kp37p9x.js";
|
|
80
80
|
import {
|
|
81
|
-
|
|
82
|
-
} from "./
|
|
81
|
+
Service23
|
|
82
|
+
} from "./repository-phz3h32g.js";
|
|
83
83
|
import {
|
|
84
84
|
node23
|
|
85
|
-
} from "./
|
|
85
|
+
} from "./repository-n4w1yhk7.js";
|
|
86
86
|
import {
|
|
87
87
|
MAX_STEPS_PROMPT2
|
|
88
|
-
} from "./
|
|
88
|
+
} from "./repository-y44na4kk.js";
|
|
89
89
|
import {
|
|
90
90
|
__export
|
|
91
|
-
} from "./
|
|
91
|
+
} from "./repository-9rqn6x4v.js";
|
|
92
92
|
|
|
93
93
|
// src/session/runner/llm.ts
|
|
94
94
|
var exports_llm = {};
|
|
95
95
|
__export(exports_llm, {
|
|
96
96
|
SessionRunnerLLM: () => exports_llm,
|
|
97
|
-
node: () =>
|
|
97
|
+
node: () => node2
|
|
98
98
|
});
|
|
99
99
|
import { Message } from "@opencode/ai";
|
|
100
100
|
import { and, desc, eq, sql } from "drizzle-orm";
|
|
101
101
|
import { Cause, Effect, Exit, FiberMap, Layer } from "effect";
|
|
102
102
|
import { makeLocationNode } from "@opencode/util/effect/app-node";
|
|
103
103
|
var CONTINUE_AFTER_INCOMPLETE_STREAM = "The previous response was interrupted. Continue from where you left off without repeating completed content.";
|
|
104
|
-
var layer = Layer.effect(
|
|
104
|
+
var layer = Layer.effect(Service47, Effect.gen(function* () {
|
|
105
105
|
const bus = yield* Service79;
|
|
106
|
-
const store = yield*
|
|
107
|
-
const context = yield*
|
|
108
|
-
const modelTransport = yield*
|
|
106
|
+
const store = yield* Service54;
|
|
107
|
+
const context = yield* Service24;
|
|
108
|
+
const modelTransport = yield* Service31;
|
|
109
109
|
const db = (yield* Service80).db;
|
|
110
|
-
const compaction = yield*
|
|
111
|
-
const plugins = yield*
|
|
112
|
-
const title = yield*
|
|
110
|
+
const compaction = yield* Service9;
|
|
111
|
+
const plugins = yield* Service23;
|
|
112
|
+
const title = yield* Service2;
|
|
113
113
|
const steps = yield* make3;
|
|
114
114
|
const titles = yield* FiberMap.make();
|
|
115
115
|
const drain = Effect.fn("SessionRunner.drain")(function* (input) {
|
|
@@ -231,7 +231,7 @@ var layer = Layer.effect(Service50, Effect.gen(function* () {
|
|
|
231
231
|
const runStep = Effect.fn("SessionRunner.runStep")(function* (first, step) {
|
|
232
232
|
const sessionID = first.session.id;
|
|
233
233
|
let assistantMessageID = SessionMessage2.ID.create();
|
|
234
|
-
const retry = yield*
|
|
234
|
+
const retry = yield* make8(bus, sessionID);
|
|
235
235
|
let initial = first;
|
|
236
236
|
let recoverOverflow = true;
|
|
237
237
|
let recoverContinuation = true;
|
|
@@ -351,24 +351,24 @@ var layer = Layer.effect(Service50, Effect.gen(function* () {
|
|
|
351
351
|
}
|
|
352
352
|
}
|
|
353
353
|
});
|
|
354
|
-
return
|
|
354
|
+
return Service47.of({ drain });
|
|
355
355
|
}));
|
|
356
|
-
var
|
|
357
|
-
service:
|
|
356
|
+
var node2 = makeLocationNode({
|
|
357
|
+
service: Service47,
|
|
358
358
|
layer,
|
|
359
359
|
deps: [
|
|
360
360
|
node84,
|
|
361
361
|
llmClient2,
|
|
362
362
|
node27,
|
|
363
|
-
|
|
364
|
-
|
|
365
|
-
|
|
363
|
+
node35,
|
|
364
|
+
node58,
|
|
365
|
+
node12,
|
|
366
366
|
node23,
|
|
367
|
-
|
|
368
|
-
|
|
369
|
-
|
|
367
|
+
node3,
|
|
368
|
+
node62,
|
|
369
|
+
node42,
|
|
370
370
|
node85
|
|
371
371
|
]
|
|
372
372
|
});
|
|
373
373
|
|
|
374
|
-
export {
|
|
374
|
+
export { node2, exports_llm };
|
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
import {
|
|
2
2
|
useragent2
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./repository-g71p6t9p.js";
|
|
4
4
|
import {
|
|
5
|
-
|
|
6
|
-
} from "./
|
|
5
|
+
ID18
|
|
6
|
+
} from "./repository-m27pyyd3.js";
|
|
7
7
|
|
|
8
8
|
// src/plugin/provider/gitlab.ts
|
|
9
9
|
import os from "os";
|
|
@@ -33,7 +33,7 @@ var GitLabPlugin2 = define({
|
|
|
33
33
|
});
|
|
34
34
|
}));
|
|
35
35
|
yield* ctx.aisdk.hook("language", Effect.fn(function* (evt) {
|
|
36
|
-
if (evt.model.providerID !==
|
|
36
|
+
if (evt.model.providerID !== ID18.gitlab)
|
|
37
37
|
return;
|
|
38
38
|
const featureFlags = typeof evt.options.featureFlags === "object" && evt.options.featureFlags ? evt.options.featureFlags : {};
|
|
39
39
|
const id = evt.model.modelID ?? evt.model.id;
|