@opencode/core 0.0.0-dev-19448 → 0.0.0-dev-19451
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 +80 -79
- package/dist/aisdk-native.js +2 -2
- package/dist/aisdk.js +6 -6
- package/dist/app.js +5 -5
- package/dist/bus.js +72 -71
- package/dist/catalog.js +84 -83
- package/dist/chunks/{file-retention-r1wdcgzk.js → location-services-0ajdgxne.js} +3 -2
- package/dist/chunks/{file-retention-zps6r183.js → location-services-0cqt1act.js} +2 -2
- package/dist/chunks/{file-retention-5s16absr.js → location-services-0k5cj3rh.js} +1 -1
- package/dist/chunks/{file-retention-0paq2nw3.js → location-services-0paq2nw3.js} +1 -1
- package/dist/chunks/{file-retention-0q0f95c6.js → location-services-0q0f95c6.js} +1 -1
- package/dist/chunks/{file-retention-qmyyxapx.js → location-services-0v63wxn0.js} +5 -5
- package/dist/chunks/{file-retention-bdqrk2vk.js → location-services-10jtetaj.js} +4 -4
- package/dist/chunks/{file-retention-z7x0xt50.js → location-services-1688r137.js} +15 -15
- package/dist/chunks/{file-retention-7sqxeqwy.js → location-services-18e56dsp.js} +4 -4
- package/dist/chunks/{file-retention-mvfsc1pv.js → location-services-1bbkgx8g.js} +3 -3
- package/dist/chunks/{file-retention-1dazxqgg.js → location-services-1dazxqgg.js} +2 -2
- package/dist/chunks/{file-retention-ryr25ayn.js → location-services-1g7epwpd.js} +7 -7
- package/dist/chunks/{file-retention-srjznz14.js → location-services-1hjtdgdn.js} +14 -14
- package/dist/chunks/{file-retention-3xh7thmg.js → location-services-1rppxzqd.js} +24 -24
- package/dist/chunks/{file-retention-xejffc0d.js → location-services-1ry39x5d.js} +24 -24
- package/dist/chunks/{file-retention-sw1efyn5.js → location-services-21p2r62n.js} +13 -13
- package/dist/chunks/{file-retention-21r38tys.js → location-services-21r38tys.js} +1 -1
- package/dist/chunks/{file-retention-pv1zy8m3.js → location-services-28wjfbzm.js} +33 -33
- package/dist/chunks/{file-retention-2a5m3afh.js → location-services-2a5m3afh.js} +1 -1
- package/dist/chunks/{file-retention-096ebvky.js → location-services-2dp6pmwx.js} +31 -31
- package/dist/chunks/{file-retention-7w99qc9d.js → location-services-2f04pwep.js} +3 -3
- package/dist/chunks/{file-retention-2vjdmk3d.js → location-services-2hasx83a.js} +16 -16
- package/dist/chunks/{file-retention-fs2pkz11.js → location-services-2j9d73f3.js} +24 -24
- package/dist/chunks/{file-retention-n76fdqym.js → location-services-2pxk13gr.js} +5 -5
- package/dist/chunks/{file-retention-g76ncgrf.js → location-services-2r39by5f.js} +9 -9
- package/dist/chunks/{file-retention-44pwjz7h.js → location-services-2s1xfa2w.js} +10 -10
- package/dist/chunks/{file-retention-cq37gk0t.js → location-services-2tfmgkzg.js} +4 -4
- package/dist/chunks/{file-retention-02dn0gj9.js → location-services-2w6qszrm.js} +3 -3
- package/dist/chunks/{file-retention-r9babyk8.js → location-services-38c819ax.js} +1 -1
- package/dist/chunks/{file-retention-nfq246yx.js → location-services-38z2y7mt.js} +12 -12
- package/dist/chunks/{file-retention-bvbz56nf.js → location-services-3978fxhd.js} +11 -11
- package/dist/chunks/{file-retention-70rp2wwb.js → location-services-3cnpae06.js} +28 -28
- package/dist/chunks/{file-retention-3fc6dm20.js → location-services-3fc6dm20.js} +1 -1
- package/dist/chunks/{file-retention-3hepkmqq.js → location-services-3hepkmqq.js} +1 -1
- package/dist/chunks/{file-retention-3smtnn6g.js → location-services-3smtnn6g.js} +1 -1
- package/dist/chunks/{file-retention-3tvqynh2.js → location-services-3tvqynh2.js} +1 -1
- package/dist/chunks/{file-retention-h0r85tvv.js → location-services-48y578kf.js} +11 -11
- package/dist/chunks/location-services-4fd074mh.js +247 -0
- package/dist/chunks/{file-retention-tqgn9w63.js → location-services-52s84kjy.js} +15 -15
- package/dist/chunks/{file-retention-56gdpj1q.js → location-services-56gdpj1q.js} +2 -2
- package/dist/chunks/{file-retention-a1bz86dw.js → location-services-5c4hm403.js} +3 -3
- package/dist/chunks/{file-retention-5daktx2q.js → location-services-5daktx2q.js} +1 -1
- package/dist/chunks/{file-retention-dfj54ch4.js → location-services-5k2k3mdz.js} +17 -17
- package/dist/chunks/{file-retention-1rev7gxe.js → location-services-5k8zyj3m.js} +10 -10
- package/dist/chunks/{file-retention-5t3nmthw.js → location-services-5t3nmthw.js} +2 -2
- package/dist/chunks/{file-retention-53an9qaw.js → location-services-5yf7fhr0.js} +9 -9
- package/dist/chunks/{file-retention-669tq793.js → location-services-669tq793.js} +1 -1
- package/dist/chunks/{file-retention-etpxg0rn.js → location-services-6a8fnbq3.js} +89 -87
- package/dist/chunks/location-services-6cy1ztdc.js +22 -0
- package/dist/chunks/{file-retention-fjmrr6sh.js → location-services-6d9mz4vp.js} +9 -9
- package/dist/chunks/{file-retention-qtwbjpms.js → location-services-6fxfggn4.js} +35 -35
- package/dist/chunks/{file-retention-2402vzrj.js → location-services-6h73sxmp.js} +5 -5
- package/dist/chunks/{file-retention-epn8kvkh.js → location-services-6hng0yyt.js} +18 -18
- package/dist/chunks/{file-retention-cat71d1r.js → location-services-6k4g6370.js} +8 -8
- package/dist/chunks/{file-retention-6msgmcgs.js → location-services-6msgmcgs.js} +1 -1
- package/dist/chunks/{file-retention-zb0sdjym.js → location-services-6nyydjrp.js} +41 -41
- package/dist/chunks/{file-retention-71q4at8m.js → location-services-71q4at8m.js} +1 -1
- package/dist/chunks/{file-retention-fgh0kbhd.js → location-services-74x46t3v.js} +1 -1
- package/dist/chunks/{file-retention-7bmhse3q.js → location-services-7bmhse3q.js} +1 -1
- package/dist/chunks/{file-retention-0h54jqbs.js → location-services-7j2qha59.js} +8 -8
- package/dist/chunks/{file-retention-qhh22kz2.js → location-services-7ny4eqaq.js} +32 -32
- package/dist/chunks/{file-retention-8wwtrzd2.js → location-services-7xaqnzrn.js} +11 -11
- package/dist/chunks/{file-retention-yk6wg77b.js → location-services-7z758yvs.js} +38 -38
- package/dist/chunks/{file-retention-27rr2vyz.js → location-services-81swgkk7.js} +9 -9
- package/dist/chunks/{file-retention-21y16wm3.js → location-services-824d0e4j.js} +16 -16
- package/dist/chunks/{file-retention-wvehkrpd.js → location-services-831x1ev0.js} +27 -27
- package/dist/chunks/{file-retention-dm0r48f7.js → location-services-8939b1nw.js} +9 -9
- package/dist/chunks/{file-retention-3rdyp2e9.js → location-services-8cv2rr7h.js} +14 -14
- package/dist/chunks/{file-retention-8d7r5vzw.js → location-services-8d7r5vzw.js} +1 -1
- package/dist/chunks/{file-retention-r453yw66.js → location-services-8fqpyxf3.js} +46 -46
- package/dist/chunks/{file-retention-gsnhw10k.js → location-services-8fvkghgq.js} +36 -36
- package/dist/chunks/{file-retention-7sza4df7.js → location-services-8hy82370.js} +13 -13
- package/dist/chunks/{file-retention-j0z6kjp0.js → location-services-8r3rf18d.js} +58 -58
- package/dist/chunks/{file-retention-ytx9308a.js → location-services-8sghyhzw.js} +8 -8
- package/dist/chunks/{file-retention-9486j81v.js → location-services-937tqe06.js} +9 -9
- package/dist/chunks/{file-retention-m27pyyd3.js → location-services-942f7qpg.js} +8 -8
- package/dist/chunks/location-services-9sh4wc5j.js +18 -0
- package/dist/chunks/{file-retention-aaet6srn.js → location-services-aaet6srn.js} +2 -2
- package/dist/chunks/{file-retention-q5besymn.js → location-services-ab663qkx.js} +7 -7
- package/dist/chunks/{file-retention-n2sd6q17.js → location-services-abf5nrzb.js} +43 -43
- package/dist/chunks/{file-retention-7afqphx4.js → location-services-acx0y7wr.js} +41 -34
- package/dist/chunks/{file-retention-8x2v7k4j.js → location-services-b0y1tez2.js} +62 -62
- package/dist/chunks/{file-retention-trfd6fkk.js → location-services-b1d8yfhs.js} +30 -30
- package/dist/chunks/{file-retention-869zy1ww.js → location-services-b25gz6yg.js} +11 -11
- package/dist/chunks/{file-retention-b6gygkdw.js → location-services-b6gygkdw.js} +2 -2
- package/dist/chunks/{file-retention-jhrth04p.js → location-services-badyvhv3.js} +30 -30
- package/dist/chunks/{file-retention-qte5z7bc.js → location-services-bgxcxs0p.js} +5 -5
- package/dist/chunks/{file-retention-ptj67sqd.js → location-services-bqvgdfs7.js} +28 -28
- package/dist/chunks/{file-retention-qcpabzqj.js → location-services-bx7c57kt.js} +13 -13
- package/dist/chunks/{file-retention-fzg7178x.js → location-services-c0jhk4qn.js} +30 -30
- package/dist/chunks/{file-retention-kmbf06zj.js → location-services-c1h18g4r.js} +17 -17
- package/dist/chunks/{file-retention-za681ws6.js → location-services-c35z34qg.js} +13 -13
- package/dist/chunks/{file-retention-8ryk0bb9.js → location-services-c5c0bz0t.js} +5 -5
- package/dist/chunks/{file-retention-rc7zd1wa.js → location-services-cemy4wyy.js} +37 -37
- package/dist/chunks/{file-retention-8kma1xxh.js → location-services-cjea1mvt.js} +23 -23
- package/dist/chunks/{file-retention-dgj0dq1g.js → location-services-cmwkp3r5.js} +8 -8
- package/dist/chunks/{file-retention-c28eb4sz.js → location-services-czjcw1ty.js} +22 -22
- package/dist/chunks/{file-retention-7gmgk224.js → location-services-cznvyt73.js} +35 -35
- package/dist/chunks/{file-retention-crnty030.js → location-services-dc7k84w7.js} +15 -15
- package/dist/chunks/{file-retention-8p4f9s12.js → location-services-dj2t23y0.js} +2 -2
- package/dist/chunks/{file-retention-p6q9533y.js → location-services-dp73zmae.js} +51 -47
- package/dist/chunks/{file-retention-dpkg50ah.js → location-services-dpkg50ah.js} +1 -1
- package/dist/chunks/{file-retention-fsnnn25x.js → location-services-dxkzy7ga.js} +8 -8
- package/dist/chunks/{file-retention-ycdsf1jf.js → location-services-dygv5p4v.js} +51 -51
- package/dist/chunks/{file-retention-nhahagkd.js → location-services-e4d1h1z5.js} +13 -13
- package/dist/chunks/{file-retention-555ky206.js → location-services-e6jvcfvd.js} +10 -10
- package/dist/chunks/{file-retention-rhjbct0v.js → location-services-eaj1djv9.js} +8 -8
- package/dist/chunks/{file-retention-j07qhehd.js → location-services-egn3zdh5.js} +34 -34
- package/dist/chunks/{file-retention-y772rwhv.js → location-services-ek1mvd6a.js} +24 -24
- package/dist/chunks/{file-retention-etq0c3wd.js → location-services-etq0c3wd.js} +1 -1
- package/dist/chunks/{file-retention-z3ndh4jt.js → location-services-f0v7chq9.js} +9 -9
- package/dist/chunks/{file-retention-j2n4dsrb.js → location-services-f2jtjz1n.js} +11 -11
- package/dist/chunks/{file-retention-yp2x3t23.js → location-services-f2n192rq.js} +4 -4
- package/dist/chunks/{file-retention-zk0xr9z7.js → location-services-f360e7aw.js} +4 -4
- package/dist/chunks/{file-retention-2mjmkh9s.js → location-services-f4frw9mm.js} +12 -12
- package/dist/chunks/{file-retention-2ehqxkpw.js → location-services-f4gk10ya.js} +12 -12
- package/dist/chunks/{file-retention-wpewnqw5.js → location-services-f5a8jxak.js} +8 -8
- package/dist/chunks/{file-retention-mn59ba1z.js → location-services-f9s276m4.js} +27 -27
- package/dist/chunks/{file-retention-t7z3zppm.js → location-services-faazhd4x.js} +2 -2
- package/dist/chunks/{file-retention-aaxyspyh.js → location-services-feme730n.js} +22 -22
- package/dist/chunks/{file-retention-s5rvfnyx.js → location-services-feqb3hv1.js} +32 -32
- package/dist/chunks/{file-retention-tfngb0ww.js → location-services-fhtvm1st.js} +4 -4
- package/dist/chunks/{file-retention-43k15f45.js → location-services-fmfnnzgs.js} +4 -4
- package/dist/chunks/{file-retention-z69s9t6b.js → location-services-fqvj2kck.js} +5 -5
- package/dist/chunks/{file-retention-1gjj1166.js → location-services-ftxwt64d.js} +18 -18
- package/dist/chunks/{file-retention-fxbjtjnd.js → location-services-fxbjtjnd.js} +1 -1
- package/dist/chunks/{file-retention-tr8f0wtm.js → location-services-g6wwr3qt.js} +26 -26
- package/dist/chunks/{file-retention-gd4qta3r.js → location-services-gd4qta3r.js} +1 -1
- package/dist/chunks/{file-retention-5xcyjzx9.js → location-services-gdxr6gyt.js} +24 -24
- package/dist/chunks/{file-retention-v8jfbz3g.js → location-services-ghk9cxjs.js} +6 -6
- package/dist/chunks/{file-retention-gv6a8nnw.js → location-services-gv6a8nnw.js} +2 -2
- package/dist/chunks/{file-retention-0swpfrb6.js → location-services-gvp64fzy.js} +18 -18
- package/dist/chunks/{file-retention-tprh6xrh.js → location-services-gy0cbxbc.js} +22 -22
- package/dist/chunks/{file-retention-zcwm7cjd.js → location-services-gyhegj3g.js} +24 -24
- package/dist/chunks/{file-retention-d93f29dp.js → location-services-gyqjhmw2.js} +11 -11
- package/dist/chunks/{file-retention-h03wrkyp.js → location-services-h03wrkyp.js} +2 -2
- package/dist/chunks/{file-retention-jw5zxnhe.js → location-services-h13535c5.js} +11 -11
- package/dist/chunks/{file-retention-6tsrzwz7.js → location-services-h2d5hdxw.js} +7 -7
- package/dist/chunks/{file-retention-4cbsgq64.js → location-services-h41zqsdn.js} +6 -6
- package/dist/chunks/{file-retention-50tj1fna.js → location-services-h4tz497q.js} +12 -12
- package/dist/chunks/{file-retention-h6vf3j39.js → location-services-h6vf3j39.js} +1 -1
- package/dist/chunks/{file-retention-07vp4eyz.js → location-services-h8ybhtc8.js} +93 -90
- package/dist/chunks/{file-retention-f828m53h.js → location-services-hdnk95c8.js} +2 -2
- package/dist/chunks/{file-retention-8p08r1qg.js → location-services-hkerkm96.js} +25 -25
- package/dist/chunks/{file-retention-kksxa1cq.js → location-services-hkqqdn79.js} +41 -41
- package/dist/chunks/{file-retention-n92f50s8.js → location-services-hnf61xf9.js} +11 -11
- package/dist/chunks/{file-retention-39ndxgpe.js → location-services-hz2x7yqm.js} +33 -33
- package/dist/chunks/{file-retention-dh35ypn5.js → location-services-hz84tk5e.js} +5 -5
- package/dist/chunks/{file-retention-fvanntqq.js → location-services-j15mfg1p.js} +4 -4
- package/dist/chunks/{file-retention-j56e64zr.js → location-services-j56e64zr.js} +1 -1
- package/dist/chunks/{file-retention-50qymgqy.js → location-services-jbcmsmvm.js} +25 -25
- package/dist/chunks/{file-retention-gf6kms5r.js → location-services-jgz6gjh7.js} +30 -30
- package/dist/chunks/{file-retention-gsx0ryk4.js → location-services-jjs74g98.js} +9 -9
- package/dist/chunks/{file-retention-frwpyczr.js → location-services-jnmqjdkf.js} +4 -4
- package/dist/chunks/{file-retention-krm7e7dw.js → location-services-jrcagpff.js} +9 -9
- package/dist/chunks/{file-retention-ekz5bwcn.js → location-services-jwrwwt03.js} +35 -35
- package/dist/chunks/{file-retention-arezx02c.js → location-services-k37qtvmx.js} +46 -46
- package/dist/chunks/{file-retention-af4kcksd.js → location-services-k79tzb9n.js} +9 -9
- package/dist/chunks/{file-retention-dak94xbq.js → location-services-k8hd2gj9.js} +4 -4
- package/dist/chunks/{file-retention-gnwa8js5.js → location-services-ka5a4yvg.js} +5 -5
- package/dist/chunks/{file-retention-nkr2m8gd.js → location-services-kb6vnew7.js} +16 -16
- package/dist/chunks/{file-retention-1awm1f41.js → location-services-ke95q5v4.js} +14 -14
- package/dist/chunks/{file-retention-xegz7fxd.js → location-services-kf68rs3n.js} +3 -3
- package/dist/chunks/{file-retention-kg06axw8.js → location-services-kg06axw8.js} +1 -1
- package/dist/chunks/{file-retention-r0hxv64b.js → location-services-kmmgpvna.js} +19 -19
- package/dist/chunks/{file-retention-10mpg1ev.js → location-services-kpmgqkrr.js} +22 -22
- package/dist/chunks/{file-retention-k16ay38w.js → location-services-kqddbhjm.js} +1 -1
- package/dist/chunks/{file-retention-f8q7mv7a.js → location-services-ktbdk3tc.js} +1 -1
- package/dist/chunks/{file-retention-6s5ftx64.js → location-services-m0jhfz7a.js} +27 -27
- package/dist/chunks/{file-retention-cfpkc3c9.js → location-services-m0jqrx5p.js} +2 -2
- package/dist/chunks/{file-retention-g47eftgs.js → location-services-m23k9y15.js} +9 -9
- package/dist/chunks/{file-retention-qek8dtx8.js → location-services-m31hrvtp.js} +11 -11
- package/dist/chunks/{file-retention-m9w0rfyh.js → location-services-m9w0rfyh.js} +1 -1
- package/dist/chunks/{file-retention-22hd0j66.js → location-services-mj7jk1tr.js} +6 -6
- package/dist/chunks/{file-retention-cavr175a.js → location-services-mjymc32g.js} +4 -4
- package/dist/chunks/{file-retention-mkcjrzeh.js → location-services-mkcjrzeh.js} +1 -1
- package/dist/chunks/{file-retention-mn5tqr63.js → location-services-mn5tqr63.js} +2 -2
- package/dist/chunks/{file-retention-npgs9cj4.js → location-services-mx1q1bxy.js} +21 -21
- package/dist/chunks/{file-retention-za77p82n.js → location-services-mypwhdkk.js} +6 -6
- package/dist/chunks/{file-retention-vaxvpga0.js → location-services-n9ah5p1r.js} +18 -18
- package/dist/chunks/{file-retention-bw6ad3ce.js → location-services-n9y2aybq.js} +7 -7
- package/dist/chunks/location-services-nb15d6a9.js +462 -0
- package/dist/chunks/{file-retention-nhy5jxhy.js → location-services-nhy5jxhy.js} +1 -1
- package/dist/chunks/{file-retention-gw2ymje7.js → location-services-nmc7jbpb.js} +29 -29
- package/dist/chunks/{file-retention-0vnpdrzz.js → location-services-nn76jaqm.js} +17 -17
- package/dist/chunks/{file-retention-8tn92620.js → location-services-npamts55.js} +11 -11
- package/dist/chunks/{file-retention-6xvefnve.js → location-services-ntzc7frx.js} +21 -21
- package/dist/chunks/{file-retention-mmxganfs.js → location-services-p2c38shw.js} +4 -4
- package/dist/chunks/{file-retention-p44d8wdy.js → location-services-p44d8wdy.js} +2 -2
- package/dist/chunks/{file-retention-ah47jct0.js → location-services-p5294bdq.js} +169 -166
- package/dist/chunks/{file-retention-b0k29y2c.js → location-services-pe64je7v.js} +15 -15
- package/dist/chunks/{file-retention-zwsa7mgc.js → location-services-pgpcwmv8.js} +18 -18
- package/dist/chunks/{file-retention-2n1m09z1.js → location-services-phsqhj37.js} +53 -53
- package/dist/chunks/{file-retention-4mfjr29g.js → location-services-pjndq0fz.js} +14 -14
- package/dist/chunks/{file-retention-pjvnvgmy.js → location-services-pjvnvgmy.js} +1 -1
- package/dist/chunks/{file-retention-pknna89w.js → location-services-pknna89w.js} +1 -1
- package/dist/chunks/{file-retention-bct739vz.js → location-services-pmr4s4kc.js} +4 -4
- package/dist/chunks/{file-retention-8273cdnn.js → location-services-pph6wwqv.js} +15 -15
- package/dist/chunks/{file-retention-vd83qvgk.js → location-services-pr65h444.js} +16 -16
- package/dist/chunks/{file-retention-z80kxeh4.js → location-services-prncnyqx.js} +30 -30
- package/dist/chunks/{file-retention-n1d91sft.js → location-services-pv7wv9k9.js} +10 -10
- package/dist/chunks/{file-retention-ebpnnjbe.js → location-services-q0shrzhz.js} +71 -71
- package/dist/chunks/location-services-qapv375x.js +4 -0
- package/dist/chunks/{file-retention-1f6hy9rq.js → location-services-qdexhy91.js} +13 -13
- package/dist/chunks/{file-retention-7dqw4kz8.js → location-services-qgn6gcr1.js} +5 -5
- package/dist/chunks/{file-retention-qsdy395h.js → location-services-qsdy395h.js} +1 -1
- package/dist/chunks/{file-retention-07n10xmz.js → location-services-qxw806c1.js} +3 -3
- package/dist/chunks/{file-retention-r9mregkx.js → location-services-r9mregkx.js} +2 -2
- package/dist/chunks/{file-retention-gyg8dfc2.js → location-services-retpad30.js} +4 -4
- package/dist/chunks/{file-retention-d50f2zf5.js → location-services-rfnzy394.js} +1 -1
- package/dist/chunks/{file-retention-4ns3h2re.js → location-services-rtv6ahp9.js} +6 -6
- package/dist/chunks/{file-retention-ydh6k28s.js → location-services-rv8srvjv.js} +28 -28
- package/dist/chunks/{file-retention-3hxd2pas.js → location-services-rw73kgyn.js} +9 -9
- package/dist/chunks/{file-retention-kwqs22xk.js → location-services-s6ycxjmr.js} +6 -6
- package/dist/chunks/{file-retention-f3qh1r3p.js → location-services-s7ewmtmf.js} +8 -8
- package/dist/chunks/{file-retention-v68haqbh.js → location-services-s8610hey.js} +3 -2
- package/dist/chunks/{file-retention-pn64wmq6.js → location-services-s868bytv.js} +22 -22
- package/dist/chunks/{file-retention-03vdvqz5.js → location-services-shgvhq32.js} +8 -8
- package/dist/chunks/{file-retention-qyrhphfh.js → location-services-smdef04x.js} +6 -6
- package/dist/chunks/{file-retention-tn0aqsam.js → location-services-t0fxg8b9.js} +5 -5
- package/dist/chunks/{file-retention-0cehhtm7.js → location-services-t1gfewgs.js} +6 -6
- package/dist/chunks/{file-retention-tazgh4e4.js → location-services-tazgh4e4.js} +1 -1
- package/dist/chunks/{file-retention-tcezcvh9.js → location-services-tcezcvh9.js} +1 -1
- package/dist/chunks/{file-retention-j4m03wzn.js → location-services-tczx3m7d.js} +13 -13
- package/dist/chunks/{file-retention-tdstcens.js → location-services-tdstcens.js} +1 -1
- package/dist/chunks/{file-retention-e1zd518x.js → location-services-tek2pf1y.js} +17 -17
- package/dist/chunks/{file-retention-ac89cwr5.js → location-services-tfwa8sr0.js} +9 -9
- package/dist/chunks/{file-retention-fa7a5kmm.js → location-services-tfwap27p.js} +10 -10
- package/dist/chunks/{file-retention-erc452cp.js → location-services-tfxcxh33.js} +11 -11
- package/dist/chunks/{file-retention-kbmsdr00.js → location-services-tg6s6r99.js} +29 -29
- package/dist/chunks/{file-retention-2ce14n3m.js → location-services-tka2peys.js} +11 -11
- package/dist/chunks/{file-retention-cjg4xdhd.js → location-services-tsr8fc0r.js} +7 -7
- package/dist/chunks/{file-retention-8kvrn2j1.js → location-services-tt4z169h.js} +6 -6
- package/dist/chunks/{file-retention-tvtrv512.js → location-services-tvtrv512.js} +1 -1
- package/dist/chunks/{file-retention-01z5yxwd.js → location-services-twtpn9zf.js} +5 -5
- package/dist/chunks/{file-retention-embw8kgh.js → location-services-tz4n1mmd.js} +4 -4
- package/dist/chunks/{file-retention-y9qg9czc.js → location-services-v0wp6508.js} +19 -19
- package/dist/chunks/{file-retention-qwqrj6wy.js → location-services-v8qzaprc.js} +17 -17
- package/dist/chunks/{file-retention-veqvce7d.js → location-services-veqvce7d.js} +1 -1
- package/dist/chunks/{file-retention-0hqrfwhm.js → location-services-vhfdprfc.js} +6 -6
- package/dist/chunks/{file-retention-fygdb7h7.js → location-services-vnk6y1a3.js} +3 -3
- package/dist/chunks/{file-retention-7kn0j7vj.js → location-services-vtqtddsg.js} +23 -23
- package/dist/chunks/{file-retention-qymdde0s.js → location-services-vz9ktvfm.js} +28 -28
- package/dist/chunks/{file-retention-vzcthcp8.js → location-services-vzcthcp8.js} +1 -1
- package/dist/chunks/{file-retention-06dxphr1.js → location-services-w1k39n5e.js} +4 -4
- package/dist/chunks/{file-retention-w3wsvvr9.js → location-services-w3wsvvr9.js} +1 -1
- package/dist/chunks/{file-retention-ppna41xj.js → location-services-w5wb35vm.js} +33 -33
- package/dist/chunks/{file-retention-wd87259q.js → location-services-wd87259q.js} +1 -1
- package/dist/chunks/{file-retention-km74qb37.js → location-services-wedwh9zy.js} +45 -45
- package/dist/chunks/{file-retention-j9d0ywkw.js → location-services-wmq45v6k.js} +11 -11
- package/dist/chunks/{file-retention-7h3vxbq8.js → location-services-wn598c0j.js} +26 -26
- package/dist/chunks/{file-retention-ksz0h0wp.js → location-services-wpmdzrrb.js} +1 -1
- package/dist/chunks/{file-retention-2e96adxv.js → location-services-wqkncbjv.js} +6 -6
- package/dist/chunks/{file-retention-2rq070n9.js → location-services-wsyyx6kz.js} +14 -14
- package/dist/chunks/{file-retention-7hc658wz.js → location-services-ww01qehw.js} +46 -46
- package/dist/chunks/{file-retention-0t37s3gb.js → location-services-wz7pye5f.js} +10 -10
- package/dist/chunks/{file-retention-x1ezjp6w.js → location-services-x1ezjp6w.js} +1 -1
- package/dist/chunks/{file-retention-9vgqcaan.js → location-services-xjfemsx1.js} +17 -17
- package/dist/chunks/{file-retention-96yt6zt0.js → location-services-xkjyxwdt.js} +1 -1
- package/dist/chunks/{file-retention-g8jasmdt.js → location-services-xknhk0nf.js} +8 -8
- package/dist/chunks/{file-retention-tpf4g67y.js → location-services-xtfh037b.js} +32 -32
- package/dist/chunks/{file-retention-y1fvbwt7.js → location-services-y1fvbwt7.js} +1 -1
- package/dist/chunks/{file-retention-6h729pt7.js → location-services-y23m868y.js} +25 -25
- package/dist/chunks/location-services-y8f7s663.js +13 -0
- package/dist/chunks/{file-retention-nhph57h8.js → location-services-ya13sgyt.js} +15 -15
- package/dist/chunks/{file-retention-21ph0r93.js → location-services-yfn5eh04.js} +17 -17
- package/dist/chunks/{file-retention-1bv5gv1b.js → location-services-yg187h29.js} +4 -4
- package/dist/chunks/{file-retention-yrhqyw5v.js → location-services-yrhqyw5v.js} +1 -1
- package/dist/chunks/{file-retention-yrznvahk.js → location-services-yrznvahk.js} +2 -2
- package/dist/chunks/{file-retention-aw7a9nw5.js → location-services-yt5bhwy4.js} +5 -5
- package/dist/chunks/{file-retention-z0bkrqjs.js → location-services-z0bkrqjs.js} +1 -1
- package/dist/chunks/{file-retention-afqmc9k2.js → location-services-z3ezx9pg.js} +16 -16
- package/dist/chunks/{file-retention-c95d7h9p.js → location-services-z3vzppte.js} +25 -22
- package/dist/chunks/{file-retention-z63w68vq.js → location-services-z63w68vq.js} +2 -2
- package/dist/chunks/{file-retention-emcapr5g.js → location-services-z76d14ww.js} +22 -22
- package/dist/chunks/{file-retention-0f2q25am.js → location-services-z7ffasf1.js} +11 -11
- package/dist/chunks/{file-retention-wb19mssj.js → location-services-z7sbn75z.js} +23 -23
- package/dist/chunks/{file-retention-zeh9ct20.js → location-services-zeh9ct20.js} +2 -2
- package/dist/chunks/{file-retention-s1ad6w9q.js → location-services-zfz7njw1.js} +25 -25
- package/dist/chunks/{file-retention-2j4n21tp.js → location-services-zg2sk1d5.js} +22 -22
- package/dist/chunks/{file-retention-zr2ceqn5.js → location-services-zr2ceqn5.js} +1 -1
- package/dist/chunks/{file-retention-zxq2ej10.js → location-services-zxq2ej10.js} +1 -1
- package/dist/codemode/catalog.js +1 -1
- package/dist/codemode/instructions.js +5 -5
- package/dist/codemode/tool.js +2 -2
- package/dist/command.js +84 -83
- package/dist/config/discovery.js +78 -77
- package/dist/config/markdown.js +1 -1
- package/dist/config/normalize.js +19 -19
- package/dist/config/plugin/agent.js +116 -115
- package/dist/config/plugin/command.js +208 -207
- package/dist/config/plugin/compaction.js +156 -155
- package/dist/config/plugin/entry-observer.js +1 -1
- package/dist/config/plugin/formatter.js +118 -117
- package/dist/config/plugin/image.js +116 -115
- package/dist/config/plugin/instruction.js +86 -85
- package/dist/config/plugin/location-watcher.js +118 -117
- package/dist/config/plugin/mcp.js +125 -124
- package/dist/config/plugin/policy.js +115 -114
- package/dist/config/plugin/provider.js +114 -113
- package/dist/config/plugin/reference.js +118 -117
- package/dist/config/plugin/shell.js +119 -118
- package/dist/config/plugin/skill-file.js +98 -97
- package/dist/config/plugin/skill.js +137 -136
- package/dist/config/plugin/snapshot.js +116 -115
- package/dist/config/plugin/source.js +118 -117
- package/dist/config/plugin/tool-output.js +118 -117
- package/dist/config/plugin/websearch.js +116 -115
- package/dist/config/plugin/worktree.js +119 -118
- package/dist/config/variable.js +3 -3
- package/dist/config/watch.js +1 -1
- package/dist/config.js +120 -119
- package/dist/credential/sql.js +2 -2
- package/dist/credential.js +84 -83
- package/dist/database/database.js +69 -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 +6 -0
- package/dist/database/migration.gen.js +48 -47
- package/dist/database/migration.js +50 -49
- 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 +79 -78
- package/dist/database/v1-migration.js +1 -1
- package/dist/effect/app-node-builder.js +363 -362
- 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 +89 -88
- package/dist/environment/exec-defaults.js +2 -2
- package/dist/environment/files.js +1 -1
- package/dist/environment/index.js +91 -90
- package/dist/environment/local.js +2 -2
- package/dist/environment/memory.js +2 -2
- package/dist/environment/unavailable.js +1 -1
- package/dist/event/sql.js +1 -1
- package/dist/event-logger.js +73 -72
- package/dist/file-access.js +100 -99
- package/dist/file-mutation.js +90 -89
- package/dist/file-retention.js +1 -1
- package/dist/file.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/ignore.js +1 -1
- package/dist/filesystem/location-watcher-policy.js +6 -6
- package/dist/filesystem/location-watcher.js +223 -222
- package/dist/filesystem/protected.js +1 -1
- package/dist/filesystem/search.js +94 -93
- package/dist/filesystem/watcher-binding.js +1 -1
- package/dist/filesystem/watcher.js +15 -15
- package/dist/filesystem.js +97 -96
- package/dist/form.js +83 -82
- package/dist/formatter/builtins.js +4 -4
- package/dist/formatter.js +83 -82
- package/dist/generate.js +94 -93
- package/dist/git.js +7 -7
- 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 +3 -3
- 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/id/id.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 +354 -353
- package/dist/instruction-discovery.js +84 -83
- package/dist/instructions/builtins.js +79 -78
- package/dist/instructions/index.js +5 -5
- package/dist/integration/connection.js +1 -1
- package/dist/integration.js +87 -86
- package/dist/job.js +78 -77
- package/dist/kv/sql.js +2 -2
- package/dist/kv.js +72 -71
- package/dist/location-activity.js +132 -131
- package/dist/location-mutation.js +100 -99
- package/dist/location-service-map.js +82 -81
- package/dist/location-services.js +351 -350
- package/dist/location.js +85 -84
- package/dist/mcp/client.js +87 -86
- package/dist/mcp/index.js +104 -103
- package/dist/mcp/instructions.js +121 -120
- package/dist/mcp/oauth.js +3 -3
- package/dist/mcp/stdio.js +86 -85
- package/dist/mime.js +1 -1
- package/dist/modal/models.js +3 -3
- package/dist/model-resolver.js +87 -86
- package/dist/model.js +10 -10
- package/dist/models-dev.js +79 -78
- package/dist/oauth/page.js +1 -1
- package/dist/permission/saved.js +79 -78
- package/dist/permission/sql.js +5 -5
- package/dist/permission.js +109 -108
- package/dist/persistent-pty/binary.bun.js +1 -1
- package/dist/persistent-pty/daemon.js +1 -1
- package/dist/persistent-pty/index.js +87 -86
- package/dist/persistent-pty/pty-binding.js +1 -1
- package/dist/persistent-pty.js +74 -73
- package/dist/plugin/agent.js +98 -97
- package/dist/plugin/command.js +95 -94
- package/dist/plugin/hooks.js +5 -5
- package/dist/plugin/host.js +214 -213
- package/dist/plugin/instance.js +5 -5
- package/dist/plugin/internal.js +325 -324
- package/dist/plugin/mcp-codemode-exclusion.js +3 -3
- package/dist/plugin/models-dev.js +76 -75
- package/dist/plugin/module.js +7 -7
- package/dist/plugin/optimize.js +2 -2
- package/dist/plugin/plan.js +98 -97
- package/dist/plugin/promise.js +1 -1
- package/dist/plugin/provider/alibaba.js +2 -2
- package/dist/plugin/provider/amazon-bedrock.js +2 -2
- package/dist/plugin/provider/anthropic.js +2 -2
- package/dist/plugin/provider/azure.js +119 -118
- package/dist/plugin/provider/cerebras.js +2 -2
- package/dist/plugin/provider/cloudflare-ai-gateway.js +118 -117
- package/dist/plugin/provider/cloudflare-workers-ai.js +118 -117
- package/dist/plugin/provider/cohere.js +2 -2
- package/dist/plugin/provider/configured.js +115 -114
- package/dist/plugin/provider/digitalocean.js +80 -79
- package/dist/plugin/provider/dynamic.js +2 -2
- package/dist/plugin/provider/factory.js +1 -1
- package/dist/plugin/provider/gateway.js +2 -2
- package/dist/plugin/provider/github-copilot.js +81 -80
- package/dist/plugin/provider/gitlab.js +3 -3
- package/dist/plugin/provider/google-vertex.js +2 -2
- package/dist/plugin/provider/kilo.js +2 -2
- package/dist/plugin/provider/llmgateway.js +77 -76
- package/dist/plugin/provider/lmstudio.js +118 -117
- package/dist/plugin/provider/mistral.js +2 -2
- package/dist/plugin/provider/modal.js +80 -79
- package/dist/plugin/provider/nvidia.js +2 -2
- package/dist/plugin/provider/ollama.js +118 -117
- package/dist/plugin/provider/openai-compatible.js +1 -1
- package/dist/plugin/provider/openai.js +79 -78
- package/dist/plugin/provider/opencode.js +80 -79
- package/dist/plugin/provider/openrouter.js +3 -3
- package/dist/plugin/provider/perplexity.js +2 -2
- package/dist/plugin/provider/poe.js +77 -76
- package/dist/plugin/provider/sap-ai-core.js +3 -3
- package/dist/plugin/provider/sdk-factory.js +1 -1
- package/dist/plugin/provider/snowflake-cortex.js +118 -117
- package/dist/plugin/provider/venice.js +2 -2
- package/dist/plugin/provider/vercel.js +2 -2
- package/dist/plugin/provider/vllm.js +118 -117
- package/dist/plugin/provider/xai.js +78 -77
- package/dist/plugin/provider/zenmux.js +2 -2
- package/dist/plugin/provider.js +159 -158
- package/dist/plugin/sdk.js +75 -74
- package/dist/plugin/service.js +3 -3
- package/dist/plugin/skill.js +132 -131
- package/dist/plugin/source-directory.js +1 -1
- package/dist/plugin/supervisor.js +344 -343
- package/dist/plugin/update.js +6 -6
- package/dist/plugin/variant.js +4 -4
- package/dist/plugin/vcs/git.js +83 -82
- package/dist/plugin/vcs/hg.js +83 -82
- package/dist/plugin/warming.js +113 -112
- package/dist/plugin/websearch/exa.js +5 -5
- package/dist/plugin/websearch/firecrawl.js +8 -8
- package/dist/plugin/websearch/index.js +8 -8
- package/dist/plugin/websearch/mcp.js +2 -2
- package/dist/plugin/websearch/parallel.js +6 -6
- package/dist/plugin/websearch/tavily.js +6 -6
- package/dist/plugin.js +225 -224
- package/dist/project/schema.js +8 -8
- package/dist/project/sql.js +4 -4
- package/dist/project.js +86 -85
- package/dist/provider.js +7 -7
- package/dist/pty/protocol.js +1 -1
- package/dist/pty/schema.js +3 -3
- package/dist/pty/ticket.js +1 -1
- package/dist/pty.js +91 -90
- package/dist/reference/instructions.js +81 -80
- package/dist/reference.js +85 -84
- package/dist/repository-cache.js +77 -76
- package/dist/repository.js +3 -3
- package/dist/ripgrep/binary.js +2 -2
- package/dist/ripgrep.js +92 -91
- package/dist/rpc.js +78 -77
- package/dist/schema.js +1 -1
- package/dist/session/command.js +73 -72
- package/dist/session/compaction.js +130 -129
- package/dist/session/context.js +148 -147
- 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 +220 -219
- package/dist/session/execution.js +125 -124
- package/dist/session/generate.js +149 -148
- package/dist/session/history.js +13 -13
- package/dist/session/inbox.js +89 -88
- package/dist/session/info.js +3 -3
- package/dist/session/instruction-entry.js +76 -75
- package/dist/session/instruction-state.js +8 -8
- package/dist/session/instructions.js +93 -92
- package/dist/session/message-updater.js +2 -2
- package/dist/session/message.js +1 -1
- package/dist/session/model-request.js +114 -113
- package/dist/session/model-transport.js +9 -9
- package/dist/session/move.js +127 -126
- package/dist/session/projector.js +85 -84
- package/dist/session/prompt.js +101 -100
- package/dist/session/provider-context.js +3 -3
- package/dist/session/revert.js +86 -85
- package/dist/session/run-coordinator.js +3 -3
- package/dist/session/runner/index.js +3 -3
- package/dist/session/runner/llm.js +226 -225
- package/dist/session/runner/max-steps.js +1 -1
- package/dist/session/runner/model.js +87 -86
- package/dist/session/runner/publish-llm-event.js +3 -3
- package/dist/session/runner/retry.js +111 -110
- package/dist/session/runner/step.js +122 -121
- package/dist/session/runner/to-llm-message.js +2 -2
- package/dist/session/schema.js +5 -5
- package/dist/session/session.js +168 -167
- package/dist/session/shell.js +132 -131
- package/dist/session/skill.js +99 -98
- package/dist/session/sql.js +5 -5
- package/dist/session/stats.js +74 -73
- package/dist/session/store.js +84 -83
- package/dist/session/subagent-completion.js +1 -1
- package/dist/session/subagent-job.js +206 -205
- package/dist/session/system-prompt.js +1 -1
- package/dist/session/title.js +152 -151
- package/dist/session/to-session-error.js +108 -107
- package/dist/session/transfer.js +221 -219
- package/dist/session/usage.js +1 -1
- package/dist/session.js +212 -211
- package/dist/shell/parse.js +6 -6
- 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 +134 -133
- package/dist/skill/discovery.js +6 -6
- package/dist/skill/instructions.js +101 -100
- package/dist/skill.js +106 -105
- package/dist/snapshot.js +89 -88
- 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 +118 -117
- package/dist/tool/plugin/edit.js +116 -115
- package/dist/tool/plugin/file-diff.js +1 -1
- package/dist/tool/plugin/glob.js +121 -120
- package/dist/tool/plugin/grep.js +121 -120
- package/dist/tool/plugin/opencode.js +3 -3
- package/dist/tool/plugin/patch.js +116 -115
- package/dist/tool/plugin/question.js +99 -98
- package/dist/tool/plugin/read.js +122 -121
- package/dist/tool/plugin/shell.js +213 -212
- package/dist/tool/plugin/skill.js +107 -106
- package/dist/tool/plugin/subagent.js +213 -212
- package/dist/tool/plugin/webfetch.js +100 -99
- package/dist/tool/plugin/websearch.js +108 -107
- package/dist/tool/plugin/write.js +116 -115
- package/dist/tool/read-filesystem.js +95 -94
- package/dist/tool/runtime.js +1 -1
- package/dist/tool-output.js +8 -8
- package/dist/tool.js +13 -13
- package/dist/types/database/migration/20260910120000_clear_v1_session_permission.d.ts +3 -0
- package/dist/types/session/schema.d.ts +9 -0
- package/dist/types/session/session.d.ts +4 -0
- package/dist/types/session/sql.d.ts +3 -3
- package/dist/types/session/transfer.d.ts +9 -0
- package/dist/types/session.d.ts +6 -0
- package/dist/util/error-summary.js +1 -1
- package/dist/util/error.js +1 -1
- package/dist/util/iife.js +1 -1
- 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/attachment.js +4 -4
- package/dist/v1/config/command.js +5 -5
- package/dist/v1/config/config.js +16 -16
- package/dist/v1/config/error.js +2 -2
- package/dist/v1/config/formatter.js +3 -3
- package/dist/v1/config/layout.js +1 -1
- package/dist/v1/config/lsp.js +3 -3
- package/dist/v1/config/mcp.js +2 -2
- package/dist/v1/config/migrate.js +4 -4
- 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/v1/config/server.js +2 -2
- package/dist/v1/config/skills.js +3 -3
- package/dist/v1/permission.js +1 -1
- package/dist/vcs/patch.js +1 -1
- package/dist/vcs.js +86 -85
- package/dist/websearch.js +81 -80
- package/dist/wellknown/plugin.js +75 -74
- package/dist/wellknown.js +78 -77
- package/dist/workspace/driver.js +5 -5
- package/dist/workspace/sql.js +1 -1
- package/dist/workspace.js +77 -76
- package/dist/worktree/directory.js +2 -2
- package/dist/worktree/git.js +7 -7
- package/dist/worktree/refresh.js +341 -340
- package/dist/worktree/sql.js +5 -5
- package/dist/worktree.js +88 -87
- package/package.json +8 -8
- package/dist/chunks/file-retention-0mesazry.js +0 -4
- package/dist/chunks/file-retention-619r8v3y.js +0 -18
- package/dist/chunks/file-retention-hs9vagrq.js +0 -22
- package/dist/chunks/file-retention-jhe81125.js +0 -462
- package/dist/chunks/file-retention-k39k42nb.js +0 -247
- /package/dist/chunks/{file-retention-0qkdqm5v.js → location-services-0qkdqm5v.js} +0 -0
- /package/dist/chunks/{file-retention-0zkw76rk.js → location-services-0zkw76rk.js} +0 -0
- /package/dist/chunks/{file-retention-17cy0kzp.js → location-services-17cy0kzp.js} +0 -0
- /package/dist/chunks/{file-retention-1cnp2v09.js → location-services-1cnp2v09.js} +0 -0
- /package/dist/chunks/{file-retention-1kg9ymc8.js → location-services-1kg9ymc8.js} +0 -0
- /package/dist/chunks/{file-retention-2710q6r3.js → location-services-2710q6r3.js} +0 -0
- /package/dist/chunks/{file-retention-2axfhc9x.js → location-services-2axfhc9x.js} +0 -0
- /package/dist/chunks/{file-retention-2c3vjs8z.js → location-services-2c3vjs8z.js} +0 -0
- /package/dist/chunks/{file-retention-359p4xyc.js → location-services-359p4xyc.js} +0 -0
- /package/dist/chunks/{file-retention-3asan66x.js → location-services-3asan66x.js} +0 -0
- /package/dist/chunks/{file-retention-3v8g72cx.js → location-services-3v8g72cx.js} +0 -0
- /package/dist/chunks/{file-retention-3w5fmr99.js → location-services-3w5fmr99.js} +0 -0
- /package/dist/chunks/{file-retention-3wcehsnq.js → location-services-3wcehsnq.js} +0 -0
- /package/dist/chunks/{file-retention-43n2bw4t.js → location-services-43n2bw4t.js} +0 -0
- /package/dist/chunks/{file-retention-4knz6hnm.js → location-services-4knz6hnm.js} +0 -0
- /package/dist/chunks/{file-retention-4vcrnpx2.js → location-services-4vcrnpx2.js} +0 -0
- /package/dist/chunks/{file-retention-4y7fprxs.js → location-services-4y7fprxs.js} +0 -0
- /package/dist/chunks/{file-retention-53557ph1.js → location-services-53557ph1.js} +0 -0
- /package/dist/chunks/{file-retention-550bvhaj.js → location-services-550bvhaj.js} +0 -0
- /package/dist/chunks/{file-retention-6prwharc.js → location-services-6prwharc.js} +0 -0
- /package/dist/chunks/{file-retention-7akdwqpd.js → location-services-7akdwqpd.js} +0 -0
- /package/dist/chunks/{file-retention-7m9af43g.js → location-services-7m9af43g.js} +0 -0
- /package/dist/chunks/{file-retention-822emrt2.js → location-services-822emrt2.js} +0 -0
- /package/dist/chunks/{file-retention-88xbtdfr.js → location-services-88xbtdfr.js} +0 -0
- /package/dist/chunks/{file-retention-8n3pysct.js → location-services-8n3pysct.js} +0 -0
- /package/dist/chunks/{file-retention-922hggd3.js → location-services-922hggd3.js} +0 -0
- /package/dist/chunks/{file-retention-9a4afbnw.js → location-services-9a4afbnw.js} +0 -0
- /package/dist/chunks/{file-retention-9rqn6x4v.js → location-services-9rqn6x4v.js} +0 -0
- /package/dist/chunks/{file-retention-a6k6eb26.js → location-services-a6k6eb26.js} +0 -0
- /package/dist/chunks/{file-retention-af5trqkr.js → location-services-af5trqkr.js} +0 -0
- /package/dist/chunks/{file-retention-afrmfg78.js → location-services-afrmfg78.js} +0 -0
- /package/dist/chunks/{file-retention-aqzs7mqg.js → location-services-aqzs7mqg.js} +0 -0
- /package/dist/chunks/{file-retention-atq7p7m5.js → location-services-atq7p7m5.js} +0 -0
- /package/dist/chunks/{file-retention-bkyjaxrp.js → location-services-bkyjaxrp.js} +0 -0
- /package/dist/chunks/{file-retention-bmr6ed5q.js → location-services-bmr6ed5q.js} +0 -0
- /package/dist/chunks/{file-retention-cf4snx6d.js → location-services-cf4snx6d.js} +0 -0
- /package/dist/chunks/{file-retention-cvy3z8tj.js → location-services-cvy3z8tj.js} +0 -0
- /package/dist/chunks/{file-retention-d9fn303g.js → location-services-d9fn303g.js} +0 -0
- /package/dist/chunks/{file-retention-d9jj8t3e.js → location-services-d9jj8t3e.js} +0 -0
- /package/dist/chunks/{file-retention-dajrwvna.js → location-services-dajrwvna.js} +0 -0
- /package/dist/chunks/{file-retention-dap0rakb.js → location-services-dap0rakb.js} +0 -0
- /package/dist/chunks/{file-retention-df08tz66.js → location-services-df08tz66.js} +0 -0
- /package/dist/chunks/{file-retention-dy18nga0.js → location-services-dy18nga0.js} +0 -0
- /package/dist/chunks/{file-retention-e5kj55wp.js → location-services-e5kj55wp.js} +0 -0
- /package/dist/chunks/{file-retention-e73j6tqm.js → location-services-e73j6tqm.js} +0 -0
- /package/dist/chunks/{file-retention-ec1grn59.js → location-services-ec1grn59.js} +0 -0
- /package/dist/chunks/{file-retention-eh3zwz77.js → location-services-eh3zwz77.js} +0 -0
- /package/dist/chunks/{file-retention-emrn6kk6.js → location-services-emrn6kk6.js} +0 -0
- /package/dist/chunks/{file-retention-f0mxakyp.js → location-services-f0mxakyp.js} +0 -0
- /package/dist/chunks/{file-retention-f6n9ztr4.js → location-services-f6n9ztr4.js} +0 -0
- /package/dist/chunks/{file-retention-faypxj3z.js → location-services-faypxj3z.js} +0 -0
- /package/dist/chunks/{file-retention-fd410y7t.js → location-services-fd410y7t.js} +0 -0
- /package/dist/chunks/{file-retention-fxgpk5d8.js → location-services-fxgpk5d8.js} +0 -0
- /package/dist/chunks/{file-retention-g4wezp1m.js → location-services-g4wezp1m.js} +0 -0
- /package/dist/chunks/{file-retention-g86h250q.js → location-services-g86h250q.js} +0 -0
- /package/dist/chunks/{file-retention-gebd4c9n.js → location-services-gebd4c9n.js} +0 -0
- /package/dist/chunks/{file-retention-gftt206x.js → location-services-gftt206x.js} +0 -0
- /package/dist/chunks/{file-retention-hjbc5kem.js → location-services-hjbc5kem.js} +0 -0
- /package/dist/chunks/{file-retention-hk9envan.js → location-services-hk9envan.js} +0 -0
- /package/dist/chunks/{file-retention-hrnqkpcd.js → location-services-hrnqkpcd.js} +0 -0
- /package/dist/chunks/{file-retention-j2ntwpah.js → location-services-j2ntwpah.js} +0 -0
- /package/dist/chunks/{file-retention-j5zkgpj8.js → location-services-j5zkgpj8.js} +0 -0
- /package/dist/chunks/{file-retention-jr7sbwjy.js → location-services-jr7sbwjy.js} +0 -0
- /package/dist/chunks/{file-retention-jwfs4k6c.js → location-services-jwfs4k6c.js} +0 -0
- /package/dist/chunks/{file-retention-jzg6c2d5.js → location-services-jzg6c2d5.js} +0 -0
- /package/dist/chunks/{file-retention-mp448xyj.js → location-services-mp448xyj.js} +0 -0
- /package/dist/chunks/{file-retention-msx8hqn2.js → location-services-msx8hqn2.js} +0 -0
- /package/dist/chunks/{file-retention-n05xt0ee.js → location-services-n05xt0ee.js} +0 -0
- /package/dist/chunks/{file-retention-n3j8tn72.js → location-services-n3j8tn72.js} +0 -0
- /package/dist/chunks/{file-retention-njntx4h6.js → location-services-njntx4h6.js} +0 -0
- /package/dist/chunks/{file-retention-paphc93g.js → location-services-paphc93g.js} +0 -0
- /package/dist/chunks/{file-retention-q3sfg36h.js → location-services-q3sfg36h.js} +0 -0
- /package/dist/chunks/{file-retention-q74kybfr.js → location-services-q74kybfr.js} +0 -0
- /package/dist/chunks/{file-retention-qaymkmh1.js → location-services-qaymkmh1.js} +0 -0
- /package/dist/chunks/{file-retention-qb87gjwd.js → location-services-qb87gjwd.js} +0 -0
- /package/dist/chunks/{file-retention-qfa1cgps.js → location-services-qfa1cgps.js} +0 -0
- /package/dist/chunks/{file-retention-qrg20bc0.js → location-services-qrg20bc0.js} +0 -0
- /package/dist/chunks/{file-retention-rcb2kzg1.js → location-services-rcb2kzg1.js} +0 -0
- /package/dist/chunks/{file-retention-sdp7kfr6.js → location-services-sdp7kfr6.js} +0 -0
- /package/dist/chunks/{file-retention-sk3qaz4a.js → location-services-sk3qaz4a.js} +0 -0
- /package/dist/chunks/{file-retention-ssg3fenm.js → location-services-ssg3fenm.js} +0 -0
- /package/dist/chunks/{file-retention-twg0f83k.js → location-services-twg0f83k.js} +0 -0
- /package/dist/chunks/{file-retention-w803qqfp.js → location-services-w803qqfp.js} +0 -0
- /package/dist/chunks/{file-retention-wer8tq1h.js → location-services-wer8tq1h.js} +0 -0
- /package/dist/chunks/{file-retention-wtztk69x.js → location-services-wtztk69x.js} +0 -0
- /package/dist/chunks/{file-retention-x0ckcb58.js → location-services-x0ckcb58.js} +0 -0
- /package/dist/chunks/{file-retention-x61499pn.js → location-services-x61499pn.js} +0 -0
- /package/dist/chunks/{file-retention-y44na4kk.js → location-services-y44na4kk.js} +0 -0
- /package/dist/chunks/{file-retention-y8cydn3q.js → location-services-y8cydn3q.js} +0 -0
- /package/dist/chunks/{file-retention-ygaqb7jw.js → location-services-ygaqb7jw.js} +0 -0
- /package/dist/chunks/{file-retention-ym463w8f.js → location-services-ym463w8f.js} +0 -0
- /package/dist/chunks/{file-retention-z9919s4g.js → location-services-z9919s4g.js} +0 -0
|
@@ -1,30 +1,30 @@
|
|
|
1
1
|
import {
|
|
2
2
|
latest2,
|
|
3
|
-
|
|
4
|
-
} from "./
|
|
3
|
+
Service46
|
|
4
|
+
} from "./location-services-k37qtvmx.js";
|
|
5
5
|
import {
|
|
6
|
-
|
|
7
|
-
} from "./
|
|
6
|
+
Service63
|
|
7
|
+
} from "./location-services-w5wb35vm.js";
|
|
8
8
|
import {
|
|
9
9
|
observe2
|
|
10
|
-
} from "./
|
|
10
|
+
} from "./location-services-qsdy395h.js";
|
|
11
11
|
import {
|
|
12
12
|
__export
|
|
13
|
-
} from "./
|
|
13
|
+
} from "./location-services-9rqn6x4v.js";
|
|
14
14
|
|
|
15
15
|
// src/config/plugin/snapshot.ts
|
|
16
16
|
var exports_snapshot = {};
|
|
17
17
|
__export(exports_snapshot, {
|
|
18
18
|
ConfigSnapshotPlugin: () => exports_snapshot,
|
|
19
|
-
Plugin: () =>
|
|
19
|
+
Plugin: () => Plugin13
|
|
20
20
|
});
|
|
21
21
|
import { define } from "@opencode/plugin/effect/plugin";
|
|
22
22
|
import { Effect } from "effect";
|
|
23
|
-
var
|
|
23
|
+
var Plugin13 = define({
|
|
24
24
|
id: "opencode.config.snapshot",
|
|
25
25
|
effect: Effect.fn(function* (ctx) {
|
|
26
|
-
const config = yield*
|
|
27
|
-
const snapshot = yield*
|
|
26
|
+
const config = yield* Service46;
|
|
27
|
+
const snapshot = yield* Service63;
|
|
28
28
|
const loaded = yield* observe2(config, ctx.event, snapshot.reload());
|
|
29
29
|
yield* snapshot.transform((editor) => {
|
|
30
30
|
const configured = latest2(loaded.entries, "snapshots");
|
|
@@ -35,4 +35,4 @@ var Plugin19 = define({
|
|
|
35
35
|
})
|
|
36
36
|
});
|
|
37
37
|
|
|
38
|
-
export {
|
|
38
|
+
export { Plugin13, exports_snapshot };
|
|
@@ -1,47 +1,47 @@
|
|
|
1
1
|
import {
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
} from "./
|
|
2
|
+
ID15,
|
|
3
|
+
Service73
|
|
4
|
+
} from "./location-services-1rppxzqd.js";
|
|
5
5
|
import {
|
|
6
6
|
latest2,
|
|
7
|
-
|
|
8
|
-
} from "./
|
|
7
|
+
Service46
|
|
8
|
+
} from "./location-services-k37qtvmx.js";
|
|
9
9
|
import {
|
|
10
10
|
SessionSchema2
|
|
11
|
-
} from "./
|
|
11
|
+
} from "./location-services-2f04pwep.js";
|
|
12
12
|
import {
|
|
13
|
-
|
|
14
|
-
} from "./
|
|
13
|
+
Service41
|
|
14
|
+
} from "./location-services-xjfemsx1.js";
|
|
15
15
|
import {
|
|
16
16
|
evaluate2,
|
|
17
|
-
|
|
18
|
-
} from "./
|
|
17
|
+
Service70
|
|
18
|
+
} from "./location-services-8r3rf18d.js";
|
|
19
19
|
import {
|
|
20
|
-
|
|
21
|
-
} from "./
|
|
20
|
+
Service21
|
|
21
|
+
} from "./location-services-6a8fnbq3.js";
|
|
22
22
|
import {
|
|
23
23
|
NO_TEXT2
|
|
24
|
-
} from "./
|
|
24
|
+
} from "./location-services-x1ezjp6w.js";
|
|
25
25
|
import {
|
|
26
|
-
|
|
27
|
-
} from "./
|
|
26
|
+
make10
|
|
27
|
+
} from "./location-services-h13535c5.js";
|
|
28
28
|
import {
|
|
29
29
|
__export
|
|
30
|
-
} from "./
|
|
30
|
+
} from "./location-services-9rqn6x4v.js";
|
|
31
31
|
|
|
32
32
|
// src/tool/plugin/subagent.ts
|
|
33
33
|
var exports_subagent = {};
|
|
34
34
|
__export(exports_subagent, {
|
|
35
|
-
Input: () =>
|
|
36
|
-
Output: () =>
|
|
37
|
-
Plugin: () =>
|
|
35
|
+
Input: () => Input8,
|
|
36
|
+
Output: () => Output5,
|
|
37
|
+
Plugin: () => Plugin26,
|
|
38
38
|
SubagentTool: () => exports_subagent,
|
|
39
39
|
description: () => description4,
|
|
40
|
-
name: () =>
|
|
40
|
+
name: () => name8
|
|
41
41
|
});
|
|
42
42
|
import { ToolFailure } from "@opencode/ai";
|
|
43
43
|
import { Effect, Schema } from "effect";
|
|
44
|
-
var
|
|
44
|
+
var name8 = "subagent";
|
|
45
45
|
var backgroundResult = (sessionID) => ({
|
|
46
46
|
sessionID,
|
|
47
47
|
status: "running",
|
|
@@ -52,7 +52,7 @@ var backgroundResult = (sessionID) => ({
|
|
|
52
52
|
].join(`
|
|
53
53
|
`)
|
|
54
54
|
});
|
|
55
|
-
var
|
|
55
|
+
var Input8 = Schema.Struct({
|
|
56
56
|
agent: Schema.String.annotate({ description: "The type of specialized agent to use for this task" }),
|
|
57
57
|
description: Schema.String.annotate({ description: "A short 3-5 word label for the task, displayed to the user" }),
|
|
58
58
|
prompt: Schema.String.annotate({ description: "The task for the subagent to perform" }),
|
|
@@ -63,7 +63,7 @@ var Input7 = Schema.Struct({
|
|
|
63
63
|
description: "Run the subagent in the background and return immediately. You will be notified when it completes. DO NOT sleep, poll, or proactively check on its progress."
|
|
64
64
|
})
|
|
65
65
|
});
|
|
66
|
-
var
|
|
66
|
+
var Output5 = Schema.Struct({
|
|
67
67
|
sessionID: SessionSchema2.ID,
|
|
68
68
|
status: Schema.Literals(["completed", "running"]),
|
|
69
69
|
output: Schema.String
|
|
@@ -77,21 +77,21 @@ var description4 = [
|
|
|
77
77
|
"Use background only for independent work that can run while you continue elsewhere."
|
|
78
78
|
].join(`
|
|
79
79
|
`);
|
|
80
|
-
var
|
|
80
|
+
var Plugin26 = {
|
|
81
81
|
id: "opencode.tool.subagent",
|
|
82
82
|
effect: Effect.fn("SubagentTool.Plugin")(function* (ctx) {
|
|
83
|
-
const sessions = yield*
|
|
84
|
-
const jobs = yield*
|
|
85
|
-
const agents = yield*
|
|
86
|
-
const config = yield*
|
|
87
|
-
const permission = yield*
|
|
88
|
-
const subagents = yield*
|
|
83
|
+
const sessions = yield* Service21;
|
|
84
|
+
const jobs = yield* Service41;
|
|
85
|
+
const agents = yield* Service73;
|
|
86
|
+
const config = yield* Service46;
|
|
87
|
+
const permission = yield* Service70;
|
|
88
|
+
const subagents = yield* make10;
|
|
89
89
|
yield* ctx.tool.transform((editor) => editor.add({
|
|
90
|
-
name:
|
|
90
|
+
name: name8,
|
|
91
91
|
options: { codemode: false },
|
|
92
92
|
description: description4,
|
|
93
|
-
input:
|
|
94
|
-
output:
|
|
93
|
+
input: Input8,
|
|
94
|
+
output: Output5,
|
|
95
95
|
execute: (input, context) => Effect.gen(function* () {
|
|
96
96
|
const parent = yield* sessions.get(context.sessionID).pipe(Effect.mapError((error) => new ToolFailure({ message: `Parent session not found: ${context.sessionID}`, error })));
|
|
97
97
|
let current = parent;
|
|
@@ -111,7 +111,7 @@ var Plugin9 = {
|
|
|
111
111
|
if (agent.mode === "primary")
|
|
112
112
|
return yield* new ToolFailure({ message: `Agent ${input.agent} cannot run as a subagent` });
|
|
113
113
|
yield* permission.assert({
|
|
114
|
-
action:
|
|
114
|
+
action: name8,
|
|
115
115
|
resources: [agent.id],
|
|
116
116
|
save: [agent.id],
|
|
117
117
|
sessionID: context.sessionID,
|
|
@@ -134,7 +134,7 @@ var Plugin9 = {
|
|
|
134
134
|
const child = existing ?? (yield* sessions.create({
|
|
135
135
|
parentID: context.sessionID,
|
|
136
136
|
title: input.description,
|
|
137
|
-
agent:
|
|
137
|
+
agent: ID15.make(input.agent),
|
|
138
138
|
model
|
|
139
139
|
}).pipe(Effect.mapError((error) => new ToolFailure({ message: `Parent session not found: ${context.sessionID}`, error }))));
|
|
140
140
|
const background = input.background === true;
|
|
@@ -184,13 +184,13 @@ ${output.output}
|
|
|
184
184
|
})))
|
|
185
185
|
})).pipe(Effect.orDie);
|
|
186
186
|
yield* ctx.session.hook("context", (event) => Effect.gen(function* () {
|
|
187
|
-
const tool = event.tools[
|
|
187
|
+
const tool = event.tools[name8];
|
|
188
188
|
if (!tool)
|
|
189
189
|
return;
|
|
190
190
|
const selected = yield* agents.resolve(event.agent);
|
|
191
191
|
if (!selected)
|
|
192
192
|
return;
|
|
193
|
-
const available = (yield* agents.list()).filter((agent) => agent.mode !== "primary" && !agent.hidden && evaluate2(
|
|
193
|
+
const available = (yield* agents.list()).filter((agent) => agent.mode !== "primary" && !agent.hidden && evaluate2(name8, agent.id, selected.permissions).effect !== "deny").toSorted((a, b) => a.id.localeCompare(b.id));
|
|
194
194
|
if (available.length === 0)
|
|
195
195
|
return;
|
|
196
196
|
tool.description = [
|
|
@@ -204,4 +204,4 @@ ${output.output}
|
|
|
204
204
|
})
|
|
205
205
|
};
|
|
206
206
|
|
|
207
|
-
export {
|
|
207
|
+
export { name8, Input8, Output5, description4, Plugin26, exports_subagent };
|
|
@@ -1,31 +1,31 @@
|
|
|
1
1
|
import {
|
|
2
2
|
AbsolutePath2
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./location-services-922hggd3.js";
|
|
4
4
|
import {
|
|
5
5
|
__export
|
|
6
|
-
} from "./
|
|
6
|
+
} from "./location-services-9rqn6x4v.js";
|
|
7
7
|
|
|
8
8
|
// src/project/schema.ts
|
|
9
9
|
var exports_schema = {};
|
|
10
10
|
__export(exports_schema, {
|
|
11
11
|
Current: () => Current3,
|
|
12
|
-
Event: () =>
|
|
13
|
-
ID: () =>
|
|
14
|
-
Info: () =>
|
|
12
|
+
Event: () => Event20,
|
|
13
|
+
ID: () => ID18,
|
|
14
|
+
Info: () => Info33,
|
|
15
15
|
ProjectSchema: () => exports_schema,
|
|
16
16
|
UpdateInput: () => UpdateInput4,
|
|
17
17
|
Vcs: () => Vcs3
|
|
18
18
|
});
|
|
19
19
|
import { Schema } from "effect";
|
|
20
20
|
import { Project } from "@opencode/schema/project";
|
|
21
|
-
var
|
|
21
|
+
var ID18 = Project.ID;
|
|
22
22
|
var Current3 = Project.Current;
|
|
23
|
-
var
|
|
23
|
+
var Info33 = Project.Info;
|
|
24
24
|
var UpdateInput4 = Project.UpdateInput;
|
|
25
|
-
var
|
|
25
|
+
var Event20 = Project.Event;
|
|
26
26
|
var Vcs3 = Schema.Struct({
|
|
27
27
|
type: Project.Vcs,
|
|
28
28
|
store: AbsolutePath2
|
|
29
29
|
});
|
|
30
30
|
|
|
31
|
-
export {
|
|
31
|
+
export { ID18, Current3, Info33, UpdateInput4, Event20, Vcs3, exports_schema };
|
|
@@ -1,24 +1,24 @@
|
|
|
1
1
|
import {
|
|
2
|
-
|
|
3
|
-
} from "./
|
|
2
|
+
Service78
|
|
3
|
+
} from "./location-services-2hasx83a.js";
|
|
4
4
|
import {
|
|
5
5
|
OAuth3,
|
|
6
|
-
|
|
7
|
-
} from "./
|
|
6
|
+
Event13
|
|
7
|
+
} from "./location-services-cznvyt73.js";
|
|
8
8
|
import {
|
|
9
|
-
|
|
9
|
+
ID5,
|
|
10
10
|
MethodID2
|
|
11
|
-
} from "./
|
|
11
|
+
} from "./location-services-28wjfbzm.js";
|
|
12
12
|
import {
|
|
13
|
-
|
|
13
|
+
ID8,
|
|
14
14
|
mergeOverlay2,
|
|
15
15
|
mergeHeaders2
|
|
16
|
-
} from "./
|
|
16
|
+
} from "./location-services-942f7qpg.js";
|
|
17
17
|
import {
|
|
18
18
|
ID4,
|
|
19
|
-
|
|
19
|
+
Input14,
|
|
20
20
|
Response2
|
|
21
|
-
} from "./
|
|
21
|
+
} from "./location-services-z7sbn75z.js";
|
|
22
22
|
|
|
23
23
|
// src/plugin/provider/opencode.ts
|
|
24
24
|
import { Duration, Effect, Equal, Schema, Semaphore, Stream } from "effect";
|
|
@@ -54,7 +54,7 @@ var User = Schema.Struct({ id: Schema.String, email: Schema.String });
|
|
|
54
54
|
var Org = Schema.Struct({ id: Schema.String, name: Schema.String });
|
|
55
55
|
function oauth(http) {
|
|
56
56
|
return {
|
|
57
|
-
integrationID:
|
|
57
|
+
integrationID: ID5.make("opencode"),
|
|
58
58
|
method: {
|
|
59
59
|
id: methodID,
|
|
60
60
|
type: "oauth",
|
|
@@ -99,7 +99,7 @@ function oauth(http) {
|
|
|
99
99
|
var OpencodePlugin2 = define({
|
|
100
100
|
id: "opencode.provider.opencode",
|
|
101
101
|
effect: Effect.fn(function* (ctx) {
|
|
102
|
-
const bus = yield*
|
|
102
|
+
const bus = yield* Service78;
|
|
103
103
|
const http = yield* HttpClient.HttpClient;
|
|
104
104
|
const loading = Semaphore.makeUnsafe(1);
|
|
105
105
|
let snapshot = { config: undefined, connection: undefined };
|
|
@@ -125,7 +125,7 @@ var OpencodePlugin2 = define({
|
|
|
125
125
|
catalog.provider.update(providerID, (provider) => {
|
|
126
126
|
if (source && source.provider !== provider)
|
|
127
127
|
Object.assign(provider, structuredClone(source.provider), { id: provider.id });
|
|
128
|
-
provider.integrationID =
|
|
128
|
+
provider.integrationID = ID5.make("opencode");
|
|
129
129
|
if (item.canonical !== undefined)
|
|
130
130
|
provider.canonical = item.canonical;
|
|
131
131
|
if (item.name !== undefined)
|
|
@@ -188,7 +188,7 @@ var OpencodePlugin2 = define({
|
|
|
188
188
|
});
|
|
189
189
|
}
|
|
190
190
|
}
|
|
191
|
-
const item = catalog.provider.get(
|
|
191
|
+
const item = catalog.provider.get(ID8.opencode);
|
|
192
192
|
if (!item)
|
|
193
193
|
return;
|
|
194
194
|
const hasKey = Boolean(process.env.OPENCODE_API_KEY || snapshot.connection || item.provider.settings?.apiKey);
|
|
@@ -228,7 +228,7 @@ var OpencodePlugin2 = define({
|
|
|
228
228
|
const orgID = typeof metadata?.orgID === "string" ? metadata.orgID : undefined;
|
|
229
229
|
const token = credential.type === "oauth" ? credential.access : credential.key;
|
|
230
230
|
const server = yield* normalizeServer(serverUrl(credential));
|
|
231
|
-
const request = yield* HttpClientRequest.post(`${server}/api/websearch`).pipe(HttpClientRequest.acceptJson, HttpClientRequest.bearerToken(token), HttpClientRequest.setHeaders(orgID ? { "x-org-id": orgID } : {}), HttpClientRequest.schemaBodyJson(
|
|
231
|
+
const request = yield* HttpClientRequest.post(`${server}/api/websearch`).pipe(HttpClientRequest.acceptJson, HttpClientRequest.bearerToken(token), HttpClientRequest.setHeaders(orgID ? { "x-org-id": orgID } : {}), HttpClientRequest.schemaBodyJson(Input14)({
|
|
232
232
|
query: input.query,
|
|
233
233
|
providerID: descriptor.providerID
|
|
234
234
|
}));
|
|
@@ -249,7 +249,7 @@ var OpencodePlugin2 = define({
|
|
|
249
249
|
yield* Effect.all([ctx.catalog.reload(), ctx.websearch.reload()], { concurrency: 2, discard: true });
|
|
250
250
|
});
|
|
251
251
|
const refresh = () => loading.withPermit(load().pipe(Effect.andThen(apply)));
|
|
252
|
-
yield* bus.subscribe(
|
|
252
|
+
yield* bus.subscribe(Event13.Switched).pipe(Stream.filter((event) => event.data.integrationID === ID5.make("opencode")), Stream.runForEach(refresh), Effect.forkScoped({ startImmediately: true }));
|
|
253
253
|
yield* Effect.sleep(Duration.minutes(10)).pipe(Effect.andThen(loading.withPermit(load().pipe(Effect.flatMap((next) => Equal.equals(snapshot, next) ? Effect.void : apply(next))))), Effect.forever, Effect.forkScoped);
|
|
254
254
|
})
|
|
255
255
|
});
|
|
@@ -1,31 +1,31 @@
|
|
|
1
1
|
import {
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
} from "./
|
|
2
|
+
Service47,
|
|
3
|
+
node50
|
|
4
|
+
} from "./location-services-kpmgqkrr.js";
|
|
5
5
|
import {
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
} from "./
|
|
6
|
+
Service76,
|
|
7
|
+
node81
|
|
8
|
+
} from "./location-services-5k2k3mdz.js";
|
|
9
9
|
import {
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
} from "./
|
|
10
|
+
Service46,
|
|
11
|
+
node49
|
|
12
|
+
} from "./location-services-k37qtvmx.js";
|
|
13
13
|
import {
|
|
14
14
|
names2,
|
|
15
15
|
discover2
|
|
16
|
-
} from "./
|
|
16
|
+
} from "./location-services-zxq2ej10.js";
|
|
17
17
|
import {
|
|
18
18
|
__export
|
|
19
|
-
} from "./
|
|
19
|
+
} from "./location-services-9rqn6x4v.js";
|
|
20
20
|
|
|
21
21
|
// src/config/plugin/source.ts
|
|
22
22
|
var exports_source = {};
|
|
23
23
|
__export(exports_source, {
|
|
24
24
|
ConfigPluginSource: () => exports_source,
|
|
25
|
-
Service: () =>
|
|
25
|
+
Service: () => Service2,
|
|
26
26
|
empty: () => empty2,
|
|
27
|
-
layer: () =>
|
|
28
|
-
node: () =>
|
|
27
|
+
layer: () => layer4,
|
|
28
|
+
node: () => node4
|
|
29
29
|
});
|
|
30
30
|
import { FSUtil } from "@opencode/util/fs-util";
|
|
31
31
|
import { Host } from "@opencode/plugin/host";
|
|
@@ -33,13 +33,13 @@ import { makeLocationNode } from "@opencode/util/effect/app-node";
|
|
|
33
33
|
import { Context, Effect, Layer, Option, PubSub, Stream } from "effect";
|
|
34
34
|
import path from "path";
|
|
35
35
|
import { fileURLToPath, pathToFileURL } from "url";
|
|
36
|
-
class
|
|
36
|
+
class Service2 extends Context.Service()("@opencode/ConfigPluginSource") {
|
|
37
37
|
}
|
|
38
|
-
var
|
|
39
|
-
const config = yield*
|
|
40
|
-
const watcher = yield*
|
|
38
|
+
var layer4 = Layer.effect(Service2, Effect.gen(function* () {
|
|
39
|
+
const config = yield* Service46;
|
|
40
|
+
const watcher = yield* Service47;
|
|
41
41
|
const fs = yield* FSUtil.Service;
|
|
42
|
-
const location = yield*
|
|
42
|
+
const location = yield* Service76;
|
|
43
43
|
const configuredChanges = yield* PubSub.unbounded();
|
|
44
44
|
const watched = new Set;
|
|
45
45
|
const watchConfiguredSources = Effect.fn("ConfigPluginSource.watchConfiguredSources")(function* (entries, operations) {
|
|
@@ -58,7 +58,7 @@ var layer5 = Layer.effect(Service4, Effect.gen(function* () {
|
|
|
58
58
|
yield* updates.pipe(Stream.runForEach(() => PubSub.publish(configuredChanges, undefined)), Effect.catchCause((cause) => Effect.logError("configured plugin watch failed", { target: operation.target, cause })), Effect.forkScoped({ startImmediately: true }));
|
|
59
59
|
}
|
|
60
60
|
});
|
|
61
|
-
return
|
|
61
|
+
return Service2.of({
|
|
62
62
|
operations: Effect.fn("ConfigPluginSource.operations")(function* () {
|
|
63
63
|
const entries = yield* config.entries();
|
|
64
64
|
const operations = yield* scan(fs, location, entries);
|
|
@@ -70,14 +70,14 @@ var layer5 = Layer.effect(Service4, Effect.gen(function* () {
|
|
|
70
70
|
})), Stream.fromPubSub(configuredChanges))
|
|
71
71
|
});
|
|
72
72
|
}));
|
|
73
|
-
var
|
|
74
|
-
service:
|
|
75
|
-
layer:
|
|
76
|
-
deps: [
|
|
73
|
+
var node4 = makeLocationNode({
|
|
74
|
+
service: Service2,
|
|
75
|
+
layer: layer4,
|
|
76
|
+
deps: [node49, FSUtil.node, node50, node81]
|
|
77
77
|
});
|
|
78
78
|
var empty2 = makeLocationNode({
|
|
79
|
-
service:
|
|
80
|
-
layer: Layer.succeed(
|
|
79
|
+
service: Service2,
|
|
80
|
+
layer: Layer.succeed(Service2, Service2.of({
|
|
81
81
|
operations: () => Effect.succeed([]),
|
|
82
82
|
changes: () => Stream.never
|
|
83
83
|
})),
|
|
@@ -137,4 +137,4 @@ function isPluginSource(entries, file) {
|
|
|
137
137
|
return entries.some((entry) => entry.type === "directory" && names2.some((directory) => FSUtil.contains(path.join(entry.path, directory), file)));
|
|
138
138
|
}
|
|
139
139
|
|
|
140
|
-
export {
|
|
140
|
+
export { Service2, layer4, node4, empty2, exports_source };
|
|
@@ -1,24 +1,24 @@
|
|
|
1
1
|
import {
|
|
2
2
|
useragent2
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./location-services-tsr8fc0r.js";
|
|
4
4
|
import {
|
|
5
5
|
call2
|
|
6
|
-
} from "./
|
|
6
|
+
} from "./location-services-56gdpj1q.js";
|
|
7
7
|
import {
|
|
8
8
|
__export
|
|
9
|
-
} from "./
|
|
9
|
+
} from "./location-services-9rqn6x4v.js";
|
|
10
10
|
|
|
11
11
|
// src/plugin/websearch/firecrawl.ts
|
|
12
12
|
var exports_firecrawl = {};
|
|
13
13
|
__export(exports_firecrawl, {
|
|
14
|
-
Plugin: () =>
|
|
14
|
+
Plugin: () => Plugin37,
|
|
15
15
|
WebSearchFirecrawl: () => exports_firecrawl,
|
|
16
|
-
endpoint: () =>
|
|
16
|
+
endpoint: () => endpoint4
|
|
17
17
|
});
|
|
18
18
|
import { define } from "@opencode/plugin/effect/plugin";
|
|
19
19
|
import { Effect, Option, Schema } from "effect";
|
|
20
20
|
import { HttpClient } from "effect/unstable/http";
|
|
21
|
-
var
|
|
21
|
+
var endpoint4 = "https://mcp.firecrawl.dev/v2/mcp";
|
|
22
22
|
var McpInput = Schema.Struct({
|
|
23
23
|
query: Schema.String,
|
|
24
24
|
limit: Schema.Number.pipe(Schema.optional)
|
|
@@ -37,7 +37,7 @@ var SearchResponse = Schema.fromJsonString(Schema.Struct({
|
|
|
37
37
|
})
|
|
38
38
|
}));
|
|
39
39
|
var decodeSearchResponse = Schema.decodeUnknownOption(SearchResponse);
|
|
40
|
-
var
|
|
40
|
+
var Plugin37 = define({
|
|
41
41
|
id: "opencode.websearch.firecrawl",
|
|
42
42
|
effect: Effect.fn("WebSearchFirecrawl.Plugin")(function* (ctx) {
|
|
43
43
|
const http = yield* HttpClient.HttpClient;
|
|
@@ -59,7 +59,7 @@ var Plugin38 = define({
|
|
|
59
59
|
execute: (input) => Effect.gen(function* () {
|
|
60
60
|
const connection = yield* ctx.integration.connection.active("firecrawl");
|
|
61
61
|
const credential = connection ? yield* ctx.integration.connection.resolve(connection) : undefined;
|
|
62
|
-
const result = yield* call2(http,
|
|
62
|
+
const result = yield* call2(http, endpoint4, "firecrawl_search", { input: McpInput, output: McpOutput }, { query: input.query, limit: 8 }, {
|
|
63
63
|
"User-Agent": useragent2(ctx.app),
|
|
64
64
|
...credential?.type === "key" ? { Authorization: `Bearer ${credential.key}` } : {}
|
|
65
65
|
});
|
|
@@ -77,4 +77,4 @@ var Plugin38 = define({
|
|
|
77
77
|
})
|
|
78
78
|
});
|
|
79
79
|
|
|
80
|
-
export {
|
|
80
|
+
export { endpoint4, Plugin37, exports_firecrawl };
|
|
@@ -2,20 +2,20 @@ import {
|
|
|
2
2
|
NonNegativeInt2,
|
|
3
3
|
PositiveInt2,
|
|
4
4
|
RelativePath2
|
|
5
|
-
} from "./
|
|
5
|
+
} from "./location-services-922hggd3.js";
|
|
6
6
|
import {
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
} from "./
|
|
7
|
+
Service66,
|
|
8
|
+
node70
|
|
9
|
+
} from "./location-services-gyhegj3g.js";
|
|
10
10
|
import {
|
|
11
11
|
Content2
|
|
12
|
-
} from "./
|
|
12
|
+
} from "./location-services-mx1q1bxy.js";
|
|
13
13
|
import {
|
|
14
14
|
detect2
|
|
15
|
-
} from "./
|
|
15
|
+
} from "./location-services-3smtnn6g.js";
|
|
16
16
|
import {
|
|
17
17
|
__export
|
|
18
|
-
} from "./
|
|
18
|
+
} from "./location-services-9rqn6x4v.js";
|
|
19
19
|
|
|
20
20
|
// src/tool/read-filesystem.ts
|
|
21
21
|
var exports_read_filesystem = {};
|
|
@@ -33,7 +33,7 @@ __export(exports_read_filesystem, {
|
|
|
33
33
|
PageInput: () => PageInput2,
|
|
34
34
|
PathKindError: () => PathKindError2,
|
|
35
35
|
ReadToolFileSystem: () => exports_read_filesystem,
|
|
36
|
-
Service: () =>
|
|
36
|
+
Service: () => Service7,
|
|
37
37
|
TextPage: () => TextPage2,
|
|
38
38
|
node: () => node9,
|
|
39
39
|
read: () => read2
|
|
@@ -114,7 +114,7 @@ class ListPage2 extends Schema.Class("ReadTool.ListPage")({
|
|
|
114
114
|
}) {
|
|
115
115
|
}
|
|
116
116
|
|
|
117
|
-
class
|
|
117
|
+
class Service7 extends Context.Service()("@opencode/ReadToolFileSystem") {
|
|
118
118
|
}
|
|
119
119
|
var mimeType = (value) => lookup(value) || "application/octet-stream";
|
|
120
120
|
var read2 = Effect.fn("ReadTool.read")(function* (files, input, resource, page = {}) {
|
|
@@ -326,13 +326,13 @@ var nthNewline = (bytes, count) => {
|
|
|
326
326
|
return index + 1;
|
|
327
327
|
}
|
|
328
328
|
};
|
|
329
|
-
var layer = Layer.effect(
|
|
330
|
-
const environment = yield*
|
|
331
|
-
return
|
|
329
|
+
var layer = Layer.effect(Service7, Effect.gen(function* () {
|
|
330
|
+
const environment = yield* Service66;
|
|
331
|
+
return Service7.of({
|
|
332
332
|
list: environment.files.list,
|
|
333
333
|
read: (path2, resource, page) => read2(environment.files, path2, resource, page)
|
|
334
334
|
});
|
|
335
335
|
}));
|
|
336
|
-
var node9 = makeLocationNode({ service:
|
|
336
|
+
var node9 = makeLocationNode({ service: Service7, layer, deps: [node70] });
|
|
337
337
|
|
|
338
|
-
export { MAX_READ_LINES2, MAX_READ_BYTES2, MAX_MEDIA_INGEST_BYTES2, MEDIA_MIMES2, BinaryFileError2, MediaIngestLimitError2, OffsetOutOfRangeError2, PathKindError2, PageInput2, FileContent2, TextPage2, ListEntry2, ListPage2,
|
|
338
|
+
export { MAX_READ_LINES2, MAX_READ_BYTES2, MAX_MEDIA_INGEST_BYTES2, MEDIA_MIMES2, BinaryFileError2, MediaIngestLimitError2, OffsetOutOfRangeError2, PathKindError2, PageInput2, FileContent2, TextPage2, ListEntry2, ListPage2, Service7, read2, node9, exports_read_filesystem };
|