@opencode/core 0.0.0-dev-19565 → 0.0.0-dev-19567
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 +82 -82
- package/dist/aisdk-native.js +2 -2
- package/dist/aisdk.js +6 -6
- package/dist/app.js +7 -7
- package/dist/bus.js +68 -68
- package/dist/catalog.js +84 -84
- package/dist/chunks/{shell-c6gt1vgb.js → filesystem-0300fd29.js} +24 -24
- package/dist/chunks/{shell-2wy29r93.js → filesystem-041s7t4d.js} +26 -26
- package/dist/chunks/{shell-tjvj2ye7.js → filesystem-078gytam.js} +16 -16
- package/dist/chunks/{shell-1k2dysg5.js → filesystem-0c4e0yvv.js} +30 -30
- package/dist/chunks/{shell-ma15yhyh.js → filesystem-0dfv01xh.js} +5 -5
- package/dist/chunks/{shell-eaj1djv9.js → filesystem-0gdmqesm.js} +8 -8
- package/dist/chunks/{shell-0paq2nw3.js → filesystem-0paq2nw3.js} +1 -1
- package/dist/chunks/{shell-0q0f95c6.js → filesystem-0q0f95c6.js} +1 -1
- package/dist/chunks/{shell-ssybasmv.js → filesystem-0vag3j8x.js} +63 -63
- package/dist/chunks/{shell-nxwydvzq.js → filesystem-0z4fxwj8.js} +32 -32
- package/dist/chunks/{shell-gqcgtd7m.js → filesystem-12v07r08.js} +12 -12
- package/dist/chunks/{shell-7smec0s7.js → filesystem-12v7y99v.js} +13 -13
- package/dist/chunks/{shell-vyzzed90.js → filesystem-175mk5tz.js} +10 -10
- package/dist/chunks/{shell-jva4mgym.js → filesystem-18e56dsp.js} +4 -4
- package/dist/chunks/{shell-73tb2d7t.js → filesystem-1bbkgx8g.js} +3 -3
- package/dist/chunks/{shell-1dazxqgg.js → filesystem-1dazxqgg.js} +2 -2
- package/dist/chunks/{shell-fm2qvscf.js → filesystem-1g7epwpd.js} +7 -7
- package/dist/chunks/{shell-xg9t41r3.js → filesystem-1ndypj5r.js} +2 -2
- package/dist/chunks/{shell-vyt7er0z.js → filesystem-1s6ef6er.js} +8 -8
- package/dist/chunks/filesystem-1x11rq2a.js +18 -0
- package/dist/chunks/{shell-21r38tys.js → filesystem-21r38tys.js} +1 -1
- package/dist/chunks/{shell-757464b7.js → filesystem-23279rje.js} +8 -8
- package/dist/chunks/{shell-2402vzrj.js → filesystem-2402vzrj.js} +1 -1
- package/dist/chunks/{shell-3msn02vx.js → filesystem-25jf9b0a.js} +17 -17
- package/dist/chunks/{shell-hqzvbh4h.js → filesystem-27ekamt2.js} +4 -4
- package/dist/chunks/{shell-z63w68vq.js → filesystem-29x78va6.js} +6 -6
- package/dist/chunks/{shell-2a5m3afh.js → filesystem-2a5m3afh.js} +1 -1
- package/dist/chunks/{shell-1jygqsyg.js → filesystem-2ctqm5ex.js} +4 -4
- package/dist/chunks/{shell-h5a39vxc.js → filesystem-2da2wngq.js} +7 -7
- package/dist/chunks/{shell-evbgk2k8.js → filesystem-2f0bjgcj.js} +5 -5
- package/dist/chunks/{shell-jzmeek8x.js → filesystem-2qxnj2tc.js} +19 -19
- package/dist/chunks/{shell-r2j209s7.js → filesystem-2w43xsrz.js} +16 -16
- package/dist/chunks/{shell-yyqmvdec.js → filesystem-37jfsww8.js} +16 -16
- package/dist/chunks/{shell-qfzde7bh.js → filesystem-3c1tgrea.js} +6 -6
- package/dist/chunks/{shell-3fc6dm20.js → filesystem-3fc6dm20.js} +1 -1
- package/dist/chunks/{shell-3hepkmqq.js → filesystem-3hepkmqq.js} +1 -1
- package/dist/chunks/{shell-3smtnn6g.js → filesystem-3smtnn6g.js} +1 -1
- package/dist/chunks/{shell-3tvqynh2.js → filesystem-3tvqynh2.js} +1 -1
- package/dist/chunks/{shell-maj69pyd.js → filesystem-41k02yvh.js} +15 -15
- package/dist/chunks/{shell-cdb3968r.js → filesystem-439y12vh.js} +4 -4
- package/dist/chunks/{shell-epf086r6.js → filesystem-45vv7gab.js} +11 -11
- package/dist/chunks/{shell-svh6bksy.js → filesystem-4b4yfk1e.js} +47 -47
- package/dist/chunks/{shell-cntxze1n.js → filesystem-4frkg54w.js} +9 -9
- package/dist/chunks/{shell-92d8765r.js → filesystem-4fy5a9h5.js} +19 -19
- package/dist/chunks/{shell-7wvqhqmf.js → filesystem-4j9ew2rr.js} +2 -2
- package/dist/chunks/{shell-t89hfesc.js → filesystem-4jjph5sa.js} +9 -9
- package/dist/chunks/{shell-fwex87m5.js → filesystem-4xhf45yx.js} +4 -4
- package/dist/chunks/{shell-2130zj7j.js → filesystem-4xwhw091.js} +3 -3
- package/dist/chunks/{shell-a4bf359j.js → filesystem-4zqmmk7v.js} +37 -37
- package/dist/chunks/{shell-vm5yje8t.js → filesystem-55yqmepc.js} +20 -20
- package/dist/chunks/{shell-56gdpj1q.js → filesystem-56gdpj1q.js} +2 -2
- package/dist/chunks/{shell-98wx3ph6.js → filesystem-57gxc5pf.js} +20 -20
- package/dist/chunks/{shell-zgda001e.js → filesystem-5c91nd8t.js} +11 -11
- package/dist/chunks/{shell-5daktx2q.js → filesystem-5daktx2q.js} +1 -1
- package/dist/chunks/{shell-xh2y7gdn.js → filesystem-5et2ke9z.js} +25 -25
- package/dist/chunks/{shell-5t3nmthw.js → filesystem-5t3nmthw.js} +2 -2
- package/dist/chunks/{shell-csvt3qn2.js → filesystem-5wvv95xm.js} +20 -20
- package/dist/chunks/{shell-wnxjx791.js → filesystem-5y27wggs.js} +52 -52
- package/dist/chunks/{shell-txmzda4v.js → filesystem-60qw2sva.js} +5 -5
- package/dist/chunks/{shell-5se65zms.js → filesystem-65tvvp9r.js} +1 -1
- package/dist/chunks/{shell-669tq793.js → filesystem-669tq793.js} +1 -1
- package/dist/chunks/{shell-f3b3gm2h.js → filesystem-6a2hk3n2.js} +9 -9
- package/dist/chunks/{shell-y27npyv3.js → filesystem-6b0jwvmt.js} +28 -28
- package/dist/chunks/{shell-1vr0zdnx.js → filesystem-6bckx01s.js} +9 -9
- package/dist/chunks/{shell-t0x5rdq8.js → filesystem-6ck2t1rv.js} +9 -9
- package/dist/chunks/{shell-b8b3f19r.js → filesystem-6fatt4mk.js} +9 -9
- package/dist/chunks/{shell-6msgmcgs.js → filesystem-6msgmcgs.js} +1 -1
- package/dist/chunks/{shell-40nnwqw1.js → filesystem-6rx9j4b0.js} +9 -9
- package/dist/chunks/{shell-qse8x9va.js → filesystem-6xgghmbk.js} +40 -40
- package/dist/chunks/{shell-5cwpbnzf.js → filesystem-6y0dpk3y.js} +24 -24
- package/dist/chunks/{shell-71q4at8m.js → filesystem-71q4at8m.js} +1 -1
- package/dist/chunks/{shell-2drtf3nf.js → filesystem-77xgrpmb.js} +25 -25
- package/dist/chunks/{shell-e9ctdnam.js → filesystem-79h9wc7p.js} +30 -30
- package/dist/chunks/{shell-7bmhse3q.js → filesystem-7bmhse3q.js} +1 -1
- package/dist/chunks/{shell-79at1x9v.js → filesystem-7n5ebxvb.js} +11 -11
- package/dist/chunks/{shell-fb1d3fys.js → filesystem-7qj23typ.js} +34 -34
- package/dist/chunks/{shell-50q5na77.js → filesystem-87bjq7d8.js} +59 -59
- package/dist/chunks/{shell-ds7hspst.js → filesystem-87c2hcfn.js} +17 -17
- package/dist/chunks/{shell-jgs86n5s.js → filesystem-88bvrjqm.js} +20 -20
- package/dist/chunks/{shell-tcezcvh9.js → filesystem-89znhe33.js} +4 -4
- package/dist/chunks/{shell-2arervvz.js → filesystem-8czw5t31.js} +1 -1
- package/dist/chunks/{shell-8d7r5vzw.js → filesystem-8d7r5vzw.js} +1 -1
- package/dist/chunks/{shell-tvqztyf1.js → filesystem-8jt463w9.js} +25 -25
- package/dist/chunks/{shell-8p4f9s12.js → filesystem-8p4f9s12.js} +2 -2
- package/dist/chunks/{shell-zgavb9cq.js → filesystem-8z6dw92s.js} +17 -17
- package/dist/chunks/{shell-5t1bt779.js → filesystem-958js9br.js} +13 -13
- package/dist/chunks/{shell-90debe3t.js → filesystem-9ewzbff8.js} +25 -25
- package/dist/chunks/{shell-ybb32c7q.js → filesystem-9ftserdy.js} +11 -11
- package/dist/chunks/{shell-hwcbwms2.js → filesystem-9fvhjrgf.js} +24 -24
- package/dist/chunks/{shell-0kb3qxfv.js → filesystem-9grmh3gg.js} +13 -13
- package/dist/chunks/{shell-x7pryeww.js → filesystem-9m209nhj.js} +5 -5
- package/dist/chunks/{shell-ew149jxv.js → filesystem-9v4y56cw.js} +17 -17
- package/dist/chunks/{shell-a1bz86dw.js → filesystem-a1bz86dw.js} +3 -3
- package/dist/chunks/{shell-pfx2qrrs.js → filesystem-a4kfj0a0.js} +14 -14
- package/dist/chunks/{shell-5r0fea1g.js → filesystem-a9pdx8gz.js} +8 -8
- package/dist/chunks/{shell-aaet6srn.js → filesystem-aaet6srn.js} +2 -2
- package/dist/chunks/{shell-hcn7vb16.js → filesystem-abe16e6q.js} +10 -10
- package/dist/chunks/{shell-aqh0ftsf.js → filesystem-ad7xdf9r.js} +6 -6
- package/dist/chunks/{shell-pczwz8kr.js → filesystem-ahnqppdj.js} +1 -1
- package/dist/chunks/{shell-na9d8qqg.js → filesystem-av1zmrck.js} +1 -1
- package/dist/chunks/{shell-hr87xv3p.js → filesystem-av40d20f.js} +1 -1
- package/dist/chunks/{shell-6sdmw969.js → filesystem-axc3cb0n.js} +6 -6
- package/dist/chunks/{shell-tb2t6pfk.js → filesystem-aycy0v5g.js} +11 -11
- package/dist/chunks/{shell-frgtas0g.js → filesystem-ayp6cqfq.js} +12 -12
- package/dist/chunks/{shell-b6gygkdw.js → filesystem-b6gygkdw.js} +2 -2
- package/dist/chunks/{shell-9axecy8x.js → filesystem-b8mjdg95.js} +32 -32
- package/dist/chunks/{shell-w1k39n5e.js → filesystem-bccb6npm.js} +4 -4
- package/dist/chunks/{shell-8hpa1fbg.js → filesystem-bezn74c1.js} +8 -8
- package/dist/chunks/{shell-b4yscnm6.js → filesystem-bkfa2z39.js} +173 -168
- package/dist/chunks/{shell-170g143j.js → filesystem-bm5ycmby.js} +10 -10
- package/dist/chunks/{shell-y6cbkzy7.js → filesystem-bv2jx7pw.js} +30 -30
- package/dist/chunks/{shell-7dqea38v.js → filesystem-c0msvw2j.js} +26 -26
- package/dist/chunks/{shell-5hpynvw8.js → filesystem-caw866h7.js} +11 -11
- package/dist/chunks/{shell-wd8n4s43.js → filesystem-cdt344wa.js} +22 -22
- package/dist/chunks/{shell-j8zzr2am.js → filesystem-cf3tj770.js} +6 -6
- package/dist/chunks/{shell-951egb0q.js → filesystem-cfbhz4sy.js} +12 -12
- package/dist/chunks/{shell-cfpkc3c9.js → filesystem-cfpkc3c9.js} +2 -2
- package/dist/chunks/{shell-58mrke4p.js → filesystem-cj0ynpdk.js} +17 -17
- package/dist/chunks/{shell-h9ah0y31.js → filesystem-cqk3ba3b.js} +4 -4
- package/dist/chunks/{shell-wrjtwt5e.js → filesystem-d7swqpa7.js} +14 -14
- package/dist/chunks/{shell-srhw5zxk.js → filesystem-dhwr7h25.js} +11 -11
- package/dist/chunks/{shell-a1cqmkke.js → filesystem-dkvg49fw.js} +21 -21
- package/dist/chunks/{shell-x3d4jfyq.js → filesystem-dsqq6j4y.js} +6 -6
- package/dist/chunks/{shell-tsmdsbrt.js → filesystem-dsyn576s.js} +4 -4
- package/dist/chunks/{shell-9k5ea8vn.js → filesystem-dywhtpsx.js} +9 -9
- package/dist/chunks/{shell-e5nv3ght.js → filesystem-e5nv3ght.js} +2 -2
- package/dist/chunks/{shell-zfj5hy1g.js → filesystem-ecrg2nqv.js} +29 -29
- package/dist/chunks/{shell-83c1hrrs.js → filesystem-eh1r3epm.js} +10 -10
- package/dist/chunks/{shell-qp1sevpr.js → filesystem-ehhvb1z1.js} +22 -22
- package/dist/chunks/{shell-v7n01w8h.js → filesystem-ekjywdh4.js} +13 -13
- package/dist/chunks/{shell-y6vkn53y.js → filesystem-em33emqj.js} +2 -2
- package/dist/chunks/{shell-nv5vn7qx.js → filesystem-eraanh1f.js} +6 -6
- package/dist/chunks/{shell-etq0c3wd.js → filesystem-etq0c3wd.js} +1 -1
- package/dist/chunks/{shell-jx66ev93.js → filesystem-ey1y6cx4.js} +9 -9
- package/dist/chunks/{shell-4j2free1.js → filesystem-eyeb23k4.js} +26 -26
- package/dist/chunks/{shell-hhsefzea.js → filesystem-f0q97ex4.js} +6 -6
- package/dist/chunks/{shell-f2n192rq.js → filesystem-f2n192rq.js} +1 -1
- package/dist/chunks/{shell-f828m53h.js → filesystem-f828m53h.js} +2 -2
- package/dist/chunks/{shell-8330sdex.js → filesystem-f8652x2w.js} +37 -37
- package/dist/chunks/{shell-3ax3r0kt.js → filesystem-f8gcejx1.js} +11 -11
- package/dist/chunks/{shell-mjyvg60v.js → filesystem-f8rh72t3.js} +11 -11
- package/dist/chunks/{shell-fxbjtjnd.js → filesystem-fxbjtjnd.js} +1 -1
- package/dist/chunks/{shell-gy297mxz.js → filesystem-g9mjxn54.js} +9 -9
- package/dist/chunks/{shell-00sskvcy.js → filesystem-gacr8fx6.js} +25 -25
- package/dist/chunks/{shell-23pqda6t.js → filesystem-gb7ervf3.js} +6 -6
- package/dist/chunks/{shell-gd4qta3r.js → filesystem-gd4qta3r.js} +1 -1
- package/dist/chunks/{shell-gds7y9rb.js → filesystem-gg8vxy2p.js} +26 -26
- package/dist/chunks/{shell-5cd5fjqe.js → filesystem-gqrjg9m0.js} +1 -1
- package/dist/chunks/{shell-wrnhm9vn.js → filesystem-gthqyac3.js} +6 -6
- package/dist/chunks/{shell-gv6a8nnw.js → filesystem-gv6a8nnw.js} +2 -2
- package/dist/chunks/{shell-g114gkg7.js → filesystem-gx8gn256.js} +27 -27
- package/dist/chunks/{shell-yedr9c85.js → filesystem-gzxx6bgm.js} +12 -12
- package/dist/chunks/{shell-h03wrkyp.js → filesystem-h03wrkyp.js} +2 -2
- package/dist/chunks/{shell-0p1crd9d.js → filesystem-h39eyz0q.js} +16 -16
- package/dist/chunks/{shell-h6vf3j39.js → filesystem-h6vf3j39.js} +1 -1
- package/dist/chunks/{shell-3bqh7sdc.js → filesystem-h85jpfa0.js} +8 -8
- package/dist/chunks/{shell-dnyx0jag.js → filesystem-hef24fn2.js} +46 -46
- package/dist/chunks/{shell-gst7axd9.js → filesystem-hn57h045.js} +4 -4
- package/dist/chunks/{shell-7hnvxcfq.js → filesystem-hr4rc9dq.js} +24 -24
- package/dist/chunks/{shell-kn1ewh61.js → filesystem-hwma07pt.js} +13 -13
- package/dist/chunks/{shell-j56e64zr.js → filesystem-j56e64zr.js} +1 -1
- package/dist/chunks/{shell-2dhdmezd.js → filesystem-j8yes9fb.js} +11 -11
- package/dist/chunks/{shell-paphc93g.js → filesystem-j935v87r.js} +2 -2
- package/dist/chunks/{shell-v261m4vn.js → filesystem-jacaeees.js} +16 -16
- package/dist/chunks/{shell-s594x3a1.js → filesystem-jaqemzyz.js} +15 -15
- package/dist/chunks/{shell-g9x8z6es.js → filesystem-jay4nmce.js} +35 -35
- package/dist/chunks/{shell-785qyyg3.js → filesystem-jhvzetwt.js} +41 -41
- package/dist/chunks/{shell-ym00f2st.js → filesystem-jjt6g8ec.js} +10 -10
- package/dist/chunks/{shell-tjn88awr.js → filesystem-k394pqej.js} +5 -5
- package/dist/chunks/{shell-q7y6yj4h.js → filesystem-k5734w4a.js} +10 -10
- package/dist/chunks/{shell-r8m16k99.js → filesystem-kay20y4r.js} +7 -7
- package/dist/chunks/{shell-kg06axw8.js → filesystem-kg06axw8.js} +1 -1
- package/dist/chunks/{shell-k6n7t8rh.js → filesystem-kh4cqp9s.js} +4 -4
- package/dist/chunks/{shell-s24xwzhn.js → filesystem-khbvvr7x.js} +24 -24
- package/dist/chunks/{shell-g7845yqx.js → filesystem-kjc7y5he.js} +9 -9
- package/dist/chunks/{shell-cwae0t4a.js → filesystem-kk05wj6g.js} +6 -6
- package/dist/chunks/{shell-qdvd9fa3.js → filesystem-kkdq4gv9.js} +9 -9
- package/dist/chunks/{shell-2s58e736.js → filesystem-kqn78m91.js} +8 -8
- package/dist/chunks/{shell-ye4pzvdc.js → filesystem-krhdd13z.js} +15 -15
- package/dist/chunks/{shell-6dgetf94.js → filesystem-ks78zxsa.js} +32 -32
- package/dist/chunks/filesystem-kshn8saw.js +247 -0
- package/dist/chunks/{shell-zqw1zjbk.js → filesystem-kzs1nj2w.js} +43 -43
- package/dist/chunks/{shell-mzg5sf4x.js → filesystem-m142jtgy.js} +10 -10
- package/dist/chunks/{shell-m9w0rfyh.js → filesystem-m9w0rfyh.js} +1 -1
- package/dist/chunks/{shell-bkpbcw5z.js → filesystem-mgjabrz5.js} +6 -6
- package/dist/chunks/{shell-qfehbndj.js → filesystem-mgp1xb0f.js} +24 -24
- package/dist/chunks/{shell-mypwhdkk.js → filesystem-mrrn9raq.js} +6 -6
- package/dist/chunks/{shell-r8tp4xng.js → filesystem-n2g8w3nt.js} +37 -37
- package/dist/chunks/{shell-ajf5b5m2.js → filesystem-n8dshb08.js} +11 -11
- package/dist/chunks/{shell-2xsz5w2j.js → filesystem-ndaapn5x.js} +3 -3
- package/dist/chunks/{shell-he81y1nr.js → filesystem-nh937vtg.js} +15 -15
- package/dist/chunks/{shell-nhy5jxhy.js → filesystem-nhy5jxhy.js} +1 -1
- package/dist/chunks/{shell-jqzha493.js → filesystem-nkvjcq56.js} +10 -10
- package/dist/chunks/{shell-j2x4pfpm.js → filesystem-nmedgzjr.js} +8 -8
- package/dist/chunks/{shell-e5nx0vxc.js → filesystem-nnwnj3kt.js} +11 -11
- package/dist/chunks/{shell-v38hr624.js → filesystem-ntkt8hfw.js} +9 -9
- package/dist/chunks/{shell-7gvwkz6m.js → filesystem-p44d8wdy.js} +5 -5
- package/dist/chunks/{shell-wk8z1bqt.js → filesystem-p6hxwm8v.js} +27 -27
- package/dist/chunks/{shell-e01x8cvy.js → filesystem-p815bw41.js} +80 -80
- package/dist/chunks/{shell-pjvnvgmy.js → filesystem-pjvnvgmy.js} +1 -1
- package/dist/chunks/{shell-pknna89w.js → filesystem-pknna89w.js} +1 -1
- package/dist/chunks/{shell-ve4pfa0n.js → filesystem-pmr4s4kc.js} +4 -4
- package/dist/chunks/{shell-nt9efg4s.js → filesystem-ppf6v6e1.js} +36 -36
- package/dist/chunks/{shell-eh4y4983.js → filesystem-ptytrkeg.js} +19 -19
- package/dist/chunks/{shell-gmqwtf9m.js → filesystem-pwxjd99w.js} +17 -17
- package/dist/chunks/{shell-sp5ebaa4.js → filesystem-q8qk0cpb.js} +11 -11
- package/dist/chunks/{shell-cgfvx4w1.js → filesystem-q9sh34kg.js} +30 -30
- package/dist/chunks/{shell-2k8khapm.js → filesystem-qgn6gcr1.js} +5 -5
- package/dist/chunks/{shell-hr5bc81f.js → filesystem-qm7jrdpz.js} +8 -8
- package/dist/chunks/{shell-qsdy395h.js → filesystem-qsdy395h.js} +1 -1
- package/dist/chunks/{shell-mhke193m.js → filesystem-qwwrayhn.js} +11 -11
- package/dist/chunks/{shell-dx67ej23.js → filesystem-qxe1e9q5.js} +4 -4
- package/dist/chunks/{shell-g6etydj3.js → filesystem-r1kfjs52.js} +19 -19
- package/dist/chunks/{shell-r7wttt38.js → filesystem-r7yb2281.js} +11 -11
- package/dist/chunks/{shell-h3gtxjhp.js → filesystem-r8dnm4fk.js} +12 -12
- package/dist/chunks/{shell-r9mregkx.js → filesystem-r9mregkx.js} +2 -2
- package/dist/chunks/{shell-m1xnp8jy.js → filesystem-rdfsynn7.js} +8 -8
- package/dist/chunks/{shell-8behwj1p.js → filesystem-rnm8ebdw.js} +288 -288
- package/dist/chunks/{shell-9n54j36e.js → filesystem-rv6e4z41.js} +35 -35
- package/dist/chunks/{shell-w5e0rffm.js → filesystem-rwdrjh9g.js} +47 -47
- package/dist/chunks/{shell-498f1par.js → filesystem-rzj44daq.js} +17 -17
- package/dist/chunks/{shell-yrznvahk.js → filesystem-s4enseaf.js} +2 -2
- package/dist/chunks/{shell-ffnvdd3a.js → filesystem-se105tye.js} +4 -4
- package/dist/chunks/{shell-fxb8x6py.js → filesystem-sgm801mv.js} +38 -38
- package/dist/chunks/{shell-j7wq2tw5.js → filesystem-sk6yq7gh.js} +3 -3
- package/dist/chunks/{shell-3t75jh19.js → filesystem-sqhed6c7.js} +18 -18
- package/dist/chunks/{shell-z76rvear.js → filesystem-ssnweha5.js} +4 -4
- package/dist/chunks/{shell-2gg8k579.js → filesystem-t1waf9zt.js} +11 -11
- package/dist/chunks/{shell-pe83jqzf.js → filesystem-t6xgqy70.js} +8 -8
- package/dist/chunks/{shell-tazgh4e4.js → filesystem-tazgh4e4.js} +1 -1
- package/dist/chunks/{shell-tdstcens.js → filesystem-tdstcens.js} +1 -1
- package/dist/chunks/{shell-3dn8q124.js → filesystem-th2mpfrx.js} +3 -3
- package/dist/chunks/{shell-sba7bcww.js → filesystem-tmz07czs.js} +20 -20
- package/dist/chunks/{shell-asmz7wyz.js → filesystem-tpw6cwsb.js} +4 -4
- package/dist/chunks/{shell-sbrky0je.js → filesystem-trwj2ymr.js} +2 -2
- package/dist/chunks/{shell-tvtrv512.js → filesystem-tvtrv512.js} +1 -1
- package/dist/chunks/{shell-anjgpdmv.js → filesystem-v36j07s8.js} +15 -15
- package/dist/chunks/{shell-cvacbsd4.js → filesystem-v5eees2g.js} +22 -22
- package/dist/chunks/{shell-t97t2t7r.js → filesystem-v84z85pp.js} +11 -11
- package/dist/chunks/{shell-veqvce7d.js → filesystem-veqvce7d.js} +1 -1
- package/dist/chunks/{shell-bha4atvq.js → filesystem-vkxpz7g2.js} +4 -4
- package/dist/chunks/{shell-xegjm1yz.js → filesystem-vncd6x2p.js} +19 -19
- package/dist/chunks/{shell-3t8eac1t.js → filesystem-vsp1fds9.js} +21 -21
- package/dist/chunks/{shell-ekxg4hsx.js → filesystem-vwedqk8m.js} +15 -15
- package/dist/chunks/{shell-vzcthcp8.js → filesystem-vzcthcp8.js} +1 -1
- package/dist/chunks/{shell-vmtg2jww.js → filesystem-w105trey.js} +26 -26
- package/dist/chunks/{shell-hxbwmv2e.js → filesystem-w28ya9nv.js} +20 -20
- package/dist/chunks/{shell-6ff0ccqs.js → filesystem-w2yvy5y9.js} +5 -5
- package/dist/chunks/{shell-w3wsvvr9.js → filesystem-w3wsvvr9.js} +1 -1
- package/dist/chunks/{shell-t7295w2z.js → filesystem-w9s2bh3f.js} +87 -87
- package/dist/chunks/{shell-hnr5yq9h.js → filesystem-wbkyxrgf.js} +5 -5
- package/dist/chunks/{shell-wd87259q.js → filesystem-wd87259q.js} +1 -1
- package/dist/chunks/{shell-84znd991.js → filesystem-wh1jz8sn.js} +45 -45
- package/dist/chunks/{shell-bq71cpr0.js → filesystem-wj45sndb.js} +12 -12
- package/dist/chunks/{shell-39nqk1vw.js → filesystem-wyzh7da2.js} +7 -7
- package/dist/chunks/{shell-yp48q4z8.js → filesystem-x159k7tn.js} +11 -11
- package/dist/chunks/{shell-x1ezjp6w.js → filesystem-x1ezjp6w.js} +1 -1
- package/dist/chunks/{shell-zwxne7nm.js → filesystem-x6aajhkr.js} +32 -32
- package/dist/chunks/{shell-gsa21a22.js → filesystem-xn99z6n2.js} +21 -21
- package/dist/chunks/{shell-vag79jb7.js → filesystem-xvkeykba.js} +16 -16
- package/dist/chunks/{shell-y1fvbwt7.js → filesystem-y1fvbwt7.js} +1 -1
- package/dist/chunks/{shell-dpkg50ah.js → filesystem-y71avatq.js} +4 -4
- package/dist/chunks/{shell-3q16w0pe.js → filesystem-y88ze32q.js} +25 -25
- package/dist/chunks/{shell-5j1hak98.js → filesystem-yatbfktz.js} +2 -2
- package/dist/chunks/{shell-yrhqyw5v.js → filesystem-yrhqyw5v.js} +1 -1
- package/dist/chunks/{shell-1rmp5py1.js → filesystem-ysg8hvve.js} +28 -28
- package/dist/chunks/{shell-barpxaxt.js → filesystem-ytapak9r.js} +12 -12
- package/dist/chunks/{shell-2bt6bea8.js → filesystem-ywkfy99j.js} +9 -9
- package/dist/chunks/{shell-6ea2fwcg.js → filesystem-yxc59d7f.js} +8 -8
- package/dist/chunks/{shell-e275f37r.js → filesystem-yy6wawb8.js} +32 -32
- package/dist/chunks/{shell-sccxx93j.js → filesystem-yya0sae6.js} +11 -11
- package/dist/chunks/{shell-z0bkrqjs.js → filesystem-z0bkrqjs.js} +1 -1
- package/dist/chunks/{shell-n0mh3p3r.js → filesystem-z2erpwqc.js} +20 -20
- package/dist/chunks/{shell-we16zy36.js → filesystem-z46ew2vq.js} +50 -50
- package/dist/chunks/{shell-dgyag7b9.js → filesystem-zdzb03tf.js} +3 -3
- package/dist/chunks/{shell-zeh9ct20.js → filesystem-zeh9ct20.js} +2 -2
- package/dist/chunks/{shell-zqhama0g.js → filesystem-zf0cgqdy.js} +1 -1
- package/dist/chunks/{shell-pyajk535.js → filesystem-zjyfgt6w.js} +20 -20
- package/dist/chunks/{shell-zr2ceqn5.js → filesystem-zr2ceqn5.js} +1 -1
- package/dist/chunks/{shell-c9de5jy7.js → filesystem-zxnzg6kz.js} +22 -22
- package/dist/chunks/{shell-zxq2ej10.js → filesystem-zxq2ej10.js} +1 -1
- package/dist/chunks/{shell-5t96p4mv.js → filesystem-zzzpg4zy.js} +18 -18
- package/dist/codemode/catalog.js +1 -1
- package/dist/codemode/instructions.js +5 -5
- package/dist/codemode/tool.js +2 -2
- package/dist/command.js +84 -84
- package/dist/config/discovery.js +81 -81
- 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 +210 -210
- package/dist/config/plugin/compaction.js +157 -157
- package/dist/config/plugin/compatibility.js +135 -135
- package/dist/config/plugin/entry-observer.js +1 -1
- package/dist/config/plugin/formatter.js +119 -119
- package/dist/config/plugin/image.js +117 -117
- package/dist/config/plugin/instruction.js +87 -87
- package/dist/config/plugin/location-watcher.js +117 -117
- package/dist/config/plugin/mcp.js +126 -126
- package/dist/config/plugin/policy.js +116 -116
- package/dist/config/plugin/provider.js +115 -115
- package/dist/config/plugin/reference.js +119 -119
- package/dist/config/plugin/shell.js +118 -118
- package/dist/config/plugin/skill-file.js +99 -99
- package/dist/config/plugin/skill.js +136 -136
- package/dist/config/plugin/snapshot.js +117 -117
- package/dist/config/plugin/source.js +119 -119
- package/dist/config/plugin/tool-output.js +119 -119
- package/dist/config/plugin/websearch.js +115 -115
- package/dist/config/plugin/worktree.js +120 -120
- package/dist/config/variable.js +3 -3
- package/dist/config/watch.js +1 -1
- package/dist/config.js +121 -121
- package/dist/credential/sql.js +2 -2
- package/dist/credential.js +84 -84
- package/dist/database/database.js +65 -65
- package/dist/database/drizzle/effect-sqlite/driver.js +14 -14
- package/dist/database/drizzle/effect-sqlite/index.js +14 -14
- package/dist/database/drizzle/effect-sqlite/session.js +11 -11
- package/dist/database/drizzle/index.js +15 -15
- 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 +16 -16
- 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/20260910120000_clear_v1_session_permission.js +1 -1
- package/dist/database/migration.gen.js +48 -48
- package/dist/database/migration.js +50 -50
- 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 +75 -75
- package/dist/database/v1-migration.js +1 -1
- package/dist/effect/app-node-builder.js +364 -364
- package/dist/effect/app-node-platform.js +2 -2
- package/dist/effect/keyed-mutex.js +3 -3
- package/dist/effect/websocket-constructor.js +1 -1
- package/dist/environment/driver.js +1 -1
- package/dist/environment/environment.js +90 -90
- package/dist/environment/exec-defaults.js +2 -2
- package/dist/environment/files.js +1 -1
- package/dist/environment/index.js +92 -92
- 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 +69 -69
- package/dist/file-access.js +101 -101
- package/dist/file-mutation.js +91 -91
- 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 +222 -222
- package/dist/filesystem/protected.js +3 -3
- package/dist/filesystem/search.js +101 -101
- package/dist/filesystem/watcher-binding.js +3 -3
- package/dist/filesystem/watcher.js +15 -15
- package/dist/filesystem.js +106 -106
- package/dist/form.js +85 -85
- package/dist/formatter/builtins.js +4 -4
- package/dist/formatter.js +84 -84
- package/dist/generate.js +92 -92
- package/dist/git.js +8 -8
- 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 +3 -3
- 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 +355 -355
- package/dist/instruction-discovery.js +84 -84
- package/dist/instructions/builtins.js +84 -84
- package/dist/instructions/index.js +5 -5
- package/dist/integration/connection.js +1 -1
- package/dist/integration.js +87 -87
- package/dist/job.js +76 -76
- package/dist/kv/sql.js +2 -2
- package/dist/kv.js +68 -68
- package/dist/location-activity.js +130 -130
- package/dist/location-mutation.js +101 -101
- package/dist/location-service-map.js +83 -83
- package/dist/location-services.js +352 -352
- package/dist/location.js +86 -86
- package/dist/mcp/client.js +88 -88
- package/dist/mcp/index.js +105 -105
- package/dist/mcp/instructions.js +124 -124
- package/dist/mcp/oauth.js +3 -3
- package/dist/mcp/stdio.js +87 -87
- package/dist/mime.js +1 -1
- package/dist/modal/models.js +3 -3
- package/dist/model-resolver.js +87 -87
- package/dist/model.js +8 -8
- package/dist/models-dev.js +79 -79
- package/dist/oauth/page.js +1 -1
- package/dist/permission/saved.js +81 -81
- package/dist/permission/sql.js +5 -5
- package/dist/permission.js +114 -114
- package/dist/persistent-pty/binary.bun.js +1 -1
- package/dist/persistent-pty/daemon.js +1 -1
- package/dist/persistent-pty/index.js +85 -85
- package/dist/persistent-pty/pty-binding.js +1 -1
- package/dist/persistent-pty.js +74 -74
- package/dist/plugin/agent.js +99 -99
- package/dist/plugin/command.js +96 -96
- package/dist/plugin/hooks.js +5 -5
- package/dist/plugin/host.js +215 -215
- package/dist/plugin/instance.js +3 -3
- package/dist/plugin/internal.js +326 -326
- package/dist/plugin/mcp-codemode-exclusion.js +3 -3
- package/dist/plugin/models-dev.js +76 -76
- 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/azure.js +120 -120
- package/dist/plugin/provider/cerebras.js +2 -2
- package/dist/plugin/provider/cloudflare-ai-gateway.js +119 -119
- package/dist/plugin/provider/cloudflare-workers-ai.js +119 -119
- package/dist/plugin/provider/cohere.js +2 -2
- package/dist/plugin/provider/configured.js +116 -116
- package/dist/plugin/provider/digitalocean.js +80 -80
- 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 +81 -81
- 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 +77 -77
- package/dist/plugin/provider/lmstudio.js +119 -119
- package/dist/plugin/provider/modal.js +80 -80
- package/dist/plugin/provider/nvidia.js +2 -2
- package/dist/plugin/provider/ollama.js +119 -119
- package/dist/plugin/provider/openai-compatible.js +1 -1
- package/dist/plugin/provider/openai.js +81 -81
- package/dist/plugin/provider/opencode.js +80 -80
- package/dist/plugin/provider/openrouter.js +3 -3
- package/dist/plugin/provider/perplexity.js +2 -2
- package/dist/plugin/provider/poe.js +77 -77
- 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 +119 -119
- package/dist/plugin/provider/venice.js +2 -2
- package/dist/plugin/provider/vercel.js +2 -2
- package/dist/plugin/provider/vllm.js +119 -119
- package/dist/plugin/provider/xai.js +78 -78
- package/dist/plugin/provider/zenmux.js +2 -2
- package/dist/plugin/provider.js +158 -158
- package/dist/plugin/sdk.js +75 -75
- 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 +345 -345
- package/dist/plugin/update.js +6 -6
- package/dist/plugin/variant.js +2 -2
- package/dist/plugin/vcs/git.js +83 -83
- package/dist/plugin/vcs/hg.js +81 -81
- package/dist/plugin/warming.js +114 -114
- package/dist/plugin/websearch/exa.js +7 -7
- package/dist/plugin/websearch/firecrawl.js +8 -8
- package/dist/plugin/websearch/index.js +9 -9
- package/dist/plugin/websearch/mcp.js +2 -2
- package/dist/plugin/websearch/parallel.js +8 -8
- package/dist/plugin/websearch/tavily.js +6 -6
- package/dist/plugin/websearch/tinyfish.js +8 -8
- package/dist/plugin.js +222 -222
- package/dist/project/schema.js +8 -8
- package/dist/project/sql.js +4 -4
- package/dist/project.js +87 -87
- package/dist/provider.js +7 -7
- 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 +86 -86
- package/dist/reference.js +88 -88
- package/dist/repository-cache.js +78 -78
- package/dist/repository.js +1 -1
- package/dist/ripgrep/binary.js +2 -2
- package/dist/ripgrep.js +95 -95
- package/dist/rpc.js +83 -83
- package/dist/schema.js +1 -1
- package/dist/session/command.js +73 -73
- package/dist/session/compaction.js +131 -131
- package/dist/session/context.js +147 -147
- package/dist/session/diff.js +85 -85
- package/dist/session/environment.js +5 -5
- package/dist/session/error.js +7 -7
- package/dist/session/event.js +1 -1
- package/dist/session/execution/restart.js +219 -219
- package/dist/session/execution.js +124 -124
- package/dist/session/generate.js +148 -148
- package/dist/session/history.js +15 -15
- package/dist/session/inbox.js +81 -81
- package/dist/session/info.js +3 -3
- package/dist/session/instruction-entry.js +76 -76
- package/dist/session/instruction-state.js +8 -8
- package/dist/session/instructions.js +94 -94
- package/dist/session/message-updater.js +2 -2
- package/dist/session/message.js +1 -1
- package/dist/session/model-request.js +115 -115
- package/dist/session/model-transport.js +9 -9
- package/dist/session/move.js +128 -128
- package/dist/session/projector.js +85 -85
- package/dist/session/prompt.js +102 -102
- package/dist/session/provider-context.js +3 -3
- package/dist/session/revert.js +87 -87
- package/dist/session/run-coordinator.js +1 -1
- package/dist/session/runner/index.js +3 -3
- package/dist/session/runner/llm.js +227 -227
- package/dist/session/runner/max-steps.js +1 -1
- package/dist/session/runner/model.js +87 -87
- package/dist/session/runner/publish-llm-event.js +3 -3
- package/dist/session/runner/retry.js +112 -112
- package/dist/session/runner/step.js +123 -123
- 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 +133 -133
- package/dist/session/skill.js +100 -100
- package/dist/session/sql.js +5 -5
- package/dist/session/stats.js +72 -72
- package/dist/session/store.js +86 -86
- package/dist/session/subagent-completion.js +1 -1
- package/dist/session/subagent-job.js +208 -208
- package/dist/session/system-prompt.js +1 -1
- package/dist/session/title.js +153 -153
- package/dist/session/to-session-error.js +109 -109
- package/dist/session/transfer.js +215 -215
- package/dist/session/usage.js +1 -1
- package/dist/session.js +218 -218
- 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 +135 -135
- package/dist/skill/discovery.js +6 -6
- package/dist/skill/instructions.js +102 -102
- package/dist/skill.js +109 -109
- package/dist/snapshot.js +88 -88
- 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 +123 -123
- package/dist/tool/plugin/edit.js +117 -117
- package/dist/tool/plugin/file-diff.js +1 -1
- package/dist/tool/plugin/glob.js +122 -122
- package/dist/tool/plugin/grep.js +122 -122
- package/dist/tool/plugin/opencode.js +3 -3
- package/dist/tool/plugin/patch.js +119 -119
- package/dist/tool/plugin/question.js +100 -100
- package/dist/tool/plugin/read.js +123 -123
- package/dist/tool/plugin/shell.js +213 -213
- package/dist/tool/plugin/skill.js +108 -108
- package/dist/tool/plugin/subagent.js +215 -215
- package/dist/tool/plugin/webfetch.js +107 -107
- package/dist/tool/plugin/websearch.js +109 -109
- package/dist/tool/plugin/write.js +119 -119
- package/dist/tool/read-filesystem.js +98 -98
- package/dist/tool/runtime.js +1 -1
- package/dist/tool-output.js +8 -8
- package/dist/tool.js +15 -15
- 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 +7 -7
- package/dist/v1/config/attachment.js +4 -4
- package/dist/v1/config/command.js +5 -5
- package/dist/v1/config/config.js +14 -14
- package/dist/v1/config/error.js +4 -4
- 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 +7 -7
- 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 +86 -86
- package/dist/websearch.js +81 -81
- package/dist/wellknown/plugin.js +75 -75
- package/dist/wellknown.js +80 -80
- package/dist/workspace/driver.js +7 -7
- package/dist/workspace/sql.js +1 -1
- package/dist/workspace.js +77 -77
- package/dist/worktree/directory.js +2 -2
- package/dist/worktree/git.js +8 -8
- package/dist/worktree/refresh.js +344 -344
- package/dist/worktree/sql.js +5 -5
- package/dist/worktree.js +91 -91
- package/package.json +8 -8
- package/dist/chunks/shell-4v7qdvcn.js +0 -18
- package/dist/chunks/shell-bra2cn2r.js +0 -247
- /package/dist/chunks/{shell-0mesazry.js → filesystem-0mesazry.js} +0 -0
- /package/dist/chunks/{shell-0qkdqm5v.js → filesystem-0qkdqm5v.js} +0 -0
- /package/dist/chunks/{shell-0zkw76rk.js → filesystem-0zkw76rk.js} +0 -0
- /package/dist/chunks/{shell-17cy0kzp.js → filesystem-17cy0kzp.js} +0 -0
- /package/dist/chunks/{shell-1cnp2v09.js → filesystem-1cnp2v09.js} +0 -0
- /package/dist/chunks/{shell-1kg9ymc8.js → filesystem-1kg9ymc8.js} +0 -0
- /package/dist/chunks/{shell-2710q6r3.js → filesystem-2710q6r3.js} +0 -0
- /package/dist/chunks/{shell-2axfhc9x.js → filesystem-2axfhc9x.js} +0 -0
- /package/dist/chunks/{shell-2c3vjs8z.js → filesystem-2c3vjs8z.js} +0 -0
- /package/dist/chunks/{shell-359p4xyc.js → filesystem-359p4xyc.js} +0 -0
- /package/dist/chunks/{shell-3asan66x.js → filesystem-3asan66x.js} +0 -0
- /package/dist/chunks/{shell-3v8g72cx.js → filesystem-3v8g72cx.js} +0 -0
- /package/dist/chunks/{shell-3w5fmr99.js → filesystem-3w5fmr99.js} +0 -0
- /package/dist/chunks/{shell-3wcehsnq.js → filesystem-3wcehsnq.js} +0 -0
- /package/dist/chunks/{shell-43n2bw4t.js → filesystem-43n2bw4t.js} +0 -0
- /package/dist/chunks/{shell-4knz6hnm.js → filesystem-4knz6hnm.js} +0 -0
- /package/dist/chunks/{shell-4vcrnpx2.js → filesystem-4vcrnpx2.js} +0 -0
- /package/dist/chunks/{shell-4y7fprxs.js → filesystem-4y7fprxs.js} +0 -0
- /package/dist/chunks/{shell-53557ph1.js → filesystem-53557ph1.js} +0 -0
- /package/dist/chunks/{shell-550bvhaj.js → filesystem-550bvhaj.js} +0 -0
- /package/dist/chunks/{shell-6prwharc.js → filesystem-6prwharc.js} +0 -0
- /package/dist/chunks/{shell-7akdwqpd.js → filesystem-7akdwqpd.js} +0 -0
- /package/dist/chunks/{shell-7m9af43g.js → filesystem-7m9af43g.js} +0 -0
- /package/dist/chunks/{shell-822emrt2.js → filesystem-822emrt2.js} +0 -0
- /package/dist/chunks/{shell-88xbtdfr.js → filesystem-88xbtdfr.js} +0 -0
- /package/dist/chunks/{shell-8n3pysct.js → filesystem-8n3pysct.js} +0 -0
- /package/dist/chunks/{shell-922hggd3.js → filesystem-922hggd3.js} +0 -0
- /package/dist/chunks/{shell-9a4afbnw.js → filesystem-9a4afbnw.js} +0 -0
- /package/dist/chunks/{shell-9rqn6x4v.js → filesystem-9rqn6x4v.js} +0 -0
- /package/dist/chunks/{shell-a6k6eb26.js → filesystem-a6k6eb26.js} +0 -0
- /package/dist/chunks/{shell-af5trqkr.js → filesystem-af5trqkr.js} +0 -0
- /package/dist/chunks/{shell-afrmfg78.js → filesystem-afrmfg78.js} +0 -0
- /package/dist/chunks/{shell-aqzs7mqg.js → filesystem-aqzs7mqg.js} +0 -0
- /package/dist/chunks/{shell-atq7p7m5.js → filesystem-atq7p7m5.js} +0 -0
- /package/dist/chunks/{shell-bkyjaxrp.js → filesystem-bkyjaxrp.js} +0 -0
- /package/dist/chunks/{shell-bmr6ed5q.js → filesystem-bmr6ed5q.js} +0 -0
- /package/dist/chunks/{shell-cf4snx6d.js → filesystem-cf4snx6d.js} +0 -0
- /package/dist/chunks/{shell-cvy3z8tj.js → filesystem-cvy3z8tj.js} +0 -0
- /package/dist/chunks/{shell-d9fn303g.js → filesystem-d9fn303g.js} +0 -0
- /package/dist/chunks/{shell-d9jj8t3e.js → filesystem-d9jj8t3e.js} +0 -0
- /package/dist/chunks/{shell-dajrwvna.js → filesystem-dajrwvna.js} +0 -0
- /package/dist/chunks/{shell-dap0rakb.js → filesystem-dap0rakb.js} +0 -0
- /package/dist/chunks/{shell-df08tz66.js → filesystem-df08tz66.js} +0 -0
- /package/dist/chunks/{shell-dy18nga0.js → filesystem-dy18nga0.js} +0 -0
- /package/dist/chunks/{shell-e5kj55wp.js → filesystem-e5kj55wp.js} +0 -0
- /package/dist/chunks/{shell-e73j6tqm.js → filesystem-e73j6tqm.js} +0 -0
- /package/dist/chunks/{shell-ec1grn59.js → filesystem-ec1grn59.js} +0 -0
- /package/dist/chunks/{shell-eh3zwz77.js → filesystem-eh3zwz77.js} +0 -0
- /package/dist/chunks/{shell-emrn6kk6.js → filesystem-emrn6kk6.js} +0 -0
- /package/dist/chunks/{shell-f0mxakyp.js → filesystem-f0mxakyp.js} +0 -0
- /package/dist/chunks/{shell-f6n9ztr4.js → filesystem-f6n9ztr4.js} +0 -0
- /package/dist/chunks/{shell-faypxj3z.js → filesystem-faypxj3z.js} +0 -0
- /package/dist/chunks/{shell-fd410y7t.js → filesystem-fd410y7t.js} +0 -0
- /package/dist/chunks/{shell-fxgpk5d8.js → filesystem-fxgpk5d8.js} +0 -0
- /package/dist/chunks/{shell-g4wezp1m.js → filesystem-g4wezp1m.js} +0 -0
- /package/dist/chunks/{shell-g86h250q.js → filesystem-g86h250q.js} +0 -0
- /package/dist/chunks/{shell-gebd4c9n.js → filesystem-gebd4c9n.js} +0 -0
- /package/dist/chunks/{shell-gftt206x.js → filesystem-gftt206x.js} +0 -0
- /package/dist/chunks/{shell-hjbc5kem.js → filesystem-hjbc5kem.js} +0 -0
- /package/dist/chunks/{shell-hk9envan.js → filesystem-hk9envan.js} +0 -0
- /package/dist/chunks/{shell-hrnqkpcd.js → filesystem-hrnqkpcd.js} +0 -0
- /package/dist/chunks/{shell-j2ntwpah.js → filesystem-j2ntwpah.js} +0 -0
- /package/dist/chunks/{shell-j5zkgpj8.js → filesystem-j5zkgpj8.js} +0 -0
- /package/dist/chunks/{shell-jr7sbwjy.js → filesystem-jr7sbwjy.js} +0 -0
- /package/dist/chunks/{shell-jwfs4k6c.js → filesystem-jwfs4k6c.js} +0 -0
- /package/dist/chunks/{shell-jzg6c2d5.js → filesystem-jzg6c2d5.js} +0 -0
- /package/dist/chunks/{shell-mp448xyj.js → filesystem-mp448xyj.js} +0 -0
- /package/dist/chunks/{shell-msx8hqn2.js → filesystem-msx8hqn2.js} +0 -0
- /package/dist/chunks/{shell-n05xt0ee.js → filesystem-n05xt0ee.js} +0 -0
- /package/dist/chunks/{shell-n3j8tn72.js → filesystem-n3j8tn72.js} +0 -0
- /package/dist/chunks/{shell-njntx4h6.js → filesystem-njntx4h6.js} +0 -0
- /package/dist/chunks/{shell-q3sfg36h.js → filesystem-q3sfg36h.js} +0 -0
- /package/dist/chunks/{shell-q74kybfr.js → filesystem-q74kybfr.js} +0 -0
- /package/dist/chunks/{shell-qaymkmh1.js → filesystem-qaymkmh1.js} +0 -0
- /package/dist/chunks/{shell-qb87gjwd.js → filesystem-qb87gjwd.js} +0 -0
- /package/dist/chunks/{shell-qfa1cgps.js → filesystem-qfa1cgps.js} +0 -0
- /package/dist/chunks/{shell-qrg20bc0.js → filesystem-qrg20bc0.js} +0 -0
- /package/dist/chunks/{shell-rcb2kzg1.js → filesystem-rcb2kzg1.js} +0 -0
- /package/dist/chunks/{shell-sdp7kfr6.js → filesystem-sdp7kfr6.js} +0 -0
- /package/dist/chunks/{shell-sk3qaz4a.js → filesystem-sk3qaz4a.js} +0 -0
- /package/dist/chunks/{shell-ssg3fenm.js → filesystem-ssg3fenm.js} +0 -0
- /package/dist/chunks/{shell-twg0f83k.js → filesystem-twg0f83k.js} +0 -0
- /package/dist/chunks/{shell-w803qqfp.js → filesystem-w803qqfp.js} +0 -0
- /package/dist/chunks/{shell-wer8tq1h.js → filesystem-wer8tq1h.js} +0 -0
- /package/dist/chunks/{shell-wtztk69x.js → filesystem-wtztk69x.js} +0 -0
- /package/dist/chunks/{shell-x0ckcb58.js → filesystem-x0ckcb58.js} +0 -0
- /package/dist/chunks/{shell-x61499pn.js → filesystem-x61499pn.js} +0 -0
- /package/dist/chunks/{shell-y44na4kk.js → filesystem-y44na4kk.js} +0 -0
- /package/dist/chunks/{shell-y8cydn3q.js → filesystem-y8cydn3q.js} +0 -0
- /package/dist/chunks/{shell-y8f7s663.js → filesystem-y8f7s663.js} +0 -0
- /package/dist/chunks/{shell-ygaqb7jw.js → filesystem-ygaqb7jw.js} +0 -0
- /package/dist/chunks/{shell-ym463w8f.js → filesystem-ym463w8f.js} +0 -0
- /package/dist/chunks/{shell-z9919s4g.js → filesystem-z9919s4g.js} +0 -0
|
@@ -1,10 +1,10 @@
|
|
|
1
1
|
import {
|
|
2
2
|
absoluteColumn2,
|
|
3
3
|
absoluteArrayColumn2
|
|
4
|
-
} from "./
|
|
4
|
+
} from "./filesystem-6msgmcgs.js";
|
|
5
5
|
import {
|
|
6
6
|
Timestamps2
|
|
7
|
-
} from "./
|
|
7
|
+
} from "./filesystem-qfa1cgps.js";
|
|
8
8
|
|
|
9
9
|
// src/project/sql.ts
|
|
10
10
|
import { isNotNull, isNull, ne, or } from "drizzle-orm";
|
|
@@ -1,33 +1,33 @@
|
|
|
1
1
|
import {
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
} from "./
|
|
2
|
+
Service69,
|
|
3
|
+
node74
|
|
4
|
+
} from "./filesystem-jhvzetwt.js";
|
|
5
5
|
import {
|
|
6
6
|
__export
|
|
7
|
-
} from "./
|
|
7
|
+
} from "./filesystem-9rqn6x4v.js";
|
|
8
8
|
|
|
9
9
|
// src/location.ts
|
|
10
10
|
var exports_location = {};
|
|
11
11
|
__export(exports_location, {
|
|
12
|
-
Info: () =>
|
|
12
|
+
Info: () => Info26,
|
|
13
13
|
Location: () => exports_location,
|
|
14
|
-
Ref: () =>
|
|
15
|
-
Service: () =>
|
|
14
|
+
Ref: () => Ref2,
|
|
15
|
+
Service: () => Service68,
|
|
16
16
|
boundNode: () => boundNode2,
|
|
17
|
-
node: () =>
|
|
17
|
+
node: () => node73,
|
|
18
18
|
response: () => response2
|
|
19
19
|
});
|
|
20
20
|
import { Context, Effect, Layer } from "effect";
|
|
21
|
-
import { Info as
|
|
21
|
+
import { Info as Info26, Ref as Ref2, response as response2 } from "@opencode/schema/location";
|
|
22
22
|
import { LayerNode } from "@opencode/util/effect/layer-node";
|
|
23
23
|
import { makeLocationNode, tags } from "@opencode/util/effect/app-node";
|
|
24
|
-
class
|
|
24
|
+
class Service68 extends Context.Service()("@opencode/Location") {
|
|
25
25
|
}
|
|
26
|
-
var
|
|
27
|
-
var layer = (ref, options) => Layer.effect(
|
|
28
|
-
const project = yield*
|
|
26
|
+
var node73 = LayerNode.unbound(Service68, tags.values.location);
|
|
27
|
+
var layer = (ref, options) => Layer.effect(Service68, Effect.gen(function* () {
|
|
28
|
+
const project = yield* Service69;
|
|
29
29
|
const resolved = yield* project.resolve(ref.directory, options);
|
|
30
|
-
return
|
|
30
|
+
return Service68.of({
|
|
31
31
|
directory: ref.directory,
|
|
32
32
|
workspaceID: ref.workspaceID,
|
|
33
33
|
project: { id: resolved.id, directory: resolved.directory, canonical: resolved.canonical },
|
|
@@ -35,9 +35,9 @@ var layer = (ref, options) => Layer.effect(Service73, Effect.gen(function* () {
|
|
|
35
35
|
});
|
|
36
36
|
}));
|
|
37
37
|
var boundNode2 = (ref, options) => makeLocationNode({
|
|
38
|
-
service:
|
|
38
|
+
service: Service68,
|
|
39
39
|
layer: layer(ref, options),
|
|
40
|
-
deps: [
|
|
40
|
+
deps: [node74]
|
|
41
41
|
});
|
|
42
42
|
|
|
43
|
-
export {
|
|
43
|
+
export { Info26, Ref2, response2, Service68, node73, boundNode2, exports_location };
|
|
@@ -1,33 +1,33 @@
|
|
|
1
1
|
import {
|
|
2
2
|
useragent2
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./filesystem-t6xgqy70.js";
|
|
4
4
|
import {
|
|
5
5
|
Service79
|
|
6
|
-
} from "./
|
|
6
|
+
} from "./filesystem-dsyn576s.js";
|
|
7
7
|
import {
|
|
8
8
|
OAuth3,
|
|
9
|
-
|
|
10
|
-
} from "./
|
|
9
|
+
Event18
|
|
10
|
+
} from "./filesystem-79h9wc7p.js";
|
|
11
11
|
import {
|
|
12
|
-
|
|
12
|
+
ID13,
|
|
13
13
|
MethodID2
|
|
14
|
-
} from "./
|
|
14
|
+
} from "./filesystem-bv2jx7pw.js";
|
|
15
15
|
import {
|
|
16
|
-
|
|
17
|
-
} from "./
|
|
16
|
+
ID17
|
|
17
|
+
} from "./filesystem-rdfsynn7.js";
|
|
18
18
|
import {
|
|
19
19
|
Family2
|
|
20
|
-
} from "./
|
|
20
|
+
} from "./filesystem-wj45sndb.js";
|
|
21
21
|
import {
|
|
22
22
|
bootstrap2
|
|
23
|
-
} from "./
|
|
23
|
+
} from "./filesystem-pjvnvgmy.js";
|
|
24
24
|
|
|
25
25
|
// src/plugin/provider/digitalocean.ts
|
|
26
26
|
import { define } from "@opencode/plugin/effect/plugin";
|
|
27
27
|
import { Clock, Deferred, Effect, Option, Schedule, Schema, Semaphore, Stream } from "effect";
|
|
28
28
|
import { HttpClient, HttpClientRequest, HttpClientResponse } from "effect/unstable/http";
|
|
29
|
-
var providerID =
|
|
30
|
-
var integrationID =
|
|
29
|
+
var providerID = ID17.make("digitalocean");
|
|
30
|
+
var integrationID = ID13.make("digitalocean");
|
|
31
31
|
var methodID = MethodID2.make("browser");
|
|
32
32
|
var clientID = "b1a6c5158156caac821fd1b30253ca8acb52454a48fa744420e41889cb589f82";
|
|
33
33
|
var authorizeEndpoint = "https://cloud.digitalocean.com/v1/oauth/authorize";
|
|
@@ -158,7 +158,7 @@ var DigitalOceanPlugin2 = define({
|
|
|
158
158
|
}
|
|
159
159
|
});
|
|
160
160
|
const refresh = () => loading.withPermit(load().pipe(Effect.andThen(ctx.catalog.reload())));
|
|
161
|
-
yield* bus.subscribe(
|
|
161
|
+
yield* bus.subscribe(Event18.Switched).pipe(Stream.filter((event) => event.data.integrationID === integrationID), Stream.runForEach(refresh), Effect.forkScoped({ startImmediately: true }));
|
|
162
162
|
yield* refresh().pipe(Effect.repeat(Schedule.spaced("5 minutes")), Effect.forkScoped);
|
|
163
163
|
})
|
|
164
164
|
});
|
|
@@ -1,45 +1,45 @@
|
|
|
1
1
|
import {
|
|
2
2
|
mergeOverlay2,
|
|
3
3
|
mergeHeaders2,
|
|
4
|
-
|
|
5
|
-
} from "./
|
|
4
|
+
Info33
|
|
5
|
+
} from "./filesystem-rdfsynn7.js";
|
|
6
6
|
import {
|
|
7
|
-
|
|
8
|
-
} from "./
|
|
7
|
+
Info32
|
|
8
|
+
} from "./filesystem-wj45sndb.js";
|
|
9
9
|
import {
|
|
10
10
|
Service79,
|
|
11
11
|
node84
|
|
12
|
-
} from "./
|
|
12
|
+
} from "./filesystem-dsyn576s.js";
|
|
13
13
|
import {
|
|
14
14
|
create3
|
|
15
|
-
} from "./
|
|
15
|
+
} from "./filesystem-kg06axw8.js";
|
|
16
16
|
import {
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
} from "./
|
|
17
|
+
ID13,
|
|
18
|
+
Service73,
|
|
19
|
+
node78
|
|
20
|
+
} from "./filesystem-bv2jx7pw.js";
|
|
21
21
|
import {
|
|
22
22
|
__export
|
|
23
|
-
} from "./
|
|
23
|
+
} from "./filesystem-9rqn6x4v.js";
|
|
24
24
|
|
|
25
25
|
// src/catalog.ts
|
|
26
26
|
var exports_catalog2 = {};
|
|
27
27
|
__export(exports_catalog2, {
|
|
28
28
|
Catalog: () => exports_catalog2,
|
|
29
|
-
Event: () =>
|
|
30
|
-
Service: () =>
|
|
31
|
-
node: () =>
|
|
29
|
+
Event: () => Event16,
|
|
30
|
+
Service: () => Service72,
|
|
31
|
+
node: () => node77
|
|
32
32
|
});
|
|
33
33
|
import { makeLocationNode } from "@opencode/util/effect/app-node";
|
|
34
34
|
import { Array, Context, Effect, Layer, Order, pipe } from "effect";
|
|
35
35
|
import { Catalog } from "@opencode/schema/catalog";
|
|
36
|
-
import { Event as
|
|
36
|
+
import { Event as Event16 } from "@opencode/schema/catalog";
|
|
37
37
|
|
|
38
|
-
class
|
|
38
|
+
class Service72 extends Context.Service()("@opencode/Catalog") {
|
|
39
39
|
}
|
|
40
|
-
var layer = Layer.effect(
|
|
40
|
+
var layer = Layer.effect(Service72, Effect.gen(function* () {
|
|
41
41
|
const bus = yield* Service79;
|
|
42
|
-
const integrations = yield*
|
|
42
|
+
const integrations = yield* Service73;
|
|
43
43
|
const available = (provider, integration) => {
|
|
44
44
|
if (provider.activation === "disabled")
|
|
45
45
|
return false;
|
|
@@ -73,7 +73,7 @@ var layer = Layer.effect(Service47, Effect.gen(function* () {
|
|
|
73
73
|
let current = editor.providers.get(providerID);
|
|
74
74
|
if (!current) {
|
|
75
75
|
current = {
|
|
76
|
-
provider:
|
|
76
|
+
provider: Info33.empty(providerID),
|
|
77
77
|
models: new Map
|
|
78
78
|
};
|
|
79
79
|
editor.providers.set(providerID, current);
|
|
@@ -91,12 +91,12 @@ var layer = Layer.effect(Service47, Effect.gen(function* () {
|
|
|
91
91
|
let record = editor.providers.get(providerID);
|
|
92
92
|
if (!record) {
|
|
93
93
|
record = {
|
|
94
|
-
provider:
|
|
94
|
+
provider: Info33.empty(providerID),
|
|
95
95
|
models: new Map
|
|
96
96
|
};
|
|
97
97
|
editor.providers.set(providerID, record);
|
|
98
98
|
}
|
|
99
|
-
const model = record.models.get(modelID) ??
|
|
99
|
+
const model = record.models.get(modelID) ?? Info32.default(providerID, modelID);
|
|
100
100
|
if (!record.models.has(modelID))
|
|
101
101
|
record.models.set(modelID, model);
|
|
102
102
|
fn(model);
|
|
@@ -130,7 +130,7 @@ var layer = Layer.effect(Service47, Effect.gen(function* () {
|
|
|
130
130
|
}),
|
|
131
131
|
available: Effect.fn("Catalog.provider.available")(function* () {
|
|
132
132
|
const active = new Map((yield* integrations.list()).map((integration) => [integration.id, integration]));
|
|
133
|
-
return (yield* result.provider.all()).filter((provider) => available(provider, active.get(provider.integrationID ??
|
|
133
|
+
return (yield* result.provider.all()).filter((provider) => available(provider, active.get(provider.integrationID ?? ID13.make(provider.id))));
|
|
134
134
|
})
|
|
135
135
|
},
|
|
136
136
|
model: {
|
|
@@ -185,9 +185,9 @@ var layer = Layer.effect(Service47, Effect.gen(function* () {
|
|
|
185
185
|
})
|
|
186
186
|
}
|
|
187
187
|
};
|
|
188
|
-
return
|
|
188
|
+
return Service72.of(result);
|
|
189
189
|
}));
|
|
190
190
|
var SMALL_MODEL_FAMILY_PRIORITY = ["gpt-luna", "gemini-flash-lite", "gemini-flash", "claude-haiku"];
|
|
191
|
-
var
|
|
191
|
+
var node77 = makeLocationNode({ service: Service72, layer, deps: [node84, node78] });
|
|
192
192
|
|
|
193
|
-
export {
|
|
193
|
+
export { Service72, node77, exports_catalog2, Event16 };
|
|
@@ -1,29 +1,29 @@
|
|
|
1
1
|
import {
|
|
2
|
-
|
|
3
|
-
} from "./
|
|
2
|
+
Service48
|
|
3
|
+
} from "./filesystem-hef24fn2.js";
|
|
4
4
|
import {
|
|
5
|
-
|
|
6
|
-
} from "./
|
|
5
|
+
Service11
|
|
6
|
+
} from "./filesystem-041s7t4d.js";
|
|
7
7
|
import {
|
|
8
8
|
observe2
|
|
9
|
-
} from "./
|
|
9
|
+
} from "./filesystem-qsdy395h.js";
|
|
10
10
|
import {
|
|
11
11
|
__export
|
|
12
|
-
} from "./
|
|
12
|
+
} from "./filesystem-9rqn6x4v.js";
|
|
13
13
|
|
|
14
14
|
// src/config/plugin/compaction.ts
|
|
15
15
|
var exports_compaction = {};
|
|
16
16
|
__export(exports_compaction, {
|
|
17
17
|
ConfigCompactionPlugin: () => exports_compaction,
|
|
18
|
-
Plugin: () =>
|
|
18
|
+
Plugin: () => Plugin12
|
|
19
19
|
});
|
|
20
20
|
import { define } from "@opencode/plugin/effect/plugin";
|
|
21
21
|
import { Effect } from "effect";
|
|
22
|
-
var
|
|
22
|
+
var Plugin12 = define({
|
|
23
23
|
id: "opencode.config.compaction",
|
|
24
24
|
effect: Effect.fn(function* (ctx) {
|
|
25
|
-
const config = yield*
|
|
26
|
-
const compaction = yield*
|
|
25
|
+
const config = yield* Service48;
|
|
26
|
+
const compaction = yield* Service11;
|
|
27
27
|
const loaded = yield* observe2(config, ctx.event, compaction.reload());
|
|
28
28
|
yield* compaction.transform((editor) => {
|
|
29
29
|
for (const entry of loaded.entries) {
|
|
@@ -39,4 +39,4 @@ var Plugin4 = define({
|
|
|
39
39
|
})
|
|
40
40
|
});
|
|
41
41
|
|
|
42
|
-
export {
|
|
42
|
+
export { Plugin12, exports_compaction };
|
|
@@ -1,32 +1,32 @@
|
|
|
1
1
|
import {
|
|
2
2
|
Service79,
|
|
3
3
|
node84
|
|
4
|
-
} from "./
|
|
4
|
+
} from "./filesystem-dsyn576s.js";
|
|
5
5
|
import {
|
|
6
6
|
create3
|
|
7
|
-
} from "./
|
|
7
|
+
} from "./filesystem-kg06axw8.js";
|
|
8
8
|
import {
|
|
9
9
|
evaluate2
|
|
10
|
-
} from "./
|
|
10
|
+
} from "./filesystem-87bjq7d8.js";
|
|
11
11
|
import {
|
|
12
12
|
__export
|
|
13
|
-
} from "./
|
|
13
|
+
} from "./filesystem-9rqn6x4v.js";
|
|
14
14
|
|
|
15
15
|
// src/skill.ts
|
|
16
16
|
var exports_skill5 = {};
|
|
17
17
|
__export(exports_skill5, {
|
|
18
18
|
DirectorySource: () => DirectorySource2,
|
|
19
19
|
EmbeddedSource: () => EmbeddedSource2,
|
|
20
|
-
Event: () =>
|
|
21
|
-
ID: () =>
|
|
22
|
-
Info: () =>
|
|
20
|
+
Event: () => Event5,
|
|
21
|
+
ID: () => ID4,
|
|
22
|
+
Info: () => Info5,
|
|
23
23
|
Name: () => Name2,
|
|
24
|
-
Service: () =>
|
|
24
|
+
Service: () => Service30,
|
|
25
25
|
Skill: () => exports_skill5,
|
|
26
|
-
Source: () =>
|
|
26
|
+
Source: () => Source3,
|
|
27
27
|
UrlSource: () => UrlSource2,
|
|
28
28
|
available: () => available2,
|
|
29
|
-
node: () =>
|
|
29
|
+
node: () => node34,
|
|
30
30
|
prepare: () => prepare3,
|
|
31
31
|
toModelOutput: () => toModelOutput3
|
|
32
32
|
});
|
|
@@ -34,13 +34,13 @@ import { makeLocationNode } from "@opencode/util/effect/app-node";
|
|
|
34
34
|
import path from "path";
|
|
35
35
|
import { Context, Effect, Layer } from "effect";
|
|
36
36
|
import { Skill } from "@opencode/schema/skill";
|
|
37
|
-
import { Event as
|
|
37
|
+
import { Event as Event5 } from "@opencode/schema/skill";
|
|
38
38
|
var DirectorySource2 = Skill.DirectorySource;
|
|
39
39
|
var UrlSource2 = Skill.UrlSource;
|
|
40
40
|
var EmbeddedSource2 = Skill.EmbeddedSource;
|
|
41
|
-
var
|
|
42
|
-
var
|
|
43
|
-
var
|
|
41
|
+
var Source3 = Skill.Source;
|
|
42
|
+
var Info5 = Skill.Info;
|
|
43
|
+
var ID4 = Skill.ID;
|
|
44
44
|
var Name2 = Skill.Name;
|
|
45
45
|
var available2 = (skills, agent) => skills.filter((skill) => evaluate2("skill", skill.id, agent.permissions).effect !== "deny");
|
|
46
46
|
var toModelOutput3 = (skill, files) => {
|
|
@@ -71,33 +71,33 @@ var prepare3 = Effect.fn("Skill.prepare")(function* (fs, skill) {
|
|
|
71
71
|
};
|
|
72
72
|
});
|
|
73
73
|
|
|
74
|
-
class
|
|
74
|
+
class Service30 extends Context.Service()("@opencode/Skill") {
|
|
75
75
|
}
|
|
76
|
-
var layer = Layer.effect(
|
|
76
|
+
var layer = Layer.effect(Service30, Effect.gen(function* () {
|
|
77
77
|
const bus = yield* Service79;
|
|
78
78
|
const state = create3({
|
|
79
79
|
name: "skill",
|
|
80
80
|
initial: () => ({ skills: new Map }),
|
|
81
81
|
editor: (editor) => ({
|
|
82
82
|
list: () => Array.from(editor.skills.values()),
|
|
83
|
-
get: (id) => editor.skills.get(
|
|
83
|
+
get: (id) => editor.skills.get(ID4.make(id)),
|
|
84
84
|
add: (skill) => {
|
|
85
85
|
editor.skills.set(skill.id, { ...skill });
|
|
86
86
|
},
|
|
87
87
|
update: (id, update) => {
|
|
88
|
-
const current = editor.skills.get(
|
|
88
|
+
const current = editor.skills.get(ID4.make(id));
|
|
89
89
|
if (!current)
|
|
90
90
|
return;
|
|
91
91
|
update(current);
|
|
92
|
-
current.id =
|
|
92
|
+
current.id = ID4.make(id);
|
|
93
93
|
},
|
|
94
94
|
remove: (id) => {
|
|
95
|
-
editor.skills.delete(
|
|
95
|
+
editor.skills.delete(ID4.make(id));
|
|
96
96
|
}
|
|
97
97
|
}),
|
|
98
98
|
notify: () => bus.publish(Skill.Event.Updated, {}).pipe(Effect.asVoid)
|
|
99
99
|
});
|
|
100
|
-
return
|
|
100
|
+
return Service30.of({
|
|
101
101
|
transform: state.transform,
|
|
102
102
|
reload: state.reload,
|
|
103
103
|
get: Effect.fn("Skill.get")(function* (id) {
|
|
@@ -108,10 +108,10 @@ var layer = Layer.effect(Service68, Effect.gen(function* () {
|
|
|
108
108
|
})
|
|
109
109
|
});
|
|
110
110
|
}));
|
|
111
|
-
var
|
|
112
|
-
service:
|
|
111
|
+
var node34 = makeLocationNode({
|
|
112
|
+
service: Service30,
|
|
113
113
|
layer,
|
|
114
114
|
deps: [node84]
|
|
115
115
|
});
|
|
116
116
|
|
|
117
|
-
export { DirectorySource2, UrlSource2, EmbeddedSource2,
|
|
117
|
+
export { DirectorySource2, UrlSource2, EmbeddedSource2, Source3, Info5, ID4, Name2, available2, toModelOutput3, prepare3, Service30, node34, exports_skill5, Event5 };
|
|
@@ -1,20 +1,20 @@
|
|
|
1
1
|
import {
|
|
2
2
|
makeUnsafe2
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./filesystem-y71avatq.js";
|
|
4
4
|
import {
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
} from "./
|
|
5
|
+
Service65,
|
|
6
|
+
node69
|
|
7
|
+
} from "./filesystem-v5eees2g.js";
|
|
8
8
|
import {
|
|
9
9
|
__export
|
|
10
|
-
} from "./
|
|
10
|
+
} from "./filesystem-9rqn6x4v.js";
|
|
11
11
|
|
|
12
12
|
// src/file-mutation.ts
|
|
13
13
|
var exports_file_mutation = {};
|
|
14
14
|
__export(exports_file_mutation, {
|
|
15
15
|
FileMutation: () => exports_file_mutation,
|
|
16
|
-
Service: () =>
|
|
17
|
-
node: () =>
|
|
16
|
+
Service: () => Service64,
|
|
17
|
+
node: () => node68,
|
|
18
18
|
readText: () => readText2,
|
|
19
19
|
syncTextBom: () => syncTextBom2
|
|
20
20
|
});
|
|
@@ -22,7 +22,7 @@ import { makeLocationNode } from "@opencode/util/effect/app-node";
|
|
|
22
22
|
import { Context, Effect, Layer } from "effect";
|
|
23
23
|
import { FSUtil } from "@opencode/util/fs-util";
|
|
24
24
|
import { Bom } from "@opencode/util/bom";
|
|
25
|
-
class
|
|
25
|
+
class Service64 extends Context.Service()("@opencode/FileMutation") {
|
|
26
26
|
}
|
|
27
27
|
var readText2 = Effect.fn("FileMutation.readText")(function* (files, target) {
|
|
28
28
|
return Bom.decodeBytes((yield* files.read(target)).bytes);
|
|
@@ -34,8 +34,8 @@ var syncTextBom2 = Effect.fn("FileMutation.syncTextBom")(function* (files, targe
|
|
|
34
34
|
return synced.text;
|
|
35
35
|
});
|
|
36
36
|
var transactionLocks = makeUnsafe2();
|
|
37
|
-
var layer = Layer.effect(
|
|
38
|
-
const environment = yield*
|
|
37
|
+
var layer = Layer.effect(Service64, Effect.gen(function* () {
|
|
38
|
+
const environment = yield* Service65;
|
|
39
39
|
const locks = makeUnsafe2();
|
|
40
40
|
const withLock = (targets) => (effect) => [...new Set(targets.map(FSUtil.resolve))].sort().reduceRight((result, target) => transactionLocks.withLock(target)(result), effect);
|
|
41
41
|
const withTargetLock = (target) => (effect) => locks.withLock(target.absolute)(Effect.uninterruptible(effect));
|
|
@@ -56,8 +56,8 @@ var layer = Layer.effect(Service51, Effect.gen(function* () {
|
|
|
56
56
|
yield* environment.files.write(input.target.absolute, new TextEncoder().encode(Bom.join(next.text, Boolean(current && Bom.has(current)) || next.bom)));
|
|
57
57
|
return writeResult(input.target, current !== undefined);
|
|
58
58
|
})));
|
|
59
|
-
return
|
|
59
|
+
return Service64.of({ withLock, write, writeTextPreservingBom });
|
|
60
60
|
}));
|
|
61
|
-
var
|
|
61
|
+
var node68 = makeLocationNode({ service: Service64, layer, deps: [node69] });
|
|
62
62
|
|
|
63
|
-
export {
|
|
63
|
+
export { Service64, readText2, syncTextBom2, node68, exports_file_mutation };
|
|
@@ -1,20 +1,20 @@
|
|
|
1
1
|
import {
|
|
2
2
|
OAuth3
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./filesystem-79h9wc7p.js";
|
|
4
4
|
import {
|
|
5
|
-
|
|
5
|
+
ID13,
|
|
6
6
|
MethodID2
|
|
7
|
-
} from "./
|
|
7
|
+
} from "./filesystem-bv2jx7pw.js";
|
|
8
8
|
import {
|
|
9
9
|
success2,
|
|
10
10
|
error2
|
|
11
|
-
} from "./
|
|
11
|
+
} from "./filesystem-pjvnvgmy.js";
|
|
12
12
|
|
|
13
13
|
// src/plugin/provider/poe.ts
|
|
14
14
|
import { define } from "@opencode/plugin/effect/plugin";
|
|
15
15
|
import { Clock, Deferred, Effect, Option, Schema } from "effect";
|
|
16
16
|
import { HttpClient, HttpClientRequest, HttpClientResponse } from "effect/unstable/http";
|
|
17
|
-
var integrationID =
|
|
17
|
+
var integrationID = ID13.make("poe");
|
|
18
18
|
var methodID = MethodID2.make("browser");
|
|
19
19
|
var clientID = "client_728290227fc048cc9262091a1ea197ea";
|
|
20
20
|
var issuer = "https://poe.com";
|
|
@@ -2,20 +2,20 @@ import {
|
|
|
2
2
|
NonNegativeInt2,
|
|
3
3
|
PositiveInt2,
|
|
4
4
|
RelativePath2
|
|
5
|
-
} from "./
|
|
5
|
+
} from "./filesystem-922hggd3.js";
|
|
6
6
|
import {
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
} from "./
|
|
7
|
+
Service65,
|
|
8
|
+
node69
|
|
9
|
+
} from "./filesystem-v5eees2g.js";
|
|
10
10
|
import {
|
|
11
|
-
|
|
12
|
-
} from "./
|
|
11
|
+
Content3
|
|
12
|
+
} from "./filesystem-yy6wawb8.js";
|
|
13
13
|
import {
|
|
14
14
|
detect2
|
|
15
|
-
} from "./
|
|
15
|
+
} from "./filesystem-3smtnn6g.js";
|
|
16
16
|
import {
|
|
17
17
|
__export
|
|
18
|
-
} from "./
|
|
18
|
+
} from "./filesystem-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: () => Service5,
|
|
37
37
|
TextPage: () => TextPage2,
|
|
38
|
-
node: () =>
|
|
38
|
+
node: () => node7,
|
|
39
39
|
read: () => read2
|
|
40
40
|
});
|
|
41
41
|
import path from "path";
|
|
@@ -89,7 +89,7 @@ var PageInput2 = Schema.Struct({
|
|
|
89
89
|
});
|
|
90
90
|
var FileContent2 = Schema.Struct({
|
|
91
91
|
type: Schema.Literal("file"),
|
|
92
|
-
...
|
|
92
|
+
...Content3.fields
|
|
93
93
|
}).annotate({ identifier: "ReadTool.FileContent" });
|
|
94
94
|
|
|
95
95
|
class TextPage2 extends Schema.Class("ReadTool.TextPage")({
|
|
@@ -114,7 +114,7 @@ class ListPage2 extends Schema.Class("ReadTool.ListPage")({
|
|
|
114
114
|
}) {
|
|
115
115
|
}
|
|
116
116
|
|
|
117
|
-
class
|
|
117
|
+
class Service5 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(Service5, Effect.gen(function* () {
|
|
330
|
+
const environment = yield* Service65;
|
|
331
|
+
return Service5.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 node7 = makeLocationNode({ service: Service5, layer, deps: [node69] });
|
|
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, Service5, read2, node7, exports_read_filesystem };
|
|
@@ -1,13 +1,13 @@
|
|
|
1
1
|
import {
|
|
2
2
|
directoryColumn2,
|
|
3
3
|
pathColumn2
|
|
4
|
-
} from "./
|
|
4
|
+
} from "./filesystem-6msgmcgs.js";
|
|
5
5
|
import {
|
|
6
6
|
Timestamps2
|
|
7
|
-
} from "./
|
|
7
|
+
} from "./filesystem-qfa1cgps.js";
|
|
8
8
|
import {
|
|
9
9
|
ProjectTable2
|
|
10
|
-
} from "./
|
|
10
|
+
} from "./filesystem-8p4f9s12.js";
|
|
11
11
|
|
|
12
12
|
// src/session/sql.ts
|
|
13
13
|
import { sqliteTable, text, integer, index, primaryKey, real, uniqueIndex } from "drizzle-orm/sqlite-core";
|
|
@@ -1,25 +1,25 @@
|
|
|
1
1
|
import {
|
|
2
|
-
|
|
3
|
-
} from "./
|
|
2
|
+
ID8
|
|
3
|
+
} from "./filesystem-khbvvr7x.js";
|
|
4
4
|
import {
|
|
5
5
|
AbsolutePath2
|
|
6
|
-
} from "./
|
|
6
|
+
} from "./filesystem-922hggd3.js";
|
|
7
7
|
import {
|
|
8
|
-
|
|
9
|
-
} from "./
|
|
8
|
+
Info19
|
|
9
|
+
} from "./filesystem-dhwr7h25.js";
|
|
10
10
|
import {
|
|
11
11
|
migrateAgent2
|
|
12
|
-
} from "./
|
|
12
|
+
} from "./filesystem-439y12vh.js";
|
|
13
13
|
import {
|
|
14
14
|
latest2,
|
|
15
|
-
|
|
16
|
-
} from "./
|
|
15
|
+
Service48
|
|
16
|
+
} from "./filesystem-hef24fn2.js";
|
|
17
17
|
import {
|
|
18
18
|
parseOption2
|
|
19
|
-
} from "./
|
|
19
|
+
} from "./filesystem-5daktx2q.js";
|
|
20
20
|
import {
|
|
21
21
|
__export
|
|
22
|
-
} from "./
|
|
22
|
+
} from "./filesystem-9rqn6x4v.js";
|
|
23
23
|
|
|
24
24
|
// src/config/plugin/agent.ts
|
|
25
25
|
var exports_agent = {};
|
|
@@ -40,14 +40,14 @@ var legacySources = [
|
|
|
40
40
|
];
|
|
41
41
|
var sourceDirectories = ["agent", "agents", "mode", "modes"];
|
|
42
42
|
var decodeAgent = Schema.decodeUnknownOption(ConfigAgent.Info);
|
|
43
|
-
var decodeLegacyAgent = Schema.decodeUnknownOption(
|
|
43
|
+
var decodeLegacyAgent = Schema.decodeUnknownOption(Info19);
|
|
44
44
|
var decodeConfig = Schema.decodeUnknownOption(Info);
|
|
45
45
|
var pathActions = ["external_directory", "read", "edit"];
|
|
46
46
|
var agentKeys = new Set(["variant", ...Object.keys(ConfigAgent.Info.fields)]);
|
|
47
47
|
var Plugin17 = define({
|
|
48
48
|
id: "opencode.config.agent",
|
|
49
49
|
effect: Effect.fn(function* (ctx) {
|
|
50
|
-
const config = yield*
|
|
50
|
+
const config = yield* Service48;
|
|
51
51
|
const fs = yield* FSUtil.Service;
|
|
52
52
|
const global = yield* Global.Service;
|
|
53
53
|
const loadEntry = Effect.fnUntraced(function* (entry) {
|
|
@@ -76,13 +76,13 @@ var Plugin17 = define({
|
|
|
76
76
|
const permissions = expandPermissions(loaded.documents.flatMap((document) => document.info.permissions ?? []), global.home);
|
|
77
77
|
const configuredDefault = latest2(loaded.documents, "default_agent");
|
|
78
78
|
if (configuredDefault !== undefined)
|
|
79
|
-
editor.default(
|
|
79
|
+
editor.default(ID8.make(configuredDefault));
|
|
80
80
|
for (const current of editor.list()) {
|
|
81
81
|
editor.update(current.id, (agent) => agent.permissions.push(...permissions));
|
|
82
82
|
}
|
|
83
83
|
for (const document of loaded.documents) {
|
|
84
84
|
for (const [id, item] of Object.entries(document.info.agents ?? {})) {
|
|
85
|
-
const agentID =
|
|
85
|
+
const agentID = ID8.make(id);
|
|
86
86
|
if (item.disabled) {
|
|
87
87
|
editor.remove(agentID);
|
|
88
88
|
continue;
|