@opencode/core 0.0.0-dev-21220 → 0.0.0-dev-21221
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 +83 -83
- 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/{aisdk-native-00t2h6dg.js → plugin-070qhrs5.js} +15 -15
- package/dist/chunks/{aisdk-native-n8pg0qjd.js → plugin-0jzagckz.js} +5 -5
- package/dist/chunks/{aisdk-native-ma2cat3a.js → plugin-0keg1444.js} +20 -20
- package/dist/chunks/{aisdk-native-0vbcp93d.js → plugin-0vbcp93d.js} +2 -2
- package/dist/chunks/{aisdk-native-zaae9kjh.js → plugin-0xvt5sjc.js} +25 -25
- package/dist/chunks/{aisdk-native-dmjy6c0w.js → plugin-0z0xt0qd.js} +6 -6
- package/dist/chunks/{aisdk-native-f9zyg49s.js → plugin-10fabjt5.js} +20 -20
- package/dist/chunks/{aisdk-native-5ahekpak.js → plugin-115n69wy.js} +3 -3
- package/dist/chunks/{aisdk-native-sdhdwhbp.js → plugin-12c79r2r.js} +34 -34
- package/dist/chunks/{aisdk-native-6gw63a25.js → plugin-198d9mzv.js} +9 -9
- package/dist/chunks/{aisdk-native-44h5n585.js → plugin-1aw4gej2.js} +3 -3
- package/dist/chunks/{aisdk-native-0hafswb3.js → plugin-1cm76eae.js} +10 -10
- package/dist/chunks/{aisdk-native-ez797pdp.js → plugin-1dbhy73q.js} +30 -30
- package/dist/chunks/{aisdk-native-35gery73.js → plugin-1kppp5pt.js} +17 -17
- package/dist/chunks/plugin-1njtfd0a.js +513 -0
- package/dist/chunks/{aisdk-native-z3c09qxv.js → plugin-23m508yx.js} +41 -41
- package/dist/chunks/{aisdk-native-868jpz0q.js → plugin-285gq72j.js} +22 -22
- package/dist/chunks/{aisdk-native-vvnh8g93.js → plugin-2eeghdqz.js} +8 -8
- package/dist/chunks/{aisdk-native-agvwv052.js → plugin-2kjyncz9.js} +27 -27
- package/dist/chunks/{aisdk-native-d0mq8tsb.js → plugin-2s32b1pm.js} +2 -2
- package/dist/chunks/{aisdk-native-6c36t7zm.js → plugin-2t4agt4b.js} +23 -23
- package/dist/chunks/{aisdk-native-x7jq6m3g.js → plugin-37n2n5w8.js} +43 -43
- package/dist/chunks/{aisdk-native-gysx3xmk.js → plugin-3d3j723h.js} +21 -21
- package/dist/chunks/{aisdk-native-4q4fg3vp.js → plugin-3esnsjw3.js} +20 -20
- package/dist/chunks/{aisdk-native-3fc6dm20.js → plugin-3fc6dm20.js} +1 -1
- package/dist/chunks/{aisdk-native-3hepkmqq.js → plugin-3hepkmqq.js} +1 -1
- package/dist/chunks/{aisdk-native-2x24b4xs.js → plugin-3hw0jsnb.js} +8 -8
- package/dist/chunks/{aisdk-native-3hwn7j4h.js → plugin-3hwn7j4h.js} +2 -2
- package/dist/chunks/{aisdk-native-c3bnat5x.js → plugin-3jt410q4.js} +7 -7
- package/dist/chunks/{aisdk-native-3smtnn6g.js → plugin-3smtnn6g.js} +1 -1
- package/dist/chunks/{aisdk-native-3tvqynh2.js → plugin-3tvqynh2.js} +1 -1
- package/dist/chunks/{aisdk-native-3zsf4n22.js → plugin-3zsf4n22.js} +1 -1
- package/dist/chunks/{aisdk-native-m4h21xkg.js → plugin-402zq5v7.js} +3 -3
- package/dist/chunks/{aisdk-native-q72w3pyt.js → plugin-41kcpbvh.js} +17 -17
- package/dist/chunks/{aisdk-native-0dtza8v3.js → plugin-4aetnq1x.js} +23 -23
- package/dist/chunks/{aisdk-native-8v0thpb3.js → plugin-4j2dn6hj.js} +21 -21
- package/dist/chunks/{aisdk-native-9bg37h3c.js → plugin-4t8sy717.js} +11 -11
- package/dist/chunks/{aisdk-native-kgzzg23s.js → plugin-4yp6x2d7.js} +48 -48
- package/dist/chunks/{aisdk-native-p3axeep1.js → plugin-50t92zds.js} +3 -3
- package/dist/chunks/{aisdk-native-m9pa58re.js → plugin-52amxzsm.js} +11 -11
- package/dist/chunks/{aisdk-native-r94pvvab.js → plugin-54ma36ye.js} +4 -4
- package/dist/chunks/{aisdk-native-edvnhmer.js → plugin-59bj5a5r.js} +17 -17
- package/dist/chunks/{aisdk-native-gtbyq6t2.js → plugin-5aajkd2s.js} +8 -8
- package/dist/chunks/{aisdk-native-5m9w47nd.js → plugin-5m9w47nd.js} +1 -1
- package/dist/chunks/{aisdk-native-jxkw7g3g.js → plugin-62f7d5w0.js} +4 -4
- package/dist/chunks/{aisdk-native-ecvgfydr.js → plugin-64p25grz.js} +4 -4
- package/dist/chunks/{aisdk-native-6827pfxn.js → plugin-6827pfxn.js} +1 -1
- package/dist/chunks/{aisdk-native-7fgfh5ev.js → plugin-69j7zs37.js} +11 -11
- package/dist/chunks/{aisdk-native-v5dkyp31.js → plugin-6hh8tjw2.js} +4 -4
- package/dist/chunks/{aisdk-native-1dn5erhy.js → plugin-6ksqsqek.js} +50 -50
- package/dist/chunks/{aisdk-native-0hzeqre9.js → plugin-6vsk51wk.js} +26 -26
- package/dist/chunks/{aisdk-native-6xb47vfp.js → plugin-6xb47vfp.js} +1 -1
- package/dist/chunks/{aisdk-native-6gv3a9q2.js → plugin-740rcxm9.js} +45 -45
- package/dist/chunks/{aisdk-native-zb2cp6ej.js → plugin-74f1t3k7.js} +5 -5
- package/dist/chunks/{aisdk-native-58hng72m.js → plugin-76rvckpe.js} +5 -5
- package/dist/chunks/{aisdk-native-775gj3j1.js → plugin-775gj3j1.js} +2 -2
- package/dist/chunks/{aisdk-native-7bmhse3q.js → plugin-7bmhse3q.js} +1 -1
- package/dist/chunks/{aisdk-native-w0krv5wk.js → plugin-7qtm0zjx.js} +11 -11
- package/dist/chunks/{aisdk-native-66tem998.js → plugin-7z8fh6ek.js} +18 -18
- package/dist/chunks/{aisdk-native-84txncab.js → plugin-84txncab.js} +1 -1
- package/dist/chunks/{aisdk-native-2k71kv7p.js → plugin-86qzxe6p.js} +4 -4
- package/dist/chunks/{aisdk-native-wr0xqq7p.js → plugin-888qj2e2.js} +23 -23
- package/dist/chunks/{aisdk-native-8aaqm6qj.js → plugin-89bb6baa.js} +8 -8
- package/dist/chunks/{aisdk-native-8yh2yfw0.js → plugin-8aj8cqg2.js} +11 -11
- package/dist/chunks/{aisdk-native-jgn0b4n7.js → plugin-8ef59yay.js} +20 -20
- package/dist/chunks/{aisdk-native-8m6m0r52.js → plugin-8m6m0r52.js} +1 -1
- package/dist/chunks/{aisdk-native-73jpfnfw.js → plugin-8mwrernq.js} +5 -5
- package/dist/chunks/{aisdk-native-rpcaq7qy.js → plugin-93zcbdft.js} +9 -9
- package/dist/chunks/{aisdk-native-20sym1kb.js → plugin-94rjkma0.js} +52 -52
- package/dist/chunks/{aisdk-native-nqrdsdd4.js → plugin-9765jw9y.js} +25 -25
- package/dist/chunks/{aisdk-native-964c63xc.js → plugin-9q7jyg7c.js} +11 -11
- package/dist/chunks/{aisdk-native-9mtse1jd.js → plugin-9q9bjydx.js} +12 -12
- package/dist/chunks/{aisdk-native-01bt6jpn.js → plugin-9rf0tb8v.js} +7 -7
- package/dist/chunks/{aisdk-native-gdc8vnhp.js → plugin-9sx8p9wy.js} +11 -11
- package/dist/chunks/{aisdk-native-vqynjhy9.js → plugin-a8nkje97.js} +11 -11
- package/dist/chunks/{aisdk-native-d8mh2b2s.js → plugin-aa8m7hpg.js} +11 -11
- package/dist/chunks/{aisdk-native-xtxypabt.js → plugin-aacha31a.js} +5 -5
- package/dist/chunks/{aisdk-native-hes5h1xt.js → plugin-ab430ytr.js} +18 -18
- package/dist/chunks/{aisdk-native-j81sg5x4.js → plugin-ac8yy21c.js} +4 -4
- package/dist/chunks/{aisdk-native-9as05e25.js → plugin-afa2wr9d.js} +39 -39
- package/dist/chunks/{aisdk-native-t174gb7t.js → plugin-ahbff7y9.js} +179 -179
- package/dist/chunks/{aisdk-native-fyjdrqsb.js → plugin-am0k9m0x.js} +15 -15
- package/dist/chunks/{aisdk-native-8ygp4gdy.js → plugin-as9zhty2.js} +25 -25
- package/dist/chunks/{aisdk-native-htkpc41k.js → plugin-b3z8ymyn.js} +5 -5
- package/dist/chunks/{aisdk-native-4kr59fmq.js → plugin-bjjrptk6.js} +35 -35
- package/dist/chunks/{aisdk-native-bjx1sjef.js → plugin-bjx1sjef.js} +2 -2
- package/dist/chunks/{aisdk-native-4a1s5xyh.js → plugin-bn0s77k4.js} +5 -5
- package/dist/chunks/{aisdk-native-1dhdy9cn.js → plugin-bs9schwq.js} +11 -11
- package/dist/chunks/{aisdk-native-r9w3djhf.js → plugin-bydnjh3t.js} +9 -9
- package/dist/chunks/{aisdk-native-rsp5acvb.js → plugin-bz1taw9s.js} +6 -6
- package/dist/chunks/{aisdk-native-bzeyqsqd.js → plugin-bzeyqsqd.js} +1 -1
- package/dist/chunks/{aisdk-native-bpk5d92y.js → plugin-c0jmgjpk.js} +69 -69
- package/dist/chunks/{aisdk-native-92m26718.js → plugin-c0vgfjee.js} +21 -21
- package/dist/chunks/{aisdk-native-pv5fn891.js → plugin-c1f210cy.js} +10 -10
- package/dist/chunks/{aisdk-native-rj3eygr5.js → plugin-c41wscbt.js} +2 -2
- package/dist/chunks/{aisdk-native-arw1hzsx.js → plugin-c6cjq7nb.js} +18 -18
- package/dist/chunks/plugin-c7z020gt.js +257 -0
- package/dist/chunks/{aisdk-native-y1qtn1jb.js → plugin-c83qkf90.js} +22 -22
- package/dist/chunks/{aisdk-native-sa8ekw3f.js → plugin-c8ax2afj.js} +2 -2
- package/dist/chunks/{aisdk-native-aee2g2nk.js → plugin-cj8qh2kh.js} +13 -13
- package/dist/chunks/{aisdk-native-pb540qwf.js → plugin-ckenc1yr.js} +12 -12
- package/dist/chunks/{aisdk-native-yjy4h1ew.js → plugin-cmrk9ec6.js} +5 -5
- package/dist/chunks/{aisdk-native-n94xtq06.js → plugin-cnjds07p.js} +33 -33
- package/dist/chunks/{aisdk-native-hyqzngy7.js → plugin-cq3j3qrj.js} +11 -11
- package/dist/chunks/{aisdk-native-c0e0e8ey.js → plugin-cse4gz6e.js} +27 -27
- package/dist/chunks/{aisdk-native-e8s3gzb7.js → plugin-cvz808pw.js} +19 -19
- package/dist/chunks/{aisdk-native-wrshvmsc.js → plugin-cy1jkq5t.js} +3 -3
- package/dist/chunks/{aisdk-native-d1a28jh7.js → plugin-d1a28jh7.js} +2 -2
- package/dist/chunks/{aisdk-native-bxqk5pf5.js → plugin-d7x0sh0y.js} +9 -9
- package/dist/chunks/{aisdk-native-vkpq0w6z.js → plugin-d9qxn0qv.js} +310 -310
- package/dist/chunks/{aisdk-native-ftqcys6q.js → plugin-df0nygd0.js} +5 -5
- package/dist/chunks/{aisdk-native-wh2s52ck.js → plugin-djfcc8tb.js} +24 -24
- package/dist/chunks/{aisdk-native-dpkg50ah.js → plugin-dpkg50ah.js} +1 -1
- package/dist/chunks/{aisdk-native-9hn6k4tm.js → plugin-dv1qgsyq.js} +4 -4
- package/dist/chunks/{aisdk-native-qc069cmf.js → plugin-dwshgxce.js} +10 -10
- package/dist/chunks/{aisdk-native-f82h8wem.js → plugin-e4d116nx.js} +11 -11
- package/dist/chunks/{aisdk-native-hkzjbgzh.js → plugin-e5hzpbqm.js} +17 -17
- package/dist/chunks/{aisdk-native-e80seqcp.js → plugin-e80seqcp.js} +1 -1
- package/dist/chunks/{aisdk-native-s8d7rejh.js → plugin-eaj1djv9.js} +6 -6
- package/dist/chunks/{aisdk-native-eej6y6fw.js → plugin-eej6y6fw.js} +2 -2
- package/dist/chunks/{aisdk-native-ef5x83kb.js → plugin-ef5x83kb.js} +1 -1
- package/dist/chunks/{aisdk-native-c1fqxshp.js → plugin-es1vcfrp.js} +3 -3
- package/dist/chunks/{aisdk-native-r2hyv6v6.js → plugin-eydnycg8.js} +12 -12
- package/dist/chunks/{aisdk-native-n1n192bv.js → plugin-f29mbr7f.js} +4 -4
- package/dist/chunks/{aisdk-native-4jdat1bc.js → plugin-f5ksndmy.js} +16 -16
- package/dist/chunks/{aisdk-native-870xxhcg.js → plugin-f8hkc90z.js} +25 -25
- package/dist/chunks/{aisdk-native-fcy631f0.js → plugin-fcy631f0.js} +1 -1
- package/dist/chunks/{aisdk-native-rws70xff.js → plugin-fn26y8ec.js} +4 -4
- package/dist/chunks/{aisdk-native-fn9t717r.js → plugin-fn9t717r.js} +3 -3
- package/dist/chunks/{aisdk-native-0a838aw7.js → plugin-fnpfk5vv.js} +23 -23
- package/dist/chunks/{aisdk-native-s5v88m8b.js → plugin-fpk8rssf.js} +26 -26
- package/dist/chunks/{aisdk-native-djszqvmq.js → plugin-ft3hqk2c.js} +9 -9
- package/dist/chunks/{aisdk-native-pba85c1x.js → plugin-fww2ha2b.js} +10 -10
- package/dist/chunks/{aisdk-native-fxaymqdw.js → plugin-fxaymqdw.js} +1 -1
- package/dist/chunks/{aisdk-native-pggqphbb.js → plugin-fy9mnahn.js} +15 -15
- package/dist/chunks/{aisdk-native-e3ernxe7.js → plugin-g104pgrn.js} +16 -16
- package/dist/chunks/{aisdk-native-xrw95pfq.js → plugin-g8jz9jm1.js} +20 -20
- package/dist/chunks/{aisdk-native-d155z3da.js → plugin-g93ctjjx.js} +79 -79
- package/dist/chunks/{aisdk-native-gd4qta3r.js → plugin-gd4qta3r.js} +1 -1
- package/dist/chunks/{aisdk-native-125erwh2.js → plugin-gfbqq99x.js} +17 -17
- package/dist/chunks/{aisdk-native-47jkzegy.js → plugin-gj71zhbs.js} +5 -5
- package/dist/chunks/{aisdk-native-a3phz3qx.js → plugin-gktp29ka.js} +9 -9
- package/dist/chunks/{aisdk-native-z7hwhvh5.js → plugin-gp8pq3a9.js} +10 -10
- package/dist/chunks/{aisdk-native-rdsnjrfc.js → plugin-gqdhpk5g.js} +50 -50
- package/dist/chunks/{aisdk-native-47ryp4k2.js → plugin-gqdpvkcc.js} +28 -28
- package/dist/chunks/{aisdk-native-addxnjmp.js → plugin-gqtdsdt7.js} +4 -4
- package/dist/chunks/{aisdk-native-0wb900tv.js → plugin-gxtzvc78.js} +13 -13
- package/dist/chunks/{aisdk-native-h6vf3j39.js → plugin-h6vf3j39.js} +1 -1
- package/dist/chunks/{aisdk-native-bfegkxfd.js → plugin-hcv80w8f.js} +8 -8
- package/dist/chunks/{aisdk-native-d1mtykxg.js → plugin-hdab2k61.js} +6 -6
- package/dist/chunks/{aisdk-native-j3g2dyh1.js → plugin-hdcfjgk2.js} +7 -7
- package/dist/chunks/{aisdk-native-e67pk9jk.js → plugin-hen5kt05.js} +19 -19
- package/dist/chunks/{aisdk-native-hgz4x7wa.js → plugin-hgz4x7wa.js} +1 -1
- package/dist/chunks/{aisdk-native-6kygg5xb.js → plugin-hrf19ha5.js} +9 -9
- package/dist/chunks/{aisdk-native-ncf68bzz.js → plugin-hsjvmpjh.js} +8 -8
- package/dist/chunks/{aisdk-native-js2rb17a.js → plugin-hxwres1w.js} +18 -18
- package/dist/chunks/{aisdk-native-j09zfasm.js → plugin-j09zfasm.js} +3 -3
- package/dist/chunks/{aisdk-native-d737nyfv.js → plugin-j2xfbvx1.js} +9 -9
- package/dist/chunks/{aisdk-native-v7z2bvyd.js → plugin-j34bs4nz.js} +4 -4
- package/dist/chunks/{aisdk-native-5fgjtvbx.js → plugin-j3r0bzqv.js} +13 -13
- package/dist/chunks/{aisdk-native-zghna9by.js → plugin-jd3kwnwc.js} +25 -25
- package/dist/chunks/{aisdk-native-yv2k04z1.js → plugin-jjz1bpfg.js} +19 -19
- package/dist/chunks/{aisdk-native-wbj2p430.js → plugin-jmfrr7px.js} +24 -24
- package/dist/chunks/{aisdk-native-y7zq5ngt.js → plugin-jwdcxdh9.js} +5 -5
- package/dist/chunks/{aisdk-native-7fkffz83.js → plugin-jws6fkes.js} +6 -6
- package/dist/chunks/{aisdk-native-4240p8v5.js → plugin-kfg0ch3v.js} +23 -23
- package/dist/chunks/{aisdk-native-fgxe4wrz.js → plugin-kt5qeaz8.js} +20 -20
- package/dist/chunks/{aisdk-native-kwb1v3vj.js → plugin-kwb1v3vj.js} +1 -1
- package/dist/chunks/{aisdk-native-56j08aec.js → plugin-m2yzbatp.js} +1 -1
- package/dist/chunks/{aisdk-native-5abk5tjt.js → plugin-m6yrq7vq.js} +33 -33
- package/dist/chunks/{aisdk-native-pbh33s6h.js → plugin-m8y8jchw.js} +28 -28
- package/dist/chunks/{aisdk-native-m9w0rfyh.js → plugin-m9w0rfyh.js} +1 -1
- package/dist/chunks/{aisdk-native-maspj1v3.js → plugin-maspj1v3.js} +1 -1
- package/dist/chunks/{aisdk-native-a028hnda.js → plugin-mk68qjcb.js} +17 -17
- package/dist/chunks/{aisdk-native-mdh48s5j.js → plugin-mnv0y1mf.js} +8 -8
- package/dist/chunks/{aisdk-native-yhjtd13q.js → plugin-n1ykz3fm.js} +8 -8
- package/dist/chunks/{aisdk-native-1mb4cj7x.js → plugin-n5nh64hp.js} +31 -31
- package/dist/chunks/{aisdk-native-fm0c4kf8.js → plugin-ne19x7kx.js} +12 -12
- package/dist/chunks/{aisdk-native-q4738phd.js → plugin-nx1kfred.js} +17 -17
- package/dist/chunks/{aisdk-native-837sg8gk.js → plugin-nzrpg0s9.js} +24 -24
- package/dist/chunks/{aisdk-native-a35wztqq.js → plugin-p2akh9ck.js} +6 -6
- package/dist/chunks/{aisdk-native-tvhr2192.js → plugin-p3kt6rvq.js} +14 -14
- package/dist/chunks/{aisdk-native-kx9fdtgf.js → plugin-p3x09g5q.js} +33 -33
- package/dist/chunks/{aisdk-native-bzdjezzk.js → plugin-p6cydsw4.js} +30 -30
- package/dist/chunks/{aisdk-native-q9g05p6g.js → plugin-p6jqyf33.js} +24 -24
- package/dist/chunks/{aisdk-native-nzm042n5.js → plugin-p6kcbx45.js} +13 -13
- package/dist/chunks/{aisdk-native-tnfaqx2m.js → plugin-p8xq36qy.js} +26 -26
- package/dist/chunks/{aisdk-native-2jyrgkd6.js → plugin-pawwdg1v.js} +43 -43
- package/dist/chunks/{aisdk-native-4w5f3qm5.js → plugin-pedttwxr.js} +8 -8
- package/dist/chunks/{aisdk-native-8xwx0x8y.js → plugin-pj4qns00.js} +16 -16
- package/dist/chunks/{aisdk-native-pjvnvgmy.js → plugin-pjvnvgmy.js} +1 -1
- package/dist/chunks/{aisdk-native-pknna89w.js → plugin-pknna89w.js} +1 -1
- package/dist/chunks/{aisdk-native-zg04vpx6.js → plugin-pwbkr4hj.js} +22 -22
- package/dist/chunks/{aisdk-native-bg5tyjg2.js → plugin-pwpy7q8b.js} +23 -23
- package/dist/chunks/{aisdk-native-hkffa77z.js → plugin-pyg4v0b6.js} +4 -4
- package/dist/chunks/{aisdk-native-carzvjky.js → plugin-q0yg6cnx.js} +29 -29
- package/dist/chunks/{aisdk-native-a0b0mn08.js → plugin-q4shcas9.js} +26 -26
- package/dist/chunks/{aisdk-native-3g8j9he4.js → plugin-q5e7cmwt.js} +1 -1
- package/dist/chunks/{aisdk-native-vc9dedve.js → plugin-qe8zjv0s.js} +15 -15
- package/dist/chunks/{aisdk-native-0xbft03y.js → plugin-qeerce1j.js} +6 -6
- package/dist/chunks/{aisdk-native-2k8khapm.js → plugin-qgn6gcr1.js} +5 -5
- package/dist/chunks/{aisdk-native-zwechzkm.js → plugin-qh4sb56n.js} +31 -31
- package/dist/chunks/plugin-qmn3ny5p.js +26 -0
- package/dist/chunks/{aisdk-native-qnc92qwc.js → plugin-qnc92qwc.js} +1 -1
- package/dist/chunks/{aisdk-native-8myf96ne.js → plugin-qqahyft1.js} +4 -4
- package/dist/chunks/{aisdk-native-qqeeq2t9.js → plugin-qqeeq2t9.js} +1 -1
- package/dist/chunks/{aisdk-native-z22h2k2d.js → plugin-qryy8w36.js} +12 -12
- package/dist/chunks/{aisdk-native-qsdy395h.js → plugin-qsdy395h.js} +1 -1
- package/dist/chunks/{aisdk-native-591k6mra.js → plugin-qv0sc65t.js} +6 -6
- package/dist/chunks/{aisdk-native-ttaqabbr.js → plugin-r3xhjxbf.js} +45 -45
- package/dist/chunks/plugin-rap9a73h.js +18 -0
- package/dist/chunks/{aisdk-native-rdw6cm16.js → plugin-rdw6cm16.js} +1 -1
- package/dist/chunks/{aisdk-native-8vmc8kvp.js → plugin-rp0j9w43.js} +1 -1
- package/dist/chunks/{aisdk-native-h8wg6m6b.js → plugin-rwp39ykb.js} +11 -11
- package/dist/chunks/{aisdk-native-ds2mmwsg.js → plugin-rxcdjwh1.js} +6 -6
- package/dist/chunks/{aisdk-native-3v4xdq78.js → plugin-rz255fs2.js} +11 -11
- package/dist/chunks/{aisdk-native-v1zds7xn.js → plugin-rz4mpgyr.js} +4 -4
- package/dist/chunks/{aisdk-native-ycj7z7jk.js → plugin-s414k2p9.js} +11 -11
- package/dist/chunks/{aisdk-native-57hamwgq.js → plugin-sabvt4dp.js} +14 -14
- package/dist/chunks/{aisdk-native-pe8xk4kc.js → plugin-sas35a8p.js} +30 -30
- package/dist/chunks/{aisdk-native-kb23527d.js → plugin-skmbfqn1.js} +23 -23
- package/dist/chunks/{aisdk-native-aqaaa72g.js → plugin-srcmwhc2.js} +5 -5
- package/dist/chunks/{aisdk-native-7jpw4wxw.js → plugin-sren5er7.js} +9 -9
- package/dist/chunks/{aisdk-native-vx3jgdek.js → plugin-ss358qx3.js} +3 -3
- package/dist/chunks/{aisdk-native-8jwfb7hg.js → plugin-stwc66ny.js} +23 -23
- package/dist/chunks/{aisdk-native-d2c3dpep.js → plugin-sw5khcyy.js} +8 -8
- package/dist/chunks/{aisdk-native-syv4x271.js → plugin-syv4x271.js} +1 -1
- package/dist/chunks/{aisdk-native-7d2a7xbs.js → plugin-t0sqncza.js} +5 -5
- package/dist/chunks/{aisdk-native-ybfds05b.js → plugin-t8msvgtk.js} +2 -2
- package/dist/chunks/{aisdk-native-tazgh4e4.js → plugin-tazgh4e4.js} +1 -1
- package/dist/chunks/{aisdk-native-89znhe33.js → plugin-tcezcvh9.js} +4 -4
- package/dist/chunks/{aisdk-native-tdstcens.js → plugin-tdstcens.js} +1 -1
- package/dist/chunks/{aisdk-native-9g4wx9da.js → plugin-tjkejp8s.js} +7 -7
- package/dist/chunks/{aisdk-native-rert0e01.js → plugin-tkb22qbm.js} +2 -2
- package/dist/chunks/{aisdk-native-tm0kqsz3.js → plugin-tm0kqsz3.js} +1 -1
- package/dist/chunks/{aisdk-native-x0w8hayp.js → plugin-tp98fvce.js} +13 -13
- package/dist/chunks/{aisdk-native-e4zn7x96.js → plugin-ttgdsfx4.js} +16 -16
- package/dist/chunks/{aisdk-native-9s8ttv32.js → plugin-twyq5zdv.js} +5 -5
- package/dist/chunks/{aisdk-native-bmr56wjg.js → plugin-txm3e8qz.js} +4 -4
- package/dist/chunks/{aisdk-native-tyytaxap.js → plugin-tyytaxap.js} +1 -1
- package/dist/chunks/{aisdk-native-adn0nrcn.js → plugin-tzrwrky5.js} +40 -40
- package/dist/chunks/{aisdk-native-v210v162.js → plugin-v210v162.js} +2 -2
- package/dist/chunks/{aisdk-native-x565edrq.js → plugin-v52rg5td.js} +12 -12
- package/dist/chunks/{aisdk-native-v7p4zvkq.js → plugin-v7p4zvkq.js} +2 -2
- package/dist/chunks/{aisdk-native-veqvce7d.js → plugin-veqvce7d.js} +1 -1
- package/dist/chunks/{aisdk-native-mmkq610m.js → plugin-vf544bmh.js} +21 -21
- package/dist/chunks/{aisdk-native-03v5rxka.js → plugin-vj4xxyb4.js} +83 -83
- package/dist/chunks/{aisdk-native-c6zhcetx.js → plugin-vr3wg9cz.js} +7 -7
- package/dist/chunks/{aisdk-native-78zmhfe7.js → plugin-vs1vsx5r.js} +30 -30
- package/dist/chunks/{aisdk-native-vzs5sf6e.js → plugin-vzs5sf6e.js} +1 -1
- package/dist/chunks/{aisdk-native-gvcmj5t7.js → plugin-w0n0a7xa.js} +6 -6
- package/dist/chunks/{aisdk-native-4xpgt2w9.js → plugin-w39jehkq.js} +5 -5
- package/dist/chunks/{aisdk-native-w3wsvvr9.js → plugin-w3wsvvr9.js} +1 -1
- package/dist/chunks/{aisdk-native-zcx28zkc.js → plugin-wahywgbq.js} +12 -12
- package/dist/chunks/{aisdk-native-wd87259q.js → plugin-wd87259q.js} +1 -1
- package/dist/chunks/{aisdk-native-gkf4j7pz.js → plugin-wj7pxz3y.js} +7 -7
- package/dist/chunks/{aisdk-native-y3ta1tym.js → plugin-wwjkedtk.js} +20 -20
- package/dist/chunks/{aisdk-native-a678bxte.js → plugin-x0zebc0n.js} +3 -3
- package/dist/chunks/{aisdk-native-kdjp63bt.js → plugin-x5tsewjk.js} +8 -8
- package/dist/chunks/{aisdk-native-zmhrrc5t.js → plugin-xbmfrhsr.js} +11 -11
- package/dist/chunks/{aisdk-native-zkdy635a.js → plugin-xcmydc7x.js} +18 -18
- package/dist/chunks/{aisdk-native-m3e09hzf.js → plugin-xhmrb6e2.js} +38 -38
- package/dist/chunks/{aisdk-native-wx7j4pav.js → plugin-xvyyqj0x.js} +13 -13
- package/dist/chunks/{aisdk-native-y1fvbwt7.js → plugin-y1fvbwt7.js} +1 -1
- package/dist/chunks/{aisdk-native-bcpne060.js → plugin-y6cfdet1.js} +4 -4
- package/dist/chunks/{aisdk-native-y01bhhqz.js → plugin-yc4ptb0q.js} +31 -31
- package/dist/chunks/{aisdk-native-bg6gn9tt.js → plugin-ydd161k7.js} +21 -21
- package/dist/chunks/{aisdk-native-vdsdw3sk.js → plugin-ym8333rm.js} +4 -4
- package/dist/chunks/{aisdk-native-yp2x3t23.js → plugin-yp2x3t23.js} +1 -1
- package/dist/chunks/{aisdk-native-qm0yexkm.js → plugin-ypq53bxf.js} +45 -45
- package/dist/chunks/{aisdk-native-z0bkrqjs.js → plugin-z0bkrqjs.js} +1 -1
- package/dist/chunks/{aisdk-native-vcrbt7y6.js → plugin-z9y7jm1j.js} +4 -4
- package/dist/chunks/{aisdk-native-ddt2bs9e.js → plugin-zav06jzw.js} +4 -4
- package/dist/chunks/{aisdk-native-8d30b01y.js → plugin-zhpfwxqq.js} +2 -2
- package/dist/chunks/{aisdk-native-sy1h14dd.js → plugin-zjedqr72.js} +13 -13
- package/dist/chunks/{aisdk-native-rbtq7grc.js → plugin-zjqw0tx2.js} +5 -5
- package/dist/chunks/{aisdk-native-zr2ceqn5.js → plugin-zr2ceqn5.js} +1 -1
- package/dist/chunks/{aisdk-native-zxq2ej10.js → plugin-zxq2ej10.js} +1 -1
- package/dist/chunks/{aisdk-native-qnw85sb3.js → plugin-zz7qnwx3.js} +14 -14
- package/dist/codemode/catalog.js +1 -1
- package/dist/codemode/instructions.js +3 -3
- package/dist/codemode/tool.js +3 -3
- package/dist/codemode/web.js +1 -1
- package/dist/command.js +85 -85
- package/dist/config/discovery.js +86 -86
- package/dist/config/markdown.js +1 -1
- package/dist/config/normalize.js +101 -101
- package/dist/config/plugin/agent.js +114 -114
- package/dist/config/plugin/command.js +206 -206
- 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 +114 -114
- package/dist/config/plugin/instruction.js +114 -114
- package/dist/config/plugin/location-watcher.js +116 -116
- package/dist/config/plugin/mcp.js +123 -123
- package/dist/config/plugin/policy.js +117 -117
- package/dist/config/plugin/provider.js +114 -114
- 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 +136 -136
- 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 +113 -113
- 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 +117 -117
- package/dist/credential/sql.js +2 -2
- package/dist/credential.js +87 -87
- package/dist/database/database.js +68 -68
- package/dist/database/drizzle/effect-sqlite/driver.js +12 -12
- package/dist/database/drizzle/effect-sqlite/index.js +12 -12
- package/dist/database/drizzle/effect-sqlite/session.js +11 -11
- package/dist/database/drizzle/index.js +13 -13
- package/dist/database/drizzle/internal/drizzle-utils.js +1 -1
- package/dist/database/drizzle/sqlite-core/effect/count.js +1 -1
- package/dist/database/drizzle/sqlite-core/effect/db.js +9 -9
- package/dist/database/drizzle/sqlite-core/effect/delete.js +2 -2
- package/dist/database/drizzle/sqlite-core/effect/index.js +10 -10
- package/dist/database/drizzle/sqlite-core/effect/insert.js +2 -2
- package/dist/database/drizzle/sqlite-core/effect/query.js +1 -1
- package/dist/database/drizzle/sqlite-core/effect/raw.js +1 -1
- package/dist/database/drizzle/sqlite-core/effect/select.js +2 -2
- package/dist/database/drizzle/sqlite-core/effect/session.js +10 -10
- package/dist/database/drizzle/sqlite-core/effect/update.js +2 -2
- package/dist/database/drizzle.js +14 -14
- package/dist/database/migration/20260127222353_familiar_lady_ursula.js +1 -1
- package/dist/database/migration/20260211171708_add_project_commands.js +1 -1
- package/dist/database/migration/20260213144116_wakeful_the_professor.js +1 -1
- package/dist/database/migration/20260225215848_workspace.js +1 -1
- package/dist/database/migration/20260227213759_add_session_workspace_id.js +1 -1
- package/dist/database/migration/20260228203230_blue_harpoon.js +1 -1
- package/dist/database/migration/20260303231226_add_workspace_fields.js +1 -1
- package/dist/database/migration/20260309230000_move_org_to_state.js +1 -1
- package/dist/database/migration/20260312043431_session_message_cursor.js +1 -1
- package/dist/database/migration/20260323234822_events.js +1 -1
- package/dist/database/migration/20260410174513_workspace-name.js +1 -1
- package/dist/database/migration/20260413175956_chief_energizer.js +1 -1
- package/dist/database/migration/20260423070820_add_icon_url_override.js +1 -1
- package/dist/database/migration/20260427172553_slow_nightmare.js +1 -1
- package/dist/database/migration/20260428004200_add_session_path.js +1 -1
- package/dist/database/migration/20260501142318_next_venus.js +1 -1
- package/dist/database/migration/20260504145000_add_sync_owner.js +1 -1
- package/dist/database/migration/20260507164347_add_workspace_time.js +1 -1
- package/dist/database/migration/20260510033149_session_usage.js +1 -1
- package/dist/database/migration/20260511000411_data_migration_state.js +1 -1
- package/dist/database/migration/20260511173437_session-metadata.js +1 -1
- package/dist/database/migration/20260601010001_normalize_storage_paths.js +1 -1
- package/dist/database/migration/20260601202201_amazing_prowler.js +1 -1
- package/dist/database/migration/20260602002951_lowly_union_jack.js +1 -1
- package/dist/database/migration/20260602182828_add_project_directories.js +1 -1
- package/dist/database/migration/20260603001617_session_message_projection_indexes.js +1 -1
- package/dist/database/migration/20260603040000_session_message_projection_order.js +1 -1
- package/dist/database/migration/20260603141458_session_input_inbox.js +1 -1
- package/dist/database/migration/20260603160727_jittery_ezekiel_stane.js +1 -1
- package/dist/database/migration/20260604172448_event_sourced_session_input.js +1 -1
- package/dist/database/migration/20260605003541_add_session_context_snapshot.js +1 -1
- package/dist/database/migration/20260605042240_add_context_epoch_agent.js +1 -1
- package/dist/database/migration/20260611035744_credential.js +1 -1
- package/dist/database/migration/20260611192811_lush_chimera.js +1 -1
- package/dist/database/migration/20260612174303_project_dir_strategy.js +1 -1
- package/dist/database/migration/20260622142730_simplify_session_context_epoch.js +1 -1
- package/dist/database/migration/20260622170816_reset_v2_session_state.js +1 -1
- package/dist/database/migration/20260622202450_simplify_session_input.js +1 -1
- package/dist/database/migration/20260804233008_loose_psylocke.js +1 -1
- package/dist/database/migration/20260805200742_import_legacy_credentials.js +1 -1
- package/dist/database/migration/20260808023530_workspace_domain.js +1 -1
- package/dist/database/migration/20260811161259_execution_claim_attempts.js +1 -1
- package/dist/database/migration/20260812181746_session_inbox.js +1 -1
- package/dist/database/migration/20260812213948_worktree.js +1 -1
- package/dist/database/migration/20260819222447_session_viewed_state.js +1 -1
- package/dist/database/migration/20260823191254_nullable_workspace_binding.js +1 -1
- package/dist/database/migration/20260910120000_clear_v1_session_permission.js +1 -1
- package/dist/database/migration/20260923013825_project_time_active.js +1 -1
- package/dist/database/migration/20261007190000_azure_cli_external_credential.js +1 -1
- package/dist/database/migration/20261010180456_project_time_archived.js +1 -1
- package/dist/database/migration.gen.js +51 -51
- package/dist/database/migration.js +53 -53
- package/dist/database/path.js +2 -2
- package/dist/database/schema.gen.js +1 -1
- package/dist/database/schema.sql.js +1 -1
- package/dist/database/sqlite.bun.js +1 -1
- package/dist/database/sqlite.js +1 -1
- package/dist/database/sqlite.node.js +1 -1
- package/dist/database/sqlite.workerd.js +1 -1
- package/dist/database/v1-migration.bun.js +78 -78
- package/dist/database/v1-migration.js +1 -1
- package/dist/effect/app-node-builder.js +369 -369
- package/dist/effect/app-node-platform.js +2 -2
- package/dist/effect/keyed-mutex.js +1 -1
- package/dist/effect/websocket-constructor.js +1 -1
- package/dist/environment/driver.js +1 -1
- package/dist/environment/environment.js +95 -95
- package/dist/environment/exec-defaults.js +2 -2
- package/dist/environment/files.js +1 -1
- package/dist/environment/index.js +97 -97
- package/dist/environment/local.js +2 -2
- package/dist/environment/memory.js +2 -2
- package/dist/environment/unavailable.js +1 -1
- 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 +92 -92
- 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 +219 -219
- package/dist/filesystem/protected.js +3 -3
- package/dist/filesystem/search.js +105 -105
- package/dist/filesystem/watcher-binding.js +1 -1
- package/dist/filesystem/watcher.js +13 -13
- 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 +6 -6
- 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 +101 -101
- package/dist/github-copilot/openai-compatible-error.js +1 -1
- package/dist/github-copilot/responses/convert-to-openai-responses-input.js +1 -1
- package/dist/github-copilot/responses/map-openai-responses-finish-reason.js +1 -1
- package/dist/github-copilot/responses/openai-error.js +1 -1
- package/dist/github-copilot/responses/openai-responses-language-model.js +10 -10
- package/dist/github-copilot/responses/openai-responses-prepare-tools.js +6 -6
- package/dist/github-copilot/responses/tool/code-interpreter.js +1 -1
- package/dist/github-copilot/responses/tool/file-search.js +1 -1
- package/dist/github-copilot/responses/tool/image-generation.js +1 -1
- package/dist/github-copilot/responses/tool/web-search-preview.js +1 -1
- package/dist/github-copilot/responses/tool/web-search.js +1 -1
- package/dist/image/photon.js +2 -2
- package/dist/image.js +6 -6
- package/dist/instance/service.js +5 -5
- package/dist/instance.js +360 -360
- package/dist/instruction-discovery.js +86 -86
- package/dist/instructions/builtins.js +87 -87
- package/dist/instructions/index.js +3 -3
- package/dist/integration/connection.js +3 -3
- package/dist/integration.js +89 -89
- package/dist/job.js +78 -78
- package/dist/kv/sql.js +2 -2
- package/dist/kv.js +75 -75
- package/dist/location-activity.js +133 -133
- package/dist/location-lifecycle.js +109 -109
- package/dist/location-service-map.js +88 -88
- package/dist/location-services.js +357 -357
- package/dist/location.js +83 -83
- 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 +131 -131
- package/dist/mcp/oauth.js +80 -80
- package/dist/mcp/stdio.js +92 -92
- package/dist/mime.js +1 -1
- package/dist/modal/models.js +101 -101
- 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 +101 -101
- 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 +115 -115
- package/dist/persistent-pty/binary.bun.js +1 -1
- package/dist/persistent-pty/daemon.js +1 -1
- package/dist/persistent-pty/index.js +90 -90
- package/dist/persistent-pty/pty-binding.js +1 -1
- package/dist/persistent-pty.js +77 -77
- package/dist/plugin/agent.js +76 -76
- package/dist/plugin/command.js +102 -102
- 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 +3 -3
- 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 +125 -125
- 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 +132 -132
- package/dist/plugin/source-directory.js +1 -1
- package/dist/plugin/supervisor.js +350 -350
- package/dist/plugin/tool-input-repair.js +4 -4
- package/dist/plugin/update.js +6 -6
- package/dist/plugin/vcs/git.js +88 -88
- package/dist/plugin/vcs/hg.js +88 -88
- package/dist/plugin/verbosity.js +95 -95
- package/dist/plugin/warming.js +114 -114
- package/dist/plugin/websearch/exa.js +7 -7
- package/dist/plugin/websearch/firecrawl.js +8 -8
- package/dist/plugin/websearch/index.js +9 -9
- package/dist/plugin/websearch/mcp.js +2 -2
- package/dist/plugin/websearch/parallel.js +8 -8
- package/dist/plugin/websearch/tavily.js +4 -4
- package/dist/plugin/websearch/tinyfish.js +8 -8
- package/dist/plugin.js +219 -219
- package/dist/project/schema.js +2 -2
- package/dist/project/sql.js +4 -4
- package/dist/project.js +82 -82
- package/dist/provider.js +103 -103
- package/dist/pty/protocol.js +1 -1
- package/dist/pty/ticket.js +1 -1
- package/dist/pty.js +91 -91
- package/dist/reference/instructions.js +89 -89
- package/dist/reference.js +93 -93
- package/dist/repository-cache.js +83 -83
- package/dist/repository.js +1 -1
- package/dist/ripgrep/binary.js +2 -2
- package/dist/ripgrep.js +99 -99
- package/dist/rpc.js +88 -88
- package/dist/schema.js +1 -1
- package/dist/session/affinity.js +3 -3
- package/dist/session/command.js +76 -76
- package/dist/session/compaction.js +136 -136
- 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 +129 -129
- package/dist/session/generate.js +157 -157
- package/dist/session/history.js +13 -13
- package/dist/session/inbox.js +90 -90
- 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 +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 +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 +3 -3
- package/dist/session/runner/step.js +128 -128
- package/dist/session/runner/to-llm-message.js +2 -2
- package/dist/session/schema.js +5 -5
- package/dist/session/session.js +162 -162
- package/dist/session/shell.js +130 -130
- package/dist/session/skill.js +107 -107
- 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 +1 -1
- package/dist/session/title.js +159 -159
- package/dist/session/to-session-error.js +113 -113
- package/dist/session/transfer.js +208 -208
- 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 +109 -109
- package/dist/skill.js +116 -116
- 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 +118 -118
- 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 +112 -112
- package/dist/tool/plugin/websearch.js +112 -112
- 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 +5 -5
- 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 +3 -3
- 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 +76 -76
- package/dist/wellknown.js +83 -83
- 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 +96 -96
- package/package.json +8 -8
- package/dist/chunks/aisdk-native-4v7qdvcn.js +0 -18
- package/dist/chunks/aisdk-native-fgqq36m9.js +0 -513
- package/dist/chunks/aisdk-native-n1g7gbg0.js +0 -257
- package/dist/chunks/aisdk-native-nvjr1ew1.js +0 -26
- /package/dist/chunks/{aisdk-native-0qkdqm5v.js → plugin-0qkdqm5v.js} +0 -0
- /package/dist/chunks/{aisdk-native-0zkw76rk.js → plugin-0zkw76rk.js} +0 -0
- /package/dist/chunks/{aisdk-native-17cy0kzp.js → plugin-17cy0kzp.js} +0 -0
- /package/dist/chunks/{aisdk-native-1cnp2v09.js → plugin-1cnp2v09.js} +0 -0
- /package/dist/chunks/{aisdk-native-1kg9ymc8.js → plugin-1kg9ymc8.js} +0 -0
- /package/dist/chunks/{aisdk-native-24dcb14g.js → plugin-24dcb14g.js} +0 -0
- /package/dist/chunks/{aisdk-native-2710q6r3.js → plugin-2710q6r3.js} +0 -0
- /package/dist/chunks/{aisdk-native-2axfhc9x.js → plugin-2axfhc9x.js} +0 -0
- /package/dist/chunks/{aisdk-native-2bv980vf.js → plugin-2bv980vf.js} +0 -0
- /package/dist/chunks/{aisdk-native-2c3vjs8z.js → plugin-2c3vjs8z.js} +0 -0
- /package/dist/chunks/{aisdk-native-359p4xyc.js → plugin-359p4xyc.js} +0 -0
- /package/dist/chunks/{aisdk-native-3asan66x.js → plugin-3asan66x.js} +0 -0
- /package/dist/chunks/{aisdk-native-3t0ybcrp.js → plugin-3t0ybcrp.js} +0 -0
- /package/dist/chunks/{aisdk-native-3v8g72cx.js → plugin-3v8g72cx.js} +0 -0
- /package/dist/chunks/{aisdk-native-3wcehsnq.js → plugin-3wcehsnq.js} +0 -0
- /package/dist/chunks/{aisdk-native-43n2bw4t.js → plugin-43n2bw4t.js} +0 -0
- /package/dist/chunks/{aisdk-native-4knz6hnm.js → plugin-4knz6hnm.js} +0 -0
- /package/dist/chunks/{aisdk-native-4vcrnpx2.js → plugin-4vcrnpx2.js} +0 -0
- /package/dist/chunks/{aisdk-native-4y7fprxs.js → plugin-4y7fprxs.js} +0 -0
- /package/dist/chunks/{aisdk-native-53557ph1.js → plugin-53557ph1.js} +0 -0
- /package/dist/chunks/{aisdk-native-550bvhaj.js → plugin-550bvhaj.js} +0 -0
- /package/dist/chunks/{aisdk-native-5qd3pb7m.js → plugin-5qd3pb7m.js} +0 -0
- /package/dist/chunks/{aisdk-native-6prwharc.js → plugin-6prwharc.js} +0 -0
- /package/dist/chunks/{aisdk-native-6q2bdcd1.js → plugin-6q2bdcd1.js} +0 -0
- /package/dist/chunks/{aisdk-native-7akdwqpd.js → plugin-7akdwqpd.js} +0 -0
- /package/dist/chunks/{aisdk-native-7m9af43g.js → plugin-7m9af43g.js} +0 -0
- /package/dist/chunks/{aisdk-native-822emrt2.js → plugin-822emrt2.js} +0 -0
- /package/dist/chunks/{aisdk-native-84wd9syh.js → plugin-84wd9syh.js} +0 -0
- /package/dist/chunks/{aisdk-native-88xbtdfr.js → plugin-88xbtdfr.js} +0 -0
- /package/dist/chunks/{aisdk-native-8n3pysct.js → plugin-8n3pysct.js} +0 -0
- /package/dist/chunks/{aisdk-native-8wj87zfr.js → plugin-8wj87zfr.js} +0 -0
- /package/dist/chunks/{aisdk-native-9a4afbnw.js → plugin-9a4afbnw.js} +0 -0
- /package/dist/chunks/{aisdk-native-9rqn6x4v.js → plugin-9rqn6x4v.js} +0 -0
- /package/dist/chunks/{aisdk-native-a6k6eb26.js → plugin-a6k6eb26.js} +0 -0
- /package/dist/chunks/{aisdk-native-af5trqkr.js → plugin-af5trqkr.js} +0 -0
- /package/dist/chunks/{aisdk-native-afrmfg78.js → plugin-afrmfg78.js} +0 -0
- /package/dist/chunks/{aisdk-native-aqzs7mqg.js → plugin-aqzs7mqg.js} +0 -0
- /package/dist/chunks/{aisdk-native-atq7p7m5.js → plugin-atq7p7m5.js} +0 -0
- /package/dist/chunks/{aisdk-native-bkyjaxrp.js → plugin-bkyjaxrp.js} +0 -0
- /package/dist/chunks/{aisdk-native-bmr6ed5q.js → plugin-bmr6ed5q.js} +0 -0
- /package/dist/chunks/{aisdk-native-cf4snx6d.js → plugin-cf4snx6d.js} +0 -0
- /package/dist/chunks/{aisdk-native-cvy3z8tj.js → plugin-cvy3z8tj.js} +0 -0
- /package/dist/chunks/{aisdk-native-d9fn303g.js → plugin-d9fn303g.js} +0 -0
- /package/dist/chunks/{aisdk-native-d9jj8t3e.js → plugin-d9jj8t3e.js} +0 -0
- /package/dist/chunks/{aisdk-native-dajrwvna.js → plugin-dajrwvna.js} +0 -0
- /package/dist/chunks/{aisdk-native-dap0rakb.js → plugin-dap0rakb.js} +0 -0
- /package/dist/chunks/{aisdk-native-df08tz66.js → plugin-df08tz66.js} +0 -0
- /package/dist/chunks/{aisdk-native-dy18nga0.js → plugin-dy18nga0.js} +0 -0
- /package/dist/chunks/{aisdk-native-e5kj55wp.js → plugin-e5kj55wp.js} +0 -0
- /package/dist/chunks/{aisdk-native-e73j6tqm.js → plugin-e73j6tqm.js} +0 -0
- /package/dist/chunks/{aisdk-native-ec1grn59.js → plugin-ec1grn59.js} +0 -0
- /package/dist/chunks/{aisdk-native-eh3zwz77.js → plugin-eh3zwz77.js} +0 -0
- /package/dist/chunks/{aisdk-native-emrn6kk6.js → plugin-emrn6kk6.js} +0 -0
- /package/dist/chunks/{aisdk-native-f0mxakyp.js → plugin-f0mxakyp.js} +0 -0
- /package/dist/chunks/{aisdk-native-f6n9ztr4.js → plugin-f6n9ztr4.js} +0 -0
- /package/dist/chunks/{aisdk-native-faypxj3z.js → plugin-faypxj3z.js} +0 -0
- /package/dist/chunks/{aisdk-native-fd410y7t.js → plugin-fd410y7t.js} +0 -0
- /package/dist/chunks/{aisdk-native-g4wezp1m.js → plugin-g4wezp1m.js} +0 -0
- /package/dist/chunks/{aisdk-native-g86h250q.js → plugin-g86h250q.js} +0 -0
- /package/dist/chunks/{aisdk-native-gebd4c9n.js → plugin-gebd4c9n.js} +0 -0
- /package/dist/chunks/{aisdk-native-gftt206x.js → plugin-gftt206x.js} +0 -0
- /package/dist/chunks/{aisdk-native-hcxmzztb.js → plugin-hcxmzztb.js} +0 -0
- /package/dist/chunks/{aisdk-native-hk9envan.js → plugin-hk9envan.js} +0 -0
- /package/dist/chunks/{aisdk-native-j2ntwpah.js → plugin-j2ntwpah.js} +0 -0
- /package/dist/chunks/{aisdk-native-j5zkgpj8.js → plugin-j5zkgpj8.js} +0 -0
- /package/dist/chunks/{aisdk-native-jjkms2e6.js → plugin-jjkms2e6.js} +0 -0
- /package/dist/chunks/{aisdk-native-jr7sbwjy.js → plugin-jr7sbwjy.js} +0 -0
- /package/dist/chunks/{aisdk-native-jwfs4k6c.js → plugin-jwfs4k6c.js} +0 -0
- /package/dist/chunks/{aisdk-native-jze0r7bz.js → plugin-jze0r7bz.js} +0 -0
- /package/dist/chunks/{aisdk-native-jzg6c2d5.js → plugin-jzg6c2d5.js} +0 -0
- /package/dist/chunks/{aisdk-native-m18g726c.js → plugin-m18g726c.js} +0 -0
- /package/dist/chunks/{aisdk-native-mp448xyj.js → plugin-mp448xyj.js} +0 -0
- /package/dist/chunks/{aisdk-native-msx8hqn2.js → plugin-msx8hqn2.js} +0 -0
- /package/dist/chunks/{aisdk-native-n05xt0ee.js → plugin-n05xt0ee.js} +0 -0
- /package/dist/chunks/{aisdk-native-n3j8tn72.js → plugin-n3j8tn72.js} +0 -0
- /package/dist/chunks/{aisdk-native-njntx4h6.js → plugin-njntx4h6.js} +0 -0
- /package/dist/chunks/{aisdk-native-pkyv6v7h.js → plugin-pkyv6v7h.js} +0 -0
- /package/dist/chunks/{aisdk-native-pyv0edze.js → plugin-pyv0edze.js} +0 -0
- /package/dist/chunks/{aisdk-native-q3sfg36h.js → plugin-q3sfg36h.js} +0 -0
- /package/dist/chunks/{aisdk-native-q74kybfr.js → plugin-q74kybfr.js} +0 -0
- /package/dist/chunks/{aisdk-native-qaymkmh1.js → plugin-qaymkmh1.js} +0 -0
- /package/dist/chunks/{aisdk-native-qb87gjwd.js → plugin-qb87gjwd.js} +0 -0
- /package/dist/chunks/{aisdk-native-qfa1cgps.js → plugin-qfa1cgps.js} +0 -0
- /package/dist/chunks/{aisdk-native-qg3g05ea.js → plugin-qg3g05ea.js} +0 -0
- /package/dist/chunks/{aisdk-native-qrg20bc0.js → plugin-qrg20bc0.js} +0 -0
- /package/dist/chunks/{aisdk-native-rcb2kzg1.js → plugin-rcb2kzg1.js} +0 -0
- /package/dist/chunks/{aisdk-native-sdp7kfr6.js → plugin-sdp7kfr6.js} +0 -0
- /package/dist/chunks/{aisdk-native-ssg3fenm.js → plugin-ssg3fenm.js} +0 -0
- /package/dist/chunks/{aisdk-native-ve7vex1e.js → plugin-ve7vex1e.js} +0 -0
- /package/dist/chunks/{aisdk-native-w803qqfp.js → plugin-w803qqfp.js} +0 -0
- /package/dist/chunks/{aisdk-native-wc3fc9cn.js → plugin-wc3fc9cn.js} +0 -0
- /package/dist/chunks/{aisdk-native-wer8tq1h.js → plugin-wer8tq1h.js} +0 -0
- /package/dist/chunks/{aisdk-native-wjj7prxr.js → plugin-wjj7prxr.js} +0 -0
- /package/dist/chunks/{aisdk-native-wtztk69x.js → plugin-wtztk69x.js} +0 -0
- /package/dist/chunks/{aisdk-native-x0ckcb58.js → plugin-x0ckcb58.js} +0 -0
- /package/dist/chunks/{aisdk-native-x61499pn.js → plugin-x61499pn.js} +0 -0
- /package/dist/chunks/{aisdk-native-y44na4kk.js → plugin-y44na4kk.js} +0 -0
- /package/dist/chunks/{aisdk-native-y8f7s663.js → plugin-y8f7s663.js} +0 -0
- /package/dist/chunks/{aisdk-native-ygaqb7jw.js → plugin-ygaqb7jw.js} +0 -0
- /package/dist/chunks/{aisdk-native-ym463w8f.js → plugin-ym463w8f.js} +0 -0
- /package/dist/chunks/{aisdk-native-z5v4ffb3.js → plugin-z5v4ffb3.js} +0 -0
- /package/dist/chunks/{aisdk-native-z9919s4g.js → plugin-z9919s4g.js} +0 -0
|
@@ -1,31 +1,31 @@
|
|
|
1
1
|
import {
|
|
2
|
-
|
|
2
|
+
Key4,
|
|
3
3
|
removed2,
|
|
4
4
|
make21,
|
|
5
5
|
diffByKey2
|
|
6
|
-
} from "./
|
|
6
|
+
} from "./plugin-eaj1djv9.js";
|
|
7
7
|
import {
|
|
8
|
-
|
|
8
|
+
ID5,
|
|
9
9
|
Name2,
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
} from "./
|
|
10
|
+
available2,
|
|
11
|
+
Service44,
|
|
12
|
+
node47
|
|
13
|
+
} from "./plugin-q4shcas9.js";
|
|
14
14
|
import {
|
|
15
15
|
__export
|
|
16
|
-
} from "./
|
|
16
|
+
} from "./plugin-9rqn6x4v.js";
|
|
17
17
|
|
|
18
18
|
// src/skill/instructions.ts
|
|
19
|
-
var
|
|
20
|
-
__export(
|
|
21
|
-
Service: () =>
|
|
22
|
-
SkillInstructions: () =>
|
|
23
|
-
node: () =>
|
|
19
|
+
var exports_instructions2 = {};
|
|
20
|
+
__export(exports_instructions2, {
|
|
21
|
+
Service: () => Service29,
|
|
22
|
+
SkillInstructions: () => exports_instructions2,
|
|
23
|
+
node: () => node32
|
|
24
24
|
});
|
|
25
25
|
import { makeLocationNode } from "@opencode/util/effect/app-node";
|
|
26
26
|
import { Context, Effect, Layer, Schema } from "effect";
|
|
27
27
|
var Summary = Schema.Struct({
|
|
28
|
-
id:
|
|
28
|
+
id: ID5,
|
|
29
29
|
name: Name2,
|
|
30
30
|
description: Schema.String
|
|
31
31
|
});
|
|
@@ -60,15 +60,15 @@ var update = (previous, current) => {
|
|
|
60
60
|
`);
|
|
61
61
|
};
|
|
62
62
|
|
|
63
|
-
class
|
|
63
|
+
class Service29 extends Context.Service()("@opencode/SkillInstructions") {
|
|
64
64
|
}
|
|
65
|
-
var layer = Layer.effect(
|
|
66
|
-
const skills = yield*
|
|
67
|
-
return
|
|
65
|
+
var layer = Layer.effect(Service29, Effect.gen(function* () {
|
|
66
|
+
const skills = yield* Service44;
|
|
67
|
+
return Service29.of({
|
|
68
68
|
load: Effect.fn("SkillInstructions.load")(function* (permissions) {
|
|
69
|
-
const available =
|
|
69
|
+
const available = available2(yield* skills.list(), permissions).flatMap((skill) => skill.description === undefined || skill.autoinvoke === false ? [] : [{ id: skill.id, name: skill.name, description: skill.description }]).toSorted((a, b) => a.id.localeCompare(b.id));
|
|
70
70
|
return make21({
|
|
71
|
-
key:
|
|
71
|
+
key: Key4.make("core/skill-guidance"),
|
|
72
72
|
codec: Schema.toCodecJson(Schema.Array(Summary)),
|
|
73
73
|
read: Effect.succeed(available.length === 0 ? removed2 : available),
|
|
74
74
|
render: {
|
|
@@ -80,6 +80,6 @@ var layer = Layer.effect(Service25, Effect.gen(function* () {
|
|
|
80
80
|
})
|
|
81
81
|
});
|
|
82
82
|
}));
|
|
83
|
-
var
|
|
83
|
+
var node32 = makeLocationNode({ service: Service29, layer, deps: [node47] });
|
|
84
84
|
|
|
85
|
-
export {
|
|
85
|
+
export { Service29, node32, exports_instructions2 };
|
|
@@ -1,18 +1,18 @@
|
|
|
1
1
|
import {
|
|
2
2
|
AbsolutePath2
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./plugin-z5v4ffb3.js";
|
|
4
4
|
import {
|
|
5
5
|
Service86,
|
|
6
6
|
node90
|
|
7
|
-
} from "./
|
|
7
|
+
} from "./plugin-50t92zds.js";
|
|
8
8
|
import {
|
|
9
9
|
Service85,
|
|
10
10
|
node89
|
|
11
|
-
} from "./
|
|
11
|
+
} from "./plugin-ac8yy21c.js";
|
|
12
12
|
import {
|
|
13
13
|
Service84,
|
|
14
14
|
node88
|
|
15
|
-
} from "./
|
|
15
|
+
} from "./plugin-aacha31a.js";
|
|
16
16
|
import {
|
|
17
17
|
ID18,
|
|
18
18
|
Current3,
|
|
@@ -20,17 +20,17 @@ import {
|
|
|
20
20
|
UpdateInput5,
|
|
21
21
|
Event21,
|
|
22
22
|
Vcs3
|
|
23
|
-
} from "./
|
|
23
|
+
} from "./plugin-v210v162.js";
|
|
24
24
|
import {
|
|
25
25
|
ProjectTable2,
|
|
26
26
|
upsertProject2
|
|
27
|
-
} from "./
|
|
27
|
+
} from "./plugin-c41wscbt.js";
|
|
28
28
|
import {
|
|
29
29
|
WorktreeTable2
|
|
30
|
-
} from "./
|
|
30
|
+
} from "./plugin-c8ax2afj.js";
|
|
31
31
|
import {
|
|
32
32
|
__export
|
|
33
|
-
} from "./
|
|
33
|
+
} from "./plugin-9rqn6x4v.js";
|
|
34
34
|
|
|
35
35
|
// src/project.ts
|
|
36
36
|
var exports_project = {};
|
|
@@ -1,32 +1,32 @@
|
|
|
1
1
|
import {
|
|
2
2
|
RelativePath2
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./plugin-z5v4ffb3.js";
|
|
4
4
|
import {
|
|
5
5
|
Service82,
|
|
6
6
|
node86
|
|
7
|
-
} from "./
|
|
7
|
+
} from "./plugin-zhpfwxqq.js";
|
|
8
8
|
import {
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
} from "./
|
|
9
|
+
Service24,
|
|
10
|
+
node26
|
|
11
|
+
} from "./plugin-7z8fh6ek.js";
|
|
12
12
|
import {
|
|
13
13
|
isHome2,
|
|
14
|
-
|
|
15
|
-
} from "./
|
|
14
|
+
names3
|
|
15
|
+
} from "./plugin-tcezcvh9.js";
|
|
16
16
|
import {
|
|
17
17
|
__export
|
|
18
|
-
} from "./
|
|
18
|
+
} from "./plugin-9rqn6x4v.js";
|
|
19
19
|
|
|
20
20
|
// src/filesystem/search.ts
|
|
21
21
|
var exports_search = {};
|
|
22
22
|
__export(exports_search, {
|
|
23
23
|
FileSystemSearch: () => exports_search,
|
|
24
|
-
Options: () =>
|
|
25
|
-
Service: () =>
|
|
26
|
-
configured: () =>
|
|
24
|
+
Options: () => Options3,
|
|
25
|
+
Service: () => Service23,
|
|
26
|
+
configured: () => configured3,
|
|
27
27
|
fffLayer: () => fffLayer2,
|
|
28
|
-
layer: () =>
|
|
29
|
-
node: () =>
|
|
28
|
+
layer: () => layer12,
|
|
29
|
+
node: () => node25,
|
|
30
30
|
ripgrepLayer: () => ripgrepLayer2
|
|
31
31
|
});
|
|
32
32
|
import { makeLocationNode } from "@opencode/util/effect/app-node";
|
|
@@ -35,11 +35,11 @@ import { Clock, Context, Deferred, Duration, Effect, Layer, Schema, Scope } from
|
|
|
35
35
|
import { Fff } from "#fff";
|
|
36
36
|
import fuzzysort from "fuzzysort";
|
|
37
37
|
import { FileSystem } from "@opencode/schema/filesystem";
|
|
38
|
-
var
|
|
38
|
+
var Options3 = Schema.Struct({
|
|
39
39
|
fff: Schema.optional(Schema.Boolean)
|
|
40
40
|
});
|
|
41
41
|
|
|
42
|
-
class
|
|
42
|
+
class Service23 extends Context.Service()("@opencode/FileSystem/Search") {
|
|
43
43
|
}
|
|
44
44
|
var REFRESH_INTERVAL = Duration.toMillis("10 seconds");
|
|
45
45
|
function emptyIndex() {
|
|
@@ -58,9 +58,9 @@ function search(index, input) {
|
|
|
58
58
|
});
|
|
59
59
|
});
|
|
60
60
|
}
|
|
61
|
-
var ripgrepLayer2 = Layer.effect(
|
|
61
|
+
var ripgrepLayer2 = Layer.effect(Service23, Effect.gen(function* () {
|
|
62
62
|
const location = yield* Service82;
|
|
63
|
-
const ripgrep = yield*
|
|
63
|
+
const ripgrep = yield* Service24;
|
|
64
64
|
const scope = yield* Scope.Scope;
|
|
65
65
|
const clock = yield* Clock.Clock;
|
|
66
66
|
const home = isHome2(location.directory);
|
|
@@ -77,7 +77,7 @@ var ripgrepLayer2 = Layer.effect(Service61, Effect.gen(function* () {
|
|
|
77
77
|
cwd: location.directory,
|
|
78
78
|
pattern: "*",
|
|
79
79
|
limit: location.vcs && !home ? Number.MAX_SAFE_INTEGER : 1e5,
|
|
80
|
-
exclude: home ? [...
|
|
80
|
+
exclude: home ? [...names3()].map((name) => `${name}/**`) : undefined,
|
|
81
81
|
onEntry: (entry) => Effect.sync(() => {
|
|
82
82
|
next.files.set(entry.path, previous.files.get(entry.path) ?? fuzzysort.prepare(entry.path));
|
|
83
83
|
const parts = entry.path.split("/");
|
|
@@ -105,14 +105,14 @@ var ripgrepLayer2 = Layer.effect(Service61, Effect.gen(function* () {
|
|
|
105
105
|
Deferred.doneUnsafe(attempt, exit);
|
|
106
106
|
})), Effect.forkIn(scope), Effect.flatMap(() => initialized ? Effect.void : Deferred.await(attempt)));
|
|
107
107
|
});
|
|
108
|
-
return
|
|
108
|
+
return Service23.of({
|
|
109
109
|
find: (input) => Effect.gen(function* () {
|
|
110
110
|
yield* refresh;
|
|
111
111
|
return search(index, input);
|
|
112
112
|
})
|
|
113
113
|
});
|
|
114
114
|
}));
|
|
115
|
-
var fffLayer2 = Layer.effect(
|
|
115
|
+
var fffLayer2 = Layer.effect(Service23, Effect.gen(function* () {
|
|
116
116
|
const location = yield* Service82;
|
|
117
117
|
const result = yield* Effect.try({
|
|
118
118
|
try: () => Fff.create({
|
|
@@ -126,12 +126,12 @@ var fffLayer2 = Layer.effect(Service61, Effect.gen(function* () {
|
|
|
126
126
|
if (!result?.ok) {
|
|
127
127
|
if (result)
|
|
128
128
|
yield* Effect.logWarning("failed to initialize fff", { error: result.error });
|
|
129
|
-
return
|
|
129
|
+
return Service23.of({
|
|
130
130
|
find: () => Effect.succeed([])
|
|
131
131
|
});
|
|
132
132
|
}
|
|
133
133
|
yield* Effect.addFinalizer(() => Effect.sync(() => result.value.destroy()));
|
|
134
|
-
return
|
|
134
|
+
return Service23.of({
|
|
135
135
|
find: (input) => Effect.sync(() => {
|
|
136
136
|
const options = { pageIndex: 0, pageSize: input.limit ?? 50 };
|
|
137
137
|
const items = (() => {
|
|
@@ -174,7 +174,7 @@ var fffLayer2 = Layer.effect(Service61, Effect.gen(function* () {
|
|
|
174
174
|
})
|
|
175
175
|
});
|
|
176
176
|
}));
|
|
177
|
-
var
|
|
177
|
+
var layer12 = (options) => Layer.unwrap(Effect.gen(function* () {
|
|
178
178
|
const location = yield* Service82;
|
|
179
179
|
if (location.workspaceID)
|
|
180
180
|
return ripgrepLayer2;
|
|
@@ -182,9 +182,9 @@ var layer24 = (options) => Layer.unwrap(Effect.gen(function* () {
|
|
|
182
182
|
return ripgrepLayer2;
|
|
183
183
|
return location.vcs && !isHome2(location.directory) ? fffLayer2 : ripgrepLayer2;
|
|
184
184
|
}));
|
|
185
|
-
function
|
|
186
|
-
return makeLocationNode({ service:
|
|
185
|
+
function configured3(options) {
|
|
186
|
+
return makeLocationNode({ service: Service23, layer: layer12(options), deps: [node86, node26] });
|
|
187
187
|
}
|
|
188
|
-
var
|
|
188
|
+
var node25 = configured3();
|
|
189
189
|
|
|
190
|
-
export {
|
|
190
|
+
export { Options3, Service23, ripgrepLayer2, fffLayer2, layer12, configured3, node25, exports_search };
|
|
@@ -1,10 +1,10 @@
|
|
|
1
1
|
import {
|
|
2
2
|
AbsolutePath2,
|
|
3
3
|
RelativePath2
|
|
4
|
-
} from "./
|
|
4
|
+
} from "./plugin-z5v4ffb3.js";
|
|
5
5
|
import {
|
|
6
6
|
SessionSchema2
|
|
7
|
-
} from "./
|
|
7
|
+
} from "./plugin-ss358qx3.js";
|
|
8
8
|
|
|
9
9
|
// src/session/info.ts
|
|
10
10
|
import { DateTime, Schema } from "effect";
|
|
@@ -1,28 +1,28 @@
|
|
|
1
1
|
import {
|
|
2
|
-
|
|
2
|
+
ID8,
|
|
3
3
|
mergeOverlay2
|
|
4
|
-
} from "./
|
|
4
|
+
} from "./plugin-d9qxn0qv.js";
|
|
5
5
|
import {
|
|
6
|
-
|
|
6
|
+
ID7,
|
|
7
7
|
VariantID2,
|
|
8
|
-
|
|
8
|
+
Info16,
|
|
9
9
|
compatibility2
|
|
10
|
-
} from "./
|
|
10
|
+
} from "./plugin-q0yg6cnx.js";
|
|
11
11
|
import {
|
|
12
12
|
__export
|
|
13
|
-
} from "./
|
|
13
|
+
} from "./plugin-9rqn6x4v.js";
|
|
14
14
|
|
|
15
15
|
// src/modal/models.ts
|
|
16
|
-
var
|
|
17
|
-
__export(
|
|
18
|
-
ModalModels: () =>
|
|
19
|
-
derive: () =>
|
|
20
|
-
get: () =>
|
|
21
|
-
load: () =>
|
|
16
|
+
var exports_models = {};
|
|
17
|
+
__export(exports_models, {
|
|
18
|
+
ModalModels: () => exports_models,
|
|
19
|
+
derive: () => derive2,
|
|
20
|
+
get: () => get2,
|
|
21
|
+
load: () => load2
|
|
22
22
|
});
|
|
23
23
|
import { Money } from "@opencode/schema/money";
|
|
24
24
|
import { Option, Schema } from "effect";
|
|
25
|
-
var providerID =
|
|
25
|
+
var providerID = ID8.make("modal");
|
|
26
26
|
var ReasoningOption = Schema.Struct({
|
|
27
27
|
type: Schema.Literal("effort"),
|
|
28
28
|
values: Schema.Array(Schema.NullOr(Schema.String))
|
|
@@ -54,10 +54,10 @@ var RemoteModel = Schema.Struct({
|
|
|
54
54
|
var Response = Schema.Struct({ data: Schema.Array(Schema.Unknown) });
|
|
55
55
|
var decodeResponse = Schema.decodeUnknownSync(Response);
|
|
56
56
|
var decodeModel = Schema.decodeUnknownOption(RemoteModel);
|
|
57
|
-
async function
|
|
58
|
-
return
|
|
57
|
+
async function get2(baseURL, apiKey, existing) {
|
|
58
|
+
return derive2(baseURL, await load2(baseURL, apiKey), existing);
|
|
59
59
|
}
|
|
60
|
-
async function
|
|
60
|
+
async function load2(baseURL, apiKey) {
|
|
61
61
|
const response = await fetch(`${baseURL.replace(/\/+$/, "")}/models`, {
|
|
62
62
|
headers: {
|
|
63
63
|
Authorization: `Bearer ${apiKey}`
|
|
@@ -71,12 +71,12 @@ async function load3(baseURL, apiKey) {
|
|
|
71
71
|
return model ? [model] : [];
|
|
72
72
|
});
|
|
73
73
|
}
|
|
74
|
-
function
|
|
74
|
+
function derive2(baseURL, remote, existing) {
|
|
75
75
|
const templates = new Map(existing.map((model) => [model.id, model]));
|
|
76
76
|
const result = new Map;
|
|
77
77
|
for (const item of remote) {
|
|
78
|
-
const template = templates.get(
|
|
79
|
-
const id =
|
|
78
|
+
const template = templates.get(ID7.make(item.base_model_id ?? item.hugging_face_id ?? item.id));
|
|
79
|
+
const id = ID7.make(item.id);
|
|
80
80
|
result.set(id, build(id, item, baseURL, template));
|
|
81
81
|
}
|
|
82
82
|
return result;
|
|
@@ -94,10 +94,10 @@ function limit(value, fallback) {
|
|
|
94
94
|
function build(id, remote, baseURL, previous) {
|
|
95
95
|
const cost = previous?.cost[0];
|
|
96
96
|
const input = previous?.limit.input;
|
|
97
|
-
return
|
|
98
|
-
...
|
|
97
|
+
return Info16.make({
|
|
98
|
+
...Info16.default(providerID, id),
|
|
99
99
|
id,
|
|
100
|
-
modelID:
|
|
100
|
+
modelID: ID7.make(remote.id),
|
|
101
101
|
providerID,
|
|
102
102
|
name: remote.name ?? previous?.name ?? remote.id,
|
|
103
103
|
family: previous?.family,
|
|
@@ -144,4 +144,4 @@ function variants(remote) {
|
|
|
144
144
|
return [...seen.values()];
|
|
145
145
|
}
|
|
146
146
|
|
|
147
|
-
export {
|
|
147
|
+
export { get2, load2, derive2, exports_models };
|
|
@@ -1,63 +1,63 @@
|
|
|
1
1
|
import {
|
|
2
2
|
NonNegativeInt2
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./plugin-z5v4ffb3.js";
|
|
4
4
|
import {
|
|
5
5
|
latest2,
|
|
6
|
-
|
|
7
|
-
} from "./
|
|
6
|
+
Service55
|
|
7
|
+
} from "./plugin-23m508yx.js";
|
|
8
8
|
import {
|
|
9
9
|
typeFollowing2
|
|
10
|
-
} from "./
|
|
10
|
+
} from "./plugin-hgz4x7wa.js";
|
|
11
11
|
import {
|
|
12
|
-
|
|
13
|
-
} from "./
|
|
12
|
+
Service70
|
|
13
|
+
} from "./plugin-ydd161k7.js";
|
|
14
14
|
import {
|
|
15
|
-
|
|
16
|
-
} from "./
|
|
15
|
+
Service52
|
|
16
|
+
} from "./plugin-zz7qnwx3.js";
|
|
17
17
|
import {
|
|
18
|
-
|
|
19
|
-
} from "./
|
|
18
|
+
Service77
|
|
19
|
+
} from "./plugin-94rjkma0.js";
|
|
20
20
|
import {
|
|
21
|
-
|
|
21
|
+
Service16,
|
|
22
22
|
resolvePath2
|
|
23
|
-
} from "./
|
|
23
|
+
} from "./plugin-070qhrs5.js";
|
|
24
24
|
import {
|
|
25
25
|
output2,
|
|
26
26
|
notice2,
|
|
27
27
|
metadata2,
|
|
28
28
|
notification2
|
|
29
|
-
} from "./
|
|
29
|
+
} from "./plugin-vzs5sf6e.js";
|
|
30
30
|
import {
|
|
31
|
-
|
|
31
|
+
Service66,
|
|
32
32
|
name15
|
|
33
|
-
} from "./
|
|
33
|
+
} from "./plugin-jjz1bpfg.js";
|
|
34
34
|
import {
|
|
35
|
-
|
|
36
|
-
|
|
37
|
-
} from "./
|
|
35
|
+
NotFoundError6,
|
|
36
|
+
Service53
|
|
37
|
+
} from "./plugin-pawwdg1v.js";
|
|
38
38
|
import {
|
|
39
|
-
|
|
40
|
-
} from "./
|
|
39
|
+
Service26
|
|
40
|
+
} from "./plugin-vj4xxyb4.js";
|
|
41
41
|
import {
|
|
42
42
|
scan3
|
|
43
|
-
} from "./
|
|
43
|
+
} from "./plugin-rz4mpgyr.js";
|
|
44
44
|
import {
|
|
45
45
|
__export
|
|
46
|
-
} from "./
|
|
46
|
+
} from "./plugin-9rqn6x4v.js";
|
|
47
47
|
|
|
48
48
|
// src/tool/plugin/shell.ts
|
|
49
49
|
var exports_shell2 = {};
|
|
50
50
|
__export(exports_shell2, {
|
|
51
51
|
DEFAULT_TIMEOUT_MS: () => DEFAULT_TIMEOUT_MS2,
|
|
52
|
-
Input: () =>
|
|
53
|
-
Plugin: () =>
|
|
52
|
+
Input: () => Input6,
|
|
53
|
+
Plugin: () => Plugin43,
|
|
54
54
|
ShellTool: () => exports_shell2,
|
|
55
|
-
name: () =>
|
|
55
|
+
name: () => name6
|
|
56
56
|
});
|
|
57
57
|
import { ToolFailure } from "@opencode/ai";
|
|
58
58
|
import { Deferred, Effect, Schema, Scope } from "effect";
|
|
59
59
|
import { shellParserWasm } from "#shell-parser-wasm";
|
|
60
|
-
var
|
|
60
|
+
var name6 = "shell";
|
|
61
61
|
var DEFAULT_TIMEOUT_MS2 = 2 * 60 * 1000;
|
|
62
62
|
var BACKGROUND_INSTRUCTION = "You will be notified automatically when the command finishes. The notification will include the command's output. Unless the user explicitly asks otherwise, DO NOT poll for completion, even if you need the final result to continue. Repeatedly sleeping and reading or searching the output file is polling, not useful work. You may read the current output if it lets you do useful work now, but do not repeatedly check it while waiting for the command to finish. Keep working on anything that does not depend on the result. If you have nothing else to do, end your response; you will be resumed automatically when the command finishes.";
|
|
63
63
|
var OS = process.platform === "darwin" ? "macOS" : process.platform === "win32" ? "Windows" : process.platform === "linux" ? "Linux" : process.platform;
|
|
@@ -71,7 +71,7 @@ var description = (shell) => [
|
|
|
71
71
|
"Commands accept an optional timeout, background commands have no timeout by default.",
|
|
72
72
|
"Background commands return immediately, and you will be notified when they complete."
|
|
73
73
|
].join(" ");
|
|
74
|
-
var
|
|
74
|
+
var Input6 = Schema.Struct({
|
|
75
75
|
command: Schema.String.annotate({ description: "Shell command string to execute" }),
|
|
76
76
|
workdir: Schema.optionalKey(Schema.String).annotate({
|
|
77
77
|
description: "Working directory to execute the command in. Defaults to the current working directory. When possible, avoid changing directories in the command and set the working directory here instead."
|
|
@@ -117,19 +117,19 @@ Output is streaming to: ${file}`,
|
|
|
117
117
|
truncated: false,
|
|
118
118
|
status: "running"
|
|
119
119
|
});
|
|
120
|
-
var
|
|
120
|
+
var Plugin43 = {
|
|
121
121
|
id: "opencode.tool.shell",
|
|
122
122
|
effect: Effect.fn("ShellTool.Plugin")(function* (ctx) {
|
|
123
|
-
const sessions = yield*
|
|
124
|
-
const jobs = yield*
|
|
123
|
+
const sessions = yield* Service26;
|
|
124
|
+
const jobs = yield* Service52;
|
|
125
125
|
const scope = yield* Scope.Scope;
|
|
126
|
-
const environment = yield*
|
|
127
|
-
const access = yield*
|
|
128
|
-
const shell = yield*
|
|
129
|
-
const shellSelect = yield*
|
|
126
|
+
const environment = yield* Service70;
|
|
127
|
+
const access = yield* Service16;
|
|
128
|
+
const shell = yield* Service53;
|
|
129
|
+
const shellSelect = yield* Service66;
|
|
130
130
|
const compatibleShell = shellSelect.resolve({ priority: "compat" });
|
|
131
|
-
const permission = yield*
|
|
132
|
-
const config = yield*
|
|
131
|
+
const permission = yield* Service77;
|
|
132
|
+
const config = yield* Service55;
|
|
133
133
|
const prepare = Effect.fn("ShellTool.prepare")(function* (invocation, context) {
|
|
134
134
|
const source = {
|
|
135
135
|
type: "tool",
|
|
@@ -148,7 +148,7 @@ var Plugin49 = {
|
|
|
148
148
|
yield* access.authorizeExternal([target, ...directories], context);
|
|
149
149
|
if (parsed.commands.length > 0)
|
|
150
150
|
yield* permission.assert({
|
|
151
|
-
action:
|
|
151
|
+
action: name6,
|
|
152
152
|
resources: parsed.commands.map((command) => command.resource),
|
|
153
153
|
save: parsed.commands.map((command) => command.save),
|
|
154
154
|
sessionID: context.sessionID,
|
|
@@ -185,10 +185,10 @@ var Plugin49 = {
|
|
|
185
185
|
yield* jobs.completeBackground(info.notificationID);
|
|
186
186
|
}, Effect.forkIn(scope, { startImmediately: true }));
|
|
187
187
|
yield* ctx.tool.transform((editor) => editor.add({
|
|
188
|
-
name:
|
|
188
|
+
name: name6,
|
|
189
189
|
options: { codemode: false },
|
|
190
190
|
description: description(),
|
|
191
|
-
input:
|
|
191
|
+
input: Input6,
|
|
192
192
|
output: Output,
|
|
193
193
|
execute: (input, context) => Effect.gen(function* () {
|
|
194
194
|
const timeout = input.background === true ? input.timeout ?? 0 : input.timeout ?? DEFAULT_TIMEOUT_MS2;
|
|
@@ -211,7 +211,7 @@ var Plugin49 = {
|
|
|
211
211
|
const run = Effect.gen(function* () {
|
|
212
212
|
const result = yield* shell.result(info);
|
|
213
213
|
if (!result.capture)
|
|
214
|
-
return yield* new
|
|
214
|
+
return yield* new NotFoundError6({ id: info.id });
|
|
215
215
|
const output = output2(result);
|
|
216
216
|
return {
|
|
217
217
|
...output,
|
|
@@ -225,7 +225,7 @@ Command exceeded timeout of ${finalTimeout} ms. Retry with a larger timeout if t
|
|
|
225
225
|
`)), Effect.onInterrupt(() => shell.remove(info.id).pipe(Effect.ignore)));
|
|
226
226
|
const job = yield* jobs.start({
|
|
227
227
|
id: info.id,
|
|
228
|
-
type:
|
|
228
|
+
type: name6,
|
|
229
229
|
title: info.command,
|
|
230
230
|
metadata: { sessionID: context.sessionID, shellID: info.id },
|
|
231
231
|
recovery: {
|
|
@@ -255,7 +255,7 @@ Command exceeded timeout of ${finalTimeout} ms. Retry with a larger timeout if t
|
|
|
255
255
|
}).pipe(Effect.map(toolResult), Effect.mapError((error) => new ToolFailure({ message: `Unable to execute command: ${input.command}`, error })))
|
|
256
256
|
})).pipe(Effect.orDie);
|
|
257
257
|
const hook = (event) => Effect.gen(function* () {
|
|
258
|
-
const tool = event.tools[
|
|
258
|
+
const tool = event.tools[name6];
|
|
259
259
|
if (!tool)
|
|
260
260
|
return;
|
|
261
261
|
tool.description = description(name15(yield* compatibleShell));
|
|
@@ -266,4 +266,4 @@ Command exceeded timeout of ${finalTimeout} ms. Retry with a larger timeout if t
|
|
|
266
266
|
})
|
|
267
267
|
};
|
|
268
268
|
|
|
269
|
-
export {
|
|
269
|
+
export { name6, DEFAULT_TIMEOUT_MS2, Input6, Plugin43, exports_shell2 };
|
|
@@ -1,33 +1,33 @@
|
|
|
1
1
|
import {
|
|
2
2
|
Service85,
|
|
3
3
|
node89
|
|
4
|
-
} from "./
|
|
4
|
+
} from "./plugin-ac8yy21c.js";
|
|
5
5
|
import {
|
|
6
6
|
create3
|
|
7
|
-
} from "./
|
|
7
|
+
} from "./plugin-rdw6cm16.js";
|
|
8
8
|
import {
|
|
9
9
|
__export
|
|
10
|
-
} from "./
|
|
10
|
+
} from "./plugin-9rqn6x4v.js";
|
|
11
11
|
|
|
12
12
|
// src/command.ts
|
|
13
13
|
var exports_command4 = {};
|
|
14
14
|
__export(exports_command4, {
|
|
15
15
|
Command: () => exports_command4,
|
|
16
|
-
Event: () =>
|
|
16
|
+
Event: () => Event6,
|
|
17
17
|
ExecutionError: () => ExecutionError2,
|
|
18
|
-
Info: () =>
|
|
19
|
-
NotFoundError: () =>
|
|
20
|
-
Service: () =>
|
|
21
|
-
layer: () =>
|
|
22
|
-
node: () =>
|
|
18
|
+
Info: () => Info5,
|
|
19
|
+
NotFoundError: () => NotFoundError5,
|
|
20
|
+
Service: () => Service41,
|
|
21
|
+
layer: () => layer19,
|
|
22
|
+
node: () => node44
|
|
23
23
|
});
|
|
24
24
|
import { Command } from "@opencode/schema/command";
|
|
25
25
|
import { makeLocationNode } from "@opencode/util/effect/app-node";
|
|
26
26
|
import { Context, Effect, Layer, Schema } from "effect";
|
|
27
|
-
import { Event as
|
|
28
|
-
var
|
|
27
|
+
import { Event as Event6 } from "@opencode/schema/command";
|
|
28
|
+
var Info5 = Command.Info;
|
|
29
29
|
|
|
30
|
-
class
|
|
30
|
+
class NotFoundError5 extends Schema.TaggedError()("Command.NotFoundError", {
|
|
31
31
|
command: Schema.String,
|
|
32
32
|
message: Schema.String
|
|
33
33
|
}) {
|
|
@@ -39,9 +39,9 @@ class ExecutionError2 extends Schema.TaggedError()("Command.ExecutionError", {
|
|
|
39
39
|
}) {
|
|
40
40
|
}
|
|
41
41
|
|
|
42
|
-
class
|
|
42
|
+
class Service41 extends Context.Service()("@opencode/Command") {
|
|
43
43
|
}
|
|
44
|
-
var
|
|
44
|
+
var layer19 = Layer.effect(Service41, Effect.gen(function* () {
|
|
45
45
|
const bus = yield* Service85;
|
|
46
46
|
const state = create3({
|
|
47
47
|
name: "command",
|
|
@@ -51,11 +51,11 @@ var layer21 = Layer.effect(Service51, Effect.gen(function* () {
|
|
|
51
51
|
}),
|
|
52
52
|
notify: () => bus.publish(Command.Event.Updated, {}).pipe(Effect.asVoid)
|
|
53
53
|
});
|
|
54
|
-
const info = (definition) =>
|
|
54
|
+
const info = (definition) => Info5.make({
|
|
55
55
|
name: definition.name,
|
|
56
56
|
description: definition.description
|
|
57
57
|
});
|
|
58
|
-
return
|
|
58
|
+
return Service41.of({
|
|
59
59
|
reload: state.reload,
|
|
60
60
|
transform: state.transform,
|
|
61
61
|
get: Effect.fn("Command.get")((name) => Effect.sync(() => {
|
|
@@ -66,14 +66,14 @@ var layer21 = Layer.effect(Service51, Effect.gen(function* () {
|
|
|
66
66
|
execute: Effect.fn("Command.execute")(function* (input) {
|
|
67
67
|
const definition = state.get().get(input.name);
|
|
68
68
|
if (!definition)
|
|
69
|
-
return yield* new
|
|
69
|
+
return yield* new NotFoundError5({ command: input.name, message: `Command not found: ${input.name}` });
|
|
70
70
|
return yield* definition.execute(input.invocation).pipe(Effect.tapError((error) => Effect.logError("command execution failed", { command: input.name, error })), Effect.mapError((error) => new ExecutionError2({ command: input.name, message: errorMessage(error) })));
|
|
71
71
|
})
|
|
72
72
|
});
|
|
73
73
|
}));
|
|
74
|
-
var
|
|
75
|
-
service:
|
|
76
|
-
layer:
|
|
74
|
+
var node44 = makeLocationNode({
|
|
75
|
+
service: Service41,
|
|
76
|
+
layer: layer19,
|
|
77
77
|
deps: [node89]
|
|
78
78
|
});
|
|
79
79
|
function errorMessage(error) {
|
|
@@ -86,4 +86,4 @@ function errorMessage(error) {
|
|
|
86
86
|
return "Command execution failed";
|
|
87
87
|
}
|
|
88
88
|
|
|
89
|
-
export {
|
|
89
|
+
export { Info5, NotFoundError5, ExecutionError2, Service41, layer19, node44, exports_command4, Event6 };
|