@opencode/core 0.0.0-dev-20088 → 0.0.0-dev-20092
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 +81 -81
- package/dist/aisdk-native.js +89 -89
- package/dist/aisdk.js +94 -94
- package/dist/app.js +3 -3
- package/dist/bus.js +69 -69
- package/dist/chunks/{wellknown-8ya03gbb.js → form-05drz63z.js} +26 -26
- package/dist/chunks/{wellknown-zpzh683m.js → form-08p0mrxa.js} +13 -13
- package/dist/chunks/{wellknown-627mbqxc.js → form-08tmt5c8.js} +12 -12
- package/dist/chunks/{wellknown-c9d081nh.js → form-0gk8zhag.js} +12 -12
- package/dist/chunks/{wellknown-jwkjpyjz.js → form-0gtbcy6a.js} +26 -26
- package/dist/chunks/{wellknown-q6acr7kh.js → form-0hdrvdsw.js} +13 -13
- package/dist/chunks/{wellknown-0paq2nw3.js → form-0paq2nw3.js} +1 -1
- package/dist/chunks/{wellknown-dtscaaz7.js → form-11pq52jb.js} +3 -3
- package/dist/chunks/{wellknown-h3tjb8kw.js → form-12p30pv4.js} +11 -11
- package/dist/chunks/{wellknown-ky3r4m1q.js → form-13bngj7t.js} +26 -26
- package/dist/chunks/{wellknown-nf2bhtke.js → form-140rqsbt.js} +2 -2
- package/dist/chunks/{wellknown-pwnwhfpz.js → form-14zkycxn.js} +17 -17
- package/dist/chunks/{wellknown-hktrdnnd.js → form-15znadw3.js} +87 -87
- package/dist/chunks/{wellknown-0cmnazqm.js → form-19tft2ya.js} +4 -4
- package/dist/chunks/{wellknown-0ztq6350.js → form-1cn7k6zr.js} +6 -6
- package/dist/chunks/{wellknown-1dazxqgg.js → form-1dazxqgg.js} +2 -2
- package/dist/chunks/{wellknown-wq4mmp7m.js → form-1ed2t66p.js} +4 -4
- package/dist/chunks/{wellknown-6ysrkrkr.js → form-1vyzjnq9.js} +8 -8
- package/dist/chunks/{wellknown-21r38tys.js → form-21r38tys.js} +1 -1
- package/dist/chunks/{wellknown-6h73sxmp.js → form-2402vzrj.js} +5 -5
- package/dist/chunks/{wellknown-wdwph0vc.js → form-258tza17.js} +6 -6
- package/dist/chunks/{wellknown-2kkyas57.js → form-25x24fm4.js} +22 -22
- package/dist/chunks/{wellknown-2a5m3afh.js → form-2a5m3afh.js} +1 -1
- package/dist/chunks/{wellknown-dek7wc1c.js → form-2m0d8rb6.js} +10 -10
- package/dist/chunks/{wellknown-f20kv4h9.js → form-347vaxex.js} +12 -12
- package/dist/chunks/{wellknown-xvhqwa82.js → form-38gc11f3.js} +33 -33
- package/dist/chunks/{wellknown-754kaqqn.js → form-3aj4spyv.js} +16 -16
- package/dist/chunks/{wellknown-dqg5586z.js → form-3e35s4mq.js} +20 -20
- package/dist/chunks/{wellknown-3fc6dm20.js → form-3fc6dm20.js} +1 -1
- package/dist/chunks/{wellknown-3hepkmqq.js → form-3hepkmqq.js} +1 -1
- package/dist/chunks/{wellknown-81c3ttat.js → form-3kj2denn.js} +41 -41
- package/dist/chunks/{wellknown-jemfgm91.js → form-3ktbe3hf.js} +6 -6
- package/dist/chunks/{wellknown-3smtnn6g.js → form-3smtnn6g.js} +1 -1
- package/dist/chunks/{wellknown-3tvqynh2.js → form-3tvqynh2.js} +1 -1
- package/dist/chunks/{wellknown-3zsf4n22.js → form-3zsf4n22.js} +1 -1
- package/dist/chunks/{wellknown-hrepkr0b.js → form-41b5e87c.js} +10 -10
- package/dist/chunks/{wellknown-cpj0znwe.js → form-44h5tttr.js} +4 -4
- package/dist/chunks/{wellknown-pd22eygj.js → form-48wk2ymj.js} +7 -7
- package/dist/chunks/{wellknown-hmzmjmkz.js → form-494w821z.js} +32 -32
- package/dist/chunks/{wellknown-ndqtf2h8.js → form-4jv7e9dq.js} +7 -7
- package/dist/chunks/{wellknown-csvdae6h.js → form-4n4fn861.js} +20 -20
- package/dist/chunks/{wellknown-391dmqr2.js → form-4qpgmmah.js} +20 -20
- package/dist/chunks/{wellknown-tzbpqgcm.js → form-51gpa1xv.js} +11 -11
- package/dist/chunks/{wellknown-sp9dn3zb.js → form-51re7bcp.js} +11 -11
- package/dist/chunks/form-54qy129q.js +26 -0
- package/dist/chunks/{wellknown-ckecvw8r.js → form-54tcyq79.js} +2 -2
- package/dist/chunks/{wellknown-qj9gqmga.js → form-55c4derm.js} +15 -15
- package/dist/chunks/{wellknown-qqeeq2t9.js → form-57b9ws8p.js} +4 -4
- package/dist/chunks/{wellknown-81swgkk7.js → form-57ez7d0k.js} +7 -7
- package/dist/chunks/{wellknown-5daktx2q.js → form-5daktx2q.js} +1 -1
- package/dist/chunks/{wellknown-zk4ds5mz.js → form-5dj1xsep.js} +3 -3
- package/dist/chunks/{wellknown-h9h0mx4r.js → form-5e81w77y.js} +16 -16
- package/dist/chunks/{wellknown-5ekn9679.js → form-5ekn9679.js} +1 -1
- package/dist/chunks/{wellknown-5t3nmthw.js → form-5t3nmthw.js} +2 -2
- package/dist/chunks/{wellknown-p42hj8p8.js → form-5xtgfte3.js} +8 -8
- package/dist/chunks/{wellknown-kjg57q5q.js → form-5yh5b1zw.js} +20 -20
- package/dist/chunks/{wellknown-qgn6gcr1.js → form-607tc6va.js} +5 -5
- package/dist/chunks/{wellknown-669tq793.js → form-669tq793.js} +1 -1
- package/dist/chunks/{wellknown-gp1cjb3w.js → form-69syr1jf.js} +15 -15
- package/dist/chunks/{wellknown-v2vtvyk0.js → form-6aj1h6ge.js} +9 -9
- package/dist/chunks/{wellknown-mwjcgr28.js → form-6av2z5d4.js} +27 -27
- package/dist/chunks/{wellknown-6er8x6d0.js → form-6g3qzat6.js} +3 -3
- package/dist/chunks/{wellknown-aapew5zc.js → form-6hs0a2ea.js} +18 -18
- package/dist/chunks/{wellknown-6msgmcgs.js → form-6msgmcgs.js} +1 -1
- package/dist/chunks/{wellknown-tk8n40ec.js → form-78eghtzp.js} +52 -52
- package/dist/chunks/{wellknown-7bmhse3q.js → form-7bmhse3q.js} +1 -1
- package/dist/chunks/{wellknown-g8jasmdt.js → form-818pfwc9.js} +8 -8
- package/dist/chunks/{wellknown-8d7r5vzw.js → form-8d7r5vzw.js} +1 -1
- package/dist/chunks/{wellknown-7x92602t.js → form-8jgpxt85.js} +22 -22
- package/dist/chunks/{wellknown-y82z2pvx.js → form-8mhxxeg4.js} +43 -43
- package/dist/chunks/{wellknown-n5g8qfkh.js → form-8rt04me1.js} +30 -30
- package/dist/chunks/{wellknown-86enc17z.js → form-8xxyxnjg.js} +18 -18
- package/dist/chunks/{wellknown-ezzbe5rx.js → form-96692np8.js} +29 -29
- package/dist/chunks/form-9zdhvgqs.js +18 -0
- package/dist/chunks/{wellknown-bh9zpxkf.js → form-a59zsbk6.js} +325 -325
- package/dist/chunks/{wellknown-1nzh38e4.js → form-a881zpfh.js} +9 -9
- package/dist/chunks/{wellknown-aaet6srn.js → form-aaet6srn.js} +2 -2
- package/dist/chunks/{wellknown-4j14e5ea.js → form-ab603qg2.js} +10 -10
- package/dist/chunks/{wellknown-07qks21j.js → form-aeycry7f.js} +16 -16
- package/dist/chunks/{wellknown-afed7ext.js → form-afed7ext.js} +5 -5
- package/dist/chunks/{wellknown-k21vf7jx.js → form-as6bcte4.js} +24 -24
- package/dist/chunks/{wellknown-85h5126a.js → form-atbxxdgy.js} +3 -3
- package/dist/chunks/{wellknown-g57wvbe7.js → form-b1vvvnp6.js} +11 -11
- package/dist/chunks/{wellknown-shnd1k2w.js → form-b40cgvj8.js} +5 -5
- package/dist/chunks/{wellknown-b6gygkdw.js → form-b6gygkdw.js} +2 -2
- package/dist/chunks/{wellknown-hsm12kgw.js → form-ba4w6g48.js} +12 -12
- package/dist/chunks/{wellknown-z07pqspn.js → form-bjtzbw4r.js} +3 -3
- package/dist/chunks/{wellknown-5774vrx5.js → form-bm0j3psj.js} +13 -13
- package/dist/chunks/{wellknown-y4m0v0jh.js → form-bppvgyma.js} +18 -18
- package/dist/chunks/{wellknown-16qm5t5a.js → form-bt22nkjp.js} +7 -7
- package/dist/chunks/{wellknown-a2rpfkac.js → form-btbmdjwj.js} +4 -4
- package/dist/chunks/{wellknown-t73e6et9.js → form-byssvj29.js} +10 -10
- package/dist/chunks/{wellknown-kk5y5e31.js → form-c0c64v71.js} +10 -10
- package/dist/chunks/{wellknown-0sw8n72f.js → form-c2y24p2y.js} +19 -19
- package/dist/chunks/{wellknown-rkqmn6vx.js → form-c4waf52n.js} +20 -20
- package/dist/chunks/{wellknown-c78bbtc9.js → form-c78bbtc9.js} +2 -2
- package/dist/chunks/{wellknown-jhf3jymm.js → form-c8bydgjz.js} +6 -6
- package/dist/chunks/{wellknown-k6nqjfhj.js → form-ch1weyeb.js} +11 -11
- package/dist/chunks/{wellknown-678e88h8.js → form-ckyd1krv.js} +4 -4
- package/dist/chunks/{wellknown-9s848a1g.js → form-cmq39cwv.js} +9 -9
- package/dist/chunks/{wellknown-fjt4ex07.js → form-cr7r8nac.js} +13 -13
- package/dist/chunks/{wellknown-stqdgpbp.js → form-d13kp6w9.js} +20 -20
- package/dist/chunks/{wellknown-7q1ypnqr.js → form-d20da8j9.js} +20 -20
- package/dist/chunks/{wellknown-qn6refn7.js → form-d3qk8e4k.js} +18 -18
- package/dist/chunks/{wellknown-bn0s77k4.js → form-d48vtfkp.js} +6 -6
- package/dist/chunks/{wellknown-h8f4eya8.js → form-d49yjp64.js} +24 -24
- package/dist/chunks/{wellknown-ngkes2xe.js → form-d7vwcxj8.js} +17 -17
- package/dist/chunks/{wellknown-em3h5ktn.js → form-d9sgy5v4.js} +4 -4
- package/dist/chunks/{wellknown-v4agpjxc.js → form-dg66y715.js} +33 -33
- package/dist/chunks/{wellknown-je7wb95j.js → form-dgnytp49.js} +4 -4
- package/dist/chunks/{wellknown-tz4n1mmd.js → form-dhmh7aw6.js} +4 -4
- package/dist/chunks/{wellknown-cwa6csj7.js → form-djszqvmq.js} +9 -9
- package/dist/chunks/{wellknown-e1gwt1x8.js → form-dntrgzg4.js} +13 -13
- package/dist/chunks/{wellknown-ajwjy3vs.js → form-dq74agaf.js} +18 -18
- package/dist/chunks/{wellknown-qfynbmn6.js → form-e3gmrg4e.js} +9 -9
- package/dist/chunks/{wellknown-jxdqd6y8.js → form-e3kb8xnq.js} +11 -11
- package/dist/chunks/{wellknown-xz3z2ytp.js → form-e74wffys.js} +32 -32
- package/dist/chunks/{wellknown-eaj1djv9.js → form-eaj1djv9.js} +1 -1
- package/dist/chunks/{wellknown-2hr5nhwa.js → form-eeaf82dq.js} +8 -8
- package/dist/chunks/{wellknown-ef5x83kb.js → form-ef5x83kb.js} +1 -1
- package/dist/chunks/{wellknown-7d7d17vd.js → form-ejtaj14a.js} +4 -4
- package/dist/chunks/{wellknown-jpazqe9z.js → form-ekdnc1t3.js} +27 -27
- package/dist/chunks/{wellknown-s333fh32.js → form-emn263y3.js} +32 -32
- package/dist/chunks/{wellknown-02ay6hqg.js → form-ennmqkeh.js} +5 -5
- package/dist/chunks/{wellknown-yfe0myzd.js → form-epck1df4.js} +14 -14
- package/dist/chunks/{wellknown-b2emagap.js → form-eq0p2d4m.js} +9 -9
- package/dist/chunks/{wellknown-erw5rpbs.js → form-erw5rpbs.js} +2 -2
- package/dist/chunks/{wellknown-etq0c3wd.js → form-etq0c3wd.js} +1 -1
- package/dist/chunks/{wellknown-kwzmgxvf.js → form-ex3azxtp.js} +6 -6
- package/dist/chunks/{wellknown-71abkhq3.js → form-f07zn61c.js} +14 -14
- package/dist/chunks/{wellknown-y0ff3w8f.js → form-f9rzce54.js} +6 -6
- package/dist/chunks/{wellknown-5a6s7q48.js → form-f9wy4a67.js} +4 -4
- package/dist/chunks/{wellknown-m1met2j0.js → form-fgepna9y.js} +5 -5
- package/dist/chunks/{wellknown-m2d0j7c0.js → form-fhs97t90.js} +9 -9
- package/dist/chunks/{wellknown-wezhver3.js → form-fjrjs8mz.js} +25 -25
- package/dist/chunks/{wellknown-fgdmd333.js → form-fknhp1f0.js} +17 -17
- package/dist/chunks/{wellknown-1w01qkgz.js → form-fnf8k50s.js} +10 -10
- package/dist/chunks/{wellknown-a13sefkk.js → form-fpxnyzjx.js} +30 -30
- package/dist/chunks/{wellknown-cdx1pajz.js → form-fq0xkp38.js} +38 -38
- package/dist/chunks/{wellknown-34rkz0x9.js → form-fqb2p7cx.js} +7 -7
- package/dist/chunks/{wellknown-4w5f3qm5.js → form-fqtvmpfq.js} +8 -8
- package/dist/chunks/{wellknown-0kbvaqxg.js → form-ftf41wa5.js} +9 -9
- package/dist/chunks/form-ftpkz8yb.js +252 -0
- package/dist/chunks/{wellknown-cavr175a.js → form-g190xswt.js} +4 -4
- package/dist/chunks/{wellknown-kysfx830.js → form-g912tqdn.js} +20 -20
- package/dist/chunks/{wellknown-gd4qta3r.js → form-gd4qta3r.js} +1 -1
- package/dist/chunks/{wellknown-dsxxwtp7.js → form-gdkt1bct.js} +27 -27
- package/dist/chunks/{wellknown-94ek1h2f.js → form-gfvb90ym.js} +2 -2
- package/dist/chunks/{wellknown-8djatqda.js → form-gm4kvx4x.js} +12 -12
- package/dist/chunks/{wellknown-hkxzh5mk.js → form-gsbffn1y.js} +33 -33
- package/dist/chunks/{wellknown-gv6a8nnw.js → form-gv6a8nnw.js} +2 -2
- package/dist/chunks/{wellknown-eg1dr1mk.js → form-gvke2z1d.js} +25 -25
- package/dist/chunks/{wellknown-rjyppv6f.js → form-h4p652km.js} +3 -3
- package/dist/chunks/{wellknown-h6vf3j39.js → form-h6vf3j39.js} +1 -1
- package/dist/chunks/{wellknown-b0dgvpy7.js → form-h71w788e.js} +9 -9
- package/dist/chunks/{wellknown-hzmnsnsk.js → form-h7tbdw6f.js} +17 -17
- package/dist/chunks/{wellknown-t9sbjs2e.js → form-hfj9a1t1.js} +28 -28
- package/dist/chunks/{wellknown-xtv80xxm.js → form-hmtpe4q9.js} +5 -5
- package/dist/chunks/{wellknown-j56e64zr.js → form-j56e64zr.js} +1 -1
- package/dist/chunks/{wellknown-hkagk5ex.js → form-jca4demv.js} +2 -2
- package/dist/chunks/{wellknown-kpd5tq3d.js → form-jmjh0wq4.js} +20 -20
- package/dist/chunks/{wellknown-99yqgcre.js → form-jrswvxaf.js} +11 -11
- package/dist/chunks/{wellknown-3bx4j3sb.js → form-jw5517n6.js} +26 -26
- package/dist/chunks/{wellknown-nzks3jc8.js → form-k3c624dm.js} +3 -3
- package/dist/chunks/{wellknown-sh0rhkk8.js → form-k89d419f.js} +3 -3
- package/dist/chunks/{wellknown-ag580yac.js → form-k9d40v1y.js} +4 -4
- package/dist/chunks/{wellknown-jwhvtnff.js → form-kmmhwf5p.js} +1 -1
- package/dist/chunks/{wellknown-6fkvgzc7.js → form-kskjmaqs.js} +26 -26
- package/dist/chunks/{wellknown-8hjzc8er.js → form-kxch5bmm.js} +22 -22
- package/dist/chunks/{wellknown-rph3zd4r.js → form-kxpygcw9.js} +4 -4
- package/dist/chunks/{wellknown-zb6er0nt.js → form-kykdcbq0.js} +54 -54
- package/dist/chunks/{wellknown-9psb6rs6.js → form-m1de2ch9.js} +15 -15
- package/dist/chunks/{wellknown-k13t3p08.js → form-m2sbdswz.js} +8 -8
- package/dist/chunks/{wellknown-m3fdjcah.js → form-m3fdjcah.js} +1 -1
- package/dist/chunks/{wellknown-gmyzj2jd.js → form-m7dsxs5s.js} +87 -87
- package/dist/chunks/{wellknown-hk66nqvm.js → form-m7eyfjrp.js} +8 -8
- package/dist/chunks/{wellknown-em5kycxp.js → form-m8eeppqn.js} +28 -28
- package/dist/chunks/{wellknown-tf8gy6s3.js → form-m9r59bp6.js} +15 -15
- package/dist/chunks/{wellknown-m9w0rfyh.js → form-m9w0rfyh.js} +1 -1
- package/dist/chunks/{wellknown-d7xn25tt.js → form-ma6xfzer.js} +13 -13
- package/dist/chunks/{wellknown-v2ceagrf.js → form-mbma4yh7.js} +13 -13
- package/dist/chunks/{wellknown-56gdpj1q.js → form-mfqp6xfm.js} +6 -6
- package/dist/chunks/{wellknown-wxe1qfek.js → form-mgmaefw5.js} +6 -6
- package/dist/chunks/{wellknown-yazmrbe0.js → form-mwez6v5w.js} +11 -11
- package/dist/chunks/{wellknown-8tsdq50x.js → form-n2srvep7.js} +4 -4
- package/dist/chunks/{wellknown-ex8f569q.js → form-n3yv30fq.js} +16 -16
- package/dist/chunks/{wellknown-hkvqk6yv.js → form-n9en70f3.js} +17 -17
- package/dist/chunks/{wellknown-d5nw2z1z.js → form-ng1k2tev.js} +24 -24
- package/dist/chunks/{wellknown-kp7kck1f.js → form-ng9vn86m.js} +32 -32
- package/dist/chunks/{wellknown-adwdgm2s.js → form-nkshrmvn.js} +11 -11
- package/dist/chunks/{wellknown-q272xss5.js → form-nmyrfs22.js} +185 -185
- package/dist/chunks/{wellknown-kpcbfkys.js → form-nxbft40j.js} +8 -8
- package/dist/chunks/{wellknown-axs6pdy0.js → form-nyqx1cb3.js} +5 -5
- package/dist/chunks/{wellknown-xqn9gnks.js → form-p0m4nb5f.js} +1 -1
- package/dist/chunks/{wellknown-zdmbvcj1.js → form-p2m0n0hn.js} +11 -11
- package/dist/chunks/{wellknown-hm7fj9g2.js → form-p87g5rtv.js} +45 -45
- package/dist/chunks/{wellknown-znwq617a.js → form-pf9yz9v2.js} +6 -6
- package/dist/chunks/{wellknown-jmfhbzhy.js → form-pj28zw9r.js} +30 -30
- package/dist/chunks/{wellknown-pjvnvgmy.js → form-pjvnvgmy.js} +1 -1
- package/dist/chunks/{wellknown-awrhstbg.js → form-pjzg4rs2.js} +4 -4
- package/dist/chunks/{wellknown-pknna89w.js → form-pknna89w.js} +1 -1
- package/dist/chunks/{wellknown-wd3x2cqz.js → form-psazpmmj.js} +2 -2
- package/dist/chunks/{wellknown-kpscmddh.js → form-pv751y59.js} +44 -44
- package/dist/chunks/{wellknown-6d6wpktw.js → form-pvw8r2wg.js} +10 -10
- package/dist/chunks/{wellknown-ks5rdx6p.js → form-pxe6gr54.js} +15 -15
- package/dist/chunks/{wellknown-35gpf1q0.js → form-q0f9bf0g.js} +12 -12
- package/dist/chunks/{wellknown-ndmv45hp.js → form-q3t37ft6.js} +3 -3
- package/dist/chunks/{wellknown-nygkak42.js → form-qap0fdgx.js} +15 -15
- package/dist/chunks/{wellknown-y285t7cb.js → form-qcyzmg46.js} +31 -31
- package/dist/chunks/{wellknown-wtp3j6ww.js → form-qedfkepq.js} +4 -4
- package/dist/chunks/{wellknown-yjptyezs.js → form-qn4ba14w.js} +5 -5
- package/dist/chunks/{wellknown-ycxznwxp.js → form-qqbtwq91.js} +15 -15
- package/dist/chunks/{wellknown-qsdy395h.js → form-qsdy395h.js} +1 -1
- package/dist/chunks/{wellknown-f4xvve52.js → form-r1659vap.js} +18 -18
- package/dist/chunks/{wellknown-sykc9y4a.js → form-r4yqrmdq.js} +5 -5
- package/dist/chunks/{wellknown-mvfsc1pv.js → form-r5x6zcsm.js} +3 -3
- package/dist/chunks/{wellknown-vrzwcp5a.js → form-r60dvb0d.js} +3 -3
- package/dist/chunks/{wellknown-5pk6mrn1.js → form-r7wq386s.js} +29 -29
- package/dist/chunks/{wellknown-0n3stnym.js → form-r94pzv5m.js} +9 -9
- package/dist/chunks/{wellknown-tm13csnt.js → form-r9n1h5e1.js} +48 -48
- package/dist/chunks/{wellknown-rdw6cm16.js → form-rdw6cm16.js} +1 -1
- package/dist/chunks/{wellknown-417f0ndq.js → form-rgy4pp43.js} +13 -13
- package/dist/chunks/{wellknown-1yxn9t92.js → form-rqcygfwd.js} +8 -8
- package/dist/chunks/{wellknown-6txqsvff.js → form-s2hgmt76.js} +25 -25
- package/dist/chunks/{wellknown-ekbzd23w.js → form-s5qtarnf.js} +20 -20
- package/dist/chunks/{wellknown-pecb0brz.js → form-s8zy8myc.js} +5 -5
- package/dist/chunks/{wellknown-fxd4qk6y.js → form-s9720vp0.js} +5 -5
- package/dist/chunks/{wellknown-f3ydt0tv.js → form-sbnznnja.js} +35 -35
- package/dist/chunks/{wellknown-xx9hpt89.js → form-sj7d9cqd.js} +24 -24
- package/dist/chunks/{wellknown-zej982vg.js → form-spbewqtm.js} +9 -9
- package/dist/chunks/{wellknown-qjxevsft.js → form-sqy4ahhk.js} +1 -1
- package/dist/chunks/{wellknown-ve4pfa0n.js → form-sx1n432n.js} +4 -4
- package/dist/chunks/{wellknown-a1gyj93n.js → form-sxbp20vh.js} +9 -9
- package/dist/chunks/{wellknown-zbzar1k2.js → form-t0vhg212.js} +15 -15
- package/dist/chunks/{wellknown-dy5jbeh5.js → form-tae84zs9.js} +7 -7
- package/dist/chunks/{wellknown-tazgh4e4.js → form-tazgh4e4.js} +1 -1
- package/dist/chunks/{wellknown-tcezcvh9.js → form-tcezcvh9.js} +1 -1
- package/dist/chunks/{wellknown-tdstcens.js → form-tdstcens.js} +1 -1
- package/dist/chunks/{wellknown-t9q6q9b2.js → form-trz9crgd.js} +44 -44
- package/dist/chunks/{wellknown-6q0e5evp.js → form-tvkgnt5p.js} +5 -5
- package/dist/chunks/{wellknown-tvtrv512.js → form-tvtrv512.js} +1 -1
- package/dist/chunks/{wellknown-xmrqcsy3.js → form-v3zyw3t1.js} +23 -23
- package/dist/chunks/{wellknown-wvncmcwq.js → form-v8d44gfq.js} +43 -43
- package/dist/chunks/{wellknown-nvkqntqe.js → form-vaabtg8n.js} +6 -6
- package/dist/chunks/{wellknown-veqvce7d.js → form-veqvce7d.js} +1 -1
- package/dist/chunks/{wellknown-2r7n83y8.js → form-vewbafv1.js} +15 -15
- package/dist/chunks/{wellknown-jyr2yk35.js → form-vf1f92b8.js} +25 -25
- package/dist/chunks/{wellknown-8jbk1876.js → form-vr6tcf4m.js} +16 -16
- package/dist/chunks/{wellknown-vzcthcp8.js → form-vzcthcp8.js} +1 -1
- package/dist/chunks/{wellknown-w3wsvvr9.js → form-w3wsvvr9.js} +1 -1
- package/dist/chunks/{wellknown-7fkffz83.js → form-w92k2e0p.js} +6 -6
- package/dist/chunks/{wellknown-wd87259q.js → form-wd87259q.js} +1 -1
- package/dist/chunks/{wellknown-tcae2ee6.js → form-wq49c4yf.js} +23 -23
- package/dist/chunks/{wellknown-c0k7dzdy.js → form-wwaev9vd.js} +59 -59
- package/dist/chunks/{wellknown-x1ezjp6w.js → form-x1ezjp6w.js} +1 -1
- package/dist/chunks/{wellknown-rnkz2ts9.js → form-x2awn7t1.js} +24 -24
- package/dist/chunks/{wellknown-am860khz.js → form-xk7cfvv2.js} +5 -5
- package/dist/chunks/{wellknown-vtxr0yy2.js → form-xkntkrq7.js} +3 -3
- package/dist/chunks/{wellknown-vp2dr8ef.js → form-xxka3pjy.js} +11 -11
- package/dist/chunks/{wellknown-c935hdwy.js → form-y11rahcj.js} +24 -24
- package/dist/chunks/{wellknown-y1fvbwt7.js → form-y1fvbwt7.js} +1 -1
- package/dist/chunks/{wellknown-y71avatq.js → form-y71avatq.js} +1 -1
- package/dist/chunks/{wellknown-ec6my3m6.js → form-ymvhzfzq.js} +11 -11
- package/dist/chunks/{wellknown-f2n192rq.js → form-yp2x3t23.js} +4 -4
- package/dist/chunks/{wellknown-yrhqyw5v.js → form-yrhqyw5v.js} +1 -1
- package/dist/chunks/{wellknown-bqtyhf1w.js → form-yrkv8vj7.js} +28 -28
- package/dist/chunks/{wellknown-yrznvahk.js → form-yrznvahk.js} +2 -2
- package/dist/chunks/{wellknown-xw879xmy.js → form-yvtv9hrf.js} +22 -22
- package/dist/chunks/{wellknown-mykefr3t.js → form-ywdjejdj.js} +10 -10
- package/dist/chunks/{wellknown-z0bkrqjs.js → form-z0bkrqjs.js} +1 -1
- package/dist/chunks/{wellknown-sng0mpqx.js → form-z4qtbdmm.js} +27 -27
- package/dist/chunks/{wellknown-z63w68vq.js → form-z63w68vq.js} +2 -2
- package/dist/chunks/{wellknown-s67bm65s.js → form-z8xsvp2p.js} +44 -44
- package/dist/chunks/{wellknown-wwksdzh2.js → form-za7gw4wk.js} +6 -6
- package/dist/chunks/{wellknown-m4arwand.js → form-zaancc48.js} +21 -21
- package/dist/chunks/{wellknown-zeh9ct20.js → form-zeh9ct20.js} +2 -2
- package/dist/chunks/{wellknown-bphmbv2n.js → form-zfe0ttmx.js} +5 -5
- package/dist/chunks/{wellknown-f931w4ch.js → form-zgqasnrv.js} +17 -17
- package/dist/chunks/{wellknown-dppzafmr.js → form-zjdabrpw.js} +35 -35
- package/dist/chunks/{wellknown-dwq6ryhm.js → form-zq6stcrg.js} +5 -5
- package/dist/chunks/{wellknown-zr2ceqn5.js → form-zr2ceqn5.js} +1 -1
- package/dist/chunks/{wellknown-dqde9yfd.js → form-zrfbtdf7.js} +8 -8
- package/dist/chunks/{wellknown-q5s1j7v7.js → form-zvkxymqp.js} +7 -7
- package/dist/chunks/{wellknown-zxq2ej10.js → form-zxq2ej10.js} +1 -1
- 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 +85 -85
- package/dist/config/discovery.js +82 -82
- package/dist/config/markdown.js +1 -1
- package/dist/config/normalize.js +106 -106
- package/dist/config/plugin/agent.js +123 -123
- package/dist/config/plugin/command.js +212 -212
- package/dist/config/plugin/compaction.js +160 -160
- package/dist/config/plugin/compatibility.js +141 -141
- package/dist/config/plugin/entry-observer.js +1 -1
- package/dist/config/plugin/formatter.js +124 -124
- package/dist/config/plugin/image.js +123 -123
- package/dist/config/plugin/instruction.js +90 -90
- package/dist/config/plugin/location-watcher.js +121 -121
- package/dist/config/plugin/mcp.js +130 -130
- package/dist/config/plugin/policy.js +124 -124
- package/dist/config/plugin/provider.js +123 -123
- package/dist/config/plugin/reference.js +125 -125
- package/dist/config/plugin/shell.js +125 -125
- package/dist/config/plugin/skill-file.js +102 -102
- package/dist/config/plugin/skill.js +144 -144
- package/dist/config/plugin/snapshot.js +123 -123
- package/dist/config/plugin/source.js +120 -120
- package/dist/config/plugin/tool-output.js +125 -125
- package/dist/config/plugin/websearch.js +124 -124
- 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 +128 -128
- package/dist/credential/sql.js +2 -2
- package/dist/credential.js +83 -83
- package/dist/database/database.js +66 -66
- 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/20260923013825_project_time_active.js +1 -1
- package/dist/database/migration.gen.js +49 -49
- package/dist/database/migration.js +51 -51
- 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 +76 -76
- package/dist/database/v1-migration.js +1 -1
- package/dist/effect/app-node-builder.js +371 -371
- 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 +93 -93
- package/dist/environment/exec-defaults.js +2 -2
- package/dist/environment/files.js +1 -1
- package/dist/environment/index.js +95 -95
- 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 +70 -70
- package/dist/file-access.js +104 -104
- package/dist/file-mutation.js +94 -94
- 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 +225 -225
- package/dist/filesystem/protected.js +1 -1
- package/dist/filesystem/search.js +97 -97
- package/dist/filesystem/watcher-binding.js +1 -1
- package/dist/filesystem/watcher.js +13 -13
- package/dist/filesystem.js +102 -102
- package/dist/form.js +84 -84
- package/dist/formatter/builtins.js +4 -4
- package/dist/formatter.js +89 -89
- package/dist/generate.js +105 -105
- package/dist/git.js +6 -6
- 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 +91 -91
- 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 +362 -362
- package/dist/instruction-discovery.js +85 -85
- package/dist/instructions/builtins.js +87 -87
- package/dist/instructions/index.js +1 -1
- package/dist/integration/connection.js +3 -3
- package/dist/integration.js +86 -86
- package/dist/job.js +77 -77
- package/dist/kv/sql.js +2 -2
- package/dist/kv.js +73 -73
- package/dist/location-activity.js +132 -132
- package/dist/location-lifecycle.js +107 -107
- package/dist/location-mutation.js +104 -104
- package/dist/location-service-map.js +86 -86
- package/dist/location-services.js +359 -359
- package/dist/location.js +87 -87
- package/dist/managed-policy.js +5 -5
- package/dist/mcp/client.js +91 -91
- package/dist/mcp/index.js +102 -102
- package/dist/mcp/instructions.js +126 -126
- package/dist/mcp/oauth.js +78 -78
- package/dist/mcp/stdio.js +90 -90
- package/dist/mime.js +1 -1
- package/dist/modal/models.js +91 -91
- package/dist/model-resolver.js +98 -98
- package/dist/model.js +102 -102
- package/dist/models-dev.js +101 -101
- package/dist/oauth/page.js +1 -1
- package/dist/permission/saved.js +80 -80
- package/dist/permission/sql.js +5 -5
- package/dist/permission.js +111 -111
- package/dist/persistent-pty/binary.bun.js +1 -1
- package/dist/persistent-pty/daemon.js +1 -1
- package/dist/persistent-pty/index.js +88 -88
- package/dist/persistent-pty/pty-binding.js +1 -1
- package/dist/persistent-pty.js +75 -75
- package/dist/plugin/agent.js +102 -102
- package/dist/plugin/command.js +99 -99
- package/dist/plugin/compaction.js +131 -131
- package/dist/plugin/hooks.js +5 -5
- package/dist/plugin/host.js +218 -218
- package/dist/plugin/identity.js +3 -3
- package/dist/plugin/instance.js +5 -5
- package/dist/plugin/internal.js +333 -333
- package/dist/plugin/mcp-codemode-defaults.js +3 -3
- package/dist/plugin/models-dev.js +96 -96
- package/dist/plugin/module.js +7 -7
- package/dist/plugin/optimize.js +4 -4
- package/dist/plugin/plan.js +102 -102
- package/dist/plugin/promise.js +1 -1
- package/dist/plugin/provider/amazon-bedrock.js +90 -90
- package/dist/plugin/provider/azure.js +122 -122
- package/dist/plugin/provider/cerebras.js +1 -1
- 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 +119 -119
- package/dist/plugin/provider/digitalocean.js +93 -93
- 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 +93 -93
- package/dist/plugin/provider/gitlab.js +93 -93
- package/dist/plugin/provider/google-vertex.js +90 -90
- package/dist/plugin/provider/kilo.js +1 -1
- package/dist/plugin/provider/llmgateway.js +77 -77
- package/dist/plugin/provider/lmstudio.js +122 -122
- package/dist/plugin/provider/modal.js +92 -92
- package/dist/plugin/provider/nvidia.js +1 -1
- package/dist/plugin/provider/ollama.js +122 -122
- package/dist/plugin/provider/openai.js +94 -94
- package/dist/plugin/provider/opencode.js +95 -95
- package/dist/plugin/provider/openrouter.js +91 -91
- package/dist/plugin/provider/perplexity.js +2 -2
- package/dist/plugin/provider/poe.js +78 -78
- package/dist/plugin/provider/prompt-cache-key.js +90 -90
- package/dist/plugin/provider/sap-ai-core.js +91 -91
- package/dist/plugin/provider/sdk-factory.js +1 -1
- package/dist/plugin/provider/snowflake-cortex.js +122 -122
- package/dist/plugin/provider/venice.js +2 -2
- package/dist/plugin/provider/vercel.js +90 -90
- package/dist/plugin/provider/vllm.js +120 -120
- package/dist/plugin/provider/xai.js +91 -91
- package/dist/plugin/provider/zenmux.js +1 -1
- package/dist/plugin/provider.js +160 -160
- package/dist/plugin/sdk.js +74 -74
- package/dist/plugin/service.js +3 -3
- package/dist/plugin/skill.js +141 -141
- package/dist/plugin/source-directory.js +1 -1
- package/dist/plugin/supervisor.js +348 -348
- package/dist/plugin/tool-input-repair.js +4 -4
- package/dist/plugin/update.js +6 -6
- package/dist/plugin/vcs/git.js +86 -86
- package/dist/plugin/vcs/hg.js +86 -86
- package/dist/plugin/warming.js +121 -121
- package/dist/plugin/websearch/exa.js +5 -5
- package/dist/plugin/websearch/firecrawl.js +8 -8
- package/dist/plugin/websearch/index.js +9 -9
- package/dist/plugin/websearch/mcp.js +4 -4
- package/dist/plugin/websearch/parallel.js +8 -8
- package/dist/plugin/websearch/tavily.js +6 -6
- package/dist/plugin/websearch/tinyfish.js +8 -8
- package/dist/plugin.js +225 -225
- package/dist/project/schema.js +6 -6
- package/dist/project/sql.js +4 -4
- package/dist/project.js +86 -86
- package/dist/provider.js +99 -99
- 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 +94 -94
- package/dist/reference/instructions.js +87 -87
- package/dist/reference.js +91 -91
- package/dist/repository-cache.js +81 -81
- package/dist/repository.js +3 -3
- package/dist/ripgrep/binary.js +2 -2
- package/dist/ripgrep.js +97 -97
- package/dist/rpc.js +86 -86
- package/dist/schema.js +1 -1
- package/dist/session/command.js +74 -74
- package/dist/session/compaction.js +132 -132
- package/dist/session/context.js +152 -152
- package/dist/session/diff.js +88 -88
- package/dist/session/environment.js +5 -5
- package/dist/session/error.js +5 -5
- package/dist/session/event.js +1 -1
- package/dist/session/execution/restart.js +223 -222
- package/dist/session/execution.js +128 -128
- package/dist/session/generate.js +153 -153
- package/dist/session/history.js +13 -13
- package/dist/session/inbox.js +88 -88
- package/dist/session/info.js +3 -3
- package/dist/session/instruction-entry.js +79 -79
- package/dist/session/instruction-state.js +8 -8
- package/dist/session/instructions.js +97 -97
- 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 +7 -7
- package/dist/session/move.js +130 -130
- package/dist/session/projector.js +86 -86
- package/dist/session/prompt.js +105 -105
- package/dist/session/provider-context.js +3 -3
- package/dist/session/revert.js +90 -90
- package/dist/session/run-coordinator.js +3 -3
- package/dist/session/runner/index.js +3 -3
- package/dist/session/runner/llm.js +229 -229
- 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 +124 -124
- 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 +138 -138
- package/dist/session/skill.js +103 -103
- package/dist/session/sql.js +5 -5
- package/dist/session/stats.js +73 -73
- package/dist/session/store.js +85 -85
- package/dist/session/subagent-completion.js +1 -1
- package/dist/session/subagent-job.js +210 -210
- package/dist/session/system-prompt.js +3 -3
- package/dist/session/title.js +150 -150
- package/dist/session/to-session-error.js +111 -111
- package/dist/session/transfer.js +217 -217
- package/dist/session/usage.js +1 -1
- package/dist/session.js +216 -216
- 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 +138 -138
- package/dist/skill/discovery.js +6 -6
- package/dist/skill/instructions.js +105 -105
- package/dist/skill.js +112 -112
- package/dist/snapshot.js +93 -93
- 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 +127 -127
- package/dist/tool/plugin/edit.js +120 -120
- package/dist/tool/plugin/file-diff.js +1 -1
- package/dist/tool/plugin/glob.js +124 -124
- package/dist/tool/plugin/grep.js +122 -122
- package/dist/tool/plugin/mcp-resource.js +116 -116
- package/dist/tool/plugin/opencode.js +3 -3
- package/dist/tool/plugin/patch.js +120 -120
- package/dist/tool/plugin/question.js +105 -105
- package/dist/tool/plugin/read.js +125 -125
- package/dist/tool/plugin/shell.js +217 -217
- package/dist/tool/plugin/skill.js +113 -113
- package/dist/tool/plugin/subagent.js +219 -219
- package/dist/tool/plugin/webfetch.js +110 -110
- package/dist/tool/plugin/websearch.js +112 -112
- package/dist/tool/plugin/write.js +114 -114
- package/dist/tool/read-filesystem.js +100 -100
- package/dist/tool/runtime.js +1 -1
- package/dist/tool-output.js +8 -8
- package/dist/tool.js +14 -14
- 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 +2 -2
- 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 +5 -5
- package/dist/v1/config/layout.js +1 -1
- package/dist/v1/config/lsp.js +3 -3
- package/dist/v1/config/mcp.js +4 -4
- package/dist/v1/config/migrate.js +92 -92
- 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/variant.js +93 -93
- package/dist/vcs/patch.js +1 -1
- package/dist/vcs.js +89 -89
- package/dist/websearch.js +84 -84
- package/dist/wellknown/plugin.js +76 -76
- package/dist/wellknown.js +81 -81
- package/dist/workspace/driver.js +5 -5
- package/dist/workspace/sql.js +1 -1
- package/dist/workspace.js +80 -80
- 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 +89 -89
- package/dist/worktree.js +96 -96
- package/package.json +8 -8
- package/dist/chunks/wellknown-agqhfaby.js +0 -252
- package/dist/chunks/wellknown-ht5y0zrb.js +0 -18
- package/dist/chunks/wellknown-zvrfp1rb.js +0 -26
- /package/dist/chunks/{wellknown-0mesazry.js → form-0mesazry.js} +0 -0
- /package/dist/chunks/{wellknown-0qkdqm5v.js → form-0qkdqm5v.js} +0 -0
- /package/dist/chunks/{wellknown-0zkw76rk.js → form-0zkw76rk.js} +0 -0
- /package/dist/chunks/{wellknown-17cy0kzp.js → form-17cy0kzp.js} +0 -0
- /package/dist/chunks/{wellknown-1cnp2v09.js → form-1cnp2v09.js} +0 -0
- /package/dist/chunks/{wellknown-1kg9ymc8.js → form-1kg9ymc8.js} +0 -0
- /package/dist/chunks/{wellknown-24dcb14g.js → form-24dcb14g.js} +0 -0
- /package/dist/chunks/{wellknown-2710q6r3.js → form-2710q6r3.js} +0 -0
- /package/dist/chunks/{wellknown-2axfhc9x.js → form-2axfhc9x.js} +0 -0
- /package/dist/chunks/{wellknown-2c3vjs8z.js → form-2c3vjs8z.js} +0 -0
- /package/dist/chunks/{wellknown-34c7v6d4.js → form-34c7v6d4.js} +0 -0
- /package/dist/chunks/{wellknown-359p4xyc.js → form-359p4xyc.js} +0 -0
- /package/dist/chunks/{wellknown-3asan66x.js → form-3asan66x.js} +0 -0
- /package/dist/chunks/{wellknown-3v8g72cx.js → form-3v8g72cx.js} +0 -0
- /package/dist/chunks/{wellknown-3w5fmr99.js → form-3w5fmr99.js} +0 -0
- /package/dist/chunks/{wellknown-3wcehsnq.js → form-3wcehsnq.js} +0 -0
- /package/dist/chunks/{wellknown-43n2bw4t.js → form-43n2bw4t.js} +0 -0
- /package/dist/chunks/{wellknown-4knz6hnm.js → form-4knz6hnm.js} +0 -0
- /package/dist/chunks/{wellknown-4vcrnpx2.js → form-4vcrnpx2.js} +0 -0
- /package/dist/chunks/{wellknown-4y7fprxs.js → form-4y7fprxs.js} +0 -0
- /package/dist/chunks/{wellknown-53557ph1.js → form-53557ph1.js} +0 -0
- /package/dist/chunks/{wellknown-550bvhaj.js → form-550bvhaj.js} +0 -0
- /package/dist/chunks/{wellknown-5qd3pb7m.js → form-5qd3pb7m.js} +0 -0
- /package/dist/chunks/{wellknown-6prwharc.js → form-6prwharc.js} +0 -0
- /package/dist/chunks/{wellknown-7akdwqpd.js → form-7akdwqpd.js} +0 -0
- /package/dist/chunks/{wellknown-7m9af43g.js → form-7m9af43g.js} +0 -0
- /package/dist/chunks/{wellknown-822emrt2.js → form-822emrt2.js} +0 -0
- /package/dist/chunks/{wellknown-88xbtdfr.js → form-88xbtdfr.js} +0 -0
- /package/dist/chunks/{wellknown-8n3pysct.js → form-8n3pysct.js} +0 -0
- /package/dist/chunks/{wellknown-8wj87zfr.js → form-8wj87zfr.js} +0 -0
- /package/dist/chunks/{wellknown-922hggd3.js → form-922hggd3.js} +0 -0
- /package/dist/chunks/{wellknown-9a4afbnw.js → form-9a4afbnw.js} +0 -0
- /package/dist/chunks/{wellknown-9rqn6x4v.js → form-9rqn6x4v.js} +0 -0
- /package/dist/chunks/{wellknown-a6k6eb26.js → form-a6k6eb26.js} +0 -0
- /package/dist/chunks/{wellknown-af5trqkr.js → form-af5trqkr.js} +0 -0
- /package/dist/chunks/{wellknown-afrmfg78.js → form-afrmfg78.js} +0 -0
- /package/dist/chunks/{wellknown-aqzs7mqg.js → form-aqzs7mqg.js} +0 -0
- /package/dist/chunks/{wellknown-atq7p7m5.js → form-atq7p7m5.js} +0 -0
- /package/dist/chunks/{wellknown-bkyjaxrp.js → form-bkyjaxrp.js} +0 -0
- /package/dist/chunks/{wellknown-bmr6ed5q.js → form-bmr6ed5q.js} +0 -0
- /package/dist/chunks/{wellknown-cf4snx6d.js → form-cf4snx6d.js} +0 -0
- /package/dist/chunks/{wellknown-cvy3z8tj.js → form-cvy3z8tj.js} +0 -0
- /package/dist/chunks/{wellknown-d9fn303g.js → form-d9fn303g.js} +0 -0
- /package/dist/chunks/{wellknown-d9jj8t3e.js → form-d9jj8t3e.js} +0 -0
- /package/dist/chunks/{wellknown-dajrwvna.js → form-dajrwvna.js} +0 -0
- /package/dist/chunks/{wellknown-dap0rakb.js → form-dap0rakb.js} +0 -0
- /package/dist/chunks/{wellknown-df08tz66.js → form-df08tz66.js} +0 -0
- /package/dist/chunks/{wellknown-dy18nga0.js → form-dy18nga0.js} +0 -0
- /package/dist/chunks/{wellknown-e5kj55wp.js → form-e5kj55wp.js} +0 -0
- /package/dist/chunks/{wellknown-e73j6tqm.js → form-e73j6tqm.js} +0 -0
- /package/dist/chunks/{wellknown-ec1grn59.js → form-ec1grn59.js} +0 -0
- /package/dist/chunks/{wellknown-eh3zwz77.js → form-eh3zwz77.js} +0 -0
- /package/dist/chunks/{wellknown-emrn6kk6.js → form-emrn6kk6.js} +0 -0
- /package/dist/chunks/{wellknown-f0mxakyp.js → form-f0mxakyp.js} +0 -0
- /package/dist/chunks/{wellknown-f6n9ztr4.js → form-f6n9ztr4.js} +0 -0
- /package/dist/chunks/{wellknown-faypxj3z.js → form-faypxj3z.js} +0 -0
- /package/dist/chunks/{wellknown-fd410y7t.js → form-fd410y7t.js} +0 -0
- /package/dist/chunks/{wellknown-fxgpk5d8.js → form-fxgpk5d8.js} +0 -0
- /package/dist/chunks/{wellknown-g4wezp1m.js → form-g4wezp1m.js} +0 -0
- /package/dist/chunks/{wellknown-g86h250q.js → form-g86h250q.js} +0 -0
- /package/dist/chunks/{wellknown-gebd4c9n.js → form-gebd4c9n.js} +0 -0
- /package/dist/chunks/{wellknown-gftt206x.js → form-gftt206x.js} +0 -0
- /package/dist/chunks/{wellknown-hjbc5kem.js → form-hjbc5kem.js} +0 -0
- /package/dist/chunks/{wellknown-hk9envan.js → form-hk9envan.js} +0 -0
- /package/dist/chunks/{wellknown-j2ntwpah.js → form-j2ntwpah.js} +0 -0
- /package/dist/chunks/{wellknown-j5zkgpj8.js → form-j5zkgpj8.js} +0 -0
- /package/dist/chunks/{wellknown-jjkms2e6.js → form-jjkms2e6.js} +0 -0
- /package/dist/chunks/{wellknown-jr7sbwjy.js → form-jr7sbwjy.js} +0 -0
- /package/dist/chunks/{wellknown-jwfs4k6c.js → form-jwfs4k6c.js} +0 -0
- /package/dist/chunks/{wellknown-jzg6c2d5.js → form-jzg6c2d5.js} +0 -0
- /package/dist/chunks/{wellknown-mp448xyj.js → form-mp448xyj.js} +0 -0
- /package/dist/chunks/{wellknown-msx8hqn2.js → form-msx8hqn2.js} +0 -0
- /package/dist/chunks/{wellknown-n05xt0ee.js → form-n05xt0ee.js} +0 -0
- /package/dist/chunks/{wellknown-n3j8tn72.js → form-n3j8tn72.js} +0 -0
- /package/dist/chunks/{wellknown-njntx4h6.js → form-njntx4h6.js} +0 -0
- /package/dist/chunks/{wellknown-q3sfg36h.js → form-q3sfg36h.js} +0 -0
- /package/dist/chunks/{wellknown-q74kybfr.js → form-q74kybfr.js} +0 -0
- /package/dist/chunks/{wellknown-qaymkmh1.js → form-qaymkmh1.js} +0 -0
- /package/dist/chunks/{wellknown-qb87gjwd.js → form-qb87gjwd.js} +0 -0
- /package/dist/chunks/{wellknown-qfa1cgps.js → form-qfa1cgps.js} +0 -0
- /package/dist/chunks/{wellknown-qg3g05ea.js → form-qg3g05ea.js} +0 -0
- /package/dist/chunks/{wellknown-qrg20bc0.js → form-qrg20bc0.js} +0 -0
- /package/dist/chunks/{wellknown-rcb2kzg1.js → form-rcb2kzg1.js} +0 -0
- /package/dist/chunks/{wellknown-sdp7kfr6.js → form-sdp7kfr6.js} +0 -0
- /package/dist/chunks/{wellknown-sk3qaz4a.js → form-sk3qaz4a.js} +0 -0
- /package/dist/chunks/{wellknown-ssg3fenm.js → form-ssg3fenm.js} +0 -0
- /package/dist/chunks/{wellknown-w803qqfp.js → form-w803qqfp.js} +0 -0
- /package/dist/chunks/{wellknown-wc3fc9cn.js → form-wc3fc9cn.js} +0 -0
- /package/dist/chunks/{wellknown-wer8tq1h.js → form-wer8tq1h.js} +0 -0
- /package/dist/chunks/{wellknown-wtztk69x.js → form-wtztk69x.js} +0 -0
- /package/dist/chunks/{wellknown-x0ckcb58.js → form-x0ckcb58.js} +0 -0
- /package/dist/chunks/{wellknown-x61499pn.js → form-x61499pn.js} +0 -0
- /package/dist/chunks/{wellknown-y44na4kk.js → form-y44na4kk.js} +0 -0
- /package/dist/chunks/{wellknown-y8cydn3q.js → form-y8cydn3q.js} +0 -0
- /package/dist/chunks/{wellknown-y8f7s663.js → form-y8f7s663.js} +0 -0
- /package/dist/chunks/{wellknown-ygaqb7jw.js → form-ygaqb7jw.js} +0 -0
- /package/dist/chunks/{wellknown-ym463w8f.js → form-ym463w8f.js} +0 -0
- /package/dist/chunks/{wellknown-z9919s4g.js → form-z9919s4g.js} +0 -0
|
@@ -1,23 +1,23 @@
|
|
|
1
1
|
import {
|
|
2
2
|
llmClient2
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./form-5t3nmthw.js";
|
|
4
4
|
import {
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
} from "./
|
|
5
|
+
Service66,
|
|
6
|
+
node70
|
|
7
|
+
} from "./form-trz9crgd.js";
|
|
8
8
|
import {
|
|
9
9
|
__export
|
|
10
|
-
} from "./
|
|
10
|
+
} from "./form-9rqn6x4v.js";
|
|
11
11
|
|
|
12
12
|
// src/generate.ts
|
|
13
|
-
var
|
|
14
|
-
__export(
|
|
15
|
-
Generate: () =>
|
|
13
|
+
var exports_generate = {};
|
|
14
|
+
__export(exports_generate, {
|
|
15
|
+
Generate: () => exports_generate,
|
|
16
16
|
ModelSelectionError: () => ModelSelectionError2,
|
|
17
|
-
Service: () =>
|
|
18
|
-
UnavailableError: () =>
|
|
19
|
-
layer: () =>
|
|
20
|
-
node: () =>
|
|
17
|
+
Service: () => Service21,
|
|
18
|
+
UnavailableError: () => UnavailableError2,
|
|
19
|
+
layer: () => layer9,
|
|
20
|
+
node: () => node24
|
|
21
21
|
});
|
|
22
22
|
import { LLM, LLMClient } from "@opencode/ai";
|
|
23
23
|
import { Context, Effect, Layer, Schema } from "effect";
|
|
@@ -27,17 +27,17 @@ class ModelSelectionError2 extends Schema.TaggedError()("Generate.ModelSelection
|
|
|
27
27
|
}) {
|
|
28
28
|
}
|
|
29
29
|
|
|
30
|
-
class
|
|
30
|
+
class UnavailableError2 extends Schema.TaggedError()("Generate.UnavailableError", {
|
|
31
31
|
message: Schema.String,
|
|
32
32
|
service: Schema.optional(Schema.String)
|
|
33
33
|
}) {
|
|
34
34
|
}
|
|
35
35
|
|
|
36
|
-
class
|
|
36
|
+
class Service21 extends Context.Service()("@opencode/Generate") {
|
|
37
37
|
}
|
|
38
|
-
var
|
|
38
|
+
var layer9 = Layer.effect(Service21, Effect.gen(function* () {
|
|
39
39
|
const llm = yield* LLMClient.Service;
|
|
40
|
-
const resolver = yield*
|
|
40
|
+
const resolver = yield* Service66;
|
|
41
41
|
const runText = Effect.fn("Generate.text")(function* (input) {
|
|
42
42
|
const resolved = yield* resolver.resolve(input.model).pipe(Effect.catchTag([
|
|
43
43
|
"SessionRunnerModel.VariantUnavailableError",
|
|
@@ -47,28 +47,28 @@ var layer20 = Layer.effect(Service57, Effect.gen(function* () {
|
|
|
47
47
|
"SessionRunnerModel.UnresolvedProviderVariablesError",
|
|
48
48
|
"SessionRunnerModel.UnsupportedCompactionError"
|
|
49
49
|
], (error) => {
|
|
50
|
-
const mapped = input.model ? new ModelSelectionError2({ message: error.message }) : new
|
|
50
|
+
const mapped = input.model ? new ModelSelectionError2({ message: error.message }) : new UnavailableError2({ message: error.message, service: error.providerID });
|
|
51
51
|
return Effect.fail(mapped);
|
|
52
52
|
}));
|
|
53
53
|
if (!resolved)
|
|
54
54
|
return yield* new ModelSelectionError2({
|
|
55
55
|
message: input.model ? `Model unavailable: ${input.model.providerID}/${input.model.id}` : "No model specified and no supported model is available"
|
|
56
56
|
});
|
|
57
|
-
const response = yield* llm.generate(LLM.request({ model: resolved.model, prompt: input.prompt })).pipe(Effect.mapError((error) => new
|
|
57
|
+
const response = yield* llm.generate(LLM.request({ model: resolved.model, prompt: input.prompt })).pipe(Effect.mapError((error) => new UnavailableError2({
|
|
58
58
|
message: error.message,
|
|
59
59
|
service: resolved.ref.providerID
|
|
60
60
|
})));
|
|
61
61
|
return response.text;
|
|
62
62
|
});
|
|
63
|
-
const text = (input) => runText(input).pipe(Effect.catchTag("Integration.Authorization", () => new
|
|
63
|
+
const text = (input) => runText(input).pipe(Effect.catchTag("Integration.Authorization", () => new UnavailableError2({
|
|
64
64
|
message: "Generation credentials are unavailable"
|
|
65
65
|
})));
|
|
66
|
-
return
|
|
66
|
+
return Service21.of({ text });
|
|
67
67
|
}));
|
|
68
|
-
var
|
|
69
|
-
service:
|
|
70
|
-
layer:
|
|
71
|
-
deps: [
|
|
68
|
+
var node24 = makeLocationNode({
|
|
69
|
+
service: Service21,
|
|
70
|
+
layer: layer9,
|
|
71
|
+
deps: [node70, llmClient2]
|
|
72
72
|
});
|
|
73
73
|
|
|
74
|
-
export { ModelSelectionError2,
|
|
74
|
+
export { ModelSelectionError2, UnavailableError2, Service21, layer9, node24, exports_generate };
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import {
|
|
2
|
-
|
|
3
|
-
} from "./
|
|
2
|
+
ID8
|
|
3
|
+
} from "./form-emn263y3.js";
|
|
4
4
|
|
|
5
5
|
// src/plugin/provider/openrouter.ts
|
|
6
6
|
import { Effect } from "effect";
|
|
@@ -21,7 +21,7 @@ var OpenRouterPlugin2 = define({
|
|
|
21
21
|
for (const item of models.provider.list()) {
|
|
22
22
|
if (item.provider.package !== "@opencode/ai/providers/openrouter")
|
|
23
23
|
continue;
|
|
24
|
-
for (const modelID of [
|
|
24
|
+
for (const modelID of [ID8.make("gpt-5-chat-latest"), ID8.make("openai/gpt-5-chat")]) {
|
|
25
25
|
if (!models.get(item.provider.id, modelID))
|
|
26
26
|
continue;
|
|
27
27
|
models.update(item.provider.id, modelID, (model) => {
|
|
@@ -1,30 +1,30 @@
|
|
|
1
1
|
import {
|
|
2
2
|
makeUnsafe2
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./form-y71avatq.js";
|
|
4
4
|
import {
|
|
5
5
|
__export
|
|
6
|
-
} from "./
|
|
6
|
+
} from "./form-9rqn6x4v.js";
|
|
7
7
|
|
|
8
8
|
// src/plugin/update.ts
|
|
9
9
|
var exports_update = {};
|
|
10
10
|
__export(exports_update, {
|
|
11
11
|
PluginUpdate: () => exports_update,
|
|
12
|
-
Service: () =>
|
|
13
|
-
node: () =>
|
|
12
|
+
Service: () => Service6,
|
|
13
|
+
node: () => node8
|
|
14
14
|
});
|
|
15
15
|
import { Clock, Context, Effect, Exit, Layer, Option, PubSub, Stream } from "effect";
|
|
16
16
|
import { Npm } from "@opencode/util/npm";
|
|
17
17
|
import { makeGlobalNode } from "@opencode/util/effect/app-node";
|
|
18
18
|
var interval = 24 * 60 * 60 * 1000;
|
|
19
19
|
|
|
20
|
-
class
|
|
20
|
+
class Service6 extends Context.Service()("@opencode/PluginUpdate") {
|
|
21
21
|
}
|
|
22
|
-
var layer = Layer.effect(
|
|
22
|
+
var layer = Layer.effect(Service6, Effect.gen(function* () {
|
|
23
23
|
const npm = yield* Npm.Service;
|
|
24
24
|
const locks = makeUnsafe2();
|
|
25
25
|
const status = new Map;
|
|
26
26
|
const changes = yield* PubSub.unbounded();
|
|
27
|
-
return
|
|
27
|
+
return Service6.of({
|
|
28
28
|
check: (target, options) => locks.withLock(target)(Effect.gen(function* () {
|
|
29
29
|
const checkedAt = yield* Clock.currentTimeMillis;
|
|
30
30
|
const current = status.get(target);
|
|
@@ -49,6 +49,6 @@ var layer = Layer.effect(Service11, Effect.gen(function* () {
|
|
|
49
49
|
changes: () => Stream.fromPubSub(changes)
|
|
50
50
|
});
|
|
51
51
|
}));
|
|
52
|
-
var
|
|
52
|
+
var node8 = makeGlobalNode({ service: Service6, layer, deps: [Npm.node] });
|
|
53
53
|
|
|
54
|
-
export {
|
|
54
|
+
export { Service6, node8, exports_update };
|
|
@@ -1,36 +1,36 @@
|
|
|
1
1
|
import {
|
|
2
2
|
Service83
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./form-19tft2ya.js";
|
|
4
4
|
import {
|
|
5
|
-
|
|
6
|
-
} from "./
|
|
5
|
+
Service38
|
|
6
|
+
} from "./form-fpxnyzjx.js";
|
|
7
7
|
import {
|
|
8
|
-
|
|
9
|
-
} from "./
|
|
8
|
+
Error3
|
|
9
|
+
} from "./form-as6bcte4.js";
|
|
10
10
|
import {
|
|
11
|
-
|
|
12
|
-
} from "./
|
|
11
|
+
Service52
|
|
12
|
+
} from "./form-ba4w6g48.js";
|
|
13
13
|
import {
|
|
14
14
|
StepFailedError2
|
|
15
|
-
} from "./
|
|
15
|
+
} from "./form-3ktbe3hf.js";
|
|
16
16
|
import {
|
|
17
17
|
SessionEvent2
|
|
18
|
-
} from "./
|
|
18
|
+
} from "./form-ec1grn59.js";
|
|
19
19
|
import {
|
|
20
20
|
toSessionError2
|
|
21
|
-
} from "./
|
|
21
|
+
} from "./form-f9wy4a67.js";
|
|
22
22
|
import {
|
|
23
23
|
calculateCost2
|
|
24
|
-
} from "./
|
|
24
|
+
} from "./form-tdstcens.js";
|
|
25
25
|
import {
|
|
26
26
|
createLLMEventPublisher2
|
|
27
|
-
} from "./
|
|
27
|
+
} from "./form-erw5rpbs.js";
|
|
28
28
|
import {
|
|
29
29
|
isRetryable2
|
|
30
|
-
} from "./
|
|
30
|
+
} from "./form-f9rzce54.js";
|
|
31
31
|
import {
|
|
32
32
|
__export
|
|
33
|
-
} from "./
|
|
33
|
+
} from "./form-9rqn6x4v.js";
|
|
34
34
|
|
|
35
35
|
// src/session/runner/step.ts
|
|
36
36
|
var exports_step = {};
|
|
@@ -54,8 +54,8 @@ var RESULT_MISSING = { type: "tool.result-missing", message: "Provider did not r
|
|
|
54
54
|
var make3 = Effect.gen(function* () {
|
|
55
55
|
const bus = yield* Service83;
|
|
56
56
|
const llm = yield* LLMClient.Service;
|
|
57
|
-
const snapshots = yield*
|
|
58
|
-
const toolOutput = yield*
|
|
57
|
+
const snapshots = yield* Service38;
|
|
58
|
+
const toolOutput = yield* Service52;
|
|
59
59
|
const attempt = Effect.fn("SessionStep.attempt")(function* (input) {
|
|
60
60
|
const startSnapshot = yield* snapshots.capture();
|
|
61
61
|
const publisher = createLLMEventPublisher2(bus, {
|
|
@@ -71,7 +71,7 @@ var make3 = Effect.gen(function* () {
|
|
|
71
71
|
const interruptTools = Effect.suspend(() => Fiber.interruptAll(toolRuns.map((run) => run.fiber)));
|
|
72
72
|
const executeTool = (call) => {
|
|
73
73
|
if (input.prepared.request.toolChoice?.type === "none")
|
|
74
|
-
return new
|
|
74
|
+
return new Error3({ message: "Tools are disabled after the maximum agent steps" });
|
|
75
75
|
return input.prepared.executeTool({
|
|
76
76
|
sessionID: input.sessionID,
|
|
77
77
|
agent: input.agent,
|
|
@@ -1,63 +1,63 @@
|
|
|
1
1
|
import {
|
|
2
2
|
Service84,
|
|
3
3
|
node88
|
|
4
|
-
} from "./
|
|
4
|
+
} from "./form-11pq52jb.js";
|
|
5
5
|
import {
|
|
6
6
|
Service83,
|
|
7
7
|
node87
|
|
8
|
-
} from "./
|
|
8
|
+
} from "./form-19tft2ya.js";
|
|
9
9
|
import {
|
|
10
10
|
CredentialTable2
|
|
11
|
-
} from "./
|
|
11
|
+
} from "./form-pknna89w.js";
|
|
12
12
|
import {
|
|
13
13
|
from2
|
|
14
|
-
} from "./
|
|
14
|
+
} from "./form-3zsf4n22.js";
|
|
15
15
|
import {
|
|
16
16
|
__export
|
|
17
|
-
} from "./
|
|
17
|
+
} from "./form-9rqn6x4v.js";
|
|
18
18
|
|
|
19
19
|
// src/credential.ts
|
|
20
20
|
var exports_credential = {};
|
|
21
21
|
__export(exports_credential, {
|
|
22
22
|
Credential: () => exports_credential,
|
|
23
|
-
Event: () =>
|
|
24
|
-
ID: () =>
|
|
25
|
-
Info: () =>
|
|
23
|
+
Event: () => Event17,
|
|
24
|
+
ID: () => ID11,
|
|
25
|
+
Info: () => Info26,
|
|
26
26
|
Key: () => Key3,
|
|
27
27
|
OAuth: () => OAuth3,
|
|
28
|
-
Service: () =>
|
|
28
|
+
Service: () => Service71,
|
|
29
29
|
Value: () => Value2,
|
|
30
|
-
node: () =>
|
|
30
|
+
node: () => node75
|
|
31
31
|
});
|
|
32
32
|
import { asc, desc, eq } from "drizzle-orm";
|
|
33
33
|
import { Cause, Context, Effect, Layer, Schema } from "effect";
|
|
34
34
|
import { Credential } from "@opencode/schema/credential";
|
|
35
35
|
import { Integration } from "@opencode/schema/integration";
|
|
36
36
|
import { makeGlobalNode } from "@opencode/util/effect/app-node";
|
|
37
|
-
var
|
|
37
|
+
var ID11 = Credential.ID;
|
|
38
38
|
var OAuth3 = Credential.OAuth;
|
|
39
39
|
var Key3 = Credential.Key;
|
|
40
40
|
var Value2 = Credential.Value;
|
|
41
|
-
var
|
|
41
|
+
var Event17 = Credential.Event;
|
|
42
42
|
|
|
43
|
-
class
|
|
44
|
-
id:
|
|
43
|
+
class Info26 extends Schema.Class("Credential.Info")({
|
|
44
|
+
id: ID11,
|
|
45
45
|
integrationID: Integration.ID,
|
|
46
46
|
label: Schema.String,
|
|
47
47
|
value: Value2
|
|
48
48
|
}) {
|
|
49
49
|
}
|
|
50
50
|
|
|
51
|
-
class
|
|
51
|
+
class Service71 extends Context.Service()("@opencode/Credential") {
|
|
52
52
|
}
|
|
53
|
-
var layer = Layer.effect(
|
|
53
|
+
var layer = Layer.effect(Service71, Effect.gen(function* () {
|
|
54
54
|
const db = (yield* Service84).db;
|
|
55
55
|
const bus = yield* Service83;
|
|
56
56
|
const decode = Schema.decodeUnknownSync(Value2);
|
|
57
57
|
const stored = (row) => {
|
|
58
58
|
if (!row.integration_id)
|
|
59
59
|
return;
|
|
60
|
-
return new
|
|
60
|
+
return new Info26({
|
|
61
61
|
id: row.id,
|
|
62
62
|
integrationID: row.integration_id,
|
|
63
63
|
label: row.label,
|
|
@@ -68,7 +68,7 @@ var layer = Layer.effect(Service65, Effect.gen(function* () {
|
|
|
68
68
|
const credential = stored(row);
|
|
69
69
|
return credential ? [credential] : [];
|
|
70
70
|
});
|
|
71
|
-
return
|
|
71
|
+
return Service71.of({
|
|
72
72
|
all: Effect.fn("Credential.all")(() => db.select().from(CredentialTable2).orderBy(asc(CredentialTable2.active), asc(CredentialTable2.time_created), asc(CredentialTable2.id)).all().pipe(Effect.orDie, Effect.map(storedRows))),
|
|
73
73
|
list: Effect.fn("Credential.list")((integrationID) => db.select().from(CredentialTable2).where(eq(CredentialTable2.integration_id, integrationID)).orderBy(asc(CredentialTable2.active), asc(CredentialTable2.time_created), asc(CredentialTable2.id)).all().pipe(Effect.orDie, Effect.map(storedRows))),
|
|
74
74
|
get: Effect.fn("Credential.get")(function* (id) {
|
|
@@ -76,8 +76,8 @@ var layer = Layer.effect(Service65, Effect.gen(function* () {
|
|
|
76
76
|
return row ? stored(row) : undefined;
|
|
77
77
|
}),
|
|
78
78
|
create: Effect.fn("Credential.create")(function* (input) {
|
|
79
|
-
const credential = new
|
|
80
|
-
id:
|
|
79
|
+
const credential = new Info26({
|
|
80
|
+
id: ID11.create(),
|
|
81
81
|
integrationID: input.integrationID,
|
|
82
82
|
label: input.label ?? "default",
|
|
83
83
|
value: input.value
|
|
@@ -101,8 +101,8 @@ var layer = Layer.effect(Service65, Effect.gen(function* () {
|
|
|
101
101
|
integrationID: credential.integrationID,
|
|
102
102
|
type: credential.value.type
|
|
103
103
|
});
|
|
104
|
-
yield* bus.publish(
|
|
105
|
-
yield* bus.publish(
|
|
104
|
+
yield* bus.publish(Event17.Updated, {}, { global: true });
|
|
105
|
+
yield* bus.publish(Event17.Switched, { integrationID: credential.integrationID, credentialID: credential.id }, { global: true });
|
|
106
106
|
return credential;
|
|
107
107
|
}),
|
|
108
108
|
activate: Effect.fn("Credential.activate")(function* (id) {
|
|
@@ -122,7 +122,7 @@ var layer = Layer.effect(Service65, Effect.gen(function* () {
|
|
|
122
122
|
})), Effect.orDie);
|
|
123
123
|
if (integrationID) {
|
|
124
124
|
yield* Effect.logInfo("credential activated", { integrationID, credentialID: id });
|
|
125
|
-
yield* bus.publish(
|
|
125
|
+
yield* bus.publish(Event17.Switched, { integrationID, credentialID: id }, { global: true });
|
|
126
126
|
}
|
|
127
127
|
}),
|
|
128
128
|
update: Effect.fn("Credential.update")(function* (id, updates) {
|
|
@@ -154,7 +154,7 @@ var layer = Layer.effect(Service65, Effect.gen(function* () {
|
|
|
154
154
|
labelChanged: updates.label !== undefined && updates.label !== credential.label
|
|
155
155
|
});
|
|
156
156
|
if (updates.label !== undefined && updates.label !== credential.label)
|
|
157
|
-
yield* bus.publish(
|
|
157
|
+
yield* bus.publish(Event17.Updated, {}, { global: true });
|
|
158
158
|
}),
|
|
159
159
|
remove: Effect.fn("Credential.remove")(function* (id) {
|
|
160
160
|
const removed = yield* db.transaction((tx) => Effect.gen(function* () {
|
|
@@ -187,12 +187,12 @@ var layer = Layer.effect(Service65, Effect.gen(function* () {
|
|
|
187
187
|
active: removed.switched,
|
|
188
188
|
...removed.switched ? { replacementID: removed.credentialID } : {}
|
|
189
189
|
});
|
|
190
|
-
yield* bus.publish(
|
|
190
|
+
yield* bus.publish(Event17.Updated, {}, { global: true });
|
|
191
191
|
if (removed.switched)
|
|
192
|
-
yield* bus.publish(
|
|
192
|
+
yield* bus.publish(Event17.Switched, { integrationID: removed.integrationID, credentialID: removed.credentialID }, { global: true });
|
|
193
193
|
})
|
|
194
194
|
});
|
|
195
195
|
}));
|
|
196
|
-
var
|
|
196
|
+
var node75 = makeGlobalNode({ service: Service71, layer, deps: [node88, node87] });
|
|
197
197
|
|
|
198
|
-
export {
|
|
198
|
+
export { ID11, OAuth3, Key3, Value2, Event17, Info26, Service71, node75, exports_credential };
|
|
@@ -1,20 +1,20 @@
|
|
|
1
1
|
import {
|
|
2
2
|
OAuth3
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./form-hfj9a1t1.js";
|
|
4
4
|
import {
|
|
5
|
-
|
|
5
|
+
ID10,
|
|
6
6
|
MethodID2
|
|
7
|
-
} from "./
|
|
7
|
+
} from "./form-s2hgmt76.js";
|
|
8
8
|
import {
|
|
9
9
|
success2,
|
|
10
10
|
error2
|
|
11
|
-
} from "./
|
|
11
|
+
} from "./form-pjvnvgmy.js";
|
|
12
12
|
|
|
13
13
|
// src/plugin/provider/poe.ts
|
|
14
14
|
import { define } from "@opencode/plugin/effect/plugin";
|
|
15
15
|
import { Clock, Deferred, Effect, Option, Schema } from "effect";
|
|
16
16
|
import { HttpClient, HttpClientRequest, HttpClientResponse } from "effect/unstable/http";
|
|
17
|
-
var integrationID =
|
|
17
|
+
var integrationID = ID10.make("poe");
|
|
18
18
|
var methodID = MethodID2.make("browser");
|
|
19
19
|
var clientID = "client_728290227fc048cc9262091a1ea197ea";
|
|
20
20
|
var issuer = "https://poe.com";
|
|
@@ -1,10 +1,10 @@
|
|
|
1
1
|
import {
|
|
2
2
|
AbsolutePath2,
|
|
3
3
|
RelativePath2
|
|
4
|
-
} from "./
|
|
4
|
+
} from "./form-922hggd3.js";
|
|
5
5
|
import {
|
|
6
6
|
SessionSchema2
|
|
7
|
-
} from "./
|
|
7
|
+
} from "./form-q3t37ft6.js";
|
|
8
8
|
|
|
9
9
|
// src/session/info.ts
|
|
10
10
|
import { DateTime, Schema } from "effect";
|
|
@@ -1,44 +1,44 @@
|
|
|
1
1
|
import {
|
|
2
|
-
|
|
3
|
-
} from "./
|
|
2
|
+
Service73
|
|
3
|
+
} from "./form-78eghtzp.js";
|
|
4
4
|
import {
|
|
5
5
|
MAX_MARKDOWN_BYTES2,
|
|
6
6
|
convertHTMLToMarkdown2
|
|
7
|
-
} from "./
|
|
7
|
+
} from "./form-4vcrnpx2.js";
|
|
8
8
|
import {
|
|
9
9
|
collectBoundedResponseBody2
|
|
10
|
-
} from "./
|
|
10
|
+
} from "./form-3v8g72cx.js";
|
|
11
11
|
import {
|
|
12
12
|
__export
|
|
13
|
-
} from "./
|
|
13
|
+
} from "./form-9rqn6x4v.js";
|
|
14
14
|
|
|
15
15
|
// src/tool/plugin/webfetch.ts
|
|
16
16
|
var exports_webfetch = {};
|
|
17
17
|
__export(exports_webfetch, {
|
|
18
18
|
DEFAULT_TIMEOUT_SECONDS: () => DEFAULT_TIMEOUT_SECONDS2,
|
|
19
|
-
Input: () =>
|
|
20
|
-
MAX_RESPONSE_BYTES: () =>
|
|
19
|
+
Input: () => Input5,
|
|
20
|
+
MAX_RESPONSE_BYTES: () => MAX_RESPONSE_BYTES3,
|
|
21
21
|
MAX_TIMEOUT_SECONDS: () => MAX_TIMEOUT_SECONDS2,
|
|
22
|
-
Plugin: () =>
|
|
22
|
+
Plugin: () => Plugin41,
|
|
23
23
|
WebFetchTool: () => exports_webfetch,
|
|
24
24
|
convertHTMLToMarkdown: () => convertHTMLToMarkdown2,
|
|
25
25
|
description: () => description3,
|
|
26
26
|
extractTextFromHTML: () => extractTextFromHTML2,
|
|
27
|
-
name: () =>
|
|
27
|
+
name: () => name5
|
|
28
28
|
});
|
|
29
29
|
import { ToolFailure } from "@opencode/ai";
|
|
30
30
|
import { Duration, Effect, Schema } from "effect";
|
|
31
31
|
import { HttpClient, HttpClientRequest, HttpClientResponse } from "effect/unstable/http";
|
|
32
32
|
import { Parser } from "htmlparser2";
|
|
33
|
-
var
|
|
34
|
-
var
|
|
33
|
+
var name5 = "webfetch";
|
|
34
|
+
var MAX_RESPONSE_BYTES3 = MAX_MARKDOWN_BYTES2;
|
|
35
35
|
var DEFAULT_TIMEOUT_SECONDS2 = 30;
|
|
36
36
|
var MAX_TIMEOUT_SECONDS2 = 120;
|
|
37
37
|
var description3 = `Fetch content from an HTTP or HTTPS URL and return it as text, markdown, or HTML. Markdown is the default.
|
|
38
38
|
|
|
39
39
|
Use a more targeted tool when one is available. This tool is read-only. Large text results may be replaced with a preview while the complete output is retained in managed storage.`;
|
|
40
40
|
var Timeout = Schema.Finite.check(Schema.isGreaterThan(0), Schema.isLessThanOrEqualTo(MAX_TIMEOUT_SECONDS2));
|
|
41
|
-
var
|
|
41
|
+
var Input5 = Schema.Struct({
|
|
42
42
|
url: Schema.String.annotate({ description: "The HTTP or HTTPS URL to fetch content from" }),
|
|
43
43
|
format: Schema.Literals(["text", "markdown", "html"]).annotate({ description: "The format to return the content in. Defaults to markdown." }).pipe(Schema.withDecodingDefaultKey(Effect.succeed("markdown"))),
|
|
44
44
|
timeout: Schema.optionalKey(Timeout).annotate({
|
|
@@ -48,7 +48,7 @@ var Input4 = Schema.Struct({
|
|
|
48
48
|
var Output = Schema.Struct({
|
|
49
49
|
url: Schema.String,
|
|
50
50
|
contentType: Schema.String,
|
|
51
|
-
format:
|
|
51
|
+
format: Input5.fields.format,
|
|
52
52
|
output: Schema.String
|
|
53
53
|
});
|
|
54
54
|
var acceptHeader = (format) => {
|
|
@@ -79,7 +79,7 @@ var assertHttpUrl = (url) => {
|
|
|
79
79
|
throw new Error("URL must use http:// or https://");
|
|
80
80
|
};
|
|
81
81
|
var execute = (http, url, format, userAgent = openCodeUserAgent) => http.execute(request(url, format, userAgent)).pipe(Effect.flatMap(HttpClientResponse.filterStatusOk));
|
|
82
|
-
var collectBody = (response) => collectBoundedResponseBody2(response,
|
|
82
|
+
var collectBody = (response) => collectBoundedResponseBody2(response, MAX_RESPONSE_BYTES3, () => new Error(`Response too large (exceeds ${MAX_RESPONSE_BYTES3} byte limit)`));
|
|
83
83
|
var mimeFrom = (contentType) => contentType.split(";", 1)[0]?.trim().toLowerCase() ?? "";
|
|
84
84
|
var isImageAttachment = (mime) => mime.startsWith("image/") && mime !== "image/svg+xml" && mime !== "image/vnd.fastbidsheet";
|
|
85
85
|
var isTextualMime = (mime) => !mime || mime.startsWith("text/") || mime === "application/json" || mime.endsWith("+json") || mime === "application/xml" || mime.endsWith("+xml") || mime === "application/javascript" || mime === "application/x-javascript";
|
|
@@ -92,16 +92,16 @@ var convert = (content, contentType, format) => {
|
|
|
92
92
|
return extractTextFromHTML2(content);
|
|
93
93
|
return content;
|
|
94
94
|
};
|
|
95
|
-
var
|
|
95
|
+
var Plugin41 = {
|
|
96
96
|
id: "opencode.tool.webfetch",
|
|
97
97
|
effect: Effect.fn("WebFetchTool.Plugin")(function* (ctx) {
|
|
98
98
|
const http = yield* HttpClient.HttpClient;
|
|
99
|
-
const permission = yield*
|
|
99
|
+
const permission = yield* Service73;
|
|
100
100
|
yield* ctx.tool.transform((editor) => editor.add({
|
|
101
|
-
name:
|
|
101
|
+
name: name5,
|
|
102
102
|
options: { codemode: false },
|
|
103
103
|
description: description3,
|
|
104
|
-
input:
|
|
104
|
+
input: Input5,
|
|
105
105
|
output: Output,
|
|
106
106
|
execute: (input, context) => Effect.gen(function* () {
|
|
107
107
|
yield* Effect.try({
|
|
@@ -109,7 +109,7 @@ var Plugin4 = {
|
|
|
109
109
|
catch: (error) => error
|
|
110
110
|
});
|
|
111
111
|
yield* permission.assert({
|
|
112
|
-
action:
|
|
112
|
+
action: name5,
|
|
113
113
|
resources: [input.url],
|
|
114
114
|
save: ["*"],
|
|
115
115
|
metadata: input,
|
|
@@ -167,4 +167,4 @@ function extractTextFromHTML2(html) {
|
|
|
167
167
|
parser.end();
|
|
168
168
|
return text.trim();
|
|
169
169
|
}
|
|
170
|
-
export {
|
|
170
|
+
export { name5, MAX_RESPONSE_BYTES3, DEFAULT_TIMEOUT_SECONDS2, MAX_TIMEOUT_SECONDS2, description3, Input5, Plugin41, extractTextFromHTML2, exports_webfetch };
|
|
@@ -1,32 +1,32 @@
|
|
|
1
1
|
import {
|
|
2
|
-
|
|
3
|
-
} from "./
|
|
2
|
+
Service42
|
|
3
|
+
} from "./form-4n4fn861.js";
|
|
4
4
|
import {
|
|
5
|
-
|
|
6
|
-
} from "./
|
|
5
|
+
Service41
|
|
6
|
+
} from "./form-8mhxxeg4.js";
|
|
7
7
|
import {
|
|
8
8
|
parse2
|
|
9
|
-
} from "./
|
|
9
|
+
} from "./form-vaabtg8n.js";
|
|
10
10
|
import {
|
|
11
11
|
__export
|
|
12
|
-
} from "./
|
|
12
|
+
} from "./form-9rqn6x4v.js";
|
|
13
13
|
|
|
14
14
|
// src/config/plugin/compatibility.ts
|
|
15
15
|
var exports_compatibility = {};
|
|
16
16
|
__export(exports_compatibility, {
|
|
17
17
|
ConfigCompatibilityPlugin: () => exports_compatibility,
|
|
18
|
-
Plugin: () =>
|
|
18
|
+
Plugin: () => Plugin16
|
|
19
19
|
});
|
|
20
20
|
import { define } from "@opencode/plugin/effect/plugin";
|
|
21
21
|
import { FSUtil } from "@opencode/util/fs-util";
|
|
22
22
|
import path from "path";
|
|
23
23
|
import { Effect, FiberMap, PubSub, Semaphore, Stream } from "effect";
|
|
24
|
-
var
|
|
24
|
+
var Plugin16 = define({
|
|
25
25
|
id: "opencode.config.compatibility",
|
|
26
26
|
effect: Effect.fn(function* (ctx) {
|
|
27
|
-
const config = yield*
|
|
27
|
+
const config = yield* Service41;
|
|
28
28
|
const fs = yield* FSUtil.Service;
|
|
29
|
-
const watcher = yield*
|
|
29
|
+
const watcher = yield* Service42;
|
|
30
30
|
const watches = yield* FiberMap.make();
|
|
31
31
|
const changes = yield* PubSub.sliding(1);
|
|
32
32
|
const lock = Semaphore.makeUnsafe(1);
|
|
@@ -73,4 +73,4 @@ var Plugin23 = define({
|
|
|
73
73
|
})
|
|
74
74
|
});
|
|
75
75
|
|
|
76
|
-
export {
|
|
76
|
+
export { Plugin16, exports_compatibility };
|