@opencode/core 0.0.0-dev-1068 → 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 +84 -84
- package/dist/aisdk-native.js +102 -102
- package/dist/aisdk.js +108 -108
- package/dist/app.js +9 -9
- package/dist/artifact.js +249 -249
- package/dist/bus.js +84 -84
- package/dist/chunks/{model-resolver-exnqm7z8.js → aisdk-native-00g3c2ed.js} +3 -3
- package/dist/chunks/{model-resolver-2m009qsq.js → aisdk-native-02bxxz2d.js} +29 -29
- package/dist/chunks/{model-resolver-aj7mw0zk.js → aisdk-native-034tev2y.js} +2 -2
- package/dist/chunks/{model-resolver-f63ezt36.js → aisdk-native-07wjybke.js} +11 -11
- package/dist/chunks/{model-resolver-sqjzf8x2.js → aisdk-native-0j7gp832.js} +4 -4
- package/dist/chunks/{model-resolver-0ma9gw4f.js → aisdk-native-0ma9gw4f.js} +2 -2
- package/dist/chunks/{model-resolver-wh34prj5.js → aisdk-native-0mjtfw9v.js} +32 -32
- package/dist/chunks/{model-resolver-qfa5h3p4.js → aisdk-native-0n4f881y.js} +14 -14
- package/dist/chunks/{model-resolver-9ev7ygax.js → aisdk-native-0syw9ann.js} +11 -11
- package/dist/chunks/{model-resolver-psgk5a5e.js → aisdk-native-0tv7yy8x.js} +2 -2
- package/dist/chunks/{model-resolver-hetrbhsk.js → aisdk-native-0v6wj5wv.js} +8 -8
- package/dist/chunks/{model-resolver-ccs8qmvc.js → aisdk-native-14nt1rpz.js} +6 -6
- package/dist/chunks/{model-resolver-p7naw18k.js → aisdk-native-1698d9wf.js} +15 -15
- package/dist/chunks/{model-resolver-trbqn9p3.js → aisdk-native-16rfwke7.js} +25 -25
- package/dist/chunks/{model-resolver-17b8a7h3.js → aisdk-native-18b1hh0p.js} +8 -8
- package/dist/chunks/{model-resolver-0h8g3gpk.js → aisdk-native-18bjp7mw.js} +9 -9
- package/dist/chunks/{model-resolver-1aqsckx4.js → aisdk-native-1aqsckx4.js} +1 -1
- package/dist/chunks/{model-resolver-temwch9p.js → aisdk-native-1dqth3v4.js} +11 -11
- package/dist/chunks/{model-resolver-27w5k9zf.js → aisdk-native-1ep2p91f.js} +2 -2
- package/dist/chunks/{model-resolver-ffgdk60a.js → aisdk-native-1gd5xt62.js} +41 -41
- package/dist/chunks/{model-resolver-p8pjvayg.js → aisdk-native-1h03f94m.js} +3 -3
- package/dist/chunks/{model-resolver-f0da6bjj.js → aisdk-native-1r3wq0ks.js} +15 -15
- package/dist/chunks/{model-resolver-1x2knyw4.js → aisdk-native-1x2knyw4.js} +1 -1
- package/dist/chunks/{model-resolver-1yq9hg58.js → aisdk-native-1yq9hg58.js} +1 -1
- package/dist/chunks/aisdk-native-1zw0dqfw.js +577 -0
- package/dist/chunks/{model-resolver-rs885178.js → aisdk-native-202pny9t.js} +87 -87
- package/dist/chunks/{model-resolver-dchf7kry.js → aisdk-native-21y8varj.js} +11 -11
- package/dist/chunks/{model-resolver-d5n1z8ps.js → aisdk-native-23g2v6a5.js} +38 -38
- package/dist/chunks/{model-resolver-aykkqzg3.js → aisdk-native-25xhd05w.js} +12 -12
- package/dist/chunks/{model-resolver-tb2mrvc9.js → aisdk-native-26wfx3k0.js} +4 -4
- package/dist/chunks/{model-resolver-h5r1a1rq.js → aisdk-native-28yt5ya3.js} +10 -10
- package/dist/chunks/{model-resolver-4753k09j.js → aisdk-native-29qfgj0t.js} +21 -21
- package/dist/chunks/{model-resolver-2fc7eemy.js → aisdk-native-2fc7eemy.js} +1 -1
- package/dist/chunks/{model-resolver-xd8pfjvv.js → aisdk-native-2kzntcdv.js} +7 -7
- package/dist/chunks/{model-resolver-mnftqprh.js → aisdk-native-2vd7ekax.js} +12 -12
- package/dist/chunks/{model-resolver-tycv7n3a.js → aisdk-native-2y8q1569.js} +4 -4
- package/dist/chunks/{model-resolver-etrnj9s7.js → aisdk-native-31avdb49.js} +8 -8
- package/dist/chunks/{model-resolver-b4vb2pfq.js → aisdk-native-34mfhm97.js} +17 -17
- package/dist/chunks/{model-resolver-mjwn9j3n.js → aisdk-native-365eavge.js} +4 -4
- package/dist/chunks/{model-resolver-bk0ps37x.js → aisdk-native-36mdzn0r.js} +35 -35
- package/dist/chunks/{model-resolver-fpkkx19e.js → aisdk-native-37cs6e8g.js} +12 -12
- package/dist/chunks/{model-resolver-90ct6wq4.js → aisdk-native-38aws4xb.js} +4 -4
- package/dist/chunks/{model-resolver-xjbsd7zy.js → aisdk-native-3adw4bt5.js} +9 -9
- package/dist/chunks/{model-resolver-qxnxqm31.js → aisdk-native-3hdamdeh.js} +28 -19
- package/dist/chunks/{model-resolver-3hepkmqq.js → aisdk-native-3hepkmqq.js} +1 -1
- package/dist/chunks/{model-resolver-crxg2sgt.js → aisdk-native-3mbpge38.js} +26 -26
- package/dist/chunks/{model-resolver-3nnrz6f6.js → aisdk-native-3nnrz6f6.js} +1 -1
- package/dist/chunks/{model-resolver-r17fbvme.js → aisdk-native-3qgwywyc.js} +4 -4
- package/dist/chunks/{model-resolver-az8qmtt2.js → aisdk-native-3rtgrtmn.js} +16 -16
- package/dist/chunks/{model-resolver-40y6dtc2.js → aisdk-native-40y6dtc2.js} +1 -1
- package/dist/chunks/{model-resolver-40za9wsf.js → aisdk-native-40za9wsf.js} +2 -2
- package/dist/chunks/{model-resolver-jvcygd6j.js → aisdk-native-43tas341.js} +9 -9
- package/dist/chunks/{model-resolver-rtpa9tm7.js → aisdk-native-47j3s8nt.js} +25 -25
- package/dist/chunks/{model-resolver-vdtxassj.js → aisdk-native-4cr9mwkv.js} +10 -10
- package/dist/chunks/{model-resolver-4dx1dgte.js → aisdk-native-4dx1dgte.js} +1 -1
- package/dist/chunks/{model-resolver-4f25tdd0.js → aisdk-native-4f25tdd0.js} +1 -1
- package/dist/chunks/{model-resolver-50wdvm75.js → aisdk-native-4js5r4sx.js} +44 -26
- package/dist/chunks/{model-resolver-4pyp9zr9.js → aisdk-native-4pyp9zr9.js} +1 -1
- package/dist/chunks/{model-resolver-4v008n1t.js → aisdk-native-4v008n1t.js} +1 -1
- package/dist/chunks/{model-resolver-dynbdyen.js → aisdk-native-4zr1bjes.js} +6 -6
- package/dist/chunks/{model-resolver-jj37thjh.js → aisdk-native-598sh59j.js} +12 -12
- package/dist/chunks/{model-resolver-kejwcvw4.js → aisdk-native-5ag7yr1g.js} +86 -21
- package/dist/chunks/{model-resolver-r1zvngnh.js → aisdk-native-5eqxyycn.js} +6 -6
- package/dist/chunks/{model-resolver-5m9w47nd.js → aisdk-native-5m9w47nd.js} +1 -1
- package/dist/chunks/{model-resolver-0tqgq8fb.js → aisdk-native-5sc0cpz3.js} +25 -25
- package/dist/chunks/{model-resolver-s47rahr7.js → aisdk-native-5whx36p1.js} +4 -4
- package/dist/chunks/{model-resolver-v7fe1jbf.js → aisdk-native-62b0mtf4.js} +11 -11
- package/dist/chunks/{model-resolver-reyk2q93.js → aisdk-native-637vjx5s.js} +10 -10
- package/dist/chunks/{model-resolver-9n3fbx7h.js → aisdk-native-63s55wzb.js} +24 -24
- package/dist/chunks/{model-resolver-9rqhy0gk.js → aisdk-native-6cqkw5v2.js} +7 -7
- package/dist/chunks/{model-resolver-qh5g3qaw.js → aisdk-native-6h8vcvjm.js} +9 -9
- package/dist/chunks/{model-resolver-82aw96te.js → aisdk-native-6smg55w6.js} +27 -27
- package/dist/chunks/{model-resolver-kayh9rdk.js → aisdk-native-6t5fxrm7.js} +81 -78
- package/dist/chunks/{model-resolver-wvr8xscb.js → aisdk-native-6y2b864j.js} +4 -4
- package/dist/chunks/{model-resolver-775hqbnd.js → aisdk-native-775hqbnd.js} +3 -3
- package/dist/chunks/{model-resolver-7bmhse3q.js → aisdk-native-7bmhse3q.js} +1 -1
- package/dist/chunks/{model-resolver-yepd7x5v.js → aisdk-native-7nb8tm12.js} +5 -5
- package/dist/chunks/{model-resolver-y7vcah9n.js → aisdk-native-7tht3xc2.js} +5 -5
- package/dist/chunks/{model-resolver-7w2ypzdf.js → aisdk-native-7w2ypzdf.js} +1 -1
- package/dist/chunks/{model-resolver-7weczvnd.js → aisdk-native-7weczvnd.js} +1 -1
- package/dist/chunks/{model-resolver-jgkg6v2s.js → aisdk-native-7xeg25jm.js} +43 -31
- package/dist/chunks/{model-resolver-80pdk984.js → aisdk-native-80pdk984.js} +1 -1
- package/dist/chunks/aisdk-native-829vjkdr.js +168 -0
- package/dist/chunks/{model-resolver-85jq8dht.js → aisdk-native-85jq8dht.js} +1 -1
- package/dist/chunks/{model-resolver-25h84942.js → aisdk-native-8b3vzgkx.js} +4 -4
- package/dist/chunks/{model-resolver-vf0wpess.js → aisdk-native-8ca44myh.js} +11 -11
- package/dist/chunks/{model-resolver-hy8c1z76.js → aisdk-native-8d2bz6m6.js} +4 -4
- package/dist/chunks/{model-resolver-4xhtj8pt.js → aisdk-native-8e6dqnrn.js} +95 -95
- package/dist/chunks/{model-resolver-bb3mmwvh.js → aisdk-native-8sxe6kv8.js} +2 -2
- package/dist/chunks/{model-resolver-byb3rb96.js → aisdk-native-8tajxrj1.js} +6 -6
- package/dist/chunks/{model-resolver-8wtp7s3z.js → aisdk-native-8wtp7s3z.js} +1 -1
- package/dist/chunks/{model-resolver-8zv0xmg5.js → aisdk-native-8zv0xmg5.js} +1 -1
- package/dist/chunks/{model-resolver-xcag7p3f.js → aisdk-native-90w2m1xz.js} +27 -27
- package/dist/chunks/aisdk-native-9g2ys3b7.js +26 -0
- package/dist/chunks/{model-resolver-ws1tm39k.js → aisdk-native-9jxt3xxw.js} +24 -24
- package/dist/chunks/{model-resolver-9rqfe4ad.js → aisdk-native-9rqfe4ad.js} +1 -1
- package/dist/chunks/{model-resolver-db0xvntx.js → aisdk-native-9s77w5z0.js} +10 -10
- package/dist/chunks/{model-resolver-jv5ccajn.js → aisdk-native-9zwexsxs.js} +5 -5
- package/dist/chunks/{model-resolver-0cvmjxzj.js → aisdk-native-a1sevdk6.js} +4 -5
- package/dist/chunks/{model-resolver-m7jc1w2e.js → aisdk-native-a3kxchp0.js} +4 -4
- package/dist/chunks/{model-resolver-h1hexrfd.js → aisdk-native-abjsxjmd.js} +11 -11
- package/dist/chunks/{model-resolver-xhqs21mx.js → aisdk-native-agfw8dfz.js} +37 -37
- package/dist/chunks/{model-resolver-2sqf31vb.js → aisdk-native-ahp81d9m.js} +11 -11
- package/dist/chunks/{model-resolver-7d5s4a2a.js → aisdk-native-apc6x4sm.js} +18 -18
- package/dist/chunks/{model-resolver-rwef9rmy.js → aisdk-native-axk3dw7d.js} +18 -18
- package/dist/chunks/{model-resolver-ms5w709k.js → aisdk-native-ay4jjcrz.js} +19 -19
- package/dist/chunks/{model-resolver-3cbjf1nt.js → aisdk-native-ayjs7tqn.js} +2 -2
- package/dist/chunks/{model-resolver-n320gsn2.js → aisdk-native-azqdag7d.js} +4 -4
- package/dist/chunks/{model-resolver-3rjrr1qf.js → aisdk-native-bbzccyj3.js} +28 -4
- package/dist/chunks/{model-resolver-nw5eecxx.js → aisdk-native-bdv8sqrq.js} +1 -1
- package/dist/chunks/{model-resolver-fcq67wpd.js → aisdk-native-bea45t5w.js} +8 -8
- package/dist/chunks/{model-resolver-c07z8625.js → aisdk-native-bjh036xb.js} +8 -8
- package/dist/chunks/{model-resolver-11a2ypp9.js → aisdk-native-bn7h44f8.js} +26 -26
- package/dist/chunks/{model-resolver-bg0ex0t5.js → aisdk-native-bsjedtqd.js} +6 -6
- package/dist/chunks/{model-resolver-wsagbhhp.js → aisdk-native-bvjn1me8.js} +24 -24
- package/dist/chunks/{model-resolver-zpdbqgja.js → aisdk-native-by8ty0bx.js} +4 -4
- package/dist/chunks/{model-resolver-5nvv0hcr.js → aisdk-native-c2xad5qx.js} +11 -11
- package/dist/chunks/{model-resolver-jpfth5nx.js → aisdk-native-c3ag4hb1.js} +66 -66
- package/dist/chunks/{model-resolver-c7cw818c.js → aisdk-native-c7cw818c.js} +2 -2
- package/dist/chunks/{model-resolver-p1v90pg2.js → aisdk-native-cd3trqzw.js} +2 -2
- package/dist/chunks/{model-resolver-s8pxrsbc.js → aisdk-native-cfxw2rrg.js} +30 -30
- package/dist/chunks/{model-resolver-ta9rgc0h.js → aisdk-native-cm1v4a1b.js} +6 -6
- package/dist/chunks/{model-resolver-cpvd08na.js → aisdk-native-cpvd08na.js} +1 -1
- package/dist/chunks/{model-resolver-cwrgdav8.js → aisdk-native-cwrgdav8.js} +2 -2
- package/dist/chunks/{model-resolver-5my9hbah.js → aisdk-native-cxa1k7he.js} +5 -5
- package/dist/chunks/{model-resolver-4yfhkz4v.js → aisdk-native-d449me36.js} +13 -13
- package/dist/chunks/{model-resolver-d4v9tmah.js → aisdk-native-d4v9tmah.js} +2 -2
- package/dist/chunks/{model-resolver-87drpw4f.js → aisdk-native-d643aw01.js} +11 -11
- package/dist/chunks/{model-resolver-n82shha9.js → aisdk-native-d79eqrtj.js} +37 -37
- package/dist/chunks/{model-resolver-31r1zddx.js → aisdk-native-dacfsbkh.js} +24 -24
- package/dist/chunks/{model-resolver-bnp39z5h.js → aisdk-native-dapk8jjf.js} +14 -14
- package/dist/chunks/{model-resolver-dbwvxspc.js → aisdk-native-dbwvxspc.js} +2 -2
- package/dist/chunks/{model-resolver-hfd5ktcx.js → aisdk-native-dp9g7q6d.js} +20 -20
- package/dist/chunks/{model-resolver-dt77769w.js → aisdk-native-dt77769w.js} +1 -1
- package/dist/chunks/{model-resolver-78b7n5g5.js → aisdk-native-dy26v7fg.js} +16 -16
- package/dist/chunks/{model-resolver-gthvtyvd.js → aisdk-native-e0f4qjd6.js} +9 -9
- package/dist/chunks/{model-resolver-0cm8w0h0.js → aisdk-native-e1878b97.js} +15 -15
- package/dist/chunks/{model-resolver-0x1ky6tt.js → aisdk-native-e81761cv.js} +13 -13
- package/dist/chunks/{model-resolver-nm0y8vvv.js → aisdk-native-ebaqg280.js} +4 -4
- package/dist/chunks/{model-resolver-n8452edb.js → aisdk-native-edc28t6h.js} +20 -20
- package/dist/chunks/{model-resolver-xbk1c74q.js → aisdk-native-eecj8wjf.js} +15 -15
- package/dist/chunks/{model-resolver-35dyh8zc.js → aisdk-native-enn3y25c.js} +16 -16
- package/dist/chunks/{model-resolver-eqw4pqj1.js → aisdk-native-eqw4pqj1.js} +2 -2
- package/dist/chunks/{model-resolver-hsq20zcv.js → aisdk-native-ern7vk6v.js} +24 -24
- package/dist/chunks/{model-resolver-c6vzxs6d.js → aisdk-native-es13dbc0.js} +4 -4
- package/dist/chunks/{model-resolver-k21m941d.js → aisdk-native-estnn1yk.js} +12 -12
- package/dist/chunks/{model-resolver-3bt7d27v.js → aisdk-native-f6ezmy00.js} +19 -19
- package/dist/chunks/{model-resolver-trsfyz66.js → aisdk-native-f7n1b19c.js} +27 -27
- package/dist/chunks/{model-resolver-pfes22bt.js → aisdk-native-fd6deh55.js} +32 -32
- package/dist/chunks/{model-resolver-fg9p65nk.js → aisdk-native-fg9p65nk.js} +2 -2
- package/dist/chunks/{model-resolver-a98sp0g1.js → aisdk-native-fmg2n0h6.js} +8 -8
- package/dist/chunks/{model-resolver-5hkbkvpj.js → aisdk-native-fwnc6hbh.js} +37 -34
- package/dist/chunks/{model-resolver-wr3re1en.js → aisdk-native-fznmdakp.js} +4 -4
- package/dist/chunks/{model-resolver-m18jwc4k.js → aisdk-native-g0jk4ass.js} +36 -36
- package/dist/chunks/{model-resolver-4xf3z6m9.js → aisdk-native-g20ajjnr.js} +24 -24
- package/dist/chunks/{model-resolver-e8xb975w.js → aisdk-native-g2fyxw2s.js} +5 -5
- package/dist/chunks/{model-resolver-b26ddj6h.js → aisdk-native-g4txs7zc.js} +4 -4
- package/dist/chunks/{model-resolver-6xyar59c.js → aisdk-native-g8tvpr6n.js} +43 -38
- package/dist/chunks/{model-resolver-cyyhec7m.js → aisdk-native-gb6t3vj2.js} +11 -11
- package/dist/chunks/{model-resolver-gbjdnr5j.js → aisdk-native-gbjdnr5j.js} +2 -2
- package/dist/chunks/{model-resolver-6b4ce5nf.js → aisdk-native-gcbvgrh1.js} +23 -23
- package/dist/chunks/{model-resolver-vgv3jq4j.js → aisdk-native-gg72beqr.js} +20 -20
- package/dist/chunks/{model-resolver-ghrv1g9c.js → aisdk-native-ghrv1g9c.js} +1 -1
- package/dist/chunks/{model-resolver-75ytegcn.js → aisdk-native-gmpczngg.js} +25 -25
- package/dist/chunks/{model-resolver-cbn53fmr.js → aisdk-native-gnr7sg9c.js} +12 -12
- package/dist/chunks/{model-resolver-gwyytpcj.js → aisdk-native-gwyytpcj.js} +3 -3
- package/dist/chunks/{model-resolver-gxs71cxp.js → aisdk-native-gxs71cxp.js} +1 -1
- package/dist/chunks/{model-resolver-dfxynx1c.js → aisdk-native-h2jdtca2.js} +3 -3
- package/dist/chunks/{model-resolver-zsg4s0qd.js → aisdk-native-h3vrkr60.js} +23 -23
- package/dist/chunks/{model-resolver-kh0hrg97.js → aisdk-native-h9hc66h4.js} +4 -4
- package/dist/chunks/{model-resolver-namg35k6.js → aisdk-native-hfngfxea.js} +64 -39
- package/dist/chunks/{model-resolver-hgzwgvze.js → aisdk-native-hgzwgvze.js} +2 -2
- package/dist/chunks/{model-resolver-fmj7ae5v.js → aisdk-native-hkrp0y5j.js} +14 -14
- package/dist/chunks/{model-resolver-55g2q5p5.js → aisdk-native-hretfjjx.js} +2 -2
- package/dist/chunks/{model-resolver-yf398m6s.js → aisdk-native-ht4q51j5.js} +1 -1
- package/dist/chunks/{model-resolver-thrvbsj4.js → aisdk-native-hv9jjg0j.js} +4 -4
- package/dist/chunks/{model-resolver-e1wxfs9m.js → aisdk-native-hwk0nzas.js} +10 -10
- package/dist/chunks/{model-resolver-39hag7pk.js → aisdk-native-j2hrrfjs.js} +9 -9
- package/dist/chunks/{model-resolver-tr8x705m.js → aisdk-native-j376ae4e.js} +5 -5
- package/dist/chunks/{model-resolver-98sp2pny.js → aisdk-native-j3h0me22.js} +5 -5
- package/dist/chunks/{model-resolver-j9nxzz3g.js → aisdk-native-j9nxzz3g.js} +3 -3
- package/dist/chunks/{model-resolver-43ws705g.js → aisdk-native-jc512s3p.js} +8 -8
- package/dist/chunks/{model-resolver-17a8n8c0.js → aisdk-native-jcfrb538.js} +9 -9
- package/dist/chunks/{model-resolver-b0xd6393.js → aisdk-native-jdadahzq.js} +13 -13
- package/dist/chunks/{model-resolver-amq75nvz.js → aisdk-native-jf907k3w.js} +12 -12
- package/dist/chunks/{model-resolver-qsdghx1p.js → aisdk-native-jg11hrrc.js} +4 -4
- package/dist/chunks/{model-resolver-bhfd478d.js → aisdk-native-jkdcm5hg.js} +4 -4
- package/dist/chunks/{model-resolver-jm70asfg.js → aisdk-native-jm70asfg.js} +1 -1
- package/dist/chunks/{model-resolver-h2m6b1re.js → aisdk-native-jn64m8av.js} +60 -60
- package/dist/chunks/{model-resolver-44pmzq9c.js → aisdk-native-jxd6f16v.js} +2 -2
- package/dist/chunks/{model-resolver-bx8pztnv.js → aisdk-native-k4dtcg9k.js} +52 -52
- package/dist/chunks/{model-resolver-2w4q61kx.js → aisdk-native-k6ajhc26.js} +164 -164
- package/dist/chunks/{model-resolver-kyy1gfks.js → aisdk-native-kabdjkhx.js} +9 -9
- package/dist/chunks/{model-resolver-j8k1630m.js → aisdk-native-kb2zgvc1.js} +11 -11
- package/dist/chunks/{model-resolver-8rpem33g.js → aisdk-native-keynq1yx.js} +15 -15
- package/dist/chunks/{model-resolver-b58xfcba.js → aisdk-native-kgcwncjv.js} +13 -13
- package/dist/chunks/{model-resolver-kj9n5bvh.js → aisdk-native-kj9n5bvh.js} +1 -1
- package/dist/chunks/{model-resolver-pxp5g7gz.js → aisdk-native-kkcyrw6y.js} +19 -19
- package/dist/chunks/{model-resolver-h5chy42v.js → aisdk-native-kn4zqwcq.js} +3 -3
- package/dist/chunks/{model-resolver-kt3bjfbg.js → aisdk-native-kt3bjfbg.js} +1 -1
- package/dist/chunks/{model-resolver-rk83tkpa.js → aisdk-native-kv9jy6rg.js} +15 -15
- package/dist/chunks/{model-resolver-kzczzf4v.js → aisdk-native-kzczzf4v.js} +1 -1
- package/dist/chunks/{model-resolver-93xmyh8q.js → aisdk-native-kzdam8c6.js} +5 -5
- package/dist/chunks/{model-resolver-m1714858.js → aisdk-native-m1714858.js} +1 -1
- package/dist/chunks/{model-resolver-49193vcf.js → aisdk-native-m27qf2y1.js} +59 -59
- package/dist/chunks/{model-resolver-7thq429k.js → aisdk-native-m3wswhjn.js} +28 -28
- package/dist/chunks/{model-resolver-w9w8mt4n.js → aisdk-native-m7xh3h0x.js} +4 -4
- package/dist/chunks/{model-resolver-rtw736n3.js → aisdk-native-m81vewgw.js} +2 -2
- package/dist/chunks/{model-resolver-m9w0rfyh.js → aisdk-native-m9w0rfyh.js} +1 -1
- package/dist/chunks/{model-resolver-8z6m94af.js → aisdk-native-mb7mbhnz.js} +3 -3
- package/dist/chunks/{model-resolver-b5q7pf5w.js → aisdk-native-mby6tksd.js} +5 -5
- package/dist/chunks/{model-resolver-87567wwg.js → aisdk-native-mcpdwn1e.js} +5 -5
- package/dist/chunks/aisdk-native-me0dhgxs.js +18 -0
- package/dist/chunks/{model-resolver-4ckd9m63.js → aisdk-native-me9et3sw.js} +35 -35
- package/dist/chunks/{model-resolver-wv9dwejv.js → aisdk-native-mgajk1hc.js} +9 -9
- package/dist/chunks/{model-resolver-95hq7g3b.js → aisdk-native-mhs3my2j.js} +8 -8
- package/dist/chunks/{model-resolver-792zwxrf.js → aisdk-native-mjkjcadv.js} +15 -15
- package/dist/chunks/{model-resolver-h1cp8qpe.js → aisdk-native-mjwgjcx3.js} +16 -16
- package/dist/chunks/{model-resolver-7h8wa1fp.js → aisdk-native-mkwsmbwf.js} +41 -41
- package/dist/chunks/{model-resolver-7v209rv6.js → aisdk-native-mm6cs6rc.js} +7 -7
- package/dist/chunks/{model-resolver-t8ypzn8d.js → aisdk-native-mmcs0xt9.js} +12 -12
- package/dist/chunks/{model-resolver-d84h616w.js → aisdk-native-mngvrfm2.js} +2 -2
- package/dist/chunks/{model-resolver-6d5pjscs.js → aisdk-native-mva71h65.js} +12 -12
- package/dist/chunks/aisdk-native-n0f9xw0s.js +273 -0
- package/dist/chunks/{model-resolver-ywpn4wnv.js → aisdk-native-n2yrwpa3.js} +51 -51
- package/dist/chunks/{model-resolver-26fw13qb.js → aisdk-native-n4n0yfxw.js} +15 -15
- package/dist/chunks/{model-resolver-1npjfhft.js → aisdk-native-n6a2b8y9.js} +3 -3
- package/dist/chunks/{model-resolver-jsha95z4.js → aisdk-native-n8akpgyn.js} +3 -3
- package/dist/chunks/{model-resolver-wy3jmvnp.js → aisdk-native-nmv886ps.js} +10 -10
- package/dist/chunks/{model-resolver-weqc7sb9.js → aisdk-native-nv2c5e9q.js} +3 -3
- package/dist/chunks/{model-resolver-f7ser9h2.js → aisdk-native-p40xkmk6.js} +37 -37
- package/dist/chunks/{model-resolver-vfq85drt.js → aisdk-native-p6bnftcn.js} +17 -17
- package/dist/chunks/{model-resolver-c86nvdvs.js → aisdk-native-p7n1wteh.js} +26 -19
- package/dist/chunks/{model-resolver-8g9x758g.js → aisdk-native-pbr6dek6.js} +11 -11
- package/dist/chunks/{model-resolver-nhrcjkad.js → aisdk-native-pdmk6yvt.js} +45 -45
- package/dist/chunks/{model-resolver-pknna89w.js → aisdk-native-pknna89w.js} +1 -1
- package/dist/chunks/{model-resolver-6shafxdq.js → aisdk-native-q0symwq1.js} +48 -48
- package/dist/chunks/{model-resolver-krwrvjjq.js → aisdk-native-q1gs1tw7.js} +3 -3
- package/dist/chunks/{model-resolver-q42tzrxa.js → aisdk-native-q42tzrxa.js} +1 -1
- package/dist/chunks/{model-resolver-t2jj1q7e.js → aisdk-native-q5p3a3y6.js} +6 -6
- package/dist/chunks/{model-resolver-g3vv6jev.js → aisdk-native-q68rk2kg.js} +34 -34
- package/dist/chunks/{model-resolver-6eentdsx.js → aisdk-native-qbv9zet0.js} +21 -21
- package/dist/chunks/{model-resolver-b18cfa8q.js → aisdk-native-qesrazjh.js} +24 -24
- package/dist/chunks/{model-resolver-9yp5237e.js → aisdk-native-qgkbjryp.js} +23 -23
- package/dist/chunks/{model-resolver-gwyf32yk.js → aisdk-native-qgw9yw0d.js} +12 -12
- package/dist/chunks/{model-resolver-qp7r0hxv.js → aisdk-native-qp7r0hxv.js} +1 -1
- package/dist/chunks/{model-resolver-58wf94jx.js → aisdk-native-qvtwmp4v.js} +6 -6
- package/dist/chunks/{model-resolver-b1gg9skb.js → aisdk-native-qy9zr1wf.js} +22 -22
- package/dist/chunks/{model-resolver-67wwskyb.js → aisdk-native-qzgp0jr4.js} +4 -4
- package/dist/chunks/{model-resolver-tq2hyx43.js → aisdk-native-r4m5d1s2.js} +12 -12
- package/dist/chunks/{model-resolver-h487vybe.js → aisdk-native-r5bmjjqg.js} +9 -9
- package/dist/chunks/{model-resolver-rb9dy4dg.js → aisdk-native-rb9dy4dg.js} +1 -1
- package/dist/chunks/{model-resolver-dz4yxwmg.js → aisdk-native-rcgfb69f.js} +15 -15
- package/dist/chunks/{model-resolver-pacqxndm.js → aisdk-native-rfbfa0kp.js} +21 -21
- package/dist/chunks/{model-resolver-rgwx1hcw.js → aisdk-native-rfg7ss5a.js} +32 -32
- package/dist/chunks/{model-resolver-evnqzq7w.js → aisdk-native-rg77pcwq.js} +13 -13
- package/dist/chunks/{model-resolver-rgc9cx3e.js → aisdk-native-rgc9cx3e.js} +2 -2
- package/dist/chunks/{model-resolver-wk91ykzv.js → aisdk-native-rgr8n0qn.js} +9 -9
- package/dist/chunks/{model-resolver-fxx9kcym.js → aisdk-native-rhkw1j98.js} +34 -34
- package/dist/chunks/{model-resolver-cj56ej7w.js → aisdk-native-rhqnsbkr.js} +10 -10
- package/dist/chunks/{model-resolver-px7qpgcn.js → aisdk-native-rj7j5fvs.js} +4 -4
- package/dist/chunks/{model-resolver-wvyxnda0.js → aisdk-native-rw92j0zf.js} +19 -19
- package/dist/chunks/{model-resolver-vj6zva4r.js → aisdk-native-rztkg5ma.js} +15 -15
- package/dist/chunks/{model-resolver-e1yry2s0.js → aisdk-native-rzy6jfey.js} +27 -27
- package/dist/chunks/{model-resolver-ss9f7bas.js → aisdk-native-s15qxh76.js} +10 -10
- package/dist/chunks/{model-resolver-2p60zmnr.js → aisdk-native-s1ba0vj0.js} +2 -2
- package/dist/chunks/{model-resolver-3v4axrb2.js → aisdk-native-s3kvm49m.js} +21 -21
- package/dist/chunks/{model-resolver-bsmq69am.js → aisdk-native-s3q7gd0a.js} +33 -33
- package/dist/chunks/{model-resolver-65zzbc8y.js → aisdk-native-s4kyhetj.js} +6 -6
- package/dist/chunks/{model-resolver-x2mc8zy4.js → aisdk-native-s4vk2d0f.js} +39 -39
- package/dist/chunks/{model-resolver-85yc0hq8.js → aisdk-native-s5htyxhy.js} +12 -12
- package/dist/chunks/{model-resolver-k7hryaa3.js → aisdk-native-s6v54swn.js} +5 -11
- package/dist/chunks/{model-resolver-sbya78hr.js → aisdk-native-sbya78hr.js} +1 -1
- package/dist/chunks/{model-resolver-06ktedhr.js → aisdk-native-smxm5cyh.js} +5 -5
- package/dist/chunks/{model-resolver-7gess8jg.js → aisdk-native-ssswv2mx.js} +5 -5
- package/dist/chunks/{model-resolver-svcy3p9a.js → aisdk-native-svcy3p9a.js} +1 -1
- package/dist/chunks/{model-resolver-xjr6c8m4.js → aisdk-native-t54kw4zq.js} +7 -7
- package/dist/chunks/{model-resolver-n3j33rb6.js → aisdk-native-t62dywgn.js} +4 -4
- package/dist/chunks/{model-resolver-7x5h8fpa.js → aisdk-native-t7mrdx4b.js} +20 -20
- package/dist/chunks/{model-resolver-y7js4jyr.js → aisdk-native-t89gmwvs.js} +29 -29
- package/dist/chunks/{model-resolver-tbpn7jtk.js → aisdk-native-tbpn7jtk.js} +1 -1
- package/dist/chunks/{model-resolver-tczq8hjw.js → aisdk-native-tczq8hjw.js} +1 -1
- package/dist/chunks/{model-resolver-te5gs48x.js → aisdk-native-tgmktj4t.js} +28 -22
- package/dist/chunks/{model-resolver-jrg2cpfv.js → aisdk-native-tjw927s6.js} +19 -19
- package/dist/chunks/{model-resolver-fk4nyth7.js → aisdk-native-tjzz9sak.js} +28 -28
- package/dist/chunks/{model-resolver-b49zxgjn.js → aisdk-native-tkmhf8qc.js} +16 -16
- package/dist/chunks/{model-resolver-06528xma.js → aisdk-native-tn93zn7z.js} +11 -11
- package/dist/chunks/{model-resolver-kcywyb0p.js → aisdk-native-ttcp4gmv.js} +10 -10
- package/dist/chunks/{model-resolver-tvtps2q9.js → aisdk-native-tvtps2q9.js} +1 -1
- package/dist/chunks/{model-resolver-twssxy5n.js → aisdk-native-twssxy5n.js} +2 -2
- package/dist/chunks/{model-resolver-p3r8fd5g.js → aisdk-native-tzv43bb7.js} +13 -13
- package/dist/chunks/{model-resolver-w79nt68w.js → aisdk-native-v0t96s7a.js} +4 -4
- package/dist/chunks/{model-resolver-5xn9kzfz.js → aisdk-native-v0wevfvc.js} +4 -4
- package/dist/chunks/{model-resolver-k1ep0xm2.js → aisdk-native-v25k8025.js} +2 -2
- package/dist/chunks/{model-resolver-v2r1d0zg.js → aisdk-native-v2r1d0zg.js} +1 -1
- package/dist/chunks/{model-resolver-mbvesg5z.js → aisdk-native-v5aw3sx5.js} +23 -23
- package/dist/chunks/{model-resolver-2xatpdvx.js → aisdk-native-vcy5z73k.js} +37 -37
- package/dist/chunks/{model-resolver-55esenn1.js → aisdk-native-vd8gka9n.js} +31 -31
- package/dist/chunks/{model-resolver-ydpnjhqw.js → aisdk-native-vf4wgzf5.js} +6 -6
- package/dist/chunks/{model-resolver-nb2zydgr.js → aisdk-native-vgyyz51h.js} +1 -1
- package/dist/chunks/{model-resolver-z6g4szpb.js → aisdk-native-vj50rhab.js} +7 -7
- package/dist/chunks/{model-resolver-vjf35v1f.js → aisdk-native-vjf35v1f.js} +1 -1
- package/dist/chunks/{model-resolver-dnqgyvcs.js → aisdk-native-vm603gvn.js} +8 -8
- package/dist/chunks/{model-resolver-cq3swvxg.js → aisdk-native-vq1wj1j8.js} +43 -43
- package/dist/chunks/{model-resolver-8hx1s2cj.js → aisdk-native-vrf7nrzm.js} +3 -3
- package/dist/chunks/{model-resolver-w3wsvvr9.js → aisdk-native-w3wsvvr9.js} +1 -1
- package/dist/chunks/{model-resolver-wakvkjy4.js → aisdk-native-wakvkjy4.js} +1 -1
- package/dist/chunks/{model-resolver-wd87259q.js → aisdk-native-wd87259q.js} +1 -1
- package/dist/chunks/{model-resolver-nx4vzyjd.js → aisdk-native-wegkxhrn.js} +2 -2
- package/dist/chunks/{model-resolver-vzwtnhxx.js → aisdk-native-wmcpspeh.js} +17 -17
- package/dist/chunks/{model-resolver-9zmg7atm.js → aisdk-native-wtpx7qwd.js} +20 -20
- package/dist/chunks/{model-resolver-me2qbzxf.js → aisdk-native-x3vaw11v.js} +5 -5
- package/dist/chunks/{model-resolver-bstexjd6.js → aisdk-native-xd9cc171.js} +5 -5
- package/dist/chunks/{model-resolver-4r93zmvq.js → aisdk-native-xt9kkwbx.js} +6 -6
- package/dist/chunks/{model-resolver-7nqkf5r1.js → aisdk-native-xz07m27x.js} +2 -2
- package/dist/chunks/{model-resolver-qqmh8y2m.js → aisdk-native-y2sg5xsj.js} +47 -47
- package/dist/chunks/{model-resolver-gtxcskxp.js → aisdk-native-y5ken3zw.js} +45 -45
- package/dist/chunks/{model-resolver-yb20nhc3.js → aisdk-native-yb20nhc3.js} +1 -1
- package/dist/chunks/{model-resolver-f4cm2q9v.js → aisdk-native-yb8qdwfh.js} +7 -7
- package/dist/chunks/{model-resolver-1v2g13eq.js → aisdk-native-ybws1qgk.js} +4 -4
- package/dist/chunks/{model-resolver-vg6azxz0.js → aisdk-native-ycn797ny.js} +3 -3
- package/dist/chunks/{model-resolver-c49p6f3h.js → aisdk-native-yerwdcc4.js} +12 -12
- package/dist/chunks/{model-resolver-7jtz7qqk.js → aisdk-native-yhk294c0.js} +17 -17
- package/dist/chunks/{model-resolver-9zm8sjf4.js → aisdk-native-ymr2f7da.js} +37 -37
- package/dist/chunks/{model-resolver-1q5x92rn.js → aisdk-native-yqkr53xr.js} +29 -29
- package/dist/chunks/{model-resolver-yr705xyq.js → aisdk-native-yr705xyq.js} +1 -1
- package/dist/chunks/{model-resolver-cmyxdsk8.js → aisdk-native-yrq5awh4.js} +4 -4
- package/dist/chunks/{model-resolver-yvtc2x31.js → aisdk-native-yvtc2x31.js} +1 -1
- package/dist/chunks/{model-resolver-0qshktxv.js → aisdk-native-yy51safk.js} +19 -19
- package/dist/chunks/{model-resolver-yydqqga9.js → aisdk-native-yydqqga9.js} +1 -1
- package/dist/chunks/{model-resolver-tcmxz86x.js → aisdk-native-yyea42he.js} +3 -3
- package/dist/chunks/{model-resolver-rb22zaf7.js → aisdk-native-z4w9ra3c.js} +28 -28
- package/dist/chunks/{model-resolver-s9jejje8.js → aisdk-native-zab00x37.js} +19 -19
- package/dist/chunks/{model-resolver-5zrq825g.js → aisdk-native-zetjkv74.js} +14 -14
- package/dist/chunks/{model-resolver-jq1xz990.js → aisdk-native-zfnd2etp.js} +30 -30
- package/dist/chunks/aisdk-native-zfrsq1tf.js +115 -0
- package/dist/chunks/{model-resolver-xfh1aj82.js → aisdk-native-zv18v6ha.js} +7 -7
- package/dist/chunks/{model-resolver-ehr25e9a.js → aisdk-native-zwx55tz8.js} +34 -43
- package/dist/chunks/{model-resolver-963hk181.js → aisdk-native-zyfhsknv.js} +9 -9
- package/dist/codemode/catalog.js +1 -1
- package/dist/codemode/execution.js +3 -3
- package/dist/codemode/fetch.js +148 -148
- package/dist/codemode/instructions.js +7 -7
- 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 +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 +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 +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 +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 +105 -105
- 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 +107 -107
- 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 +90 -90
- package/dist/filesystem/location-watcher-policy.js +6 -6
- package/dist/filesystem/location-watcher.js +248 -248
- package/dist/filesystem/protected.js +1 -1
- package/dist/filesystem/search.js +111 -111
- 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 +2 -2
- package/dist/formatter.js +100 -100
- package/dist/generate.js +122 -122
- package/dist/git.js +11 -11
- package/dist/github-copilot/models.js +108 -104
- 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 +432 -432
- package/dist/instruction-discovery.js +93 -93
- package/dist/instructions/builtins.js +100 -100
- package/dist/instructions/index.js +3 -3
- package/dist/integration/connection.js +3 -3
- package/dist/integration.js +100 -100
- package/dist/job/list.js +5 -5
- 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 +80 -80
- 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 +102 -102
- package/dist/managed-policy.js +3 -3
- package/dist/mcp/client.js +161 -159
- package/dist/mcp/connection.js +106 -106
- 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 +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 +121 -121
- 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 +150 -150
- package/dist/persistent-pty/binary.bun.js +1 -1
- package/dist/persistent-pty/daemon.js +1 -1
- package/dist/persistent-pty/index.js +99 -99
- 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 +3 -3
- package/dist/plugin/host.js +245 -245
- package/dist/plugin/identity.js +5 -5
- package/dist/plugin/instance.js +3 -3
- package/dist/plugin/internal.js +410 -410
- package/dist/plugin/mcp-codemode-defaults.js +1 -1
- 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 +147 -147
- package/dist/plugin/promise.js +1 -1
- package/dist/plugin/provider/amazon-bedrock.js +106 -106
- package/dist/plugin/provider/azure.js +131 -131
- 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 +148 -148
- package/dist/plugin/provider/claude-agent/instructions.js +110 -110
- 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 +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 +110 -110
- 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 +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 +4 -4
- 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 +140 -140
- 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 +148 -148
- package/dist/plugin/source-directory.js +1 -1
- package/dist/plugin/supervisor.js +420 -420
- package/dist/plugin/tool-input-repair.js +2 -2
- package/dist/plugin/update.js +4 -4
- 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 +7 -7
- 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 +256 -256
- 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 +105 -105
- package/dist/provider.js +106 -106
- package/dist/pty/protocol.js +1 -1
- package/dist/pty/ticket.js +1 -1
- package/dist/pty.js +113 -113
- package/dist/reference/instructions.js +101 -101
- package/dist/reference.js +101 -101
- 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 +258 -258
- package/dist/schema.js +1 -1
- package/dist/session/affinity.js +1 -1
- package/dist/session/background.js +3 -3
- package/dist/session/blob.js +132 -132
- package/dist/session/command.js +85 -85
- package/dist/session/compaction.js +169 -169
- 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 +5 -5
- package/dist/session/event.js +1 -1
- package/dist/session/execution/restart.js +255 -255
- package/dist/session/execution.js +165 -165
- package/dist/session/generate.js +207 -207
- package/dist/session/history.js +139 -139
- package/dist/session/inbox.js +144 -144
- 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 +171 -171
- package/dist/session/model-transport.js +9 -9
- 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 +258 -258
- 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 +3 -3
- package/dist/session/runner/step.js +166 -166
- package/dist/session/runner/to-llm-message.js +140 -140
- package/dist/session/schema.js +5 -5
- package/dist/session/session.js +188 -188
- 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 +3 -3
- package/dist/session/subagent-job.js +238 -238
- package/dist/session/system-prompt.js +3 -3
- package/dist/session/title.js +209 -209
- package/dist/session/to-session-error.js +152 -152
- package/dist/session/transfer.js +251 -251
- 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 +9 -9
- package/dist/shell.js +147 -147
- package/dist/skill/discovery.js +6 -6
- package/dist/skill/instructions.js +152 -152
- 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 +149 -149
- package/dist/tool/plugin/read.js +175 -175
- package/dist/tool/plugin/schedule.js +256 -256
- package/dist/tool/plugin/shell.js +240 -240
- package/dist/tool/plugin/skill.js +160 -160
- package/dist/tool/plugin/subagent.js +245 -245
- 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 +116 -116
- 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 +163 -163
- 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/plugin/warming.d.ts +1 -2
- 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 +5 -5
- package/dist/v1/config/command.js +1 -1
- 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 +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 +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 +11 -11
- package/dist/worktree/sql.js +5 -5
- package/dist/worktree/strategies.js +102 -102
- package/dist/worktree.js +113 -113
- package/package.json +12 -12
- package/dist/chunks/model-resolver-9btp5vxy.js +0 -26
- package/dist/chunks/model-resolver-f42cf6nm.js +0 -86
- package/dist/chunks/model-resolver-jztn5z23.js +0 -18
- package/dist/chunks/model-resolver-pcqpq1e6.js +0 -273
- package/dist/chunks/model-resolver-wxp6j0kx.js +0 -577
- package/dist/chunks/model-resolver-x62svs7s.js +0 -201
- /package/dist/chunks/{model-resolver-0qkdqm5v.js → aisdk-native-0qkdqm5v.js} +0 -0
- /package/dist/chunks/{model-resolver-0zkw76rk.js → aisdk-native-0zkw76rk.js} +0 -0
- /package/dist/chunks/{model-resolver-17cy0kzp.js → aisdk-native-17cy0kzp.js} +0 -0
- /package/dist/chunks/{model-resolver-1cnp2v09.js → aisdk-native-1cnp2v09.js} +0 -0
- /package/dist/chunks/{model-resolver-1kah00gy.js → aisdk-native-1kah00gy.js} +0 -0
- /package/dist/chunks/{model-resolver-24dcb14g.js → aisdk-native-24dcb14g.js} +0 -0
- /package/dist/chunks/{model-resolver-2710q6r3.js → aisdk-native-2710q6r3.js} +0 -0
- /package/dist/chunks/{model-resolver-2c3vjs8z.js → aisdk-native-2c3vjs8z.js} +0 -0
- /package/dist/chunks/{model-resolver-359p4xyc.js → aisdk-native-359p4xyc.js} +0 -0
- /package/dist/chunks/{model-resolver-3v8g72cx.js → aisdk-native-3v8g72cx.js} +0 -0
- /package/dist/chunks/{model-resolver-43n2bw4t.js → aisdk-native-43n2bw4t.js} +0 -0
- /package/dist/chunks/{model-resolver-4knz6hnm.js → aisdk-native-4knz6hnm.js} +0 -0
- /package/dist/chunks/{model-resolver-4qk9sjk2.js → aisdk-native-4qk9sjk2.js} +0 -0
- /package/dist/chunks/{model-resolver-53557ph1.js → aisdk-native-53557ph1.js} +0 -0
- /package/dist/chunks/{model-resolver-5w3e23ze.js → aisdk-native-5w3e23ze.js} +0 -0
- /package/dist/chunks/{model-resolver-6agm2x70.js → aisdk-native-6agm2x70.js} +0 -0
- /package/dist/chunks/{model-resolver-6prwharc.js → aisdk-native-6prwharc.js} +0 -0
- /package/dist/chunks/{model-resolver-6q2bdcd1.js → aisdk-native-6q2bdcd1.js} +0 -0
- /package/dist/chunks/{model-resolver-7akdwqpd.js → aisdk-native-7akdwqpd.js} +0 -0
- /package/dist/chunks/{model-resolver-7m9af43g.js → aisdk-native-7m9af43g.js} +0 -0
- /package/dist/chunks/{model-resolver-822emrt2.js → aisdk-native-822emrt2.js} +0 -0
- /package/dist/chunks/{model-resolver-84wd9syh.js → aisdk-native-84wd9syh.js} +0 -0
- /package/dist/chunks/{model-resolver-88xbtdfr.js → aisdk-native-88xbtdfr.js} +0 -0
- /package/dist/chunks/{model-resolver-8n3pysct.js → aisdk-native-8n3pysct.js} +0 -0
- /package/dist/chunks/{model-resolver-8wj87zfr.js → aisdk-native-8wj87zfr.js} +0 -0
- /package/dist/chunks/{model-resolver-9a4afbnw.js → aisdk-native-9a4afbnw.js} +0 -0
- /package/dist/chunks/{model-resolver-9rqn6x4v.js → aisdk-native-9rqn6x4v.js} +0 -0
- /package/dist/chunks/{model-resolver-aqzs7mqg.js → aisdk-native-aqzs7mqg.js} +0 -0
- /package/dist/chunks/{model-resolver-atq7p7m5.js → aisdk-native-atq7p7m5.js} +0 -0
- /package/dist/chunks/{model-resolver-beh6qq61.js → aisdk-native-beh6qq61.js} +0 -0
- /package/dist/chunks/{model-resolver-bhmrqjy3.js → aisdk-native-bhmrqjy3.js} +0 -0
- /package/dist/chunks/{model-resolver-bkyjaxrp.js → aisdk-native-bkyjaxrp.js} +0 -0
- /package/dist/chunks/{model-resolver-bmr6ed5q.js → aisdk-native-bmr6ed5q.js} +0 -0
- /package/dist/chunks/{model-resolver-cf4snx6d.js → aisdk-native-cf4snx6d.js} +0 -0
- /package/dist/chunks/{model-resolver-cqv5kn06.js → aisdk-native-cqv5kn06.js} +0 -0
- /package/dist/chunks/{model-resolver-cvy3z8tj.js → aisdk-native-cvy3z8tj.js} +0 -0
- /package/dist/chunks/{model-resolver-d9fn303g.js → aisdk-native-d9fn303g.js} +0 -0
- /package/dist/chunks/{model-resolver-d9jj8t3e.js → aisdk-native-d9jj8t3e.js} +0 -0
- /package/dist/chunks/{model-resolver-df08tz66.js → aisdk-native-df08tz66.js} +0 -0
- /package/dist/chunks/{model-resolver-dy18nga0.js → aisdk-native-dy18nga0.js} +0 -0
- /package/dist/chunks/{model-resolver-e5kj55wp.js → aisdk-native-e5kj55wp.js} +0 -0
- /package/dist/chunks/{model-resolver-ean2d8b5.js → aisdk-native-ean2d8b5.js} +0 -0
- /package/dist/chunks/{model-resolver-ec1grn59.js → aisdk-native-ec1grn59.js} +0 -0
- /package/dist/chunks/{model-resolver-emrn6kk6.js → aisdk-native-emrn6kk6.js} +0 -0
- /package/dist/chunks/{model-resolver-f0mxakyp.js → aisdk-native-f0mxakyp.js} +0 -0
- /package/dist/chunks/{model-resolver-f6n9ztr4.js → aisdk-native-f6n9ztr4.js} +0 -0
- /package/dist/chunks/{model-resolver-faypxj3z.js → aisdk-native-faypxj3z.js} +0 -0
- /package/dist/chunks/{model-resolver-fd410y7t.js → aisdk-native-fd410y7t.js} +0 -0
- /package/dist/chunks/{model-resolver-fkpq3x5p.js → aisdk-native-fkpq3x5p.js} +0 -0
- /package/dist/chunks/{model-resolver-g86h250q.js → aisdk-native-g86h250q.js} +0 -0
- /package/dist/chunks/{model-resolver-gebd4c9n.js → aisdk-native-gebd4c9n.js} +0 -0
- /package/dist/chunks/{model-resolver-gftt206x.js → aisdk-native-gftt206x.js} +0 -0
- /package/dist/chunks/{model-resolver-hcxmzztb.js → aisdk-native-hcxmzztb.js} +0 -0
- /package/dist/chunks/{model-resolver-hk9envan.js → aisdk-native-hk9envan.js} +0 -0
- /package/dist/chunks/{model-resolver-j2ntwpah.js → aisdk-native-j2ntwpah.js} +0 -0
- /package/dist/chunks/{model-resolver-jjkms2e6.js → aisdk-native-jjkms2e6.js} +0 -0
- /package/dist/chunks/{model-resolver-jr7sbwjy.js → aisdk-native-jr7sbwjy.js} +0 -0
- /package/dist/chunks/{model-resolver-jwfs4k6c.js → aisdk-native-jwfs4k6c.js} +0 -0
- /package/dist/chunks/{model-resolver-jwr30sdr.js → aisdk-native-jwr30sdr.js} +0 -0
- /package/dist/chunks/{model-resolver-jzg6c2d5.js → aisdk-native-jzg6c2d5.js} +0 -0
- /package/dist/chunks/{model-resolver-m18g726c.js → aisdk-native-m18g726c.js} +0 -0
- /package/dist/chunks/{model-resolver-mp448xyj.js → aisdk-native-mp448xyj.js} +0 -0
- /package/dist/chunks/{model-resolver-msx8hqn2.js → aisdk-native-msx8hqn2.js} +0 -0
- /package/dist/chunks/{model-resolver-n05xt0ee.js → aisdk-native-n05xt0ee.js} +0 -0
- /package/dist/chunks/{model-resolver-n3j8tn72.js → aisdk-native-n3j8tn72.js} +0 -0
- /package/dist/chunks/{model-resolver-nh4v3znn.js → aisdk-native-nh4v3znn.js} +0 -0
- /package/dist/chunks/{model-resolver-njntx4h6.js → aisdk-native-njntx4h6.js} +0 -0
- /package/dist/chunks/{model-resolver-p71gwv9c.js → aisdk-native-p71gwv9c.js} +0 -0
- /package/dist/chunks/{model-resolver-q3sfg36h.js → aisdk-native-q3sfg36h.js} +0 -0
- /package/dist/chunks/{model-resolver-q74kybfr.js → aisdk-native-q74kybfr.js} +0 -0
- /package/dist/chunks/{model-resolver-qb87gjwd.js → aisdk-native-qb87gjwd.js} +0 -0
- /package/dist/chunks/{model-resolver-qfa1cgps.js → aisdk-native-qfa1cgps.js} +0 -0
- /package/dist/chunks/{model-resolver-qg3g05ea.js → aisdk-native-qg3g05ea.js} +0 -0
- /package/dist/chunks/{model-resolver-qrg20bc0.js → aisdk-native-qrg20bc0.js} +0 -0
- /package/dist/chunks/{model-resolver-rcb2kzg1.js → aisdk-native-rcb2kzg1.js} +0 -0
- /package/dist/chunks/{model-resolver-sdp7kfr6.js → aisdk-native-sdp7kfr6.js} +0 -0
- /package/dist/chunks/{model-resolver-ssg3fenm.js → aisdk-native-ssg3fenm.js} +0 -0
- /package/dist/chunks/{model-resolver-syrav9an.js → aisdk-native-syrav9an.js} +0 -0
- /package/dist/chunks/{model-resolver-t03h4f5z.js → aisdk-native-t03h4f5z.js} +0 -0
- /package/dist/chunks/{model-resolver-ty7weeps.js → aisdk-native-ty7weeps.js} +0 -0
- /package/dist/chunks/{model-resolver-ve7vex1e.js → aisdk-native-ve7vex1e.js} +0 -0
- /package/dist/chunks/{model-resolver-vtarvj67.js → aisdk-native-vtarvj67.js} +0 -0
- /package/dist/chunks/{model-resolver-w803qqfp.js → aisdk-native-w803qqfp.js} +0 -0
- /package/dist/chunks/{model-resolver-wc3fc9cn.js → aisdk-native-wc3fc9cn.js} +0 -0
- /package/dist/chunks/{model-resolver-wer8tq1h.js → aisdk-native-wer8tq1h.js} +0 -0
- /package/dist/chunks/{model-resolver-wtztk69x.js → aisdk-native-wtztk69x.js} +0 -0
- /package/dist/chunks/{model-resolver-x4th4bpe.js → aisdk-native-x4th4bpe.js} +0 -0
- /package/dist/chunks/{model-resolver-y44na4kk.js → aisdk-native-y44na4kk.js} +0 -0
- /package/dist/chunks/{model-resolver-y8f7s663.js → aisdk-native-y8f7s663.js} +0 -0
- /package/dist/chunks/{model-resolver-ygaqb7jw.js → aisdk-native-ygaqb7jw.js} +0 -0
- /package/dist/chunks/{model-resolver-z0h12gs8.js → aisdk-native-z0h12gs8.js} +0 -0
- /package/dist/chunks/{model-resolver-z5v4ffb3.js → aisdk-native-z5v4ffb3.js} +0 -0
- /package/dist/chunks/{model-resolver-z9919s4g.js → aisdk-native-z9919s4g.js} +0 -0
- /package/dist/chunks/{model-resolver-zxpyjp51.js → aisdk-native-zxpyjp51.js} +0 -0
- /package/dist/chunks/{model-resolver-zz5vv3aq.js → aisdk-native-zz5vv3aq.js} +0 -0
|
@@ -1,35 +1,35 @@
|
|
|
1
1
|
import {
|
|
2
2
|
requestExecutor2,
|
|
3
3
|
llmClient2
|
|
4
|
-
} from "./
|
|
4
|
+
} from "./aisdk-native-0ma9gw4f.js";
|
|
5
5
|
import {
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
} from "./
|
|
6
|
+
Service81,
|
|
7
|
+
node83
|
|
8
|
+
} from "./aisdk-native-5sc0cpz3.js";
|
|
9
9
|
import {
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
} from "./
|
|
10
|
+
Service80,
|
|
11
|
+
node82
|
|
12
|
+
} from "./aisdk-native-7xeg25jm.js";
|
|
13
13
|
import {
|
|
14
14
|
retryOneShot2
|
|
15
|
-
} from "./
|
|
15
|
+
} from "./aisdk-native-2fc7eemy.js";
|
|
16
16
|
import {
|
|
17
17
|
__export
|
|
18
|
-
} from "./
|
|
18
|
+
} from "./aisdk-native-9rqn6x4v.js";
|
|
19
19
|
|
|
20
20
|
// src/generate.ts
|
|
21
|
-
var
|
|
22
|
-
__export(
|
|
23
|
-
Generate: () =>
|
|
24
|
-
InvalidRequestError: () =>
|
|
21
|
+
var exports_generate2 = {};
|
|
22
|
+
__export(exports_generate2, {
|
|
23
|
+
Generate: () => exports_generate2,
|
|
24
|
+
InvalidRequestError: () => InvalidRequestError3,
|
|
25
25
|
ModelNotFoundError: () => ModelNotFoundError2,
|
|
26
26
|
ProviderFailure: () => ProviderFailure2,
|
|
27
27
|
ProviderRequestError: () => ProviderRequestError2,
|
|
28
|
-
Service: () =>
|
|
29
|
-
UnavailableError: () =>
|
|
28
|
+
Service: () => Service58,
|
|
29
|
+
UnavailableError: () => UnavailableError4,
|
|
30
30
|
UnsupportedModelError: () => UnsupportedModelError2,
|
|
31
|
-
layer: () =>
|
|
32
|
-
node: () =>
|
|
31
|
+
layer: () => layer21,
|
|
32
|
+
node: () => node59
|
|
33
33
|
});
|
|
34
34
|
import { ai, DecisionClient, ImageClient, LLMClient, Media } from "@opencode/ai/effect";
|
|
35
35
|
import { Money } from "@opencode/schema/money";
|
|
@@ -37,7 +37,7 @@ import { SessionID } from "@opencode/schema/session-id";
|
|
|
37
37
|
import { Context, Effect, Layer, Schema } from "effect";
|
|
38
38
|
import { RequestExecutor } from "@opencode/ai/route";
|
|
39
39
|
import { makeLocationNode } from "@opencode/util/effect/app-node";
|
|
40
|
-
class
|
|
40
|
+
class UnavailableError4 extends Schema.TaggedError()("Generate.UnavailableError", {
|
|
41
41
|
message: Schema.String,
|
|
42
42
|
service: Schema.optional(Schema.String)
|
|
43
43
|
}) {
|
|
@@ -58,7 +58,7 @@ class UnsupportedModelError2 extends Schema.TaggedError()("Generate.UnsupportedM
|
|
|
58
58
|
}) {
|
|
59
59
|
}
|
|
60
60
|
|
|
61
|
-
class
|
|
61
|
+
class InvalidRequestError3 extends Schema.TaggedError()("Generate.InvalidRequestError", {
|
|
62
62
|
message: Schema.String,
|
|
63
63
|
field: Schema.optional(Schema.String)
|
|
64
64
|
}) {
|
|
@@ -81,12 +81,12 @@ class ProviderRequestError2 extends Schema.TaggedError()("Generate.ProviderReque
|
|
|
81
81
|
}) {
|
|
82
82
|
}
|
|
83
83
|
|
|
84
|
-
class
|
|
84
|
+
class Service58 extends Context.Service()("@opencode/Generate") {
|
|
85
85
|
}
|
|
86
|
-
var
|
|
86
|
+
var layer21 = Layer.effect(Service58, Effect.gen(function* () {
|
|
87
87
|
const llm = yield* LLMClient.Service;
|
|
88
|
-
const resolver = yield*
|
|
89
|
-
const models = yield*
|
|
88
|
+
const resolver = yield* Service80;
|
|
89
|
+
const models = yield* Service81;
|
|
90
90
|
const executor = yield* RequestExecutor.Service;
|
|
91
91
|
const images = yield* ImageClient.Service;
|
|
92
92
|
const decisionClient = yield* DecisionClient.Service;
|
|
@@ -98,11 +98,11 @@ var layer10 = Layer.effect(Service18, Effect.gen(function* () {
|
|
|
98
98
|
"SessionRunnerModel.ModelInitializationError",
|
|
99
99
|
"SessionRunnerModel.UnresolvedProviderVariablesError",
|
|
100
100
|
"SessionRunnerModel.UnsupportedCompactionError"
|
|
101
|
-
], (error) => Effect.fail(input.model ? resolutionError(input.model, "chat", error) : new
|
|
101
|
+
], (error) => Effect.fail(input.model ? resolutionError(input.model, "chat", error) : new UnavailableError4({ message: error.message, service: error.providerID }))));
|
|
102
102
|
if (!resolved && input.model)
|
|
103
103
|
return yield* missing(input.model, "chat");
|
|
104
104
|
if (!resolved)
|
|
105
|
-
return yield* new
|
|
105
|
+
return yield* new UnavailableError4({ message: "No model specified and no supported model is available" });
|
|
106
106
|
const response = yield* llm.generate(ai.request({
|
|
107
107
|
model: resolved.model,
|
|
108
108
|
prompt: input.prompt,
|
|
@@ -162,8 +162,8 @@ var layer10 = Layer.effect(Service18, Effect.gen(function* () {
|
|
|
162
162
|
...response.providerMetadata ? { native: plainJson(response.providerMetadata) } : {}
|
|
163
163
|
};
|
|
164
164
|
});
|
|
165
|
-
const credentials = (effect) => effect.pipe(Effect.catchTag("Integration.Authorization", () => new
|
|
166
|
-
return
|
|
165
|
+
const credentials = (effect) => effect.pipe(Effect.catchTag("Integration.Authorization", () => new UnavailableError4({ message: "Generation credentials are unavailable" })));
|
|
166
|
+
return Service58.of({
|
|
167
167
|
text: (input) => credentials(runText(input)),
|
|
168
168
|
image: (input) => credentials(image(input)),
|
|
169
169
|
decisions: (input) => credentials(decisions(input))
|
|
@@ -176,7 +176,7 @@ function resolutionError(ref, type, error) {
|
|
|
176
176
|
if (error._tag === "Integration.Authorization")
|
|
177
177
|
return error;
|
|
178
178
|
if (error._tag === "SessionRunnerModel.VariantUnavailableError")
|
|
179
|
-
return new
|
|
179
|
+
return new InvalidRequestError3({ message: error.message, field: "model.variant" });
|
|
180
180
|
if (error._tag === "SessionRunnerModel.UnsupportedPackageError")
|
|
181
181
|
return new UnsupportedModelError2({
|
|
182
182
|
providerID: ref.providerID,
|
|
@@ -184,14 +184,14 @@ function resolutionError(ref, type, error) {
|
|
|
184
184
|
capability: type,
|
|
185
185
|
message: `${ref.providerID}/${ref.id} has no ${type} API opencode can call (package ${error.package})`
|
|
186
186
|
});
|
|
187
|
-
return new
|
|
187
|
+
return new InvalidRequestError3({ message: error.message, field: "model" });
|
|
188
188
|
}
|
|
189
189
|
function providerError(ref, error) {
|
|
190
190
|
const reason = error.reason;
|
|
191
191
|
if (reason._tag === "InvalidRequest" && reason.http === undefined)
|
|
192
|
-
return new
|
|
192
|
+
return new InvalidRequestError3({ message: reason.message });
|
|
193
193
|
if (reason._tag === "UnsupportedOperation")
|
|
194
|
-
return new
|
|
194
|
+
return new InvalidRequestError3({ message: reason.message });
|
|
195
195
|
const status = "http" in reason ? reason.http?.status : undefined;
|
|
196
196
|
const retryAfterMs = "retryAfterMs" in reason ? reason.retryAfterMs : undefined;
|
|
197
197
|
return new ProviderRequestError2({
|
|
@@ -215,10 +215,10 @@ function failureReason(tag, status) {
|
|
|
215
215
|
return "overloaded";
|
|
216
216
|
return "provider";
|
|
217
217
|
}
|
|
218
|
-
var
|
|
219
|
-
service:
|
|
220
|
-
layer:
|
|
221
|
-
deps: [
|
|
218
|
+
var node59 = makeLocationNode({
|
|
219
|
+
service: Service58,
|
|
220
|
+
layer: layer21,
|
|
221
|
+
deps: [node82, node83, llmClient2, requestExecutor2]
|
|
222
222
|
});
|
|
223
223
|
|
|
224
|
-
export {
|
|
224
|
+
export { UnavailableError4, ModelNotFoundError2, UnsupportedModelError2, InvalidRequestError3, ProviderFailure2, ProviderRequestError2, Service58, layer21, node59, exports_generate2 };
|
|
@@ -1,32 +1,32 @@
|
|
|
1
1
|
import {
|
|
2
2
|
AbsolutePath2,
|
|
3
3
|
RelativePath2
|
|
4
|
-
} from "./
|
|
4
|
+
} from "./aisdk-native-z5v4ffb3.js";
|
|
5
5
|
import {
|
|
6
6
|
Repository2,
|
|
7
7
|
TreeID2,
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
} from "./
|
|
8
|
+
Service93,
|
|
9
|
+
node95
|
|
10
|
+
} from "./aisdk-native-s5htyxhy.js";
|
|
11
11
|
import {
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
} from "./
|
|
12
|
+
Service87,
|
|
13
|
+
node89
|
|
14
|
+
} from "./aisdk-native-34mfhm97.js";
|
|
15
15
|
import {
|
|
16
16
|
create4
|
|
17
|
-
} from "./
|
|
17
|
+
} from "./aisdk-native-40y6dtc2.js";
|
|
18
18
|
import {
|
|
19
19
|
__export
|
|
20
|
-
} from "./
|
|
20
|
+
} from "./aisdk-native-9rqn6x4v.js";
|
|
21
21
|
|
|
22
22
|
// src/snapshot.ts
|
|
23
23
|
var exports_snapshot2 = {};
|
|
24
24
|
__export(exports_snapshot2, {
|
|
25
25
|
Error: () => Error3,
|
|
26
|
-
ID: () =>
|
|
27
|
-
Service: () =>
|
|
26
|
+
ID: () => ID8,
|
|
27
|
+
Service: () => Service48,
|
|
28
28
|
Snapshot: () => exports_snapshot2,
|
|
29
|
-
node: () =>
|
|
29
|
+
node: () => node50,
|
|
30
30
|
noopLayer: () => noopLayer2
|
|
31
31
|
});
|
|
32
32
|
import { makeLocationNode } from "@opencode/util/effect/app-node";
|
|
@@ -34,7 +34,7 @@ import path from "path";
|
|
|
34
34
|
import { Clock, Context, Effect, Fiber, Layer, Schema, Scope } from "effect";
|
|
35
35
|
import { FSUtil } from "@opencode/util/fs-util";
|
|
36
36
|
import { Global } from "@opencode/util/global";
|
|
37
|
-
import { ID as
|
|
37
|
+
import { ID as ID8 } from "@opencode/schema/snapshot";
|
|
38
38
|
import { Hash } from "@opencode/util/hash";
|
|
39
39
|
class Error3 extends Schema.TaggedError()("Snapshot.Error", {
|
|
40
40
|
operation: Schema.Literals(["capture", "files", "diff", "restore"]),
|
|
@@ -43,13 +43,13 @@ class Error3 extends Schema.TaggedError()("Snapshot.Error", {
|
|
|
43
43
|
}) {
|
|
44
44
|
}
|
|
45
45
|
|
|
46
|
-
class
|
|
46
|
+
class Service48 extends Context.Service()("@opencode/Snapshot") {
|
|
47
47
|
}
|
|
48
|
-
var layer = Layer.effect(
|
|
48
|
+
var layer = Layer.effect(Service48, Effect.gen(function* () {
|
|
49
49
|
const fs = yield* FSUtil.Service;
|
|
50
|
-
const git = yield*
|
|
50
|
+
const git = yield* Service93;
|
|
51
51
|
const global = yield* Global.Service;
|
|
52
|
-
const location = yield*
|
|
52
|
+
const location = yield* Service87;
|
|
53
53
|
const lifetime = yield* Scope.Scope;
|
|
54
54
|
const state = create4({
|
|
55
55
|
name: "snapshot",
|
|
@@ -97,7 +97,7 @@ var layer = Layer.effect(Service44, Effect.gen(function* () {
|
|
|
97
97
|
maximumUntrackedFileBytes: 2 * 1024 * 1024
|
|
98
98
|
});
|
|
99
99
|
yield* packWhenDue(repo.snapshotRepository);
|
|
100
|
-
return
|
|
100
|
+
return ID8.make(tree);
|
|
101
101
|
}).pipe(Effect.catch((cause) => Effect.logWarning("failed to capture snapshot", { cause }).pipe(Effect.as(undefined))));
|
|
102
102
|
});
|
|
103
103
|
const comparison = Effect.fnUntraced(function* (operation, input) {
|
|
@@ -153,14 +153,14 @@ var layer = Layer.effect(Service44, Effect.gen(function* () {
|
|
|
153
153
|
const repo = yield* repository.pipe(Effect.mapError((cause) => failure("restore", cause)));
|
|
154
154
|
yield* git.tree.restore({ repository: repo.snapshotRepository, files: yield* plan(repo.worktree, input) }).pipe(Effect.mapError((cause) => failure("restore", cause)));
|
|
155
155
|
});
|
|
156
|
-
return
|
|
156
|
+
return Service48.of({ transform: state.transform, reload: state.reload, capture, files, diff, restore });
|
|
157
157
|
}).pipe(Effect.withSpan("Snapshot.boot")));
|
|
158
|
-
var
|
|
159
|
-
service:
|
|
158
|
+
var node50 = makeLocationNode({
|
|
159
|
+
service: Service48,
|
|
160
160
|
layer,
|
|
161
|
-
deps: [FSUtil.node,
|
|
161
|
+
deps: [FSUtil.node, node95, Global.node, node89]
|
|
162
162
|
});
|
|
163
|
-
var noopLayer2 = Layer.succeed(
|
|
163
|
+
var noopLayer2 = Layer.succeed(Service48, Service48.of({
|
|
164
164
|
transform: () => Effect.succeed({ dispose: Effect.void }),
|
|
165
165
|
reload: () => Effect.void,
|
|
166
166
|
capture: () => Effect.undefined,
|
|
@@ -178,4 +178,4 @@ function failure(operation, cause) {
|
|
|
178
178
|
});
|
|
179
179
|
}
|
|
180
180
|
|
|
181
|
-
export {
|
|
181
|
+
export { ID8, Error3, Service48, node50, noopLayer2, exports_snapshot2 };
|
|
@@ -1,16 +1,16 @@
|
|
|
1
1
|
import {
|
|
2
2
|
makeUnsafe2
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./aisdk-native-5whx36p1.js";
|
|
4
4
|
import {
|
|
5
5
|
__export
|
|
6
|
-
} from "./
|
|
6
|
+
} from "./aisdk-native-9rqn6x4v.js";
|
|
7
7
|
|
|
8
8
|
// src/plugin/update.ts
|
|
9
9
|
var exports_update = {};
|
|
10
10
|
__export(exports_update, {
|
|
11
11
|
PluginUpdate: () => exports_update,
|
|
12
12
|
Service: () => Service4,
|
|
13
|
-
node: () =>
|
|
13
|
+
node: () => node6
|
|
14
14
|
});
|
|
15
15
|
import { Clock, Context, Effect, Exit, Layer, Option, PubSub, Stream } from "effect";
|
|
16
16
|
import { Npm } from "@opencode/util/npm";
|
|
@@ -49,6 +49,6 @@ var layer = Layer.effect(Service4, Effect.gen(function* () {
|
|
|
49
49
|
changes: () => Stream.fromPubSub(changes)
|
|
50
50
|
});
|
|
51
51
|
}));
|
|
52
|
-
var
|
|
52
|
+
var node6 = makeGlobalNode({ service: Service4, layer, deps: [Npm.node] });
|
|
53
53
|
|
|
54
|
-
export { Service4,
|
|
54
|
+
export { Service4, node6, exports_update };
|
|
@@ -1,15 +1,15 @@
|
|
|
1
1
|
import {
|
|
2
2
|
which2
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./aisdk-native-x4th4bpe.js";
|
|
4
4
|
import {
|
|
5
5
|
load3
|
|
6
|
-
} from "./
|
|
6
|
+
} from "./aisdk-native-j376ae4e.js";
|
|
7
7
|
import {
|
|
8
8
|
create2
|
|
9
|
-
} from "./
|
|
9
|
+
} from "./aisdk-native-jxd6f16v.js";
|
|
10
10
|
import {
|
|
11
11
|
__export
|
|
12
|
-
} from "./
|
|
12
|
+
} from "./aisdk-native-9rqn6x4v.js";
|
|
13
13
|
|
|
14
14
|
// src/plugin/provider/claude-agent/claude/io.ts
|
|
15
15
|
var exports_io = {};
|
|
@@ -1,70 +1,73 @@
|
|
|
1
1
|
import {
|
|
2
2
|
useragent2
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./aisdk-native-28yt5ya3.js";
|
|
4
4
|
import {
|
|
5
|
-
|
|
5
|
+
ID22,
|
|
6
6
|
OAuth3
|
|
7
|
-
} from "./
|
|
7
|
+
} from "./aisdk-native-hfngfxea.js";
|
|
8
8
|
import {
|
|
9
9
|
AbsolutePath2
|
|
10
|
-
} from "./
|
|
10
|
+
} from "./aisdk-native-z5v4ffb3.js";
|
|
11
11
|
import {
|
|
12
12
|
key3
|
|
13
|
-
} from "./
|
|
13
|
+
} from "./aisdk-native-azqdag7d.js";
|
|
14
14
|
import {
|
|
15
|
-
|
|
15
|
+
ID20,
|
|
16
16
|
MethodID2,
|
|
17
17
|
AuthorizationError2
|
|
18
|
-
} from "./
|
|
18
|
+
} from "./aisdk-native-zwx55tz8.js";
|
|
19
19
|
import {
|
|
20
20
|
ID17
|
|
21
|
-
} from "./
|
|
21
|
+
} from "./aisdk-native-4js5r4sx.js";
|
|
22
22
|
import {
|
|
23
23
|
Remote3,
|
|
24
24
|
Document3,
|
|
25
|
-
|
|
26
|
-
} from "./
|
|
25
|
+
make33
|
|
26
|
+
} from "./aisdk-native-3qgwywyc.js";
|
|
27
27
|
import {
|
|
28
|
-
|
|
29
|
-
} from "./
|
|
28
|
+
Service77
|
|
29
|
+
} from "./aisdk-native-y5ken3zw.js";
|
|
30
30
|
import {
|
|
31
31
|
integrate2
|
|
32
|
-
} from "./
|
|
32
|
+
} from "./aisdk-native-eecj8wjf.js";
|
|
33
|
+
import {
|
|
34
|
+
Service76
|
|
35
|
+
} from "./aisdk-native-qbv9zet0.js";
|
|
33
36
|
import {
|
|
34
37
|
uri2,
|
|
35
|
-
|
|
36
|
-
} from "./
|
|
38
|
+
Service70
|
|
39
|
+
} from "./aisdk-native-rzy6jfey.js";
|
|
37
40
|
import {
|
|
38
41
|
parse2
|
|
39
|
-
} from "./
|
|
42
|
+
} from "./aisdk-native-bsjedtqd.js";
|
|
40
43
|
import {
|
|
41
44
|
defaultServer2,
|
|
42
45
|
server2,
|
|
43
46
|
headers2
|
|
44
|
-
} from "./
|
|
47
|
+
} from "./aisdk-native-kt3bjfbg.js";
|
|
45
48
|
import {
|
|
46
49
|
File2,
|
|
47
|
-
|
|
48
|
-
} from "./
|
|
50
|
+
Service49
|
|
51
|
+
} from "./aisdk-native-47j3s8nt.js";
|
|
49
52
|
import {
|
|
50
|
-
|
|
51
|
-
} from "./
|
|
53
|
+
Service61
|
|
54
|
+
} from "./aisdk-native-vm603gvn.js";
|
|
52
55
|
import {
|
|
53
56
|
isSafeSegment2,
|
|
54
57
|
isSafeRelativePath2
|
|
55
|
-
} from "./
|
|
58
|
+
} from "./aisdk-native-3adw4bt5.js";
|
|
56
59
|
import {
|
|
57
60
|
ID9,
|
|
58
61
|
Input16,
|
|
59
62
|
Response2
|
|
60
|
-
} from "./
|
|
63
|
+
} from "./aisdk-native-axk3dw7d.js";
|
|
61
64
|
import {
|
|
62
65
|
header2,
|
|
63
|
-
|
|
64
|
-
} from "./
|
|
66
|
+
make18
|
|
67
|
+
} from "./aisdk-native-mhs3my2j.js";
|
|
65
68
|
import {
|
|
66
69
|
onSwitch2
|
|
67
|
-
} from "./
|
|
70
|
+
} from "./aisdk-native-jcfrb538.js";
|
|
68
71
|
|
|
69
72
|
// src/plugin/provider/opencode.ts
|
|
70
73
|
import { isDeepStrictEqual } from "node:util";
|
|
@@ -132,7 +135,7 @@ class SignedOutError extends Schema.TaggedError()("OpencodeConsole.SignedOut", {
|
|
|
132
135
|
}
|
|
133
136
|
function oauth(http) {
|
|
134
137
|
return {
|
|
135
|
-
integrationID:
|
|
138
|
+
integrationID: ID20.make("opencode"),
|
|
136
139
|
method: {
|
|
137
140
|
id: methodID,
|
|
138
141
|
type: "oauth",
|
|
@@ -199,10 +202,11 @@ var OpencodePlugin2 = define({
|
|
|
199
202
|
const disableFree = ["1", "true"].includes(process.env.OPENCODE_DISABLE_FREE_MODELS?.toLowerCase() ?? "");
|
|
200
203
|
const client = yield* HttpClient.HttpClient;
|
|
201
204
|
const http = HttpClient.mapRequest(client, HttpClientRequest.setHeader("User-Agent", useragent2(ctx.app)));
|
|
202
|
-
const config = yield*
|
|
203
|
-
const
|
|
204
|
-
const
|
|
205
|
-
const
|
|
205
|
+
const config = yield* Service77;
|
|
206
|
+
const flags = yield* Service76;
|
|
207
|
+
const discovery = yield* Service49;
|
|
208
|
+
const skills = yield* Service70;
|
|
209
|
+
const cache = yield* Service61;
|
|
206
210
|
const scope = yield* Scope.Scope;
|
|
207
211
|
const loading = Semaphore.makeUnsafe(1);
|
|
208
212
|
let snapshot = { remote: undefined, connection: undefined, organization: undefined };
|
|
@@ -212,7 +216,7 @@ var OpencodePlugin2 = define({
|
|
|
212
216
|
const skillDownload = yield* FiberHandle.make();
|
|
213
217
|
let reported;
|
|
214
218
|
let explainers = [];
|
|
215
|
-
const watches = yield*
|
|
219
|
+
const watches = yield* make18(ctx, http);
|
|
216
220
|
const load = Effect.fn("OpencodePlugin.load")(function* (maxAge = Duration.minutes(1)) {
|
|
217
221
|
const connection = yield* ctx.integration.connection.active("opencode");
|
|
218
222
|
if (!connection) {
|
|
@@ -250,20 +254,21 @@ var OpencodePlugin2 = define({
|
|
|
250
254
|
});
|
|
251
255
|
let integrated;
|
|
252
256
|
const integrate = Effect.fnUntraced(function* (document) {
|
|
253
|
-
yield* config.integration?.(
|
|
254
|
-
integrated = (yield* config.entries()).find((entry) => entry instanceof Document3 && entry.integrationID ===
|
|
257
|
+
yield* config.integration?.(ID20.make("opencode"), document) ?? Effect.void;
|
|
258
|
+
integrated = (yield* config.entries()).find((entry) => entry instanceof Document3 && entry.integrationID === ID20.make("opencode"));
|
|
255
259
|
});
|
|
256
260
|
const publish = Effect.fnUntraced(function* (next) {
|
|
257
|
-
const document = next.remote && next.connection &&
|
|
258
|
-
integrationID:
|
|
259
|
-
connection: next.connection.type === "credential" ? { ...next.connection, id:
|
|
261
|
+
const document = next.remote && next.connection && make33({
|
|
262
|
+
integrationID: ID20.make("opencode"),
|
|
263
|
+
connection: next.connection.type === "credential" ? { ...next.connection, id: ID22.make(next.connection.id) } : next.connection,
|
|
260
264
|
organization: next.organization,
|
|
261
265
|
info: next.remote
|
|
262
266
|
});
|
|
263
267
|
yield* integrate(document);
|
|
264
268
|
const allowed = document !== undefined && (!config.integration || isDeepStrictEqual(integrated, document));
|
|
265
269
|
yield* syncInstructionsAndSkills(next, allowed);
|
|
266
|
-
|
|
270
|
+
const watching = allowed && next.remote?.watches === true && (yield* flags.enabled("console_watches"));
|
|
271
|
+
yield* syncWatches(watching ? next.connection : undefined);
|
|
267
272
|
});
|
|
268
273
|
const syncWatches = Effect.fnUntraced(function* (connection) {
|
|
269
274
|
const credential = connection && (yield* ctx.integration.connection.resolve(connection));
|
|
@@ -1,26 +1,26 @@
|
|
|
1
1
|
import {
|
|
2
2
|
latest2,
|
|
3
|
-
|
|
4
|
-
} from "./
|
|
3
|
+
Service77
|
|
4
|
+
} from "./aisdk-native-y5ken3zw.js";
|
|
5
5
|
import {
|
|
6
6
|
observe2
|
|
7
|
-
} from "./
|
|
7
|
+
} from "./aisdk-native-tvtps2q9.js";
|
|
8
8
|
import {
|
|
9
9
|
__export
|
|
10
|
-
} from "./
|
|
10
|
+
} from "./aisdk-native-9rqn6x4v.js";
|
|
11
11
|
|
|
12
12
|
// src/config/plugin/websearch.ts
|
|
13
|
-
var
|
|
14
|
-
__export(
|
|
15
|
-
ConfigWebSearchPlugin: () =>
|
|
16
|
-
Plugin: () =>
|
|
13
|
+
var exports_websearch2 = {};
|
|
14
|
+
__export(exports_websearch2, {
|
|
15
|
+
ConfigWebSearchPlugin: () => exports_websearch2,
|
|
16
|
+
Plugin: () => Plugin46
|
|
17
17
|
});
|
|
18
18
|
import { define } from "@opencode/plugin/effect/plugin";
|
|
19
19
|
import { Effect } from "effect";
|
|
20
|
-
var
|
|
20
|
+
var Plugin46 = define({
|
|
21
21
|
id: "opencode.config.websearch",
|
|
22
22
|
effect: Effect.fn(function* (ctx) {
|
|
23
|
-
const config = yield*
|
|
23
|
+
const config = yield* Service77;
|
|
24
24
|
const loaded = yield* observe2(config, ctx.event, ctx.websearch.reload());
|
|
25
25
|
yield* ctx.websearch.transform((websearch) => {
|
|
26
26
|
const selection = latest2(loaded.entries, "websearch");
|
|
@@ -32,4 +32,4 @@ var Plugin33 = define({
|
|
|
32
32
|
})
|
|
33
33
|
});
|
|
34
34
|
|
|
35
|
-
export {
|
|
35
|
+
export { Plugin46, exports_websearch2 };
|
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
import {
|
|
2
2
|
groups2
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./aisdk-native-vjf35v1f.js";
|
|
4
4
|
import {
|
|
5
5
|
__export
|
|
6
|
-
} from "./
|
|
6
|
+
} from "./aisdk-native-9rqn6x4v.js";
|
|
7
7
|
|
|
8
8
|
// src/plugin/provider/claude-agent/sync/decide.ts
|
|
9
9
|
var exports_decide = {};
|
|
@@ -1,31 +1,31 @@
|
|
|
1
1
|
import {
|
|
2
2
|
RelativePath2
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./aisdk-native-z5v4ffb3.js";
|
|
4
4
|
import {
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
} from "./
|
|
5
|
+
Service87,
|
|
6
|
+
node89
|
|
7
|
+
} from "./aisdk-native-34mfhm97.js";
|
|
8
8
|
import {
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
} from "./
|
|
9
|
+
Service50,
|
|
10
|
+
node52
|
|
11
|
+
} from "./aisdk-native-zetjkv74.js";
|
|
12
12
|
import {
|
|
13
13
|
isHome2,
|
|
14
14
|
names3
|
|
15
|
-
} from "./
|
|
15
|
+
} from "./aisdk-native-ghrv1g9c.js";
|
|
16
16
|
import {
|
|
17
17
|
__export
|
|
18
|
-
} from "./
|
|
18
|
+
} from "./aisdk-native-9rqn6x4v.js";
|
|
19
19
|
|
|
20
20
|
// src/filesystem/search.ts
|
|
21
21
|
var exports_search2 = {};
|
|
22
22
|
__export(exports_search2, {
|
|
23
23
|
FileSystemSearch: () => exports_search2,
|
|
24
|
-
Service: () =>
|
|
24
|
+
Service: () => Service42,
|
|
25
25
|
configured: () => configured4,
|
|
26
26
|
fffLayer: () => fffLayer2,
|
|
27
27
|
makeFffLayer: () => makeFffLayer2,
|
|
28
|
-
node: () =>
|
|
28
|
+
node: () => node45
|
|
29
29
|
});
|
|
30
30
|
import { makeLocationNode } from "@opencode/util/effect/app-node";
|
|
31
31
|
import path from "path";
|
|
@@ -33,7 +33,7 @@ import { Clock, Context, Deferred, Duration, Effect, Layer, Scope } from "effect
|
|
|
33
33
|
import { Fff } from "#fff";
|
|
34
34
|
import fuzzysort from "fuzzysort";
|
|
35
35
|
import { FileSystem } from "@opencode/schema/filesystem";
|
|
36
|
-
class
|
|
36
|
+
class Service42 extends Context.Service()("@opencode/FileSystem/Search") {
|
|
37
37
|
}
|
|
38
38
|
var REFRESH_INTERVAL = Duration.toMillis("10 seconds");
|
|
39
39
|
function emptyIndex() {
|
|
@@ -52,9 +52,9 @@ function search(index, input) {
|
|
|
52
52
|
});
|
|
53
53
|
});
|
|
54
54
|
}
|
|
55
|
-
var ripgrepLayer = Layer.effect(
|
|
56
|
-
const location = yield*
|
|
57
|
-
const ripgrep = yield*
|
|
55
|
+
var ripgrepLayer = Layer.effect(Service42, Effect.gen(function* () {
|
|
56
|
+
const location = yield* Service87;
|
|
57
|
+
const ripgrep = yield* Service50;
|
|
58
58
|
const scope = yield* Scope.Scope;
|
|
59
59
|
const clock = yield* Clock.Clock;
|
|
60
60
|
const home = isHome2(location.directory);
|
|
@@ -99,7 +99,7 @@ var ripgrepLayer = Layer.effect(Service63, Effect.gen(function* () {
|
|
|
99
99
|
Deferred.doneUnsafe(attempt, exit);
|
|
100
100
|
})), Effect.forkIn(scope), Effect.flatMap(() => initialized ? Effect.void : Deferred.await(attempt)));
|
|
101
101
|
});
|
|
102
|
-
return
|
|
102
|
+
return Service42.of({
|
|
103
103
|
find: (input) => Effect.gen(function* () {
|
|
104
104
|
yield* refresh;
|
|
105
105
|
return search(index, input);
|
|
@@ -119,8 +119,8 @@ function createPicker(create, directory) {
|
|
|
119
119
|
return { ok: false, error };
|
|
120
120
|
}
|
|
121
121
|
}
|
|
122
|
-
var makeFffLayer2 = (create) => Layer.effect(
|
|
123
|
-
const location = yield*
|
|
122
|
+
var makeFffLayer2 = (create) => Layer.effect(Service42, Effect.gen(function* () {
|
|
123
|
+
const location = yield* Service87;
|
|
124
124
|
let state;
|
|
125
125
|
yield* Effect.addFinalizer(() => Effect.sync(() => {
|
|
126
126
|
if (typeof state === "object" && state.result.ok)
|
|
@@ -152,7 +152,7 @@ var makeFffLayer2 = (create) => Layer.effect(Service63, Effect.gen(function* ()
|
|
|
152
152
|
}
|
|
153
153
|
return current.result.value;
|
|
154
154
|
});
|
|
155
|
-
return
|
|
155
|
+
return Service42.of({
|
|
156
156
|
find: (input) => Effect.gen(function* () {
|
|
157
157
|
const finder = yield* picker;
|
|
158
158
|
if (!finder)
|
|
@@ -200,7 +200,7 @@ var makeFffLayer2 = (create) => Layer.effect(Service63, Effect.gen(function* ()
|
|
|
200
200
|
}));
|
|
201
201
|
var fffLayer2 = makeFffLayer2(Fff.create);
|
|
202
202
|
var layer = (options) => Layer.unwrap(Effect.gen(function* () {
|
|
203
|
-
const location = yield*
|
|
203
|
+
const location = yield* Service87;
|
|
204
204
|
if (location.workspaceID)
|
|
205
205
|
return ripgrepLayer;
|
|
206
206
|
if (options?.fff === false || options?.fff === undefined && process.platform === "win32" || !Fff.available())
|
|
@@ -208,8 +208,8 @@ var layer = (options) => Layer.unwrap(Effect.gen(function* () {
|
|
|
208
208
|
return location.vcs && !isHome2(location.directory) ? fffLayer2 : ripgrepLayer;
|
|
209
209
|
}));
|
|
210
210
|
function configured4(options) {
|
|
211
|
-
return makeLocationNode({ service:
|
|
211
|
+
return makeLocationNode({ service: Service42, layer: layer(options), deps: [node89, node52] });
|
|
212
212
|
}
|
|
213
|
-
var
|
|
213
|
+
var node45 = configured4();
|
|
214
214
|
|
|
215
|
-
export {
|
|
215
|
+
export { Service42, makeFffLayer2, fffLayer2, configured4, node45, exports_search2 };
|