@opencode/core 0.0.0-dev-21744 → 0.0.0-dev-21747
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/account/sql.js +1 -1
- package/dist/agent.js +83 -83
- package/dist/aisdk-native.js +91 -91
- package/dist/aisdk.js +97 -97
- package/dist/app.js +9 -9
- package/dist/bus.js +75 -75
- package/dist/chunks/{persistent-pty-v0j7h7ag.js → location-service-map-003kegp2.js} +13 -13
- package/dist/chunks/{persistent-pty-dzx8s7jj.js → location-service-map-013vhq9d.js} +43 -43
- package/dist/chunks/{persistent-pty-034tev2y.js → location-service-map-034tev2y.js} +2 -2
- package/dist/chunks/location-service-map-03p9d38e.js +257 -0
- package/dist/chunks/{persistent-pty-vvh376nc.js → location-service-map-0b9rhbpe.js} +33 -33
- package/dist/chunks/{persistent-pty-t98ck3nv.js → location-service-map-0bhrze2p.js} +26 -26
- package/dist/chunks/{persistent-pty-hty8fpa1.js → location-service-map-0pnxwcyc.js} +7 -7
- package/dist/chunks/{persistent-pty-34sg93nd.js → location-service-map-0r6mtjdh.js} +32 -32
- package/dist/chunks/{persistent-pty-c8666r4c.js → location-service-map-0vx028ky.js} +6 -6
- package/dist/chunks/{persistent-pty-2w4r60qq.js → location-service-map-0w2m92gv.js} +19 -19
- package/dist/chunks/{persistent-pty-cp9n3ykm.js → location-service-map-0z1tt7er.js} +5 -5
- package/dist/chunks/{persistent-pty-873dcxyb.js → location-service-map-139nr8yw.js} +14 -14
- package/dist/chunks/{persistent-pty-p6xa5pr1.js → location-service-map-15x7rp3m.js} +5 -5
- package/dist/chunks/{persistent-pty-w9jkftfk.js → location-service-map-188drt2q.js} +25 -25
- package/dist/chunks/{persistent-pty-v4aer5v9.js → location-service-map-1ak811wc.js} +38 -38
- package/dist/chunks/{persistent-pty-1ep2p91f.js → location-service-map-1ep2p91f.js} +2 -2
- package/dist/chunks/{persistent-pty-z6zbh2d4.js → location-service-map-1px3a2xb.js} +26 -26
- package/dist/chunks/{persistent-pty-vmt9aa9x.js → location-service-map-1sme1v1k.js} +24 -24
- package/dist/chunks/{persistent-pty-1x2knyw4.js → location-service-map-1x2knyw4.js} +1 -1
- package/dist/chunks/{persistent-pty-45sfs8sj.js → location-service-map-1x6pf1gv.js} +93 -93
- package/dist/chunks/location-service-map-1y25g81x.js +517 -0
- package/dist/chunks/{persistent-pty-a2w9rrzy.js → location-service-map-1yqqrz0x.js} +11 -11
- package/dist/chunks/{persistent-pty-v1t6vrbj.js → location-service-map-27jee16v.js} +27 -27
- package/dist/chunks/{persistent-pty-syp495bw.js → location-service-map-2g2v5pv8.js} +11 -11
- package/dist/chunks/{persistent-pty-fk3tbwms.js → location-service-map-2hp83xyv.js} +18 -18
- package/dist/chunks/{persistent-pty-32wt4071.js → location-service-map-2kagezbr.js} +26 -26
- package/dist/chunks/{persistent-pty-aa2f750d.js → location-service-map-2meyg87m.js} +23 -23
- package/dist/chunks/{persistent-pty-95e9m93s.js → location-service-map-2svr78gq.js} +32 -32
- package/dist/chunks/{persistent-pty-2z1j29yd.js → location-service-map-2z1j29yd.js} +1 -1
- package/dist/chunks/{persistent-pty-ft0wh87x.js → location-service-map-355rvjhq.js} +13 -13
- package/dist/chunks/{persistent-pty-70kc41j2.js → location-service-map-388njdkr.js} +21 -21
- package/dist/chunks/{persistent-pty-ywtfgq8q.js → location-service-map-3f8v07ch.js} +11 -11
- package/dist/chunks/{persistent-pty-3hepkmqq.js → location-service-map-3hepkmqq.js} +1 -1
- package/dist/chunks/{persistent-pty-0421tmwc.js → location-service-map-3mgb105e.js} +9 -9
- package/dist/chunks/{persistent-pty-1s0mnecd.js → location-service-map-3mjk875x.js} +25 -25
- package/dist/chunks/{persistent-pty-3nnrz6f6.js → location-service-map-3nnrz6f6.js} +1 -1
- package/dist/chunks/{persistent-pty-dpj9egcy.js → location-service-map-3twxkf78.js} +45 -45
- package/dist/chunks/{persistent-pty-zfyhjv3h.js → location-service-map-3xbacp9g.js} +14 -14
- package/dist/chunks/{persistent-pty-jt1mpbrn.js → location-service-map-3zrv9gmq.js} +29 -29
- package/dist/chunks/{persistent-pty-h8nswts1.js → location-service-map-40008bk8.js} +6 -6
- package/dist/chunks/{persistent-pty-9r7t50b7.js → location-service-map-44sw466x.js} +28 -28
- package/dist/chunks/{persistent-pty-pgvk0yt9.js → location-service-map-4c2w6q79.js} +15 -15
- package/dist/chunks/{persistent-pty-rmqe3ewt.js → location-service-map-4ed14fdp.js} +27 -27
- package/dist/chunks/{persistent-pty-814m6n4n.js → location-service-map-4etbn6tz.js} +5 -5
- package/dist/chunks/{persistent-pty-s463agb3.js → location-service-map-4fde41kk.js} +21 -21
- package/dist/chunks/{persistent-pty-w1rc0f0t.js → location-service-map-4pxnxcp5.js} +14 -14
- package/dist/chunks/{persistent-pty-67efwznc.js → location-service-map-4sp541mw.js} +2 -2
- package/dist/chunks/{persistent-pty-4v008n1t.js → location-service-map-4v008n1t.js} +1 -1
- package/dist/chunks/{persistent-pty-4xvmh7wp.js → location-service-map-4xvmh7wp.js} +3 -3
- package/dist/chunks/{persistent-pty-wkmdz1mb.js → location-service-map-4xvztgkr.js} +11 -11
- package/dist/chunks/{persistent-pty-4ty1vvqa.js → location-service-map-50y1xsz1.js} +41 -41
- package/dist/chunks/{persistent-pty-h6ss1yxx.js → location-service-map-53x1cw92.js} +9 -9
- package/dist/chunks/{persistent-pty-wxpkhmem.js → location-service-map-582e04r8.js} +16 -16
- package/dist/chunks/{persistent-pty-xw8eq9f1.js → location-service-map-5e15319b.js} +5 -5
- package/dist/chunks/{persistent-pty-f4cj6rne.js → location-service-map-5em4e5nr.js} +39 -39
- package/dist/chunks/{persistent-pty-drtz06md.js → location-service-map-5g505q1a.js} +27 -27
- package/dist/chunks/{persistent-pty-5m9w47nd.js → location-service-map-5m9w47nd.js} +1 -1
- package/dist/chunks/{persistent-pty-5nnwax6m.js → location-service-map-5nnwax6m.js} +2 -2
- package/dist/chunks/{persistent-pty-qf1w2vm3.js → location-service-map-5p1db6qh.js} +24 -24
- package/dist/chunks/{persistent-pty-jn8j44c7.js → location-service-map-5rffwtjg.js} +22 -22
- package/dist/chunks/{persistent-pty-xen1jppb.js → location-service-map-5vh4rcr3.js} +18 -18
- package/dist/chunks/{persistent-pty-bt0t07qj.js → location-service-map-6281ma0y.js} +11 -11
- package/dist/chunks/{persistent-pty-6esdw8yj.js → location-service-map-6esdw8yj.js} +1 -1
- package/dist/chunks/{persistent-pty-ye9estr6.js → location-service-map-6ga3t03x.js} +15 -15
- package/dist/chunks/{persistent-pty-6pjqjmy2.js → location-service-map-6pjqjmy2.js} +1 -1
- package/dist/chunks/{persistent-pty-pcd58cha.js → location-service-map-6xjs6dtv.js} +20 -20
- package/dist/chunks/{persistent-pty-8wc2fpae.js → location-service-map-6y263vp8.js} +5 -5
- package/dist/chunks/{persistent-pty-b5wrmqhk.js → location-service-map-6zr8wwz2.js} +47 -47
- package/dist/chunks/{persistent-pty-76cb1hcw.js → location-service-map-76cb1hcw.js} +1 -1
- package/dist/chunks/{persistent-pty-56xpzs9c.js → location-service-map-7bg5w1mh.js} +8 -8
- package/dist/chunks/{persistent-pty-7bmhse3q.js → location-service-map-7bmhse3q.js} +1 -1
- package/dist/chunks/{persistent-pty-h65t1svj.js → location-service-map-7ddrbmq5.js} +25 -25
- package/dist/chunks/{persistent-pty-xpsr6m59.js → location-service-map-7fts76r7.js} +84 -84
- package/dist/chunks/{persistent-pty-7w2ypzdf.js → location-service-map-7w2ypzdf.js} +1 -1
- package/dist/chunks/location-service-map-7yv5xa0k.js +18 -0
- package/dist/chunks/{persistent-pty-0684c0fn.js → location-service-map-86yd8n6t.js} +50 -50
- package/dist/chunks/{persistent-pty-gt2ebmdc.js → location-service-map-89yw32r8.js} +6 -6
- package/dist/chunks/{persistent-pty-yncd7x1f.js → location-service-map-8bbz0hfx.js} +19 -19
- package/dist/chunks/{persistent-pty-pc1v25hk.js → location-service-map-8bc2ahr8.js} +3 -3
- package/dist/chunks/{persistent-pty-4epsaaqh.js → location-service-map-8bya8z2e.js} +48 -48
- package/dist/chunks/{persistent-pty-xkhfjrgz.js → location-service-map-8n9x2wf6.js} +3 -3
- package/dist/chunks/{persistent-pty-8wtp7s3z.js → location-service-map-8wtp7s3z.js} +1 -1
- package/dist/chunks/{persistent-pty-31avdb49.js → location-service-map-8ykqf5wm.js} +8 -8
- package/dist/chunks/{persistent-pty-82jsxv0a.js → location-service-map-8z0nn26j.js} +9 -9
- package/dist/chunks/{persistent-pty-41sj8m6y.js → location-service-map-90z9wy20.js} +39 -39
- package/dist/chunks/{persistent-pty-91rj84md.js → location-service-map-91rj84md.js} +1 -1
- package/dist/chunks/{persistent-pty-998yhzzq.js → location-service-map-998yhzzq.js} +3 -3
- package/dist/chunks/{persistent-pty-7w9zqejt.js → location-service-map-9abkctgc.js} +6 -6
- package/dist/chunks/{persistent-pty-faewc6h3.js → location-service-map-9b28cy4d.js} +5 -5
- package/dist/chunks/{persistent-pty-dx717f1h.js → location-service-map-9ec60z8p.js} +18 -18
- package/dist/chunks/{persistent-pty-jvgjeprd.js → location-service-map-9ef8rrka.js} +8 -8
- package/dist/chunks/{persistent-pty-1ec99x82.js → location-service-map-9sz3mafc.js} +4 -4
- package/dist/chunks/{persistent-pty-td5g3jt1.js → location-service-map-9zskf68x.js} +35 -35
- package/dist/chunks/{persistent-pty-bxhrky7s.js → location-service-map-a2x4jk9y.js} +12 -12
- package/dist/chunks/{persistent-pty-2h4s3pty.js → location-service-map-a3en8ngd.js} +10 -10
- package/dist/chunks/{persistent-pty-ef2tezb6.js → location-service-map-a5g15581.js} +2 -2
- package/dist/chunks/{persistent-pty-vw0t75j9.js → location-service-map-a7n5phyp.js} +25 -25
- package/dist/chunks/{persistent-pty-7y4z3x5j.js → location-service-map-aecf60s0.js} +11 -11
- package/dist/chunks/{persistent-pty-58hfgte4.js → location-service-map-aedgfdwr.js} +17 -17
- package/dist/chunks/{persistent-pty-xgw47nx1.js → location-service-map-afmr3pea.js} +4 -4
- package/dist/chunks/{persistent-pty-4r8h05df.js → location-service-map-ahke7ec0.js} +20 -20
- package/dist/chunks/{persistent-pty-g1448m63.js → location-service-map-asregxpd.js} +13 -13
- package/dist/chunks/{persistent-pty-55xtcbpn.js → location-service-map-aw84gg2e.js} +21 -21
- package/dist/chunks/{persistent-pty-ayjs7tqn.js → location-service-map-ayjs7tqn.js} +2 -2
- package/dist/chunks/{persistent-pty-ejef0twz.js → location-service-map-b0bkrffq.js} +15 -15
- package/dist/chunks/{persistent-pty-b0mv4wxm.js → location-service-map-b0mv4wxm.js} +2 -2
- package/dist/chunks/{persistent-pty-t9bqp2qp.js → location-service-map-bd45fzh3.js} +11 -11
- package/dist/chunks/{persistent-pty-c29kbh88.js → location-service-map-bemj2y7b.js} +38 -38
- package/dist/chunks/{persistent-pty-8fpr5ab5.js → location-service-map-bhsvbham.js} +18 -18
- package/dist/chunks/{persistent-pty-bjhzkqyk.js → location-service-map-bjhzkqyk.js} +1 -1
- package/dist/chunks/{persistent-pty-bstexjd6.js → location-service-map-bstexjd6.js} +1 -1
- package/dist/chunks/{persistent-pty-d5w3mt28.js → location-service-map-ctz1338s.js} +35 -35
- package/dist/chunks/{persistent-pty-7a6h672n.js → location-service-map-d00ejkj2.js} +28 -28
- package/dist/chunks/{persistent-pty-a4se2td7.js → location-service-map-d00p4xa9.js} +18 -18
- package/dist/chunks/{persistent-pty-ssfehs1z.js → location-service-map-d2887f8n.js} +4 -4
- package/dist/chunks/{persistent-pty-d4v9tmah.js → location-service-map-d4v9tmah.js} +2 -2
- package/dist/chunks/{persistent-pty-rc1szs54.js → location-service-map-d9x798yd.js} +6 -6
- package/dist/chunks/{persistent-pty-rp07j1kz.js → location-service-map-dh7axqeh.js} +16 -16
- package/dist/chunks/{persistent-pty-zkgq49d1.js → location-service-map-dk5xnaxx.js} +4 -4
- package/dist/chunks/{persistent-pty-tdc7za5y.js → location-service-map-dkdbv7e2.js} +11 -11
- package/dist/chunks/{persistent-pty-r6wgv8c9.js → location-service-map-dkq45v8d.js} +2 -2
- package/dist/chunks/{persistent-pty-5859qd6n.js → location-service-map-dqmnshvt.js} +13 -13
- package/dist/chunks/{persistent-pty-st7enesy.js → location-service-map-drtqd3vk.js} +8 -8
- package/dist/chunks/{persistent-pty-2gxrk7d9.js → location-service-map-dsd5z2sr.js} +21 -21
- package/dist/chunks/{persistent-pty-06ye6eb3.js → location-service-map-e3ym3z1q.js} +22 -22
- package/dist/chunks/{persistent-pty-217xj7j6.js → location-service-map-e4fwp3bx.js} +21 -21
- package/dist/chunks/{persistent-pty-z8wtpd65.js → location-service-map-e63tw6zr.js} +14 -14
- package/dist/chunks/{persistent-pty-1x1aw5pg.js → location-service-map-e6b8fvx8.js} +25 -25
- package/dist/chunks/{persistent-pty-e834z07m.js → location-service-map-e834z07m.js} +1 -1
- package/dist/chunks/{persistent-pty-tm64snjr.js → location-service-map-eayp7z6c.js} +3 -3
- package/dist/chunks/{persistent-pty-ef5x83kb.js → location-service-map-ef5x83kb.js} +1 -1
- package/dist/chunks/{persistent-pty-6zrn44nt.js → location-service-map-ejmz6kkm.js} +22 -22
- package/dist/chunks/{persistent-pty-xxgpgb2s.js → location-service-map-etsym5j7.js} +31 -31
- package/dist/chunks/{persistent-pty-v355h3zv.js → location-service-map-f0k0jrg1.js} +19 -19
- package/dist/chunks/{persistent-pty-4n958r4n.js → location-service-map-f6a8s9j6.js} +5 -5
- package/dist/chunks/{persistent-pty-fffv3p7h.js → location-service-map-fffv3p7h.js} +1 -1
- package/dist/chunks/{persistent-pty-zcz73n1t.js → location-service-map-ffxnyj3q.js} +6 -6
- package/dist/chunks/{persistent-pty-28xx6mqq.js → location-service-map-fgn5d73r.js} +36 -36
- package/dist/chunks/{persistent-pty-s4q2zy2p.js → location-service-map-fvvfx1zv.js} +193 -193
- package/dist/chunks/{persistent-pty-21shbp3c.js → location-service-map-fytkpx2m.js} +1 -1
- package/dist/chunks/{persistent-pty-s70gc4nz.js → location-service-map-g3j8z5p4.js} +29 -29
- package/dist/chunks/{persistent-pty-y1kds4da.js → location-service-map-g3s8w1rf.js} +3 -3
- package/dist/chunks/{persistent-pty-d068nwqk.js → location-service-map-g431yjwv.js} +51 -51
- package/dist/chunks/{persistent-pty-g5h9c0rr.js → location-service-map-g5h9c0rr.js} +2 -2
- package/dist/chunks/{persistent-pty-nfx626fp.js → location-service-map-g6wjc1x4.js} +32 -32
- package/dist/chunks/{persistent-pty-b3yw44ee.js → location-service-map-gah3njre.js} +16 -16
- package/dist/chunks/{persistent-pty-jpk6pjf6.js → location-service-map-gvcwdp68.js} +20 -20
- package/dist/chunks/{persistent-pty-dm97zhd4.js → location-service-map-gw690m90.js} +10 -10
- package/dist/chunks/{persistent-pty-3gv0spa2.js → location-service-map-h0rg6s60.js} +4 -4
- package/dist/chunks/{persistent-pty-qcbcpq9b.js → location-service-map-h8vvdn21.js} +68 -68
- package/dist/chunks/location-service-map-hmc8wnkn.js +26 -0
- package/dist/chunks/{persistent-pty-rv6cja6k.js → location-service-map-hpyhs3fr.js} +13 -13
- package/dist/chunks/{persistent-pty-phrpk49a.js → location-service-map-hw8460a0.js} +11 -11
- package/dist/chunks/{persistent-pty-j113cymg.js → location-service-map-j113cymg.js} +1 -1
- package/dist/chunks/{persistent-pty-hq18ybh7.js → location-service-map-j13zswh9.js} +8 -8
- package/dist/chunks/{persistent-pty-y0fkhhn3.js → location-service-map-j43965rx.js} +9 -9
- package/dist/chunks/{persistent-pty-8k8pzbp4.js → location-service-map-j49x6kf4.js} +8 -8
- package/dist/chunks/{persistent-pty-2vpteqgm.js → location-service-map-j71y8rmy.js} +27 -27
- package/dist/chunks/{persistent-pty-jneg3k74.js → location-service-map-jchrqzf6.js} +4 -4
- package/dist/chunks/{persistent-pty-z7nbqrf3.js → location-service-map-jq5wkjk8.js} +4 -4
- package/dist/chunks/{persistent-pty-mpsk2kx1.js → location-service-map-jypar2fs.js} +14 -14
- package/dist/chunks/{persistent-pty-k814nvkf.js → location-service-map-k814nvkf.js} +1 -1
- package/dist/chunks/{persistent-pty-xyv3ye4h.js → location-service-map-kb5qgkwh.js} +10 -10
- package/dist/chunks/{persistent-pty-dg56bc3d.js → location-service-map-kjedcq3q.js} +9 -9
- package/dist/chunks/{persistent-pty-vkgkh0jz.js → location-service-map-kvh9ftvy.js} +4 -4
- package/dist/chunks/{persistent-pty-nf3vvj52.js → location-service-map-kz6h04bd.js} +50 -50
- package/dist/chunks/{persistent-pty-m1714858.js → location-service-map-m1714858.js} +1 -1
- package/dist/chunks/{persistent-pty-vmfhgzt5.js → location-service-map-m37sd98t.js} +4 -4
- package/dist/chunks/{persistent-pty-xtd8sqng.js → location-service-map-m428dt5q.js} +26 -26
- package/dist/chunks/{persistent-pty-jaa51j8b.js → location-service-map-m4n0g2r5.js} +32 -32
- package/dist/chunks/{persistent-pty-m9w0rfyh.js → location-service-map-m9w0rfyh.js} +1 -1
- package/dist/chunks/{persistent-pty-maspj1v3.js → location-service-map-maspj1v3.js} +1 -1
- package/dist/chunks/{persistent-pty-q5j3x1t5.js → location-service-map-mrtxr4cp.js} +4 -4
- package/dist/chunks/{persistent-pty-yagn4zf7.js → location-service-map-mx438yzb.js} +18 -18
- package/dist/chunks/{persistent-pty-mp8k340y.js → location-service-map-mzrvsmc2.js} +4 -4
- package/dist/chunks/{persistent-pty-2sja5ejk.js → location-service-map-n0fgk9jt.js} +24 -24
- package/dist/chunks/{persistent-pty-n0p0277s.js → location-service-map-n0p0277s.js} +1 -1
- package/dist/chunks/{persistent-pty-7n4p8fby.js → location-service-map-n4vfsstt.js} +9 -9
- package/dist/chunks/{persistent-pty-g3z36636.js → location-service-map-n5ec28k5.js} +50 -50
- package/dist/chunks/{persistent-pty-5pdz8c62.js → location-service-map-na462m5h.js} +20 -20
- package/dist/chunks/{persistent-pty-770pw0s1.js → location-service-map-nah043kf.js} +4 -4
- package/dist/chunks/{persistent-pty-fpsgw1gs.js → location-service-map-nb5axcyq.js} +8 -8
- package/dist/chunks/{persistent-pty-z1k5tgn5.js → location-service-map-nch9as0x.js} +11 -11
- package/dist/chunks/{persistent-pty-mvb2bgyw.js → location-service-map-nj07n8jc.js} +58 -58
- package/dist/chunks/{persistent-pty-czrs21h8.js → location-service-map-nr8jt6t8.js} +22 -22
- package/dist/chunks/{persistent-pty-7rdhxjgc.js → location-service-map-nt999nhx.js} +17 -17
- package/dist/chunks/{persistent-pty-gg4d4fs9.js → location-service-map-nzm9dq78.js} +22 -22
- package/dist/chunks/{persistent-pty-p015t6z3.js → location-service-map-p015t6z3.js} +2 -2
- package/dist/chunks/{persistent-pty-ywqrvznk.js → location-service-map-p0cbjzex.js} +32 -32
- package/dist/chunks/{persistent-pty-qqg9c0kv.js → location-service-map-p0tsr9h6.js} +4 -4
- package/dist/chunks/{persistent-pty-0632eqgh.js → location-service-map-p2426226.js} +3 -3
- package/dist/chunks/{persistent-pty-c4phwmq5.js → location-service-map-p9jvgf3w.js} +6 -6
- package/dist/chunks/{persistent-pty-pknna89w.js → location-service-map-pknna89w.js} +1 -1
- package/dist/chunks/{persistent-pty-5fmnhnpa.js → location-service-map-pmy4yzzf.js} +29 -29
- package/dist/chunks/{persistent-pty-tk8b4vaq.js → location-service-map-ppr22hv7.js} +4 -4
- package/dist/chunks/{persistent-pty-ce3j1brk.js → location-service-map-q2yrdpfv.js} +5 -5
- package/dist/chunks/{persistent-pty-z64y35xa.js → location-service-map-q6s5gc9a.js} +3 -3
- package/dist/chunks/{persistent-pty-22nay2w2.js → location-service-map-q9s78g4e.js} +21 -21
- package/dist/chunks/{persistent-pty-1sxr849h.js → location-service-map-qbkx5tms.js} +18 -18
- package/dist/chunks/{persistent-pty-s8fhqc85.js → location-service-map-qbmvg479.js} +20 -20
- package/dist/chunks/{persistent-pty-qjgzc4b4.js → location-service-map-qjgzc4b4.js} +1 -1
- package/dist/chunks/{persistent-pty-nck0by46.js → location-service-map-qmthnpq9.js} +42 -42
- package/dist/chunks/{persistent-pty-ddabbtyq.js → location-service-map-qmx84djp.js} +9 -9
- package/dist/chunks/{persistent-pty-0rm6s08x.js → location-service-map-qrdfdxph.js} +5 -5
- package/dist/chunks/{persistent-pty-6fet8kw9.js → location-service-map-qrscgvzd.js} +30 -30
- package/dist/chunks/{persistent-pty-r0yr0wbs.js → location-service-map-r0yr0wbs.js} +1 -1
- package/dist/chunks/{persistent-pty-vwdcv50m.js → location-service-map-r35n27g2.js} +24 -24
- package/dist/chunks/{persistent-pty-8ccrat7s.js → location-service-map-r4qf8hg2.js} +31 -31
- package/dist/chunks/{persistent-pty-b6rq8t5k.js → location-service-map-r8bgrvjg.js} +12 -12
- package/dist/chunks/{persistent-pty-5pav4dzc.js → location-service-map-r8fhaa0s.js} +12 -12
- package/dist/chunks/{persistent-pty-tg1vr1qt.js → location-service-map-ra6js1h8.js} +8 -8
- package/dist/chunks/{persistent-pty-rb9dy4dg.js → location-service-map-rb9dy4dg.js} +1 -1
- package/dist/chunks/{persistent-pty-gshxnf6j.js → location-service-map-rhdbdzx3.js} +2 -2
- package/dist/chunks/{persistent-pty-0h92kc2j.js → location-service-map-rr7wf6ce.js} +49 -49
- package/dist/chunks/{persistent-pty-rt5dr6hb.js → location-service-map-rt5dr6hb.js} +1 -1
- package/dist/chunks/{persistent-pty-v0t96s7a.js → location-service-map-s7kyse9r.js} +4 -4
- package/dist/chunks/{persistent-pty-rxtgqbtn.js → location-service-map-s9kc5ksh.js} +7 -7
- package/dist/chunks/{persistent-pty-5gk89hyb.js → location-service-map-sc9zg7jb.js} +12 -12
- package/dist/chunks/{persistent-pty-5jdy5dqf.js → location-service-map-sdmn02p2.js} +11 -11
- package/dist/chunks/{persistent-pty-0napkvzb.js → location-service-map-se2sj8va.js} +7 -7
- package/dist/chunks/{persistent-pty-vrcsa8qx.js → location-service-map-smfcvx02.js} +9 -9
- package/dist/chunks/{persistent-pty-ehs73kjs.js → location-service-map-sq86wmmj.js} +17 -17
- package/dist/chunks/{persistent-pty-sqjzf8x2.js → location-service-map-sqjzf8x2.js} +1 -1
- package/dist/chunks/{persistent-pty-86e8kg08.js → location-service-map-t1ngx2fg.js} +22 -22
- package/dist/chunks/{persistent-pty-5ynz4802.js → location-service-map-t1xvrdec.js} +14 -14
- package/dist/chunks/{persistent-pty-04weq3x2.js → location-service-map-t72mevzp.js} +1 -1
- package/dist/chunks/{persistent-pty-hkex4stx.js → location-service-map-t8qws3g8.js} +12 -12
- package/dist/chunks/{persistent-pty-tczq8hjw.js → location-service-map-tczq8hjw.js} +1 -1
- package/dist/chunks/{persistent-pty-y19asze6.js → location-service-map-tdyhpgr0.js} +16 -16
- package/dist/chunks/{persistent-pty-cpnm63yh.js → location-service-map-tn28sp3a.js} +16 -16
- package/dist/chunks/{persistent-pty-tw8zr1ps.js → location-service-map-tw8zr1ps.js} +1 -1
- package/dist/chunks/{persistent-pty-twv2r8f4.js → location-service-map-twv2r8f4.js} +2 -2
- package/dist/chunks/{persistent-pty-6swdm730.js → location-service-map-tx2wf29d.js} +9 -9
- package/dist/chunks/{persistent-pty-rdatjt93.js → location-service-map-txs0e95y.js} +5 -5
- package/dist/chunks/{persistent-pty-tqam9rzv.js → location-service-map-v2eqhgdw.js} +27 -27
- package/dist/chunks/{persistent-pty-v2r1d0zg.js → location-service-map-v2r1d0zg.js} +1 -1
- package/dist/chunks/{persistent-pty-b07vwb4h.js → location-service-map-v4sey8dh.js} +14 -14
- package/dist/chunks/{persistent-pty-1yq9hg58.js → location-service-map-v9ez2kgh.js} +5 -5
- package/dist/chunks/{persistent-pty-vd3b3yk9.js → location-service-map-vd3b3yk9.js} +1 -1
- package/dist/chunks/{persistent-pty-veqvce7d.js → location-service-map-veqvce7d.js} +1 -1
- package/dist/chunks/{persistent-pty-3meb4hzg.js → location-service-map-vgpm9ca5.js} +22 -22
- package/dist/chunks/{persistent-pty-h3a8j4mf.js → location-service-map-vgw3dfza.js} +11 -11
- package/dist/chunks/{persistent-pty-n3ktk7aw.js → location-service-map-vmztxwx7.js} +22 -22
- package/dist/chunks/{persistent-pty-fszm4xf1.js → location-service-map-vzb2t1dt.js} +15 -15
- package/dist/chunks/{persistent-pty-kb4gstwj.js → location-service-map-w059c7vr.js} +5 -5
- package/dist/chunks/{persistent-pty-40za9wsf.js → location-service-map-w2eysc6j.js} +9 -9
- package/dist/chunks/{persistent-pty-w3wsvvr9.js → location-service-map-w3wsvvr9.js} +1 -1
- package/dist/chunks/{persistent-pty-37ebxhrk.js → location-service-map-w8j8mkqh.js} +25 -25
- package/dist/chunks/{persistent-pty-q5dphz2y.js → location-service-map-w9dsj9zn.js} +6 -6
- package/dist/chunks/{persistent-pty-b3xh8pxk.js → location-service-map-wa35tw6v.js} +17 -17
- package/dist/chunks/{persistent-pty-wakvkjy4.js → location-service-map-wakvkjy4.js} +1 -1
- package/dist/chunks/{persistent-pty-wd87259q.js → location-service-map-wd87259q.js} +1 -1
- package/dist/chunks/{persistent-pty-c3cfh5w6.js → location-service-map-wdmx20pv.js} +7 -7
- package/dist/chunks/{persistent-pty-rhz1gb3z.js → location-service-map-wk6xk37q.js} +12 -12
- package/dist/chunks/{persistent-pty-wk5gspz5.js → location-service-map-wksxchbw.js} +14 -14
- package/dist/chunks/{persistent-pty-5t3az672.js → location-service-map-wm5nwgxs.js} +9 -9
- package/dist/chunks/{persistent-pty-w687dnns.js → location-service-map-wr3re1en.js} +4 -4
- package/dist/chunks/{persistent-pty-8je04gjc.js → location-service-map-ww12ck0g.js} +20 -20
- package/dist/chunks/{persistent-pty-797shz3x.js → location-service-map-x6qr1hyp.js} +4 -4
- package/dist/chunks/{persistent-pty-bqwdyg2t.js → location-service-map-xrpfz6f8.js} +9 -9
- package/dist/chunks/{persistent-pty-46e84wtw.js → location-service-map-xzhqqqxc.js} +19 -19
- package/dist/chunks/{persistent-pty-edkmkvd1.js → location-service-map-y2s0ta7g.js} +32 -32
- package/dist/chunks/{persistent-pty-q00mhad8.js → location-service-map-y736c7qs.js} +18 -18
- package/dist/chunks/{persistent-pty-rd6jf492.js → location-service-map-y81cv5eb.js} +20 -20
- package/dist/chunks/{persistent-pty-yb20nhc3.js → location-service-map-yb20nhc3.js} +1 -1
- package/dist/chunks/{persistent-pty-v3az1vww.js → location-service-map-yb48csac.js} +49 -49
- package/dist/chunks/{persistent-pty-yhtma1qk.js → location-service-map-yccdn1y1.js} +7 -7
- package/dist/chunks/{persistent-pty-gt6rtydt.js → location-service-map-yexkrg4y.js} +11 -11
- package/dist/chunks/{persistent-pty-77wcnkh0.js → location-service-map-yg0c2r26.js} +3 -3
- package/dist/chunks/{persistent-pty-z0bkrqjs.js → location-service-map-z0bkrqjs.js} +1 -1
- package/dist/chunks/{persistent-pty-eab1f0bk.js → location-service-map-z35z7ez2.js} +4 -4
- package/dist/chunks/{persistent-pty-z38nccrw.js → location-service-map-z38nccrw.js} +1 -1
- package/dist/chunks/{persistent-pty-q5fas5yh.js → location-service-map-z9r2qbyv.js} +5 -5
- package/dist/chunks/{persistent-pty-g9ndtp1p.js → location-service-map-zdat2xwq.js} +4 -4
- package/dist/chunks/{persistent-pty-5r72z9dp.js → location-service-map-zg5bfpcj.js} +8 -8
- package/dist/chunks/{persistent-pty-81cr296g.js → location-service-map-zhq0k9nq.js} +4 -4
- package/dist/chunks/{persistent-pty-zkg84ctx.js → location-service-map-zkg84ctx.js} +1 -1
- package/dist/chunks/{persistent-pty-mwn61fym.js → location-service-map-zknj5k26.js} +29 -29
- package/dist/chunks/{persistent-pty-w8k0m0ac.js → location-service-map-zpzb2he9.js} +8 -8
- package/dist/chunks/{persistent-pty-m56xcexf.js → location-service-map-zqp8ase3.js} +24 -24
- package/dist/chunks/{persistent-pty-664py638.js → location-service-map-zwfqh4cf.js} +21 -21
- package/dist/codemode/catalog.js +1 -1
- package/dist/codemode/instructions.js +3 -3
- package/dist/codemode/tool.js +3 -3
- package/dist/codemode/web.js +1 -1
- package/dist/command.js +83 -83
- package/dist/config/discovery.js +84 -84
- package/dist/config/markdown.js +1 -1
- package/dist/config/normalize.js +101 -101
- package/dist/config/plugin/agent.js +118 -118
- package/dist/config/plugin/command.js +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 +121 -121
- 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 +1 -1
- package/dist/filesystem/search.js +101 -101
- package/dist/filesystem/watcher-binding.js +1 -1
- package/dist/filesystem/watcher.js +11 -11
- package/dist/filesystem.js +102 -102
- 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 +84 -84
- 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 +80 -80
- 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 +107 -107
- 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 +107 -107
- 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 +84 -84
- 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 +88 -88
- 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 +2 -2
- 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 +125 -125
- package/dist/plugin/provider/openai-context-caps.js +92 -92
- package/dist/plugin/provider/openai.js +116 -116
- 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 +6 -6
- 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 +93 -93
- 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 +132 -132
- 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 +13 -13
- package/dist/session/inbox.js +97 -97
- 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 +2 -2
- package/dist/session/message.js +1 -1
- package/dist/session/model-request.js +122 -122
- package/dist/session/model-transport.js +9 -9
- 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 +3 -3
- 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 +5 -5
- 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 +3 -3
- package/dist/session/title.js +168 -168
- package/dist/session/to-session-error.js +114 -114
- package/dist/session/transfer.js +220 -220
- package/dist/session/usage.js +1 -1
- package/dist/session.js +216 -216
- 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 +112 -112
- package/dist/snapshot.js +93 -93
- package/dist/state.js +1 -1
- package/dist/tool/html-markdown.js +1 -1
- package/dist/tool/http-body.js +1 -1
- package/dist/tool/mcp.js +139 -139
- package/dist/tool/plugin/edit.js +120 -120
- package/dist/tool/plugin/file-diff.js +1 -1
- package/dist/tool/plugin/glob.js +124 -124
- package/dist/tool/plugin/grep.js +124 -124
- package/dist/tool/plugin/mcp-resource.js +126 -126
- package/dist/tool/plugin/opencode.js +111 -111
- package/dist/tool/plugin/patch.js +124 -124
- package/dist/tool/plugin/question.js +105 -105
- package/dist/tool/plugin/read.js +127 -127
- 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 +138 -138
- package/dist/tool/plugin/webfetch.js +115 -115
- package/dist/tool/plugin/websearch.js +116 -116
- package/dist/tool/plugin/write.js +124 -124
- 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 +5 -5
- 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 +3 -3
- package/dist/v1/config/plugin.js +3 -3
- package/dist/v1/config/provider-options.js +1 -1
- package/dist/v1/config/provider.js +4 -4
- package/dist/variant.js +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 +78 -78
- package/dist/wellknown.js +83 -83
- package/dist/workspace/driver.js +7 -7
- package/dist/workspace/sql.js +1 -1
- package/dist/workspace.js +84 -84
- package/dist/worktree/directory.js +2 -2
- package/dist/worktree/git.js +10 -10
- package/dist/worktree/sql.js +5 -5
- package/dist/worktree/strategies.js +91 -91
- package/dist/worktree.js +100 -100
- package/package.json +8 -8
- package/dist/chunks/persistent-pty-3n162ras.js +0 -257
- package/dist/chunks/persistent-pty-eeqys4qb.js +0 -26
- package/dist/chunks/persistent-pty-mft421xc.js +0 -517
- package/dist/chunks/persistent-pty-vdh3rgac.js +0 -18
- /package/dist/chunks/{persistent-pty-0qkdqm5v.js → location-service-map-0qkdqm5v.js} +0 -0
- /package/dist/chunks/{persistent-pty-0zkw76rk.js → location-service-map-0zkw76rk.js} +0 -0
- /package/dist/chunks/{persistent-pty-17cy0kzp.js → location-service-map-17cy0kzp.js} +0 -0
- /package/dist/chunks/{persistent-pty-1cnp2v09.js → location-service-map-1cnp2v09.js} +0 -0
- /package/dist/chunks/{persistent-pty-24dcb14g.js → location-service-map-24dcb14g.js} +0 -0
- /package/dist/chunks/{persistent-pty-2710q6r3.js → location-service-map-2710q6r3.js} +0 -0
- /package/dist/chunks/{persistent-pty-2bv980vf.js → location-service-map-2bv980vf.js} +0 -0
- /package/dist/chunks/{persistent-pty-2c3vjs8z.js → location-service-map-2c3vjs8z.js} +0 -0
- /package/dist/chunks/{persistent-pty-359p4xyc.js → location-service-map-359p4xyc.js} +0 -0
- /package/dist/chunks/{persistent-pty-3asan66x.js → location-service-map-3asan66x.js} +0 -0
- /package/dist/chunks/{persistent-pty-3v8g72cx.js → location-service-map-3v8g72cx.js} +0 -0
- /package/dist/chunks/{persistent-pty-3wcehsnq.js → location-service-map-3wcehsnq.js} +0 -0
- /package/dist/chunks/{persistent-pty-43n2bw4t.js → location-service-map-43n2bw4t.js} +0 -0
- /package/dist/chunks/{persistent-pty-4knz6hnm.js → location-service-map-4knz6hnm.js} +0 -0
- /package/dist/chunks/{persistent-pty-4vcrnpx2.js → location-service-map-4vcrnpx2.js} +0 -0
- /package/dist/chunks/{persistent-pty-4y7fprxs.js → location-service-map-4y7fprxs.js} +0 -0
- /package/dist/chunks/{persistent-pty-53557ph1.js → location-service-map-53557ph1.js} +0 -0
- /package/dist/chunks/{persistent-pty-550bvhaj.js → location-service-map-550bvhaj.js} +0 -0
- /package/dist/chunks/{persistent-pty-5fjb7ams.js → location-service-map-5fjb7ams.js} +0 -0
- /package/dist/chunks/{persistent-pty-6prwharc.js → location-service-map-6prwharc.js} +0 -0
- /package/dist/chunks/{persistent-pty-6q2bdcd1.js → location-service-map-6q2bdcd1.js} +0 -0
- /package/dist/chunks/{persistent-pty-7akdwqpd.js → location-service-map-7akdwqpd.js} +0 -0
- /package/dist/chunks/{persistent-pty-7m9af43g.js → location-service-map-7m9af43g.js} +0 -0
- /package/dist/chunks/{persistent-pty-822emrt2.js → location-service-map-822emrt2.js} +0 -0
- /package/dist/chunks/{persistent-pty-84wd9syh.js → location-service-map-84wd9syh.js} +0 -0
- /package/dist/chunks/{persistent-pty-88xbtdfr.js → location-service-map-88xbtdfr.js} +0 -0
- /package/dist/chunks/{persistent-pty-8n3pysct.js → location-service-map-8n3pysct.js} +0 -0
- /package/dist/chunks/{persistent-pty-8wj87zfr.js → location-service-map-8wj87zfr.js} +0 -0
- /package/dist/chunks/{persistent-pty-9a4afbnw.js → location-service-map-9a4afbnw.js} +0 -0
- /package/dist/chunks/{persistent-pty-9rqn6x4v.js → location-service-map-9rqn6x4v.js} +0 -0
- /package/dist/chunks/{persistent-pty-a058387c.js → location-service-map-a058387c.js} +0 -0
- /package/dist/chunks/{persistent-pty-a6k6eb26.js → location-service-map-a6k6eb26.js} +0 -0
- /package/dist/chunks/{persistent-pty-af5trqkr.js → location-service-map-af5trqkr.js} +0 -0
- /package/dist/chunks/{persistent-pty-afrmfg78.js → location-service-map-afrmfg78.js} +0 -0
- /package/dist/chunks/{persistent-pty-aqzs7mqg.js → location-service-map-aqzs7mqg.js} +0 -0
- /package/dist/chunks/{persistent-pty-atq7p7m5.js → location-service-map-atq7p7m5.js} +0 -0
- /package/dist/chunks/{persistent-pty-bkyjaxrp.js → location-service-map-bkyjaxrp.js} +0 -0
- /package/dist/chunks/{persistent-pty-bmr6ed5q.js → location-service-map-bmr6ed5q.js} +0 -0
- /package/dist/chunks/{persistent-pty-cf4snx6d.js → location-service-map-cf4snx6d.js} +0 -0
- /package/dist/chunks/{persistent-pty-cvy3z8tj.js → location-service-map-cvy3z8tj.js} +0 -0
- /package/dist/chunks/{persistent-pty-d9fn303g.js → location-service-map-d9fn303g.js} +0 -0
- /package/dist/chunks/{persistent-pty-d9jj8t3e.js → location-service-map-d9jj8t3e.js} +0 -0
- /package/dist/chunks/{persistent-pty-dajrwvna.js → location-service-map-dajrwvna.js} +0 -0
- /package/dist/chunks/{persistent-pty-dap0rakb.js → location-service-map-dap0rakb.js} +0 -0
- /package/dist/chunks/{persistent-pty-df08tz66.js → location-service-map-df08tz66.js} +0 -0
- /package/dist/chunks/{persistent-pty-dy18nga0.js → location-service-map-dy18nga0.js} +0 -0
- /package/dist/chunks/{persistent-pty-e3qxr5gk.js → location-service-map-e3qxr5gk.js} +0 -0
- /package/dist/chunks/{persistent-pty-e5kj55wp.js → location-service-map-e5kj55wp.js} +0 -0
- /package/dist/chunks/{persistent-pty-e73j6tqm.js → location-service-map-e73j6tqm.js} +0 -0
- /package/dist/chunks/{persistent-pty-ec1grn59.js → location-service-map-ec1grn59.js} +0 -0
- /package/dist/chunks/{persistent-pty-eh3zwz77.js → location-service-map-eh3zwz77.js} +0 -0
- /package/dist/chunks/{persistent-pty-emrn6kk6.js → location-service-map-emrn6kk6.js} +0 -0
- /package/dist/chunks/{persistent-pty-f0mxakyp.js → location-service-map-f0mxakyp.js} +0 -0
- /package/dist/chunks/{persistent-pty-f6n9ztr4.js → location-service-map-f6n9ztr4.js} +0 -0
- /package/dist/chunks/{persistent-pty-faypxj3z.js → location-service-map-faypxj3z.js} +0 -0
- /package/dist/chunks/{persistent-pty-fd410y7t.js → location-service-map-fd410y7t.js} +0 -0
- /package/dist/chunks/{persistent-pty-g4wezp1m.js → location-service-map-g4wezp1m.js} +0 -0
- /package/dist/chunks/{persistent-pty-g86h250q.js → location-service-map-g86h250q.js} +0 -0
- /package/dist/chunks/{persistent-pty-gebd4c9n.js → location-service-map-gebd4c9n.js} +0 -0
- /package/dist/chunks/{persistent-pty-gftt206x.js → location-service-map-gftt206x.js} +0 -0
- /package/dist/chunks/{persistent-pty-hcxmzztb.js → location-service-map-hcxmzztb.js} +0 -0
- /package/dist/chunks/{persistent-pty-hk9envan.js → location-service-map-hk9envan.js} +0 -0
- /package/dist/chunks/{persistent-pty-j2ntwpah.js → location-service-map-j2ntwpah.js} +0 -0
- /package/dist/chunks/{persistent-pty-j5zkgpj8.js → location-service-map-j5zkgpj8.js} +0 -0
- /package/dist/chunks/{persistent-pty-jjkms2e6.js → location-service-map-jjkms2e6.js} +0 -0
- /package/dist/chunks/{persistent-pty-jr7sbwjy.js → location-service-map-jr7sbwjy.js} +0 -0
- /package/dist/chunks/{persistent-pty-jwfs4k6c.js → location-service-map-jwfs4k6c.js} +0 -0
- /package/dist/chunks/{persistent-pty-jze0r7bz.js → location-service-map-jze0r7bz.js} +0 -0
- /package/dist/chunks/{persistent-pty-jzg6c2d5.js → location-service-map-jzg6c2d5.js} +0 -0
- /package/dist/chunks/{persistent-pty-m18g726c.js → location-service-map-m18g726c.js} +0 -0
- /package/dist/chunks/{persistent-pty-mp448xyj.js → location-service-map-mp448xyj.js} +0 -0
- /package/dist/chunks/{persistent-pty-msx8hqn2.js → location-service-map-msx8hqn2.js} +0 -0
- /package/dist/chunks/{persistent-pty-n05xt0ee.js → location-service-map-n05xt0ee.js} +0 -0
- /package/dist/chunks/{persistent-pty-n3j8tn72.js → location-service-map-n3j8tn72.js} +0 -0
- /package/dist/chunks/{persistent-pty-njntx4h6.js → location-service-map-njntx4h6.js} +0 -0
- /package/dist/chunks/{persistent-pty-pkyv6v7h.js → location-service-map-pkyv6v7h.js} +0 -0
- /package/dist/chunks/{persistent-pty-q3sfg36h.js → location-service-map-q3sfg36h.js} +0 -0
- /package/dist/chunks/{persistent-pty-q74kybfr.js → location-service-map-q74kybfr.js} +0 -0
- /package/dist/chunks/{persistent-pty-qaymkmh1.js → location-service-map-qaymkmh1.js} +0 -0
- /package/dist/chunks/{persistent-pty-qb87gjwd.js → location-service-map-qb87gjwd.js} +0 -0
- /package/dist/chunks/{persistent-pty-qfa1cgps.js → location-service-map-qfa1cgps.js} +0 -0
- /package/dist/chunks/{persistent-pty-qg3g05ea.js → location-service-map-qg3g05ea.js} +0 -0
- /package/dist/chunks/{persistent-pty-qrg20bc0.js → location-service-map-qrg20bc0.js} +0 -0
- /package/dist/chunks/{persistent-pty-rcb2kzg1.js → location-service-map-rcb2kzg1.js} +0 -0
- /package/dist/chunks/{persistent-pty-sdp7kfr6.js → location-service-map-sdp7kfr6.js} +0 -0
- /package/dist/chunks/{persistent-pty-ssg3fenm.js → location-service-map-ssg3fenm.js} +0 -0
- /package/dist/chunks/{persistent-pty-ve7vex1e.js → location-service-map-ve7vex1e.js} +0 -0
- /package/dist/chunks/{persistent-pty-w803qqfp.js → location-service-map-w803qqfp.js} +0 -0
- /package/dist/chunks/{persistent-pty-wc3fc9cn.js → location-service-map-wc3fc9cn.js} +0 -0
- /package/dist/chunks/{persistent-pty-wer8tq1h.js → location-service-map-wer8tq1h.js} +0 -0
- /package/dist/chunks/{persistent-pty-wjj7prxr.js → location-service-map-wjj7prxr.js} +0 -0
- /package/dist/chunks/{persistent-pty-wtztk69x.js → location-service-map-wtztk69x.js} +0 -0
- /package/dist/chunks/{persistent-pty-x0ckcb58.js → location-service-map-x0ckcb58.js} +0 -0
- /package/dist/chunks/{persistent-pty-x61499pn.js → location-service-map-x61499pn.js} +0 -0
- /package/dist/chunks/{persistent-pty-y44na4kk.js → location-service-map-y44na4kk.js} +0 -0
- /package/dist/chunks/{persistent-pty-y8f7s663.js → location-service-map-y8f7s663.js} +0 -0
- /package/dist/chunks/{persistent-pty-ygaqb7jw.js → location-service-map-ygaqb7jw.js} +0 -0
- /package/dist/chunks/{persistent-pty-ym463w8f.js → location-service-map-ym463w8f.js} +0 -0
- /package/dist/chunks/{persistent-pty-z5v4ffb3.js → location-service-map-z5v4ffb3.js} +0 -0
- /package/dist/chunks/{persistent-pty-z9919s4g.js → location-service-map-z9919s4g.js} +0 -0
|
@@ -2,26 +2,26 @@ import {
|
|
|
2
2
|
NonNegativeInt2,
|
|
3
3
|
PositiveInt2,
|
|
4
4
|
RelativePath2
|
|
5
|
-
} from "./
|
|
5
|
+
} from "./location-service-map-z5v4ffb3.js";
|
|
6
6
|
import {
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
} from "./
|
|
7
|
+
Service72,
|
|
8
|
+
node74
|
|
9
|
+
} from "./location-service-map-1sme1v1k.js";
|
|
10
10
|
import {
|
|
11
11
|
RipgrepBinary2
|
|
12
|
-
} from "./
|
|
12
|
+
} from "./location-service-map-maspj1v3.js";
|
|
13
13
|
import {
|
|
14
14
|
__export
|
|
15
|
-
} from "./
|
|
15
|
+
} from "./location-service-map-9rqn6x4v.js";
|
|
16
16
|
|
|
17
17
|
// src/ripgrep.ts
|
|
18
18
|
var exports_ripgrep = {};
|
|
19
19
|
__export(exports_ripgrep, {
|
|
20
|
-
Error: () =>
|
|
20
|
+
Error: () => Error4,
|
|
21
21
|
InvalidPatternError: () => InvalidPatternError2,
|
|
22
22
|
Ripgrep: () => exports_ripgrep,
|
|
23
|
-
Service: () =>
|
|
24
|
-
node: () =>
|
|
23
|
+
Service: () => Service51,
|
|
24
|
+
node: () => node53
|
|
25
25
|
});
|
|
26
26
|
import { Context, Effect, Fiber, Layer, Schema, Stream } from "effect";
|
|
27
27
|
import { ChildProcess } from "effect/process";
|
|
@@ -46,7 +46,7 @@ var RawMatch = Schema.Struct({
|
|
|
46
46
|
});
|
|
47
47
|
var decodeJsonRecord = Schema.decodeUnknownEffect(Schema.fromJsonString(Schema.Unknown));
|
|
48
48
|
|
|
49
|
-
class
|
|
49
|
+
class Error4 extends Schema.TaggedError()("Ripgrep.Error", {
|
|
50
50
|
message: Schema.String,
|
|
51
51
|
cause: Schema.optional(Schema.Defect())
|
|
52
52
|
}) {
|
|
@@ -58,13 +58,13 @@ class InvalidPatternError2 extends Schema.TaggedError()("Ripgrep.InvalidPatternE
|
|
|
58
58
|
}) {
|
|
59
59
|
}
|
|
60
60
|
|
|
61
|
-
class
|
|
61
|
+
class Service51 extends Context.Service()("@opencode/Ripgrep") {
|
|
62
62
|
}
|
|
63
|
-
var failure = (message, cause) => new
|
|
63
|
+
var failure = (message, cause) => new Error4({ message, cause });
|
|
64
64
|
var normalizePath = (value) => value.replace(/^(?:\.[\\/])+/u, "").replace(/^[\\/]+/u, "").replaceAll("\\", "/");
|
|
65
65
|
var isInvalidPattern = (stderr) => stderr.includes("regex parse error") || stderr.includes("error parsing regex");
|
|
66
|
-
var layer = Layer.effect(
|
|
67
|
-
const environment = yield*
|
|
66
|
+
var layer = Layer.effect(Service51, Effect.gen(function* () {
|
|
67
|
+
const environment = yield* Service72;
|
|
68
68
|
const binary = yield* RipgrepBinary2.Service;
|
|
69
69
|
const run = (input) => {
|
|
70
70
|
const program = Effect.scoped(Effect.gen(function* () {
|
|
@@ -90,9 +90,9 @@ var layer = Layer.effect(Service38, Effect.gen(function* () {
|
|
|
90
90
|
return code === 1 ? [] : rows;
|
|
91
91
|
}));
|
|
92
92
|
const abortable = input.signal ? program.pipe(Effect.raceFirst(waitForAbort(input.signal))) : program;
|
|
93
|
-
return abortable.pipe(Effect.mapError((cause) => cause instanceof
|
|
93
|
+
return abortable.pipe(Effect.mapError((cause) => cause instanceof Error4 || cause instanceof InvalidPatternError2 ? cause : failure("ripgrep execution failed", cause)));
|
|
94
94
|
};
|
|
95
|
-
return
|
|
95
|
+
return Service51.of({
|
|
96
96
|
glob: (input) => run({
|
|
97
97
|
cwd: input.cwd,
|
|
98
98
|
limit: input.limit,
|
|
@@ -175,6 +175,6 @@ var layer = Layer.effect(Service38, Effect.gen(function* () {
|
|
|
175
175
|
}))))
|
|
176
176
|
});
|
|
177
177
|
}));
|
|
178
|
-
var
|
|
178
|
+
var node53 = makeLocationNode({ service: Service51, layer, deps: [node74, RipgrepBinary2.node] });
|
|
179
179
|
|
|
180
|
-
export {
|
|
180
|
+
export { Error4, InvalidPatternError2, Service51, node53, exports_ripgrep };
|
|
@@ -1,30 +1,30 @@
|
|
|
1
1
|
import {
|
|
2
2
|
latest2,
|
|
3
|
-
|
|
4
|
-
} from "./
|
|
3
|
+
Service64
|
|
4
|
+
} from "./location-service-map-rr7wf6ce.js";
|
|
5
5
|
import {
|
|
6
|
-
|
|
7
|
-
} from "./
|
|
6
|
+
Service38
|
|
7
|
+
} from "./location-service-map-0r6mtjdh.js";
|
|
8
8
|
import {
|
|
9
9
|
observe2
|
|
10
|
-
} from "./
|
|
10
|
+
} from "./location-service-map-6pjqjmy2.js";
|
|
11
11
|
import {
|
|
12
12
|
__export
|
|
13
|
-
} from "./
|
|
13
|
+
} from "./location-service-map-9rqn6x4v.js";
|
|
14
14
|
|
|
15
15
|
// src/config/plugin/snapshot.ts
|
|
16
16
|
var exports_snapshot = {};
|
|
17
17
|
__export(exports_snapshot, {
|
|
18
18
|
ConfigSnapshotPlugin: () => exports_snapshot,
|
|
19
|
-
Plugin: () =>
|
|
19
|
+
Plugin: () => Plugin7
|
|
20
20
|
});
|
|
21
21
|
import { define } from "@opencode/plugin/effect/plugin";
|
|
22
22
|
import { Effect } from "effect";
|
|
23
|
-
var
|
|
23
|
+
var Plugin7 = define({
|
|
24
24
|
id: "opencode.config.snapshot",
|
|
25
25
|
effect: Effect.fn(function* (ctx) {
|
|
26
|
-
const config = yield*
|
|
27
|
-
const snapshot = yield*
|
|
26
|
+
const config = yield* Service64;
|
|
27
|
+
const snapshot = yield* Service38;
|
|
28
28
|
const loaded = yield* observe2(config, ctx.event, snapshot.reload());
|
|
29
29
|
yield* snapshot.transform((editor) => {
|
|
30
30
|
const configured = latest2(loaded.entries, "snapshots");
|
|
@@ -35,4 +35,4 @@ var Plugin36 = define({
|
|
|
35
35
|
})
|
|
36
36
|
});
|
|
37
37
|
|
|
38
|
-
export {
|
|
38
|
+
export { Plugin7, exports_snapshot };
|
|
@@ -1,39 +1,39 @@
|
|
|
1
1
|
import {
|
|
2
2
|
AbsolutePath2
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./location-service-map-z5v4ffb3.js";
|
|
4
4
|
import {
|
|
5
|
-
|
|
6
|
-
} from "./
|
|
5
|
+
Service80
|
|
6
|
+
} from "./location-service-map-3xbacp9g.js";
|
|
7
7
|
import {
|
|
8
|
-
|
|
9
|
-
} from "./
|
|
8
|
+
Service64
|
|
9
|
+
} from "./location-service-map-rr7wf6ce.js";
|
|
10
10
|
import {
|
|
11
|
-
|
|
12
|
-
} from "./
|
|
11
|
+
Service23
|
|
12
|
+
} from "./location-service-map-q9s78g4e.js";
|
|
13
13
|
import {
|
|
14
14
|
observe2
|
|
15
|
-
} from "./
|
|
15
|
+
} from "./location-service-map-6pjqjmy2.js";
|
|
16
16
|
import {
|
|
17
17
|
__export
|
|
18
|
-
} from "./
|
|
18
|
+
} from "./location-service-map-9rqn6x4v.js";
|
|
19
19
|
|
|
20
20
|
// src/config/plugin/worktree.ts
|
|
21
21
|
var exports_worktree = {};
|
|
22
22
|
__export(exports_worktree, {
|
|
23
23
|
ConfigWorktreePlugin: () => exports_worktree,
|
|
24
|
-
Plugin: () =>
|
|
24
|
+
Plugin: () => Plugin20
|
|
25
25
|
});
|
|
26
26
|
import { define } from "@opencode/plugin/effect/plugin";
|
|
27
27
|
import { Effect } from "effect";
|
|
28
28
|
import path from "path";
|
|
29
29
|
import { Global } from "@opencode/util/global";
|
|
30
|
-
var
|
|
30
|
+
var Plugin20 = define({
|
|
31
31
|
id: "opencode.config.worktree",
|
|
32
32
|
effect: Effect.fn(function* (ctx) {
|
|
33
|
-
const config = yield*
|
|
34
|
-
const location = yield*
|
|
33
|
+
const config = yield* Service64;
|
|
34
|
+
const location = yield* Service80;
|
|
35
35
|
const global = yield* Global.Service;
|
|
36
|
-
const worktrees = yield*
|
|
36
|
+
const worktrees = yield* Service23;
|
|
37
37
|
const loaded = yield* observe2(config, ctx.event, worktrees.reload());
|
|
38
38
|
yield* worktrees.transform((editor) => {
|
|
39
39
|
for (const entry of loaded.entries) {
|
|
@@ -48,4 +48,4 @@ var Plugin49 = define({
|
|
|
48
48
|
})
|
|
49
49
|
});
|
|
50
50
|
|
|
51
|
-
export {
|
|
51
|
+
export { Plugin20, exports_worktree };
|
|
@@ -1,31 +1,31 @@
|
|
|
1
1
|
import {
|
|
2
2
|
Key3,
|
|
3
3
|
removed2,
|
|
4
|
-
|
|
4
|
+
make19,
|
|
5
5
|
diffByKey2
|
|
6
|
-
} from "./
|
|
6
|
+
} from "./location-service-map-jchrqzf6.js";
|
|
7
7
|
import {
|
|
8
|
-
|
|
8
|
+
ID5,
|
|
9
9
|
Name2,
|
|
10
10
|
available2,
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
} from "./
|
|
11
|
+
Service50,
|
|
12
|
+
node52
|
|
13
|
+
} from "./location-service-map-188drt2q.js";
|
|
14
14
|
import {
|
|
15
15
|
__export
|
|
16
|
-
} from "./
|
|
16
|
+
} from "./location-service-map-9rqn6x4v.js";
|
|
17
17
|
|
|
18
18
|
// src/skill/instructions.ts
|
|
19
|
-
var
|
|
20
|
-
__export(
|
|
21
|
-
Service: () =>
|
|
22
|
-
SkillInstructions: () =>
|
|
23
|
-
node: () =>
|
|
19
|
+
var exports_instructions4 = {};
|
|
20
|
+
__export(exports_instructions4, {
|
|
21
|
+
Service: () => Service28,
|
|
22
|
+
SkillInstructions: () => exports_instructions4,
|
|
23
|
+
node: () => node31
|
|
24
24
|
});
|
|
25
25
|
import { makeLocationNode } from "@opencode/util/effect/app-node";
|
|
26
26
|
import { Context, Effect, Layer, Schema } from "effect";
|
|
27
27
|
var Summary = Schema.Struct({
|
|
28
|
-
id:
|
|
28
|
+
id: ID5,
|
|
29
29
|
name: Name2,
|
|
30
30
|
description: Schema.String
|
|
31
31
|
});
|
|
@@ -64,14 +64,14 @@ var update = (previous, current) => {
|
|
|
64
64
|
`);
|
|
65
65
|
};
|
|
66
66
|
|
|
67
|
-
class
|
|
67
|
+
class Service28 extends Context.Service()("@opencode/SkillInstructions") {
|
|
68
68
|
}
|
|
69
|
-
var layer = Layer.effect(
|
|
70
|
-
const skills = yield*
|
|
71
|
-
return
|
|
69
|
+
var layer = Layer.effect(Service28, Effect.gen(function* () {
|
|
70
|
+
const skills = yield* Service50;
|
|
71
|
+
return Service28.of({
|
|
72
72
|
load: Effect.fn("SkillInstructions.load")(function* (permissions) {
|
|
73
73
|
const available = available2(yield* skills.list(), permissions).flatMap((skill) => skill.description === undefined || skill.autoinvoke === false ? [] : [{ id: skill.id, name: skill.name, description: skill.description }]).toSorted((a, b) => a.id.localeCompare(b.id));
|
|
74
|
-
return
|
|
74
|
+
return make19({
|
|
75
75
|
key: Key3.make("core/skill-guidance"),
|
|
76
76
|
codec: Schema.toCodecJson(Schema.Array(Summary)),
|
|
77
77
|
read: Effect.succeed(available.length === 0 ? removed2 : available),
|
|
@@ -84,6 +84,6 @@ var layer = Layer.effect(Service26, Effect.gen(function* () {
|
|
|
84
84
|
})
|
|
85
85
|
});
|
|
86
86
|
}));
|
|
87
|
-
var
|
|
87
|
+
var node31 = makeLocationNode({ service: Service28, layer, deps: [node52] });
|
|
88
88
|
|
|
89
|
-
export {
|
|
89
|
+
export { Service28, node31, exports_instructions4 };
|
|
@@ -1,15 +1,15 @@
|
|
|
1
1
|
import {
|
|
2
2
|
PositiveInt2
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./location-service-map-z5v4ffb3.js";
|
|
4
4
|
import {
|
|
5
5
|
__export
|
|
6
|
-
} from "./
|
|
6
|
+
} from "./location-service-map-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: () => Info16,
|
|
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 Info16 = 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 Info17 = 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, Info16, exports_provider2 };
|
|
@@ -1,34 +1,34 @@
|
|
|
1
1
|
import {
|
|
2
2
|
useragent2
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./location-service-map-vgw3dfza.js";
|
|
4
4
|
import {
|
|
5
|
-
|
|
6
|
-
} from "./
|
|
5
|
+
Service84
|
|
6
|
+
} from "./location-service-map-r8fhaa0s.js";
|
|
7
7
|
import {
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
} from "./
|
|
8
|
+
ID14,
|
|
9
|
+
Event17,
|
|
10
|
+
Service78
|
|
11
|
+
} from "./location-service-map-4ed14fdp.js";
|
|
12
12
|
import {
|
|
13
13
|
key2
|
|
14
|
-
} from "./
|
|
14
|
+
} from "./location-service-map-bjhzkqyk.js";
|
|
15
15
|
import {
|
|
16
|
-
|
|
16
|
+
ID13,
|
|
17
17
|
MethodID2
|
|
18
|
-
} from "./
|
|
18
|
+
} from "./location-service-map-m428dt5q.js";
|
|
19
19
|
import {
|
|
20
20
|
which2
|
|
21
|
-
} from "./
|
|
21
|
+
} from "./location-service-map-qaymkmh1.js";
|
|
22
22
|
import {
|
|
23
|
-
|
|
24
|
-
|
|
25
|
-
} from "./
|
|
23
|
+
ID12,
|
|
24
|
+
Service76
|
|
25
|
+
} from "./location-service-map-qrscgvzd.js";
|
|
26
26
|
import {
|
|
27
|
-
|
|
28
|
-
} from "./
|
|
27
|
+
ID11
|
|
28
|
+
} from "./location-service-map-g6wjc1x4.js";
|
|
29
29
|
import {
|
|
30
30
|
configuredSettings2
|
|
31
|
-
} from "./
|
|
31
|
+
} from "./location-service-map-9abkctgc.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 make10(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(ID12.azure);
|
|
74
74
|
const processes = yield* AppProcess.Service;
|
|
75
|
-
const bus = yield*
|
|
76
|
-
const credentials = yield*
|
|
77
|
-
const providers = yield*
|
|
75
|
+
const bus = yield* Service84;
|
|
76
|
+
const credentials = yield* Service78;
|
|
77
|
+
const providers = yield* Service76;
|
|
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 make6(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: ID12.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: ID12.azure,
|
|
108
108
|
method: {
|
|
109
109
|
type: "key",
|
|
110
110
|
label: "API key",
|
|
@@ -122,7 +122,7 @@ function make6(endpoints = {
|
|
|
122
122
|
if (!available)
|
|
123
123
|
return;
|
|
124
124
|
editor.method.update({
|
|
125
|
-
integrationID:
|
|
125
|
+
integrationID: ID12.azure,
|
|
126
126
|
method: {
|
|
127
127
|
id: methodID,
|
|
128
128
|
type: "external",
|
|
@@ -142,8 +142,8 @@ function make6(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(ID12.azure);
|
|
146
|
+
const stored = connection?.type === "credential" ? yield* credentials.get(ID14.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 make6(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(ID12.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 make6(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(ID12.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(ID12.azure)?.models.keys() ?? [], (id) => [
|
|
212
212
|
id.toLowerCase(),
|
|
213
213
|
id
|
|
214
214
|
]));
|
|
@@ -221,11 +221,11 @@ function make6(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 === ID12.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 !== ID12.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 make6(endpoints = {
|
|
|
240
240
|
};
|
|
241
241
|
});
|
|
242
242
|
}
|
|
243
|
-
const item = evt.get(
|
|
243
|
+
const item = evt.get(ID12.azure);
|
|
244
244
|
if (!item)
|
|
245
245
|
return;
|
|
246
246
|
evt.add({
|
|
@@ -251,7 +251,7 @@ function make6(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 !== ID12.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 make6(endpoints = {
|
|
|
263
263
|
}
|
|
264
264
|
if (!loaded.deployments)
|
|
265
265
|
return;
|
|
266
|
-
const catalog = models.list(
|
|
266
|
+
const catalog = models.list(ID12.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(ID12.azure, model.id);
|
|
271
271
|
}
|
|
272
272
|
for (const [id, model] of deployed) {
|
|
273
|
-
models.update(
|
|
273
|
+
models.update(ID12.azure, id, (draft) => Object.assign(draft, model));
|
|
274
274
|
}
|
|
275
275
|
});
|
|
276
|
-
yield* bus.subscribe(
|
|
276
|
+
yield* bus.subscribe(Event17.Switched).pipe(Stream.filter((event) => event.data.integrationID === ID13.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(ID12.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 make6(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 !== ID12.azure)
|
|
292
292
|
return;
|
|
293
293
|
const authorization = yield* bearer(evt.request.url);
|
|
294
294
|
if (!authorization)
|
|
@@ -297,9 +297,9 @@ function make6(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: ID12.azure });
|
|
301
301
|
yield* ctx.session.hook("experimental.ws.handshake", (evt) => Effect.gen(function* () {
|
|
302
|
-
if (evt.model.providerID !==
|
|
302
|
+
if (evt.model.providerID !== ID12.azure)
|
|
303
303
|
return;
|
|
304
304
|
const authorization = yield* bearer(evt.url);
|
|
305
305
|
if (!authorization)
|
|
@@ -308,11 +308,11 @@ function make6(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: ID12.azure });
|
|
312
312
|
})
|
|
313
313
|
});
|
|
314
314
|
}
|
|
315
|
-
var AzurePlugin2 =
|
|
315
|
+
var AzurePlugin2 = make10();
|
|
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 = ID11.make(deployment.name.toLowerCase());
|
|
346
346
|
const info = {
|
|
347
347
|
...structuredClone(model),
|
|
348
348
|
id,
|
|
349
|
-
modelID:
|
|
349
|
+
modelID: ID11.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 { make10, AzurePlugin2 };
|
|
@@ -1,22 +1,22 @@
|
|
|
1
1
|
import {
|
|
2
2
|
__export
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./location-service-map-9rqn6x4v.js";
|
|
4
4
|
|
|
5
5
|
// src/session/environment.ts
|
|
6
6
|
var exports_environment = {};
|
|
7
7
|
__export(exports_environment, {
|
|
8
|
-
Service: () =>
|
|
8
|
+
Service: () => Service62,
|
|
9
9
|
SessionEnvironment: () => exports_environment,
|
|
10
|
-
node: () =>
|
|
10
|
+
node: () => node64
|
|
11
11
|
});
|
|
12
12
|
import { Context, Effect, Layer } from "effect";
|
|
13
13
|
import { makeGlobalNode } from "@opencode/util/effect/app-node";
|
|
14
14
|
|
|
15
|
-
class
|
|
15
|
+
class Service62 extends Context.Service()("@opencode/SessionEnvironment") {
|
|
16
16
|
}
|
|
17
|
-
var layer = Layer.sync(
|
|
17
|
+
var layer = Layer.sync(Service62, () => {
|
|
18
18
|
const environments = new Map;
|
|
19
|
-
return
|
|
19
|
+
return Service62.of({
|
|
20
20
|
get: (sessionID) => Effect.sync(() => environments.get(sessionID)),
|
|
21
21
|
set: (sessionID, variables) => Effect.sync(() => {
|
|
22
22
|
environments.set(sessionID, { ...variables });
|
|
@@ -26,6 +26,6 @@ var layer = Layer.sync(Service51, () => {
|
|
|
26
26
|
})
|
|
27
27
|
});
|
|
28
28
|
});
|
|
29
|
-
var
|
|
29
|
+
var node64 = makeGlobalNode({ service: Service62, layer, deps: [] });
|
|
30
30
|
|
|
31
|
-
export {
|
|
31
|
+
export { Service62, node64, exports_environment };
|
|
@@ -2,7 +2,7 @@ import {
|
|
|
2
2
|
getTableColumnsRuntime2,
|
|
3
3
|
orderSelectedFields2,
|
|
4
4
|
mapUpdateSet2
|
|
5
|
-
} from "./
|
|
5
|
+
} from "./location-service-map-emrn6kk6.js";
|
|
6
6
|
|
|
7
7
|
// src/database/drizzle/sqlite-core/effect/insert.ts
|
|
8
8
|
import { applyEffectWrapper } from "drizzle-orm/effect-core/query-effect";
|