@opencode/core 0.0.0-dev-19971 → 0.0.0-dev-19974
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/account/sql.js +1 -1
- package/dist/agent.js +80 -80
- package/dist/aisdk-native.js +88 -88
- package/dist/aisdk.js +93 -93
- package/dist/app.js +9 -9
- package/dist/bus.js +68 -68
- package/dist/chunks/{websearch-9zt0qaq4.js → command-0601qg4c.js} +11 -11
- package/dist/chunks/{websearch-6mtbrevk.js → command-0dtckawb.js} +15 -15
- package/dist/chunks/{websearch-g8jasmdt.js → command-0fxyxxca.js} +8 -8
- package/dist/chunks/{websearch-0paq2nw3.js → command-0paq2nw3.js} +1 -1
- package/dist/chunks/{websearch-0q0f95c6.js → command-0q0f95c6.js} +1 -1
- package/dist/chunks/command-0repjh3r.js +252 -0
- package/dist/chunks/{websearch-c4b2kpxw.js → command-12ppvwww.js} +11 -11
- package/dist/chunks/{websearch-dps2ye13.js → command-15ecbz73.js} +17 -17
- package/dist/chunks/{websearch-5vz0r8c8.js → command-18fjrjyv.js} +17 -17
- package/dist/chunks/{websearch-yr8w2f7w.js → command-19wqcg6g.js} +25 -25
- package/dist/chunks/{websearch-a37y538j.js → command-1dard8rw.js} +11 -11
- package/dist/chunks/{websearch-1dazxqgg.js → command-1dazxqgg.js} +2 -2
- package/dist/chunks/{websearch-8rcz2q6j.js → command-1fmn7nca.js} +29 -29
- package/dist/chunks/{websearch-2rfba7m5.js → command-1jqpcwdd.js} +13 -13
- package/dist/chunks/{websearch-9ykp1bjn.js → command-1vc7h4bf.js} +20 -20
- package/dist/chunks/{websearch-psa6e1wa.js → command-1wnwcw7r.js} +11 -11
- package/dist/chunks/{websearch-1ygqh575.js → command-1ygqh575.js} +2 -2
- package/dist/chunks/{websearch-z0tn3z5h.js → command-21bs846c.js} +15 -15
- package/dist/chunks/{websearch-21r38tys.js → command-21r38tys.js} +1 -1
- package/dist/chunks/{websearch-9fe2175z.js → command-29ebz4cy.js} +21 -21
- package/dist/chunks/{websearch-2a5m3afh.js → command-2a5m3afh.js} +1 -1
- package/dist/chunks/{websearch-8s8mxddj.js → command-2evyaa68.js} +4 -4
- package/dist/chunks/{websearch-atp9h773.js → command-2m0t44q9.js} +15 -15
- package/dist/chunks/{websearch-3a6re68j.js → command-35agz59w.js} +6 -6
- package/dist/chunks/{websearch-fhz5gfgy.js → command-3801kdgp.js} +5 -5
- package/dist/chunks/{websearch-n64525wv.js → command-395exzp5.js} +33 -33
- package/dist/chunks/{websearch-q5v2a16e.js → command-3f7xan5b.js} +4 -4
- package/dist/chunks/{websearch-3fc6dm20.js → command-3fc6dm20.js} +1 -1
- package/dist/chunks/{websearch-k72x7rmb.js → command-3gafegkz.js} +6 -6
- package/dist/chunks/{websearch-3hepkmqq.js → command-3hepkmqq.js} +1 -1
- package/dist/chunks/{websearch-gmjjhz4f.js → command-3ktbe3hf.js} +6 -6
- package/dist/chunks/{websearch-gjmk74th.js → command-3ppptnan.js} +6 -6
- package/dist/chunks/{websearch-3smtnn6g.js → command-3smtnn6g.js} +1 -1
- package/dist/chunks/{websearch-3tvqynh2.js → command-3tvqynh2.js} +1 -1
- package/dist/chunks/{websearch-hppyn5sa.js → command-3x4n1p4b.js} +11 -11
- package/dist/chunks/{websearch-xfdrc2qg.js → command-44ke2mar.js} +4 -4
- package/dist/chunks/{websearch-10915612.js → command-44ksrw62.js} +13 -13
- package/dist/chunks/{websearch-3mms5ene.js → command-4dkr59gj.js} +3 -3
- package/dist/chunks/{websearch-q17z9dx8.js → command-4drgpw32.js} +5 -5
- package/dist/chunks/{websearch-qn9b0sqe.js → command-4gv05ame.js} +11 -11
- package/dist/chunks/{websearch-tcg29b4q.js → command-4jc5c4h4.js} +1 -1
- package/dist/chunks/{websearch-09map6a0.js → command-4qm7m3m6.js} +26 -26
- package/dist/chunks/{websearch-bjnm8sq4.js → command-57aypccr.js} +3 -3
- package/dist/chunks/{websearch-v6v4kqhc.js → command-5arbc4sb.js} +50 -50
- package/dist/chunks/{websearch-a1bz86dw.js → command-5c4hm403.js} +3 -3
- package/dist/chunks/{websearch-4emms01x.js → command-5cry9dbs.js} +38 -38
- package/dist/chunks/{websearch-5daktx2q.js → command-5daktx2q.js} +1 -1
- package/dist/chunks/{websearch-kf97d77q.js → command-5esk5nf6.js} +17 -17
- package/dist/chunks/{websearch-b2wvp900.js → command-5fygez4p.js} +5 -5
- package/dist/chunks/{websearch-a30y0zke.js → command-5mjt82ds.js} +21 -21
- package/dist/chunks/{websearch-z6wvr5eg.js → command-5qmpb97a.js} +3 -3
- package/dist/chunks/{websearch-kz4d7gxj.js → command-5r8re7cq.js} +5 -5
- package/dist/chunks/{websearch-5t3nmthw.js → command-5t3nmthw.js} +2 -2
- package/dist/chunks/{websearch-ernzmvnm.js → command-5v6q8ws3.js} +38 -38
- package/dist/chunks/{websearch-2336b01z.js → command-5we7r0eg.js} +5 -5
- package/dist/chunks/{websearch-669tq793.js → command-669tq793.js} +1 -1
- package/dist/chunks/{websearch-r2gdke7a.js → command-69zdqv0e.js} +9 -9
- package/dist/chunks/{websearch-4bfr0h1a.js → command-6axvzsm7.js} +21 -21
- package/dist/chunks/{websearch-pwvve957.js → command-6bnbyxfg.js} +9 -9
- package/dist/chunks/{websearch-fsnmy6e7.js → command-6dbd9kfr.js} +4 -4
- package/dist/chunks/{websearch-2402vzrj.js → command-6h73sxmp.js} +5 -5
- package/dist/chunks/{websearch-2cby6ycg.js → command-6jt6hkba.js} +24 -24
- package/dist/chunks/{websearch-6msgmcgs.js → command-6msgmcgs.js} +1 -1
- package/dist/chunks/{websearch-nfvzb2qa.js → command-6pj7x9ww.js} +12 -12
- package/dist/chunks/{websearch-y0enq6yx.js → command-6yd319e0.js} +35 -35
- package/dist/chunks/{websearch-mv0eyhkp.js → command-76vyv3fa.js} +12 -12
- package/dist/chunks/{websearch-0f92sxzd.js → command-77hk7r89.js} +9 -9
- package/dist/chunks/{websearch-7bmhse3q.js → command-7bmhse3q.js} +1 -1
- package/dist/chunks/{websearch-ezd1shxf.js → command-7nvpgp18.js} +24 -24
- package/dist/chunks/{websearch-67z5vx6v.js → command-7rx5b338.js} +13 -13
- package/dist/chunks/{websearch-490js09j.js → command-7s37cbtz.js} +10 -10
- package/dist/chunks/{websearch-kbabe8wy.js → command-7y0fda1f.js} +10 -10
- package/dist/chunks/{websearch-zans6vvk.js → command-80agk8qd.js} +33 -33
- package/dist/chunks/{websearch-rnxvhcjb.js → command-85gr95dm.js} +70 -70
- package/dist/chunks/{websearch-2k71kv7p.js → command-86qzxe6p.js} +4 -4
- package/dist/chunks/{websearch-89znhe33.js → command-89znhe33.js} +1 -1
- package/dist/chunks/{websearch-rhj3edsb.js → command-8a6kxmc8.js} +35 -35
- package/dist/chunks/{websearch-8d7r5vzw.js → command-8d7r5vzw.js} +1 -1
- package/dist/chunks/{websearch-n8x6vg9c.js → command-8gxjxfk7.js} +34 -34
- package/dist/chunks/{websearch-qxgb7w54.js → command-8qby4p94.js} +47 -47
- package/dist/chunks/{websearch-j1g0a8z5.js → command-92rkebfh.js} +19 -19
- package/dist/chunks/{websearch-4c8bw516.js → command-97w5rk9e.js} +7 -7
- package/dist/chunks/{websearch-4nwwzap6.js → command-98r14yx2.js} +13 -13
- package/dist/chunks/{websearch-sxsb2wh5.js → command-9bh1kbwm.js} +37 -37
- package/dist/chunks/{websearch-m9x5r80r.js → command-9jyavp4h.js} +5 -5
- package/dist/chunks/{websearch-nmtdsvx9.js → command-9ksxqh2k.js} +2 -2
- package/dist/chunks/{websearch-zg4xcdcw.js → command-9tb5hr0v.js} +18 -18
- package/dist/chunks/{websearch-ch9ef3fj.js → command-9xv0kghy.js} +4 -4
- package/dist/chunks/{websearch-t7y12kcc.js → command-a16afrr2.js} +3 -3
- package/dist/chunks/{websearch-aaet6srn.js → command-aaet6srn.js} +2 -2
- package/dist/chunks/{websearch-4rdw2jk2.js → command-aht6b1gw.js} +11 -11
- package/dist/chunks/{websearch-4argy660.js → command-azsbfkqj.js} +20 -20
- package/dist/chunks/{websearch-t23sgjx0.js → command-b3h4hk8s.js} +173 -173
- package/dist/chunks/{websearch-b6gygkdw.js → command-b6gygkdw.js} +2 -2
- package/dist/chunks/{websearch-neyhfhbv.js → command-b91y5b0n.js} +20 -20
- package/dist/chunks/{websearch-x7c0erfj.js → command-bbn46np6.js} +38 -38
- package/dist/chunks/{websearch-axgxjnt4.js → command-bc7r1051.js} +8 -8
- package/dist/chunks/{websearch-8ssqt2ma.js → command-beq4zdab.js} +11 -11
- package/dist/chunks/{websearch-8h6f0t3s.js → command-bkt6pkzv.js} +20 -20
- package/dist/chunks/{websearch-1yv162eq.js → command-bp02r99k.js} +4 -4
- package/dist/chunks/{websearch-pe1tjmn3.js → command-brmtm7cf.js} +11 -11
- package/dist/chunks/{websearch-rftj34h1.js → command-bvrm6sd3.js} +26 -26
- package/dist/chunks/{websearch-5g1dq8q7.js → command-c27g0cwe.js} +14 -14
- package/dist/chunks/{websearch-5bgxqkp2.js → command-c68rk66j.js} +8 -8
- package/dist/chunks/{websearch-jdtnppjh.js → command-ca4wybjn.js} +9 -9
- package/dist/chunks/{websearch-eynpjjts.js → command-cb9ss0ge.js} +9 -9
- package/dist/chunks/{websearch-4z78jc8k.js → command-cd0z4qvb.js} +8 -8
- package/dist/chunks/{websearch-yqc7fef7.js → command-ceer43ev.js} +6 -6
- package/dist/chunks/{websearch-jdqyxw3b.js → command-cnkj3bkk.js} +6 -6
- package/dist/chunks/{websearch-bkt3ke4c.js → command-csmtma2g.js} +16 -16
- package/dist/chunks/{websearch-qmqgtz8f.js → command-cwa6csj7.js} +9 -9
- package/dist/chunks/{websearch-sgm3x1y6.js → command-d4kvcxbh.js} +18 -18
- package/dist/chunks/{websearch-qrpkzea1.js → command-d8vs3fz8.js} +25 -25
- package/dist/chunks/{websearch-57ez7d0k.js → command-d9s573fh.js} +2 -2
- package/dist/chunks/{websearch-8p4f9s12.js → command-dj2t23y0.js} +2 -2
- package/dist/chunks/{websearch-eg9c94rq.js → command-dj7ydz2q.js} +1 -1
- package/dist/chunks/{websearch-b1p2bp1h.js → command-dm0bbnwt.js} +12 -12
- package/dist/chunks/{websearch-zpya8g88.js → command-dnm7xxeh.js} +3 -3
- package/dist/chunks/{websearch-8zyqjgnv.js → command-dtyshr95.js} +20 -20
- package/dist/chunks/{websearch-hc9acsgr.js → command-e0378qy6.js} +9 -9
- package/dist/chunks/{websearch-2rshs1gx.js → command-e23rwaaf.js} +30 -30
- package/dist/chunks/{websearch-1twwwxc3.js → command-e64hjbz6.js} +10 -10
- package/dist/chunks/{websearch-d9rywp8y.js → command-eac26f80.js} +29 -29
- package/dist/chunks/{websearch-02nrjc1r.js → command-eaj1djv9.js} +4 -4
- package/dist/chunks/{websearch-ef5x83kb.js → command-ef5x83kb.js} +1 -1
- package/dist/chunks/{websearch-5khnppx8.js → command-ejhgf7w3.js} +13 -13
- package/dist/chunks/{websearch-emq5vpv3.js → command-en452bs7.js} +20 -20
- package/dist/chunks/{websearch-7hb0xpq9.js → command-eqbz22z4.js} +28 -28
- package/dist/chunks/{websearch-erw5rpbs.js → command-erw5rpbs.js} +2 -2
- package/dist/chunks/{websearch-qgn6gcr1.js → command-esafk7q3.js} +5 -5
- package/dist/chunks/{websearch-etq0c3wd.js → command-etq0c3wd.js} +1 -1
- package/dist/chunks/{websearch-37s12vcn.js → command-ez47arx5.js} +2 -2
- package/dist/chunks/{websearch-mgmaefw5.js → command-f2wfspan.js} +3 -3
- package/dist/chunks/{websearch-3t60d24d.js → command-f3t28nxc.js} +7 -7
- package/dist/chunks/{websearch-aqekamra.js → command-f41ena25.js} +9 -9
- package/dist/chunks/{websearch-wk20jg90.js → command-fb3kqv53.js} +42 -42
- package/dist/chunks/{websearch-wk5z6jzv.js → command-fdms3n6w.js} +9 -9
- package/dist/chunks/{websearch-mtq6xxnx.js → command-fdv30zvt.js} +4 -4
- package/dist/chunks/{websearch-fxbjtjnd.js → command-fxbjtjnd.js} +1 -1
- package/dist/chunks/{websearch-1mpytbrd.js → command-fxjzx9zk.js} +2 -2
- package/dist/chunks/{websearch-e1jqcehv.js → command-fyxvyc63.js} +16 -16
- package/dist/chunks/{websearch-zmjry135.js → command-g2aavtfc.js} +3 -3
- package/dist/chunks/{websearch-jxy9pp01.js → command-gb73r5q4.js} +28 -28
- package/dist/chunks/{websearch-gd4qta3r.js → command-gd4qta3r.js} +1 -1
- package/dist/chunks/{websearch-pvcexzwr.js → command-gezbrf6h.js} +6 -6
- package/dist/chunks/{websearch-8gxqpgph.js → command-gst7axd9.js} +4 -4
- package/dist/chunks/{websearch-p5n00eja.js → command-gzk0z5t1.js} +44 -44
- package/dist/chunks/{websearch-0pwhgh8h.js → command-h47e2fat.js} +22 -22
- package/dist/chunks/{websearch-h6vf3j39.js → command-h6vf3j39.js} +1 -1
- package/dist/chunks/{websearch-mrrrmvzm.js → command-ha7xgv60.js} +20 -20
- package/dist/chunks/{websearch-f828m53h.js → command-hdnk95c8.js} +2 -2
- package/dist/chunks/{websearch-3mwrkndb.js → command-hm4csw6w.js} +15 -15
- package/dist/chunks/{websearch-wbhf1d2f.js → command-hng4xen5.js} +25 -25
- package/dist/chunks/{websearch-f9tzck21.js → command-hqn1z470.js} +14 -14
- package/dist/chunks/{websearch-hfdggbzh.js → command-hvf8bzx3.js} +15 -15
- package/dist/chunks/{websearch-657t18yv.js → command-j1h0x3qm.js} +4 -4
- package/dist/chunks/{websearch-j56e64zr.js → command-j56e64zr.js} +1 -1
- package/dist/chunks/{websearch-68s0cpd5.js → command-j84y35zg.js} +1 -1
- package/dist/chunks/{websearch-jca4demv.js → command-jca4demv.js} +2 -2
- package/dist/chunks/{websearch-bt4vczj1.js → command-jm23qt55.js} +18 -18
- package/dist/chunks/{websearch-kskv054x.js → command-jndgkwdf.js} +6 -6
- package/dist/chunks/{websearch-hm7h5fnq.js → command-js89hyr4.js} +85 -85
- package/dist/chunks/{websearch-96dfwwyn.js → command-jshnnbm0.js} +3 -3
- package/dist/chunks/{websearch-cavr175a.js → command-jw80jp6b.js} +4 -4
- package/dist/chunks/{websearch-yt0fqk68.js → command-jwbqhvyy.js} +5 -5
- package/dist/chunks/{websearch-pvh6zpvx.js → command-k0gxj95r.js} +30 -30
- package/dist/chunks/{websearch-3yfsrc7f.js → command-k409y6k1.js} +8 -8
- package/dist/chunks/{websearch-x1zq0qjw.js → command-k6jsebqw.js} +14 -14
- package/dist/chunks/{websearch-cw351spq.js → command-k6w958j5.js} +3 -3
- package/dist/chunks/{websearch-1kq608fv.js → command-kkf65y6a.js} +24 -24
- package/dist/chunks/{websearch-gyj5qngc.js → command-kw5v92fn.js} +25 -25
- package/dist/chunks/{websearch-tt85xgdw.js → command-kz87xe09.js} +26 -26
- package/dist/chunks/{websearch-cfpkc3c9.js → command-m0jqrx5p.js} +2 -2
- package/dist/chunks/{websearch-bbx8rj45.js → command-m2k7mg07.js} +11 -11
- package/dist/chunks/{websearch-m3fdjcah.js → command-m3fdjcah.js} +1 -1
- package/dist/chunks/{websearch-e0pc9hss.js → command-m4j94d0w.js} +13 -13
- package/dist/chunks/{websearch-m9w0rfyh.js → command-m9w0rfyh.js} +1 -1
- package/dist/chunks/{websearch-9jan11yy.js → command-m9wnxg74.js} +22 -22
- package/dist/chunks/{websearch-eq1pz5kg.js → command-mhkvc446.js} +3 -3
- package/dist/chunks/{websearch-ydgy0jv4.js → command-mqzwkyay.js} +6 -6
- package/dist/chunks/{websearch-ng2t6yjv.js → command-mt1xf8xq.js} +4 -4
- package/dist/chunks/{websearch-qg0jgkcp.js → command-mvn2r3z4.js} +9 -9
- package/dist/chunks/{websearch-sc2b8fmw.js → command-mwch1h7x.js} +22 -22
- package/dist/chunks/{websearch-e3rd11p8.js → command-n80jc431.js} +17 -17
- package/dist/chunks/{websearch-3gr5sfar.js → command-ngne8dfe.js} +10 -10
- package/dist/chunks/{websearch-ctg6kqhn.js → command-njkzccyn.js} +7 -7
- package/dist/chunks/{websearch-j841wva5.js → command-nnbzrd8n.js} +15 -15
- package/dist/chunks/{websearch-1anmvv20.js → command-np4grtax.js} +21 -21
- package/dist/chunks/{websearch-r6fe7wqt.js → command-ny7zsgxc.js} +10 -10
- package/dist/chunks/{websearch-k3c624dm.js → command-nzks3jc8.js} +3 -3
- package/dist/chunks/{websearch-cpj0znwe.js → command-nzyhnfxz.js} +4 -4
- package/dist/chunks/{websearch-p28j5sbe.js → command-p28j5sbe.js} +2 -2
- package/dist/chunks/{websearch-dv1qgsyq.js → command-p37cw4rj.js} +6 -6
- package/dist/chunks/{websearch-jfgwv67f.js → command-p504gj3f.js} +8 -8
- package/dist/chunks/{websearch-8g41p69m.js → command-pdhkkygs.js} +11 -11
- package/dist/chunks/{websearch-qyv22f12.js → command-ph5q8xzv.js} +10 -10
- package/dist/chunks/{websearch-pjvnvgmy.js → command-pjvnvgmy.js} +1 -1
- package/dist/chunks/{websearch-pknna89w.js → command-pknna89w.js} +1 -1
- package/dist/chunks/{websearch-98v28jez.js → command-pm3aw8jw.js} +25 -25
- package/dist/chunks/{websearch-7m2tq7cp.js → command-pn2fvd3j.js} +12 -12
- package/dist/chunks/{websearch-b6m9cw84.js → command-q0r7cvmx.js} +11 -11
- package/dist/chunks/{websearch-gzahs6bb.js → command-q29a3mzv.js} +15 -15
- package/dist/chunks/{websearch-7w3s9kd0.js → command-q5nw5m1n.js} +6 -6
- package/dist/chunks/{websearch-a34cw71v.js → command-qbznwwr3.js} +8 -8
- package/dist/chunks/{websearch-484ven3d.js → command-qcqngy56.js} +10 -10
- package/dist/chunks/{websearch-ztz4j6tx.js → command-qmawctgv.js} +11 -11
- package/dist/chunks/{websearch-52j4gwnf.js → command-qmk2rxp5.js} +5 -5
- package/dist/chunks/{websearch-47j6g49p.js → command-qnv6wqrn.js} +79 -79
- package/dist/chunks/{websearch-qsdy395h.js → command-qsdy395h.js} +1 -1
- package/dist/chunks/{websearch-273x4bvc.js → command-qsmad8q5.js} +26 -26
- package/dist/chunks/{websearch-db4bfb5s.js → command-qv6qez6w.js} +11 -11
- package/dist/chunks/{websearch-ap1jv5wd.js → command-qvx74awb.js} +7 -7
- package/dist/chunks/{websearch-sneexhcr.js → command-r5b2g718.js} +31 -31
- package/dist/chunks/{websearch-gv5sesne.js → command-r60jn89m.js} +17 -17
- package/dist/chunks/{websearch-e61g2f31.js → command-rahj5xg6.js} +8 -8
- package/dist/chunks/{websearch-sv2wt6jj.js → command-rc2rdsk3.js} +12 -12
- package/dist/chunks/{websearch-rdw6cm16.js → command-rdw6cm16.js} +1 -1
- package/dist/chunks/{websearch-pb5amgwz.js → command-rgbassad.js} +23 -23
- package/dist/chunks/{websearch-p491qsmh.js → command-rkwepmqr.js} +12 -12
- package/dist/chunks/{websearch-zeh9ct20.js → command-rq775frq.js} +2 -2
- package/dist/chunks/{websearch-1t2sqhcs.js → command-rqmc9bz6.js} +4 -4
- package/dist/chunks/{websearch-tsgfq9bb.js → command-rsnh7qyx.js} +5 -5
- package/dist/chunks/{websearch-syxn4zf7.js → command-rtbgd8vv.js} +12 -12
- package/dist/chunks/{websearch-afed7ext.js → command-s2ynmxvy.js} +5 -5
- package/dist/chunks/{websearch-h5crbhmb.js → command-sds13m34.js} +15 -15
- package/dist/chunks/{websearch-19j60k9b.js → command-sf8s250z.js} +25 -25
- package/dist/chunks/{websearch-dxvesfzj.js → command-st8d6rzm.js} +40 -40
- package/dist/chunks/{websearch-bg1wpsny.js → command-svt8e23h.js} +30 -30
- package/dist/chunks/{websearch-jcynjjsm.js → command-szncdaef.js} +4 -4
- package/dist/chunks/{websearch-wbkyxrgf.js → command-t3swkhbg.js} +5 -5
- package/dist/chunks/{websearch-bct739vz.js → command-t9zs3egg.js} +4 -4
- package/dist/chunks/{websearch-tazgh4e4.js → command-tazgh4e4.js} +1 -1
- package/dist/chunks/{websearch-tdstcens.js → command-tdstcens.js} +1 -1
- package/dist/chunks/{websearch-g4mwgykz.js → command-tg765z21.js} +9 -9
- package/dist/chunks/{websearch-hcpzh4y5.js → command-tqnd21xx.js} +22 -22
- package/dist/chunks/{websearch-tvtrv512.js → command-tvtrv512.js} +1 -1
- package/dist/chunks/{websearch-8ank75fn.js → command-tx9w5tca.js} +8 -8
- package/dist/chunks/{websearch-r0y2mygc.js → command-v5g5v3ws.js} +16 -16
- package/dist/chunks/{websearch-v3wvqj48.js → command-v7bs4fwn.js} +11 -11
- package/dist/chunks/{websearch-xh3hyv3f.js → command-vbaxqaky.js} +10 -10
- package/dist/chunks/{websearch-veqvce7d.js → command-veqvce7d.js} +1 -1
- package/dist/chunks/command-vnkjks7b.js +18 -0
- package/dist/chunks/{websearch-wxv342sh.js → command-vtpa8adt.js} +27 -27
- package/dist/chunks/{websearch-vzcthcp8.js → command-vzcthcp8.js} +1 -1
- package/dist/chunks/{websearch-wr1n0z8j.js → command-w0825h81.js} +318 -318
- package/dist/chunks/{websearch-z7x2t1h4.js → command-w0cjdr4y.js} +24 -24
- package/dist/chunks/{websearch-paegk39x.js → command-w1k39n5e.js} +4 -4
- package/dist/chunks/{websearch-efqyzrtz.js → command-w1kts72e.js} +7 -7
- package/dist/chunks/{websearch-w3wsvvr9.js → command-w3wsvvr9.js} +1 -1
- package/dist/chunks/{websearch-wd87259q.js → command-wd87259q.js} +1 -1
- package/dist/chunks/{websearch-9yx7mf9e.js → command-wgzvszfr.js} +24 -24
- package/dist/chunks/{websearch-x1ezjp6w.js → command-x1ezjp6w.js} +1 -1
- package/dist/chunks/{websearch-5zrdtdrf.js → command-x6k8vawk.js} +14 -14
- package/dist/chunks/{websearch-57b9ws8p.js → command-xfkkasph.js} +7 -7
- package/dist/chunks/{websearch-ygv8vf3r.js → command-xh0mn2db.js} +4 -4
- package/dist/chunks/{websearch-1p2sdtde.js → command-xydhn12a.js} +6 -6
- package/dist/chunks/{websearch-y1fvbwt7.js → command-y1fvbwt7.js} +1 -1
- package/dist/chunks/{websearch-tx1ywgy3.js → command-y1q6eyqb.js} +16 -16
- package/dist/chunks/{websearch-fxqygnfa.js → command-y31b318c.js} +4 -4
- package/dist/chunks/{websearch-r6bhbggm.js → command-y32hsvj3.js} +29 -29
- package/dist/chunks/{websearch-3va2t4ne.js → command-y64kjv5k.js} +21 -21
- package/dist/chunks/{websearch-y71avatq.js → command-y71avatq.js} +1 -1
- package/dist/chunks/{websearch-pv02emkf.js → command-y91g1rqk.js} +5 -5
- package/dist/chunks/{websearch-5pep6vw4.js → command-ycrff0sc.js} +14 -14
- package/dist/chunks/{websearch-65ecsfj5.js → command-ycytvwgt.js} +23 -23
- package/dist/chunks/{websearch-r8xr0va3.js → command-yp2x3t23.js} +4 -4
- package/dist/chunks/{websearch-nwjqq5p1.js → command-ypwyy9wb.js} +13 -13
- package/dist/chunks/{websearch-yrhqyw5v.js → command-yrhqyw5v.js} +1 -1
- package/dist/chunks/{websearch-yrznvahk.js → command-yrznvahk.js} +2 -2
- package/dist/chunks/{websearch-enpg5945.js → command-ytjd48j9.js} +16 -16
- package/dist/chunks/{websearch-eamc0k64.js → command-yx0qkvav.js} +47 -47
- package/dist/chunks/{websearch-gv6a8nnw.js → command-yyb7tjpc.js} +2 -2
- package/dist/chunks/{websearch-z0bkrqjs.js → command-z0bkrqjs.js} +1 -1
- package/dist/chunks/{websearch-85h867b1.js → command-z0pamjge.js} +45 -45
- package/dist/chunks/{websearch-7j2yenkd.js → command-z3qta96q.js} +5 -5
- package/dist/chunks/{websearch-z63w68vq.js → command-z63w68vq.js} +2 -2
- package/dist/chunks/{websearch-7zchfbzk.js → command-z7t8qwge.js} +5 -5
- package/dist/chunks/{websearch-8wf96ssr.js → command-zg4hrway.js} +20 -20
- package/dist/chunks/{websearch-rg63q7m0.js → command-zqcfqxpy.js} +22 -22
- package/dist/chunks/{websearch-zr2ceqn5.js → command-zr2ceqn5.js} +1 -1
- package/dist/chunks/{websearch-zxq2ej10.js → command-zxq2ej10.js} +1 -1
- package/dist/chunks/command-zyyeags5.js +26 -0
- package/dist/codemode/catalog.js +1 -1
- package/dist/codemode/instructions.js +9 -9
- package/dist/codemode/tool.js +3 -3
- package/dist/codemode/web.js +1 -1
- package/dist/command.js +82 -82
- package/dist/config/discovery.js +81 -81
- package/dist/config/markdown.js +1 -1
- package/dist/config/normalize.js +105 -105
- package/dist/config/plugin/agent.js +122 -122
- package/dist/config/plugin/command.js +211 -211
- package/dist/config/plugin/compaction.js +159 -159
- package/dist/config/plugin/compatibility.js +140 -140
- package/dist/config/plugin/entry-observer.js +1 -1
- package/dist/config/plugin/formatter.js +123 -123
- package/dist/config/plugin/image.js +122 -122
- package/dist/config/plugin/instruction.js +89 -89
- package/dist/config/plugin/location-watcher.js +122 -122
- package/dist/config/plugin/mcp.js +129 -129
- package/dist/config/plugin/policy.js +123 -123
- package/dist/config/plugin/provider.js +122 -122
- package/dist/config/plugin/reference.js +124 -124
- package/dist/config/plugin/shell.js +124 -124
- package/dist/config/plugin/skill-file.js +101 -101
- package/dist/config/plugin/skill.js +143 -143
- package/dist/config/plugin/snapshot.js +122 -122
- package/dist/config/plugin/source.js +123 -123
- package/dist/config/plugin/tool-output.js +124 -124
- package/dist/config/plugin/websearch.js +123 -123
- package/dist/config/plugin/worktree.js +124 -124
- package/dist/config/variable.js +3 -3
- package/dist/config/watch.js +1 -1
- package/dist/config.js +127 -127
- package/dist/credential/sql.js +2 -2
- package/dist/credential.js +82 -82
- package/dist/database/database.js +65 -65
- package/dist/database/drizzle/effect-sqlite/driver.js +12 -12
- package/dist/database/drizzle/effect-sqlite/index.js +12 -12
- package/dist/database/drizzle/effect-sqlite/session.js +11 -11
- package/dist/database/drizzle/index.js +13 -13
- package/dist/database/drizzle/internal/drizzle-utils.js +1 -1
- package/dist/database/drizzle/sqlite-core/effect/count.js +1 -1
- package/dist/database/drizzle/sqlite-core/effect/db.js +9 -9
- package/dist/database/drizzle/sqlite-core/effect/delete.js +2 -2
- package/dist/database/drizzle/sqlite-core/effect/index.js +10 -10
- package/dist/database/drizzle/sqlite-core/effect/insert.js +2 -2
- package/dist/database/drizzle/sqlite-core/effect/query.js +1 -1
- package/dist/database/drizzle/sqlite-core/effect/raw.js +1 -1
- package/dist/database/drizzle/sqlite-core/effect/select.js +2 -2
- package/dist/database/drizzle/sqlite-core/effect/session.js +10 -10
- package/dist/database/drizzle/sqlite-core/effect/update.js +2 -2
- package/dist/database/drizzle.js +14 -14
- package/dist/database/migration/20260127222353_familiar_lady_ursula.js +1 -1
- package/dist/database/migration/20260211171708_add_project_commands.js +1 -1
- package/dist/database/migration/20260213144116_wakeful_the_professor.js +1 -1
- package/dist/database/migration/20260225215848_workspace.js +1 -1
- package/dist/database/migration/20260227213759_add_session_workspace_id.js +1 -1
- package/dist/database/migration/20260228203230_blue_harpoon.js +1 -1
- package/dist/database/migration/20260303231226_add_workspace_fields.js +1 -1
- package/dist/database/migration/20260309230000_move_org_to_state.js +1 -1
- package/dist/database/migration/20260312043431_session_message_cursor.js +1 -1
- package/dist/database/migration/20260323234822_events.js +1 -1
- package/dist/database/migration/20260410174513_workspace-name.js +1 -1
- package/dist/database/migration/20260413175956_chief_energizer.js +1 -1
- package/dist/database/migration/20260423070820_add_icon_url_override.js +1 -1
- package/dist/database/migration/20260427172553_slow_nightmare.js +1 -1
- package/dist/database/migration/20260428004200_add_session_path.js +1 -1
- package/dist/database/migration/20260501142318_next_venus.js +1 -1
- package/dist/database/migration/20260504145000_add_sync_owner.js +1 -1
- package/dist/database/migration/20260507164347_add_workspace_time.js +1 -1
- package/dist/database/migration/20260510033149_session_usage.js +1 -1
- package/dist/database/migration/20260511000411_data_migration_state.js +1 -1
- package/dist/database/migration/20260511173437_session-metadata.js +1 -1
- package/dist/database/migration/20260601010001_normalize_storage_paths.js +1 -1
- package/dist/database/migration/20260601202201_amazing_prowler.js +1 -1
- package/dist/database/migration/20260602002951_lowly_union_jack.js +1 -1
- package/dist/database/migration/20260602182828_add_project_directories.js +1 -1
- package/dist/database/migration/20260603001617_session_message_projection_indexes.js +1 -1
- package/dist/database/migration/20260603040000_session_message_projection_order.js +1 -1
- package/dist/database/migration/20260603141458_session_input_inbox.js +1 -1
- package/dist/database/migration/20260603160727_jittery_ezekiel_stane.js +1 -1
- package/dist/database/migration/20260604172448_event_sourced_session_input.js +1 -1
- package/dist/database/migration/20260605003541_add_session_context_snapshot.js +1 -1
- package/dist/database/migration/20260605042240_add_context_epoch_agent.js +1 -1
- package/dist/database/migration/20260611035744_credential.js +1 -1
- package/dist/database/migration/20260611192811_lush_chimera.js +1 -1
- package/dist/database/migration/20260612174303_project_dir_strategy.js +1 -1
- package/dist/database/migration/20260622142730_simplify_session_context_epoch.js +1 -1
- package/dist/database/migration/20260622170816_reset_v2_session_state.js +1 -1
- package/dist/database/migration/20260622202450_simplify_session_input.js +1 -1
- package/dist/database/migration/20260804233008_loose_psylocke.js +1 -1
- package/dist/database/migration/20260805200742_import_legacy_credentials.js +1 -1
- package/dist/database/migration/20260808023530_workspace_domain.js +1 -1
- package/dist/database/migration/20260811161259_execution_claim_attempts.js +1 -1
- package/dist/database/migration/20260812181746_session_inbox.js +1 -1
- package/dist/database/migration/20260812213948_worktree.js +1 -1
- package/dist/database/migration/20260819222447_session_viewed_state.js +1 -1
- package/dist/database/migration/20260823191254_nullable_workspace_binding.js +1 -1
- package/dist/database/migration/20260910120000_clear_v1_session_permission.js +1 -1
- package/dist/database/migration.gen.js +48 -48
- package/dist/database/migration.js +50 -50
- package/dist/database/path.js +2 -2
- package/dist/database/schema.gen.js +1 -1
- package/dist/database/schema.sql.js +1 -1
- package/dist/database/sqlite.bun.js +1 -1
- package/dist/database/sqlite.js +1 -1
- package/dist/database/sqlite.node.js +1 -1
- package/dist/database/sqlite.workerd.js +1 -1
- package/dist/database/v1-migration.bun.js +75 -75
- package/dist/database/v1-migration.js +1 -1
- package/dist/effect/app-node-builder.js +369 -369
- package/dist/effect/app-node-platform.js +2 -2
- package/dist/effect/keyed-mutex.js +1 -1
- package/dist/effect/websocket-constructor.js +1 -1
- package/dist/environment/driver.js +1 -1
- package/dist/environment/environment.js +92 -92
- package/dist/environment/exec-defaults.js +2 -2
- package/dist/environment/files.js +1 -1
- package/dist/environment/index.js +94 -94
- package/dist/environment/local.js +2 -2
- package/dist/environment/memory.js +2 -2
- package/dist/environment/unavailable.js +1 -1
- package/dist/event/sql.js +1 -1
- package/dist/event-logger.js +69 -69
- package/dist/file-access.js +103 -103
- package/dist/file-mutation.js +93 -93
- package/dist/file-retention.js +1 -1
- package/dist/file.js +1 -1
- package/dist/filesystem/fff.bun.js +2 -2
- package/dist/filesystem/fff.js +1 -1
- package/dist/filesystem/fff.node.js +2 -2
- package/dist/filesystem/fff.workerd.js +2 -2
- package/dist/filesystem/ignore.js +1 -1
- package/dist/filesystem/location-watcher-policy.js +6 -6
- package/dist/filesystem/location-watcher.js +224 -224
- package/dist/filesystem/protected.js +1 -1
- package/dist/filesystem/search.js +102 -102
- package/dist/filesystem/watcher-binding.js +1 -1
- package/dist/filesystem/watcher.js +15 -15
- package/dist/filesystem.js +103 -103
- package/dist/form.js +83 -83
- package/dist/formatter/builtins.js +4 -4
- package/dist/formatter.js +86 -86
- package/dist/generate.js +100 -100
- 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 +90 -90
- package/dist/github-copilot/openai-compatible-error.js +1 -1
- package/dist/github-copilot/responses/convert-to-openai-responses-input.js +1 -1
- package/dist/github-copilot/responses/map-openai-responses-finish-reason.js +1 -1
- package/dist/github-copilot/responses/openai-error.js +1 -1
- package/dist/github-copilot/responses/openai-responses-language-model.js +10 -10
- package/dist/github-copilot/responses/openai-responses-prepare-tools.js +6 -6
- package/dist/github-copilot/responses/tool/code-interpreter.js +1 -1
- package/dist/github-copilot/responses/tool/file-search.js +1 -1
- package/dist/github-copilot/responses/tool/image-generation.js +1 -1
- package/dist/github-copilot/responses/tool/web-search-preview.js +1 -1
- package/dist/github-copilot/responses/tool/web-search.js +1 -1
- package/dist/id/id.js +1 -1
- package/dist/image/photon.js +2 -2
- package/dist/image.js +6 -6
- package/dist/instance/service.js +5 -5
- package/dist/instance.js +360 -360
- package/dist/instruction-discovery.js +84 -84
- package/dist/instructions/builtins.js +86 -86
- package/dist/instructions/index.js +3 -3
- package/dist/integration/connection.js +3 -3
- package/dist/integration.js +85 -85
- package/dist/job.js +78 -78
- package/dist/kv/sql.js +2 -2
- package/dist/kv.js +72 -72
- package/dist/location-activity.js +131 -131
- package/dist/location-lifecycle.js +105 -105
- package/dist/location-mutation.js +103 -103
- package/dist/location-service-map.js +85 -85
- package/dist/location-services.js +357 -357
- package/dist/location.js +80 -80
- package/dist/managed-policy.js +5 -5
- package/dist/mcp/client.js +90 -90
- package/dist/mcp/index.js +105 -105
- package/dist/mcp/instructions.js +125 -125
- package/dist/mcp/oauth.js +77 -77
- package/dist/mcp/stdio.js +89 -89
- package/dist/mime.js +1 -1
- package/dist/modal/models.js +90 -90
- package/dist/model-resolver.js +97 -97
- package/dist/model.js +101 -101
- package/dist/models-dev.js +106 -106
- package/dist/oauth/page.js +1 -1
- package/dist/permission/saved.js +81 -81
- package/dist/permission/sql.js +5 -5
- package/dist/permission.js +108 -108
- package/dist/persistent-pty/binary.bun.js +1 -1
- package/dist/persistent-pty/daemon.js +1 -1
- package/dist/persistent-pty/index.js +85 -85
- package/dist/persistent-pty/pty-binding.js +1 -1
- package/dist/persistent-pty.js +74 -74
- package/dist/plugin/agent.js +101 -101
- package/dist/plugin/command.js +98 -98
- package/dist/plugin/compaction.js +130 -130
- package/dist/plugin/hooks.js +5 -5
- package/dist/plugin/host.js +217 -217
- package/dist/plugin/identity.js +3 -3
- package/dist/plugin/instance.js +3 -3
- package/dist/plugin/internal.js +331 -331
- package/dist/plugin/mcp-codemode-exclusion.js +3 -3
- package/dist/plugin/models-dev.js +95 -95
- package/dist/plugin/module.js +7 -7
- package/dist/plugin/optimize.js +2 -2
- package/dist/plugin/plan.js +101 -101
- package/dist/plugin/promise.js +1 -1
- package/dist/plugin/provider/amazon-bedrock.js +89 -89
- package/dist/plugin/provider/azure.js +121 -121
- package/dist/plugin/provider/cerebras.js +1 -1
- package/dist/plugin/provider/cloudflare-ai-gateway.js +120 -120
- package/dist/plugin/provider/cloudflare-workers-ai.js +120 -120
- package/dist/plugin/provider/cohere.js +2 -2
- package/dist/plugin/provider/configured.js +118 -118
- package/dist/plugin/provider/digitalocean.js +92 -92
- package/dist/plugin/provider/dynamic.js +2 -2
- package/dist/plugin/provider/factory.js +1 -1
- package/dist/plugin/provider/gateway.js +2 -2
- package/dist/plugin/provider/github-copilot.js +92 -92
- package/dist/plugin/provider/gitlab.js +90 -90
- package/dist/plugin/provider/google-vertex.js +89 -89
- package/dist/plugin/provider/kilo.js +1 -1
- package/dist/plugin/provider/llmgateway.js +76 -76
- package/dist/plugin/provider/lmstudio.js +121 -121
- package/dist/plugin/provider/modal.js +91 -91
- package/dist/plugin/provider/nvidia.js +1 -1
- package/dist/plugin/provider/ollama.js +121 -121
- package/dist/plugin/provider/openai.js +91 -91
- package/dist/plugin/provider/opencode.js +93 -93
- package/dist/plugin/provider/openrouter.js +90 -90
- package/dist/plugin/provider/perplexity.js +2 -2
- package/dist/plugin/provider/poe.js +77 -77
- package/dist/plugin/provider/prompt-cache-key.js +89 -89
- package/dist/plugin/provider/sap-ai-core.js +90 -90
- package/dist/plugin/provider/sdk-factory.js +1 -1
- package/dist/plugin/provider/snowflake-cortex.js +121 -121
- package/dist/plugin/provider/venice.js +2 -2
- package/dist/plugin/provider/vercel.js +89 -89
- package/dist/plugin/provider/vllm.js +121 -121
- package/dist/plugin/provider/xai.js +90 -90
- package/dist/plugin/provider/zenmux.js +1 -1
- package/dist/plugin/provider.js +159 -159
- package/dist/plugin/sdk.js +75 -75
- package/dist/plugin/service.js +3 -3
- package/dist/plugin/skill.js +138 -138
- package/dist/plugin/source-directory.js +1 -1
- package/dist/plugin/supervisor.js +350 -350
- package/dist/plugin/tool-input-repair.js +4 -4
- package/dist/plugin/update.js +6 -6
- package/dist/plugin/vcs/git.js +85 -85
- package/dist/plugin/vcs/hg.js +85 -85
- package/dist/plugin/warming.js +120 -120
- package/dist/plugin/websearch/exa.js +5 -5
- package/dist/plugin/websearch/firecrawl.js +6 -6
- package/dist/plugin/websearch/index.js +9 -9
- package/dist/plugin/websearch/mcp.js +2 -2
- package/dist/plugin/websearch/parallel.js +8 -8
- package/dist/plugin/websearch/tavily.js +4 -4
- package/dist/plugin/websearch/tinyfish.js +8 -8
- package/dist/plugin.js +222 -222
- package/dist/project/schema.js +2 -2
- package/dist/project/sql.js +4 -4
- package/dist/project.js +79 -79
- package/dist/provider.js +98 -98
- 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 +85 -85
- package/dist/reference/instructions.js +88 -88
- package/dist/reference.js +86 -86
- package/dist/repository-cache.js +80 -80
- package/dist/repository.js +3 -3
- package/dist/ripgrep/binary.js +2 -2
- package/dist/ripgrep.js +94 -94
- package/dist/rpc.js +85 -85
- package/dist/schema.js +1 -1
- package/dist/session/command.js +73 -73
- package/dist/session/compaction.js +131 -131
- package/dist/session/context.js +151 -151
- package/dist/session/diff.js +87 -87
- package/dist/session/environment.js +3 -3
- package/dist/session/error.js +5 -5
- package/dist/session/event.js +1 -1
- package/dist/session/execution/restart.js +220 -220
- package/dist/session/execution.js +127 -127
- package/dist/session/generate.js +150 -150
- package/dist/session/history.js +13 -13
- package/dist/session/inbox.js +85 -85
- package/dist/session/info.js +3 -3
- package/dist/session/instruction-entry.js +78 -78
- package/dist/session/instruction-state.js +8 -8
- package/dist/session/instructions.js +96 -96
- package/dist/session/message-updater.js +2 -2
- package/dist/session/message.js +1 -1
- package/dist/session/model-request.js +116 -116
- package/dist/session/model-transport.js +7 -7
- package/dist/session/move.js +129 -129
- package/dist/session/projector.js +85 -85
- package/dist/session/prompt.js +104 -104
- package/dist/session/provider-context.js +3 -3
- package/dist/session/revert.js +89 -89
- package/dist/session/run-coordinator.js +3 -3
- package/dist/session/runner/index.js +3 -3
- package/dist/session/runner/llm.js +230 -230
- package/dist/session/runner/max-steps.js +1 -1
- package/dist/session/runner/model.js +97 -97
- package/dist/session/runner/publish-llm-event.js +3 -3
- package/dist/session/runner/retry.js +113 -113
- package/dist/session/runner/step.js +125 -125
- package/dist/session/runner/to-llm-message.js +2 -2
- package/dist/session/schema.js +1 -1
- package/dist/session/session.js +169 -169
- package/dist/session/shell.js +137 -137
- package/dist/session/skill.js +102 -102
- package/dist/session/sql.js +5 -5
- package/dist/session/stats.js +72 -72
- package/dist/session/store.js +86 -86
- package/dist/session/subagent-completion.js +1 -1
- package/dist/session/subagent-job.js +207 -207
- package/dist/session/system-prompt.js +5 -5
- package/dist/session/title.js +155 -155
- package/dist/session/to-session-error.js +110 -110
- package/dist/session/transfer.js +211 -211
- package/dist/session/usage.js +1 -1
- package/dist/session.js +213 -213
- package/dist/shell/parse.js +6 -6
- package/dist/shell/result.js +1 -1
- package/dist/shell/scan.js +1 -1
- package/dist/shell/select.js +13 -13
- package/dist/shell.js +135 -135
- package/dist/skill/discovery.js +6 -6
- package/dist/skill/instructions.js +104 -104
- package/dist/skill.js +109 -109
- package/dist/snapshot.js +92 -92
- package/dist/state.js +1 -1
- package/dist/tool/html-markdown.js +1 -1
- package/dist/tool/http-body.js +1 -1
- package/dist/tool/mcp.js +126 -126
- package/dist/tool/plugin/edit.js +119 -119
- package/dist/tool/plugin/file-diff.js +1 -1
- package/dist/tool/plugin/glob.js +123 -123
- package/dist/tool/plugin/grep.js +123 -123
- package/dist/tool/plugin/opencode.js +3 -3
- package/dist/tool/plugin/patch.js +121 -121
- package/dist/tool/plugin/question.js +104 -104
- package/dist/tool/plugin/read.js +124 -124
- package/dist/tool/plugin/shell.js +212 -212
- package/dist/tool/plugin/skill.js +110 -110
- package/dist/tool/plugin/subagent.js +218 -218
- package/dist/tool/plugin/webfetch.js +109 -109
- package/dist/tool/plugin/websearch.js +113 -113
- package/dist/tool/plugin/write.js +113 -113
- package/dist/tool/read-filesystem.js +99 -99
- package/dist/tool/runtime.js +1 -1
- package/dist/tool-output.js +8 -8
- package/dist/tool.js +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 +3 -3
- package/dist/v1/config/config.js +14 -14
- 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 +5 -5
- package/dist/v1/config/mcp.js +4 -4
- package/dist/v1/config/migrate.js +91 -91
- package/dist/v1/config/permission.js +3 -3
- package/dist/v1/config/plugin.js +3 -3
- package/dist/v1/config/provider-options.js +1 -1
- package/dist/v1/config/provider.js +4 -4
- package/dist/v1/config/server.js +2 -2
- package/dist/v1/config/skills.js +3 -3
- package/dist/v1/permission.js +1 -1
- package/dist/variant.js +92 -92
- package/dist/vcs/patch.js +1 -1
- package/dist/vcs.js +88 -88
- package/dist/websearch.js +83 -83
- package/dist/wellknown/plugin.js +75 -75
- package/dist/wellknown.js +80 -80
- package/dist/workspace/driver.js +5 -5
- package/dist/workspace/sql.js +1 -1
- package/dist/workspace.js +79 -79
- package/dist/worktree/directory.js +2 -2
- package/dist/worktree/git.js +8 -8
- package/dist/worktree/sql.js +5 -5
- package/dist/worktree/strategies.js +88 -88
- package/dist/worktree.js +91 -91
- package/package.json +8 -8
- package/dist/chunks/websearch-4v7qdvcn.js +0 -18
- package/dist/chunks/websearch-ayg7q4gs.js +0 -252
- package/dist/chunks/websearch-r0snc0mf.js +0 -26
- /package/dist/chunks/{websearch-0mesazry.js → command-0mesazry.js} +0 -0
- /package/dist/chunks/{websearch-0qkdqm5v.js → command-0qkdqm5v.js} +0 -0
- /package/dist/chunks/{websearch-0zkw76rk.js → command-0zkw76rk.js} +0 -0
- /package/dist/chunks/{websearch-17cy0kzp.js → command-17cy0kzp.js} +0 -0
- /package/dist/chunks/{websearch-1cnp2v09.js → command-1cnp2v09.js} +0 -0
- /package/dist/chunks/{websearch-1kg9ymc8.js → command-1kg9ymc8.js} +0 -0
- /package/dist/chunks/{websearch-24dcb14g.js → command-24dcb14g.js} +0 -0
- /package/dist/chunks/{websearch-2710q6r3.js → command-2710q6r3.js} +0 -0
- /package/dist/chunks/{websearch-2axfhc9x.js → command-2axfhc9x.js} +0 -0
- /package/dist/chunks/{websearch-2c3vjs8z.js → command-2c3vjs8z.js} +0 -0
- /package/dist/chunks/{websearch-359p4xyc.js → command-359p4xyc.js} +0 -0
- /package/dist/chunks/{websearch-3asan66x.js → command-3asan66x.js} +0 -0
- /package/dist/chunks/{websearch-3v8g72cx.js → command-3v8g72cx.js} +0 -0
- /package/dist/chunks/{websearch-3w5fmr99.js → command-3w5fmr99.js} +0 -0
- /package/dist/chunks/{websearch-3wcehsnq.js → command-3wcehsnq.js} +0 -0
- /package/dist/chunks/{websearch-43n2bw4t.js → command-43n2bw4t.js} +0 -0
- /package/dist/chunks/{websearch-4knz6hnm.js → command-4knz6hnm.js} +0 -0
- /package/dist/chunks/{websearch-4vcrnpx2.js → command-4vcrnpx2.js} +0 -0
- /package/dist/chunks/{websearch-4y7fprxs.js → command-4y7fprxs.js} +0 -0
- /package/dist/chunks/{websearch-53557ph1.js → command-53557ph1.js} +0 -0
- /package/dist/chunks/{websearch-550bvhaj.js → command-550bvhaj.js} +0 -0
- /package/dist/chunks/{websearch-5qd3pb7m.js → command-5qd3pb7m.js} +0 -0
- /package/dist/chunks/{websearch-6prwharc.js → command-6prwharc.js} +0 -0
- /package/dist/chunks/{websearch-7akdwqpd.js → command-7akdwqpd.js} +0 -0
- /package/dist/chunks/{websearch-7m9af43g.js → command-7m9af43g.js} +0 -0
- /package/dist/chunks/{websearch-822emrt2.js → command-822emrt2.js} +0 -0
- /package/dist/chunks/{websearch-88xbtdfr.js → command-88xbtdfr.js} +0 -0
- /package/dist/chunks/{websearch-8n3pysct.js → command-8n3pysct.js} +0 -0
- /package/dist/chunks/{websearch-922hggd3.js → command-922hggd3.js} +0 -0
- /package/dist/chunks/{websearch-9a4afbnw.js → command-9a4afbnw.js} +0 -0
- /package/dist/chunks/{websearch-9rqn6x4v.js → command-9rqn6x4v.js} +0 -0
- /package/dist/chunks/{websearch-a6k6eb26.js → command-a6k6eb26.js} +0 -0
- /package/dist/chunks/{websearch-af5trqkr.js → command-af5trqkr.js} +0 -0
- /package/dist/chunks/{websearch-afrmfg78.js → command-afrmfg78.js} +0 -0
- /package/dist/chunks/{websearch-aqzs7mqg.js → command-aqzs7mqg.js} +0 -0
- /package/dist/chunks/{websearch-atq7p7m5.js → command-atq7p7m5.js} +0 -0
- /package/dist/chunks/{websearch-bkyjaxrp.js → command-bkyjaxrp.js} +0 -0
- /package/dist/chunks/{websearch-bmr6ed5q.js → command-bmr6ed5q.js} +0 -0
- /package/dist/chunks/{websearch-cf4snx6d.js → command-cf4snx6d.js} +0 -0
- /package/dist/chunks/{websearch-cvy3z8tj.js → command-cvy3z8tj.js} +0 -0
- /package/dist/chunks/{websearch-d9fn303g.js → command-d9fn303g.js} +0 -0
- /package/dist/chunks/{websearch-d9jj8t3e.js → command-d9jj8t3e.js} +0 -0
- /package/dist/chunks/{websearch-dajrwvna.js → command-dajrwvna.js} +0 -0
- /package/dist/chunks/{websearch-dap0rakb.js → command-dap0rakb.js} +0 -0
- /package/dist/chunks/{websearch-df08tz66.js → command-df08tz66.js} +0 -0
- /package/dist/chunks/{websearch-dy18nga0.js → command-dy18nga0.js} +0 -0
- /package/dist/chunks/{websearch-e5kj55wp.js → command-e5kj55wp.js} +0 -0
- /package/dist/chunks/{websearch-e73j6tqm.js → command-e73j6tqm.js} +0 -0
- /package/dist/chunks/{websearch-ec1grn59.js → command-ec1grn59.js} +0 -0
- /package/dist/chunks/{websearch-eh3zwz77.js → command-eh3zwz77.js} +0 -0
- /package/dist/chunks/{websearch-emrn6kk6.js → command-emrn6kk6.js} +0 -0
- /package/dist/chunks/{websearch-f0mxakyp.js → command-f0mxakyp.js} +0 -0
- /package/dist/chunks/{websearch-f6n9ztr4.js → command-f6n9ztr4.js} +0 -0
- /package/dist/chunks/{websearch-faypxj3z.js → command-faypxj3z.js} +0 -0
- /package/dist/chunks/{websearch-fd410y7t.js → command-fd410y7t.js} +0 -0
- /package/dist/chunks/{websearch-fxgpk5d8.js → command-fxgpk5d8.js} +0 -0
- /package/dist/chunks/{websearch-g4wezp1m.js → command-g4wezp1m.js} +0 -0
- /package/dist/chunks/{websearch-g86h250q.js → command-g86h250q.js} +0 -0
- /package/dist/chunks/{websearch-gebd4c9n.js → command-gebd4c9n.js} +0 -0
- /package/dist/chunks/{websearch-gftt206x.js → command-gftt206x.js} +0 -0
- /package/dist/chunks/{websearch-hjbc5kem.js → command-hjbc5kem.js} +0 -0
- /package/dist/chunks/{websearch-hk9envan.js → command-hk9envan.js} +0 -0
- /package/dist/chunks/{websearch-j2ntwpah.js → command-j2ntwpah.js} +0 -0
- /package/dist/chunks/{websearch-j5zkgpj8.js → command-j5zkgpj8.js} +0 -0
- /package/dist/chunks/{websearch-jjkms2e6.js → command-jjkms2e6.js} +0 -0
- /package/dist/chunks/{websearch-jr7sbwjy.js → command-jr7sbwjy.js} +0 -0
- /package/dist/chunks/{websearch-jwfs4k6c.js → command-jwfs4k6c.js} +0 -0
- /package/dist/chunks/{websearch-jzg6c2d5.js → command-jzg6c2d5.js} +0 -0
- /package/dist/chunks/{websearch-mp448xyj.js → command-mp448xyj.js} +0 -0
- /package/dist/chunks/{websearch-msx8hqn2.js → command-msx8hqn2.js} +0 -0
- /package/dist/chunks/{websearch-n05xt0ee.js → command-n05xt0ee.js} +0 -0
- /package/dist/chunks/{websearch-n3j8tn72.js → command-n3j8tn72.js} +0 -0
- /package/dist/chunks/{websearch-njntx4h6.js → command-njntx4h6.js} +0 -0
- /package/dist/chunks/{websearch-q3sfg36h.js → command-q3sfg36h.js} +0 -0
- /package/dist/chunks/{websearch-q3t37ft6.js → command-q3t37ft6.js} +0 -0
- /package/dist/chunks/{websearch-q74kybfr.js → command-q74kybfr.js} +0 -0
- /package/dist/chunks/{websearch-qaymkmh1.js → command-qaymkmh1.js} +0 -0
- /package/dist/chunks/{websearch-qb87gjwd.js → command-qb87gjwd.js} +0 -0
- /package/dist/chunks/{websearch-qfa1cgps.js → command-qfa1cgps.js} +0 -0
- /package/dist/chunks/{websearch-qg3g05ea.js → command-qg3g05ea.js} +0 -0
- /package/dist/chunks/{websearch-qrg20bc0.js → command-qrg20bc0.js} +0 -0
- /package/dist/chunks/{websearch-rcb2kzg1.js → command-rcb2kzg1.js} +0 -0
- /package/dist/chunks/{websearch-sdp7kfr6.js → command-sdp7kfr6.js} +0 -0
- /package/dist/chunks/{websearch-sk3qaz4a.js → command-sk3qaz4a.js} +0 -0
- /package/dist/chunks/{websearch-ssg3fenm.js → command-ssg3fenm.js} +0 -0
- /package/dist/chunks/{websearch-twg0f83k.js → command-twg0f83k.js} +0 -0
- /package/dist/chunks/{websearch-w803qqfp.js → command-w803qqfp.js} +0 -0
- /package/dist/chunks/{websearch-wc3fc9cn.js → command-wc3fc9cn.js} +0 -0
- /package/dist/chunks/{websearch-wer8tq1h.js → command-wer8tq1h.js} +0 -0
- /package/dist/chunks/{websearch-wtztk69x.js → command-wtztk69x.js} +0 -0
- /package/dist/chunks/{websearch-x0ckcb58.js → command-x0ckcb58.js} +0 -0
- /package/dist/chunks/{websearch-x61499pn.js → command-x61499pn.js} +0 -0
- /package/dist/chunks/{websearch-y44na4kk.js → command-y44na4kk.js} +0 -0
- /package/dist/chunks/{websearch-y8cydn3q.js → command-y8cydn3q.js} +0 -0
- /package/dist/chunks/{websearch-y8f7s663.js → command-y8f7s663.js} +0 -0
- /package/dist/chunks/{websearch-ygaqb7jw.js → command-ygaqb7jw.js} +0 -0
- /package/dist/chunks/{websearch-ym463w8f.js → command-ym463w8f.js} +0 -0
- /package/dist/chunks/{websearch-z9919s4g.js → command-z9919s4g.js} +0 -0
|
@@ -1,28 +1,28 @@
|
|
|
1
1
|
import {
|
|
2
2
|
lazy2
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./command-88xbtdfr.js";
|
|
4
4
|
import {
|
|
5
5
|
load4
|
|
6
|
-
} from "./
|
|
6
|
+
} from "./command-5qd3pb7m.js";
|
|
7
7
|
import {
|
|
8
8
|
__export
|
|
9
|
-
} from "./
|
|
9
|
+
} from "./command-9rqn6x4v.js";
|
|
10
10
|
|
|
11
11
|
// src/filesystem/watcher.ts
|
|
12
12
|
var exports_watcher = {};
|
|
13
13
|
__export(exports_watcher, {
|
|
14
|
-
Event: () =>
|
|
14
|
+
Event: () => Event8,
|
|
15
15
|
Native: () => Native3,
|
|
16
|
-
Options: () =>
|
|
17
|
-
Service: () =>
|
|
16
|
+
Options: () => Options5,
|
|
17
|
+
Service: () => Service48,
|
|
18
18
|
Test: () => Test3,
|
|
19
19
|
Watcher: () => exports_watcher,
|
|
20
|
-
configured: () =>
|
|
20
|
+
configured: () => configured4,
|
|
21
21
|
hasNativeBinding: () => hasNativeBinding2,
|
|
22
|
-
layer: () =>
|
|
22
|
+
layer: () => layer18,
|
|
23
23
|
nativeLayer: () => nativeLayer2,
|
|
24
24
|
nativeNode: () => nativeNode2,
|
|
25
|
-
node: () =>
|
|
25
|
+
node: () => node50,
|
|
26
26
|
testLayer: () => testLayer3
|
|
27
27
|
});
|
|
28
28
|
import { createWrapper } from "@parcel/watcher/wrapper.js";
|
|
@@ -33,7 +33,7 @@ import { Cause, Context, Effect, Layer, PubSub, RcMap, Schema, Stream } from "ef
|
|
|
33
33
|
import { watch } from "node:fs";
|
|
34
34
|
import path from "path";
|
|
35
35
|
var SUBSCRIBE_TIMEOUT_MS = 1e4;
|
|
36
|
-
var
|
|
36
|
+
var Event8 = { Updated: FileSystem.Event.Changed };
|
|
37
37
|
var watcher = lazy2(() => {
|
|
38
38
|
try {
|
|
39
39
|
return createWrapper(load4());
|
|
@@ -53,18 +53,18 @@ var hasNativeBinding2 = () => !!watcher();
|
|
|
53
53
|
|
|
54
54
|
class Native3 extends Context.Service()("@opencode/Watcher/Native") {
|
|
55
55
|
}
|
|
56
|
-
var
|
|
56
|
+
var Options5 = Schema.Struct({
|
|
57
57
|
enabled: Schema.optional(Schema.Boolean)
|
|
58
58
|
});
|
|
59
59
|
|
|
60
|
-
class
|
|
60
|
+
class Service48 extends Context.Service()("@opencode/Watcher") {
|
|
61
61
|
}
|
|
62
62
|
|
|
63
63
|
class Test3 extends Context.Service()("@opencode/Watcher/Test") {
|
|
64
64
|
}
|
|
65
|
-
var
|
|
65
|
+
var layer18 = (options) => Layer.effect(Service48, Effect.gen(function* () {
|
|
66
66
|
if (options?.enabled === false) {
|
|
67
|
-
return
|
|
67
|
+
return Service48.of({ subscribe: () => Effect.succeed(Stream.empty) });
|
|
68
68
|
}
|
|
69
69
|
const native = yield* Native3;
|
|
70
70
|
const watchers = yield* RcMap.make({
|
|
@@ -105,7 +105,7 @@ var layer17 = (options) => Layer.effect(Service45, Effect.gen(function* () {
|
|
|
105
105
|
return Stream.fromSubscription(subscription);
|
|
106
106
|
}));
|
|
107
107
|
});
|
|
108
|
-
return
|
|
108
|
+
return Service48.of({ subscribe });
|
|
109
109
|
}));
|
|
110
110
|
var testLayer3 = Layer.effectContext(Effect.gen(function* () {
|
|
111
111
|
const subscriptions = [];
|
|
@@ -129,9 +129,9 @@ var testLayer3 = Layer.effectContext(Effect.gen(function* () {
|
|
|
129
129
|
};
|
|
130
130
|
})
|
|
131
131
|
});
|
|
132
|
-
const context = yield* Layer.build(
|
|
132
|
+
const context = yield* Layer.build(layer18().pipe(Layer.provide(Layer.succeed(Native3, native))));
|
|
133
133
|
const test = Test3.of({
|
|
134
|
-
subscribe: Context.get(context,
|
|
134
|
+
subscribe: Context.get(context, Service48).subscribe,
|
|
135
135
|
emit: (update) => Effect.sync(() => {
|
|
136
136
|
const target = path.resolve(update.path);
|
|
137
137
|
active.forEach((matches, publish) => {
|
|
@@ -141,7 +141,7 @@ var testLayer3 = Layer.effectContext(Effect.gen(function* () {
|
|
|
141
141
|
}),
|
|
142
142
|
subscriptions: () => Effect.sync(() => [...subscriptions])
|
|
143
143
|
});
|
|
144
|
-
return Context.empty().pipe(Context.add(
|
|
144
|
+
return Context.empty().pipe(Context.add(Service48, test), Context.add(Test3, test));
|
|
145
145
|
}));
|
|
146
146
|
var nativeLayer2 = Layer.succeed(Native3, Native3.of({
|
|
147
147
|
subscribe: (input) => {
|
|
@@ -164,10 +164,10 @@ var nativeLayer2 = Layer.succeed(Native3, Native3.of({
|
|
|
164
164
|
}
|
|
165
165
|
}));
|
|
166
166
|
var nativeNode2 = makeGlobalNode({ service: Native3, layer: nativeLayer2, deps: [] });
|
|
167
|
-
function
|
|
168
|
-
return makeGlobalNode({ service:
|
|
167
|
+
function configured4(options) {
|
|
168
|
+
return makeGlobalNode({ service: Service48, layer: layer18(options), deps: [nativeNode2] });
|
|
169
169
|
}
|
|
170
|
-
var
|
|
170
|
+
var node50 = configured4();
|
|
171
171
|
function subscribeDirectory(native, backend, directory, ignore, publish) {
|
|
172
172
|
if (!native || !backend) {
|
|
173
173
|
return Effect.logError("watcher backend not supported", { directory, platform: process.platform }).pipe(Effect.as(undefined));
|
|
@@ -187,4 +187,4 @@ function subscribeDirectory(native, backend, directory, ignore, publish) {
|
|
|
187
187
|
}).pipe(Effect.as(undefined))));
|
|
188
188
|
}
|
|
189
189
|
|
|
190
|
-
export {
|
|
190
|
+
export { Event8, hasNativeBinding2, Native3, Options5, Service48, Test3, layer18, testLayer3, nativeLayer2, nativeNode2, configured4, node50, exports_watcher };
|
|
@@ -1,13 +1,13 @@
|
|
|
1
1
|
import {
|
|
2
2
|
__export
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./command-9rqn6x4v.js";
|
|
4
4
|
|
|
5
5
|
// src/plugin/hooks.ts
|
|
6
6
|
var exports_hooks = {};
|
|
7
7
|
__export(exports_hooks, {
|
|
8
8
|
PluginHooks: () => exports_hooks,
|
|
9
|
-
Service: () =>
|
|
10
|
-
node: () =>
|
|
9
|
+
Service: () => Service78,
|
|
10
|
+
node: () => node82
|
|
11
11
|
});
|
|
12
12
|
import { Context, Effect, Layer, Scope } from "effect";
|
|
13
13
|
import { makeLocationNode } from "@opencode/util/effect/app-node";
|
|
@@ -20,9 +20,9 @@ var eventProviderID = (event) => {
|
|
|
20
20
|
return typeof model.providerID === "string" ? model.providerID : undefined;
|
|
21
21
|
};
|
|
22
22
|
|
|
23
|
-
class
|
|
23
|
+
class Service78 extends Context.Service()("@opencode/PluginHooks") {
|
|
24
24
|
}
|
|
25
|
-
var layer = Layer.effect(
|
|
25
|
+
var layer = Layer.effect(Service78, Effect.gen(function* () {
|
|
26
26
|
const callbacks = new Map;
|
|
27
27
|
const key = (domain, name) => `${domain}.${String(name)}`;
|
|
28
28
|
const register = Effect.fn("PluginHooks.register")(function* (domain, name, callback, options) {
|
|
@@ -54,8 +54,8 @@ var layer = Layer.effect(Service74, Effect.gen(function* () {
|
|
|
54
54
|
return event;
|
|
55
55
|
});
|
|
56
56
|
const has = (domain, name, providerID) => Effect.sync(() => (callbacks.get(key(domain, name)) ?? []).some((entry) => entry.options?.providerID === undefined || entry.options.providerID === providerID));
|
|
57
|
-
return
|
|
57
|
+
return Service78.of({ has, register, trigger });
|
|
58
58
|
}));
|
|
59
|
-
var
|
|
59
|
+
var node82 = makeLocationNode({ service: Service78, layer, deps: [] });
|
|
60
60
|
|
|
61
|
-
export {
|
|
61
|
+
export { Service78, node82, exports_hooks };
|
|
@@ -1,27 +1,27 @@
|
|
|
1
1
|
import {
|
|
2
2
|
Service83
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./command-xh0mn2db.js";
|
|
4
4
|
import {
|
|
5
|
-
|
|
6
|
-
} from "./
|
|
5
|
+
Service72
|
|
6
|
+
} from "./command-ph5q8xzv.js";
|
|
7
7
|
import {
|
|
8
8
|
group2,
|
|
9
9
|
batch2,
|
|
10
10
|
shutdown2,
|
|
11
11
|
inherit2
|
|
12
|
-
} from "./
|
|
12
|
+
} from "./command-rdw6cm16.js";
|
|
13
13
|
import {
|
|
14
|
-
|
|
14
|
+
Service22,
|
|
15
15
|
awaitActivation2
|
|
16
|
-
} from "./
|
|
16
|
+
} from "./command-vnkjks7b.js";
|
|
17
17
|
import {
|
|
18
18
|
make11,
|
|
19
19
|
requirements3,
|
|
20
20
|
storage2
|
|
21
|
-
} from "./
|
|
21
|
+
} from "./command-b3h4hk8s.js";
|
|
22
22
|
import {
|
|
23
23
|
__export
|
|
24
|
-
} from "./
|
|
24
|
+
} from "./command-9rqn6x4v.js";
|
|
25
25
|
|
|
26
26
|
// src/plugin.ts
|
|
27
27
|
var exports_plugin2 = {};
|
|
@@ -30,19 +30,19 @@ __export(exports_plugin2, {
|
|
|
30
30
|
ID: () => ID3,
|
|
31
31
|
Info: () => Info3,
|
|
32
32
|
Plugin: () => exports_plugin2,
|
|
33
|
-
Service: () =>
|
|
33
|
+
Service: () => Service22,
|
|
34
34
|
Source: () => Source2,
|
|
35
35
|
State: () => State2,
|
|
36
36
|
awaitActivation: () => awaitActivation2,
|
|
37
|
-
node: () =>
|
|
37
|
+
node: () => node18
|
|
38
38
|
});
|
|
39
39
|
import { Event as Event3, ID as ID3, Info as Info3, Source as Source2, State as State2 } from "@opencode/schema/plugin";
|
|
40
40
|
import { Plugin } from "@opencode/schema/plugin";
|
|
41
41
|
import { Node } from "@opencode/util/effect/app-node";
|
|
42
42
|
import { Cause, Context, Effect, Exit, Latch, Layer, Logger, Queue, References, Scope, Semaphore } from "effect";
|
|
43
|
-
var layer = Layer.effect(
|
|
43
|
+
var layer = Layer.effect(Service22, Effect.gen(function* () {
|
|
44
44
|
const bus = yield* Service83;
|
|
45
|
-
const kv = yield*
|
|
45
|
+
const kv = yield* Service72;
|
|
46
46
|
const scope = yield* Scope.make();
|
|
47
47
|
const active = new Map;
|
|
48
48
|
const lock = Semaphore.makeUnsafe(1);
|
|
@@ -205,7 +205,7 @@ var layer = Layer.effect(Service29, Effect.gen(function* () {
|
|
|
205
205
|
yield* shutdown2(Scope.close(scope, exit));
|
|
206
206
|
}));
|
|
207
207
|
yield* Effect.addFinalizer(close);
|
|
208
|
-
return
|
|
208
|
+
return Service22.of({
|
|
209
209
|
activate,
|
|
210
210
|
close,
|
|
211
211
|
awaitActivation: ready.await,
|
|
@@ -222,10 +222,10 @@ function slotInfo(slot) {
|
|
|
222
222
|
features: { server: true, ...slot.plugin.features }
|
|
223
223
|
};
|
|
224
224
|
}
|
|
225
|
-
var
|
|
226
|
-
service:
|
|
225
|
+
var node18 = Node.makeLocationNode({
|
|
226
|
+
service: Service22,
|
|
227
227
|
layer,
|
|
228
228
|
deps: [requirements3]
|
|
229
229
|
});
|
|
230
230
|
|
|
231
|
-
export {
|
|
231
|
+
export { node18, exports_plugin2, Event3, ID3, Info3, Source2, State2 };
|
|
@@ -1,29 +1,29 @@
|
|
|
1
1
|
import {
|
|
2
|
-
|
|
3
|
-
} from "./
|
|
2
|
+
Service47
|
|
3
|
+
} from "./command-st8d6rzm.js";
|
|
4
4
|
import {
|
|
5
|
-
|
|
6
|
-
} from "./
|
|
5
|
+
Service12
|
|
6
|
+
} from "./command-cwa6csj7.js";
|
|
7
7
|
import {
|
|
8
8
|
observe2
|
|
9
|
-
} from "./
|
|
9
|
+
} from "./command-qsdy395h.js";
|
|
10
10
|
import {
|
|
11
11
|
__export
|
|
12
|
-
} from "./
|
|
12
|
+
} from "./command-9rqn6x4v.js";
|
|
13
13
|
|
|
14
14
|
// src/config/plugin/location-watcher.ts
|
|
15
15
|
var exports_location_watcher = {};
|
|
16
16
|
__export(exports_location_watcher, {
|
|
17
17
|
ConfigLocationWatcherPlugin: () => exports_location_watcher,
|
|
18
|
-
Plugin: () =>
|
|
18
|
+
Plugin: () => Plugin46
|
|
19
19
|
});
|
|
20
20
|
import { define } from "@opencode/plugin/effect/plugin";
|
|
21
21
|
import { Effect } from "effect";
|
|
22
|
-
var
|
|
22
|
+
var Plugin46 = define({
|
|
23
23
|
id: "opencode.config.location-watcher",
|
|
24
24
|
effect: Effect.fn(function* (ctx) {
|
|
25
|
-
const config = yield*
|
|
26
|
-
const policy = yield*
|
|
25
|
+
const config = yield* Service47;
|
|
26
|
+
const policy = yield* Service12;
|
|
27
27
|
const loaded = yield* observe2(config, ctx.event, policy.reload());
|
|
28
28
|
yield* policy.transform((editor) => {
|
|
29
29
|
for (const entry of loaded.entries) {
|
|
@@ -35,4 +35,4 @@ var Plugin31 = define({
|
|
|
35
35
|
})
|
|
36
36
|
});
|
|
37
37
|
|
|
38
|
-
export {
|
|
38
|
+
export { Plugin46, exports_location_watcher };
|
|
@@ -1,31 +1,31 @@
|
|
|
1
1
|
import {
|
|
2
|
-
|
|
3
|
-
} from "./
|
|
2
|
+
Service47
|
|
3
|
+
} from "./command-st8d6rzm.js";
|
|
4
4
|
import {
|
|
5
|
-
|
|
6
|
-
} from "./
|
|
5
|
+
Service30
|
|
6
|
+
} from "./command-z0pamjge.js";
|
|
7
7
|
import {
|
|
8
8
|
__export
|
|
9
|
-
} from "./
|
|
9
|
+
} from "./command-9rqn6x4v.js";
|
|
10
10
|
|
|
11
11
|
// src/config/plugin/mcp.ts
|
|
12
12
|
var exports_mcp2 = {};
|
|
13
13
|
__export(exports_mcp2, {
|
|
14
14
|
ConfigMcpPlugin: () => exports_mcp2,
|
|
15
|
-
Plugin: () =>
|
|
15
|
+
Plugin: () => Plugin42,
|
|
16
16
|
register: () => register2
|
|
17
17
|
});
|
|
18
18
|
import { define } from "@opencode/plugin/effect/plugin";
|
|
19
19
|
import { Effect, Stream } from "effect";
|
|
20
|
-
var
|
|
20
|
+
var Plugin42 = define({
|
|
21
21
|
id: "opencode.config.mcp",
|
|
22
22
|
effect: Effect.fn(function* (ctx) {
|
|
23
23
|
yield* register2(ctx.event.subscribe());
|
|
24
24
|
})
|
|
25
25
|
});
|
|
26
26
|
var register2 = Effect.fn("ConfigMCPPlugin.register")(function* (events) {
|
|
27
|
-
const config = yield*
|
|
28
|
-
const mcp = yield*
|
|
27
|
+
const config = yield* Service47;
|
|
28
|
+
const mcp = yield* Service30;
|
|
29
29
|
const loaded = { entries: [] };
|
|
30
30
|
yield* events.pipe(Stream.filter((event) => event.type === "config.updated"), Stream.runForEach(() => config.entries().pipe(Effect.tap((entries) => Effect.sync(() => loaded.entries = entries)), Effect.andThen(mcp.reload()), Effect.catchCause((cause) => Effect.logError("failed to reload MCP config", { cause })))), Effect.ignore, Effect.forkScoped({ startImmediately: true }));
|
|
31
31
|
loaded.entries = yield* config.entries();
|
|
@@ -46,4 +46,4 @@ var register2 = Effect.fn("ConfigMCPPlugin.register")(function* (events) {
|
|
|
46
46
|
});
|
|
47
47
|
});
|
|
48
48
|
|
|
49
|
-
export {
|
|
49
|
+
export { Plugin42, register2, exports_mcp2 };
|
|
@@ -0,0 +1,18 @@
|
|
|
1
|
+
import {
|
|
2
|
+
__export
|
|
3
|
+
} from "./command-9rqn6x4v.js";
|
|
4
|
+
|
|
5
|
+
// src/plugin/service.ts
|
|
6
|
+
var exports_service = {};
|
|
7
|
+
__export(exports_service, {
|
|
8
|
+
Plugin: () => exports_service,
|
|
9
|
+
Service: () => Service22,
|
|
10
|
+
awaitActivation: () => awaitActivation2
|
|
11
|
+
});
|
|
12
|
+
import { Context } from "effect";
|
|
13
|
+
|
|
14
|
+
class Service22 extends Context.Service()("@opencode/Plugin") {
|
|
15
|
+
}
|
|
16
|
+
var awaitActivation2 = Service22.use((plugins) => plugins.awaitActivation);
|
|
17
|
+
|
|
18
|
+
export { Service22, awaitActivation2, exports_service };
|
|
@@ -1,27 +1,27 @@
|
|
|
1
1
|
import {
|
|
2
2
|
Service83,
|
|
3
3
|
node87
|
|
4
|
-
} from "./
|
|
4
|
+
} from "./command-xh0mn2db.js";
|
|
5
5
|
import {
|
|
6
6
|
shutdown2,
|
|
7
7
|
create3
|
|
8
|
-
} from "./
|
|
8
|
+
} from "./command-rdw6cm16.js";
|
|
9
9
|
import {
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
} from "./
|
|
10
|
+
ID10,
|
|
11
|
+
Service68,
|
|
12
|
+
node72,
|
|
13
|
+
Event15
|
|
14
|
+
} from "./command-19wqcg6g.js";
|
|
15
15
|
import {
|
|
16
16
|
key2
|
|
17
|
-
} from "./
|
|
17
|
+
} from "./command-nzyhnfxz.js";
|
|
18
18
|
import {
|
|
19
19
|
Service80,
|
|
20
20
|
node84
|
|
21
|
-
} from "./
|
|
21
|
+
} from "./command-fxjzx9zk.js";
|
|
22
22
|
import {
|
|
23
23
|
__export
|
|
24
|
-
} from "./
|
|
24
|
+
} from "./command-9rqn6x4v.js";
|
|
25
25
|
|
|
26
26
|
// src/aisdk-native.ts
|
|
27
27
|
var exports_aisdk_native = {};
|
|
@@ -37,13 +37,13 @@ var exports_provider3 = {};
|
|
|
37
37
|
__export(exports_provider3, {
|
|
38
38
|
AISDK_PREFIX: () => AISDK_PREFIX2,
|
|
39
39
|
Compaction: () => Compaction3,
|
|
40
|
-
Event: () =>
|
|
41
|
-
ID: () =>
|
|
42
|
-
Info: () =>
|
|
40
|
+
Event: () => Event14,
|
|
41
|
+
ID: () => ID9,
|
|
42
|
+
Info: () => Info22,
|
|
43
43
|
LoadError: () => LoadError3,
|
|
44
44
|
Provider: () => exports_provider3,
|
|
45
45
|
Request: () => Request2,
|
|
46
|
-
Service: () =>
|
|
46
|
+
Service: () => Service67,
|
|
47
47
|
Settings: () => Settings2,
|
|
48
48
|
Transport: () => Transport2,
|
|
49
49
|
aisdk: () => aisdk2,
|
|
@@ -53,7 +53,7 @@ __export(exports_provider3, {
|
|
|
53
53
|
mergeOverlay: () => mergeOverlay2,
|
|
54
54
|
modelSettings: () => modelSettings2,
|
|
55
55
|
nativeSettings: () => nativeSettings2,
|
|
56
|
-
node: () =>
|
|
56
|
+
node: () => node71,
|
|
57
57
|
packageName: () => packageName2
|
|
58
58
|
});
|
|
59
59
|
import { Context, Effect, Layer, Schema, Stream, Struct } from "effect";
|
|
@@ -64,8 +64,8 @@ import { isRecord } from "@opencode/ai/utils/record";
|
|
|
64
64
|
import { importModule, resolveModule } from "@opencode/util/runtime-import";
|
|
65
65
|
import { Credential } from "@opencode/schema/credential";
|
|
66
66
|
import { freeze } from "immer";
|
|
67
|
-
import { Event as
|
|
68
|
-
var
|
|
67
|
+
import { Event as Event14 } from "@opencode/schema/provider";
|
|
68
|
+
var ID9 = Provider.ID;
|
|
69
69
|
var AISDK_PREFIX2 = "aisdk:";
|
|
70
70
|
var isAISDK2 = (value) => value?.startsWith(AISDK_PREFIX2) ?? false;
|
|
71
71
|
var aisdk2 = (value) => isAISDK2(value) ? value : `${AISDK_PREFIX2}${value}`;
|
|
@@ -210,9 +210,9 @@ var Request2 = Provider.Request;
|
|
|
210
210
|
var Compaction3 = Provider.Compaction;
|
|
211
211
|
var Transport2 = Provider.Transport;
|
|
212
212
|
var Settings2 = Provider.Settings;
|
|
213
|
-
var
|
|
213
|
+
var Info22 = Provider.Info;
|
|
214
214
|
|
|
215
|
-
class
|
|
215
|
+
class Service67 extends Context.Service()("@opencode/Provider") {
|
|
216
216
|
}
|
|
217
217
|
var definitions = new WeakMap;
|
|
218
218
|
function index(providerID, models) {
|
|
@@ -225,9 +225,9 @@ function index(providerID, models) {
|
|
|
225
225
|
definitions.set(models, indexes);
|
|
226
226
|
return result;
|
|
227
227
|
}
|
|
228
|
-
var layer = Layer.effect(
|
|
228
|
+
var layer = Layer.effect(Service67, Effect.gen(function* () {
|
|
229
229
|
const bus = yield* Service83;
|
|
230
|
-
const integrations = yield*
|
|
230
|
+
const integrations = yield* Service68;
|
|
231
231
|
const location = yield* Service80;
|
|
232
232
|
const state = create3({
|
|
233
233
|
name: "provider",
|
|
@@ -239,7 +239,7 @@ var layer = Layer.effect(Service62, Effect.gen(function* () {
|
|
|
239
239
|
const current = records.get(id);
|
|
240
240
|
if (current)
|
|
241
241
|
return current;
|
|
242
|
-
const added = { provider:
|
|
242
|
+
const added = { provider: Info22.empty(id), models: new Map };
|
|
243
243
|
records.set(id, added);
|
|
244
244
|
maps.add(added.models);
|
|
245
245
|
return added;
|
|
@@ -320,7 +320,7 @@ var layer = Layer.effect(Service62, Effect.gen(function* () {
|
|
|
320
320
|
const available = Array.from(records.values()).filter((record) => {
|
|
321
321
|
if (record.provider.activation === "disabled")
|
|
322
322
|
return false;
|
|
323
|
-
const integration = byID.get(record.provider.integrationID ??
|
|
323
|
+
const integration = byID.get(record.provider.integrationID ?? ID10.make(record.provider.id));
|
|
324
324
|
if (record.sourceConnection && key2(record.sourceConnection) !== key2(integration?.connections[0]))
|
|
325
325
|
return false;
|
|
326
326
|
if (record.provider.activation === "enabled")
|
|
@@ -346,8 +346,8 @@ var layer = Layer.effect(Service62, Effect.gen(function* () {
|
|
|
346
346
|
location: { directory: location.directory, workspaceID: location.workspaceID }
|
|
347
347
|
});
|
|
348
348
|
});
|
|
349
|
-
yield* bus.subscribe([
|
|
350
|
-
return
|
|
349
|
+
yield* bus.subscribe([Event15.Updated, Credential.Event.Updated, Credential.Event.Switched]).pipe(Stream.runForEach(() => notify), Effect.forkScoped({ startImmediately: true }));
|
|
350
|
+
return Service67.of({
|
|
351
351
|
transform: state.transform,
|
|
352
352
|
reload: state.reload,
|
|
353
353
|
get: Effect.fn("Provider.get")((id) => Effect.sync(() => freeze(state.get().get(id)?.provider, true))),
|
|
@@ -356,7 +356,7 @@ var layer = Layer.effect(Service62, Effect.gen(function* () {
|
|
|
356
356
|
snapshot
|
|
357
357
|
});
|
|
358
358
|
}));
|
|
359
|
-
var
|
|
359
|
+
var node71 = makeLocationNode({ service: Service67, layer, deps: [node87, node72, node84] });
|
|
360
360
|
var importPackage = Effect.fn("Provider.importPackage")(function* (specifier, entrypoint, load = () => importModule(entrypoint)) {
|
|
361
361
|
const module = yield* Effect.tryPromise({
|
|
362
362
|
try: () => {
|
|
@@ -616,4 +616,4 @@ var Legacy = Schema2.StructWithRest(Schema2.Struct({
|
|
|
616
616
|
}), [Schema2.Record(Schema2.String, Schema2.Unknown)]);
|
|
617
617
|
var decode = Schema2.decodeUnknownSync(Legacy);
|
|
618
618
|
|
|
619
|
-
export { rewrite2, native2, exports_aisdk_native,
|
|
619
|
+
export { rewrite2, native2, exports_aisdk_native, ID9, AISDK_PREFIX2, isAISDK2, aisdk2, packageName2, LoadError3, loadPackage2, nativeSettings2, modelSettings2, mergeOverlay2, mergeHeaders2, Request2, Compaction3, Transport2, Settings2, Info22, Service67, node71, exports_provider3, Event14 };
|