@opencode/core 0.0.0-dev-19837 → 0.0.0-dev-19842
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 +80 -80
- package/dist/aisdk-native.js +88 -88
- package/dist/aisdk.js +93 -93
- package/dist/app.js +7 -7
- package/dist/bus.js +72 -72
- package/dist/chunks/{location-services-ej836de0.js → workspace-04y2rkk2.js} +11 -11
- package/dist/chunks/{location-services-nxhqveyz.js → workspace-0f9afca0.js} +5 -5
- package/dist/chunks/{location-services-jg79b14v.js → workspace-0gptwf17.js} +35 -35
- package/dist/chunks/{location-services-2k8khapm.js → workspace-0jwsre1p.js} +5 -5
- package/dist/chunks/{location-services-yyyarv90.js → workspace-0kkgx1hv.js} +5 -5
- package/dist/chunks/{location-services-qse6wh50.js → workspace-0me4z1n8.js} +16 -16
- package/dist/chunks/{location-services-0paq2nw3.js → workspace-0paq2nw3.js} +1 -1
- package/dist/chunks/{location-services-0q0f95c6.js → workspace-0q0f95c6.js} +1 -1
- package/dist/chunks/{location-services-mesf747v.js → workspace-0qn3s7y6.js} +9 -9
- package/dist/chunks/{location-services-ff5b3vsa.js → workspace-0t9d6x9s.js} +27 -27
- package/dist/chunks/{location-services-hedftr25.js → workspace-0tgtrx77.js} +15 -15
- package/dist/chunks/{location-services-f24azagy.js → workspace-11kb2ryy.js} +28 -28
- package/dist/chunks/{location-services-d7kmcpqg.js → workspace-17zqg50h.js} +24 -24
- package/dist/chunks/{location-services-yp2x3t23.js → workspace-1acjjqhc.js} +4 -4
- package/dist/chunks/{location-services-dbt573sm.js → workspace-1b4r2z2j.js} +60 -60
- package/dist/chunks/{location-services-1dazxqgg.js → workspace-1dazxqgg.js} +2 -2
- package/dist/chunks/{location-services-kwjzcy53.js → workspace-1s7b1csw.js} +10 -10
- package/dist/chunks/{location-services-fdjh4knm.js → workspace-1v57fm2m.js} +7 -7
- package/dist/chunks/{location-services-zhxmhdrs.js → workspace-1xam1b6j.js} +47 -47
- package/dist/chunks/{location-services-8tsdq50x.js → workspace-1y283654.js} +4 -4
- package/dist/chunks/{location-services-21r38tys.js → workspace-21r38tys.js} +1 -1
- package/dist/chunks/{location-services-6h73sxmp.js → workspace-2402vzrj.js} +5 -5
- package/dist/chunks/{location-services-cdfy9c07.js → workspace-2438drjd.js} +9 -9
- package/dist/chunks/{location-services-b0tpq7vq.js → workspace-24xg1x4z.js} +22 -22
- package/dist/chunks/{location-services-2a5m3afh.js → workspace-2a5m3afh.js} +1 -1
- package/dist/chunks/{location-services-ehcepgt9.js → workspace-2mkhnbvz.js} +25 -25
- package/dist/chunks/{location-services-fs8r9hsj.js → workspace-2sezm37j.js} +9 -9
- package/dist/chunks/{location-services-f1f2nfdc.js → workspace-2xmpv3m6.js} +10 -10
- package/dist/chunks/{location-services-1aj08kdp.js → workspace-2znr0nan.js} +32 -32
- package/dist/chunks/{location-services-s9gb701d.js → workspace-31gccvh4.js} +15 -15
- package/dist/chunks/{location-services-s347dr27.js → workspace-342mg198.js} +10 -10
- package/dist/chunks/{location-services-734zdf7n.js → workspace-347p2yks.js} +9 -9
- package/dist/chunks/{location-services-vyrk0yhv.js → workspace-357e4jec.js} +17 -17
- package/dist/chunks/{location-services-wefbk061.js → workspace-374v8g3a.js} +20 -20
- package/dist/chunks/{location-services-fxmgg4aj.js → workspace-3838ekre.js} +4 -4
- package/dist/chunks/{location-services-3fc6dm20.js → workspace-3fc6dm20.js} +1 -1
- package/dist/chunks/{location-services-fkd4xh6h.js → workspace-3fe6bt6f.js} +18 -18
- package/dist/chunks/{location-services-3hepkmqq.js → workspace-3hepkmqq.js} +1 -1
- package/dist/chunks/{location-services-3smtnn6g.js → workspace-3smtnn6g.js} +1 -1
- package/dist/chunks/{location-services-knb7evpn.js → workspace-3tq5qxbk.js} +8 -8
- package/dist/chunks/{location-services-3tvqynh2.js → workspace-3tvqynh2.js} +1 -1
- package/dist/chunks/{location-services-cra404zb.js → workspace-405nw1q2.js} +9 -9
- package/dist/chunks/{location-services-nh6bka7y.js → workspace-46kfxrdk.js} +35 -35
- package/dist/chunks/{location-services-3gepfxd6.js → workspace-48nt27tg.js} +19 -19
- package/dist/chunks/{location-services-cpj0znwe.js → workspace-4dgbcxzg.js} +4 -4
- package/dist/chunks/{location-services-rrcqb7mq.js → workspace-4ejejf2p.js} +11 -11
- package/dist/chunks/{location-services-sh6h5w8s.js → workspace-4m58q416.js} +54 -54
- package/dist/chunks/{location-services-8bhwq06h.js → workspace-4mtpks84.js} +27 -27
- package/dist/chunks/{location-services-q6s1e2xm.js → workspace-4n7sevkh.js} +28 -28
- package/dist/chunks/{location-services-cyjefzz2.js → workspace-4n9bywtw.js} +6 -6
- package/dist/chunks/{location-services-56gdpj1q.js → workspace-56gdpj1q.js} +2 -2
- package/dist/chunks/{location-services-drwq78ky.js → workspace-57b9ws8p.js} +5 -5
- package/dist/chunks/{location-services-2fgn2we9.js → workspace-57ez7d0k.js} +9 -9
- package/dist/chunks/{location-services-mwwetm44.js → workspace-5ah12t62.js} +3 -3
- package/dist/chunks/{location-services-5c4hm403.js → workspace-5c4hm403.js} +3 -3
- package/dist/chunks/{location-services-5daktx2q.js → workspace-5daktx2q.js} +1 -1
- package/dist/chunks/{location-services-1kqe5az9.js → workspace-5jv9rtqx.js} +26 -26
- package/dist/chunks/{location-services-7teh0s87.js → workspace-5smvddr8.js} +25 -25
- package/dist/chunks/{location-services-5t3nmthw.js → workspace-5t3nmthw.js} +2 -2
- package/dist/chunks/{location-services-tpw6cwsb.js → workspace-5xtgfte3.js} +8 -8
- package/dist/chunks/{location-services-669tq793.js → workspace-669tq793.js} +1 -1
- package/dist/chunks/{location-services-4y6xseyy.js → workspace-6as31qen.js} +19 -19
- package/dist/chunks/{location-services-ftyje675.js → workspace-6dev9rqa.js} +3 -3
- package/dist/chunks/workspace-6dqdswvk.js +252 -0
- package/dist/chunks/{location-services-6msgmcgs.js → workspace-6msgmcgs.js} +1 -1
- package/dist/chunks/{location-services-0kyknra4.js → workspace-6p1etxq2.js} +11 -11
- package/dist/chunks/{location-services-mhz5k9vh.js → workspace-6pmq8b1f.js} +43 -43
- package/dist/chunks/workspace-6r3amyyd.js +4 -0
- package/dist/chunks/{location-services-7jybmm05.js → workspace-6sc0ns97.js} +22 -22
- package/dist/chunks/{location-services-nr34mnhb.js → workspace-6vdste0b.js} +19 -19
- package/dist/chunks/{location-services-de5knrsa.js → workspace-79psx6ha.js} +17 -17
- package/dist/chunks/{location-services-7bmhse3q.js → workspace-7bmhse3q.js} +1 -1
- package/dist/chunks/{location-services-4z50fqkg.js → workspace-7fpdhx8y.js} +92 -92
- package/dist/chunks/{location-services-fdp4he43.js → workspace-7fzvq14v.js} +36 -36
- package/dist/chunks/{location-services-ke1a5261.js → workspace-7nd7t3y6.js} +41 -41
- package/dist/chunks/{location-services-yn9ays14.js → workspace-7pncbcke.js} +4 -4
- package/dist/chunks/{location-services-3v834vqe.js → workspace-7r3ygdmz.js} +14 -14
- package/dist/chunks/{location-services-dfdf51fy.js → workspace-7t824xx2.js} +21 -21
- package/dist/chunks/{location-services-11745fj4.js → workspace-7wh8xm2m.js} +23 -23
- package/dist/chunks/{location-services-2qqayhmv.js → workspace-857crm20.js} +17 -17
- package/dist/chunks/{location-services-8d7r5vzw.js → workspace-8d7r5vzw.js} +1 -1
- package/dist/chunks/{location-services-04ndwt4g.js → workspace-8kae62x2.js} +5 -5
- package/dist/chunks/{location-services-4mwsasfb.js → workspace-8nhzdh16.js} +11 -11
- package/dist/chunks/{location-services-y1rt92wr.js → workspace-8r0skts4.js} +25 -25
- package/dist/chunks/{location-services-c3v4h655.js → workspace-8s9gdvz1.js} +13 -13
- package/dist/chunks/{location-services-h26hwr7h.js → workspace-8ycrq1wj.js} +14 -14
- package/dist/chunks/{location-services-je1r8zza.js → workspace-8z9aqbjr.js} +4 -4
- package/dist/chunks/{location-services-1k5rw76t.js → workspace-90bky85a.js} +47 -47
- package/dist/chunks/{location-services-1cn11v2a.js → workspace-9aza1f1x.js} +42 -42
- package/dist/chunks/{location-services-r6fwddjq.js → workspace-9btd272k.js} +29 -29
- package/dist/chunks/{location-services-55cv1jqh.js → workspace-9hckxq4k.js} +7 -7
- package/dist/chunks/{location-services-ewmpatfj.js → workspace-9n314x6j.js} +15 -15
- package/dist/chunks/{location-services-zh9858z0.js → workspace-9tb0v2yh.js} +66 -66
- package/dist/chunks/{location-services-vadan2xk.js → workspace-9yzdvftt.js} +12 -12
- package/dist/chunks/{location-services-j5n5rv50.js → workspace-a2m7fzmh.js} +11 -11
- package/dist/chunks/{location-services-d1fsd9nn.js → workspace-a414py93.js} +35 -35
- package/dist/chunks/{location-services-y968z3dh.js → workspace-a84sqmex.js} +5 -5
- package/dist/chunks/{location-services-aaet6srn.js → workspace-aaet6srn.js} +2 -2
- package/dist/chunks/{location-services-e1n7jafy.js → workspace-adykyd42.js} +13 -13
- package/dist/chunks/{location-services-0hcw47et.js → workspace-afps5b8n.js} +2 -2
- package/dist/chunks/{location-services-q857ra41.js → workspace-as71pn4z.js} +12 -12
- package/dist/chunks/{location-services-g7gv2g3a.js → workspace-asfqdkpb.js} +180 -180
- package/dist/chunks/{location-services-w418y777.js → workspace-avc8n21j.js} +17 -17
- package/dist/chunks/{location-services-9q3wnm91.js → workspace-avrvke37.js} +9 -9
- package/dist/chunks/{location-services-b6gygkdw.js → workspace-b6gygkdw.js} +2 -2
- package/dist/chunks/{location-services-h2bnk7k6.js → workspace-b8qvbf28.js} +4 -4
- package/dist/chunks/{location-services-a6sgp6g3.js → workspace-berxm3qr.js} +7 -7
- package/dist/chunks/{location-services-p20c12jc.js → workspace-bm5d57fs.js} +34 -34
- package/dist/chunks/{location-services-2v24grjy.js → workspace-bpy2r9c4.js} +18 -18
- package/dist/chunks/{location-services-wdvvnqc5.js → workspace-bxbnev26.js} +32 -32
- package/dist/chunks/{location-services-dxjrh372.js → workspace-byhenq9m.js} +13 -13
- package/dist/chunks/{location-services-5mavpc6r.js → workspace-c34eff8t.js} +44 -44
- package/dist/chunks/{location-services-s6w733fx.js → workspace-c3nqgy48.js} +26 -26
- package/dist/chunks/{location-services-kpaq12ty.js → workspace-c7yg1ngd.js} +13 -13
- package/dist/chunks/{location-services-we7ht0tm.js → workspace-ce8etdrj.js} +1 -1
- package/dist/chunks/{location-services-cmhbnssm.js → workspace-cg72rvag.js} +8 -8
- package/dist/chunks/{location-services-6x9k2qbp.js → workspace-cka6kvq6.js} +16 -16
- package/dist/chunks/{location-services-ea3ctmvw.js → workspace-cn886m9x.js} +11 -11
- package/dist/chunks/{location-services-khmm5t2n.js → workspace-crekkz1m.js} +18 -18
- package/dist/chunks/{location-services-djszqvmq.js → workspace-cwa6csj7.js} +9 -9
- package/dist/chunks/{location-services-y67gsgy6.js → workspace-d8nc1xcx.js} +4 -4
- package/dist/chunks/{location-services-dg9wag4b.js → workspace-dhtzjjzz.js} +3 -3
- package/dist/chunks/{location-services-dj2t23y0.js → workspace-dj2t23y0.js} +2 -2
- package/dist/chunks/{location-services-dpkg50ah.js → workspace-dpkg50ah.js} +1 -1
- package/dist/chunks/{location-services-28xtht7t.js → workspace-e1pmkxcv.js} +8 -8
- package/dist/chunks/{location-services-2yhmvnsm.js → workspace-e43vk65n.js} +21 -21
- package/dist/chunks/{location-services-6cnycg91.js → workspace-e624nkeg.js} +35 -35
- package/dist/chunks/{location-services-6ersrjne.js → workspace-e6hd9jay.js} +6 -6
- package/dist/chunks/{location-services-ef5x83kb.js → workspace-ef5x83kb.js} +1 -1
- package/dist/chunks/{location-services-r7rxb23g.js → workspace-ejevs9sw.js} +20 -20
- package/dist/chunks/{location-services-1frr7fgk.js → workspace-ejgp49jg.js} +20 -20
- package/dist/chunks/{location-services-dw4dv2s2.js → workspace-ek42fa6x.js} +20 -20
- package/dist/chunks/{location-services-8462pbya.js → workspace-epb4w8jv.js} +24 -24
- package/dist/chunks/{location-services-erw5rpbs.js → workspace-erw5rpbs.js} +2 -2
- package/dist/chunks/{location-services-etq0c3wd.js → workspace-etq0c3wd.js} +1 -1
- package/dist/chunks/{location-services-478rcqqg.js → workspace-f2we9qpp.js} +10 -10
- package/dist/chunks/{location-services-2jz473v5.js → workspace-fch79rh9.js} +1 -1
- package/dist/chunks/{location-services-yqx2aan1.js → workspace-fdc34wrr.js} +24 -24
- package/dist/chunks/{location-services-4x60cftr.js → workspace-fffkv7qf.js} +32 -32
- package/dist/chunks/{location-services-t2db0eay.js → workspace-fszp41pp.js} +6 -6
- package/dist/chunks/{location-services-y56ehv6b.js → workspace-fwwk8vbp.js} +9 -9
- package/dist/chunks/{location-services-fxbjtjnd.js → workspace-fxbjtjnd.js} +1 -1
- package/dist/chunks/{location-services-jt7ttpf2.js → workspace-g3ns9rat.js} +22 -22
- package/dist/chunks/{location-services-xvh4ack0.js → workspace-g8j4ctvn.js} +5 -5
- package/dist/chunks/{location-services-gd4qta3r.js → workspace-gd4qta3r.js} +1 -1
- package/dist/chunks/{location-services-rhr2287f.js → workspace-ge7qjysf.js} +15 -15
- package/dist/chunks/{location-services-pnnhp6pm.js → workspace-gn97k1b0.js} +10 -10
- package/dist/chunks/{location-services-mw934p8z.js → workspace-gv66gg0x.js} +8 -8
- package/dist/chunks/{location-services-gv6a8nnw.js → workspace-gv6a8nnw.js} +2 -2
- package/dist/chunks/{location-services-e6tmc4dn.js → workspace-gwphwnjy.js} +13 -13
- package/dist/chunks/{location-services-xn9jxgmv.js → workspace-h2r7bbkd.js} +8 -8
- package/dist/chunks/{location-services-h6vf3j39.js → workspace-h6vf3j39.js} +1 -1
- package/dist/chunks/{location-services-rxfm361e.js → workspace-h72e87dw.js} +5 -5
- package/dist/chunks/{location-services-kf89s8d6.js → workspace-h7krgpah.js} +11 -11
- package/dist/chunks/{location-services-m4733gfk.js → workspace-hcxmrj2a.js} +9 -9
- package/dist/chunks/{location-services-0svzc3ms.js → workspace-hdm3sk1y.js} +40 -40
- package/dist/chunks/{location-services-b19zmjmv.js → workspace-hdm8jbsf.js} +25 -25
- package/dist/chunks/{location-services-hdnk95c8.js → workspace-hdnk95c8.js} +2 -2
- package/dist/chunks/{location-services-5e9qax8s.js → workspace-hmyzz8y0.js} +23 -23
- package/dist/chunks/{location-services-q304jdpe.js → workspace-j13v91pw.js} +16 -16
- package/dist/chunks/{location-services-qr10gabp.js → workspace-j3enmtp4.js} +44 -44
- package/dist/chunks/{location-services-9mnp22fh.js → workspace-j4n38w1e.js} +15 -15
- package/dist/chunks/{location-services-j56e64zr.js → workspace-j56e64zr.js} +1 -1
- package/dist/chunks/{location-services-hkagk5ex.js → workspace-j699j8bt.js} +2 -2
- package/dist/chunks/{location-services-6zz0jjar.js → workspace-j8zzr2am.js} +6 -6
- package/dist/chunks/{location-services-jemfgm91.js → workspace-je7c2t6y.js} +6 -6
- package/dist/chunks/{location-services-fvx6s9yc.js → workspace-jj1193c7.js} +6 -6
- package/dist/chunks/{location-services-3c4e3q8d.js → workspace-jmphe03k.js} +4 -4
- package/dist/chunks/{location-services-kvvk39gs.js → workspace-jw80jp6b.js} +4 -4
- package/dist/chunks/{location-services-k73b7wxd.js → workspace-kexq2ab1.js} +8 -8
- package/dist/chunks/{location-services-rnx96krx.js → workspace-ks40ppne.js} +13 -13
- package/dist/chunks/{location-services-119fgr4a.js → workspace-kwv0msad.js} +92 -92
- package/dist/chunks/{location-services-m0jqrx5p.js → workspace-m0jqrx5p.js} +2 -2
- package/dist/chunks/{location-services-zanvzfjc.js → workspace-m0ned3ze.js} +10 -10
- package/dist/chunks/{location-services-m3fdjcah.js → workspace-m3fdjcah.js} +1 -1
- package/dist/chunks/{location-services-mp0xed7k.js → workspace-m6v93gq1.js} +25 -25
- package/dist/chunks/{location-services-m9w0rfyh.js → workspace-m9w0rfyh.js} +1 -1
- package/dist/chunks/{location-services-1hc11dc4.js → workspace-mfhfdr54.js} +4 -4
- package/dist/chunks/workspace-mjcsnwzf.js +492 -0
- package/dist/chunks/{location-services-arwsxrqn.js → workspace-mnfv1s1b.js} +13 -13
- package/dist/chunks/{location-services-71xak4j8.js → workspace-mrekswpf.js} +15 -15
- package/dist/chunks/{location-services-ds1hnb50.js → workspace-n5ff45t7.js} +23 -23
- package/dist/chunks/{location-services-c2ekx4p4.js → workspace-n69p783e.js} +1 -1
- package/dist/chunks/{location-services-97vsxr6d.js → workspace-n882b035.js} +11 -11
- package/dist/chunks/{location-services-0jkw1j53.js → workspace-n8dykrk6.js} +6 -6
- package/dist/chunks/{location-services-nq7qbqzc.js → workspace-nscznvay.js} +9 -9
- package/dist/chunks/{location-services-k3c624dm.js → workspace-nzks3jc8.js} +3 -3
- package/dist/chunks/{location-services-fn2a6dv9.js → workspace-p00q0h88.js} +25 -25
- package/dist/chunks/{location-services-p28j5sbe.js → workspace-p28j5sbe.js} +2 -2
- package/dist/chunks/{location-services-wwq1qjv9.js → workspace-p79yh7x8.js} +27 -27
- package/dist/chunks/{location-services-n81afcfa.js → workspace-pg93v6jv.js} +7 -7
- package/dist/chunks/{location-services-pjvnvgmy.js → workspace-pjvnvgmy.js} +1 -1
- package/dist/chunks/{location-services-ndmv45hp.js → workspace-pk2244jm.js} +3 -3
- package/dist/chunks/{location-services-pknna89w.js → workspace-pknna89w.js} +1 -1
- package/dist/chunks/{location-services-8ze50vt3.js → workspace-pm2w02ap.js} +17 -17
- package/dist/chunks/{location-services-8ank75fn.js → workspace-pn3cc07s.js} +8 -8
- package/dist/chunks/{location-services-tt70z94x.js → workspace-pr971s7g.js} +11 -11
- package/dist/chunks/{location-services-m5fyg1bs.js → workspace-pxfs15kn.js} +46 -46
- package/dist/chunks/{location-services-k76fn4kw.js → workspace-q5asdkn4.js} +4 -4
- package/dist/chunks/{location-services-tkmwgdpd.js → workspace-qa3qhgw8.js} +7 -7
- package/dist/chunks/{location-services-twxxf4s6.js → workspace-qed8dvxx.js} +9 -9
- package/dist/chunks/workspace-qmrp7vx8.js +65 -0
- package/dist/chunks/{location-services-bgxcxs0p.js → workspace-qn4ba14w.js} +5 -5
- package/dist/chunks/{location-services-qsdy395h.js → workspace-qsdy395h.js} +1 -1
- package/dist/chunks/{location-services-eeaf82dq.js → workspace-qvb3nf84.js} +8 -8
- package/dist/chunks/{location-services-n6e9bew6.js → workspace-qvxdy1p7.js} +3 -3
- package/dist/chunks/{location-services-cw0365tk.js → workspace-qxge5qk3.js} +3 -3
- package/dist/chunks/{location-services-7yh4e7ss.js → workspace-r5x6zcsm.js} +3 -3
- package/dist/chunks/{location-services-73m34ham.js → workspace-r79m9za8.js} +9 -9
- package/dist/chunks/{location-services-n7yhf3k5.js → workspace-ra0m4r42.js} +6 -6
- package/dist/chunks/{location-services-s5j5yx42.js → workspace-rackk5d8.js} +22 -22
- package/dist/chunks/{location-services-c2g18km0.js → workspace-rag3edqr.js} +44 -44
- package/dist/chunks/workspace-rap9a73h.js +18 -0
- package/dist/chunks/{location-services-a57b6ez4.js → workspace-rdp84m7y.js} +37 -37
- package/dist/chunks/{location-services-rdw6cm16.js → workspace-rdw6cm16.js} +1 -1
- package/dist/chunks/{location-services-m11kk84f.js → workspace-rfe2qg2a.js} +32 -32
- package/dist/chunks/{location-services-qjs1085f.js → workspace-rk7bc7ed.js} +32 -32
- package/dist/chunks/{location-services-td4hvtjh.js → workspace-rp7dq0jc.js} +8 -8
- package/dist/chunks/{location-services-9awzet7k.js → workspace-rpery1mk.js} +12 -12
- package/dist/chunks/{location-services-w4axh9wz.js → workspace-rtv6ahp9.js} +6 -6
- package/dist/chunks/{location-services-c21tn5sa.js → workspace-rysm8zhq.js} +3 -3
- package/dist/chunks/{location-services-s81xp4h6.js → workspace-sqkfb9wh.js} +14 -14
- package/dist/chunks/{location-services-wx3f4x5a.js → workspace-sv23krr8.js} +31 -31
- package/dist/chunks/{location-services-yptpkvx0.js → workspace-svpqbh55.js} +23 -23
- package/dist/chunks/{location-services-vncycja5.js → workspace-sx1n432n.js} +4 -4
- package/dist/chunks/{location-services-qp3cqwfd.js → workspace-t04jp1as.js} +30 -30
- package/dist/chunks/{location-services-8d664r2w.js → workspace-t0mtj9sp.js} +20 -20
- package/dist/chunks/{location-services-fn4w1dzc.js → workspace-t15k3d3j.js} +39 -39
- package/dist/chunks/{location-services-nf8bga6w.js → workspace-t45trqgm.js} +19 -19
- package/dist/chunks/{location-services-02nrjc1r.js → workspace-t550f9t1.js} +8 -8
- package/dist/chunks/{location-services-twfpqh0y.js → workspace-ta339n92.js} +12 -12
- package/dist/chunks/{location-services-tazgh4e4.js → workspace-tazgh4e4.js} +1 -1
- package/dist/chunks/{location-services-tcezcvh9.js → workspace-tcezcvh9.js} +1 -1
- package/dist/chunks/{location-services-tdstcens.js → workspace-tdstcens.js} +1 -1
- package/dist/chunks/{location-services-sdfezxs7.js → workspace-te18sgca.js} +19 -19
- package/dist/chunks/{location-services-rh0ks3yx.js → workspace-tn8p7ecq.js} +16 -16
- package/dist/chunks/{location-services-tvtrv512.js → workspace-tvtrv512.js} +1 -1
- package/dist/chunks/{location-services-3g6j0hhb.js → workspace-twm8s0v6.js} +27 -27
- package/dist/chunks/{location-services-dj9sq318.js → workspace-tz2bjj40.js} +5 -5
- package/dist/chunks/{location-services-hsqt0cnh.js → workspace-v3ryxckp.js} +50 -50
- package/dist/chunks/{location-services-20xfcnp3.js → workspace-vbrdpthe.js} +6 -6
- package/dist/chunks/{location-services-9xgkhjnq.js → workspace-vcryphxd.js} +12 -12
- package/dist/chunks/{location-services-veqvce7d.js → workspace-veqvce7d.js} +1 -1
- package/dist/chunks/{location-services-8jgcgwkq.js → workspace-vmm0d4j2.js} +24 -24
- package/dist/chunks/{location-services-vykevjvn.js → workspace-vrpz8t5t.js} +5 -5
- package/dist/chunks/{location-services-vzcthcp8.js → workspace-vzcthcp8.js} +1 -1
- package/dist/chunks/{location-services-gpk7m87d.js → workspace-w118tzke.js} +5 -5
- package/dist/chunks/{location-services-007ywmk0.js → workspace-w19jy31r.js} +5 -5
- package/dist/chunks/{location-services-w3wsvvr9.js → workspace-w3wsvvr9.js} +1 -1
- package/dist/chunks/{location-services-nf6k3q5n.js → workspace-w6x78c9c.js} +11 -11
- package/dist/chunks/{location-services-xgrxakdc.js → workspace-w8vega6y.js} +4 -4
- package/dist/chunks/{location-services-4za7tm8v.js → workspace-waexrdgv.js} +33 -33
- package/dist/chunks/{location-services-wd87259q.js → workspace-wd87259q.js} +1 -1
- package/dist/chunks/{location-services-kanck703.js → workspace-wdh627yk.js} +18 -18
- package/dist/chunks/workspace-wjzzwpk8.js +26 -0
- package/dist/chunks/{location-services-8c7atbhf.js → workspace-wssc7tyq.js} +22 -22
- package/dist/chunks/{location-services-vk6xc8bn.js → workspace-wxg1tfxb.js} +4 -4
- package/dist/chunks/{location-services-x1ezjp6w.js → workspace-x1ezjp6w.js} +1 -1
- package/dist/chunks/{location-services-9q85g4rf.js → workspace-x1w6bk3j.js} +22 -22
- package/dist/chunks/{location-services-epjjka9c.js → workspace-x5rn7qjp.js} +20 -20
- package/dist/chunks/{location-services-4tvzb1sd.js → workspace-xam54x1y.js} +27 -27
- package/dist/chunks/{location-services-3k1nbdbw.js → workspace-xbpzf4zn.js} +11 -11
- package/dist/chunks/{location-services-100ggytg.js → workspace-xhhx516y.js} +8 -8
- package/dist/chunks/{location-services-sh89kava.js → workspace-xqq38mk8.js} +37 -37
- package/dist/chunks/{location-services-gnvqkg1d.js → workspace-xwchxfcw.js} +8 -8
- package/dist/chunks/{location-services-y1fvbwt7.js → workspace-y1fvbwt7.js} +1 -1
- package/dist/chunks/{location-services-kgygn7je.js → workspace-y201z2mx.js} +4 -4
- package/dist/chunks/{location-services-ptcebqmk.js → workspace-y7f35ff5.js} +18 -18
- package/dist/chunks/{location-services-t3aazdfk.js → workspace-ydm93f9x.js} +8 -8
- package/dist/chunks/{location-services-c2ty4kk7.js → workspace-ydpabj6e.js} +35 -35
- package/dist/chunks/{location-services-qv7snrja.js → workspace-ynpw39jf.js} +30 -30
- package/dist/chunks/{location-services-yrhqyw5v.js → workspace-yrhqyw5v.js} +1 -1
- package/dist/chunks/{location-services-yrznvahk.js → workspace-yrznvahk.js} +2 -2
- package/dist/chunks/{location-services-gg4dpy88.js → workspace-yt3hy1g9.js} +5 -5
- package/dist/chunks/{location-services-z0bkrqjs.js → workspace-z0bkrqjs.js} +1 -1
- package/dist/chunks/{location-services-w7mk4knt.js → workspace-z0zyb1s8.js} +55 -55
- package/dist/chunks/{location-services-b52vbktb.js → workspace-z1va2kz6.js} +5 -5
- package/dist/chunks/{location-services-z63w68vq.js → workspace-z63w68vq.js} +2 -2
- package/dist/chunks/{location-services-ef1pmnt8.js → workspace-zdn3zq9y.js} +7 -7
- package/dist/chunks/{location-services-zeh9ct20.js → workspace-zeh9ct20.js} +2 -2
- package/dist/chunks/{location-services-hph8qc38.js → workspace-zq22gkb0.js} +7 -7
- package/dist/chunks/{location-services-zr2ceqn5.js → workspace-zr2ceqn5.js} +1 -1
- package/dist/chunks/{location-services-zxq2ej10.js → workspace-zxq2ej10.js} +1 -1
- package/dist/codemode/catalog.js +1 -1
- package/dist/codemode/instructions.js +9 -9
- package/dist/codemode/tool.js +3 -3
- package/dist/codemode/web.js +1 -1
- package/dist/command.js +84 -84
- package/dist/config/discovery.js +81 -81
- package/dist/config/markdown.js +1 -1
- package/dist/config/normalize.js +105 -105
- package/dist/config/plugin/agent.js +122 -122
- package/dist/config/plugin/command.js +211 -211
- package/dist/config/plugin/compaction.js +159 -159
- package/dist/config/plugin/compatibility.js +140 -140
- package/dist/config/plugin/entry-observer.js +1 -1
- package/dist/config/plugin/formatter.js +123 -123
- package/dist/config/plugin/image.js +122 -122
- package/dist/config/plugin/instruction.js +89 -89
- package/dist/config/plugin/location-watcher.js +124 -124
- package/dist/config/plugin/mcp.js +129 -129
- package/dist/config/plugin/policy.js +122 -122
- package/dist/config/plugin/provider.js +122 -122
- package/dist/config/plugin/reference.js +124 -124
- package/dist/config/plugin/shell.js +124 -124
- package/dist/config/plugin/skill-file.js +101 -101
- package/dist/config/plugin/skill.js +143 -143
- package/dist/config/plugin/snapshot.js +122 -122
- package/dist/config/plugin/source.js +123 -123
- package/dist/config/plugin/tool-output.js +124 -124
- package/dist/config/plugin/websearch.js +123 -123
- package/dist/config/plugin/worktree.js +124 -124
- package/dist/config/variable.js +3 -3
- package/dist/config/watch.js +1 -1
- package/dist/config.js +127 -127
- package/dist/credential/sql.js +2 -2
- package/dist/credential.js +84 -84
- package/dist/database/database.js +69 -69
- 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.gen.js +48 -48
- package/dist/database/migration.js +50 -50
- 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 +78 -78
- 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 +1 -1
- package/dist/effect/websocket-constructor.js +1 -1
- package/dist/environment/driver.js +1 -1
- package/dist/environment/environment.js +92 -92
- package/dist/environment/exec-defaults.js +2 -2
- package/dist/environment/files.js +1 -1
- package/dist/environment/index.js +94 -94
- package/dist/environment/local.js +2 -2
- package/dist/environment/memory.js +2 -2
- package/dist/environment/unavailable.js +1 -1
- package/dist/event/sql.js +1 -1
- package/dist/event-logger.js +73 -73
- package/dist/file-access.js +103 -103
- package/dist/file-mutation.js +93 -93
- package/dist/file-retention.js +1 -1
- package/dist/file.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/ignore.js +1 -1
- package/dist/filesystem/location-watcher-policy.js +6 -6
- package/dist/filesystem/location-watcher.js +226 -226
- package/dist/filesystem/protected.js +1 -1
- package/dist/filesystem/search.js +92 -92
- package/dist/filesystem/watcher-binding.js +1 -1
- package/dist/filesystem/watcher.js +13 -13
- package/dist/filesystem.js +93 -93
- package/dist/form.js +83 -83
- package/dist/formatter/builtins.js +4 -4
- package/dist/formatter.js +86 -86
- package/dist/generate.js +102 -102
- 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 +98 -98
- 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/id/id.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 +80 -80
- package/dist/instructions/builtins.js +86 -86
- package/dist/instructions/index.js +5 -5
- package/dist/integration/connection.js +3 -3
- package/dist/integration.js +85 -85
- package/dist/job.js +72 -72
- package/dist/kv/sql.js +2 -2
- package/dist/kv.js +72 -72
- package/dist/location-activity.js +134 -134
- package/dist/location-lifecycle.js +105 -105
- package/dist/location-mutation.js +103 -103
- package/dist/location-service-map.js +85 -85
- package/dist/location-services.js +356 -356
- package/dist/location.js +86 -86
- package/dist/mcp/client.js +90 -90
- package/dist/mcp/index.js +107 -107
- package/dist/mcp/instructions.js +125 -125
- package/dist/mcp/oauth.js +77 -77
- package/dist/mcp/stdio.js +89 -89
- package/dist/mime.js +1 -1
- package/dist/modal/models.js +98 -98
- package/dist/model-resolver.js +97 -97
- package/dist/model.js +101 -101
- package/dist/models-dev.js +106 -106
- package/dist/oauth/page.js +1 -1
- package/dist/permission/saved.js +79 -79
- package/dist/permission/sql.js +5 -5
- package/dist/permission.js +110 -110
- package/dist/persistent-pty/binary.bun.js +1 -1
- package/dist/persistent-pty/daemon.js +1 -1
- package/dist/persistent-pty/index.js +85 -85
- package/dist/persistent-pty/pty-binding.js +1 -1
- package/dist/persistent-pty.js +74 -74
- package/dist/plugin/agent.js +101 -101
- package/dist/plugin/command.js +98 -98
- package/dist/plugin/compaction.js +130 -130
- package/dist/plugin/hooks.js +5 -5
- package/dist/plugin/host.js +217 -217
- package/dist/plugin/identity.js +3 -3
- package/dist/plugin/instance.js +5 -5
- package/dist/plugin/internal.js +330 -330
- package/dist/plugin/mcp-codemode-exclusion.js +3 -3
- package/dist/plugin/models-dev.js +95 -95
- package/dist/plugin/module.js +7 -7
- package/dist/plugin/optimize.js +4 -4
- package/dist/plugin/plan.js +101 -101
- package/dist/plugin/promise.js +1 -1
- package/dist/plugin/provider/amazon-bedrock.js +89 -89
- package/dist/plugin/provider/azure.js +121 -121
- package/dist/plugin/provider/cerebras.js +1 -1
- package/dist/plugin/provider/cloudflare-ai-gateway.js +120 -120
- package/dist/plugin/provider/cloudflare-workers-ai.js +120 -120
- package/dist/plugin/provider/cohere.js +2 -2
- package/dist/plugin/provider/configured.js +118 -118
- package/dist/plugin/provider/digitalocean.js +92 -92
- package/dist/plugin/provider/dynamic.js +2 -2
- package/dist/plugin/provider/factory.js +1 -1
- package/dist/plugin/provider/gateway.js +2 -2
- package/dist/plugin/provider/github-copilot.js +92 -92
- package/dist/plugin/provider/gitlab.js +90 -90
- package/dist/plugin/provider/google-vertex.js +89 -89
- package/dist/plugin/provider/kilo.js +1 -1
- package/dist/plugin/provider/llmgateway.js +76 -76
- package/dist/plugin/provider/lmstudio.js +121 -121
- package/dist/plugin/provider/modal.js +91 -91
- package/dist/plugin/provider/nvidia.js +1 -1
- package/dist/plugin/provider/ollama.js +121 -121
- package/dist/plugin/provider/openai.js +93 -93
- package/dist/plugin/provider/opencode.js +92 -92
- package/dist/plugin/provider/openrouter.js +90 -90
- package/dist/plugin/provider/perplexity.js +2 -2
- package/dist/plugin/provider/poe.js +77 -77
- package/dist/plugin/provider/prompt-cache-key.js +89 -89
- package/dist/plugin/provider/sap-ai-core.js +90 -90
- package/dist/plugin/provider/sdk-factory.js +1 -1
- package/dist/plugin/provider/snowflake-cortex.js +121 -121
- package/dist/plugin/provider/venice.js +2 -2
- package/dist/plugin/provider/vercel.js +89 -89
- package/dist/plugin/provider/vllm.js +121 -121
- package/dist/plugin/provider/xai.js +90 -90
- package/dist/plugin/provider/zenmux.js +1 -1
- package/dist/plugin/provider.js +158 -158
- package/dist/plugin/sdk.js +75 -75
- package/dist/plugin/service.js +3 -3
- package/dist/plugin/skill.js +138 -138
- package/dist/plugin/source-directory.js +1 -1
- package/dist/plugin/supervisor.js +347 -347
- package/dist/plugin/tool-input-repair.js +4 -4
- package/dist/plugin/update.js +6 -6
- package/dist/plugin/vcs/git.js +85 -85
- package/dist/plugin/vcs/hg.js +85 -85
- package/dist/plugin/warming.js +120 -120
- 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 +226 -226
- package/dist/project/schema.js +8 -8
- package/dist/project/sql.js +4 -4
- package/dist/project.js +89 -89
- package/dist/provider.js +100 -100
- package/dist/pty/protocol.js +1 -1
- package/dist/pty/schema.js +3 -3
- package/dist/pty/ticket.js +1 -1
- package/dist/pty.js +97 -97
- package/dist/reference/instructions.js +86 -86
- package/dist/reference.js +90 -90
- package/dist/repository-cache.js +80 -80
- package/dist/repository.js +3 -3
- package/dist/ripgrep/binary.js +2 -2
- package/dist/ripgrep.js +96 -96
- package/dist/rpc.js +85 -85
- package/dist/schema.js +1 -1
- package/dist/session/command.js +73 -73
- package/dist/session/compaction.js +133 -133
- package/dist/session/context.js +151 -151
- package/dist/session/diff.js +87 -87
- package/dist/session/environment.js +5 -5
- package/dist/session/error.js +5 -5
- package/dist/session/event.js +1 -1
- package/dist/session/execution/restart.js +220 -220
- package/dist/session/execution.js +125 -125
- package/dist/session/generate.js +152 -152
- package/dist/session/history.js +13 -13
- package/dist/session/inbox.js +87 -87
- package/dist/session/info.js +3 -3
- package/dist/session/instruction-entry.js +78 -78
- package/dist/session/instruction-state.js +8 -8
- package/dist/session/instructions.js +96 -96
- package/dist/session/message-updater.js +2 -2
- package/dist/session/message.js +1 -1
- package/dist/session/model-request.js +118 -118
- package/dist/session/model-transport.js +9 -9
- package/dist/session/move.js +129 -129
- package/dist/session/projector.js +85 -85
- package/dist/session/prompt.js +104 -104
- package/dist/session/provider-context.js +3 -3
- package/dist/session/revert.js +89 -89
- package/dist/session/run-coordinator.js +3 -3
- package/dist/session/runner/index.js +3 -3
- package/dist/session/runner/llm.js +228 -228
- package/dist/session/runner/max-steps.js +1 -1
- package/dist/session/runner/model.js +97 -97
- package/dist/session/runner/publish-llm-event.js +3 -3
- package/dist/session/runner/retry.js +113 -113
- package/dist/session/runner/step.js +123 -123
- package/dist/session/runner/to-llm-message.js +2 -2
- package/dist/session/schema.js +5 -5
- package/dist/session/session.js +171 -171
- package/dist/session/shell.js +137 -137
- package/dist/session/skill.js +102 -102
- package/dist/session/sql.js +5 -5
- package/dist/session/stats.js +74 -74
- package/dist/session/store.js +84 -84
- package/dist/session/subagent-completion.js +1 -1
- package/dist/session/subagent-job.js +209 -209
- package/dist/session/system-prompt.js +3 -3
- package/dist/session/title.js +149 -149
- package/dist/session/to-session-error.js +110 -110
- package/dist/session/transfer.js +222 -222
- package/dist/session/usage.js +1 -1
- package/dist/session.js +217 -217
- 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 +13 -13
- package/dist/shell.js +139 -139
- package/dist/skill/discovery.js +6 -6
- package/dist/skill/instructions.js +106 -106
- package/dist/skill.js +111 -111
- package/dist/snapshot.js +90 -90
- 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 +122 -122
- package/dist/tool/plugin/edit.js +119 -119
- package/dist/tool/plugin/file-diff.js +1 -1
- package/dist/tool/plugin/glob.js +123 -123
- package/dist/tool/plugin/grep.js +123 -123
- package/dist/tool/plugin/opencode.js +3 -3
- package/dist/tool/plugin/patch.js +121 -121
- package/dist/tool/plugin/question.js +100 -100
- package/dist/tool/plugin/read.js +124 -124
- package/dist/tool/plugin/shell.js +216 -216
- package/dist/tool/plugin/skill.js +110 -110
- package/dist/tool/plugin/subagent.js +218 -218
- package/dist/tool/plugin/webfetch.js +109 -109
- package/dist/tool/plugin/websearch.js +113 -113
- package/dist/tool/plugin/write.js +121 -121
- package/dist/tool/read-filesystem.js +99 -99
- package/dist/tool/runtime.js +1 -1
- package/dist/tool-output.js +8 -8
- package/dist/tool.js +14 -14
- 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/attachment.js +4 -4
- package/dist/v1/config/command.js +5 -5
- package/dist/v1/config/config.js +16 -16
- package/dist/v1/config/error.js +2 -2
- package/dist/v1/config/formatter.js +5 -5
- package/dist/v1/config/layout.js +1 -1
- package/dist/v1/config/lsp.js +5 -5
- package/dist/v1/config/mcp.js +4 -4
- package/dist/v1/config/migrate.js +91 -91
- 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/v1/config/server.js +2 -2
- package/dist/v1/config/skills.js +3 -3
- package/dist/v1/permission.js +1 -1
- package/dist/variant.js +92 -92
- package/dist/vcs/patch.js +1 -1
- package/dist/vcs.js +88 -88
- package/dist/websearch.js +79 -79
- package/dist/wellknown/plugin.js +75 -75
- package/dist/wellknown.js +80 -80
- package/dist/workspace/driver.js +5 -5
- package/dist/workspace/sql.js +1 -1
- package/dist/workspace.js +79 -79
- 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 +88 -88
- package/dist/worktree.js +97 -97
- package/package.json +8 -8
- package/dist/chunks/location-services-07spk5pt.js +0 -492
- package/dist/chunks/location-services-0mesazry.js +0 -4
- package/dist/chunks/location-services-1x11rq2a.js +0 -18
- package/dist/chunks/location-services-20da25kr.js +0 -65
- package/dist/chunks/location-services-p49m4rqh.js +0 -26
- package/dist/chunks/location-services-zwypcbt3.js +0 -252
- /package/dist/chunks/{location-services-0qkdqm5v.js → workspace-0qkdqm5v.js} +0 -0
- /package/dist/chunks/{location-services-0zkw76rk.js → workspace-0zkw76rk.js} +0 -0
- /package/dist/chunks/{location-services-17cy0kzp.js → workspace-17cy0kzp.js} +0 -0
- /package/dist/chunks/{location-services-1cnp2v09.js → workspace-1cnp2v09.js} +0 -0
- /package/dist/chunks/{location-services-1kg9ymc8.js → workspace-1kg9ymc8.js} +0 -0
- /package/dist/chunks/{location-services-24dcb14g.js → workspace-24dcb14g.js} +0 -0
- /package/dist/chunks/{location-services-2710q6r3.js → workspace-2710q6r3.js} +0 -0
- /package/dist/chunks/{location-services-2axfhc9x.js → workspace-2axfhc9x.js} +0 -0
- /package/dist/chunks/{location-services-2c3vjs8z.js → workspace-2c3vjs8z.js} +0 -0
- /package/dist/chunks/{location-services-359p4xyc.js → workspace-359p4xyc.js} +0 -0
- /package/dist/chunks/{location-services-3asan66x.js → workspace-3asan66x.js} +0 -0
- /package/dist/chunks/{location-services-3v8g72cx.js → workspace-3v8g72cx.js} +0 -0
- /package/dist/chunks/{location-services-3w5fmr99.js → workspace-3w5fmr99.js} +0 -0
- /package/dist/chunks/{location-services-3wcehsnq.js → workspace-3wcehsnq.js} +0 -0
- /package/dist/chunks/{location-services-43n2bw4t.js → workspace-43n2bw4t.js} +0 -0
- /package/dist/chunks/{location-services-4knz6hnm.js → workspace-4knz6hnm.js} +0 -0
- /package/dist/chunks/{location-services-4vcrnpx2.js → workspace-4vcrnpx2.js} +0 -0
- /package/dist/chunks/{location-services-4y7fprxs.js → workspace-4y7fprxs.js} +0 -0
- /package/dist/chunks/{location-services-53557ph1.js → workspace-53557ph1.js} +0 -0
- /package/dist/chunks/{location-services-550bvhaj.js → workspace-550bvhaj.js} +0 -0
- /package/dist/chunks/{location-services-5qd3pb7m.js → workspace-5qd3pb7m.js} +0 -0
- /package/dist/chunks/{location-services-6prwharc.js → workspace-6prwharc.js} +0 -0
- /package/dist/chunks/{location-services-7akdwqpd.js → workspace-7akdwqpd.js} +0 -0
- /package/dist/chunks/{location-services-7m9af43g.js → workspace-7m9af43g.js} +0 -0
- /package/dist/chunks/{location-services-822emrt2.js → workspace-822emrt2.js} +0 -0
- /package/dist/chunks/{location-services-88xbtdfr.js → workspace-88xbtdfr.js} +0 -0
- /package/dist/chunks/{location-services-8n3pysct.js → workspace-8n3pysct.js} +0 -0
- /package/dist/chunks/{location-services-922hggd3.js → workspace-922hggd3.js} +0 -0
- /package/dist/chunks/{location-services-9a4afbnw.js → workspace-9a4afbnw.js} +0 -0
- /package/dist/chunks/{location-services-9rqn6x4v.js → workspace-9rqn6x4v.js} +0 -0
- /package/dist/chunks/{location-services-a6k6eb26.js → workspace-a6k6eb26.js} +0 -0
- /package/dist/chunks/{location-services-af5trqkr.js → workspace-af5trqkr.js} +0 -0
- /package/dist/chunks/{location-services-afrmfg78.js → workspace-afrmfg78.js} +0 -0
- /package/dist/chunks/{location-services-aqzs7mqg.js → workspace-aqzs7mqg.js} +0 -0
- /package/dist/chunks/{location-services-atq7p7m5.js → workspace-atq7p7m5.js} +0 -0
- /package/dist/chunks/{location-services-bkyjaxrp.js → workspace-bkyjaxrp.js} +0 -0
- /package/dist/chunks/{location-services-bmr6ed5q.js → workspace-bmr6ed5q.js} +0 -0
- /package/dist/chunks/{location-services-cf4snx6d.js → workspace-cf4snx6d.js} +0 -0
- /package/dist/chunks/{location-services-cvy3z8tj.js → workspace-cvy3z8tj.js} +0 -0
- /package/dist/chunks/{location-services-d9fn303g.js → workspace-d9fn303g.js} +0 -0
- /package/dist/chunks/{location-services-d9jj8t3e.js → workspace-d9jj8t3e.js} +0 -0
- /package/dist/chunks/{location-services-dajrwvna.js → workspace-dajrwvna.js} +0 -0
- /package/dist/chunks/{location-services-dap0rakb.js → workspace-dap0rakb.js} +0 -0
- /package/dist/chunks/{location-services-df08tz66.js → workspace-df08tz66.js} +0 -0
- /package/dist/chunks/{location-services-dy18nga0.js → workspace-dy18nga0.js} +0 -0
- /package/dist/chunks/{location-services-e5kj55wp.js → workspace-e5kj55wp.js} +0 -0
- /package/dist/chunks/{location-services-e73j6tqm.js → workspace-e73j6tqm.js} +0 -0
- /package/dist/chunks/{location-services-ec1grn59.js → workspace-ec1grn59.js} +0 -0
- /package/dist/chunks/{location-services-eh3zwz77.js → workspace-eh3zwz77.js} +0 -0
- /package/dist/chunks/{location-services-emrn6kk6.js → workspace-emrn6kk6.js} +0 -0
- /package/dist/chunks/{location-services-f0mxakyp.js → workspace-f0mxakyp.js} +0 -0
- /package/dist/chunks/{location-services-f6n9ztr4.js → workspace-f6n9ztr4.js} +0 -0
- /package/dist/chunks/{location-services-faypxj3z.js → workspace-faypxj3z.js} +0 -0
- /package/dist/chunks/{location-services-fd410y7t.js → workspace-fd410y7t.js} +0 -0
- /package/dist/chunks/{location-services-fxgpk5d8.js → workspace-fxgpk5d8.js} +0 -0
- /package/dist/chunks/{location-services-g4wezp1m.js → workspace-g4wezp1m.js} +0 -0
- /package/dist/chunks/{location-services-g86h250q.js → workspace-g86h250q.js} +0 -0
- /package/dist/chunks/{location-services-gebd4c9n.js → workspace-gebd4c9n.js} +0 -0
- /package/dist/chunks/{location-services-gftt206x.js → workspace-gftt206x.js} +0 -0
- /package/dist/chunks/{location-services-hjbc5kem.js → workspace-hjbc5kem.js} +0 -0
- /package/dist/chunks/{location-services-hk9envan.js → workspace-hk9envan.js} +0 -0
- /package/dist/chunks/{location-services-j2ntwpah.js → workspace-j2ntwpah.js} +0 -0
- /package/dist/chunks/{location-services-j5zkgpj8.js → workspace-j5zkgpj8.js} +0 -0
- /package/dist/chunks/{location-services-jjkms2e6.js → workspace-jjkms2e6.js} +0 -0
- /package/dist/chunks/{location-services-jr7sbwjy.js → workspace-jr7sbwjy.js} +0 -0
- /package/dist/chunks/{location-services-jwfs4k6c.js → workspace-jwfs4k6c.js} +0 -0
- /package/dist/chunks/{location-services-jzg6c2d5.js → workspace-jzg6c2d5.js} +0 -0
- /package/dist/chunks/{location-services-mp448xyj.js → workspace-mp448xyj.js} +0 -0
- /package/dist/chunks/{location-services-msx8hqn2.js → workspace-msx8hqn2.js} +0 -0
- /package/dist/chunks/{location-services-n05xt0ee.js → workspace-n05xt0ee.js} +0 -0
- /package/dist/chunks/{location-services-n3j8tn72.js → workspace-n3j8tn72.js} +0 -0
- /package/dist/chunks/{location-services-njntx4h6.js → workspace-njntx4h6.js} +0 -0
- /package/dist/chunks/{location-services-q3sfg36h.js → workspace-q3sfg36h.js} +0 -0
- /package/dist/chunks/{location-services-q74kybfr.js → workspace-q74kybfr.js} +0 -0
- /package/dist/chunks/{location-services-qaymkmh1.js → workspace-qaymkmh1.js} +0 -0
- /package/dist/chunks/{location-services-qb87gjwd.js → workspace-qb87gjwd.js} +0 -0
- /package/dist/chunks/{location-services-qfa1cgps.js → workspace-qfa1cgps.js} +0 -0
- /package/dist/chunks/{location-services-qg3g05ea.js → workspace-qg3g05ea.js} +0 -0
- /package/dist/chunks/{location-services-qrg20bc0.js → workspace-qrg20bc0.js} +0 -0
- /package/dist/chunks/{location-services-rcb2kzg1.js → workspace-rcb2kzg1.js} +0 -0
- /package/dist/chunks/{location-services-sdp7kfr6.js → workspace-sdp7kfr6.js} +0 -0
- /package/dist/chunks/{location-services-sk3qaz4a.js → workspace-sk3qaz4a.js} +0 -0
- /package/dist/chunks/{location-services-ssg3fenm.js → workspace-ssg3fenm.js} +0 -0
- /package/dist/chunks/{location-services-twg0f83k.js → workspace-twg0f83k.js} +0 -0
- /package/dist/chunks/{location-services-w803qqfp.js → workspace-w803qqfp.js} +0 -0
- /package/dist/chunks/{location-services-wc3fc9cn.js → workspace-wc3fc9cn.js} +0 -0
- /package/dist/chunks/{location-services-wer8tq1h.js → workspace-wer8tq1h.js} +0 -0
- /package/dist/chunks/{location-services-wtztk69x.js → workspace-wtztk69x.js} +0 -0
- /package/dist/chunks/{location-services-x0ckcb58.js → workspace-x0ckcb58.js} +0 -0
- /package/dist/chunks/{location-services-x61499pn.js → workspace-x61499pn.js} +0 -0
- /package/dist/chunks/{location-services-y44na4kk.js → workspace-y44na4kk.js} +0 -0
- /package/dist/chunks/{location-services-y8cydn3q.js → workspace-y8cydn3q.js} +0 -0
- /package/dist/chunks/{location-services-y8f7s663.js → workspace-y8f7s663.js} +0 -0
- /package/dist/chunks/{location-services-ygaqb7jw.js → workspace-ygaqb7jw.js} +0 -0
- /package/dist/chunks/{location-services-ym463w8f.js → workspace-ym463w8f.js} +0 -0
- /package/dist/chunks/{location-services-z9919s4g.js → workspace-z9919s4g.js} +0 -0
|
@@ -1,30 +1,30 @@
|
|
|
1
1
|
import {
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
} from "./
|
|
2
|
+
Service83,
|
|
3
|
+
node87
|
|
4
|
+
} from "./workspace-pr971s7g.js";
|
|
5
5
|
import {
|
|
6
6
|
makeUnsafe2
|
|
7
|
-
} from "./
|
|
7
|
+
} from "./workspace-dpkg50ah.js";
|
|
8
8
|
import {
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
} from "./
|
|
9
|
+
Service82,
|
|
10
|
+
node86
|
|
11
|
+
} from "./workspace-j13v91pw.js";
|
|
12
12
|
import {
|
|
13
13
|
SessionEvent2
|
|
14
|
-
} from "./
|
|
14
|
+
} from "./workspace-ec1grn59.js";
|
|
15
15
|
import {
|
|
16
16
|
SessionMessage2
|
|
17
|
-
} from "./
|
|
17
|
+
} from "./workspace-gftt206x.js";
|
|
18
18
|
import {
|
|
19
19
|
SessionSchema2
|
|
20
|
-
} from "./
|
|
20
|
+
} from "./workspace-pk2244jm.js";
|
|
21
21
|
import {
|
|
22
22
|
SessionMessageTable2,
|
|
23
23
|
SessionInboxTable2
|
|
24
|
-
} from "./
|
|
24
|
+
} from "./workspace-5c4hm403.js";
|
|
25
25
|
import {
|
|
26
26
|
__export
|
|
27
|
-
} from "./
|
|
27
|
+
} from "./workspace-9rqn6x4v.js";
|
|
28
28
|
|
|
29
29
|
// src/session/inbox.ts
|
|
30
30
|
var exports_inbox = {};
|
|
@@ -37,7 +37,7 @@ __export(exports_inbox, {
|
|
|
37
37
|
LifecycleConflict: () => LifecycleConflict2,
|
|
38
38
|
Move: () => Move2,
|
|
39
39
|
MovePayload: () => MovePayload2,
|
|
40
|
-
Service: () =>
|
|
40
|
+
Service: () => Service55,
|
|
41
41
|
SessionInbox: () => exports_inbox,
|
|
42
42
|
Synthetic: () => Synthetic2,
|
|
43
43
|
SyntheticPayload: () => SyntheticPayload2,
|
|
@@ -45,12 +45,12 @@ __export(exports_inbox, {
|
|
|
45
45
|
UserPayload: () => UserPayload2,
|
|
46
46
|
find: () => find2,
|
|
47
47
|
has: () => has2,
|
|
48
|
-
layer: () =>
|
|
49
|
-
list: () =>
|
|
50
|
-
make: () =>
|
|
48
|
+
layer: () => layer20,
|
|
49
|
+
list: () => list3,
|
|
50
|
+
make: () => make16,
|
|
51
51
|
moveIDs: () => moveIDs2,
|
|
52
52
|
nextPromotable: () => nextPromotable2,
|
|
53
|
-
node: () =>
|
|
53
|
+
node: () => node57,
|
|
54
54
|
projectAdmitted: () => projectAdmitted2,
|
|
55
55
|
projectCancelled: () => projectCancelled2,
|
|
56
56
|
projectDelivered: () => projectDelivered2,
|
|
@@ -151,12 +151,12 @@ var promotedFromMessage = Effect.fn("SessionInbox.promotedFromMessage")(function
|
|
|
151
151
|
return yield* new LifecycleConflict2({ id });
|
|
152
152
|
});
|
|
153
153
|
|
|
154
|
-
class
|
|
154
|
+
class Service55 extends Context.Service()("@opencode/SessionInbox") {
|
|
155
155
|
}
|
|
156
|
-
var
|
|
157
|
-
const database = yield*
|
|
156
|
+
var make16 = Effect.fn("SessionInbox.make")(function* () {
|
|
157
|
+
const database = yield* Service83;
|
|
158
158
|
const db = database.db;
|
|
159
|
-
const bus = yield*
|
|
159
|
+
const bus = yield* Service82;
|
|
160
160
|
const reconcile = Effect.fn("SessionInbox.reconcile")(function* (request) {
|
|
161
161
|
const existing = (yield* find2(db, request.id)) ?? (yield* promotedFromMessage(db, request.sessionID, request.id, request.delivery));
|
|
162
162
|
if (existing === undefined)
|
|
@@ -193,7 +193,7 @@ var make17 = Effect.fn("SessionInbox.make")(function* () {
|
|
|
193
193
|
}
|
|
194
194
|
if (yield* promotedFromMessage(db, input.sessionID, input.id, input.delivery))
|
|
195
195
|
return yield* new LifecycleConflict2({ id: input.id });
|
|
196
|
-
const pending = (yield*
|
|
196
|
+
const pending = (yield* list3(db, input.sessionID)).find((item) => item.type === "compaction");
|
|
197
197
|
if (pending)
|
|
198
198
|
return pending;
|
|
199
199
|
return yield* admit({
|
|
@@ -218,7 +218,7 @@ var make17 = Effect.fn("SessionInbox.make")(function* () {
|
|
|
218
218
|
delivery: "queue"
|
|
219
219
|
})));
|
|
220
220
|
return {
|
|
221
|
-
list: (sessionID) =>
|
|
221
|
+
list: (sessionID) => list3(db, sessionID),
|
|
222
222
|
reconcile,
|
|
223
223
|
admit,
|
|
224
224
|
admitCompaction,
|
|
@@ -227,8 +227,8 @@ var make17 = Effect.fn("SessionInbox.make")(function* () {
|
|
|
227
227
|
queue
|
|
228
228
|
};
|
|
229
229
|
});
|
|
230
|
-
var
|
|
231
|
-
var
|
|
230
|
+
var layer20 = Layer.effect(Service55, make16());
|
|
231
|
+
var node57 = makeGlobalNode({ service: Service55, layer: layer20, deps: [node87, node86] });
|
|
232
232
|
var projectAdmitted2 = Effect.fn("SessionInbox.projectAdmitted")(function* (db, request) {
|
|
233
233
|
const message = yield* db.select({ id: SessionMessageTable2.id }).from(SessionMessageTable2).where(eq(SessionMessageTable2.id, request.id)).get().pipe(Effect.orDie);
|
|
234
234
|
if (message !== undefined)
|
|
@@ -266,7 +266,7 @@ var projectDeliveryChanged2 = Effect.fn("SessionInbox.projectDeliveryChanged")((
|
|
|
266
266
|
from: input.delivery === "steer" ? "queue" : "steer",
|
|
267
267
|
to: input.delivery
|
|
268
268
|
}));
|
|
269
|
-
var
|
|
269
|
+
var list3 = Effect.fn("SessionInbox.list")(function* (db, sessionID) {
|
|
270
270
|
const rows = yield* db.select().from(SessionInboxTable2).where(eq(SessionInboxTable2.session_id, sessionID)).orderBy(asc(SessionInboxTable2.enqueued_seq)).all().pipe(Effect.orDie);
|
|
271
271
|
return rows.map(fromRow);
|
|
272
272
|
});
|
|
@@ -326,4 +326,4 @@ var pendingSteers = (db, sessionID) => db.select().from(SessionInboxTable2).wher
|
|
|
326
326
|
return rows;
|
|
327
327
|
}));
|
|
328
328
|
|
|
329
|
-
export { Compaction2, CompactionPayload2, Delivery2, Info19, Item2, Move2, MovePayload2, Synthetic2, SyntheticPayload2, User2, UserPayload2, serialized2, LifecycleConflict2, find2,
|
|
329
|
+
export { Compaction2, CompactionPayload2, Delivery2, Info19, Item2, Move2, MovePayload2, Synthetic2, SyntheticPayload2, User2, UserPayload2, serialized2, LifecycleConflict2, find2, Service55, make16, layer20, node57, projectAdmitted2, projectDelivered2, projectCancelled2, projectDeliveryChanged2, list3, moveIDs2, nextPromotable2, has2, promote2, exports_inbox };
|
|
@@ -1,33 +1,33 @@
|
|
|
1
1
|
import {
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
} from "./
|
|
2
|
+
Service82,
|
|
3
|
+
node86
|
|
4
|
+
} from "./workspace-j13v91pw.js";
|
|
5
5
|
import {
|
|
6
6
|
create3
|
|
7
|
-
} from "./
|
|
7
|
+
} from "./workspace-rdw6cm16.js";
|
|
8
8
|
import {
|
|
9
9
|
__export
|
|
10
|
-
} from "./
|
|
10
|
+
} from "./workspace-9rqn6x4v.js";
|
|
11
11
|
|
|
12
12
|
// src/command.ts
|
|
13
|
-
var
|
|
14
|
-
__export(
|
|
15
|
-
Command: () =>
|
|
16
|
-
Event: () =>
|
|
13
|
+
var exports_command4 = {};
|
|
14
|
+
__export(exports_command4, {
|
|
15
|
+
Command: () => exports_command4,
|
|
16
|
+
Event: () => Event7,
|
|
17
17
|
ExecutionError: () => ExecutionError2,
|
|
18
|
-
Info: () =>
|
|
19
|
-
NotFoundError: () =>
|
|
20
|
-
Service: () =>
|
|
21
|
-
layer: () =>
|
|
22
|
-
node: () =>
|
|
18
|
+
Info: () => Info7,
|
|
19
|
+
NotFoundError: () => NotFoundError5,
|
|
20
|
+
Service: () => Service46,
|
|
21
|
+
layer: () => layer16,
|
|
22
|
+
node: () => node49
|
|
23
23
|
});
|
|
24
24
|
import { Command } from "@opencode/schema/command";
|
|
25
25
|
import { makeLocationNode } from "@opencode/util/effect/app-node";
|
|
26
26
|
import { Context, Effect, Layer, Schema } from "effect";
|
|
27
|
-
import { Event as
|
|
28
|
-
var
|
|
27
|
+
import { Event as Event7 } from "@opencode/schema/command";
|
|
28
|
+
var Info7 = Command.Info;
|
|
29
29
|
|
|
30
|
-
class
|
|
30
|
+
class NotFoundError5 extends Schema.TaggedError()("Command.NotFoundError", {
|
|
31
31
|
command: Schema.String,
|
|
32
32
|
message: Schema.String
|
|
33
33
|
}) {
|
|
@@ -39,10 +39,10 @@ class ExecutionError2 extends Schema.TaggedError()("Command.ExecutionError", {
|
|
|
39
39
|
}) {
|
|
40
40
|
}
|
|
41
41
|
|
|
42
|
-
class
|
|
42
|
+
class Service46 extends Context.Service()("@opencode/Command") {
|
|
43
43
|
}
|
|
44
|
-
var
|
|
45
|
-
const bus = yield*
|
|
44
|
+
var layer16 = Layer.effect(Service46, Effect.gen(function* () {
|
|
45
|
+
const bus = yield* Service82;
|
|
46
46
|
const state = create3({
|
|
47
47
|
name: "command",
|
|
48
48
|
initial: () => new Map,
|
|
@@ -51,11 +51,11 @@ var layer20 = Layer.effect(Service45, Effect.gen(function* () {
|
|
|
51
51
|
}),
|
|
52
52
|
notify: () => bus.publish(Command.Event.Updated, {}).pipe(Effect.asVoid)
|
|
53
53
|
});
|
|
54
|
-
const info = (definition) =>
|
|
54
|
+
const info = (definition) => Info7.make({
|
|
55
55
|
name: definition.name,
|
|
56
56
|
description: definition.description
|
|
57
57
|
});
|
|
58
|
-
return
|
|
58
|
+
return Service46.of({
|
|
59
59
|
reload: state.reload,
|
|
60
60
|
transform: state.transform,
|
|
61
61
|
get: Effect.fn("Command.get")((name) => Effect.sync(() => {
|
|
@@ -66,15 +66,15 @@ var layer20 = Layer.effect(Service45, Effect.gen(function* () {
|
|
|
66
66
|
execute: Effect.fn("Command.execute")(function* (input) {
|
|
67
67
|
const definition = state.get().get(input.name);
|
|
68
68
|
if (!definition)
|
|
69
|
-
return yield* new
|
|
69
|
+
return yield* new NotFoundError5({ command: input.name, message: `Command not found: ${input.name}` });
|
|
70
70
|
return yield* definition.execute(input.invocation).pipe(Effect.tapError((error) => Effect.logError("command execution failed", { command: input.name, error })), Effect.mapError((error) => new ExecutionError2({ command: input.name, message: errorMessage(error) })));
|
|
71
71
|
})
|
|
72
72
|
});
|
|
73
73
|
}));
|
|
74
|
-
var
|
|
75
|
-
service:
|
|
76
|
-
layer:
|
|
77
|
-
deps: [
|
|
74
|
+
var node49 = makeLocationNode({
|
|
75
|
+
service: Service46,
|
|
76
|
+
layer: layer16,
|
|
77
|
+
deps: [node86]
|
|
78
78
|
});
|
|
79
79
|
function errorMessage(error) {
|
|
80
80
|
if (error instanceof Error)
|
|
@@ -86,4 +86,4 @@ function errorMessage(error) {
|
|
|
86
86
|
return "Command execution failed";
|
|
87
87
|
}
|
|
88
88
|
|
|
89
|
-
export {
|
|
89
|
+
export { Info7, NotFoundError5, ExecutionError2, Service46, layer16, node49, exports_command4, Event7 };
|
|
@@ -1,19 +1,19 @@
|
|
|
1
1
|
import {
|
|
2
2
|
SessionEvent2
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./workspace-ec1grn59.js";
|
|
4
4
|
import {
|
|
5
5
|
toSessionError2
|
|
6
|
-
} from "./
|
|
6
|
+
} from "./workspace-8z9aqbjr.js";
|
|
7
7
|
import {
|
|
8
8
|
__export
|
|
9
|
-
} from "./
|
|
9
|
+
} from "./workspace-9rqn6x4v.js";
|
|
10
10
|
|
|
11
11
|
// src/session/runner/retry.ts
|
|
12
12
|
var exports_retry = {};
|
|
13
13
|
__export(exports_retry, {
|
|
14
14
|
SessionRunnerRetry: () => exports_retry,
|
|
15
15
|
isRetryable: () => isRetryable2,
|
|
16
|
-
make: () =>
|
|
16
|
+
make: () => make6,
|
|
17
17
|
policy: () => policy2,
|
|
18
18
|
transient: () => transient2
|
|
19
19
|
});
|
|
@@ -99,7 +99,7 @@ var transient2 = (decide, input) => (effect) => Effect.retry(effect, {
|
|
|
99
99
|
return true;
|
|
100
100
|
})
|
|
101
101
|
});
|
|
102
|
-
var
|
|
102
|
+
var make6 = (bus, sessionID) => Effect.gen(function* () {
|
|
103
103
|
const decide = yield* policy2(sessionID);
|
|
104
104
|
const wait = (input) => Effect.gen(function* () {
|
|
105
105
|
const scheduled = yield* Clock.currentTimeMillis;
|
|
@@ -116,4 +116,4 @@ var make10 = (bus, sessionID) => Effect.gen(function* () {
|
|
|
116
116
|
return { decide, wait };
|
|
117
117
|
});
|
|
118
118
|
|
|
119
|
-
export { isRetryable2, policy2, transient2,
|
|
119
|
+
export { isRetryable2, policy2, transient2, make6, exports_retry };
|
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
import {
|
|
2
2
|
collectBoundedResponseBody2
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./workspace-3v8g72cx.js";
|
|
4
4
|
import {
|
|
5
5
|
__export
|
|
6
|
-
} from "./
|
|
6
|
+
} from "./workspace-9rqn6x4v.js";
|
|
7
7
|
|
|
8
8
|
// src/plugin/websearch/mcp.ts
|
|
9
9
|
var exports_mcp2 = {};
|
|
@@ -1,13 +1,13 @@
|
|
|
1
1
|
import {
|
|
2
2
|
__export
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./workspace-9rqn6x4v.js";
|
|
4
4
|
|
|
5
5
|
// src/session/system-prompt.ts
|
|
6
6
|
var exports_system_prompt = {};
|
|
7
7
|
__export(exports_system_prompt, {
|
|
8
8
|
SessionSystemPrompt: () => exports_system_prompt,
|
|
9
9
|
make: () => make14,
|
|
10
|
-
render: () =>
|
|
10
|
+
render: () => render2
|
|
11
11
|
});
|
|
12
12
|
|
|
13
13
|
// src/session/runner/prompt/system.txt
|
|
@@ -30,9 +30,9 @@ var system_default = `You are an AI agent running in OpenCode, a coding agent ha
|
|
|
30
30
|
|
|
31
31
|
// src/session/system-prompt.ts
|
|
32
32
|
function make14(tools) {
|
|
33
|
-
return
|
|
33
|
+
return render2(system_default, tools);
|
|
34
34
|
}
|
|
35
|
-
function
|
|
35
|
+
function render2(prompt, tools) {
|
|
36
36
|
const instructions = [];
|
|
37
37
|
if (tools.includes("shell")) {
|
|
38
38
|
instructions.push("- Prefer dedicated tools over shell commands; fall back to the shell when a tool cannot do what you need.", "- Do not chain shell commands with separators like `echo \"====\";` or `printf '---'`; the output becomes noisy in a way that makes the user's side of the conversation worse.");
|
|
@@ -47,4 +47,4 @@ function render3(prompt, tools) {
|
|
|
47
47
|
`));
|
|
48
48
|
}
|
|
49
49
|
|
|
50
|
-
export { make14,
|
|
50
|
+
export { make14, render2, exports_system_prompt };
|
|
@@ -1,31 +1,31 @@
|
|
|
1
1
|
import {
|
|
2
2
|
AbsolutePath2
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./workspace-922hggd3.js";
|
|
4
4
|
import {
|
|
5
5
|
__export
|
|
6
|
-
} from "./
|
|
6
|
+
} from "./workspace-9rqn6x4v.js";
|
|
7
7
|
|
|
8
8
|
// src/project/schema.ts
|
|
9
9
|
var exports_schema = {};
|
|
10
10
|
__export(exports_schema, {
|
|
11
11
|
Current: () => Current3,
|
|
12
|
-
Event: () =>
|
|
13
|
-
ID: () =>
|
|
14
|
-
Info: () =>
|
|
12
|
+
Event: () => Event21,
|
|
13
|
+
ID: () => ID18,
|
|
14
|
+
Info: () => Info34,
|
|
15
15
|
ProjectSchema: () => exports_schema,
|
|
16
16
|
UpdateInput: () => UpdateInput4,
|
|
17
17
|
Vcs: () => Vcs3
|
|
18
18
|
});
|
|
19
19
|
import { Schema } from "effect";
|
|
20
20
|
import { Project } from "@opencode/schema/project";
|
|
21
|
-
var
|
|
21
|
+
var ID18 = Project.ID;
|
|
22
22
|
var Current3 = Project.Current;
|
|
23
|
-
var
|
|
23
|
+
var Info34 = Project.Info;
|
|
24
24
|
var UpdateInput4 = Project.UpdateInput;
|
|
25
|
-
var
|
|
25
|
+
var Event21 = Project.Event;
|
|
26
26
|
var Vcs3 = Schema.Struct({
|
|
27
27
|
type: Project.Vcs,
|
|
28
28
|
store: AbsolutePath2
|
|
29
29
|
});
|
|
30
30
|
|
|
31
|
-
export {
|
|
31
|
+
export { ID18, Current3, Info34, UpdateInput4, Event21, Vcs3, exports_schema };
|
|
@@ -1,12 +1,12 @@
|
|
|
1
1
|
import {
|
|
2
2
|
jitCompatCheck2
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./workspace-emrn6kk6.js";
|
|
4
4
|
import {
|
|
5
5
|
SQLiteEffectDatabase2
|
|
6
|
-
} from "./
|
|
6
|
+
} from "./workspace-berxm3qr.js";
|
|
7
7
|
import {
|
|
8
8
|
EffectSQLiteSession2
|
|
9
|
-
} from "./
|
|
9
|
+
} from "./workspace-n69p783e.js";
|
|
10
10
|
|
|
11
11
|
// src/database/drizzle/effect-sqlite/driver.ts
|
|
12
12
|
import * as Effect from "effect/Effect";
|
|
@@ -1,13 +1,13 @@
|
|
|
1
1
|
import {
|
|
2
2
|
directoryColumn2,
|
|
3
3
|
pathColumn2
|
|
4
|
-
} from "./
|
|
4
|
+
} from "./workspace-6msgmcgs.js";
|
|
5
5
|
import {
|
|
6
6
|
Timestamps2
|
|
7
|
-
} from "./
|
|
7
|
+
} from "./workspace-qfa1cgps.js";
|
|
8
8
|
import {
|
|
9
9
|
ProjectTable2
|
|
10
|
-
} from "./
|
|
10
|
+
} from "./workspace-dj2t23y0.js";
|
|
11
11
|
|
|
12
12
|
// src/session/sql.ts
|
|
13
13
|
import { sqliteTable, text, integer, index, primaryKey, real, uniqueIndex } from "drizzle-orm/sqlite-core";
|
|
@@ -1,29 +1,29 @@
|
|
|
1
1
|
import {
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
} from "./
|
|
2
|
+
Service82,
|
|
3
|
+
node86
|
|
4
|
+
} from "./workspace-j13v91pw.js";
|
|
5
5
|
import {
|
|
6
6
|
environment2
|
|
7
|
-
} from "./
|
|
7
|
+
} from "./workspace-374v8g3a.js";
|
|
8
8
|
import {
|
|
9
9
|
makeDaemonTransport2
|
|
10
|
-
} from "./
|
|
10
|
+
} from "./workspace-sk3qaz4a.js";
|
|
11
11
|
import {
|
|
12
12
|
__export
|
|
13
|
-
} from "./
|
|
13
|
+
} from "./workspace-9rqn6x4v.js";
|
|
14
14
|
|
|
15
15
|
// src/persistent-pty/index.ts
|
|
16
16
|
var exports_persistent_pty = {};
|
|
17
17
|
__export(exports_persistent_pty, {
|
|
18
18
|
Handoff: () => Handoff2,
|
|
19
|
-
NotFoundError: () =>
|
|
20
|
-
Options: () =>
|
|
19
|
+
NotFoundError: () => NotFoundError8,
|
|
20
|
+
Options: () => Options9,
|
|
21
21
|
PersistentPty: () => exports_persistent_pty,
|
|
22
|
-
Service: () =>
|
|
22
|
+
Service: () => Service70,
|
|
23
23
|
UnavailableError: () => UnavailableError3,
|
|
24
|
-
configured: () =>
|
|
25
|
-
layer: () =>
|
|
26
|
-
node: () =>
|
|
24
|
+
configured: () => configured9,
|
|
25
|
+
layer: () => layer23,
|
|
26
|
+
node: () => node73
|
|
27
27
|
});
|
|
28
28
|
import os from "node:os";
|
|
29
29
|
import path from "node:path";
|
|
@@ -35,22 +35,22 @@ import { Pty } from "@opencode/schema/pty";
|
|
|
35
35
|
import { Global } from "@opencode/util/global";
|
|
36
36
|
import { resolveBinary } from "#persistent-pty-binary";
|
|
37
37
|
import { Handoff as Handoff2 } from "@opencode/schema/persistent-pty";
|
|
38
|
-
var
|
|
38
|
+
var Options9 = Schema.Struct({ handoff: Schema.optional(Handoff) });
|
|
39
39
|
|
|
40
40
|
class UnavailableError3 extends Schema.TaggedError()("PersistentPty.UnavailableError", {
|
|
41
41
|
message: Schema.String
|
|
42
42
|
}) {
|
|
43
43
|
}
|
|
44
44
|
|
|
45
|
-
class
|
|
45
|
+
class NotFoundError8 extends Schema.TaggedError()("PersistentPty.NotFoundError", {
|
|
46
46
|
ptyID: Pty.ID
|
|
47
47
|
}) {
|
|
48
48
|
}
|
|
49
49
|
|
|
50
|
-
class
|
|
50
|
+
class Service70 extends Context.Service()("@opencode/PersistentPty") {
|
|
51
51
|
}
|
|
52
|
-
var makeLayer = (options = {}) => Layer.effect(
|
|
53
|
-
const bus = yield*
|
|
52
|
+
var makeLayer = (options = {}) => Layer.effect(Service70, Effect.gen(function* () {
|
|
53
|
+
const bus = yield* Service82;
|
|
54
54
|
const global = yield* Global.Service;
|
|
55
55
|
const context = yield* Effect.context();
|
|
56
56
|
const runFork = Effect.runForkWith(context);
|
|
@@ -72,7 +72,7 @@ var makeLayer = (options = {}) => Layer.effect(Service35, Effect.gen(function* (
|
|
|
72
72
|
const get = Effect.fn("PersistentPty.get")(function* (id) {
|
|
73
73
|
const found = (yield* list()).find((terminal) => terminal.id === id);
|
|
74
74
|
if (!found)
|
|
75
|
-
return yield* new
|
|
75
|
+
return yield* new NotFoundError8({ ptyID: id });
|
|
76
76
|
return found;
|
|
77
77
|
});
|
|
78
78
|
const create = Effect.fn("PersistentPty.create")(function* (sessionID, input) {
|
|
@@ -239,7 +239,7 @@ var makeLayer = (options = {}) => Layer.effect(Service35, Effect.gen(function* (
|
|
|
239
239
|
detach: attachment.detach
|
|
240
240
|
};
|
|
241
241
|
});
|
|
242
|
-
return
|
|
242
|
+
return Service70.of({
|
|
243
243
|
list,
|
|
244
244
|
get,
|
|
245
245
|
create,
|
|
@@ -255,13 +255,13 @@ var makeLayer = (options = {}) => Layer.effect(Service35, Effect.gen(function* (
|
|
|
255
255
|
attach
|
|
256
256
|
});
|
|
257
257
|
}));
|
|
258
|
-
var
|
|
259
|
-
var
|
|
260
|
-
service:
|
|
261
|
-
layer: options === undefined ?
|
|
262
|
-
deps: [
|
|
258
|
+
var layer23 = makeLayer();
|
|
259
|
+
var configured9 = (options) => makeGlobalNode({
|
|
260
|
+
service: Service70,
|
|
261
|
+
layer: options === undefined ? layer23 : makeLayer(options),
|
|
262
|
+
deps: [node86, Global.node]
|
|
263
263
|
});
|
|
264
|
-
var
|
|
264
|
+
var node73 = configured9();
|
|
265
265
|
var request = (daemon, value, start = false) => daemon.request(value, start).pipe(Effect.mapError(unavailable));
|
|
266
266
|
var optionalRequest = (daemon, value) => daemon.requestIfRunning(value).pipe(Effect.mapError(unavailable));
|
|
267
267
|
var unexpected = (response) => Effect.fail(new UnavailableError3({ message: `unexpected opencode-pty response: ${response.type}` }));
|
|
@@ -301,4 +301,4 @@ function fromID(value) {
|
|
|
301
301
|
return parsed;
|
|
302
302
|
}
|
|
303
303
|
|
|
304
|
-
export {
|
|
304
|
+
export { Options9, UnavailableError3, NotFoundError8, Service70, layer23, configured9, node73, exports_persistent_pty, Handoff2 };
|
|
@@ -1,29 +1,29 @@
|
|
|
1
1
|
import {
|
|
2
2
|
useragent2
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./workspace-gn97k1b0.js";
|
|
4
4
|
import {
|
|
5
|
-
|
|
6
|
-
} from "./
|
|
5
|
+
Service82
|
|
6
|
+
} from "./workspace-j13v91pw.js";
|
|
7
7
|
import {
|
|
8
8
|
OAuth3,
|
|
9
|
-
|
|
10
|
-
} from "./
|
|
9
|
+
Event19
|
|
10
|
+
} from "./workspace-e624nkeg.js";
|
|
11
11
|
import {
|
|
12
|
-
|
|
12
|
+
ID13,
|
|
13
13
|
MethodID2
|
|
14
|
-
} from "./
|
|
14
|
+
} from "./workspace-rfe2qg2a.js";
|
|
15
15
|
import {
|
|
16
16
|
which2
|
|
17
|
-
} from "./
|
|
17
|
+
} from "./workspace-qaymkmh1.js";
|
|
18
18
|
import {
|
|
19
|
-
|
|
20
|
-
} from "./
|
|
19
|
+
ID12
|
|
20
|
+
} from "./workspace-0gptwf17.js";
|
|
21
21
|
import {
|
|
22
22
|
iife2
|
|
23
|
-
} from "./
|
|
23
|
+
} from "./workspace-1kg9ymc8.js";
|
|
24
24
|
import {
|
|
25
25
|
configuredSettings2
|
|
26
|
-
} from "./
|
|
26
|
+
} from "./workspace-fszp41pp.js";
|
|
27
27
|
|
|
28
28
|
// src/plugin/provider/azure.ts
|
|
29
29
|
import { Clock, Effect, Schema, Semaphore, Stream } from "effect";
|
|
@@ -43,9 +43,9 @@ var decodeToken = Schema.decodeUnknownEffect(Schema.Struct({
|
|
|
43
43
|
var AzurePlugin2 = define({
|
|
44
44
|
id: "opencode.provider.azure",
|
|
45
45
|
effect: Effect.fn(function* (ctx) {
|
|
46
|
-
const configured = yield* configuredSettings2(
|
|
46
|
+
const configured = yield* configuredSettings2(ID12.azure);
|
|
47
47
|
const processes = yield* AppProcess.Service;
|
|
48
|
-
const bus = yield*
|
|
48
|
+
const bus = yield* Service82;
|
|
49
49
|
const tokens = new Map;
|
|
50
50
|
const loading = Semaphore.makeUnsafe(1);
|
|
51
51
|
const loaded = {};
|
|
@@ -79,13 +79,13 @@ var AzurePlugin2 = define({
|
|
|
79
79
|
});
|
|
80
80
|
yield* ctx.integration.transform((editor) => {
|
|
81
81
|
editor.method.update({
|
|
82
|
-
integrationID:
|
|
82
|
+
integrationID: ID12.azure,
|
|
83
83
|
method: { type: "key", label: "API key", form: form() }
|
|
84
84
|
});
|
|
85
85
|
if (!available)
|
|
86
86
|
return;
|
|
87
87
|
editor.method.update({
|
|
88
|
-
integrationID:
|
|
88
|
+
integrationID: ID12.azure,
|
|
89
89
|
method: {
|
|
90
90
|
id: methodID,
|
|
91
91
|
type: "oauth",
|
|
@@ -117,7 +117,7 @@ var AzurePlugin2 = define({
|
|
|
117
117
|
});
|
|
118
118
|
});
|
|
119
119
|
const load = Effect.fn("AzurePlugin.load")(function* () {
|
|
120
|
-
const connection = yield* ctx.integration.connection.active(
|
|
120
|
+
const connection = yield* ctx.integration.connection.active(ID12.azure);
|
|
121
121
|
const credential = connection ? yield* ctx.integration.connection.resolve(connection).pipe(Effect.orElseSucceed(() => {
|
|
122
122
|
return;
|
|
123
123
|
})) : undefined;
|
|
@@ -131,7 +131,7 @@ var AzurePlugin2 = define({
|
|
|
131
131
|
yield* load();
|
|
132
132
|
yield* ctx.provider.transform((evt) => {
|
|
133
133
|
for (const item of evt.list()) {
|
|
134
|
-
if (item.provider.id !==
|
|
134
|
+
if (item.provider.id !== ID12.azure && !item.provider.package.startsWith("@opencode/ai/providers/azure/"))
|
|
135
135
|
continue;
|
|
136
136
|
const resourceName = resolveResourceName(item.provider.settings, loaded.resource);
|
|
137
137
|
const websocket = responsesWebSocketCapable(item.provider);
|
|
@@ -149,7 +149,7 @@ var AzurePlugin2 = define({
|
|
|
149
149
|
});
|
|
150
150
|
yield* ctx.model.transform((models) => {
|
|
151
151
|
for (const item of models.provider.list()) {
|
|
152
|
-
if (item.provider.id !==
|
|
152
|
+
if (item.provider.id !== ID12.azure && !item.provider.package.startsWith("@opencode/ai/providers/azure/"))
|
|
153
153
|
continue;
|
|
154
154
|
const resourceName = resolveResourceName(item.provider.settings, loaded.resource);
|
|
155
155
|
for (const model of models.list(item.provider.id)) {
|
|
@@ -161,9 +161,9 @@ var AzurePlugin2 = define({
|
|
|
161
161
|
}
|
|
162
162
|
});
|
|
163
163
|
const reload = () => loading.withPermit(load().pipe(Effect.andThen(ctx.provider.reload())));
|
|
164
|
-
yield* bus.subscribe(
|
|
164
|
+
yield* bus.subscribe(Event19.Switched).pipe(Stream.filter((event) => event.data.integrationID === ID13.make("azure")), Stream.runForEach(reload), Effect.forkScoped({ startImmediately: true }));
|
|
165
165
|
const bearer = Effect.fn("AzurePlugin.bearer")(function* (url) {
|
|
166
|
-
const connection = yield* ctx.integration.connection.active(
|
|
166
|
+
const connection = yield* ctx.integration.connection.active(ID12.azure);
|
|
167
167
|
const credential = connection ? yield* ctx.integration.connection.resolve(connection).pipe(Effect.orElseSucceed(() => {
|
|
168
168
|
return;
|
|
169
169
|
})) : undefined;
|
|
@@ -175,7 +175,7 @@ var AzurePlugin2 = define({
|
|
|
175
175
|
return `Bearer ${current.access}`;
|
|
176
176
|
});
|
|
177
177
|
yield* ctx.session.hook("http.request", (evt) => Effect.gen(function* () {
|
|
178
|
-
if (evt.model.providerID !==
|
|
178
|
+
if (evt.model.providerID !== ID12.azure)
|
|
179
179
|
return;
|
|
180
180
|
const authorization = yield* bearer(evt.request.url);
|
|
181
181
|
if (!authorization)
|
|
@@ -184,9 +184,9 @@ var AzurePlugin2 = define({
|
|
|
184
184
|
evt.request.headers.delete("x-api-key");
|
|
185
185
|
evt.request.headers.set("authorization", authorization);
|
|
186
186
|
evt.request.headers.set("user-agent", useragent2(ctx.app));
|
|
187
|
-
}), { providerID:
|
|
187
|
+
}), { providerID: ID12.azure });
|
|
188
188
|
yield* ctx.session.hook("experimental.ws.handshake", (evt) => Effect.gen(function* () {
|
|
189
|
-
if (evt.model.providerID !==
|
|
189
|
+
if (evt.model.providerID !== ID12.azure)
|
|
190
190
|
return;
|
|
191
191
|
const authorization = yield* bearer(evt.url);
|
|
192
192
|
if (!authorization)
|
|
@@ -195,7 +195,7 @@ var AzurePlugin2 = define({
|
|
|
195
195
|
delete evt.headers["x-api-key"];
|
|
196
196
|
evt.headers.authorization = authorization;
|
|
197
197
|
evt.headers["user-agent"] = useragent2(ctx.app);
|
|
198
|
-
}), { providerID:
|
|
198
|
+
}), { providerID: ID12.azure });
|
|
199
199
|
})
|
|
200
200
|
});
|
|
201
201
|
function resolveResourceName(settings, fallback) {
|