@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,51 +1,51 @@
|
|
|
1
1
|
import {
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
} from "./
|
|
2
|
+
ID15,
|
|
3
|
+
Service79
|
|
4
|
+
} from "./skill-5n8ca005.js";
|
|
5
5
|
import {
|
|
6
6
|
Ref2,
|
|
7
|
-
|
|
8
|
-
} from "./
|
|
7
|
+
Service64
|
|
8
|
+
} from "./skill-dbwk15v0.js";
|
|
9
9
|
import {
|
|
10
10
|
latest2,
|
|
11
|
-
|
|
12
|
-
} from "./
|
|
11
|
+
Service36
|
|
12
|
+
} from "./skill-9cw92fkg.js";
|
|
13
13
|
import {
|
|
14
14
|
SessionSchema2
|
|
15
|
-
} from "./
|
|
15
|
+
} from "./skill-mtpeagzc.js";
|
|
16
16
|
import {
|
|
17
|
-
|
|
18
|
-
} from "./
|
|
17
|
+
Service62
|
|
18
|
+
} from "./skill-373db230.js";
|
|
19
19
|
import {
|
|
20
20
|
evaluate2,
|
|
21
|
-
|
|
22
|
-
} from "./
|
|
21
|
+
Service75
|
|
22
|
+
} from "./skill-ysr3h47w.js";
|
|
23
23
|
import {
|
|
24
|
-
|
|
25
|
-
} from "./
|
|
24
|
+
Service16
|
|
25
|
+
} from "./skill-00awx1tb.js";
|
|
26
26
|
import {
|
|
27
27
|
NO_TEXT2
|
|
28
|
-
} from "./
|
|
28
|
+
} from "./skill-6xb47vfp.js";
|
|
29
29
|
import {
|
|
30
|
-
|
|
31
|
-
} from "./
|
|
30
|
+
Service10
|
|
31
|
+
} from "./skill-hpwbz69d.js";
|
|
32
32
|
import {
|
|
33
33
|
__export
|
|
34
|
-
} from "./
|
|
34
|
+
} from "./skill-9rqn6x4v.js";
|
|
35
35
|
|
|
36
36
|
// src/tool/plugin/subagent.ts
|
|
37
37
|
var exports_subagent = {};
|
|
38
38
|
__export(exports_subagent, {
|
|
39
|
-
Input: () =>
|
|
40
|
-
Output: () =>
|
|
41
|
-
Plugin: () =>
|
|
39
|
+
Input: () => Input4,
|
|
40
|
+
Output: () => Output3,
|
|
41
|
+
Plugin: () => Plugin21,
|
|
42
42
|
SubagentTool: () => exports_subagent,
|
|
43
43
|
description: () => description2,
|
|
44
|
-
name: () =>
|
|
44
|
+
name: () => name4
|
|
45
45
|
});
|
|
46
46
|
import { ToolFailure } from "@opencode/ai";
|
|
47
47
|
import { Effect, Predicate, Schema } from "effect";
|
|
48
|
-
var
|
|
48
|
+
var name4 = "subagent";
|
|
49
49
|
var backgroundResult = (sessionID) => ({
|
|
50
50
|
sessionID,
|
|
51
51
|
status: "running",
|
|
@@ -56,7 +56,7 @@ var backgroundResult = (sessionID) => ({
|
|
|
56
56
|
].join(`
|
|
57
57
|
`)
|
|
58
58
|
});
|
|
59
|
-
var
|
|
59
|
+
var Input4 = Schema.Struct({
|
|
60
60
|
agent: Schema.String.annotate({
|
|
61
61
|
description: "The type of specialized agent to use for this task. If the user asks for a subagent by a name that is not one of the available subagents, they most likely mean a model: pick a suitable agent and pass the name through the model parameter instead."
|
|
62
62
|
}),
|
|
@@ -72,7 +72,7 @@ var Input6 = Schema.Struct({
|
|
|
72
72
|
description: "Run the subagent in the background and return immediately. You will be notified when it completes. DO NOT sleep, poll, or proactively check on its progress."
|
|
73
73
|
})
|
|
74
74
|
});
|
|
75
|
-
var
|
|
75
|
+
var Output3 = Schema.Struct({
|
|
76
76
|
sessionID: SessionSchema2.ID,
|
|
77
77
|
status: Schema.Literals(["completed", "running"]),
|
|
78
78
|
output: Schema.String
|
|
@@ -86,16 +86,16 @@ var description2 = [
|
|
|
86
86
|
"Use background only for independent work that can run while you continue elsewhere."
|
|
87
87
|
].join(`
|
|
88
88
|
`);
|
|
89
|
-
var
|
|
89
|
+
var Plugin21 = {
|
|
90
90
|
id: "opencode.tool.subagent",
|
|
91
91
|
effect: Effect.fn("SubagentTool.Plugin")(function* (ctx) {
|
|
92
|
-
const sessions = yield*
|
|
93
|
-
const jobs = yield*
|
|
94
|
-
const agents = yield*
|
|
95
|
-
const config = yield*
|
|
96
|
-
const permission = yield*
|
|
97
|
-
const models = yield*
|
|
98
|
-
const subagents = yield*
|
|
92
|
+
const sessions = yield* Service16;
|
|
93
|
+
const jobs = yield* Service62;
|
|
94
|
+
const agents = yield* Service79;
|
|
95
|
+
const config = yield* Service36;
|
|
96
|
+
const permission = yield* Service75;
|
|
97
|
+
const models = yield* Service64;
|
|
98
|
+
const subagents = yield* Service10;
|
|
99
99
|
const resolveModel = Effect.fn("SubagentTool.resolveModel")(function* (input) {
|
|
100
100
|
const ref = yield* Effect.try({
|
|
101
101
|
try: () => Ref2.parse(input),
|
|
@@ -115,11 +115,11 @@ var Plugin26 = {
|
|
|
115
115
|
return ref;
|
|
116
116
|
});
|
|
117
117
|
yield* ctx.tool.transform((editor) => editor.add({
|
|
118
|
-
name:
|
|
118
|
+
name: name4,
|
|
119
119
|
options: { codemode: false },
|
|
120
120
|
description: description2,
|
|
121
|
-
input:
|
|
122
|
-
output:
|
|
121
|
+
input: Input4,
|
|
122
|
+
output: Output3,
|
|
123
123
|
execute: (input, context) => Effect.gen(function* () {
|
|
124
124
|
const parent = yield* sessions.get(context.sessionID).pipe(Effect.mapError((error) => new ToolFailure({ message: `Parent session not found: ${context.sessionID}`, error })));
|
|
125
125
|
let current = parent;
|
|
@@ -139,7 +139,7 @@ var Plugin26 = {
|
|
|
139
139
|
if (agent.mode === "primary")
|
|
140
140
|
return yield* new ToolFailure({ message: `Agent ${input.agent} cannot run as a subagent` });
|
|
141
141
|
yield* permission.assert({
|
|
142
|
-
action:
|
|
142
|
+
action: name4,
|
|
143
143
|
resources: [agent.id],
|
|
144
144
|
save: [agent.id],
|
|
145
145
|
sessionID: context.sessionID,
|
|
@@ -168,7 +168,7 @@ var Plugin26 = {
|
|
|
168
168
|
const child = existing ?? (yield* sessions.create({
|
|
169
169
|
parentID: context.sessionID,
|
|
170
170
|
title: input.description,
|
|
171
|
-
agent:
|
|
171
|
+
agent: ID15.make(input.agent),
|
|
172
172
|
model
|
|
173
173
|
}).pipe(Effect.mapError((error) => new ToolFailure({ message: `Parent session not found: ${context.sessionID}`, error }))));
|
|
174
174
|
const background = input.background === true;
|
|
@@ -218,7 +218,7 @@ ${output.output}
|
|
|
218
218
|
})))
|
|
219
219
|
})).pipe(Effect.orDie);
|
|
220
220
|
yield* ctx.tool.hook("execute.before", (event) => Effect.sync(() => {
|
|
221
|
-
if (event.tool !==
|
|
221
|
+
if (event.tool !== name4 || !Predicate.isObject(event.input))
|
|
222
222
|
return;
|
|
223
223
|
if (event.input.model !== "" && event.input.sessionID !== "")
|
|
224
224
|
return;
|
|
@@ -230,13 +230,13 @@ ${output.output}
|
|
|
230
230
|
event.input = input;
|
|
231
231
|
}));
|
|
232
232
|
const hook = (event) => Effect.gen(function* () {
|
|
233
|
-
const tool = event.tools[
|
|
233
|
+
const tool = event.tools[name4];
|
|
234
234
|
if (!tool)
|
|
235
235
|
return;
|
|
236
236
|
const selected = yield* agents.resolve(event.agent);
|
|
237
237
|
if (!selected)
|
|
238
238
|
return;
|
|
239
|
-
const available = (yield* agents.list()).filter((agent) => agent.mode !== "primary" && !agent.hidden && evaluate2(
|
|
239
|
+
const available = (yield* agents.list()).filter((agent) => agent.mode !== "primary" && !agent.hidden && evaluate2(name4, agent.id, selected.permissions).effect !== "deny").toSorted((a, b) => a.id.localeCompare(b.id));
|
|
240
240
|
if (available.length === 0)
|
|
241
241
|
return;
|
|
242
242
|
tool.description = [
|
|
@@ -253,4 +253,4 @@ ${output.output}
|
|
|
253
253
|
})
|
|
254
254
|
};
|
|
255
255
|
|
|
256
|
-
export {
|
|
256
|
+
export { name4, Input4, Output3, description2, Plugin21, exports_subagent };
|
|
@@ -1,34 +1,34 @@
|
|
|
1
1
|
import {
|
|
2
2
|
useragent2
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./skill-hxbam2w6.js";
|
|
4
4
|
import {
|
|
5
5
|
Service85
|
|
6
|
-
} from "./
|
|
6
|
+
} from "./skill-q6ec7ghb.js";
|
|
7
7
|
import {
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
} from "./
|
|
8
|
+
ID10,
|
|
9
|
+
Event15,
|
|
10
|
+
Service68
|
|
11
|
+
} from "./skill-kbzdcc1z.js";
|
|
12
12
|
import {
|
|
13
13
|
key2
|
|
14
|
-
} from "./
|
|
14
|
+
} from "./skill-gqtdsdt7.js";
|
|
15
15
|
import {
|
|
16
|
-
|
|
16
|
+
ID9,
|
|
17
17
|
MethodID2
|
|
18
|
-
} from "./
|
|
18
|
+
} from "./skill-0mshdkct.js";
|
|
19
19
|
import {
|
|
20
20
|
which2
|
|
21
|
-
} from "./
|
|
21
|
+
} from "./skill-qaymkmh1.js";
|
|
22
22
|
import {
|
|
23
|
-
|
|
24
|
-
|
|
25
|
-
} from "./
|
|
23
|
+
ID8,
|
|
24
|
+
Service66
|
|
25
|
+
} from "./skill-f3rjyvb9.js";
|
|
26
26
|
import {
|
|
27
|
-
|
|
28
|
-
} from "./
|
|
27
|
+
ID7
|
|
28
|
+
} from "./skill-dbwk15v0.js";
|
|
29
29
|
import {
|
|
30
30
|
configuredSettings2
|
|
31
|
-
} from "./
|
|
31
|
+
} from "./skill-nm2sbdyw.js";
|
|
32
32
|
|
|
33
33
|
// src/plugin/provider/azure.ts
|
|
34
34
|
import { Clock, Effect, FiberHandle, Option, Schema, Semaphore, Stream } from "effect";
|
|
@@ -63,18 +63,18 @@ var decodeManagementDeployment = Schema.decodeUnknownOption(Schema.Struct({
|
|
|
63
63
|
}));
|
|
64
64
|
var ResourceQuery = Schema.Struct({ query: Schema.String });
|
|
65
65
|
var Resources = Schema.Struct({ data: Schema.Array(Schema.Struct({ id: Schema.NonEmptyString })) });
|
|
66
|
-
function
|
|
66
|
+
function make3(endpoints = {
|
|
67
67
|
resource: (name) => `https://${name}.openai.azure.com/openai`,
|
|
68
68
|
management: "https://management.azure.com"
|
|
69
69
|
}) {
|
|
70
70
|
return define({
|
|
71
71
|
id: "opencode.provider.azure",
|
|
72
72
|
effect: Effect.fn(function* (ctx) {
|
|
73
|
-
const configured = yield* configuredSettings2(
|
|
73
|
+
const configured = yield* configuredSettings2(ID8.azure);
|
|
74
74
|
const processes = yield* AppProcess.Service;
|
|
75
75
|
const bus = yield* Service85;
|
|
76
|
-
const credentials = yield*
|
|
77
|
-
const providers = yield*
|
|
76
|
+
const credentials = yield* Service68;
|
|
77
|
+
const providers = yield* Service66;
|
|
78
78
|
const http = HttpClient.filterStatusOk(yield* HttpClient.HttpClient);
|
|
79
79
|
const tokens = new Map;
|
|
80
80
|
const resourceIDs = new Map;
|
|
@@ -100,11 +100,11 @@ function make8(endpoints = {
|
|
|
100
100
|
const configuredResource = Boolean(resolveResourceName(configured) || typeof configured?.baseURL === "string");
|
|
101
101
|
yield* ctx.integration.transform((editor) => {
|
|
102
102
|
editor.method.update({
|
|
103
|
-
integrationID:
|
|
103
|
+
integrationID: ID8.azure,
|
|
104
104
|
method: { type: "env", names: ["AZURE_API_KEY", "AZURE_COGNITIVE_SERVICES_API_KEY"] }
|
|
105
105
|
});
|
|
106
106
|
editor.method.update({
|
|
107
|
-
integrationID:
|
|
107
|
+
integrationID: ID8.azure,
|
|
108
108
|
method: {
|
|
109
109
|
type: "key",
|
|
110
110
|
label: "API key",
|
|
@@ -122,7 +122,7 @@ function make8(endpoints = {
|
|
|
122
122
|
if (!available)
|
|
123
123
|
return;
|
|
124
124
|
editor.method.update({
|
|
125
|
-
integrationID:
|
|
125
|
+
integrationID: ID8.azure,
|
|
126
126
|
method: {
|
|
127
127
|
id: methodID,
|
|
128
128
|
type: "external",
|
|
@@ -142,8 +142,8 @@ function make8(endpoints = {
|
|
|
142
142
|
});
|
|
143
143
|
});
|
|
144
144
|
const load = Effect.fn("AzurePlugin.load")(function* () {
|
|
145
|
-
const connection = yield* ctx.integration.connection.active(
|
|
146
|
-
const stored = connection?.type === "credential" ? yield* credentials.get(
|
|
145
|
+
const connection = yield* ctx.integration.connection.active(ID8.azure);
|
|
146
|
+
const stored = connection?.type === "credential" ? yield* credentials.get(ID10.make(connection.id)) : undefined;
|
|
147
147
|
return { connection, resource: credentialResource(stored?.value) };
|
|
148
148
|
});
|
|
149
149
|
const findResource = Effect.fn("AzurePlugin.findResource")(function* (resource) {
|
|
@@ -182,7 +182,7 @@ function make8(endpoints = {
|
|
|
182
182
|
}));
|
|
183
183
|
const discover = Effect.fn("AzurePlugin.discover")(function* () {
|
|
184
184
|
const connection = loaded.connection;
|
|
185
|
-
const settings = (yield* providers.get(
|
|
185
|
+
const settings = (yield* providers.get(ID8.azure))?.settings;
|
|
186
186
|
const name = loaded.resource ?? resolveResourceName(settings);
|
|
187
187
|
const url = connection && name !== undefined && resourcePattern.test(name) && typeof settings?.baseURL !== "string" ? `${endpoints.resource(name)}/deployments?api-version=2022-12-01` : undefined;
|
|
188
188
|
if (loaded.connection !== connection)
|
|
@@ -204,11 +204,11 @@ function make8(endpoints = {
|
|
|
204
204
|
const found = yield* deployments(url, name, credential).pipe(Effect.map((list) => list.toSorted((a, b) => a.name.localeCompare(b.name))), Effect.catch((cause) => Effect.logWarning("failed to sync Azure deployments", { cause }).pipe(Effect.as(undefined))));
|
|
205
205
|
if (!found)
|
|
206
206
|
return;
|
|
207
|
-
if (loaded.connection !== connection || key2(connection) !== key2(yield* ctx.integration.connection.active(
|
|
207
|
+
if (loaded.connection !== connection || key2(connection) !== key2(yield* ctx.integration.connection.active(ID8.azure)))
|
|
208
208
|
return;
|
|
209
209
|
if (JSON.stringify(found) === JSON.stringify(loaded.deployments))
|
|
210
210
|
return;
|
|
211
|
-
const catalog = new Map(Array.from((yield* providers.snapshot()).records.get(
|
|
211
|
+
const catalog = new Map(Array.from((yield* providers.snapshot()).records.get(ID8.azure)?.models.keys() ?? [], (id) => [
|
|
212
212
|
id.toLowerCase(),
|
|
213
213
|
id
|
|
214
214
|
]));
|
|
@@ -221,11 +221,11 @@ function make8(endpoints = {
|
|
|
221
221
|
yield* ctx.model.reload();
|
|
222
222
|
});
|
|
223
223
|
const refresh = () => rebind().pipe(Effect.andThen(FiberHandle.run(discovery, discover())));
|
|
224
|
-
const resourceFor = (provider) => provider.id ===
|
|
224
|
+
const resourceFor = (provider) => provider.id === ID8.azure ? loaded.resource ?? resolveResourceName(provider.settings) : resolveResourceName(provider.settings, loaded.resource);
|
|
225
225
|
Object.assign(loaded, yield* load());
|
|
226
226
|
yield* ctx.provider.transform((evt) => {
|
|
227
227
|
for (const item of evt.list()) {
|
|
228
|
-
if (item.provider.id !==
|
|
228
|
+
if (item.provider.id !== ID8.azure && !item.provider.package.startsWith("@opencode/ai/providers/azure/"))
|
|
229
229
|
continue;
|
|
230
230
|
const resourceName = resourceFor(item.provider);
|
|
231
231
|
const websocket = responsesWebSocketCapable(item.provider);
|
|
@@ -240,7 +240,7 @@ function make8(endpoints = {
|
|
|
240
240
|
};
|
|
241
241
|
});
|
|
242
242
|
}
|
|
243
|
-
const item = evt.get(
|
|
243
|
+
const item = evt.get(ID8.azure);
|
|
244
244
|
if (!item)
|
|
245
245
|
return;
|
|
246
246
|
evt.add({
|
|
@@ -251,7 +251,7 @@ function make8(endpoints = {
|
|
|
251
251
|
});
|
|
252
252
|
yield* ctx.model.transform((models) => {
|
|
253
253
|
for (const item of models.provider.list()) {
|
|
254
|
-
if (item.provider.id !==
|
|
254
|
+
if (item.provider.id !== ID8.azure && !item.provider.package.startsWith("@opencode/ai/providers/azure/"))
|
|
255
255
|
continue;
|
|
256
256
|
const resourceName = resourceFor(item.provider);
|
|
257
257
|
for (const model of models.list(item.provider.id)) {
|
|
@@ -263,20 +263,20 @@ function make8(endpoints = {
|
|
|
263
263
|
}
|
|
264
264
|
if (!loaded.deployments)
|
|
265
265
|
return;
|
|
266
|
-
const catalog = models.list(
|
|
266
|
+
const catalog = models.list(ID8.azure);
|
|
267
267
|
const deployed = deployedModels(loaded.deployments, catalog);
|
|
268
268
|
for (const model of catalog) {
|
|
269
269
|
if (!deployed.has(model.id))
|
|
270
|
-
models.remove(
|
|
270
|
+
models.remove(ID8.azure, model.id);
|
|
271
271
|
}
|
|
272
272
|
for (const [id, model] of deployed) {
|
|
273
|
-
models.update(
|
|
273
|
+
models.update(ID8.azure, id, (draft) => Object.assign(draft, model));
|
|
274
274
|
}
|
|
275
275
|
});
|
|
276
|
-
yield* bus.subscribe(
|
|
276
|
+
yield* bus.subscribe(Event15.Switched).pipe(Stream.filter((event) => event.data.integrationID === ID9.make("azure")), Stream.runForEach(() => refresh()), Effect.forkScoped({ startImmediately: true }));
|
|
277
277
|
yield* refresh().pipe(Effect.forkScoped);
|
|
278
278
|
const bearer = Effect.fn("AzurePlugin.bearer")(function* (url) {
|
|
279
|
-
const connection = yield* ctx.integration.connection.active(
|
|
279
|
+
const connection = yield* ctx.integration.connection.active(ID8.azure);
|
|
280
280
|
const credential = connection ? yield* ctx.integration.connection.resolve(connection).pipe(Effect.orElseSucceed(() => {
|
|
281
281
|
return;
|
|
282
282
|
})) : undefined;
|
|
@@ -288,7 +288,7 @@ function make8(endpoints = {
|
|
|
288
288
|
return `Bearer ${current.access}`;
|
|
289
289
|
});
|
|
290
290
|
yield* ctx.session.hook("http.request", (evt) => Effect.gen(function* () {
|
|
291
|
-
if (evt.model.providerID !==
|
|
291
|
+
if (evt.model.providerID !== ID8.azure)
|
|
292
292
|
return;
|
|
293
293
|
const authorization = yield* bearer(evt.request.url);
|
|
294
294
|
if (!authorization)
|
|
@@ -297,9 +297,9 @@ function make8(endpoints = {
|
|
|
297
297
|
evt.request.headers.delete("x-api-key");
|
|
298
298
|
evt.request.headers.set("authorization", authorization);
|
|
299
299
|
evt.request.headers.set("user-agent", useragent2(ctx.app));
|
|
300
|
-
}), { providerID:
|
|
300
|
+
}), { providerID: ID8.azure });
|
|
301
301
|
yield* ctx.session.hook("experimental.ws.handshake", (evt) => Effect.gen(function* () {
|
|
302
|
-
if (evt.model.providerID !==
|
|
302
|
+
if (evt.model.providerID !== ID8.azure)
|
|
303
303
|
return;
|
|
304
304
|
const authorization = yield* bearer(evt.url);
|
|
305
305
|
if (!authorization)
|
|
@@ -308,11 +308,11 @@ function make8(endpoints = {
|
|
|
308
308
|
delete evt.headers["x-api-key"];
|
|
309
309
|
evt.headers.authorization = authorization;
|
|
310
310
|
evt.headers["user-agent"] = useragent2(ctx.app);
|
|
311
|
-
}), { providerID:
|
|
311
|
+
}), { providerID: ID8.azure });
|
|
312
312
|
})
|
|
313
313
|
});
|
|
314
314
|
}
|
|
315
|
-
var AzurePlugin2 =
|
|
315
|
+
var AzurePlugin2 = make3();
|
|
316
316
|
function resolveResourceName(settings, fallback) {
|
|
317
317
|
const configured = settings?.resourceName;
|
|
318
318
|
if (typeof configured === "string" && configured.trim() !== "")
|
|
@@ -342,11 +342,11 @@ function deployedModels(deployments, catalog) {
|
|
|
342
342
|
const model = catalogModel(models, deployment);
|
|
343
343
|
if (!model)
|
|
344
344
|
return [];
|
|
345
|
-
const id =
|
|
345
|
+
const id = ID7.make(deployment.name.toLowerCase());
|
|
346
346
|
const info = {
|
|
347
347
|
...structuredClone(model),
|
|
348
348
|
id,
|
|
349
|
-
modelID:
|
|
349
|
+
modelID: ID7.make(deployment.name),
|
|
350
350
|
name: id === model.id.toLowerCase() ? model.name : `${model.name} (${deployment.name})`
|
|
351
351
|
};
|
|
352
352
|
return [[id, info]];
|
|
@@ -368,4 +368,4 @@ function responsesWebSocketCapable(provider) {
|
|
|
368
368
|
return /^https:\/\/[^/]+\.openai\.azure\.com(?:\/|$)/i.test(settings.baseURL);
|
|
369
369
|
}
|
|
370
370
|
|
|
371
|
-
export {
|
|
371
|
+
export { make3, AzurePlugin2 };
|
|
@@ -4,7 +4,7 @@ import {
|
|
|
4
4
|
orderSelectedFields2,
|
|
5
5
|
mapUpdateSet2,
|
|
6
6
|
getTableLikeName2
|
|
7
|
-
} from "./
|
|
7
|
+
} from "./skill-emrn6kk6.js";
|
|
8
8
|
|
|
9
9
|
// src/database/drizzle/sqlite-core/effect/update.ts
|
|
10
10
|
import { applyEffectWrapper } from "drizzle-orm/effect-core/query-effect";
|
|
@@ -1,56 +1,56 @@
|
|
|
1
1
|
import {
|
|
2
2
|
Service86,
|
|
3
3
|
node90
|
|
4
|
-
} from "./
|
|
4
|
+
} from "./skill-bs5qht20.js";
|
|
5
5
|
import {
|
|
6
6
|
Service85,
|
|
7
7
|
node89
|
|
8
|
-
} from "./
|
|
8
|
+
} from "./skill-q6ec7ghb.js";
|
|
9
9
|
import {
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
} from "./
|
|
10
|
+
Service62,
|
|
11
|
+
node66
|
|
12
|
+
} from "./skill-373db230.js";
|
|
13
13
|
import {
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
} from "./
|
|
14
|
+
Service60,
|
|
15
|
+
node64
|
|
16
|
+
} from "./skill-tegs1ycp.js";
|
|
17
17
|
import {
|
|
18
18
|
SessionEvent2
|
|
19
|
-
} from "./
|
|
19
|
+
} from "./skill-ec1grn59.js";
|
|
20
20
|
import {
|
|
21
|
-
|
|
22
|
-
} from "./
|
|
21
|
+
make19
|
|
22
|
+
} from "./skill-rhraev7y.js";
|
|
23
23
|
import {
|
|
24
24
|
DrainResult2,
|
|
25
|
-
|
|
26
|
-
} from "./
|
|
25
|
+
Service58
|
|
26
|
+
} from "./skill-afdssyjb.js";
|
|
27
27
|
import {
|
|
28
|
-
|
|
29
|
-
|
|
30
|
-
} from "./
|
|
28
|
+
Service76,
|
|
29
|
+
node80
|
|
30
|
+
} from "./skill-cwjaek22.js";
|
|
31
31
|
import {
|
|
32
32
|
toSessionError2
|
|
33
|
-
} from "./
|
|
33
|
+
} from "./skill-mfgpt03n.js";
|
|
34
34
|
import {
|
|
35
35
|
nextPromotable2
|
|
36
|
-
} from "./
|
|
36
|
+
} from "./skill-c1s4czd4.js";
|
|
37
37
|
import {
|
|
38
38
|
__export
|
|
39
|
-
} from "./
|
|
39
|
+
} from "./skill-9rqn6x4v.js";
|
|
40
40
|
|
|
41
41
|
// src/session/execution.ts
|
|
42
42
|
var exports_execution = {};
|
|
43
43
|
__export(exports_execution, {
|
|
44
|
-
Service: () =>
|
|
44
|
+
Service: () => Service57,
|
|
45
45
|
SessionExecution: () => exports_execution,
|
|
46
|
-
layer: () =>
|
|
47
|
-
node: () =>
|
|
48
|
-
noopLayer: () =>
|
|
46
|
+
layer: () => layer24,
|
|
47
|
+
node: () => node62,
|
|
48
|
+
noopLayer: () => noopLayer3,
|
|
49
49
|
terminal: () => terminal2
|
|
50
50
|
});
|
|
51
51
|
import { Cause, Context, Effect, Exit, Layer } from "effect";
|
|
52
52
|
import { makeGlobalNode } from "@opencode/util/effect/app-node";
|
|
53
|
-
class
|
|
53
|
+
class Service57 extends Context.Service()("@opencode/SessionExecution") {
|
|
54
54
|
}
|
|
55
55
|
function terminal2(exit, reason) {
|
|
56
56
|
if (Exit.isSuccess(exit))
|
|
@@ -59,11 +59,11 @@ function terminal2(exit, reason) {
|
|
|
59
59
|
return { type: "interrupted", reason: reason ?? "shutdown" };
|
|
60
60
|
return { type: "failed", error: toSessionError2(Cause.squash(exit.cause)) };
|
|
61
61
|
}
|
|
62
|
-
var
|
|
63
|
-
const store = yield*
|
|
64
|
-
const instances = yield*
|
|
62
|
+
var layer24 = Layer.effect(Service57, Effect.gen(function* () {
|
|
63
|
+
const store = yield* Service76;
|
|
64
|
+
const instances = yield* Service60;
|
|
65
65
|
const bus = yield* Service85;
|
|
66
|
-
const jobs = yield*
|
|
66
|
+
const jobs = yield* Service62;
|
|
67
67
|
const db = (yield* Service86).db;
|
|
68
68
|
const reportLifecycle = (sessionID, effect) => effect.pipe(Effect.tapCause((cause) => Cause.hasInterruptsOnly(cause) ? Effect.void : Effect.logError("Failed to publish Session execution lifecycle", cause).pipe(Effect.annotateLogs({ sessionID }))), Effect.asVoid);
|
|
69
69
|
const claimOnCommit = (sessionID) => ({
|
|
@@ -76,14 +76,14 @@ var layer21 = Layer.effect(Service49, Effect.gen(function* () {
|
|
|
76
76
|
const session = yield* store.get(sessionID);
|
|
77
77
|
if (!session)
|
|
78
78
|
return yield* Effect.die(new Error(`Session not found: ${sessionID}`));
|
|
79
|
-
const result = yield*
|
|
79
|
+
const result = yield* Service58.use((runner) => runner.drain({ sessionID, force, continuation, promotable })).pipe(instances.provide(session), Effect.tapCause((cause) => Cause.hasInterruptsOnly(cause) ? Effect.void : Effect.logError("Failed to drain Session", cause).pipe(Effect.annotateLogs({ sessionID }))));
|
|
80
80
|
return yield* DrainResult2.$match(result, {
|
|
81
81
|
Complete: () => Effect.void,
|
|
82
82
|
Moved: (result) => drain(sessionID, false, result.continuation, promotable),
|
|
83
83
|
Reloaded: (result) => drain(sessionID, result.force, result.continuation, promotable)
|
|
84
84
|
});
|
|
85
85
|
});
|
|
86
|
-
const coordinator = yield*
|
|
86
|
+
const coordinator = yield* make19({
|
|
87
87
|
started: (sessionID) => reportLifecycle(sessionID, bus.publish(SessionEvent2.Execution.Started, { sessionID }, claimOnCommit(sessionID))),
|
|
88
88
|
drain: (sessionID, force, promotable) => drain(sessionID, force, undefined, promotable),
|
|
89
89
|
settled: (sessionID, exit, reason) => reportLifecycle(sessionID, Effect.gen(function* () {
|
|
@@ -104,7 +104,7 @@ var layer21 = Layer.effect(Service49, Effect.gen(function* () {
|
|
|
104
104
|
}, releaseOnCommit(sessionID));
|
|
105
105
|
}))
|
|
106
106
|
});
|
|
107
|
-
return
|
|
107
|
+
return Service57.of({
|
|
108
108
|
active: coordinator.active,
|
|
109
109
|
isActive: coordinator.isActive,
|
|
110
110
|
interrupt: (sessionID, options) => Effect.gen(function* () {
|
|
@@ -123,12 +123,12 @@ var layer21 = Layer.effect(Service49, Effect.gen(function* () {
|
|
|
123
123
|
awaitIdle: coordinator.awaitIdle
|
|
124
124
|
});
|
|
125
125
|
}));
|
|
126
|
-
var
|
|
127
|
-
service:
|
|
128
|
-
layer:
|
|
129
|
-
deps: [
|
|
126
|
+
var node62 = makeGlobalNode({
|
|
127
|
+
service: Service57,
|
|
128
|
+
layer: layer24,
|
|
129
|
+
deps: [node80, node64, node89, node90, node66]
|
|
130
130
|
});
|
|
131
|
-
var
|
|
131
|
+
var noopLayer3 = Layer.succeed(Service57, Service57.of({
|
|
132
132
|
active: Effect.succeed(new Set),
|
|
133
133
|
isActive: () => Effect.succeed(false),
|
|
134
134
|
resume: () => Effect.void,
|
|
@@ -137,4 +137,4 @@ var noopLayer2 = Layer.succeed(Service49, Service49.of({
|
|
|
137
137
|
awaitIdle: () => Effect.void
|
|
138
138
|
}));
|
|
139
139
|
|
|
140
|
-
export {
|
|
140
|
+
export { Service57, terminal2, layer24, node62, noopLayer3, exports_execution };
|