@opencode/core 0.0.0-dev-19788 → 0.0.0-dev-19790
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 +88 -88
- package/dist/aisdk.js +93 -93
- package/dist/app.js +5 -5
- package/dist/bus.js +72 -72
- package/dist/chunks/{variant-ryeeha7r.js → pty-010xpxbn.js} +11 -11
- package/dist/chunks/{variant-7p20jsne.js → pty-01m48zym.js} +25 -25
- package/dist/chunks/{variant-nvpyq15w.js → pty-05k8gwwx.js} +37 -37
- package/dist/chunks/{variant-95jpk3t3.js → pty-09ejbmp6.js} +3 -3
- package/dist/chunks/{variant-9zsprffg.js → pty-0cnsmtwh.js} +24 -24
- package/dist/chunks/{variant-0paq2nw3.js → pty-0paq2nw3.js} +1 -1
- package/dist/chunks/{variant-0q0f95c6.js → pty-0q0f95c6.js} +1 -1
- package/dist/chunks/{variant-4qc459h3.js → pty-0x0trpnf.js} +11 -11
- package/dist/chunks/{variant-gj1hd0v4.js → pty-15wq8bnm.js} +15 -12
- package/dist/chunks/{variant-1dazxqgg.js → pty-1dazxqgg.js} +2 -2
- package/dist/chunks/{variant-kwzwcjdj.js → pty-1hxn8gc9.js} +12 -12
- package/dist/chunks/{variant-v47z8hsk.js → pty-1n42sk3q.js} +10 -10
- package/dist/chunks/{variant-g1zq6c5t.js → pty-1qg96azw.js} +11 -11
- package/dist/chunks/{variant-yxjfm1ef.js → pty-1t1mekng.js} +5 -5
- package/dist/chunks/{variant-cf3500x7.js → pty-1v03ecv9.js} +11 -11
- package/dist/chunks/{variant-21r38tys.js → pty-21r38tys.js} +1 -1
- package/dist/chunks/{variant-2402vzrj.js → pty-2402vzrj.js} +1 -1
- package/dist/chunks/{variant-7jdsj2a9.js → pty-256nx13v.js} +3 -3
- package/dist/chunks/{variant-2a5m3afh.js → pty-2a5m3afh.js} +1 -1
- package/dist/chunks/{variant-yvvvp4gn.js → pty-2aet7wja.js} +8 -8
- package/dist/chunks/{variant-0rv2ccgj.js → pty-2bm8nv3j.js} +4 -4
- package/dist/chunks/{variant-km0erg4h.js → pty-2deyrhr8.js} +13 -13
- package/dist/chunks/{variant-wtphcwzm.js → pty-2f0arp29.js} +47 -47
- package/dist/chunks/{variant-hrkge0dr.js → pty-2gydggrp.js} +3 -3
- package/dist/chunks/{variant-82rgwbpg.js → pty-2jm9246z.js} +4 -4
- package/dist/chunks/{variant-krnt6yfv.js → pty-2mvse5z6.js} +36 -36
- package/dist/chunks/{variant-ty0554db.js → pty-2qtz93bp.js} +4 -4
- package/dist/chunks/{variant-nn2fzds8.js → pty-2x2vnpz5.js} +9 -9
- package/dist/chunks/{variant-r6vq26jz.js → pty-2x8n49qa.js} +10 -10
- package/dist/chunks/{variant-m3csf4ap.js → pty-2xyrgdy7.js} +15 -15
- package/dist/chunks/{variant-et0dwx51.js → pty-360vn7h3.js} +3 -3
- package/dist/chunks/{variant-q5a1e36b.js → pty-36ndtc93.js} +28 -28
- package/dist/chunks/{variant-g5fe2pst.js → pty-39mnaq4c.js} +23 -23
- package/dist/chunks/{variant-3fc6dm20.js → pty-3fc6dm20.js} +1 -1
- package/dist/chunks/{variant-3hepkmqq.js → pty-3hepkmqq.js} +1 -1
- package/dist/chunks/{variant-3smtnn6g.js → pty-3smtnn6g.js} +1 -1
- package/dist/chunks/{variant-3tvqynh2.js → pty-3tvqynh2.js} +1 -1
- package/dist/chunks/pty-3z5xssby.js +65 -0
- package/dist/chunks/{variant-g9hjynqd.js → pty-4641nt7s.js} +5 -5
- package/dist/chunks/{variant-dtheb6mc.js → pty-47qt310b.js} +10 -10
- package/dist/chunks/{variant-yj76swvz.js → pty-47r0kvy6.js} +24 -24
- package/dist/chunks/{variant-mrqnf78j.js → pty-4dkhsnmt.js} +32 -32
- package/dist/chunks/{variant-m0sej1qn.js → pty-4ekhf7tc.js} +7 -7
- package/dist/chunks/{variant-ts2x07a1.js → pty-4jc5c4h4.js} +1 -1
- package/dist/chunks/{variant-hpjs4p32.js → pty-4jzbd5w2.js} +312 -308
- package/dist/chunks/{variant-pef6k0gg.js → pty-4sn99hha.js} +9 -9
- package/dist/chunks/{variant-p11h9hwq.js → pty-4zhk9xy1.js} +11 -11
- package/dist/chunks/{variant-fvsyg6qk.js → pty-510m7gjw.js} +5 -5
- package/dist/chunks/{variant-56gdpj1q.js → pty-56gdpj1q.js} +2 -2
- package/dist/chunks/{variant-cd6cwsk9.js → pty-56qjdxtm.js} +12 -12
- package/dist/chunks/{variant-ebcvbnkn.js → pty-57dcv54h.js} +8 -8
- package/dist/chunks/{variant-59gj78ga.js → pty-5cn1q5nw.js} +31 -31
- package/dist/chunks/{variant-5daktx2q.js → pty-5daktx2q.js} +1 -1
- package/dist/chunks/{variant-engkm2d6.js → pty-5e15319b.js} +5 -5
- package/dist/chunks/{variant-bb31b7br.js → pty-5j6bqzeb.js} +25 -25
- package/dist/chunks/{variant-e3qxr5gk.js → pty-5qd3pb7m.js} +2 -2
- package/dist/chunks/{variant-5t3nmthw.js → pty-5t3nmthw.js} +2 -2
- package/dist/chunks/{variant-wfrt7f8k.js → pty-5whcbe3x.js} +17 -17
- package/dist/chunks/{variant-k41ybe0m.js → pty-5xsexkhf.js} +9 -9
- package/dist/chunks/{variant-qxs0gjsw.js → pty-5xwkdnk6.js} +11 -11
- package/dist/chunks/{variant-7dqw4kz8.js → pty-607tc6va.js} +5 -5
- package/dist/chunks/{variant-nkg4sc71.js → pty-61a7pyf7.js} +5 -5
- package/dist/chunks/{variant-z73z9mq7.js → pty-64amj0r1.js} +21 -21
- package/dist/chunks/{variant-669tq793.js → pty-669tq793.js} +1 -1
- package/dist/chunks/{variant-pcva14f7.js → pty-6a3q5akz.js} +10 -18
- package/dist/chunks/{variant-9jtv0k0v.js → pty-6d0hcp9d.js} +7 -7
- package/dist/chunks/{variant-6msgmcgs.js → pty-6msgmcgs.js} +1 -1
- package/dist/chunks/{variant-h196ywmy.js → pty-6zb5jvme.js} +60 -60
- package/dist/chunks/{variant-1bbkgx8g.js → pty-73tb2d7t.js} +3 -3
- package/dist/chunks/{variant-7bmhse3q.js → pty-7bmhse3q.js} +1 -1
- package/dist/chunks/{variant-q68k07bj.js → pty-7cj0vwkb.js} +13 -13
- package/dist/chunks/{variant-6n2ypsgr.js → pty-7hmfndvt.js} +31 -31
- package/dist/chunks/{variant-1zqx6507.js → pty-7swn79b1.js} +12 -12
- package/dist/chunks/{variant-v29fjn9e.js → pty-7t5qybgj.js} +51 -51
- package/dist/chunks/{variant-rxmq8rgz.js → pty-82kxmdcf.js} +4 -4
- package/dist/chunks/{variant-s0f29662.js → pty-82r64hfa.js} +26 -26
- package/dist/chunks/{variant-s5d9hk7s.js → pty-85z0khfw.js} +9 -9
- package/dist/chunks/{variant-tcezcvh9.js → pty-89znhe33.js} +4 -4
- package/dist/chunks/{variant-8d7r5vzw.js → pty-8d7r5vzw.js} +1 -1
- package/dist/chunks/{variant-x8a6wpb1.js → pty-8hdvkfsn.js} +43 -43
- package/dist/chunks/{variant-dgr6519x.js → pty-8kgvtemd.js} +8 -8
- package/dist/chunks/{variant-8dk804ze.js → pty-8ktdpdbn.js} +30 -30
- package/dist/chunks/{variant-cdhfde9j.js → pty-8n2c22yw.js} +12 -12
- package/dist/chunks/{variant-bpfnneg5.js → pty-8ndese90.js} +20 -20
- package/dist/chunks/{variant-dj2t23y0.js → pty-8p4f9s12.js} +2 -2
- package/dist/chunks/{variant-nxhxdrrf.js → pty-8sc656s0.js} +30 -30
- package/dist/chunks/{variant-cb5th899.js → pty-8tcq1ard.js} +38 -38
- package/dist/chunks/{variant-m8deaeh7.js → pty-8x7kj7de.js} +16 -16
- package/dist/chunks/{variant-8ty0ryk7.js → pty-92hvatj2.js} +96 -96
- package/dist/chunks/{variant-2qtg0jfn.js → pty-94h3t13q.js} +12 -12
- package/dist/chunks/{variant-18p3d61n.js → pty-95jkg4sh.js} +3 -3
- package/dist/chunks/{variant-jd8ez2rx.js → pty-96712bz8.js} +3 -3
- package/dist/chunks/{variant-n4fbvqmd.js → pty-96k7qteq.js} +6 -6
- package/dist/chunks/{variant-74evebey.js → pty-9wh28ea7.js} +32 -32
- package/dist/chunks/{variant-5c4hm403.js → pty-a1bz86dw.js} +3 -3
- package/dist/chunks/{variant-gt3cwgnf.js → pty-a6ha29gm.js} +48 -48
- package/dist/chunks/{variant-6qc0assy.js → pty-a8rvpzh6.js} +37 -37
- package/dist/chunks/{variant-aaet6srn.js → pty-aaet6srn.js} +2 -2
- package/dist/chunks/{variant-mtft99cd.js → pty-af04s6ss.js} +5 -5
- package/dist/chunks/{variant-z0xass54.js → pty-ajejy050.js} +19 -19
- package/dist/chunks/{variant-srhbgzsh.js → pty-aqk3dj7t.js} +1 -1
- package/dist/chunks/{variant-b6gygkdw.js → pty-b6gygkdw.js} +2 -2
- package/dist/chunks/{variant-sqdmb1qc.js → pty-b9w0x7cm.js} +18 -18
- package/dist/chunks/{variant-3h9fe1cb.js → pty-bag4px4n.js} +24 -24
- package/dist/chunks/{variant-axx87c8z.js → pty-bfygd469.js} +28 -28
- package/dist/chunks/{variant-wsp13tn1.js → pty-bh7937zs.js} +28 -26
- package/dist/chunks/{variant-5wqj2ap4.js → pty-bnv5qe0w.js} +6 -6
- package/dist/chunks/{variant-yjf31fha.js → pty-bt0s2m4s.js} +28 -28
- package/dist/chunks/{variant-6dh9c3ss.js → pty-c3xk9fpp.js} +14 -12
- package/dist/chunks/{variant-hgz2sqdv.js → pty-c6d4h0jp.js} +11 -11
- package/dist/chunks/{variant-c8bydgjz.js → pty-cdm0dq9n.js} +6 -6
- package/dist/chunks/{variant-9t1yzjs7.js → pty-cerhndf8.js} +28 -28
- package/dist/chunks/{variant-m0jqrx5p.js → pty-cfpkc3c9.js} +2 -2
- package/dist/chunks/{variant-571cwvkm.js → pty-ck33vcq0.js} +31 -33
- package/dist/chunks/{variant-h6r3nrb9.js → pty-cpj0znwe.js} +4 -4
- package/dist/chunks/{variant-xh03bpf0.js → pty-cs1yg9jz.js} +15 -15
- package/dist/chunks/{variant-qhayk2b7.js → pty-cywsvzz8.js} +19 -19
- package/dist/chunks/{variant-p37cw4rj.js → pty-czfptnv9.js} +8 -8
- package/dist/chunks/{variant-r2m716tb.js → pty-d4he2qe1.js} +9 -9
- package/dist/chunks/{variant-7ms2r6fn.js → pty-d7wgan7y.js} +17 -17
- package/dist/chunks/{variant-036xttfm.js → pty-d8mfmd5t.js} +23 -23
- package/dist/chunks/{variant-wbrxfa2a.js → pty-dkkcfdd5.js} +4 -4
- package/dist/chunks/{variant-d6g5yyx2.js → pty-dm7z6sw8.js} +11 -11
- package/dist/chunks/{variant-qacyc7aa.js → pty-dqhgk4gj.js} +14 -14
- package/dist/chunks/{variant-drwq78ky.js → pty-drwq78ky.js} +1 -1
- package/dist/chunks/{variant-6zd4z6kv.js → pty-e8gs20m7.js} +24 -24
- package/dist/chunks/{variant-ef5x83kb.js → pty-ef5x83kb.js} +1 -1
- package/dist/chunks/{variant-ka9h1195.js → pty-en85tny2.js} +17 -17
- package/dist/chunks/{variant-z9v75n1r.js → pty-en9axxsm.js} +20 -18
- package/dist/chunks/{variant-erw5rpbs.js → pty-erw5rpbs.js} +2 -2
- package/dist/chunks/{variant-9avbkjx3.js → pty-esegqz26.js} +9 -9
- package/dist/chunks/{variant-etq0c3wd.js → pty-etq0c3wd.js} +1 -1
- package/dist/chunks/{variant-3w2b2yj4.js → pty-evbgk2k8.js} +5 -5
- package/dist/chunks/{variant-yp2x3t23.js → pty-f2n192rq.js} +4 -4
- package/dist/chunks/{variant-53g2xa05.js → pty-f35htakt.js} +9 -9
- package/dist/chunks/{variant-hdnk95c8.js → pty-f828m53h.js} +2 -2
- package/dist/chunks/{variant-bm2g2e4c.js → pty-f9mqex9s.js} +37 -37
- package/dist/chunks/{variant-qpkc6dca.js → pty-fd3v7rn0.js} +35 -35
- package/dist/chunks/{variant-4febdg58.js → pty-fjeptm1j.js} +11 -11
- package/dist/chunks/{variant-mmb8fzkf.js → pty-fra5bndy.js} +17 -17
- package/dist/chunks/{variant-fxmgg4aj.js → pty-fwrss4ad.js} +4 -4
- package/dist/chunks/{variant-fxbjtjnd.js → pty-fxbjtjnd.js} +1 -1
- package/dist/chunks/{variant-td7mnp8z.js → pty-g02r5t1q.js} +20 -20
- package/dist/chunks/{variant-0aq7t7jz.js → pty-g408yz0d.js} +28 -28
- package/dist/chunks/{variant-83r8e852.js → pty-g6v5r3w6.js} +16 -16
- package/dist/chunks/{variant-eaj1djv9.js → pty-gbt6w4kb.js} +4 -4
- package/dist/chunks/{variant-2pk3hmqv.js → pty-gbvfym51.js} +24 -24
- package/dist/chunks/{variant-gd4qta3r.js → pty-gd4qta3r.js} +1 -1
- package/dist/chunks/{variant-v1407nsh.js → pty-gf229ayp.js} +18 -18
- package/dist/chunks/{variant-1ht4yrx5.js → pty-gqgkwrka.js} +19 -19
- package/dist/chunks/{variant-g1sxm558.js → pty-gs3s1a1g.js} +8 -8
- package/dist/chunks/{variant-ncbj3p6k.js → pty-gtgjs7h2.js} +53 -53
- package/dist/chunks/{variant-gv6a8nnw.js → pty-gv6a8nnw.js} +2 -2
- package/dist/chunks/{variant-4449w6ph.js → pty-gx88jzcs.js} +32 -32
- package/dist/chunks/{variant-7j7wzv8x.js → pty-gy590f6s.js} +2 -2
- package/dist/chunks/{variant-1pw8ktv6.js → pty-gyxzt53n.js} +16 -16
- package/dist/chunks/{variant-81ke0znj.js → pty-h4xx3n44.js} +5 -5
- package/dist/chunks/{variant-1qdn5mg4.js → pty-h5amc0nw.js} +5 -5
- package/dist/chunks/{variant-h6vf3j39.js → pty-h6vf3j39.js} +1 -1
- package/dist/chunks/{variant-gby5wcn0.js → pty-h8d3bytr.js} +64 -64
- package/dist/chunks/{variant-k6vef6f0.js → pty-hdfkv0ev.js} +62 -62
- package/dist/chunks/{variant-7z9tkqw1.js → pty-hdns3422.js} +9 -9
- package/dist/chunks/pty-hgd4btym.js +18 -0
- package/dist/chunks/{variant-7kewf0cc.js → pty-hgk31n1k.js} +25 -25
- package/dist/chunks/{variant-fkmvdsrs.js → pty-hjvqykt7.js} +10 -10
- package/dist/chunks/pty-hr9dp009.js +4 -0
- package/dist/chunks/{variant-faxz800z.js → pty-hxpy2fz9.js} +12 -12
- package/dist/chunks/{variant-eevzksqv.js → pty-hzxxpgfe.js} +13 -13
- package/dist/chunks/{variant-4q678n20.js → pty-j2dty9kk.js} +15 -15
- package/dist/chunks/{variant-j56e64zr.js → pty-j56e64zr.js} +1 -1
- package/dist/chunks/{variant-3p19car9.js → pty-jcvsx840.js} +20 -20
- package/dist/chunks/{variant-g9wnjee6.js → pty-jfq1w6xq.js} +11 -11
- package/dist/chunks/{variant-s9e8sf64.js → pty-jhetzww4.js} +45 -45
- package/dist/chunks/{variant-rbeyeh8v.js → pty-jn0rbr09.js} +3 -3
- package/dist/chunks/{variant-nw2nz702.js → pty-jva4mgym.js} +4 -4
- package/dist/chunks/{variant-y71avatq.js → pty-jwcy2c2z.js} +4 -4
- package/dist/chunks/{variant-6cq4w4ej.js → pty-jzp2kyv6.js} +22 -22
- package/dist/chunks/{variant-e0cjyxzq.js → pty-k388e6t1.js} +17 -17
- package/dist/chunks/{variant-nzks3jc8.js → pty-k3c624dm.js} +3 -3
- package/dist/chunks/{variant-cfqcr5nn.js → pty-kb1rdp05.js} +41 -41
- package/dist/chunks/{variant-95pfmgyz.js → pty-kgbqw58m.js} +35 -35
- package/dist/chunks/{variant-3mypx32h.js → pty-kjq75dje.js} +1 -1
- package/dist/chunks/{variant-knb7evpn.js → pty-knb7evpn.js} +2 -2
- package/dist/chunks/{variant-sz3gsrbf.js → pty-kns2fx3n.js} +27 -27
- package/dist/chunks/{variant-fbqt5tv2.js → pty-krbz4bty.js} +5 -5
- package/dist/chunks/{variant-zh2phv9k.js → pty-kxdh0s6n.js} +7 -7
- package/dist/chunks/{variant-m3fdjcah.js → pty-m3fdjcah.js} +1 -1
- package/dist/chunks/{variant-dhmh7aw6.js → pty-m70sbz6t.js} +4 -4
- package/dist/chunks/{variant-hqqbf430.js → pty-m77h72gn.js} +19 -19
- package/dist/chunks/{variant-51jra4mh.js → pty-m7va1g8x.js} +2 -2
- package/dist/chunks/{variant-m9w0rfyh.js → pty-m9w0rfyh.js} +1 -1
- package/dist/chunks/{variant-kk00bynn.js → pty-magykp64.js} +21 -21
- package/dist/chunks/{variant-byy6e5ra.js → pty-mf55kzn1.js} +9 -9
- package/dist/chunks/{variant-91w7abj7.js → pty-mg90z6wk.js} +16 -16
- package/dist/chunks/{variant-ag0ge9vb.js → pty-mh8602s5.js} +23 -23
- package/dist/chunks/{variant-p84dsdfh.js → pty-mm5kxf07.js} +5 -5
- package/dist/chunks/{variant-9rz2j36k.js → pty-n0kbf44j.js} +11 -11
- package/dist/chunks/{variant-5qb1g724.js → pty-n25bj5sj.js} +8 -8
- package/dist/chunks/{variant-rhafb4aa.js → pty-nq7qbqzc.js} +9 -9
- package/dist/chunks/{variant-aydaz3rw.js → pty-nvgm9hwb.js} +28 -28
- package/dist/chunks/{variant-va6pcbts.js → pty-nwb8yfca.js} +5 -5
- package/dist/chunks/{variant-9588vfer.js → pty-p2bsys5p.js} +41 -37
- package/dist/chunks/{variant-hcvxky9s.js → pty-p3w99mff.js} +22 -22
- package/dist/chunks/{variant-4hptpj1d.js → pty-pfpqttcd.js} +15 -15
- package/dist/chunks/{variant-pjvnvgmy.js → pty-pjvnvgmy.js} +1 -1
- package/dist/chunks/{variant-pknna89w.js → pty-pknna89w.js} +1 -1
- package/dist/chunks/pty-px0fec8t.js +252 -0
- package/dist/chunks/{variant-bhmd7z0s.js → pty-q0sdqn78.js} +4 -4
- package/dist/chunks/{variant-z8smh9c8.js → pty-q24nm477.js} +19 -19
- package/dist/chunks/{variant-hjmm9f8v.js → pty-q2f6gqtk.js} +6 -6
- package/dist/chunks/pty-q3pcyw4n.js +131 -0
- package/dist/chunks/{variant-k48z0nfs.js → pty-q4hrj6yz.js} +12 -12
- package/dist/chunks/{variant-806j49yq.js → pty-qa3qhgw8.js} +4 -4
- package/dist/chunks/{variant-qsdy395h.js → pty-qsdy395h.js} +1 -1
- package/dist/chunks/{variant-rm1vz964.js → pty-r1761eky.js} +32 -32
- package/dist/chunks/{variant-arn0a1z7.js → pty-r4hn1y4t.js} +4 -4
- package/dist/chunks/{variant-rdw6cm16.js → pty-rdw6cm16.js} +1 -1
- package/dist/chunks/{variant-2d57kztd.js → pty-rhx683sy.js} +6 -6
- package/dist/chunks/{variant-39cj4q9q.js → pty-rrwz5n32.js} +13 -13
- package/dist/chunks/{variant-7max8g9c.js → pty-rvf3k54n.js} +17 -17
- package/dist/chunks/{variant-aw2ne7rk.js → pty-rwwvkkw9.js} +6 -6
- package/dist/chunks/{variant-k0nnq3t9.js → pty-rxcdjwh1.js} +4 -4
- package/dist/chunks/{variant-c966ad08.js → pty-ryb794yb.js} +7 -7
- package/dist/chunks/{variant-wj3yfrmp.js → pty-rz9v06kn.js} +27 -27
- package/dist/chunks/{variant-4y2cq0f0.js → pty-scs7maqt.js} +8 -8
- package/dist/chunks/{variant-dq8te7y3.js → pty-sdrw2w9p.js} +25 -25
- package/dist/chunks/{variant-starn555.js → pty-src4gryn.js} +19 -19
- package/dist/chunks/{variant-r32sn7ke.js → pty-t2gsyq25.js} +21 -21
- package/dist/chunks/{variant-tazgh4e4.js → pty-tazgh4e4.js} +1 -1
- package/dist/chunks/{variant-tbz0fdvh.js → pty-tbz0fdvh.js} +2 -2
- package/dist/chunks/{variant-tdstcens.js → pty-tdstcens.js} +1 -1
- package/dist/chunks/{variant-fz75205d.js → pty-tqwr2f5g.js} +12 -12
- package/dist/chunks/{variant-brp4bzxj.js → pty-trt7zypv.js} +30 -30
- package/dist/chunks/{variant-tvtrv512.js → pty-tvtrv512.js} +1 -1
- package/dist/chunks/{variant-2543yr9f.js → pty-ty51299p.js} +11 -11
- package/dist/chunks/{variant-4gswqhed.js → pty-v110mek2.js} +18 -18
- package/dist/chunks/{variant-wmdqddds.js → pty-vdnmec7y.js} +5 -5
- package/dist/chunks/{variant-bf0ztrs3.js → pty-ve4pfa0n.js} +4 -4
- package/dist/chunks/{variant-tae944ma.js → pty-vedaqc0n.js} +184 -184
- package/dist/chunks/{variant-veqvce7d.js → pty-veqvce7d.js} +1 -1
- package/dist/chunks/{variant-tbq2h17c.js → pty-vf5yby4q.js} +33 -35
- package/dist/chunks/{variant-m733p5th.js → pty-vfqq51fb.js} +17 -17
- package/dist/chunks/{variant-kvsvqh13.js → pty-vk9pkavn.js} +15 -15
- package/dist/chunks/{variant-qk0e3gk9.js → pty-vr12ekh8.js} +9 -9
- package/dist/chunks/{variant-nxamx01y.js → pty-vw2t0mtq.js} +44 -44
- package/dist/chunks/{variant-m7pj8f36.js → pty-vy078w6d.js} +44 -44
- package/dist/chunks/{variant-jbjr1a4g.js → pty-vyqn3nqs.js} +6 -6
- package/dist/chunks/{variant-gnx4ytbv.js → pty-vyy6cxw9.js} +4 -4
- package/dist/chunks/{variant-vzcthcp8.js → pty-vzcthcp8.js} +1 -1
- package/dist/chunks/{variant-csf2jhsg.js → pty-w1k39n5e.js} +4 -4
- package/dist/chunks/{variant-w3wsvvr9.js → pty-w3wsvvr9.js} +1 -1
- package/dist/chunks/{variant-0jt58gq5.js → pty-w8hj49dq.js} +47 -47
- package/dist/chunks/{variant-wd87259q.js → pty-wd87259q.js} +1 -1
- package/dist/chunks/{variant-bacyadyn.js → pty-wj76ss2k.js} +4 -4
- package/dist/chunks/{variant-7awa95k0.js → pty-wxrzmbxm.js} +16 -16
- package/dist/chunks/{variant-nwtcycp4.js → pty-wzjn1tpp.js} +11 -11
- package/dist/chunks/{variant-x1ezjp6w.js → pty-x1ezjp6w.js} +1 -1
- package/dist/chunks/{variant-qyabr2c4.js → pty-x6j1wb2z.js} +88 -88
- package/dist/chunks/{variant-kyktj0vd.js → pty-xfjax5kj.js} +6 -6
- package/dist/chunks/{variant-ygshqydb.js → pty-xpkrztab.js} +3 -3
- package/dist/chunks/{variant-6cyxy0gy.js → pty-xtvm4hh6.js} +3 -3
- package/dist/chunks/{variant-8v0w7kj2.js → pty-xv567rvv.js} +10 -10
- package/dist/chunks/{variant-y1fvbwt7.js → pty-y1fvbwt7.js} +1 -1
- package/dist/chunks/{variant-h7sr0csd.js → pty-y3ajgz1g.js} +15 -15
- package/dist/chunks/{variant-z8tc00nf.js → pty-ypbv3kf7.js} +21 -21
- package/dist/chunks/{variant-yrhqyw5v.js → pty-yrhqyw5v.js} +1 -1
- package/dist/chunks/{variant-s4enseaf.js → pty-yrznvahk.js} +2 -2
- package/dist/chunks/{variant-c4cxbw3g.js → pty-yvqjf3ez.js} +15 -15
- package/dist/chunks/{variant-1q8ta1a7.js → pty-yz0n98jk.js} +13 -13
- package/dist/chunks/{variant-z0bkrqjs.js → pty-z0bkrqjs.js} +1 -1
- package/dist/chunks/{variant-29x78va6.js → pty-z63w68vq.js} +6 -6
- package/dist/chunks/{variant-09j7xzbf.js → pty-z9g3fnns.js} +22 -22
- package/dist/chunks/{variant-ab7aqfjn.js → pty-z9z6sd2a.js} +13 -13
- package/dist/chunks/{variant-1sadmq9v.js → pty-zapz2rcy.js} +26 -26
- package/dist/chunks/{variant-2s1nhtmv.js → pty-zcz1ktx8.js} +3 -3
- package/dist/chunks/{variant-zeh9ct20.js → pty-zeh9ct20.js} +2 -2
- package/dist/chunks/{variant-v4dhgaj7.js → pty-zfx1etke.js} +10 -10
- package/dist/chunks/{variant-e0r7vjdq.js → pty-zg3tcem2.js} +9 -9
- package/dist/chunks/{variant-bst6223z.js → pty-zn6sdvfn.js} +20 -20
- package/dist/chunks/{variant-zr2ceqn5.js → pty-zr2ceqn5.js} +1 -1
- package/dist/chunks/{variant-ds3dp4hd.js → pty-zv6tdpnx.js} +29 -29
- package/dist/chunks/{variant-zxq2ej10.js → pty-zxq2ej10.js} +1 -1
- package/dist/chunks/{variant-dmtmpte2.js → pty-zxtb73ge.js} +15 -15
- package/dist/chunks/{variant-gszg7n4f.js → pty-zy6cwck4.js} +8 -8
- package/dist/codemode/catalog.js +1 -1
- package/dist/codemode/instructions.js +5 -5
- package/dist/codemode/tool.js +3 -3
- package/dist/codemode/web.js +1 -1
- package/dist/command.js +82 -82
- 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 +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 +129 -129
- package/dist/config/plugin/policy.js +122 -122
- package/dist/config/plugin/provider.js +122 -122
- package/dist/config/plugin/reference.js +124 -124
- package/dist/config/plugin/shell.js +124 -124
- 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 +119 -119
- package/dist/config/plugin/tool-output.js +124 -124
- package/dist/config/plugin/websearch.js +123 -123
- package/dist/config/plugin/worktree.js +124 -124
- 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 +82 -82
- 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 +368 -367
- 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 +220 -220
- 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 +107 -107
- package/dist/form.js +83 -83
- package/dist/formatter/builtins.js +4 -4
- package/dist/formatter.js +86 -86
- package/dist/generate.js +102 -102
- 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 +359 -358
- package/dist/instruction-discovery.js +84 -84
- package/dist/instructions/builtins.js +86 -86
- package/dist/instructions/index.js +3 -3
- package/dist/integration/connection.js +3 -3
- package/dist/integration.js +87 -87
- package/dist/job.js +78 -78
- package/dist/kv/sql.js +2 -2
- package/dist/kv.js +72 -72
- package/dist/location-activity.js +134 -134
- package/dist/location-lifecycle.js +105 -105
- package/dist/location-mutation.js +103 -103
- package/dist/location-service-map.js +85 -85
- package/dist/location-services.js +356 -355
- package/dist/location.js +88 -88
- package/dist/mcp/client.js +90 -90
- package/dist/mcp/index.js +107 -107
- package/dist/mcp/instructions.js +127 -127
- 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 +97 -97
- package/dist/model.js +99 -99
- package/dist/models-dev.js +106 -106
- 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 +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/compaction.js +130 -130
- package/dist/plugin/hooks.js +5 -5
- package/dist/plugin/host.js +217 -217
- package/dist/plugin/identity.js +3 -3
- package/dist/plugin/instance.js +5 -5
- package/dist/plugin/internal.js +330 -329
- package/dist/plugin/mcp-codemode-exclusion.js +3 -3
- package/dist/plugin/models-dev.js +95 -95
- 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/amazon-bedrock.js +89 -89
- package/dist/plugin/provider/azure.js +121 -121
- package/dist/plugin/provider/cerebras.js +1 -1
- package/dist/plugin/provider/cloudflare-ai-gateway.js +120 -120
- package/dist/plugin/provider/cloudflare-workers-ai.js +120 -120
- 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 +1 -1
- package/dist/plugin/provider/llmgateway.js +76 -76
- package/dist/plugin/provider/lmstudio.js +121 -121
- package/dist/plugin/provider/modal.js +91 -91
- package/dist/plugin/provider/nvidia.js +1 -1
- package/dist/plugin/provider/ollama.js +121 -121
- 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/prompt-cache-key.js +89 -89
- 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 +1 -1
- package/dist/plugin/provider.js +158 -158
- package/dist/plugin/sdk.js +73 -73
- 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 +345 -344
- package/dist/plugin/tool-input-repair.js +9 -0
- package/dist/plugin/update.js +6 -6
- package/dist/plugin/vcs/git.js +83 -83
- package/dist/plugin/vcs/hg.js +83 -83
- package/dist/plugin/warming.js +118 -118
- package/dist/plugin/websearch/exa.js +5 -5
- package/dist/plugin/websearch/firecrawl.js +6 -6
- 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 +220 -220
- package/dist/project/schema.js +8 -8
- package/dist/project/sql.js +4 -4
- package/dist/project.js +89 -89
- package/dist/provider.js +104 -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 +95 -95
- package/dist/reference/instructions.js +88 -88
- package/dist/reference.js +88 -88
- package/dist/repository-cache.js +80 -80
- package/dist/repository.js +1 -1
- 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 +131 -131
- 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 +127 -127
- package/dist/session/generate.js +152 -152
- 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 +118 -118
- package/dist/session/model-transport.js +9 -9
- package/dist/session/move.js +129 -129
- 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 +230 -230
- package/dist/session/runner/max-steps.js +1 -1
- package/dist/session/runner/model.js +97 -97
- package/dist/session/runner/publish-llm-event.js +3 -3
- package/dist/session/runner/retry.js +111 -111
- 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 +171 -171
- package/dist/session/shell.js +137 -137
- package/dist/session/skill.js +102 -102
- package/dist/session/sql.js +5 -5
- package/dist/session/stats.js +72 -72
- package/dist/session/store.js +86 -86
- package/dist/session/subagent-completion.js +1 -1
- package/dist/session/subagent-job.js +209 -209
- package/dist/session/system-prompt.js +1 -1
- package/dist/session/title.js +149 -149
- package/dist/session/to-session-error.js +110 -110
- package/dist/session/transfer.js +219 -219
- package/dist/session/usage.js +1 -1
- package/dist/session.js +217 -217
- 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 +111 -111
- package/dist/snapshot.js +90 -90
- package/dist/state.js +1 -1
- package/dist/tool/html-markdown.js +1 -1
- package/dist/tool/http-body.js +1 -1
- package/dist/tool/mcp.js +124 -124
- 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 +120 -120
- package/dist/tool/plugin/shell.js +212 -212
- package/dist/tool/plugin/skill.js +112 -112
- 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 +16 -16
- package/dist/types/agent.d.ts +14 -1
- package/dist/types/model-resolver.d.ts +2 -2
- package/dist/types/model.d.ts +54 -14
- package/dist/types/plugin/provider/configured.d.ts +2 -6
- package/dist/types/plugin/tool-input-repair.d.ts +2 -0
- package/dist/types/provider.d.ts +63 -15
- package/dist/types/session/history.d.ts +8 -8
- package/dist/types/v1/config/migrate.d.ts +30 -20
- package/dist/util/error-summary.js +1 -1
- package/dist/util/error.js +1 -1
- package/dist/util/git-executable.js +2 -2
- package/dist/util/iife.js +1 -1
- package/dist/util/lazy.js +1 -1
- package/dist/util/slug.js +1 -1
- package/dist/util/token.js +1 -1
- package/dist/util/which.js +1 -1
- package/dist/util/wildcard.js +1 -1
- package/dist/v1/config/agent.js +7 -7
- package/dist/v1/config/attachment.js +4 -4
- package/dist/v1/config/command.js +3 -3
- package/dist/v1/config/config.js +16 -16
- package/dist/v1/config/error.js +4 -4
- package/dist/v1/config/formatter.js +5 -5
- package/dist/v1/config/layout.js +1 -1
- package/dist/v1/config/lsp.js +5 -5
- package/dist/v1/config/mcp.js +4 -4
- package/dist/v1/config/migrate.js +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/variant.js +90 -90
- package/dist/vcs/patch.js +1 -1
- package/dist/vcs.js +88 -88
- package/dist/websearch.js +81 -81
- package/dist/wellknown/plugin.js +75 -75
- package/dist/wellknown.js +80 -80
- package/dist/workspace/driver.js +3 -3
- package/dist/workspace/sql.js +1 -1
- package/dist/workspace.js +79 -79
- package/dist/worktree/directory.js +2 -2
- package/dist/worktree/git.js +10 -10
- package/dist/worktree/sql.js +5 -5
- package/dist/worktree/strategies.js +88 -88
- package/dist/worktree.js +95 -95
- package/package.json +8 -8
- package/dist/chunks/variant-3m2gyyj8.js +0 -65
- package/dist/chunks/variant-cehqskmp.js +0 -252
- package/dist/chunks/variant-n95b3jav.js +0 -18
- package/dist/chunks/variant-qapv375x.js +0 -4
- /package/dist/chunks/{variant-0qkdqm5v.js → pty-0qkdqm5v.js} +0 -0
- /package/dist/chunks/{variant-0zkw76rk.js → pty-0zkw76rk.js} +0 -0
- /package/dist/chunks/{variant-17cy0kzp.js → pty-17cy0kzp.js} +0 -0
- /package/dist/chunks/{variant-1cnp2v09.js → pty-1cnp2v09.js} +0 -0
- /package/dist/chunks/{variant-1kg9ymc8.js → pty-1kg9ymc8.js} +0 -0
- /package/dist/chunks/{variant-24dcb14g.js → pty-24dcb14g.js} +0 -0
- /package/dist/chunks/{variant-2710q6r3.js → pty-2710q6r3.js} +0 -0
- /package/dist/chunks/{variant-2axfhc9x.js → pty-2axfhc9x.js} +0 -0
- /package/dist/chunks/{variant-2c3vjs8z.js → pty-2c3vjs8z.js} +0 -0
- /package/dist/chunks/{variant-359p4xyc.js → pty-359p4xyc.js} +0 -0
- /package/dist/chunks/{variant-3asan66x.js → pty-3asan66x.js} +0 -0
- /package/dist/chunks/{variant-3v8g72cx.js → pty-3v8g72cx.js} +0 -0
- /package/dist/chunks/{variant-3w5fmr99.js → pty-3w5fmr99.js} +0 -0
- /package/dist/chunks/{variant-3wcehsnq.js → pty-3wcehsnq.js} +0 -0
- /package/dist/chunks/{variant-43n2bw4t.js → pty-43n2bw4t.js} +0 -0
- /package/dist/chunks/{variant-4knz6hnm.js → pty-4knz6hnm.js} +0 -0
- /package/dist/chunks/{variant-4vcrnpx2.js → pty-4vcrnpx2.js} +0 -0
- /package/dist/chunks/{variant-4y7fprxs.js → pty-4y7fprxs.js} +0 -0
- /package/dist/chunks/{variant-53557ph1.js → pty-53557ph1.js} +0 -0
- /package/dist/chunks/{variant-550bvhaj.js → pty-550bvhaj.js} +0 -0
- /package/dist/chunks/{variant-6prwharc.js → pty-6prwharc.js} +0 -0
- /package/dist/chunks/{variant-7akdwqpd.js → pty-7akdwqpd.js} +0 -0
- /package/dist/chunks/{variant-7m9af43g.js → pty-7m9af43g.js} +0 -0
- /package/dist/chunks/{variant-822emrt2.js → pty-822emrt2.js} +0 -0
- /package/dist/chunks/{variant-88xbtdfr.js → pty-88xbtdfr.js} +0 -0
- /package/dist/chunks/{variant-8n3pysct.js → pty-8n3pysct.js} +0 -0
- /package/dist/chunks/{variant-922hggd3.js → pty-922hggd3.js} +0 -0
- /package/dist/chunks/{variant-9a4afbnw.js → pty-9a4afbnw.js} +0 -0
- /package/dist/chunks/{variant-9rqn6x4v.js → pty-9rqn6x4v.js} +0 -0
- /package/dist/chunks/{variant-a6k6eb26.js → pty-a6k6eb26.js} +0 -0
- /package/dist/chunks/{variant-af5trqkr.js → pty-af5trqkr.js} +0 -0
- /package/dist/chunks/{variant-afrmfg78.js → pty-afrmfg78.js} +0 -0
- /package/dist/chunks/{variant-aqzs7mqg.js → pty-aqzs7mqg.js} +0 -0
- /package/dist/chunks/{variant-atq7p7m5.js → pty-atq7p7m5.js} +0 -0
- /package/dist/chunks/{variant-bkyjaxrp.js → pty-bkyjaxrp.js} +0 -0
- /package/dist/chunks/{variant-bmr6ed5q.js → pty-bmr6ed5q.js} +0 -0
- /package/dist/chunks/{variant-cf4snx6d.js → pty-cf4snx6d.js} +0 -0
- /package/dist/chunks/{variant-cvy3z8tj.js → pty-cvy3z8tj.js} +0 -0
- /package/dist/chunks/{variant-d9fn303g.js → pty-d9fn303g.js} +0 -0
- /package/dist/chunks/{variant-d9jj8t3e.js → pty-d9jj8t3e.js} +0 -0
- /package/dist/chunks/{variant-dajrwvna.js → pty-dajrwvna.js} +0 -0
- /package/dist/chunks/{variant-dap0rakb.js → pty-dap0rakb.js} +0 -0
- /package/dist/chunks/{variant-df08tz66.js → pty-df08tz66.js} +0 -0
- /package/dist/chunks/{variant-dy18nga0.js → pty-dy18nga0.js} +0 -0
- /package/dist/chunks/{variant-e5kj55wp.js → pty-e5kj55wp.js} +0 -0
- /package/dist/chunks/{variant-e73j6tqm.js → pty-e73j6tqm.js} +0 -0
- /package/dist/chunks/{variant-ec1grn59.js → pty-ec1grn59.js} +0 -0
- /package/dist/chunks/{variant-eh3zwz77.js → pty-eh3zwz77.js} +0 -0
- /package/dist/chunks/{variant-emrn6kk6.js → pty-emrn6kk6.js} +0 -0
- /package/dist/chunks/{variant-f0mxakyp.js → pty-f0mxakyp.js} +0 -0
- /package/dist/chunks/{variant-f6n9ztr4.js → pty-f6n9ztr4.js} +0 -0
- /package/dist/chunks/{variant-faypxj3z.js → pty-faypxj3z.js} +0 -0
- /package/dist/chunks/{variant-fd410y7t.js → pty-fd410y7t.js} +0 -0
- /package/dist/chunks/{variant-fxgpk5d8.js → pty-fxgpk5d8.js} +0 -0
- /package/dist/chunks/{variant-g4wezp1m.js → pty-g4wezp1m.js} +0 -0
- /package/dist/chunks/{variant-g86h250q.js → pty-g86h250q.js} +0 -0
- /package/dist/chunks/{variant-gebd4c9n.js → pty-gebd4c9n.js} +0 -0
- /package/dist/chunks/{variant-gftt206x.js → pty-gftt206x.js} +0 -0
- /package/dist/chunks/{variant-hjbc5kem.js → pty-hjbc5kem.js} +0 -0
- /package/dist/chunks/{variant-hk9envan.js → pty-hk9envan.js} +0 -0
- /package/dist/chunks/{variant-j2ntwpah.js → pty-j2ntwpah.js} +0 -0
- /package/dist/chunks/{variant-j5zkgpj8.js → pty-j5zkgpj8.js} +0 -0
- /package/dist/chunks/{variant-jjkms2e6.js → pty-jjkms2e6.js} +0 -0
- /package/dist/chunks/{variant-jr7sbwjy.js → pty-jr7sbwjy.js} +0 -0
- /package/dist/chunks/{variant-jwfs4k6c.js → pty-jwfs4k6c.js} +0 -0
- /package/dist/chunks/{variant-jzg6c2d5.js → pty-jzg6c2d5.js} +0 -0
- /package/dist/chunks/{variant-mp448xyj.js → pty-mp448xyj.js} +0 -0
- /package/dist/chunks/{variant-msx8hqn2.js → pty-msx8hqn2.js} +0 -0
- /package/dist/chunks/{variant-n05xt0ee.js → pty-n05xt0ee.js} +0 -0
- /package/dist/chunks/{variant-n3j8tn72.js → pty-n3j8tn72.js} +0 -0
- /package/dist/chunks/{variant-njntx4h6.js → pty-njntx4h6.js} +0 -0
- /package/dist/chunks/{variant-q3sfg36h.js → pty-q3sfg36h.js} +0 -0
- /package/dist/chunks/{variant-q74kybfr.js → pty-q74kybfr.js} +0 -0
- /package/dist/chunks/{variant-qaymkmh1.js → pty-qaymkmh1.js} +0 -0
- /package/dist/chunks/{variant-qb87gjwd.js → pty-qb87gjwd.js} +0 -0
- /package/dist/chunks/{variant-qfa1cgps.js → pty-qfa1cgps.js} +0 -0
- /package/dist/chunks/{variant-qg3g05ea.js → pty-qg3g05ea.js} +0 -0
- /package/dist/chunks/{variant-qrg20bc0.js → pty-qrg20bc0.js} +0 -0
- /package/dist/chunks/{variant-rcb2kzg1.js → pty-rcb2kzg1.js} +0 -0
- /package/dist/chunks/{variant-sdp7kfr6.js → pty-sdp7kfr6.js} +0 -0
- /package/dist/chunks/{variant-sk3qaz4a.js → pty-sk3qaz4a.js} +0 -0
- /package/dist/chunks/{variant-ssg3fenm.js → pty-ssg3fenm.js} +0 -0
- /package/dist/chunks/{variant-twg0f83k.js → pty-twg0f83k.js} +0 -0
- /package/dist/chunks/{variant-w803qqfp.js → pty-w803qqfp.js} +0 -0
- /package/dist/chunks/{variant-wc3fc9cn.js → pty-wc3fc9cn.js} +0 -0
- /package/dist/chunks/{variant-wer8tq1h.js → pty-wer8tq1h.js} +0 -0
- /package/dist/chunks/{variant-wtztk69x.js → pty-wtztk69x.js} +0 -0
- /package/dist/chunks/{variant-x0ckcb58.js → pty-x0ckcb58.js} +0 -0
- /package/dist/chunks/{variant-x61499pn.js → pty-x61499pn.js} +0 -0
- /package/dist/chunks/{variant-y44na4kk.js → pty-y44na4kk.js} +0 -0
- /package/dist/chunks/{variant-y8cydn3q.js → pty-y8cydn3q.js} +0 -0
- /package/dist/chunks/{variant-y8f7s663.js → pty-y8f7s663.js} +0 -0
- /package/dist/chunks/{variant-ygaqb7jw.js → pty-ygaqb7jw.js} +0 -0
- /package/dist/chunks/{variant-ym463w8f.js → pty-ym463w8f.js} +0 -0
- /package/dist/chunks/{variant-z9919s4g.js → pty-z9919s4g.js} +0 -0
|
@@ -1,36 +1,36 @@
|
|
|
1
1
|
import {
|
|
2
2
|
ephemeral2,
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
} from "./
|
|
3
|
+
Service80,
|
|
4
|
+
node84
|
|
5
|
+
} from "./pty-tqwr2f5g.js";
|
|
6
6
|
import {
|
|
7
7
|
Key4,
|
|
8
8
|
unavailable3,
|
|
9
9
|
removed2,
|
|
10
|
-
|
|
10
|
+
make19,
|
|
11
11
|
diffByKey2
|
|
12
|
-
} from "./
|
|
12
|
+
} from "./pty-gbt6w4kb.js";
|
|
13
13
|
import {
|
|
14
14
|
AbsolutePath2
|
|
15
|
-
} from "./
|
|
15
|
+
} from "./pty-922hggd3.js";
|
|
16
16
|
import {
|
|
17
17
|
create3
|
|
18
|
-
} from "./
|
|
18
|
+
} from "./pty-rdw6cm16.js";
|
|
19
19
|
import {
|
|
20
20
|
__export
|
|
21
|
-
} from "./
|
|
21
|
+
} from "./pty-9rqn6x4v.js";
|
|
22
22
|
|
|
23
23
|
// src/instruction-discovery.ts
|
|
24
24
|
var exports_instruction_discovery = {};
|
|
25
25
|
__export(exports_instruction_discovery, {
|
|
26
|
-
Event: () =>
|
|
26
|
+
Event: () => Event10,
|
|
27
27
|
File: () => File2,
|
|
28
28
|
InstructionDiscovery: () => exports_instruction_discovery,
|
|
29
|
-
Options: () =>
|
|
30
|
-
Service: () =>
|
|
31
|
-
configured: () =>
|
|
32
|
-
layer: () =>
|
|
33
|
-
node: () =>
|
|
29
|
+
Options: () => Options7,
|
|
30
|
+
Service: () => Service50,
|
|
31
|
+
configured: () => configured7,
|
|
32
|
+
layer: () => layer22,
|
|
33
|
+
node: () => node53
|
|
34
34
|
});
|
|
35
35
|
import { Context, Effect, Layer, Schema } from "effect";
|
|
36
36
|
import { makeLocationNode } from "@opencode/util/effect/app-node";
|
|
@@ -42,18 +42,18 @@ class File2 extends Schema.Class("InstructionDiscovery.File")({
|
|
|
42
42
|
}
|
|
43
43
|
var Files = Schema.Array(File2);
|
|
44
44
|
var key = Key4.make("core/instructions");
|
|
45
|
-
var
|
|
45
|
+
var Event10 = {
|
|
46
46
|
Updated: ephemeral2({ type: "instruction-discovery.updated", schema: {} })
|
|
47
47
|
};
|
|
48
|
-
var
|
|
48
|
+
var Options7 = Schema.Struct({
|
|
49
49
|
project: Schema.optional(Schema.Boolean),
|
|
50
50
|
global: Schema.optional(Schema.Boolean)
|
|
51
51
|
});
|
|
52
52
|
|
|
53
|
-
class
|
|
53
|
+
class Service50 extends Context.Service()("@opencode/InstructionDiscovery") {
|
|
54
54
|
}
|
|
55
|
-
var
|
|
56
|
-
const bus = yield*
|
|
55
|
+
var layer22 = (options) => Layer.effect(Service50, Effect.gen(function* () {
|
|
56
|
+
const bus = yield* Service80;
|
|
57
57
|
const state = create3({
|
|
58
58
|
name: "instruction-discovery",
|
|
59
59
|
initial: () => ({ files: new Map, available: true }),
|
|
@@ -72,9 +72,9 @@ var layer25 = (options) => Layer.effect(Service81, Effect.gen(function* () {
|
|
|
72
72
|
editor.available = false;
|
|
73
73
|
}
|
|
74
74
|
}),
|
|
75
|
-
notify: () => bus.publish(
|
|
75
|
+
notify: () => bus.publish(Event10.Updated, {}).pipe(Effect.asVoid)
|
|
76
76
|
});
|
|
77
|
-
const source = (value) =>
|
|
77
|
+
const source = (value) => make19({
|
|
78
78
|
key,
|
|
79
79
|
codec: Schema.toCodecJson(Files),
|
|
80
80
|
read: Effect.succeed(value),
|
|
@@ -90,7 +90,7 @@ var layer25 = (options) => Layer.effect(Service81, Effect.gen(function* () {
|
|
|
90
90
|
return unavailable3;
|
|
91
91
|
return Array.from(current.files.values());
|
|
92
92
|
});
|
|
93
|
-
return
|
|
93
|
+
return Service50.of({
|
|
94
94
|
project: options?.project !== false,
|
|
95
95
|
global: options?.global !== false,
|
|
96
96
|
transform: state.transform,
|
|
@@ -104,14 +104,14 @@ var layer25 = (options) => Layer.effect(Service81, Effect.gen(function* () {
|
|
|
104
104
|
})
|
|
105
105
|
});
|
|
106
106
|
}));
|
|
107
|
-
function
|
|
107
|
+
function configured7(options) {
|
|
108
108
|
return makeLocationNode({
|
|
109
|
-
service:
|
|
110
|
-
layer:
|
|
111
|
-
deps: [
|
|
109
|
+
service: Service50,
|
|
110
|
+
layer: layer22(options),
|
|
111
|
+
deps: [node84]
|
|
112
112
|
});
|
|
113
113
|
}
|
|
114
|
-
var
|
|
114
|
+
var node53 = configured7();
|
|
115
115
|
function render(files) {
|
|
116
116
|
return files.map((file) => `Instructions from: ${file.path}
|
|
117
117
|
${file.content}`).join(`
|
|
@@ -142,4 +142,4 @@ ${render([after])}`;
|
|
|
142
142
|
`);
|
|
143
143
|
}
|
|
144
144
|
|
|
145
|
-
export { File2,
|
|
145
|
+
export { File2, Event10, Options7, Service50, layer22, configured7, node53, exports_instruction_discovery };
|
|
@@ -1,18 +1,18 @@
|
|
|
1
1
|
import {
|
|
2
|
-
|
|
3
|
-
} from "./
|
|
2
|
+
ID7
|
|
3
|
+
} from "./pty-p2bsys5p.js";
|
|
4
4
|
import {
|
|
5
5
|
iife2
|
|
6
|
-
} from "./
|
|
6
|
+
} from "./pty-1kg9ymc8.js";
|
|
7
7
|
import {
|
|
8
8
|
configuredSettings2
|
|
9
|
-
} from "./
|
|
9
|
+
} from "./pty-rwwvkkw9.js";
|
|
10
10
|
|
|
11
11
|
// src/plugin/provider/cloudflare-workers-ai.ts
|
|
12
12
|
import { Effect } from "effect";
|
|
13
13
|
import { define } from "@opencode/plugin/effect/plugin";
|
|
14
14
|
import { Form } from "@opencode/schema/form";
|
|
15
|
-
var providerID =
|
|
15
|
+
var providerID = ID7.make("cloudflare-workers-ai");
|
|
16
16
|
var CloudflareWorkersAIPlugin2 = define({
|
|
17
17
|
id: "opencode.provider.cloudflare.workers.ai",
|
|
18
18
|
effect: Effect.fn(function* (ctx) {
|
|
@@ -1,27 +1,27 @@
|
|
|
1
1
|
import {
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
} from "./
|
|
2
|
+
Service80,
|
|
3
|
+
node84
|
|
4
|
+
} from "./pty-tqwr2f5g.js";
|
|
5
5
|
import {
|
|
6
6
|
shutdown2,
|
|
7
7
|
create3
|
|
8
|
-
} from "./
|
|
8
|
+
} from "./pty-rdw6cm16.js";
|
|
9
9
|
import {
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
} from "./
|
|
10
|
+
ID8,
|
|
11
|
+
Service61,
|
|
12
|
+
node64,
|
|
13
|
+
Event14
|
|
14
|
+
} from "./pty-trt7zypv.js";
|
|
15
15
|
import {
|
|
16
16
|
key2
|
|
17
|
-
} from "./
|
|
17
|
+
} from "./pty-cpj0znwe.js";
|
|
18
18
|
import {
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
} from "./
|
|
19
|
+
Service77,
|
|
20
|
+
node81
|
|
21
|
+
} from "./pty-en85tny2.js";
|
|
22
22
|
import {
|
|
23
23
|
__export
|
|
24
|
-
} from "./
|
|
24
|
+
} from "./pty-9rqn6x4v.js";
|
|
25
25
|
|
|
26
26
|
// src/aisdk-native.ts
|
|
27
27
|
var exports_aisdk_native = {};
|
|
@@ -36,21 +36,23 @@ import { Effect as Effect2, Option, Schema as Schema2, Struct as Struct2 } from
|
|
|
36
36
|
var exports_provider3 = {};
|
|
37
37
|
__export(exports_provider3, {
|
|
38
38
|
AISDK_PREFIX: () => AISDK_PREFIX2,
|
|
39
|
-
|
|
40
|
-
|
|
41
|
-
|
|
39
|
+
Compaction: () => Compaction3,
|
|
40
|
+
Event: () => Event13,
|
|
41
|
+
ID: () => ID7,
|
|
42
|
+
Info: () => Info21,
|
|
42
43
|
LoadError: () => LoadError3,
|
|
43
44
|
Provider: () => exports_provider3,
|
|
44
|
-
Request: () =>
|
|
45
|
-
Service: () =>
|
|
45
|
+
Request: () => Request2,
|
|
46
|
+
Service: () => Service60,
|
|
46
47
|
Settings: () => Settings2,
|
|
48
|
+
Transport: () => Transport2,
|
|
47
49
|
aisdk: () => aisdk2,
|
|
48
50
|
isAISDK: () => isAISDK2,
|
|
49
51
|
loadPackage: () => loadPackage2,
|
|
50
52
|
mergeHeaders: () => mergeHeaders2,
|
|
51
53
|
mergeOverlay: () => mergeOverlay2,
|
|
52
54
|
nativeSettings: () => nativeSettings2,
|
|
53
|
-
node: () =>
|
|
55
|
+
node: () => node63,
|
|
54
56
|
packageName: () => packageName2
|
|
55
57
|
});
|
|
56
58
|
import { Context, Effect, Layer, Schema, Stream, Struct } from "effect";
|
|
@@ -61,8 +63,8 @@ import { isRecord } from "@opencode/ai/utils/record";
|
|
|
61
63
|
import { importModule, resolveModule } from "@opencode/util/runtime-import";
|
|
62
64
|
import { Credential } from "@opencode/schema/credential";
|
|
63
65
|
import { freeze } from "immer";
|
|
64
|
-
import { Event as
|
|
65
|
-
var
|
|
66
|
+
import { Event as Event13 } from "@opencode/schema/provider";
|
|
67
|
+
var ID7 = Provider.ID;
|
|
66
68
|
var AISDK_PREFIX2 = "aisdk:";
|
|
67
69
|
var isAISDK2 = (value) => value?.startsWith(AISDK_PREFIX2) ?? false;
|
|
68
70
|
var aisdk2 = (value) => isAISDK2(value) ? value : `${AISDK_PREFIX2}${value}`;
|
|
@@ -170,9 +172,9 @@ var loadPackage2 = Effect.fn("Provider.loadPackage")(function* (input, npm) {
|
|
|
170
172
|
});
|
|
171
173
|
return yield* importPackage(specifier, entrypoint);
|
|
172
174
|
});
|
|
173
|
-
var
|
|
175
|
+
var CORE_KEYS = ["chunkTimeout", "compaction", "fetch", "timeout", "transport"];
|
|
174
176
|
function nativeSettings2(settings) {
|
|
175
|
-
return Struct.omit(settings,
|
|
177
|
+
return Struct.omit(settings, CORE_KEYS);
|
|
176
178
|
}
|
|
177
179
|
function mergeOverlay2(base, overlay) {
|
|
178
180
|
if (base === undefined)
|
|
@@ -199,11 +201,13 @@ function mergeHeaders2(base, overlay) {
|
|
|
199
201
|
return result;
|
|
200
202
|
}, new Map).values());
|
|
201
203
|
}
|
|
202
|
-
var
|
|
204
|
+
var Request2 = Provider.Request;
|
|
205
|
+
var Compaction3 = Provider.Compaction;
|
|
206
|
+
var Transport2 = Provider.Transport;
|
|
203
207
|
var Settings2 = Provider.Settings;
|
|
204
|
-
var
|
|
208
|
+
var Info21 = Provider.Info;
|
|
205
209
|
|
|
206
|
-
class
|
|
210
|
+
class Service60 extends Context.Service()("@opencode/Provider") {
|
|
207
211
|
}
|
|
208
212
|
var definitions = new WeakMap;
|
|
209
213
|
function index(providerID, models) {
|
|
@@ -216,10 +220,10 @@ function index(providerID, models) {
|
|
|
216
220
|
definitions.set(models, indexes);
|
|
217
221
|
return result;
|
|
218
222
|
}
|
|
219
|
-
var layer = Layer.effect(
|
|
220
|
-
const bus = yield*
|
|
221
|
-
const integrations = yield*
|
|
222
|
-
const location = yield*
|
|
223
|
+
var layer = Layer.effect(Service60, Effect.gen(function* () {
|
|
224
|
+
const bus = yield* Service80;
|
|
225
|
+
const integrations = yield* Service61;
|
|
226
|
+
const location = yield* Service77;
|
|
223
227
|
const state = create3({
|
|
224
228
|
name: "provider",
|
|
225
229
|
initial: () => new Map,
|
|
@@ -230,7 +234,7 @@ var layer = Layer.effect(Service73, Effect.gen(function* () {
|
|
|
230
234
|
const current = records.get(id);
|
|
231
235
|
if (current)
|
|
232
236
|
return current;
|
|
233
|
-
const added = { provider:
|
|
237
|
+
const added = { provider: Info21.empty(id), models: new Map };
|
|
234
238
|
records.set(id, added);
|
|
235
239
|
maps.add(added.models);
|
|
236
240
|
return added;
|
|
@@ -311,7 +315,7 @@ var layer = Layer.effect(Service73, Effect.gen(function* () {
|
|
|
311
315
|
const available = Array.from(records.values()).filter((record) => {
|
|
312
316
|
if (record.provider.activation === "disabled")
|
|
313
317
|
return false;
|
|
314
|
-
const integration = byID.get(record.provider.integrationID ??
|
|
318
|
+
const integration = byID.get(record.provider.integrationID ?? ID8.make(record.provider.id));
|
|
315
319
|
if (record.sourceConnection && key2(record.sourceConnection) !== key2(integration?.connections[0]))
|
|
316
320
|
return false;
|
|
317
321
|
if (record.provider.activation === "enabled")
|
|
@@ -337,8 +341,8 @@ var layer = Layer.effect(Service73, Effect.gen(function* () {
|
|
|
337
341
|
location: { directory: location.directory, workspaceID: location.workspaceID }
|
|
338
342
|
});
|
|
339
343
|
});
|
|
340
|
-
yield* bus.subscribe([
|
|
341
|
-
return
|
|
344
|
+
yield* bus.subscribe([Event14.Updated, Credential.Event.Updated, Credential.Event.Switched]).pipe(Stream.runForEach(() => notify), Effect.forkScoped({ startImmediately: true }));
|
|
345
|
+
return Service60.of({
|
|
342
346
|
transform: state.transform,
|
|
343
347
|
reload: state.reload,
|
|
344
348
|
get: Effect.fn("Provider.get")((id) => Effect.sync(() => freeze(state.get().get(id)?.provider, true))),
|
|
@@ -347,7 +351,7 @@ var layer = Layer.effect(Service73, Effect.gen(function* () {
|
|
|
347
351
|
snapshot
|
|
348
352
|
});
|
|
349
353
|
}));
|
|
350
|
-
var
|
|
354
|
+
var node63 = makeLocationNode({ service: Service60, layer, deps: [node84, node64, node81] });
|
|
351
355
|
var importPackage = Effect.fn("Provider.importPackage")(function* (specifier, entrypoint, load = () => importModule(entrypoint)) {
|
|
352
356
|
const module = yield* Effect.tryPromise({
|
|
353
357
|
try: () => {
|
|
@@ -607,4 +611,4 @@ var Legacy = Schema2.StructWithRest(Schema2.Struct({
|
|
|
607
611
|
}), [Schema2.Record(Schema2.String, Schema2.Unknown)]);
|
|
608
612
|
var decode = Schema2.decodeUnknownSync(Legacy);
|
|
609
613
|
|
|
610
|
-
export { rewrite2, native2, exports_aisdk_native,
|
|
614
|
+
export { rewrite2, native2, exports_aisdk_native, ID7, AISDK_PREFIX2, isAISDK2, aisdk2, packageName2, LoadError3, loadPackage2, nativeSettings2, mergeOverlay2, mergeHeaders2, Request2, Compaction3, Transport2, Settings2, Info21, Service60, node63, exports_provider3, Event13 };
|
|
@@ -1,29 +1,29 @@
|
|
|
1
1
|
import {
|
|
2
2
|
ephemeral2,
|
|
3
|
+
Service80,
|
|
4
|
+
node84
|
|
5
|
+
} from "./pty-tqwr2f5g.js";
|
|
6
|
+
import {
|
|
3
7
|
Service82,
|
|
4
8
|
node86
|
|
5
|
-
} from "./
|
|
6
|
-
import {
|
|
7
|
-
Service77,
|
|
8
|
-
node81
|
|
9
|
-
} from "./variant-v4dhgaj7.js";
|
|
9
|
+
} from "./pty-zfx1etke.js";
|
|
10
10
|
import {
|
|
11
11
|
__export
|
|
12
|
-
} from "./
|
|
12
|
+
} from "./pty-9rqn6x4v.js";
|
|
13
13
|
|
|
14
14
|
// src/wellknown.ts
|
|
15
15
|
var exports_wellknown = {};
|
|
16
16
|
__export(exports_wellknown, {
|
|
17
17
|
Auth: () => Auth2,
|
|
18
18
|
Config: () => Config2,
|
|
19
|
-
Event: () =>
|
|
19
|
+
Event: () => Event17,
|
|
20
20
|
Manifest: () => Manifest2,
|
|
21
21
|
RemoteConfig: () => RemoteConfig2,
|
|
22
|
-
Service: () =>
|
|
22
|
+
Service: () => Service64,
|
|
23
23
|
WellKnown: () => exports_wellknown,
|
|
24
24
|
inspect: () => inspect2,
|
|
25
|
-
node: () =>
|
|
26
|
-
resolve: () =>
|
|
25
|
+
node: () => node67,
|
|
26
|
+
resolve: () => resolve3
|
|
27
27
|
});
|
|
28
28
|
import { Integration } from "@opencode/schema/integration";
|
|
29
29
|
import { Context, Effect, Layer, Ref, Schema, Semaphore } from "effect";
|
|
@@ -46,9 +46,9 @@ var Manifest2 = Schema.Struct({
|
|
|
46
46
|
remote_config: Schema.optional(RemoteConfig2)
|
|
47
47
|
}).annotate({ identifier: "WellKnown.Manifest" });
|
|
48
48
|
|
|
49
|
-
class
|
|
49
|
+
class Service64 extends Context.Service()("@opencode/WellKnown") {
|
|
50
50
|
}
|
|
51
|
-
var
|
|
51
|
+
var Event17 = {
|
|
52
52
|
Updated: ephemeral2({ type: "wellknown.updated", schema: {} })
|
|
53
53
|
};
|
|
54
54
|
var inspect2 = Effect.fn("WellKnown.inspect")(function* (origin) {
|
|
@@ -56,7 +56,7 @@ var inspect2 = Effect.fn("WellKnown.inspect")(function* (origin) {
|
|
|
56
56
|
const http = HttpClient.filterStatusOk(yield* HttpClient.HttpClient);
|
|
57
57
|
return yield* http.execute(HttpClientRequest.get(url).pipe(HttpClientRequest.acceptJson)).pipe(Effect.flatMap(HttpClientResponse.schemaBodyJson(Manifest2)), Effect.mapError((cause) => new Error(`Failed to load wellknown manifest from ${url}`, { cause })));
|
|
58
58
|
});
|
|
59
|
-
var
|
|
59
|
+
var resolve3 = Effect.fn("WellKnown.resolve")(function* (input) {
|
|
60
60
|
const manifest = yield* inspect2(input.origin);
|
|
61
61
|
return yield* resolveEntry({ origin: input.origin, integrationID: Integration.ID.make(input.origin.replace(/\/+$/, "")), manifest }, input.variables ?? {});
|
|
62
62
|
});
|
|
@@ -75,10 +75,10 @@ var resolveEntry = Effect.fnUntraced(function* (entry, variables) {
|
|
|
75
75
|
});
|
|
76
76
|
var sourcesKey = "wellknown:sources";
|
|
77
77
|
var Sources = Schema.Array(Schema.String);
|
|
78
|
-
var layer = Layer.effect(
|
|
78
|
+
var layer = Layer.effect(Service64, Effect.gen(function* () {
|
|
79
79
|
const http = yield* HttpClient.HttpClient;
|
|
80
|
-
const kv = yield*
|
|
81
|
-
const bus = yield*
|
|
80
|
+
const kv = yield* Service82;
|
|
81
|
+
const bus = yield* Service80;
|
|
82
82
|
const cache = yield* Ref.make(new Map);
|
|
83
83
|
const lock = Semaphore.makeUnsafe(1);
|
|
84
84
|
const loadEntry = Effect.fn("WellKnown.loadEntry")(function* (origin) {
|
|
@@ -109,10 +109,10 @@ var layer = Layer.effect(Service71, Effect.gen(function* () {
|
|
|
109
109
|
if (!changed)
|
|
110
110
|
return false;
|
|
111
111
|
yield* Ref.set(cache, next);
|
|
112
|
-
yield* bus.publish(
|
|
112
|
+
yield* bus.publish(Event17.Updated, {});
|
|
113
113
|
return true;
|
|
114
114
|
}, (effect) => lock.withPermit(effect));
|
|
115
|
-
return
|
|
115
|
+
return Service64.of({
|
|
116
116
|
entries: load,
|
|
117
117
|
snapshot: () => Array.from(Ref.getUnsafe(cache).values()),
|
|
118
118
|
refresh,
|
|
@@ -125,7 +125,7 @@ var layer = Layer.effect(Service71, Effect.gen(function* () {
|
|
|
125
125
|
const origins = Schema.is(Sources)(sources) ? sources : [];
|
|
126
126
|
yield* kv.set(sourcesKey, Array.from(new Set([...origins, origin])));
|
|
127
127
|
yield* Ref.update(cache, (current) => new Map(current).set(origin, entry));
|
|
128
|
-
yield* bus.publish(
|
|
128
|
+
yield* bus.publish(Event17.Updated, {});
|
|
129
129
|
return entry;
|
|
130
130
|
}, (effect, _value) => lock.withPermit(effect)),
|
|
131
131
|
remove: Effect.fn("WellKnown.remove")(function* (value) {
|
|
@@ -138,11 +138,11 @@ var layer = Layer.effect(Service71, Effect.gen(function* () {
|
|
|
138
138
|
next.delete(origin);
|
|
139
139
|
return next;
|
|
140
140
|
});
|
|
141
|
-
yield* bus.publish(
|
|
141
|
+
yield* bus.publish(Event17.Updated, {});
|
|
142
142
|
}, (effect, _value) => lock.withPermit(effect)),
|
|
143
143
|
resolve: Effect.fn("WellKnown.resolveEntry")((entry, variables) => resolveEntry(entry, variables).pipe(Effect.provideService(HttpClient.HttpClient, http)))
|
|
144
144
|
});
|
|
145
145
|
}));
|
|
146
|
-
var
|
|
146
|
+
var node67 = makeGlobalNode({ service: Service64, layer, deps: [httpClient, node86, node84] });
|
|
147
147
|
|
|
148
|
-
export { Auth2, RemoteConfig2, Config2, Manifest2,
|
|
148
|
+
export { Auth2, RemoteConfig2, Config2, Manifest2, Service64, Event17, inspect2, resolve3, node67, exports_wellknown };
|
|
@@ -1,24 +1,24 @@
|
|
|
1
1
|
import {
|
|
2
2
|
AbsolutePath2
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./pty-922hggd3.js";
|
|
4
4
|
import {
|
|
5
|
-
|
|
6
|
-
|
|
5
|
+
Info4,
|
|
6
|
+
ID3,
|
|
7
7
|
Name2
|
|
8
|
-
} from "./
|
|
8
|
+
} from "./pty-cerhndf8.js";
|
|
9
9
|
import {
|
|
10
|
-
|
|
11
|
-
} from "./
|
|
10
|
+
Service46
|
|
11
|
+
} from "./pty-a6ha29gm.js";
|
|
12
12
|
import {
|
|
13
13
|
__export
|
|
14
|
-
} from "./
|
|
14
|
+
} from "./pty-9rqn6x4v.js";
|
|
15
15
|
|
|
16
16
|
// src/plugin/skill.ts
|
|
17
17
|
var exports_skill3 = {};
|
|
18
18
|
__export(exports_skill3, {
|
|
19
19
|
OpencodeContent: () => OpencodeContent2,
|
|
20
20
|
OpencodeDescription: () => OpencodeDescription2,
|
|
21
|
-
Plugin: () =>
|
|
21
|
+
Plugin: () => Plugin42,
|
|
22
22
|
ReportContent: () => ReportContent2,
|
|
23
23
|
SkillPlugin: () => exports_skill3
|
|
24
24
|
});
|
|
@@ -425,20 +425,20 @@ var OpencodeContent2 = opencode_default;
|
|
|
425
425
|
var ReportContent2 = report_default;
|
|
426
426
|
var OpencodeDescription2 = "Use this skill for any question about OpenCode itself, including how OpenCode works, using or configuring it, migrating from V1 to V2, troubleshooting it, developing plugins or integrations, using the OpenCode SDK, clients, server, or API, and contributing to the OpenCode codebase. Also use it for OpenCode agents, commands, skills, tools, permissions, MCP servers, providers, models, themes, keybinds, formatters, the CLI, TUI, desktop app, and web app.";
|
|
427
427
|
var REPORT_DESCRIPTION = "Use when the user wants to report an opencode issue or bug. Collect standard diagnostics, add user-specific reproduction context, and publish the issue with GitHub CLI.";
|
|
428
|
-
var
|
|
428
|
+
var Plugin42 = define({
|
|
429
429
|
id: "opencode.skill",
|
|
430
430
|
effect: Effect.fn(function* (ctx) {
|
|
431
431
|
const reportContent = yield* reportContentWithDiagnostics(ctx.app);
|
|
432
432
|
yield* ctx.skill.transform((editor) => {
|
|
433
|
-
editor.add(
|
|
434
|
-
id:
|
|
433
|
+
editor.add(Info4.make({
|
|
434
|
+
id: ID3.make("opencode"),
|
|
435
435
|
name: Name2.make("OpenCode"),
|
|
436
436
|
description: OpencodeDescription2,
|
|
437
437
|
path: AbsolutePath2.make("/builtin/opencode.md"),
|
|
438
438
|
content: OpencodeContent2
|
|
439
439
|
}));
|
|
440
|
-
editor.add(
|
|
441
|
-
id:
|
|
440
|
+
editor.add(Info4.make({
|
|
441
|
+
id: ID3.make("report"),
|
|
442
442
|
name: Name2.make("Report"),
|
|
443
443
|
description: REPORT_DESCRIPTION,
|
|
444
444
|
path: AbsolutePath2.make("/builtin/report.md"),
|
|
@@ -466,7 +466,7 @@ var reportContentWithDiagnostics = Effect.fn("SkillPlugin.reportContentWithDiagn
|
|
|
466
466
|
`);
|
|
467
467
|
});
|
|
468
468
|
var configuredPlugins = Effect.fn("SkillPlugin.configuredPlugins")(function* () {
|
|
469
|
-
const config = yield*
|
|
469
|
+
const config = yield* Service46;
|
|
470
470
|
return (yield* config.entries()).filter((entry) => entry.type === "document").flatMap((entry) => entry.info.plugins ?? []).map((entry) => typeof entry === "string" ? entry : entry.package).toSorted();
|
|
471
471
|
});
|
|
472
472
|
function terminal() {
|
|
@@ -480,4 +480,4 @@ function shell() {
|
|
|
480
480
|
return process.env.SHELL ?? process.env.ComSpec ?? process.env.COMSPEC ?? "Unavailable: shell environment variable is not set";
|
|
481
481
|
}
|
|
482
482
|
|
|
483
|
-
export { OpencodeContent2, ReportContent2, OpencodeDescription2,
|
|
483
|
+
export { OpencodeContent2, ReportContent2, OpencodeDescription2, Plugin42, exports_skill3 };
|