@opencode/core 0.0.0-dev-904 → 0.0.0-dev-918
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/account/sql.js +1 -1
- package/dist/agent.js +88 -88
- package/dist/aisdk-native.js +102 -102
- package/dist/aisdk.js +108 -108
- package/dist/app.js +7 -7
- package/dist/artifact.js +254 -254
- package/dist/bus.js +80 -80
- package/dist/chunks/{tool-zgpeczg8.js → rpc-000tmj6z.js} +11 -11
- package/dist/chunks/{tool-2pwd5hea.js → rpc-00ym8a76.js} +6 -6
- package/dist/chunks/{tool-aj7mw0zk.js → rpc-034tev2y.js} +2 -2
- package/dist/chunks/{tool-5c9ayr0a.js → rpc-05s98443.js} +23 -23
- package/dist/chunks/{tool-b7nkz392.js → rpc-060dfe6n.js} +1 -1
- package/dist/chunks/{tool-padba6h1.js → rpc-08axshga.js} +3 -3
- package/dist/chunks/{tool-q9sa360e.js → rpc-08wx8eqd.js} +18 -18
- package/dist/chunks/{tool-vek77fn1.js → rpc-0c7bpw4e.js} +4 -4
- package/dist/chunks/{tool-j63r4wxs.js → rpc-0gags66x.js} +356 -356
- package/dist/chunks/{tool-2qr0rzrp.js → rpc-0hxfk2gz.js} +8 -8
- package/dist/chunks/{tool-sqjzf8x2.js → rpc-0j7gp832.js} +4 -4
- package/dist/chunks/{tool-0ma9gw4f.js → rpc-0ma9gw4f.js} +2 -2
- package/dist/chunks/{tool-q11dte8f.js → rpc-0n09err4.js} +16 -16
- package/dist/chunks/{tool-vfpdh65y.js → rpc-0yrg2qs0.js} +12 -12
- package/dist/chunks/{tool-wsv88edq.js → rpc-137mjkgg.js} +78 -78
- package/dist/chunks/{tool-ddvn7d3w.js → rpc-160yv0cs.js} +8 -8
- package/dist/chunks/{tool-6p2yvgd8.js → rpc-16dqnm0w.js} +24 -24
- package/dist/chunks/{tool-1aqsckx4.js → rpc-1aqsckx4.js} +1 -1
- package/dist/chunks/{tool-27w5k9zf.js → rpc-1ep2p91f.js} +2 -2
- package/dist/chunks/{tool-ft7ja7xf.js → rpc-1kqf4tcz.js} +9 -9
- package/dist/chunks/{tool-sn4t5eh4.js → rpc-1qcjt96s.js} +25 -25
- package/dist/chunks/{tool-0z237fz4.js → rpc-1s9qej89.js} +24 -24
- package/dist/chunks/{tool-dm0jrs5z.js → rpc-1sfa5jwh.js} +11 -11
- package/dist/chunks/{tool-rfjyfe4k.js → rpc-1ts7fydz.js} +10 -10
- package/dist/chunks/{tool-1x2knyw4.js → rpc-1x2knyw4.js} +1 -1
- package/dist/chunks/{tool-1yq9hg58.js → rpc-1yq9hg58.js} +1 -1
- package/dist/chunks/{tool-jkfj84cm.js → rpc-2bf0k86m.js} +13 -13
- package/dist/chunks/{tool-ypmz62e0.js → rpc-2c70hj3m.js} +13 -13
- package/dist/chunks/{tool-qp8qp7xq.js → rpc-2c71q0dy.js} +9 -9
- package/dist/chunks/{tool-nnapdt59.js → rpc-2edhfmbq.js} +14 -14
- package/dist/chunks/{tool-2fc7eemy.js → rpc-2fc7eemy.js} +1 -1
- package/dist/chunks/{tool-1cnspxhw.js → rpc-2hbad2em.js} +22 -22
- package/dist/chunks/{tool-pak53k0g.js → rpc-2nb6y5rx.js} +72 -72
- package/dist/chunks/{tool-2p60zmnr.js → rpc-2p60zmnr.js} +2 -2
- package/dist/chunks/{tool-nnvmas47.js → rpc-2qdwq1pf.js} +19 -19
- package/dist/chunks/{tool-405anx19.js → rpc-2w5rper3.js} +3 -3
- package/dist/chunks/{tool-2t9rfbr1.js → rpc-2zz882qd.js} +27 -27
- package/dist/chunks/{tool-f0sqvxyf.js → rpc-353jb4ye.js} +15 -15
- package/dist/chunks/{tool-hkh4ktw2.js → rpc-3gr30ncd.js} +12 -12
- package/dist/chunks/{tool-3hepkmqq.js → rpc-3hepkmqq.js} +1 -1
- package/dist/chunks/{tool-3nnrz6f6.js → rpc-3nnrz6f6.js} +1 -1
- package/dist/chunks/{tool-z5c1r2f6.js → rpc-3x627g1t.js} +23 -23
- package/dist/chunks/{tool-9g08pa91.js → rpc-40h0vsdk.js} +15 -15
- package/dist/chunks/{tool-40y6dtc2.js → rpc-40y6dtc2.js} +1 -1
- package/dist/chunks/{tool-8m8kx3ws.js → rpc-44hmc39s.js} +12 -12
- package/dist/chunks/{tool-44pmzq9c.js → rpc-44pmzq9c.js} +2 -2
- package/dist/chunks/{tool-4dx1dgte.js → rpc-4dx1dgte.js} +1 -1
- package/dist/chunks/{tool-r542h3bh.js → rpc-4f25tdd0.js} +5 -5
- package/dist/chunks/{tool-6b8qs503.js → rpc-4g3q8yec.js} +21 -21
- package/dist/chunks/{tool-1pbe9gq9.js → rpc-4hmbpgss.js} +3 -3
- package/dist/chunks/{tool-t19d8bxp.js → rpc-4j3rk5we.js} +3 -3
- package/dist/chunks/{tool-pfzasy7k.js → rpc-4kbmgfrg.js} +6 -6
- package/dist/chunks/{tool-4pyp9zr9.js → rpc-4pyp9zr9.js} +1 -1
- package/dist/chunks/{tool-d581z8cy.js → rpc-4pzxqgpv.js} +17 -17
- package/dist/chunks/{tool-v9gj58d7.js → rpc-4r2w5wea.js} +5 -5
- package/dist/chunks/{tool-4v008n1t.js → rpc-4v008n1t.js} +1 -1
- package/dist/chunks/{tool-6ay1c1t0.js → rpc-4vejtydw.js} +35 -35
- package/dist/chunks/{tool-f6r9v5q7.js → rpc-4vkrtwby.js} +16 -16
- package/dist/chunks/{tool-d4p3rnnj.js → rpc-50aj546h.js} +6 -6
- package/dist/chunks/{tool-v9p4ps2q.js → rpc-520kcj15.js} +5 -5
- package/dist/chunks/{tool-22z3ngk3.js → rpc-55bat24a.js} +22 -22
- package/dist/chunks/{tool-wftqf8ja.js → rpc-56y85chy.js} +27 -27
- package/dist/chunks/{tool-zw5t7e3y.js → rpc-5agvq6gt.js} +19 -19
- package/dist/chunks/{tool-5ckkk9bj.js → rpc-5ckkk9bj.js} +1 -1
- package/dist/chunks/{tool-5m9w47nd.js → rpc-5m9w47nd.js} +1 -1
- package/dist/chunks/{tool-b1zs6axd.js → rpc-5qv1r4ge.js} +7 -7
- package/dist/chunks/{tool-6q4fvzhp.js → rpc-5rhfndcf.js} +5 -5
- package/dist/chunks/{tool-xjf7t5qy.js → rpc-5rqc56t7.js} +11 -11
- package/dist/chunks/{tool-7jh0e0w6.js → rpc-5x069c1t.js} +6 -6
- package/dist/chunks/{tool-1460q3hj.js → rpc-5xcmw5gy.js} +29 -29
- package/dist/chunks/{tool-m0ge85pr.js → rpc-5xvnesv1.js} +35 -35
- package/dist/chunks/{tool-5zpqhmp2.js → rpc-65pfp3r6.js} +6 -6
- package/dist/chunks/{tool-1w0d05zm.js → rpc-68fmn9ed.js} +84 -84
- package/dist/chunks/{tool-tvjkm9e1.js → rpc-6akzqt8t.js} +40 -40
- package/dist/chunks/{tool-mzjgx79y.js → rpc-6m2y1wmr.js} +4 -4
- package/dist/chunks/{tool-xd94f5nm.js → rpc-6nqc9h5e.js} +20 -20
- package/dist/chunks/{tool-pgqxr0th.js → rpc-6ss6ngz0.js} +4 -4
- package/dist/chunks/{tool-fyzk5b1r.js → rpc-6w2z781c.js} +31 -31
- package/dist/chunks/rpc-6zjm2phc.js +18 -0
- package/dist/chunks/{tool-atgf0zmr.js → rpc-747ewpcy.js} +21 -21
- package/dist/chunks/{tool-80mg3ag8.js → rpc-775hqbnd.js} +3 -3
- package/dist/chunks/{tool-tn7x3vke.js → rpc-78dchhg8.js} +9 -9
- package/dist/chunks/{tool-79k544d0.js → rpc-79k544d0.js} +1 -1
- package/dist/chunks/{tool-7bmhse3q.js → rpc-7bmhse3q.js} +1 -1
- package/dist/chunks/{tool-00gmy8xm.js → rpc-7bvj6htm.js} +178 -178
- package/dist/chunks/{tool-155c7zz5.js → rpc-7fwv0nnm.js} +36 -36
- package/dist/chunks/{tool-cc7ea13d.js → rpc-7kp36tfx.js} +18 -18
- package/dist/chunks/{tool-3ay6yzp4.js → rpc-7trt7kgg.js} +7 -7
- package/dist/chunks/{tool-7w2ypzdf.js → rpc-7w2ypzdf.js} +1 -1
- package/dist/chunks/{tool-7weczvnd.js → rpc-7weczvnd.js} +1 -1
- package/dist/chunks/{tool-96vqe6h0.js → rpc-83e1vsvy.js} +16 -16
- package/dist/chunks/{tool-v5wd13jm.js → rpc-846r3g72.js} +7 -7
- package/dist/chunks/{tool-89287pr7.js → rpc-89287pr7.js} +1 -1
- package/dist/chunks/{tool-25h84942.js → rpc-8b3vzgkx.js} +4 -4
- package/dist/chunks/{tool-8cg7mtm3.js → rpc-8cg7mtm3.js} +1 -1
- package/dist/chunks/{tool-nbrkvs9p.js → rpc-8cjzkr7p.js} +8 -8
- package/dist/chunks/{tool-85vpeagd.js → rpc-8eyzqd2d.js} +12 -12
- package/dist/chunks/{tool-bb3mmwvh.js → rpc-8sxe6kv8.js} +2 -2
- package/dist/chunks/{tool-b0d5d3xj.js → rpc-8ve3yefv.js} +23 -23
- package/dist/chunks/{tool-8wtp7s3z.js → rpc-8wtp7s3z.js} +1 -1
- package/dist/chunks/{tool-zr0eec27.js → rpc-8xn2g8ef.js} +17 -17
- package/dist/chunks/{tool-yts2a8qm.js → rpc-8xz27cp9.js} +4 -4
- package/dist/chunks/{tool-vag1bze5.js → rpc-8zbvyw2h.js} +22 -22
- package/dist/chunks/{tool-8zv0xmg5.js → rpc-8zv0xmg5.js} +1 -1
- package/dist/chunks/{tool-51q9w6yf.js → rpc-8zzd5y3a.js} +15 -15
- package/dist/chunks/{tool-edt06h0g.js → rpc-905eah8s.js} +29 -29
- package/dist/chunks/{tool-z080rjh6.js → rpc-90ct6wq4.js} +4 -4
- package/dist/chunks/{tool-2bd99pfg.js → rpc-90ekmj7h.js} +6 -6
- package/dist/chunks/{tool-wvk4qw2j.js → rpc-90nyrst3.js} +14 -14
- package/dist/chunks/{tool-m4d441dw.js → rpc-939d1apm.js} +12 -12
- package/dist/chunks/{tool-963hk181.js → rpc-963hk181.js} +2 -2
- package/dist/chunks/{tool-svr136ng.js → rpc-99vrd1gz.js} +4 -4
- package/dist/chunks/{tool-xfdma5f7.js → rpc-9haqge1d.js} +21 -21
- package/dist/chunks/{tool-gdqab8my.js → rpc-9hf24b53.js} +5 -5
- package/dist/chunks/{tool-4pk3sz26.js → rpc-9jra0vrn.js} +11 -11
- package/dist/chunks/{tool-e1gdjb2y.js → rpc-9m4xay5y.js} +11 -11
- package/dist/chunks/{tool-kjgrvgjg.js → rpc-9np51ewf.js} +12 -12
- package/dist/chunks/{tool-w79nt68w.js → rpc-9q8g9sv8.js} +4 -4
- package/dist/chunks/{tool-74h3v0cj.js → rpc-9rryw1yq.js} +27 -27
- package/dist/chunks/{tool-wyfwz6yz.js → rpc-9w6gycrx.js} +4 -4
- package/dist/chunks/{tool-k72r4xn5.js → rpc-a0kvvzns.js} +7 -7
- package/dist/chunks/{tool-54vy2vdt.js → rpc-amyb05nb.js} +21 -21
- package/dist/chunks/{tool-q1y2c6x5.js → rpc-avgaw935.js} +31 -31
- package/dist/chunks/{tool-3cbjf1nt.js → rpc-ayjs7tqn.js} +2 -2
- package/dist/chunks/{tool-et9cjmd7.js → rpc-b1nbxbv8.js} +7 -7
- package/dist/chunks/{tool-b26ddj6h.js → rpc-b26ddj6h.js} +4 -4
- package/dist/chunks/{tool-4qgen1r6.js → rpc-b6d7ypgj.js} +32 -32
- package/dist/chunks/{tool-t62dywgn.js → rpc-bfmm6xpm.js} +6 -6
- package/dist/chunks/{tool-xdxfw927.js → rpc-bfw7nf23.js} +27 -27
- package/dist/chunks/{tool-t3qgac3j.js → rpc-bh8z3mjv.js} +5 -5
- package/dist/chunks/{tool-njx9gg5k.js → rpc-bhfd478d.js} +4 -4
- package/dist/chunks/{tool-m5rpg4mw.js → rpc-bhxsxtpd.js} +8 -8
- package/dist/chunks/{tool-fxgynan5.js → rpc-bkvywscx.js} +8 -8
- package/dist/chunks/{tool-bstexjd6.js → rpc-bstexjd6.js} +1 -1
- package/dist/chunks/{tool-by8ty0bx.js → rpc-by8ty0bx.js} +1 -1
- package/dist/chunks/{tool-x150ncgg.js → rpc-c5rvjt5f.js} +2 -2
- package/dist/chunks/{tool-c7cw818c.js → rpc-c7cw818c.js} +2 -2
- package/dist/chunks/{tool-ax9rm43e.js → rpc-cfyy2xj9.js} +30 -30
- package/dist/chunks/{tool-3pa842pg.js → rpc-cjkvy830.js} +29 -29
- package/dist/chunks/{tool-ktck1cjp.js → rpc-ckn0kvtp.js} +6 -6
- package/dist/chunks/{tool-w76xjer3.js → rpc-cnj75yzs.js} +4 -4
- package/dist/chunks/{tool-ttb0zajd.js → rpc-cpht761n.js} +45 -45
- package/dist/chunks/{tool-nrqvtcd8.js → rpc-cw7qhzds.js} +25 -25
- package/dist/chunks/{tool-cwrgdav8.js → rpc-cwrgdav8.js} +2 -2
- package/dist/chunks/{tool-cpqh714d.js → rpc-d1vdx8dt.js} +13 -13
- package/dist/chunks/{tool-d4v9tmah.js → rpc-d4v9tmah.js} +2 -2
- package/dist/chunks/{tool-3bbjthkp.js → rpc-d7skv30y.js} +15 -15
- package/dist/chunks/{tool-gnz2hs5p.js → rpc-d8pyebd3.js} +8 -8
- package/dist/chunks/{tool-5myx731x.js → rpc-df27q7rx.js} +5 -5
- package/dist/chunks/{tool-f3z4j9vv.js → rpc-dfgkkdq4.js} +13 -13
- package/dist/chunks/{tool-5nqnk5zt.js → rpc-dkxwjms4.js} +16 -16
- package/dist/chunks/{tool-706wky23.js → rpc-dq0g767b.js} +43 -43
- package/dist/chunks/{tool-dt77769w.js → rpc-dt77769w.js} +1 -1
- package/dist/chunks/{tool-45s7g4aj.js → rpc-dx2qsd0k.js} +58 -58
- package/dist/chunks/{tool-yy48g898.js → rpc-dyz5f41f.js} +19 -19
- package/dist/chunks/{tool-r1zdtk3v.js → rpc-e3fdrgr9.js} +28 -28
- package/dist/chunks/{tool-e834z07m.js → rpc-e834z07m.js} +1 -1
- package/dist/chunks/{tool-pez7as0x.js → rpc-eak39b4f.js} +38 -38
- package/dist/chunks/{tool-y9h7p0q4.js → rpc-ej1b7y7v.js} +13 -13
- package/dist/chunks/{tool-eqw4pqj1.js → rpc-eqw4pqj1.js} +2 -2
- package/dist/chunks/{tool-p5dv4rwg.js → rpc-exespdcw.js} +34 -34
- package/dist/chunks/{tool-v2xkqqn9.js → rpc-f7mmkkj6.js} +19 -19
- package/dist/chunks/{tool-fffv3p7h.js → rpc-fffv3p7h.js} +1 -1
- package/dist/chunks/{tool-y67jcnvv.js → rpc-ffvvmdd5.js} +7 -7
- package/dist/chunks/{tool-prq7xxp2.js → rpc-fg9p65nk.js} +6 -6
- package/dist/chunks/{tool-86x0psh9.js → rpc-g6eaqmyv.js} +16 -16
- package/dist/chunks/{tool-k4y08jtq.js → rpc-g7rajma4.js} +28 -28
- package/dist/chunks/{tool-pfnrdc1y.js → rpc-gbfybf69.js} +8 -8
- package/dist/chunks/{tool-gbjdnr5j.js → rpc-gbjdnr5j.js} +2 -2
- package/dist/chunks/{tool-ghrv1g9c.js → rpc-ghrv1g9c.js} +1 -1
- package/dist/chunks/{tool-x30nvd7p.js → rpc-ghvm46kv.js} +18 -18
- package/dist/chunks/{tool-vj50rhab.js → rpc-gn6qas9s.js} +8 -8
- package/dist/chunks/{tool-qna7kvz1.js → rpc-grf86wrj.js} +5 -5
- package/dist/chunks/{tool-g8vemvpr.js → rpc-gx76kxxn.js} +11 -11
- package/dist/chunks/{tool-hdrb5058.js → rpc-gya5epk9.js} +33 -33
- package/dist/chunks/{tool-0af2ej1h.js → rpc-gycf0q5e.js} +12 -12
- package/dist/chunks/{tool-0yktd958.js → rpc-h0r3stt9.js} +11 -11
- package/dist/chunks/{tool-k7cnkcnj.js → rpc-h0th52h7.js} +12 -12
- package/dist/chunks/{tool-fgv8yzeg.js → rpc-h4xh44nf.js} +11 -11
- package/dist/chunks/{tool-rj7jtxy8.js → rpc-h5chy42v.js} +3 -3
- package/dist/chunks/{tool-zq96bstz.js → rpc-h9vrndxk.js} +8 -8
- package/dist/chunks/{tool-7j1hj9ek.js → rpc-hb3pn0ak.js} +7 -7
- package/dist/chunks/{tool-74nkrfhp.js → rpc-hbca72xj.js} +7 -7
- package/dist/chunks/{tool-gzbn54hn.js → rpc-hgfv1brc.js} +1 -1
- package/dist/chunks/{tool-rs87zcqc.js → rpc-hgqy4ayf.js} +59 -59
- package/dist/chunks/{tool-hgzwgvze.js → rpc-hgzwgvze.js} +2 -2
- package/dist/chunks/{tool-9vnsmb12.js → rpc-hkkd6zqp.js} +34 -34
- package/dist/chunks/{tool-d88ap0rw.js → rpc-hm5rd2j1.js} +17 -17
- package/dist/chunks/{tool-x4mcewfn.js → rpc-hmhcwfpk.js} +6 -6
- package/dist/chunks/{tool-fw86ygjm.js → rpc-hyr5bkta.js} +3 -3
- package/dist/chunks/{tool-2224nmbs.js → rpc-j155csb5.js} +28 -28
- package/dist/chunks/{tool-pbbrhaxk.js → rpc-j4301k6z.js} +36 -36
- package/dist/chunks/{tool-sgx9k6cw.js → rpc-j5va1scs.js} +12 -12
- package/dist/chunks/{tool-ze75qvmd.js → rpc-j9nxzz3g.js} +3 -3
- package/dist/chunks/{tool-71bdgds2.js → rpc-ja4cq3nt.js} +27 -27
- package/dist/chunks/{tool-qsdghx1p.js → rpc-jg11hrrc.js} +4 -4
- package/dist/chunks/{tool-jm70asfg.js → rpc-jm70asfg.js} +1 -1
- package/dist/chunks/{tool-61qraad9.js → rpc-jv5ccajn.js} +5 -5
- package/dist/chunks/{tool-f1qx1v58.js → rpc-jvcygd6j.js} +9 -9
- package/dist/chunks/{tool-msa5m8am.js → rpc-kew8g758.js} +16 -16
- package/dist/chunks/{tool-20pht57w.js → rpc-kj9n5bvh.js} +4 -4
- package/dist/chunks/{tool-3nsns975.js → rpc-kqskj2te.js} +8 -8
- package/dist/chunks/{tool-kt3bjfbg.js → rpc-kt3bjfbg.js} +1 -1
- package/dist/chunks/{tool-an1v5wex.js → rpc-kth4h1tc.js} +8 -8
- package/dist/chunks/{tool-083k8jjw.js → rpc-kxd8s961.js} +38 -38
- package/dist/chunks/{tool-szfm0m93.js → rpc-kybyxdae.js} +27 -27
- package/dist/chunks/{tool-kzczzf4v.js → rpc-kzczzf4v.js} +1 -1
- package/dist/chunks/{tool-vtsctq43.js → rpc-m0kh8ns9.js} +12 -12
- package/dist/chunks/{tool-m1714858.js → rpc-m1714858.js} +1 -1
- package/dist/chunks/{tool-sk7x78xs.js → rpc-m55yyqtz.js} +8 -8
- package/dist/chunks/{tool-m9w0rfyh.js → rpc-m9w0rfyh.js} +1 -1
- package/dist/chunks/{tool-8z6m94af.js → rpc-mb7mbhnz.js} +3 -3
- package/dist/chunks/{tool-4260v68q.js → rpc-mbfdeyzs.js} +9 -9
- package/dist/chunks/{tool-msd2a3qm.js → rpc-msd2a3qm.js} +4 -4
- package/dist/chunks/{tool-ha1v2dhf.js → rpc-mvzqt1t6.js} +18 -18
- package/dist/chunks/{tool-q36dsedj.js → rpc-myqwvcme.js} +55 -55
- package/dist/chunks/{tool-n320gsn2.js → rpc-n320gsn2.js} +1 -1
- package/dist/chunks/{tool-7w7ts1mc.js → rpc-n40reqfs.js} +22 -22
- package/dist/chunks/{tool-1r35gkft.js → rpc-n95g7385.js} +11 -11
- package/dist/chunks/{tool-fmdffz6v.js → rpc-naea0drd.js} +20 -20
- package/dist/chunks/{tool-gn56hyyd.js → rpc-nee3jvga.js} +6 -6
- package/dist/chunks/{tool-bsq94p9g.js → rpc-nfshpcq9.js} +41 -41
- package/dist/chunks/{tool-y05fgwsx.js → rpc-nnyzb809.js} +8 -8
- package/dist/chunks/{tool-qtf35215.js → rpc-np3cybhk.js} +3 -3
- package/dist/chunks/{tool-3ktek22a.js → rpc-nykc7h8t.js} +6 -6
- package/dist/chunks/{tool-84h32f71.js → rpc-p1cgtrjg.js} +24 -24
- package/dist/chunks/{tool-sby54dqk.js → rpc-p8zwmrjs.js} +2 -2
- package/dist/chunks/{tool-pknna89w.js → rpc-pknna89w.js} +1 -1
- package/dist/chunks/{tool-ehts27c3.js → rpc-pmmz8ew7.js} +28 -28
- package/dist/chunks/{tool-y4864fy3.js → rpc-pn6anbv0.js} +11 -11
- package/dist/chunks/{tool-6f6jm3cp.js → rpc-pnwsrq7c.js} +8 -8
- package/dist/chunks/{tool-0gfhqxdg.js → rpc-pqe0096k.js} +11 -11
- package/dist/chunks/{tool-g3v175ht.js → rpc-pxm9qt5h.js} +3 -3
- package/dist/chunks/{tool-cg3fcpn4.js → rpc-py4yjbmy.js} +6 -6
- package/dist/chunks/{tool-0ahs07zn.js → rpc-q2jwrh60.js} +7 -7
- package/dist/chunks/{tool-19b2ztj7.js → rpc-q9jzns4g.js} +11 -11
- package/dist/chunks/{tool-s1td2z6q.js → rpc-qbm9mea2.js} +51 -51
- package/dist/chunks/{tool-tew3ekv0.js → rpc-qf1vbv9t.js} +14 -14
- package/dist/chunks/{tool-1z3v6jst.js → rpc-qk5sk9d1.js} +5 -5
- package/dist/chunks/{tool-nr7prwvg.js → rpc-qmy53j84.js} +15 -15
- package/dist/chunks/{tool-qp7r0hxv.js → rpc-qp7r0hxv.js} +1 -1
- package/dist/chunks/{tool-0w17snvd.js → rpc-qs1783nw.js} +10 -10
- package/dist/chunks/{tool-edv5vwyt.js → rpc-qwyyt6wr.js} +29 -29
- package/dist/chunks/{tool-p1p5zv4x.js → rpc-qx15mdxn.js} +5 -5
- package/dist/chunks/{tool-3qgwywyc.js → rpc-r17fbvme.js} +4 -4
- package/dist/chunks/{tool-f9vhsqwm.js → rpc-r41bp2n7.js} +20 -20
- package/dist/chunks/{tool-w2eysc6j.js → rpc-r41sfy63.js} +6 -6
- package/dist/chunks/{tool-ysnehdgc.js → rpc-r7etgc1n.js} +23 -23
- package/dist/chunks/{tool-cgg9h89b.js → rpc-r9dmgv7v.js} +28 -28
- package/dist/chunks/{tool-q9djgp4e.js → rpc-r9hsxkkd.js} +15 -15
- package/dist/chunks/{tool-rb9dy4dg.js → rpc-rb9dy4dg.js} +1 -1
- package/dist/chunks/{tool-g0sw756x.js → rpc-rbbqzm9j.js} +3 -3
- package/dist/chunks/{tool-yrv28rr1.js → rpc-rdfnhgq5.js} +21 -21
- package/dist/chunks/{tool-qrj805cr.js → rpc-rfwmafs8.js} +44 -44
- package/dist/chunks/{tool-rgc9cx3e.js → rpc-rgc9cx3e.js} +2 -2
- package/dist/chunks/{tool-p2tvx8t7.js → rpc-rhx7sxcq.js} +9 -9
- package/dist/chunks/{tool-r6r1w0bn.js → rpc-rj7ztx4b.js} +154 -154
- package/dist/chunks/{tool-dsxayadk.js → rpc-rkgkpnxn.js} +6 -6
- package/dist/chunks/{tool-pheg3pak.js → rpc-rm31hkb4.js} +11 -11
- package/dist/chunks/{tool-q48415cr.js → rpc-rn56gr54.js} +18 -18
- package/dist/chunks/{tool-3adw4bt5.js → rpc-rp6t20zc.js} +9 -9
- package/dist/chunks/{tool-9sr5avzc.js → rpc-rqqkm55v.js} +3 -3
- package/dist/chunks/{tool-rt5dr6hb.js → rpc-rt5dr6hb.js} +1 -1
- package/dist/chunks/{tool-jaftvzjf.js → rpc-s0whbjnr.js} +1 -1
- package/dist/chunks/{tool-x09zhxa3.js → rpc-s1zqdndx.js} +22 -22
- package/dist/chunks/{tool-mfnrxmk2.js → rpc-s44fzehs.js} +4 -4
- package/dist/chunks/{tool-j1ms48vw.js → rpc-sbx9kcqs.js} +21 -21
- package/dist/chunks/{tool-sbya78hr.js → rpc-sbya78hr.js} +1 -1
- package/dist/chunks/{tool-5yy869d1.js → rpc-sj8ez368.js} +5 -5
- package/dist/chunks/{tool-vwdemqyb.js → rpc-sm110pnw.js} +6 -6
- package/dist/chunks/{tool-hhegnqrw.js → rpc-sr3dnvks.js} +6 -6
- package/dist/chunks/{tool-svcy3p9a.js → rpc-svcy3p9a.js} +1 -1
- package/dist/chunks/{tool-qe8srvhz.js → rpc-swsq3th8.js} +14 -14
- package/dist/chunks/{tool-egjbmy1y.js → rpc-t0dw9tqp.js} +16 -16
- package/dist/chunks/{tool-73ff1310.js → rpc-t48jrnqq.js} +3 -3
- package/dist/chunks/{tool-cyvaxqay.js → rpc-t557wa0f.js} +4 -4
- package/dist/chunks/{tool-694dpcrp.js → rpc-tb2mrvc9.js} +7 -7
- package/dist/chunks/{tool-tbpn7jtk.js → rpc-tbpn7jtk.js} +1 -1
- package/dist/chunks/{tool-tczq8hjw.js → rpc-tczq8hjw.js} +1 -1
- package/dist/chunks/{tool-3dcz9emx.js → rpc-tdcnrcty.js} +7 -7
- package/dist/chunks/{tool-vq0qa3sh.js → rpc-teav1bzy.js} +9 -9
- package/dist/chunks/{tool-tg7s7b5t.js → rpc-tg7s7b5t.js} +1 -1
- package/dist/chunks/{tool-w778kp5v.js → rpc-th732hew.js} +9 -9
- package/dist/chunks/{tool-tr8x705m.js → rpc-tr8x705m.js} +1 -1
- package/dist/chunks/{tool-tvtps2q9.js → rpc-tvtps2q9.js} +1 -1
- package/dist/chunks/{tool-twssxy5n.js → rpc-twssxy5n.js} +2 -2
- package/dist/chunks/{tool-v2r1d0zg.js → rpc-v2r1d0zg.js} +1 -1
- package/dist/chunks/{tool-9mnt82q7.js → rpc-v4sxsms7.js} +9 -9
- package/dist/chunks/{tool-hna9x47e.js → rpc-v7x7q31v.js} +27 -27
- package/dist/chunks/{tool-4v0wh7cn.js → rpc-v91rzx05.js} +13 -13
- package/dist/chunks/{tool-5gwtjps0.js → rpc-vbvpztye.js} +16 -16
- package/dist/chunks/{tool-65j8xpqd.js → rpc-vc47ztas.js} +23 -23
- package/dist/chunks/{tool-pc077hap.js → rpc-ves1rs50.js} +11 -11
- package/dist/chunks/{tool-vjf35v1f.js → rpc-vjf35v1f.js} +1 -1
- package/dist/chunks/{tool-nhshg12m.js → rpc-vpc4myvz.js} +5 -5
- package/dist/chunks/{tool-1bbvyrj8.js → rpc-vt6hhs3b.js} +27 -27
- package/dist/chunks/{tool-y98jxswp.js → rpc-w22pzn0k.js} +12 -12
- package/dist/chunks/{tool-kjef077q.js → rpc-w2vsfrrr.js} +12 -12
- package/dist/chunks/{tool-w3wsvvr9.js → rpc-w3wsvvr9.js} +1 -1
- package/dist/chunks/{tool-wr3re1en.js → rpc-w687dnns.js} +4 -4
- package/dist/chunks/{tool-cjehnj7d.js → rpc-w6km6b30.js} +13 -13
- package/dist/chunks/{tool-vztdkk27.js → rpc-w7fcv3yp.js} +31 -31
- package/dist/chunks/{tool-wakvkjy4.js → rpc-wakvkjy4.js} +1 -1
- package/dist/chunks/{tool-v6j3d7ww.js → rpc-wbxm7ybs.js} +4 -4
- package/dist/chunks/{tool-wd87259q.js → rpc-wd87259q.js} +1 -1
- package/dist/chunks/{tool-71jvkvdc.js → rpc-we4fasy2.js} +13 -13
- package/dist/chunks/{tool-nx4vzyjd.js → rpc-wegkxhrn.js} +2 -2
- package/dist/chunks/{tool-7fsc8m4k.js → rpc-wf26njaz.js} +22 -22
- package/dist/chunks/{tool-k732j073.js → rpc-wgvnftve.js} +8 -8
- package/dist/chunks/{tool-wzpeeaw7.js → rpc-wrnqz81f.js} +32 -32
- package/dist/chunks/{tool-g093g6qd.js → rpc-wsng76yh.js} +18 -18
- package/dist/chunks/{tool-w2y7d4w3.js → rpc-x07ct04a.js} +2 -2
- package/dist/chunks/rpc-x3c9tvtc.js +16 -0
- package/dist/chunks/{tool-4mx18a8z.js → rpc-x3nh0avt.js} +18 -18
- package/dist/chunks/{tool-5h9rmw1n.js → rpc-x4ggb1fy.js} +5 -5
- package/dist/chunks/{tool-4b8smedx.js → rpc-x5tpxx7h.js} +24 -24
- package/dist/chunks/{tool-6p47f7n7.js → rpc-x78gz5v1.js} +2 -2
- package/dist/chunks/{tool-fbkmqcfv.js → rpc-x8tjm333.js} +4 -4
- package/dist/chunks/{tool-qd0hwsad.js → rpc-xdhztcsa.js} +11 -11
- package/dist/chunks/{tool-pr7b356r.js → rpc-xj9efrc3.js} +8 -8
- package/dist/chunks/{tool-xxschbft.js → rpc-xjr6c8m4.js} +4 -4
- package/dist/chunks/{tool-6ge1y5qj.js → rpc-xpa10h0c.js} +18 -18
- package/dist/chunks/{tool-kxhajdy2.js → rpc-xqqwedxj.js} +5 -5
- package/dist/chunks/{tool-avqh07yg.js → rpc-xrk2h63a.js} +5 -5
- package/dist/chunks/{tool-d4r41s9p.js → rpc-xwdfm221.js} +7 -7
- package/dist/chunks/{tool-tjakpvzb.js → rpc-xyw0merk.js} +8 -8
- package/dist/chunks/{tool-0fzn8tne.js → rpc-y0gw67s9.js} +20 -20
- package/dist/chunks/{tool-ppy7a7my.js → rpc-y7nnbvk0.js} +6 -6
- package/dist/chunks/{tool-2946nwq7.js → rpc-y7zjd31c.js} +39 -39
- package/dist/chunks/{tool-yb20nhc3.js → rpc-yb20nhc3.js} +1 -1
- package/dist/chunks/{tool-144d3hy7.js → rpc-yb6k0ax0.js} +12 -12
- package/dist/chunks/{tool-0mgprbja.js → rpc-yfmbdz01.js} +6 -6
- package/dist/chunks/{tool-efeabf90.js → rpc-yqqjaxb9.js} +5 -5
- package/dist/chunks/{tool-yr705xyq.js → rpc-yr705xyq.js} +1 -1
- package/dist/chunks/{tool-be7sh31c.js → rpc-yskdkqyn.js} +17 -17
- package/dist/chunks/{tool-yvtc2x31.js → rpc-yvtc2x31.js} +1 -1
- package/dist/chunks/{tool-b5atjet8.js → rpc-zg33e2gq.js} +43 -43
- package/dist/chunks/{tool-yk4ram99.js → rpc-zjsrq9ak.js} +6 -6
- package/dist/chunks/{tool-jy9jrrph.js → rpc-zk3cqagx.js} +35 -35
- package/dist/chunks/{tool-bm3kvz7r.js → rpc-zsgwahqd.js} +13 -13
- package/dist/chunks/{tool-4dfd3vjk.js → rpc-zsxv381e.js} +50 -50
- package/dist/chunks/rpc-zwnbzevs.js +26 -0
- package/dist/codemode/catalog.js +1 -1
- package/dist/codemode/execution.js +5 -5
- 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 +96 -96
- 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 +133 -133
- package/dist/config/plugin/command.js +240 -240
- 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 +145 -145
- 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 +130 -130
- 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 +129 -129
- 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 +133 -133
- package/dist/console-access.js +1 -1
- package/dist/credential/sql.js +2 -2
- package/dist/credential.js +94 -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 +98 -98
- package/dist/database/v1-migration.js +1 -1
- package/dist/effect/app-node-builder.js +440 -440
- package/dist/effect/app-node-platform.js +2 -2
- package/dist/effect/keyed-mutex.js +1 -1
- package/dist/effect/websocket-constructor.js +1 -1
- package/dist/environment/driver.js +1 -1
- package/dist/environment/environment.js +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 +81 -81
- 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 +88 -88
- package/dist/filesystem/location-watcher-policy.js +6 -6
- package/dist/filesystem/location-watcher.js +247 -247
- 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 +11 -11
- package/dist/filesystem.js +116 -116
- package/dist/flag.js +127 -127
- package/dist/form.js +87 -87
- package/dist/formatter/builtins.js +4 -4
- package/dist/formatter.js +100 -100
- package/dist/generate.js +118 -118
- package/dist/git.js +7 -7
- package/dist/github-copilot/chat/convert-to-openai-compatible-chat-messages.js +1 -1
- package/dist/github-copilot/chat/get-response-metadata.js +1 -1
- package/dist/github-copilot/chat/map-openai-compatible-finish-reason.js +1 -1
- package/dist/github-copilot/chat/openai-compatible-chat-language-model.js +7 -7
- package/dist/github-copilot/chat/openai-compatible-chat-options.js +1 -1
- package/dist/github-copilot/chat/openai-compatible-prepare-tools.js +1 -1
- package/dist/github-copilot/copilot-provider.js +17 -17
- package/dist/github-copilot/models.js +112 -112
- package/dist/github-copilot/openai-compatible-error.js +1 -1
- package/dist/github-copilot/responses/convert-to-openai-responses-input.js +1 -1
- package/dist/github-copilot/responses/map-openai-responses-finish-reason.js +1 -1
- package/dist/github-copilot/responses/openai-error.js +1 -1
- package/dist/github-copilot/responses/openai-responses-language-model.js +10 -10
- package/dist/github-copilot/responses/openai-responses-prepare-tools.js +6 -6
- package/dist/github-copilot/responses/tool/code-interpreter.js +1 -1
- package/dist/github-copilot/responses/tool/file-search.js +1 -1
- package/dist/github-copilot/responses/tool/image-generation.js +1 -1
- package/dist/github-copilot/responses/tool/web-search-preview.js +1 -1
- package/dist/github-copilot/responses/tool/web-search.js +1 -1
- package/dist/image/notice.js +3 -3
- package/dist/image/photon-normalize.js +1 -1
- package/dist/image/photon-worker.js +1 -1
- package/dist/image/photon.js +4 -4
- package/dist/image.js +6 -6
- package/dist/instance/service.js +5 -5
- package/dist/instance.js +431 -431
- package/dist/instruction-discovery.js +97 -97
- package/dist/instructions/builtins.js +100 -100
- package/dist/instructions/index.js +5 -5
- package/dist/integration/connection.js +1 -1
- package/dist/integration.js +96 -96
- 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 +182 -182
- package/dist/location-lifecycle.js +153 -153
- package/dist/location-service-map.js +99 -99
- package/dist/location-services.js +428 -428
- package/dist/location.js +94 -94
- package/dist/managed-policy.js +3 -3
- package/dist/mcp/client.js +158 -158
- 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 +89 -89
- 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 +110 -110
- package/dist/model-retry.js +1 -1
- package/dist/model.js +113 -113
- 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 +93 -93
- package/dist/permission/sql.js +5 -5
- package/dist/permission.js +156 -156
- package/dist/persistent-pty/binary.bun.js +1 -1
- package/dist/persistent-pty/daemon.js +1 -1
- package/dist/persistent-pty/index.js +101 -101
- package/dist/persistent-pty/pty-binding.js +1 -1
- package/dist/persistent-pty.js +86 -86
- package/dist/plugin/agent.js +87 -87
- package/dist/plugin/command.js +119 -119
- package/dist/plugin/goal.js +3 -3
- package/dist/plugin/hooks.js +5 -5
- package/dist/plugin/host.js +244 -244
- package/dist/plugin/identity.js +5 -5
- package/dist/plugin/instance.js +5 -5
- package/dist/plugin/internal.js +407 -407
- package/dist/plugin/mcp-codemode-defaults.js +3 -3
- package/dist/plugin/models-dev.js +110 -110
- package/dist/plugin/module.js +129 -129
- package/dist/plugin/optimize.js +4 -4
- 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 +1 -1
- package/dist/plugin/provider/claude-agent/claude/session.js +4 -4
- package/dist/plugin/provider/claude-agent/claude/sessions.js +16 -16
- package/dist/plugin/provider/claude-agent/claude/status.js +9 -9
- package/dist/plugin/provider/claude-agent/index.js +148 -148
- package/dist/plugin/provider/claude-agent/instructions.js +112 -112
- 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 +6 -6
- package/dist/plugin/provider/claude-agent/language-model/convert-to-claude-message.js +1 -1
- package/dist/plugin/provider/claude-agent/language-model/request-kind.js +1 -1
- package/dist/plugin/provider/claude-agent/language-model/system-prompt.js +3 -3
- package/dist/plugin/provider/claude-agent/language-model/usage.js +5 -5
- package/dist/plugin/provider/claude-agent/provider.js +110 -110
- package/dist/plugin/provider/claude-agent/session.js +112 -112
- package/dist/plugin/provider/claude-agent/sync/catch-up.js +3 -3
- package/dist/plugin/provider/claude-agent/sync/checkpoints.js +2 -2
- package/dist/plugin/provider/claude-agent/sync/decide.js +2 -2
- package/dist/plugin/provider/claude-agent/sync/fingerprint.js +1 -1
- package/dist/plugin/provider/claude-agent/sync/record.js +3 -3
- package/dist/plugin/provider/claude-agent/tools/hooks.js +3 -3
- package/dist/plugin/provider/claude-agent/tools/names.js +1 -1
- package/dist/plugin/provider/claude-agent/tools/pending.js +1 -1
- 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 +138 -138
- package/dist/plugin/provider/openai-context-caps.js +106 -106
- package/dist/plugin/provider/openai.js +135 -135
- package/dist/plugin/provider/opencode.js +159 -159
- 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 +237 -237
- package/dist/plugin/sdk.js +83 -83
- package/dist/plugin/service.js +3 -3
- package/dist/plugin/skill.js +152 -152
- package/dist/plugin/source-directory.js +1 -1
- package/dist/plugin/supervisor.js +415 -415
- 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 +7 -7
- package/dist/plugin/websearch/index.js +10 -10
- package/dist/plugin/websearch/mcp.js +4 -4
- package/dist/plugin/websearch/parallel.js +9 -9
- package/dist/plugin/websearch/provider.js +3 -3
- package/dist/plugin/websearch/tavily.js +5 -5
- package/dist/plugin/websearch/tinyfish.js +9 -9
- package/dist/plugin.js +253 -253
- package/dist/project/icon.js +5 -5
- package/dist/project/schema.js +2 -2
- package/dist/project/sql.js +4 -4
- package/dist/project.js +93 -93
- package/dist/provider.js +112 -112
- 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 +99 -99
- package/dist/reference.js +101 -101
- package/dist/repository-cache.js +93 -93
- package/dist/repository.js +1 -1
- package/dist/ripgrep/binary.js +2 -2
- package/dist/ripgrep.js +109 -109
- package/dist/rpc.js +99 -99
- package/dist/schedule/check.js +249 -249
- package/dist/schedule/sql.js +6 -6
- package/dist/schedule.js +255 -255
- 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 +173 -173
- 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 +251 -251
- package/dist/session/execution.js +169 -169
- package/dist/session/generate.js +204 -204
- package/dist/session/history.js +139 -139
- package/dist/session/inbox.js +150 -150
- 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 +256 -256
- package/dist/session/runner/max-steps.js +1 -1
- package/dist/session/runner/model.js +113 -113
- package/dist/session/runner/publish-llm-event.js +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 +4 -4
- package/dist/session/subagent-completion.js +3 -3
- package/dist/session/subagent-job.js +237 -237
- 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 +242 -242
- package/dist/session/usage.js +3 -3
- package/dist/session.js +241 -241
- 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 +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 +186 -186
- package/dist/tool/plugin/artifact.js +236 -236
- package/dist/tool/plugin/edit.js +168 -168
- package/dist/tool/plugin/file-diff.js +1 -1
- package/dist/tool/plugin/glob.js +174 -174
- package/dist/tool/plugin/grep.js +169 -169
- package/dist/tool/plugin/image-generate.js +247 -247
- package/dist/tool/plugin/mcp-resource.js +169 -169
- package/dist/tool/plugin/opencode.js +166 -166
- package/dist/tool/plugin/patch.js +167 -167
- package/dist/tool/plugin/question.js +149 -149
- package/dist/tool/plugin/read.js +175 -175
- package/dist/tool/plugin/schedule.js +255 -255
- package/dist/tool/plugin/shell.js +241 -241
- package/dist/tool/plugin/skill.js +158 -158
- package/dist/tool/plugin/subagent.js +244 -244
- package/dist/tool/plugin/todo.js +156 -156
- package/dist/tool/plugin/webfetch.js +158 -158
- package/dist/tool/plugin/websearch.js +156 -156
- 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 +163 -163
- package/dist/types/v1/config/migrate.d.ts +2 -2
- package/dist/types/v1/config/provider.d.ts +4 -4
- 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 +5 -5
- package/dist/v1/config/mcp.js +4 -4
- package/dist/v1/config/migrate.js +105 -105
- package/dist/v1/config/permission.js +3 -3
- package/dist/v1/config/plugin.js +1 -1
- package/dist/v1/config/provider-options.js +1 -1
- package/dist/v1/config/provider.js +4 -4
- package/dist/variant.js +104 -104
- package/dist/vcs/patch.js +1 -1
- package/dist/vcs.js +96 -96
- package/dist/voice.js +97 -97
- package/dist/websearch.js +101 -101
- package/dist/wellknown/plugin.js +85 -85
- package/dist/wellknown.js +90 -90
- package/dist/workspace/driver.js +7 -7
- 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 +111 -111
- package/package.json +8 -8
- package/dist/chunks/tool-3qhreq2y.js +0 -16
- package/dist/chunks/tool-8x060fmy.js +0 -18
- package/dist/chunks/tool-bma3xgyt.js +0 -26
- /package/dist/chunks/{tool-0qkdqm5v.js → rpc-0qkdqm5v.js} +0 -0
- /package/dist/chunks/{tool-0zkw76rk.js → rpc-0zkw76rk.js} +0 -0
- /package/dist/chunks/{tool-108x4f4w.js → rpc-108x4f4w.js} +0 -0
- /package/dist/chunks/{tool-17cy0kzp.js → rpc-17cy0kzp.js} +0 -0
- /package/dist/chunks/{tool-1cnp2v09.js → rpc-1cnp2v09.js} +0 -0
- /package/dist/chunks/{tool-1kah00gy.js → rpc-1kah00gy.js} +0 -0
- /package/dist/chunks/{tool-24dcb14g.js → rpc-24dcb14g.js} +0 -0
- /package/dist/chunks/{tool-2710q6r3.js → rpc-2710q6r3.js} +0 -0
- /package/dist/chunks/{tool-2bv980vf.js → rpc-2bv980vf.js} +0 -0
- /package/dist/chunks/{tool-2c3vjs8z.js → rpc-2c3vjs8z.js} +0 -0
- /package/dist/chunks/{tool-359p4xyc.js → rpc-359p4xyc.js} +0 -0
- /package/dist/chunks/{tool-3af0jn4w.js → rpc-3af0jn4w.js} +0 -0
- /package/dist/chunks/{tool-3asan66x.js → rpc-3asan66x.js} +0 -0
- /package/dist/chunks/{tool-3v8g72cx.js → rpc-3v8g72cx.js} +0 -0
- /package/dist/chunks/{tool-3wcehsnq.js → rpc-3wcehsnq.js} +0 -0
- /package/dist/chunks/{tool-43n2bw4t.js → rpc-43n2bw4t.js} +0 -0
- /package/dist/chunks/{tool-4knz6hnm.js → rpc-4knz6hnm.js} +0 -0
- /package/dist/chunks/{tool-4qk9sjk2.js → rpc-4qk9sjk2.js} +0 -0
- /package/dist/chunks/{tool-4y7fprxs.js → rpc-4y7fprxs.js} +0 -0
- /package/dist/chunks/{tool-53557ph1.js → rpc-53557ph1.js} +0 -0
- /package/dist/chunks/{tool-550bvhaj.js → rpc-550bvhaj.js} +0 -0
- /package/dist/chunks/{tool-5w3e23ze.js → rpc-5w3e23ze.js} +0 -0
- /package/dist/chunks/{tool-6agm2x70.js → rpc-6agm2x70.js} +0 -0
- /package/dist/chunks/{tool-6prwharc.js → rpc-6prwharc.js} +0 -0
- /package/dist/chunks/{tool-6q2bdcd1.js → rpc-6q2bdcd1.js} +0 -0
- /package/dist/chunks/{tool-7akdwqpd.js → rpc-7akdwqpd.js} +0 -0
- /package/dist/chunks/{tool-7m9af43g.js → rpc-7m9af43g.js} +0 -0
- /package/dist/chunks/{tool-822emrt2.js → rpc-822emrt2.js} +0 -0
- /package/dist/chunks/{tool-84wd9syh.js → rpc-84wd9syh.js} +0 -0
- /package/dist/chunks/{tool-88xbtdfr.js → rpc-88xbtdfr.js} +0 -0
- /package/dist/chunks/{tool-8n3pysct.js → rpc-8n3pysct.js} +0 -0
- /package/dist/chunks/{tool-8wj87zfr.js → rpc-8wj87zfr.js} +0 -0
- /package/dist/chunks/{tool-9a4afbnw.js → rpc-9a4afbnw.js} +0 -0
- /package/dist/chunks/{tool-9rqn6x4v.js → rpc-9rqn6x4v.js} +0 -0
- /package/dist/chunks/{tool-a6k6eb26.js → rpc-a6k6eb26.js} +0 -0
- /package/dist/chunks/{tool-af5trqkr.js → rpc-af5trqkr.js} +0 -0
- /package/dist/chunks/{tool-afrmfg78.js → rpc-afrmfg78.js} +0 -0
- /package/dist/chunks/{tool-aqzs7mqg.js → rpc-aqzs7mqg.js} +0 -0
- /package/dist/chunks/{tool-atq7p7m5.js → rpc-atq7p7m5.js} +0 -0
- /package/dist/chunks/{tool-beh6qq61.js → rpc-beh6qq61.js} +0 -0
- /package/dist/chunks/{tool-bhmrqjy3.js → rpc-bhmrqjy3.js} +0 -0
- /package/dist/chunks/{tool-bkyjaxrp.js → rpc-bkyjaxrp.js} +0 -0
- /package/dist/chunks/{tool-bmr6ed5q.js → rpc-bmr6ed5q.js} +0 -0
- /package/dist/chunks/{tool-cf4snx6d.js → rpc-cf4snx6d.js} +0 -0
- /package/dist/chunks/{tool-cqv5kn06.js → rpc-cqv5kn06.js} +0 -0
- /package/dist/chunks/{tool-cvy3z8tj.js → rpc-cvy3z8tj.js} +0 -0
- /package/dist/chunks/{tool-d9fn303g.js → rpc-d9fn303g.js} +0 -0
- /package/dist/chunks/{tool-d9jj8t3e.js → rpc-d9jj8t3e.js} +0 -0
- /package/dist/chunks/{tool-dap0rakb.js → rpc-dap0rakb.js} +0 -0
- /package/dist/chunks/{tool-df08tz66.js → rpc-df08tz66.js} +0 -0
- /package/dist/chunks/{tool-dy18nga0.js → rpc-dy18nga0.js} +0 -0
- /package/dist/chunks/{tool-e5kj55wp.js → rpc-e5kj55wp.js} +0 -0
- /package/dist/chunks/{tool-ean2d8b5.js → rpc-ean2d8b5.js} +0 -0
- /package/dist/chunks/{tool-ec1grn59.js → rpc-ec1grn59.js} +0 -0
- /package/dist/chunks/{tool-emrn6kk6.js → rpc-emrn6kk6.js} +0 -0
- /package/dist/chunks/{tool-f0mxakyp.js → rpc-f0mxakyp.js} +0 -0
- /package/dist/chunks/{tool-f6n9ztr4.js → rpc-f6n9ztr4.js} +0 -0
- /package/dist/chunks/{tool-faypxj3z.js → rpc-faypxj3z.js} +0 -0
- /package/dist/chunks/{tool-fd410y7t.js → rpc-fd410y7t.js} +0 -0
- /package/dist/chunks/{tool-fkpq3x5p.js → rpc-fkpq3x5p.js} +0 -0
- /package/dist/chunks/{tool-g4wezp1m.js → rpc-g4wezp1m.js} +0 -0
- /package/dist/chunks/{tool-g86h250q.js → rpc-g86h250q.js} +0 -0
- /package/dist/chunks/{tool-gebd4c9n.js → rpc-gebd4c9n.js} +0 -0
- /package/dist/chunks/{tool-gftt206x.js → rpc-gftt206x.js} +0 -0
- /package/dist/chunks/{tool-hcxmzztb.js → rpc-hcxmzztb.js} +0 -0
- /package/dist/chunks/{tool-hk9envan.js → rpc-hk9envan.js} +0 -0
- /package/dist/chunks/{tool-j2ntwpah.js → rpc-j2ntwpah.js} +0 -0
- /package/dist/chunks/{tool-j5zkgpj8.js → rpc-j5zkgpj8.js} +0 -0
- /package/dist/chunks/{tool-jjkms2e6.js → rpc-jjkms2e6.js} +0 -0
- /package/dist/chunks/{tool-jr7sbwjy.js → rpc-jr7sbwjy.js} +0 -0
- /package/dist/chunks/{tool-jwfs4k6c.js → rpc-jwfs4k6c.js} +0 -0
- /package/dist/chunks/{tool-jwr30sdr.js → rpc-jwr30sdr.js} +0 -0
- /package/dist/chunks/{tool-jzg6c2d5.js → rpc-jzg6c2d5.js} +0 -0
- /package/dist/chunks/{tool-m18g726c.js → rpc-m18g726c.js} +0 -0
- /package/dist/chunks/{tool-mp448xyj.js → rpc-mp448xyj.js} +0 -0
- /package/dist/chunks/{tool-msx8hqn2.js → rpc-msx8hqn2.js} +0 -0
- /package/dist/chunks/{tool-n05xt0ee.js → rpc-n05xt0ee.js} +0 -0
- /package/dist/chunks/{tool-n3j8tn72.js → rpc-n3j8tn72.js} +0 -0
- /package/dist/chunks/{tool-nh4v3znn.js → rpc-nh4v3znn.js} +0 -0
- /package/dist/chunks/{tool-njntx4h6.js → rpc-njntx4h6.js} +0 -0
- /package/dist/chunks/{tool-p71gwv9c.js → rpc-p71gwv9c.js} +0 -0
- /package/dist/chunks/{tool-q3sfg36h.js → rpc-q3sfg36h.js} +0 -0
- /package/dist/chunks/{tool-q74kybfr.js → rpc-q74kybfr.js} +0 -0
- /package/dist/chunks/{tool-qb87gjwd.js → rpc-qb87gjwd.js} +0 -0
- /package/dist/chunks/{tool-qfa1cgps.js → rpc-qfa1cgps.js} +0 -0
- /package/dist/chunks/{tool-qg3g05ea.js → rpc-qg3g05ea.js} +0 -0
- /package/dist/chunks/{tool-qrg20bc0.js → rpc-qrg20bc0.js} +0 -0
- /package/dist/chunks/{tool-rcb2kzg1.js → rpc-rcb2kzg1.js} +0 -0
- /package/dist/chunks/{tool-sdp7kfr6.js → rpc-sdp7kfr6.js} +0 -0
- /package/dist/chunks/{tool-ssg3fenm.js → rpc-ssg3fenm.js} +0 -0
- /package/dist/chunks/{tool-syrav9an.js → rpc-syrav9an.js} +0 -0
- /package/dist/chunks/{tool-t03h4f5z.js → rpc-t03h4f5z.js} +0 -0
- /package/dist/chunks/{tool-ty7weeps.js → rpc-ty7weeps.js} +0 -0
- /package/dist/chunks/{tool-ve7vex1e.js → rpc-ve7vex1e.js} +0 -0
- /package/dist/chunks/{tool-vtarvj67.js → rpc-vtarvj67.js} +0 -0
- /package/dist/chunks/{tool-w803qqfp.js → rpc-w803qqfp.js} +0 -0
- /package/dist/chunks/{tool-wc3fc9cn.js → rpc-wc3fc9cn.js} +0 -0
- /package/dist/chunks/{tool-wer8tq1h.js → rpc-wer8tq1h.js} +0 -0
- /package/dist/chunks/{tool-wtztk69x.js → rpc-wtztk69x.js} +0 -0
- /package/dist/chunks/{tool-x0ckcb58.js → rpc-x0ckcb58.js} +0 -0
- /package/dist/chunks/{tool-x4th4bpe.js → rpc-x4th4bpe.js} +0 -0
- /package/dist/chunks/{tool-x61499pn.js → rpc-x61499pn.js} +0 -0
- /package/dist/chunks/{tool-y44na4kk.js → rpc-y44na4kk.js} +0 -0
- /package/dist/chunks/{tool-y8f7s663.js → rpc-y8f7s663.js} +0 -0
- /package/dist/chunks/{tool-ygaqb7jw.js → rpc-ygaqb7jw.js} +0 -0
- /package/dist/chunks/{tool-z0h12gs8.js → rpc-z0h12gs8.js} +0 -0
- /package/dist/chunks/{tool-z5v4ffb3.js → rpc-z5v4ffb3.js} +0 -0
- /package/dist/chunks/{tool-z9919s4g.js → rpc-z9919s4g.js} +0 -0
- /package/dist/chunks/{tool-zxpyjp51.js → rpc-zxpyjp51.js} +0 -0
|
@@ -1,21 +1,21 @@
|
|
|
1
1
|
import {
|
|
2
2
|
convertToOpenAICompatibleChatMessages2
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./rpc-2bv980vf.js";
|
|
4
4
|
import {
|
|
5
5
|
getResponseMetadata2
|
|
6
|
-
} from "./
|
|
6
|
+
} from "./rpc-g4wezp1m.js";
|
|
7
7
|
import {
|
|
8
8
|
mapOpenAICompatibleFinishReason2
|
|
9
|
-
} from "./
|
|
9
|
+
} from "./rpc-x61499pn.js";
|
|
10
10
|
import {
|
|
11
11
|
openaiCompatibleProviderOptions2
|
|
12
|
-
} from "./
|
|
12
|
+
} from "./rpc-af5trqkr.js";
|
|
13
13
|
import {
|
|
14
14
|
defaultOpenAICompatibleErrorStructure2
|
|
15
|
-
} from "./
|
|
15
|
+
} from "./rpc-afrmfg78.js";
|
|
16
16
|
import {
|
|
17
17
|
prepareTools2
|
|
18
|
-
} from "./
|
|
18
|
+
} from "./rpc-x0ckcb58.js";
|
|
19
19
|
|
|
20
20
|
// src/github-copilot/chat/openai-compatible-chat-language-model.ts
|
|
21
21
|
import {
|
|
@@ -1,56 +1,56 @@
|
|
|
1
1
|
import {
|
|
2
2
|
Service92,
|
|
3
3
|
node95
|
|
4
|
-
} from "./
|
|
4
|
+
} from "./rpc-6m2y1wmr.js";
|
|
5
5
|
import {
|
|
6
6
|
Service91,
|
|
7
7
|
node94
|
|
8
|
-
} from "./
|
|
8
|
+
} from "./rpc-t557wa0f.js";
|
|
9
9
|
import {
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
} from "./
|
|
10
|
+
Service79,
|
|
11
|
+
node82
|
|
12
|
+
} from "./rpc-yskdkqyn.js";
|
|
13
13
|
import {
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
} from "./
|
|
14
|
+
Service63,
|
|
15
|
+
node65
|
|
16
|
+
} from "./rpc-py4yjbmy.js";
|
|
17
17
|
import {
|
|
18
18
|
SessionEvent2
|
|
19
|
-
} from "./
|
|
19
|
+
} from "./rpc-ec1grn59.js";
|
|
20
20
|
import {
|
|
21
|
-
|
|
22
|
-
} from "./
|
|
21
|
+
make29
|
|
22
|
+
} from "./rpc-jg11hrrc.js";
|
|
23
23
|
import {
|
|
24
24
|
DrainResult2,
|
|
25
|
-
|
|
26
|
-
} from "./
|
|
25
|
+
Service61
|
|
26
|
+
} from "./rpc-cnj75yzs.js";
|
|
27
27
|
import {
|
|
28
|
-
|
|
29
|
-
|
|
30
|
-
} from "./
|
|
28
|
+
Service70,
|
|
29
|
+
node72
|
|
30
|
+
} from "./rpc-j5va1scs.js";
|
|
31
31
|
import {
|
|
32
32
|
toSessionError2
|
|
33
|
-
} from "./
|
|
33
|
+
} from "./rpc-4kbmgfrg.js";
|
|
34
34
|
import {
|
|
35
35
|
nextPromotable2
|
|
36
|
-
} from "./
|
|
36
|
+
} from "./rpc-x5tpxx7h.js";
|
|
37
37
|
import {
|
|
38
38
|
__export
|
|
39
|
-
} from "./
|
|
39
|
+
} from "./rpc-9rqn6x4v.js";
|
|
40
40
|
|
|
41
41
|
// src/session/execution.ts
|
|
42
|
-
var
|
|
43
|
-
__export(
|
|
44
|
-
Service: () =>
|
|
45
|
-
SessionExecution: () =>
|
|
46
|
-
layer: () =>
|
|
47
|
-
node: () =>
|
|
42
|
+
var exports_execution2 = {};
|
|
43
|
+
__export(exports_execution2, {
|
|
44
|
+
Service: () => Service60,
|
|
45
|
+
SessionExecution: () => exports_execution2,
|
|
46
|
+
layer: () => layer21,
|
|
47
|
+
node: () => node63,
|
|
48
48
|
noopLayer: () => noopLayer3,
|
|
49
49
|
terminal: () => terminal2
|
|
50
50
|
});
|
|
51
51
|
import { Cause, Context, Effect, Exit, Layer } from "effect";
|
|
52
52
|
import { makeGlobalNode } from "@opencode/util/effect/app-node";
|
|
53
|
-
class
|
|
53
|
+
class Service60 extends Context.Service()("@opencode/SessionExecution") {
|
|
54
54
|
}
|
|
55
55
|
function terminal2(exit, reason) {
|
|
56
56
|
if (Exit.isSuccess(exit))
|
|
@@ -59,11 +59,11 @@ function terminal2(exit, reason) {
|
|
|
59
59
|
return { type: "interrupted", reason: reason ?? "shutdown" };
|
|
60
60
|
return { type: "failed", error: toSessionError2(Cause.squash(exit.cause)) };
|
|
61
61
|
}
|
|
62
|
-
var
|
|
63
|
-
const store = yield*
|
|
64
|
-
const instances = yield*
|
|
62
|
+
var layer21 = Layer.effect(Service60, Effect.gen(function* () {
|
|
63
|
+
const store = yield* Service70;
|
|
64
|
+
const instances = yield* Service63;
|
|
65
65
|
const bus = yield* Service91;
|
|
66
|
-
const jobs = yield*
|
|
66
|
+
const jobs = yield* Service79;
|
|
67
67
|
const db = (yield* Service92).db;
|
|
68
68
|
const reportLifecycle = (sessionID, effect) => effect.pipe(Effect.tapCause((cause) => Cause.hasInterruptsOnly(cause) ? Effect.void : Effect.logError("Failed to publish Session execution lifecycle", cause).pipe(Effect.annotateLogs({ sessionID }))), Effect.asVoid);
|
|
69
69
|
const claimOnCommit = (sessionID) => ({
|
|
@@ -76,14 +76,14 @@ var layer20 = Layer.effect(Service46, Effect.gen(function* () {
|
|
|
76
76
|
const session = yield* store.get(sessionID);
|
|
77
77
|
if (!session)
|
|
78
78
|
return yield* Effect.die(new Error(`Session not found: ${sessionID}`));
|
|
79
|
-
const result = yield*
|
|
79
|
+
const result = yield* Service61.use((runner) => runner.drain({ sessionID, force, continuation, promotable, stepped })).pipe(instances.provide(session), Effect.tapCause((cause) => Cause.hasInterruptsOnly(cause) ? Effect.void : Effect.logError("Failed to drain Session", cause).pipe(Effect.annotateLogs({ sessionID }))));
|
|
80
80
|
return yield* DrainResult2.$match(result, {
|
|
81
81
|
Complete: () => Effect.void,
|
|
82
82
|
Moved: (result) => drain(sessionID, false, result.continuation, promotable, result.stepped),
|
|
83
83
|
Reloaded: (result) => drain(sessionID, result.force, result.continuation, promotable, result.stepped)
|
|
84
84
|
});
|
|
85
85
|
});
|
|
86
|
-
const coordinator = yield*
|
|
86
|
+
const coordinator = yield* make29({
|
|
87
87
|
started: (sessionID) => reportLifecycle(sessionID, bus.publish(SessionEvent2.Execution.Started, { sessionID }, claimOnCommit(sessionID))),
|
|
88
88
|
drain: (sessionID, force, promotable) => drain(sessionID, force, undefined, promotable),
|
|
89
89
|
settled: (sessionID, exit, reason) => reportLifecycle(sessionID, Effect.gen(function* () {
|
|
@@ -104,7 +104,7 @@ var layer20 = Layer.effect(Service46, Effect.gen(function* () {
|
|
|
104
104
|
}, releaseOnCommit(sessionID));
|
|
105
105
|
}))
|
|
106
106
|
});
|
|
107
|
-
return
|
|
107
|
+
return Service60.of({
|
|
108
108
|
active: coordinator.active,
|
|
109
109
|
isActive: coordinator.isActive,
|
|
110
110
|
interrupt: (sessionID, options) => Effect.gen(function* () {
|
|
@@ -123,12 +123,12 @@ var layer20 = Layer.effect(Service46, Effect.gen(function* () {
|
|
|
123
123
|
awaitIdle: coordinator.awaitIdle
|
|
124
124
|
});
|
|
125
125
|
}));
|
|
126
|
-
var
|
|
127
|
-
service:
|
|
128
|
-
layer:
|
|
129
|
-
deps: [
|
|
126
|
+
var node63 = makeGlobalNode({
|
|
127
|
+
service: Service60,
|
|
128
|
+
layer: layer21,
|
|
129
|
+
deps: [node72, node65, node94, node95, node82]
|
|
130
130
|
});
|
|
131
|
-
var noopLayer3 = Layer.succeed(
|
|
131
|
+
var noopLayer3 = Layer.succeed(Service60, Service60.of({
|
|
132
132
|
active: Effect.succeed(new Set),
|
|
133
133
|
isActive: () => Effect.succeed(false),
|
|
134
134
|
resume: () => Effect.void,
|
|
@@ -137,4 +137,4 @@ var noopLayer3 = Layer.succeed(Service46, Service46.of({
|
|
|
137
137
|
awaitIdle: () => Effect.void
|
|
138
138
|
}));
|
|
139
139
|
|
|
140
|
-
export {
|
|
140
|
+
export { Service60, terminal2, layer21, node63, noopLayer3, exports_execution2 };
|
|
@@ -1,27 +1,27 @@
|
|
|
1
1
|
import {
|
|
2
2
|
Service92
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./rpc-6m2y1wmr.js";
|
|
4
4
|
import {
|
|
5
|
-
|
|
6
|
-
} from "./
|
|
5
|
+
Service63
|
|
6
|
+
} from "./rpc-py4yjbmy.js";
|
|
7
7
|
import {
|
|
8
8
|
awaitActivation2
|
|
9
|
-
} from "./
|
|
9
|
+
} from "./rpc-6zjm2phc.js";
|
|
10
10
|
import {
|
|
11
11
|
preview2
|
|
12
|
-
} from "./
|
|
12
|
+
} from "./rpc-939d1apm.js";
|
|
13
13
|
import {
|
|
14
14
|
retry2
|
|
15
|
-
} from "./
|
|
15
|
+
} from "./rpc-2fc7eemy.js";
|
|
16
16
|
import {
|
|
17
17
|
baseTranscript2
|
|
18
|
-
} from "./
|
|
18
|
+
} from "./rpc-6w2z781c.js";
|
|
19
19
|
import {
|
|
20
|
-
|
|
21
|
-
} from "./
|
|
20
|
+
Service22
|
|
21
|
+
} from "./rpc-137mjkgg.js";
|
|
22
22
|
import {
|
|
23
23
|
__export
|
|
24
|
-
} from "./
|
|
24
|
+
} from "./rpc-9rqn6x4v.js";
|
|
25
25
|
|
|
26
26
|
// src/session/generate.ts
|
|
27
27
|
var exports_generate2 = {};
|
|
@@ -32,12 +32,12 @@ __export(exports_generate2, {
|
|
|
32
32
|
import { LLMClient, Message } from "@opencode/ai/effect";
|
|
33
33
|
import { Effect } from "effect";
|
|
34
34
|
var generate2 = Effect.fn("SessionGenerate.generate")(function* (input) {
|
|
35
|
-
const instances = yield*
|
|
35
|
+
const instances = yield* Service63;
|
|
36
36
|
const database = yield* Service92;
|
|
37
37
|
const llm = yield* LLMClient.Service;
|
|
38
38
|
return yield* Effect.gen(function* () {
|
|
39
39
|
yield* awaitActivation2;
|
|
40
|
-
const context = yield*
|
|
40
|
+
const context = yield* Service22;
|
|
41
41
|
const selection = yield* context.select(input.session.id);
|
|
42
42
|
const model = yield* context.resolveModel(selection.session);
|
|
43
43
|
const history = yield* preview2(database.db, selection.session.id, selection.instructions, model.ref);
|
|
@@ -1,21 +1,21 @@
|
|
|
1
1
|
import {
|
|
2
2
|
Hash2,
|
|
3
|
-
|
|
3
|
+
read4,
|
|
4
4
|
diff2,
|
|
5
5
|
renderInitial2,
|
|
6
6
|
renderUpdate2,
|
|
7
7
|
applyHashDelta2
|
|
8
|
-
} from "./
|
|
8
|
+
} from "./rpc-bfmm6xpm.js";
|
|
9
9
|
import {
|
|
10
10
|
SessionEvent2
|
|
11
|
-
} from "./
|
|
11
|
+
} from "./rpc-ec1grn59.js";
|
|
12
12
|
import {
|
|
13
13
|
InstructionBlobTable2,
|
|
14
14
|
InstructionStateTable2
|
|
15
|
-
} from "./
|
|
15
|
+
} from "./rpc-mb7mbhnz.js";
|
|
16
16
|
import {
|
|
17
17
|
__export
|
|
18
|
-
} from "./
|
|
18
|
+
} from "./rpc-9rqn6x4v.js";
|
|
19
19
|
|
|
20
20
|
// src/session/instruction-state.ts
|
|
21
21
|
var exports_instruction_state = {};
|
|
@@ -35,7 +35,7 @@ __export(exports_instruction_state, {
|
|
|
35
35
|
import { and, eq, gte, inArray, sql } from "drizzle-orm";
|
|
36
36
|
import { Effect, Option } from "effect";
|
|
37
37
|
var observe3 = Effect.fn("InstructionState.observe")(function* (db, instructions, sessionID) {
|
|
38
|
-
const [observed, stored] = yield* Effect.all([
|
|
38
|
+
const [observed, stored] = yield* Effect.all([read4(instructions), find(db, sessionID)], {
|
|
39
39
|
concurrency: "unbounded"
|
|
40
40
|
});
|
|
41
41
|
const result = yield* observeAgainst(observed, stored?.current_values);
|
|
@@ -1,17 +1,17 @@
|
|
|
1
1
|
import {
|
|
2
2
|
Key3,
|
|
3
3
|
removed2,
|
|
4
|
-
|
|
4
|
+
make30,
|
|
5
5
|
diffByKey2
|
|
6
|
-
} from "./
|
|
6
|
+
} from "./rpc-bfmm6xpm.js";
|
|
7
7
|
import {
|
|
8
8
|
Summary2,
|
|
9
9
|
summarize3,
|
|
10
10
|
namespaceLine2
|
|
11
|
-
} from "./
|
|
11
|
+
} from "./rpc-fffv3p7h.js";
|
|
12
12
|
import {
|
|
13
13
|
__export
|
|
14
|
-
} from "./
|
|
14
|
+
} from "./rpc-9rqn6x4v.js";
|
|
15
15
|
|
|
16
16
|
// src/codemode/instructions.ts
|
|
17
17
|
var exports_instructions4 = {};
|
|
@@ -113,7 +113,7 @@ var key = Key3.make("core/codemode");
|
|
|
113
113
|
var codec = Schema.toCodecJson(Summary2);
|
|
114
114
|
var make25 = (inventory) => {
|
|
115
115
|
const catalog = inventory === undefined ? removed2 : summarize3(inventory);
|
|
116
|
-
return
|
|
116
|
+
return make30({
|
|
117
117
|
key,
|
|
118
118
|
codec,
|
|
119
119
|
read: Effect.succeed(catalog),
|
|
@@ -1,30 +1,30 @@
|
|
|
1
1
|
import {
|
|
2
2
|
Service92,
|
|
3
3
|
node95
|
|
4
|
-
} from "./
|
|
4
|
+
} from "./rpc-6m2y1wmr.js";
|
|
5
5
|
import {
|
|
6
6
|
RecoverySchema2
|
|
7
|
-
} from "./
|
|
7
|
+
} from "./rpc-060dfe6n.js";
|
|
8
8
|
import {
|
|
9
9
|
JobTable2
|
|
10
|
-
} from "./
|
|
10
|
+
} from "./rpc-kzczzf4v.js";
|
|
11
11
|
import {
|
|
12
|
-
|
|
13
|
-
} from "./
|
|
12
|
+
read5
|
|
13
|
+
} from "./rpc-zjsrq9ak.js";
|
|
14
14
|
import {
|
|
15
15
|
SessionMessage2
|
|
16
|
-
} from "./
|
|
16
|
+
} from "./rpc-gftt206x.js";
|
|
17
17
|
import {
|
|
18
18
|
__export
|
|
19
|
-
} from "./
|
|
19
|
+
} from "./rpc-9rqn6x4v.js";
|
|
20
20
|
|
|
21
21
|
// src/job.ts
|
|
22
22
|
var exports_job = {};
|
|
23
23
|
__export(exports_job, {
|
|
24
24
|
Job: () => exports_job,
|
|
25
|
-
Service: () =>
|
|
26
|
-
make: () =>
|
|
27
|
-
node: () =>
|
|
25
|
+
Service: () => Service79,
|
|
26
|
+
make: () => make33,
|
|
27
|
+
node: () => node82
|
|
28
28
|
});
|
|
29
29
|
import { asc, eq, or } from "drizzle-orm";
|
|
30
30
|
import { Array, Cause, Clock, Context, Deferred, Effect, Exit, Layer, Schema, Scope, SynchronizedRef } from "effect";
|
|
@@ -40,7 +40,7 @@ var Background = Schema.Struct({
|
|
|
40
40
|
var decodeBackground = Schema.decodeUnknownResult(Background);
|
|
41
41
|
var COMPLETED_LIMIT = 25;
|
|
42
42
|
|
|
43
|
-
class
|
|
43
|
+
class Service79 extends Context.Service()("@opencode/Job") {
|
|
44
44
|
}
|
|
45
45
|
function snapshot(job) {
|
|
46
46
|
return {
|
|
@@ -98,7 +98,7 @@ function decrementSession(input, sessionID) {
|
|
|
98
98
|
next.set(sessionID, count - 1);
|
|
99
99
|
return next;
|
|
100
100
|
}
|
|
101
|
-
var
|
|
101
|
+
var make33 = Effect.gen(function* () {
|
|
102
102
|
const db = (yield* Service92).db;
|
|
103
103
|
const state = {
|
|
104
104
|
jobs: yield* SynchronizedRef.make(new Map),
|
|
@@ -392,7 +392,7 @@ var make29 = Effect.gen(function* () {
|
|
|
392
392
|
next.delete(entry[0]);
|
|
393
393
|
return next;
|
|
394
394
|
})));
|
|
395
|
-
return
|
|
395
|
+
return Service79.of({
|
|
396
396
|
get,
|
|
397
397
|
start,
|
|
398
398
|
wait,
|
|
@@ -403,11 +403,11 @@ var make29 = Effect.gen(function* () {
|
|
|
403
403
|
cancelSession,
|
|
404
404
|
pendingBackground,
|
|
405
405
|
runningBackground,
|
|
406
|
-
backgroundJobs:
|
|
406
|
+
backgroundJobs: read5(db, state.jobs),
|
|
407
407
|
completeBackground
|
|
408
408
|
});
|
|
409
409
|
});
|
|
410
|
-
var layer = Layer.effect(
|
|
411
|
-
var
|
|
410
|
+
var layer = Layer.effect(Service79, make33);
|
|
411
|
+
var node82 = makeGlobalNode({ service: Service79, layer, deps: [node95] });
|
|
412
412
|
|
|
413
|
-
export {
|
|
413
|
+
export { Service79, make33, node82, exports_job };
|
|
@@ -1,41 +1,41 @@
|
|
|
1
1
|
import {
|
|
2
2
|
useragent2
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./rpc-xyw0merk.js";
|
|
4
4
|
import {
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
} from "./
|
|
5
|
+
ID18,
|
|
6
|
+
Service83
|
|
7
|
+
} from "./rpc-e3fdrgr9.js";
|
|
8
8
|
import {
|
|
9
9
|
key3
|
|
10
|
-
} from "./
|
|
10
|
+
} from "./rpc-n320gsn2.js";
|
|
11
11
|
import {
|
|
12
12
|
MethodID2
|
|
13
|
-
} from "./
|
|
13
|
+
} from "./rpc-8ve3yefv.js";
|
|
14
14
|
import {
|
|
15
15
|
which2
|
|
16
|
-
} from "./
|
|
16
|
+
} from "./rpc-x4th4bpe.js";
|
|
17
17
|
import {
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
} from "./
|
|
18
|
+
ID15,
|
|
19
|
+
Service78
|
|
20
|
+
} from "./rpc-bfw7nf23.js";
|
|
21
21
|
import {
|
|
22
|
-
|
|
23
|
-
} from "./
|
|
22
|
+
ID14
|
|
23
|
+
} from "./rpc-905eah8s.js";
|
|
24
24
|
import {
|
|
25
25
|
interval2,
|
|
26
|
-
|
|
26
|
+
Service45,
|
|
27
27
|
fingerprint2
|
|
28
|
-
} from "./
|
|
28
|
+
} from "./rpc-xj9efrc3.js";
|
|
29
29
|
import {
|
|
30
30
|
configuredSettings2
|
|
31
|
-
} from "./
|
|
31
|
+
} from "./rpc-sm110pnw.js";
|
|
32
32
|
import {
|
|
33
33
|
onSwitch2,
|
|
34
34
|
switched2
|
|
35
|
-
} from "./
|
|
35
|
+
} from "./rpc-b1nbxbv8.js";
|
|
36
36
|
import {
|
|
37
37
|
activeCredential2
|
|
38
|
-
} from "./
|
|
38
|
+
} from "./rpc-sr3dnvks.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 make17(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(ID15.azure);
|
|
81
81
|
const processes = yield* AppProcess.Service;
|
|
82
|
-
const credentials = yield*
|
|
83
|
-
const providers = yield*
|
|
84
|
-
const cache = yield*
|
|
82
|
+
const credentials = yield* Service83;
|
|
83
|
+
const providers = yield* Service78;
|
|
84
|
+
const cache = yield* Service45;
|
|
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 make20(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: ID15.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: ID15.azure,
|
|
115
115
|
method: {
|
|
116
116
|
type: "key",
|
|
117
117
|
label: "API key",
|
|
@@ -129,7 +129,7 @@ function make20(endpoints = {
|
|
|
129
129
|
if (!available)
|
|
130
130
|
return;
|
|
131
131
|
editor.method.update({
|
|
132
|
-
integrationID:
|
|
132
|
+
integrationID: ID15.azure,
|
|
133
133
|
method: {
|
|
134
134
|
id: methodID,
|
|
135
135
|
type: "external",
|
|
@@ -149,8 +149,8 @@ function make20(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(ID15.azure);
|
|
153
|
+
const stored = connection?.type === "credential" ? yield* credentials.get(ID18.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 make20(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(ID15.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 make20(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(ID15.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(ID15.azure)?.models.keys() ?? [], (id) => [
|
|
227
227
|
id.toLowerCase(),
|
|
228
228
|
id
|
|
229
229
|
]));
|
|
@@ -236,7 +236,7 @@ function make20(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 === ID15.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 make20(endpoints = {
|
|
|
255
255
|
};
|
|
256
256
|
});
|
|
257
257
|
}
|
|
258
|
-
const item = evt.get(
|
|
258
|
+
const item = evt.get(ID15.azure);
|
|
259
259
|
if (!item)
|
|
260
260
|
return;
|
|
261
261
|
evt.add({
|
|
@@ -285,21 +285,21 @@ function make20(endpoints = {
|
|
|
285
285
|
}
|
|
286
286
|
if (!loaded.deployments)
|
|
287
287
|
return;
|
|
288
|
-
const catalog = models.list(
|
|
288
|
+
const catalog = models.list(ID15.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(ID15.azure, model.id);
|
|
293
293
|
}
|
|
294
294
|
for (const [id, model] of deployed) {
|
|
295
|
-
models.update(
|
|
295
|
+
models.update(ID15.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, ID15.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 make20(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: ID15.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 make20(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: ID15.azure });
|
|
328
328
|
})
|
|
329
329
|
});
|
|
330
330
|
}
|
|
331
|
-
var AzurePlugin2 =
|
|
331
|
+
var AzurePlugin2 = make17();
|
|
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 === ID15.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 = ID14.make(deployment.name.toLowerCase());
|
|
372
372
|
const info = {
|
|
373
373
|
...structuredClone(model),
|
|
374
374
|
id,
|
|
375
|
-
modelID:
|
|
375
|
+
modelID: ID14.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 { make17, AzurePlugin2 };
|