@opencode/core 0.0.0-dev-20966 → 0.0.0-dev-20967
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 +9 -9
- package/dist/bus.js +75 -75
- package/dist/chunks/{worktree-4h91jvx1.js → agent-003zf483.js} +21 -21
- package/dist/chunks/{worktree-zvt5dnpc.js → agent-06x8he3q.js} +4 -4
- package/dist/chunks/{worktree-v9erzek1.js → agent-0tx2rcqt.js} +5 -5
- package/dist/chunks/{worktree-0vbcp93d.js → agent-0vbcp93d.js} +2 -2
- package/dist/chunks/{worktree-had4kgfk.js → agent-0w62qmxp.js} +6 -6
- package/dist/chunks/{worktree-0p4seb2j.js → agent-102ecrqc.js} +16 -16
- package/dist/chunks/{worktree-yhgqt7b2.js → agent-10j0zpwz.js} +28 -28
- package/dist/chunks/{worktree-xfw881m1.js → agent-15c4ebpx.js} +13 -13
- package/dist/chunks/{worktree-tk5h2yrb.js → agent-180ns14n.js} +38 -38
- package/dist/chunks/{worktree-9wqr0z3w.js → agent-1h53t7jj.js} +4 -4
- package/dist/chunks/{worktree-wh6zw745.js → agent-1pxz8ven.js} +5 -5
- package/dist/chunks/{worktree-qcfhvs9f.js → agent-1s48y8yj.js} +41 -41
- package/dist/chunks/{worktree-f6qqz66d.js → agent-1wsef6eh.js} +18 -18
- package/dist/chunks/agent-1x11rq2a.js +18 -0
- package/dist/chunks/{worktree-mj4h5zyy.js → agent-1yrss14f.js} +9 -9
- package/dist/chunks/{worktree-rec41zv7.js → agent-1z2272r9.js} +10 -10
- package/dist/chunks/{worktree-x7eaanfs.js → agent-214q8xwt.js} +5 -5
- package/dist/chunks/{worktree-qby9dwvd.js → agent-22sd1qqc.js} +8 -8
- package/dist/chunks/{worktree-8tbg6stw.js → agent-23w5gghw.js} +18 -18
- package/dist/chunks/{worktree-wzwj114h.js → agent-2gvqmv1x.js} +34 -34
- package/dist/chunks/{worktree-2k8khapm.js → agent-2k8khapm.js} +1 -1
- package/dist/chunks/{worktree-0ns114n3.js → agent-2m5mp251.js} +9 -9
- package/dist/chunks/{worktree-q28ks4kq.js → agent-2mnwjzbq.js} +40 -40
- package/dist/chunks/{worktree-xrd6m33g.js → agent-2ppj7n2d.js} +27 -27
- package/dist/chunks/{worktree-d4he2qe1.js → agent-2sejkfem.js} +9 -9
- package/dist/chunks/{worktree-y73tf1nx.js → agent-2x91x8py.js} +21 -21
- package/dist/chunks/{worktree-zvmksf0w.js → agent-2xnadmta.js} +35 -35
- package/dist/chunks/{worktree-rzj0vt9r.js → agent-38885ps5.js} +15 -15
- package/dist/chunks/{worktree-bc8zjgdy.js → agent-3bsp9417.js} +5 -5
- package/dist/chunks/agent-3e0v5z2a.js +253 -0
- package/dist/chunks/{worktree-3fc6dm20.js → agent-3fc6dm20.js} +1 -1
- package/dist/chunks/{worktree-3hepkmqq.js → agent-3hepkmqq.js} +1 -1
- package/dist/chunks/{worktree-3hwn7j4h.js → agent-3hwn7j4h.js} +2 -2
- package/dist/chunks/{worktree-3smtnn6g.js → agent-3smtnn6g.js} +1 -1
- package/dist/chunks/{worktree-3tvqynh2.js → agent-3tvqynh2.js} +1 -1
- package/dist/chunks/{worktree-3zsf4n22.js → agent-3zsf4n22.js} +1 -1
- package/dist/chunks/{worktree-47jkzegy.js → agent-47jkzegy.js} +2 -2
- package/dist/chunks/{worktree-qsf3y1ew.js → agent-4fnxzqcp.js} +10 -10
- package/dist/chunks/{worktree-11g55wky.js → agent-4jnevpyt.js} +36 -36
- package/dist/chunks/{worktree-352md1ar.js → agent-4ts0d71h.js} +13 -13
- package/dist/chunks/{worktree-ck9w7hsc.js → agent-4vfrwfxm.js} +26 -26
- package/dist/chunks/{worktree-c1pn2cak.js → agent-4yzy4pya.js} +45 -45
- package/dist/chunks/{worktree-54ma36ye.js → agent-54ma36ye.js} +1 -1
- package/dist/chunks/{worktree-j8xvyka0.js → agent-58k5txrt.js} +8 -8
- package/dist/chunks/{worktree-hzsf6k88.js → agent-5den7fts.js} +15 -15
- package/dist/chunks/{worktree-nvpcjjwg.js → agent-5fc1p0g9.js} +17 -17
- package/dist/chunks/{worktree-5m9w47nd.js → agent-5m9w47nd.js} +1 -1
- package/dist/chunks/{worktree-23wx4d1f.js → agent-5nwmaxse.js} +3 -3
- package/dist/chunks/{worktree-m9qsaj22.js → agent-5p5k132e.js} +8 -8
- package/dist/chunks/{worktree-e3qxr5gk.js → agent-5qd3pb7m.js} +2 -2
- package/dist/chunks/{worktree-cmwkp3r5.js → agent-5yzzbxa7.js} +8 -8
- package/dist/chunks/{worktree-hzmhka1f.js → agent-6458qwm7.js} +43 -43
- package/dist/chunks/{worktree-5wbbhyy2.js → agent-68yndbk8.js} +22 -22
- package/dist/chunks/{worktree-cmchd7hs.js → agent-6dkb2293.js} +3 -3
- package/dist/chunks/{worktree-z5cvsch1.js → agent-6hmrvhhd.js} +11 -11
- package/dist/chunks/{worktree-d4qs2yq9.js → agent-6ps2rfac.js} +4 -4
- package/dist/chunks/{worktree-sq2wxdf8.js → agent-6q2cgkqa.js} +75 -75
- package/dist/chunks/{worktree-ysq9cvk3.js → agent-6w81mfcv.js} +12 -12
- package/dist/chunks/{worktree-6xb47vfp.js → agent-6xb47vfp.js} +1 -1
- package/dist/chunks/{worktree-gvrzmcf4.js → agent-7312p45z.js} +21 -21
- package/dist/chunks/{worktree-akwfsdqq.js → agent-762tx1s9.js} +19 -19
- package/dist/chunks/{worktree-775gj3j1.js → agent-775gj3j1.js} +2 -2
- package/dist/chunks/{worktree-c7m8ew2s.js → agent-796e0hcr.js} +20 -20
- package/dist/chunks/{worktree-mr8m5p48.js → agent-79rtasgx.js} +11 -11
- package/dist/chunks/{worktree-7bmhse3q.js → agent-7bmhse3q.js} +1 -1
- package/dist/chunks/{worktree-2641fc7s.js → agent-7p6vy070.js} +32 -32
- package/dist/chunks/{worktree-gr62y671.js → agent-7yns2gfh.js} +5 -5
- package/dist/chunks/{worktree-vmvc3m0d.js → agent-7zgrsrws.js} +18 -18
- package/dist/chunks/{worktree-wwj18gnb.js → agent-80nxcd2h.js} +29 -29
- package/dist/chunks/{worktree-84txncab.js → agent-84txncab.js} +1 -1
- package/dist/chunks/{worktree-xeyk6e5c.js → agent-85zx94yt.js} +16 -16
- package/dist/chunks/{worktree-4w8247ap.js → agent-8dpt1mes.js} +11 -11
- package/dist/chunks/{worktree-jdks16ag.js → agent-8j1pwav1.js} +34 -34
- package/dist/chunks/{worktree-8m6m0r52.js → agent-8m6m0r52.js} +1 -1
- package/dist/chunks/{worktree-a2g5zc1h.js → agent-8pp8jf47.js} +2 -2
- package/dist/chunks/{worktree-x3gqap9d.js → agent-8wbxkt1z.js} +4 -4
- package/dist/chunks/{worktree-wyp5t2nv.js → agent-8x632nv7.js} +4 -4
- package/dist/chunks/{worktree-0k9zmgbm.js → agent-8zsb3mb5.js} +11 -11
- package/dist/chunks/{worktree-91qna3x0.js → agent-91qna3x0.js} +3 -3
- package/dist/chunks/{worktree-m0xm5t79.js → agent-92bt4rsk.js} +5 -5
- package/dist/chunks/{worktree-zpkap1h9.js → agent-930se4a2.js} +5 -5
- package/dist/chunks/{worktree-fj9ny8gn.js → agent-98xjsagk.js} +9 -9
- package/dist/chunks/{worktree-hfhhdy4d.js → agent-99m0tgr4.js} +335 -335
- package/dist/chunks/{worktree-6mgx7xe7.js → agent-9rer32p9.js} +8 -8
- package/dist/chunks/{worktree-fv1gh5kw.js → agent-9sypp5q9.js} +5 -5
- package/dist/chunks/{worktree-14mhcz0z.js → agent-9tr386xz.js} +43 -43
- package/dist/chunks/{worktree-heq1a16y.js → agent-9xk8zs32.js} +7 -7
- package/dist/chunks/agent-a1xb6f6n.js +26 -0
- package/dist/chunks/{worktree-hsgza3cm.js → agent-a57r0kz2.js} +18 -18
- package/dist/chunks/{worktree-dvep9rg9.js → agent-a7bcxdzj.js} +9 -9
- package/dist/chunks/{worktree-0c8z4cs3.js → agent-agsg9aqy.js} +16 -16
- package/dist/chunks/{worktree-0s8710ya.js → agent-ajgp1yf6.js} +1 -1
- package/dist/chunks/{worktree-57676ctm.js → agent-ap35jyd0.js} +11 -11
- package/dist/chunks/{worktree-k8pbnrry.js → agent-b2awc4se.js} +17 -17
- package/dist/chunks/{worktree-r7x64v0s.js → agent-b2kwkbq4.js} +61 -61
- package/dist/chunks/{worktree-wecqtg5s.js → agent-b3f8fkhc.js} +5 -5
- package/dist/chunks/{worktree-2g49c99y.js → agent-b46260rf.js} +26 -26
- package/dist/chunks/{worktree-d7zx0zg5.js → agent-b95g883h.js} +8 -8
- package/dist/chunks/{worktree-x4yqgpdn.js → agent-bckd7sn2.js} +27 -27
- package/dist/chunks/{worktree-2n295dmf.js → agent-be7qvw84.js} +8 -8
- package/dist/chunks/{worktree-w8xr7nv8.js → agent-bgs9y14h.js} +5 -5
- package/dist/chunks/{worktree-j1c4j6vn.js → agent-bhdhebx5.js} +20 -20
- package/dist/chunks/{worktree-ywt8jp22.js → agent-bjx1sjef.js} +9 -9
- package/dist/chunks/{worktree-7gra0nqm.js → agent-bkb67qdq.js} +12 -12
- package/dist/chunks/{worktree-72f2khbq.js → agent-bv2h4xww.js} +11 -11
- package/dist/chunks/{worktree-rj3eygr5.js → agent-c41wscbt.js} +2 -2
- package/dist/chunks/{worktree-sa8ekw3f.js → agent-c8ax2afj.js} +2 -2
- package/dist/chunks/{worktree-0y76yggw.js → agent-d1g60r3j.js} +34 -34
- package/dist/chunks/{worktree-t1bzqew3.js → agent-d4eaz24s.js} +11 -11
- package/dist/chunks/{worktree-kada6eax.js → agent-d4fz9c6m.js} +8 -8
- package/dist/chunks/{worktree-faaxxfm8.js → agent-d4z6p2e9.js} +35 -35
- package/dist/chunks/{worktree-wxdrkwee.js → agent-d6b4z57v.js} +191 -191
- package/dist/chunks/{worktree-4bm5ja14.js → agent-d858xzj7.js} +4 -4
- package/dist/chunks/{worktree-nhe6bk5v.js → agent-dmxxwj5k.js} +7 -7
- package/dist/chunks/{worktree-y71avatq.js → agent-dpkg50ah.js} +4 -4
- package/dist/chunks/{worktree-dqxsqydv.js → agent-dqxsqydv.js} +1 -1
- package/dist/chunks/{worktree-qqeeq2t9.js → agent-drwq78ky.js} +7 -7
- package/dist/chunks/{worktree-z8ads2fd.js → agent-dx0v7867.js} +23 -23
- package/dist/chunks/{worktree-nwz3xn1w.js → agent-dz30mbn2.js} +4 -4
- package/dist/chunks/{worktree-047x8gkn.js → agent-e26ynm9z.js} +9 -9
- package/dist/chunks/{worktree-eej6y6fw.js → agent-eej6y6fw.js} +2 -2
- package/dist/chunks/{worktree-ef5x83kb.js → agent-ef5x83kb.js} +1 -1
- package/dist/chunks/{worktree-9a3zed70.js → agent-ejzsq301.js} +28 -28
- package/dist/chunks/{worktree-e6p3a57j.js → agent-en47egvd.js} +25 -25
- package/dist/chunks/{worktree-c1fqxshp.js → agent-es1vcfrp.js} +3 -3
- package/dist/chunks/{worktree-svwvq4d5.js → agent-et8f4tj8.js} +50 -50
- package/dist/chunks/{worktree-5rq05eez.js → agent-ey2qp6v7.js} +5 -5
- package/dist/chunks/{worktree-6f79fvzy.js → agent-f32g4658.js} +9 -9
- package/dist/chunks/{worktree-xmsn35g9.js → agent-fedffhe2.js} +11 -11
- package/dist/chunks/{worktree-rrnkc0yz.js → agent-fekzr37r.js} +47 -47
- package/dist/chunks/{worktree-547mgkha.js → agent-fey4ey3t.js} +22 -22
- package/dist/chunks/{worktree-8e27w5a6.js → agent-fg3zfvg2.js} +16 -16
- package/dist/chunks/{worktree-13qy106w.js → agent-fgmp5hy9.js} +10 -10
- package/dist/chunks/{worktree-9qyart7b.js → agent-fkdm2qkv.js} +11 -11
- package/dist/chunks/{worktree-1pc1gjj0.js → agent-fqp62crg.js} +13 -13
- package/dist/chunks/{worktree-r8bsfb7y.js → agent-fs1nt83f.js} +9 -9
- package/dist/chunks/{worktree-efamztt7.js → agent-ftqg6eaw.js} +13 -13
- package/dist/chunks/{worktree-2pn6kxez.js → agent-fx8q68yx.js} +16 -16
- package/dist/chunks/{worktree-7svw2p5b.js → agent-g0g0hspt.js} +26 -26
- package/dist/chunks/{worktree-1cz5vd6m.js → agent-g57505q5.js} +11 -11
- package/dist/chunks/{worktree-zpt8t96v.js → agent-gaxmf6kv.js} +33 -33
- package/dist/chunks/{worktree-pd760nvw.js → agent-gbc8mqyx.js} +6 -6
- package/dist/chunks/{worktree-f0znm7sz.js → agent-gbsmeqc4.js} +17 -17
- package/dist/chunks/{worktree-gd4qta3r.js → agent-gd4qta3r.js} +1 -1
- package/dist/chunks/{worktree-bw54z2dz.js → agent-ggd3cdse.js} +25 -25
- package/dist/chunks/{worktree-zjvj18av.js → agent-gh8hfe7d.js} +18 -18
- package/dist/chunks/{worktree-dx0ahrbs.js → agent-gn31e51v.js} +11 -11
- package/dist/chunks/{worktree-f3x7gcm5.js → agent-gyt3gf5g.js} +32 -32
- package/dist/chunks/{worktree-h6vf3j39.js → agent-h6vf3j39.js} +1 -1
- package/dist/chunks/{worktree-h7s7r6s9.js → agent-h7s7r6s9.js} +2 -2
- package/dist/chunks/{worktree-z0jrkcpk.js → agent-h9d1fc2y.js} +6 -6
- package/dist/chunks/{worktree-15xqyjtq.js → agent-hb3xq6qf.js} +12 -12
- package/dist/chunks/{worktree-w3smsxn0.js → agent-hcv80w8f.js} +11 -11
- package/dist/chunks/{worktree-hgz4x7wa.js → agent-hgz4x7wa.js} +1 -1
- package/dist/chunks/{worktree-ndq62nn0.js → agent-hjd09z3h.js} +89 -89
- package/dist/chunks/{worktree-wsss038a.js → agent-hjsbj7af.js} +13 -13
- package/dist/chunks/{worktree-ewzsx78j.js → agent-hpf5e1pv.js} +15 -15
- package/dist/chunks/{worktree-khmqacep.js → agent-hq3c8me3.js} +4 -4
- package/dist/chunks/{worktree-0b5g1ynf.js → agent-hqhp0zxs.js} +4 -4
- package/dist/chunks/{worktree-nd3zr4qw.js → agent-hwqt3mf0.js} +22 -22
- package/dist/chunks/{worktree-28b65eap.js → agent-j5s6pzyj.js} +11 -11
- package/dist/chunks/{worktree-raem8mh3.js → agent-j7tg2zvf.js} +11 -11
- package/dist/chunks/{worktree-1g706jtd.js → agent-j9ph6mae.js} +34 -34
- package/dist/chunks/{worktree-jjv1jct9.js → agent-jdvv509r.js} +4 -4
- package/dist/chunks/{worktree-c6kyp2vd.js → agent-je2tex47.js} +24 -24
- package/dist/chunks/{worktree-qjnp8kth.js → agent-je8b1457.js} +13 -13
- package/dist/chunks/{worktree-6g107h22.js → agent-jk540des.js} +2 -2
- package/dist/chunks/{worktree-9heq1gfm.js → agent-jt5tbdk1.js} +1 -1
- package/dist/chunks/{worktree-bf1tsaws.js → agent-jt820sv4.js} +14 -14
- package/dist/chunks/{worktree-tbvqj3dg.js → agent-k00hq61p.js} +4 -4
- package/dist/chunks/{worktree-jhyqneq0.js → agent-k3bqjcjm.js} +14 -14
- package/dist/chunks/{worktree-7ac80gxj.js → agent-k9vctcmz.js} +11 -11
- package/dist/chunks/{worktree-eb78yqxb.js → agent-kdm1wyhj.js} +20 -20
- package/dist/chunks/{worktree-k1n0z3hy.js → agent-kecqjjhm.js} +5 -5
- package/dist/chunks/{worktree-919ps8m3.js → agent-kshzeqx8.js} +15 -15
- package/dist/chunks/{worktree-nq09r4dh.js → agent-kx705y8y.js} +9 -9
- package/dist/chunks/{worktree-5x9t471j.js → agent-ky65x1wg.js} +33 -33
- package/dist/chunks/{worktree-e2s224y0.js → agent-m1ej6awc.js} +18 -18
- package/dist/chunks/{worktree-4a7gy6vj.js → agent-m5jcjszt.js} +3 -3
- package/dist/chunks/{worktree-gkj5fv17.js → agent-m7n954ym.js} +33 -33
- package/dist/chunks/{worktree-m9w0rfyh.js → agent-m9w0rfyh.js} +1 -1
- package/dist/chunks/{worktree-xnpybbqa.js → agent-maq6rst1.js} +28 -28
- package/dist/chunks/{worktree-maspj1v3.js → agent-maspj1v3.js} +1 -1
- package/dist/chunks/{worktree-7j49d4k9.js → agent-mmsn9nmm.js} +21 -21
- package/dist/chunks/{worktree-s4z024b2.js → agent-mqrg35xz.js} +45 -45
- package/dist/chunks/{worktree-sjbmsh99.js → agent-n0r990cb.js} +17 -17
- package/dist/chunks/{worktree-63xqm307.js → agent-n47fwd3f.js} +14 -14
- package/dist/chunks/{worktree-8dc9ddds.js → agent-n7yaz7xh.js} +15 -15
- package/dist/chunks/{worktree-yypbz2n6.js → agent-n8y364wa.js} +22 -22
- package/dist/chunks/{worktree-tp1s2539.js → agent-n98t1xmn.js} +9 -9
- package/dist/chunks/{worktree-1g6fppr6.js → agent-n9vqf08a.js} +8 -8
- package/dist/chunks/{worktree-dkhangmk.js → agent-nas6s75n.js} +28 -28
- package/dist/chunks/{worktree-vb3pk5gr.js → agent-ndzpxf5d.js} +32 -32
- package/dist/chunks/{worktree-00bpreyp.js → agent-ng3918dk.js} +8 -8
- package/dist/chunks/{worktree-q11w256c.js → agent-nqc6nt79.js} +30 -30
- package/dist/chunks/{worktree-ht3mx19x.js → agent-nrync45e.js} +22 -22
- package/dist/chunks/{worktree-k368h1bw.js → agent-p3gs223r.js} +16 -16
- package/dist/chunks/{worktree-n3g5pdec.js → agent-p5sfywmf.js} +32 -32
- package/dist/chunks/{worktree-9y8rfr9p.js → agent-p9ygtxzj.js} +28 -28
- package/dist/chunks/{worktree-36sqq72v.js → agent-pfvt33xv.js} +11 -11
- package/dist/chunks/{worktree-pjvnvgmy.js → agent-pjvnvgmy.js} +1 -1
- package/dist/chunks/{worktree-pknna89w.js → agent-pknna89w.js} +1 -1
- package/dist/chunks/{worktree-jhdf29st.js → agent-pnzf6mjf.js} +1 -1
- package/dist/chunks/{worktree-wmvxw9n2.js → agent-pv49kqqp.js} +92 -92
- package/dist/chunks/{worktree-3mpe3zgf.js → agent-pvshdx0y.js} +3 -3
- package/dist/chunks/{worktree-ba964zp9.js → agent-pvv3kt52.js} +11 -11
- package/dist/chunks/{worktree-0j77ygfz.js → agent-q0xm7vwc.js} +6 -6
- package/dist/chunks/{worktree-bpn8wa0j.js → agent-q3ysppy7.js} +26 -26
- package/dist/chunks/{worktree-713nkfes.js → agent-qbcjqvkm.js} +50 -50
- package/dist/chunks/{worktree-32npmyat.js → agent-qm6xtvat.js} +24 -24
- package/dist/chunks/{worktree-qnc92qwc.js → agent-qnc92qwc.js} +1 -1
- package/dist/chunks/{worktree-qsdy395h.js → agent-qsdy395h.js} +1 -1
- package/dist/chunks/{worktree-wgkrc4gf.js → agent-qx3j1ntd.js} +22 -22
- package/dist/chunks/{worktree-ed1g29hy.js → agent-r2z489rp.js} +3 -3
- package/dist/chunks/{worktree-nd4tfyg0.js → agent-r70na3yp.js} +9 -9
- package/dist/chunks/{worktree-s1kvmffy.js → agent-r9w3djhf.js} +9 -9
- package/dist/chunks/{worktree-rdw6cm16.js → agent-rdw6cm16.js} +1 -1
- package/dist/chunks/{worktree-7fkffz83.js → agent-rkprpv83.js} +4 -4
- package/dist/chunks/{worktree-31v8j1ma.js → agent-rshzb64a.js} +6 -6
- package/dist/chunks/{worktree-6r3dthtv.js → agent-s0xj90rb.js} +23 -23
- package/dist/chunks/{worktree-cfwkm2sy.js → agent-s1y6cy45.js} +45 -45
- package/dist/chunks/{worktree-bk4fykk5.js → agent-s7m34cvg.js} +11 -11
- package/dist/chunks/{worktree-2mmjvpe1.js → agent-s9xxcfn6.js} +18 -18
- package/dist/chunks/{worktree-phgh38vw.js → agent-sdnsagax.js} +28 -28
- package/dist/chunks/{worktree-a6avbjvq.js → agent-swhagcwe.js} +13 -13
- package/dist/chunks/{worktree-vckqakrf.js → agent-sxge8dhz.js} +24 -24
- package/dist/chunks/{worktree-1g7epwpd.js → agent-sxz6gkc3.js} +4 -4
- package/dist/chunks/{worktree-d784a9zz.js → agent-sxz7zm75.js} +32 -32
- package/dist/chunks/{worktree-vvccsdf3.js → agent-sxzvkvgj.js} +6 -6
- package/dist/chunks/{worktree-syv4x271.js → agent-syv4x271.js} +1 -1
- package/dist/chunks/{worktree-t550f9t1.js → agent-t550f9t1.js} +1 -1
- package/dist/chunks/{worktree-qrmef7q5.js → agent-t9bew3r6.js} +16 -16
- package/dist/chunks/{worktree-tazgh4e4.js → agent-tazgh4e4.js} +1 -1
- package/dist/chunks/{worktree-tcezcvh9.js → agent-tcezcvh9.js} +1 -1
- package/dist/chunks/{worktree-tdstcens.js → agent-tdstcens.js} +1 -1
- package/dist/chunks/{worktree-v0es1rhs.js → agent-tg7bkhef.js} +7 -7
- package/dist/chunks/{worktree-tthj469c.js → agent-th3ytxdg.js} +18 -18
- package/dist/chunks/{worktree-rert0e01.js → agent-tkb22qbm.js} +2 -2
- package/dist/chunks/{worktree-tm0kqsz3.js → agent-tm0kqsz3.js} +1 -1
- package/dist/chunks/{worktree-2csbwcjg.js → agent-tnc73fh6.js} +11 -11
- package/dist/chunks/{worktree-k8y2vxwm.js → agent-tv87x6sc.js} +6 -6
- package/dist/chunks/{worktree-rkg4v3e5.js → agent-txm3e8qz.js} +9 -9
- package/dist/chunks/{worktree-cnnb9061.js → agent-txnezeta.js} +20 -20
- package/dist/chunks/{worktree-tyytaxap.js → agent-tyytaxap.js} +1 -1
- package/dist/chunks/{worktree-w0tfgnf2.js → agent-v0xmac3n.js} +2 -2
- package/dist/chunks/{worktree-v7p4zvkq.js → agent-v7p4zvkq.js} +2 -2
- package/dist/chunks/{worktree-veqvce7d.js → agent-veqvce7d.js} +1 -1
- package/dist/chunks/{worktree-d9bwsjmy.js → agent-vgsgsp1h.js} +39 -39
- package/dist/chunks/{worktree-9t1h6qm2.js → agent-vjsjzb07.js} +50 -50
- package/dist/chunks/{worktree-3yes92cn.js → agent-vqpsfxv1.js} +31 -31
- package/dist/chunks/{worktree-vzs5sf6e.js → agent-vzs5sf6e.js} +1 -1
- package/dist/chunks/{worktree-w3wsvvr9.js → agent-w3wsvvr9.js} +1 -1
- package/dist/chunks/{worktree-9jyxv9wv.js → agent-w6jg7vpf.js} +5 -5
- package/dist/chunks/{worktree-hex4f5x3.js → agent-w8htg8v3.js} +17 -17
- package/dist/chunks/{worktree-wd87259q.js → agent-wd87259q.js} +1 -1
- package/dist/chunks/{worktree-1yt7rx9k.js → agent-wtmn7q1g.js} +4 -4
- package/dist/chunks/{worktree-w2fd5jxd.js → agent-wwk1k3yf.js} +3 -3
- package/dist/chunks/{worktree-vnmj6pqx.js → agent-wynzsb0k.js} +26 -26
- package/dist/chunks/{worktree-hxn427s8.js → agent-x4z7rv0g.js} +15 -15
- package/dist/chunks/{worktree-39z47dss.js → agent-x5h44zm2.js} +13 -13
- package/dist/chunks/{worktree-azwe5p1w.js → agent-x661k3y3.js} +4 -4
- package/dist/chunks/{worktree-qpzrnwb7.js → agent-x9af4wsh.js} +19 -19
- package/dist/chunks/{worktree-qk5v6yqg.js → agent-xqhm0etf.js} +13 -13
- package/dist/chunks/{worktree-p2w8rnj5.js → agent-xy5artkv.js} +49 -49
- package/dist/chunks/{worktree-3dak6s47.js → agent-xztn33cf.js} +1 -1
- package/dist/chunks/{worktree-y1fvbwt7.js → agent-y1fvbwt7.js} +1 -1
- package/dist/chunks/{worktree-fc8788t2.js → agent-ygmj74e5.js} +28 -28
- package/dist/chunks/{worktree-yp2x3t23.js → agent-yp2x3t23.js} +1 -1
- package/dist/chunks/{worktree-5dkn69vz.js → agent-yrcj3v3g.js} +4 -4
- package/dist/chunks/{worktree-273zw8zg.js → agent-yy6p74h0.js} +25 -25
- package/dist/chunks/{worktree-z0bkrqjs.js → agent-z0bkrqjs.js} +1 -1
- package/dist/chunks/{worktree-cj2pe107.js → agent-z3jjyfsa.js} +13 -13
- package/dist/chunks/{worktree-0a99m7qb.js → agent-z841tj5z.js} +14 -14
- package/dist/chunks/{worktree-v2fecqa2.js → agent-zk0pt4kf.js} +20 -20
- package/dist/chunks/{worktree-xa33bmm9.js → agent-zk163zkt.js} +9 -9
- package/dist/chunks/{worktree-zr2ceqn5.js → agent-zr2ceqn5.js} +1 -1
- package/dist/chunks/{worktree-z4tt41b4.js → agent-zvdqdbwe.js} +11 -11
- package/dist/chunks/{worktree-zxq2ej10.js → agent-zxq2ej10.js} +1 -1
- package/dist/codemode/catalog.js +1 -1
- package/dist/codemode/instructions.js +9 -9
- package/dist/codemode/tool.js +3 -3
- package/dist/codemode/web.js +1 -1
- package/dist/command.js +85 -85
- package/dist/config/discovery.js +84 -84
- package/dist/config/markdown.js +1 -1
- package/dist/config/normalize.js +101 -101
- package/dist/config/plugin/agent.js +120 -120
- package/dist/config/plugin/command.js +209 -209
- package/dist/config/plugin/compaction.js +156 -156
- package/dist/config/plugin/compatibility.js +136 -136
- package/dist/config/plugin/entry-observer.js +1 -1
- package/dist/config/plugin/formatter.js +119 -119
- package/dist/config/plugin/image.js +118 -118
- package/dist/config/plugin/instruction.js +118 -118
- package/dist/config/plugin/location-watcher.js +118 -118
- package/dist/config/plugin/mcp.js +127 -127
- package/dist/config/plugin/policy.js +119 -119
- package/dist/config/plugin/provider.js +118 -118
- package/dist/config/plugin/reference.js +120 -120
- package/dist/config/plugin/shell.js +118 -118
- package/dist/config/plugin/skill-file.js +104 -104
- package/dist/config/plugin/skill.js +139 -139
- package/dist/config/plugin/snapshot.js +118 -118
- package/dist/config/plugin/source.js +121 -121
- package/dist/config/plugin/tool-output.js +119 -119
- package/dist/config/plugin/websearch.js +117 -117
- package/dist/config/plugin/worktree.js +120 -120
- package/dist/config/variable.js +3 -3
- package/dist/config/watch.js +1 -1
- package/dist/config.js +119 -119
- package/dist/credential/sql.js +2 -2
- package/dist/credential.js +85 -85
- package/dist/database/database.js +72 -72
- package/dist/database/drizzle/effect-sqlite/driver.js +14 -14
- package/dist/database/drizzle/effect-sqlite/index.js +14 -14
- package/dist/database/drizzle/effect-sqlite/session.js +11 -11
- package/dist/database/drizzle/index.js +15 -15
- 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 +16 -16
- 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 +81 -81
- package/dist/database/v1-migration.js +1 -1
- package/dist/effect/app-node-builder.js +368 -368
- package/dist/effect/app-node-platform.js +2 -2
- package/dist/effect/keyed-mutex.js +3 -3
- 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 +97 -97
- 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 +76 -76
- 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 +220 -220
- package/dist/filesystem/protected.js +1 -1
- package/dist/filesystem/search.js +103 -103
- package/dist/filesystem/watcher-binding.js +3 -3
- package/dist/filesystem/watcher.js +11 -11
- package/dist/filesystem.js +102 -102
- package/dist/form.js +82 -82
- package/dist/formatter/builtins.js +4 -4
- package/dist/formatter.js +89 -89
- package/dist/generate.js +105 -105
- 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 +359 -359
- package/dist/instruction-discovery.js +80 -80
- package/dist/instructions/builtins.js +89 -89
- package/dist/instructions/index.js +1 -1
- package/dist/integration/connection.js +3 -3
- package/dist/integration.js +89 -89
- package/dist/job.js +80 -80
- package/dist/kv/sql.js +2 -2
- package/dist/kv.js +75 -75
- package/dist/location-activity.js +136 -136
- package/dist/location-lifecycle.js +105 -105
- package/dist/location-service-map.js +88 -88
- package/dist/location-services.js +356 -356
- package/dist/location.js +89 -89
- 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 +127 -127
- 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 +98 -98
- package/dist/model.js +102 -102
- package/dist/models-dev.js +109 -109
- package/dist/oauth/page.js +1 -1
- package/dist/permission/saved.js +80 -80
- package/dist/permission/sql.js +5 -5
- package/dist/permission.js +113 -113
- package/dist/persistent-pty/binary.bun.js +1 -1
- package/dist/persistent-pty/daemon.js +1 -1
- package/dist/persistent-pty/index.js +84 -84
- 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 +213 -213
- 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 +119 -119
- 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 +118 -118
- package/dist/plugin/provider/cerebras.js +1 -1
- package/dist/plugin/provider/chatgpt.js +118 -118
- package/dist/plugin/provider/cloudflare-ai-gateway.js +115 -115
- package/dist/plugin/provider/cloudflare-workers-ai.js +116 -116
- package/dist/plugin/provider/cohere.js +2 -2
- package/dist/plugin/provider/configured.js +114 -114
- 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 +115 -115
- package/dist/plugin/provider/kilo.js +1 -1
- package/dist/plugin/provider/llmgateway.js +80 -80
- package/dist/plugin/provider/lmstudio.js +127 -127
- package/dist/plugin/provider/local.js +124 -124
- 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 +127 -127
- package/dist/plugin/provider/openai.js +118 -118
- package/dist/plugin/provider/opencode.js +99 -99
- 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 +117 -117
- package/dist/plugin/provider/vercel.js +92 -92
- package/dist/plugin/provider/vllm.js +125 -125
- package/dist/plugin/provider/xai.js +93 -93
- package/dist/plugin/provider/zenmux.js +1 -1
- package/dist/plugin/provider.js +169 -169
- package/dist/plugin/sdk.js +78 -78
- package/dist/plugin/service.js +3 -3
- package/dist/plugin/skill.js +136 -136
- 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 +116 -116
- 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 +218 -218
- package/dist/project/schema.js +6 -6
- package/dist/project/sql.js +4 -4
- package/dist/project.js +90 -90
- package/dist/provider.js +101 -101
- package/dist/pty/protocol.js +1 -1
- package/dist/pty/ticket.js +1 -1
- package/dist/pty.js +95 -95
- package/dist/reference/instructions.js +89 -89
- package/dist/reference.js +89 -89
- 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 +137 -137
- package/dist/session/context.js +155 -155
- package/dist/session/diff.js +90 -90
- package/dist/session/environment.js +5 -5
- package/dist/session/error.js +7 -7
- package/dist/session/event.js +1 -1
- package/dist/session/execution/restart.js +219 -219
- package/dist/session/execution.js +129 -129
- package/dist/session/generate.js +156 -156
- package/dist/session/history.js +15 -15
- package/dist/session/inbox.js +90 -90
- package/dist/session/info.js +3 -3
- package/dist/session/instruction-entry.js +81 -81
- package/dist/session/instruction-state.js +8 -8
- package/dist/session/instructions.js +99 -99
- package/dist/session/message-updater.js +2 -2
- package/dist/session/message.js +1 -1
- package/dist/session/model-request.js +122 -122
- package/dist/session/model-transport.js +9 -9
- 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 +1 -1
- package/dist/session/runner/index.js +3 -3
- package/dist/session/runner/llm.js +226 -226
- 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 +4 -4
- package/dist/session/runner/step.js +127 -127
- package/dist/session/runner/to-llm-message.js +2 -2
- package/dist/session/schema.js +5 -5
- package/dist/session/session.js +164 -164
- package/dist/session/shell.js +132 -132
- package/dist/session/skill.js +105 -105
- package/dist/session/sql.js +5 -5
- package/dist/session/stats.js +77 -77
- package/dist/session/store.js +87 -87
- package/dist/session/subagent-completion.js +1 -1
- package/dist/session/subagent-job.js +207 -207
- package/dist/session/system-prompt.js +5 -5
- package/dist/session/title.js +159 -159
- package/dist/session/to-session-error.js +113 -113
- package/dist/session/transfer.js +218 -218
- package/dist/session/usage.js +1 -1
- package/dist/session.js +211 -211
- package/dist/shell/parse.js +6 -6
- package/dist/shell/result.js +1 -1
- package/dist/shell/scan.js +1 -1
- package/dist/shell/select.js +7 -7
- package/dist/shell.js +134 -134
- package/dist/skill/discovery.js +6 -6
- package/dist/skill/instructions.js +109 -109
- package/dist/skill.js +112 -112
- package/dist/snapshot.js +93 -93
- package/dist/state.js +1 -1
- package/dist/tool/html-markdown.js +1 -1
- package/dist/tool/http-body.js +1 -1
- package/dist/tool/mcp.js +126 -126
- package/dist/tool/plugin/edit.js +122 -122
- 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 +206 -206
- package/dist/tool/plugin/skill.js +115 -115
- package/dist/tool/plugin/subagent.js +214 -214
- package/dist/tool/plugin/webfetch.js +114 -114
- package/dist/tool/plugin/websearch.js +114 -114
- package/dist/tool/plugin/write.js +124 -124
- 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 +14 -14
- package/dist/util/error-summary.js +1 -1
- package/dist/util/error.js +1 -1
- package/dist/util/git-executable.js +2 -2
- package/dist/util/iife.js +1 -1
- package/dist/util/lazy.js +1 -1
- package/dist/util/slug.js +1 -1
- package/dist/util/token.js +1 -1
- package/dist/util/which.js +1 -1
- package/dist/util/wildcard.js +1 -1
- package/dist/v1/config/agent.js +7 -7
- package/dist/v1/config/command.js +3 -3
- package/dist/v1/config/error.js +4 -4
- 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 +1 -1
- package/dist/v1/config/provider-options.js +1 -1
- package/dist/v1/config/provider.js +2 -2
- package/dist/variant.js +93 -93
- package/dist/vcs/patch.js +1 -1
- package/dist/vcs.js +91 -91
- package/dist/websearch.js +86 -86
- package/dist/wellknown/plugin.js +78 -78
- package/dist/wellknown.js +79 -79
- package/dist/workspace/driver.js +5 -5
- 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 +10 -10
- package/dist/worktree/sql.js +5 -5
- package/dist/worktree/strategies.js +91 -91
- package/dist/worktree.js +98 -98
- package/package.json +8 -8
- package/dist/chunks/worktree-619r8v3y.js +0 -18
- package/dist/chunks/worktree-gga122km.js +0 -26
- package/dist/chunks/worktree-yvbfxc2q.js +0 -253
- /package/dist/chunks/{worktree-0qkdqm5v.js → agent-0qkdqm5v.js} +0 -0
- /package/dist/chunks/{worktree-0zkw76rk.js → agent-0zkw76rk.js} +0 -0
- /package/dist/chunks/{worktree-17cy0kzp.js → agent-17cy0kzp.js} +0 -0
- /package/dist/chunks/{worktree-1cnp2v09.js → agent-1cnp2v09.js} +0 -0
- /package/dist/chunks/{worktree-1kg9ymc8.js → agent-1kg9ymc8.js} +0 -0
- /package/dist/chunks/{worktree-24dcb14g.js → agent-24dcb14g.js} +0 -0
- /package/dist/chunks/{worktree-2710q6r3.js → agent-2710q6r3.js} +0 -0
- /package/dist/chunks/{worktree-2axfhc9x.js → agent-2axfhc9x.js} +0 -0
- /package/dist/chunks/{worktree-2bv980vf.js → agent-2bv980vf.js} +0 -0
- /package/dist/chunks/{worktree-2c3vjs8z.js → agent-2c3vjs8z.js} +0 -0
- /package/dist/chunks/{worktree-359p4xyc.js → agent-359p4xyc.js} +0 -0
- /package/dist/chunks/{worktree-3asan66x.js → agent-3asan66x.js} +0 -0
- /package/dist/chunks/{worktree-3t0ybcrp.js → agent-3t0ybcrp.js} +0 -0
- /package/dist/chunks/{worktree-3v8g72cx.js → agent-3v8g72cx.js} +0 -0
- /package/dist/chunks/{worktree-3wcehsnq.js → agent-3wcehsnq.js} +0 -0
- /package/dist/chunks/{worktree-43n2bw4t.js → agent-43n2bw4t.js} +0 -0
- /package/dist/chunks/{worktree-4knz6hnm.js → agent-4knz6hnm.js} +0 -0
- /package/dist/chunks/{worktree-4vcrnpx2.js → agent-4vcrnpx2.js} +0 -0
- /package/dist/chunks/{worktree-4y7fprxs.js → agent-4y7fprxs.js} +0 -0
- /package/dist/chunks/{worktree-53557ph1.js → agent-53557ph1.js} +0 -0
- /package/dist/chunks/{worktree-550bvhaj.js → agent-550bvhaj.js} +0 -0
- /package/dist/chunks/{worktree-6prwharc.js → agent-6prwharc.js} +0 -0
- /package/dist/chunks/{worktree-6q2bdcd1.js → agent-6q2bdcd1.js} +0 -0
- /package/dist/chunks/{worktree-7akdwqpd.js → agent-7akdwqpd.js} +0 -0
- /package/dist/chunks/{worktree-7m9af43g.js → agent-7m9af43g.js} +0 -0
- /package/dist/chunks/{worktree-822emrt2.js → agent-822emrt2.js} +0 -0
- /package/dist/chunks/{worktree-84wd9syh.js → agent-84wd9syh.js} +0 -0
- /package/dist/chunks/{worktree-88xbtdfr.js → agent-88xbtdfr.js} +0 -0
- /package/dist/chunks/{worktree-8n3pysct.js → agent-8n3pysct.js} +0 -0
- /package/dist/chunks/{worktree-8wj87zfr.js → agent-8wj87zfr.js} +0 -0
- /package/dist/chunks/{worktree-9a4afbnw.js → agent-9a4afbnw.js} +0 -0
- /package/dist/chunks/{worktree-9rqn6x4v.js → agent-9rqn6x4v.js} +0 -0
- /package/dist/chunks/{worktree-a6k6eb26.js → agent-a6k6eb26.js} +0 -0
- /package/dist/chunks/{worktree-af5trqkr.js → agent-af5trqkr.js} +0 -0
- /package/dist/chunks/{worktree-afrmfg78.js → agent-afrmfg78.js} +0 -0
- /package/dist/chunks/{worktree-aqzs7mqg.js → agent-aqzs7mqg.js} +0 -0
- /package/dist/chunks/{worktree-atq7p7m5.js → agent-atq7p7m5.js} +0 -0
- /package/dist/chunks/{worktree-bkyjaxrp.js → agent-bkyjaxrp.js} +0 -0
- /package/dist/chunks/{worktree-bmr6ed5q.js → agent-bmr6ed5q.js} +0 -0
- /package/dist/chunks/{worktree-cf4snx6d.js → agent-cf4snx6d.js} +0 -0
- /package/dist/chunks/{worktree-cvy3z8tj.js → agent-cvy3z8tj.js} +0 -0
- /package/dist/chunks/{worktree-d9fn303g.js → agent-d9fn303g.js} +0 -0
- /package/dist/chunks/{worktree-d9jj8t3e.js → agent-d9jj8t3e.js} +0 -0
- /package/dist/chunks/{worktree-dajrwvna.js → agent-dajrwvna.js} +0 -0
- /package/dist/chunks/{worktree-dap0rakb.js → agent-dap0rakb.js} +0 -0
- /package/dist/chunks/{worktree-df08tz66.js → agent-df08tz66.js} +0 -0
- /package/dist/chunks/{worktree-dy18nga0.js → agent-dy18nga0.js} +0 -0
- /package/dist/chunks/{worktree-e5kj55wp.js → agent-e5kj55wp.js} +0 -0
- /package/dist/chunks/{worktree-e73j6tqm.js → agent-e73j6tqm.js} +0 -0
- /package/dist/chunks/{worktree-ec1grn59.js → agent-ec1grn59.js} +0 -0
- /package/dist/chunks/{worktree-eh3zwz77.js → agent-eh3zwz77.js} +0 -0
- /package/dist/chunks/{worktree-emrn6kk6.js → agent-emrn6kk6.js} +0 -0
- /package/dist/chunks/{worktree-f0mxakyp.js → agent-f0mxakyp.js} +0 -0
- /package/dist/chunks/{worktree-f6n9ztr4.js → agent-f6n9ztr4.js} +0 -0
- /package/dist/chunks/{worktree-faypxj3z.js → agent-faypxj3z.js} +0 -0
- /package/dist/chunks/{worktree-fd410y7t.js → agent-fd410y7t.js} +0 -0
- /package/dist/chunks/{worktree-g4wezp1m.js → agent-g4wezp1m.js} +0 -0
- /package/dist/chunks/{worktree-g86h250q.js → agent-g86h250q.js} +0 -0
- /package/dist/chunks/{worktree-gebd4c9n.js → agent-gebd4c9n.js} +0 -0
- /package/dist/chunks/{worktree-gftt206x.js → agent-gftt206x.js} +0 -0
- /package/dist/chunks/{worktree-hcxmzztb.js → agent-hcxmzztb.js} +0 -0
- /package/dist/chunks/{worktree-hk9envan.js → agent-hk9envan.js} +0 -0
- /package/dist/chunks/{worktree-j2ntwpah.js → agent-j2ntwpah.js} +0 -0
- /package/dist/chunks/{worktree-j5zkgpj8.js → agent-j5zkgpj8.js} +0 -0
- /package/dist/chunks/{worktree-jjkms2e6.js → agent-jjkms2e6.js} +0 -0
- /package/dist/chunks/{worktree-jr7sbwjy.js → agent-jr7sbwjy.js} +0 -0
- /package/dist/chunks/{worktree-jwfs4k6c.js → agent-jwfs4k6c.js} +0 -0
- /package/dist/chunks/{worktree-jze0r7bz.js → agent-jze0r7bz.js} +0 -0
- /package/dist/chunks/{worktree-jzg6c2d5.js → agent-jzg6c2d5.js} +0 -0
- /package/dist/chunks/{worktree-m18g726c.js → agent-m18g726c.js} +0 -0
- /package/dist/chunks/{worktree-mp448xyj.js → agent-mp448xyj.js} +0 -0
- /package/dist/chunks/{worktree-msx8hqn2.js → agent-msx8hqn2.js} +0 -0
- /package/dist/chunks/{worktree-n05xt0ee.js → agent-n05xt0ee.js} +0 -0
- /package/dist/chunks/{worktree-n3j8tn72.js → agent-n3j8tn72.js} +0 -0
- /package/dist/chunks/{worktree-njntx4h6.js → agent-njntx4h6.js} +0 -0
- /package/dist/chunks/{worktree-pkyv6v7h.js → agent-pkyv6v7h.js} +0 -0
- /package/dist/chunks/{worktree-pyv0edze.js → agent-pyv0edze.js} +0 -0
- /package/dist/chunks/{worktree-q3sfg36h.js → agent-q3sfg36h.js} +0 -0
- /package/dist/chunks/{worktree-q74kybfr.js → agent-q74kybfr.js} +0 -0
- /package/dist/chunks/{worktree-qaymkmh1.js → agent-qaymkmh1.js} +0 -0
- /package/dist/chunks/{worktree-qb87gjwd.js → agent-qb87gjwd.js} +0 -0
- /package/dist/chunks/{worktree-qfa1cgps.js → agent-qfa1cgps.js} +0 -0
- /package/dist/chunks/{worktree-qg3g05ea.js → agent-qg3g05ea.js} +0 -0
- /package/dist/chunks/{worktree-qrg20bc0.js → agent-qrg20bc0.js} +0 -0
- /package/dist/chunks/{worktree-rcb2kzg1.js → agent-rcb2kzg1.js} +0 -0
- /package/dist/chunks/{worktree-sdp7kfr6.js → agent-sdp7kfr6.js} +0 -0
- /package/dist/chunks/{worktree-ssg3fenm.js → agent-ssg3fenm.js} +0 -0
- /package/dist/chunks/{worktree-ve7vex1e.js → agent-ve7vex1e.js} +0 -0
- /package/dist/chunks/{worktree-w803qqfp.js → agent-w803qqfp.js} +0 -0
- /package/dist/chunks/{worktree-wc3fc9cn.js → agent-wc3fc9cn.js} +0 -0
- /package/dist/chunks/{worktree-wer8tq1h.js → agent-wer8tq1h.js} +0 -0
- /package/dist/chunks/{worktree-wjj7prxr.js → agent-wjj7prxr.js} +0 -0
- /package/dist/chunks/{worktree-wtztk69x.js → agent-wtztk69x.js} +0 -0
- /package/dist/chunks/{worktree-x0ckcb58.js → agent-x0ckcb58.js} +0 -0
- /package/dist/chunks/{worktree-x61499pn.js → agent-x61499pn.js} +0 -0
- /package/dist/chunks/{worktree-y44na4kk.js → agent-y44na4kk.js} +0 -0
- /package/dist/chunks/{worktree-y8f7s663.js → agent-y8f7s663.js} +0 -0
- /package/dist/chunks/{worktree-ygaqb7jw.js → agent-ygaqb7jw.js} +0 -0
- /package/dist/chunks/{worktree-ym463w8f.js → agent-ym463w8f.js} +0 -0
- /package/dist/chunks/{worktree-z5v4ffb3.js → agent-z5v4ffb3.js} +0 -0
- /package/dist/chunks/{worktree-z9919s4g.js → agent-z9919s4g.js} +0 -0
|
@@ -1,16 +1,16 @@
|
|
|
1
1
|
import {
|
|
2
2
|
AbsolutePath2
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./agent-z5v4ffb3.js";
|
|
4
4
|
import {
|
|
5
5
|
__export
|
|
6
|
-
} from "./
|
|
6
|
+
} from "./agent-9rqn6x4v.js";
|
|
7
7
|
|
|
8
8
|
// src/skill/discovery.ts
|
|
9
9
|
var exports_discovery = {};
|
|
10
10
|
__export(exports_discovery, {
|
|
11
|
-
Service: () =>
|
|
11
|
+
Service: () => Service8,
|
|
12
12
|
SkillDiscovery: () => exports_discovery,
|
|
13
|
-
node: () =>
|
|
13
|
+
node: () => node10
|
|
14
14
|
});
|
|
15
15
|
import path from "path";
|
|
16
16
|
import { Context, Effect, Layer, Schedule, Schema } from "effect";
|
|
@@ -48,9 +48,9 @@ class Index extends Schema.Class("SkillDiscovery.Index")({
|
|
|
48
48
|
}) {
|
|
49
49
|
}
|
|
50
50
|
|
|
51
|
-
class
|
|
51
|
+
class Service8 extends Context.Service()("@opencode/SkillDiscovery") {
|
|
52
52
|
}
|
|
53
|
-
var layer = Layer.effect(
|
|
53
|
+
var layer = Layer.effect(Service8, Effect.gen(function* () {
|
|
54
54
|
const fs = yield* FSUtil.Service;
|
|
55
55
|
const global = yield* Global.Service;
|
|
56
56
|
const http = (yield* HttpClient.HttpClient).pipe(HttpClient.retryTransient({
|
|
@@ -63,7 +63,7 @@ var layer = Layer.effect(Service11, Effect.gen(function* () {
|
|
|
63
63
|
return true;
|
|
64
64
|
return yield* HttpClientRequest.get(url).pipe(http.execute, Effect.flatMap((response) => response.arrayBuffer), Effect.flatMap((body) => fs.writeWithDirs(destination, new Uint8Array(body))), Effect.as(true), Effect.catch((error) => Effect.logError("failed to download skill file", { url, error }).pipe(Effect.as(false))));
|
|
65
65
|
});
|
|
66
|
-
return
|
|
66
|
+
return Service8.of({
|
|
67
67
|
pull: Effect.fn("SkillDiscovery.pull")(function* (url) {
|
|
68
68
|
const base = url.endsWith("/") ? url : `${url}/`;
|
|
69
69
|
const source = new URL(base);
|
|
@@ -150,6 +150,6 @@ var layer = Layer.effect(Service11, Effect.gen(function* () {
|
|
|
150
150
|
})
|
|
151
151
|
});
|
|
152
152
|
}));
|
|
153
|
-
var
|
|
153
|
+
var node10 = makeGlobalNode({ service: Service8, layer, deps: [httpClient, FSUtil.node, Global.node] });
|
|
154
154
|
|
|
155
|
-
export {
|
|
155
|
+
export { Service8, node10, exports_discovery };
|
|
@@ -1,30 +1,30 @@
|
|
|
1
1
|
import {
|
|
2
2
|
makeUnsafe2
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./agent-dpkg50ah.js";
|
|
4
4
|
import {
|
|
5
5
|
__export
|
|
6
|
-
} from "./
|
|
6
|
+
} from "./agent-9rqn6x4v.js";
|
|
7
7
|
|
|
8
8
|
// src/plugin/update.ts
|
|
9
9
|
var exports_update = {};
|
|
10
10
|
__export(exports_update, {
|
|
11
11
|
PluginUpdate: () => exports_update,
|
|
12
|
-
Service: () =>
|
|
13
|
-
node: () =>
|
|
12
|
+
Service: () => Service4,
|
|
13
|
+
node: () => node5
|
|
14
14
|
});
|
|
15
15
|
import { Clock, Context, Effect, Exit, Layer, Option, PubSub, Stream } from "effect";
|
|
16
16
|
import { Npm } from "@opencode/util/npm";
|
|
17
17
|
import { makeGlobalNode } from "@opencode/util/effect/app-node";
|
|
18
18
|
var interval = 24 * 60 * 60 * 1000;
|
|
19
19
|
|
|
20
|
-
class
|
|
20
|
+
class Service4 extends Context.Service()("@opencode/PluginUpdate") {
|
|
21
21
|
}
|
|
22
|
-
var layer = Layer.effect(
|
|
22
|
+
var layer = Layer.effect(Service4, Effect.gen(function* () {
|
|
23
23
|
const npm = yield* Npm.Service;
|
|
24
24
|
const locks = makeUnsafe2();
|
|
25
25
|
const status = new Map;
|
|
26
26
|
const changes = yield* PubSub.unbounded();
|
|
27
|
-
return
|
|
27
|
+
return Service4.of({
|
|
28
28
|
check: (target, options) => locks.withLock(target)(Effect.gen(function* () {
|
|
29
29
|
const checkedAt = yield* Clock.currentTimeMillis;
|
|
30
30
|
const current = status.get(target);
|
|
@@ -49,6 +49,6 @@ var layer = Layer.effect(Service12, Effect.gen(function* () {
|
|
|
49
49
|
changes: () => Stream.fromPubSub(changes)
|
|
50
50
|
});
|
|
51
51
|
}));
|
|
52
|
-
var
|
|
52
|
+
var node5 = makeGlobalNode({ service: Service4, layer, deps: [Npm.node] });
|
|
53
53
|
|
|
54
|
-
export {
|
|
54
|
+
export { Service4, node5, exports_update };
|
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
import {
|
|
2
|
-
|
|
3
|
-
} from "./
|
|
2
|
+
render3
|
|
3
|
+
} from "./agent-drwq78ky.js";
|
|
4
4
|
import {
|
|
5
5
|
__export
|
|
6
|
-
} from "./
|
|
6
|
+
} from "./agent-9rqn6x4v.js";
|
|
7
7
|
|
|
8
8
|
// src/plugin/optimize.ts
|
|
9
9
|
var exports_optimize = {};
|
|
@@ -424,7 +424,7 @@ function make(id, optimize, mode = "override") {
|
|
|
424
424
|
const system = event.system[0];
|
|
425
425
|
if (!system)
|
|
426
426
|
return;
|
|
427
|
-
const rendered =
|
|
427
|
+
const rendered = render3(template, Object.keys(event.tools));
|
|
428
428
|
const text = mode === "append" ? `${system.text}
|
|
429
429
|
|
|
430
430
|
${rendered}` : rendered;
|
|
@@ -1,16 +1,16 @@
|
|
|
1
1
|
import {
|
|
2
2
|
parseOption2
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./agent-8m6m0r52.js";
|
|
4
4
|
import {
|
|
5
5
|
AbsolutePath2
|
|
6
|
-
} from "./
|
|
6
|
+
} from "./agent-z5v4ffb3.js";
|
|
7
7
|
import {
|
|
8
|
-
|
|
8
|
+
ID4,
|
|
9
9
|
Name2
|
|
10
|
-
} from "./
|
|
10
|
+
} from "./agent-q3ysppy7.js";
|
|
11
11
|
import {
|
|
12
12
|
__export
|
|
13
|
-
} from "./
|
|
13
|
+
} from "./agent-9rqn6x4v.js";
|
|
14
14
|
|
|
15
15
|
// src/config/plugin/skill-file.ts
|
|
16
16
|
var exports_skill_file = {};
|
|
@@ -62,7 +62,7 @@ function parse2(directory, filepath, content) {
|
|
|
62
62
|
return {
|
|
63
63
|
_tag: "Parsed",
|
|
64
64
|
skill: {
|
|
65
|
-
id:
|
|
65
|
+
id: ID4.make(id),
|
|
66
66
|
name: Name2.make(frontmatter.name ?? id),
|
|
67
67
|
...frontmatter.description === undefined ? {} : { description: frontmatter.description },
|
|
68
68
|
...autoinvoke === undefined ? {} : { autoinvoke },
|
|
@@ -1,44 +1,44 @@
|
|
|
1
1
|
import {
|
|
2
|
-
|
|
3
|
-
} from "./
|
|
2
|
+
Service65
|
|
3
|
+
} from "./agent-qbcjqvkm.js";
|
|
4
4
|
import {
|
|
5
5
|
MAX_MARKDOWN_BYTES2,
|
|
6
6
|
convertHTMLToMarkdown2
|
|
7
|
-
} from "./
|
|
7
|
+
} from "./agent-4vcrnpx2.js";
|
|
8
8
|
import {
|
|
9
9
|
collectBoundedResponseBody2
|
|
10
|
-
} from "./
|
|
10
|
+
} from "./agent-3v8g72cx.js";
|
|
11
11
|
import {
|
|
12
12
|
__export
|
|
13
|
-
} from "./
|
|
13
|
+
} from "./agent-9rqn6x4v.js";
|
|
14
14
|
|
|
15
15
|
// src/tool/plugin/webfetch.ts
|
|
16
16
|
var exports_webfetch = {};
|
|
17
17
|
__export(exports_webfetch, {
|
|
18
18
|
DEFAULT_TIMEOUT_SECONDS: () => DEFAULT_TIMEOUT_SECONDS2,
|
|
19
|
-
Input: () =>
|
|
20
|
-
MAX_RESPONSE_BYTES: () =>
|
|
19
|
+
Input: () => Input5,
|
|
20
|
+
MAX_RESPONSE_BYTES: () => MAX_RESPONSE_BYTES3,
|
|
21
21
|
MAX_TIMEOUT_SECONDS: () => MAX_TIMEOUT_SECONDS2,
|
|
22
|
-
Plugin: () =>
|
|
22
|
+
Plugin: () => Plugin23,
|
|
23
23
|
WebFetchTool: () => exports_webfetch,
|
|
24
24
|
convertHTMLToMarkdown: () => convertHTMLToMarkdown2,
|
|
25
|
-
description: () =>
|
|
25
|
+
description: () => description3,
|
|
26
26
|
extractTextFromHTML: () => extractTextFromHTML2,
|
|
27
|
-
name: () =>
|
|
27
|
+
name: () => name5
|
|
28
28
|
});
|
|
29
29
|
import { ToolFailure } from "@opencode/ai";
|
|
30
30
|
import { Duration, Effect, Schema } from "effect";
|
|
31
31
|
import { HttpClient, HttpClientRequest, HttpClientResponse } from "effect/http";
|
|
32
32
|
import { Parser } from "htmlparser2";
|
|
33
|
-
var
|
|
34
|
-
var
|
|
33
|
+
var name5 = "webfetch";
|
|
34
|
+
var MAX_RESPONSE_BYTES3 = MAX_MARKDOWN_BYTES2;
|
|
35
35
|
var DEFAULT_TIMEOUT_SECONDS2 = 30;
|
|
36
36
|
var MAX_TIMEOUT_SECONDS2 = 120;
|
|
37
|
-
var
|
|
37
|
+
var description3 = `Fetch content from an HTTP or HTTPS URL and return it as text, markdown, or HTML. Markdown is the default.
|
|
38
38
|
|
|
39
39
|
Use a more targeted tool when one is available. This tool is read-only. Large text results may be replaced with a preview while the complete output is retained in managed storage.`;
|
|
40
40
|
var Timeout = Schema.Finite.check(Schema.isGreaterThan(0), Schema.isLessThanOrEqualTo(MAX_TIMEOUT_SECONDS2));
|
|
41
|
-
var
|
|
41
|
+
var Input5 = Schema.Struct({
|
|
42
42
|
url: Schema.String.annotate({ description: "The HTTP or HTTPS URL to fetch content from" }),
|
|
43
43
|
format: Schema.Literals(["text", "markdown", "html"]).annotate({ description: "The format to return the content in. Defaults to markdown." }).pipe(Schema.withDecodingDefaultKey(Effect.succeed("markdown"))),
|
|
44
44
|
timeout: Schema.optionalKey(Timeout).annotate({
|
|
@@ -48,7 +48,7 @@ var Input11 = Schema.Struct({
|
|
|
48
48
|
var Output = Schema.Struct({
|
|
49
49
|
url: Schema.String,
|
|
50
50
|
contentType: Schema.String,
|
|
51
|
-
format:
|
|
51
|
+
format: Input5.fields.format,
|
|
52
52
|
output: Schema.String
|
|
53
53
|
});
|
|
54
54
|
var acceptHeader = (format) => {
|
|
@@ -79,7 +79,7 @@ var assertHttpUrl = (url) => {
|
|
|
79
79
|
throw new Error("URL must use http:// or https://");
|
|
80
80
|
};
|
|
81
81
|
var execute = (http, url, format, userAgent = openCodeUserAgent) => http.execute(request(url, format, userAgent)).pipe(Effect.flatMap(HttpClientResponse.filterStatusOk));
|
|
82
|
-
var collectBody = (response) => collectBoundedResponseBody2(response,
|
|
82
|
+
var collectBody = (response) => collectBoundedResponseBody2(response, MAX_RESPONSE_BYTES3, () => new Error(`Response too large (exceeds ${MAX_RESPONSE_BYTES3} byte limit)`));
|
|
83
83
|
var mimeFrom = (contentType) => contentType.split(";", 1)[0]?.trim().toLowerCase() ?? "";
|
|
84
84
|
var isImageAttachment = (mime) => mime.startsWith("image/") && mime !== "image/svg+xml" && mime !== "image/vnd.fastbidsheet";
|
|
85
85
|
var isTextualMime = (mime) => !mime || mime.startsWith("text/") || mime === "application/json" || mime.endsWith("+json") || mime === "application/xml" || mime.endsWith("+xml") || mime === "application/javascript" || mime === "application/x-javascript";
|
|
@@ -92,16 +92,16 @@ var convert = (content, contentType, format) => {
|
|
|
92
92
|
return extractTextFromHTML2(content);
|
|
93
93
|
return content;
|
|
94
94
|
};
|
|
95
|
-
var
|
|
95
|
+
var Plugin23 = {
|
|
96
96
|
id: "opencode.tool.webfetch",
|
|
97
97
|
effect: Effect.fn("WebFetchTool.Plugin")(function* (ctx) {
|
|
98
98
|
const http = yield* HttpClient.HttpClient;
|
|
99
|
-
const permission = yield*
|
|
99
|
+
const permission = yield* Service65;
|
|
100
100
|
yield* ctx.tool.transform((editor) => editor.add({
|
|
101
|
-
name:
|
|
101
|
+
name: name5,
|
|
102
102
|
options: { codemode: false },
|
|
103
|
-
description:
|
|
104
|
-
input:
|
|
103
|
+
description: description3,
|
|
104
|
+
input: Input5,
|
|
105
105
|
output: Output,
|
|
106
106
|
execute: (input, context) => Effect.gen(function* () {
|
|
107
107
|
yield* Effect.try({
|
|
@@ -109,7 +109,7 @@ var Plugin13 = {
|
|
|
109
109
|
catch: (error) => error
|
|
110
110
|
});
|
|
111
111
|
yield* permission.assert({
|
|
112
|
-
action:
|
|
112
|
+
action: name5,
|
|
113
113
|
resources: [input.url],
|
|
114
114
|
save: ["*"],
|
|
115
115
|
metadata: input,
|
|
@@ -167,4 +167,4 @@ function extractTextFromHTML2(html) {
|
|
|
167
167
|
parser.end();
|
|
168
168
|
return text.trim();
|
|
169
169
|
}
|
|
170
|
-
export {
|
|
170
|
+
export { name5, MAX_RESPONSE_BYTES3, DEFAULT_TIMEOUT_SECONDS2, MAX_TIMEOUT_SECONDS2, description3, Input5, Plugin23, extractTextFromHTML2, exports_webfetch };
|
|
@@ -1,56 +1,56 @@
|
|
|
1
1
|
import {
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
} from "./
|
|
2
|
+
Service82,
|
|
3
|
+
node86
|
|
4
|
+
} from "./agent-102ecrqc.js";
|
|
5
5
|
import {
|
|
6
6
|
node64
|
|
7
|
-
} from "./
|
|
7
|
+
} from "./agent-003zf483.js";
|
|
8
8
|
import {
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
} from "./
|
|
9
|
+
Service10,
|
|
10
|
+
node12
|
|
11
|
+
} from "./agent-yy6p74h0.js";
|
|
12
12
|
import {
|
|
13
|
-
|
|
14
|
-
} from "./
|
|
13
|
+
Service17
|
|
14
|
+
} from "./agent-4fnxzqcp.js";
|
|
15
15
|
import {
|
|
16
|
-
|
|
17
|
-
} from "./
|
|
16
|
+
Service27
|
|
17
|
+
} from "./agent-1x11rq2a.js";
|
|
18
18
|
import {
|
|
19
|
-
|
|
19
|
+
node26,
|
|
20
20
|
ID3
|
|
21
|
-
} from "./
|
|
21
|
+
} from "./agent-s9xxcfn6.js";
|
|
22
22
|
import {
|
|
23
|
-
|
|
24
|
-
|
|
25
|
-
} from "./
|
|
23
|
+
Service2,
|
|
24
|
+
node3
|
|
25
|
+
} from "./agent-5yzzbxa7.js";
|
|
26
26
|
import {
|
|
27
27
|
requirements2,
|
|
28
28
|
guarded2,
|
|
29
29
|
list2
|
|
30
|
-
} from "./
|
|
30
|
+
} from "./agent-99m0tgr4.js";
|
|
31
31
|
import {
|
|
32
|
-
|
|
32
|
+
make3,
|
|
33
33
|
LoadError2
|
|
34
|
-
} from "./
|
|
34
|
+
} from "./agent-jt820sv4.js";
|
|
35
35
|
import {
|
|
36
36
|
Updated2,
|
|
37
|
-
|
|
38
|
-
|
|
39
|
-
} from "./
|
|
37
|
+
Service3,
|
|
38
|
+
node4
|
|
39
|
+
} from "./agent-4ts0d71h.js";
|
|
40
40
|
import {
|
|
41
|
-
|
|
42
|
-
|
|
43
|
-
} from "./
|
|
41
|
+
Service4,
|
|
42
|
+
node5
|
|
43
|
+
} from "./agent-r9w3djhf.js";
|
|
44
44
|
import {
|
|
45
45
|
__export
|
|
46
|
-
} from "./
|
|
46
|
+
} from "./agent-9rqn6x4v.js";
|
|
47
47
|
|
|
48
48
|
// src/plugin/supervisor.ts
|
|
49
49
|
var exports_supervisor = {};
|
|
50
50
|
__export(exports_supervisor, {
|
|
51
51
|
PluginSupervisor: () => exports_supervisor,
|
|
52
|
-
layer: () =>
|
|
53
|
-
node: () =>
|
|
52
|
+
layer: () => layer3,
|
|
53
|
+
node: () => node2
|
|
54
54
|
});
|
|
55
55
|
import { Event } from "@opencode/schema/config";
|
|
56
56
|
import { Cause, Effect, Layer, Queue, Stream } from "effect";
|
|
@@ -136,15 +136,15 @@ var resolve = Effect.fn("PluginSupervisor.resolve")(function* (modules, pre, pos
|
|
|
136
136
|
pending: [...pending]
|
|
137
137
|
};
|
|
138
138
|
});
|
|
139
|
-
var
|
|
140
|
-
const managed = yield*
|
|
141
|
-
const registry = yield*
|
|
142
|
-
const sdk = yield*
|
|
143
|
-
const instance = yield*
|
|
144
|
-
const sources = yield*
|
|
145
|
-
const modules = yield*
|
|
146
|
-
const bus = yield*
|
|
147
|
-
const updates = yield*
|
|
139
|
+
var layer3 = Layer.effectDiscard(Effect.gen(function* () {
|
|
140
|
+
const managed = yield* Service17;
|
|
141
|
+
const registry = yield* Service27;
|
|
142
|
+
const sdk = yield* Service3;
|
|
143
|
+
const instance = yield* Service2;
|
|
144
|
+
const sources = yield* Service10;
|
|
145
|
+
const modules = yield* make3();
|
|
146
|
+
const bus = yield* Service82;
|
|
147
|
+
const updates = yield* Service4;
|
|
148
148
|
const internal = yield* list2();
|
|
149
149
|
let release = yield* registry.hold();
|
|
150
150
|
yield* Effect.addFinalizer(() => release ?? Effect.void);
|
|
@@ -220,12 +220,12 @@ var layer4 = Layer.effectDiscard(Effect.gen(function* () {
|
|
|
220
220
|
})), Effect.forkScoped({ startImmediately: true }));
|
|
221
221
|
}));
|
|
222
222
|
var nodeDeps = [
|
|
223
|
-
|
|
224
|
-
|
|
225
|
-
|
|
226
|
-
|
|
227
|
-
|
|
228
|
-
|
|
223
|
+
node26,
|
|
224
|
+
node4,
|
|
225
|
+
node3,
|
|
226
|
+
node12,
|
|
227
|
+
node5,
|
|
228
|
+
node86,
|
|
229
229
|
Npm.node,
|
|
230
230
|
node64,
|
|
231
231
|
requirements2
|
|
@@ -235,6 +235,6 @@ function pluginSource(target) {
|
|
|
235
235
|
return { type: "local", path: target };
|
|
236
236
|
return { type: "package", target };
|
|
237
237
|
}
|
|
238
|
-
var
|
|
238
|
+
var node2 = makeLocationNode({ name: "plugin-supervisor", layer: layer3, deps: nodeDeps });
|
|
239
239
|
|
|
240
|
-
export {
|
|
240
|
+
export { layer3, node2, exports_supervisor };
|
|
@@ -1,24 +1,24 @@
|
|
|
1
1
|
import {
|
|
2
2
|
__export
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./agent-9rqn6x4v.js";
|
|
4
4
|
|
|
5
5
|
// src/app.ts
|
|
6
6
|
var exports_app = {};
|
|
7
7
|
__export(exports_app, {
|
|
8
8
|
App: () => exports_app,
|
|
9
9
|
Metadata: () => Metadata2,
|
|
10
|
-
configured: () =>
|
|
11
|
-
layer: () =>
|
|
12
|
-
make: () =>
|
|
13
|
-
node: () =>
|
|
10
|
+
configured: () => configured11,
|
|
11
|
+
layer: () => layer25,
|
|
12
|
+
make: () => make21,
|
|
13
|
+
node: () => node76,
|
|
14
14
|
useragent: () => useragent2
|
|
15
15
|
});
|
|
16
16
|
import { Context, Layer } from "effect";
|
|
17
17
|
import { makeGlobalNode } from "@opencode/util/effect/app-node";
|
|
18
18
|
var Metadata2 = Context.Reference("@opencode/App", {
|
|
19
|
-
defaultValue: () =>
|
|
19
|
+
defaultValue: () => make21()
|
|
20
20
|
});
|
|
21
|
-
function
|
|
21
|
+
function make21(input = {}) {
|
|
22
22
|
return {
|
|
23
23
|
name: input.name ?? "opencode",
|
|
24
24
|
version: input.version ?? "unknown",
|
|
@@ -28,8 +28,8 @@ function make15(input = {}) {
|
|
|
28
28
|
function useragent2(app) {
|
|
29
29
|
return `opencode/${app.channel}/${app.version}/${app.name}`;
|
|
30
30
|
}
|
|
31
|
-
var
|
|
32
|
-
var
|
|
33
|
-
var
|
|
31
|
+
var layer25 = (input) => Layer.succeed(Metadata2, make21(input));
|
|
32
|
+
var configured11 = (input) => makeGlobalNode({ service: Metadata2, layer: layer25(input), deps: [] });
|
|
33
|
+
var node76 = configured11();
|
|
34
34
|
|
|
35
|
-
export { Metadata2,
|
|
35
|
+
export { Metadata2, make21, useragent2, layer25, configured11, node76, exports_app };
|
|
@@ -1,27 +1,27 @@
|
|
|
1
1
|
import {
|
|
2
|
-
|
|
3
|
-
} from "./
|
|
2
|
+
Service82
|
|
3
|
+
} from "./agent-102ecrqc.js";
|
|
4
4
|
import {
|
|
5
|
-
|
|
6
|
-
} from "./
|
|
5
|
+
Service73
|
|
6
|
+
} from "./agent-15c4ebpx.js";
|
|
7
7
|
import {
|
|
8
8
|
group2,
|
|
9
9
|
batch2,
|
|
10
10
|
shutdown2,
|
|
11
11
|
inherit2
|
|
12
|
-
} from "./
|
|
12
|
+
} from "./agent-rdw6cm16.js";
|
|
13
13
|
import {
|
|
14
|
-
|
|
14
|
+
Service27,
|
|
15
15
|
awaitActivation2
|
|
16
|
-
} from "./
|
|
16
|
+
} from "./agent-1x11rq2a.js";
|
|
17
17
|
import {
|
|
18
18
|
make11,
|
|
19
19
|
requirements3,
|
|
20
20
|
storage2
|
|
21
|
-
} from "./
|
|
21
|
+
} from "./agent-d6b4z57v.js";
|
|
22
22
|
import {
|
|
23
23
|
__export
|
|
24
|
-
} from "./
|
|
24
|
+
} from "./agent-9rqn6x4v.js";
|
|
25
25
|
|
|
26
26
|
// src/plugin.ts
|
|
27
27
|
var exports_plugin2 = {};
|
|
@@ -30,19 +30,19 @@ __export(exports_plugin2, {
|
|
|
30
30
|
ID: () => ID3,
|
|
31
31
|
Info: () => Info3,
|
|
32
32
|
Plugin: () => exports_plugin2,
|
|
33
|
-
Service: () =>
|
|
33
|
+
Service: () => Service27,
|
|
34
34
|
Source: () => Source2,
|
|
35
35
|
State: () => State2,
|
|
36
36
|
awaitActivation: () => awaitActivation2,
|
|
37
|
-
node: () =>
|
|
37
|
+
node: () => node26
|
|
38
38
|
});
|
|
39
39
|
import { Event as Event5, ID as ID3, Info as Info3, Source as Source2, State as State2 } from "@opencode/schema/plugin";
|
|
40
40
|
import { Plugin } from "@opencode/schema/plugin";
|
|
41
41
|
import { Node } from "@opencode/util/effect/app-node";
|
|
42
42
|
import { Cause, Context, Effect, Exit, Latch, Layer, Logger, Queue, References, Scope, Semaphore } from "effect";
|
|
43
|
-
var layer = Layer.effect(
|
|
44
|
-
const bus = yield*
|
|
45
|
-
const kv = yield*
|
|
43
|
+
var layer = Layer.effect(Service27, Effect.gen(function* () {
|
|
44
|
+
const bus = yield* Service82;
|
|
45
|
+
const kv = yield* Service73;
|
|
46
46
|
const scope = yield* Scope.make();
|
|
47
47
|
const active = new Map;
|
|
48
48
|
const lock = Semaphore.makeUnsafe(1);
|
|
@@ -205,7 +205,7 @@ var layer = Layer.effect(Service35, Effect.gen(function* () {
|
|
|
205
205
|
yield* shutdown2(Scope.close(scope, exit));
|
|
206
206
|
}));
|
|
207
207
|
yield* Effect.addFinalizer(close);
|
|
208
|
-
return
|
|
208
|
+
return Service27.of({
|
|
209
209
|
activate,
|
|
210
210
|
close,
|
|
211
211
|
awaitActivation: ready.await,
|
|
@@ -222,10 +222,10 @@ function slotInfo(slot) {
|
|
|
222
222
|
features: { server: true, ...slot.plugin.features }
|
|
223
223
|
};
|
|
224
224
|
}
|
|
225
|
-
var
|
|
226
|
-
service:
|
|
225
|
+
var node26 = Node.makeLocationNode({
|
|
226
|
+
service: Service27,
|
|
227
227
|
layer,
|
|
228
228
|
deps: [requirements3]
|
|
229
229
|
});
|
|
230
230
|
|
|
231
|
-
export {
|
|
231
|
+
export { node26, exports_plugin2, Event5, ID3, Info3, Source2, State2 };
|
|
@@ -1,25 +1,25 @@
|
|
|
1
1
|
import {
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
} from "./
|
|
2
|
+
Service82,
|
|
3
|
+
node86
|
|
4
|
+
} from "./agent-102ecrqc.js";
|
|
5
5
|
import {
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
} from "./
|
|
6
|
+
Service73,
|
|
7
|
+
node77
|
|
8
|
+
} from "./agent-15c4ebpx.js";
|
|
9
9
|
import {
|
|
10
10
|
create3
|
|
11
|
-
} from "./
|
|
11
|
+
} from "./agent-rdw6cm16.js";
|
|
12
12
|
import {
|
|
13
13
|
__export
|
|
14
|
-
} from "./
|
|
14
|
+
} from "./agent-9rqn6x4v.js";
|
|
15
15
|
|
|
16
16
|
// src/websearch.ts
|
|
17
17
|
var exports_websearch3 = {};
|
|
18
18
|
__export(exports_websearch3, {
|
|
19
19
|
DisabledError: () => DisabledError2,
|
|
20
|
-
Event: () =>
|
|
21
|
-
ID: () =>
|
|
22
|
-
Input: () =>
|
|
20
|
+
Event: () => Event8,
|
|
21
|
+
ID: () => ID5,
|
|
22
|
+
Input: () => Input14,
|
|
23
23
|
Provider: () => Provider2,
|
|
24
24
|
ProviderKey: () => ProviderKey2,
|
|
25
25
|
ProviderNotFoundError: () => ProviderNotFoundError2,
|
|
@@ -28,29 +28,29 @@ __export(exports_websearch3, {
|
|
|
28
28
|
Response: () => Response2,
|
|
29
29
|
Result: () => Result2,
|
|
30
30
|
Selection: () => Selection2,
|
|
31
|
-
Service: () =>
|
|
31
|
+
Service: () => Service48,
|
|
32
32
|
WebSearch: () => exports_websearch3,
|
|
33
|
-
node: () =>
|
|
33
|
+
node: () => node50
|
|
34
34
|
});
|
|
35
35
|
import { WebSearch } from "@opencode/schema/websearch";
|
|
36
36
|
import { SessionEvent } from "@opencode/schema/session-event";
|
|
37
37
|
import { Clock, Context, Effect, Layer, Option, Schema, Stream } from "effect";
|
|
38
38
|
import { HttpClientError } from "effect/http";
|
|
39
39
|
import { makeLocationNode } from "@opencode/util/effect/app-node";
|
|
40
|
-
import { Event as
|
|
41
|
-
var
|
|
40
|
+
import { Event as Event8 } from "@opencode/schema/websearch";
|
|
41
|
+
var ID5 = WebSearch.ID;
|
|
42
42
|
var Provider2 = WebSearch.Provider;
|
|
43
|
-
var
|
|
43
|
+
var Input14 = WebSearch.Input;
|
|
44
44
|
var Result2 = WebSearch.Result;
|
|
45
45
|
var Response2 = WebSearch.Response;
|
|
46
46
|
var ProviderKey2 = "websearch:provider";
|
|
47
|
-
var Selection2 = Schema.Union([
|
|
47
|
+
var Selection2 = Schema.Union([ID5, Schema.Literal("random"), Schema.Literal(false)]);
|
|
48
48
|
|
|
49
49
|
class ProviderRequiredError2 extends Schema.TaggedError()("WebSearch.ProviderRequired", {}) {
|
|
50
50
|
}
|
|
51
51
|
|
|
52
52
|
class ProviderNotFoundError2 extends Schema.TaggedError()("WebSearch.ProviderNotFound", {
|
|
53
|
-
providerID:
|
|
53
|
+
providerID: ID5
|
|
54
54
|
}) {
|
|
55
55
|
}
|
|
56
56
|
|
|
@@ -58,16 +58,16 @@ class DisabledError2 extends Schema.TaggedError()("WebSearch.Disabled", {}) {
|
|
|
58
58
|
}
|
|
59
59
|
|
|
60
60
|
class RequestError2 extends Schema.TaggedError()("WebSearch.Request", {
|
|
61
|
-
providerID:
|
|
61
|
+
providerID: ID5,
|
|
62
62
|
cause: Schema.Defect()
|
|
63
63
|
}) {
|
|
64
64
|
}
|
|
65
65
|
|
|
66
|
-
class
|
|
66
|
+
class Service48 extends Context.Service()("@opencode/WebSearch") {
|
|
67
67
|
}
|
|
68
|
-
var layer = Layer.effect(
|
|
69
|
-
const bus = yield*
|
|
70
|
-
const kv = yield*
|
|
68
|
+
var layer = Layer.effect(Service48, Effect.gen(function* () {
|
|
69
|
+
const bus = yield* Service82;
|
|
70
|
+
const kv = yield* Service73;
|
|
71
71
|
const decodeResults = Schema.decodeUnknownEffect(Schema.Array(Result2));
|
|
72
72
|
const cooldowns = new Map;
|
|
73
73
|
const preferred = new Map;
|
|
@@ -124,7 +124,7 @@ var layer = Layer.effect(Service23, Effect.gen(function* () {
|
|
|
124
124
|
}
|
|
125
125
|
return choice ? state.get().providers.get(choice) : undefined;
|
|
126
126
|
});
|
|
127
|
-
return
|
|
127
|
+
return Service48.of({
|
|
128
128
|
transform: state.transform,
|
|
129
129
|
reload: state.reload,
|
|
130
130
|
providers: Effect.fn("WebSearch.providers")(function* () {
|
|
@@ -184,10 +184,10 @@ function cooldownMillis(value, now) {
|
|
|
184
184
|
const date = Date.parse(value);
|
|
185
185
|
return Number.isFinite(date) ? Math.max(0, date - now) : 60000;
|
|
186
186
|
}
|
|
187
|
-
var
|
|
188
|
-
service:
|
|
187
|
+
var node50 = makeLocationNode({
|
|
188
|
+
service: Service48,
|
|
189
189
|
layer,
|
|
190
|
-
deps: [
|
|
190
|
+
deps: [node86, node77]
|
|
191
191
|
});
|
|
192
192
|
|
|
193
|
-
export {
|
|
193
|
+
export { ID5, Provider2, Input14, Result2, Response2, ProviderKey2, Selection2, ProviderRequiredError2, ProviderNotFoundError2, DisabledError2, RequestError2, Service48, node50, exports_websearch3, Event8 };
|