@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
|
@@ -4,43 +4,43 @@ import {
|
|
|
4
4
|
normalizeContent2,
|
|
5
5
|
normalizedName2,
|
|
6
6
|
effectiveName2
|
|
7
|
-
} from "./
|
|
7
|
+
} from "./repository-3w5fmr99.js";
|
|
8
8
|
import {
|
|
9
9
|
create2,
|
|
10
10
|
catalog2
|
|
11
|
-
} from "./
|
|
11
|
+
} from "./repository-x43y2vfs.js";
|
|
12
12
|
import {
|
|
13
13
|
create3
|
|
14
|
-
} from "./
|
|
14
|
+
} from "./repository-kg06axw8.js";
|
|
15
15
|
import {
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
} from "./
|
|
16
|
+
Service40,
|
|
17
|
+
node44
|
|
18
|
+
} from "./repository-vxwzppst.js";
|
|
19
19
|
import {
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
} from "./
|
|
20
|
+
Service55,
|
|
21
|
+
node59
|
|
22
|
+
} from "./repository-j9c14zc8.js";
|
|
23
23
|
import {
|
|
24
24
|
match2
|
|
25
|
-
} from "./
|
|
25
|
+
} from "./repository-y1fvbwt7.js";
|
|
26
26
|
import {
|
|
27
27
|
__export
|
|
28
|
-
} from "./
|
|
28
|
+
} from "./repository-9rqn6x4v.js";
|
|
29
29
|
|
|
30
30
|
// src/tool.ts
|
|
31
31
|
var exports_tool = {};
|
|
32
32
|
__export(exports_tool, {
|
|
33
33
|
CallID: () => CallID2,
|
|
34
34
|
Content: () => Content3,
|
|
35
|
-
Error: () =>
|
|
35
|
+
Error: () => Error2,
|
|
36
36
|
FileContent: () => FileContent3,
|
|
37
37
|
RegistrationError: () => RegistrationError2,
|
|
38
|
-
Service: () =>
|
|
38
|
+
Service: () => Service39,
|
|
39
39
|
TextContent: () => TextContent2,
|
|
40
40
|
Tool: () => exports_tool,
|
|
41
|
-
node: () =>
|
|
41
|
+
node: () => node43
|
|
42
42
|
});
|
|
43
|
-
import { CallID as CallID2, Content as Content3, Error as
|
|
43
|
+
import { CallID as CallID2, Content as Content3, Error as Error2, FileContent as FileContent3, TextContent as TextContent2 } from "@opencode/schema/tool";
|
|
44
44
|
import { ToolDefinition } from "@opencode/ai";
|
|
45
45
|
import { Tool } from "@opencode/schema/tool";
|
|
46
46
|
import { Context, Effect, Layer, Result, Schema, SchemaIssue } from "effect";
|
|
@@ -51,11 +51,11 @@ class RegistrationError2 extends Schema.TaggedError()("Tool.RegistrationError",
|
|
|
51
51
|
}) {
|
|
52
52
|
}
|
|
53
53
|
|
|
54
|
-
class
|
|
54
|
+
class Service39 extends Context.Service()("@opencode/Tool") {
|
|
55
55
|
}
|
|
56
|
-
var layer = Layer.effect(
|
|
57
|
-
const hooks = yield*
|
|
58
|
-
const image = yield*
|
|
56
|
+
var layer = Layer.effect(Service39, Effect.gen(function* () {
|
|
57
|
+
const hooks = yield* Service55;
|
|
58
|
+
const image = yield* Service40;
|
|
59
59
|
const normalizeImages = Effect.fnUntraced(function* (content) {
|
|
60
60
|
const normalized = yield* Effect.forEach(content, (item) => {
|
|
61
61
|
if (item.type !== "file" || !item.mime.startsWith("image/"))
|
|
@@ -180,7 +180,7 @@ var layer = Layer.effect(Service44, Effect.gen(function* () {
|
|
|
180
180
|
error: error.message
|
|
181
181
|
}), { discard: true })
|
|
182
182
|
});
|
|
183
|
-
return
|
|
183
|
+
return Service39.of({
|
|
184
184
|
transform: state.transform,
|
|
185
185
|
reload: state.reload,
|
|
186
186
|
snapshot: Effect.fn("Tool.snapshot")((permissions) => Effect.sync(() => {
|
|
@@ -262,10 +262,10 @@ function namespaceError(name) {
|
|
|
262
262
|
return;
|
|
263
263
|
return new RegistrationError2({ name, message: `Invalid tool namespace: ${JSON.stringify(name)}` });
|
|
264
264
|
}
|
|
265
|
-
var
|
|
266
|
-
service:
|
|
265
|
+
var node43 = makeLocationNode({
|
|
266
|
+
service: Service39,
|
|
267
267
|
layer,
|
|
268
|
-
deps: [
|
|
268
|
+
deps: [node59, node44]
|
|
269
269
|
});
|
|
270
270
|
|
|
271
|
-
export { RegistrationError2,
|
|
271
|
+
export { RegistrationError2, Service39, node43, exports_tool, CallID2, Content3, Error2, FileContent3, TextContent2 };
|
|
@@ -1,14 +1,14 @@
|
|
|
1
1
|
import {
|
|
2
2
|
__export
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./repository-9rqn6x4v.js";
|
|
4
4
|
|
|
5
5
|
// src/v1/config/lsp.ts
|
|
6
6
|
var exports_lsp = {};
|
|
7
7
|
__export(exports_lsp, {
|
|
8
8
|
ConfigLSPV1: () => exports_lsp,
|
|
9
9
|
Disabled: () => Disabled2,
|
|
10
|
-
Entry: () =>
|
|
11
|
-
Info: () =>
|
|
10
|
+
Entry: () => Entry4,
|
|
11
|
+
Info: () => Info16,
|
|
12
12
|
builtinServerIds: () => builtinServerIds2,
|
|
13
13
|
requiresExtensionsForCustomServers: () => requiresExtensionsForCustomServers2
|
|
14
14
|
});
|
|
@@ -16,7 +16,7 @@ import { Schema } from "effect";
|
|
|
16
16
|
var Disabled2 = Schema.Struct({
|
|
17
17
|
disabled: Schema.Literal(true)
|
|
18
18
|
});
|
|
19
|
-
var
|
|
19
|
+
var Entry4 = Schema.Union([
|
|
20
20
|
Disabled2,
|
|
21
21
|
Schema.Struct({
|
|
22
22
|
command: Schema.mutable(Schema.Array(Schema.String)),
|
|
@@ -79,6 +79,6 @@ var requiresExtensionsForCustomServers2 = Schema.makeFilter((data) => {
|
|
|
79
79
|
});
|
|
80
80
|
return ok ? undefined : "For custom LSP servers, 'extensions' array is required.";
|
|
81
81
|
});
|
|
82
|
-
var
|
|
82
|
+
var Info16 = Schema.Union([Schema.Boolean, Schema.Record(Schema.String, Entry4)]).check(requiresExtensionsForCustomServers2);
|
|
83
83
|
|
|
84
|
-
export { Disabled2,
|
|
84
|
+
export { Disabled2, Entry4, builtinServerIds2, requiresExtensionsForCustomServers2, Info16, exports_lsp };
|
|
@@ -5,17 +5,17 @@ import {
|
|
|
5
5
|
renderInitial2,
|
|
6
6
|
renderUpdate2,
|
|
7
7
|
applyHashDelta2
|
|
8
|
-
} from "./
|
|
8
|
+
} from "./repository-rhjbct0v.js";
|
|
9
9
|
import {
|
|
10
10
|
SessionEvent2
|
|
11
|
-
} from "./
|
|
11
|
+
} from "./repository-ec1grn59.js";
|
|
12
12
|
import {
|
|
13
13
|
InstructionBlobTable2,
|
|
14
14
|
InstructionStateTable2
|
|
15
|
-
} from "./
|
|
15
|
+
} from "./repository-a1bz86dw.js";
|
|
16
16
|
import {
|
|
17
17
|
__export
|
|
18
|
-
} from "./
|
|
18
|
+
} from "./repository-9rqn6x4v.js";
|
|
19
19
|
|
|
20
20
|
// src/session/instruction-state.ts
|
|
21
21
|
var exports_instruction_state = {};
|
|
@@ -1,63 +1,63 @@
|
|
|
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
|
CredentialTable2
|
|
11
|
-
} from "./
|
|
11
|
+
} from "./repository-pknna89w.js";
|
|
12
12
|
import {
|
|
13
13
|
from2
|
|
14
|
-
} from "./
|
|
14
|
+
} from "./repository-0q0f95c6.js";
|
|
15
15
|
import {
|
|
16
16
|
__export
|
|
17
|
-
} from "./
|
|
17
|
+
} from "./repository-9rqn6x4v.js";
|
|
18
18
|
|
|
19
19
|
// src/credential.ts
|
|
20
20
|
var exports_credential = {};
|
|
21
21
|
__export(exports_credential, {
|
|
22
22
|
Credential: () => exports_credential,
|
|
23
|
-
Event: () =>
|
|
24
|
-
ID: () =>
|
|
25
|
-
Info: () =>
|
|
23
|
+
Event: () => Event20,
|
|
24
|
+
ID: () => ID16,
|
|
25
|
+
Info: () => Info31,
|
|
26
26
|
Key: () => Key4,
|
|
27
27
|
OAuth: () => OAuth3,
|
|
28
|
-
Service: () =>
|
|
28
|
+
Service: () => Service78,
|
|
29
29
|
Value: () => Value2,
|
|
30
|
-
node: () =>
|
|
30
|
+
node: () => node83
|
|
31
31
|
});
|
|
32
32
|
import { asc, desc, eq } from "drizzle-orm";
|
|
33
33
|
import { Cause, Context, Effect, Layer, Schema } from "effect";
|
|
34
34
|
import { Credential } from "@opencode/schema/credential";
|
|
35
35
|
import { Integration } from "@opencode/schema/integration";
|
|
36
36
|
import { makeGlobalNode } from "@opencode/util/effect/app-node";
|
|
37
|
-
var
|
|
37
|
+
var ID16 = Credential.ID;
|
|
38
38
|
var OAuth3 = Credential.OAuth;
|
|
39
39
|
var Key4 = Credential.Key;
|
|
40
40
|
var Value2 = Credential.Value;
|
|
41
|
-
var
|
|
41
|
+
var Event20 = Credential.Event;
|
|
42
42
|
|
|
43
|
-
class
|
|
44
|
-
id:
|
|
43
|
+
class Info31 extends Schema.Class("Credential.Info")({
|
|
44
|
+
id: ID16,
|
|
45
45
|
integrationID: Integration.ID,
|
|
46
46
|
label: Schema.String,
|
|
47
47
|
value: Value2
|
|
48
48
|
}) {
|
|
49
49
|
}
|
|
50
50
|
|
|
51
|
-
class
|
|
51
|
+
class Service78 extends Context.Service()("@opencode/Credential") {
|
|
52
52
|
}
|
|
53
|
-
var layer = Layer.effect(
|
|
53
|
+
var layer = Layer.effect(Service78, Effect.gen(function* () {
|
|
54
54
|
const db = (yield* Service80).db;
|
|
55
55
|
const bus = yield* Service79;
|
|
56
56
|
const decode = Schema.decodeUnknownSync(Value2);
|
|
57
57
|
const stored = (row) => {
|
|
58
58
|
if (!row.integration_id)
|
|
59
59
|
return;
|
|
60
|
-
return new
|
|
60
|
+
return new Info31({
|
|
61
61
|
id: row.id,
|
|
62
62
|
integrationID: row.integration_id,
|
|
63
63
|
label: row.label,
|
|
@@ -68,7 +68,7 @@ var layer = Layer.effect(Service75, Effect.gen(function* () {
|
|
|
68
68
|
const credential = stored(row);
|
|
69
69
|
return credential ? [credential] : [];
|
|
70
70
|
});
|
|
71
|
-
return
|
|
71
|
+
return Service78.of({
|
|
72
72
|
all: Effect.fn("Credential.all")(() => db.select().from(CredentialTable2).orderBy(asc(CredentialTable2.active), asc(CredentialTable2.time_created), asc(CredentialTable2.id)).all().pipe(Effect.orDie, Effect.map(storedRows))),
|
|
73
73
|
list: Effect.fn("Credential.list")((integrationID) => db.select().from(CredentialTable2).where(eq(CredentialTable2.integration_id, integrationID)).orderBy(asc(CredentialTable2.active), asc(CredentialTable2.time_created), asc(CredentialTable2.id)).all().pipe(Effect.orDie, Effect.map(storedRows))),
|
|
74
74
|
get: Effect.fn("Credential.get")(function* (id) {
|
|
@@ -76,8 +76,8 @@ var layer = Layer.effect(Service75, Effect.gen(function* () {
|
|
|
76
76
|
return row ? stored(row) : undefined;
|
|
77
77
|
}),
|
|
78
78
|
create: Effect.fn("Credential.create")(function* (input) {
|
|
79
|
-
const credential = new
|
|
80
|
-
id:
|
|
79
|
+
const credential = new Info31({
|
|
80
|
+
id: ID16.create(),
|
|
81
81
|
integrationID: input.integrationID,
|
|
82
82
|
label: input.label ?? "default",
|
|
83
83
|
value: input.value
|
|
@@ -101,8 +101,8 @@ var layer = Layer.effect(Service75, Effect.gen(function* () {
|
|
|
101
101
|
integrationID: credential.integrationID,
|
|
102
102
|
type: credential.value.type
|
|
103
103
|
});
|
|
104
|
-
yield* bus.publish(
|
|
105
|
-
yield* bus.publish(
|
|
104
|
+
yield* bus.publish(Event20.Updated, {}, { global: true });
|
|
105
|
+
yield* bus.publish(Event20.Switched, { integrationID: credential.integrationID, credentialID: credential.id }, { global: true });
|
|
106
106
|
return credential;
|
|
107
107
|
}),
|
|
108
108
|
activate: Effect.fn("Credential.activate")(function* (id) {
|
|
@@ -122,7 +122,7 @@ var layer = Layer.effect(Service75, Effect.gen(function* () {
|
|
|
122
122
|
})), Effect.orDie);
|
|
123
123
|
if (integrationID) {
|
|
124
124
|
yield* Effect.logInfo("credential activated", { integrationID, credentialID: id });
|
|
125
|
-
yield* bus.publish(
|
|
125
|
+
yield* bus.publish(Event20.Switched, { integrationID, credentialID: id }, { global: true });
|
|
126
126
|
}
|
|
127
127
|
}),
|
|
128
128
|
update: Effect.fn("Credential.update")(function* (id, updates) {
|
|
@@ -154,7 +154,7 @@ var layer = Layer.effect(Service75, Effect.gen(function* () {
|
|
|
154
154
|
labelChanged: updates.label !== undefined && updates.label !== credential.label
|
|
155
155
|
});
|
|
156
156
|
if (updates.label !== undefined && updates.label !== credential.label)
|
|
157
|
-
yield* bus.publish(
|
|
157
|
+
yield* bus.publish(Event20.Updated, {}, { global: true });
|
|
158
158
|
}),
|
|
159
159
|
remove: Effect.fn("Credential.remove")(function* (id) {
|
|
160
160
|
const removed = yield* db.transaction((tx) => Effect.gen(function* () {
|
|
@@ -187,12 +187,12 @@ var layer = Layer.effect(Service75, Effect.gen(function* () {
|
|
|
187
187
|
active: removed.switched,
|
|
188
188
|
...removed.switched ? { replacementID: removed.credentialID } : {}
|
|
189
189
|
});
|
|
190
|
-
yield* bus.publish(
|
|
190
|
+
yield* bus.publish(Event20.Updated, {}, { global: true });
|
|
191
191
|
if (removed.switched)
|
|
192
|
-
yield* bus.publish(
|
|
192
|
+
yield* bus.publish(Event20.Switched, { integrationID: removed.integrationID, credentialID: removed.credentialID }, { global: true });
|
|
193
193
|
})
|
|
194
194
|
});
|
|
195
195
|
}));
|
|
196
|
-
var
|
|
196
|
+
var node83 = makeGlobalNode({ service: Service78, layer, deps: [node85, node84] });
|
|
197
197
|
|
|
198
|
-
export {
|
|
198
|
+
export { ID16, OAuth3, Key4, Value2, Event20, Info31, Service78, node83, exports_credential };
|
|
@@ -1,17 +1,17 @@
|
|
|
1
1
|
import {
|
|
2
2
|
Service80,
|
|
3
3
|
node85
|
|
4
|
-
} from "./
|
|
4
|
+
} from "./repository-5naxf7j8.js";
|
|
5
5
|
import {
|
|
6
6
|
EventSequenceTable2,
|
|
7
7
|
EventTable2
|
|
8
|
-
} from "./
|
|
8
|
+
} from "./repository-2710q6r3.js";
|
|
9
9
|
import {
|
|
10
10
|
makeUnsafe2
|
|
11
|
-
} from "./
|
|
11
|
+
} from "./repository-y71avatq.js";
|
|
12
12
|
import {
|
|
13
13
|
__export
|
|
14
|
-
} from "./
|
|
14
|
+
} from "./repository-9rqn6x4v.js";
|
|
15
15
|
|
|
16
16
|
// src/bus.ts
|
|
17
17
|
var exports_bus = {};
|
|
@@ -0,0 +1,22 @@
|
|
|
1
|
+
import {
|
|
2
|
+
Plugin5
|
|
3
|
+
} from "./repository-yy3gmdz3.js";
|
|
4
|
+
import {
|
|
5
|
+
Plugin6
|
|
6
|
+
} from "./repository-arbskmtj.js";
|
|
7
|
+
import {
|
|
8
|
+
Plugin3
|
|
9
|
+
} from "./repository-vepva715.js";
|
|
10
|
+
import {
|
|
11
|
+
Plugin4
|
|
12
|
+
} from "./repository-p66jjbas.js";
|
|
13
|
+
|
|
14
|
+
// src/plugin/websearch/index.ts
|
|
15
|
+
var WebSearchPlugins2 = [
|
|
16
|
+
Plugin5,
|
|
17
|
+
Plugin6,
|
|
18
|
+
Plugin3,
|
|
19
|
+
Plugin4
|
|
20
|
+
];
|
|
21
|
+
|
|
22
|
+
export { WebSearchPlugins2 };
|
|
@@ -1,12 +1,12 @@
|
|
|
1
1
|
import {
|
|
2
2
|
jitCompatCheck2
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./repository-emrn6kk6.js";
|
|
4
4
|
import {
|
|
5
5
|
SQLiteEffectDatabase2
|
|
6
|
-
} from "./
|
|
6
|
+
} from "./repository-2pmrb1d6.js";
|
|
7
7
|
import {
|
|
8
8
|
EffectSQLiteSession2
|
|
9
|
-
} from "./
|
|
9
|
+
} from "./repository-bsbmndgv.js";
|
|
10
10
|
|
|
11
11
|
// src/database/drizzle/effect-sqlite/driver.ts
|
|
12
12
|
import * as Effect from "effect/Effect";
|
|
@@ -1,33 +1,33 @@
|
|
|
1
1
|
import {
|
|
2
2
|
Service79,
|
|
3
3
|
node84
|
|
4
|
-
} from "./
|
|
4
|
+
} from "./repository-e3rrrskg.js";
|
|
5
5
|
import {
|
|
6
6
|
optional2,
|
|
7
7
|
statics2
|
|
8
|
-
} from "./
|
|
8
|
+
} from "./repository-922hggd3.js";
|
|
9
9
|
import {
|
|
10
10
|
Ref2,
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
} from "./
|
|
11
|
+
Service70,
|
|
12
|
+
node75
|
|
13
|
+
} from "./repository-vmvf27d6.js";
|
|
14
14
|
import {
|
|
15
15
|
__export
|
|
16
|
-
} from "./
|
|
16
|
+
} from "./repository-9rqn6x4v.js";
|
|
17
17
|
|
|
18
18
|
// src/rpc.ts
|
|
19
19
|
var exports_rpc = {};
|
|
20
20
|
__export(exports_rpc, {
|
|
21
21
|
Rpc: () => exports_rpc,
|
|
22
|
-
Service: () =>
|
|
22
|
+
Service: () => Service42,
|
|
23
23
|
define: () => define2,
|
|
24
|
-
node: () =>
|
|
24
|
+
node: () => node46
|
|
25
25
|
});
|
|
26
26
|
import { define as define2 } from "@opencode/schema/rpc";
|
|
27
27
|
import { Event } from "@opencode/schema/event";
|
|
28
28
|
import { makeLocationNode } from "@opencode/util/effect/app-node";
|
|
29
29
|
import { Context, Effect, JsonSchema, Layer, Schema, SchemaRepresentation, Stream } from "effect";
|
|
30
|
-
class
|
|
30
|
+
class Service42 extends Context.Service()("@opencode/Rpc") {
|
|
31
31
|
}
|
|
32
32
|
|
|
33
33
|
class DeclaredError extends Error {
|
|
@@ -39,9 +39,9 @@ class DeclaredError extends Error {
|
|
|
39
39
|
this.data = data;
|
|
40
40
|
}
|
|
41
41
|
}
|
|
42
|
-
var layer = Layer.effect(
|
|
42
|
+
var layer = Layer.effect(Service42, Effect.gen(function* () {
|
|
43
43
|
const bus = yield* Service79;
|
|
44
|
-
const location = yield*
|
|
44
|
+
const location = yield* Service70;
|
|
45
45
|
const ref = Ref2.make({ directory: location.directory, workspaceID: location.workspaceID });
|
|
46
46
|
const callContext = {
|
|
47
47
|
error: (type, message, data) => new DeclaredError(type, message, data)
|
|
@@ -115,14 +115,14 @@ var layer = Layer.effect(Service35, Effect.gen(function* () {
|
|
|
115
115
|
const registered = events.get(name);
|
|
116
116
|
if (!registered)
|
|
117
117
|
return Stream.fail(new Error(`Unknown RPC event: ${definition.id}.${name}`));
|
|
118
|
-
return bus.subscribe(registered.definition).pipe(Stream.provideService(
|
|
118
|
+
return bus.subscribe(registered.definition).pipe(Stream.provideService(Service70, location), Stream.mapEffect((payload) => logicalEvent(definition, name, payload, ref)));
|
|
119
119
|
}
|
|
120
120
|
}
|
|
121
121
|
};
|
|
122
122
|
};
|
|
123
|
-
return
|
|
123
|
+
return Service42.of({ register, call, client });
|
|
124
124
|
}));
|
|
125
|
-
var
|
|
125
|
+
var node46 = makeLocationNode({ service: Service42, layer, deps: [node84, node75] });
|
|
126
126
|
var fields = {
|
|
127
127
|
id: Event.ID,
|
|
128
128
|
created: Schema.Finite,
|
|
@@ -207,4 +207,4 @@ var logicalEvent = Effect.fn("Rpc.logicalEvent")(function* (definition, name, pa
|
|
|
207
207
|
};
|
|
208
208
|
});
|
|
209
209
|
|
|
210
|
-
export {
|
|
210
|
+
export { Service42, node46, exports_rpc, define2 };
|
|
@@ -1,18 +1,18 @@
|
|
|
1
1
|
import {
|
|
2
2
|
__export
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./repository-9rqn6x4v.js";
|
|
4
4
|
|
|
5
5
|
// src/session/runner/index.ts
|
|
6
6
|
var exports_runner = {};
|
|
7
7
|
__export(exports_runner, {
|
|
8
8
|
DrainResult: () => DrainResult2,
|
|
9
|
-
Service: () =>
|
|
9
|
+
Service: () => Service47,
|
|
10
10
|
SessionRunner: () => exports_runner
|
|
11
11
|
});
|
|
12
12
|
import { Context, Data } from "effect";
|
|
13
13
|
var DrainResult2 = Data.taggedEnum();
|
|
14
14
|
|
|
15
|
-
class
|
|
15
|
+
class Service47 extends Context.Service()("@opencode/SessionRunner") {
|
|
16
16
|
}
|
|
17
17
|
|
|
18
|
-
export { DrainResult2,
|
|
18
|
+
export { DrainResult2, Service47, exports_runner };
|
|
@@ -1,28 +1,28 @@
|
|
|
1
1
|
import {
|
|
2
2
|
lazy2
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./repository-88xbtdfr.js";
|
|
4
4
|
import {
|
|
5
5
|
load2
|
|
6
|
-
} from "./
|
|
6
|
+
} from "./repository-paphc93g.js";
|
|
7
7
|
import {
|
|
8
8
|
__export
|
|
9
|
-
} from "./
|
|
9
|
+
} from "./repository-9rqn6x4v.js";
|
|
10
10
|
|
|
11
11
|
// src/filesystem/watcher.ts
|
|
12
12
|
var exports_watcher = {};
|
|
13
13
|
__export(exports_watcher, {
|
|
14
|
-
Event: () =>
|
|
14
|
+
Event: () => Event10,
|
|
15
15
|
Native: () => Native3,
|
|
16
|
-
Options: () =>
|
|
17
|
-
Service: () =>
|
|
16
|
+
Options: () => Options6,
|
|
17
|
+
Service: () => Service45,
|
|
18
18
|
Test: () => Test3,
|
|
19
19
|
Watcher: () => exports_watcher,
|
|
20
|
-
configured: () =>
|
|
20
|
+
configured: () => configured7,
|
|
21
21
|
hasNativeBinding: () => hasNativeBinding2,
|
|
22
|
-
layer: () =>
|
|
22
|
+
layer: () => layer18,
|
|
23
23
|
nativeLayer: () => nativeLayer2,
|
|
24
24
|
nativeNode: () => nativeNode2,
|
|
25
|
-
node: () =>
|
|
25
|
+
node: () => node50,
|
|
26
26
|
testLayer: () => testLayer3
|
|
27
27
|
});
|
|
28
28
|
import { createWrapper } from "@parcel/watcher/wrapper";
|
|
@@ -33,7 +33,7 @@ import { Cause, Context, Effect, Layer, PubSub, RcMap, Schema, Stream } from "ef
|
|
|
33
33
|
import { watch } from "node:fs";
|
|
34
34
|
import path from "path";
|
|
35
35
|
var SUBSCRIBE_TIMEOUT_MS = 1e4;
|
|
36
|
-
var
|
|
36
|
+
var Event10 = { Updated: FileSystem.Event.Changed };
|
|
37
37
|
var watcher = lazy2(() => {
|
|
38
38
|
try {
|
|
39
39
|
return createWrapper(load2());
|
|
@@ -53,18 +53,18 @@ var hasNativeBinding2 = () => !!watcher();
|
|
|
53
53
|
|
|
54
54
|
class Native3 extends Context.Service()("@opencode/Watcher/Native") {
|
|
55
55
|
}
|
|
56
|
-
var
|
|
56
|
+
var Options6 = Schema.Struct({
|
|
57
57
|
enabled: Schema.optional(Schema.Boolean)
|
|
58
58
|
});
|
|
59
59
|
|
|
60
|
-
class
|
|
60
|
+
class Service45 extends Context.Service()("@opencode/Watcher") {
|
|
61
61
|
}
|
|
62
62
|
|
|
63
63
|
class Test3 extends Context.Service()("@opencode/Watcher/Test") {
|
|
64
64
|
}
|
|
65
|
-
var
|
|
65
|
+
var layer18 = (options) => Layer.effect(Service45, Effect.gen(function* () {
|
|
66
66
|
if (options?.enabled === false) {
|
|
67
|
-
return
|
|
67
|
+
return Service45.of({ subscribe: () => Effect.succeed(Stream.empty) });
|
|
68
68
|
}
|
|
69
69
|
const native = yield* Native3;
|
|
70
70
|
const watchers = yield* RcMap.make({
|
|
@@ -105,7 +105,7 @@ var layer16 = (options) => Layer.effect(Service42, Effect.gen(function* () {
|
|
|
105
105
|
return Stream.fromSubscription(subscription);
|
|
106
106
|
}));
|
|
107
107
|
});
|
|
108
|
-
return
|
|
108
|
+
return Service45.of({ subscribe });
|
|
109
109
|
}));
|
|
110
110
|
var testLayer3 = Layer.effectContext(Effect.gen(function* () {
|
|
111
111
|
const subscriptions = [];
|
|
@@ -129,9 +129,9 @@ var testLayer3 = Layer.effectContext(Effect.gen(function* () {
|
|
|
129
129
|
};
|
|
130
130
|
})
|
|
131
131
|
});
|
|
132
|
-
const context = yield* Layer.build(
|
|
132
|
+
const context = yield* Layer.build(layer18().pipe(Layer.provide(Layer.succeed(Native3, native))));
|
|
133
133
|
const test = Test3.of({
|
|
134
|
-
subscribe: Context.get(context,
|
|
134
|
+
subscribe: Context.get(context, Service45).subscribe,
|
|
135
135
|
emit: (update) => Effect.sync(() => {
|
|
136
136
|
const target = path.resolve(update.path);
|
|
137
137
|
active.forEach((matches, publish) => {
|
|
@@ -141,7 +141,7 @@ var testLayer3 = Layer.effectContext(Effect.gen(function* () {
|
|
|
141
141
|
}),
|
|
142
142
|
subscriptions: () => Effect.sync(() => [...subscriptions])
|
|
143
143
|
});
|
|
144
|
-
return Context.empty().pipe(Context.add(
|
|
144
|
+
return Context.empty().pipe(Context.add(Service45, test), Context.add(Test3, test));
|
|
145
145
|
}));
|
|
146
146
|
var nativeLayer2 = Layer.succeed(Native3, Native3.of({
|
|
147
147
|
subscribe: (input) => {
|
|
@@ -164,10 +164,10 @@ var nativeLayer2 = Layer.succeed(Native3, Native3.of({
|
|
|
164
164
|
}
|
|
165
165
|
}));
|
|
166
166
|
var nativeNode2 = makeGlobalNode({ service: Native3, layer: nativeLayer2, deps: [] });
|
|
167
|
-
function
|
|
168
|
-
return makeGlobalNode({ service:
|
|
167
|
+
function configured7(options) {
|
|
168
|
+
return makeGlobalNode({ service: Service45, layer: layer18(options), deps: [nativeNode2] });
|
|
169
169
|
}
|
|
170
|
-
var
|
|
170
|
+
var node50 = configured7();
|
|
171
171
|
function subscribeDirectory(native, backend, directory, ignore, publish) {
|
|
172
172
|
if (!native || !backend) {
|
|
173
173
|
return Effect.logError("watcher backend not supported", { directory, platform: process.platform }).pipe(Effect.as(undefined));
|
|
@@ -187,4 +187,4 @@ function subscribeDirectory(native, backend, directory, ignore, publish) {
|
|
|
187
187
|
}).pipe(Effect.as(undefined))));
|
|
188
188
|
}
|
|
189
189
|
|
|
190
|
-
export {
|
|
190
|
+
export { Event10, hasNativeBinding2, Native3, Options6, Service45, Test3, layer18, testLayer3, nativeLayer2, nativeNode2, configured7, node50, exports_watcher };
|
|
@@ -1,34 +1,34 @@
|
|
|
1
1
|
import {
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
} from "./
|
|
2
|
+
Service70,
|
|
3
|
+
node75
|
|
4
|
+
} from "./repository-vmvf27d6.js";
|
|
5
5
|
import {
|
|
6
6
|
Key3,
|
|
7
|
-
|
|
7
|
+
make20,
|
|
8
8
|
combine2
|
|
9
|
-
} from "./
|
|
9
|
+
} from "./repository-rhjbct0v.js";
|
|
10
10
|
import {
|
|
11
11
|
__export
|
|
12
|
-
} from "./
|
|
12
|
+
} from "./repository-9rqn6x4v.js";
|
|
13
13
|
|
|
14
14
|
// src/instructions/builtins.ts
|
|
15
15
|
var exports_builtins = {};
|
|
16
16
|
__export(exports_builtins, {
|
|
17
17
|
InstructionBuiltIns: () => exports_builtins,
|
|
18
|
-
Service: () =>
|
|
19
|
-
node: () =>
|
|
18
|
+
Service: () => Service33,
|
|
19
|
+
node: () => node37
|
|
20
20
|
});
|
|
21
21
|
import { makeLocationNode } from "@opencode/util/effect/app-node";
|
|
22
22
|
import { Context, DateTime, Effect, Layer, Schema } from "effect";
|
|
23
23
|
import { Global } from "@opencode/util/global";
|
|
24
|
-
class
|
|
24
|
+
class Service33 extends Context.Service()("@opencode/InstructionBuiltIns") {
|
|
25
25
|
}
|
|
26
|
-
var layer = Layer.effect(
|
|
26
|
+
var layer = Layer.effect(Service33, Effect.gen(function* () {
|
|
27
27
|
const global = yield* Global.Service;
|
|
28
|
-
const location = yield*
|
|
29
|
-
return
|
|
28
|
+
const location = yield* Service70;
|
|
29
|
+
return Service33.of({
|
|
30
30
|
load: (sessionID) => Effect.succeed(combine2([
|
|
31
|
-
|
|
31
|
+
make20({
|
|
32
32
|
key: Key3.make("core/environment"),
|
|
33
33
|
codec: Schema.toCodecJson(Schema.String),
|
|
34
34
|
read: Effect.sync(() => [
|
|
@@ -49,7 +49,7 @@ var layer = Layer.effect(Service28, Effect.gen(function* () {
|
|
|
49
49
|
`)
|
|
50
50
|
}
|
|
51
51
|
}),
|
|
52
|
-
|
|
52
|
+
make20({
|
|
53
53
|
key: Key3.make("core/date"),
|
|
54
54
|
codec: Schema.toCodecJson(Schema.String),
|
|
55
55
|
read: DateTime.nowAsDate.pipe(Effect.map((date) => date.toDateString())),
|
|
@@ -61,6 +61,6 @@ var layer = Layer.effect(Service28, Effect.gen(function* () {
|
|
|
61
61
|
]))
|
|
62
62
|
});
|
|
63
63
|
}));
|
|
64
|
-
var
|
|
64
|
+
var node37 = makeLocationNode({ service: Service33, layer, deps: [Global.node, node75] });
|
|
65
65
|
|
|
66
|
-
export {
|
|
66
|
+
export { Service33, node37, exports_builtins };
|