@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
|
@@ -4,43 +4,43 @@ import {
|
|
|
4
4
|
normalizeContent2,
|
|
5
5
|
normalizedName2,
|
|
6
6
|
effectiveName2
|
|
7
|
-
} from "./
|
|
7
|
+
} from "./location-service-map-5fjb7ams.js";
|
|
8
8
|
import {
|
|
9
9
|
create2,
|
|
10
10
|
catalog2
|
|
11
|
-
} from "./
|
|
11
|
+
} from "./location-service-map-4xvmh7wp.js";
|
|
12
12
|
import {
|
|
13
13
|
create3
|
|
14
|
-
} from "./
|
|
14
|
+
} from "./location-service-map-vd3b3yk9.js";
|
|
15
15
|
import {
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
} from "./
|
|
16
|
+
Service53,
|
|
17
|
+
node55
|
|
18
|
+
} from "./location-service-map-j43965rx.js";
|
|
19
19
|
import {
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
} from "./
|
|
20
|
+
Service67,
|
|
21
|
+
node69
|
|
22
|
+
} from "./location-service-map-j49x6kf4.js";
|
|
23
23
|
import {
|
|
24
24
|
match2
|
|
25
|
-
} from "./
|
|
25
|
+
} from "./location-service-map-z38nccrw.js";
|
|
26
26
|
import {
|
|
27
27
|
__export
|
|
28
|
-
} from "./
|
|
28
|
+
} from "./location-service-map-9rqn6x4v.js";
|
|
29
29
|
|
|
30
30
|
// src/tool.ts
|
|
31
31
|
var exports_tool = {};
|
|
32
32
|
__export(exports_tool, {
|
|
33
33
|
CallID: () => CallID2,
|
|
34
|
-
Content: () =>
|
|
35
|
-
Error: () =>
|
|
34
|
+
Content: () => Content2,
|
|
35
|
+
Error: () => Error3,
|
|
36
36
|
FileContent: () => FileContent3,
|
|
37
37
|
RegistrationError: () => RegistrationError2,
|
|
38
|
-
Service: () =>
|
|
38
|
+
Service: () => Service45,
|
|
39
39
|
TextContent: () => TextContent2,
|
|
40
40
|
Tool: () => exports_tool,
|
|
41
|
-
node: () =>
|
|
41
|
+
node: () => node47
|
|
42
42
|
});
|
|
43
|
-
import { CallID as CallID2, Content as
|
|
43
|
+
import { CallID as CallID2, Content as Content2, Error as Error3, FileContent as FileContent3, TextContent as TextContent2 } from "@opencode/schema/tool";
|
|
44
44
|
import { ToolDefinition } from "@opencode/ai";
|
|
45
45
|
import { Tool } from "@opencode/schema/tool";
|
|
46
46
|
import { Context, Effect, Layer, Result, Schema, SchemaIssue } from "effect";
|
|
@@ -51,11 +51,11 @@ class RegistrationError2 extends Schema.TaggedError()("Tool.RegistrationError",
|
|
|
51
51
|
}) {
|
|
52
52
|
}
|
|
53
53
|
|
|
54
|
-
class
|
|
54
|
+
class Service45 extends Context.Service()("@opencode/Tool") {
|
|
55
55
|
}
|
|
56
|
-
var layer = Layer.effect(
|
|
57
|
-
const hooks = yield*
|
|
58
|
-
const image = yield*
|
|
56
|
+
var layer = Layer.effect(Service45, Effect.gen(function* () {
|
|
57
|
+
const hooks = yield* Service67;
|
|
58
|
+
const image = yield* Service53;
|
|
59
59
|
const normalizeImages = Effect.fnUntraced(function* (content) {
|
|
60
60
|
const normalized = yield* Effect.forEach(content, (item) => {
|
|
61
61
|
if (item.type !== "file" || !item.mime.startsWith("image/"))
|
|
@@ -184,7 +184,7 @@ var layer = Layer.effect(Service57, Effect.gen(function* () {
|
|
|
184
184
|
}), { discard: true });
|
|
185
185
|
}
|
|
186
186
|
});
|
|
187
|
-
return
|
|
187
|
+
return Service45.of({
|
|
188
188
|
transform: state.transform,
|
|
189
189
|
reload: state.reload,
|
|
190
190
|
list: () => Effect.sync(() => Array.from(state.get().tools.values())),
|
|
@@ -273,10 +273,10 @@ function namespaceError(name) {
|
|
|
273
273
|
return;
|
|
274
274
|
return new RegistrationError2({ name, message: `Invalid tool namespace: ${JSON.stringify(name)}` });
|
|
275
275
|
}
|
|
276
|
-
var
|
|
277
|
-
service:
|
|
276
|
+
var node47 = makeLocationNode({
|
|
277
|
+
service: Service45,
|
|
278
278
|
layer,
|
|
279
|
-
deps: [
|
|
279
|
+
deps: [node69, node55]
|
|
280
280
|
});
|
|
281
281
|
|
|
282
|
-
export { RegistrationError2,
|
|
282
|
+
export { RegistrationError2, Service45, node47, exports_tool, CallID2, Content2, Error3, FileContent3, TextContent2 };
|
|
@@ -1,115 +1,115 @@
|
|
|
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
|
+
Service80,
|
|
7
|
+
node83
|
|
8
|
+
} from "./location-service-map-3xbacp9g.js";
|
|
9
9
|
import {
|
|
10
10
|
VariantID2,
|
|
11
11
|
Ref2,
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
} from "./
|
|
12
|
+
Service75,
|
|
13
|
+
node78
|
|
14
|
+
} from "./location-service-map-g6wjc1x4.js";
|
|
15
15
|
import {
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
} from "./
|
|
16
|
+
ID8,
|
|
17
|
+
Service57,
|
|
18
|
+
node59
|
|
19
|
+
} from "./location-service-map-ejmz6kkm.js";
|
|
20
20
|
import {
|
|
21
21
|
AgentNotFoundError2
|
|
22
|
-
} from "./
|
|
22
|
+
} from "./location-service-map-ffxnyj3q.js";
|
|
23
23
|
import {
|
|
24
24
|
combine2
|
|
25
|
-
} from "./
|
|
25
|
+
} from "./location-service-map-jchrqzf6.js";
|
|
26
26
|
import {
|
|
27
27
|
entriesForRunner2
|
|
28
|
-
} from "./
|
|
28
|
+
} from "./location-service-map-0pnxwcyc.js";
|
|
29
29
|
import {
|
|
30
|
-
|
|
31
|
-
|
|
32
|
-
} from "./
|
|
30
|
+
Service56,
|
|
31
|
+
node58
|
|
32
|
+
} from "./location-service-map-a2x4jk9y.js";
|
|
33
33
|
import {
|
|
34
34
|
merge2
|
|
35
|
-
} from "./
|
|
35
|
+
} from "./location-service-map-86yd8n6t.js";
|
|
36
36
|
import {
|
|
37
37
|
make13
|
|
38
|
-
} from "./
|
|
38
|
+
} from "./location-service-map-f6a8s9j6.js";
|
|
39
|
+
import {
|
|
40
|
+
Service52,
|
|
41
|
+
node54
|
|
42
|
+
} from "./location-service-map-zqp8ase3.js";
|
|
43
|
+
import {
|
|
44
|
+
Service32,
|
|
45
|
+
node36
|
|
46
|
+
} from "./location-service-map-tdyhpgr0.js";
|
|
39
47
|
import {
|
|
40
|
-
|
|
48
|
+
Service45,
|
|
41
49
|
node47
|
|
42
|
-
} from "./
|
|
50
|
+
} from "./location-service-map-7ddrbmq5.js";
|
|
43
51
|
import {
|
|
44
|
-
|
|
45
|
-
|
|
46
|
-
} from "./
|
|
52
|
+
Service34,
|
|
53
|
+
node38
|
|
54
|
+
} from "./location-service-map-1ak811wc.js";
|
|
47
55
|
import {
|
|
48
|
-
|
|
49
|
-
|
|
50
|
-
} from "./
|
|
56
|
+
Service33,
|
|
57
|
+
node37
|
|
58
|
+
} from "./location-service-map-2meyg87m.js";
|
|
51
59
|
import {
|
|
52
|
-
|
|
53
|
-
|
|
54
|
-
} from "./
|
|
60
|
+
Service27,
|
|
61
|
+
node30
|
|
62
|
+
} from "./location-service-map-9ec60z8p.js";
|
|
55
63
|
import {
|
|
56
64
|
Service28,
|
|
57
65
|
node31
|
|
58
|
-
} from "./
|
|
59
|
-
import {
|
|
60
|
-
Service37,
|
|
61
|
-
node40
|
|
62
|
-
} from "./persistent-pty-dx717f1h.js";
|
|
63
|
-
import {
|
|
64
|
-
Service26,
|
|
65
|
-
node29
|
|
66
|
-
} from "./persistent-pty-pcd58cha.js";
|
|
67
|
-
import {
|
|
68
|
-
Service24,
|
|
69
|
-
node28
|
|
70
|
-
} from "./persistent-pty-pgvk0yt9.js";
|
|
66
|
+
} from "./location-service-map-6xjs6dtv.js";
|
|
71
67
|
import {
|
|
72
68
|
Service31,
|
|
73
|
-
|
|
74
|
-
} from "./
|
|
69
|
+
node35
|
|
70
|
+
} from "./location-service-map-4c2w6q79.js";
|
|
75
71
|
import {
|
|
76
|
-
|
|
77
|
-
|
|
78
|
-
} from "./
|
|
72
|
+
Service29,
|
|
73
|
+
node32
|
|
74
|
+
} from "./location-service-map-y2s0ta7g.js";
|
|
75
|
+
import {
|
|
76
|
+
Service41,
|
|
77
|
+
node43
|
|
78
|
+
} from "./location-service-map-aedgfdwr.js";
|
|
79
79
|
import {
|
|
80
80
|
__export
|
|
81
|
-
} from "./
|
|
81
|
+
} from "./location-service-map-9rqn6x4v.js";
|
|
82
82
|
|
|
83
83
|
// src/session/context.ts
|
|
84
84
|
var exports_context = {};
|
|
85
85
|
__export(exports_context, {
|
|
86
|
-
Service: () =>
|
|
86
|
+
Service: () => Service26,
|
|
87
87
|
SessionContext: () => exports_context,
|
|
88
|
-
node: () =>
|
|
88
|
+
node: () => node29
|
|
89
89
|
});
|
|
90
90
|
import { Context, Effect, Layer } from "effect";
|
|
91
91
|
import { makeLocationNode } from "@opencode/util/effect/app-node";
|
|
92
|
-
class
|
|
92
|
+
class Service26 extends Context.Service()("@opencode/SessionContext") {
|
|
93
93
|
}
|
|
94
|
-
var layer = Layer.effect(
|
|
95
|
-
const agents = yield*
|
|
96
|
-
const builtins = yield*
|
|
97
|
-
const model = yield*
|
|
94
|
+
var layer = Layer.effect(Service26, Effect.gen(function* () {
|
|
95
|
+
const agents = yield* Service57;
|
|
96
|
+
const builtins = yield* Service32;
|
|
97
|
+
const model = yield* Service75;
|
|
98
98
|
const db = (yield* Service86).db;
|
|
99
|
-
const discovery = yield*
|
|
100
|
-
const entries = yield*
|
|
101
|
-
const location = yield*
|
|
102
|
-
const mcpInstructions = yield*
|
|
103
|
-
const mcpTools = yield*
|
|
104
|
-
const models = yield*
|
|
105
|
-
const request = yield*
|
|
106
|
-
const referenceInstructions = yield*
|
|
107
|
-
const skillInstructions = yield*
|
|
108
|
-
const store = yield*
|
|
109
|
-
const registry = yield*
|
|
99
|
+
const discovery = yield* Service52;
|
|
100
|
+
const entries = yield* Service31;
|
|
101
|
+
const location = yield* Service80;
|
|
102
|
+
const mcpInstructions = yield* Service33;
|
|
103
|
+
const mcpTools = yield* Service34;
|
|
104
|
+
const models = yield* Service41;
|
|
105
|
+
const request = yield* Service29;
|
|
106
|
+
const referenceInstructions = yield* Service27;
|
|
107
|
+
const skillInstructions = yield* Service28;
|
|
108
|
+
const store = yield* Service56;
|
|
109
|
+
const registry = yield* Service45;
|
|
110
110
|
const resolveModel = (session) => models.resolve(session, model.available);
|
|
111
111
|
const selectTitle = Effect.fn("SessionContext.selectTitle")(function* (session) {
|
|
112
|
-
const agent = yield* agents.get(
|
|
112
|
+
const agent = yield* agents.get(ID8.make("title"));
|
|
113
113
|
if (!agent)
|
|
114
114
|
return;
|
|
115
115
|
const primary = yield* resolveModel(session).pipe(Effect.orElseSucceed(() => {
|
|
@@ -191,7 +191,7 @@ var layer = Layer.effect(Service23, Effect.gen(function* () {
|
|
|
191
191
|
tools: selection.tools
|
|
192
192
|
};
|
|
193
193
|
});
|
|
194
|
-
return
|
|
194
|
+
return Service26.of({ select, load, resolveModel, selectTitle, request });
|
|
195
195
|
}));
|
|
196
196
|
var MINIMAL_REASONING_VARIANTS = ["none", "minimal", "low"].map((id) => VariantID2.make(id));
|
|
197
197
|
var minimalVariant = (info) => MINIMAL_REASONING_VARIANTS.find((id) => info.variants.some((item) => item.id === id));
|
|
@@ -199,26 +199,26 @@ var lowerVariant = (info, selected) => {
|
|
|
199
199
|
const rank = (id) => info.variants.findIndex((item) => item.id === id);
|
|
200
200
|
return MINIMAL_REASONING_VARIANTS.find((id) => rank(id) !== -1 && (id !== "low" || rank(id) < rank(selected)));
|
|
201
201
|
};
|
|
202
|
-
var
|
|
203
|
-
service:
|
|
202
|
+
var node29 = makeLocationNode({
|
|
203
|
+
service: Service26,
|
|
204
204
|
layer,
|
|
205
205
|
deps: [
|
|
206
|
-
|
|
207
|
-
|
|
206
|
+
node59,
|
|
207
|
+
node78,
|
|
208
208
|
node90,
|
|
209
|
+
node36,
|
|
210
|
+
node54,
|
|
211
|
+
node35,
|
|
212
|
+
node83,
|
|
213
|
+
node37,
|
|
214
|
+
node38,
|
|
209
215
|
node30,
|
|
210
|
-
|
|
211
|
-
node28,
|
|
212
|
-
node86,
|
|
213
|
-
node31,
|
|
216
|
+
node43,
|
|
214
217
|
node32,
|
|
215
|
-
|
|
216
|
-
|
|
217
|
-
|
|
218
|
-
node73,
|
|
219
|
-
node29,
|
|
220
|
-
node62
|
|
218
|
+
node58,
|
|
219
|
+
node31,
|
|
220
|
+
node47
|
|
221
221
|
]
|
|
222
222
|
});
|
|
223
223
|
|
|
224
|
-
export {
|
|
224
|
+
export { Service26, node29, exports_context };
|
|
@@ -0,0 +1,18 @@
|
|
|
1
|
+
import {
|
|
2
|
+
__export
|
|
3
|
+
} from "./location-service-map-9rqn6x4v.js";
|
|
4
|
+
|
|
5
|
+
// src/plugin/service.ts
|
|
6
|
+
var exports_service = {};
|
|
7
|
+
__export(exports_service, {
|
|
8
|
+
Plugin: () => exports_service,
|
|
9
|
+
Service: () => Service36,
|
|
10
|
+
awaitActivation: () => awaitActivation2
|
|
11
|
+
});
|
|
12
|
+
import { Context } from "effect";
|
|
13
|
+
|
|
14
|
+
class Service36 extends Context.Service()("@opencode/Plugin") {
|
|
15
|
+
}
|
|
16
|
+
var awaitActivation2 = Service36.use((plugins) => plugins.awaitActivation);
|
|
17
|
+
|
|
18
|
+
export { Service36, awaitActivation2, exports_service };
|
|
@@ -1,36 +1,36 @@
|
|
|
1
1
|
import {
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
} from "./
|
|
2
|
+
Service84,
|
|
3
|
+
node88
|
|
4
|
+
} from "./location-service-map-r8fhaa0s.js";
|
|
5
5
|
import {
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
} from "./
|
|
6
|
+
Service80,
|
|
7
|
+
node83
|
|
8
|
+
} from "./location-service-map-3xbacp9g.js";
|
|
9
9
|
import {
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
} from "./
|
|
10
|
+
Service57,
|
|
11
|
+
node59
|
|
12
|
+
} from "./location-service-map-ejmz6kkm.js";
|
|
13
13
|
import {
|
|
14
|
-
|
|
15
|
-
} from "./
|
|
14
|
+
NotFoundError8
|
|
15
|
+
} from "./location-service-map-ffxnyj3q.js";
|
|
16
16
|
import {
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
} from "./
|
|
17
|
+
Service56,
|
|
18
|
+
node58
|
|
19
|
+
} from "./location-service-map-a2x4jk9y.js";
|
|
20
20
|
import {
|
|
21
21
|
match2
|
|
22
|
-
} from "./
|
|
22
|
+
} from "./location-service-map-z38nccrw.js";
|
|
23
23
|
import {
|
|
24
|
-
|
|
25
|
-
|
|
26
|
-
} from "./
|
|
24
|
+
Service55,
|
|
25
|
+
node57
|
|
26
|
+
} from "./location-service-map-4fde41kk.js";
|
|
27
27
|
import {
|
|
28
|
-
|
|
29
|
-
|
|
30
|
-
} from "./
|
|
28
|
+
Service67,
|
|
29
|
+
node69
|
|
30
|
+
} from "./location-service-map-j49x6kf4.js";
|
|
31
31
|
import {
|
|
32
32
|
__export
|
|
33
|
-
} from "./
|
|
33
|
+
} from "./location-service-map-9rqn6x4v.js";
|
|
34
34
|
|
|
35
35
|
// src/permission.ts
|
|
36
36
|
var exports_permission = {};
|
|
@@ -39,29 +39,29 @@ __export(exports_permission, {
|
|
|
39
39
|
CorrectedError: () => CorrectedError2,
|
|
40
40
|
DeclinedError: () => DeclinedError2,
|
|
41
41
|
Effect: () => PermissionEffect,
|
|
42
|
-
Event: () =>
|
|
43
|
-
ID: () =>
|
|
44
|
-
NotFoundError: () =>
|
|
42
|
+
Event: () => Event9,
|
|
43
|
+
ID: () => ID6,
|
|
44
|
+
NotFoundError: () => NotFoundError6,
|
|
45
45
|
Permission: () => exports_permission,
|
|
46
46
|
Reply: () => Reply2,
|
|
47
47
|
Request: () => Request2,
|
|
48
48
|
Rule: () => Rule2,
|
|
49
49
|
Ruleset: () => Ruleset2,
|
|
50
|
-
Service: () =>
|
|
51
|
-
Source: () =>
|
|
50
|
+
Service: () => Service54,
|
|
51
|
+
Source: () => Source4,
|
|
52
52
|
evaluate: () => evaluate2,
|
|
53
53
|
merge: () => merge2,
|
|
54
|
-
node: () =>
|
|
54
|
+
node: () => node56
|
|
55
55
|
});
|
|
56
56
|
import { makeLocationNode } from "@opencode/util/effect/app-node";
|
|
57
57
|
import { Context, Deferred, Effect, Layer, Schema } from "effect";
|
|
58
58
|
import { Permission } from "@opencode/schema/permission";
|
|
59
59
|
import { Rule as Rule2, Ruleset as Ruleset2 } from "@opencode/schema/permission";
|
|
60
|
-
import { Event as
|
|
60
|
+
import { Event as Event9 } from "@opencode/schema/permission";
|
|
61
61
|
var PermissionEffect = Permission.Effect;
|
|
62
62
|
var missingAgentPermissions = [{ action: "*", resource: "*", effect: "deny" }];
|
|
63
|
-
var
|
|
64
|
-
var
|
|
63
|
+
var ID6 = Permission.ID;
|
|
64
|
+
var Source4 = Permission.Source;
|
|
65
65
|
var Request2 = Permission.Request;
|
|
66
66
|
var Reply2 = Permission.Reply;
|
|
67
67
|
|
|
@@ -84,8 +84,8 @@ class BlockedError2 extends Schema.TaggedError()("Permission.BlockedError", {
|
|
|
84
84
|
}
|
|
85
85
|
}
|
|
86
86
|
|
|
87
|
-
class
|
|
88
|
-
requestID:
|
|
87
|
+
class NotFoundError6 extends Schema.TaggedError()("Permission.NotFoundError", {
|
|
88
|
+
requestID: ID6
|
|
89
89
|
}) {
|
|
90
90
|
}
|
|
91
91
|
function evaluate2(action, resource, ...rulesets) {
|
|
@@ -99,15 +99,15 @@ function merge2(...rulesets) {
|
|
|
99
99
|
return rulesets.flat();
|
|
100
100
|
}
|
|
101
101
|
|
|
102
|
-
class
|
|
102
|
+
class Service54 extends Context.Service()("@opencode/Permission") {
|
|
103
103
|
}
|
|
104
|
-
var layer = Layer.effect(
|
|
105
|
-
const bus = yield*
|
|
106
|
-
const location = yield*
|
|
107
|
-
const agents = yield*
|
|
108
|
-
const sessions = yield*
|
|
109
|
-
const saved = yield*
|
|
110
|
-
const hooks = yield*
|
|
104
|
+
var layer = Layer.effect(Service54, Effect.gen(function* () {
|
|
105
|
+
const bus = yield* Service84;
|
|
106
|
+
const location = yield* Service80;
|
|
107
|
+
const agents = yield* Service57;
|
|
108
|
+
const sessions = yield* Service56;
|
|
109
|
+
const saved = yield* Service55;
|
|
110
|
+
const hooks = yield* Service67;
|
|
111
111
|
const pending = new Map;
|
|
112
112
|
let closed = false;
|
|
113
113
|
const close = Effect.gen(function* () {
|
|
@@ -130,7 +130,7 @@ var layer = Layer.effect(Service68, Effect.gen(function* () {
|
|
|
130
130
|
const configured = Effect.fnUntraced(function* (sessionID, agentID) {
|
|
131
131
|
const session = yield* sessions.get(sessionID);
|
|
132
132
|
if (!session)
|
|
133
|
-
return yield* new
|
|
133
|
+
return yield* new NotFoundError8({ sessionID });
|
|
134
134
|
const agent = yield* agents.resolve(agentID ?? session.agent);
|
|
135
135
|
return merge2(agent?.permissions ?? missingAgentPermissions, session.permissions ?? []);
|
|
136
136
|
});
|
|
@@ -160,7 +160,7 @@ var layer = Layer.effect(Service68, Effect.gen(function* () {
|
|
|
160
160
|
});
|
|
161
161
|
function request(input, message) {
|
|
162
162
|
return {
|
|
163
|
-
id: input.id ??
|
|
163
|
+
id: input.id ?? ID6.create(),
|
|
164
164
|
sessionID: input.sessionID,
|
|
165
165
|
action: input.action,
|
|
166
166
|
resources: input.resources,
|
|
@@ -185,7 +185,7 @@ var layer = Layer.effect(Service68, Effect.gen(function* () {
|
|
|
185
185
|
}));
|
|
186
186
|
const ask = Effect.fn("Permission.ask")(function* (input) {
|
|
187
187
|
if (closed)
|
|
188
|
-
return { id: input.id ??
|
|
188
|
+
return { id: input.id ?? ID6.create(), effect: "deny" };
|
|
189
189
|
const result = yield* evaluateInput(input);
|
|
190
190
|
const value = request(input, result.message);
|
|
191
191
|
if (result.effect === "ask")
|
|
@@ -216,7 +216,7 @@ var layer = Layer.effect(Service68, Effect.gen(function* () {
|
|
|
216
216
|
const reply = Effect.fn("Permission.reply")((input) => Effect.uninterruptible(Effect.gen(function* () {
|
|
217
217
|
const existing = pending.get(input.requestID);
|
|
218
218
|
if (!existing)
|
|
219
|
-
return yield* new
|
|
219
|
+
return yield* new NotFoundError6({ requestID: input.requestID });
|
|
220
220
|
yield* bus.publish(Permission.Event.Replied, {
|
|
221
221
|
sessionID: existing.request.sessionID,
|
|
222
222
|
requestID: existing.request.id,
|
|
@@ -271,12 +271,12 @@ var layer = Layer.effect(Service68, Effect.gen(function* () {
|
|
|
271
271
|
const forSession = Effect.fn("Permission.forSession")(function* (sessionID) {
|
|
272
272
|
return Array.from(pending.values(), (item) => item.request).filter((request) => request.sessionID === sessionID);
|
|
273
273
|
});
|
|
274
|
-
return
|
|
274
|
+
return Service54.of({ ask, assert, reply, get, forSession, list, close });
|
|
275
275
|
}));
|
|
276
|
-
var
|
|
277
|
-
service:
|
|
276
|
+
var node56 = makeLocationNode({
|
|
277
|
+
service: Service54,
|
|
278
278
|
layer,
|
|
279
|
-
deps: [
|
|
279
|
+
deps: [node88, node83, node59, node58, node57, node69]
|
|
280
280
|
});
|
|
281
281
|
|
|
282
|
-
export { PermissionEffect,
|
|
282
|
+
export { PermissionEffect, ID6, Source4, Request2, Reply2, DeclinedError2, CorrectedError2, BlockedError2, NotFoundError6, evaluate2, merge2, Service54, node56, exports_permission, Rule2, Ruleset2, Event9 };
|
|
@@ -1,16 +1,16 @@
|
|
|
1
1
|
import {
|
|
2
2
|
parseOption2
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./location-service-map-e834z07m.js";
|
|
4
4
|
import {
|
|
5
5
|
AbsolutePath2
|
|
6
|
-
} from "./
|
|
6
|
+
} from "./location-service-map-z5v4ffb3.js";
|
|
7
7
|
import {
|
|
8
|
-
|
|
8
|
+
ID5,
|
|
9
9
|
Name2
|
|
10
|
-
} from "./
|
|
10
|
+
} from "./location-service-map-188drt2q.js";
|
|
11
11
|
import {
|
|
12
12
|
__export
|
|
13
|
-
} from "./
|
|
13
|
+
} from "./location-service-map-9rqn6x4v.js";
|
|
14
14
|
|
|
15
15
|
// src/config/plugin/skill-file.ts
|
|
16
16
|
var exports_skill_file = {};
|
|
@@ -62,7 +62,7 @@ function parse2(directory, filepath, content) {
|
|
|
62
62
|
return {
|
|
63
63
|
_tag: "Parsed",
|
|
64
64
|
skill: {
|
|
65
|
-
id:
|
|
65
|
+
id: ID5.make(id),
|
|
66
66
|
name: Name2.make(frontmatter.name ?? id),
|
|
67
67
|
...frontmatter.description === undefined ? {} : { description: frontmatter.description },
|
|
68
68
|
...autoinvoke === undefined ? {} : { autoinvoke },
|
|
@@ -1,33 +1,33 @@
|
|
|
1
1
|
import {
|
|
2
2
|
Service86
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./location-service-map-g3s8w1rf.js";
|
|
4
4
|
import {
|
|
5
|
-
|
|
6
|
-
} from "./
|
|
5
|
+
Service84
|
|
6
|
+
} from "./location-service-map-r8fhaa0s.js";
|
|
7
7
|
import {
|
|
8
|
-
|
|
9
|
-
} from "./
|
|
8
|
+
Service43
|
|
9
|
+
} from "./location-service-map-p9jvgf3w.js";
|
|
10
10
|
import {
|
|
11
11
|
RelativePath2
|
|
12
|
-
} from "./
|
|
12
|
+
} from "./location-service-map-z5v4ffb3.js";
|
|
13
13
|
import {
|
|
14
|
-
|
|
15
|
-
} from "./
|
|
14
|
+
Service38
|
|
15
|
+
} from "./location-service-map-0r6mtjdh.js";
|
|
16
16
|
import {
|
|
17
17
|
SessionEvent2
|
|
18
|
-
} from "./
|
|
18
|
+
} from "./location-service-map-ec1grn59.js";
|
|
19
19
|
import {
|
|
20
20
|
MessageNotFoundError2
|
|
21
|
-
} from "./
|
|
21
|
+
} from "./location-service-map-ffxnyj3q.js";
|
|
22
22
|
import {
|
|
23
23
|
SessionMessageTable2
|
|
24
|
-
} from "./
|
|
24
|
+
} from "./location-service-map-998yhzzq.js";
|
|
25
25
|
import {
|
|
26
26
|
decodeMessageRowSync2
|
|
27
|
-
} from "./
|
|
27
|
+
} from "./location-service-map-0pnxwcyc.js";
|
|
28
28
|
import {
|
|
29
29
|
__export
|
|
30
|
-
} from "./
|
|
30
|
+
} from "./location-service-map-9rqn6x4v.js";
|
|
31
31
|
|
|
32
32
|
// src/session/revert.ts
|
|
33
33
|
var exports_revert = {};
|
|
@@ -40,11 +40,11 @@ __export(exports_revert, {
|
|
|
40
40
|
import { and, asc, eq, gt } from "drizzle-orm";
|
|
41
41
|
import { Effect } from "effect";
|
|
42
42
|
var stage2 = Effect.fn("SessionRevert.stage")(function* (input) {
|
|
43
|
-
const instances = yield*
|
|
43
|
+
const instances = yield* Service43;
|
|
44
44
|
const database = yield* Service86;
|
|
45
|
-
const bus = yield*
|
|
45
|
+
const bus = yield* Service84;
|
|
46
46
|
return yield* Effect.gen(function* () {
|
|
47
|
-
const snapshot = yield*
|
|
47
|
+
const snapshot = yield* Service38;
|
|
48
48
|
const original = input.session.revert?.snapshot ?? (yield* snapshot.capture());
|
|
49
49
|
const next = yield* plan(database.db, { sessionID: input.session.id, messageID: input.messageID });
|
|
50
50
|
const restore = new Map;
|
|
@@ -72,10 +72,10 @@ var stage2 = Effect.fn("SessionRevert.stage")(function* (input) {
|
|
|
72
72
|
}).pipe(instances.provide(input.session));
|
|
73
73
|
});
|
|
74
74
|
var clear2 = Effect.fn("SessionRevert.clear")(function* (session) {
|
|
75
|
-
const instances = yield*
|
|
76
|
-
const bus = yield*
|
|
75
|
+
const instances = yield* Service43;
|
|
76
|
+
const bus = yield* Service84;
|
|
77
77
|
yield* Effect.gen(function* () {
|
|
78
|
-
const snapshot = yield*
|
|
78
|
+
const snapshot = yield* Service38;
|
|
79
79
|
if (!session.revert)
|
|
80
80
|
return;
|
|
81
81
|
const original = session.revert.snapshot;
|