@opencode/core 0.0.0-dev-21221 → 0.0.0-dev-21224
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 +71 -71
- package/dist/chunks/{plugin-ss358qx3.js → websearch-08rawchj.js} +3 -3
- package/dist/chunks/{plugin-pyg4v0b6.js → websearch-0b5g1ynf.js} +4 -4
- package/dist/chunks/{plugin-2kjyncz9.js → websearch-0fpjtet3.js} +30 -30
- package/dist/chunks/{plugin-e4d116nx.js → websearch-0jspa6zs.js} +13 -13
- package/dist/chunks/{plugin-hxwres1w.js → websearch-0ma7h6ad.js} +18 -18
- package/dist/chunks/{plugin-m8y8jchw.js → websearch-0rx25b3a.js} +26 -26
- package/dist/chunks/{plugin-mk68qjcb.js → websearch-0sd51dq6.js} +17 -17
- package/dist/chunks/{plugin-0vbcp93d.js → websearch-0vbcp93d.js} +2 -2
- package/dist/chunks/{plugin-4aetnq1x.js → websearch-14tnpq20.js} +23 -23
- package/dist/chunks/{plugin-2t4agt4b.js → websearch-16pq2whc.js} +12 -12
- package/dist/chunks/{plugin-cvz808pw.js → websearch-17s7qcny.js} +19 -19
- package/dist/chunks/{plugin-yp2x3t23.js → websearch-1acjjqhc.js} +4 -4
- package/dist/chunks/{plugin-64p25grz.js → websearch-1d5g2359.js} +4 -4
- package/dist/chunks/{plugin-dwshgxce.js → websearch-1djby03j.js} +10 -10
- package/dist/chunks/{plugin-txm3e8qz.js → websearch-1j6m29mr.js} +9 -9
- package/dist/chunks/{plugin-v210v162.js → websearch-1k2pa5az.js} +9 -9
- package/dist/chunks/{plugin-fxaymqdw.js → websearch-1w2wqhfv.js} +4 -4
- package/dist/chunks/{plugin-ttgdsfx4.js → websearch-221f1e88.js} +21 -21
- package/dist/chunks/{plugin-bjjrptk6.js → websearch-246v0tc9.js} +33 -33
- package/dist/chunks/{plugin-cmrk9ec6.js → websearch-2940qx8c.js} +5 -5
- package/dist/chunks/{plugin-0z0xt0qd.js → websearch-2caf64h0.js} +8 -8
- package/dist/chunks/{plugin-gj71zhbs.js → websearch-2k9fjx65.js} +5 -5
- package/dist/chunks/{plugin-gfbqq99x.js → websearch-2kqhrdmh.js} +34 -34
- package/dist/chunks/{plugin-pwbkr4hj.js → websearch-2rcszdm4.js} +22 -22
- package/dist/chunks/{plugin-mnv0y1mf.js → websearch-2t00a1ge.js} +8 -8
- package/dist/chunks/{plugin-9q9bjydx.js → websearch-31261pdq.js} +17 -17
- package/dist/chunks/{plugin-xvyyqj0x.js → websearch-31kc2c59.js} +15 -15
- package/dist/chunks/{plugin-3esnsjw3.js → websearch-3356qk4w.js} +19 -19
- package/dist/chunks/{plugin-r3xhjxbf.js → websearch-33hcprh0.js} +45 -45
- package/dist/chunks/{plugin-fn9t717r.js → websearch-395q6j9z.js} +6 -6
- package/dist/chunks/{plugin-wahywgbq.js → websearch-3ew8rkf7.js} +9 -9
- package/dist/chunks/{plugin-3fc6dm20.js → websearch-3fc6dm20.js} +1 -1
- package/dist/chunks/{plugin-aa8m7hpg.js → websearch-3ftchhay.js} +11 -11
- package/dist/chunks/{plugin-sabvt4dp.js → websearch-3g3960hh.js} +20 -20
- package/dist/chunks/{plugin-3hepkmqq.js → websearch-3hepkmqq.js} +1 -1
- package/dist/chunks/{plugin-3hwn7j4h.js → websearch-3hwn7j4h.js} +2 -2
- package/dist/chunks/{plugin-skmbfqn1.js → websearch-3me7dwrv.js} +23 -23
- package/dist/chunks/{plugin-3smtnn6g.js → websearch-3smtnn6g.js} +1 -1
- package/dist/chunks/{plugin-3tvqynh2.js → websearch-3tvqynh2.js} +1 -1
- package/dist/chunks/{plugin-bz1taw9s.js → websearch-3y4x7fjm.js} +6 -6
- package/dist/chunks/{plugin-3zsf4n22.js → websearch-3zsf4n22.js} +1 -1
- package/dist/chunks/{plugin-41kcpbvh.js → websearch-408djvx8.js} +17 -17
- package/dist/chunks/{plugin-402zq5v7.js → websearch-42pyk7nk.js} +6 -6
- package/dist/chunks/{plugin-jjz1bpfg.js → websearch-49krk8vq.js} +19 -19
- package/dist/chunks/{plugin-kt5qeaz8.js → websearch-4ghskkf3.js} +20 -20
- package/dist/chunks/{plugin-c1f210cy.js → websearch-4grvyymx.js} +13 -13
- package/dist/chunks/{plugin-6vsk51wk.js → websearch-4jj13pkf.js} +26 -26
- package/dist/chunks/{plugin-f29mbr7f.js → websearch-4z58m4b4.js} +4 -4
- package/dist/chunks/{plugin-54ma36ye.js → websearch-54ma36ye.js} +1 -1
- package/dist/chunks/{plugin-8aj8cqg2.js → websearch-560pyh3z.js} +11 -11
- package/dist/chunks/{plugin-x5tsewjk.js → websearch-5864nzwg.js} +11 -11
- package/dist/chunks/{plugin-p2akh9ck.js → websearch-5aec44te.js} +6 -6
- package/dist/chunks/{plugin-x0zebc0n.js → websearch-5cgfmz7c.js} +3 -3
- package/dist/chunks/{plugin-3hw0jsnb.js → websearch-5m7ht46p.js} +11 -11
- package/dist/chunks/{plugin-5m9w47nd.js → websearch-5m9w47nd.js} +1 -1
- package/dist/chunks/{plugin-tjkejp8s.js → websearch-5rh77ejg.js} +7 -7
- package/dist/chunks/{plugin-69j7zs37.js → websearch-5vess9d2.js} +20 -20
- package/dist/chunks/{plugin-cq3j3qrj.js → websearch-63v2gbt2.js} +11 -11
- package/dist/chunks/{plugin-3jt410q4.js → websearch-67zjm8xa.js} +7 -7
- package/dist/chunks/{plugin-6827pfxn.js → websearch-6827pfxn.js} +1 -1
- package/dist/chunks/{plugin-ab430ytr.js → websearch-686rhz5m.js} +30 -30
- package/dist/chunks/{plugin-fn26y8ec.js → websearch-6jyskdaq.js} +4 -4
- package/dist/chunks/{plugin-n5nh64hp.js → websearch-6ke9rgy7.js} +34 -34
- package/dist/chunks/{plugin-pawwdg1v.js → websearch-6wtj175e.js} +46 -46
- package/dist/chunks/{plugin-6xb47vfp.js → websearch-6xb47vfp.js} +1 -1
- package/dist/chunks/{plugin-p6jqyf33.js → websearch-74q1kx8s.js} +22 -22
- package/dist/chunks/{plugin-8ef59yay.js → websearch-762e5b2q.js} +17 -17
- package/dist/chunks/{plugin-c0vgfjee.js → websearch-76304eqm.js} +21 -21
- package/dist/chunks/{plugin-775gj3j1.js → websearch-775gj3j1.js} +2 -2
- package/dist/chunks/{plugin-76rvckpe.js → websearch-782zrs06.js} +5 -5
- package/dist/chunks/{plugin-7bmhse3q.js → websearch-7bmhse3q.js} +1 -1
- package/dist/chunks/{plugin-gqdhpk5g.js → websearch-7e24cw9c.js} +50 -50
- package/dist/chunks/{plugin-1kppp5pt.js → websearch-7hd1qm23.js} +21 -21
- package/dist/chunks/{plugin-f5ksndmy.js → websearch-7jvhq5gb.js} +19 -19
- package/dist/chunks/{plugin-wj7pxz3y.js → websearch-7k0d8gn1.js} +13 -13
- package/dist/chunks/{plugin-jwdcxdh9.js → websearch-7vt1m3kq.js} +5 -5
- package/dist/chunks/{plugin-d7x0sh0y.js → websearch-80z0vyq9.js} +9 -9
- package/dist/chunks/{plugin-84txncab.js → websearch-84txncab.js} +1 -1
- package/dist/chunks/{plugin-fnpfk5vv.js → websearch-86fewpp3.js} +21 -21
- package/dist/chunks/{plugin-b3z8ymyn.js → websearch-88723a74.js} +5 -5
- package/dist/chunks/{plugin-s414k2p9.js → websearch-88hv1pmh.js} +14 -14
- package/dist/chunks/{plugin-285gq72j.js → websearch-89t7raa1.js} +19 -19
- package/dist/chunks/{plugin-t0sqncza.js → websearch-89vjf07m.js} +5 -5
- package/dist/chunks/{plugin-8m6m0r52.js → websearch-8m6m0r52.js} +1 -1
- package/dist/chunks/{plugin-c0jmgjpk.js → websearch-8ncv3257.js} +69 -69
- package/dist/chunks/{plugin-jd3kwnwc.js → websearch-8qbbsma3.js} +25 -25
- package/dist/chunks/{plugin-j09zfasm.js → websearch-91qna3x0.js} +3 -3
- package/dist/chunks/{plugin-3d3j723h.js → websearch-96jg49av.js} +18 -18
- package/dist/chunks/{plugin-zz7qnwx3.js → websearch-9enkw6hy.js} +16 -16
- package/dist/chunks/{plugin-kfg0ch3v.js → websearch-9j7x1428.js} +21 -21
- package/dist/chunks/{plugin-cj8qh2kh.js → websearch-9ndz9apn.js} +13 -13
- package/dist/chunks/{plugin-as9zhty2.js → websearch-9p3hty2e.js} +25 -25
- package/dist/chunks/websearch-9zdhvgqs.js +18 -0
- package/dist/chunks/{plugin-0keg1444.js → websearch-a3qv28kg.js} +15 -15
- package/dist/chunks/{plugin-4yp6x2d7.js → websearch-a41ypxxk.js} +51 -51
- package/dist/chunks/websearch-a45qcd57.js +26 -0
- package/dist/chunks/{plugin-p3kt6rvq.js → websearch-a820vvr1.js} +14 -14
- package/dist/chunks/{plugin-9765jw9y.js → websearch-a9xpmzy9.js} +27 -27
- package/dist/chunks/{plugin-89bb6baa.js → websearch-ahd542yp.js} +8 -8
- package/dist/chunks/{plugin-6hh8tjw2.js → websearch-b27vhd2z.js} +4 -4
- package/dist/chunks/{plugin-qqahyft1.js → websearch-b4kv1q3d.js} +4 -4
- package/dist/chunks/{plugin-qv0sc65t.js → websearch-b6cc36yj.js} +6 -6
- package/dist/chunks/{plugin-p8xq36qy.js → websearch-b9gz16sy.js} +24 -24
- package/dist/chunks/{plugin-zav06jzw.js → websearch-baaqp4zd.js} +4 -4
- package/dist/chunks/{plugin-0xvt5sjc.js → websearch-bnwfhg91.js} +25 -25
- package/dist/chunks/{plugin-ckenc1yr.js → websearch-br29hxcj.js} +14 -14
- package/dist/chunks/{plugin-888qj2e2.js → websearch-br2ajpjf.js} +26 -26
- package/dist/chunks/{plugin-g8jz9jm1.js → websearch-bwc6w5e3.js} +24 -24
- package/dist/chunks/{plugin-bzeyqsqd.js → websearch-bzeyqsqd.js} +1 -1
- package/dist/chunks/{plugin-a8nkje97.js → websearch-c19pq400.js} +11 -11
- package/dist/chunks/{plugin-es1vcfrp.js → websearch-c1fqxshp.js} +3 -3
- package/dist/chunks/{plugin-ym8333rm.js → websearch-c93sr89b.js} +4 -4
- package/dist/chunks/{plugin-070qhrs5.js → websearch-cdagb9hr.js} +18 -18
- package/dist/chunks/{plugin-v52rg5td.js → websearch-cxybd8s1.js} +19 -19
- package/dist/chunks/{plugin-115n69wy.js → websearch-czbb84tb.js} +3 -3
- package/dist/chunks/{plugin-ac8yy21c.js → websearch-d1e92g2x.js} +4 -4
- package/dist/chunks/{plugin-gqtdsdt7.js → websearch-dgpsrprm.js} +4 -4
- package/dist/chunks/{plugin-ydd161k7.js → websearch-dgrm2w19.js} +23 -23
- package/dist/chunks/{plugin-0jzagckz.js → websearch-dgzme5wp.js} +5 -5
- package/dist/chunks/{plugin-m2yzbatp.js → websearch-dp4nj4d1.js} +1 -1
- package/dist/chunks/{plugin-p3x09g5q.js → websearch-dreqgzvx.js} +35 -35
- package/dist/chunks/{plugin-qqeeq2t9.js → websearch-drwq78ky.js} +7 -7
- package/dist/chunks/{plugin-t8msvgtk.js → websearch-dt3hm876.js} +2 -2
- package/dist/chunks/{plugin-8mwrernq.js → websearch-dwvv1d4k.js} +5 -5
- package/dist/chunks/{plugin-qryy8w36.js → websearch-e2h8kkd4.js} +12 -12
- package/dist/chunks/{plugin-5qd3pb7m.js → websearch-e3qxr5gk.js} +2 -2
- package/dist/chunks/{plugin-7qtm0zjx.js → websearch-e43bgd9j.js} +11 -11
- package/dist/chunks/{plugin-ypq53bxf.js → websearch-e6qj70wv.js} +45 -45
- package/dist/chunks/{plugin-qh4sb56n.js → websearch-e7544r3d.js} +33 -33
- package/dist/chunks/{plugin-23m508yx.js → websearch-e7jsfe8q.js} +46 -46
- package/dist/chunks/{plugin-e80seqcp.js → websearch-e80seqcp.js} +1 -1
- package/dist/chunks/{plugin-xcmydc7x.js → websearch-e9bdbk7q.js} +20 -20
- package/dist/chunks/{plugin-2s32b1pm.js → websearch-ea6pkrn3.js} +2 -2
- package/dist/chunks/{plugin-eej6y6fw.js → websearch-eej6y6fw.js} +2 -2
- package/dist/chunks/{plugin-ef5x83kb.js → websearch-ef5x83kb.js} +1 -1
- package/dist/chunks/{plugin-d9qxn0qv.js → websearch-enzk9cpf.js} +32 -32
- package/dist/chunks/{plugin-zjedqr72.js → websearch-ewev2d8f.js} +12 -12
- package/dist/chunks/{plugin-c6cjq7nb.js → websearch-f4gks0ax.js} +18 -18
- package/dist/chunks/{plugin-q4shcas9.js → websearch-f70y1yam.js} +22 -22
- package/dist/chunks/{plugin-p6kcbx45.js → websearch-f7xs1qns.js} +15 -15
- package/dist/chunks/{plugin-qgn6gcr1.js → websearch-fcrkznn8.js} +5 -5
- package/dist/chunks/{plugin-fcy631f0.js → websearch-fcy631f0.js} +1 -1
- package/dist/chunks/{plugin-59bj5a5r.js → websearch-ffc15gys.js} +13 -13
- package/dist/chunks/{plugin-qe8zjv0s.js → websearch-fnd7y97v.js} +20 -20
- package/dist/chunks/{plugin-p6cydsw4.js → websearch-fzvw3sme.js} +32 -32
- package/dist/chunks/{plugin-zjqw0tx2.js → websearch-fzxe8swn.js} +8 -8
- package/dist/chunks/{plugin-tzrwrky5.js → websearch-g5d66h7n.js} +44 -44
- package/dist/chunks/{plugin-vr3wg9cz.js → websearch-g5zw4trq.js} +9 -9
- package/dist/chunks/{plugin-ft3hqk2c.js → websearch-g6q9qykm.js} +9 -9
- package/dist/chunks/{plugin-djfcc8tb.js → websearch-g75rryd5.js} +27 -27
- package/dist/chunks/{plugin-q5e7cmwt.js → websearch-gd0tnyjc.js} +1 -1
- package/dist/chunks/{plugin-gqdpvkcc.js → websearch-gd3e21re.js} +32 -32
- package/dist/chunks/{plugin-gd4qta3r.js → websearch-gd4qta3r.js} +1 -1
- package/dist/chunks/{plugin-nzrpg0s9.js → websearch-gj6ej50n.js} +36 -36
- package/dist/chunks/{plugin-hdab2k61.js → websearch-gjmk74th.js} +4 -4
- package/dist/chunks/{plugin-jmfrr7px.js → websearch-gk6kjc9e.js} +33 -33
- package/dist/chunks/{plugin-gp8pq3a9.js → websearch-gkpdrz2m.js} +10 -10
- package/dist/chunks/{plugin-pedttwxr.js → websearch-gs3s1a1g.js} +8 -8
- package/dist/chunks/{plugin-5aajkd2s.js → websearch-gx4sppz1.js} +10 -10
- package/dist/chunks/{plugin-zhpfwxqq.js → websearch-h3ga5h05.js} +17 -17
- package/dist/chunks/{plugin-h6vf3j39.js → websearch-h6vf3j39.js} +1 -1
- package/dist/chunks/{plugin-xbmfrhsr.js → websearch-h7me9c7a.js} +11 -11
- package/dist/chunks/{plugin-d1a28jh7.js → websearch-h978070j.js} +5 -5
- package/dist/chunks/{plugin-hgz4x7wa.js → websearch-hgz4x7wa.js} +1 -1
- package/dist/chunks/{plugin-4t8sy717.js → websearch-hrxpwfpw.js} +11 -11
- package/dist/chunks/{plugin-afa2wr9d.js → websearch-hwk270qq.js} +42 -42
- package/dist/chunks/{plugin-hdcfjgk2.js → websearch-j2n35z42.js} +7 -7
- package/dist/chunks/{plugin-f8hkc90z.js → websearch-jpddy1wf.js} +25 -25
- package/dist/chunks/{plugin-j34bs4nz.js → websearch-jpqeh2wc.js} +4 -4
- package/dist/chunks/{plugin-m6yrq7vq.js → websearch-jqnvbgrg.js} +35 -35
- package/dist/chunks/{plugin-z9y7jm1j.js → websearch-jrjwnzfm.js} +4 -4
- package/dist/chunks/{plugin-93zcbdft.js → websearch-kvbtfxr1.js} +7 -7
- package/dist/chunks/{plugin-kwb1v3vj.js → websearch-kwb1v3vj.js} +1 -1
- package/dist/chunks/{plugin-vf544bmh.js → websearch-kx7btjcr.js} +20 -20
- package/dist/chunks/{plugin-sren5er7.js → websearch-m54bh4ta.js} +14 -14
- package/dist/chunks/{plugin-198d9mzv.js → websearch-m7ey3t0g.js} +11 -11
- package/dist/chunks/{plugin-n1ykz3fm.js → websearch-m91anb0y.js} +5 -5
- package/dist/chunks/{plugin-m9w0rfyh.js → websearch-m9w0rfyh.js} +1 -1
- package/dist/chunks/{plugin-12c79r2r.js → websearch-ma8yckng.js} +34 -34
- package/dist/chunks/{plugin-maspj1v3.js → websearch-maspj1v3.js} +1 -1
- package/dist/chunks/{plugin-yc4ptb0q.js → websearch-me3jg3z9.js} +23 -23
- package/dist/chunks/{plugin-9rf0tb8v.js → websearch-mk19mbca.js} +10 -10
- package/dist/chunks/{plugin-q0yg6cnx.js → websearch-mnvvj4zr.js} +31 -31
- package/dist/chunks/{plugin-pj4qns00.js → websearch-my6749he.js} +14 -14
- package/dist/chunks/{plugin-cse4gz6e.js → websearch-my6mhyca.js} +35 -35
- package/dist/chunks/{plugin-bn0s77k4.js → websearch-nms2wt4g.js} +20 -20
- package/dist/chunks/{plugin-62f7d5w0.js → websearch-nx9njvw5.js} +1 -1
- package/dist/chunks/{plugin-4j2dn6hj.js → websearch-p2fnpnpq.js} +24 -24
- package/dist/chunks/{plugin-bs9schwq.js → websearch-p2wxn54t.js} +14 -14
- package/dist/chunks/{plugin-eydnycg8.js → websearch-p3b29jcp.js} +7 -7
- package/dist/chunks/{plugin-g93ctjjx.js → websearch-p4yy72g7.js} +89 -89
- package/dist/chunks/{plugin-nx1kfred.js → websearch-pfyqag78.js} +20 -20
- package/dist/chunks/{plugin-dv1qgsyq.js → websearch-phstrbs2.js} +8 -8
- package/dist/chunks/{plugin-74f1t3k7.js → websearch-pj2v6jcx.js} +5 -5
- package/dist/chunks/{plugin-pjvnvgmy.js → websearch-pjvnvgmy.js} +1 -1
- package/dist/chunks/{plugin-twyq5zdv.js → websearch-pk9k5r3w.js} +5 -5
- package/dist/chunks/{plugin-pknna89w.js → websearch-pknna89w.js} +1 -1
- package/dist/chunks/{plugin-tp98fvce.js → websearch-pnw32wjv.js} +13 -13
- package/dist/chunks/{plugin-37n2n5w8.js → websearch-pny0r53y.js} +43 -43
- package/dist/chunks/{plugin-hsjvmpjh.js → websearch-psw4htx6.js} +8 -8
- package/dist/chunks/{plugin-sas35a8p.js → websearch-pxhmaprh.js} +30 -30
- package/dist/chunks/{plugin-10fabjt5.js → websearch-q14gqrwp.js} +13 -13
- package/dist/chunks/{plugin-cy1jkq5t.js → websearch-q40ec3gz.js} +3 -3
- package/dist/chunks/{plugin-86qzxe6p.js → websearch-qbqbaz6q.js} +4 -4
- package/dist/chunks/{plugin-w0n0a7xa.js → websearch-qf8hqpy6.js} +6 -6
- package/dist/chunks/{plugin-rwp39ykb.js → websearch-qk9g970a.js} +11 -11
- package/dist/chunks/{plugin-qnc92qwc.js → websearch-qnc92qwc.js} +1 -1
- package/dist/chunks/{plugin-9sx8p9wy.js → websearch-qnkh0g7e.js} +14 -14
- package/dist/chunks/{plugin-c83qkf90.js → websearch-qqsk58jw.js} +11 -11
- package/dist/chunks/{plugin-qsdy395h.js → websearch-qsdy395h.js} +1 -1
- package/dist/chunks/{plugin-am0k9m0x.js → websearch-qsq1hnwm.js} +18 -18
- package/dist/chunks/{plugin-hen5kt05.js → websearch-r0dj4qvr.js} +19 -19
- package/dist/chunks/{plugin-1aw4gej2.js → websearch-r7271wee.js} +5 -5
- package/dist/chunks/{plugin-j3r0bzqv.js → websearch-r7zf4xmz.js} +15 -15
- package/dist/chunks/{plugin-740rcxm9.js → websearch-r96k90r2.js} +45 -45
- package/dist/chunks/websearch-rckfce9y.js +257 -0
- package/dist/chunks/{plugin-rdw6cm16.js → websearch-rdw6cm16.js} +1 -1
- package/dist/chunks/{plugin-tkb22qbm.js → websearch-rert0e01.js} +2 -2
- package/dist/chunks/{plugin-c41wscbt.js → websearch-rj3eygr5.js} +2 -2
- package/dist/chunks/{plugin-jws6fkes.js → websearch-rkprpv83.js} +8 -8
- package/dist/chunks/{plugin-1dbhy73q.js → websearch-rs143gbp.js} +32 -32
- package/dist/chunks/{plugin-ahbff7y9.js → websearch-ry7qycn4.js} +189 -189
- package/dist/chunks/{plugin-bydnjh3t.js → websearch-s1kvmffy.js} +9 -9
- package/dist/chunks/{plugin-c8ax2afj.js → websearch-sa8ekw3f.js} +2 -2
- package/dist/chunks/{plugin-sw5khcyy.js → websearch-shhjjnsc.js} +6 -6
- package/dist/chunks/{plugin-wwjkedtk.js → websearch-sn8tyy2m.js} +20 -20
- package/dist/chunks/{plugin-94rjkma0.js → websearch-stpptdzq.js} +60 -60
- package/dist/chunks/{plugin-syv4x271.js → websearch-syv4x271.js} +1 -1
- package/dist/chunks/{plugin-y6cfdet1.js → websearch-t1n3psfc.js} +4 -4
- package/dist/chunks/{plugin-eaj1djv9.js → websearch-t550f9t1.js} +8 -8
- package/dist/chunks/{plugin-fy9mnahn.js → websearch-t90nd26b.js} +15 -15
- package/dist/chunks/{plugin-tazgh4e4.js → websearch-tazgh4e4.js} +1 -1
- package/dist/chunks/{plugin-tcezcvh9.js → websearch-tcezcvh9.js} +1 -1
- package/dist/chunks/{plugin-tdstcens.js → websearch-tdstcens.js} +1 -1
- package/dist/chunks/{plugin-w39jehkq.js → websearch-tk14y25j.js} +5 -5
- package/dist/chunks/{plugin-tm0kqsz3.js → websearch-tm0kqsz3.js} +1 -1
- package/dist/chunks/{plugin-gxtzvc78.js → websearch-tneznqz4.js} +13 -13
- package/dist/chunks/{plugin-1cm76eae.js → websearch-tp65tks7.js} +10 -10
- package/dist/chunks/{plugin-tyytaxap.js → websearch-tyytaxap.js} +1 -1
- package/dist/chunks/{plugin-v7p4zvkq.js → websearch-v7p4zvkq.js} +2 -2
- package/dist/chunks/{plugin-rp0j9w43.js → websearch-vabrjmgk.js} +1 -1
- package/dist/chunks/{plugin-52amxzsm.js → websearch-vbh98mes.js} +8 -8
- package/dist/chunks/{plugin-9q7jyg7c.js → websearch-vcshv6ve.js} +15 -15
- package/dist/chunks/{plugin-veqvce7d.js → websearch-veqvce7d.js} +1 -1
- package/dist/chunks/{plugin-j2xfbvx1.js → websearch-vktwk5kv.js} +9 -9
- package/dist/chunks/{plugin-ne19x7kx.js → websearch-vmsn7365.js} +14 -14
- package/dist/chunks/{plugin-7z8fh6ek.js → websearch-vnbyr4se.js} +18 -18
- package/dist/chunks/{plugin-e5hzpbqm.js → websearch-vtbhp86a.js} +15 -15
- package/dist/chunks/{plugin-vs1vsx5r.js → websearch-vv31ba1z.js} +38 -38
- package/dist/chunks/{plugin-vzs5sf6e.js → websearch-vzs5sf6e.js} +1 -1
- package/dist/chunks/{plugin-w3wsvvr9.js → websearch-w3wsvvr9.js} +1 -1
- package/dist/chunks/{plugin-srcmwhc2.js → websearch-w6n09bsv.js} +8 -8
- package/dist/chunks/{plugin-aacha31a.js → websearch-w91kb5tp.js} +12 -12
- package/dist/chunks/{plugin-wd87259q.js → websearch-wd87259q.js} +1 -1
- package/dist/chunks/{plugin-rxcdjwh1.js → websearch-wgahhr0x.js} +6 -6
- package/dist/chunks/{plugin-2eeghdqz.js → websearch-x2dzfeyp.js} +46 -46
- package/dist/chunks/{plugin-pwpy7q8b.js → websearch-x5xc9net.js} +28 -28
- package/dist/chunks/{plugin-vj4xxyb4.js → websearch-x5z971sw.js} +85 -85
- package/dist/chunks/{plugin-rz4mpgyr.js → websearch-x65zg2f4.js} +4 -4
- package/dist/chunks/{plugin-fpk8rssf.js → websearch-x9eehk7h.js} +24 -24
- package/dist/chunks/{plugin-cnjds07p.js → websearch-x9gmf1h5.js} +33 -33
- package/dist/chunks/{plugin-qeerce1j.js → websearch-xbc6qp68.js} +6 -6
- package/dist/chunks/{plugin-xhmrb6e2.js → websearch-xmaw0eaa.js} +32 -32
- package/dist/chunks/{plugin-gktp29ka.js → websearch-xq9p6z8f.js} +9 -9
- package/dist/chunks/{plugin-6ksqsqek.js → websearch-xrttfryv.js} +53 -53
- package/dist/chunks/websearch-xvwcym22.js +513 -0
- package/dist/chunks/{plugin-rz255fs2.js → websearch-xwjs8ww6.js} +11 -11
- package/dist/chunks/{plugin-y1fvbwt7.js → websearch-y1fvbwt7.js} +1 -1
- package/dist/chunks/{plugin-stwc66ny.js → websearch-y4xf82q9.js} +22 -22
- package/dist/chunks/{plugin-dpkg50ah.js → websearch-y71avatq.js} +4 -4
- package/dist/chunks/{plugin-g104pgrn.js → websearch-y7kp3jw0.js} +18 -18
- package/dist/chunks/{plugin-fww2ha2b.js → websearch-yegdtzkd.js} +10 -10
- package/dist/chunks/{plugin-hcv80w8f.js → websearch-ymgkxg7n.js} +11 -11
- package/dist/chunks/{plugin-bjx1sjef.js → websearch-ywt8jp22.js} +9 -9
- package/dist/chunks/{plugin-z0bkrqjs.js → websearch-z0bkrqjs.js} +1 -1
- package/dist/chunks/{plugin-50t92zds.js → websearch-z7h38hxc.js} +3 -3
- package/dist/chunks/{plugin-df0nygd0.js → websearch-z7se6kvy.js} +7 -7
- package/dist/chunks/{plugin-hrf19ha5.js → websearch-zd41cs62.js} +9 -9
- package/dist/chunks/{plugin-zr2ceqn5.js → websearch-zr2ceqn5.js} +1 -1
- package/dist/chunks/{plugin-zxq2ej10.js → websearch-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 +83 -83
- 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 +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 +116 -116
- package/dist/config/plugin/skill-file.js +104 -104
- package/dist/config/plugin/skill-scan.js +1 -1
- 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 +115 -115
- 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 +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 +78 -78
- package/dist/database/v1-migration.js +1 -1
- package/dist/effect/app-node-builder.js +365 -365
- 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 +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 +1 -1
- 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 +108 -108
- package/dist/form.js +88 -88
- 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 +3 -3
- package/dist/instance.js +358 -358
- package/dist/instruction-discovery.js +84 -84
- 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 +80 -80
- 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 +111 -111
- package/dist/mcp/instructions.js +129 -129
- 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 +105 -105
- 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 +119 -119
- package/dist/persistent-pty/binary.bun.js +1 -1
- package/dist/persistent-pty/daemon.js +1 -1
- package/dist/persistent-pty/index.js +88 -88
- 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 +4 -4
- 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 +123 -123
- package/dist/plugin/provider/openai.js +118 -118
- 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 +125 -125
- 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 +348 -348
- 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 +6 -6
- package/dist/plugin.js +223 -223
- 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 +91 -91
- package/dist/repository-cache.js +83 -83
- package/dist/repository.js +1 -1
- package/dist/ripgrep/binary.js +2 -2
- package/dist/ripgrep.js +99 -99
- 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 +5 -5
- package/dist/session/error.js +5 -5
- package/dist/session/event.js +1 -1
- package/dist/session/execution/restart.js +215 -215
- package/dist/session/execution.js +127 -127
- package/dist/session/generate.js +157 -157
- 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 +79 -79
- package/dist/session/instruction-state.js +8 -8
- 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 +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 +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 +126 -126
- 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 +157 -157
- 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 +212 -212
- package/dist/shell/parse.js +6 -6
- package/dist/shell/result.js +1 -1
- package/dist/shell/scan.js +1 -1
- package/dist/shell/select.js +13 -13
- package/dist/shell.js +132 -132
- package/dist/skill/discovery.js +6 -6
- package/dist/skill/instructions.js +107 -107
- 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 +128 -128
- 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 +103 -103
- package/dist/tool/plugin/read.js +127 -127
- package/dist/tool/plugin/shell.js +209 -209
- package/dist/tool/plugin/skill.js +113 -113
- package/dist/tool/plugin/subagent.js +213 -213
- package/dist/tool/plugin/webfetch.js +110 -110
- 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 +16 -16
- 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 +88 -88
- package/dist/websearch.js +84 -84
- package/dist/wellknown/plugin.js +78 -78
- package/dist/wellknown.js +83 -83
- package/dist/workspace/driver.js +5 -5
- package/dist/workspace/sql.js +1 -1
- package/dist/workspace.js +82 -82
- 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/plugin-1njtfd0a.js +0 -513
- package/dist/chunks/plugin-c7z020gt.js +0 -257
- package/dist/chunks/plugin-qmn3ny5p.js +0 -26
- package/dist/chunks/plugin-rap9a73h.js +0 -18
- /package/dist/chunks/{plugin-0qkdqm5v.js → websearch-0qkdqm5v.js} +0 -0
- /package/dist/chunks/{plugin-0zkw76rk.js → websearch-0zkw76rk.js} +0 -0
- /package/dist/chunks/{plugin-17cy0kzp.js → websearch-17cy0kzp.js} +0 -0
- /package/dist/chunks/{plugin-1cnp2v09.js → websearch-1cnp2v09.js} +0 -0
- /package/dist/chunks/{plugin-1kg9ymc8.js → websearch-1kg9ymc8.js} +0 -0
- /package/dist/chunks/{plugin-24dcb14g.js → websearch-24dcb14g.js} +0 -0
- /package/dist/chunks/{plugin-2710q6r3.js → websearch-2710q6r3.js} +0 -0
- /package/dist/chunks/{plugin-2axfhc9x.js → websearch-2axfhc9x.js} +0 -0
- /package/dist/chunks/{plugin-2bv980vf.js → websearch-2bv980vf.js} +0 -0
- /package/dist/chunks/{plugin-2c3vjs8z.js → websearch-2c3vjs8z.js} +0 -0
- /package/dist/chunks/{plugin-359p4xyc.js → websearch-359p4xyc.js} +0 -0
- /package/dist/chunks/{plugin-3asan66x.js → websearch-3asan66x.js} +0 -0
- /package/dist/chunks/{plugin-3t0ybcrp.js → websearch-3t0ybcrp.js} +0 -0
- /package/dist/chunks/{plugin-3v8g72cx.js → websearch-3v8g72cx.js} +0 -0
- /package/dist/chunks/{plugin-3wcehsnq.js → websearch-3wcehsnq.js} +0 -0
- /package/dist/chunks/{plugin-43n2bw4t.js → websearch-43n2bw4t.js} +0 -0
- /package/dist/chunks/{plugin-4knz6hnm.js → websearch-4knz6hnm.js} +0 -0
- /package/dist/chunks/{plugin-4vcrnpx2.js → websearch-4vcrnpx2.js} +0 -0
- /package/dist/chunks/{plugin-4y7fprxs.js → websearch-4y7fprxs.js} +0 -0
- /package/dist/chunks/{plugin-53557ph1.js → websearch-53557ph1.js} +0 -0
- /package/dist/chunks/{plugin-550bvhaj.js → websearch-550bvhaj.js} +0 -0
- /package/dist/chunks/{plugin-6prwharc.js → websearch-6prwharc.js} +0 -0
- /package/dist/chunks/{plugin-6q2bdcd1.js → websearch-6q2bdcd1.js} +0 -0
- /package/dist/chunks/{plugin-7akdwqpd.js → websearch-7akdwqpd.js} +0 -0
- /package/dist/chunks/{plugin-7m9af43g.js → websearch-7m9af43g.js} +0 -0
- /package/dist/chunks/{plugin-822emrt2.js → websearch-822emrt2.js} +0 -0
- /package/dist/chunks/{plugin-84wd9syh.js → websearch-84wd9syh.js} +0 -0
- /package/dist/chunks/{plugin-88xbtdfr.js → websearch-88xbtdfr.js} +0 -0
- /package/dist/chunks/{plugin-8n3pysct.js → websearch-8n3pysct.js} +0 -0
- /package/dist/chunks/{plugin-8wj87zfr.js → websearch-8wj87zfr.js} +0 -0
- /package/dist/chunks/{plugin-9a4afbnw.js → websearch-9a4afbnw.js} +0 -0
- /package/dist/chunks/{plugin-9rqn6x4v.js → websearch-9rqn6x4v.js} +0 -0
- /package/dist/chunks/{plugin-a6k6eb26.js → websearch-a6k6eb26.js} +0 -0
- /package/dist/chunks/{plugin-af5trqkr.js → websearch-af5trqkr.js} +0 -0
- /package/dist/chunks/{plugin-afrmfg78.js → websearch-afrmfg78.js} +0 -0
- /package/dist/chunks/{plugin-aqzs7mqg.js → websearch-aqzs7mqg.js} +0 -0
- /package/dist/chunks/{plugin-atq7p7m5.js → websearch-atq7p7m5.js} +0 -0
- /package/dist/chunks/{plugin-bkyjaxrp.js → websearch-bkyjaxrp.js} +0 -0
- /package/dist/chunks/{plugin-bmr6ed5q.js → websearch-bmr6ed5q.js} +0 -0
- /package/dist/chunks/{plugin-cf4snx6d.js → websearch-cf4snx6d.js} +0 -0
- /package/dist/chunks/{plugin-cvy3z8tj.js → websearch-cvy3z8tj.js} +0 -0
- /package/dist/chunks/{plugin-d9fn303g.js → websearch-d9fn303g.js} +0 -0
- /package/dist/chunks/{plugin-d9jj8t3e.js → websearch-d9jj8t3e.js} +0 -0
- /package/dist/chunks/{plugin-dajrwvna.js → websearch-dajrwvna.js} +0 -0
- /package/dist/chunks/{plugin-dap0rakb.js → websearch-dap0rakb.js} +0 -0
- /package/dist/chunks/{plugin-df08tz66.js → websearch-df08tz66.js} +0 -0
- /package/dist/chunks/{plugin-dy18nga0.js → websearch-dy18nga0.js} +0 -0
- /package/dist/chunks/{plugin-e5kj55wp.js → websearch-e5kj55wp.js} +0 -0
- /package/dist/chunks/{plugin-e73j6tqm.js → websearch-e73j6tqm.js} +0 -0
- /package/dist/chunks/{plugin-ec1grn59.js → websearch-ec1grn59.js} +0 -0
- /package/dist/chunks/{plugin-eh3zwz77.js → websearch-eh3zwz77.js} +0 -0
- /package/dist/chunks/{plugin-emrn6kk6.js → websearch-emrn6kk6.js} +0 -0
- /package/dist/chunks/{plugin-f0mxakyp.js → websearch-f0mxakyp.js} +0 -0
- /package/dist/chunks/{plugin-f6n9ztr4.js → websearch-f6n9ztr4.js} +0 -0
- /package/dist/chunks/{plugin-faypxj3z.js → websearch-faypxj3z.js} +0 -0
- /package/dist/chunks/{plugin-fd410y7t.js → websearch-fd410y7t.js} +0 -0
- /package/dist/chunks/{plugin-g4wezp1m.js → websearch-g4wezp1m.js} +0 -0
- /package/dist/chunks/{plugin-g86h250q.js → websearch-g86h250q.js} +0 -0
- /package/dist/chunks/{plugin-gebd4c9n.js → websearch-gebd4c9n.js} +0 -0
- /package/dist/chunks/{plugin-gftt206x.js → websearch-gftt206x.js} +0 -0
- /package/dist/chunks/{plugin-hcxmzztb.js → websearch-hcxmzztb.js} +0 -0
- /package/dist/chunks/{plugin-hk9envan.js → websearch-hk9envan.js} +0 -0
- /package/dist/chunks/{plugin-j2ntwpah.js → websearch-j2ntwpah.js} +0 -0
- /package/dist/chunks/{plugin-j5zkgpj8.js → websearch-j5zkgpj8.js} +0 -0
- /package/dist/chunks/{plugin-jjkms2e6.js → websearch-jjkms2e6.js} +0 -0
- /package/dist/chunks/{plugin-jr7sbwjy.js → websearch-jr7sbwjy.js} +0 -0
- /package/dist/chunks/{plugin-jwfs4k6c.js → websearch-jwfs4k6c.js} +0 -0
- /package/dist/chunks/{plugin-jze0r7bz.js → websearch-jze0r7bz.js} +0 -0
- /package/dist/chunks/{plugin-jzg6c2d5.js → websearch-jzg6c2d5.js} +0 -0
- /package/dist/chunks/{plugin-m18g726c.js → websearch-m18g726c.js} +0 -0
- /package/dist/chunks/{plugin-mp448xyj.js → websearch-mp448xyj.js} +0 -0
- /package/dist/chunks/{plugin-msx8hqn2.js → websearch-msx8hqn2.js} +0 -0
- /package/dist/chunks/{plugin-n05xt0ee.js → websearch-n05xt0ee.js} +0 -0
- /package/dist/chunks/{plugin-n3j8tn72.js → websearch-n3j8tn72.js} +0 -0
- /package/dist/chunks/{plugin-njntx4h6.js → websearch-njntx4h6.js} +0 -0
- /package/dist/chunks/{plugin-pkyv6v7h.js → websearch-pkyv6v7h.js} +0 -0
- /package/dist/chunks/{plugin-pyv0edze.js → websearch-pyv0edze.js} +0 -0
- /package/dist/chunks/{plugin-q3sfg36h.js → websearch-q3sfg36h.js} +0 -0
- /package/dist/chunks/{plugin-q74kybfr.js → websearch-q74kybfr.js} +0 -0
- /package/dist/chunks/{plugin-qaymkmh1.js → websearch-qaymkmh1.js} +0 -0
- /package/dist/chunks/{plugin-qb87gjwd.js → websearch-qb87gjwd.js} +0 -0
- /package/dist/chunks/{plugin-qfa1cgps.js → websearch-qfa1cgps.js} +0 -0
- /package/dist/chunks/{plugin-qg3g05ea.js → websearch-qg3g05ea.js} +0 -0
- /package/dist/chunks/{plugin-qrg20bc0.js → websearch-qrg20bc0.js} +0 -0
- /package/dist/chunks/{plugin-rcb2kzg1.js → websearch-rcb2kzg1.js} +0 -0
- /package/dist/chunks/{plugin-sdp7kfr6.js → websearch-sdp7kfr6.js} +0 -0
- /package/dist/chunks/{plugin-ssg3fenm.js → websearch-ssg3fenm.js} +0 -0
- /package/dist/chunks/{plugin-ve7vex1e.js → websearch-ve7vex1e.js} +0 -0
- /package/dist/chunks/{plugin-w803qqfp.js → websearch-w803qqfp.js} +0 -0
- /package/dist/chunks/{plugin-wc3fc9cn.js → websearch-wc3fc9cn.js} +0 -0
- /package/dist/chunks/{plugin-wer8tq1h.js → websearch-wer8tq1h.js} +0 -0
- /package/dist/chunks/{plugin-wjj7prxr.js → websearch-wjj7prxr.js} +0 -0
- /package/dist/chunks/{plugin-wtztk69x.js → websearch-wtztk69x.js} +0 -0
- /package/dist/chunks/{plugin-x0ckcb58.js → websearch-x0ckcb58.js} +0 -0
- /package/dist/chunks/{plugin-x61499pn.js → websearch-x61499pn.js} +0 -0
- /package/dist/chunks/{plugin-y44na4kk.js → websearch-y44na4kk.js} +0 -0
- /package/dist/chunks/{plugin-y8f7s663.js → websearch-y8f7s663.js} +0 -0
- /package/dist/chunks/{plugin-ygaqb7jw.js → websearch-ygaqb7jw.js} +0 -0
- /package/dist/chunks/{plugin-ym463w8f.js → websearch-ym463w8f.js} +0 -0
- /package/dist/chunks/{plugin-z5v4ffb3.js → websearch-z5v4ffb3.js} +0 -0
- /package/dist/chunks/{plugin-z9919s4g.js → websearch-z9919s4g.js} +0 -0
|
@@ -1,19 +1,19 @@
|
|
|
1
1
|
import {
|
|
2
2
|
Service86,
|
|
3
3
|
node90
|
|
4
|
-
} from "./
|
|
4
|
+
} from "./websearch-z7h38hxc.js";
|
|
5
5
|
import {
|
|
6
|
-
|
|
6
|
+
Key3,
|
|
7
7
|
removed2,
|
|
8
|
-
|
|
8
|
+
make19,
|
|
9
9
|
combine2
|
|
10
|
-
} from "./
|
|
10
|
+
} from "./websearch-t550f9t1.js";
|
|
11
11
|
import {
|
|
12
12
|
InstructionEntryTable2
|
|
13
|
-
} from "./
|
|
13
|
+
} from "./websearch-c1fqxshp.js";
|
|
14
14
|
import {
|
|
15
15
|
__export
|
|
16
|
-
} from "./
|
|
16
|
+
} from "./websearch-9rqn6x4v.js";
|
|
17
17
|
|
|
18
18
|
// src/session/instruction-entry.ts
|
|
19
19
|
var exports_instruction_entry = {};
|
|
@@ -22,11 +22,11 @@ __export(exports_instruction_entry, {
|
|
|
22
22
|
InstructionEntry: () => exports_instruction_entry,
|
|
23
23
|
Key: () => Key2,
|
|
24
24
|
MaxValueBytes: () => MaxValueBytes2,
|
|
25
|
-
Service: () =>
|
|
25
|
+
Service: () => Service26,
|
|
26
26
|
Snapshot: () => Snapshot2,
|
|
27
27
|
ValueTooLargeError: () => ValueTooLargeError2,
|
|
28
28
|
initialize: () => initialize2,
|
|
29
|
-
node: () =>
|
|
29
|
+
node: () => node30,
|
|
30
30
|
snapshot: () => snapshot2
|
|
31
31
|
});
|
|
32
32
|
import { and, asc, eq, isNotNull, isNull, ne, or } from "drizzle-orm";
|
|
@@ -56,13 +56,13 @@ var initialize2 = Effect.fn("InstructionEntry.initialize")(function* (db, sessio
|
|
|
56
56
|
}))).run().pipe(Effect.orDie), { discard: true });
|
|
57
57
|
});
|
|
58
58
|
|
|
59
|
-
class
|
|
59
|
+
class Service26 extends Context.Service()("@opencode/InstructionEntry") {
|
|
60
60
|
}
|
|
61
61
|
var renderValue = (value) => typeof value === "string" ? value : JSON.stringify(value, null, 2);
|
|
62
62
|
var renderBlock = (key, value) => [`<context key="${key}">`, renderValue(value), "</context>"].join(`
|
|
63
63
|
`);
|
|
64
|
-
var source = (entry) =>
|
|
65
|
-
key:
|
|
64
|
+
var source = (entry) => make19({
|
|
65
|
+
key: Key3.make(`api/${entry.key}`),
|
|
66
66
|
codec: Schema.toCodecJson(Schema.Json),
|
|
67
67
|
read: Effect.succeed(entry.removed ? removed2 : entry.value),
|
|
68
68
|
render: {
|
|
@@ -75,7 +75,7 @@ var source = (entry) => make21({
|
|
|
75
75
|
removed: () => `The context under "${entry.key}" no longer applies. Disregard it.`
|
|
76
76
|
}
|
|
77
77
|
});
|
|
78
|
-
var layer = Layer.effect(
|
|
78
|
+
var layer = Layer.effect(Service26, Effect.gen(function* () {
|
|
79
79
|
const { db } = yield* Service86;
|
|
80
80
|
const rows = Effect.fnUntraced(function* (sessionID, includeRemoved) {
|
|
81
81
|
return yield* db.select({
|
|
@@ -108,8 +108,8 @@ var layer = Layer.effect(Service30, Effect.gen(function* () {
|
|
|
108
108
|
const load = Effect.fn("InstructionEntry.load")(function* (sessionID) {
|
|
109
109
|
return combine2((yield* rows(sessionID, true)).map(source));
|
|
110
110
|
});
|
|
111
|
-
return
|
|
111
|
+
return Service26.of({ list, put, remove, load });
|
|
112
112
|
}));
|
|
113
|
-
var
|
|
113
|
+
var node30 = makeLocationNode({ service: Service26, layer, deps: [node90] });
|
|
114
114
|
|
|
115
|
-
export { Key2, Info4, Snapshot2, MaxValueBytes2, ValueTooLargeError2, snapshot2, initialize2,
|
|
115
|
+
export { Key2, Info4, Snapshot2, MaxValueBytes2, ValueTooLargeError2, snapshot2, initialize2, Service26, node30, exports_instruction_entry };
|
|
@@ -1,30 +1,30 @@
|
|
|
1
1
|
import {
|
|
2
2
|
Service86,
|
|
3
3
|
node90
|
|
4
|
-
} from "./
|
|
4
|
+
} from "./websearch-z7h38hxc.js";
|
|
5
5
|
import {
|
|
6
6
|
makeUnsafe2
|
|
7
|
-
} from "./
|
|
7
|
+
} from "./websearch-y71avatq.js";
|
|
8
8
|
import {
|
|
9
9
|
Service85,
|
|
10
10
|
node89
|
|
11
|
-
} from "./
|
|
11
|
+
} from "./websearch-d1e92g2x.js";
|
|
12
12
|
import {
|
|
13
13
|
SessionEvent2
|
|
14
|
-
} from "./
|
|
14
|
+
} from "./websearch-ec1grn59.js";
|
|
15
15
|
import {
|
|
16
16
|
SessionMessage2
|
|
17
|
-
} from "./
|
|
17
|
+
} from "./websearch-gftt206x.js";
|
|
18
18
|
import {
|
|
19
19
|
SessionSchema2
|
|
20
|
-
} from "./
|
|
20
|
+
} from "./websearch-08rawchj.js";
|
|
21
21
|
import {
|
|
22
22
|
SessionMessageTable2,
|
|
23
23
|
SessionInboxTable2
|
|
24
|
-
} from "./
|
|
24
|
+
} from "./websearch-c1fqxshp.js";
|
|
25
25
|
import {
|
|
26
26
|
__export
|
|
27
|
-
} from "./
|
|
27
|
+
} from "./websearch-9rqn6x4v.js";
|
|
28
28
|
|
|
29
29
|
// src/session/inbox.ts
|
|
30
30
|
var exports_inbox = {};
|
|
@@ -32,12 +32,12 @@ __export(exports_inbox, {
|
|
|
32
32
|
Compaction: () => Compaction2,
|
|
33
33
|
CompactionPayload: () => CompactionPayload2,
|
|
34
34
|
Delivery: () => Delivery2,
|
|
35
|
-
Info: () =>
|
|
35
|
+
Info: () => Info7,
|
|
36
36
|
Item: () => Item2,
|
|
37
37
|
LifecycleConflict: () => LifecycleConflict2,
|
|
38
38
|
Move: () => Move2,
|
|
39
39
|
MovePayload: () => MovePayload2,
|
|
40
|
-
Service: () =>
|
|
40
|
+
Service: () => Service53,
|
|
41
41
|
SessionInbox: () => exports_inbox,
|
|
42
42
|
Synthetic: () => Synthetic2,
|
|
43
43
|
SyntheticPayload: () => SyntheticPayload2,
|
|
@@ -47,10 +47,10 @@ __export(exports_inbox, {
|
|
|
47
47
|
has: () => has2,
|
|
48
48
|
layer: () => layer22,
|
|
49
49
|
list: () => list3,
|
|
50
|
-
make: () =>
|
|
50
|
+
make: () => make18,
|
|
51
51
|
moveIDs: () => moveIDs2,
|
|
52
52
|
nextPromotable: () => nextPromotable2,
|
|
53
|
-
node: () =>
|
|
53
|
+
node: () => node56,
|
|
54
54
|
projectAdmitted: () => projectAdmitted2,
|
|
55
55
|
projectCancelled: () => projectCancelled2,
|
|
56
56
|
projectDelivered: () => projectDelivered2,
|
|
@@ -65,7 +65,7 @@ import {
|
|
|
65
65
|
Compaction as Compaction2,
|
|
66
66
|
CompactionPayload as CompactionPayload2,
|
|
67
67
|
Delivery as Delivery2,
|
|
68
|
-
Info as
|
|
68
|
+
Info as Info7,
|
|
69
69
|
Item as Item2,
|
|
70
70
|
Move as Move2,
|
|
71
71
|
MovePayload as MovePayload2,
|
|
@@ -151,9 +151,9 @@ var promotedFromMessage = Effect.fn("SessionInbox.promotedFromMessage")(function
|
|
|
151
151
|
return yield* new LifecycleConflict2({ id });
|
|
152
152
|
});
|
|
153
153
|
|
|
154
|
-
class
|
|
154
|
+
class Service53 extends Context.Service()("@opencode/SessionInbox") {
|
|
155
155
|
}
|
|
156
|
-
var
|
|
156
|
+
var make18 = Effect.fn("SessionInbox.make")(function* () {
|
|
157
157
|
const database = yield* Service86;
|
|
158
158
|
const db = database.db;
|
|
159
159
|
const bus = yield* Service85;
|
|
@@ -173,7 +173,7 @@ var make17 = Effect.fn("SessionInbox.make")(function* () {
|
|
|
173
173
|
inboxID: request.id,
|
|
174
174
|
sessionID: request.sessionID,
|
|
175
175
|
item: request.item
|
|
176
|
-
}).pipe(Effect.map((event) =>
|
|
176
|
+
}).pipe(Effect.map((event) => Info7.make({
|
|
177
177
|
id: request.id,
|
|
178
178
|
sessionID: request.sessionID,
|
|
179
179
|
time: { created: DateTime.makeUnsafe(event.created) },
|
|
@@ -227,8 +227,8 @@ var make17 = Effect.fn("SessionInbox.make")(function* () {
|
|
|
227
227
|
queue
|
|
228
228
|
};
|
|
229
229
|
});
|
|
230
|
-
var layer22 = Layer.effect(
|
|
231
|
-
var
|
|
230
|
+
var layer22 = Layer.effect(Service53, make18());
|
|
231
|
+
var node56 = makeGlobalNode({ service: Service53, layer: layer22, deps: [node90, node89] });
|
|
232
232
|
var projectAdmitted2 = Effect.fn("SessionInbox.projectAdmitted")(function* (db, request) {
|
|
233
233
|
const message = yield* db.select({ id: SessionMessageTable2.id }).from(SessionMessageTable2).where(eq(SessionMessageTable2.id, request.id)).get().pipe(Effect.orDie);
|
|
234
234
|
if (message !== undefined)
|
|
@@ -326,4 +326,4 @@ var pendingSteers = (db, sessionID) => db.select().from(SessionInboxTable2).wher
|
|
|
326
326
|
return rows;
|
|
327
327
|
}));
|
|
328
328
|
|
|
329
|
-
export { Compaction2, CompactionPayload2, Delivery2,
|
|
329
|
+
export { Compaction2, CompactionPayload2, Delivery2, Info7, Item2, Move2, MovePayload2, Synthetic2, SyntheticPayload2, User2, UserPayload2, serialized2, LifecycleConflict2, find2, Service53, make18, layer22, node56, projectAdmitted2, projectDelivered2, projectCancelled2, projectDeliveryChanged2, list3, moveIDs2, nextPromotable2, has2, promote2, exports_inbox };
|
|
@@ -1,34 +1,34 @@
|
|
|
1
1
|
import {
|
|
2
2
|
useragent2
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./websearch-560pyh3z.js";
|
|
4
4
|
import {
|
|
5
5
|
Service85
|
|
6
|
-
} from "./
|
|
6
|
+
} from "./websearch-d1e92g2x.js";
|
|
7
7
|
import {
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
} from "./
|
|
8
|
+
ID16,
|
|
9
|
+
Event19,
|
|
10
|
+
Service80
|
|
11
|
+
} from "./websearch-pxhmaprh.js";
|
|
12
12
|
import {
|
|
13
13
|
key2
|
|
14
|
-
} from "./
|
|
14
|
+
} from "./websearch-dgpsrprm.js";
|
|
15
15
|
import {
|
|
16
|
-
|
|
16
|
+
ID15,
|
|
17
17
|
MethodID2
|
|
18
|
-
} from "./
|
|
18
|
+
} from "./websearch-fzvw3sme.js";
|
|
19
19
|
import {
|
|
20
20
|
which2
|
|
21
|
-
} from "./
|
|
21
|
+
} from "./websearch-qaymkmh1.js";
|
|
22
22
|
import {
|
|
23
|
-
|
|
24
|
-
|
|
25
|
-
} from "./
|
|
23
|
+
ID12,
|
|
24
|
+
Service75
|
|
25
|
+
} from "./websearch-enzk9cpf.js";
|
|
26
26
|
import {
|
|
27
|
-
|
|
28
|
-
} from "./
|
|
27
|
+
ID11
|
|
28
|
+
} from "./websearch-mnvvj4zr.js";
|
|
29
29
|
import {
|
|
30
30
|
configuredSettings2
|
|
31
|
-
} from "./
|
|
31
|
+
} from "./websearch-3y4x7fjm.js";
|
|
32
32
|
|
|
33
33
|
// src/plugin/provider/azure.ts
|
|
34
34
|
import { Clock, Effect, FiberHandle, Option, Schema, Semaphore, Stream } from "effect";
|
|
@@ -63,18 +63,18 @@ var decodeManagementDeployment = Schema.decodeUnknownOption(Schema.Struct({
|
|
|
63
63
|
}));
|
|
64
64
|
var ResourceQuery = Schema.Struct({ query: Schema.String });
|
|
65
65
|
var Resources = Schema.Struct({ data: Schema.Array(Schema.Struct({ id: Schema.NonEmptyString })) });
|
|
66
|
-
function
|
|
66
|
+
function make8(endpoints = {
|
|
67
67
|
resource: (name) => `https://${name}.openai.azure.com/openai`,
|
|
68
68
|
management: "https://management.azure.com"
|
|
69
69
|
}) {
|
|
70
70
|
return define({
|
|
71
71
|
id: "opencode.provider.azure",
|
|
72
72
|
effect: Effect.fn(function* (ctx) {
|
|
73
|
-
const configured = yield* configuredSettings2(
|
|
73
|
+
const configured = yield* configuredSettings2(ID12.azure);
|
|
74
74
|
const processes = yield* AppProcess.Service;
|
|
75
75
|
const bus = yield* Service85;
|
|
76
|
-
const credentials = yield*
|
|
77
|
-
const providers = yield*
|
|
76
|
+
const credentials = yield* Service80;
|
|
77
|
+
const providers = yield* Service75;
|
|
78
78
|
const http = HttpClient.filterStatusOk(yield* HttpClient.HttpClient);
|
|
79
79
|
const tokens = new Map;
|
|
80
80
|
const resourceIDs = new Map;
|
|
@@ -100,11 +100,11 @@ function make6(endpoints = {
|
|
|
100
100
|
const configuredResource = Boolean(resolveResourceName(configured) || typeof configured?.baseURL === "string");
|
|
101
101
|
yield* ctx.integration.transform((editor) => {
|
|
102
102
|
editor.method.update({
|
|
103
|
-
integrationID:
|
|
103
|
+
integrationID: ID12.azure,
|
|
104
104
|
method: { type: "env", names: ["AZURE_API_KEY", "AZURE_COGNITIVE_SERVICES_API_KEY"] }
|
|
105
105
|
});
|
|
106
106
|
editor.method.update({
|
|
107
|
-
integrationID:
|
|
107
|
+
integrationID: ID12.azure,
|
|
108
108
|
method: {
|
|
109
109
|
type: "key",
|
|
110
110
|
label: "API key",
|
|
@@ -122,7 +122,7 @@ function make6(endpoints = {
|
|
|
122
122
|
if (!available)
|
|
123
123
|
return;
|
|
124
124
|
editor.method.update({
|
|
125
|
-
integrationID:
|
|
125
|
+
integrationID: ID12.azure,
|
|
126
126
|
method: {
|
|
127
127
|
id: methodID,
|
|
128
128
|
type: "external",
|
|
@@ -142,8 +142,8 @@ function make6(endpoints = {
|
|
|
142
142
|
});
|
|
143
143
|
});
|
|
144
144
|
const load = Effect.fn("AzurePlugin.load")(function* () {
|
|
145
|
-
const connection = yield* ctx.integration.connection.active(
|
|
146
|
-
const stored = connection?.type === "credential" ? yield* credentials.get(
|
|
145
|
+
const connection = yield* ctx.integration.connection.active(ID12.azure);
|
|
146
|
+
const stored = connection?.type === "credential" ? yield* credentials.get(ID16.make(connection.id)) : undefined;
|
|
147
147
|
return { connection, resource: credentialResource(stored?.value) };
|
|
148
148
|
});
|
|
149
149
|
const findResource = Effect.fn("AzurePlugin.findResource")(function* (resource) {
|
|
@@ -182,7 +182,7 @@ function make6(endpoints = {
|
|
|
182
182
|
}));
|
|
183
183
|
const discover = Effect.fn("AzurePlugin.discover")(function* () {
|
|
184
184
|
const connection = loaded.connection;
|
|
185
|
-
const settings = (yield* providers.get(
|
|
185
|
+
const settings = (yield* providers.get(ID12.azure))?.settings;
|
|
186
186
|
const name = loaded.resource ?? resolveResourceName(settings);
|
|
187
187
|
const url = connection && name !== undefined && resourcePattern.test(name) && typeof settings?.baseURL !== "string" ? `${endpoints.resource(name)}/deployments?api-version=2022-12-01` : undefined;
|
|
188
188
|
if (loaded.connection !== connection)
|
|
@@ -204,11 +204,11 @@ function make6(endpoints = {
|
|
|
204
204
|
const found = yield* deployments(url, name, credential).pipe(Effect.map((list) => list.toSorted((a, b) => a.name.localeCompare(b.name))), Effect.catch((cause) => Effect.logWarning("failed to sync Azure deployments", { cause }).pipe(Effect.as(undefined))));
|
|
205
205
|
if (!found)
|
|
206
206
|
return;
|
|
207
|
-
if (loaded.connection !== connection || key2(connection) !== key2(yield* ctx.integration.connection.active(
|
|
207
|
+
if (loaded.connection !== connection || key2(connection) !== key2(yield* ctx.integration.connection.active(ID12.azure)))
|
|
208
208
|
return;
|
|
209
209
|
if (JSON.stringify(found) === JSON.stringify(loaded.deployments))
|
|
210
210
|
return;
|
|
211
|
-
const catalog = new Map(Array.from((yield* providers.snapshot()).records.get(
|
|
211
|
+
const catalog = new Map(Array.from((yield* providers.snapshot()).records.get(ID12.azure)?.models.keys() ?? [], (id) => [
|
|
212
212
|
id.toLowerCase(),
|
|
213
213
|
id
|
|
214
214
|
]));
|
|
@@ -221,11 +221,11 @@ function make6(endpoints = {
|
|
|
221
221
|
yield* ctx.model.reload();
|
|
222
222
|
});
|
|
223
223
|
const refresh = () => rebind().pipe(Effect.andThen(FiberHandle.run(discovery, discover())));
|
|
224
|
-
const resourceFor = (provider) => provider.id ===
|
|
224
|
+
const resourceFor = (provider) => provider.id === ID12.azure ? loaded.resource ?? resolveResourceName(provider.settings) : resolveResourceName(provider.settings, loaded.resource);
|
|
225
225
|
Object.assign(loaded, yield* load());
|
|
226
226
|
yield* ctx.provider.transform((evt) => {
|
|
227
227
|
for (const item of evt.list()) {
|
|
228
|
-
if (item.provider.id !==
|
|
228
|
+
if (item.provider.id !== ID12.azure && !item.provider.package.startsWith("@opencode/ai/providers/azure/"))
|
|
229
229
|
continue;
|
|
230
230
|
const resourceName = resourceFor(item.provider);
|
|
231
231
|
const websocket = responsesWebSocketCapable(item.provider);
|
|
@@ -240,7 +240,7 @@ function make6(endpoints = {
|
|
|
240
240
|
};
|
|
241
241
|
});
|
|
242
242
|
}
|
|
243
|
-
const item = evt.get(
|
|
243
|
+
const item = evt.get(ID12.azure);
|
|
244
244
|
if (!item)
|
|
245
245
|
return;
|
|
246
246
|
evt.add({
|
|
@@ -251,7 +251,7 @@ function make6(endpoints = {
|
|
|
251
251
|
});
|
|
252
252
|
yield* ctx.model.transform((models) => {
|
|
253
253
|
for (const item of models.provider.list()) {
|
|
254
|
-
if (item.provider.id !==
|
|
254
|
+
if (item.provider.id !== ID12.azure && !item.provider.package.startsWith("@opencode/ai/providers/azure/"))
|
|
255
255
|
continue;
|
|
256
256
|
const resourceName = resourceFor(item.provider);
|
|
257
257
|
for (const model of models.list(item.provider.id)) {
|
|
@@ -263,20 +263,20 @@ function make6(endpoints = {
|
|
|
263
263
|
}
|
|
264
264
|
if (!loaded.deployments)
|
|
265
265
|
return;
|
|
266
|
-
const catalog = models.list(
|
|
266
|
+
const catalog = models.list(ID12.azure);
|
|
267
267
|
const deployed = deployedModels(loaded.deployments, catalog);
|
|
268
268
|
for (const model of catalog) {
|
|
269
269
|
if (!deployed.has(model.id))
|
|
270
|
-
models.remove(
|
|
270
|
+
models.remove(ID12.azure, model.id);
|
|
271
271
|
}
|
|
272
272
|
for (const [id, model] of deployed) {
|
|
273
|
-
models.update(
|
|
273
|
+
models.update(ID12.azure, id, (draft) => Object.assign(draft, model));
|
|
274
274
|
}
|
|
275
275
|
});
|
|
276
|
-
yield* bus.subscribe(
|
|
276
|
+
yield* bus.subscribe(Event19.Switched).pipe(Stream.filter((event) => event.data.integrationID === ID15.make("azure")), Stream.runForEach(() => refresh()), Effect.forkScoped({ startImmediately: true }));
|
|
277
277
|
yield* refresh().pipe(Effect.forkScoped);
|
|
278
278
|
const bearer = Effect.fn("AzurePlugin.bearer")(function* (url) {
|
|
279
|
-
const connection = yield* ctx.integration.connection.active(
|
|
279
|
+
const connection = yield* ctx.integration.connection.active(ID12.azure);
|
|
280
280
|
const credential = connection ? yield* ctx.integration.connection.resolve(connection).pipe(Effect.orElseSucceed(() => {
|
|
281
281
|
return;
|
|
282
282
|
})) : undefined;
|
|
@@ -288,7 +288,7 @@ function make6(endpoints = {
|
|
|
288
288
|
return `Bearer ${current.access}`;
|
|
289
289
|
});
|
|
290
290
|
yield* ctx.session.hook("http.request", (evt) => Effect.gen(function* () {
|
|
291
|
-
if (evt.model.providerID !==
|
|
291
|
+
if (evt.model.providerID !== ID12.azure)
|
|
292
292
|
return;
|
|
293
293
|
const authorization = yield* bearer(evt.request.url);
|
|
294
294
|
if (!authorization)
|
|
@@ -297,9 +297,9 @@ function make6(endpoints = {
|
|
|
297
297
|
evt.request.headers.delete("x-api-key");
|
|
298
298
|
evt.request.headers.set("authorization", authorization);
|
|
299
299
|
evt.request.headers.set("user-agent", useragent2(ctx.app));
|
|
300
|
-
}), { providerID:
|
|
300
|
+
}), { providerID: ID12.azure });
|
|
301
301
|
yield* ctx.session.hook("experimental.ws.handshake", (evt) => Effect.gen(function* () {
|
|
302
|
-
if (evt.model.providerID !==
|
|
302
|
+
if (evt.model.providerID !== ID12.azure)
|
|
303
303
|
return;
|
|
304
304
|
const authorization = yield* bearer(evt.url);
|
|
305
305
|
if (!authorization)
|
|
@@ -308,11 +308,11 @@ function make6(endpoints = {
|
|
|
308
308
|
delete evt.headers["x-api-key"];
|
|
309
309
|
evt.headers.authorization = authorization;
|
|
310
310
|
evt.headers["user-agent"] = useragent2(ctx.app);
|
|
311
|
-
}), { providerID:
|
|
311
|
+
}), { providerID: ID12.azure });
|
|
312
312
|
})
|
|
313
313
|
});
|
|
314
314
|
}
|
|
315
|
-
var AzurePlugin2 =
|
|
315
|
+
var AzurePlugin2 = make8();
|
|
316
316
|
function resolveResourceName(settings, fallback) {
|
|
317
317
|
const configured = settings?.resourceName;
|
|
318
318
|
if (typeof configured === "string" && configured.trim() !== "")
|
|
@@ -342,11 +342,11 @@ function deployedModels(deployments, catalog) {
|
|
|
342
342
|
const model = catalogModel(models, deployment);
|
|
343
343
|
if (!model)
|
|
344
344
|
return [];
|
|
345
|
-
const id =
|
|
345
|
+
const id = ID11.make(deployment.name.toLowerCase());
|
|
346
346
|
const info = {
|
|
347
347
|
...structuredClone(model),
|
|
348
348
|
id,
|
|
349
|
-
modelID:
|
|
349
|
+
modelID: ID11.make(deployment.name),
|
|
350
350
|
name: id === model.id.toLowerCase() ? model.name : `${model.name} (${deployment.name})`
|
|
351
351
|
};
|
|
352
352
|
return [[id, info]];
|
|
@@ -368,4 +368,4 @@ function responsesWebSocketCapable(provider) {
|
|
|
368
368
|
return /^https:\/\/[^/]+\.openai\.azure\.com(?:\/|$)/i.test(settings.baseURL);
|
|
369
369
|
}
|
|
370
370
|
|
|
371
|
-
export {
|
|
371
|
+
export { make8, AzurePlugin2 };
|
|
@@ -1,19 +1,19 @@
|
|
|
1
1
|
import {
|
|
2
2
|
policy3
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./websearch-fcy631f0.js";
|
|
4
4
|
import {
|
|
5
5
|
SessionEvent2
|
|
6
|
-
} from "./
|
|
6
|
+
} from "./websearch-ec1grn59.js";
|
|
7
7
|
import {
|
|
8
8
|
__export
|
|
9
|
-
} from "./
|
|
9
|
+
} from "./websearch-9rqn6x4v.js";
|
|
10
10
|
|
|
11
11
|
// src/session/runner/retry.ts
|
|
12
12
|
var exports_retry = {};
|
|
13
13
|
__export(exports_retry, {
|
|
14
14
|
SessionRunnerRetry: () => exports_retry,
|
|
15
15
|
isRetryable: () => isRetryable2,
|
|
16
|
-
make: () =>
|
|
16
|
+
make: () => make4,
|
|
17
17
|
policy: () => policy2
|
|
18
18
|
});
|
|
19
19
|
import { isRetryable as isRetryable2 } from "@opencode/ai";
|
|
@@ -39,7 +39,7 @@ var policy2 = (sessionID) => Effect.gen(function* () {
|
|
|
39
39
|
return { retry: true, attempt: next.attempt, delay: normalized };
|
|
40
40
|
});
|
|
41
41
|
});
|
|
42
|
-
var
|
|
42
|
+
var make4 = (bus, sessionID) => Effect.gen(function* () {
|
|
43
43
|
const decide = yield* policy2(sessionID);
|
|
44
44
|
const wait = (input) => Effect.gen(function* () {
|
|
45
45
|
const scheduled = yield* Clock.currentTimeMillis;
|
|
@@ -56,4 +56,4 @@ var make9 = (bus, sessionID) => Effect.gen(function* () {
|
|
|
56
56
|
return { decide, wait };
|
|
57
57
|
});
|
|
58
58
|
|
|
59
|
-
export { isRetryable2, policy2,
|
|
59
|
+
export { isRetryable2, policy2, make4, exports_retry };
|
|
@@ -1,21 +1,21 @@
|
|
|
1
1
|
import {
|
|
2
2
|
useragent2
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./websearch-560pyh3z.js";
|
|
4
4
|
import {
|
|
5
5
|
collectBoundedResponseBody2
|
|
6
|
-
} from "./
|
|
6
|
+
} from "./websearch-3v8g72cx.js";
|
|
7
7
|
import {
|
|
8
|
-
|
|
8
|
+
MAX_RESPONSE_BYTES3,
|
|
9
9
|
call2
|
|
10
|
-
} from "./
|
|
10
|
+
} from "./websearch-ywt8jp22.js";
|
|
11
11
|
import {
|
|
12
12
|
__export
|
|
13
|
-
} from "./
|
|
13
|
+
} from "./websearch-9rqn6x4v.js";
|
|
14
14
|
|
|
15
15
|
// src/plugin/websearch/tinyfish.ts
|
|
16
16
|
var exports_tinyfish = {};
|
|
17
17
|
__export(exports_tinyfish, {
|
|
18
|
-
Plugin: () =>
|
|
18
|
+
Plugin: () => Plugin41,
|
|
19
19
|
WebSearchTinyFish: () => exports_tinyfish,
|
|
20
20
|
endpoint: () => endpoint5
|
|
21
21
|
});
|
|
@@ -51,7 +51,7 @@ var InitializedNotification = Schema.Struct({
|
|
|
51
51
|
jsonrpc: Schema.Literal("2.0"),
|
|
52
52
|
method: Schema.Literal("notifications/initialized")
|
|
53
53
|
});
|
|
54
|
-
var
|
|
54
|
+
var Plugin41 = define({
|
|
55
55
|
id: "opencode.websearch.tinyfish",
|
|
56
56
|
effect: Effect.fn("WebSearchTinyFish.Plugin")(function* (ctx) {
|
|
57
57
|
const http = yield* HttpClient.HttpClient;
|
|
@@ -105,7 +105,7 @@ var initialize = (http, headers) => Effect.gen(function* () {
|
|
|
105
105
|
}
|
|
106
106
|
}));
|
|
107
107
|
const response = yield* client.execute(request);
|
|
108
|
-
yield* collectBoundedResponseBody2(response,
|
|
108
|
+
yield* collectBoundedResponseBody2(response, MAX_RESPONSE_BYTES3, () => new Error(`initialize response exceeded ${MAX_RESPONSE_BYTES3} bytes`));
|
|
109
109
|
const session = response.headers["mcp-session-id"];
|
|
110
110
|
if (session === undefined)
|
|
111
111
|
return yield* Effect.fail(new Error("TinyFish MCP initialize did not return an Mcp-Session-Id header"));
|
|
@@ -120,4 +120,4 @@ var initialize = (http, headers) => Effect.gen(function* () {
|
|
|
120
120
|
orElse: () => Effect.fail(new Error("TinyFish initialize request timed out"))
|
|
121
121
|
}));
|
|
122
122
|
|
|
123
|
-
export { endpoint5,
|
|
123
|
+
export { endpoint5, Plugin41, exports_tinyfish };
|
|
@@ -1,30 +1,30 @@
|
|
|
1
1
|
import {
|
|
2
2
|
latest2,
|
|
3
|
-
|
|
4
|
-
} from "./
|
|
3
|
+
Service71
|
|
4
|
+
} from "./websearch-e7jsfe8q.js";
|
|
5
5
|
import {
|
|
6
|
-
|
|
7
|
-
} from "./
|
|
6
|
+
Service36
|
|
7
|
+
} from "./websearch-qk9g970a.js";
|
|
8
8
|
import {
|
|
9
9
|
observe2
|
|
10
|
-
} from "./
|
|
10
|
+
} from "./websearch-qsdy395h.js";
|
|
11
11
|
import {
|
|
12
12
|
__export
|
|
13
|
-
} from "./
|
|
13
|
+
} from "./websearch-9rqn6x4v.js";
|
|
14
14
|
|
|
15
15
|
// src/config/plugin/tool-output.ts
|
|
16
16
|
var exports_tool_output = {};
|
|
17
17
|
__export(exports_tool_output, {
|
|
18
18
|
ConfigToolOutputPlugin: () => exports_tool_output,
|
|
19
|
-
Plugin: () =>
|
|
19
|
+
Plugin: () => Plugin6
|
|
20
20
|
});
|
|
21
21
|
import { define } from "@opencode/plugin/effect/plugin";
|
|
22
22
|
import { Effect } from "effect";
|
|
23
|
-
var
|
|
23
|
+
var Plugin6 = define({
|
|
24
24
|
id: "opencode.config.tool-output",
|
|
25
25
|
effect: Effect.fn(function* (ctx) {
|
|
26
|
-
const config = yield*
|
|
27
|
-
const output = yield*
|
|
26
|
+
const config = yield* Service71;
|
|
27
|
+
const output = yield* Service36;
|
|
28
28
|
const loaded = yield* observe2(config, ctx.event, output.reload());
|
|
29
29
|
yield* output.transform((editor) => {
|
|
30
30
|
const configured = latest2(loaded.entries, "tool_output");
|
|
@@ -38,4 +38,4 @@ var Plugin36 = define({
|
|
|
38
38
|
})
|
|
39
39
|
});
|
|
40
40
|
|
|
41
|
-
export {
|
|
41
|
+
export { Plugin6, exports_tool_output };
|
|
@@ -1,31 +1,31 @@
|
|
|
1
1
|
import {
|
|
2
|
-
|
|
3
|
-
} from "./
|
|
2
|
+
ID8
|
|
3
|
+
} from "./websearch-p2fnpnpq.js";
|
|
4
4
|
import {
|
|
5
5
|
AbsolutePath2
|
|
6
|
-
} from "./
|
|
6
|
+
} from "./websearch-z5v4ffb3.js";
|
|
7
7
|
import {
|
|
8
|
-
|
|
9
|
-
} from "./
|
|
8
|
+
Info15
|
|
9
|
+
} from "./websearch-ymgkxg7n.js";
|
|
10
10
|
import {
|
|
11
11
|
migrateAgent2
|
|
12
|
-
} from "./
|
|
12
|
+
} from "./websearch-1d5g2359.js";
|
|
13
13
|
import {
|
|
14
14
|
latest2,
|
|
15
|
-
|
|
16
|
-
} from "./
|
|
15
|
+
Service71
|
|
16
|
+
} from "./websearch-e7jsfe8q.js";
|
|
17
17
|
import {
|
|
18
18
|
parseOption2
|
|
19
|
-
} from "./
|
|
19
|
+
} from "./websearch-8m6m0r52.js";
|
|
20
20
|
import {
|
|
21
21
|
__export
|
|
22
|
-
} from "./
|
|
22
|
+
} from "./websearch-9rqn6x4v.js";
|
|
23
23
|
|
|
24
24
|
// src/config/plugin/agent.ts
|
|
25
|
-
var
|
|
26
|
-
__export(
|
|
27
|
-
ConfigAgentPlugin: () =>
|
|
28
|
-
Plugin: () =>
|
|
25
|
+
var exports_agent = {};
|
|
26
|
+
__export(exports_agent, {
|
|
27
|
+
ConfigAgentPlugin: () => exports_agent,
|
|
28
|
+
Plugin: () => Plugin3
|
|
29
29
|
});
|
|
30
30
|
import { define } from "@opencode/plugin/effect/plugin";
|
|
31
31
|
import { Document, Info } from "@opencode/schema/config";
|
|
@@ -40,14 +40,14 @@ var legacySources = [
|
|
|
40
40
|
];
|
|
41
41
|
var sourceDirectories = ["agent", "agents", "mode", "modes"];
|
|
42
42
|
var decodeAgent = Schema.decodeUnknownOption(ConfigAgent.Info);
|
|
43
|
-
var decodeLegacyAgent = Schema.decodeUnknownOption(
|
|
43
|
+
var decodeLegacyAgent = Schema.decodeUnknownOption(Info15);
|
|
44
44
|
var decodeConfig = Schema.decodeUnknownOption(Info);
|
|
45
45
|
var pathActions = ["external_directory", "read", "edit"];
|
|
46
46
|
var agentKeys = new Set(["variant", ...Object.keys(ConfigAgent.Info.fields)]);
|
|
47
|
-
var
|
|
47
|
+
var Plugin3 = define({
|
|
48
48
|
id: "opencode.config.agent",
|
|
49
49
|
effect: Effect.fn(function* (ctx) {
|
|
50
|
-
const config = yield*
|
|
50
|
+
const config = yield* Service71;
|
|
51
51
|
const fs = yield* FSUtil.Service;
|
|
52
52
|
const global = yield* Global.Service;
|
|
53
53
|
const loadEntry = Effect.fnUntraced(function* (entry) {
|
|
@@ -76,13 +76,13 @@ var Plugin25 = define({
|
|
|
76
76
|
const permissions = expandPermissions(loaded.documents.flatMap((document) => document.info.permissions ?? []), global.home);
|
|
77
77
|
const configuredDefault = latest2(loaded.documents, "default_agent");
|
|
78
78
|
if (configuredDefault !== undefined)
|
|
79
|
-
editor.default(
|
|
79
|
+
editor.default(ID8.make(configuredDefault));
|
|
80
80
|
for (const current of editor.list()) {
|
|
81
81
|
editor.update(current.id, (agent) => agent.permissions.push(...permissions));
|
|
82
82
|
}
|
|
83
83
|
for (const document of loaded.documents) {
|
|
84
84
|
for (const [id, item] of Object.entries(document.info.agents ?? {})) {
|
|
85
|
-
const agentID =
|
|
85
|
+
const agentID = ID8.make(id);
|
|
86
86
|
if (item.disabled) {
|
|
87
87
|
editor.remove(agentID);
|
|
88
88
|
continue;
|
|
@@ -161,4 +161,4 @@ function decode(file, content) {
|
|
|
161
161
|
return new Document({ type: "document", path: AbsolutePath2.make(file.filepath), info });
|
|
162
162
|
}
|
|
163
163
|
|
|
164
|
-
export {
|
|
164
|
+
export { Plugin3, exports_agent };
|