@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
|
@@ -1,60 +1,60 @@
|
|
|
1
1
|
import {
|
|
2
2
|
makeUnsafe2
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./location-service-map-qjgzc4b4.js";
|
|
4
4
|
import {
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
} from "./
|
|
5
|
+
Service84,
|
|
6
|
+
node88
|
|
7
|
+
} from "./location-service-map-r8fhaa0s.js";
|
|
8
8
|
import {
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
} from "./
|
|
9
|
+
Event17,
|
|
10
|
+
Service78,
|
|
11
|
+
node81
|
|
12
|
+
} from "./location-service-map-4ed14fdp.js";
|
|
13
13
|
import {
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
} from "./
|
|
14
|
+
Service80,
|
|
15
|
+
node83
|
|
16
|
+
} from "./location-service-map-3xbacp9g.js";
|
|
17
17
|
import {
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
} from "./
|
|
18
|
+
Service72,
|
|
19
|
+
node74
|
|
20
|
+
} from "./location-service-map-1sme1v1k.js";
|
|
21
21
|
import {
|
|
22
|
-
|
|
23
|
-
|
|
24
|
-
|
|
25
|
-
} from "./
|
|
22
|
+
ID15,
|
|
23
|
+
Service79,
|
|
24
|
+
node82
|
|
25
|
+
} from "./location-service-map-nzm9dq78.js";
|
|
26
26
|
import {
|
|
27
27
|
reconcile2,
|
|
28
28
|
create3
|
|
29
|
-
} from "./
|
|
29
|
+
} from "./location-service-map-vd3b3yk9.js";
|
|
30
30
|
import {
|
|
31
|
-
|
|
31
|
+
ID13,
|
|
32
32
|
MethodID2,
|
|
33
|
-
|
|
34
|
-
|
|
35
|
-
} from "./
|
|
33
|
+
Service77,
|
|
34
|
+
node80
|
|
35
|
+
} from "./location-service-map-m428dt5q.js";
|
|
36
36
|
import {
|
|
37
37
|
__export
|
|
38
|
-
} from "./
|
|
38
|
+
} from "./location-service-map-9rqn6x4v.js";
|
|
39
39
|
|
|
40
40
|
// src/mcp/index.ts
|
|
41
41
|
var exports_mcp4 = {};
|
|
42
42
|
__export(exports_mcp4, {
|
|
43
43
|
Mcp: () => exports_mcp4,
|
|
44
44
|
NotFoundError: () => NotFoundError3,
|
|
45
|
-
Options: () =>
|
|
45
|
+
Options: () => Options2,
|
|
46
46
|
PromptsChanged: () => PromptsChanged2,
|
|
47
47
|
Resource: () => Resource2,
|
|
48
48
|
ResourceCatalog: () => ResourceCatalog2,
|
|
49
49
|
ResourceContent: () => ResourceContent2,
|
|
50
50
|
ResourceTemplate: () => ResourceTemplate2,
|
|
51
51
|
ServerName: () => ServerName2,
|
|
52
|
-
Service: () =>
|
|
52
|
+
Service: () => Service37,
|
|
53
53
|
Status: () => Status2,
|
|
54
54
|
ToolCallError: () => ToolCallError2,
|
|
55
|
-
configured: () =>
|
|
55
|
+
configured: () => configured2,
|
|
56
56
|
layer: () => layer16,
|
|
57
|
-
node: () =>
|
|
57
|
+
node: () => node40
|
|
58
58
|
});
|
|
59
59
|
import { Mcp } from "@opencode/schema/mcp";
|
|
60
60
|
import { McpEvent } from "@opencode/schema/mcp-event";
|
|
@@ -104,21 +104,21 @@ var URL_ELICITATION_FIELD_KEY = "elicitation";
|
|
|
104
104
|
var endpointLoads = makeUnsafe2();
|
|
105
105
|
var cloneConfig = (config) => structuredClone(config);
|
|
106
106
|
|
|
107
|
-
class
|
|
107
|
+
class Service37 extends Context.Service()("@opencode/MCP") {
|
|
108
108
|
}
|
|
109
|
-
var
|
|
109
|
+
var Options2 = Schema.Struct({
|
|
110
110
|
clientInfo: Schema.optional(Schema.Struct({
|
|
111
111
|
name: Schema.String,
|
|
112
112
|
version: Schema.String
|
|
113
113
|
}))
|
|
114
114
|
});
|
|
115
|
-
var layer16 = (options) => Layer.effect(
|
|
116
|
-
const location = yield*
|
|
117
|
-
const environment = yield*
|
|
118
|
-
const bus = yield*
|
|
119
|
-
const forms = yield*
|
|
120
|
-
const integration = yield*
|
|
121
|
-
const credentials = yield*
|
|
115
|
+
var layer16 = (options) => Layer.effect(Service37, Effect.gen(function* () {
|
|
116
|
+
const location = yield* Service80;
|
|
117
|
+
const environment = yield* Service72;
|
|
118
|
+
const bus = yield* Service84;
|
|
119
|
+
const forms = yield* Service79;
|
|
120
|
+
const integration = yield* Service77;
|
|
121
|
+
const credentials = yield* Service78;
|
|
122
122
|
const root = yield* Effect.scope;
|
|
123
123
|
const fork = yield* FiberSet.makeRuntime();
|
|
124
124
|
const servers = yield* Scope.fork(root, "parallel");
|
|
@@ -133,7 +133,7 @@ var layer16 = (options) => Layer.effect(Service33, Effect.gen(function* () {
|
|
|
133
133
|
return;
|
|
134
134
|
const remote = entry.config;
|
|
135
135
|
const suffix = "mcp_" + createHash("sha1").update(name + "\x00" + remote.url).digest("hex").slice(0, 16);
|
|
136
|
-
const integrationID =
|
|
136
|
+
const integrationID = ID13.make(suffix);
|
|
137
137
|
entry.integrationID = integrationID;
|
|
138
138
|
owned.add(integrationID);
|
|
139
139
|
const methodID = MethodID2.make(suffix);
|
|
@@ -149,7 +149,7 @@ var layer16 = (options) => Layer.effect(Service33, Effect.gen(function* () {
|
|
|
149
149
|
method: { id: methodID, type: "oauth", label: name },
|
|
150
150
|
authorize: () => Effect.gen(function* () {
|
|
151
151
|
const { McpOAuth } = yield* Effect.promise(() => import("../mcp/oauth.js"));
|
|
152
|
-
return yield* McpOAuth.authorize({ name, config: remote, integrationID, methodID }).pipe(Effect.provideService(
|
|
152
|
+
return yield* McpOAuth.authorize({ name, config: remote, integrationID, methodID }).pipe(Effect.provideService(Service78, credentials));
|
|
153
153
|
})
|
|
154
154
|
});
|
|
155
155
|
}).pipe(Scope.provide(scope));
|
|
@@ -164,12 +164,12 @@ var layer16 = (options) => Layer.effect(Service33, Effect.gen(function* () {
|
|
|
164
164
|
if (entry.config.type !== "remote" || !entry.integrationID)
|
|
165
165
|
return;
|
|
166
166
|
const { McpOAuth } = yield* Effect.promise(() => import("../mcp/oauth.js"));
|
|
167
|
-
return yield* McpOAuth.connectProvider({ config: entry.config, integrationID: entry.integrationID }).pipe(Effect.provideService(
|
|
167
|
+
return yield* McpOAuth.connectProvider({ config: entry.config, integrationID: entry.integrationID }).pipe(Effect.provideService(Service78, credentials));
|
|
168
168
|
});
|
|
169
169
|
const elicitation = {
|
|
170
170
|
create: (input) => Effect.gen(function* () {
|
|
171
171
|
if (input.params.mode === "url") {
|
|
172
|
-
const formID =
|
|
172
|
+
const formID = ID15.create();
|
|
173
173
|
const elicitationID = input.params.elicitationId;
|
|
174
174
|
const key = elicitationID === undefined ? undefined : input.server + "\x00" + elicitationID;
|
|
175
175
|
if (key)
|
|
@@ -272,7 +272,7 @@ var layer16 = (options) => Layer.effect(Service33, Effect.gen(function* () {
|
|
|
272
272
|
entry.scope = scope;
|
|
273
273
|
const authProvider = yield* connectProvider(entry);
|
|
274
274
|
const { McpClient } = yield* Effect.promise(() => import("../mcp/client.js"));
|
|
275
|
-
const load = McpClient.connect(name, entry.config, location.directory, authProvider, elicitation, options?.clientInfo).pipe(Effect.flatMap((connection) => connection.tools().pipe(Effect.map((tools) => ({ connection, tools })))), Effect.provideService(
|
|
275
|
+
const load = McpClient.connect(name, entry.config, location.directory, authProvider, elicitation, options?.clientInfo).pipe(Effect.flatMap((connection) => connection.tools().pipe(Effect.map((tools) => ({ connection, tools })))), Effect.provideService(Service72, environment), Scope.provide(scope));
|
|
276
276
|
const result = yield* (entry.config.type === "remote" ? endpointLoads.withLock(entry.config.url)(load) : load).pipe(Effect.exit);
|
|
277
277
|
if (Exit.isSuccess(result)) {
|
|
278
278
|
entry.client = result.value.connection;
|
|
@@ -373,7 +373,7 @@ var layer16 = (options) => Layer.effect(Service33, Effect.gen(function* () {
|
|
|
373
373
|
let closed = false;
|
|
374
374
|
const result = yield* McpClient.connect(name, { type: "attached", transport }, location.directory, undefined, elicitation, options?.clientInfo).pipe(Effect.tap((connection) => Effect.sync(() => connection.onClose(() => {
|
|
375
375
|
closed = true;
|
|
376
|
-
}))), Effect.flatMap((connection) => connection.tools().pipe(Effect.map((tools) => ({ connection, tools })))), Effect.provideService(
|
|
376
|
+
}))), Effect.flatMap((connection) => connection.tools().pipe(Effect.map((tools) => ({ connection, tools })))), Effect.provideService(Service72, environment), Scope.provide(scope), Effect.onError(() => Scope.close(scope, Exit.void)), Effect.mapError((error) => error instanceof McpClient.ConnectError ? error : new McpClient.ConnectError({ server: name, message: error.message })));
|
|
377
377
|
const register = Effect.gen(function* () {
|
|
378
378
|
if (closed) {
|
|
379
379
|
yield* Scope.close(scope, Exit.void);
|
|
@@ -452,7 +452,7 @@ var layer16 = (options) => Layer.effect(Service33, Effect.gen(function* () {
|
|
|
452
452
|
yield* startServer(name, entry);
|
|
453
453
|
}).pipe(locks.withLock(name));
|
|
454
454
|
});
|
|
455
|
-
fork(bus.subscribe(
|
|
455
|
+
fork(bus.subscribe(Event17.Switched).pipe(Stream.filter((event) => owned.has(event.data.integrationID)), Stream.runForEach((event) => Effect.sync(() => fork(reconnect(event.data.integrationID))))));
|
|
456
456
|
const state = create3({
|
|
457
457
|
name: "mcp",
|
|
458
458
|
initial: () => ({
|
|
@@ -478,7 +478,7 @@ var layer16 = (options) => Layer.effect(Service33, Effect.gen(function* () {
|
|
|
478
478
|
}),
|
|
479
479
|
notify: () => reconcile2(root, fork, () => reconcileLock.withPermit(reconcile()))
|
|
480
480
|
});
|
|
481
|
-
return
|
|
481
|
+
return Service37.of({
|
|
482
482
|
transform: state.transform,
|
|
483
483
|
reload: state.reload,
|
|
484
484
|
servers: Effect.fn("MCP.servers")(function* () {
|
|
@@ -606,14 +606,14 @@ function mergeCatalogs(catalogs) {
|
|
|
606
606
|
templates: catalogs.flatMap((catalog) => catalog.templates).toSorted((a, b) => a.server.localeCompare(b.server) || a.name.localeCompare(b.name) || a.uriTemplate.localeCompare(b.uriTemplate))
|
|
607
607
|
});
|
|
608
608
|
}
|
|
609
|
-
function
|
|
609
|
+
function configured2(options) {
|
|
610
610
|
return makeLocationNode({
|
|
611
|
-
service:
|
|
611
|
+
service: Service37,
|
|
612
612
|
layer: layer16(options),
|
|
613
|
-
deps: [
|
|
613
|
+
deps: [node83, node74, node88, node82, node80, node81]
|
|
614
614
|
});
|
|
615
615
|
}
|
|
616
|
-
var
|
|
616
|
+
var node40 = configured2();
|
|
617
617
|
function toElicitationField(key, property, required) {
|
|
618
618
|
const machineTitle = /^(boolean|string|number|integer|array|object)(\s+with\b.*|\s+in\b.*)?$/i;
|
|
619
619
|
const title = property.title && !machineTitle.test(property.title.trim()) ? property.title : property.description ?? key;
|
|
@@ -664,4 +664,4 @@ function toElicitationField(key, property, required) {
|
|
|
664
664
|
}
|
|
665
665
|
}
|
|
666
666
|
|
|
667
|
-
export { ServerName2, PromptsChanged2, Status2, Resource2, ResourceTemplate2, ResourceCatalog2, ResourceContent2, NotFoundError3, ToolCallError2,
|
|
667
|
+
export { ServerName2, PromptsChanged2, Status2, Resource2, ResourceTemplate2, ResourceCatalog2, ResourceContent2, NotFoundError3, ToolCallError2, Service37, Options2, layer16, configured2, node40, exports_mcp4 };
|
|
@@ -1,28 +1,28 @@
|
|
|
1
1
|
import {
|
|
2
|
-
|
|
2
|
+
ID12,
|
|
3
3
|
mergeOverlay2
|
|
4
|
-
} from "./
|
|
4
|
+
} from "./location-service-map-qrscgvzd.js";
|
|
5
5
|
import {
|
|
6
|
-
|
|
6
|
+
ID11,
|
|
7
7
|
VariantID2,
|
|
8
8
|
Info21,
|
|
9
9
|
compatibility2
|
|
10
|
-
} from "./
|
|
10
|
+
} from "./location-service-map-g6wjc1x4.js";
|
|
11
11
|
import {
|
|
12
12
|
__export
|
|
13
|
-
} from "./
|
|
13
|
+
} from "./location-service-map-9rqn6x4v.js";
|
|
14
14
|
|
|
15
15
|
// src/modal/models.ts
|
|
16
|
-
var
|
|
17
|
-
__export(
|
|
18
|
-
ModalModels: () =>
|
|
19
|
-
derive: () =>
|
|
20
|
-
get: () =>
|
|
21
|
-
load: () =>
|
|
16
|
+
var exports_models2 = {};
|
|
17
|
+
__export(exports_models2, {
|
|
18
|
+
ModalModels: () => exports_models2,
|
|
19
|
+
derive: () => derive3,
|
|
20
|
+
get: () => get3,
|
|
21
|
+
load: () => load3
|
|
22
22
|
});
|
|
23
23
|
import { Money } from "@opencode/schema/money";
|
|
24
24
|
import { Option, Schema } from "effect";
|
|
25
|
-
var providerID =
|
|
25
|
+
var providerID = ID12.make("modal");
|
|
26
26
|
var ReasoningOption = Schema.Struct({
|
|
27
27
|
type: Schema.Literal("effort"),
|
|
28
28
|
values: Schema.Array(Schema.NullOr(Schema.String))
|
|
@@ -54,10 +54,10 @@ var RemoteModel = Schema.Struct({
|
|
|
54
54
|
var Response = Schema.Struct({ data: Schema.Array(Schema.Unknown) });
|
|
55
55
|
var decodeResponse = Schema.decodeUnknownSync(Response);
|
|
56
56
|
var decodeModel = Schema.decodeUnknownOption(RemoteModel);
|
|
57
|
-
async function
|
|
58
|
-
return
|
|
57
|
+
async function get3(baseURL, apiKey, existing) {
|
|
58
|
+
return derive3(baseURL, await load3(baseURL, apiKey), existing);
|
|
59
59
|
}
|
|
60
|
-
async function
|
|
60
|
+
async function load3(baseURL, apiKey) {
|
|
61
61
|
const response = await fetch(`${baseURL.replace(/\/+$/, "")}/models`, {
|
|
62
62
|
headers: {
|
|
63
63
|
Authorization: `Bearer ${apiKey}`
|
|
@@ -71,12 +71,12 @@ async function load2(baseURL, apiKey) {
|
|
|
71
71
|
return model ? [model] : [];
|
|
72
72
|
});
|
|
73
73
|
}
|
|
74
|
-
function
|
|
74
|
+
function derive3(baseURL, remote, existing) {
|
|
75
75
|
const templates = new Map(existing.map((model) => [model.id, model]));
|
|
76
76
|
const result = new Map;
|
|
77
77
|
for (const item of remote) {
|
|
78
|
-
const template = templates.get(
|
|
79
|
-
const id =
|
|
78
|
+
const template = templates.get(ID11.make(item.base_model_id ?? item.hugging_face_id ?? item.id));
|
|
79
|
+
const id = ID11.make(item.id);
|
|
80
80
|
result.set(id, build(id, item, baseURL, template));
|
|
81
81
|
}
|
|
82
82
|
return result;
|
|
@@ -97,7 +97,7 @@ function build(id, remote, baseURL, previous) {
|
|
|
97
97
|
return Info21.make({
|
|
98
98
|
...Info21.default(providerID, id),
|
|
99
99
|
id,
|
|
100
|
-
modelID:
|
|
100
|
+
modelID: ID11.make(remote.id),
|
|
101
101
|
providerID,
|
|
102
102
|
name: remote.name ?? previous?.name ?? remote.id,
|
|
103
103
|
family: previous?.family,
|
|
@@ -144,4 +144,4 @@ function variants(remote) {
|
|
|
144
144
|
return [...seen.values()];
|
|
145
145
|
}
|
|
146
146
|
|
|
147
|
-
export {
|
|
147
|
+
export { get3, load3, derive3, exports_models2 };
|
|
@@ -1,20 +1,20 @@
|
|
|
1
1
|
import {
|
|
2
2
|
__export
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./location-service-map-9rqn6x4v.js";
|
|
4
4
|
|
|
5
5
|
// src/config/plugin/skill-scan.ts
|
|
6
6
|
var exports_skill_scan = {};
|
|
7
7
|
__export(exports_skill_scan, {
|
|
8
8
|
SkillScan: () => exports_skill_scan,
|
|
9
9
|
ignore: () => ignore2,
|
|
10
|
-
scan: () =>
|
|
10
|
+
scan: () => scan2
|
|
11
11
|
});
|
|
12
12
|
import { FSUtil } from "@opencode/util/fs-util";
|
|
13
13
|
import path from "path";
|
|
14
14
|
import { Effect } from "effect";
|
|
15
15
|
var MAX_DEPTH = 6;
|
|
16
16
|
var ignore2 = [...FSUtil.ignoreGlobs, "**/.*", "**/.*/**"];
|
|
17
|
-
var
|
|
17
|
+
var scan2 = Effect.fn("SkillScan.scan")(function* (root) {
|
|
18
18
|
const fs = yield* FSUtil.Service;
|
|
19
19
|
const files = [];
|
|
20
20
|
const queue = [{ directory: root, depth: 0 }];
|
|
@@ -39,4 +39,4 @@ var scan3 = Effect.fn("SkillScan.scan")(function* (root) {
|
|
|
39
39
|
return files.toSorted();
|
|
40
40
|
});
|
|
41
41
|
|
|
42
|
-
export { ignore2,
|
|
42
|
+
export { ignore2, scan2, exports_skill_scan };
|
|
@@ -1,17 +1,17 @@
|
|
|
1
1
|
import {
|
|
2
2
|
__export
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./location-service-map-9rqn6x4v.js";
|
|
4
4
|
|
|
5
5
|
// src/workspace/driver.ts
|
|
6
6
|
var exports_driver = {};
|
|
7
7
|
__export(exports_driver, {
|
|
8
8
|
Binding: () => Binding2,
|
|
9
|
-
Error: () =>
|
|
9
|
+
Error: () => Error5,
|
|
10
10
|
ProviderNotFound: () => ProviderNotFound2,
|
|
11
11
|
RegistryService: () => RegistryService2,
|
|
12
12
|
WorkspaceDriver: () => exports_driver,
|
|
13
|
-
make: () =>
|
|
14
|
-
node: () =>
|
|
13
|
+
make: () => make20,
|
|
14
|
+
node: () => node76,
|
|
15
15
|
registry: () => registry2,
|
|
16
16
|
registryNode: () => registryNode2
|
|
17
17
|
});
|
|
@@ -19,7 +19,7 @@ import { makeGlobalNode } from "@opencode/util/effect/app-node";
|
|
|
19
19
|
import { Context, Effect, Layer, Schema } from "effect";
|
|
20
20
|
var Binding2 = Schema.Record(Schema.String, Schema.Json);
|
|
21
21
|
|
|
22
|
-
class
|
|
22
|
+
class Error5 extends Schema.TaggedError()("WorkspaceDriver.Error", {
|
|
23
23
|
message: Schema.optional(Schema.String),
|
|
24
24
|
cause: Schema.optional(Schema.Defect())
|
|
25
25
|
}) {
|
|
@@ -29,7 +29,7 @@ class ProviderNotFound2 extends Schema.TaggedError()("WorkspaceDriver.ProviderNo
|
|
|
29
29
|
provider: Schema.String
|
|
30
30
|
}) {
|
|
31
31
|
}
|
|
32
|
-
var
|
|
32
|
+
var make20 = (driver) => driver;
|
|
33
33
|
|
|
34
34
|
class RegistryService2 extends Context.Service()("@opencode/WorkspaceDriverRegistry") {
|
|
35
35
|
}
|
|
@@ -44,6 +44,6 @@ var registryNode2 = (drivers) => makeGlobalNode({
|
|
|
44
44
|
layer: Layer.succeed(RegistryService2, RegistryService2.of(registry2(drivers))),
|
|
45
45
|
deps: []
|
|
46
46
|
});
|
|
47
|
-
var
|
|
47
|
+
var node76 = registryNode2({});
|
|
48
48
|
|
|
49
|
-
export { Binding2,
|
|
49
|
+
export { Binding2, Error5, ProviderNotFound2, make20, RegistryService2, registry2, registryNode2, node76, exports_driver };
|
|
@@ -1,12 +1,12 @@
|
|
|
1
1
|
import {
|
|
2
|
-
|
|
3
|
-
} from "./
|
|
2
|
+
Service79
|
|
3
|
+
} from "./location-service-map-nzm9dq78.js";
|
|
4
4
|
import {
|
|
5
|
-
|
|
6
|
-
} from "./
|
|
5
|
+
Service54
|
|
6
|
+
} from "./location-service-map-86yd8n6t.js";
|
|
7
7
|
import {
|
|
8
8
|
__export
|
|
9
|
-
} from "./
|
|
9
|
+
} from "./location-service-map-9rqn6x4v.js";
|
|
10
10
|
|
|
11
11
|
// src/tool/plugin/question.ts
|
|
12
12
|
var exports_question = {};
|
|
@@ -17,13 +17,13 @@ __export(exports_question, {
|
|
|
17
17
|
Plugin: () => Plugin51,
|
|
18
18
|
QuestionTool: () => exports_question,
|
|
19
19
|
description: () => description6,
|
|
20
|
-
name: () =>
|
|
20
|
+
name: () => name14,
|
|
21
21
|
toModelContent: () => toModelContent7
|
|
22
22
|
});
|
|
23
23
|
import { ToolFailure } from "@opencode/ai";
|
|
24
24
|
import { Effect, Schema } from "effect";
|
|
25
25
|
import { Question } from "@opencode/schema/question";
|
|
26
|
-
var
|
|
26
|
+
var name14 = "question";
|
|
27
27
|
var description6 = `Use this tool when you need to ask the user questions during execution. This allows you to:
|
|
28
28
|
1. Gather user preferences or requirements
|
|
29
29
|
2. Clarify ambiguous instructions
|
|
@@ -53,10 +53,10 @@ var toModelContent7 = (questions, answers) => {
|
|
|
53
53
|
var Plugin51 = {
|
|
54
54
|
id: "opencode.tool.question",
|
|
55
55
|
effect: Effect.fn("QuestionTool.Plugin")(function* (ctx) {
|
|
56
|
-
const forms = yield*
|
|
57
|
-
const permission = yield*
|
|
56
|
+
const forms = yield* Service79;
|
|
57
|
+
const permission = yield* Service54;
|
|
58
58
|
yield* ctx.tool.transform((editor) => editor.add({
|
|
59
|
-
name:
|
|
59
|
+
name: name14,
|
|
60
60
|
options: { codemode: false },
|
|
61
61
|
description: description6,
|
|
62
62
|
input: Input14,
|
|
@@ -117,4 +117,4 @@ function toField(question, index) {
|
|
|
117
117
|
};
|
|
118
118
|
}
|
|
119
119
|
|
|
120
|
-
export {
|
|
120
|
+
export { name14, description6, Input14, Output10, CancelledError2, toModelContent7, Plugin51, exports_question };
|
|
@@ -1,63 +1,63 @@
|
|
|
1
1
|
import {
|
|
2
2
|
Service86,
|
|
3
3
|
node90
|
|
4
|
-
} from "./
|
|
4
|
+
} from "./location-service-map-g3s8w1rf.js";
|
|
5
5
|
import {
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
} from "./
|
|
6
|
+
Service84,
|
|
7
|
+
node88
|
|
8
|
+
} from "./location-service-map-r8fhaa0s.js";
|
|
9
9
|
import {
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
} from "./
|
|
10
|
+
Service43,
|
|
11
|
+
node45
|
|
12
|
+
} from "./location-service-map-p9jvgf3w.js";
|
|
13
13
|
import {
|
|
14
14
|
AbsolutePath2,
|
|
15
15
|
RelativePath2
|
|
16
|
-
} from "./
|
|
16
|
+
} from "./location-service-map-z5v4ffb3.js";
|
|
17
17
|
import {
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
} from "./
|
|
18
|
+
Service81,
|
|
19
|
+
node84
|
|
20
|
+
} from "./location-service-map-qmthnpq9.js";
|
|
21
21
|
import {
|
|
22
22
|
Ref4
|
|
23
|
-
} from "./
|
|
23
|
+
} from "./location-service-map-3xbacp9g.js";
|
|
24
24
|
import {
|
|
25
|
-
|
|
26
|
-
|
|
27
|
-
} from "./
|
|
25
|
+
Service68,
|
|
26
|
+
node70
|
|
27
|
+
} from "./location-service-map-8z0nn26j.js";
|
|
28
28
|
import {
|
|
29
29
|
SessionMessage2
|
|
30
|
-
} from "./
|
|
30
|
+
} from "./location-service-map-gftt206x.js";
|
|
31
31
|
import {
|
|
32
|
-
|
|
33
|
-
} from "./
|
|
32
|
+
NotFoundError8
|
|
33
|
+
} from "./location-service-map-ffxnyj3q.js";
|
|
34
34
|
import {
|
|
35
35
|
SessionEvent2
|
|
36
|
-
} from "./
|
|
36
|
+
} from "./location-service-map-ec1grn59.js";
|
|
37
37
|
import {
|
|
38
|
-
|
|
39
|
-
} from "./
|
|
38
|
+
Service40
|
|
39
|
+
} from "./location-service-map-h0rg6s60.js";
|
|
40
40
|
import {
|
|
41
|
-
|
|
42
|
-
|
|
43
|
-
} from "./
|
|
41
|
+
Service56,
|
|
42
|
+
node58
|
|
43
|
+
} from "./location-service-map-a2x4jk9y.js";
|
|
44
44
|
import {
|
|
45
45
|
Item2,
|
|
46
46
|
serialized2,
|
|
47
|
-
|
|
48
|
-
|
|
47
|
+
Service42,
|
|
48
|
+
node44,
|
|
49
49
|
moveIDs2
|
|
50
|
-
} from "./
|
|
50
|
+
} from "./location-service-map-j71y8rmy.js";
|
|
51
51
|
import {
|
|
52
|
-
|
|
53
|
-
|
|
54
|
-
} from "./
|
|
52
|
+
Service39,
|
|
53
|
+
node42
|
|
54
|
+
} from "./location-service-map-90z9wy20.js";
|
|
55
55
|
import {
|
|
56
|
-
|
|
57
|
-
} from "./
|
|
56
|
+
node34
|
|
57
|
+
} from "./location-service-map-qbmvg479.js";
|
|
58
58
|
import {
|
|
59
59
|
__export
|
|
60
|
-
} from "./
|
|
60
|
+
} from "./location-service-map-9rqn6x4v.js";
|
|
61
61
|
|
|
62
62
|
// src/session/move.ts
|
|
63
63
|
var exports_move = {};
|
|
@@ -65,9 +65,9 @@ __export(exports_move, {
|
|
|
65
65
|
DestinationNotDirectoryError: () => DestinationNotDirectoryError2,
|
|
66
66
|
DestinationNotFoundError: () => DestinationNotFoundError2,
|
|
67
67
|
DestinationUnavailableError: () => DestinationUnavailableError2,
|
|
68
|
-
Service: () =>
|
|
68
|
+
Service: () => Service25,
|
|
69
69
|
SessionMove: () => exports_move,
|
|
70
|
-
node: () =>
|
|
70
|
+
node: () => node28
|
|
71
71
|
});
|
|
72
72
|
import { makeGlobalNode } from "@opencode/util/effect/app-node";
|
|
73
73
|
import { FSUtil } from "@opencode/util/fs-util";
|
|
@@ -83,23 +83,23 @@ class DestinationNotDirectoryError2 extends Schema.TaggedError()("Session.Destin
|
|
|
83
83
|
class DestinationUnavailableError2 extends Schema.TaggedError()("Session.DestinationUnavailableError", { directory: AbsolutePath2 }) {
|
|
84
84
|
}
|
|
85
85
|
|
|
86
|
-
class
|
|
86
|
+
class Service25 extends Context.Service()("@opencode/SessionMove") {
|
|
87
87
|
}
|
|
88
|
-
var layer = Layer.effect(
|
|
88
|
+
var layer = Layer.effect(Service25, Effect.gen(function* () {
|
|
89
89
|
const fs = yield* FSUtil.Service;
|
|
90
90
|
const global = yield* Global.Service;
|
|
91
|
-
const projects = yield*
|
|
92
|
-
const locations = yield*
|
|
93
|
-
const store = yield*
|
|
94
|
-
const execution = yield*
|
|
95
|
-
const instances = yield*
|
|
96
|
-
const admission = yield*
|
|
91
|
+
const projects = yield* Service81;
|
|
92
|
+
const locations = yield* Service68;
|
|
93
|
+
const store = yield* Service56;
|
|
94
|
+
const execution = yield* Service39;
|
|
95
|
+
const instances = yield* Service43;
|
|
96
|
+
const admission = yield* Service42;
|
|
97
97
|
const database = yield* Service86;
|
|
98
|
-
const bus = yield*
|
|
98
|
+
const bus = yield* Service84;
|
|
99
99
|
const get = Effect.fn("SessionMove.get")(function* (sessionID) {
|
|
100
100
|
const session = yield* store.get(sessionID);
|
|
101
101
|
if (!session)
|
|
102
|
-
return yield* new
|
|
102
|
+
return yield* new NotFoundError8({ sessionID });
|
|
103
103
|
return session;
|
|
104
104
|
});
|
|
105
105
|
const resolveDestination = Effect.fn("SessionMove.resolveDestination")(function* (session, input) {
|
|
@@ -131,9 +131,9 @@ var layer = Layer.effect(Service22, Effect.gen(function* () {
|
|
|
131
131
|
return false;
|
|
132
132
|
if (!(yield* fs.isDir(session.location.directory)))
|
|
133
133
|
return true;
|
|
134
|
-
return yield*
|
|
134
|
+
return yield* Service40.pipe(instances.provide(session), Effect.as(false), Effect.catchCause((cause) => Cause.hasInterrupts(cause) ? Effect.failCause(Cause.fromReasons(cause.reasons.filter(Cause.isInterruptReason))) : Effect.succeed(true)));
|
|
135
135
|
});
|
|
136
|
-
return
|
|
136
|
+
return Service25.of({
|
|
137
137
|
move: Effect.fn("SessionMove.move")(function* (input) {
|
|
138
138
|
const session = yield* get(input.sessionID);
|
|
139
139
|
const destination = yield* resolveDestination(session, input);
|
|
@@ -163,22 +163,22 @@ var layer = Layer.effect(Service22, Effect.gen(function* () {
|
|
|
163
163
|
})
|
|
164
164
|
});
|
|
165
165
|
}));
|
|
166
|
-
var
|
|
167
|
-
service:
|
|
166
|
+
var node28 = makeGlobalNode({
|
|
167
|
+
service: Service25,
|
|
168
168
|
layer,
|
|
169
169
|
deps: [
|
|
170
170
|
FSUtil.node,
|
|
171
171
|
Global.node,
|
|
172
|
-
|
|
173
|
-
|
|
174
|
-
|
|
175
|
-
|
|
176
|
-
|
|
177
|
-
|
|
172
|
+
node84,
|
|
173
|
+
node70,
|
|
174
|
+
node58,
|
|
175
|
+
node42,
|
|
176
|
+
node45,
|
|
177
|
+
node44,
|
|
178
178
|
node90,
|
|
179
|
-
|
|
180
|
-
|
|
179
|
+
node88,
|
|
180
|
+
node34
|
|
181
181
|
]
|
|
182
182
|
});
|
|
183
183
|
|
|
184
|
-
export { DestinationNotFoundError2, DestinationNotDirectoryError2, DestinationUnavailableError2,
|
|
184
|
+
export { DestinationNotFoundError2, DestinationNotDirectoryError2, DestinationUnavailableError2, Service25, node28, exports_move };
|