@opencode/core 0.0.0-dev-21827 → 0.0.0-dev-21832
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 +94 -94
- package/dist/aisdk.js +100 -100
- package/dist/app.js +9 -9
- package/dist/bus.js +77 -77
- package/dist/chunks/{location-lifecycle-1p9b9gvf.js → worktree-00cp3g78.js} +42 -42
- package/dist/chunks/worktree-00yw50eq.js +261 -0
- package/dist/chunks/{location-lifecycle-c7p956y6.js → worktree-06nywv30.js} +30 -30
- package/dist/chunks/{location-lifecycle-5kbev7nh.js → worktree-0p25w9ph.js} +6 -6
- package/dist/chunks/{location-lifecycle-b00nmbcn.js → worktree-0pv1adqs.js} +8 -8
- package/dist/chunks/{location-lifecycle-p0d4rfr5.js → worktree-0s95dftc.js} +5 -5
- package/dist/chunks/{location-lifecycle-x17ah571.js → worktree-0zpa3jfg.js} +18 -18
- package/dist/chunks/{location-lifecycle-vpgtgc27.js → worktree-11aje976.js} +4 -4
- package/dist/chunks/{location-lifecycle-x8nvjgx0.js → worktree-11hfp36g.js} +4 -4
- package/dist/chunks/{location-lifecycle-1x2knyw4.js → worktree-1x2knyw4.js} +1 -1
- package/dist/chunks/{location-lifecycle-eyvjr0jg.js → worktree-24cx9b7z.js} +23 -23
- package/dist/chunks/{location-lifecycle-xb278pxb.js → worktree-24kf08q0.js} +33 -33
- package/dist/chunks/{location-lifecycle-1ep2p91f.js → worktree-27w5k9zf.js} +2 -2
- package/dist/chunks/{location-lifecycle-afbxbw72.js → worktree-2bvfvv2f.js} +11 -11
- package/dist/chunks/{location-lifecycle-yy11h7xe.js → worktree-2bzhzvzq.js} +5 -5
- package/dist/chunks/{location-lifecycle-y5q36pfq.js → worktree-2fjys8ky.js} +4 -4
- package/dist/chunks/{location-lifecycle-t0vb5p66.js → worktree-2hn3edqp.js} +15 -15
- package/dist/chunks/{location-lifecycle-8pn39epj.js → worktree-2nph1nr4.js} +32 -32
- package/dist/chunks/{location-lifecycle-2z1j29yd.js → worktree-2z1j29yd.js} +1 -1
- package/dist/chunks/{location-lifecycle-9ebynfn0.js → worktree-30r67fxy.js} +22 -22
- package/dist/chunks/{location-lifecycle-06ezgrzy.js → worktree-3647s6zq.js} +8 -8
- package/dist/chunks/{location-lifecycle-75bc8n2n.js → worktree-36p3y7jg.js} +13 -13
- package/dist/chunks/{location-lifecycle-zta2ja2d.js → worktree-3akbsydm.js} +20 -20
- package/dist/chunks/{location-lifecycle-ayjs7tqn.js → worktree-3cbjf1nt.js} +2 -2
- package/dist/chunks/{location-lifecycle-zzaqn35t.js → worktree-3dj841q6.js} +43 -43
- package/dist/chunks/{location-lifecycle-sxxsahz6.js → worktree-3e59rph2.js} +9 -9
- package/dist/chunks/{location-lifecycle-3hepkmqq.js → worktree-3hepkmqq.js} +1 -1
- package/dist/chunks/{location-lifecycle-da7xvg6p.js → worktree-3nnh6x8n.js} +28 -28
- package/dist/chunks/{location-lifecycle-3nnrz6f6.js → worktree-3nnrz6f6.js} +1 -1
- package/dist/chunks/{location-lifecycle-09r18skv.js → worktree-42dtxe9w.js} +30 -30
- package/dist/chunks/{location-lifecycle-86nga2pg.js → worktree-43dhkpfn.js} +11 -11
- package/dist/chunks/{location-lifecycle-cs87y13h.js → worktree-45t4pvv9.js} +8 -8
- package/dist/chunks/{location-lifecycle-6qg9c6q0.js → worktree-4f15exd5.js} +1 -1
- package/dist/chunks/{location-lifecycle-nkpwy2rp.js → worktree-4fkatqpa.js} +11 -11
- package/dist/chunks/{location-lifecycle-6t633b8k.js → worktree-4jj79f23.js} +8 -8
- package/dist/chunks/{location-lifecycle-qj1q6p4a.js → worktree-4sarpyhn.js} +24 -24
- package/dist/chunks/{location-lifecycle-4v008n1t.js → worktree-4v008n1t.js} +1 -1
- package/dist/chunks/{location-lifecycle-4xvmh7wp.js → worktree-4xvmh7wp.js} +3 -3
- package/dist/chunks/{location-lifecycle-aw0rdgjt.js → worktree-5fy5wh6g.js} +11 -11
- package/dist/chunks/{location-lifecycle-5m9w47nd.js → worktree-5m9w47nd.js} +1 -1
- package/dist/chunks/{location-lifecycle-kprb24q4.js → worktree-5nftfhq6.js} +33 -33
- package/dist/chunks/{location-lifecycle-qt6xa0r4.js → worktree-5p205wab.js} +4 -4
- package/dist/chunks/{location-lifecycle-bsr5npnb.js → worktree-5pq867hf.js} +3 -3
- package/dist/chunks/{location-lifecycle-0mj3m2qe.js → worktree-5z2q9a8r.js} +28 -28
- package/dist/chunks/{location-lifecycle-anzexaze.js → worktree-695afxk5.js} +20 -20
- package/dist/chunks/{location-lifecycle-e07q2w5p.js → worktree-6e20mv58.js} +4 -4
- package/dist/chunks/{location-lifecycle-6esdw8yj.js → worktree-6esdw8yj.js} +1 -1
- package/dist/chunks/{location-lifecycle-dxykbx1a.js → worktree-6hasb7jx.js} +21 -21
- package/dist/chunks/{location-lifecycle-avysa06y.js → worktree-6hxyv8w6.js} +17 -17
- package/dist/chunks/{location-lifecycle-wwfabvmy.js → worktree-6k2rkf8h.js} +11 -11
- package/dist/chunks/{location-lifecycle-a08db8pb.js → worktree-6k95y278.js} +18 -18
- package/dist/chunks/{location-lifecycle-6pjqjmy2.js → worktree-6pjqjmy2.js} +1 -1
- package/dist/chunks/{location-lifecycle-frjevq5v.js → worktree-6xsx1z0g.js} +28 -28
- package/dist/chunks/{location-lifecycle-mbwgdc5a.js → worktree-7193gb3b.js} +5 -5
- package/dist/chunks/{location-lifecycle-76cb1hcw.js → worktree-76cb1hcw.js} +1 -1
- package/dist/chunks/{location-lifecycle-tmjxyh9r.js → worktree-7a4k0486.js} +4 -4
- package/dist/chunks/{location-lifecycle-7bmhse3q.js → worktree-7bmhse3q.js} +1 -1
- package/dist/chunks/{location-lifecycle-8j8x0ypw.js → worktree-7e510nwg.js} +14 -14
- package/dist/chunks/{location-lifecycle-413e5bjn.js → worktree-7e8scw2k.js} +32 -32
- package/dist/chunks/{location-lifecycle-7w2ypzdf.js → worktree-7w2ypzdf.js} +1 -1
- package/dist/chunks/{location-lifecycle-jehnak5d.js → worktree-80yrqs2x.js} +25 -25
- package/dist/chunks/{location-lifecycle-z2kpe0d7.js → worktree-86djksxe.js} +16 -16
- package/dist/chunks/{location-lifecycle-1fgt88qx.js → worktree-8h6r4m67.js} +13 -13
- package/dist/chunks/{location-lifecycle-apcraaat.js → worktree-8kk74xj2.js} +18 -18
- package/dist/chunks/{location-lifecycle-vycsk1c7.js → worktree-8n09hdvs.js} +8 -8
- package/dist/chunks/{location-lifecycle-rcb6y6qt.js → worktree-8qa3g5sa.js} +2 -2
- package/dist/chunks/{location-lifecycle-67q39sdk.js → worktree-8wezqzag.js} +20 -20
- package/dist/chunks/{location-lifecycle-8wtp7s3z.js → worktree-8wtp7s3z.js} +1 -1
- package/dist/chunks/{location-lifecycle-ectz1n32.js → worktree-8yqsymsg.js} +6 -6
- package/dist/chunks/{location-lifecycle-91rj84md.js → worktree-91rj84md.js} +1 -1
- package/dist/chunks/{location-lifecycle-phdfpjbh.js → worktree-93wp6b6w.js} +7 -7
- package/dist/chunks/{location-lifecycle-e2tba9md.js → worktree-95exz2bq.js} +13 -13
- package/dist/chunks/{location-lifecycle-fmg054cs.js → worktree-97p8nte2.js} +5 -5
- package/dist/chunks/{location-lifecycle-ypzswc5a.js → worktree-9c77wjje.js} +11 -11
- package/dist/chunks/{location-lifecycle-9cx9sm2q.js → worktree-9cx9sm2q.js} +1 -1
- package/dist/chunks/{location-lifecycle-8psf50w9.js → worktree-9m513bsn.js} +16 -16
- package/dist/chunks/{location-lifecycle-w54mkzpv.js → worktree-9n98ejx3.js} +35 -35
- package/dist/chunks/{location-lifecycle-e870b599.js → worktree-9qpye6ef.js} +11 -11
- package/dist/chunks/{location-lifecycle-zj2xjtpe.js → worktree-a5vkyr04.js} +39 -39
- package/dist/chunks/{location-lifecycle-ng4qg3fx.js → worktree-a74nhg91.js} +42 -42
- package/dist/chunks/{location-lifecycle-f4vgery6.js → worktree-a8mb2d06.js} +17 -17
- package/dist/chunks/{location-lifecycle-c2gy53he.js → worktree-abr51mnh.js} +5 -5
- package/dist/chunks/{location-lifecycle-vg8z76t4.js → worktree-ad2qwzwg.js} +43 -43
- package/dist/chunks/{location-lifecycle-9805fe88.js → worktree-adrm93f2.js} +6 -6
- package/dist/chunks/{location-lifecycle-7xg2jm5b.js → worktree-afmnpta1.js} +5 -5
- package/dist/chunks/{location-lifecycle-034tev2y.js → worktree-aj7mw0zk.js} +2 -2
- package/dist/chunks/{location-lifecycle-951gfphn.js → worktree-arbdk1zr.js} +21 -21
- package/dist/chunks/{location-lifecycle-vpm8vpz0.js → worktree-arz7hw7x.js} +3 -3
- package/dist/chunks/{location-lifecycle-5d7xngw8.js → worktree-ax1j2da4.js} +13 -13
- package/dist/chunks/{location-lifecycle-5568dj31.js → worktree-aykhvqdn.js} +11 -11
- package/dist/chunks/{location-lifecycle-b0mv4wxm.js → worktree-b0mv4wxm.js} +2 -2
- package/dist/chunks/{location-lifecycle-kac0vvew.js → worktree-b5qn2jt5.js} +11 -11
- package/dist/chunks/{location-lifecycle-qyq8h28g.js → worktree-b6h3agk1.js} +3 -3
- package/dist/chunks/{location-lifecycle-5nnwax6m.js → worktree-b6vsg801.js} +5 -5
- package/dist/chunks/{location-lifecycle-bhjvzhfy.js → worktree-bdyzd1jt.js} +12 -12
- package/dist/chunks/{location-lifecycle-6yf8mef0.js → worktree-bgcmwhzg.js} +19 -19
- package/dist/chunks/{location-lifecycle-bjhzkqyk.js → worktree-bjhzkqyk.js} +1 -1
- package/dist/chunks/{location-lifecycle-7a8d5kd0.js → worktree-bs5a9a9v.js} +5 -5
- package/dist/chunks/{location-lifecycle-dccfjtkm.js → worktree-cd50e0wg.js} +11 -11
- package/dist/chunks/{location-lifecycle-ygjypke9.js → worktree-cf3d3h2s.js} +16 -16
- package/dist/chunks/{location-lifecycle-742ze767.js → worktree-cw1ztss7.js} +26 -26
- package/dist/chunks/{location-lifecycle-qv7y9773.js → worktree-d2dx6a7h.js} +4 -4
- package/dist/chunks/{location-lifecycle-9yc96src.js → worktree-d30eyz0g.js} +41 -41
- package/dist/chunks/{location-lifecycle-d4v9tmah.js → worktree-d4v9tmah.js} +2 -2
- package/dist/chunks/{location-lifecycle-32xj0qwx.js → worktree-d6sbn13z.js} +13 -13
- package/dist/chunks/{location-lifecycle-kec0ksjq.js → worktree-d85xqdn3.js} +20 -20
- package/dist/chunks/{location-lifecycle-zfyb5tr4.js → worktree-dds9zz6p.js} +4 -4
- package/dist/chunks/{location-lifecycle-157ttsdx.js → worktree-dks4h55m.js} +57 -57
- package/dist/chunks/{location-lifecycle-3f1c5rw9.js → worktree-ds26jgk3.js} +14 -14
- package/dist/chunks/{location-lifecycle-998yhzzq.js → worktree-dvj9ct8m.js} +3 -3
- package/dist/chunks/{location-lifecycle-32s59e8p.js → worktree-dz8hhvgv.js} +9 -9
- package/dist/chunks/{location-lifecycle-drvbhkez.js → worktree-e2ne77ac.js} +4 -4
- package/dist/chunks/{location-lifecycle-hdfrs5mg.js → worktree-e2x7gzav.js} +7 -7
- package/dist/chunks/{location-lifecycle-fnygd1nj.js → worktree-e50pjhb3.js} +16 -16
- package/dist/chunks/{location-lifecycle-e834z07m.js → worktree-e834z07m.js} +1 -1
- package/dist/chunks/{location-lifecycle-a41ejy6z.js → worktree-e91b353h.js} +4 -4
- package/dist/chunks/{location-lifecycle-2qxc72s4.js → worktree-e9p3jgk6.js} +25 -25
- package/dist/chunks/{location-lifecycle-4ek3z2qp.js → worktree-edvcby6a.js} +14 -14
- package/dist/chunks/{location-lifecycle-pzwcb5qk.js → worktree-erswfzqj.js} +16 -16
- package/dist/chunks/{location-lifecycle-qvr2rrtk.js → worktree-ewyr86ft.js} +27 -27
- package/dist/chunks/{location-lifecycle-wnz1azms.js → worktree-f21hf6dz.js} +11 -11
- package/dist/chunks/{location-lifecycle-50ecpaw5.js → worktree-f403h8b4.js} +13 -13
- package/dist/chunks/{location-lifecycle-d963e9nv.js → worktree-f4bg9t37.js} +4 -4
- package/dist/chunks/worktree-f8ma18fn.js +18 -0
- package/dist/chunks/{location-lifecycle-nz3pz1tw.js → worktree-fepbbevx.js} +87 -87
- package/dist/chunks/{location-lifecycle-fffv3p7h.js → worktree-fffv3p7h.js} +1 -1
- package/dist/chunks/{location-lifecycle-7vchxsnv.js → worktree-fp6jbq7y.js} +7 -7
- package/dist/chunks/{location-lifecycle-1bmms672.js → worktree-fsre0723.js} +36 -36
- package/dist/chunks/{location-lifecycle-engkm2d6.js → worktree-fwfdmgk0.js} +5 -5
- package/dist/chunks/{location-lifecycle-g5h9c0rr.js → worktree-g5h9c0rr.js} +2 -2
- package/dist/chunks/{location-lifecycle-hfgk9wzg.js → worktree-g7esga4v.js} +7 -7
- package/dist/chunks/{location-lifecycle-88j2ywh2.js → worktree-gbbgar44.js} +15 -15
- package/dist/chunks/{location-lifecycle-rjnacbrz.js → worktree-gcjdgkn2.js} +9 -9
- package/dist/chunks/{location-lifecycle-9nj2740a.js → worktree-gdr92bwx.js} +11 -11
- package/dist/chunks/{location-lifecycle-y01veweq.js → worktree-geqny0bq.js} +10 -10
- package/dist/chunks/{location-lifecycle-fbyakzmk.js → worktree-gsb6mw3d.js} +186 -186
- package/dist/chunks/{location-lifecycle-yx7j83gx.js → worktree-gstbwwx4.js} +6 -6
- package/dist/chunks/{location-lifecycle-a1ref3hp.js → worktree-h2fy2dat.js} +15 -15
- package/dist/chunks/{location-lifecycle-rvqj7kwa.js → worktree-h9t23wpm.js} +13 -13
- package/dist/chunks/{location-lifecycle-qqp4xta8.js → worktree-hb5n2c5k.js} +20 -20
- package/dist/chunks/{location-lifecycle-2zp2gb6m.js → worktree-hem0ycea.js} +33 -33
- package/dist/chunks/{location-lifecycle-7yect7x1.js → worktree-hhafapa0.js} +2 -2
- package/dist/chunks/{location-lifecycle-x87bzsmd.js → worktree-hjpd440b.js} +22 -22
- package/dist/chunks/{location-lifecycle-g5s4yfa7.js → worktree-hkemg6xf.js} +11 -11
- package/dist/chunks/{location-lifecycle-4agfam69.js → worktree-hn0qbz2m.js} +25 -25
- package/dist/chunks/{location-lifecycle-ptb0zbfq.js → worktree-hthy47ds.js} +18 -18
- package/dist/chunks/{location-lifecycle-t4wqpqs4.js → worktree-j0xszzq0.js} +32 -32
- package/dist/chunks/{location-lifecycle-j113cymg.js → worktree-j113cymg.js} +1 -1
- package/dist/chunks/{location-lifecycle-c78bsrpc.js → worktree-j1rq0xw8.js} +8 -8
- package/dist/chunks/{location-lifecycle-xd6kzcb0.js → worktree-j28jswtw.js} +15 -15
- package/dist/chunks/{location-lifecycle-q8h1f998.js → worktree-j6grf6bb.js} +18 -18
- package/dist/chunks/{location-lifecycle-c3qftb49.js → worktree-j78bae2j.js} +16 -16
- package/dist/chunks/{location-lifecycle-mvsbfcth.js → worktree-j7vbh7t2.js} +3 -3
- package/dist/chunks/{location-lifecycle-w8ytyev4.js → worktree-jg3dfvq9.js} +1 -1
- package/dist/chunks/{location-lifecycle-3njh67zs.js → worktree-jjbrt4w4.js} +15 -15
- package/dist/chunks/{location-lifecycle-a3h99bw5.js → worktree-jjg5yz1h.js} +9 -9
- package/dist/chunks/{location-lifecycle-ynrq1a8k.js → worktree-jneg3k74.js} +4 -4
- package/dist/chunks/{location-lifecycle-k814nvkf.js → worktree-k814nvkf.js} +1 -1
- package/dist/chunks/{location-lifecycle-5ecqqef8.js → worktree-k8f39ak3.js} +44 -44
- package/dist/chunks/{location-lifecycle-jg3yeysd.js → worktree-kb4178cy.js} +14 -14
- package/dist/chunks/{location-lifecycle-wtgq8nqm.js → worktree-kd4chd64.js} +4 -4
- package/dist/chunks/{location-lifecycle-2zjh3nq3.js → worktree-krcgmfx1.js} +5 -5
- package/dist/chunks/{location-lifecycle-df96cq4z.js → worktree-ksj36tw4.js} +9 -9
- package/dist/chunks/{location-lifecycle-kt3bjfbg.js → worktree-kt3bjfbg.js} +1 -1
- package/dist/chunks/{location-lifecycle-m1714858.js → worktree-m1714858.js} +1 -1
- package/dist/chunks/{location-lifecycle-t2w38zde.js → worktree-m30wvgj2.js} +34 -34
- package/dist/chunks/{location-lifecycle-rz88mfas.js → worktree-m3sy78y2.js} +43 -43
- package/dist/chunks/{location-lifecycle-gcs60vk9.js → worktree-m6f7840m.js} +22 -22
- package/dist/chunks/{location-lifecycle-m9w0rfyh.js → worktree-m9w0rfyh.js} +1 -1
- package/dist/chunks/{location-lifecycle-maspj1v3.js → worktree-maspj1v3.js} +1 -1
- package/dist/chunks/{location-lifecycle-gq43p9bv.js → worktree-mcbcg4yq.js} +11 -11
- package/dist/chunks/{location-lifecycle-9ytkwk8q.js → worktree-mhmzddah.js} +9 -9
- package/dist/chunks/{location-lifecycle-3c1pnkk3.js → worktree-mkt943y8.js} +8 -8
- package/dist/chunks/{location-lifecycle-djjzzs3c.js → worktree-mn53dk4j.js} +3 -3
- package/dist/chunks/{location-lifecycle-fx5kqmvd.js → worktree-mzf7pqqe.js} +7 -7
- package/dist/chunks/{location-lifecycle-1zvetpda.js → worktree-n3nby4kh.js} +16 -16
- package/dist/chunks/{location-lifecycle-a0et8sps.js → worktree-n4q2bts1.js} +29 -29
- package/dist/chunks/{location-lifecycle-hgdppmnw.js → worktree-n5xdxtnj.js} +23 -23
- package/dist/chunks/{location-lifecycle-770pw0s1.js → worktree-nah043kf.js} +4 -4
- package/dist/chunks/{location-lifecycle-mjhp71bb.js → worktree-nbwz5qgq.js} +39 -39
- package/dist/chunks/{location-lifecycle-3eeark8j.js → worktree-ntp0y56p.js} +35 -35
- package/dist/chunks/{location-lifecycle-p015t6z3.js → worktree-p015t6z3.js} +2 -2
- package/dist/chunks/{location-lifecycle-nfepp5zp.js → worktree-p0wrzpeb.js} +18 -18
- package/dist/chunks/{location-lifecycle-anfwg7gt.js → worktree-p58azk3d.js} +11 -11
- package/dist/chunks/{location-lifecycle-p7vhpwh8.js → worktree-p7vhpwh8.js} +1 -1
- package/dist/chunks/{location-lifecycle-zr0c5wvp.js → worktree-p8rd148r.js} +5 -5
- package/dist/chunks/{location-lifecycle-8r31w3mw.js → worktree-p9g6dw9y.js} +92 -92
- package/dist/chunks/{location-lifecycle-wag9xyar.js → worktree-pbjge5gp.js} +3 -3
- package/dist/chunks/{location-lifecycle-3d32z0b5.js → worktree-pdt2ff5a.js} +12 -12
- package/dist/chunks/{location-lifecycle-pknna89w.js → worktree-pknna89w.js} +1 -1
- package/dist/chunks/{location-lifecycle-tq8vqm91.js → worktree-pnqk97j3.js} +13 -13
- package/dist/chunks/{location-lifecycle-aa6rhnpe.js → worktree-q066xmm0.js} +26 -26
- package/dist/chunks/{location-lifecycle-njtsvrb4.js → worktree-q2d8rzza.js} +9 -9
- package/dist/chunks/{location-lifecycle-jktd17zr.js → worktree-qaky2rz3.js} +21 -21
- package/dist/chunks/{location-lifecycle-e12w6dtp.js → worktree-qpbq1ttd.js} +16 -16
- package/dist/chunks/{location-lifecycle-wa9en833.js → worktree-qravd527.js} +29 -29
- package/dist/chunks/{location-lifecycle-eq1akb9r.js → worktree-qyk31xf6.js} +23 -23
- package/dist/chunks/{location-lifecycle-51f8x9pa.js → worktree-qyky1vbj.js} +16 -16
- package/dist/chunks/{location-lifecycle-qns03ea0.js → worktree-qyzf8248.js} +33 -33
- package/dist/chunks/{location-lifecycle-r0yr0wbs.js → worktree-r0yr0wbs.js} +1 -1
- package/dist/chunks/{location-lifecycle-r542h3bh.js → worktree-r542h3bh.js} +1 -1
- package/dist/chunks/{location-lifecycle-a68j5p6f.js → worktree-r73cphfz.js} +9 -9
- package/dist/chunks/{location-lifecycle-rb9dy4dg.js → worktree-rb9dy4dg.js} +1 -1
- package/dist/chunks/{location-lifecycle-435ejdhj.js → worktree-rc8w65gm.js} +25 -25
- package/dist/chunks/{location-lifecycle-s4bgcgc7.js → worktree-rd5c3v22.js} +39 -39
- package/dist/chunks/{location-lifecycle-hfzr0j9k.js → worktree-rdrpd67x.js} +5 -5
- package/dist/chunks/{location-lifecycle-zvg5ahhp.js → worktree-rh3bv7hm.js} +8 -8
- package/dist/chunks/{location-lifecycle-9scg20h1.js → worktree-rkhtrhzc.js} +16 -16
- package/dist/chunks/{location-lifecycle-1kpwb10n.js → worktree-rm75chpx.js} +33 -33
- package/dist/chunks/{location-lifecycle-t046hrcv.js → worktree-rn2kv32m.js} +11 -11
- package/dist/chunks/{location-lifecycle-xdcxsav6.js → worktree-rphf3yd4.js} +27 -27
- package/dist/chunks/{location-lifecycle-ec9v8bzb.js → worktree-rs5sv2a8.js} +16 -16
- package/dist/chunks/{location-lifecycle-rt5dr6hb.js → worktree-rt5dr6hb.js} +1 -1
- package/dist/chunks/{location-lifecycle-4hm1p6t4.js → worktree-rtapny2j.js} +26 -26
- package/dist/chunks/{location-lifecycle-ftt01jz2.js → worktree-s4cnera1.js} +17 -17
- package/dist/chunks/{location-lifecycle-gj025hnp.js → worktree-s602p396.js} +9 -9
- package/dist/chunks/{location-lifecycle-b7w6s8p5.js → worktree-s6fqr474.js} +16 -16
- package/dist/chunks/{location-lifecycle-6p5kxrcn.js → worktree-s7e49xxs.js} +22 -22
- package/dist/chunks/{location-lifecycle-sa3fpqfw.js → worktree-sa3fpqfw.js} +2 -2
- package/dist/chunks/{location-lifecycle-ps1n2edm.js → worktree-setr6b4n.js} +38 -38
- package/dist/chunks/{location-lifecycle-g13qewtb.js → worktree-sfzvze88.js} +6 -6
- package/dist/chunks/{location-lifecycle-gvn0qkq4.js → worktree-skkyj46b.js} +17 -17
- package/dist/chunks/{location-lifecycle-te1haqs4.js → worktree-smrfb97d.js} +14 -14
- package/dist/chunks/{location-lifecycle-9nkjg9qd.js → worktree-sq4s6wq1.js} +6 -6
- package/dist/chunks/{location-lifecycle-sqjzf8x2.js → worktree-sqjzf8x2.js} +1 -1
- package/dist/chunks/{location-lifecycle-ssfehs1z.js → worktree-ssfehs1z.js} +1 -1
- package/dist/chunks/{location-lifecycle-7shxwfzw.js → worktree-stn0kadw.js} +32 -32
- package/dist/chunks/{location-lifecycle-1de3rwvd.js → worktree-sz7p3par.js} +17 -17
- package/dist/chunks/{location-lifecycle-m48kphhn.js → worktree-t2n4qmf3.js} +4 -4
- package/dist/chunks/{location-lifecycle-rvkz6b3j.js → worktree-t65tnfxg.js} +5 -5
- package/dist/chunks/{location-lifecycle-tczq8hjw.js → worktree-tczq8hjw.js} +1 -1
- package/dist/chunks/{location-lifecycle-jqrrajmw.js → worktree-tp98z23w.js} +14 -14
- package/dist/chunks/{location-lifecycle-twv2r8f4.js → worktree-twv2r8f4.js} +2 -2
- package/dist/chunks/{location-lifecycle-v2r1d0zg.js → worktree-v2r1d0zg.js} +1 -1
- package/dist/chunks/{location-lifecycle-b6n7nw5p.js → worktree-vcpvdpk3.js} +18 -18
- package/dist/chunks/{location-lifecycle-vd3b3yk9.js → worktree-vd3b3yk9.js} +1 -1
- package/dist/chunks/{location-lifecycle-veqvce7d.js → worktree-veqvce7d.js} +1 -1
- package/dist/chunks/{location-lifecycle-hyetydc1.js → worktree-vta5p220.js} +7 -7
- package/dist/chunks/{location-lifecycle-35yjq3b2.js → worktree-vx60mxx6.js} +12 -12
- package/dist/chunks/{location-lifecycle-mzr8qcts.js → worktree-w145qvk2.js} +10 -10
- package/dist/chunks/{location-lifecycle-40za9wsf.js → worktree-w2eysc6j.js} +9 -9
- package/dist/chunks/{location-lifecycle-w3wsvvr9.js → worktree-w3wsvvr9.js} +1 -1
- package/dist/chunks/{location-lifecycle-snahbe28.js → worktree-w78kaheb.js} +11 -11
- package/dist/chunks/{location-lifecycle-je5hz476.js → worktree-w78vkh9t.js} +24 -24
- package/dist/chunks/{location-lifecycle-wakvkjy4.js → worktree-wakvkjy4.js} +1 -1
- package/dist/chunks/{location-lifecycle-0vyc9x74.js → worktree-wcnxy81f.js} +52 -52
- package/dist/chunks/{location-lifecycle-wd87259q.js → worktree-wd87259q.js} +1 -1
- package/dist/chunks/{location-lifecycle-rmt5ct6z.js → worktree-wggsh2ew.js} +19 -19
- package/dist/chunks/worktree-wntn4vfk.js +26 -0
- package/dist/chunks/{location-lifecycle-fznmdakp.js → worktree-wr3re1en.js} +4 -4
- package/dist/chunks/{location-lifecycle-t3fc188m.js → worktree-wvyfhptm.js} +20 -20
- package/dist/chunks/{location-lifecycle-qzzf3e3r.js → worktree-wx8nkbb1.js} +27 -27
- package/dist/chunks/{location-lifecycle-te2z8gzs.js → worktree-wzcykjgt.js} +66 -66
- package/dist/chunks/worktree-x2457qsk.js +517 -0
- package/dist/chunks/{location-lifecycle-8q3v088a.js → worktree-x29n1dd5.js} +24 -24
- package/dist/chunks/{location-lifecycle-dws4rekc.js → worktree-x564bgvm.js} +11 -11
- package/dist/chunks/{location-lifecycle-57t85xsq.js → worktree-x6bmqb9g.js} +18 -18
- package/dist/chunks/{location-lifecycle-snx5yfz7.js → worktree-x8rzfgrc.js} +14 -14
- package/dist/chunks/{location-lifecycle-xd9cc171.js → worktree-xd9cc171.js} +1 -1
- package/dist/chunks/{location-lifecycle-sdngsbgs.js → worktree-xxjr0q4c.js} +3 -3
- package/dist/chunks/{location-lifecycle-frdmxv06.js → worktree-xy4vra7r.js} +13 -13
- package/dist/chunks/{location-lifecycle-ybqjtrnz.js → worktree-y35tw0d0.js} +35 -35
- package/dist/chunks/{location-lifecycle-bbbezdga.js → worktree-y82h6rr8.js} +20 -20
- package/dist/chunks/{location-lifecycle-yb20nhc3.js → worktree-yb20nhc3.js} +1 -1
- package/dist/chunks/{location-lifecycle-tg1vr1qt.js → worktree-ydsespw1.js} +8 -8
- package/dist/chunks/{location-lifecycle-pxdkqw7r.js → worktree-yj3d1z1y.js} +30 -30
- package/dist/chunks/{location-lifecycle-v53et2yk.js → worktree-yrdnce5a.js} +5 -5
- package/dist/chunks/{location-lifecycle-9cfxjga2.js → worktree-yt6kymc0.js} +4 -4
- package/dist/chunks/{location-lifecycle-h5qan5zz.js → worktree-yv6n3e4t.js} +8 -8
- package/dist/chunks/{location-lifecycle-992x37hq.js → worktree-yxhh0eg2.js} +2 -2
- package/dist/chunks/{location-lifecycle-z0bkrqjs.js → worktree-z0bkrqjs.js} +1 -1
- package/dist/chunks/{location-lifecycle-e4s86g6j.js → worktree-z1dp9nz5.js} +7 -7
- package/dist/chunks/{location-lifecycle-z38nccrw.js → worktree-z38nccrw.js} +1 -1
- package/dist/chunks/{location-lifecycle-gbed8n64.js → worktree-z3dz6gn5.js} +4 -4
- package/dist/chunks/{location-lifecycle-veb1b92r.js → worktree-z4rz3s0w.js} +18 -18
- package/dist/chunks/{location-lifecycle-e1ranap3.js → worktree-z54qrd8r.js} +4 -4
- package/dist/chunks/{location-lifecycle-ms60x9fc.js → worktree-z6b1690w.js} +43 -43
- package/dist/chunks/{location-lifecycle-36s4rh9q.js → worktree-z8e9ff6b.js} +15 -15
- package/dist/chunks/{location-lifecycle-zkg84ctx.js → worktree-zkg84ctx.js} +1 -1
- package/dist/chunks/{location-lifecycle-3edhnm16.js → worktree-zm3q4tch.js} +18 -18
- package/dist/chunks/{location-lifecycle-0gqpdc35.js → worktree-zqjghnyq.js} +17 -17
- package/dist/chunks/{location-lifecycle-fwp9mfc9.js → worktree-ztf6n3de.js} +4 -4
- package/dist/chunks/{location-lifecycle-m5apnkkj.js → worktree-zweymgaq.js} +9 -9
- package/dist/chunks/{location-lifecycle-dnw0rj89.js → worktree-zyeyds15.js} +9 -9
- package/dist/chunks/{location-lifecycle-46p95yhx.js → worktree-zyz3pmwr.js} +8 -8
- 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 +87 -87
- package/dist/config/discovery.js +87 -87
- package/dist/config/integration.js +3 -3
- package/dist/config/markdown.js +1 -1
- package/dist/config/normalize.js +104 -104
- package/dist/config/plugin/agent.js +120 -120
- package/dist/config/plugin/command.js +216 -216
- package/dist/config/plugin/compaction.js +157 -157
- package/dist/config/plugin/compatibility.js +137 -137
- 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 +118 -118
- package/dist/config/plugin/location-watcher.js +118 -118
- package/dist/config/plugin/mcp.js +129 -129
- package/dist/config/plugin/policy.js +120 -120
- package/dist/config/plugin/provider.js +119 -119
- package/dist/config/plugin/reference.js +120 -120
- package/dist/config/plugin/shell.js +118 -118
- package/dist/config/plugin/skill-file.js +107 -107
- package/dist/config/plugin/skill-scan.js +3 -3
- package/dist/config/plugin/skill.js +140 -140
- 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 +117 -117
- package/dist/config/plugin/worktree.js +120 -120
- package/dist/config/variable.js +1 -1
- package/dist/config/watch.js +1 -1
- package/dist/config.js +119 -119
- package/dist/console-access.js +1 -1
- package/dist/credential/sql.js +2 -2
- package/dist/credential.js +85 -85
- package/dist/database/database.js +76 -76
- package/dist/database/drizzle/effect-sqlite/driver.js +14 -14
- package/dist/database/drizzle/effect-sqlite/index.js +14 -14
- package/dist/database/drizzle/effect-sqlite/session.js +11 -11
- package/dist/database/drizzle/index.js +15 -15
- package/dist/database/drizzle/internal/drizzle-utils.js +1 -1
- package/dist/database/drizzle/sqlite-core/effect/count.js +1 -1
- package/dist/database/drizzle/sqlite-core/effect/db.js +9 -9
- package/dist/database/drizzle/sqlite-core/effect/delete.js +2 -2
- package/dist/database/drizzle/sqlite-core/effect/index.js +10 -10
- package/dist/database/drizzle/sqlite-core/effect/insert.js +2 -2
- package/dist/database/drizzle/sqlite-core/effect/query.js +1 -1
- package/dist/database/drizzle/sqlite-core/effect/raw.js +1 -1
- package/dist/database/drizzle/sqlite-core/effect/select.js +2 -2
- package/dist/database/drizzle/sqlite-core/effect/session.js +10 -10
- package/dist/database/drizzle/sqlite-core/effect/update.js +2 -2
- package/dist/database/drizzle.js +16 -16
- package/dist/database/migration/20260127222353_familiar_lady_ursula.js +1 -1
- package/dist/database/migration/20260211171708_add_project_commands.js +1 -1
- package/dist/database/migration/20260213144116_wakeful_the_professor.js +1 -1
- package/dist/database/migration/20260225215848_workspace.js +1 -1
- package/dist/database/migration/20260227213759_add_session_workspace_id.js +1 -1
- package/dist/database/migration/20260228203230_blue_harpoon.js +1 -1
- package/dist/database/migration/20260303231226_add_workspace_fields.js +1 -1
- package/dist/database/migration/20260309230000_move_org_to_state.js +1 -1
- package/dist/database/migration/20260312043431_session_message_cursor.js +1 -1
- package/dist/database/migration/20260323234822_events.js +1 -1
- package/dist/database/migration/20260410174513_workspace-name.js +1 -1
- package/dist/database/migration/20260413175956_chief_energizer.js +1 -1
- package/dist/database/migration/20260423070820_add_icon_url_override.js +1 -1
- package/dist/database/migration/20260427172553_slow_nightmare.js +1 -1
- package/dist/database/migration/20260428004200_add_session_path.js +1 -1
- package/dist/database/migration/20260501142318_next_venus.js +1 -1
- package/dist/database/migration/20260504145000_add_sync_owner.js +1 -1
- package/dist/database/migration/20260507164347_add_workspace_time.js +1 -1
- package/dist/database/migration/20260510033149_session_usage.js +1 -1
- package/dist/database/migration/20260511000411_data_migration_state.js +1 -1
- package/dist/database/migration/20260511173437_session-metadata.js +1 -1
- package/dist/database/migration/20260601010001_normalize_storage_paths.js +1 -1
- package/dist/database/migration/20260601202201_amazing_prowler.js +1 -1
- package/dist/database/migration/20260602002951_lowly_union_jack.js +1 -1
- package/dist/database/migration/20260602182828_add_project_directories.js +1 -1
- package/dist/database/migration/20260603001617_session_message_projection_indexes.js +1 -1
- package/dist/database/migration/20260603040000_session_message_projection_order.js +1 -1
- package/dist/database/migration/20260603141458_session_input_inbox.js +1 -1
- package/dist/database/migration/20260603160727_jittery_ezekiel_stane.js +1 -1
- package/dist/database/migration/20260604172448_event_sourced_session_input.js +1 -1
- package/dist/database/migration/20260605003541_add_session_context_snapshot.js +1 -1
- package/dist/database/migration/20260605042240_add_context_epoch_agent.js +1 -1
- package/dist/database/migration/20260611035744_credential.js +1 -1
- package/dist/database/migration/20260611192811_lush_chimera.js +1 -1
- package/dist/database/migration/20260612174303_project_dir_strategy.js +1 -1
- package/dist/database/migration/20260622142730_simplify_session_context_epoch.js +1 -1
- package/dist/database/migration/20260622170816_reset_v2_session_state.js +1 -1
- package/dist/database/migration/20260622202450_simplify_session_input.js +1 -1
- package/dist/database/migration/20260804233008_loose_psylocke.js +1 -1
- package/dist/database/migration/20260805200742_import_legacy_credentials.js +1 -1
- package/dist/database/migration/20260808023530_workspace_domain.js +1 -1
- package/dist/database/migration/20260811161259_execution_claim_attempts.js +1 -1
- package/dist/database/migration/20260812181746_session_inbox.js +1 -1
- package/dist/database/migration/20260812213948_worktree.js +1 -1
- package/dist/database/migration/20260819222447_session_viewed_state.js +1 -1
- package/dist/database/migration/20260823191254_nullable_workspace_binding.js +1 -1
- package/dist/database/migration/20260910120000_clear_v1_session_permission.js +1 -1
- package/dist/database/migration/20260923013825_project_time_active.js +1 -1
- package/dist/database/migration/20261007190000_azure_cli_external_credential.js +1 -1
- package/dist/database/migration/20261010180456_project_time_archived.js +1 -1
- package/dist/database/migration/20261024002554_session_allowance.js +1 -1
- package/dist/database/migration/20261024175301_drop_session_allowance.js +1 -1
- package/dist/database/migration.gen.js +53 -53
- package/dist/database/migration.js +55 -55
- 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 +92 -92
- package/dist/database/v1-migration.js +1 -1
- package/dist/effect/app-node-builder.js +376 -376
- 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 +98 -98
- package/dist/environment/exec-defaults.js +2 -2
- package/dist/environment/files.js +1 -1
- package/dist/environment/index.js +98 -98
- 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 +109 -109
- package/dist/file-mutation.js +99 -99
- 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 +227 -227
- package/dist/filesystem/protected.js +1 -1
- package/dist/filesystem/search.js +104 -104
- package/dist/filesystem/watcher-binding.js +1 -1
- package/dist/filesystem/watcher.js +9 -9
- package/dist/filesystem.js +105 -105
- package/dist/form.js +86 -86
- package/dist/formatter/builtins.js +4 -4
- package/dist/formatter.js +92 -92
- package/dist/generate.js +110 -110
- package/dist/git.js +11 -11
- 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 +104 -104
- 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 +367 -367
- package/dist/instruction-discovery.js +88 -88
- package/dist/instructions/builtins.js +92 -92
- package/dist/instructions/index.js +3 -3
- package/dist/integration/connection.js +1 -1
- package/dist/integration.js +85 -85
- package/dist/job.js +82 -82
- package/dist/kv/sql.js +2 -2
- package/dist/kv.js +77 -77
- package/dist/location-activity.js +159 -159
- package/dist/location-lifecycle.js +112 -112
- package/dist/location-service-map.js +91 -91
- package/dist/location-services.js +364 -364
- package/dist/location.js +92 -92
- package/dist/managed-policy.js +9 -9
- package/dist/mcp/client.js +96 -96
- package/dist/mcp/index.js +112 -112
- package/dist/mcp/instructions.js +141 -141
- package/dist/mcp/oauth.js +82 -82
- package/dist/mcp/socket-client.js +1 -1
- package/dist/mcp/stdio.js +95 -95
- package/dist/mime.js +1 -1
- package/dist/modal/models.js +104 -104
- package/dist/model-resolver.js +104 -104
- package/dist/model-retry.js +1 -1
- package/dist/model.js +105 -105
- package/dist/models-dev.js +112 -112
- package/dist/oauth/page.js +1 -1
- package/dist/permission/saved.js +82 -82
- package/dist/permission/sql.js +5 -5
- package/dist/permission.js +112 -112
- package/dist/persistent-pty/binary.bun.js +1 -1
- package/dist/persistent-pty/daemon.js +1 -1
- package/dist/persistent-pty/index.js +82 -82
- package/dist/persistent-pty/pty-binding.js +1 -1
- package/dist/persistent-pty.js +79 -79
- package/dist/plugin/agent.js +80 -80
- package/dist/plugin/command.js +107 -107
- package/dist/plugin/hooks.js +5 -5
- package/dist/plugin/host.js +222 -222
- package/dist/plugin/identity.js +5 -5
- package/dist/plugin/instance.js +5 -5
- package/dist/plugin/internal.js +337 -337
- package/dist/plugin/mcp-codemode-defaults.js +3 -3
- package/dist/plugin/models-dev.js +101 -101
- package/dist/plugin/module.js +120 -120
- package/dist/plugin/optimize.js +2 -2
- package/dist/plugin/plan.js +107 -107
- package/dist/plugin/promise.js +1 -1
- package/dist/plugin/provider/amazon-bedrock.js +95 -95
- package/dist/plugin/provider/azure.js +118 -118
- package/dist/plugin/provider/cerebras.js +1 -1
- package/dist/plugin/provider/chatgpt.js +118 -118
- package/dist/plugin/provider/cloudflare-ai-gateway.js +115 -115
- package/dist/plugin/provider/cloudflare-workers-ai.js +115 -115
- 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 +98 -98
- package/dist/plugin/provider/dynamic.js +2 -2
- package/dist/plugin/provider/factory.js +1 -1
- package/dist/plugin/provider/github-copilot.js +100 -100
- package/dist/plugin/provider/gitlab.js +98 -98
- package/dist/plugin/provider/google-vertex.js +115 -115
- package/dist/plugin/provider/kilo.js +1 -1
- package/dist/plugin/provider/llmgateway.js +82 -82
- package/dist/plugin/provider/lmstudio.js +127 -127
- package/dist/plugin/provider/local.js +124 -124
- package/dist/plugin/provider/modal.js +97 -97
- 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-context-caps.js +95 -95
- package/dist/plugin/provider/openai.js +118 -118
- package/dist/plugin/provider/opencode-legacy.js +105 -105
- package/dist/plugin/provider/opencode.js +124 -124
- package/dist/plugin/provider/openrouter.js +96 -96
- package/dist/plugin/provider/perplexity.js +2 -2
- package/dist/plugin/provider/poe.js +83 -83
- package/dist/plugin/provider/prompt-cache-key.js +1 -1
- package/dist/plugin/provider/sap-ai-core.js +96 -96
- package/dist/plugin/provider/sdk-factory.js +1 -1
- package/dist/plugin/provider/snowflake-cortex.js +117 -117
- package/dist/plugin/provider/vercel.js +95 -95
- package/dist/plugin/provider/vllm.js +127 -127
- package/dist/plugin/provider/xai.js +96 -96
- package/dist/plugin/provider/zenmux.js +1 -1
- package/dist/plugin/provider.js +175 -175
- package/dist/plugin/sdk.js +80 -80
- package/dist/plugin/service.js +3 -3
- package/dist/plugin/skill.js +136 -136
- package/dist/plugin/source-directory.js +1 -1
- package/dist/plugin/supervisor.js +354 -354
- package/dist/plugin/tool-input-repair.js +4 -4
- package/dist/plugin/update.js +6 -6
- package/dist/plugin/vcs/git.js +91 -91
- package/dist/plugin/vcs/hg.js +91 -91
- package/dist/plugin/verbosity.js +98 -98
- package/dist/plugin/warming.js +116 -116
- package/dist/plugin/websearch/exa.js +5 -5
- package/dist/plugin/websearch/firecrawl.js +8 -8
- package/dist/plugin/websearch/index.js +9 -9
- package/dist/plugin/websearch/mcp.js +6 -6
- package/dist/plugin/websearch/parallel.js +8 -8
- package/dist/plugin/websearch/tavily.js +6 -6
- package/dist/plugin/websearch/tinyfish.js +8 -8
- package/dist/plugin.js +231 -231
- package/dist/project/schema.js +6 -6
- package/dist/project/sql.js +4 -4
- package/dist/project.js +93 -93
- package/dist/provider.js +98 -98
- package/dist/pty/protocol.js +1 -1
- package/dist/pty/ticket.js +1 -1
- package/dist/pty.js +97 -97
- package/dist/reference/instructions.js +94 -94
- package/dist/reference.js +96 -96
- package/dist/repository-cache.js +86 -86
- package/dist/repository.js +1 -1
- package/dist/ripgrep/binary.js +2 -2
- package/dist/ripgrep.js +102 -102
- package/dist/rpc.js +91 -91
- package/dist/schema.js +1 -1
- package/dist/session/affinity.js +1 -1
- package/dist/session/command.js +78 -78
- package/dist/session/compaction.js +137 -137
- package/dist/session/context.js +167 -167
- package/dist/session/diff.js +93 -93
- 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 +224 -224
- package/dist/session/execution.js +129 -129
- package/dist/session/generate.js +167 -167
- package/dist/session/history.js +13 -13
- package/dist/session/inbox.js +93 -93
- package/dist/session/info.js +3 -3
- package/dist/session/instruction-entry.js +83 -83
- package/dist/session/instruction-state.js +8 -8
- package/dist/session/instructions.js +102 -102
- package/dist/session/message-updater.js +4 -4
- package/dist/session/message.js +1 -1
- package/dist/session/model-request.js +125 -125
- package/dist/session/model-transport.js +9 -9
- package/dist/session/move.js +135 -135
- package/dist/session/projector.js +93 -93
- package/dist/session/prompt.js +110 -110
- package/dist/session/recent-text.js +1 -1
- package/dist/session/revert.js +99 -99
- package/dist/session/run-coordinator.js +1 -1
- package/dist/session/runner/index.js +3 -3
- package/dist/session/runner/llm.js +233 -233
- package/dist/session/runner/max-steps.js +1 -1
- package/dist/session/runner/model.js +105 -105
- package/dist/session/runner/publish-llm-event.js +118 -118
- package/dist/session/runner/retry.js +3 -3
- package/dist/session/runner/step.js +129 -129
- package/dist/session/runner/to-llm-message.js +14 -14
- package/dist/session/schema.js +5 -5
- package/dist/session/session.js +167 -167
- package/dist/session/shell.js +132 -132
- package/dist/session/skill.js +108 -108
- 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 +214 -214
- package/dist/session/system-prompt.js +5 -5
- package/dist/session/title.js +171 -171
- package/dist/session/to-session-error.js +117 -117
- package/dist/session/transfer.js +221 -221
- package/dist/session/usage.js +1 -1
- package/dist/session.js +218 -218
- package/dist/shell/parse.js +8 -8
- package/dist/shell/result.js +1 -1
- package/dist/shell/scan.js +1 -1
- package/dist/shell/select.js +9 -9
- package/dist/shell.js +132 -132
- package/dist/skill/discovery.js +6 -6
- package/dist/skill/instructions.js +112 -112
- package/dist/skill.js +117 -117
- package/dist/snapshot.js +96 -96
- 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 +140 -140
- package/dist/tool/plugin/edit.js +125 -125
- package/dist/tool/plugin/file-diff.js +1 -1
- package/dist/tool/plugin/glob.js +129 -129
- package/dist/tool/plugin/grep.js +129 -129
- package/dist/tool/plugin/mcp-resource.js +129 -129
- package/dist/tool/plugin/opencode.js +114 -114
- package/dist/tool/plugin/patch.js +125 -125
- package/dist/tool/plugin/question.js +108 -108
- package/dist/tool/plugin/read.js +130 -130
- package/dist/tool/plugin/shell.js +217 -217
- package/dist/tool/plugin/skill.js +116 -116
- package/dist/tool/plugin/subagent.js +221 -221
- package/dist/tool/plugin/todo.js +134 -134
- package/dist/tool/plugin/webfetch.js +118 -118
- package/dist/tool/plugin/websearch.js +117 -117
- package/dist/tool/plugin/write.js +125 -125
- package/dist/tool/read-filesystem.js +105 -105
- package/dist/tool/runtime.js +1 -1
- package/dist/tool-output.js +7 -7
- package/dist/tool.js +14 -14
- package/dist/usage-limits.js +91 -91
- package/dist/util/error-summary.js +1 -1
- package/dist/util/git-executable.js +3 -3
- package/dist/util/lazy.js +1 -1
- package/dist/util/slug.js +1 -1
- package/dist/util/token.js +1 -1
- package/dist/util/which.js +1 -1
- package/dist/util/wildcard.js +1 -1
- package/dist/v1/config/agent.js +5 -5
- package/dist/v1/config/command.js +3 -3
- package/dist/v1/config/mcp.js +4 -4
- package/dist/v1/config/migrate.js +97 -97
- package/dist/v1/config/permission.js +3 -3
- package/dist/v1/config/plugin.js +1 -1
- package/dist/v1/config/provider-options.js +1 -1
- package/dist/v1/config/provider.js +4 -4
- package/dist/variant.js +98 -98
- package/dist/vcs/patch.js +1 -1
- package/dist/vcs.js +94 -94
- package/dist/voice.js +92 -92
- package/dist/websearch.js +88 -88
- package/dist/wellknown/plugin.js +80 -80
- package/dist/wellknown.js +85 -85
- package/dist/workspace/driver.js +7 -7
- package/dist/workspace/sql.js +1 -1
- package/dist/workspace.js +86 -86
- package/dist/worktree/directory.js +2 -2
- package/dist/worktree/git.js +11 -11
- package/dist/worktree/sql.js +5 -5
- package/dist/worktree/strategies.js +94 -94
- package/dist/worktree.js +101 -101
- package/package.json +8 -8
- package/dist/chunks/location-lifecycle-8414x7my.js +0 -261
- package/dist/chunks/location-lifecycle-dr1hh12s.js +0 -517
- package/dist/chunks/location-lifecycle-gqxtb57b.js +0 -26
- package/dist/chunks/location-lifecycle-me0dhgxs.js +0 -18
- /package/dist/chunks/{location-lifecycle-0qkdqm5v.js → worktree-0qkdqm5v.js} +0 -0
- /package/dist/chunks/{location-lifecycle-0zkw76rk.js → worktree-0zkw76rk.js} +0 -0
- /package/dist/chunks/{location-lifecycle-17cy0kzp.js → worktree-17cy0kzp.js} +0 -0
- /package/dist/chunks/{location-lifecycle-1cnp2v09.js → worktree-1cnp2v09.js} +0 -0
- /package/dist/chunks/{location-lifecycle-24dcb14g.js → worktree-24dcb14g.js} +0 -0
- /package/dist/chunks/{location-lifecycle-2710q6r3.js → worktree-2710q6r3.js} +0 -0
- /package/dist/chunks/{location-lifecycle-2bv980vf.js → worktree-2bv980vf.js} +0 -0
- /package/dist/chunks/{location-lifecycle-2c3vjs8z.js → worktree-2c3vjs8z.js} +0 -0
- /package/dist/chunks/{location-lifecycle-359p4xyc.js → worktree-359p4xyc.js} +0 -0
- /package/dist/chunks/{location-lifecycle-3asan66x.js → worktree-3asan66x.js} +0 -0
- /package/dist/chunks/{location-lifecycle-3v8g72cx.js → worktree-3v8g72cx.js} +0 -0
- /package/dist/chunks/{location-lifecycle-3wcehsnq.js → worktree-3wcehsnq.js} +0 -0
- /package/dist/chunks/{location-lifecycle-43n2bw4t.js → worktree-43n2bw4t.js} +0 -0
- /package/dist/chunks/{location-lifecycle-4knz6hnm.js → worktree-4knz6hnm.js} +0 -0
- /package/dist/chunks/{location-lifecycle-4vcrnpx2.js → worktree-4vcrnpx2.js} +0 -0
- /package/dist/chunks/{location-lifecycle-4y7fprxs.js → worktree-4y7fprxs.js} +0 -0
- /package/dist/chunks/{location-lifecycle-53557ph1.js → worktree-53557ph1.js} +0 -0
- /package/dist/chunks/{location-lifecycle-550bvhaj.js → worktree-550bvhaj.js} +0 -0
- /package/dist/chunks/{location-lifecycle-5fjb7ams.js → worktree-5fjb7ams.js} +0 -0
- /package/dist/chunks/{location-lifecycle-5qd3pb7m.js → worktree-5qd3pb7m.js} +0 -0
- /package/dist/chunks/{location-lifecycle-6prwharc.js → worktree-6prwharc.js} +0 -0
- /package/dist/chunks/{location-lifecycle-6q2bdcd1.js → worktree-6q2bdcd1.js} +0 -0
- /package/dist/chunks/{location-lifecycle-7akdwqpd.js → worktree-7akdwqpd.js} +0 -0
- /package/dist/chunks/{location-lifecycle-7m9af43g.js → worktree-7m9af43g.js} +0 -0
- /package/dist/chunks/{location-lifecycle-822emrt2.js → worktree-822emrt2.js} +0 -0
- /package/dist/chunks/{location-lifecycle-84wd9syh.js → worktree-84wd9syh.js} +0 -0
- /package/dist/chunks/{location-lifecycle-88xbtdfr.js → worktree-88xbtdfr.js} +0 -0
- /package/dist/chunks/{location-lifecycle-8n3pysct.js → worktree-8n3pysct.js} +0 -0
- /package/dist/chunks/{location-lifecycle-8wj87zfr.js → worktree-8wj87zfr.js} +0 -0
- /package/dist/chunks/{location-lifecycle-9a4afbnw.js → worktree-9a4afbnw.js} +0 -0
- /package/dist/chunks/{location-lifecycle-9rqn6x4v.js → worktree-9rqn6x4v.js} +0 -0
- /package/dist/chunks/{location-lifecycle-a058387c.js → worktree-a058387c.js} +0 -0
- /package/dist/chunks/{location-lifecycle-a6k6eb26.js → worktree-a6k6eb26.js} +0 -0
- /package/dist/chunks/{location-lifecycle-af5trqkr.js → worktree-af5trqkr.js} +0 -0
- /package/dist/chunks/{location-lifecycle-afrmfg78.js → worktree-afrmfg78.js} +0 -0
- /package/dist/chunks/{location-lifecycle-aqzs7mqg.js → worktree-aqzs7mqg.js} +0 -0
- /package/dist/chunks/{location-lifecycle-atq7p7m5.js → worktree-atq7p7m5.js} +0 -0
- /package/dist/chunks/{location-lifecycle-bkyjaxrp.js → worktree-bkyjaxrp.js} +0 -0
- /package/dist/chunks/{location-lifecycle-bmr6ed5q.js → worktree-bmr6ed5q.js} +0 -0
- /package/dist/chunks/{location-lifecycle-cf4snx6d.js → worktree-cf4snx6d.js} +0 -0
- /package/dist/chunks/{location-lifecycle-cqv5kn06.js → worktree-cqv5kn06.js} +0 -0
- /package/dist/chunks/{location-lifecycle-cvy3z8tj.js → worktree-cvy3z8tj.js} +0 -0
- /package/dist/chunks/{location-lifecycle-d9fn303g.js → worktree-d9fn303g.js} +0 -0
- /package/dist/chunks/{location-lifecycle-d9jj8t3e.js → worktree-d9jj8t3e.js} +0 -0
- /package/dist/chunks/{location-lifecycle-dajrwvna.js → worktree-dajrwvna.js} +0 -0
- /package/dist/chunks/{location-lifecycle-dap0rakb.js → worktree-dap0rakb.js} +0 -0
- /package/dist/chunks/{location-lifecycle-df08tz66.js → worktree-df08tz66.js} +0 -0
- /package/dist/chunks/{location-lifecycle-dy18nga0.js → worktree-dy18nga0.js} +0 -0
- /package/dist/chunks/{location-lifecycle-e5kj55wp.js → worktree-e5kj55wp.js} +0 -0
- /package/dist/chunks/{location-lifecycle-e73j6tqm.js → worktree-e73j6tqm.js} +0 -0
- /package/dist/chunks/{location-lifecycle-ec1grn59.js → worktree-ec1grn59.js} +0 -0
- /package/dist/chunks/{location-lifecycle-eh3zwz77.js → worktree-eh3zwz77.js} +0 -0
- /package/dist/chunks/{location-lifecycle-emrn6kk6.js → worktree-emrn6kk6.js} +0 -0
- /package/dist/chunks/{location-lifecycle-f0mxakyp.js → worktree-f0mxakyp.js} +0 -0
- /package/dist/chunks/{location-lifecycle-f6n9ztr4.js → worktree-f6n9ztr4.js} +0 -0
- /package/dist/chunks/{location-lifecycle-faypxj3z.js → worktree-faypxj3z.js} +0 -0
- /package/dist/chunks/{location-lifecycle-fd410y7t.js → worktree-fd410y7t.js} +0 -0
- /package/dist/chunks/{location-lifecycle-g4wezp1m.js → worktree-g4wezp1m.js} +0 -0
- /package/dist/chunks/{location-lifecycle-g86h250q.js → worktree-g86h250q.js} +0 -0
- /package/dist/chunks/{location-lifecycle-gebd4c9n.js → worktree-gebd4c9n.js} +0 -0
- /package/dist/chunks/{location-lifecycle-gftt206x.js → worktree-gftt206x.js} +0 -0
- /package/dist/chunks/{location-lifecycle-hcxmzztb.js → worktree-hcxmzztb.js} +0 -0
- /package/dist/chunks/{location-lifecycle-hk9envan.js → worktree-hk9envan.js} +0 -0
- /package/dist/chunks/{location-lifecycle-j2ntwpah.js → worktree-j2ntwpah.js} +0 -0
- /package/dist/chunks/{location-lifecycle-j5zkgpj8.js → worktree-j5zkgpj8.js} +0 -0
- /package/dist/chunks/{location-lifecycle-jjkms2e6.js → worktree-jjkms2e6.js} +0 -0
- /package/dist/chunks/{location-lifecycle-jr7sbwjy.js → worktree-jr7sbwjy.js} +0 -0
- /package/dist/chunks/{location-lifecycle-jwfs4k6c.js → worktree-jwfs4k6c.js} +0 -0
- /package/dist/chunks/{location-lifecycle-jwr30sdr.js → worktree-jwr30sdr.js} +0 -0
- /package/dist/chunks/{location-lifecycle-jze0r7bz.js → worktree-jze0r7bz.js} +0 -0
- /package/dist/chunks/{location-lifecycle-jzg6c2d5.js → worktree-jzg6c2d5.js} +0 -0
- /package/dist/chunks/{location-lifecycle-m18g726c.js → worktree-m18g726c.js} +0 -0
- /package/dist/chunks/{location-lifecycle-mp448xyj.js → worktree-mp448xyj.js} +0 -0
- /package/dist/chunks/{location-lifecycle-msx8hqn2.js → worktree-msx8hqn2.js} +0 -0
- /package/dist/chunks/{location-lifecycle-n05xt0ee.js → worktree-n05xt0ee.js} +0 -0
- /package/dist/chunks/{location-lifecycle-n3j8tn72.js → worktree-n3j8tn72.js} +0 -0
- /package/dist/chunks/{location-lifecycle-njntx4h6.js → worktree-njntx4h6.js} +0 -0
- /package/dist/chunks/{location-lifecycle-pkyv6v7h.js → worktree-pkyv6v7h.js} +0 -0
- /package/dist/chunks/{location-lifecycle-q3sfg36h.js → worktree-q3sfg36h.js} +0 -0
- /package/dist/chunks/{location-lifecycle-q74kybfr.js → worktree-q74kybfr.js} +0 -0
- /package/dist/chunks/{location-lifecycle-qaymkmh1.js → worktree-qaymkmh1.js} +0 -0
- /package/dist/chunks/{location-lifecycle-qb87gjwd.js → worktree-qb87gjwd.js} +0 -0
- /package/dist/chunks/{location-lifecycle-qfa1cgps.js → worktree-qfa1cgps.js} +0 -0
- /package/dist/chunks/{location-lifecycle-qg3g05ea.js → worktree-qg3g05ea.js} +0 -0
- /package/dist/chunks/{location-lifecycle-qrg20bc0.js → worktree-qrg20bc0.js} +0 -0
- /package/dist/chunks/{location-lifecycle-rcb2kzg1.js → worktree-rcb2kzg1.js} +0 -0
- /package/dist/chunks/{location-lifecycle-sdp7kfr6.js → worktree-sdp7kfr6.js} +0 -0
- /package/dist/chunks/{location-lifecycle-ssg3fenm.js → worktree-ssg3fenm.js} +0 -0
- /package/dist/chunks/{location-lifecycle-ve7vex1e.js → worktree-ve7vex1e.js} +0 -0
- /package/dist/chunks/{location-lifecycle-w803qqfp.js → worktree-w803qqfp.js} +0 -0
- /package/dist/chunks/{location-lifecycle-wc3fc9cn.js → worktree-wc3fc9cn.js} +0 -0
- /package/dist/chunks/{location-lifecycle-wer8tq1h.js → worktree-wer8tq1h.js} +0 -0
- /package/dist/chunks/{location-lifecycle-wjj7prxr.js → worktree-wjj7prxr.js} +0 -0
- /package/dist/chunks/{location-lifecycle-wtztk69x.js → worktree-wtztk69x.js} +0 -0
- /package/dist/chunks/{location-lifecycle-x0ckcb58.js → worktree-x0ckcb58.js} +0 -0
- /package/dist/chunks/{location-lifecycle-x61499pn.js → worktree-x61499pn.js} +0 -0
- /package/dist/chunks/{location-lifecycle-y44na4kk.js → worktree-y44na4kk.js} +0 -0
- /package/dist/chunks/{location-lifecycle-y8f7s663.js → worktree-y8f7s663.js} +0 -0
- /package/dist/chunks/{location-lifecycle-ygaqb7jw.js → worktree-ygaqb7jw.js} +0 -0
- /package/dist/chunks/{location-lifecycle-ym463w8f.js → worktree-ym463w8f.js} +0 -0
- /package/dist/chunks/{location-lifecycle-z5v4ffb3.js → worktree-z5v4ffb3.js} +0 -0
- /package/dist/chunks/{location-lifecycle-z9919s4g.js → worktree-z9919s4g.js} +0 -0
|
@@ -1,34 +1,34 @@
|
|
|
1
1
|
import {
|
|
2
2
|
useragent2
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./worktree-cd50e0wg.js";
|
|
4
4
|
import {
|
|
5
5
|
Service86
|
|
6
|
-
} from "./
|
|
6
|
+
} from "./worktree-f21hf6dz.js";
|
|
7
7
|
import {
|
|
8
|
-
|
|
8
|
+
ID16,
|
|
9
9
|
Event18,
|
|
10
|
-
|
|
11
|
-
} from "./
|
|
10
|
+
Service79
|
|
11
|
+
} from "./worktree-m6f7840m.js";
|
|
12
12
|
import {
|
|
13
13
|
key2
|
|
14
|
-
} from "./
|
|
14
|
+
} from "./worktree-bjhzkqyk.js";
|
|
15
15
|
import {
|
|
16
|
-
|
|
16
|
+
ID14,
|
|
17
17
|
MethodID2
|
|
18
|
-
} from "./
|
|
18
|
+
} from "./worktree-zqjghnyq.js";
|
|
19
19
|
import {
|
|
20
20
|
which2
|
|
21
|
-
} from "./
|
|
21
|
+
} from "./worktree-qaymkmh1.js";
|
|
22
22
|
import {
|
|
23
|
-
|
|
23
|
+
ID13,
|
|
24
24
|
Service76
|
|
25
|
-
} from "./
|
|
25
|
+
} from "./worktree-8wezqzag.js";
|
|
26
26
|
import {
|
|
27
|
-
|
|
28
|
-
} from "./
|
|
27
|
+
ID12
|
|
28
|
+
} from "./worktree-yj3d1z1y.js";
|
|
29
29
|
import {
|
|
30
30
|
configuredSettings2
|
|
31
|
-
} from "./
|
|
31
|
+
} from "./worktree-7a4k0486.js";
|
|
32
32
|
|
|
33
33
|
// src/plugin/provider/azure.ts
|
|
34
34
|
import { Clock, Effect, FiberHandle, Option, Schema, Semaphore, Stream } from "effect";
|
|
@@ -63,17 +63,17 @@ var decodeManagementDeployment = Schema.decodeUnknownOption(Schema.Struct({
|
|
|
63
63
|
}));
|
|
64
64
|
var ResourceQuery = Schema.Struct({ query: Schema.String });
|
|
65
65
|
var Resources = Schema.Struct({ data: Schema.Array(Schema.Struct({ id: Schema.NonEmptyString })) });
|
|
66
|
-
function
|
|
66
|
+
function make7(endpoints = {
|
|
67
67
|
resource: (name) => `https://${name}.openai.azure.com/openai`,
|
|
68
68
|
management: "https://management.azure.com"
|
|
69
69
|
}) {
|
|
70
70
|
return define({
|
|
71
71
|
id: "opencode.provider.azure",
|
|
72
72
|
effect: Effect.fn(function* (ctx) {
|
|
73
|
-
const configured = yield* configuredSettings2(
|
|
73
|
+
const configured = yield* configuredSettings2(ID13.azure);
|
|
74
74
|
const processes = yield* AppProcess.Service;
|
|
75
75
|
const bus = yield* Service86;
|
|
76
|
-
const credentials = yield*
|
|
76
|
+
const credentials = yield* Service79;
|
|
77
77
|
const providers = yield* Service76;
|
|
78
78
|
const http = HttpClient.filterStatusOk(yield* HttpClient.HttpClient);
|
|
79
79
|
const tokens = new Map;
|
|
@@ -100,11 +100,11 @@ function make4(endpoints = {
|
|
|
100
100
|
const configuredResource = Boolean(resolveResourceName(configured) || typeof configured?.baseURL === "string");
|
|
101
101
|
yield* ctx.integration.transform((editor) => {
|
|
102
102
|
editor.method.update({
|
|
103
|
-
integrationID:
|
|
103
|
+
integrationID: ID13.azure,
|
|
104
104
|
method: { type: "env", names: ["AZURE_API_KEY", "AZURE_COGNITIVE_SERVICES_API_KEY"] }
|
|
105
105
|
});
|
|
106
106
|
editor.method.update({
|
|
107
|
-
integrationID:
|
|
107
|
+
integrationID: ID13.azure,
|
|
108
108
|
method: {
|
|
109
109
|
type: "key",
|
|
110
110
|
label: "API key",
|
|
@@ -122,7 +122,7 @@ function make4(endpoints = {
|
|
|
122
122
|
if (!available)
|
|
123
123
|
return;
|
|
124
124
|
editor.method.update({
|
|
125
|
-
integrationID:
|
|
125
|
+
integrationID: ID13.azure,
|
|
126
126
|
method: {
|
|
127
127
|
id: methodID,
|
|
128
128
|
type: "external",
|
|
@@ -142,8 +142,8 @@ function make4(endpoints = {
|
|
|
142
142
|
});
|
|
143
143
|
});
|
|
144
144
|
const load = Effect.fn("AzurePlugin.load")(function* () {
|
|
145
|
-
const connection = yield* ctx.integration.connection.active(
|
|
146
|
-
const stored = connection?.type === "credential" ? yield* credentials.get(
|
|
145
|
+
const connection = yield* ctx.integration.connection.active(ID13.azure);
|
|
146
|
+
const stored = connection?.type === "credential" ? yield* credentials.get(ID16.make(connection.id)) : undefined;
|
|
147
147
|
return { connection, resource: credentialResource(stored?.value) };
|
|
148
148
|
});
|
|
149
149
|
const findResource = Effect.fn("AzurePlugin.findResource")(function* (resource) {
|
|
@@ -182,7 +182,7 @@ function make4(endpoints = {
|
|
|
182
182
|
}));
|
|
183
183
|
const discover = Effect.fn("AzurePlugin.discover")(function* () {
|
|
184
184
|
const connection = loaded.connection;
|
|
185
|
-
const settings = (yield* providers.get(
|
|
185
|
+
const settings = (yield* providers.get(ID13.azure))?.settings;
|
|
186
186
|
const name = loaded.resource ?? resolveResourceName(settings);
|
|
187
187
|
const url = connection && name !== undefined && resourcePattern.test(name) && typeof settings?.baseURL !== "string" ? `${endpoints.resource(name)}/deployments?api-version=2022-12-01` : undefined;
|
|
188
188
|
if (loaded.connection !== connection)
|
|
@@ -204,11 +204,11 @@ function make4(endpoints = {
|
|
|
204
204
|
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))));
|
|
205
205
|
if (!found)
|
|
206
206
|
return;
|
|
207
|
-
if (loaded.connection !== connection || key2(connection) !== key2(yield* ctx.integration.connection.active(
|
|
207
|
+
if (loaded.connection !== connection || key2(connection) !== key2(yield* ctx.integration.connection.active(ID13.azure)))
|
|
208
208
|
return;
|
|
209
209
|
if (JSON.stringify(found) === JSON.stringify(loaded.deployments))
|
|
210
210
|
return;
|
|
211
|
-
const catalog = new Map(Array.from((yield* providers.snapshot()).records.get(
|
|
211
|
+
const catalog = new Map(Array.from((yield* providers.snapshot()).records.get(ID13.azure)?.models.keys() ?? [], (id) => [
|
|
212
212
|
id.toLowerCase(),
|
|
213
213
|
id
|
|
214
214
|
]));
|
|
@@ -221,11 +221,11 @@ function make4(endpoints = {
|
|
|
221
221
|
yield* ctx.model.reload();
|
|
222
222
|
});
|
|
223
223
|
const refresh = () => rebind().pipe(Effect.andThen(FiberHandle.run(discovery, discover())));
|
|
224
|
-
const resourceFor = (provider) => provider.id ===
|
|
224
|
+
const resourceFor = (provider) => provider.id === ID13.azure ? loaded.resource ?? resolveResourceName(provider.settings) : resolveResourceName(provider.settings, loaded.resource);
|
|
225
225
|
Object.assign(loaded, yield* load());
|
|
226
226
|
yield* ctx.provider.transform((evt) => {
|
|
227
227
|
for (const item of evt.list()) {
|
|
228
|
-
if (item.provider.id !==
|
|
228
|
+
if (item.provider.id !== ID13.azure && !item.provider.package.startsWith("@opencode/ai/providers/azure/"))
|
|
229
229
|
continue;
|
|
230
230
|
const resourceName = resourceFor(item.provider);
|
|
231
231
|
const websocket = responsesWebSocketCapable(item.provider);
|
|
@@ -240,7 +240,7 @@ function make4(endpoints = {
|
|
|
240
240
|
};
|
|
241
241
|
});
|
|
242
242
|
}
|
|
243
|
-
const item = evt.get(
|
|
243
|
+
const item = evt.get(ID13.azure);
|
|
244
244
|
if (!item)
|
|
245
245
|
return;
|
|
246
246
|
evt.add({
|
|
@@ -251,7 +251,7 @@ function make4(endpoints = {
|
|
|
251
251
|
});
|
|
252
252
|
yield* ctx.model.transform((models) => {
|
|
253
253
|
for (const item of models.provider.list()) {
|
|
254
|
-
if (item.provider.id !==
|
|
254
|
+
if (item.provider.id !== ID13.azure && !item.provider.package.startsWith("@opencode/ai/providers/azure/"))
|
|
255
255
|
continue;
|
|
256
256
|
const resourceName = resourceFor(item.provider);
|
|
257
257
|
if (!resourceName)
|
|
@@ -270,20 +270,20 @@ function make4(endpoints = {
|
|
|
270
270
|
}
|
|
271
271
|
if (!loaded.deployments)
|
|
272
272
|
return;
|
|
273
|
-
const catalog = models.list(
|
|
273
|
+
const catalog = models.list(ID13.azure);
|
|
274
274
|
const deployed = deployedModels(loaded.deployments, catalog);
|
|
275
275
|
for (const model of catalog) {
|
|
276
276
|
if (!deployed.has(model.id))
|
|
277
|
-
models.remove(
|
|
277
|
+
models.remove(ID13.azure, model.id);
|
|
278
278
|
}
|
|
279
279
|
for (const [id, model] of deployed) {
|
|
280
|
-
models.update(
|
|
280
|
+
models.update(ID13.azure, id, (draft) => Object.assign(draft, model));
|
|
281
281
|
}
|
|
282
282
|
});
|
|
283
|
-
yield* bus.subscribe(Event18.Switched).pipe(Stream.filter((event) => event.data.integrationID ===
|
|
283
|
+
yield* bus.subscribe(Event18.Switched).pipe(Stream.filter((event) => event.data.integrationID === ID14.make("azure")), Stream.runForEach(() => refresh()), Effect.forkScoped({ startImmediately: true }));
|
|
284
284
|
yield* refresh().pipe(Effect.forkScoped);
|
|
285
285
|
const bearer = Effect.fn("AzurePlugin.bearer")(function* (url) {
|
|
286
|
-
const connection = yield* ctx.integration.connection.active(
|
|
286
|
+
const connection = yield* ctx.integration.connection.active(ID13.azure);
|
|
287
287
|
const credential = connection ? yield* ctx.integration.connection.resolve(connection).pipe(Effect.orElseSucceed(() => {
|
|
288
288
|
return;
|
|
289
289
|
})) : undefined;
|
|
@@ -295,7 +295,7 @@ function make4(endpoints = {
|
|
|
295
295
|
return `Bearer ${current.access}`;
|
|
296
296
|
});
|
|
297
297
|
yield* ctx.session.hook("http.request", (evt) => Effect.gen(function* () {
|
|
298
|
-
if (evt.model.providerID !==
|
|
298
|
+
if (evt.model.providerID !== ID13.azure)
|
|
299
299
|
return;
|
|
300
300
|
const authorization = yield* bearer(evt.request.url);
|
|
301
301
|
if (!authorization)
|
|
@@ -304,9 +304,9 @@ function make4(endpoints = {
|
|
|
304
304
|
evt.request.headers.delete("x-api-key");
|
|
305
305
|
evt.request.headers.set("authorization", authorization);
|
|
306
306
|
evt.request.headers.set("user-agent", useragent2(ctx.app));
|
|
307
|
-
}), { providerID:
|
|
307
|
+
}), { providerID: ID13.azure });
|
|
308
308
|
yield* ctx.session.hook("experimental.ws.handshake", (evt) => Effect.gen(function* () {
|
|
309
|
-
if (evt.model.providerID !==
|
|
309
|
+
if (evt.model.providerID !== ID13.azure)
|
|
310
310
|
return;
|
|
311
311
|
const authorization = yield* bearer(evt.url);
|
|
312
312
|
if (!authorization)
|
|
@@ -315,11 +315,11 @@ function make4(endpoints = {
|
|
|
315
315
|
delete evt.headers["x-api-key"];
|
|
316
316
|
evt.headers.authorization = authorization;
|
|
317
317
|
evt.headers["user-agent"] = useragent2(ctx.app);
|
|
318
|
-
}), { providerID:
|
|
318
|
+
}), { providerID: ID13.azure });
|
|
319
319
|
})
|
|
320
320
|
});
|
|
321
321
|
}
|
|
322
|
-
var AzurePlugin2 =
|
|
322
|
+
var AzurePlugin2 = make7();
|
|
323
323
|
function resolveResourceName(settings, fallback) {
|
|
324
324
|
const configured = settings?.resourceName;
|
|
325
325
|
if (typeof configured === "string" && configured.trim() !== "")
|
|
@@ -349,11 +349,11 @@ function deployedModels(deployments, catalog) {
|
|
|
349
349
|
const model = catalogModel(models, deployment);
|
|
350
350
|
if (!model)
|
|
351
351
|
return [];
|
|
352
|
-
const id =
|
|
352
|
+
const id = ID12.make(deployment.name.toLowerCase());
|
|
353
353
|
const info = {
|
|
354
354
|
...structuredClone(model),
|
|
355
355
|
id,
|
|
356
|
-
modelID:
|
|
356
|
+
modelID: ID12.make(deployment.name),
|
|
357
357
|
name: id === model.id.toLowerCase() ? model.name : `${model.name} (${deployment.name})`
|
|
358
358
|
};
|
|
359
359
|
return [[id, info]];
|
|
@@ -375,4 +375,4 @@ function responsesWebSocketCapable(provider) {
|
|
|
375
375
|
return /^https:\/\/[^/]+\.openai\.azure\.com(?:\/|$)/i.test(settings.baseURL);
|
|
376
376
|
}
|
|
377
377
|
|
|
378
|
-
export {
|
|
378
|
+
export { make7, AzurePlugin2 };
|
|
@@ -1,25 +1,25 @@
|
|
|
1
1
|
import {
|
|
2
2
|
server2,
|
|
3
3
|
headers2
|
|
4
|
-
} from "./
|
|
4
|
+
} from "./worktree-kt3bjfbg.js";
|
|
5
5
|
import {
|
|
6
|
-
|
|
6
|
+
ID14,
|
|
7
7
|
Service77,
|
|
8
8
|
node80
|
|
9
|
-
} from "./
|
|
9
|
+
} from "./worktree-zqjghnyq.js";
|
|
10
10
|
import {
|
|
11
11
|
__export
|
|
12
|
-
} from "./
|
|
12
|
+
} from "./worktree-9rqn6x4v.js";
|
|
13
13
|
|
|
14
14
|
// src/usage-limits.ts
|
|
15
15
|
var exports_usage_limits = {};
|
|
16
16
|
__export(exports_usage_limits, {
|
|
17
|
-
Info: () =>
|
|
18
|
-
Service: () =>
|
|
17
|
+
Info: () => Info5,
|
|
18
|
+
Service: () => Service16,
|
|
19
19
|
UnavailableError: () => UnavailableError3,
|
|
20
20
|
UsageLimits: () => exports_usage_limits,
|
|
21
|
-
layer: () =>
|
|
22
|
-
node: () =>
|
|
21
|
+
layer: () => layer10,
|
|
22
|
+
node: () => node19
|
|
23
23
|
});
|
|
24
24
|
import { Model } from "@opencode/schema/model";
|
|
25
25
|
import { Money } from "@opencode/schema/money";
|
|
@@ -29,20 +29,20 @@ import { makeLocationNode } from "@opencode/util/effect/app-node";
|
|
|
29
29
|
import { httpClient } from "@opencode/util/effect/app-node-platform";
|
|
30
30
|
import { Context, Duration, Effect, Layer, Schema } from "effect";
|
|
31
31
|
import { HttpClient, HttpClientRequest, HttpClientResponse } from "effect/http";
|
|
32
|
-
var
|
|
32
|
+
var Info5 = UsageLimits.Info;
|
|
33
33
|
|
|
34
34
|
class UnavailableError3 extends Schema.TaggedError()("UsageLimits.UnavailableError", {
|
|
35
35
|
message: Schema.String
|
|
36
36
|
}) {
|
|
37
37
|
}
|
|
38
38
|
|
|
39
|
-
class
|
|
39
|
+
class Service16 extends Context.Service()("@opencode/UsageLimits") {
|
|
40
40
|
}
|
|
41
|
-
var
|
|
41
|
+
var layer10 = Layer.effect(Service16, Effect.gen(function* () {
|
|
42
42
|
const integrations = yield* Service77;
|
|
43
43
|
const http = yield* HttpClient.HttpClient;
|
|
44
44
|
const get = Effect.fn("UsageLimits.get")(function* () {
|
|
45
|
-
const connection = yield* integrations.connection.active(
|
|
45
|
+
const connection = yield* integrations.connection.active(ID14.make("opencode"));
|
|
46
46
|
if (!connection)
|
|
47
47
|
return;
|
|
48
48
|
const credential = yield* integrations.connection.resolve(connection).pipe(Effect.mapError((error) => new UnavailableError3({ message: error.message })));
|
|
@@ -66,11 +66,11 @@ var layer12 = Layer.effect(Service20, Effect.gen(function* () {
|
|
|
66
66
|
budgets
|
|
67
67
|
};
|
|
68
68
|
});
|
|
69
|
-
return
|
|
69
|
+
return Service16.of({ get });
|
|
70
70
|
}));
|
|
71
|
-
var
|
|
72
|
-
service:
|
|
73
|
-
layer:
|
|
71
|
+
var node19 = makeLocationNode({
|
|
72
|
+
service: Service16,
|
|
73
|
+
layer: layer10,
|
|
74
74
|
deps: [node80, httpClient]
|
|
75
75
|
});
|
|
76
76
|
var ConsoleBudget = Schema.Struct({
|
|
@@ -130,4 +130,4 @@ function meter(value) {
|
|
|
130
130
|
return { percent: value.percent, limited: value.status === "rate-limited", resetsAt: value.resetsAt.getTime() };
|
|
131
131
|
}
|
|
132
132
|
|
|
133
|
-
export {
|
|
133
|
+
export { Info5, UnavailableError3, Service16, layer10, node19, exports_usage_limits };
|
|
@@ -1,14 +1,14 @@
|
|
|
1
1
|
import {
|
|
2
2
|
call2
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./worktree-w2eysc6j.js";
|
|
4
4
|
import {
|
|
5
5
|
__export
|
|
6
|
-
} from "./
|
|
6
|
+
} from "./worktree-9rqn6x4v.js";
|
|
7
7
|
|
|
8
8
|
// src/plugin/websearch/exa.ts
|
|
9
9
|
var exports_exa = {};
|
|
10
10
|
__export(exports_exa, {
|
|
11
|
-
Plugin: () =>
|
|
11
|
+
Plugin: () => Plugin41,
|
|
12
12
|
WebSearchExa: () => exports_exa,
|
|
13
13
|
endpoint: () => endpoint6
|
|
14
14
|
});
|
|
@@ -27,7 +27,7 @@ var McpOutput = Schema.Struct({
|
|
|
27
27
|
_meta: Schema.Struct({ searchTime: Schema.Number }).pipe(Schema.optional)
|
|
28
28
|
}))
|
|
29
29
|
});
|
|
30
|
-
var
|
|
30
|
+
var Plugin41 = define({
|
|
31
31
|
id: "opencode.websearch.exa",
|
|
32
32
|
effect: Effect.fn("WebSearchExa.Plugin")(function* (ctx) {
|
|
33
33
|
const http = yield* HttpClient.HttpClient;
|
|
@@ -80,4 +80,4 @@ function parseResults(text) {
|
|
|
80
80
|
});
|
|
81
81
|
}
|
|
82
82
|
|
|
83
|
-
export { endpoint6,
|
|
83
|
+
export { endpoint6, Plugin41, exports_exa };
|
|
@@ -1,60 +1,60 @@
|
|
|
1
1
|
import {
|
|
2
2
|
makeUnsafe2
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./worktree-11hfp36g.js";
|
|
4
4
|
import {
|
|
5
5
|
Service86,
|
|
6
|
-
|
|
7
|
-
} from "./
|
|
6
|
+
node89
|
|
7
|
+
} from "./worktree-f21hf6dz.js";
|
|
8
8
|
import {
|
|
9
9
|
Event18,
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
} from "./
|
|
10
|
+
Service79,
|
|
11
|
+
node82
|
|
12
|
+
} from "./worktree-m6f7840m.js";
|
|
13
13
|
import {
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
} from "./
|
|
14
|
+
Service80,
|
|
15
|
+
node83
|
|
16
|
+
} from "./worktree-86djksxe.js";
|
|
17
17
|
import {
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
} from "./
|
|
18
|
+
Service59,
|
|
19
|
+
node61
|
|
20
|
+
} from "./worktree-x29n1dd5.js";
|
|
21
21
|
import {
|
|
22
22
|
ID15,
|
|
23
|
-
|
|
24
|
-
|
|
25
|
-
} from "./
|
|
23
|
+
Service78,
|
|
24
|
+
node81
|
|
25
|
+
} from "./worktree-zm3q4tch.js";
|
|
26
26
|
import {
|
|
27
27
|
reconcile2,
|
|
28
28
|
create3
|
|
29
|
-
} from "./
|
|
29
|
+
} from "./worktree-vd3b3yk9.js";
|
|
30
30
|
import {
|
|
31
|
-
|
|
31
|
+
ID14,
|
|
32
32
|
MethodID2,
|
|
33
33
|
Service77,
|
|
34
34
|
node80
|
|
35
|
-
} from "./
|
|
35
|
+
} from "./worktree-zqjghnyq.js";
|
|
36
36
|
import {
|
|
37
37
|
__export
|
|
38
|
-
} from "./
|
|
38
|
+
} from "./worktree-9rqn6x4v.js";
|
|
39
39
|
|
|
40
40
|
// src/mcp/index.ts
|
|
41
41
|
var exports_mcp4 = {};
|
|
42
42
|
__export(exports_mcp4, {
|
|
43
43
|
Mcp: () => exports_mcp4,
|
|
44
44
|
NotFoundError: () => NotFoundError3,
|
|
45
|
-
Options: () =>
|
|
45
|
+
Options: () => Options2,
|
|
46
46
|
PromptsChanged: () => PromptsChanged2,
|
|
47
47
|
Resource: () => Resource2,
|
|
48
48
|
ResourceCatalog: () => ResourceCatalog2,
|
|
49
49
|
ResourceContent: () => ResourceContent2,
|
|
50
50
|
ResourceTemplate: () => ResourceTemplate2,
|
|
51
51
|
ServerName: () => ServerName2,
|
|
52
|
-
Service: () =>
|
|
52
|
+
Service: () => Service26,
|
|
53
53
|
Status: () => Status2,
|
|
54
54
|
ToolCallError: () => ToolCallError2,
|
|
55
|
-
configured: () =>
|
|
56
|
-
layer: () =>
|
|
57
|
-
node: () =>
|
|
55
|
+
configured: () => configured2,
|
|
56
|
+
layer: () => layer13,
|
|
57
|
+
node: () => node30
|
|
58
58
|
});
|
|
59
59
|
import { Mcp } from "@opencode/schema/mcp";
|
|
60
60
|
import { McpEvent } from "@opencode/schema/mcp-event";
|
|
@@ -104,21 +104,21 @@ var URL_ELICITATION_FIELD_KEY = "elicitation";
|
|
|
104
104
|
var endpointLoads = makeUnsafe2();
|
|
105
105
|
var cloneConfig = (config) => structuredClone(config);
|
|
106
106
|
|
|
107
|
-
class
|
|
107
|
+
class Service26 extends Context.Service()("@opencode/MCP") {
|
|
108
108
|
}
|
|
109
|
-
var
|
|
109
|
+
var Options2 = Schema.Struct({
|
|
110
110
|
clientInfo: Schema.optional(Schema.Struct({
|
|
111
111
|
name: Schema.String,
|
|
112
112
|
version: Schema.String
|
|
113
113
|
}))
|
|
114
114
|
});
|
|
115
|
-
var
|
|
116
|
-
const location = yield*
|
|
117
|
-
const environment = yield*
|
|
115
|
+
var layer13 = (options) => Layer.effect(Service26, Effect.gen(function* () {
|
|
116
|
+
const location = yield* Service80;
|
|
117
|
+
const environment = yield* Service59;
|
|
118
118
|
const bus = yield* Service86;
|
|
119
|
-
const forms = yield*
|
|
119
|
+
const forms = yield* Service78;
|
|
120
120
|
const integration = yield* Service77;
|
|
121
|
-
const credentials = yield*
|
|
121
|
+
const credentials = yield* Service79;
|
|
122
122
|
const root = yield* Effect.scope;
|
|
123
123
|
const fork = yield* FiberSet.makeRuntime();
|
|
124
124
|
const servers = yield* Scope.fork(root, "parallel");
|
|
@@ -133,7 +133,7 @@ var layer18 = (options) => Layer.effect(Service35, Effect.gen(function* () {
|
|
|
133
133
|
return;
|
|
134
134
|
const remote = entry.config;
|
|
135
135
|
const suffix = "mcp_" + createHash("sha1").update(name + "\x00" + remote.url).digest("hex").slice(0, 16);
|
|
136
|
-
const integrationID =
|
|
136
|
+
const integrationID = ID14.make(suffix);
|
|
137
137
|
entry.integrationID = integrationID;
|
|
138
138
|
owned.add(integrationID);
|
|
139
139
|
const methodID = MethodID2.make(suffix);
|
|
@@ -149,7 +149,7 @@ var layer18 = (options) => Layer.effect(Service35, Effect.gen(function* () {
|
|
|
149
149
|
method: { id: methodID, type: "oauth", label: name },
|
|
150
150
|
authorize: () => Effect.gen(function* () {
|
|
151
151
|
const { McpOAuth } = yield* Effect.promise(() => import("../mcp/oauth.js"));
|
|
152
|
-
return yield* McpOAuth.authorize({ name, config: remote, integrationID, methodID }).pipe(Effect.provideService(
|
|
152
|
+
return yield* McpOAuth.authorize({ name, config: remote, integrationID, methodID }).pipe(Effect.provideService(Service79, credentials));
|
|
153
153
|
})
|
|
154
154
|
});
|
|
155
155
|
}).pipe(Scope.provide(scope));
|
|
@@ -164,7 +164,7 @@ var layer18 = (options) => Layer.effect(Service35, Effect.gen(function* () {
|
|
|
164
164
|
if (entry.config.type !== "remote" || !entry.integrationID)
|
|
165
165
|
return;
|
|
166
166
|
const { McpOAuth } = yield* Effect.promise(() => import("../mcp/oauth.js"));
|
|
167
|
-
return yield* McpOAuth.connectProvider({ config: entry.config, integrationID: entry.integrationID }).pipe(Effect.provideService(
|
|
167
|
+
return yield* McpOAuth.connectProvider({ config: entry.config, integrationID: entry.integrationID }).pipe(Effect.provideService(Service79, credentials));
|
|
168
168
|
});
|
|
169
169
|
const elicitation = {
|
|
170
170
|
create: (input) => Effect.gen(function* () {
|
|
@@ -272,7 +272,7 @@ var layer18 = (options) => Layer.effect(Service35, Effect.gen(function* () {
|
|
|
272
272
|
entry.scope = scope;
|
|
273
273
|
const authProvider = yield* connectProvider(entry);
|
|
274
274
|
const { McpClient } = yield* Effect.promise(() => import("../mcp/client.js"));
|
|
275
|
-
const load = McpClient.connect(name, entry.config, location.directory, authProvider, elicitation, options?.clientInfo).pipe(Effect.flatMap((connection) => connection.tools().pipe(Effect.map((tools) => ({ connection, tools })))), Effect.provideService(
|
|
275
|
+
const load = McpClient.connect(name, entry.config, location.directory, authProvider, elicitation, options?.clientInfo).pipe(Effect.flatMap((connection) => connection.tools().pipe(Effect.map((tools) => ({ connection, tools })))), Effect.provideService(Service59, environment), Scope.provide(scope));
|
|
276
276
|
const result = yield* (entry.config.type === "remote" ? endpointLoads.withLock(entry.config.url)(load) : load).pipe(Effect.exit);
|
|
277
277
|
if (Exit.isSuccess(result)) {
|
|
278
278
|
entry.client = result.value.connection;
|
|
@@ -373,7 +373,7 @@ var layer18 = (options) => Layer.effect(Service35, Effect.gen(function* () {
|
|
|
373
373
|
let closed = false;
|
|
374
374
|
const result = yield* McpClient.connect(name, { type: "attached", transport }, location.directory, undefined, elicitation, options?.clientInfo).pipe(Effect.tap((connection) => Effect.sync(() => connection.onClose(() => {
|
|
375
375
|
closed = true;
|
|
376
|
-
}))), Effect.flatMap((connection) => connection.tools().pipe(Effect.map((tools) => ({ connection, tools })))), Effect.provideService(
|
|
376
|
+
}))), Effect.flatMap((connection) => connection.tools().pipe(Effect.map((tools) => ({ connection, tools })))), Effect.provideService(Service59, environment), Scope.provide(scope), Effect.onError(() => Scope.close(scope, Exit.void)), Effect.mapError((error) => error instanceof McpClient.ConnectError ? error : new McpClient.ConnectError({ server: name, message: error.message })));
|
|
377
377
|
const register = Effect.gen(function* () {
|
|
378
378
|
if (closed) {
|
|
379
379
|
yield* Scope.close(scope, Exit.void);
|
|
@@ -478,7 +478,7 @@ var layer18 = (options) => Layer.effect(Service35, Effect.gen(function* () {
|
|
|
478
478
|
}),
|
|
479
479
|
notify: () => reconcile2(root, fork, () => reconcileLock.withPermit(reconcile()))
|
|
480
480
|
});
|
|
481
|
-
return
|
|
481
|
+
return Service26.of({
|
|
482
482
|
transform: state.transform,
|
|
483
483
|
reload: state.reload,
|
|
484
484
|
servers: Effect.fn("MCP.servers")(function* () {
|
|
@@ -611,14 +611,14 @@ function mergeCatalogs(catalogs) {
|
|
|
611
611
|
templates: catalogs.flatMap((catalog) => catalog.templates).toSorted((a, b) => a.server.localeCompare(b.server) || a.name.localeCompare(b.name) || a.uriTemplate.localeCompare(b.uriTemplate))
|
|
612
612
|
});
|
|
613
613
|
}
|
|
614
|
-
function
|
|
614
|
+
function configured2(options) {
|
|
615
615
|
return makeLocationNode({
|
|
616
|
-
service:
|
|
617
|
-
layer:
|
|
618
|
-
deps: [
|
|
616
|
+
service: Service26,
|
|
617
|
+
layer: layer13(options),
|
|
618
|
+
deps: [node83, node61, node89, node81, node80, node82]
|
|
619
619
|
});
|
|
620
620
|
}
|
|
621
|
-
var
|
|
621
|
+
var node30 = configured2();
|
|
622
622
|
function toElicitationField(key, property, required) {
|
|
623
623
|
const machineTitle = /^(boolean|string|number|integer|array|object)(\s+with\b.*|\s+in\b.*)?$/i;
|
|
624
624
|
const title = property.title && !machineTitle.test(property.title.trim()) ? property.title : property.description ?? key;
|
|
@@ -669,4 +669,4 @@ function toElicitationField(key, property, required) {
|
|
|
669
669
|
}
|
|
670
670
|
}
|
|
671
671
|
|
|
672
|
-
export { ServerName2, PromptsChanged2, Status2, Resource2, ResourceTemplate2, ResourceCatalog2, ResourceContent2, NotFoundError3, ToolCallError2,
|
|
672
|
+
export { ServerName2, PromptsChanged2, Status2, Resource2, ResourceTemplate2, ResourceCatalog2, ResourceContent2, NotFoundError3, ToolCallError2, Service26, Options2, layer13, configured2, node30, exports_mcp4 };
|
|
@@ -1,18 +1,18 @@
|
|
|
1
1
|
import {
|
|
2
2
|
aisdk2
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./worktree-8wezqzag.js";
|
|
4
4
|
import {
|
|
5
5
|
VariantID2
|
|
6
|
-
} from "./
|
|
6
|
+
} from "./worktree-yj3d1z1y.js";
|
|
7
7
|
import {
|
|
8
8
|
__export
|
|
9
|
-
} from "./
|
|
9
|
+
} from "./worktree-9rqn6x4v.js";
|
|
10
10
|
|
|
11
11
|
// src/variant.ts
|
|
12
12
|
var exports_variant = {};
|
|
13
13
|
__export(exports_variant, {
|
|
14
14
|
Variant: () => exports_variant,
|
|
15
|
-
resolve: () =>
|
|
15
|
+
resolve: () => resolve4,
|
|
16
16
|
supports: () => supports2
|
|
17
17
|
});
|
|
18
18
|
function supports2(reasoning) {
|
|
@@ -24,7 +24,7 @@ function supports2(reasoning) {
|
|
|
24
24
|
...reasoning.budget ? [{ type: "budget_tokens", ...reasoning.budget }] : []
|
|
25
25
|
];
|
|
26
26
|
}
|
|
27
|
-
function
|
|
27
|
+
function resolve4(model, supports = [{ type: "effort" }]) {
|
|
28
28
|
const protocol = model.package === undefined ? undefined : PROTOCOLS[model.package];
|
|
29
29
|
if (!protocol)
|
|
30
30
|
return [];
|
|
@@ -584,4 +584,4 @@ var PROTOCOLS = {
|
|
|
584
584
|
[aisdk2("gitlab-ai-provider")]: gitlab
|
|
585
585
|
};
|
|
586
586
|
|
|
587
|
-
export { supports2,
|
|
587
|
+
export { supports2, resolve4, exports_variant };
|
|
@@ -1,15 +1,15 @@
|
|
|
1
1
|
import {
|
|
2
2
|
PositiveInt2
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./worktree-z5v4ffb3.js";
|
|
4
4
|
import {
|
|
5
5
|
__export
|
|
6
|
-
} from "./
|
|
6
|
+
} from "./worktree-9rqn6x4v.js";
|
|
7
7
|
|
|
8
8
|
// src/v1/config/provider.ts
|
|
9
9
|
var exports_provider2 = {};
|
|
10
10
|
__export(exports_provider2, {
|
|
11
11
|
ConfigProviderV1: () => exports_provider2,
|
|
12
|
-
Info: () =>
|
|
12
|
+
Info: () => Info12,
|
|
13
13
|
Model: () => Model2,
|
|
14
14
|
ModelStatus: () => ModelStatus2
|
|
15
15
|
});
|
|
@@ -61,7 +61,7 @@ var Model2 = Schema.Struct({
|
|
|
61
61
|
disabled: Schema.optional(Schema.Boolean).annotate({ description: "Disable this variant for the model" })
|
|
62
62
|
}), [Schema.Record(Schema.String, Schema.Any)])).annotate({ description: "Variant-specific configuration" }))
|
|
63
63
|
});
|
|
64
|
-
var
|
|
64
|
+
var Info12 = Schema.Struct({
|
|
65
65
|
api: Schema.optional(Schema.String),
|
|
66
66
|
name: Schema.optional(Schema.String),
|
|
67
67
|
env: Schema.optional(Schema.mutable(Schema.Array(Schema.String))),
|
|
@@ -91,4 +91,4 @@ var Info11 = Schema.Struct({
|
|
|
91
91
|
models: Schema.optional(Schema.Record(Schema.String, Model2))
|
|
92
92
|
}).annotate({ identifier: "ProviderConfig" });
|
|
93
93
|
|
|
94
|
-
export { ModelStatus2, Model2,
|
|
94
|
+
export { ModelStatus2, Model2, Info12, exports_provider2 };
|
|
@@ -1,10 +1,10 @@
|
|
|
1
1
|
import {
|
|
2
2
|
absoluteColumn2,
|
|
3
3
|
absoluteArrayColumn2
|
|
4
|
-
} from "./
|
|
4
|
+
} from "./worktree-wakvkjy4.js";
|
|
5
5
|
import {
|
|
6
6
|
Timestamps2
|
|
7
|
-
} from "./
|
|
7
|
+
} from "./worktree-qfa1cgps.js";
|
|
8
8
|
|
|
9
9
|
// src/project/sql.ts
|
|
10
10
|
import { isNotNull, isNull, ne, or } from "drizzle-orm";
|