@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,19 +1,19 @@
|
|
|
1
1
|
import {
|
|
2
2
|
policy3
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./location-service-map-n0p0277s.js";
|
|
4
4
|
import {
|
|
5
5
|
SessionEvent2
|
|
6
|
-
} from "./
|
|
6
|
+
} from "./location-service-map-ec1grn59.js";
|
|
7
7
|
import {
|
|
8
8
|
__export
|
|
9
|
-
} from "./
|
|
9
|
+
} from "./location-service-map-9rqn6x4v.js";
|
|
10
10
|
|
|
11
11
|
// src/session/runner/retry.ts
|
|
12
12
|
var exports_retry = {};
|
|
13
13
|
__export(exports_retry, {
|
|
14
14
|
SessionRunnerRetry: () => exports_retry,
|
|
15
15
|
isRetryable: () => isRetryable2,
|
|
16
|
-
make: () =>
|
|
16
|
+
make: () => make6,
|
|
17
17
|
policy: () => policy2
|
|
18
18
|
});
|
|
19
19
|
import { isRetryable as isRetryable2 } from "@opencode/ai";
|
|
@@ -39,7 +39,7 @@ var policy2 = (sessionID) => Effect.gen(function* () {
|
|
|
39
39
|
return { retry: true, attempt: next.attempt, delay: normalized };
|
|
40
40
|
});
|
|
41
41
|
});
|
|
42
|
-
var
|
|
42
|
+
var make6 = (bus, sessionID) => Effect.gen(function* () {
|
|
43
43
|
const decide = yield* policy2(sessionID);
|
|
44
44
|
const wait = (input) => Effect.gen(function* () {
|
|
45
45
|
const scheduled = yield* Clock.currentTimeMillis;
|
|
@@ -56,4 +56,4 @@ var make9 = (bus, sessionID) => Effect.gen(function* () {
|
|
|
56
56
|
return { decide, wait };
|
|
57
57
|
});
|
|
58
58
|
|
|
59
|
-
export { isRetryable2, policy2,
|
|
59
|
+
export { isRetryable2, policy2, make6, exports_retry };
|
|
@@ -1,37 +1,37 @@
|
|
|
1
1
|
import {
|
|
2
2
|
useragent2
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./location-service-map-vgw3dfza.js";
|
|
4
4
|
import {
|
|
5
|
-
|
|
6
|
-
} from "./
|
|
5
|
+
Service84
|
|
6
|
+
} from "./location-service-map-r8fhaa0s.js";
|
|
7
7
|
import {
|
|
8
8
|
OAuth3,
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
} from "./
|
|
9
|
+
Event17,
|
|
10
|
+
Service78
|
|
11
|
+
} from "./location-service-map-4ed14fdp.js";
|
|
12
12
|
import {
|
|
13
|
-
|
|
13
|
+
ID13,
|
|
14
14
|
MethodID2,
|
|
15
|
-
|
|
16
|
-
} from "./
|
|
15
|
+
Service77
|
|
16
|
+
} from "./location-service-map-m428dt5q.js";
|
|
17
17
|
import {
|
|
18
18
|
success2,
|
|
19
19
|
error2
|
|
20
|
-
} from "./
|
|
20
|
+
} from "./location-service-map-yb20nhc3.js";
|
|
21
21
|
import {
|
|
22
|
-
|
|
23
|
-
} from "./
|
|
22
|
+
ID12
|
|
23
|
+
} from "./location-service-map-qrscgvzd.js";
|
|
24
24
|
import {
|
|
25
25
|
configuredSettings2
|
|
26
|
-
} from "./
|
|
26
|
+
} from "./location-service-map-9abkctgc.js";
|
|
27
27
|
|
|
28
28
|
// src/plugin/provider/snowflake-cortex.ts
|
|
29
29
|
import { define } from "@opencode/plugin/effect/plugin";
|
|
30
30
|
import { Form } from "@opencode/schema/form";
|
|
31
31
|
import { Clock, Deferred, Effect, Option, Schema, Stream } from "effect";
|
|
32
32
|
import { HttpClient, HttpClientRequest, HttpClientResponse } from "effect/http";
|
|
33
|
-
var providerID =
|
|
34
|
-
var integrationID =
|
|
33
|
+
var providerID = ID12.make("snowflake-cortex");
|
|
34
|
+
var integrationID = ID13.make(providerID);
|
|
35
35
|
var methodID = MethodID2.make("browser");
|
|
36
36
|
var clientID = "LOCAL_APPLICATION";
|
|
37
37
|
var accountForm = Form.Fields.make([
|
|
@@ -53,9 +53,9 @@ var SnowflakeCortexPlugin2 = define({
|
|
|
53
53
|
id: "opencode.provider.snowflake.cortex",
|
|
54
54
|
effect: Effect.fn(function* (ctx) {
|
|
55
55
|
const http = yield* HttpClient.HttpClient;
|
|
56
|
-
const credentials = yield*
|
|
57
|
-
const integrations = yield*
|
|
58
|
-
const bus = yield*
|
|
56
|
+
const credentials = yield* Service78;
|
|
57
|
+
const integrations = yield* Service77;
|
|
58
|
+
const bus = yield* Service84;
|
|
59
59
|
const configured = yield* configuredSettings2(providerID);
|
|
60
60
|
const account = { value: "" };
|
|
61
61
|
const saved = Effect.gen(function* () {
|
|
@@ -186,7 +186,7 @@ var SnowflakeCortexPlugin2 = define({
|
|
|
186
186
|
});
|
|
187
187
|
}
|
|
188
188
|
});
|
|
189
|
-
yield* bus.subscribe(
|
|
189
|
+
yield* bus.subscribe(Event17.Switched).pipe(Stream.filter((event) => event.data.integrationID === integrationID), Stream.runForEach(() => load.pipe(Effect.andThen(ctx.provider.reload()))), Effect.forkScoped({ startImmediately: true }));
|
|
190
190
|
yield* ctx.session.hook("http.request", (event) => Effect.sync(() => {
|
|
191
191
|
const token = envToken();
|
|
192
192
|
if (token)
|
|
@@ -1,15 +1,15 @@
|
|
|
1
1
|
import {
|
|
2
2
|
BlockedError2
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./location-service-map-86yd8n6t.js";
|
|
4
4
|
import {
|
|
5
5
|
__export
|
|
6
|
-
} from "./
|
|
6
|
+
} from "./location-service-map-9rqn6x4v.js";
|
|
7
7
|
|
|
8
8
|
// src/plugin/plan.ts
|
|
9
9
|
var exports_plan = {};
|
|
10
10
|
__export(exports_plan, {
|
|
11
11
|
PlanPlugin: () => exports_plan,
|
|
12
|
-
Plugin: () =>
|
|
12
|
+
Plugin: () => Plugin46
|
|
13
13
|
});
|
|
14
14
|
import { Message, ToolFailure } from "@opencode/ai";
|
|
15
15
|
import { define } from "@opencode/plugin/effect/plugin";
|
|
@@ -29,7 +29,7 @@ You remain in Plan mode until the user switches agents. If the user asks you to
|
|
|
29
29
|
var leave = `<system-reminder>
|
|
30
30
|
You are NO LONGER in Plan mode. The previous Plan restrictions no longer apply. Any Plan mode instructions from earlier in this conversation are no longer active.
|
|
31
31
|
</system-reminder>`;
|
|
32
|
-
var
|
|
32
|
+
var Plugin46 = define({
|
|
33
33
|
id: "opencode.plan",
|
|
34
34
|
effect: Effect.fn(function* (ctx) {
|
|
35
35
|
const global = yield* Global.Service;
|
|
@@ -105,4 +105,4 @@ function lastReminder(messages, enterReminder) {
|
|
|
105
105
|
}, undefined);
|
|
106
106
|
}
|
|
107
107
|
|
|
108
|
-
export {
|
|
108
|
+
export { Plugin46, exports_plan };
|
|
@@ -1,38 +1,38 @@
|
|
|
1
1
|
import {
|
|
2
2
|
mergeOverlay2,
|
|
3
3
|
mergeHeaders2
|
|
4
|
-
} from "./
|
|
4
|
+
} from "./location-service-map-qrscgvzd.js";
|
|
5
5
|
import {
|
|
6
6
|
mergeCapabilities2
|
|
7
|
-
} from "./
|
|
7
|
+
} from "./location-service-map-g6wjc1x4.js";
|
|
8
8
|
import {
|
|
9
9
|
latest2,
|
|
10
|
-
|
|
11
|
-
} from "./
|
|
10
|
+
Service64
|
|
11
|
+
} from "./location-service-map-rr7wf6ce.js";
|
|
12
12
|
import {
|
|
13
13
|
supports2,
|
|
14
|
-
|
|
15
|
-
} from "./
|
|
14
|
+
resolve4
|
|
15
|
+
} from "./location-service-map-40008bk8.js";
|
|
16
16
|
import {
|
|
17
17
|
observe2
|
|
18
|
-
} from "./
|
|
18
|
+
} from "./location-service-map-6pjqjmy2.js";
|
|
19
19
|
import {
|
|
20
20
|
__export
|
|
21
|
-
} from "./
|
|
21
|
+
} from "./location-service-map-9rqn6x4v.js";
|
|
22
22
|
|
|
23
23
|
// src/config/plugin/provider.ts
|
|
24
24
|
var exports_provider = {};
|
|
25
25
|
__export(exports_provider, {
|
|
26
26
|
ConfigProviderPlugin: () => exports_provider,
|
|
27
|
-
Plugin: () =>
|
|
27
|
+
Plugin: () => Plugin12
|
|
28
28
|
});
|
|
29
29
|
import { define } from "@opencode/plugin/effect/plugin";
|
|
30
30
|
import { Money } from "@opencode/schema/money";
|
|
31
31
|
import { Effect } from "effect";
|
|
32
|
-
var
|
|
32
|
+
var Plugin12 = define({
|
|
33
33
|
id: "opencode.config.provider",
|
|
34
34
|
effect: Effect.fn(function* (ctx) {
|
|
35
|
-
const config = yield*
|
|
35
|
+
const config = yield* Service64;
|
|
36
36
|
const loaded = yield* observe2(config, ctx.event, ctx.integration.reload().pipe(Effect.andThen(ctx.provider.reload())));
|
|
37
37
|
yield* ctx.integration.transform((integrations) => {
|
|
38
38
|
for (const [id, provider] of configuredProviders(loaded.entries)) {
|
|
@@ -165,7 +165,7 @@ var Plugin41 = define({
|
|
|
165
165
|
models.update(providerID, id, (model) => {
|
|
166
166
|
if (config.capabilities?.reasoning !== undefined)
|
|
167
167
|
model.variants = [
|
|
168
|
-
...
|
|
168
|
+
...resolve4({ ...model, package: model.package ?? models.provider.get(providerID)?.provider.package }, supports2(config.capabilities.reasoning))
|
|
169
169
|
];
|
|
170
170
|
if (config.variants !== undefined) {
|
|
171
171
|
model.variants ??= [];
|
|
@@ -201,7 +201,7 @@ var Plugin41 = define({
|
|
|
201
201
|
if (config.variants === undefined && config.capabilities?.reasoning === undefined && (!source?.base || repackaged))
|
|
202
202
|
models.update(providerID, id, (model) => {
|
|
203
203
|
model.variants = [
|
|
204
|
-
...
|
|
204
|
+
...resolve4({
|
|
205
205
|
...model,
|
|
206
206
|
package: model.package ?? models.provider.get(providerID)?.provider.package
|
|
207
207
|
})
|
|
@@ -216,4 +216,4 @@ function configuredProviders(entries) {
|
|
|
216
216
|
return entries.filter((entry) => entry.type === "document").flatMap((file) => Object.entries(file.info.providers ?? {}));
|
|
217
217
|
}
|
|
218
218
|
|
|
219
|
-
export {
|
|
219
|
+
export { Plugin12, exports_provider };
|
|
@@ -1,20 +1,20 @@
|
|
|
1
1
|
import {
|
|
2
2
|
OAuth3
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./location-service-map-4ed14fdp.js";
|
|
4
4
|
import {
|
|
5
|
-
|
|
5
|
+
ID13,
|
|
6
6
|
MethodID2
|
|
7
|
-
} from "./
|
|
7
|
+
} from "./location-service-map-m428dt5q.js";
|
|
8
8
|
import {
|
|
9
9
|
success2,
|
|
10
10
|
error2
|
|
11
|
-
} from "./
|
|
11
|
+
} from "./location-service-map-yb20nhc3.js";
|
|
12
12
|
|
|
13
13
|
// src/plugin/provider/poe.ts
|
|
14
14
|
import { define } from "@opencode/plugin/effect/plugin";
|
|
15
15
|
import { Clock, Deferred, Effect, Option, Schema } from "effect";
|
|
16
16
|
import { HttpClient, HttpClientRequest, HttpClientResponse } from "effect/http";
|
|
17
|
-
var integrationID =
|
|
17
|
+
var integrationID = ID13.make("poe");
|
|
18
18
|
var methodID = MethodID2.make("browser");
|
|
19
19
|
var clientID = "client_728290227fc048cc9262091a1ea197ea";
|
|
20
20
|
var issuer = "https://poe.com";
|
|
@@ -1,32 +1,32 @@
|
|
|
1
1
|
import {
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
} from "./
|
|
2
|
+
Service84,
|
|
3
|
+
node88
|
|
4
|
+
} from "./location-service-map-r8fhaa0s.js";
|
|
5
5
|
import {
|
|
6
6
|
create3
|
|
7
|
-
} from "./
|
|
7
|
+
} from "./location-service-map-vd3b3yk9.js";
|
|
8
8
|
import {
|
|
9
9
|
evaluate2
|
|
10
|
-
} from "./
|
|
10
|
+
} from "./location-service-map-86yd8n6t.js";
|
|
11
11
|
import {
|
|
12
12
|
__export
|
|
13
|
-
} from "./
|
|
13
|
+
} from "./location-service-map-9rqn6x4v.js";
|
|
14
14
|
|
|
15
15
|
// src/skill.ts
|
|
16
16
|
var exports_skill5 = {};
|
|
17
17
|
__export(exports_skill5, {
|
|
18
18
|
DirectorySource: () => DirectorySource2,
|
|
19
19
|
EmbeddedSource: () => EmbeddedSource2,
|
|
20
|
-
Event: () =>
|
|
21
|
-
ID: () =>
|
|
22
|
-
Info: () =>
|
|
20
|
+
Event: () => Event7,
|
|
21
|
+
ID: () => ID5,
|
|
22
|
+
Info: () => Info10,
|
|
23
23
|
Name: () => Name2,
|
|
24
|
-
Service: () =>
|
|
24
|
+
Service: () => Service50,
|
|
25
25
|
Skill: () => exports_skill5,
|
|
26
26
|
Source: () => Source3,
|
|
27
27
|
UrlSource: () => UrlSource2,
|
|
28
28
|
available: () => available2,
|
|
29
|
-
node: () =>
|
|
29
|
+
node: () => node52,
|
|
30
30
|
prepare: () => prepare3,
|
|
31
31
|
toModelOutput: () => toModelOutput3
|
|
32
32
|
});
|
|
@@ -35,13 +35,13 @@ import { FSUtil } from "@opencode/util/fs-util";
|
|
|
35
35
|
import path from "path";
|
|
36
36
|
import { Context, Effect, Layer } from "effect";
|
|
37
37
|
import { Skill } from "@opencode/schema/skill";
|
|
38
|
-
import { Event as
|
|
38
|
+
import { Event as Event7 } from "@opencode/schema/skill";
|
|
39
39
|
var DirectorySource2 = Skill.DirectorySource;
|
|
40
40
|
var UrlSource2 = Skill.UrlSource;
|
|
41
41
|
var EmbeddedSource2 = Skill.EmbeddedSource;
|
|
42
42
|
var Source3 = Skill.Source;
|
|
43
|
-
var
|
|
44
|
-
var
|
|
43
|
+
var Info10 = Skill.Info;
|
|
44
|
+
var ID5 = Skill.ID;
|
|
45
45
|
var Name2 = Skill.Name;
|
|
46
46
|
var available2 = (skills, permissions) => skills.filter((skill) => evaluate2("skill", skill.id, permissions).effect !== "deny");
|
|
47
47
|
var toModelOutput3 = (skill, files) => {
|
|
@@ -78,21 +78,21 @@ var prepare3 = Effect.fn("Skill.prepare")(function* (fs, skill) {
|
|
|
78
78
|
};
|
|
79
79
|
});
|
|
80
80
|
|
|
81
|
-
class
|
|
81
|
+
class Service50 extends Context.Service()("@opencode/Skill") {
|
|
82
82
|
}
|
|
83
|
-
var layer = Layer.effect(
|
|
84
|
-
const bus = yield*
|
|
83
|
+
var layer = Layer.effect(Service50, Effect.gen(function* () {
|
|
84
|
+
const bus = yield* Service84;
|
|
85
85
|
const state = create3({
|
|
86
86
|
name: "skill",
|
|
87
87
|
initial: () => ({ skills: new Map }),
|
|
88
88
|
editor: (editor) => ({
|
|
89
89
|
list: () => Array.from(editor.skills.values()),
|
|
90
|
-
get: (id) => editor.skills.get(
|
|
90
|
+
get: (id) => editor.skills.get(ID5.make(id)),
|
|
91
91
|
add: (skill) => {
|
|
92
92
|
editor.skills.set(skill.id, { ...skill });
|
|
93
93
|
},
|
|
94
94
|
update: (id, update) => {
|
|
95
|
-
const key =
|
|
95
|
+
const key = ID5.make(id);
|
|
96
96
|
const current = editor.skills.get(key);
|
|
97
97
|
if (!current)
|
|
98
98
|
return;
|
|
@@ -100,12 +100,12 @@ var layer = Layer.effect(Service36, Effect.gen(function* () {
|
|
|
100
100
|
current.id = key;
|
|
101
101
|
},
|
|
102
102
|
remove: (id) => {
|
|
103
|
-
editor.skills.delete(
|
|
103
|
+
editor.skills.delete(ID5.make(id));
|
|
104
104
|
}
|
|
105
105
|
}),
|
|
106
106
|
notify: () => bus.publish(Skill.Event.Updated, {}).pipe(Effect.asVoid)
|
|
107
107
|
});
|
|
108
|
-
return
|
|
108
|
+
return Service50.of({
|
|
109
109
|
transform: state.transform,
|
|
110
110
|
reload: state.reload,
|
|
111
111
|
get: Effect.fn("Skill.get")(function* (id) {
|
|
@@ -116,10 +116,10 @@ var layer = Layer.effect(Service36, Effect.gen(function* () {
|
|
|
116
116
|
})
|
|
117
117
|
});
|
|
118
118
|
}));
|
|
119
|
-
var
|
|
120
|
-
service:
|
|
119
|
+
var node52 = makeLocationNode({
|
|
120
|
+
service: Service50,
|
|
121
121
|
layer,
|
|
122
|
-
deps: [
|
|
122
|
+
deps: [node88]
|
|
123
123
|
});
|
|
124
124
|
|
|
125
|
-
export { DirectorySource2, UrlSource2, EmbeddedSource2, Source3,
|
|
125
|
+
export { DirectorySource2, UrlSource2, EmbeddedSource2, Source3, Info10, ID5, Name2, available2, toModelOutput3, prepare3, Service50, node52, exports_skill5, Event7 };
|
|
@@ -1,42 +1,42 @@
|
|
|
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
|
+
Service37,
|
|
7
|
+
node40
|
|
8
|
+
} from "./location-service-map-n5ec28k5.js";
|
|
9
9
|
import {
|
|
10
10
|
isTextual2
|
|
11
|
-
} from "./
|
|
11
|
+
} from "./location-service-map-2z1j29yd.js";
|
|
12
12
|
import {
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
} from "./
|
|
13
|
+
Service54,
|
|
14
|
+
node56
|
|
15
|
+
} from "./location-service-map-86yd8n6t.js";
|
|
16
16
|
import {
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
} from "./
|
|
17
|
+
Service45,
|
|
18
|
+
node47
|
|
19
|
+
} from "./location-service-map-7ddrbmq5.js";
|
|
20
20
|
import {
|
|
21
|
-
|
|
22
|
-
|
|
23
|
-
} from "./
|
|
21
|
+
Service63,
|
|
22
|
+
node65
|
|
23
|
+
} from "./location-service-map-3f8v07ch.js";
|
|
24
24
|
import {
|
|
25
25
|
MEDIA_MIMES2
|
|
26
|
-
} from "./
|
|
26
|
+
} from "./location-service-map-388njdkr.js";
|
|
27
27
|
import {
|
|
28
28
|
__export
|
|
29
|
-
} from "./
|
|
29
|
+
} from "./location-service-map-9rqn6x4v.js";
|
|
30
30
|
|
|
31
31
|
// src/tool/mcp.ts
|
|
32
32
|
var exports_mcp3 = {};
|
|
33
33
|
__export(exports_mcp3, {
|
|
34
34
|
McpTool: () => exports_mcp3,
|
|
35
|
-
Service: () =>
|
|
36
|
-
layer: () =>
|
|
37
|
-
name: () =>
|
|
35
|
+
Service: () => Service34,
|
|
36
|
+
layer: () => layer15,
|
|
37
|
+
name: () => name15,
|
|
38
38
|
namespace: () => namespace2,
|
|
39
|
-
node: () =>
|
|
39
|
+
node: () => node38
|
|
40
40
|
});
|
|
41
41
|
import { ToolFailure } from "@opencode/ai";
|
|
42
42
|
import { McpEvent } from "@opencode/schema/mcp-event";
|
|
@@ -45,16 +45,16 @@ import { makeLocationNode } from "@opencode/util/effect/app-node";
|
|
|
45
45
|
import { extension } from "mime-types";
|
|
46
46
|
var decodeJson = Schema.decodeUnknownOption(Schema.fromJsonString(Schema.Unknown));
|
|
47
47
|
var namespace2 = (server) => server.replace(/[^a-zA-Z0-9_-]/g, "_");
|
|
48
|
-
var
|
|
48
|
+
var name15 = (server, tool) => `${namespace2(server)}_${tool.replace(/[^a-zA-Z0-9_-]/g, "_")}`;
|
|
49
49
|
|
|
50
|
-
class
|
|
50
|
+
class Service34 extends Context.Service()("@opencode/McpTool") {
|
|
51
51
|
}
|
|
52
|
-
var
|
|
53
|
-
const mcp = yield*
|
|
54
|
-
const tools = yield*
|
|
55
|
-
const bus = yield*
|
|
56
|
-
const permission = yield*
|
|
57
|
-
const toolOutput = yield*
|
|
52
|
+
var layer15 = Layer.effect(Service34, Effect.gen(function* () {
|
|
53
|
+
const mcp = yield* Service37;
|
|
54
|
+
const tools = yield* Service45;
|
|
55
|
+
const bus = yield* Service84;
|
|
56
|
+
const permission = yield* Service54;
|
|
57
|
+
const toolOutput = yield* Service63;
|
|
58
58
|
const lock = Semaphore.makeUnsafe(1);
|
|
59
59
|
let discovered = [];
|
|
60
60
|
const initial = yield* lock.withPermit(Effect.gen(function* () {
|
|
@@ -69,7 +69,7 @@ var layer13 = Layer.effect(Service29, Effect.gen(function* () {
|
|
|
69
69
|
output: tool.outputSchema ?? {},
|
|
70
70
|
execute: (input, context) => Effect.gen(function* () {
|
|
71
71
|
yield* permission.assert({
|
|
72
|
-
action:
|
|
72
|
+
action: name15(tool.server, tool.name),
|
|
73
73
|
resources: ["*"],
|
|
74
74
|
save: ["*"],
|
|
75
75
|
metadata: { input: input ?? {} },
|
|
@@ -111,7 +111,7 @@ var layer13 = Layer.effect(Service29, Effect.gen(function* () {
|
|
|
111
111
|
output: output(),
|
|
112
112
|
...content.length === 0 ? {} : { content }
|
|
113
113
|
};
|
|
114
|
-
}).pipe(Effect.mapError((error) => error instanceof ToolFailure ? error : new ToolFailure({ message: `Unable to execute ${
|
|
114
|
+
}).pipe(Effect.mapError((error) => error instanceof ToolFailure ? error : new ToolFailure({ message: `Unable to execute ${name15(tool.server, tool.name)}` })))
|
|
115
115
|
});
|
|
116
116
|
}
|
|
117
117
|
});
|
|
@@ -124,7 +124,7 @@ var layer13 = Layer.effect(Service29, Effect.gen(function* () {
|
|
|
124
124
|
yield* bus.subscribe(McpEvent.ToolsChanged).pipe(Stream.runForEach(() => PubSub.publish(changes, undefined)), Effect.forkScoped({ startImmediately: true }));
|
|
125
125
|
const updates = yield* PubSub.subscribe(changes);
|
|
126
126
|
yield* Stream.fromSubscription(updates).pipe(Stream.debounce("100 millis"), Stream.runForEach(() => reconcile), Effect.forkScoped({ startImmediately: true }));
|
|
127
|
-
return
|
|
127
|
+
return Service34.of({ flush: Effect.asVoid(Fiber.await(initial)) });
|
|
128
128
|
}));
|
|
129
129
|
var toContent = Effect.fnUntraced(function* (part, toolOutput) {
|
|
130
130
|
if (part.type === "text")
|
|
@@ -144,10 +144,10 @@ ${bytes.toString("utf8")}` };
|
|
|
144
144
|
text: `[Binary resource ${label} (${part.mimeType}, ${bytes.byteLength} bytes) saved to ${file}]`
|
|
145
145
|
};
|
|
146
146
|
});
|
|
147
|
-
var
|
|
148
|
-
service:
|
|
149
|
-
layer:
|
|
150
|
-
deps: [
|
|
147
|
+
var node38 = makeLocationNode({
|
|
148
|
+
service: Service34,
|
|
149
|
+
layer: layer15,
|
|
150
|
+
deps: [node47, node40, node88, node56, node65]
|
|
151
151
|
});
|
|
152
152
|
|
|
153
|
-
export { namespace2,
|
|
153
|
+
export { namespace2, name15, Service34, layer15, node38, exports_mcp3 };
|
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
import {
|
|
2
2
|
Timestamps2
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./location-service-map-qfa1cgps.js";
|
|
4
4
|
import {
|
|
5
5
|
ProjectTable2
|
|
6
|
-
} from "./
|
|
6
|
+
} from "./location-service-map-034tev2y.js";
|
|
7
7
|
|
|
8
8
|
// src/permission/sql.ts
|
|
9
9
|
import { sqliteTable, text, uniqueIndex } from "drizzle-orm/sqlite-core";
|
|
@@ -1,30 +1,30 @@
|
|
|
1
1
|
import {
|
|
2
2
|
RelativePath2
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./location-service-map-z5v4ffb3.js";
|
|
4
4
|
import {
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
} from "./
|
|
5
|
+
Service80,
|
|
6
|
+
node83
|
|
7
|
+
} from "./location-service-map-3xbacp9g.js";
|
|
8
8
|
import {
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
} from "./
|
|
9
|
+
Service51,
|
|
10
|
+
node53
|
|
11
|
+
} from "./location-service-map-5vh4rcr3.js";
|
|
12
12
|
import {
|
|
13
13
|
isHome2,
|
|
14
14
|
names3
|
|
15
|
-
} from "./
|
|
15
|
+
} from "./location-service-map-76cb1hcw.js";
|
|
16
16
|
import {
|
|
17
17
|
__export
|
|
18
|
-
} from "./
|
|
18
|
+
} from "./location-service-map-9rqn6x4v.js";
|
|
19
19
|
|
|
20
20
|
// src/filesystem/search.ts
|
|
21
21
|
var exports_search = {};
|
|
22
22
|
__export(exports_search, {
|
|
23
23
|
FileSystemSearch: () => exports_search,
|
|
24
|
-
Service: () =>
|
|
25
|
-
configured: () =>
|
|
24
|
+
Service: () => Service47,
|
|
25
|
+
configured: () => configured3,
|
|
26
26
|
fffLayer: () => fffLayer2,
|
|
27
|
-
node: () =>
|
|
27
|
+
node: () => node49
|
|
28
28
|
});
|
|
29
29
|
import { makeLocationNode } from "@opencode/util/effect/app-node";
|
|
30
30
|
import path from "path";
|
|
@@ -32,7 +32,7 @@ import { Clock, Context, Deferred, Duration, Effect, Layer, Scope } from "effect
|
|
|
32
32
|
import { Fff } from "#fff";
|
|
33
33
|
import fuzzysort from "fuzzysort";
|
|
34
34
|
import { FileSystem } from "@opencode/schema/filesystem";
|
|
35
|
-
class
|
|
35
|
+
class Service47 extends Context.Service()("@opencode/FileSystem/Search") {
|
|
36
36
|
}
|
|
37
37
|
var REFRESH_INTERVAL = Duration.toMillis("10 seconds");
|
|
38
38
|
function emptyIndex() {
|
|
@@ -51,9 +51,9 @@ function search(index, input) {
|
|
|
51
51
|
});
|
|
52
52
|
});
|
|
53
53
|
}
|
|
54
|
-
var ripgrepLayer = Layer.effect(
|
|
55
|
-
const location = yield*
|
|
56
|
-
const ripgrep = yield*
|
|
54
|
+
var ripgrepLayer = Layer.effect(Service47, Effect.gen(function* () {
|
|
55
|
+
const location = yield* Service80;
|
|
56
|
+
const ripgrep = yield* Service51;
|
|
57
57
|
const scope = yield* Scope.Scope;
|
|
58
58
|
const clock = yield* Clock.Clock;
|
|
59
59
|
const home = isHome2(location.directory);
|
|
@@ -98,15 +98,15 @@ var ripgrepLayer = Layer.effect(Service35, Effect.gen(function* () {
|
|
|
98
98
|
Deferred.doneUnsafe(attempt, exit);
|
|
99
99
|
})), Effect.forkIn(scope), Effect.flatMap(() => initialized ? Effect.void : Deferred.await(attempt)));
|
|
100
100
|
});
|
|
101
|
-
return
|
|
101
|
+
return Service47.of({
|
|
102
102
|
find: (input) => Effect.gen(function* () {
|
|
103
103
|
yield* refresh;
|
|
104
104
|
return search(index, input);
|
|
105
105
|
})
|
|
106
106
|
});
|
|
107
107
|
}));
|
|
108
|
-
var fffLayer2 = Layer.effect(
|
|
109
|
-
const location = yield*
|
|
108
|
+
var fffLayer2 = Layer.effect(Service47, Effect.gen(function* () {
|
|
109
|
+
const location = yield* Service80;
|
|
110
110
|
const result = yield* Effect.try({
|
|
111
111
|
try: () => Fff.create({
|
|
112
112
|
basePath: location.directory,
|
|
@@ -119,12 +119,12 @@ var fffLayer2 = Layer.effect(Service35, Effect.gen(function* () {
|
|
|
119
119
|
if (!result?.ok) {
|
|
120
120
|
if (result)
|
|
121
121
|
yield* Effect.logWarning("failed to initialize fff", { error: result.error });
|
|
122
|
-
return
|
|
122
|
+
return Service47.of({
|
|
123
123
|
find: () => Effect.succeed([])
|
|
124
124
|
});
|
|
125
125
|
}
|
|
126
126
|
yield* Effect.addFinalizer(() => Effect.sync(() => result.value.destroy()));
|
|
127
|
-
return
|
|
127
|
+
return Service47.of({
|
|
128
128
|
find: (input) => Effect.sync(() => {
|
|
129
129
|
const options = { pageIndex: 0, pageSize: input.limit ?? 50 };
|
|
130
130
|
const items = (() => {
|
|
@@ -168,16 +168,16 @@ var fffLayer2 = Layer.effect(Service35, Effect.gen(function* () {
|
|
|
168
168
|
});
|
|
169
169
|
}));
|
|
170
170
|
var layer = (options) => Layer.unwrap(Effect.gen(function* () {
|
|
171
|
-
const location = yield*
|
|
171
|
+
const location = yield* Service80;
|
|
172
172
|
if (location.workspaceID)
|
|
173
173
|
return ripgrepLayer;
|
|
174
174
|
if (options?.fff === false || options?.fff === undefined && process.platform === "win32" || !Fff.available())
|
|
175
175
|
return ripgrepLayer;
|
|
176
176
|
return location.vcs && !isHome2(location.directory) ? fffLayer2 : ripgrepLayer;
|
|
177
177
|
}));
|
|
178
|
-
function
|
|
179
|
-
return makeLocationNode({ service:
|
|
178
|
+
function configured3(options) {
|
|
179
|
+
return makeLocationNode({ service: Service47, layer: layer(options), deps: [node83, node53] });
|
|
180
180
|
}
|
|
181
|
-
var
|
|
181
|
+
var node49 = configured3();
|
|
182
182
|
|
|
183
|
-
export {
|
|
183
|
+
export { Service47, fffLayer2, configured3, node49, exports_search };
|