@opencode/core 0.0.0-dev-20286 → 0.0.0-dev-20288
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 +89 -89
- package/dist/aisdk.js +94 -94
- package/dist/app.js +9 -9
- package/dist/bus.js +69 -69
- package/dist/chunks/{integration-rrzjzqrd.js → schema-0dqxrc4m.js} +4 -4
- package/dist/chunks/{integration-0paq2nw3.js → schema-0paq2nw3.js} +1 -1
- package/dist/chunks/{integration-7e6vht7x.js → schema-0ssx9rk5.js} +27 -27
- package/dist/chunks/{integration-7yr82b3h.js → schema-0v1f7a68.js} +6 -6
- package/dist/chunks/{integration-bf0ztrs3.js → schema-0v53mg2y.js} +4 -4
- package/dist/chunks/{integration-cs3k7vbw.js → schema-13019pck.js} +8 -8
- package/dist/chunks/{integration-kyr9dgrt.js → schema-138ez4pn.js} +22 -22
- package/dist/chunks/{integration-haf8ym7w.js → schema-153eqg7a.js} +18 -18
- package/dist/chunks/{integration-pp173efe.js → schema-154cngd0.js} +9 -9
- package/dist/chunks/{integration-e8n5dwh7.js → schema-184xzt1m.js} +25 -25
- package/dist/chunks/{integration-2ggkd5y6.js → schema-1c7fnsvx.js} +8 -8
- package/dist/chunks/{integration-1dazxqgg.js → schema-1dazxqgg.js} +2 -2
- package/dist/chunks/{integration-n6ywjbkr.js → schema-1dc4swx6.js} +13 -13
- package/dist/chunks/{integration-z96crwnb.js → schema-1ddwhj9c.js} +3 -3
- package/dist/chunks/{integration-1bzea8hf.js → schema-1dfj24yg.js} +8 -8
- package/dist/chunks/{integration-427a15qw.js → schema-1dngr6ye.js} +30 -30
- package/dist/chunks/{integration-v5dkyp31.js → schema-1g7epwpd.js} +7 -7
- package/dist/chunks/{integration-qm74d4cp.js → schema-1jhyh66k.js} +11 -11
- package/dist/chunks/{integration-8j3sn0xa.js → schema-1k7rwa7s.js} +13 -13
- package/dist/chunks/{integration-k054q3ng.js → schema-1krwkbj6.js} +11 -11
- package/dist/chunks/{integration-8sze2n9a.js → schema-1p07q0wb.js} +8 -8
- package/dist/chunks/{integration-fh23fcf5.js → schema-1rdgat8x.js} +11 -11
- package/dist/chunks/{integration-w9nr0r4k.js → schema-20y62ag7.js} +12 -12
- package/dist/chunks/{integration-21r38tys.js → schema-21r38tys.js} +1 -1
- package/dist/chunks/{integration-j1jfj66b.js → schema-25ejj73a.js} +5 -5
- package/dist/chunks/{integration-4enjeyq9.js → schema-26f6mtej.js} +29 -29
- package/dist/chunks/{integration-918vfc7v.js → schema-2a1fkd0m.js} +7 -7
- package/dist/chunks/{integration-2a5m3afh.js → schema-2a5m3afh.js} +1 -1
- package/dist/chunks/{integration-1813d5zh.js → schema-2c7hjkzv.js} +17 -17
- package/dist/chunks/{integration-cw40cn3a.js → schema-2dwzncdn.js} +20 -20
- package/dist/chunks/{integration-nxgbngy1.js → schema-2dx4sdv9.js} +8 -8
- package/dist/chunks/{integration-t71c8r43.js → schema-2fh33aa7.js} +8 -8
- package/dist/chunks/{integration-dez0353w.js → schema-2pkp6zs4.js} +12 -12
- package/dist/chunks/{integration-228m9d3z.js → schema-2q85j725.js} +1 -1
- package/dist/chunks/{integration-dcdcxcqv.js → schema-2sdfkd6k.js} +23 -23
- package/dist/chunks/{integration-e2zxmq4e.js → schema-2z03pgs9.js} +20 -20
- package/dist/chunks/{integration-mnwqmehd.js → schema-31ajhxg6.js} +17 -17
- package/dist/chunks/{integration-2zg6nskx.js → schema-39akfy7j.js} +26 -26
- package/dist/chunks/{integration-k3y1sryq.js → schema-3e14t8xn.js} +32 -32
- package/dist/chunks/{integration-4bvnjebc.js → schema-3erybzfn.js} +16 -16
- package/dist/chunks/{integration-3fc6dm20.js → schema-3fc6dm20.js} +1 -1
- package/dist/chunks/{integration-3hepkmqq.js → schema-3hepkmqq.js} +1 -1
- package/dist/chunks/{integration-x8v6s741.js → schema-3hyet2nj.js} +4 -4
- package/dist/chunks/{integration-9e9nvwfq.js → schema-3nttf8hh.js} +172 -172
- package/dist/chunks/{integration-mxxa41h5.js → schema-3qc7rb3n.js} +10 -10
- package/dist/chunks/{integration-3smtnn6g.js → schema-3smtnn6g.js} +1 -1
- package/dist/chunks/{integration-fb8ajyr9.js → schema-3sqwhcjh.js} +25 -25
- package/dist/chunks/{integration-3tvqynh2.js → schema-3tvqynh2.js} +1 -1
- package/dist/chunks/{integration-3zsf4n22.js → schema-3zsf4n22.js} +1 -1
- package/dist/chunks/{integration-0bfcnrg1.js → schema-427t97hr.js} +1 -1
- package/dist/chunks/{integration-1jhsme74.js → schema-44wx7dpn.js} +3 -3
- package/dist/chunks/{integration-n860bejb.js → schema-45m6e98y.js} +33 -33
- package/dist/chunks/{integration-2p623br6.js → schema-49exe669.js} +5 -5
- package/dist/chunks/{integration-rq3a28zf.js → schema-4v2n3s64.js} +38 -38
- package/dist/chunks/{integration-g190xswt.js → schema-50mzsvk4.js} +4 -4
- package/dist/chunks/{integration-jkcjd3kp.js → schema-529ckhyj.js} +5 -5
- package/dist/chunks/{integration-54ma36ye.js → schema-54ma36ye.js} +1 -1
- package/dist/chunks/{integration-ckecvw8r.js → schema-54tcyq79.js} +2 -2
- package/dist/chunks/{integration-xfkkasph.js → schema-57b9ws8p.js} +7 -7
- package/dist/chunks/{integration-3htr6yph.js → schema-57cn2fac.js} +39 -39
- package/dist/chunks/{integration-57ez7d0k.js → schema-57ez7d0k.js} +2 -2
- package/dist/chunks/{integration-5daktx2q.js → schema-5daktx2q.js} +1 -1
- package/dist/chunks/{integration-bay80n5w.js → schema-5et802t6.js} +5 -5
- package/dist/chunks/{integration-x3k4y0th.js → schema-5g297g80.js} +15 -15
- package/dist/chunks/{integration-h1vw7kx6.js → schema-5h8bm6z8.js} +16 -16
- package/dist/chunks/{integration-gzbkpp9m.js → schema-5qkxfyep.js} +4 -4
- package/dist/chunks/{integration-5t3nmthw.js → schema-5t3nmthw.js} +2 -2
- package/dist/chunks/{integration-mvg2k0gw.js → schema-5yspremq.js} +4 -4
- package/dist/chunks/{integration-re7wp77e.js → schema-62bk2p8n.js} +8 -8
- package/dist/chunks/{integration-669tq793.js → schema-669tq793.js} +1 -1
- package/dist/chunks/{integration-w47g9jnr.js → schema-68y7phbn.js} +5 -5
- package/dist/chunks/{integration-216h48p4.js → schema-690vtge2.js} +23 -23
- package/dist/chunks/{integration-5df5bq3a.js → schema-6am4naay.js} +40 -40
- package/dist/chunks/{integration-prqcyn0c.js → schema-6cbrenz4.js} +6 -6
- package/dist/chunks/{integration-s22tcjmk.js → schema-6e4wfwfn.js} +13 -13
- package/dist/chunks/{integration-43fvpk64.js → schema-6e5qcf77.js} +18 -18
- package/dist/chunks/{integration-1mwnra7p.js → schema-6k275t53.js} +22 -22
- package/dist/chunks/{integration-6msgmcgs.js → schema-6msgmcgs.js} +1 -1
- package/dist/chunks/{integration-0s64387h.js → schema-6rf66fs8.js} +7 -7
- package/dist/chunks/{integration-xn7zchcf.js → schema-6tnpemwz.js} +27 -27
- package/dist/chunks/{integration-w3senr2q.js → schema-6va2t7at.js} +8 -8
- package/dist/chunks/{integration-sj2zwkfm.js → schema-710btjv2.js} +11 -11
- package/dist/chunks/{integration-jdnyyw3y.js → schema-71pa356p.js} +13 -13
- package/dist/chunks/{integration-zqankrzg.js → schema-72bnveqp.js} +3 -3
- package/dist/chunks/{integration-7bmhse3q.js → schema-7bmhse3q.js} +1 -1
- package/dist/chunks/schema-7fj5dwt0.js +18 -0
- package/dist/chunks/{integration-y72zmemf.js → schema-7j2qha59.js} +8 -8
- package/dist/chunks/{integration-g5agzp2h.js → schema-7pr2hkwv.js} +5 -5
- package/dist/chunks/{integration-k7a6qazk.js → schema-7q99yrtt.js} +15 -15
- package/dist/chunks/{integration-mgznjxj1.js → schema-830gdwbz.js} +52 -52
- package/dist/chunks/{integration-84txncab.js → schema-84txncab.js} +1 -1
- package/dist/chunks/{integration-c634d86v.js → schema-8a6ajmms.js} +29 -29
- package/dist/chunks/{integration-7rcqk60f.js → schema-8add9gat.js} +9 -9
- package/dist/chunks/{integration-8d7r5vzw.js → schema-8d7r5vzw.js} +1 -1
- package/dist/chunks/{integration-jvf3yq6v.js → schema-8gxqpgph.js} +4 -4
- package/dist/chunks/{integration-f1csepjx.js → schema-8magacmx.js} +30 -30
- package/dist/chunks/{integration-450n1fmb.js → schema-8nq6hfsb.js} +3 -3
- package/dist/chunks/{integration-vycpbpnw.js → schema-8rbmd5w8.js} +21 -21
- package/dist/chunks/{integration-st0j0zn3.js → schema-8s4a65d9.js} +17 -17
- package/dist/chunks/{integration-5wyqsnb4.js → schema-8te0ay4y.js} +48 -48
- package/dist/chunks/{integration-hza05959.js → schema-8waq4e86.js} +21 -21
- package/dist/chunks/{integration-a3vq5bj2.js → schema-99a7xnff.js} +25 -25
- package/dist/chunks/{integration-fqm9ba4x.js → schema-9f3e1ggy.js} +7 -7
- package/dist/chunks/{integration-a2qe2ev9.js → schema-9jbvj98d.js} +8 -8
- package/dist/chunks/{integration-04cetggm.js → schema-9ms5jdqj.js} +306 -306
- package/dist/chunks/{integration-7yaqes3v.js → schema-aab0xmbg.js} +9 -9
- package/dist/chunks/{integration-aaet6srn.js → schema-aaet6srn.js} +2 -2
- package/dist/chunks/{integration-1ysctg58.js → schema-agpybfmq.js} +28 -28
- package/dist/chunks/{integration-yk1wne8d.js → schema-ap14k8bx.js} +17 -17
- package/dist/chunks/{integration-wdzcbyx9.js → schema-ar5g7bvd.js} +25 -25
- package/dist/chunks/{integration-1kwjt6d6.js → schema-asn7e76h.js} +15 -15
- package/dist/chunks/{integration-ddxretnd.js → schema-axd5pf8v.js} +11 -11
- package/dist/chunks/{integration-fbrwwgmz.js → schema-b5q3f6sv.js} +18 -18
- package/dist/chunks/{integration-b6gygkdw.js → schema-b6gygkdw.js} +2 -2
- package/dist/chunks/{integration-2gx9j6y9.js → schema-bavh6hmm.js} +10 -10
- package/dist/chunks/{integration-z07pqspn.js → schema-bjtzbw4r.js} +3 -3
- package/dist/chunks/{integration-wq4mmp7m.js → schema-bk7jaeqh.js} +4 -4
- package/dist/chunks/{integration-k0a3z2qz.js → schema-btbmdjwj.js} +4 -4
- package/dist/chunks/{integration-sjhe73hb.js → schema-c0f37q3v.js} +12 -12
- package/dist/chunks/schema-c3z7xvjd.js +26 -0
- package/dist/chunks/{integration-g8ab104g.js → schema-c4cjbe88.js} +9 -9
- package/dist/chunks/{integration-ppdtm0qk.js → schema-c4xegnd6.js} +1 -1
- package/dist/chunks/{integration-37x5te5e.js → schema-cavxacsx.js} +7 -7
- package/dist/chunks/{integration-emzsebxx.js → schema-ceetf7sw.js} +8 -8
- package/dist/chunks/{integration-p37cw4rj.js → schema-cmwkp3r5.js} +8 -8
- package/dist/chunks/{integration-qepzh1bh.js → schema-ct7vea8c.js} +14 -14
- package/dist/chunks/{integration-1g2pwm2v.js → schema-cxfg4d91.js} +4 -4
- package/dist/chunks/{integration-rwsvrpt4.js → schema-d2krc34p.js} +30 -30
- package/dist/chunks/{integration-9jsdpggr.js → schema-d737nyfv.js} +9 -9
- package/dist/chunks/{integration-6whetfrh.js → schema-dhnefc5h.js} +42 -42
- package/dist/chunks/{integration-srvnn0v4.js → schema-dj0njyye.js} +11 -11
- package/dist/chunks/{integration-djszqvmq.js → schema-djszqvmq.js} +2 -2
- package/dist/chunks/{integration-7pzv1w99.js → schema-dks45fbe.js} +12 -12
- package/dist/chunks/{integration-y6bex35g.js → schema-dnxkq42g.js} +4 -4
- package/dist/chunks/{integration-dpkg50ah.js → schema-dpkg50ah.js} +1 -1
- package/dist/chunks/{integration-5nnneb5s.js → schema-dy4czjxa.js} +50 -50
- package/dist/chunks/{integration-ecfe7b91.js → schema-ecfe7b91.js} +2 -2
- package/dist/chunks/{integration-wstveqzx.js → schema-ef206a6w.js} +12 -12
- package/dist/chunks/{integration-ef5x83kb.js → schema-ef5x83kb.js} +1 -1
- package/dist/chunks/{integration-ermxvwhp.js → schema-ermxvwhp.js} +1 -1
- package/dist/chunks/{integration-etq0c3wd.js → schema-etq0c3wd.js} +1 -1
- package/dist/chunks/{integration-evbgk2k8.js → schema-evbgk2k8.js} +2 -2
- package/dist/chunks/{integration-eckntx06.js → schema-f2py9ab6.js} +20 -20
- package/dist/chunks/{integration-psy3e1hh.js → schema-f6bw9b7d.js} +29 -29
- package/dist/chunks/{integration-mx84fb2r.js → schema-fc6re8k6.js} +8 -8
- package/dist/chunks/{integration-j3s2z371.js → schema-fhs97t90.js} +9 -9
- package/dist/chunks/{integration-ftnq43wp.js → schema-fj1w1qxk.js} +17 -17
- package/dist/chunks/{integration-xp8cepfb.js → schema-fmeq518m.js} +10 -10
- package/dist/chunks/{integration-7m3qqnex.js → schema-fwmc3p2a.js} +5 -5
- package/dist/chunks/{integration-prq7hedt.js → schema-fwwk8vbp.js} +9 -9
- package/dist/chunks/{integration-9xefwsd5.js → schema-fz4jx657.js} +11 -11
- package/dist/chunks/{integration-rbpwsggg.js → schema-g7zmhxpe.js} +32 -32
- package/dist/chunks/{integration-gd4qta3r.js → schema-gd4qta3r.js} +1 -1
- package/dist/chunks/{integration-ehzy0r6a.js → schema-gfa817nt.js} +36 -36
- package/dist/chunks/{integration-94ek1h2f.js → schema-gfvb90ym.js} +2 -2
- package/dist/chunks/{integration-1n23hs5q.js → schema-ghd8rszk.js} +10 -10
- package/dist/chunks/schema-ghvt0j6w.js +252 -0
- package/dist/chunks/{integration-gv6a8nnw.js → schema-gv6a8nnw.js} +2 -2
- package/dist/chunks/{integration-h6vf3j39.js → schema-h6vf3j39.js} +1 -1
- package/dist/chunks/{integration-51f5btjf.js → schema-hdab2k61.js} +6 -6
- package/dist/chunks/{integration-dmftx2z2.js → schema-he3390vg.js} +6 -6
- package/dist/chunks/{integration-sf48c4sg.js → schema-hetb5xxa.js} +22 -22
- package/dist/chunks/{integration-xf1aecpm.js → schema-hjcva307.js} +11 -11
- package/dist/chunks/{integration-j56e64zr.js → schema-j56e64zr.js} +1 -1
- package/dist/chunks/{integration-jca4demv.js → schema-j699j8bt.js} +2 -2
- package/dist/chunks/{integration-gdv3ksn6.js → schema-j7ym9e45.js} +3 -3
- package/dist/chunks/{integration-a6fmcvwn.js → schema-j89jbpxd.js} +23 -23
- package/dist/chunks/{integration-sv7yr8xe.js → schema-j9vwtd15.js} +16 -16
- package/dist/chunks/{integration-eyz64kwr.js → schema-jbvsa6eq.js} +6 -6
- package/dist/chunks/{integration-ngfnceq4.js → schema-jc4vhaqb.js} +9 -9
- package/dist/chunks/{integration-hn0x82vs.js → schema-jjywpw55.js} +15 -15
- package/dist/chunks/{integration-85kjp3d4.js → schema-jkvmawpd.js} +7 -7
- package/dist/chunks/{integration-e2ha372a.js → schema-jv0hjpkt.js} +3 -3
- package/dist/chunks/{integration-e56jykm2.js → schema-jwygws3r.js} +9 -9
- package/dist/chunks/{integration-0mph93pj.js → schema-jzdd0kff.js} +4 -4
- package/dist/chunks/{integration-rc5nmyhy.js → schema-k1hbv25z.js} +11 -11
- package/dist/chunks/{integration-f5gy8qwh.js → schema-k1qrnqst.js} +8 -8
- package/dist/chunks/{integration-k3c624dm.js → schema-k3c624dm.js} +3 -3
- package/dist/chunks/{integration-pxy4dh62.js → schema-k42ydg5t.js} +24 -24
- package/dist/chunks/{integration-j8afcsyc.js → schema-kb6gw2zp.js} +4 -4
- package/dist/chunks/{integration-qkcvm401.js → schema-kbev84wv.js} +10 -10
- package/dist/chunks/{integration-q4fmv0xv.js → schema-kzdcqyn1.js} +5 -5
- package/dist/chunks/{integration-x8h61vbx.js → schema-m1nj95vb.js} +44 -44
- package/dist/chunks/{integration-m3fdjcah.js → schema-m3fdjcah.js} +1 -1
- package/dist/chunks/{integration-5qxftstg.js → schema-m4f215s9.js} +12 -12
- package/dist/chunks/{integration-55jj4qxv.js → schema-m6frs5w8.js} +20 -20
- package/dist/chunks/{integration-nzg2pgvq.js → schema-m8t9ns79.js} +17 -17
- package/dist/chunks/{integration-m9w0rfyh.js → schema-m9w0rfyh.js} +1 -1
- package/dist/chunks/{integration-2f8k78sm.js → schema-mbsv9vj9.js} +10 -10
- package/dist/chunks/{integration-mfqp6xfm.js → schema-mfqp6xfm.js} +2 -2
- package/dist/chunks/{integration-mvfsc1pv.js → schema-mhkvc446.js} +3 -3
- package/dist/chunks/{integration-77d9dkzy.js → schema-mqvqsp83.js} +13 -13
- package/dist/chunks/{integration-9sp358pj.js → schema-mtmx6r04.js} +21 -21
- package/dist/chunks/{integration-qvqw0qph.js → schema-myez78q6.js} +28 -28
- package/dist/chunks/{integration-h70zt0wt.js → schema-n0aj83jp.js} +24 -24
- package/dist/chunks/{integration-prwkcbsp.js → schema-n0pywpq4.js} +6 -6
- package/dist/chunks/{integration-70byt6m4.js → schema-n1hg9gss.js} +9 -9
- package/dist/chunks/{integration-6f8737q3.js → schema-n2kah95r.js} +8 -8
- package/dist/chunks/{integration-pc24wejf.js → schema-n72fdvhp.js} +2 -2
- package/dist/chunks/{integration-ctkexn52.js → schema-njpngphx.js} +19 -19
- package/dist/chunks/{integration-23dc2d68.js → schema-nrqyh1vy.js} +18 -18
- package/dist/chunks/{integration-b1rb0xwe.js → schema-nzpgeyy9.js} +33 -33
- package/dist/chunks/{integration-mvxy8yk1.js → schema-p0vqbhj1.js} +22 -22
- package/dist/chunks/{integration-1q0e68gg.js → schema-p1cpmwyf.js} +19 -19
- package/dist/chunks/{integration-n56w81az.js → schema-p5kx0wbj.js} +16 -16
- package/dist/chunks/{integration-tqz9py0c.js → schema-p642a9hn.js} +21 -21
- package/dist/chunks/{integration-yn0skrfd.js → schema-p6fh795y.js} +43 -43
- package/dist/chunks/{integration-3h57rhwa.js → schema-p9zde1ds.js} +4 -4
- package/dist/chunks/{integration-trfm30pq.js → schema-pat95rpb.js} +12 -12
- package/dist/chunks/{integration-55bzypr0.js → schema-pf3z77yb.js} +11 -11
- package/dist/chunks/{integration-hx450sbz.js → schema-pjt7axjg.js} +18 -18
- package/dist/chunks/{integration-pjvnvgmy.js → schema-pjvnvgmy.js} +1 -1
- package/dist/chunks/{integration-q3t37ft6.js → schema-pk2244jm.js} +3 -3
- package/dist/chunks/{integration-pknna89w.js → schema-pknna89w.js} +1 -1
- package/dist/chunks/{integration-j9a2q0fz.js → schema-pqce1zvc.js} +10 -10
- package/dist/chunks/{integration-wd3x2cqz.js → schema-psazpmmj.js} +2 -2
- package/dist/chunks/{integration-vavgc505.js → schema-pzhynvvn.js} +26 -26
- package/dist/chunks/{integration-qgn6gcr1.js → schema-qgn6gcr1.js} +1 -1
- package/dist/chunks/{integration-0r7yqxbf.js → schema-qjnxxf51.js} +5 -5
- package/dist/chunks/{integration-qsdy395h.js → schema-qsdy395h.js} +1 -1
- package/dist/chunks/{integration-arkmsdt9.js → schema-qw8akyjk.js} +13 -13
- package/dist/chunks/{integration-p0b4ytnr.js → schema-r33ff4dw.js} +4 -4
- package/dist/chunks/{integration-y0s8f48q.js → schema-r628jyme.js} +2 -2
- package/dist/chunks/{integration-kmsf2gmc.js → schema-r8pz5scw.js} +11 -11
- package/dist/chunks/{integration-67kxvcq5.js → schema-rayvshcv.js} +83 -83
- package/dist/chunks/{integration-007kv54v.js → schema-rd34n9kj.js} +30 -30
- package/dist/chunks/{integration-wvjmf19v.js → schema-rd5nw8th.js} +11 -11
- package/dist/chunks/{integration-rdw6cm16.js → schema-rdw6cm16.js} +1 -1
- package/dist/chunks/{integration-29yhzn30.js → schema-reyfe09k.js} +26 -26
- package/dist/chunks/{integration-m8n1jv7h.js → schema-rh3808zc.js} +15 -15
- package/dist/chunks/{integration-eaj1djv9.js → schema-rhjbct0v.js} +8 -8
- package/dist/chunks/{integration-4x26exyn.js → schema-rkw03b1m.js} +26 -26
- package/dist/chunks/{integration-kfgccrws.js → schema-rqm599xb.js} +11 -11
- package/dist/chunks/{integration-9pcszhcd.js → schema-rxe9kw1p.js} +71 -71
- package/dist/chunks/{integration-vnn4gkfz.js → schema-ryxzba5a.js} +83 -83
- package/dist/chunks/{integration-j26sntzs.js → schema-rz37p9h3.js} +12 -12
- package/dist/chunks/{integration-yt0fqk68.js → schema-s8zy8myc.js} +5 -5
- package/dist/chunks/{integration-m84jjq37.js → schema-satgepa2.js} +45 -45
- package/dist/chunks/{integration-8vag3pxv.js → schema-scthj3mq.js} +36 -36
- package/dist/chunks/{integration-s30fyz93.js → schema-syf57q56.js} +4 -4
- package/dist/chunks/{integration-dpy1708c.js → schema-t86dzknw.js} +5 -5
- package/dist/chunks/{integration-tazgh4e4.js → schema-tazgh4e4.js} +1 -1
- package/dist/chunks/{integration-tcezcvh9.js → schema-tcezcvh9.js} +1 -1
- package/dist/chunks/{integration-tdstcens.js → schema-tdstcens.js} +1 -1
- package/dist/chunks/{integration-apjcg4d6.js → schema-tk3wk1e5.js} +11 -11
- package/dist/chunks/{integration-v2g7d70b.js → schema-tpw8qqng.js} +9 -9
- package/dist/chunks/{integration-tp0s123v.js → schema-tqae5094.js} +3 -3
- package/dist/chunks/{integration-jrjzd75d.js → schema-trbrt766.js} +5 -5
- package/dist/chunks/{integration-5xp6zek4.js → schema-tt5x9kn1.js} +9 -9
- package/dist/chunks/{integration-tvtrv512.js → schema-tvtrv512.js} +1 -1
- package/dist/chunks/{integration-ew48pmvr.js → schema-v1661eqb.js} +30 -30
- package/dist/chunks/{integration-n5jbg1jr.js → schema-v26931bg.js} +34 -34
- package/dist/chunks/{integration-f4ntpb4a.js → schema-v7m34wzh.js} +14 -14
- package/dist/chunks/{integration-br4ct1cv.js → schema-v7pzj4a7.js} +13 -13
- package/dist/chunks/{integration-z83vrf6c.js → schema-vdt39ctd.js} +20 -20
- package/dist/chunks/{integration-veqvce7d.js → schema-veqvce7d.js} +1 -1
- package/dist/chunks/{integration-skb9kzak.js → schema-vqfr7fmp.js} +21 -21
- package/dist/chunks/{integration-52t303b9.js → schema-vqhejtjq.js} +41 -41
- package/dist/chunks/{integration-vzcthcp8.js → schema-vzcthcp8.js} +1 -1
- package/dist/chunks/{integration-vzs5sf6e.js → schema-vzs5sf6e.js} +1 -1
- package/dist/chunks/{integration-w3wsvvr9.js → schema-w3wsvvr9.js} +1 -1
- package/dist/chunks/{integration-8wa5wmwv.js → schema-w4d3zdxr.js} +5 -5
- package/dist/chunks/{integration-wd87259q.js → schema-wd87259q.js} +1 -1
- package/dist/chunks/{integration-hxmak5w6.js → schema-wv04wdpg.js} +8 -8
- package/dist/chunks/{integration-090naprk.js → schema-x1443ggv.js} +9 -9
- package/dist/chunks/{integration-x1ezjp6w.js → schema-x1ezjp6w.js} +1 -1
- package/dist/chunks/{integration-wyvmt7jr.js → schema-xk4x4c8s.js} +16 -16
- package/dist/chunks/{integration-xkntkrq7.js → schema-xkntkrq7.js} +2 -2
- package/dist/chunks/{integration-7my3jqe6.js → schema-xm7brr7w.js} +8 -8
- package/dist/chunks/{integration-276aa1tg.js → schema-y1dkk1pz.js} +3 -3
- package/dist/chunks/{integration-y1fvbwt7.js → schema-y1fvbwt7.js} +1 -1
- package/dist/chunks/{integration-818pfwc9.js → schema-y3q03scc.js} +8 -8
- package/dist/chunks/{integration-htq109gq.js → schema-y66yym3e.js} +33 -33
- package/dist/chunks/{integration-1acjjqhc.js → schema-yp2x3t23.js} +4 -4
- package/dist/chunks/{integration-yrhqyw5v.js → schema-yrhqyw5v.js} +1 -1
- package/dist/chunks/{integration-mm0znw5z.js → schema-yrna4ww2.js} +9 -9
- package/dist/chunks/{integration-yrznvahk.js → schema-yrznvahk.js} +2 -2
- package/dist/chunks/{integration-ex6pt5yr.js → schema-yzyvjjcs.js} +4 -4
- package/dist/chunks/{integration-z0bkrqjs.js → schema-z0bkrqjs.js} +1 -1
- package/dist/chunks/{integration-brka9z6d.js → schema-z4vpgnje.js} +3 -3
- package/dist/chunks/{integration-z63w68vq.js → schema-z63w68vq.js} +2 -2
- package/dist/chunks/{integration-zeh9ct20.js → schema-zeh9ct20.js} +2 -2
- package/dist/chunks/{integration-pcgeyt73.js → schema-zm01gqxz.js} +26 -26
- package/dist/chunks/{integration-zr2ceqn5.js → schema-zr2ceqn5.js} +1 -1
- package/dist/chunks/{integration-zxq2ej10.js → schema-zxq2ej10.js} +1 -1
- package/dist/codemode/catalog.js +1 -1
- package/dist/codemode/instructions.js +9 -9
- package/dist/codemode/tool.js +3 -3
- package/dist/codemode/web.js +1 -1
- package/dist/command.js +85 -85
- package/dist/config/discovery.js +82 -82
- package/dist/config/markdown.js +1 -1
- package/dist/config/normalize.js +106 -106
- package/dist/config/plugin/agent.js +123 -123
- package/dist/config/plugin/command.js +213 -213
- package/dist/config/plugin/compaction.js +161 -161
- package/dist/config/plugin/compatibility.js +139 -139
- 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 +88 -88
- package/dist/config/plugin/location-watcher.js +123 -123
- package/dist/config/plugin/mcp.js +130 -130
- 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 +142 -142
- 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 +85 -85
- package/dist/database/database.js +66 -66
- package/dist/database/drizzle/effect-sqlite/driver.js +12 -12
- package/dist/database/drizzle/effect-sqlite/index.js +12 -12
- package/dist/database/drizzle/effect-sqlite/session.js +11 -11
- package/dist/database/drizzle/index.js +13 -13
- package/dist/database/drizzle/internal/drizzle-utils.js +1 -1
- package/dist/database/drizzle/sqlite-core/effect/count.js +1 -1
- package/dist/database/drizzle/sqlite-core/effect/db.js +9 -9
- package/dist/database/drizzle/sqlite-core/effect/delete.js +2 -2
- package/dist/database/drizzle/sqlite-core/effect/index.js +10 -10
- package/dist/database/drizzle/sqlite-core/effect/insert.js +2 -2
- package/dist/database/drizzle/sqlite-core/effect/query.js +1 -1
- package/dist/database/drizzle/sqlite-core/effect/raw.js +1 -1
- package/dist/database/drizzle/sqlite-core/effect/select.js +2 -2
- package/dist/database/drizzle/sqlite-core/effect/session.js +10 -10
- package/dist/database/drizzle/sqlite-core/effect/update.js +2 -2
- package/dist/database/drizzle.js +14 -14
- package/dist/database/migration/20260127222353_familiar_lady_ursula.js +1 -1
- package/dist/database/migration/20260211171708_add_project_commands.js +1 -1
- package/dist/database/migration/20260213144116_wakeful_the_professor.js +1 -1
- package/dist/database/migration/20260225215848_workspace.js +1 -1
- package/dist/database/migration/20260227213759_add_session_workspace_id.js +1 -1
- package/dist/database/migration/20260228203230_blue_harpoon.js +1 -1
- package/dist/database/migration/20260303231226_add_workspace_fields.js +1 -1
- package/dist/database/migration/20260309230000_move_org_to_state.js +1 -1
- package/dist/database/migration/20260312043431_session_message_cursor.js +1 -1
- package/dist/database/migration/20260323234822_events.js +1 -1
- package/dist/database/migration/20260410174513_workspace-name.js +1 -1
- package/dist/database/migration/20260413175956_chief_energizer.js +1 -1
- package/dist/database/migration/20260423070820_add_icon_url_override.js +1 -1
- package/dist/database/migration/20260427172553_slow_nightmare.js +1 -1
- package/dist/database/migration/20260428004200_add_session_path.js +1 -1
- package/dist/database/migration/20260501142318_next_venus.js +1 -1
- package/dist/database/migration/20260504145000_add_sync_owner.js +1 -1
- package/dist/database/migration/20260507164347_add_workspace_time.js +1 -1
- package/dist/database/migration/20260510033149_session_usage.js +1 -1
- package/dist/database/migration/20260511000411_data_migration_state.js +1 -1
- package/dist/database/migration/20260511173437_session-metadata.js +1 -1
- package/dist/database/migration/20260601010001_normalize_storage_paths.js +1 -1
- package/dist/database/migration/20260601202201_amazing_prowler.js +1 -1
- package/dist/database/migration/20260602002951_lowly_union_jack.js +1 -1
- package/dist/database/migration/20260602182828_add_project_directories.js +1 -1
- package/dist/database/migration/20260603001617_session_message_projection_indexes.js +1 -1
- package/dist/database/migration/20260603040000_session_message_projection_order.js +1 -1
- package/dist/database/migration/20260603141458_session_input_inbox.js +1 -1
- package/dist/database/migration/20260603160727_jittery_ezekiel_stane.js +1 -1
- package/dist/database/migration/20260604172448_event_sourced_session_input.js +1 -1
- package/dist/database/migration/20260605003541_add_session_context_snapshot.js +1 -1
- package/dist/database/migration/20260605042240_add_context_epoch_agent.js +1 -1
- package/dist/database/migration/20260611035744_credential.js +1 -1
- package/dist/database/migration/20260611192811_lush_chimera.js +1 -1
- package/dist/database/migration/20260612174303_project_dir_strategy.js +1 -1
- package/dist/database/migration/20260622142730_simplify_session_context_epoch.js +1 -1
- package/dist/database/migration/20260622170816_reset_v2_session_state.js +1 -1
- package/dist/database/migration/20260622202450_simplify_session_input.js +1 -1
- package/dist/database/migration/20260804233008_loose_psylocke.js +1 -1
- package/dist/database/migration/20260805200742_import_legacy_credentials.js +1 -1
- package/dist/database/migration/20260808023530_workspace_domain.js +1 -1
- package/dist/database/migration/20260811161259_execution_claim_attempts.js +1 -1
- package/dist/database/migration/20260812181746_session_inbox.js +1 -1
- package/dist/database/migration/20260812213948_worktree.js +1 -1
- package/dist/database/migration/20260819222447_session_viewed_state.js +1 -1
- package/dist/database/migration/20260823191254_nullable_workspace_binding.js +1 -1
- package/dist/database/migration/20260910120000_clear_v1_session_permission.js +1 -1
- package/dist/database/migration/20260923013825_project_time_active.js +1 -1
- package/dist/database/migration.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 +76 -76
- package/dist/database/v1-migration.js +1 -1
- package/dist/effect/app-node-builder.js +371 -371
- 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 +93 -93
- package/dist/environment/exec-defaults.js +2 -2
- package/dist/environment/files.js +1 -1
- package/dist/environment/index.js +95 -95
- package/dist/environment/local.js +2 -2
- package/dist/environment/memory.js +2 -2
- package/dist/environment/unavailable.js +1 -1
- package/dist/event/sql.js +1 -1
- package/dist/event-logger.js +70 -70
- package/dist/file-access.js +104 -104
- package/dist/file-mutation.js +94 -94
- package/dist/file-retention.js +1 -1
- package/dist/filesystem/fff.bun.js +2 -2
- package/dist/filesystem/fff.js +1 -1
- package/dist/filesystem/fff.node.js +2 -2
- package/dist/filesystem/fff.workerd.js +2 -2
- package/dist/filesystem/ignore.js +1 -1
- package/dist/filesystem/location-watcher-policy.js +2 -2
- package/dist/filesystem/location-watcher.js +222 -222
- 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 +11 -11
- package/dist/filesystem.js +100 -100
- package/dist/form.js +84 -84
- package/dist/formatter/builtins.js +4 -4
- package/dist/formatter.js +87 -87
- 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 +362 -362
- package/dist/instruction-discovery.js +85 -85
- package/dist/instructions/builtins.js +87 -87
- package/dist/instructions/index.js +5 -5
- package/dist/integration/connection.js +3 -3
- package/dist/integration.js +87 -87
- package/dist/job.js +79 -79
- package/dist/kv/sql.js +2 -2
- package/dist/kv.js +73 -73
- package/dist/location-activity.js +132 -132
- package/dist/location-lifecycle.js +107 -107
- package/dist/location-service-map.js +86 -86
- package/dist/location-services.js +359 -359
- package/dist/location.js +81 -81
- package/dist/managed-policy.js +5 -5
- package/dist/mcp/client.js +91 -91
- package/dist/mcp/index.js +107 -107
- package/dist/mcp/instructions.js +129 -129
- 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 +98 -98
- package/dist/model.js +100 -100
- package/dist/models-dev.js +107 -107
- package/dist/oauth/page.js +1 -1
- package/dist/permission/saved.js +80 -80
- package/dist/permission/sql.js +5 -5
- package/dist/permission.js +113 -113
- package/dist/persistent-pty/binary.bun.js +1 -1
- package/dist/persistent-pty/daemon.js +1 -1
- package/dist/persistent-pty/index.js +84 -84
- package/dist/persistent-pty/pty-binding.js +1 -1
- package/dist/persistent-pty.js +75 -75
- package/dist/plugin/agent.js +102 -102
- package/dist/plugin/command.js +100 -100
- package/dist/plugin/hooks.js +5 -5
- package/dist/plugin/host.js +219 -219
- package/dist/plugin/identity.js +1 -1
- package/dist/plugin/instance.js +5 -5
- package/dist/plugin/internal.js +334 -334
- 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 +120 -120
- 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 +95 -95
- 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 +78 -78
- 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 +95 -95
- 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 +79 -79
- 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 +120 -120
- package/dist/plugin/provider/xai.js +91 -91
- package/dist/plugin/provider/zenmux.js +1 -1
- package/dist/plugin/provider.js +162 -162
- package/dist/plugin/sdk.js +74 -74
- package/dist/plugin/service.js +3 -3
- package/dist/plugin/skill.js +139 -139
- package/dist/plugin/source-directory.js +1 -1
- package/dist/plugin/supervisor.js +353 -353
- 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 +93 -93
- package/dist/plugin/warming.js +121 -121
- package/dist/plugin/websearch/exa.js +7 -7
- package/dist/plugin/websearch/firecrawl.js +6 -6
- package/dist/plugin/websearch/index.js +9 -9
- package/dist/plugin/websearch/mcp.js +2 -2
- package/dist/plugin/websearch/parallel.js +8 -8
- package/dist/plugin/websearch/tavily.js +6 -6
- package/dist/plugin/websearch/tinyfish.js +8 -8
- package/dist/plugin.js +230 -230
- package/dist/project/schema.js +2 -2
- package/dist/project/sql.js +4 -4
- package/dist/project.js +80 -80
- package/dist/provider.js +101 -101
- package/dist/pty/protocol.js +1 -1
- package/dist/pty/ticket.js +1 -1
- package/dist/pty.js +97 -97
- package/dist/reference/instructions.js +87 -87
- 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 +95 -95
- package/dist/rpc.js +86 -86
- package/dist/schema.js +1 -1
- package/dist/session/affinity.js +1 -1
- package/dist/session/command.js +74 -74
- package/dist/session/compaction.js +135 -135
- package/dist/session/context.js +153 -153
- package/dist/session/diff.js +88 -88
- package/dist/session/environment.js +5 -5
- package/dist/session/error.js +5 -5
- package/dist/session/event.js +1 -1
- package/dist/session/execution/restart.js +222 -222
- package/dist/session/execution.js +126 -126
- package/dist/session/generate.js +152 -152
- package/dist/session/history.js +13 -13
- 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 +93 -93
- package/dist/session/message-updater.js +2 -2
- package/dist/session/message.js +1 -1
- package/dist/session/model-request.js +118 -118
- package/dist/session/model-transport.js +7 -7
- 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 +232 -232
- 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 +4 -4
- 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 +170 -170
- 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 +73 -73
- package/dist/session/store.js +85 -85
- package/dist/session/subagent-completion.js +1 -1
- package/dist/session/subagent-job.js +209 -209
- package/dist/session/system-prompt.js +5 -5
- package/dist/session/title.js +157 -157
- package/dist/session/to-session-error.js +111 -111
- package/dist/session/transfer.js +215 -215
- package/dist/session/usage.js +1 -1
- package/dist/session.js +217 -217
- 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 +110 -110
- 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 +128 -128
- 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 +117 -117
- package/dist/tool/plugin/opencode.js +3 -3
- package/dist/tool/plugin/patch.js +122 -122
- package/dist/tool/plugin/question.js +103 -103
- package/dist/tool/plugin/read.js +119 -119
- package/dist/tool/plugin/shell.js +216 -216
- package/dist/tool/plugin/skill.js +111 -111
- package/dist/tool/plugin/subagent.js +218 -218
- package/dist/tool/plugin/webfetch.js +108 -108
- package/dist/tool/plugin/websearch.js +112 -112
- package/dist/tool/plugin/write.js +122 -122
- 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 +12 -12
- 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 +2 -2
- package/dist/v1/config/command.js +5 -5
- 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 +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/variant.js +93 -93
- package/dist/vcs/patch.js +1 -1
- package/dist/vcs.js +89 -89
- package/dist/websearch.js +82 -82
- package/dist/wellknown/plugin.js +76 -76
- package/dist/wellknown.js +79 -79
- package/dist/workspace/driver.js +7 -7
- 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 +8 -8
- package/dist/worktree/sql.js +5 -5
- package/dist/worktree/strategies.js +89 -89
- package/dist/worktree.js +94 -94
- package/package.json +8 -8
- package/dist/chunks/integration-4v7qdvcn.js +0 -18
- package/dist/chunks/integration-krtr9e37.js +0 -26
- package/dist/chunks/integration-p6rn815x.js +0 -252
- /package/dist/chunks/{integration-0qkdqm5v.js → schema-0qkdqm5v.js} +0 -0
- /package/dist/chunks/{integration-0zkw76rk.js → schema-0zkw76rk.js} +0 -0
- /package/dist/chunks/{integration-17cy0kzp.js → schema-17cy0kzp.js} +0 -0
- /package/dist/chunks/{integration-1cnp2v09.js → schema-1cnp2v09.js} +0 -0
- /package/dist/chunks/{integration-1kg9ymc8.js → schema-1kg9ymc8.js} +0 -0
- /package/dist/chunks/{integration-24dcb14g.js → schema-24dcb14g.js} +0 -0
- /package/dist/chunks/{integration-2710q6r3.js → schema-2710q6r3.js} +0 -0
- /package/dist/chunks/{integration-2axfhc9x.js → schema-2axfhc9x.js} +0 -0
- /package/dist/chunks/{integration-2c3vjs8z.js → schema-2c3vjs8z.js} +0 -0
- /package/dist/chunks/{integration-34c7v6d4.js → schema-34c7v6d4.js} +0 -0
- /package/dist/chunks/{integration-359p4xyc.js → schema-359p4xyc.js} +0 -0
- /package/dist/chunks/{integration-3asan66x.js → schema-3asan66x.js} +0 -0
- /package/dist/chunks/{integration-3v8g72cx.js → schema-3v8g72cx.js} +0 -0
- /package/dist/chunks/{integration-3w5fmr99.js → schema-3w5fmr99.js} +0 -0
- /package/dist/chunks/{integration-3wcehsnq.js → schema-3wcehsnq.js} +0 -0
- /package/dist/chunks/{integration-43n2bw4t.js → schema-43n2bw4t.js} +0 -0
- /package/dist/chunks/{integration-4knz6hnm.js → schema-4knz6hnm.js} +0 -0
- /package/dist/chunks/{integration-4vcrnpx2.js → schema-4vcrnpx2.js} +0 -0
- /package/dist/chunks/{integration-4y7fprxs.js → schema-4y7fprxs.js} +0 -0
- /package/dist/chunks/{integration-53557ph1.js → schema-53557ph1.js} +0 -0
- /package/dist/chunks/{integration-550bvhaj.js → schema-550bvhaj.js} +0 -0
- /package/dist/chunks/{integration-5qd3pb7m.js → schema-5qd3pb7m.js} +0 -0
- /package/dist/chunks/{integration-6prwharc.js → schema-6prwharc.js} +0 -0
- /package/dist/chunks/{integration-7akdwqpd.js → schema-7akdwqpd.js} +0 -0
- /package/dist/chunks/{integration-7m9af43g.js → schema-7m9af43g.js} +0 -0
- /package/dist/chunks/{integration-822emrt2.js → schema-822emrt2.js} +0 -0
- /package/dist/chunks/{integration-88xbtdfr.js → schema-88xbtdfr.js} +0 -0
- /package/dist/chunks/{integration-8n3pysct.js → schema-8n3pysct.js} +0 -0
- /package/dist/chunks/{integration-8wj87zfr.js → schema-8wj87zfr.js} +0 -0
- /package/dist/chunks/{integration-922hggd3.js → schema-922hggd3.js} +0 -0
- /package/dist/chunks/{integration-9a4afbnw.js → schema-9a4afbnw.js} +0 -0
- /package/dist/chunks/{integration-9rqn6x4v.js → schema-9rqn6x4v.js} +0 -0
- /package/dist/chunks/{integration-a6k6eb26.js → schema-a6k6eb26.js} +0 -0
- /package/dist/chunks/{integration-af5trqkr.js → schema-af5trqkr.js} +0 -0
- /package/dist/chunks/{integration-afrmfg78.js → schema-afrmfg78.js} +0 -0
- /package/dist/chunks/{integration-aqzs7mqg.js → schema-aqzs7mqg.js} +0 -0
- /package/dist/chunks/{integration-atq7p7m5.js → schema-atq7p7m5.js} +0 -0
- /package/dist/chunks/{integration-bkyjaxrp.js → schema-bkyjaxrp.js} +0 -0
- /package/dist/chunks/{integration-bmr6ed5q.js → schema-bmr6ed5q.js} +0 -0
- /package/dist/chunks/{integration-cf4snx6d.js → schema-cf4snx6d.js} +0 -0
- /package/dist/chunks/{integration-cvy3z8tj.js → schema-cvy3z8tj.js} +0 -0
- /package/dist/chunks/{integration-d9fn303g.js → schema-d9fn303g.js} +0 -0
- /package/dist/chunks/{integration-d9jj8t3e.js → schema-d9jj8t3e.js} +0 -0
- /package/dist/chunks/{integration-dajrwvna.js → schema-dajrwvna.js} +0 -0
- /package/dist/chunks/{integration-dap0rakb.js → schema-dap0rakb.js} +0 -0
- /package/dist/chunks/{integration-df08tz66.js → schema-df08tz66.js} +0 -0
- /package/dist/chunks/{integration-dy18nga0.js → schema-dy18nga0.js} +0 -0
- /package/dist/chunks/{integration-e5kj55wp.js → schema-e5kj55wp.js} +0 -0
- /package/dist/chunks/{integration-e73j6tqm.js → schema-e73j6tqm.js} +0 -0
- /package/dist/chunks/{integration-ec1grn59.js → schema-ec1grn59.js} +0 -0
- /package/dist/chunks/{integration-eh3zwz77.js → schema-eh3zwz77.js} +0 -0
- /package/dist/chunks/{integration-emrn6kk6.js → schema-emrn6kk6.js} +0 -0
- /package/dist/chunks/{integration-f0mxakyp.js → schema-f0mxakyp.js} +0 -0
- /package/dist/chunks/{integration-f6n9ztr4.js → schema-f6n9ztr4.js} +0 -0
- /package/dist/chunks/{integration-faypxj3z.js → schema-faypxj3z.js} +0 -0
- /package/dist/chunks/{integration-fd410y7t.js → schema-fd410y7t.js} +0 -0
- /package/dist/chunks/{integration-fxgpk5d8.js → schema-fxgpk5d8.js} +0 -0
- /package/dist/chunks/{integration-g4wezp1m.js → schema-g4wezp1m.js} +0 -0
- /package/dist/chunks/{integration-g86h250q.js → schema-g86h250q.js} +0 -0
- /package/dist/chunks/{integration-gebd4c9n.js → schema-gebd4c9n.js} +0 -0
- /package/dist/chunks/{integration-gftt206x.js → schema-gftt206x.js} +0 -0
- /package/dist/chunks/{integration-hjbc5kem.js → schema-hjbc5kem.js} +0 -0
- /package/dist/chunks/{integration-hk9envan.js → schema-hk9envan.js} +0 -0
- /package/dist/chunks/{integration-j2ntwpah.js → schema-j2ntwpah.js} +0 -0
- /package/dist/chunks/{integration-j5zkgpj8.js → schema-j5zkgpj8.js} +0 -0
- /package/dist/chunks/{integration-jjkms2e6.js → schema-jjkms2e6.js} +0 -0
- /package/dist/chunks/{integration-jr7sbwjy.js → schema-jr7sbwjy.js} +0 -0
- /package/dist/chunks/{integration-jwfs4k6c.js → schema-jwfs4k6c.js} +0 -0
- /package/dist/chunks/{integration-jzg6c2d5.js → schema-jzg6c2d5.js} +0 -0
- /package/dist/chunks/{integration-mp448xyj.js → schema-mp448xyj.js} +0 -0
- /package/dist/chunks/{integration-msx8hqn2.js → schema-msx8hqn2.js} +0 -0
- /package/dist/chunks/{integration-n05xt0ee.js → schema-n05xt0ee.js} +0 -0
- /package/dist/chunks/{integration-n3j8tn72.js → schema-n3j8tn72.js} +0 -0
- /package/dist/chunks/{integration-njntx4h6.js → schema-njntx4h6.js} +0 -0
- /package/dist/chunks/{integration-q3sfg36h.js → schema-q3sfg36h.js} +0 -0
- /package/dist/chunks/{integration-q74kybfr.js → schema-q74kybfr.js} +0 -0
- /package/dist/chunks/{integration-qaymkmh1.js → schema-qaymkmh1.js} +0 -0
- /package/dist/chunks/{integration-qb87gjwd.js → schema-qb87gjwd.js} +0 -0
- /package/dist/chunks/{integration-qfa1cgps.js → schema-qfa1cgps.js} +0 -0
- /package/dist/chunks/{integration-qg3g05ea.js → schema-qg3g05ea.js} +0 -0
- /package/dist/chunks/{integration-qrg20bc0.js → schema-qrg20bc0.js} +0 -0
- /package/dist/chunks/{integration-rcb2kzg1.js → schema-rcb2kzg1.js} +0 -0
- /package/dist/chunks/{integration-sdp7kfr6.js → schema-sdp7kfr6.js} +0 -0
- /package/dist/chunks/{integration-sk3qaz4a.js → schema-sk3qaz4a.js} +0 -0
- /package/dist/chunks/{integration-ssg3fenm.js → schema-ssg3fenm.js} +0 -0
- /package/dist/chunks/{integration-w803qqfp.js → schema-w803qqfp.js} +0 -0
- /package/dist/chunks/{integration-wc3fc9cn.js → schema-wc3fc9cn.js} +0 -0
- /package/dist/chunks/{integration-wer8tq1h.js → schema-wer8tq1h.js} +0 -0
- /package/dist/chunks/{integration-wtztk69x.js → schema-wtztk69x.js} +0 -0
- /package/dist/chunks/{integration-x0ckcb58.js → schema-x0ckcb58.js} +0 -0
- /package/dist/chunks/{integration-x61499pn.js → schema-x61499pn.js} +0 -0
- /package/dist/chunks/{integration-y44na4kk.js → schema-y44na4kk.js} +0 -0
- /package/dist/chunks/{integration-y8cydn3q.js → schema-y8cydn3q.js} +0 -0
- /package/dist/chunks/{integration-y8f7s663.js → schema-y8f7s663.js} +0 -0
- /package/dist/chunks/{integration-ygaqb7jw.js → schema-ygaqb7jw.js} +0 -0
- /package/dist/chunks/{integration-ym463w8f.js → schema-ym463w8f.js} +0 -0
- /package/dist/chunks/{integration-z9919s4g.js → schema-z9919s4g.js} +0 -0
|
@@ -1,61 +1,61 @@
|
|
|
1
1
|
import {
|
|
2
2
|
Service84,
|
|
3
3
|
node88
|
|
4
|
-
} from "./
|
|
4
|
+
} from "./schema-jv0hjpkt.js";
|
|
5
5
|
import {
|
|
6
6
|
reserveSequence2,
|
|
7
7
|
Service83,
|
|
8
8
|
node87
|
|
9
|
-
} from "./
|
|
9
|
+
} from "./schema-3hyet2nj.js";
|
|
10
10
|
import {
|
|
11
11
|
SessionEvent2
|
|
12
|
-
} from "./
|
|
12
|
+
} from "./schema-ec1grn59.js";
|
|
13
13
|
import {
|
|
14
14
|
SessionMessage2
|
|
15
|
-
} from "./
|
|
15
|
+
} from "./schema-gftt206x.js";
|
|
16
16
|
import {
|
|
17
17
|
update2
|
|
18
|
-
} from "./
|
|
18
|
+
} from "./schema-xkntkrq7.js";
|
|
19
19
|
import {
|
|
20
20
|
AbsolutePath2,
|
|
21
21
|
RelativePath2
|
|
22
|
-
} from "./
|
|
22
|
+
} from "./schema-922hggd3.js";
|
|
23
23
|
import {
|
|
24
24
|
ProjectTable2
|
|
25
|
-
} from "./
|
|
25
|
+
} from "./schema-psazpmmj.js";
|
|
26
26
|
import {
|
|
27
27
|
SessionTable2,
|
|
28
28
|
SessionMessageTable2,
|
|
29
29
|
SessionInboxTable2
|
|
30
|
-
} from "./
|
|
30
|
+
} from "./schema-bjtzbw4r.js";
|
|
31
31
|
import {
|
|
32
32
|
projectAdmitted2,
|
|
33
33
|
projectDelivered2,
|
|
34
34
|
projectCancelled2,
|
|
35
35
|
projectDeliveryChanged2
|
|
36
|
-
} from "./
|
|
36
|
+
} from "./schema-m6frs5w8.js";
|
|
37
37
|
import {
|
|
38
38
|
apply2,
|
|
39
39
|
initialize3,
|
|
40
40
|
advanceEpoch2,
|
|
41
41
|
reset2
|
|
42
|
-
} from "./
|
|
42
|
+
} from "./schema-bk7jaeqh.js";
|
|
43
43
|
import {
|
|
44
44
|
initialize2
|
|
45
|
-
} from "./
|
|
45
|
+
} from "./schema-rh3808zc.js";
|
|
46
46
|
import {
|
|
47
47
|
Slug2
|
|
48
|
-
} from "./
|
|
48
|
+
} from "./schema-gebd4c9n.js";
|
|
49
49
|
import {
|
|
50
50
|
__export
|
|
51
|
-
} from "./
|
|
51
|
+
} from "./schema-9rqn6x4v.js";
|
|
52
52
|
|
|
53
53
|
// src/session/projector.ts
|
|
54
54
|
var exports_projector = {};
|
|
55
55
|
__export(exports_projector, {
|
|
56
56
|
SessionAlreadyProjected: () => SessionAlreadyProjected2,
|
|
57
57
|
SessionProjector: () => exports_projector,
|
|
58
|
-
node: () =>
|
|
58
|
+
node: () => node35
|
|
59
59
|
});
|
|
60
60
|
import { and, asc, desc, eq, gt, gte, inArray, isNull, lt, lte, or, sql } from "drizzle-orm";
|
|
61
61
|
import { DateTime, Effect, Layer, Schema, Stream } from "effect";
|
|
@@ -459,6 +459,6 @@ var layer = Layer.effectDiscard(Effect.gen(function* () {
|
|
|
459
459
|
return publishSessionUsage(db, bus, event.data.sessionID);
|
|
460
460
|
}), Effect.forkScoped({ startImmediately: true }));
|
|
461
461
|
}));
|
|
462
|
-
var
|
|
462
|
+
var node35 = makeGlobalNode({ name: "session-projector", layer, deps: [node87, node88] });
|
|
463
463
|
|
|
464
|
-
export { SessionAlreadyProjected2,
|
|
464
|
+
export { SessionAlreadyProjected2, node35, exports_projector };
|
|
@@ -1,44 +1,44 @@
|
|
|
1
1
|
import {
|
|
2
2
|
Service83,
|
|
3
3
|
node87
|
|
4
|
-
} from "./
|
|
4
|
+
} from "./schema-3hyet2nj.js";
|
|
5
5
|
import {
|
|
6
6
|
create3
|
|
7
|
-
} from "./
|
|
7
|
+
} from "./schema-rdw6cm16.js";
|
|
8
8
|
import {
|
|
9
9
|
__export
|
|
10
|
-
} from "./
|
|
10
|
+
} from "./schema-9rqn6x4v.js";
|
|
11
11
|
|
|
12
12
|
// src/agent.ts
|
|
13
13
|
var exports_agent4 = {};
|
|
14
14
|
__export(exports_agent4, {
|
|
15
15
|
Agent: () => exports_agent4,
|
|
16
16
|
Color: () => Color2,
|
|
17
|
-
Event: () =>
|
|
18
|
-
ID: () =>
|
|
19
|
-
Info: () =>
|
|
17
|
+
Event: () => Event14,
|
|
18
|
+
ID: () => ID9,
|
|
19
|
+
Info: () => Info23,
|
|
20
20
|
Name: () => Name3,
|
|
21
|
-
Service: () =>
|
|
21
|
+
Service: () => Service65,
|
|
22
22
|
defaultID: () => defaultID2,
|
|
23
|
-
node: () =>
|
|
23
|
+
node: () => node68
|
|
24
24
|
});
|
|
25
25
|
import path from "path";
|
|
26
26
|
import { makeLocationNode } from "@opencode/util/effect/app-node";
|
|
27
27
|
import { Array, Context, Effect, Layer } from "effect";
|
|
28
28
|
import { Agent } from "@opencode/schema/agent";
|
|
29
29
|
import { Global } from "@opencode/util/global";
|
|
30
|
-
import { Event as
|
|
30
|
+
import { Event as Event14 } from "@opencode/schema/agent";
|
|
31
31
|
var SHELL_OUTPUT_GLOB = (data) => path.join(data, "shell", "*", "*");
|
|
32
32
|
var TOOL_OUTPUT_GLOB = (data) => path.join(data, "tool-output", "*");
|
|
33
|
-
var
|
|
33
|
+
var ID9 = Agent.ID;
|
|
34
34
|
var Name3 = Agent.Name;
|
|
35
|
-
var defaultID2 =
|
|
35
|
+
var defaultID2 = ID9.make("build");
|
|
36
36
|
var Color2 = Agent.Color;
|
|
37
|
-
var
|
|
37
|
+
var Info23 = Agent.Info;
|
|
38
38
|
|
|
39
|
-
class
|
|
39
|
+
class Service65 extends Context.Service()("@opencode/Agent") {
|
|
40
40
|
}
|
|
41
|
-
var layer = Layer.effect(
|
|
41
|
+
var layer = Layer.effect(Service65, Effect.gen(function* () {
|
|
42
42
|
const bus = yield* Service83;
|
|
43
43
|
const global = yield* Global.Service;
|
|
44
44
|
const permissions = [
|
|
@@ -57,7 +57,7 @@ var layer = Layer.effect(Service78, Effect.gen(function* () {
|
|
|
57
57
|
editor.default = id;
|
|
58
58
|
},
|
|
59
59
|
update: (id, fn) => {
|
|
60
|
-
const defaults =
|
|
60
|
+
const defaults = Info23.default(id);
|
|
61
61
|
const current = editor.agents.get(id) ?? {
|
|
62
62
|
...defaults,
|
|
63
63
|
permissions: [...defaults.permissions, ...permissions]
|
|
@@ -79,7 +79,7 @@ var layer = Layer.effect(Service78, Effect.gen(function* () {
|
|
|
79
79
|
const configured = data.default ? selectable(data.agents.get(data.default)) : undefined;
|
|
80
80
|
if (configured)
|
|
81
81
|
return configured;
|
|
82
|
-
const build = selectable(data.agents.get(
|
|
82
|
+
const build = selectable(data.agents.get(ID9.make("build")));
|
|
83
83
|
if (build)
|
|
84
84
|
return build;
|
|
85
85
|
for (const agent of data.agents.values()) {
|
|
@@ -88,7 +88,7 @@ var layer = Layer.effect(Service78, Effect.gen(function* () {
|
|
|
88
88
|
return fallback;
|
|
89
89
|
}
|
|
90
90
|
};
|
|
91
|
-
return
|
|
91
|
+
return Service65.of({
|
|
92
92
|
transform: state.transform,
|
|
93
93
|
reload: state.reload,
|
|
94
94
|
get: Effect.fn("Agent.get")(function* (id) {
|
|
@@ -96,12 +96,12 @@ var layer = Layer.effect(Service78, Effect.gen(function* () {
|
|
|
96
96
|
}),
|
|
97
97
|
resolve: Effect.fnUntraced(function* (id) {
|
|
98
98
|
if (id !== undefined)
|
|
99
|
-
return state.get().agents.get(
|
|
99
|
+
return state.get().agents.get(ID9.make(id));
|
|
100
100
|
return selectedDefault();
|
|
101
101
|
}),
|
|
102
102
|
select: Effect.fn("Agent.select")(function* (id) {
|
|
103
103
|
if (id !== undefined) {
|
|
104
|
-
const selected =
|
|
104
|
+
const selected = ID9.make(id);
|
|
105
105
|
return { id: selected, info: state.get().agents.get(selected) };
|
|
106
106
|
}
|
|
107
107
|
const info = selectedDefault();
|
|
@@ -116,6 +116,6 @@ var layer = Layer.effect(Service78, Effect.gen(function* () {
|
|
|
116
116
|
})
|
|
117
117
|
});
|
|
118
118
|
}));
|
|
119
|
-
var
|
|
119
|
+
var node68 = makeLocationNode({ service: Service65, layer, deps: [node87, Global.node] });
|
|
120
120
|
|
|
121
|
-
export {
|
|
121
|
+
export { ID9, Name3, defaultID2, Color2, Info23, Service65, node68, exports_agent4, Event14 };
|
|
@@ -1,62 +1,62 @@
|
|
|
1
1
|
import {
|
|
2
2
|
NonNegativeInt2
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./schema-922hggd3.js";
|
|
4
4
|
import {
|
|
5
5
|
latest2,
|
|
6
|
-
|
|
7
|
-
} from "./
|
|
6
|
+
Service46
|
|
7
|
+
} from "./schema-gfa817nt.js";
|
|
8
8
|
import {
|
|
9
9
|
typeFollowing2
|
|
10
|
-
} from "./
|
|
10
|
+
} from "./schema-2a5m3afh.js";
|
|
11
11
|
import {
|
|
12
|
-
|
|
13
|
-
} from "./
|
|
12
|
+
Service68
|
|
13
|
+
} from "./schema-8waq4e86.js";
|
|
14
14
|
import {
|
|
15
|
-
|
|
16
|
-
} from "./
|
|
15
|
+
Service55
|
|
16
|
+
} from "./schema-fj1w1qxk.js";
|
|
17
17
|
import {
|
|
18
|
-
|
|
19
|
-
} from "./
|
|
18
|
+
Service60
|
|
19
|
+
} from "./schema-830gdwbz.js";
|
|
20
20
|
import {
|
|
21
|
-
|
|
21
|
+
Service14,
|
|
22
22
|
resolvePath2
|
|
23
|
-
} from "./
|
|
23
|
+
} from "./schema-7q99yrtt.js";
|
|
24
24
|
import {
|
|
25
25
|
output2,
|
|
26
26
|
notice2,
|
|
27
27
|
metadata2,
|
|
28
28
|
notification2
|
|
29
|
-
} from "./
|
|
29
|
+
} from "./schema-vzs5sf6e.js";
|
|
30
30
|
import {
|
|
31
|
-
|
|
31
|
+
Service70,
|
|
32
32
|
name15
|
|
33
|
-
} from "./
|
|
33
|
+
} from "./schema-p1cpmwyf.js";
|
|
34
34
|
import {
|
|
35
|
-
|
|
36
|
-
|
|
37
|
-
} from "./
|
|
35
|
+
NotFoundError6,
|
|
36
|
+
Service44
|
|
37
|
+
} from "./schema-dhnefc5h.js";
|
|
38
38
|
import {
|
|
39
|
-
|
|
40
|
-
} from "./
|
|
39
|
+
Service30
|
|
40
|
+
} from "./schema-rayvshcv.js";
|
|
41
41
|
import {
|
|
42
42
|
scan2
|
|
43
|
-
} from "./
|
|
43
|
+
} from "./schema-jzdd0kff.js";
|
|
44
44
|
import {
|
|
45
45
|
__export
|
|
46
|
-
} from "./
|
|
46
|
+
} from "./schema-9rqn6x4v.js";
|
|
47
47
|
|
|
48
48
|
// src/tool/plugin/shell.ts
|
|
49
49
|
var exports_shell2 = {};
|
|
50
50
|
__export(exports_shell2, {
|
|
51
51
|
DEFAULT_TIMEOUT_MS: () => DEFAULT_TIMEOUT_MS2,
|
|
52
|
-
Input: () =>
|
|
53
|
-
Plugin: () =>
|
|
52
|
+
Input: () => Input9,
|
|
53
|
+
Plugin: () => Plugin44,
|
|
54
54
|
ShellTool: () => exports_shell2,
|
|
55
|
-
name: () =>
|
|
55
|
+
name: () => name9
|
|
56
56
|
});
|
|
57
57
|
import { ToolFailure } from "@opencode/ai";
|
|
58
58
|
import { Deferred, Effect, Schema, Scope } from "effect";
|
|
59
|
-
var
|
|
59
|
+
var name9 = "shell";
|
|
60
60
|
var DEFAULT_TIMEOUT_MS2 = 2 * 60 * 1000;
|
|
61
61
|
var BACKGROUND_INSTRUCTION = "You will be notified automatically when the command finishes. The notification will include the command's output. Unless the user explicitly asks otherwise, DO NOT poll for completion, even if you need the final result to continue. Repeatedly sleeping and reading or searching the output file is polling, not useful work. You may read the current output if it lets you do useful work now, but do not repeatedly check it while waiting for the command to finish. Keep working on anything that does not depend on the result. If you have nothing else to do, end your response; you will be resumed automatically when the command finishes.";
|
|
62
62
|
var OS = process.platform === "darwin" ? "macOS" : process.platform === "win32" ? "Windows" : process.platform === "linux" ? "Linux" : process.platform;
|
|
@@ -70,7 +70,7 @@ var description = (shell) => [
|
|
|
70
70
|
"Commands accept an optional timeout, background commands have no timeout by default.",
|
|
71
71
|
"Background commands return immediately, and you will be notified when they complete."
|
|
72
72
|
].join(" ");
|
|
73
|
-
var
|
|
73
|
+
var Input9 = Schema.Struct({
|
|
74
74
|
command: Schema.String.annotate({ description: "Shell command string to execute" }),
|
|
75
75
|
workdir: Schema.optionalKey(Schema.String).annotate({
|
|
76
76
|
description: "Working directory to execute the command in. Defaults to the current working directory. When possible, avoid changing directories in the command and set the working directory here instead."
|
|
@@ -116,19 +116,19 @@ Output is streaming to: ${file}`,
|
|
|
116
116
|
truncated: false,
|
|
117
117
|
status: "running"
|
|
118
118
|
});
|
|
119
|
-
var
|
|
119
|
+
var Plugin44 = {
|
|
120
120
|
id: "opencode.tool.shell",
|
|
121
121
|
effect: Effect.fn("ShellTool.Plugin")(function* (ctx) {
|
|
122
|
-
const sessions = yield*
|
|
123
|
-
const jobs = yield*
|
|
122
|
+
const sessions = yield* Service30;
|
|
123
|
+
const jobs = yield* Service55;
|
|
124
124
|
const scope = yield* Scope.Scope;
|
|
125
|
-
const environment = yield*
|
|
126
|
-
const access = yield*
|
|
127
|
-
const shell = yield*
|
|
128
|
-
const shellSelect = yield*
|
|
125
|
+
const environment = yield* Service68;
|
|
126
|
+
const access = yield* Service14;
|
|
127
|
+
const shell = yield* Service44;
|
|
128
|
+
const shellSelect = yield* Service70;
|
|
129
129
|
const compatibleShell = shellSelect.resolve({ priority: "compat" });
|
|
130
|
-
const permission = yield*
|
|
131
|
-
const config = yield*
|
|
130
|
+
const permission = yield* Service60;
|
|
131
|
+
const config = yield* Service46;
|
|
132
132
|
const prepare = Effect.fn("ShellTool.prepare")(function* (invocation, context) {
|
|
133
133
|
const source = {
|
|
134
134
|
type: "tool",
|
|
@@ -147,7 +147,7 @@ var Plugin49 = {
|
|
|
147
147
|
yield* access.authorizeExternal([target, ...directories], context);
|
|
148
148
|
if (parsed.commands.length > 0)
|
|
149
149
|
yield* permission.assert({
|
|
150
|
-
action:
|
|
150
|
+
action: name9,
|
|
151
151
|
resources: parsed.commands.map((command) => command.resource),
|
|
152
152
|
save: parsed.commands.map((command) => command.save),
|
|
153
153
|
sessionID: context.sessionID,
|
|
@@ -184,10 +184,10 @@ var Plugin49 = {
|
|
|
184
184
|
yield* jobs.completeBackground(info.notificationID);
|
|
185
185
|
}, Effect.forkIn(scope, { startImmediately: true }));
|
|
186
186
|
yield* ctx.tool.transform((editor) => editor.add({
|
|
187
|
-
name:
|
|
187
|
+
name: name9,
|
|
188
188
|
options: { codemode: false },
|
|
189
189
|
description: description(),
|
|
190
|
-
input:
|
|
190
|
+
input: Input9,
|
|
191
191
|
output: Output,
|
|
192
192
|
execute: (input, context) => Effect.gen(function* () {
|
|
193
193
|
const timeout = input.background === true ? input.timeout ?? 0 : input.timeout ?? DEFAULT_TIMEOUT_MS2;
|
|
@@ -210,7 +210,7 @@ var Plugin49 = {
|
|
|
210
210
|
const run = Effect.gen(function* () {
|
|
211
211
|
const result = yield* shell.result(info);
|
|
212
212
|
if (!result.capture)
|
|
213
|
-
return yield* new
|
|
213
|
+
return yield* new NotFoundError6({ id: info.id });
|
|
214
214
|
const output = output2(result);
|
|
215
215
|
return {
|
|
216
216
|
...output,
|
|
@@ -224,7 +224,7 @@ Command exceeded timeout of ${finalTimeout} ms. Retry with a larger timeout if t
|
|
|
224
224
|
`)), Effect.onInterrupt(() => shell.remove(info.id).pipe(Effect.ignore)));
|
|
225
225
|
const job = yield* jobs.start({
|
|
226
226
|
id: info.id,
|
|
227
|
-
type:
|
|
227
|
+
type: name9,
|
|
228
228
|
title: info.command,
|
|
229
229
|
metadata: { sessionID: context.sessionID, shellID: info.id },
|
|
230
230
|
recovery: {
|
|
@@ -254,7 +254,7 @@ Command exceeded timeout of ${finalTimeout} ms. Retry with a larger timeout if t
|
|
|
254
254
|
}).pipe(Effect.map(toolResult), Effect.mapError((error) => new ToolFailure({ message: `Unable to execute command: ${input.command}`, error })))
|
|
255
255
|
})).pipe(Effect.orDie);
|
|
256
256
|
const hook = (event) => Effect.gen(function* () {
|
|
257
|
-
const tool = event.tools[
|
|
257
|
+
const tool = event.tools[name9];
|
|
258
258
|
if (!tool)
|
|
259
259
|
return;
|
|
260
260
|
tool.description = description(name15(yield* compatibleShell));
|
|
@@ -265,4 +265,4 @@ Command exceeded timeout of ${finalTimeout} ms. Retry with a larger timeout if t
|
|
|
265
265
|
})
|
|
266
266
|
};
|
|
267
267
|
|
|
268
|
-
export {
|
|
268
|
+
export { name9, DEFAULT_TIMEOUT_MS2, Input9, Plugin44, exports_shell2 };
|
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
import {
|
|
2
|
-
|
|
3
|
-
} from "./
|
|
2
|
+
Service68
|
|
3
|
+
} from "./schema-8waq4e86.js";
|
|
4
4
|
import {
|
|
5
5
|
__export
|
|
6
|
-
} from "./
|
|
6
|
+
} from "./schema-9rqn6x4v.js";
|
|
7
7
|
|
|
8
8
|
// src/mcp/stdio.ts
|
|
9
9
|
var exports_stdio = {};
|
|
@@ -19,7 +19,7 @@ var FORCE_KILL_AFTER = Duration.seconds(2);
|
|
|
19
19
|
var OUTGOING_CAPACITY = 64;
|
|
20
20
|
var MAX_FRAME_BYTES = 16 * 1024 * 1024;
|
|
21
21
|
var make2 = Effect.fnUntraced(function* (options) {
|
|
22
|
-
const environment = yield*
|
|
22
|
+
const environment = yield* Service68;
|
|
23
23
|
const scope = yield* Effect.scope;
|
|
24
24
|
const outgoing = yield* Queue.bounded(OUTGOING_CAPACITY);
|
|
25
25
|
const buffer = new ReadBuffer;
|
|
@@ -1,16 +1,16 @@
|
|
|
1
1
|
import {
|
|
2
|
-
|
|
2
|
+
ID13,
|
|
3
3
|
mergeOverlay2
|
|
4
|
-
} from "./
|
|
4
|
+
} from "./schema-8a6ajmms.js";
|
|
5
5
|
import {
|
|
6
|
-
|
|
6
|
+
ID12,
|
|
7
7
|
VariantID2,
|
|
8
|
-
|
|
8
|
+
Info26,
|
|
9
9
|
compatibility2
|
|
10
|
-
} from "./
|
|
10
|
+
} from "./schema-6tnpemwz.js";
|
|
11
11
|
import {
|
|
12
12
|
__export
|
|
13
|
-
} from "./
|
|
13
|
+
} from "./schema-9rqn6x4v.js";
|
|
14
14
|
|
|
15
15
|
// src/modal/models.ts
|
|
16
16
|
var exports_models2 = {};
|
|
@@ -22,7 +22,7 @@ __export(exports_models2, {
|
|
|
22
22
|
});
|
|
23
23
|
import { Money } from "@opencode/schema/money";
|
|
24
24
|
import { Option, Schema } from "effect";
|
|
25
|
-
var providerID =
|
|
25
|
+
var providerID = ID13.make("modal");
|
|
26
26
|
var ReasoningOption = Schema.Struct({
|
|
27
27
|
type: Schema.Literal("effort"),
|
|
28
28
|
values: Schema.Array(Schema.NullOr(Schema.String))
|
|
@@ -75,8 +75,8 @@ function derive3(baseURL, remote, existing) {
|
|
|
75
75
|
const templates = new Map(existing.map((model) => [model.id, model]));
|
|
76
76
|
const result = new Map;
|
|
77
77
|
for (const item of remote) {
|
|
78
|
-
const template = templates.get(
|
|
79
|
-
const id =
|
|
78
|
+
const template = templates.get(ID12.make(item.base_model_id ?? item.hugging_face_id ?? item.id));
|
|
79
|
+
const id = ID12.make(item.id);
|
|
80
80
|
result.set(id, build(id, item, baseURL, template));
|
|
81
81
|
}
|
|
82
82
|
return result;
|
|
@@ -94,10 +94,10 @@ function limit(value, fallback) {
|
|
|
94
94
|
function build(id, remote, baseURL, previous) {
|
|
95
95
|
const cost = previous?.cost[0];
|
|
96
96
|
const input = previous?.limit.input;
|
|
97
|
-
return
|
|
98
|
-
...
|
|
97
|
+
return Info26.make({
|
|
98
|
+
...Info26.default(providerID, id),
|
|
99
99
|
id,
|
|
100
|
-
modelID:
|
|
100
|
+
modelID: ID12.make(remote.id),
|
|
101
101
|
providerID,
|
|
102
102
|
name: remote.name ?? previous?.name ?? remote.id,
|
|
103
103
|
family: previous?.family,
|
|
@@ -1,24 +1,24 @@
|
|
|
1
1
|
import {
|
|
2
2
|
__export
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./schema-9rqn6x4v.js";
|
|
4
4
|
|
|
5
5
|
// src/app.ts
|
|
6
6
|
var exports_app = {};
|
|
7
7
|
__export(exports_app, {
|
|
8
8
|
App: () => exports_app,
|
|
9
9
|
Metadata: () => Metadata2,
|
|
10
|
-
configured: () =>
|
|
11
|
-
layer: () =>
|
|
12
|
-
make: () =>
|
|
13
|
-
node: () =>
|
|
10
|
+
configured: () => configured8,
|
|
11
|
+
layer: () => layer21,
|
|
12
|
+
make: () => make18,
|
|
13
|
+
node: () => node57,
|
|
14
14
|
useragent: () => useragent2
|
|
15
15
|
});
|
|
16
16
|
import { Context, Layer } from "effect";
|
|
17
17
|
import { makeGlobalNode } from "@opencode/util/effect/app-node";
|
|
18
18
|
var Metadata2 = Context.Reference("@opencode/App", {
|
|
19
|
-
defaultValue: () =>
|
|
19
|
+
defaultValue: () => make18()
|
|
20
20
|
});
|
|
21
|
-
function
|
|
21
|
+
function make18(input = {}) {
|
|
22
22
|
return {
|
|
23
23
|
name: input.name ?? "opencode",
|
|
24
24
|
version: input.version ?? "unknown",
|
|
@@ -28,8 +28,8 @@ function make20(input = {}) {
|
|
|
28
28
|
function useragent2(app) {
|
|
29
29
|
return `opencode/${app.channel}/${app.version}/${app.name}`;
|
|
30
30
|
}
|
|
31
|
-
var
|
|
32
|
-
var
|
|
33
|
-
var
|
|
31
|
+
var layer21 = (input) => Layer.succeed(Metadata2, make18(input));
|
|
32
|
+
var configured8 = (input) => makeGlobalNode({ service: Metadata2, layer: layer21(input), deps: [] });
|
|
33
|
+
var node57 = configured8();
|
|
34
34
|
|
|
35
|
-
export { Metadata2,
|
|
35
|
+
export { Metadata2, make18, useragent2, layer21, configured8, node57, exports_app };
|
|
@@ -1,28 +1,28 @@
|
|
|
1
1
|
import {
|
|
2
2
|
lazy2
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./schema-88xbtdfr.js";
|
|
4
4
|
import {
|
|
5
5
|
load4
|
|
6
|
-
} from "./
|
|
6
|
+
} from "./schema-5qd3pb7m.js";
|
|
7
7
|
import {
|
|
8
8
|
__export
|
|
9
|
-
} from "./
|
|
9
|
+
} from "./schema-9rqn6x4v.js";
|
|
10
10
|
|
|
11
11
|
// src/filesystem/watcher.ts
|
|
12
12
|
var exports_watcher = {};
|
|
13
13
|
__export(exports_watcher, {
|
|
14
|
-
Event: () =>
|
|
14
|
+
Event: () => Event9,
|
|
15
15
|
Native: () => Native3,
|
|
16
16
|
Options: () => Options8,
|
|
17
|
-
Service: () =>
|
|
17
|
+
Service: () => Service47,
|
|
18
18
|
Test: () => Test3,
|
|
19
19
|
Watcher: () => exports_watcher,
|
|
20
20
|
configured: () => configured7,
|
|
21
21
|
hasNativeBinding: () => hasNativeBinding2,
|
|
22
|
-
layer: () =>
|
|
22
|
+
layer: () => layer18,
|
|
23
23
|
nativeLayer: () => nativeLayer2,
|
|
24
24
|
nativeNode: () => nativeNode2,
|
|
25
|
-
node: () =>
|
|
25
|
+
node: () => node50,
|
|
26
26
|
testLayer: () => testLayer3
|
|
27
27
|
});
|
|
28
28
|
import { createWrapper } from "@parcel/watcher/wrapper.js";
|
|
@@ -33,7 +33,7 @@ import { Cause, Context, Effect, Layer, PubSub, RcMap, Schema, Stream } from "ef
|
|
|
33
33
|
import { watch } from "node:fs";
|
|
34
34
|
import path from "path";
|
|
35
35
|
var SUBSCRIBE_TIMEOUT_MS = 1e4;
|
|
36
|
-
var
|
|
36
|
+
var Event9 = { Updated: FileSystem.Event.Changed };
|
|
37
37
|
var watcher = lazy2(() => {
|
|
38
38
|
try {
|
|
39
39
|
return createWrapper(load4());
|
|
@@ -57,14 +57,14 @@ var Options8 = Schema.Struct({
|
|
|
57
57
|
enabled: Schema.optional(Schema.Boolean)
|
|
58
58
|
});
|
|
59
59
|
|
|
60
|
-
class
|
|
60
|
+
class Service47 extends Context.Service()("@opencode/Watcher") {
|
|
61
61
|
}
|
|
62
62
|
|
|
63
63
|
class Test3 extends Context.Service()("@opencode/Watcher/Test") {
|
|
64
64
|
}
|
|
65
|
-
var
|
|
65
|
+
var layer18 = (options) => Layer.effect(Service47, Effect.gen(function* () {
|
|
66
66
|
if (options?.enabled === false) {
|
|
67
|
-
return
|
|
67
|
+
return Service47.of({ subscribe: () => Effect.succeed(Stream.empty) });
|
|
68
68
|
}
|
|
69
69
|
const native = yield* Native3;
|
|
70
70
|
const watchers = yield* RcMap.make({
|
|
@@ -105,7 +105,7 @@ var layer22 = (options) => Layer.effect(Service54, Effect.gen(function* () {
|
|
|
105
105
|
return Stream.fromSubscription(subscription);
|
|
106
106
|
}));
|
|
107
107
|
});
|
|
108
|
-
return
|
|
108
|
+
return Service47.of({ subscribe });
|
|
109
109
|
}));
|
|
110
110
|
var testLayer3 = Layer.effectContext(Effect.gen(function* () {
|
|
111
111
|
const subscriptions = [];
|
|
@@ -129,9 +129,9 @@ var testLayer3 = Layer.effectContext(Effect.gen(function* () {
|
|
|
129
129
|
};
|
|
130
130
|
})
|
|
131
131
|
});
|
|
132
|
-
const context = yield* Layer.build(
|
|
132
|
+
const context = yield* Layer.build(layer18().pipe(Layer.provide(Layer.succeed(Native3, native))));
|
|
133
133
|
const test = Test3.of({
|
|
134
|
-
subscribe: Context.get(context,
|
|
134
|
+
subscribe: Context.get(context, Service47).subscribe,
|
|
135
135
|
emit: (update) => Effect.sync(() => {
|
|
136
136
|
const target = path.resolve(update.path);
|
|
137
137
|
active.forEach((matches, publish) => {
|
|
@@ -141,7 +141,7 @@ var testLayer3 = Layer.effectContext(Effect.gen(function* () {
|
|
|
141
141
|
}),
|
|
142
142
|
subscriptions: () => Effect.sync(() => [...subscriptions])
|
|
143
143
|
});
|
|
144
|
-
return Context.empty().pipe(Context.add(
|
|
144
|
+
return Context.empty().pipe(Context.add(Service47, test), Context.add(Test3, test));
|
|
145
145
|
}));
|
|
146
146
|
var nativeLayer2 = Layer.succeed(Native3, Native3.of({
|
|
147
147
|
subscribe: (input) => {
|
|
@@ -165,9 +165,9 @@ var nativeLayer2 = Layer.succeed(Native3, Native3.of({
|
|
|
165
165
|
}));
|
|
166
166
|
var nativeNode2 = makeGlobalNode({ service: Native3, layer: nativeLayer2, deps: [] });
|
|
167
167
|
function configured7(options) {
|
|
168
|
-
return makeGlobalNode({ service:
|
|
168
|
+
return makeGlobalNode({ service: Service47, layer: layer18(options), deps: [nativeNode2] });
|
|
169
169
|
}
|
|
170
|
-
var
|
|
170
|
+
var node50 = configured7();
|
|
171
171
|
function subscribeDirectory(native, backend, directory, ignore, publish) {
|
|
172
172
|
if (!native || !backend) {
|
|
173
173
|
return Effect.logError("watcher backend not supported", { directory, platform: process.platform }).pipe(Effect.as(undefined));
|
|
@@ -187,4 +187,4 @@ function subscribeDirectory(native, backend, directory, ignore, publish) {
|
|
|
187
187
|
}).pipe(Effect.as(undefined))));
|
|
188
188
|
}
|
|
189
189
|
|
|
190
|
-
export {
|
|
190
|
+
export { Event9, hasNativeBinding2, Native3, Options8, Service47, Test3, layer18, testLayer3, nativeLayer2, nativeNode2, configured7, node50, exports_watcher };
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
// src/session/schema.ts
|
|
2
2
|
import * as SessionSchema2 from "@opencode/schema/session";
|
|
3
3
|
import { Session } from "@opencode/schema/session";
|
|
4
|
-
var
|
|
5
|
-
var
|
|
4
|
+
var ID8 = Session.ID;
|
|
5
|
+
var Info22 = Session.Info;
|
|
6
6
|
|
|
7
|
-
export {
|
|
7
|
+
export { ID8, Info22, SessionSchema2 };
|