@opencode/core 0.0.0-dev-20825 → 0.0.0-dev-20827
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 +85 -85
- package/dist/aisdk-native.js +91 -91
- package/dist/aisdk.js +96 -96
- package/dist/app.js +7 -7
- package/dist/bus.js +75 -75
- package/dist/chunks/{model-resolver-fz112egw.js → instance-029pw59f.js} +5 -5
- package/dist/chunks/{model-resolver-z5z78jza.js → instance-06y773be.js} +21 -21
- package/dist/chunks/{model-resolver-0rs8myd8.js → instance-07jbz131.js} +22 -22
- package/dist/chunks/{model-resolver-q0xm7vwc.js → instance-0j77ygfz.js} +6 -6
- package/dist/chunks/{model-resolver-qgy4cpjv.js → instance-0k1qxdkc.js} +9 -9
- package/dist/chunks/{model-resolver-0paq2nw3.js → instance-0paq2nw3.js} +1 -1
- package/dist/chunks/{model-resolver-tnwk7je0.js → instance-0pv72p9d.js} +11 -11
- package/dist/chunks/{model-resolver-8445zpne.js → instance-0t8zfa62.js} +20 -20
- package/dist/chunks/{model-resolver-am4ys6ej.js → instance-0trfysrn.js} +11 -11
- package/dist/chunks/{model-resolver-0vbcp93d.js → instance-0vbcp93d.js} +2 -2
- package/dist/chunks/{model-resolver-37ex1wq2.js → instance-111chvv6.js} +3 -3
- package/dist/chunks/{model-resolver-3an6bgbg.js → instance-11626hss.js} +15 -15
- package/dist/chunks/{model-resolver-6hjx5zpb.js → instance-11dqjexa.js} +9 -9
- package/dist/chunks/{model-resolver-rm0y65ew.js → instance-12khtxcx.js} +5 -5
- package/dist/chunks/{model-resolver-x8yzxsbj.js → instance-1359n4t6.js} +10 -10
- package/dist/chunks/{model-resolver-v2xp8k5w.js → instance-153cwxcv.js} +4 -4
- package/dist/chunks/{model-resolver-mr56bpwe.js → instance-1agwckrn.js} +11 -11
- package/dist/chunks/{model-resolver-p0x6m6cr.js → instance-1c29c2dv.js} +35 -35
- package/dist/chunks/{model-resolver-0yvp6fqs.js → instance-1e3tja1f.js} +32 -32
- package/dist/chunks/{model-resolver-zsr4wwhv.js → instance-1rn5pcm9.js} +4 -4
- package/dist/chunks/{model-resolver-9h7c1aps.js → instance-1zpxtp3m.js} +18 -18
- package/dist/chunks/{model-resolver-e73g0wvd.js → instance-2c3anf0v.js} +4 -4
- package/dist/chunks/{model-resolver-4ts7tf6z.js → instance-2ccvkpx1.js} +2 -2
- package/dist/chunks/{model-resolver-gzk07654.js → instance-2dh2xdbt.js} +49 -49
- package/dist/chunks/{model-resolver-rzs3gq0x.js → instance-2n295dmf.js} +8 -8
- package/dist/chunks/{model-resolver-2vvh33eb.js → instance-2vvh33eb.js} +2 -2
- package/dist/chunks/{model-resolver-21hptw97.js → instance-32des0by.js} +30 -30
- package/dist/chunks/{model-resolver-8nzb5d0e.js → instance-33rvgmcv.js} +5 -5
- package/dist/chunks/{model-resolver-msk51jxa.js → instance-35xs4z06.js} +25 -25
- package/dist/chunks/{model-resolver-qkn9n2ht.js → instance-39t8n9ky.js} +11 -11
- package/dist/chunks/{model-resolver-j6sex83x.js → instance-3c29hp53.js} +4 -4
- package/dist/chunks/{model-resolver-rk9k7afq.js → instance-3d182hk5.js} +3 -3
- package/dist/chunks/{model-resolver-e052d1q0.js → instance-3dxwnv9s.js} +27 -27
- package/dist/chunks/{model-resolver-3fc6dm20.js → instance-3fc6dm20.js} +1 -1
- package/dist/chunks/{model-resolver-3hepkmqq.js → instance-3hepkmqq.js} +1 -1
- package/dist/chunks/{model-resolver-3hwn7j4h.js → instance-3hwn7j4h.js} +2 -2
- package/dist/chunks/{model-resolver-4qaehj67.js → instance-3mtcg1ph.js} +6 -6
- package/dist/chunks/{model-resolver-prmgem5b.js → instance-3ppptnan.js} +6 -6
- package/dist/chunks/{model-resolver-3smtnn6g.js → instance-3smtnn6g.js} +1 -1
- package/dist/chunks/{model-resolver-1v7d8dyr.js → instance-3smzvwmj.js} +14 -14
- package/dist/chunks/{model-resolver-3tvqynh2.js → instance-3tvqynh2.js} +1 -1
- package/dist/chunks/{model-resolver-3zsf4n22.js → instance-3zsf4n22.js} +1 -1
- package/dist/chunks/{model-resolver-58hng72m.js → instance-461nxmbv.js} +5 -5
- package/dist/chunks/{model-resolver-6kzp9tjq.js → instance-47jkzegy.js} +5 -5
- package/dist/chunks/{model-resolver-rsmgkfp3.js → instance-48r0wrnn.js} +10 -10
- package/dist/chunks/{model-resolver-00mvmxfh.js → instance-4ac1hn9f.js} +12 -12
- package/dist/chunks/{model-resolver-mh95raz8.js → instance-4c1c6x0j.js} +20 -20
- package/dist/chunks/{model-resolver-0br3sbwn.js → instance-4v7ngy20.js} +4 -4
- package/dist/chunks/{model-resolver-e8m77gve.js → instance-52gfmpss.js} +5 -5
- package/dist/chunks/{model-resolver-r94pvvab.js → instance-54ma36ye.js} +4 -4
- package/dist/chunks/{model-resolver-mpr1ppnz.js → instance-5cj9vq0j.js} +176 -176
- package/dist/chunks/instance-5cvbdt3t.js +253 -0
- package/dist/chunks/{model-resolver-97aeaand.js → instance-5fec3t3w.js} +9 -9
- package/dist/chunks/{model-resolver-0epwncsf.js → instance-5kbwm9w7.js} +3 -3
- package/dist/chunks/{model-resolver-5m9w47nd.js → instance-5m9w47nd.js} +1 -1
- package/dist/chunks/{model-resolver-kxvb3car.js → instance-5nsk3cgd.js} +20 -20
- package/dist/chunks/{model-resolver-wat9ccs0.js → instance-5qw0f10w.js} +16 -16
- package/dist/chunks/{model-resolver-j5cam5cc.js → instance-610qr0kb.js} +96 -96
- package/dist/chunks/{model-resolver-62dx9yxp.js → instance-63a469gh.js} +35 -35
- package/dist/chunks/instance-65q80m5k.js +26 -0
- package/dist/chunks/{model-resolver-he27pt63.js → instance-68wqtz75.js} +1 -1
- package/dist/chunks/{model-resolver-d9kycxq3.js → instance-6am9e49w.js} +9 -9
- package/dist/chunks/{model-resolver-pbfwh0cy.js → instance-6hh8tjw2.js} +7 -7
- package/dist/chunks/{model-resolver-9g0x53p6.js → instance-6hysr14g.js} +28 -28
- package/dist/chunks/{model-resolver-x7srd6wz.js → instance-6mt73k75.js} +9 -9
- package/dist/chunks/{model-resolver-fcxqfe59.js → instance-6n70g1xh.js} +6 -6
- package/dist/chunks/{model-resolver-yfkx0eqm.js → instance-6wmwxeyx.js} +26 -26
- package/dist/chunks/{model-resolver-6xb47vfp.js → instance-6xb47vfp.js} +1 -1
- package/dist/chunks/{model-resolver-x6v0h5p6.js → instance-6xp5z83v.js} +11 -11
- package/dist/chunks/{model-resolver-hejxbgj7.js → instance-73z18d76.js} +23 -23
- package/dist/chunks/{model-resolver-7bmhse3q.js → instance-7bmhse3q.js} +1 -1
- package/dist/chunks/{model-resolver-cxm67pkc.js → instance-7kxapdtj.js} +5 -5
- package/dist/chunks/{model-resolver-7gegkexy.js → instance-7mkz6cpd.js} +3 -3
- package/dist/chunks/{model-resolver-aw7rh1ww.js → instance-7n2qgph2.js} +23 -23
- package/dist/chunks/{model-resolver-vv44hwmw.js → instance-81fjg4yx.js} +12 -12
- package/dist/chunks/{model-resolver-gd3ka9py.js → instance-83gvq0ye.js} +4 -4
- package/dist/chunks/{model-resolver-84txncab.js → instance-84txncab.js} +1 -1
- package/dist/chunks/{model-resolver-89znhe33.js → instance-89znhe33.js} +1 -1
- package/dist/chunks/{model-resolver-8m6m0r52.js → instance-8m6m0r52.js} +1 -1
- package/dist/chunks/{model-resolver-c9b6c6br.js → instance-8mxs6q5q.js} +44 -44
- package/dist/chunks/{model-resolver-vwvxcq06.js → instance-8pa4512d.js} +5 -5
- package/dist/chunks/{model-resolver-q2t1kx4r.js → instance-8wp5nj2m.js} +2 -2
- package/dist/chunks/{model-resolver-j09zfasm.js → instance-91qna3x0.js} +3 -3
- package/dist/chunks/{model-resolver-75qns3nc.js → instance-98pzc9xt.js} +32 -32
- package/dist/chunks/{model-resolver-n3qtygy3.js → instance-9jaqn8p5.js} +7 -7
- package/dist/chunks/{model-resolver-fptw13bf.js → instance-9mgbv78s.js} +21 -21
- package/dist/chunks/{model-resolver-8ss8m2w6.js → instance-9vmcz4h6.js} +25 -25
- package/dist/chunks/{model-resolver-x2m64zns.js → instance-9wqt6yc5.js} +33 -33
- package/dist/chunks/{model-resolver-t57shhp7.js → instance-9y3hqzrg.js} +33 -33
- package/dist/chunks/{model-resolver-e8pe5bs3.js → instance-a28eztqj.js} +43 -43
- package/dist/chunks/{model-resolver-1xyzrv88.js → instance-a34xer23.js} +18 -18
- package/dist/chunks/{model-resolver-y15vpdnr.js → instance-a7bcxdzj.js} +9 -9
- package/dist/chunks/{model-resolver-s4xtvnse.js → instance-acrgyb43.js} +35 -35
- package/dist/chunks/{model-resolver-b3f8fkhc.js → instance-b3f8fkhc.js} +2 -2
- package/dist/chunks/{model-resolver-dxy7xx6d.js → instance-b487sczv.js} +7 -7
- package/dist/chunks/{model-resolver-hthjksz6.js → instance-b7kxsjye.js} +31 -31
- package/dist/chunks/{model-resolver-bjx1sjef.js → instance-bjx1sjef.js} +2 -2
- package/dist/chunks/{model-resolver-4xdpab2z.js → instance-bxqk5pf5.js} +9 -9
- package/dist/chunks/instance-by5v678g.js +18 -0
- package/dist/chunks/{model-resolver-ve4j09ev.js → instance-bz0esz96.js} +34 -34
- package/dist/chunks/{model-resolver-j62t34ty.js → instance-bz3703j4.js} +4 -4
- package/dist/chunks/{model-resolver-8e78msr1.js → instance-c2kw168f.js} +14 -14
- package/dist/chunks/{model-resolver-c41wscbt.js → instance-c41wscbt.js} +2 -2
- package/dist/chunks/{model-resolver-nveymbys.js → instance-c667ea02.js} +3 -3
- package/dist/chunks/{model-resolver-z64e08bt.js → instance-c75knw3b.js} +11 -11
- package/dist/chunks/{model-resolver-c8ax2afj.js → instance-c8ax2afj.js} +2 -2
- package/dist/chunks/{model-resolver-v7shq5xq.js → instance-cfx9nmr8.js} +24 -24
- package/dist/chunks/{model-resolver-kxrk9wqg.js → instance-d96awtdb.js} +14 -14
- package/dist/chunks/instance-dd39q6h3.js +513 -0
- package/dist/chunks/{model-resolver-vq8v8vez.js → instance-de4tk2kz.js} +16 -16
- package/dist/chunks/{model-resolver-1zsq2bqn.js → instance-dgcvqrm7.js} +11 -11
- package/dist/chunks/{model-resolver-0z2tybs7.js → instance-dpk9s60g.js} +4 -4
- package/dist/chunks/{model-resolver-y71avatq.js → instance-dpkg50ah.js} +4 -4
- package/dist/chunks/{model-resolver-8zda0nf7.js → instance-dpwn1cem.js} +11 -11
- package/dist/chunks/{model-resolver-00hydevz.js → instance-dqrdxvr6.js} +19 -19
- package/dist/chunks/{model-resolver-drwq78ky.js → instance-drwq78ky.js} +1 -1
- package/dist/chunks/{model-resolver-2rehhz5t.js → instance-dx0ahrbs.js} +11 -11
- package/dist/chunks/{model-resolver-5qd3pb7m.js → instance-e3qxr5gk.js} +2 -2
- package/dist/chunks/{model-resolver-hsnz0d85.js → instance-e55zmt9g.js} +11 -11
- package/dist/chunks/{model-resolver-ph842b28.js → instance-eahhehpg.js} +4 -4
- package/dist/chunks/{model-resolver-z6xnm1hd.js → instance-ecb995cy.js} +24 -24
- package/dist/chunks/{model-resolver-6b3rp9xb.js → instance-eebbcbg0.js} +23 -23
- package/dist/chunks/{model-resolver-eej6y6fw.js → instance-eej6y6fw.js} +2 -2
- package/dist/chunks/{model-resolver-7qy5krn4.js → instance-eewvv2kc.js} +49 -49
- package/dist/chunks/{model-resolver-ef5x83kb.js → instance-ef5x83kb.js} +1 -1
- package/dist/chunks/{model-resolver-qeay7bfp.js → instance-em38mb3z.js} +50 -50
- package/dist/chunks/{model-resolver-es1vcfrp.js → instance-es1vcfrp.js} +3 -3
- package/dist/chunks/{model-resolver-mt7m3ya6.js → instance-eywxhyst.js} +11 -11
- package/dist/chunks/{model-resolver-pj2kjhp4.js → instance-f383z995.js} +28 -28
- package/dist/chunks/{model-resolver-zkqkkjp9.js → instance-fbdvw7d5.js} +29 -29
- package/dist/chunks/{model-resolver-267qws5w.js → instance-fe39dvrz.js} +19 -19
- package/dist/chunks/{model-resolver-qwjmgwmn.js → instance-fgem0d3n.js} +8 -8
- package/dist/chunks/{model-resolver-hq3c8me3.js → instance-fxaymqdw.js} +4 -4
- package/dist/chunks/{model-resolver-1y24xx8v.js → instance-fxt8cxhv.js} +45 -45
- package/dist/chunks/{model-resolver-gd4qta3r.js → instance-gd4qta3r.js} +1 -1
- package/dist/chunks/{model-resolver-cpneeje0.js → instance-gjwgx2c5.js} +9 -9
- package/dist/chunks/{model-resolver-gk8qb678.js → instance-gk8qb678.js} +1 -1
- package/dist/chunks/{model-resolver-btz0t88h.js → instance-gmxdk168.js} +27 -27
- package/dist/chunks/{model-resolver-thxhb584.js → instance-gshs7jb6.js} +4 -4
- package/dist/chunks/{model-resolver-rwm5vee1.js → instance-gst7axd9.js} +4 -4
- package/dist/chunks/{model-resolver-qfxdb210.js → instance-gsxqm9kc.js} +8 -8
- package/dist/chunks/{model-resolver-ykvkrf63.js → instance-gw7gqfev.js} +5 -5
- package/dist/chunks/{model-resolver-h6vf3j39.js → instance-h6vf3j39.js} +1 -1
- package/dist/chunks/{model-resolver-52ghtah7.js → instance-h70qh0pf.js} +8 -8
- package/dist/chunks/{model-resolver-31xfzrxg.js → instance-h7s7r6s9.js} +5 -5
- package/dist/chunks/{model-resolver-zp6x4rdv.js → instance-h92pexg6.js} +11 -11
- package/dist/chunks/{model-resolver-s76dkkvr.js → instance-h9y3gc81.js} +20 -20
- package/dist/chunks/{model-resolver-c7cb53f3.js → instance-hem2fds5.js} +13 -13
- package/dist/chunks/{model-resolver-hgz4x7wa.js → instance-hgz4x7wa.js} +1 -1
- package/dist/chunks/{model-resolver-jdz4qjxc.js → instance-hqhp0zxs.js} +4 -4
- package/dist/chunks/{model-resolver-k9byjnss.js → instance-ht9x2vd6.js} +11 -11
- package/dist/chunks/{model-resolver-my4zabxr.js → instance-hzrfc1p4.js} +3 -3
- package/dist/chunks/{model-resolver-tmzvxbcr.js → instance-j1p9px45.js} +10 -10
- package/dist/chunks/{model-resolver-g3pjsnhq.js → instance-j3gj8bpw.js} +22 -22
- package/dist/chunks/{model-resolver-j56e64zr.js → instance-j56e64zr.js} +1 -1
- package/dist/chunks/{model-resolver-wpdtsyf6.js → instance-j5q539aw.js} +22 -22
- package/dist/chunks/{model-resolver-czz8a252.js → instance-j60gn3pj.js} +27 -27
- package/dist/chunks/{model-resolver-evq0a796.js → instance-ja6nd376.js} +62 -62
- package/dist/chunks/{model-resolver-jxr5ks98.js → instance-jp4d7tph.js} +6 -6
- package/dist/chunks/{model-resolver-ns4jf56n.js → instance-js94w814.js} +30 -30
- package/dist/chunks/{model-resolver-9mk6smr7.js → instance-k1n01d0g.js} +18 -18
- package/dist/chunks/{model-resolver-ytm23z63.js → instance-kb7tk14c.js} +20 -20
- package/dist/chunks/{model-resolver-952eaccn.js → instance-kb81nczd.js} +22 -22
- package/dist/chunks/{model-resolver-vwt8phtz.js → instance-kbvqrc92.js} +20 -20
- package/dist/chunks/{model-resolver-r3dvpv5z.js → instance-kch01m1z.js} +30 -30
- package/dist/chunks/{model-resolver-z525se4v.js → instance-knx1mpgn.js} +21 -21
- package/dist/chunks/{model-resolver-dg7e64je.js → instance-kprj14vv.js} +13 -13
- package/dist/chunks/{model-resolver-ds4xae65.js → instance-kssbe8nb.js} +8 -8
- package/dist/chunks/{model-resolver-pqf191vy.js → instance-kszv5zxs.js} +17 -17
- package/dist/chunks/{model-resolver-mdgny2h2.js → instance-kt2xfrns.js} +63 -63
- package/dist/chunks/{model-resolver-9zjswjmw.js → instance-kte28av3.js} +8 -8
- package/dist/chunks/{model-resolver-q0zbnr5v.js → instance-m8z4j9he.js} +6 -6
- package/dist/chunks/{model-resolver-m9w0rfyh.js → instance-m9w0rfyh.js} +1 -1
- package/dist/chunks/{model-resolver-7atybeme.js → instance-mf3tt33a.js} +18 -18
- package/dist/chunks/{model-resolver-brqa01n9.js → instance-mfhppze3.js} +23 -23
- package/dist/chunks/{model-resolver-addxnjmp.js → instance-mxvxcxwy.js} +4 -4
- package/dist/chunks/{model-resolver-f6vfcazt.js → instance-n9n1my3y.js} +15 -15
- package/dist/chunks/{model-resolver-hyay7qq8.js → instance-ng3918dk.js} +8 -8
- package/dist/chunks/{model-resolver-nma959mg.js → instance-nma959mg.js} +1 -1
- package/dist/chunks/{model-resolver-5yzzbxa7.js → instance-p37cw4rj.js} +8 -8
- package/dist/chunks/{model-resolver-3j5kk4r4.js → instance-p8kjk1y4.js} +60 -60
- package/dist/chunks/{model-resolver-rbr6e3az.js → instance-pddvn4ak.js} +46 -46
- package/dist/chunks/{model-resolver-jepehhcn.js → instance-pe0vaf1g.js} +6 -6
- package/dist/chunks/{model-resolver-8asyfh9s.js → instance-pgxhr7ry.js} +6 -6
- package/dist/chunks/{model-resolver-pjvnvgmy.js → instance-pjvnvgmy.js} +1 -1
- package/dist/chunks/{model-resolver-pknna89w.js → instance-pknna89w.js} +1 -1
- package/dist/chunks/{model-resolver-9q2dymh5.js → instance-pmdm3hax.js} +51 -51
- package/dist/chunks/{model-resolver-yesxfxzm.js → instance-ppc4rg1w.js} +14 -14
- package/dist/chunks/{model-resolver-skhz7g2d.js → instance-pq5v3pd8.js} +25 -25
- package/dist/chunks/{model-resolver-66c2wr2a.js → instance-pt21w9jz.js} +10 -10
- package/dist/chunks/{model-resolver-vk4601vm.js → instance-pvb6eze4.js} +18 -18
- package/dist/chunks/{model-resolver-pm617sjb.js → instance-q1tvsmm7.js} +11 -11
- package/dist/chunks/{model-resolver-0cyezpg7.js → instance-q1vnr78s.js} +9 -9
- package/dist/chunks/{model-resolver-n2rv9ytx.js → instance-q7tf21sk.js} +12 -12
- package/dist/chunks/{model-resolver-bs6f72ms.js → instance-qepgs3zw.js} +10 -10
- package/dist/chunks/{model-resolver-0jwsre1p.js → instance-qgn6gcr1.js} +5 -5
- package/dist/chunks/{model-resolver-repb58am.js → instance-qh8vdwx1.js} +8 -8
- package/dist/chunks/{model-resolver-mjwve1nx.js → instance-qmkfnjtm.js} +35 -35
- package/dist/chunks/{model-resolver-qnc92qwc.js → instance-qnc92qwc.js} +1 -1
- package/dist/chunks/{model-resolver-qsdy395h.js → instance-qsdy395h.js} +1 -1
- package/dist/chunks/{model-resolver-2z1sbxkm.js → instance-r2c0cc8a.js} +18 -18
- package/dist/chunks/{model-resolver-wr9zkec4.js → instance-r2mctg0a.js} +14 -14
- package/dist/chunks/{model-resolver-1gpb38yh.js → instance-r3pqm3re.js} +9 -9
- package/dist/chunks/{model-resolver-xpffpww7.js → instance-r82vzbv4.js} +11 -11
- package/dist/chunks/{model-resolver-25tpx51f.js → instance-r9dk3pzz.js} +13 -13
- package/dist/chunks/{model-resolver-j043eqhj.js → instance-rbrz49bg.js} +30 -30
- package/dist/chunks/{model-resolver-w0n5n1pn.js → instance-rdec90m5.js} +13 -13
- package/dist/chunks/{model-resolver-rdw6cm16.js → instance-rdw6cm16.js} +1 -1
- package/dist/chunks/{model-resolver-zehn0qfn.js → instance-rgec3vff.js} +40 -40
- package/dist/chunks/{model-resolver-r4yqrmdq.js → instance-rkdvqggb.js} +5 -5
- package/dist/chunks/{model-resolver-6pc27hjz.js → instance-rkprpv83.js} +6 -6
- package/dist/chunks/{model-resolver-wkw6304r.js → instance-rpwdzjd4.js} +16 -16
- package/dist/chunks/{model-resolver-rjmj41vv.js → instance-rq1k9zhx.js} +4 -4
- package/dist/chunks/{model-resolver-jaawwjdn.js → instance-rq46pevd.js} +28 -28
- package/dist/chunks/{model-resolver-xfwgz2sz.js → instance-rzjekkwt.js} +11 -11
- package/dist/chunks/{model-resolver-5fn8kb1m.js → instance-skv3wcb4.js} +36 -36
- package/dist/chunks/{model-resolver-rx9sw936.js → instance-sqhmztbs.js} +38 -38
- package/dist/chunks/{model-resolver-syv4x271.js → instance-syv4x271.js} +1 -1
- package/dist/chunks/{model-resolver-eaj1djv9.js → instance-t550f9t1.js} +8 -8
- package/dist/chunks/{model-resolver-t8h80vnj.js → instance-t93akgjb.js} +27 -27
- package/dist/chunks/{model-resolver-tazgh4e4.js → instance-tazgh4e4.js} +1 -1
- package/dist/chunks/{model-resolver-tdstcens.js → instance-tdstcens.js} +1 -1
- package/dist/chunks/{model-resolver-tkb22qbm.js → instance-tkb22qbm.js} +2 -2
- package/dist/chunks/{model-resolver-nsep0bnj.js → instance-txdkr3s4.js} +10 -10
- package/dist/chunks/{model-resolver-tyytaxap.js → instance-tyytaxap.js} +1 -1
- package/dist/chunks/{model-resolver-0bg0bx69.js → instance-v0es1rhs.js} +5 -5
- package/dist/chunks/{model-resolver-4a5ztk63.js → instance-v5c6barj.js} +47 -47
- package/dist/chunks/{model-resolver-v7p4zvkq.js → instance-v7p4zvkq.js} +2 -2
- package/dist/chunks/{model-resolver-gqvee6ey.js → instance-vct9a0jq.js} +20 -20
- package/dist/chunks/{model-resolver-veqvce7d.js → instance-veqvce7d.js} +1 -1
- package/dist/chunks/{model-resolver-drnf6xwf.js → instance-vjjaysxc.js} +2 -2
- package/dist/chunks/{model-resolver-1ggxa6t4.js → instance-vmg6wk38.js} +84 -84
- package/dist/chunks/{model-resolver-fg0se8bt.js → instance-vmw2309x.js} +33 -33
- package/dist/chunks/{model-resolver-hxrx80a3.js → instance-vrga0r6z.js} +38 -38
- package/dist/chunks/{model-resolver-vk084q95.js → instance-vxn6q82b.js} +38 -38
- package/dist/chunks/{model-resolver-vzs5sf6e.js → instance-vzs5sf6e.js} +1 -1
- package/dist/chunks/{model-resolver-gfhy63hj.js → instance-w2ccq8fn.js} +17 -17
- package/dist/chunks/{model-resolver-dssbfrwz.js → instance-w2h15q85.js} +5 -5
- package/dist/chunks/{model-resolver-w3wsvvr9.js → instance-w3wsvvr9.js} +1 -1
- package/dist/chunks/{model-resolver-b8zkqphn.js → instance-w8rbtm3j.js} +19 -19
- package/dist/chunks/{model-resolver-wd87259q.js → instance-wd87259q.js} +1 -1
- package/dist/chunks/{model-resolver-438mmgwp.js → instance-whjf4gy9.js} +1 -1
- package/dist/chunks/{model-resolver-wvnxh5mx.js → instance-wjsxeca6.js} +12 -12
- package/dist/chunks/{model-resolver-d07a65d0.js → instance-wmmcjnbx.js} +32 -32
- package/dist/chunks/{model-resolver-arvc38t3.js → instance-wn3t7bpb.js} +5 -5
- package/dist/chunks/{model-resolver-f8w4kezf.js → instance-wqzzjrnt.js} +15 -15
- package/dist/chunks/{model-resolver-7428vhhy.js → instance-x113b0xz.js} +15 -15
- package/dist/chunks/{model-resolver-kc9gjmg8.js → instance-x2h9ec76.js} +17 -17
- package/dist/chunks/{model-resolver-2khnwfma.js → instance-x36jn30v.js} +20 -20
- package/dist/chunks/{model-resolver-znvvnn0n.js → instance-x5h44zm2.js} +14 -14
- package/dist/chunks/{model-resolver-20vh3zss.js → instance-xatakwe1.js} +13 -13
- package/dist/chunks/{model-resolver-8xshesq6.js → instance-xfewft5k.js} +4 -4
- package/dist/chunks/{model-resolver-bezqnnbp.js → instance-xp066kac.js} +13 -13
- package/dist/chunks/{model-resolver-spzmyp0d.js → instance-xt3y6wcz.js} +5 -5
- package/dist/chunks/{model-resolver-4zj9c7sr.js → instance-xzfz3f2s.js} +22 -22
- package/dist/chunks/{model-resolver-t2vkhgbg.js → instance-y0afz0bn.js} +24 -24
- package/dist/chunks/{model-resolver-y1fvbwt7.js → instance-y1fvbwt7.js} +1 -1
- package/dist/chunks/{model-resolver-7x4tntjh.js → instance-y7zbaxef.js} +1 -1
- package/dist/chunks/{model-resolver-hcc7h0se.js → instance-y81ryenr.js} +25 -25
- package/dist/chunks/{model-resolver-xmkm7fbj.js → instance-y85gn7vd.js} +35 -35
- package/dist/chunks/{model-resolver-yy2bf7rf.js → instance-yjbszvmy.js} +7 -7
- package/dist/chunks/{model-resolver-shc06m3c.js → instance-ykswskn7.js} +34 -34
- package/dist/chunks/{model-resolver-n61013np.js → instance-ynmknp8q.js} +11 -11
- package/dist/chunks/{model-resolver-r8xr0va3.js → instance-yp2x3t23.js} +4 -4
- package/dist/chunks/{model-resolver-wev7e6ck.js → instance-yyn6mvd2.js} +11 -11
- package/dist/chunks/{model-resolver-z0bkrqjs.js → instance-z0bkrqjs.js} +1 -1
- package/dist/chunks/{model-resolver-3j6qp9bc.js → instance-z25cqdnr.js} +17 -17
- package/dist/chunks/{model-resolver-3e06xrhq.js → instance-z5b3en8r.js} +21 -21
- package/dist/chunks/{model-resolver-x2qxvyvc.js → instance-z5pd7bnx.js} +29 -29
- package/dist/chunks/{model-resolver-yav78m6g.js → instance-z5pgf1ry.js} +15 -15
- package/dist/chunks/{model-resolver-f7nkyddb.js → instance-zgnxgcd3.js} +9 -9
- package/dist/chunks/{model-resolver-89be0nvq.js → instance-zhtvqevc.js} +15 -15
- package/dist/chunks/{model-resolver-0j1h8p53.js → instance-zmzkayzc.js} +28 -28
- package/dist/chunks/{model-resolver-j5xf5m5x.js → instance-zn53zvnm.js} +28 -28
- package/dist/chunks/{model-resolver-n8anjzen.js → instance-znfzh5t4.js} +35 -35
- package/dist/chunks/{model-resolver-k5dc2vmd.js → instance-zny7atnq.js} +9 -9
- package/dist/chunks/{model-resolver-9h1rq4nb.js → instance-zqv63ykn.js} +11 -11
- package/dist/chunks/{model-resolver-zr2ceqn5.js → instance-zr2ceqn5.js} +1 -1
- package/dist/chunks/{model-resolver-zxq2ej10.js → instance-zxq2ej10.js} +1 -1
- package/dist/codemode/catalog.js +1 -1
- package/dist/codemode/instructions.js +7 -7
- package/dist/codemode/tool.js +3 -3
- package/dist/codemode/web.js +1 -1
- package/dist/command.js +87 -87
- 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 +120 -120
- 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 +121 -121
- 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 +123 -123
- package/dist/credential/sql.js +2 -2
- package/dist/credential.js +85 -85
- package/dist/database/database.js +72 -72
- package/dist/database/drizzle/effect-sqlite/driver.js +14 -14
- package/dist/database/drizzle/effect-sqlite/index.js +14 -14
- package/dist/database/drizzle/effect-sqlite/session.js +11 -11
- package/dist/database/drizzle/index.js +15 -15
- package/dist/database/drizzle/internal/drizzle-utils.js +1 -1
- package/dist/database/drizzle/sqlite-core/effect/count.js +1 -1
- package/dist/database/drizzle/sqlite-core/effect/db.js +9 -9
- package/dist/database/drizzle/sqlite-core/effect/delete.js +2 -2
- package/dist/database/drizzle/sqlite-core/effect/index.js +10 -10
- package/dist/database/drizzle/sqlite-core/effect/insert.js +2 -2
- package/dist/database/drizzle/sqlite-core/effect/query.js +1 -1
- package/dist/database/drizzle/sqlite-core/effect/raw.js +1 -1
- package/dist/database/drizzle/sqlite-core/effect/select.js +2 -2
- package/dist/database/drizzle/sqlite-core/effect/session.js +10 -10
- package/dist/database/drizzle/sqlite-core/effect/update.js +2 -2
- package/dist/database/drizzle.js +16 -16
- package/dist/database/migration/20260127222353_familiar_lady_ursula.js +1 -1
- package/dist/database/migration/20260211171708_add_project_commands.js +1 -1
- package/dist/database/migration/20260213144116_wakeful_the_professor.js +1 -1
- package/dist/database/migration/20260225215848_workspace.js +1 -1
- package/dist/database/migration/20260227213759_add_session_workspace_id.js +1 -1
- package/dist/database/migration/20260228203230_blue_harpoon.js +1 -1
- package/dist/database/migration/20260303231226_add_workspace_fields.js +1 -1
- package/dist/database/migration/20260309230000_move_org_to_state.js +1 -1
- package/dist/database/migration/20260312043431_session_message_cursor.js +1 -1
- package/dist/database/migration/20260323234822_events.js +1 -1
- package/dist/database/migration/20260410174513_workspace-name.js +1 -1
- package/dist/database/migration/20260413175956_chief_energizer.js +1 -1
- package/dist/database/migration/20260423070820_add_icon_url_override.js +1 -1
- package/dist/database/migration/20260427172553_slow_nightmare.js +1 -1
- package/dist/database/migration/20260428004200_add_session_path.js +1 -1
- package/dist/database/migration/20260501142318_next_venus.js +1 -1
- package/dist/database/migration/20260504145000_add_sync_owner.js +1 -1
- package/dist/database/migration/20260507164347_add_workspace_time.js +1 -1
- package/dist/database/migration/20260510033149_session_usage.js +1 -1
- package/dist/database/migration/20260511000411_data_migration_state.js +1 -1
- package/dist/database/migration/20260511173437_session-metadata.js +1 -1
- package/dist/database/migration/20260601010001_normalize_storage_paths.js +1 -1
- package/dist/database/migration/20260601202201_amazing_prowler.js +1 -1
- package/dist/database/migration/20260602002951_lowly_union_jack.js +1 -1
- package/dist/database/migration/20260602182828_add_project_directories.js +1 -1
- package/dist/database/migration/20260603001617_session_message_projection_indexes.js +1 -1
- package/dist/database/migration/20260603040000_session_message_projection_order.js +1 -1
- package/dist/database/migration/20260603141458_session_input_inbox.js +1 -1
- package/dist/database/migration/20260603160727_jittery_ezekiel_stane.js +1 -1
- package/dist/database/migration/20260604172448_event_sourced_session_input.js +1 -1
- package/dist/database/migration/20260605003541_add_session_context_snapshot.js +1 -1
- package/dist/database/migration/20260605042240_add_context_epoch_agent.js +1 -1
- package/dist/database/migration/20260611035744_credential.js +1 -1
- package/dist/database/migration/20260611192811_lush_chimera.js +1 -1
- package/dist/database/migration/20260612174303_project_dir_strategy.js +1 -1
- package/dist/database/migration/20260622142730_simplify_session_context_epoch.js +1 -1
- package/dist/database/migration/20260622170816_reset_v2_session_state.js +1 -1
- package/dist/database/migration/20260622202450_simplify_session_input.js +1 -1
- package/dist/database/migration/20260804233008_loose_psylocke.js +1 -1
- package/dist/database/migration/20260805200742_import_legacy_credentials.js +1 -1
- package/dist/database/migration/20260808023530_workspace_domain.js +1 -1
- package/dist/database/migration/20260811161259_execution_claim_attempts.js +1 -1
- package/dist/database/migration/20260812181746_session_inbox.js +1 -1
- package/dist/database/migration/20260812213948_worktree.js +1 -1
- package/dist/database/migration/20260819222447_session_viewed_state.js +1 -1
- package/dist/database/migration/20260823191254_nullable_workspace_binding.js +1 -1
- package/dist/database/migration/20260910120000_clear_v1_session_permission.js +1 -1
- package/dist/database/migration/20260923013825_project_time_active.js +1 -1
- package/dist/database/migration/20261007190000_azure_cli_external_credential.js +1 -1
- package/dist/database/migration/20261010180456_project_time_archived.js +1 -1
- package/dist/database/migration.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 +368 -368
- package/dist/effect/app-node-platform.js +2 -2
- package/dist/effect/keyed-mutex.js +3 -3
- package/dist/effect/websocket-constructor.js +1 -1
- package/dist/environment/driver.js +1 -1
- package/dist/environment/environment.js +95 -95
- package/dist/environment/exec-defaults.js +2 -2
- package/dist/environment/files.js +1 -1
- package/dist/environment/index.js +97 -97
- 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 +222 -222
- package/dist/filesystem/protected.js +1 -1
- package/dist/filesystem/search.js +105 -105
- package/dist/filesystem/watcher-binding.js +3 -3
- package/dist/filesystem/watcher.js +15 -15
- package/dist/filesystem.js +108 -108
- package/dist/form.js +84 -84
- package/dist/formatter/builtins.js +2 -2
- 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 +93 -93
- 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 +87 -87
- package/dist/instructions/builtins.js +89 -89
- package/dist/instructions/index.js +5 -5
- 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 +136 -136
- package/dist/location-lifecycle.js +105 -105
- package/dist/location-service-map.js +88 -88
- package/dist/location-services.js +356 -356
- package/dist/location.js +87 -87
- package/dist/managed-policy.js +8 -8
- package/dist/mcp/client.js +93 -93
- package/dist/mcp/index.js +109 -109
- package/dist/mcp/instructions.js +131 -131
- 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 +93 -93
- package/dist/model-resolver.js +100 -100
- package/dist/model.js +102 -102
- package/dist/models-dev.js +109 -109
- 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 +117 -117
- package/dist/persistent-pty/binary.bun.js +1 -1
- package/dist/persistent-pty/daemon.js +1 -1
- package/dist/persistent-pty/index.js +88 -88
- 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 +5 -5
- 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 +117 -117
- package/dist/plugin/optimize.js +4 -4
- package/dist/plugin/plan.js +104 -104
- 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 +72 -72
- 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 +346 -346
- package/dist/plugin/tool-input-repair.js +4 -4
- package/dist/plugin/update.js +6 -6
- 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 +7 -7
- package/dist/plugin/websearch/firecrawl.js +6 -6
- package/dist/plugin/websearch/index.js +9 -9
- package/dist/plugin/websearch/mcp.js +2 -2
- package/dist/plugin/websearch/parallel.js +6 -6
- package/dist/plugin/websearch/tavily.js +6 -6
- package/dist/plugin/websearch/tinyfish.js +8 -8
- package/dist/plugin.js +220 -220
- package/dist/project/schema.js +4 -4
- package/dist/project/sql.js +4 -4
- package/dist/project.js +86 -86
- package/dist/provider.js +101 -101
- package/dist/pty/protocol.js +1 -1
- package/dist/pty/ticket.js +1 -1
- package/dist/pty.js +99 -99
- package/dist/reference/instructions.js +91 -91
- package/dist/reference.js +93 -93
- package/dist/repository-cache.js +83 -83
- package/dist/repository.js +1 -1
- package/dist/ripgrep/binary.js +2 -2
- package/dist/ripgrep.js +99 -99
- package/dist/rpc.js +88 -88
- package/dist/schema.js +1 -1
- package/dist/session/affinity.js +3 -3
- package/dist/session/command.js +76 -76
- package/dist/session/compaction.js +137 -137
- package/dist/session/context.js +153 -153
- package/dist/session/diff.js +90 -90
- package/dist/session/environment.js +5 -5
- package/dist/session/error.js +7 -7
- package/dist/session/event.js +1 -1
- package/dist/session/execution/restart.js +219 -219
- package/dist/session/execution.js +129 -129
- package/dist/session/generate.js +156 -156
- package/dist/session/history.js +15 -15
- package/dist/session/inbox.js +92 -92
- package/dist/session/info.js +3 -3
- package/dist/session/instruction-entry.js +81 -81
- package/dist/session/instruction-state.js +8 -8
- package/dist/session/instructions.js +99 -99
- package/dist/session/message-updater.js +4 -4
- 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 +224 -224
- 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 +2 -2
- package/dist/session/runner/step.js +125 -125
- package/dist/session/runner/to-llm-message.js +2 -2
- package/dist/session/schema.js +5 -5
- package/dist/session/session.js +166 -166
- package/dist/session/shell.js +132 -132
- package/dist/session/skill.js +107 -107
- 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 +203 -203
- 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 +213 -213
- 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 +15 -15
- package/dist/shell.js +134 -134
- package/dist/skill/discovery.js +6 -6
- package/dist/skill/instructions.js +109 -109
- package/dist/skill.js +112 -112
- package/dist/snapshot.js +93 -93
- 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 +122 -122
- package/dist/tool/plugin/file-diff.js +1 -1
- package/dist/tool/plugin/glob.js +126 -126
- 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 +103 -103
- package/dist/tool/plugin/read.js +123 -123
- package/dist/tool/plugin/shell.js +212 -212
- package/dist/tool/plugin/skill.js +113 -113
- package/dist/tool/plugin/subagent.js +212 -212
- package/dist/tool/plugin/webfetch.js +112 -112
- package/dist/tool/plugin/websearch.js +116 -116
- 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 +16 -16
- 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 +7 -7
- package/dist/v1/config/command.js +5 -5
- package/dist/v1/config/error.js +4 -4
- package/dist/v1/config/mcp.js +4 -4
- package/dist/v1/config/migrate.js +94 -94
- package/dist/v1/config/permission.js +7 -7
- 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 +87 -87
- package/dist/websearch.js +82 -82
- package/dist/wellknown/plugin.js +76 -76
- package/dist/wellknown.js +83 -83
- package/dist/workspace/driver.js +7 -7
- package/dist/workspace/sql.js +1 -1
- package/dist/workspace.js +82 -82
- 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 +98 -98
- package/package.json +8 -8
- package/dist/chunks/model-resolver-1y150ee2.js +0 -26
- package/dist/chunks/model-resolver-f9qvt350.js +0 -513
- package/dist/chunks/model-resolver-qdb1nj2v.js +0 -253
- package/dist/chunks/model-resolver-rap9a73h.js +0 -18
- /package/dist/chunks/{model-resolver-0qkdqm5v.js → instance-0qkdqm5v.js} +0 -0
- /package/dist/chunks/{model-resolver-0zkw76rk.js → instance-0zkw76rk.js} +0 -0
- /package/dist/chunks/{model-resolver-17cy0kzp.js → instance-17cy0kzp.js} +0 -0
- /package/dist/chunks/{model-resolver-1cnp2v09.js → instance-1cnp2v09.js} +0 -0
- /package/dist/chunks/{model-resolver-1kg9ymc8.js → instance-1kg9ymc8.js} +0 -0
- /package/dist/chunks/{model-resolver-24dcb14g.js → instance-24dcb14g.js} +0 -0
- /package/dist/chunks/{model-resolver-2710q6r3.js → instance-2710q6r3.js} +0 -0
- /package/dist/chunks/{model-resolver-2axfhc9x.js → instance-2axfhc9x.js} +0 -0
- /package/dist/chunks/{model-resolver-2bv980vf.js → instance-2bv980vf.js} +0 -0
- /package/dist/chunks/{model-resolver-2c3vjs8z.js → instance-2c3vjs8z.js} +0 -0
- /package/dist/chunks/{model-resolver-359p4xyc.js → instance-359p4xyc.js} +0 -0
- /package/dist/chunks/{model-resolver-3asan66x.js → instance-3asan66x.js} +0 -0
- /package/dist/chunks/{model-resolver-3t0ybcrp.js → instance-3t0ybcrp.js} +0 -0
- /package/dist/chunks/{model-resolver-3v8g72cx.js → instance-3v8g72cx.js} +0 -0
- /package/dist/chunks/{model-resolver-3wcehsnq.js → instance-3wcehsnq.js} +0 -0
- /package/dist/chunks/{model-resolver-43n2bw4t.js → instance-43n2bw4t.js} +0 -0
- /package/dist/chunks/{model-resolver-4knz6hnm.js → instance-4knz6hnm.js} +0 -0
- /package/dist/chunks/{model-resolver-4vcrnpx2.js → instance-4vcrnpx2.js} +0 -0
- /package/dist/chunks/{model-resolver-4y7fprxs.js → instance-4y7fprxs.js} +0 -0
- /package/dist/chunks/{model-resolver-53557ph1.js → instance-53557ph1.js} +0 -0
- /package/dist/chunks/{model-resolver-550bvhaj.js → instance-550bvhaj.js} +0 -0
- /package/dist/chunks/{model-resolver-6prwharc.js → instance-6prwharc.js} +0 -0
- /package/dist/chunks/{model-resolver-6q2bdcd1.js → instance-6q2bdcd1.js} +0 -0
- /package/dist/chunks/{model-resolver-7akdwqpd.js → instance-7akdwqpd.js} +0 -0
- /package/dist/chunks/{model-resolver-7m9af43g.js → instance-7m9af43g.js} +0 -0
- /package/dist/chunks/{model-resolver-822emrt2.js → instance-822emrt2.js} +0 -0
- /package/dist/chunks/{model-resolver-84wd9syh.js → instance-84wd9syh.js} +0 -0
- /package/dist/chunks/{model-resolver-88xbtdfr.js → instance-88xbtdfr.js} +0 -0
- /package/dist/chunks/{model-resolver-8n3pysct.js → instance-8n3pysct.js} +0 -0
- /package/dist/chunks/{model-resolver-8wj87zfr.js → instance-8wj87zfr.js} +0 -0
- /package/dist/chunks/{model-resolver-9a4afbnw.js → instance-9a4afbnw.js} +0 -0
- /package/dist/chunks/{model-resolver-9rqn6x4v.js → instance-9rqn6x4v.js} +0 -0
- /package/dist/chunks/{model-resolver-a6k6eb26.js → instance-a6k6eb26.js} +0 -0
- /package/dist/chunks/{model-resolver-af5trqkr.js → instance-af5trqkr.js} +0 -0
- /package/dist/chunks/{model-resolver-afrmfg78.js → instance-afrmfg78.js} +0 -0
- /package/dist/chunks/{model-resolver-aqzs7mqg.js → instance-aqzs7mqg.js} +0 -0
- /package/dist/chunks/{model-resolver-atq7p7m5.js → instance-atq7p7m5.js} +0 -0
- /package/dist/chunks/{model-resolver-bkyjaxrp.js → instance-bkyjaxrp.js} +0 -0
- /package/dist/chunks/{model-resolver-bmr6ed5q.js → instance-bmr6ed5q.js} +0 -0
- /package/dist/chunks/{model-resolver-bw78ga2c.js → instance-bw78ga2c.js} +0 -0
- /package/dist/chunks/{model-resolver-cf4snx6d.js → instance-cf4snx6d.js} +0 -0
- /package/dist/chunks/{model-resolver-cvy3z8tj.js → instance-cvy3z8tj.js} +0 -0
- /package/dist/chunks/{model-resolver-d9fn303g.js → instance-d9fn303g.js} +0 -0
- /package/dist/chunks/{model-resolver-d9jj8t3e.js → instance-d9jj8t3e.js} +0 -0
- /package/dist/chunks/{model-resolver-dajrwvna.js → instance-dajrwvna.js} +0 -0
- /package/dist/chunks/{model-resolver-dap0rakb.js → instance-dap0rakb.js} +0 -0
- /package/dist/chunks/{model-resolver-df08tz66.js → instance-df08tz66.js} +0 -0
- /package/dist/chunks/{model-resolver-dy18nga0.js → instance-dy18nga0.js} +0 -0
- /package/dist/chunks/{model-resolver-e5kj55wp.js → instance-e5kj55wp.js} +0 -0
- /package/dist/chunks/{model-resolver-e73j6tqm.js → instance-e73j6tqm.js} +0 -0
- /package/dist/chunks/{model-resolver-ec1grn59.js → instance-ec1grn59.js} +0 -0
- /package/dist/chunks/{model-resolver-eh3zwz77.js → instance-eh3zwz77.js} +0 -0
- /package/dist/chunks/{model-resolver-emrn6kk6.js → instance-emrn6kk6.js} +0 -0
- /package/dist/chunks/{model-resolver-f0mxakyp.js → instance-f0mxakyp.js} +0 -0
- /package/dist/chunks/{model-resolver-f6n9ztr4.js → instance-f6n9ztr4.js} +0 -0
- /package/dist/chunks/{model-resolver-faypxj3z.js → instance-faypxj3z.js} +0 -0
- /package/dist/chunks/{model-resolver-fd410y7t.js → instance-fd410y7t.js} +0 -0
- /package/dist/chunks/{model-resolver-g4wezp1m.js → instance-g4wezp1m.js} +0 -0
- /package/dist/chunks/{model-resolver-g86h250q.js → instance-g86h250q.js} +0 -0
- /package/dist/chunks/{model-resolver-gebd4c9n.js → instance-gebd4c9n.js} +0 -0
- /package/dist/chunks/{model-resolver-gftt206x.js → instance-gftt206x.js} +0 -0
- /package/dist/chunks/{model-resolver-hk9envan.js → instance-hk9envan.js} +0 -0
- /package/dist/chunks/{model-resolver-j2ntwpah.js → instance-j2ntwpah.js} +0 -0
- /package/dist/chunks/{model-resolver-j5zkgpj8.js → instance-j5zkgpj8.js} +0 -0
- /package/dist/chunks/{model-resolver-jjkms2e6.js → instance-jjkms2e6.js} +0 -0
- /package/dist/chunks/{model-resolver-jr7sbwjy.js → instance-jr7sbwjy.js} +0 -0
- /package/dist/chunks/{model-resolver-jwfs4k6c.js → instance-jwfs4k6c.js} +0 -0
- /package/dist/chunks/{model-resolver-jze0r7bz.js → instance-jze0r7bz.js} +0 -0
- /package/dist/chunks/{model-resolver-jzg6c2d5.js → instance-jzg6c2d5.js} +0 -0
- /package/dist/chunks/{model-resolver-m18g726c.js → instance-m18g726c.js} +0 -0
- /package/dist/chunks/{model-resolver-mp448xyj.js → instance-mp448xyj.js} +0 -0
- /package/dist/chunks/{model-resolver-msx8hqn2.js → instance-msx8hqn2.js} +0 -0
- /package/dist/chunks/{model-resolver-n05xt0ee.js → instance-n05xt0ee.js} +0 -0
- /package/dist/chunks/{model-resolver-n3j8tn72.js → instance-n3j8tn72.js} +0 -0
- /package/dist/chunks/{model-resolver-njntx4h6.js → instance-njntx4h6.js} +0 -0
- /package/dist/chunks/{model-resolver-pkyv6v7h.js → instance-pkyv6v7h.js} +0 -0
- /package/dist/chunks/{model-resolver-pyv0edze.js → instance-pyv0edze.js} +0 -0
- /package/dist/chunks/{model-resolver-q3sfg36h.js → instance-q3sfg36h.js} +0 -0
- /package/dist/chunks/{model-resolver-q74kybfr.js → instance-q74kybfr.js} +0 -0
- /package/dist/chunks/{model-resolver-qaymkmh1.js → instance-qaymkmh1.js} +0 -0
- /package/dist/chunks/{model-resolver-qb87gjwd.js → instance-qb87gjwd.js} +0 -0
- /package/dist/chunks/{model-resolver-qfa1cgps.js → instance-qfa1cgps.js} +0 -0
- /package/dist/chunks/{model-resolver-qg3g05ea.js → instance-qg3g05ea.js} +0 -0
- /package/dist/chunks/{model-resolver-qrg20bc0.js → instance-qrg20bc0.js} +0 -0
- /package/dist/chunks/{model-resolver-rcb2kzg1.js → instance-rcb2kzg1.js} +0 -0
- /package/dist/chunks/{model-resolver-sdp7kfr6.js → instance-sdp7kfr6.js} +0 -0
- /package/dist/chunks/{model-resolver-ssg3fenm.js → instance-ssg3fenm.js} +0 -0
- /package/dist/chunks/{model-resolver-ve7vex1e.js → instance-ve7vex1e.js} +0 -0
- /package/dist/chunks/{model-resolver-w803qqfp.js → instance-w803qqfp.js} +0 -0
- /package/dist/chunks/{model-resolver-wc3fc9cn.js → instance-wc3fc9cn.js} +0 -0
- /package/dist/chunks/{model-resolver-wer8tq1h.js → instance-wer8tq1h.js} +0 -0
- /package/dist/chunks/{model-resolver-wtztk69x.js → instance-wtztk69x.js} +0 -0
- /package/dist/chunks/{model-resolver-x0ckcb58.js → instance-x0ckcb58.js} +0 -0
- /package/dist/chunks/{model-resolver-x61499pn.js → instance-x61499pn.js} +0 -0
- /package/dist/chunks/{model-resolver-y44na4kk.js → instance-y44na4kk.js} +0 -0
- /package/dist/chunks/{model-resolver-y8f7s663.js → instance-y8f7s663.js} +0 -0
- /package/dist/chunks/{model-resolver-ygaqb7jw.js → instance-ygaqb7jw.js} +0 -0
- /package/dist/chunks/{model-resolver-ym463w8f.js → instance-ym463w8f.js} +0 -0
- /package/dist/chunks/{model-resolver-z5v4ffb3.js → instance-z5v4ffb3.js} +0 -0
- /package/dist/chunks/{model-resolver-z9919s4g.js → instance-z9919s4g.js} +0 -0
|
@@ -1,37 +1,37 @@
|
|
|
1
1
|
import {
|
|
2
2
|
useragent2
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./instance-1359n4t6.js";
|
|
4
4
|
import {
|
|
5
|
-
|
|
6
|
-
} from "./
|
|
5
|
+
Service81
|
|
6
|
+
} from "./instance-de4tk2kz.js";
|
|
7
7
|
import {
|
|
8
|
-
|
|
8
|
+
ID14,
|
|
9
9
|
Event18,
|
|
10
|
-
|
|
11
|
-
} from "./
|
|
10
|
+
Service68
|
|
11
|
+
} from "./instance-6hysr14g.js";
|
|
12
12
|
import {
|
|
13
13
|
key2
|
|
14
|
-
} from "./
|
|
14
|
+
} from "./instance-mxvxcxwy.js";
|
|
15
15
|
import {
|
|
16
|
-
|
|
16
|
+
ID12,
|
|
17
17
|
MethodID2
|
|
18
|
-
} from "./
|
|
18
|
+
} from "./instance-9wqt6yc5.js";
|
|
19
19
|
import {
|
|
20
20
|
which2
|
|
21
|
-
} from "./
|
|
21
|
+
} from "./instance-qaymkmh1.js";
|
|
22
22
|
import {
|
|
23
|
-
|
|
24
|
-
|
|
25
|
-
} from "./
|
|
23
|
+
ID11,
|
|
24
|
+
Service65
|
|
25
|
+
} from "./instance-9y3hqzrg.js";
|
|
26
26
|
import {
|
|
27
|
-
|
|
28
|
-
} from "./
|
|
27
|
+
ID10
|
|
28
|
+
} from "./instance-vmw2309x.js";
|
|
29
29
|
import {
|
|
30
30
|
iife2
|
|
31
|
-
} from "./
|
|
31
|
+
} from "./instance-1kg9ymc8.js";
|
|
32
32
|
import {
|
|
33
33
|
configuredSettings2
|
|
34
|
-
} from "./
|
|
34
|
+
} from "./instance-m8z4j9he.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 make6(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(ID11.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* Service81;
|
|
89
|
+
const credentials = yield* Service68;
|
|
90
|
+
const providers = yield* Service65;
|
|
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 make4(endpoints = {
|
|
|
114
114
|
const listing = {};
|
|
115
115
|
yield* ctx.integration.transform((editor) => {
|
|
116
116
|
editor.method.update({
|
|
117
|
-
integrationID:
|
|
117
|
+
integrationID: ID11.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: ID11.azure,
|
|
122
122
|
method: {
|
|
123
123
|
type: "key",
|
|
124
124
|
label: "API key",
|
|
@@ -136,7 +136,7 @@ function make4(endpoints = {
|
|
|
136
136
|
if (!available)
|
|
137
137
|
return;
|
|
138
138
|
editor.method.update({
|
|
139
|
-
integrationID:
|
|
139
|
+
integrationID: ID11.azure,
|
|
140
140
|
method: {
|
|
141
141
|
id: methodID,
|
|
142
142
|
type: "external",
|
|
@@ -164,8 +164,8 @@ function make4(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(ID11.azure);
|
|
168
|
+
const stored = connection?.type === "credential" ? yield* credentials.get(ID14.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 make4(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(ID11.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 make4(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(ID11.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(ID11.azure)?.models.keys() ?? [], (id) => [
|
|
234
234
|
id.toLowerCase(),
|
|
235
235
|
id
|
|
236
236
|
]));
|
|
@@ -243,7 +243,7 @@ function make4(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 === ID11.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 make4(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 !== ID11.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 make4(endpoints = {
|
|
|
283
283
|
};
|
|
284
284
|
});
|
|
285
285
|
}
|
|
286
|
-
const item = evt.get(
|
|
286
|
+
const item = evt.get(ID11.azure);
|
|
287
287
|
if (!item)
|
|
288
288
|
return;
|
|
289
289
|
evt.add({
|
|
@@ -294,7 +294,7 @@ function make4(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 !== ID11.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 make4(endpoints = {
|
|
|
306
306
|
}
|
|
307
307
|
if (!loaded.deployments)
|
|
308
308
|
return;
|
|
309
|
-
const catalog = models.list(
|
|
309
|
+
const catalog = models.list(ID11.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(ID11.azure, model.id);
|
|
314
314
|
}
|
|
315
315
|
for (const [id, model] of deployed) {
|
|
316
|
-
models.update(
|
|
316
|
+
models.update(ID11.azure, id, (draft) => Object.assign(draft, model));
|
|
317
317
|
}
|
|
318
318
|
});
|
|
319
|
-
yield* bus.subscribe(Event18.Switched).pipe(Stream.filter((event) => event.data.integrationID ===
|
|
319
|
+
yield* bus.subscribe(Event18.Switched).pipe(Stream.filter((event) => event.data.integrationID === ID12.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(ID11.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 make4(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 !== ID11.azure)
|
|
335
335
|
return;
|
|
336
336
|
const authorization = yield* bearer(evt.request.url);
|
|
337
337
|
if (!authorization)
|
|
@@ -340,9 +340,9 @@ function make4(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: ID11.azure });
|
|
344
344
|
yield* ctx.session.hook("experimental.ws.handshake", (evt) => Effect.gen(function* () {
|
|
345
|
-
if (evt.model.providerID !==
|
|
345
|
+
if (evt.model.providerID !== ID11.azure)
|
|
346
346
|
return;
|
|
347
347
|
const authorization = yield* bearer(evt.url);
|
|
348
348
|
if (!authorization)
|
|
@@ -351,11 +351,11 @@ function make4(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: ID11.azure });
|
|
355
355
|
})
|
|
356
356
|
});
|
|
357
357
|
}
|
|
358
|
-
var AzurePlugin2 =
|
|
358
|
+
var AzurePlugin2 = make6();
|
|
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 = ID10.make(deployment.name.toLowerCase());
|
|
397
397
|
const info = {
|
|
398
398
|
...structuredClone(model),
|
|
399
399
|
id,
|
|
400
|
-
modelID:
|
|
400
|
+
modelID: ID10.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 { make6, AzurePlugin2 };
|
|
@@ -2,10 +2,10 @@ import {
|
|
|
2
2
|
NotFound3,
|
|
3
3
|
WrongKind2,
|
|
4
4
|
Failed2
|
|
5
|
-
} from "./
|
|
5
|
+
} from "./instance-hgz4x7wa.js";
|
|
6
6
|
import {
|
|
7
7
|
__export
|
|
8
|
-
} from "./
|
|
8
|
+
} from "./instance-9rqn6x4v.js";
|
|
9
9
|
|
|
10
10
|
// src/environment/memory.ts
|
|
11
11
|
var exports_memory = {};
|
|
@@ -1,33 +1,33 @@
|
|
|
1
1
|
import {
|
|
2
2
|
useragent2
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./instance-1359n4t6.js";
|
|
4
4
|
import {
|
|
5
|
-
|
|
6
|
-
} from "./
|
|
5
|
+
Service81
|
|
6
|
+
} from "./instance-de4tk2kz.js";
|
|
7
7
|
import {
|
|
8
8
|
OAuth3,
|
|
9
9
|
Event18
|
|
10
|
-
} from "./
|
|
10
|
+
} from "./instance-6hysr14g.js";
|
|
11
11
|
import {
|
|
12
12
|
key2
|
|
13
|
-
} from "./
|
|
13
|
+
} from "./instance-mxvxcxwy.js";
|
|
14
14
|
import {
|
|
15
|
-
|
|
15
|
+
ID12,
|
|
16
16
|
MethodID2
|
|
17
|
-
} from "./
|
|
17
|
+
} from "./instance-9wqt6yc5.js";
|
|
18
18
|
import {
|
|
19
|
-
|
|
19
|
+
ID11,
|
|
20
20
|
aisdk2,
|
|
21
|
-
|
|
22
|
-
} from "./
|
|
21
|
+
Service65
|
|
22
|
+
} from "./instance-9y3hqzrg.js";
|
|
23
23
|
import {
|
|
24
|
-
|
|
25
|
-
|
|
26
|
-
} from "./
|
|
24
|
+
ID10,
|
|
25
|
+
Info19
|
|
26
|
+
} from "./instance-vmw2309x.js";
|
|
27
27
|
import {
|
|
28
28
|
success2,
|
|
29
29
|
error2
|
|
30
|
-
} from "./
|
|
30
|
+
} from "./instance-pjvnvgmy.js";
|
|
31
31
|
|
|
32
32
|
// src/plugin/provider/gitlab.ts
|
|
33
33
|
import os from "os";
|
|
@@ -35,8 +35,8 @@ import { Clock, Deferred, Effect, Exit, Option, Schema, Semaphore, Stream } from
|
|
|
35
35
|
import { HttpClient, HttpClientRequest, HttpClientResponse } from "effect/http";
|
|
36
36
|
import { define } from "@opencode/plugin/effect/plugin";
|
|
37
37
|
import { Form } from "@opencode/schema/form";
|
|
38
|
-
var providerID =
|
|
39
|
-
var integrationID =
|
|
38
|
+
var providerID = ID11.gitlab;
|
|
39
|
+
var integrationID = ID12.make("gitlab");
|
|
40
40
|
var methodID = MethodID2.make("pkce");
|
|
41
41
|
var bundledClientID = "fd180700a8f9c5d5557aca231632dd0611a1135a3bb510a741d5a988a3394fa7";
|
|
42
42
|
var legacyClientID = "1d89f9fdb23ee96d4e603201f6861dab6e143c5c3c00469a018a2d94bdc03d4e";
|
|
@@ -57,8 +57,8 @@ var refreshRetention = 60000;
|
|
|
57
57
|
var GitLabPlugin2 = define({
|
|
58
58
|
id: "opencode.provider.gitlab",
|
|
59
59
|
effect: Effect.fn(function* (ctx) {
|
|
60
|
-
const providers = yield*
|
|
61
|
-
const bus = yield*
|
|
60
|
+
const providers = yield* Service65;
|
|
61
|
+
const bus = yield* Service81;
|
|
62
62
|
const http = yield* HttpClient.HttpClient;
|
|
63
63
|
const loading = Semaphore.makeUnsafe(1);
|
|
64
64
|
const loaded = {};
|
|
@@ -185,7 +185,7 @@ var GitLabPlugin2 = define({
|
|
|
185
185
|
models: [
|
|
186
186
|
...item.models.values(),
|
|
187
187
|
...loaded.models.filter((model) => !item.models.has(model.id)).map((model) => ({
|
|
188
|
-
...
|
|
188
|
+
...Info19.default(providerID, ID10.make(model.id)),
|
|
189
189
|
name: `Agent Platform (${model.name})`,
|
|
190
190
|
package: aisdk2("gitlab-ai-provider"),
|
|
191
191
|
settings: { workflowRef: model.ref },
|
|
@@ -219,7 +219,7 @@ var GitLabPlugin2 = define({
|
|
|
219
219
|
});
|
|
220
220
|
}));
|
|
221
221
|
yield* ctx.aisdk.hook("language", Effect.fn(function* (evt) {
|
|
222
|
-
if (evt.model.providerID !==
|
|
222
|
+
if (evt.model.providerID !== ID11.gitlab)
|
|
223
223
|
return;
|
|
224
224
|
const featureFlags = typeof evt.options.featureFlags === "object" && evt.options.featureFlags ? evt.options.featureFlags : {};
|
|
225
225
|
const id = evt.model.modelID ?? evt.model.id;
|
|
@@ -1,10 +1,10 @@
|
|
|
1
1
|
import {
|
|
2
2
|
AbsolutePath2,
|
|
3
3
|
RelativePath2
|
|
4
|
-
} from "./
|
|
4
|
+
} from "./instance-z5v4ffb3.js";
|
|
5
5
|
import {
|
|
6
6
|
SessionSchema2
|
|
7
|
-
} from "./
|
|
7
|
+
} from "./instance-hzrfc1p4.js";
|
|
8
8
|
|
|
9
9
|
// src/session/info.ts
|
|
10
10
|
import { DateTime, Schema } from "effect";
|
|
@@ -1,118 +1,118 @@
|
|
|
1
1
|
import {
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
} from "./
|
|
2
|
+
Service82,
|
|
3
|
+
node86
|
|
4
|
+
} from "./instance-dpwn1cem.js";
|
|
5
5
|
import {
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
} from "./
|
|
6
|
+
Service78,
|
|
7
|
+
node82
|
|
8
|
+
} from "./instance-c2kw168f.js";
|
|
9
9
|
import {
|
|
10
10
|
VariantID2,
|
|
11
11
|
Ref2,
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
} from "./
|
|
12
|
+
Service64,
|
|
13
|
+
node67
|
|
14
|
+
} from "./instance-vmw2309x.js";
|
|
15
15
|
import {
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
} from "./
|
|
16
|
+
ID7,
|
|
17
|
+
Service49,
|
|
18
|
+
node52
|
|
19
|
+
} from "./instance-gmxdk168.js";
|
|
20
20
|
import {
|
|
21
21
|
AgentNotFoundError2
|
|
22
|
-
} from "./
|
|
22
|
+
} from "./instance-r3pqm3re.js";
|
|
23
23
|
import {
|
|
24
24
|
combine2
|
|
25
|
-
} from "./
|
|
25
|
+
} from "./instance-t550f9t1.js";
|
|
26
26
|
import {
|
|
27
27
|
provenance2
|
|
28
|
-
} from "./
|
|
28
|
+
} from "./instance-1rn5pcm9.js";
|
|
29
29
|
import {
|
|
30
30
|
entriesForRunner2
|
|
31
|
-
} from "./
|
|
31
|
+
} from "./instance-q1tvsmm7.js";
|
|
32
32
|
import {
|
|
33
|
-
|
|
34
|
-
|
|
35
|
-
} from "./
|
|
33
|
+
Service44,
|
|
34
|
+
node46
|
|
35
|
+
} from "./instance-dqrdxvr6.js";
|
|
36
36
|
import {
|
|
37
37
|
merge2
|
|
38
|
-
} from "./
|
|
38
|
+
} from "./instance-p8kjk1y4.js";
|
|
39
39
|
import {
|
|
40
40
|
make13
|
|
41
|
-
} from "./
|
|
41
|
+
} from "./instance-x5h44zm2.js";
|
|
42
|
+
import {
|
|
43
|
+
Service46,
|
|
44
|
+
node49
|
|
45
|
+
} from "./instance-kch01m1z.js";
|
|
46
|
+
import {
|
|
47
|
+
Service25,
|
|
48
|
+
node29
|
|
49
|
+
} from "./instance-w8rbtm3j.js";
|
|
42
50
|
import {
|
|
43
51
|
Service83,
|
|
44
52
|
node87
|
|
45
|
-
} from "./
|
|
53
|
+
} from "./instance-9vmcz4h6.js";
|
|
46
54
|
import {
|
|
47
|
-
|
|
55
|
+
Service29,
|
|
48
56
|
node33
|
|
49
|
-
} from "./
|
|
50
|
-
import {
|
|
51
|
-
Service47,
|
|
52
|
-
node51
|
|
53
|
-
} from "./model-resolver-8ss8m2w6.js";
|
|
57
|
+
} from "./instance-zn53zvnm.js";
|
|
54
58
|
import {
|
|
55
|
-
|
|
56
|
-
|
|
57
|
-
} from "./
|
|
59
|
+
Service28,
|
|
60
|
+
node32
|
|
61
|
+
} from "./instance-mfhppze3.js";
|
|
58
62
|
import {
|
|
59
63
|
Service26,
|
|
60
|
-
|
|
61
|
-
} from "./
|
|
62
|
-
import {
|
|
63
|
-
Service31,
|
|
64
|
-
node34
|
|
65
|
-
} from "./model-resolver-kxvb3car.js";
|
|
64
|
+
node30
|
|
65
|
+
} from "./instance-5nsk3cgd.js";
|
|
66
66
|
import {
|
|
67
|
-
|
|
68
|
-
|
|
69
|
-
} from "./
|
|
67
|
+
Service27,
|
|
68
|
+
node31
|
|
69
|
+
} from "./instance-kb7tk14c.js";
|
|
70
70
|
import {
|
|
71
|
-
|
|
72
|
-
|
|
73
|
-
} from "./
|
|
71
|
+
Service33,
|
|
72
|
+
node37
|
|
73
|
+
} from "./instance-kbvqrc92.js";
|
|
74
74
|
import {
|
|
75
|
-
|
|
75
|
+
Service31,
|
|
76
76
|
node35
|
|
77
|
-
} from "./
|
|
77
|
+
} from "./instance-js94w814.js";
|
|
78
78
|
import {
|
|
79
|
-
|
|
80
|
-
|
|
81
|
-
} from "./
|
|
79
|
+
Service39,
|
|
80
|
+
node41
|
|
81
|
+
} from "./instance-kprj14vv.js";
|
|
82
82
|
import {
|
|
83
83
|
__export
|
|
84
|
-
} from "./
|
|
84
|
+
} from "./instance-9rqn6x4v.js";
|
|
85
85
|
|
|
86
86
|
// src/session/context.ts
|
|
87
87
|
var exports_context = {};
|
|
88
88
|
__export(exports_context, {
|
|
89
|
-
Service: () =>
|
|
89
|
+
Service: () => Service24,
|
|
90
90
|
SessionContext: () => exports_context,
|
|
91
91
|
node: () => node28
|
|
92
92
|
});
|
|
93
93
|
import { Context, Effect, Layer } from "effect";
|
|
94
94
|
import { makeLocationNode } from "@opencode/util/effect/app-node";
|
|
95
|
-
class
|
|
95
|
+
class Service24 extends Context.Service()("@opencode/SessionContext") {
|
|
96
96
|
}
|
|
97
|
-
var layer = Layer.effect(
|
|
98
|
-
const agents = yield*
|
|
99
|
-
const builtins = yield*
|
|
100
|
-
const model = yield*
|
|
101
|
-
const db = (yield*
|
|
102
|
-
const discovery = yield*
|
|
103
|
-
const entries = yield*
|
|
104
|
-
const location = yield*
|
|
105
|
-
const mcpInstructions = yield*
|
|
106
|
-
const mcpTools = yield*
|
|
107
|
-
const models = yield*
|
|
108
|
-
const request = yield*
|
|
109
|
-
const referenceInstructions = yield*
|
|
110
|
-
const skillInstructions = yield*
|
|
111
|
-
const store = yield*
|
|
112
|
-
const registry = yield*
|
|
97
|
+
var layer = Layer.effect(Service24, Effect.gen(function* () {
|
|
98
|
+
const agents = yield* Service49;
|
|
99
|
+
const builtins = yield* Service25;
|
|
100
|
+
const model = yield* Service64;
|
|
101
|
+
const db = (yield* Service82).db;
|
|
102
|
+
const discovery = yield* Service46;
|
|
103
|
+
const entries = yield* Service33;
|
|
104
|
+
const location = yield* Service78;
|
|
105
|
+
const mcpInstructions = yield* Service28;
|
|
106
|
+
const mcpTools = yield* Service29;
|
|
107
|
+
const models = yield* Service39;
|
|
108
|
+
const request = yield* Service31;
|
|
109
|
+
const referenceInstructions = yield* Service26;
|
|
110
|
+
const skillInstructions = yield* Service27;
|
|
111
|
+
const store = yield* Service44;
|
|
112
|
+
const registry = yield* Service83;
|
|
113
113
|
const resolveModel = (session) => models.resolve(session, model.available);
|
|
114
114
|
const selectTitle = Effect.fn("SessionContext.selectTitle")(function* (session) {
|
|
115
|
-
const agent = yield* agents.get(
|
|
115
|
+
const agent = yield* agents.get(ID7.make("title"));
|
|
116
116
|
if (!agent)
|
|
117
117
|
return;
|
|
118
118
|
const primary = yield* resolveModel(session).pipe(Effect.orElseSucceed(() => {
|
|
@@ -188,29 +188,29 @@ var layer = Layer.effect(Service25, Effect.gen(function* () {
|
|
|
188
188
|
tools: selection.tools
|
|
189
189
|
};
|
|
190
190
|
});
|
|
191
|
-
return
|
|
191
|
+
return Service24.of({ select, load, resolveModel, selectTitle, request });
|
|
192
192
|
}));
|
|
193
193
|
var MINIMAL_REASONING_VARIANTS = ["none", "minimal", "low"].map((id) => VariantID2.make(id));
|
|
194
194
|
var node28 = makeLocationNode({
|
|
195
|
-
service:
|
|
195
|
+
service: Service24,
|
|
196
196
|
layer,
|
|
197
197
|
deps: [
|
|
198
|
-
|
|
199
|
-
|
|
200
|
-
|
|
201
|
-
node33,
|
|
202
|
-
node87,
|
|
203
|
-
node38,
|
|
204
|
-
node83,
|
|
198
|
+
node52,
|
|
199
|
+
node67,
|
|
200
|
+
node86,
|
|
205
201
|
node29,
|
|
202
|
+
node49,
|
|
203
|
+
node37,
|
|
204
|
+
node82,
|
|
205
|
+
node32,
|
|
206
|
+
node33,
|
|
206
207
|
node30,
|
|
207
|
-
|
|
208
|
-
node66,
|
|
208
|
+
node41,
|
|
209
209
|
node35,
|
|
210
|
-
|
|
211
|
-
|
|
212
|
-
|
|
210
|
+
node46,
|
|
211
|
+
node31,
|
|
212
|
+
node87
|
|
213
213
|
]
|
|
214
214
|
});
|
|
215
215
|
|
|
216
|
-
export {
|
|
216
|
+
export { Service24, node28, exports_context };
|