@opencode/core 0.0.0-dev-21747 → 0.0.0-dev-21756
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 +81 -81
- package/dist/aisdk-native.js +91 -91
- package/dist/aisdk.js +97 -97
- package/dist/app.js +9 -9
- package/dist/bus.js +75 -75
- package/dist/chunks/websearch-00ve6mdn.js +18 -0
- package/dist/chunks/{location-service-map-034tev2y.js → websearch-034tev2y.js} +2 -2
- package/dist/chunks/{location-service-map-3mgb105e.js → websearch-0421tmwc.js} +9 -9
- package/dist/chunks/{location-service-map-8bbz0hfx.js → websearch-090ayew8.js} +19 -19
- package/dist/chunks/{location-service-map-89yw32r8.js → websearch-0hxcp4e6.js} +4 -4
- package/dist/chunks/{location-service-map-0bhrze2p.js → websearch-0jst9dmz.js} +26 -26
- package/dist/chunks/{location-service-map-nb5axcyq.js → websearch-0kajrgn5.js} +6 -6
- package/dist/chunks/{location-service-map-mx438yzb.js → websearch-0r7sceh0.js} +15 -15
- package/dist/chunks/{location-service-map-asregxpd.js → websearch-0ty15b8r.js} +13 -13
- package/dist/chunks/{location-service-map-1ep2p91f.js → websearch-1ep2p91f.js} +2 -2
- package/dist/chunks/{location-service-map-tdyhpgr0.js → websearch-1v0n44x7.js} +16 -16
- package/dist/chunks/websearch-1v3m6w2k.js +517 -0
- package/dist/chunks/{location-service-map-1x2knyw4.js → websearch-1x2knyw4.js} +1 -1
- package/dist/chunks/{location-service-map-s7kyse9r.js → websearch-1y0wdj51.js} +9 -9
- package/dist/chunks/{location-service-map-fytkpx2m.js → websearch-1yf62w26.js} +1 -1
- package/dist/chunks/{location-service-map-013vhq9d.js → websearch-26ye1a0h.js} +43 -43
- package/dist/chunks/{location-service-map-se2sj8va.js → websearch-2axrbrmc.js} +7 -7
- package/dist/chunks/{location-service-map-q2yrdpfv.js → websearch-2bcte980.js} +5 -5
- package/dist/chunks/{location-service-map-e4fwp3bx.js → websearch-2f6dwfym.js} +19 -19
- package/dist/chunks/{location-service-map-2meyg87m.js → websearch-2fkrhbg9.js} +23 -23
- package/dist/chunks/{location-service-map-2z1j29yd.js → websearch-2z1j29yd.js} +1 -1
- package/dist/chunks/{location-service-map-hw8460a0.js → websearch-35myeakn.js} +11 -11
- package/dist/chunks/{location-service-map-vgpm9ca5.js → websearch-35sav4w0.js} +22 -22
- package/dist/chunks/{location-service-map-xrpfz6f8.js → websearch-39kss88q.js} +9 -9
- package/dist/chunks/{location-service-map-3zrv9gmq.js → websearch-3aw6bcdd.js} +29 -29
- package/dist/chunks/{location-service-map-kjedcq3q.js → websearch-3bp5jjvw.js} +9 -9
- package/dist/chunks/{location-service-map-6281ma0y.js → websearch-3g41ey7s.js} +11 -11
- package/dist/chunks/{location-service-map-3hepkmqq.js → websearch-3hepkmqq.js} +1 -1
- package/dist/chunks/{location-service-map-3nnrz6f6.js → websearch-3nnrz6f6.js} +1 -1
- package/dist/chunks/{location-service-map-nch9as0x.js → websearch-3qn9w17a.js} +11 -11
- package/dist/chunks/{location-service-map-aw84gg2e.js → websearch-3rgj9tjs.js} +32 -32
- package/dist/chunks/{location-service-map-s9kc5ksh.js → websearch-3z074cxn.js} +7 -7
- package/dist/chunks/{location-service-map-w2eysc6j.js → websearch-40za9wsf.js} +9 -9
- package/dist/chunks/{location-service-map-2kagezbr.js → websearch-4a126rg5.js} +31 -31
- package/dist/chunks/{location-service-map-wksxchbw.js → websearch-4c9adx7x.js} +14 -14
- package/dist/chunks/{location-service-map-z35z7ez2.js → websearch-4hjg18t3.js} +4 -4
- package/dist/chunks/{location-service-map-n4vfsstt.js → websearch-4jv1qxwj.js} +9 -9
- package/dist/chunks/{location-service-map-g3s8w1rf.js → websearch-4p8v6gf7.js} +3 -3
- package/dist/chunks/{location-service-map-mrtxr4cp.js → websearch-4r4bnvcy.js} +4 -4
- package/dist/chunks/{location-service-map-x6qr1hyp.js → websearch-4snbakks.js} +4 -4
- package/dist/chunks/{location-service-map-4v008n1t.js → websearch-4v008n1t.js} +1 -1
- package/dist/chunks/{location-service-map-nr8jt6t8.js → websearch-4x7cszc9.js} +17 -17
- package/dist/chunks/{location-service-map-4xvmh7wp.js → websearch-4xvmh7wp.js} +3 -3
- package/dist/chunks/{location-service-map-qbkx5tms.js → websearch-53b428tw.js} +18 -18
- package/dist/chunks/{location-service-map-003kegp2.js → websearch-53xcczwb.js} +13 -13
- package/dist/chunks/{location-service-map-qmthnpq9.js → websearch-54mwpwnj.js} +42 -42
- package/dist/chunks/{location-service-map-40008bk8.js → websearch-584q6htd.js} +6 -6
- package/dist/chunks/{location-service-map-nt999nhx.js → websearch-5fjdabgp.js} +17 -17
- package/dist/chunks/{location-service-map-5m9w47nd.js → websearch-5m9w47nd.js} +1 -1
- package/dist/chunks/{location-service-map-355rvjhq.js → websearch-5mmnsyp9.js} +13 -13
- package/dist/chunks/{location-service-map-8bya8z2e.js → websearch-5pr32gd7.js} +48 -48
- package/dist/chunks/{location-service-map-e3qxr5gk.js → websearch-5qd3pb7m.js} +2 -2
- package/dist/chunks/{location-service-map-a7n5phyp.js → websearch-601m2pka.js} +32 -32
- package/dist/chunks/{location-service-map-90z9wy20.js → websearch-60ndzxv8.js} +37 -37
- package/dist/chunks/{location-service-map-0b9rhbpe.js → websearch-61m88qqz.js} +35 -35
- package/dist/chunks/{location-service-map-9zskf68x.js → websearch-67gksmdf.js} +35 -35
- package/dist/chunks/{location-service-map-t1ngx2fg.js → websearch-68k8pcn2.js} +22 -22
- package/dist/chunks/{location-service-map-9ec60z8p.js → websearch-6bqp8z2s.js} +18 -18
- package/dist/chunks/{location-service-map-7ddrbmq5.js → websearch-6dbnd2pd.js} +25 -25
- package/dist/chunks/{location-service-map-6esdw8yj.js → websearch-6esdw8yj.js} +1 -1
- package/dist/chunks/{location-service-map-1x6pf1gv.js → websearch-6jm1rnt9.js} +87 -87
- package/dist/chunks/{location-service-map-6pjqjmy2.js → websearch-6pjqjmy2.js} +1 -1
- package/dist/chunks/{location-service-map-d00ejkj2.js → websearch-6rg7kjpy.js} +22 -22
- package/dist/chunks/{location-service-map-smfcvx02.js → websearch-6twykydk.js} +9 -9
- package/dist/chunks/{location-service-map-0r6mtjdh.js → websearch-6zrr0fnw.js} +21 -21
- package/dist/chunks/{location-service-map-wk6xk37q.js → websearch-74m3x80w.js} +7 -7
- package/dist/chunks/{location-service-map-nah043kf.js → websearch-770pw0s1.js} +4 -4
- package/dist/chunks/{location-service-map-aecf60s0.js → websearch-77mes9hg.js} +13 -13
- package/dist/chunks/{location-service-map-7bmhse3q.js → websearch-7bmhse3q.js} +1 -1
- package/dist/chunks/{location-service-map-xzhqqqxc.js → websearch-7jz0dh2k.js} +19 -19
- package/dist/chunks/{location-service-map-1px3a2xb.js → websearch-7vftsjfj.js} +28 -28
- package/dist/chunks/{location-service-map-7w2ypzdf.js → websearch-7w2ypzdf.js} +1 -1
- package/dist/chunks/{location-service-map-bemj2y7b.js → websearch-85sv36r4.js} +36 -36
- package/dist/chunks/{location-service-map-qrscgvzd.js → websearch-876de6v3.js} +30 -30
- package/dist/chunks/{location-service-map-afmr3pea.js → websearch-8emm9fy9.js} +4 -4
- package/dist/chunks/{location-service-map-wm5nwgxs.js → websearch-8rf240hq.js} +9 -9
- package/dist/chunks/{location-service-map-0w2m92gv.js → websearch-8t9b736e.js} +19 -19
- package/dist/chunks/{location-service-map-8wtp7s3z.js → websearch-8wtp7s3z.js} +1 -1
- package/dist/chunks/{location-service-map-91rj84md.js → websearch-91rj84md.js} +1 -1
- package/dist/chunks/{location-service-map-998yhzzq.js → websearch-998yhzzq.js} +3 -3
- package/dist/chunks/{location-service-map-kvh9ftvy.js → websearch-99v8e8rn.js} +4 -4
- package/dist/chunks/{location-service-map-5rffwtjg.js → websearch-9hj5qrya.js} +25 -25
- package/dist/chunks/{location-service-map-50y1xsz1.js → websearch-9yt3qsdq.js} +40 -40
- package/dist/chunks/{location-service-map-a3en8ngd.js → websearch-a6959n1g.js} +10 -10
- package/dist/chunks/{location-service-map-8ykqf5wm.js → websearch-a7hcemwv.js} +11 -11
- package/dist/chunks/{location-service-map-2svr78gq.js → websearch-aamv54pf.js} +29 -29
- package/dist/chunks/{location-service-map-etsym5j7.js → websearch-adcxthm4.js} +36 -36
- package/dist/chunks/{location-service-map-6y263vp8.js → websearch-afmnpta1.js} +5 -5
- package/dist/chunks/{location-service-map-gah3njre.js → websearch-ahjrynj8.js} +16 -16
- package/dist/chunks/{location-service-map-p0tsr9h6.js → websearch-an558sqv.js} +4 -4
- package/dist/chunks/{location-service-map-ayjs7tqn.js → websearch-ayjs7tqn.js} +2 -2
- package/dist/chunks/{location-service-map-b0mv4wxm.js → websearch-b0mv4wxm.js} +2 -2
- package/dist/chunks/{location-service-map-y81cv5eb.js → websearch-b5yc11pg.js} +17 -17
- package/dist/chunks/{location-service-map-44sw466x.js → websearch-b65mwzbx.js} +26 -26
- package/dist/chunks/{location-service-map-qmx84djp.js → websearch-b6ft8j34.js} +9 -9
- package/dist/chunks/{location-service-map-5nnwax6m.js → websearch-b6vsg801.js} +5 -5
- package/dist/chunks/{location-service-map-5em4e5nr.js → websearch-b868c8d8.js} +39 -39
- package/dist/chunks/{location-service-map-gvcwdp68.js → websearch-b87x680z.js} +20 -20
- package/dist/chunks/{location-service-map-g431yjwv.js → websearch-bc0ymgk0.js} +50 -50
- package/dist/chunks/{location-service-map-9sz3mafc.js → websearch-befe4cf3.js} +4 -4
- package/dist/chunks/{location-service-map-bjhzkqyk.js → websearch-bjhzkqyk.js} +1 -1
- package/dist/chunks/{location-service-map-tx2wf29d.js → websearch-bn7kdvhq.js} +11 -11
- package/dist/chunks/{location-service-map-5g505q1a.js → websearch-bne87zw5.js} +27 -27
- package/dist/chunks/{location-service-map-bstexjd6.js → websearch-bstexjd6.js} +1 -1
- package/dist/chunks/{location-service-map-4ed14fdp.js → websearch-bxfrdttp.js} +27 -27
- package/dist/chunks/{location-service-map-e3ym3z1q.js → websearch-c3b0e464.js} +22 -22
- package/dist/chunks/{location-service-map-wdmx20pv.js → websearch-c3cfh5w6.js} +7 -7
- package/dist/chunks/{location-service-map-qrdfdxph.js → websearch-c6r66q4n.js} +5 -5
- package/dist/chunks/{location-service-map-rr7wf6ce.js → websearch-c9erfsw0.js} +49 -49
- package/dist/chunks/{location-service-map-139nr8yw.js → websearch-ceeb7cqk.js} +14 -14
- package/dist/chunks/{location-service-map-1yqqrz0x.js → websearch-cv8jg5mf.js} +11 -11
- package/dist/chunks/{location-service-map-rhdbdzx3.js → websearch-cz1vwcws.js} +2 -2
- package/dist/chunks/{location-service-map-h8vvdn21.js → websearch-czcebxpq.js} +70 -70
- package/dist/chunks/{location-service-map-1sme1v1k.js → websearch-d0ctn9ee.js} +24 -24
- package/dist/chunks/{location-service-map-4sp541mw.js → websearch-d1dxzg06.js} +2 -2
- package/dist/chunks/{location-service-map-d2887f8n.js → websearch-d2887f8n.js} +1 -1
- package/dist/chunks/{location-service-map-d4v9tmah.js → websearch-d4v9tmah.js} +2 -2
- package/dist/chunks/{location-service-map-ww12ck0g.js → websearch-d7qtxm9r.js} +20 -20
- package/dist/chunks/{location-service-map-n0fgk9jt.js → websearch-da9th9a0.js} +24 -24
- package/dist/chunks/{location-service-map-0pnxwcyc.js → websearch-ddj2qmc2.js} +10 -10
- package/dist/chunks/{location-service-map-t72mevzp.js → websearch-dhww0s6x.js} +1 -1
- package/dist/chunks/{location-service-map-9abkctgc.js → websearch-dkcjkp08.js} +6 -6
- package/dist/chunks/{location-service-map-vgw3dfza.js → websearch-dmk8nbcm.js} +11 -11
- package/dist/chunks/{location-service-map-yg0c2r26.js → websearch-dswfp19d.js} +3 -3
- package/dist/chunks/{location-service-map-zpzb2he9.js → websearch-e14ep8c2.js} +8 -8
- package/dist/chunks/{location-service-map-dh7axqeh.js → websearch-e1g8z5n0.js} +16 -16
- package/dist/chunks/{location-service-map-6zr8wwz2.js → websearch-e4k6zsy1.js} +47 -47
- package/dist/chunks/{location-service-map-e834z07m.js → websearch-e834z07m.js} +1 -1
- package/dist/chunks/{location-service-map-2g2v5pv8.js → websearch-eb0nfaz4.js} +11 -11
- package/dist/chunks/{location-service-map-ef5x83kb.js → websearch-ef5x83kb.js} +1 -1
- package/dist/chunks/{location-service-map-gw690m90.js → websearch-efz7hhzt.js} +10 -10
- package/dist/chunks/{location-service-map-ejmz6kkm.js → websearch-ejgxm2nm.js} +19 -19
- package/dist/chunks/{location-service-map-m37sd98t.js → websearch-eqmd2tfz.js} +7 -7
- package/dist/chunks/{location-service-map-m4n0g2r5.js → websearch-eraf7cqm.js} +35 -35
- package/dist/chunks/{location-service-map-g3j8z5p4.js → websearch-etj7xr5r.js} +29 -29
- package/dist/chunks/{location-service-map-15x7rp3m.js → websearch-ezdmt8g7.js} +5 -5
- package/dist/chunks/{location-service-map-kb5qgkwh.js → websearch-ezejdjmf.js} +10 -10
- package/dist/chunks/{location-service-map-fffv3p7h.js → websearch-fffv3p7h.js} +1 -1
- package/dist/chunks/{location-service-map-4etbn6tz.js → websearch-fmnjzv27.js} +5 -5
- package/dist/chunks/{location-service-map-aedgfdwr.js → websearch-fq91yvwf.js} +17 -17
- package/dist/chunks/{location-service-map-t1xvrdec.js → websearch-fv6att8a.js} +14 -14
- package/dist/chunks/{location-service-map-9b28cy4d.js → websearch-fvc4bqe2.js} +5 -5
- package/dist/chunks/{location-service-map-wa35tw6v.js → websearch-fz7prppb.js} +17 -17
- package/dist/chunks/{location-service-map-wr3re1en.js → websearch-fznmdakp.js} +4 -4
- package/dist/chunks/{location-service-map-27jee16v.js → websearch-g4fsskpn.js} +27 -27
- package/dist/chunks/{location-service-map-g5h9c0rr.js → websearch-g5h9c0rr.js} +2 -2
- package/dist/chunks/{location-service-map-qbmvg479.js → websearch-g6wnqzhb.js} +22 -22
- package/dist/chunks/{location-service-map-jypar2fs.js → websearch-ga92ybw9.js} +8 -8
- package/dist/chunks/websearch-gecnmrws.js +26 -0
- package/dist/chunks/{location-service-map-bhsvbham.js → websearch-gjw9pjem.js} +18 -18
- package/dist/chunks/{location-service-map-f6a8s9j6.js → websearch-gnk1ngs3.js} +18 -18
- package/dist/chunks/{location-service-map-5p1db6qh.js → websearch-gnqtsnxp.js} +24 -24
- package/dist/chunks/{location-service-map-582e04r8.js → websearch-gyz3azbf.js} +16 -16
- package/dist/chunks/{location-service-map-zhq0k9nq.js → websearch-hch4wa3n.js} +4 -4
- package/dist/chunks/{location-service-map-j71y8rmy.js → websearch-hswty8r3.js} +25 -25
- package/dist/chunks/{location-service-map-zg5bfpcj.js → websearch-hvwvq3df.js} +8 -8
- package/dist/chunks/{location-service-map-sdmn02p2.js → websearch-hwyh2kpq.js} +11 -11
- package/dist/chunks/{location-service-map-ra6js1h8.js → websearch-hy8c1z76.js} +8 -8
- package/dist/chunks/{location-service-map-8n9x2wf6.js → websearch-hzrfc1p4.js} +2 -2
- package/dist/chunks/{location-service-map-j113cymg.js → websearch-j113cymg.js} +1 -1
- package/dist/chunks/{location-service-map-kz6h04bd.js → websearch-j6a70pje.js} +50 -50
- package/dist/chunks/{location-service-map-hpyhs3fr.js → websearch-j82mhg5v.js} +13 -13
- package/dist/chunks/{location-service-map-jchrqzf6.js → websearch-jneg3k74.js} +4 -4
- package/dist/chunks/{location-service-map-k814nvkf.js → websearch-k814nvkf.js} +1 -1
- package/dist/chunks/{location-service-map-w059c7vr.js → websearch-kb4gstwj.js} +5 -5
- package/dist/chunks/{location-service-map-g6wjc1x4.js → websearch-kbjsyctr.js} +32 -32
- package/dist/chunks/{location-service-map-eayp7z6c.js → websearch-kndc5src.js} +3 -3
- package/dist/chunks/{location-service-map-188drt2q.js → websearch-kp0e8qdv.js} +20 -20
- package/dist/chunks/{location-service-map-m1714858.js → websearch-m1714858.js} +1 -1
- package/dist/chunks/{location-service-map-388njdkr.js → websearch-m8gc8z80.js} +21 -21
- package/dist/chunks/{location-service-map-m9w0rfyh.js → websearch-m9w0rfyh.js} +1 -1
- package/dist/chunks/{location-service-map-maspj1v3.js → websearch-maspj1v3.js} +1 -1
- package/dist/chunks/{location-service-map-sc9zg7jb.js → websearch-mfwfc967.js} +12 -12
- package/dist/chunks/{location-service-map-n5ec28k5.js → websearch-mjxc5aj5.js} +52 -52
- package/dist/chunks/{location-service-map-jq5wkjk8.js → websearch-mmqtdvrn.js} +4 -4
- package/dist/chunks/{location-service-map-86yd8n6t.js → websearch-mptby4ra.js} +48 -48
- package/dist/chunks/websearch-ms1v96r1.js +257 -0
- package/dist/chunks/{location-service-map-0vx028ky.js → websearch-mt3ysty9.js} +6 -6
- package/dist/chunks/{location-service-map-3f8v07ch.js → websearch-mvx17366.js} +11 -11
- package/dist/chunks/{location-service-map-7fts76r7.js → websearch-mzw1ndaz.js} +82 -82
- package/dist/chunks/{location-service-map-n0p0277s.js → websearch-n0p0277s.js} +1 -1
- package/dist/chunks/{location-service-map-nzm9dq78.js → websearch-n7hthk3p.js} +22 -22
- package/dist/chunks/{location-service-map-j49x6kf4.js → websearch-n7wnam13.js} +8 -8
- package/dist/chunks/{location-service-map-q9s78g4e.js → websearch-nbv85aqk.js} +21 -21
- package/dist/chunks/{location-service-map-2hp83xyv.js → websearch-negnaxrt.js} +18 -18
- package/dist/chunks/{location-service-map-vzb2t1dt.js → websearch-neyf1ckr.js} +15 -15
- package/dist/chunks/{location-service-map-dqmnshvt.js → websearch-nq3mvejp.js} +13 -13
- package/dist/chunks/{location-service-map-j13zswh9.js → websearch-nqaab5fx.js} +8 -8
- package/dist/chunks/{location-service-map-t8qws3g8.js → websearch-nzcs0wzz.js} +12 -12
- package/dist/chunks/{location-service-map-p015t6z3.js → websearch-p015t6z3.js} +2 -2
- package/dist/chunks/{location-service-map-v9ez2kgh.js → websearch-p7vhpwh8.js} +5 -5
- package/dist/chunks/{location-service-map-4fde41kk.js → websearch-pbjsg7m1.js} +16 -16
- package/dist/chunks/{location-service-map-8bc2ahr8.js → websearch-pc1v25hk.js} +3 -3
- package/dist/chunks/{location-service-map-r4qf8hg2.js → websearch-pd0633z0.js} +31 -31
- package/dist/chunks/{location-service-map-dsd5z2sr.js → websearch-pk0v2zct.js} +23 -23
- package/dist/chunks/{location-service-map-pknna89w.js → websearch-pknna89w.js} +1 -1
- package/dist/chunks/{location-service-map-dkdbv7e2.js → websearch-pv4tdx85.js} +8 -8
- package/dist/chunks/{location-service-map-sq86wmmj.js → websearch-pvn3retk.js} +17 -17
- package/dist/chunks/{location-service-map-nj07n8jc.js → websearch-pyg2ad4d.js} +58 -58
- package/dist/chunks/{location-service-map-3xbacp9g.js → websearch-q3bgpfy7.js} +14 -14
- package/dist/chunks/{location-service-map-na462m5h.js → websearch-q3vt6pnc.js} +20 -20
- package/dist/chunks/{location-service-map-ffxnyj3q.js → websearch-q5ksxkha.js} +6 -6
- package/dist/chunks/{location-service-map-p9jvgf3w.js → websearch-q6bn7qw5.js} +6 -6
- package/dist/chunks/{location-service-map-yccdn1y1.js → websearch-qcf9sep0.js} +7 -7
- package/dist/chunks/{location-service-map-4c2w6q79.js → websearch-qfw0te7b.js} +15 -15
- package/dist/chunks/{location-service-map-a2x4jk9y.js → websearch-qhsybjre.js} +14 -14
- package/dist/chunks/{location-service-map-qjgzc4b4.js → websearch-qjgzc4b4.js} +1 -1
- package/dist/chunks/{location-service-map-yb48csac.js → websearch-qtmq7hg9.js} +49 -49
- package/dist/chunks/{location-service-map-zqp8ase3.js → websearch-qvswfh9d.js} +27 -27
- package/dist/chunks/{location-service-map-pmy4yzzf.js → websearch-qyrktak0.js} +32 -32
- package/dist/chunks/{location-service-map-r0yr0wbs.js → websearch-r0yr0wbs.js} +1 -1
- package/dist/chunks/{location-service-map-j43965rx.js → websearch-r5q4n18f.js} +9 -9
- package/dist/chunks/{location-service-map-rb9dy4dg.js → websearch-rb9dy4dg.js} +1 -1
- package/dist/chunks/{location-service-map-r8bgrvjg.js → websearch-rjbe0a9e.js} +12 -12
- package/dist/chunks/{location-service-map-f0k0jrg1.js → websearch-rsdttbp5.js} +19 -19
- package/dist/chunks/{location-service-map-rt5dr6hb.js → websearch-rt5dr6hb.js} +1 -1
- package/dist/chunks/{location-service-map-v2eqhgdw.js → websearch-rv7ddw0n.js} +24 -24
- package/dist/chunks/{location-service-map-y2s0ta7g.js → websearch-rwf9r3m0.js} +23 -23
- package/dist/chunks/{location-service-map-a5g15581.js → websearch-rxrz6b15.js} +2 -2
- package/dist/chunks/{location-service-map-w9dsj9zn.js → websearch-sc8entjg.js} +9 -9
- package/dist/chunks/{location-service-map-53x1cw92.js → websearch-sepw9312.js} +9 -9
- package/dist/chunks/{location-service-map-8z0nn26j.js → websearch-sf4dycwn.js} +9 -9
- package/dist/chunks/{location-service-map-5e15319b.js → websearch-sfkj0ta1.js} +5 -5
- package/dist/chunks/{location-service-map-fgn5d73r.js → websearch-shnwrs1k.js} +30 -30
- package/dist/chunks/{location-service-map-m428dt5q.js → websearch-shvrd9z9.js} +26 -26
- package/dist/chunks/{location-service-map-sqjzf8x2.js → websearch-sqjzf8x2.js} +1 -1
- package/dist/chunks/{location-service-map-9ef8rrka.js → websearch-sy9xwmw1.js} +8 -8
- package/dist/chunks/{location-service-map-vmztxwx7.js → websearch-syvntbhr.js} +22 -22
- package/dist/chunks/{location-service-map-v4sey8dh.js → websearch-t0h12fke.js} +14 -14
- package/dist/chunks/{location-service-map-ahke7ec0.js → websearch-t2c8c6tj.js} +20 -20
- package/dist/chunks/{location-service-map-tczq8hjw.js → websearch-tczq8hjw.js} +1 -1
- package/dist/chunks/{location-service-map-6xjs6dtv.js → websearch-tdpgt7wh.js} +18 -18
- package/dist/chunks/{location-service-map-p2426226.js → websearch-tez9md4y.js} +3 -3
- package/dist/chunks/{location-service-map-zwfqh4cf.js → websearch-tgsxr5er.js} +21 -21
- package/dist/chunks/{location-service-map-r35n27g2.js → websearch-tn5rj4h4.js} +22 -22
- package/dist/chunks/{location-service-map-dkq45v8d.js → websearch-tnqzh63d.js} +8 -8
- package/dist/chunks/{location-service-map-tw8zr1ps.js → websearch-tw8zr1ps.js} +1 -1
- package/dist/chunks/{location-service-map-twv2r8f4.js → websearch-twv2r8f4.js} +2 -2
- package/dist/chunks/{location-service-map-yexkrg4y.js → websearch-v2aqy3r9.js} +11 -11
- package/dist/chunks/{location-service-map-v2r1d0zg.js → websearch-v2r1d0zg.js} +1 -1
- package/dist/chunks/{location-service-map-e63tw6zr.js → websearch-vbymnfc5.js} +14 -14
- package/dist/chunks/{location-service-map-vd3b3yk9.js → websearch-vd3b3yk9.js} +1 -1
- package/dist/chunks/{location-service-map-ppr22hv7.js → websearch-ve5gzmd5.js} +1 -1
- package/dist/chunks/{location-service-map-veqvce7d.js → websearch-veqvce7d.js} +1 -1
- package/dist/chunks/{location-service-map-r8fhaa0s.js → websearch-vgr3c4a7.js} +12 -12
- package/dist/chunks/{location-service-map-0z1tt7er.js → websearch-vnmgdpj6.js} +5 -5
- package/dist/chunks/{location-service-map-1ak811wc.js → websearch-vnntc3sm.js} +38 -38
- package/dist/chunks/{location-service-map-z9r2qbyv.js → websearch-vq142dc8.js} +10 -10
- package/dist/chunks/{location-service-map-mzrvsmc2.js → websearch-vs6d5gmb.js} +4 -4
- package/dist/chunks/{location-service-map-y736c7qs.js → websearch-vy9rjjkt.js} +18 -18
- package/dist/chunks/{location-service-map-fvvfx1zv.js → websearch-vz1a888q.js} +185 -185
- package/dist/chunks/{location-service-map-w3wsvvr9.js → websearch-w3wsvvr9.js} +1 -1
- package/dist/chunks/{location-service-map-76cb1hcw.js → websearch-w8qtt4th.js} +4 -4
- package/dist/chunks/{location-service-map-zknj5k26.js → websearch-w9gfj7y9.js} +29 -29
- package/dist/chunks/{location-service-map-wakvkjy4.js → websearch-wakvkjy4.js} +1 -1
- package/dist/chunks/{location-service-map-wd87259q.js → websearch-wd87259q.js} +1 -1
- package/dist/chunks/{location-service-map-ctz1338s.js → websearch-wfewkgqg.js} +40 -40
- package/dist/chunks/{location-service-map-p0cbjzex.js → websearch-wkpxpnd1.js} +32 -32
- package/dist/chunks/{location-service-map-b0bkrffq.js → websearch-xazjtzbh.js} +15 -15
- package/dist/chunks/{location-service-map-w8j8mkqh.js → websearch-xfbpcgb3.js} +25 -25
- package/dist/chunks/{location-service-map-5vh4rcr3.js → websearch-xqqxjzgs.js} +18 -18
- package/dist/chunks/{location-service-map-7bg5w1mh.js → websearch-xrc3640n.js} +8 -8
- package/dist/chunks/{location-service-map-d00p4xa9.js → websearch-y22e2amb.js} +18 -18
- package/dist/chunks/{location-service-map-drtqd3vk.js → websearch-y4kbxhdq.js} +8 -8
- package/dist/chunks/{location-service-map-3mjk875x.js → websearch-y605yc6m.js} +30 -30
- package/dist/chunks/{location-service-map-yb20nhc3.js → websearch-yb20nhc3.js} +1 -1
- package/dist/chunks/{location-service-map-bd45fzh3.js → websearch-yg7ytxzr.js} +6 -6
- package/dist/chunks/{location-service-map-q6s5gc9a.js → websearch-ygqqsqxe.js} +3 -3
- package/dist/chunks/{location-service-map-tn28sp3a.js → websearch-yhta6zhb.js} +14 -14
- package/dist/chunks/{location-service-map-zdat2xwq.js → websearch-yydqqga9.js} +4 -4
- package/dist/chunks/{location-service-map-z0bkrqjs.js → websearch-z0bkrqjs.js} +1 -1
- package/dist/chunks/{location-service-map-z38nccrw.js → websearch-z38nccrw.js} +1 -1
- package/dist/chunks/{location-service-map-d9x798yd.js → websearch-z41z05dk.js} +6 -6
- package/dist/chunks/{location-service-map-3twxkf78.js → websearch-z7w4m9jf.js} +45 -45
- package/dist/chunks/{location-service-map-zkg84ctx.js → websearch-zkg84ctx.js} +1 -1
- package/dist/chunks/{location-service-map-dk5xnaxx.js → websearch-zkgq49d1.js} +4 -4
- package/dist/chunks/{location-service-map-4xvztgkr.js → websearch-zpe8k49a.js} +11 -11
- package/dist/chunks/{location-service-map-txs0e95y.js → websearch-zsgey489.js} +5 -5
- package/dist/chunks/{location-service-map-h0rg6s60.js → websearch-ztf6n3de.js} +4 -4
- package/dist/chunks/{location-service-map-4pxnxcp5.js → websearch-zxxqm14y.js} +14 -14
- package/dist/chunks/{location-service-map-e6b8fvx8.js → websearch-zzfxyc91.js} +23 -23
- package/dist/chunks/{location-service-map-6ga3t03x.js → websearch-zzhs96fs.js} +15 -15
- package/dist/codemode/catalog.js +1 -1
- package/dist/codemode/instructions.js +11 -11
- package/dist/codemode/tool.js +3 -3
- package/dist/codemode/web.js +1 -1
- package/dist/command.js +85 -85
- package/dist/config/discovery.js +86 -86
- package/dist/config/markdown.js +1 -1
- package/dist/config/normalize.js +101 -101
- package/dist/config/plugin/agent.js +118 -118
- package/dist/config/plugin/command.js +214 -214
- package/dist/config/plugin/compaction.js +155 -155
- package/dist/config/plugin/compatibility.js +135 -135
- package/dist/config/plugin/entry-observer.js +1 -1
- package/dist/config/plugin/formatter.js +117 -117
- package/dist/config/plugin/image.js +116 -116
- package/dist/config/plugin/instruction.js +116 -116
- package/dist/config/plugin/location-watcher.js +116 -116
- package/dist/config/plugin/mcp.js +125 -125
- package/dist/config/plugin/policy.js +117 -117
- package/dist/config/plugin/provider.js +116 -116
- package/dist/config/plugin/reference.js +118 -118
- package/dist/config/plugin/shell.js +118 -118
- package/dist/config/plugin/skill-file.js +104 -104
- package/dist/config/plugin/skill-scan.js +3 -3
- package/dist/config/plugin/skill.js +138 -138
- package/dist/config/plugin/snapshot.js +116 -116
- package/dist/config/plugin/source.js +119 -119
- package/dist/config/plugin/tool-output.js +117 -117
- package/dist/config/plugin/websearch.js +117 -117
- package/dist/config/plugin/worktree.js +118 -118
- package/dist/config/variable.js +1 -1
- package/dist/config/watch.js +1 -1
- package/dist/config.js +119 -119
- package/dist/credential/sql.js +2 -2
- package/dist/credential.js +83 -83
- package/dist/database/database.js +68 -68
- package/dist/database/drizzle/effect-sqlite/driver.js +12 -12
- package/dist/database/drizzle/effect-sqlite/index.js +12 -12
- package/dist/database/drizzle/effect-sqlite/session.js +11 -11
- package/dist/database/drizzle/index.js +13 -13
- package/dist/database/drizzle/internal/drizzle-utils.js +1 -1
- package/dist/database/drizzle/sqlite-core/effect/count.js +1 -1
- package/dist/database/drizzle/sqlite-core/effect/db.js +9 -9
- package/dist/database/drizzle/sqlite-core/effect/delete.js +2 -2
- package/dist/database/drizzle/sqlite-core/effect/index.js +10 -10
- package/dist/database/drizzle/sqlite-core/effect/insert.js +2 -2
- package/dist/database/drizzle/sqlite-core/effect/query.js +1 -1
- package/dist/database/drizzle/sqlite-core/effect/raw.js +1 -1
- package/dist/database/drizzle/sqlite-core/effect/select.js +2 -2
- package/dist/database/drizzle/sqlite-core/effect/session.js +10 -10
- package/dist/database/drizzle/sqlite-core/effect/update.js +2 -2
- package/dist/database/drizzle.js +14 -14
- package/dist/database/migration/20260127222353_familiar_lady_ursula.js +1 -1
- package/dist/database/migration/20260211171708_add_project_commands.js +1 -1
- package/dist/database/migration/20260213144116_wakeful_the_professor.js +1 -1
- package/dist/database/migration/20260225215848_workspace.js +1 -1
- package/dist/database/migration/20260227213759_add_session_workspace_id.js +1 -1
- package/dist/database/migration/20260228203230_blue_harpoon.js +1 -1
- package/dist/database/migration/20260303231226_add_workspace_fields.js +1 -1
- package/dist/database/migration/20260309230000_move_org_to_state.js +1 -1
- package/dist/database/migration/20260312043431_session_message_cursor.js +1 -1
- package/dist/database/migration/20260323234822_events.js +1 -1
- package/dist/database/migration/20260410174513_workspace-name.js +1 -1
- package/dist/database/migration/20260413175956_chief_energizer.js +1 -1
- package/dist/database/migration/20260423070820_add_icon_url_override.js +1 -1
- package/dist/database/migration/20260427172553_slow_nightmare.js +1 -1
- package/dist/database/migration/20260428004200_add_session_path.js +1 -1
- package/dist/database/migration/20260501142318_next_venus.js +1 -1
- package/dist/database/migration/20260504145000_add_sync_owner.js +1 -1
- package/dist/database/migration/20260507164347_add_workspace_time.js +1 -1
- package/dist/database/migration/20260510033149_session_usage.js +1 -1
- package/dist/database/migration/20260511000411_data_migration_state.js +1 -1
- package/dist/database/migration/20260511173437_session-metadata.js +1 -1
- package/dist/database/migration/20260601010001_normalize_storage_paths.js +1 -1
- package/dist/database/migration/20260601202201_amazing_prowler.js +1 -1
- package/dist/database/migration/20260602002951_lowly_union_jack.js +1 -1
- package/dist/database/migration/20260602182828_add_project_directories.js +1 -1
- package/dist/database/migration/20260603001617_session_message_projection_indexes.js +1 -1
- package/dist/database/migration/20260603040000_session_message_projection_order.js +1 -1
- package/dist/database/migration/20260603141458_session_input_inbox.js +1 -1
- package/dist/database/migration/20260603160727_jittery_ezekiel_stane.js +1 -1
- package/dist/database/migration/20260604172448_event_sourced_session_input.js +1 -1
- package/dist/database/migration/20260605003541_add_session_context_snapshot.js +1 -1
- package/dist/database/migration/20260605042240_add_context_epoch_agent.js +1 -1
- package/dist/database/migration/20260611035744_credential.js +1 -1
- package/dist/database/migration/20260611192811_lush_chimera.js +1 -1
- package/dist/database/migration/20260612174303_project_dir_strategy.js +1 -1
- package/dist/database/migration/20260622142730_simplify_session_context_epoch.js +1 -1
- package/dist/database/migration/20260622170816_reset_v2_session_state.js +1 -1
- package/dist/database/migration/20260622202450_simplify_session_input.js +1 -1
- package/dist/database/migration/20260804233008_loose_psylocke.js +1 -1
- package/dist/database/migration/20260805200742_import_legacy_credentials.js +1 -1
- package/dist/database/migration/20260808023530_workspace_domain.js +1 -1
- package/dist/database/migration/20260811161259_execution_claim_attempts.js +1 -1
- package/dist/database/migration/20260812181746_session_inbox.js +1 -1
- package/dist/database/migration/20260812213948_worktree.js +1 -1
- package/dist/database/migration/20260819222447_session_viewed_state.js +1 -1
- package/dist/database/migration/20260823191254_nullable_workspace_binding.js +1 -1
- package/dist/database/migration/20260910120000_clear_v1_session_permission.js +1 -1
- package/dist/database/migration/20260923013825_project_time_active.js +1 -1
- package/dist/database/migration/20261007190000_azure_cli_external_credential.js +1 -1
- package/dist/database/migration/20261010180456_project_time_archived.js +1 -1
- package/dist/database/migration.gen.js +51 -51
- package/dist/database/migration.js +53 -53
- package/dist/database/path.js +2 -2
- package/dist/database/schema.gen.js +1 -1
- package/dist/database/schema.sql.js +1 -1
- package/dist/database/sqlite.bun.js +1 -1
- package/dist/database/sqlite.js +1 -1
- package/dist/database/sqlite.node.js +1 -1
- package/dist/database/sqlite.workerd.js +1 -1
- package/dist/database/v1-migration.bun.js +94 -94
- package/dist/database/v1-migration.js +1 -1
- package/dist/effect/app-node-builder.js +370 -370
- package/dist/effect/app-node-platform.js +2 -2
- package/dist/effect/keyed-mutex.js +1 -1
- package/dist/effect/websocket-constructor.js +1 -1
- package/dist/environment/driver.js +1 -1
- package/dist/environment/environment.js +95 -95
- package/dist/environment/exec-defaults.js +2 -2
- package/dist/environment/files.js +1 -1
- package/dist/environment/index.js +97 -97
- package/dist/environment/local.js +2 -2
- package/dist/environment/memory.js +2 -2
- package/dist/environment/unavailable.js +3 -3
- package/dist/event/sql.js +1 -1
- package/dist/event-logger.js +76 -76
- package/dist/file-access.js +106 -106
- package/dist/file-mutation.js +96 -96
- package/dist/file-retention.js +1 -1
- package/dist/filesystem/fff.bun.js +2 -2
- package/dist/filesystem/fff.js +1 -1
- package/dist/filesystem/fff.node.js +2 -2
- package/dist/filesystem/fff.workerd.js +2 -2
- package/dist/filesystem/location-watcher-policy.js +6 -6
- package/dist/filesystem/location-watcher.js +225 -225
- package/dist/filesystem/protected.js +3 -3
- package/dist/filesystem/search.js +101 -101
- package/dist/filesystem/watcher-binding.js +3 -3
- package/dist/filesystem/watcher.js +9 -9
- package/dist/filesystem.js +106 -106
- package/dist/form.js +82 -82
- package/dist/formatter/builtins.js +4 -4
- package/dist/formatter.js +89 -89
- package/dist/generate.js +109 -109
- package/dist/git.js +10 -10
- package/dist/github-copilot/chat/convert-to-openai-compatible-chat-messages.js +1 -1
- package/dist/github-copilot/chat/get-response-metadata.js +1 -1
- package/dist/github-copilot/chat/map-openai-compatible-finish-reason.js +1 -1
- package/dist/github-copilot/chat/openai-compatible-chat-language-model.js +7 -7
- package/dist/github-copilot/chat/openai-compatible-chat-options.js +1 -1
- package/dist/github-copilot/chat/openai-compatible-prepare-tools.js +1 -1
- package/dist/github-copilot/copilot-provider.js +17 -17
- package/dist/github-copilot/models.js +101 -101
- package/dist/github-copilot/openai-compatible-error.js +1 -1
- package/dist/github-copilot/responses/convert-to-openai-responses-input.js +1 -1
- package/dist/github-copilot/responses/map-openai-responses-finish-reason.js +1 -1
- package/dist/github-copilot/responses/openai-error.js +1 -1
- package/dist/github-copilot/responses/openai-responses-language-model.js +10 -10
- package/dist/github-copilot/responses/openai-responses-prepare-tools.js +6 -6
- package/dist/github-copilot/responses/tool/code-interpreter.js +1 -1
- package/dist/github-copilot/responses/tool/file-search.js +1 -1
- package/dist/github-copilot/responses/tool/image-generation.js +1 -1
- package/dist/github-copilot/responses/tool/web-search-preview.js +1 -1
- package/dist/github-copilot/responses/tool/web-search.js +1 -1
- package/dist/image/photon.js +2 -2
- package/dist/image.js +6 -6
- package/dist/instance/service.js +5 -5
- package/dist/instance.js +361 -361
- package/dist/instruction-discovery.js +86 -86
- package/dist/instructions/builtins.js +89 -89
- package/dist/instructions/index.js +3 -3
- package/dist/integration/connection.js +1 -1
- package/dist/integration.js +87 -87
- package/dist/job.js +78 -78
- package/dist/kv/sql.js +2 -2
- package/dist/kv.js +75 -75
- package/dist/location-activity.js +159 -159
- package/dist/location-lifecycle.js +109 -109
- package/dist/location-service-map.js +88 -88
- package/dist/location-services.js +358 -358
- package/dist/location.js +87 -87
- package/dist/managed-policy.js +8 -8
- package/dist/mcp/client.js +93 -93
- package/dist/mcp/index.js +109 -109
- package/dist/mcp/instructions.js +140 -140
- package/dist/mcp/oauth.js +80 -80
- package/dist/mcp/socket-client.js +1 -1
- package/dist/mcp/stdio.js +92 -92
- package/dist/mime.js +1 -1
- package/dist/modal/models.js +101 -101
- package/dist/model-resolver.js +101 -101
- package/dist/model-retry.js +1 -1
- package/dist/model.js +100 -100
- package/dist/models-dev.js +109 -109
- 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 +113 -113
- package/dist/persistent-pty/binary.bun.js +1 -1
- package/dist/persistent-pty/daemon.js +1 -1
- package/dist/persistent-pty/index.js +90 -90
- package/dist/persistent-pty/pty-binding.js +1 -1
- package/dist/persistent-pty.js +77 -77
- package/dist/plugin/agent.js +78 -78
- package/dist/plugin/command.js +104 -104
- package/dist/plugin/hooks.js +5 -5
- package/dist/plugin/host.js +218 -218
- package/dist/plugin/identity.js +3 -3
- package/dist/plugin/instance.js +5 -5
- package/dist/plugin/internal.js +332 -332
- package/dist/plugin/mcp-codemode-defaults.js +3 -3
- package/dist/plugin/models-dev.js +98 -98
- package/dist/plugin/module.js +117 -117
- package/dist/plugin/optimize.js +4 -4
- package/dist/plugin/plan.js +104 -104
- package/dist/plugin/promise.js +1 -1
- package/dist/plugin/provider/amazon-bedrock.js +92 -92
- package/dist/plugin/provider/azure.js +116 -116
- package/dist/plugin/provider/cerebras.js +1 -1
- package/dist/plugin/provider/chatgpt.js +116 -116
- package/dist/plugin/provider/cloudflare-ai-gateway.js +113 -113
- package/dist/plugin/provider/cloudflare-workers-ai.js +113 -113
- package/dist/plugin/provider/cohere.js +2 -2
- package/dist/plugin/provider/configured.js +112 -112
- package/dist/plugin/provider/databricks.js +1 -1
- package/dist/plugin/provider/digitalocean.js +95 -95
- package/dist/plugin/provider/dynamic.js +2 -2
- package/dist/plugin/provider/factory.js +1 -1
- package/dist/plugin/provider/github-copilot.js +97 -97
- package/dist/plugin/provider/gitlab.js +95 -95
- package/dist/plugin/provider/google-vertex.js +113 -113
- package/dist/plugin/provider/kilo.js +1 -1
- package/dist/plugin/provider/llmgateway.js +80 -80
- package/dist/plugin/provider/lmstudio.js +125 -125
- package/dist/plugin/provider/local.js +122 -122
- package/dist/plugin/provider/modal.js +94 -94
- package/dist/plugin/provider/neon.js +1 -1
- package/dist/plugin/provider/nvidia.js +1 -1
- package/dist/plugin/provider/ollama.js +123 -123
- package/dist/plugin/provider/openai-context-caps.js +92 -92
- package/dist/plugin/provider/openai.js +118 -118
- package/dist/plugin/provider/opencode.js +100 -100
- package/dist/plugin/provider/openrouter.js +93 -93
- package/dist/plugin/provider/perplexity.js +2 -2
- package/dist/plugin/provider/poe.js +81 -81
- package/dist/plugin/provider/prompt-cache-key.js +1 -1
- package/dist/plugin/provider/sap-ai-core.js +93 -93
- package/dist/plugin/provider/sdk-factory.js +1 -1
- package/dist/plugin/provider/snowflake-cortex.js +115 -115
- package/dist/plugin/provider/vercel.js +92 -92
- package/dist/plugin/provider/vllm.js +125 -125
- package/dist/plugin/provider/xai.js +93 -93
- package/dist/plugin/provider/zenmux.js +1 -1
- package/dist/plugin/provider.js +168 -168
- package/dist/plugin/sdk.js +78 -78
- package/dist/plugin/service.js +3 -3
- package/dist/plugin/skill.js +134 -134
- package/dist/plugin/source-directory.js +1 -1
- package/dist/plugin/supervisor.js +351 -351
- package/dist/plugin/tool-input-repair.js +4 -4
- package/dist/plugin/update.js +6 -6
- package/dist/plugin/vcs/git.js +88 -88
- package/dist/plugin/vcs/hg.js +88 -88
- package/dist/plugin/verbosity.js +95 -95
- package/dist/plugin/warming.js +114 -114
- package/dist/plugin/websearch/exa.js +7 -7
- 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 +229 -229
- package/dist/project/schema.js +6 -6
- package/dist/project/sql.js +4 -4
- package/dist/project.js +88 -88
- package/dist/provider.js +99 -99
- 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 +91 -91
- package/dist/reference.js +93 -93
- package/dist/repository-cache.js +83 -83
- package/dist/repository.js +1 -1
- package/dist/ripgrep/binary.js +2 -2
- package/dist/ripgrep.js +99 -99
- package/dist/rpc.js +88 -88
- package/dist/schema.js +1 -1
- package/dist/session/affinity.js +1 -1
- package/dist/session/command.js +76 -76
- package/dist/session/compaction.js +136 -136
- package/dist/session/context.js +164 -164
- package/dist/session/diff.js +90 -90
- 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 +128 -128
- package/dist/session/generate.js +166 -166
- package/dist/session/history.js +15 -15
- package/dist/session/inbox.js +95 -95
- package/dist/session/info.js +3 -3
- package/dist/session/instruction-entry.js +81 -81
- package/dist/session/instruction-state.js +8 -8
- package/dist/session/instructions.js +99 -99
- package/dist/session/message-updater.js +4 -4
- package/dist/session/message.js +1 -1
- package/dist/session/model-request.js +118 -118
- package/dist/session/model-transport.js +5 -5
- package/dist/session/move.js +132 -132
- package/dist/session/projector.js +91 -91
- package/dist/session/prompt.js +107 -107
- package/dist/session/recent-text.js +1 -1
- package/dist/session/revert.js +96 -96
- package/dist/session/run-coordinator.js +1 -1
- package/dist/session/runner/index.js +3 -3
- package/dist/session/runner/llm.js +231 -231
- package/dist/session/runner/max-steps.js +1 -1
- package/dist/session/runner/model.js +102 -102
- package/dist/session/runner/publish-llm-event.js +116 -116
- package/dist/session/runner/retry.js +5 -5
- package/dist/session/runner/step.js +128 -128
- package/dist/session/runner/to-llm-message.js +14 -14
- package/dist/session/schema.js +3 -3
- package/dist/session/session.js +165 -165
- package/dist/session/shell.js +130 -130
- package/dist/session/skill.js +105 -105
- package/dist/session/sql.js +5 -5
- package/dist/session/stats.js +75 -75
- package/dist/session/store.js +87 -87
- package/dist/session/subagent-completion.js +1 -1
- package/dist/session/subagent-job.js +212 -212
- package/dist/session/system-prompt.js +5 -5
- package/dist/session/title.js +168 -168
- package/dist/session/to-session-error.js +114 -114
- package/dist/session/transfer.js +218 -218
- package/dist/session/usage.js +1 -1
- package/dist/session.js +214 -214
- 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 +13 -13
- package/dist/shell.js +132 -132
- package/dist/skill/discovery.js +6 -6
- package/dist/skill/instructions.js +109 -109
- package/dist/skill.js +110 -110
- package/dist/snapshot.js +89 -89
- 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 +139 -139
- package/dist/tool/plugin/edit.js +122 -122
- package/dist/tool/plugin/file-diff.js +1 -1
- package/dist/tool/plugin/glob.js +124 -124
- package/dist/tool/plugin/grep.js +126 -126
- package/dist/tool/plugin/mcp-resource.js +126 -126
- package/dist/tool/plugin/opencode.js +111 -111
- package/dist/tool/plugin/patch.js +120 -120
- package/dist/tool/plugin/question.js +105 -105
- package/dist/tool/plugin/read.js +125 -125
- package/dist/tool/plugin/shell.js +217 -217
- package/dist/tool/plugin/skill.js +113 -113
- package/dist/tool/plugin/subagent.js +219 -219
- package/dist/tool/plugin/todo.js +136 -136
- package/dist/tool/plugin/webfetch.js +113 -113
- package/dist/tool/plugin/websearch.js +116 -116
- package/dist/tool/plugin/write.js +122 -122
- package/dist/tool/read-filesystem.js +104 -104
- package/dist/tool/runtime.js +1 -1
- package/dist/tool-output.js +7 -7
- package/dist/tool.js +16 -16
- package/dist/util/error-summary.js +1 -1
- package/dist/util/git-executable.js +2 -2
- package/dist/util/lazy.js +1 -1
- package/dist/util/slug.js +1 -1
- package/dist/util/token.js +1 -1
- package/dist/util/which.js +1 -1
- package/dist/util/wildcard.js +1 -1
- package/dist/v1/config/agent.js +7 -7
- package/dist/v1/config/command.js +3 -3
- package/dist/v1/config/mcp.js +4 -4
- package/dist/v1/config/migrate.js +94 -94
- package/dist/v1/config/permission.js +7 -7
- package/dist/v1/config/plugin.js +3 -3
- package/dist/v1/config/provider-options.js +1 -1
- package/dist/v1/config/provider.js +4 -4
- package/dist/variant.js +95 -95
- package/dist/vcs/patch.js +1 -1
- package/dist/vcs.js +91 -91
- package/dist/voice.js +90 -90
- package/dist/websearch.js +84 -84
- package/dist/wellknown/plugin.js +76 -76
- package/dist/wellknown.js +81 -81
- package/dist/workspace/driver.js +5 -5
- package/dist/workspace/sql.js +1 -1
- package/dist/workspace.js +82 -82
- package/dist/worktree/directory.js +2 -2
- package/dist/worktree/git.js +10 -10
- package/dist/worktree/sql.js +5 -5
- package/dist/worktree/strategies.js +91 -91
- package/dist/worktree.js +100 -100
- package/package.json +8 -8
- package/dist/chunks/location-service-map-03p9d38e.js +0 -257
- package/dist/chunks/location-service-map-1y25g81x.js +0 -517
- package/dist/chunks/location-service-map-7yv5xa0k.js +0 -18
- package/dist/chunks/location-service-map-hmc8wnkn.js +0 -26
- /package/dist/chunks/{location-service-map-0qkdqm5v.js → websearch-0qkdqm5v.js} +0 -0
- /package/dist/chunks/{location-service-map-0zkw76rk.js → websearch-0zkw76rk.js} +0 -0
- /package/dist/chunks/{location-service-map-17cy0kzp.js → websearch-17cy0kzp.js} +0 -0
- /package/dist/chunks/{location-service-map-1cnp2v09.js → websearch-1cnp2v09.js} +0 -0
- /package/dist/chunks/{location-service-map-24dcb14g.js → websearch-24dcb14g.js} +0 -0
- /package/dist/chunks/{location-service-map-2710q6r3.js → websearch-2710q6r3.js} +0 -0
- /package/dist/chunks/{location-service-map-2bv980vf.js → websearch-2bv980vf.js} +0 -0
- /package/dist/chunks/{location-service-map-2c3vjs8z.js → websearch-2c3vjs8z.js} +0 -0
- /package/dist/chunks/{location-service-map-359p4xyc.js → websearch-359p4xyc.js} +0 -0
- /package/dist/chunks/{location-service-map-3asan66x.js → websearch-3asan66x.js} +0 -0
- /package/dist/chunks/{location-service-map-3v8g72cx.js → websearch-3v8g72cx.js} +0 -0
- /package/dist/chunks/{location-service-map-3wcehsnq.js → websearch-3wcehsnq.js} +0 -0
- /package/dist/chunks/{location-service-map-43n2bw4t.js → websearch-43n2bw4t.js} +0 -0
- /package/dist/chunks/{location-service-map-4knz6hnm.js → websearch-4knz6hnm.js} +0 -0
- /package/dist/chunks/{location-service-map-4vcrnpx2.js → websearch-4vcrnpx2.js} +0 -0
- /package/dist/chunks/{location-service-map-4y7fprxs.js → websearch-4y7fprxs.js} +0 -0
- /package/dist/chunks/{location-service-map-53557ph1.js → websearch-53557ph1.js} +0 -0
- /package/dist/chunks/{location-service-map-550bvhaj.js → websearch-550bvhaj.js} +0 -0
- /package/dist/chunks/{location-service-map-5fjb7ams.js → websearch-5fjb7ams.js} +0 -0
- /package/dist/chunks/{location-service-map-6prwharc.js → websearch-6prwharc.js} +0 -0
- /package/dist/chunks/{location-service-map-6q2bdcd1.js → websearch-6q2bdcd1.js} +0 -0
- /package/dist/chunks/{location-service-map-7akdwqpd.js → websearch-7akdwqpd.js} +0 -0
- /package/dist/chunks/{location-service-map-7m9af43g.js → websearch-7m9af43g.js} +0 -0
- /package/dist/chunks/{location-service-map-822emrt2.js → websearch-822emrt2.js} +0 -0
- /package/dist/chunks/{location-service-map-84wd9syh.js → websearch-84wd9syh.js} +0 -0
- /package/dist/chunks/{location-service-map-88xbtdfr.js → websearch-88xbtdfr.js} +0 -0
- /package/dist/chunks/{location-service-map-8n3pysct.js → websearch-8n3pysct.js} +0 -0
- /package/dist/chunks/{location-service-map-8wj87zfr.js → websearch-8wj87zfr.js} +0 -0
- /package/dist/chunks/{location-service-map-9a4afbnw.js → websearch-9a4afbnw.js} +0 -0
- /package/dist/chunks/{location-service-map-9rqn6x4v.js → websearch-9rqn6x4v.js} +0 -0
- /package/dist/chunks/{location-service-map-a058387c.js → websearch-a058387c.js} +0 -0
- /package/dist/chunks/{location-service-map-a6k6eb26.js → websearch-a6k6eb26.js} +0 -0
- /package/dist/chunks/{location-service-map-af5trqkr.js → websearch-af5trqkr.js} +0 -0
- /package/dist/chunks/{location-service-map-afrmfg78.js → websearch-afrmfg78.js} +0 -0
- /package/dist/chunks/{location-service-map-aqzs7mqg.js → websearch-aqzs7mqg.js} +0 -0
- /package/dist/chunks/{location-service-map-atq7p7m5.js → websearch-atq7p7m5.js} +0 -0
- /package/dist/chunks/{location-service-map-bkyjaxrp.js → websearch-bkyjaxrp.js} +0 -0
- /package/dist/chunks/{location-service-map-bmr6ed5q.js → websearch-bmr6ed5q.js} +0 -0
- /package/dist/chunks/{location-service-map-cf4snx6d.js → websearch-cf4snx6d.js} +0 -0
- /package/dist/chunks/{location-service-map-cvy3z8tj.js → websearch-cvy3z8tj.js} +0 -0
- /package/dist/chunks/{location-service-map-d9fn303g.js → websearch-d9fn303g.js} +0 -0
- /package/dist/chunks/{location-service-map-d9jj8t3e.js → websearch-d9jj8t3e.js} +0 -0
- /package/dist/chunks/{location-service-map-dajrwvna.js → websearch-dajrwvna.js} +0 -0
- /package/dist/chunks/{location-service-map-dap0rakb.js → websearch-dap0rakb.js} +0 -0
- /package/dist/chunks/{location-service-map-df08tz66.js → websearch-df08tz66.js} +0 -0
- /package/dist/chunks/{location-service-map-dy18nga0.js → websearch-dy18nga0.js} +0 -0
- /package/dist/chunks/{location-service-map-e5kj55wp.js → websearch-e5kj55wp.js} +0 -0
- /package/dist/chunks/{location-service-map-e73j6tqm.js → websearch-e73j6tqm.js} +0 -0
- /package/dist/chunks/{location-service-map-ec1grn59.js → websearch-ec1grn59.js} +0 -0
- /package/dist/chunks/{location-service-map-eh3zwz77.js → websearch-eh3zwz77.js} +0 -0
- /package/dist/chunks/{location-service-map-emrn6kk6.js → websearch-emrn6kk6.js} +0 -0
- /package/dist/chunks/{location-service-map-f0mxakyp.js → websearch-f0mxakyp.js} +0 -0
- /package/dist/chunks/{location-service-map-f6n9ztr4.js → websearch-f6n9ztr4.js} +0 -0
- /package/dist/chunks/{location-service-map-faypxj3z.js → websearch-faypxj3z.js} +0 -0
- /package/dist/chunks/{location-service-map-fd410y7t.js → websearch-fd410y7t.js} +0 -0
- /package/dist/chunks/{location-service-map-g4wezp1m.js → websearch-g4wezp1m.js} +0 -0
- /package/dist/chunks/{location-service-map-g86h250q.js → websearch-g86h250q.js} +0 -0
- /package/dist/chunks/{location-service-map-gebd4c9n.js → websearch-gebd4c9n.js} +0 -0
- /package/dist/chunks/{location-service-map-gftt206x.js → websearch-gftt206x.js} +0 -0
- /package/dist/chunks/{location-service-map-hcxmzztb.js → websearch-hcxmzztb.js} +0 -0
- /package/dist/chunks/{location-service-map-hk9envan.js → websearch-hk9envan.js} +0 -0
- /package/dist/chunks/{location-service-map-j2ntwpah.js → websearch-j2ntwpah.js} +0 -0
- /package/dist/chunks/{location-service-map-j5zkgpj8.js → websearch-j5zkgpj8.js} +0 -0
- /package/dist/chunks/{location-service-map-jjkms2e6.js → websearch-jjkms2e6.js} +0 -0
- /package/dist/chunks/{location-service-map-jr7sbwjy.js → websearch-jr7sbwjy.js} +0 -0
- /package/dist/chunks/{location-service-map-jwfs4k6c.js → websearch-jwfs4k6c.js} +0 -0
- /package/dist/chunks/{location-service-map-jze0r7bz.js → websearch-jze0r7bz.js} +0 -0
- /package/dist/chunks/{location-service-map-jzg6c2d5.js → websearch-jzg6c2d5.js} +0 -0
- /package/dist/chunks/{location-service-map-m18g726c.js → websearch-m18g726c.js} +0 -0
- /package/dist/chunks/{location-service-map-mp448xyj.js → websearch-mp448xyj.js} +0 -0
- /package/dist/chunks/{location-service-map-msx8hqn2.js → websearch-msx8hqn2.js} +0 -0
- /package/dist/chunks/{location-service-map-n05xt0ee.js → websearch-n05xt0ee.js} +0 -0
- /package/dist/chunks/{location-service-map-n3j8tn72.js → websearch-n3j8tn72.js} +0 -0
- /package/dist/chunks/{location-service-map-njntx4h6.js → websearch-njntx4h6.js} +0 -0
- /package/dist/chunks/{location-service-map-pkyv6v7h.js → websearch-pkyv6v7h.js} +0 -0
- /package/dist/chunks/{location-service-map-q3sfg36h.js → websearch-q3sfg36h.js} +0 -0
- /package/dist/chunks/{location-service-map-q74kybfr.js → websearch-q74kybfr.js} +0 -0
- /package/dist/chunks/{location-service-map-qaymkmh1.js → websearch-qaymkmh1.js} +0 -0
- /package/dist/chunks/{location-service-map-qb87gjwd.js → websearch-qb87gjwd.js} +0 -0
- /package/dist/chunks/{location-service-map-qfa1cgps.js → websearch-qfa1cgps.js} +0 -0
- /package/dist/chunks/{location-service-map-qg3g05ea.js → websearch-qg3g05ea.js} +0 -0
- /package/dist/chunks/{location-service-map-qrg20bc0.js → websearch-qrg20bc0.js} +0 -0
- /package/dist/chunks/{location-service-map-rcb2kzg1.js → websearch-rcb2kzg1.js} +0 -0
- /package/dist/chunks/{location-service-map-sdp7kfr6.js → websearch-sdp7kfr6.js} +0 -0
- /package/dist/chunks/{location-service-map-ssg3fenm.js → websearch-ssg3fenm.js} +0 -0
- /package/dist/chunks/{location-service-map-ve7vex1e.js → websearch-ve7vex1e.js} +0 -0
- /package/dist/chunks/{location-service-map-w803qqfp.js → websearch-w803qqfp.js} +0 -0
- /package/dist/chunks/{location-service-map-wc3fc9cn.js → websearch-wc3fc9cn.js} +0 -0
- /package/dist/chunks/{location-service-map-wer8tq1h.js → websearch-wer8tq1h.js} +0 -0
- /package/dist/chunks/{location-service-map-wjj7prxr.js → websearch-wjj7prxr.js} +0 -0
- /package/dist/chunks/{location-service-map-wtztk69x.js → websearch-wtztk69x.js} +0 -0
- /package/dist/chunks/{location-service-map-x0ckcb58.js → websearch-x0ckcb58.js} +0 -0
- /package/dist/chunks/{location-service-map-x61499pn.js → websearch-x61499pn.js} +0 -0
- /package/dist/chunks/{location-service-map-y44na4kk.js → websearch-y44na4kk.js} +0 -0
- /package/dist/chunks/{location-service-map-y8f7s663.js → websearch-y8f7s663.js} +0 -0
- /package/dist/chunks/{location-service-map-ygaqb7jw.js → websearch-ygaqb7jw.js} +0 -0
- /package/dist/chunks/{location-service-map-ym463w8f.js → websearch-ym463w8f.js} +0 -0
- /package/dist/chunks/{location-service-map-z5v4ffb3.js → websearch-z5v4ffb3.js} +0 -0
- /package/dist/chunks/{location-service-map-z9919s4g.js → websearch-z9919s4g.js} +0 -0
|
@@ -1,26 +1,26 @@
|
|
|
1
1
|
import {
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
} from "./
|
|
2
|
+
Service85,
|
|
3
|
+
node89
|
|
4
|
+
} from "./websearch-vgr3c4a7.js";
|
|
5
5
|
import {
|
|
6
6
|
PATCH_CONTEXT_LINES2,
|
|
7
7
|
MAX_TOTAL_PATCH_BYTES2,
|
|
8
8
|
emptyPatch2
|
|
9
|
-
} from "./
|
|
9
|
+
} from "./websearch-rb9dy4dg.js";
|
|
10
10
|
import {
|
|
11
11
|
root2
|
|
12
|
-
} from "./
|
|
12
|
+
} from "./websearch-54mwpwnj.js";
|
|
13
13
|
import {
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
} from "./
|
|
14
|
+
Service82,
|
|
15
|
+
node86
|
|
16
|
+
} from "./websearch-q3bgpfy7.js";
|
|
17
17
|
import {
|
|
18
18
|
reconcile2,
|
|
19
19
|
create3
|
|
20
|
-
} from "./
|
|
20
|
+
} from "./websearch-vd3b3yk9.js";
|
|
21
21
|
import {
|
|
22
22
|
__export
|
|
23
|
-
} from "./
|
|
23
|
+
} from "./websearch-9rqn6x4v.js";
|
|
24
24
|
|
|
25
25
|
// src/vcs.ts
|
|
26
26
|
var exports_vcs = {};
|
|
@@ -29,18 +29,18 @@ __export(exports_vcs, {
|
|
|
29
29
|
BranchList: () => BranchList2,
|
|
30
30
|
DiffError: () => DiffError2,
|
|
31
31
|
FileStatus: () => FileStatus2,
|
|
32
|
-
Info: () =>
|
|
32
|
+
Info: () => Info20,
|
|
33
33
|
InitializeError: () => InitializeError2,
|
|
34
34
|
Mode: () => Mode2,
|
|
35
|
-
Service: () =>
|
|
35
|
+
Service: () => Service68,
|
|
36
36
|
Vcs: () => exports_vcs,
|
|
37
|
-
node: () =>
|
|
37
|
+
node: () => node72
|
|
38
38
|
});
|
|
39
39
|
import path from "path";
|
|
40
40
|
import { Cause, Context, Effect, FiberSet, Layer, Schema, Semaphore, Stream } from "effect";
|
|
41
41
|
import { FileDiff } from "@opencode/schema/file-diff";
|
|
42
42
|
import { FileSystem } from "@opencode/schema/filesystem";
|
|
43
|
-
import { Base as Base2, BranchList as BranchList2, FileStatus as FileStatus2, Info as
|
|
43
|
+
import { Base as Base2, BranchList as BranchList2, FileStatus as FileStatus2, Info as Info20, Mode as Mode2 } from "@opencode/schema/vcs";
|
|
44
44
|
import { VcsEvent } from "@opencode/schema/vcs-event";
|
|
45
45
|
import { makeLocationNode } from "@opencode/util/effect/app-node";
|
|
46
46
|
import { FSUtil } from "@opencode/util/fs-util";
|
|
@@ -54,12 +54,12 @@ class InitializeError2 extends Schema.TaggedError()("Vcs.InitializeError", {
|
|
|
54
54
|
}) {
|
|
55
55
|
}
|
|
56
56
|
|
|
57
|
-
class
|
|
57
|
+
class Service68 extends Context.Service()("@opencode/Vcs") {
|
|
58
58
|
}
|
|
59
|
-
var layer = Layer.effect(
|
|
59
|
+
var layer = Layer.effect(Service68, Effect.gen(function* () {
|
|
60
60
|
const fs = yield* FSUtil.Service;
|
|
61
|
-
const location = yield*
|
|
62
|
-
const bus = yield*
|
|
61
|
+
const location = yield* Service82;
|
|
62
|
+
const bus = yield* Service85;
|
|
63
63
|
const root = yield* Effect.scope;
|
|
64
64
|
const fork = yield* FiberSet.makeRuntime();
|
|
65
65
|
const vcs = location.vcs;
|
|
@@ -71,7 +71,7 @@ var layer = Layer.effect(Service18, Effect.gen(function* () {
|
|
|
71
71
|
canonical: location.project.canonical,
|
|
72
72
|
...vcs ? { store: vcs.store } : {}
|
|
73
73
|
};
|
|
74
|
-
const decodeInfo = Schema.decodeUnknownEffect(Schema.toType(
|
|
74
|
+
const decodeInfo = Schema.decodeUnknownEffect(Schema.toType(Info20));
|
|
75
75
|
const decodeBase = Schema.decodeUnknownEffect(Schema.NullOr(Base2));
|
|
76
76
|
const decodeBranches = Schema.decodeUnknownEffect(BranchList2);
|
|
77
77
|
const decodeStatus = Schema.decodeUnknownEffect(Schema.Array(FileStatus2));
|
|
@@ -129,7 +129,7 @@ var layer = Layer.effect(Service18, Effect.gen(function* () {
|
|
|
129
129
|
const isBranchMetadata = vcs.type === "git" ? (file) => path.basename(file) === "HEAD" && FSUtil.contains(store, file) : (file) => path.resolve(file) === path.join(store, "branch");
|
|
130
130
|
yield* bus.subscribe(FileSystem.Event.Changed).pipe(Stream.filter((event) => isBranchMetadata(event.data.file)), Stream.runForEach((event) => refresh().pipe(Effect.catchCauseIf((cause) => !Cause.hasInterrupts(cause), (cause) => Effect.logWarning("vcs refresh failed", { file: event.data.file, cause })), Effect.withSpan("Vcs.refreshBranch", { attributes: { file: event.data.file } }))), Effect.forkScoped({ startImmediately: true }));
|
|
131
131
|
}
|
|
132
|
-
return
|
|
132
|
+
return Service68.of({
|
|
133
133
|
transform: state.transform,
|
|
134
134
|
reload: state.reload,
|
|
135
135
|
initialize: Effect.fn("Vcs.initialize")(function* (providerID) {
|
|
@@ -187,10 +187,10 @@ var layer = Layer.effect(Service18, Effect.gen(function* () {
|
|
|
187
187
|
})
|
|
188
188
|
});
|
|
189
189
|
}));
|
|
190
|
-
var
|
|
191
|
-
service:
|
|
190
|
+
var node72 = makeLocationNode({
|
|
191
|
+
service: Service68,
|
|
192
192
|
layer,
|
|
193
|
-
deps: [FSUtil.node,
|
|
193
|
+
deps: [FSUtil.node, node86, node89]
|
|
194
194
|
});
|
|
195
195
|
|
|
196
|
-
export { Base2, BranchList2, FileStatus2,
|
|
196
|
+
export { Base2, BranchList2, FileStatus2, Info20, Mode2, DiffError2, InitializeError2, Service68, node72, exports_vcs };
|
|
@@ -1,26 +1,26 @@
|
|
|
1
1
|
import {
|
|
2
2
|
SessionMessage2
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./websearch-gftt206x.js";
|
|
4
4
|
import {
|
|
5
5
|
MessageDecodeError2
|
|
6
|
-
} from "./
|
|
6
|
+
} from "./websearch-q5ksxkha.js";
|
|
7
7
|
import {
|
|
8
8
|
InitializationBlocked2,
|
|
9
9
|
read3
|
|
10
|
-
} from "./
|
|
10
|
+
} from "./websearch-jneg3k74.js";
|
|
11
11
|
import {
|
|
12
12
|
SessionMessageTable2
|
|
13
|
-
} from "./
|
|
13
|
+
} from "./websearch-998yhzzq.js";
|
|
14
14
|
import {
|
|
15
15
|
initial2,
|
|
16
16
|
preview3
|
|
17
|
-
} from "./
|
|
17
|
+
} from "./websearch-zkgq49d1.js";
|
|
18
18
|
import {
|
|
19
19
|
messageToText2
|
|
20
|
-
} from "./
|
|
20
|
+
} from "./websearch-v2r1d0zg.js";
|
|
21
21
|
import {
|
|
22
22
|
__export
|
|
23
|
-
} from "./
|
|
23
|
+
} from "./websearch-9rqn6x4v.js";
|
|
24
24
|
|
|
25
25
|
// src/session/history.ts
|
|
26
26
|
var exports_history = {};
|
|
@@ -32,7 +32,7 @@ __export(exports_history, {
|
|
|
32
32
|
entriesForRunner: () => entriesForRunner2,
|
|
33
33
|
firstUserMessage: () => firstUserMessage2,
|
|
34
34
|
isNativeCompaction: () => isNativeCompaction2,
|
|
35
|
-
load: () =>
|
|
35
|
+
load: () => load5,
|
|
36
36
|
preview: () => preview2
|
|
37
37
|
});
|
|
38
38
|
import { and, asc, desc, eq, gte, lt, or, sql } from "drizzle-orm";
|
|
@@ -88,7 +88,7 @@ var withRecentText = Effect.fnUntraced(function* (db, sessionID, entries) {
|
|
|
88
88
|
`);
|
|
89
89
|
return [{ ...first, message: { ...compaction, metadata: { ...compaction.metadata, recent } } }, ...entries.slice(1)];
|
|
90
90
|
});
|
|
91
|
-
var
|
|
91
|
+
var load5 = Effect.fn("SessionHistory.load")(function* (db, sessionID, boundary) {
|
|
92
92
|
return (yield* messageEntries(db, sessionID, boundary)).map((entry) => entry.message);
|
|
93
93
|
});
|
|
94
94
|
var entriesForRunner2 = Effect.fn("SessionHistory.entriesForRunner")(function* (db, sessionID, instructions, boundary) {
|
|
@@ -124,4 +124,4 @@ var firstUserMessage2 = Effect.fn("SessionHistory.firstUserMessage")(function* (
|
|
|
124
124
|
return message?.type === "user" ? message : undefined;
|
|
125
125
|
});
|
|
126
126
|
|
|
127
|
-
export { isNativeCompaction2, NativeWindow2, decodeMessageRowSync2, decodeMessageRow2,
|
|
127
|
+
export { isNativeCompaction2, NativeWindow2, decodeMessageRowSync2, decodeMessageRow2, load5, entriesForRunner2, preview2, firstUserMessage2, exports_history };
|
|
@@ -2,7 +2,7 @@ import {
|
|
|
2
2
|
SQLiteEffectPreparedQuery2,
|
|
3
3
|
SQLiteEffectSession2,
|
|
4
4
|
SQLiteEffectTransaction2
|
|
5
|
-
} from "./
|
|
5
|
+
} from "./websearch-cz1vwcws.js";
|
|
6
6
|
|
|
7
7
|
// src/database/drizzle/effect-sqlite/session.ts
|
|
8
8
|
import * as Context from "effect/Context";
|
|
@@ -1,17 +1,17 @@
|
|
|
1
1
|
import {
|
|
2
2
|
mergeOverlay2,
|
|
3
|
-
|
|
4
|
-
} from "./
|
|
3
|
+
Service78
|
|
4
|
+
} from "./websearch-876de6v3.js";
|
|
5
5
|
import {
|
|
6
|
-
|
|
7
|
-
} from "./
|
|
6
|
+
Service48
|
|
7
|
+
} from "./websearch-c9erfsw0.js";
|
|
8
8
|
|
|
9
9
|
// src/plugin/provider/configured.ts
|
|
10
10
|
import { Effect, Option } from "effect";
|
|
11
11
|
var configuredSettings2 = Effect.fn("ProviderPlugin.configuredSettings")(function* (id) {
|
|
12
|
-
const providers = yield*
|
|
12
|
+
const providers = yield* Service78;
|
|
13
13
|
const current = (yield* providers.get(id))?.settings;
|
|
14
|
-
const service = yield* Effect.serviceOption(
|
|
14
|
+
const service = yield* Effect.serviceOption(Service48);
|
|
15
15
|
const entries = Option.isSome(service) ? yield* service.value.entries() : [];
|
|
16
16
|
return foldSettings2(entries, id, current);
|
|
17
17
|
});
|
|
@@ -1,24 +1,24 @@
|
|
|
1
1
|
import {
|
|
2
2
|
__export
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./websearch-9rqn6x4v.js";
|
|
4
4
|
|
|
5
5
|
// src/app.ts
|
|
6
6
|
var exports_app = {};
|
|
7
7
|
__export(exports_app, {
|
|
8
8
|
App: () => exports_app,
|
|
9
9
|
Metadata: () => Metadata2,
|
|
10
|
-
configured: () =>
|
|
11
|
-
layer: () =>
|
|
12
|
-
make: () =>
|
|
13
|
-
node: () =>
|
|
10
|
+
configured: () => configured4,
|
|
11
|
+
layer: () => layer17,
|
|
12
|
+
make: () => make15,
|
|
13
|
+
node: () => node41,
|
|
14
14
|
useragent: () => useragent2
|
|
15
15
|
});
|
|
16
16
|
import { Context, Layer } from "effect";
|
|
17
17
|
import { makeGlobalNode } from "@opencode/util/effect/app-node";
|
|
18
18
|
var Metadata2 = Context.Reference("@opencode/App", {
|
|
19
|
-
defaultValue: () =>
|
|
19
|
+
defaultValue: () => make15()
|
|
20
20
|
});
|
|
21
|
-
function
|
|
21
|
+
function make15(input = {}) {
|
|
22
22
|
return {
|
|
23
23
|
name: input.name ?? "opencode",
|
|
24
24
|
version: input.version ?? "unknown",
|
|
@@ -28,8 +28,8 @@ function make21(input = {}) {
|
|
|
28
28
|
function useragent2(app) {
|
|
29
29
|
return `opencode/${app.channel}/${app.version}/${app.name}`;
|
|
30
30
|
}
|
|
31
|
-
var
|
|
32
|
-
var
|
|
33
|
-
var
|
|
31
|
+
var layer17 = (input) => Layer.succeed(Metadata2, make15(input));
|
|
32
|
+
var configured4 = (input) => makeGlobalNode({ service: Metadata2, layer: layer17(input), deps: [] });
|
|
33
|
+
var node41 = configured4();
|
|
34
34
|
|
|
35
|
-
export { Metadata2,
|
|
35
|
+
export { Metadata2, make15, useragent2, layer17, configured4, node41, exports_app };
|
|
@@ -1,12 +1,12 @@
|
|
|
1
1
|
import {
|
|
2
2
|
migrations2
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./websearch-j6a70pje.js";
|
|
4
4
|
import {
|
|
5
5
|
schema_gen_default
|
|
6
|
-
} from "./
|
|
6
|
+
} from "./websearch-pkyv6v7h.js";
|
|
7
7
|
import {
|
|
8
8
|
__export
|
|
9
|
-
} from "./
|
|
9
|
+
} from "./websearch-9rqn6x4v.js";
|
|
10
10
|
|
|
11
11
|
// src/database/migration.ts
|
|
12
12
|
var exports_migration = {};
|
|
@@ -1,26 +1,26 @@
|
|
|
1
1
|
import {
|
|
2
|
-
|
|
3
|
-
} from "./
|
|
2
|
+
Service84
|
|
3
|
+
} from "./websearch-mfwfc967.js";
|
|
4
4
|
import {
|
|
5
5
|
DirectoryUnavailableError2,
|
|
6
6
|
canonical2
|
|
7
|
-
} from "./
|
|
7
|
+
} from "./websearch-d4v9tmah.js";
|
|
8
8
|
import {
|
|
9
9
|
__export
|
|
10
|
-
} from "./
|
|
10
|
+
} from "./websearch-9rqn6x4v.js";
|
|
11
11
|
|
|
12
12
|
// src/worktree/git.ts
|
|
13
13
|
var exports_git2 = {};
|
|
14
14
|
__export(exports_git2, {
|
|
15
15
|
WorktreeGit: () => exports_git2,
|
|
16
|
-
make: () =>
|
|
16
|
+
make: () => make19
|
|
17
17
|
});
|
|
18
18
|
import { Effect } from "effect";
|
|
19
19
|
import { Worktree } from "@opencode/schema/worktree";
|
|
20
20
|
import { FSUtil } from "@opencode/util/fs-util";
|
|
21
|
-
var
|
|
21
|
+
var make19 = Effect.gen(function* () {
|
|
22
22
|
const fs = yield* FSUtil.Service;
|
|
23
|
-
const git = yield*
|
|
23
|
+
const git = yield* Service84;
|
|
24
24
|
return {
|
|
25
25
|
id: Worktree.StrategyID.make("git"),
|
|
26
26
|
create: Effect.fn("Worktree.Git.create")(function* (input) {
|
|
@@ -46,4 +46,4 @@ var make12 = Effect.gen(function* () {
|
|
|
46
46
|
};
|
|
47
47
|
});
|
|
48
48
|
|
|
49
|
-
export {
|
|
49
|
+
export { make19, exports_git2 };
|
|
@@ -1,22 +1,22 @@
|
|
|
1
1
|
import {
|
|
2
|
-
|
|
3
|
-
} from "./
|
|
2
|
+
Service85
|
|
3
|
+
} from "./websearch-vgr3c4a7.js";
|
|
4
4
|
import {
|
|
5
|
-
|
|
6
|
-
} from "./
|
|
5
|
+
Service82
|
|
6
|
+
} from "./websearch-q3bgpfy7.js";
|
|
7
7
|
import {
|
|
8
8
|
PromptsChanged2,
|
|
9
|
-
|
|
10
|
-
} from "./
|
|
9
|
+
Service31
|
|
10
|
+
} from "./websearch-mjxc5aj5.js";
|
|
11
11
|
import {
|
|
12
12
|
__export
|
|
13
|
-
} from "./
|
|
13
|
+
} from "./websearch-9rqn6x4v.js";
|
|
14
14
|
|
|
15
15
|
// src/plugin/command.ts
|
|
16
|
-
var
|
|
17
|
-
__export(
|
|
18
|
-
CommandPlugin: () =>
|
|
19
|
-
Plugin: () =>
|
|
16
|
+
var exports_command = {};
|
|
17
|
+
__export(exports_command, {
|
|
18
|
+
CommandPlugin: () => exports_command,
|
|
19
|
+
Plugin: () => Plugin9
|
|
20
20
|
});
|
|
21
21
|
import { define } from "@opencode/plugin/effect/plugin";
|
|
22
22
|
import { Effect, Stream } from "effect";
|
|
@@ -193,12 +193,12 @@ If you're uncertain about something and can't verify it with these tools, say "I
|
|
|
193
193
|
`;
|
|
194
194
|
|
|
195
195
|
// src/plugin/command.ts
|
|
196
|
-
var
|
|
196
|
+
var Plugin9 = define({
|
|
197
197
|
id: "opencode.command",
|
|
198
198
|
effect: Effect.fn(function* (ctx) {
|
|
199
|
-
const location = yield*
|
|
200
|
-
const mcp = yield*
|
|
201
|
-
const bus = yield*
|
|
199
|
+
const location = yield* Service82;
|
|
200
|
+
const mcp = yield* Service31;
|
|
201
|
+
const bus = yield* Service85;
|
|
202
202
|
const loaded = { prompts: [] };
|
|
203
203
|
yield* bus.subscribe(PromptsChanged2).pipe(Stream.runForEach(() => mcp.prompts().pipe(Effect.tap((prompts) => Effect.sync(() => loaded.prompts = prompts)), Effect.andThen(ctx.command.reload()))), Effect.forkScoped({ startImmediately: true }));
|
|
204
204
|
loaded.prompts = yield* mcp.prompts();
|
|
@@ -280,4 +280,4 @@ function sanitize(value) {
|
|
|
280
280
|
var argsRegex = /(?:\[Image\s+\d+\]|"[^"]*"|'[^']*'|[^\s"']+)/gi;
|
|
281
281
|
var quoteTrimRegex = /^["']|["']$/g;
|
|
282
282
|
|
|
283
|
-
export {
|
|
283
|
+
export { Plugin9, exports_command };
|
|
@@ -1,34 +1,34 @@
|
|
|
1
1
|
import {
|
|
2
2
|
useragent2
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./websearch-dmk8nbcm.js";
|
|
4
4
|
import {
|
|
5
|
-
|
|
6
|
-
} from "./
|
|
5
|
+
Service85
|
|
6
|
+
} from "./websearch-vgr3c4a7.js";
|
|
7
7
|
import {
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
} from "./
|
|
8
|
+
ID15,
|
|
9
|
+
Event18,
|
|
10
|
+
Service80
|
|
11
|
+
} from "./websearch-bxfrdttp.js";
|
|
12
12
|
import {
|
|
13
13
|
key2
|
|
14
|
-
} from "./
|
|
14
|
+
} from "./websearch-bjhzkqyk.js";
|
|
15
15
|
import {
|
|
16
|
-
|
|
16
|
+
ID14,
|
|
17
17
|
MethodID2
|
|
18
|
-
} from "./
|
|
18
|
+
} from "./websearch-shvrd9z9.js";
|
|
19
19
|
import {
|
|
20
20
|
which2
|
|
21
|
-
} from "./
|
|
21
|
+
} from "./websearch-qaymkmh1.js";
|
|
22
22
|
import {
|
|
23
|
-
|
|
24
|
-
|
|
25
|
-
} from "./
|
|
23
|
+
ID13,
|
|
24
|
+
Service78
|
|
25
|
+
} from "./websearch-876de6v3.js";
|
|
26
26
|
import {
|
|
27
|
-
|
|
28
|
-
} from "./
|
|
27
|
+
ID12
|
|
28
|
+
} from "./websearch-kbjsyctr.js";
|
|
29
29
|
import {
|
|
30
30
|
configuredSettings2
|
|
31
|
-
} from "./
|
|
31
|
+
} from "./websearch-dkcjkp08.js";
|
|
32
32
|
|
|
33
33
|
// src/plugin/provider/azure.ts
|
|
34
34
|
import { Clock, Effect, FiberHandle, Option, Schema, Semaphore, Stream } from "effect";
|
|
@@ -63,18 +63,18 @@ 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 make4(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
|
-
const bus = yield*
|
|
76
|
-
const credentials = yield*
|
|
77
|
-
const providers = yield*
|
|
75
|
+
const bus = yield* Service85;
|
|
76
|
+
const credentials = yield* Service80;
|
|
77
|
+
const providers = yield* Service78;
|
|
78
78
|
const http = HttpClient.filterStatusOk(yield* HttpClient.HttpClient);
|
|
79
79
|
const tokens = new Map;
|
|
80
80
|
const resourceIDs = new Map;
|
|
@@ -100,11 +100,11 @@ function make10(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 make10(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 make10(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(ID15.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 make10(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 make10(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 make10(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 make10(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 make10(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
|
for (const model of models.list(item.provider.id)) {
|
|
@@ -263,20 +263,20 @@ function make10(endpoints = {
|
|
|
263
263
|
}
|
|
264
264
|
if (!loaded.deployments)
|
|
265
265
|
return;
|
|
266
|
-
const catalog = models.list(
|
|
266
|
+
const catalog = models.list(ID13.azure);
|
|
267
267
|
const deployed = deployedModels(loaded.deployments, catalog);
|
|
268
268
|
for (const model of catalog) {
|
|
269
269
|
if (!deployed.has(model.id))
|
|
270
|
-
models.remove(
|
|
270
|
+
models.remove(ID13.azure, model.id);
|
|
271
271
|
}
|
|
272
272
|
for (const [id, model] of deployed) {
|
|
273
|
-
models.update(
|
|
273
|
+
models.update(ID13.azure, id, (draft) => Object.assign(draft, model));
|
|
274
274
|
}
|
|
275
275
|
});
|
|
276
|
-
yield* bus.subscribe(
|
|
276
|
+
yield* bus.subscribe(Event18.Switched).pipe(Stream.filter((event) => event.data.integrationID === ID14.make("azure")), Stream.runForEach(() => refresh()), Effect.forkScoped({ startImmediately: true }));
|
|
277
277
|
yield* refresh().pipe(Effect.forkScoped);
|
|
278
278
|
const bearer = Effect.fn("AzurePlugin.bearer")(function* (url) {
|
|
279
|
-
const connection = yield* ctx.integration.connection.active(
|
|
279
|
+
const connection = yield* ctx.integration.connection.active(ID13.azure);
|
|
280
280
|
const credential = connection ? yield* ctx.integration.connection.resolve(connection).pipe(Effect.orElseSucceed(() => {
|
|
281
281
|
return;
|
|
282
282
|
})) : undefined;
|
|
@@ -288,7 +288,7 @@ function make10(endpoints = {
|
|
|
288
288
|
return `Bearer ${current.access}`;
|
|
289
289
|
});
|
|
290
290
|
yield* ctx.session.hook("http.request", (evt) => Effect.gen(function* () {
|
|
291
|
-
if (evt.model.providerID !==
|
|
291
|
+
if (evt.model.providerID !== ID13.azure)
|
|
292
292
|
return;
|
|
293
293
|
const authorization = yield* bearer(evt.request.url);
|
|
294
294
|
if (!authorization)
|
|
@@ -297,9 +297,9 @@ function make10(endpoints = {
|
|
|
297
297
|
evt.request.headers.delete("x-api-key");
|
|
298
298
|
evt.request.headers.set("authorization", authorization);
|
|
299
299
|
evt.request.headers.set("user-agent", useragent2(ctx.app));
|
|
300
|
-
}), { providerID:
|
|
300
|
+
}), { providerID: ID13.azure });
|
|
301
301
|
yield* ctx.session.hook("experimental.ws.handshake", (evt) => Effect.gen(function* () {
|
|
302
|
-
if (evt.model.providerID !==
|
|
302
|
+
if (evt.model.providerID !== ID13.azure)
|
|
303
303
|
return;
|
|
304
304
|
const authorization = yield* bearer(evt.url);
|
|
305
305
|
if (!authorization)
|
|
@@ -308,11 +308,11 @@ function make10(endpoints = {
|
|
|
308
308
|
delete evt.headers["x-api-key"];
|
|
309
309
|
evt.headers.authorization = authorization;
|
|
310
310
|
evt.headers["user-agent"] = useragent2(ctx.app);
|
|
311
|
-
}), { providerID:
|
|
311
|
+
}), { providerID: ID13.azure });
|
|
312
312
|
})
|
|
313
313
|
});
|
|
314
314
|
}
|
|
315
|
-
var AzurePlugin2 =
|
|
315
|
+
var AzurePlugin2 = make4();
|
|
316
316
|
function resolveResourceName(settings, fallback) {
|
|
317
317
|
const configured = settings?.resourceName;
|
|
318
318
|
if (typeof configured === "string" && configured.trim() !== "")
|
|
@@ -342,11 +342,11 @@ function deployedModels(deployments, catalog) {
|
|
|
342
342
|
const model = catalogModel(models, deployment);
|
|
343
343
|
if (!model)
|
|
344
344
|
return [];
|
|
345
|
-
const id =
|
|
345
|
+
const id = ID12.make(deployment.name.toLowerCase());
|
|
346
346
|
const info = {
|
|
347
347
|
...structuredClone(model),
|
|
348
348
|
id,
|
|
349
|
-
modelID:
|
|
349
|
+
modelID: ID12.make(deployment.name),
|
|
350
350
|
name: id === model.id.toLowerCase() ? model.name : `${model.name} (${deployment.name})`
|
|
351
351
|
};
|
|
352
352
|
return [[id, info]];
|
|
@@ -368,4 +368,4 @@ function responsesWebSocketCapable(provider) {
|
|
|
368
368
|
return /^https:\/\/[^/]+\.openai\.azure\.com(?:\/|$)/i.test(settings.baseURL);
|
|
369
369
|
}
|
|
370
370
|
|
|
371
|
-
export {
|
|
371
|
+
export { make4, AzurePlugin2 };
|
|
@@ -1,29 +1,29 @@
|
|
|
1
1
|
import {
|
|
2
|
-
|
|
3
|
-
} from "./
|
|
2
|
+
Service48
|
|
3
|
+
} from "./websearch-c9erfsw0.js";
|
|
4
4
|
import {
|
|
5
|
-
|
|
6
|
-
} from "./
|
|
5
|
+
Service12
|
|
6
|
+
} from "./websearch-0421tmwc.js";
|
|
7
7
|
import {
|
|
8
8
|
observe2
|
|
9
|
-
} from "./
|
|
9
|
+
} from "./websearch-6pjqjmy2.js";
|
|
10
10
|
import {
|
|
11
11
|
__export
|
|
12
|
-
} from "./
|
|
12
|
+
} from "./websearch-9rqn6x4v.js";
|
|
13
13
|
|
|
14
14
|
// src/config/plugin/location-watcher.ts
|
|
15
15
|
var exports_location_watcher2 = {};
|
|
16
16
|
__export(exports_location_watcher2, {
|
|
17
17
|
ConfigLocationWatcherPlugin: () => exports_location_watcher2,
|
|
18
|
-
Plugin: () =>
|
|
18
|
+
Plugin: () => Plugin48
|
|
19
19
|
});
|
|
20
20
|
import { define } from "@opencode/plugin/effect/plugin";
|
|
21
21
|
import { Effect } from "effect";
|
|
22
|
-
var
|
|
22
|
+
var Plugin48 = define({
|
|
23
23
|
id: "opencode.config.location-watcher",
|
|
24
24
|
effect: Effect.fn(function* (ctx) {
|
|
25
|
-
const config = yield*
|
|
26
|
-
const policy = yield*
|
|
25
|
+
const config = yield* Service48;
|
|
26
|
+
const policy = yield* Service12;
|
|
27
27
|
const loaded = yield* observe2(config, ctx.event, policy.reload());
|
|
28
28
|
yield* policy.transform((editor) => {
|
|
29
29
|
for (const entry of loaded.entries) {
|
|
@@ -35,4 +35,4 @@ var Plugin3 = define({
|
|
|
35
35
|
})
|
|
36
36
|
});
|
|
37
37
|
|
|
38
|
-
export {
|
|
38
|
+
export { Plugin48, exports_location_watcher2 };
|