@opencode/core 2.0.16 → 2.0.17
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 +79 -79
- package/dist/aisdk-native.js +89 -89
- package/dist/aisdk.js +94 -94
- package/dist/app.js +9 -9
- package/dist/bus.js +73 -73
- package/dist/chunks/{event-logger-74wfabdn.js → schema-0145jres.js} +26 -26
- package/dist/chunks/schema-03mttfrd.js +26 -0
- package/dist/chunks/{event-logger-7mwj9qcd.js → schema-055gg8d0.js} +17 -17
- package/dist/chunks/{event-logger-ybshnyry.js → schema-0bhmdfn5.js} +3 -3
- package/dist/chunks/{event-logger-je1vn78e.js → schema-0brwk0k2.js} +28 -28
- package/dist/chunks/{event-logger-ybhbtxjg.js → schema-0e81x99y.js} +3 -3
- package/dist/chunks/{event-logger-znm218mv.js → schema-0kety719.js} +11 -11
- package/dist/chunks/{event-logger-nt0v7t0n.js → schema-0mc57tk4.js} +20 -20
- package/dist/chunks/{event-logger-0paq2nw3.js → schema-0paq2nw3.js} +1 -1
- package/dist/chunks/{event-logger-kaaz88r3.js → schema-0sfeenar.js} +20 -20
- package/dist/chunks/{event-logger-mxkwqd26.js → schema-0ymghm5h.js} +11 -11
- package/dist/chunks/{event-logger-8aahf52h.js → schema-11etax81.js} +18 -18
- package/dist/chunks/{event-logger-ec6m7bjn.js → schema-12z81zg4.js} +44 -44
- package/dist/chunks/{event-logger-4x2e8ejb.js → schema-197cy8dq.js} +9 -9
- package/dist/chunks/{event-logger-1dazxqgg.js → schema-1dazxqgg.js} +2 -2
- package/dist/chunks/{event-logger-enywfw21.js → schema-1y2s2f0j.js} +9 -9
- package/dist/chunks/{event-logger-b4kkqjxq.js → schema-1yb3x3z9.js} +1 -1
- package/dist/chunks/{event-logger-k36bwha9.js → schema-21fjxxq6.js} +11 -11
- package/dist/chunks/{event-logger-21r38tys.js → schema-21r38tys.js} +1 -1
- package/dist/chunks/{event-logger-2402vzrj.js → schema-2402vzrj.js} +1 -1
- package/dist/chunks/{event-logger-9t2qpacv.js → schema-24mn6ts6.js} +19 -19
- package/dist/chunks/{event-logger-yemq3d8b.js → schema-258tza17.js} +6 -6
- package/dist/chunks/{event-logger-y43qwa20.js → schema-2627m7vs.js} +22 -22
- package/dist/chunks/{event-logger-2a5m3afh.js → schema-2a5m3afh.js} +1 -1
- package/dist/chunks/{event-logger-dntn16f7.js → schema-2azgrrcp.js} +51 -28
- package/dist/chunks/{event-logger-2qt06f8c.js → schema-2e3sc6z5.js} +6 -6
- package/dist/chunks/{event-logger-jww5q7tc.js → schema-2fb3f4s4.js} +12 -15
- package/dist/chunks/{event-logger-c78bbtc9.js → schema-3cfzdc8e.js} +5 -5
- package/dist/chunks/{event-logger-3fc6dm20.js → schema-3fc6dm20.js} +1 -1
- package/dist/chunks/{event-logger-3hepkmqq.js → schema-3hepkmqq.js} +1 -1
- package/dist/chunks/{event-logger-q460c3tq.js → schema-3m9rvccw.js} +42 -42
- package/dist/chunks/{event-logger-qg0jgkcp.js → schema-3pe7sts8.js} +9 -9
- package/dist/chunks/{event-logger-3smtnn6g.js → schema-3smtnn6g.js} +1 -1
- package/dist/chunks/{event-logger-3tvqynh2.js → schema-3tvqynh2.js} +1 -1
- package/dist/chunks/{event-logger-te5g4v54.js → schema-3ybey094.js} +8 -8
- package/dist/chunks/{event-logger-3zsf4n22.js → schema-3zsf4n22.js} +1 -1
- package/dist/chunks/{event-logger-jx360mrh.js → schema-41prm328.js} +11 -11
- package/dist/chunks/{event-logger-pzk5trfr.js → schema-428cwm86.js} +53 -53
- package/dist/chunks/{event-logger-kc29vnnm.js → schema-42qrv8nh.js} +24 -24
- package/dist/chunks/{event-logger-908dkt5v.js → schema-45cphc5h.js} +12 -12
- package/dist/chunks/{event-logger-4w5f3qm5.js → schema-4a0nv7mx.js} +8 -8
- package/dist/chunks/{event-logger-0yt7yd1j.js → schema-4hq88yhx.js} +33 -33
- package/dist/chunks/{event-logger-b2aqqavs.js → schema-4twmxjga.js} +39 -39
- package/dist/chunks/{event-logger-syzcn7b5.js → schema-507gpz5w.js} +1 -1
- package/dist/chunks/{event-logger-g190xswt.js → schema-50mzsvk4.js} +4 -4
- package/dist/chunks/{event-logger-8h5varp2.js → schema-511kpayd.js} +18 -18
- package/dist/chunks/{event-logger-39nw5ydc.js → schema-52vmy6ww.js} +17 -17
- package/dist/chunks/{event-logger-2fgn2we9.js → schema-57ez7d0k.js} +9 -9
- package/dist/chunks/{event-logger-zxk6ecdw.js → schema-5825hswr.js} +8 -8
- package/dist/chunks/{event-logger-qdgkf1bg.js → schema-587y186t.js} +8 -8
- package/dist/chunks/{event-logger-900yt45k.js → schema-5atn9wfq.js} +20 -20
- package/dist/chunks/{event-logger-5daktx2q.js → schema-5daktx2q.js} +1 -1
- package/dist/chunks/schema-5dggn2va.js +252 -0
- package/dist/chunks/{event-logger-yj0pkhyr.js → schema-5m1y3qk6.js} +17 -17
- package/dist/chunks/{event-logger-3kx3nt6q.js → schema-5q4kjq47.js} +1 -1
- package/dist/chunks/{event-logger-5t3nmthw.js → schema-5t3nmthw.js} +2 -2
- package/dist/chunks/{event-logger-r1g03gg9.js → schema-5yfpp9tw.js} +11 -11
- package/dist/chunks/{event-logger-669tq793.js → schema-669tq793.js} +1 -1
- package/dist/chunks/{event-logger-0gz4y0yt.js → schema-6bgjwwbw.js} +2 -2
- package/dist/chunks/{event-logger-svd3wk3g.js → schema-6cbh3zce.js} +13 -13
- package/dist/chunks/{event-logger-8xeyrzky.js → schema-6gjjawqn.js} +90 -90
- package/dist/chunks/{event-logger-6msgmcgs.js → schema-6msgmcgs.js} +1 -1
- package/dist/chunks/{event-logger-1p07q0wb.js → schema-6pc27hjz.js} +8 -8
- package/dist/chunks/{event-logger-089g9g2x.js → schema-6whbnvw3.js} +44 -43
- package/dist/chunks/{event-logger-0p8kebmq.js → schema-6xg4rx5y.js} +20 -20
- package/dist/chunks/{event-logger-w6y5hf30.js → schema-6yy39kvx.js} +14 -14
- package/dist/chunks/{event-logger-btgkjvyx.js → schema-6z8ht897.js} +12 -12
- package/dist/chunks/{event-logger-n300db4g.js → schema-722kb1xk.js} +5 -5
- package/dist/chunks/{event-logger-w8t53nqw.js → schema-75qjrmc8.js} +17 -17
- package/dist/chunks/{event-logger-7bmhse3q.js → schema-7bmhse3q.js} +1 -1
- package/dist/chunks/{event-logger-2k8khapm.js → schema-7dqw4kz8.js} +5 -5
- package/dist/chunks/{event-logger-747n07b7.js → schema-7khjtj5g.js} +20 -20
- package/dist/chunks/{event-logger-4c7cwrwt.js → schema-7khr9c91.js} +18 -18
- package/dist/chunks/{event-logger-wqj2xpp0.js → schema-7mm032py.js} +9 -9
- package/dist/chunks/{event-logger-0p1t7cwm.js → schema-7smws4ww.js} +7 -7
- package/dist/chunks/{event-logger-m3zza4qd.js → schema-7tpxex51.js} +8 -8
- package/dist/chunks/{event-logger-8d7r5vzw.js → schema-8d7r5vzw.js} +1 -1
- package/dist/chunks/{event-logger-z7ctwqf8.js → schema-8fsqd879.js} +28 -28
- package/dist/chunks/{event-logger-8m795tf5.js → schema-8j2x59yf.js} +25 -25
- package/dist/chunks/{event-logger-g8vnyhk4.js → schema-8k150j0z.js} +8 -8
- package/dist/chunks/{event-logger-kmyrg3fm.js → schema-8kn7kdrq.js} +20 -20
- package/dist/chunks/{event-logger-94ek1h2f.js → schema-94ek1h2f.js} +2 -2
- package/dist/chunks/{event-logger-63ar50w9.js → schema-94ve3ep0.js} +3 -3
- package/dist/chunks/{event-logger-y4q6tv4t.js → schema-95e3es41.js} +7 -7
- package/dist/chunks/{event-logger-vn3yw2wj.js → schema-9a5xxas0.js} +28 -28
- package/dist/chunks/{event-logger-najthaah.js → schema-9cjj4wa1.js} +21 -21
- package/dist/chunks/{event-logger-np6mkd1m.js → schema-9f1sykhs.js} +60 -51
- package/dist/chunks/{event-logger-5dwbhd1q.js → schema-9m6r901m.js} +9 -9
- package/dist/chunks/{event-logger-gyfpy8sq.js → schema-9ncpcp0p.js} +13 -13
- package/dist/chunks/{event-logger-pft9k85v.js → schema-9tkzcje5.js} +13 -13
- package/dist/chunks/{event-logger-zz2qg7p3.js → schema-9vhpts05.js} +15 -21
- package/dist/chunks/{event-logger-9v66419v.js → schema-9wy6gd4a.js} +24 -24
- package/dist/chunks/{event-logger-he6tcr5q.js → schema-a5mtmafw.js} +24 -24
- package/dist/chunks/{event-logger-3xw1mt3t.js → schema-a79446ya.js} +4 -4
- package/dist/chunks/{event-logger-dda0p7y7.js → schema-a7bcxdzj.js} +9 -9
- package/dist/chunks/{event-logger-aaet6srn.js → schema-aaet6srn.js} +2 -2
- package/dist/chunks/{event-logger-3c9ypvct.js → schema-ack3exs3.js} +10 -10
- package/dist/chunks/{event-logger-e33fphm7.js → schema-aewz2adp.js} +14 -14
- package/dist/chunks/{event-logger-wsb64f9g.js → schema-av5dvdst.js} +18 -18
- package/dist/chunks/{event-logger-2ye00mg1.js → schema-ayqbdn8x.js} +22 -22
- package/dist/chunks/{event-logger-b6gygkdw.js → schema-b6gygkdw.js} +2 -2
- package/dist/chunks/{event-logger-m0fa3ej4.js → schema-b6q25pdb.js} +2 -2
- package/dist/chunks/{event-logger-xvjpp9n9.js → schema-b6ysx4kv.js} +12 -12
- package/dist/chunks/{event-logger-n1jgwtn1.js → schema-bk55e78n.js} +21 -21
- package/dist/chunks/{event-logger-132pb4yq.js → schema-bw1k523x.js} +32 -32
- package/dist/chunks/{event-logger-rf0y6vjb.js → schema-by3r5qkm.js} +35 -35
- package/dist/chunks/{event-logger-jf9anmv7.js → schema-c488s98d.js} +5 -5
- package/dist/chunks/{event-logger-718xzxc8.js → schema-c5pegrb7.js} +11 -11
- package/dist/chunks/{event-logger-a0s8xvxt.js → schema-cfefqghv.js} +8 -8
- package/dist/chunks/{event-logger-5v0fdq8j.js → schema-cggb2dpx.js} +18 -18
- package/dist/chunks/{event-logger-ckecvw8r.js → schema-ckecvw8r.js} +2 -2
- package/dist/chunks/{event-logger-4rzfcrmm.js → schema-cmsm0fmq.js} +16 -16
- package/dist/chunks/{event-logger-shsdp4g3.js → schema-csnqga4f.js} +25 -25
- package/dist/chunks/{event-logger-cmwkp3r5.js → schema-czfptnv9.js} +6 -6
- package/dist/chunks/{event-logger-9agfq1d2.js → schema-d0e063zs.js} +20 -20
- package/dist/chunks/{event-logger-aqs1w8sb.js → schema-d2w12qf2.js} +8 -8
- package/dist/chunks/{event-logger-1bry463v.js → schema-d4nbhrvv.js} +18 -18
- package/dist/chunks/{event-logger-f27dyjrk.js → schema-d8hz1vnp.js} +38 -38
- package/dist/chunks/{event-logger-0bb1qdg3.js → schema-db7z9sqm.js} +3 -3
- package/dist/chunks/{event-logger-bsqx64w4.js → schema-de52ckkz.js} +4 -4
- package/dist/chunks/schema-djehs4n2.js +69 -0
- package/dist/chunks/{event-logger-xkntkrq7.js → schema-dmqcgk4z.js} +5 -5
- package/dist/chunks/{event-logger-p2qeza37.js → schema-drgwwxwg.js} +43 -43
- package/dist/chunks/{event-logger-57b9ws8p.js → schema-drwq78ky.js} +5 -5
- package/dist/chunks/{event-logger-6z4ywrmd.js → schema-e32rp4rx.js} +41 -41
- package/dist/chunks/{event-logger-vamd4fsq.js → schema-e69wdmhy.js} +6 -6
- package/dist/chunks/{event-logger-70n28njg.js → schema-eajmhh73.js} +11 -11
- package/dist/chunks/{event-logger-erw5rpbs.js → schema-ecfe7b91.js} +17 -3
- package/dist/chunks/{event-logger-ef5x83kb.js → schema-ef5x83kb.js} +1 -1
- package/dist/chunks/{event-logger-g43vs6pk.js → schema-eh37g602.js} +8 -8
- package/dist/chunks/{event-logger-b4285gp2.js → schema-eh37vhb5.js} +9 -9
- package/dist/chunks/{event-logger-3zvr4ntj.js → schema-emsmtts8.js} +20 -20
- package/dist/chunks/{event-logger-9dvwkvjz.js → schema-ena0zzcy.js} +15 -15
- package/dist/chunks/{event-logger-5eerdhhh.js → schema-es33zt1k.js} +3 -3
- package/dist/chunks/{event-logger-etq0c3wd.js → schema-etq0c3wd.js} +1 -1
- package/dist/chunks/{event-logger-tmqa4ga1.js → schema-evs9c0ef.js} +12 -12
- package/dist/chunks/{event-logger-0jshnw7f.js → schema-eymenvc3.js} +25 -25
- package/dist/chunks/{event-logger-r8xr0va3.js → schema-f2n192rq.js} +4 -4
- package/dist/chunks/{event-logger-9gj3h84v.js → schema-f59qmhat.js} +7 -7
- package/dist/chunks/{event-logger-eneefzjq.js → schema-f5gy8qwh.js} +8 -8
- package/dist/chunks/{event-logger-xxaqvhcx.js → schema-f658k6de.js} +29 -29
- package/dist/chunks/{event-logger-wargq46t.js → schema-fbawcmnd.js} +6 -6
- package/dist/chunks/{event-logger-57p7edxn.js → schema-fkfyjdkw.js} +4 -4
- package/dist/chunks/{event-logger-8a4ad92b.js → schema-fnbz4a44.js} +14 -14
- package/dist/chunks/{event-logger-pf2hb43r.js → schema-fng9e0je.js} +4 -4
- package/dist/chunks/{event-logger-y2nf1ewr.js → schema-fr2n07jg.js} +23 -23
- package/dist/chunks/{event-logger-vz8d88kv.js → schema-fze10tzj.js} +3 -3
- package/dist/chunks/{event-logger-36wx3dpn.js → schema-g5j6fn2h.js} +30 -30
- package/dist/chunks/{event-logger-gd4qta3r.js → schema-gd4qta3r.js} +1 -1
- package/dist/chunks/{event-logger-jgd9see8.js → schema-gq46gf1f.js} +15 -15
- package/dist/chunks/{event-logger-gv6a8nnw.js → schema-gv6a8nnw.js} +2 -2
- package/dist/chunks/{event-logger-wv72qc1v.js → schema-gwmzskkb.js} +18 -18
- package/dist/chunks/{event-logger-4nsq4evv.js → schema-h3v3gq1k.js} +33 -33
- package/dist/chunks/{event-logger-h6r3nrb9.js → schema-h6r3nrb9.js} +1 -1
- package/dist/chunks/{event-logger-h6vf3j39.js → schema-h6vf3j39.js} +1 -1
- package/dist/chunks/{event-logger-hef66yfx.js → schema-habj5avf.js} +29 -29
- package/dist/chunks/{event-logger-s8zy8myc.js → schema-hkfg6fzm.js} +5 -5
- package/dist/chunks/{event-logger-rwm5vee1.js → schema-hn57h045.js} +4 -4
- package/dist/chunks/{event-logger-mhkvc446.js → schema-j028xdjb.js} +3 -3
- package/dist/chunks/{event-logger-j1np5d6f.js → schema-j1pt8b99.js} +3 -3
- package/dist/chunks/{event-logger-j56e64zr.js → schema-j56e64zr.js} +1 -1
- package/dist/chunks/{event-logger-qanbasbs.js → schema-jbp9wfgd.js} +9 -9
- package/dist/chunks/{event-logger-zehx49jx.js → schema-jfxkwh10.js} +82 -15
- package/dist/chunks/{event-logger-d4sk7cm2.js → schema-jjf6303y.js} +15 -15
- package/dist/chunks/{event-logger-sz2yehtx.js → schema-jjq7exv6.js} +11 -11
- package/dist/chunks/{event-logger-qz809afx.js → schema-jmanypz0.js} +30 -30
- package/dist/chunks/{event-logger-28ehbsev.js → schema-jnqxgjh5.js} +42 -42
- package/dist/chunks/{event-logger-za77p82n.js → schema-jns15vzr.js} +6 -6
- package/dist/chunks/{event-logger-0br3sbwn.js → schema-jpqeh2wc.js} +4 -4
- package/dist/chunks/{event-logger-d6pm2gat.js → schema-jt97ek0w.js} +1 -1
- package/dist/chunks/{event-logger-03q3r71s.js → schema-jzffzcq4.js} +18 -18
- package/dist/chunks/{event-logger-ddtyr2hh.js → schema-jztemdeq.js} +12 -12
- package/dist/chunks/{event-logger-k3c624dm.js → schema-k3c624dm.js} +3 -3
- package/dist/chunks/{event-logger-cmc17df4.js → schema-k3ztb1qz.js} +1 -1
- package/dist/chunks/{event-logger-fkz383g5.js → schema-k5gcqnqh.js} +11 -11
- package/dist/chunks/{event-logger-jexxy024.js → schema-k6yq57aq.js} +3 -3
- package/dist/chunks/{event-logger-n37c4crj.js → schema-kp8q1t60.js} +9 -9
- package/dist/chunks/{event-logger-bgvszk91.js → schema-ks0a0grj.js} +21 -21
- package/dist/chunks/{event-logger-tjedn1bk.js → schema-m0r31qfn.js} +4 -4
- package/dist/chunks/{event-logger-m3fdjcah.js → schema-m3fdjcah.js} +1 -1
- package/dist/chunks/{event-logger-m9w0rfyh.js → schema-m9w0rfyh.js} +1 -1
- package/dist/chunks/{event-logger-t71v2ka4.js → schema-ma48de29.js} +5 -5
- package/dist/chunks/{event-logger-n4xm4h5w.js → schema-me2bkwye.js} +8 -8
- package/dist/chunks/{event-logger-1ygqh575.js → schema-mfqp6xfm.js} +6 -6
- package/dist/chunks/{event-logger-pp173efe.js → schema-mj50c66e.js} +11 -11
- package/dist/chunks/{event-logger-msf2edjm.js → schema-mnnqb9y7.js} +17 -17
- package/dist/chunks/{event-logger-bv1pwt2s.js → schema-mpjr2ekw.js} +28 -28
- package/dist/chunks/{event-logger-5xpznt2d.js → schema-mvksx64m.js} +4 -4
- package/dist/chunks/{event-logger-6tdwvj9c.js → schema-n72gykqt.js} +25 -25
- package/dist/chunks/{event-logger-ckfwh0ft.js → schema-nbzsj80d.js} +8 -8
- package/dist/chunks/{event-logger-9e4j78a5.js → schema-nrp9mwhy.js} +18 -18
- package/dist/chunks/{event-logger-5sgwv95d.js → schema-nvexbzn8.js} +22 -22
- package/dist/chunks/{event-logger-hbyhqfhs.js → schema-nyqx1cb3.js} +5 -5
- package/dist/chunks/{event-logger-j0pg6dsa.js → schema-nz8pq8c9.js} +5 -5
- package/dist/chunks/{event-logger-aneqmxfb.js → schema-p07c8hrh.js} +8 -8
- package/dist/chunks/{event-logger-9n49v3te.js → schema-p8587wpx.js} +12 -12
- package/dist/chunks/{event-logger-m3dqj4zs.js → schema-pecm86x5.js} +12 -12
- package/dist/chunks/{event-logger-pjvnvgmy.js → schema-pjvnvgmy.js} +1 -1
- package/dist/chunks/{event-logger-pknna89w.js → schema-pknna89w.js} +1 -1
- package/dist/chunks/{event-logger-tncp3d9k.js → schema-pkyn48ss.js} +327 -323
- package/dist/chunks/{event-logger-jjg31dbj.js → schema-pm23069r.js} +14 -14
- package/dist/chunks/{event-logger-93w6htg6.js → schema-pnzr5f25.js} +8 -8
- package/dist/chunks/{event-logger-7f6v5qpp.js → schema-ps7s312n.js} +8 -8
- package/dist/chunks/{event-logger-hwk227gb.js → schema-q4q3y0ma.js} +30 -30
- package/dist/chunks/{event-logger-e0k7xjnp.js → schema-qg2cf98c.js} +11 -11
- package/dist/chunks/{event-logger-jv01nqvq.js → schema-qjnxxf51.js} +5 -5
- package/dist/chunks/{event-logger-rt4ems47.js → schema-qkc3sedm.js} +138 -138
- package/dist/chunks/{event-logger-f2947pfg.js → schema-qnnvw27w.js} +33 -33
- package/dist/chunks/{event-logger-qsdy395h.js → schema-qsdy395h.js} +1 -1
- package/dist/chunks/{event-logger-c99wwxqk.js → schema-qw1f8ej3.js} +30 -21
- package/dist/chunks/{event-logger-deqzrk0a.js → schema-qyvq79sc.js} +11 -11
- package/dist/chunks/{event-logger-zsecex3e.js → schema-r1qsnamt.js} +4 -4
- package/dist/chunks/{event-logger-ef35abme.js → schema-r3ryr6td.js} +33 -33
- package/dist/chunks/{event-logger-gbhtmfkn.js → schema-rb4e480n.js} +13 -13
- package/dist/chunks/{event-logger-rdw6cm16.js → schema-rdw6cm16.js} +1 -1
- package/dist/chunks/{event-logger-qmqgtz8f.js → schema-rey5gbxv.js} +9 -9
- package/dist/chunks/{event-logger-s8d7rejh.js → schema-rhjbct0v.js} +4 -4
- package/dist/chunks/{event-logger-fxq78srh.js → schema-rrxec99e.js} +34 -34
- package/dist/chunks/{event-logger-y5rv6h3q.js → schema-rwvzjkqg.js} +30 -30
- package/dist/chunks/{event-logger-gmc59x4c.js → schema-rxcwgxqf.js} +6 -6
- package/dist/chunks/{event-logger-mjt9wwac.js → schema-sejq73tg.js} +10 -10
- package/dist/chunks/{event-logger-0fnt4z85.js → schema-sm1zfatk.js} +34 -34
- package/dist/chunks/{event-logger-cyr3g3e5.js → schema-spdety1y.js} +16 -16
- package/dist/chunks/{event-logger-dg2cj1yd.js → schema-ssdqnhy0.js} +4 -4
- package/dist/chunks/{event-logger-fm2qvscf.js → schema-t2fc4mz5.js} +4 -4
- package/dist/chunks/{event-logger-azjsvxqn.js → schema-t4wzjz2c.js} +1 -1
- package/dist/chunks/{event-logger-f9q7adw3.js → schema-t7c95w3a.js} +28 -28
- package/dist/chunks/{event-logger-bs4se5xz.js → schema-t7xz7709.js} +25 -25
- package/dist/chunks/{event-logger-pmr4s4kc.js → schema-t9zs3egg.js} +4 -4
- package/dist/chunks/{event-logger-tazgh4e4.js → schema-tazgh4e4.js} +1 -1
- package/dist/chunks/{event-logger-tcezcvh9.js → schema-tcezcvh9.js} +1 -1
- package/dist/chunks/{event-logger-tdstcens.js → schema-tdstcens.js} +1 -1
- package/dist/chunks/{event-logger-nyvq8r07.js → schema-tfvhzp6w.js} +83 -83
- package/dist/chunks/{event-logger-2ntmd471.js → schema-tgyvarbm.js} +13 -13
- package/dist/chunks/{event-logger-qp6bbb4z.js → schema-tjz0sjs3.js} +21 -21
- package/dist/chunks/{event-logger-99xay3p1.js → schema-tk9ew89t.js} +8 -8
- package/dist/chunks/{event-logger-tvtrv512.js → schema-tvtrv512.js} +1 -1
- package/dist/chunks/schema-v1faaxn9.js +18 -0
- package/dist/chunks/{event-logger-k53npxr2.js → schema-v3sgzvyr.js} +1 -1
- package/dist/chunks/{event-logger-twfs5dqp.js → schema-v7ytqzq6.js} +14 -14
- package/dist/chunks/{event-logger-0f3a36n3.js → schema-v9315egx.js} +9 -9
- package/dist/chunks/{event-logger-pgkvq3r8.js → schema-vbb1pxgn.js} +30 -30
- package/dist/chunks/{event-logger-veqvce7d.js → schema-veqvce7d.js} +1 -1
- package/dist/chunks/{event-logger-pxag7cab.js → schema-vgygemyp.js} +25 -25
- package/dist/chunks/{event-logger-dsvbxzrp.js → schema-vmnfmpbz.js} +45 -45
- package/dist/chunks/{event-logger-v6gb7zv2.js → schema-vqfzq50h.js} +6 -6
- package/dist/chunks/{event-logger-chazxwvm.js → schema-vr2z87y7.js} +76 -76
- package/dist/chunks/{event-logger-ck33pjpx.js → schema-vv4dp7ce.js} +18 -18
- package/dist/chunks/{event-logger-vzcthcp8.js → schema-vzcthcp8.js} +1 -1
- package/dist/chunks/{event-logger-5ekn9679.js → schema-vzs5sf6e.js} +5 -1
- package/dist/chunks/{event-logger-w3wsvvr9.js → schema-w3wsvvr9.js} +1 -1
- package/dist/chunks/{event-logger-wd3x2cqz.js → schema-wd3x2cqz.js} +2 -2
- package/dist/chunks/{event-logger-wd87259q.js → schema-wd87259q.js} +1 -1
- package/dist/chunks/{event-logger-32b2ehkd.js → schema-wfg418dn.js} +13 -13
- package/dist/chunks/{event-logger-a3r4dcrj.js → schema-wqc6684y.js} +2 -2
- package/dist/chunks/{event-logger-yjmj8nkq.js → schema-wx7ymqfy.js} +28 -28
- package/dist/chunks/{event-logger-fv5sjpfb.js → schema-wxnc2egh.js} +5 -5
- package/dist/chunks/{event-logger-11k6dxds.js → schema-wzgg19r1.js} +4 -4
- package/dist/chunks/{event-logger-dyzt9za5.js → schema-wzhdnf6z.js} +27 -27
- package/dist/chunks/{event-logger-x1ezjp6w.js → schema-x1ezjp6w.js} +1 -1
- package/dist/chunks/{event-logger-y87mwaek.js → schema-x3317tkm.js} +16 -16
- package/dist/chunks/{event-logger-2jnnq67w.js → schema-x8bbrmd5.js} +6 -6
- package/dist/chunks/{event-logger-1xx7tqhe.js → schema-xbwwxhdm.js} +14 -14
- package/dist/chunks/{event-logger-01ps9m3h.js → schema-xc7gs73k.js} +32 -32
- package/dist/chunks/{event-logger-jzmh272x.js → schema-xybn4n2y.js} +12 -12
- package/dist/chunks/{event-logger-y1fvbwt7.js → schema-y1fvbwt7.js} +1 -1
- package/dist/chunks/{event-logger-n9sgmesv.js → schema-y4bzdzmn.js} +13 -13
- package/dist/chunks/{event-logger-swnqtvke.js → schema-y6gmj16h.js} +25 -25
- package/dist/chunks/{event-logger-dpkg50ah.js → schema-y71avatq.js} +4 -4
- package/dist/chunks/{event-logger-a52pef7j.js → schema-y853g6y0.js} +4 -4
- package/dist/chunks/{event-logger-27gf4k7j.js → schema-ycw8hfm2.js} +13 -13
- package/dist/chunks/{event-logger-j8zzr2am.js → schema-yq2cczkq.js} +5 -5
- package/dist/chunks/{event-logger-yrhqyw5v.js → schema-yrhqyw5v.js} +1 -1
- package/dist/chunks/{event-logger-yrznvahk.js → schema-yrznvahk.js} +2 -2
- package/dist/chunks/{event-logger-bmg501ry.js → schema-ytbrnvs4.js} +22 -22
- package/dist/chunks/{event-logger-816m4crp.js → schema-yv37q7sr.js} +6 -6
- package/dist/chunks/{event-logger-ww6x407f.js → schema-yz82w8p6.js} +3 -3
- package/dist/chunks/{event-logger-z07pqspn.js → schema-z07pqspn.js} +3 -3
- package/dist/chunks/{event-logger-z0bkrqjs.js → schema-z0bkrqjs.js} +1 -1
- package/dist/chunks/{event-logger-w2nj5ptj.js → schema-z15n6anb.js} +3 -3
- package/dist/chunks/{event-logger-z63w68vq.js → schema-z63w68vq.js} +2 -2
- package/dist/chunks/{event-logger-zeh9ct20.js → schema-zeh9ct20.js} +2 -2
- package/dist/chunks/{event-logger-7fqx7jvc.js → schema-zqdrfgj1.js} +48 -48
- package/dist/chunks/{event-logger-zr2ceqn5.js → schema-zr2ceqn5.js} +1 -1
- package/dist/chunks/{event-logger-zxq2ej10.js → schema-zxq2ej10.js} +1 -1
- package/dist/codemode/catalog.js +1 -1
- package/dist/codemode/instructions.js +11 -11
- package/dist/codemode/tool.js +3 -3
- package/dist/codemode/web.js +1 -1
- package/dist/command.js +81 -81
- package/dist/config/discovery.js +82 -82
- package/dist/config/markdown.js +1 -1
- package/dist/config/normalize.js +106 -106
- package/dist/config/plugin/agent.js +125 -125
- package/dist/config/plugin/command.js +214 -214
- package/dist/config/plugin/compaction.js +162 -162
- package/dist/config/plugin/compatibility.js +141 -141
- package/dist/config/plugin/entry-observer.js +1 -1
- package/dist/config/plugin/formatter.js +124 -124
- package/dist/config/plugin/image.js +123 -123
- package/dist/config/plugin/instruction.js +90 -90
- package/dist/config/plugin/location-watcher.js +125 -125
- package/dist/config/plugin/mcp.js +132 -132
- package/dist/config/plugin/policy.js +124 -124
- package/dist/config/plugin/provider.js +123 -123
- package/dist/config/plugin/reference.js +125 -125
- package/dist/config/plugin/shell.js +123 -123
- package/dist/config/plugin/skill-file.js +102 -102
- package/dist/config/plugin/skill.js +144 -144
- package/dist/config/plugin/snapshot.js +123 -123
- package/dist/config/plugin/source.js +126 -126
- package/dist/config/plugin/tool-output.js +125 -125
- package/dist/config/plugin/websearch.js +122 -122
- package/dist/config/plugin/worktree.js +125 -125
- package/dist/config/variable.js +3 -3
- package/dist/config/watch.js +1 -1
- package/dist/config.js +124 -124
- package/dist/credential/sql.js +2 -2
- package/dist/credential.js +83 -83
- package/dist/database/database.js +70 -70
- package/dist/database/drizzle/effect-sqlite/driver.js +14 -14
- package/dist/database/drizzle/effect-sqlite/index.js +14 -14
- package/dist/database/drizzle/effect-sqlite/session.js +11 -11
- package/dist/database/drizzle/index.js +15 -15
- package/dist/database/drizzle/internal/drizzle-utils.js +1 -1
- package/dist/database/drizzle/sqlite-core/effect/count.js +1 -1
- package/dist/database/drizzle/sqlite-core/effect/db.js +9 -9
- package/dist/database/drizzle/sqlite-core/effect/delete.js +2 -2
- package/dist/database/drizzle/sqlite-core/effect/index.js +10 -10
- package/dist/database/drizzle/sqlite-core/effect/insert.js +2 -2
- package/dist/database/drizzle/sqlite-core/effect/query.js +1 -1
- package/dist/database/drizzle/sqlite-core/effect/raw.js +1 -1
- package/dist/database/drizzle/sqlite-core/effect/select.js +2 -2
- package/dist/database/drizzle/sqlite-core/effect/session.js +10 -10
- package/dist/database/drizzle/sqlite-core/effect/update.js +2 -2
- package/dist/database/drizzle.js +16 -16
- package/dist/database/migration/20260127222353_familiar_lady_ursula.js +1 -1
- package/dist/database/migration/20260211171708_add_project_commands.js +1 -1
- package/dist/database/migration/20260213144116_wakeful_the_professor.js +1 -1
- package/dist/database/migration/20260225215848_workspace.js +1 -1
- package/dist/database/migration/20260227213759_add_session_workspace_id.js +1 -1
- package/dist/database/migration/20260228203230_blue_harpoon.js +1 -1
- package/dist/database/migration/20260303231226_add_workspace_fields.js +1 -1
- package/dist/database/migration/20260309230000_move_org_to_state.js +1 -1
- package/dist/database/migration/20260312043431_session_message_cursor.js +1 -1
- package/dist/database/migration/20260323234822_events.js +1 -1
- package/dist/database/migration/20260410174513_workspace-name.js +1 -1
- package/dist/database/migration/20260413175956_chief_energizer.js +1 -1
- package/dist/database/migration/20260423070820_add_icon_url_override.js +1 -1
- package/dist/database/migration/20260427172553_slow_nightmare.js +1 -1
- package/dist/database/migration/20260428004200_add_session_path.js +1 -1
- package/dist/database/migration/20260501142318_next_venus.js +1 -1
- package/dist/database/migration/20260504145000_add_sync_owner.js +1 -1
- package/dist/database/migration/20260507164347_add_workspace_time.js +1 -1
- package/dist/database/migration/20260510033149_session_usage.js +1 -1
- package/dist/database/migration/20260511000411_data_migration_state.js +1 -1
- package/dist/database/migration/20260511173437_session-metadata.js +1 -1
- package/dist/database/migration/20260601010001_normalize_storage_paths.js +1 -1
- package/dist/database/migration/20260601202201_amazing_prowler.js +1 -1
- package/dist/database/migration/20260602002951_lowly_union_jack.js +1 -1
- package/dist/database/migration/20260602182828_add_project_directories.js +1 -1
- package/dist/database/migration/20260603001617_session_message_projection_indexes.js +1 -1
- package/dist/database/migration/20260603040000_session_message_projection_order.js +1 -1
- package/dist/database/migration/20260603141458_session_input_inbox.js +1 -1
- package/dist/database/migration/20260603160727_jittery_ezekiel_stane.js +1 -1
- package/dist/database/migration/20260604172448_event_sourced_session_input.js +1 -1
- package/dist/database/migration/20260605003541_add_session_context_snapshot.js +1 -1
- package/dist/database/migration/20260605042240_add_context_epoch_agent.js +1 -1
- package/dist/database/migration/20260611035744_credential.js +1 -1
- package/dist/database/migration/20260611192811_lush_chimera.js +1 -1
- package/dist/database/migration/20260612174303_project_dir_strategy.js +1 -1
- package/dist/database/migration/20260622142730_simplify_session_context_epoch.js +1 -1
- package/dist/database/migration/20260622170816_reset_v2_session_state.js +1 -1
- package/dist/database/migration/20260622202450_simplify_session_input.js +1 -1
- package/dist/database/migration/20260804233008_loose_psylocke.js +1 -1
- package/dist/database/migration/20260805200742_import_legacy_credentials.js +1 -1
- package/dist/database/migration/20260808023530_workspace_domain.js +1 -1
- package/dist/database/migration/20260811161259_execution_claim_attempts.js +1 -1
- package/dist/database/migration/20260812181746_session_inbox.js +1 -1
- package/dist/database/migration/20260812213948_worktree.js +1 -1
- package/dist/database/migration/20260819222447_session_viewed_state.js +1 -1
- package/dist/database/migration/20260823191254_nullable_workspace_binding.js +1 -1
- package/dist/database/migration/20260910120000_clear_v1_session_permission.js +1 -1
- package/dist/database/migration/20260923013825_project_time_active.js +1 -1
- package/dist/database/migration.gen.js +49 -49
- package/dist/database/migration.js +51 -51
- 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 +79 -79
- package/dist/database/v1-migration.js +1 -1
- package/dist/effect/app-node-builder.js +372 -371
- package/dist/effect/app-node-platform.js +2 -2
- package/dist/effect/keyed-mutex.js +3 -3
- package/dist/effect/websocket-constructor.js +1 -1
- package/dist/environment/driver.js +1 -1
- package/dist/environment/environment.js +93 -93
- package/dist/environment/exec-defaults.js +2 -2
- package/dist/environment/files.js +1 -1
- package/dist/environment/index.js +93 -93
- 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 +74 -74
- package/dist/file-access.js +104 -104
- package/dist/file-mutation.js +94 -94
- 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 +227 -227
- package/dist/filesystem/protected.js +1 -1
- package/dist/filesystem/search.js +103 -103
- package/dist/filesystem/watcher-binding.js +1 -1
- package/dist/filesystem/watcher.js +13 -13
- package/dist/filesystem.js +104 -104
- package/dist/form.js +76 -76
- package/dist/formatter/builtins.js +4 -4
- package/dist/formatter.js +89 -89
- package/dist/generate.js +103 -103
- 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 +91 -91
- 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 +363 -362
- package/dist/instruction-discovery.js +85 -85
- package/dist/instructions/builtins.js +87 -87
- package/dist/instructions/index.js +3 -3
- package/dist/integration/connection.js +1 -1
- package/dist/integration.js +80 -80
- package/dist/job.js +79 -79
- package/dist/kv/sql.js +2 -2
- package/dist/kv.js +73 -73
- package/dist/location-activity.js +135 -135
- package/dist/location-lifecycle.js +107 -107
- package/dist/location-mutation.js +104 -104
- package/dist/location-service-map.js +86 -86
- package/dist/location-services.js +360 -359
- package/dist/location.js +83 -83
- package/dist/managed-policy.js +5 -5
- package/dist/mcp/client.js +91 -91
- package/dist/mcp/index.js +108 -108
- package/dist/mcp/instructions.js +128 -128
- package/dist/mcp/oauth.js +78 -78
- package/dist/mcp/stdio.js +90 -90
- package/dist/mime.js +1 -1
- package/dist/modal/models.js +91 -91
- package/dist/model-resolver.js +96 -96
- package/dist/model.js +90 -90
- package/dist/models-dev.js +107 -107
- package/dist/oauth/page.js +1 -1
- package/dist/permission/saved.js +82 -82
- package/dist/permission/sql.js +5 -5
- package/dist/permission.js +107 -107
- 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 +75 -75
- package/dist/plugin/agent.js +104 -104
- package/dist/plugin/command.js +101 -101
- package/dist/plugin/compaction.js +133 -133
- package/dist/plugin/hooks.js +5 -5
- package/dist/plugin/host.js +218 -218
- package/dist/plugin/identity.js +3 -3
- package/dist/plugin/instance.js +3 -3
- package/dist/plugin/internal.js +334 -333
- package/dist/plugin/mcp-codemode-defaults.js +3 -3
- package/dist/plugin/models-dev.js +96 -96
- package/dist/plugin/module.js +7 -7
- package/dist/plugin/optimize.js +4 -4
- package/dist/plugin/plan.js +102 -102
- package/dist/plugin/promise.js +1 -1
- package/dist/plugin/provider/amazon-bedrock.js +90 -90
- package/dist/plugin/provider/azure.js +122 -122
- package/dist/plugin/provider/cerebras.js +1 -1
- package/dist/plugin/provider/cloudflare-ai-gateway.js +121 -121
- package/dist/plugin/provider/cloudflare-workers-ai.js +121 -121
- package/dist/plugin/provider/cohere.js +2 -2
- package/dist/plugin/provider/configured.js +119 -119
- package/dist/plugin/provider/digitalocean.js +93 -93
- 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 +99 -94
- package/dist/plugin/provider/gitlab.js +93 -93
- package/dist/plugin/provider/google-vertex.js +90 -90
- package/dist/plugin/provider/kilo.js +1 -1
- package/dist/plugin/provider/llmgateway.js +77 -77
- package/dist/plugin/provider/lmstudio.js +122 -122
- package/dist/plugin/provider/modal.js +92 -92
- package/dist/plugin/provider/nvidia.js +1 -1
- package/dist/plugin/provider/ollama.js +122 -122
- package/dist/plugin/provider/openai.js +94 -94
- package/dist/plugin/provider/opencode.js +95 -95
- package/dist/plugin/provider/openrouter.js +91 -91
- package/dist/plugin/provider/perplexity.js +2 -2
- package/dist/plugin/provider/poe.js +78 -78
- package/dist/plugin/provider/prompt-cache-key.js +90 -90
- package/dist/plugin/provider/sap-ai-core.js +91 -91
- package/dist/plugin/provider/sdk-factory.js +1 -1
- package/dist/plugin/provider/snowflake-cortex.js +122 -122
- package/dist/plugin/provider/venice.js +2 -2
- package/dist/plugin/provider/vercel.js +90 -90
- package/dist/plugin/provider/vllm.js +122 -122
- package/dist/plugin/provider/xai.js +91 -91
- package/dist/plugin/provider/zenmux.js +1 -1
- package/dist/plugin/provider.js +161 -160
- package/dist/plugin/sdk.js +74 -74
- package/dist/plugin/service.js +3 -3
- package/dist/plugin/skill.js +141 -141
- package/dist/plugin/source-directory.js +1 -1
- package/dist/plugin/supervisor.js +353 -352
- package/dist/plugin/tool-input-repair.js +4 -4
- package/dist/plugin/update.js +6 -6
- package/dist/plugin/vcs/git.js +86 -86
- package/dist/plugin/vcs/hg.js +86 -86
- package/dist/plugin/verbosity.js +98 -0
- package/dist/plugin/warming.js +121 -121
- 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 +4 -4
- package/dist/plugin/websearch/parallel.js +8 -8
- package/dist/plugin/websearch/tavily.js +6 -6
- package/dist/plugin/websearch/tinyfish.js +8 -8
- package/dist/plugin.js +225 -225
- package/dist/project/schema.js +8 -8
- package/dist/project/sql.js +4 -4
- package/dist/project.js +84 -84
- package/dist/provider.js +93 -93
- 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 +98 -98
- package/dist/reference/instructions.js +89 -89
- package/dist/reference.js +91 -91
- package/dist/repository-cache.js +81 -81
- package/dist/repository.js +1 -1
- package/dist/ripgrep/binary.js +2 -2
- package/dist/ripgrep.js +97 -97
- package/dist/rpc.js +86 -86
- package/dist/schema.js +1 -1
- package/dist/session/command.js +74 -74
- package/dist/session/compaction.js +132 -132
- package/dist/session/context.js +152 -152
- package/dist/session/diff.js +88 -88
- package/dist/session/environment.js +5 -5
- package/dist/session/error.js +3 -3
- package/dist/session/event.js +1 -1
- package/dist/session/execution/restart.js +224 -224
- package/dist/session/execution.js +126 -126
- package/dist/session/generate.js +153 -153
- 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 +97 -97
- package/dist/session/message-updater.js +4 -4
- package/dist/session/message.js +1 -1
- package/dist/session/model-request.js +119 -119
- package/dist/session/model-transport.js +9 -9
- package/dist/session/move.js +130 -130
- package/dist/session/projector.js +86 -86
- package/dist/session/prompt.js +105 -105
- package/dist/session/provider-context.js +3 -3
- package/dist/session/revert.js +90 -90
- package/dist/session/run-coordinator.js +3 -3
- package/dist/session/runner/index.js +3 -3
- package/dist/session/runner/llm.js +231 -231
- package/dist/session/runner/max-steps.js +1 -1
- package/dist/session/runner/model.js +98 -98
- package/dist/session/runner/publish-llm-event.js +3 -3
- package/dist/session/runner/retry.js +114 -114
- package/dist/session/runner/step.js +126 -126
- package/dist/session/runner/to-llm-message.js +2 -2
- package/dist/session/schema.js +5 -5
- package/dist/session/session.js +172 -172
- package/dist/session/shell.js +138 -138
- package/dist/session/skill.js +103 -103
- 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 +208 -208
- package/dist/session/system-prompt.js +3 -3
- package/dist/session/title.js +156 -156
- package/dist/session/to-session-error.js +111 -111
- package/dist/session/transfer.js +220 -220
- package/dist/session/usage.js +1 -1
- package/dist/session.js +218 -218
- 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 +140 -140
- package/dist/skill/discovery.js +6 -6
- package/dist/skill/instructions.js +107 -107
- package/dist/skill.js +112 -112
- package/dist/snapshot.js +91 -91
- 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 +125 -125
- package/dist/tool/plugin/edit.js +120 -120
- package/dist/tool/plugin/file-diff.js +1 -1
- package/dist/tool/plugin/glob.js +124 -124
- package/dist/tool/plugin/grep.js +124 -124
- package/dist/tool/plugin/mcp-resource.js +116 -116
- package/dist/tool/plugin/opencode.js +3 -3
- package/dist/tool/plugin/patch.js +118 -118
- package/dist/tool/plugin/question.js +105 -105
- package/dist/tool/plugin/read.js +125 -125
- package/dist/tool/plugin/shell.js +215 -215
- package/dist/tool/plugin/skill.js +111 -111
- package/dist/tool/plugin/subagent.js +219 -219
- package/dist/tool/plugin/webfetch.js +108 -108
- package/dist/tool/plugin/websearch.js +110 -110
- package/dist/tool/plugin/write.js +122 -122
- package/dist/tool/read-filesystem.js +100 -100
- package/dist/tool/runtime.js +1 -1
- package/dist/tool-output.js +8 -8
- package/dist/tool.js +16 -16
- package/dist/types/effect/app-node-platform.d.ts +1 -2
- package/dist/types/plugin/provider/github-copilot.d.ts +10 -1
- package/dist/types/plugin/verbosity.d.ts +3 -0
- package/dist/types/shell/result.d.ts +5 -1
- 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/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 +2 -2
- 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 +92 -92
- 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/v1/config/server.js +2 -2
- package/dist/v1/config/skills.js +3 -3
- package/dist/v1/permission.js +1 -1
- package/dist/variant.js +93 -93
- package/dist/vcs/patch.js +1 -1
- package/dist/vcs.js +89 -89
- package/dist/websearch.js +84 -84
- package/dist/wellknown/plugin.js +76 -76
- package/dist/wellknown.js +79 -79
- package/dist/workspace/driver.js +5 -5
- package/dist/workspace/sql.js +1 -1
- package/dist/workspace.js +80 -80
- 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 +89 -89
- package/dist/worktree.js +98 -98
- package/package.json +8 -8
- package/dist/chunks/event-logger-bnwmzjfq.js +0 -26
- package/dist/chunks/event-logger-by5v678g.js +0 -18
- package/dist/chunks/event-logger-fh4s07nh.js +0 -252
- /package/dist/chunks/{event-logger-0qkdqm5v.js → schema-0qkdqm5v.js} +0 -0
- /package/dist/chunks/{event-logger-0zkw76rk.js → schema-0zkw76rk.js} +0 -0
- /package/dist/chunks/{event-logger-17cy0kzp.js → schema-17cy0kzp.js} +0 -0
- /package/dist/chunks/{event-logger-1cnp2v09.js → schema-1cnp2v09.js} +0 -0
- /package/dist/chunks/{event-logger-1kg9ymc8.js → schema-1kg9ymc8.js} +0 -0
- /package/dist/chunks/{event-logger-24dcb14g.js → schema-24dcb14g.js} +0 -0
- /package/dist/chunks/{event-logger-2710q6r3.js → schema-2710q6r3.js} +0 -0
- /package/dist/chunks/{event-logger-2axfhc9x.js → schema-2axfhc9x.js} +0 -0
- /package/dist/chunks/{event-logger-2c3vjs8z.js → schema-2c3vjs8z.js} +0 -0
- /package/dist/chunks/{event-logger-34c7v6d4.js → schema-34c7v6d4.js} +0 -0
- /package/dist/chunks/{event-logger-359p4xyc.js → schema-359p4xyc.js} +0 -0
- /package/dist/chunks/{event-logger-3asan66x.js → schema-3asan66x.js} +0 -0
- /package/dist/chunks/{event-logger-3v8g72cx.js → schema-3v8g72cx.js} +0 -0
- /package/dist/chunks/{event-logger-3w5fmr99.js → schema-3w5fmr99.js} +0 -0
- /package/dist/chunks/{event-logger-3wcehsnq.js → schema-3wcehsnq.js} +0 -0
- /package/dist/chunks/{event-logger-43n2bw4t.js → schema-43n2bw4t.js} +0 -0
- /package/dist/chunks/{event-logger-4knz6hnm.js → schema-4knz6hnm.js} +0 -0
- /package/dist/chunks/{event-logger-4vcrnpx2.js → schema-4vcrnpx2.js} +0 -0
- /package/dist/chunks/{event-logger-4y7fprxs.js → schema-4y7fprxs.js} +0 -0
- /package/dist/chunks/{event-logger-53557ph1.js → schema-53557ph1.js} +0 -0
- /package/dist/chunks/{event-logger-550bvhaj.js → schema-550bvhaj.js} +0 -0
- /package/dist/chunks/{event-logger-5qd3pb7m.js → schema-5qd3pb7m.js} +0 -0
- /package/dist/chunks/{event-logger-6kdq0pjd.js → schema-6kdq0pjd.js} +0 -0
- /package/dist/chunks/{event-logger-6prwharc.js → schema-6prwharc.js} +0 -0
- /package/dist/chunks/{event-logger-7akdwqpd.js → schema-7akdwqpd.js} +0 -0
- /package/dist/chunks/{event-logger-7m9af43g.js → schema-7m9af43g.js} +0 -0
- /package/dist/chunks/{event-logger-822emrt2.js → schema-822emrt2.js} +0 -0
- /package/dist/chunks/{event-logger-88xbtdfr.js → schema-88xbtdfr.js} +0 -0
- /package/dist/chunks/{event-logger-8n3pysct.js → schema-8n3pysct.js} +0 -0
- /package/dist/chunks/{event-logger-8wj87zfr.js → schema-8wj87zfr.js} +0 -0
- /package/dist/chunks/{event-logger-922hggd3.js → schema-922hggd3.js} +0 -0
- /package/dist/chunks/{event-logger-9a4afbnw.js → schema-9a4afbnw.js} +0 -0
- /package/dist/chunks/{event-logger-9rqn6x4v.js → schema-9rqn6x4v.js} +0 -0
- /package/dist/chunks/{event-logger-a6k6eb26.js → schema-a6k6eb26.js} +0 -0
- /package/dist/chunks/{event-logger-af5trqkr.js → schema-af5trqkr.js} +0 -0
- /package/dist/chunks/{event-logger-afrmfg78.js → schema-afrmfg78.js} +0 -0
- /package/dist/chunks/{event-logger-aqzs7mqg.js → schema-aqzs7mqg.js} +0 -0
- /package/dist/chunks/{event-logger-atq7p7m5.js → schema-atq7p7m5.js} +0 -0
- /package/dist/chunks/{event-logger-bkyjaxrp.js → schema-bkyjaxrp.js} +0 -0
- /package/dist/chunks/{event-logger-bmr6ed5q.js → schema-bmr6ed5q.js} +0 -0
- /package/dist/chunks/{event-logger-cf4snx6d.js → schema-cf4snx6d.js} +0 -0
- /package/dist/chunks/{event-logger-cvy3z8tj.js → schema-cvy3z8tj.js} +0 -0
- /package/dist/chunks/{event-logger-d9fn303g.js → schema-d9fn303g.js} +0 -0
- /package/dist/chunks/{event-logger-d9jj8t3e.js → schema-d9jj8t3e.js} +0 -0
- /package/dist/chunks/{event-logger-dajrwvna.js → schema-dajrwvna.js} +0 -0
- /package/dist/chunks/{event-logger-dap0rakb.js → schema-dap0rakb.js} +0 -0
- /package/dist/chunks/{event-logger-df08tz66.js → schema-df08tz66.js} +0 -0
- /package/dist/chunks/{event-logger-dy18nga0.js → schema-dy18nga0.js} +0 -0
- /package/dist/chunks/{event-logger-e5kj55wp.js → schema-e5kj55wp.js} +0 -0
- /package/dist/chunks/{event-logger-e73j6tqm.js → schema-e73j6tqm.js} +0 -0
- /package/dist/chunks/{event-logger-ec1grn59.js → schema-ec1grn59.js} +0 -0
- /package/dist/chunks/{event-logger-eh3zwz77.js → schema-eh3zwz77.js} +0 -0
- /package/dist/chunks/{event-logger-emrn6kk6.js → schema-emrn6kk6.js} +0 -0
- /package/dist/chunks/{event-logger-f0mxakyp.js → schema-f0mxakyp.js} +0 -0
- /package/dist/chunks/{event-logger-f6n9ztr4.js → schema-f6n9ztr4.js} +0 -0
- /package/dist/chunks/{event-logger-faypxj3z.js → schema-faypxj3z.js} +0 -0
- /package/dist/chunks/{event-logger-fd410y7t.js → schema-fd410y7t.js} +0 -0
- /package/dist/chunks/{event-logger-fxgpk5d8.js → schema-fxgpk5d8.js} +0 -0
- /package/dist/chunks/{event-logger-g4wezp1m.js → schema-g4wezp1m.js} +0 -0
- /package/dist/chunks/{event-logger-g86h250q.js → schema-g86h250q.js} +0 -0
- /package/dist/chunks/{event-logger-gebd4c9n.js → schema-gebd4c9n.js} +0 -0
- /package/dist/chunks/{event-logger-gftt206x.js → schema-gftt206x.js} +0 -0
- /package/dist/chunks/{event-logger-hjbc5kem.js → schema-hjbc5kem.js} +0 -0
- /package/dist/chunks/{event-logger-hk9envan.js → schema-hk9envan.js} +0 -0
- /package/dist/chunks/{event-logger-j2ntwpah.js → schema-j2ntwpah.js} +0 -0
- /package/dist/chunks/{event-logger-j5zkgpj8.js → schema-j5zkgpj8.js} +0 -0
- /package/dist/chunks/{event-logger-jjkms2e6.js → schema-jjkms2e6.js} +0 -0
- /package/dist/chunks/{event-logger-jr7sbwjy.js → schema-jr7sbwjy.js} +0 -0
- /package/dist/chunks/{event-logger-jwfs4k6c.js → schema-jwfs4k6c.js} +0 -0
- /package/dist/chunks/{event-logger-jzg6c2d5.js → schema-jzg6c2d5.js} +0 -0
- /package/dist/chunks/{event-logger-mp448xyj.js → schema-mp448xyj.js} +0 -0
- /package/dist/chunks/{event-logger-msx8hqn2.js → schema-msx8hqn2.js} +0 -0
- /package/dist/chunks/{event-logger-n05xt0ee.js → schema-n05xt0ee.js} +0 -0
- /package/dist/chunks/{event-logger-n3j8tn72.js → schema-n3j8tn72.js} +0 -0
- /package/dist/chunks/{event-logger-njntx4h6.js → schema-njntx4h6.js} +0 -0
- /package/dist/chunks/{event-logger-q3sfg36h.js → schema-q3sfg36h.js} +0 -0
- /package/dist/chunks/{event-logger-q74kybfr.js → schema-q74kybfr.js} +0 -0
- /package/dist/chunks/{event-logger-qaymkmh1.js → schema-qaymkmh1.js} +0 -0
- /package/dist/chunks/{event-logger-qb87gjwd.js → schema-qb87gjwd.js} +0 -0
- /package/dist/chunks/{event-logger-qfa1cgps.js → schema-qfa1cgps.js} +0 -0
- /package/dist/chunks/{event-logger-qg3g05ea.js → schema-qg3g05ea.js} +0 -0
- /package/dist/chunks/{event-logger-qrg20bc0.js → schema-qrg20bc0.js} +0 -0
- /package/dist/chunks/{event-logger-rcb2kzg1.js → schema-rcb2kzg1.js} +0 -0
- /package/dist/chunks/{event-logger-sdp7kfr6.js → schema-sdp7kfr6.js} +0 -0
- /package/dist/chunks/{event-logger-sk3qaz4a.js → schema-sk3qaz4a.js} +0 -0
- /package/dist/chunks/{event-logger-ssg3fenm.js → schema-ssg3fenm.js} +0 -0
- /package/dist/chunks/{event-logger-w803qqfp.js → schema-w803qqfp.js} +0 -0
- /package/dist/chunks/{event-logger-wc3fc9cn.js → schema-wc3fc9cn.js} +0 -0
- /package/dist/chunks/{event-logger-wer8tq1h.js → schema-wer8tq1h.js} +0 -0
- /package/dist/chunks/{event-logger-wtztk69x.js → schema-wtztk69x.js} +0 -0
- /package/dist/chunks/{event-logger-x0ckcb58.js → schema-x0ckcb58.js} +0 -0
- /package/dist/chunks/{event-logger-x61499pn.js → schema-x61499pn.js} +0 -0
- /package/dist/chunks/{event-logger-y44na4kk.js → schema-y44na4kk.js} +0 -0
- /package/dist/chunks/{event-logger-y8cydn3q.js → schema-y8cydn3q.js} +0 -0
- /package/dist/chunks/{event-logger-y8f7s663.js → schema-y8f7s663.js} +0 -0
- /package/dist/chunks/{event-logger-ygaqb7jw.js → schema-ygaqb7jw.js} +0 -0
- /package/dist/chunks/{event-logger-ym463w8f.js → schema-ym463w8f.js} +0 -0
- /package/dist/chunks/{event-logger-z9919s4g.js → schema-z9919s4g.js} +0 -0
|
@@ -1,121 +1,121 @@
|
|
|
1
|
-
import {
|
|
2
|
-
Service84,
|
|
3
|
-
node88
|
|
4
|
-
} from "./event-logger-e0k7xjnp.js";
|
|
5
1
|
import {
|
|
6
2
|
Service83,
|
|
7
3
|
node87
|
|
8
|
-
} from "./
|
|
4
|
+
} from "./schema-qg2cf98c.js";
|
|
5
|
+
import {
|
|
6
|
+
Service82,
|
|
7
|
+
node86
|
|
8
|
+
} from "./schema-cmsm0fmq.js";
|
|
9
9
|
import {
|
|
10
10
|
SessionMessage2
|
|
11
|
-
} from "./
|
|
11
|
+
} from "./schema-gftt206x.js";
|
|
12
12
|
import {
|
|
13
13
|
StepFailedError2
|
|
14
|
-
} from "./
|
|
14
|
+
} from "./schema-0e81x99y.js";
|
|
15
15
|
import {
|
|
16
16
|
SessionEvent2
|
|
17
|
-
} from "./
|
|
17
|
+
} from "./schema-ec1grn59.js";
|
|
18
18
|
import {
|
|
19
19
|
SessionMessageTable2
|
|
20
|
-
} from "./
|
|
20
|
+
} from "./schema-z07pqspn.js";
|
|
21
21
|
import {
|
|
22
22
|
prepare4
|
|
23
|
-
} from "./
|
|
23
|
+
} from "./schema-mvksx64m.js";
|
|
24
24
|
import {
|
|
25
25
|
provenance2
|
|
26
|
-
} from "./
|
|
26
|
+
} from "./schema-ssdqnhy0.js";
|
|
27
27
|
import {
|
|
28
28
|
decodeMessageRow2,
|
|
29
29
|
preview2
|
|
30
|
-
} from "./
|
|
30
|
+
} from "./schema-3ybey094.js";
|
|
31
31
|
import {
|
|
32
|
-
|
|
33
|
-
|
|
34
|
-
} from "./
|
|
32
|
+
Service67,
|
|
33
|
+
node70
|
|
34
|
+
} from "./schema-5m1y3qk6.js";
|
|
35
35
|
import {
|
|
36
|
-
|
|
37
|
-
|
|
38
|
-
} from "./
|
|
36
|
+
Service62,
|
|
37
|
+
node65
|
|
38
|
+
} from "./schema-wzhdnf6z.js";
|
|
39
39
|
import {
|
|
40
40
|
llmClient2
|
|
41
|
-
} from "./
|
|
41
|
+
} from "./schema-5t3nmthw.js";
|
|
42
42
|
import {
|
|
43
|
-
|
|
44
|
-
|
|
45
|
-
} from "./
|
|
43
|
+
Service22,
|
|
44
|
+
node25
|
|
45
|
+
} from "./schema-mj50c66e.js";
|
|
46
46
|
import {
|
|
47
47
|
baseTranscript2
|
|
48
|
-
} from "./
|
|
48
|
+
} from "./schema-jmanypz0.js";
|
|
49
49
|
import {
|
|
50
|
-
|
|
51
|
-
} from "./
|
|
50
|
+
make9
|
|
51
|
+
} from "./schema-x8bbrmd5.js";
|
|
52
52
|
import {
|
|
53
|
-
|
|
54
|
-
|
|
55
|
-
} from "./
|
|
53
|
+
Service10,
|
|
54
|
+
node12
|
|
55
|
+
} from "./schema-mpjr2ekw.js";
|
|
56
56
|
import {
|
|
57
|
-
|
|
58
|
-
|
|
59
|
-
} from "./
|
|
57
|
+
Service18,
|
|
58
|
+
node21
|
|
59
|
+
} from "./schema-tfvhzp6w.js";
|
|
60
60
|
import {
|
|
61
61
|
serialized2,
|
|
62
62
|
nextPromotable2,
|
|
63
63
|
promote2
|
|
64
|
-
} from "./
|
|
64
|
+
} from "./schema-rwvzjkqg.js";
|
|
65
65
|
import {
|
|
66
|
-
|
|
66
|
+
Service11,
|
|
67
67
|
isUntitled2,
|
|
68
|
-
|
|
69
|
-
} from "./
|
|
68
|
+
node13
|
|
69
|
+
} from "./schema-bw1k523x.js";
|
|
70
70
|
import {
|
|
71
71
|
DrainResult2,
|
|
72
|
-
|
|
73
|
-
} from "./
|
|
72
|
+
Service38
|
|
73
|
+
} from "./schema-hn57h045.js";
|
|
74
74
|
import {
|
|
75
|
-
|
|
76
|
-
} from "./
|
|
75
|
+
node35
|
|
76
|
+
} from "./schema-n72gykqt.js";
|
|
77
77
|
import {
|
|
78
|
-
|
|
79
|
-
} from "./
|
|
78
|
+
node39
|
|
79
|
+
} from "./schema-9vhpts05.js";
|
|
80
80
|
import {
|
|
81
81
|
Outcome2,
|
|
82
|
-
|
|
83
|
-
} from "./
|
|
82
|
+
make8
|
|
83
|
+
} from "./schema-2627m7vs.js";
|
|
84
84
|
import {
|
|
85
|
-
|
|
86
|
-
} from "./
|
|
85
|
+
Service24
|
|
86
|
+
} from "./schema-v1faaxn9.js";
|
|
87
87
|
import {
|
|
88
|
-
|
|
89
|
-
} from "./
|
|
88
|
+
node17
|
|
89
|
+
} from "./schema-8kn7kdrq.js";
|
|
90
90
|
import {
|
|
91
91
|
MAX_STEPS_PROMPT2
|
|
92
|
-
} from "./
|
|
92
|
+
} from "./schema-y44na4kk.js";
|
|
93
93
|
import {
|
|
94
94
|
__export
|
|
95
|
-
} from "./
|
|
95
|
+
} from "./schema-9rqn6x4v.js";
|
|
96
96
|
|
|
97
97
|
// src/session/runner/llm.ts
|
|
98
98
|
var exports_llm = {};
|
|
99
99
|
__export(exports_llm, {
|
|
100
100
|
SessionRunnerLLM: () => exports_llm,
|
|
101
|
-
node: () =>
|
|
101
|
+
node: () => node11
|
|
102
102
|
});
|
|
103
103
|
import { Message } from "@opencode/ai";
|
|
104
104
|
import { and, desc, eq, sql } from "drizzle-orm";
|
|
105
105
|
import { Cause, Effect, Exit, FiberMap, Layer } from "effect";
|
|
106
106
|
import { makeLocationNode } from "@opencode/util/effect/app-node";
|
|
107
107
|
var CONTINUE_AFTER_INCOMPLETE_STREAM = "The previous response was interrupted. Continue from where you left off without repeating completed content.";
|
|
108
|
-
var layer = Layer.effect(
|
|
109
|
-
const bus = yield*
|
|
110
|
-
const lifecycle = yield*
|
|
111
|
-
const store = yield*
|
|
112
|
-
const context = yield*
|
|
113
|
-
const modelTransport = yield*
|
|
114
|
-
const db = (yield*
|
|
115
|
-
const compaction = yield*
|
|
116
|
-
const plugins = yield*
|
|
117
|
-
const title = yield*
|
|
118
|
-
const steps = yield*
|
|
108
|
+
var layer = Layer.effect(Service38, Effect.gen(function* () {
|
|
109
|
+
const bus = yield* Service82;
|
|
110
|
+
const lifecycle = yield* Service62;
|
|
111
|
+
const store = yield* Service67;
|
|
112
|
+
const context = yield* Service18;
|
|
113
|
+
const modelTransport = yield* Service22;
|
|
114
|
+
const db = (yield* Service83).db;
|
|
115
|
+
const compaction = yield* Service10;
|
|
116
|
+
const plugins = yield* Service24;
|
|
117
|
+
const title = yield* Service11;
|
|
118
|
+
const steps = yield* make8;
|
|
119
119
|
const titles = yield* FiberMap.make();
|
|
120
120
|
const drain = Effect.fn("SessionRunner.drain")(function* (input) {
|
|
121
121
|
const sessionID = input.sessionID;
|
|
@@ -240,7 +240,7 @@ var layer = Layer.effect(Service61, Effect.gen(function* () {
|
|
|
240
240
|
const runStep = Effect.fn("SessionRunner.runStep")(function* (first, step) {
|
|
241
241
|
const sessionID = first.session.id;
|
|
242
242
|
let assistantMessageID = SessionMessage2.ID.create();
|
|
243
|
-
const retry = yield*
|
|
243
|
+
const retry = yield* make9(bus, sessionID);
|
|
244
244
|
let initial = first;
|
|
245
245
|
let recoverOverflow = true;
|
|
246
246
|
let recoverContinuation = true;
|
|
@@ -361,25 +361,25 @@ var layer = Layer.effect(Service61, Effect.gen(function* () {
|
|
|
361
361
|
}
|
|
362
362
|
}
|
|
363
363
|
});
|
|
364
|
-
return
|
|
364
|
+
return Service38.of({ drain });
|
|
365
365
|
}));
|
|
366
|
-
var
|
|
367
|
-
service:
|
|
366
|
+
var node11 = makeLocationNode({
|
|
367
|
+
service: Service38,
|
|
368
368
|
layer,
|
|
369
369
|
deps: [
|
|
370
|
-
|
|
371
|
-
|
|
370
|
+
node86,
|
|
371
|
+
node65,
|
|
372
372
|
llmClient2,
|
|
373
|
-
|
|
373
|
+
node21,
|
|
374
|
+
node25,
|
|
375
|
+
node70,
|
|
376
|
+
node12,
|
|
377
|
+
node17,
|
|
378
|
+
node13,
|
|
379
|
+
node35,
|
|
374
380
|
node39,
|
|
375
|
-
|
|
376
|
-
node8,
|
|
377
|
-
node19,
|
|
378
|
-
node3,
|
|
379
|
-
node46,
|
|
380
|
-
node56,
|
|
381
|
-
node88
|
|
381
|
+
node87
|
|
382
382
|
]
|
|
383
383
|
});
|
|
384
384
|
|
|
385
|
-
export {
|
|
385
|
+
export { node11, exports_llm };
|
|
@@ -3,19 +3,19 @@ import {
|
|
|
3
3
|
isAISDK2,
|
|
4
4
|
packageName2,
|
|
5
5
|
mergeOverlay2
|
|
6
|
-
} from "./
|
|
6
|
+
} from "./schema-qw1f8ej3.js";
|
|
7
7
|
import {
|
|
8
8
|
__export
|
|
9
|
-
} from "./
|
|
9
|
+
} from "./schema-9rqn6x4v.js";
|
|
10
10
|
|
|
11
11
|
// src/aisdk.ts
|
|
12
12
|
var exports_aisdk = {};
|
|
13
13
|
__export(exports_aisdk, {
|
|
14
14
|
AISDK: () => exports_aisdk,
|
|
15
15
|
InitError: () => InitError2,
|
|
16
|
-
Service: () =>
|
|
16
|
+
Service: () => Service73,
|
|
17
17
|
locationLayer: () => locationLayer2,
|
|
18
|
-
node: () =>
|
|
18
|
+
node: () => node77
|
|
19
19
|
});
|
|
20
20
|
import { makeLocationNode } from "@opencode/util/effect/app-node";
|
|
21
21
|
import { APICallError } from "@ai-sdk/provider";
|
|
@@ -26,8 +26,7 @@ import {
|
|
|
26
26
|
ProviderID,
|
|
27
27
|
ProviderMetadata,
|
|
28
28
|
TransportError,
|
|
29
|
-
ToolResultValue
|
|
30
|
-
UnknownProviderError
|
|
29
|
+
ToolResultValue
|
|
31
30
|
} from "@opencode/ai";
|
|
32
31
|
import { Auth, Endpoint, RequestExecutor } from "@opencode/ai/route";
|
|
33
32
|
import { ProviderShared } from "@opencode/ai/protocols/shared";
|
|
@@ -159,9 +158,9 @@ function initError(providerID) {
|
|
|
159
158
|
return Effect.catchCause((cause) => Effect.fail(new InitError2({ providerID, cause: Cause.squash(cause) })));
|
|
160
159
|
}
|
|
161
160
|
|
|
162
|
-
class
|
|
161
|
+
class Service73 extends Context.Service()("@opencode/AISDK") {
|
|
163
162
|
}
|
|
164
|
-
var locationLayer2 = Layer.effect(
|
|
163
|
+
var locationLayer2 = Layer.effect(Service73, Effect.gen(function* () {
|
|
165
164
|
let sdkHooks = [];
|
|
166
165
|
let languageHooks = [];
|
|
167
166
|
const languages = new Map;
|
|
@@ -199,7 +198,7 @@ var locationLayer2 = Layer.effect(Service75, Effect.gen(function* () {
|
|
|
199
198
|
}
|
|
200
199
|
return event;
|
|
201
200
|
});
|
|
202
|
-
const service =
|
|
201
|
+
const service = Service73.of({
|
|
203
202
|
hook: {
|
|
204
203
|
sdk: register(() => sdkHooks, (next) => sdkHooks = next),
|
|
205
204
|
language: register(() => languageHooks, (next) => languageHooks = next)
|
|
@@ -265,6 +264,7 @@ function modelFromLanguage(info, language) {
|
|
|
265
264
|
provider: ProviderID.make(providerID),
|
|
266
265
|
providerMetadataKey: optionKey,
|
|
267
266
|
protocol: "ai-sdk",
|
|
267
|
+
sanitizer: "none",
|
|
268
268
|
endpoint: Endpoint.path("/", { baseURL: "https://ai-sdk.local" }),
|
|
269
269
|
auth: Auth.none,
|
|
270
270
|
transport: {
|
|
@@ -763,14 +763,14 @@ function llmError(error, operation) {
|
|
|
763
763
|
code: network.code
|
|
764
764
|
})
|
|
765
765
|
});
|
|
766
|
-
return
|
|
767
|
-
|
|
768
|
-
|
|
769
|
-
|
|
770
|
-
|
|
771
|
-
})
|
|
766
|
+
return RequestExecutor.httpFailure({
|
|
767
|
+
message: unknownErrorMessage(error),
|
|
768
|
+
data: errorValue(error) ?? error,
|
|
769
|
+
responseBody: errorBody(error),
|
|
770
|
+
cause: error
|
|
772
771
|
});
|
|
773
772
|
}
|
|
773
|
+
var errorValue = (error) => ProviderShared.isRecord(error) ? error.value : undefined;
|
|
774
774
|
var NETWORK_ERROR_CODES = new Set([
|
|
775
775
|
"ECONNRESET",
|
|
776
776
|
"ECONNREFUSED",
|
|
@@ -849,7 +849,7 @@ var ProviderErrorBody = Schema.Struct({
|
|
|
849
849
|
});
|
|
850
850
|
var decodeProviderError = Schema.decodeUnknownOption(Schema.Union([ProviderErrorBody, Schema.fromJsonString(ProviderErrorBody)]));
|
|
851
851
|
function unknownErrorMessage(error) {
|
|
852
|
-
const message = error instanceof Error ? error.message :
|
|
852
|
+
const message = error instanceof Error ? error.message : typeof error === "string" ? error : [error, errorValue(error)].map((value) => Option.getOrUndefined(decodeProviderError(value))).flatMap((decoded) => [decoded?.error?.message, decoded?.message]).find((value) => value?.trim()) ?? "";
|
|
853
853
|
return message.trim() === "" ? "Provider request failed" : message;
|
|
854
854
|
}
|
|
855
855
|
function providerErrorMessage(error) {
|
|
@@ -862,6 +862,6 @@ function providerErrorMessage(error) {
|
|
|
862
862
|
const prefix = error.statusCode === undefined ? "Provider request failed" : `Provider request failed with HTTP ${error.statusCode}`;
|
|
863
863
|
return error.message.trim() !== "" ? error.message : message ?? (code === undefined ? prefix : `${prefix}: ${code}`);
|
|
864
864
|
}
|
|
865
|
-
var
|
|
865
|
+
var node77 = makeLocationNode({ service: Service73, layer: locationLayer2, deps: [] });
|
|
866
866
|
|
|
867
|
-
export { InitError2,
|
|
867
|
+
export { InitError2, Service73, locationLayer2, node77, exports_aisdk };
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import {
|
|
2
2
|
__export
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./schema-9rqn6x4v.js";
|
|
4
4
|
|
|
5
5
|
// src/shell/result.ts
|
|
6
6
|
var exports_result = {};
|
|
@@ -25,12 +25,15 @@ function output2(result) {
|
|
|
25
25
|
output: result.capture?.output ?? unavailable2.output,
|
|
26
26
|
truncated: result.capture?.truncated ?? false,
|
|
27
27
|
...result.info.exit !== undefined ? { exit: result.info.exit } : {},
|
|
28
|
+
...result.info.signal !== undefined ? { signal: result.info.signal } : {},
|
|
28
29
|
...result.info.status === "timeout" ? { timeout: true } : {}
|
|
29
30
|
};
|
|
30
31
|
}
|
|
31
32
|
function notice2(output) {
|
|
32
33
|
if (output.timeout)
|
|
33
34
|
return "Timed out before completion";
|
|
35
|
+
if (output.signal !== undefined)
|
|
36
|
+
return `Killed by ${output.signal}`;
|
|
34
37
|
if (output.exit !== undefined && output.exit !== 0)
|
|
35
38
|
return `Exited with code ${output.exit}`;
|
|
36
39
|
}
|
|
@@ -38,6 +41,7 @@ function metadata2(output) {
|
|
|
38
41
|
return {
|
|
39
42
|
truncated: output.truncated,
|
|
40
43
|
...output.exit !== undefined ? { exit: output.exit } : {},
|
|
44
|
+
...output.signal !== undefined ? { signal: output.signal } : {},
|
|
41
45
|
...output.timeout !== undefined ? { timeout: output.timeout } : {}
|
|
42
46
|
};
|
|
43
47
|
}
|
|
@@ -1,10 +1,10 @@
|
|
|
1
1
|
import {
|
|
2
2
|
absoluteColumn2,
|
|
3
3
|
absoluteArrayColumn2
|
|
4
|
-
} from "./
|
|
4
|
+
} from "./schema-6msgmcgs.js";
|
|
5
5
|
import {
|
|
6
6
|
Timestamps2
|
|
7
|
-
} from "./
|
|
7
|
+
} from "./schema-qfa1cgps.js";
|
|
8
8
|
|
|
9
9
|
// src/project/sql.ts
|
|
10
10
|
import { isNotNull, isNull, ne, or } from "drizzle-orm";
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import {
|
|
2
2
|
getViewSelectedFieldsRuntime2,
|
|
3
3
|
orderSelectedFields2
|
|
4
|
-
} from "./
|
|
4
|
+
} from "./schema-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";
|
|
@@ -5,15 +5,15 @@ import {
|
|
|
5
5
|
ModelInitializationError3,
|
|
6
6
|
UnresolvedProviderVariablesError3,
|
|
7
7
|
UnsupportedCompactionError3,
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
} from "./
|
|
8
|
+
Service72,
|
|
9
|
+
node76
|
|
10
|
+
} from "./schema-ayqbdn8x.js";
|
|
11
11
|
import {
|
|
12
12
|
SessionSchema2
|
|
13
|
-
} from "./
|
|
13
|
+
} from "./schema-k6yq57aq.js";
|
|
14
14
|
import {
|
|
15
15
|
__export
|
|
16
|
-
} from "./
|
|
16
|
+
} from "./schema-9rqn6x4v.js";
|
|
17
17
|
|
|
18
18
|
// src/session/runner/model.ts
|
|
19
19
|
var exports_model = {};
|
|
@@ -22,13 +22,13 @@ __export(exports_model, {
|
|
|
22
22
|
ModelInitializationError: () => ModelInitializationError2,
|
|
23
23
|
ModelNotSelectedError: () => ModelNotSelectedError2,
|
|
24
24
|
ModelUnavailableError: () => ModelUnavailableError2,
|
|
25
|
-
Service: () =>
|
|
25
|
+
Service: () => Service40,
|
|
26
26
|
SessionRunnerModel: () => exports_model,
|
|
27
27
|
UnresolvedProviderVariablesError: () => UnresolvedProviderVariablesError2,
|
|
28
28
|
UnsupportedCompactionError: () => UnsupportedCompactionError2,
|
|
29
29
|
UnsupportedPackageError: () => UnsupportedPackageError2,
|
|
30
30
|
VariantUnavailableError: () => VariantUnavailableError2,
|
|
31
|
-
node: () =>
|
|
31
|
+
node: () => node42,
|
|
32
32
|
resolved: () => resolved2
|
|
33
33
|
});
|
|
34
34
|
import { makeLocationNode } from "@opencode/util/effect/app-node";
|
|
@@ -57,7 +57,7 @@ var ModelInitializationError2 = ModelInitializationError3;
|
|
|
57
57
|
var UnresolvedProviderVariablesError2 = UnresolvedProviderVariablesError3;
|
|
58
58
|
var UnsupportedCompactionError2 = UnsupportedCompactionError3;
|
|
59
59
|
|
|
60
|
-
class
|
|
60
|
+
class Service40 extends Context.Service()("@opencode/SessionRunnerModel") {
|
|
61
61
|
}
|
|
62
62
|
var resolved2 = (model, options) => ({
|
|
63
63
|
model,
|
|
@@ -72,9 +72,9 @@ var resolved2 = (model, options) => ({
|
|
|
72
72
|
compaction: options.compaction,
|
|
73
73
|
transport: options.transport
|
|
74
74
|
});
|
|
75
|
-
var layer = Layer.effect(
|
|
76
|
-
const resolver = yield*
|
|
77
|
-
return
|
|
75
|
+
var layer = Layer.effect(Service40, Effect.gen(function* () {
|
|
76
|
+
const resolver = yield* Service72;
|
|
77
|
+
return Service40.of({
|
|
78
78
|
resolve: Effect.fn("SessionRunnerModel.resolve")(function* (session, available) {
|
|
79
79
|
if (!session.model) {
|
|
80
80
|
const resolved = yield* resolver.resolve();
|
|
@@ -92,6 +92,6 @@ var layer = Layer.effect(Service64, Effect.gen(function* () {
|
|
|
92
92
|
})
|
|
93
93
|
});
|
|
94
94
|
}));
|
|
95
|
-
var
|
|
95
|
+
var node42 = makeLocationNode({ service: Service40, layer, deps: [node76] });
|
|
96
96
|
|
|
97
|
-
export { ModelNotSelectedError2, ModelUnavailableError2, VariantUnavailableError2, UnsupportedPackageError2, ModelConfigurationError2, ModelInitializationError2, UnresolvedProviderVariablesError2, UnsupportedCompactionError2,
|
|
97
|
+
export { ModelNotSelectedError2, ModelUnavailableError2, VariantUnavailableError2, UnsupportedPackageError2, ModelConfigurationError2, ModelInitializationError2, UnresolvedProviderVariablesError2, UnsupportedCompactionError2, Service40, resolved2, node42, exports_model };
|
|
@@ -1,10 +1,10 @@
|
|
|
1
1
|
import {
|
|
2
2
|
AbsolutePath2,
|
|
3
3
|
RelativePath2
|
|
4
|
-
} from "./
|
|
4
|
+
} from "./schema-922hggd3.js";
|
|
5
5
|
import {
|
|
6
6
|
SessionSchema2
|
|
7
|
-
} from "./
|
|
7
|
+
} from "./schema-k6yq57aq.js";
|
|
8
8
|
|
|
9
9
|
// src/session/info.ts
|
|
10
10
|
import { DateTime, Schema } from "effect";
|
|
@@ -1,32 +1,32 @@
|
|
|
1
1
|
import {
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
} from "./
|
|
2
|
+
Service82,
|
|
3
|
+
node86
|
|
4
|
+
} from "./schema-cmsm0fmq.js";
|
|
5
5
|
import {
|
|
6
6
|
create3
|
|
7
|
-
} from "./
|
|
7
|
+
} from "./schema-rdw6cm16.js";
|
|
8
8
|
import {
|
|
9
9
|
evaluate2
|
|
10
|
-
} from "./
|
|
10
|
+
} from "./schema-drgwwxwg.js";
|
|
11
11
|
import {
|
|
12
12
|
__export
|
|
13
|
-
} from "./
|
|
13
|
+
} from "./schema-9rqn6x4v.js";
|
|
14
14
|
|
|
15
15
|
// src/skill.ts
|
|
16
16
|
var exports_skill5 = {};
|
|
17
17
|
__export(exports_skill5, {
|
|
18
18
|
DirectorySource: () => DirectorySource2,
|
|
19
19
|
EmbeddedSource: () => EmbeddedSource2,
|
|
20
|
-
Event: () =>
|
|
21
|
-
ID: () =>
|
|
22
|
-
Info: () =>
|
|
20
|
+
Event: () => Event12,
|
|
21
|
+
ID: () => ID5,
|
|
22
|
+
Info: () => Info20,
|
|
23
23
|
Name: () => Name2,
|
|
24
|
-
Service: () =>
|
|
24
|
+
Service: () => Service56,
|
|
25
25
|
Skill: () => exports_skill5,
|
|
26
|
-
Source: () =>
|
|
26
|
+
Source: () => Source4,
|
|
27
27
|
UrlSource: () => UrlSource2,
|
|
28
28
|
available: () => available2,
|
|
29
|
-
node: () =>
|
|
29
|
+
node: () => node58,
|
|
30
30
|
prepare: () => prepare3,
|
|
31
31
|
toModelOutput: () => toModelOutput3
|
|
32
32
|
});
|
|
@@ -34,13 +34,13 @@ import { makeLocationNode } from "@opencode/util/effect/app-node";
|
|
|
34
34
|
import path from "path";
|
|
35
35
|
import { Context, Effect, Layer } from "effect";
|
|
36
36
|
import { Skill } from "@opencode/schema/skill";
|
|
37
|
-
import { Event as
|
|
37
|
+
import { Event as Event12 } from "@opencode/schema/skill";
|
|
38
38
|
var DirectorySource2 = Skill.DirectorySource;
|
|
39
39
|
var UrlSource2 = Skill.UrlSource;
|
|
40
40
|
var EmbeddedSource2 = Skill.EmbeddedSource;
|
|
41
|
-
var
|
|
42
|
-
var
|
|
43
|
-
var
|
|
41
|
+
var Source4 = Skill.Source;
|
|
42
|
+
var Info20 = Skill.Info;
|
|
43
|
+
var ID5 = Skill.ID;
|
|
44
44
|
var Name2 = Skill.Name;
|
|
45
45
|
var available2 = (skills, permissions) => skills.filter((skill) => evaluate2("skill", skill.id, permissions).effect !== "deny");
|
|
46
46
|
var toModelOutput3 = (skill, files) => {
|
|
@@ -71,33 +71,33 @@ var prepare3 = Effect.fn("Skill.prepare")(function* (fs, skill) {
|
|
|
71
71
|
};
|
|
72
72
|
});
|
|
73
73
|
|
|
74
|
-
class
|
|
74
|
+
class Service56 extends Context.Service()("@opencode/Skill") {
|
|
75
75
|
}
|
|
76
|
-
var layer = Layer.effect(
|
|
77
|
-
const bus = yield*
|
|
76
|
+
var layer = Layer.effect(Service56, Effect.gen(function* () {
|
|
77
|
+
const bus = yield* Service82;
|
|
78
78
|
const state = create3({
|
|
79
79
|
name: "skill",
|
|
80
80
|
initial: () => ({ skills: new Map }),
|
|
81
81
|
editor: (editor) => ({
|
|
82
82
|
list: () => Array.from(editor.skills.values()),
|
|
83
|
-
get: (id) => editor.skills.get(
|
|
83
|
+
get: (id) => editor.skills.get(ID5.make(id)),
|
|
84
84
|
add: (skill) => {
|
|
85
85
|
editor.skills.set(skill.id, { ...skill });
|
|
86
86
|
},
|
|
87
87
|
update: (id, update) => {
|
|
88
|
-
const current = editor.skills.get(
|
|
88
|
+
const current = editor.skills.get(ID5.make(id));
|
|
89
89
|
if (!current)
|
|
90
90
|
return;
|
|
91
91
|
update(current);
|
|
92
|
-
current.id =
|
|
92
|
+
current.id = ID5.make(id);
|
|
93
93
|
},
|
|
94
94
|
remove: (id) => {
|
|
95
|
-
editor.skills.delete(
|
|
95
|
+
editor.skills.delete(ID5.make(id));
|
|
96
96
|
}
|
|
97
97
|
}),
|
|
98
98
|
notify: () => bus.publish(Skill.Event.Updated, {}).pipe(Effect.asVoid)
|
|
99
99
|
});
|
|
100
|
-
return
|
|
100
|
+
return Service56.of({
|
|
101
101
|
transform: state.transform,
|
|
102
102
|
reload: state.reload,
|
|
103
103
|
get: Effect.fn("Skill.get")(function* (id) {
|
|
@@ -108,10 +108,10 @@ var layer = Layer.effect(Service48, Effect.gen(function* () {
|
|
|
108
108
|
})
|
|
109
109
|
});
|
|
110
110
|
}));
|
|
111
|
-
var
|
|
112
|
-
service:
|
|
111
|
+
var node58 = makeLocationNode({
|
|
112
|
+
service: Service56,
|
|
113
113
|
layer,
|
|
114
|
-
deps: [
|
|
114
|
+
deps: [node86]
|
|
115
115
|
});
|
|
116
116
|
|
|
117
|
-
export { DirectorySource2, UrlSource2, EmbeddedSource2,
|
|
117
|
+
export { DirectorySource2, UrlSource2, EmbeddedSource2, Source4, Info20, ID5, Name2, available2, toModelOutput3, prepare3, Service56, node58, exports_skill5, Event12 };
|
|
@@ -1,15 +1,15 @@
|
|
|
1
1
|
import {
|
|
2
2
|
Service80,
|
|
3
3
|
node84
|
|
4
|
-
} from "./
|
|
4
|
+
} from "./schema-sm1zfatk.js";
|
|
5
5
|
import {
|
|
6
6
|
__export
|
|
7
|
-
} from "./
|
|
7
|
+
} from "./schema-9rqn6x4v.js";
|
|
8
8
|
|
|
9
9
|
// src/location.ts
|
|
10
10
|
var exports_location = {};
|
|
11
11
|
__export(exports_location, {
|
|
12
|
-
Info: () =>
|
|
12
|
+
Info: () => Info32,
|
|
13
13
|
Location: () => exports_location,
|
|
14
14
|
Ref: () => Ref4,
|
|
15
15
|
Service: () => Service79,
|
|
@@ -18,7 +18,7 @@ __export(exports_location, {
|
|
|
18
18
|
response: () => response2
|
|
19
19
|
});
|
|
20
20
|
import { Context, Effect, Layer } from "effect";
|
|
21
|
-
import { Info as
|
|
21
|
+
import { Info as Info32, Ref as Ref4, response as response2 } from "@opencode/schema/location";
|
|
22
22
|
import { LayerNode } from "@opencode/util/effect/layer-node";
|
|
23
23
|
import { makeLocationNode, tags } from "@opencode/util/effect/app-node";
|
|
24
24
|
class Service79 extends Context.Service()("@opencode/Location") {
|
|
@@ -40,4 +40,4 @@ var boundNode2 = (ref, options) => makeLocationNode({
|
|
|
40
40
|
deps: [node84]
|
|
41
41
|
});
|
|
42
42
|
|
|
43
|
-
export {
|
|
43
|
+
export { Info32, Ref4, response2, Service79, node83, boundNode2, exports_location };
|
|
@@ -2,13 +2,13 @@ import {
|
|
|
2
2
|
AgentNotFoundError2,
|
|
3
3
|
StepFailedError2,
|
|
4
4
|
UserInterruptedError2
|
|
5
|
-
} from "./
|
|
5
|
+
} from "./schema-0e81x99y.js";
|
|
6
6
|
import {
|
|
7
7
|
BlockedError2
|
|
8
|
-
} from "./
|
|
8
|
+
} from "./schema-drgwwxwg.js";
|
|
9
9
|
import {
|
|
10
10
|
AuthorizationError2
|
|
11
|
-
} from "./
|
|
11
|
+
} from "./schema-6xg4rx5y.js";
|
|
12
12
|
import {
|
|
13
13
|
ModelNotSelectedError2,
|
|
14
14
|
ModelUnavailableError2,
|
|
@@ -18,7 +18,7 @@ import {
|
|
|
18
18
|
ModelInitializationError2,
|
|
19
19
|
UnresolvedProviderVariablesError2,
|
|
20
20
|
UnsupportedCompactionError2
|
|
21
|
-
} from "./
|
|
21
|
+
} from "./schema-wfg418dn.js";
|
|
22
22
|
|
|
23
23
|
// src/session/to-session-error.ts
|
|
24
24
|
import { AIError, ToolFailure } from "@opencode/ai";
|