@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,12 +1,12 @@
|
|
|
1
1
|
import {
|
|
2
2
|
makeWithDefaults2
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./repository-e72k63ab.js";
|
|
4
4
|
import {
|
|
5
5
|
apply3
|
|
6
|
-
} from "./
|
|
6
|
+
} from "./repository-89scvk1m.js";
|
|
7
7
|
import {
|
|
8
8
|
__export
|
|
9
|
-
} from "./
|
|
9
|
+
} from "./repository-9rqn6x4v.js";
|
|
10
10
|
|
|
11
11
|
// src/database/database.ts
|
|
12
12
|
var exports_database = {};
|
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
import {
|
|
2
2
|
WebSocketConstructor2
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./repository-y8cydn3q.js";
|
|
4
4
|
import {
|
|
5
5
|
__export
|
|
6
|
-
} from "./
|
|
6
|
+
} from "./repository-9rqn6x4v.js";
|
|
7
7
|
|
|
8
8
|
// src/effect/app-node-platform.ts
|
|
9
9
|
var exports_app_node_platform = {};
|
|
@@ -1,53 +1,53 @@
|
|
|
1
1
|
import {
|
|
2
2
|
Service79,
|
|
3
3
|
node84
|
|
4
|
-
} from "./
|
|
4
|
+
} from "./repository-e3rrrskg.js";
|
|
5
5
|
import {
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
} from "./
|
|
6
|
+
Service72,
|
|
7
|
+
node77
|
|
8
|
+
} from "./repository-fmyvj1jr.js";
|
|
9
9
|
import {
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
} from "./
|
|
10
|
+
Service70,
|
|
11
|
+
node75
|
|
12
|
+
} from "./repository-vmvf27d6.js";
|
|
13
13
|
import {
|
|
14
14
|
awaitActivation2
|
|
15
|
-
} from "./
|
|
15
|
+
} from "./repository-phz3h32g.js";
|
|
16
16
|
import {
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
} from "./
|
|
17
|
+
Service45,
|
|
18
|
+
node50
|
|
19
|
+
} from "./repository-f0v0ycm1.js";
|
|
20
20
|
import {
|
|
21
21
|
node23
|
|
22
|
-
} from "./
|
|
22
|
+
} from "./repository-n4w1yhk7.js";
|
|
23
23
|
import {
|
|
24
24
|
Service10,
|
|
25
25
|
node13
|
|
26
|
-
} from "./
|
|
26
|
+
} from "./repository-5kptn8c0.js";
|
|
27
27
|
import {
|
|
28
28
|
__export
|
|
29
|
-
} from "./
|
|
29
|
+
} from "./repository-9rqn6x4v.js";
|
|
30
30
|
|
|
31
31
|
// src/filesystem/location-watcher.ts
|
|
32
32
|
var exports_location_watcher = {};
|
|
33
33
|
__export(exports_location_watcher, {
|
|
34
34
|
LocationWatcher: () => exports_location_watcher,
|
|
35
|
-
Service: () =>
|
|
36
|
-
node: () =>
|
|
35
|
+
Service: () => Service8,
|
|
36
|
+
node: () => node11
|
|
37
37
|
});
|
|
38
38
|
import { makeLocationNode } from "@opencode/util/effect/app-node";
|
|
39
39
|
import { Cause, Context, Effect, Exit, Layer, Scope, Semaphore, Stream } from "effect";
|
|
40
40
|
import { FileSystem } from "@opencode/schema/filesystem";
|
|
41
41
|
import path from "path";
|
|
42
42
|
import { FSUtil } from "@opencode/util/fs-util";
|
|
43
|
-
class
|
|
43
|
+
class Service8 extends Context.Service()("@opencode/LocationWatcher") {
|
|
44
44
|
}
|
|
45
|
-
var layer = Layer.effect(
|
|
46
|
-
const location = yield*
|
|
47
|
-
const watcher = yield*
|
|
45
|
+
var layer = Layer.effect(Service8, Effect.gen(function* () {
|
|
46
|
+
const location = yield* Service70;
|
|
47
|
+
const watcher = yield* Service45;
|
|
48
48
|
const bus = yield* Service79;
|
|
49
49
|
const fs = yield* FSUtil.Service;
|
|
50
|
-
const git = yield*
|
|
50
|
+
const git = yield* Service72;
|
|
51
51
|
const policy = yield* Service10;
|
|
52
52
|
const publish = (update) => bus.publish(FileSystem.Event.Changed, {
|
|
53
53
|
file: update.path,
|
|
@@ -100,12 +100,12 @@ var layer = Layer.effect(Service2, Effect.gen(function* () {
|
|
|
100
100
|
yield* awaitActivation2;
|
|
101
101
|
yield* reconcile();
|
|
102
102
|
}).pipe(Effect.catchCauseIf((cause) => !Cause.hasInterrupts(cause), (cause) => Effect.logError("failed to start location watcher", { cause })), Effect.forkScoped({ startImmediately: true }));
|
|
103
|
-
return
|
|
103
|
+
return Service8.of({});
|
|
104
104
|
}));
|
|
105
|
-
var
|
|
106
|
-
service:
|
|
105
|
+
var node11 = makeLocationNode({
|
|
106
|
+
service: Service8,
|
|
107
107
|
layer,
|
|
108
|
-
deps: [
|
|
108
|
+
deps: [node50, FSUtil.node, node75, node77, node84, node23, node13]
|
|
109
109
|
});
|
|
110
110
|
|
|
111
|
-
export {
|
|
111
|
+
export { Service8, node11, exports_location_watcher };
|
|
@@ -1,22 +1,22 @@
|
|
|
1
1
|
import {
|
|
2
2
|
Service79,
|
|
3
3
|
node84
|
|
4
|
-
} from "./
|
|
4
|
+
} from "./repository-e3rrrskg.js";
|
|
5
5
|
import {
|
|
6
6
|
Key4,
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
} from "./
|
|
7
|
+
Service78,
|
|
8
|
+
node83
|
|
9
|
+
} from "./repository-dj0r9pya.js";
|
|
10
10
|
import {
|
|
11
11
|
create3
|
|
12
|
-
} from "./
|
|
12
|
+
} from "./repository-kg06axw8.js";
|
|
13
13
|
import {
|
|
14
14
|
validateAnswer2,
|
|
15
15
|
validateFields2
|
|
16
|
-
} from "./
|
|
16
|
+
} from "./repository-ahpy00m2.js";
|
|
17
17
|
import {
|
|
18
18
|
__export
|
|
19
|
-
} from "./
|
|
19
|
+
} from "./repository-9rqn6x4v.js";
|
|
20
20
|
|
|
21
21
|
// src/integration.ts
|
|
22
22
|
var exports_integration = {};
|
|
@@ -30,17 +30,17 @@ __export(exports_integration, {
|
|
|
30
30
|
CommandAttemptStatus: () => CommandAttemptStatus2,
|
|
31
31
|
CommandMethod: () => CommandMethod2,
|
|
32
32
|
EnvMethod: () => EnvMethod2,
|
|
33
|
-
Event: () =>
|
|
34
|
-
ID: () =>
|
|
35
|
-
Info: () =>
|
|
33
|
+
Event: () => Event18,
|
|
34
|
+
ID: () => ID14,
|
|
35
|
+
Info: () => Info29,
|
|
36
36
|
Integration: () => exports_integration,
|
|
37
37
|
KeyMethod: () => KeyMethod2,
|
|
38
38
|
Method: () => Method2,
|
|
39
39
|
MethodID: () => MethodID2,
|
|
40
40
|
OAuthMethod: () => OAuthMethod2,
|
|
41
41
|
Ref: () => Ref3,
|
|
42
|
-
Service: () =>
|
|
43
|
-
node: () =>
|
|
42
|
+
Service: () => Service76,
|
|
43
|
+
node: () => node81
|
|
44
44
|
});
|
|
45
45
|
import { makeLocationNode } from "@opencode/util/effect/app-node";
|
|
46
46
|
import {
|
|
@@ -61,8 +61,8 @@ import {
|
|
|
61
61
|
import { Integration } from "@opencode/schema/integration";
|
|
62
62
|
import { AppProcess } from "@opencode/util/process";
|
|
63
63
|
import { ChildProcess } from "effect/unstable/process";
|
|
64
|
-
import { Event as
|
|
65
|
-
var
|
|
64
|
+
import { Event as Event18 } from "@opencode/schema/integration";
|
|
65
|
+
var ID14 = Integration.ID;
|
|
66
66
|
var MethodID2 = Integration.MethodID;
|
|
67
67
|
var AttemptID2 = Integration.AttemptID;
|
|
68
68
|
var OAuthMethod2 = Integration.OAuthMethod;
|
|
@@ -70,7 +70,7 @@ var CommandMethod2 = Integration.CommandMethod;
|
|
|
70
70
|
var KeyMethod2 = Integration.KeyMethod;
|
|
71
71
|
var EnvMethod2 = Integration.EnvMethod;
|
|
72
72
|
var Method2 = Integration.Method;
|
|
73
|
-
var
|
|
73
|
+
var Info29 = Integration.Info;
|
|
74
74
|
var Attempt2 = Integration.Attempt;
|
|
75
75
|
var AttemptStatus2 = Integration.AttemptStatus;
|
|
76
76
|
var CommandAttempt2 = Integration.CommandAttempt;
|
|
@@ -87,13 +87,13 @@ class AuthorizationError2 extends Schema.TaggedError()("Integration.Authorizatio
|
|
|
87
87
|
}
|
|
88
88
|
var Ref3 = Integration.Ref;
|
|
89
89
|
|
|
90
|
-
class
|
|
90
|
+
class Service76 extends Context.Service()("@opencode/Integration") {
|
|
91
91
|
}
|
|
92
92
|
var attemptLifetime = Duration.toMillis(Duration.minutes(10));
|
|
93
93
|
var terminalRetention = Duration.toMillis(Duration.minutes(1));
|
|
94
94
|
var scrubInterval = Duration.seconds(30);
|
|
95
|
-
var layer = Layer.effect(
|
|
96
|
-
const credentials = yield*
|
|
95
|
+
var layer = Layer.effect(Service76, Effect.gen(function* () {
|
|
96
|
+
const credentials = yield* Service78;
|
|
97
97
|
const bus = yield* Service79;
|
|
98
98
|
const processes = yield* AppProcess.Service;
|
|
99
99
|
const scope = yield* Scope.Scope;
|
|
@@ -187,7 +187,7 @@ var layer = Layer.effect(Service65, Effect.gen(function* () {
|
|
|
187
187
|
const env = (entry?.methods ?? []).filter((method) => method.type === "env").flatMap((method) => method.names.filter((name) => process.env[name])).map((name) => ({ type: "env", name }));
|
|
188
188
|
return [...credentials, ...env];
|
|
189
189
|
};
|
|
190
|
-
const project = (entry, connections) =>
|
|
190
|
+
const project = (entry, connections) => Info29.make({
|
|
191
191
|
id: entry.ref.id,
|
|
192
192
|
name: entry.ref.name,
|
|
193
193
|
...entry.ref.metadata === undefined ? {} : { metadata: entry.ref.metadata },
|
|
@@ -417,7 +417,7 @@ var layer = Layer.effect(Service65, Effect.gen(function* () {
|
|
|
417
417
|
}).pipe(Scope.provide(attemptScope), Effect.exit, Effect.flatMap((exit) => settleCommand(attemptID, exit)), Effect.forkIn(attemptScope, { startImmediately: true }));
|
|
418
418
|
return CommandAttempt2.make({ attemptID, time });
|
|
419
419
|
});
|
|
420
|
-
return
|
|
420
|
+
return Service76.of({
|
|
421
421
|
transform: state.transform,
|
|
422
422
|
reload: state.reload,
|
|
423
423
|
get: Effect.fn("Integration.get")(function* (id) {
|
|
@@ -565,10 +565,10 @@ var layer = Layer.effect(Service65, Effect.gen(function* () {
|
|
|
565
565
|
}
|
|
566
566
|
});
|
|
567
567
|
}));
|
|
568
|
-
var
|
|
569
|
-
service:
|
|
568
|
+
var node81 = makeLocationNode({
|
|
569
|
+
service: Service76,
|
|
570
570
|
layer,
|
|
571
|
-
deps: [
|
|
571
|
+
deps: [node83, node84, AppProcess.node]
|
|
572
572
|
});
|
|
573
573
|
|
|
574
|
-
export {
|
|
574
|
+
export { ID14, MethodID2, AttemptID2, OAuthMethod2, CommandMethod2, KeyMethod2, EnvMethod2, Method2, Info29, Attempt2, AttemptStatus2, CommandAttempt2, CommandAttemptStatus2, CodeRequiredError2, AuthorizationError2, Ref3, Service76, node81, exports_integration, Event18 };
|
|
@@ -1,49 +1,49 @@
|
|
|
1
1
|
import {
|
|
2
2
|
AbsolutePath2
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./repository-922hggd3.js";
|
|
4
4
|
import {
|
|
5
5
|
Service80,
|
|
6
6
|
node85
|
|
7
|
-
} from "./
|
|
7
|
+
} from "./repository-5naxf7j8.js";
|
|
8
8
|
import {
|
|
9
9
|
Service79,
|
|
10
10
|
node84
|
|
11
|
-
} from "./
|
|
11
|
+
} from "./repository-e3rrrskg.js";
|
|
12
12
|
import {
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
} from "./
|
|
13
|
+
Service72,
|
|
14
|
+
node77
|
|
15
|
+
} from "./repository-fmyvj1jr.js";
|
|
16
16
|
import {
|
|
17
|
-
|
|
17
|
+
ID13,
|
|
18
18
|
Current3,
|
|
19
|
-
|
|
19
|
+
Info28,
|
|
20
20
|
UpdateInput4,
|
|
21
|
-
|
|
21
|
+
Event16,
|
|
22
22
|
Vcs3
|
|
23
|
-
} from "./
|
|
23
|
+
} from "./repository-rk0rec3h.js";
|
|
24
24
|
import {
|
|
25
25
|
ProjectTable2,
|
|
26
26
|
upsertProject2
|
|
27
|
-
} from "./
|
|
27
|
+
} from "./repository-8p4f9s12.js";
|
|
28
28
|
import {
|
|
29
29
|
WorktreeTable2
|
|
30
|
-
} from "./
|
|
30
|
+
} from "./repository-cfpkc3c9.js";
|
|
31
31
|
import {
|
|
32
32
|
__export
|
|
33
|
-
} from "./
|
|
33
|
+
} from "./repository-9rqn6x4v.js";
|
|
34
34
|
|
|
35
35
|
// src/project.ts
|
|
36
36
|
var exports_project = {};
|
|
37
37
|
__export(exports_project, {
|
|
38
38
|
Current: () => Current2,
|
|
39
|
-
ID: () =>
|
|
40
|
-
Info: () =>
|
|
41
|
-
NotFoundError: () =>
|
|
39
|
+
ID: () => ID12,
|
|
40
|
+
Info: () => Info27,
|
|
41
|
+
NotFoundError: () => NotFoundError9,
|
|
42
42
|
Project: () => exports_project,
|
|
43
|
-
Service: () =>
|
|
43
|
+
Service: () => Service71,
|
|
44
44
|
UpdateInput: () => UpdateInput3,
|
|
45
45
|
Vcs: () => Vcs2,
|
|
46
|
-
node: () =>
|
|
46
|
+
node: () => node76,
|
|
47
47
|
root: () => root2
|
|
48
48
|
});
|
|
49
49
|
import { Context, Effect, Layer, Schema } from "effect";
|
|
@@ -55,14 +55,14 @@ import { FSUtil } from "@opencode/util/fs-util";
|
|
|
55
55
|
import { AppProcess } from "@opencode/util/process";
|
|
56
56
|
import { makeGlobalNode } from "@opencode/util/effect/app-node";
|
|
57
57
|
import { Hash } from "@opencode/util/hash";
|
|
58
|
-
var
|
|
58
|
+
var ID12 = ID13;
|
|
59
59
|
var Vcs2 = Vcs3;
|
|
60
60
|
var Current2 = Current3;
|
|
61
|
-
var
|
|
61
|
+
var Info27 = Info28;
|
|
62
62
|
var UpdateInput3 = UpdateInput4;
|
|
63
63
|
|
|
64
|
-
class
|
|
65
|
-
projectID:
|
|
64
|
+
class NotFoundError9 extends Schema.TaggedError()("Project.NotFoundError", {
|
|
65
|
+
projectID: ID12
|
|
66
66
|
}) {
|
|
67
67
|
}
|
|
68
68
|
var root2 = Effect.fn("Project.root")(function* (fs, input, markers = [".git", ".hg"]) {
|
|
@@ -71,7 +71,7 @@ var root2 = Effect.fn("Project.root")(function* (fs, input, markers = [".git", "
|
|
|
71
71
|
}));
|
|
72
72
|
});
|
|
73
73
|
|
|
74
|
-
class
|
|
74
|
+
class Service71 extends Context.Service()("@opencode/Project") {
|
|
75
75
|
}
|
|
76
76
|
function fromRow(row) {
|
|
77
77
|
const icon = row.icon_url || row.icon_url_override || row.icon_color ? {
|
|
@@ -94,9 +94,9 @@ function fromRow(row) {
|
|
|
94
94
|
sandboxes: row.sandboxes
|
|
95
95
|
};
|
|
96
96
|
}
|
|
97
|
-
var layer = Layer.effect(
|
|
97
|
+
var layer = Layer.effect(Service71, Effect.gen(function* () {
|
|
98
98
|
const fs = yield* FSUtil.Service;
|
|
99
|
-
const git = yield*
|
|
99
|
+
const git = yield* Service72;
|
|
100
100
|
const proc = yield* AppProcess.Service;
|
|
101
101
|
const bus = yield* Service79;
|
|
102
102
|
const db = (yield* Service80).db;
|
|
@@ -107,7 +107,7 @@ var layer = Layer.effect(Service62, Effect.gen(function* () {
|
|
|
107
107
|
if (previous && previous.canonical !== project.canonical && !(yield* fs.exists(previous.canonical).pipe(Effect.orElseSucceed(() => true)))) {
|
|
108
108
|
const row = yield* db.update(ProjectTable2).set({ worktree: project.canonical }).where(eq(ProjectTable2.id, project.id)).returning().get().pipe(Effect.orDie);
|
|
109
109
|
if (row)
|
|
110
|
-
yield* bus.publish(
|
|
110
|
+
yield* bus.publish(Event16.Updated, fromRow(row));
|
|
111
111
|
}
|
|
112
112
|
if (!project.vcs)
|
|
113
113
|
return project;
|
|
@@ -144,7 +144,7 @@ var layer = Layer.effect(Service62, Effect.gen(function* () {
|
|
|
144
144
|
yield* bus.publish(Worktree.Event.Resolved, {
|
|
145
145
|
projectID: item.projectID,
|
|
146
146
|
directory: item.directory,
|
|
147
|
-
previous: project.previous ??
|
|
147
|
+
previous: project.previous ?? ID12.global,
|
|
148
148
|
...adopted.length ? { adopted: adopted.map((candidate) => candidate.id) } : {}
|
|
149
149
|
}, {
|
|
150
150
|
commit: () => db.insert(WorktreeTable2).values({ project_id: item.projectID, directory: item.directory, strategy: item.strategy }).onConflictDoNothing().run().pipe(Effect.orDie, Effect.asVoid)
|
|
@@ -167,13 +167,13 @@ var layer = Layer.effect(Service62, Effect.gen(function* () {
|
|
|
167
167
|
time_updated: Date.now()
|
|
168
168
|
}).where(eq(ProjectTable2.id, input.projectID)).returning().get().pipe(Effect.orDie);
|
|
169
169
|
if (!row)
|
|
170
|
-
return yield* new
|
|
170
|
+
return yield* new NotFoundError9({ projectID: input.projectID });
|
|
171
171
|
const project = fromRow(row);
|
|
172
|
-
yield* bus.publish(
|
|
172
|
+
yield* bus.publish(Event16.Updated, project);
|
|
173
173
|
return project;
|
|
174
174
|
});
|
|
175
175
|
const cached = Effect.fnUntraced(function* (dir) {
|
|
176
|
-
return yield* fs.readFileString(path.join(dir, "opencode")).pipe(Effect.map((value) => value.trim()), Effect.map((value) => value ?
|
|
176
|
+
return yield* fs.readFileString(path.join(dir, "opencode")).pipe(Effect.map((value) => value.trim()), Effect.map((value) => value ? ID12.make(value) : undefined), Effect.orElseSucceed(() => {
|
|
177
177
|
return;
|
|
178
178
|
}));
|
|
179
179
|
});
|
|
@@ -184,7 +184,7 @@ var layer = Layer.effect(Service62, Effect.gen(function* () {
|
|
|
184
184
|
const normalized = url(origin);
|
|
185
185
|
if (!normalized)
|
|
186
186
|
return;
|
|
187
|
-
return
|
|
187
|
+
return ID12.make(Hash.fast(`git-remote:${normalized}`));
|
|
188
188
|
});
|
|
189
189
|
function url(input) {
|
|
190
190
|
const value = input.trim();
|
|
@@ -209,7 +209,7 @@ var layer = Layer.effect(Service62, Effect.gen(function* () {
|
|
|
209
209
|
}
|
|
210
210
|
const rootCommit = Effect.fnUntraced(function* (repo) {
|
|
211
211
|
const root = (yield* git.history.rootCommits(repo))[0];
|
|
212
|
-
return root ?
|
|
212
|
+
return root ? ID12.make(root) : undefined;
|
|
213
213
|
});
|
|
214
214
|
const hgRoot = Effect.fnUntraced(function* (worktree) {
|
|
215
215
|
const result = yield* proc.run(ChildProcess.make("hg", ["log", "-r", "roots(all())", "-T", `{node}
|
|
@@ -225,7 +225,7 @@ var layer = Layer.effect(Service62, Effect.gen(function* () {
|
|
|
225
225
|
return;
|
|
226
226
|
const node = result.stdout.toString("utf8").split(`
|
|
227
227
|
`).map((item) => item.trim()).filter(Boolean).toSorted()[0];
|
|
228
|
-
return node ?
|
|
228
|
+
return node ? ID12.make(node) : undefined;
|
|
229
229
|
});
|
|
230
230
|
const hgDiscover = Effect.fnUntraced(function* (dotHg) {
|
|
231
231
|
const worktree = AbsolutePath2.make(path.dirname(dotHg));
|
|
@@ -234,7 +234,7 @@ var layer = Layer.effect(Service62, Effect.gen(function* () {
|
|
|
234
234
|
const id = previous ?? (yield* hgRoot(worktree));
|
|
235
235
|
return {
|
|
236
236
|
previous,
|
|
237
|
-
id: id ??
|
|
237
|
+
id: id ?? ID12.global,
|
|
238
238
|
directory: worktree,
|
|
239
239
|
vcs: { type: "hg", store }
|
|
240
240
|
};
|
|
@@ -251,7 +251,7 @@ var layer = Layer.effect(Service62, Effect.gen(function* () {
|
|
|
251
251
|
const canonical = repo.gitDirectory === repo.commonDirectory ? repo.worktree : yield* git.worktree.list(repo).pipe(Effect.map((items) => items.find((item) => item.kind === "main")?.directory ?? repo.worktree), Effect.orElseSucceed(() => repo.worktree));
|
|
252
252
|
return yield* persist({
|
|
253
253
|
previous,
|
|
254
|
-
id: id ??
|
|
254
|
+
id: id ?? ID12.global,
|
|
255
255
|
directory: repo.worktree,
|
|
256
256
|
canonical,
|
|
257
257
|
vcs: { type: "git", store: repo.commonDirectory }
|
|
@@ -265,18 +265,18 @@ var layer = Layer.effect(Service62, Effect.gen(function* () {
|
|
|
265
265
|
});
|
|
266
266
|
}
|
|
267
267
|
return yield* persist({
|
|
268
|
-
id:
|
|
268
|
+
id: ID12.make(Hash.fast(`directory:${directory}`)),
|
|
269
269
|
directory,
|
|
270
270
|
canonical: directory,
|
|
271
271
|
vcs: undefined
|
|
272
272
|
});
|
|
273
273
|
});
|
|
274
|
-
return
|
|
274
|
+
return Service71.of({ list, update, resolve });
|
|
275
275
|
}));
|
|
276
|
-
var
|
|
277
|
-
service:
|
|
276
|
+
var node76 = makeGlobalNode({
|
|
277
|
+
service: Service71,
|
|
278
278
|
layer,
|
|
279
|
-
deps: [node84, node85, FSUtil.node,
|
|
279
|
+
deps: [node84, node85, FSUtil.node, node77, AppProcess.node]
|
|
280
280
|
});
|
|
281
281
|
|
|
282
|
-
export {
|
|
282
|
+
export { ID12, Vcs2, Current2, Info27, UpdateInput3, NotFoundError9, root2, Service71, node76, exports_project };
|
|
@@ -1,23 +1,23 @@
|
|
|
1
1
|
import {
|
|
2
2
|
Service79,
|
|
3
3
|
node84
|
|
4
|
-
} from "./
|
|
4
|
+
} from "./repository-e3rrrskg.js";
|
|
5
5
|
import {
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
} from "./
|
|
6
|
+
Service70,
|
|
7
|
+
node75
|
|
8
|
+
} from "./repository-vmvf27d6.js";
|
|
9
9
|
import {
|
|
10
10
|
reconcile2,
|
|
11
11
|
create3
|
|
12
|
-
} from "./
|
|
12
|
+
} from "./repository-kg06axw8.js";
|
|
13
13
|
import {
|
|
14
14
|
PATCH_CONTEXT_LINES2,
|
|
15
15
|
MAX_TOTAL_PATCH_BYTES2,
|
|
16
16
|
emptyPatch2
|
|
17
|
-
} from "./
|
|
17
|
+
} from "./repository-tazgh4e4.js";
|
|
18
18
|
import {
|
|
19
19
|
__export
|
|
20
|
-
} from "./
|
|
20
|
+
} from "./repository-9rqn6x4v.js";
|
|
21
21
|
|
|
22
22
|
// src/vcs.ts
|
|
23
23
|
var exports_vcs = {};
|
|
@@ -26,17 +26,17 @@ __export(exports_vcs, {
|
|
|
26
26
|
BranchList: () => BranchList2,
|
|
27
27
|
DiffError: () => DiffError2,
|
|
28
28
|
FileStatus: () => FileStatus2,
|
|
29
|
-
Info: () =>
|
|
29
|
+
Info: () => Info8,
|
|
30
30
|
Mode: () => Mode2,
|
|
31
|
-
Service: () =>
|
|
31
|
+
Service: () => Service43,
|
|
32
32
|
Vcs: () => exports_vcs,
|
|
33
|
-
node: () =>
|
|
33
|
+
node: () => node47
|
|
34
34
|
});
|
|
35
35
|
import path from "path";
|
|
36
36
|
import { Cause, Context, Effect, FiberSet, Layer, Schema, Semaphore, Stream } from "effect";
|
|
37
37
|
import { FileDiff } from "@opencode/schema/file-diff";
|
|
38
38
|
import { FileSystem } from "@opencode/schema/filesystem";
|
|
39
|
-
import { Base as Base2, BranchList as BranchList2, FileStatus as FileStatus2, Info as
|
|
39
|
+
import { Base as Base2, BranchList as BranchList2, FileStatus as FileStatus2, Info as Info8, Mode as Mode2 } from "@opencode/schema/vcs";
|
|
40
40
|
import { VcsEvent } from "@opencode/schema/vcs-event";
|
|
41
41
|
import { makeLocationNode } from "@opencode/util/effect/app-node";
|
|
42
42
|
import { FSUtil } from "@opencode/util/fs-util";
|
|
@@ -45,11 +45,11 @@ class DiffError2 extends Schema.TaggedError()("Vcs.DiffError", {
|
|
|
45
45
|
}) {
|
|
46
46
|
}
|
|
47
47
|
|
|
48
|
-
class
|
|
48
|
+
class Service43 extends Context.Service()("@opencode/Vcs") {
|
|
49
49
|
}
|
|
50
|
-
var layer = Layer.effect(
|
|
50
|
+
var layer = Layer.effect(Service43, Effect.gen(function* () {
|
|
51
51
|
const fs = yield* FSUtil.Service;
|
|
52
|
-
const location = yield*
|
|
52
|
+
const location = yield* Service70;
|
|
53
53
|
const bus = yield* Service79;
|
|
54
54
|
const root = yield* Effect.scope;
|
|
55
55
|
const fork = yield* FiberSet.makeRuntime();
|
|
@@ -62,7 +62,7 @@ var layer = Layer.effect(Service36, Effect.gen(function* () {
|
|
|
62
62
|
canonical: location.project.canonical,
|
|
63
63
|
...vcs ? { store: vcs.store } : {}
|
|
64
64
|
};
|
|
65
|
-
const decodeInfo = Schema.decodeUnknownEffect(Schema.toType(
|
|
65
|
+
const decodeInfo = Schema.decodeUnknownEffect(Schema.toType(Info8));
|
|
66
66
|
const decodeBase = Schema.decodeUnknownEffect(Schema.NullOr(Base2));
|
|
67
67
|
const decodeBranches = Schema.decodeUnknownEffect(BranchList2);
|
|
68
68
|
const decodeStatus = Schema.decodeUnknownEffect(Schema.Array(FileStatus2));
|
|
@@ -115,7 +115,7 @@ var layer = Layer.effect(Service36, Effect.gen(function* () {
|
|
|
115
115
|
const isBranchMetadata = vcs.type === "git" ? (file) => path.basename(file) === "HEAD" && FSUtil.contains(store, file) : (file) => path.resolve(file) === path.join(store, "branch");
|
|
116
116
|
yield* bus.subscribe(FileSystem.Event.Changed).pipe(Stream.filter((event) => isBranchMetadata(event.data.file)), Stream.runForEach((event) => refresh().pipe(Effect.catchCauseIf((cause) => !Cause.hasInterrupts(cause), (cause) => Effect.logWarning("vcs refresh failed", { file: event.data.file, cause })), Effect.withSpan("Vcs.refreshBranch", { attributes: { file: event.data.file } }))), Effect.forkScoped({ startImmediately: true }));
|
|
117
117
|
}
|
|
118
|
-
return
|
|
118
|
+
return Service43.of({
|
|
119
119
|
transform: state.transform,
|
|
120
120
|
reload: state.reload,
|
|
121
121
|
info: Effect.fn("Vcs.info")(function* () {
|
|
@@ -161,10 +161,10 @@ var layer = Layer.effect(Service36, Effect.gen(function* () {
|
|
|
161
161
|
})
|
|
162
162
|
});
|
|
163
163
|
}));
|
|
164
|
-
var
|
|
165
|
-
service:
|
|
164
|
+
var node47 = makeLocationNode({
|
|
165
|
+
service: Service43,
|
|
166
166
|
layer,
|
|
167
|
-
deps: [FSUtil.node,
|
|
167
|
+
deps: [FSUtil.node, node75, node84]
|
|
168
168
|
});
|
|
169
169
|
|
|
170
|
-
export { Base2, BranchList2, FileStatus2,
|
|
170
|
+
export { Base2, BranchList2, FileStatus2, Info8, Mode2, DiffError2, Service43, node47, exports_vcs };
|
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
import {
|
|
2
|
-
|
|
3
|
-
} from "./
|
|
2
|
+
Service68
|
|
3
|
+
} from "./repository-z2v8zvr3.js";
|
|
4
4
|
import {
|
|
5
5
|
__export
|
|
6
|
-
} from "./
|
|
6
|
+
} from "./repository-9rqn6x4v.js";
|
|
7
7
|
|
|
8
8
|
// src/mcp/stdio.ts
|
|
9
9
|
var exports_stdio = {};
|
|
@@ -19,7 +19,7 @@ var FORCE_KILL_AFTER = Duration.seconds(2);
|
|
|
19
19
|
var OUTGOING_CAPACITY = 64;
|
|
20
20
|
var MAX_FRAME_BYTES = 16 * 1024 * 1024;
|
|
21
21
|
var make2 = Effect.fnUntraced(function* (options) {
|
|
22
|
-
const environment = yield*
|
|
22
|
+
const environment = yield* Service68;
|
|
23
23
|
const scope = yield* Effect.scope;
|
|
24
24
|
const outgoing = yield* Queue.bounded(OUTGOING_CAPACITY);
|
|
25
25
|
const buffer = new ReadBuffer;
|
|
@@ -1,18 +1,18 @@
|
|
|
1
1
|
import {
|
|
2
|
-
|
|
3
|
-
} from "./
|
|
2
|
+
Service49
|
|
3
|
+
} from "./repository-0bps82y7.js";
|
|
4
4
|
import {
|
|
5
5
|
awaitActivation2
|
|
6
|
-
} from "./
|
|
6
|
+
} from "./repository-phz3h32g.js";
|
|
7
7
|
import {
|
|
8
|
-
|
|
9
|
-
} from "./
|
|
8
|
+
Service36
|
|
9
|
+
} from "./repository-994195wy.js";
|
|
10
10
|
import {
|
|
11
11
|
unavailable2
|
|
12
|
-
} from "./
|
|
12
|
+
} from "./repository-fxbjtjnd.js";
|
|
13
13
|
import {
|
|
14
14
|
__export
|
|
15
|
-
} from "./
|
|
15
|
+
} from "./repository-9rqn6x4v.js";
|
|
16
16
|
|
|
17
17
|
// src/session/shell.ts
|
|
18
18
|
var exports_shell3 = {};
|
|
@@ -22,8 +22,8 @@ __export(exports_shell3, {
|
|
|
22
22
|
});
|
|
23
23
|
import { Effect } from "effect";
|
|
24
24
|
var start2 = Effect.fn("SessionShell.start")(function* (input) {
|
|
25
|
-
const instances = yield*
|
|
26
|
-
const shell = yield* awaitActivation2.pipe(Effect.andThen(
|
|
25
|
+
const instances = yield* Service49;
|
|
26
|
+
const shell = yield* awaitActivation2.pipe(Effect.andThen(Service36), instances.provide(input.session));
|
|
27
27
|
const info = yield* shell.create({
|
|
28
28
|
command: input.command,
|
|
29
29
|
cwd: input.session.location.directory,
|