@opencode/core 0.0.0-dev-20810 → 0.0.0-dev-20813
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 -82
- package/dist/aisdk-native.js +91 -90
- package/dist/aisdk.js +96 -95
- package/dist/app.js +9 -9
- package/dist/bus.js +71 -70
- package/dist/chunks/{schema-0paq2nw3.js → tool-0paq2nw3.js} +1 -1
- package/dist/chunks/{schema-0r3c1bmw.js → tool-0r3c1bmw.js} +2 -2
- package/dist/chunks/{schema-0vbcp93d.js → tool-0vbcp93d.js} +2 -2
- package/dist/chunks/{schema-pe5zqv13.js → tool-0w22njrp.js} +4 -4
- package/dist/chunks/{schema-bqxzme6r.js → tool-1azc6dcz.js} +12 -12
- package/dist/chunks/{schema-b5111p8f.js → tool-1fj0xetq.js} +5 -5
- package/dist/chunks/{schema-b0agzzj4.js → tool-1hs63qs5.js} +20 -20
- package/dist/chunks/{schema-xcmk6yw7.js → tool-1yd7h3h8.js} +11 -11
- package/dist/chunks/{schema-xxg2cwm3.js → tool-2ap2y1fd.js} +20 -20
- package/dist/chunks/{schema-25tm57nk.js → tool-2hbmtk01.js} +4 -4
- package/dist/chunks/{schema-x8181hqt.js → tool-2m2pwtqz.js} +11 -11
- package/dist/chunks/{schema-fnkxn25c.js → tool-2r0rtpea.js} +5 -5
- package/dist/chunks/{schema-qmdebz4g.js → tool-2v35nvf1.js} +3 -3
- package/dist/chunks/{schema-2vvh33eb.js → tool-2vvh33eb.js} +2 -2
- package/dist/chunks/{schema-even8thr.js → tool-2xt8eqef.js} +28 -28
- package/dist/chunks/{schema-3fc6dm20.js → tool-3fc6dm20.js} +1 -1
- package/dist/chunks/{schema-3hepkmqq.js → tool-3hepkmqq.js} +1 -1
- package/dist/chunks/{schema-3hwn7j4h.js → tool-3hwn7j4h.js} +2 -2
- package/dist/chunks/{schema-3smtnn6g.js → tool-3smtnn6g.js} +1 -1
- package/dist/chunks/{schema-3tvqynh2.js → tool-3tvqynh2.js} +1 -1
- package/dist/chunks/{schema-4vf6p7z8.js → tool-3wg2zg1h.js} +21 -21
- package/dist/chunks/{schema-j92nemg4.js → tool-3zdrd34z.js} +35 -35
- package/dist/chunks/{schema-3zsf4n22.js → tool-3zsf4n22.js} +1 -1
- package/dist/chunks/{schema-5t3z26v9.js → tool-425tvsky.js} +32 -32
- package/dist/chunks/{schema-x651es2g.js → tool-43g0zkdb.js} +4 -4
- package/dist/chunks/{schema-tpje4fnv.js → tool-45m1xa6s.js} +20 -20
- package/dist/chunks/{schema-fz27cwe3.js → tool-4ecb23ee.js} +26 -26
- package/dist/chunks/{schema-e2vgrz0c.js → tool-4gzj7c1t.js} +328 -328
- package/dist/chunks/{schema-4ts7tf6z.js → tool-4ts7tf6z.js} +2 -2
- package/dist/chunks/{schema-wx6xjdmh.js → tool-50ya55tv.js} +3 -3
- package/dist/chunks/{schema-vhjvf1ns.js → tool-54zp89xv.js} +21 -21
- package/dist/chunks/{schema-6ehx317m.js → tool-554twcs9.js} +5 -5
- package/dist/chunks/{schema-5mw5s2rh.js → tool-57ht3x3y.js} +16 -16
- package/dist/chunks/{schema-q84ymcsc.js → tool-58t9ctfh.js} +54 -50
- package/dist/chunks/{schema-29bfqbba.js → tool-5dk99411.js} +9 -9
- package/dist/chunks/{schema-5m9w47nd.js → tool-5m9w47nd.js} +1 -1
- package/dist/chunks/{schema-fqq9xsk7.js → tool-62e165w1.js} +22 -22
- package/dist/chunks/{schema-zczs6yb2.js → tool-6vzsg2xk.js} +20 -20
- package/dist/chunks/{schema-6xb47vfp.js → tool-6xb47vfp.js} +1 -1
- package/dist/chunks/{schema-82v73sw7.js → tool-72sxpf59.js} +3 -3
- package/dist/chunks/{schema-bc1esb7h.js → tool-7ajnhpk1.js} +45 -45
- package/dist/chunks/{schema-7bmhse3q.js → tool-7bmhse3q.js} +1 -1
- package/dist/chunks/{schema-qgn6gcr1.js → tool-7dqw4kz8.js} +5 -5
- package/dist/chunks/{schema-3xessxdn.js → tool-7jyc1k1k.js} +32 -32
- package/dist/chunks/{schema-scrwg3hs.js → tool-7qk8rd46.js} +16 -16
- package/dist/chunks/{schema-avk0gjvb.js → tool-7ttfahrj.js} +21 -21
- package/dist/chunks/{schema-12ve6aey.js → tool-7v5jhnkv.js} +26 -26
- package/dist/chunks/{schema-8hk55ja4.js → tool-7vnvvjv2.js} +25 -25
- package/dist/chunks/{schema-bbnjbm8a.js → tool-81mfchgn.js} +11 -11
- package/dist/chunks/{schema-84txncab.js → tool-84txncab.js} +1 -1
- package/dist/chunks/{schema-qjbhc1am.js → tool-85y5yndw.js} +79 -49
- package/dist/chunks/{schema-spj5hr4x.js → tool-89r43ct5.js} +13 -13
- package/dist/chunks/{schema-tcezcvh9.js → tool-89znhe33.js} +4 -4
- package/dist/chunks/{schema-41j8cbkr.js → tool-8a44f7xw.js} +20 -20
- package/dist/chunks/{schema-52jn4qxr.js → tool-8c84x96a.js} +20 -20
- package/dist/chunks/{schema-etmbekfa.js → tool-8dpb97pb.js} +3 -3
- package/dist/chunks/{schema-jab3hz16.js → tool-8f47ttfq.js} +51 -51
- package/dist/chunks/{schema-mgn9s9vj.js → tool-8g8wt927.js} +54 -54
- package/dist/chunks/{schema-8m6m0r52.js → tool-8m6m0r52.js} +1 -1
- package/dist/chunks/{schema-j9jte45y.js → tool-8pcna3e1.js} +187 -187
- package/dist/chunks/{schema-m1vt9403.js → tool-8sgggatz.js} +11 -11
- package/dist/chunks/{schema-m4crda45.js → tool-8we822j0.js} +9 -9
- package/dist/chunks/{schema-1gqdmt0p.js → tool-8xddy4fd.js} +15 -15
- package/dist/chunks/{schema-8rt53k6z.js → tool-8xxg8z7m.js} +6 -6
- package/dist/chunks/{schema-s9z3c30a.js → tool-8zkm93f1.js} +14 -14
- package/dist/chunks/{schema-yy8c48ah.js → tool-925vt3jd.js} +21 -21
- package/dist/chunks/{schema-w3x9v1nk.js → tool-9c3np669.js} +8 -8
- package/dist/chunks/{schema-c23p4ys2.js → tool-9ee6s4n8.js} +20 -20
- package/dist/chunks/{schema-bj3d59b5.js → tool-9f33m5nn.js} +20 -20
- package/dist/chunks/{schema-tpw6cwsb.js → tool-9hn6k4tm.js} +8 -8
- package/dist/chunks/{schema-7dy85ahw.js → tool-9kr929zm.js} +6 -6
- package/dist/chunks/{schema-fmcjp1ve.js → tool-9sdheasx.js} +24 -24
- package/dist/chunks/{schema-5s0vrszx.js → tool-9tfg4qpg.js} +34 -34
- package/dist/chunks/{schema-yt1db69f.js → tool-a19tekra.js} +18 -18
- package/dist/chunks/{schema-84045amf.js → tool-a5xp7zm4.js} +5 -5
- package/dist/chunks/{schema-1z7pb0k6.js → tool-a5y52ckt.js} +10 -10
- package/dist/chunks/{schema-b07tzjw9.js → tool-a6a0xyhp.js} +8 -8
- package/dist/chunks/{schema-751h4z3b.js → tool-abv7bnsr.js} +7 -7
- package/dist/chunks/{schema-vr8megq1.js → tool-arnz58tr.js} +24 -24
- package/dist/chunks/{schema-sjvzs7k3.js → tool-at5p6ayt.js} +30 -30
- package/dist/chunks/{schema-ymg8axns.js → tool-atf3qpjr.js} +5 -5
- package/dist/chunks/{schema-24f8gbsn.js → tool-aw87ckgg.js} +24 -24
- package/dist/chunks/{schema-8w4cj8nh.js → tool-axyyyrhn.js} +7 -7
- package/dist/chunks/{schema-dsaykm6h.js → tool-b0j0nxe0.js} +11 -11
- package/dist/chunks/{schema-g4njwx0b.js → tool-b279fhh5.js} +16 -16
- package/dist/chunks/{schema-scgrse2b.js → tool-b3f8fkhc.js} +5 -5
- package/dist/chunks/{schema-16dqk34s.js → tool-b6cwqfv7.js} +4 -4
- package/dist/chunks/{schema-gbgdjg8y.js → tool-bd4cefys.js} +37 -37
- package/dist/chunks/{schema-zq01xz8r.js → tool-bfegkxfd.js} +8 -8
- package/dist/chunks/{schema-txm3e8qz.js → tool-bmr56wjg.js} +4 -4
- package/dist/chunks/tool-bne3pjzh.js +26 -0
- package/dist/chunks/{schema-hrvqnyz4.js → tool-bns0etj0.js} +17 -17
- package/dist/chunks/{schema-k0r7s5gk.js → tool-bq7fwdt7.js} +27 -27
- package/dist/chunks/{schema-616sprd3.js → tool-bsxq6r4b.js} +10 -10
- package/dist/chunks/{schema-7d29djek.js → tool-btks0zdn.js} +10 -10
- package/dist/chunks/{schema-kb9j3d72.js → tool-c1fqxshp.js} +3 -3
- package/dist/chunks/{schema-mz7kcatz.js → tool-c7kyxnph.js} +45 -45
- package/dist/chunks/{schema-hweb1ns6.js → tool-c96a6g06.js} +5 -5
- package/dist/chunks/{schema-7951xmcm.js → tool-c9b8trf9.js} +32 -32
- package/dist/chunks/{schema-enmwmtrr.js → tool-d2bxdv99.js} +17 -17
- package/dist/chunks/{schema-2jbq5rvd.js → tool-d65vh0bp.js} +22 -22
- package/dist/chunks/{schema-b9fnkeff.js → tool-dhhncb1a.js} +13 -13
- package/dist/chunks/{schema-1ajmp50w.js → tool-dmy9ph2f.js} +12 -12
- package/dist/chunks/{schema-6wrgwmsx.js → tool-dzcfmz1e.js} +8 -8
- package/dist/chunks/{schema-hnbkedn6.js → tool-e2xzawa4.js} +11 -11
- package/dist/chunks/{schema-j0gzcsx3.js → tool-e46pc0p0.js} +11 -11
- package/dist/chunks/{schema-0hsd46jk.js → tool-e5xxn5fd.js} +36 -36
- package/dist/chunks/{schema-eej6y6fw.js → tool-eej6y6fw.js} +2 -2
- package/dist/chunks/{schema-ef5x83kb.js → tool-ef5x83kb.js} +1 -1
- package/dist/chunks/{schema-kecqjjhm.js → tool-eh6ej367.js} +5 -5
- package/dist/chunks/{schema-txfbykqs.js → tool-ek7jr3ns.js} +27 -27
- package/dist/chunks/{schema-k5qw4hft.js → tool-eka1fpr9.js} +8 -8
- package/dist/chunks/{schema-p7jqzqxf.js → tool-emtf3agc.js} +15 -15
- package/dist/chunks/{schema-rfrb0sty.js → tool-f146z90h.js} +19 -19
- package/dist/chunks/{schema-n1n192bv.js → tool-f29mbr7f.js} +4 -4
- package/dist/chunks/{schema-r4e3mj9w.js → tool-fpgft077.js} +18 -18
- package/dist/chunks/{schema-ryr25ayn.js → tool-fqb2p7cx.js} +4 -4
- package/dist/chunks/{schema-gh19h2nq.js → tool-fsmtef63.js} +1 -1
- package/dist/chunks/{schema-djszqvmq.js → tool-ft3hqk2c.js} +9 -9
- package/dist/chunks/{schema-ye6fgm33.js → tool-fyd6zf3q.js} +91 -91
- package/dist/chunks/{schema-7wy9ttat.js → tool-g0wjp6rh.js} +32 -32
- package/dist/chunks/{schema-9eq4r153.js → tool-g740sh9d.js} +19 -19
- package/dist/chunks/{schema-s8d7rejh.js → tool-gbt6w4kb.js} +8 -8
- package/dist/chunks/{schema-gd4qta3r.js → tool-gd4qta3r.js} +1 -1
- package/dist/chunks/{schema-ghyrxap0.js → tool-gfkgxe8r.js} +26 -26
- package/dist/chunks/{schema-b6nnf8m3.js → tool-gjb7k4gb.js} +6 -6
- package/dist/chunks/{schema-gk8qb678.js → tool-gk8qb678.js} +1 -1
- package/dist/chunks/{schema-2c3mwd6h.js → tool-gn6q0njp.js} +32 -32
- package/dist/chunks/{schema-0yttm9vb.js → tool-grg8548d.js} +15 -15
- package/dist/chunks/{schema-g3gkqvbz.js → tool-gvp3we1m.js} +22 -22
- package/dist/chunks/{schema-mdjyr85s.js → tool-gvtjjnmn.js} +32 -32
- package/dist/chunks/{schema-hmb281w1.js → tool-gwb58t0j.js} +5 -5
- package/dist/chunks/{schema-vmecfj1a.js → tool-h2tk0fkt.js} +34 -34
- package/dist/chunks/{schema-h6vf3j39.js → tool-h6vf3j39.js} +1 -1
- package/dist/chunks/{schema-31xfzrxg.js → tool-h7s7r6s9.js} +5 -5
- package/dist/chunks/{schema-v0es1rhs.js → tool-hg3614cy.js} +9 -9
- package/dist/chunks/{schema-hgz4x7wa.js → tool-hgz4x7wa.js} +1 -1
- package/dist/chunks/{schema-dsm6mk11.js → tool-hqsvs4zs.js} +14 -14
- package/dist/chunks/tool-ht5y0zrb.js +18 -0
- package/dist/chunks/{schema-bcw02e1j.js → tool-hw1d7c72.js} +45 -45
- package/dist/chunks/{schema-0cpa7f6c.js → tool-j16v8rv3.js} +14 -14
- package/dist/chunks/{schema-j56e64zr.js → tool-j56e64zr.js} +1 -1
- package/dist/chunks/{schema-re5apsaa.js → tool-j5d5zpn1.js} +14 -14
- package/dist/chunks/{schema-pgp1nwjn.js → tool-j8m1p4p1.js} +4 -4
- package/dist/chunks/{schema-b7bdwx76.js → tool-jb7jfkvq.js} +3 -3
- package/dist/chunks/{schema-we4ydj7w.js → tool-jxk8k1h3.js} +28 -28
- package/dist/chunks/{schema-8paj7kd6.js → tool-kbjks3k1.js} +17 -17
- package/dist/chunks/{schema-fxaymqdw.js → tool-khmqacep.js} +4 -4
- package/dist/chunks/{schema-y54hr7f3.js → tool-kj0cy399.js} +9 -9
- package/dist/chunks/tool-kjvjttp2.js +253 -0
- package/dist/chunks/{schema-b8k8fdv1.js → tool-kmreqacc.js} +34 -34
- package/dist/chunks/{schema-0r1cr89s.js → tool-kmvrwyj0.js} +18 -18
- package/dist/chunks/{schema-5gbr5t7g.js → tool-kzd9jey1.js} +8 -8
- package/dist/chunks/tool-m18g726c.js +13 -0
- package/dist/chunks/{schema-m3fdjcah.js → tool-m3fdjcah.js} +1 -1
- package/dist/chunks/{schema-3n0nfbrk.js → tool-m7sy47b1.js} +17 -17
- package/dist/chunks/{schema-m9w0rfyh.js → tool-m9w0rfyh.js} +1 -1
- package/dist/chunks/{schema-zp79rdht.js → tool-mmrg9aqf.js} +9 -9
- package/dist/chunks/{schema-y1346aqr.js → tool-mq656cac.js} +23 -23
- package/dist/chunks/{schema-qmmh0qgx.js → tool-n5gnndyc.js} +5 -5
- package/dist/chunks/{schema-5en7z6zr.js → tool-n67mmnz4.js} +9 -9
- package/dist/chunks/{schema-91efdwy5.js → tool-n7gvkp58.js} +3 -3
- package/dist/chunks/{schema-ycjb11n5.js → tool-n8dykrk6.js} +6 -6
- package/dist/chunks/{schema-yekg5bww.js → tool-n9dy47xj.js} +12 -12
- package/dist/chunks/{schema-01tebjt2.js → tool-ncqwz9m4.js} +1 -1
- package/dist/chunks/{schema-bydnjh3t.js → tool-njhqdk9p.js} +9 -9
- package/dist/chunks/{schema-6nd16mgq.js → tool-nxxv0fmq.js} +1 -1
- package/dist/chunks/{schema-hdta74m5.js → tool-p2kce4yd.js} +16 -16
- package/dist/chunks/{schema-avae2qkj.js → tool-p8vvgsz3.js} +16 -16
- package/dist/chunks/{schema-24kngg5a.js → tool-p91ykgce.js} +14 -14
- package/dist/chunks/{schema-f1t98d39.js → tool-pgg7zhs7.js} +13 -13
- package/dist/chunks/{schema-dnk41676.js → tool-ph8a80xg.js} +46 -46
- package/dist/chunks/{schema-pjvnvgmy.js → tool-pjvnvgmy.js} +1 -1
- package/dist/chunks/{schema-pknna89w.js → tool-pknna89w.js} +1 -1
- package/dist/chunks/{schema-34c7v6d4.js → tool-pkyv6v7h.js} +1 -0
- package/dist/chunks/{schema-ygbc3xn1.js → tool-pv8mdw9p.js} +13 -13
- package/dist/chunks/{schema-mf82c6q7.js → tool-pxeepxyz.js} +15 -15
- package/dist/chunks/{schema-8sze2n9a.js → tool-py3kkmfq.js} +6 -6
- package/dist/chunks/{schema-0h1mm7qe.js → tool-pyavekn7.js} +5 -5
- package/dist/chunks/{schema-g0ktjft2.js → tool-pzc00pfe.js} +19 -19
- package/dist/chunks/{schema-q0xm7vwc.js → tool-q0xm7vwc.js} +2 -2
- package/dist/chunks/{schema-3g8j9he4.js → tool-q5e7cmwt.js} +1 -1
- package/dist/chunks/{schema-9wjarjqh.js → tool-q73a5vx6.js} +26 -26
- package/dist/chunks/{schema-3g5be3ey.js → tool-q7g7dxqg.js} +13 -13
- package/dist/chunks/{schema-1zf0w0mf.js → tool-q91aa15s.js} +3 -3
- package/dist/chunks/{schema-4p5m0t87.js → tool-qbbpc6wm.js} +71 -71
- package/dist/chunks/{schema-70p67exa.js → tool-qjjb6mfv.js} +54 -54
- package/dist/chunks/{schema-63gxtxwv.js → tool-qn0k908c.js} +26 -26
- package/dist/chunks/{schema-qnc92qwc.js → tool-qnc92qwc.js} +1 -1
- package/dist/chunks/{schema-f2kjzyx7.js → tool-qp5x3va9.js} +19 -19
- package/dist/chunks/{schema-qsdy395h.js → tool-qsdy395h.js} +1 -1
- package/dist/chunks/{schema-b5kphdjs.js → tool-qvyrhn6e.js} +15 -15
- package/dist/chunks/{schema-ttmwvqbw.js → tool-qz5qj01d.js} +9 -9
- package/dist/chunks/{schema-pthxb9ry.js → tool-r1xx1spa.js} +26 -26
- package/dist/chunks/{schema-9n19sj5j.js → tool-r4kpcnjj.js} +18 -18
- package/dist/chunks/{schema-54ma36ye.js → tool-r94pvvab.js} +4 -4
- package/dist/chunks/{schema-hc5b8hrn.js → tool-r975dkdj.js} +11 -11
- package/dist/chunks/{schema-rdw6cm16.js → tool-rdw6cm16.js} +1 -1
- package/dist/chunks/{schema-f75zav2x.js → tool-rert0e01.js} +2 -2
- package/dist/chunks/{schema-p253t8me.js → tool-rg9ywjz0.js} +11 -11
- package/dist/chunks/{schema-3cegwx68.js → tool-rj3eygr5.js} +3 -2
- package/dist/chunks/{schema-gcavn3wx.js → tool-rmm45jmv.js} +5 -5
- package/dist/chunks/{schema-fxrw3q79.js → tool-rsjzvmnv.js} +25 -25
- package/dist/chunks/{schema-ykk7pmdn.js → tool-s0bm3vva.js} +4 -4
- package/dist/chunks/{schema-h3kn1xt9.js → tool-s1bpbtq5.js} +4 -4
- package/dist/chunks/{schema-9z48nynt.js → tool-s6xmpaa6.js} +20 -20
- package/dist/chunks/{schema-jy9tvk3y.js → tool-s9k1drx9.js} +11 -11
- package/dist/chunks/{schema-0p1vh52y.js → tool-s9yqr8vf.js} +2 -2
- package/dist/chunks/{schema-84h8c373.js → tool-sa8ekw3f.js} +2 -2
- package/dist/chunks/{schema-y2seww6j.js → tool-sjd53xnz.js} +15 -15
- package/dist/chunks/{schema-pnaxc6j9.js → tool-sk5hrgtc.js} +7 -7
- package/dist/chunks/{schema-npz2prbw.js → tool-spv785rj.js} +34 -34
- package/dist/chunks/{schema-e80seqcp.js → tool-sxcaecc0.js} +3 -3
- package/dist/chunks/{schema-1te6z1br.js → tool-t0bwv2mg.js} +8 -8
- package/dist/chunks/{schema-c3pxc7te.js → tool-t1c79nbf.js} +24 -24
- package/dist/chunks/{schema-cbwad64w.js → tool-t2xt9v1m.js} +24 -24
- package/dist/chunks/{schema-r6d930kt.js → tool-t38scxd0.js} +11 -11
- package/dist/chunks/{schema-tazgh4e4.js → tool-tazgh4e4.js} +1 -1
- package/dist/chunks/{schema-3xw42s60.js → tool-tc6f0aex.js} +24 -24
- package/dist/chunks/{schema-mh4sfpe3.js → tool-tczqeqc0.js} +33 -33
- package/dist/chunks/{schema-tdstcens.js → tool-tdstcens.js} +1 -1
- package/dist/chunks/{schema-5sbkfk9m.js → tool-tezksqm5.js} +33 -33
- package/dist/chunks/{schema-kn9hkvj3.js → tool-trtdj8pg.js} +4 -4
- package/dist/chunks/{schema-ajdwry64.js → tool-ts5r4aaq.js} +11 -11
- package/dist/chunks/{schema-n4r3xatb.js → tool-ttqh24zm.js} +4 -4
- package/dist/chunks/{schema-52vty0jw.js → tool-tx4mgqww.js} +6 -6
- package/dist/chunks/{schema-fj06szgc.js → tool-ty22trqb.js} +16 -16
- package/dist/chunks/{schema-tyytaxap.js → tool-tyytaxap.js} +1 -1
- package/dist/chunks/{schema-7fbbp2qf.js → tool-tzhsj38v.js} +10 -10
- package/dist/chunks/{schema-zy4v1d78.js → tool-v009g4pj.js} +30 -30
- package/dist/chunks/{schema-tjy0w605.js → tool-v0vwmemp.js} +36 -36
- package/dist/chunks/{schema-g686f6pq.js → tool-v1vh7s4p.js} +9 -9
- package/dist/chunks/{schema-m95zc4xf.js → tool-v5wh5e70.js} +16 -16
- package/dist/chunks/{schema-kc6mcnvt.js → tool-v66a0s1a.js} +12 -12
- package/dist/chunks/{schema-v7p4zvkq.js → tool-v7p4zvkq.js} +2 -2
- package/dist/chunks/{schema-b476brms.js → tool-v8xdx15a.js} +32 -32
- package/dist/chunks/{schema-veqvce7d.js → tool-veqvce7d.js} +1 -1
- package/dist/chunks/{schema-kjap7t58.js → tool-vk0rmyh3.js} +89 -89
- package/dist/chunks/{schema-b5763n3s.js → tool-vqvv5sj1.js} +11 -11
- package/dist/chunks/{schema-94kgfjtq.js → tool-vtwnmbmj.js} +45 -45
- package/dist/chunks/{schema-vzs5sf6e.js → tool-vzs5sf6e.js} +1 -1
- package/dist/chunks/{schema-w3wsvvr9.js → tool-w3wsvvr9.js} +1 -1
- package/dist/chunks/{schema-skv1cymz.js → tool-w7jtf2m2.js} +17 -17
- package/dist/chunks/{schema-d7tt0p63.js → tool-w81spx5m.js} +4 -4
- package/dist/chunks/{schema-wd87259q.js → tool-wd87259q.js} +1 -1
- package/dist/chunks/{schema-1pxz8ven.js → tool-wh6zw745.js} +5 -5
- package/dist/chunks/{schema-m0r31qfn.js → tool-wj76ss2k.js} +4 -4
- package/dist/chunks/{schema-page4y1m.js → tool-wkz90rt8.js} +36 -36
- package/dist/chunks/{schema-5x6dv44x.js → tool-wsfr8qtv.js} +11 -11
- package/dist/chunks/{schema-31b2zrgz.js → tool-wty1egvx.js} +14 -14
- package/dist/chunks/{schema-asbbxgy3.js → tool-wztntb4s.js} +10 -10
- package/dist/chunks/{schema-dhr2qr8g.js → tool-x5vpq02z.js} +46 -46
- package/dist/chunks/{schema-842tzcmm.js → tool-x7wafmke.js} +10 -10
- package/dist/chunks/{schema-xptvtjnp.js → tool-xagztgbr.js} +11 -11
- package/dist/chunks/{schema-8hh8rms7.js → tool-xbc6qp68.js} +6 -6
- package/dist/chunks/{schema-f0q60j9h.js → tool-xbqyc1h2.js} +18 -18
- package/dist/chunks/{schema-xfkkasph.js → tool-xfkkasph.js} +1 -1
- package/dist/chunks/{schema-gzpc0ern.js → tool-xtfwraxg.js} +30 -30
- package/dist/chunks/{schema-g441sed7.js → tool-xxvssexd.js} +13 -13
- package/dist/chunks/{schema-ppm6d4hz.js → tool-xxxth0pp.js} +5 -5
- package/dist/chunks/{schema-pkb9436j.js → tool-xyee9vg5.js} +40 -40
- package/dist/chunks/{schema-y1fvbwt7.js → tool-y1fvbwt7.js} +1 -1
- package/dist/chunks/{schema-htjw9qza.js → tool-y3wpwyaa.js} +6 -6
- package/dist/chunks/{schema-qqqyvqxz.js → tool-y58x68vn.js} +24 -24
- package/dist/chunks/{schema-drnf6xwf.js → tool-y5beyqvm.js} +2 -2
- package/dist/chunks/{schema-dpkg50ah.js → tool-y71avatq.js} +4 -4
- package/dist/chunks/{schema-kxx577b5.js → tool-y78g4pym.js} +9 -9
- package/dist/chunks/{schema-rx9ava5n.js → tool-y97hy3kz.js} +4 -4
- package/dist/chunks/{schema-r8xr0va3.js → tool-yp2x3t23.js} +4 -4
- package/dist/chunks/{schema-gw62fr37.js → tool-ysvssewb.js} +28 -28
- package/dist/chunks/{schema-1ffvrpkg.js → tool-ywt8jp22.js} +6 -6
- package/dist/chunks/{schema-2s1tt141.js → tool-yzdmepj7.js} +33 -33
- package/dist/chunks/{schema-z0bkrqjs.js → tool-z0bkrqjs.js} +1 -1
- package/dist/chunks/{schema-6y44ky4y.js → tool-z3hze8ne.js} +13 -13
- package/dist/chunks/{schema-kzqm322s.js → tool-zc9nacpj.js} +34 -34
- package/dist/chunks/{schema-exvgxj6x.js → tool-zjz1t4e7.js} +9 -9
- package/dist/chunks/{schema-zr2ceqn5.js → tool-zr2ceqn5.js} +1 -1
- package/dist/chunks/{schema-addxnjmp.js → tool-zw2hpfmh.js} +4 -4
- package/dist/chunks/{schema-my4zabxr.js → tool-zx95ftzb.js} +3 -3
- package/dist/chunks/{schema-zxq2ej10.js → tool-zxq2ej10.js} +1 -1
- package/dist/codemode/catalog.js +1 -1
- package/dist/codemode/instructions.js +9 -9
- package/dist/codemode/tool.js +3 -3
- package/dist/codemode/web.js +1 -1
- package/dist/command.js +85 -84
- package/dist/config/discovery.js +86 -85
- package/dist/config/markdown.js +1 -1
- package/dist/config/normalize.js +101 -100
- package/dist/config/plugin/agent.js +120 -119
- package/dist/config/plugin/command.js +209 -208
- package/dist/config/plugin/compaction.js +156 -155
- package/dist/config/plugin/compatibility.js +136 -135
- package/dist/config/plugin/entry-observer.js +1 -1
- package/dist/config/plugin/formatter.js +119 -118
- package/dist/config/plugin/image.js +118 -117
- package/dist/config/plugin/instruction.js +92 -91
- package/dist/config/plugin/location-watcher.js +120 -119
- package/dist/config/plugin/mcp.js +127 -126
- package/dist/config/plugin/policy.js +119 -118
- package/dist/config/plugin/provider.js +118 -117
- package/dist/config/plugin/reference.js +120 -119
- package/dist/config/plugin/shell.js +120 -119
- package/dist/config/plugin/skill-file.js +104 -103
- package/dist/config/plugin/skill.js +139 -138
- package/dist/config/plugin/snapshot.js +118 -117
- package/dist/config/plugin/source.js +121 -120
- package/dist/config/plugin/tool-output.js +119 -118
- package/dist/config/plugin/websearch.js +119 -118
- package/dist/config/plugin/worktree.js +120 -119
- package/dist/config/variable.js +3 -3
- package/dist/config/watch.js +1 -1
- package/dist/config.js +123 -122
- package/dist/credential/sql.js +2 -2
- package/dist/credential.js +87 -86
- package/dist/database/database.js +68 -67
- package/dist/database/drizzle/effect-sqlite/driver.js +14 -14
- package/dist/database/drizzle/effect-sqlite/index.js +14 -14
- package/dist/database/drizzle/effect-sqlite/session.js +11 -11
- package/dist/database/drizzle/index.js +15 -15
- 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 +16 -16
- 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 +6 -0
- package/dist/database/migration.gen.js +51 -50
- package/dist/database/migration.js +53 -52
- 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 +78 -77
- package/dist/database/v1-migration.js +1 -1
- package/dist/effect/app-node-builder.js +368 -367
- package/dist/effect/app-node-platform.js +2 -2
- package/dist/effect/keyed-mutex.js +3 -3
- package/dist/effect/websocket-constructor.js +1 -1
- package/dist/environment/driver.js +1 -1
- package/dist/environment/environment.js +95 -94
- package/dist/environment/exec-defaults.js +2 -2
- package/dist/environment/files.js +1 -1
- package/dist/environment/index.js +95 -94
- 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 +72 -71
- package/dist/file-access.js +106 -105
- package/dist/file-mutation.js +96 -95
- 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 +222 -221
- package/dist/filesystem/protected.js +3 -3
- package/dist/filesystem/search.js +105 -104
- package/dist/filesystem/watcher-binding.js +1 -1
- package/dist/filesystem/watcher.js +15 -15
- package/dist/filesystem.js +108 -107
- package/dist/form.js +88 -87
- package/dist/formatter/builtins.js +4 -4
- package/dist/formatter.js +89 -88
- package/dist/generate.js +105 -104
- 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 +93 -92
- 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 +359 -358
- package/dist/instruction-discovery.js +87 -86
- package/dist/instructions/builtins.js +89 -88
- package/dist/instructions/index.js +5 -5
- package/dist/integration/connection.js +3 -3
- package/dist/integration.js +89 -88
- package/dist/job.js +80 -79
- package/dist/kv/sql.js +2 -2
- package/dist/kv.js +75 -74
- package/dist/location-activity.js +133 -132
- package/dist/location-lifecycle.js +109 -108
- package/dist/location-service-map.js +88 -87
- package/dist/location-services.js +356 -355
- package/dist/location.js +89 -88
- package/dist/managed-policy.js +8 -8
- package/dist/mcp/client.js +93 -92
- package/dist/mcp/index.js +111 -110
- package/dist/mcp/instructions.js +131 -130
- package/dist/mcp/oauth.js +80 -79
- package/dist/mcp/stdio.js +92 -91
- package/dist/mime.js +1 -1
- package/dist/modal/models.js +93 -92
- package/dist/model-resolver.js +100 -99
- package/dist/model.js +102 -101
- package/dist/models-dev.js +107 -106
- package/dist/oauth/page.js +1 -1
- package/dist/permission/saved.js +84 -83
- package/dist/permission/sql.js +5 -5
- package/dist/permission.js +115 -114
- package/dist/persistent-pty/binary.bun.js +1 -1
- package/dist/persistent-pty/daemon.js +1 -1
- package/dist/persistent-pty/index.js +90 -89
- package/dist/persistent-pty/pty-binding.js +1 -1
- package/dist/persistent-pty.js +77 -76
- package/dist/plugin/agent.js +78 -77
- package/dist/plugin/command.js +104 -103
- package/dist/plugin/hooks.js +3 -3
- package/dist/plugin/host.js +213 -212
- package/dist/plugin/identity.js +3 -3
- package/dist/plugin/instance.js +5 -5
- package/dist/plugin/internal.js +331 -330
- package/dist/plugin/mcp-codemode-defaults.js +3 -3
- package/dist/plugin/models-dev.js +98 -97
- package/dist/plugin/module.js +119 -118
- package/dist/plugin/optimize.js +4 -4
- package/dist/plugin/plan.js +104 -103
- package/dist/plugin/promise.js +1 -1
- package/dist/plugin/provider/amazon-bedrock.js +92 -91
- package/dist/plugin/provider/azure.js +119 -118
- package/dist/plugin/provider/cerebras.js +1 -1
- package/dist/plugin/provider/chatgpt.js +96 -95
- package/dist/plugin/provider/cloudflare-ai-gateway.js +115 -114
- package/dist/plugin/provider/cloudflare-workers-ai.js +116 -115
- package/dist/plugin/provider/cohere.js +2 -2
- package/dist/plugin/provider/configured.js +114 -113
- package/dist/plugin/provider/databricks.js +1 -1
- package/dist/plugin/provider/digitalocean.js +95 -94
- package/dist/plugin/provider/dynamic.js +2 -2
- package/dist/plugin/provider/factory.js +1 -1
- package/dist/plugin/provider/github-copilot.js +97 -96
- package/dist/plugin/provider/gitlab.js +95 -94
- package/dist/plugin/provider/google-vertex.js +115 -114
- package/dist/plugin/provider/kilo.js +1 -1
- package/dist/plugin/provider/llmgateway.js +80 -79
- package/dist/plugin/provider/lmstudio.js +125 -124
- package/dist/plugin/provider/local.js +124 -123
- package/dist/plugin/provider/modal.js +94 -93
- package/dist/plugin/provider/neon.js +1 -1
- package/dist/plugin/provider/nvidia.js +1 -1
- package/dist/plugin/provider/ollama.js +127 -126
- package/dist/plugin/provider/openai.js +97 -96
- package/dist/plugin/provider/opencode.js +99 -98
- package/dist/plugin/provider/openrouter.js +93 -92
- package/dist/plugin/provider/perplexity.js +2 -2
- package/dist/plugin/provider/poe.js +81 -80
- package/dist/plugin/provider/prompt-cache-key.js +92 -91
- package/dist/plugin/provider/sap-ai-core.js +93 -92
- package/dist/plugin/provider/sdk-factory.js +1 -1
- package/dist/plugin/provider/snowflake-cortex.js +117 -116
- package/dist/plugin/provider/vercel.js +92 -91
- package/dist/plugin/provider/vllm.js +127 -126
- package/dist/plugin/provider/xai.js +93 -92
- package/dist/plugin/provider/zenmux.js +1 -1
- package/dist/plugin/provider.js +169 -168
- package/dist/plugin/sdk.js +76 -75
- package/dist/plugin/service.js +3 -3
- package/dist/plugin/skill.js +136 -135
- package/dist/plugin/source-directory.js +1 -1
- package/dist/plugin/supervisor.js +350 -349
- package/dist/plugin/tool-input-repair.js +4 -4
- package/dist/plugin/update.js +6 -6
- package/dist/plugin/vcs/git.js +88 -87
- package/dist/plugin/vcs/hg.js +88 -87
- package/dist/plugin/verbosity.js +95 -94
- package/dist/plugin/warming.js +116 -115
- 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 +4 -4
- package/dist/plugin/websearch/parallel.js +8 -8
- package/dist/plugin/websearch/tavily.js +6 -6
- package/dist/plugin/websearch/tinyfish.js +8 -8
- package/dist/plugin.js +224 -223
- package/dist/project/schema.js +8 -8
- package/dist/project/sql.js +4 -4
- package/dist/project.js +93 -90
- package/dist/provider.js +103 -102
- package/dist/pty/protocol.js +1 -1
- package/dist/pty/ticket.js +1 -1
- package/dist/pty.js +101 -100
- package/dist/reference/instructions.js +89 -88
- package/dist/reference.js +93 -92
- package/dist/repository-cache.js +83 -82
- package/dist/repository.js +1 -1
- package/dist/ripgrep/binary.js +2 -2
- package/dist/ripgrep.js +99 -98
- package/dist/rpc.js +88 -87
- package/dist/schema.js +1 -1
- package/dist/session/affinity.js +3 -3
- package/dist/session/command.js +76 -75
- package/dist/session/compaction.js +135 -134
- package/dist/session/context.js +155 -154
- package/dist/session/diff.js +90 -89
- 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 +216 -215
- package/dist/session/execution.js +127 -126
- package/dist/session/generate.js +156 -155
- package/dist/session/history.js +13 -13
- package/dist/session/inbox.js +92 -91
- package/dist/session/info.js +3 -3
- package/dist/session/instruction-entry.js +81 -80
- package/dist/session/instruction-state.js +8 -8
- package/dist/session/instructions.js +99 -98
- package/dist/session/message-updater.js +4 -4
- package/dist/session/message.js +1 -1
- package/dist/session/model-request.js +122 -121
- package/dist/session/model-transport.js +9 -9
- package/dist/session/move.js +131 -130
- package/dist/session/projector.js +88 -87
- package/dist/session/prompt.js +107 -106
- package/dist/session/provider-context.js +3 -3
- package/dist/session/revert.js +92 -91
- 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 +100 -99
- package/dist/session/runner/publish-llm-event.js +115 -114
- package/dist/session/runner/retry.js +4 -4
- package/dist/session/runner/step.js +127 -126
- package/dist/session/runner/to-llm-message.js +2 -2
- package/dist/session/schema.js +5 -5
- package/dist/session/session.js +166 -165
- package/dist/session/shell.js +132 -131
- package/dist/session/skill.js +107 -106
- package/dist/session/sql.js +5 -5
- package/dist/session/stats.js +75 -74
- package/dist/session/store.js +87 -86
- package/dist/session/subagent-completion.js +1 -1
- package/dist/session/subagent-job.js +207 -206
- package/dist/session/system-prompt.js +1 -1
- package/dist/session/title.js +159 -158
- package/dist/session/to-session-error.js +113 -112
- package/dist/session/transfer.js +212 -211
- package/dist/session/usage.js +1 -1
- package/dist/session.js +213 -212
- 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 +15 -15
- package/dist/shell.js +134 -133
- package/dist/skill/discovery.js +6 -6
- package/dist/skill/instructions.js +109 -108
- package/dist/skill.js +116 -115
- package/dist/snapshot.js +93 -92
- 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 +128 -127
- package/dist/tool/plugin/edit.js +122 -121
- package/dist/tool/plugin/file-diff.js +1 -1
- package/dist/tool/plugin/glob.js +126 -125
- package/dist/tool/plugin/grep.js +124 -123
- package/dist/tool/plugin/mcp-resource.js +119 -118
- package/dist/tool/plugin/opencode.js +111 -110
- package/dist/tool/plugin/patch.js +124 -123
- package/dist/tool/plugin/question.js +105 -104
- package/dist/tool/plugin/read.js +125 -124
- package/dist/tool/plugin/shell.js +208 -207
- package/dist/tool/plugin/skill.js +115 -114
- package/dist/tool/plugin/subagent.js +214 -213
- package/dist/tool/plugin/webfetch.js +112 -111
- package/dist/tool/plugin/websearch.js +114 -113
- package/dist/tool/plugin/write.js +124 -123
- package/dist/tool/read-filesystem.js +100 -99
- package/dist/tool/runtime.js +1 -1
- package/dist/tool-output.js +7 -7
- package/dist/tool.js +16 -16
- package/dist/types/database/migration/20261010180456_project_time_archived.d.ts +3 -0
- package/dist/types/project/schema.d.ts +5 -0
- package/dist/types/project/sql.d.ts +16 -0
- package/dist/types/project.d.ts +9 -1
- package/dist/util/error-summary.js +1 -1
- package/dist/util/error.js +1 -1
- package/dist/util/git-executable.js +2 -2
- 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/command.js +3 -3
- package/dist/v1/config/error.js +2 -2
- package/dist/v1/config/mcp.js +4 -4
- package/dist/v1/config/migrate.js +94 -93
- 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 +2 -2
- package/dist/variant.js +93 -92
- package/dist/vcs/patch.js +1 -1
- package/dist/vcs.js +91 -90
- package/dist/websearch.js +86 -85
- package/dist/wellknown/plugin.js +78 -77
- package/dist/wellknown.js +83 -82
- package/dist/workspace/driver.js +5 -5
- package/dist/workspace/sql.js +1 -1
- package/dist/workspace.js +84 -83
- package/dist/worktree/directory.js +2 -2
- package/dist/worktree/git.js +8 -8
- package/dist/worktree/sql.js +5 -5
- package/dist/worktree/strategies.js +91 -90
- package/dist/worktree.js +100 -99
- package/package.json +8 -8
- package/dist/chunks/schema-619r8v3y.js +0 -18
- package/dist/chunks/schema-anxvsj3j.js +0 -26
- package/dist/chunks/schema-s0y99pez.js +0 -253
- /package/dist/chunks/{schema-0qkdqm5v.js → tool-0qkdqm5v.js} +0 -0
- /package/dist/chunks/{schema-0zkw76rk.js → tool-0zkw76rk.js} +0 -0
- /package/dist/chunks/{schema-17cy0kzp.js → tool-17cy0kzp.js} +0 -0
- /package/dist/chunks/{schema-1cnp2v09.js → tool-1cnp2v09.js} +0 -0
- /package/dist/chunks/{schema-1kg9ymc8.js → tool-1kg9ymc8.js} +0 -0
- /package/dist/chunks/{schema-24dcb14g.js → tool-24dcb14g.js} +0 -0
- /package/dist/chunks/{schema-2710q6r3.js → tool-2710q6r3.js} +0 -0
- /package/dist/chunks/{schema-2axfhc9x.js → tool-2axfhc9x.js} +0 -0
- /package/dist/chunks/{schema-2bv980vf.js → tool-2bv980vf.js} +0 -0
- /package/dist/chunks/{schema-2c3vjs8z.js → tool-2c3vjs8z.js} +0 -0
- /package/dist/chunks/{schema-359p4xyc.js → tool-359p4xyc.js} +0 -0
- /package/dist/chunks/{schema-3asan66x.js → tool-3asan66x.js} +0 -0
- /package/dist/chunks/{schema-3t0ybcrp.js → tool-3t0ybcrp.js} +0 -0
- /package/dist/chunks/{schema-3v8g72cx.js → tool-3v8g72cx.js} +0 -0
- /package/dist/chunks/{schema-3wcehsnq.js → tool-3wcehsnq.js} +0 -0
- /package/dist/chunks/{schema-43n2bw4t.js → tool-43n2bw4t.js} +0 -0
- /package/dist/chunks/{schema-4knz6hnm.js → tool-4knz6hnm.js} +0 -0
- /package/dist/chunks/{schema-4vcrnpx2.js → tool-4vcrnpx2.js} +0 -0
- /package/dist/chunks/{schema-4y7fprxs.js → tool-4y7fprxs.js} +0 -0
- /package/dist/chunks/{schema-53557ph1.js → tool-53557ph1.js} +0 -0
- /package/dist/chunks/{schema-550bvhaj.js → tool-550bvhaj.js} +0 -0
- /package/dist/chunks/{schema-5qd3pb7m.js → tool-5qd3pb7m.js} +0 -0
- /package/dist/chunks/{schema-6prwharc.js → tool-6prwharc.js} +0 -0
- /package/dist/chunks/{schema-6q2bdcd1.js → tool-6q2bdcd1.js} +0 -0
- /package/dist/chunks/{schema-7akdwqpd.js → tool-7akdwqpd.js} +0 -0
- /package/dist/chunks/{schema-7m9af43g.js → tool-7m9af43g.js} +0 -0
- /package/dist/chunks/{schema-822emrt2.js → tool-822emrt2.js} +0 -0
- /package/dist/chunks/{schema-84wd9syh.js → tool-84wd9syh.js} +0 -0
- /package/dist/chunks/{schema-88xbtdfr.js → tool-88xbtdfr.js} +0 -0
- /package/dist/chunks/{schema-8n3pysct.js → tool-8n3pysct.js} +0 -0
- /package/dist/chunks/{schema-8wj87zfr.js → tool-8wj87zfr.js} +0 -0
- /package/dist/chunks/{schema-9a4afbnw.js → tool-9a4afbnw.js} +0 -0
- /package/dist/chunks/{schema-9rqn6x4v.js → tool-9rqn6x4v.js} +0 -0
- /package/dist/chunks/{schema-a6k6eb26.js → tool-a6k6eb26.js} +0 -0
- /package/dist/chunks/{schema-af5trqkr.js → tool-af5trqkr.js} +0 -0
- /package/dist/chunks/{schema-afrmfg78.js → tool-afrmfg78.js} +0 -0
- /package/dist/chunks/{schema-aqzs7mqg.js → tool-aqzs7mqg.js} +0 -0
- /package/dist/chunks/{schema-atq7p7m5.js → tool-atq7p7m5.js} +0 -0
- /package/dist/chunks/{schema-bkyjaxrp.js → tool-bkyjaxrp.js} +0 -0
- /package/dist/chunks/{schema-bmr6ed5q.js → tool-bmr6ed5q.js} +0 -0
- /package/dist/chunks/{schema-bw78ga2c.js → tool-bw78ga2c.js} +0 -0
- /package/dist/chunks/{schema-cf4snx6d.js → tool-cf4snx6d.js} +0 -0
- /package/dist/chunks/{schema-cvy3z8tj.js → tool-cvy3z8tj.js} +0 -0
- /package/dist/chunks/{schema-d9fn303g.js → tool-d9fn303g.js} +0 -0
- /package/dist/chunks/{schema-d9jj8t3e.js → tool-d9jj8t3e.js} +0 -0
- /package/dist/chunks/{schema-dajrwvna.js → tool-dajrwvna.js} +0 -0
- /package/dist/chunks/{schema-dap0rakb.js → tool-dap0rakb.js} +0 -0
- /package/dist/chunks/{schema-df08tz66.js → tool-df08tz66.js} +0 -0
- /package/dist/chunks/{schema-dy18nga0.js → tool-dy18nga0.js} +0 -0
- /package/dist/chunks/{schema-e5kj55wp.js → tool-e5kj55wp.js} +0 -0
- /package/dist/chunks/{schema-e73j6tqm.js → tool-e73j6tqm.js} +0 -0
- /package/dist/chunks/{schema-ec1grn59.js → tool-ec1grn59.js} +0 -0
- /package/dist/chunks/{schema-eh3zwz77.js → tool-eh3zwz77.js} +0 -0
- /package/dist/chunks/{schema-emrn6kk6.js → tool-emrn6kk6.js} +0 -0
- /package/dist/chunks/{schema-f0mxakyp.js → tool-f0mxakyp.js} +0 -0
- /package/dist/chunks/{schema-f6n9ztr4.js → tool-f6n9ztr4.js} +0 -0
- /package/dist/chunks/{schema-faypxj3z.js → tool-faypxj3z.js} +0 -0
- /package/dist/chunks/{schema-fd410y7t.js → tool-fd410y7t.js} +0 -0
- /package/dist/chunks/{schema-g4wezp1m.js → tool-g4wezp1m.js} +0 -0
- /package/dist/chunks/{schema-g86h250q.js → tool-g86h250q.js} +0 -0
- /package/dist/chunks/{schema-gebd4c9n.js → tool-gebd4c9n.js} +0 -0
- /package/dist/chunks/{schema-gftt206x.js → tool-gftt206x.js} +0 -0
- /package/dist/chunks/{schema-hk9envan.js → tool-hk9envan.js} +0 -0
- /package/dist/chunks/{schema-j2ntwpah.js → tool-j2ntwpah.js} +0 -0
- /package/dist/chunks/{schema-j5zkgpj8.js → tool-j5zkgpj8.js} +0 -0
- /package/dist/chunks/{schema-jjkms2e6.js → tool-jjkms2e6.js} +0 -0
- /package/dist/chunks/{schema-jr7sbwjy.js → tool-jr7sbwjy.js} +0 -0
- /package/dist/chunks/{schema-jwfs4k6c.js → tool-jwfs4k6c.js} +0 -0
- /package/dist/chunks/{schema-jze0r7bz.js → tool-jze0r7bz.js} +0 -0
- /package/dist/chunks/{schema-jzg6c2d5.js → tool-jzg6c2d5.js} +0 -0
- /package/dist/chunks/{schema-mp448xyj.js → tool-mp448xyj.js} +0 -0
- /package/dist/chunks/{schema-msx8hqn2.js → tool-msx8hqn2.js} +0 -0
- /package/dist/chunks/{schema-n05xt0ee.js → tool-n05xt0ee.js} +0 -0
- /package/dist/chunks/{schema-n3j8tn72.js → tool-n3j8tn72.js} +0 -0
- /package/dist/chunks/{schema-njntx4h6.js → tool-njntx4h6.js} +0 -0
- /package/dist/chunks/{schema-pyv0edze.js → tool-pyv0edze.js} +0 -0
- /package/dist/chunks/{schema-q3sfg36h.js → tool-q3sfg36h.js} +0 -0
- /package/dist/chunks/{schema-q74kybfr.js → tool-q74kybfr.js} +0 -0
- /package/dist/chunks/{schema-qaymkmh1.js → tool-qaymkmh1.js} +0 -0
- /package/dist/chunks/{schema-qb87gjwd.js → tool-qb87gjwd.js} +0 -0
- /package/dist/chunks/{schema-qfa1cgps.js → tool-qfa1cgps.js} +0 -0
- /package/dist/chunks/{schema-qg3g05ea.js → tool-qg3g05ea.js} +0 -0
- /package/dist/chunks/{schema-qrg20bc0.js → tool-qrg20bc0.js} +0 -0
- /package/dist/chunks/{schema-rcb2kzg1.js → tool-rcb2kzg1.js} +0 -0
- /package/dist/chunks/{schema-sdp7kfr6.js → tool-sdp7kfr6.js} +0 -0
- /package/dist/chunks/{schema-ssg3fenm.js → tool-ssg3fenm.js} +0 -0
- /package/dist/chunks/{schema-ve7vex1e.js → tool-ve7vex1e.js} +0 -0
- /package/dist/chunks/{schema-w803qqfp.js → tool-w803qqfp.js} +0 -0
- /package/dist/chunks/{schema-wc3fc9cn.js → tool-wc3fc9cn.js} +0 -0
- /package/dist/chunks/{schema-wer8tq1h.js → tool-wer8tq1h.js} +0 -0
- /package/dist/chunks/{schema-wtztk69x.js → tool-wtztk69x.js} +0 -0
- /package/dist/chunks/{schema-x0ckcb58.js → tool-x0ckcb58.js} +0 -0
- /package/dist/chunks/{schema-x61499pn.js → tool-x61499pn.js} +0 -0
- /package/dist/chunks/{schema-y44na4kk.js → tool-y44na4kk.js} +0 -0
- /package/dist/chunks/{schema-y8f7s663.js → tool-y8f7s663.js} +0 -0
- /package/dist/chunks/{schema-ygaqb7jw.js → tool-ygaqb7jw.js} +0 -0
- /package/dist/chunks/{schema-ym463w8f.js → tool-ym463w8f.js} +0 -0
- /package/dist/chunks/{schema-z5v4ffb3.js → tool-z5v4ffb3.js} +0 -0
- /package/dist/chunks/{schema-z9919s4g.js → tool-z9919s4g.js} +0 -0
|
@@ -1,32 +1,32 @@
|
|
|
1
1
|
import {
|
|
2
2
|
Service84,
|
|
3
3
|
node88
|
|
4
|
-
} from "./
|
|
4
|
+
} from "./tool-2hbmtk01.js";
|
|
5
5
|
import {
|
|
6
6
|
create3
|
|
7
|
-
} from "./
|
|
7
|
+
} from "./tool-rdw6cm16.js";
|
|
8
8
|
import {
|
|
9
9
|
evaluate2
|
|
10
|
-
} from "./
|
|
10
|
+
} from "./tool-8g8wt927.js";
|
|
11
11
|
import {
|
|
12
12
|
__export
|
|
13
|
-
} from "./
|
|
13
|
+
} from "./tool-9rqn6x4v.js";
|
|
14
14
|
|
|
15
15
|
// src/skill.ts
|
|
16
16
|
var exports_skill5 = {};
|
|
17
17
|
__export(exports_skill5, {
|
|
18
18
|
DirectorySource: () => DirectorySource2,
|
|
19
19
|
EmbeddedSource: () => EmbeddedSource2,
|
|
20
|
-
Event: () =>
|
|
21
|
-
ID: () =>
|
|
22
|
-
Info: () =>
|
|
20
|
+
Event: () => Event16,
|
|
21
|
+
ID: () => ID10,
|
|
22
|
+
Info: () => Info21,
|
|
23
23
|
Name: () => Name2,
|
|
24
|
-
Service: () =>
|
|
24
|
+
Service: () => Service68,
|
|
25
25
|
Skill: () => exports_skill5,
|
|
26
|
-
Source: () =>
|
|
26
|
+
Source: () => Source4,
|
|
27
27
|
UrlSource: () => UrlSource2,
|
|
28
|
-
available: () =>
|
|
29
|
-
node: () =>
|
|
28
|
+
available: () => available3,
|
|
29
|
+
node: () => node70,
|
|
30
30
|
prepare: () => prepare3,
|
|
31
31
|
toModelOutput: () => toModelOutput3
|
|
32
32
|
});
|
|
@@ -34,15 +34,15 @@ import { makeLocationNode } from "@opencode/util/effect/app-node";
|
|
|
34
34
|
import path from "path";
|
|
35
35
|
import { Context, Effect, Layer } from "effect";
|
|
36
36
|
import { Skill } from "@opencode/schema/skill";
|
|
37
|
-
import { Event as
|
|
37
|
+
import { Event as Event16 } from "@opencode/schema/skill";
|
|
38
38
|
var DirectorySource2 = Skill.DirectorySource;
|
|
39
39
|
var UrlSource2 = Skill.UrlSource;
|
|
40
40
|
var EmbeddedSource2 = Skill.EmbeddedSource;
|
|
41
|
-
var
|
|
42
|
-
var
|
|
43
|
-
var
|
|
41
|
+
var Source4 = Skill.Source;
|
|
42
|
+
var Info21 = Skill.Info;
|
|
43
|
+
var ID10 = Skill.ID;
|
|
44
44
|
var Name2 = Skill.Name;
|
|
45
|
-
var
|
|
45
|
+
var available3 = (skills, permissions) => skills.filter((skill) => evaluate2("skill", skill.id, permissions).effect !== "deny");
|
|
46
46
|
var toModelOutput3 = (skill, files) => {
|
|
47
47
|
const directory = path.dirname(skill.path);
|
|
48
48
|
return [
|
|
@@ -71,33 +71,33 @@ var prepare3 = Effect.fn("Skill.prepare")(function* (fs, skill) {
|
|
|
71
71
|
};
|
|
72
72
|
});
|
|
73
73
|
|
|
74
|
-
class
|
|
74
|
+
class Service68 extends Context.Service()("@opencode/Skill") {
|
|
75
75
|
}
|
|
76
|
-
var layer = Layer.effect(
|
|
76
|
+
var layer = Layer.effect(Service68, Effect.gen(function* () {
|
|
77
77
|
const bus = yield* Service84;
|
|
78
78
|
const state = create3({
|
|
79
79
|
name: "skill",
|
|
80
80
|
initial: () => ({ skills: new Map }),
|
|
81
81
|
editor: (editor) => ({
|
|
82
82
|
list: () => Array.from(editor.skills.values()),
|
|
83
|
-
get: (id) => editor.skills.get(
|
|
83
|
+
get: (id) => editor.skills.get(ID10.make(id)),
|
|
84
84
|
add: (skill) => {
|
|
85
85
|
editor.skills.set(skill.id, { ...skill });
|
|
86
86
|
},
|
|
87
87
|
update: (id, update) => {
|
|
88
|
-
const current = editor.skills.get(
|
|
88
|
+
const current = editor.skills.get(ID10.make(id));
|
|
89
89
|
if (!current)
|
|
90
90
|
return;
|
|
91
91
|
update(current);
|
|
92
|
-
current.id =
|
|
92
|
+
current.id = ID10.make(id);
|
|
93
93
|
},
|
|
94
94
|
remove: (id) => {
|
|
95
|
-
editor.skills.delete(
|
|
95
|
+
editor.skills.delete(ID10.make(id));
|
|
96
96
|
}
|
|
97
97
|
}),
|
|
98
98
|
notify: () => bus.publish(Skill.Event.Updated, {}).pipe(Effect.asVoid)
|
|
99
99
|
});
|
|
100
|
-
return
|
|
100
|
+
return Service68.of({
|
|
101
101
|
transform: state.transform,
|
|
102
102
|
reload: state.reload,
|
|
103
103
|
get: Effect.fn("Skill.get")(function* (id) {
|
|
@@ -108,10 +108,10 @@ var layer = Layer.effect(Service45, Effect.gen(function* () {
|
|
|
108
108
|
})
|
|
109
109
|
});
|
|
110
110
|
}));
|
|
111
|
-
var
|
|
112
|
-
service:
|
|
111
|
+
var node70 = makeLocationNode({
|
|
112
|
+
service: Service68,
|
|
113
113
|
layer,
|
|
114
114
|
deps: [node88]
|
|
115
115
|
});
|
|
116
116
|
|
|
117
|
-
export { DirectorySource2, UrlSource2, EmbeddedSource2,
|
|
117
|
+
export { DirectorySource2, UrlSource2, EmbeddedSource2, Source4, Info21, ID10, Name2, available3, toModelOutput3, prepare3, Service68, node70, exports_skill5, Event16 };
|
|
@@ -1,32 +1,32 @@
|
|
|
1
1
|
import {
|
|
2
2
|
Service84,
|
|
3
3
|
node88
|
|
4
|
-
} from "./
|
|
4
|
+
} from "./tool-2hbmtk01.js";
|
|
5
5
|
import {
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
} from "./
|
|
6
|
+
Service22,
|
|
7
|
+
node26
|
|
8
|
+
} from "./tool-8f47ttfq.js";
|
|
9
9
|
import {
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
} from "./
|
|
10
|
+
Service69,
|
|
11
|
+
node71
|
|
12
|
+
} from "./tool-8g8wt927.js";
|
|
13
13
|
import {
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
} from "./
|
|
14
|
+
Service66,
|
|
15
|
+
node68
|
|
16
|
+
} from "./tool-t1c79nbf.js";
|
|
17
17
|
import {
|
|
18
18
|
__export
|
|
19
|
-
} from "./
|
|
19
|
+
} from "./tool-9rqn6x4v.js";
|
|
20
20
|
|
|
21
21
|
// src/tool/mcp.ts
|
|
22
22
|
var exports_mcp3 = {};
|
|
23
23
|
__export(exports_mcp3, {
|
|
24
24
|
McpTool: () => exports_mcp3,
|
|
25
|
-
Service: () =>
|
|
26
|
-
layer: () =>
|
|
25
|
+
Service: () => Service21,
|
|
26
|
+
layer: () => layer10,
|
|
27
27
|
name: () => name13,
|
|
28
28
|
namespace: () => namespace2,
|
|
29
|
-
node: () =>
|
|
29
|
+
node: () => node25
|
|
30
30
|
});
|
|
31
31
|
import { ToolFailure } from "@opencode/ai";
|
|
32
32
|
import { McpEvent } from "@opencode/schema/mcp-event";
|
|
@@ -35,13 +35,13 @@ import { makeLocationNode } from "@opencode/util/effect/app-node";
|
|
|
35
35
|
var namespace2 = (server) => server.replace(/[^a-zA-Z0-9_-]/g, "_");
|
|
36
36
|
var name13 = (server, tool) => `${namespace2(server)}_${tool.replace(/[^a-zA-Z0-9_-]/g, "_")}`;
|
|
37
37
|
|
|
38
|
-
class
|
|
38
|
+
class Service21 extends Context.Service()("@opencode/McpTool") {
|
|
39
39
|
}
|
|
40
|
-
var
|
|
41
|
-
const mcp = yield*
|
|
42
|
-
const tools = yield*
|
|
40
|
+
var layer10 = Layer.effect(Service21, Effect.gen(function* () {
|
|
41
|
+
const mcp = yield* Service22;
|
|
42
|
+
const tools = yield* Service66;
|
|
43
43
|
const bus = yield* Service84;
|
|
44
|
-
const permission = yield*
|
|
44
|
+
const permission = yield* Service69;
|
|
45
45
|
const lock = Semaphore.makeUnsafe(1);
|
|
46
46
|
let discovered = [];
|
|
47
47
|
const initial = yield* lock.withPermit(Effect.gen(function* () {
|
|
@@ -118,12 +118,12 @@ var layer14 = Layer.effect(Service37, Effect.gen(function* () {
|
|
|
118
118
|
yield* bus.subscribe(McpEvent.ToolsChanged).pipe(Stream.runForEach(() => PubSub.publish(changes, undefined)), Effect.forkScoped({ startImmediately: true }));
|
|
119
119
|
const updates = yield* PubSub.subscribe(changes);
|
|
120
120
|
yield* Stream.fromSubscription(updates).pipe(Stream.debounce("100 millis"), Stream.runForEach(() => reconcile), Effect.forkScoped({ startImmediately: true }));
|
|
121
|
-
return
|
|
121
|
+
return Service21.of({ flush: Effect.asVoid(Fiber.await(initial)) });
|
|
122
122
|
}));
|
|
123
|
-
var
|
|
124
|
-
service:
|
|
125
|
-
layer:
|
|
126
|
-
deps: [
|
|
123
|
+
var node25 = makeLocationNode({
|
|
124
|
+
service: Service21,
|
|
125
|
+
layer: layer10,
|
|
126
|
+
deps: [node68, node26, node88, node71]
|
|
127
127
|
});
|
|
128
128
|
|
|
129
|
-
export { namespace2, name13,
|
|
129
|
+
export { namespace2, name13, Service21, layer10, node25, exports_mcp3 };
|
|
@@ -1,30 +1,30 @@
|
|
|
1
1
|
import {
|
|
2
2
|
latest2,
|
|
3
|
-
|
|
4
|
-
} from "./
|
|
3
|
+
Service49
|
|
4
|
+
} from "./tool-ph8a80xg.js";
|
|
5
5
|
import {
|
|
6
|
-
|
|
7
|
-
} from "./
|
|
6
|
+
Service43
|
|
7
|
+
} from "./tool-1yd7h3h8.js";
|
|
8
8
|
import {
|
|
9
9
|
observe2
|
|
10
|
-
} from "./
|
|
10
|
+
} from "./tool-qsdy395h.js";
|
|
11
11
|
import {
|
|
12
12
|
__export
|
|
13
|
-
} from "./
|
|
13
|
+
} from "./tool-9rqn6x4v.js";
|
|
14
14
|
|
|
15
15
|
// src/config/plugin/tool-output.ts
|
|
16
16
|
var exports_tool_output = {};
|
|
17
17
|
__export(exports_tool_output, {
|
|
18
18
|
ConfigToolOutputPlugin: () => exports_tool_output,
|
|
19
|
-
Plugin: () =>
|
|
19
|
+
Plugin: () => Plugin7
|
|
20
20
|
});
|
|
21
21
|
import { define } from "@opencode/plugin/effect/plugin";
|
|
22
22
|
import { Effect } from "effect";
|
|
23
|
-
var
|
|
23
|
+
var Plugin7 = define({
|
|
24
24
|
id: "opencode.config.tool-output",
|
|
25
25
|
effect: Effect.fn(function* (ctx) {
|
|
26
|
-
const config = yield*
|
|
27
|
-
const output = yield*
|
|
26
|
+
const config = yield* Service49;
|
|
27
|
+
const output = yield* Service43;
|
|
28
28
|
const loaded = yield* observe2(config, ctx.event, output.reload());
|
|
29
29
|
yield* output.transform((editor) => {
|
|
30
30
|
const configured = latest2(loaded.entries, "tool_output");
|
|
@@ -38,4 +38,4 @@ var Plugin48 = define({
|
|
|
38
38
|
})
|
|
39
39
|
});
|
|
40
40
|
|
|
41
|
-
export {
|
|
41
|
+
export { Plugin7, exports_tool_output };
|
|
@@ -1,68 +1,69 @@
|
|
|
1
1
|
import {
|
|
2
2
|
AbsolutePath2
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./tool-z5v4ffb3.js";
|
|
4
4
|
import {
|
|
5
5
|
Service85,
|
|
6
6
|
node89
|
|
7
|
-
} from "./
|
|
7
|
+
} from "./tool-jb7jfkvq.js";
|
|
8
8
|
import {
|
|
9
9
|
Service84,
|
|
10
10
|
node88
|
|
11
|
-
} from "./
|
|
11
|
+
} from "./tool-2hbmtk01.js";
|
|
12
12
|
import {
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
} from "./
|
|
13
|
+
Service80,
|
|
14
|
+
node82
|
|
15
|
+
} from "./tool-1azc6dcz.js";
|
|
16
16
|
import {
|
|
17
|
-
|
|
17
|
+
ID16,
|
|
18
18
|
Current3,
|
|
19
|
-
|
|
19
|
+
Info28,
|
|
20
20
|
UpdateInput4,
|
|
21
|
-
|
|
21
|
+
Event20,
|
|
22
22
|
Vcs3
|
|
23
|
-
} from "./
|
|
23
|
+
} from "./tool-hg3614cy.js";
|
|
24
24
|
import {
|
|
25
25
|
ProjectTable2,
|
|
26
26
|
upsertProject2
|
|
27
|
-
} from "./
|
|
27
|
+
} from "./tool-rj3eygr5.js";
|
|
28
28
|
import {
|
|
29
29
|
WorktreeTable2
|
|
30
|
-
} from "./
|
|
30
|
+
} from "./tool-sa8ekw3f.js";
|
|
31
31
|
import {
|
|
32
32
|
__export
|
|
33
|
-
} from "./
|
|
33
|
+
} from "./tool-9rqn6x4v.js";
|
|
34
34
|
|
|
35
35
|
// src/project.ts
|
|
36
36
|
var exports_project = {};
|
|
37
37
|
__export(exports_project, {
|
|
38
38
|
Current: () => Current2,
|
|
39
|
-
ID: () =>
|
|
40
|
-
Info: () =>
|
|
39
|
+
ID: () => ID15,
|
|
40
|
+
Info: () => Info27,
|
|
41
41
|
NotFoundError: () => NotFoundError11,
|
|
42
42
|
Project: () => exports_project,
|
|
43
|
-
Service: () =>
|
|
43
|
+
Service: () => Service79,
|
|
44
44
|
UpdateInput: () => UpdateInput3,
|
|
45
45
|
Vcs: () => Vcs2,
|
|
46
|
-
node: () =>
|
|
47
|
-
root: () => root2
|
|
46
|
+
node: () => node81,
|
|
47
|
+
root: () => root2,
|
|
48
|
+
sweepNode: () => sweepNode2
|
|
48
49
|
});
|
|
49
|
-
import { Context, Effect, Layer, Schema } from "effect";
|
|
50
|
+
import { Context, Duration, Effect, Layer, Schedule, Schema } from "effect";
|
|
50
51
|
import { ChildProcess } from "effect/process";
|
|
51
|
-
import { and, asc, desc, eq, gte, isNull, lte, sql } from "drizzle-orm";
|
|
52
|
+
import { and, asc, desc, eq, gte, isNotNull, isNull, lt, lte, ne, sql } from "drizzle-orm";
|
|
52
53
|
import path from "path";
|
|
53
54
|
import { Worktree } from "@opencode/schema/worktree";
|
|
54
55
|
import { FSUtil } from "@opencode/util/fs-util";
|
|
55
56
|
import { AppProcess } from "@opencode/util/process";
|
|
56
57
|
import { makeGlobalNode } from "@opencode/util/effect/app-node";
|
|
57
58
|
import { Hash } from "@opencode/util/hash";
|
|
58
|
-
var
|
|
59
|
+
var ID15 = ID16;
|
|
59
60
|
var Vcs2 = Vcs3;
|
|
60
61
|
var Current2 = Current3;
|
|
61
|
-
var
|
|
62
|
+
var Info27 = Info28;
|
|
62
63
|
var UpdateInput3 = UpdateInput4;
|
|
63
64
|
|
|
64
65
|
class NotFoundError11 extends Schema.TaggedError()("Project.NotFoundError", {
|
|
65
|
-
projectID:
|
|
66
|
+
projectID: ID15
|
|
66
67
|
}) {
|
|
67
68
|
}
|
|
68
69
|
var root2 = Effect.fn("Project.root")(function* (fs, input, markers = [".git", ".hg"]) {
|
|
@@ -71,8 +72,9 @@ var root2 = Effect.fn("Project.root")(function* (fs, input, markers = [".git", "
|
|
|
71
72
|
}));
|
|
72
73
|
});
|
|
73
74
|
var ACTIVATE_INTERVAL = 60000;
|
|
75
|
+
var SWEEP_INTERVAL = Duration.hours(1);
|
|
74
76
|
|
|
75
|
-
class
|
|
77
|
+
class Service79 extends Context.Service()("@opencode/Project") {
|
|
76
78
|
}
|
|
77
79
|
function fromRow(row) {
|
|
78
80
|
const icon = row.icon_url || row.icon_url_override || row.icon_color ? {
|
|
@@ -90,14 +92,15 @@ function fromRow(row) {
|
|
|
90
92
|
time: {
|
|
91
93
|
created: row.time_created,
|
|
92
94
|
updated: row.time_updated,
|
|
93
|
-
active: row.time_active
|
|
95
|
+
active: row.time_active,
|
|
96
|
+
archived: row.time_archived ?? undefined
|
|
94
97
|
},
|
|
95
98
|
sandboxes: row.sandboxes
|
|
96
99
|
};
|
|
97
100
|
}
|
|
98
|
-
var layer = Layer.effect(
|
|
101
|
+
var layer = Layer.effect(Service79, Effect.gen(function* () {
|
|
99
102
|
const fs = yield* FSUtil.Service;
|
|
100
|
-
const git = yield*
|
|
103
|
+
const git = yield* Service80;
|
|
101
104
|
const proc = yield* AppProcess.Service;
|
|
102
105
|
const bus = yield* Service84;
|
|
103
106
|
const db = (yield* Service85).db;
|
|
@@ -105,11 +108,11 @@ var layer = Layer.effect(Service82, Effect.gen(function* () {
|
|
|
105
108
|
const persist = Effect.fnUntraced(function* (project) {
|
|
106
109
|
const previous = yield* db.select({ canonical: ProjectTable2.worktree }).from(ProjectTable2).where(eq(ProjectTable2.id, project.id)).get().pipe(Effect.orDie);
|
|
107
110
|
yield* upsertProject2(db, project).pipe(Effect.orDie);
|
|
108
|
-
|
|
109
|
-
|
|
110
|
-
|
|
111
|
-
|
|
112
|
-
|
|
111
|
+
const unarchived = yield* db.update(ProjectTable2).set({ time_archived: null, time_updated: sql`${ProjectTable2.time_updated}` }).where(and(eq(ProjectTable2.id, project.id), isNotNull(ProjectTable2.time_archived))).returning().get().pipe(Effect.orDie);
|
|
112
|
+
const replaced = previous && previous.canonical !== project.canonical && !(yield* fs.exists(previous.canonical).pipe(Effect.orElseSucceed(() => true))) ? yield* db.update(ProjectTable2).set({ worktree: project.canonical }).where(eq(ProjectTable2.id, project.id)).returning().get().pipe(Effect.orDie) : undefined;
|
|
113
|
+
const changed = replaced ?? unarchived;
|
|
114
|
+
if (changed)
|
|
115
|
+
yield* bus.publish(Event20.Updated, fromRow(changed));
|
|
113
116
|
if (!project.vcs)
|
|
114
117
|
return project;
|
|
115
118
|
const directories = [
|
|
@@ -145,7 +148,7 @@ var layer = Layer.effect(Service82, Effect.gen(function* () {
|
|
|
145
148
|
yield* bus.publish(Worktree.Event.Resolved, {
|
|
146
149
|
projectID: item.projectID,
|
|
147
150
|
directory: item.directory,
|
|
148
|
-
previous: project.previous ??
|
|
151
|
+
previous: project.previous ?? ID15.global,
|
|
149
152
|
...adopted.length ? { adopted: adopted.map((candidate) => candidate.id) } : {}
|
|
150
153
|
}, {
|
|
151
154
|
commit: () => db.insert(WorktreeTable2).values({ project_id: item.projectID, directory: item.directory, strategy: item.strategy }).onConflictDoNothing().run().pipe(Effect.orDie, Effect.asVoid)
|
|
@@ -154,8 +157,8 @@ var layer = Layer.effect(Service82, Effect.gen(function* () {
|
|
|
154
157
|
}
|
|
155
158
|
return project;
|
|
156
159
|
});
|
|
157
|
-
const list = Effect.fn("Project.list")(function* () {
|
|
158
|
-
const rows = yield* db.select().from(ProjectTable2).orderBy(desc(ProjectTable2.time_active), asc(ProjectTable2.id)).all().pipe(Effect.orDie);
|
|
160
|
+
const list = Effect.fn("Project.list")(function* (input) {
|
|
161
|
+
const rows = yield* db.select().from(ProjectTable2).where(input?.archived ? undefined : isNull(ProjectTable2.time_archived)).orderBy(desc(ProjectTable2.time_active), asc(ProjectTable2.id)).all().pipe(Effect.orDie);
|
|
159
162
|
return rows.map(fromRow);
|
|
160
163
|
});
|
|
161
164
|
const update = Effect.fn("Project.update")(function* (input) {
|
|
@@ -170,7 +173,7 @@ var layer = Layer.effect(Service82, Effect.gen(function* () {
|
|
|
170
173
|
if (!row)
|
|
171
174
|
return yield* new NotFoundError11({ projectID: input.projectID });
|
|
172
175
|
const project = fromRow(row);
|
|
173
|
-
yield* bus.publish(
|
|
176
|
+
yield* bus.publish(Event20.Updated, project);
|
|
174
177
|
return project;
|
|
175
178
|
});
|
|
176
179
|
const activated = new Map;
|
|
@@ -181,10 +184,10 @@ var layer = Layer.effect(Service82, Effect.gen(function* () {
|
|
|
181
184
|
activated.set(projectID, now);
|
|
182
185
|
const row = yield* db.update(ProjectTable2).set({ time_active: now, time_updated: sql`${ProjectTable2.time_updated}` }).where(eq(ProjectTable2.id, projectID)).returning().get().pipe(Effect.orDie);
|
|
183
186
|
if (row)
|
|
184
|
-
yield* bus.publish(
|
|
187
|
+
yield* bus.publish(Event20.Updated, fromRow(row));
|
|
185
188
|
});
|
|
186
189
|
const cached = Effect.fnUntraced(function* (dir) {
|
|
187
|
-
return yield* fs.readFileString(path.join(dir, "opencode")).pipe(Effect.map((value) => value.trim()), Effect.map((value) => value ?
|
|
190
|
+
return yield* fs.readFileString(path.join(dir, "opencode")).pipe(Effect.map((value) => value.trim()), Effect.map((value) => value ? ID15.make(value) : undefined), Effect.orElseSucceed(() => {
|
|
188
191
|
return;
|
|
189
192
|
}));
|
|
190
193
|
});
|
|
@@ -195,7 +198,7 @@ var layer = Layer.effect(Service82, Effect.gen(function* () {
|
|
|
195
198
|
const normalized = url(origin);
|
|
196
199
|
if (!normalized)
|
|
197
200
|
return;
|
|
198
|
-
return
|
|
201
|
+
return ID15.make(Hash.fast(`git-remote:${normalized}`));
|
|
199
202
|
});
|
|
200
203
|
function url(input) {
|
|
201
204
|
const value = input.trim();
|
|
@@ -220,7 +223,7 @@ var layer = Layer.effect(Service82, Effect.gen(function* () {
|
|
|
220
223
|
}
|
|
221
224
|
const rootCommit = Effect.fnUntraced(function* (repo) {
|
|
222
225
|
const root = (yield* git.history.rootCommits(repo))[0];
|
|
223
|
-
return root ?
|
|
226
|
+
return root ? ID15.make(root) : undefined;
|
|
224
227
|
});
|
|
225
228
|
const hgRoot = Effect.fnUntraced(function* (worktree) {
|
|
226
229
|
const result = yield* proc.run(ChildProcess.make("hg", ["log", "-r", "roots(all())", "-T", `{node}
|
|
@@ -236,7 +239,7 @@ var layer = Layer.effect(Service82, Effect.gen(function* () {
|
|
|
236
239
|
return;
|
|
237
240
|
const node = result.stdout.toString("utf8").split(`
|
|
238
241
|
`).map((item) => item.trim()).filter(Boolean).toSorted()[0];
|
|
239
|
-
return node ?
|
|
242
|
+
return node ? ID15.make(node) : undefined;
|
|
240
243
|
});
|
|
241
244
|
const hgDiscover = Effect.fnUntraced(function* (dotHg) {
|
|
242
245
|
const worktree = AbsolutePath2.make(path.dirname(dotHg));
|
|
@@ -245,7 +248,7 @@ var layer = Layer.effect(Service82, Effect.gen(function* () {
|
|
|
245
248
|
const id = previous ?? (yield* hgRoot(worktree));
|
|
246
249
|
return {
|
|
247
250
|
previous,
|
|
248
|
-
id: id ??
|
|
251
|
+
id: id ?? ID15.global,
|
|
249
252
|
directory: worktree,
|
|
250
253
|
vcs: { type: "hg", store }
|
|
251
254
|
};
|
|
@@ -262,7 +265,7 @@ var layer = Layer.effect(Service82, Effect.gen(function* () {
|
|
|
262
265
|
const canonical = repo.gitDirectory === repo.commonDirectory ? repo.worktree : yield* git.worktree.list(repo).pipe(Effect.map((items) => items.find((item) => item.kind === "main")?.directory ?? repo.worktree), Effect.orElseSucceed(() => repo.worktree));
|
|
263
266
|
return yield* persist({
|
|
264
267
|
previous,
|
|
265
|
-
id: id ??
|
|
268
|
+
id: id ?? ID15.global,
|
|
266
269
|
directory: repo.worktree,
|
|
267
270
|
canonical,
|
|
268
271
|
vcs: { type: "git", store: repo.commonDirectory }
|
|
@@ -276,18 +279,45 @@ var layer = Layer.effect(Service82, Effect.gen(function* () {
|
|
|
276
279
|
});
|
|
277
280
|
}
|
|
278
281
|
return yield* persist({
|
|
279
|
-
id:
|
|
282
|
+
id: ID15.make(Hash.fast(`directory:${directory}`)),
|
|
280
283
|
directory,
|
|
281
284
|
canonical: directory,
|
|
282
285
|
vcs: undefined
|
|
283
286
|
});
|
|
284
287
|
});
|
|
285
|
-
|
|
288
|
+
const sweep = Effect.fn("Project.sweep")(function* () {
|
|
289
|
+
const cutoff = Date.now() - Duration.toMillis(SWEEP_INTERVAL);
|
|
290
|
+
const idle = and(isNull(ProjectTable2.time_archived), lt(ProjectTable2.time_updated, cutoff), lt(ProjectTable2.time_active, cutoff));
|
|
291
|
+
const projects = yield* db.select({ id: ProjectTable2.id, canonical: ProjectTable2.worktree }).from(ProjectTable2).where(and(idle, ne(ProjectTable2.id, ID15.global))).all().pipe(Effect.orDie);
|
|
292
|
+
const worktrees = yield* db.select().from(WorktreeTable2).all().pipe(Effect.orDie);
|
|
293
|
+
const exists = (directory) => fs.exists(directory).pipe(Effect.orElseSucceed(() => true));
|
|
294
|
+
yield* Effect.forEach(projects, Effect.fnUntraced(function* (project) {
|
|
295
|
+
if (yield* exists(project.canonical))
|
|
296
|
+
return;
|
|
297
|
+
const known = worktrees.filter((item) => item.project_id === project.id && item.directory !== project.canonical);
|
|
298
|
+
const surviving = yield* Effect.filter(known, (item) => exists(item.directory));
|
|
299
|
+
const main = surviving.find((item) => !item.strategy);
|
|
300
|
+
if (!main && surviving.length)
|
|
301
|
+
return;
|
|
302
|
+
const row = yield* db.update(ProjectTable2).set(main ? { worktree: main.directory } : { time_archived: Date.now(), time_updated: sql`${ProjectTable2.time_updated}` }).where(and(eq(ProjectTable2.id, project.id), idle)).returning().get().pipe(Effect.orDie);
|
|
303
|
+
if (row)
|
|
304
|
+
yield* bus.publish(Event20.Updated, fromRow(row));
|
|
305
|
+
}), { concurrency: 8, discard: true });
|
|
306
|
+
});
|
|
307
|
+
return Service79.of({ list, update, activate, resolve, sweep });
|
|
286
308
|
}));
|
|
287
|
-
var
|
|
288
|
-
service:
|
|
309
|
+
var node81 = makeGlobalNode({
|
|
310
|
+
service: Service79,
|
|
289
311
|
layer,
|
|
290
|
-
deps: [node88, node89, FSUtil.node,
|
|
312
|
+
deps: [node88, node89, FSUtil.node, node82, AppProcess.node]
|
|
313
|
+
});
|
|
314
|
+
var sweepNode2 = makeGlobalNode({
|
|
315
|
+
name: "project-archive-sweep",
|
|
316
|
+
layer: Layer.effectDiscard(Effect.gen(function* () {
|
|
317
|
+
const project = yield* Service79;
|
|
318
|
+
yield* project.sweep().pipe(Effect.ignoreCause({ log: "Error", message: "Project archive sweep failed" }), Effect.repeat(Schedule.spaced(SWEEP_INTERVAL)), Effect.forkScoped);
|
|
319
|
+
})),
|
|
320
|
+
deps: [node81]
|
|
291
321
|
});
|
|
292
322
|
|
|
293
|
-
export {
|
|
323
|
+
export { ID15, Vcs2, Current2, Info27, UpdateInput3, NotFoundError11, root2, Service79, node81, sweepNode2, exports_project };
|
|
@@ -1,31 +1,31 @@
|
|
|
1
1
|
import {
|
|
2
|
-
|
|
3
|
-
} from "./
|
|
2
|
+
Service49
|
|
3
|
+
} from "./tool-ph8a80xg.js";
|
|
4
4
|
import {
|
|
5
|
-
|
|
6
|
-
} from "./
|
|
5
|
+
Service22
|
|
6
|
+
} from "./tool-8f47ttfq.js";
|
|
7
7
|
import {
|
|
8
8
|
__export
|
|
9
|
-
} from "./
|
|
9
|
+
} from "./tool-9rqn6x4v.js";
|
|
10
10
|
|
|
11
11
|
// src/config/plugin/mcp.ts
|
|
12
|
-
var
|
|
13
|
-
__export(
|
|
14
|
-
ConfigMcpPlugin: () =>
|
|
15
|
-
Plugin: () =>
|
|
12
|
+
var exports_mcp = {};
|
|
13
|
+
__export(exports_mcp, {
|
|
14
|
+
ConfigMcpPlugin: () => exports_mcp,
|
|
15
|
+
Plugin: () => Plugin17,
|
|
16
16
|
register: () => register2
|
|
17
17
|
});
|
|
18
18
|
import { define } from "@opencode/plugin/effect/plugin";
|
|
19
19
|
import { Effect, Stream } from "effect";
|
|
20
|
-
var
|
|
20
|
+
var Plugin17 = define({
|
|
21
21
|
id: "opencode.config.mcp",
|
|
22
22
|
effect: Effect.fn(function* (ctx) {
|
|
23
23
|
yield* register2(ctx.event.subscribe());
|
|
24
24
|
})
|
|
25
25
|
});
|
|
26
26
|
var register2 = Effect.fn("ConfigMCPPlugin.register")(function* (events) {
|
|
27
|
-
const config = yield*
|
|
28
|
-
const mcp = yield*
|
|
27
|
+
const config = yield* Service49;
|
|
28
|
+
const mcp = yield* Service22;
|
|
29
29
|
const loaded = { entries: [] };
|
|
30
30
|
yield* events.pipe(Stream.filter((event) => event.type === "config.updated"), Stream.runForEach(() => config.entries().pipe(Effect.tap((entries) => Effect.sync(() => loaded.entries = entries)), Effect.andThen(mcp.reload()), Effect.catchCause((cause) => Effect.logError("failed to reload MCP config", { cause })))), Effect.ignore, Effect.forkScoped({ startImmediately: true }));
|
|
31
31
|
loaded.entries = yield* config.entries();
|
|
@@ -46,4 +46,4 @@ var register2 = Effect.fn("ConfigMCPPlugin.register")(function* (events) {
|
|
|
46
46
|
});
|
|
47
47
|
});
|
|
48
48
|
|
|
49
|
-
export {
|
|
49
|
+
export { Plugin17, register2, exports_mcp };
|
|
@@ -1,13 +1,13 @@
|
|
|
1
1
|
import {
|
|
2
2
|
__export
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./tool-9rqn6x4v.js";
|
|
4
4
|
|
|
5
5
|
// src/filesystem/protected.ts
|
|
6
6
|
var exports_protected = {};
|
|
7
7
|
__export(exports_protected, {
|
|
8
8
|
Protected: () => exports_protected,
|
|
9
9
|
isHome: () => isHome2,
|
|
10
|
-
names: () =>
|
|
10
|
+
names: () => names4,
|
|
11
11
|
paths: () => paths2
|
|
12
12
|
});
|
|
13
13
|
import os from "os";
|
|
@@ -41,7 +41,7 @@ var DARWIN_LIBRARY = [
|
|
|
41
41
|
];
|
|
42
42
|
var DARWIN_ROOT = ["/.DocumentRevisions-V100", "/.Spotlight-V100", "/.Trashes", "/.fseventsd"];
|
|
43
43
|
var WIN32_HOME = ["AppData", "Downloads", "Desktop", "Documents", "Pictures", "Music", "Videos", "OneDrive"];
|
|
44
|
-
function
|
|
44
|
+
function names4() {
|
|
45
45
|
if (process.platform === "darwin")
|
|
46
46
|
return new Set(DARWIN_HOME);
|
|
47
47
|
if (process.platform === "win32")
|
|
@@ -60,4 +60,4 @@ function paths2() {
|
|
|
60
60
|
return [];
|
|
61
61
|
}
|
|
62
62
|
|
|
63
|
-
export { isHome2,
|
|
63
|
+
export { isHome2, names4, paths2, exports_protected };
|