@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,32 +1,32 @@
|
|
|
1
1
|
import {
|
|
2
2
|
RelativePath2
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./skill-z5v4ffb3.js";
|
|
4
4
|
import {
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
} from "./
|
|
5
|
+
Service82,
|
|
6
|
+
node86
|
|
7
|
+
} from "./skill-hh8xd2g7.js";
|
|
8
8
|
import {
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
} from "./
|
|
9
|
+
Service45,
|
|
10
|
+
node49
|
|
11
|
+
} from "./skill-1j2x33v7.js";
|
|
12
12
|
import {
|
|
13
13
|
isHome2,
|
|
14
|
-
|
|
15
|
-
} from "./
|
|
14
|
+
names4
|
|
15
|
+
} from "./skill-89znhe33.js";
|
|
16
16
|
import {
|
|
17
17
|
__export
|
|
18
|
-
} from "./
|
|
18
|
+
} from "./skill-9rqn6x4v.js";
|
|
19
19
|
|
|
20
20
|
// src/filesystem/search.ts
|
|
21
21
|
var exports_search = {};
|
|
22
22
|
__export(exports_search, {
|
|
23
23
|
FileSystemSearch: () => exports_search,
|
|
24
|
-
Options: () =>
|
|
25
|
-
Service: () =>
|
|
26
|
-
configured: () =>
|
|
24
|
+
Options: () => Options8,
|
|
25
|
+
Service: () => Service44,
|
|
26
|
+
configured: () => configured8,
|
|
27
27
|
fffLayer: () => fffLayer2,
|
|
28
|
-
layer: () =>
|
|
29
|
-
node: () =>
|
|
28
|
+
layer: () => layer22,
|
|
29
|
+
node: () => node48,
|
|
30
30
|
ripgrepLayer: () => ripgrepLayer2
|
|
31
31
|
});
|
|
32
32
|
import { makeLocationNode } from "@opencode/util/effect/app-node";
|
|
@@ -35,11 +35,11 @@ import { Clock, Context, Deferred, Duration, Effect, Layer, Schema, Scope } from
|
|
|
35
35
|
import { Fff } from "#fff";
|
|
36
36
|
import fuzzysort from "fuzzysort";
|
|
37
37
|
import { FileSystem } from "@opencode/schema/filesystem";
|
|
38
|
-
var
|
|
38
|
+
var Options8 = Schema.Struct({
|
|
39
39
|
fff: Schema.optional(Schema.Boolean)
|
|
40
40
|
});
|
|
41
41
|
|
|
42
|
-
class
|
|
42
|
+
class Service44 extends Context.Service()("@opencode/FileSystem/Search") {
|
|
43
43
|
}
|
|
44
44
|
var REFRESH_INTERVAL = Duration.toMillis("10 seconds");
|
|
45
45
|
function emptyIndex() {
|
|
@@ -58,9 +58,9 @@ function search(index, input) {
|
|
|
58
58
|
});
|
|
59
59
|
});
|
|
60
60
|
}
|
|
61
|
-
var ripgrepLayer2 = Layer.effect(
|
|
62
|
-
const location = yield*
|
|
63
|
-
const ripgrep = yield*
|
|
61
|
+
var ripgrepLayer2 = Layer.effect(Service44, Effect.gen(function* () {
|
|
62
|
+
const location = yield* Service82;
|
|
63
|
+
const ripgrep = yield* Service45;
|
|
64
64
|
const scope = yield* Scope.Scope;
|
|
65
65
|
const clock = yield* Clock.Clock;
|
|
66
66
|
const home = isHome2(location.directory);
|
|
@@ -77,7 +77,7 @@ var ripgrepLayer2 = Layer.effect(Service38, Effect.gen(function* () {
|
|
|
77
77
|
cwd: location.directory,
|
|
78
78
|
pattern: "*",
|
|
79
79
|
limit: location.vcs && !home ? Number.MAX_SAFE_INTEGER : 1e5,
|
|
80
|
-
exclude: home ? [...
|
|
80
|
+
exclude: home ? [...names4()].map((name) => `${name}/**`) : undefined,
|
|
81
81
|
onEntry: (entry) => Effect.sync(() => {
|
|
82
82
|
next.files.set(entry.path, previous.files.get(entry.path) ?? fuzzysort.prepare(entry.path));
|
|
83
83
|
const parts = entry.path.split("/");
|
|
@@ -105,15 +105,15 @@ var ripgrepLayer2 = Layer.effect(Service38, Effect.gen(function* () {
|
|
|
105
105
|
Deferred.doneUnsafe(attempt, exit);
|
|
106
106
|
})), Effect.forkIn(scope), Effect.flatMap(() => initialized ? Effect.void : Deferred.await(attempt)));
|
|
107
107
|
});
|
|
108
|
-
return
|
|
108
|
+
return Service44.of({
|
|
109
109
|
find: (input) => Effect.gen(function* () {
|
|
110
110
|
yield* refresh;
|
|
111
111
|
return search(index, input);
|
|
112
112
|
})
|
|
113
113
|
});
|
|
114
114
|
}));
|
|
115
|
-
var fffLayer2 = Layer.effect(
|
|
116
|
-
const location = yield*
|
|
115
|
+
var fffLayer2 = Layer.effect(Service44, Effect.gen(function* () {
|
|
116
|
+
const location = yield* Service82;
|
|
117
117
|
const result = yield* Effect.try({
|
|
118
118
|
try: () => Fff.create({
|
|
119
119
|
basePath: location.directory,
|
|
@@ -126,12 +126,12 @@ var fffLayer2 = Layer.effect(Service38, Effect.gen(function* () {
|
|
|
126
126
|
if (!result?.ok) {
|
|
127
127
|
if (result)
|
|
128
128
|
yield* Effect.logWarning("failed to initialize fff", { error: result.error });
|
|
129
|
-
return
|
|
129
|
+
return Service44.of({
|
|
130
130
|
find: () => Effect.succeed([])
|
|
131
131
|
});
|
|
132
132
|
}
|
|
133
133
|
yield* Effect.addFinalizer(() => Effect.sync(() => result.value.destroy()));
|
|
134
|
-
return
|
|
134
|
+
return Service44.of({
|
|
135
135
|
find: (input) => Effect.sync(() => {
|
|
136
136
|
const options = { pageIndex: 0, pageSize: input.limit ?? 50 };
|
|
137
137
|
const items = (() => {
|
|
@@ -174,17 +174,17 @@ var fffLayer2 = Layer.effect(Service38, Effect.gen(function* () {
|
|
|
174
174
|
})
|
|
175
175
|
});
|
|
176
176
|
}));
|
|
177
|
-
var
|
|
178
|
-
const location = yield*
|
|
177
|
+
var layer22 = (options) => Layer.unwrap(Effect.gen(function* () {
|
|
178
|
+
const location = yield* Service82;
|
|
179
179
|
if (location.workspaceID)
|
|
180
180
|
return ripgrepLayer2;
|
|
181
181
|
if (options?.fff === false || options?.fff === undefined && process.platform === "win32" || !Fff.available())
|
|
182
182
|
return ripgrepLayer2;
|
|
183
183
|
return location.vcs && !isHome2(location.directory) ? fffLayer2 : ripgrepLayer2;
|
|
184
184
|
}));
|
|
185
|
-
function
|
|
186
|
-
return makeLocationNode({ service:
|
|
185
|
+
function configured8(options) {
|
|
186
|
+
return makeLocationNode({ service: Service44, layer: layer22(options), deps: [node86, node49] });
|
|
187
187
|
}
|
|
188
|
-
var
|
|
188
|
+
var node48 = configured8();
|
|
189
189
|
|
|
190
|
-
export {
|
|
190
|
+
export { Options8, Service44, ripgrepLayer2, fffLayer2, layer22, configured8, node48, exports_search };
|
|
@@ -1,13 +1,13 @@
|
|
|
1
1
|
import {
|
|
2
2
|
__export
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./skill-9rqn6x4v.js";
|
|
4
4
|
|
|
5
5
|
// src/session/system-prompt.ts
|
|
6
6
|
var exports_system_prompt = {};
|
|
7
7
|
__export(exports_system_prompt, {
|
|
8
8
|
SessionSystemPrompt: () => exports_system_prompt,
|
|
9
|
-
make: () =>
|
|
10
|
-
render: () =>
|
|
9
|
+
make: () => make13,
|
|
10
|
+
render: () => render2
|
|
11
11
|
});
|
|
12
12
|
|
|
13
13
|
// src/session/runner/prompt/system.txt
|
|
@@ -29,10 +29,10 @@ var system_default = `You are an AI agent running in OpenCode, a coding agent ha
|
|
|
29
29
|
`;
|
|
30
30
|
|
|
31
31
|
// src/session/system-prompt.ts
|
|
32
|
-
function
|
|
33
|
-
return
|
|
32
|
+
function make13(tools) {
|
|
33
|
+
return render2(system_default, tools);
|
|
34
34
|
}
|
|
35
|
-
function
|
|
35
|
+
function render2(prompt, tools) {
|
|
36
36
|
const instructions = [];
|
|
37
37
|
if (tools.includes("shell")) {
|
|
38
38
|
instructions.push("- Prefer dedicated tools over shell commands; fall back to the shell when a tool cannot do what you need.", "- Do not chain shell commands with separators like `echo \"====\";` or `printf '---'`; the output becomes noisy in a way that makes the user's side of the conversation worse.");
|
|
@@ -47,4 +47,4 @@ function render3(prompt, tools) {
|
|
|
47
47
|
`));
|
|
48
48
|
}
|
|
49
49
|
|
|
50
|
-
export {
|
|
50
|
+
export { make13, render2, exports_system_prompt };
|
|
@@ -1,49 +1,49 @@
|
|
|
1
1
|
import {
|
|
2
2
|
AbsolutePath2
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./skill-z5v4ffb3.js";
|
|
4
4
|
import {
|
|
5
5
|
Service86,
|
|
6
6
|
node90
|
|
7
|
-
} from "./
|
|
7
|
+
} from "./skill-bs5qht20.js";
|
|
8
8
|
import {
|
|
9
9
|
Service85,
|
|
10
10
|
node89
|
|
11
|
-
} from "./
|
|
11
|
+
} from "./skill-q6ec7ghb.js";
|
|
12
12
|
import {
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
} from "./
|
|
13
|
+
Service84,
|
|
14
|
+
node88
|
|
15
|
+
} from "./skill-j6ktnsbj.js";
|
|
16
16
|
import {
|
|
17
|
-
|
|
17
|
+
ID18,
|
|
18
18
|
Current3,
|
|
19
|
-
|
|
19
|
+
Info29,
|
|
20
20
|
UpdateInput5,
|
|
21
|
-
|
|
21
|
+
Event21,
|
|
22
22
|
Vcs3
|
|
23
|
-
} from "./
|
|
23
|
+
} from "./skill-v210v162.js";
|
|
24
24
|
import {
|
|
25
25
|
ProjectTable2,
|
|
26
26
|
upsertProject2
|
|
27
|
-
} from "./
|
|
27
|
+
} from "./skill-rj3eygr5.js";
|
|
28
28
|
import {
|
|
29
29
|
WorktreeTable2
|
|
30
|
-
} from "./
|
|
30
|
+
} from "./skill-sa8ekw3f.js";
|
|
31
31
|
import {
|
|
32
32
|
__export
|
|
33
|
-
} from "./
|
|
33
|
+
} from "./skill-9rqn6x4v.js";
|
|
34
34
|
|
|
35
35
|
// src/project.ts
|
|
36
36
|
var exports_project = {};
|
|
37
37
|
__export(exports_project, {
|
|
38
38
|
Current: () => Current2,
|
|
39
|
-
ID: () =>
|
|
40
|
-
Info: () =>
|
|
41
|
-
NotFoundError: () =>
|
|
39
|
+
ID: () => ID17,
|
|
40
|
+
Info: () => Info28,
|
|
41
|
+
NotFoundError: () => NotFoundError12,
|
|
42
42
|
Project: () => exports_project,
|
|
43
|
-
Service: () =>
|
|
43
|
+
Service: () => Service83,
|
|
44
44
|
UpdateInput: () => UpdateInput4,
|
|
45
45
|
Vcs: () => Vcs2,
|
|
46
|
-
node: () =>
|
|
46
|
+
node: () => node87,
|
|
47
47
|
root: () => root2,
|
|
48
48
|
sweepNode: () => sweepNode2
|
|
49
49
|
});
|
|
@@ -56,14 +56,14 @@ import { FSUtil } from "@opencode/util/fs-util";
|
|
|
56
56
|
import { AppProcess } from "@opencode/util/process";
|
|
57
57
|
import { makeGlobalNode } from "@opencode/util/effect/app-node";
|
|
58
58
|
import { Hash } from "@opencode/util/hash";
|
|
59
|
-
var
|
|
59
|
+
var ID17 = ID18;
|
|
60
60
|
var Vcs2 = Vcs3;
|
|
61
61
|
var Current2 = Current3;
|
|
62
|
-
var
|
|
62
|
+
var Info28 = Info29;
|
|
63
63
|
var UpdateInput4 = UpdateInput5;
|
|
64
64
|
|
|
65
|
-
class
|
|
66
|
-
projectID:
|
|
65
|
+
class NotFoundError12 extends Schema.TaggedError()("Project.NotFoundError", {
|
|
66
|
+
projectID: ID17
|
|
67
67
|
}) {
|
|
68
68
|
}
|
|
69
69
|
var root2 = Effect.fn("Project.root")(function* (fs, input, markers = [".git", ".hg"]) {
|
|
@@ -74,7 +74,7 @@ var root2 = Effect.fn("Project.root")(function* (fs, input, markers = [".git", "
|
|
|
74
74
|
var ACTIVATE_INTERVAL = 60000;
|
|
75
75
|
var SWEEP_INTERVAL = Duration.hours(1);
|
|
76
76
|
|
|
77
|
-
class
|
|
77
|
+
class Service83 extends Context.Service()("@opencode/Project") {
|
|
78
78
|
}
|
|
79
79
|
function fromRow(row) {
|
|
80
80
|
const icon = row.icon_url || row.icon_url_override || row.icon_color ? {
|
|
@@ -98,9 +98,9 @@ function fromRow(row) {
|
|
|
98
98
|
sandboxes: row.sandboxes
|
|
99
99
|
};
|
|
100
100
|
}
|
|
101
|
-
var layer = Layer.effect(
|
|
101
|
+
var layer = Layer.effect(Service83, Effect.gen(function* () {
|
|
102
102
|
const fs = yield* FSUtil.Service;
|
|
103
|
-
const git = yield*
|
|
103
|
+
const git = yield* Service84;
|
|
104
104
|
const proc = yield* AppProcess.Service;
|
|
105
105
|
const bus = yield* Service85;
|
|
106
106
|
const db = (yield* Service86).db;
|
|
@@ -112,7 +112,7 @@ var layer = Layer.effect(Service77, Effect.gen(function* () {
|
|
|
112
112
|
const replaced = previous && previous.canonical !== project.canonical && !(yield* fs.exists(previous.canonical).pipe(Effect.orElseSucceed(() => true))) ? yield* db.update(ProjectTable2).set({ worktree: project.canonical }).where(eq(ProjectTable2.id, project.id)).returning().get().pipe(Effect.orDie) : undefined;
|
|
113
113
|
const changed = replaced ?? unarchived;
|
|
114
114
|
if (changed)
|
|
115
|
-
yield* bus.publish(
|
|
115
|
+
yield* bus.publish(Event21.Updated, fromRow(changed));
|
|
116
116
|
if (!project.vcs)
|
|
117
117
|
return project;
|
|
118
118
|
const directories = [
|
|
@@ -148,7 +148,7 @@ var layer = Layer.effect(Service77, Effect.gen(function* () {
|
|
|
148
148
|
yield* bus.publish(Worktree.Event.Resolved, {
|
|
149
149
|
projectID: item.projectID,
|
|
150
150
|
directory: item.directory,
|
|
151
|
-
previous: project.previous ??
|
|
151
|
+
previous: project.previous ?? ID17.global,
|
|
152
152
|
...adopted.length ? { adopted: adopted.map((candidate) => candidate.id) } : {}
|
|
153
153
|
}, {
|
|
154
154
|
commit: () => db.insert(WorktreeTable2).values({ project_id: item.projectID, directory: item.directory, strategy: item.strategy }).onConflictDoNothing().run().pipe(Effect.orDie, Effect.asVoid)
|
|
@@ -171,9 +171,9 @@ var layer = Layer.effect(Service77, Effect.gen(function* () {
|
|
|
171
171
|
time_updated: Date.now()
|
|
172
172
|
}).where(eq(ProjectTable2.id, input.projectID)).returning().get().pipe(Effect.orDie);
|
|
173
173
|
if (!row)
|
|
174
|
-
return yield* new
|
|
174
|
+
return yield* new NotFoundError12({ projectID: input.projectID });
|
|
175
175
|
const project = fromRow(row);
|
|
176
|
-
yield* bus.publish(
|
|
176
|
+
yield* bus.publish(Event21.Updated, project);
|
|
177
177
|
return project;
|
|
178
178
|
});
|
|
179
179
|
const activated = new Map;
|
|
@@ -184,10 +184,10 @@ var layer = Layer.effect(Service77, Effect.gen(function* () {
|
|
|
184
184
|
activated.set(projectID, now);
|
|
185
185
|
const row = yield* db.update(ProjectTable2).set({ time_active: now, time_updated: sql`${ProjectTable2.time_updated}` }).where(eq(ProjectTable2.id, projectID)).returning().get().pipe(Effect.orDie);
|
|
186
186
|
if (row)
|
|
187
|
-
yield* bus.publish(
|
|
187
|
+
yield* bus.publish(Event21.Updated, fromRow(row));
|
|
188
188
|
});
|
|
189
189
|
const cached = Effect.fnUntraced(function* (dir) {
|
|
190
|
-
return yield* fs.readFileString(path.join(dir, "opencode")).pipe(Effect.map((value) => value.trim()), Effect.map((value) => value ?
|
|
190
|
+
return yield* fs.readFileString(path.join(dir, "opencode")).pipe(Effect.map((value) => value.trim()), Effect.map((value) => value ? ID17.make(value) : undefined), Effect.orElseSucceed(() => {
|
|
191
191
|
return;
|
|
192
192
|
}));
|
|
193
193
|
});
|
|
@@ -198,7 +198,7 @@ var layer = Layer.effect(Service77, Effect.gen(function* () {
|
|
|
198
198
|
const normalized = url(origin);
|
|
199
199
|
if (!normalized)
|
|
200
200
|
return;
|
|
201
|
-
return
|
|
201
|
+
return ID17.make(Hash.fast(`git-remote:${normalized}`));
|
|
202
202
|
});
|
|
203
203
|
function url(input) {
|
|
204
204
|
const value = input.trim();
|
|
@@ -223,7 +223,7 @@ var layer = Layer.effect(Service77, Effect.gen(function* () {
|
|
|
223
223
|
}
|
|
224
224
|
const rootCommit = Effect.fnUntraced(function* (repo) {
|
|
225
225
|
const root = (yield* git.history.rootCommits(repo))[0];
|
|
226
|
-
return root ?
|
|
226
|
+
return root ? ID17.make(root) : undefined;
|
|
227
227
|
});
|
|
228
228
|
const hgRoot = Effect.fnUntraced(function* (worktree) {
|
|
229
229
|
const result = yield* proc.run(ChildProcess.make("hg", ["log", "-r", "roots(all())", "-T", `{node}
|
|
@@ -239,7 +239,7 @@ var layer = Layer.effect(Service77, Effect.gen(function* () {
|
|
|
239
239
|
return;
|
|
240
240
|
const node = result.stdout.toString("utf8").split(`
|
|
241
241
|
`).map((item) => item.trim()).filter(Boolean).toSorted()[0];
|
|
242
|
-
return node ?
|
|
242
|
+
return node ? ID17.make(node) : undefined;
|
|
243
243
|
});
|
|
244
244
|
const hgDiscover = Effect.fnUntraced(function* (dotHg) {
|
|
245
245
|
const worktree = AbsolutePath2.make(path.dirname(dotHg));
|
|
@@ -248,7 +248,7 @@ var layer = Layer.effect(Service77, Effect.gen(function* () {
|
|
|
248
248
|
const id = previous ?? (yield* hgRoot(worktree));
|
|
249
249
|
return {
|
|
250
250
|
previous,
|
|
251
|
-
id: id ??
|
|
251
|
+
id: id ?? ID17.global,
|
|
252
252
|
directory: worktree,
|
|
253
253
|
vcs: { type: "hg", store }
|
|
254
254
|
};
|
|
@@ -265,7 +265,7 @@ var layer = Layer.effect(Service77, Effect.gen(function* () {
|
|
|
265
265
|
const canonical = repo.gitDirectory === repo.commonDirectory ? repo.worktree : yield* git.worktree.list(repo).pipe(Effect.map((items) => items.find((item) => item.kind === "main")?.directory ?? repo.worktree), Effect.orElseSucceed(() => repo.worktree));
|
|
266
266
|
return yield* persist({
|
|
267
267
|
previous,
|
|
268
|
-
id: id ??
|
|
268
|
+
id: id ?? ID17.global,
|
|
269
269
|
directory: repo.worktree,
|
|
270
270
|
canonical,
|
|
271
271
|
vcs: { type: "git", store: repo.commonDirectory }
|
|
@@ -279,7 +279,7 @@ var layer = Layer.effect(Service77, Effect.gen(function* () {
|
|
|
279
279
|
});
|
|
280
280
|
}
|
|
281
281
|
return yield* persist({
|
|
282
|
-
id:
|
|
282
|
+
id: ID17.make(Hash.fast(`directory:${directory}`)),
|
|
283
283
|
directory,
|
|
284
284
|
canonical: directory,
|
|
285
285
|
vcs: undefined
|
|
@@ -288,7 +288,7 @@ var layer = Layer.effect(Service77, Effect.gen(function* () {
|
|
|
288
288
|
const sweep = Effect.fn("Project.sweep")(function* () {
|
|
289
289
|
const cutoff = Date.now() - Duration.toMillis(SWEEP_INTERVAL);
|
|
290
290
|
const idle = and(isNull(ProjectTable2.time_archived), lt(ProjectTable2.time_updated, cutoff), lt(ProjectTable2.time_active, cutoff));
|
|
291
|
-
const projects = yield* db.select({ id: ProjectTable2.id, canonical: ProjectTable2.worktree }).from(ProjectTable2).where(and(idle, ne(ProjectTable2.id,
|
|
291
|
+
const projects = yield* db.select({ id: ProjectTable2.id, canonical: ProjectTable2.worktree }).from(ProjectTable2).where(and(idle, ne(ProjectTable2.id, ID17.global))).all().pipe(Effect.orDie);
|
|
292
292
|
const worktrees = yield* db.select().from(WorktreeTable2).all().pipe(Effect.orDie);
|
|
293
293
|
const exists = (directory) => fs.exists(directory).pipe(Effect.orElseSucceed(() => true));
|
|
294
294
|
yield* Effect.forEach(projects, Effect.fnUntraced(function* (project) {
|
|
@@ -301,23 +301,23 @@ var layer = Layer.effect(Service77, Effect.gen(function* () {
|
|
|
301
301
|
return;
|
|
302
302
|
const row = yield* db.update(ProjectTable2).set(main ? { worktree: main.directory } : { time_archived: Date.now(), time_updated: sql`${ProjectTable2.time_updated}` }).where(and(eq(ProjectTable2.id, project.id), idle)).returning().get().pipe(Effect.orDie);
|
|
303
303
|
if (row)
|
|
304
|
-
yield* bus.publish(
|
|
304
|
+
yield* bus.publish(Event21.Updated, fromRow(row));
|
|
305
305
|
}), { concurrency: 8, discard: true });
|
|
306
306
|
});
|
|
307
|
-
return
|
|
307
|
+
return Service83.of({ list, update, activate, resolve, sweep });
|
|
308
308
|
}));
|
|
309
|
-
var
|
|
310
|
-
service:
|
|
309
|
+
var node87 = makeGlobalNode({
|
|
310
|
+
service: Service83,
|
|
311
311
|
layer,
|
|
312
|
-
deps: [node89, node90, FSUtil.node,
|
|
312
|
+
deps: [node89, node90, FSUtil.node, node88, AppProcess.node]
|
|
313
313
|
});
|
|
314
314
|
var sweepNode2 = makeGlobalNode({
|
|
315
315
|
name: "project-archive-sweep",
|
|
316
316
|
layer: Layer.effectDiscard(Effect.gen(function* () {
|
|
317
|
-
const project = yield*
|
|
317
|
+
const project = yield* Service83;
|
|
318
318
|
yield* project.sweep().pipe(Effect.ignoreCause({ log: "Error", message: "Project archive sweep failed" }), Effect.repeat(Schedule.spaced(SWEEP_INTERVAL)), Effect.forkScoped);
|
|
319
319
|
})),
|
|
320
|
-
deps: [
|
|
320
|
+
deps: [node87]
|
|
321
321
|
});
|
|
322
322
|
|
|
323
|
-
export {
|
|
323
|
+
export { ID17, Vcs2, Current2, Info28, UpdateInput4, NotFoundError12, root2, Service83, node87, sweepNode2, exports_project };
|
|
@@ -1,54 +1,54 @@
|
|
|
1
1
|
import {
|
|
2
2
|
Service85,
|
|
3
3
|
node89
|
|
4
|
-
} from "./
|
|
4
|
+
} from "./skill-q6ec7ghb.js";
|
|
5
5
|
import {
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
} from "./
|
|
6
|
+
Service84,
|
|
7
|
+
node88
|
|
8
|
+
} from "./skill-j6ktnsbj.js";
|
|
9
9
|
import {
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
} from "./
|
|
10
|
+
Service82,
|
|
11
|
+
node86
|
|
12
|
+
} from "./skill-hh8xd2g7.js";
|
|
13
13
|
import {
|
|
14
14
|
awaitActivation2
|
|
15
|
-
} from "./
|
|
15
|
+
} from "./skill-vnkjks7b.js";
|
|
16
16
|
import {
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
} from "./
|
|
17
|
+
Service37,
|
|
18
|
+
node41
|
|
19
|
+
} from "./skill-dgmheq7x.js";
|
|
20
20
|
import {
|
|
21
|
-
|
|
22
|
-
} from "./
|
|
21
|
+
node18
|
|
22
|
+
} from "./skill-x4s1hxy4.js";
|
|
23
23
|
import {
|
|
24
|
-
|
|
25
|
-
|
|
26
|
-
} from "./
|
|
24
|
+
Service13,
|
|
25
|
+
node15
|
|
26
|
+
} from "./skill-ft3hqk2c.js";
|
|
27
27
|
import {
|
|
28
28
|
__export
|
|
29
|
-
} from "./
|
|
29
|
+
} from "./skill-9rqn6x4v.js";
|
|
30
30
|
|
|
31
31
|
// src/filesystem/location-watcher.ts
|
|
32
|
-
var
|
|
33
|
-
__export(
|
|
34
|
-
LocationWatcher: () =>
|
|
35
|
-
Service: () =>
|
|
36
|
-
node: () =>
|
|
32
|
+
var exports_location_watcher2 = {};
|
|
33
|
+
__export(exports_location_watcher2, {
|
|
34
|
+
LocationWatcher: () => exports_location_watcher2,
|
|
35
|
+
Service: () => Service12,
|
|
36
|
+
node: () => node14
|
|
37
37
|
});
|
|
38
38
|
import { makeLocationNode } from "@opencode/util/effect/app-node";
|
|
39
39
|
import { Cause, Context, Effect, Exit, Layer, Scope, Semaphore, Stream } from "effect";
|
|
40
40
|
import { FileSystem } from "@opencode/schema/filesystem";
|
|
41
41
|
import path from "path";
|
|
42
42
|
import { FSUtil } from "@opencode/util/fs-util";
|
|
43
|
-
class
|
|
43
|
+
class Service12 extends Context.Service()("@opencode/LocationWatcher") {
|
|
44
44
|
}
|
|
45
|
-
var layer = Layer.effect(
|
|
46
|
-
const location = yield*
|
|
47
|
-
const watcher = yield*
|
|
45
|
+
var layer = Layer.effect(Service12, Effect.gen(function* () {
|
|
46
|
+
const location = yield* Service82;
|
|
47
|
+
const watcher = yield* Service37;
|
|
48
48
|
const bus = yield* Service85;
|
|
49
49
|
const fs = yield* FSUtil.Service;
|
|
50
|
-
const git = yield*
|
|
51
|
-
const policy = yield*
|
|
50
|
+
const git = yield* Service84;
|
|
51
|
+
const policy = yield* Service13;
|
|
52
52
|
const publish = (update) => bus.publish(FileSystem.Event.Changed, {
|
|
53
53
|
file: update.path,
|
|
54
54
|
event: update.type === "create" ? "add" : update.type === "update" ? "change" : "unlink"
|
|
@@ -100,12 +100,12 @@ var layer = Layer.effect(Service2, Effect.gen(function* () {
|
|
|
100
100
|
yield* awaitActivation2;
|
|
101
101
|
yield* reconcile();
|
|
102
102
|
}).pipe(Effect.catchCauseIf((cause) => !Cause.hasInterrupts(cause), (cause) => Effect.logError("failed to start location watcher", { cause })), Effect.forkScoped({ startImmediately: true }));
|
|
103
|
-
return
|
|
103
|
+
return Service12.of({});
|
|
104
104
|
}));
|
|
105
|
-
var
|
|
106
|
-
service:
|
|
105
|
+
var node14 = makeLocationNode({
|
|
106
|
+
service: Service12,
|
|
107
107
|
layer,
|
|
108
|
-
deps: [
|
|
108
|
+
deps: [node41, FSUtil.node, node86, node88, node89, node18, node15]
|
|
109
109
|
});
|
|
110
110
|
|
|
111
|
-
export {
|
|
111
|
+
export { Service12, node14, exports_location_watcher2 };
|
|
@@ -1,18 +1,18 @@
|
|
|
1
1
|
import {
|
|
2
2
|
aisdk2
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./skill-f3rjyvb9.js";
|
|
4
4
|
import {
|
|
5
5
|
VariantID2
|
|
6
|
-
} from "./
|
|
6
|
+
} from "./skill-dbwk15v0.js";
|
|
7
7
|
import {
|
|
8
8
|
__export
|
|
9
|
-
} from "./
|
|
9
|
+
} from "./skill-9rqn6x4v.js";
|
|
10
10
|
|
|
11
11
|
// src/variant.ts
|
|
12
12
|
var exports_variant = {};
|
|
13
13
|
__export(exports_variant, {
|
|
14
14
|
Variant: () => exports_variant,
|
|
15
|
-
resolve: () =>
|
|
15
|
+
resolve: () => resolve2,
|
|
16
16
|
supports: () => supports2
|
|
17
17
|
});
|
|
18
18
|
function supports2(reasoning) {
|
|
@@ -24,7 +24,7 @@ function supports2(reasoning) {
|
|
|
24
24
|
...reasoning.budget ? [{ type: "budget_tokens", ...reasoning.budget }] : []
|
|
25
25
|
];
|
|
26
26
|
}
|
|
27
|
-
function
|
|
27
|
+
function resolve2(model, supports = [{ type: "effort" }]) {
|
|
28
28
|
const protocol = model.package === undefined ? undefined : PROTOCOLS[model.package];
|
|
29
29
|
if (!protocol)
|
|
30
30
|
return [];
|
|
@@ -584,4 +584,4 @@ var PROTOCOLS = {
|
|
|
584
584
|
[aisdk2("gitlab-ai-provider")]: gitlab
|
|
585
585
|
};
|
|
586
586
|
|
|
587
|
-
export { supports2,
|
|
587
|
+
export { supports2, resolve2, exports_variant };
|
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
import {
|
|
2
2
|
Timestamps2
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./skill-qfa1cgps.js";
|
|
4
4
|
import {
|
|
5
5
|
ProjectTable2
|
|
6
|
-
} from "./
|
|
6
|
+
} from "./skill-rj3eygr5.js";
|
|
7
7
|
|
|
8
8
|
// src/permission/sql.ts
|
|
9
9
|
import { sqliteTable, text, uniqueIndex } from "drizzle-orm/sqlite-core";
|
|
@@ -1,15 +1,15 @@
|
|
|
1
1
|
import {
|
|
2
2
|
__export
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./skill-9rqn6x4v.js";
|
|
4
4
|
|
|
5
5
|
// src/session/run-coordinator.ts
|
|
6
6
|
var exports_run_coordinator = {};
|
|
7
7
|
__export(exports_run_coordinator, {
|
|
8
8
|
SessionRunCoordinator: () => exports_run_coordinator,
|
|
9
|
-
make: () =>
|
|
9
|
+
make: () => make19
|
|
10
10
|
});
|
|
11
11
|
import { Deferred, Effect, Fiber, FiberSet } from "effect";
|
|
12
|
-
var
|
|
12
|
+
var make19 = (options) => Effect.gen(function* () {
|
|
13
13
|
const executions = new Map;
|
|
14
14
|
const fork = yield* FiberSet.makeRuntime();
|
|
15
15
|
const loop = (key, execution, force) => Effect.suspend(() => options.drain(key, force, execution.scope)).pipe(Effect.andThen(Effect.suspend(() => {
|
|
@@ -89,4 +89,4 @@ var make17 = (options) => Effect.gen(function* () {
|
|
|
89
89
|
};
|
|
90
90
|
});
|
|
91
91
|
|
|
92
|
-
export {
|
|
92
|
+
export { make19, exports_run_coordinator };
|
|
@@ -1,10 +1,10 @@
|
|
|
1
1
|
import {
|
|
2
2
|
absoluteColumn2,
|
|
3
3
|
absoluteArrayColumn2
|
|
4
|
-
} from "./
|
|
4
|
+
} from "./skill-qnc92qwc.js";
|
|
5
5
|
import {
|
|
6
6
|
Timestamps2
|
|
7
|
-
} from "./
|
|
7
|
+
} from "./skill-qfa1cgps.js";
|
|
8
8
|
|
|
9
9
|
// src/project/sql.ts
|
|
10
10
|
import { isNotNull, isNull, ne, or } from "drizzle-orm";
|