@opencode/core 0.0.0-dev-20807 → 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 +85 -84
- package/dist/aisdk-native.js +91 -90
- package/dist/aisdk.js +96 -95
- package/dist/app.js +9 -9
- package/dist/bus.js +75 -74
- package/dist/chunks/{form-0paq2nw3.js → tool-0paq2nw3.js} +1 -1
- package/dist/chunks/{form-qne3fa44.js → tool-0r3c1bmw.js} +5 -5
- package/dist/chunks/{form-0vbcp93d.js → tool-0vbcp93d.js} +2 -2
- package/dist/chunks/{form-6hjtb7g9.js → tool-0w22njrp.js} +4 -4
- package/dist/chunks/{form-gyqy5ynx.js → tool-1azc6dcz.js} +12 -12
- package/dist/chunks/{form-2kgbfk35.js → tool-1fj0xetq.js} +5 -5
- package/dist/chunks/{form-6ar05cbm.js → tool-1hs63qs5.js} +22 -22
- package/dist/chunks/{form-7hhqs9ev.js → tool-1yd7h3h8.js} +11 -11
- package/dist/chunks/{form-nceb7tg2.js → tool-2ap2y1fd.js} +22 -22
- package/dist/chunks/{form-6a4apkvg.js → tool-2hbmtk01.js} +16 -16
- package/dist/chunks/{form-vxywbpnc.js → tool-2m2pwtqz.js} +8 -8
- package/dist/chunks/{form-ps9w4rmp.js → tool-2r0rtpea.js} +5 -5
- package/dist/chunks/{form-76ns3xxg.js → tool-2v35nvf1.js} +3 -3
- package/dist/chunks/{form-2vvh33eb.js → tool-2vvh33eb.js} +2 -2
- package/dist/chunks/{form-37yqfbeb.js → tool-2xt8eqef.js} +31 -31
- package/dist/chunks/{form-3fc6dm20.js → tool-3fc6dm20.js} +1 -1
- package/dist/chunks/{form-3hepkmqq.js → tool-3hepkmqq.js} +1 -1
- package/dist/chunks/{form-3hwn7j4h.js → tool-3hwn7j4h.js} +2 -2
- package/dist/chunks/{form-3smtnn6g.js → tool-3smtnn6g.js} +1 -1
- package/dist/chunks/{form-3tvqynh2.js → tool-3tvqynh2.js} +1 -1
- package/dist/chunks/{form-sr73km76.js → tool-3wg2zg1h.js} +21 -21
- package/dist/chunks/{form-ykmg72ng.js → tool-3zdrd34z.js} +35 -35
- package/dist/chunks/{form-3zsf4n22.js → tool-3zsf4n22.js} +1 -1
- package/dist/chunks/{form-gs3xh0nm.js → tool-425tvsky.js} +32 -32
- package/dist/chunks/{form-4dh5ta86.js → tool-43g0zkdb.js} +4 -4
- package/dist/chunks/{form-2wyf4erf.js → tool-45m1xa6s.js} +20 -20
- package/dist/chunks/{form-0v4jh5wh.js → tool-4ecb23ee.js} +29 -29
- package/dist/chunks/{form-e4aj21xj.js → tool-4gzj7c1t.js} +338 -338
- package/dist/chunks/{form-2ccvkpx1.js → tool-4ts7tf6z.js} +2 -2
- package/dist/chunks/{form-18nxemwk.js → tool-50ya55tv.js} +3 -3
- package/dist/chunks/{form-3thkjdtf.js → tool-54zp89xv.js} +24 -24
- package/dist/chunks/{form-x3gx8603.js → tool-554twcs9.js} +8 -8
- package/dist/chunks/{form-sr781ga4.js → tool-57ht3x3y.js} +18 -18
- package/dist/chunks/{form-azfhg348.js → tool-58t9ctfh.js} +54 -50
- package/dist/chunks/{form-b3cwmgw3.js → tool-5dk99411.js} +9 -9
- package/dist/chunks/{form-5m9w47nd.js → tool-5m9w47nd.js} +1 -1
- package/dist/chunks/{form-e3qxr5gk.js → tool-5qd3pb7m.js} +2 -2
- package/dist/chunks/{form-7td7z3fp.js → tool-62e165w1.js} +18 -18
- package/dist/chunks/{form-qjr91pwy.js → tool-6vzsg2xk.js} +20 -20
- package/dist/chunks/{form-6xb47vfp.js → tool-6xb47vfp.js} +1 -1
- package/dist/chunks/{form-82v73sw7.js → tool-72sxpf59.js} +3 -3
- package/dist/chunks/{form-34cd5hh2.js → tool-7ajnhpk1.js} +39 -39
- package/dist/chunks/{form-7bmhse3q.js → tool-7bmhse3q.js} +1 -1
- package/dist/chunks/{form-7dqw4kz8.js → tool-7dqw4kz8.js} +1 -1
- package/dist/chunks/{form-bpk5m3dg.js → tool-7jyc1k1k.js} +33 -33
- package/dist/chunks/{form-ap1f89ae.js → tool-7qk8rd46.js} +16 -16
- package/dist/chunks/{form-fqk6jatp.js → tool-7ttfahrj.js} +25 -25
- package/dist/chunks/{form-vreqx49f.js → tool-7v5jhnkv.js} +30 -30
- package/dist/chunks/{form-0zjqdwpn.js → tool-7vnvvjv2.js} +32 -32
- package/dist/chunks/{form-g32fphz4.js → tool-81mfchgn.js} +11 -11
- package/dist/chunks/{form-84txncab.js → tool-84txncab.js} +1 -1
- package/dist/chunks/{form-abywgaa9.js → tool-85y5yndw.js} +84 -54
- package/dist/chunks/{form-za1wwd1x.js → tool-89r43ct5.js} +13 -13
- package/dist/chunks/{form-tcezcvh9.js → tool-89znhe33.js} +4 -4
- package/dist/chunks/{form-enrvf7r1.js → tool-8a44f7xw.js} +23 -23
- package/dist/chunks/{form-zqzfpn6k.js → tool-8c84x96a.js} +20 -20
- package/dist/chunks/{form-00rv01cy.js → tool-8dpb97pb.js} +3 -3
- package/dist/chunks/{form-b6sscvmf.js → tool-8f47ttfq.js} +53 -53
- package/dist/chunks/{form-3dr95xgy.js → tool-8g8wt927.js} +63 -63
- package/dist/chunks/{form-8m6m0r52.js → tool-8m6m0r52.js} +1 -1
- package/dist/chunks/{form-90m8vajs.js → tool-8pcna3e1.js} +191 -191
- package/dist/chunks/{form-w36wqzqr.js → tool-8sgggatz.js} +11 -11
- package/dist/chunks/{form-0v7n9ydc.js → tool-8we822j0.js} +9 -9
- package/dist/chunks/{form-dta6ba7f.js → tool-8xddy4fd.js} +17 -17
- package/dist/chunks/{form-bw8hs0dd.js → tool-8xxg8z7m.js} +6 -6
- package/dist/chunks/{form-ywwzatvd.js → tool-8zkm93f1.js} +14 -14
- package/dist/chunks/{form-pcz7nyx7.js → tool-925vt3jd.js} +27 -27
- package/dist/chunks/{form-7rwqf82v.js → tool-9c3np669.js} +8 -8
- package/dist/chunks/{form-r939q9f2.js → tool-9ee6s4n8.js} +20 -20
- package/dist/chunks/{form-452whvem.js → tool-9f33m5nn.js} +20 -20
- package/dist/chunks/{form-5yzzbxa7.js → tool-9hn6k4tm.js} +8 -8
- package/dist/chunks/{form-1z18ck0n.js → tool-9kr929zm.js} +9 -9
- package/dist/chunks/{form-t0ewadmb.js → tool-9sdheasx.js} +27 -27
- package/dist/chunks/{form-sa0etwzp.js → tool-9tfg4qpg.js} +32 -32
- package/dist/chunks/{form-1bewkv54.js → tool-a19tekra.js} +20 -20
- package/dist/chunks/{form-56x8a31a.js → tool-a5xp7zm4.js} +5 -5
- package/dist/chunks/{form-0mfehv6g.js → tool-a5y52ckt.js} +10 -10
- package/dist/chunks/{form-qpg4nhh5.js → tool-a6a0xyhp.js} +11 -11
- package/dist/chunks/{form-cps6211c.js → tool-abv7bnsr.js} +7 -7
- package/dist/chunks/{form-e2293ryn.js → tool-arnz58tr.js} +30 -30
- package/dist/chunks/{form-0p0qkxk2.js → tool-at5p6ayt.js} +33 -33
- package/dist/chunks/{form-nswh99f5.js → tool-atf3qpjr.js} +5 -5
- package/dist/chunks/{form-ed0hxk4d.js → tool-aw87ckgg.js} +24 -24
- package/dist/chunks/{form-tk22tqem.js → tool-axyyyrhn.js} +7 -7
- package/dist/chunks/{form-mx0szq0w.js → tool-b0j0nxe0.js} +11 -11
- package/dist/chunks/{form-6qmwbcde.js → tool-b279fhh5.js} +16 -16
- package/dist/chunks/{form-b3f8fkhc.js → tool-b3f8fkhc.js} +2 -2
- package/dist/chunks/{form-346kzjtb.js → tool-b6cwqfv7.js} +4 -4
- package/dist/chunks/{form-nz5a17rr.js → tool-bd4cefys.js} +43 -43
- package/dist/chunks/{form-ynmknp8q.js → tool-bfegkxfd.js} +11 -11
- package/dist/chunks/{form-5fec3t3w.js → tool-bmr56wjg.js} +9 -9
- package/dist/chunks/tool-bne3pjzh.js +26 -0
- package/dist/chunks/{form-dd3626pv.js → tool-bns0etj0.js} +17 -17
- package/dist/chunks/{form-rd2n1npt.js → tool-bq7fwdt7.js} +25 -25
- package/dist/chunks/{form-qrvrewsy.js → tool-bsxq6r4b.js} +10 -10
- package/dist/chunks/{form-skwpzzw0.js → tool-btks0zdn.js} +10 -10
- package/dist/chunks/{form-9e5bzkjp.js → tool-c1fqxshp.js} +3 -3
- package/dist/chunks/{form-rdm3yed2.js → tool-c7kyxnph.js} +43 -43
- package/dist/chunks/{form-xsbkytk1.js → tool-c96a6g06.js} +9 -9
- package/dist/chunks/{form-n6tn6hrh.js → tool-c9b8trf9.js} +35 -35
- package/dist/chunks/{form-jbyejpvw.js → tool-d2bxdv99.js} +20 -20
- package/dist/chunks/{form-ck9627yz.js → tool-d65vh0bp.js} +22 -22
- package/dist/chunks/{form-qhzmnskm.js → tool-dhhncb1a.js} +13 -13
- package/dist/chunks/{form-6qcetts1.js → tool-dmy9ph2f.js} +23 -23
- package/dist/chunks/{form-7g0z4cv8.js → tool-dzcfmz1e.js} +8 -8
- package/dist/chunks/{form-vwzv7zsf.js → tool-e2xzawa4.js} +11 -11
- package/dist/chunks/{form-hpvvz0t7.js → tool-e46pc0p0.js} +11 -11
- package/dist/chunks/{form-8y2wjat6.js → tool-e5xxn5fd.js} +42 -42
- package/dist/chunks/{form-eej6y6fw.js → tool-eej6y6fw.js} +2 -2
- package/dist/chunks/{form-ef5x83kb.js → tool-ef5x83kb.js} +1 -1
- package/dist/chunks/{form-vrzt526f.js → tool-eh6ej367.js} +5 -5
- package/dist/chunks/{form-b8q3avcz.js → tool-ek7jr3ns.js} +27 -27
- package/dist/chunks/{form-hhyv66vq.js → tool-eka1fpr9.js} +8 -8
- package/dist/chunks/{form-vvtt3r92.js → tool-emtf3agc.js} +15 -15
- package/dist/chunks/{form-c0swgjqp.js → tool-f146z90h.js} +22 -22
- package/dist/chunks/{form-5dkn69vz.js → tool-f29mbr7f.js} +4 -4
- package/dist/chunks/{form-b4gj2w69.js → tool-fpgft077.js} +18 -18
- package/dist/chunks/{form-qa3qhgw8.js → tool-fqb2p7cx.js} +4 -4
- package/dist/chunks/{form-vzjdnfs3.js → tool-fsmtef63.js} +1 -1
- package/dist/chunks/{form-d4he2qe1.js → tool-ft3hqk2c.js} +9 -9
- package/dist/chunks/{form-kgsn71zb.js → tool-fyd6zf3q.js} +96 -96
- package/dist/chunks/{form-sfvmd51z.js → tool-g0wjp6rh.js} +35 -35
- package/dist/chunks/{form-jb9trc97.js → tool-g740sh9d.js} +11 -11
- package/dist/chunks/{form-t550f9t1.js → tool-gbt6w4kb.js} +6 -6
- package/dist/chunks/{form-gd4qta3r.js → tool-gd4qta3r.js} +1 -1
- package/dist/chunks/{form-5prq62k1.js → tool-gfkgxe8r.js} +26 -26
- package/dist/chunks/{form-byxz4q2b.js → tool-gjb7k4gb.js} +6 -6
- package/dist/chunks/{form-gk8qb678.js → tool-gk8qb678.js} +1 -1
- package/dist/chunks/{form-hes7g59n.js → tool-gn6q0njp.js} +30 -30
- package/dist/chunks/{form-429sx3jw.js → tool-grg8548d.js} +18 -18
- package/dist/chunks/{form-p6mefd3v.js → tool-gvp3we1m.js} +24 -24
- package/dist/chunks/{form-9bwjtz2n.js → tool-gvtjjnmn.js} +29 -29
- package/dist/chunks/{form-hqs8cgch.js → tool-gwb58t0j.js} +5 -5
- package/dist/chunks/{form-4jk4fvfv.js → tool-h2tk0fkt.js} +50 -42
- package/dist/chunks/{form-h6vf3j39.js → tool-h6vf3j39.js} +1 -1
- package/dist/chunks/{form-h7s7r6s9.js → tool-h7s7r6s9.js} +2 -2
- package/dist/chunks/{form-v0es1rhs.js → tool-hg3614cy.js} +9 -9
- package/dist/chunks/{form-hgz4x7wa.js → tool-hgz4x7wa.js} +1 -1
- package/dist/chunks/{form-rc0w2xfj.js → tool-hqsvs4zs.js} +14 -14
- package/dist/chunks/tool-ht5y0zrb.js +18 -0
- package/dist/chunks/{form-7sfm1t78.js → tool-hw1d7c72.js} +51 -51
- package/dist/chunks/{form-vp0gkghg.js → tool-j16v8rv3.js} +11 -11
- package/dist/chunks/{form-j56e64zr.js → tool-j56e64zr.js} +1 -1
- package/dist/chunks/{form-776eqtx9.js → tool-j5d5zpn1.js} +14 -14
- package/dist/chunks/{form-h9pnpq88.js → tool-j8m1p4p1.js} +4 -4
- package/dist/chunks/{form-y78tw1r3.js → tool-jb7jfkvq.js} +13 -13
- package/dist/chunks/{form-s5nkw20k.js → tool-jxk8k1h3.js} +25 -25
- package/dist/chunks/{form-nreerqaq.js → tool-kbjks3k1.js} +18 -18
- package/dist/chunks/{form-fxaymqdw.js → tool-khmqacep.js} +4 -4
- package/dist/chunks/{form-dda0p7y7.js → tool-kj0cy399.js} +9 -9
- package/dist/chunks/tool-kjvjttp2.js +253 -0
- package/dist/chunks/{form-3nw81xsb.js → tool-kmreqacc.js} +34 -34
- package/dist/chunks/{form-rwvz118r.js → tool-kmvrwyj0.js} +18 -18
- package/dist/chunks/{form-8g79a0vq.js → tool-kzd9jey1.js} +8 -8
- package/dist/chunks/tool-m18g726c.js +13 -0
- package/dist/chunks/{form-m3fdjcah.js → tool-m3fdjcah.js} +1 -1
- package/dist/chunks/{form-aabqwq3c.js → tool-m7sy47b1.js} +18 -18
- package/dist/chunks/{form-m9w0rfyh.js → tool-m9w0rfyh.js} +1 -1
- package/dist/chunks/{form-hnecbn5a.js → tool-mmrg9aqf.js} +13 -13
- package/dist/chunks/{form-62j05kx1.js → tool-mq656cac.js} +23 -23
- package/dist/chunks/{form-twhwxvpf.js → tool-n5gnndyc.js} +5 -5
- package/dist/chunks/{form-b49r4qmh.js → tool-n67mmnz4.js} +9 -9
- package/dist/chunks/{form-bz3n6346.js → tool-n7gvkp58.js} +3 -3
- package/dist/chunks/{form-j5w2yx54.js → tool-n8dykrk6.js} +6 -6
- package/dist/chunks/{form-gkbbrz3n.js → tool-n9dy47xj.js} +12 -12
- package/dist/chunks/{form-wq47jxww.js → tool-ncqwz9m4.js} +4 -4
- package/dist/chunks/{form-r9w3djhf.js → tool-njhqdk9p.js} +9 -9
- package/dist/chunks/{form-djg17hnq.js → tool-nxxv0fmq.js} +1 -1
- package/dist/chunks/{form-76bfnege.js → tool-p2kce4yd.js} +16 -16
- package/dist/chunks/{form-q7cwvqv2.js → tool-p8vvgsz3.js} +13 -13
- package/dist/chunks/{form-5dyt76wc.js → tool-p91ykgce.js} +14 -14
- package/dist/chunks/{form-9dr7s7bj.js → tool-pgg7zhs7.js} +13 -13
- package/dist/chunks/{form-9tv2jn71.js → tool-ph8a80xg.js} +47 -47
- package/dist/chunks/{form-pjvnvgmy.js → tool-pjvnvgmy.js} +1 -1
- package/dist/chunks/{form-pknna89w.js → tool-pknna89w.js} +1 -1
- package/dist/chunks/{form-34c7v6d4.js → tool-pkyv6v7h.js} +1 -0
- package/dist/chunks/{form-te7n14t2.js → tool-pv8mdw9p.js} +19 -19
- package/dist/chunks/{form-g0nr56tp.js → tool-pxeepxyz.js} +15 -15
- package/dist/chunks/{form-7fkffz83.js → tool-py3kkmfq.js} +4 -4
- package/dist/chunks/{form-gdwygsj8.js → tool-pyavekn7.js} +5 -5
- package/dist/chunks/{form-zpk4cdpr.js → tool-pzc00pfe.js} +21 -21
- package/dist/chunks/{form-0j77ygfz.js → tool-q0xm7vwc.js} +6 -6
- package/dist/chunks/{form-jhdf29st.js → tool-q5e7cmwt.js} +1 -1
- package/dist/chunks/{form-ff52ws4f.js → tool-q73a5vx6.js} +26 -26
- package/dist/chunks/{form-e2c4hctk.js → tool-q7g7dxqg.js} +13 -13
- package/dist/chunks/{form-jvhddpw9.js → tool-q91aa15s.js} +3 -3
- package/dist/chunks/{form-4zz8q1dy.js → tool-qbbpc6wm.js} +74 -74
- package/dist/chunks/{form-hsvj78er.js → tool-qjjb6mfv.js} +59 -59
- package/dist/chunks/{form-xsqdc333.js → tool-qn0k908c.js} +25 -25
- package/dist/chunks/{form-qnc92qwc.js → tool-qnc92qwc.js} +1 -1
- package/dist/chunks/{form-yxr65j3v.js → tool-qp5x3va9.js} +16 -16
- package/dist/chunks/{form-qsdy395h.js → tool-qsdy395h.js} +1 -1
- package/dist/chunks/{form-fa87y3b2.js → tool-qvyrhn6e.js} +15 -15
- package/dist/chunks/{form-0e3se835.js → tool-qz5qj01d.js} +9 -9
- package/dist/chunks/{form-5asn6ncy.js → tool-r1xx1spa.js} +32 -32
- package/dist/chunks/{form-8nx8bvz8.js → tool-r4kpcnjj.js} +22 -22
- package/dist/chunks/{form-54ma36ye.js → tool-r94pvvab.js} +4 -4
- package/dist/chunks/{form-wf4634q4.js → tool-r975dkdj.js} +11 -11
- package/dist/chunks/{form-rdw6cm16.js → tool-rdw6cm16.js} +1 -1
- package/dist/chunks/{form-71az546q.js → tool-rert0e01.js} +2 -2
- package/dist/chunks/{form-gfxj4jwb.js → tool-rg9ywjz0.js} +11 -11
- package/dist/chunks/{form-h2b79v29.js → tool-rj3eygr5.js} +3 -2
- package/dist/chunks/{form-2hg7qvzt.js → tool-rmm45jmv.js} +5 -5
- package/dist/chunks/{form-kffe7xqh.js → tool-rsjzvmnv.js} +27 -27
- package/dist/chunks/{form-v2926xj5.js → tool-s0bm3vva.js} +4 -4
- package/dist/chunks/{form-0m4y979k.js → tool-s1bpbtq5.js} +4 -4
- package/dist/chunks/{form-qehvaept.js → tool-s6xmpaa6.js} +25 -25
- package/dist/chunks/{form-z4v10rbr.js → tool-s9k1drx9.js} +22 -22
- package/dist/chunks/{form-azyewnfm.js → tool-s9yqr8vf.js} +2 -2
- package/dist/chunks/{form-1dvck2a7.js → tool-sa8ekw3f.js} +2 -2
- package/dist/chunks/{form-mcmsq1ma.js → tool-sjd53xnz.js} +15 -15
- package/dist/chunks/{form-73kdj4zj.js → tool-sk5hrgtc.js} +8 -8
- package/dist/chunks/{form-fgzgh5km.js → tool-spv785rj.js} +38 -38
- package/dist/chunks/{form-r2z489rp.js → tool-sxcaecc0.js} +3 -3
- package/dist/chunks/{form-tz1x93sf.js → tool-t0bwv2mg.js} +8 -8
- package/dist/chunks/{form-yd332jx1.js → tool-t1c79nbf.js} +25 -25
- package/dist/chunks/{form-dz82ykz5.js → tool-t2xt9v1m.js} +28 -28
- package/dist/chunks/{form-gpc7sdbq.js → tool-t38scxd0.js} +11 -11
- package/dist/chunks/{form-tazgh4e4.js → tool-tazgh4e4.js} +1 -1
- package/dist/chunks/{form-1d6vvqtz.js → tool-tc6f0aex.js} +22 -22
- package/dist/chunks/{form-5me3ew8t.js → tool-tczqeqc0.js} +36 -36
- package/dist/chunks/{form-tdstcens.js → tool-tdstcens.js} +1 -1
- package/dist/chunks/{form-m21a3qzg.js → tool-tezksqm5.js} +34 -34
- package/dist/chunks/{form-eq1ww8dg.js → tool-trtdj8pg.js} +4 -4
- package/dist/chunks/{form-6xnkjpvb.js → tool-ts5r4aaq.js} +11 -11
- package/dist/chunks/{form-m70sbz6t.js → tool-ttqh24zm.js} +4 -4
- package/dist/chunks/{form-j8pqw26r.js → tool-tx4mgqww.js} +6 -6
- package/dist/chunks/{form-dgbm9y3x.js → tool-ty22trqb.js} +18 -18
- package/dist/chunks/{form-tyytaxap.js → tool-tyytaxap.js} +1 -1
- package/dist/chunks/{form-nc8ynfdm.js → tool-tzhsj38v.js} +10 -10
- package/dist/chunks/{form-a924ge7t.js → tool-v009g4pj.js} +33 -33
- package/dist/chunks/{form-d1sgd2rz.js → tool-v0vwmemp.js} +41 -41
- package/dist/chunks/{form-d7x0sh0y.js → tool-v1vh7s4p.js} +5 -5
- package/dist/chunks/{form-wrj7k67z.js → tool-v5wh5e70.js} +17 -17
- package/dist/chunks/{form-re6xefaf.js → tool-v66a0s1a.js} +19 -19
- package/dist/chunks/{form-v7p4zvkq.js → tool-v7p4zvkq.js} +2 -2
- package/dist/chunks/{form-9bfc4y5b.js → tool-v8xdx15a.js} +32 -32
- package/dist/chunks/{form-veqvce7d.js → tool-veqvce7d.js} +1 -1
- package/dist/chunks/{form-hr579x6a.js → tool-vk0rmyh3.js} +89 -89
- package/dist/chunks/{form-j7qrg605.js → tool-vqvv5sj1.js} +14 -14
- package/dist/chunks/{form-vrdveqzq.js → tool-vtwnmbmj.js} +45 -45
- package/dist/chunks/{form-vzs5sf6e.js → tool-vzs5sf6e.js} +1 -1
- package/dist/chunks/{form-w3wsvvr9.js → tool-w3wsvvr9.js} +1 -1
- package/dist/chunks/{form-qzrp65ar.js → tool-w7jtf2m2.js} +19 -19
- package/dist/chunks/{form-tx40bvt8.js → tool-w81spx5m.js} +4 -4
- package/dist/chunks/{form-wd87259q.js → tool-wd87259q.js} +1 -1
- package/dist/chunks/{form-tk14y25j.js → tool-wh6zw745.js} +5 -5
- package/dist/chunks/{form-ph842b28.js → tool-wj76ss2k.js} +4 -4
- package/dist/chunks/{form-cm3zn5gm.js → tool-wkz90rt8.js} +36 -36
- package/dist/chunks/{form-end0mr5f.js → tool-wsfr8qtv.js} +11 -11
- package/dist/chunks/{form-qxk5mzbz.js → tool-wty1egvx.js} +16 -16
- package/dist/chunks/{form-repwdqvh.js → tool-wztntb4s.js} +12 -12
- package/dist/chunks/{form-naa1sva5.js → tool-x5vpq02z.js} +48 -48
- package/dist/chunks/{form-fh4ge1rm.js → tool-x7wafmke.js} +13 -13
- package/dist/chunks/{form-gdqc804d.js → tool-xagztgbr.js} +8 -8
- package/dist/chunks/{form-qabyx9xz.js → tool-xbc6qp68.js} +6 -6
- package/dist/chunks/{form-nqa8btv9.js → tool-xbqyc1h2.js} +14 -14
- package/dist/chunks/{form-qqeeq2t9.js → tool-xfkkasph.js} +7 -7
- package/dist/chunks/{form-907xmcwg.js → tool-xtfwraxg.js} +35 -35
- package/dist/chunks/{form-vbvznpsc.js → tool-xxvssexd.js} +13 -13
- package/dist/chunks/{form-2tz229t4.js → tool-xxxth0pp.js} +5 -5
- package/dist/chunks/{form-kkpxd18v.js → tool-xyee9vg5.js} +46 -46
- package/dist/chunks/{form-y1fvbwt7.js → tool-y1fvbwt7.js} +1 -1
- package/dist/chunks/{form-ydgy0jv4.js → tool-y3wpwyaa.js} +6 -6
- package/dist/chunks/{form-dnfex989.js → tool-y58x68vn.js} +26 -26
- package/dist/chunks/{form-5pyjqqve.js → tool-y5beyqvm.js} +2 -2
- package/dist/chunks/{form-dpkg50ah.js → tool-y71avatq.js} +4 -4
- package/dist/chunks/{form-by968z8v.js → tool-y78g4pym.js} +9 -9
- package/dist/chunks/{form-2m8jawch.js → tool-y97hy3kz.js} +4 -4
- package/dist/chunks/{form-f2n192rq.js → tool-yp2x3t23.js} +4 -4
- package/dist/chunks/{form-tydzfyyg.js → tool-ysvssewb.js} +26 -26
- package/dist/chunks/{form-bjx1sjef.js → tool-ywt8jp22.js} +9 -9
- package/dist/chunks/{form-q0vhpe4t.js → tool-yzdmepj7.js} +36 -36
- package/dist/chunks/{form-z0bkrqjs.js → tool-z0bkrqjs.js} +1 -1
- package/dist/chunks/{form-7y3ej9my.js → tool-z3hze8ne.js} +13 -13
- package/dist/chunks/{form-awme6kvv.js → tool-zc9nacpj.js} +37 -37
- package/dist/chunks/{form-pe0qafpd.js → tool-zjz1t4e7.js} +9 -9
- package/dist/chunks/{form-zr2ceqn5.js → tool-zr2ceqn5.js} +1 -1
- package/dist/chunks/{form-x661k3y3.js → tool-zw2hpfmh.js} +4 -4
- package/dist/chunks/{form-vx3jgdek.js → tool-zx95ftzb.js} +3 -3
- package/dist/chunks/{form-zxq2ej10.js → tool-zxq2ej10.js} +1 -1
- package/dist/codemode/catalog.js +1 -1
- package/dist/codemode/instructions.js +7 -7
- 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 +118 -117
- 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 +117 -116
- 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 +121 -120
- package/dist/credential/sql.js +2 -2
- package/dist/credential.js +87 -86
- package/dist/database/database.js +74 -73
- 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 +81 -80
- 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 +97 -96
- package/dist/environment/local.js +2 -2
- package/dist/environment/memory.js +2 -2
- package/dist/environment/unavailable.js +3 -3
- package/dist/event/sql.js +1 -1
- package/dist/event-logger.js +76 -75
- 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 +3 -3
- package/dist/filesystem/watcher.js +13 -13
- 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 +101 -100
- 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 +85 -84
- package/dist/instructions/builtins.js +89 -88
- package/dist/instructions/index.js +3 -3
- 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 +136 -135
- 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 +101 -100
- package/dist/model-resolver.js +100 -99
- package/dist/model.js +102 -101
- package/dist/models-dev.js +105 -104
- 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 +119 -118
- 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 +5 -5
- 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 +2 -2
- 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 +127 -126
- 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 +95 -94
- 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 +78 -77
- 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 +346 -345
- 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 +6 -6
- 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 +220 -219
- 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 +91 -90
- package/dist/reference.js +91 -90
- package/dist/repository-cache.js +83 -82
- package/dist/repository.js +1 -1
- package/dist/ripgrep/binary.js +2 -2
- package/dist/ripgrep.js +97 -96
- 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 +7 -7
- package/dist/session/event.js +1 -1
- package/dist/session/execution/restart.js +219 -218
- package/dist/session/execution.js +129 -128
- package/dist/session/generate.js +156 -155
- package/dist/session/history.js +15 -15
- 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 +2 -2
- package/dist/session/message.js +1 -1
- package/dist/session/model-request.js +118 -117
- package/dist/session/model-transport.js +5 -5
- 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 +2 -2
- 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 +77 -76
- package/dist/session/store.js +89 -88
- package/dist/session/subagent-completion.js +1 -1
- package/dist/session/subagent-job.js +203 -202
- package/dist/session/system-prompt.js +5 -5
- package/dist/session/title.js +159 -158
- package/dist/session/to-session-error.js +113 -112
- package/dist/session/transfer.js +218 -217
- package/dist/session/usage.js +1 -1
- package/dist/session.js +215 -214
- 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 +4 -4
- package/dist/skill/instructions.js +109 -108
- package/dist/skill.js +116 -115
- package/dist/snapshot.js +95 -94
- 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 +130 -129
- package/dist/tool/plugin/edit.js +120 -119
- package/dist/tool/plugin/file-diff.js +1 -1
- package/dist/tool/plugin/glob.js +126 -125
- package/dist/tool/plugin/grep.js +126 -125
- 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 +107 -106
- package/dist/tool/plugin/read.js +127 -126
- package/dist/tool/plugin/shell.js +210 -209
- package/dist/tool/plugin/skill.js +113 -112
- package/dist/tool/plugin/subagent.js +214 -213
- package/dist/tool/plugin/webfetch.js +114 -113
- package/dist/tool/plugin/websearch.js +114 -113
- package/dist/tool/plugin/write.js +124 -123
- package/dist/tool/read-filesystem.js +102 -101
- 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 +7 -7
- package/dist/v1/config/command.js +3 -3
- package/dist/v1/config/error.js +4 -4
- package/dist/v1/config/mcp.js +4 -4
- package/dist/v1/config/migrate.js +94 -93
- package/dist/v1/config/permission.js +7 -7
- package/dist/v1/config/plugin.js +1 -1
- package/dist/v1/config/provider-options.js +1 -1
- package/dist/v1/config/provider.js +4 -4
- 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 +81 -80
- 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 +10 -10
- 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/form-0k5fr05e.js +0 -26
- package/dist/chunks/form-hbgvnztq.js +0 -253
- package/dist/chunks/form-phz3h32g.js +0 -18
- /package/dist/chunks/{form-0qkdqm5v.js → tool-0qkdqm5v.js} +0 -0
- /package/dist/chunks/{form-0zkw76rk.js → tool-0zkw76rk.js} +0 -0
- /package/dist/chunks/{form-17cy0kzp.js → tool-17cy0kzp.js} +0 -0
- /package/dist/chunks/{form-1cnp2v09.js → tool-1cnp2v09.js} +0 -0
- /package/dist/chunks/{form-1kg9ymc8.js → tool-1kg9ymc8.js} +0 -0
- /package/dist/chunks/{form-24dcb14g.js → tool-24dcb14g.js} +0 -0
- /package/dist/chunks/{form-2710q6r3.js → tool-2710q6r3.js} +0 -0
- /package/dist/chunks/{form-2axfhc9x.js → tool-2axfhc9x.js} +0 -0
- /package/dist/chunks/{form-2bv980vf.js → tool-2bv980vf.js} +0 -0
- /package/dist/chunks/{form-2c3vjs8z.js → tool-2c3vjs8z.js} +0 -0
- /package/dist/chunks/{form-359p4xyc.js → tool-359p4xyc.js} +0 -0
- /package/dist/chunks/{form-3asan66x.js → tool-3asan66x.js} +0 -0
- /package/dist/chunks/{form-3t0ybcrp.js → tool-3t0ybcrp.js} +0 -0
- /package/dist/chunks/{form-3v8g72cx.js → tool-3v8g72cx.js} +0 -0
- /package/dist/chunks/{form-3wcehsnq.js → tool-3wcehsnq.js} +0 -0
- /package/dist/chunks/{form-43n2bw4t.js → tool-43n2bw4t.js} +0 -0
- /package/dist/chunks/{form-4knz6hnm.js → tool-4knz6hnm.js} +0 -0
- /package/dist/chunks/{form-4vcrnpx2.js → tool-4vcrnpx2.js} +0 -0
- /package/dist/chunks/{form-4y7fprxs.js → tool-4y7fprxs.js} +0 -0
- /package/dist/chunks/{form-53557ph1.js → tool-53557ph1.js} +0 -0
- /package/dist/chunks/{form-550bvhaj.js → tool-550bvhaj.js} +0 -0
- /package/dist/chunks/{form-6prwharc.js → tool-6prwharc.js} +0 -0
- /package/dist/chunks/{form-6q2bdcd1.js → tool-6q2bdcd1.js} +0 -0
- /package/dist/chunks/{form-7akdwqpd.js → tool-7akdwqpd.js} +0 -0
- /package/dist/chunks/{form-7m9af43g.js → tool-7m9af43g.js} +0 -0
- /package/dist/chunks/{form-822emrt2.js → tool-822emrt2.js} +0 -0
- /package/dist/chunks/{form-84wd9syh.js → tool-84wd9syh.js} +0 -0
- /package/dist/chunks/{form-88xbtdfr.js → tool-88xbtdfr.js} +0 -0
- /package/dist/chunks/{form-8n3pysct.js → tool-8n3pysct.js} +0 -0
- /package/dist/chunks/{form-8wj87zfr.js → tool-8wj87zfr.js} +0 -0
- /package/dist/chunks/{form-9a4afbnw.js → tool-9a4afbnw.js} +0 -0
- /package/dist/chunks/{form-9rqn6x4v.js → tool-9rqn6x4v.js} +0 -0
- /package/dist/chunks/{form-a6k6eb26.js → tool-a6k6eb26.js} +0 -0
- /package/dist/chunks/{form-af5trqkr.js → tool-af5trqkr.js} +0 -0
- /package/dist/chunks/{form-afrmfg78.js → tool-afrmfg78.js} +0 -0
- /package/dist/chunks/{form-aqzs7mqg.js → tool-aqzs7mqg.js} +0 -0
- /package/dist/chunks/{form-atq7p7m5.js → tool-atq7p7m5.js} +0 -0
- /package/dist/chunks/{form-bkyjaxrp.js → tool-bkyjaxrp.js} +0 -0
- /package/dist/chunks/{form-bmr6ed5q.js → tool-bmr6ed5q.js} +0 -0
- /package/dist/chunks/{form-bw78ga2c.js → tool-bw78ga2c.js} +0 -0
- /package/dist/chunks/{form-cf4snx6d.js → tool-cf4snx6d.js} +0 -0
- /package/dist/chunks/{form-cvy3z8tj.js → tool-cvy3z8tj.js} +0 -0
- /package/dist/chunks/{form-d9fn303g.js → tool-d9fn303g.js} +0 -0
- /package/dist/chunks/{form-d9jj8t3e.js → tool-d9jj8t3e.js} +0 -0
- /package/dist/chunks/{form-dajrwvna.js → tool-dajrwvna.js} +0 -0
- /package/dist/chunks/{form-dap0rakb.js → tool-dap0rakb.js} +0 -0
- /package/dist/chunks/{form-df08tz66.js → tool-df08tz66.js} +0 -0
- /package/dist/chunks/{form-dy18nga0.js → tool-dy18nga0.js} +0 -0
- /package/dist/chunks/{form-e5kj55wp.js → tool-e5kj55wp.js} +0 -0
- /package/dist/chunks/{form-e73j6tqm.js → tool-e73j6tqm.js} +0 -0
- /package/dist/chunks/{form-ec1grn59.js → tool-ec1grn59.js} +0 -0
- /package/dist/chunks/{form-eh3zwz77.js → tool-eh3zwz77.js} +0 -0
- /package/dist/chunks/{form-emrn6kk6.js → tool-emrn6kk6.js} +0 -0
- /package/dist/chunks/{form-f0mxakyp.js → tool-f0mxakyp.js} +0 -0
- /package/dist/chunks/{form-f6n9ztr4.js → tool-f6n9ztr4.js} +0 -0
- /package/dist/chunks/{form-faypxj3z.js → tool-faypxj3z.js} +0 -0
- /package/dist/chunks/{form-fd410y7t.js → tool-fd410y7t.js} +0 -0
- /package/dist/chunks/{form-g4wezp1m.js → tool-g4wezp1m.js} +0 -0
- /package/dist/chunks/{form-g86h250q.js → tool-g86h250q.js} +0 -0
- /package/dist/chunks/{form-gebd4c9n.js → tool-gebd4c9n.js} +0 -0
- /package/dist/chunks/{form-gftt206x.js → tool-gftt206x.js} +0 -0
- /package/dist/chunks/{form-hk9envan.js → tool-hk9envan.js} +0 -0
- /package/dist/chunks/{form-j2ntwpah.js → tool-j2ntwpah.js} +0 -0
- /package/dist/chunks/{form-j5zkgpj8.js → tool-j5zkgpj8.js} +0 -0
- /package/dist/chunks/{form-jjkms2e6.js → tool-jjkms2e6.js} +0 -0
- /package/dist/chunks/{form-jr7sbwjy.js → tool-jr7sbwjy.js} +0 -0
- /package/dist/chunks/{form-jwfs4k6c.js → tool-jwfs4k6c.js} +0 -0
- /package/dist/chunks/{form-jze0r7bz.js → tool-jze0r7bz.js} +0 -0
- /package/dist/chunks/{form-jzg6c2d5.js → tool-jzg6c2d5.js} +0 -0
- /package/dist/chunks/{form-mp448xyj.js → tool-mp448xyj.js} +0 -0
- /package/dist/chunks/{form-msx8hqn2.js → tool-msx8hqn2.js} +0 -0
- /package/dist/chunks/{form-n05xt0ee.js → tool-n05xt0ee.js} +0 -0
- /package/dist/chunks/{form-n3j8tn72.js → tool-n3j8tn72.js} +0 -0
- /package/dist/chunks/{form-njntx4h6.js → tool-njntx4h6.js} +0 -0
- /package/dist/chunks/{form-pyv0edze.js → tool-pyv0edze.js} +0 -0
- /package/dist/chunks/{form-q3sfg36h.js → tool-q3sfg36h.js} +0 -0
- /package/dist/chunks/{form-q74kybfr.js → tool-q74kybfr.js} +0 -0
- /package/dist/chunks/{form-qaymkmh1.js → tool-qaymkmh1.js} +0 -0
- /package/dist/chunks/{form-qb87gjwd.js → tool-qb87gjwd.js} +0 -0
- /package/dist/chunks/{form-qfa1cgps.js → tool-qfa1cgps.js} +0 -0
- /package/dist/chunks/{form-qg3g05ea.js → tool-qg3g05ea.js} +0 -0
- /package/dist/chunks/{form-qrg20bc0.js → tool-qrg20bc0.js} +0 -0
- /package/dist/chunks/{form-rcb2kzg1.js → tool-rcb2kzg1.js} +0 -0
- /package/dist/chunks/{form-sdp7kfr6.js → tool-sdp7kfr6.js} +0 -0
- /package/dist/chunks/{form-ssg3fenm.js → tool-ssg3fenm.js} +0 -0
- /package/dist/chunks/{form-ve7vex1e.js → tool-ve7vex1e.js} +0 -0
- /package/dist/chunks/{form-w803qqfp.js → tool-w803qqfp.js} +0 -0
- /package/dist/chunks/{form-wc3fc9cn.js → tool-wc3fc9cn.js} +0 -0
- /package/dist/chunks/{form-wer8tq1h.js → tool-wer8tq1h.js} +0 -0
- /package/dist/chunks/{form-wtztk69x.js → tool-wtztk69x.js} +0 -0
- /package/dist/chunks/{form-x0ckcb58.js → tool-x0ckcb58.js} +0 -0
- /package/dist/chunks/{form-x61499pn.js → tool-x61499pn.js} +0 -0
- /package/dist/chunks/{form-y44na4kk.js → tool-y44na4kk.js} +0 -0
- /package/dist/chunks/{form-y8f7s663.js → tool-y8f7s663.js} +0 -0
- /package/dist/chunks/{form-ygaqb7jw.js → tool-ygaqb7jw.js} +0 -0
- /package/dist/chunks/{form-ym463w8f.js → tool-ym463w8f.js} +0 -0
- /package/dist/chunks/{form-z5v4ffb3.js → tool-z5v4ffb3.js} +0 -0
- /package/dist/chunks/{form-z9919s4g.js → tool-z9919s4g.js} +0 -0
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
import {
|
|
2
|
-
|
|
3
|
-
} from "./
|
|
2
|
+
Service77
|
|
3
|
+
} from "./tool-aw87ckgg.js";
|
|
4
4
|
import {
|
|
5
5
|
__export
|
|
6
|
-
} from "./
|
|
6
|
+
} from "./tool-9rqn6x4v.js";
|
|
7
7
|
|
|
8
8
|
// src/mcp/stdio.ts
|
|
9
9
|
var exports_stdio = {};
|
|
@@ -21,7 +21,7 @@ var MAX_FRAME_BYTES = 16 * 1024 * 1024;
|
|
|
21
21
|
var EXIT_WAIT = Duration.seconds(1);
|
|
22
22
|
var STDERR_TAIL = 1000;
|
|
23
23
|
var make2 = Effect.fnUntraced(function* (options) {
|
|
24
|
-
const environment = yield*
|
|
24
|
+
const environment = yield* Service77;
|
|
25
25
|
const scope = yield* Effect.scope;
|
|
26
26
|
const outgoing = yield* Queue.bounded(OUTGOING_CAPACITY);
|
|
27
27
|
const buffer = new ReadBuffer;
|
|
@@ -1,32 +1,32 @@
|
|
|
1
1
|
import {
|
|
2
|
-
|
|
3
|
-
} from "./
|
|
2
|
+
Service50
|
|
3
|
+
} from "./tool-d65vh0bp.js";
|
|
4
4
|
import {
|
|
5
|
-
|
|
6
|
-
} from "./
|
|
5
|
+
Service49
|
|
6
|
+
} from "./tool-ph8a80xg.js";
|
|
7
7
|
import {
|
|
8
8
|
parse2
|
|
9
|
-
} from "./
|
|
9
|
+
} from "./tool-tx4mgqww.js";
|
|
10
10
|
import {
|
|
11
11
|
__export
|
|
12
|
-
} from "./
|
|
12
|
+
} from "./tool-9rqn6x4v.js";
|
|
13
13
|
|
|
14
14
|
// src/config/plugin/compatibility.ts
|
|
15
15
|
var exports_compatibility = {};
|
|
16
16
|
__export(exports_compatibility, {
|
|
17
17
|
ConfigCompatibilityPlugin: () => exports_compatibility,
|
|
18
|
-
Plugin: () =>
|
|
18
|
+
Plugin: () => Plugin10
|
|
19
19
|
});
|
|
20
20
|
import { define } from "@opencode/plugin/effect/plugin";
|
|
21
21
|
import { FSUtil } from "@opencode/util/fs-util";
|
|
22
22
|
import path from "path";
|
|
23
23
|
import { Effect, FiberMap, PubSub, Semaphore, Stream } from "effect";
|
|
24
|
-
var
|
|
24
|
+
var Plugin10 = define({
|
|
25
25
|
id: "opencode.config.compatibility",
|
|
26
26
|
effect: Effect.fn(function* (ctx) {
|
|
27
|
-
const config = yield*
|
|
27
|
+
const config = yield* Service49;
|
|
28
28
|
const fs = yield* FSUtil.Service;
|
|
29
|
-
const watcher = yield*
|
|
29
|
+
const watcher = yield* Service50;
|
|
30
30
|
const watches = yield* FiberMap.make();
|
|
31
31
|
const changes = yield* PubSub.sliding(1);
|
|
32
32
|
const lock = Semaphore.makeUnsafe(1);
|
|
@@ -73,4 +73,4 @@ var Plugin35 = define({
|
|
|
73
73
|
})
|
|
74
74
|
});
|
|
75
75
|
|
|
76
|
-
export {
|
|
76
|
+
export { Plugin10, exports_compatibility };
|
|
@@ -1,18 +1,18 @@
|
|
|
1
1
|
import {
|
|
2
2
|
__export
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./tool-9rqn6x4v.js";
|
|
4
4
|
|
|
5
5
|
// src/session/runner/index.ts
|
|
6
6
|
var exports_runner = {};
|
|
7
7
|
__export(exports_runner, {
|
|
8
8
|
DrainResult: () => DrainResult2,
|
|
9
|
-
Service: () =>
|
|
9
|
+
Service: () => Service53,
|
|
10
10
|
SessionRunner: () => exports_runner
|
|
11
11
|
});
|
|
12
12
|
import { Context, Data } from "effect";
|
|
13
13
|
var DrainResult2 = Data.taggedEnum();
|
|
14
14
|
|
|
15
|
-
class
|
|
15
|
+
class Service53 extends Context.Service()("@opencode/SessionRunner") {
|
|
16
16
|
}
|
|
17
17
|
|
|
18
|
-
export { DrainResult2,
|
|
18
|
+
export { DrainResult2, Service53, exports_runner };
|
|
@@ -1,16 +1,16 @@
|
|
|
1
1
|
import {
|
|
2
2
|
parseOption2
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./tool-8m6m0r52.js";
|
|
4
4
|
import {
|
|
5
5
|
AbsolutePath2
|
|
6
|
-
} from "./
|
|
6
|
+
} from "./tool-z5v4ffb3.js";
|
|
7
7
|
import {
|
|
8
|
-
|
|
8
|
+
ID10,
|
|
9
9
|
Name2
|
|
10
|
-
} from "./
|
|
10
|
+
} from "./tool-7v5jhnkv.js";
|
|
11
11
|
import {
|
|
12
12
|
__export
|
|
13
|
-
} from "./
|
|
13
|
+
} from "./tool-9rqn6x4v.js";
|
|
14
14
|
|
|
15
15
|
// src/config/plugin/skill-file.ts
|
|
16
16
|
var exports_skill_file = {};
|
|
@@ -62,7 +62,7 @@ function parse2(directory, filepath, content) {
|
|
|
62
62
|
return {
|
|
63
63
|
_tag: "Parsed",
|
|
64
64
|
skill: {
|
|
65
|
-
id:
|
|
65
|
+
id: ID10.make(id),
|
|
66
66
|
name: Name2.make(frontmatter.name ?? id),
|
|
67
67
|
...frontmatter.description === undefined ? {} : { description: frontmatter.description },
|
|
68
68
|
...autoinvoke === undefined ? {} : { autoinvoke },
|
|
@@ -1,24 +1,24 @@
|
|
|
1
1
|
import {
|
|
2
2
|
PositiveInt2
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./tool-z5v4ffb3.js";
|
|
4
4
|
import {
|
|
5
5
|
Action2
|
|
6
|
-
} from "./
|
|
6
|
+
} from "./tool-bmr56wjg.js";
|
|
7
7
|
import {
|
|
8
|
-
|
|
9
|
-
} from "./
|
|
8
|
+
Info10
|
|
9
|
+
} from "./tool-bfegkxfd.js";
|
|
10
10
|
import {
|
|
11
|
-
|
|
12
|
-
} from "./
|
|
11
|
+
Info9
|
|
12
|
+
} from "./tool-fqb2p7cx.js";
|
|
13
13
|
import {
|
|
14
|
-
|
|
15
|
-
} from "./
|
|
14
|
+
Info12
|
|
15
|
+
} from "./tool-wh6zw745.js";
|
|
16
16
|
import {
|
|
17
17
|
Spec2
|
|
18
|
-
} from "./
|
|
18
|
+
} from "./tool-7dqw4kz8.js";
|
|
19
19
|
import {
|
|
20
|
-
|
|
21
|
-
} from "./
|
|
20
|
+
Info13
|
|
21
|
+
} from "./tool-0r3c1bmw.js";
|
|
22
22
|
import {
|
|
23
23
|
normalizeAction2,
|
|
24
24
|
migrateAgent2,
|
|
@@ -27,10 +27,10 @@ import {
|
|
|
27
27
|
migrateMcp2,
|
|
28
28
|
migrateProvider2,
|
|
29
29
|
providerID2
|
|
30
|
-
} from "./
|
|
30
|
+
} from "./tool-b6cwqfv7.js";
|
|
31
31
|
import {
|
|
32
32
|
__export
|
|
33
|
-
} from "./
|
|
33
|
+
} from "./tool-9rqn6x4v.js";
|
|
34
34
|
|
|
35
35
|
// src/config/normalize.ts
|
|
36
36
|
var exports_normalize = {};
|
|
@@ -97,12 +97,12 @@ function normalize2(input) {
|
|
|
97
97
|
const legacyReferences = decodeMap(input.reference, ConfigReference.Entry, ["reference"], diagnostics, decodeEncoded);
|
|
98
98
|
const nativeReferences = decodeMap(input.references, ConfigReference.Entry, ["references"], diagnostics, decodeEncoded);
|
|
99
99
|
mergeMap(encoded, "references", legacyReferences, nativeReferences, isRecord(input.reference) || isRecord(input.references), diagnostics);
|
|
100
|
-
const legacyCommands = decodeMap(input.command,
|
|
100
|
+
const legacyCommands = decodeMap(input.command, Info9, ["command"], diagnostics, decodeValue);
|
|
101
101
|
diagnoseSelectionMap(input.command, ["command"], diagnostics);
|
|
102
102
|
const migratedCommands = mapValues(legacyCommands, (value) => canonical(ConfigCommand.Info, migrateCommand2(value)));
|
|
103
103
|
const nativeCommands = decodeMap(input.commands, ConfigCommand.Info, ["commands"], diagnostics, decodeEncoded);
|
|
104
104
|
mergeMap(encoded, "commands", migratedCommands, nativeCommands, isRecord(input.command) || isRecord(input.commands), diagnostics);
|
|
105
|
-
const legacyAgents = mapValues(decodeMap(input.agent,
|
|
105
|
+
const legacyAgents = mapValues(decodeMap(input.agent, Info10, ["agent"], diagnostics, decodeValue), (value) => canonical(ConfigAgent.Info, migrateAgent2(value)));
|
|
106
106
|
const legacySmallModel = own(input, "small_model") ? decodeValue(Schema.String, input.small_model, ["small_model"], diagnostics) : undefined;
|
|
107
107
|
const migratedSmallModel = modelSelection2(legacySmallModel);
|
|
108
108
|
if (legacySmallModel && !migratedSmallModel)
|
|
@@ -116,7 +116,7 @@ function normalize2(input) {
|
|
|
116
116
|
model: migratedSmallModel,
|
|
117
117
|
...legacyAgents.title
|
|
118
118
|
};
|
|
119
|
-
const modeAgents = mapValues(decodeMap(input.mode,
|
|
119
|
+
const modeAgents = mapValues(decodeMap(input.mode, Info10, ["mode"], diagnostics, decodeValue), (value) => canonical(ConfigAgent.Info, migrateAgent2({ ...value, mode: "primary" })));
|
|
120
120
|
const migratedAgents = mergeMaps(legacyAgents, modeAgents, ["agents"], diagnostics);
|
|
121
121
|
const nativeAgents = decodeMap(input.agents, ConfigAgent.Info, ["agents"], diagnostics, decodeEncoded);
|
|
122
122
|
diagnoseAgentUnsupported(input.agent, ["agent"], diagnostics);
|
|
@@ -217,7 +217,7 @@ function normalizeMcp(input, encoded, diagnostics) {
|
|
|
217
217
|
normalizeMcpTimeout(value, timeout, path, diagnostics);
|
|
218
218
|
return;
|
|
219
219
|
}
|
|
220
|
-
const server = decodeValue(
|
|
220
|
+
const server = decodeValue(Info12, value, path, diagnostics);
|
|
221
221
|
if (server !== undefined)
|
|
222
222
|
setOwn(legacyServers, name, canonical(ConfigMCP.Server, migrateMcp2(server)));
|
|
223
223
|
});
|
|
@@ -413,7 +413,7 @@ function migrateProviders(value, diagnostics) {
|
|
|
413
413
|
diagnoseProviderUnsupported(raw, path, diagnostics);
|
|
414
414
|
if (invalidProviderOverlays(raw, path, diagnostics))
|
|
415
415
|
return [];
|
|
416
|
-
const provider = decodeValue(
|
|
416
|
+
const provider = decodeValue(Info13, raw, path, diagnostics);
|
|
417
417
|
if (provider === undefined)
|
|
418
418
|
return [];
|
|
419
419
|
const destination = providerID2(name);
|
|
@@ -1,30 +1,30 @@
|
|
|
1
1
|
import {
|
|
2
2
|
match2
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./tool-y1fvbwt7.js";
|
|
4
4
|
import {
|
|
5
5
|
__export
|
|
6
|
-
} from "./
|
|
6
|
+
} from "./tool-9rqn6x4v.js";
|
|
7
7
|
|
|
8
8
|
// src/managed-policy.ts
|
|
9
9
|
var exports_managed_policy = {};
|
|
10
10
|
__export(exports_managed_policy, {
|
|
11
11
|
ManagedPolicy: () => exports_managed_policy,
|
|
12
|
-
Service: () =>
|
|
12
|
+
Service: () => Service44,
|
|
13
13
|
decision: () => decision2,
|
|
14
|
-
layer: () =>
|
|
15
|
-
node: () =>
|
|
14
|
+
layer: () => layer19,
|
|
15
|
+
node: () => node47,
|
|
16
16
|
statements: () => statements2
|
|
17
17
|
});
|
|
18
18
|
import { isDeepStrictEqual } from "node:util";
|
|
19
19
|
import { Context, Effect, Layer, PubSub, Stream } from "effect";
|
|
20
20
|
import { makeGlobalNode } from "@opencode/util/effect/app-node";
|
|
21
21
|
|
|
22
|
-
class
|
|
22
|
+
class Service44 extends Context.Service()("@opencode/ManagedPolicy") {
|
|
23
23
|
}
|
|
24
|
-
var
|
|
24
|
+
var layer19 = Layer.effect(Service44, Effect.gen(function* () {
|
|
25
25
|
const changes = yield* PubSub.unbounded();
|
|
26
26
|
const state = { current: { statements: [] } };
|
|
27
|
-
return
|
|
27
|
+
return Service44.of({
|
|
28
28
|
changes: () => Stream.fromPubSub(changes),
|
|
29
29
|
current: () => state.current,
|
|
30
30
|
set: (next) => Effect.gen(function* () {
|
|
@@ -36,7 +36,7 @@ var layer28 = Layer.effect(Service85, Effect.gen(function* () {
|
|
|
36
36
|
})
|
|
37
37
|
});
|
|
38
38
|
}));
|
|
39
|
-
var
|
|
39
|
+
var node47 = makeGlobalNode({ service: Service44, layer: layer19, deps: [] });
|
|
40
40
|
function statements2(entries, organization) {
|
|
41
41
|
return [
|
|
42
42
|
...entries.filter((entry) => entry.type === "document").toReversed().flatMap((entry) => entry.info.experimental?.policies ?? []).map((policy) => ({ ...policy, message: "Blocked by configuration policy" })),
|
|
@@ -50,4 +50,4 @@ function decision2(policies, action, resource) {
|
|
|
50
50
|
return policies.findLast((policy) => policy.action === action && match2(resource, policy.resource))?.effect ?? "allow";
|
|
51
51
|
}
|
|
52
52
|
|
|
53
|
-
export {
|
|
53
|
+
export { Service44, layer19, node47, statements2, decision2, exports_managed_policy };
|
|
@@ -1,28 +1,28 @@
|
|
|
1
1
|
import {
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
} from "./
|
|
2
|
+
Service84,
|
|
3
|
+
node88
|
|
4
|
+
} from "./tool-2hbmtk01.js";
|
|
5
5
|
import {
|
|
6
6
|
shutdown2,
|
|
7
7
|
create3
|
|
8
|
-
} from "./
|
|
8
|
+
} from "./tool-rdw6cm16.js";
|
|
9
9
|
import {
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
} from "./
|
|
10
|
+
Service78,
|
|
11
|
+
node80
|
|
12
|
+
} from "./tool-b279fhh5.js";
|
|
13
13
|
import {
|
|
14
14
|
rewrite2,
|
|
15
|
-
|
|
15
|
+
ID6,
|
|
16
16
|
modelSettings2,
|
|
17
17
|
mergeOverlay2,
|
|
18
18
|
mergeHeaders2,
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
} from "./
|
|
19
|
+
Service62,
|
|
20
|
+
node64,
|
|
21
|
+
Event12
|
|
22
|
+
} from "./tool-c9b8trf9.js";
|
|
23
23
|
import {
|
|
24
24
|
__export
|
|
25
|
-
} from "./
|
|
25
|
+
} from "./tool-9rqn6x4v.js";
|
|
26
26
|
|
|
27
27
|
// src/model.ts
|
|
28
28
|
var exports_model2 = {};
|
|
@@ -30,18 +30,18 @@ __export(exports_model2, {
|
|
|
30
30
|
Capabilities: () => Capabilities2,
|
|
31
31
|
Compatibility: () => Compatibility2,
|
|
32
32
|
Cost: () => Cost2,
|
|
33
|
-
Event: () =>
|
|
33
|
+
Event: () => Event11,
|
|
34
34
|
Family: () => Family2,
|
|
35
|
-
ID: () =>
|
|
36
|
-
Info: () =>
|
|
35
|
+
ID: () => ID5,
|
|
36
|
+
Info: () => Info15,
|
|
37
37
|
Model: () => exports_model2,
|
|
38
38
|
ReasoningField: () => ReasoningField2,
|
|
39
39
|
Ref: () => Ref2,
|
|
40
|
-
Service: () =>
|
|
40
|
+
Service: () => Service61,
|
|
41
41
|
VariantID: () => VariantID2,
|
|
42
42
|
compatibility: () => compatibility2,
|
|
43
43
|
mergeCapabilities: () => mergeCapabilities2,
|
|
44
|
-
node: () =>
|
|
44
|
+
node: () => node63,
|
|
45
45
|
parse: () => parse5,
|
|
46
46
|
supportsText: () => supportsText2
|
|
47
47
|
});
|
|
@@ -49,8 +49,8 @@ import { Model } from "@opencode/schema/model";
|
|
|
49
49
|
import { Context, Effect, Layer, Stream } from "effect";
|
|
50
50
|
import { makeLocationNode } from "@opencode/util/effect/app-node";
|
|
51
51
|
import { freeze } from "immer";
|
|
52
|
-
import { Event as
|
|
53
|
-
var
|
|
52
|
+
import { Event as Event11 } from "@opencode/schema/model";
|
|
53
|
+
var ID5 = Model.ID;
|
|
54
54
|
var VariantID2 = Model.VariantID;
|
|
55
55
|
var Family2 = Model.Family;
|
|
56
56
|
var ReasoningField2 = Model.ReasoningField;
|
|
@@ -66,14 +66,14 @@ var mergeCapabilities2 = (config, base) => {
|
|
|
66
66
|
};
|
|
67
67
|
var Cost2 = Model.Cost;
|
|
68
68
|
var Ref2 = Model.Ref;
|
|
69
|
-
var
|
|
69
|
+
var Info15 = Model.Info;
|
|
70
70
|
|
|
71
|
-
class
|
|
71
|
+
class Service61 extends Context.Service()("@opencode/Model") {
|
|
72
72
|
}
|
|
73
|
-
var layer = Layer.effect(
|
|
74
|
-
const providers = yield*
|
|
75
|
-
const bus = yield*
|
|
76
|
-
const location = yield*
|
|
73
|
+
var layer = Layer.effect(Service61, Effect.gen(function* () {
|
|
74
|
+
const providers = yield* Service62;
|
|
75
|
+
const bus = yield* Service84;
|
|
76
|
+
const location = yield* Service78;
|
|
77
77
|
let input;
|
|
78
78
|
const state = create3({
|
|
79
79
|
name: "model",
|
|
@@ -118,7 +118,7 @@ var layer = Layer.effect(Service68, Effect.gen(function* () {
|
|
|
118
118
|
const models = writable(providerID);
|
|
119
119
|
if (!models)
|
|
120
120
|
return;
|
|
121
|
-
const model = draft(providerID, modelID) ??
|
|
121
|
+
const model = draft(providerID, modelID) ?? Info15.default(providerID, modelID);
|
|
122
122
|
update(model);
|
|
123
123
|
model.id = modelID;
|
|
124
124
|
model.providerID = providerID;
|
|
@@ -207,8 +207,8 @@ var layer = Layer.effect(Service68, Effect.gen(function* () {
|
|
|
207
207
|
location: { directory: location.directory, workspaceID: location.workspaceID }
|
|
208
208
|
});
|
|
209
209
|
});
|
|
210
|
-
yield* bus.subscribe(
|
|
211
|
-
return
|
|
210
|
+
yield* bus.subscribe(Event12.Updated).pipe(Stream.runForEach(() => notify), Effect.forkScoped({ startImmediately: true }));
|
|
211
|
+
return Service61.of({
|
|
212
212
|
transform: (update) => prepare.pipe(Effect.andThen(state.transform(update))),
|
|
213
213
|
reload,
|
|
214
214
|
get: Effect.fn("Model.get")((providerID, modelID) => read().pipe(Effect.map((value) => value.byProvider.get(providerID)?.get(modelID)))),
|
|
@@ -227,7 +227,7 @@ var layer = Layer.effect(Service68, Effect.gen(function* () {
|
|
|
227
227
|
})
|
|
228
228
|
});
|
|
229
229
|
}));
|
|
230
|
-
var
|
|
230
|
+
var node63 = makeLocationNode({ service: Service61, layer, deps: [node64, node88, node80] });
|
|
231
231
|
function supportsText2(model) {
|
|
232
232
|
return (model.capabilities.input.length === 0 || model.capabilities.input.some((item) => item.startsWith("text"))) && (model.capabilities.output.length === 0 || model.capabilities.output.some((item) => item.startsWith("text")));
|
|
233
233
|
}
|
|
@@ -241,9 +241,9 @@ function compatibility2(input) {
|
|
|
241
241
|
function parse5(input) {
|
|
242
242
|
const index = input.indexOf("/");
|
|
243
243
|
return {
|
|
244
|
-
providerID:
|
|
245
|
-
modelID:
|
|
244
|
+
providerID: ID6.make(index === -1 ? input : input.slice(0, index)),
|
|
245
|
+
modelID: ID5.make(index === -1 ? "" : input.slice(index + 1))
|
|
246
246
|
};
|
|
247
247
|
}
|
|
248
248
|
|
|
249
|
-
export {
|
|
249
|
+
export { ID5, VariantID2, Family2, ReasoningField2, Compatibility2, Capabilities2, mergeCapabilities2, Cost2, Ref2, Info15, Service61, node63, supportsText2, compatibility2, parse5, exports_model2, Event11 };
|
|
@@ -1,67 +1,67 @@
|
|
|
1
1
|
import {
|
|
2
2
|
AbsolutePath2
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./tool-z5v4ffb3.js";
|
|
4
4
|
import {
|
|
5
5
|
WorktreeError2
|
|
6
|
-
} from "./
|
|
6
|
+
} from "./tool-1azc6dcz.js";
|
|
7
7
|
import {
|
|
8
8
|
Slug2
|
|
9
|
-
} from "./
|
|
9
|
+
} from "./tool-gebd4c9n.js";
|
|
10
|
+
import {
|
|
11
|
+
Service85,
|
|
12
|
+
node89
|
|
13
|
+
} from "./tool-jb7jfkvq.js";
|
|
10
14
|
import {
|
|
11
15
|
Service84,
|
|
12
16
|
node88
|
|
13
|
-
} from "./
|
|
14
|
-
import {
|
|
15
|
-
Service83,
|
|
16
|
-
node87
|
|
17
|
-
} from "./form-6a4apkvg.js";
|
|
17
|
+
} from "./tool-2hbmtk01.js";
|
|
18
18
|
import {
|
|
19
19
|
ProjectTable2
|
|
20
|
-
} from "./
|
|
20
|
+
} from "./tool-rj3eygr5.js";
|
|
21
21
|
import {
|
|
22
22
|
WorktreeTable2
|
|
23
|
-
} from "./
|
|
23
|
+
} from "./tool-sa8ekw3f.js";
|
|
24
24
|
import {
|
|
25
|
-
|
|
25
|
+
ID15,
|
|
26
26
|
NotFoundError11
|
|
27
|
-
} from "./
|
|
27
|
+
} from "./tool-85y5yndw.js";
|
|
28
28
|
import {
|
|
29
29
|
Ref4
|
|
30
|
-
} from "./
|
|
30
|
+
} from "./tool-b279fhh5.js";
|
|
31
31
|
import {
|
|
32
|
-
|
|
33
|
-
|
|
34
|
-
} from "./
|
|
32
|
+
Service59,
|
|
33
|
+
node61
|
|
34
|
+
} from "./tool-qz5qj01d.js";
|
|
35
35
|
import {
|
|
36
36
|
DirectoryUnavailableError2,
|
|
37
37
|
canonical2
|
|
38
|
-
} from "./
|
|
38
|
+
} from "./tool-0vbcp93d.js";
|
|
39
39
|
import {
|
|
40
|
-
|
|
41
|
-
} from "./
|
|
40
|
+
Service15
|
|
41
|
+
} from "./tool-pzc00pfe.js";
|
|
42
42
|
import {
|
|
43
43
|
__export
|
|
44
|
-
} from "./
|
|
44
|
+
} from "./tool-9rqn6x4v.js";
|
|
45
45
|
|
|
46
46
|
// src/worktree.ts
|
|
47
47
|
var exports_worktree2 = {};
|
|
48
48
|
__export(exports_worktree2, {
|
|
49
|
-
CreateInput: () =>
|
|
49
|
+
CreateInput: () => CreateInput2,
|
|
50
50
|
DestinationExistsError: () => DestinationExistsError2,
|
|
51
51
|
DirectoryUnavailableError: () => DirectoryUnavailableError2,
|
|
52
|
-
Event: () =>
|
|
53
|
-
Info: () =>
|
|
52
|
+
Event: () => Event3,
|
|
53
|
+
Info: () => Info3,
|
|
54
54
|
InvalidDirectoryError: () => InvalidDirectoryError2,
|
|
55
55
|
List: () => List2,
|
|
56
56
|
ListEntry: () => ListEntry3,
|
|
57
57
|
OperationError: () => OperationError2,
|
|
58
58
|
RemoveInput: () => RemoveInput2,
|
|
59
|
-
Service: () =>
|
|
59
|
+
Service: () => Service14,
|
|
60
60
|
SourceDirectoryNotFoundError: () => SourceDirectoryNotFoundError2,
|
|
61
61
|
StrategyID: () => StrategyID2,
|
|
62
62
|
StrategyUnavailableError: () => StrategyUnavailableError2,
|
|
63
63
|
Worktree: () => exports_worktree2,
|
|
64
|
-
node: () =>
|
|
64
|
+
node: () => node17
|
|
65
65
|
});
|
|
66
66
|
import { Context, Effect, Layer, Schema } from "effect";
|
|
67
67
|
import { and, asc, desc, eq, isNull, sql } from "drizzle-orm";
|
|
@@ -73,13 +73,13 @@ import { AppProcess } from "@opencode/util/process";
|
|
|
73
73
|
import { ChildProcess } from "effect/process";
|
|
74
74
|
import { OperationError as OperationError2 } from "@opencode/schema/worktree";
|
|
75
75
|
var StrategyID2 = Worktree.StrategyID;
|
|
76
|
-
var
|
|
76
|
+
var CreateInput2 = Worktree.CreateInput;
|
|
77
77
|
var RemoveInput2 = Worktree.RemoveInput;
|
|
78
|
-
var
|
|
78
|
+
var Info3 = Worktree.Info;
|
|
79
79
|
var List2 = Worktree.List;
|
|
80
80
|
var ListEntry3 = Worktree.ListEntry;
|
|
81
81
|
|
|
82
|
-
class SourceDirectoryNotFoundError2 extends Schema.TaggedError()("Worktree.SourceDirectoryNotFoundError", { projectID:
|
|
82
|
+
class SourceDirectoryNotFoundError2 extends Schema.TaggedError()("Worktree.SourceDirectoryNotFoundError", { projectID: ID15, directory: Schema.optional(AbsolutePath2) }) {
|
|
83
83
|
}
|
|
84
84
|
|
|
85
85
|
class DestinationExistsError2 extends Schema.TaggedError()("Worktree.DestinationExistsError", { directory: AbsolutePath2 }) {
|
|
@@ -90,17 +90,17 @@ class InvalidDirectoryError2 extends Schema.TaggedError()("Worktree.InvalidDirec
|
|
|
90
90
|
|
|
91
91
|
class StrategyUnavailableError2 extends Schema.TaggedError()("Worktree.StrategyUnavailableError", { strategy: StrategyID2 }) {
|
|
92
92
|
}
|
|
93
|
-
var
|
|
93
|
+
var Event3 = Worktree.Event;
|
|
94
94
|
|
|
95
|
-
class
|
|
95
|
+
class Service14 extends Context.Service()("@opencode/Worktree") {
|
|
96
96
|
}
|
|
97
|
-
var layer = Layer.effect(
|
|
97
|
+
var layer = Layer.effect(Service14, Effect.gen(function* () {
|
|
98
98
|
const fs = yield* FSUtil.Service;
|
|
99
|
-
const database = yield*
|
|
99
|
+
const database = yield* Service85;
|
|
100
100
|
const db = database.db;
|
|
101
|
-
const bus = yield*
|
|
101
|
+
const bus = yield* Service84;
|
|
102
102
|
const processService = yield* AppProcess.Service;
|
|
103
|
-
const locations = yield*
|
|
103
|
+
const locations = yield* Service59;
|
|
104
104
|
const project = Effect.fnUntraced(function* (projectID) {
|
|
105
105
|
const row = yield* db.select().from(ProjectTable2).where(eq(ProjectTable2.id, projectID)).get().pipe(Effect.orDie);
|
|
106
106
|
if (!row)
|
|
@@ -115,11 +115,11 @@ var layer = Layer.effect(Service57, Effect.gen(function* () {
|
|
|
115
115
|
const { Plugin } = yield* Effect.promise(() => import("../plugin.js"));
|
|
116
116
|
const context = yield* locations.contextEffect(Ref4.make({ directory }));
|
|
117
117
|
yield* Context.get(context, Plugin.Service).awaitActivation;
|
|
118
|
-
return Context.get(context,
|
|
118
|
+
return Context.get(context, Service15).get();
|
|
119
119
|
});
|
|
120
120
|
const changed = Effect.fnUntraced(function* (projectID, update) {
|
|
121
121
|
if (update)
|
|
122
|
-
yield* bus.publish(
|
|
122
|
+
yield* bus.publish(Event3.Updated, { projectID });
|
|
123
123
|
});
|
|
124
124
|
const ops = {
|
|
125
125
|
list: Effect.fnUntraced(function* (projectID) {
|
|
@@ -246,7 +246,7 @@ var layer = Layer.effect(Service57, Effect.gen(function* () {
|
|
|
246
246
|
})).pipe(Effect.orDie);
|
|
247
247
|
yield* changed(input.projectID, changes.updated.length > 0 || changes.removed.length > 0);
|
|
248
248
|
}, Effect.scoped);
|
|
249
|
-
return
|
|
249
|
+
return Service14.of({
|
|
250
250
|
list: Effect.fn("Worktree.list")(function* (input) {
|
|
251
251
|
yield* project(input.projectID);
|
|
252
252
|
return yield* ops.list(input.projectID);
|
|
@@ -256,10 +256,10 @@ var layer = Layer.effect(Service57, Effect.gen(function* () {
|
|
|
256
256
|
refresh
|
|
257
257
|
});
|
|
258
258
|
}));
|
|
259
|
-
var
|
|
260
|
-
service:
|
|
259
|
+
var node17 = Node.makeGlobalNode({
|
|
260
|
+
service: Service14,
|
|
261
261
|
layer,
|
|
262
|
-
deps: [FSUtil.node,
|
|
262
|
+
deps: [FSUtil.node, node88, node89, AppProcess.node, node61]
|
|
263
263
|
});
|
|
264
264
|
function operationError(strategy, operation, error) {
|
|
265
265
|
if (error instanceof WorktreeError2 || error instanceof DirectoryUnavailableError2 || error instanceof Worktree.OperationError)
|
|
@@ -269,4 +269,4 @@ function operationError(strategy, operation, error) {
|
|
|
269
269
|
});
|
|
270
270
|
}
|
|
271
271
|
|
|
272
|
-
export { StrategyID2,
|
|
272
|
+
export { StrategyID2, CreateInput2, RemoveInput2, Info3, List2, ListEntry3, SourceDirectoryNotFoundError2, DestinationExistsError2, InvalidDirectoryError2, StrategyUnavailableError2, Event3, Service14, node17, exports_worktree2, OperationError2 };
|
|
@@ -1,16 +1,16 @@
|
|
|
1
1
|
import {
|
|
2
2
|
AbsolutePath2
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./tool-z5v4ffb3.js";
|
|
4
4
|
import {
|
|
5
5
|
__export
|
|
6
|
-
} from "./
|
|
6
|
+
} from "./tool-9rqn6x4v.js";
|
|
7
7
|
|
|
8
8
|
// src/skill/discovery.ts
|
|
9
9
|
var exports_discovery = {};
|
|
10
10
|
__export(exports_discovery, {
|
|
11
11
|
Service: () => Service7,
|
|
12
12
|
SkillDiscovery: () => exports_discovery,
|
|
13
|
-
node: () =>
|
|
13
|
+
node: () => node8
|
|
14
14
|
});
|
|
15
15
|
import path from "path";
|
|
16
16
|
import { Context, Effect, Layer, Schedule, Schema } from "effect";
|
|
@@ -150,6 +150,6 @@ var layer = Layer.effect(Service7, Effect.gen(function* () {
|
|
|
150
150
|
})
|
|
151
151
|
});
|
|
152
152
|
}));
|
|
153
|
-
var
|
|
153
|
+
var node8 = makeGlobalNode({ service: Service7, layer, deps: [httpClient, FSUtil.node, Global.node] });
|
|
154
154
|
|
|
155
|
-
export { Service7,
|
|
155
|
+
export { Service7, node8, exports_discovery };
|