@opencode/core 0.0.0-dev-19607 → 0.0.0-dev-19610
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 +74 -74
- package/dist/chunks/{bus-pbp9sz76.js → shell-06cb0fd0.js} +4 -4
- package/dist/chunks/{bus-cst62dfw.js → shell-08hjcfds.js} +18 -18
- package/dist/chunks/{bus-atssdtxp.js → shell-0aw7zksj.js} +9 -9
- package/dist/chunks/{bus-vw8bwat5.js → shell-0bvq92zm.js} +29 -29
- package/dist/chunks/{bus-02nrjc1r.js → shell-0gdmqesm.js} +8 -8
- package/dist/chunks/{bus-d09006c3.js → shell-0p4j4cv0.js} +9 -9
- package/dist/chunks/{bus-0paq2nw3.js → shell-0paq2nw3.js} +1 -1
- package/dist/chunks/{bus-0q0f95c6.js → shell-0q0f95c6.js} +1 -1
- package/dist/chunks/{bus-5t01hw7s.js → shell-11nyajgd.js} +1 -1
- package/dist/chunks/{bus-1vh9c756.js → shell-13vh4t13.js} +14 -14
- package/dist/chunks/{bus-bje2m678.js → shell-15actg85.js} +26 -26
- package/dist/chunks/{bus-2p5j9sv7.js → shell-19qt9ms0.js} +22 -22
- package/dist/chunks/{bus-1dazxqgg.js → shell-1dazxqgg.js} +2 -2
- package/dist/chunks/{bus-gbcrwt4m.js → shell-1sr49ngx.js} +13 -13
- package/dist/chunks/{bus-cnb5z5cf.js → shell-1tceadnv.js} +11 -11
- package/dist/chunks/{bus-21r38tys.js → shell-21r38tys.js} +1 -1
- package/dist/chunks/{bus-6h73sxmp.js → shell-2402vzrj.js} +5 -5
- package/dist/chunks/{bus-q3t37ft6.js → shell-256nx13v.js} +3 -3
- package/dist/chunks/{bus-9gwk1d27.js → shell-286ag1vh.js} +299 -299
- package/dist/chunks/{bus-g4rgasps.js → shell-28aedara.js} +3 -3
- package/dist/chunks/{bus-kdh23bg8.js → shell-28ebf1cb.js} +19 -19
- package/dist/chunks/{bus-z63w68vq.js → shell-29x78va6.js} +6 -6
- package/dist/chunks/{bus-k5m0fz1p.js → shell-2a4f6v5q.js} +8 -8
- package/dist/chunks/{bus-2a5m3afh.js → shell-2a5m3afh.js} +1 -1
- package/dist/chunks/{bus-15nepkqg.js → shell-2n295dmf.js} +8 -8
- package/dist/chunks/{bus-tz2bjj40.js → shell-2qp6y8xf.js} +5 -5
- package/dist/chunks/{bus-w5k3gg8r.js → shell-35f3c8ak.js} +95 -95
- package/dist/chunks/{bus-ktjqq88n.js → shell-3657zqg5.js} +32 -32
- package/dist/chunks/{bus-eebdtnk6.js → shell-3ef74p4c.js} +11 -11
- package/dist/chunks/{bus-3fc6dm20.js → shell-3fc6dm20.js} +1 -1
- package/dist/chunks/{bus-vgg4xkgc.js → shell-3gqfk94q.js} +8 -8
- package/dist/chunks/{bus-9yma6mz2.js → shell-3h03gnyd.js} +23 -23
- package/dist/chunks/{bus-3hepkmqq.js → shell-3hepkmqq.js} +1 -1
- package/dist/chunks/{bus-3smtnn6g.js → shell-3smtnn6g.js} +1 -1
- package/dist/chunks/{bus-3tvqynh2.js → shell-3tvqynh2.js} +1 -1
- package/dist/chunks/{bus-bc94wkq6.js → shell-4dsybr1x.js} +22 -22
- package/dist/chunks/{bus-62akg8e4.js → shell-4j54dnxn.js} +24 -24
- package/dist/chunks/{bus-zcxhpjvf.js → shell-4nqjb4pf.js} +23 -23
- package/dist/chunks/{bus-zn1xqtaw.js → shell-4nt81eez.js} +28 -28
- package/dist/chunks/{bus-4sn99hha.js → shell-4sn99hha.js} +2 -2
- package/dist/chunks/{bus-c72vda60.js → shell-4t7xgrp5.js} +26 -26
- package/dist/chunks/{bus-c833tjt1.js → shell-4ymq8kc4.js} +36 -36
- package/dist/chunks/{bus-stb1hwq0.js → shell-4yzwshaw.js} +15 -15
- package/dist/chunks/{bus-5dfrxsm4.js → shell-4zr3jzsn.js} +8 -8
- package/dist/chunks/{bus-33w4ejhs.js → shell-56gdpj1q.js} +6 -6
- package/dist/chunks/{bus-p33wnvsh.js → shell-58k5q12w.js} +32 -32
- package/dist/chunks/{bus-5daktx2q.js → shell-5daktx2q.js} +1 -1
- package/dist/chunks/{bus-sg1mp0wp.js → shell-5k7whcx8.js} +28 -28
- package/dist/chunks/{bus-2fqncqd8.js → shell-5kbrmkke.js} +27 -27
- package/dist/chunks/{bus-r55vasa2.js → shell-5mtzsd3b.js} +4 -4
- package/dist/chunks/{bus-aez8skhx.js → shell-5p8jzcnz.js} +35 -35
- package/dist/chunks/{bus-wq4mgxca.js → shell-5rtg8v4f.js} +4 -4
- package/dist/chunks/{bus-5t3nmthw.js → shell-5t3nmthw.js} +2 -2
- package/dist/chunks/{bus-fz5sfred.js → shell-5wq01ar5.js} +15 -15
- package/dist/chunks/{bus-437w8xnq.js → shell-5wrt214j.js} +4 -4
- package/dist/chunks/shell-5y2ymaq7.js +26 -0
- package/dist/chunks/{bus-zbj7r6th.js → shell-60b87sp0.js} +10 -10
- package/dist/chunks/{bus-669tq793.js → shell-669tq793.js} +1 -1
- package/dist/chunks/{bus-jg1rg3jc.js → shell-6860rr66.js} +54 -54
- package/dist/chunks/{bus-yx0rmv9r.js → shell-6d6xcght.js} +6 -6
- package/dist/chunks/shell-6kdq0pjd.js +4 -0
- package/dist/chunks/{bus-6msgmcgs.js → shell-6msgmcgs.js} +1 -1
- package/dist/chunks/{bus-hs3grr87.js → shell-6zttb827.js} +19 -19
- package/dist/chunks/{bus-71q4at8m.js → shell-71q4at8m.js} +1 -1
- package/dist/chunks/{bus-engx0f1y.js → shell-724fmg57.js} +12 -12
- package/dist/chunks/{bus-7bmhse3q.js → shell-7bmhse3q.js} +1 -1
- package/dist/chunks/{bus-0jwsre1p.js → shell-7dqw4kz8.js} +5 -5
- package/dist/chunks/{bus-ewp6a6x8.js → shell-7r3neg1r.js} +37 -37
- package/dist/chunks/{bus-g8n86g3v.js → shell-7xjyd7zv.js} +2 -2
- package/dist/chunks/{bus-73tb2d7t.js → shell-7yh4e7ss.js} +3 -3
- package/dist/chunks/{bus-v4hmzr0r.js → shell-844ef7ks.js} +8 -8
- package/dist/chunks/{bus-36eabxvj.js → shell-84bp84rj.js} +6 -6
- package/dist/chunks/{bus-pwpvhpkp.js → shell-85tc3nc8.js} +18 -18
- package/dist/chunks/{bus-8d7r5vzw.js → shell-8d7r5vzw.js} +1 -1
- package/dist/chunks/{bus-ppj42jsj.js → shell-8mgmrm9j.js} +12 -12
- package/dist/chunks/{bus-th34e5xy.js → shell-8nmhfs9c.js} +11 -11
- package/dist/chunks/{bus-8p4f9s12.js → shell-8p4f9s12.js} +2 -2
- package/dist/chunks/{bus-hspc2tk9.js → shell-8q0t0smx.js} +1 -1
- package/dist/chunks/{bus-ycxk46z7.js → shell-8saayj0p.js} +47 -47
- package/dist/chunks/{bus-q09v2a5f.js → shell-8sp2z33n.js} +4 -4
- package/dist/chunks/{bus-0h0xn3fd.js → shell-8ymghxqk.js} +37 -37
- package/dist/chunks/{bus-xpfz5w62.js → shell-91tfrhd1.js} +6 -6
- package/dist/chunks/{bus-rkhcyd8j.js → shell-98depksn.js} +19 -19
- package/dist/chunks/{bus-x60djdrf.js → shell-9b2gkdkm.js} +22 -22
- package/dist/chunks/{bus-4vdg0vy0.js → shell-a0b5fdkw.js} +31 -31
- package/dist/chunks/{bus-a1bz86dw.js → shell-a1bz86dw.js} +3 -3
- package/dist/chunks/{bus-2ryrfs8t.js → shell-a271x0pd.js} +18 -18
- package/dist/chunks/{bus-aaet6srn.js → shell-aaet6srn.js} +2 -2
- package/dist/chunks/{bus-nnq4n2qn.js → shell-am2x7dha.js} +43 -43
- package/dist/chunks/{bus-3vk31qq0.js → shell-apkjg5f1.js} +1 -1
- package/dist/chunks/{bus-mjymc32g.js → shell-axmvebxj.js} +21 -21
- package/dist/chunks/{bus-74ag36aw.js → shell-aypr84xx.js} +19 -19
- package/dist/chunks/{bus-n81xd9d5.js → shell-b1hg7rtt.js} +1 -1
- package/dist/chunks/{bus-b6gygkdw.js → shell-b6gygkdw.js} +2 -2
- package/dist/chunks/{bus-4ma4crhq.js → shell-bcgxfqk7.js} +18 -18
- package/dist/chunks/{bus-q2b1ymqp.js → shell-bct739vz.js} +4 -4
- package/dist/chunks/{bus-bdqrk2vk.js → shell-bdqrk2vk.js} +1 -1
- package/dist/chunks/{bus-m4gm00jg.js → shell-bdyp82c4.js} +7 -7
- package/dist/chunks/{bus-9a5x4ndh.js → shell-bfjqsf6d.js} +32 -32
- package/dist/chunks/{bus-c3nbwr53.js → shell-bj86b7kp.js} +34 -34
- package/dist/chunks/{bus-qrs9zw48.js → shell-bs5y9wpc.js} +11 -11
- package/dist/chunks/{bus-brbkvpcb.js → shell-bsp1pkt4.js} +14 -14
- package/dist/chunks/{bus-a3e7ey2w.js → shell-bz4hpk94.js} +5 -5
- package/dist/chunks/{bus-kxdh0s6n.js → shell-bz5ac8yj.js} +11 -11
- package/dist/chunks/{bus-dpmm3pd1.js → shell-c5n3h355.js} +30 -30
- package/dist/chunks/{bus-cdvm88eq.js → shell-ca7n9cfq.js} +9 -9
- package/dist/chunks/{bus-te6cpsjw.js → shell-cee4awht.js} +4 -4
- package/dist/chunks/{bus-cfpkc3c9.js → shell-cfpkc3c9.js} +2 -2
- package/dist/chunks/{bus-bbtrsqmd.js → shell-cgccaycz.js} +26 -26
- package/dist/chunks/{bus-686zvbc5.js → shell-cmmb813z.js} +62 -62
- package/dist/chunks/{bus-paegk39x.js → shell-csf2jhsg.js} +4 -4
- package/dist/chunks/{bus-2596a819.js → shell-czb7hhek.js} +13 -13
- package/dist/chunks/{bus-b8ey678w.js → shell-d3tz2ej1.js} +9 -9
- package/dist/chunks/{bus-179189h4.js → shell-d8nc1xcx.js} +4 -4
- package/dist/chunks/{bus-fcxm0egy.js → shell-da7pjdbd.js} +15 -15
- package/dist/chunks/{bus-wb72v9a5.js → shell-de5ahzfz.js} +15 -15
- package/dist/chunks/shell-deqxj2db.js +251 -0
- package/dist/chunks/{bus-mz0r0wg6.js → shell-dg9hzp08.js} +15 -15
- package/dist/chunks/{bus-hy39tjkp.js → shell-dmxnnmbc.js} +9 -9
- package/dist/chunks/{bus-2hhrjxd4.js → shell-e1tdxk5c.js} +16 -16
- package/dist/chunks/{bus-5qd3pb7m.js → shell-e3qxr5gk.js} +2 -2
- package/dist/chunks/{bus-e5nv3ght.js → shell-e5nv3ght.js} +2 -2
- package/dist/chunks/{bus-ef5x83kb.js → shell-ef5x83kb.js} +1 -1
- package/dist/chunks/{bus-q7wya2ft.js → shell-eg7y150x.js} +10 -10
- package/dist/chunks/{bus-7vgsmbaw.js → shell-er21d9gb.js} +9 -9
- package/dist/chunks/{bus-etq0c3wd.js → shell-etq0c3wd.js} +1 -1
- package/dist/chunks/{bus-zp47re1r.js → shell-eyhpk03x.js} +11 -11
- package/dist/chunks/{bus-0pwp6vee.js → shell-f00031fc.js} +17 -17
- package/dist/chunks/{bus-tdhe5xga.js → shell-f32czd11.js} +11 -11
- package/dist/chunks/{bus-tat11k01.js → shell-f58gpcny.js} +9 -9
- package/dist/chunks/{bus-v21t5zre.js → shell-f6dg4s51.js} +24 -24
- package/dist/chunks/{bus-f828m53h.js → shell-f828m53h.js} +2 -2
- package/dist/chunks/{bus-kffdrsz9.js → shell-f8gkg4y9.js} +5 -5
- package/dist/chunks/{bus-q73r15kw.js → shell-fbw0akyd.js} +9 -9
- package/dist/chunks/{bus-6cr8vpfb.js → shell-fekeaz39.js} +3 -3
- package/dist/chunks/{bus-63xctefh.js → shell-ff0htmxq.js} +6 -6
- package/dist/chunks/{bus-m4sagrtb.js → shell-fgga4tyk.js} +47 -47
- package/dist/chunks/{bus-t32f9ypw.js → shell-fk5v58mc.js} +11 -11
- package/dist/chunks/{bus-nkj12b6c.js → shell-fqax9b7r.js} +175 -175
- package/dist/chunks/{bus-fxbjtjnd.js → shell-fxbjtjnd.js} +1 -1
- package/dist/chunks/{bus-3vnz1vry.js → shell-g15mg1fp.js} +14 -14
- package/dist/chunks/{bus-t3qrjm11.js → shell-g99htbkw.js} +33 -33
- package/dist/chunks/{bus-gd4qta3r.js → shell-gd4qta3r.js} +1 -1
- package/dist/chunks/{bus-gx8hye9g.js → shell-gg94j5y5.js} +6 -6
- package/dist/chunks/{bus-erswsgcd.js → shell-gm46a55d.js} +8 -8
- package/dist/chunks/{bus-yjjca98t.js → shell-gmrsnwh8.js} +18 -18
- package/dist/chunks/{bus-hvk5xh9a.js → shell-gntzjf7q.js} +43 -43
- package/dist/chunks/{bus-th5km1p3.js → shell-gv6a8nnw.js} +5 -5
- package/dist/chunks/{bus-4xgsacd1.js → shell-gwz5q7xf.js} +31 -31
- package/dist/chunks/{bus-h03wrkyp.js → shell-h03wrkyp.js} +2 -2
- package/dist/chunks/{bus-h6vf3j39.js → shell-h6vf3j39.js} +1 -1
- package/dist/chunks/{bus-72774a2p.js → shell-h967t558.js} +6 -6
- package/dist/chunks/{bus-5rr0th1e.js → shell-hjfxv1hf.js} +15 -15
- package/dist/chunks/{bus-e82z9tr0.js → shell-hjt4xg1x.js} +7 -7
- package/dist/chunks/{bus-mca7v45c.js → shell-hka8yjdz.js} +32 -32
- package/dist/chunks/{bus-4fb4zfkv.js → shell-hmr3ea9n.js} +5 -5
- package/dist/chunks/{bus-xpgn474g.js → shell-hnf89hr7.js} +10 -10
- package/dist/chunks/{bus-cq1ssszz.js → shell-hs3g5x4f.js} +6 -6
- package/dist/chunks/{bus-ss6xz6nm.js → shell-j22hf46x.js} +11 -11
- package/dist/chunks/{bus-jcmyxw9c.js → shell-j2q2mctg.js} +12 -12
- package/dist/chunks/{bus-j56e64zr.js → shell-j56e64zr.js} +1 -1
- package/dist/chunks/{bus-zg4yt3jb.js → shell-j5krrq7s.js} +35 -35
- package/dist/chunks/{bus-r9nkdn48.js → shell-jamwgqsw.js} +5 -5
- package/dist/chunks/{bus-pbky2mmf.js → shell-jm7w29aj.js} +24 -24
- package/dist/chunks/{bus-hp23vqgj.js → shell-jsj4eyt5.js} +4 -4
- package/dist/chunks/{bus-0r7yqxbf.js → shell-jv01nqvq.js} +5 -5
- package/dist/chunks/{bus-ca7w653e.js → shell-jvf3yq6v.js} +4 -4
- package/dist/chunks/{bus-dpkg50ah.js → shell-jwcy2c2z.js} +4 -4
- package/dist/chunks/{bus-xp1v9ajb.js → shell-jz6dexdk.js} +27 -27
- package/dist/chunks/{bus-gzyaaj9q.js → shell-k7gxh26f.js} +13 -13
- package/dist/chunks/{bus-6xf9vr65.js → shell-k943pb70.js} +51 -51
- package/dist/chunks/{bus-h3ysd6bx.js → shell-kbdz3wd2.js} +36 -36
- package/dist/chunks/{bus-eq4mjx14.js → shell-kg219d3x.js} +28 -28
- package/dist/chunks/{bus-mx0gp0c3.js → shell-krapdeg3.js} +31 -31
- package/dist/chunks/{bus-gemkh5vt.js → shell-ks9y0tx3.js} +24 -24
- package/dist/chunks/{bus-vxn7m0sk.js → shell-kv6kzmzw.js} +5 -5
- package/dist/chunks/{bus-pw2ze8eb.js → shell-ky853516.js} +32 -32
- package/dist/chunks/{bus-jssqjg8j.js → shell-m7p8symg.js} +7 -7
- package/dist/chunks/{bus-jca4demv.js → shell-m7va1g8x.js} +2 -2
- package/dist/chunks/{bus-h7ygw6q4.js → shell-m86bnw2c.js} +9 -9
- package/dist/chunks/{bus-m9w0rfyh.js → shell-m9w0rfyh.js} +1 -1
- package/dist/chunks/{bus-gcrpxwkb.js → shell-mtvv3gsd.js} +30 -30
- package/dist/chunks/{bus-jdc9ax8k.js → shell-myhx9xq2.js} +10 -10
- package/dist/chunks/{bus-j2149bqs.js → shell-n25js84d.js} +11 -11
- package/dist/chunks/{bus-75tpbtqb.js → shell-n3ej18g3.js} +35 -35
- package/dist/chunks/{bus-t5t549nc.js → shell-n64z6ayh.js} +20 -20
- package/dist/chunks/{bus-qyeevtht.js → shell-nemptxrn.js} +41 -41
- package/dist/chunks/{bus-at1kfnmk.js → shell-ngts6ef0.js} +8 -8
- package/dist/chunks/{bus-yd9ketrd.js → shell-nj8bs39t.js} +6 -6
- package/dist/chunks/{bus-15zevn5w.js → shell-p0b4ytnr.js} +6 -6
- package/dist/chunks/{bus-m63gtq16.js → shell-p3vxwp2p.js} +11 -11
- package/dist/chunks/{bus-gmjjhz4f.js → shell-pjcjb8bs.js} +9 -9
- package/dist/chunks/{bus-pjvnvgmy.js → shell-pjvnvgmy.js} +1 -1
- package/dist/chunks/{bus-pknna89w.js → shell-pknna89w.js} +1 -1
- package/dist/chunks/{bus-c9f7p254.js → shell-pt4mvj74.js} +19 -19
- package/dist/chunks/{bus-nzzy63ds.js → shell-py8w2btc.js} +11 -11
- package/dist/chunks/{bus-sm8rghk4.js → shell-q0fgvcgb.js} +13 -13
- package/dist/chunks/{bus-jgpr3qf1.js → shell-q12fghcp.js} +26 -26
- package/dist/chunks/{bus-xsxe7432.js → shell-q7436kvy.js} +9 -9
- package/dist/chunks/{bus-j35w4m74.js → shell-q7j6kr81.js} +6 -6
- package/dist/chunks/{bus-2wmcpc5j.js → shell-qj5hfmwn.js} +11 -11
- package/dist/chunks/{bus-t402yjt7.js → shell-qk0ppmjd.js} +24 -24
- package/dist/chunks/{bus-qsdy395h.js → shell-qsdy395h.js} +1 -1
- package/dist/chunks/{bus-w35y2yw8.js → shell-r78s3j5q.js} +37 -37
- package/dist/chunks/{bus-0hng8cbp.js → shell-r8b7ztcg.js} +17 -17
- package/dist/chunks/{bus-r9mregkx.js → shell-r9mregkx.js} +2 -2
- package/dist/chunks/shell-rap9a73h.js +18 -0
- package/dist/chunks/{bus-7zgx3034.js → shell-raxwcv5a.js} +18 -18
- package/dist/chunks/{bus-rdw6cm16.js → shell-rdw6cm16.js} +1 -1
- package/dist/chunks/{bus-nzh27kh4.js → shell-rhbwnwxm.js} +13 -13
- package/dist/chunks/{bus-w0sf05pe.js → shell-rq4xqzzd.js} +4 -4
- package/dist/chunks/{bus-1c2v1v3n.js → shell-rq8qh2nn.js} +28 -28
- package/dist/chunks/{bus-zakjc7j6.js → shell-s2n5r9er.js} +30 -30
- package/dist/chunks/{bus-5rvay4qb.js → shell-s45sawj9.js} +4 -4
- package/dist/chunks/{bus-yrznvahk.js → shell-s4enseaf.js} +2 -2
- package/dist/chunks/{bus-qed01h9c.js → shell-sf7s3xnw.js} +63 -63
- package/dist/chunks/{bus-0ffvsmqa.js → shell-shk57n0j.js} +11 -11
- package/dist/chunks/{bus-fec9d9pd.js → shell-shkg2ahe.js} +58 -58
- package/dist/chunks/{bus-2t9y4ena.js → shell-sx1q5qav.js} +22 -22
- package/dist/chunks/{bus-0n6rap9z.js → shell-t38tzg53.js} +19 -19
- package/dist/chunks/{bus-73z097ay.js → shell-t44n027g.js} +14 -14
- package/dist/chunks/{bus-tazgh4e4.js → shell-tazgh4e4.js} +1 -1
- package/dist/chunks/{bus-5pjsqvg3.js → shell-tb399yc8.js} +11 -11
- package/dist/chunks/{bus-dn2g8ty9.js → shell-tb9hrnng.js} +15 -15
- package/dist/chunks/{bus-89znhe33.js → shell-tcezcvh9.js} +4 -4
- package/dist/chunks/{bus-tdstcens.js → shell-tdstcens.js} +1 -1
- package/dist/chunks/{bus-nrtvwtgm.js → shell-tezxby1z.js} +4 -4
- package/dist/chunks/{bus-1p84h329.js → shell-tj413h3v.js} +17 -17
- package/dist/chunks/{bus-8qvaa28h.js → shell-tkg9rxzp.js} +10 -10
- package/dist/chunks/{bus-4czdean4.js → shell-tkwws864.js} +19 -19
- package/dist/chunks/{bus-d1e2r7xq.js → shell-tmaw6k1g.js} +10 -10
- package/dist/chunks/{bus-h11wzpyy.js → shell-tnsmn68n.js} +22 -22
- package/dist/chunks/{bus-tcg29b4q.js → shell-ts2x07a1.js} +1 -1
- package/dist/chunks/{bus-tvtrv512.js → shell-tvtrv512.js} +1 -1
- package/dist/chunks/{bus-pfrpta5e.js → shell-twygzwrg.js} +6 -6
- package/dist/chunks/{bus-a4f8rw7k.js → shell-v5enyfy9.js} +10 -10
- package/dist/chunks/{bus-b5ky3g00.js → shell-v8wr64pb.js} +2 -2
- package/dist/chunks/{bus-236xsrf6.js → shell-vcfd1qyk.js} +24 -24
- package/dist/chunks/{bus-veqvce7d.js → shell-veqvce7d.js} +1 -1
- package/dist/chunks/{bus-xx2kx86r.js → shell-vet9mkc8.js} +43 -43
- package/dist/chunks/{bus-q529tzg0.js → shell-vfx00g3j.js} +23 -23
- package/dist/chunks/{bus-fxqygnfa.js → shell-vkxpz7g2.js} +4 -4
- package/dist/chunks/{bus-cj2xyb66.js → shell-vnge3cnh.js} +20 -20
- package/dist/chunks/{bus-5d17xbav.js → shell-vnwmzs4a.js} +5 -5
- package/dist/chunks/{bus-aef6edcj.js → shell-vq3jpdg0.js} +11 -11
- package/dist/chunks/{bus-11nsfp7x.js → shell-vq7zxmz5.js} +23 -23
- package/dist/chunks/{bus-zp0g5kd9.js → shell-vz6ekzbd.js} +15 -15
- package/dist/chunks/{bus-vzcthcp8.js → shell-vzcthcp8.js} +1 -1
- package/dist/chunks/{bus-tsg9kv8a.js → shell-vzjym1fd.js} +12 -12
- package/dist/chunks/{bus-w3wsvvr9.js → shell-w3wsvvr9.js} +1 -1
- package/dist/chunks/{bus-5nc0fa0s.js → shell-wc2samf7.js} +23 -23
- package/dist/chunks/{bus-wd87259q.js → shell-wd87259q.js} +1 -1
- package/dist/chunks/{bus-ay1e4s3v.js → shell-wn0qm5qp.js} +17 -17
- package/dist/chunks/{bus-cadqg8yk.js → shell-wn3yryga.js} +20 -20
- package/dist/chunks/{bus-7414g21f.js → shell-wztakc2g.js} +41 -41
- package/dist/chunks/{bus-x1ezjp6w.js → shell-x1ezjp6w.js} +1 -1
- package/dist/chunks/{bus-h686kfbk.js → shell-x9emb11y.js} +9 -9
- package/dist/chunks/{bus-km7e3hxy.js → shell-xa8bg79b.js} +1 -1
- package/dist/chunks/{bus-tkmwgdpd.js → shell-xb02k0wq.js} +7 -7
- package/dist/chunks/{bus-1xj9a01p.js → shell-xdaabq9e.js} +5 -5
- package/dist/chunks/{bus-v2tpmsmj.js → shell-xx3aj77c.js} +38 -38
- package/dist/chunks/{bus-v1ksr1cs.js → shell-xxs5sj5m.js} +5 -5
- package/dist/chunks/{bus-2vvyjm96.js → shell-xxvph2p0.js} +84 -84
- package/dist/chunks/{bus-y1fvbwt7.js → shell-y1fvbwt7.js} +1 -1
- package/dist/chunks/{bus-9cebcpzz.js → shell-y3nkzwnm.js} +30 -30
- package/dist/chunks/{bus-dbmkm35e.js → shell-y992ahjm.js} +1 -1
- package/dist/chunks/{bus-7kj26btf.js → shell-yaym739t.js} +3 -3
- package/dist/chunks/{bus-25k60r6z.js → shell-ydkphrk6.js} +17 -17
- package/dist/chunks/{bus-w6dzfd7x.js → shell-yhcttc12.js} +12 -12
- package/dist/chunks/{bus-yp2x3t23.js → shell-yp2x3t23.js} +1 -1
- package/dist/chunks/{bus-xevfw74a.js → shell-yqcnkns9.js} +27 -27
- package/dist/chunks/{bus-yrhqyw5v.js → shell-yrhqyw5v.js} +1 -1
- package/dist/chunks/{bus-h3sg4en2.js → shell-ysm27kyh.js} +10 -10
- package/dist/chunks/{bus-0f9afca0.js → shell-yt0fqk68.js} +5 -5
- package/dist/chunks/{bus-cpng0f85.js → shell-yw5eewpj.js} +29 -29
- package/dist/chunks/{bus-z0bkrqjs.js → shell-z0bkrqjs.js} +1 -1
- package/dist/chunks/{bus-9m5kzw0e.js → shell-z9nnsx8f.js} +8 -8
- package/dist/chunks/{bus-zeh9ct20.js → shell-zeh9ct20.js} +2 -2
- package/dist/chunks/{bus-p53n7dng.js → shell-zhgb2amq.js} +30 -30
- package/dist/chunks/{bus-ete3mxyp.js → shell-znbb05ss.js} +16 -16
- package/dist/chunks/{bus-zr2ceqn5.js → shell-zr2ceqn5.js} +1 -1
- package/dist/chunks/{bus-e16t29dh.js → shell-zrg5zcty.js} +9 -9
- package/dist/chunks/{bus-8pbhr5rb.js → shell-zwbb9m0v.js} +11 -11
- package/dist/chunks/{bus-zxq2ej10.js → shell-zxq2ej10.js} +1 -1
- 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 +83 -83
- 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 +125 -125
- 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 +127 -127
- 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 +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 +3 -3
- package/dist/filesystem/search.js +102 -102
- package/dist/filesystem/watcher-binding.js +3 -3
- package/dist/filesystem/watcher.js +15 -15
- package/dist/filesystem.js +105 -105
- package/dist/form.js +85 -85
- package/dist/formatter/builtins.js +4 -4
- package/dist/formatter.js +86 -86
- package/dist/generate.js +103 -103
- 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 +84 -84
- package/dist/instructions/builtins.js +86 -86
- package/dist/instructions/index.js +5 -5
- package/dist/integration/connection.js +3 -3
- package/dist/integration.js +85 -85
- package/dist/job.js +78 -78
- package/dist/kv/sql.js +2 -2
- package/dist/kv.js +72 -72
- package/dist/location-activity.js +137 -137
- package/dist/location-mutation.js +103 -103
- package/dist/location-service-map.js +87 -87
- package/dist/location-services.js +353 -353
- package/dist/location.js +84 -84
- 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 +96 -96
- package/dist/model.js +101 -101
- package/dist/models-dev.js +105 -105
- package/dist/oauth/page.js +1 -1
- package/dist/permission/saved.js +79 -79
- package/dist/permission/sql.js +5 -5
- package/dist/permission.js +116 -116
- 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 +5 -5
- package/dist/plugin/optimize.js +2 -2
- 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 +91 -91
- 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 +3 -3
- package/dist/plugin/skill.js +140 -140
- package/dist/plugin/source-directory.js +1 -1
- package/dist/plugin/supervisor.js +342 -342
- package/dist/plugin/update.js +6 -6
- package/dist/plugin/variant.js +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 +2 -2
- package/dist/project/sql.js +4 -4
- package/dist/project.js +85 -85
- package/dist/provider.js +100 -100
- 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 +88 -88
- package/dist/repository-cache.js +80 -80
- package/dist/repository.js +3 -3
- package/dist/ripgrep/binary.js +2 -2
- package/dist/ripgrep.js +96 -96
- 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 +126 -126
- package/dist/session/generate.js +150 -150
- package/dist/session/history.js +15 -15
- package/dist/session/inbox.js +87 -87
- package/dist/session/info.js +3 -3
- package/dist/session/instruction-entry.js +78 -78
- 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 +117 -117
- package/dist/session/model-transport.js +9 -9
- 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 +1 -1
- 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 +123 -123
- package/dist/session/runner/to-llm-message.js +2 -2
- package/dist/session/schema.js +5 -5
- package/dist/session/session.js +172 -172
- 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 +84 -84
- package/dist/session/subagent-completion.js +1 -1
- package/dist/session/subagent-job.js +209 -209
- package/dist/session/system-prompt.js +5 -5
- package/dist/session/title.js +153 -153
- 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 +13 -13
- package/dist/shell.js +139 -139
- package/dist/skill/discovery.js +6 -6
- package/dist/skill/instructions.js +106 -106
- 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 +119 -119
- package/dist/tool/plugin/file-diff.js +1 -1
- package/dist/tool/plugin/glob.js +123 -123
- 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 +104 -104
- package/dist/tool/plugin/read.js +122 -122
- package/dist/tool/plugin/shell.js +214 -214
- package/dist/tool/plugin/skill.js +108 -108
- package/dist/tool/plugin/subagent.js +218 -218
- package/dist/tool/plugin/webfetch.js +109 -109
- package/dist/tool/plugin/websearch.js +111 -111
- package/dist/tool/plugin/write.js +121 -121
- 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 +5 -5
- package/dist/v1/config/config.js +16 -16
- package/dist/v1/config/error.js +4 -4
- package/dist/v1/config/formatter.js +1 -1
- 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 +91 -91
- 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 +88 -88
- package/dist/websearch.js +83 -83
- package/dist/wellknown/plugin.js +75 -75
- package/dist/wellknown.js +78 -78
- 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 +4 -4
- package/dist/worktree/git.js +10 -10
- 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/bus-1m7ztpz9.js +0 -26
- package/dist/chunks/bus-pf31ssb9.js +0 -18
- package/dist/chunks/bus-qapv375x.js +0 -4
- package/dist/chunks/bus-x88d9nzm.js +0 -251
- /package/dist/chunks/{bus-0qkdqm5v.js → shell-0qkdqm5v.js} +0 -0
- /package/dist/chunks/{bus-0zkw76rk.js → shell-0zkw76rk.js} +0 -0
- /package/dist/chunks/{bus-17cy0kzp.js → shell-17cy0kzp.js} +0 -0
- /package/dist/chunks/{bus-1cnp2v09.js → shell-1cnp2v09.js} +0 -0
- /package/dist/chunks/{bus-1kg9ymc8.js → shell-1kg9ymc8.js} +0 -0
- /package/dist/chunks/{bus-2710q6r3.js → shell-2710q6r3.js} +0 -0
- /package/dist/chunks/{bus-2axfhc9x.js → shell-2axfhc9x.js} +0 -0
- /package/dist/chunks/{bus-2c3vjs8z.js → shell-2c3vjs8z.js} +0 -0
- /package/dist/chunks/{bus-359p4xyc.js → shell-359p4xyc.js} +0 -0
- /package/dist/chunks/{bus-3asan66x.js → shell-3asan66x.js} +0 -0
- /package/dist/chunks/{bus-3v8g72cx.js → shell-3v8g72cx.js} +0 -0
- /package/dist/chunks/{bus-3w5fmr99.js → shell-3w5fmr99.js} +0 -0
- /package/dist/chunks/{bus-3wcehsnq.js → shell-3wcehsnq.js} +0 -0
- /package/dist/chunks/{bus-43n2bw4t.js → shell-43n2bw4t.js} +0 -0
- /package/dist/chunks/{bus-4knz6hnm.js → shell-4knz6hnm.js} +0 -0
- /package/dist/chunks/{bus-4vcrnpx2.js → shell-4vcrnpx2.js} +0 -0
- /package/dist/chunks/{bus-4y7fprxs.js → shell-4y7fprxs.js} +0 -0
- /package/dist/chunks/{bus-53557ph1.js → shell-53557ph1.js} +0 -0
- /package/dist/chunks/{bus-550bvhaj.js → shell-550bvhaj.js} +0 -0
- /package/dist/chunks/{bus-6prwharc.js → shell-6prwharc.js} +0 -0
- /package/dist/chunks/{bus-7akdwqpd.js → shell-7akdwqpd.js} +0 -0
- /package/dist/chunks/{bus-7m9af43g.js → shell-7m9af43g.js} +0 -0
- /package/dist/chunks/{bus-822emrt2.js → shell-822emrt2.js} +0 -0
- /package/dist/chunks/{bus-88xbtdfr.js → shell-88xbtdfr.js} +0 -0
- /package/dist/chunks/{bus-8n3pysct.js → shell-8n3pysct.js} +0 -0
- /package/dist/chunks/{bus-922hggd3.js → shell-922hggd3.js} +0 -0
- /package/dist/chunks/{bus-9a4afbnw.js → shell-9a4afbnw.js} +0 -0
- /package/dist/chunks/{bus-9rqn6x4v.js → shell-9rqn6x4v.js} +0 -0
- /package/dist/chunks/{bus-a6k6eb26.js → shell-a6k6eb26.js} +0 -0
- /package/dist/chunks/{bus-af5trqkr.js → shell-af5trqkr.js} +0 -0
- /package/dist/chunks/{bus-afrmfg78.js → shell-afrmfg78.js} +0 -0
- /package/dist/chunks/{bus-aqzs7mqg.js → shell-aqzs7mqg.js} +0 -0
- /package/dist/chunks/{bus-atq7p7m5.js → shell-atq7p7m5.js} +0 -0
- /package/dist/chunks/{bus-bkyjaxrp.js → shell-bkyjaxrp.js} +0 -0
- /package/dist/chunks/{bus-bmr6ed5q.js → shell-bmr6ed5q.js} +0 -0
- /package/dist/chunks/{bus-cf4snx6d.js → shell-cf4snx6d.js} +0 -0
- /package/dist/chunks/{bus-cvy3z8tj.js → shell-cvy3z8tj.js} +0 -0
- /package/dist/chunks/{bus-d9fn303g.js → shell-d9fn303g.js} +0 -0
- /package/dist/chunks/{bus-d9jj8t3e.js → shell-d9jj8t3e.js} +0 -0
- /package/dist/chunks/{bus-dajrwvna.js → shell-dajrwvna.js} +0 -0
- /package/dist/chunks/{bus-dap0rakb.js → shell-dap0rakb.js} +0 -0
- /package/dist/chunks/{bus-df08tz66.js → shell-df08tz66.js} +0 -0
- /package/dist/chunks/{bus-dy18nga0.js → shell-dy18nga0.js} +0 -0
- /package/dist/chunks/{bus-e5kj55wp.js → shell-e5kj55wp.js} +0 -0
- /package/dist/chunks/{bus-e73j6tqm.js → shell-e73j6tqm.js} +0 -0
- /package/dist/chunks/{bus-ec1grn59.js → shell-ec1grn59.js} +0 -0
- /package/dist/chunks/{bus-eh3zwz77.js → shell-eh3zwz77.js} +0 -0
- /package/dist/chunks/{bus-emrn6kk6.js → shell-emrn6kk6.js} +0 -0
- /package/dist/chunks/{bus-f0mxakyp.js → shell-f0mxakyp.js} +0 -0
- /package/dist/chunks/{bus-f6n9ztr4.js → shell-f6n9ztr4.js} +0 -0
- /package/dist/chunks/{bus-faypxj3z.js → shell-faypxj3z.js} +0 -0
- /package/dist/chunks/{bus-fd410y7t.js → shell-fd410y7t.js} +0 -0
- /package/dist/chunks/{bus-fxgpk5d8.js → shell-fxgpk5d8.js} +0 -0
- /package/dist/chunks/{bus-g4wezp1m.js → shell-g4wezp1m.js} +0 -0
- /package/dist/chunks/{bus-g86h250q.js → shell-g86h250q.js} +0 -0
- /package/dist/chunks/{bus-gebd4c9n.js → shell-gebd4c9n.js} +0 -0
- /package/dist/chunks/{bus-gftt206x.js → shell-gftt206x.js} +0 -0
- /package/dist/chunks/{bus-hjbc5kem.js → shell-hjbc5kem.js} +0 -0
- /package/dist/chunks/{bus-hk9envan.js → shell-hk9envan.js} +0 -0
- /package/dist/chunks/{bus-hrnqkpcd.js → shell-hrnqkpcd.js} +0 -0
- /package/dist/chunks/{bus-j2ntwpah.js → shell-j2ntwpah.js} +0 -0
- /package/dist/chunks/{bus-j5zkgpj8.js → shell-j5zkgpj8.js} +0 -0
- /package/dist/chunks/{bus-jr7sbwjy.js → shell-jr7sbwjy.js} +0 -0
- /package/dist/chunks/{bus-jwfs4k6c.js → shell-jwfs4k6c.js} +0 -0
- /package/dist/chunks/{bus-jzg6c2d5.js → shell-jzg6c2d5.js} +0 -0
- /package/dist/chunks/{bus-mp448xyj.js → shell-mp448xyj.js} +0 -0
- /package/dist/chunks/{bus-msx8hqn2.js → shell-msx8hqn2.js} +0 -0
- /package/dist/chunks/{bus-n05xt0ee.js → shell-n05xt0ee.js} +0 -0
- /package/dist/chunks/{bus-n3j8tn72.js → shell-n3j8tn72.js} +0 -0
- /package/dist/chunks/{bus-njntx4h6.js → shell-njntx4h6.js} +0 -0
- /package/dist/chunks/{bus-q3sfg36h.js → shell-q3sfg36h.js} +0 -0
- /package/dist/chunks/{bus-q74kybfr.js → shell-q74kybfr.js} +0 -0
- /package/dist/chunks/{bus-qaymkmh1.js → shell-qaymkmh1.js} +0 -0
- /package/dist/chunks/{bus-qb87gjwd.js → shell-qb87gjwd.js} +0 -0
- /package/dist/chunks/{bus-qfa1cgps.js → shell-qfa1cgps.js} +0 -0
- /package/dist/chunks/{bus-qrg20bc0.js → shell-qrg20bc0.js} +0 -0
- /package/dist/chunks/{bus-rcb2kzg1.js → shell-rcb2kzg1.js} +0 -0
- /package/dist/chunks/{bus-sdp7kfr6.js → shell-sdp7kfr6.js} +0 -0
- /package/dist/chunks/{bus-sk3qaz4a.js → shell-sk3qaz4a.js} +0 -0
- /package/dist/chunks/{bus-ssg3fenm.js → shell-ssg3fenm.js} +0 -0
- /package/dist/chunks/{bus-twg0f83k.js → shell-twg0f83k.js} +0 -0
- /package/dist/chunks/{bus-w803qqfp.js → shell-w803qqfp.js} +0 -0
- /package/dist/chunks/{bus-wer8tq1h.js → shell-wer8tq1h.js} +0 -0
- /package/dist/chunks/{bus-wtztk69x.js → shell-wtztk69x.js} +0 -0
- /package/dist/chunks/{bus-x0ckcb58.js → shell-x0ckcb58.js} +0 -0
- /package/dist/chunks/{bus-x61499pn.js → shell-x61499pn.js} +0 -0
- /package/dist/chunks/{bus-y44na4kk.js → shell-y44na4kk.js} +0 -0
- /package/dist/chunks/{bus-y8cydn3q.js → shell-y8cydn3q.js} +0 -0
- /package/dist/chunks/{bus-y8f7s663.js → shell-y8f7s663.js} +0 -0
- /package/dist/chunks/{bus-ygaqb7jw.js → shell-ygaqb7jw.js} +0 -0
- /package/dist/chunks/{bus-ym463w8f.js → shell-ym463w8f.js} +0 -0
- /package/dist/chunks/{bus-z9919s4g.js → shell-z9919s4g.js} +0 -0
|
@@ -1,16 +1,16 @@
|
|
|
1
1
|
import {
|
|
2
2
|
AbsolutePath2
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./shell-922hggd3.js";
|
|
4
4
|
import {
|
|
5
5
|
__export
|
|
6
|
-
} from "./
|
|
6
|
+
} from "./shell-9rqn6x4v.js";
|
|
7
7
|
|
|
8
8
|
// src/skill/discovery.ts
|
|
9
9
|
var exports_discovery = {};
|
|
10
10
|
__export(exports_discovery, {
|
|
11
|
-
Service: () =>
|
|
11
|
+
Service: () => Service9,
|
|
12
12
|
SkillDiscovery: () => exports_discovery,
|
|
13
|
-
node: () =>
|
|
13
|
+
node: () => node12
|
|
14
14
|
});
|
|
15
15
|
import path from "path";
|
|
16
16
|
import { Context, Effect, Layer, Schedule, Schema } from "effect";
|
|
@@ -48,9 +48,9 @@ class Index extends Schema.Class("SkillDiscovery.Index")({
|
|
|
48
48
|
}) {
|
|
49
49
|
}
|
|
50
50
|
|
|
51
|
-
class
|
|
51
|
+
class Service9 extends Context.Service()("@opencode/SkillDiscovery") {
|
|
52
52
|
}
|
|
53
|
-
var layer = Layer.effect(
|
|
53
|
+
var layer = Layer.effect(Service9, Effect.gen(function* () {
|
|
54
54
|
const fs = yield* FSUtil.Service;
|
|
55
55
|
const global = yield* Global.Service;
|
|
56
56
|
const http = (yield* HttpClient.HttpClient).pipe(HttpClient.retryTransient({
|
|
@@ -63,7 +63,7 @@ var layer = Layer.effect(Service12, Effect.gen(function* () {
|
|
|
63
63
|
return true;
|
|
64
64
|
return yield* HttpClientRequest.get(url).pipe(http.execute, Effect.flatMap((response) => response.arrayBuffer), Effect.flatMap((body) => fs.writeWithDirs(destination, new Uint8Array(body))), Effect.as(true), Effect.catch((error) => Effect.logError("failed to download skill file", { url, error }).pipe(Effect.as(false))));
|
|
65
65
|
});
|
|
66
|
-
return
|
|
66
|
+
return Service9.of({
|
|
67
67
|
pull: Effect.fn("SkillDiscovery.pull")(function* (url) {
|
|
68
68
|
const base = url.endsWith("/") ? url : `${url}/`;
|
|
69
69
|
const source = new URL(base);
|
|
@@ -150,6 +150,6 @@ var layer = Layer.effect(Service12, Effect.gen(function* () {
|
|
|
150
150
|
})
|
|
151
151
|
});
|
|
152
152
|
}));
|
|
153
|
-
var
|
|
153
|
+
var node12 = makeGlobalNode({ service: Service9, layer, deps: [httpClient, FSUtil.node, Global.node] });
|
|
154
154
|
|
|
155
|
-
export {
|
|
155
|
+
export { Service9, node12, exports_discovery };
|
|
@@ -1,30 +1,30 @@
|
|
|
1
1
|
import {
|
|
2
2
|
AbsolutePath2,
|
|
3
3
|
RelativePath2
|
|
4
|
-
} from "./
|
|
4
|
+
} from "./shell-922hggd3.js";
|
|
5
5
|
import {
|
|
6
6
|
Repository2,
|
|
7
7
|
TreeID2,
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
} from "./
|
|
8
|
+
Service78,
|
|
9
|
+
node83
|
|
10
|
+
} from "./shell-yhcttc12.js";
|
|
11
11
|
import {
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
} from "./
|
|
12
|
+
Service75,
|
|
13
|
+
node80
|
|
14
|
+
} from "./shell-t44n027g.js";
|
|
15
15
|
import {
|
|
16
16
|
create3
|
|
17
|
-
} from "./
|
|
17
|
+
} from "./shell-rdw6cm16.js";
|
|
18
18
|
import {
|
|
19
19
|
__export
|
|
20
|
-
} from "./
|
|
20
|
+
} from "./shell-9rqn6x4v.js";
|
|
21
21
|
|
|
22
22
|
// src/snapshot.ts
|
|
23
23
|
var exports_snapshot2 = {};
|
|
24
24
|
__export(exports_snapshot2, {
|
|
25
|
-
Error: () =>
|
|
26
|
-
ID: () =>
|
|
27
|
-
Service: () =>
|
|
25
|
+
Error: () => Error3,
|
|
26
|
+
ID: () => ID6,
|
|
27
|
+
Service: () => Service50,
|
|
28
28
|
Snapshot: () => exports_snapshot2,
|
|
29
29
|
node: () => node53,
|
|
30
30
|
noopLayer: () => noopLayer3
|
|
@@ -34,22 +34,22 @@ 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 ID6 } from "@opencode/schema/snapshot";
|
|
38
38
|
import { Hash } from "@opencode/util/hash";
|
|
39
|
-
class
|
|
39
|
+
class Error3 extends Schema.TaggedError()("Snapshot.Error", {
|
|
40
40
|
operation: Schema.Literals(["capture", "files", "diff", "restore"]),
|
|
41
41
|
message: Schema.String,
|
|
42
42
|
cause: Schema.optional(Schema.Defect())
|
|
43
43
|
}) {
|
|
44
44
|
}
|
|
45
45
|
|
|
46
|
-
class
|
|
46
|
+
class Service50 extends Context.Service()("@opencode/Snapshot") {
|
|
47
47
|
}
|
|
48
|
-
var layer = Layer.effect(
|
|
48
|
+
var layer = Layer.effect(Service50, Effect.gen(function* () {
|
|
49
49
|
const fs = yield* FSUtil.Service;
|
|
50
|
-
const git = yield*
|
|
50
|
+
const git = yield* Service78;
|
|
51
51
|
const global = yield* Global.Service;
|
|
52
|
-
const location = yield*
|
|
52
|
+
const location = yield* Service75;
|
|
53
53
|
const lifetime = yield* Scope.Scope;
|
|
54
54
|
const state = create3({
|
|
55
55
|
name: "snapshot",
|
|
@@ -63,7 +63,7 @@ var layer = Layer.effect(Service49, Effect.gen(function* () {
|
|
|
63
63
|
const repositoryFiber = yield* Effect.cached(Effect.gen(function* () {
|
|
64
64
|
const source = yield* git.repo.discover(location.project.directory);
|
|
65
65
|
if (!source)
|
|
66
|
-
return yield* new
|
|
66
|
+
return yield* new Error3({ operation: "capture", message: "Project is not a Git repository" });
|
|
67
67
|
const worktree = AbsolutePath2.make(yield* fs.realPath(source.worktree).pipe(Effect.orDie));
|
|
68
68
|
const gitDirectory = AbsolutePath2.make(path.join(global.data, "snapshot", location.project.id, Hash.fast(worktree)));
|
|
69
69
|
const snapshotRepository = (yield* fs.existsSafe(path.join(gitDirectory, "HEAD"))) ? new Repository2({ worktree, gitDirectory, commonDirectory: gitDirectory }) : yield* git.repo.create({ worktree, gitDirectory, seed: source }).pipe(Effect.mapError((cause) => failure("capture", cause)));
|
|
@@ -73,7 +73,7 @@ var layer = Layer.effect(Service49, Effect.gen(function* () {
|
|
|
73
73
|
const scope = Effect.fnUntraced(function* (worktree) {
|
|
74
74
|
const relative = path.relative(worktree, location.directory);
|
|
75
75
|
if (relative.startsWith("..") || path.isAbsolute(relative))
|
|
76
|
-
return yield* new
|
|
76
|
+
return yield* new Error3({ operation: "capture", message: "Location is outside the project" });
|
|
77
77
|
return RelativePath2.make(relative.replaceAll("\\", "/") || ".");
|
|
78
78
|
});
|
|
79
79
|
const enabled = () => location.vcs?.type === "git" && state.get().enabled;
|
|
@@ -82,7 +82,7 @@ var layer = Layer.effect(Service49, Effect.gen(function* () {
|
|
|
82
82
|
return;
|
|
83
83
|
return yield* Effect.gen(function* () {
|
|
84
84
|
const repo = yield* repository;
|
|
85
|
-
return
|
|
85
|
+
return ID6.make(yield* git.tree.capture({
|
|
86
86
|
repository: repo.snapshotRepository,
|
|
87
87
|
scopes: [yield* scope(repo.worktree)],
|
|
88
88
|
ignores: repo.source,
|
|
@@ -127,25 +127,25 @@ var layer = Layer.effect(Service49, Effect.gen(function* () {
|
|
|
127
127
|
for (const [file, snapshot] of input.files) {
|
|
128
128
|
const absolute = path.resolve(worktree, file);
|
|
129
129
|
if (!FSUtil.contains(worktree, absolute))
|
|
130
|
-
return yield* new
|
|
130
|
+
return yield* new Error3({ operation: "restore", message: `Path escapes the project: ${file}` });
|
|
131
131
|
files.set(file, TreeID2.make(snapshot));
|
|
132
132
|
}
|
|
133
133
|
return files;
|
|
134
134
|
});
|
|
135
135
|
const restore = Effect.fn("Snapshot.restore")(function* (input) {
|
|
136
136
|
if (!enabled())
|
|
137
|
-
return yield* new
|
|
137
|
+
return yield* new Error3({ operation: "restore", message: "Snapshots are disabled" });
|
|
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 Service50.of({ transform: state.transform, reload: state.reload, capture, files, diff, restore });
|
|
142
142
|
}).pipe(Effect.withSpan("Snapshot.boot")));
|
|
143
143
|
var node53 = makeLocationNode({
|
|
144
|
-
service:
|
|
144
|
+
service: Service50,
|
|
145
145
|
layer,
|
|
146
|
-
deps: [FSUtil.node,
|
|
146
|
+
deps: [FSUtil.node, node83, Global.node, node80]
|
|
147
147
|
});
|
|
148
|
-
var noopLayer3 = Layer.succeed(
|
|
148
|
+
var noopLayer3 = Layer.succeed(Service50, Service50.of({
|
|
149
149
|
transform: () => Effect.succeed({ dispose: Effect.void }),
|
|
150
150
|
reload: () => Effect.void,
|
|
151
151
|
capture: () => Effect.undefined,
|
|
@@ -154,13 +154,13 @@ var noopLayer3 = Layer.succeed(Service49, Service49.of({
|
|
|
154
154
|
restore: () => Effect.void
|
|
155
155
|
}));
|
|
156
156
|
function failure(operation, cause) {
|
|
157
|
-
if (cause instanceof
|
|
157
|
+
if (cause instanceof Error3 && cause.operation === operation)
|
|
158
158
|
return cause;
|
|
159
|
-
return new
|
|
159
|
+
return new Error3({
|
|
160
160
|
operation,
|
|
161
161
|
message: cause instanceof globalThis.Error ? cause.message : String(cause),
|
|
162
162
|
cause
|
|
163
163
|
});
|
|
164
164
|
}
|
|
165
165
|
|
|
166
|
-
export {
|
|
166
|
+
export { ID6, Error3, Service50, node53, noopLayer3, exports_snapshot2 };
|
|
@@ -1,12 +1,12 @@
|
|
|
1
1
|
import {
|
|
2
|
-
|
|
3
|
-
} from "./
|
|
2
|
+
ID10
|
|
3
|
+
} from "./shell-5p8jzcnz.js";
|
|
4
4
|
import {
|
|
5
|
-
|
|
6
|
-
} from "./
|
|
5
|
+
Service63
|
|
6
|
+
} from "./shell-fgga4tyk.js";
|
|
7
7
|
import {
|
|
8
8
|
foldSettings2
|
|
9
|
-
} from "./
|
|
9
|
+
} from "./shell-hs3g5x4f.js";
|
|
10
10
|
|
|
11
11
|
// src/plugin/provider/vllm.ts
|
|
12
12
|
import { define } from "@opencode/plugin/effect/plugin";
|
|
@@ -21,12 +21,12 @@ var RemoteModel = Schema.Struct({
|
|
|
21
21
|
var Response = Schema.Struct({ data: Schema.Array(RemoteModel) });
|
|
22
22
|
var discovery = new Map;
|
|
23
23
|
var discoveryLock = Semaphore.makeUnsafe(1);
|
|
24
|
-
function
|
|
24
|
+
function make8(origin = "http://127.0.0.1:8000", interval = "30 seconds") {
|
|
25
25
|
return define({
|
|
26
26
|
id: "opencode.provider.vllm",
|
|
27
27
|
effect: Effect.fn(function* (ctx) {
|
|
28
28
|
const http = HttpClient.filterStatusOk(yield* HttpClient.HttpClient);
|
|
29
|
-
const config = yield*
|
|
29
|
+
const config = yield* Service63;
|
|
30
30
|
const source = { current: configured(yield* config.entries(), origin) };
|
|
31
31
|
const loaded = { models: [], hash: "[]" };
|
|
32
32
|
yield* ctx.integration.transform((integrations) => {
|
|
@@ -53,7 +53,7 @@ function make6(origin = "http://127.0.0.1:8000", interval = "30 seconds") {
|
|
|
53
53
|
});
|
|
54
54
|
for (const item of loaded.models) {
|
|
55
55
|
providers.models.update(providerID, item.id, (model) => {
|
|
56
|
-
model.modelID =
|
|
56
|
+
model.modelID = ID10.make(item.id);
|
|
57
57
|
model.name = item.id;
|
|
58
58
|
model.capabilities = { tools: false, input: ["text"], output: ["text"] };
|
|
59
59
|
if (typeof item.max_model_len === "number" && item.max_model_len > 0)
|
|
@@ -112,7 +112,7 @@ ${current.modelsEndpoint}`;
|
|
|
112
112
|
})
|
|
113
113
|
});
|
|
114
114
|
}
|
|
115
|
-
var VLLMPlugin2 =
|
|
115
|
+
var VLLMPlugin2 = make8();
|
|
116
116
|
function configured(entries, origin) {
|
|
117
117
|
const settings = foldSettings2(entries, providerID, undefined);
|
|
118
118
|
const baseURL = (typeof settings?.baseURL === "string" ? settings.baseURL : `${origin.replace(/\/+$/, "")}/v1`).replace(/\/+$/, "");
|
|
@@ -134,4 +134,4 @@ function configured(entries, origin) {
|
|
|
134
134
|
return { baseURL, apiKey, healthEndpoint: health.toString(), modelsEndpoint: models.toString() };
|
|
135
135
|
}
|
|
136
136
|
|
|
137
|
-
export {
|
|
137
|
+
export { make8, VLLMPlugin2 };
|
|
@@ -1,29 +1,29 @@
|
|
|
1
1
|
import {
|
|
2
|
-
|
|
3
|
-
} from "./
|
|
2
|
+
Service63
|
|
3
|
+
} from "./shell-fgga4tyk.js";
|
|
4
4
|
import {
|
|
5
|
-
|
|
6
|
-
} from "./
|
|
5
|
+
Service12
|
|
6
|
+
} from "./shell-d3tz2ej1.js";
|
|
7
7
|
import {
|
|
8
8
|
observe2
|
|
9
|
-
} from "./
|
|
9
|
+
} from "./shell-qsdy395h.js";
|
|
10
10
|
import {
|
|
11
11
|
__export
|
|
12
|
-
} from "./
|
|
12
|
+
} from "./shell-9rqn6x4v.js";
|
|
13
13
|
|
|
14
14
|
// src/config/plugin/location-watcher.ts
|
|
15
15
|
var exports_location_watcher2 = {};
|
|
16
16
|
__export(exports_location_watcher2, {
|
|
17
17
|
ConfigLocationWatcherPlugin: () => exports_location_watcher2,
|
|
18
|
-
Plugin: () =>
|
|
18
|
+
Plugin: () => Plugin21
|
|
19
19
|
});
|
|
20
20
|
import { define } from "@opencode/plugin/effect/plugin";
|
|
21
21
|
import { Effect } from "effect";
|
|
22
|
-
var
|
|
22
|
+
var Plugin21 = define({
|
|
23
23
|
id: "opencode.config.location-watcher",
|
|
24
24
|
effect: Effect.fn(function* (ctx) {
|
|
25
|
-
const config = yield*
|
|
26
|
-
const policy = yield*
|
|
25
|
+
const config = yield* Service63;
|
|
26
|
+
const policy = yield* Service12;
|
|
27
27
|
const loaded = yield* observe2(config, ctx.event, policy.reload());
|
|
28
28
|
yield* policy.transform((editor) => {
|
|
29
29
|
for (const entry of loaded.entries) {
|
|
@@ -35,4 +35,4 @@ var Plugin35 = define({
|
|
|
35
35
|
})
|
|
36
36
|
});
|
|
37
37
|
|
|
38
|
-
export {
|
|
38
|
+
export { Plugin21, exports_location_watcher2 };
|
|
@@ -1,39 +1,39 @@
|
|
|
1
1
|
import {
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
} from "./
|
|
2
|
+
Service77,
|
|
3
|
+
node82
|
|
4
|
+
} from "./shell-bsp1pkt4.js";
|
|
5
5
|
import {
|
|
6
6
|
shutdown2,
|
|
7
7
|
create3
|
|
8
|
-
} from "./
|
|
8
|
+
} from "./shell-rdw6cm16.js";
|
|
9
9
|
import {
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
} from "./
|
|
10
|
+
ID12,
|
|
11
|
+
Service69,
|
|
12
|
+
node73,
|
|
13
|
+
Event18
|
|
14
|
+
} from "./shell-3657zqg5.js";
|
|
15
15
|
import {
|
|
16
16
|
key2
|
|
17
|
-
} from "./
|
|
17
|
+
} from "./shell-5mtzsd3b.js";
|
|
18
18
|
import {
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
} from "./
|
|
19
|
+
Service75,
|
|
20
|
+
node80
|
|
21
|
+
} from "./shell-t44n027g.js";
|
|
22
22
|
import {
|
|
23
23
|
__export
|
|
24
|
-
} from "./
|
|
24
|
+
} from "./shell-9rqn6x4v.js";
|
|
25
25
|
|
|
26
26
|
// src/provider.ts
|
|
27
27
|
var exports_provider3 = {};
|
|
28
28
|
__export(exports_provider3, {
|
|
29
29
|
AISDK_PREFIX: () => AISDK_PREFIX2,
|
|
30
|
-
Event: () =>
|
|
31
|
-
ID: () =>
|
|
32
|
-
Info: () =>
|
|
30
|
+
Event: () => Event17,
|
|
31
|
+
ID: () => ID11,
|
|
32
|
+
Info: () => Info25,
|
|
33
33
|
LoadError: () => LoadError3,
|
|
34
34
|
Provider: () => exports_provider3,
|
|
35
|
-
Request: () =>
|
|
36
|
-
Service: () =>
|
|
35
|
+
Request: () => Request3,
|
|
36
|
+
Service: () => Service68,
|
|
37
37
|
Settings: () => Settings2,
|
|
38
38
|
aisdk: () => aisdk2,
|
|
39
39
|
isAISDK: () => isAISDK2,
|
|
@@ -41,7 +41,7 @@ __export(exports_provider3, {
|
|
|
41
41
|
mergeHeaders: () => mergeHeaders2,
|
|
42
42
|
mergeOverlay: () => mergeOverlay2,
|
|
43
43
|
nativeSettings: () => nativeSettings2,
|
|
44
|
-
node: () =>
|
|
44
|
+
node: () => node72,
|
|
45
45
|
packageName: () => packageName2
|
|
46
46
|
});
|
|
47
47
|
import { Context, Effect, Layer, Schema, Stream, Struct } from "effect";
|
|
@@ -52,8 +52,8 @@ import { isRecord } from "@opencode/ai/utils/record";
|
|
|
52
52
|
import { importModule, resolveModule } from "@opencode/util/runtime-import";
|
|
53
53
|
import { Credential } from "@opencode/schema/credential";
|
|
54
54
|
import { freeze } from "immer";
|
|
55
|
-
import { Event as
|
|
56
|
-
var
|
|
55
|
+
import { Event as Event17 } from "@opencode/schema/provider";
|
|
56
|
+
var ID11 = Provider.ID;
|
|
57
57
|
var AISDK_PREFIX2 = "aisdk:";
|
|
58
58
|
var isAISDK2 = (value) => value?.startsWith(AISDK_PREFIX2) ?? false;
|
|
59
59
|
var aisdk2 = (value) => isAISDK2(value) ? value : `${AISDK_PREFIX2}${value}`;
|
|
@@ -171,11 +171,11 @@ function mergeHeaders2(base, overlay) {
|
|
|
171
171
|
return result;
|
|
172
172
|
}, new Map).values());
|
|
173
173
|
}
|
|
174
|
-
var
|
|
174
|
+
var Request3 = Provider.Request;
|
|
175
175
|
var Settings2 = Provider.Settings;
|
|
176
|
-
var
|
|
176
|
+
var Info25 = Provider.Info;
|
|
177
177
|
|
|
178
|
-
class
|
|
178
|
+
class Service68 extends Context.Service()("@opencode/Provider") {
|
|
179
179
|
}
|
|
180
180
|
var definitions = new WeakMap;
|
|
181
181
|
function index(models) {
|
|
@@ -186,10 +186,10 @@ function index(models) {
|
|
|
186
186
|
definitions.set(models, result);
|
|
187
187
|
return result;
|
|
188
188
|
}
|
|
189
|
-
var layer = Layer.effect(
|
|
190
|
-
const bus = yield*
|
|
191
|
-
const integrations = yield*
|
|
192
|
-
const location = yield*
|
|
189
|
+
var layer = Layer.effect(Service68, Effect.gen(function* () {
|
|
190
|
+
const bus = yield* Service77;
|
|
191
|
+
const integrations = yield* Service69;
|
|
192
|
+
const location = yield* Service75;
|
|
193
193
|
const state = create3({
|
|
194
194
|
name: "provider",
|
|
195
195
|
initial: () => new Map,
|
|
@@ -200,7 +200,7 @@ var layer = Layer.effect(Service55, Effect.gen(function* () {
|
|
|
200
200
|
const current = records.get(id);
|
|
201
201
|
if (current)
|
|
202
202
|
return current;
|
|
203
|
-
const added = { provider:
|
|
203
|
+
const added = { provider: Info25.empty(id), models: new Map };
|
|
204
204
|
records.set(id, added);
|
|
205
205
|
maps.add(added.models);
|
|
206
206
|
return added;
|
|
@@ -272,7 +272,7 @@ var layer = Layer.effect(Service55, Effect.gen(function* () {
|
|
|
272
272
|
const available = Array.from(records.values()).filter((record) => {
|
|
273
273
|
if (record.provider.activation === "disabled")
|
|
274
274
|
return false;
|
|
275
|
-
const integration = byID.get(record.provider.integrationID ??
|
|
275
|
+
const integration = byID.get(record.provider.integrationID ?? ID12.make(record.provider.id));
|
|
276
276
|
if (record.sourceConnection && key2(record.sourceConnection) !== key2(integration?.connections[0]))
|
|
277
277
|
return false;
|
|
278
278
|
if (record.provider.activation === "enabled")
|
|
@@ -296,8 +296,8 @@ var layer = Layer.effect(Service55, Effect.gen(function* () {
|
|
|
296
296
|
location: { directory: location.directory, workspaceID: location.workspaceID }
|
|
297
297
|
});
|
|
298
298
|
});
|
|
299
|
-
yield* bus.subscribe([
|
|
300
|
-
return
|
|
299
|
+
yield* bus.subscribe([Event18.Updated, Credential.Event.Updated, Credential.Event.Switched]).pipe(Stream.runForEach(() => notify), Effect.forkScoped({ startImmediately: true }));
|
|
300
|
+
return Service68.of({
|
|
301
301
|
transform: state.transform,
|
|
302
302
|
reload: state.reload,
|
|
303
303
|
get: Effect.fn("Provider.get")((id) => Effect.sync(() => freeze(state.get().get(id)?.provider, true))),
|
|
@@ -306,7 +306,7 @@ var layer = Layer.effect(Service55, Effect.gen(function* () {
|
|
|
306
306
|
snapshot
|
|
307
307
|
});
|
|
308
308
|
}));
|
|
309
|
-
var
|
|
309
|
+
var node72 = makeLocationNode({ service: Service68, layer, deps: [node82, node73, node80] });
|
|
310
310
|
var importPackage = Effect.fn("Provider.importPackage")(function* (specifier, entrypoint, load = () => importModule(entrypoint)) {
|
|
311
311
|
const module = yield* Effect.tryPromise({
|
|
312
312
|
try: () => {
|
|
@@ -328,4 +328,4 @@ var importPackage = Effect.fn("Provider.importPackage")(function* (specifier, en
|
|
|
328
328
|
return module;
|
|
329
329
|
});
|
|
330
330
|
|
|
331
|
-
export {
|
|
331
|
+
export { ID11, AISDK_PREFIX2, isAISDK2, aisdk2, packageName2, LoadError3, loadPackage2, nativeSettings2, mergeOverlay2, mergeHeaders2, Request3, Settings2, Info25, Service68, node72, exports_provider3, Event17 };
|
|
@@ -1,44 +1,44 @@
|
|
|
1
1
|
import {
|
|
2
|
-
|
|
3
|
-
} from "./
|
|
2
|
+
Service54
|
|
3
|
+
} from "./shell-cmmb813z.js";
|
|
4
4
|
import {
|
|
5
5
|
MAX_MARKDOWN_BYTES2,
|
|
6
6
|
convertHTMLToMarkdown2
|
|
7
|
-
} from "./
|
|
7
|
+
} from "./shell-4vcrnpx2.js";
|
|
8
8
|
import {
|
|
9
9
|
collectBoundedResponseBody2
|
|
10
|
-
} from "./
|
|
10
|
+
} from "./shell-3v8g72cx.js";
|
|
11
11
|
import {
|
|
12
12
|
__export
|
|
13
|
-
} from "./
|
|
13
|
+
} from "./shell-9rqn6x4v.js";
|
|
14
14
|
|
|
15
15
|
// src/tool/plugin/webfetch.ts
|
|
16
16
|
var exports_webfetch = {};
|
|
17
17
|
__export(exports_webfetch, {
|
|
18
18
|
DEFAULT_TIMEOUT_SECONDS: () => DEFAULT_TIMEOUT_SECONDS2,
|
|
19
|
-
Input: () =>
|
|
19
|
+
Input: () => Input2,
|
|
20
20
|
MAX_RESPONSE_BYTES: () => MAX_RESPONSE_BYTES2,
|
|
21
21
|
MAX_TIMEOUT_SECONDS: () => MAX_TIMEOUT_SECONDS2,
|
|
22
|
-
Plugin: () =>
|
|
22
|
+
Plugin: () => Plugin2,
|
|
23
23
|
WebFetchTool: () => exports_webfetch,
|
|
24
24
|
convertHTMLToMarkdown: () => convertHTMLToMarkdown2,
|
|
25
|
-
description: () =>
|
|
25
|
+
description: () => description2,
|
|
26
26
|
extractTextFromHTML: () => extractTextFromHTML2,
|
|
27
|
-
name: () =>
|
|
27
|
+
name: () => name2
|
|
28
28
|
});
|
|
29
29
|
import { ToolFailure } from "@opencode/ai";
|
|
30
30
|
import { Duration, Effect, Schema } from "effect";
|
|
31
31
|
import { HttpClient, HttpClientRequest, HttpClientResponse } from "effect/unstable/http";
|
|
32
32
|
import { Parser } from "htmlparser2";
|
|
33
|
-
var
|
|
33
|
+
var name2 = "webfetch";
|
|
34
34
|
var MAX_RESPONSE_BYTES2 = MAX_MARKDOWN_BYTES2;
|
|
35
35
|
var DEFAULT_TIMEOUT_SECONDS2 = 30;
|
|
36
36
|
var MAX_TIMEOUT_SECONDS2 = 120;
|
|
37
|
-
var
|
|
37
|
+
var description2 = `Fetch content from an HTTP or HTTPS URL and return it as text, markdown, or HTML. Markdown is the default.
|
|
38
38
|
|
|
39
39
|
Use a more targeted tool when one is available. This tool is read-only. Large text results may be replaced with a preview while the complete output is retained in managed storage.`;
|
|
40
40
|
var Timeout = Schema.Finite.check(Schema.isGreaterThan(0), Schema.isLessThanOrEqualTo(MAX_TIMEOUT_SECONDS2));
|
|
41
|
-
var
|
|
41
|
+
var Input2 = Schema.Struct({
|
|
42
42
|
url: Schema.String.annotate({ description: "The HTTP or HTTPS URL to fetch content from" }),
|
|
43
43
|
format: Schema.Literals(["text", "markdown", "html"]).annotate({ description: "The format to return the content in. Defaults to markdown." }).pipe(Schema.withDecodingDefaultKey(Effect.succeed("markdown"))),
|
|
44
44
|
timeout: Schema.optionalKey(Timeout).annotate({
|
|
@@ -48,7 +48,7 @@ var Input9 = Schema.Struct({
|
|
|
48
48
|
var Output = Schema.Struct({
|
|
49
49
|
url: Schema.String,
|
|
50
50
|
contentType: Schema.String,
|
|
51
|
-
format:
|
|
51
|
+
format: Input2.fields.format,
|
|
52
52
|
output: Schema.String
|
|
53
53
|
});
|
|
54
54
|
var acceptHeader = (format) => {
|
|
@@ -92,16 +92,16 @@ var convert = (content, contentType, format) => {
|
|
|
92
92
|
return extractTextFromHTML2(content);
|
|
93
93
|
return content;
|
|
94
94
|
};
|
|
95
|
-
var
|
|
95
|
+
var Plugin2 = {
|
|
96
96
|
id: "opencode.tool.webfetch",
|
|
97
97
|
effect: Effect.fn("WebFetchTool.Plugin")(function* (ctx) {
|
|
98
98
|
const http = yield* HttpClient.HttpClient;
|
|
99
|
-
const permission = yield*
|
|
99
|
+
const permission = yield* Service54;
|
|
100
100
|
yield* ctx.tool.transform((editor) => editor.add({
|
|
101
|
-
name:
|
|
101
|
+
name: name2,
|
|
102
102
|
options: { codemode: false },
|
|
103
|
-
description:
|
|
104
|
-
input:
|
|
103
|
+
description: description2,
|
|
104
|
+
input: Input2,
|
|
105
105
|
output: Output,
|
|
106
106
|
execute: (input, context) => Effect.gen(function* () {
|
|
107
107
|
yield* Effect.try({
|
|
@@ -109,7 +109,7 @@ var Plugin10 = {
|
|
|
109
109
|
catch: (error) => error
|
|
110
110
|
});
|
|
111
111
|
yield* permission.assert({
|
|
112
|
-
action:
|
|
112
|
+
action: name2,
|
|
113
113
|
resources: [input.url],
|
|
114
114
|
save: ["*"],
|
|
115
115
|
metadata: input,
|
|
@@ -167,4 +167,4 @@ function extractTextFromHTML2(html) {
|
|
|
167
167
|
parser.end();
|
|
168
168
|
return text.trim();
|
|
169
169
|
}
|
|
170
|
-
export {
|
|
170
|
+
export { name2, MAX_RESPONSE_BYTES2, DEFAULT_TIMEOUT_SECONDS2, MAX_TIMEOUT_SECONDS2, description2, Input2, Plugin2, extractTextFromHTML2, exports_webfetch };
|