@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,21 +1,21 @@
|
|
|
1
1
|
import {
|
|
2
2
|
definition2
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./form-3w5fmr99.js";
|
|
4
4
|
import {
|
|
5
5
|
__export
|
|
6
|
-
} from "./
|
|
6
|
+
} from "./form-9rqn6x4v.js";
|
|
7
7
|
|
|
8
8
|
// src/plugin/tool-input-repair.ts
|
|
9
9
|
var exports_tool_input_repair = {};
|
|
10
10
|
__export(exports_tool_input_repair, {
|
|
11
|
-
Plugin: () =>
|
|
11
|
+
Plugin: () => Plugin33,
|
|
12
12
|
ToolInputRepairPlugin: () => exports_tool_input_repair
|
|
13
13
|
});
|
|
14
14
|
import { define } from "@opencode/plugin/effect/plugin";
|
|
15
15
|
import { Effect, Option, Predicate, Schema } from "effect";
|
|
16
16
|
var decodeJson = Schema.decodeUnknownOption(Schema.fromJsonString(Schema.Unknown));
|
|
17
17
|
var maxDepth = 6;
|
|
18
|
-
var
|
|
18
|
+
var Plugin33 = define({
|
|
19
19
|
id: "opencode.tool.input.repair",
|
|
20
20
|
effect: (ctx) => ctx.tool.hook("execute.before", (event) => Effect.gen(function* () {
|
|
21
21
|
if (event.tool === "execute")
|
|
@@ -120,4 +120,4 @@ function repairArray(value, schema, root, depth) {
|
|
|
120
120
|
return compatible ? [repaired] : value;
|
|
121
121
|
}
|
|
122
122
|
|
|
123
|
-
export {
|
|
123
|
+
export { Plugin33, exports_tool_input_repair };
|
|
@@ -1,22 +1,22 @@
|
|
|
1
1
|
import {
|
|
2
2
|
Service83
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./form-19tft2ya.js";
|
|
4
4
|
import {
|
|
5
|
-
|
|
6
|
-
} from "./
|
|
5
|
+
Service80
|
|
6
|
+
} from "./form-vr6tcf4m.js";
|
|
7
7
|
import {
|
|
8
8
|
PromptsChanged2,
|
|
9
|
-
|
|
10
|
-
} from "./
|
|
9
|
+
Service35
|
|
10
|
+
} from "./form-pv751y59.js";
|
|
11
11
|
import {
|
|
12
12
|
__export
|
|
13
|
-
} from "./
|
|
13
|
+
} from "./form-9rqn6x4v.js";
|
|
14
14
|
|
|
15
15
|
// src/plugin/command.ts
|
|
16
16
|
var exports_command2 = {};
|
|
17
17
|
__export(exports_command2, {
|
|
18
18
|
CommandPlugin: () => exports_command2,
|
|
19
|
-
Plugin: () =>
|
|
19
|
+
Plugin: () => Plugin30
|
|
20
20
|
});
|
|
21
21
|
import { define } from "@opencode/plugin/effect/plugin";
|
|
22
22
|
import { Effect, Stream } from "effect";
|
|
@@ -193,11 +193,11 @@ If you're uncertain about something and can't verify it with these tools, say "I
|
|
|
193
193
|
`;
|
|
194
194
|
|
|
195
195
|
// src/plugin/command.ts
|
|
196
|
-
var
|
|
196
|
+
var Plugin30 = define({
|
|
197
197
|
id: "opencode.command",
|
|
198
198
|
effect: Effect.fn(function* (ctx) {
|
|
199
|
-
const location = yield*
|
|
200
|
-
const mcp = yield*
|
|
199
|
+
const location = yield* Service80;
|
|
200
|
+
const mcp = yield* Service35;
|
|
201
201
|
const bus = yield* Service83;
|
|
202
202
|
const loaded = { prompts: [] };
|
|
203
203
|
yield* bus.subscribe(PromptsChanged2).pipe(Stream.runForEach(() => mcp.prompts().pipe(Effect.tap((prompts) => Effect.sync(() => loaded.prompts = prompts)), Effect.andThen(ctx.command.reload()))), Effect.forkScoped({ startImmediately: true }));
|
|
@@ -280,4 +280,4 @@ function sanitize(value) {
|
|
|
280
280
|
var argsRegex = /(?:\[Image\s+\d+\]|"[^"]*"|'[^']*'|[^\s"']+)/gi;
|
|
281
281
|
var quoteTrimRegex = /^["']|["']$/g;
|
|
282
282
|
|
|
283
|
-
export {
|
|
283
|
+
export { Plugin30, exports_command2 };
|
|
@@ -1,51 +1,51 @@
|
|
|
1
1
|
import {
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
} from "./
|
|
2
|
+
ID16,
|
|
3
|
+
Service78
|
|
4
|
+
} from "./form-zaancc48.js";
|
|
5
5
|
import {
|
|
6
6
|
Ref2,
|
|
7
|
-
|
|
8
|
-
} from "./
|
|
7
|
+
Service68
|
|
8
|
+
} from "./form-emn263y3.js";
|
|
9
9
|
import {
|
|
10
10
|
latest2,
|
|
11
|
-
|
|
12
|
-
} from "./
|
|
11
|
+
Service41
|
|
12
|
+
} from "./form-8mhxxeg4.js";
|
|
13
13
|
import {
|
|
14
14
|
SessionSchema2
|
|
15
|
-
} from "./
|
|
15
|
+
} from "./form-q3t37ft6.js";
|
|
16
16
|
import {
|
|
17
|
-
|
|
18
|
-
} from "./
|
|
17
|
+
Service58
|
|
18
|
+
} from "./form-m1de2ch9.js";
|
|
19
19
|
import {
|
|
20
20
|
evaluate2,
|
|
21
|
-
|
|
22
|
-
} from "./
|
|
21
|
+
Service73
|
|
22
|
+
} from "./form-78eghtzp.js";
|
|
23
23
|
import {
|
|
24
|
-
|
|
25
|
-
} from "./
|
|
24
|
+
Service23
|
|
25
|
+
} from "./form-15znadw3.js";
|
|
26
26
|
import {
|
|
27
27
|
NO_TEXT2
|
|
28
|
-
} from "./
|
|
28
|
+
} from "./form-x1ezjp6w.js";
|
|
29
29
|
import {
|
|
30
|
-
|
|
31
|
-
} from "./
|
|
30
|
+
make10
|
|
31
|
+
} from "./form-e3kb8xnq.js";
|
|
32
32
|
import {
|
|
33
33
|
__export
|
|
34
|
-
} from "./
|
|
34
|
+
} from "./form-9rqn6x4v.js";
|
|
35
35
|
|
|
36
36
|
// src/tool/plugin/subagent.ts
|
|
37
37
|
var exports_subagent = {};
|
|
38
38
|
__export(exports_subagent, {
|
|
39
|
-
Input: () =>
|
|
40
|
-
Output: () =>
|
|
41
|
-
Plugin: () =>
|
|
39
|
+
Input: () => Input4,
|
|
40
|
+
Output: () => Output3,
|
|
41
|
+
Plugin: () => Plugin39,
|
|
42
42
|
SubagentTool: () => exports_subagent,
|
|
43
|
-
description: () =>
|
|
44
|
-
name: () =>
|
|
43
|
+
description: () => description2,
|
|
44
|
+
name: () => name4
|
|
45
45
|
});
|
|
46
46
|
import { ToolFailure } from "@opencode/ai";
|
|
47
47
|
import { Effect, Predicate, Schema } from "effect";
|
|
48
|
-
var
|
|
48
|
+
var name4 = "subagent";
|
|
49
49
|
var backgroundResult = (sessionID) => ({
|
|
50
50
|
sessionID,
|
|
51
51
|
status: "running",
|
|
@@ -56,7 +56,7 @@ var backgroundResult = (sessionID) => ({
|
|
|
56
56
|
].join(`
|
|
57
57
|
`)
|
|
58
58
|
});
|
|
59
|
-
var
|
|
59
|
+
var Input4 = Schema.Struct({
|
|
60
60
|
agent: Schema.String.annotate({
|
|
61
61
|
description: "The type of specialized agent to use for this task. If the user asks for a subagent by a name that is not one of the available subagents, they most likely mean a model: pick a suitable agent and pass the name through the model parameter instead."
|
|
62
62
|
}),
|
|
@@ -72,12 +72,12 @@ var Input10 = Schema.Struct({
|
|
|
72
72
|
description: "Run the subagent in the background and return immediately. You will be notified when it completes. DO NOT sleep, poll, or proactively check on its progress."
|
|
73
73
|
})
|
|
74
74
|
});
|
|
75
|
-
var
|
|
75
|
+
var Output3 = Schema.Struct({
|
|
76
76
|
sessionID: SessionSchema2.ID,
|
|
77
77
|
status: Schema.Literals(["completed", "running"]),
|
|
78
78
|
output: Schema.String
|
|
79
79
|
});
|
|
80
|
-
var
|
|
80
|
+
var description2 = [
|
|
81
81
|
"Spawns an agent in a child session to work on the specified task.",
|
|
82
82
|
"The output includes a sessionID you can pass back later to continue that specific conversation with the subagent.",
|
|
83
83
|
"New child sessions start with fresh context, so include all relevant context and instructions when you don't pass a sessionID.",
|
|
@@ -86,16 +86,16 @@ var description5 = [
|
|
|
86
86
|
"Use background only for independent work that can run while you continue elsewhere."
|
|
87
87
|
].join(`
|
|
88
88
|
`);
|
|
89
|
-
var
|
|
89
|
+
var Plugin39 = {
|
|
90
90
|
id: "opencode.tool.subagent",
|
|
91
91
|
effect: Effect.fn("SubagentTool.Plugin")(function* (ctx) {
|
|
92
|
-
const sessions = yield*
|
|
93
|
-
const jobs = yield*
|
|
94
|
-
const agents = yield*
|
|
95
|
-
const config = yield*
|
|
96
|
-
const permission = yield*
|
|
97
|
-
const models = yield*
|
|
98
|
-
const subagents = yield*
|
|
92
|
+
const sessions = yield* Service23;
|
|
93
|
+
const jobs = yield* Service58;
|
|
94
|
+
const agents = yield* Service78;
|
|
95
|
+
const config = yield* Service41;
|
|
96
|
+
const permission = yield* Service73;
|
|
97
|
+
const models = yield* Service68;
|
|
98
|
+
const subagents = yield* make10;
|
|
99
99
|
const resolveModel = Effect.fn("SubagentTool.resolveModel")(function* (input) {
|
|
100
100
|
const ref = yield* Effect.try({
|
|
101
101
|
try: () => Ref2.parse(input),
|
|
@@ -115,11 +115,11 @@ var Plugin12 = {
|
|
|
115
115
|
return ref;
|
|
116
116
|
});
|
|
117
117
|
yield* ctx.tool.transform((editor) => editor.add({
|
|
118
|
-
name:
|
|
118
|
+
name: name4,
|
|
119
119
|
options: { codemode: false },
|
|
120
|
-
description:
|
|
121
|
-
input:
|
|
122
|
-
output:
|
|
120
|
+
description: description2,
|
|
121
|
+
input: Input4,
|
|
122
|
+
output: Output3,
|
|
123
123
|
execute: (input, context) => Effect.gen(function* () {
|
|
124
124
|
const parent = yield* sessions.get(context.sessionID).pipe(Effect.mapError((error) => new ToolFailure({ message: `Parent session not found: ${context.sessionID}`, error })));
|
|
125
125
|
let current = parent;
|
|
@@ -139,7 +139,7 @@ var Plugin12 = {
|
|
|
139
139
|
if (agent.mode === "primary")
|
|
140
140
|
return yield* new ToolFailure({ message: `Agent ${input.agent} cannot run as a subagent` });
|
|
141
141
|
yield* permission.assert({
|
|
142
|
-
action:
|
|
142
|
+
action: name4,
|
|
143
143
|
resources: [agent.id],
|
|
144
144
|
save: [agent.id],
|
|
145
145
|
sessionID: context.sessionID,
|
|
@@ -168,7 +168,7 @@ var Plugin12 = {
|
|
|
168
168
|
const child = existing ?? (yield* sessions.create({
|
|
169
169
|
parentID: context.sessionID,
|
|
170
170
|
title: input.description,
|
|
171
|
-
agent:
|
|
171
|
+
agent: ID16.make(input.agent),
|
|
172
172
|
model
|
|
173
173
|
}).pipe(Effect.mapError((error) => new ToolFailure({ message: `Parent session not found: ${context.sessionID}`, error }))));
|
|
174
174
|
const background = input.background === true;
|
|
@@ -218,7 +218,7 @@ ${output.output}
|
|
|
218
218
|
})))
|
|
219
219
|
})).pipe(Effect.orDie);
|
|
220
220
|
yield* ctx.tool.hook("execute.before", (event) => Effect.sync(() => {
|
|
221
|
-
if (event.tool !==
|
|
221
|
+
if (event.tool !== name4 || !Predicate.isObject(event.input))
|
|
222
222
|
return;
|
|
223
223
|
if (event.input.model !== "" && event.input.sessionID !== "")
|
|
224
224
|
return;
|
|
@@ -230,13 +230,13 @@ ${output.output}
|
|
|
230
230
|
event.input = input;
|
|
231
231
|
}));
|
|
232
232
|
const hook = (event) => Effect.gen(function* () {
|
|
233
|
-
const tool = event.tools[
|
|
233
|
+
const tool = event.tools[name4];
|
|
234
234
|
if (!tool)
|
|
235
235
|
return;
|
|
236
236
|
const selected = yield* agents.resolve(event.agent);
|
|
237
237
|
if (!selected)
|
|
238
238
|
return;
|
|
239
|
-
const available = (yield* agents.list()).filter((agent) => agent.mode !== "primary" && !agent.hidden && evaluate2(
|
|
239
|
+
const available = (yield* agents.list()).filter((agent) => agent.mode !== "primary" && !agent.hidden && evaluate2(name4, agent.id, selected.permissions).effect !== "deny").toSorted((a, b) => a.id.localeCompare(b.id));
|
|
240
240
|
if (available.length === 0)
|
|
241
241
|
return;
|
|
242
242
|
tool.description = [
|
|
@@ -253,4 +253,4 @@ ${output.output}
|
|
|
253
253
|
})
|
|
254
254
|
};
|
|
255
255
|
|
|
256
|
-
export {
|
|
256
|
+
export { name4, Input4, Output3, description2, Plugin39, exports_subagent };
|
|
@@ -1,10 +1,10 @@
|
|
|
1
1
|
import {
|
|
2
2
|
Service83
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./form-19tft2ya.js";
|
|
4
4
|
import {
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
} from "./
|
|
5
|
+
Service64,
|
|
6
|
+
Event13
|
|
7
|
+
} from "./form-qcyzmg46.js";
|
|
8
8
|
|
|
9
9
|
// src/plugin/models-dev.ts
|
|
10
10
|
import { define } from "@opencode/plugin/effect/plugin";
|
|
@@ -29,7 +29,7 @@ var BEDROCK_PROFILE_ONLY_IDS = [
|
|
|
29
29
|
var ModelsDevPlugin2 = define({
|
|
30
30
|
id: "opencode.models.dev",
|
|
31
31
|
effect: Effect.fn(function* (ctx) {
|
|
32
|
-
const modelsDev = yield*
|
|
32
|
+
const modelsDev = yield* Service64;
|
|
33
33
|
const bus = yield* Service83;
|
|
34
34
|
const loaded = { data: snapshots(yield* modelsDev.get()) };
|
|
35
35
|
yield* ctx.integration.transform((integrations) => {
|
|
@@ -63,7 +63,7 @@ var ModelsDevPlugin2 = define({
|
|
|
63
63
|
loaded.data = snapshots(data);
|
|
64
64
|
return ctx.integration.reload().pipe(Effect.andThen(ctx.provider.reload()));
|
|
65
65
|
};
|
|
66
|
-
yield* bus.subscribe(
|
|
66
|
+
yield* bus.subscribe(Event13.Refreshed).pipe(Stream.runForEach(() => modelsDev.get().pipe(Effect.flatMap(apply))), Effect.forkScoped({ startImmediately: true }));
|
|
67
67
|
const latest = yield* modelsDev.get();
|
|
68
68
|
if (snapshots(latest) !== loaded.data)
|
|
69
69
|
yield* apply(latest);
|
|
@@ -1,46 +1,46 @@
|
|
|
1
1
|
import {
|
|
2
2
|
Service83,
|
|
3
3
|
node87
|
|
4
|
-
} from "./
|
|
4
|
+
} from "./form-19tft2ya.js";
|
|
5
5
|
import {
|
|
6
|
-
|
|
7
|
-
} from "./
|
|
6
|
+
node45
|
|
7
|
+
} from "./form-4n4fn861.js";
|
|
8
8
|
import {
|
|
9
9
|
Service3,
|
|
10
10
|
node5
|
|
11
|
-
} from "./
|
|
11
|
+
} from "./form-pxe6gr54.js";
|
|
12
12
|
import {
|
|
13
|
-
|
|
14
|
-
} from "./
|
|
13
|
+
Service30
|
|
14
|
+
} from "./form-9zdhvgqs.js";
|
|
15
15
|
import {
|
|
16
|
-
|
|
16
|
+
node16,
|
|
17
17
|
ID3
|
|
18
|
-
} from "./
|
|
18
|
+
} from "./form-d3qk8e4k.js";
|
|
19
19
|
import {
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
} from "./
|
|
20
|
+
Service4,
|
|
21
|
+
node6
|
|
22
|
+
} from "./form-5xtgfte3.js";
|
|
23
23
|
import {
|
|
24
24
|
requirements2,
|
|
25
25
|
guarded2,
|
|
26
26
|
list2
|
|
27
|
-
} from "./
|
|
27
|
+
} from "./form-a59zsbk6.js";
|
|
28
28
|
import {
|
|
29
|
-
|
|
29
|
+
make4,
|
|
30
30
|
LoadError2
|
|
31
|
-
} from "./
|
|
31
|
+
} from "./form-rqcygfwd.js";
|
|
32
32
|
import {
|
|
33
33
|
Updated2,
|
|
34
|
-
|
|
35
|
-
|
|
36
|
-
} from "./
|
|
34
|
+
Service5,
|
|
35
|
+
node7
|
|
36
|
+
} from "./form-ftf41wa5.js";
|
|
37
37
|
import {
|
|
38
|
-
|
|
39
|
-
|
|
40
|
-
} from "./
|
|
38
|
+
Service6,
|
|
39
|
+
node8
|
|
40
|
+
} from "./form-h71w788e.js";
|
|
41
41
|
import {
|
|
42
42
|
__export
|
|
43
|
-
} from "./
|
|
43
|
+
} from "./form-9rqn6x4v.js";
|
|
44
44
|
|
|
45
45
|
// src/plugin/supervisor.ts
|
|
46
46
|
var exports_supervisor = {};
|
|
@@ -126,13 +126,13 @@ var resolve = Effect.fn("PluginSupervisor.resolve")(function* (modules, pre, pos
|
|
|
126
126
|
};
|
|
127
127
|
});
|
|
128
128
|
var layer4 = Layer.effectDiscard(Effect.gen(function* () {
|
|
129
|
-
const registry = yield*
|
|
130
|
-
const sdk = yield*
|
|
131
|
-
const instance = yield*
|
|
129
|
+
const registry = yield* Service30;
|
|
130
|
+
const sdk = yield* Service5;
|
|
131
|
+
const instance = yield* Service4;
|
|
132
132
|
const sources = yield* Service3;
|
|
133
|
-
const modules = yield*
|
|
133
|
+
const modules = yield* make4();
|
|
134
134
|
const bus = yield* Service83;
|
|
135
|
-
const updates = yield*
|
|
135
|
+
const updates = yield* Service6;
|
|
136
136
|
const internal = yield* list2();
|
|
137
137
|
let release = yield* registry.hold();
|
|
138
138
|
yield* Effect.addFinalizer(() => release ?? Effect.void);
|
|
@@ -207,14 +207,14 @@ var layer4 = Layer.effectDiscard(Effect.gen(function* () {
|
|
|
207
207
|
})), Effect.forkScoped({ startImmediately: true }));
|
|
208
208
|
}));
|
|
209
209
|
var nodeDeps = [
|
|
210
|
-
|
|
210
|
+
node16,
|
|
211
|
+
node7,
|
|
211
212
|
node6,
|
|
212
|
-
node11,
|
|
213
213
|
node5,
|
|
214
|
-
|
|
214
|
+
node8,
|
|
215
215
|
node87,
|
|
216
216
|
Npm.node,
|
|
217
|
-
|
|
217
|
+
node45,
|
|
218
218
|
requirements2
|
|
219
219
|
];
|
|
220
220
|
function pluginSource(target) {
|
|
@@ -1,15 +1,15 @@
|
|
|
1
1
|
import {
|
|
2
2
|
ps2
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./form-fknhp1f0.js";
|
|
4
4
|
import {
|
|
5
5
|
lazy2
|
|
6
|
-
} from "./
|
|
6
|
+
} from "./form-88xbtdfr.js";
|
|
7
7
|
import {
|
|
8
8
|
match2
|
|
9
|
-
} from "./
|
|
9
|
+
} from "./form-y1fvbwt7.js";
|
|
10
10
|
import {
|
|
11
11
|
__export
|
|
12
|
-
} from "./
|
|
12
|
+
} from "./form-9rqn6x4v.js";
|
|
13
13
|
|
|
14
14
|
// src/shell/parse.ts
|
|
15
15
|
var exports_parse = {};
|
|
@@ -1,10 +1,10 @@
|
|
|
1
1
|
import {
|
|
2
2
|
absoluteColumn2,
|
|
3
3
|
absoluteArrayColumn2
|
|
4
|
-
} from "./
|
|
4
|
+
} from "./form-6msgmcgs.js";
|
|
5
5
|
import {
|
|
6
6
|
Timestamps2
|
|
7
|
-
} from "./
|
|
7
|
+
} from "./form-qfa1cgps.js";
|
|
8
8
|
|
|
9
9
|
// src/project/sql.ts
|
|
10
10
|
import { isNotNull, isNull, ne, or } from "drizzle-orm";
|
|
@@ -1,41 +1,41 @@
|
|
|
1
1
|
import {
|
|
2
2
|
makeUnsafe2
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./form-y71avatq.js";
|
|
4
4
|
import {
|
|
5
5
|
Service83,
|
|
6
6
|
node87
|
|
7
|
-
} from "./
|
|
7
|
+
} from "./form-19tft2ya.js";
|
|
8
8
|
import {
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
} from "./
|
|
9
|
+
Event17,
|
|
10
|
+
Service71,
|
|
11
|
+
node75
|
|
12
|
+
} from "./form-hfj9a1t1.js";
|
|
13
13
|
import {
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
} from "./
|
|
14
|
+
Service80,
|
|
15
|
+
node84
|
|
16
|
+
} from "./form-vr6tcf4m.js";
|
|
17
17
|
import {
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
} from "./
|
|
18
|
+
Service60,
|
|
19
|
+
node62
|
|
20
|
+
} from "./form-y11rahcj.js";
|
|
21
21
|
import {
|
|
22
|
-
|
|
23
|
-
|
|
24
|
-
|
|
25
|
-
} from "./
|
|
22
|
+
ID12,
|
|
23
|
+
Service72,
|
|
24
|
+
node76
|
|
25
|
+
} from "./form-x2awn7t1.js";
|
|
26
26
|
import {
|
|
27
27
|
reconcile2,
|
|
28
28
|
create3
|
|
29
|
-
} from "./
|
|
29
|
+
} from "./form-rdw6cm16.js";
|
|
30
30
|
import {
|
|
31
|
-
|
|
31
|
+
ID10,
|
|
32
32
|
MethodID2,
|
|
33
|
-
|
|
34
|
-
|
|
35
|
-
} from "./
|
|
33
|
+
Service70,
|
|
34
|
+
node74
|
|
35
|
+
} from "./form-s2hgmt76.js";
|
|
36
36
|
import {
|
|
37
37
|
__export
|
|
38
|
-
} from "./
|
|
38
|
+
} from "./form-9rqn6x4v.js";
|
|
39
39
|
|
|
40
40
|
// src/mcp/index.ts
|
|
41
41
|
var exports_mcp4 = {};
|
|
@@ -50,12 +50,12 @@ __export(exports_mcp4, {
|
|
|
50
50
|
ResourceContentPart: () => ResourceContentPart2,
|
|
51
51
|
ResourceTemplate: () => ResourceTemplate2,
|
|
52
52
|
ServerName: () => ServerName2,
|
|
53
|
-
Service: () =>
|
|
53
|
+
Service: () => Service35,
|
|
54
54
|
Status: () => Status2,
|
|
55
55
|
ToolCallError: () => ToolCallError2,
|
|
56
56
|
configured: () => configured3,
|
|
57
|
-
layer: () =>
|
|
58
|
-
node: () =>
|
|
57
|
+
layer: () => layer14,
|
|
58
|
+
node: () => node38
|
|
59
59
|
});
|
|
60
60
|
import { Mcp } from "@opencode/schema/mcp";
|
|
61
61
|
import { McpEvent } from "@opencode/schema/mcp-event";
|
|
@@ -93,7 +93,7 @@ var URL_ELICITATION_FIELD_KEY = "elicitation";
|
|
|
93
93
|
var endpointLoads = makeUnsafe2();
|
|
94
94
|
var cloneConfig = (config) => structuredClone(config);
|
|
95
95
|
|
|
96
|
-
class
|
|
96
|
+
class Service35 extends Context.Service()("@opencode/MCP") {
|
|
97
97
|
}
|
|
98
98
|
var Options3 = Schema.Struct({
|
|
99
99
|
clientInfo: Schema.optional(Schema.Struct({
|
|
@@ -101,13 +101,13 @@ var Options3 = Schema.Struct({
|
|
|
101
101
|
version: Schema.String
|
|
102
102
|
}))
|
|
103
103
|
});
|
|
104
|
-
var
|
|
105
|
-
const location = yield*
|
|
106
|
-
const environment = yield*
|
|
104
|
+
var layer14 = (options) => Layer.effect(Service35, Effect.gen(function* () {
|
|
105
|
+
const location = yield* Service80;
|
|
106
|
+
const environment = yield* Service60;
|
|
107
107
|
const bus = yield* Service83;
|
|
108
|
-
const forms = yield*
|
|
109
|
-
const integration = yield*
|
|
110
|
-
const credentials = yield*
|
|
108
|
+
const forms = yield* Service72;
|
|
109
|
+
const integration = yield* Service70;
|
|
110
|
+
const credentials = yield* Service71;
|
|
111
111
|
const root = yield* Effect.scope;
|
|
112
112
|
const fork = yield* FiberSet.makeRuntime();
|
|
113
113
|
const entries = new Map;
|
|
@@ -119,7 +119,7 @@ var layer13 = (options) => Layer.effect(Service31, Effect.gen(function* () {
|
|
|
119
119
|
return;
|
|
120
120
|
const remote = entry.config;
|
|
121
121
|
const suffix = "mcp_" + createHash("sha1").update(name + "\x00" + remote.url).digest("hex").slice(0, 16);
|
|
122
|
-
const integrationID =
|
|
122
|
+
const integrationID = ID10.make(suffix);
|
|
123
123
|
entry.integrationID = integrationID;
|
|
124
124
|
owned.add(integrationID);
|
|
125
125
|
const methodID = MethodID2.make(suffix);
|
|
@@ -135,7 +135,7 @@ var layer13 = (options) => Layer.effect(Service31, Effect.gen(function* () {
|
|
|
135
135
|
method: { id: methodID, type: "oauth", label: name },
|
|
136
136
|
authorize: () => Effect.gen(function* () {
|
|
137
137
|
const { McpOAuth } = yield* Effect.promise(() => import("../mcp/oauth.js"));
|
|
138
|
-
return yield* McpOAuth.authorize({ name, config: remote, integrationID, methodID }).pipe(Effect.provideService(
|
|
138
|
+
return yield* McpOAuth.authorize({ name, config: remote, integrationID, methodID }).pipe(Effect.provideService(Service71, credentials));
|
|
139
139
|
})
|
|
140
140
|
});
|
|
141
141
|
}).pipe(Scope.provide(scope));
|
|
@@ -151,12 +151,12 @@ var layer13 = (options) => Layer.effect(Service31, Effect.gen(function* () {
|
|
|
151
151
|
if (entry.config.type !== "remote" || !entry.integrationID)
|
|
152
152
|
return;
|
|
153
153
|
const { McpOAuth } = yield* Effect.promise(() => import("../mcp/oauth.js"));
|
|
154
|
-
return yield* McpOAuth.connectProvider({ config: entry.config, integrationID: entry.integrationID }).pipe(Effect.provideService(
|
|
154
|
+
return yield* McpOAuth.connectProvider({ config: entry.config, integrationID: entry.integrationID }).pipe(Effect.provideService(Service71, credentials));
|
|
155
155
|
});
|
|
156
156
|
const elicitation = {
|
|
157
157
|
create: (input) => Effect.gen(function* () {
|
|
158
158
|
if (input.params.mode === "url") {
|
|
159
|
-
const formID =
|
|
159
|
+
const formID = ID12.create();
|
|
160
160
|
const elicitationID = input.params.elicitationId;
|
|
161
161
|
const key = elicitationID === undefined ? undefined : input.server + "\x00" + elicitationID;
|
|
162
162
|
if (key)
|
|
@@ -259,7 +259,7 @@ var layer13 = (options) => Layer.effect(Service31, Effect.gen(function* () {
|
|
|
259
259
|
entry.scope = scope;
|
|
260
260
|
const authProvider = yield* connectProvider(entry);
|
|
261
261
|
const { McpClient } = yield* Effect.promise(() => import("../mcp/client.js"));
|
|
262
|
-
const load = McpClient.connect(name, entry.config, location.directory, authProvider, elicitation, options?.clientInfo).pipe(Effect.flatMap((connection) => connection.tools().pipe(Effect.map((tools) => ({ connection, tools })))), Effect.provideService(
|
|
262
|
+
const load = McpClient.connect(name, entry.config, location.directory, authProvider, elicitation, options?.clientInfo).pipe(Effect.flatMap((connection) => connection.tools().pipe(Effect.map((tools) => ({ connection, tools })))), Effect.provideService(Service60, environment), Scope.provide(scope));
|
|
263
263
|
const result = yield* (entry.config.type === "remote" ? endpointLoads.withLock(entry.config.url)(load) : load).pipe(Effect.exit);
|
|
264
264
|
if (Exit.isSuccess(result)) {
|
|
265
265
|
entry.client = result.value.connection;
|
|
@@ -384,7 +384,7 @@ var layer13 = (options) => Layer.effect(Service31, Effect.gen(function* () {
|
|
|
384
384
|
yield* startServer(name, entry);
|
|
385
385
|
}).pipe(locks.withLock(name));
|
|
386
386
|
});
|
|
387
|
-
fork(bus.subscribe(
|
|
387
|
+
fork(bus.subscribe(Event17.Switched).pipe(Stream.filter((event) => owned.has(event.data.integrationID)), Stream.runForEach((event) => Effect.sync(() => fork(reconnect(event.data.integrationID))))));
|
|
388
388
|
const state = create3({
|
|
389
389
|
name: "mcp",
|
|
390
390
|
initial: () => ({
|
|
@@ -410,7 +410,7 @@ var layer13 = (options) => Layer.effect(Service31, Effect.gen(function* () {
|
|
|
410
410
|
}),
|
|
411
411
|
notify: () => reconcile2(root, fork, () => reconcileLock.withPermit(reconcile()))
|
|
412
412
|
});
|
|
413
|
-
return
|
|
413
|
+
return Service35.of({
|
|
414
414
|
transform: state.transform,
|
|
415
415
|
reload: state.reload,
|
|
416
416
|
servers: Effect.fn("MCP.servers")(function* () {
|
|
@@ -518,12 +518,12 @@ function mergeCatalogs(catalogs) {
|
|
|
518
518
|
}
|
|
519
519
|
function configured3(options) {
|
|
520
520
|
return makeLocationNode({
|
|
521
|
-
service:
|
|
522
|
-
layer:
|
|
523
|
-
deps: [
|
|
521
|
+
service: Service35,
|
|
522
|
+
layer: layer14(options),
|
|
523
|
+
deps: [node84, node62, node87, node76, node74, node75]
|
|
524
524
|
});
|
|
525
525
|
}
|
|
526
|
-
var
|
|
526
|
+
var node38 = configured3();
|
|
527
527
|
function toElicitationField(key, property, required) {
|
|
528
528
|
const machineTitle = /^(boolean|string|number|integer|array|object)(\s+with\b.*|\s+in\b.*)?$/i;
|
|
529
529
|
const title = property.title && !machineTitle.test(property.title.trim()) ? property.title : property.description ?? key;
|
|
@@ -574,4 +574,4 @@ function toElicitationField(key, property, required) {
|
|
|
574
574
|
}
|
|
575
575
|
}
|
|
576
576
|
|
|
577
|
-
export { ServerName2, PromptsChanged2, Status2, Resource2, ResourceTemplate2, ResourceCatalog2, ResourceContentPart2, ResourceContent2, NotFoundError4, ToolCallError2,
|
|
577
|
+
export { ServerName2, PromptsChanged2, Status2, Resource2, ResourceTemplate2, ResourceCatalog2, ResourceContentPart2, ResourceContent2, NotFoundError4, ToolCallError2, Service35, Options3, layer14, configured3, node38, exports_mcp4 };
|