@opencode-ai/core 0.0.0-beta-19266 → 0.0.0-beta-19271
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 +81 -81
- package/dist/aisdk-native.js +2 -2
- package/dist/aisdk.js +6 -6
- package/dist/app.js +9 -9
- package/dist/bus.js +71 -71
- package/dist/catalog.js +83 -83
- package/dist/chunks/{schema-g1bsba7w.js → file-retention-0287bcr4.js} +20 -20
- package/dist/chunks/{schema-zs79rajt.js → file-retention-08px7ct2.js} +24 -24
- package/dist/chunks/{schema-1s4vv42h.js → file-retention-0dfa6scd.js} +7 -7
- package/dist/chunks/{schema-0e0xafbb.js → file-retention-0e0xafbb.js} +2 -2
- package/dist/chunks/{schema-j8bjgp0m.js → file-retention-0egdgj0d.js} +23 -23
- package/dist/chunks/{schema-0paq2nw3.js → file-retention-0paq2nw3.js} +1 -1
- package/dist/chunks/{schema-0q0f95c6.js → file-retention-0q0f95c6.js} +1 -1
- package/dist/chunks/{schema-wbvdvtzj.js → file-retention-0r296h1k.js} +25 -25
- package/dist/chunks/{schema-0s9ayhjt.js → file-retention-0s9ayhjt.js} +1 -1
- package/dist/chunks/{schema-p6rz0yzk.js → file-retention-0sk2j9ke.js} +4 -4
- package/dist/chunks/{schema-4a774hnm.js → file-retention-0tfzfc80.js} +17 -17
- package/dist/chunks/{schema-3j8sdtpz.js → file-retention-0v53mg2y.js} +4 -4
- package/dist/chunks/{schema-jp934b96.js → file-retention-169jagr2.js} +7 -7
- package/dist/chunks/{schema-q2cdtxy5.js → file-retention-19qd847z.js} +6 -6
- package/dist/chunks/{schema-1ct4r87x.js → file-retention-1ct4r87x.js} +1 -1
- package/dist/chunks/{schema-9k252bfj.js → file-retention-1ggjvb61.js} +28 -28
- package/dist/chunks/{schema-fnxm8qas.js → file-retention-1hdmp3m0.js} +12 -12
- package/dist/chunks/{schema-xzzg2aw3.js → file-retention-1jh2bxey.js} +12 -12
- package/dist/chunks/{schema-kqtq9r6d.js → file-retention-1p48dy4j.js} +24 -24
- package/dist/chunks/{schema-8aw20fxv.js → file-retention-1q1y40j8.js} +28 -28
- package/dist/chunks/{schema-bnfahk6g.js → file-retention-1r60bktf.js} +6 -6
- package/dist/chunks/{schema-54m6nc3n.js → file-retention-1wcfs5an.js} +2 -2
- package/dist/chunks/{schema-r1dq9xr8.js → file-retention-1ydgq2r4.js} +5 -5
- package/dist/chunks/{schema-a35es3dn.js → file-retention-1z25nwdj.js} +43 -43
- package/dist/chunks/{schema-21r38tys.js → file-retention-21r38tys.js} +1 -1
- package/dist/chunks/{schema-2402vzrj.js → file-retention-2402vzrj.js} +1 -1
- package/dist/chunks/{schema-2a5m3afh.js → file-retention-2a5m3afh.js} +1 -1
- package/dist/chunks/{schema-2ht70gj7.js → file-retention-2ht70gj7.js} +1 -1
- package/dist/chunks/{schema-pac8pssg.js → file-retention-2x7vmnaj.js} +23 -23
- package/dist/chunks/{schema-v610d21f.js → file-retention-34eb3mab.js} +24 -24
- package/dist/chunks/{schema-v72m8j26.js → file-retention-34jntwha.js} +1 -1
- package/dist/chunks/{schema-rqa18smj.js → file-retention-3dzp2ssk.js} +11 -11
- package/dist/chunks/{schema-3fc6dm20.js → file-retention-3fc6dm20.js} +1 -1
- package/dist/chunks/{schema-3hepkmqq.js → file-retention-3hepkmqq.js} +1 -1
- package/dist/chunks/{schema-ts04ntb8.js → file-retention-3hkvw3fm.js} +11 -11
- package/dist/chunks/{schema-x71fjkw5.js → file-retention-3jyr1z4v.js} +7 -7
- package/dist/chunks/{schema-3qzbfqsy.js → file-retention-3qzbfqsy.js} +2 -2
- package/dist/chunks/{schema-3smtnn6g.js → file-retention-3smtnn6g.js} +1 -1
- package/dist/chunks/{schema-3tvqynh2.js → file-retention-3tvqynh2.js} +1 -1
- package/dist/chunks/{schema-h5fs3t0a.js → file-retention-3v92ygys.js} +26 -26
- package/dist/chunks/{schema-6bsa9frc.js → file-retention-3yq3pj1g.js} +15 -15
- package/dist/chunks/{schema-454k5vzh.js → file-retention-454k5vzh.js} +1 -1
- package/dist/chunks/{schema-rbhd1hv4.js → file-retention-48dkwq03.js} +3 -3
- package/dist/chunks/{schema-sz9840t7.js → file-retention-4a8k7zg7.js} +9 -9
- package/dist/chunks/{schema-gjk5sn8n.js → file-retention-4gj1y2sv.js} +4 -4
- package/dist/chunks/{schema-418ebam3.js → file-retention-4jvbp95j.js} +4 -4
- package/dist/chunks/{schema-raxsvy8j.js → file-retention-4khp0kk4.js} +11 -11
- package/dist/chunks/{schema-8mvvefrh.js → file-retention-4map1fd3.js} +27 -27
- package/dist/chunks/{schema-4r2nyarf.js → file-retention-4r2nyarf.js} +1 -1
- package/dist/chunks/{schema-234pz9hm.js → file-retention-4rgjvnqr.js} +14 -14
- package/dist/chunks/{schema-1v896bp7.js → file-retention-4thyt0cr.js} +14 -14
- package/dist/chunks/{schema-xr5vwsd4.js → file-retention-4x0nmcjx.js} +9 -9
- package/dist/chunks/{schema-yx2cz2pp.js → file-retention-4xzh45c0.js} +12 -12
- package/dist/chunks/{schema-3g0e3esv.js → file-retention-503qcs8e.js} +20 -20
- package/dist/chunks/{schema-mj8wbps0.js → file-retention-51a45nv8.js} +41 -41
- package/dist/chunks/{schema-wb2q69yx.js → file-retention-52s6f7rv.js} +26 -26
- package/dist/chunks/{schema-8x2kyzb6.js → file-retention-530egx9a.js} +8 -8
- package/dist/chunks/file-retention-54w4zsch.js +247 -0
- package/dist/chunks/{schema-mfqp6xfm.js → file-retention-56gdpj1q.js} +6 -6
- package/dist/chunks/{schema-6926ty5t.js → file-retention-57xtfwrp.js} +8 -8
- package/dist/chunks/{schema-r25t3ann.js → file-retention-5btxcb89.js} +6 -6
- package/dist/chunks/{schema-5daktx2q.js → file-retention-5daktx2q.js} +1 -1
- package/dist/chunks/{schema-5fmxt4p5.js → file-retention-5fmxt4p5.js} +1 -1
- package/dist/chunks/{schema-ep3g8qaw.js → file-retention-5gejhz5w.js} +27 -27
- package/dist/chunks/{schema-d910tjb6.js → file-retention-5gnmt16f.js} +9 -9
- package/dist/chunks/{schema-g608hw24.js → file-retention-5j73ae1t.js} +16 -16
- package/dist/chunks/{schema-5jvc5tg2.js → file-retention-5jvc5tg2.js} +1 -1
- package/dist/chunks/{schema-zy7s2m3e.js → file-retention-5sdg7nhe.js} +13 -13
- package/dist/chunks/{schema-cy23n0eh.js → file-retention-63zheg14.js} +26 -26
- package/dist/chunks/{schema-ecpey84z.js → file-retention-64x7r6w5.js} +22 -22
- package/dist/chunks/{schema-7e1496vv.js → file-retention-654r7z1p.js} +4 -4
- package/dist/chunks/{schema-qwxk75cg.js → file-retention-6e53nqzr.js} +8 -8
- package/dist/chunks/{schema-4p7snnyp.js → file-retention-6nbxm2ze.js} +29 -29
- package/dist/chunks/{schema-d5agjf18.js → file-retention-6pcza54a.js} +27 -27
- package/dist/chunks/{schema-711hfp6y.js → file-retention-711hfp6y.js} +2 -2
- package/dist/chunks/{schema-72nftnjy.js → file-retention-72nftnjy.js} +2 -2
- package/dist/chunks/{schema-mhkvc446.js → file-retention-73tb2d7t.js} +3 -3
- package/dist/chunks/{schema-bpxz7ydq.js → file-retention-76zyzh78.js} +11 -11
- package/dist/chunks/{schema-7bmhse3q.js → file-retention-7bmhse3q.js} +1 -1
- package/dist/chunks/{schema-vrwt7trm.js → file-retention-7bnvhct6.js} +8 -8
- package/dist/chunks/{schema-hsq9qkqb.js → file-retention-7bz1waha.js} +60 -60
- package/dist/chunks/{schema-7dqw4kz8.js → file-retention-7dqw4kz8.js} +1 -1
- package/dist/chunks/{schema-sdygzg6k.js → file-retention-7dxvk8sj.js} +26 -26
- package/dist/chunks/{schema-7w1c3z11.js → file-retention-7jhvs3pe.js} +25 -25
- package/dist/chunks/{schema-s698gkv6.js → file-retention-7z9p2wdr.js} +6 -6
- package/dist/chunks/{schema-809xf7e2.js → file-retention-809xf7e2.js} +2 -2
- package/dist/chunks/{schema-p9071pdt.js → file-retention-8q8fk282.js} +46 -46
- package/dist/chunks/{schema-e51fc25h.js → file-retention-8tbmtt69.js} +9 -9
- package/dist/chunks/{schema-pfvd2csc.js → file-retention-8vmp5gpy.js} +1 -1
- package/dist/chunks/{schema-fk6yh78j.js → file-retention-8x1thw8y.js} +10 -10
- package/dist/chunks/{schema-xfrwv263.js → file-retention-9019yept.js} +6 -6
- package/dist/chunks/{schema-93a8yfjt.js → file-retention-93a8yfjt.js} +2 -2
- package/dist/chunks/{schema-92mcpazx.js → file-retention-971pvjyy.js} +5 -5
- package/dist/chunks/{schema-es1szyat.js → file-retention-9gwy9zfk.js} +15 -15
- package/dist/chunks/{schema-1awmdn6g.js → file-retention-9krggx7e.js} +8 -8
- package/dist/chunks/{schema-9qm9egsn.js → file-retention-9qm9egsn.js} +2 -2
- package/dist/chunks/{schema-8ay24fmk.js → file-retention-9rvda89d.js} +28 -28
- package/dist/chunks/{schema-wabsntfg.js → file-retention-9t0pwkeq.js} +17 -17
- package/dist/chunks/{schema-tnn3pxdz.js → file-retention-9w4m4ymy.js} +27 -27
- package/dist/chunks/file-retention-9yw3vay8.js +22 -0
- package/dist/chunks/{schema-vmv31r6s.js → file-retention-a296k1k9.js} +22 -22
- package/dist/chunks/{schema-9tk8rzfb.js → file-retention-a3mn64bp.js} +4 -4
- package/dist/chunks/{schema-fm2qvscf.js → file-retention-a46v4e4v.js} +4 -4
- package/dist/chunks/{schema-cyjkg8gk.js → file-retention-a98rapcn.js} +12 -12
- package/dist/chunks/{schema-aaet6srn.js → file-retention-aaet6srn.js} +2 -2
- package/dist/chunks/{schema-gnwcgnjb.js → file-retention-aamsyqd7.js} +35 -35
- package/dist/chunks/{schema-cm19gqaq.js → file-retention-ab1km4sg.js} +20 -20
- package/dist/chunks/{schema-kne8f3cn.js → file-retention-afdssyjb.js} +4 -4
- package/dist/chunks/{schema-ajtjthsy.js → file-retention-ajtjthsy.js} +2 -2
- package/dist/chunks/{schema-ne1yvy6p.js → file-retention-ambpxxez.js} +43 -43
- package/dist/chunks/{schema-81htp2jj.js → file-retention-azbx08pf.js} +5 -5
- package/dist/chunks/{schema-xvjj1qqy.js → file-retention-b49m8fgq.js} +1 -1
- package/dist/chunks/{schema-b6gygkdw.js → file-retention-b6gygkdw.js} +2 -2
- package/dist/chunks/{schema-17hja9f4.js → file-retention-b77p7m16.js} +6 -6
- package/dist/chunks/{schema-qk9vesgb.js → file-retention-b83hqy8d.js} +10 -10
- package/dist/chunks/{schema-b9wsbatv.js → file-retention-b9wsbatv.js} +1 -1
- package/dist/chunks/{schema-s53bq4vw.js → file-retention-bmes7amk.js} +32 -32
- package/dist/chunks/{schema-y4nzzd5t.js → file-retention-btc4hvws.js} +5 -5
- package/dist/chunks/{schema-xrtvrd4c.js → file-retention-btht280w.js} +4 -4
- package/dist/chunks/{schema-raa16g9g.js → file-retention-bw7hten5.js} +3 -3
- package/dist/chunks/{schema-rqdcv1n1.js → file-retention-bx5n9ey0.js} +4 -4
- package/dist/chunks/{schema-njdd8kjn.js → file-retention-cavx7z03.js} +83 -83
- package/dist/chunks/{schema-m2dwvqty.js → file-retention-cex0ectg.js} +9 -9
- package/dist/chunks/{schema-pkqzam1k.js → file-retention-cwd49fgd.js} +11 -11
- package/dist/chunks/{schema-d72308c8.js → file-retention-d72308c8.js} +2 -2
- package/dist/chunks/{schema-hf6ertck.js → file-retention-db39sy3g.js} +34 -34
- package/dist/chunks/{schema-39k66fkr.js → file-retention-df3cbvs4.js} +20 -20
- package/dist/chunks/{schema-vwd3d859.js → file-retention-dtz2xhtw.js} +27 -27
- package/dist/chunks/{schema-7rv5x4wn.js → file-retention-dwebx4g8.js} +13 -13
- package/dist/chunks/file-retention-dxj72tfx.js +18 -0
- package/dist/chunks/{schema-mbj5j0dx.js → file-retention-dxv3bfmb.js} +41 -41
- package/dist/chunks/{schema-pydn0w3e.js → file-retention-dykj04b8.js} +1 -1
- package/dist/chunks/{schema-1nt798q2.js → file-retention-dyqxbeha.js} +11 -11
- package/dist/chunks/{schema-fygtvtfb.js → file-retention-e0kn3btm.js} +60 -60
- package/dist/chunks/{schema-w7xrk89n.js → file-retention-e4fe74de.js} +15 -15
- package/dist/chunks/{schema-ps2ypmnz.js → file-retention-e5fc1vxw.js} +1 -1
- package/dist/chunks/{schema-g8qt226p.js → file-retention-e5vw0egj.js} +5 -5
- package/dist/chunks/{schema-46e97tr7.js → file-retention-eg4pr325.js} +10 -10
- package/dist/chunks/{schema-ga3x3tkz.js → file-retention-emmsgc7p.js} +11 -11
- package/dist/chunks/{schema-8da146zc.js → file-retention-emyx9er5.js} +5 -5
- package/dist/chunks/{schema-v45en8pj.js → file-retention-ep9enyxr.js} +18 -18
- package/dist/chunks/{schema-r9pjqsyf.js → file-retention-er3f8aqh.js} +30 -30
- package/dist/chunks/{schema-686b062j.js → file-retention-er9t76qp.js} +12 -12
- package/dist/chunks/{schema-he4jbf8x.js → file-retention-ezhxkjns.js} +36 -36
- package/dist/chunks/{schema-yjw6p547.js → file-retention-f268p0jz.js} +18 -18
- package/dist/chunks/{schema-8ak5gdn6.js → file-retention-f5y7cb2r.js} +14 -14
- package/dist/chunks/{schema-jdcvk5y7.js → file-retention-f60rqjgw.js} +11 -11
- package/dist/chunks/{schema-k7e3e2sr.js → file-retention-ff89hqjf.js} +16 -16
- package/dist/chunks/{schema-pt07xbnp.js → file-retention-fp34rt5y.js} +18 -18
- package/dist/chunks/{schema-fxbjtjnd.js → file-retention-fxbjtjnd.js} +1 -1
- package/dist/chunks/{schema-fxypknc8.js → file-retention-fxypknc8.js} +1 -1
- package/dist/chunks/{schema-spftfn4p.js → file-retention-fy8y407q.js} +51 -51
- package/dist/chunks/{schema-637qq8n2.js → file-retention-fz1pdqz4.js} +9 -9
- package/dist/chunks/{schema-s2e3zm9h.js → file-retention-g0j16pt1.js} +53 -53
- package/dist/chunks/{schema-7a2q0zfc.js → file-retention-g97k7hqe.js} +6 -6
- package/dist/chunks/{schema-8h2x3rhz.js → file-retention-g993n2k7.js} +11 -11
- package/dist/chunks/{schema-gd4qta3r.js → file-retention-gd4qta3r.js} +1 -1
- package/dist/chunks/{schema-20evr3mp.js → file-retention-gdjb7na3.js} +11 -11
- package/dist/chunks/{schema-jhzxqtm7.js → file-retention-gqv7w6by.js} +67 -67
- package/dist/chunks/{schema-vecstcyh.js → file-retention-gztfqjt6.js} +46 -46
- package/dist/chunks/{schema-yf1d8svm.js → file-retention-h42awfrh.js} +8 -8
- package/dist/chunks/{schema-tan6veb8.js → file-retention-h511sj23.js} +26 -26
- package/dist/chunks/{schema-a6h88whx.js → file-retention-h64bhzsz.js} +24 -24
- package/dist/chunks/{schema-fv0bxyhd.js → file-retention-h6h8wc8c.js} +3 -3
- package/dist/chunks/{schema-h6vf3j39.js → file-retention-h6vf3j39.js} +1 -1
- package/dist/chunks/{schema-heyhwy2w.js → file-retention-heyhwy2w.js} +1 -1
- package/dist/chunks/{schema-vpwgshky.js → file-retention-hpnhdz6t.js} +13 -13
- package/dist/chunks/{schema-hrvm11jt.js → file-retention-hrvm11jt.js} +3 -3
- package/dist/chunks/{schema-934rg3e5.js → file-retention-hvw9ez06.js} +20 -20
- package/dist/chunks/{schema-kvsjn1dr.js → file-retention-hw4pv20g.js} +2 -2
- package/dist/chunks/{schema-qb2yjf91.js → file-retention-jb9jk37q.js} +21 -21
- package/dist/chunks/{schema-p7v84xw5.js → file-retention-jpvwbg27.js} +32 -32
- package/dist/chunks/{schema-axmvebxj.js → file-retention-jw80jp6b.js} +21 -21
- package/dist/chunks/{schema-ehj7vx0b.js → file-retention-k03ey5t7.js} +11 -11
- package/dist/chunks/{schema-9qkzxvef.js → file-retention-k1vkejwd.js} +3 -3
- package/dist/chunks/{schema-k4bwy1x5.js → file-retention-k4bwy1x5.js} +1 -1
- package/dist/chunks/{schema-23r2qrzy.js → file-retention-k4eh3acx.js} +41 -41
- package/dist/chunks/{schema-wwqw8y3k.js → file-retention-kaxe1s77.js} +19 -19
- package/dist/chunks/{schema-kg06axw8.js → file-retention-kg06axw8.js} +1 -1
- package/dist/chunks/{schema-c7jvcatc.js → file-retention-knefre3q.js} +5 -5
- package/dist/chunks/{schema-zmgxegv8.js → file-retention-kpev0jfb.js} +15 -15
- package/dist/chunks/{schema-npx3gdza.js → file-retention-kz0qf9hw.js} +86 -86
- package/dist/chunks/{schema-xgjy9czn.js → file-retention-m1z2avc0.js} +9 -9
- package/dist/chunks/{schema-0qvt9njx.js → file-retention-m6jejm1p.js} +40 -40
- package/dist/chunks/{schema-m9w0rfyh.js → file-retention-m9w0rfyh.js} +1 -1
- package/dist/chunks/{schema-0r9t8f77.js → file-retention-mr56sp72.js} +17 -17
- package/dist/chunks/{schema-wvycr4s3.js → file-retention-mwbry6nn.js} +4 -4
- package/dist/chunks/{schema-ah4q1w3j.js → file-retention-naqx5crp.js} +8 -8
- package/dist/chunks/{schema-hjt4xg1x.js → file-retention-nhy5jxhy.js} +4 -4
- package/dist/chunks/{schema-kwt11tv7.js → file-retention-nqvfwm7d.js} +17 -17
- package/dist/chunks/{schema-x8z6j3kk.js → file-retention-ny14xqs8.js} +3 -3
- package/dist/chunks/{schema-35ng7dkh.js → file-retention-p3p972wa.js} +5 -5
- package/dist/chunks/{schema-hys3c6ky.js → file-retention-p94mrc9t.js} +28 -28
- package/dist/chunks/{schema-j935v87r.js → file-retention-paphc93g.js} +2 -2
- package/dist/chunks/{schema-q1q8dpek.js → file-retention-pbp1se8d.js} +23 -23
- package/dist/chunks/{schema-rp8jz6x1.js → file-retention-pf2hb43r.js} +4 -4
- package/dist/chunks/{schema-pjvnvgmy.js → file-retention-pjvnvgmy.js} +1 -1
- package/dist/chunks/{schema-pknna89w.js → file-retention-pknna89w.js} +1 -1
- package/dist/chunks/{schema-j53fc2s1.js → file-retention-pr9g8gys.js} +6 -6
- package/dist/chunks/{schema-9c51rpw1.js → file-retention-pt1jjr6j.js} +9 -9
- package/dist/chunks/{schema-vt9wfr9s.js → file-retention-q38gs549.js} +21 -21
- package/dist/chunks/{schema-7gq8qbc1.js → file-retention-q7j76h9b.js} +15 -15
- package/dist/chunks/{schema-be3ps6fk.js → file-retention-qb3txf5b.js} +10 -10
- package/dist/chunks/{schema-7gg2m3zr.js → file-retention-qp4whs7y.js} +16 -16
- package/dist/chunks/{schema-7sd9q442.js → file-retention-qq8x5mwt.js} +4 -4
- package/dist/chunks/{schema-qsdy395h.js → file-retention-qsdy395h.js} +1 -1
- package/dist/chunks/{schema-f7502g1v.js → file-retention-qv0b9wx6.js} +6 -6
- package/dist/chunks/file-retention-qw80c7h1.js +462 -0
- package/dist/chunks/{schema-7d8vear2.js → file-retention-qykqfys3.js} +1 -1
- package/dist/chunks/{schema-z44293nx.js → file-retention-qzv1jgwe.js} +26 -26
- package/dist/chunks/{schema-85jr47cf.js → file-retention-r2d9jv9d.js} +9 -9
- package/dist/chunks/{schema-r8dhm0tv.js → file-retention-r8dhm0tv.js} +1 -1
- package/dist/chunks/{schema-m9p8h4jk.js → file-retention-r8xk55zx.js} +12 -12
- package/dist/chunks/{schema-yp2x3t23.js → file-retention-r8xr0va3.js} +4 -4
- package/dist/chunks/{schema-2a1acymz.js → file-retention-rae26gbb.js} +8 -8
- package/dist/chunks/{schema-ntvpvfq2.js → file-retention-rdsh588k.js} +7 -7
- package/dist/chunks/{schema-kh25xj5f.js → file-retention-rpzf37ve.js} +32 -32
- package/dist/chunks/{schema-jdd7wz44.js → file-retention-rqwyf4a8.js} +30 -30
- package/dist/chunks/{schema-6fpeds7j.js → file-retention-rvfs50bv.js} +12 -12
- package/dist/chunks/{schema-9tjsbxxt.js → file-retention-rvhss2m2.js} +4 -4
- package/dist/chunks/{schema-sr948aj6.js → file-retention-rz8xxtng.js} +18 -18
- package/dist/chunks/{schema-wpa91s1b.js → file-retention-s283m12p.js} +178 -178
- package/dist/chunks/{schema-sba4qhjf.js → file-retention-sba4qhjf.js} +1 -1
- package/dist/chunks/{schema-ttmf2k06.js → file-retention-sbt1xe51.js} +8 -8
- package/dist/chunks/{schema-2t24vjmc.js → file-retention-sjghkmca.js} +25 -25
- package/dist/chunks/{schema-rm3yzcsd.js → file-retention-snxwbbja.js} +4 -4
- package/dist/chunks/{schema-8gsst550.js → file-retention-sqypgbm1.js} +18 -18
- package/dist/chunks/{schema-d73w0rgx.js → file-retention-sr82n7vz.js} +17 -17
- package/dist/chunks/{schema-81ggxfts.js → file-retention-sybecs9s.js} +9 -9
- package/dist/chunks/{schema-sn3nkvtj.js → file-retention-systxyed.js} +11 -11
- package/dist/chunks/{schema-6y0247yb.js → file-retention-t59a9e66.js} +9 -9
- package/dist/chunks/{schema-tazgh4e4.js → file-retention-tazgh4e4.js} +1 -1
- package/dist/chunks/{schema-2cr5jxfp.js → file-retention-tbcankzb.js} +9 -9
- package/dist/chunks/{schema-tcezcvh9.js → file-retention-tcezcvh9.js} +1 -1
- package/dist/chunks/{schema-f00jbxzz.js → file-retention-tcxthdpc.js} +20 -20
- package/dist/chunks/{schema-me8n0gqn.js → file-retention-tebfwd6f.js} +17 -17
- package/dist/chunks/{schema-tjykrgmx.js → file-retention-tjykrgmx.js} +1 -1
- package/dist/chunks/{schema-6qptncg2.js → file-retention-tmm76dnc.js} +12 -12
- package/dist/chunks/{schema-wf52tegj.js → file-retention-tmphv92d.js} +41 -41
- package/dist/chunks/{schema-t0dq411k.js → file-retention-tt4eawst.js} +3 -3
- package/dist/chunks/{schema-pe5crvt1.js → file-retention-tvgknxm1.js} +11 -11
- package/dist/chunks/{schema-23bjxdcp.js → file-retention-twadq4ng.js} +24 -24
- package/dist/chunks/{schema-1hnatcq2.js → file-retention-vev8ym6q.js} +6 -6
- package/dist/chunks/{schema-4jtjn2gj.js → file-retention-vhpcjtn1.js} +27 -27
- package/dist/chunks/{schema-cv95fcmp.js → file-retention-vnheh1tn.js} +5 -5
- package/dist/chunks/{schema-w3wsvvr9.js → file-retention-w3wsvvr9.js} +1 -1
- package/dist/chunks/{schema-54y1e3qg.js → file-retention-w6s4nrrc.js} +8 -8
- package/dist/chunks/{schema-wd87259q.js → file-retention-wd87259q.js} +1 -1
- package/dist/chunks/{schema-ey2qyrhf.js → file-retention-wdre2fsc.js} +21 -21
- package/dist/chunks/{schema-525tn4kx.js → file-retention-wg9v2026.js} +2 -2
- package/dist/chunks/{schema-trhjdf47.js → file-retention-wh6fxssz.js} +24 -24
- package/dist/chunks/{schema-2g49wpqd.js → file-retention-wn6ay9n5.js} +10 -10
- package/dist/chunks/{schema-se2vkk77.js → file-retention-wsppk9kq.js} +27 -27
- package/dist/chunks/{schema-dged69jn.js → file-retention-wt2bt8rh.js} +4 -4
- package/dist/chunks/{schema-dcxg8drc.js → file-retention-wwsspkj6.js} +31 -31
- package/dist/chunks/{schema-x1ezjp6w.js → file-retention-x1ezjp6w.js} +1 -1
- package/dist/chunks/{schema-e8qch614.js → file-retention-x2yzyww1.js} +28 -28
- package/dist/chunks/{schema-q1nkzk48.js → file-retention-xtbhkgqd.js} +32 -32
- package/dist/chunks/{schema-m9hdf67d.js → file-retention-xtzvz6z2.js} +30 -30
- package/dist/chunks/{schema-whnf76s8.js → file-retention-xvkjq10q.js} +13 -13
- package/dist/chunks/{schema-y1fvbwt7.js → file-retention-y1fvbwt7.js} +1 -1
- package/dist/chunks/{schema-fee8q97m.js → file-retention-y33rnh2q.js} +9 -9
- package/dist/chunks/{schema-y71avatq.js → file-retention-y71avatq.js} +1 -1
- package/dist/chunks/{schema-wa8a7neb.js → file-retention-y8vkqrwp.js} +1 -1
- package/dist/chunks/{schema-8d0pmt0f.js → file-retention-yd5ewqxr.js} +10 -10
- package/dist/chunks/{schema-6e958v7x.js → file-retention-yhr218qz.js} +4 -4
- package/dist/chunks/{schema-kaqw06zw.js → file-retention-yjfqme9d.js} +1 -1
- package/dist/chunks/{schema-6gdx6h15.js → file-retention-yjqf6ny1.js} +10 -10
- package/dist/chunks/{schema-qwh8c2js.js → file-retention-ypnagvbr.js} +11 -11
- package/dist/chunks/{schema-74y2dvrh.js → file-retention-z0jdk2ea.js} +38 -38
- package/dist/chunks/{schema-z1k01bn4.js → file-retention-z1k01bn4.js} +2 -2
- package/dist/chunks/{schema-29x78va6.js → file-retention-z63w68vq.js} +6 -6
- package/dist/chunks/{schema-01w7s3hf.js → file-retention-z78tg67p.js} +5 -5
- package/dist/chunks/{schema-8jn5w37c.js → file-retention-zc6h5zbx.js} +8 -8
- package/dist/chunks/{schema-7zsnkm1p.js → file-retention-zgvs89xm.js} +35 -35
- package/dist/chunks/{schema-sy7czwgb.js → file-retention-zhk34nm9.js} +6 -6
- package/dist/chunks/{schema-zxq2ej10.js → file-retention-zxq2ej10.js} +1 -1
- package/dist/chunks/{schema-p7xgpz7y.js → file-retention-zyjnrmzk.js} +9 -9
- package/dist/codemode/catalog.js +1 -1
- package/dist/codemode/instructions.js +5 -5
- package/dist/codemode/tool.js +2 -2
- package/dist/command.js +81 -81
- package/dist/config/discovery.js +77 -77
- package/dist/config/markdown.js +1 -1
- package/dist/config/normalize.js +19 -19
- package/dist/config/plugin/agent.js +115 -115
- package/dist/config/plugin/command.js +207 -207
- package/dist/config/plugin/compaction.js +155 -155
- package/dist/config/plugin/entry-observer.js +1 -1
- package/dist/config/plugin/formatter.js +117 -117
- package/dist/config/plugin/image.js +115 -115
- package/dist/config/plugin/instruction.js +85 -85
- package/dist/config/plugin/location-watcher.js +117 -117
- package/dist/config/plugin/mcp.js +124 -124
- package/dist/config/plugin/policy.js +114 -114
- package/dist/config/plugin/provider.js +113 -113
- package/dist/config/plugin/reference.js +117 -117
- package/dist/config/plugin/shell.js +116 -116
- package/dist/config/plugin/skill-file.js +97 -97
- package/dist/config/plugin/skill.js +134 -134
- package/dist/config/plugin/snapshot.js +115 -115
- package/dist/config/plugin/source.js +115 -115
- package/dist/config/plugin/tool-output.js +117 -117
- package/dist/config/plugin/websearch.js +113 -113
- package/dist/config/plugin/worktree.js +116 -116
- package/dist/config/variable.js +3 -3
- package/dist/config/watch.js +1 -1
- package/dist/config.js +119 -119
- package/dist/credential/sql.js +2 -2
- package/dist/credential.js +81 -81
- package/dist/database/database.js +64 -64
- 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.gen.js +47 -47
- package/dist/database/migration.js +49 -49
- 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 +74 -74
- package/dist/database/v1-migration.js +1 -1
- package/dist/effect/app-node-builder.js +360 -360
- 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 +88 -88
- package/dist/environment/exec-defaults.js +2 -2
- package/dist/environment/files.js +1 -1
- package/dist/environment/index.js +88 -88
- 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 +99 -99
- package/dist/file-mutation.js +87 -87
- package/dist/file-retention.js +1 -1
- package/dist/file.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/ignore.js +1 -1
- package/dist/filesystem/location-watcher-policy.js +6 -6
- package/dist/filesystem/location-watcher.js +222 -222
- package/dist/filesystem/protected.js +1 -1
- package/dist/filesystem/search.js +95 -95
- package/dist/filesystem/watcher-binding.js +3 -3
- package/dist/filesystem/watcher.js +15 -15
- package/dist/filesystem.js +96 -96
- package/dist/form.js +84 -84
- package/dist/formatter/builtins.js +4 -4
- package/dist/formatter.js +82 -82
- package/dist/generate.js +91 -91
- package/dist/git.js +7 -7
- 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 +3 -3
- 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/id/id.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 +351 -351
- package/dist/instruction-discovery.js +81 -81
- package/dist/instructions/builtins.js +82 -82
- package/dist/instructions/index.js +3 -3
- package/dist/integration/connection.js +1 -1
- package/dist/integration.js +84 -84
- package/dist/job.js +77 -77
- package/dist/kv/sql.js +2 -2
- package/dist/kv.js +71 -71
- package/dist/location-activity.js +131 -131
- package/dist/location-mutation.js +99 -99
- package/dist/location-service-map.js +81 -81
- package/dist/location-services.js +348 -348
- package/dist/location.js +84 -84
- package/dist/mcp/client.js +86 -86
- package/dist/mcp/index.js +103 -103
- package/dist/mcp/instructions.js +122 -122
- package/dist/mcp/oauth.js +3 -3
- package/dist/mcp/stdio.js +85 -85
- package/dist/mime.js +1 -1
- package/dist/modal/models.js +3 -3
- package/dist/model-resolver.js +86 -86
- package/dist/model.js +8 -8
- package/dist/models-dev.js +82 -82
- package/dist/oauth/page.js +1 -1
- package/dist/permission/saved.js +78 -78
- package/dist/permission/sql.js +5 -5
- package/dist/permission.js +110 -110
- package/dist/persistent-pty/binary.bun.js +1 -1
- package/dist/persistent-pty/daemon.js +1 -1
- package/dist/persistent-pty/index.js +84 -84
- package/dist/persistent-pty/pty-binding.js +1 -1
- package/dist/persistent-pty.js +73 -73
- package/dist/plugin/agent.js +97 -97
- package/dist/plugin/command.js +94 -94
- package/dist/plugin/hooks.js +5 -5
- package/dist/plugin/host.js +213 -213
- package/dist/plugin/instance.js +5 -5
- package/dist/plugin/internal.js +322 -322
- package/dist/plugin/mcp-codemode-exclusion.js +3 -3
- package/dist/plugin/models-dev.js +75 -75
- package/dist/plugin/module.js +7 -7
- package/dist/plugin/optimize.js +4 -4
- package/dist/plugin/plan.js +97 -97
- package/dist/plugin/promise.js +1 -1
- package/dist/plugin/provider/alibaba.js +2 -2
- package/dist/plugin/provider/amazon-bedrock.js +2 -2
- package/dist/plugin/provider/anthropic.js +2 -2
- package/dist/plugin/provider/azure.js +118 -118
- package/dist/plugin/provider/cerebras.js +2 -2
- package/dist/plugin/provider/cloudflare-ai-gateway.js +117 -117
- package/dist/plugin/provider/cloudflare-workers-ai.js +117 -117
- package/dist/plugin/provider/cohere.js +2 -2
- package/dist/plugin/provider/configured.js +114 -114
- package/dist/plugin/provider/dynamic.js +2 -2
- package/dist/plugin/provider/factory.js +1 -1
- package/dist/plugin/provider/gateway.js +2 -2
- package/dist/plugin/provider/github-copilot.js +80 -80
- package/dist/plugin/provider/gitlab.js +3 -3
- package/dist/plugin/provider/google-vertex.js +2 -2
- package/dist/plugin/provider/kilo.js +2 -2
- package/dist/plugin/provider/llmgateway.js +76 -76
- package/dist/plugin/provider/lmstudio.js +115 -115
- package/dist/plugin/provider/mistral.js +2 -2
- package/dist/plugin/provider/modal.js +79 -79
- package/dist/plugin/provider/nvidia.js +2 -2
- package/dist/plugin/provider/ollama.js +117 -117
- package/dist/plugin/provider/openai-compatible.js +1 -1
- package/dist/plugin/provider/openai.js +80 -80
- package/dist/plugin/provider/opencode.js +76 -76
- package/dist/plugin/provider/openrouter.js +3 -3
- package/dist/plugin/provider/perplexity.js +2 -2
- package/dist/plugin/provider/sap-ai-core.js +3 -3
- package/dist/plugin/provider/sdk-factory.js +1 -1
- package/dist/plugin/provider/snowflake-cortex.js +2 -2
- package/dist/plugin/provider/venice.js +2 -2
- package/dist/plugin/provider/vercel.js +2 -2
- package/dist/plugin/provider/vllm.js +117 -117
- package/dist/plugin/provider/xai.js +77 -77
- package/dist/plugin/provider/zenmux.js +2 -2
- package/dist/plugin/provider.js +155 -155
- package/dist/plugin/sdk.js +72 -72
- package/dist/plugin/service.js +3 -3
- package/dist/plugin/skill.js +133 -133
- package/dist/plugin/source-directory.js +1 -1
- package/dist/plugin/supervisor.js +339 -339
- package/dist/plugin/update.js +6 -6
- package/dist/plugin/variant.js +4 -4
- package/dist/plugin/vcs/git.js +82 -82
- package/dist/plugin/vcs/hg.js +82 -82
- package/dist/plugin/warming.js +112 -112
- package/dist/plugin/websearch/exa.js +7 -7
- package/dist/plugin/websearch/firecrawl.js +6 -6
- package/dist/plugin/websearch/index.js +8 -8
- package/dist/plugin/websearch/mcp.js +4 -4
- package/dist/plugin/websearch/parallel.js +6 -6
- package/dist/plugin/websearch/tavily.js +6 -6
- package/dist/plugin.js +220 -220
- package/dist/project/schema.js +8 -8
- package/dist/project/sql.js +4 -4
- package/dist/project.js +83 -83
- package/dist/provider.js +5 -5
- package/dist/pty/protocol.js +1 -1
- package/dist/pty/schema.js +1 -1
- package/dist/pty/ticket.js +1 -1
- package/dist/pty.js +88 -88
- package/dist/reference/instructions.js +84 -84
- package/dist/reference.js +84 -84
- package/dist/repository-cache.js +76 -76
- package/dist/repository.js +1 -1
- package/dist/ripgrep/binary.js +2 -2
- package/dist/ripgrep.js +91 -91
- package/dist/rpc.js +81 -81
- package/dist/schema.js +1 -1
- package/dist/session/command.js +72 -72
- package/dist/session/compaction.js +127 -127
- package/dist/session/context.js +147 -147
- package/dist/session/environment.js +5 -5
- package/dist/session/error.js +7 -7
- package/dist/session/event.js +1 -1
- package/dist/session/execution/restart.js +219 -219
- package/dist/session/execution.js +122 -122
- package/dist/session/generate.js +148 -148
- 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 +77 -77
- package/dist/session/instruction-state.js +8 -8
- package/dist/session/instructions.js +92 -92
- package/dist/session/message-updater.js +4 -4
- package/dist/session/message.js +1 -1
- package/dist/session/model-request.js +113 -113
- package/dist/session/model-transport.js +9 -9
- package/dist/session/move.js +126 -126
- package/dist/session/projector.js +84 -84
- package/dist/session/prompt.js +100 -100
- package/dist/session/provider-context.js +3 -3
- package/dist/session/revert.js +85 -85
- 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 +86 -86
- package/dist/session/runner/publish-llm-event.js +3 -3
- package/dist/session/runner/retry.js +110 -110
- package/dist/session/runner/step.js +119 -119
- package/dist/session/runner/to-llm-message.js +2 -2
- package/dist/session/schema.js +1 -1
- package/dist/session/session.js +169 -169
- package/dist/session/shell.js +131 -131
- package/dist/session/skill.js +98 -98
- package/dist/session/sql.js +5 -5
- package/dist/session/stats.js +71 -71
- package/dist/session/store.js +83 -83
- package/dist/session/subagent-completion.js +1 -1
- package/dist/session/subagent-job.js +205 -205
- package/dist/session/system-prompt.js +3 -3
- package/dist/session/title.js +149 -149
- package/dist/session/to-session-error.js +107 -107
- package/dist/session/transfer.js +213 -213
- package/dist/session/usage.js +1 -1
- package/dist/session.js +207 -207
- 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 +133 -133
- package/dist/skill/discovery.js +6 -6
- package/dist/skill/instructions.js +100 -100
- package/dist/skill.js +107 -107
- package/dist/snapshot.js +86 -86
- 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 +119 -119
- package/dist/tool/plugin/edit.js +115 -115
- package/dist/tool/plugin/file-diff.js +1 -1
- package/dist/tool/plugin/glob.js +120 -120
- package/dist/tool/plugin/grep.js +118 -118
- package/dist/tool/plugin/opencode.js +3 -3
- package/dist/tool/plugin/patch.js +109 -109
- package/dist/tool/plugin/question.js +98 -98
- package/dist/tool/plugin/read.js +121 -121
- package/dist/tool/plugin/shell.js +210 -210
- package/dist/tool/plugin/skill.js +108 -108
- package/dist/tool/plugin/subagent.js +214 -214
- package/dist/tool/plugin/webfetch.js +105 -105
- package/dist/tool/plugin/websearch.js +107 -107
- package/dist/tool/plugin/write.js +117 -117
- package/dist/tool/read-filesystem.js +96 -96
- package/dist/tool/runtime.js +1 -1
- package/dist/tool-output.js +8 -8
- package/dist/tool.js +13 -13
- package/dist/util/error-summary.js +1 -1
- package/dist/util/error.js +1 -1
- 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/attachment.js +4 -4
- package/dist/v1/config/command.js +3 -3
- package/dist/v1/config/config.js +16 -16
- package/dist/v1/config/error.js +4 -4
- package/dist/v1/config/formatter.js +3 -3
- package/dist/v1/config/layout.js +1 -1
- package/dist/v1/config/lsp.js +3 -3
- package/dist/v1/config/mcp.js +4 -4
- package/dist/v1/config/migrate.js +4 -4
- package/dist/v1/config/permission.js +7 -7
- package/dist/v1/config/plugin.js +1 -1
- package/dist/v1/config/provider-options.js +1 -1
- package/dist/v1/config/provider.js +4 -4
- package/dist/v1/config/server.js +2 -2
- package/dist/v1/config/skills.js +3 -3
- package/dist/v1/permission.js +1 -1
- package/dist/vcs/patch.js +1 -1
- package/dist/vcs.js +85 -85
- package/dist/websearch.js +82 -82
- package/dist/wellknown/plugin.js +74 -74
- package/dist/wellknown.js +77 -77
- package/dist/workspace/driver.js +7 -7
- package/dist/workspace/sql.js +1 -1
- package/dist/workspace.js +78 -78
- package/dist/worktree/directory.js +2 -2
- package/dist/worktree/git.js +7 -7
- package/dist/worktree/refresh.js +340 -340
- package/dist/worktree/sql.js +5 -5
- package/dist/worktree.js +89 -89
- package/package.json +8 -8
- package/dist/chunks/schema-54v3xmsq.js +0 -22
- package/dist/chunks/schema-ahspyapp.js +0 -247
- package/dist/chunks/schema-rap9a73h.js +0 -18
- package/dist/chunks/schema-za2svx48.js +0 -462
- /package/dist/chunks/{schema-0fabt78z.js → file-retention-0fabt78z.js} +0 -0
- /package/dist/chunks/{schema-0qkdqm5v.js → file-retention-0qkdqm5v.js} +0 -0
- /package/dist/chunks/{schema-0vqp07g5.js → file-retention-0vqp07g5.js} +0 -0
- /package/dist/chunks/{schema-0zkw76rk.js → file-retention-0zkw76rk.js} +0 -0
- /package/dist/chunks/{schema-17cy0kzp.js → file-retention-17cy0kzp.js} +0 -0
- /package/dist/chunks/{schema-1cnp2v09.js → file-retention-1cnp2v09.js} +0 -0
- /package/dist/chunks/{schema-1kg9ymc8.js → file-retention-1kg9ymc8.js} +0 -0
- /package/dist/chunks/{schema-2710q6r3.js → file-retention-2710q6r3.js} +0 -0
- /package/dist/chunks/{schema-2axfhc9x.js → file-retention-2axfhc9x.js} +0 -0
- /package/dist/chunks/{schema-2c3vjs8z.js → file-retention-2c3vjs8z.js} +0 -0
- /package/dist/chunks/{schema-359p4xyc.js → file-retention-359p4xyc.js} +0 -0
- /package/dist/chunks/{schema-3asan66x.js → file-retention-3asan66x.js} +0 -0
- /package/dist/chunks/{schema-3t738kvx.js → file-retention-3t738kvx.js} +0 -0
- /package/dist/chunks/{schema-3v8g72cx.js → file-retention-3v8g72cx.js} +0 -0
- /package/dist/chunks/{schema-3wcehsnq.js → file-retention-3wcehsnq.js} +0 -0
- /package/dist/chunks/{schema-41nvscxy.js → file-retention-41nvscxy.js} +0 -0
- /package/dist/chunks/{schema-43n2bw4t.js → file-retention-43n2bw4t.js} +0 -0
- /package/dist/chunks/{schema-4knz6hnm.js → file-retention-4knz6hnm.js} +0 -0
- /package/dist/chunks/{schema-4y7fprxs.js → file-retention-4y7fprxs.js} +0 -0
- /package/dist/chunks/{schema-53557ph1.js → file-retention-53557ph1.js} +0 -0
- /package/dist/chunks/{schema-550bvhaj.js → file-retention-550bvhaj.js} +0 -0
- /package/dist/chunks/{schema-6prwharc.js → file-retention-6prwharc.js} +0 -0
- /package/dist/chunks/{schema-7akdwqpd.js → file-retention-7akdwqpd.js} +0 -0
- /package/dist/chunks/{schema-7m9af43g.js → file-retention-7m9af43g.js} +0 -0
- /package/dist/chunks/{schema-7zk4hah4.js → file-retention-7zk4hah4.js} +0 -0
- /package/dist/chunks/{schema-822emrt2.js → file-retention-822emrt2.js} +0 -0
- /package/dist/chunks/{schema-88xbtdfr.js → file-retention-88xbtdfr.js} +0 -0
- /package/dist/chunks/{schema-8n3pysct.js → file-retention-8n3pysct.js} +0 -0
- /package/dist/chunks/{schema-982e01ww.js → file-retention-982e01ww.js} +0 -0
- /package/dist/chunks/{schema-9a4afbnw.js → file-retention-9a4afbnw.js} +0 -0
- /package/dist/chunks/{schema-9rqn6x4v.js → file-retention-9rqn6x4v.js} +0 -0
- /package/dist/chunks/{schema-a1tpkmh4.js → file-retention-a1tpkmh4.js} +0 -0
- /package/dist/chunks/{schema-af5trqkr.js → file-retention-af5trqkr.js} +0 -0
- /package/dist/chunks/{schema-afrmfg78.js → file-retention-afrmfg78.js} +0 -0
- /package/dist/chunks/{schema-aqzs7mqg.js → file-retention-aqzs7mqg.js} +0 -0
- /package/dist/chunks/{schema-atq7p7m5.js → file-retention-atq7p7m5.js} +0 -0
- /package/dist/chunks/{schema-bkyjaxrp.js → file-retention-bkyjaxrp.js} +0 -0
- /package/dist/chunks/{schema-bmr6ed5q.js → file-retention-bmr6ed5q.js} +0 -0
- /package/dist/chunks/{schema-cf4snx6d.js → file-retention-cf4snx6d.js} +0 -0
- /package/dist/chunks/{schema-cvy3z8tj.js → file-retention-cvy3z8tj.js} +0 -0
- /package/dist/chunks/{schema-d9fn303g.js → file-retention-d9fn303g.js} +0 -0
- /package/dist/chunks/{schema-d9jj8t3e.js → file-retention-d9jj8t3e.js} +0 -0
- /package/dist/chunks/{schema-dajrwvna.js → file-retention-dajrwvna.js} +0 -0
- /package/dist/chunks/{schema-dap0rakb.js → file-retention-dap0rakb.js} +0 -0
- /package/dist/chunks/{schema-df08tz66.js → file-retention-df08tz66.js} +0 -0
- /package/dist/chunks/{schema-dy18nga0.js → file-retention-dy18nga0.js} +0 -0
- /package/dist/chunks/{schema-e5kj55wp.js → file-retention-e5kj55wp.js} +0 -0
- /package/dist/chunks/{schema-e73j6tqm.js → file-retention-e73j6tqm.js} +0 -0
- /package/dist/chunks/{schema-eh3zwz77.js → file-retention-eh3zwz77.js} +0 -0
- /package/dist/chunks/{schema-emrn6kk6.js → file-retention-emrn6kk6.js} +0 -0
- /package/dist/chunks/{schema-f0mxakyp.js → file-retention-f0mxakyp.js} +0 -0
- /package/dist/chunks/{schema-f6n9ztr4.js → file-retention-f6n9ztr4.js} +0 -0
- /package/dist/chunks/{schema-faypxj3z.js → file-retention-faypxj3z.js} +0 -0
- /package/dist/chunks/{schema-fd410y7t.js → file-retention-fd410y7t.js} +0 -0
- /package/dist/chunks/{schema-fxgpk5d8.js → file-retention-fxgpk5d8.js} +0 -0
- /package/dist/chunks/{schema-g4wezp1m.js → file-retention-g4wezp1m.js} +0 -0
- /package/dist/chunks/{schema-g86h250q.js → file-retention-g86h250q.js} +0 -0
- /package/dist/chunks/{schema-gebd4c9n.js → file-retention-gebd4c9n.js} +0 -0
- /package/dist/chunks/{schema-hk9envan.js → file-retention-hk9envan.js} +0 -0
- /package/dist/chunks/{schema-j2ntwpah.js → file-retention-j2ntwpah.js} +0 -0
- /package/dist/chunks/{schema-j5zkgpj8.js → file-retention-j5zkgpj8.js} +0 -0
- /package/dist/chunks/{schema-jr7sbwjy.js → file-retention-jr7sbwjy.js} +0 -0
- /package/dist/chunks/{schema-jwfs4k6c.js → file-retention-jwfs4k6c.js} +0 -0
- /package/dist/chunks/{schema-jzg6c2d5.js → file-retention-jzg6c2d5.js} +0 -0
- /package/dist/chunks/{schema-mntxs535.js → file-retention-mntxs535.js} +0 -0
- /package/dist/chunks/{schema-mp448xyj.js → file-retention-mp448xyj.js} +0 -0
- /package/dist/chunks/{schema-msx8hqn2.js → file-retention-msx8hqn2.js} +0 -0
- /package/dist/chunks/{schema-n05xt0ee.js → file-retention-n05xt0ee.js} +0 -0
- /package/dist/chunks/{schema-n3j8tn72.js → file-retention-n3j8tn72.js} +0 -0
- /package/dist/chunks/{schema-njntx4h6.js → file-retention-njntx4h6.js} +0 -0
- /package/dist/chunks/{schema-p8qxwesx.js → file-retention-p8qxwesx.js} +0 -0
- /package/dist/chunks/{schema-q3sfg36h.js → file-retention-q3sfg36h.js} +0 -0
- /package/dist/chunks/{schema-q74kybfr.js → file-retention-q74kybfr.js} +0 -0
- /package/dist/chunks/{schema-qaymkmh1.js → file-retention-qaymkmh1.js} +0 -0
- /package/dist/chunks/{schema-qb87gjwd.js → file-retention-qb87gjwd.js} +0 -0
- /package/dist/chunks/{schema-qfa1cgps.js → file-retention-qfa1cgps.js} +0 -0
- /package/dist/chunks/{schema-qrg20bc0.js → file-retention-qrg20bc0.js} +0 -0
- /package/dist/chunks/{schema-rcb2kzg1.js → file-retention-rcb2kzg1.js} +0 -0
- /package/dist/chunks/{schema-sdp7kfr6.js → file-retention-sdp7kfr6.js} +0 -0
- /package/dist/chunks/{schema-se0s1eqw.js → file-retention-se0s1eqw.js} +0 -0
- /package/dist/chunks/{schema-sk3qaz4a.js → file-retention-sk3qaz4a.js} +0 -0
- /package/dist/chunks/{schema-ssg3fenm.js → file-retention-ssg3fenm.js} +0 -0
- /package/dist/chunks/{schema-twg0f83k.js → file-retention-twg0f83k.js} +0 -0
- /package/dist/chunks/{schema-w803qqfp.js → file-retention-w803qqfp.js} +0 -0
- /package/dist/chunks/{schema-wer8tq1h.js → file-retention-wer8tq1h.js} +0 -0
- /package/dist/chunks/{schema-wtztk69x.js → file-retention-wtztk69x.js} +0 -0
- /package/dist/chunks/{schema-x0ckcb58.js → file-retention-x0ckcb58.js} +0 -0
- /package/dist/chunks/{schema-x1b8g1yb.js → file-retention-x1b8g1yb.js} +0 -0
- /package/dist/chunks/{schema-x61499pn.js → file-retention-x61499pn.js} +0 -0
- /package/dist/chunks/{schema-y44na4kk.js → file-retention-y44na4kk.js} +0 -0
- /package/dist/chunks/{schema-y8cydn3q.js → file-retention-y8cydn3q.js} +0 -0
- /package/dist/chunks/{schema-ygaqb7jw.js → file-retention-ygaqb7jw.js} +0 -0
- /package/dist/chunks/{schema-z9919s4g.js → file-retention-z9919s4g.js} +0 -0
|
@@ -1,13 +1,13 @@
|
|
|
1
1
|
import {
|
|
2
2
|
__export
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./file-retention-9rqn6x4v.js";
|
|
4
4
|
|
|
5
5
|
// src/plugin/hooks.ts
|
|
6
6
|
var exports_hooks = {};
|
|
7
7
|
__export(exports_hooks, {
|
|
8
8
|
PluginHooks: () => exports_hooks,
|
|
9
|
-
Service: () =>
|
|
10
|
-
node: () =>
|
|
9
|
+
Service: () => Service72,
|
|
10
|
+
node: () => node77
|
|
11
11
|
});
|
|
12
12
|
import { Context, Effect, Layer, Scope } from "effect";
|
|
13
13
|
import { makeLocationNode } from "@opencode-ai/util/effect/app-node";
|
|
@@ -20,9 +20,9 @@ var eventProviderID = (event) => {
|
|
|
20
20
|
return typeof model.providerID === "string" ? model.providerID : undefined;
|
|
21
21
|
};
|
|
22
22
|
|
|
23
|
-
class
|
|
23
|
+
class Service72 extends Context.Service()("@opencode/PluginHooks") {
|
|
24
24
|
}
|
|
25
|
-
var layer = Layer.effect(
|
|
25
|
+
var layer = Layer.effect(Service72, Effect.gen(function* () {
|
|
26
26
|
const callbacks = new Map;
|
|
27
27
|
const key = (domain, name) => `${domain}.${String(name)}`;
|
|
28
28
|
const register = Effect.fn("PluginHooks.register")(function* (domain, name, callback, options) {
|
|
@@ -54,8 +54,8 @@ var layer = Layer.effect(Service69, Effect.gen(function* () {
|
|
|
54
54
|
return event;
|
|
55
55
|
});
|
|
56
56
|
const has = (domain, name, providerID) => Effect.sync(() => (callbacks.get(key(domain, name)) ?? []).some((entry) => entry.options?.providerID === undefined || entry.options.providerID === providerID));
|
|
57
|
-
return
|
|
57
|
+
return Service72.of({ has, register, trigger });
|
|
58
58
|
}));
|
|
59
|
-
var
|
|
59
|
+
var node77 = makeLocationNode({ service: Service72, layer, deps: [] });
|
|
60
60
|
|
|
61
|
-
export {
|
|
61
|
+
export { Service72, node77, exports_hooks };
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import {
|
|
2
2
|
getViewSelectedFieldsRuntime2,
|
|
3
3
|
orderSelectedFields2
|
|
4
|
-
} from "./
|
|
4
|
+
} from "./file-retention-emrn6kk6.js";
|
|
5
5
|
|
|
6
6
|
// src/database/drizzle/sqlite-core/effect/select.ts
|
|
7
7
|
import { applyEffectWrapper } from "drizzle-orm/effect-core/query-effect";
|
|
@@ -1,18 +1,18 @@
|
|
|
1
1
|
import {
|
|
2
2
|
PositiveInt2,
|
|
3
3
|
RelativePath2
|
|
4
|
-
} from "./
|
|
4
|
+
} from "./file-retention-p8qxwesx.js";
|
|
5
5
|
import {
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
} from "./
|
|
6
|
+
Service75,
|
|
7
|
+
node80
|
|
8
|
+
} from "./file-retention-nqvfwm7d.js";
|
|
9
9
|
import {
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
} from "./
|
|
10
|
+
Service15,
|
|
11
|
+
node18
|
|
12
|
+
} from "./file-retention-7dxvk8sj.js";
|
|
13
13
|
import {
|
|
14
14
|
__export
|
|
15
|
-
} from "./
|
|
15
|
+
} from "./file-retention-9rqn6x4v.js";
|
|
16
16
|
|
|
17
17
|
// src/filesystem.ts
|
|
18
18
|
var exports_filesystem = {};
|
|
@@ -21,7 +21,7 @@ __export(exports_filesystem, {
|
|
|
21
21
|
DEFAULT_SEARCH_LIMIT: () => DEFAULT_SEARCH_LIMIT2,
|
|
22
22
|
DEFAULT_SEARCH_TIMEOUT_MS: () => DEFAULT_SEARCH_TIMEOUT_MS2,
|
|
23
23
|
Entry: () => Entry2,
|
|
24
|
-
Event: () =>
|
|
24
|
+
Event: () => Event3,
|
|
25
25
|
FileSystem: () => exports_filesystem,
|
|
26
26
|
FindInput: () => FindInput2,
|
|
27
27
|
GlobInput: () => GlobInput2,
|
|
@@ -29,9 +29,9 @@ __export(exports_filesystem, {
|
|
|
29
29
|
ListInput: () => ListInput2,
|
|
30
30
|
Match: () => Match2,
|
|
31
31
|
ReadInput: () => ReadInput2,
|
|
32
|
-
Service: () =>
|
|
32
|
+
Service: () => Service14,
|
|
33
33
|
Submatch: () => Submatch2,
|
|
34
|
-
node: () =>
|
|
34
|
+
node: () => node17
|
|
35
35
|
});
|
|
36
36
|
import { makeLocationNode } from "@opencode-ai/util/effect/app-node";
|
|
37
37
|
import path from "path";
|
|
@@ -72,14 +72,14 @@ class GrepInput2 extends Schema.Class("FileSystem.GrepInput")({
|
|
|
72
72
|
limit: Schema.optionalKey(PositiveInt2)
|
|
73
73
|
}) {
|
|
74
74
|
}
|
|
75
|
-
var
|
|
75
|
+
var Event3 = FileSystem.Event;
|
|
76
76
|
|
|
77
|
-
class
|
|
77
|
+
class Service14 extends Context.Service()("@opencode/FileSystem") {
|
|
78
78
|
}
|
|
79
|
-
var baseLayer = Layer.effect(
|
|
79
|
+
var baseLayer = Layer.effect(Service14, Effect.gen(function* () {
|
|
80
80
|
const fs = yield* FSUtil.Service;
|
|
81
|
-
const location = yield*
|
|
82
|
-
const search = yield*
|
|
81
|
+
const location = yield* Service75;
|
|
82
|
+
const search = yield* Service15;
|
|
83
83
|
const root = location.workspaceID ? location.directory : yield* fs.realPath(location.directory).pipe(Effect.orDie);
|
|
84
84
|
const resolve = Effect.fnUntraced(function* (input) {
|
|
85
85
|
const absolute = path.resolve(location.directory, input ?? ".");
|
|
@@ -90,7 +90,7 @@ var baseLayer = Layer.effect(Service22, Effect.gen(function* () {
|
|
|
90
90
|
return yield* Effect.die(new Error("Path escapes the location"));
|
|
91
91
|
return { absolute, real, directory: location.directory };
|
|
92
92
|
});
|
|
93
|
-
return
|
|
93
|
+
return Service14.of({
|
|
94
94
|
find: search.find,
|
|
95
95
|
read: Effect.fn("FileSystem.read")(function* (input) {
|
|
96
96
|
const target = yield* resolve(input.path);
|
|
@@ -122,10 +122,10 @@ var baseLayer = Layer.effect(Service22, Effect.gen(function* () {
|
|
|
122
122
|
})
|
|
123
123
|
});
|
|
124
124
|
}));
|
|
125
|
-
var
|
|
126
|
-
service:
|
|
125
|
+
var node17 = makeLocationNode({
|
|
126
|
+
service: Service14,
|
|
127
127
|
layer: baseLayer,
|
|
128
|
-
deps: [FSUtil.node,
|
|
128
|
+
deps: [FSUtil.node, node80, node18]
|
|
129
129
|
});
|
|
130
130
|
|
|
131
|
-
export { FindInput2, ReadInput2, Content2, ListInput2, DEFAULT_SEARCH_LIMIT2, DEFAULT_SEARCH_TIMEOUT_MS2, GlobInput2, GrepInput2,
|
|
131
|
+
export { FindInput2, ReadInput2, Content2, ListInput2, DEFAULT_SEARCH_LIMIT2, DEFAULT_SEARCH_TIMEOUT_MS2, GlobInput2, GrepInput2, Event3, Service14, node17, exports_filesystem, Entry2, Match2, Submatch2 };
|
|
@@ -1,10 +1,10 @@
|
|
|
1
1
|
import {
|
|
2
2
|
mergeOverlay2,
|
|
3
3
|
mergeHeaders2
|
|
4
|
-
} from "./
|
|
4
|
+
} from "./file-retention-9019yept.js";
|
|
5
5
|
import {
|
|
6
6
|
__export
|
|
7
|
-
} from "./
|
|
7
|
+
} from "./file-retention-9rqn6x4v.js";
|
|
8
8
|
|
|
9
9
|
// src/aisdk-native.ts
|
|
10
10
|
var exports_aisdk_native = {};
|
|
@@ -3,34 +3,34 @@ import {
|
|
|
3
3
|
WrongKind2,
|
|
4
4
|
Failed2,
|
|
5
5
|
typeFollowing2
|
|
6
|
-
} from "./
|
|
6
|
+
} from "./file-retention-2a5m3afh.js";
|
|
7
7
|
import {
|
|
8
8
|
execDefaults2
|
|
9
|
-
} from "./
|
|
9
|
+
} from "./file-retention-z1k01bn4.js";
|
|
10
10
|
import {
|
|
11
11
|
makeLocalDriver2
|
|
12
|
-
} from "./
|
|
12
|
+
} from "./file-retention-b6gygkdw.js";
|
|
13
13
|
import {
|
|
14
14
|
makeMemoryDriver2
|
|
15
|
-
} from "./
|
|
15
|
+
} from "./file-retention-aaet6srn.js";
|
|
16
16
|
import {
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
} from "./
|
|
17
|
+
Service75,
|
|
18
|
+
node80
|
|
19
|
+
} from "./file-retention-nqvfwm7d.js";
|
|
20
20
|
import {
|
|
21
|
-
|
|
22
|
-
|
|
23
|
-
} from "./
|
|
21
|
+
Service41,
|
|
22
|
+
node46
|
|
23
|
+
} from "./file-retention-3v92ygys.js";
|
|
24
24
|
import {
|
|
25
25
|
__export
|
|
26
|
-
} from "./
|
|
26
|
+
} from "./file-retention-9rqn6x4v.js";
|
|
27
27
|
|
|
28
28
|
// src/environment/environment.ts
|
|
29
29
|
var exports_environment2 = {};
|
|
30
30
|
__export(exports_environment2, {
|
|
31
31
|
EnvironmentService: () => exports_environment2,
|
|
32
|
-
Service: () =>
|
|
33
|
-
node: () =>
|
|
32
|
+
Service: () => Service40,
|
|
33
|
+
node: () => node45
|
|
34
34
|
});
|
|
35
35
|
import { CrossSpawnSpawner } from "@opencode-ai/util/cross-spawn-spawner";
|
|
36
36
|
import { makeLocationNode } from "@opencode-ai/util/effect/app-node";
|
|
@@ -43,13 +43,13 @@ __export(exports_environment3, {
|
|
|
43
43
|
Environment: () => exports_environment3,
|
|
44
44
|
Failed: () => Failed2,
|
|
45
45
|
NotFound: () => NotFound2,
|
|
46
|
-
Service: () =>
|
|
46
|
+
Service: () => Service40,
|
|
47
47
|
WrongKind: () => WrongKind2,
|
|
48
48
|
execDefaults: () => execDefaults2,
|
|
49
49
|
makeFiles: () => makeFiles2,
|
|
50
50
|
makeLocalDriver: () => makeLocalDriver2,
|
|
51
51
|
makeMemoryDriver: () => makeMemoryDriver2,
|
|
52
|
-
node: () =>
|
|
52
|
+
node: () => node45,
|
|
53
53
|
typeFollowing: () => typeFollowing2
|
|
54
54
|
});
|
|
55
55
|
var makeFiles2 = (driver) => ({
|
|
@@ -58,19 +58,19 @@ var makeFiles2 = (driver) => ({
|
|
|
58
58
|
});
|
|
59
59
|
|
|
60
60
|
// src/environment/environment.ts
|
|
61
|
-
class
|
|
61
|
+
class Service40 extends Context.Service()("@opencode/Environment") {
|
|
62
62
|
}
|
|
63
|
-
var layer = Layer.effect(
|
|
63
|
+
var layer = Layer.effect(Service40, Effect.gen(function* () {
|
|
64
64
|
const spawner = yield* ChildProcessSpawner;
|
|
65
|
-
const location = yield*
|
|
66
|
-
const workspace = yield*
|
|
65
|
+
const location = yield* Service75;
|
|
66
|
+
const workspace = yield* Service41;
|
|
67
67
|
const driver = location.workspaceID ? yield* workspace.connect(location.workspaceID).pipe(Effect.mapError((cause) => new Error(`Failed to bind Environment to workspace ${location.workspaceID}`, { cause })), Effect.orDie) : makeLocalDriver2(spawner);
|
|
68
|
-
return
|
|
68
|
+
return Service40.of({ files: makeFiles2(driver), spawner: driver.spawner });
|
|
69
69
|
}));
|
|
70
|
-
var
|
|
71
|
-
service:
|
|
70
|
+
var node45 = makeLocationNode({
|
|
71
|
+
service: Service40,
|
|
72
72
|
layer,
|
|
73
|
-
deps: [CrossSpawnSpawner.node,
|
|
73
|
+
deps: [CrossSpawnSpawner.node, node80, node46]
|
|
74
74
|
});
|
|
75
75
|
|
|
76
|
-
export {
|
|
76
|
+
export { Service40, node45, exports_environment2, makeFiles2, exports_environment3 };
|
|
@@ -1,29 +1,29 @@
|
|
|
1
1
|
import {
|
|
2
2
|
Service80,
|
|
3
3
|
node85
|
|
4
|
-
} from "./
|
|
4
|
+
} from "./file-retention-h6h8wc8c.js";
|
|
5
5
|
import {
|
|
6
6
|
KVTable2
|
|
7
|
-
} from "./
|
|
7
|
+
} from "./file-retention-3hepkmqq.js";
|
|
8
8
|
import {
|
|
9
9
|
__export
|
|
10
|
-
} from "./
|
|
10
|
+
} from "./file-retention-9rqn6x4v.js";
|
|
11
11
|
|
|
12
12
|
// src/kv.ts
|
|
13
13
|
var exports_kv = {};
|
|
14
14
|
__export(exports_kv, {
|
|
15
15
|
KV: () => exports_kv,
|
|
16
|
-
Service: () =>
|
|
17
|
-
node: () =>
|
|
16
|
+
Service: () => Service79,
|
|
17
|
+
node: () => node84
|
|
18
18
|
});
|
|
19
19
|
import { and, asc, eq, gt, gte, lt } from "drizzle-orm";
|
|
20
20
|
import { Context, Effect, Layer } from "effect";
|
|
21
21
|
import { makeGlobalNode } from "@opencode-ai/util/effect/app-node";
|
|
22
|
-
class
|
|
22
|
+
class Service79 extends Context.Service()("@opencode/KV") {
|
|
23
23
|
}
|
|
24
|
-
var layer = Layer.effect(
|
|
24
|
+
var layer = Layer.effect(Service79, Effect.gen(function* () {
|
|
25
25
|
const db = (yield* Service80).db;
|
|
26
|
-
return
|
|
26
|
+
return Service79.of({
|
|
27
27
|
get: Effect.fn("KV.get")(function* (key) {
|
|
28
28
|
return (yield* db.select({ value: KVTable2.value }).from(KVTable2).where(eq(KVTable2.key, key)).get().pipe(Effect.orDie))?.value;
|
|
29
29
|
}),
|
|
@@ -51,6 +51,6 @@ function prefixEnd(prefix) {
|
|
|
51
51
|
return;
|
|
52
52
|
return `${points.slice(0, index).join("")}${String.fromCodePoint(points[index].codePointAt(0) + 1)}`;
|
|
53
53
|
}
|
|
54
|
-
var
|
|
54
|
+
var node84 = makeGlobalNode({ service: Service79, layer, deps: [node85] });
|
|
55
55
|
|
|
56
|
-
export {
|
|
56
|
+
export { Service79, node84, exports_kv };
|
|
@@ -1,45 +1,45 @@
|
|
|
1
1
|
import {
|
|
2
2
|
Service80,
|
|
3
3
|
node85
|
|
4
|
-
} from "./
|
|
4
|
+
} from "./file-retention-h6h8wc8c.js";
|
|
5
5
|
import {
|
|
6
6
|
latestSequence2,
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
} from "./
|
|
7
|
+
Service77,
|
|
8
|
+
node82
|
|
9
|
+
} from "./file-retention-tmm76dnc.js";
|
|
10
10
|
import {
|
|
11
11
|
llmClient2
|
|
12
|
-
} from "./
|
|
12
|
+
} from "./file-retention-0e0xafbb.js";
|
|
13
13
|
import {
|
|
14
14
|
SessionEvent2
|
|
15
|
-
} from "./
|
|
15
|
+
} from "./file-retention-mntxs535.js";
|
|
16
16
|
import {
|
|
17
17
|
firstUserMessage2
|
|
18
|
-
} from "./
|
|
18
|
+
} from "./file-retention-tvgknxm1.js";
|
|
19
19
|
import {
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
} from "./
|
|
20
|
+
Service70,
|
|
21
|
+
node75
|
|
22
|
+
} from "./file-retention-4thyt0cr.js";
|
|
23
23
|
import {
|
|
24
|
-
|
|
25
|
-
|
|
26
|
-
} from "./
|
|
24
|
+
Service22,
|
|
25
|
+
node26
|
|
26
|
+
} from "./file-retention-kz0qf9hw.js";
|
|
27
27
|
import {
|
|
28
28
|
record2,
|
|
29
29
|
add2
|
|
30
|
-
} from "./
|
|
30
|
+
} from "./file-retention-tjykrgmx.js";
|
|
31
31
|
import {
|
|
32
32
|
__export
|
|
33
|
-
} from "./
|
|
33
|
+
} from "./file-retention-9rqn6x4v.js";
|
|
34
34
|
|
|
35
35
|
// src/session/title.ts
|
|
36
36
|
var exports_title = {};
|
|
37
37
|
__export(exports_title, {
|
|
38
|
-
Service: () =>
|
|
38
|
+
Service: () => Service3,
|
|
39
39
|
SessionTitle: () => exports_title,
|
|
40
40
|
isUntitled: () => isUntitled2,
|
|
41
41
|
layer: () => layer3,
|
|
42
|
-
node: () =>
|
|
42
|
+
node: () => node4
|
|
43
43
|
});
|
|
44
44
|
import { isDeepStrictEqual } from "node:util";
|
|
45
45
|
import { LLMClient, LLMEvent, Message, SystemPart } from "@opencode-ai/ai";
|
|
@@ -51,18 +51,18 @@ var MAX_CONTEXT_LENGTH = 8000;
|
|
|
51
51
|
var MAX_FIRST_MESSAGE_LENGTH = 2000;
|
|
52
52
|
var titleChanged = Symbol("Session title changed");
|
|
53
53
|
|
|
54
|
-
class
|
|
54
|
+
class Service3 extends Context.Service()("@opencode/SessionTitle") {
|
|
55
55
|
}
|
|
56
56
|
var truncate = (value) => value.length <= MAX_LENGTH ? value : `${value.slice(0, MAX_LENGTH - 3)}...`;
|
|
57
57
|
var isUntitled2 = (session) => isExactRootFallback({
|
|
58
58
|
title: session.title,
|
|
59
59
|
time: { created: DateTime.toEpochMillis(session.time.created) }
|
|
60
60
|
});
|
|
61
|
-
var layer3 = Layer.effect(
|
|
62
|
-
const bus = yield*
|
|
61
|
+
var layer3 = Layer.effect(Service3, Effect.gen(function* () {
|
|
62
|
+
const bus = yield* Service77;
|
|
63
63
|
const llm = yield* LLMClient.Service;
|
|
64
|
-
const context = yield*
|
|
65
|
-
const store = yield*
|
|
64
|
+
const context = yield* Service22;
|
|
65
|
+
const store = yield* Service70;
|
|
66
66
|
const db = (yield* Service80).db;
|
|
67
67
|
const attempt = Effect.fn("SessionTitle.attempt")(function* (input) {
|
|
68
68
|
const chunks = [];
|
|
@@ -145,12 +145,12 @@ Recent conversation:
|
|
|
145
145
|
title: truncate(title)
|
|
146
146
|
}, { commit: (sequence) => sequence === expectedSequence ? Effect.void : Effect.die(titleChanged) }).pipe(Effect.catchDefect((defect) => defect === titleChanged ? Effect.void : Effect.die(defect)));
|
|
147
147
|
});
|
|
148
|
-
return
|
|
148
|
+
return Service3.of({ generate });
|
|
149
149
|
}));
|
|
150
|
-
var
|
|
151
|
-
service:
|
|
150
|
+
var node4 = makeLocationNode({
|
|
151
|
+
service: Service3,
|
|
152
152
|
layer: layer3,
|
|
153
|
-
deps: [
|
|
153
|
+
deps: [node82, llmClient2, node26, node75, node85]
|
|
154
154
|
});
|
|
155
155
|
|
|
156
|
-
export {
|
|
156
|
+
export { Service3, isUntitled2, layer3, node4, exports_title };
|
|
@@ -1,15 +1,15 @@
|
|
|
1
1
|
import {
|
|
2
2
|
openaiFailedResponseHandler2
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./file-retention-550bvhaj.js";
|
|
4
4
|
import {
|
|
5
5
|
convertToOpenAIResponsesInput2
|
|
6
|
-
} from "./
|
|
6
|
+
} from "./file-retention-j5zkgpj8.js";
|
|
7
7
|
import {
|
|
8
8
|
mapOpenAIResponseFinishReason2
|
|
9
|
-
} from "./
|
|
9
|
+
} from "./file-retention-3asan66x.js";
|
|
10
10
|
import {
|
|
11
11
|
prepareResponsesTools2
|
|
12
|
-
} from "./
|
|
12
|
+
} from "./file-retention-p3p972wa.js";
|
|
13
13
|
|
|
14
14
|
// src/github-copilot/responses/openai-responses-language-model.ts
|
|
15
15
|
import {
|
|
@@ -1,63 +1,63 @@
|
|
|
1
1
|
import {
|
|
2
2
|
Service80,
|
|
3
3
|
node85
|
|
4
|
-
} from "./
|
|
4
|
+
} from "./file-retention-h6h8wc8c.js";
|
|
5
5
|
import {
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
} from "./
|
|
6
|
+
Service77,
|
|
7
|
+
node82
|
|
8
|
+
} from "./file-retention-tmm76dnc.js";
|
|
9
9
|
import {
|
|
10
10
|
CredentialTable2
|
|
11
|
-
} from "./
|
|
11
|
+
} from "./file-retention-pknna89w.js";
|
|
12
12
|
import {
|
|
13
13
|
from2
|
|
14
|
-
} from "./
|
|
14
|
+
} from "./file-retention-0q0f95c6.js";
|
|
15
15
|
import {
|
|
16
16
|
__export
|
|
17
|
-
} from "./
|
|
17
|
+
} from "./file-retention-9rqn6x4v.js";
|
|
18
18
|
|
|
19
19
|
// src/credential.ts
|
|
20
20
|
var exports_credential = {};
|
|
21
21
|
__export(exports_credential, {
|
|
22
22
|
Credential: () => exports_credential,
|
|
23
|
-
Event: () =>
|
|
24
|
-
ID: () =>
|
|
25
|
-
Info: () =>
|
|
23
|
+
Event: () => Event19,
|
|
24
|
+
ID: () => ID14,
|
|
25
|
+
Info: () => Info28,
|
|
26
26
|
Key: () => Key4,
|
|
27
27
|
OAuth: () => OAuth3,
|
|
28
|
-
Service: () =>
|
|
28
|
+
Service: () => Service74,
|
|
29
29
|
Value: () => Value2,
|
|
30
|
-
node: () =>
|
|
30
|
+
node: () => node79
|
|
31
31
|
});
|
|
32
32
|
import { asc, desc, eq } from "drizzle-orm";
|
|
33
33
|
import { Cause, Context, Effect, Layer, Schema } from "effect";
|
|
34
34
|
import { Credential } from "@opencode-ai/schema/credential";
|
|
35
35
|
import { Integration } from "@opencode-ai/schema/integration";
|
|
36
36
|
import { makeGlobalNode } from "@opencode-ai/util/effect/app-node";
|
|
37
|
-
var
|
|
37
|
+
var ID14 = Credential.ID;
|
|
38
38
|
var OAuth3 = Credential.OAuth;
|
|
39
39
|
var Key4 = Credential.Key;
|
|
40
40
|
var Value2 = Credential.Value;
|
|
41
|
-
var
|
|
41
|
+
var Event19 = Credential.Event;
|
|
42
42
|
|
|
43
|
-
class
|
|
44
|
-
id:
|
|
43
|
+
class Info28 extends Schema.Class("Credential.Info")({
|
|
44
|
+
id: ID14,
|
|
45
45
|
integrationID: Integration.ID,
|
|
46
46
|
label: Schema.String,
|
|
47
47
|
value: Value2
|
|
48
48
|
}) {
|
|
49
49
|
}
|
|
50
50
|
|
|
51
|
-
class
|
|
51
|
+
class Service74 extends Context.Service()("@opencode/Credential") {
|
|
52
52
|
}
|
|
53
|
-
var layer = Layer.effect(
|
|
53
|
+
var layer = Layer.effect(Service74, Effect.gen(function* () {
|
|
54
54
|
const db = (yield* Service80).db;
|
|
55
|
-
const bus = yield*
|
|
55
|
+
const bus = yield* Service77;
|
|
56
56
|
const decode = Schema.decodeUnknownSync(Value2);
|
|
57
57
|
const stored = (row) => {
|
|
58
58
|
if (!row.integration_id)
|
|
59
59
|
return;
|
|
60
|
-
return new
|
|
60
|
+
return new Info28({
|
|
61
61
|
id: row.id,
|
|
62
62
|
integrationID: row.integration_id,
|
|
63
63
|
label: row.label,
|
|
@@ -68,7 +68,7 @@ var layer = Layer.effect(Service78, Effect.gen(function* () {
|
|
|
68
68
|
const credential = stored(row);
|
|
69
69
|
return credential ? [credential] : [];
|
|
70
70
|
});
|
|
71
|
-
return
|
|
71
|
+
return Service74.of({
|
|
72
72
|
all: Effect.fn("Credential.all")(() => db.select().from(CredentialTable2).orderBy(asc(CredentialTable2.active), asc(CredentialTable2.time_created), asc(CredentialTable2.id)).all().pipe(Effect.orDie, Effect.map(storedRows))),
|
|
73
73
|
list: Effect.fn("Credential.list")((integrationID) => db.select().from(CredentialTable2).where(eq(CredentialTable2.integration_id, integrationID)).orderBy(asc(CredentialTable2.active), asc(CredentialTable2.time_created), asc(CredentialTable2.id)).all().pipe(Effect.orDie, Effect.map(storedRows))),
|
|
74
74
|
get: Effect.fn("Credential.get")(function* (id) {
|
|
@@ -76,8 +76,8 @@ var layer = Layer.effect(Service78, Effect.gen(function* () {
|
|
|
76
76
|
return row ? stored(row) : undefined;
|
|
77
77
|
}),
|
|
78
78
|
create: Effect.fn("Credential.create")(function* (input) {
|
|
79
|
-
const credential = new
|
|
80
|
-
id:
|
|
79
|
+
const credential = new Info28({
|
|
80
|
+
id: ID14.create(),
|
|
81
81
|
integrationID: input.integrationID,
|
|
82
82
|
label: input.label ?? "default",
|
|
83
83
|
value: input.value
|
|
@@ -101,8 +101,8 @@ var layer = Layer.effect(Service78, Effect.gen(function* () {
|
|
|
101
101
|
integrationID: credential.integrationID,
|
|
102
102
|
type: credential.value.type
|
|
103
103
|
});
|
|
104
|
-
yield* bus.publish(
|
|
105
|
-
yield* bus.publish(
|
|
104
|
+
yield* bus.publish(Event19.Updated, {}, { global: true });
|
|
105
|
+
yield* bus.publish(Event19.Switched, { integrationID: credential.integrationID, credentialID: credential.id }, { global: true });
|
|
106
106
|
return credential;
|
|
107
107
|
}),
|
|
108
108
|
activate: Effect.fn("Credential.activate")(function* (id) {
|
|
@@ -122,7 +122,7 @@ var layer = Layer.effect(Service78, Effect.gen(function* () {
|
|
|
122
122
|
})), Effect.orDie);
|
|
123
123
|
if (integrationID) {
|
|
124
124
|
yield* Effect.logInfo("credential activated", { integrationID, credentialID: id });
|
|
125
|
-
yield* bus.publish(
|
|
125
|
+
yield* bus.publish(Event19.Switched, { integrationID, credentialID: id }, { global: true });
|
|
126
126
|
}
|
|
127
127
|
}),
|
|
128
128
|
update: Effect.fn("Credential.update")(function* (id, updates) {
|
|
@@ -154,7 +154,7 @@ var layer = Layer.effect(Service78, Effect.gen(function* () {
|
|
|
154
154
|
labelChanged: updates.label !== undefined && updates.label !== credential.label
|
|
155
155
|
});
|
|
156
156
|
if (updates.label !== undefined && updates.label !== credential.label)
|
|
157
|
-
yield* bus.publish(
|
|
157
|
+
yield* bus.publish(Event19.Updated, {}, { global: true });
|
|
158
158
|
}),
|
|
159
159
|
remove: Effect.fn("Credential.remove")(function* (id) {
|
|
160
160
|
const removed = yield* db.transaction((tx) => Effect.gen(function* () {
|
|
@@ -187,12 +187,12 @@ var layer = Layer.effect(Service78, Effect.gen(function* () {
|
|
|
187
187
|
active: removed.switched,
|
|
188
188
|
...removed.switched ? { replacementID: removed.credentialID } : {}
|
|
189
189
|
});
|
|
190
|
-
yield* bus.publish(
|
|
190
|
+
yield* bus.publish(Event19.Updated, {}, { global: true });
|
|
191
191
|
if (removed.switched)
|
|
192
|
-
yield* bus.publish(
|
|
192
|
+
yield* bus.publish(Event19.Switched, { integrationID: removed.integrationID, credentialID: removed.credentialID }, { global: true });
|
|
193
193
|
})
|
|
194
194
|
});
|
|
195
195
|
}));
|
|
196
|
-
var
|
|
196
|
+
var node79 = makeGlobalNode({ service: Service74, layer, deps: [node85, node82] });
|
|
197
197
|
|
|
198
|
-
export {
|
|
198
|
+
export { ID14, OAuth3, Key4, Value2, Event19, Info28, Service74, node79, exports_credential };
|