@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,12 +1,12 @@
|
|
|
1
1
|
import {
|
|
2
2
|
__export
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./location-service-map-9rqn6x4v.js";
|
|
4
4
|
|
|
5
5
|
// src/session/system-prompt.ts
|
|
6
6
|
var exports_system_prompt = {};
|
|
7
7
|
__export(exports_system_prompt, {
|
|
8
8
|
SessionSystemPrompt: () => exports_system_prompt,
|
|
9
|
-
make: () =>
|
|
9
|
+
make: () => make15,
|
|
10
10
|
render: () => render3
|
|
11
11
|
});
|
|
12
12
|
// src/session/runner/prompt/system.txt
|
|
@@ -28,7 +28,7 @@ var system_default = `You are an AI agent running in OpenCode, a coding agent ha
|
|
|
28
28
|
`;
|
|
29
29
|
|
|
30
30
|
// src/session/system-prompt.ts
|
|
31
|
-
function
|
|
31
|
+
function make15(tools) {
|
|
32
32
|
return render3(system_default, tools);
|
|
33
33
|
}
|
|
34
34
|
function render3(prompt, tools) {
|
|
@@ -46,4 +46,4 @@ function render3(prompt, tools) {
|
|
|
46
46
|
`));
|
|
47
47
|
}
|
|
48
48
|
|
|
49
|
-
export {
|
|
49
|
+
export { make15, render3, exports_system_prompt };
|
|
@@ -1,26 +1,26 @@
|
|
|
1
1
|
import {
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
} from "./
|
|
2
|
+
Service84,
|
|
3
|
+
node88
|
|
4
|
+
} from "./location-service-map-r8fhaa0s.js";
|
|
5
5
|
import {
|
|
6
6
|
Key4,
|
|
7
7
|
External2,
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
} from "./
|
|
8
|
+
Service78,
|
|
9
|
+
node81
|
|
10
|
+
} from "./location-service-map-4ed14fdp.js";
|
|
11
11
|
import {
|
|
12
12
|
create3
|
|
13
|
-
} from "./
|
|
13
|
+
} from "./location-service-map-vd3b3yk9.js";
|
|
14
14
|
import {
|
|
15
15
|
key2
|
|
16
|
-
} from "./
|
|
16
|
+
} from "./location-service-map-bjhzkqyk.js";
|
|
17
17
|
import {
|
|
18
18
|
validateAnswer2,
|
|
19
19
|
validateFields2
|
|
20
|
-
} from "./
|
|
20
|
+
} from "./location-service-map-nzm9dq78.js";
|
|
21
21
|
import {
|
|
22
22
|
__export
|
|
23
|
-
} from "./
|
|
23
|
+
} from "./location-service-map-9rqn6x4v.js";
|
|
24
24
|
|
|
25
25
|
// src/integration.ts
|
|
26
26
|
var exports_integration = {};
|
|
@@ -35,9 +35,9 @@ __export(exports_integration, {
|
|
|
35
35
|
CommandAttemptStatus: () => CommandAttemptStatus2,
|
|
36
36
|
CommandMethod: () => CommandMethod2,
|
|
37
37
|
EnvMethod: () => EnvMethod2,
|
|
38
|
-
Event: () =>
|
|
38
|
+
Event: () => Event16,
|
|
39
39
|
ExternalMethod: () => ExternalMethod2,
|
|
40
|
-
ID: () =>
|
|
40
|
+
ID: () => ID13,
|
|
41
41
|
Info: () => Info23,
|
|
42
42
|
Integration: () => exports_integration,
|
|
43
43
|
KeyMethod: () => KeyMethod2,
|
|
@@ -45,8 +45,8 @@ __export(exports_integration, {
|
|
|
45
45
|
MethodID: () => MethodID2,
|
|
46
46
|
OAuthMethod: () => OAuthMethod2,
|
|
47
47
|
Ref: () => Ref3,
|
|
48
|
-
Service: () =>
|
|
49
|
-
node: () =>
|
|
48
|
+
Service: () => Service77,
|
|
49
|
+
node: () => node80
|
|
50
50
|
});
|
|
51
51
|
import { makeLocationNode } from "@opencode/util/effect/app-node";
|
|
52
52
|
import {
|
|
@@ -68,8 +68,8 @@ import {
|
|
|
68
68
|
import { Integration } from "@opencode/schema/integration";
|
|
69
69
|
import { AppProcess } from "@opencode/util/process";
|
|
70
70
|
import { ChildProcess } from "effect/process";
|
|
71
|
-
import { Event as
|
|
72
|
-
var
|
|
71
|
+
import { Event as Event16 } from "@opencode/schema/integration";
|
|
72
|
+
var ID13 = Integration.ID;
|
|
73
73
|
var MethodID2 = Integration.MethodID;
|
|
74
74
|
var AttemptID2 = Integration.AttemptID;
|
|
75
75
|
var OAuthMethod2 = Integration.OAuthMethod;
|
|
@@ -101,20 +101,20 @@ class AuthorizationError2 extends Schema.TaggedError()("Integration.Authorizatio
|
|
|
101
101
|
}
|
|
102
102
|
|
|
103
103
|
class AttemptNotFoundError2 extends Schema.TaggedError()("Integration.AttemptNotFound", {
|
|
104
|
-
integrationID:
|
|
104
|
+
integrationID: ID13,
|
|
105
105
|
attemptID: AttemptID2
|
|
106
106
|
}) {
|
|
107
107
|
}
|
|
108
108
|
var Ref3 = Integration.Ref;
|
|
109
109
|
|
|
110
|
-
class
|
|
110
|
+
class Service77 extends Context.Service()("@opencode/Integration") {
|
|
111
111
|
}
|
|
112
112
|
var attemptLifetime = Duration.toMillis(Duration.minutes(10));
|
|
113
113
|
var terminalRetention = Duration.toMillis(Duration.minutes(1));
|
|
114
114
|
var scrubInterval = Duration.seconds(30);
|
|
115
|
-
var layer = Layer.effect(
|
|
116
|
-
const credentials = yield*
|
|
117
|
-
const bus = yield*
|
|
115
|
+
var layer = Layer.effect(Service77, Effect.gen(function* () {
|
|
116
|
+
const credentials = yield* Service78;
|
|
117
|
+
const bus = yield* Service84;
|
|
118
118
|
const processes = yield* AppProcess.Service;
|
|
119
119
|
const scope = yield* Scope.Scope;
|
|
120
120
|
const attempts = SynchronizedRef.makeUnsafe(new Map);
|
|
@@ -447,7 +447,7 @@ var layer = Layer.effect(Service78, Effect.gen(function* () {
|
|
|
447
447
|
}).pipe(Scope.provide(attemptScope), Effect.exit, Effect.flatMap((exit) => settleCommand(attemptID, exit)), Effect.forkIn(attemptScope, { startImmediately: true }));
|
|
448
448
|
return CommandAttempt2.make({ attemptID, time });
|
|
449
449
|
});
|
|
450
|
-
return
|
|
450
|
+
return Service77.of({
|
|
451
451
|
transform: state.transform,
|
|
452
452
|
reload: state.reload,
|
|
453
453
|
revision: state.revision,
|
|
@@ -629,10 +629,10 @@ var layer = Layer.effect(Service78, Effect.gen(function* () {
|
|
|
629
629
|
}
|
|
630
630
|
});
|
|
631
631
|
}));
|
|
632
|
-
var
|
|
633
|
-
service:
|
|
632
|
+
var node80 = makeLocationNode({
|
|
633
|
+
service: Service77,
|
|
634
634
|
layer,
|
|
635
|
-
deps: [
|
|
635
|
+
deps: [node81, node88, AppProcess.node]
|
|
636
636
|
});
|
|
637
637
|
|
|
638
|
-
export {
|
|
638
|
+
export { ID13, MethodID2, AttemptID2, OAuthMethod2, CommandMethod2, KeyMethod2, ExternalMethod2, EnvMethod2, Method2, Info23, Attempt2, AttemptStatus2, CommandAttempt2, CommandAttemptStatus2, CodeRequiredError2, AuthorizationError2, AttemptNotFoundError2, Ref3, Service77, node80, exports_integration, Event16 };
|
|
@@ -1,51 +1,51 @@
|
|
|
1
1
|
import {
|
|
2
2
|
typeFollowing2
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./location-service-map-zkg84ctx.js";
|
|
4
4
|
import {
|
|
5
5
|
RelativePath2
|
|
6
|
-
} from "./
|
|
6
|
+
} from "./location-service-map-z5v4ffb3.js";
|
|
7
7
|
import {
|
|
8
|
-
|
|
9
|
-
} from "./
|
|
8
|
+
Service80
|
|
9
|
+
} from "./location-service-map-3xbacp9g.js";
|
|
10
10
|
import {
|
|
11
|
-
|
|
12
|
-
} from "./
|
|
11
|
+
Service72
|
|
12
|
+
} from "./location-service-map-1sme1v1k.js";
|
|
13
13
|
import {
|
|
14
14
|
InvalidPatternError2,
|
|
15
|
-
|
|
16
|
-
} from "./
|
|
15
|
+
Service51
|
|
16
|
+
} from "./location-service-map-5vh4rcr3.js";
|
|
17
17
|
import {
|
|
18
18
|
DEFAULT_SEARCH_LIMIT2,
|
|
19
19
|
DEFAULT_SEARCH_TIMEOUT_MS2,
|
|
20
20
|
GrepInput2,
|
|
21
21
|
Entry2,
|
|
22
22
|
Match2
|
|
23
|
-
} from "./
|
|
23
|
+
} from "./location-service-map-aw84gg2e.js";
|
|
24
24
|
import {
|
|
25
|
-
|
|
26
|
-
} from "./
|
|
25
|
+
Service54
|
|
26
|
+
} from "./location-service-map-86yd8n6t.js";
|
|
27
27
|
import {
|
|
28
|
-
|
|
29
|
-
} from "./
|
|
28
|
+
Service17
|
|
29
|
+
} from "./location-service-map-d00p4xa9.js";
|
|
30
30
|
import {
|
|
31
31
|
__export
|
|
32
|
-
} from "./
|
|
32
|
+
} from "./location-service-map-9rqn6x4v.js";
|
|
33
33
|
|
|
34
34
|
// src/tool/plugin/grep.ts
|
|
35
35
|
var exports_grep = {};
|
|
36
36
|
__export(exports_grep, {
|
|
37
37
|
GrepTool: () => exports_grep,
|
|
38
|
-
Input: () =>
|
|
38
|
+
Input: () => Input11,
|
|
39
39
|
Output: () => Output8,
|
|
40
|
-
Plugin: () =>
|
|
41
|
-
name: () =>
|
|
42
|
-
toModelContent: () =>
|
|
40
|
+
Plugin: () => Plugin32,
|
|
41
|
+
name: () => name11,
|
|
42
|
+
toModelContent: () => toModelContent5
|
|
43
43
|
});
|
|
44
44
|
import { ToolFailure } from "@opencode/ai";
|
|
45
45
|
import { Effect, Schema } from "effect";
|
|
46
46
|
import path from "path";
|
|
47
|
-
var
|
|
48
|
-
var
|
|
47
|
+
var name11 = "grep";
|
|
48
|
+
var Input11 = Schema.Struct({
|
|
49
49
|
pattern: GrepInput2.fields.pattern.check(Schema.isMinLength(1, { message: "Pattern must not be empty" })).annotate({
|
|
50
50
|
description: "Regular expression or literal text to match in file contents."
|
|
51
51
|
}),
|
|
@@ -66,7 +66,7 @@ var Input10 = Schema.Struct({
|
|
|
66
66
|
})
|
|
67
67
|
});
|
|
68
68
|
var Output8 = Schema.Array(Match2);
|
|
69
|
-
var
|
|
69
|
+
var toModelContent5 = (matches, truncated = false) => {
|
|
70
70
|
const lines = matches.length === 0 ? ["No matches found"] : [`Found ${matches.length} matches`];
|
|
71
71
|
let current = "";
|
|
72
72
|
for (const match of matches) {
|
|
@@ -83,26 +83,26 @@ var toModelContent6 = (matches, truncated = false) => {
|
|
|
83
83
|
return lines.join(`
|
|
84
84
|
`);
|
|
85
85
|
};
|
|
86
|
-
var
|
|
86
|
+
var Plugin32 = {
|
|
87
87
|
id: "opencode.tool.grep",
|
|
88
88
|
effect: Effect.fn("GrepTool.Plugin")(function* (ctx) {
|
|
89
|
-
const environment = yield*
|
|
90
|
-
const ripgrep = yield*
|
|
91
|
-
const location = yield*
|
|
92
|
-
const access = yield*
|
|
93
|
-
const permission = yield*
|
|
89
|
+
const environment = yield* Service72;
|
|
90
|
+
const ripgrep = yield* Service51;
|
|
91
|
+
const location = yield* Service80;
|
|
92
|
+
const access = yield* Service17;
|
|
93
|
+
const permission = yield* Service54;
|
|
94
94
|
yield* ctx.tool.transform((editor) => editor.add({
|
|
95
|
-
name:
|
|
95
|
+
name: name11,
|
|
96
96
|
options: { codemode: false },
|
|
97
97
|
description: "Search file contents using ripgrep's regular expression syntax or literal text matching. Use it to locate specific code, symbols, or text patterns, and narrow searches with `path` or `include`. Returns matching file paths, line numbers, and line previews.",
|
|
98
|
-
input:
|
|
98
|
+
input: Input11,
|
|
99
99
|
output: Output8,
|
|
100
100
|
execute: (input, context) => Effect.gen(function* () {
|
|
101
101
|
const source = { type: "tool", messageID: context.messageID, id: context.id };
|
|
102
102
|
const target = yield* access.resolve({ path: input.path ?? "." });
|
|
103
103
|
yield* access.authorizeExternal([target], context);
|
|
104
104
|
yield* permission.assert({
|
|
105
|
-
action:
|
|
105
|
+
action: name11,
|
|
106
106
|
resources: [input.pattern],
|
|
107
107
|
save: ["*"],
|
|
108
108
|
metadata: {
|
|
@@ -144,7 +144,7 @@ var Plugin28 = {
|
|
|
144
144
|
return { matches: matches.slice(0, limit), truncated: matches.length > limit };
|
|
145
145
|
}).pipe(Effect.map((result) => ({
|
|
146
146
|
output: result.matches,
|
|
147
|
-
content:
|
|
147
|
+
content: toModelContent5(result.matches.map((match) => ({
|
|
148
148
|
...match,
|
|
149
149
|
entry: { ...match.entry, path: path.resolve(location.directory, match.entry.path) }
|
|
150
150
|
})), result.truncated),
|
|
@@ -154,4 +154,4 @@ var Plugin28 = {
|
|
|
154
154
|
})
|
|
155
155
|
};
|
|
156
156
|
|
|
157
|
-
export {
|
|
157
|
+
export { name11, Input11, Output8, toModelContent5, Plugin32, exports_grep };
|
|
@@ -4,7 +4,7 @@ import {
|
|
|
4
4
|
orderSelectedFields2,
|
|
5
5
|
mapUpdateSet2,
|
|
6
6
|
getTableLikeName2
|
|
7
|
-
} from "./
|
|
7
|
+
} from "./location-service-map-emrn6kk6.js";
|
|
8
8
|
|
|
9
9
|
// src/database/drizzle/sqlite-core/effect/update.ts
|
|
10
10
|
import { applyEffectWrapper } from "drizzle-orm/effect-core/query-effect";
|
|
@@ -2,18 +2,18 @@ import {
|
|
|
2
2
|
provider2,
|
|
3
3
|
model2,
|
|
4
4
|
compatibleModel2
|
|
5
|
-
} from "./
|
|
5
|
+
} from "./location-service-map-j113cymg.js";
|
|
6
6
|
import {
|
|
7
7
|
aisdk2,
|
|
8
8
|
packageName2
|
|
9
|
-
} from "./
|
|
9
|
+
} from "./location-service-map-qrscgvzd.js";
|
|
10
10
|
import {
|
|
11
11
|
Capabilities2,
|
|
12
12
|
compatibility2
|
|
13
|
-
} from "./
|
|
13
|
+
} from "./location-service-map-g6wjc1x4.js";
|
|
14
14
|
import {
|
|
15
15
|
__export
|
|
16
|
-
} from "./
|
|
16
|
+
} from "./location-service-map-9rqn6x4v.js";
|
|
17
17
|
|
|
18
18
|
// src/v1/config/migrate.ts
|
|
19
19
|
var exports_migrate = {};
|
|
@@ -1,26 +1,26 @@
|
|
|
1
1
|
import {
|
|
2
2
|
AbsolutePath2
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./location-service-map-z5v4ffb3.js";
|
|
4
4
|
import {
|
|
5
|
-
|
|
6
|
-
|
|
5
|
+
Info10,
|
|
6
|
+
ID5,
|
|
7
7
|
Name2
|
|
8
|
-
} from "./
|
|
8
|
+
} from "./location-service-map-188drt2q.js";
|
|
9
9
|
import {
|
|
10
|
-
|
|
11
|
-
} from "./
|
|
10
|
+
Service64
|
|
11
|
+
} from "./location-service-map-rr7wf6ce.js";
|
|
12
12
|
import {
|
|
13
13
|
__export
|
|
14
|
-
} from "./
|
|
14
|
+
} from "./location-service-map-9rqn6x4v.js";
|
|
15
15
|
|
|
16
16
|
// src/plugin/skill.ts
|
|
17
|
-
var
|
|
18
|
-
__export(
|
|
17
|
+
var exports_skill3 = {};
|
|
18
|
+
__export(exports_skill3, {
|
|
19
19
|
OpencodeContent: () => OpencodeContent2,
|
|
20
20
|
OpencodeDescription: () => OpencodeDescription2,
|
|
21
|
-
Plugin: () =>
|
|
21
|
+
Plugin: () => Plugin42,
|
|
22
22
|
ReportContent: () => ReportContent2,
|
|
23
|
-
SkillPlugin: () =>
|
|
23
|
+
SkillPlugin: () => exports_skill3
|
|
24
24
|
});
|
|
25
25
|
import { define } from "@opencode/plugin/effect/plugin";
|
|
26
26
|
import { Effect } from "effect";
|
|
@@ -430,20 +430,20 @@ var OpencodeContent2 = opencode_default;
|
|
|
430
430
|
var ReportContent2 = report_default;
|
|
431
431
|
var OpencodeDescription2 = "Use this skill for any question about OpenCode itself, including how OpenCode works, using or configuring it, migrating from V1 to V2, troubleshooting it, developing plugins or integrations, using the OpenCode SDK, clients, server, or API, and contributing to the OpenCode codebase. Also use it for OpenCode agents, commands, skills, tools, permissions, MCP servers, providers, models, themes, keybinds, formatters, the CLI, TUI, desktop app, and web app.";
|
|
432
432
|
var REPORT_DESCRIPTION = "Use when the user wants to report an opencode issue or bug. Collect standard diagnostics, add user-specific reproduction context, and publish the issue with GitHub CLI.";
|
|
433
|
-
var
|
|
433
|
+
var Plugin42 = define({
|
|
434
434
|
id: "opencode.skill",
|
|
435
435
|
effect: Effect.fn(function* (ctx) {
|
|
436
436
|
const reportContent = yield* reportContentWithDiagnostics(ctx.app);
|
|
437
437
|
yield* ctx.skill.transform((editor) => {
|
|
438
|
-
editor.add(
|
|
439
|
-
id:
|
|
438
|
+
editor.add(Info10.make({
|
|
439
|
+
id: ID5.make("opencode"),
|
|
440
440
|
name: Name2.make("OpenCode"),
|
|
441
441
|
description: OpencodeDescription2,
|
|
442
442
|
path: AbsolutePath2.make("/builtin/opencode.md"),
|
|
443
443
|
content: OpencodeContent2
|
|
444
444
|
}));
|
|
445
|
-
editor.add(
|
|
446
|
-
id:
|
|
445
|
+
editor.add(Info10.make({
|
|
446
|
+
id: ID5.make("report"),
|
|
447
447
|
name: Name2.make("Report"),
|
|
448
448
|
description: REPORT_DESCRIPTION,
|
|
449
449
|
path: AbsolutePath2.make("/builtin/report.md"),
|
|
@@ -472,7 +472,7 @@ var reportContentWithDiagnostics = Effect.fn("SkillPlugin.reportContentWithDiagn
|
|
|
472
472
|
`);
|
|
473
473
|
});
|
|
474
474
|
var configuredPlugins = Effect.fn("SkillPlugin.configuredPlugins")(function* () {
|
|
475
|
-
const config = yield*
|
|
475
|
+
const config = yield* Service64;
|
|
476
476
|
return (yield* config.entries()).filter((entry) => entry.type === "document").flatMap((entry) => entry.info.plugins ?? []).map((entry) => typeof entry === "string" ? entry : entry.package).toSorted();
|
|
477
477
|
});
|
|
478
478
|
function terminal() {
|
|
@@ -486,4 +486,4 @@ function shell() {
|
|
|
486
486
|
return process.env.SHELL ?? process.env.ComSpec ?? process.env.COMSPEC ?? "Unavailable: shell environment variable is not set";
|
|
487
487
|
}
|
|
488
488
|
|
|
489
|
-
export { OpencodeContent2, ReportContent2, OpencodeDescription2,
|
|
489
|
+
export { OpencodeContent2, ReportContent2, OpencodeDescription2, Plugin42, exports_skill3 };
|
|
@@ -1,16 +1,16 @@
|
|
|
1
1
|
import {
|
|
2
|
-
|
|
3
|
-
} from "./
|
|
2
|
+
ID12
|
|
3
|
+
} from "./location-service-map-qrscgvzd.js";
|
|
4
4
|
import {
|
|
5
5
|
configuredSettings2
|
|
6
|
-
} from "./
|
|
6
|
+
} from "./location-service-map-9abkctgc.js";
|
|
7
7
|
|
|
8
8
|
// src/plugin/provider/cloudflare-ai-gateway.ts
|
|
9
9
|
import { Effect } from "effect";
|
|
10
10
|
import { isArrayNonEmpty } from "effect/Array";
|
|
11
11
|
import { define } from "@opencode/plugin/effect/plugin";
|
|
12
12
|
import { Form } from "@opencode/schema/form";
|
|
13
|
-
var providerID =
|
|
13
|
+
var providerID = ID12.make("cloudflare-ai-gateway");
|
|
14
14
|
var accountIdField = Form.StringField.make({
|
|
15
15
|
type: "string",
|
|
16
16
|
key: "accountId",
|
|
@@ -1,26 +1,26 @@
|
|
|
1
1
|
import {
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
} from "./
|
|
2
|
+
Service84,
|
|
3
|
+
node88
|
|
4
|
+
} from "./location-service-map-r8fhaa0s.js";
|
|
5
5
|
import {
|
|
6
6
|
PATCH_CONTEXT_LINES2,
|
|
7
7
|
MAX_TOTAL_PATCH_BYTES2,
|
|
8
8
|
emptyPatch2
|
|
9
|
-
} from "./
|
|
9
|
+
} from "./location-service-map-rb9dy4dg.js";
|
|
10
10
|
import {
|
|
11
11
|
root2
|
|
12
|
-
} from "./
|
|
12
|
+
} from "./location-service-map-qmthnpq9.js";
|
|
13
13
|
import {
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
} from "./
|
|
14
|
+
Service80,
|
|
15
|
+
node83
|
|
16
|
+
} from "./location-service-map-3xbacp9g.js";
|
|
17
17
|
import {
|
|
18
18
|
reconcile2,
|
|
19
19
|
create3
|
|
20
|
-
} from "./
|
|
20
|
+
} from "./location-service-map-vd3b3yk9.js";
|
|
21
21
|
import {
|
|
22
22
|
__export
|
|
23
|
-
} from "./
|
|
23
|
+
} from "./location-service-map-9rqn6x4v.js";
|
|
24
24
|
|
|
25
25
|
// src/vcs.ts
|
|
26
26
|
var exports_vcs = {};
|
|
@@ -29,18 +29,18 @@ __export(exports_vcs, {
|
|
|
29
29
|
BranchList: () => BranchList2,
|
|
30
30
|
DiffError: () => DiffError2,
|
|
31
31
|
FileStatus: () => FileStatus2,
|
|
32
|
-
Info: () =>
|
|
32
|
+
Info: () => Info5,
|
|
33
33
|
InitializeError: () => InitializeError2,
|
|
34
34
|
Mode: () => Mode2,
|
|
35
|
-
Service: () =>
|
|
35
|
+
Service: () => Service18,
|
|
36
36
|
Vcs: () => exports_vcs,
|
|
37
|
-
node: () =>
|
|
37
|
+
node: () => node21
|
|
38
38
|
});
|
|
39
39
|
import path from "path";
|
|
40
40
|
import { Cause, Context, Effect, FiberSet, Layer, Schema, Semaphore, Stream } from "effect";
|
|
41
41
|
import { FileDiff } from "@opencode/schema/file-diff";
|
|
42
42
|
import { FileSystem } from "@opencode/schema/filesystem";
|
|
43
|
-
import { Base as Base2, BranchList as BranchList2, FileStatus as FileStatus2, Info as
|
|
43
|
+
import { Base as Base2, BranchList as BranchList2, FileStatus as FileStatus2, Info as Info5, Mode as Mode2 } from "@opencode/schema/vcs";
|
|
44
44
|
import { VcsEvent } from "@opencode/schema/vcs-event";
|
|
45
45
|
import { makeLocationNode } from "@opencode/util/effect/app-node";
|
|
46
46
|
import { FSUtil } from "@opencode/util/fs-util";
|
|
@@ -54,12 +54,12 @@ class InitializeError2 extends Schema.TaggedError()("Vcs.InitializeError", {
|
|
|
54
54
|
}) {
|
|
55
55
|
}
|
|
56
56
|
|
|
57
|
-
class
|
|
57
|
+
class Service18 extends Context.Service()("@opencode/Vcs") {
|
|
58
58
|
}
|
|
59
|
-
var layer = Layer.effect(
|
|
59
|
+
var layer = Layer.effect(Service18, Effect.gen(function* () {
|
|
60
60
|
const fs = yield* FSUtil.Service;
|
|
61
|
-
const location = yield*
|
|
62
|
-
const bus = yield*
|
|
61
|
+
const location = yield* Service80;
|
|
62
|
+
const bus = yield* Service84;
|
|
63
63
|
const root = yield* Effect.scope;
|
|
64
64
|
const fork = yield* FiberSet.makeRuntime();
|
|
65
65
|
const vcs = location.vcs;
|
|
@@ -71,7 +71,7 @@ var layer = Layer.effect(Service41, Effect.gen(function* () {
|
|
|
71
71
|
canonical: location.project.canonical,
|
|
72
72
|
...vcs ? { store: vcs.store } : {}
|
|
73
73
|
};
|
|
74
|
-
const decodeInfo = Schema.decodeUnknownEffect(Schema.toType(
|
|
74
|
+
const decodeInfo = Schema.decodeUnknownEffect(Schema.toType(Info5));
|
|
75
75
|
const decodeBase = Schema.decodeUnknownEffect(Schema.NullOr(Base2));
|
|
76
76
|
const decodeBranches = Schema.decodeUnknownEffect(BranchList2);
|
|
77
77
|
const decodeStatus = Schema.decodeUnknownEffect(Schema.Array(FileStatus2));
|
|
@@ -129,7 +129,7 @@ var layer = Layer.effect(Service41, Effect.gen(function* () {
|
|
|
129
129
|
const isBranchMetadata = vcs.type === "git" ? (file) => path.basename(file) === "HEAD" && FSUtil.contains(store, file) : (file) => path.resolve(file) === path.join(store, "branch");
|
|
130
130
|
yield* bus.subscribe(FileSystem.Event.Changed).pipe(Stream.filter((event) => isBranchMetadata(event.data.file)), Stream.runForEach((event) => refresh().pipe(Effect.catchCauseIf((cause) => !Cause.hasInterrupts(cause), (cause) => Effect.logWarning("vcs refresh failed", { file: event.data.file, cause })), Effect.withSpan("Vcs.refreshBranch", { attributes: { file: event.data.file } }))), Effect.forkScoped({ startImmediately: true }));
|
|
131
131
|
}
|
|
132
|
-
return
|
|
132
|
+
return Service18.of({
|
|
133
133
|
transform: state.transform,
|
|
134
134
|
reload: state.reload,
|
|
135
135
|
initialize: Effect.fn("Vcs.initialize")(function* (providerID) {
|
|
@@ -187,10 +187,10 @@ var layer = Layer.effect(Service41, Effect.gen(function* () {
|
|
|
187
187
|
})
|
|
188
188
|
});
|
|
189
189
|
}));
|
|
190
|
-
var
|
|
191
|
-
service:
|
|
190
|
+
var node21 = makeLocationNode({
|
|
191
|
+
service: Service18,
|
|
192
192
|
layer,
|
|
193
|
-
deps: [FSUtil.node,
|
|
193
|
+
deps: [FSUtil.node, node83, node88]
|
|
194
194
|
});
|
|
195
195
|
|
|
196
|
-
export { Base2, BranchList2, FileStatus2,
|
|
196
|
+
export { Base2, BranchList2, FileStatus2, Info5, Mode2, DiffError2, InitializeError2, Service18, node21, exports_vcs };
|
|
@@ -1,13 +1,13 @@
|
|
|
1
1
|
import {
|
|
2
|
-
|
|
3
|
-
} from "./
|
|
2
|
+
Service84
|
|
3
|
+
} from "./location-service-map-r8fhaa0s.js";
|
|
4
4
|
import {
|
|
5
5
|
supportsText2
|
|
6
|
-
} from "./
|
|
6
|
+
} from "./location-service-map-g6wjc1x4.js";
|
|
7
7
|
import {
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
} from "./
|
|
8
|
+
Service74,
|
|
9
|
+
Event13
|
|
10
|
+
} from "./location-service-map-50y1xsz1.js";
|
|
11
11
|
|
|
12
12
|
// src/plugin/models-dev.ts
|
|
13
13
|
import { define } from "@opencode/plugin/effect/plugin";
|
|
@@ -39,8 +39,8 @@ var NON_CHAT_TYPES = ["realtime", "embedding", "reranking"];
|
|
|
39
39
|
var ModelsDevPlugin2 = define({
|
|
40
40
|
id: "opencode.models.dev",
|
|
41
41
|
effect: Effect.fn(function* (ctx) {
|
|
42
|
-
const modelsDev = yield*
|
|
43
|
-
const bus = yield*
|
|
42
|
+
const modelsDev = yield* Service74;
|
|
43
|
+
const bus = yield* Service84;
|
|
44
44
|
const loaded = { data: snapshots(yield* modelsDev.get()) };
|
|
45
45
|
yield* ctx.integration.transform((integrations) => {
|
|
46
46
|
for (const provider of loaded.data) {
|
|
@@ -73,7 +73,7 @@ var ModelsDevPlugin2 = define({
|
|
|
73
73
|
loaded.data = snapshots(data);
|
|
74
74
|
return ctx.integration.reload().pipe(Effect.andThen(ctx.provider.reload()));
|
|
75
75
|
};
|
|
76
|
-
yield* bus.subscribe(
|
|
76
|
+
yield* bus.subscribe(Event13.Refreshed).pipe(Stream.runForEach(() => modelsDev.get().pipe(Effect.flatMap(apply))), Effect.forkScoped({ startImmediately: true }));
|
|
77
77
|
const latest = yield* modelsDev.get();
|
|
78
78
|
if (snapshots(latest) !== loaded.data)
|
|
79
79
|
yield* apply(latest);
|