@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,30 +1,30 @@
|
|
|
1
1
|
import {
|
|
2
2
|
PositiveInt2
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./command-922hggd3.js";
|
|
4
4
|
import {
|
|
5
5
|
Action2
|
|
6
|
-
} from "./
|
|
6
|
+
} from "./command-jw80jp6b.js";
|
|
7
7
|
import {
|
|
8
|
-
|
|
9
|
-
} from "./
|
|
8
|
+
Info16
|
|
9
|
+
} from "./command-0fxyxxca.js";
|
|
10
10
|
import {
|
|
11
11
|
Info10
|
|
12
|
-
} from "./
|
|
12
|
+
} from "./command-ez47arx5.js";
|
|
13
13
|
import {
|
|
14
|
-
|
|
15
|
-
} from "./
|
|
14
|
+
Info14
|
|
15
|
+
} from "./command-fdv30zvt.js";
|
|
16
16
|
import {
|
|
17
|
-
|
|
18
|
-
} from "./
|
|
17
|
+
Info15
|
|
18
|
+
} from "./command-jwbqhvyy.js";
|
|
19
19
|
import {
|
|
20
20
|
Spec2
|
|
21
|
-
} from "./
|
|
21
|
+
} from "./command-esafk7q3.js";
|
|
22
22
|
import {
|
|
23
|
-
|
|
24
|
-
} from "./
|
|
23
|
+
Info13
|
|
24
|
+
} from "./command-t3swkhbg.js";
|
|
25
25
|
import {
|
|
26
26
|
Info9
|
|
27
|
-
} from "./
|
|
27
|
+
} from "./command-5cry9dbs.js";
|
|
28
28
|
import {
|
|
29
29
|
migrate2,
|
|
30
30
|
normalizeAction2,
|
|
@@ -33,10 +33,10 @@ import {
|
|
|
33
33
|
migrateMcp2,
|
|
34
34
|
migrateProvider2,
|
|
35
35
|
providerID2
|
|
36
|
-
} from "./
|
|
36
|
+
} from "./command-j1h0x3qm.js";
|
|
37
37
|
import {
|
|
38
38
|
__export
|
|
39
|
-
} from "./
|
|
39
|
+
} from "./command-9rqn6x4v.js";
|
|
40
40
|
|
|
41
41
|
// src/config/normalize.ts
|
|
42
42
|
var exports_normalize = {};
|
|
@@ -104,7 +104,7 @@ function normalize2(input) {
|
|
|
104
104
|
const legacyReferences = decodeMap(input.reference, ConfigReference.Entry, ["reference"], diagnostics, decodeEncoded);
|
|
105
105
|
const nativeReferences = decodeMap(input.references, ConfigReference.Entry, ["references"], diagnostics, decodeEncoded);
|
|
106
106
|
mergeMap(encoded, "references", legacyReferences, nativeReferences, isRecord(input.reference) || isRecord(input.references), diagnostics);
|
|
107
|
-
const legacyCommands = decodeMap(input.command,
|
|
107
|
+
const legacyCommands = decodeMap(input.command, Info14, ["command"], diagnostics, decodeValue);
|
|
108
108
|
diagnoseSelectionMap(input.command, ["command"], diagnostics);
|
|
109
109
|
const migratedCommands = mapValues(legacyCommands, (value) => {
|
|
110
110
|
const migrated = commands2({ value })?.value;
|
|
@@ -112,7 +112,7 @@ function normalize2(input) {
|
|
|
112
112
|
});
|
|
113
113
|
const nativeCommands = decodeMap(input.commands, ConfigCommand.Info, ["commands"], diagnostics, decodeEncoded);
|
|
114
114
|
mergeMap(encoded, "commands", migratedCommands, nativeCommands, isRecord(input.command) || isRecord(input.commands), diagnostics);
|
|
115
|
-
const legacyAgents = mapValues(decodeMap(input.agent,
|
|
115
|
+
const legacyAgents = mapValues(decodeMap(input.agent, Info16, ["agent"], diagnostics, decodeValue), (value) => canonical(ConfigAgent.Info, migrateAgent2(value)));
|
|
116
116
|
const legacySmallModel = own(input, "small_model") ? decodeValue(Schema.String, input.small_model, ["small_model"], diagnostics) : undefined;
|
|
117
117
|
const migratedSmallModel = legacySmallModel ? migrate2({ small_model: legacySmallModel }).agents?.title?.model : undefined;
|
|
118
118
|
if (legacySmallModel && !migratedSmallModel)
|
|
@@ -126,7 +126,7 @@ function normalize2(input) {
|
|
|
126
126
|
model: migratedSmallModel,
|
|
127
127
|
...legacyAgents.title
|
|
128
128
|
};
|
|
129
|
-
const modeAgents = mapValues(decodeMap(input.mode,
|
|
129
|
+
const modeAgents = mapValues(decodeMap(input.mode, Info16, ["mode"], diagnostics, decodeValue), (value) => canonical(ConfigAgent.Info, migrateAgent2({ ...value, mode: "primary" })));
|
|
130
130
|
const migratedAgents = mergeMaps(legacyAgents, modeAgents, ["agents"], diagnostics);
|
|
131
131
|
const nativeAgents = decodeMap(input.agents, ConfigAgent.Info, ["agents"], diagnostics, decodeEncoded);
|
|
132
132
|
diagnoseAgentUnsupported(input.agent, ["agent"], diagnostics);
|
|
@@ -225,7 +225,7 @@ function normalizeMcp(input, encoded, diagnostics) {
|
|
|
225
225
|
normalizeMcpTimeout(value, timeout, path, diagnostics);
|
|
226
226
|
return;
|
|
227
227
|
}
|
|
228
|
-
const server = decodeValue(
|
|
228
|
+
const server = decodeValue(Info15, value, path, diagnostics);
|
|
229
229
|
if (server !== undefined)
|
|
230
230
|
setOwn(legacyServers, name, canonical(ConfigMCP.Server, migrateMcp2(server)));
|
|
231
231
|
});
|
|
@@ -421,7 +421,7 @@ function migrateProviders(value, diagnostics) {
|
|
|
421
421
|
diagnoseProviderUnsupported(raw, path, diagnostics);
|
|
422
422
|
if (invalidProviderOverlays(raw, path, diagnostics))
|
|
423
423
|
return [];
|
|
424
|
-
const provider = decodeValue(
|
|
424
|
+
const provider = decodeValue(Info13, raw, path, diagnostics);
|
|
425
425
|
if (provider === undefined)
|
|
426
426
|
return [];
|
|
427
427
|
const destination = providerID2(name);
|
|
@@ -1,51 +1,51 @@
|
|
|
1
1
|
import {
|
|
2
2
|
AbsolutePath2
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./command-922hggd3.js";
|
|
4
4
|
import {
|
|
5
5
|
WorktreeError2,
|
|
6
6
|
node86
|
|
7
|
-
} from "./
|
|
7
|
+
} from "./command-s2ynmxvy.js";
|
|
8
8
|
import {
|
|
9
9
|
Slug2
|
|
10
|
-
} from "./
|
|
10
|
+
} from "./command-gebd4c9n.js";
|
|
11
11
|
import {
|
|
12
12
|
Service84,
|
|
13
13
|
node88
|
|
14
|
-
} from "./
|
|
14
|
+
} from "./command-57aypccr.js";
|
|
15
15
|
import {
|
|
16
16
|
Service83,
|
|
17
17
|
node87
|
|
18
|
-
} from "./
|
|
18
|
+
} from "./command-xh0mn2db.js";
|
|
19
19
|
import {
|
|
20
20
|
ProjectTable2
|
|
21
|
-
} from "./
|
|
21
|
+
} from "./command-dj2t23y0.js";
|
|
22
22
|
import {
|
|
23
23
|
WorktreeTable2
|
|
24
|
-
} from "./
|
|
24
|
+
} from "./command-m0jqrx5p.js";
|
|
25
25
|
import {
|
|
26
26
|
ID17,
|
|
27
27
|
NotFoundError11
|
|
28
|
-
} from "./
|
|
28
|
+
} from "./command-c68rk66j.js";
|
|
29
29
|
import {
|
|
30
30
|
Ref4
|
|
31
|
-
} from "./
|
|
31
|
+
} from "./command-fxjzx9zk.js";
|
|
32
32
|
import {
|
|
33
|
-
|
|
34
|
-
|
|
35
|
-
} from "./
|
|
33
|
+
Service41,
|
|
34
|
+
node43
|
|
35
|
+
} from "./command-f41ena25.js";
|
|
36
36
|
import {
|
|
37
37
|
DirectoryUnavailableError2,
|
|
38
38
|
canonical2
|
|
39
|
-
} from "./
|
|
39
|
+
} from "./command-yyb7tjpc.js";
|
|
40
40
|
import {
|
|
41
41
|
make12
|
|
42
|
-
} from "./
|
|
42
|
+
} from "./command-f2wfspan.js";
|
|
43
43
|
import {
|
|
44
|
-
|
|
45
|
-
} from "./
|
|
44
|
+
Service17
|
|
45
|
+
} from "./command-k6jsebqw.js";
|
|
46
46
|
import {
|
|
47
47
|
__export
|
|
48
|
-
} from "./
|
|
48
|
+
} from "./command-9rqn6x4v.js";
|
|
49
49
|
|
|
50
50
|
// src/worktree.ts
|
|
51
51
|
var exports_worktree2 = {};
|
|
@@ -60,12 +60,12 @@ __export(exports_worktree2, {
|
|
|
60
60
|
ListEntry: () => ListEntry3,
|
|
61
61
|
OperationError: () => OperationError2,
|
|
62
62
|
RemoveInput: () => RemoveInput2,
|
|
63
|
-
Service: () =>
|
|
63
|
+
Service: () => Service16,
|
|
64
64
|
SourceDirectoryNotFoundError: () => SourceDirectoryNotFoundError2,
|
|
65
65
|
StrategyID: () => StrategyID2,
|
|
66
66
|
StrategyUnavailableError: () => StrategyUnavailableError2,
|
|
67
67
|
Worktree: () => exports_worktree2,
|
|
68
|
-
node: () =>
|
|
68
|
+
node: () => node19
|
|
69
69
|
});
|
|
70
70
|
import { Context, Effect, Layer, Schema } from "effect";
|
|
71
71
|
import { and, asc, desc, eq, isNull, sql } from "drizzle-orm";
|
|
@@ -96,15 +96,15 @@ class StrategyUnavailableError2 extends Schema.TaggedError()("Worktree.StrategyU
|
|
|
96
96
|
}
|
|
97
97
|
var Event4 = Worktree.Event;
|
|
98
98
|
|
|
99
|
-
class
|
|
99
|
+
class Service16 extends Context.Service()("@opencode/Worktree") {
|
|
100
100
|
}
|
|
101
|
-
var layer = Layer.effect(
|
|
101
|
+
var layer = Layer.effect(Service16, Effect.gen(function* () {
|
|
102
102
|
const fs = yield* FSUtil.Service;
|
|
103
103
|
const database = yield* Service84;
|
|
104
104
|
const db = database.db;
|
|
105
105
|
const bus = yield* Service83;
|
|
106
106
|
const processService = yield* AppProcess.Service;
|
|
107
|
-
const locations = yield*
|
|
107
|
+
const locations = yield* Service41;
|
|
108
108
|
const gitStrategy = yield* make12;
|
|
109
109
|
const project = Effect.fnUntraced(function* (projectID) {
|
|
110
110
|
const row = yield* db.select().from(ProjectTable2).where(eq(ProjectTable2.id, projectID)).get().pipe(Effect.orDie);
|
|
@@ -120,7 +120,7 @@ var layer = Layer.effect(Service15, Effect.gen(function* () {
|
|
|
120
120
|
const { Plugin } = yield* Effect.promise(() => import("../plugin.js"));
|
|
121
121
|
const context = yield* locations.contextEffect(Ref4.make({ directory }));
|
|
122
122
|
yield* Context.get(context, Plugin.Service).awaitActivation;
|
|
123
|
-
return Context.get(context,
|
|
123
|
+
return Context.get(context, Service17).get();
|
|
124
124
|
});
|
|
125
125
|
const changed = Effect.fnUntraced(function* (projectID, update) {
|
|
126
126
|
if (update)
|
|
@@ -251,7 +251,7 @@ var layer = Layer.effect(Service15, Effect.gen(function* () {
|
|
|
251
251
|
})).pipe(Effect.orDie);
|
|
252
252
|
yield* changed(input.projectID, changes.updated.length > 0 || changes.removed.length > 0);
|
|
253
253
|
}, Effect.scoped);
|
|
254
|
-
return
|
|
254
|
+
return Service16.of({
|
|
255
255
|
list: Effect.fn("Worktree.list")(function* (input) {
|
|
256
256
|
yield* project(input.projectID);
|
|
257
257
|
return yield* ops.list(input.projectID);
|
|
@@ -261,10 +261,10 @@ var layer = Layer.effect(Service15, Effect.gen(function* () {
|
|
|
261
261
|
refresh
|
|
262
262
|
});
|
|
263
263
|
}));
|
|
264
|
-
var
|
|
265
|
-
service:
|
|
264
|
+
var node19 = Node.makeGlobalNode({
|
|
265
|
+
service: Service16,
|
|
266
266
|
layer,
|
|
267
|
-
deps: [FSUtil.node, node86, node87, node88, AppProcess.node,
|
|
267
|
+
deps: [FSUtil.node, node86, node87, node88, AppProcess.node, node43]
|
|
268
268
|
});
|
|
269
269
|
function operationError(strategy, operation, error) {
|
|
270
270
|
if (error instanceof WorktreeError2 || error instanceof DirectoryUnavailableError2 || error instanceof Worktree.OperationError)
|
|
@@ -274,4 +274,4 @@ function operationError(strategy, operation, error) {
|
|
|
274
274
|
});
|
|
275
275
|
}
|
|
276
276
|
|
|
277
|
-
export { StrategyID2, CreateInput3, RemoveInput2, Info4, List2, ListEntry3, SourceDirectoryNotFoundError2, DestinationExistsError2, InvalidDirectoryError2, StrategyUnavailableError2, Event4,
|
|
277
|
+
export { StrategyID2, CreateInput3, RemoveInput2, Info4, List2, ListEntry3, SourceDirectoryNotFoundError2, DestinationExistsError2, InvalidDirectoryError2, StrategyUnavailableError2, Event4, Service16, node19, exports_worktree2, OperationError2 };
|
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
import {
|
|
2
2
|
SessionEvent2
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./command-ec1grn59.js";
|
|
4
4
|
import {
|
|
5
5
|
tokens2
|
|
6
|
-
} from "./
|
|
6
|
+
} from "./command-tdstcens.js";
|
|
7
7
|
|
|
8
8
|
// src/session/runner/publish-llm-event.ts
|
|
9
9
|
import { Effect, Fiber, Iterable } from "effect";
|
|
@@ -1,16 +1,16 @@
|
|
|
1
1
|
import {
|
|
2
2
|
__export
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./command-9rqn6x4v.js";
|
|
4
4
|
|
|
5
5
|
// src/v1/config/plugin.ts
|
|
6
6
|
var exports_plugin3 = {};
|
|
7
7
|
__export(exports_plugin3, {
|
|
8
8
|
ConfigPluginV1: () => exports_plugin3,
|
|
9
|
-
Options: () =>
|
|
9
|
+
Options: () => Options4,
|
|
10
10
|
Spec: () => Spec2
|
|
11
11
|
});
|
|
12
12
|
import { Schema } from "effect";
|
|
13
|
-
var
|
|
14
|
-
var Spec2 = Schema.Union([Schema.String, Schema.mutable(Schema.Tuple([Schema.String,
|
|
13
|
+
var Options4 = Schema.Record(Schema.String, Schema.Unknown);
|
|
14
|
+
var Spec2 = Schema.Union([Schema.String, Schema.mutable(Schema.Tuple([Schema.String, Options4]))]);
|
|
15
15
|
|
|
16
|
-
export {
|
|
16
|
+
export { Options4, Spec2, exports_plugin3 };
|
|
@@ -1,13 +1,13 @@
|
|
|
1
1
|
import {
|
|
2
2
|
Service82
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./command-s2ynmxvy.js";
|
|
4
4
|
import {
|
|
5
5
|
DirectoryUnavailableError2,
|
|
6
6
|
canonical2
|
|
7
|
-
} from "./
|
|
7
|
+
} from "./command-yyb7tjpc.js";
|
|
8
8
|
import {
|
|
9
9
|
__export
|
|
10
|
-
} from "./
|
|
10
|
+
} from "./command-9rqn6x4v.js";
|
|
11
11
|
|
|
12
12
|
// src/worktree/git.ts
|
|
13
13
|
var exports_git2 = {};
|
|
@@ -1,24 +1,24 @@
|
|
|
1
1
|
import {
|
|
2
2
|
SQLiteEffectCountBuilder2
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./command-f0mxakyp.js";
|
|
4
4
|
import {
|
|
5
5
|
SQLiteEffectDeleteBase2
|
|
6
|
-
} from "./
|
|
6
|
+
} from "./command-w3wsvvr9.js";
|
|
7
7
|
import {
|
|
8
8
|
SQLiteEffectInsertBuilder2
|
|
9
|
-
} from "./
|
|
9
|
+
} from "./command-7bmhse3q.js";
|
|
10
10
|
import {
|
|
11
11
|
SQLiteEffectRelationalQueryBuilder2
|
|
12
|
-
} from "./
|
|
12
|
+
} from "./command-cf4snx6d.js";
|
|
13
13
|
import {
|
|
14
14
|
SQLiteEffectRaw2
|
|
15
|
-
} from "./
|
|
15
|
+
} from "./command-822emrt2.js";
|
|
16
16
|
import {
|
|
17
17
|
SQLiteEffectSelectBuilder2
|
|
18
|
-
} from "./
|
|
18
|
+
} from "./command-wd87259q.js";
|
|
19
19
|
import {
|
|
20
20
|
SQLiteEffectUpdateBuilder2
|
|
21
|
-
} from "./
|
|
21
|
+
} from "./command-m9w0rfyh.js";
|
|
22
22
|
|
|
23
23
|
// src/database/drizzle/sqlite-core/effect/db.ts
|
|
24
24
|
import { Effect } from "effect";
|
|
@@ -1,17 +1,17 @@
|
|
|
1
1
|
import {
|
|
2
2
|
Ref4
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./command-fxjzx9zk.js";
|
|
4
4
|
import {
|
|
5
5
|
__export
|
|
6
|
-
} from "./
|
|
6
|
+
} from "./command-9rqn6x4v.js";
|
|
7
7
|
|
|
8
8
|
// src/location-service-map.ts
|
|
9
9
|
var exports_location_service_map = {};
|
|
10
10
|
__export(exports_location_service_map, {
|
|
11
11
|
LocationServiceMap: () => exports_location_service_map,
|
|
12
|
-
Service: () =>
|
|
12
|
+
Service: () => Service41,
|
|
13
13
|
canonical: () => canonical3,
|
|
14
|
-
node: () =>
|
|
14
|
+
node: () => node43,
|
|
15
15
|
reload: () => reload2
|
|
16
16
|
});
|
|
17
17
|
import { Context, Effect, Exit, Layer, RcMap } from "effect";
|
|
@@ -19,14 +19,14 @@ import { LayerNode } from "@opencode/util/effect/layer-node";
|
|
|
19
19
|
import { Node } from "@opencode/util/effect/app-node";
|
|
20
20
|
import { AbsolutePath } from "@opencode/schema/schema";
|
|
21
21
|
import path from "path";
|
|
22
|
-
class
|
|
22
|
+
class Service41 extends Context.Service()("@opencode/example/LocationServiceMap") {
|
|
23
23
|
static get(ref) {
|
|
24
|
-
return Layer.unwrap(Effect.map(
|
|
24
|
+
return Layer.unwrap(Effect.map(Service41, (locations) => locations.get(ref)));
|
|
25
25
|
}
|
|
26
26
|
}
|
|
27
|
-
var
|
|
27
|
+
var node43 = LayerNode.unbound(Service41, Node.tags.values.global);
|
|
28
28
|
var reload2 = Effect.fn("LocationServiceMap.reload")(function* () {
|
|
29
|
-
const locations = yield*
|
|
29
|
+
const locations = yield* Service41;
|
|
30
30
|
const refs = Array.from(yield* RcMap.keys(locations.rcMap));
|
|
31
31
|
yield* Effect.forEach(refs, (ref) => locations.invalidate(ref), {
|
|
32
32
|
discard: true,
|
|
@@ -45,4 +45,4 @@ function canonical3(ref) {
|
|
|
45
45
|
});
|
|
46
46
|
}
|
|
47
47
|
|
|
48
|
-
export {
|
|
48
|
+
export { Service41, node43, reload2, canonical3, exports_location_service_map };
|
|
@@ -1,51 +1,51 @@
|
|
|
1
1
|
import {
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
} from "./
|
|
2
|
+
ID16,
|
|
3
|
+
Service79
|
|
4
|
+
} from "./command-5mjt82ds.js";
|
|
5
5
|
import {
|
|
6
6
|
Ref2,
|
|
7
|
-
|
|
8
|
-
} from "./
|
|
7
|
+
Service66
|
|
8
|
+
} from "./command-y32hsvj3.js";
|
|
9
9
|
import {
|
|
10
10
|
latest2,
|
|
11
|
-
|
|
12
|
-
} from "./
|
|
11
|
+
Service47
|
|
12
|
+
} from "./command-st8d6rzm.js";
|
|
13
13
|
import {
|
|
14
14
|
SessionSchema2
|
|
15
|
-
} from "./
|
|
15
|
+
} from "./command-q3t37ft6.js";
|
|
16
16
|
import {
|
|
17
|
-
|
|
18
|
-
} from "./
|
|
17
|
+
Service43
|
|
18
|
+
} from "./command-15ecbz73.js";
|
|
19
19
|
import {
|
|
20
20
|
evaluate2,
|
|
21
|
-
|
|
22
|
-
} from "./
|
|
21
|
+
Service75
|
|
22
|
+
} from "./command-yx0qkvav.js";
|
|
23
23
|
import {
|
|
24
|
-
|
|
25
|
-
} from "./
|
|
24
|
+
Service19
|
|
25
|
+
} from "./command-qnv6wqrn.js";
|
|
26
26
|
import {
|
|
27
27
|
NO_TEXT2
|
|
28
|
-
} from "./
|
|
28
|
+
} from "./command-x1ezjp6w.js";
|
|
29
29
|
import {
|
|
30
30
|
make10
|
|
31
|
-
} from "./
|
|
31
|
+
} from "./command-bc7r1051.js";
|
|
32
32
|
import {
|
|
33
33
|
__export
|
|
34
|
-
} from "./
|
|
34
|
+
} from "./command-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: () => Input3,
|
|
40
|
+
Output: () => Output2,
|
|
41
|
+
Plugin: () => Plugin19,
|
|
42
42
|
SubagentTool: () => exports_subagent,
|
|
43
|
-
description: () =>
|
|
44
|
-
name: () =>
|
|
43
|
+
description: () => description2,
|
|
44
|
+
name: () => name3
|
|
45
45
|
});
|
|
46
46
|
import { ToolFailure } from "@opencode/ai";
|
|
47
47
|
import { Effect, Schema } from "effect";
|
|
48
|
-
var
|
|
48
|
+
var name3 = "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 Input3 = 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 Input9 = 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 Output2 = 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,15 +86,15 @@ var description4 = [
|
|
|
86
86
|
"Use background only for independent work that can run while you continue elsewhere."
|
|
87
87
|
].join(`
|
|
88
88
|
`);
|
|
89
|
-
var
|
|
89
|
+
var Plugin19 = {
|
|
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*
|
|
92
|
+
const sessions = yield* Service19;
|
|
93
|
+
const jobs = yield* Service43;
|
|
94
|
+
const agents = yield* Service79;
|
|
95
|
+
const config = yield* Service47;
|
|
96
|
+
const permission = yield* Service75;
|
|
97
|
+
const models = yield* Service66;
|
|
98
98
|
const subagents = yield* make10;
|
|
99
99
|
const resolveModel = Effect.fn("SubagentTool.resolveModel")(function* (input) {
|
|
100
100
|
const ref = yield* Effect.try({
|
|
@@ -115,11 +115,11 @@ var Plugin43 = {
|
|
|
115
115
|
return ref;
|
|
116
116
|
});
|
|
117
117
|
yield* ctx.tool.transform((editor) => editor.add({
|
|
118
|
-
name:
|
|
118
|
+
name: name3,
|
|
119
119
|
options: { codemode: false },
|
|
120
|
-
description:
|
|
121
|
-
input:
|
|
122
|
-
output:
|
|
120
|
+
description: description2,
|
|
121
|
+
input: Input3,
|
|
122
|
+
output: Output2,
|
|
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 Plugin43 = {
|
|
|
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: name3,
|
|
143
143
|
resources: [agent.id],
|
|
144
144
|
save: [agent.id],
|
|
145
145
|
sessionID: context.sessionID,
|
|
@@ -168,7 +168,7 @@ var Plugin43 = {
|
|
|
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,13 +218,13 @@ ${output.output}
|
|
|
218
218
|
})))
|
|
219
219
|
})).pipe(Effect.orDie);
|
|
220
220
|
const hook = (event) => Effect.gen(function* () {
|
|
221
|
-
const tool = event.tools[
|
|
221
|
+
const tool = event.tools[name3];
|
|
222
222
|
if (!tool)
|
|
223
223
|
return;
|
|
224
224
|
const selected = yield* agents.resolve(event.agent);
|
|
225
225
|
if (!selected)
|
|
226
226
|
return;
|
|
227
|
-
const available = (yield* agents.list()).filter((agent) => agent.mode !== "primary" && !agent.hidden && evaluate2(
|
|
227
|
+
const available = (yield* agents.list()).filter((agent) => agent.mode !== "primary" && !agent.hidden && evaluate2(name3, agent.id, selected.permissions).effect !== "deny").toSorted((a, b) => a.id.localeCompare(b.id));
|
|
228
228
|
if (available.length === 0)
|
|
229
229
|
return;
|
|
230
230
|
tool.description = [
|
|
@@ -241,4 +241,4 @@ ${output.output}
|
|
|
241
241
|
})
|
|
242
242
|
};
|
|
243
243
|
|
|
244
|
-
export {
|
|
244
|
+
export { name3, Input3, Output2, description2, Plugin19, exports_subagent };
|
|
@@ -1,30 +1,30 @@
|
|
|
1
1
|
import {
|
|
2
2
|
makeUnsafe2
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./command-y71avatq.js";
|
|
4
4
|
import {
|
|
5
5
|
__export
|
|
6
|
-
} from "./
|
|
6
|
+
} from "./command-9rqn6x4v.js";
|
|
7
7
|
|
|
8
8
|
// src/plugin/update.ts
|
|
9
9
|
var exports_update = {};
|
|
10
10
|
__export(exports_update, {
|
|
11
11
|
PluginUpdate: () => exports_update,
|
|
12
|
-
Service: () =>
|
|
13
|
-
node: () =>
|
|
12
|
+
Service: () => Service2,
|
|
13
|
+
node: () => node3
|
|
14
14
|
});
|
|
15
15
|
import { Clock, Context, Effect, Exit, Layer, Option, PubSub, Stream } from "effect";
|
|
16
16
|
import { Npm } from "@opencode/util/npm";
|
|
17
17
|
import { makeGlobalNode } from "@opencode/util/effect/app-node";
|
|
18
18
|
var interval = 24 * 60 * 60 * 1000;
|
|
19
19
|
|
|
20
|
-
class
|
|
20
|
+
class Service2 extends Context.Service()("@opencode/PluginUpdate") {
|
|
21
21
|
}
|
|
22
|
-
var layer = Layer.effect(
|
|
22
|
+
var layer = Layer.effect(Service2, Effect.gen(function* () {
|
|
23
23
|
const npm = yield* Npm.Service;
|
|
24
24
|
const locks = makeUnsafe2();
|
|
25
25
|
const status = new Map;
|
|
26
26
|
const changes = yield* PubSub.unbounded();
|
|
27
|
-
return
|
|
27
|
+
return Service2.of({
|
|
28
28
|
check: (target, options) => locks.withLock(target)(Effect.gen(function* () {
|
|
29
29
|
const checkedAt = yield* Clock.currentTimeMillis;
|
|
30
30
|
const current = status.get(target);
|
|
@@ -49,6 +49,6 @@ var layer = Layer.effect(Service5, Effect.gen(function* () {
|
|
|
49
49
|
changes: () => Stream.fromPubSub(changes)
|
|
50
50
|
});
|
|
51
51
|
}));
|
|
52
|
-
var
|
|
52
|
+
var node3 = makeGlobalNode({ service: Service2, layer, deps: [Npm.node] });
|
|
53
53
|
|
|
54
|
-
export {
|
|
54
|
+
export { Service2, node3, exports_update };
|
|
@@ -1,15 +1,15 @@
|
|
|
1
1
|
import {
|
|
2
2
|
__export
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./command-9rqn6x4v.js";
|
|
4
4
|
|
|
5
5
|
// src/v1/config/command.ts
|
|
6
6
|
var exports_command4 = {};
|
|
7
7
|
__export(exports_command4, {
|
|
8
8
|
ConfigCommandV1: () => exports_command4,
|
|
9
|
-
Info: () =>
|
|
9
|
+
Info: () => Info14
|
|
10
10
|
});
|
|
11
11
|
import { Schema } from "effect";
|
|
12
|
-
var
|
|
12
|
+
var Info14 = Schema.Struct({
|
|
13
13
|
template: Schema.String,
|
|
14
14
|
description: Schema.optional(Schema.String),
|
|
15
15
|
agent: Schema.optional(Schema.String),
|
|
@@ -18,4 +18,4 @@ var Info18 = Schema.Struct({
|
|
|
18
18
|
subtask: Schema.optional(Schema.Boolean)
|
|
19
19
|
});
|
|
20
20
|
|
|
21
|
-
export {
|
|
21
|
+
export { Info14, exports_command4 };
|