@opencode/core 0.0.0-dev-19607 → 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 +80 -80
- 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-8pbhr5rb.js → image-010j0rjj.js} +11 -11
- package/dist/chunks/{bus-7kj26btf.js → image-0dr9jjfc.js} +3 -3
- package/dist/chunks/{bus-a4f8rw7k.js → image-0evxafpt.js} +10 -10
- package/dist/chunks/{bus-0paq2nw3.js → image-0paq2nw3.js} +1 -1
- package/dist/chunks/{bus-0q0f95c6.js → image-0q0f95c6.js} +1 -1
- package/dist/chunks/{bus-cnb5z5cf.js → image-0qaz1sfc.js} +8 -8
- package/dist/chunks/{bus-qed01h9c.js → image-0xnze9ce.js} +65 -65
- package/dist/chunks/{bus-2p5j9sv7.js → image-10fqs124.js} +15 -15
- package/dist/chunks/{bus-zakjc7j6.js → image-1a4hyc8b.js} +18 -18
- package/dist/chunks/{bus-73tb2d7t.js → image-1bbkgx8g.js} +3 -3
- package/dist/chunks/{bus-1dazxqgg.js → image-1dazxqgg.js} +2 -2
- package/dist/chunks/{bus-9m5kzw0e.js → image-1kgb4aq1.js} +8 -8
- package/dist/chunks/{bus-b5ky3g00.js → image-1z5mtsne.js} +2 -2
- package/dist/chunks/{bus-k5m0fz1p.js → image-1zqsf2j9.js} +8 -8
- package/dist/chunks/{bus-21r38tys.js → image-21r38tys.js} +1 -1
- package/dist/chunks/{bus-v1ksr1cs.js → image-22zy1c33.js} +8 -8
- package/dist/chunks/{bus-6h73sxmp.js → image-2402vzrj.js} +5 -5
- package/dist/chunks/{bus-2a5m3afh.js → image-2a5m3afh.js} +1 -1
- package/dist/chunks/{bus-8qvaa28h.js → image-2c0ya96f.js} +10 -10
- package/dist/chunks/{bus-h686kfbk.js → image-2eh5hdcs.js} +9 -9
- package/dist/chunks/{bus-te6cpsjw.js → image-30hxd0b6.js} +4 -4
- package/dist/chunks/{bus-p33wnvsh.js → image-33dzk201.js} +32 -32
- package/dist/chunks/{bus-33w4ejhs.js → image-33w4ejhs.js} +2 -2
- package/dist/chunks/{bus-m63gtq16.js → image-3685kgv2.js} +11 -11
- package/dist/chunks/{bus-3fc6dm20.js → image-3fc6dm20.js} +1 -1
- package/dist/chunks/{bus-3hepkmqq.js → image-3hepkmqq.js} +1 -1
- package/dist/chunks/{bus-2vvyjm96.js → image-3p19zrd2.js} +85 -85
- package/dist/chunks/{bus-3smtnn6g.js → image-3smtnn6g.js} +1 -1
- package/dist/chunks/{bus-zbj7r6th.js → image-3t9tj8wy.js} +10 -10
- package/dist/chunks/{bus-3tvqynh2.js → image-3tvqynh2.js} +1 -1
- package/dist/chunks/{bus-74ag36aw.js → image-3wctd9by.js} +19 -19
- package/dist/chunks/{bus-at1kfnmk.js → image-3zykk5as.js} +8 -8
- package/dist/chunks/{bus-w6dzfd7x.js → image-41kev6en.js} +12 -12
- package/dist/chunks/{bus-4xgsacd1.js → image-49q20pp7.js} +26 -26
- package/dist/chunks/{bus-cj2xyb66.js → image-4a27vn7r.js} +17 -17
- package/dist/chunks/{bus-w35y2yw8.js → image-4jygvmvn.js} +24 -24
- package/dist/chunks/{bus-cdvm88eq.js → image-4mfmjxec.js} +9 -9
- package/dist/chunks/{bus-engx0f1y.js → image-4n3236zn.js} +12 -12
- package/dist/chunks/{bus-nrtvwtgm.js → image-4qh8ec8f.js} +4 -4
- package/dist/chunks/{bus-2wmcpc5j.js → image-4vte9j2j.js} +8 -8
- package/dist/chunks/{bus-xpfz5w62.js → image-4w2yzhqg.js} +6 -6
- package/dist/chunks/{bus-0ffvsmqa.js → image-54tjnctb.js} +9 -9
- package/dist/chunks/{bus-4sn99hha.js → image-57ez7d0k.js} +7 -7
- package/dist/chunks/{bus-hvk5xh9a.js → image-59sbn0zz.js} +45 -45
- package/dist/chunks/{bus-atssdtxp.js → image-5bekvhzp.js} +9 -9
- package/dist/chunks/{bus-jcmyxw9c.js → image-5bny2dwb.js} +12 -12
- package/dist/chunks/{bus-paegk39x.js → image-5c0f1prt.js} +4 -4
- package/dist/chunks/{bus-a1bz86dw.js → image-5c4hm403.js} +3 -3
- package/dist/chunks/{bus-5daktx2q.js → image-5daktx2q.js} +1 -1
- package/dist/chunks/{bus-5d17xbav.js → image-5ebw3s4g.js} +5 -5
- package/dist/chunks/{bus-kxdh0s6n.js → image-5k2nshkd.js} +11 -11
- package/dist/chunks/{bus-5t3nmthw.js → image-5t3nmthw.js} +2 -2
- package/dist/chunks/{bus-dn2g8ty9.js → image-5wmgxaxj.js} +16 -16
- package/dist/chunks/{bus-v4hmzr0r.js → image-5xtgfte3.js} +8 -8
- package/dist/chunks/{bus-zg4yt3jb.js → image-61s2mknn.js} +33 -33
- package/dist/chunks/{bus-669tq793.js → image-669tq793.js} +1 -1
- package/dist/chunks/{bus-6msgmcgs.js → image-6msgmcgs.js} +1 -1
- package/dist/chunks/{bus-jdc9ax8k.js → image-6npptpe2.js} +7 -7
- package/dist/chunks/{bus-fec9d9pd.js → image-6q87w041.js} +56 -56
- package/dist/chunks/{bus-cst62dfw.js → image-6s054ecb.js} +20 -20
- package/dist/chunks/{bus-e16t29dh.js → image-6ya7w255.js} +3 -3
- package/dist/chunks/{bus-71q4at8m.js → image-71q4at8m.js} +1 -1
- package/dist/chunks/{bus-fxqygnfa.js → image-7ac170kv.js} +4 -4
- package/dist/chunks/{bus-7bmhse3q.js → image-7bmhse3q.js} +1 -1
- package/dist/chunks/{bus-0jwsre1p.js → image-7dqw4kz8.js} +5 -5
- package/dist/chunks/{bus-cpng0f85.js → image-7f40knje.js} +29 -29
- package/dist/chunks/{bus-9gwk1d27.js → image-7gmd6s9f.js} +292 -292
- package/dist/chunks/{bus-7414g21f.js → image-7hqs4pm0.js} +43 -43
- package/dist/chunks/{bus-73z097ay.js → image-7jm5jzq7.js} +16 -16
- package/dist/chunks/{bus-c3nbwr53.js → image-7rjv7hd1.js} +43 -43
- package/dist/chunks/{bus-mz0r0wg6.js → image-7s78zkxc.js} +17 -17
- package/dist/chunks/{bus-sg1mp0wp.js → image-7sny0gx5.js} +21 -21
- package/dist/chunks/{bus-ewp6a6x8.js → image-7wtn6qfv.js} +37 -37
- package/dist/chunks/{bus-eq4mjx14.js → image-806p5xqx.js} +23 -23
- package/dist/chunks/{bus-tdhe5xga.js → image-818pfwc9.js} +8 -8
- package/dist/chunks/{bus-2t9y4ena.js → image-87wkjvtv.js} +22 -22
- package/dist/chunks/{bus-8d7r5vzw.js → image-8d7r5vzw.js} +1 -1
- package/dist/chunks/{bus-q09v2a5f.js → image-8dhatp37.js} +4 -4
- package/dist/chunks/{bus-yx0rmv9r.js → image-8e1b1gzh.js} +6 -6
- package/dist/chunks/{bus-eebdtnk6.js → image-8r48jvq9.js} +8 -8
- package/dist/chunks/{bus-gcrpxwkb.js → image-8y2shdgp.js} +33 -33
- package/dist/chunks/{bus-xx2kx86r.js → image-922nm86p.js} +43 -43
- package/dist/chunks/{bus-25k60r6z.js → image-95hsdyye.js} +19 -19
- package/dist/chunks/{bus-gemkh5vt.js → image-96dvqytq.js} +24 -24
- package/dist/chunks/{bus-62akg8e4.js → image-98n2zv5b.js} +22 -22
- package/dist/chunks/{bus-179189h4.js → image-9h41vc4j.js} +4 -4
- package/dist/chunks/{bus-vgg4xkgc.js → image-9mvt1ex4.js} +8 -8
- package/dist/chunks/{bus-jca4demv.js → image-a3r4dcrj.js} +2 -2
- package/dist/chunks/{bus-c72vda60.js → image-a84h0eb3.js} +24 -24
- package/dist/chunks/{bus-aaet6srn.js → image-aaet6srn.js} +2 -2
- package/dist/chunks/image-ae2tejpt.js +251 -0
- package/dist/chunks/{bus-ca7w653e.js → image-afdssyjb.js} +4 -4
- package/dist/chunks/{bus-m4sagrtb.js → image-aj6515bh.js} +49 -49
- package/dist/chunks/{bus-hs3grr87.js → image-axf0s4jm.js} +21 -21
- package/dist/chunks/{bus-fz5sfred.js → image-axyt463m.js} +18 -18
- package/dist/chunks/{bus-0hng8cbp.js → image-azxt8y52.js} +17 -17
- package/dist/chunks/{bus-236xsrf6.js → image-b5f0xpv3.js} +25 -25
- package/dist/chunks/{bus-b6gygkdw.js → image-b6gygkdw.js} +2 -2
- package/dist/chunks/{bus-ay1e4s3v.js → image-bjsxm6fs.js} +17 -17
- package/dist/chunks/{bus-1vh9c756.js → image-bpr49tj0.js} +14 -14
- package/dist/chunks/{bus-jssqjg8j.js → image-bva47t1w.js} +7 -7
- package/dist/chunks/{bus-gbcrwt4m.js → image-bxtjsyk9.js} +10 -10
- package/dist/chunks/{bus-zp0g5kd9.js → image-c4qbqqm9.js} +15 -15
- package/dist/chunks/{bus-ycxk46z7.js → image-c605ygk1.js} +47 -47
- package/dist/chunks/{bus-qyeevtht.js → image-c76sny21.js} +39 -39
- package/dist/chunks/{bus-a3e7ey2w.js → image-cacjtj5k.js} +5 -5
- package/dist/chunks/{bus-fcxm0egy.js → image-cbbptew9.js} +12 -12
- package/dist/chunks/{bus-nnq4n2qn.js → image-cefmkny3.js} +43 -43
- package/dist/chunks/{bus-t402yjt7.js → image-cfp1wp84.js} +25 -25
- package/dist/chunks/{bus-v2tpmsmj.js → image-ch1hcs5y.js} +41 -41
- package/dist/chunks/{bus-w5k3gg8r.js → image-cmra4ph4.js} +90 -90
- package/dist/chunks/{bus-stb1hwq0.js → image-cpce81tk.js} +15 -15
- package/dist/chunks/{bus-g8n86g3v.js → image-cs2qrq3p.js} +2 -2
- package/dist/chunks/{bus-b8ey678w.js → image-d4he2qe1.js} +9 -9
- package/dist/chunks/{bus-pwpvhpkp.js → image-d5g3wzfd.js} +18 -18
- package/dist/chunks/{bus-zcxhpjvf.js → image-d7tzj868.js} +23 -23
- package/dist/chunks/{bus-j2149bqs.js → image-dh6wvp2k.js} +11 -11
- package/dist/chunks/{bus-yjjca98t.js → image-dh976vjg.js} +18 -18
- package/dist/chunks/{bus-8p4f9s12.js → image-dj2t23y0.js} +2 -2
- package/dist/chunks/{bus-dpkg50ah.js → image-dpkg50ah.js} +1 -1
- package/dist/chunks/{bus-ktjqq88n.js → image-dt0jwwwa.js} +32 -32
- package/dist/chunks/{bus-gzyaaj9q.js → image-dw06mjkt.js} +13 -13
- package/dist/chunks/{bus-686zvbc5.js → image-e1kg9vz0.js} +52 -52
- package/dist/chunks/{bus-e5nv3ght.js → image-e5nv3ght.js} +2 -2
- package/dist/chunks/{bus-63xctefh.js → image-ebah8r6x.js} +6 -6
- package/dist/chunks/{bus-2hhrjxd4.js → image-eeh91h1y.js} +13 -13
- package/dist/chunks/{bus-ef5x83kb.js → image-ef5x83kb.js} +1 -1
- package/dist/chunks/{bus-0pwp6vee.js → image-enrjqv4h.js} +17 -17
- package/dist/chunks/{bus-ppj42jsj.js → image-ep9bxrrg.js} +12 -12
- package/dist/chunks/{bus-etq0c3wd.js → image-etq0c3wd.js} +1 -1
- package/dist/chunks/{bus-nzh27kh4.js → image-ey7m5wa6.js} +13 -13
- package/dist/chunks/{bus-0h0xn3fd.js → image-f270k846.js} +26 -26
- package/dist/chunks/{bus-xsxe7432.js → image-f2gth83d.js} +9 -9
- package/dist/chunks/{bus-4fb4zfkv.js → image-f2jvx8nr.js} +3 -3
- package/dist/chunks/{bus-nkj12b6c.js → image-f5crtqgd.js} +176 -176
- package/dist/chunks/{bus-hp23vqgj.js → image-fgjfhan0.js} +4 -4
- package/dist/chunks/{bus-g4rgasps.js → image-fhtb1nxk.js} +3 -3
- package/dist/chunks/{bus-bdqrk2vk.js → image-fjvydvzm.js} +4 -4
- package/dist/chunks/{bus-jg1rg3jc.js → image-fr9qgvrp.js} +47 -47
- package/dist/chunks/{bus-kdh23bg8.js → image-fsqzyqf7.js} +15 -15
- package/dist/chunks/{bus-15zevn5w.js → image-fvanntqq.js} +6 -6
- package/dist/chunks/{bus-fxbjtjnd.js → image-fxbjtjnd.js} +1 -1
- package/dist/chunks/{bus-mjymc32g.js → image-g190xswt.js} +4 -4
- package/dist/chunks/{bus-3vk31qq0.js → image-g36gcegr.js} +1 -1
- package/dist/chunks/{bus-15nepkqg.js → image-g477egy3.js} +8 -8
- package/dist/chunks/{bus-72774a2p.js → image-g7q9pgkk.js} +6 -6
- package/dist/chunks/{bus-gd4qta3r.js → image-gd4qta3r.js} +1 -1
- package/dist/chunks/{bus-w0sf05pe.js → image-ggv97vhn.js} +4 -4
- package/dist/chunks/{bus-gx8hye9g.js → image-ghtm10aa.js} +6 -6
- package/dist/chunks/{bus-brbkvpcb.js → image-gse1qw90.js} +14 -14
- package/dist/chunks/{bus-th5km1p3.js → image-gv6a8nnw.js} +5 -5
- package/dist/chunks/{bus-h7ygw6q4.js → image-gvkmt430.js} +5 -5
- package/dist/chunks/{bus-h03wrkyp.js → image-h03wrkyp.js} +2 -2
- package/dist/chunks/{bus-7zgx3034.js → image-h5jfkxsw.js} +18 -18
- package/dist/chunks/{bus-r55vasa2.js → image-h6r3nrb9.js} +4 -4
- package/dist/chunks/{bus-h6vf3j39.js → image-h6vf3j39.js} +1 -1
- package/dist/chunks/{bus-bbtrsqmd.js → image-h79m35fy.js} +26 -26
- package/dist/chunks/{bus-f828m53h.js → image-hdnk95c8.js} +2 -2
- package/dist/chunks/{bus-q529tzg0.js → image-hfn6h9h0.js} +23 -23
- package/dist/chunks/{bus-e82z9tr0.js → image-hjt4xg1x.js} +7 -7
- package/dist/chunks/{bus-4czdean4.js → image-hjtap0zg.js} +22 -22
- package/dist/chunks/{bus-m4gm00jg.js → image-hnakerc1.js} +7 -7
- package/dist/chunks/{bus-v21t5zre.js → image-hnbzzefg.js} +24 -24
- package/dist/chunks/{bus-q7wya2ft.js → image-hswahs1s.js} +10 -10
- package/dist/chunks/{bus-5dfrxsm4.js → image-hwkbadth.js} +8 -8
- package/dist/chunks/{bus-j35w4m74.js → image-j2vdbwsr.js} +6 -6
- package/dist/chunks/{bus-j56e64zr.js → image-j56e64zr.js} +1 -1
- package/dist/chunks/{bus-cq1ssszz.js → image-j5rjq302.js} +6 -6
- package/dist/chunks/{bus-d1e2r7xq.js → image-j66pfzft.js} +10 -10
- package/dist/chunks/{bus-q3t37ft6.js → image-jexxy024.js} +3 -3
- package/dist/chunks/{bus-tkmwgdpd.js → image-jfqtm2ew.js} +7 -7
- package/dist/chunks/{bus-xpgn474g.js → image-jq1p61tn.js} +12 -12
- package/dist/chunks/{bus-bje2m678.js → image-jxphv8sm.js} +41 -41
- package/dist/chunks/{bus-kffdrsz9.js → image-k1m65rvn.js} +5 -5
- package/dist/chunks/{bus-vxn7m0sk.js → image-kbnc93aj.js} +5 -5
- package/dist/chunks/{bus-2596a819.js → image-kbrpdkkr.js} +7 -7
- package/dist/chunks/{bus-1m7ztpz9.js → image-kjz2ypmt.js} +13 -13
- package/dist/chunks/{bus-c9f7p254.js → image-ktwkz8s9.js} +19 -19
- package/dist/chunks/{bus-tsg9kv8a.js → image-kvccqq4y.js} +12 -12
- package/dist/chunks/{bus-cfpkc3c9.js → image-m0jqrx5p.js} +2 -2
- package/dist/chunks/{bus-pfrpta5e.js → image-m55pfywp.js} +6 -6
- package/dist/chunks/{bus-pbp9sz76.js → image-m5wgsj6n.js} +4 -4
- package/dist/chunks/{bus-hy39tjkp.js → image-m7pytshy.js} +9 -9
- package/dist/chunks/{bus-m9w0rfyh.js → image-m9w0rfyh.js} +1 -1
- package/dist/chunks/{bus-t3qrjm11.js → image-man2vsb5.js} +33 -33
- package/dist/chunks/{bus-th34e5xy.js → image-mfz8wse2.js} +11 -11
- package/dist/chunks/{bus-qrs9zw48.js → image-mqx0de4k.js} +8 -8
- package/dist/chunks/{bus-6xf9vr65.js → image-n03aapsh.js} +51 -51
- package/dist/chunks/{bus-km7e3hxy.js → image-n17g706s.js} +1 -1
- package/dist/chunks/{bus-bc94wkq6.js → image-n4wre08x.js} +18 -18
- package/dist/chunks/{bus-1c2v1v3n.js → image-nv2ksrja.js} +28 -28
- package/dist/chunks/{bus-0f9afca0.js → image-p44d8wdy.js} +5 -5
- package/dist/chunks/{bus-wb72v9a5.js → image-p5k166g4.js} +15 -15
- package/dist/chunks/{bus-hspc2tk9.js → image-pe73xtx4.js} +1 -1
- package/dist/chunks/{bus-pjvnvgmy.js → image-pjvnvgmy.js} +1 -1
- package/dist/chunks/{bus-1xj9a01p.js → image-pk7fv021.js} +5 -5
- package/dist/chunks/{bus-pknna89w.js → image-pknna89w.js} +1 -1
- package/dist/chunks/{bus-q2b1ymqp.js → image-pmr4s4kc.js} +4 -4
- package/dist/chunks/{bus-p53n7dng.js → image-ppz8g910.js} +30 -30
- package/dist/chunks/{bus-pbky2mmf.js → image-prq0wc4d.js} +27 -27
- package/dist/chunks/{bus-0n6rap9z.js → image-pvrrebnp.js} +19 -19
- package/dist/chunks/{bus-4vdg0vy0.js → image-pvvjbe5v.js} +32 -32
- package/dist/chunks/{bus-9a5x4ndh.js → image-q594ctnf.js} +30 -30
- package/dist/chunks/{bus-c833tjt1.js → image-qbjqdxea.js} +30 -30
- package/dist/chunks/{bus-xp1v9ajb.js → image-qmh473g3.js} +29 -29
- package/dist/chunks/{bus-aez8skhx.js → image-qnevtc5c.js} +35 -35
- package/dist/chunks/{bus-qsdy395h.js → image-qsdy395h.js} +1 -1
- package/dist/chunks/{bus-2ryrfs8t.js → image-qw34z0mz.js} +18 -18
- package/dist/chunks/{bus-437w8xnq.js → image-qz348hxe.js} +4 -4
- package/dist/chunks/{bus-cadqg8yk.js → image-r60qs0tf.js} +17 -17
- package/dist/chunks/{bus-yp2x3t23.js → image-r8xr0va3.js} +4 -4
- package/dist/chunks/{bus-r9mregkx.js → image-r9mregkx.js} +2 -2
- package/dist/chunks/image-rap9a73h.js +18 -0
- package/dist/chunks/{bus-5nc0fa0s.js → image-rd23nqx6.js} +23 -23
- package/dist/chunks/{bus-rdw6cm16.js → image-rdw6cm16.js} +1 -1
- package/dist/chunks/{bus-5t01hw7s.js → image-ret12whd.js} +1 -1
- package/dist/chunks/{bus-tat11k01.js → image-rwmg7s8f.js} +9 -9
- package/dist/chunks/{bus-yd9ketrd.js → image-s1nnrw4q.js} +3 -3
- package/dist/chunks/{bus-t32f9ypw.js → image-s7yhcq7p.js} +11 -11
- package/dist/chunks/{bus-02nrjc1r.js → image-s8d7rejh.js} +8 -8
- package/dist/chunks/{bus-36eabxvj.js → image-saseaz33.js} +6 -6
- package/dist/chunks/{bus-5rr0th1e.js → image-sbs223z4.js} +15 -15
- package/dist/chunks/{bus-q73r15kw.js → image-ssnhfp6a.js} +6 -6
- package/dist/chunks/{bus-9yma6mz2.js → image-sssgmf7d.js} +27 -27
- package/dist/chunks/{bus-6cr8vpfb.js → image-sy6qbg9d.js} +3 -3
- package/dist/chunks/{bus-tz2bjj40.js → image-t0fxg8b9.js} +5 -5
- package/dist/chunks/{bus-5rvay4qb.js → image-t0wbe1cv.js} +4 -4
- package/dist/chunks/{bus-ss6xz6nm.js → image-t1fh5c1n.js} +11 -11
- package/dist/chunks/{bus-aef6edcj.js → image-t676541r.js} +11 -11
- package/dist/chunks/{bus-jgpr3qf1.js → image-t7vkg8np.js} +26 -26
- package/dist/chunks/{bus-tazgh4e4.js → image-tazgh4e4.js} +1 -1
- package/dist/chunks/{bus-x60djdrf.js → image-tb6c5549.js} +14 -14
- package/dist/chunks/{bus-89znhe33.js → image-tcezcvh9.js} +4 -4
- package/dist/chunks/{bus-tdstcens.js → image-tdstcens.js} +1 -1
- package/dist/chunks/{bus-4ma4crhq.js → image-tv9x8hxg.js} +15 -15
- package/dist/chunks/{bus-tvtrv512.js → image-tvtrv512.js} +1 -1
- package/dist/chunks/{bus-zp47re1r.js → image-v6vfg88f.js} +11 -11
- package/dist/chunks/{bus-nzzy63ds.js → image-v8g0avwf.js} +11 -11
- package/dist/chunks/{bus-dpmm3pd1.js → image-v90b78v5.js} +30 -30
- package/dist/chunks/{bus-mca7v45c.js → image-ve1hctsm.js} +30 -30
- package/dist/chunks/{bus-veqvce7d.js → image-veqvce7d.js} +1 -1
- package/dist/chunks/{bus-erswsgcd.js → image-vs59tkqa.js} +8 -8
- package/dist/chunks/{bus-vzcthcp8.js → image-vzcthcp8.js} +1 -1
- package/dist/chunks/{bus-h3sg4en2.js → image-vzvpgcjq.js} +7 -7
- package/dist/chunks/{bus-w3wsvvr9.js → image-w3wsvvr9.js} +1 -1
- package/dist/chunks/{bus-2fqncqd8.js → image-w94394wb.js} +24 -24
- package/dist/chunks/{bus-n81xd9d5.js → image-w97vtpxb.js} +1 -1
- package/dist/chunks/{bus-5pjsqvg3.js → image-waxe3yd1.js} +11 -11
- package/dist/chunks/{bus-wd87259q.js → image-wd87259q.js} +1 -1
- package/dist/chunks/{bus-9cebcpzz.js → image-wde5h6bz.js} +32 -32
- package/dist/chunks/{bus-sm8rghk4.js → image-whzj9w6d.js} +13 -13
- package/dist/chunks/{bus-x1ezjp6w.js → image-x1ezjp6w.js} +1 -1
- package/dist/chunks/{bus-r9nkdn48.js → image-x497tgc1.js} +5 -5
- package/dist/chunks/{bus-mx0gp0c3.js → image-x9afmtav.js} +28 -28
- package/dist/chunks/{bus-pw2ze8eb.js → image-xc5tp58y.js} +34 -34
- package/dist/chunks/{bus-wq4mgxca.js → image-xe94yqgp.js} +8 -8
- package/dist/chunks/{bus-h3ysd6bx.js → image-xrrhyath.js} +31 -31
- package/dist/chunks/{bus-11nsfp7x.js → image-xx4v3z4y.js} +23 -23
- package/dist/chunks/{bus-t5t549nc.js → image-y18b782a.js} +20 -20
- package/dist/chunks/{bus-y1fvbwt7.js → image-y1fvbwt7.js} +1 -1
- package/dist/chunks/{bus-3vnz1vry.js → image-y2n85772.js} +11 -11
- package/dist/chunks/{bus-d09006c3.js → image-y56ehv6b.js} +9 -9
- package/dist/chunks/{bus-xevfw74a.js → image-y8bs7pn1.js} +27 -27
- package/dist/chunks/{bus-gmjjhz4f.js → image-ybhbtxjg.js} +3 -3
- package/dist/chunks/{bus-7vgsmbaw.js → image-ydv41jj4.js} +9 -9
- package/dist/chunks/{bus-dbmkm35e.js → image-ygkn4pcb.js} +1 -1
- package/dist/chunks/{bus-0r7yqxbf.js → image-yjptyezs.js} +5 -5
- package/dist/chunks/{bus-ete3mxyp.js → image-yngbnjdn.js} +16 -16
- package/dist/chunks/{bus-yrhqyw5v.js → image-yrhqyw5v.js} +1 -1
- package/dist/chunks/{bus-yrznvahk.js → image-yrznvahk.js} +2 -2
- package/dist/chunks/{bus-1p84h329.js → image-yxa2jv7b.js} +17 -17
- package/dist/chunks/{bus-vw8bwat5.js → image-yzvrqxqx.js} +29 -29
- package/dist/chunks/{bus-z0bkrqjs.js → image-z0bkrqjs.js} +1 -1
- package/dist/chunks/{bus-z63w68vq.js → image-z63w68vq.js} +2 -2
- package/dist/chunks/{bus-rkhcyd8j.js → image-zbhf92rx.js} +16 -16
- package/dist/chunks/{bus-zeh9ct20.js → image-zeh9ct20.js} +2 -2
- package/dist/chunks/{bus-tcg29b4q.js → image-zhq6vg7a.js} +1 -1
- package/dist/chunks/{bus-zr2ceqn5.js → image-zr2ceqn5.js} +1 -1
- package/dist/chunks/{bus-75tpbtqb.js → image-zrpcnpdy.js} +35 -35
- package/dist/chunks/{bus-h11wzpyy.js → image-zsfad6mw.js} +22 -22
- package/dist/chunks/{bus-zn1xqtaw.js → image-zt441g4g.js} +28 -28
- package/dist/chunks/{bus-zxq2ej10.js → image-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 +122 -122
- package/dist/config/plugin/command.js +211 -211
- package/dist/config/plugin/compaction.js +159 -159
- package/dist/config/plugin/compatibility.js +138 -138
- package/dist/config/plugin/entry-observer.js +1 -1
- package/dist/config/plugin/formatter.js +123 -123
- package/dist/config/plugin/image.js +120 -120
- package/dist/config/plugin/instruction.js +89 -89
- package/dist/config/plugin/location-watcher.js +122 -122
- package/dist/config/plugin/mcp.js +129 -129
- package/dist/config/plugin/policy.js +122 -122
- package/dist/config/plugin/provider.js +119 -119
- 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 +139 -139
- 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 +12 -12
- package/dist/database/drizzle/effect-sqlite/index.js +12 -12
- package/dist/database/drizzle/effect-sqlite/session.js +11 -11
- package/dist/database/drizzle/index.js +13 -13
- package/dist/database/drizzle/internal/drizzle-utils.js +1 -1
- package/dist/database/drizzle/sqlite-core/effect/count.js +1 -1
- package/dist/database/drizzle/sqlite-core/effect/db.js +9 -9
- package/dist/database/drizzle/sqlite-core/effect/delete.js +2 -2
- package/dist/database/drizzle/sqlite-core/effect/index.js +10 -10
- package/dist/database/drizzle/sqlite-core/effect/insert.js +2 -2
- package/dist/database/drizzle/sqlite-core/effect/query.js +1 -1
- package/dist/database/drizzle/sqlite-core/effect/raw.js +1 -1
- package/dist/database/drizzle/sqlite-core/effect/select.js +2 -2
- package/dist/database/drizzle/sqlite-core/effect/session.js +10 -10
- package/dist/database/drizzle/sqlite-core/effect/update.js +2 -2
- package/dist/database/drizzle.js +14 -14
- package/dist/database/migration/20260127222353_familiar_lady_ursula.js +1 -1
- package/dist/database/migration/20260211171708_add_project_commands.js +1 -1
- package/dist/database/migration/20260213144116_wakeful_the_professor.js +1 -1
- package/dist/database/migration/20260225215848_workspace.js +1 -1
- package/dist/database/migration/20260227213759_add_session_workspace_id.js +1 -1
- package/dist/database/migration/20260228203230_blue_harpoon.js +1 -1
- package/dist/database/migration/20260303231226_add_workspace_fields.js +1 -1
- package/dist/database/migration/20260309230000_move_org_to_state.js +1 -1
- package/dist/database/migration/20260312043431_session_message_cursor.js +1 -1
- package/dist/database/migration/20260323234822_events.js +1 -1
- package/dist/database/migration/20260410174513_workspace-name.js +1 -1
- package/dist/database/migration/20260413175956_chief_energizer.js +1 -1
- package/dist/database/migration/20260423070820_add_icon_url_override.js +1 -1
- package/dist/database/migration/20260427172553_slow_nightmare.js +1 -1
- package/dist/database/migration/20260428004200_add_session_path.js +1 -1
- package/dist/database/migration/20260501142318_next_venus.js +1 -1
- package/dist/database/migration/20260504145000_add_sync_owner.js +1 -1
- package/dist/database/migration/20260507164347_add_workspace_time.js +1 -1
- package/dist/database/migration/20260510033149_session_usage.js +1 -1
- package/dist/database/migration/20260511000411_data_migration_state.js +1 -1
- package/dist/database/migration/20260511173437_session-metadata.js +1 -1
- package/dist/database/migration/20260601010001_normalize_storage_paths.js +1 -1
- package/dist/database/migration/20260601202201_amazing_prowler.js +1 -1
- package/dist/database/migration/20260602002951_lowly_union_jack.js +1 -1
- package/dist/database/migration/20260602182828_add_project_directories.js +1 -1
- package/dist/database/migration/20260603001617_session_message_projection_indexes.js +1 -1
- package/dist/database/migration/20260603040000_session_message_projection_order.js +1 -1
- package/dist/database/migration/20260603141458_session_input_inbox.js +1 -1
- package/dist/database/migration/20260603160727_jittery_ezekiel_stane.js +1 -1
- package/dist/database/migration/20260604172448_event_sourced_session_input.js +1 -1
- package/dist/database/migration/20260605003541_add_session_context_snapshot.js +1 -1
- package/dist/database/migration/20260605042240_add_context_epoch_agent.js +1 -1
- package/dist/database/migration/20260611035744_credential.js +1 -1
- package/dist/database/migration/20260611192811_lush_chimera.js +1 -1
- package/dist/database/migration/20260612174303_project_dir_strategy.js +1 -1
- package/dist/database/migration/20260622142730_simplify_session_context_epoch.js +1 -1
- package/dist/database/migration/20260622170816_reset_v2_session_state.js +1 -1
- package/dist/database/migration/20260622202450_simplify_session_input.js +1 -1
- package/dist/database/migration/20260804233008_loose_psylocke.js +1 -1
- package/dist/database/migration/20260805200742_import_legacy_credentials.js +1 -1
- package/dist/database/migration/20260808023530_workspace_domain.js +1 -1
- package/dist/database/migration/20260811161259_execution_claim_attempts.js +1 -1
- package/dist/database/migration/20260812181746_session_inbox.js +1 -1
- package/dist/database/migration/20260812213948_worktree.js +1 -1
- package/dist/database/migration/20260819222447_session_viewed_state.js +1 -1
- package/dist/database/migration/20260823191254_nullable_workspace_binding.js +1 -1
- package/dist/database/migration/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 +1 -1
- 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 +89 -89
- package/dist/file-retention.js +1 -1
- package/dist/file.js +1 -1
- package/dist/filesystem/fff.bun.js +2 -2
- package/dist/filesystem/fff.js +1 -1
- package/dist/filesystem/fff.node.js +2 -2
- package/dist/filesystem/fff.workerd.js +2 -2
- package/dist/filesystem/ignore.js +1 -1
- package/dist/filesystem/location-watcher-policy.js +6 -6
- package/dist/filesystem/location-watcher.js +221 -221
- package/dist/filesystem/protected.js +3 -3
- package/dist/filesystem/search.js +102 -102
- package/dist/filesystem/watcher-binding.js +1 -1
- 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 +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 +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 +86 -86
- package/dist/mcp/client.js +90 -90
- package/dist/mcp/index.js +101 -101
- package/dist/mcp/instructions.js +126 -126
- 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 +101 -101
- package/dist/models-dev.js +99 -99
- 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 +110 -110
- package/dist/persistent-pty/binary.bun.js +1 -1
- package/dist/persistent-pty/daemon.js +1 -1
- package/dist/persistent-pty/index.js +85 -85
- package/dist/persistent-pty/pty-binding.js +1 -1
- package/dist/persistent-pty.js +74 -74
- package/dist/plugin/agent.js +101 -101
- package/dist/plugin/command.js +98 -98
- 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 +119 -119
- 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 +119 -119
- 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 +138 -138
- 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 +4 -4
- package/dist/plugin/websearch/index.js +9 -9
- package/dist/plugin/websearch/mcp.js +2 -2
- package/dist/plugin/websearch/parallel.js +8 -8
- package/dist/plugin/websearch/tavily.js +6 -6
- package/dist/plugin/websearch/tinyfish.js +8 -8
- package/dist/plugin.js +221 -221
- package/dist/project/schema.js +6 -6
- package/dist/project/sql.js +4 -4
- package/dist/project.js +89 -89
- package/dist/provider.js +100 -100
- package/dist/pty/protocol.js +1 -1
- package/dist/pty/schema.js +1 -1
- package/dist/pty/ticket.js +1 -1
- package/dist/pty.js +91 -91
- package/dist/reference/instructions.js +86 -86
- 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 +127 -127
- 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 +3 -3
- 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 +13 -13
- package/dist/session/inbox.js +89 -89
- 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 +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 +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 +86 -86
- package/dist/session/subagent-completion.js +1 -1
- package/dist/session/subagent-job.js +207 -207
- package/dist/session/system-prompt.js +5 -5
- 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 +213 -213
- 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 +11 -11
- package/dist/shell.js +139 -139
- package/dist/skill/discovery.js +4 -4
- package/dist/skill/instructions.js +106 -106
- package/dist/skill.js +109 -109
- package/dist/snapshot.js +92 -92
- 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 +125 -125
- 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 +115 -115
- package/dist/tool/plugin/opencode.js +3 -3
- package/dist/tool/plugin/patch.js +119 -119
- 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 +106 -106
- 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 +97 -97
- package/dist/tool/runtime.js +1 -1
- package/dist/tool-output.js +8 -8
- package/dist/tool.js +15 -15
- package/dist/util/error-summary.js +1 -1
- package/dist/util/error.js +1 -1
- package/dist/util/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 +5 -5
- package/dist/v1/config/attachment.js +4 -4
- package/dist/v1/config/command.js +5 -5
- package/dist/v1/config/config.js +16 -16
- package/dist/v1/config/error.js +2 -2
- package/dist/v1/config/formatter.js +3 -3
- package/dist/v1/config/layout.js +1 -1
- package/dist/v1/config/lsp.js +5 -5
- package/dist/v1/config/mcp.js +4 -4
- package/dist/v1/config/migrate.js +91 -91
- package/dist/v1/config/permission.js +3 -3
- package/dist/v1/config/plugin.js +3 -3
- package/dist/v1/config/provider-options.js +1 -1
- package/dist/v1/config/provider.js +4 -4
- package/dist/v1/config/server.js +2 -2
- package/dist/v1/config/skills.js +3 -3
- package/dist/v1/permission.js +1 -1
- package/dist/vcs/patch.js +1 -1
- package/dist/vcs.js +88 -88
- package/dist/websearch.js +79 -79
- 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 +93 -93
- package/package.json +8 -8
- package/dist/chunks/bus-pf31ssb9.js +0 -18
- package/dist/chunks/bus-x88d9nzm.js +0 -251
- /package/dist/chunks/{bus-0qkdqm5v.js → image-0qkdqm5v.js} +0 -0
- /package/dist/chunks/{bus-0zkw76rk.js → image-0zkw76rk.js} +0 -0
- /package/dist/chunks/{bus-17cy0kzp.js → image-17cy0kzp.js} +0 -0
- /package/dist/chunks/{bus-1cnp2v09.js → image-1cnp2v09.js} +0 -0
- /package/dist/chunks/{bus-1kg9ymc8.js → image-1kg9ymc8.js} +0 -0
- /package/dist/chunks/{bus-2710q6r3.js → image-2710q6r3.js} +0 -0
- /package/dist/chunks/{bus-2axfhc9x.js → image-2axfhc9x.js} +0 -0
- /package/dist/chunks/{bus-2c3vjs8z.js → image-2c3vjs8z.js} +0 -0
- /package/dist/chunks/{bus-359p4xyc.js → image-359p4xyc.js} +0 -0
- /package/dist/chunks/{bus-3asan66x.js → image-3asan66x.js} +0 -0
- /package/dist/chunks/{bus-3v8g72cx.js → image-3v8g72cx.js} +0 -0
- /package/dist/chunks/{bus-3w5fmr99.js → image-3w5fmr99.js} +0 -0
- /package/dist/chunks/{bus-3wcehsnq.js → image-3wcehsnq.js} +0 -0
- /package/dist/chunks/{bus-43n2bw4t.js → image-43n2bw4t.js} +0 -0
- /package/dist/chunks/{bus-4knz6hnm.js → image-4knz6hnm.js} +0 -0
- /package/dist/chunks/{bus-4vcrnpx2.js → image-4vcrnpx2.js} +0 -0
- /package/dist/chunks/{bus-4y7fprxs.js → image-4y7fprxs.js} +0 -0
- /package/dist/chunks/{bus-53557ph1.js → image-53557ph1.js} +0 -0
- /package/dist/chunks/{bus-550bvhaj.js → image-550bvhaj.js} +0 -0
- /package/dist/chunks/{bus-5qd3pb7m.js → image-5qd3pb7m.js} +0 -0
- /package/dist/chunks/{bus-6prwharc.js → image-6prwharc.js} +0 -0
- /package/dist/chunks/{bus-7akdwqpd.js → image-7akdwqpd.js} +0 -0
- /package/dist/chunks/{bus-7m9af43g.js → image-7m9af43g.js} +0 -0
- /package/dist/chunks/{bus-822emrt2.js → image-822emrt2.js} +0 -0
- /package/dist/chunks/{bus-88xbtdfr.js → image-88xbtdfr.js} +0 -0
- /package/dist/chunks/{bus-8n3pysct.js → image-8n3pysct.js} +0 -0
- /package/dist/chunks/{bus-922hggd3.js → image-922hggd3.js} +0 -0
- /package/dist/chunks/{bus-9a4afbnw.js → image-9a4afbnw.js} +0 -0
- /package/dist/chunks/{bus-9rqn6x4v.js → image-9rqn6x4v.js} +0 -0
- /package/dist/chunks/{bus-a6k6eb26.js → image-a6k6eb26.js} +0 -0
- /package/dist/chunks/{bus-af5trqkr.js → image-af5trqkr.js} +0 -0
- /package/dist/chunks/{bus-afrmfg78.js → image-afrmfg78.js} +0 -0
- /package/dist/chunks/{bus-aqzs7mqg.js → image-aqzs7mqg.js} +0 -0
- /package/dist/chunks/{bus-atq7p7m5.js → image-atq7p7m5.js} +0 -0
- /package/dist/chunks/{bus-bkyjaxrp.js → image-bkyjaxrp.js} +0 -0
- /package/dist/chunks/{bus-bmr6ed5q.js → image-bmr6ed5q.js} +0 -0
- /package/dist/chunks/{bus-cf4snx6d.js → image-cf4snx6d.js} +0 -0
- /package/dist/chunks/{bus-cvy3z8tj.js → image-cvy3z8tj.js} +0 -0
- /package/dist/chunks/{bus-d9fn303g.js → image-d9fn303g.js} +0 -0
- /package/dist/chunks/{bus-d9jj8t3e.js → image-d9jj8t3e.js} +0 -0
- /package/dist/chunks/{bus-dajrwvna.js → image-dajrwvna.js} +0 -0
- /package/dist/chunks/{bus-dap0rakb.js → image-dap0rakb.js} +0 -0
- /package/dist/chunks/{bus-df08tz66.js → image-df08tz66.js} +0 -0
- /package/dist/chunks/{bus-dy18nga0.js → image-dy18nga0.js} +0 -0
- /package/dist/chunks/{bus-e5kj55wp.js → image-e5kj55wp.js} +0 -0
- /package/dist/chunks/{bus-e73j6tqm.js → image-e73j6tqm.js} +0 -0
- /package/dist/chunks/{bus-ec1grn59.js → image-ec1grn59.js} +0 -0
- /package/dist/chunks/{bus-eh3zwz77.js → image-eh3zwz77.js} +0 -0
- /package/dist/chunks/{bus-emrn6kk6.js → image-emrn6kk6.js} +0 -0
- /package/dist/chunks/{bus-f0mxakyp.js → image-f0mxakyp.js} +0 -0
- /package/dist/chunks/{bus-f6n9ztr4.js → image-f6n9ztr4.js} +0 -0
- /package/dist/chunks/{bus-faypxj3z.js → image-faypxj3z.js} +0 -0
- /package/dist/chunks/{bus-fd410y7t.js → image-fd410y7t.js} +0 -0
- /package/dist/chunks/{bus-fxgpk5d8.js → image-fxgpk5d8.js} +0 -0
- /package/dist/chunks/{bus-g4wezp1m.js → image-g4wezp1m.js} +0 -0
- /package/dist/chunks/{bus-g86h250q.js → image-g86h250q.js} +0 -0
- /package/dist/chunks/{bus-gebd4c9n.js → image-gebd4c9n.js} +0 -0
- /package/dist/chunks/{bus-gftt206x.js → image-gftt206x.js} +0 -0
- /package/dist/chunks/{bus-hjbc5kem.js → image-hjbc5kem.js} +0 -0
- /package/dist/chunks/{bus-hk9envan.js → image-hk9envan.js} +0 -0
- /package/dist/chunks/{bus-hrnqkpcd.js → image-hrnqkpcd.js} +0 -0
- /package/dist/chunks/{bus-j2ntwpah.js → image-j2ntwpah.js} +0 -0
- /package/dist/chunks/{bus-j5zkgpj8.js → image-j5zkgpj8.js} +0 -0
- /package/dist/chunks/{bus-jr7sbwjy.js → image-jr7sbwjy.js} +0 -0
- /package/dist/chunks/{bus-jwfs4k6c.js → image-jwfs4k6c.js} +0 -0
- /package/dist/chunks/{bus-jzg6c2d5.js → image-jzg6c2d5.js} +0 -0
- /package/dist/chunks/{bus-mp448xyj.js → image-mp448xyj.js} +0 -0
- /package/dist/chunks/{bus-msx8hqn2.js → image-msx8hqn2.js} +0 -0
- /package/dist/chunks/{bus-n05xt0ee.js → image-n05xt0ee.js} +0 -0
- /package/dist/chunks/{bus-n3j8tn72.js → image-n3j8tn72.js} +0 -0
- /package/dist/chunks/{bus-njntx4h6.js → image-njntx4h6.js} +0 -0
- /package/dist/chunks/{bus-q3sfg36h.js → image-q3sfg36h.js} +0 -0
- /package/dist/chunks/{bus-q74kybfr.js → image-q74kybfr.js} +0 -0
- /package/dist/chunks/{bus-qapv375x.js → image-qapv375x.js} +0 -0
- /package/dist/chunks/{bus-qaymkmh1.js → image-qaymkmh1.js} +0 -0
- /package/dist/chunks/{bus-qb87gjwd.js → image-qb87gjwd.js} +0 -0
- /package/dist/chunks/{bus-qfa1cgps.js → image-qfa1cgps.js} +0 -0
- /package/dist/chunks/{bus-qrg20bc0.js → image-qrg20bc0.js} +0 -0
- /package/dist/chunks/{bus-rcb2kzg1.js → image-rcb2kzg1.js} +0 -0
- /package/dist/chunks/{bus-sdp7kfr6.js → image-sdp7kfr6.js} +0 -0
- /package/dist/chunks/{bus-sk3qaz4a.js → image-sk3qaz4a.js} +0 -0
- /package/dist/chunks/{bus-ssg3fenm.js → image-ssg3fenm.js} +0 -0
- /package/dist/chunks/{bus-twg0f83k.js → image-twg0f83k.js} +0 -0
- /package/dist/chunks/{bus-w803qqfp.js → image-w803qqfp.js} +0 -0
- /package/dist/chunks/{bus-wer8tq1h.js → image-wer8tq1h.js} +0 -0
- /package/dist/chunks/{bus-wtztk69x.js → image-wtztk69x.js} +0 -0
- /package/dist/chunks/{bus-x0ckcb58.js → image-x0ckcb58.js} +0 -0
- /package/dist/chunks/{bus-x61499pn.js → image-x61499pn.js} +0 -0
- /package/dist/chunks/{bus-y44na4kk.js → image-y44na4kk.js} +0 -0
- /package/dist/chunks/{bus-y8cydn3q.js → image-y8cydn3q.js} +0 -0
- /package/dist/chunks/{bus-y8f7s663.js → image-y8f7s663.js} +0 -0
- /package/dist/chunks/{bus-ygaqb7jw.js → image-ygaqb7jw.js} +0 -0
- /package/dist/chunks/{bus-ym463w8f.js → image-ym463w8f.js} +0 -0
- /package/dist/chunks/{bus-z9919s4g.js → image-z9919s4g.js} +0 -0
|
@@ -1,31 +1,31 @@
|
|
|
1
1
|
import {
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
} from "./
|
|
2
|
+
Service52,
|
|
3
|
+
node57
|
|
4
|
+
} from "./image-98n2zv5b.js";
|
|
5
5
|
import {
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
} from "./
|
|
6
|
+
Service77,
|
|
7
|
+
node82
|
|
8
|
+
} from "./image-7jm5jzq7.js";
|
|
9
9
|
import {
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
} from "./
|
|
10
|
+
Service51,
|
|
11
|
+
node56
|
|
12
|
+
} from "./image-aj6515bh.js";
|
|
13
13
|
import {
|
|
14
14
|
names2,
|
|
15
15
|
discover2
|
|
16
|
-
} from "./
|
|
16
|
+
} from "./image-zxq2ej10.js";
|
|
17
17
|
import {
|
|
18
18
|
__export
|
|
19
|
-
} from "./
|
|
19
|
+
} from "./image-9rqn6x4v.js";
|
|
20
20
|
|
|
21
21
|
// src/config/plugin/source.ts
|
|
22
22
|
var exports_source = {};
|
|
23
23
|
__export(exports_source, {
|
|
24
24
|
ConfigPluginSource: () => exports_source,
|
|
25
|
-
Service: () =>
|
|
25
|
+
Service: () => Service7,
|
|
26
26
|
empty: () => empty2,
|
|
27
|
-
layer: () =>
|
|
28
|
-
node: () =>
|
|
27
|
+
layer: () => layer5,
|
|
28
|
+
node: () => node9
|
|
29
29
|
});
|
|
30
30
|
import { FSUtil } from "@opencode/util/fs-util";
|
|
31
31
|
import { Host } from "@opencode/plugin/host";
|
|
@@ -33,13 +33,13 @@ import { makeLocationNode } from "@opencode/util/effect/app-node";
|
|
|
33
33
|
import { Context, Effect, Layer, Option, PubSub, Stream } from "effect";
|
|
34
34
|
import path from "path";
|
|
35
35
|
import { fileURLToPath, pathToFileURL } from "url";
|
|
36
|
-
class
|
|
36
|
+
class Service7 extends Context.Service()("@opencode/ConfigPluginSource") {
|
|
37
37
|
}
|
|
38
|
-
var
|
|
39
|
-
const config = yield*
|
|
40
|
-
const watcher = yield*
|
|
38
|
+
var layer5 = Layer.effect(Service7, Effect.gen(function* () {
|
|
39
|
+
const config = yield* Service51;
|
|
40
|
+
const watcher = yield* Service52;
|
|
41
41
|
const fs = yield* FSUtil.Service;
|
|
42
|
-
const location = yield*
|
|
42
|
+
const location = yield* Service77;
|
|
43
43
|
const configuredChanges = yield* PubSub.unbounded();
|
|
44
44
|
const watched = new Set;
|
|
45
45
|
const watchConfiguredSources = Effect.fn("ConfigPluginSource.watchConfiguredSources")(function* (entries, operations) {
|
|
@@ -58,7 +58,7 @@ var layer7 = Layer.effect(Service10, Effect.gen(function* () {
|
|
|
58
58
|
yield* updates.pipe(Stream.runForEach(() => PubSub.publish(configuredChanges, undefined)), Effect.catchCause((cause) => Effect.logError("configured plugin watch failed", { target: operation.target, cause })), Effect.forkScoped({ startImmediately: true }));
|
|
59
59
|
}
|
|
60
60
|
});
|
|
61
|
-
return
|
|
61
|
+
return Service7.of({
|
|
62
62
|
operations: Effect.fn("ConfigPluginSource.operations")(function* () {
|
|
63
63
|
const entries = yield* config.entries();
|
|
64
64
|
const operations = yield* scan(fs, location, entries);
|
|
@@ -70,14 +70,14 @@ var layer7 = Layer.effect(Service10, Effect.gen(function* () {
|
|
|
70
70
|
})), Stream.fromPubSub(configuredChanges))
|
|
71
71
|
});
|
|
72
72
|
}));
|
|
73
|
-
var
|
|
74
|
-
service:
|
|
75
|
-
layer:
|
|
76
|
-
deps: [
|
|
73
|
+
var node9 = makeLocationNode({
|
|
74
|
+
service: Service7,
|
|
75
|
+
layer: layer5,
|
|
76
|
+
deps: [node56, FSUtil.node, node57, node82]
|
|
77
77
|
});
|
|
78
78
|
var empty2 = makeLocationNode({
|
|
79
|
-
service:
|
|
80
|
-
layer: Layer.succeed(
|
|
79
|
+
service: Service7,
|
|
80
|
+
layer: Layer.succeed(Service7, Service7.of({
|
|
81
81
|
operations: () => Effect.succeed([]),
|
|
82
82
|
changes: () => Stream.never
|
|
83
83
|
})),
|
|
@@ -137,4 +137,4 @@ function isPluginSource(entries, file) {
|
|
|
137
137
|
return entries.some((entry) => entry.type === "directory" && names2.some((directory) => FSUtil.contains(path.join(entry.path, directory), file)));
|
|
138
138
|
}
|
|
139
139
|
|
|
140
|
-
export {
|
|
140
|
+
export { Service7, layer5, node9, empty2, exports_source };
|
|
@@ -1,12 +1,12 @@
|
|
|
1
1
|
import {
|
|
2
2
|
SessionMessage2
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./image-gftt206x.js";
|
|
4
4
|
import {
|
|
5
5
|
SessionSchema2
|
|
6
|
-
} from "./
|
|
6
|
+
} from "./image-jexxy024.js";
|
|
7
7
|
import {
|
|
8
8
|
__export
|
|
9
|
-
} from "./
|
|
9
|
+
} from "./image-9rqn6x4v.js";
|
|
10
10
|
|
|
11
11
|
// src/session/error.ts
|
|
12
12
|
var exports_error2 = {};
|
|
@@ -1,18 +1,18 @@
|
|
|
1
1
|
import {
|
|
2
|
-
|
|
3
|
-
} from "./
|
|
2
|
+
Service61
|
|
3
|
+
} from "./image-ebah8r6x.js";
|
|
4
4
|
import {
|
|
5
5
|
awaitActivation2
|
|
6
|
-
} from "./
|
|
6
|
+
} from "./image-rap9a73h.js";
|
|
7
7
|
import {
|
|
8
|
-
|
|
9
|
-
} from "./
|
|
8
|
+
Service48
|
|
9
|
+
} from "./image-n03aapsh.js";
|
|
10
10
|
import {
|
|
11
11
|
unavailable2
|
|
12
|
-
} from "./
|
|
12
|
+
} from "./image-fxbjtjnd.js";
|
|
13
13
|
import {
|
|
14
14
|
__export
|
|
15
|
-
} from "./
|
|
15
|
+
} from "./image-9rqn6x4v.js";
|
|
16
16
|
|
|
17
17
|
// src/session/shell.ts
|
|
18
18
|
var exports_shell3 = {};
|
|
@@ -22,8 +22,8 @@ __export(exports_shell3, {
|
|
|
22
22
|
});
|
|
23
23
|
import { Effect } from "effect";
|
|
24
24
|
var start2 = Effect.fn("SessionShell.start")(function* (input) {
|
|
25
|
-
const instances = yield*
|
|
26
|
-
const shell = yield* awaitActivation2.pipe(Effect.andThen(
|
|
25
|
+
const instances = yield* Service61;
|
|
26
|
+
const shell = yield* awaitActivation2.pipe(Effect.andThen(Service48), instances.provide(input.session));
|
|
27
27
|
const info = yield* shell.create({
|
|
28
28
|
command: input.command,
|
|
29
29
|
cwd: input.session.location.directory,
|
|
@@ -1,15 +1,15 @@
|
|
|
1
1
|
import {
|
|
2
2
|
PositiveInt2
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./image-922hggd3.js";
|
|
4
4
|
import {
|
|
5
5
|
__export
|
|
6
|
-
} from "./
|
|
6
|
+
} from "./image-9rqn6x4v.js";
|
|
7
7
|
|
|
8
8
|
// src/v1/config/provider.ts
|
|
9
9
|
var exports_provider2 = {};
|
|
10
10
|
__export(exports_provider2, {
|
|
11
11
|
ConfigProviderV1: () => exports_provider2,
|
|
12
|
-
Info: () =>
|
|
12
|
+
Info: () => Info11,
|
|
13
13
|
Model: () => Model2,
|
|
14
14
|
ModelStatus: () => ModelStatus2
|
|
15
15
|
});
|
|
@@ -61,7 +61,7 @@ var Model2 = Schema.Struct({
|
|
|
61
61
|
disabled: Schema.optional(Schema.Boolean).annotate({ description: "Disable this variant for the model" })
|
|
62
62
|
}), [Schema.Record(Schema.String, Schema.Any)])).annotate({ description: "Variant-specific configuration" }))
|
|
63
63
|
});
|
|
64
|
-
var
|
|
64
|
+
var Info11 = Schema.Struct({
|
|
65
65
|
api: Schema.optional(Schema.String),
|
|
66
66
|
name: Schema.optional(Schema.String),
|
|
67
67
|
env: Schema.optional(Schema.mutable(Schema.Array(Schema.String))),
|
|
@@ -95,4 +95,4 @@ var Info14 = Schema.Struct({
|
|
|
95
95
|
models: Schema.optional(Schema.Record(Schema.String, Model2))
|
|
96
96
|
}).annotate({ identifier: "ProviderConfig" });
|
|
97
97
|
|
|
98
|
-
export { ModelStatus2, Model2,
|
|
98
|
+
export { ModelStatus2, Model2, Info11, exports_provider2 };
|
|
@@ -1,29 +1,29 @@
|
|
|
1
1
|
import {
|
|
2
|
-
|
|
3
|
-
} from "./
|
|
2
|
+
Service46
|
|
3
|
+
} from "./image-rwmg7s8f.js";
|
|
4
4
|
import {
|
|
5
|
-
|
|
6
|
-
} from "./
|
|
5
|
+
Service61
|
|
6
|
+
} from "./image-ebah8r6x.js";
|
|
7
7
|
import {
|
|
8
8
|
detect2
|
|
9
|
-
} from "./
|
|
9
|
+
} from "./image-3smtnn6g.js";
|
|
10
10
|
import {
|
|
11
11
|
awaitActivation2
|
|
12
|
-
} from "./
|
|
12
|
+
} from "./image-rap9a73h.js";
|
|
13
13
|
import {
|
|
14
|
-
|
|
15
|
-
} from "./
|
|
14
|
+
Service69
|
|
15
|
+
} from "./image-3zykk5as.js";
|
|
16
16
|
import {
|
|
17
17
|
AttachmentError2,
|
|
18
18
|
SkillNotFoundError2
|
|
19
|
-
} from "./
|
|
19
|
+
} from "./image-ybhbtxjg.js";
|
|
20
20
|
import {
|
|
21
21
|
prepare3,
|
|
22
|
-
|
|
23
|
-
} from "./
|
|
22
|
+
Service38
|
|
23
|
+
} from "./image-h79m35fy.js";
|
|
24
24
|
import {
|
|
25
25
|
__export
|
|
26
|
-
} from "./
|
|
26
|
+
} from "./image-9rqn6x4v.js";
|
|
27
27
|
|
|
28
28
|
// src/session/prompt.ts
|
|
29
29
|
var exports_prompt = {};
|
|
@@ -39,10 +39,10 @@ import path from "path";
|
|
|
39
39
|
import { fileURLToPath } from "url";
|
|
40
40
|
var prepare2 = Effect.fn("SessionPrompt.prepare")(function* (request) {
|
|
41
41
|
const fs = yield* FSUtil.Service;
|
|
42
|
-
const instances = yield*
|
|
42
|
+
const instances = yield* Service61;
|
|
43
43
|
return yield* Effect.gen(function* () {
|
|
44
44
|
yield* awaitActivation2;
|
|
45
|
-
const hooks = yield*
|
|
45
|
+
const hooks = yield* Service69;
|
|
46
46
|
const event = yield* hooks.trigger("session", "prompt", {
|
|
47
47
|
sessionID: request.session.id,
|
|
48
48
|
messageID: request.messageID,
|
|
@@ -61,7 +61,7 @@ var prepare2 = Effect.fn("SessionPrompt.prepare")(function* (request) {
|
|
|
61
61
|
const selected = yield* Effect.gen(function* () {
|
|
62
62
|
if (!requested?.length)
|
|
63
63
|
return;
|
|
64
|
-
const skillService = yield*
|
|
64
|
+
const skillService = yield* Service38;
|
|
65
65
|
const prepared = new Map;
|
|
66
66
|
return yield* Effect.forEach(requested, (attachment) => Effect.gen(function* () {
|
|
67
67
|
const name = prepared.get(attachment.id);
|
|
@@ -125,7 +125,7 @@ var materializeAttachment = Effect.fn("SessionPrompt.materializeAttachment")(fun
|
|
|
125
125
|
var normalizeImageAttachment = Effect.fn("SessionPrompt.normalizeImageAttachment")(function* (input, data, mime) {
|
|
126
126
|
if (!mime.startsWith("image/"))
|
|
127
127
|
return { data: Base64.make(data), mime };
|
|
128
|
-
const image = yield*
|
|
128
|
+
const image = yield* Service46;
|
|
129
129
|
const label = input.name ?? (input.uri.startsWith("data:") ? "inline attachment" : input.uri);
|
|
130
130
|
const content = { uri: label, content: data, encoding: "base64", mime };
|
|
131
131
|
const normalized = yield* image.normalize(label, content).pipe(Effect.catchTag("Image.ResizerUnavailableError", () => Effect.succeed(content)), Effect.mapError((error) => new AttachmentError2({ uri: label, message: error.message })));
|
|
@@ -1,32 +1,32 @@
|
|
|
1
1
|
import {
|
|
2
2
|
Service81,
|
|
3
3
|
node86
|
|
4
|
-
} from "./
|
|
4
|
+
} from "./image-fhtb1nxk.js";
|
|
5
5
|
import {
|
|
6
|
-
|
|
6
|
+
Key3,
|
|
7
7
|
removed2,
|
|
8
|
-
|
|
8
|
+
make21,
|
|
9
9
|
combine2
|
|
10
|
-
} from "./
|
|
10
|
+
} from "./image-s8d7rejh.js";
|
|
11
11
|
import {
|
|
12
12
|
InstructionEntryTable2
|
|
13
|
-
} from "./
|
|
13
|
+
} from "./image-5c4hm403.js";
|
|
14
14
|
import {
|
|
15
15
|
__export
|
|
16
|
-
} from "./
|
|
16
|
+
} from "./image-9rqn6x4v.js";
|
|
17
17
|
|
|
18
18
|
// src/session/instruction-entry.ts
|
|
19
19
|
var exports_instruction_entry = {};
|
|
20
20
|
__export(exports_instruction_entry, {
|
|
21
|
-
Info: () =>
|
|
21
|
+
Info: () => Info6,
|
|
22
22
|
InstructionEntry: () => exports_instruction_entry,
|
|
23
23
|
Key: () => Key2,
|
|
24
24
|
MaxValueBytes: () => MaxValueBytes2,
|
|
25
|
-
Service: () =>
|
|
25
|
+
Service: () => Service32,
|
|
26
26
|
Snapshot: () => Snapshot2,
|
|
27
27
|
ValueTooLargeError: () => ValueTooLargeError2,
|
|
28
28
|
initialize: () => initialize2,
|
|
29
|
-
node: () =>
|
|
29
|
+
node: () => node37,
|
|
30
30
|
snapshot: () => snapshot2
|
|
31
31
|
});
|
|
32
32
|
import { and, asc, eq, isNotNull, isNull, ne, or } from "drizzle-orm";
|
|
@@ -34,7 +34,7 @@ import { Context, Effect, Layer, Schema } from "effect";
|
|
|
34
34
|
import { InstructionEntry } from "@opencode/schema/instruction-entry";
|
|
35
35
|
import { makeLocationNode } from "@opencode/util/effect/app-node";
|
|
36
36
|
var Key2 = InstructionEntry.Key;
|
|
37
|
-
var
|
|
37
|
+
var Info6 = InstructionEntry.Info;
|
|
38
38
|
var Snapshot2 = InstructionEntry.Snapshot;
|
|
39
39
|
var MaxValueBytes2 = InstructionEntry.MaxValueBytes;
|
|
40
40
|
var ValueTooLargeError2 = InstructionEntry.ValueTooLargeError;
|
|
@@ -56,13 +56,13 @@ var initialize2 = Effect.fn("InstructionEntry.initialize")(function* (db, sessio
|
|
|
56
56
|
}))).run().pipe(Effect.orDie), { discard: true });
|
|
57
57
|
});
|
|
58
58
|
|
|
59
|
-
class
|
|
59
|
+
class Service32 extends Context.Service()("@opencode/InstructionEntry") {
|
|
60
60
|
}
|
|
61
61
|
var renderValue = (value) => typeof value === "string" ? value : JSON.stringify(value, null, 2);
|
|
62
62
|
var renderBlock = (key, value) => [`<context key="${key}">`, renderValue(value), "</context>"].join(`
|
|
63
63
|
`);
|
|
64
|
-
var source = (entry) =>
|
|
65
|
-
key:
|
|
64
|
+
var source = (entry) => make21({
|
|
65
|
+
key: Key3.make(`api/${entry.key}`),
|
|
66
66
|
codec: Schema.toCodecJson(Schema.Json),
|
|
67
67
|
read: Effect.succeed(entry.removed ? removed2 : entry.value),
|
|
68
68
|
render: {
|
|
@@ -75,7 +75,7 @@ var source = (entry) => make20({
|
|
|
75
75
|
removed: () => `The context under "${entry.key}" no longer applies. Disregard it.`
|
|
76
76
|
}
|
|
77
77
|
});
|
|
78
|
-
var layer = Layer.effect(
|
|
78
|
+
var layer = Layer.effect(Service32, Effect.gen(function* () {
|
|
79
79
|
const { db } = yield* Service81;
|
|
80
80
|
const rows = Effect.fnUntraced(function* (sessionID, includeRemoved) {
|
|
81
81
|
return yield* db.select({
|
|
@@ -108,8 +108,8 @@ var layer = Layer.effect(Service25, Effect.gen(function* () {
|
|
|
108
108
|
const load = Effect.fn("InstructionEntry.load")(function* (sessionID) {
|
|
109
109
|
return combine2((yield* rows(sessionID, true)).map(source));
|
|
110
110
|
});
|
|
111
|
-
return
|
|
111
|
+
return Service32.of({ list, put, remove, load });
|
|
112
112
|
}));
|
|
113
|
-
var
|
|
113
|
+
var node37 = makeLocationNode({ service: Service32, layer, deps: [node86] });
|
|
114
114
|
|
|
115
|
-
export { Key2,
|
|
115
|
+
export { Key2, Info6, Snapshot2, MaxValueBytes2, ValueTooLargeError2, snapshot2, initialize2, Service32, node37, exports_instruction_entry };
|
|
@@ -1,10 +1,10 @@
|
|
|
1
1
|
import {
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
} from "./
|
|
2
|
+
Service80,
|
|
3
|
+
node85
|
|
4
|
+
} from "./image-gse1qw90.js";
|
|
5
5
|
import {
|
|
6
6
|
__export
|
|
7
|
-
} from "./
|
|
7
|
+
} from "./image-9rqn6x4v.js";
|
|
8
8
|
|
|
9
9
|
// src/form.ts
|
|
10
10
|
var exports_form = {};
|
|
@@ -12,40 +12,40 @@ __export(exports_form, {
|
|
|
12
12
|
AlreadyExistsError: () => AlreadyExistsError2,
|
|
13
13
|
AlreadySettledError: () => AlreadySettledError2,
|
|
14
14
|
Answer: () => Answer2,
|
|
15
|
-
Event: () =>
|
|
15
|
+
Event: () => Event19,
|
|
16
16
|
Field: () => Field2,
|
|
17
17
|
Fields: () => Fields2,
|
|
18
18
|
Form: () => exports_form,
|
|
19
|
-
ID: () =>
|
|
20
|
-
Info: () =>
|
|
19
|
+
ID: () => ID15,
|
|
20
|
+
Info: () => Info30,
|
|
21
21
|
InvalidAnswerError: () => InvalidAnswerError2,
|
|
22
22
|
InvalidFormError: () => InvalidFormError2,
|
|
23
|
-
NotFoundError: () =>
|
|
24
|
-
Reply: () =>
|
|
25
|
-
Service: () =>
|
|
23
|
+
NotFoundError: () => NotFoundError10,
|
|
24
|
+
Reply: () => Reply3,
|
|
25
|
+
Service: () => Service74,
|
|
26
26
|
State: () => State3,
|
|
27
27
|
When: () => When2,
|
|
28
|
-
layer: () =>
|
|
29
|
-
node: () =>
|
|
28
|
+
layer: () => layer25,
|
|
29
|
+
node: () => node79,
|
|
30
30
|
validateAnswer: () => validateAnswer2,
|
|
31
31
|
validateFields: () => validateFields2
|
|
32
32
|
});
|
|
33
33
|
import { Form } from "@opencode/schema/form";
|
|
34
34
|
import { Cache, Context, Deferred, Duration, Effect, Exit, Layer, Option, Schema } from "effect";
|
|
35
35
|
import { makeLocationNode } from "@opencode/util/effect/app-node";
|
|
36
|
-
import { Event as
|
|
36
|
+
import { Event as Event19 } from "@opencode/schema/form";
|
|
37
37
|
var RETENTION = Duration.minutes(10);
|
|
38
|
-
var
|
|
39
|
-
var
|
|
38
|
+
var ID15 = Form.ID;
|
|
39
|
+
var Info30 = Form.Info;
|
|
40
40
|
var Field2 = Form.Field;
|
|
41
41
|
var Fields2 = Form.Fields;
|
|
42
42
|
var When2 = Form.When;
|
|
43
43
|
var State3 = Form.State;
|
|
44
44
|
var Answer2 = Form.Answer;
|
|
45
|
-
var
|
|
45
|
+
var Reply3 = Form.Reply;
|
|
46
46
|
|
|
47
|
-
class
|
|
48
|
-
id:
|
|
47
|
+
class NotFoundError10 extends Schema.TaggedError()("Form.NotFoundError", {
|
|
48
|
+
id: ID15
|
|
49
49
|
}) {
|
|
50
50
|
get message() {
|
|
51
51
|
return `Form not found: ${this.id}`;
|
|
@@ -53,7 +53,7 @@ class NotFoundError7 extends Schema.TaggedError()("Form.NotFoundError", {
|
|
|
53
53
|
}
|
|
54
54
|
|
|
55
55
|
class AlreadySettledError2 extends Schema.TaggedError()("Form.AlreadySettledError", {
|
|
56
|
-
id:
|
|
56
|
+
id: ID15
|
|
57
57
|
}) {
|
|
58
58
|
get message() {
|
|
59
59
|
return `Form already settled: ${this.id}`;
|
|
@@ -61,7 +61,7 @@ class AlreadySettledError2 extends Schema.TaggedError()("Form.AlreadySettledErro
|
|
|
61
61
|
}
|
|
62
62
|
|
|
63
63
|
class AlreadyExistsError2 extends Schema.TaggedError()("Form.AlreadyExistsError", {
|
|
64
|
-
id:
|
|
64
|
+
id: ID15
|
|
65
65
|
}) {
|
|
66
66
|
get message() {
|
|
67
67
|
return `Form already exists: ${this.id}`;
|
|
@@ -69,7 +69,7 @@ class AlreadyExistsError2 extends Schema.TaggedError()("Form.AlreadyExistsError"
|
|
|
69
69
|
}
|
|
70
70
|
|
|
71
71
|
class InvalidAnswerError2 extends Schema.TaggedError()("Form.InvalidAnswerError", {
|
|
72
|
-
id:
|
|
72
|
+
id: ID15,
|
|
73
73
|
message: Schema.String
|
|
74
74
|
}) {
|
|
75
75
|
}
|
|
@@ -79,17 +79,17 @@ class InvalidFormError2 extends Schema.TaggedError()("Form.InvalidFormError", {
|
|
|
79
79
|
}) {
|
|
80
80
|
}
|
|
81
81
|
|
|
82
|
-
class
|
|
82
|
+
class Service74 extends Context.Service()("@opencode/Form") {
|
|
83
83
|
}
|
|
84
|
-
var
|
|
85
|
-
const bus = yield*
|
|
84
|
+
var layer25 = Layer.effect(Service74, Effect.gen(function* () {
|
|
85
|
+
const bus = yield* Service80;
|
|
86
86
|
const forms = yield* Cache.makeWith(() => Effect.die(new Error("Form cache must be used via set/getSuccess, never get")), {
|
|
87
87
|
capacity: Number.MAX_SAFE_INTEGER,
|
|
88
88
|
timeToLive: (exit) => Exit.isSuccess(exit) && exit.value.state.status === "pending" ? Duration.infinity : RETENTION
|
|
89
89
|
});
|
|
90
|
-
const requireEntry = Effect.fn("Form.requireEntry")((id) => Cache.getSuccess(forms, id).pipe(Effect.flatMap((entry) => Effect.fromOption(entry, () => new
|
|
90
|
+
const requireEntry = Effect.fn("Form.requireEntry")((id) => Cache.getSuccess(forms, id).pipe(Effect.flatMap((entry) => Effect.fromOption(entry, () => new NotFoundError10({ id })))));
|
|
91
91
|
const create = Effect.fn("Form.create")((input) => Effect.uninterruptible(Effect.gen(function* () {
|
|
92
|
-
const id = input.id ??
|
|
92
|
+
const id = input.id ?? ID15.create();
|
|
93
93
|
const existing = yield* Cache.getSuccess(forms, id);
|
|
94
94
|
if (Option.isSome(existing))
|
|
95
95
|
return yield* new AlreadyExistsError2({ id });
|
|
@@ -153,9 +153,9 @@ var layer23 = Layer.effect(Service58, Effect.gen(function* () {
|
|
|
153
153
|
yield* Deferred.succeed(entry.deferred, next);
|
|
154
154
|
})));
|
|
155
155
|
yield* Effect.addFinalizer(() => Cache.values(forms).pipe(Effect.flatMap((entries) => Effect.forEach(Array.from(entries).filter((entry) => entry.state.status === "pending"), (entry) => cancel(entry.form.id).pipe(Effect.ignore), { discard: true }))));
|
|
156
|
-
return
|
|
156
|
+
return Service74.of({ create, ask, get, list, state, reply, cancel });
|
|
157
157
|
}));
|
|
158
|
-
var
|
|
158
|
+
var node79 = makeLocationNode({ service: Service74, layer: layer25, deps: [node85] });
|
|
159
159
|
function validateAnswer2(form, answer) {
|
|
160
160
|
const fields = new Map(form.map((field) => [field.key, field]));
|
|
161
161
|
for (const key of Object.keys(answer)) {
|
|
@@ -307,4 +307,4 @@ function isDateTime(value) {
|
|
|
307
307
|
return !Number.isNaN(new Date(value).getTime());
|
|
308
308
|
}
|
|
309
309
|
|
|
310
|
-
export {
|
|
310
|
+
export { ID15, Info30, Field2, Fields2, When2, State3, Answer2, Reply3, NotFoundError10, AlreadySettledError2, AlreadyExistsError2, InvalidAnswerError2, InvalidFormError2, Service74, layer25, node79, validateAnswer2, validateFields2, exports_form, Event19 };
|
|
@@ -1,27 +1,27 @@
|
|
|
1
1
|
import {
|
|
2
2
|
create3
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./image-rdw6cm16.js";
|
|
4
4
|
import {
|
|
5
5
|
which2
|
|
6
|
-
} from "./
|
|
6
|
+
} from "./image-qaymkmh1.js";
|
|
7
7
|
import {
|
|
8
8
|
__export
|
|
9
|
-
} from "./
|
|
9
|
+
} from "./image-9rqn6x4v.js";
|
|
10
10
|
|
|
11
11
|
// src/shell/select.ts
|
|
12
12
|
var exports_select = {};
|
|
13
13
|
__export(exports_select, {
|
|
14
14
|
Options: () => Options10,
|
|
15
|
-
Service: () =>
|
|
15
|
+
Service: () => Service56,
|
|
16
16
|
ShellSelect: () => exports_select,
|
|
17
17
|
args: () => args2,
|
|
18
|
-
configured: () =>
|
|
18
|
+
configured: () => configured11,
|
|
19
19
|
environment: () => environment2,
|
|
20
20
|
gitbash: () => gitbash2,
|
|
21
|
-
list: () =>
|
|
21
|
+
list: () => list3,
|
|
22
22
|
login: () => login2,
|
|
23
23
|
name: () => name15,
|
|
24
|
-
node: () =>
|
|
24
|
+
node: () => node62,
|
|
25
25
|
ps: () => ps2,
|
|
26
26
|
resolve: () => resolve3
|
|
27
27
|
});
|
|
@@ -47,7 +47,7 @@ var Options10 = Schema.Struct({
|
|
|
47
47
|
gitbash: Schema.optional(Schema.String)
|
|
48
48
|
});
|
|
49
49
|
|
|
50
|
-
class
|
|
50
|
+
class Service56 extends Context.Service()("@opencode/ShellSelect") {
|
|
51
51
|
}
|
|
52
52
|
function stat(file) {
|
|
53
53
|
return statSync(file, { throwIfNoEntry: false }) ?? undefined;
|
|
@@ -184,11 +184,11 @@ resolve3.reset = () => {
|
|
|
184
184
|
defaultConfigured = undefined;
|
|
185
185
|
defaultCompatible = undefined;
|
|
186
186
|
};
|
|
187
|
-
async function
|
|
187
|
+
async function list3(options, bin) {
|
|
188
188
|
const shells = process.platform === "win32" ? win(options, bin) : await unix();
|
|
189
189
|
return shells.filter((shell) => executable(shell, options, bin)).map((shell) => info(shell, options, bin));
|
|
190
190
|
}
|
|
191
|
-
var layer = (options) => Layer.effect(
|
|
191
|
+
var layer = (options) => Layer.effect(Service56, Effect.gen(function* () {
|
|
192
192
|
const global = yield* Global.Service;
|
|
193
193
|
const state = create3({
|
|
194
194
|
name: "shell-select",
|
|
@@ -199,16 +199,16 @@ var layer = (options) => Layer.effect(Service78, Effect.gen(function* () {
|
|
|
199
199
|
}
|
|
200
200
|
})
|
|
201
201
|
});
|
|
202
|
-
return
|
|
202
|
+
return Service56.of({
|
|
203
203
|
transform: state.transform,
|
|
204
204
|
reload: state.reload,
|
|
205
205
|
resolve: (input) => Effect.sync(() => resolve3(input, state.get().shell, options, global.bin)),
|
|
206
|
-
list: () => Effect.promise(() =>
|
|
206
|
+
list: () => Effect.promise(() => list3(options, global.bin))
|
|
207
207
|
});
|
|
208
208
|
}));
|
|
209
|
-
function
|
|
210
|
-
return makeLocationNode({ service:
|
|
209
|
+
function configured11(options) {
|
|
210
|
+
return makeLocationNode({ service: Service56, layer: layer(options), deps: [Global.node] });
|
|
211
211
|
}
|
|
212
|
-
var
|
|
212
|
+
var node62 = configured11();
|
|
213
213
|
|
|
214
|
-
export { Options10,
|
|
214
|
+
export { Options10, Service56, gitbash2, name15, login2, ps2, args2, environment2, resolve3, list3, configured11, node62, exports_select };
|