@opencode/core 0.0.0-dev-21224 → 0.0.0-dev-21233
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 +85 -85
- package/dist/aisdk-native.js +91 -91
- package/dist/aisdk.js +96 -96
- package/dist/app.js +5 -5
- package/dist/bus.js +71 -71
- package/dist/chunks/{websearch-x5z971sw.js → skill-00awx1tb.js} +82 -82
- package/dist/chunks/{websearch-6jyskdaq.js → skill-00qrbj62.js} +4 -4
- package/dist/chunks/{websearch-ea6pkrn3.js → skill-06xsmntz.js} +2 -2
- package/dist/chunks/{websearch-xq9p6z8f.js → skill-0a54jmae.js} +9 -9
- package/dist/chunks/{websearch-fcrkznn8.js → skill-0jwsre1p.js} +5 -5
- package/dist/chunks/{websearch-fzvw3sme.js → skill-0mshdkct.js} +32 -32
- package/dist/chunks/{websearch-gkpdrz2m.js → skill-0qer0j0n.js} +10 -10
- package/dist/chunks/{websearch-686rhz5m.js → skill-0tb1pehm.js} +33 -33
- package/dist/chunks/{websearch-0vbcp93d.js → skill-0vbcp93d.js} +2 -2
- package/dist/chunks/{websearch-408djvx8.js → skill-0w1q6v6s.js} +17 -17
- package/dist/chunks/{websearch-r7zf4xmz.js → skill-0w5ft33m.js} +15 -15
- package/dist/chunks/{websearch-cdagb9hr.js → skill-167gessz.js} +18 -18
- package/dist/chunks/{websearch-y7kp3jw0.js → skill-1a8spp1r.js} +20 -20
- package/dist/chunks/{websearch-dwvv1d4k.js → skill-1dcff6nc.js} +5 -5
- package/dist/chunks/{websearch-nx9njvw5.js → skill-1e0fage9.js} +4 -4
- package/dist/chunks/{websearch-bzeyqsqd.js → skill-1ep4rre3.js} +4 -4
- package/dist/chunks/{websearch-vnbyr4se.js → skill-1j2x33v7.js} +14 -14
- package/dist/chunks/{websearch-ffc15gys.js → skill-1vnwec3s.js} +13 -13
- package/dist/chunks/{websearch-2t00a1ge.js → skill-1wy3a1da.js} +8 -8
- package/dist/chunks/{websearch-7vt1m3kq.js → skill-1yf4km17.js} +5 -5
- package/dist/chunks/{websearch-49krk8vq.js → skill-24s8e1ye.js} +19 -19
- package/dist/chunks/{websearch-42pyk7nk.js → skill-24ythb25.js} +3 -3
- package/dist/chunks/{websearch-g75rryd5.js → skill-2dvjh35y.js} +27 -27
- package/dist/chunks/{websearch-jpddy1wf.js → skill-2fkbhf5s.js} +25 -25
- package/dist/chunks/{websearch-67zjm8xa.js → skill-2ge34d2j.js} +11 -11
- package/dist/chunks/{websearch-r7271wee.js → skill-2hn0k533.js} +3 -3
- package/dist/chunks/{websearch-qbqbaz6q.js → skill-2k71kv7p.js} +4 -4
- package/dist/chunks/{websearch-9enkw6hy.js → skill-373db230.js} +14 -14
- package/dist/chunks/{websearch-ahd542yp.js → skill-3cwb9jzf.js} +4 -4
- package/dist/chunks/{websearch-3fc6dm20.js → skill-3fc6dm20.js} +1 -1
- package/dist/chunks/{websearch-3hepkmqq.js → skill-3hepkmqq.js} +1 -1
- package/dist/chunks/{websearch-3hwn7j4h.js → skill-3hwn7j4h.js} +2 -2
- package/dist/chunks/{websearch-br2ajpjf.js → skill-3j1wy11z.js} +29 -29
- package/dist/chunks/{websearch-3smtnn6g.js → skill-3smtnn6g.js} +1 -1
- package/dist/chunks/{websearch-3tvqynh2.js → skill-3tvqynh2.js} +1 -1
- package/dist/chunks/{websearch-3zsf4n22.js → skill-3zsf4n22.js} +1 -1
- package/dist/chunks/{websearch-6wtj175e.js → skill-407q6sa9.js} +40 -40
- package/dist/chunks/{websearch-jpqeh2wc.js → skill-44ak30pa.js} +4 -4
- package/dist/chunks/{websearch-qf8hqpy6.js → skill-4e4ttbd6.js} +6 -6
- package/dist/chunks/{websearch-8qbbsma3.js → skill-4gycktp3.js} +25 -25
- package/dist/chunks/{websearch-4z58m4b4.js → skill-4j4tgtq5.js} +4 -4
- package/dist/chunks/{websearch-psw4htx6.js → skill-4rqs6yce.js} +8 -8
- package/dist/chunks/{websearch-74q1kx8s.js → skill-4ysfff1b.js} +29 -29
- package/dist/chunks/{websearch-76304eqm.js → skill-51fhzrhh.js} +23 -23
- package/dist/chunks/{websearch-54ma36ye.js → skill-54ma36ye.js} +1 -1
- package/dist/chunks/{websearch-0rx25b3a.js → skill-5a1a4xxz.js} +28 -28
- package/dist/chunks/{websearch-2kqhrdmh.js → skill-5cazt80r.js} +34 -34
- package/dist/chunks/{websearch-bnwfhg91.js → skill-5hckghy7.js} +25 -25
- package/dist/chunks/{websearch-5m9w47nd.js → skill-5m9w47nd.js} +1 -1
- package/dist/chunks/{websearch-z7se6kvy.js → skill-5n5c97r3.js} +5 -5
- package/dist/chunks/{websearch-p2fnpnpq.js → skill-5n8ca005.js} +24 -24
- package/dist/chunks/{websearch-e3qxr5gk.js → skill-5qd3pb7m.js} +2 -2
- package/dist/chunks/{websearch-qsq1hnwm.js → skill-5s0bhjqk.js} +18 -18
- package/dist/chunks/{websearch-9ndz9apn.js → skill-63kqh4pp.js} +15 -15
- package/dist/chunks/{websearch-6827pfxn.js → skill-6827pfxn.js} +1 -1
- package/dist/chunks/{websearch-2940qx8c.js → skill-6fq7r47e.js} +5 -5
- package/dist/chunks/{websearch-p2wxn54t.js → skill-6x6512f8.js} +14 -14
- package/dist/chunks/{websearch-6xb47vfp.js → skill-6xb47vfp.js} +1 -1
- package/dist/chunks/{websearch-r0dj4qvr.js → skill-711r5px4.js} +24 -24
- package/dist/chunks/{websearch-3ftchhay.js → skill-721538d5.js} +11 -11
- package/dist/chunks/{websearch-b4kv1q3d.js → skill-73wdtct1.js} +4 -4
- package/dist/chunks/{websearch-gd3e21re.js → skill-74ntyh7j.js} +29 -29
- package/dist/chunks/{websearch-775gj3j1.js → skill-775gj3j1.js} +2 -2
- package/dist/chunks/{websearch-7bmhse3q.js → skill-7bmhse3q.js} +1 -1
- package/dist/chunks/{websearch-rkprpv83.js → skill-7fkffz83.js} +4 -4
- package/dist/chunks/{websearch-9j7x1428.js → skill-7y6g135c.js} +21 -21
- package/dist/chunks/{websearch-84txncab.js → skill-84txncab.js} +1 -1
- package/dist/chunks/{websearch-tcezcvh9.js → skill-89znhe33.js} +4 -4
- package/dist/chunks/{websearch-x9eehk7h.js → skill-8hk5zr5e.js} +26 -26
- package/dist/chunks/{websearch-pfyqag78.js → skill-8hpz99e3.js} +20 -20
- package/dist/chunks/{websearch-8m6m0r52.js → skill-8m6m0r52.js} +1 -1
- package/dist/chunks/{websearch-89vjf07m.js → skill-8ryk0bb9.js} +5 -5
- package/dist/chunks/{websearch-kx7btjcr.js → skill-92g1m7we.js} +25 -25
- package/dist/chunks/{websearch-my6749he.js → skill-942ape3s.js} +16 -16
- package/dist/chunks/{websearch-2caf64h0.js → skill-95gd5fnz.js} +5 -5
- package/dist/chunks/skill-961073wv.js +26 -0
- package/dist/chunks/{websearch-1j6m29mr.js → skill-97aeaand.js} +9 -9
- package/dist/chunks/{websearch-e7jsfe8q.js → skill-9cw92fkg.js} +49 -49
- package/dist/chunks/{websearch-a41ypxxk.js → skill-9g88hcsg.js} +44 -44
- package/dist/chunks/{websearch-yegdtzkd.js → skill-9hg616bm.js} +10 -10
- package/dist/chunks/{websearch-2k9fjx65.js → skill-9hwaqfsw.js} +5 -5
- package/dist/chunks/{websearch-rs143gbp.js → skill-9skj9fwe.js} +20 -20
- package/dist/chunks/{websearch-221f1e88.js → skill-9sspp2kc.js} +19 -19
- package/dist/chunks/{websearch-5cgfmz7c.js → skill-9tn557k3.js} +3 -3
- package/dist/chunks/{websearch-2rcszdm4.js → skill-9xnh36ct.js} +20 -20
- package/dist/chunks/{websearch-gj6ej50n.js → skill-a0wcqrzt.js} +36 -36
- package/dist/chunks/{websearch-3me7dwrv.js → skill-a61mcpgr.js} +23 -23
- package/dist/chunks/{websearch-jrjwnzfm.js → skill-acy09t17.js} +1 -1
- package/dist/chunks/{websearch-baaqp4zd.js → skill-afdssyjb.js} +4 -4
- package/dist/chunks/{websearch-88723a74.js → skill-afm93r8m.js} +5 -5
- package/dist/chunks/{websearch-cxybd8s1.js → skill-aj2p83by.js} +19 -19
- package/dist/chunks/{websearch-hrxpwfpw.js → skill-axbdcqfv.js} +11 -11
- package/dist/chunks/{websearch-xmaw0eaa.js → skill-azhh6n6p.js} +32 -32
- package/dist/chunks/{websearch-762e5b2q.js → skill-bdjmc03q.js} +20 -20
- package/dist/chunks/{websearch-ywt8jp22.js → skill-bjx1sjef.js} +9 -9
- package/dist/chunks/{websearch-nms2wt4g.js → skill-bn0s77k4.js} +20 -20
- package/dist/chunks/{websearch-z7h38hxc.js → skill-bs5qht20.js} +3 -3
- package/dist/chunks/{websearch-dgrm2w19.js → skill-bykqqmg1.js} +24 -24
- package/dist/chunks/{websearch-dreqgzvx.js → skill-bzjf68bt.js} +35 -35
- package/dist/chunks/{websearch-c1fqxshp.js → skill-c1fqxshp.js} +3 -3
- package/dist/chunks/{websearch-3356qk4w.js → skill-c1s4czd4.js} +18 -18
- package/dist/chunks/{websearch-a820vvr1.js → skill-cbghv35z.js} +14 -14
- package/dist/chunks/{websearch-hwk270qq.js → skill-cddgxm6q.js} +43 -43
- package/dist/chunks/{websearch-0b5g1ynf.js → skill-ch6w3xdz.js} +9 -9
- package/dist/chunks/{websearch-br29hxcj.js → skill-cwjaek22.js} +14 -14
- package/dist/chunks/{websearch-h978070j.js → skill-d1a28jh7.js} +5 -5
- package/dist/chunks/{websearch-7k0d8gn1.js → skill-d2kvkr0c.js} +13 -13
- package/dist/chunks/{websearch-p3b29jcp.js → skill-d48v5xqa.js} +9 -9
- package/dist/chunks/{websearch-j2n35z42.js → skill-d7q7g158.js} +7 -7
- package/dist/chunks/{websearch-x5xc9net.js → skill-db95amxg.js} +28 -28
- package/dist/chunks/{websearch-mnvvj4zr.js → skill-dbwk15v0.js} +31 -31
- package/dist/chunks/{websearch-c93sr89b.js → skill-ddzfx2sp.js} +4 -4
- package/dist/chunks/{websearch-a3qv28kg.js → skill-dg66qqba.js} +12 -12
- package/dist/chunks/{websearch-bwc6w5e3.js → skill-dgmheq7x.js} +24 -24
- package/dist/chunks/{websearch-782zrs06.js → skill-dhb2hta4.js} +5 -5
- package/dist/chunks/{websearch-jqnvbgrg.js → skill-dr27kx24.js} +35 -35
- package/dist/chunks/{websearch-tk14y25j.js → skill-dssbfrwz.js} +5 -5
- package/dist/chunks/{websearch-pny0r53y.js → skill-dv4gwh01.js} +37 -37
- package/dist/chunks/{websearch-7e24cw9c.js → skill-dzewxd6e.js} +50 -50
- package/dist/chunks/{websearch-3ew8rkf7.js → skill-e4qjwypm.js} +14 -14
- package/dist/chunks/{websearch-e80seqcp.js → skill-e80seqcp.js} +1 -1
- package/dist/chunks/{websearch-t550f9t1.js → skill-eaj1djv9.js} +8 -8
- package/dist/chunks/{websearch-5vess9d2.js → skill-ebwpp9d0.js} +20 -20
- package/dist/chunks/{websearch-eej6y6fw.js → skill-eej6y6fw.js} +2 -2
- package/dist/chunks/{websearch-ef5x83kb.js → skill-ef5x83kb.js} +1 -1
- package/dist/chunks/{websearch-b9gz16sy.js → skill-ek42zh69.js} +26 -26
- package/dist/chunks/{websearch-0sd51dq6.js → skill-eyvd4r56.js} +17 -17
- package/dist/chunks/{websearch-enzk9cpf.js → skill-f3rjyvb9.js} +32 -32
- package/dist/chunks/{websearch-7jvhq5gb.js → skill-fcdhtk1s.js} +19 -19
- package/dist/chunks/{websearch-fcy631f0.js → skill-fcy631f0.js} +1 -1
- package/dist/chunks/{websearch-s1kvmffy.js → skill-fdms3n6w.js} +9 -9
- package/dist/chunks/{websearch-395q6j9z.js → skill-fn9t717r.js} +6 -6
- package/dist/chunks/{websearch-g6q9qykm.js → skill-ft3hqk2c.js} +9 -9
- package/dist/chunks/{websearch-1w2wqhfv.js → skill-fxaymqdw.js} +4 -4
- package/dist/chunks/{websearch-4grvyymx.js → skill-g0zzgjed.js} +13 -13
- package/dist/chunks/{websearch-vtbhp86a.js → skill-g46rkewk.js} +13 -13
- package/dist/chunks/{websearch-8ncv3257.js → skill-g9qy5730.js} +71 -71
- package/dist/chunks/{websearch-vabrjmgk.js → skill-gb51gx5j.js} +1 -1
- package/dist/chunks/{websearch-gd4qta3r.js → skill-gd4qta3r.js} +1 -1
- package/dist/chunks/{websearch-dgpsrprm.js → skill-gqtdsdt7.js} +4 -4
- package/dist/chunks/{websearch-h6vf3j39.js → skill-h6vf3j39.js} +1 -1
- package/dist/chunks/{websearch-96jg49av.js → skill-hcms3ej7.js} +21 -21
- package/dist/chunks/{websearch-xwjs8ww6.js → skill-hcry4rxa.js} +11 -11
- package/dist/chunks/{websearch-vv31ba1z.js → skill-hdjck8j7.js} +38 -38
- package/dist/chunks/{websearch-hgz4x7wa.js → skill-hgz4x7wa.js} +1 -1
- package/dist/chunks/{websearch-h3ga5h05.js → skill-hh8xd2g7.js} +17 -17
- package/dist/chunks/{websearch-t1n3psfc.js → skill-hjkky8wz.js} +4 -4
- package/dist/chunks/{websearch-5m7ht46p.js → skill-hp8bf08d.js} +11 -11
- package/dist/chunks/{websearch-m54bh4ta.js → skill-hpagwa2c.js} +14 -14
- package/dist/chunks/{websearch-17s7qcny.js → skill-hpwbz69d.js} +19 -19
- package/dist/chunks/{websearch-63v2gbt2.js → skill-hszepbzs.js} +11 -11
- package/dist/chunks/{websearch-x65zg2f4.js → skill-ht9z38af.js} +7 -7
- package/dist/chunks/{websearch-fnd7y97v.js → skill-hv0kjr3z.js} +20 -20
- package/dist/chunks/{websearch-560pyh3z.js → skill-hxbam2w6.js} +7 -7
- package/dist/chunks/{websearch-91qna3x0.js → skill-j09zfasm.js} +3 -3
- package/dist/chunks/{websearch-88hv1pmh.js → skill-j17rh5na.js} +14 -14
- package/dist/chunks/{websearch-14tnpq20.js → skill-j2ztd3ax.js} +30 -30
- package/dist/chunks/{websearch-ewev2d8f.js → skill-j58npq09.js} +13 -13
- package/dist/chunks/{websearch-vktwk5kv.js → skill-j5xh64qr.js} +9 -9
- package/dist/chunks/{websearch-w91kb5tp.js → skill-j6ktnsbj.js} +12 -12
- package/dist/chunks/{websearch-fzxe8swn.js → skill-j7qxhh0w.js} +11 -11
- package/dist/chunks/{websearch-h7me9c7a.js → skill-jkh8wmvq.js} +14 -14
- package/dist/chunks/skill-jpqp0310.js +257 -0
- package/dist/chunks/{websearch-dt3hm876.js → skill-jq9wm7kj.js} +2 -2
- package/dist/chunks/{websearch-f4gks0ax.js → skill-jr0bwz5h.js} +18 -18
- package/dist/chunks/{websearch-g5d66h7n.js → skill-jvhzr3z9.js} +44 -44
- package/dist/chunks/{websearch-vmsn7365.js → skill-jybvdwhe.js} +14 -14
- package/dist/chunks/{websearch-w6n09bsv.js → skill-k1ep3vpw.js} +8 -8
- package/dist/chunks/{websearch-86fewpp3.js → skill-k41pdhxj.js} +19 -19
- package/dist/chunks/{websearch-b27vhd2z.js → skill-k76krqzs.js} +4 -4
- package/dist/chunks/{websearch-e2h8kkd4.js → skill-k7v4hzhw.js} +14 -14
- package/dist/chunks/{websearch-31kc2c59.js → skill-k8zn6dzp.js} +17 -17
- package/dist/chunks/{websearch-pxhmaprh.js → skill-kbzdcc1z.js} +30 -30
- package/dist/chunks/{websearch-kwb1v3vj.js → skill-kwb1v3vj.js} +1 -1
- package/dist/chunks/{websearch-3g3960hh.js → skill-m28477hs.js} +20 -20
- package/dist/chunks/{websearch-a9xpmzy9.js → skill-m70jk2v7.js} +27 -27
- package/dist/chunks/{websearch-e6qj70wv.js → skill-m7c2pgrj.js} +42 -42
- package/dist/chunks/{websearch-33hcprh0.js → skill-m8tc3etm.js} +45 -45
- package/dist/chunks/{websearch-m9w0rfyh.js → skill-m9w0rfyh.js} +1 -1
- package/dist/chunks/{websearch-246v0tc9.js → skill-ma5jzer8.js} +37 -37
- package/dist/chunks/{websearch-9p3hty2e.js → skill-ma7sk27v.js} +29 -29
- package/dist/chunks/{websearch-maspj1v3.js → skill-maspj1v3.js} +1 -1
- package/dist/chunks/{websearch-pj2v6jcx.js → skill-mfgpt03n.js} +5 -5
- package/dist/chunks/{websearch-08rawchj.js → skill-mtpeagzc.js} +3 -3
- package/dist/chunks/{websearch-qqsk58jw.js → skill-mtvcx4kk.js} +11 -11
- package/dist/chunks/{websearch-pnw32wjv.js → skill-mz4wv8nb.js} +13 -13
- package/dist/chunks/{websearch-5rh77ejg.js → skill-n3wcrd3g.js} +7 -7
- package/dist/chunks/{websearch-qk9g970a.js → skill-n4d3d4w3.js} +11 -11
- package/dist/chunks/{websearch-ymgkxg7n.js → skill-n61013np.js} +11 -11
- package/dist/chunks/{websearch-shhjjnsc.js → skill-n8g9f5aw.js} +8 -8
- package/dist/chunks/{websearch-16pq2whc.js → skill-n9y44nm0.js} +12 -12
- package/dist/chunks/{websearch-80z0vyq9.js → skill-nd4tfyg0.js} +9 -9
- package/dist/chunks/{websearch-3y4x7fjm.js → skill-nm2sbdyw.js} +6 -6
- package/dist/chunks/{websearch-e43bgd9j.js → skill-p2w0np6h.js} +11 -11
- package/dist/chunks/{websearch-phstrbs2.js → skill-p37cw4rj.js} +8 -8
- package/dist/chunks/{websearch-czbb84tb.js → skill-p6zwjtwx.js} +3 -3
- package/dist/chunks/{websearch-m91anb0y.js → skill-pc6svy01.js} +10 -10
- package/dist/chunks/{websearch-xbc6qp68.js → skill-pcf1k9th.js} +6 -6
- package/dist/chunks/{websearch-p4yy72g7.js → skill-pea6wjc4.js} +86 -86
- package/dist/chunks/{websearch-pjvnvgmy.js → skill-pjvnvgmy.js} +1 -1
- package/dist/chunks/{websearch-pknna89w.js → skill-pknna89w.js} +1 -1
- package/dist/chunks/{websearch-4jj13pkf.js → skill-ps2yhsm3.js} +25 -25
- package/dist/chunks/{websearch-tp65tks7.js → skill-ptxp58at.js} +10 -10
- package/dist/chunks/{websearch-d1e92g2x.js → skill-q6ec7ghb.js} +4 -4
- package/dist/chunks/{websearch-0fpjtet3.js → skill-q6hmgxfy.js} +32 -32
- package/dist/chunks/{websearch-qnc92qwc.js → skill-qnc92qwc.js} +1 -1
- package/dist/chunks/{websearch-drwq78ky.js → skill-qqeeq2t9.js} +7 -7
- package/dist/chunks/{websearch-qsdy395h.js → skill-qsdy395h.js} +1 -1
- package/dist/chunks/{websearch-x2dzfeyp.js → skill-qx787nm7.js} +46 -46
- package/dist/chunks/{websearch-gk6kjc9e.js → skill-qygncz6a.js} +33 -33
- package/dist/chunks/{websearch-5aec44te.js → skill-r3ydk6z5.js} +6 -6
- package/dist/chunks/{websearch-rdw6cm16.js → skill-rdw6cm16.js} +1 -1
- package/dist/chunks/{websearch-rert0e01.js → skill-rert0e01.js} +2 -2
- package/dist/chunks/{websearch-1acjjqhc.js → skill-rhraev7y.js} +4 -4
- package/dist/chunks/{websearch-rj3eygr5.js → skill-rj3eygr5.js} +2 -2
- package/dist/chunks/{websearch-sn8tyy2m.js → skill-rmpja4kz.js} +20 -20
- package/dist/chunks/{websearch-89t7raa1.js → skill-rmwddm56.js} +23 -23
- package/dist/chunks/{websearch-6ke9rgy7.js → skill-ryvyvv32.js} +32 -32
- package/dist/chunks/{websearch-sa8ekw3f.js → skill-sa8ekw3f.js} +2 -2
- package/dist/chunks/{websearch-m7ey3t0g.js → skill-sd35z9tw.js} +11 -11
- package/dist/chunks/{websearch-q40ec3gz.js → skill-sh4t0w1q.js} +3 -3
- package/dist/chunks/{websearch-7hd1qm23.js → skill-smjam21t.js} +21 -21
- package/dist/chunks/{websearch-f70y1yam.js → skill-sv1af74h.js} +26 -26
- package/dist/chunks/{websearch-gx4sppz1.js → skill-swdxt3e8.js} +10 -10
- package/dist/chunks/{websearch-syv4x271.js → skill-syv4x271.js} +1 -1
- package/dist/chunks/{websearch-tneznqz4.js → skill-t3mrtpce.js} +13 -13
- package/dist/chunks/{websearch-tazgh4e4.js → skill-tazgh4e4.js} +1 -1
- package/dist/chunks/{websearch-qnkh0g7e.js → skill-tdepd04k.js} +14 -14
- package/dist/chunks/{websearch-tdstcens.js → skill-tdstcens.js} +1 -1
- package/dist/chunks/{websearch-gjmk74th.js → skill-tegs1ycp.js} +6 -6
- package/dist/chunks/{websearch-e7544r3d.js → skill-tk14ecdn.js} +31 -31
- package/dist/chunks/{websearch-tm0kqsz3.js → skill-tm0kqsz3.js} +1 -1
- package/dist/chunks/{websearch-kvbtfxr1.js → skill-tmjmhw6b.js} +7 -7
- package/dist/chunks/{websearch-xrttfryv.js → skill-tswswthy.js} +53 -53
- package/dist/chunks/{websearch-gs3s1a1g.js → skill-tx9w5tca.js} +8 -8
- package/dist/chunks/{websearch-tyytaxap.js → skill-tyytaxap.js} +1 -1
- package/dist/chunks/{websearch-1k2pa5az.js → skill-v210v162.js} +9 -9
- package/dist/chunks/{websearch-zd41cs62.js → skill-v2bjyqkg.js} +9 -9
- package/dist/chunks/{websearch-v7p4zvkq.js → skill-v7p4zvkq.js} +2 -2
- package/dist/chunks/{websearch-q14gqrwp.js → skill-vb3m6eyp.js} +20 -20
- package/dist/chunks/{websearch-wgahhr0x.js → skill-vbek984v.js} +8 -8
- package/dist/chunks/{websearch-r96k90r2.js → skill-vbhp0dye.js} +45 -45
- package/dist/chunks/{websearch-veqvce7d.js → skill-veqvce7d.js} +1 -1
- package/dist/chunks/skill-vnkjks7b.js +18 -0
- package/dist/chunks/{websearch-dp4nj4d1.js → skill-vnwacm6t.js} +1 -1
- package/dist/chunks/{websearch-me3jg3z9.js → skill-vr9br9b3.js} +28 -28
- package/dist/chunks/{websearch-g5zw4trq.js → skill-vscs4key.js} +9 -9
- package/dist/chunks/{websearch-1djby03j.js → skill-vwwhsbvp.js} +10 -10
- package/dist/chunks/{websearch-vzs5sf6e.js → skill-vzs5sf6e.js} +1 -1
- package/dist/chunks/{websearch-w3wsvvr9.js → skill-w3wsvvr9.js} +1 -1
- package/dist/chunks/{websearch-31261pdq.js → skill-w57ms8mt.js} +17 -17
- package/dist/chunks/{websearch-wd87259q.js → skill-wd87259q.js} +1 -1
- package/dist/chunks/{websearch-1d5g2359.js → skill-wdjfy1sg.js} +4 -4
- package/dist/chunks/{websearch-0jspa6zs.js → skill-wf494znr.js} +13 -13
- package/dist/chunks/{websearch-vcshv6ve.js → skill-wknnvmh5.js} +15 -15
- package/dist/chunks/{websearch-dgzme5wp.js → skill-wwq19wsf.js} +5 -5
- package/dist/chunks/{websearch-5864nzwg.js → skill-wzwtd4q2.js} +11 -11
- package/dist/chunks/{websearch-pk9k5r3w.js → skill-x181wg97.js} +5 -5
- package/dist/chunks/{websearch-e9bdbk7q.js → skill-x4s1hxy4.js} +16 -16
- package/dist/chunks/{websearch-mk19mbca.js → skill-x96ngv9r.js} +10 -10
- package/dist/chunks/{websearch-c19pq400.js → skill-xa8dcf8m.js} +9 -9
- package/dist/chunks/{websearch-gd0tnyjc.js → skill-xt4njr3s.js} +1 -1
- package/dist/chunks/{websearch-y1fvbwt7.js → skill-y1fvbwt7.js} +1 -1
- package/dist/chunks/{websearch-y71avatq.js → skill-y71avatq.js} +1 -1
- package/dist/chunks/{websearch-0ma7h6ad.js → skill-ybq6hy8a.js} +18 -18
- package/dist/chunks/{websearch-t90nd26b.js → skill-ybzr8t0c.js} +17 -17
- package/dist/chunks/{websearch-xvwcym22.js → skill-yc97vnhp.js} +332 -332
- package/dist/chunks/{websearch-stpptdzq.js → skill-ysr3h47w.js} +55 -55
- package/dist/chunks/{websearch-ma8yckng.js → skill-ytakhgxz.js} +32 -32
- package/dist/chunks/{websearch-vbh98mes.js → skill-ytw5y04d.js} +11 -11
- package/dist/chunks/{websearch-z0bkrqjs.js → skill-z0bkrqjs.js} +1 -1
- package/dist/chunks/{websearch-f7xs1qns.js → skill-z42dm00v.js} +15 -15
- package/dist/chunks/{websearch-ry7qycn4.js → skill-z47sjnwy.js} +193 -193
- package/dist/chunks/{websearch-x9gmf1h5.js → skill-z9dnddtr.js} +31 -31
- package/dist/chunks/{websearch-my6mhyca.js → skill-zn5qbatk.js} +35 -35
- package/dist/chunks/{websearch-b6cc36yj.js → skill-zn9jy13z.js} +3 -3
- package/dist/chunks/{websearch-y4xf82q9.js → skill-znpdtr75.js} +25 -25
- package/dist/chunks/{websearch-zr2ceqn5.js → skill-zr2ceqn5.js} +1 -1
- package/dist/chunks/{websearch-4ghskkf3.js → skill-ztkm05qe.js} +20 -20
- package/dist/chunks/{websearch-zxq2ej10.js → skill-zxq2ej10.js} +1 -1
- package/dist/codemode/catalog.js +1 -1
- package/dist/codemode/instructions.js +11 -11
- package/dist/codemode/tool.js +3 -3
- package/dist/codemode/web.js +1 -1
- package/dist/command.js +85 -85
- package/dist/config/discovery.js +86 -86
- package/dist/config/markdown.js +1 -1
- package/dist/config/normalize.js +101 -101
- package/dist/config/plugin/agent.js +118 -118
- package/dist/config/plugin/command.js +208 -208
- package/dist/config/plugin/compaction.js +155 -155
- package/dist/config/plugin/compatibility.js +135 -135
- package/dist/config/plugin/entry-observer.js +1 -1
- package/dist/config/plugin/formatter.js +117 -117
- package/dist/config/plugin/image.js +116 -116
- package/dist/config/plugin/instruction.js +116 -116
- package/dist/config/plugin/location-watcher.js +118 -118
- package/dist/config/plugin/mcp.js +125 -125
- package/dist/config/plugin/policy.js +117 -117
- package/dist/config/plugin/provider.js +116 -116
- package/dist/config/plugin/reference.js +118 -118
- package/dist/config/plugin/shell.js +118 -118
- package/dist/config/plugin/skill-file.js +104 -104
- package/dist/config/plugin/skill-scan.js +3 -3
- package/dist/config/plugin/skill.js +138 -138
- package/dist/config/plugin/snapshot.js +116 -116
- package/dist/config/plugin/source.js +119 -119
- package/dist/config/plugin/tool-output.js +117 -117
- package/dist/config/plugin/websearch.js +117 -117
- package/dist/config/plugin/worktree.js +118 -118
- package/dist/config/variable.js +1 -1
- package/dist/config/watch.js +1 -1
- package/dist/config.js +121 -121
- package/dist/credential/sql.js +2 -2
- package/dist/credential.js +87 -87
- package/dist/database/database.js +68 -68
- package/dist/database/drizzle/effect-sqlite/driver.js +12 -12
- package/dist/database/drizzle/effect-sqlite/index.js +12 -12
- package/dist/database/drizzle/effect-sqlite/session.js +11 -11
- package/dist/database/drizzle/index.js +13 -13
- package/dist/database/drizzle/internal/drizzle-utils.js +1 -1
- package/dist/database/drizzle/sqlite-core/effect/count.js +1 -1
- package/dist/database/drizzle/sqlite-core/effect/db.js +9 -9
- package/dist/database/drizzle/sqlite-core/effect/delete.js +2 -2
- package/dist/database/drizzle/sqlite-core/effect/index.js +10 -10
- package/dist/database/drizzle/sqlite-core/effect/insert.js +2 -2
- package/dist/database/drizzle/sqlite-core/effect/query.js +1 -1
- package/dist/database/drizzle/sqlite-core/effect/raw.js +1 -1
- package/dist/database/drizzle/sqlite-core/effect/select.js +2 -2
- package/dist/database/drizzle/sqlite-core/effect/session.js +10 -10
- package/dist/database/drizzle/sqlite-core/effect/update.js +2 -2
- package/dist/database/drizzle.js +14 -14
- package/dist/database/migration/20260127222353_familiar_lady_ursula.js +1 -1
- package/dist/database/migration/20260211171708_add_project_commands.js +1 -1
- package/dist/database/migration/20260213144116_wakeful_the_professor.js +1 -1
- package/dist/database/migration/20260225215848_workspace.js +1 -1
- package/dist/database/migration/20260227213759_add_session_workspace_id.js +1 -1
- package/dist/database/migration/20260228203230_blue_harpoon.js +1 -1
- package/dist/database/migration/20260303231226_add_workspace_fields.js +1 -1
- package/dist/database/migration/20260309230000_move_org_to_state.js +1 -1
- package/dist/database/migration/20260312043431_session_message_cursor.js +1 -1
- package/dist/database/migration/20260323234822_events.js +1 -1
- package/dist/database/migration/20260410174513_workspace-name.js +1 -1
- package/dist/database/migration/20260413175956_chief_energizer.js +1 -1
- package/dist/database/migration/20260423070820_add_icon_url_override.js +1 -1
- package/dist/database/migration/20260427172553_slow_nightmare.js +1 -1
- package/dist/database/migration/20260428004200_add_session_path.js +1 -1
- package/dist/database/migration/20260501142318_next_venus.js +1 -1
- package/dist/database/migration/20260504145000_add_sync_owner.js +1 -1
- package/dist/database/migration/20260507164347_add_workspace_time.js +1 -1
- package/dist/database/migration/20260510033149_session_usage.js +1 -1
- package/dist/database/migration/20260511000411_data_migration_state.js +1 -1
- package/dist/database/migration/20260511173437_session-metadata.js +1 -1
- package/dist/database/migration/20260601010001_normalize_storage_paths.js +1 -1
- package/dist/database/migration/20260601202201_amazing_prowler.js +1 -1
- package/dist/database/migration/20260602002951_lowly_union_jack.js +1 -1
- package/dist/database/migration/20260602182828_add_project_directories.js +1 -1
- package/dist/database/migration/20260603001617_session_message_projection_indexes.js +1 -1
- package/dist/database/migration/20260603040000_session_message_projection_order.js +1 -1
- package/dist/database/migration/20260603141458_session_input_inbox.js +1 -1
- package/dist/database/migration/20260603160727_jittery_ezekiel_stane.js +1 -1
- package/dist/database/migration/20260604172448_event_sourced_session_input.js +1 -1
- package/dist/database/migration/20260605003541_add_session_context_snapshot.js +1 -1
- package/dist/database/migration/20260605042240_add_context_epoch_agent.js +1 -1
- package/dist/database/migration/20260611035744_credential.js +1 -1
- package/dist/database/migration/20260611192811_lush_chimera.js +1 -1
- package/dist/database/migration/20260612174303_project_dir_strategy.js +1 -1
- package/dist/database/migration/20260622142730_simplify_session_context_epoch.js +1 -1
- package/dist/database/migration/20260622170816_reset_v2_session_state.js +1 -1
- package/dist/database/migration/20260622202450_simplify_session_input.js +1 -1
- package/dist/database/migration/20260804233008_loose_psylocke.js +1 -1
- package/dist/database/migration/20260805200742_import_legacy_credentials.js +1 -1
- package/dist/database/migration/20260808023530_workspace_domain.js +1 -1
- package/dist/database/migration/20260811161259_execution_claim_attempts.js +1 -1
- package/dist/database/migration/20260812181746_session_inbox.js +1 -1
- package/dist/database/migration/20260812213948_worktree.js +1 -1
- package/dist/database/migration/20260819222447_session_viewed_state.js +1 -1
- package/dist/database/migration/20260823191254_nullable_workspace_binding.js +1 -1
- package/dist/database/migration/20260910120000_clear_v1_session_permission.js +1 -1
- package/dist/database/migration/20260923013825_project_time_active.js +1 -1
- package/dist/database/migration/20261007190000_azure_cli_external_credential.js +1 -1
- package/dist/database/migration/20261010180456_project_time_archived.js +1 -1
- package/dist/database/migration.gen.js +51 -51
- package/dist/database/migration.js +53 -53
- 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 +78 -78
- 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 +95 -95
- package/dist/environment/exec-defaults.js +2 -2
- package/dist/environment/files.js +1 -1
- package/dist/environment/index.js +95 -95
- package/dist/environment/local.js +2 -2
- package/dist/environment/memory.js +2 -2
- package/dist/environment/unavailable.js +3 -3
- package/dist/event/sql.js +1 -1
- package/dist/event-logger.js +72 -72
- package/dist/file-access.js +106 -106
- package/dist/file-mutation.js +96 -96
- package/dist/file-retention.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/location-watcher-policy.js +6 -6
- package/dist/filesystem/location-watcher.js +221 -221
- package/dist/filesystem/protected.js +3 -3
- package/dist/filesystem/search.js +105 -105
- package/dist/filesystem/watcher-binding.js +3 -3
- package/dist/filesystem/watcher.js +15 -15
- package/dist/filesystem.js +106 -106
- package/dist/form.js +86 -86
- package/dist/formatter/builtins.js +2 -2
- package/dist/formatter.js +89 -89
- package/dist/generate.js +106 -106
- package/dist/git.js +10 -10
- package/dist/github-copilot/chat/convert-to-openai-compatible-chat-messages.js +1 -1
- package/dist/github-copilot/chat/get-response-metadata.js +1 -1
- package/dist/github-copilot/chat/map-openai-compatible-finish-reason.js +1 -1
- package/dist/github-copilot/chat/openai-compatible-chat-language-model.js +7 -7
- package/dist/github-copilot/chat/openai-compatible-chat-options.js +1 -1
- package/dist/github-copilot/chat/openai-compatible-prepare-tools.js +1 -1
- package/dist/github-copilot/copilot-provider.js +17 -17
- package/dist/github-copilot/models.js +93 -93
- 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/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 +86 -86
- package/dist/instructions/builtins.js +89 -89
- package/dist/instructions/index.js +5 -5
- package/dist/integration/connection.js +3 -3
- package/dist/integration.js +91 -91
- package/dist/job.js +78 -78
- package/dist/kv/sql.js +2 -2
- package/dist/kv.js +75 -75
- package/dist/location-activity.js +133 -133
- package/dist/location-lifecycle.js +109 -109
- package/dist/location-service-map.js +88 -88
- package/dist/location-services.js +357 -357
- package/dist/location.js +91 -91
- package/dist/managed-policy.js +8 -8
- package/dist/mcp/client.js +93 -93
- package/dist/mcp/index.js +105 -105
- package/dist/mcp/instructions.js +131 -131
- package/dist/mcp/oauth.js +80 -80
- package/dist/mcp/stdio.js +92 -92
- package/dist/mime.js +1 -1
- package/dist/modal/models.js +93 -93
- package/dist/model-resolver.js +100 -100
- package/dist/model-retry.js +1 -1
- package/dist/model.js +102 -102
- package/dist/models-dev.js +103 -103
- package/dist/oauth/page.js +1 -1
- package/dist/permission/saved.js +84 -84
- package/dist/permission/sql.js +5 -5
- package/dist/permission.js +117 -117
- package/dist/persistent-pty/binary.bun.js +3 -3
- package/dist/persistent-pty/binary.node.js +1 -1
- package/dist/persistent-pty/daemon.js +1 -1
- package/dist/persistent-pty/index.js +92 -92
- package/dist/persistent-pty/pty-binding.js +1 -1
- package/dist/persistent-pty.js +77 -77
- package/dist/plugin/agent.js +78 -78
- package/dist/plugin/command.js +104 -104
- package/dist/plugin/hooks.js +5 -5
- package/dist/plugin/host.js +212 -212
- package/dist/plugin/identity.js +3 -3
- package/dist/plugin/instance.js +5 -5
- package/dist/plugin/internal.js +331 -331
- package/dist/plugin/mcp-codemode-defaults.js +3 -3
- package/dist/plugin/models-dev.js +98 -98
- package/dist/plugin/module.js +117 -117
- package/dist/plugin/optimize.js +2 -2
- package/dist/plugin/plan.js +104 -104
- package/dist/plugin/promise.js +1 -1
- package/dist/plugin/provider/amazon-bedrock.js +92 -92
- package/dist/plugin/provider/azure.js +116 -116
- package/dist/plugin/provider/cerebras.js +1 -1
- package/dist/plugin/provider/chatgpt.js +116 -116
- package/dist/plugin/provider/cloudflare-ai-gateway.js +113 -113
- package/dist/plugin/provider/cloudflare-workers-ai.js +114 -114
- package/dist/plugin/provider/cohere.js +2 -2
- package/dist/plugin/provider/configured.js +112 -112
- package/dist/plugin/provider/databricks.js +1 -1
- package/dist/plugin/provider/digitalocean.js +95 -95
- package/dist/plugin/provider/dynamic.js +2 -2
- package/dist/plugin/provider/factory.js +1 -1
- package/dist/plugin/provider/github-copilot.js +97 -97
- package/dist/plugin/provider/gitlab.js +95 -95
- package/dist/plugin/provider/google-vertex.js +113 -113
- package/dist/plugin/provider/kilo.js +1 -1
- package/dist/plugin/provider/llmgateway.js +80 -80
- package/dist/plugin/provider/lmstudio.js +125 -125
- package/dist/plugin/provider/local.js +122 -122
- package/dist/plugin/provider/modal.js +94 -94
- package/dist/plugin/provider/neon.js +1 -1
- package/dist/plugin/provider/nvidia.js +1 -1
- package/dist/plugin/provider/ollama.js +125 -125
- package/dist/plugin/provider/openai.js +116 -116
- package/dist/plugin/provider/opencode.js +100 -100
- package/dist/plugin/provider/openrouter.js +93 -93
- package/dist/plugin/provider/perplexity.js +2 -2
- package/dist/plugin/provider/poe.js +81 -81
- package/dist/plugin/provider/prompt-cache-key.js +1 -1
- package/dist/plugin/provider/sap-ai-core.js +93 -93
- package/dist/plugin/provider/sdk-factory.js +1 -1
- package/dist/plugin/provider/snowflake-cortex.js +115 -115
- package/dist/plugin/provider/vercel.js +92 -92
- package/dist/plugin/provider/vllm.js +123 -123
- package/dist/plugin/provider/xai.js +93 -93
- package/dist/plugin/provider/zenmux.js +1 -1
- package/dist/plugin/provider.js +168 -168
- package/dist/plugin/sdk.js +78 -78
- package/dist/plugin/service.js +3 -3
- package/dist/plugin/skill.js +134 -134
- 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 +88 -88
- package/dist/plugin/vcs/hg.js +88 -88
- package/dist/plugin/verbosity.js +95 -95
- package/dist/plugin/warming.js +114 -114
- package/dist/plugin/websearch/exa.js +7 -7
- package/dist/plugin/websearch/firecrawl.js +8 -8
- package/dist/plugin/websearch/index.js +9 -9
- package/dist/plugin/websearch/mcp.js +6 -6
- package/dist/plugin/websearch/parallel.js +8 -8
- package/dist/plugin/websearch/tavily.js +6 -6
- package/dist/plugin/websearch/tinyfish.js +8 -8
- package/dist/plugin.js +217 -217
- package/dist/project/schema.js +8 -8
- package/dist/project/sql.js +4 -4
- package/dist/project.js +92 -92
- package/dist/provider.js +103 -103
- package/dist/pty/protocol.js +1 -1
- package/dist/pty/ticket.js +1 -1
- package/dist/pty.js +101 -101
- package/dist/reference/instructions.js +91 -91
- package/dist/reference.js +93 -93
- package/dist/repository-cache.js +83 -83
- package/dist/repository.js +1 -1
- package/dist/ripgrep/binary.js +2 -2
- package/dist/ripgrep.js +97 -97
- package/dist/rpc.js +88 -88
- package/dist/schema.js +1 -1
- package/dist/session/affinity.js +1 -1
- package/dist/session/command.js +76 -76
- package/dist/session/compaction.js +138 -138
- package/dist/session/context.js +155 -155
- package/dist/session/diff.js +90 -90
- package/dist/session/environment.js +3 -3
- package/dist/session/error.js +3 -3
- package/dist/session/event.js +1 -1
- package/dist/session/execution/restart.js +215 -215
- package/dist/session/execution.js +129 -129
- package/dist/session/generate.js +155 -155
- package/dist/session/history.js +15 -15
- package/dist/session/inbox.js +88 -88
- package/dist/session/info.js +3 -3
- package/dist/session/instruction-entry.js +81 -81
- package/dist/session/instruction-state.js +10 -10
- package/dist/session/instructions.js +99 -99
- package/dist/session/message-updater.js +4 -4
- package/dist/session/message.js +1 -1
- package/dist/session/model-request.js +120 -120
- package/dist/session/model-transport.js +7 -7
- package/dist/session/move.js +131 -131
- package/dist/session/projector.js +88 -88
- package/dist/session/prompt.js +107 -107
- package/dist/session/provider-context.js +3 -3
- package/dist/session/revert.js +92 -92
- package/dist/session/run-coordinator.js +3 -3
- package/dist/session/runner/index.js +3 -3
- package/dist/session/runner/llm.js +225 -225
- package/dist/session/runner/max-steps.js +1 -1
- package/dist/session/runner/model.js +100 -100
- package/dist/session/runner/publish-llm-event.js +115 -115
- package/dist/session/runner/retry.js +5 -5
- package/dist/session/runner/step.js +128 -128
- package/dist/session/runner/to-llm-message.js +2 -2
- package/dist/session/schema.js +5 -5
- package/dist/session/session.js +162 -162
- package/dist/session/shell.js +130 -130
- package/dist/session/skill.js +105 -105
- package/dist/session/sql.js +5 -5
- package/dist/session/stats.js +75 -75
- package/dist/session/store.js +87 -87
- package/dist/session/subagent-completion.js +1 -1
- package/dist/session/subagent-job.js +206 -206
- package/dist/session/system-prompt.js +5 -5
- package/dist/session/title.js +159 -159
- package/dist/session/to-session-error.js +113 -113
- package/dist/session/transfer.js +211 -211
- package/dist/session/usage.js +1 -1
- package/dist/session.js +210 -210
- package/dist/shell/parse.js +8 -8
- 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 +130 -130
- package/dist/skill/discovery.js +6 -6
- package/dist/skill/instructions.js +107 -107
- package/dist/skill.js +116 -116
- package/dist/snapshot.js +95 -95
- 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 +130 -130
- package/dist/tool/plugin/edit.js +120 -120
- package/dist/tool/plugin/file-diff.js +1 -1
- package/dist/tool/plugin/glob.js +126 -126
- package/dist/tool/plugin/grep.js +126 -126
- package/dist/tool/plugin/mcp-resource.js +119 -119
- package/dist/tool/plugin/opencode.js +111 -111
- package/dist/tool/plugin/patch.js +124 -124
- package/dist/tool/plugin/question.js +105 -105
- package/dist/tool/plugin/read.js +127 -127
- package/dist/tool/plugin/shell.js +207 -207
- package/dist/tool/plugin/skill.js +113 -113
- package/dist/tool/plugin/subagent.js +211 -211
- package/dist/tool/plugin/webfetch.js +108 -108
- package/dist/tool/plugin/websearch.js +116 -116
- package/dist/tool/plugin/write.js +116 -116
- package/dist/tool/read-filesystem.js +102 -102
- package/dist/tool/runtime.js +1 -1
- package/dist/tool-output.js +7 -7
- package/dist/tool.js +16 -16
- package/dist/types/persistent-pty/binary.bun.d.ts +1 -1
- package/dist/types/persistent-pty/binary.node.d.ts +1 -1
- package/dist/types/session/instruction-state.d.ts +6 -2
- package/dist/util/error-summary.js +1 -1
- package/dist/util/error.js +1 -1
- package/dist/util/git-executable.js +2 -2
- package/dist/util/iife.js +1 -1
- package/dist/util/lazy.js +1 -1
- package/dist/util/slug.js +1 -1
- package/dist/util/token.js +1 -1
- package/dist/util/which.js +1 -1
- package/dist/util/wildcard.js +1 -1
- package/dist/v1/config/agent.js +7 -7
- package/dist/v1/config/command.js +3 -3
- package/dist/v1/config/error.js +2 -2
- package/dist/v1/config/mcp.js +4 -4
- package/dist/v1/config/migrate.js +94 -94
- package/dist/v1/config/permission.js +7 -7
- package/dist/v1/config/plugin.js +3 -3
- package/dist/v1/config/provider-options.js +1 -1
- package/dist/v1/config/provider.js +4 -4
- package/dist/variant.js +95 -95
- package/dist/vcs/patch.js +1 -1
- package/dist/vcs.js +91 -91
- package/dist/voice.js +90 -90
- package/dist/websearch.js +84 -84
- package/dist/wellknown/plugin.js +78 -78
- package/dist/wellknown.js +83 -83
- package/dist/workspace/driver.js +7 -7
- package/dist/workspace/sql.js +1 -1
- package/dist/workspace.js +84 -84
- 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 +91 -91
- package/dist/worktree.js +98 -98
- package/package.json +9 -9
- package/dist/chunks/websearch-9zdhvgqs.js +0 -18
- package/dist/chunks/websearch-a45qcd57.js +0 -26
- package/dist/chunks/websearch-rckfce9y.js +0 -257
- /package/dist/chunks/{websearch-0qkdqm5v.js → skill-0qkdqm5v.js} +0 -0
- /package/dist/chunks/{websearch-0zkw76rk.js → skill-0zkw76rk.js} +0 -0
- /package/dist/chunks/{websearch-17cy0kzp.js → skill-17cy0kzp.js} +0 -0
- /package/dist/chunks/{websearch-1cnp2v09.js → skill-1cnp2v09.js} +0 -0
- /package/dist/chunks/{websearch-1kg9ymc8.js → skill-1kg9ymc8.js} +0 -0
- /package/dist/chunks/{websearch-24dcb14g.js → skill-24dcb14g.js} +0 -0
- /package/dist/chunks/{websearch-2710q6r3.js → skill-2710q6r3.js} +0 -0
- /package/dist/chunks/{websearch-2axfhc9x.js → skill-2axfhc9x.js} +0 -0
- /package/dist/chunks/{websearch-2bv980vf.js → skill-2bv980vf.js} +0 -0
- /package/dist/chunks/{websearch-2c3vjs8z.js → skill-2c3vjs8z.js} +0 -0
- /package/dist/chunks/{websearch-359p4xyc.js → skill-359p4xyc.js} +0 -0
- /package/dist/chunks/{websearch-3asan66x.js → skill-3asan66x.js} +0 -0
- /package/dist/chunks/{websearch-3t0ybcrp.js → skill-3t0ybcrp.js} +0 -0
- /package/dist/chunks/{websearch-3v8g72cx.js → skill-3v8g72cx.js} +0 -0
- /package/dist/chunks/{websearch-3wcehsnq.js → skill-3wcehsnq.js} +0 -0
- /package/dist/chunks/{websearch-43n2bw4t.js → skill-43n2bw4t.js} +0 -0
- /package/dist/chunks/{websearch-4knz6hnm.js → skill-4knz6hnm.js} +0 -0
- /package/dist/chunks/{websearch-4vcrnpx2.js → skill-4vcrnpx2.js} +0 -0
- /package/dist/chunks/{websearch-4y7fprxs.js → skill-4y7fprxs.js} +0 -0
- /package/dist/chunks/{websearch-53557ph1.js → skill-53557ph1.js} +0 -0
- /package/dist/chunks/{websearch-550bvhaj.js → skill-550bvhaj.js} +0 -0
- /package/dist/chunks/{websearch-6prwharc.js → skill-6prwharc.js} +0 -0
- /package/dist/chunks/{websearch-6q2bdcd1.js → skill-6q2bdcd1.js} +0 -0
- /package/dist/chunks/{websearch-7akdwqpd.js → skill-7akdwqpd.js} +0 -0
- /package/dist/chunks/{websearch-7m9af43g.js → skill-7m9af43g.js} +0 -0
- /package/dist/chunks/{websearch-822emrt2.js → skill-822emrt2.js} +0 -0
- /package/dist/chunks/{websearch-84wd9syh.js → skill-84wd9syh.js} +0 -0
- /package/dist/chunks/{websearch-88xbtdfr.js → skill-88xbtdfr.js} +0 -0
- /package/dist/chunks/{websearch-8n3pysct.js → skill-8n3pysct.js} +0 -0
- /package/dist/chunks/{websearch-8wj87zfr.js → skill-8wj87zfr.js} +0 -0
- /package/dist/chunks/{websearch-9a4afbnw.js → skill-9a4afbnw.js} +0 -0
- /package/dist/chunks/{websearch-9rqn6x4v.js → skill-9rqn6x4v.js} +0 -0
- /package/dist/chunks/{websearch-a6k6eb26.js → skill-a6k6eb26.js} +0 -0
- /package/dist/chunks/{websearch-af5trqkr.js → skill-af5trqkr.js} +0 -0
- /package/dist/chunks/{websearch-afrmfg78.js → skill-afrmfg78.js} +0 -0
- /package/dist/chunks/{websearch-aqzs7mqg.js → skill-aqzs7mqg.js} +0 -0
- /package/dist/chunks/{websearch-atq7p7m5.js → skill-atq7p7m5.js} +0 -0
- /package/dist/chunks/{websearch-bkyjaxrp.js → skill-bkyjaxrp.js} +0 -0
- /package/dist/chunks/{websearch-bmr6ed5q.js → skill-bmr6ed5q.js} +0 -0
- /package/dist/chunks/{websearch-cf4snx6d.js → skill-cf4snx6d.js} +0 -0
- /package/dist/chunks/{websearch-cvy3z8tj.js → skill-cvy3z8tj.js} +0 -0
- /package/dist/chunks/{websearch-d9fn303g.js → skill-d9fn303g.js} +0 -0
- /package/dist/chunks/{websearch-d9jj8t3e.js → skill-d9jj8t3e.js} +0 -0
- /package/dist/chunks/{websearch-dajrwvna.js → skill-dajrwvna.js} +0 -0
- /package/dist/chunks/{websearch-dap0rakb.js → skill-dap0rakb.js} +0 -0
- /package/dist/chunks/{websearch-df08tz66.js → skill-df08tz66.js} +0 -0
- /package/dist/chunks/{websearch-dy18nga0.js → skill-dy18nga0.js} +0 -0
- /package/dist/chunks/{websearch-e5kj55wp.js → skill-e5kj55wp.js} +0 -0
- /package/dist/chunks/{websearch-e73j6tqm.js → skill-e73j6tqm.js} +0 -0
- /package/dist/chunks/{websearch-ec1grn59.js → skill-ec1grn59.js} +0 -0
- /package/dist/chunks/{websearch-eh3zwz77.js → skill-eh3zwz77.js} +0 -0
- /package/dist/chunks/{websearch-emrn6kk6.js → skill-emrn6kk6.js} +0 -0
- /package/dist/chunks/{websearch-f0mxakyp.js → skill-f0mxakyp.js} +0 -0
- /package/dist/chunks/{websearch-f6n9ztr4.js → skill-f6n9ztr4.js} +0 -0
- /package/dist/chunks/{websearch-faypxj3z.js → skill-faypxj3z.js} +0 -0
- /package/dist/chunks/{websearch-fd410y7t.js → skill-fd410y7t.js} +0 -0
- /package/dist/chunks/{websearch-g4wezp1m.js → skill-g4wezp1m.js} +0 -0
- /package/dist/chunks/{websearch-g86h250q.js → skill-g86h250q.js} +0 -0
- /package/dist/chunks/{websearch-gebd4c9n.js → skill-gebd4c9n.js} +0 -0
- /package/dist/chunks/{websearch-gftt206x.js → skill-gftt206x.js} +0 -0
- /package/dist/chunks/{websearch-hcxmzztb.js → skill-hcxmzztb.js} +0 -0
- /package/dist/chunks/{websearch-hk9envan.js → skill-hk9envan.js} +0 -0
- /package/dist/chunks/{websearch-j2ntwpah.js → skill-j2ntwpah.js} +0 -0
- /package/dist/chunks/{websearch-j5zkgpj8.js → skill-j5zkgpj8.js} +0 -0
- /package/dist/chunks/{websearch-jjkms2e6.js → skill-jjkms2e6.js} +0 -0
- /package/dist/chunks/{websearch-jr7sbwjy.js → skill-jr7sbwjy.js} +0 -0
- /package/dist/chunks/{websearch-jwfs4k6c.js → skill-jwfs4k6c.js} +0 -0
- /package/dist/chunks/{websearch-jze0r7bz.js → skill-jze0r7bz.js} +0 -0
- /package/dist/chunks/{websearch-jzg6c2d5.js → skill-jzg6c2d5.js} +0 -0
- /package/dist/chunks/{websearch-m18g726c.js → skill-m18g726c.js} +0 -0
- /package/dist/chunks/{websearch-mp448xyj.js → skill-mp448xyj.js} +0 -0
- /package/dist/chunks/{websearch-msx8hqn2.js → skill-msx8hqn2.js} +0 -0
- /package/dist/chunks/{websearch-n05xt0ee.js → skill-n05xt0ee.js} +0 -0
- /package/dist/chunks/{websearch-n3j8tn72.js → skill-n3j8tn72.js} +0 -0
- /package/dist/chunks/{websearch-njntx4h6.js → skill-njntx4h6.js} +0 -0
- /package/dist/chunks/{websearch-pkyv6v7h.js → skill-pkyv6v7h.js} +0 -0
- /package/dist/chunks/{websearch-pyv0edze.js → skill-pyv0edze.js} +0 -0
- /package/dist/chunks/{websearch-q3sfg36h.js → skill-q3sfg36h.js} +0 -0
- /package/dist/chunks/{websearch-q74kybfr.js → skill-q74kybfr.js} +0 -0
- /package/dist/chunks/{websearch-qaymkmh1.js → skill-qaymkmh1.js} +0 -0
- /package/dist/chunks/{websearch-qb87gjwd.js → skill-qb87gjwd.js} +0 -0
- /package/dist/chunks/{websearch-qfa1cgps.js → skill-qfa1cgps.js} +0 -0
- /package/dist/chunks/{websearch-qg3g05ea.js → skill-qg3g05ea.js} +0 -0
- /package/dist/chunks/{websearch-qrg20bc0.js → skill-qrg20bc0.js} +0 -0
- /package/dist/chunks/{websearch-rcb2kzg1.js → skill-rcb2kzg1.js} +0 -0
- /package/dist/chunks/{websearch-sdp7kfr6.js → skill-sdp7kfr6.js} +0 -0
- /package/dist/chunks/{websearch-ssg3fenm.js → skill-ssg3fenm.js} +0 -0
- /package/dist/chunks/{websearch-ve7vex1e.js → skill-ve7vex1e.js} +0 -0
- /package/dist/chunks/{websearch-w803qqfp.js → skill-w803qqfp.js} +0 -0
- /package/dist/chunks/{websearch-wc3fc9cn.js → skill-wc3fc9cn.js} +0 -0
- /package/dist/chunks/{websearch-wer8tq1h.js → skill-wer8tq1h.js} +0 -0
- /package/dist/chunks/{websearch-wjj7prxr.js → skill-wjj7prxr.js} +0 -0
- /package/dist/chunks/{websearch-wtztk69x.js → skill-wtztk69x.js} +0 -0
- /package/dist/chunks/{websearch-x0ckcb58.js → skill-x0ckcb58.js} +0 -0
- /package/dist/chunks/{websearch-x61499pn.js → skill-x61499pn.js} +0 -0
- /package/dist/chunks/{websearch-y44na4kk.js → skill-y44na4kk.js} +0 -0
- /package/dist/chunks/{websearch-y8f7s663.js → skill-y8f7s663.js} +0 -0
- /package/dist/chunks/{websearch-ygaqb7jw.js → skill-ygaqb7jw.js} +0 -0
- /package/dist/chunks/{websearch-ym463w8f.js → skill-ym463w8f.js} +0 -0
- /package/dist/chunks/{websearch-z5v4ffb3.js → skill-z5v4ffb3.js} +0 -0
- /package/dist/chunks/{websearch-z9919s4g.js → skill-z9919s4g.js} +0 -0
|
@@ -1,19 +1,19 @@
|
|
|
1
1
|
import {
|
|
2
2
|
__export
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./skill-9rqn6x4v.js";
|
|
4
4
|
|
|
5
5
|
// src/plugin/mcp-codemode-defaults.ts
|
|
6
6
|
var exports_mcp_codemode_defaults = {};
|
|
7
7
|
__export(exports_mcp_codemode_defaults, {
|
|
8
8
|
McpCodeModeDefaultsPlugin: () => exports_mcp_codemode_defaults,
|
|
9
|
-
Plugin: () =>
|
|
9
|
+
Plugin: () => Plugin11
|
|
10
10
|
});
|
|
11
11
|
import { define } from "@opencode/plugin/effect/plugin";
|
|
12
12
|
import { Effect } from "effect";
|
|
13
13
|
var urls = [/^https:\/\/executor\.sh\/[^/]+\/mcp$/];
|
|
14
14
|
var posthog = /^mcp(?:-eu|\.us|\.eu)?\.posthog\.com$/;
|
|
15
15
|
var mode = "x-posthog-mcp-mode";
|
|
16
|
-
var
|
|
16
|
+
var Plugin11 = define({
|
|
17
17
|
id: "opencode.mcp.codemode.defaults",
|
|
18
18
|
effect: Effect.fn(function* (ctx) {
|
|
19
19
|
yield* ctx.mcp.transform((editor) => {
|
|
@@ -38,4 +38,4 @@ var Plugin34 = define({
|
|
|
38
38
|
})
|
|
39
39
|
});
|
|
40
40
|
|
|
41
|
-
export {
|
|
41
|
+
export { Plugin11, exports_mcp_codemode_defaults };
|
|
@@ -1,16 +1,16 @@
|
|
|
1
1
|
import {
|
|
2
2
|
parseOption2
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./skill-8m6m0r52.js";
|
|
4
4
|
import {
|
|
5
5
|
AbsolutePath2
|
|
6
|
-
} from "./
|
|
6
|
+
} from "./skill-z5v4ffb3.js";
|
|
7
7
|
import {
|
|
8
|
-
|
|
8
|
+
ID6,
|
|
9
9
|
Name2
|
|
10
|
-
} from "./
|
|
10
|
+
} from "./skill-sv1af74h.js";
|
|
11
11
|
import {
|
|
12
12
|
__export
|
|
13
|
-
} from "./
|
|
13
|
+
} from "./skill-9rqn6x4v.js";
|
|
14
14
|
|
|
15
15
|
// src/config/plugin/skill-file.ts
|
|
16
16
|
var exports_skill_file = {};
|
|
@@ -62,7 +62,7 @@ function parse2(directory, filepath, content) {
|
|
|
62
62
|
return {
|
|
63
63
|
_tag: "Parsed",
|
|
64
64
|
skill: {
|
|
65
|
-
id:
|
|
65
|
+
id: ID6.make(id),
|
|
66
66
|
name: Name2.make(frontmatter.name ?? id),
|
|
67
67
|
...frontmatter.description === undefined ? {} : { description: frontmatter.description },
|
|
68
68
|
...autoinvoke === undefined ? {} : { autoinvoke },
|
|
@@ -1,41 +1,41 @@
|
|
|
1
1
|
import {
|
|
2
|
-
|
|
3
|
-
} from "./
|
|
2
|
+
Service75
|
|
3
|
+
} from "./skill-ysr3h47w.js";
|
|
4
4
|
import {
|
|
5
|
-
|
|
5
|
+
ID6,
|
|
6
6
|
Name2,
|
|
7
7
|
toModelOutput3,
|
|
8
8
|
prepare3,
|
|
9
|
-
|
|
10
|
-
} from "./
|
|
9
|
+
Service55
|
|
10
|
+
} from "./skill-sv1af74h.js";
|
|
11
11
|
import {
|
|
12
12
|
__export
|
|
13
|
-
} from "./
|
|
13
|
+
} from "./skill-9rqn6x4v.js";
|
|
14
14
|
|
|
15
15
|
// src/tool/plugin/skill.ts
|
|
16
16
|
var exports_skill2 = {};
|
|
17
17
|
__export(exports_skill2, {
|
|
18
|
-
Input: () =>
|
|
19
|
-
Output: () =>
|
|
20
|
-
Plugin: () =>
|
|
18
|
+
Input: () => Input11,
|
|
19
|
+
Output: () => Output7,
|
|
20
|
+
Plugin: () => Plugin30,
|
|
21
21
|
SkillTool: () => exports_skill2,
|
|
22
|
-
description: () =>
|
|
23
|
-
name: () =>
|
|
22
|
+
description: () => description5,
|
|
23
|
+
name: () => name11,
|
|
24
24
|
toModelOutput: () => toModelOutput2
|
|
25
25
|
});
|
|
26
26
|
import { ToolFailure } from "@opencode/ai";
|
|
27
27
|
import { Effect, Schema } from "effect";
|
|
28
28
|
import { FSUtil } from "@opencode/util/fs-util";
|
|
29
|
-
var
|
|
30
|
-
var
|
|
31
|
-
id:
|
|
29
|
+
var name11 = "skill";
|
|
30
|
+
var Input11 = Schema.Struct({
|
|
31
|
+
id: ID6.annotate({ description: "The ID of an available skill or a skill explicitly referenced by the user" })
|
|
32
32
|
});
|
|
33
|
-
var
|
|
33
|
+
var Output7 = Schema.Struct({
|
|
34
34
|
name: Name2,
|
|
35
35
|
directory: Schema.String,
|
|
36
36
|
output: Schema.String
|
|
37
37
|
});
|
|
38
|
-
var
|
|
38
|
+
var description5 = [
|
|
39
39
|
"Load a specialized skill's instructions and resources into the current conversation when the task at hand matches its description.",
|
|
40
40
|
"",
|
|
41
41
|
"The skill ID must match an available skill or a skill explicitly referenced by the user."
|
|
@@ -43,25 +43,25 @@ var description3 = [
|
|
|
43
43
|
`);
|
|
44
44
|
var toModelOutput2 = toModelOutput3;
|
|
45
45
|
var unableToLoad = (name, error) => new ToolFailure({ message: `Unable to load skill ${name}`, error });
|
|
46
|
-
var
|
|
46
|
+
var Plugin30 = {
|
|
47
47
|
id: "opencode.tool.skill",
|
|
48
48
|
effect: Effect.fn("SkillTool.Plugin")(function* (ctx) {
|
|
49
49
|
const fs = yield* FSUtil.Service;
|
|
50
|
-
const skills = yield*
|
|
51
|
-
const permission = yield*
|
|
50
|
+
const skills = yield* Service55;
|
|
51
|
+
const permission = yield* Service75;
|
|
52
52
|
yield* ctx.tool.transform((editor) => editor.add({
|
|
53
|
-
name:
|
|
53
|
+
name: name11,
|
|
54
54
|
options: { codemode: false },
|
|
55
|
-
description:
|
|
56
|
-
input:
|
|
57
|
-
output:
|
|
55
|
+
description: description5,
|
|
56
|
+
input: Input11,
|
|
57
|
+
output: Output7,
|
|
58
58
|
execute: (input, context) => Effect.gen(function* () {
|
|
59
59
|
const skill = yield* skills.get(input.id);
|
|
60
60
|
if (!skill)
|
|
61
61
|
return yield* unableToLoad(input.id);
|
|
62
62
|
return yield* Effect.gen(function* () {
|
|
63
63
|
yield* permission.assert({
|
|
64
|
-
action:
|
|
64
|
+
action: name11,
|
|
65
65
|
resources: [skill.id],
|
|
66
66
|
save: [skill.id],
|
|
67
67
|
sessionID: context.sessionID,
|
|
@@ -79,4 +79,4 @@ var Plugin28 = {
|
|
|
79
79
|
})
|
|
80
80
|
};
|
|
81
81
|
|
|
82
|
-
export {
|
|
82
|
+
export { name11, Input11, Output7, description5, toModelOutput2, Plugin30, exports_skill2 };
|
|
@@ -1,11 +1,11 @@
|
|
|
1
1
|
import {
|
|
2
2
|
__export
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./skill-9rqn6x4v.js";
|
|
4
4
|
|
|
5
5
|
// src/session/provider-context.ts
|
|
6
6
|
var exports_provider_context = {};
|
|
7
7
|
__export(exports_provider_context, {
|
|
8
|
-
Info: () =>
|
|
8
|
+
Info: () => Info22,
|
|
9
9
|
SessionProviderContext: () => exports_provider_context,
|
|
10
10
|
compatible: () => compatible2,
|
|
11
11
|
decode: () => decode2,
|
|
@@ -19,7 +19,7 @@ import { SessionProviderContext } from "@opencode/schema/session-provider-contex
|
|
|
19
19
|
import { Predicate, Schema } from "effect";
|
|
20
20
|
import { isDeepStrictEqual } from "node:util";
|
|
21
21
|
import { Hash } from "@opencode/util/hash";
|
|
22
|
-
var
|
|
22
|
+
var Info22 = SessionProviderContext.Info;
|
|
23
23
|
var messages = Schema.toCodecJson(Schema.Array(Message));
|
|
24
24
|
function provenance2(resolved) {
|
|
25
25
|
const model = resolved.model;
|
|
@@ -66,4 +66,4 @@ function upgradeLegacyMedia(input) {
|
|
|
66
66
|
});
|
|
67
67
|
}
|
|
68
68
|
|
|
69
|
-
export {
|
|
69
|
+
export { Info22, provenance2, compatible2, isCheckpoint2, encode2, decode2, validate2, exports_provider_context };
|
|
@@ -1,21 +1,21 @@
|
|
|
1
1
|
import {
|
|
2
2
|
call2
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./skill-bjx1sjef.js";
|
|
4
4
|
import {
|
|
5
5
|
__export
|
|
6
|
-
} from "./
|
|
6
|
+
} from "./skill-9rqn6x4v.js";
|
|
7
7
|
|
|
8
8
|
// src/plugin/websearch/exa.ts
|
|
9
9
|
var exports_exa = {};
|
|
10
10
|
__export(exports_exa, {
|
|
11
|
-
Plugin: () =>
|
|
11
|
+
Plugin: () => Plugin3,
|
|
12
12
|
WebSearchExa: () => exports_exa,
|
|
13
|
-
endpoint: () =>
|
|
13
|
+
endpoint: () => endpoint2
|
|
14
14
|
});
|
|
15
15
|
import { define } from "@opencode/plugin/effect/plugin";
|
|
16
16
|
import { Effect, Schema } from "effect";
|
|
17
17
|
import { HttpClient } from "effect/http";
|
|
18
|
-
var
|
|
18
|
+
var endpoint2 = "https://mcp.exa.ai/mcp";
|
|
19
19
|
var McpInput = Schema.Struct({
|
|
20
20
|
query: Schema.String,
|
|
21
21
|
numResults: Schema.Number.pipe(Schema.optional)
|
|
@@ -27,7 +27,7 @@ var McpOutput = Schema.Struct({
|
|
|
27
27
|
_meta: Schema.Struct({ searchTime: Schema.Number }).pipe(Schema.optional)
|
|
28
28
|
}))
|
|
29
29
|
});
|
|
30
|
-
var
|
|
30
|
+
var Plugin3 = define({
|
|
31
31
|
id: "opencode.websearch.exa",
|
|
32
32
|
effect: Effect.fn("WebSearchExa.Plugin")(function* (ctx) {
|
|
33
33
|
const http = yield* HttpClient.HttpClient;
|
|
@@ -49,7 +49,7 @@ var Plugin42 = define({
|
|
|
49
49
|
execute: (input) => Effect.gen(function* () {
|
|
50
50
|
const connection = yield* ctx.integration.connection.active("exa");
|
|
51
51
|
const credential = connection ? yield* ctx.integration.connection.resolve(connection) : undefined;
|
|
52
|
-
const url = new URL(
|
|
52
|
+
const url = new URL(endpoint2);
|
|
53
53
|
if (credential?.type === "key")
|
|
54
54
|
url.searchParams.set("exaApiKey", credential.key);
|
|
55
55
|
const result = yield* call2(http, url.toString(), "web_search_exa", { input: McpInput, output: McpOutput }, { query: input.query, numResults: 8 });
|
|
@@ -80,4 +80,4 @@ function parseResults(text) {
|
|
|
80
80
|
});
|
|
81
81
|
}
|
|
82
82
|
|
|
83
|
-
export {
|
|
83
|
+
export { endpoint2, Plugin3, exports_exa };
|
|
@@ -1,30 +1,30 @@
|
|
|
1
1
|
import {
|
|
2
2
|
Service85,
|
|
3
3
|
node89
|
|
4
|
-
} from "./
|
|
4
|
+
} from "./skill-q6ec7ghb.js";
|
|
5
5
|
import {
|
|
6
6
|
environment2
|
|
7
|
-
} from "./
|
|
7
|
+
} from "./skill-24s8e1ye.js";
|
|
8
8
|
import {
|
|
9
9
|
makeDaemonTransport2
|
|
10
|
-
} from "./
|
|
10
|
+
} from "./skill-3t0ybcrp.js";
|
|
11
11
|
import {
|
|
12
12
|
__export
|
|
13
|
-
} from "./
|
|
13
|
+
} from "./skill-9rqn6x4v.js";
|
|
14
14
|
|
|
15
15
|
// src/persistent-pty/index.ts
|
|
16
16
|
var exports_persistent_pty = {};
|
|
17
17
|
__export(exports_persistent_pty, {
|
|
18
18
|
Handoff: () => Handoff2,
|
|
19
|
-
NotFoundError: () =>
|
|
20
|
-
Options: () =>
|
|
19
|
+
NotFoundError: () => NotFoundError3,
|
|
20
|
+
Options: () => Options4,
|
|
21
21
|
PersistentPty: () => exports_persistent_pty,
|
|
22
|
-
Service: () =>
|
|
23
|
-
UnavailableError: () =>
|
|
24
|
-
available: () =>
|
|
25
|
-
configured: () =>
|
|
26
|
-
layer: () =>
|
|
27
|
-
node: () =>
|
|
22
|
+
Service: () => Service29,
|
|
23
|
+
UnavailableError: () => UnavailableError2,
|
|
24
|
+
available: () => available2,
|
|
25
|
+
configured: () => configured5,
|
|
26
|
+
layer: () => layer16,
|
|
27
|
+
node: () => node33
|
|
28
28
|
});
|
|
29
29
|
import path from "node:path";
|
|
30
30
|
import { Context, Effect, Layer, Schema } from "effect";
|
|
@@ -35,25 +35,25 @@ import { Pty } from "@opencode/schema/pty";
|
|
|
35
35
|
import { Global } from "@opencode/util/global";
|
|
36
36
|
import { resolveBinary } from "#persistent-pty-binary";
|
|
37
37
|
import { Handoff as Handoff2 } from "@opencode/schema/persistent-pty";
|
|
38
|
-
import { available as
|
|
39
|
-
var
|
|
38
|
+
import { available as available2 } from "#persistent-pty-binary";
|
|
39
|
+
var Options4 = Schema.Struct({
|
|
40
40
|
handoff: Schema.optional(Handoff),
|
|
41
41
|
root: Schema.optional(Schema.String)
|
|
42
42
|
});
|
|
43
43
|
|
|
44
|
-
class
|
|
44
|
+
class UnavailableError2 extends Schema.TaggedError()("PersistentPty.UnavailableError", {
|
|
45
45
|
message: Schema.String
|
|
46
46
|
}) {
|
|
47
47
|
}
|
|
48
48
|
|
|
49
|
-
class
|
|
49
|
+
class NotFoundError3 extends Schema.TaggedError()("PersistentPty.NotFoundError", {
|
|
50
50
|
ptyID: Pty.ID
|
|
51
51
|
}) {
|
|
52
52
|
}
|
|
53
53
|
|
|
54
|
-
class
|
|
54
|
+
class Service29 extends Context.Service()("@opencode/PersistentPty") {
|
|
55
55
|
}
|
|
56
|
-
var makeLayer = (options = {}) => Layer.effect(
|
|
56
|
+
var makeLayer = (options = {}) => Layer.effect(Service29, Effect.gen(function* () {
|
|
57
57
|
const bus = yield* Service85;
|
|
58
58
|
const global = yield* Global.Service;
|
|
59
59
|
const context = yield* Effect.context();
|
|
@@ -76,7 +76,7 @@ var makeLayer = (options = {}) => Layer.effect(Service58, Effect.gen(function* (
|
|
|
76
76
|
const get = Effect.fn("PersistentPty.get")(function* (id) {
|
|
77
77
|
const found = (yield* list()).find((terminal) => terminal.id === id);
|
|
78
78
|
if (!found)
|
|
79
|
-
return yield* new
|
|
79
|
+
return yield* new NotFoundError3({ ptyID: id });
|
|
80
80
|
return found;
|
|
81
81
|
});
|
|
82
82
|
const create = Effect.fn("PersistentPty.create")(function* (sessionID, input) {
|
|
@@ -166,7 +166,7 @@ var makeLayer = (options = {}) => Layer.effect(Service58, Effect.gen(function* (
|
|
|
166
166
|
});
|
|
167
167
|
const read = Effect.fn("PersistentPty.read")(function* (sessionID, lines) {
|
|
168
168
|
if (lines !== undefined && !Schema.is(ReadLines)(lines))
|
|
169
|
-
return yield* new
|
|
169
|
+
return yield* new UnavailableError2({ message: "lines must be an integer between 1 and 65535" });
|
|
170
170
|
const id = current.get(sessionID);
|
|
171
171
|
if (!id)
|
|
172
172
|
return null;
|
|
@@ -243,7 +243,7 @@ var makeLayer = (options = {}) => Layer.effect(Service58, Effect.gen(function* (
|
|
|
243
243
|
detach: attachment.detach
|
|
244
244
|
};
|
|
245
245
|
});
|
|
246
|
-
return
|
|
246
|
+
return Service29.of({
|
|
247
247
|
list,
|
|
248
248
|
get,
|
|
249
249
|
create,
|
|
@@ -259,17 +259,17 @@ var makeLayer = (options = {}) => Layer.effect(Service58, Effect.gen(function* (
|
|
|
259
259
|
attach
|
|
260
260
|
});
|
|
261
261
|
}));
|
|
262
|
-
var
|
|
263
|
-
var
|
|
264
|
-
service:
|
|
265
|
-
layer: options === undefined ?
|
|
262
|
+
var layer16 = makeLayer();
|
|
263
|
+
var configured5 = (options) => makeGlobalNode({
|
|
264
|
+
service: Service29,
|
|
265
|
+
layer: options === undefined ? layer16 : makeLayer(options),
|
|
266
266
|
deps: [node89, Global.node]
|
|
267
267
|
});
|
|
268
|
-
var
|
|
268
|
+
var node33 = configured5();
|
|
269
269
|
var request = (daemon, value, start = false) => daemon.request(value, start).pipe(Effect.mapError(unavailable));
|
|
270
270
|
var optionalRequest = (daemon, value) => daemon.requestIfRunning(value).pipe(Effect.mapError(unavailable));
|
|
271
|
-
var unexpected = (response) => Effect.fail(new
|
|
272
|
-
var unavailable = (error) => new
|
|
271
|
+
var unexpected = (response) => Effect.fail(new UnavailableError2({ message: `unexpected opencode-pty response: ${response.type}` }));
|
|
272
|
+
var unavailable = (error) => new UnavailableError2({ message: error instanceof Error ? error.message : String(error) });
|
|
273
273
|
function toInfo(value) {
|
|
274
274
|
const status = value.lifecycle.status;
|
|
275
275
|
return {
|
|
@@ -301,4 +301,4 @@ function fromID(value) {
|
|
|
301
301
|
return parsed;
|
|
302
302
|
}
|
|
303
303
|
|
|
304
|
-
export {
|
|
304
|
+
export { Options4, UnavailableError2, NotFoundError3, Service29, layer16, configured5, node33, exports_persistent_pty, Handoff2, available2 };
|
|
@@ -1,26 +1,26 @@
|
|
|
1
1
|
import {
|
|
2
2
|
llmClient2
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./skill-775gj3j1.js";
|
|
4
4
|
import {
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
} from "./
|
|
5
|
+
Service63,
|
|
6
|
+
node67
|
|
7
|
+
} from "./skill-vbhp0dye.js";
|
|
8
8
|
import {
|
|
9
9
|
retry2
|
|
10
|
-
} from "./
|
|
10
|
+
} from "./skill-fcy631f0.js";
|
|
11
11
|
import {
|
|
12
12
|
__export
|
|
13
|
-
} from "./
|
|
13
|
+
} from "./skill-9rqn6x4v.js";
|
|
14
14
|
|
|
15
15
|
// src/generate.ts
|
|
16
16
|
var exports_generate2 = {};
|
|
17
17
|
__export(exports_generate2, {
|
|
18
18
|
Generate: () => exports_generate2,
|
|
19
19
|
ModelSelectionError: () => ModelSelectionError2,
|
|
20
|
-
Service: () =>
|
|
21
|
-
UnavailableError: () =>
|
|
22
|
-
layer: () =>
|
|
23
|
-
node: () =>
|
|
20
|
+
Service: () => Service54,
|
|
21
|
+
UnavailableError: () => UnavailableError4,
|
|
22
|
+
layer: () => layer23,
|
|
23
|
+
node: () => node59
|
|
24
24
|
});
|
|
25
25
|
import { LLM, LLMClient } from "@opencode/ai";
|
|
26
26
|
import { SessionID } from "@opencode/schema/session-id";
|
|
@@ -31,17 +31,17 @@ class ModelSelectionError2 extends Schema.TaggedError()("Generate.ModelSelection
|
|
|
31
31
|
}) {
|
|
32
32
|
}
|
|
33
33
|
|
|
34
|
-
class
|
|
34
|
+
class UnavailableError4 extends Schema.TaggedError()("Generate.UnavailableError", {
|
|
35
35
|
message: Schema.String,
|
|
36
36
|
service: Schema.optional(Schema.String)
|
|
37
37
|
}) {
|
|
38
38
|
}
|
|
39
39
|
|
|
40
|
-
class
|
|
40
|
+
class Service54 extends Context.Service()("@opencode/Generate") {
|
|
41
41
|
}
|
|
42
|
-
var
|
|
42
|
+
var layer23 = Layer.effect(Service54, Effect.gen(function* () {
|
|
43
43
|
const llm = yield* LLMClient.Service;
|
|
44
|
-
const resolver = yield*
|
|
44
|
+
const resolver = yield* Service63;
|
|
45
45
|
const runText = Effect.fn("Generate.text")(function* (input) {
|
|
46
46
|
const resolved = yield* resolver.resolve(input.model).pipe(Effect.catchTag([
|
|
47
47
|
"SessionRunnerModel.VariantUnavailableError",
|
|
@@ -51,7 +51,7 @@ var layer19 = Layer.effect(Service40, Effect.gen(function* () {
|
|
|
51
51
|
"SessionRunnerModel.UnresolvedProviderVariablesError",
|
|
52
52
|
"SessionRunnerModel.UnsupportedCompactionError"
|
|
53
53
|
], (error) => {
|
|
54
|
-
const mapped = input.model ? new ModelSelectionError2({ message: error.message }) : new
|
|
54
|
+
const mapped = input.model ? new ModelSelectionError2({ message: error.message }) : new UnavailableError4({ message: error.message, service: error.providerID });
|
|
55
55
|
return Effect.fail(mapped);
|
|
56
56
|
}));
|
|
57
57
|
if (!resolved)
|
|
@@ -62,21 +62,21 @@ var layer19 = Layer.effect(Service40, Effect.gen(function* () {
|
|
|
62
62
|
model: resolved.model,
|
|
63
63
|
prompt: input.prompt,
|
|
64
64
|
http: { headers: { "x-opencode-session": SessionID.create() } }
|
|
65
|
-
})).pipe(retry2, Effect.mapError((error) => new
|
|
65
|
+
})).pipe(retry2, Effect.mapError((error) => new UnavailableError4({
|
|
66
66
|
message: error.message,
|
|
67
67
|
service: resolved.ref.providerID
|
|
68
68
|
})));
|
|
69
69
|
return response.text;
|
|
70
70
|
});
|
|
71
|
-
const text = (input) => runText(input).pipe(Effect.catchTag("Integration.Authorization", () => new
|
|
71
|
+
const text = (input) => runText(input).pipe(Effect.catchTag("Integration.Authorization", () => new UnavailableError4({
|
|
72
72
|
message: "Generation credentials are unavailable"
|
|
73
73
|
})));
|
|
74
|
-
return
|
|
74
|
+
return Service54.of({ text });
|
|
75
75
|
}));
|
|
76
|
-
var
|
|
77
|
-
service:
|
|
78
|
-
layer:
|
|
79
|
-
deps: [
|
|
76
|
+
var node59 = makeLocationNode({
|
|
77
|
+
service: Service54,
|
|
78
|
+
layer: layer23,
|
|
79
|
+
deps: [node67, llmClient2]
|
|
80
80
|
});
|
|
81
81
|
|
|
82
|
-
export { ModelSelectionError2,
|
|
82
|
+
export { ModelSelectionError2, UnavailableError4, Service54, layer23, node59, exports_generate2 };
|
|
@@ -1,39 +1,39 @@
|
|
|
1
1
|
import {
|
|
2
2
|
Failed2
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./skill-hgz4x7wa.js";
|
|
4
4
|
import {
|
|
5
5
|
execDefaults2
|
|
6
|
-
} from "./
|
|
6
|
+
} from "./skill-eej6y6fw.js";
|
|
7
7
|
import {
|
|
8
8
|
Service86,
|
|
9
9
|
node90
|
|
10
|
-
} from "./
|
|
10
|
+
} from "./skill-bs5qht20.js";
|
|
11
11
|
import {
|
|
12
12
|
makeUnsafe2
|
|
13
|
-
} from "./
|
|
13
|
+
} from "./skill-y71avatq.js";
|
|
14
14
|
import {
|
|
15
15
|
Binding2,
|
|
16
16
|
RegistryService2,
|
|
17
|
-
|
|
18
|
-
} from "./
|
|
17
|
+
node52
|
|
18
|
+
} from "./skill-vbek984v.js";
|
|
19
19
|
import {
|
|
20
20
|
WorkspaceTable2
|
|
21
|
-
} from "./
|
|
21
|
+
} from "./skill-faypxj3z.js";
|
|
22
22
|
import {
|
|
23
23
|
__export
|
|
24
|
-
} from "./
|
|
24
|
+
} from "./skill-9rqn6x4v.js";
|
|
25
25
|
|
|
26
26
|
// src/workspace.ts
|
|
27
27
|
var exports_workspace = {};
|
|
28
28
|
__export(exports_workspace, {
|
|
29
29
|
CreateConflict: () => CreateConflict2,
|
|
30
|
-
ID: () =>
|
|
31
|
-
Info: () =>
|
|
30
|
+
ID: () => ID4,
|
|
31
|
+
Info: () => Info12,
|
|
32
32
|
NotFound: () => NotFound2,
|
|
33
|
-
Service: () =>
|
|
33
|
+
Service: () => Service47,
|
|
34
34
|
Workspace: () => exports_workspace,
|
|
35
|
-
configured: () =>
|
|
36
|
-
node: () =>
|
|
35
|
+
configured: () => configured9,
|
|
36
|
+
node: () => node51
|
|
37
37
|
});
|
|
38
38
|
import { Workspace } from "@opencode/schema/workspace";
|
|
39
39
|
import { makeGlobalNode } from "@opencode/util/effect/app-node";
|
|
@@ -41,10 +41,10 @@ import { eq } from "drizzle-orm";
|
|
|
41
41
|
import { Clock, Context, Deferred, Duration, Effect, Exit, FiberSet, Layer, Ref, Schedule, Schema, Scope } from "effect";
|
|
42
42
|
import { systemError } from "effect/PlatformError";
|
|
43
43
|
import { make } from "effect/process/ChildProcessSpawner";
|
|
44
|
-
var
|
|
44
|
+
var ID4 = Workspace.ID;
|
|
45
45
|
|
|
46
|
-
class
|
|
47
|
-
id:
|
|
46
|
+
class Info12 extends Schema.Class("Workspace.Info")({
|
|
47
|
+
id: ID4,
|
|
48
48
|
provider: Schema.String,
|
|
49
49
|
binding: Binding2,
|
|
50
50
|
createdAt: Schema.Number,
|
|
@@ -52,24 +52,24 @@ class Info29 extends Schema.Class("Workspace.Info")({
|
|
|
52
52
|
}) {
|
|
53
53
|
}
|
|
54
54
|
|
|
55
|
-
class NotFound2 extends Schema.TaggedError()("Workspace.NotFound", { workspaceID:
|
|
55
|
+
class NotFound2 extends Schema.TaggedError()("Workspace.NotFound", { workspaceID: ID4 }) {
|
|
56
56
|
}
|
|
57
57
|
|
|
58
58
|
class CreateConflict2 extends Schema.TaggedError()("Workspace.CreateConflict", {
|
|
59
|
-
workspaceID:
|
|
59
|
+
workspaceID: ID4,
|
|
60
60
|
provider: Schema.String,
|
|
61
61
|
existingProvider: Schema.String
|
|
62
62
|
}) {
|
|
63
63
|
}
|
|
64
64
|
|
|
65
|
-
class
|
|
65
|
+
class Service47 extends Context.Service()("@opencode/Workspace") {
|
|
66
66
|
}
|
|
67
|
-
var
|
|
68
|
-
service:
|
|
67
|
+
var configured9 = (options = {}) => makeGlobalNode({
|
|
68
|
+
service: Service47,
|
|
69
69
|
layer: layer(options),
|
|
70
|
-
deps: [node90,
|
|
70
|
+
deps: [node90, node52]
|
|
71
71
|
});
|
|
72
|
-
var layer = (options) => Layer.effect(
|
|
72
|
+
var layer = (options) => Layer.effect(Service47, Effect.gen(function* () {
|
|
73
73
|
const db = (yield* Service86).db;
|
|
74
74
|
const registry = yield* RegistryService2;
|
|
75
75
|
const lifetime = yield* Scope.Scope;
|
|
@@ -86,7 +86,7 @@ var layer = (options) => Layer.effect(Service84, Effect.gen(function* () {
|
|
|
86
86
|
return row;
|
|
87
87
|
});
|
|
88
88
|
const saveBinding = (workspaceID, binding) => db.update(WorkspaceTable2).set({ binding }).where(eq(WorkspaceTable2.id, workspaceID)).run().pipe(Effect.orDie);
|
|
89
|
-
const info = (row, binding) => new
|
|
89
|
+
const info = (row, binding) => new Info12({
|
|
90
90
|
id: row.id,
|
|
91
91
|
provider: row.provider,
|
|
92
92
|
binding,
|
|
@@ -164,9 +164,9 @@ var layer = (options) => Layer.effect(Service84, Effect.gen(function* () {
|
|
|
164
164
|
yield* Scope.close(connection.scope, Exit.void);
|
|
165
165
|
}).pipe(Effect.catchCause((cause) => Effect.logError("workspace idle suspension failed", cause)))), { concurrency: "unbounded", discard: true });
|
|
166
166
|
}).pipe(Effect.repeat(Schedule.spaced(options.pollInterval ?? Duration.minutes(1))), Effect.forkScoped);
|
|
167
|
-
return
|
|
167
|
+
return Service47.of({
|
|
168
168
|
create: Effect.fn("Workspace.create")(function* (input) {
|
|
169
|
-
const workspaceID = input.id ??
|
|
169
|
+
const workspaceID = input.id ?? ID4.create();
|
|
170
170
|
const existing = yield* db.select({ provider: WorkspaceTable2.provider }).from(WorkspaceTable2).where(eq(WorkspaceTable2.id, workspaceID)).get().pipe(Effect.orDie);
|
|
171
171
|
if (existing) {
|
|
172
172
|
if (existing.provider === input.provider)
|
|
@@ -242,6 +242,6 @@ var layer = (options) => Layer.effect(Service84, Effect.gen(function* () {
|
|
|
242
242
|
})
|
|
243
243
|
});
|
|
244
244
|
}));
|
|
245
|
-
var
|
|
245
|
+
var node51 = configured9();
|
|
246
246
|
|
|
247
|
-
export {
|
|
247
|
+
export { ID4, Info12, NotFound2, CreateConflict2, Service47, configured9, node51, exports_workspace };
|