@opencode/core 0.0.0-dev-20834 → 0.0.0-dev-20835
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 +83 -83
- package/dist/aisdk-native.js +91 -91
- package/dist/aisdk.js +96 -96
- package/dist/app.js +9 -9
- package/dist/bus.js +75 -75
- package/dist/chunks/{file-retention-e5s30dd1.js → location-activity-0bpv01a3.js} +22 -22
- package/dist/chunks/{file-retention-hrn2e2cq.js → location-activity-0fhdb3xx.js} +7 -7
- package/dist/chunks/{file-retention-as9v0b3j.js → location-activity-0fhqjvtp.js} +26 -26
- package/dist/chunks/{file-retention-kzaa9j73.js → location-activity-0hxq9e10.js} +18 -18
- package/dist/chunks/{file-retention-gyatvtq5.js → location-activity-0jbqskd3.js} +15 -15
- package/dist/chunks/{file-retention-0paq2nw3.js → location-activity-0paq2nw3.js} +1 -1
- package/dist/chunks/{file-retention-0krxawfx.js → location-activity-0sakkys5.js} +10 -10
- package/dist/chunks/{file-retention-3xbdyzrb.js → location-activity-0t27fn54.js} +5 -5
- package/dist/chunks/{file-retention-0emb60td.js → location-activity-0vbcp93d.js} +2 -2
- package/dist/chunks/{file-retention-6ep6a5ed.js → location-activity-0vg95tq0.js} +9 -9
- package/dist/chunks/{file-retention-tcdqrpth.js → location-activity-0w75g736.js} +32 -32
- package/dist/chunks/{file-retention-90ppn450.js → location-activity-0wfcy4vf.js} +8 -8
- package/dist/chunks/{file-retention-6182wfyb.js → location-activity-107xbm1n.js} +22 -22
- package/dist/chunks/{file-retention-pyhbbpbt.js → location-activity-16t60v1z.js} +13 -13
- package/dist/chunks/{file-retention-xx5yc3y6.js → location-activity-17jf3cts.js} +6 -6
- package/dist/chunks/{file-retention-f2n192rq.js → location-activity-1acjjqhc.js} +4 -4
- package/dist/chunks/{file-retention-77sdyb01.js → location-activity-1jqhc2bs.js} +45 -45
- package/dist/chunks/{file-retention-62jgd0zs.js → location-activity-20hmd64t.js} +44 -44
- package/dist/chunks/{file-retention-narne4vj.js → location-activity-211erpne.js} +24 -24
- package/dist/chunks/{file-retention-zyg5mbp5.js → location-activity-25wgw40r.js} +19 -19
- package/dist/chunks/{file-retention-dqy2tp9k.js → location-activity-261n4zr1.js} +24 -24
- package/dist/chunks/{file-retention-t31977c4.js → location-activity-2cvamssp.js} +44 -44
- package/dist/chunks/{file-retention-1yd7h3h8.js → location-activity-2fqna6rb.js} +11 -11
- package/dist/chunks/{file-retention-rht56gq3.js → location-activity-2pt7gkd3.js} +22 -22
- package/dist/chunks/{file-retention-j2waf9cs.js → location-activity-2t46pfmr.js} +28 -28
- package/dist/chunks/{file-retention-vj2ecn42.js → location-activity-2v31f8c0.js} +17 -17
- package/dist/chunks/{file-retention-2vvh33eb.js → location-activity-2vvh33eb.js} +2 -2
- package/dist/chunks/{file-retention-xw1d7hen.js → location-activity-3688yw7h.js} +1 -1
- package/dist/chunks/{file-retention-xbmxr8cj.js → location-activity-3ddbdmce.js} +25 -25
- package/dist/chunks/{file-retention-3fc6dm20.js → location-activity-3fc6dm20.js} +1 -1
- package/dist/chunks/{file-retention-3hepkmqq.js → location-activity-3hepkmqq.js} +1 -1
- package/dist/chunks/{file-retention-3hwn7j4h.js → location-activity-3hwn7j4h.js} +2 -2
- package/dist/chunks/{file-retention-6wttv4yr.js → location-activity-3qw8qj80.js} +4 -4
- package/dist/chunks/{file-retention-3smtnn6g.js → location-activity-3smtnn6g.js} +1 -1
- package/dist/chunks/{file-retention-3tvqynh2.js → location-activity-3tvqynh2.js} +1 -1
- package/dist/chunks/{file-retention-b0qyykvd.js → location-activity-3wz00qr7.js} +11 -11
- package/dist/chunks/{file-retention-3zsf4n22.js → location-activity-3zsf4n22.js} +1 -1
- package/dist/chunks/{file-retention-adypwc73.js → location-activity-40xeq594.js} +13 -13
- package/dist/chunks/{file-retention-qfsp3spe.js → location-activity-41bt6j85.js} +6 -6
- package/dist/chunks/{file-retention-km2dy84g.js → location-activity-43xbvs7s.js} +23 -23
- package/dist/chunks/{file-retention-9c3np669.js → location-activity-4c8bw516.js} +8 -8
- package/dist/chunks/{file-retention-w9fhzwa2.js → location-activity-4jzaeymv.js} +16 -16
- package/dist/chunks/{file-retention-9bnen21x.js → location-activity-4r1368xg.js} +15 -15
- package/dist/chunks/{file-retention-4ts7tf6z.js → location-activity-4ts7tf6z.js} +2 -2
- package/dist/chunks/{file-retention-tx9w5tca.js → location-activity-4w5f3qm5.js} +8 -8
- package/dist/chunks/{file-retention-54ma36ye.js → location-activity-54ma36ye.js} +1 -1
- package/dist/chunks/{file-retention-d6jd5w6y.js → location-activity-55366mvw.js} +87 -87
- package/dist/chunks/{file-retention-k2cn82en.js → location-activity-5fkss4w2.js} +18 -18
- package/dist/chunks/{file-retention-d1eznf62.js → location-activity-5heqqy4s.js} +10 -10
- package/dist/chunks/{file-retention-5m9w47nd.js → location-activity-5m9w47nd.js} +1 -1
- package/dist/chunks/{file-retention-127b9nq3.js → location-activity-5pyjqqve.js} +2 -2
- package/dist/chunks/{file-retention-8xek67h3.js → location-activity-5t08t03r.js} +3 -3
- package/dist/chunks/{file-retention-f44pex6g.js → location-activity-5yyh0aax.js} +17 -17
- package/dist/chunks/{file-retention-8pe453er.js → location-activity-5z3gy5dg.js} +15 -15
- package/dist/chunks/{file-retention-fjdv25w0.js → location-activity-5zjh1t0x.js} +2 -2
- package/dist/chunks/location-activity-619r8v3y.js +18 -0
- package/dist/chunks/{file-retention-tt42txng.js → location-activity-6480h5ag.js} +30 -30
- package/dist/chunks/{file-retention-84tzk9gr.js → location-activity-64j4absa.js} +13 -13
- package/dist/chunks/{file-retention-s375a249.js → location-activity-69h1251q.js} +9 -9
- package/dist/chunks/{file-retention-ntdsb4sm.js → location-activity-6bheybkj.js} +72 -72
- package/dist/chunks/{file-retention-q36p9frd.js → location-activity-6mwebhck.js} +11 -11
- package/dist/chunks/{file-retention-rkprpv83.js → location-activity-6pc27hjz.js} +6 -6
- package/dist/chunks/{file-retention-r71rxd12.js → location-activity-6scz7evr.js} +9 -9
- package/dist/chunks/{file-retention-6xb47vfp.js → location-activity-6xb47vfp.js} +1 -1
- package/dist/chunks/{file-retention-zy2dfdqm.js → location-activity-75d9nah9.js} +17 -17
- package/dist/chunks/{file-retention-0baxf3qk.js → location-activity-7avcz6cb.js} +21 -21
- package/dist/chunks/{file-retention-7bmhse3q.js → location-activity-7bmhse3q.js} +1 -1
- package/dist/chunks/{file-retention-fcrkznn8.js → location-activity-7dqw4kz8.js} +5 -5
- package/dist/chunks/{file-retention-yef4zb9s.js → location-activity-7gpnr418.js} +5 -5
- package/dist/chunks/{file-retention-63m3gqfd.js → location-activity-7gwq6rpw.js} +11 -11
- package/dist/chunks/{file-retention-nq6b8sn7.js → location-activity-7xbmtryz.js} +7 -7
- package/dist/chunks/{file-retention-84txncab.js → location-activity-84txncab.js} +1 -1
- package/dist/chunks/{file-retention-b2jhwvsg.js → location-activity-85yanvy3.js} +11 -11
- package/dist/chunks/{file-retention-205764cr.js → location-activity-8k620dcc.js} +86 -86
- package/dist/chunks/{file-retention-8m6m0r52.js → location-activity-8m6m0r52.js} +1 -1
- package/dist/chunks/{file-retention-sxz6gkc3.js → location-activity-8rqycdgd.js} +4 -4
- package/dist/chunks/{file-retention-s63bptf5.js → location-activity-917zbaq1.js} +51 -51
- package/dist/chunks/{file-retention-j09zfasm.js → location-activity-91qna3x0.js} +3 -3
- package/dist/chunks/{file-retention-h896pcm5.js → location-activity-93ygb5af.js} +6 -6
- package/dist/chunks/{file-retention-cfswb10x.js → location-activity-94ebctrb.js} +7 -7
- package/dist/chunks/{file-retention-zsrhk7tm.js → location-activity-98kmy8hf.js} +5 -5
- package/dist/chunks/{file-retention-va0t4kz9.js → location-activity-9tr6azsv.js} +36 -36
- package/dist/chunks/{file-retention-dbznwjgv.js → location-activity-a1ygtan2.js} +13 -13
- package/dist/chunks/{file-retention-vf3hczs7.js → location-activity-a2v645ye.js} +11 -11
- package/dist/chunks/{file-retention-3wn4phez.js → location-activity-a4nq2jnm.js} +9 -9
- package/dist/chunks/{file-retention-hhbxcxzx.js → location-activity-aa14mw5x.js} +2 -2
- package/dist/chunks/{file-retention-db2wf4at.js → location-activity-addxnjmp.js} +4 -4
- package/dist/chunks/{file-retention-btgwfx7q.js → location-activity-aremb3kc.js} +15 -15
- package/dist/chunks/{file-retention-mht6fzqr.js → location-activity-as4n98vg.js} +6 -6
- package/dist/chunks/{file-retention-afyx3ry4.js → location-activity-b381zvq1.js} +10 -10
- package/dist/chunks/location-activity-b714ca5k.js +513 -0
- package/dist/chunks/{file-retention-m2xv92hs.js → location-activity-bc8ymejb.js} +31 -31
- package/dist/chunks/{file-retention-xfasz2x5.js → location-activity-bd9zj7cb.js} +20 -20
- package/dist/chunks/{file-retention-zn5v3n4q.js → location-activity-bdm4x938.js} +9 -9
- package/dist/chunks/{file-retention-p8x5jtpv.js → location-activity-bfegkxfd.js} +8 -8
- package/dist/chunks/{file-retention-a642qhrr.js → location-activity-bm2kwe3g.js} +22 -22
- package/dist/chunks/{file-retention-txm3e8qz.js → location-activity-bmr56wjg.js} +4 -4
- package/dist/chunks/{file-retention-19ezngz8.js → location-activity-bsprd9wx.js} +3 -3
- package/dist/chunks/{file-retention-es1vcfrp.js → location-activity-c1fqxshp.js} +3 -3
- package/dist/chunks/{file-retention-8cnt8pfy.js → location-activity-c571cpjd.js} +13 -13
- package/dist/chunks/{file-retention-r0me9bt4.js → location-activity-cf9eqgw2.js} +20 -20
- package/dist/chunks/{file-retention-yb9nt5p7.js → location-activity-chrvkcm9.js} +40 -40
- package/dist/chunks/{file-retention-rc1szs54.js → location-activity-ckkh5zvs.js} +6 -6
- package/dist/chunks/{file-retention-488qxk2j.js → location-activity-cq58txzn.js} +4 -4
- package/dist/chunks/{file-retention-jsnqh7m7.js → location-activity-cr0xgb5b.js} +26 -26
- package/dist/chunks/{file-retention-p2htxkwn.js → location-activity-cvrsg519.js} +46 -46
- package/dist/chunks/{file-retention-k4er45wq.js → location-activity-cvwdtye4.js} +28 -28
- package/dist/chunks/{file-retention-mxrk3mt9.js → location-activity-d1g6wne4.js} +25 -25
- package/dist/chunks/{file-retention-87bt86w6.js → location-activity-d4edb55n.js} +22 -22
- package/dist/chunks/{file-retention-n986wkj7.js → location-activity-d7cjjrwe.js} +20 -20
- package/dist/chunks/{file-retention-2rjtfhxz.js → location-activity-d7q42kmc.js} +5 -5
- package/dist/chunks/{file-retention-0y7gj0ff.js → location-activity-ddh34mr5.js} +19 -19
- package/dist/chunks/{file-retention-8m2djmtw.js → location-activity-dg9hqh39.js} +29 -29
- package/dist/chunks/{file-retention-ttrrbgy7.js → location-activity-dph2eebx.js} +18 -18
- package/dist/chunks/{file-retention-drwq78ky.js → location-activity-drwq78ky.js} +1 -1
- package/dist/chunks/{file-retention-er2gc1eb.js → location-activity-dssbfrwz.js} +5 -5
- package/dist/chunks/{file-retention-4jreprph.js → location-activity-dwxh89b6.js} +11 -11
- package/dist/chunks/{file-retention-n23r96zb.js → location-activity-e0rr9zvb.js} +20 -20
- package/dist/chunks/{file-retention-6y85s76z.js → location-activity-e0ymyydj.js} +54 -54
- package/dist/chunks/{file-retention-4a03djxh.js → location-activity-e9ktkmjr.js} +24 -24
- package/dist/chunks/{file-retention-9b8znkve.js → location-activity-ea42s20z.js} +48 -48
- package/dist/chunks/{file-retention-c7zza6wf.js → location-activity-ed1g29hy.js} +3 -3
- package/dist/chunks/{file-retention-eej6y6fw.js → location-activity-eej6y6fw.js} +2 -2
- package/dist/chunks/{file-retention-ef5x83kb.js → location-activity-ef5x83kb.js} +1 -1
- package/dist/chunks/{file-retention-kztp5bb7.js → location-activity-f3c6bb94.js} +18 -18
- package/dist/chunks/{file-retention-a7am0sdb.js → location-activity-f4hgzc1y.js} +50 -50
- package/dist/chunks/location-activity-f6vfmgeq.js +253 -0
- package/dist/chunks/{file-retention-8gxqpgph.js → location-activity-f73rjn58.js} +4 -4
- package/dist/chunks/{file-retention-yn1bbvnp.js → location-activity-fd3s9a8r.js} +11 -11
- package/dist/chunks/{file-retention-et7d9hth.js → location-activity-feyr08zj.js} +8 -8
- package/dist/chunks/{file-retention-78e2w1qk.js → location-activity-fj05hf65.js} +4 -4
- package/dist/chunks/{file-retention-ywy11t7c.js → location-activity-fj8a2x8b.js} +28 -28
- package/dist/chunks/{file-retention-gv3w2mnf.js → location-activity-fkdbhykb.js} +16 -16
- package/dist/chunks/{file-retention-3fyz7qaw.js → location-activity-fqdebhqj.js} +26 -26
- package/dist/chunks/{file-retention-a5z0m542.js → location-activity-fqskbjpv.js} +12 -12
- package/dist/chunks/{file-retention-rey5gbxv.js → location-activity-ft3hqk2c.js} +9 -9
- package/dist/chunks/{file-retention-2rh0r89e.js → location-activity-fz5nq1nt.js} +10 -10
- package/dist/chunks/{file-retention-dzpmeesh.js → location-activity-g8atgw3j.js} +6 -6
- package/dist/chunks/{file-retention-3b1zfvjw.js → location-activity-gc77fayf.js} +15 -15
- package/dist/chunks/{file-retention-gd4qta3r.js → location-activity-gd4qta3r.js} +1 -1
- package/dist/chunks/{file-retention-gk8qb678.js → location-activity-gk8qb678.js} +1 -1
- package/dist/chunks/{file-retention-8w0wb2m0.js → location-activity-gmtxa2vr.js} +3 -3
- package/dist/chunks/{file-retention-cc4mce2f.js → location-activity-h1m7a8ke.js} +11 -11
- package/dist/chunks/{file-retention-h6vf3j39.js → location-activity-h6vf3j39.js} +1 -1
- package/dist/chunks/{file-retention-h7s7r6s9.js → location-activity-h7s7r6s9.js} +2 -2
- package/dist/chunks/{file-retention-b3f8fkhc.js → location-activity-hdkng2sj.js} +5 -5
- package/dist/chunks/{file-retention-xt4njr3s.js → location-activity-he27pt63.js} +1 -1
- package/dist/chunks/{file-retention-ek2cpxs9.js → location-activity-hf1zadbg.js} +45 -45
- package/dist/chunks/{file-retention-hgz4x7wa.js → location-activity-hgz4x7wa.js} +1 -1
- package/dist/chunks/{file-retention-bndcmk4h.js → location-activity-ht7k4bvf.js} +9 -9
- package/dist/chunks/{file-retention-j56e64zr.js → location-activity-j56e64zr.js} +1 -1
- package/dist/chunks/{file-retention-rqkhqp7e.js → location-activity-j6aev9ap.js} +50 -50
- package/dist/chunks/{file-retention-zabh3f4w.js → location-activity-ja1zx074.js} +16 -16
- package/dist/chunks/{file-retention-4fdqsqvt.js → location-activity-jcng4951.js} +14 -14
- package/dist/chunks/{file-retention-phy95ygf.js → location-activity-jgfx14b2.js} +182 -182
- package/dist/chunks/{file-retention-h2z4rg15.js → location-activity-jhdf630s.js} +17 -17
- package/dist/chunks/{file-retention-gpetme3g.js → location-activity-jjrpv01y.js} +16 -16
- package/dist/chunks/{file-retention-rryv107s.js → location-activity-jt2v5cvj.js} +25 -25
- package/dist/chunks/{file-retention-x2ptdt6d.js → location-activity-k0hddavv.js} +11 -11
- package/dist/chunks/{file-retention-q32ypgm9.js → location-activity-k0w1apbg.js} +5 -5
- package/dist/chunks/{file-retention-4422vz2f.js → location-activity-k9x8y7ha.js} +8 -8
- package/dist/chunks/{file-retention-pnpsbpqe.js → location-activity-kg8sjy89.js} +35 -35
- package/dist/chunks/{file-retention-hq3c8me3.js → location-activity-khmqacep.js} +4 -4
- package/dist/chunks/{file-retention-2f3b0eee.js → location-activity-kwhjw5x0.js} +3 -3
- package/dist/chunks/{file-retention-pxtk0cfj.js → location-activity-kwnn4fd0.js} +33 -33
- package/dist/chunks/{file-retention-reqhyh1n.js → location-activity-m937bs3x.js} +12 -12
- package/dist/chunks/{file-retention-6cxpbzdr.js → location-activity-m9egwdp7.js} +18 -18
- package/dist/chunks/{file-retention-m9w0rfyh.js → location-activity-m9w0rfyh.js} +1 -1
- package/dist/chunks/{file-retention-kfmd4715.js → location-activity-mgxszptk.js} +15 -15
- package/dist/chunks/{file-retention-1zbxw6g6.js → location-activity-mr9p3z9j.js} +41 -41
- package/dist/chunks/{file-retention-m8szg13e.js → location-activity-myg896ra.js} +14 -14
- package/dist/chunks/{file-retention-ad1yxw88.js → location-activity-n8z21gwa.js} +35 -35
- package/dist/chunks/{file-retention-ha18z2nf.js → location-activity-nfq7baga.js} +3 -3
- package/dist/chunks/{file-retention-szpchd2k.js → location-activity-nh17g3rm.js} +32 -32
- package/dist/chunks/{file-retention-kc2kdpx6.js → location-activity-nh8kg0c8.js} +5 -5
- package/dist/chunks/{file-retention-dm4q1yny.js → location-activity-nkjpdmpp.js} +10 -10
- package/dist/chunks/{file-retention-2p4kjt8q.js → location-activity-nsnx7tmr.js} +34 -34
- package/dist/chunks/{file-retention-eb1jdc1h.js → location-activity-nxy7gnbh.js} +9 -9
- package/dist/chunks/{file-retention-3y6bymm2.js → location-activity-p95nxn18.js} +26 -26
- package/dist/chunks/{file-retention-9nsgat1s.js → location-activity-pc2e4npa.js} +33 -33
- package/dist/chunks/{file-retention-jjwt9gb5.js → location-activity-phz50fbd.js} +9 -9
- package/dist/chunks/{file-retention-pjvnvgmy.js → location-activity-pjvnvgmy.js} +1 -1
- package/dist/chunks/{file-retention-9nq7gfm0.js → location-activity-pjvsmsvn.js} +11 -11
- package/dist/chunks/{file-retention-pknna89w.js → location-activity-pknna89w.js} +1 -1
- package/dist/chunks/{file-retention-0xszypc3.js → location-activity-pv3gjjbd.js} +13 -13
- package/dist/chunks/{file-retention-9e1ngwx3.js → location-activity-pwndcth2.js} +23 -23
- package/dist/chunks/{file-retention-74qahwj1.js → location-activity-px88ptdx.js} +3 -3
- package/dist/chunks/{file-retention-g23n40bc.js → location-activity-pyep6me2.js} +22 -22
- package/dist/chunks/{file-retention-8wc8e1vx.js → location-activity-pyn1zfmb.js} +22 -22
- package/dist/chunks/{file-retention-q0xm7vwc.js → location-activity-q0xm7vwc.js} +2 -2
- package/dist/chunks/{file-retention-f3v9xntj.js → location-activity-qf6fybpb.js} +47 -47
- package/dist/chunks/location-activity-qgkd9myd.js +26 -0
- package/dist/chunks/{file-retention-qnc92qwc.js → location-activity-qnc92qwc.js} +1 -1
- package/dist/chunks/{file-retention-qsdy395h.js → location-activity-qsdy395h.js} +1 -1
- package/dist/chunks/{file-retention-w3mhtfan.js → location-activity-qsq5yg5s.js} +14 -14
- package/dist/chunks/{file-retention-ybh1hh3b.js → location-activity-qterzby5.js} +22 -22
- package/dist/chunks/{file-retention-8g6zh8va.js → location-activity-r2hhppsq.js} +26 -26
- package/dist/chunks/{file-retention-510j0jrr.js → location-activity-r8ab3zgt.js} +16 -16
- package/dist/chunks/{file-retention-rdw6cm16.js → location-activity-rdw6cm16.js} +1 -1
- package/dist/chunks/{file-retention-tkb22qbm.js → location-activity-rert0e01.js} +2 -2
- package/dist/chunks/{file-retention-c41wscbt.js → location-activity-rj3eygr5.js} +2 -2
- package/dist/chunks/{file-retention-ws8esjg0.js → location-activity-rkaemhq9.js} +4 -4
- package/dist/chunks/{file-retention-0pfse9yr.js → location-activity-rm0f3jge.js} +9 -9
- package/dist/chunks/{file-retention-6vjbkxrh.js → location-activity-rpre2awy.js} +38 -38
- package/dist/chunks/{file-retention-f9799dk3.js → location-activity-rx8j7z4z.js} +36 -36
- package/dist/chunks/{file-retention-c6j0b0f3.js → location-activity-s57pxskk.js} +4 -4
- package/dist/chunks/{file-retention-anv3t5st.js → location-activity-s7ke7ywc.js} +35 -35
- package/dist/chunks/{file-retention-eaj1djv9.js → location-activity-s8d7rejh.js} +6 -6
- package/dist/chunks/{file-retention-c8ax2afj.js → location-activity-sa8ekw3f.js} +2 -2
- package/dist/chunks/{file-retention-kntvvv3m.js → location-activity-savrrhdf.js} +9 -9
- package/dist/chunks/{file-retention-bg39yvwa.js → location-activity-snjqe27j.js} +24 -24
- package/dist/chunks/{file-retention-fvatpktr.js → location-activity-snr1zsgg.js} +22 -22
- package/dist/chunks/{file-retention-syv4x271.js → location-activity-syv4x271.js} +1 -1
- package/dist/chunks/{file-retention-c8dwxvt7.js → location-activity-szg5bg6z.js} +21 -21
- package/dist/chunks/{file-retention-gbc5vfb0.js → location-activity-t0ertjcg.js} +21 -21
- package/dist/chunks/{file-retention-4b41py0a.js → location-activity-t1k1tc2r.js} +11 -11
- package/dist/chunks/{file-retention-nc3f3641.js → location-activity-t5tnqy8n.js} +12 -12
- package/dist/chunks/{file-retention-tazgh4e4.js → location-activity-tazgh4e4.js} +1 -1
- package/dist/chunks/{file-retention-tcezcvh9.js → location-activity-tcezcvh9.js} +1 -1
- package/dist/chunks/{file-retention-tdstcens.js → location-activity-tdstcens.js} +1 -1
- package/dist/chunks/{file-retention-m5pjbwfj.js → location-activity-tg0dsrkj.js} +21 -21
- package/dist/chunks/{file-retention-3hfr6h8q.js → location-activity-tpw6cwsb.js} +4 -4
- package/dist/chunks/{file-retention-c0mdwdcy.js → location-activity-ts976m95.js} +40 -40
- package/dist/chunks/{file-retention-tb55w3zn.js → location-activity-twerkbx7.js} +4 -4
- package/dist/chunks/{file-retention-tyytaxap.js → location-activity-tyytaxap.js} +1 -1
- package/dist/chunks/{file-retention-pg7ds6pa.js → location-activity-v0es1rhs.js} +9 -9
- package/dist/chunks/{file-retention-j5vdk2nm.js → location-activity-v0tt8xc9.js} +18 -18
- package/dist/chunks/{file-retention-nr1jsxbb.js → location-activity-v3q72hwj.js} +12 -12
- package/dist/chunks/{file-retention-gazvg4k1.js → location-activity-v4ctcf3m.js} +20 -20
- package/dist/chunks/{file-retention-v7p4zvkq.js → location-activity-v7p4zvkq.js} +2 -2
- package/dist/chunks/{file-retention-cwt22yzj.js → location-activity-vb1vqc15.js} +4 -4
- package/dist/chunks/{file-retention-4z1qw0cm.js → location-activity-vckavtqm.js} +32 -32
- package/dist/chunks/{file-retention-veqvce7d.js → location-activity-veqvce7d.js} +1 -1
- package/dist/chunks/{file-retention-d0j74p3h.js → location-activity-vq5qtrwm.js} +4 -4
- package/dist/chunks/{file-retention-mtpeagzc.js → location-activity-vx3jgdek.js} +3 -3
- package/dist/chunks/{file-retention-vzs5sf6e.js → location-activity-vzs5sf6e.js} +1 -1
- package/dist/chunks/{file-retention-w3wsvvr9.js → location-activity-w3wsvvr9.js} +1 -1
- package/dist/chunks/{file-retention-gkmqvhxg.js → location-activity-w9nahjj4.js} +5 -5
- package/dist/chunks/{file-retention-f2x01zrg.js → location-activity-wcjav1n5.js} +24 -24
- package/dist/chunks/{file-retention-wd87259q.js → location-activity-wd87259q.js} +1 -1
- package/dist/chunks/{file-retention-3ewed21c.js → location-activity-wj76ss2k.js} +4 -4
- package/dist/chunks/{file-retention-x2aynqqh.js → location-activity-wk5z6jzv.js} +8 -8
- package/dist/chunks/{file-retention-v6p1va2s.js → location-activity-wk7c2rzy.js} +11 -11
- package/dist/chunks/{file-retention-cw0z4tmd.js → location-activity-wn5wwtyj.js} +32 -32
- package/dist/chunks/{file-retention-a3qgxz2n.js → location-activity-wp045ty0.js} +3 -3
- package/dist/chunks/{file-retention-rcf5ber5.js → location-activity-wsbn7g0b.js} +19 -19
- package/dist/chunks/{file-retention-bb8g0qdm.js → location-activity-wt3z3wqp.js} +16 -16
- package/dist/chunks/{file-retention-y5rf7nzv.js → location-activity-x3gqap9d.js} +4 -4
- package/dist/chunks/{file-retention-4g2ckqh5.js → location-activity-xc2g5w7m.js} +30 -30
- package/dist/chunks/{file-retention-09zggdyt.js → location-activity-xc7sp7m2.js} +15 -15
- package/dist/chunks/{file-retention-wp65gj9n.js → location-activity-xjp2rtnz.js} +24 -24
- package/dist/chunks/{file-retention-1d0a00dk.js → location-activity-xmf2pq7t.js} +11 -11
- package/dist/chunks/{file-retention-5kxw9wf8.js → location-activity-xmf51ers.js} +21 -21
- package/dist/chunks/{file-retention-ee9sbmyj.js → location-activity-xmsg46wc.js} +2 -2
- package/dist/chunks/{file-retention-mtpnd04z.js → location-activity-xn5jv5s2.js} +13 -13
- package/dist/chunks/{file-retention-as6yw527.js → location-activity-xrtxzryn.js} +29 -29
- package/dist/chunks/{file-retention-fg6588f2.js → location-activity-xsemeaca.js} +11 -11
- package/dist/chunks/{file-retention-899g5tqj.js → location-activity-xx9npm2e.js} +5 -5
- package/dist/chunks/{file-retention-sz2s795h.js → location-activity-y08ebe9d.js} +20 -20
- package/dist/chunks/{file-retention-y1fvbwt7.js → location-activity-y1fvbwt7.js} +1 -1
- package/dist/chunks/{file-retention-y71avatq.js → location-activity-y71avatq.js} +1 -1
- package/dist/chunks/{file-retention-fkdqe6sr.js → location-activity-y88c22bj.js} +4 -4
- package/dist/chunks/{file-retention-x39hqzbj.js → location-activity-yaafn18p.js} +8 -8
- package/dist/chunks/{file-retention-kktyxbes.js → location-activity-yb4j2qbe.js} +33 -33
- package/dist/chunks/{file-retention-s7nv2rwz.js → location-activity-ygdna4kr.js} +5 -5
- package/dist/chunks/{file-retention-fz2zj4hf.js → location-activity-yrfsdxcq.js} +14 -14
- package/dist/chunks/{file-retention-rmpaafn0.js → location-activity-yt5kgk1r.js} +3 -3
- package/dist/chunks/{file-retention-ywt8jp22.js → location-activity-ywt8jp22.js} +2 -2
- package/dist/chunks/{file-retention-z0bkrqjs.js → location-activity-z0bkrqjs.js} +1 -1
- package/dist/chunks/{file-retention-71j5xc97.js → location-activity-za4q1fm7.js} +1 -1
- package/dist/chunks/{file-retention-pf36ngag.js → location-activity-zhzn9e0f.js} +35 -35
- package/dist/chunks/{file-retention-35ng7dkh.js → location-activity-zk8c4w5t.js} +5 -5
- package/dist/chunks/{file-retention-p958k833.js → location-activity-zn3zdrms.js} +15 -15
- package/dist/chunks/{file-retention-zr2ceqn5.js → location-activity-zr2ceqn5.js} +1 -1
- package/dist/chunks/{file-retention-1t8nbnc8.js → location-activity-zsevkpc6.js} +9 -9
- package/dist/chunks/{file-retention-4j4tgtq5.js → location-activity-zsr4wwhv.js} +4 -4
- package/dist/chunks/{file-retention-51bjw4cg.js → location-activity-zw6m2k70.js} +5 -5
- package/dist/chunks/{file-retention-zxq2ej10.js → location-activity-zxq2ej10.js} +1 -1
- package/dist/codemode/catalog.js +1 -1
- package/dist/codemode/instructions.js +5 -5
- package/dist/codemode/tool.js +3 -3
- package/dist/codemode/web.js +1 -1
- package/dist/command.js +83 -83
- package/dist/config/discovery.js +84 -84
- package/dist/config/markdown.js +1 -1
- package/dist/config/normalize.js +101 -101
- package/dist/config/plugin/agent.js +118 -118
- package/dist/config/plugin/command.js +207 -207
- package/dist/config/plugin/compaction.js +156 -156
- package/dist/config/plugin/compatibility.js +136 -136
- package/dist/config/plugin/entry-observer.js +1 -1
- package/dist/config/plugin/formatter.js +119 -119
- package/dist/config/plugin/image.js +118 -118
- package/dist/config/plugin/instruction.js +92 -92
- package/dist/config/plugin/location-watcher.js +118 -118
- package/dist/config/plugin/mcp.js +125 -125
- package/dist/config/plugin/policy.js +119 -119
- package/dist/config/plugin/provider.js +118 -118
- package/dist/config/plugin/reference.js +120 -120
- package/dist/config/plugin/shell.js +120 -120
- package/dist/config/plugin/skill-file.js +104 -104
- package/dist/config/plugin/skill.js +139 -139
- package/dist/config/plugin/snapshot.js +118 -118
- package/dist/config/plugin/source.js +119 -119
- package/dist/config/plugin/tool-output.js +119 -119
- package/dist/config/plugin/websearch.js +119 -119
- package/dist/config/plugin/worktree.js +120 -120
- package/dist/config/variable.js +3 -3
- package/dist/config/watch.js +1 -1
- package/dist/config.js +121 -121
- package/dist/credential/sql.js +2 -2
- package/dist/credential.js +87 -87
- package/dist/database/database.js +72 -72
- 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.gen.js +51 -51
- package/dist/database/migration.js +53 -53
- package/dist/database/path.js +2 -2
- package/dist/database/schema.gen.js +1 -1
- package/dist/database/schema.sql.js +1 -1
- package/dist/database/sqlite.bun.js +1 -1
- package/dist/database/sqlite.js +1 -1
- package/dist/database/sqlite.node.js +1 -1
- package/dist/database/sqlite.workerd.js +1 -1
- package/dist/database/v1-migration.bun.js +81 -81
- package/dist/database/v1-migration.js +1 -1
- package/dist/effect/app-node-builder.js +363 -363
- 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 +95 -95
- package/dist/environment/exec-defaults.js +2 -2
- package/dist/environment/files.js +1 -1
- package/dist/environment/index.js +95 -95
- package/dist/environment/local.js +2 -2
- package/dist/environment/memory.js +2 -2
- package/dist/environment/unavailable.js +3 -3
- package/dist/event/sql.js +1 -1
- package/dist/event-logger.js +76 -76
- package/dist/file-access.js +106 -106
- package/dist/file-mutation.js +96 -96
- package/dist/file-retention.js +1 -1
- package/dist/filesystem/fff.bun.js +2 -2
- package/dist/filesystem/fff.js +1 -1
- package/dist/filesystem/fff.node.js +2 -2
- package/dist/filesystem/fff.workerd.js +2 -2
- package/dist/filesystem/location-watcher-policy.js +6 -6
- package/dist/filesystem/location-watcher.js +220 -220
- package/dist/filesystem/protected.js +1 -1
- package/dist/filesystem/search.js +105 -105
- package/dist/filesystem/watcher-binding.js +1 -1
- package/dist/filesystem/watcher.js +15 -15
- package/dist/filesystem.js +104 -104
- package/dist/form.js +84 -84
- package/dist/formatter/builtins.js +4 -4
- package/dist/formatter.js +89 -89
- package/dist/generate.js +107 -107
- package/dist/git.js +10 -10
- 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 +101 -101
- 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/photon.js +2 -2
- package/dist/image.js +6 -6
- package/dist/instance/service.js +5 -5
- package/dist/instance.js +359 -359
- package/dist/instruction-discovery.js +81 -81
- package/dist/instructions/builtins.js +89 -89
- package/dist/instructions/index.js +3 -3
- package/dist/integration/connection.js +3 -3
- package/dist/integration.js +89 -89
- package/dist/job.js +80 -80
- package/dist/kv/sql.js +2 -2
- package/dist/kv.js +75 -75
- package/dist/location-activity.js +133 -133
- package/dist/location-lifecycle.js +109 -109
- package/dist/location-service-map.js +84 -84
- package/dist/location-services.js +356 -356
- package/dist/location.js +89 -89
- package/dist/managed-policy.js +8 -8
- package/dist/mcp/client.js +93 -93
- package/dist/mcp/index.js +105 -105
- package/dist/mcp/instructions.js +129 -129
- package/dist/mcp/oauth.js +80 -80
- package/dist/mcp/stdio.js +92 -92
- package/dist/mime.js +1 -1
- package/dist/modal/models.js +101 -101
- package/dist/model-resolver.js +100 -100
- package/dist/model.js +102 -102
- package/dist/models-dev.js +107 -107
- package/dist/oauth/page.js +1 -1
- package/dist/permission/saved.js +84 -84
- package/dist/permission/sql.js +5 -5
- package/dist/permission.js +111 -111
- package/dist/persistent-pty/binary.bun.js +1 -1
- package/dist/persistent-pty/daemon.js +1 -1
- package/dist/persistent-pty/index.js +84 -84
- package/dist/persistent-pty/pty-binding.js +1 -1
- package/dist/persistent-pty.js +77 -77
- package/dist/plugin/agent.js +76 -76
- package/dist/plugin/command.js +102 -102
- package/dist/plugin/hooks.js +5 -5
- package/dist/plugin/host.js +213 -213
- package/dist/plugin/identity.js +3 -3
- package/dist/plugin/instance.js +3 -3
- package/dist/plugin/internal.js +331 -331
- package/dist/plugin/mcp-codemode-defaults.js +3 -3
- package/dist/plugin/models-dev.js +98 -98
- package/dist/plugin/module.js +119 -119
- package/dist/plugin/optimize.js +4 -4
- package/dist/plugin/plan.js +102 -102
- package/dist/plugin/promise.js +1 -1
- package/dist/plugin/provider/amazon-bedrock.js +92 -92
- package/dist/plugin/provider/azure.js +119 -119
- package/dist/plugin/provider/cerebras.js +1 -1
- package/dist/plugin/provider/chatgpt.js +96 -96
- package/dist/plugin/provider/cloudflare-ai-gateway.js +115 -115
- package/dist/plugin/provider/cloudflare-workers-ai.js +116 -116
- package/dist/plugin/provider/cohere.js +2 -2
- package/dist/plugin/provider/configured.js +114 -114
- package/dist/plugin/provider/databricks.js +1 -1
- package/dist/plugin/provider/digitalocean.js +95 -95
- package/dist/plugin/provider/dynamic.js +2 -2
- package/dist/plugin/provider/factory.js +1 -1
- package/dist/plugin/provider/github-copilot.js +97 -97
- package/dist/plugin/provider/gitlab.js +95 -95
- package/dist/plugin/provider/google-vertex.js +115 -115
- package/dist/plugin/provider/kilo.js +1 -1
- package/dist/plugin/provider/llmgateway.js +80 -80
- package/dist/plugin/provider/lmstudio.js +127 -127
- package/dist/plugin/provider/local.js +124 -124
- package/dist/plugin/provider/modal.js +94 -94
- package/dist/plugin/provider/neon.js +1 -1
- package/dist/plugin/provider/nvidia.js +1 -1
- package/dist/plugin/provider/ollama.js +127 -127
- package/dist/plugin/provider/openai.js +97 -97
- package/dist/plugin/provider/opencode.js +99 -99
- package/dist/plugin/provider/openrouter.js +93 -93
- package/dist/plugin/provider/perplexity.js +2 -2
- package/dist/plugin/provider/poe.js +81 -81
- package/dist/plugin/provider/prompt-cache-key.js +92 -92
- package/dist/plugin/provider/sap-ai-core.js +93 -93
- package/dist/plugin/provider/sdk-factory.js +1 -1
- package/dist/plugin/provider/snowflake-cortex.js +117 -117
- package/dist/plugin/provider/vercel.js +92 -92
- package/dist/plugin/provider/vllm.js +127 -127
- package/dist/plugin/provider/xai.js +93 -93
- package/dist/plugin/provider/zenmux.js +1 -1
- package/dist/plugin/provider.js +169 -169
- package/dist/plugin/sdk.js +76 -76
- package/dist/plugin/service.js +3 -3
- package/dist/plugin/skill.js +134 -134
- package/dist/plugin/source-directory.js +1 -1
- package/dist/plugin/supervisor.js +350 -350
- package/dist/plugin/tool-input-repair.js +4 -4
- package/dist/plugin/update.js +4 -4
- package/dist/plugin/vcs/git.js +88 -88
- package/dist/plugin/vcs/hg.js +88 -88
- package/dist/plugin/verbosity.js +95 -95
- package/dist/plugin/warming.js +116 -116
- package/dist/plugin/websearch/exa.js +5 -5
- package/dist/plugin/websearch/firecrawl.js +8 -8
- package/dist/plugin/websearch/index.js +9 -9
- package/dist/plugin/websearch/mcp.js +2 -2
- package/dist/plugin/websearch/parallel.js +8 -8
- package/dist/plugin/websearch/tavily.js +4 -4
- package/dist/plugin/websearch/tinyfish.js +8 -8
- package/dist/plugin.js +218 -218
- package/dist/project/schema.js +8 -8
- package/dist/project/sql.js +4 -4
- package/dist/project.js +92 -92
- package/dist/provider.js +103 -103
- package/dist/pty/protocol.js +1 -1
- package/dist/pty/ticket.js +1 -1
- package/dist/pty.js +95 -95
- package/dist/reference/instructions.js +89 -89
- package/dist/reference.js +89 -89
- package/dist/repository-cache.js +83 -83
- package/dist/repository.js +1 -1
- package/dist/ripgrep/binary.js +2 -2
- package/dist/ripgrep.js +97 -97
- package/dist/rpc.js +84 -84
- package/dist/schema.js +1 -1
- package/dist/session/affinity.js +1 -1
- package/dist/session/command.js +76 -76
- package/dist/session/compaction.js +133 -133
- package/dist/session/context.js +155 -155
- package/dist/session/diff.js +90 -90
- package/dist/session/environment.js +5 -5
- package/dist/session/error.js +3 -3
- package/dist/session/event.js +1 -1
- package/dist/session/execution/restart.js +219 -219
- package/dist/session/execution.js +127 -127
- package/dist/session/generate.js +156 -156
- package/dist/session/history.js +13 -13
- package/dist/session/inbox.js +90 -90
- package/dist/session/info.js +3 -3
- package/dist/session/instruction-entry.js +79 -79
- package/dist/session/instruction-state.js +8 -8
- package/dist/session/instructions.js +99 -99
- package/dist/session/message-updater.js +2 -2
- package/dist/session/message.js +1 -1
- package/dist/session/model-request.js +120 -120
- package/dist/session/model-transport.js +7 -7
- package/dist/session/move.js +131 -131
- package/dist/session/projector.js +88 -88
- package/dist/session/prompt.js +107 -107
- package/dist/session/provider-context.js +3 -3
- package/dist/session/revert.js +92 -92
- package/dist/session/run-coordinator.js +3 -3
- package/dist/session/runner/index.js +3 -3
- package/dist/session/runner/llm.js +226 -226
- package/dist/session/runner/max-steps.js +1 -1
- package/dist/session/runner/model.js +100 -100
- package/dist/session/runner/publish-llm-event.js +115 -115
- package/dist/session/runner/retry.js +4 -4
- package/dist/session/runner/step.js +127 -127
- package/dist/session/runner/to-llm-message.js +2 -2
- package/dist/session/schema.js +5 -5
- package/dist/session/session.js +164 -164
- package/dist/session/shell.js +132 -132
- package/dist/session/skill.js +105 -105
- package/dist/session/sql.js +5 -5
- package/dist/session/stats.js +77 -77
- package/dist/session/store.js +89 -89
- package/dist/session/subagent-completion.js +1 -1
- package/dist/session/subagent-job.js +207 -207
- package/dist/session/system-prompt.js +1 -1
- package/dist/session/title.js +159 -159
- package/dist/session/to-session-error.js +113 -113
- package/dist/session/transfer.js +218 -218
- package/dist/session/usage.js +1 -1
- package/dist/session.js +209 -209
- 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 +132 -132
- package/dist/skill/discovery.js +6 -6
- package/dist/skill/instructions.js +109 -109
- package/dist/skill.js +112 -112
- package/dist/snapshot.js +91 -91
- package/dist/state.js +1 -1
- package/dist/tool/html-markdown.js +1 -1
- package/dist/tool/http-body.js +1 -1
- package/dist/tool/mcp.js +128 -128
- package/dist/tool/plugin/edit.js +120 -120
- package/dist/tool/plugin/file-diff.js +1 -1
- package/dist/tool/plugin/glob.js +122 -122
- package/dist/tool/plugin/grep.js +126 -126
- package/dist/tool/plugin/mcp-resource.js +119 -119
- package/dist/tool/plugin/opencode.js +111 -111
- package/dist/tool/plugin/patch.js +124 -124
- package/dist/tool/plugin/question.js +105 -105
- package/dist/tool/plugin/read.js +125 -125
- package/dist/tool/plugin/shell.js +212 -212
- package/dist/tool/plugin/skill.js +107 -107
- package/dist/tool/plugin/subagent.js +214 -214
- package/dist/tool/plugin/webfetch.js +112 -112
- package/dist/tool/plugin/websearch.js +110 -110
- package/dist/tool/plugin/write.js +124 -124
- package/dist/tool/read-filesystem.js +102 -102
- package/dist/tool/runtime.js +1 -1
- package/dist/tool-output.js +7 -7
- package/dist/tool.js +12 -12
- package/dist/util/error-summary.js +1 -1
- package/dist/util/error.js +1 -1
- package/dist/util/git-executable.js +2 -2
- package/dist/util/iife.js +1 -1
- package/dist/util/lazy.js +1 -1
- package/dist/util/slug.js +1 -1
- package/dist/util/token.js +1 -1
- package/dist/util/which.js +1 -1
- package/dist/util/wildcard.js +1 -1
- package/dist/v1/config/agent.js +5 -5
- package/dist/v1/config/command.js +3 -3
- package/dist/v1/config/error.js +2 -2
- package/dist/v1/config/mcp.js +4 -4
- package/dist/v1/config/migrate.js +94 -94
- package/dist/v1/config/permission.js +3 -3
- package/dist/v1/config/plugin.js +3 -3
- package/dist/v1/config/provider-options.js +1 -1
- package/dist/v1/config/provider.js +4 -4
- package/dist/variant.js +93 -93
- package/dist/vcs/patch.js +1 -1
- package/dist/vcs.js +91 -91
- package/dist/websearch.js +86 -86
- package/dist/wellknown/plugin.js +78 -78
- package/dist/wellknown.js +81 -81
- package/dist/workspace/driver.js +5 -5
- package/dist/workspace/sql.js +1 -1
- package/dist/workspace.js +84 -84
- package/dist/worktree/directory.js +2 -2
- package/dist/worktree/git.js +10 -10
- package/dist/worktree/sql.js +5 -5
- package/dist/worktree/strategies.js +91 -91
- package/dist/worktree.js +96 -96
- package/package.json +8 -8
- package/dist/chunks/file-retention-4htyneym.js +0 -513
- package/dist/chunks/file-retention-9516fs8v.js +0 -26
- package/dist/chunks/file-retention-ht5y0zrb.js +0 -18
- package/dist/chunks/file-retention-wn6mh0j0.js +0 -253
- /package/dist/chunks/{file-retention-0qkdqm5v.js → location-activity-0qkdqm5v.js} +0 -0
- /package/dist/chunks/{file-retention-0zkw76rk.js → location-activity-0zkw76rk.js} +0 -0
- /package/dist/chunks/{file-retention-17cy0kzp.js → location-activity-17cy0kzp.js} +0 -0
- /package/dist/chunks/{file-retention-1cnp2v09.js → location-activity-1cnp2v09.js} +0 -0
- /package/dist/chunks/{file-retention-1kg9ymc8.js → location-activity-1kg9ymc8.js} +0 -0
- /package/dist/chunks/{file-retention-24dcb14g.js → location-activity-24dcb14g.js} +0 -0
- /package/dist/chunks/{file-retention-2710q6r3.js → location-activity-2710q6r3.js} +0 -0
- /package/dist/chunks/{file-retention-2axfhc9x.js → location-activity-2axfhc9x.js} +0 -0
- /package/dist/chunks/{file-retention-2bv980vf.js → location-activity-2bv980vf.js} +0 -0
- /package/dist/chunks/{file-retention-2c3vjs8z.js → location-activity-2c3vjs8z.js} +0 -0
- /package/dist/chunks/{file-retention-359p4xyc.js → location-activity-359p4xyc.js} +0 -0
- /package/dist/chunks/{file-retention-3asan66x.js → location-activity-3asan66x.js} +0 -0
- /package/dist/chunks/{file-retention-3t0ybcrp.js → location-activity-3t0ybcrp.js} +0 -0
- /package/dist/chunks/{file-retention-3v8g72cx.js → location-activity-3v8g72cx.js} +0 -0
- /package/dist/chunks/{file-retention-3wcehsnq.js → location-activity-3wcehsnq.js} +0 -0
- /package/dist/chunks/{file-retention-43n2bw4t.js → location-activity-43n2bw4t.js} +0 -0
- /package/dist/chunks/{file-retention-4knz6hnm.js → location-activity-4knz6hnm.js} +0 -0
- /package/dist/chunks/{file-retention-4vcrnpx2.js → location-activity-4vcrnpx2.js} +0 -0
- /package/dist/chunks/{file-retention-4y7fprxs.js → location-activity-4y7fprxs.js} +0 -0
- /package/dist/chunks/{file-retention-53557ph1.js → location-activity-53557ph1.js} +0 -0
- /package/dist/chunks/{file-retention-550bvhaj.js → location-activity-550bvhaj.js} +0 -0
- /package/dist/chunks/{file-retention-5qd3pb7m.js → location-activity-5qd3pb7m.js} +0 -0
- /package/dist/chunks/{file-retention-6prwharc.js → location-activity-6prwharc.js} +0 -0
- /package/dist/chunks/{file-retention-6q2bdcd1.js → location-activity-6q2bdcd1.js} +0 -0
- /package/dist/chunks/{file-retention-7akdwqpd.js → location-activity-7akdwqpd.js} +0 -0
- /package/dist/chunks/{file-retention-7m9af43g.js → location-activity-7m9af43g.js} +0 -0
- /package/dist/chunks/{file-retention-822emrt2.js → location-activity-822emrt2.js} +0 -0
- /package/dist/chunks/{file-retention-84wd9syh.js → location-activity-84wd9syh.js} +0 -0
- /package/dist/chunks/{file-retention-88xbtdfr.js → location-activity-88xbtdfr.js} +0 -0
- /package/dist/chunks/{file-retention-8n3pysct.js → location-activity-8n3pysct.js} +0 -0
- /package/dist/chunks/{file-retention-8wj87zfr.js → location-activity-8wj87zfr.js} +0 -0
- /package/dist/chunks/{file-retention-9a4afbnw.js → location-activity-9a4afbnw.js} +0 -0
- /package/dist/chunks/{file-retention-9rqn6x4v.js → location-activity-9rqn6x4v.js} +0 -0
- /package/dist/chunks/{file-retention-a6k6eb26.js → location-activity-a6k6eb26.js} +0 -0
- /package/dist/chunks/{file-retention-af5trqkr.js → location-activity-af5trqkr.js} +0 -0
- /package/dist/chunks/{file-retention-afrmfg78.js → location-activity-afrmfg78.js} +0 -0
- /package/dist/chunks/{file-retention-aqzs7mqg.js → location-activity-aqzs7mqg.js} +0 -0
- /package/dist/chunks/{file-retention-atq7p7m5.js → location-activity-atq7p7m5.js} +0 -0
- /package/dist/chunks/{file-retention-bkyjaxrp.js → location-activity-bkyjaxrp.js} +0 -0
- /package/dist/chunks/{file-retention-bmr6ed5q.js → location-activity-bmr6ed5q.js} +0 -0
- /package/dist/chunks/{file-retention-bw78ga2c.js → location-activity-bw78ga2c.js} +0 -0
- /package/dist/chunks/{file-retention-cf4snx6d.js → location-activity-cf4snx6d.js} +0 -0
- /package/dist/chunks/{file-retention-cvy3z8tj.js → location-activity-cvy3z8tj.js} +0 -0
- /package/dist/chunks/{file-retention-d9fn303g.js → location-activity-d9fn303g.js} +0 -0
- /package/dist/chunks/{file-retention-d9jj8t3e.js → location-activity-d9jj8t3e.js} +0 -0
- /package/dist/chunks/{file-retention-dajrwvna.js → location-activity-dajrwvna.js} +0 -0
- /package/dist/chunks/{file-retention-dap0rakb.js → location-activity-dap0rakb.js} +0 -0
- /package/dist/chunks/{file-retention-df08tz66.js → location-activity-df08tz66.js} +0 -0
- /package/dist/chunks/{file-retention-dy18nga0.js → location-activity-dy18nga0.js} +0 -0
- /package/dist/chunks/{file-retention-e5kj55wp.js → location-activity-e5kj55wp.js} +0 -0
- /package/dist/chunks/{file-retention-e73j6tqm.js → location-activity-e73j6tqm.js} +0 -0
- /package/dist/chunks/{file-retention-ec1grn59.js → location-activity-ec1grn59.js} +0 -0
- /package/dist/chunks/{file-retention-eh3zwz77.js → location-activity-eh3zwz77.js} +0 -0
- /package/dist/chunks/{file-retention-emrn6kk6.js → location-activity-emrn6kk6.js} +0 -0
- /package/dist/chunks/{file-retention-f0mxakyp.js → location-activity-f0mxakyp.js} +0 -0
- /package/dist/chunks/{file-retention-f6n9ztr4.js → location-activity-f6n9ztr4.js} +0 -0
- /package/dist/chunks/{file-retention-faypxj3z.js → location-activity-faypxj3z.js} +0 -0
- /package/dist/chunks/{file-retention-fd410y7t.js → location-activity-fd410y7t.js} +0 -0
- /package/dist/chunks/{file-retention-g4wezp1m.js → location-activity-g4wezp1m.js} +0 -0
- /package/dist/chunks/{file-retention-g86h250q.js → location-activity-g86h250q.js} +0 -0
- /package/dist/chunks/{file-retention-gebd4c9n.js → location-activity-gebd4c9n.js} +0 -0
- /package/dist/chunks/{file-retention-gftt206x.js → location-activity-gftt206x.js} +0 -0
- /package/dist/chunks/{file-retention-hk9envan.js → location-activity-hk9envan.js} +0 -0
- /package/dist/chunks/{file-retention-j2ntwpah.js → location-activity-j2ntwpah.js} +0 -0
- /package/dist/chunks/{file-retention-j5zkgpj8.js → location-activity-j5zkgpj8.js} +0 -0
- /package/dist/chunks/{file-retention-jjkms2e6.js → location-activity-jjkms2e6.js} +0 -0
- /package/dist/chunks/{file-retention-jr7sbwjy.js → location-activity-jr7sbwjy.js} +0 -0
- /package/dist/chunks/{file-retention-jwfs4k6c.js → location-activity-jwfs4k6c.js} +0 -0
- /package/dist/chunks/{file-retention-jze0r7bz.js → location-activity-jze0r7bz.js} +0 -0
- /package/dist/chunks/{file-retention-jzg6c2d5.js → location-activity-jzg6c2d5.js} +0 -0
- /package/dist/chunks/{file-retention-m18g726c.js → location-activity-m18g726c.js} +0 -0
- /package/dist/chunks/{file-retention-mp448xyj.js → location-activity-mp448xyj.js} +0 -0
- /package/dist/chunks/{file-retention-msx8hqn2.js → location-activity-msx8hqn2.js} +0 -0
- /package/dist/chunks/{file-retention-n05xt0ee.js → location-activity-n05xt0ee.js} +0 -0
- /package/dist/chunks/{file-retention-n3j8tn72.js → location-activity-n3j8tn72.js} +0 -0
- /package/dist/chunks/{file-retention-njntx4h6.js → location-activity-njntx4h6.js} +0 -0
- /package/dist/chunks/{file-retention-pkyv6v7h.js → location-activity-pkyv6v7h.js} +0 -0
- /package/dist/chunks/{file-retention-pyv0edze.js → location-activity-pyv0edze.js} +0 -0
- /package/dist/chunks/{file-retention-q3sfg36h.js → location-activity-q3sfg36h.js} +0 -0
- /package/dist/chunks/{file-retention-q74kybfr.js → location-activity-q74kybfr.js} +0 -0
- /package/dist/chunks/{file-retention-qaymkmh1.js → location-activity-qaymkmh1.js} +0 -0
- /package/dist/chunks/{file-retention-qb87gjwd.js → location-activity-qb87gjwd.js} +0 -0
- /package/dist/chunks/{file-retention-qfa1cgps.js → location-activity-qfa1cgps.js} +0 -0
- /package/dist/chunks/{file-retention-qg3g05ea.js → location-activity-qg3g05ea.js} +0 -0
- /package/dist/chunks/{file-retention-qrg20bc0.js → location-activity-qrg20bc0.js} +0 -0
- /package/dist/chunks/{file-retention-rcb2kzg1.js → location-activity-rcb2kzg1.js} +0 -0
- /package/dist/chunks/{file-retention-sdp7kfr6.js → location-activity-sdp7kfr6.js} +0 -0
- /package/dist/chunks/{file-retention-ssg3fenm.js → location-activity-ssg3fenm.js} +0 -0
- /package/dist/chunks/{file-retention-ve7vex1e.js → location-activity-ve7vex1e.js} +0 -0
- /package/dist/chunks/{file-retention-w803qqfp.js → location-activity-w803qqfp.js} +0 -0
- /package/dist/chunks/{file-retention-wc3fc9cn.js → location-activity-wc3fc9cn.js} +0 -0
- /package/dist/chunks/{file-retention-wer8tq1h.js → location-activity-wer8tq1h.js} +0 -0
- /package/dist/chunks/{file-retention-wtztk69x.js → location-activity-wtztk69x.js} +0 -0
- /package/dist/chunks/{file-retention-x0ckcb58.js → location-activity-x0ckcb58.js} +0 -0
- /package/dist/chunks/{file-retention-x61499pn.js → location-activity-x61499pn.js} +0 -0
- /package/dist/chunks/{file-retention-y44na4kk.js → location-activity-y44na4kk.js} +0 -0
- /package/dist/chunks/{file-retention-y8f7s663.js → location-activity-y8f7s663.js} +0 -0
- /package/dist/chunks/{file-retention-ygaqb7jw.js → location-activity-ygaqb7jw.js} +0 -0
- /package/dist/chunks/{file-retention-ym463w8f.js → location-activity-ym463w8f.js} +0 -0
- /package/dist/chunks/{file-retention-z5v4ffb3.js → location-activity-z5v4ffb3.js} +0 -0
- /package/dist/chunks/{file-retention-z9919s4g.js → location-activity-z9919s4g.js} +0 -0
|
@@ -1,17 +1,17 @@
|
|
|
1
1
|
import {
|
|
2
|
-
|
|
3
|
-
} from "./
|
|
2
|
+
Service83
|
|
3
|
+
} from "./location-activity-4jzaeymv.js";
|
|
4
4
|
import {
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
} from "./
|
|
5
|
+
ID15,
|
|
6
|
+
Event19,
|
|
7
|
+
Service78
|
|
8
|
+
} from "./location-activity-zhzn9e0f.js";
|
|
9
9
|
import {
|
|
10
|
-
|
|
11
|
-
} from "./
|
|
10
|
+
ID13
|
|
11
|
+
} from "./location-activity-kg8sjy89.js";
|
|
12
12
|
import {
|
|
13
13
|
configuredSettings2
|
|
14
|
-
} from "./
|
|
14
|
+
} from "./location-activity-41bt6j85.js";
|
|
15
15
|
|
|
16
16
|
// src/plugin/provider/google-vertex.ts
|
|
17
17
|
import { Effect, Option, Schema, Stream } from "effect";
|
|
@@ -41,8 +41,8 @@ var GoogleVertexPlugin2 = define({
|
|
|
41
41
|
id: "opencode.provider.google.vertex",
|
|
42
42
|
effect: Effect.fn(function* (ctx) {
|
|
43
43
|
const fs = yield* FSUtil.Service;
|
|
44
|
-
const credentials = yield*
|
|
45
|
-
const bus = yield*
|
|
44
|
+
const credentials = yield* Service78;
|
|
45
|
+
const bus = yield* Service83;
|
|
46
46
|
const read = (file) => fs.readFileStringSafe(file).pipe(Effect.orElseSucceed(() => {
|
|
47
47
|
return;
|
|
48
48
|
}));
|
|
@@ -51,7 +51,7 @@ var GoogleVertexPlugin2 = define({
|
|
|
51
51
|
const configs = (yield* fs.readDirectory(path.join(gcloud, "configurations")).pipe(Effect.orElseSucceed(() => []))).filter((name) => name.startsWith("config_")).toSorted((a, b) => Number(b === active) - Number(a === active) || a.localeCompare(b));
|
|
52
52
|
const contents = yield* Effect.forEach(configs, (name) => read(path.join(gcloud, "configurations", name)));
|
|
53
53
|
const adcFile = yield* read(path.join(gcloud, "application_default_credentials.json"));
|
|
54
|
-
const configured = (yield* configuredSettings2(
|
|
54
|
+
const configured = (yield* configuredSettings2(ID13.googleVertex)) ?? {};
|
|
55
55
|
const projects = Array.from(new Set([
|
|
56
56
|
resolveProject(configured),
|
|
57
57
|
...contents.map((content) => content?.match(/^project\s*=\s*(\S+)/m)?.[1]),
|
|
@@ -65,8 +65,8 @@ var GoogleVertexPlugin2 = define({
|
|
|
65
65
|
...contents.flatMap((content) => Array.from((content ?? "").matchAll(/^region\s*=\s*(\S+)/gm), (match) => match[1]))
|
|
66
66
|
]));
|
|
67
67
|
const load = Effect.fn("GoogleVertexPlugin.load")(function* () {
|
|
68
|
-
const connection = yield* ctx.integration.connection.active(
|
|
69
|
-
const stored = connection?.type === "credential" ? yield* credentials.get(
|
|
68
|
+
const connection = yield* ctx.integration.connection.active(ID13.googleVertex);
|
|
69
|
+
const stored = connection?.type === "credential" ? yield* credentials.get(ID15.make(connection.id)) : undefined;
|
|
70
70
|
if (stored?.value.type !== "external" || stored.value.methodID !== ADC_METHOD)
|
|
71
71
|
return {};
|
|
72
72
|
return { project: stored.value.metadata?.project, location: stored.value.metadata?.location };
|
|
@@ -74,15 +74,15 @@ var GoogleVertexPlugin2 = define({
|
|
|
74
74
|
const selected = { settings: yield* load() };
|
|
75
75
|
const settingsFor = (provider) => ({
|
|
76
76
|
...provider.settings,
|
|
77
|
-
...(provider.integrationID ?? provider.id) ===
|
|
77
|
+
...(provider.integrationID ?? provider.id) === ID13.googleVertex ? selected.settings : {}
|
|
78
78
|
});
|
|
79
79
|
yield* ctx.integration.transform((editor) => {
|
|
80
80
|
editor.method.update({
|
|
81
|
-
integrationID:
|
|
81
|
+
integrationID: ID13.googleVertex,
|
|
82
82
|
method: { type: "env", names: ["GOOGLE_VERTEX_API_KEY"] }
|
|
83
83
|
});
|
|
84
84
|
editor.method.update({
|
|
85
|
-
integrationID:
|
|
85
|
+
integrationID: ID13.googleVertex,
|
|
86
86
|
method: {
|
|
87
87
|
id: ADC_METHOD,
|
|
88
88
|
type: "external",
|
|
@@ -120,7 +120,7 @@ var GoogleVertexPlugin2 = define({
|
|
|
120
120
|
});
|
|
121
121
|
yield* ctx.provider.transform((evt) => {
|
|
122
122
|
for (const item of evt.list()) {
|
|
123
|
-
if (!item.provider.package.startsWith("@opencode/ai/providers/google-vertex") && !(item.provider.id ===
|
|
123
|
+
if (!item.provider.package.startsWith("@opencode/ai/providers/google-vertex") && !(item.provider.id === ID13.googleVertex && item.provider.package === "@opencode/ai/providers/openai-compatible"))
|
|
124
124
|
continue;
|
|
125
125
|
const settings = settingsFor(item.provider);
|
|
126
126
|
const project = resolveProject(settings);
|
|
@@ -139,7 +139,7 @@ var GoogleVertexPlugin2 = define({
|
|
|
139
139
|
});
|
|
140
140
|
yield* ctx.model.transform((models) => {
|
|
141
141
|
for (const item of models.provider.list()) {
|
|
142
|
-
if (!item.provider.package.startsWith("@opencode/ai/providers/google-vertex") && !(item.provider.id ===
|
|
142
|
+
if (!item.provider.package.startsWith("@opencode/ai/providers/google-vertex") && !(item.provider.id === ID13.googleVertex && item.provider.package === "@opencode/ai/providers/openai-compatible"))
|
|
143
143
|
continue;
|
|
144
144
|
const settings = settingsFor(item.provider);
|
|
145
145
|
const project = resolveProject(settings);
|
|
@@ -156,7 +156,7 @@ var GoogleVertexPlugin2 = define({
|
|
|
156
156
|
}
|
|
157
157
|
}
|
|
158
158
|
});
|
|
159
|
-
yield* bus.subscribe([
|
|
159
|
+
yield* bus.subscribe([Event19.Updated, Event19.Switched]).pipe(Stream.runForEach(() => Effect.gen(function* () {
|
|
160
160
|
const next = yield* load();
|
|
161
161
|
if (JSON.stringify(next) === JSON.stringify(selected.settings))
|
|
162
162
|
return;
|
|
@@ -1,63 +1,63 @@
|
|
|
1
|
-
import {
|
|
2
|
-
Service85,
|
|
3
|
-
node89
|
|
4
|
-
} from "./file-retention-9nq7gfm0.js";
|
|
5
1
|
import {
|
|
6
2
|
Service84,
|
|
7
3
|
node88
|
|
8
|
-
} from "./
|
|
4
|
+
} from "./location-activity-pjvsmsvn.js";
|
|
5
|
+
import {
|
|
6
|
+
Service83,
|
|
7
|
+
node87
|
|
8
|
+
} from "./location-activity-4jzaeymv.js";
|
|
9
9
|
import {
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
} from "./
|
|
10
|
+
Service60,
|
|
11
|
+
node63
|
|
12
|
+
} from "./location-activity-93ygb5af.js";
|
|
13
13
|
import {
|
|
14
14
|
AbsolutePath2,
|
|
15
15
|
RelativePath2
|
|
16
|
-
} from "./
|
|
16
|
+
} from "./location-activity-z5v4ffb3.js";
|
|
17
17
|
import {
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
} from "./
|
|
18
|
+
Service81,
|
|
19
|
+
node85
|
|
20
|
+
} from "./location-activity-917zbaq1.js";
|
|
21
21
|
import {
|
|
22
22
|
Ref4
|
|
23
|
-
} from "./
|
|
23
|
+
} from "./location-activity-fkdbhykb.js";
|
|
24
24
|
import {
|
|
25
25
|
Service67,
|
|
26
26
|
node71
|
|
27
|
-
} from "./
|
|
27
|
+
} from "./location-activity-aa14mw5x.js";
|
|
28
28
|
import {
|
|
29
29
|
SessionMessage2
|
|
30
|
-
} from "./
|
|
30
|
+
} from "./location-activity-gftt206x.js";
|
|
31
31
|
import {
|
|
32
32
|
NotFoundError9
|
|
33
|
-
} from "./
|
|
33
|
+
} from "./location-activity-bsprd9wx.js";
|
|
34
34
|
import {
|
|
35
35
|
SessionEvent2
|
|
36
|
-
} from "./
|
|
36
|
+
} from "./location-activity-ec1grn59.js";
|
|
37
37
|
import {
|
|
38
|
-
|
|
39
|
-
} from "./
|
|
38
|
+
Service57
|
|
39
|
+
} from "./location-activity-f73rjn58.js";
|
|
40
40
|
import {
|
|
41
|
-
|
|
42
|
-
|
|
43
|
-
} from "./
|
|
41
|
+
Service70,
|
|
42
|
+
node74
|
|
43
|
+
} from "./location-activity-2v31f8c0.js";
|
|
44
44
|
import {
|
|
45
45
|
Item2,
|
|
46
46
|
serialized2,
|
|
47
|
-
|
|
48
|
-
|
|
47
|
+
Service58,
|
|
48
|
+
node61,
|
|
49
49
|
moveIDs2
|
|
50
|
-
} from "./
|
|
50
|
+
} from "./location-activity-0fhqjvtp.js";
|
|
51
51
|
import {
|
|
52
|
-
|
|
53
|
-
|
|
54
|
-
} from "./
|
|
52
|
+
Service56,
|
|
53
|
+
node60
|
|
54
|
+
} from "./location-activity-mr9p3z9j.js";
|
|
55
55
|
import {
|
|
56
|
-
|
|
57
|
-
} from "./
|
|
56
|
+
node29
|
|
57
|
+
} from "./location-activity-0bpv01a3.js";
|
|
58
58
|
import {
|
|
59
59
|
__export
|
|
60
|
-
} from "./
|
|
60
|
+
} from "./location-activity-9rqn6x4v.js";
|
|
61
61
|
|
|
62
62
|
// src/session/move.ts
|
|
63
63
|
var exports_move = {};
|
|
@@ -65,9 +65,9 @@ __export(exports_move, {
|
|
|
65
65
|
DestinationNotDirectoryError: () => DestinationNotDirectoryError2,
|
|
66
66
|
DestinationNotFoundError: () => DestinationNotFoundError2,
|
|
67
67
|
DestinationUnavailableError: () => DestinationUnavailableError2,
|
|
68
|
-
Service: () =>
|
|
68
|
+
Service: () => Service25,
|
|
69
69
|
SessionMove: () => exports_move,
|
|
70
|
-
node: () =>
|
|
70
|
+
node: () => node28
|
|
71
71
|
});
|
|
72
72
|
import { makeGlobalNode } from "@opencode/util/effect/app-node";
|
|
73
73
|
import { FSUtil } from "@opencode/util/fs-util";
|
|
@@ -83,19 +83,19 @@ class DestinationNotDirectoryError2 extends Schema.TaggedError()("Session.Destin
|
|
|
83
83
|
class DestinationUnavailableError2 extends Schema.TaggedError()("Session.DestinationUnavailableError", { directory: AbsolutePath2 }) {
|
|
84
84
|
}
|
|
85
85
|
|
|
86
|
-
class
|
|
86
|
+
class Service25 extends Context.Service()("@opencode/SessionMove") {
|
|
87
87
|
}
|
|
88
|
-
var layer = Layer.effect(
|
|
88
|
+
var layer = Layer.effect(Service25, Effect.gen(function* () {
|
|
89
89
|
const fs = yield* FSUtil.Service;
|
|
90
90
|
const global = yield* Global.Service;
|
|
91
|
-
const projects = yield*
|
|
91
|
+
const projects = yield* Service81;
|
|
92
92
|
const locations = yield* Service67;
|
|
93
|
-
const store = yield*
|
|
94
|
-
const execution = yield*
|
|
95
|
-
const instances = yield*
|
|
96
|
-
const admission = yield*
|
|
97
|
-
const database = yield*
|
|
98
|
-
const bus = yield*
|
|
93
|
+
const store = yield* Service70;
|
|
94
|
+
const execution = yield* Service56;
|
|
95
|
+
const instances = yield* Service60;
|
|
96
|
+
const admission = yield* Service58;
|
|
97
|
+
const database = yield* Service84;
|
|
98
|
+
const bus = yield* Service83;
|
|
99
99
|
const get = Effect.fn("SessionMove.get")(function* (sessionID) {
|
|
100
100
|
const session = yield* store.get(sessionID);
|
|
101
101
|
if (!session)
|
|
@@ -131,9 +131,9 @@ var layer = Layer.effect(Service29, Effect.gen(function* () {
|
|
|
131
131
|
return false;
|
|
132
132
|
if (!(yield* fs.isDir(session.location.directory)))
|
|
133
133
|
return true;
|
|
134
|
-
return yield*
|
|
134
|
+
return yield* Service57.pipe(instances.provide(session), Effect.as(false), Effect.catchCause((cause) => Cause.hasInterrupts(cause) ? Effect.failCause(Cause.fromReasons(cause.reasons.filter(Cause.isInterruptReason))) : Effect.succeed(true)));
|
|
135
135
|
});
|
|
136
|
-
return
|
|
136
|
+
return Service25.of({
|
|
137
137
|
move: Effect.fn("SessionMove.move")(function* (input) {
|
|
138
138
|
const session = yield* get(input.sessionID);
|
|
139
139
|
const destination = yield* resolveDestination(session, input);
|
|
@@ -163,22 +163,22 @@ var layer = Layer.effect(Service29, Effect.gen(function* () {
|
|
|
163
163
|
})
|
|
164
164
|
});
|
|
165
165
|
}));
|
|
166
|
-
var
|
|
167
|
-
service:
|
|
166
|
+
var node28 = makeGlobalNode({
|
|
167
|
+
service: Service25,
|
|
168
168
|
layer,
|
|
169
169
|
deps: [
|
|
170
170
|
FSUtil.node,
|
|
171
171
|
Global.node,
|
|
172
|
-
|
|
172
|
+
node85,
|
|
173
173
|
node71,
|
|
174
|
-
|
|
175
|
-
|
|
176
|
-
|
|
177
|
-
|
|
178
|
-
node89,
|
|
174
|
+
node74,
|
|
175
|
+
node60,
|
|
176
|
+
node63,
|
|
177
|
+
node61,
|
|
179
178
|
node88,
|
|
180
|
-
|
|
179
|
+
node87,
|
|
180
|
+
node29
|
|
181
181
|
]
|
|
182
182
|
});
|
|
183
183
|
|
|
184
|
-
export { DestinationNotFoundError2, DestinationNotDirectoryError2, DestinationUnavailableError2,
|
|
184
|
+
export { DestinationNotFoundError2, DestinationNotDirectoryError2, DestinationUnavailableError2, Service25, node28, exports_move };
|
|
@@ -3,34 +3,34 @@ import {
|
|
|
3
3
|
WrongKind2,
|
|
4
4
|
Failed2,
|
|
5
5
|
typeFollowing2
|
|
6
|
-
} from "./
|
|
6
|
+
} from "./location-activity-hgz4x7wa.js";
|
|
7
7
|
import {
|
|
8
8
|
execDefaults2
|
|
9
|
-
} from "./
|
|
9
|
+
} from "./location-activity-eej6y6fw.js";
|
|
10
10
|
import {
|
|
11
11
|
makeLocalDriver2
|
|
12
|
-
} from "./
|
|
12
|
+
} from "./location-activity-3hwn7j4h.js";
|
|
13
13
|
import {
|
|
14
14
|
makeMemoryDriver2
|
|
15
|
-
} from "./
|
|
15
|
+
} from "./location-activity-v7p4zvkq.js";
|
|
16
16
|
import {
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
} from "./
|
|
17
|
+
Service80,
|
|
18
|
+
node84
|
|
19
|
+
} from "./location-activity-fkdbhykb.js";
|
|
20
20
|
import {
|
|
21
|
-
|
|
22
|
-
|
|
23
|
-
} from "./
|
|
21
|
+
Service64,
|
|
22
|
+
node67
|
|
23
|
+
} from "./location-activity-bc8ymejb.js";
|
|
24
24
|
import {
|
|
25
25
|
__export
|
|
26
|
-
} from "./
|
|
26
|
+
} from "./location-activity-9rqn6x4v.js";
|
|
27
27
|
|
|
28
28
|
// src/environment/environment.ts
|
|
29
29
|
var exports_environment2 = {};
|
|
30
30
|
__export(exports_environment2, {
|
|
31
31
|
EnvironmentService: () => exports_environment2,
|
|
32
|
-
Service: () =>
|
|
33
|
-
node: () =>
|
|
32
|
+
Service: () => Service63,
|
|
33
|
+
node: () => node66
|
|
34
34
|
});
|
|
35
35
|
import { CrossSpawnSpawner } from "@opencode/util/cross-spawn-spawner";
|
|
36
36
|
import { makeLocationNode } from "@opencode/util/effect/app-node";
|
|
@@ -43,13 +43,13 @@ __export(exports_environment3, {
|
|
|
43
43
|
Environment: () => exports_environment3,
|
|
44
44
|
Failed: () => Failed2,
|
|
45
45
|
NotFound: () => NotFound3,
|
|
46
|
-
Service: () =>
|
|
46
|
+
Service: () => Service63,
|
|
47
47
|
WrongKind: () => WrongKind2,
|
|
48
48
|
execDefaults: () => execDefaults2,
|
|
49
49
|
makeFiles: () => makeFiles2,
|
|
50
50
|
makeLocalDriver: () => makeLocalDriver2,
|
|
51
51
|
makeMemoryDriver: () => makeMemoryDriver2,
|
|
52
|
-
node: () =>
|
|
52
|
+
node: () => node66,
|
|
53
53
|
typeFollowing: () => typeFollowing2
|
|
54
54
|
});
|
|
55
55
|
var makeFiles2 = (driver) => ({
|
|
@@ -58,19 +58,19 @@ var makeFiles2 = (driver) => ({
|
|
|
58
58
|
});
|
|
59
59
|
|
|
60
60
|
// src/environment/environment.ts
|
|
61
|
-
class
|
|
61
|
+
class Service63 extends Context.Service()("@opencode/Environment") {
|
|
62
62
|
}
|
|
63
|
-
var layer = Layer.effect(
|
|
63
|
+
var layer = Layer.effect(Service63, Effect.gen(function* () {
|
|
64
64
|
const spawner = yield* ChildProcessSpawner;
|
|
65
|
-
const location = yield*
|
|
66
|
-
const workspace = yield*
|
|
65
|
+
const location = yield* Service80;
|
|
66
|
+
const workspace = yield* Service64;
|
|
67
67
|
const driver = location.workspaceID ? yield* workspace.connect(location.workspaceID).pipe(Effect.mapError((cause) => new Error(`Failed to bind Environment to workspace ${location.workspaceID}`, { cause })), Effect.orDie) : makeLocalDriver2(spawner);
|
|
68
|
-
return
|
|
68
|
+
return Service63.of({ files: makeFiles2(driver), spawner: driver.spawner });
|
|
69
69
|
}));
|
|
70
|
-
var
|
|
71
|
-
service:
|
|
70
|
+
var node66 = makeLocationNode({
|
|
71
|
+
service: Service63,
|
|
72
72
|
layer,
|
|
73
|
-
deps: [CrossSpawnSpawner.node,
|
|
73
|
+
deps: [CrossSpawnSpawner.node, node84, node67]
|
|
74
74
|
});
|
|
75
75
|
|
|
76
|
-
export {
|
|
76
|
+
export { Service63, node66, exports_environment2, makeFiles2, exports_environment3 };
|
|
@@ -1,37 +1,37 @@
|
|
|
1
1
|
import {
|
|
2
2
|
useragent2
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./location-activity-h1m7a8ke.js";
|
|
4
4
|
import {
|
|
5
|
-
|
|
6
|
-
} from "./
|
|
5
|
+
Service83
|
|
6
|
+
} from "./location-activity-4jzaeymv.js";
|
|
7
7
|
import {
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
} from "./
|
|
8
|
+
ID15,
|
|
9
|
+
Event19,
|
|
10
|
+
Service78
|
|
11
|
+
} from "./location-activity-zhzn9e0f.js";
|
|
12
12
|
import {
|
|
13
13
|
key2
|
|
14
|
-
} from "./
|
|
14
|
+
} from "./location-activity-addxnjmp.js";
|
|
15
15
|
import {
|
|
16
|
-
|
|
16
|
+
ID14,
|
|
17
17
|
MethodID2
|
|
18
|
-
} from "./
|
|
18
|
+
} from "./location-activity-kwnn4fd0.js";
|
|
19
19
|
import {
|
|
20
20
|
which2
|
|
21
|
-
} from "./
|
|
21
|
+
} from "./location-activity-qaymkmh1.js";
|
|
22
22
|
import {
|
|
23
|
-
|
|
24
|
-
|
|
25
|
-
} from "./
|
|
23
|
+
ID13,
|
|
24
|
+
Service76
|
|
25
|
+
} from "./location-activity-kg8sjy89.js";
|
|
26
26
|
import {
|
|
27
|
-
|
|
28
|
-
} from "./
|
|
27
|
+
ID12
|
|
28
|
+
} from "./location-activity-pc2e4npa.js";
|
|
29
29
|
import {
|
|
30
30
|
iife2
|
|
31
|
-
} from "./
|
|
31
|
+
} from "./location-activity-1kg9ymc8.js";
|
|
32
32
|
import {
|
|
33
33
|
configuredSettings2
|
|
34
|
-
} from "./
|
|
34
|
+
} from "./location-activity-41bt6j85.js";
|
|
35
35
|
|
|
36
36
|
// src/plugin/provider/azure.ts
|
|
37
37
|
import { Clock, Effect, FiberHandle, Option, Schema, Semaphore, Stream } from "effect";
|
|
@@ -75,19 +75,19 @@ var Resources = Schema.Struct({ data: Schema.Array(Schema.Struct({ id: Schema.No
|
|
|
75
75
|
var ResourceListing = Schema.Struct({ data: Schema.Array(Schema.Unknown) });
|
|
76
76
|
var decodeProfile = Schema.decodeUnknownOption(Schema.fromJsonString(Schema.Struct({ subscriptions: Schema.NonEmptyArray(Schema.Unknown) })));
|
|
77
77
|
var decodeResourceListing = Schema.decodeUnknownOption(Schema.Struct({ resourceName: Schema.NonEmptyString, resourceGroup: Schema.String, location: Schema.String }));
|
|
78
|
-
function
|
|
78
|
+
function make10(endpoints = {
|
|
79
79
|
resource: (name) => `https://${name}.openai.azure.com/openai`,
|
|
80
80
|
management: "https://management.azure.com"
|
|
81
81
|
}) {
|
|
82
82
|
return define({
|
|
83
83
|
id: "opencode.provider.azure",
|
|
84
84
|
effect: Effect.fn(function* (ctx) {
|
|
85
|
-
const configured = yield* configuredSettings2(
|
|
85
|
+
const configured = yield* configuredSettings2(ID13.azure);
|
|
86
86
|
const processes = yield* AppProcess.Service;
|
|
87
87
|
const fs = yield* FSUtil.Service;
|
|
88
|
-
const bus = yield*
|
|
89
|
-
const credentials = yield*
|
|
90
|
-
const providers = yield*
|
|
88
|
+
const bus = yield* Service83;
|
|
89
|
+
const credentials = yield* Service78;
|
|
90
|
+
const providers = yield* Service76;
|
|
91
91
|
const http = HttpClient.filterStatusOk(yield* HttpClient.HttpClient);
|
|
92
92
|
const tokens = new Map;
|
|
93
93
|
const resourceIDs = new Map;
|
|
@@ -114,11 +114,11 @@ function make5(endpoints = {
|
|
|
114
114
|
const listing = {};
|
|
115
115
|
yield* ctx.integration.transform((editor) => {
|
|
116
116
|
editor.method.update({
|
|
117
|
-
integrationID:
|
|
117
|
+
integrationID: ID13.azure,
|
|
118
118
|
method: { type: "env", names: ["AZURE_API_KEY", "AZURE_COGNITIVE_SERVICES_API_KEY"] }
|
|
119
119
|
});
|
|
120
120
|
editor.method.update({
|
|
121
|
-
integrationID:
|
|
121
|
+
integrationID: ID13.azure,
|
|
122
122
|
method: {
|
|
123
123
|
type: "key",
|
|
124
124
|
label: "API key",
|
|
@@ -136,7 +136,7 @@ function make5(endpoints = {
|
|
|
136
136
|
if (!available)
|
|
137
137
|
return;
|
|
138
138
|
editor.method.update({
|
|
139
|
-
integrationID:
|
|
139
|
+
integrationID: ID13.azure,
|
|
140
140
|
method: {
|
|
141
141
|
id: methodID,
|
|
142
142
|
type: "external",
|
|
@@ -164,8 +164,8 @@ function make5(endpoints = {
|
|
|
164
164
|
});
|
|
165
165
|
});
|
|
166
166
|
const load = Effect.fn("AzurePlugin.load")(function* () {
|
|
167
|
-
const connection = yield* ctx.integration.connection.active(
|
|
168
|
-
const stored = connection?.type === "credential" ? yield* credentials.get(
|
|
167
|
+
const connection = yield* ctx.integration.connection.active(ID13.azure);
|
|
168
|
+
const stored = connection?.type === "credential" ? yield* credentials.get(ID15.make(connection.id)) : undefined;
|
|
169
169
|
return { connection, resource: credentialResource(stored?.value) };
|
|
170
170
|
});
|
|
171
171
|
const findResource = Effect.fn("AzurePlugin.findResource")(function* (resource) {
|
|
@@ -204,7 +204,7 @@ function make5(endpoints = {
|
|
|
204
204
|
}));
|
|
205
205
|
const discover = Effect.fn("AzurePlugin.discover")(function* () {
|
|
206
206
|
const connection = loaded.connection;
|
|
207
|
-
const settings = (yield* providers.get(
|
|
207
|
+
const settings = (yield* providers.get(ID13.azure))?.settings;
|
|
208
208
|
const name = loaded.resource ?? resolveResourceName(settings);
|
|
209
209
|
const url = connection && name !== undefined && resourcePattern.test(name) && typeof settings?.baseURL !== "string" ? `${endpoints.resource(name)}/deployments?api-version=2022-12-01` : undefined;
|
|
210
210
|
if (loaded.connection !== connection)
|
|
@@ -226,11 +226,11 @@ function make5(endpoints = {
|
|
|
226
226
|
const found = yield* deployments(url, name, credential).pipe(Effect.map((list) => list.toSorted((a, b) => a.name.localeCompare(b.name))), Effect.catch((cause) => Effect.logWarning("failed to sync Azure deployments", { cause }).pipe(Effect.as(undefined))));
|
|
227
227
|
if (!found)
|
|
228
228
|
return;
|
|
229
|
-
if (loaded.connection !== connection || key2(connection) !== key2(yield* ctx.integration.connection.active(
|
|
229
|
+
if (loaded.connection !== connection || key2(connection) !== key2(yield* ctx.integration.connection.active(ID13.azure)))
|
|
230
230
|
return;
|
|
231
231
|
if (JSON.stringify(found) === JSON.stringify(loaded.deployments))
|
|
232
232
|
return;
|
|
233
|
-
const catalog = new Map(Array.from((yield* providers.snapshot()).records.get(
|
|
233
|
+
const catalog = new Map(Array.from((yield* providers.snapshot()).records.get(ID13.azure)?.models.keys() ?? [], (id) => [
|
|
234
234
|
id.toLowerCase(),
|
|
235
235
|
id
|
|
236
236
|
]));
|
|
@@ -243,7 +243,7 @@ function make5(endpoints = {
|
|
|
243
243
|
yield* ctx.model.reload();
|
|
244
244
|
});
|
|
245
245
|
const refresh = () => rebind().pipe(Effect.andThen(FiberHandle.run(discovery, discover())));
|
|
246
|
-
const resourceFor = (provider) => provider.id ===
|
|
246
|
+
const resourceFor = (provider) => provider.id === ID13.azure ? loaded.resource ?? resolveResourceName(provider.settings) : resolveResourceName(provider.settings, loaded.resource);
|
|
247
247
|
Object.assign(loaded, yield* load());
|
|
248
248
|
const listResources = Effect.fn("AzurePlugin.listResources")(function* () {
|
|
249
249
|
const profile = yield* fs.readFileStringSafe(path.join(process.env.AZURE_CONFIG_DIR ?? path.join(Global.Path.home, ".azure"), "azureProfile.json"));
|
|
@@ -268,7 +268,7 @@ function make5(endpoints = {
|
|
|
268
268
|
yield* listResources().pipe(Effect.catch((cause) => Effect.logDebug("failed to list Azure resources", { cause })), Effect.forkScoped);
|
|
269
269
|
yield* ctx.provider.transform((evt) => {
|
|
270
270
|
for (const item of evt.list()) {
|
|
271
|
-
if (item.provider.id !==
|
|
271
|
+
if (item.provider.id !== ID13.azure && !item.provider.package.startsWith("@opencode/ai/providers/azure/"))
|
|
272
272
|
continue;
|
|
273
273
|
const resourceName = resourceFor(item.provider);
|
|
274
274
|
const websocket = responsesWebSocketCapable(item.provider);
|
|
@@ -283,7 +283,7 @@ function make5(endpoints = {
|
|
|
283
283
|
};
|
|
284
284
|
});
|
|
285
285
|
}
|
|
286
|
-
const item = evt.get(
|
|
286
|
+
const item = evt.get(ID13.azure);
|
|
287
287
|
if (!item)
|
|
288
288
|
return;
|
|
289
289
|
evt.add({
|
|
@@ -294,7 +294,7 @@ function make5(endpoints = {
|
|
|
294
294
|
});
|
|
295
295
|
yield* ctx.model.transform((models) => {
|
|
296
296
|
for (const item of models.provider.list()) {
|
|
297
|
-
if (item.provider.id !==
|
|
297
|
+
if (item.provider.id !== ID13.azure && !item.provider.package.startsWith("@opencode/ai/providers/azure/"))
|
|
298
298
|
continue;
|
|
299
299
|
const resourceName = resourceFor(item.provider);
|
|
300
300
|
for (const model of models.list(item.provider.id)) {
|
|
@@ -306,20 +306,20 @@ function make5(endpoints = {
|
|
|
306
306
|
}
|
|
307
307
|
if (!loaded.deployments)
|
|
308
308
|
return;
|
|
309
|
-
const catalog = models.list(
|
|
309
|
+
const catalog = models.list(ID13.azure);
|
|
310
310
|
const deployed = deployedModels(loaded.deployments, catalog);
|
|
311
311
|
for (const model of catalog) {
|
|
312
312
|
if (!deployed.has(model.id))
|
|
313
|
-
models.remove(
|
|
313
|
+
models.remove(ID13.azure, model.id);
|
|
314
314
|
}
|
|
315
315
|
for (const [id, model] of deployed) {
|
|
316
|
-
models.update(
|
|
316
|
+
models.update(ID13.azure, id, (draft) => Object.assign(draft, model));
|
|
317
317
|
}
|
|
318
318
|
});
|
|
319
|
-
yield* bus.subscribe(
|
|
319
|
+
yield* bus.subscribe(Event19.Switched).pipe(Stream.filter((event) => event.data.integrationID === ID14.make("azure")), Stream.runForEach(() => refresh()), Effect.forkScoped({ startImmediately: true }));
|
|
320
320
|
yield* refresh().pipe(Effect.forkScoped);
|
|
321
321
|
const bearer = Effect.fn("AzurePlugin.bearer")(function* (url) {
|
|
322
|
-
const connection = yield* ctx.integration.connection.active(
|
|
322
|
+
const connection = yield* ctx.integration.connection.active(ID13.azure);
|
|
323
323
|
const credential = connection ? yield* ctx.integration.connection.resolve(connection).pipe(Effect.orElseSucceed(() => {
|
|
324
324
|
return;
|
|
325
325
|
})) : undefined;
|
|
@@ -331,7 +331,7 @@ function make5(endpoints = {
|
|
|
331
331
|
return `Bearer ${current.access}`;
|
|
332
332
|
});
|
|
333
333
|
yield* ctx.session.hook("http.request", (evt) => Effect.gen(function* () {
|
|
334
|
-
if (evt.model.providerID !==
|
|
334
|
+
if (evt.model.providerID !== ID13.azure)
|
|
335
335
|
return;
|
|
336
336
|
const authorization = yield* bearer(evt.request.url);
|
|
337
337
|
if (!authorization)
|
|
@@ -340,9 +340,9 @@ function make5(endpoints = {
|
|
|
340
340
|
evt.request.headers.delete("x-api-key");
|
|
341
341
|
evt.request.headers.set("authorization", authorization);
|
|
342
342
|
evt.request.headers.set("user-agent", useragent2(ctx.app));
|
|
343
|
-
}), { providerID:
|
|
343
|
+
}), { providerID: ID13.azure });
|
|
344
344
|
yield* ctx.session.hook("experimental.ws.handshake", (evt) => Effect.gen(function* () {
|
|
345
|
-
if (evt.model.providerID !==
|
|
345
|
+
if (evt.model.providerID !== ID13.azure)
|
|
346
346
|
return;
|
|
347
347
|
const authorization = yield* bearer(evt.url);
|
|
348
348
|
if (!authorization)
|
|
@@ -351,11 +351,11 @@ function make5(endpoints = {
|
|
|
351
351
|
delete evt.headers["x-api-key"];
|
|
352
352
|
evt.headers.authorization = authorization;
|
|
353
353
|
evt.headers["user-agent"] = useragent2(ctx.app);
|
|
354
|
-
}), { providerID:
|
|
354
|
+
}), { providerID: ID13.azure });
|
|
355
355
|
})
|
|
356
356
|
});
|
|
357
357
|
}
|
|
358
|
-
var AzurePlugin2 =
|
|
358
|
+
var AzurePlugin2 = make10();
|
|
359
359
|
function resolveResourceName(settings, fallback) {
|
|
360
360
|
const configured = settings?.resourceName;
|
|
361
361
|
if (typeof configured === "string" && configured.trim() !== "")
|
|
@@ -393,11 +393,11 @@ function deployedModels(deployments, catalog) {
|
|
|
393
393
|
const model = catalogModel(models, deployment);
|
|
394
394
|
if (!model)
|
|
395
395
|
return [];
|
|
396
|
-
const id =
|
|
396
|
+
const id = ID12.make(deployment.name.toLowerCase());
|
|
397
397
|
const info = {
|
|
398
398
|
...structuredClone(model),
|
|
399
399
|
id,
|
|
400
|
-
modelID:
|
|
400
|
+
modelID: ID12.make(deployment.name),
|
|
401
401
|
name: id === model.id.toLowerCase() ? model.name : `${model.name} (${deployment.name})`
|
|
402
402
|
};
|
|
403
403
|
return [[id, info]];
|
|
@@ -419,4 +419,4 @@ function responsesWebSocketCapable(provider) {
|
|
|
419
419
|
return /^https:\/\/[^/]+\.openai\.azure\.com(?:\/|$)/i.test(settings.baseURL);
|
|
420
420
|
}
|
|
421
421
|
|
|
422
|
-
export {
|
|
422
|
+
export { make10, AzurePlugin2 };
|
|
@@ -1,11 +1,11 @@
|
|
|
1
1
|
import {
|
|
2
2
|
which2
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./location-activity-qaymkmh1.js";
|
|
4
4
|
|
|
5
5
|
// src/formatter/builtins.ts
|
|
6
6
|
import { Effect } from "effect";
|
|
7
7
|
import { ChildProcess } from "effect/process";
|
|
8
|
-
function
|
|
8
|
+
function make5(input) {
|
|
9
9
|
const disabled = false;
|
|
10
10
|
const findExecutable = (name) => which2(name, undefined, input.bin);
|
|
11
11
|
const findUp = (target) => input.fs.findUp(target, input.directory, input.worktree);
|
|
@@ -261,4 +261,4 @@ function isRecord(input) {
|
|
|
261
261
|
return Boolean(input && typeof input === "object" && !Array.isArray(input));
|
|
262
262
|
}
|
|
263
263
|
|
|
264
|
-
export {
|
|
264
|
+
export { make5 };
|
|
@@ -2,10 +2,10 @@ import {
|
|
|
2
2
|
NotFound3,
|
|
3
3
|
WrongKind2,
|
|
4
4
|
Failed2
|
|
5
|
-
} from "./
|
|
5
|
+
} from "./location-activity-hgz4x7wa.js";
|
|
6
6
|
import {
|
|
7
7
|
__export
|
|
8
|
-
} from "./
|
|
8
|
+
} from "./location-activity-9rqn6x4v.js";
|
|
9
9
|
|
|
10
10
|
// src/environment/exec-defaults.ts
|
|
11
11
|
var exports_exec_defaults = {};
|