@opencode/core 0.0.0-dev-19291 → 0.0.0-dev-19293
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 +5 -5
- package/dist/bus.js +67 -67
- package/dist/catalog.js +83 -83
- package/dist/chunks/{workspace-kfdzm4dd.js → catalog-08gjfv79.js} +17 -17
- package/dist/chunks/{workspace-9zswys26.js → catalog-0996nyz8.js} +9 -9
- package/dist/chunks/{workspace-jwqth68t.js → catalog-0ey1mef3.js} +19 -19
- package/dist/chunks/{workspace-mqy0jkn2.js → catalog-0gr7cw0d.js} +4 -4
- package/dist/chunks/{workspace-wkwfxgj3.js → catalog-0hkfnrqn.js} +4 -4
- package/dist/chunks/{workspace-0paq2nw3.js → catalog-0paq2nw3.js} +1 -1
- package/dist/chunks/{workspace-0q0f95c6.js → catalog-0q0f95c6.js} +1 -1
- package/dist/chunks/{workspace-8761qpcg.js → catalog-0wrmrbzm.js} +41 -41
- package/dist/chunks/{workspace-9m6qag95.js → catalog-18g40992.js} +24 -24
- package/dist/chunks/{workspace-zka56nxw.js → catalog-193cyatj.js} +22 -22
- package/dist/chunks/{workspace-eq1pz5kg.js → catalog-1bbkgx8g.js} +3 -3
- package/dist/chunks/{workspace-mpxhxrb2.js → catalog-1c4tfhyw.js} +15 -15
- package/dist/chunks/{workspace-m95v7z6z.js → catalog-1cpcfx80.js} +17 -17
- package/dist/chunks/{workspace-1dazxqgg.js → catalog-1dazxqgg.js} +2 -2
- package/dist/chunks/{workspace-1dfhrqqs.js → catalog-1dfhrqqs.js} +2 -2
- package/dist/chunks/{workspace-xkzbfh0m.js → catalog-1fp9qa2y.js} +13 -13
- package/dist/chunks/{workspace-15pjexzy.js → catalog-1k3f52p2.js} +13 -13
- package/dist/chunks/catalog-1tm0r3ht.js +4 -0
- package/dist/chunks/{workspace-jxn2j4b1.js → catalog-1vkx9ycq.js} +6 -6
- package/dist/chunks/{workspace-ya5s98jd.js → catalog-1w752csm.js} +11 -11
- package/dist/chunks/{workspace-48hw3qw3.js → catalog-1wasygzx.js} +17 -17
- package/dist/chunks/{workspace-esdnemd6.js → catalog-1wxb385z.js} +1 -1
- package/dist/chunks/{workspace-33w4ejhs.js → catalog-1ygqh575.js} +6 -6
- package/dist/chunks/{workspace-21r38tys.js → catalog-21r38tys.js} +1 -1
- package/dist/chunks/{workspace-6h73sxmp.js → catalog-2402vzrj.js} +5 -5
- package/dist/chunks/{workspace-wwhdthxc.js → catalog-24c1y031.js} +24 -24
- package/dist/chunks/{workspace-2a5m3afh.js → catalog-2a5m3afh.js} +1 -1
- package/dist/chunks/{workspace-9n5bgjha.js → catalog-2ay0g0qq.js} +3 -3
- package/dist/chunks/{workspace-7gvp9cq5.js → catalog-2k43fb76.js} +21 -21
- package/dist/chunks/{workspace-19g3xj2s.js → catalog-2ksqe8bm.js} +30 -30
- package/dist/chunks/{workspace-1jyjw0dy.js → catalog-2tkr3zpy.js} +11 -11
- package/dist/chunks/{workspace-q265yh5d.js → catalog-2z08a793.js} +7 -7
- package/dist/chunks/{workspace-5cwvq4ff.js → catalog-2zekrh71.js} +2 -2
- package/dist/chunks/{workspace-z9xz7t7m.js → catalog-2zpanxbg.js} +26 -26
- package/dist/chunks/{workspace-e4k3fffr.js → catalog-39x7b3m8.js} +23 -23
- package/dist/chunks/{workspace-3fc6dm20.js → catalog-3fc6dm20.js} +1 -1
- package/dist/chunks/{workspace-3hepkmqq.js → catalog-3hepkmqq.js} +1 -1
- package/dist/chunks/{workspace-cwtysmh4.js → catalog-3mp8pt0x.js} +12 -12
- package/dist/chunks/{workspace-s2bazk07.js → catalog-3qvym81x.js} +24 -24
- package/dist/chunks/{workspace-3smtnn6g.js → catalog-3smtnn6g.js} +1 -1
- package/dist/chunks/{workspace-dvzjgrza.js → catalog-3tm95zy1.js} +39 -39
- package/dist/chunks/{workspace-3tvqynh2.js → catalog-3tvqynh2.js} +1 -1
- package/dist/chunks/{workspace-dj9sq318.js → catalog-3w2b2yj4.js} +5 -5
- package/dist/chunks/catalog-45th5jwr.js +18 -0
- package/dist/chunks/{workspace-5pq3v0sk.js → catalog-4adfcvf6.js} +17 -17
- package/dist/chunks/{workspace-wmqmw210.js → catalog-4bvz69k8.js} +8 -8
- package/dist/chunks/{workspace-rs226bz6.js → catalog-4mkcvr19.js} +5 -5
- package/dist/chunks/{workspace-51e3a5p7.js → catalog-51e3a5p7.js} +2 -2
- package/dist/chunks/{workspace-cjsvwj1q.js → catalog-51vw2z6p.js} +15 -15
- package/dist/chunks/{workspace-t6qa8pj9.js → catalog-52qz24pd.js} +18 -18
- package/dist/chunks/{workspace-n51qh0r9.js → catalog-54d6gwcz.js} +6 -6
- package/dist/chunks/{workspace-81czwxpn.js → catalog-5c0f1prt.js} +4 -4
- package/dist/chunks/{workspace-93hpb89x.js → catalog-5cmxdwv8.js} +3 -3
- package/dist/chunks/{workspace-5daktx2q.js → catalog-5daktx2q.js} +1 -1
- package/dist/chunks/{workspace-9k2v62xn.js → catalog-5nsrms9d.js} +1 -1
- package/dist/chunks/{workspace-5t3nmthw.js → catalog-5t3nmthw.js} +2 -2
- package/dist/chunks/{workspace-669tq793.js → catalog-669tq793.js} +1 -1
- package/dist/chunks/{workspace-ve0zfa78.js → catalog-68qnkcyy.js} +11 -11
- package/dist/chunks/{workspace-5kptn8c0.js → catalog-6ck2t1rv.js} +9 -9
- package/dist/chunks/{workspace-bkqaqtv1.js → catalog-6mfzh3e7.js} +24 -24
- package/dist/chunks/{workspace-6msgmcgs.js → catalog-6msgmcgs.js} +1 -1
- package/dist/chunks/{workspace-12jdhdht.js → catalog-6r3a936t.js} +11 -11
- package/dist/chunks/{workspace-k1hbjbhr.js → catalog-6rdksybb.js} +41 -41
- package/dist/chunks/{workspace-71q4at8m.js → catalog-71q4at8m.js} +1 -1
- package/dist/chunks/{workspace-7bmhse3q.js → catalog-7bmhse3q.js} +1 -1
- package/dist/chunks/{workspace-0jwsre1p.js → catalog-7dqw4kz8.js} +5 -5
- package/dist/chunks/{workspace-1tbv6t5g.js → catalog-7hd1tkd5.js} +43 -43
- package/dist/chunks/{workspace-4t57t1en.js → catalog-7p0xeqwh.js} +11 -11
- package/dist/chunks/{workspace-7mz653pd.js → catalog-7v8r240q.js} +15 -15
- package/dist/chunks/{workspace-vypqtakx.js → catalog-83x6p9kd.js} +1 -1
- package/dist/chunks/{workspace-r7x04355.js → catalog-86ta97sr.js} +36 -36
- package/dist/chunks/{workspace-66j98p5d.js → catalog-88gw5xjn.js} +29 -29
- package/dist/chunks/{workspace-8d7r5vzw.js → catalog-8d7r5vzw.js} +1 -1
- package/dist/chunks/{workspace-beamd2gc.js → catalog-8mgt1eky.js} +7 -7
- package/dist/chunks/{workspace-86jav2f7.js → catalog-8p4ebb40.js} +34 -34
- package/dist/chunks/{workspace-8p4f9s12.js → catalog-8p4f9s12.js} +2 -2
- package/dist/chunks/{workspace-dffz74yj.js → catalog-8qwstm95.js} +24 -24
- package/dist/chunks/{workspace-4dg124c5.js → catalog-92azg307.js} +5 -5
- package/dist/chunks/{workspace-srvat6zp.js → catalog-939xhrtp.js} +6 -6
- package/dist/chunks/{workspace-f10twq9w.js → catalog-95tvtv7s.js} +11 -11
- package/dist/chunks/{workspace-ayjzdqkx.js → catalog-97y0rmbn.js} +4 -4
- package/dist/chunks/{workspace-4d61g8er.js → catalog-9avakp57.js} +43 -43
- package/dist/chunks/{workspace-1vtz46z8.js → catalog-9cg0vjy1.js} +8 -8
- package/dist/chunks/{workspace-cdm0865e.js → catalog-9d6qxf9c.js} +287 -287
- package/dist/chunks/{workspace-ej8xv5ds.js → catalog-9gj0xced.js} +3 -3
- package/dist/chunks/{workspace-wzkwse1s.js → catalog-9gqphhzc.js} +13 -13
- package/dist/chunks/{workspace-zyzp2298.js → catalog-9grwahz1.js} +10 -10
- package/dist/chunks/{workspace-1s5kemrg.js → catalog-9pxrakc7.js} +23 -23
- package/dist/chunks/{workspace-9phvn7ns.js → catalog-9vh5426k.js} +3 -3
- package/dist/chunks/{workspace-a1bz86dw.js → catalog-a1bz86dw.js} +3 -3
- package/dist/chunks/{workspace-v1cqtm69.js → catalog-a257t0jf.js} +16 -16
- package/dist/chunks/{workspace-aaet6srn.js → catalog-aaet6srn.js} +2 -2
- package/dist/chunks/{workspace-9a52esse.js → catalog-abtbdf59.js} +25 -25
- package/dist/chunks/{workspace-r0nnab1q.js → catalog-acqgx470.js} +24 -24
- package/dist/chunks/catalog-aeyh582h.js +22 -0
- package/dist/chunks/{workspace-fmah640z.js → catalog-ans1jj8h.js} +11 -11
- package/dist/chunks/{workspace-6st33d4x.js → catalog-ar9ay40j.js} +19 -19
- package/dist/chunks/{workspace-91xp5nbf.js → catalog-b292tk0n.js} +7 -7
- package/dist/chunks/{workspace-bsxfqzhc.js → catalog-b2ajcddy.js} +8 -8
- package/dist/chunks/{workspace-xmh8jj88.js → catalog-b3t12aqp.js} +1 -1
- package/dist/chunks/{workspace-b6gygkdw.js → catalog-b6gygkdw.js} +2 -2
- package/dist/chunks/{workspace-95x6xbkr.js → catalog-bajakh74.js} +4 -4
- package/dist/chunks/{workspace-bh0wyjv7.js → catalog-bjmz90nh.js} +6 -6
- package/dist/chunks/{workspace-eh4km76q.js → catalog-bt3s1erw.js} +24 -24
- package/dist/chunks/{workspace-ak2adswv.js → catalog-c0sgx4c0.js} +15 -15
- package/dist/chunks/{workspace-e3b0d0gy.js → catalog-c445fhf3.js} +9 -9
- package/dist/chunks/{workspace-84tssp1s.js → catalog-c7ecgrk6.js} +6 -6
- package/dist/chunks/{workspace-61tdtcny.js → catalog-c9004w5b.js} +3 -3
- package/dist/chunks/{workspace-323qkwbp.js → catalog-c9e1ae34.js} +10 -10
- package/dist/chunks/{workspace-mtd5x7py.js → catalog-ca0dbqvs.js} +17 -17
- package/dist/chunks/{workspace-7gb606e6.js → catalog-ccr570b8.js} +11 -11
- package/dist/chunks/{workspace-wynthrjp.js → catalog-cfcv5f3g.js} +6 -6
- package/dist/chunks/{workspace-cfpkc3c9.js → catalog-cfpkc3c9.js} +2 -2
- package/dist/chunks/{workspace-s6jr34qb.js → catalog-cpf2fnne.js} +28 -28
- package/dist/chunks/{workspace-ewztbjbx.js → catalog-csdk6fpb.js} +160 -160
- package/dist/chunks/{workspace-0yq4eb34.js → catalog-csy5xrym.js} +24 -24
- package/dist/chunks/{workspace-6gfd5xf8.js → catalog-cy61f422.js} +30 -30
- package/dist/chunks/{workspace-af04s6ss.js → catalog-d2aac7k2.js} +5 -5
- package/dist/chunks/{workspace-pn6nrrpr.js → catalog-d596epm3.js} +27 -27
- package/dist/chunks/{workspace-mxj2eewr.js → catalog-d6xggxnc.js} +20 -20
- package/dist/chunks/{workspace-36jkazxa.js → catalog-d7f95zz1.js} +5 -5
- package/dist/chunks/{workspace-gf3khw20.js → catalog-ddaqz593.js} +14 -14
- package/dist/chunks/{workspace-2nyvck04.js → catalog-dgyrknrt.js} +9 -9
- package/dist/chunks/{workspace-83q95eg7.js → catalog-dj16x7mk.js} +9 -9
- package/dist/chunks/{workspace-w23a9fg2.js → catalog-dp3p8yg5.js} +3 -3
- package/dist/chunks/{workspace-t7b1xacm.js → catalog-dtbh1kja.js} +8 -8
- package/dist/chunks/{workspace-asmz7wyz.js → catalog-dv1qgsyq.js} +8 -8
- package/dist/chunks/{workspace-awaee7qt.js → catalog-dwvzh0g2.js} +4 -4
- package/dist/chunks/{workspace-v84z85pp.js → catalog-dy775f0c.js} +5 -5
- package/dist/chunks/{workspace-3q6hd4jt.js → catalog-dzye6hzv.js} +12 -12
- package/dist/chunks/{workspace-rrjgssxh.js → catalog-e4c51rkk.js} +46 -46
- package/dist/chunks/{workspace-mrk2ms14.js → catalog-eaa5pbb8.js} +26 -26
- package/dist/chunks/{workspace-eds7zwp6.js → catalog-edf3pq06.js} +24 -24
- package/dist/chunks/{workspace-5jfbnsm9.js → catalog-edycvqhn.js} +50 -50
- package/dist/chunks/{workspace-mrw4weg4.js → catalog-en74w496.js} +5 -5
- package/dist/chunks/{workspace-v9ct93z2.js → catalog-etfxbf6a.js} +8 -8
- package/dist/chunks/{workspace-etq0c3wd.js → catalog-etq0c3wd.js} +1 -1
- package/dist/chunks/{workspace-ed1arge1.js → catalog-excxsdmh.js} +18 -18
- package/dist/chunks/{workspace-39mbwg99.js → catalog-ey85gxkh.js} +16 -16
- package/dist/chunks/{workspace-f828m53h.js → catalog-f828m53h.js} +2 -2
- package/dist/chunks/{workspace-wgq3akg3.js → catalog-faj9g8h9.js} +26 -26
- package/dist/chunks/{workspace-b8gwhbay.js → catalog-fe35mk0j.js} +24 -24
- package/dist/chunks/{workspace-g8d3gcyj.js → catalog-fm2qvscf.js} +7 -7
- package/dist/chunks/catalog-fq87a0m5.js +247 -0
- package/dist/chunks/{workspace-c0mtdgpv.js → catalog-ftzwncw9.js} +14 -14
- package/dist/chunks/{workspace-90qgvd9n.js → catalog-fvg72gxj.js} +20 -20
- package/dist/chunks/{workspace-fxbjtjnd.js → catalog-fxbjtjnd.js} +1 -1
- package/dist/chunks/{workspace-mw6ans9c.js → catalog-fz0j3gyq.js} +5 -5
- package/dist/chunks/{workspace-a1963bm0.js → catalog-g4j3t0tj.js} +33 -33
- package/dist/chunks/{workspace-wn4kdw9q.js → catalog-g5e9rtry.js} +4 -4
- package/dist/chunks/{workspace-gk38wydt.js → catalog-g69k0va6.js} +15 -15
- package/dist/chunks/{workspace-gd4qta3r.js → catalog-gd4qta3r.js} +1 -1
- package/dist/chunks/{workspace-1ev0k7s6.js → catalog-gea5s3cg.js} +8 -8
- package/dist/chunks/{workspace-42h2bxtq.js → catalog-grgythxa.js} +10 -10
- package/dist/chunks/{workspace-3trbxeqx.js → catalog-gt0cxfk7.js} +1 -1
- package/dist/chunks/{workspace-d53dp3ny.js → catalog-gtaebsa9.js} +11 -11
- package/dist/chunks/{workspace-gv6a8nnw.js → catalog-gv6a8nnw.js} +2 -2
- package/dist/chunks/{workspace-h03wrkyp.js → catalog-h03wrkyp.js} +2 -2
- package/dist/chunks/{workspace-2yamwwtx.js → catalog-h09vyrzm.js} +10 -10
- package/dist/chunks/{workspace-h6vf3j39.js → catalog-h6vf3j39.js} +1 -1
- package/dist/chunks/{workspace-rjqwr5dw.js → catalog-hht4gh2e.js} +24 -24
- package/dist/chunks/{workspace-pkjnw8xf.js → catalog-hke3s7jr.js} +27 -27
- package/dist/chunks/{workspace-rtv6ahp9.js → catalog-hm24pp5g.js} +6 -6
- package/dist/chunks/{workspace-qn4ba14w.js → catalog-hnr5yq9h.js} +5 -5
- package/dist/chunks/{workspace-j56e64zr.js → catalog-j56e64zr.js} +1 -1
- package/dist/chunks/{workspace-p129658b.js → catalog-j99k1z0n.js} +14 -14
- package/dist/chunks/{workspace-fvr7jna4.js → catalog-jaggdvfk.js} +13 -13
- package/dist/chunks/{workspace-fq1h1v14.js → catalog-jhetwysa.js} +3 -3
- package/dist/chunks/{workspace-c82pnra3.js → catalog-k4w2jens.js} +35 -35
- package/dist/chunks/{workspace-kg06axw8.js → catalog-kg06axw8.js} +1 -1
- package/dist/chunks/{workspace-43bvnm0c.js → catalog-kh42c52q.js} +32 -32
- package/dist/chunks/{workspace-ntgxvp5h.js → catalog-km7kbv75.js} +11 -11
- package/dist/chunks/{workspace-j69p6wmc.js → catalog-kr0f3q28.js} +28 -28
- package/dist/chunks/{workspace-rdz2tx67.js → catalog-krkftj6y.js} +3 -3
- package/dist/chunks/{workspace-93dyhyad.js → catalog-ksxmc9x1.js} +17 -17
- package/dist/chunks/{workspace-m9w0rfyh.js → catalog-m9w0rfyh.js} +1 -1
- package/dist/chunks/{workspace-nrdmrqsx.js → catalog-magykp64.js} +4 -4
- package/dist/chunks/{workspace-bskx12th.js → catalog-may0v2nw.js} +7 -7
- package/dist/chunks/{workspace-s5g9mpsf.js → catalog-mhwe31bg.js} +4 -4
- package/dist/chunks/{workspace-0cmfkvjr.js → catalog-mjk9qewm.js} +28 -28
- package/dist/chunks/{workspace-mkcjrzeh.js → catalog-mkcjrzeh.js} +1 -1
- package/dist/chunks/{workspace-c4t116nm.js → catalog-mrb4trvw.js} +6 -6
- package/dist/chunks/{workspace-7vbk9m4e.js → catalog-nf0n8mk0.js} +18 -18
- package/dist/chunks/{workspace-qkek724z.js → catalog-nf7ftftm.js} +5 -5
- package/dist/chunks/{workspace-gwwc15b8.js → catalog-ngm87703.js} +14 -14
- package/dist/chunks/{workspace-nhy5jxhy.js → catalog-nhy5jxhy.js} +1 -1
- package/dist/chunks/{workspace-zke2pdp6.js → catalog-npysrchg.js} +11 -11
- package/dist/chunks/{workspace-4rd6evxz.js → catalog-nrbr496k.js} +15 -15
- package/dist/chunks/{workspace-yagmabmz.js → catalog-nvrcv9cw.js} +4 -4
- package/dist/chunks/{workspace-40ztfmwz.js → catalog-nzhacs1j.js} +17 -17
- package/dist/chunks/{workspace-5kmnb5g6.js → catalog-p8x9x2db.js} +15 -15
- package/dist/chunks/{workspace-a68v6zx7.js → catalog-pb1eahw5.js} +8 -8
- package/dist/chunks/{workspace-kxpygcw9.js → catalog-pf2hb43r.js} +4 -4
- package/dist/chunks/{workspace-pjvnvgmy.js → catalog-pjvnvgmy.js} +1 -1
- package/dist/chunks/{workspace-pknna89w.js → catalog-pknna89w.js} +1 -1
- package/dist/chunks/{workspace-h7ygw6q4.js → catalog-pnv527nz.js} +9 -9
- package/dist/chunks/{workspace-9cex7hp6.js → catalog-ppwr6x1h.js} +65 -65
- package/dist/chunks/{workspace-d5a42mez.js → catalog-pqh2nv3g.js} +20 -20
- package/dist/chunks/{workspace-f5agypy8.js → catalog-prgkbevw.js} +16 -16
- package/dist/chunks/{workspace-s7731dqm.js → catalog-ptvnqgxn.js} +2 -2
- package/dist/chunks/{workspace-qzyph8ek.js → catalog-pvrjs4yz.js} +7 -7
- package/dist/chunks/{workspace-bgqpk6ej.js → catalog-q54czkb4.js} +5 -5
- package/dist/chunks/{workspace-yyhgy33t.js → catalog-qbj7c7cb.js} +10 -10
- package/dist/chunks/{workspace-1yafz2c2.js → catalog-qfj9a7dr.js} +21 -21
- package/dist/chunks/{workspace-hrhrxexm.js → catalog-qhbn037j.js} +4 -4
- package/dist/chunks/{workspace-317x7tvz.js → catalog-qj1xgd3c.js} +16 -16
- package/dist/chunks/{workspace-4zb7zm34.js → catalog-qj463mt0.js} +11 -11
- package/dist/chunks/{workspace-8p83gb6h.js → catalog-qqbwtt94.js} +6 -6
- package/dist/chunks/{workspace-qsdy395h.js → catalog-qsdy395h.js} +1 -1
- package/dist/chunks/{workspace-q3jq24j1.js → catalog-qwvr7hcb.js} +14 -14
- package/dist/chunks/{workspace-cgnjyr8a.js → catalog-qxj1ffes.js} +47 -47
- package/dist/chunks/{workspace-5aktmhjp.js → catalog-rak93kx5.js} +15 -15
- package/dist/chunks/{workspace-60stz191.js → catalog-rmsvm9se.js} +30 -30
- package/dist/chunks/{workspace-rme5v0wm.js → catalog-rn3bb77g.js} +10 -10
- package/dist/chunks/{workspace-10dffqyq.js → catalog-rp3r94qx.js} +22 -22
- package/dist/chunks/{workspace-97s80yy3.js → catalog-s5pqthp7.js} +20 -20
- package/dist/chunks/{workspace-f4x3f9y9.js → catalog-sndgt87n.js} +32 -32
- package/dist/chunks/{workspace-qqbqqn54.js → catalog-srb7sc6z.js} +37 -37
- package/dist/chunks/{workspace-t6msp11s.js → catalog-ssvfzqqs.js} +6 -6
- package/dist/chunks/{workspace-kma43rbx.js → catalog-sy6rv79x.js} +35 -35
- package/dist/chunks/{workspace-wv6yb1rv.js → catalog-t1va49jq.js} +1 -1
- package/dist/chunks/{workspace-1s80jvpe.js → catalog-t39nz99n.js} +24 -24
- package/dist/chunks/{workspace-0gdmqesm.js → catalog-t550f9t1.js} +4 -4
- package/dist/chunks/{workspace-baaqp4zd.js → catalog-t7n9q6bq.js} +4 -4
- package/dist/chunks/{workspace-h2gyv3sg.js → catalog-t8mcaem5.js} +1 -1
- package/dist/chunks/{workspace-jh06ctgk.js → catalog-t9eetm64.js} +41 -41
- package/dist/chunks/{workspace-q2b1ymqp.js → catalog-t9zs3egg.js} +4 -4
- package/dist/chunks/{workspace-tazgh4e4.js → catalog-tazgh4e4.js} +1 -1
- package/dist/chunks/{workspace-tcezcvh9.js → catalog-tcezcvh9.js} +1 -1
- package/dist/chunks/{workspace-tdstcens.js → catalog-tdstcens.js} +1 -1
- package/dist/chunks/{workspace-xp88wr07.js → catalog-te1cag4t.js} +9 -9
- package/dist/chunks/{workspace-tvtrv512.js → catalog-tvtrv512.js} +1 -1
- package/dist/chunks/{workspace-k19spz14.js → catalog-txr5ac4p.js} +4 -4
- package/dist/chunks/{workspace-0em1p5dp.js → catalog-tzsxfahg.js} +83 -83
- package/dist/chunks/{workspace-2vg72gbq.js → catalog-ve7drzgd.js} +9 -9
- package/dist/chunks/{workspace-veqvce7d.js → catalog-veqvce7d.js} +1 -1
- package/dist/chunks/{workspace-50p99xk2.js → catalog-vmtxrkck.js} +51 -51
- package/dist/chunks/{workspace-0hf9g8pg.js → catalog-vvccsdf3.js} +6 -6
- package/dist/chunks/{workspace-vzcthcp8.js → catalog-vzcthcp8.js} +1 -1
- package/dist/chunks/{workspace-awz7xhfp.js → catalog-w2ema4db.js} +4 -4
- package/dist/chunks/{workspace-w3wsvvr9.js → catalog-w3wsvvr9.js} +1 -1
- package/dist/chunks/{workspace-sp5zyyma.js → catalog-w49382pb.js} +8 -8
- package/dist/chunks/{workspace-4zbs3q2b.js → catalog-w77s52q3.js} +32 -32
- package/dist/chunks/{workspace-8hpffc5d.js → catalog-wd3yn1fh.js} +12 -12
- package/dist/chunks/{workspace-wd87259q.js → catalog-wd87259q.js} +1 -1
- package/dist/chunks/{workspace-540a1fgr.js → catalog-wfr4g6r5.js} +30 -30
- package/dist/chunks/{workspace-0s5v0p6k.js → catalog-wst1zvrx.js} +53 -53
- package/dist/chunks/{workspace-vze96k0n.js → catalog-wt5gx8pc.js} +4 -4
- package/dist/chunks/{workspace-bt8hdx22.js → catalog-wz396vy4.js} +17 -17
- package/dist/chunks/{workspace-awhdw3pf.js → catalog-x0fpwzd0.js} +83 -83
- package/dist/chunks/{workspace-x1ezjp6w.js → catalog-x1ezjp6w.js} +1 -1
- package/dist/chunks/{workspace-x43y2vfs.js → catalog-x43y2vfs.js} +2 -2
- package/dist/chunks/{workspace-4tq5d7x2.js → catalog-xcm121yb.js} +20 -20
- package/dist/chunks/{workspace-2fsj26k1.js → catalog-xt1cn49a.js} +13 -13
- package/dist/chunks/{workspace-pq4st5kv.js → catalog-xycjtdwc.js} +2 -2
- package/dist/chunks/{workspace-y1fvbwt7.js → catalog-y1fvbwt7.js} +1 -1
- package/dist/chunks/{workspace-y71avatq.js → catalog-y71avatq.js} +1 -1
- package/dist/chunks/{workspace-4jmdj23e.js → catalog-yeqyw0z5.js} +9 -9
- package/dist/chunks/{workspace-1acjjqhc.js → catalog-yp2x3t23.js} +4 -4
- package/dist/chunks/{workspace-xwwm14an.js → catalog-ypakvq1d.js} +9 -9
- package/dist/chunks/{workspace-jab8rdhp.js → catalog-yr39kfap.js} +9 -9
- package/dist/chunks/{workspace-yrhqyw5v.js → catalog-yrhqyw5v.js} +1 -1
- package/dist/chunks/{workspace-yrznvahk.js → catalog-yrznvahk.js} +2 -2
- package/dist/chunks/{workspace-a2vj9kk6.js → catalog-ysvdnr04.js} +20 -20
- package/dist/chunks/{workspace-j6rj9xt6.js → catalog-ywnd43xk.js} +43 -43
- package/dist/chunks/{workspace-z0bkrqjs.js → catalog-z0bkrqjs.js} +1 -1
- package/dist/chunks/{workspace-g5twr0sp.js → catalog-z2kdtaq9.js} +10 -10
- package/dist/chunks/{workspace-w2ztz3kz.js → catalog-z5p80r6k.js} +10 -10
- package/dist/chunks/{workspace-z63w68vq.js → catalog-z63w68vq.js} +2 -2
- package/dist/chunks/{workspace-7k17nv4j.js → catalog-z8msdh7f.js} +22 -22
- package/dist/chunks/{workspace-5yrg3hxm.js → catalog-z9cfrxhp.js} +8 -8
- package/dist/chunks/{workspace-dgmwn8ez.js → catalog-ze5v0a14.js} +8 -8
- package/dist/chunks/{workspace-zeh9ct20.js → catalog-zeh9ct20.js} +2 -2
- package/dist/chunks/{workspace-3v77a270.js → catalog-zhg5ad22.js} +24 -24
- package/dist/chunks/{workspace-zr2ceqn5.js → catalog-zr2ceqn5.js} +1 -1
- package/dist/chunks/{workspace-rztdx977.js → catalog-zvjefhv4.js} +9 -9
- package/dist/chunks/{workspace-kenqsagb.js → catalog-zx8e487a.js} +9 -9
- package/dist/chunks/{workspace-zxq2ej10.js → catalog-zxq2ej10.js} +1 -1
- package/dist/chunks/{workspace-vabb23s0.js → catalog-zxwpk2nb.js} +1 -1
- package/dist/chunks/{workspace-5nzafj0m.js → catalog-zy3h4kss.js} +11 -11
- package/dist/codemode/catalog.js +1 -1
- package/dist/codemode/instructions.js +3 -3
- 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 +6 -6
- package/dist/filesystem/location-watcher.js +216 -216
- package/dist/filesystem/protected.js +1 -1
- package/dist/filesystem/search.js +93 -93
- 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 +82 -82
- package/dist/generate.js +89 -89
- 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 +83 -83
- 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 +77 -77
- package/dist/kv/sql.js +2 -2
- package/dist/kv.js +67 -67
- 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 +6 -6
- package/dist/models-dev.js +86 -86
- package/dist/oauth/page.js +1 -1
- package/dist/permission/saved.js +80 -80
- package/dist/permission/sql.js +5 -5
- package/dist/permission.js +106 -106
- package/dist/persistent-pty/binary.bun.js +1 -1
- package/dist/persistent-pty/daemon.js +1 -1
- package/dist/persistent-pty/index.js +80 -80
- 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 +2 -2
- 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 +117 -117
- 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 +78 -78
- 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 +2 -2
- 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 +74 -74
- 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 +342 -342
- 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 +222 -222
- 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 +3 -3
- package/dist/pty/ticket.js +1 -1
- package/dist/pty.js +94 -94
- package/dist/reference/instructions.js +82 -82
- package/dist/reference.js +86 -86
- package/dist/repository-cache.js +76 -76
- package/dist/repository.js +3 -3
- package/dist/ripgrep/binary.js +2 -2
- package/dist/ripgrep.js +91 -91
- 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 +147 -147
- package/dist/session/environment.js +5 -5
- package/dist/session/error.js +5 -5
- package/dist/session/event.js +1 -1
- package/dist/session/execution/restart.js +216 -216
- package/dist/session/execution.js +122 -122
- 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 +3 -3
- 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 +121 -121
- package/dist/session/runner/to-llm-message.js +2 -2
- package/dist/session/schema.js +5 -5
- package/dist/session/session.js +167 -167
- 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 +205 -205
- package/dist/session/system-prompt.js +1 -1
- package/dist/session/title.js +151 -151
- 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 +211 -211
- 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 +6 -6
- package/dist/skill/instructions.js +102 -102
- package/dist/skill.js +107 -107
- 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 +120 -120
- package/dist/tool/plugin/opencode.js +3 -3
- package/dist/tool/plugin/patch.js +117 -117
- package/dist/tool/plugin/question.js +98 -98
- 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 +105 -105
- package/dist/tool/plugin/websearch.js +107 -107
- package/dist/tool/plugin/write.js +117 -117
- 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 +5 -5
- package/dist/v1/config/config.js +16 -16
- package/dist/v1/config/error.js +2 -2
- package/dist/v1/config/formatter.js +3 -3
- package/dist/v1/config/layout.js +1 -1
- package/dist/v1/config/lsp.js +3 -3
- 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 +80 -80
- 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 +76 -76
- package/dist/worktree/directory.js +2 -2
- package/dist/worktree/git.js +5 -5
- package/dist/worktree/refresh.js +341 -341
- package/dist/worktree/sql.js +5 -5
- package/dist/worktree.js +85 -85
- package/package.json +8 -8
- package/dist/chunks/workspace-0mesazry.js +0 -4
- package/dist/chunks/workspace-q509s3k3.js +0 -18
- package/dist/chunks/workspace-x1a21s98.js +0 -247
- package/dist/chunks/workspace-y31r8zkp.js +0 -22
- /package/dist/chunks/{workspace-0qkdqm5v.js → catalog-0qkdqm5v.js} +0 -0
- /package/dist/chunks/{workspace-0zkw76rk.js → catalog-0zkw76rk.js} +0 -0
- /package/dist/chunks/{workspace-17cy0kzp.js → catalog-17cy0kzp.js} +0 -0
- /package/dist/chunks/{workspace-1cnp2v09.js → catalog-1cnp2v09.js} +0 -0
- /package/dist/chunks/{workspace-1kg9ymc8.js → catalog-1kg9ymc8.js} +0 -0
- /package/dist/chunks/{workspace-2710q6r3.js → catalog-2710q6r3.js} +0 -0
- /package/dist/chunks/{workspace-2axfhc9x.js → catalog-2axfhc9x.js} +0 -0
- /package/dist/chunks/{workspace-2c3vjs8z.js → catalog-2c3vjs8z.js} +0 -0
- /package/dist/chunks/{workspace-359p4xyc.js → catalog-359p4xyc.js} +0 -0
- /package/dist/chunks/{workspace-3asan66x.js → catalog-3asan66x.js} +0 -0
- /package/dist/chunks/{workspace-3v8g72cx.js → catalog-3v8g72cx.js} +0 -0
- /package/dist/chunks/{workspace-3w5fmr99.js → catalog-3w5fmr99.js} +0 -0
- /package/dist/chunks/{workspace-3wcehsnq.js → catalog-3wcehsnq.js} +0 -0
- /package/dist/chunks/{workspace-43n2bw4t.js → catalog-43n2bw4t.js} +0 -0
- /package/dist/chunks/{workspace-4knz6hnm.js → catalog-4knz6hnm.js} +0 -0
- /package/dist/chunks/{workspace-4y7fprxs.js → catalog-4y7fprxs.js} +0 -0
- /package/dist/chunks/{workspace-53557ph1.js → catalog-53557ph1.js} +0 -0
- /package/dist/chunks/{workspace-550bvhaj.js → catalog-550bvhaj.js} +0 -0
- /package/dist/chunks/{workspace-6prwharc.js → catalog-6prwharc.js} +0 -0
- /package/dist/chunks/{workspace-7akdwqpd.js → catalog-7akdwqpd.js} +0 -0
- /package/dist/chunks/{workspace-7m9af43g.js → catalog-7m9af43g.js} +0 -0
- /package/dist/chunks/{workspace-822emrt2.js → catalog-822emrt2.js} +0 -0
- /package/dist/chunks/{workspace-88xbtdfr.js → catalog-88xbtdfr.js} +0 -0
- /package/dist/chunks/{workspace-8n3pysct.js → catalog-8n3pysct.js} +0 -0
- /package/dist/chunks/{workspace-922hggd3.js → catalog-922hggd3.js} +0 -0
- /package/dist/chunks/{workspace-9a4afbnw.js → catalog-9a4afbnw.js} +0 -0
- /package/dist/chunks/{workspace-9rqn6x4v.js → catalog-9rqn6x4v.js} +0 -0
- /package/dist/chunks/{workspace-a1tpkmh4.js → catalog-a1tpkmh4.js} +0 -0
- /package/dist/chunks/{workspace-a6k6eb26.js → catalog-a6k6eb26.js} +0 -0
- /package/dist/chunks/{workspace-af5trqkr.js → catalog-af5trqkr.js} +0 -0
- /package/dist/chunks/{workspace-afrmfg78.js → catalog-afrmfg78.js} +0 -0
- /package/dist/chunks/{workspace-aqzs7mqg.js → catalog-aqzs7mqg.js} +0 -0
- /package/dist/chunks/{workspace-atq7p7m5.js → catalog-atq7p7m5.js} +0 -0
- /package/dist/chunks/{workspace-bkyjaxrp.js → catalog-bkyjaxrp.js} +0 -0
- /package/dist/chunks/{workspace-bmr6ed5q.js → catalog-bmr6ed5q.js} +0 -0
- /package/dist/chunks/{workspace-cf4snx6d.js → catalog-cf4snx6d.js} +0 -0
- /package/dist/chunks/{workspace-cvy3z8tj.js → catalog-cvy3z8tj.js} +0 -0
- /package/dist/chunks/{workspace-d9fn303g.js → catalog-d9fn303g.js} +0 -0
- /package/dist/chunks/{workspace-d9jj8t3e.js → catalog-d9jj8t3e.js} +0 -0
- /package/dist/chunks/{workspace-dajrwvna.js → catalog-dajrwvna.js} +0 -0
- /package/dist/chunks/{workspace-dap0rakb.js → catalog-dap0rakb.js} +0 -0
- /package/dist/chunks/{workspace-df08tz66.js → catalog-df08tz66.js} +0 -0
- /package/dist/chunks/{workspace-dy18nga0.js → catalog-dy18nga0.js} +0 -0
- /package/dist/chunks/{workspace-e5kj55wp.js → catalog-e5kj55wp.js} +0 -0
- /package/dist/chunks/{workspace-e73j6tqm.js → catalog-e73j6tqm.js} +0 -0
- /package/dist/chunks/{workspace-ec1grn59.js → catalog-ec1grn59.js} +0 -0
- /package/dist/chunks/{workspace-eh3zwz77.js → catalog-eh3zwz77.js} +0 -0
- /package/dist/chunks/{workspace-emrn6kk6.js → catalog-emrn6kk6.js} +0 -0
- /package/dist/chunks/{workspace-f0mxakyp.js → catalog-f0mxakyp.js} +0 -0
- /package/dist/chunks/{workspace-f6n9ztr4.js → catalog-f6n9ztr4.js} +0 -0
- /package/dist/chunks/{workspace-faypxj3z.js → catalog-faypxj3z.js} +0 -0
- /package/dist/chunks/{workspace-fd410y7t.js → catalog-fd410y7t.js} +0 -0
- /package/dist/chunks/{workspace-fxgpk5d8.js → catalog-fxgpk5d8.js} +0 -0
- /package/dist/chunks/{workspace-g4wezp1m.js → catalog-g4wezp1m.js} +0 -0
- /package/dist/chunks/{workspace-g86h250q.js → catalog-g86h250q.js} +0 -0
- /package/dist/chunks/{workspace-gebd4c9n.js → catalog-gebd4c9n.js} +0 -0
- /package/dist/chunks/{workspace-gftt206x.js → catalog-gftt206x.js} +0 -0
- /package/dist/chunks/{workspace-hjbc5kem.js → catalog-hjbc5kem.js} +0 -0
- /package/dist/chunks/{workspace-hk9envan.js → catalog-hk9envan.js} +0 -0
- /package/dist/chunks/{workspace-hrnqkpcd.js → catalog-hrnqkpcd.js} +0 -0
- /package/dist/chunks/{workspace-j2ntwpah.js → catalog-j2ntwpah.js} +0 -0
- /package/dist/chunks/{workspace-j5zkgpj8.js → catalog-j5zkgpj8.js} +0 -0
- /package/dist/chunks/{workspace-jr7sbwjy.js → catalog-jr7sbwjy.js} +0 -0
- /package/dist/chunks/{workspace-jwfs4k6c.js → catalog-jwfs4k6c.js} +0 -0
- /package/dist/chunks/{workspace-jzg6c2d5.js → catalog-jzg6c2d5.js} +0 -0
- /package/dist/chunks/{workspace-mp448xyj.js → catalog-mp448xyj.js} +0 -0
- /package/dist/chunks/{workspace-msx8hqn2.js → catalog-msx8hqn2.js} +0 -0
- /package/dist/chunks/{workspace-n05xt0ee.js → catalog-n05xt0ee.js} +0 -0
- /package/dist/chunks/{workspace-n3j8tn72.js → catalog-n3j8tn72.js} +0 -0
- /package/dist/chunks/{workspace-njntx4h6.js → catalog-njntx4h6.js} +0 -0
- /package/dist/chunks/{workspace-paphc93g.js → catalog-paphc93g.js} +0 -0
- /package/dist/chunks/{workspace-q3sfg36h.js → catalog-q3sfg36h.js} +0 -0
- /package/dist/chunks/{workspace-q74kybfr.js → catalog-q74kybfr.js} +0 -0
- /package/dist/chunks/{workspace-qaymkmh1.js → catalog-qaymkmh1.js} +0 -0
- /package/dist/chunks/{workspace-qb87gjwd.js → catalog-qb87gjwd.js} +0 -0
- /package/dist/chunks/{workspace-qfa1cgps.js → catalog-qfa1cgps.js} +0 -0
- /package/dist/chunks/{workspace-qrg20bc0.js → catalog-qrg20bc0.js} +0 -0
- /package/dist/chunks/{workspace-rcb2kzg1.js → catalog-rcb2kzg1.js} +0 -0
- /package/dist/chunks/{workspace-sdp7kfr6.js → catalog-sdp7kfr6.js} +0 -0
- /package/dist/chunks/{workspace-sk3qaz4a.js → catalog-sk3qaz4a.js} +0 -0
- /package/dist/chunks/{workspace-ssg3fenm.js → catalog-ssg3fenm.js} +0 -0
- /package/dist/chunks/{workspace-twg0f83k.js → catalog-twg0f83k.js} +0 -0
- /package/dist/chunks/{workspace-w803qqfp.js → catalog-w803qqfp.js} +0 -0
- /package/dist/chunks/{workspace-wer8tq1h.js → catalog-wer8tq1h.js} +0 -0
- /package/dist/chunks/{workspace-wtztk69x.js → catalog-wtztk69x.js} +0 -0
- /package/dist/chunks/{workspace-x0ckcb58.js → catalog-x0ckcb58.js} +0 -0
- /package/dist/chunks/{workspace-x61499pn.js → catalog-x61499pn.js} +0 -0
- /package/dist/chunks/{workspace-y44na4kk.js → catalog-y44na4kk.js} +0 -0
- /package/dist/chunks/{workspace-y8cydn3q.js → catalog-y8cydn3q.js} +0 -0
- /package/dist/chunks/{workspace-ygaqb7jw.js → catalog-ygaqb7jw.js} +0 -0
- /package/dist/chunks/{workspace-ym463w8f.js → catalog-ym463w8f.js} +0 -0
- /package/dist/chunks/{workspace-z9919s4g.js → catalog-z9919s4g.js} +0 -0
|
@@ -1,29 +1,29 @@
|
|
|
1
1
|
import {
|
|
2
|
-
|
|
3
|
-
} from "./
|
|
2
|
+
Service75
|
|
3
|
+
} from "./catalog-yeqyw0z5.js";
|
|
4
4
|
import {
|
|
5
|
-
|
|
6
|
-
} from "./
|
|
5
|
+
Service47
|
|
6
|
+
} from "./catalog-vvccsdf3.js";
|
|
7
7
|
import {
|
|
8
8
|
detect2
|
|
9
|
-
} from "./
|
|
9
|
+
} from "./catalog-3smtnn6g.js";
|
|
10
10
|
import {
|
|
11
11
|
awaitActivation2
|
|
12
|
-
} from "./
|
|
12
|
+
} from "./catalog-45th5jwr.js";
|
|
13
13
|
import {
|
|
14
|
-
|
|
15
|
-
} from "./
|
|
14
|
+
Service66
|
|
15
|
+
} from "./catalog-9cg0vjy1.js";
|
|
16
16
|
import {
|
|
17
17
|
AttachmentError2,
|
|
18
18
|
SkillNotFoundError2
|
|
19
|
-
} from "./
|
|
19
|
+
} from "./catalog-mrb4trvw.js";
|
|
20
20
|
import {
|
|
21
21
|
prepare3,
|
|
22
|
-
|
|
23
|
-
} from "./
|
|
22
|
+
Service39
|
|
23
|
+
} from "./catalog-3qvym81x.js";
|
|
24
24
|
import {
|
|
25
25
|
__export
|
|
26
|
-
} from "./
|
|
26
|
+
} from "./catalog-9rqn6x4v.js";
|
|
27
27
|
|
|
28
28
|
// src/session/prompt.ts
|
|
29
29
|
var exports_prompt = {};
|
|
@@ -39,10 +39,10 @@ import path from "path";
|
|
|
39
39
|
import { fileURLToPath } from "url";
|
|
40
40
|
var prepare2 = Effect.fn("SessionPrompt.prepare")(function* (request) {
|
|
41
41
|
const fs = yield* FSUtil.Service;
|
|
42
|
-
const instances = yield*
|
|
42
|
+
const instances = yield* Service47;
|
|
43
43
|
return yield* Effect.gen(function* () {
|
|
44
44
|
yield* awaitActivation2;
|
|
45
|
-
const hooks = yield*
|
|
45
|
+
const hooks = yield* Service66;
|
|
46
46
|
const event = yield* hooks.trigger("session", "prompt", {
|
|
47
47
|
sessionID: request.session.id,
|
|
48
48
|
messageID: request.messageID,
|
|
@@ -61,7 +61,7 @@ var prepare2 = Effect.fn("SessionPrompt.prepare")(function* (request) {
|
|
|
61
61
|
const selected = yield* Effect.gen(function* () {
|
|
62
62
|
if (!requested?.length)
|
|
63
63
|
return;
|
|
64
|
-
const skillService = yield*
|
|
64
|
+
const skillService = yield* Service39;
|
|
65
65
|
const prepared = new Map;
|
|
66
66
|
return yield* Effect.forEach(requested, (attachment) => Effect.gen(function* () {
|
|
67
67
|
const name = prepared.get(attachment.id);
|
|
@@ -125,7 +125,7 @@ var materializeAttachment = Effect.fn("SessionPrompt.materializeAttachment")(fun
|
|
|
125
125
|
var normalizeImageAttachment = Effect.fn("SessionPrompt.normalizeImageAttachment")(function* (input, data, mime) {
|
|
126
126
|
if (!mime.startsWith("image/"))
|
|
127
127
|
return { data: Base64.make(data), mime };
|
|
128
|
-
const image = yield*
|
|
128
|
+
const image = yield* Service75;
|
|
129
129
|
const label = input.name ?? (input.uri.startsWith("data:") ? "inline attachment" : input.uri);
|
|
130
130
|
const content = { uri: label, content: data, encoding: "base64", mime };
|
|
131
131
|
const normalized = yield* image.normalize(label, content).pipe(Effect.catchTag("Image.ResizerUnavailableError", () => Effect.succeed(content)), Effect.mapError((error) => new AttachmentError2({ uri: label, message: error.message })));
|
|
@@ -1,18 +1,18 @@
|
|
|
1
1
|
import {
|
|
2
2
|
webSocketConstructor2
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./catalog-5t3nmthw.js";
|
|
4
4
|
import {
|
|
5
5
|
__export
|
|
6
|
-
} from "./
|
|
6
|
+
} from "./catalog-9rqn6x4v.js";
|
|
7
7
|
|
|
8
8
|
// src/session/model-transport.ts
|
|
9
9
|
var exports_model_transport = {};
|
|
10
10
|
__export(exports_model_transport, {
|
|
11
|
-
Service: () =>
|
|
11
|
+
Service: () => Service29,
|
|
12
12
|
SessionModelTransport: () => exports_model_transport,
|
|
13
|
-
layer: () =>
|
|
13
|
+
layer: () => layer14,
|
|
14
14
|
makeLayer: () => makeLayer2,
|
|
15
|
-
node: () =>
|
|
15
|
+
node: () => node33
|
|
16
16
|
});
|
|
17
17
|
import {
|
|
18
18
|
WebSocketTransport
|
|
@@ -31,7 +31,7 @@ var events = Metric.counter("opencode_session_websocket_events_total", {
|
|
|
31
31
|
});
|
|
32
32
|
var metric = (event, attributes = {}) => Metric.update(events.pipe(Metric.withAttributes({ event, ...attributes })), 1);
|
|
33
33
|
|
|
34
|
-
class
|
|
34
|
+
class Service29 extends Context.Service()("@opencode/SessionModelTransport") {
|
|
35
35
|
}
|
|
36
36
|
var transportError = (message, input) => new AIError({
|
|
37
37
|
reason: new TransportError({ message, transport: "websocket", ...input })
|
|
@@ -55,7 +55,7 @@ var observationFrame = (observation) => {
|
|
|
55
55
|
return Effect.fail(observation.error);
|
|
56
56
|
};
|
|
57
57
|
var observationTerminal = (observation) => observation.type !== "frame";
|
|
58
|
-
var makeLayer2 = (connector) => Layer.effect(
|
|
58
|
+
var makeLayer2 = (connector) => Layer.effect(Service29, Effect.gen(function* () {
|
|
59
59
|
const scope = yield* Scope.Scope;
|
|
60
60
|
const states = new Map;
|
|
61
61
|
const state = (sessionID) => {
|
|
@@ -331,11 +331,11 @@ var makeLayer2 = (connector) => Layer.effect(Service27, Effect.gen(function* ()
|
|
|
331
331
|
}, { discard: true });
|
|
332
332
|
});
|
|
333
333
|
yield* Effect.addFinalizer(() => closeAll);
|
|
334
|
-
return
|
|
334
|
+
return Service29.of({ bind, close, closeAll });
|
|
335
335
|
}));
|
|
336
|
-
var
|
|
336
|
+
var layer14 = Layer.unwrap(Effect.map(Socket.WebSocketConstructor, (constructor) => makeLayer2({
|
|
337
337
|
open: (input) => WebSocketTransport.open(input).pipe(Effect.provideService(Socket.WebSocketConstructor, constructor))
|
|
338
338
|
})));
|
|
339
|
-
var
|
|
339
|
+
var node33 = makeGlobalNode({ service: Service29, layer: layer14, deps: [webSocketConstructor2] });
|
|
340
340
|
|
|
341
|
-
export {
|
|
341
|
+
export { Service29, makeLayer2, layer14, node33, exports_model_transport };
|
|
@@ -1,19 +1,19 @@
|
|
|
1
1
|
import {
|
|
2
2
|
SessionEvent2
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./catalog-ec1grn59.js";
|
|
4
4
|
import {
|
|
5
5
|
toSessionError2
|
|
6
|
-
} from "./
|
|
6
|
+
} from "./catalog-txr5ac4p.js";
|
|
7
7
|
import {
|
|
8
8
|
__export
|
|
9
|
-
} from "./
|
|
9
|
+
} from "./catalog-9rqn6x4v.js";
|
|
10
10
|
|
|
11
11
|
// src/session/runner/retry.ts
|
|
12
12
|
var exports_retry = {};
|
|
13
13
|
__export(exports_retry, {
|
|
14
14
|
SessionRunnerRetry: () => exports_retry,
|
|
15
15
|
isRetryable: () => isRetryable2,
|
|
16
|
-
make: () =>
|
|
16
|
+
make: () => make9,
|
|
17
17
|
policy: () => policy2,
|
|
18
18
|
transient: () => transient2
|
|
19
19
|
});
|
|
@@ -96,7 +96,7 @@ var transient2 = (decide, input) => (effect) => Effect.retry(effect, {
|
|
|
96
96
|
return true;
|
|
97
97
|
})
|
|
98
98
|
});
|
|
99
|
-
var
|
|
99
|
+
var make9 = (bus, sessionID) => Effect.gen(function* () {
|
|
100
100
|
const decide = yield* policy2(sessionID);
|
|
101
101
|
const wait = (input) => Effect.gen(function* () {
|
|
102
102
|
const scheduled = yield* Clock.currentTimeMillis;
|
|
@@ -113,4 +113,4 @@ var make10 = (bus, sessionID) => Effect.gen(function* () {
|
|
|
113
113
|
return { decide, wait };
|
|
114
114
|
});
|
|
115
115
|
|
|
116
|
-
export { isRetryable2, policy2, transient2,
|
|
116
|
+
export { isRetryable2, policy2, transient2, make9, exports_retry };
|
|
@@ -2,17 +2,17 @@ import {
|
|
|
2
2
|
NonNegativeInt2,
|
|
3
3
|
PositiveInt2,
|
|
4
4
|
RelativePath2
|
|
5
|
-
} from "./
|
|
5
|
+
} from "./catalog-922hggd3.js";
|
|
6
6
|
import {
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
} from "./
|
|
7
|
+
Service58,
|
|
8
|
+
node61
|
|
9
|
+
} from "./catalog-csy5xrym.js";
|
|
10
10
|
import {
|
|
11
11
|
RipgrepBinary2
|
|
12
|
-
} from "./
|
|
12
|
+
} from "./catalog-8d7r5vzw.js";
|
|
13
13
|
import {
|
|
14
14
|
__export
|
|
15
|
-
} from "./
|
|
15
|
+
} from "./catalog-9rqn6x4v.js";
|
|
16
16
|
|
|
17
17
|
// src/ripgrep.ts
|
|
18
18
|
var exports_ripgrep = {};
|
|
@@ -20,8 +20,8 @@ __export(exports_ripgrep, {
|
|
|
20
20
|
Error: () => Error2,
|
|
21
21
|
InvalidPatternError: () => InvalidPatternError2,
|
|
22
22
|
Ripgrep: () => exports_ripgrep,
|
|
23
|
-
Service: () =>
|
|
24
|
-
node: () =>
|
|
23
|
+
Service: () => Service15,
|
|
24
|
+
node: () => node18
|
|
25
25
|
});
|
|
26
26
|
import { Context, Effect, Fiber, Layer, Schema, Stream } from "effect";
|
|
27
27
|
import { ChildProcess } from "effect/unstable/process";
|
|
@@ -58,13 +58,13 @@ class InvalidPatternError2 extends Schema.TaggedError()("Ripgrep.InvalidPatternE
|
|
|
58
58
|
}) {
|
|
59
59
|
}
|
|
60
60
|
|
|
61
|
-
class
|
|
61
|
+
class Service15 extends Context.Service()("@opencode/Ripgrep") {
|
|
62
62
|
}
|
|
63
63
|
var failure = (message, cause) => new Error2({ message, cause });
|
|
64
64
|
var normalizePath = (value) => value.replace(/^(?:\.[\\/])+/u, "").replace(/^[\\/]+/u, "").replaceAll("\\", "/");
|
|
65
65
|
var isInvalidPattern = (stderr) => stderr.includes("regex parse error") || stderr.includes("error parsing regex");
|
|
66
|
-
var layer = Layer.effect(
|
|
67
|
-
const environment = yield*
|
|
66
|
+
var layer = Layer.effect(Service15, Effect.gen(function* () {
|
|
67
|
+
const environment = yield* Service58;
|
|
68
68
|
const binary = yield* RipgrepBinary2.Service;
|
|
69
69
|
const run = (input) => {
|
|
70
70
|
const program = Effect.scoped(Effect.gen(function* () {
|
|
@@ -92,7 +92,7 @@ var layer = Layer.effect(Service18, Effect.gen(function* () {
|
|
|
92
92
|
const abortable = input.signal ? program.pipe(Effect.raceFirst(waitForAbort(input.signal))) : program;
|
|
93
93
|
return abortable.pipe(Effect.mapError((cause) => cause instanceof Error2 || cause instanceof InvalidPatternError2 ? cause : failure("ripgrep execution failed", cause)));
|
|
94
94
|
};
|
|
95
|
-
return
|
|
95
|
+
return Service15.of({
|
|
96
96
|
glob: (input) => run({
|
|
97
97
|
cwd: input.cwd,
|
|
98
98
|
limit: input.limit,
|
|
@@ -174,6 +174,6 @@ var layer = Layer.effect(Service18, Effect.gen(function* () {
|
|
|
174
174
|
}))))
|
|
175
175
|
});
|
|
176
176
|
}));
|
|
177
|
-
var
|
|
177
|
+
var node18 = makeLocationNode({ service: Service15, layer, deps: [node61, RipgrepBinary2.node] });
|
|
178
178
|
|
|
179
|
-
export { Error2, InvalidPatternError2,
|
|
179
|
+
export { Error2, InvalidPatternError2, Service15, node18, exports_ripgrep };
|
|
@@ -1,57 +1,57 @@
|
|
|
1
1
|
import {
|
|
2
2
|
Service79,
|
|
3
3
|
node84
|
|
4
|
-
} from "./
|
|
4
|
+
} from "./catalog-g5e9rtry.js";
|
|
5
5
|
import {
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
} from "./
|
|
6
|
+
Service67,
|
|
7
|
+
node71
|
|
8
|
+
} from "./catalog-a257t0jf.js";
|
|
9
9
|
import {
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
} from "./
|
|
10
|
+
Service58,
|
|
11
|
+
node61
|
|
12
|
+
} from "./catalog-csy5xrym.js";
|
|
13
13
|
import {
|
|
14
14
|
cleanup3
|
|
15
|
-
} from "./
|
|
15
|
+
} from "./catalog-gd4qta3r.js";
|
|
16
16
|
import {
|
|
17
|
-
|
|
17
|
+
Service61,
|
|
18
18
|
args2,
|
|
19
|
-
|
|
20
|
-
} from "./
|
|
19
|
+
node65
|
|
20
|
+
} from "./catalog-ksxmc9x1.js";
|
|
21
21
|
import {
|
|
22
|
-
|
|
23
|
-
|
|
24
|
-
} from "./
|
|
22
|
+
Service66,
|
|
23
|
+
node70
|
|
24
|
+
} from "./catalog-9cg0vjy1.js";
|
|
25
25
|
import {
|
|
26
|
-
|
|
27
|
-
|
|
28
|
-
} from "./
|
|
26
|
+
Service53,
|
|
27
|
+
node56
|
|
28
|
+
} from "./catalog-w49382pb.js";
|
|
29
29
|
import {
|
|
30
30
|
SessionSchema2
|
|
31
|
-
} from "./
|
|
31
|
+
} from "./catalog-5cmxdwv8.js";
|
|
32
32
|
import {
|
|
33
33
|
latest2,
|
|
34
|
-
|
|
35
|
-
|
|
36
|
-
} from "./
|
|
34
|
+
Service55,
|
|
35
|
+
node58
|
|
36
|
+
} from "./catalog-7hd1tkd5.js";
|
|
37
37
|
import {
|
|
38
38
|
MAX_LINES2,
|
|
39
39
|
MAX_BYTES2
|
|
40
|
-
} from "./
|
|
40
|
+
} from "./catalog-3mp8pt0x.js";
|
|
41
41
|
import {
|
|
42
42
|
__export
|
|
43
|
-
} from "./
|
|
43
|
+
} from "./catalog-9rqn6x4v.js";
|
|
44
44
|
|
|
45
45
|
// src/shell.ts
|
|
46
46
|
var exports_shell4 = {};
|
|
47
47
|
__export(exports_shell4, {
|
|
48
48
|
DIRECTORY: () => DIRECTORY2,
|
|
49
|
-
NotFoundError: () =>
|
|
49
|
+
NotFoundError: () => NotFoundError5,
|
|
50
50
|
RETENTION: () => RETENTION2,
|
|
51
|
-
Service: () =>
|
|
51
|
+
Service: () => Service52,
|
|
52
52
|
Shell: () => exports_shell4,
|
|
53
53
|
cleanup: () => cleanup2,
|
|
54
|
-
node: () =>
|
|
54
|
+
node: () => node55
|
|
55
55
|
});
|
|
56
56
|
import path from "path";
|
|
57
57
|
import { Context, Deferred, Duration, Effect, Fiber, Latch, Layer, Schema, Schedule, Stream } from "effect";
|
|
@@ -62,7 +62,7 @@ import { AppProcess } from "@opencode/util/process";
|
|
|
62
62
|
import { makeGlobalNode, makeLocationNode } from "@opencode/util/effect/app-node";
|
|
63
63
|
import { FSUtil } from "@opencode/util/fs-util";
|
|
64
64
|
import { Global } from "@opencode/util/global";
|
|
65
|
-
class
|
|
65
|
+
class NotFoundError5 extends Schema.TaggedError()("Shell.NotFoundError", {
|
|
66
66
|
id: Shell.ID
|
|
67
67
|
}) {
|
|
68
68
|
}
|
|
@@ -70,7 +70,7 @@ var EXITED_LIMIT = 25;
|
|
|
70
70
|
var RETENTION2 = Duration.days(7);
|
|
71
71
|
var DIRECTORY2 = "shell";
|
|
72
72
|
|
|
73
|
-
class
|
|
73
|
+
class Service52 extends Context.Service()("@opencode/Shell") {
|
|
74
74
|
}
|
|
75
75
|
var cleanup2 = Effect.fn("Shell.cleanup")(function* () {
|
|
76
76
|
const fs = yield* FSUtil.Service;
|
|
@@ -86,15 +86,15 @@ var cleanupNode = makeGlobalNode({
|
|
|
86
86
|
layer: cleanupLayer,
|
|
87
87
|
deps: [FSUtil.node, Global.node]
|
|
88
88
|
});
|
|
89
|
-
var layer = () => Layer.effect(
|
|
89
|
+
var layer = () => Layer.effect(Service52, Effect.gen(function* () {
|
|
90
90
|
const bus = yield* Service79;
|
|
91
|
-
const location = yield*
|
|
91
|
+
const location = yield* Service67;
|
|
92
92
|
const global = yield* Global.Service;
|
|
93
|
-
const shell = yield*
|
|
94
|
-
const environment = yield*
|
|
95
|
-
const hooks = yield*
|
|
96
|
-
const environments = yield*
|
|
97
|
-
const config = yield*
|
|
93
|
+
const shell = yield* Service61;
|
|
94
|
+
const environment = yield* Service58;
|
|
95
|
+
const hooks = yield* Service66;
|
|
96
|
+
const environments = yield* Service53;
|
|
97
|
+
const config = yield* Service55;
|
|
98
98
|
const context = yield* Effect.context();
|
|
99
99
|
const runFork = Effect.runForkWith(context);
|
|
100
100
|
const commands = new Map;
|
|
@@ -115,7 +115,7 @@ var layer = () => Layer.effect(Service38, Effect.gen(function* () {
|
|
|
115
115
|
const require2 = Effect.fnUntraced(function* (id) {
|
|
116
116
|
const command = commands.get(id);
|
|
117
117
|
if (!command)
|
|
118
|
-
return yield* new
|
|
118
|
+
return yield* new NotFoundError5({ id });
|
|
119
119
|
return command;
|
|
120
120
|
});
|
|
121
121
|
const removeCommand = Effect.fnUntraced(function* (id) {
|
|
@@ -128,7 +128,7 @@ var layer = () => Layer.effect(Service38, Effect.gen(function* () {
|
|
|
128
128
|
commands.delete(id);
|
|
129
129
|
if (command.timeoutFiber)
|
|
130
130
|
yield* Fiber.interrupt(command.timeoutFiber);
|
|
131
|
-
yield* Deferred.fail(command.done, new
|
|
131
|
+
yield* Deferred.fail(command.done, new NotFoundError5({ id }));
|
|
132
132
|
yield* Effect.promise(() => unlink(command.file).catch(() => {}));
|
|
133
133
|
yield* bus.publish(Shell.Event.Deleted, { id });
|
|
134
134
|
});
|
|
@@ -314,22 +314,22 @@ var layer = () => Layer.effect(Service38, Effect.gen(function* () {
|
|
|
314
314
|
const command = yield* Deferred.await(ready);
|
|
315
315
|
return command.info;
|
|
316
316
|
});
|
|
317
|
-
return
|
|
317
|
+
return Service52.of({ create, list, get, wait, result, timeout, output, remove });
|
|
318
318
|
}));
|
|
319
|
-
var
|
|
320
|
-
service:
|
|
319
|
+
var node55 = makeLocationNode({
|
|
320
|
+
service: Service52,
|
|
321
321
|
layer: layer(),
|
|
322
322
|
deps: [
|
|
323
323
|
node84,
|
|
324
|
-
|
|
324
|
+
node71,
|
|
325
325
|
Global.node,
|
|
326
|
-
|
|
327
|
-
|
|
328
|
-
|
|
329
|
-
|
|
330
|
-
|
|
326
|
+
node65,
|
|
327
|
+
node61,
|
|
328
|
+
node70,
|
|
329
|
+
node56,
|
|
330
|
+
node58,
|
|
331
331
|
cleanupNode
|
|
332
332
|
]
|
|
333
333
|
});
|
|
334
334
|
|
|
335
|
-
export {
|
|
335
|
+
export { NotFoundError5, RETENTION2, DIRECTORY2, Service52, cleanup2, node55, exports_shell4 };
|
|
@@ -2,20 +2,20 @@ import {
|
|
|
2
2
|
NonNegativeInt2,
|
|
3
3
|
PositiveInt2,
|
|
4
4
|
RelativePath2
|
|
5
|
-
} from "./
|
|
5
|
+
} from "./catalog-922hggd3.js";
|
|
6
6
|
import {
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
} from "./
|
|
7
|
+
Service58,
|
|
8
|
+
node61
|
|
9
|
+
} from "./catalog-csy5xrym.js";
|
|
10
10
|
import {
|
|
11
11
|
Content2
|
|
12
|
-
} from "./
|
|
12
|
+
} from "./catalog-2k43fb76.js";
|
|
13
13
|
import {
|
|
14
14
|
detect2
|
|
15
|
-
} from "./
|
|
15
|
+
} from "./catalog-3smtnn6g.js";
|
|
16
16
|
import {
|
|
17
17
|
__export
|
|
18
|
-
} from "./
|
|
18
|
+
} from "./catalog-9rqn6x4v.js";
|
|
19
19
|
|
|
20
20
|
// src/tool/read-filesystem.ts
|
|
21
21
|
var exports_read_filesystem = {};
|
|
@@ -33,9 +33,9 @@ __export(exports_read_filesystem, {
|
|
|
33
33
|
PageInput: () => PageInput2,
|
|
34
34
|
PathKindError: () => PathKindError2,
|
|
35
35
|
ReadToolFileSystem: () => exports_read_filesystem,
|
|
36
|
-
Service: () =>
|
|
36
|
+
Service: () => Service7,
|
|
37
37
|
TextPage: () => TextPage2,
|
|
38
|
-
node: () =>
|
|
38
|
+
node: () => node9,
|
|
39
39
|
read: () => read2
|
|
40
40
|
});
|
|
41
41
|
import path from "path";
|
|
@@ -114,7 +114,7 @@ class ListPage2 extends Schema.Class("ReadTool.ListPage")({
|
|
|
114
114
|
}) {
|
|
115
115
|
}
|
|
116
116
|
|
|
117
|
-
class
|
|
117
|
+
class Service7 extends Context.Service()("@opencode/ReadToolFileSystem") {
|
|
118
118
|
}
|
|
119
119
|
var mimeType = (value) => lookup(value) || "application/octet-stream";
|
|
120
120
|
var read2 = Effect.fn("ReadTool.read")(function* (files, input, resource, page = {}) {
|
|
@@ -326,13 +326,13 @@ var nthNewline = (bytes, count) => {
|
|
|
326
326
|
return index + 1;
|
|
327
327
|
}
|
|
328
328
|
};
|
|
329
|
-
var layer = Layer.effect(
|
|
330
|
-
const environment = yield*
|
|
331
|
-
return
|
|
329
|
+
var layer = Layer.effect(Service7, Effect.gen(function* () {
|
|
330
|
+
const environment = yield* Service58;
|
|
331
|
+
return Service7.of({
|
|
332
332
|
list: environment.files.list,
|
|
333
333
|
read: (path2, resource, page) => read2(environment.files, path2, resource, page)
|
|
334
334
|
});
|
|
335
335
|
}));
|
|
336
|
-
var
|
|
336
|
+
var node9 = makeLocationNode({ service: Service7, layer, deps: [node61] });
|
|
337
337
|
|
|
338
|
-
export { MAX_READ_LINES2, MAX_READ_BYTES2, MAX_MEDIA_INGEST_BYTES2, MEDIA_MIMES2, BinaryFileError2, MediaIngestLimitError2, OffsetOutOfRangeError2, PathKindError2, PageInput2, FileContent2, TextPage2, ListEntry2, ListPage2,
|
|
338
|
+
export { MAX_READ_LINES2, MAX_READ_BYTES2, MAX_MEDIA_INGEST_BYTES2, MEDIA_MIMES2, BinaryFileError2, MediaIngestLimitError2, OffsetOutOfRangeError2, PathKindError2, PageInput2, FileContent2, TextPage2, ListEntry2, ListPage2, Service7, read2, node9, exports_read_filesystem };
|
|
@@ -1,20 +1,20 @@
|
|
|
1
1
|
import {
|
|
2
2
|
Service80
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./catalog-2ay0g0qq.js";
|
|
4
4
|
import {
|
|
5
5
|
Service79
|
|
6
|
-
} from "./
|
|
6
|
+
} from "./catalog-g5e9rtry.js";
|
|
7
7
|
import {
|
|
8
|
-
|
|
9
|
-
} from "./
|
|
8
|
+
Service47
|
|
9
|
+
} from "./catalog-vvccsdf3.js";
|
|
10
10
|
import {
|
|
11
11
|
userNotification2
|
|
12
|
-
} from "./
|
|
12
|
+
} from "./catalog-fxbjtjnd.js";
|
|
13
13
|
import {
|
|
14
14
|
SessionMessage2
|
|
15
|
-
} from "./
|
|
15
|
+
} from "./catalog-gftt206x.js";
|
|
16
16
|
import {
|
|
17
|
-
|
|
17
|
+
NotFoundError8,
|
|
18
18
|
MessageNotFoundError2,
|
|
19
19
|
MessageNotAssistantError2,
|
|
20
20
|
MessageIncompleteError2,
|
|
@@ -24,38 +24,38 @@ import {
|
|
|
24
24
|
CompactionConflictError2,
|
|
25
25
|
BusyError2,
|
|
26
26
|
InboxConflictError2
|
|
27
|
-
} from "./
|
|
27
|
+
} from "./catalog-mrb4trvw.js";
|
|
28
28
|
import {
|
|
29
29
|
SessionEvent2
|
|
30
|
-
} from "./
|
|
30
|
+
} from "./catalog-ec1grn59.js";
|
|
31
31
|
import {
|
|
32
|
-
|
|
33
|
-
} from "./
|
|
32
|
+
Service65
|
|
33
|
+
} from "./catalog-ngm87703.js";
|
|
34
34
|
import {
|
|
35
35
|
Delivery2,
|
|
36
36
|
SyntheticPayload2,
|
|
37
|
-
|
|
38
|
-
} from "./
|
|
37
|
+
Service46
|
|
38
|
+
} from "./catalog-24c1y031.js";
|
|
39
39
|
import {
|
|
40
|
-
|
|
41
|
-
} from "./
|
|
40
|
+
Service44
|
|
41
|
+
} from "./catalog-srb7sc6z.js";
|
|
42
42
|
import {
|
|
43
43
|
prepare2
|
|
44
|
-
} from "./
|
|
44
|
+
} from "./catalog-qj1xgd3c.js";
|
|
45
45
|
import {
|
|
46
46
|
stage2,
|
|
47
47
|
clear2,
|
|
48
48
|
commit2
|
|
49
|
-
} from "./
|
|
49
|
+
} from "./catalog-xcm121yb.js";
|
|
50
50
|
import {
|
|
51
51
|
start2
|
|
52
|
-
} from "./
|
|
52
|
+
} from "./catalog-zvjefhv4.js";
|
|
53
53
|
import {
|
|
54
54
|
get4
|
|
55
|
-
} from "./
|
|
55
|
+
} from "./catalog-dj16x7mk.js";
|
|
56
56
|
import {
|
|
57
57
|
__export
|
|
58
|
-
} from "./
|
|
58
|
+
} from "./catalog-9rqn6x4v.js";
|
|
59
59
|
|
|
60
60
|
// src/session/session.ts
|
|
61
61
|
var exports_session2 = {};
|
|
@@ -69,16 +69,16 @@ import { FSUtil } from "@opencode/util/fs-util";
|
|
|
69
69
|
var make12 = Effect.fn("Session.make")(function* () {
|
|
70
70
|
const bus = yield* Service79;
|
|
71
71
|
const database = yield* Service80;
|
|
72
|
-
const store = yield*
|
|
73
|
-
const instances = yield*
|
|
74
|
-
const execution = yield*
|
|
75
|
-
const admission = yield*
|
|
72
|
+
const store = yield* Service65;
|
|
73
|
+
const instances = yield* Service47;
|
|
74
|
+
const execution = yield* Service44;
|
|
75
|
+
const admission = yield* Service46;
|
|
76
76
|
const fs = yield* FSUtil.Service;
|
|
77
77
|
const scope = yield* Scope.Scope;
|
|
78
78
|
const get = Effect.fn("Session.get")(function* (sessionID) {
|
|
79
79
|
const session = yield* store.get(sessionID);
|
|
80
80
|
if (!session)
|
|
81
|
-
return yield* new
|
|
81
|
+
return yield* new NotFoundError8({ sessionID });
|
|
82
82
|
return session;
|
|
83
83
|
});
|
|
84
84
|
const message = Effect.fn("Session.message")(function* (sessionID, messageID) {
|
|
@@ -154,7 +154,7 @@ var make12 = Effect.fn("Session.make")(function* () {
|
|
|
154
154
|
});
|
|
155
155
|
if (existing)
|
|
156
156
|
return existing;
|
|
157
|
-
const item = yield* restore(prepare2({ session, messageID, input }).pipe(Effect.provideService(
|
|
157
|
+
const item = yield* restore(prepare2({ session, messageID, input }).pipe(Effect.provideService(Service47, instances), Effect.provideService(FSUtil.Service, fs)));
|
|
158
158
|
if (session.revert)
|
|
159
159
|
yield* commit2(bus, session);
|
|
160
160
|
return yield* admission.admit({
|
|
@@ -170,7 +170,7 @@ var make12 = Effect.fn("Session.make")(function* () {
|
|
|
170
170
|
const shell = Effect.fn("Session.shell")(function* (sessionID, input) {
|
|
171
171
|
const session = yield* get(sessionID);
|
|
172
172
|
const running = yield* Effect.gen(function* () {
|
|
173
|
-
const started = yield* start2({ session, command: input.command }).pipe(Effect.provideService(
|
|
173
|
+
const started = yield* start2({ session, command: input.command }).pipe(Effect.provideService(Service47, instances), Effect.tapError((error) => synthetic(sessionID, {
|
|
174
174
|
text: `User shell command failed to start:
|
|
175
175
|
${input.command}
|
|
176
176
|
|
|
@@ -199,7 +199,7 @@ ${error.message}`,
|
|
|
199
199
|
});
|
|
200
200
|
const skill = Effect.fn("Session.skill")(function* (sessionID, input) {
|
|
201
201
|
const session = yield* get(sessionID);
|
|
202
|
-
const skill = yield* get4({ session, skill: input.skill }).pipe(Effect.provideService(
|
|
202
|
+
const skill = yield* get4({ session, skill: input.skill }).pipe(Effect.provideService(Service47, instances));
|
|
203
203
|
yield* bus.publish(SessionEvent2.Skill.Activated, {
|
|
204
204
|
sessionID,
|
|
205
205
|
id: skill.id,
|
|
@@ -256,13 +256,13 @@ ${error.message}`,
|
|
|
256
256
|
const session = yield* get(sessionID);
|
|
257
257
|
if (yield* execution.isActive(sessionID))
|
|
258
258
|
return yield* new BusyError2({ sessionID });
|
|
259
|
-
return yield* stage2({ session, messageID: input.messageID, files: input.files }).pipe(Effect.provideService(
|
|
259
|
+
return yield* stage2({ session, messageID: input.messageID, files: input.files }).pipe(Effect.provideService(Service47, instances), Effect.provideService(Service80, database), Effect.provideService(Service79, bus));
|
|
260
260
|
});
|
|
261
261
|
const clear = Effect.fn("Session.revert.clear")(function* (sessionID) {
|
|
262
262
|
const session = yield* get(sessionID);
|
|
263
263
|
if (yield* execution.isActive(sessionID))
|
|
264
264
|
return yield* new BusyError2({ sessionID });
|
|
265
|
-
yield* clear2(session).pipe(Effect.provideService(
|
|
265
|
+
yield* clear2(session).pipe(Effect.provideService(Service47, instances), Effect.provideService(Service79, bus));
|
|
266
266
|
return yield* execution.wake(sessionID);
|
|
267
267
|
});
|
|
268
268
|
const commit = Effect.fn("Session.revert.commit")(function* (sessionID) {
|