@opencode/core 0.0.0-dev-1074 → 0.0.0-dev-1111
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 +94 -94
- package/dist/aisdk-native.js +102 -102
- package/dist/aisdk.js +108 -108
- package/dist/app.js +11 -11
- package/dist/artifact.js +253 -253
- package/dist/bus.js +84 -84
- package/dist/chunks/{flag-anwt6rn6.js → aisdk-native-00g3c2ed.js} +5 -5
- package/dist/chunks/{flag-v8gdxbgn.js → aisdk-native-02bxxz2d.js} +25 -25
- package/dist/chunks/{flag-034tev2y.js → aisdk-native-034tev2y.js} +2 -2
- package/dist/chunks/{flag-ztjcysxb.js → aisdk-native-07wjybke.js} +11 -11
- package/dist/chunks/{flag-0j7gp832.js → aisdk-native-0j7gp832.js} +1 -1
- package/dist/chunks/{flag-0ma9gw4f.js → aisdk-native-0ma9gw4f.js} +2 -2
- package/dist/chunks/{flag-awnn6p4w.js → aisdk-native-0mjtfw9v.js} +28 -28
- package/dist/chunks/{flag-69kfgtv8.js → aisdk-native-0n4f881y.js} +14 -14
- package/dist/chunks/{flag-xtsk5bdt.js → aisdk-native-0syw9ann.js} +11 -11
- package/dist/chunks/{flag-y5w9jtb1.js → aisdk-native-0tv7yy8x.js} +8 -8
- package/dist/chunks/{flag-v88k3e1r.js → aisdk-native-0v6wj5wv.js} +5 -5
- package/dist/chunks/{flag-1903bv4e.js → aisdk-native-14nt1rpz.js} +8 -8
- package/dist/chunks/{flag-y81zskp9.js → aisdk-native-1698d9wf.js} +11 -11
- package/dist/chunks/{flag-xzjweb72.js → aisdk-native-16rfwke7.js} +26 -26
- package/dist/chunks/{flag-17b8a7h3.js → aisdk-native-18b1hh0p.js} +8 -8
- package/dist/chunks/{flag-qdshsf4w.js → aisdk-native-18bjp7mw.js} +7 -7
- package/dist/chunks/{flag-1aqsckx4.js → aisdk-native-1aqsckx4.js} +1 -1
- package/dist/chunks/{flag-h2pzz84q.js → aisdk-native-1dqth3v4.js} +11 -11
- package/dist/chunks/{flag-1ep2p91f.js → aisdk-native-1ep2p91f.js} +2 -2
- package/dist/chunks/{flag-qzch5wfa.js → aisdk-native-1gd5xt62.js} +39 -39
- package/dist/chunks/{flag-zsr0j9xc.js → aisdk-native-1h03f94m.js} +6 -6
- package/dist/chunks/{flag-1fk5m7tx.js → aisdk-native-1r3wq0ks.js} +15 -15
- package/dist/chunks/{flag-1x2knyw4.js → aisdk-native-1x2knyw4.js} +1 -1
- package/dist/chunks/{flag-1yq9hg58.js → aisdk-native-1yq9hg58.js} +1 -1
- package/dist/chunks/aisdk-native-1zw0dqfw.js +577 -0
- package/dist/chunks/{flag-kzhqjt3b.js → aisdk-native-202pny9t.js} +75 -75
- package/dist/chunks/{flag-zcv8sgyy.js → aisdk-native-21y8varj.js} +14 -14
- package/dist/chunks/{flag-82k687r2.js → aisdk-native-23g2v6a5.js} +36 -36
- package/dist/chunks/{flag-nysrxf73.js → aisdk-native-25xhd05w.js} +12 -12
- package/dist/chunks/{flag-tb2mrvc9.js → aisdk-native-26wfx3k0.js} +4 -4
- package/dist/chunks/aisdk-native-28yt5ya3.js +35 -0
- package/dist/chunks/{flag-33r1frnd.js → aisdk-native-29qfgj0t.js} +16 -16
- package/dist/chunks/{flag-2fc7eemy.js → aisdk-native-2fc7eemy.js} +1 -1
- package/dist/chunks/{flag-0m1bhm6r.js → aisdk-native-2kzntcdv.js} +7 -7
- package/dist/chunks/{flag-ym36e6ms.js → aisdk-native-2vd7ekax.js} +14 -14
- package/dist/chunks/{flag-yfmbdz01.js → aisdk-native-2y8q1569.js} +6 -6
- package/dist/chunks/{flag-tf9r37f3.js → aisdk-native-31avdb49.js} +11 -11
- package/dist/chunks/{flag-8h2dhp77.js → aisdk-native-34mfhm97.js} +6 -6
- package/dist/chunks/{flag-365eavge.js → aisdk-native-365eavge.js} +1 -1
- package/dist/chunks/{flag-0kwzgdeb.js → aisdk-native-36mdzn0r.js} +38 -38
- package/dist/chunks/{flag-jwarzfk1.js → aisdk-native-37cs6e8g.js} +21 -21
- package/dist/chunks/{flag-90ct6wq4.js → aisdk-native-38aws4xb.js} +4 -4
- package/dist/chunks/{flag-3adw4bt5.js → aisdk-native-3adw4bt5.js} +2 -2
- package/dist/chunks/{flag-v8dhzynh.js → aisdk-native-3hdamdeh.js} +28 -19
- package/dist/chunks/{flag-3hepkmqq.js → aisdk-native-3hepkmqq.js} +1 -1
- package/dist/chunks/{flag-yvqbfgs2.js → aisdk-native-3mbpge38.js} +25 -25
- package/dist/chunks/{flag-3nnrz6f6.js → aisdk-native-3nnrz6f6.js} +1 -1
- package/dist/chunks/{flag-8t99kr38.js → aisdk-native-3qgwywyc.js} +4 -4
- package/dist/chunks/{flag-h4mysg09.js → aisdk-native-3rtgrtmn.js} +13 -13
- package/dist/chunks/{flag-40y6dtc2.js → aisdk-native-40y6dtc2.js} +1 -1
- package/dist/chunks/{flag-40za9wsf.js → aisdk-native-40za9wsf.js} +2 -2
- package/dist/chunks/{flag-mbk8h3wg.js → aisdk-native-43tas341.js} +9 -9
- package/dist/chunks/{flag-13r4fayz.js → aisdk-native-47j3s8nt.js} +22 -22
- package/dist/chunks/{flag-qfct020g.js → aisdk-native-4cr9mwkv.js} +16 -16
- package/dist/chunks/{flag-4dx1dgte.js → aisdk-native-4dx1dgte.js} +1 -1
- package/dist/chunks/{flag-4f25tdd0.js → aisdk-native-4f25tdd0.js} +1 -1
- package/dist/chunks/{flag-wgntp26c.js → aisdk-native-4js5r4sx.js} +48 -30
- package/dist/chunks/{flag-4pyp9zr9.js → aisdk-native-4pyp9zr9.js} +1 -1
- package/dist/chunks/{flag-4v008n1t.js → aisdk-native-4v008n1t.js} +1 -1
- package/dist/chunks/{flag-m79wmg2b.js → aisdk-native-4zr1bjes.js} +3 -3
- package/dist/chunks/{flag-60bnsg3p.js → aisdk-native-598sh59j.js} +20 -20
- package/dist/chunks/{flag-n7q3rp51.js → aisdk-native-5ag7yr1g.js} +99 -34
- package/dist/chunks/{flag-hhrn2a5y.js → aisdk-native-5eqxyycn.js} +6 -6
- package/dist/chunks/{flag-5m9w47nd.js → aisdk-native-5m9w47nd.js} +1 -1
- package/dist/chunks/{flag-t2w8e7sf.js → aisdk-native-5sc0cpz3.js} +35 -35
- package/dist/chunks/{flag-8cg7mtm3.js → aisdk-native-5whx36p1.js} +4 -4
- package/dist/chunks/{flag-62b0mtf4.js → aisdk-native-62b0mtf4.js} +2 -2
- package/dist/chunks/{flag-p7wsn8hq.js → aisdk-native-637vjx5s.js} +23 -23
- package/dist/chunks/{flag-bnwjjayw.js → aisdk-native-63s55wzb.js} +21 -21
- package/dist/chunks/{flag-6cqkw5v2.js → aisdk-native-6cqkw5v2.js} +3 -3
- package/dist/chunks/{flag-ctmpqb7w.js → aisdk-native-6h8vcvjm.js} +9 -9
- package/dist/chunks/{flag-de19fg2d.js → aisdk-native-6smg55w6.js} +27 -27
- package/dist/chunks/{flag-fqz5xkqs.js → aisdk-native-6t5fxrm7.js} +74 -71
- package/dist/chunks/{flag-6y2b864j.js → aisdk-native-6y2b864j.js} +1 -1
- package/dist/chunks/{flag-775hqbnd.js → aisdk-native-775hqbnd.js} +3 -3
- package/dist/chunks/{flag-7bmhse3q.js → aisdk-native-7bmhse3q.js} +1 -1
- package/dist/chunks/{flag-10pn4eb5.js → aisdk-native-7nb8tm12.js} +5 -5
- package/dist/chunks/{flag-xfh1sx4x.js → aisdk-native-7tht3xc2.js} +5 -5
- package/dist/chunks/{flag-7w2ypzdf.js → aisdk-native-7w2ypzdf.js} +1 -1
- package/dist/chunks/{flag-7weczvnd.js → aisdk-native-7weczvnd.js} +1 -1
- package/dist/chunks/{flag-be1w1smn.js → aisdk-native-7xeg25jm.js} +59 -47
- package/dist/chunks/{flag-80pdk984.js → aisdk-native-80pdk984.js} +1 -1
- package/dist/chunks/{flag-bq4t7p48.js → aisdk-native-829vjkdr.js} +8 -8
- package/dist/chunks/{flag-85jq8dht.js → aisdk-native-85jq8dht.js} +1 -1
- package/dist/chunks/{flag-8b3vzgkx.js → aisdk-native-8b3vzgkx.js} +1 -1
- package/dist/chunks/{flag-a34m2tj3.js → aisdk-native-8ca44myh.js} +11 -11
- package/dist/chunks/{flag-160yv0cs.js → aisdk-native-8d2bz6m6.js} +8 -8
- package/dist/chunks/{flag-1x0b376f.js → aisdk-native-8e6dqnrn.js} +83 -83
- package/dist/chunks/{flag-8sxe6kv8.js → aisdk-native-8sxe6kv8.js} +2 -2
- package/dist/chunks/{flag-r5xncg2p.js → aisdk-native-8tajxrj1.js} +6 -6
- package/dist/chunks/{flag-8wtp7s3z.js → aisdk-native-8wtp7s3z.js} +1 -1
- package/dist/chunks/{flag-8zv0xmg5.js → aisdk-native-8zv0xmg5.js} +1 -1
- package/dist/chunks/{flag-749r8arz.js → aisdk-native-90w2m1xz.js} +31 -31
- package/dist/chunks/aisdk-native-9g2ys3b7.js +26 -0
- package/dist/chunks/{flag-3k5g6q0g.js → aisdk-native-9jxt3xxw.js} +23 -23
- package/dist/chunks/{flag-t48jrnqq.js → aisdk-native-9rqfe4ad.js} +3 -3
- package/dist/chunks/{flag-fp8qaqcz.js → aisdk-native-9s77w5z0.js} +8 -8
- package/dist/chunks/{flag-78p2h4ex.js → aisdk-native-9zwexsxs.js} +5 -5
- package/dist/chunks/{flag-0cvmjxzj.js → aisdk-native-a1sevdk6.js} +4 -5
- package/dist/chunks/{flag-ygfne632.js → aisdk-native-a3kxchp0.js} +4 -4
- package/dist/chunks/{flag-rb6qnysm.js → aisdk-native-abjsxjmd.js} +11 -11
- package/dist/chunks/{flag-rf3vkmdk.js → aisdk-native-agfw8dfz.js} +33 -33
- package/dist/chunks/{flag-d3hxh1w7.js → aisdk-native-ahp81d9m.js} +11 -11
- package/dist/chunks/{flag-1ty3xv4a.js → aisdk-native-apc6x4sm.js} +18 -18
- package/dist/chunks/{flag-bkd4s5n3.js → aisdk-native-axk3dw7d.js} +36 -36
- package/dist/chunks/{flag-eyv5mk44.js → aisdk-native-ay4jjcrz.js} +15 -15
- package/dist/chunks/{flag-ayjs7tqn.js → aisdk-native-ayjs7tqn.js} +2 -2
- package/dist/chunks/{flag-fcrd7kek.js → aisdk-native-azqdag7d.js} +4 -4
- package/dist/chunks/{flag-wd77xymj.js → aisdk-native-bbzccyj3.js} +46 -22
- package/dist/chunks/{flag-mym403hh.js → aisdk-native-bdv8sqrq.js} +1 -1
- package/dist/chunks/{flag-kc3vxs66.js → aisdk-native-bea45t5w.js} +5 -5
- package/dist/chunks/{flag-x945cdt3.js → aisdk-native-bjh036xb.js} +8 -8
- package/dist/chunks/{flag-ddxfxztf.js → aisdk-native-bn7h44f8.js} +26 -26
- package/dist/chunks/{flag-e4059ec9.js → aisdk-native-bsjedtqd.js} +6 -6
- package/dist/chunks/{flag-ef261vm2.js → aisdk-native-bvjn1me8.js} +24 -24
- package/dist/chunks/{flag-by8ty0bx.js → aisdk-native-by8ty0bx.js} +1 -1
- package/dist/chunks/{flag-p4dpe8bh.js → aisdk-native-c2xad5qx.js} +14 -14
- package/dist/chunks/{flag-mphfcbh2.js → aisdk-native-c3ag4hb1.js} +59 -59
- package/dist/chunks/{flag-c7cw818c.js → aisdk-native-c7cw818c.js} +2 -2
- package/dist/chunks/{flag-2nnyjy97.js → aisdk-native-cd3trqzw.js} +2 -2
- package/dist/chunks/{flag-zmv41ng7.js → aisdk-native-cfxw2rrg.js} +31 -31
- package/dist/chunks/{flag-jzpf4wf5.js → aisdk-native-cm1v4a1b.js} +6 -6
- package/dist/chunks/{flag-c6x7d2ts.js → aisdk-native-cpvd08na.js} +4 -4
- package/dist/chunks/{flag-cwrgdav8.js → aisdk-native-cwrgdav8.js} +2 -2
- package/dist/chunks/{flag-myrg2sx3.js → aisdk-native-cxa1k7he.js} +5 -5
- package/dist/chunks/{flag-h0a85q8s.js → aisdk-native-d449me36.js} +13 -13
- package/dist/chunks/{flag-d4v9tmah.js → aisdk-native-d4v9tmah.js} +2 -2
- package/dist/chunks/{flag-k93rj7bk.js → aisdk-native-d643aw01.js} +11 -11
- package/dist/chunks/{flag-6za54cjk.js → aisdk-native-d79eqrtj.js} +38 -38
- package/dist/chunks/{flag-9sjmchs9.js → aisdk-native-dacfsbkh.js} +22 -22
- package/dist/chunks/{flag-j0ctama5.js → aisdk-native-dapk8jjf.js} +18 -18
- package/dist/chunks/{flag-ecj07vsr.js → aisdk-native-dbwvxspc.js} +5 -5
- package/dist/chunks/{flag-1faxacy3.js → aisdk-native-dp9g7q6d.js} +20 -20
- package/dist/chunks/{flag-dt77769w.js → aisdk-native-dt77769w.js} +1 -1
- package/dist/chunks/{flag-1cnqgpws.js → aisdk-native-dy26v7fg.js} +16 -16
- package/dist/chunks/{flag-5qfz1mav.js → aisdk-native-e0f4qjd6.js} +12 -12
- package/dist/chunks/{flag-sxear5nx.js → aisdk-native-e1878b97.js} +17 -17
- package/dist/chunks/{flag-b23g5v4w.js → aisdk-native-e81761cv.js} +15 -15
- package/dist/chunks/{flag-69n0j3d0.js → aisdk-native-ebaqg280.js} +4 -4
- package/dist/chunks/{flag-c631swd6.js → aisdk-native-edc28t6h.js} +17 -17
- package/dist/chunks/{flag-f0ympyz5.js → aisdk-native-eecj8wjf.js} +15 -15
- package/dist/chunks/{flag-6ex4p21c.js → aisdk-native-enn3y25c.js} +14 -14
- package/dist/chunks/{flag-eqw4pqj1.js → aisdk-native-eqw4pqj1.js} +2 -2
- package/dist/chunks/{flag-nbe4xnz9.js → aisdk-native-ern7vk6v.js} +24 -24
- package/dist/chunks/{flag-0kpeq0we.js → aisdk-native-es13dbc0.js} +4 -4
- package/dist/chunks/{flag-5ym4qw1m.js → aisdk-native-estnn1yk.js} +18 -18
- package/dist/chunks/{flag-1qjvkd3v.js → aisdk-native-f6ezmy00.js} +19 -19
- package/dist/chunks/{flag-a5as8n7c.js → aisdk-native-f7n1b19c.js} +24 -24
- package/dist/chunks/{flag-pmgs19gv.js → aisdk-native-fd6deh55.js} +29 -29
- package/dist/chunks/{flag-fg9p65nk.js → aisdk-native-fg9p65nk.js} +2 -2
- package/dist/chunks/{flag-vbjndfas.js → aisdk-native-fmg2n0h6.js} +8 -8
- package/dist/chunks/{flag-6w8zbb77.js → aisdk-native-fwnc6hbh.js} +47 -44
- package/dist/chunks/{flag-wr3re1en.js → aisdk-native-fznmdakp.js} +4 -4
- package/dist/chunks/{flag-fyckznk3.js → aisdk-native-g0jk4ass.js} +25 -25
- package/dist/chunks/{flag-d4khjp6k.js → aisdk-native-g20ajjnr.js} +21 -21
- package/dist/chunks/{flag-23ef35a7.js → aisdk-native-g2fyxw2s.js} +9 -9
- package/dist/chunks/{flag-b26ddj6h.js → aisdk-native-g4txs7zc.js} +4 -4
- package/dist/chunks/{flag-rq33375m.js → aisdk-native-g8tvpr6n.js} +51 -46
- package/dist/chunks/{flag-dzxkcwf2.js → aisdk-native-gb6t3vj2.js} +11 -11
- package/dist/chunks/{flag-gbjdnr5j.js → aisdk-native-gbjdnr5j.js} +2 -2
- package/dist/chunks/{flag-5kk1xax8.js → aisdk-native-gcbvgrh1.js} +20 -20
- package/dist/chunks/{flag-6py65z06.js → aisdk-native-gg72beqr.js} +17 -17
- package/dist/chunks/{flag-ghrv1g9c.js → aisdk-native-ghrv1g9c.js} +1 -1
- package/dist/chunks/{flag-277htx7a.js → aisdk-native-gmpczngg.js} +25 -25
- package/dist/chunks/{flag-tnbe8zb9.js → aisdk-native-gnr7sg9c.js} +9 -9
- package/dist/chunks/{flag-2s9mae96.js → aisdk-native-gwyytpcj.js} +6 -6
- package/dist/chunks/{flag-gxs71cxp.js → aisdk-native-gxs71cxp.js} +1 -1
- package/dist/chunks/{flag-csztv6mn.js → aisdk-native-h2jdtca2.js} +10 -10
- package/dist/chunks/{flag-z0w9vd8h.js → aisdk-native-h3vrkr60.js} +23 -23
- package/dist/chunks/{flag-krq6hmv5.js → aisdk-native-h9hc66h4.js} +4 -4
- package/dist/chunks/{flag-7e7kydwc.js → aisdk-native-hfngfxea.js} +64 -39
- package/dist/chunks/{flag-hgzwgvze.js → aisdk-native-hgzwgvze.js} +2 -2
- package/dist/chunks/{flag-t0hc4t0r.js → aisdk-native-hkrp0y5j.js} +20 -20
- package/dist/chunks/{flag-2c6sxtb9.js → aisdk-native-hretfjjx.js} +2 -2
- package/dist/chunks/{flag-mb4tbnzd.js → aisdk-native-ht4q51j5.js} +1 -1
- package/dist/chunks/{flag-hsntjmej.js → aisdk-native-hv9jjg0j.js} +7 -7
- package/dist/chunks/{flag-8apzqgqr.js → aisdk-native-hwk0nzas.js} +10 -10
- package/dist/chunks/{flag-tx08s06b.js → aisdk-native-j2hrrfjs.js} +11 -11
- package/dist/chunks/{flag-tr8x705m.js → aisdk-native-j376ae4e.js} +5 -5
- package/dist/chunks/{flag-9909h7f5.js → aisdk-native-j3h0me22.js} +3 -3
- package/dist/chunks/{flag-j9nxzz3g.js → aisdk-native-j9nxzz3g.js} +3 -3
- package/dist/chunks/{flag-e71bb87j.js → aisdk-native-jc512s3p.js} +8 -8
- package/dist/chunks/{flag-tfsnnnpk.js → aisdk-native-jcfrb538.js} +9 -9
- package/dist/chunks/{flag-vve4apvj.js → aisdk-native-jdadahzq.js} +11 -11
- package/dist/chunks/{flag-48ywh6sc.js → aisdk-native-jf907k3w.js} +12 -12
- package/dist/chunks/{flag-wfdx5ztx.js → aisdk-native-jg11hrrc.js} +4 -4
- package/dist/chunks/{flag-jkdcm5hg.js → aisdk-native-jkdcm5hg.js} +1 -1
- package/dist/chunks/{flag-jm70asfg.js → aisdk-native-jm70asfg.js} +1 -1
- package/dist/chunks/{flag-n6fgs16y.js → aisdk-native-jn64m8av.js} +54 -54
- package/dist/chunks/{flag-44pmzq9c.js → aisdk-native-jxd6f16v.js} +2 -2
- package/dist/chunks/{flag-n2b2sxve.js → aisdk-native-k4dtcg9k.js} +42 -42
- package/dist/chunks/{flag-1pvtqtz6.js → aisdk-native-k6ajhc26.js} +188 -188
- package/dist/chunks/{flag-asqc9vne.js → aisdk-native-kabdjkhx.js} +8 -8
- package/dist/chunks/{flag-6t40r86m.js → aisdk-native-kb2zgvc1.js} +11 -11
- package/dist/chunks/{flag-kks1sbjd.js → aisdk-native-keynq1yx.js} +15 -15
- package/dist/chunks/{flag-y9r2j4dk.js → aisdk-native-kgcwncjv.js} +11 -11
- package/dist/chunks/{flag-kj9n5bvh.js → aisdk-native-kj9n5bvh.js} +1 -1
- package/dist/chunks/{flag-0q8fsvvw.js → aisdk-native-kkcyrw6y.js} +16 -16
- package/dist/chunks/{flag-nt907s04.js → aisdk-native-kn4zqwcq.js} +3 -3
- package/dist/chunks/{flag-kt3bjfbg.js → aisdk-native-kt3bjfbg.js} +1 -1
- package/dist/chunks/{flag-918txkc6.js → aisdk-native-kv9jy6rg.js} +20 -20
- package/dist/chunks/{flag-kzczzf4v.js → aisdk-native-kzczzf4v.js} +1 -1
- package/dist/chunks/{flag-kzdam8c6.js → aisdk-native-kzdam8c6.js} +2 -2
- package/dist/chunks/{flag-m1714858.js → aisdk-native-m1714858.js} +1 -1
- package/dist/chunks/{flag-htg0q2sg.js → aisdk-native-m27qf2y1.js} +59 -59
- package/dist/chunks/{flag-r413b5dt.js → aisdk-native-m3wswhjn.js} +18 -18
- package/dist/chunks/{flag-fstdtr31.js → aisdk-native-m7xh3h0x.js} +4 -4
- package/dist/chunks/{flag-yxynkdzd.js → aisdk-native-m81vewgw.js} +5 -5
- package/dist/chunks/{flag-m9w0rfyh.js → aisdk-native-m9w0rfyh.js} +1 -1
- package/dist/chunks/{flag-mb7mbhnz.js → aisdk-native-mb7mbhnz.js} +3 -3
- package/dist/chunks/{flag-bpfxs6nz.js → aisdk-native-mby6tksd.js} +5 -5
- package/dist/chunks/{flag-18y47bc0.js → aisdk-native-mcpdwn1e.js} +3 -3
- package/dist/chunks/aisdk-native-me0dhgxs.js +18 -0
- package/dist/chunks/{flag-h26hgerk.js → aisdk-native-me9et3sw.js} +33 -33
- package/dist/chunks/{flag-xe7df2tz.js → aisdk-native-mgajk1hc.js} +9 -9
- package/dist/chunks/{flag-w0avypsn.js → aisdk-native-mhs3my2j.js} +8 -8
- package/dist/chunks/{flag-y1f42pkz.js → aisdk-native-mjkjcadv.js} +18 -18
- package/dist/chunks/{flag-vpa563n1.js → aisdk-native-mjwgjcx3.js} +18 -18
- package/dist/chunks/{flag-xtv3hy5v.js → aisdk-native-mkwsmbwf.js} +32 -32
- package/dist/chunks/{flag-hj6fcrxw.js → aisdk-native-mm6cs6rc.js} +7 -7
- package/dist/chunks/{flag-ecwxhh4d.js → aisdk-native-mmcs0xt9.js} +15 -15
- package/dist/chunks/{flag-djyxf4fb.js → aisdk-native-mngvrfm2.js} +5 -5
- package/dist/chunks/{flag-w0rqan0q.js → aisdk-native-mva71h65.js} +25 -25
- package/dist/chunks/aisdk-native-n0f9xw0s.js +273 -0
- package/dist/chunks/{flag-qf5aknd5.js → aisdk-native-n2yrwpa3.js} +49 -49
- package/dist/chunks/{flag-63ch0rt9.js → aisdk-native-n4n0yfxw.js} +13 -13
- package/dist/chunks/{flag-9wbdrf72.js → aisdk-native-n6a2b8y9.js} +6 -6
- package/dist/chunks/{flag-51m2wpqb.js → aisdk-native-n8akpgyn.js} +3 -3
- package/dist/chunks/{flag-gh58psrt.js → aisdk-native-nmv886ps.js} +12 -12
- package/dist/chunks/{flag-3beq3wdw.js → aisdk-native-nv2c5e9q.js} +3 -3
- package/dist/chunks/{flag-vxp66wc3.js → aisdk-native-p40xkmk6.js} +36 -36
- package/dist/chunks/{flag-b5tshgn5.js → aisdk-native-p6bnftcn.js} +16 -16
- package/dist/chunks/{flag-mebsk1tv.js → aisdk-native-p7n1wteh.js} +24 -17
- package/dist/chunks/{flag-hhdkyhhw.js → aisdk-native-pbr6dek6.js} +5 -5
- package/dist/chunks/{flag-tzm8sen6.js → aisdk-native-pdmk6yvt.js} +41 -41
- package/dist/chunks/{flag-pknna89w.js → aisdk-native-pknna89w.js} +1 -1
- package/dist/chunks/{flag-fc0vyv5p.js → aisdk-native-q0symwq1.js} +56 -56
- package/dist/chunks/{flag-0f1bzeag.js → aisdk-native-q1gs1tw7.js} +3 -3
- package/dist/chunks/{flag-q42tzrxa.js → aisdk-native-q42tzrxa.js} +1 -1
- package/dist/chunks/{flag-t2jj1q7e.js → aisdk-native-q5p3a3y6.js} +6 -6
- package/dist/chunks/{flag-tz757gp5.js → aisdk-native-q68rk2kg.js} +29 -29
- package/dist/chunks/{flag-pzz9yege.js → aisdk-native-qbv9zet0.js} +22 -22
- package/dist/chunks/{flag-1zzk7pqc.js → aisdk-native-qesrazjh.js} +22 -22
- package/dist/chunks/{flag-yht0v6tc.js → aisdk-native-qgkbjryp.js} +24 -24
- package/dist/chunks/{flag-ze4fkgdz.js → aisdk-native-qgw9yw0d.js} +12 -12
- package/dist/chunks/{flag-qp7r0hxv.js → aisdk-native-qp7r0hxv.js} +1 -1
- package/dist/chunks/{flag-8jkrp6cd.js → aisdk-native-qvtwmp4v.js} +6 -6
- package/dist/chunks/{flag-gv1hzty8.js → aisdk-native-qy9zr1wf.js} +22 -22
- package/dist/chunks/{flag-qzgp0jr4.js → aisdk-native-qzgp0jr4.js} +1 -1
- package/dist/chunks/{flag-kr05as7n.js → aisdk-native-r4m5d1s2.js} +12 -12
- package/dist/chunks/{flag-n9ptaqng.js → aisdk-native-r5bmjjqg.js} +9 -9
- package/dist/chunks/{flag-rb9dy4dg.js → aisdk-native-rb9dy4dg.js} +1 -1
- package/dist/chunks/{flag-h5nm911w.js → aisdk-native-rcgfb69f.js} +15 -15
- package/dist/chunks/{flag-n5qh2tpm.js → aisdk-native-rfbfa0kp.js} +17 -17
- package/dist/chunks/{flag-5q95pcte.js → aisdk-native-rfg7ss5a.js} +18 -18
- package/dist/chunks/{flag-kb5gnmd0.js → aisdk-native-rg77pcwq.js} +13 -13
- package/dist/chunks/{flag-rgc9cx3e.js → aisdk-native-rgc9cx3e.js} +2 -2
- package/dist/chunks/{flag-prw0raw9.js → aisdk-native-rgr8n0qn.js} +7 -7
- package/dist/chunks/{flag-9a8agz88.js → aisdk-native-rhkw1j98.js} +43 -43
- package/dist/chunks/{flag-jd3xq71t.js → aisdk-native-rhqnsbkr.js} +12 -12
- package/dist/chunks/{flag-px7qpgcn.js → aisdk-native-rj7j5fvs.js} +4 -4
- package/dist/chunks/{flag-fze60c2f.js → aisdk-native-rw92j0zf.js} +12 -12
- package/dist/chunks/{flag-ed2vaebb.js → aisdk-native-rztkg5ma.js} +18 -18
- package/dist/chunks/{flag-mv034xfq.js → aisdk-native-rzy6jfey.js} +27 -27
- package/dist/chunks/{flag-b40zfh34.js → aisdk-native-s15qxh76.js} +10 -10
- package/dist/chunks/{flag-2p60zmnr.js → aisdk-native-s1ba0vj0.js} +2 -2
- package/dist/chunks/{flag-p6hyt91k.js → aisdk-native-s3kvm49m.js} +11 -11
- package/dist/chunks/{flag-t411jmby.js → aisdk-native-s3q7gd0a.js} +31 -31
- package/dist/chunks/{flag-n8kk02wn.js → aisdk-native-s4kyhetj.js} +3 -3
- package/dist/chunks/{flag-ngbtdw7d.js → aisdk-native-s4vk2d0f.js} +32 -32
- package/dist/chunks/{flag-7rxm668g.js → aisdk-native-s5htyxhy.js} +12 -12
- package/dist/chunks/{flag-3fvft6n0.js → aisdk-native-s6v54swn.js} +5 -11
- package/dist/chunks/{flag-sbya78hr.js → aisdk-native-sbya78hr.js} +1 -1
- package/dist/chunks/{flag-82c4hw63.js → aisdk-native-smxm5cyh.js} +5 -5
- package/dist/chunks/{flag-ck4z0wzc.js → aisdk-native-ssswv2mx.js} +5 -5
- package/dist/chunks/{flag-svcy3p9a.js → aisdk-native-svcy3p9a.js} +1 -1
- package/dist/chunks/{flag-xjr6c8m4.js → aisdk-native-t54kw4zq.js} +7 -7
- package/dist/chunks/{flag-bfmm6xpm.js → aisdk-native-t62dywgn.js} +6 -6
- package/dist/chunks/{flag-pvqrc4ed.js → aisdk-native-t7mrdx4b.js} +23 -23
- package/dist/chunks/{flag-nvqn0jgd.js → aisdk-native-t89gmwvs.js} +31 -31
- package/dist/chunks/{flag-tbpn7jtk.js → aisdk-native-tbpn7jtk.js} +1 -1
- package/dist/chunks/{flag-tczq8hjw.js → aisdk-native-tczq8hjw.js} +1 -1
- package/dist/chunks/{flag-y2e6369g.js → aisdk-native-tgmktj4t.js} +24 -18
- package/dist/chunks/{flag-ce0rhbcr.js → aisdk-native-tjw927s6.js} +43 -43
- package/dist/chunks/{flag-rz5vsqxg.js → aisdk-native-tjzz9sak.js} +26 -26
- package/dist/chunks/{flag-sa3qvtqf.js → aisdk-native-tkmhf8qc.js} +17 -17
- package/dist/chunks/{flag-yn38pgvr.js → aisdk-native-tn93zn7z.js} +11 -11
- package/dist/chunks/{flag-a0p5xek2.js → aisdk-native-ttcp4gmv.js} +12 -12
- package/dist/chunks/{flag-tvtps2q9.js → aisdk-native-tvtps2q9.js} +1 -1
- package/dist/chunks/{flag-twssxy5n.js → aisdk-native-twssxy5n.js} +2 -2
- package/dist/chunks/{flag-yqsf7wkv.js → aisdk-native-tzv43bb7.js} +19 -19
- package/dist/chunks/{flag-w35wzz9x.js → aisdk-native-v0t96s7a.js} +4 -4
- package/dist/chunks/{flag-0rdd31y4.js → aisdk-native-v0wevfvc.js} +4 -4
- package/dist/chunks/{flag-3mxnwz29.js → aisdk-native-v25k8025.js} +2 -2
- package/dist/chunks/{flag-v2r1d0zg.js → aisdk-native-v2r1d0zg.js} +1 -1
- package/dist/chunks/{flag-9bhwcwx3.js → aisdk-native-v5aw3sx5.js} +32 -32
- package/dist/chunks/{flag-5m7msdtz.js → aisdk-native-vcy5z73k.js} +35 -35
- package/dist/chunks/{flag-7y8hgd6s.js → aisdk-native-vd8gka9n.js} +29 -29
- package/dist/chunks/{flag-j269w22v.js → aisdk-native-vf4wgzf5.js} +6 -6
- package/dist/chunks/{flag-gajtttdk.js → aisdk-native-vgyyz51h.js} +3 -3
- package/dist/chunks/{flag-s5zrq09q.js → aisdk-native-vj50rhab.js} +8 -8
- package/dist/chunks/{flag-vjf35v1f.js → aisdk-native-vjf35v1f.js} +1 -1
- package/dist/chunks/{flag-6es1dp4c.js → aisdk-native-vm603gvn.js} +8 -8
- package/dist/chunks/{flag-yay1wkz3.js → aisdk-native-vq1wj1j8.js} +38 -38
- package/dist/chunks/{flag-bcm19mpq.js → aisdk-native-vrf7nrzm.js} +3 -3
- package/dist/chunks/{flag-w3wsvvr9.js → aisdk-native-w3wsvvr9.js} +1 -1
- package/dist/chunks/{flag-wakvkjy4.js → aisdk-native-wakvkjy4.js} +1 -1
- package/dist/chunks/{flag-wd87259q.js → aisdk-native-wd87259q.js} +1 -1
- package/dist/chunks/{flag-wegkxhrn.js → aisdk-native-wegkxhrn.js} +2 -2
- package/dist/chunks/{flag-93vd13pj.js → aisdk-native-wmcpspeh.js} +15 -15
- package/dist/chunks/{flag-e4ptapmk.js → aisdk-native-wtpx7qwd.js} +17 -17
- package/dist/chunks/{flag-d3r68fkq.js → aisdk-native-x3vaw11v.js} +11 -11
- package/dist/chunks/{flag-bstexjd6.js → aisdk-native-xd9cc171.js} +5 -5
- package/dist/chunks/{flag-8hdkvpj2.js → aisdk-native-xt9kkwbx.js} +6 -6
- package/dist/chunks/{flag-xz07m27x.js → aisdk-native-xz07m27x.js} +2 -2
- package/dist/chunks/{flag-0js2qngn.js → aisdk-native-y2sg5xsj.js} +46 -46
- package/dist/chunks/{flag-4mnrzaa3.js → aisdk-native-y5ken3zw.js} +46 -46
- package/dist/chunks/{flag-yb20nhc3.js → aisdk-native-yb20nhc3.js} +1 -1
- package/dist/chunks/{flag-28mt2z7k.js → aisdk-native-yb8qdwfh.js} +10 -10
- package/dist/chunks/{flag-1v2g13eq.js → aisdk-native-ybws1qgk.js} +4 -4
- package/dist/chunks/{flag-aa1hstq6.js → aisdk-native-ycn797ny.js} +23 -23
- package/dist/chunks/{flag-s3s53skt.js → aisdk-native-yerwdcc4.js} +12 -12
- package/dist/chunks/{flag-d7prbx9s.js → aisdk-native-yhk294c0.js} +17 -17
- package/dist/chunks/{flag-77cykhvt.js → aisdk-native-ymr2f7da.js} +46 -46
- package/dist/chunks/{flag-xbamcx65.js → aisdk-native-yqkr53xr.js} +19 -19
- package/dist/chunks/{flag-yr705xyq.js → aisdk-native-yr705xyq.js} +1 -1
- package/dist/chunks/{flag-w72kfpv0.js → aisdk-native-yrq5awh4.js} +1 -1
- package/dist/chunks/{flag-yvtc2x31.js → aisdk-native-yvtc2x31.js} +1 -1
- package/dist/chunks/{flag-jrr82f3r.js → aisdk-native-yy51safk.js} +19 -19
- package/dist/chunks/{flag-55jhk77d.js → aisdk-native-yydqqga9.js} +4 -4
- package/dist/chunks/{flag-r7xr30vf.js → aisdk-native-yyea42he.js} +5 -5
- package/dist/chunks/{flag-1hs6f0d4.js → aisdk-native-z4w9ra3c.js} +28 -28
- package/dist/chunks/{flag-b41p3mcf.js → aisdk-native-zab00x37.js} +29 -29
- package/dist/chunks/{flag-dqc4vexc.js → aisdk-native-zetjkv74.js} +14 -14
- package/dist/chunks/{flag-2vskb396.js → aisdk-native-zfnd2etp.js} +30 -30
- package/dist/chunks/aisdk-native-zfrsq1tf.js +115 -0
- package/dist/chunks/{flag-7hk66atm.js → aisdk-native-zv18v6ha.js} +5 -5
- package/dist/chunks/{flag-f0cr0yvp.js → aisdk-native-zwx55tz8.js} +34 -43
- package/dist/chunks/{flag-07er45j8.js → aisdk-native-zyfhsknv.js} +9 -9
- package/dist/codemode/catalog.js +1 -1
- package/dist/codemode/execution.js +1 -1
- package/dist/codemode/fetch.js +148 -148
- package/dist/codemode/instructions.js +3 -3
- package/dist/codemode/tool.js +155 -155
- package/dist/command.js +94 -94
- package/dist/config/discovery.js +95 -95
- package/dist/config/integration.js +3 -3
- 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 +131 -131
- package/dist/config/plugin/command.js +239 -239
- package/dist/config/plugin/compaction.js +173 -173
- package/dist/config/plugin/compatibility.js +153 -153
- 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 +132 -132
- 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 +149 -149
- package/dist/config/plugin/skill-scan.js +1 -1
- package/dist/config/plugin/skill.js +156 -156
- package/dist/config/plugin/snapshot.js +130 -130
- package/dist/config/plugin/source.js +134 -134
- 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 +96 -94
- package/dist/database/batch.js +1 -1
- package/dist/database/database.js +77 -77
- package/dist/database/drizzle/effect-sqlite/driver.js +12 -12
- package/dist/database/drizzle/effect-sqlite/index.js +12 -12
- package/dist/database/drizzle/effect-sqlite/session.js +11 -11
- package/dist/database/drizzle/index.js +13 -13
- package/dist/database/drizzle/internal/drizzle-utils.js +1 -1
- package/dist/database/drizzle/sqlite-core/effect/count.js +1 -1
- package/dist/database/drizzle/sqlite-core/effect/db.js +9 -9
- package/dist/database/drizzle/sqlite-core/effect/delete.js +2 -2
- package/dist/database/drizzle/sqlite-core/effect/index.js +10 -10
- package/dist/database/drizzle/sqlite-core/effect/insert.js +2 -2
- package/dist/database/drizzle/sqlite-core/effect/query.js +1 -1
- package/dist/database/drizzle/sqlite-core/effect/raw.js +1 -1
- package/dist/database/drizzle/sqlite-core/effect/select.js +2 -2
- package/dist/database/drizzle/sqlite-core/effect/session.js +10 -10
- package/dist/database/drizzle/sqlite-core/effect/update.js +2 -2
- package/dist/database/drizzle.js +14 -14
- package/dist/database/migration/20260127222353_familiar_lady_ursula.js +1 -1
- package/dist/database/migration/20260211171708_add_project_commands.js +1 -1
- package/dist/database/migration/20260213144116_wakeful_the_professor.js +1 -1
- package/dist/database/migration/20260225215848_workspace.js +1 -1
- package/dist/database/migration/20260227213759_add_session_workspace_id.js +1 -1
- package/dist/database/migration/20260228203230_blue_harpoon.js +1 -1
- package/dist/database/migration/20260303231226_add_workspace_fields.js +1 -1
- package/dist/database/migration/20260309230000_move_org_to_state.js +1 -1
- package/dist/database/migration/20260312043431_session_message_cursor.js +1 -1
- package/dist/database/migration/20260323234822_events.js +1 -1
- package/dist/database/migration/20260410174513_workspace-name.js +1 -1
- package/dist/database/migration/20260413175956_chief_energizer.js +1 -1
- package/dist/database/migration/20260423070820_add_icon_url_override.js +1 -1
- package/dist/database/migration/20260427172553_slow_nightmare.js +1 -1
- package/dist/database/migration/20260428004200_add_session_path.js +1 -1
- package/dist/database/migration/20260501142318_next_venus.js +1 -1
- package/dist/database/migration/20260504145000_add_sync_owner.js +1 -1
- package/dist/database/migration/20260507164347_add_workspace_time.js +1 -1
- package/dist/database/migration/20260510033149_session_usage.js +1 -1
- package/dist/database/migration/20260511000411_data_migration_state.js +1 -1
- package/dist/database/migration/20260511173437_session-metadata.js +1 -1
- package/dist/database/migration/20260601010001_normalize_storage_paths.js +1 -1
- package/dist/database/migration/20260601202201_amazing_prowler.js +1 -1
- package/dist/database/migration/20260602002951_lowly_union_jack.js +1 -1
- package/dist/database/migration/20260602182828_add_project_directories.js +1 -1
- package/dist/database/migration/20260603001617_session_message_projection_indexes.js +1 -1
- package/dist/database/migration/20260603040000_session_message_projection_order.js +1 -1
- package/dist/database/migration/20260603141458_session_input_inbox.js +1 -1
- package/dist/database/migration/20260603160727_jittery_ezekiel_stane.js +1 -1
- package/dist/database/migration/20260604172448_event_sourced_session_input.js +1 -1
- package/dist/database/migration/20260605003541_add_session_context_snapshot.js +1 -1
- package/dist/database/migration/20260605042240_add_context_epoch_agent.js +1 -1
- package/dist/database/migration/20260611035744_credential.js +1 -1
- package/dist/database/migration/20260611192811_lush_chimera.js +1 -1
- package/dist/database/migration/20260612174303_project_dir_strategy.js +1 -1
- package/dist/database/migration/20260622142730_simplify_session_context_epoch.js +1 -1
- package/dist/database/migration/20260622170816_reset_v2_session_state.js +1 -1
- package/dist/database/migration/20260622202450_simplify_session_input.js +1 -1
- package/dist/database/migration/20260804233008_loose_psylocke.js +1 -1
- package/dist/database/migration/20260805200742_import_legacy_credentials.js +1 -1
- package/dist/database/migration/20260808023530_workspace_domain.js +1 -1
- package/dist/database/migration/20260811161259_execution_claim_attempts.js +1 -1
- package/dist/database/migration/20260812181746_session_inbox.js +1 -1
- package/dist/database/migration/20260812213948_worktree.js +1 -1
- package/dist/database/migration/20260819222447_session_viewed_state.js +1 -1
- package/dist/database/migration/20260823191254_nullable_workspace_binding.js +1 -1
- package/dist/database/migration/20260910120000_clear_v1_session_permission.js +1 -1
- package/dist/database/migration/20260923013825_project_time_active.js +1 -1
- package/dist/database/migration/20261007190000_azure_cli_external_credential.js +1 -1
- package/dist/database/migration/20261010180456_project_time_archived.js +1 -1
- package/dist/database/migration/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 +76 -76
- 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 +103 -103
- package/dist/effect/app-node-builder.js +441 -441
- 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 +105 -105
- package/dist/environment/exec-defaults.js +2 -2
- package/dist/environment/files.js +1 -1
- package/dist/environment/index.js +109 -109
- package/dist/environment/local.js +2 -2
- package/dist/environment/memory.js +2 -2
- package/dist/environment/unavailable.js +3 -3
- package/dist/event/sql.js +1 -1
- package/dist/event-logger.js +85 -85
- package/dist/file-access.js +160 -160
- package/dist/file-mutation.js +108 -108
- package/dist/file-retention.js +1 -1
- package/dist/file-write.js +164 -164
- 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 +91 -91
- package/dist/filesystem/location-watcher-policy.js +6 -6
- package/dist/filesystem/location-watcher.js +254 -254
- package/dist/filesystem/protected.js +1 -1
- package/dist/filesystem/search.js +113 -113
- package/dist/filesystem/watcher-binding.js +1 -1
- package/dist/filesystem/watcher.js +9 -9
- package/dist/filesystem.js +118 -118
- package/dist/flag.js +131 -131
- package/dist/form.js +93 -93
- package/dist/formatter/builtins.js +4 -4
- package/dist/formatter.js +100 -100
- package/dist/generate.js +118 -118
- package/dist/git.js +11 -11
- package/dist/github-copilot/models.js +116 -112
- package/dist/image/notice.js +1 -1
- 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 +432 -432
- package/dist/instruction-discovery.js +91 -91
- package/dist/instructions/builtins.js +100 -100
- package/dist/instructions/index.js +5 -5
- package/dist/integration/connection.js +3 -3
- package/dist/integration.js +100 -100
- package/dist/job/list.js +7 -7
- package/dist/job/recovery.js +2 -2
- package/dist/job/sql.js +2 -2
- package/dist/job.js +90 -90
- package/dist/kv/sql.js +2 -2
- package/dist/kv.js +84 -84
- package/dist/location-activity.js +185 -185
- package/dist/location-lifecycle.js +153 -153
- package/dist/location-service-map.js +99 -99
- package/dist/location-services.js +429 -429
- package/dist/location.js +98 -98
- package/dist/managed-policy.js +3 -3
- package/dist/mcp/client.js +161 -159
- package/dist/mcp/connection.js +104 -104
- package/dist/mcp/index.js +126 -126
- package/dist/mcp/instructions.js +187 -187
- package/dist/mcp/oauth.js +122 -121
- package/dist/mcp/pool.js +112 -112
- package/dist/mcp/socket-client.js +1 -1
- package/dist/mcp/stdio.js +157 -157
- package/dist/mime.js +1 -1
- package/dist/modal/models.js +112 -112
- package/dist/model-resolver.js +112 -112
- package/dist/model-retry.js +1 -1
- package/dist/model.js +115 -115
- 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 +152 -152
- package/dist/persistent-pty/binary.bun.js +1 -1
- package/dist/persistent-pty/daemon.js +1 -1
- package/dist/persistent-pty/index.js +97 -97
- package/dist/persistent-pty/pty-binding.js +1 -1
- package/dist/persistent-pty.js +86 -86
- package/dist/plugin/agent.js +85 -85
- package/dist/plugin/command.js +117 -117
- package/dist/plugin/goal.js +3 -3
- package/dist/plugin/hooks.js +5 -5
- package/dist/plugin/host.js +245 -245
- package/dist/plugin/identity.js +5 -5
- package/dist/plugin/instance.js +5 -5
- package/dist/plugin/internal.js +408 -408
- package/dist/plugin/mcp-codemode-defaults.js +3 -3
- package/dist/plugin/models-dev.js +110 -110
- package/dist/plugin/module.js +127 -127
- package/dist/plugin/optimize.js +2 -2
- package/dist/plugin/plan.js +149 -149
- package/dist/plugin/promise.js +1 -1
- package/dist/plugin/provider/amazon-bedrock.js +106 -106
- package/dist/plugin/provider/azure.js +133 -133
- package/dist/plugin/provider/cerebras.js +1 -1
- package/dist/plugin/provider/chatgpt.js +133 -133
- 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 +3 -3
- 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 +146 -146
- package/dist/plugin/provider/claude-agent/instructions.js +110 -110
- package/dist/plugin/provider/claude-agent/integration.js +115 -115
- 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 +4 -4
- 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 +1 -1
- package/dist/plugin/provider/claude-agent/language-model/usage.js +3 -3
- package/dist/plugin/provider/claude-agent/provider.js +112 -112
- 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 +1 -1
- package/dist/plugin/provider/claude-agent/tools/hooks.js +1 -1
- package/dist/plugin/provider/claude-agent/tools/names.js +1 -1
- 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 +2 -2
- package/dist/plugin/provider/cloudflare-ai-gateway.js +130 -130
- package/dist/plugin/provider/cloudflare-workers-ai.js +130 -130
- package/dist/plugin/provider/configured.js +126 -126
- package/dist/plugin/provider/credential-settings.js +88 -88
- package/dist/plugin/provider/databricks.js +1 -1
- package/dist/plugin/provider/digitalocean.js +109 -109
- package/dist/plugin/provider/dynamic.js +2 -2
- package/dist/plugin/provider/github-copilot.js +111 -111
- package/dist/plugin/provider/gitlab.js +109 -109
- 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 +140 -140
- package/dist/plugin/provider/local.js +137 -137
- package/dist/plugin/provider/modal.js +108 -108
- package/dist/plugin/provider/neon.js +1 -1
- package/dist/plugin/provider/nvidia.js +1 -1
- package/dist/plugin/provider/ollama.js +138 -138
- package/dist/plugin/provider/openai-context-caps.js +106 -106
- package/dist/plugin/provider/openai.js +133 -133
- package/dist/plugin/provider/opencode-watches.js +4 -4
- package/dist/plugin/provider/opencode.js +161 -161
- 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 +131 -131
- package/dist/plugin/provider/vllm.js +140 -140
- package/dist/plugin/provider/xai.js +104 -104
- package/dist/plugin/provider/zenmux.js +1 -1
- package/dist/plugin/provider.js +239 -239
- package/dist/plugin/sdk.js +89 -89
- package/dist/plugin/service.js +3 -3
- package/dist/plugin/skill.js +150 -150
- package/dist/plugin/source-directory.js +1 -1
- package/dist/plugin/supervisor.js +416 -416
- 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 +8 -8
- package/dist/plugin/websearch/firecrawl.js +9 -9
- package/dist/plugin/websearch/index.js +10 -10
- package/dist/plugin/websearch/mcp.js +2 -2
- package/dist/plugin/websearch/parallel.js +9 -9
- package/dist/plugin/websearch/provider.js +5 -5
- package/dist/plugin/websearch/tavily.js +7 -7
- package/dist/plugin/websearch/tinyfish.js +9 -9
- package/dist/plugin.js +248 -248
- package/dist/project/icon.js +5 -5
- package/dist/project/schema.js +8 -8
- package/dist/project/sql.js +4 -4
- package/dist/project.js +99 -99
- package/dist/provider.js +112 -112
- package/dist/pty/protocol.js +1 -1
- package/dist/pty/ticket.js +1 -1
- package/dist/pty.js +109 -109
- package/dist/reference/instructions.js +101 -101
- package/dist/reference.js +103 -103
- package/dist/repository-cache.js +93 -93
- package/dist/repository.js +3 -3
- package/dist/ripgrep/binary.js +2 -2
- package/dist/ripgrep.js +109 -109
- package/dist/rpc.js +99 -99
- package/dist/schedule/check.js +250 -250
- package/dist/schedule/sql.js +6 -6
- package/dist/schedule.js +264 -264
- 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 +134 -134
- package/dist/session/command.js +85 -85
- package/dist/session/compaction.js +175 -175
- package/dist/session/context.js +205 -205
- package/dist/session/diff.js +101 -101
- package/dist/session/environment.js +5 -5
- package/dist/session/error.js +3 -3
- package/dist/session/event.js +1 -1
- package/dist/session/execution/restart.js +250 -250
- package/dist/session/execution.js +167 -167
- package/dist/session/generate.js +207 -207
- package/dist/session/history.js +139 -139
- package/dist/session/inbox.js +152 -152
- package/dist/session/info.js +3 -3
- package/dist/session/instruction-entry.js +90 -90
- package/dist/session/instruction-state.js +8 -8
- package/dist/session/instructions.js +144 -144
- package/dist/session/message-updater.js +2 -2
- package/dist/session/message.js +1 -1
- package/dist/session/model-request.js +165 -165
- package/dist/session/model-transport.js +3 -3
- package/dist/session/move.js +171 -171
- package/dist/session/projector.js +146 -146
- package/dist/session/prompt.js +151 -151
- package/dist/session/recent-text.js +1 -1
- package/dist/session/revert.js +142 -142
- package/dist/session/run-coordinator.js +3 -3
- package/dist/session/runner/index.js +3 -3
- package/dist/session/runner/llm.js +256 -256
- package/dist/session/runner/max-steps.js +1 -1
- package/dist/session/runner/model.js +114 -113
- package/dist/session/runner/publish-llm-event.js +153 -153
- package/dist/session/runner/retry.js +5 -5
- package/dist/session/runner/step.js +164 -164
- package/dist/session/runner/to-llm-message.js +140 -140
- package/dist/session/schema.js +5 -5
- package/dist/session/session.js +186 -186
- package/dist/session/shell.js +145 -145
- package/dist/session/skill.js +150 -150
- package/dist/session/sql.js +5 -5
- package/dist/session/stats.js +85 -85
- package/dist/session/store.js +145 -145
- package/dist/session/stored.js +2 -2
- package/dist/session/subagent-completion.js +1 -1
- package/dist/session/subagent-job.js +234 -234
- package/dist/session/system-prompt.js +1 -1
- package/dist/session/title.js +203 -203
- package/dist/session/to-session-error.js +152 -152
- package/dist/session/transfer.js +248 -248
- package/dist/session/usage.js +1 -1
- package/dist/session.js +242 -242
- 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 +11 -11
- package/dist/shell.js +147 -147
- package/dist/skill/discovery.js +2 -2
- package/dist/skill/instructions.js +150 -150
- package/dist/skill.js +159 -159
- package/dist/snapshot.js +102 -102
- 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 +188 -188
- package/dist/tool/plugin/artifact.js +237 -237
- package/dist/tool/plugin/edit.js +170 -170
- package/dist/tool/plugin/file-diff.js +1 -1
- package/dist/tool/plugin/glob.js +172 -172
- package/dist/tool/plugin/grep.js +173 -173
- package/dist/tool/plugin/image-generate.js +248 -248
- package/dist/tool/plugin/mcp-resource.js +169 -169
- package/dist/tool/plugin/opencode.js +166 -166
- package/dist/tool/plugin/patch.js +171 -171
- package/dist/tool/plugin/question.js +151 -151
- package/dist/tool/plugin/read.js +175 -175
- package/dist/tool/plugin/schedule.js +256 -256
- package/dist/tool/plugin/shell.js +244 -244
- package/dist/tool/plugin/skill.js +154 -154
- package/dist/tool/plugin/subagent.js +243 -243
- package/dist/tool/plugin/todo.js +156 -156
- package/dist/tool/plugin/webfetch.js +158 -158
- package/dist/tool/plugin/websearch.js +158 -158
- package/dist/tool/plugin/write.js +171 -171
- package/dist/tool/read-filesystem.js +114 -114
- package/dist/tool/runtime.js +1 -1
- package/dist/tool/search.js +109 -109
- package/dist/tool-output.js +7 -7
- package/dist/tool.js +159 -159
- package/dist/types/credential.d.ts +13 -2
- package/dist/types/flag.d.ts +2 -2
- package/dist/types/github-copilot/models.d.ts +95 -0
- package/dist/types/instance.d.ts +1 -1
- package/dist/types/model-resolver.d.ts +2 -0
- package/dist/types/plugin/provider/claude-agent/claude/sessions.d.ts +0 -1
- package/dist/types/plugin/provider/opencode.d.ts +2 -1
- package/dist/types/session/context.d.ts +5 -1
- package/dist/types/session/generate.d.ts +6 -2
- package/dist/types/session/runner/model.d.ts +6 -1
- package/dist/types/session.d.ts +1 -1
- package/dist/types/v1/config/migrate.d.ts +3 -3
- 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 +7 -7
- 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 +106 -106
- package/dist/vcs/patch.js +1 -1
- package/dist/vcs.js +102 -102
- package/dist/voice.js +99 -99
- package/dist/websearch.js +101 -101
- package/dist/wellknown/plugin.js +87 -87
- package/dist/wellknown.js +90 -90
- package/dist/workspace/driver.js +5 -5
- package/dist/workspace/sql.js +1 -1
- package/dist/workspace.js +93 -93
- 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 +109 -109
- package/package.json +12 -12
- package/dist/chunks/flag-7j9hf6qv.js +0 -86
- package/dist/chunks/flag-7yv5xa0k.js +0 -18
- package/dist/chunks/flag-c64zn4v7.js +0 -273
- package/dist/chunks/flag-q1cvymj3.js +0 -26
- package/dist/chunks/flag-s08zthfz.js +0 -35
- package/dist/chunks/flag-v19fhjf9.js +0 -577
- /package/dist/chunks/{flag-0qkdqm5v.js → aisdk-native-0qkdqm5v.js} +0 -0
- /package/dist/chunks/{flag-0zkw76rk.js → aisdk-native-0zkw76rk.js} +0 -0
- /package/dist/chunks/{flag-17cy0kzp.js → aisdk-native-17cy0kzp.js} +0 -0
- /package/dist/chunks/{flag-1cnp2v09.js → aisdk-native-1cnp2v09.js} +0 -0
- /package/dist/chunks/{flag-1kah00gy.js → aisdk-native-1kah00gy.js} +0 -0
- /package/dist/chunks/{flag-24dcb14g.js → aisdk-native-24dcb14g.js} +0 -0
- /package/dist/chunks/{flag-2710q6r3.js → aisdk-native-2710q6r3.js} +0 -0
- /package/dist/chunks/{flag-2c3vjs8z.js → aisdk-native-2c3vjs8z.js} +0 -0
- /package/dist/chunks/{flag-359p4xyc.js → aisdk-native-359p4xyc.js} +0 -0
- /package/dist/chunks/{flag-3v8g72cx.js → aisdk-native-3v8g72cx.js} +0 -0
- /package/dist/chunks/{flag-43n2bw4t.js → aisdk-native-43n2bw4t.js} +0 -0
- /package/dist/chunks/{flag-4knz6hnm.js → aisdk-native-4knz6hnm.js} +0 -0
- /package/dist/chunks/{flag-4qk9sjk2.js → aisdk-native-4qk9sjk2.js} +0 -0
- /package/dist/chunks/{flag-53557ph1.js → aisdk-native-53557ph1.js} +0 -0
- /package/dist/chunks/{flag-5w3e23ze.js → aisdk-native-5w3e23ze.js} +0 -0
- /package/dist/chunks/{flag-6agm2x70.js → aisdk-native-6agm2x70.js} +0 -0
- /package/dist/chunks/{flag-6prwharc.js → aisdk-native-6prwharc.js} +0 -0
- /package/dist/chunks/{flag-6q2bdcd1.js → aisdk-native-6q2bdcd1.js} +0 -0
- /package/dist/chunks/{flag-7akdwqpd.js → aisdk-native-7akdwqpd.js} +0 -0
- /package/dist/chunks/{flag-7m9af43g.js → aisdk-native-7m9af43g.js} +0 -0
- /package/dist/chunks/{flag-822emrt2.js → aisdk-native-822emrt2.js} +0 -0
- /package/dist/chunks/{flag-84wd9syh.js → aisdk-native-84wd9syh.js} +0 -0
- /package/dist/chunks/{flag-88xbtdfr.js → aisdk-native-88xbtdfr.js} +0 -0
- /package/dist/chunks/{flag-8n3pysct.js → aisdk-native-8n3pysct.js} +0 -0
- /package/dist/chunks/{flag-8wj87zfr.js → aisdk-native-8wj87zfr.js} +0 -0
- /package/dist/chunks/{flag-9a4afbnw.js → aisdk-native-9a4afbnw.js} +0 -0
- /package/dist/chunks/{flag-9rqn6x4v.js → aisdk-native-9rqn6x4v.js} +0 -0
- /package/dist/chunks/{flag-aqzs7mqg.js → aisdk-native-aqzs7mqg.js} +0 -0
- /package/dist/chunks/{flag-atq7p7m5.js → aisdk-native-atq7p7m5.js} +0 -0
- /package/dist/chunks/{flag-beh6qq61.js → aisdk-native-beh6qq61.js} +0 -0
- /package/dist/chunks/{flag-bhmrqjy3.js → aisdk-native-bhmrqjy3.js} +0 -0
- /package/dist/chunks/{flag-bkyjaxrp.js → aisdk-native-bkyjaxrp.js} +0 -0
- /package/dist/chunks/{flag-bmr6ed5q.js → aisdk-native-bmr6ed5q.js} +0 -0
- /package/dist/chunks/{flag-cf4snx6d.js → aisdk-native-cf4snx6d.js} +0 -0
- /package/dist/chunks/{flag-cqv5kn06.js → aisdk-native-cqv5kn06.js} +0 -0
- /package/dist/chunks/{flag-cvy3z8tj.js → aisdk-native-cvy3z8tj.js} +0 -0
- /package/dist/chunks/{flag-d9fn303g.js → aisdk-native-d9fn303g.js} +0 -0
- /package/dist/chunks/{flag-d9jj8t3e.js → aisdk-native-d9jj8t3e.js} +0 -0
- /package/dist/chunks/{flag-df08tz66.js → aisdk-native-df08tz66.js} +0 -0
- /package/dist/chunks/{flag-dy18nga0.js → aisdk-native-dy18nga0.js} +0 -0
- /package/dist/chunks/{flag-e5kj55wp.js → aisdk-native-e5kj55wp.js} +0 -0
- /package/dist/chunks/{flag-ean2d8b5.js → aisdk-native-ean2d8b5.js} +0 -0
- /package/dist/chunks/{flag-ec1grn59.js → aisdk-native-ec1grn59.js} +0 -0
- /package/dist/chunks/{flag-emrn6kk6.js → aisdk-native-emrn6kk6.js} +0 -0
- /package/dist/chunks/{flag-f0mxakyp.js → aisdk-native-f0mxakyp.js} +0 -0
- /package/dist/chunks/{flag-f6n9ztr4.js → aisdk-native-f6n9ztr4.js} +0 -0
- /package/dist/chunks/{flag-faypxj3z.js → aisdk-native-faypxj3z.js} +0 -0
- /package/dist/chunks/{flag-fd410y7t.js → aisdk-native-fd410y7t.js} +0 -0
- /package/dist/chunks/{flag-fkpq3x5p.js → aisdk-native-fkpq3x5p.js} +0 -0
- /package/dist/chunks/{flag-g86h250q.js → aisdk-native-g86h250q.js} +0 -0
- /package/dist/chunks/{flag-gebd4c9n.js → aisdk-native-gebd4c9n.js} +0 -0
- /package/dist/chunks/{flag-gftt206x.js → aisdk-native-gftt206x.js} +0 -0
- /package/dist/chunks/{flag-hcxmzztb.js → aisdk-native-hcxmzztb.js} +0 -0
- /package/dist/chunks/{flag-hk9envan.js → aisdk-native-hk9envan.js} +0 -0
- /package/dist/chunks/{flag-j2ntwpah.js → aisdk-native-j2ntwpah.js} +0 -0
- /package/dist/chunks/{flag-jjkms2e6.js → aisdk-native-jjkms2e6.js} +0 -0
- /package/dist/chunks/{flag-jr7sbwjy.js → aisdk-native-jr7sbwjy.js} +0 -0
- /package/dist/chunks/{flag-jwfs4k6c.js → aisdk-native-jwfs4k6c.js} +0 -0
- /package/dist/chunks/{flag-jwr30sdr.js → aisdk-native-jwr30sdr.js} +0 -0
- /package/dist/chunks/{flag-jzg6c2d5.js → aisdk-native-jzg6c2d5.js} +0 -0
- /package/dist/chunks/{flag-m18g726c.js → aisdk-native-m18g726c.js} +0 -0
- /package/dist/chunks/{flag-mp448xyj.js → aisdk-native-mp448xyj.js} +0 -0
- /package/dist/chunks/{flag-msx8hqn2.js → aisdk-native-msx8hqn2.js} +0 -0
- /package/dist/chunks/{flag-n05xt0ee.js → aisdk-native-n05xt0ee.js} +0 -0
- /package/dist/chunks/{flag-n3j8tn72.js → aisdk-native-n3j8tn72.js} +0 -0
- /package/dist/chunks/{flag-nh4v3znn.js → aisdk-native-nh4v3znn.js} +0 -0
- /package/dist/chunks/{flag-njntx4h6.js → aisdk-native-njntx4h6.js} +0 -0
- /package/dist/chunks/{flag-p71gwv9c.js → aisdk-native-p71gwv9c.js} +0 -0
- /package/dist/chunks/{flag-q3sfg36h.js → aisdk-native-q3sfg36h.js} +0 -0
- /package/dist/chunks/{flag-q74kybfr.js → aisdk-native-q74kybfr.js} +0 -0
- /package/dist/chunks/{flag-qb87gjwd.js → aisdk-native-qb87gjwd.js} +0 -0
- /package/dist/chunks/{flag-qfa1cgps.js → aisdk-native-qfa1cgps.js} +0 -0
- /package/dist/chunks/{flag-qg3g05ea.js → aisdk-native-qg3g05ea.js} +0 -0
- /package/dist/chunks/{flag-qrg20bc0.js → aisdk-native-qrg20bc0.js} +0 -0
- /package/dist/chunks/{flag-rcb2kzg1.js → aisdk-native-rcb2kzg1.js} +0 -0
- /package/dist/chunks/{flag-sdp7kfr6.js → aisdk-native-sdp7kfr6.js} +0 -0
- /package/dist/chunks/{flag-ssg3fenm.js → aisdk-native-ssg3fenm.js} +0 -0
- /package/dist/chunks/{flag-syrav9an.js → aisdk-native-syrav9an.js} +0 -0
- /package/dist/chunks/{flag-t03h4f5z.js → aisdk-native-t03h4f5z.js} +0 -0
- /package/dist/chunks/{flag-ty7weeps.js → aisdk-native-ty7weeps.js} +0 -0
- /package/dist/chunks/{flag-ve7vex1e.js → aisdk-native-ve7vex1e.js} +0 -0
- /package/dist/chunks/{flag-vtarvj67.js → aisdk-native-vtarvj67.js} +0 -0
- /package/dist/chunks/{flag-w803qqfp.js → aisdk-native-w803qqfp.js} +0 -0
- /package/dist/chunks/{flag-wc3fc9cn.js → aisdk-native-wc3fc9cn.js} +0 -0
- /package/dist/chunks/{flag-wer8tq1h.js → aisdk-native-wer8tq1h.js} +0 -0
- /package/dist/chunks/{flag-wtztk69x.js → aisdk-native-wtztk69x.js} +0 -0
- /package/dist/chunks/{flag-x4th4bpe.js → aisdk-native-x4th4bpe.js} +0 -0
- /package/dist/chunks/{flag-y44na4kk.js → aisdk-native-y44na4kk.js} +0 -0
- /package/dist/chunks/{flag-y8f7s663.js → aisdk-native-y8f7s663.js} +0 -0
- /package/dist/chunks/{flag-ygaqb7jw.js → aisdk-native-ygaqb7jw.js} +0 -0
- /package/dist/chunks/{flag-z0h12gs8.js → aisdk-native-z0h12gs8.js} +0 -0
- /package/dist/chunks/{flag-z5v4ffb3.js → aisdk-native-z5v4ffb3.js} +0 -0
- /package/dist/chunks/{flag-z9919s4g.js → aisdk-native-z9919s4g.js} +0 -0
- /package/dist/chunks/{flag-zxpyjp51.js → aisdk-native-zxpyjp51.js} +0 -0
- /package/dist/chunks/{flag-zz5vv3aq.js → aisdk-native-zz5vv3aq.js} +0 -0
|
@@ -1,41 +1,41 @@
|
|
|
1
1
|
import {
|
|
2
2
|
useragent2
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./aisdk-native-28yt5ya3.js";
|
|
4
4
|
import {
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
} from "./
|
|
5
|
+
ID22,
|
|
6
|
+
Service91
|
|
7
|
+
} from "./aisdk-native-hfngfxea.js";
|
|
8
8
|
import {
|
|
9
9
|
key3
|
|
10
|
-
} from "./
|
|
10
|
+
} from "./aisdk-native-azqdag7d.js";
|
|
11
11
|
import {
|
|
12
12
|
MethodID2
|
|
13
|
-
} from "./
|
|
13
|
+
} from "./aisdk-native-zwx55tz8.js";
|
|
14
14
|
import {
|
|
15
15
|
which2
|
|
16
|
-
} from "./
|
|
16
|
+
} from "./aisdk-native-x4th4bpe.js";
|
|
17
17
|
import {
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
} from "./
|
|
18
|
+
ID17,
|
|
19
|
+
Service86
|
|
20
|
+
} from "./aisdk-native-4js5r4sx.js";
|
|
21
21
|
import {
|
|
22
|
-
|
|
23
|
-
} from "./
|
|
22
|
+
ID16
|
|
23
|
+
} from "./aisdk-native-5sc0cpz3.js";
|
|
24
24
|
import {
|
|
25
25
|
interval2,
|
|
26
|
-
|
|
26
|
+
Service61,
|
|
27
27
|
fingerprint2
|
|
28
|
-
} from "./
|
|
28
|
+
} from "./aisdk-native-vm603gvn.js";
|
|
29
29
|
import {
|
|
30
30
|
configuredSettings2
|
|
31
|
-
} from "./
|
|
31
|
+
} from "./aisdk-native-vf4wgzf5.js";
|
|
32
32
|
import {
|
|
33
33
|
onSwitch2,
|
|
34
34
|
switched2
|
|
35
|
-
} from "./
|
|
35
|
+
} from "./aisdk-native-jcfrb538.js";
|
|
36
36
|
import {
|
|
37
37
|
activeCredential2
|
|
38
|
-
} from "./
|
|
38
|
+
} from "./aisdk-native-cm1v4a1b.js";
|
|
39
39
|
|
|
40
40
|
// src/plugin/provider/azure.ts
|
|
41
41
|
import { Clock, Effect, Equal, FiberHandle, Option, Schema, Semaphore, Stream } from "effect";
|
|
@@ -70,18 +70,18 @@ var decodeManagementDeployment = Schema.decodeUnknownOption(Schema.Struct({
|
|
|
70
70
|
}));
|
|
71
71
|
var ResourceQuery = Schema.Struct({ query: Schema.String });
|
|
72
72
|
var Resources = Schema.Struct({ data: Schema.Array(Schema.Struct({ id: Schema.NonEmptyString })) });
|
|
73
|
-
function
|
|
73
|
+
function make15(endpoints = {
|
|
74
74
|
resource: (name) => `https://${name}.openai.azure.com/openai`,
|
|
75
75
|
management: "https://management.azure.com"
|
|
76
76
|
}) {
|
|
77
77
|
return define({
|
|
78
78
|
id: "opencode.provider.azure",
|
|
79
79
|
effect: Effect.fn(function* (ctx) {
|
|
80
|
-
const configured = yield* configuredSettings2(
|
|
80
|
+
const configured = yield* configuredSettings2(ID17.azure);
|
|
81
81
|
const processes = yield* AppProcess.Service;
|
|
82
|
-
const credentials = yield*
|
|
83
|
-
const providers = yield*
|
|
84
|
-
const cache = yield*
|
|
82
|
+
const credentials = yield* Service91;
|
|
83
|
+
const providers = yield* Service86;
|
|
84
|
+
const cache = yield* Service61;
|
|
85
85
|
const http = HttpClient.filterStatusOk(yield* HttpClient.HttpClient);
|
|
86
86
|
const tokens = new Map;
|
|
87
87
|
const resourceIDs = new Map;
|
|
@@ -107,11 +107,11 @@ function make19(endpoints = {
|
|
|
107
107
|
const configuredResource = Boolean(resolveResourceName(configured) || typeof configured?.baseURL === "string");
|
|
108
108
|
yield* ctx.integration.transform((editor) => {
|
|
109
109
|
editor.method.update({
|
|
110
|
-
integrationID:
|
|
110
|
+
integrationID: ID17.azure,
|
|
111
111
|
method: { type: "env", names: ["AZURE_API_KEY", "AZURE_COGNITIVE_SERVICES_API_KEY"] }
|
|
112
112
|
});
|
|
113
113
|
editor.method.update({
|
|
114
|
-
integrationID:
|
|
114
|
+
integrationID: ID17.azure,
|
|
115
115
|
method: {
|
|
116
116
|
type: "key",
|
|
117
117
|
label: "API key",
|
|
@@ -129,7 +129,7 @@ function make19(endpoints = {
|
|
|
129
129
|
if (!available)
|
|
130
130
|
return;
|
|
131
131
|
editor.method.update({
|
|
132
|
-
integrationID:
|
|
132
|
+
integrationID: ID17.azure,
|
|
133
133
|
method: {
|
|
134
134
|
id: methodID,
|
|
135
135
|
type: "external",
|
|
@@ -149,8 +149,8 @@ function make19(endpoints = {
|
|
|
149
149
|
});
|
|
150
150
|
});
|
|
151
151
|
const load = Effect.fn("AzurePlugin.load")(function* () {
|
|
152
|
-
const connection = yield* ctx.integration.connection.active(
|
|
153
|
-
const stored = connection?.type === "credential" ? yield* credentials.get(
|
|
152
|
+
const connection = yield* ctx.integration.connection.active(ID17.azure);
|
|
153
|
+
const stored = connection?.type === "credential" ? yield* credentials.get(ID22.make(connection.id)) : undefined;
|
|
154
154
|
return { connection, resource: credentialResource(stored?.value) };
|
|
155
155
|
});
|
|
156
156
|
const findResource = Effect.fn("AzurePlugin.findResource")(function* (resource) {
|
|
@@ -189,7 +189,7 @@ function make19(endpoints = {
|
|
|
189
189
|
}));
|
|
190
190
|
const discover = Effect.fn("AzurePlugin.discover")(function* (options) {
|
|
191
191
|
const connection = loaded.connection;
|
|
192
|
-
const settings = (yield* providers.get(
|
|
192
|
+
const settings = (yield* providers.get(ID17.azure))?.settings;
|
|
193
193
|
const name = loaded.resource ?? resolveResourceName(settings);
|
|
194
194
|
const url = connection && name !== undefined && resourcePattern.test(name) && typeof settings?.baseURL !== "string" ? `${endpoints.resource(name)}/deployments?api-version=2022-12-01` : undefined;
|
|
195
195
|
if (loaded.connection !== connection)
|
|
@@ -219,11 +219,11 @@ function make19(endpoints = {
|
|
|
219
219
|
});
|
|
220
220
|
const apply = (next) => next ? loading.withPermit(publish(next.connection, next.found)).pipe(Effect.uninterruptible) : Effect.void;
|
|
221
221
|
const publish = Effect.fn("AzurePlugin.publish")(function* (connection, found) {
|
|
222
|
-
if (loaded.connection !== connection || key3(connection) !== key3(yield* ctx.integration.connection.active(
|
|
222
|
+
if (loaded.connection !== connection || key3(connection) !== key3(yield* ctx.integration.connection.active(ID17.azure)))
|
|
223
223
|
return;
|
|
224
224
|
if (Equal.equals(found, loaded.deployments))
|
|
225
225
|
return;
|
|
226
|
-
const catalog = new Map(Array.from((yield* providers.snapshot()).records.get(
|
|
226
|
+
const catalog = new Map(Array.from((yield* providers.snapshot()).records.get(ID17.azure)?.models.keys() ?? [], (id) => [
|
|
227
227
|
id.toLowerCase(),
|
|
228
228
|
id
|
|
229
229
|
]));
|
|
@@ -236,7 +236,7 @@ function make19(endpoints = {
|
|
|
236
236
|
yield* ctx.model.reload();
|
|
237
237
|
});
|
|
238
238
|
const refresh = discover({}).pipe(Effect.flatMap(apply));
|
|
239
|
-
const resourceFor = (provider) => provider.id ===
|
|
239
|
+
const resourceFor = (provider) => provider.id === ID17.azure ? loaded.resource ?? resolveResourceName(provider.settings) : resolveResourceName(provider.settings, loaded.resource);
|
|
240
240
|
Object.assign(loaded, yield* load());
|
|
241
241
|
yield* ctx.provider.transform((evt) => {
|
|
242
242
|
for (const item of evt.list()) {
|
|
@@ -255,7 +255,7 @@ function make19(endpoints = {
|
|
|
255
255
|
};
|
|
256
256
|
});
|
|
257
257
|
}
|
|
258
|
-
const item = evt.get(
|
|
258
|
+
const item = evt.get(ID17.azure);
|
|
259
259
|
if (!item)
|
|
260
260
|
return;
|
|
261
261
|
evt.add({
|
|
@@ -285,21 +285,21 @@ function make19(endpoints = {
|
|
|
285
285
|
}
|
|
286
286
|
if (!loaded.deployments)
|
|
287
287
|
return;
|
|
288
|
-
const catalog = models.list(
|
|
288
|
+
const catalog = models.list(ID17.azure);
|
|
289
289
|
const deployed = deployedModels(loaded.deployments, catalog);
|
|
290
290
|
for (const model of catalog) {
|
|
291
291
|
if (!deployed.has(model.id))
|
|
292
|
-
models.remove(
|
|
292
|
+
models.remove(ID17.azure, model.id);
|
|
293
293
|
}
|
|
294
294
|
for (const [id, model] of deployed) {
|
|
295
|
-
models.update(
|
|
295
|
+
models.update(ID17.azure, id, (draft) => Object.assign(draft, model));
|
|
296
296
|
}
|
|
297
297
|
});
|
|
298
298
|
yield* onSwitch2("azure", rebind().pipe(Effect.andThen(FiberHandle.run(discovery, switched2(discover, apply)))));
|
|
299
299
|
yield* rebind().pipe(Effect.andThen(FiberHandle.run(discovery, refresh)), Effect.forkScoped);
|
|
300
300
|
yield* Effect.sleep(interval2).pipe(Effect.andThen(FiberHandle.run(discovery, refresh, { onlyIfMissing: true })), Effect.forever, Effect.forkScoped);
|
|
301
301
|
const bearer = Effect.fn("AzurePlugin.bearer")(function* (url) {
|
|
302
|
-
const { credential } = yield* activeCredential2(ctx,
|
|
302
|
+
const { credential } = yield* activeCredential2(ctx, ID17.azure);
|
|
303
303
|
if (credential?.type !== "external" || credential.methodID !== methodID)
|
|
304
304
|
return;
|
|
305
305
|
const target = new URL(url);
|
|
@@ -315,7 +315,7 @@ function make19(endpoints = {
|
|
|
315
315
|
evt.request.headers.delete("x-api-key");
|
|
316
316
|
evt.request.headers.set("authorization", authorization);
|
|
317
317
|
evt.request.headers.set("user-agent", useragent2(ctx.app));
|
|
318
|
-
}), { providerID:
|
|
318
|
+
}), { providerID: ID17.azure });
|
|
319
319
|
yield* ctx.session.hook("experimental.ws.handshake", (evt) => Effect.gen(function* () {
|
|
320
320
|
const authorization = yield* bearer(evt.url);
|
|
321
321
|
if (!authorization)
|
|
@@ -324,11 +324,11 @@ function make19(endpoints = {
|
|
|
324
324
|
delete evt.headers["x-api-key"];
|
|
325
325
|
evt.headers.authorization = authorization;
|
|
326
326
|
evt.headers["user-agent"] = useragent2(ctx.app);
|
|
327
|
-
}), { providerID:
|
|
327
|
+
}), { providerID: ID17.azure });
|
|
328
328
|
})
|
|
329
329
|
});
|
|
330
330
|
}
|
|
331
|
-
var AzurePlugin2 =
|
|
331
|
+
var AzurePlugin2 = make15();
|
|
332
332
|
function deploymentsKey(connection, credential, url) {
|
|
333
333
|
const access = credential.type === "key" ? `:${fingerprint2(credential.key)}` : "";
|
|
334
334
|
return `azure:${key3(connection)}${access}:${url}`;
|
|
@@ -343,7 +343,7 @@ function expandResourceName(baseURL, resourceName) {
|
|
|
343
343
|
return baseURL.replaceAll("${AZURE_RESOURCE_NAME}", resourceName).replaceAll("${AZURE_COGNITIVE_SERVICES_RESOURCE_NAME}", resourceName);
|
|
344
344
|
}
|
|
345
345
|
function azureProvider(provider) {
|
|
346
|
-
return provider.id ===
|
|
346
|
+
return provider.id === ID17.azure || provider.package.startsWith("@opencode/ai/providers/azure/");
|
|
347
347
|
}
|
|
348
348
|
function usable(credential) {
|
|
349
349
|
return credential?.type === "key" || credential?.type === "external" && credential.methodID === methodID;
|
|
@@ -368,11 +368,11 @@ function deployedModels(deployments, catalog) {
|
|
|
368
368
|
const model = catalogModel(models, deployment);
|
|
369
369
|
if (!model)
|
|
370
370
|
return [];
|
|
371
|
-
const id =
|
|
371
|
+
const id = ID16.make(deployment.name.toLowerCase());
|
|
372
372
|
const info = {
|
|
373
373
|
...structuredClone(model),
|
|
374
374
|
id,
|
|
375
|
-
modelID:
|
|
375
|
+
modelID: ID16.make(deployment.name),
|
|
376
376
|
name: id === model.id.toLowerCase() ? model.name : `${model.name} (${deployment.name})`
|
|
377
377
|
};
|
|
378
378
|
return [[id, info]];
|
|
@@ -394,4 +394,4 @@ function responsesWebSocketCapable(provider) {
|
|
|
394
394
|
return /^https:\/\/[^/]+\.openai\.azure\.com(?:\/|$)/i.test(settings.baseURL);
|
|
395
395
|
}
|
|
396
396
|
|
|
397
|
-
export {
|
|
397
|
+
export { make15, AzurePlugin2 };
|
|
@@ -1,32 +1,32 @@
|
|
|
1
1
|
import {
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
} from "./
|
|
2
|
+
Service92,
|
|
3
|
+
node94
|
|
4
|
+
} from "./aisdk-native-qgw9yw0d.js";
|
|
5
5
|
import {
|
|
6
6
|
environment2
|
|
7
|
-
} from "./
|
|
7
|
+
} from "./aisdk-native-mjkjcadv.js";
|
|
8
8
|
import {
|
|
9
9
|
makeDaemonTransport2
|
|
10
|
-
} from "./
|
|
10
|
+
} from "./aisdk-native-bhmrqjy3.js";
|
|
11
11
|
import {
|
|
12
12
|
__export
|
|
13
|
-
} from "./
|
|
13
|
+
} from "./aisdk-native-9rqn6x4v.js";
|
|
14
14
|
|
|
15
15
|
// src/persistent-pty/index.ts
|
|
16
16
|
var exports_persistent_pty = {};
|
|
17
17
|
__export(exports_persistent_pty, {
|
|
18
18
|
Handoff: () => Handoff2,
|
|
19
19
|
InvalidCwdError: () => InvalidCwdError2,
|
|
20
|
-
NotFoundError: () =>
|
|
21
|
-
Options: () =>
|
|
20
|
+
NotFoundError: () => NotFoundError9,
|
|
21
|
+
Options: () => Options5,
|
|
22
22
|
PersistentPty: () => exports_persistent_pty,
|
|
23
|
-
Service: () =>
|
|
23
|
+
Service: () => Service63,
|
|
24
24
|
UnavailableError: () => UnavailableError5,
|
|
25
25
|
UnsupportedError: () => UnsupportedError2,
|
|
26
26
|
available: () => available3,
|
|
27
|
-
configured: () =>
|
|
28
|
-
layer: () =>
|
|
29
|
-
node: () =>
|
|
27
|
+
configured: () => configured6,
|
|
28
|
+
layer: () => layer23,
|
|
29
|
+
node: () => node64
|
|
30
30
|
});
|
|
31
31
|
import { stat } from "node:fs/promises";
|
|
32
32
|
import path from "node:path";
|
|
@@ -45,7 +45,7 @@ import { Global } from "@opencode/util/global";
|
|
|
45
45
|
import { resolveBinary } from "#persistent-pty-binary";
|
|
46
46
|
import { Handoff as Handoff2 } from "@opencode/schema/persistent-pty";
|
|
47
47
|
import { available as available3 } from "#persistent-pty-binary";
|
|
48
|
-
var
|
|
48
|
+
var Options5 = Schema.Struct({
|
|
49
49
|
handoff: Schema.optional(Handoff),
|
|
50
50
|
root: Schema.optional(Schema.String)
|
|
51
51
|
});
|
|
@@ -55,7 +55,7 @@ class UnavailableError5 extends Schema.TaggedError()("PersistentPty.UnavailableE
|
|
|
55
55
|
}) {
|
|
56
56
|
}
|
|
57
57
|
|
|
58
|
-
class
|
|
58
|
+
class NotFoundError9 extends Schema.TaggedError()("PersistentPty.NotFoundError", {
|
|
59
59
|
ptyID: Pty.ID
|
|
60
60
|
}) {
|
|
61
61
|
}
|
|
@@ -71,10 +71,10 @@ class UnsupportedError2 extends Schema.TaggedError()("PersistentPty.UnsupportedE
|
|
|
71
71
|
}) {
|
|
72
72
|
}
|
|
73
73
|
|
|
74
|
-
class
|
|
74
|
+
class Service63 extends Context.Service()("@opencode/PersistentPty") {
|
|
75
75
|
}
|
|
76
|
-
var makeLayer = (options = {}) => Layer.effect(
|
|
77
|
-
const bus = yield*
|
|
76
|
+
var makeLayer = (options = {}) => Layer.effect(Service63, Effect.gen(function* () {
|
|
77
|
+
const bus = yield* Service92;
|
|
78
78
|
const global = yield* Global.Service;
|
|
79
79
|
const context = yield* Effect.context();
|
|
80
80
|
const runFork = Effect.runForkWith(context);
|
|
@@ -96,7 +96,7 @@ var makeLayer = (options = {}) => Layer.effect(Service28, Effect.gen(function* (
|
|
|
96
96
|
const get = Effect.fn("PersistentPty.get")(function* (id) {
|
|
97
97
|
const found = (yield* list()).find((terminal) => terminal.id === id);
|
|
98
98
|
if (!found)
|
|
99
|
-
return yield* new
|
|
99
|
+
return yield* new NotFoundError9({ ptyID: id });
|
|
100
100
|
return found;
|
|
101
101
|
});
|
|
102
102
|
const create = Effect.fn("PersistentPty.create")(function* (sessionID, input) {
|
|
@@ -244,7 +244,7 @@ var makeLayer = (options = {}) => Layer.effect(Service28, Effect.gen(function* (
|
|
|
244
244
|
detach: attachment.detach
|
|
245
245
|
};
|
|
246
246
|
});
|
|
247
|
-
return
|
|
247
|
+
return Service63.of({
|
|
248
248
|
list,
|
|
249
249
|
get,
|
|
250
250
|
create,
|
|
@@ -261,13 +261,13 @@ var makeLayer = (options = {}) => Layer.effect(Service28, Effect.gen(function* (
|
|
|
261
261
|
attach
|
|
262
262
|
});
|
|
263
263
|
}));
|
|
264
|
-
var
|
|
265
|
-
var
|
|
266
|
-
service:
|
|
267
|
-
layer: options === undefined ?
|
|
268
|
-
deps: [
|
|
264
|
+
var layer23 = makeLayer();
|
|
265
|
+
var configured6 = (options) => makeGlobalNode({
|
|
266
|
+
service: Service63,
|
|
267
|
+
layer: options === undefined ? layer23 : makeLayer(options),
|
|
268
|
+
deps: [node94, Global.node]
|
|
269
269
|
});
|
|
270
|
-
var
|
|
270
|
+
var node64 = configured6();
|
|
271
271
|
var request = (daemon, value, start = false) => daemon.request(value, start).pipe(Effect.mapError(unavailable));
|
|
272
272
|
var optionalRequest = (daemon, value) => daemon.requestIfRunning(value).pipe(Effect.mapError(unavailable));
|
|
273
273
|
var unexpected = (response) => Effect.fail(new UnavailableError5({ message: `unexpected opencode-pty response: ${response.type}` }));
|
|
@@ -304,4 +304,4 @@ function fromID(value) {
|
|
|
304
304
|
return parsed;
|
|
305
305
|
}
|
|
306
306
|
|
|
307
|
-
export {
|
|
307
|
+
export { Options5, UnavailableError5, NotFoundError9, InvalidCwdError2, UnsupportedError2, Service63, layer23, configured6, node64, exports_persistent_pty, Handoff2, available3 };
|
|
@@ -1,24 +1,24 @@
|
|
|
1
1
|
import {
|
|
2
2
|
PositiveInt2
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./aisdk-native-z5v4ffb3.js";
|
|
4
4
|
import {
|
|
5
5
|
Action2
|
|
6
|
-
} from "./
|
|
7
|
-
import {
|
|
8
|
-
Info16
|
|
9
|
-
} from "./flag-tf9r37f3.js";
|
|
6
|
+
} from "./aisdk-native-v0t96s7a.js";
|
|
10
7
|
import {
|
|
11
8
|
Info19
|
|
12
|
-
} from "./
|
|
9
|
+
} from "./aisdk-native-31avdb49.js";
|
|
13
10
|
import {
|
|
14
11
|
Info18
|
|
15
|
-
} from "./
|
|
12
|
+
} from "./aisdk-native-cpvd08na.js";
|
|
13
|
+
import {
|
|
14
|
+
Info22
|
|
15
|
+
} from "./aisdk-native-9zwexsxs.js";
|
|
16
16
|
import {
|
|
17
17
|
Spec2
|
|
18
|
-
} from "./
|
|
18
|
+
} from "./aisdk-native-1yq9hg58.js";
|
|
19
19
|
import {
|
|
20
|
-
|
|
21
|
-
} from "./
|
|
20
|
+
Info21
|
|
21
|
+
} from "./aisdk-native-7nb8tm12.js";
|
|
22
22
|
import {
|
|
23
23
|
normalizeAction2,
|
|
24
24
|
migrateAgent2,
|
|
@@ -28,10 +28,10 @@ import {
|
|
|
28
28
|
migrateMcp2,
|
|
29
29
|
migrateProvider2,
|
|
30
30
|
providerID2
|
|
31
|
-
} from "./
|
|
31
|
+
} from "./aisdk-native-s6v54swn.js";
|
|
32
32
|
import {
|
|
33
33
|
__export
|
|
34
|
-
} from "./
|
|
34
|
+
} from "./aisdk-native-9rqn6x4v.js";
|
|
35
35
|
|
|
36
36
|
// src/config/normalize.ts
|
|
37
37
|
var exports_normalize = {};
|
|
@@ -98,12 +98,12 @@ function normalize3(input) {
|
|
|
98
98
|
const legacyReferences = decodeMap(input.reference, ConfigReference.Entry, ["reference"], diagnostics, decodeEncoded);
|
|
99
99
|
const nativeReferences = decodeMap(input.references, ConfigReference.Entry, ["references"], diagnostics, decodeEncoded);
|
|
100
100
|
mergeMap(encoded, "references", legacyReferences, nativeReferences, isRecord(input.reference) || isRecord(input.references), diagnostics);
|
|
101
|
-
const legacyCommands = decodeMap(input.command,
|
|
101
|
+
const legacyCommands = decodeMap(input.command, Info18, ["command"], diagnostics, decodeValue);
|
|
102
102
|
diagnoseSelectionMap(input.command, ["command"], diagnostics);
|
|
103
103
|
const migratedCommands = mapValues(legacyCommands, (value) => canonical(ConfigCommand.Info, migrateCommand2(value)));
|
|
104
104
|
const nativeCommands = decodeMap(input.commands, ConfigCommand.Info, ["commands"], diagnostics, decodeEncoded);
|
|
105
105
|
mergeMap(encoded, "commands", migratedCommands, nativeCommands, isRecord(input.command) || isRecord(input.commands), diagnostics);
|
|
106
|
-
const legacyAgents = mapValues(decodeMap(input.agent,
|
|
106
|
+
const legacyAgents = mapValues(decodeMap(input.agent, Info19, ["agent"], diagnostics, decodeValue), (value) => canonical(ConfigAgent.Info, migrateAgent2(value)));
|
|
107
107
|
const legacySmallModel = own(input, "small_model") ? decodeValue(Schema.String, input.small_model, ["small_model"], diagnostics) : undefined;
|
|
108
108
|
const migratedSmallModel = modelSelection2(legacySmallModel);
|
|
109
109
|
if (legacySmallModel && !migratedSmallModel)
|
|
@@ -117,7 +117,7 @@ function normalize3(input) {
|
|
|
117
117
|
model: migratedSmallModel,
|
|
118
118
|
...legacyAgents.title
|
|
119
119
|
};
|
|
120
|
-
const modeAgents = mapValues(decodeMap(input.mode,
|
|
120
|
+
const modeAgents = mapValues(decodeMap(input.mode, Info19, ["mode"], diagnostics, decodeValue), (value) => canonical(ConfigAgent.Info, migrateAgent2({ ...value, mode: "primary" })));
|
|
121
121
|
const migratedAgents = mergeMaps(legacyAgents, modeAgents, ["agents"], diagnostics);
|
|
122
122
|
const nativeAgents = decodeMap(input.agents, ConfigAgent.Info, ["agents"], diagnostics, decodeEncoded);
|
|
123
123
|
diagnoseAgentUnsupported(input.agent, ["agent"], diagnostics);
|
|
@@ -220,7 +220,7 @@ function normalizeMcp(input, encoded, diagnostics) {
|
|
|
220
220
|
normalizeMcpTimeout(typeof value === "number" ? migrateMcpTimeout2(value) : value, timeout, path, diagnostics);
|
|
221
221
|
return;
|
|
222
222
|
}
|
|
223
|
-
const server = decodeValue(
|
|
223
|
+
const server = decodeValue(Info22, value, path, diagnostics);
|
|
224
224
|
if (server !== undefined)
|
|
225
225
|
setOwn(legacyServers, name, canonical(ConfigMCP.Server, migrateMcp2(server)));
|
|
226
226
|
});
|
|
@@ -428,7 +428,7 @@ function migrateProviders(value, diagnostics) {
|
|
|
428
428
|
diagnoseProviderUnsupported(raw, path, diagnostics);
|
|
429
429
|
if (invalidProviderOverlays(raw, path, diagnostics))
|
|
430
430
|
return [];
|
|
431
|
-
const provider = decodeValue(
|
|
431
|
+
const provider = decodeValue(Info21, raw, path, diagnostics);
|
|
432
432
|
if (provider === undefined)
|
|
433
433
|
return [];
|
|
434
434
|
const destination = providerID2(name);
|
|
@@ -1,22 +1,22 @@
|
|
|
1
1
|
import {
|
|
2
2
|
PATCH_CONTEXT_LINES2
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./aisdk-native-rb9dy4dg.js";
|
|
4
4
|
import {
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
} from "./
|
|
5
|
+
ID8,
|
|
6
|
+
Service48
|
|
7
|
+
} from "./aisdk-native-g20ajjnr.js";
|
|
8
8
|
import {
|
|
9
9
|
SessionSchema2
|
|
10
|
-
} from "./
|
|
10
|
+
} from "./aisdk-native-nv2c5e9q.js";
|
|
11
11
|
import {
|
|
12
12
|
MessageNotFoundError2
|
|
13
|
-
} from "./
|
|
13
|
+
} from "./aisdk-native-s4kyhetj.js";
|
|
14
14
|
import {
|
|
15
15
|
SessionMessageTable2
|
|
16
|
-
} from "./
|
|
16
|
+
} from "./aisdk-native-mb7mbhnz.js";
|
|
17
17
|
import {
|
|
18
18
|
__export
|
|
19
|
-
} from "./
|
|
19
|
+
} from "./aisdk-native-9rqn6x4v.js";
|
|
20
20
|
|
|
21
21
|
// src/session/diff.ts
|
|
22
22
|
var exports_diff = {};
|
|
@@ -81,14 +81,14 @@ var turn2 = Effect.fn("SessionDiff.turn")(function* (db, locations, input) {
|
|
|
81
81
|
const location = before ? decodeLocation(before) : after ? decodeLocation(after) : input.session.location;
|
|
82
82
|
const recorded = steps.findLast((step) => step.end)?.end;
|
|
83
83
|
return yield* Effect.gen(function* () {
|
|
84
|
-
const snapshot = yield*
|
|
84
|
+
const snapshot = yield* Service48;
|
|
85
85
|
const running = input.active && final.completed === null;
|
|
86
86
|
const to = running ? (yield* snapshot.capture()) ?? recorded : recorded;
|
|
87
87
|
if (!to)
|
|
88
88
|
return [];
|
|
89
89
|
return yield* snapshot.diff({
|
|
90
|
-
from:
|
|
91
|
-
to:
|
|
90
|
+
from: ID8.make(from),
|
|
91
|
+
to: ID8.make(to),
|
|
92
92
|
context: input.context ?? PATCH_CONTEXT_LINES2
|
|
93
93
|
});
|
|
94
94
|
}).pipe(Effect.provide(locations.get(location)));
|
|
@@ -1,38 +1,38 @@
|
|
|
1
1
|
import {
|
|
2
2
|
batches2
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./aisdk-native-jm70asfg.js";
|
|
4
4
|
import {
|
|
5
5
|
SessionMessage2
|
|
6
|
-
} from "./
|
|
6
|
+
} from "./aisdk-native-gftt206x.js";
|
|
7
7
|
import {
|
|
8
8
|
MessageDecodeError2
|
|
9
|
-
} from "./
|
|
9
|
+
} from "./aisdk-native-s4kyhetj.js";
|
|
10
10
|
import {
|
|
11
11
|
InitializationBlocked2,
|
|
12
|
-
|
|
13
|
-
} from "./
|
|
12
|
+
read5
|
|
13
|
+
} from "./aisdk-native-t62dywgn.js";
|
|
14
14
|
import {
|
|
15
15
|
SessionMessageTable2,
|
|
16
16
|
SessionPartTable2
|
|
17
|
-
} from "./
|
|
17
|
+
} from "./aisdk-native-mb7mbhnz.js";
|
|
18
18
|
import {
|
|
19
19
|
initial2,
|
|
20
20
|
preview3
|
|
21
|
-
} from "./
|
|
21
|
+
} from "./aisdk-native-2y8q1569.js";
|
|
22
22
|
import {
|
|
23
23
|
User3
|
|
24
|
-
} from "./
|
|
24
|
+
} from "./aisdk-native-fg9p65nk.js";
|
|
25
25
|
import {
|
|
26
26
|
hydrate2,
|
|
27
27
|
keepRefs2,
|
|
28
28
|
describe3
|
|
29
|
-
} from "./
|
|
29
|
+
} from "./aisdk-native-yb8qdwfh.js";
|
|
30
30
|
import {
|
|
31
31
|
messageToText2
|
|
32
|
-
} from "./
|
|
32
|
+
} from "./aisdk-native-v2r1d0zg.js";
|
|
33
33
|
import {
|
|
34
34
|
__export
|
|
35
|
-
} from "./
|
|
35
|
+
} from "./aisdk-native-9rqn6x4v.js";
|
|
36
36
|
|
|
37
37
|
// src/session/history.ts
|
|
38
38
|
var exports_history = {};
|
|
@@ -166,7 +166,7 @@ var entriesForRunner2 = Effect.fn("SessionHistory.entriesForRunner")(function* (
|
|
|
166
166
|
})).pipe(Effect.orDie);
|
|
167
167
|
});
|
|
168
168
|
var preview2 = Effect.fn("SessionHistory.preview")(function* (db, sessionID, instructions, boundary) {
|
|
169
|
-
const observed = yield*
|
|
169
|
+
const observed = yield* read5(instructions);
|
|
170
170
|
return yield* db.transaction(() => Effect.gen(function* () {
|
|
171
171
|
const messages = yield* messageEntries(db, sessionID, boundary);
|
|
172
172
|
const unsettled = messages.findIndex((entry) => entry.message.type === "assistant" && entry.message.time.completed === undefined);
|
|
@@ -2,10 +2,10 @@ import {
|
|
|
2
2
|
NotFound3,
|
|
3
3
|
WrongKind2,
|
|
4
4
|
Failed2
|
|
5
|
-
} from "./
|
|
5
|
+
} from "./aisdk-native-svcy3p9a.js";
|
|
6
6
|
import {
|
|
7
7
|
__export
|
|
8
|
-
} from "./
|
|
8
|
+
} from "./aisdk-native-9rqn6x4v.js";
|
|
9
9
|
|
|
10
10
|
// src/environment/memory.ts
|
|
11
11
|
var exports_memory = {};
|
|
@@ -1,37 +1,37 @@
|
|
|
1
1
|
import {
|
|
2
2
|
useragent2
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./aisdk-native-28yt5ya3.js";
|
|
4
4
|
import {
|
|
5
5
|
OAuth3
|
|
6
|
-
} from "./
|
|
6
|
+
} from "./aisdk-native-hfngfxea.js";
|
|
7
7
|
import {
|
|
8
8
|
key3
|
|
9
|
-
} from "./
|
|
9
|
+
} from "./aisdk-native-azqdag7d.js";
|
|
10
10
|
import {
|
|
11
|
-
|
|
11
|
+
ID20,
|
|
12
12
|
MethodID2
|
|
13
|
-
} from "./
|
|
13
|
+
} from "./aisdk-native-zwx55tz8.js";
|
|
14
14
|
import {
|
|
15
|
-
|
|
15
|
+
ID17,
|
|
16
16
|
aisdk2,
|
|
17
|
-
|
|
18
|
-
} from "./
|
|
17
|
+
Service86
|
|
18
|
+
} from "./aisdk-native-4js5r4sx.js";
|
|
19
19
|
import {
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
} from "./
|
|
20
|
+
ID16,
|
|
21
|
+
Info24
|
|
22
|
+
} from "./aisdk-native-5sc0cpz3.js";
|
|
23
23
|
import {
|
|
24
24
|
success2,
|
|
25
25
|
error2
|
|
26
|
-
} from "./
|
|
26
|
+
} from "./aisdk-native-yb20nhc3.js";
|
|
27
27
|
import {
|
|
28
28
|
onSwitch2,
|
|
29
29
|
reloadIfChanged2
|
|
30
|
-
} from "./
|
|
30
|
+
} from "./aisdk-native-jcfrb538.js";
|
|
31
31
|
import {
|
|
32
32
|
credentialSettings2,
|
|
33
33
|
metadataSettings2
|
|
34
|
-
} from "./
|
|
34
|
+
} from "./aisdk-native-cm1v4a1b.js";
|
|
35
35
|
|
|
36
36
|
// src/plugin/provider/gitlab.ts
|
|
37
37
|
import os from "os";
|
|
@@ -39,8 +39,8 @@ import { Clock, Deferred, Effect, Equal, Exit, Option, Schema, Semaphore } from
|
|
|
39
39
|
import { HttpClient, HttpClientRequest, HttpClientResponse } from "effect/http";
|
|
40
40
|
import { define } from "@opencode/plugin/effect/plugin";
|
|
41
41
|
import { Form } from "@opencode/schema/form";
|
|
42
|
-
var providerID =
|
|
43
|
-
var integrationID =
|
|
42
|
+
var providerID = ID17.gitlab;
|
|
43
|
+
var integrationID = ID20.make("gitlab");
|
|
44
44
|
var methodID = MethodID2.make("pkce");
|
|
45
45
|
var bundledClientID = "fd180700a8f9c5d5557aca231632dd0611a1135a3bb510a741d5a988a3394fa7";
|
|
46
46
|
var legacyClientID = "1d89f9fdb23ee96d4e603201f6861dab6e143c5c3c00469a018a2d94bdc03d4e";
|
|
@@ -61,7 +61,7 @@ var refreshRetention = 60000;
|
|
|
61
61
|
var GitLabPlugin2 = define({
|
|
62
62
|
id: "opencode.provider.gitlab",
|
|
63
63
|
effect: Effect.fn(function* (ctx) {
|
|
64
|
-
const providers = yield*
|
|
64
|
+
const providers = yield* Service86;
|
|
65
65
|
const http = yield* HttpClient.HttpClient;
|
|
66
66
|
const loading = Semaphore.makeUnsafe(1);
|
|
67
67
|
const loaded = {};
|
|
@@ -196,7 +196,7 @@ var GitLabPlugin2 = define({
|
|
|
196
196
|
models: [
|
|
197
197
|
...item.models.values(),
|
|
198
198
|
...loaded.models.filter((model) => !item.models.has(model.id)).map((model) => ({
|
|
199
|
-
...
|
|
199
|
+
...Info24.default(providerID, ID16.make(model.id)),
|
|
200
200
|
name: `Agent Platform (${model.name})`,
|
|
201
201
|
package: aisdk2("gitlab-ai-provider"),
|
|
202
202
|
settings: { workflowRef: model.ref },
|
|
@@ -249,7 +249,7 @@ var GitLabPlugin2 = define({
|
|
|
249
249
|
aiGatewayHeaders: evt.options.aiGatewayHeaders,
|
|
250
250
|
featureFlags
|
|
251
251
|
});
|
|
252
|
-
}), { providerID:
|
|
252
|
+
}), { providerID: ID17.gitlab });
|
|
253
253
|
})
|
|
254
254
|
});
|
|
255
255
|
function resolveDefaultInstanceUrl() {
|