@opencode/core 0.0.0-dev-473 → 0.0.0-dev-477
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 +88 -88
- package/dist/aisdk-native.js +102 -102
- package/dist/aisdk.js +108 -108
- package/dist/app.js +5 -5
- package/dist/artifact.js +234 -234
- package/dist/bus.js +80 -80
- package/dist/chunks/{command-034tev2y.js → aisdk-native-034tev2y.js} +2 -2
- package/dist/chunks/{command-dpja77t2.js → aisdk-native-07ghw10c.js} +36 -36
- package/dist/chunks/{command-sehddgew.js → aisdk-native-0bg8ehn8.js} +41 -41
- package/dist/chunks/{command-gabzcjmw.js → aisdk-native-0c0ns6j1.js} +9 -9
- package/dist/chunks/{command-sqjzf8x2.js → aisdk-native-0j7gp832.js} +4 -4
- package/dist/chunks/{command-1zsfkcq1.js → aisdk-native-0kaf04sf.js} +104 -24
- package/dist/chunks/{command-0ma9gw4f.js → aisdk-native-0ma9gw4f.js} +2 -2
- package/dist/chunks/{command-spedbffk.js → aisdk-native-0na1v6yn.js} +26 -26
- package/dist/chunks/{command-8a5z9jh8.js → aisdk-native-0p7fhf5b.js} +15 -15
- package/dist/chunks/{command-3nfj9yse.js → aisdk-native-0x3v5pps.js} +5 -5
- package/dist/chunks/{command-d6yhcqah.js → aisdk-native-0y1qtqzx.js} +11 -11
- package/dist/chunks/{command-8ggprnar.js → aisdk-native-0yavd23e.js} +16 -16
- package/dist/chunks/{command-a09npayz.js → aisdk-native-0zh0stcn.js} +23 -23
- package/dist/chunks/{command-hnms7819.js → aisdk-native-17r698rs.js} +11 -11
- package/dist/chunks/{command-1aqsckx4.js → aisdk-native-1aqsckx4.js} +1 -1
- package/dist/chunks/{command-wg61qkfh.js → aisdk-native-1e4nadk3.js} +14 -14
- package/dist/chunks/{command-1ep2p91f.js → aisdk-native-1ep2p91f.js} +2 -2
- package/dist/chunks/{command-0vvhnm77.js → aisdk-native-1gg3xp55.js} +12 -12
- package/dist/chunks/{command-mr9vys13.js → aisdk-native-1n48dtj8.js} +5 -5
- package/dist/chunks/{command-1x2knyw4.js → aisdk-native-1x2knyw4.js} +1 -1
- package/dist/chunks/{command-1yq9hg58.js → aisdk-native-1yq9hg58.js} +1 -1
- package/dist/chunks/{command-41znt795.js → aisdk-native-20sf0wp5.js} +16 -16
- package/dist/chunks/{command-6vsk825b.js → aisdk-native-2e4erxay.js} +4 -4
- package/dist/chunks/{command-hptrp6qc.js → aisdk-native-2gwa6j4g.js} +15 -15
- package/dist/chunks/{command-ctmqxg7x.js → aisdk-native-2jtfv2y7.js} +4 -4
- package/dist/chunks/{command-rcbjwvze.js → aisdk-native-2m2g9ynh.js} +4 -4
- package/dist/chunks/{command-2p60zmnr.js → aisdk-native-2p60zmnr.js} +2 -2
- package/dist/chunks/{command-rtmssjvh.js → aisdk-native-2qrea2be.js} +10 -10
- package/dist/chunks/{command-mtz7qgkc.js → aisdk-native-2zh8yh75.js} +7 -7
- package/dist/chunks/{command-wv0q3v5p.js → aisdk-native-30egmtc9.js} +13 -13
- package/dist/chunks/{command-n6dz78md.js → aisdk-native-326xhnfg.js} +4 -4
- package/dist/chunks/aisdk-native-365eavge.js +16 -0
- package/dist/chunks/{command-467fhfwc.js → aisdk-native-3a4qbbx4.js} +16 -16
- package/dist/chunks/{command-04whjz6n.js → aisdk-native-3adw4bt5.js} +9 -9
- package/dist/chunks/{command-sw1sdatb.js → aisdk-native-3b9z9gw4.js} +8 -8
- package/dist/chunks/{command-cahp6e42.js → aisdk-native-3f2fh6fh.js} +6 -6
- package/dist/chunks/{command-3hepkmqq.js → aisdk-native-3hepkmqq.js} +1 -1
- package/dist/chunks/{command-h9gwq6kt.js → aisdk-native-3j2zkyvt.js} +75 -75
- package/dist/chunks/{command-3nnrz6f6.js → aisdk-native-3nnrz6f6.js} +1 -1
- package/dist/chunks/{command-e0y24dw1.js → aisdk-native-3p10wg44.js} +2 -2
- package/dist/chunks/{command-qh2f4k0x.js → aisdk-native-3ty01f2a.js} +20 -20
- package/dist/chunks/{command-v5e29gby.js → aisdk-native-3y7eprkn.js} +11 -11
- package/dist/chunks/{command-8x9ea4c9.js → aisdk-native-3zv9j8n5.js} +4 -4
- package/dist/chunks/{command-ynd8sjv4.js → aisdk-native-40c9kwxd.js} +7 -7
- package/dist/chunks/{command-40y6dtc2.js → aisdk-native-40y6dtc2.js} +1 -1
- package/dist/chunks/{command-44pmzq9c.js → aisdk-native-44pmzq9c.js} +2 -2
- package/dist/chunks/{command-cmy2s0zw.js → aisdk-native-4c0yvayj.js} +21 -21
- package/dist/chunks/{command-8cg7mtm3.js → aisdk-native-4d2dtj2f.js} +4 -4
- package/dist/chunks/{command-w730jqkp.js → aisdk-native-4de84x12.js} +17 -17
- package/dist/chunks/{command-4dx1dgte.js → aisdk-native-4dx1dgte.js} +1 -1
- package/dist/chunks/{command-4pyp9zr9.js → aisdk-native-4pyp9zr9.js} +1 -1
- package/dist/chunks/{command-crwdkx70.js → aisdk-native-4sr13vh3.js} +23 -23
- package/dist/chunks/{command-4v008n1t.js → aisdk-native-4v008n1t.js} +1 -1
- package/dist/chunks/{command-31avdb49.js → aisdk-native-4ygb74tw.js} +8 -8
- package/dist/chunks/{command-pna81q4q.js → aisdk-native-525nbxr8.js} +3 -3
- package/dist/chunks/{command-by0v9jkf.js → aisdk-native-56xa55a4.js} +3 -3
- package/dist/chunks/{command-91mja9mb.js → aisdk-native-5989hf6w.js} +3 -3
- package/dist/chunks/{command-480gje97.js → aisdk-native-5b9q82z5.js} +14 -14
- package/dist/chunks/{command-bk0kcnb3.js → aisdk-native-5bkwmb8a.js} +30 -30
- package/dist/chunks/{command-cpvnd12n.js → aisdk-native-5da2xxmr.js} +8 -8
- package/dist/chunks/{command-gzsjrwdp.js → aisdk-native-5jcn0nh0.js} +7 -7
- package/dist/chunks/{command-c9w007wn.js → aisdk-native-5knbs3ec.js} +12 -12
- package/dist/chunks/{command-1dkwr9xd.js → aisdk-native-5m4ktzb3.js} +32 -32
- package/dist/chunks/{command-5m9w47nd.js → aisdk-native-5m9w47nd.js} +1 -1
- package/dist/chunks/{command-b6vsg801.js → aisdk-native-5nnwax6m.js} +5 -5
- package/dist/chunks/{command-p4qdt5t6.js → aisdk-native-5pkt7sn3.js} +15 -15
- package/dist/chunks/{command-fpasp1bt.js → aisdk-native-5rjjt12m.js} +4 -4
- package/dist/chunks/{command-edm37t96.js → aisdk-native-5zpqhmp2.js} +6 -6
- package/dist/chunks/{command-9cat8ctb.js → aisdk-native-63ehxyxs.js} +135 -135
- package/dist/chunks/{command-nmvjxcsb.js → aisdk-native-64a6yh9c.js} +24 -24
- package/dist/chunks/{command-wczdw8fa.js → aisdk-native-67wxs10g.js} +35 -35
- package/dist/chunks/{command-26wfx3k0.js → aisdk-native-694dpcrp.js} +7 -7
- package/dist/chunks/{command-6fy01jvj.js → aisdk-native-6bx3h70m.js} +2 -2
- package/dist/chunks/{command-bbp6z759.js → aisdk-native-6q95jq0k.js} +22 -22
- package/dist/chunks/{command-h6kevxeh.js → aisdk-native-6wg5h90z.js} +39 -39
- package/dist/chunks/{command-pen16d07.js → aisdk-native-7215dbqr.js} +6 -6
- package/dist/chunks/{command-9bgjscja.js → aisdk-native-72f56jp5.js} +11 -11
- package/dist/chunks/{command-m7wy21p6.js → aisdk-native-73xvdnhv.js} +13 -13
- package/dist/chunks/{command-4jdt20jx.js → aisdk-native-769j79r2.js} +16 -16
- package/dist/chunks/{command-76cb1hcw.js → aisdk-native-76cb1hcw.js} +1 -1
- package/dist/chunks/{command-775hqbnd.js → aisdk-native-775hqbnd.js} +3 -3
- package/dist/chunks/{command-zjc1zpf3.js → aisdk-native-79fff19h.js} +8 -8
- package/dist/chunks/{command-pe49zvgn.js → aisdk-native-7bhc5kda.js} +73 -73
- package/dist/chunks/{command-7bmhse3q.js → aisdk-native-7bmhse3q.js} +1 -1
- package/dist/chunks/{command-grg0trsd.js → aisdk-native-7j3szbd7.js} +4 -4
- package/dist/chunks/{command-7kr66rt3.js → aisdk-native-7kr66rt3.js} +1 -1
- package/dist/chunks/{command-x4mcewfn.js → aisdk-native-7nqkf5r1.js} +4 -4
- package/dist/chunks/{command-0mtc9g0s.js → aisdk-native-7rseffyz.js} +11 -11
- package/dist/chunks/{command-7w2ypzdf.js → aisdk-native-7w2ypzdf.js} +1 -1
- package/dist/chunks/{command-d7mf0cbr.js → aisdk-native-7w4kbttg.js} +31 -31
- package/dist/chunks/{command-7weczvnd.js → aisdk-native-7weczvnd.js} +1 -1
- package/dist/chunks/{command-ypn3ny7b.js → aisdk-native-81z2hnk2.js} +15 -15
- package/dist/chunks/{command-br1wrt32.js → aisdk-native-87k2xhbw.js} +59 -59
- package/dist/chunks/{command-89287pr7.js → aisdk-native-89287pr7.js} +1 -1
- package/dist/chunks/{command-25h84942.js → aisdk-native-8b3vzgkx.js} +4 -4
- package/dist/chunks/{command-pyp1n8q3.js → aisdk-native-8btjkewv.js} +11 -11
- package/dist/chunks/{command-bcwkd7ht.js → aisdk-native-8dtrc71z.js} +9 -9
- package/dist/chunks/{command-12y3fhxk.js → aisdk-native-8e54djqe.js} +4 -4
- package/dist/chunks/{command-kzdam8c6.js → aisdk-native-8hfctyyf.js} +7 -7
- package/dist/chunks/{command-xmpds20m.js → aisdk-native-8hvkce8x.js} +8 -8
- package/dist/chunks/{command-6mftbgcc.js → aisdk-native-8n79c516.js} +3 -3
- package/dist/chunks/{command-8sxe6kv8.js → aisdk-native-8sxe6kv8.js} +2 -2
- package/dist/chunks/{command-8wtp7s3z.js → aisdk-native-8wtp7s3z.js} +1 -1
- package/dist/chunks/{command-90zstvax.js → aisdk-native-90zstvax.js} +1 -1
- package/dist/chunks/{command-h5chy42v.js → aisdk-native-94e33dpz.js} +3 -3
- package/dist/chunks/{command-q6yya7b3.js → aisdk-native-96te9d4b.js} +5 -5
- package/dist/chunks/{command-cfx3hvwj.js → aisdk-native-981ce9j0.js} +10 -10
- package/dist/chunks/{command-eyprk2c0.js → aisdk-native-9fd8c7rs.js} +6 -6
- package/dist/chunks/{command-np7pfd3k.js → aisdk-native-9fwptsga.js} +4 -4
- package/dist/chunks/{command-h00x88kt.js → aisdk-native-9m04kdeh.js} +33 -33
- package/dist/chunks/{command-t1w2f4hm.js → aisdk-native-a3ap5jhp.js} +12 -12
- package/dist/chunks/{command-0t98qjth.js → aisdk-native-a62hss96.js} +36 -36
- package/dist/chunks/{command-c68316wq.js → aisdk-native-aasyha94.js} +3 -3
- package/dist/chunks/{command-93crpah6.js → aisdk-native-ad46p625.js} +9 -9
- package/dist/chunks/{command-xxywzmpz.js → aisdk-native-adbhcxyp.js} +8 -8
- package/dist/chunks/{command-m033a469.js → aisdk-native-arf161mg.js} +20 -20
- package/dist/chunks/{command-qcbm8ygy.js → aisdk-native-avb8r9q2.js} +11 -11
- package/dist/chunks/{command-ayjs7tqn.js → aisdk-native-ayjs7tqn.js} +2 -2
- package/dist/chunks/{command-yp7565be.js → aisdk-native-b1q59j2w.js} +16 -16
- package/dist/chunks/{command-gcd8vjs4.js → aisdk-native-b39p1ge5.js} +29 -29
- package/dist/chunks/{command-2zdv0xg6.js → aisdk-native-b8jt0kff.js} +9 -9
- package/dist/chunks/{command-4d1kxyt7.js → aisdk-native-bbdas7zc.js} +15 -15
- package/dist/chunks/{command-2jyenyr4.js → aisdk-native-bhm0wtx3.js} +9 -9
- package/dist/chunks/{command-3ae1xfpg.js → aisdk-native-bhqr4kwt.js} +9 -9
- package/dist/chunks/{command-hyyv5ram.js → aisdk-native-bjz3m2b8.js} +12 -12
- package/dist/chunks/{command-67wwskyb.js → aisdk-native-brv6mkyx.js} +4 -4
- package/dist/chunks/{command-bstexjd6.js → aisdk-native-bstexjd6.js} +1 -1
- package/dist/chunks/{command-eg8gjqc9.js → aisdk-native-chz3q9jb.js} +31 -31
- package/dist/chunks/{command-1ethyhtf.js → aisdk-native-cjxqdvdr.js} +3 -3
- package/dist/chunks/{command-4v7q4055.js → aisdk-native-cqgtnhxk.js} +9 -9
- package/dist/chunks/{command-gk5xmt04.js → aisdk-native-ct67btrp.js} +5 -5
- package/dist/chunks/{command-646pg8x8.js → aisdk-native-ctgfwr68.js} +25 -25
- package/dist/chunks/{command-62ngc9ha.js → aisdk-native-cvh44ss2.js} +8 -8
- package/dist/chunks/{command-cwrgdav8.js → aisdk-native-cwrgdav8.js} +2 -2
- package/dist/chunks/{command-bfjhbyam.js → aisdk-native-czfx1z9m.js} +9 -9
- package/dist/chunks/{command-4hhyssj0.js → aisdk-native-d1q924fv.js} +16 -16
- package/dist/chunks/{command-cq83j3ek.js → aisdk-native-d27wbg5v.js} +13 -13
- package/dist/chunks/{command-d4v9tmah.js → aisdk-native-d4v9tmah.js} +2 -2
- package/dist/chunks/{command-pc18qqdt.js → aisdk-native-d9dnx0f6.js} +8 -8
- package/dist/chunks/{command-r6mp4hkw.js → aisdk-native-dag99q2j.js} +13 -13
- package/dist/chunks/{command-hc7kk28r.js → aisdk-native-dbwb1ca8.js} +17 -17
- package/dist/chunks/{command-3ntfh06s.js → aisdk-native-dkncepf8.js} +8 -8
- package/dist/chunks/{command-j4k52jwy.js → aisdk-native-dq1jqyq2.js} +39 -39
- package/dist/chunks/{command-0h8q5847.js → aisdk-native-dqb3n79d.js} +3 -3
- package/dist/chunks/{command-dt77769w.js → aisdk-native-dt77769w.js} +1 -1
- package/dist/chunks/{command-4135qxvw.js → aisdk-native-e45cdfc2.js} +22 -22
- package/dist/chunks/{command-f85k213m.js → aisdk-native-e5xnebe0.js} +29 -29
- package/dist/chunks/{command-e834z07m.js → aisdk-native-e834z07m.js} +1 -1
- package/dist/chunks/{command-j8avw84j.js → aisdk-native-e8hyxvrp.js} +12 -12
- package/dist/chunks/{command-ddwaa558.js → aisdk-native-e8pm465n.js} +4 -4
- package/dist/chunks/{command-1ck8c7p2.js → aisdk-native-ee9rx73x.js} +18 -18
- package/dist/chunks/{command-fd18rm2r.js → aisdk-native-efd8p617.js} +15 -15
- package/dist/chunks/{command-jfvkyem6.js → aisdk-native-effc5byb.js} +22 -22
- package/dist/chunks/{command-a089nqtb.js → aisdk-native-eg7f9p16.js} +4 -4
- package/dist/chunks/{command-c32zfq3f.js → aisdk-native-egbzq5kh.js} +8 -8
- package/dist/chunks/{command-xznmvtrx.js → aisdk-native-emngcw9w.js} +16 -16
- package/dist/chunks/{command-eqw4pqj1.js → aisdk-native-eqw4pqj1.js} +2 -2
- package/dist/chunks/{command-8ty8az89.js → aisdk-native-ezdn82yg.js} +25 -25
- package/dist/chunks/{command-x2x0p9p0.js → aisdk-native-f040m6d7.js} +16 -16
- package/dist/chunks/{command-3kpzvbrd.js → aisdk-native-f46ba4za.js} +9 -9
- package/dist/chunks/{command-v8t80082.js → aisdk-native-fa57zxca.js} +54 -54
- package/dist/chunks/{command-fffv3p7h.js → aisdk-native-fffv3p7h.js} +1 -1
- package/dist/chunks/{command-yc277nf8.js → aisdk-native-fg1tdg0x.js} +25 -25
- package/dist/chunks/{command-fg9p65nk.js → aisdk-native-fg9p65nk.js} +2 -2
- package/dist/chunks/{command-ncgygh99.js → aisdk-native-fk0xted7.js} +19 -19
- package/dist/chunks/{command-34memwys.js → aisdk-native-fn56n0yg.js} +10 -10
- package/dist/chunks/{command-7ht08nzg.js → aisdk-native-fqff4ckk.js} +14 -14
- package/dist/chunks/{command-wafs2pe0.js → aisdk-native-fr5cnkv6.js} +5 -5
- package/dist/chunks/{command-4wkjhmtn.js → aisdk-native-fstyqyv3.js} +21 -21
- package/dist/chunks/{command-82zzf805.js → aisdk-native-fvgj1da1.js} +7 -7
- package/dist/chunks/{command-bncgzw47.js → aisdk-native-fxvgdqdk.js} +9 -9
- package/dist/chunks/{command-cp015mtv.js → aisdk-native-fyax8sdy.js} +9 -9
- package/dist/chunks/{command-f6xrwzvp.js → aisdk-native-fzf6fhk6.js} +21 -21
- package/dist/chunks/{command-cf3f13z6.js → aisdk-native-g4v74gy6.js} +8 -8
- package/dist/chunks/{command-fd6qrwf6.js → aisdk-native-g92heepp.js} +1 -1
- package/dist/chunks/{command-gbjdnr5j.js → aisdk-native-gbjdnr5j.js} +2 -2
- package/dist/chunks/{command-r2yj4tp7.js → aisdk-native-gdzkw0rw.js} +17 -17
- package/dist/chunks/{command-dcrq9x9w.js → aisdk-native-gj7jfm6z.js} +10 -10
- package/dist/chunks/{command-en16g0fa.js → aisdk-native-gjdpjdn9.js} +13 -13
- package/dist/chunks/{command-qj7xpee3.js → aisdk-native-gtjns7s7.js} +12 -12
- package/dist/chunks/{command-fjt3j6q5.js → aisdk-native-h29npdwn.js} +20 -20
- package/dist/chunks/aisdk-native-h45y3ser.js +26 -0
- package/dist/chunks/{command-danjpmwv.js → aisdk-native-h6nmk6np.js} +18 -18
- package/dist/chunks/{command-k9qkjmjj.js → aisdk-native-h8yt3dqj.js} +9 -9
- package/dist/chunks/{command-v3qz5a9b.js → aisdk-native-h93ymam8.js} +27 -27
- package/dist/chunks/{command-1nkn9ee5.js → aisdk-native-ha5tj4ya.js} +1 -1
- package/dist/chunks/{command-9kxbeh9f.js → aisdk-native-harf28dt.js} +21 -21
- package/dist/chunks/{command-hpg1pkwy.js → aisdk-native-hpg1pkwy.js} +1 -1
- package/dist/chunks/{command-bmkaz8yz.js → aisdk-native-hsgfnn7t.js} +32 -32
- package/dist/chunks/{command-jf43mb4q.js → aisdk-native-hsnq1va6.js} +5 -5
- package/dist/chunks/{command-b3fqmy3y.js → aisdk-native-j625qryt.js} +8 -8
- package/dist/chunks/{command-x0zqxrsp.js → aisdk-native-j73h1yva.js} +5 -5
- package/dist/chunks/{command-eqt0t2ze.js → aisdk-native-j994fjyc.js} +5 -5
- package/dist/chunks/{command-j9nxzz3g.js → aisdk-native-j9nxzz3g.js} +3 -3
- package/dist/chunks/{command-djejg4dy.js → aisdk-native-jahxfc61.js} +9 -9
- package/dist/chunks/{command-q398sxw9.js → aisdk-native-je50h033.js} +333 -333
- package/dist/chunks/{command-qfmv8rq5.js → aisdk-native-jpqmwswa.js} +20 -20
- package/dist/chunks/{command-nvday014.js → aisdk-native-jqsw4n81.js} +5 -5
- package/dist/chunks/{command-jtnps1zs.js → aisdk-native-jtnps1zs.js} +2 -2
- package/dist/chunks/{command-3zjxarqk.js → aisdk-native-jwwjpzn7.js} +32 -32
- package/dist/chunks/{command-dpz7e168.js → aisdk-native-k23fm4gd.js} +39 -39
- package/dist/chunks/{command-bfgpgnwm.js → aisdk-native-k7m7y9qh.js} +16 -16
- package/dist/chunks/{command-gh1y3rvh.js → aisdk-native-knf3s6vy.js} +14 -14
- package/dist/chunks/{command-stv14asb.js → aisdk-native-kp5hmh5q.js} +2 -2
- package/dist/chunks/{command-kt3bjfbg.js → aisdk-native-kt3bjfbg.js} +1 -1
- package/dist/chunks/{command-pymf5tg2.js → aisdk-native-kwsgp0hy.js} +78 -78
- package/dist/chunks/{command-cqt1n9zr.js → aisdk-native-ky8exc9y.js} +21 -21
- package/dist/chunks/{command-kzczzf4v.js → aisdk-native-kzczzf4v.js} +1 -1
- package/dist/chunks/{command-m1714858.js → aisdk-native-m1714858.js} +1 -1
- package/dist/chunks/{command-yeea4sy2.js → aisdk-native-m4d0vgn9.js} +10 -10
- package/dist/chunks/{command-0hmh74vw.js → aisdk-native-m4x6re70.js} +5 -5
- package/dist/chunks/{command-tx09378e.js → aisdk-native-m6msk9wb.js} +30 -30
- package/dist/chunks/{command-3djkmwgc.js → aisdk-native-m7m5pkx7.js} +18 -18
- package/dist/chunks/{command-bzdbkzj3.js → aisdk-native-m9ps4pev.js} +2 -2
- package/dist/chunks/{command-m9w0rfyh.js → aisdk-native-m9w0rfyh.js} +1 -1
- package/dist/chunks/{command-mb7mbhnz.js → aisdk-native-mb7mbhnz.js} +3 -3
- package/dist/chunks/{command-v0t96s7a.js → aisdk-native-mf63ygpr.js} +4 -4
- package/dist/chunks/{command-16arwrrz.js → aisdk-native-mfd6jzyx.js} +35 -35
- package/dist/chunks/{command-1scgcwfj.js → aisdk-native-mqe7nf5n.js} +3 -3
- package/dist/chunks/{command-1v2g13eq.js → aisdk-native-msd2a3qm.js} +4 -4
- package/dist/chunks/{command-p8cy59x8.js → aisdk-native-mwrcs12n.js} +7 -7
- package/dist/chunks/{command-g5dw3jkc.js → aisdk-native-myd0qpm2.js} +17 -17
- package/dist/chunks/{command-mzm8bzzq.js → aisdk-native-mzm8bzzq.js} +1 -1
- package/dist/chunks/{command-kzrftevf.js → aisdk-native-mzy7bak7.js} +5 -5
- package/dist/chunks/{command-98hcgb4h.js → aisdk-native-n034570c.js} +6 -6
- package/dist/chunks/{command-x9xc5xsf.js → aisdk-native-n1cy96p8.js} +48 -48
- package/dist/chunks/{command-69a09071.js → aisdk-native-n3gxmvth.js} +5 -5
- package/dist/chunks/{command-cp1c96n9.js → aisdk-native-ne3rtm9t.js} +4 -4
- package/dist/chunks/{command-bephacnj.js → aisdk-native-nf13dwkt.js} +13 -13
- package/dist/chunks/{command-wnx6gvsz.js → aisdk-native-nk9akxx5.js} +2 -2
- package/dist/chunks/{command-a5f4knde.js → aisdk-native-nnmrexdw.js} +11 -11
- package/dist/chunks/{command-61f595a1.js → aisdk-native-nvbqy0px.js} +6 -6
- package/dist/chunks/{command-68knvcz4.js → aisdk-native-pa2zgtq7.js} +21 -21
- package/dist/chunks/{command-j7wrq4eb.js → aisdk-native-paf4xmwp.js} +7 -7
- package/dist/chunks/{command-7397vtrj.js → aisdk-native-pgdt3kcj.js} +45 -45
- package/dist/chunks/{command-qh9v8ntg.js → aisdk-native-ph6568n0.js} +30 -30
- package/dist/chunks/{command-pknna89w.js → aisdk-native-pknna89w.js} +1 -1
- package/dist/chunks/{command-2f4qbtey.js → aisdk-native-pnxn9wt1.js} +8 -8
- package/dist/chunks/{command-qjd3nqs5.js → aisdk-native-pyqfa8wd.js} +34 -34
- package/dist/chunks/{command-qc91gfyq.js → aisdk-native-pzc1vvs0.js} +16 -16
- package/dist/chunks/{command-gvefjbhs.js → aisdk-native-q0e34585.js} +6 -6
- package/dist/chunks/{command-nqrb15q7.js → aisdk-native-q3a78a6s.js} +26 -26
- package/dist/chunks/{command-n5m5byr1.js → aisdk-native-q4as2y0c.js} +18 -18
- package/dist/chunks/{command-6cqkw5v2.js → aisdk-native-q6a7h9km.js} +7 -7
- package/dist/chunks/{command-tw3pa4d5.js → aisdk-native-qdxqp53x.js} +17 -17
- package/dist/chunks/{command-f6p850ad.js → aisdk-native-qf4nt2p7.js} +35 -35
- package/dist/chunks/{command-qp7r0hxv.js → aisdk-native-qp7r0hxv.js} +1 -1
- package/dist/chunks/{command-qqvy8y24.js → aisdk-native-qqvy8y24.js} +1 -1
- package/dist/chunks/{command-wfdx5ztx.js → aisdk-native-qsdghx1p.js} +4 -4
- package/dist/chunks/{command-xa7vqqs3.js → aisdk-native-qwaa2xbs.js} +28 -28
- package/dist/chunks/{command-n4h8s75p.js → aisdk-native-qzhrkz44.js} +10 -10
- package/dist/chunks/{command-r17fbvme.js → aisdk-native-r17fbvme.js} +1 -1
- package/dist/chunks/{command-4f25tdd0.js → aisdk-native-r542h3bh.js} +5 -5
- package/dist/chunks/{command-6bcpeeft.js → aisdk-native-r7k8p7yq.js} +11 -11
- package/dist/chunks/{command-rb9dy4dg.js → aisdk-native-rb9dy4dg.js} +1 -1
- package/dist/chunks/{command-8rhnpct3.js → aisdk-native-remxw044.js} +1 -1
- package/dist/chunks/{command-b0jj9b0h.js → aisdk-native-rgbvd0y0.js} +11 -11
- package/dist/chunks/{command-6ja1h8q3.js → aisdk-native-rqpb9dyj.js} +4 -4
- package/dist/chunks/{command-rt5dr6hb.js → aisdk-native-rt5dr6hb.js} +1 -1
- package/dist/chunks/{command-nk428tww.js → aisdk-native-rwz27wf7.js} +15 -15
- package/dist/chunks/{command-qm9hf0ye.js → aisdk-native-rx7bgcev.js} +14 -14
- package/dist/chunks/{command-tdhae4mv.js → aisdk-native-rzdqhsac.js} +6 -6
- package/dist/chunks/{command-38aws4xb.js → aisdk-native-rzg6y5rp.js} +4 -4
- package/dist/chunks/{command-jkdcm5hg.js → aisdk-native-s26c8eb5.js} +4 -4
- package/dist/chunks/{command-96q1y33t.js → aisdk-native-s3z4x8ga.js} +36 -36
- package/dist/chunks/{command-sa3fpqfw.js → aisdk-native-sa3fpqfw.js} +2 -2
- package/dist/chunks/{command-4epg9cpd.js → aisdk-native-sbh593mg.js} +5 -5
- package/dist/chunks/{command-sbya78hr.js → aisdk-native-sbya78hr.js} +1 -1
- package/dist/chunks/{command-bd6yt1rr.js → aisdk-native-sd4zreae.js} +3 -3
- package/dist/chunks/{command-svcy3p9a.js → aisdk-native-svcy3p9a.js} +1 -1
- package/dist/chunks/{command-szwm4crx.js → aisdk-native-szwm4crx.js} +4 -4
- package/dist/chunks/{command-4aqsrd9z.js → aisdk-native-t0wm05y1.js} +2 -2
- package/dist/chunks/{command-zxdyzb9b.js → aisdk-native-t1859687.js} +23 -23
- package/dist/chunks/{command-07qaf4yv.js → aisdk-native-t4sfhbex.js} +35 -35
- package/dist/chunks/{command-py78875p.js → aisdk-native-t5trd2ng.js} +4 -4
- package/dist/chunks/{command-61qraad9.js → aisdk-native-t8erkws8.js} +5 -5
- package/dist/chunks/{command-tczq8hjw.js → aisdk-native-tczq8hjw.js} +1 -1
- package/dist/chunks/{command-gxs71cxp.js → aisdk-native-tg7s7b5t.js} +4 -4
- package/dist/chunks/{command-byd6ekmk.js → aisdk-native-tp5ztrde.js} +29 -29
- package/dist/chunks/{command-tr8x705m.js → aisdk-native-tr8x705m.js} +1 -1
- package/dist/chunks/{command-qw2t3dzn.js → aisdk-native-tvssxyt8.js} +6 -6
- package/dist/chunks/{command-twssxy5n.js → aisdk-native-twssxy5n.js} +2 -2
- package/dist/chunks/{command-v2r1d0zg.js → aisdk-native-v2r1d0zg.js} +1 -1
- package/dist/chunks/{command-tg1vr1qt.js → aisdk-native-v5hpj9dd.js} +8 -8
- package/dist/chunks/{command-b3a32pfz.js → aisdk-native-v8bjwhbx.js} +4 -4
- package/dist/chunks/{command-vjf35v1f.js → aisdk-native-vjf35v1f.js} +1 -1
- package/dist/chunks/{command-kj9n5bvh.js → aisdk-native-vmqe41cb.js} +4 -4
- package/dist/chunks/{command-vt4r9rmy.js → aisdk-native-vq0qa3sh.js} +9 -9
- package/dist/chunks/{command-px7qpgcn.js → aisdk-native-vt2d6wap.js} +4 -4
- package/dist/chunks/{command-40za9wsf.js → aisdk-native-w2eysc6j.js} +9 -9
- package/dist/chunks/{command-pqyke20e.js → aisdk-native-w3c3s7r0.js} +16 -16
- package/dist/chunks/{command-w3wsvvr9.js → aisdk-native-w3wsvvr9.js} +1 -1
- package/dist/chunks/{command-pqpped4x.js → aisdk-native-w4whpxh7.js} +38 -38
- package/dist/chunks/{command-hkb47ark.js → aisdk-native-w8v4r4fn.js} +15 -15
- package/dist/chunks/{command-wakvkjy4.js → aisdk-native-wakvkjy4.js} +1 -1
- package/dist/chunks/{command-0b4k4pxz.js → aisdk-native-wasdyj5w.js} +21 -21
- package/dist/chunks/{command-wd87259q.js → aisdk-native-wd87259q.js} +1 -1
- package/dist/chunks/{command-wegkxhrn.js → aisdk-native-wegkxhrn.js} +2 -2
- package/dist/chunks/{command-wzqa1p8j.js → aisdk-native-wh8d5zjq.js} +9 -9
- package/dist/chunks/{command-wnhgecwx.js → aisdk-native-wnhgecwx.js} +1 -1
- package/dist/chunks/{command-wr3re1en.js → aisdk-native-wr3re1en.js} +1 -1
- package/dist/chunks/{command-79k544d0.js → aisdk-native-wvr8xscb.js} +7 -7
- package/dist/chunks/{command-szdpkamw.js → aisdk-native-wzmqh03z.js} +25 -25
- package/dist/chunks/{command-vcqv95a1.js → aisdk-native-x0xnyk6f.js} +4 -4
- package/dist/chunks/{command-x150ncgg.js → aisdk-native-x150ncgg.js} +2 -2
- package/dist/chunks/{command-q8w0wzkt.js → aisdk-native-x1kzphw6.js} +9 -9
- package/dist/chunks/{command-7j4g50fg.js → aisdk-native-x5pnbcqp.js} +12 -12
- package/dist/chunks/{command-3ta8hwe1.js → aisdk-native-xfwcn7qq.js} +18 -18
- package/dist/chunks/{command-xgxp23qn.js → aisdk-native-xgxp23qn.js} +4 -4
- package/dist/chunks/{command-63xym3gh.js → aisdk-native-xmx7xj34.js} +4 -4
- package/dist/chunks/{command-8dt1w74b.js → aisdk-native-xs4v6pb6.js} +30 -30
- package/dist/chunks/{command-mr43x1ez.js → aisdk-native-y70dfn3t.js} +7 -7
- package/dist/chunks/{command-t41yqt6v.js → aisdk-native-y7q0fr5q.js} +11 -11
- package/dist/chunks/{command-6g8fwdfn.js → aisdk-native-y8djn8bh.js} +3 -3
- package/dist/chunks/{command-yb20nhc3.js → aisdk-native-yb20nhc3.js} +1 -1
- package/dist/chunks/{command-6ncgp3d4.js → aisdk-native-yb8z1vvb.js} +9 -9
- package/dist/chunks/aisdk-native-ypbnvhqf.js +261 -0
- package/dist/chunks/{command-tndbqne4.js → aisdk-native-yqzt6kpb.js} +35 -35
- package/dist/chunks/{command-yr705xyq.js → aisdk-native-yr705xyq.js} +1 -1
- package/dist/chunks/{command-yvtc2x31.js → aisdk-native-yvtc2x31.js} +1 -1
- package/dist/chunks/{command-5k96f8ej.js → aisdk-native-ywv6jdkf.js} +19 -13
- package/dist/chunks/{command-m67npxa6.js → aisdk-native-yzeybvwj.js} +25 -25
- package/dist/chunks/{command-z0hqw6m5.js → aisdk-native-z0hqw6m5.js} +1 -1
- package/dist/chunks/aisdk-native-z355x5yr.js +18 -0
- package/dist/chunks/{command-bgh17mfd.js → aisdk-native-z46p0s96.js} +18 -18
- package/dist/chunks/{command-j4nbxgfz.js → aisdk-native-z5xwhy0a.js} +17 -17
- package/dist/chunks/{command-gwj432m6.js → aisdk-native-z8ym0x4e.js} +11 -11
- package/dist/chunks/{command-8sb7jtsn.js → aisdk-native-zf7524d8.js} +9 -9
- package/dist/chunks/{command-r5xncg2p.js → aisdk-native-zsfjanx1.js} +6 -6
- package/dist/chunks/{command-9ah5v1j5.js → aisdk-native-zwkfyhc4.js} +17 -17
- package/dist/chunks/{command-zyfhsknv.js → aisdk-native-zyfhsknv.js} +2 -2
- package/dist/codemode/catalog.js +1 -1
- package/dist/codemode/execution.js +5 -5
- package/dist/codemode/fetch.js +145 -145
- package/dist/codemode/instructions.js +11 -11
- package/dist/codemode/tool.js +151 -151
- package/dist/command.js +94 -94
- package/dist/config/discovery.js +95 -95
- package/dist/config/integration.js +1 -1
- package/dist/config/managed.js +1 -1
- package/dist/config/markdown.js +1 -1
- package/dist/config/normalize.js +112 -112
- package/dist/config/plugin/agent.js +132 -132
- package/dist/config/plugin/command.js +231 -231
- package/dist/config/plugin/compaction.js +171 -171
- package/dist/config/plugin/compatibility.js +150 -150
- package/dist/config/plugin/entry-observer.js +1 -1
- package/dist/config/plugin/formatter.js +131 -131
- package/dist/config/plugin/image.js +130 -130
- package/dist/config/plugin/instruction.js +130 -130
- package/dist/config/plugin/location-watcher.js +130 -130
- package/dist/config/plugin/mcp.js +141 -141
- package/dist/config/plugin/policy.js +130 -130
- package/dist/config/plugin/provider.js +130 -130
- package/dist/config/plugin/reference.js +132 -132
- package/dist/config/plugin/shell.js +132 -132
- package/dist/config/plugin/skill-file.js +146 -146
- package/dist/config/plugin/skill-scan.js +1 -1
- package/dist/config/plugin/skill.js +153 -153
- package/dist/config/plugin/snapshot.js +130 -130
- package/dist/config/plugin/source.js +133 -133
- package/dist/config/plugin/tool-output.js +131 -131
- package/dist/config/plugin/websearch.js +131 -131
- package/dist/config/plugin/worktree.js +132 -132
- package/dist/config/variable.js +1 -1
- package/dist/config/watch.js +1 -1
- package/dist/config.js +131 -131
- package/dist/console-access.js +1 -1
- package/dist/credential/sql.js +2 -2
- package/dist/credential.js +84 -84
- package/dist/database/database.js +77 -77
- package/dist/database/drizzle/effect-sqlite/driver.js +14 -14
- package/dist/database/drizzle/effect-sqlite/index.js +14 -14
- package/dist/database/drizzle/effect-sqlite/session.js +11 -11
- package/dist/database/drizzle/index.js +15 -15
- package/dist/database/drizzle/internal/drizzle-utils.js +1 -1
- package/dist/database/drizzle/sqlite-core/effect/count.js +1 -1
- package/dist/database/drizzle/sqlite-core/effect/db.js +9 -9
- package/dist/database/drizzle/sqlite-core/effect/delete.js +2 -2
- package/dist/database/drizzle/sqlite-core/effect/index.js +10 -10
- package/dist/database/drizzle/sqlite-core/effect/insert.js +2 -2
- package/dist/database/drizzle/sqlite-core/effect/query.js +1 -1
- package/dist/database/drizzle/sqlite-core/effect/raw.js +1 -1
- package/dist/database/drizzle/sqlite-core/effect/select.js +2 -2
- package/dist/database/drizzle/sqlite-core/effect/session.js +10 -10
- package/dist/database/drizzle/sqlite-core/effect/update.js +2 -2
- package/dist/database/drizzle.js +16 -16
- package/dist/database/migration/20260127222353_familiar_lady_ursula.js +1 -1
- package/dist/database/migration/20260211171708_add_project_commands.js +1 -1
- package/dist/database/migration/20260213144116_wakeful_the_professor.js +1 -1
- package/dist/database/migration/20260225215848_workspace.js +1 -1
- package/dist/database/migration/20260227213759_add_session_workspace_id.js +1 -1
- package/dist/database/migration/20260228203230_blue_harpoon.js +1 -1
- package/dist/database/migration/20260303231226_add_workspace_fields.js +1 -1
- package/dist/database/migration/20260309230000_move_org_to_state.js +1 -1
- package/dist/database/migration/20260312043431_session_message_cursor.js +1 -1
- package/dist/database/migration/20260323234822_events.js +1 -1
- package/dist/database/migration/20260410174513_workspace-name.js +1 -1
- package/dist/database/migration/20260413175956_chief_energizer.js +1 -1
- package/dist/database/migration/20260423070820_add_icon_url_override.js +1 -1
- package/dist/database/migration/20260427172553_slow_nightmare.js +1 -1
- package/dist/database/migration/20260428004200_add_session_path.js +1 -1
- package/dist/database/migration/20260501142318_next_venus.js +1 -1
- package/dist/database/migration/20260504145000_add_sync_owner.js +1 -1
- package/dist/database/migration/20260507164347_add_workspace_time.js +1 -1
- package/dist/database/migration/20260510033149_session_usage.js +1 -1
- package/dist/database/migration/20260511000411_data_migration_state.js +1 -1
- package/dist/database/migration/20260511173437_session-metadata.js +1 -1
- package/dist/database/migration/20260601010001_normalize_storage_paths.js +1 -1
- package/dist/database/migration/20260601202201_amazing_prowler.js +1 -1
- package/dist/database/migration/20260602002951_lowly_union_jack.js +1 -1
- package/dist/database/migration/20260602182828_add_project_directories.js +1 -1
- package/dist/database/migration/20260603001617_session_message_projection_indexes.js +1 -1
- package/dist/database/migration/20260603040000_session_message_projection_order.js +1 -1
- package/dist/database/migration/20260603141458_session_input_inbox.js +1 -1
- package/dist/database/migration/20260603160727_jittery_ezekiel_stane.js +1 -1
- package/dist/database/migration/20260604172448_event_sourced_session_input.js +1 -1
- package/dist/database/migration/20260605003541_add_session_context_snapshot.js +1 -1
- package/dist/database/migration/20260605042240_add_context_epoch_agent.js +1 -1
- package/dist/database/migration/20260611035744_credential.js +1 -1
- package/dist/database/migration/20260611192811_lush_chimera.js +1 -1
- package/dist/database/migration/20260612174303_project_dir_strategy.js +1 -1
- package/dist/database/migration/20260622142730_simplify_session_context_epoch.js +1 -1
- package/dist/database/migration/20260622170816_reset_v2_session_state.js +1 -1
- package/dist/database/migration/20260622202450_simplify_session_input.js +1 -1
- package/dist/database/migration/20260804233008_loose_psylocke.js +1 -1
- package/dist/database/migration/20260805200742_import_legacy_credentials.js +1 -1
- package/dist/database/migration/20260808023530_workspace_domain.js +1 -1
- package/dist/database/migration/20260811161259_execution_claim_attempts.js +1 -1
- package/dist/database/migration/20260812181746_session_inbox.js +1 -1
- package/dist/database/migration/20260812213948_worktree.js +1 -1
- package/dist/database/migration/20260819222447_session_viewed_state.js +1 -1
- package/dist/database/migration/20260823191254_nullable_workspace_binding.js +1 -1
- package/dist/database/migration/20260910120000_clear_v1_session_permission.js +1 -1
- package/dist/database/migration/20260923013825_project_time_active.js +1 -1
- package/dist/database/migration/20261007190000_azure_cli_external_credential.js +1 -1
- package/dist/database/migration/20261010180456_project_time_archived.js +1 -1
- package/dist/database/migration/20261024002554_session_allowance.js +1 -1
- package/dist/database/migration/20261024175301_drop_session_allowance.js +1 -1
- package/dist/database/migration/20261025123711_blob.js +1 -1
- package/dist/database/migration/20261025154125_drop_session_pending.js +1 -1
- package/dist/database/migration/20261026223005_schedule.js +1 -1
- package/dist/database/migration/20261029002625_session_part.js +1 -1
- package/dist/database/migration/20261029073502_session_time_busy.js +1 -1
- package/dist/database/migration/20261029165540_schedule_checks.js +1 -1
- package/dist/database/migration/20261030054400_job.js +1 -1
- package/dist/database/migration.gen.js +60 -60
- package/dist/database/migration.js +62 -62
- 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/v1-migration.bun.js +100 -100
- package/dist/database/v1-migration.js +1 -1
- package/dist/effect/app-node-builder.js +430 -430
- 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 +106 -106
- package/dist/environment/exec-defaults.js +2 -2
- package/dist/environment/files.js +1 -1
- package/dist/environment/index.js +106 -106
- 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 +81 -81
- package/dist/file-access.js +156 -156
- package/dist/file-mutation.js +107 -107
- 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/file-watch.js +88 -88
- package/dist/filesystem/location-watcher-policy.js +6 -6
- package/dist/filesystem/location-watcher.js +243 -243
- package/dist/filesystem/protected.js +1 -1
- package/dist/filesystem/search.js +112 -112
- package/dist/filesystem/watcher-binding.js +1 -1
- package/dist/filesystem/watcher.js +9 -9
- package/dist/filesystem.js +117 -117
- package/dist/form.js +81 -81
- package/dist/formatter/builtins.js +4 -4
- package/dist/formatter.js +100 -100
- package/dist/generate.js +120 -120
- package/dist/git.js +11 -11
- 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 +104 -104
- package/dist/github-copilot/openai-compatible-error.js +1 -1
- package/dist/github-copilot/responses/convert-to-openai-responses-input.js +1 -1
- package/dist/github-copilot/responses/map-openai-responses-finish-reason.js +1 -1
- package/dist/github-copilot/responses/openai-error.js +1 -1
- package/dist/github-copilot/responses/openai-responses-language-model.js +10 -10
- package/dist/github-copilot/responses/openai-responses-prepare-tools.js +6 -6
- package/dist/github-copilot/responses/tool/code-interpreter.js +1 -1
- package/dist/github-copilot/responses/tool/file-search.js +1 -1
- package/dist/github-copilot/responses/tool/image-generation.js +1 -1
- package/dist/github-copilot/responses/tool/web-search-preview.js +1 -1
- package/dist/github-copilot/responses/tool/web-search.js +1 -1
- package/dist/image/notice.js +3 -3
- package/dist/image/photon-normalize.js +1 -1
- package/dist/image/photon-worker.js +1 -1
- package/dist/image/photon.js +4 -4
- package/dist/image.js +6 -6
- package/dist/instance/service.js +5 -5
- package/dist/instance.js +421 -421
- package/dist/instruction-discovery.js +91 -91
- package/dist/instructions/builtins.js +100 -100
- package/dist/instructions/index.js +1 -1
- package/dist/integration/connection.js +1 -1
- package/dist/integration.js +88 -88
- package/dist/job/sql.js +2 -2
- package/dist/job.js +86 -86
- package/dist/kv/sql.js +2 -2
- package/dist/kv.js +84 -84
- package/dist/location-activity.js +176 -176
- package/dist/location-lifecycle.js +150 -150
- package/dist/location-service-map.js +99 -99
- package/dist/location-services.js +418 -418
- package/dist/location.js +98 -98
- package/dist/managed-policy.js +3 -3
- package/dist/mcp/client.js +104 -104
- package/dist/mcp/index.js +114 -114
- package/dist/mcp/instructions.js +173 -173
- package/dist/mcp/oauth.js +86 -86
- package/dist/mcp/socket-client.js +1 -1
- package/dist/mcp/stdio.js +103 -103
- package/dist/mime.js +1 -1
- package/dist/modal/models.js +104 -104
- package/dist/model-resolver.js +112 -112
- package/dist/model-retry.js +1 -1
- package/dist/model.js +109 -109
- package/dist/models-dev/v1.js +1 -1
- package/dist/models-dev.js +115 -115
- package/dist/oauth/page.js +1 -1
- package/dist/permission/saved.js +91 -91
- package/dist/permission/sql.js +5 -5
- package/dist/permission.js +149 -149
- package/dist/persistent-pty/binary.bun.js +1 -1
- package/dist/persistent-pty/daemon.js +1 -1
- package/dist/persistent-pty/index.js +93 -93
- package/dist/persistent-pty/pty-binding.js +1 -1
- package/dist/persistent-pty.js +86 -86
- package/dist/plugin/agent.js +87 -87
- package/dist/plugin/command.js +115 -115
- package/dist/plugin/goal.js +3 -3
- package/dist/plugin/hooks.js +5 -5
- package/dist/plugin/host.js +236 -236
- package/dist/plugin/identity.js +5 -5
- package/dist/plugin/instance.js +5 -5
- package/dist/plugin/internal.js +397 -397
- package/dist/plugin/mcp-codemode-defaults.js +3 -3
- package/dist/plugin/models-dev.js +110 -110
- package/dist/plugin/module.js +129 -129
- package/dist/plugin/optimize.js +2 -2
- package/dist/plugin/plan.js +146 -146
- package/dist/plugin/promise.js +1 -1
- package/dist/plugin/provider/amazon-bedrock.js +104 -104
- package/dist/plugin/provider/azure.js +132 -132
- package/dist/plugin/provider/cerebras.js +1 -1
- package/dist/plugin/provider/chatgpt.js +130 -130
- package/dist/plugin/provider/claude-agent/aisdk.js +117 -117
- package/dist/plugin/provider/claude-agent/claude/fork.js +2 -2
- package/dist/plugin/provider/claude-agent/claude/io.js +4 -4
- package/dist/plugin/provider/claude-agent/claude/probe.js +2 -2
- package/dist/plugin/provider/claude-agent/claude/query-options.js +4 -4
- package/dist/plugin/provider/claude-agent/claude/sdk.js +1 -1
- package/dist/plugin/provider/claude-agent/claude/session.js +4 -4
- package/dist/plugin/provider/claude-agent/claude/sessions.js +16 -16
- package/dist/plugin/provider/claude-agent/claude/status.js +9 -9
- package/dist/plugin/provider/claude-agent/index.js +145 -145
- package/dist/plugin/provider/claude-agent/instructions.js +114 -114
- package/dist/plugin/provider/claude-agent/integration.js +113 -113
- package/dist/plugin/provider/claude-agent/language-model/claude-agent-error.js +3 -3
- package/dist/plugin/provider/claude-agent/language-model/claude-agent-language-model.js +7 -7
- package/dist/plugin/provider/claude-agent/language-model/convert-claude-stream.js +6 -6
- package/dist/plugin/provider/claude-agent/language-model/convert-to-claude-message.js +1 -1
- package/dist/plugin/provider/claude-agent/language-model/request-kind.js +1 -1
- package/dist/plugin/provider/claude-agent/language-model/system-prompt.js +3 -3
- package/dist/plugin/provider/claude-agent/language-model/usage.js +5 -5
- package/dist/plugin/provider/claude-agent/provider.js +110 -110
- package/dist/plugin/provider/claude-agent/session.js +112 -112
- package/dist/plugin/provider/claude-agent/sync/catch-up.js +3 -3
- package/dist/plugin/provider/claude-agent/sync/checkpoints.js +2 -2
- package/dist/plugin/provider/claude-agent/sync/decide.js +2 -2
- package/dist/plugin/provider/claude-agent/sync/fingerprint.js +1 -1
- package/dist/plugin/provider/claude-agent/sync/record.js +3 -3
- package/dist/plugin/provider/claude-agent/tools/hooks.js +3 -3
- package/dist/plugin/provider/claude-agent/tools/names.js +3 -3
- package/dist/plugin/provider/claude-agent/tools/pending.js +3 -3
- package/dist/plugin/provider/claude-agent/tools/result.js +3 -3
- package/dist/plugin/provider/claude-agent/tools/server.js +4 -4
- package/dist/plugin/provider/cloudflare-ai-gateway.js +128 -128
- package/dist/plugin/provider/cloudflare-workers-ai.js +128 -128
- package/dist/plugin/provider/configured.js +126 -126
- package/dist/plugin/provider/credential-settings.js +85 -85
- package/dist/plugin/provider/databricks.js +1 -1
- package/dist/plugin/provider/digitalocean.js +108 -108
- package/dist/plugin/provider/dynamic.js +2 -2
- package/dist/plugin/provider/github-copilot.js +110 -110
- package/dist/plugin/provider/gitlab.js +107 -107
- package/dist/plugin/provider/google-vertex.js +127 -127
- package/dist/plugin/provider/kilo.js +1 -1
- package/dist/plugin/provider/llmgateway.js +89 -89
- package/dist/plugin/provider/lmstudio.js +139 -139
- package/dist/plugin/provider/local.js +136 -136
- package/dist/plugin/provider/modal.js +107 -107
- package/dist/plugin/provider/neon.js +1 -1
- package/dist/plugin/provider/nvidia.js +1 -1
- package/dist/plugin/provider/ollama.js +139 -139
- package/dist/plugin/provider/openai-context-caps.js +103 -103
- package/dist/plugin/provider/openai.js +130 -130
- package/dist/plugin/provider/opencode.js +155 -132
- package/dist/plugin/provider/openrouter.js +104 -104
- package/dist/plugin/provider/poe.js +90 -90
- package/dist/plugin/provider/prompt-cache-key.js +1 -1
- package/dist/plugin/provider/refresh.js +87 -87
- package/dist/plugin/provider/sap-ai-core.js +104 -104
- package/dist/plugin/provider/sdk-factory.js +1 -1
- package/dist/plugin/provider/snowflake-cortex.js +129 -129
- package/dist/plugin/provider/vllm.js +139 -139
- package/dist/plugin/provider/xai.js +104 -104
- package/dist/plugin/provider/zenmux.js +1 -1
- package/dist/plugin/provider.js +234 -212
- package/dist/plugin/sdk.js +87 -87
- package/dist/plugin/service.js +3 -3
- package/dist/plugin/skill.js +149 -149
- package/dist/plugin/source-directory.js +1 -1
- package/dist/plugin/supervisor.js +409 -409
- package/dist/plugin/tool-input-repair.js +4 -4
- package/dist/plugin/update.js +6 -6
- package/dist/plugin/vcs/git.js +99 -99
- package/dist/plugin/vcs/hg.js +99 -99
- package/dist/plugin/verbosity.js +106 -106
- package/dist/plugin/warming.js +130 -130
- package/dist/plugin/websearch/exa.js +7 -7
- package/dist/plugin/websearch/firecrawl.js +8 -8
- package/dist/plugin/websearch/index.js +9 -9
- package/dist/plugin/websearch/mcp.js +6 -6
- package/dist/plugin/websearch/parallel.js +8 -8
- package/dist/plugin/websearch/tavily.js +4 -4
- package/dist/plugin/websearch/tinyfish.js +8 -8
- package/dist/plugin.js +243 -243
- package/dist/project/icon.js +5 -5
- package/dist/project/schema.js +2 -2
- package/dist/project/sql.js +4 -4
- package/dist/project.js +97 -97
- package/dist/provider.js +106 -106
- package/dist/pty/protocol.js +1 -1
- package/dist/pty/ticket.js +1 -1
- package/dist/pty.js +99 -99
- package/dist/reference/instructions.js +101 -101
- package/dist/reference.js +103 -103
- package/dist/repository-cache.js +93 -93
- package/dist/repository.js +1 -1
- package/dist/ripgrep/binary.js +2 -2
- package/dist/ripgrep.js +110 -110
- package/dist/rpc.js +99 -99
- package/dist/schedule/check.js +241 -241
- package/dist/schedule/sql.js +6 -6
- package/dist/schedule.js +249 -249
- package/dist/schema.js +1 -1
- package/dist/session/affinity.js +1 -1
- package/dist/session/background.js +1 -1
- package/dist/session/blob.js +129 -129
- package/dist/session/command.js +85 -85
- package/dist/session/compaction.js +169 -169
- package/dist/session/context.js +194 -194
- package/dist/session/diff.js +101 -101
- 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 +240 -240
- package/dist/session/execution.js +163 -163
- package/dist/session/generate.js +198 -198
- package/dist/session/history.js +136 -136
- package/dist/session/inbox.js +147 -147
- package/dist/session/info.js +3 -3
- package/dist/session/instruction-entry.js +88 -88
- package/dist/session/instruction-state.js +8 -8
- package/dist/session/instructions.js +143 -143
- package/dist/session/message-updater.js +4 -4
- package/dist/session/message.js +1 -1
- package/dist/session/model-request.js +166 -166
- package/dist/session/model-transport.js +7 -7
- package/dist/session/move.js +165 -165
- package/dist/session/projector.js +143 -143
- package/dist/session/prompt.js +148 -148
- package/dist/session/recent-text.js +1 -1
- package/dist/session/revert.js +139 -139
- package/dist/session/run-coordinator.js +3 -3
- package/dist/session/runner/index.js +3 -3
- package/dist/session/runner/llm.js +250 -250
- package/dist/session/runner/max-steps.js +1 -1
- package/dist/session/runner/model.js +113 -113
- package/dist/session/runner/publish-llm-event.js +149 -149
- package/dist/session/runner/retry.js +5 -5
- package/dist/session/runner/step.js +163 -163
- package/dist/session/runner/to-llm-message.js +137 -137
- package/dist/session/schema.js +1 -1
- package/dist/session/session.js +181 -181
- package/dist/session/shell.js +144 -144
- package/dist/session/skill.js +147 -147
- package/dist/session/sql.js +5 -5
- package/dist/session/stats.js +84 -84
- package/dist/session/store.js +142 -142
- package/dist/session/stored.js +2 -2
- package/dist/session/subagent-completion.js +3 -3
- package/dist/session/subagent-job.js +225 -225
- package/dist/session/system-prompt.js +5 -5
- package/dist/session/title.js +202 -202
- package/dist/session/to-session-error.js +148 -148
- package/dist/session/transfer.js +232 -232
- package/dist/session/usage.js +3 -3
- package/dist/session.js +225 -225
- package/dist/shared-cache.js +5 -5
- 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 +7 -7
- package/dist/shell.js +146 -146
- package/dist/skill/discovery.js +6 -6
- package/dist/skill/instructions.js +151 -151
- package/dist/skill.js +154 -154
- package/dist/snapshot.js +100 -100
- 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 +176 -176
- package/dist/tool/plugin/artifact.js +228 -228
- package/dist/tool/plugin/edit.js +164 -164
- package/dist/tool/plugin/file-diff.js +1 -1
- package/dist/tool/plugin/glob.js +168 -168
- package/dist/tool/plugin/grep.js +168 -168
- package/dist/tool/plugin/image-generate.js +239 -239
- package/dist/tool/plugin/mcp-resource.js +162 -162
- package/dist/tool/plugin/opencode.js +161 -161
- package/dist/tool/plugin/patch.js +166 -166
- package/dist/tool/plugin/question.js +144 -144
- package/dist/tool/plugin/read.js +171 -171
- package/dist/tool/plugin/schedule.js +247 -247
- package/dist/tool/plugin/shell.js +235 -235
- package/dist/tool/plugin/skill.js +155 -155
- package/dist/tool/plugin/subagent.js +236 -236
- package/dist/tool/plugin/todo.js +153 -153
- package/dist/tool/plugin/webfetch.js +157 -157
- package/dist/tool/plugin/websearch.js +149 -149
- package/dist/tool/plugin/write.js +164 -164
- package/dist/tool/read-filesystem.js +113 -113
- package/dist/tool/runtime.js +1 -1
- package/dist/tool-output.js +7 -7
- package/dist/tool.js +161 -161
- package/dist/types/plugin/provider/opencode.d.ts +3 -1
- package/dist/usage-limits.js +100 -100
- package/dist/util/error-summary.js +1 -1
- package/dist/util/git-executable.js +3 -3
- package/dist/util/lazy.js +1 -1
- package/dist/util/slug.js +1 -1
- package/dist/util/token.js +1 -1
- package/dist/util/which.js +1 -1
- package/dist/util/wildcard.js +1 -1
- package/dist/v1/config/agent.js +5 -5
- package/dist/v1/config/command.js +3 -3
- package/dist/v1/config/mcp.js +4 -4
- package/dist/v1/config/migrate.js +105 -105
- 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/variant.js +104 -104
- package/dist/vcs/patch.js +1 -1
- package/dist/vcs.js +102 -102
- package/dist/voice.js +101 -101
- package/dist/websearch.js +91 -91
- package/dist/wellknown/plugin.js +87 -87
- package/dist/wellknown.js +86 -86
- package/dist/workspace/driver.js +3 -3
- package/dist/workspace/sql.js +1 -1
- package/dist/workspace.js +87 -87
- package/dist/worktree/directory.js +2 -2
- package/dist/worktree/git.js +9 -9
- package/dist/worktree/sql.js +5 -5
- package/dist/worktree/strategies.js +102 -102
- package/dist/worktree.js +111 -111
- package/package.json +8 -8
- package/dist/chunks/command-f1m9n8xd.js +0 -26
- package/dist/chunks/command-grzehpz7.js +0 -18
- package/dist/chunks/command-pzc4vqfs.js +0 -261
- package/dist/chunks/command-y32xxt00.js +0 -16
- /package/dist/chunks/{command-0qkdqm5v.js → aisdk-native-0qkdqm5v.js} +0 -0
- /package/dist/chunks/{command-0zkw76rk.js → aisdk-native-0zkw76rk.js} +0 -0
- /package/dist/chunks/{command-17cy0kzp.js → aisdk-native-17cy0kzp.js} +0 -0
- /package/dist/chunks/{command-1cnp2v09.js → aisdk-native-1cnp2v09.js} +0 -0
- /package/dist/chunks/{command-1kah00gy.js → aisdk-native-1kah00gy.js} +0 -0
- /package/dist/chunks/{command-1pevy3nx.js → aisdk-native-1pevy3nx.js} +0 -0
- /package/dist/chunks/{command-24dcb14g.js → aisdk-native-24dcb14g.js} +0 -0
- /package/dist/chunks/{command-2710q6r3.js → aisdk-native-2710q6r3.js} +0 -0
- /package/dist/chunks/{command-2bv980vf.js → aisdk-native-2bv980vf.js} +0 -0
- /package/dist/chunks/{command-2c3vjs8z.js → aisdk-native-2c3vjs8z.js} +0 -0
- /package/dist/chunks/{command-359p4xyc.js → aisdk-native-359p4xyc.js} +0 -0
- /package/dist/chunks/{command-3asan66x.js → aisdk-native-3asan66x.js} +0 -0
- /package/dist/chunks/{command-3v8g72cx.js → aisdk-native-3v8g72cx.js} +0 -0
- /package/dist/chunks/{command-3wcehsnq.js → aisdk-native-3wcehsnq.js} +0 -0
- /package/dist/chunks/{command-43n2bw4t.js → aisdk-native-43n2bw4t.js} +0 -0
- /package/dist/chunks/{command-4knz6hnm.js → aisdk-native-4knz6hnm.js} +0 -0
- /package/dist/chunks/{command-4qk9sjk2.js → aisdk-native-4qk9sjk2.js} +0 -0
- /package/dist/chunks/{command-4vcrnpx2.js → aisdk-native-4vcrnpx2.js} +0 -0
- /package/dist/chunks/{command-4y7fprxs.js → aisdk-native-4y7fprxs.js} +0 -0
- /package/dist/chunks/{command-53557ph1.js → aisdk-native-53557ph1.js} +0 -0
- /package/dist/chunks/{command-550bvhaj.js → aisdk-native-550bvhaj.js} +0 -0
- /package/dist/chunks/{command-5w3e23ze.js → aisdk-native-5w3e23ze.js} +0 -0
- /package/dist/chunks/{command-6agm2x70.js → aisdk-native-6agm2x70.js} +0 -0
- /package/dist/chunks/{command-6prwharc.js → aisdk-native-6prwharc.js} +0 -0
- /package/dist/chunks/{command-6q2bdcd1.js → aisdk-native-6q2bdcd1.js} +0 -0
- /package/dist/chunks/{command-7akdwqpd.js → aisdk-native-7akdwqpd.js} +0 -0
- /package/dist/chunks/{command-7m9af43g.js → aisdk-native-7m9af43g.js} +0 -0
- /package/dist/chunks/{command-822emrt2.js → aisdk-native-822emrt2.js} +0 -0
- /package/dist/chunks/{command-84wd9syh.js → aisdk-native-84wd9syh.js} +0 -0
- /package/dist/chunks/{command-88xbtdfr.js → aisdk-native-88xbtdfr.js} +0 -0
- /package/dist/chunks/{command-8n3pysct.js → aisdk-native-8n3pysct.js} +0 -0
- /package/dist/chunks/{command-8wj87zfr.js → aisdk-native-8wj87zfr.js} +0 -0
- /package/dist/chunks/{command-9a4afbnw.js → aisdk-native-9a4afbnw.js} +0 -0
- /package/dist/chunks/{command-9rqn6x4v.js → aisdk-native-9rqn6x4v.js} +0 -0
- /package/dist/chunks/{command-a6k6eb26.js → aisdk-native-a6k6eb26.js} +0 -0
- /package/dist/chunks/{command-af5trqkr.js → aisdk-native-af5trqkr.js} +0 -0
- /package/dist/chunks/{command-afrmfg78.js → aisdk-native-afrmfg78.js} +0 -0
- /package/dist/chunks/{command-aqzs7mqg.js → aisdk-native-aqzs7mqg.js} +0 -0
- /package/dist/chunks/{command-atq7p7m5.js → aisdk-native-atq7p7m5.js} +0 -0
- /package/dist/chunks/{command-beh6qq61.js → aisdk-native-beh6qq61.js} +0 -0
- /package/dist/chunks/{command-bkyjaxrp.js → aisdk-native-bkyjaxrp.js} +0 -0
- /package/dist/chunks/{command-bmr6ed5q.js → aisdk-native-bmr6ed5q.js} +0 -0
- /package/dist/chunks/{command-cf4snx6d.js → aisdk-native-cf4snx6d.js} +0 -0
- /package/dist/chunks/{command-cqv5kn06.js → aisdk-native-cqv5kn06.js} +0 -0
- /package/dist/chunks/{command-cvy3z8tj.js → aisdk-native-cvy3z8tj.js} +0 -0
- /package/dist/chunks/{command-d9fn303g.js → aisdk-native-d9fn303g.js} +0 -0
- /package/dist/chunks/{command-d9jj8t3e.js → aisdk-native-d9jj8t3e.js} +0 -0
- /package/dist/chunks/{command-dap0rakb.js → aisdk-native-dap0rakb.js} +0 -0
- /package/dist/chunks/{command-dbht28n9.js → aisdk-native-dbht28n9.js} +0 -0
- /package/dist/chunks/{command-df08tz66.js → aisdk-native-df08tz66.js} +0 -0
- /package/dist/chunks/{command-dy18nga0.js → aisdk-native-dy18nga0.js} +0 -0
- /package/dist/chunks/{command-e5kj55wp.js → aisdk-native-e5kj55wp.js} +0 -0
- /package/dist/chunks/{command-e73j6tqm.js → aisdk-native-e73j6tqm.js} +0 -0
- /package/dist/chunks/{command-ean2d8b5.js → aisdk-native-ean2d8b5.js} +0 -0
- /package/dist/chunks/{command-ec1grn59.js → aisdk-native-ec1grn59.js} +0 -0
- /package/dist/chunks/{command-eh3zwz77.js → aisdk-native-eh3zwz77.js} +0 -0
- /package/dist/chunks/{command-emrn6kk6.js → aisdk-native-emrn6kk6.js} +0 -0
- /package/dist/chunks/{command-f0mxakyp.js → aisdk-native-f0mxakyp.js} +0 -0
- /package/dist/chunks/{command-f6n9ztr4.js → aisdk-native-f6n9ztr4.js} +0 -0
- /package/dist/chunks/{command-faypxj3z.js → aisdk-native-faypxj3z.js} +0 -0
- /package/dist/chunks/{command-fd410y7t.js → aisdk-native-fd410y7t.js} +0 -0
- /package/dist/chunks/{command-fkpq3x5p.js → aisdk-native-fkpq3x5p.js} +0 -0
- /package/dist/chunks/{command-g4wezp1m.js → aisdk-native-g4wezp1m.js} +0 -0
- /package/dist/chunks/{command-g86h250q.js → aisdk-native-g86h250q.js} +0 -0
- /package/dist/chunks/{command-gebd4c9n.js → aisdk-native-gebd4c9n.js} +0 -0
- /package/dist/chunks/{command-gftt206x.js → aisdk-native-gftt206x.js} +0 -0
- /package/dist/chunks/{command-hcxmzztb.js → aisdk-native-hcxmzztb.js} +0 -0
- /package/dist/chunks/{command-hk9envan.js → aisdk-native-hk9envan.js} +0 -0
- /package/dist/chunks/{command-j2ntwpah.js → aisdk-native-j2ntwpah.js} +0 -0
- /package/dist/chunks/{command-j5zkgpj8.js → aisdk-native-j5zkgpj8.js} +0 -0
- /package/dist/chunks/{command-jjkms2e6.js → aisdk-native-jjkms2e6.js} +0 -0
- /package/dist/chunks/{command-jr7sbwjy.js → aisdk-native-jr7sbwjy.js} +0 -0
- /package/dist/chunks/{command-jwfs4k6c.js → aisdk-native-jwfs4k6c.js} +0 -0
- /package/dist/chunks/{command-jwr30sdr.js → aisdk-native-jwr30sdr.js} +0 -0
- /package/dist/chunks/{command-jzg6c2d5.js → aisdk-native-jzg6c2d5.js} +0 -0
- /package/dist/chunks/{command-m18g726c.js → aisdk-native-m18g726c.js} +0 -0
- /package/dist/chunks/{command-mp448xyj.js → aisdk-native-mp448xyj.js} +0 -0
- /package/dist/chunks/{command-msx8hqn2.js → aisdk-native-msx8hqn2.js} +0 -0
- /package/dist/chunks/{command-n05xt0ee.js → aisdk-native-n05xt0ee.js} +0 -0
- /package/dist/chunks/{command-n3j8tn72.js → aisdk-native-n3j8tn72.js} +0 -0
- /package/dist/chunks/{command-nh4v3znn.js → aisdk-native-nh4v3znn.js} +0 -0
- /package/dist/chunks/{command-njntx4h6.js → aisdk-native-njntx4h6.js} +0 -0
- /package/dist/chunks/{command-p71gwv9c.js → aisdk-native-p71gwv9c.js} +0 -0
- /package/dist/chunks/{command-q3sfg36h.js → aisdk-native-q3sfg36h.js} +0 -0
- /package/dist/chunks/{command-q74kybfr.js → aisdk-native-q74kybfr.js} +0 -0
- /package/dist/chunks/{command-qaymkmh1.js → aisdk-native-qaymkmh1.js} +0 -0
- /package/dist/chunks/{command-qb87gjwd.js → aisdk-native-qb87gjwd.js} +0 -0
- /package/dist/chunks/{command-qfa1cgps.js → aisdk-native-qfa1cgps.js} +0 -0
- /package/dist/chunks/{command-qg3g05ea.js → aisdk-native-qg3g05ea.js} +0 -0
- /package/dist/chunks/{command-qrg20bc0.js → aisdk-native-qrg20bc0.js} +0 -0
- /package/dist/chunks/{command-qtf35215.js → aisdk-native-qtf35215.js} +0 -0
- /package/dist/chunks/{command-rcb2kzg1.js → aisdk-native-rcb2kzg1.js} +0 -0
- /package/dist/chunks/{command-sdp7kfr6.js → aisdk-native-sdp7kfr6.js} +0 -0
- /package/dist/chunks/{command-ssg3fenm.js → aisdk-native-ssg3fenm.js} +0 -0
- /package/dist/chunks/{command-syrav9an.js → aisdk-native-syrav9an.js} +0 -0
- /package/dist/chunks/{command-t03h4f5z.js → aisdk-native-t03h4f5z.js} +0 -0
- /package/dist/chunks/{command-ty7weeps.js → aisdk-native-ty7weeps.js} +0 -0
- /package/dist/chunks/{command-ve7vex1e.js → aisdk-native-ve7vex1e.js} +0 -0
- /package/dist/chunks/{command-vtarvj67.js → aisdk-native-vtarvj67.js} +0 -0
- /package/dist/chunks/{command-w803qqfp.js → aisdk-native-w803qqfp.js} +0 -0
- /package/dist/chunks/{command-wc3fc9cn.js → aisdk-native-wc3fc9cn.js} +0 -0
- /package/dist/chunks/{command-wer8tq1h.js → aisdk-native-wer8tq1h.js} +0 -0
- /package/dist/chunks/{command-wtztk69x.js → aisdk-native-wtztk69x.js} +0 -0
- /package/dist/chunks/{command-x0ckcb58.js → aisdk-native-x0ckcb58.js} +0 -0
- /package/dist/chunks/{command-x61499pn.js → aisdk-native-x61499pn.js} +0 -0
- /package/dist/chunks/{command-y44na4kk.js → aisdk-native-y44na4kk.js} +0 -0
- /package/dist/chunks/{command-y8f7s663.js → aisdk-native-y8f7s663.js} +0 -0
- /package/dist/chunks/{command-ygaqb7jw.js → aisdk-native-ygaqb7jw.js} +0 -0
- /package/dist/chunks/{command-z5v4ffb3.js → aisdk-native-z5v4ffb3.js} +0 -0
- /package/dist/chunks/{command-z9919s4g.js → aisdk-native-z9919s4g.js} +0 -0
|
@@ -1,46 +1,64 @@
|
|
|
1
1
|
import {
|
|
2
2
|
useragent2
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./aisdk-native-y70dfn3t.js";
|
|
4
4
|
import {
|
|
5
5
|
Service89
|
|
6
|
-
} from "./
|
|
6
|
+
} from "./aisdk-native-2e4erxay.js";
|
|
7
7
|
import {
|
|
8
8
|
ID21,
|
|
9
9
|
OAuth3,
|
|
10
10
|
Event20
|
|
11
|
-
} from "./
|
|
11
|
+
} from "./aisdk-native-sbh593mg.js";
|
|
12
|
+
import {
|
|
13
|
+
AbsolutePath2
|
|
14
|
+
} from "./aisdk-native-z5v4ffb3.js";
|
|
12
15
|
import {
|
|
13
16
|
key2
|
|
14
|
-
} from "./
|
|
17
|
+
} from "./aisdk-native-mzm8bzzq.js";
|
|
15
18
|
import {
|
|
16
19
|
ID20,
|
|
17
20
|
MethodID2,
|
|
18
21
|
AuthorizationError2
|
|
19
|
-
} from "./
|
|
22
|
+
} from "./aisdk-native-rzdqhsac.js";
|
|
20
23
|
import {
|
|
21
24
|
ID17
|
|
22
|
-
} from "./
|
|
25
|
+
} from "./aisdk-native-emngcw9w.js";
|
|
23
26
|
import {
|
|
24
27
|
Remote3,
|
|
25
28
|
Document3,
|
|
26
29
|
make32
|
|
27
|
-
} from "./
|
|
30
|
+
} from "./aisdk-native-r17fbvme.js";
|
|
28
31
|
import {
|
|
29
|
-
|
|
30
|
-
} from "./
|
|
32
|
+
Service77
|
|
33
|
+
} from "./aisdk-native-mfd6jzyx.js";
|
|
31
34
|
import {
|
|
32
35
|
integrate2
|
|
33
|
-
} from "./
|
|
36
|
+
} from "./aisdk-native-1gg3xp55.js";
|
|
37
|
+
import {
|
|
38
|
+
uri2,
|
|
39
|
+
Service49
|
|
40
|
+
} from "./aisdk-native-m7m5pkx7.js";
|
|
41
|
+
import {
|
|
42
|
+
parse2
|
|
43
|
+
} from "./aisdk-native-2jtfv2y7.js";
|
|
34
44
|
import {
|
|
35
45
|
defaultServer2,
|
|
36
46
|
server2,
|
|
37
47
|
headers2
|
|
38
|
-
} from "./
|
|
48
|
+
} from "./aisdk-native-kt3bjfbg.js";
|
|
49
|
+
import {
|
|
50
|
+
File2,
|
|
51
|
+
Service45
|
|
52
|
+
} from "./aisdk-native-f040m6d7.js";
|
|
53
|
+
import {
|
|
54
|
+
isSafeSegment2,
|
|
55
|
+
isSafeRelativePath2
|
|
56
|
+
} from "./aisdk-native-3adw4bt5.js";
|
|
39
57
|
import {
|
|
40
58
|
ID7,
|
|
41
59
|
Input15,
|
|
42
60
|
Response2
|
|
43
|
-
} from "./
|
|
61
|
+
} from "./aisdk-native-h6nmk6np.js";
|
|
44
62
|
|
|
45
63
|
// src/plugin/provider/opencode.ts
|
|
46
64
|
import { Clock, Duration, Effect, Equal, FiberHandle, Option, Schema, Scope, Semaphore, Stream } from "effect";
|
|
@@ -72,6 +90,18 @@ var SsoRequired = Schema.Struct({
|
|
|
72
90
|
});
|
|
73
91
|
var InvalidGrant = Schema.Struct({ error: Schema.Literal("invalid_grant") });
|
|
74
92
|
var Unauthorized = Schema.Struct({ _tag: Schema.Literal("Unauthorized") });
|
|
93
|
+
var Library = Schema.Struct({
|
|
94
|
+
instructions: Schema.Array(Schema.Struct({ id: Schema.String, content: Schema.String })).pipe(Schema.optional),
|
|
95
|
+
skills: Schema.Array(Schema.Struct({ slug: Schema.String, version: Schema.String })).pipe(Schema.optional)
|
|
96
|
+
});
|
|
97
|
+
var ConsoleConfig = Schema.Struct({
|
|
98
|
+
...Remote3.fields,
|
|
99
|
+
library: Schema.Unknown.pipe(Schema.optional)
|
|
100
|
+
});
|
|
101
|
+
var SkillBundle = Schema.Struct({
|
|
102
|
+
slug: Schema.String,
|
|
103
|
+
files: Schema.Array(Schema.Struct({ path: Schema.String, content: Schema.String }))
|
|
104
|
+
});
|
|
75
105
|
var signedOutMessage = "Reconnect OpenCode Console to continue";
|
|
76
106
|
var ssoMessage = (organization) => `Sign in with SSO again to use ${organization ?? "your OpenCode Console organization"}`;
|
|
77
107
|
|
|
@@ -159,10 +189,16 @@ var OpencodePlugin2 = define({
|
|
|
159
189
|
const bus = yield* Service89;
|
|
160
190
|
const client = yield* HttpClient.HttpClient;
|
|
161
191
|
const http = HttpClient.mapRequest(client, HttpClientRequest.setHeader("User-Agent", useragent2(ctx.app)));
|
|
162
|
-
const config = yield*
|
|
192
|
+
const config = yield* Service77;
|
|
193
|
+
const discovery = yield* Service45;
|
|
194
|
+
const skills = yield* Service49;
|
|
163
195
|
const scope = yield* Scope.Scope;
|
|
164
196
|
const loading = Semaphore.makeUnsafe(1);
|
|
165
197
|
let snapshot = { remote: undefined, connection: undefined, organization: undefined };
|
|
198
|
+
let instructions = [];
|
|
199
|
+
let librarySkills = { owner: "", items: [] };
|
|
200
|
+
const owner = (from) => `${key2(from.connection) ?? ""}:${from.organization ?? ""}`;
|
|
201
|
+
const skillDownload = yield* FiberHandle.make();
|
|
166
202
|
let reported;
|
|
167
203
|
let explainers = [];
|
|
168
204
|
let checked = Number.NEGATIVE_INFINITY;
|
|
@@ -199,13 +235,35 @@ var OpencodePlugin2 = define({
|
|
|
199
235
|
integrated = (yield* config.entries()).find((entry) => entry instanceof Document3 && entry.integrationID === ID20.make("opencode"));
|
|
200
236
|
});
|
|
201
237
|
const publish = Effect.fnUntraced(function* (next) {
|
|
202
|
-
|
|
238
|
+
const document = next.remote && next.connection && make32({
|
|
203
239
|
integrationID: ID20.make("opencode"),
|
|
204
240
|
connection: next.connection.type === "credential" ? { ...next.connection, id: ID21.make(next.connection.id) } : next.connection,
|
|
205
241
|
organization: next.organization,
|
|
206
242
|
info: next.remote
|
|
207
|
-
})
|
|
243
|
+
});
|
|
244
|
+
yield* integrate(document);
|
|
245
|
+
yield* syncLibrary(next, document !== undefined && (!config.integration || integrated === document));
|
|
208
246
|
});
|
|
247
|
+
const syncLibrary = (next, allowed) => {
|
|
248
|
+
const library = allowed ? Option.getOrUndefined(Schema.decodeUnknownOption(Library)(next.remote?.library)) : undefined;
|
|
249
|
+
instructions = (library?.instructions ?? []).map((item) => new File2({ path: `OpenCode Console instruction ${item.id}`, content: item.content }));
|
|
250
|
+
if (!allowed)
|
|
251
|
+
librarySkills = { owner: "", items: [] };
|
|
252
|
+
return FiberHandle.run(skillDownload, loadSkills(next.connection, library?.skills ?? []).pipe(Effect.flatMap((loaded) => {
|
|
253
|
+
librarySkills = { owner: owner(next), items: loaded };
|
|
254
|
+
return skills.reload();
|
|
255
|
+
})));
|
|
256
|
+
};
|
|
257
|
+
const loadSkills = Effect.fnUntraced(function* (connection, listed) {
|
|
258
|
+
if (listed.length === 0 || !connection)
|
|
259
|
+
return [];
|
|
260
|
+
const credential = yield* ctx.integration.connection.resolve(connection);
|
|
261
|
+
if (!credential || credential.type === "external")
|
|
262
|
+
return [];
|
|
263
|
+
const server = yield* normalizeServer(server2(credential));
|
|
264
|
+
const loaded = yield* Effect.forEach(listed, (item) => downloadSkill(http, server, item.slug, headers2(credential)).pipe(Effect.catch((cause) => Effect.logWarning("failed to load Console skill", { slug: item.slug, cause }).pipe(Effect.as(undefined)))), { concurrency: 8 });
|
|
265
|
+
return loaded.filter((item) => item !== undefined);
|
|
266
|
+
}, Effect.catch((cause) => Effect.logWarning("failed to load Console skills", { cause }).pipe(Effect.as([]))));
|
|
209
267
|
const search = (providerID, connection) => ({
|
|
210
268
|
id: providerID,
|
|
211
269
|
name: "OpenCode Web Search",
|
|
@@ -280,14 +338,17 @@ var OpencodePlugin2 = define({
|
|
|
280
338
|
if (snapshot.remote?.websearch && snapshot.remote.websearch.provider === provider && snapshot.connection)
|
|
281
339
|
editor.add(search(provider, snapshot.connection));
|
|
282
340
|
});
|
|
341
|
+
yield* discovery.transform((editor) => instructions.forEach((file) => editor.add(file)));
|
|
342
|
+
yield* skills.transform((editor) => {
|
|
343
|
+
if (librarySkills.owner !== owner(snapshot))
|
|
344
|
+
return;
|
|
345
|
+
librarySkills.items.forEach((item) => editor.add(item.skill, item.files));
|
|
346
|
+
});
|
|
283
347
|
const apply = Effect.fn("OpencodePlugin.apply")(function* (next) {
|
|
284
348
|
snapshot = next;
|
|
285
349
|
yield* publish(next);
|
|
286
350
|
yield* guard(next);
|
|
287
|
-
yield* Effect.all([ctx.provider.reload(), ctx.websearch.reload(), ctx.mcp.reload()], {
|
|
288
|
-
concurrency: 3,
|
|
289
|
-
discard: true
|
|
290
|
-
});
|
|
351
|
+
yield* Effect.all([ctx.provider.reload(), ctx.websearch.reload(), ctx.mcp.reload(), discovery.reload(), skills.reload()], { concurrency: 5, discard: true });
|
|
291
352
|
});
|
|
292
353
|
const refresh = () => loading.withPermit(load().pipe(Effect.andThen(apply)));
|
|
293
354
|
const check = (maxAge = Duration.zero) => loading.withPermit(Effect.gen(function* () {
|
|
@@ -314,10 +375,7 @@ var OpencodePlugin2 = define({
|
|
|
314
375
|
});
|
|
315
376
|
const guard = Effect.fn("OpencodePlugin.guard")(function* (next) {
|
|
316
377
|
yield* Effect.forEach(explainers, (registration) => registration.dispose, { discard: true });
|
|
317
|
-
explainers = yield* Effect.forEach(next.connection ? new Set([
|
|
318
|
-
ID17.opencode,
|
|
319
|
-
...Object.keys(next.remote?.providers ?? {})
|
|
320
|
-
]) : [], (providerID) => ctx.session.hook("http.response", explain, { providerID }).pipe(Scope.provide(scope)));
|
|
378
|
+
explainers = yield* Effect.forEach(next.connection ? new Set([ID17.opencode, ...Object.keys(next.remote?.providers ?? {})]) : [], (providerID) => ctx.session.hook("http.response", explain, { providerID }).pipe(Scope.provide(scope)));
|
|
321
379
|
});
|
|
322
380
|
yield* guard(snapshot);
|
|
323
381
|
const polling = yield* FiberHandle.make();
|
|
@@ -350,7 +408,7 @@ function fetchConfig(http, value) {
|
|
|
350
408
|
});
|
|
351
409
|
}
|
|
352
410
|
const body = yield* HttpClientResponse.filterStatusOk(response).pipe(Effect.flatMap((ok) => ok.json));
|
|
353
|
-
return yield* Schema.decodeUnknownEffect(
|
|
411
|
+
return yield* Schema.decodeUnknownEffect(ConsoleConfig)(body);
|
|
354
412
|
})), Effect.scoped);
|
|
355
413
|
}
|
|
356
414
|
function ssoUrl(server, connectionID) {
|
|
@@ -373,6 +431,28 @@ function connectionStatus(cause) {
|
|
|
373
431
|
function organizationName(credential) {
|
|
374
432
|
return typeof credential.metadata?.orgName === "string" ? credential.metadata.orgName : undefined;
|
|
375
433
|
}
|
|
434
|
+
function downloadSkill(http, server, slug, headers) {
|
|
435
|
+
return Effect.gen(function* () {
|
|
436
|
+
if (!isSafeSegment2(slug))
|
|
437
|
+
return yield* Effect.fail(new Error(`unsafe skill slug: ${slug}`));
|
|
438
|
+
const bundle = yield* HttpClient.withScope(HttpClient.filterStatusOk(http)).execute(HttpClientRequest.get(`${server}/api/v2/library/skills/${encodeURIComponent(slug)}`).pipe(HttpClientRequest.acceptJson, HttpClientRequest.setHeaders(headers))).pipe(Effect.provideService(FetchHttpClient.RequestInit, { redirect: "error" }), Effect.flatMap(HttpClientResponse.schemaBodyJson(SkillBundle)), Effect.scoped, Effect.timeout("30 seconds"));
|
|
439
|
+
if (bundle.slug !== slug)
|
|
440
|
+
return yield* Effect.fail(new Error(`expected skill ${slug}, received ${bundle.slug}`));
|
|
441
|
+
const unsafe = bundle.files.find((file) => !isSafeRelativePath2(file.path));
|
|
442
|
+
if (unsafe)
|
|
443
|
+
return yield* Effect.fail(new Error(`unsafe skill file path: ${unsafe.path}`));
|
|
444
|
+
const main = bundle.files.find((file) => file.path === "SKILL.md");
|
|
445
|
+
if (!main)
|
|
446
|
+
return yield* Effect.fail(new Error(`skill ${slug} has no SKILL.md`));
|
|
447
|
+
const parsed = parse2(`/${slug}`, `/${slug}/SKILL.md`, main.content);
|
|
448
|
+
if (parsed._tag !== "Parsed")
|
|
449
|
+
return yield* Effect.fail(new Error(`skill ${slug} has an invalid SKILL.md`));
|
|
450
|
+
return {
|
|
451
|
+
skill: { ...parsed.skill, path: AbsolutePath2.make(uri2(slug, "SKILL.md")) },
|
|
452
|
+
files: Object.fromEntries(bundle.files.filter((file) => file.path !== "SKILL.md").map((file) => [file.path, file.content]))
|
|
453
|
+
};
|
|
454
|
+
});
|
|
455
|
+
}
|
|
376
456
|
function normalizeServer(input) {
|
|
377
457
|
return Effect.try({
|
|
378
458
|
try: () => {
|
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
import {
|
|
2
2
|
WebSocketConstructor2
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./aisdk-native-syrav9an.js";
|
|
4
4
|
import {
|
|
5
5
|
__export
|
|
6
|
-
} from "./
|
|
6
|
+
} from "./aisdk-native-9rqn6x4v.js";
|
|
7
7
|
|
|
8
8
|
// src/effect/app-node-platform.ts
|
|
9
9
|
var exports_app_node_platform = {};
|
|
@@ -1,41 +1,41 @@
|
|
|
1
1
|
import {
|
|
2
2
|
makeUnsafe2
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./aisdk-native-4d2dtj2f.js";
|
|
4
4
|
import {
|
|
5
5
|
Service89,
|
|
6
6
|
node92
|
|
7
|
-
} from "./
|
|
7
|
+
} from "./aisdk-native-2e4erxay.js";
|
|
8
8
|
import {
|
|
9
9
|
Event20,
|
|
10
10
|
Service87,
|
|
11
11
|
node90
|
|
12
|
-
} from "./
|
|
12
|
+
} from "./aisdk-native-sbh593mg.js";
|
|
13
13
|
import {
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
} from "./
|
|
14
|
+
Service83,
|
|
15
|
+
node86
|
|
16
|
+
} from "./aisdk-native-fqff4ckk.js";
|
|
17
17
|
import {
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
} from "./
|
|
18
|
+
Service74,
|
|
19
|
+
node76
|
|
20
|
+
} from "./aisdk-native-64a6yh9c.js";
|
|
21
21
|
import {
|
|
22
22
|
ID22,
|
|
23
23
|
Service88,
|
|
24
24
|
node91
|
|
25
|
-
} from "./
|
|
25
|
+
} from "./aisdk-native-6bx3h70m.js";
|
|
26
26
|
import {
|
|
27
27
|
reconcile2,
|
|
28
28
|
create4
|
|
29
|
-
} from "./
|
|
29
|
+
} from "./aisdk-native-40y6dtc2.js";
|
|
30
30
|
import {
|
|
31
31
|
ID20,
|
|
32
32
|
MethodID2,
|
|
33
33
|
Service86,
|
|
34
34
|
node89
|
|
35
|
-
} from "./
|
|
35
|
+
} from "./aisdk-native-rzdqhsac.js";
|
|
36
36
|
import {
|
|
37
37
|
__export
|
|
38
|
-
} from "./
|
|
38
|
+
} from "./aisdk-native-9rqn6x4v.js";
|
|
39
39
|
|
|
40
40
|
// src/mcp/index.ts
|
|
41
41
|
var exports_mcp4 = {};
|
|
@@ -49,12 +49,12 @@ __export(exports_mcp4, {
|
|
|
49
49
|
ResourceContent: () => ResourceContent2,
|
|
50
50
|
ResourceTemplate: () => ResourceTemplate2,
|
|
51
51
|
ServerName: () => ServerName2,
|
|
52
|
-
Service: () =>
|
|
52
|
+
Service: () => Service39,
|
|
53
53
|
Status: () => Status3,
|
|
54
54
|
ToolCallError: () => ToolCallError2,
|
|
55
55
|
configured: () => configured4,
|
|
56
56
|
layer: () => layer17,
|
|
57
|
-
node: () =>
|
|
57
|
+
node: () => node43
|
|
58
58
|
});
|
|
59
59
|
import { Mcp } from "@opencode/schema/mcp";
|
|
60
60
|
import { McpEvent } from "@opencode/schema/mcp-event";
|
|
@@ -118,7 +118,7 @@ var URL_ELICITATION_FIELD_KEY = "elicitation";
|
|
|
118
118
|
var endpointLoads = makeUnsafe2();
|
|
119
119
|
var cloneConfig = (config) => structuredClone(config);
|
|
120
120
|
|
|
121
|
-
class
|
|
121
|
+
class Service39 extends Context.Service()("@opencode/MCP") {
|
|
122
122
|
}
|
|
123
123
|
var Options4 = Schema.Struct({
|
|
124
124
|
clientInfo: Schema.optional(Schema.Struct({
|
|
@@ -126,9 +126,9 @@ var Options4 = Schema.Struct({
|
|
|
126
126
|
version: Schema.String
|
|
127
127
|
}))
|
|
128
128
|
});
|
|
129
|
-
var layer17 = (options) => Layer.effect(
|
|
130
|
-
const location = yield*
|
|
131
|
-
const environment = yield*
|
|
129
|
+
var layer17 = (options) => Layer.effect(Service39, Effect.gen(function* () {
|
|
130
|
+
const location = yield* Service83;
|
|
131
|
+
const environment = yield* Service74;
|
|
132
132
|
const bus = yield* Service89;
|
|
133
133
|
const forms = yield* Service88;
|
|
134
134
|
const integration = yield* Service86;
|
|
@@ -289,7 +289,7 @@ var layer17 = (options) => Layer.effect(Service38, Effect.gen(function* () {
|
|
|
289
289
|
entry.scope = scope;
|
|
290
290
|
const authProvider = yield* connectProvider(entry);
|
|
291
291
|
const { McpClient } = yield* Effect.promise(() => import("../mcp/client.js"));
|
|
292
|
-
const load = McpClient.connect(name, entry.config, location.directory, authProvider, elicitation, options?.clientInfo).pipe(Effect.flatMap((connection) => connection.tools().pipe(Effect.map((tools) => ({ connection, tools })))), Effect.provideService(
|
|
292
|
+
const load = McpClient.connect(name, entry.config, location.directory, authProvider, elicitation, options?.clientInfo).pipe(Effect.flatMap((connection) => connection.tools().pipe(Effect.map((tools) => ({ connection, tools })))), Effect.provideService(Service74, environment), Scope.provide(scope));
|
|
293
293
|
const result = yield* (entry.config.type === "remote" ? endpointLoads.withLock(entry.config.url)(load) : load).pipe(Effect.exit);
|
|
294
294
|
if (Exit.isSuccess(result)) {
|
|
295
295
|
entry.client = result.value.connection;
|
|
@@ -395,7 +395,7 @@ var layer17 = (options) => Layer.effect(Service38, Effect.gen(function* () {
|
|
|
395
395
|
let closed = false;
|
|
396
396
|
const result = yield* McpClient.connect(name, { type: "attached", transport }, location.directory, undefined, elicitation, options?.clientInfo).pipe(Effect.tap((connection) => Effect.sync(() => connection.onClose(() => {
|
|
397
397
|
closed = true;
|
|
398
|
-
}))), Effect.flatMap((connection) => connection.tools().pipe(Effect.map((tools) => ({ connection, tools })))), Effect.provideService(
|
|
398
|
+
}))), Effect.flatMap((connection) => connection.tools().pipe(Effect.map((tools) => ({ connection, tools })))), Effect.provideService(Service74, environment), Scope.provide(scope), Effect.onError(() => Scope.close(scope, Exit.void)), Effect.mapError((error) => error instanceof McpClient.ConnectError ? error : new McpClient.ConnectError({ server: name, message: error.message })));
|
|
399
399
|
const register = Effect.gen(function* () {
|
|
400
400
|
if (closed) {
|
|
401
401
|
yield* Scope.close(scope, Exit.void);
|
|
@@ -502,7 +502,7 @@ var layer17 = (options) => Layer.effect(Service38, Effect.gen(function* () {
|
|
|
502
502
|
}),
|
|
503
503
|
notify: () => reconcile2(root, fork, () => reconcileLock.withPermit(reconcile()))
|
|
504
504
|
});
|
|
505
|
-
return
|
|
505
|
+
return Service39.of({
|
|
506
506
|
transform: state.transform,
|
|
507
507
|
reload: state.reload,
|
|
508
508
|
servers: Effect.fn("MCP.servers")(function* () {
|
|
@@ -646,12 +646,12 @@ function mergeCatalogs(catalogs) {
|
|
|
646
646
|
}
|
|
647
647
|
function configured4(options) {
|
|
648
648
|
return makeLocationNode({
|
|
649
|
-
service:
|
|
649
|
+
service: Service39,
|
|
650
650
|
layer: layer17(options),
|
|
651
|
-
deps: [
|
|
651
|
+
deps: [node86, node76, node92, node91, node89, node90]
|
|
652
652
|
});
|
|
653
653
|
}
|
|
654
|
-
var
|
|
654
|
+
var node43 = configured4();
|
|
655
655
|
function toElicitationField(key, property, required) {
|
|
656
656
|
const machineTitle = /^(boolean|string|number|integer|array|object)(\s+with\b.*|\s+in\b.*)?$/i;
|
|
657
657
|
const title = property.title && !machineTitle.test(property.title.trim()) ? property.title : property.description ?? key;
|
|
@@ -702,4 +702,4 @@ function toElicitationField(key, property, required) {
|
|
|
702
702
|
}
|
|
703
703
|
}
|
|
704
704
|
|
|
705
|
-
export { ServerName2, PromptsChanged2, Status3, Resource2, ResourceTemplate2, ResourceCatalog2, ResourceContent2, NotFoundError6, ToolCallError2,
|
|
705
|
+
export { ServerName2, PromptsChanged2, Status3, Resource2, ResourceTemplate2, ResourceCatalog2, ResourceContent2, NotFoundError6, ToolCallError2, Service39, Options4, layer17, configured4, node43, exports_mcp4 };
|
|
@@ -1,28 +1,28 @@
|
|
|
1
1
|
import {
|
|
2
2
|
Service89,
|
|
3
3
|
node92
|
|
4
|
-
} from "./
|
|
4
|
+
} from "./aisdk-native-2e4erxay.js";
|
|
5
5
|
import {
|
|
6
6
|
lazy2
|
|
7
|
-
} from "./
|
|
7
|
+
} from "./aisdk-native-88xbtdfr.js";
|
|
8
8
|
import {
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
} from "./
|
|
9
|
+
Service83,
|
|
10
|
+
node86
|
|
11
|
+
} from "./aisdk-native-fqff4ckk.js";
|
|
12
12
|
import {
|
|
13
|
-
|
|
13
|
+
Service73,
|
|
14
14
|
login2,
|
|
15
|
-
|
|
16
|
-
} from "./
|
|
15
|
+
node75
|
|
16
|
+
} from "./aisdk-native-8btjkewv.js";
|
|
17
17
|
import {
|
|
18
18
|
__export
|
|
19
|
-
} from "./
|
|
19
|
+
} from "./aisdk-native-9rqn6x4v.js";
|
|
20
20
|
|
|
21
21
|
// src/pty.ts
|
|
22
22
|
var exports_pty = {};
|
|
23
23
|
__export(exports_pty, {
|
|
24
24
|
CreateInput: () => CreateInput2,
|
|
25
|
-
Event: () =>
|
|
25
|
+
Event: () => Event3,
|
|
26
26
|
ExitedError: () => ExitedError2,
|
|
27
27
|
ID: () => ID4,
|
|
28
28
|
Info: () => Info3,
|
|
@@ -35,7 +35,7 @@ __export(exports_pty, {
|
|
|
35
35
|
import { makeLocationNode } from "@opencode/util/effect/app-node";
|
|
36
36
|
import { Context, Effect, Layer, Schema } from "effect";
|
|
37
37
|
import { Pty } from "@opencode/schema/pty";
|
|
38
|
-
import { Event as
|
|
38
|
+
import { Event as Event3 } from "@opencode/schema/pty";
|
|
39
39
|
var BUFFER_LIMIT = 1024 * 1024 * 2;
|
|
40
40
|
var EXITED_LIMIT = 25;
|
|
41
41
|
var pty = lazy2(() => import("#pty"));
|
|
@@ -58,8 +58,8 @@ class Service15 extends Context.Service()("@opencode/Pty") {
|
|
|
58
58
|
}
|
|
59
59
|
var layer = Layer.effect(Service15, Effect.gen(function* () {
|
|
60
60
|
const bus = yield* Service89;
|
|
61
|
-
const location = yield*
|
|
62
|
-
const shell = yield*
|
|
61
|
+
const location = yield* Service83;
|
|
62
|
+
const shell = yield* Service73;
|
|
63
63
|
const context = yield* Effect.context();
|
|
64
64
|
const runFork = Effect.runForkWith(context);
|
|
65
65
|
const sessions = new Map;
|
|
@@ -272,7 +272,7 @@ var layer = Layer.effect(Service15, Effect.gen(function* () {
|
|
|
272
272
|
var node17 = makeLocationNode({
|
|
273
273
|
service: Service15,
|
|
274
274
|
layer,
|
|
275
|
-
deps: [node92,
|
|
275
|
+
deps: [node92, node86, node75]
|
|
276
276
|
});
|
|
277
277
|
|
|
278
|
-
export { ID4, Info3, CreateInput2, UpdateInput2, NotFoundError2, ExitedError2, Service15, node17, exports_pty,
|
|
278
|
+
export { ID4, Info3, CreateInput2, UpdateInput2, NotFoundError2, ExitedError2, Service15, node17, exports_pty, Event3 };
|
|
@@ -1,15 +1,15 @@
|
|
|
1
1
|
import {
|
|
2
2
|
definition2,
|
|
3
3
|
normalizeContent2
|
|
4
|
-
} from "./
|
|
4
|
+
} from "./aisdk-native-dbht28n9.js";
|
|
5
5
|
import {
|
|
6
6
|
__export
|
|
7
|
-
} from "./
|
|
7
|
+
} from "./aisdk-native-9rqn6x4v.js";
|
|
8
8
|
|
|
9
9
|
// src/plugin/tool-input-repair.ts
|
|
10
10
|
var exports_tool_input_repair = {};
|
|
11
11
|
__export(exports_tool_input_repair, {
|
|
12
|
-
Plugin: () =>
|
|
12
|
+
Plugin: () => Plugin51,
|
|
13
13
|
ToolInputRepairPlugin: () => exports_tool_input_repair
|
|
14
14
|
});
|
|
15
15
|
import { ToolFailure } from "@opencode/ai/effect";
|
|
@@ -18,7 +18,7 @@ import { Effect, Option, Predicate, Schema } from "effect";
|
|
|
18
18
|
var decodeJson = Schema.decodeUnknownOption(Schema.fromJsonString(Schema.Unknown));
|
|
19
19
|
var maxDepth = 6;
|
|
20
20
|
var aliases = new Map([["bash", "shell"]]);
|
|
21
|
-
var
|
|
21
|
+
var Plugin51 = define({
|
|
22
22
|
id: "opencode.tool.input.repair",
|
|
23
23
|
effect: (ctx) => Effect.gen(function* () {
|
|
24
24
|
const aliased = new Map;
|
|
@@ -153,4 +153,4 @@ function repairArray(value, schema, root, depth) {
|
|
|
153
153
|
return compatible ? [repaired] : value;
|
|
154
154
|
}
|
|
155
155
|
|
|
156
|
-
export {
|
|
156
|
+
export { Plugin51, exports_tool_input_repair };
|
|
@@ -1,29 +1,29 @@
|
|
|
1
1
|
import {
|
|
2
|
-
|
|
3
|
-
} from "./
|
|
2
|
+
Service77
|
|
3
|
+
} from "./aisdk-native-mfd6jzyx.js";
|
|
4
4
|
import {
|
|
5
|
-
|
|
6
|
-
} from "./
|
|
5
|
+
Service11
|
|
6
|
+
} from "./aisdk-native-vq0qa3sh.js";
|
|
7
7
|
import {
|
|
8
8
|
observe2
|
|
9
|
-
} from "./
|
|
9
|
+
} from "./aisdk-native-hpg1pkwy.js";
|
|
10
10
|
import {
|
|
11
11
|
__export
|
|
12
|
-
} from "./
|
|
12
|
+
} from "./aisdk-native-9rqn6x4v.js";
|
|
13
13
|
|
|
14
14
|
// src/config/plugin/location-watcher.ts
|
|
15
15
|
var exports_location_watcher = {};
|
|
16
16
|
__export(exports_location_watcher, {
|
|
17
17
|
ConfigLocationWatcherPlugin: () => exports_location_watcher,
|
|
18
|
-
Plugin: () =>
|
|
18
|
+
Plugin: () => Plugin9
|
|
19
19
|
});
|
|
20
20
|
import { define } from "@opencode/plugin/effect/plugin";
|
|
21
21
|
import { Effect } from "effect";
|
|
22
|
-
var
|
|
22
|
+
var Plugin9 = define({
|
|
23
23
|
id: "opencode.config.location-watcher",
|
|
24
24
|
effect: Effect.fn(function* (ctx) {
|
|
25
|
-
const config = yield*
|
|
26
|
-
const policy = yield*
|
|
25
|
+
const config = yield* Service77;
|
|
26
|
+
const policy = yield* Service11;
|
|
27
27
|
const loaded = yield* observe2(config, ctx.event, policy.reload());
|
|
28
28
|
yield* policy.transform((editor) => {
|
|
29
29
|
for (const entry of loaded.entries) {
|
|
@@ -35,4 +35,4 @@ var Plugin47 = define({
|
|
|
35
35
|
})
|
|
36
36
|
});
|
|
37
37
|
|
|
38
|
-
export {
|
|
38
|
+
export { Plugin9, exports_location_watcher };
|
|
@@ -1,23 +1,23 @@
|
|
|
1
1
|
import {
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
} from "./
|
|
2
|
+
Service44,
|
|
3
|
+
node47
|
|
4
|
+
} from "./aisdk-native-q3a78a6s.js";
|
|
5
5
|
import {
|
|
6
6
|
Key3,
|
|
7
7
|
removed2,
|
|
8
8
|
make30,
|
|
9
9
|
diffByKey2
|
|
10
|
-
} from "./
|
|
10
|
+
} from "./aisdk-native-z0hqw6m5.js";
|
|
11
11
|
import {
|
|
12
12
|
__export
|
|
13
|
-
} from "./
|
|
13
|
+
} from "./aisdk-native-9rqn6x4v.js";
|
|
14
14
|
|
|
15
15
|
// src/reference/instructions.ts
|
|
16
|
-
var
|
|
17
|
-
__export(
|
|
18
|
-
ReferenceInstructions: () =>
|
|
19
|
-
Service: () =>
|
|
20
|
-
node: () =>
|
|
16
|
+
var exports_instructions4 = {};
|
|
17
|
+
__export(exports_instructions4, {
|
|
18
|
+
ReferenceInstructions: () => exports_instructions4,
|
|
19
|
+
Service: () => Service32,
|
|
20
|
+
node: () => node35
|
|
21
21
|
});
|
|
22
22
|
import { makeLocationNode } from "@opencode/util/effect/app-node";
|
|
23
23
|
import { Context, Effect, Layer, Schema } from "effect";
|
|
@@ -61,11 +61,11 @@ var update = (previous, current) => {
|
|
|
61
61
|
`);
|
|
62
62
|
};
|
|
63
63
|
|
|
64
|
-
class
|
|
64
|
+
class Service32 extends Context.Service()("@opencode/ReferenceInstructions") {
|
|
65
65
|
}
|
|
66
|
-
var layer = Layer.effect(
|
|
67
|
-
const references = yield*
|
|
68
|
-
return
|
|
66
|
+
var layer = Layer.effect(Service32, Effect.gen(function* () {
|
|
67
|
+
const references = yield* Service44;
|
|
68
|
+
return Service32.of({
|
|
69
69
|
load: Effect.fn("ReferenceInstructions.load")(function* () {
|
|
70
70
|
const available = (yield* references.list()).filter((reference) => reference.description !== undefined).map((reference) => ({
|
|
71
71
|
name: reference.name,
|
|
@@ -85,6 +85,6 @@ var layer = Layer.effect(Service40, Effect.gen(function* () {
|
|
|
85
85
|
})
|
|
86
86
|
});
|
|
87
87
|
}));
|
|
88
|
-
var
|
|
88
|
+
var node35 = makeLocationNode({ service: Service32, layer, deps: [node47] });
|
|
89
89
|
|
|
90
|
-
export {
|
|
90
|
+
export { Service32, node35, exports_instructions4 };
|