@opencode/core 0.0.0-dev-19610 → 0.0.0-dev-19611
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 +89 -89
- package/dist/aisdk.js +93 -93
- package/dist/app.js +9 -9
- package/dist/bus.js +72 -72
- package/dist/chunks/{shell-zwbb9m0v.js → image-010j0rjj.js} +11 -11
- package/dist/chunks/{shell-yaym739t.js → image-0dr9jjfc.js} +3 -3
- package/dist/chunks/{shell-v5enyfy9.js → image-0evxafpt.js} +10 -10
- package/dist/chunks/{shell-0paq2nw3.js → image-0paq2nw3.js} +1 -1
- package/dist/chunks/{shell-0q0f95c6.js → image-0q0f95c6.js} +1 -1
- package/dist/chunks/{shell-1tceadnv.js → image-0qaz1sfc.js} +11 -11
- package/dist/chunks/{shell-sf7s3xnw.js → image-0xnze9ce.js} +66 -66
- package/dist/chunks/{shell-19qt9ms0.js → image-10fqs124.js} +16 -16
- package/dist/chunks/{shell-s2n5r9er.js → image-1a4hyc8b.js} +30 -30
- package/dist/chunks/{shell-7yh4e7ss.js → image-1bbkgx8g.js} +3 -3
- package/dist/chunks/{shell-1dazxqgg.js → image-1dazxqgg.js} +2 -2
- package/dist/chunks/{shell-z9nnsx8f.js → image-1kgb4aq1.js} +8 -8
- package/dist/chunks/{shell-v8wr64pb.js → image-1z5mtsne.js} +2 -2
- package/dist/chunks/{shell-2a4f6v5q.js → image-1zqsf2j9.js} +8 -8
- package/dist/chunks/{shell-21r38tys.js → image-21r38tys.js} +1 -1
- package/dist/chunks/{shell-xxs5sj5m.js → image-22zy1c33.js} +8 -8
- package/dist/chunks/{shell-2402vzrj.js → image-2402vzrj.js} +1 -1
- package/dist/chunks/{shell-2a5m3afh.js → image-2a5m3afh.js} +1 -1
- package/dist/chunks/{shell-tkg9rxzp.js → image-2c0ya96f.js} +8 -8
- package/dist/chunks/{shell-x9emb11y.js → image-2eh5hdcs.js} +9 -9
- package/dist/chunks/{shell-cee4awht.js → image-30hxd0b6.js} +4 -4
- package/dist/chunks/{shell-58k5q12w.js → image-33dzk201.js} +26 -26
- package/dist/chunks/{shell-56gdpj1q.js → image-33w4ejhs.js} +6 -6
- package/dist/chunks/{shell-p3vxwp2p.js → image-3685kgv2.js} +11 -11
- package/dist/chunks/{shell-3fc6dm20.js → image-3fc6dm20.js} +1 -1
- package/dist/chunks/{shell-3hepkmqq.js → image-3hepkmqq.js} +1 -1
- package/dist/chunks/{shell-xxvph2p0.js → image-3p19zrd2.js} +82 -82
- package/dist/chunks/{shell-3smtnn6g.js → image-3smtnn6g.js} +1 -1
- package/dist/chunks/{shell-60b87sp0.js → image-3t9tj8wy.js} +10 -10
- package/dist/chunks/{shell-3tvqynh2.js → image-3tvqynh2.js} +1 -1
- package/dist/chunks/{shell-aypr84xx.js → image-3wctd9by.js} +16 -16
- package/dist/chunks/{shell-ngts6ef0.js → image-3zykk5as.js} +8 -8
- package/dist/chunks/{shell-yhcttc12.js → image-41kev6en.js} +12 -12
- package/dist/chunks/{shell-gwz5q7xf.js → image-49q20pp7.js} +31 -31
- package/dist/chunks/{shell-vnge3cnh.js → image-4a27vn7r.js} +20 -20
- package/dist/chunks/{shell-r78s3j5q.js → image-4jygvmvn.js} +35 -35
- package/dist/chunks/{shell-ca7n9cfq.js → image-4mfmjxec.js} +9 -9
- package/dist/chunks/{shell-724fmg57.js → image-4n3236zn.js} +12 -12
- package/dist/chunks/{shell-tezxby1z.js → image-4qh8ec8f.js} +4 -4
- package/dist/chunks/{shell-qj5hfmwn.js → image-4vte9j2j.js} +11 -11
- package/dist/chunks/{shell-91tfrhd1.js → image-4w2yzhqg.js} +6 -6
- package/dist/chunks/{shell-shk57n0j.js → image-54tjnctb.js} +11 -11
- package/dist/chunks/{shell-4sn99hha.js → image-57ez7d0k.js} +7 -7
- package/dist/chunks/{shell-gntzjf7q.js → image-59sbn0zz.js} +45 -45
- package/dist/chunks/{shell-0aw7zksj.js → image-5bekvhzp.js} +9 -9
- package/dist/chunks/{shell-j2q2mctg.js → image-5bny2dwb.js} +12 -12
- package/dist/chunks/{shell-csf2jhsg.js → image-5c0f1prt.js} +4 -4
- package/dist/chunks/{shell-a1bz86dw.js → image-5c4hm403.js} +3 -3
- package/dist/chunks/{shell-5daktx2q.js → image-5daktx2q.js} +1 -1
- package/dist/chunks/{shell-vnwmzs4a.js → image-5ebw3s4g.js} +5 -5
- package/dist/chunks/{shell-bz5ac8yj.js → image-5k2nshkd.js} +11 -11
- package/dist/chunks/{shell-e3qxr5gk.js → image-5qd3pb7m.js} +2 -2
- package/dist/chunks/{shell-5t3nmthw.js → image-5t3nmthw.js} +2 -2
- package/dist/chunks/{shell-tb9hrnng.js → image-5wmgxaxj.js} +17 -17
- package/dist/chunks/{shell-844ef7ks.js → image-5xtgfte3.js} +8 -8
- package/dist/chunks/{shell-j5krrq7s.js → image-61s2mknn.js} +32 -32
- package/dist/chunks/{shell-669tq793.js → image-669tq793.js} +1 -1
- package/dist/chunks/{shell-6msgmcgs.js → image-6msgmcgs.js} +1 -1
- package/dist/chunks/{shell-myhx9xq2.js → image-6npptpe2.js} +10 -10
- package/dist/chunks/{shell-shkg2ahe.js → image-6q87w041.js} +57 -57
- package/dist/chunks/{shell-08hjcfds.js → image-6s054ecb.js} +18 -18
- package/dist/chunks/{shell-zrg5zcty.js → image-6ya7w255.js} +9 -9
- package/dist/chunks/{shell-71q4at8m.js → image-71q4at8m.js} +1 -1
- package/dist/chunks/{shell-vkxpz7g2.js → image-7ac170kv.js} +4 -4
- package/dist/chunks/{shell-7bmhse3q.js → image-7bmhse3q.js} +1 -1
- package/dist/chunks/{shell-7dqw4kz8.js → image-7dqw4kz8.js} +1 -1
- package/dist/chunks/{shell-yw5eewpj.js → image-7f40knje.js} +16 -16
- package/dist/chunks/{shell-286ag1vh.js → image-7gmd6s9f.js} +299 -299
- package/dist/chunks/{shell-wztakc2g.js → image-7hqs4pm0.js} +43 -43
- package/dist/chunks/{shell-t44n027g.js → image-7jm5jzq7.js} +16 -16
- package/dist/chunks/{shell-bj86b7kp.js → image-7rjv7hd1.js} +40 -40
- package/dist/chunks/{shell-dg9hzp08.js → image-7s78zkxc.js} +17 -17
- package/dist/chunks/{shell-5k7whcx8.js → image-7sny0gx5.js} +27 -27
- package/dist/chunks/{shell-7r3neg1r.js → image-7wtn6qfv.js} +23 -23
- package/dist/chunks/{shell-kg219d3x.js → image-806p5xqx.js} +28 -28
- package/dist/chunks/{shell-f32czd11.js → image-818pfwc9.js} +11 -11
- package/dist/chunks/{shell-sx1q5qav.js → image-87wkjvtv.js} +21 -21
- package/dist/chunks/{shell-8d7r5vzw.js → image-8d7r5vzw.js} +1 -1
- package/dist/chunks/{shell-8sp2z33n.js → image-8dhatp37.js} +4 -4
- package/dist/chunks/{shell-6d6xcght.js → image-8e1b1gzh.js} +6 -6
- package/dist/chunks/{shell-3ef74p4c.js → image-8r48jvq9.js} +11 -11
- package/dist/chunks/{shell-mtvv3gsd.js → image-8y2shdgp.js} +25 -25
- package/dist/chunks/{shell-vet9mkc8.js → image-922nm86p.js} +38 -38
- package/dist/chunks/{shell-ydkphrk6.js → image-95hsdyye.js} +18 -18
- package/dist/chunks/{shell-ks9y0tx3.js → image-96dvqytq.js} +24 -24
- package/dist/chunks/{shell-4j54dnxn.js → image-98n2zv5b.js} +22 -22
- package/dist/chunks/{shell-d8nc1xcx.js → image-9h41vc4j.js} +4 -4
- package/dist/chunks/{shell-3gqfk94q.js → image-9mvt1ex4.js} +8 -8
- package/dist/chunks/{shell-m7va1g8x.js → image-a3r4dcrj.js} +2 -2
- package/dist/chunks/{shell-4t7xgrp5.js → image-a84h0eb3.js} +26 -26
- package/dist/chunks/{shell-aaet6srn.js → image-aaet6srn.js} +2 -2
- package/dist/chunks/image-ae2tejpt.js +251 -0
- package/dist/chunks/{shell-jvf3yq6v.js → image-afdssyjb.js} +4 -4
- package/dist/chunks/{shell-fgga4tyk.js → image-aj6515bh.js} +42 -42
- package/dist/chunks/{shell-6zttb827.js → image-axf0s4jm.js} +22 -22
- package/dist/chunks/{shell-5wq01ar5.js → image-axyt463m.js} +13 -13
- package/dist/chunks/{shell-r8b7ztcg.js → image-azxt8y52.js} +17 -17
- package/dist/chunks/{shell-vcfd1qyk.js → image-b5f0xpv3.js} +24 -24
- package/dist/chunks/{shell-b6gygkdw.js → image-b6gygkdw.js} +2 -2
- package/dist/chunks/{shell-wn0qm5qp.js → image-bjsxm6fs.js} +15 -15
- package/dist/chunks/{shell-13vh4t13.js → image-bpr49tj0.js} +16 -16
- package/dist/chunks/{shell-m7p8symg.js → image-bva47t1w.js} +7 -7
- package/dist/chunks/{shell-1sr49ngx.js → image-bxtjsyk9.js} +13 -13
- package/dist/chunks/{shell-vz6ekzbd.js → image-c4qbqqm9.js} +14 -14
- package/dist/chunks/{shell-8saayj0p.js → image-c605ygk1.js} +47 -47
- package/dist/chunks/{shell-nemptxrn.js → image-c76sny21.js} +38 -38
- package/dist/chunks/{shell-bz4hpk94.js → image-cacjtj5k.js} +5 -5
- package/dist/chunks/{shell-da7pjdbd.js → image-cbbptew9.js} +15 -15
- package/dist/chunks/{shell-am2x7dha.js → image-cefmkny3.js} +43 -43
- package/dist/chunks/{shell-qk0ppmjd.js → image-cfp1wp84.js} +18 -18
- package/dist/chunks/{shell-xx3aj77c.js → image-ch1hcs5y.js} +41 -41
- package/dist/chunks/{shell-35f3c8ak.js → image-cmra4ph4.js} +94 -94
- package/dist/chunks/{shell-4yzwshaw.js → image-cpce81tk.js} +15 -15
- package/dist/chunks/{shell-7xjyd7zv.js → image-cs2qrq3p.js} +2 -2
- package/dist/chunks/{shell-d3tz2ej1.js → image-d4he2qe1.js} +9 -9
- package/dist/chunks/{shell-85tc3nc8.js → image-d5g3wzfd.js} +18 -18
- package/dist/chunks/{shell-4nqjb4pf.js → image-d7tzj868.js} +20 -20
- package/dist/chunks/{shell-n25js84d.js → image-dh6wvp2k.js} +11 -11
- package/dist/chunks/{shell-gmrsnwh8.js → image-dh976vjg.js} +14 -14
- package/dist/chunks/{shell-8p4f9s12.js → image-dj2t23y0.js} +2 -2
- package/dist/chunks/{shell-jwcy2c2z.js → image-dpkg50ah.js} +4 -4
- package/dist/chunks/{shell-3657zqg5.js → image-dt0jwwwa.js} +26 -26
- package/dist/chunks/{shell-k7gxh26f.js → image-dw06mjkt.js} +13 -13
- package/dist/chunks/{shell-cmmb813z.js → image-e1kg9vz0.js} +56 -56
- package/dist/chunks/{shell-e5nv3ght.js → image-e5nv3ght.js} +2 -2
- package/dist/chunks/{shell-ff0htmxq.js → image-ebah8r6x.js} +6 -6
- package/dist/chunks/{shell-e1tdxk5c.js → image-eeh91h1y.js} +16 -16
- package/dist/chunks/{shell-ef5x83kb.js → image-ef5x83kb.js} +1 -1
- package/dist/chunks/{shell-f00031fc.js → image-enrjqv4h.js} +15 -15
- package/dist/chunks/{shell-8mgmrm9j.js → image-ep9bxrrg.js} +5 -5
- package/dist/chunks/{shell-etq0c3wd.js → image-etq0c3wd.js} +1 -1
- package/dist/chunks/{shell-rhbwnwxm.js → image-ey7m5wa6.js} +13 -13
- package/dist/chunks/{shell-8ymghxqk.js → image-f270k846.js} +36 -36
- package/dist/chunks/{shell-q7436kvy.js → image-f2gth83d.js} +9 -9
- package/dist/chunks/{shell-hmr3ea9n.js → image-f2jvx8nr.js} +5 -5
- package/dist/chunks/{shell-fqax9b7r.js → image-f5crtqgd.js} +169 -169
- package/dist/chunks/{shell-jsj4eyt5.js → image-fgjfhan0.js} +4 -4
- package/dist/chunks/{shell-28aedara.js → image-fhtb1nxk.js} +3 -3
- package/dist/chunks/{shell-bdqrk2vk.js → image-fjvydvzm.js} +4 -4
- package/dist/chunks/{shell-6860rr66.js → image-fr9qgvrp.js} +51 -51
- package/dist/chunks/{shell-28ebf1cb.js → image-fsqzyqf7.js} +18 -18
- package/dist/chunks/{shell-p0b4ytnr.js → image-fvanntqq.js} +4 -4
- package/dist/chunks/{shell-fxbjtjnd.js → image-fxbjtjnd.js} +1 -1
- package/dist/chunks/{shell-axmvebxj.js → image-g190xswt.js} +21 -21
- package/dist/chunks/{shell-apkjg5f1.js → image-g36gcegr.js} +1 -1
- package/dist/chunks/{shell-2n295dmf.js → image-g477egy3.js} +8 -8
- package/dist/chunks/{shell-h967t558.js → image-g7q9pgkk.js} +6 -6
- package/dist/chunks/{shell-gd4qta3r.js → image-gd4qta3r.js} +1 -1
- package/dist/chunks/{shell-rq4xqzzd.js → image-ggv97vhn.js} +4 -4
- package/dist/chunks/{shell-gg94j5y5.js → image-ghtm10aa.js} +6 -6
- package/dist/chunks/{shell-bsp1pkt4.js → image-gse1qw90.js} +12 -12
- package/dist/chunks/{shell-gv6a8nnw.js → image-gv6a8nnw.js} +2 -2
- package/dist/chunks/{shell-m86bnw2c.js → image-gvkmt430.js} +9 -9
- package/dist/chunks/{shell-h03wrkyp.js → image-h03wrkyp.js} +2 -2
- package/dist/chunks/{shell-raxwcv5a.js → image-h5jfkxsw.js} +18 -18
- package/dist/chunks/{shell-5mtzsd3b.js → image-h6r3nrb9.js} +4 -4
- package/dist/chunks/{shell-h6vf3j39.js → image-h6vf3j39.js} +1 -1
- package/dist/chunks/{shell-cgccaycz.js → image-h79m35fy.js} +18 -18
- package/dist/chunks/{shell-f828m53h.js → image-hdnk95c8.js} +2 -2
- package/dist/chunks/{shell-vfx00g3j.js → image-hfn6h9h0.js} +22 -22
- package/dist/chunks/{shell-hjt4xg1x.js → image-hjt4xg1x.js} +1 -1
- package/dist/chunks/{shell-tkwws864.js → image-hjtap0zg.js} +20 -20
- package/dist/chunks/{shell-bdyp82c4.js → image-hnakerc1.js} +7 -7
- package/dist/chunks/{shell-f6dg4s51.js → image-hnbzzefg.js} +24 -24
- package/dist/chunks/{shell-eg7y150x.js → image-hswahs1s.js} +10 -10
- package/dist/chunks/{shell-4zr3jzsn.js → image-hwkbadth.js} +8 -8
- package/dist/chunks/{shell-q7j6kr81.js → image-j2vdbwsr.js} +6 -6
- package/dist/chunks/{shell-j56e64zr.js → image-j56e64zr.js} +1 -1
- package/dist/chunks/{shell-hs3g5x4f.js → image-j5rjq302.js} +6 -6
- package/dist/chunks/{shell-tmaw6k1g.js → image-j66pfzft.js} +5 -5
- package/dist/chunks/{shell-256nx13v.js → image-jexxy024.js} +3 -3
- package/dist/chunks/{shell-xb02k0wq.js → image-jfqtm2ew.js} +4 -4
- package/dist/chunks/{shell-hnf89hr7.js → image-jq1p61tn.js} +9 -9
- package/dist/chunks/{shell-15actg85.js → image-jxphv8sm.js} +38 -38
- package/dist/chunks/{shell-f8gkg4y9.js → image-k1m65rvn.js} +5 -5
- package/dist/chunks/{shell-kv6kzmzw.js → image-kbnc93aj.js} +5 -5
- package/dist/chunks/{shell-czb7hhek.js → image-kbrpdkkr.js} +13 -13
- package/dist/chunks/image-kjz2ypmt.js +26 -0
- package/dist/chunks/{shell-pt4mvj74.js → image-ktwkz8s9.js} +19 -19
- package/dist/chunks/{shell-vzjym1fd.js → image-kvccqq4y.js} +12 -12
- package/dist/chunks/{shell-cfpkc3c9.js → image-m0jqrx5p.js} +2 -2
- package/dist/chunks/{shell-twygzwrg.js → image-m55pfywp.js} +4 -4
- package/dist/chunks/{shell-06cb0fd0.js → image-m5wgsj6n.js} +4 -4
- package/dist/chunks/{shell-dmxnnmbc.js → image-m7pytshy.js} +9 -9
- package/dist/chunks/{shell-m9w0rfyh.js → image-m9w0rfyh.js} +1 -1
- package/dist/chunks/{shell-g99htbkw.js → image-man2vsb5.js} +23 -23
- package/dist/chunks/{shell-8nmhfs9c.js → image-mfz8wse2.js} +11 -11
- package/dist/chunks/{shell-bs5y9wpc.js → image-mqx0de4k.js} +11 -11
- package/dist/chunks/{shell-k943pb70.js → image-n03aapsh.js} +48 -48
- package/dist/chunks/{shell-xa8bg79b.js → image-n17g706s.js} +1 -1
- package/dist/chunks/{shell-4dsybr1x.js → image-n4wre08x.js} +23 -23
- package/dist/chunks/{shell-rq8qh2nn.js → image-nv2ksrja.js} +27 -27
- package/dist/chunks/{shell-yt0fqk68.js → image-p44d8wdy.js} +5 -5
- package/dist/chunks/{shell-de5ahzfz.js → image-p5k166g4.js} +15 -15
- package/dist/chunks/{shell-8q0t0smx.js → image-pe73xtx4.js} +1 -1
- package/dist/chunks/{shell-pjvnvgmy.js → image-pjvnvgmy.js} +1 -1
- package/dist/chunks/{shell-xdaabq9e.js → image-pk7fv021.js} +5 -5
- package/dist/chunks/{shell-pknna89w.js → image-pknna89w.js} +1 -1
- package/dist/chunks/{shell-bct739vz.js → image-pmr4s4kc.js} +4 -4
- package/dist/chunks/{shell-zhgb2amq.js → image-ppz8g910.js} +30 -30
- package/dist/chunks/{shell-jm7w29aj.js → image-prq0wc4d.js} +27 -27
- package/dist/chunks/{shell-t38tzg53.js → image-pvrrebnp.js} +17 -17
- package/dist/chunks/{shell-a0b5fdkw.js → image-pvvjbe5v.js} +30 -30
- package/dist/chunks/{shell-bfjqsf6d.js → image-q594ctnf.js} +30 -30
- package/dist/chunks/image-qapv375x.js +4 -0
- package/dist/chunks/{shell-4ymq8kc4.js → image-qbjqdxea.js} +36 -36
- package/dist/chunks/{shell-jz6dexdk.js → image-qmh473g3.js} +29 -29
- package/dist/chunks/{shell-5p8jzcnz.js → image-qnevtc5c.js} +29 -29
- package/dist/chunks/{shell-qsdy395h.js → image-qsdy395h.js} +1 -1
- package/dist/chunks/{shell-a271x0pd.js → image-qw34z0mz.js} +13 -13
- package/dist/chunks/{shell-5wrt214j.js → image-qz348hxe.js} +4 -4
- package/dist/chunks/{shell-wn3yryga.js → image-r60qs0tf.js} +15 -15
- package/dist/chunks/{shell-yp2x3t23.js → image-r8xr0va3.js} +4 -4
- package/dist/chunks/{shell-r9mregkx.js → image-r9mregkx.js} +2 -2
- package/dist/chunks/{shell-rap9a73h.js → image-rap9a73h.js} +1 -1
- package/dist/chunks/{shell-wc2samf7.js → image-rd23nqx6.js} +23 -23
- package/dist/chunks/{shell-rdw6cm16.js → image-rdw6cm16.js} +1 -1
- package/dist/chunks/{shell-11nyajgd.js → image-ret12whd.js} +1 -1
- package/dist/chunks/{shell-f58gpcny.js → image-rwmg7s8f.js} +9 -9
- package/dist/chunks/{shell-nj8bs39t.js → image-s1nnrw4q.js} +6 -6
- package/dist/chunks/{shell-fk5v58mc.js → image-s7yhcq7p.js} +11 -11
- package/dist/chunks/{shell-0gdmqesm.js → image-s8d7rejh.js} +4 -4
- package/dist/chunks/{shell-84bp84rj.js → image-saseaz33.js} +6 -6
- package/dist/chunks/{shell-hjfxv1hf.js → image-sbs223z4.js} +7 -7
- package/dist/chunks/{shell-fbw0akyd.js → image-ssnhfp6a.js} +9 -9
- package/dist/chunks/{shell-3h03gnyd.js → image-sssgmf7d.js} +27 -27
- package/dist/chunks/{shell-fekeaz39.js → image-sy6qbg9d.js} +3 -3
- package/dist/chunks/{shell-2qp6y8xf.js → image-t0fxg8b9.js} +5 -5
- package/dist/chunks/{shell-s45sawj9.js → image-t0wbe1cv.js} +4 -4
- package/dist/chunks/{shell-j22hf46x.js → image-t1fh5c1n.js} +5 -5
- package/dist/chunks/{shell-vq3jpdg0.js → image-t676541r.js} +11 -11
- package/dist/chunks/{shell-q12fghcp.js → image-t7vkg8np.js} +26 -26
- package/dist/chunks/{shell-tazgh4e4.js → image-tazgh4e4.js} +1 -1
- package/dist/chunks/{shell-9b2gkdkm.js → image-tb6c5549.js} +22 -22
- package/dist/chunks/{shell-tcezcvh9.js → image-tcezcvh9.js} +1 -1
- package/dist/chunks/{shell-tdstcens.js → image-tdstcens.js} +1 -1
- package/dist/chunks/{shell-bcgxfqk7.js → image-tv9x8hxg.js} +12 -12
- package/dist/chunks/{shell-tvtrv512.js → image-tvtrv512.js} +1 -1
- package/dist/chunks/{shell-eyhpk03x.js → image-v6vfg88f.js} +11 -11
- package/dist/chunks/{shell-py8w2btc.js → image-v8g0avwf.js} +9 -9
- package/dist/chunks/{shell-c5n3h355.js → image-v90b78v5.js} +23 -23
- package/dist/chunks/{shell-hka8yjdz.js → image-ve1hctsm.js} +27 -27
- package/dist/chunks/{shell-veqvce7d.js → image-veqvce7d.js} +1 -1
- package/dist/chunks/{shell-gm46a55d.js → image-vs59tkqa.js} +8 -8
- package/dist/chunks/{shell-vzcthcp8.js → image-vzcthcp8.js} +1 -1
- package/dist/chunks/{shell-ysm27kyh.js → image-vzvpgcjq.js} +10 -10
- package/dist/chunks/{shell-w3wsvvr9.js → image-w3wsvvr9.js} +1 -1
- package/dist/chunks/{shell-5kbrmkke.js → image-w94394wb.js} +27 -27
- package/dist/chunks/{shell-b1hg7rtt.js → image-w97vtpxb.js} +1 -1
- package/dist/chunks/{shell-tb399yc8.js → image-waxe3yd1.js} +11 -11
- package/dist/chunks/{shell-wd87259q.js → image-wd87259q.js} +1 -1
- package/dist/chunks/{shell-y3nkzwnm.js → image-wde5h6bz.js} +28 -28
- package/dist/chunks/{shell-q0fgvcgb.js → image-whzj9w6d.js} +13 -13
- package/dist/chunks/{shell-x1ezjp6w.js → image-x1ezjp6w.js} +1 -1
- package/dist/chunks/{shell-jamwgqsw.js → image-x497tgc1.js} +5 -5
- package/dist/chunks/{shell-krapdeg3.js → image-x9afmtav.js} +33 -33
- package/dist/chunks/{shell-ky853516.js → image-xc5tp58y.js} +34 -34
- package/dist/chunks/{shell-5rtg8v4f.js → image-xe94yqgp.js} +6 -6
- package/dist/chunks/{shell-kbdz3wd2.js → image-xrrhyath.js} +34 -34
- package/dist/chunks/{shell-vq7zxmz5.js → image-xx4v3z4y.js} +20 -20
- package/dist/chunks/{shell-n64z6ayh.js → image-y18b782a.js} +17 -17
- package/dist/chunks/{shell-y1fvbwt7.js → image-y1fvbwt7.js} +1 -1
- package/dist/chunks/{shell-g15mg1fp.js → image-y2n85772.js} +11 -11
- package/dist/chunks/{shell-0p4j4cv0.js → image-y56ehv6b.js} +9 -9
- package/dist/chunks/{shell-yqcnkns9.js → image-y8bs7pn1.js} +25 -25
- package/dist/chunks/{shell-pjcjb8bs.js → image-ybhbtxjg.js} +9 -9
- package/dist/chunks/{shell-er21d9gb.js → image-ydv41jj4.js} +9 -9
- package/dist/chunks/{shell-y992ahjm.js → image-ygkn4pcb.js} +1 -1
- package/dist/chunks/{shell-jv01nqvq.js → image-yjptyezs.js} +5 -5
- package/dist/chunks/{shell-znbb05ss.js → image-yngbnjdn.js} +16 -16
- package/dist/chunks/{shell-yrhqyw5v.js → image-yrhqyw5v.js} +1 -1
- package/dist/chunks/{shell-s4enseaf.js → image-yrznvahk.js} +2 -2
- package/dist/chunks/{shell-tj413h3v.js → image-yxa2jv7b.js} +13 -13
- package/dist/chunks/{shell-0bvq92zm.js → image-yzvrqxqx.js} +21 -21
- package/dist/chunks/{shell-z0bkrqjs.js → image-z0bkrqjs.js} +1 -1
- package/dist/chunks/{shell-29x78va6.js → image-z63w68vq.js} +6 -6
- package/dist/chunks/{shell-98depksn.js → image-zbhf92rx.js} +22 -22
- package/dist/chunks/{shell-zeh9ct20.js → image-zeh9ct20.js} +2 -2
- package/dist/chunks/{shell-ts2x07a1.js → image-zhq6vg7a.js} +1 -1
- package/dist/chunks/{shell-zr2ceqn5.js → image-zr2ceqn5.js} +1 -1
- package/dist/chunks/{shell-n3ej18g3.js → image-zrpcnpdy.js} +29 -29
- package/dist/chunks/{shell-tnsmn68n.js → image-zsfad6mw.js} +18 -18
- package/dist/chunks/{shell-4nt81eez.js → image-zt441g4g.js} +19 -19
- package/dist/chunks/{shell-zxq2ej10.js → image-zxq2ej10.js} +1 -1
- 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 +78 -78
- package/dist/config/discovery.js +81 -81
- package/dist/config/markdown.js +1 -1
- package/dist/config/normalize.js +105 -105
- package/dist/config/plugin/agent.js +124 -124
- package/dist/config/plugin/command.js +213 -213
- package/dist/config/plugin/compaction.js +159 -159
- package/dist/config/plugin/compatibility.js +140 -140
- package/dist/config/plugin/entry-observer.js +1 -1
- package/dist/config/plugin/formatter.js +123 -123
- package/dist/config/plugin/image.js +122 -122
- package/dist/config/plugin/instruction.js +89 -89
- package/dist/config/plugin/location-watcher.js +122 -122
- package/dist/config/plugin/mcp.js +131 -131
- package/dist/config/plugin/policy.js +122 -122
- package/dist/config/plugin/provider.js +121 -121
- package/dist/config/plugin/reference.js +124 -124
- package/dist/config/plugin/shell.js +122 -122
- package/dist/config/plugin/skill-file.js +101 -101
- package/dist/config/plugin/skill.js +143 -143
- package/dist/config/plugin/snapshot.js +122 -122
- package/dist/config/plugin/source.js +123 -123
- package/dist/config/plugin/tool-output.js +124 -124
- package/dist/config/plugin/websearch.js +121 -121
- package/dist/config/plugin/worktree.js +125 -125
- package/dist/config/variable.js +3 -3
- package/dist/config/watch.js +1 -1
- package/dist/config.js +125 -125
- package/dist/credential/sql.js +2 -2
- package/dist/credential.js +80 -80
- 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 +365 -365
- 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 +92 -92
- package/dist/environment/exec-defaults.js +2 -2
- package/dist/environment/files.js +1 -1
- package/dist/environment/index.js +94 -94
- 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 +73 -73
- package/dist/file-access.js +103 -103
- package/dist/file-mutation.js +93 -93
- 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 +223 -223
- package/dist/filesystem/protected.js +1 -1
- package/dist/filesystem/search.js +102 -102
- package/dist/filesystem/watcher-binding.js +3 -3
- package/dist/filesystem/watcher.js +13 -13
- package/dist/filesystem.js +105 -105
- package/dist/form.js +77 -77
- package/dist/formatter/builtins.js +4 -4
- package/dist/formatter.js +82 -82
- package/dist/generate.js +99 -99
- package/dist/git.js +10 -10
- 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 +90 -90
- 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 +356 -356
- package/dist/instruction-discovery.js +80 -80
- package/dist/instructions/builtins.js +86 -86
- package/dist/instructions/index.js +3 -3
- package/dist/integration/connection.js +3 -3
- package/dist/integration.js +83 -83
- package/dist/job.js +78 -78
- package/dist/kv/sql.js +2 -2
- package/dist/kv.js +72 -72
- package/dist/location-activity.js +135 -135
- package/dist/location-mutation.js +103 -103
- package/dist/location-service-map.js +85 -85
- package/dist/location-services.js +353 -353
- package/dist/location.js +86 -86
- package/dist/mcp/client.js +90 -90
- package/dist/mcp/index.js +107 -107
- package/dist/mcp/instructions.js +124 -124
- package/dist/mcp/oauth.js +77 -77
- package/dist/mcp/stdio.js +89 -89
- package/dist/mime.js +1 -1
- package/dist/modal/models.js +90 -90
- package/dist/model-resolver.js +98 -98
- package/dist/model.js +97 -97
- package/dist/models-dev.js +105 -105
- 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 +112 -112
- package/dist/persistent-pty/binary.bun.js +1 -1
- package/dist/persistent-pty/daemon.js +1 -1
- package/dist/persistent-pty/index.js +87 -87
- package/dist/persistent-pty/pty-binding.js +1 -1
- package/dist/persistent-pty.js +74 -74
- package/dist/plugin/agent.js +103 -103
- package/dist/plugin/command.js +100 -100
- package/dist/plugin/hooks.js +5 -5
- package/dist/plugin/host.js +216 -216
- package/dist/plugin/instance.js +5 -5
- package/dist/plugin/internal.js +327 -327
- package/dist/plugin/mcp-codemode-exclusion.js +3 -3
- package/dist/plugin/models-dev.js +94 -94
- package/dist/plugin/module.js +7 -7
- package/dist/plugin/optimize.js +4 -4
- package/dist/plugin/plan.js +101 -101
- package/dist/plugin/promise.js +1 -1
- package/dist/plugin/provider/alibaba.js +2 -2
- package/dist/plugin/provider/amazon-bedrock.js +89 -89
- package/dist/plugin/provider/azure.js +121 -121
- package/dist/plugin/provider/cerebras.js +89 -89
- package/dist/plugin/provider/cloudflare-ai-gateway.js +121 -121
- package/dist/plugin/provider/cloudflare-workers-ai.js +121 -121
- package/dist/plugin/provider/cohere.js +2 -2
- package/dist/plugin/provider/configured.js +118 -118
- package/dist/plugin/provider/digitalocean.js +92 -92
- 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 +92 -92
- package/dist/plugin/provider/gitlab.js +90 -90
- package/dist/plugin/provider/google-vertex.js +89 -89
- package/dist/plugin/provider/kilo.js +89 -89
- package/dist/plugin/provider/llmgateway.js +89 -89
- package/dist/plugin/provider/lmstudio.js +121 -121
- package/dist/plugin/provider/modal.js +91 -91
- package/dist/plugin/provider/nvidia.js +89 -89
- package/dist/plugin/provider/ollama.js +121 -121
- package/dist/plugin/provider/openai-compatible.js +1 -1
- package/dist/plugin/provider/openai.js +93 -93
- package/dist/plugin/provider/opencode.js +92 -92
- package/dist/plugin/provider/openrouter.js +90 -90
- package/dist/plugin/provider/perplexity.js +2 -2
- package/dist/plugin/provider/poe.js +77 -77
- package/dist/plugin/provider/sap-ai-core.js +90 -90
- package/dist/plugin/provider/sdk-factory.js +1 -1
- package/dist/plugin/provider/snowflake-cortex.js +121 -121
- package/dist/plugin/provider/venice.js +2 -2
- package/dist/plugin/provider/vercel.js +89 -89
- package/dist/plugin/provider/vllm.js +121 -121
- package/dist/plugin/provider/xai.js +90 -90
- package/dist/plugin/provider/zenmux.js +89 -89
- package/dist/plugin/provider.js +159 -159
- package/dist/plugin/sdk.js +75 -75
- package/dist/plugin/service.js +1 -1
- package/dist/plugin/skill.js +140 -140
- package/dist/plugin/source-directory.js +1 -1
- package/dist/plugin/supervisor.js +346 -346
- package/dist/plugin/update.js +6 -6
- package/dist/plugin/variant.js +91 -91
- package/dist/plugin/vcs/git.js +85 -85
- package/dist/plugin/vcs/hg.js +85 -85
- package/dist/plugin/warming.js +120 -120
- 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 +4 -4
- 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 +219 -219
- package/dist/project/schema.js +6 -6
- package/dist/project/sql.js +4 -4
- package/dist/project.js +87 -87
- package/dist/provider.js +96 -96
- 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 +97 -97
- package/dist/reference/instructions.js +88 -88
- package/dist/reference.js +82 -82
- package/dist/repository-cache.js +80 -80
- package/dist/repository.js +1 -1
- package/dist/ripgrep/binary.js +2 -2
- package/dist/ripgrep.js +94 -94
- package/dist/rpc.js +85 -85
- package/dist/schema.js +1 -1
- package/dist/session/command.js +73 -73
- package/dist/session/compaction.js +133 -133
- package/dist/session/context.js +151 -151
- package/dist/session/diff.js +87 -87
- 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 +223 -223
- package/dist/session/execution.js +128 -128
- package/dist/session/generate.js +150 -150
- package/dist/session/history.js +15 -15
- package/dist/session/inbox.js +89 -89
- 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 +96 -96
- 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 +7 -7
- package/dist/session/move.js +130 -130
- package/dist/session/projector.js +85 -85
- package/dist/session/prompt.js +104 -104
- package/dist/session/provider-context.js +3 -3
- package/dist/session/revert.js +89 -89
- package/dist/session/run-coordinator.js +3 -3
- package/dist/session/runner/index.js +3 -3
- package/dist/session/runner/llm.js +228 -228
- package/dist/session/runner/max-steps.js +1 -1
- package/dist/session/runner/model.js +98 -98
- package/dist/session/runner/publish-llm-event.js +3 -3
- package/dist/session/runner/retry.js +114 -114
- package/dist/session/runner/step.js +125 -125
- package/dist/session/runner/to-llm-message.js +2 -2
- package/dist/session/schema.js +5 -5
- package/dist/session/session.js +170 -170
- package/dist/session/shell.js +137 -137
- package/dist/session/skill.js +102 -102
- 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 +209 -209
- package/dist/session/system-prompt.js +1 -1
- package/dist/session/title.js +155 -155
- package/dist/session/to-session-error.js +111 -111
- package/dist/session/transfer.js +219 -219
- package/dist/session/usage.js +1 -1
- package/dist/session.js +219 -219
- 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 +15 -15
- package/dist/shell.js +139 -139
- package/dist/skill/discovery.js +6 -6
- package/dist/skill/instructions.js +106 -106
- package/dist/skill.js +105 -105
- package/dist/snapshot.js +90 -90
- 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 +119 -119
- package/dist/tool/plugin/file-diff.js +1 -1
- package/dist/tool/plugin/glob.js +115 -115
- package/dist/tool/plugin/grep.js +123 -123
- package/dist/tool/plugin/opencode.js +3 -3
- package/dist/tool/plugin/patch.js +121 -121
- package/dist/tool/plugin/question.js +102 -102
- package/dist/tool/plugin/read.js +124 -124
- package/dist/tool/plugin/shell.js +214 -214
- package/dist/tool/plugin/skill.js +110 -110
- package/dist/tool/plugin/subagent.js +216 -216
- package/dist/tool/plugin/webfetch.js +107 -107
- package/dist/tool/plugin/websearch.js +111 -111
- package/dist/tool/plugin/write.js +119 -119
- package/dist/tool/read-filesystem.js +99 -99
- 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/git-executable.js +2 -2
- 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 +3 -3
- package/dist/v1/config/config.js +16 -16
- package/dist/v1/config/error.js +4 -4
- 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 +91 -91
- package/dist/v1/config/permission.js +7 -7
- package/dist/v1/config/plugin.js +1 -1
- 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 +83 -83
- package/dist/wellknown/plugin.js +73 -73
- package/dist/wellknown.js +80 -80
- package/dist/workspace/driver.js +5 -5
- package/dist/workspace/sql.js +1 -1
- package/dist/workspace.js +79 -79
- package/dist/worktree/directory.js +2 -2
- package/dist/worktree/git.js +8 -8
- package/dist/worktree/refresh.js +345 -345
- package/dist/worktree/sql.js +5 -5
- package/dist/worktree.js +95 -95
- package/package.json +8 -8
- package/dist/chunks/shell-5y2ymaq7.js +0 -26
- package/dist/chunks/shell-6kdq0pjd.js +0 -4
- package/dist/chunks/shell-deqxj2db.js +0 -251
- /package/dist/chunks/{shell-0qkdqm5v.js → image-0qkdqm5v.js} +0 -0
- /package/dist/chunks/{shell-0zkw76rk.js → image-0zkw76rk.js} +0 -0
- /package/dist/chunks/{shell-17cy0kzp.js → image-17cy0kzp.js} +0 -0
- /package/dist/chunks/{shell-1cnp2v09.js → image-1cnp2v09.js} +0 -0
- /package/dist/chunks/{shell-1kg9ymc8.js → image-1kg9ymc8.js} +0 -0
- /package/dist/chunks/{shell-2710q6r3.js → image-2710q6r3.js} +0 -0
- /package/dist/chunks/{shell-2axfhc9x.js → image-2axfhc9x.js} +0 -0
- /package/dist/chunks/{shell-2c3vjs8z.js → image-2c3vjs8z.js} +0 -0
- /package/dist/chunks/{shell-359p4xyc.js → image-359p4xyc.js} +0 -0
- /package/dist/chunks/{shell-3asan66x.js → image-3asan66x.js} +0 -0
- /package/dist/chunks/{shell-3v8g72cx.js → image-3v8g72cx.js} +0 -0
- /package/dist/chunks/{shell-3w5fmr99.js → image-3w5fmr99.js} +0 -0
- /package/dist/chunks/{shell-3wcehsnq.js → image-3wcehsnq.js} +0 -0
- /package/dist/chunks/{shell-43n2bw4t.js → image-43n2bw4t.js} +0 -0
- /package/dist/chunks/{shell-4knz6hnm.js → image-4knz6hnm.js} +0 -0
- /package/dist/chunks/{shell-4vcrnpx2.js → image-4vcrnpx2.js} +0 -0
- /package/dist/chunks/{shell-4y7fprxs.js → image-4y7fprxs.js} +0 -0
- /package/dist/chunks/{shell-53557ph1.js → image-53557ph1.js} +0 -0
- /package/dist/chunks/{shell-550bvhaj.js → image-550bvhaj.js} +0 -0
- /package/dist/chunks/{shell-6prwharc.js → image-6prwharc.js} +0 -0
- /package/dist/chunks/{shell-7akdwqpd.js → image-7akdwqpd.js} +0 -0
- /package/dist/chunks/{shell-7m9af43g.js → image-7m9af43g.js} +0 -0
- /package/dist/chunks/{shell-822emrt2.js → image-822emrt2.js} +0 -0
- /package/dist/chunks/{shell-88xbtdfr.js → image-88xbtdfr.js} +0 -0
- /package/dist/chunks/{shell-8n3pysct.js → image-8n3pysct.js} +0 -0
- /package/dist/chunks/{shell-922hggd3.js → image-922hggd3.js} +0 -0
- /package/dist/chunks/{shell-9a4afbnw.js → image-9a4afbnw.js} +0 -0
- /package/dist/chunks/{shell-9rqn6x4v.js → image-9rqn6x4v.js} +0 -0
- /package/dist/chunks/{shell-a6k6eb26.js → image-a6k6eb26.js} +0 -0
- /package/dist/chunks/{shell-af5trqkr.js → image-af5trqkr.js} +0 -0
- /package/dist/chunks/{shell-afrmfg78.js → image-afrmfg78.js} +0 -0
- /package/dist/chunks/{shell-aqzs7mqg.js → image-aqzs7mqg.js} +0 -0
- /package/dist/chunks/{shell-atq7p7m5.js → image-atq7p7m5.js} +0 -0
- /package/dist/chunks/{shell-bkyjaxrp.js → image-bkyjaxrp.js} +0 -0
- /package/dist/chunks/{shell-bmr6ed5q.js → image-bmr6ed5q.js} +0 -0
- /package/dist/chunks/{shell-cf4snx6d.js → image-cf4snx6d.js} +0 -0
- /package/dist/chunks/{shell-cvy3z8tj.js → image-cvy3z8tj.js} +0 -0
- /package/dist/chunks/{shell-d9fn303g.js → image-d9fn303g.js} +0 -0
- /package/dist/chunks/{shell-d9jj8t3e.js → image-d9jj8t3e.js} +0 -0
- /package/dist/chunks/{shell-dajrwvna.js → image-dajrwvna.js} +0 -0
- /package/dist/chunks/{shell-dap0rakb.js → image-dap0rakb.js} +0 -0
- /package/dist/chunks/{shell-df08tz66.js → image-df08tz66.js} +0 -0
- /package/dist/chunks/{shell-dy18nga0.js → image-dy18nga0.js} +0 -0
- /package/dist/chunks/{shell-e5kj55wp.js → image-e5kj55wp.js} +0 -0
- /package/dist/chunks/{shell-e73j6tqm.js → image-e73j6tqm.js} +0 -0
- /package/dist/chunks/{shell-ec1grn59.js → image-ec1grn59.js} +0 -0
- /package/dist/chunks/{shell-eh3zwz77.js → image-eh3zwz77.js} +0 -0
- /package/dist/chunks/{shell-emrn6kk6.js → image-emrn6kk6.js} +0 -0
- /package/dist/chunks/{shell-f0mxakyp.js → image-f0mxakyp.js} +0 -0
- /package/dist/chunks/{shell-f6n9ztr4.js → image-f6n9ztr4.js} +0 -0
- /package/dist/chunks/{shell-faypxj3z.js → image-faypxj3z.js} +0 -0
- /package/dist/chunks/{shell-fd410y7t.js → image-fd410y7t.js} +0 -0
- /package/dist/chunks/{shell-fxgpk5d8.js → image-fxgpk5d8.js} +0 -0
- /package/dist/chunks/{shell-g4wezp1m.js → image-g4wezp1m.js} +0 -0
- /package/dist/chunks/{shell-g86h250q.js → image-g86h250q.js} +0 -0
- /package/dist/chunks/{shell-gebd4c9n.js → image-gebd4c9n.js} +0 -0
- /package/dist/chunks/{shell-gftt206x.js → image-gftt206x.js} +0 -0
- /package/dist/chunks/{shell-hjbc5kem.js → image-hjbc5kem.js} +0 -0
- /package/dist/chunks/{shell-hk9envan.js → image-hk9envan.js} +0 -0
- /package/dist/chunks/{shell-hrnqkpcd.js → image-hrnqkpcd.js} +0 -0
- /package/dist/chunks/{shell-j2ntwpah.js → image-j2ntwpah.js} +0 -0
- /package/dist/chunks/{shell-j5zkgpj8.js → image-j5zkgpj8.js} +0 -0
- /package/dist/chunks/{shell-jr7sbwjy.js → image-jr7sbwjy.js} +0 -0
- /package/dist/chunks/{shell-jwfs4k6c.js → image-jwfs4k6c.js} +0 -0
- /package/dist/chunks/{shell-jzg6c2d5.js → image-jzg6c2d5.js} +0 -0
- /package/dist/chunks/{shell-mp448xyj.js → image-mp448xyj.js} +0 -0
- /package/dist/chunks/{shell-msx8hqn2.js → image-msx8hqn2.js} +0 -0
- /package/dist/chunks/{shell-n05xt0ee.js → image-n05xt0ee.js} +0 -0
- /package/dist/chunks/{shell-n3j8tn72.js → image-n3j8tn72.js} +0 -0
- /package/dist/chunks/{shell-njntx4h6.js → image-njntx4h6.js} +0 -0
- /package/dist/chunks/{shell-q3sfg36h.js → image-q3sfg36h.js} +0 -0
- /package/dist/chunks/{shell-q74kybfr.js → image-q74kybfr.js} +0 -0
- /package/dist/chunks/{shell-qaymkmh1.js → image-qaymkmh1.js} +0 -0
- /package/dist/chunks/{shell-qb87gjwd.js → image-qb87gjwd.js} +0 -0
- /package/dist/chunks/{shell-qfa1cgps.js → image-qfa1cgps.js} +0 -0
- /package/dist/chunks/{shell-qrg20bc0.js → image-qrg20bc0.js} +0 -0
- /package/dist/chunks/{shell-rcb2kzg1.js → image-rcb2kzg1.js} +0 -0
- /package/dist/chunks/{shell-sdp7kfr6.js → image-sdp7kfr6.js} +0 -0
- /package/dist/chunks/{shell-sk3qaz4a.js → image-sk3qaz4a.js} +0 -0
- /package/dist/chunks/{shell-ssg3fenm.js → image-ssg3fenm.js} +0 -0
- /package/dist/chunks/{shell-twg0f83k.js → image-twg0f83k.js} +0 -0
- /package/dist/chunks/{shell-w803qqfp.js → image-w803qqfp.js} +0 -0
- /package/dist/chunks/{shell-wer8tq1h.js → image-wer8tq1h.js} +0 -0
- /package/dist/chunks/{shell-wtztk69x.js → image-wtztk69x.js} +0 -0
- /package/dist/chunks/{shell-x0ckcb58.js → image-x0ckcb58.js} +0 -0
- /package/dist/chunks/{shell-x61499pn.js → image-x61499pn.js} +0 -0
- /package/dist/chunks/{shell-y44na4kk.js → image-y44na4kk.js} +0 -0
- /package/dist/chunks/{shell-y8cydn3q.js → image-y8cydn3q.js} +0 -0
- /package/dist/chunks/{shell-y8f7s663.js → image-y8f7s663.js} +0 -0
- /package/dist/chunks/{shell-ygaqb7jw.js → image-ygaqb7jw.js} +0 -0
- /package/dist/chunks/{shell-ym463w8f.js → image-ym463w8f.js} +0 -0
- /package/dist/chunks/{shell-z9919s4g.js → image-z9919s4g.js} +0 -0
|
@@ -1,35 +1,35 @@
|
|
|
1
1
|
import {
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
} from "./
|
|
2
|
+
ID10,
|
|
3
|
+
Service66
|
|
4
|
+
} from "./image-w94394wb.js";
|
|
5
5
|
import {
|
|
6
|
-
|
|
7
|
-
} from "./
|
|
6
|
+
Service77
|
|
7
|
+
} from "./image-7jm5jzq7.js";
|
|
8
8
|
import {
|
|
9
|
-
|
|
10
|
-
} from "./
|
|
9
|
+
Service51
|
|
10
|
+
} from "./image-aj6515bh.js";
|
|
11
11
|
import {
|
|
12
|
-
|
|
12
|
+
Service56,
|
|
13
13
|
args2
|
|
14
|
-
} from "./
|
|
14
|
+
} from "./image-zbhf92rx.js";
|
|
15
15
|
import {
|
|
16
|
-
|
|
17
|
-
} from "./
|
|
16
|
+
Service22
|
|
17
|
+
} from "./image-cmra4ph4.js";
|
|
18
18
|
import {
|
|
19
|
-
|
|
20
|
-
} from "./
|
|
19
|
+
make9
|
|
20
|
+
} from "./image-8r48jvq9.js";
|
|
21
21
|
import {
|
|
22
22
|
parseOption2
|
|
23
|
-
} from "./
|
|
23
|
+
} from "./image-5daktx2q.js";
|
|
24
24
|
import {
|
|
25
25
|
__export
|
|
26
|
-
} from "./
|
|
26
|
+
} from "./image-9rqn6x4v.js";
|
|
27
27
|
|
|
28
28
|
// src/config/plugin/command.ts
|
|
29
|
-
var
|
|
30
|
-
__export(
|
|
31
|
-
ConfigCommandPlugin: () =>
|
|
32
|
-
Plugin: () =>
|
|
29
|
+
var exports_command2 = {};
|
|
30
|
+
__export(exports_command2, {
|
|
31
|
+
ConfigCommandPlugin: () => exports_command2,
|
|
32
|
+
Plugin: () => Plugin42
|
|
33
33
|
});
|
|
34
34
|
import { define } from "@opencode/plugin/effect/plugin";
|
|
35
35
|
import { ConfigCommand } from "@opencode/schema/config/command";
|
|
@@ -41,10 +41,10 @@ import { Effect, Option, PubSub, Schema, Stream } from "effect";
|
|
|
41
41
|
import { ChildProcess } from "effect/unstable/process";
|
|
42
42
|
import { FSUtil } from "@opencode/util/fs-util";
|
|
43
43
|
var decodeCommand = Schema.decodeUnknownOption(ConfigCommand.Info);
|
|
44
|
-
var
|
|
44
|
+
var Plugin42 = define({
|
|
45
45
|
id: "opencode.config.command",
|
|
46
46
|
effect: Effect.fn(function* (ctx) {
|
|
47
|
-
const config = yield*
|
|
47
|
+
const config = yield* Service51;
|
|
48
48
|
const fs = yield* FSUtil.Service;
|
|
49
49
|
const loadEntry = Effect.fnUntraced(function* (entry) {
|
|
50
50
|
if (entry.type === "document")
|
|
@@ -54,12 +54,12 @@ var Plugin22 = define({
|
|
|
54
54
|
const commands = yield* loadDirectory(fs, entry.path);
|
|
55
55
|
return [{ commands: Object.fromEntries(commands.map((command) => [command.name, command.info])) }];
|
|
56
56
|
});
|
|
57
|
-
const location = yield*
|
|
57
|
+
const location = yield* Service77;
|
|
58
58
|
const processes = yield* AppProcess.Service;
|
|
59
|
-
const shell = yield*
|
|
60
|
-
const sessions = yield*
|
|
61
|
-
const agents = yield*
|
|
62
|
-
const subagents = yield*
|
|
59
|
+
const shell = yield* Service56;
|
|
60
|
+
const sessions = yield* Service22;
|
|
61
|
+
const agents = yield* Service66;
|
|
62
|
+
const subagents = yield* make9;
|
|
63
63
|
const load = Effect.fn("ConfigCommandPlugin.load")(function* () {
|
|
64
64
|
return yield* Effect.forEach(yield* config.entries(), loadEntry).pipe(Effect.map((documents) => documents.flat()));
|
|
65
65
|
});
|
|
@@ -80,7 +80,7 @@ var Plugin22 = define({
|
|
|
80
80
|
name,
|
|
81
81
|
description: command.description,
|
|
82
82
|
execute: (input) => Effect.gen(function* () {
|
|
83
|
-
const agent = command.agent === undefined ? undefined :
|
|
83
|
+
const agent = command.agent === undefined ? undefined : ID10.make(command.agent);
|
|
84
84
|
const commandAgent = agent === undefined ? undefined : (yield* ctx.agent.get({ agentID: agent })).data;
|
|
85
85
|
const model = command.model === undefined ? commandAgent?.model : {
|
|
86
86
|
id: Model.ID.make(command.model.model),
|
|
@@ -204,4 +204,4 @@ var placeholderRegex = /\$(\d+)/g;
|
|
|
204
204
|
var quoteTrimRegex = /^["']|["']$/g;
|
|
205
205
|
var shellRegex = /!`([^`]+)`/g;
|
|
206
206
|
|
|
207
|
-
export {
|
|
207
|
+
export { Plugin42, exports_command2 };
|
|
@@ -1,18 +1,18 @@
|
|
|
1
1
|
import {
|
|
2
2
|
PositiveInt2
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./image-922hggd3.js";
|
|
4
4
|
import {
|
|
5
|
-
|
|
6
|
-
} from "./
|
|
5
|
+
Info16
|
|
6
|
+
} from "./image-g190xswt.js";
|
|
7
7
|
import {
|
|
8
8
|
__export
|
|
9
|
-
} from "./
|
|
9
|
+
} from "./image-9rqn6x4v.js";
|
|
10
10
|
|
|
11
11
|
// src/v1/config/agent.ts
|
|
12
|
-
var
|
|
13
|
-
__export(
|
|
14
|
-
ConfigAgentV1: () =>
|
|
15
|
-
Info: () =>
|
|
12
|
+
var exports_agent3 = {};
|
|
13
|
+
__export(exports_agent3, {
|
|
14
|
+
ConfigAgentV1: () => exports_agent3,
|
|
15
|
+
Info: () => Info15
|
|
16
16
|
});
|
|
17
17
|
import { Schema, SchemaGetter } from "effect";
|
|
18
18
|
var Color = Schema.Union([
|
|
@@ -44,7 +44,7 @@ var AgentSchema = Schema.StructWithRest(Schema.Struct({
|
|
|
44
44
|
description: "Maximum number of agentic iterations before forcing text-only response"
|
|
45
45
|
}),
|
|
46
46
|
maxSteps: Schema.optional(PositiveInt2).annotate({ description: "@deprecated Use 'steps' field instead." }),
|
|
47
|
-
permission: Schema.optional(
|
|
47
|
+
permission: Schema.optional(Info16)
|
|
48
48
|
}), [Schema.Record(Schema.String, Schema.Any)]);
|
|
49
49
|
var KNOWN_KEYS = new Set(["name", ...Object.keys(AgentSchema.schema.fields)]);
|
|
50
50
|
var normalize = (agent) => {
|
|
@@ -66,9 +66,9 @@ var normalize = (agent) => {
|
|
|
66
66
|
const steps = agent.steps ?? agent.maxSteps;
|
|
67
67
|
return { ...agent, options, permission, ...steps !== undefined ? { steps } : {} };
|
|
68
68
|
};
|
|
69
|
-
var
|
|
69
|
+
var Info15 = AgentSchema.pipe(Schema.decodeTo(AgentSchema, {
|
|
70
70
|
decode: SchemaGetter.transform(normalize),
|
|
71
71
|
encode: SchemaGetter.passthrough({ strict: false })
|
|
72
72
|
})).annotate({ identifier: "AgentConfig" });
|
|
73
73
|
|
|
74
|
-
export {
|
|
74
|
+
export { Info15, exports_agent3 };
|
|
@@ -1,28 +1,28 @@
|
|
|
1
|
+
import {
|
|
2
|
+
Service80,
|
|
3
|
+
node85
|
|
4
|
+
} from "./image-gse1qw90.js";
|
|
1
5
|
import {
|
|
2
6
|
Service77,
|
|
3
7
|
node82
|
|
4
|
-
} from "./
|
|
5
|
-
import {
|
|
6
|
-
Service75,
|
|
7
|
-
node80
|
|
8
|
-
} from "./shell-t44n027g.js";
|
|
8
|
+
} from "./image-7jm5jzq7.js";
|
|
9
9
|
import {
|
|
10
10
|
SessionEvent2
|
|
11
|
-
} from "./
|
|
11
|
+
} from "./image-ec1grn59.js";
|
|
12
12
|
import {
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
} from "./
|
|
13
|
+
Service65,
|
|
14
|
+
node70
|
|
15
|
+
} from "./image-bpr49tj0.js";
|
|
16
16
|
import {
|
|
17
17
|
__export
|
|
18
|
-
} from "./
|
|
18
|
+
} from "./image-9rqn6x4v.js";
|
|
19
19
|
|
|
20
20
|
// src/session/instructions.ts
|
|
21
21
|
var exports_instructions = {};
|
|
22
22
|
__export(exports_instructions, {
|
|
23
|
-
Service: () =>
|
|
23
|
+
Service: () => Service11,
|
|
24
24
|
SessionInstructions: () => exports_instructions,
|
|
25
|
-
node: () =>
|
|
25
|
+
node: () => node14
|
|
26
26
|
});
|
|
27
27
|
import { relative } from "path";
|
|
28
28
|
import { Context, Effect, Layer, Option, Ref, Schema } from "effect";
|
|
@@ -32,13 +32,13 @@ var InjectedMetadata = Schema.Struct({
|
|
|
32
32
|
instruction: Schema.Struct({ paths: Schema.Array(Schema.String) })
|
|
33
33
|
});
|
|
34
34
|
|
|
35
|
-
class
|
|
35
|
+
class Service11 extends Context.Service()("@opencode/SessionInstructions") {
|
|
36
36
|
}
|
|
37
|
-
var layer = Layer.effect(
|
|
38
|
-
const bus = yield*
|
|
37
|
+
var layer = Layer.effect(Service11, Effect.gen(function* () {
|
|
38
|
+
const bus = yield* Service80;
|
|
39
39
|
const fs = yield* FSUtil.Service;
|
|
40
|
-
const store = yield*
|
|
41
|
-
const location = yield*
|
|
40
|
+
const store = yield* Service65;
|
|
41
|
+
const location = yield* Service77;
|
|
42
42
|
const root = yield* fs.resolve(location.project.directory);
|
|
43
43
|
const inFlight = yield* Ref.make(new Map);
|
|
44
44
|
const load = Effect.fn("SessionInstructions.load")(function* (input) {
|
|
@@ -84,7 +84,7 @@ ${file.content}`).join(`
|
|
|
84
84
|
return next;
|
|
85
85
|
})));
|
|
86
86
|
});
|
|
87
|
-
return
|
|
87
|
+
return Service11.of({ load });
|
|
88
88
|
}));
|
|
89
89
|
function previouslyInjected(store, sessionID) {
|
|
90
90
|
return Effect.gen(function* () {
|
|
@@ -95,10 +95,10 @@ function previouslyInjected(store, sessionID) {
|
|
|
95
95
|
function describePath(root, path) {
|
|
96
96
|
return FSUtil.contains(root, path) ? relative(root, path) : path;
|
|
97
97
|
}
|
|
98
|
-
var
|
|
98
|
+
var node14 = makeLocationNode({
|
|
99
99
|
name: "session-instructions",
|
|
100
100
|
layer,
|
|
101
|
-
deps: [
|
|
101
|
+
deps: [node85, FSUtil.node, node82, node70]
|
|
102
102
|
});
|
|
103
103
|
|
|
104
|
-
export {
|
|
104
|
+
export { Service11, node14, exports_instructions };
|
|
@@ -1,10 +1,10 @@
|
|
|
1
1
|
import {
|
|
2
2
|
isAISDK2,
|
|
3
3
|
packageName2
|
|
4
|
-
} from "./
|
|
4
|
+
} from "./image-zrpcnpdy.js";
|
|
5
5
|
import {
|
|
6
|
-
|
|
7
|
-
} from "./
|
|
6
|
+
ID12
|
|
7
|
+
} from "./image-qnevtc5c.js";
|
|
8
8
|
|
|
9
9
|
// src/plugin/provider/openrouter.ts
|
|
10
10
|
import { Effect } from "effect";
|
|
@@ -29,7 +29,7 @@ var OpenRouterPlugin2 = define({
|
|
|
29
29
|
continue;
|
|
30
30
|
if (packageName2(item.provider.package) !== "@openrouter/ai-sdk-provider")
|
|
31
31
|
continue;
|
|
32
|
-
for (const modelID of [
|
|
32
|
+
for (const modelID of [ID12.make("gpt-5-chat-latest"), ID12.make("openai/gpt-5-chat")]) {
|
|
33
33
|
if (!models.get(item.provider.id, modelID))
|
|
34
34
|
continue;
|
|
35
35
|
models.update(item.provider.id, modelID, (model) => {
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import {
|
|
2
2
|
__export
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./image-9rqn6x4v.js";
|
|
4
4
|
|
|
5
5
|
// src/workspace/driver.ts
|
|
6
6
|
var exports_driver = {};
|
|
@@ -10,8 +10,8 @@ __export(exports_driver, {
|
|
|
10
10
|
ProviderNotFound: () => ProviderNotFound2,
|
|
11
11
|
RegistryService: () => RegistryService2,
|
|
12
12
|
WorkspaceDriver: () => exports_driver,
|
|
13
|
-
make: () =>
|
|
14
|
-
node: () =>
|
|
13
|
+
make: () => make17,
|
|
14
|
+
node: () => node61,
|
|
15
15
|
registry: () => registry2,
|
|
16
16
|
registryNode: () => registryNode2
|
|
17
17
|
});
|
|
@@ -29,7 +29,7 @@ class ProviderNotFound2 extends Schema.TaggedError()("WorkspaceDriver.ProviderNo
|
|
|
29
29
|
provider: Schema.String
|
|
30
30
|
}) {
|
|
31
31
|
}
|
|
32
|
-
var
|
|
32
|
+
var make17 = (driver) => driver;
|
|
33
33
|
|
|
34
34
|
class RegistryService2 extends Context.Service()("@opencode/WorkspaceDriverRegistry") {
|
|
35
35
|
}
|
|
@@ -44,6 +44,6 @@ var registryNode2 = (drivers) => makeGlobalNode({
|
|
|
44
44
|
layer: Layer.succeed(RegistryService2, RegistryService2.of(registry2(drivers))),
|
|
45
45
|
deps: []
|
|
46
46
|
});
|
|
47
|
-
var
|
|
47
|
+
var node61 = registryNode2({});
|
|
48
48
|
|
|
49
|
-
export { Binding2, Error5, ProviderNotFound2,
|
|
49
|
+
export { Binding2, Error5, ProviderNotFound2, make17, RegistryService2, registry2, registryNode2, node61, exports_driver };
|
|
@@ -1,27 +1,27 @@
|
|
|
1
1
|
import {
|
|
2
|
-
|
|
3
|
-
} from "./
|
|
2
|
+
Service62
|
|
3
|
+
} from "./image-azxt8y52.js";
|
|
4
4
|
import {
|
|
5
|
-
|
|
6
|
-
} from "./
|
|
5
|
+
Service22
|
|
6
|
+
} from "./image-cmra4ph4.js";
|
|
7
7
|
import {
|
|
8
8
|
text2,
|
|
9
9
|
deliver2
|
|
10
|
-
} from "./
|
|
10
|
+
} from "./image-x1ezjp6w.js";
|
|
11
11
|
import {
|
|
12
12
|
__export
|
|
13
|
-
} from "./
|
|
13
|
+
} from "./image-9rqn6x4v.js";
|
|
14
14
|
|
|
15
15
|
// src/session/subagent-job.ts
|
|
16
16
|
var exports_subagent_job = {};
|
|
17
17
|
__export(exports_subagent_job, {
|
|
18
18
|
SubagentJob: () => exports_subagent_job,
|
|
19
|
-
make: () =>
|
|
19
|
+
make: () => make9
|
|
20
20
|
});
|
|
21
21
|
import { Effect, Scope } from "effect";
|
|
22
|
-
var
|
|
23
|
-
const sessions = yield*
|
|
24
|
-
const jobs = yield*
|
|
22
|
+
var make9 = Effect.gen(function* () {
|
|
23
|
+
const sessions = yield* Service22;
|
|
24
|
+
const jobs = yield* Service62;
|
|
25
25
|
const scope = yield* Scope.Scope;
|
|
26
26
|
const notifications = new Set;
|
|
27
27
|
const notify = Effect.fn("SubagentJob.notify")(function* (recovery, startedAt) {
|
|
@@ -58,4 +58,4 @@ var make5 = Effect.gen(function* () {
|
|
|
58
58
|
};
|
|
59
59
|
});
|
|
60
60
|
|
|
61
|
-
export {
|
|
61
|
+
export { make9, exports_subagent_job };
|
|
@@ -1,40 +1,40 @@
|
|
|
1
1
|
import {
|
|
2
2
|
AbsolutePath2,
|
|
3
3
|
RelativePath2
|
|
4
|
-
} from "./
|
|
4
|
+
} from "./image-922hggd3.js";
|
|
5
5
|
import {
|
|
6
6
|
Repository2,
|
|
7
7
|
TreeID2,
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
} from "./
|
|
8
|
+
Service79,
|
|
9
|
+
node84
|
|
10
|
+
} from "./image-41kev6en.js";
|
|
11
11
|
import {
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
} from "./
|
|
12
|
+
Service77,
|
|
13
|
+
node82
|
|
14
|
+
} from "./image-7jm5jzq7.js";
|
|
15
15
|
import {
|
|
16
16
|
create3
|
|
17
|
-
} from "./
|
|
17
|
+
} from "./image-rdw6cm16.js";
|
|
18
18
|
import {
|
|
19
19
|
__export
|
|
20
|
-
} from "./
|
|
20
|
+
} from "./image-9rqn6x4v.js";
|
|
21
21
|
|
|
22
22
|
// src/snapshot.ts
|
|
23
23
|
var exports_snapshot2 = {};
|
|
24
24
|
__export(exports_snapshot2, {
|
|
25
25
|
Error: () => Error3,
|
|
26
|
-
ID: () =>
|
|
27
|
-
Service: () =>
|
|
26
|
+
ID: () => ID4,
|
|
27
|
+
Service: () => Service36,
|
|
28
28
|
Snapshot: () => exports_snapshot2,
|
|
29
|
-
node: () =>
|
|
30
|
-
noopLayer: () =>
|
|
29
|
+
node: () => node40,
|
|
30
|
+
noopLayer: () => noopLayer2
|
|
31
31
|
});
|
|
32
32
|
import { makeLocationNode } from "@opencode/util/effect/app-node";
|
|
33
33
|
import path from "path";
|
|
34
34
|
import { Context, Effect, Fiber, Layer, Schema, Scope } from "effect";
|
|
35
35
|
import { FSUtil } from "@opencode/util/fs-util";
|
|
36
36
|
import { Global } from "@opencode/util/global";
|
|
37
|
-
import { ID as
|
|
37
|
+
import { ID as ID4 } from "@opencode/schema/snapshot";
|
|
38
38
|
import { Hash } from "@opencode/util/hash";
|
|
39
39
|
class Error3 extends Schema.TaggedError()("Snapshot.Error", {
|
|
40
40
|
operation: Schema.Literals(["capture", "files", "diff", "restore"]),
|
|
@@ -43,13 +43,13 @@ class Error3 extends Schema.TaggedError()("Snapshot.Error", {
|
|
|
43
43
|
}) {
|
|
44
44
|
}
|
|
45
45
|
|
|
46
|
-
class
|
|
46
|
+
class Service36 extends Context.Service()("@opencode/Snapshot") {
|
|
47
47
|
}
|
|
48
|
-
var layer = Layer.effect(
|
|
48
|
+
var layer = Layer.effect(Service36, Effect.gen(function* () {
|
|
49
49
|
const fs = yield* FSUtil.Service;
|
|
50
|
-
const git = yield*
|
|
50
|
+
const git = yield* Service79;
|
|
51
51
|
const global = yield* Global.Service;
|
|
52
|
-
const location = yield*
|
|
52
|
+
const location = yield* Service77;
|
|
53
53
|
const lifetime = yield* Scope.Scope;
|
|
54
54
|
const state = create3({
|
|
55
55
|
name: "snapshot",
|
|
@@ -82,7 +82,7 @@ var layer = Layer.effect(Service50, Effect.gen(function* () {
|
|
|
82
82
|
return;
|
|
83
83
|
return yield* Effect.gen(function* () {
|
|
84
84
|
const repo = yield* repository;
|
|
85
|
-
return
|
|
85
|
+
return ID4.make(yield* git.tree.capture({
|
|
86
86
|
repository: repo.snapshotRepository,
|
|
87
87
|
scopes: [yield* scope(repo.worktree)],
|
|
88
88
|
ignores: repo.source,
|
|
@@ -138,14 +138,14 @@ var layer = Layer.effect(Service50, Effect.gen(function* () {
|
|
|
138
138
|
const repo = yield* repository.pipe(Effect.mapError((cause) => failure("restore", cause)));
|
|
139
139
|
yield* git.tree.restore({ repository: repo.snapshotRepository, files: yield* plan(repo.worktree, input) }).pipe(Effect.mapError((cause) => failure("restore", cause)));
|
|
140
140
|
});
|
|
141
|
-
return
|
|
141
|
+
return Service36.of({ transform: state.transform, reload: state.reload, capture, files, diff, restore });
|
|
142
142
|
}).pipe(Effect.withSpan("Snapshot.boot")));
|
|
143
|
-
var
|
|
144
|
-
service:
|
|
143
|
+
var node40 = makeLocationNode({
|
|
144
|
+
service: Service36,
|
|
145
145
|
layer,
|
|
146
|
-
deps: [FSUtil.node,
|
|
146
|
+
deps: [FSUtil.node, node84, Global.node, node82]
|
|
147
147
|
});
|
|
148
|
-
var
|
|
148
|
+
var noopLayer2 = Layer.succeed(Service36, Service36.of({
|
|
149
149
|
transform: () => Effect.succeed({ dispose: Effect.void }),
|
|
150
150
|
reload: () => Effect.void,
|
|
151
151
|
capture: () => Effect.undefined,
|
|
@@ -163,4 +163,4 @@ function failure(operation, cause) {
|
|
|
163
163
|
});
|
|
164
164
|
}
|
|
165
165
|
|
|
166
|
-
export {
|
|
166
|
+
export { ID4, Error3, Service36, node40, noopLayer2, exports_snapshot2 };
|
|
@@ -1,69 +1,69 @@
|
|
|
1
1
|
import {
|
|
2
2
|
AbsolutePath2
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./image-922hggd3.js";
|
|
4
4
|
import {
|
|
5
5
|
WorktreeError2,
|
|
6
|
-
|
|
7
|
-
} from "./
|
|
6
|
+
node84
|
|
7
|
+
} from "./image-41kev6en.js";
|
|
8
8
|
import {
|
|
9
|
-
|
|
10
|
-
} from "./
|
|
9
|
+
ID18
|
|
10
|
+
} from "./image-57ez7d0k.js";
|
|
11
11
|
import {
|
|
12
12
|
Slug2
|
|
13
|
-
} from "./
|
|
13
|
+
} from "./image-gebd4c9n.js";
|
|
14
14
|
import {
|
|
15
15
|
Service81,
|
|
16
16
|
node86
|
|
17
|
-
} from "./
|
|
17
|
+
} from "./image-fhtb1nxk.js";
|
|
18
18
|
import {
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
} from "./
|
|
19
|
+
Service80,
|
|
20
|
+
node85
|
|
21
|
+
} from "./image-gse1qw90.js";
|
|
22
22
|
import {
|
|
23
23
|
ProjectTable2
|
|
24
|
-
} from "./
|
|
24
|
+
} from "./image-dj2t23y0.js";
|
|
25
25
|
import {
|
|
26
26
|
WorktreeTable2
|
|
27
|
-
} from "./
|
|
27
|
+
} from "./image-m0jqrx5p.js";
|
|
28
28
|
import {
|
|
29
|
-
|
|
30
|
-
|
|
31
|
-
} from "./
|
|
29
|
+
Service77,
|
|
30
|
+
node82
|
|
31
|
+
} from "./image-7jm5jzq7.js";
|
|
32
32
|
import {
|
|
33
33
|
DirectoryUnavailableError2,
|
|
34
34
|
canonical2
|
|
35
|
-
} from "./
|
|
35
|
+
} from "./image-gv6a8nnw.js";
|
|
36
36
|
import {
|
|
37
37
|
make12
|
|
38
|
-
} from "./
|
|
38
|
+
} from "./image-t1fh5c1n.js";
|
|
39
39
|
import {
|
|
40
40
|
create3
|
|
41
|
-
} from "./
|
|
41
|
+
} from "./image-rdw6cm16.js";
|
|
42
42
|
import {
|
|
43
43
|
__export
|
|
44
|
-
} from "./
|
|
44
|
+
} from "./image-9rqn6x4v.js";
|
|
45
45
|
|
|
46
46
|
// src/worktree.ts
|
|
47
47
|
var exports_worktree2 = {};
|
|
48
48
|
__export(exports_worktree2, {
|
|
49
|
-
CreateInput: () =>
|
|
49
|
+
CreateInput: () => CreateInput3,
|
|
50
50
|
DestinationExistsError: () => DestinationExistsError2,
|
|
51
51
|
DirectoryUnavailableError: () => DirectoryUnavailableError2,
|
|
52
|
-
Event: () =>
|
|
53
|
-
Info: () =>
|
|
52
|
+
Event: () => Event4,
|
|
53
|
+
Info: () => Info5,
|
|
54
54
|
InvalidDirectoryError: () => InvalidDirectoryError2,
|
|
55
55
|
List: () => List2,
|
|
56
56
|
ListEntry: () => ListEntry3,
|
|
57
57
|
OperationError: () => OperationError2,
|
|
58
58
|
RefreshResult: () => RefreshResult2,
|
|
59
59
|
RemoveInput: () => RemoveInput2,
|
|
60
|
-
Service: () =>
|
|
60
|
+
Service: () => Service19,
|
|
61
61
|
SourceDirectoryNotFoundError: () => SourceDirectoryNotFoundError2,
|
|
62
62
|
StrategyID: () => StrategyID2,
|
|
63
63
|
StrategyUnavailableError: () => StrategyUnavailableError2,
|
|
64
64
|
UnsupportedLocationError: () => UnsupportedLocationError2,
|
|
65
65
|
Worktree: () => exports_worktree2,
|
|
66
|
-
node: () =>
|
|
66
|
+
node: () => node23
|
|
67
67
|
});
|
|
68
68
|
import { Context, Effect, Layer, Schema } from "effect";
|
|
69
69
|
import { and, asc, desc, eq, isNull, sql } from "drizzle-orm";
|
|
@@ -76,17 +76,17 @@ import { AppProcess } from "@opencode/util/process";
|
|
|
76
76
|
import { ChildProcess } from "effect/unstable/process";
|
|
77
77
|
import { OperationError as OperationError2 } from "@opencode/schema/worktree";
|
|
78
78
|
var StrategyID2 = Worktree.StrategyID;
|
|
79
|
-
var
|
|
79
|
+
var CreateInput3 = Worktree.CreateInput;
|
|
80
80
|
var RemoveInput2 = Worktree.RemoveInput;
|
|
81
81
|
var RefreshResult2 = Schema.Struct({
|
|
82
82
|
updated: Schema.Array(AbsolutePath2),
|
|
83
83
|
removed: Schema.Array(AbsolutePath2)
|
|
84
84
|
}).annotate({ identifier: "Worktree.RefreshResult" });
|
|
85
|
-
var
|
|
85
|
+
var Info5 = Worktree.Info;
|
|
86
86
|
var List2 = Worktree.List;
|
|
87
87
|
var ListEntry3 = Worktree.ListEntry;
|
|
88
88
|
|
|
89
|
-
class SourceDirectoryNotFoundError2 extends Schema.TaggedError()("Worktree.SourceDirectoryNotFoundError", { projectID:
|
|
89
|
+
class SourceDirectoryNotFoundError2 extends Schema.TaggedError()("Worktree.SourceDirectoryNotFoundError", { projectID: ID18, directory: Schema.optional(AbsolutePath2) }) {
|
|
90
90
|
}
|
|
91
91
|
|
|
92
92
|
class DestinationExistsError2 extends Schema.TaggedError()("Worktree.DestinationExistsError", { directory: AbsolutePath2 }) {
|
|
@@ -100,17 +100,17 @@ class StrategyUnavailableError2 extends Schema.TaggedError()("Worktree.StrategyU
|
|
|
100
100
|
|
|
101
101
|
class UnsupportedLocationError2 extends Schema.TaggedError()("Worktree.UnsupportedLocationError", { directory: AbsolutePath2 }) {
|
|
102
102
|
}
|
|
103
|
-
var
|
|
103
|
+
var Event4 = Worktree.Event;
|
|
104
104
|
|
|
105
|
-
class
|
|
105
|
+
class Service19 extends Context.Service()("@opencode/v2/Worktree") {
|
|
106
106
|
}
|
|
107
|
-
var layer = Layer.effect(
|
|
107
|
+
var layer = Layer.effect(Service19, Effect.gen(function* () {
|
|
108
108
|
const fs = yield* FSUtil.Service;
|
|
109
109
|
const database = yield* Service81;
|
|
110
110
|
const db = database.db;
|
|
111
|
-
const bus = yield*
|
|
111
|
+
const bus = yield* Service80;
|
|
112
112
|
const processService = yield* AppProcess.Service;
|
|
113
|
-
const location = yield*
|
|
113
|
+
const location = yield* Service77;
|
|
114
114
|
const global = yield* Global.Service;
|
|
115
115
|
const projectID = location.project.id;
|
|
116
116
|
const local = location.workspaceID ? Effect.fail(new UnsupportedLocationError2({ directory: location.directory })) : Effect.void;
|
|
@@ -135,7 +135,7 @@ var layer = Layer.effect(Service16, Effect.gen(function* () {
|
|
|
135
135
|
});
|
|
136
136
|
const changed = Effect.fnUntraced(function* (update) {
|
|
137
137
|
if (update)
|
|
138
|
-
yield* bus.publish(
|
|
138
|
+
yield* bus.publish(Event4.Updated, { projectID });
|
|
139
139
|
});
|
|
140
140
|
const ops = {
|
|
141
141
|
list: Effect.fnUntraced(function* () {
|
|
@@ -257,7 +257,7 @@ var layer = Layer.effect(Service16, Effect.gen(function* () {
|
|
|
257
257
|
yield* changed(changes.updated.length > 0 || changes.removed.length > 0);
|
|
258
258
|
return changes;
|
|
259
259
|
});
|
|
260
|
-
return
|
|
260
|
+
return Service19.of({
|
|
261
261
|
transform: state.transform,
|
|
262
262
|
reload: state.reload,
|
|
263
263
|
list: Effect.fn("Worktree.list")(function* () {
|
|
@@ -269,10 +269,10 @@ var layer = Layer.effect(Service16, Effect.gen(function* () {
|
|
|
269
269
|
refresh
|
|
270
270
|
});
|
|
271
271
|
}));
|
|
272
|
-
var
|
|
273
|
-
service:
|
|
272
|
+
var node23 = makeLocationNode({
|
|
273
|
+
service: Service19,
|
|
274
274
|
layer,
|
|
275
|
-
deps: [FSUtil.node,
|
|
275
|
+
deps: [FSUtil.node, node84, node85, node86, AppProcess.node, node82, Global.node]
|
|
276
276
|
});
|
|
277
277
|
function operationError(strategy, operation, error) {
|
|
278
278
|
if (error instanceof WorktreeError2 || error instanceof DirectoryUnavailableError2 || error instanceof Worktree.OperationError)
|
|
@@ -282,4 +282,4 @@ function operationError(strategy, operation, error) {
|
|
|
282
282
|
});
|
|
283
283
|
}
|
|
284
284
|
|
|
285
|
-
export { StrategyID2,
|
|
285
|
+
export { StrategyID2, CreateInput3, RemoveInput2, RefreshResult2, Info5, List2, ListEntry3, SourceDirectoryNotFoundError2, DestinationExistsError2, InvalidDirectoryError2, StrategyUnavailableError2, UnsupportedLocationError2, Event4, Service19, node23, exports_worktree2, OperationError2 };
|