@opencode/core 0.0.0-dev-20978 → 0.0.0-dev-20979
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/account/sql.js +1 -1
- package/dist/agent.js +83 -83
- package/dist/aisdk-native.js +91 -91
- package/dist/aisdk.js +96 -96
- package/dist/app.js +7 -7
- package/dist/bus.js +71 -71
- package/dist/chunks/{integration-9e1pmf0a.js → generate-01t0v2a1.js} +15 -15
- package/dist/chunks/{integration-hvzwxxe5.js → generate-0anmdph3.js} +4 -4
- package/dist/chunks/{integration-qbmcevmj.js → generate-0ap853b9.js} +6 -6
- package/dist/chunks/{integration-0bg0bx69.js → generate-0bg0bx69.js} +2 -2
- package/dist/chunks/{integration-2k8khapm.js → generate-0jwsre1p.js} +5 -5
- package/dist/chunks/{integration-qxwajnrg.js → generate-0tvb1xnn.js} +15 -15
- package/dist/chunks/{integration-0vbcp93d.js → generate-0vbcp93d.js} +2 -2
- package/dist/chunks/{integration-yeff6sje.js → generate-11rp40dq.js} +4 -4
- package/dist/chunks/{integration-wr15ww3q.js → generate-1813s74k.js} +13 -13
- package/dist/chunks/{integration-hcv80w8f.js → generate-1bmjn0qh.js} +8 -8
- package/dist/chunks/{integration-egy07wx7.js → generate-1c8r8m55.js} +32 -32
- package/dist/chunks/{integration-mde5fjw6.js → generate-1cw9bfvj.js} +58 -58
- package/dist/chunks/{integration-2hnm9mt2.js → generate-1h971vmj.js} +22 -22
- package/dist/chunks/{integration-d43rxkgb.js → generate-1hcr6a1z.js} +10 -10
- package/dist/chunks/{integration-khmqacep.js → generate-1w2wqhfv.js} +4 -4
- package/dist/chunks/{integration-8qx0ft9r.js → generate-1xxtgr7d.js} +22 -22
- package/dist/chunks/{integration-5awrnk09.js → generate-2ezekqvk.js} +13 -13
- package/dist/chunks/{integration-gabnevyz.js → generate-2hy9kqsr.js} +24 -24
- package/dist/chunks/{integration-7bwdhhvs.js → generate-2ma0g019.js} +11 -11
- package/dist/chunks/{integration-t24nkpg8.js → generate-2mx25k6g.js} +5 -5
- package/dist/chunks/{integration-kpwnyztm.js → generate-2pfwp9dn.js} +5 -5
- package/dist/chunks/{integration-a2ph73j8.js → generate-2r5adsg9.js} +18 -18
- package/dist/chunks/{integration-rs406pav.js → generate-2vzrqptq.js} +11 -11
- package/dist/chunks/{integration-0mnr004b.js → generate-2x8ykw1a.js} +5 -5
- package/dist/chunks/{integration-swjdfjnv.js → generate-31yyhbnf.js} +7 -7
- package/dist/chunks/{integration-yyvbvj38.js → generate-32a56y80.js} +27 -27
- package/dist/chunks/{integration-9j959tjb.js → generate-36a7wd6s.js} +17 -17
- package/dist/chunks/{integration-4gt2rfw6.js → generate-38f9ca5d.js} +8 -8
- package/dist/chunks/{integration-afrtgck4.js → generate-3ewed21c.js} +4 -4
- package/dist/chunks/{integration-3fc6dm20.js → generate-3fc6dm20.js} +1 -1
- package/dist/chunks/{integration-3hepkmqq.js → generate-3hepkmqq.js} +1 -1
- package/dist/chunks/{integration-3hwn7j4h.js → generate-3hwn7j4h.js} +2 -2
- package/dist/chunks/{integration-jhpaar4x.js → generate-3rtxz4nr.js} +8 -8
- package/dist/chunks/{integration-km2wp4sk.js → generate-3sedkwj5.js} +5 -5
- package/dist/chunks/{integration-3smtnn6g.js → generate-3smtnn6g.js} +1 -1
- package/dist/chunks/{integration-3tvqynh2.js → generate-3tvqynh2.js} +1 -1
- package/dist/chunks/{integration-b2hzcd3j.js → generate-3vsmpzmr.js} +7 -7
- package/dist/chunks/{integration-2ax3e9e8.js → generate-3wv0f6jd.js} +18 -18
- package/dist/chunks/{integration-3zsf4n22.js → generate-3zsf4n22.js} +1 -1
- package/dist/chunks/{integration-t7s9nfcw.js → generate-40hztmzw.js} +13 -13
- package/dist/chunks/{integration-1wnyfqya.js → generate-43awh0kk.js} +11 -11
- package/dist/chunks/{integration-hy1zrb4s.js → generate-45k9awmk.js} +16 -16
- package/dist/chunks/{integration-4mwpykj0.js → generate-4mwpykj0.js} +1 -1
- package/dist/chunks/{integration-54ma36ye.js → generate-54ma36ye.js} +1 -1
- package/dist/chunks/{integration-twwzjqdf.js → generate-5aw8rzt5.js} +6 -6
- package/dist/chunks/{integration-p67k4s07.js → generate-5c4744th.js} +10 -10
- package/dist/chunks/{integration-c921sagg.js → generate-5fe6htnk.js} +20 -20
- package/dist/chunks/{integration-4xpgt2w9.js → generate-5fykfdj7.js} +5 -5
- package/dist/chunks/{integration-skf2a03x.js → generate-5j0rxhfv.js} +6 -6
- package/dist/chunks/{integration-5m9w47nd.js → generate-5m9w47nd.js} +1 -1
- package/dist/chunks/{integration-j1hr602b.js → generate-5q337x67.js} +32 -32
- package/dist/chunks/{integration-3xyzc1bb.js → generate-5qk6vbes.js} +23 -23
- package/dist/chunks/{integration-62w775d6.js → generate-63tw8ewp.js} +25 -25
- package/dist/chunks/generate-6c8jf8ac.js +253 -0
- package/dist/chunks/{integration-6xb47vfp.js → generate-6xb47vfp.js} +1 -1
- package/dist/chunks/{integration-znzasaf5.js → generate-6ztftnmw.js} +47 -47
- package/dist/chunks/{integration-4gbbktzc.js → generate-70508pnx.js} +40 -40
- package/dist/chunks/{integration-shrp9z6x.js → generate-7097t0y6.js} +19 -19
- package/dist/chunks/{integration-775gj3j1.js → generate-775gj3j1.js} +2 -2
- package/dist/chunks/{integration-h20p4cmk.js → generate-77pskh4q.js} +316 -316
- package/dist/chunks/{integration-5nwmvtjk.js → generate-7anw6xg2.js} +1 -1
- package/dist/chunks/{integration-wdpq3wk2.js → generate-7azzsad3.js} +4 -4
- package/dist/chunks/{integration-8s6qdbp2.js → generate-7bkpvp3x.js} +17 -17
- package/dist/chunks/{integration-7bmhse3q.js → generate-7bmhse3q.js} +1 -1
- package/dist/chunks/{integration-spbp20tf.js → generate-7csh27a2.js} +8 -8
- package/dist/chunks/{integration-fzckcppe.js → generate-7gyq876f.js} +11 -11
- package/dist/chunks/{integration-b1mnze89.js → generate-7jzktnda.js} +25 -25
- package/dist/chunks/{integration-67qn8gwf.js → generate-7m5zb45r.js} +30 -30
- package/dist/chunks/{integration-xk34q5eg.js → generate-8342amwx.js} +10 -10
- package/dist/chunks/{integration-84txncab.js → generate-84txncab.js} +1 -1
- package/dist/chunks/{integration-3mfw0227.js → generate-860qct3q.js} +24 -24
- package/dist/chunks/{integration-5ka3t0tj.js → generate-86gnx87t.js} +23 -23
- package/dist/chunks/{integration-tcezcvh9.js → generate-89znhe33.js} +4 -4
- package/dist/chunks/{integration-a0hcwye6.js → generate-8b7vdg12.js} +14 -14
- package/dist/chunks/{integration-97rfbr3n.js → generate-8gwrms8p.js} +20 -20
- package/dist/chunks/{integration-0znydvyz.js → generate-8gzbm524.js} +32 -32
- package/dist/chunks/{integration-8m6m0r52.js → generate-8m6m0r52.js} +1 -1
- package/dist/chunks/{integration-3n2sy81e.js → generate-8qgcj9gy.js} +41 -41
- package/dist/chunks/{integration-jz0nyn5q.js → generate-8xvsaz5v.js} +32 -32
- package/dist/chunks/{integration-j6bp08m6.js → generate-9136554q.js} +36 -36
- package/dist/chunks/{integration-91qna3x0.js → generate-91qna3x0.js} +3 -3
- package/dist/chunks/{integration-asp8172m.js → generate-9556m5p3.js} +8 -8
- package/dist/chunks/{integration-tmvn36x1.js → generate-96kj8cwg.js} +8 -8
- package/dist/chunks/{integration-acxhc3d6.js → generate-9dp5hgfr.js} +17 -17
- package/dist/chunks/{integration-ab80vq7k.js → generate-9ebxg8jx.js} +4 -4
- package/dist/chunks/{integration-xmxvq9d2.js → generate-9k52z2e1.js} +3 -3
- package/dist/chunks/{integration-1n9pygvy.js → generate-9km6n030.js} +1 -1
- package/dist/chunks/{integration-5pws13cc.js → generate-9t4r3f6d.js} +18 -18
- package/dist/chunks/{integration-57vd5ddd.js → generate-9wjg11aa.js} +10 -10
- package/dist/chunks/generate-9zdhvgqs.js +18 -0
- package/dist/chunks/{integration-csxqjt7p.js → generate-a1y8bkk5.js} +15 -15
- package/dist/chunks/{integration-hvh251q6.js → generate-agxmfjyz.js} +12 -12
- package/dist/chunks/{integration-2e2f6za3.js → generate-am1pfj1j.js} +14 -14
- package/dist/chunks/{integration-g2vy875s.js → generate-ap6xsxxn.js} +18 -18
- package/dist/chunks/{integration-ek0npsg1.js → generate-apj9yxs1.js} +25 -25
- package/dist/chunks/{integration-g1xztdvv.js → generate-axf53xf7.js} +10 -10
- package/dist/chunks/{integration-ecp0matg.js → generate-b58d0yqb.js} +7 -7
- package/dist/chunks/{integration-rq0xhyhm.js → generate-bkd1jx7y.js} +7 -7
- package/dist/chunks/{integration-cp937pt4.js → generate-bp8fbaqn.js} +4 -4
- package/dist/chunks/{integration-bcs2vc99.js → generate-bq0dpqvb.js} +21 -21
- package/dist/chunks/{integration-g0cd9hz2.js → generate-bxqhhk1a.js} +47 -47
- package/dist/chunks/{integration-c1fqxshp.js → generate-c1fqxshp.js} +3 -3
- package/dist/chunks/{integration-2wjpsrg9.js → generate-c80hh747.js} +29 -29
- package/dist/chunks/{integration-2pr04h36.js → generate-ccccg9p9.js} +15 -15
- package/dist/chunks/{integration-d7h31c5g.js → generate-ccq4zaf6.js} +32 -32
- package/dist/chunks/{integration-s8g66bd6.js → generate-cgjdd9rg.js} +78 -78
- package/dist/chunks/{integration-6n0vcawk.js → generate-chtya0m5.js} +39 -39
- package/dist/chunks/generate-ctq34d8m.js +26 -0
- package/dist/chunks/{integration-79s4533m.js → generate-cv2pnjjr.js} +9 -9
- package/dist/chunks/{integration-6n6w6600.js → generate-cw4qzwxd.js} +26 -26
- package/dist/chunks/{integration-t8ggdyye.js → generate-d46vhdw9.js} +13 -13
- package/dist/chunks/{integration-r953n9w9.js → generate-d667439x.js} +11 -11
- package/dist/chunks/{integration-20rck29a.js → generate-d7k7mbxj.js} +3 -3
- package/dist/chunks/{integration-kzgz5k2v.js → generate-df1qmfr6.js} +8 -8
- package/dist/chunks/{integration-bq7b46md.js → generate-dhcb13vn.js} +11 -11
- package/dist/chunks/{integration-tan1p1hk.js → generate-dnbqyr4a.js} +33 -33
- package/dist/chunks/{integration-dqxsqydv.js → generate-dqxsqydv.js} +1 -1
- package/dist/chunks/{integration-qqeeq2t9.js → generate-drwq78ky.js} +7 -7
- package/dist/chunks/{integration-0t098hqn.js → generate-dtqg9ce1.js} +5 -5
- package/dist/chunks/{integration-vj682sbm.js → generate-dvkgpknc.js} +2 -2
- package/dist/chunks/{integration-2vf0n9dc.js → generate-dx533a5m.js} +31 -31
- package/dist/chunks/{integration-hyj1ar3s.js → generate-e9mzyk9j.js} +19 -19
- package/dist/chunks/{integration-eaj1djv9.js → generate-eaj1djv9.js} +1 -1
- package/dist/chunks/{integration-3bf6xksf.js → generate-eddengze.js} +23 -23
- package/dist/chunks/{integration-eej6y6fw.js → generate-eej6y6fw.js} +2 -2
- package/dist/chunks/{integration-ef5x83kb.js → generate-ef5x83kb.js} +1 -1
- package/dist/chunks/{integration-02w9aj2p.js → generate-enkjvn5q.js} +15 -15
- package/dist/chunks/{integration-yp2x3t23.js → generate-f2n192rq.js} +4 -4
- package/dist/chunks/{integration-61qq7rvz.js → generate-f81ndarb.js} +10 -10
- package/dist/chunks/{integration-a5qrcbjh.js → generate-faa69vmx.js} +15 -15
- package/dist/chunks/{integration-3wcf5067.js → generate-fdew5xnv.js} +9 -9
- package/dist/chunks/{integration-c9xq1me2.js → generate-ff8kpe80.js} +7 -7
- package/dist/chunks/{integration-143r1wtc.js → generate-frnezgjg.js} +10 -10
- package/dist/chunks/{integration-s0pnqgv4.js → generate-fvsspneb.js} +19 -19
- package/dist/chunks/{integration-twafc98e.js → generate-g04d7ddn.js} +18 -18
- package/dist/chunks/{integration-jrg0f122.js → generate-g2paawnf.js} +35 -35
- package/dist/chunks/{integration-rdfnpc7e.js → generate-g5wck6q5.js} +1 -1
- package/dist/chunks/{integration-47hb4nwt.js → generate-g86p3sbb.js} +16 -16
- package/dist/chunks/{integration-wpt53rg3.js → generate-g91sdcne.js} +5 -5
- package/dist/chunks/{integration-kqc63956.js → generate-gb4eqw1s.js} +15 -15
- package/dist/chunks/{integration-kmk73gfw.js → generate-gbnz4jec.js} +16 -16
- package/dist/chunks/{integration-gd4qta3r.js → generate-gd4qta3r.js} +1 -1
- package/dist/chunks/{integration-6j2hc47f.js → generate-ghh27t8h.js} +5 -5
- package/dist/chunks/{integration-gj71zhbs.js → generate-gj71zhbs.js} +2 -2
- package/dist/chunks/{integration-b6w8dzf3.js → generate-gm7mr6jh.js} +10 -10
- package/dist/chunks/{integration-npphdyeb.js → generate-gwaf4cyv.js} +10 -10
- package/dist/chunks/{integration-vmbrwsbp.js → generate-h0snx40f.js} +43 -43
- package/dist/chunks/{integration-chm3ahxj.js → generate-h270dq38.js} +20 -20
- package/dist/chunks/{integration-mqhkheas.js → generate-h53v47hc.js} +19 -19
- package/dist/chunks/{integration-h6vf3j39.js → generate-h6vf3j39.js} +1 -1
- package/dist/chunks/{integration-h7s7r6s9.js → generate-h7s7r6s9.js} +2 -2
- package/dist/chunks/{integration-p5vzfqrn.js → generate-h7w3b6jx.js} +17 -17
- package/dist/chunks/{integration-gw7cjrad.js → generate-h9wp8z5w.js} +4 -4
- package/dist/chunks/{integration-24de4jcv.js → generate-hahwqeq8.js} +21 -21
- package/dist/chunks/{integration-8sdk6rd9.js → generate-hgbd7cxk.js} +16 -16
- package/dist/chunks/{integration-hgz4x7wa.js → generate-hgz4x7wa.js} +1 -1
- package/dist/chunks/{integration-y9y673vj.js → generate-hhesmccg.js} +24 -24
- package/dist/chunks/{integration-hxg598kt.js → generate-hz91zv2w.js} +14 -14
- package/dist/chunks/{integration-p4jvcfcz.js → generate-j3gc35s1.js} +9 -9
- package/dist/chunks/{integration-rqa1jxse.js → generate-j52rd44q.js} +2 -2
- package/dist/chunks/{integration-3tadswfh.js → generate-j99q5vv1.js} +81 -81
- package/dist/chunks/{integration-jk540des.js → generate-jk540des.js} +2 -2
- package/dist/chunks/{integration-jx3w0egz.js → generate-jn20s0mt.js} +39 -39
- package/dist/chunks/{integration-zab19jja.js → generate-jvvc3tfq.js} +9 -9
- package/dist/chunks/{integration-xj1aydcy.js → generate-k1n0z3hy.js} +5 -5
- package/dist/chunks/{integration-5g19k9bb.js → generate-k3ep6trx.js} +4 -4
- package/dist/chunks/{integration-m9w0rfyh.js → generate-m9w0rfyh.js} +1 -1
- package/dist/chunks/{integration-maspj1v3.js → generate-maspj1v3.js} +1 -1
- package/dist/chunks/{integration-hj1nhez8.js → generate-mm8rx0zc.js} +11 -11
- package/dist/chunks/{integration-bxrxjfyz.js → generate-mnbgc3d3.js} +22 -22
- package/dist/chunks/{integration-fk9rnzxz.js → generate-mtndgv9s.js} +6 -6
- package/dist/chunks/{integration-txm3e8qz.js → generate-mv3hx7wz.js} +4 -4
- package/dist/chunks/{integration-gqtdsdt7.js → generate-mxvxcxwy.js} +4 -4
- package/dist/chunks/{integration-j5qeqyf7.js → generate-n33j3ghh.js} +15 -15
- package/dist/chunks/{integration-v21nvywy.js → generate-n52r0562.js} +13 -13
- package/dist/chunks/{integration-akfjyt7n.js → generate-nb3f6w45.js} +3 -3
- package/dist/chunks/{integration-xn6qvp49.js → generate-nj0qv38t.js} +57 -57
- package/dist/chunks/{integration-p42aq5gt.js → generate-nvyrrcr8.js} +32 -32
- package/dist/chunks/{integration-567mnytz.js → generate-p11w4b9k.js} +10 -10
- package/dist/chunks/{integration-gwc9ta45.js → generate-p1kn5vhn.js} +175 -175
- package/dist/chunks/{integration-7yttvvbf.js → generate-p4781260.js} +319 -319
- package/dist/chunks/{integration-5xtgfte3.js → generate-p4mj4rdp.js} +8 -8
- package/dist/chunks/{integration-fqb2p7cx.js → generate-pbfwh0cy.js} +7 -7
- package/dist/chunks/{integration-ajfq1j2n.js → generate-pg92tjkz.js} +3 -3
- package/dist/chunks/{integration-zk149sv1.js → generate-ph14favy.js} +34 -34
- package/dist/chunks/{integration-wc5yctqd.js → generate-ph9mgef0.js} +19 -19
- package/dist/chunks/{integration-pjvnvgmy.js → generate-pjvnvgmy.js} +1 -1
- package/dist/chunks/{integration-pknna89w.js → generate-pknna89w.js} +1 -1
- package/dist/chunks/{integration-48kw51zw.js → generate-ppw6hb80.js} +3 -3
- package/dist/chunks/{integration-m5xxn7ny.js → generate-pvrvkbhh.js} +15 -15
- package/dist/chunks/{integration-wey6k149.js → generate-pymxdedz.js} +11 -11
- package/dist/chunks/{integration-q0xm7vwc.js → generate-q0xm7vwc.js} +2 -2
- package/dist/chunks/{integration-8t93p44s.js → generate-q42kxs44.js} +14 -14
- package/dist/chunks/{integration-vwdjqckc.js → generate-q59k6pxn.js} +5 -5
- package/dist/chunks/{integration-4mj0xbb0.js → generate-q6bbd52s.js} +4 -4
- package/dist/chunks/{integration-cw1rqfwx.js → generate-qdkkrq0x.js} +13 -13
- package/dist/chunks/{integration-m8w6th39.js → generate-qmqgtz8f.js} +9 -9
- package/dist/chunks/{integration-qnc92qwc.js → generate-qnc92qwc.js} +1 -1
- package/dist/chunks/{integration-qsdy395h.js → generate-qsdy395h.js} +1 -1
- package/dist/chunks/{integration-bfagfvh3.js → generate-qsz0pak0.js} +18 -18
- package/dist/chunks/{integration-z5mtfwfv.js → generate-qv7zpqjy.js} +15 -15
- package/dist/chunks/{integration-nfyn2wym.js → generate-qw3qj973.js} +22 -22
- package/dist/chunks/{integration-1kazj788.js → generate-qy68wck0.js} +28 -28
- package/dist/chunks/{integration-43k7rrm6.js → generate-r670zk92.js} +18 -18
- package/dist/chunks/{integration-d7x0sh0y.js → generate-r70na3yp.js} +9 -9
- package/dist/chunks/{integration-8s8r1j5h.js → generate-raeekcvk.js} +11 -11
- package/dist/chunks/{integration-5j96nkwn.js → generate-rap1cvk9.js} +27 -27
- package/dist/chunks/{integration-q6j596eh.js → generate-rdg24aan.js} +4 -4
- package/dist/chunks/{integration-rdw6cm16.js → generate-rdw6cm16.js} +1 -1
- package/dist/chunks/{integration-rert0e01.js → generate-rert0e01.js} +2 -2
- package/dist/chunks/{integration-v3j9tc6a.js → generate-rgnm4ne9.js} +22 -22
- package/dist/chunks/{integration-rj3eygr5.js → generate-rj3eygr5.js} +2 -2
- package/dist/chunks/{integration-7fkffz83.js → generate-rkprpv83.js} +4 -4
- package/dist/chunks/{integration-cgw0sr81.js → generate-rswhz8vh.js} +4 -4
- package/dist/chunks/{integration-q31de0x9.js → generate-rtmrrf1b.js} +11 -11
- package/dist/chunks/{integration-bn0s77k4.js → generate-s375a249.js} +13 -13
- package/dist/chunks/{integration-sa8ekw3f.js → generate-sa8ekw3f.js} +2 -2
- package/dist/chunks/{integration-wg81ww38.js → generate-sg61y373.js} +4 -4
- package/dist/chunks/{integration-4mwv8fj8.js → generate-sp3pgdf2.js} +6 -6
- package/dist/chunks/{integration-g65kktpc.js → generate-srkwtcsa.js} +26 -26
- package/dist/chunks/{integration-53yxdm32.js → generate-stsmta84.js} +3 -3
- package/dist/chunks/{integration-ed1g29hy.js → generate-sxcaecc0.js} +3 -3
- package/dist/chunks/{integration-syv4x271.js → generate-syv4x271.js} +1 -1
- package/dist/chunks/{integration-7jeawvpq.js → generate-t17fmfvf.js} +31 -31
- package/dist/chunks/{integration-q15769wk.js → generate-t64a1aj0.js} +18 -18
- package/dist/chunks/{integration-z37qhwhn.js → generate-t9sefm73.js} +46 -46
- package/dist/chunks/{integration-tazgh4e4.js → generate-tazgh4e4.js} +1 -1
- package/dist/chunks/{integration-rkmnmadr.js → generate-tc10cd1e.js} +50 -50
- package/dist/chunks/{integration-tdstcens.js → generate-tdstcens.js} +1 -1
- package/dist/chunks/{integration-nq6rswfa.js → generate-te4pwnq9.js} +9 -9
- package/dist/chunks/{integration-w94bxqdg.js → generate-tfapvx5r.js} +9 -9
- package/dist/chunks/{integration-tm0kqsz3.js → generate-tm0kqsz3.js} +1 -1
- package/dist/chunks/{integration-8cvaxj6f.js → generate-tn5v4cx9.js} +3 -3
- package/dist/chunks/{integration-dx252d9n.js → generate-tne08z7y.js} +14 -14
- package/dist/chunks/{integration-tyytaxap.js → generate-tyytaxap.js} +1 -1
- package/dist/chunks/{integration-fq08akcr.js → generate-v4nfzjvf.js} +4 -4
- package/dist/chunks/{integration-vx00sn5p.js → generate-v6fdb8n6.js} +9 -9
- package/dist/chunks/{integration-v7p4zvkq.js → generate-v7p4zvkq.js} +2 -2
- package/dist/chunks/{integration-c9y7ddt1.js → generate-vawmda5k.js} +16 -16
- package/dist/chunks/{integration-h4dbkbzh.js → generate-veh1f6j0.js} +7 -7
- package/dist/chunks/{integration-veqvce7d.js → generate-veqvce7d.js} +1 -1
- package/dist/chunks/{integration-c1sjg8rr.js → generate-vjxxgbbh.js} +23 -23
- package/dist/chunks/{integration-vzs5sf6e.js → generate-vzs5sf6e.js} +1 -1
- package/dist/chunks/{integration-4e3hx6a8.js → generate-w1vjbx66.js} +8 -8
- package/dist/chunks/{integration-w3wsvvr9.js → generate-w3wsvvr9.js} +1 -1
- package/dist/chunks/{integration-7fqrvb5h.js → generate-w718ywx2.js} +14 -14
- package/dist/chunks/{integration-wd87259q.js → generate-wd87259q.js} +1 -1
- package/dist/chunks/{integration-d5szz41b.js → generate-wf3n0qmy.js} +14 -14
- package/dist/chunks/{integration-bydnjh3t.js → generate-wk5z6jzv.js} +9 -9
- package/dist/chunks/{integration-1d70w6ay.js → generate-wmkd32gv.js} +11 -11
- package/dist/chunks/{integration-zhdm3a6y.js → generate-wrb74swr.js} +27 -27
- package/dist/chunks/{integration-sqhrjh3n.js → generate-x0g3q6yz.js} +41 -41
- package/dist/chunks/{integration-3h9b6adj.js → generate-xfzg7nd9.js} +9 -9
- package/dist/chunks/{integration-pdtnc95m.js → generate-xg3sqwz0.js} +15 -15
- package/dist/chunks/{integration-tawpdk3z.js → generate-xt8h6gjm.js} +16 -16
- package/dist/chunks/{integration-ee85d589.js → generate-xwys7wdn.js} +35 -35
- package/dist/chunks/{integration-1nv9sndm.js → generate-xxrfxs2k.js} +14 -14
- package/dist/chunks/{integration-y1fvbwt7.js → generate-y1fvbwt7.js} +1 -1
- package/dist/chunks/{integration-nhcf6tj5.js → generate-y5vnt7a5.js} +45 -45
- package/dist/chunks/{integration-dpkg50ah.js → generate-y71avatq.js} +4 -4
- package/dist/chunks/{integration-1h4g6m19.js → generate-yf8a7cch.js} +13 -13
- package/dist/chunks/{integration-7zt5x37y.js → generate-yqc6bamn.js} +1 -1
- package/dist/chunks/{integration-2b2w9fpw.js → generate-yqq46qcp.js} +11 -11
- package/dist/chunks/{integration-wjr9rjd7.js → generate-ywt8jp22.js} +6 -6
- package/dist/chunks/{integration-pc5ybacd.js → generate-yytdzks0.js} +21 -21
- package/dist/chunks/{integration-z0bkrqjs.js → generate-z0bkrqjs.js} +1 -1
- package/dist/chunks/{integration-8bed88vs.js → generate-z32egz26.js} +26 -26
- package/dist/chunks/{integration-nnsxpg4r.js → generate-zawpzr3y.js} +24 -24
- package/dist/chunks/{integration-zcrspsvn.js → generate-zcrspsvn.js} +1 -1
- package/dist/chunks/{integration-9vqvxvb4.js → generate-zcs6gcpb.js} +21 -21
- package/dist/chunks/{integration-99vjn2hc.js → generate-zeq3vx51.js} +10 -10
- package/dist/chunks/{integration-7vg2c9yj.js → generate-zpmvc38s.js} +4 -4
- package/dist/chunks/{integration-zr2ceqn5.js → generate-zr2ceqn5.js} +1 -1
- package/dist/chunks/{integration-2eegacq4.js → generate-zrq8kphx.js} +8 -8
- package/dist/chunks/{integration-8kg6nsf3.js → generate-zs9jnahd.js} +19 -19
- package/dist/chunks/{integration-zxq2ej10.js → generate-zxq2ej10.js} +1 -1
- package/dist/chunks/{integration-hdkng2sj.js → generate-zyk1yjk8.js} +5 -5
- 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 -85
- package/dist/config/discovery.js +86 -86
- package/dist/config/markdown.js +1 -1
- package/dist/config/normalize.js +101 -101
- package/dist/config/plugin/agent.js +118 -118
- package/dist/config/plugin/command.js +207 -207
- package/dist/config/plugin/compaction.js +156 -156
- package/dist/config/plugin/compatibility.js +136 -136
- package/dist/config/plugin/entry-observer.js +1 -1
- package/dist/config/plugin/formatter.js +119 -119
- package/dist/config/plugin/image.js +118 -118
- package/dist/config/plugin/instruction.js +118 -118
- package/dist/config/plugin/location-watcher.js +120 -120
- package/dist/config/plugin/mcp.js +125 -125
- package/dist/config/plugin/policy.js +119 -119
- package/dist/config/plugin/provider.js +118 -118
- package/dist/config/plugin/reference.js +120 -120
- package/dist/config/plugin/shell.js +120 -120
- package/dist/config/plugin/skill-file.js +104 -104
- package/dist/config/plugin/skill.js +139 -139
- package/dist/config/plugin/snapshot.js +118 -118
- package/dist/config/plugin/source.js +119 -119
- package/dist/config/plugin/tool-output.js +119 -119
- package/dist/config/plugin/websearch.js +119 -119
- package/dist/config/plugin/worktree.js +120 -120
- package/dist/config/variable.js +3 -3
- package/dist/config/watch.js +1 -1
- package/dist/config.js +123 -123
- package/dist/credential/sql.js +2 -2
- package/dist/credential.js +83 -83
- package/dist/database/database.js +68 -68
- package/dist/database/drizzle/effect-sqlite/driver.js +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 +1 -1
- package/dist/database/migration.gen.js +51 -51
- package/dist/database/migration.js +53 -53
- package/dist/database/path.js +2 -2
- package/dist/database/schema.gen.js +1 -1
- package/dist/database/schema.sql.js +1 -1
- package/dist/database/sqlite.bun.js +1 -1
- package/dist/database/sqlite.js +1 -1
- package/dist/database/sqlite.node.js +1 -1
- package/dist/database/sqlite.workerd.js +1 -1
- package/dist/database/v1-migration.bun.js +78 -78
- package/dist/database/v1-migration.js +1 -1
- package/dist/effect/app-node-builder.js +362 -362
- 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 -95
- package/dist/environment/exec-defaults.js +2 -2
- package/dist/environment/files.js +1 -1
- package/dist/environment/index.js +95 -95
- 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 -72
- package/dist/file-access.js +106 -106
- package/dist/file-mutation.js +96 -96
- package/dist/file-retention.js +1 -1
- package/dist/filesystem/fff.bun.js +2 -2
- package/dist/filesystem/fff.js +1 -1
- package/dist/filesystem/fff.node.js +2 -2
- package/dist/filesystem/fff.workerd.js +2 -2
- package/dist/filesystem/location-watcher-policy.js +6 -6
- package/dist/filesystem/location-watcher.js +222 -222
- package/dist/filesystem/protected.js +3 -3
- package/dist/filesystem/search.js +105 -105
- package/dist/filesystem/watcher-binding.js +1 -1
- package/dist/filesystem/watcher.js +15 -15
- package/dist/filesystem.js +106 -106
- package/dist/form.js +86 -86
- package/dist/formatter/builtins.js +4 -4
- package/dist/formatter.js +89 -89
- package/dist/generate.js +103 -103
- package/dist/git.js +10 -10
- package/dist/github-copilot/chat/convert-to-openai-compatible-chat-messages.js +1 -1
- package/dist/github-copilot/chat/get-response-metadata.js +1 -1
- package/dist/github-copilot/chat/map-openai-compatible-finish-reason.js +1 -1
- package/dist/github-copilot/chat/openai-compatible-chat-language-model.js +7 -7
- package/dist/github-copilot/chat/openai-compatible-chat-options.js +1 -1
- package/dist/github-copilot/chat/openai-compatible-prepare-tools.js +1 -1
- package/dist/github-copilot/copilot-provider.js +17 -17
- package/dist/github-copilot/models.js +101 -101
- package/dist/github-copilot/openai-compatible-error.js +1 -1
- package/dist/github-copilot/responses/convert-to-openai-responses-input.js +1 -1
- package/dist/github-copilot/responses/map-openai-responses-finish-reason.js +1 -1
- package/dist/github-copilot/responses/openai-error.js +1 -1
- package/dist/github-copilot/responses/openai-responses-language-model.js +10 -10
- package/dist/github-copilot/responses/openai-responses-prepare-tools.js +6 -6
- package/dist/github-copilot/responses/tool/code-interpreter.js +1 -1
- package/dist/github-copilot/responses/tool/file-search.js +1 -1
- package/dist/github-copilot/responses/tool/image-generation.js +1 -1
- package/dist/github-copilot/responses/tool/web-search-preview.js +1 -1
- package/dist/github-copilot/responses/tool/web-search.js +1 -1
- package/dist/image/photon.js +2 -2
- package/dist/image.js +6 -6
- package/dist/instance/service.js +1 -1
- package/dist/instance.js +355 -355
- package/dist/instruction-discovery.js +86 -86
- package/dist/instructions/builtins.js +89 -89
- package/dist/instructions/index.js +1 -1
- package/dist/integration/connection.js +3 -3
- package/dist/integration.js +87 -87
- package/dist/job.js +80 -80
- package/dist/kv/sql.js +2 -2
- package/dist/kv.js +75 -75
- package/dist/location-activity.js +130 -130
- package/dist/location-lifecycle.js +109 -109
- package/dist/location-service-map.js +88 -88
- package/dist/location-services.js +356 -356
- package/dist/location.js +87 -87
- package/dist/managed-policy.js +8 -8
- package/dist/mcp/client.js +93 -93
- package/dist/mcp/index.js +111 -111
- package/dist/mcp/instructions.js +129 -129
- package/dist/mcp/oauth.js +77 -77
- package/dist/mcp/stdio.js +92 -92
- package/dist/mime.js +1 -1
- package/dist/modal/models.js +101 -101
- package/dist/model-resolver.js +100 -100
- package/dist/model.js +102 -102
- package/dist/models-dev.js +107 -107
- package/dist/oauth/page.js +1 -1
- package/dist/permission/saved.js +82 -82
- package/dist/permission/sql.js +5 -5
- package/dist/permission.js +117 -117
- package/dist/persistent-pty/binary.bun.js +1 -1
- package/dist/persistent-pty/daemon.js +1 -1
- package/dist/persistent-pty/index.js +90 -90
- package/dist/persistent-pty/pty-binding.js +1 -1
- package/dist/persistent-pty.js +77 -77
- package/dist/plugin/agent.js +76 -76
- package/dist/plugin/command.js +102 -102
- package/dist/plugin/hooks.js +5 -5
- package/dist/plugin/host.js +213 -213
- package/dist/plugin/identity.js +3 -3
- package/dist/plugin/instance.js +5 -5
- package/dist/plugin/internal.js +331 -331
- package/dist/plugin/mcp-codemode-defaults.js +3 -3
- package/dist/plugin/models-dev.js +98 -98
- package/dist/plugin/module.js +119 -119
- package/dist/plugin/optimize.js +2 -2
- package/dist/plugin/plan.js +104 -104
- package/dist/plugin/promise.js +1 -1
- package/dist/plugin/provider/amazon-bedrock.js +92 -92
- package/dist/plugin/provider/azure.js +118 -118
- package/dist/plugin/provider/cerebras.js +1 -1
- package/dist/plugin/provider/chatgpt.js +118 -118
- package/dist/plugin/provider/cloudflare-ai-gateway.js +115 -115
- package/dist/plugin/provider/cloudflare-workers-ai.js +116 -116
- package/dist/plugin/provider/cohere.js +2 -2
- package/dist/plugin/provider/configured.js +114 -114
- package/dist/plugin/provider/databricks.js +1 -1
- package/dist/plugin/provider/digitalocean.js +95 -95
- package/dist/plugin/provider/dynamic.js +2 -2
- package/dist/plugin/provider/factory.js +1 -1
- package/dist/plugin/provider/github-copilot.js +97 -97
- package/dist/plugin/provider/gitlab.js +95 -95
- package/dist/plugin/provider/google-vertex.js +115 -115
- package/dist/plugin/provider/kilo.js +1 -1
- package/dist/plugin/provider/llmgateway.js +80 -80
- package/dist/plugin/provider/lmstudio.js +125 -125
- package/dist/plugin/provider/local.js +124 -124
- package/dist/plugin/provider/modal.js +94 -94
- package/dist/plugin/provider/neon.js +1 -1
- package/dist/plugin/provider/nvidia.js +1 -1
- package/dist/plugin/provider/ollama.js +127 -127
- package/dist/plugin/provider/openai.js +118 -118
- package/dist/plugin/provider/opencode.js +99 -99
- package/dist/plugin/provider/openrouter.js +93 -93
- package/dist/plugin/provider/perplexity.js +2 -2
- package/dist/plugin/provider/poe.js +81 -81
- package/dist/plugin/provider/prompt-cache-key.js +1 -1
- package/dist/plugin/provider/sap-ai-core.js +93 -93
- package/dist/plugin/provider/sdk-factory.js +1 -1
- package/dist/plugin/provider/snowflake-cortex.js +117 -117
- package/dist/plugin/provider/vercel.js +92 -92
- package/dist/plugin/provider/vllm.js +127 -127
- package/dist/plugin/provider/xai.js +93 -93
- package/dist/plugin/provider/zenmux.js +1 -1
- package/dist/plugin/provider.js +169 -169
- package/dist/plugin/sdk.js +78 -78
- package/dist/plugin/service.js +3 -3
- package/dist/plugin/skill.js +136 -136
- package/dist/plugin/source-directory.js +1 -1
- package/dist/plugin/supervisor.js +348 -348
- package/dist/plugin/tool-input-repair.js +4 -4
- package/dist/plugin/update.js +6 -6
- package/dist/plugin/vcs/git.js +88 -88
- package/dist/plugin/vcs/hg.js +88 -88
- package/dist/plugin/verbosity.js +95 -95
- package/dist/plugin/warming.js +116 -116
- 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 +220 -220
- package/dist/project/schema.js +2 -2
- package/dist/project/sql.js +4 -4
- package/dist/project.js +86 -86
- package/dist/provider.js +101 -101
- package/dist/pty/protocol.js +1 -1
- package/dist/pty/ticket.js +1 -1
- package/dist/pty.js +91 -91
- package/dist/reference/instructions.js +91 -91
- package/dist/reference.js +93 -93
- package/dist/repository-cache.js +83 -83
- package/dist/repository.js +1 -1
- package/dist/ripgrep/binary.js +2 -2
- package/dist/ripgrep.js +99 -99
- package/dist/rpc.js +88 -88
- package/dist/schema.js +1 -1
- package/dist/session/affinity.js +1 -1
- package/dist/session/command.js +76 -76
- package/dist/session/compaction.js +137 -137
- package/dist/session/context.js +155 -155
- package/dist/session/diff.js +90 -90
- package/dist/session/environment.js +5 -5
- package/dist/session/error.js +5 -5
- package/dist/session/event.js +1 -1
- package/dist/session/execution/restart.js +213 -213
- package/dist/session/execution.js +123 -123
- package/dist/session/generate.js +154 -154
- package/dist/session/history.js +13 -13
- package/dist/session/inbox.js +84 -84
- package/dist/session/info.js +3 -3
- package/dist/session/instruction-entry.js +81 -81
- package/dist/session/instruction-state.js +8 -8
- package/dist/session/instructions.js +99 -99
- package/dist/session/message-updater.js +2 -2
- package/dist/session/message.js +1 -1
- package/dist/session/model-request.js +122 -122
- package/dist/session/model-transport.js +9 -9
- package/dist/session/move.js +131 -131
- package/dist/session/projector.js +88 -88
- package/dist/session/prompt.js +107 -107
- package/dist/session/provider-context.js +3 -3
- package/dist/session/revert.js +92 -92
- package/dist/session/run-coordinator.js +3 -3
- package/dist/session/runner/index.js +1 -1
- package/dist/session/runner/llm.js +224 -224
- package/dist/session/runner/max-steps.js +1 -1
- package/dist/session/runner/model.js +96 -96
- package/dist/session/runner/publish-llm-event.js +115 -115
- package/dist/session/runner/retry.js +4 -4
- package/dist/session/runner/step.js +125 -125
- package/dist/session/runner/to-llm-message.js +2 -2
- package/dist/session/schema.js +5 -5
- package/dist/session/session.js +164 -164
- package/dist/session/shell.js +132 -132
- package/dist/session/skill.js +105 -105
- package/dist/session/sql.js +5 -5
- package/dist/session/stats.js +75 -75
- package/dist/session/store.js +89 -89
- package/dist/session/subagent-completion.js +1 -1
- package/dist/session/subagent-job.js +207 -207
- package/dist/session/system-prompt.js +5 -5
- package/dist/session/title.js +153 -153
- package/dist/session/to-session-error.js +113 -113
- package/dist/session/transfer.js +212 -212
- package/dist/session/usage.js +1 -1
- package/dist/session.js +213 -213
- 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 +11 -11
- package/dist/shell.js +134 -134
- package/dist/skill/discovery.js +6 -6
- package/dist/skill/instructions.js +109 -109
- package/dist/skill.js +116 -116
- package/dist/snapshot.js +93 -93
- package/dist/state.js +1 -1
- package/dist/tool/html-markdown.js +1 -1
- package/dist/tool/http-body.js +1 -1
- package/dist/tool/mcp.js +128 -128
- package/dist/tool/plugin/edit.js +122 -122
- package/dist/tool/plugin/file-diff.js +1 -1
- package/dist/tool/plugin/glob.js +124 -124
- package/dist/tool/plugin/grep.js +126 -126
- package/dist/tool/plugin/mcp-resource.js +119 -119
- package/dist/tool/plugin/opencode.js +111 -111
- package/dist/tool/plugin/patch.js +124 -124
- package/dist/tool/plugin/question.js +105 -105
- package/dist/tool/plugin/read.js +127 -127
- package/dist/tool/plugin/shell.js +212 -212
- package/dist/tool/plugin/skill.js +109 -109
- package/dist/tool/plugin/subagent.js +214 -214
- package/dist/tool/plugin/webfetch.js +114 -114
- package/dist/tool/plugin/websearch.js +116 -116
- package/dist/tool/plugin/write.js +120 -120
- package/dist/tool/read-filesystem.js +102 -102
- package/dist/tool/runtime.js +1 -1
- package/dist/tool-output.js +7 -7
- package/dist/tool.js +8 -8
- 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 +5 -5
- package/dist/v1/config/error.js +2 -2
- package/dist/v1/config/mcp.js +4 -4
- package/dist/v1/config/migrate.js +94 -94
- package/dist/v1/config/permission.js +3 -3
- package/dist/v1/config/plugin.js +3 -3
- package/dist/v1/config/provider-options.js +1 -1
- package/dist/v1/config/provider.js +2 -2
- package/dist/variant.js +93 -93
- package/dist/vcs/patch.js +1 -1
- package/dist/vcs.js +91 -91
- package/dist/websearch.js +86 -86
- package/dist/wellknown/plugin.js +78 -78
- package/dist/wellknown.js +81 -81
- package/dist/workspace/driver.js +3 -3
- package/dist/workspace/sql.js +1 -1
- package/dist/workspace.js +84 -84
- package/dist/worktree/directory.js +2 -2
- package/dist/worktree/git.js +10 -10
- package/dist/worktree/sql.js +5 -5
- package/dist/worktree/strategies.js +91 -91
- package/dist/worktree.js +98 -98
- package/package.json +8 -8
- package/dist/chunks/integration-8h4qvcc4.js +0 -26
- package/dist/chunks/integration-qc068m1q.js +0 -18
- package/dist/chunks/integration-w9fb4ef8.js +0 -253
- /package/dist/chunks/{integration-0qkdqm5v.js → generate-0qkdqm5v.js} +0 -0
- /package/dist/chunks/{integration-0zkw76rk.js → generate-0zkw76rk.js} +0 -0
- /package/dist/chunks/{integration-17cy0kzp.js → generate-17cy0kzp.js} +0 -0
- /package/dist/chunks/{integration-1cnp2v09.js → generate-1cnp2v09.js} +0 -0
- /package/dist/chunks/{integration-1kg9ymc8.js → generate-1kg9ymc8.js} +0 -0
- /package/dist/chunks/{integration-24dcb14g.js → generate-24dcb14g.js} +0 -0
- /package/dist/chunks/{integration-2710q6r3.js → generate-2710q6r3.js} +0 -0
- /package/dist/chunks/{integration-2axfhc9x.js → generate-2axfhc9x.js} +0 -0
- /package/dist/chunks/{integration-2bv980vf.js → generate-2bv980vf.js} +0 -0
- /package/dist/chunks/{integration-2c3vjs8z.js → generate-2c3vjs8z.js} +0 -0
- /package/dist/chunks/{integration-359p4xyc.js → generate-359p4xyc.js} +0 -0
- /package/dist/chunks/{integration-3asan66x.js → generate-3asan66x.js} +0 -0
- /package/dist/chunks/{integration-3t0ybcrp.js → generate-3t0ybcrp.js} +0 -0
- /package/dist/chunks/{integration-3v8g72cx.js → generate-3v8g72cx.js} +0 -0
- /package/dist/chunks/{integration-3wcehsnq.js → generate-3wcehsnq.js} +0 -0
- /package/dist/chunks/{integration-43n2bw4t.js → generate-43n2bw4t.js} +0 -0
- /package/dist/chunks/{integration-4knz6hnm.js → generate-4knz6hnm.js} +0 -0
- /package/dist/chunks/{integration-4vcrnpx2.js → generate-4vcrnpx2.js} +0 -0
- /package/dist/chunks/{integration-4y7fprxs.js → generate-4y7fprxs.js} +0 -0
- /package/dist/chunks/{integration-53557ph1.js → generate-53557ph1.js} +0 -0
- /package/dist/chunks/{integration-550bvhaj.js → generate-550bvhaj.js} +0 -0
- /package/dist/chunks/{integration-5qd3pb7m.js → generate-5qd3pb7m.js} +0 -0
- /package/dist/chunks/{integration-6prwharc.js → generate-6prwharc.js} +0 -0
- /package/dist/chunks/{integration-6q2bdcd1.js → generate-6q2bdcd1.js} +0 -0
- /package/dist/chunks/{integration-7akdwqpd.js → generate-7akdwqpd.js} +0 -0
- /package/dist/chunks/{integration-7m9af43g.js → generate-7m9af43g.js} +0 -0
- /package/dist/chunks/{integration-822emrt2.js → generate-822emrt2.js} +0 -0
- /package/dist/chunks/{integration-84wd9syh.js → generate-84wd9syh.js} +0 -0
- /package/dist/chunks/{integration-88xbtdfr.js → generate-88xbtdfr.js} +0 -0
- /package/dist/chunks/{integration-8n3pysct.js → generate-8n3pysct.js} +0 -0
- /package/dist/chunks/{integration-8wj87zfr.js → generate-8wj87zfr.js} +0 -0
- /package/dist/chunks/{integration-9a4afbnw.js → generate-9a4afbnw.js} +0 -0
- /package/dist/chunks/{integration-9rqn6x4v.js → generate-9rqn6x4v.js} +0 -0
- /package/dist/chunks/{integration-a6k6eb26.js → generate-a6k6eb26.js} +0 -0
- /package/dist/chunks/{integration-af5trqkr.js → generate-af5trqkr.js} +0 -0
- /package/dist/chunks/{integration-afrmfg78.js → generate-afrmfg78.js} +0 -0
- /package/dist/chunks/{integration-aqzs7mqg.js → generate-aqzs7mqg.js} +0 -0
- /package/dist/chunks/{integration-atq7p7m5.js → generate-atq7p7m5.js} +0 -0
- /package/dist/chunks/{integration-bkyjaxrp.js → generate-bkyjaxrp.js} +0 -0
- /package/dist/chunks/{integration-bmr6ed5q.js → generate-bmr6ed5q.js} +0 -0
- /package/dist/chunks/{integration-cf4snx6d.js → generate-cf4snx6d.js} +0 -0
- /package/dist/chunks/{integration-cvy3z8tj.js → generate-cvy3z8tj.js} +0 -0
- /package/dist/chunks/{integration-d9fn303g.js → generate-d9fn303g.js} +0 -0
- /package/dist/chunks/{integration-d9jj8t3e.js → generate-d9jj8t3e.js} +0 -0
- /package/dist/chunks/{integration-dajrwvna.js → generate-dajrwvna.js} +0 -0
- /package/dist/chunks/{integration-dap0rakb.js → generate-dap0rakb.js} +0 -0
- /package/dist/chunks/{integration-df08tz66.js → generate-df08tz66.js} +0 -0
- /package/dist/chunks/{integration-dy18nga0.js → generate-dy18nga0.js} +0 -0
- /package/dist/chunks/{integration-e5kj55wp.js → generate-e5kj55wp.js} +0 -0
- /package/dist/chunks/{integration-e73j6tqm.js → generate-e73j6tqm.js} +0 -0
- /package/dist/chunks/{integration-ec1grn59.js → generate-ec1grn59.js} +0 -0
- /package/dist/chunks/{integration-eh3zwz77.js → generate-eh3zwz77.js} +0 -0
- /package/dist/chunks/{integration-emrn6kk6.js → generate-emrn6kk6.js} +0 -0
- /package/dist/chunks/{integration-f0mxakyp.js → generate-f0mxakyp.js} +0 -0
- /package/dist/chunks/{integration-f6n9ztr4.js → generate-f6n9ztr4.js} +0 -0
- /package/dist/chunks/{integration-faypxj3z.js → generate-faypxj3z.js} +0 -0
- /package/dist/chunks/{integration-fd410y7t.js → generate-fd410y7t.js} +0 -0
- /package/dist/chunks/{integration-g4wezp1m.js → generate-g4wezp1m.js} +0 -0
- /package/dist/chunks/{integration-g86h250q.js → generate-g86h250q.js} +0 -0
- /package/dist/chunks/{integration-gebd4c9n.js → generate-gebd4c9n.js} +0 -0
- /package/dist/chunks/{integration-gftt206x.js → generate-gftt206x.js} +0 -0
- /package/dist/chunks/{integration-hcxmzztb.js → generate-hcxmzztb.js} +0 -0
- /package/dist/chunks/{integration-hk9envan.js → generate-hk9envan.js} +0 -0
- /package/dist/chunks/{integration-j2ntwpah.js → generate-j2ntwpah.js} +0 -0
- /package/dist/chunks/{integration-j5zkgpj8.js → generate-j5zkgpj8.js} +0 -0
- /package/dist/chunks/{integration-jjkms2e6.js → generate-jjkms2e6.js} +0 -0
- /package/dist/chunks/{integration-jr7sbwjy.js → generate-jr7sbwjy.js} +0 -0
- /package/dist/chunks/{integration-jwfs4k6c.js → generate-jwfs4k6c.js} +0 -0
- /package/dist/chunks/{integration-jze0r7bz.js → generate-jze0r7bz.js} +0 -0
- /package/dist/chunks/{integration-jzg6c2d5.js → generate-jzg6c2d5.js} +0 -0
- /package/dist/chunks/{integration-m18g726c.js → generate-m18g726c.js} +0 -0
- /package/dist/chunks/{integration-mp448xyj.js → generate-mp448xyj.js} +0 -0
- /package/dist/chunks/{integration-msx8hqn2.js → generate-msx8hqn2.js} +0 -0
- /package/dist/chunks/{integration-n05xt0ee.js → generate-n05xt0ee.js} +0 -0
- /package/dist/chunks/{integration-n3j8tn72.js → generate-n3j8tn72.js} +0 -0
- /package/dist/chunks/{integration-njntx4h6.js → generate-njntx4h6.js} +0 -0
- /package/dist/chunks/{integration-pkyv6v7h.js → generate-pkyv6v7h.js} +0 -0
- /package/dist/chunks/{integration-pyv0edze.js → generate-pyv0edze.js} +0 -0
- /package/dist/chunks/{integration-q3sfg36h.js → generate-q3sfg36h.js} +0 -0
- /package/dist/chunks/{integration-q74kybfr.js → generate-q74kybfr.js} +0 -0
- /package/dist/chunks/{integration-qaymkmh1.js → generate-qaymkmh1.js} +0 -0
- /package/dist/chunks/{integration-qb87gjwd.js → generate-qb87gjwd.js} +0 -0
- /package/dist/chunks/{integration-qfa1cgps.js → generate-qfa1cgps.js} +0 -0
- /package/dist/chunks/{integration-qg3g05ea.js → generate-qg3g05ea.js} +0 -0
- /package/dist/chunks/{integration-qrg20bc0.js → generate-qrg20bc0.js} +0 -0
- /package/dist/chunks/{integration-rcb2kzg1.js → generate-rcb2kzg1.js} +0 -0
- /package/dist/chunks/{integration-sdp7kfr6.js → generate-sdp7kfr6.js} +0 -0
- /package/dist/chunks/{integration-ssg3fenm.js → generate-ssg3fenm.js} +0 -0
- /package/dist/chunks/{integration-ve7vex1e.js → generate-ve7vex1e.js} +0 -0
- /package/dist/chunks/{integration-w803qqfp.js → generate-w803qqfp.js} +0 -0
- /package/dist/chunks/{integration-wc3fc9cn.js → generate-wc3fc9cn.js} +0 -0
- /package/dist/chunks/{integration-wer8tq1h.js → generate-wer8tq1h.js} +0 -0
- /package/dist/chunks/{integration-wjj7prxr.js → generate-wjj7prxr.js} +0 -0
- /package/dist/chunks/{integration-wtztk69x.js → generate-wtztk69x.js} +0 -0
- /package/dist/chunks/{integration-x0ckcb58.js → generate-x0ckcb58.js} +0 -0
- /package/dist/chunks/{integration-x61499pn.js → generate-x61499pn.js} +0 -0
- /package/dist/chunks/{integration-y44na4kk.js → generate-y44na4kk.js} +0 -0
- /package/dist/chunks/{integration-y8f7s663.js → generate-y8f7s663.js} +0 -0
- /package/dist/chunks/{integration-ygaqb7jw.js → generate-ygaqb7jw.js} +0 -0
- /package/dist/chunks/{integration-ym463w8f.js → generate-ym463w8f.js} +0 -0
- /package/dist/chunks/{integration-z5v4ffb3.js → generate-z5v4ffb3.js} +0 -0
- /package/dist/chunks/{integration-z9919s4g.js → generate-z9919s4g.js} +0 -0
|
@@ -1,34 +1,34 @@
|
|
|
1
1
|
import {
|
|
2
2
|
Service85
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./generate-tn5v4cx9.js";
|
|
4
4
|
import {
|
|
5
5
|
Service84
|
|
6
|
-
} from "./
|
|
6
|
+
} from "./generate-q6bbd52s.js";
|
|
7
7
|
import {
|
|
8
8
|
Service43
|
|
9
|
-
} from "./
|
|
9
|
+
} from "./generate-4mwpykj0.js";
|
|
10
10
|
import {
|
|
11
11
|
RelativePath2
|
|
12
|
-
} from "./
|
|
12
|
+
} from "./generate-z5v4ffb3.js";
|
|
13
13
|
import {
|
|
14
14
|
ID5,
|
|
15
|
-
|
|
16
|
-
} from "./
|
|
15
|
+
Service39
|
|
16
|
+
} from "./generate-7m5zb45r.js";
|
|
17
17
|
import {
|
|
18
18
|
SessionEvent2
|
|
19
|
-
} from "./
|
|
19
|
+
} from "./generate-ec1grn59.js";
|
|
20
20
|
import {
|
|
21
21
|
SessionMessage2
|
|
22
|
-
} from "./
|
|
22
|
+
} from "./generate-gftt206x.js";
|
|
23
23
|
import {
|
|
24
24
|
MessageNotFoundError2
|
|
25
|
-
} from "./
|
|
25
|
+
} from "./generate-5aw8rzt5.js";
|
|
26
26
|
import {
|
|
27
27
|
SessionMessageTable2
|
|
28
|
-
} from "./
|
|
28
|
+
} from "./generate-c1fqxshp.js";
|
|
29
29
|
import {
|
|
30
30
|
__export
|
|
31
|
-
} from "./
|
|
31
|
+
} from "./generate-9rqn6x4v.js";
|
|
32
32
|
|
|
33
33
|
// src/session/revert.ts
|
|
34
34
|
var exports_revert = {};
|
|
@@ -45,7 +45,7 @@ var stage2 = Effect.fn("SessionRevert.stage")(function* (input) {
|
|
|
45
45
|
const database = yield* Service85;
|
|
46
46
|
const bus = yield* Service84;
|
|
47
47
|
return yield* Effect.gen(function* () {
|
|
48
|
-
const snapshot = yield*
|
|
48
|
+
const snapshot = yield* Service39;
|
|
49
49
|
const original = input.session.revert?.snapshot ? ID5.make(input.session.revert.snapshot) : yield* snapshot.capture();
|
|
50
50
|
const next = yield* plan(database.db, { sessionID: input.session.id, messageID: input.messageID });
|
|
51
51
|
const restore = new Map;
|
|
@@ -76,7 +76,7 @@ var clear2 = Effect.fn("SessionRevert.clear")(function* (session) {
|
|
|
76
76
|
const instances = yield* Service43;
|
|
77
77
|
const bus = yield* Service84;
|
|
78
78
|
yield* Effect.gen(function* () {
|
|
79
|
-
const snapshot = yield*
|
|
79
|
+
const snapshot = yield* Service39;
|
|
80
80
|
if (!session.revert)
|
|
81
81
|
return;
|
|
82
82
|
const original = session.revert.snapshot ? ID5.make(session.revert.snapshot) : undefined;
|
|
@@ -1,22 +1,22 @@
|
|
|
1
1
|
import {
|
|
2
2
|
create3
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./generate-rdw6cm16.js";
|
|
4
4
|
import {
|
|
5
5
|
__export
|
|
6
|
-
} from "./
|
|
6
|
+
} from "./generate-9rqn6x4v.js";
|
|
7
7
|
|
|
8
8
|
// src/filesystem/location-watcher-policy.ts
|
|
9
9
|
var exports_location_watcher_policy = {};
|
|
10
10
|
__export(exports_location_watcher_policy, {
|
|
11
11
|
LocationWatcherPolicy: () => exports_location_watcher_policy,
|
|
12
|
-
Service: () =>
|
|
13
|
-
node: () =>
|
|
12
|
+
Service: () => Service9,
|
|
13
|
+
node: () => node11
|
|
14
14
|
});
|
|
15
15
|
import { makeLocationNode } from "@opencode/util/effect/app-node";
|
|
16
16
|
import { Context, Effect, Layer, Scope } from "effect";
|
|
17
|
-
class
|
|
17
|
+
class Service9 extends Context.Service()("@opencode/LocationWatcherPolicy") {
|
|
18
18
|
}
|
|
19
|
-
var layer = Layer.effect(
|
|
19
|
+
var layer = Layer.effect(Service9, Effect.gen(function* () {
|
|
20
20
|
const listeners = new Set;
|
|
21
21
|
const state = create3({
|
|
22
22
|
name: "location-watcher-policy",
|
|
@@ -41,13 +41,13 @@ var layer = Layer.effect(Service14, Effect.gen(function* () {
|
|
|
41
41
|
yield* Scope.addFinalizer(scope, dispose);
|
|
42
42
|
return { dispose };
|
|
43
43
|
});
|
|
44
|
-
return
|
|
44
|
+
return Service9.of({
|
|
45
45
|
transform: state.transform,
|
|
46
46
|
reload: state.reload,
|
|
47
47
|
current,
|
|
48
48
|
observe
|
|
49
49
|
});
|
|
50
50
|
}));
|
|
51
|
-
var
|
|
51
|
+
var node11 = makeLocationNode({ service: Service9, layer, deps: [] });
|
|
52
52
|
|
|
53
|
-
export {
|
|
53
|
+
export { Service9, node11, exports_location_watcher_policy };
|
|
@@ -1,20 +1,20 @@
|
|
|
1
1
|
import {
|
|
2
2
|
AbsolutePath2
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./generate-z5v4ffb3.js";
|
|
4
4
|
import {
|
|
5
5
|
root2
|
|
6
|
-
} from "./
|
|
6
|
+
} from "./generate-rgnm4ne9.js";
|
|
7
7
|
import {
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
} from "./
|
|
8
|
+
Service80,
|
|
9
|
+
node84
|
|
10
|
+
} from "./generate-am1pfj1j.js";
|
|
11
11
|
import {
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
} from "./
|
|
12
|
+
Service46,
|
|
13
|
+
node48
|
|
14
|
+
} from "./generate-nj0qv38t.js";
|
|
15
15
|
import {
|
|
16
16
|
__export
|
|
17
|
-
} from "./
|
|
17
|
+
} from "./generate-9rqn6x4v.js";
|
|
18
18
|
|
|
19
19
|
// src/file-access.ts
|
|
20
20
|
var exports_file_access = {};
|
|
@@ -22,8 +22,8 @@ __export(exports_file_access, {
|
|
|
22
22
|
FileAccess: () => exports_file_access,
|
|
23
23
|
Kind: () => Kind2,
|
|
24
24
|
ResolveInput: () => ResolveInput2,
|
|
25
|
-
Service: () =>
|
|
26
|
-
node: () =>
|
|
25
|
+
Service: () => Service14,
|
|
26
|
+
node: () => node16,
|
|
27
27
|
resolvePath: () => resolvePath2
|
|
28
28
|
});
|
|
29
29
|
import { makeLocationNode } from "@opencode/util/effect/app-node";
|
|
@@ -37,7 +37,7 @@ var ResolveInput2 = Schema.Struct({
|
|
|
37
37
|
kind: Kind2.pipe(Schema.optional)
|
|
38
38
|
});
|
|
39
39
|
|
|
40
|
-
class
|
|
40
|
+
class Service14 extends Context.Service()("@opencode/FileAccess") {
|
|
41
41
|
}
|
|
42
42
|
var resolvePath2 = (directory, input, home = Global.Path.home) => {
|
|
43
43
|
const normalized = FSUtil.windowsPath(input);
|
|
@@ -49,10 +49,10 @@ var invocation = (context) => ({
|
|
|
49
49
|
agent: context.agent,
|
|
50
50
|
source: { type: "tool", messageID: context.messageID, id: context.id }
|
|
51
51
|
});
|
|
52
|
-
var layer = Layer.effect(
|
|
52
|
+
var layer = Layer.effect(Service14, Effect.gen(function* () {
|
|
53
53
|
const fs = yield* FSUtil.Service;
|
|
54
|
-
const location = yield*
|
|
55
|
-
const permission = yield*
|
|
54
|
+
const location = yield* Service80;
|
|
55
|
+
const permission = yield* Service46;
|
|
56
56
|
const resolve = Effect.fn("FileAccess.resolve")(function* (input) {
|
|
57
57
|
const absolute = AbsolutePath2.make(resolvePath2(location.directory, input.path));
|
|
58
58
|
const worktree = path.resolve(location.project.directory);
|
|
@@ -101,8 +101,8 @@ var layer = Layer.effect(Service20, Effect.gen(function* () {
|
|
|
101
101
|
});
|
|
102
102
|
return target;
|
|
103
103
|
});
|
|
104
|
-
return
|
|
104
|
+
return Service14.of({ resolve, authorizeExternal, authorizeRead });
|
|
105
105
|
}));
|
|
106
|
-
var
|
|
106
|
+
var node16 = makeLocationNode({ service: Service14, layer, deps: [FSUtil.node, node84, node48] });
|
|
107
107
|
|
|
108
|
-
export { Kind2, ResolveInput2,
|
|
108
|
+
export { Kind2, ResolveInput2, Service14, resolvePath2, node16, exports_file_access };
|
|
@@ -1,33 +1,33 @@
|
|
|
1
1
|
import {
|
|
2
2
|
Service84,
|
|
3
3
|
node88
|
|
4
|
-
} from "./
|
|
4
|
+
} from "./generate-q6bbd52s.js";
|
|
5
5
|
import {
|
|
6
6
|
optional2,
|
|
7
7
|
statics2
|
|
8
|
-
} from "./
|
|
8
|
+
} from "./generate-z5v4ffb3.js";
|
|
9
9
|
import {
|
|
10
10
|
Ref4,
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
} from "./
|
|
11
|
+
Service80,
|
|
12
|
+
node84
|
|
13
|
+
} from "./generate-am1pfj1j.js";
|
|
14
14
|
import {
|
|
15
15
|
__export
|
|
16
|
-
} from "./
|
|
16
|
+
} from "./generate-9rqn6x4v.js";
|
|
17
17
|
|
|
18
18
|
// src/rpc.ts
|
|
19
19
|
var exports_rpc = {};
|
|
20
20
|
__export(exports_rpc, {
|
|
21
21
|
Rpc: () => exports_rpc,
|
|
22
|
-
Service: () =>
|
|
22
|
+
Service: () => Service50,
|
|
23
23
|
define: () => define2,
|
|
24
|
-
node: () =>
|
|
24
|
+
node: () => node52
|
|
25
25
|
});
|
|
26
26
|
import { define as define2 } from "@opencode/schema/rpc";
|
|
27
27
|
import { Event } from "@opencode/schema/event";
|
|
28
28
|
import { makeLocationNode } from "@opencode/util/effect/app-node";
|
|
29
29
|
import { Context, Deferred, Effect, JsonSchema, Layer, Schema, SchemaRepresentation, Stream } from "effect";
|
|
30
|
-
class
|
|
30
|
+
class Service50 extends Context.Service()("@opencode/Rpc") {
|
|
31
31
|
}
|
|
32
32
|
|
|
33
33
|
class DeclaredError extends Error {
|
|
@@ -39,9 +39,9 @@ class DeclaredError extends Error {
|
|
|
39
39
|
this.data = data;
|
|
40
40
|
}
|
|
41
41
|
}
|
|
42
|
-
var layer = Layer.effect(
|
|
42
|
+
var layer = Layer.effect(Service50, Effect.gen(function* () {
|
|
43
43
|
const bus = yield* Service84;
|
|
44
|
-
const location = yield*
|
|
44
|
+
const location = yield* Service80;
|
|
45
45
|
const ref = Ref4.make({ directory: location.directory, workspaceID: location.workspaceID });
|
|
46
46
|
const closed = yield* Deferred.make();
|
|
47
47
|
const callContext = {
|
|
@@ -118,14 +118,14 @@ var layer = Layer.effect(Service48, Effect.gen(function* () {
|
|
|
118
118
|
const registered = events.get(name);
|
|
119
119
|
if (!registered)
|
|
120
120
|
return Stream.fail(new Error(`Unknown RPC event: ${definition.id}.${name}`));
|
|
121
|
-
return bus.subscribe(registered.definition).pipe(Stream.provideService(
|
|
121
|
+
return bus.subscribe(registered.definition).pipe(Stream.provideService(Service80, location), Stream.mapEffect((payload) => logicalEvent(definition, name, payload, ref)));
|
|
122
122
|
}
|
|
123
123
|
}
|
|
124
124
|
};
|
|
125
125
|
};
|
|
126
|
-
return
|
|
126
|
+
return Service50.of({ register, call, client, close: Deferred.succeed(closed, undefined).pipe(Effect.asVoid) });
|
|
127
127
|
}));
|
|
128
|
-
var
|
|
128
|
+
var node52 = makeLocationNode({ service: Service50, layer, deps: [node88, node84] });
|
|
129
129
|
var fields = {
|
|
130
130
|
id: Event.ID,
|
|
131
131
|
created: Schema.Finite,
|
|
@@ -210,4 +210,4 @@ var logicalEvent = Effect.fn("Rpc.logicalEvent")(function* (definition, name, pa
|
|
|
210
210
|
};
|
|
211
211
|
});
|
|
212
212
|
|
|
213
|
-
export {
|
|
213
|
+
export { Service50, node52, exports_rpc, define2 };
|
|
@@ -1,32 +1,32 @@
|
|
|
1
1
|
import {
|
|
2
2
|
Service84,
|
|
3
3
|
node88
|
|
4
|
-
} from "./
|
|
4
|
+
} from "./generate-q6bbd52s.js";
|
|
5
5
|
import {
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
} from "./
|
|
6
|
+
Service33,
|
|
7
|
+
node36
|
|
8
|
+
} from "./generate-h0snx40f.js";
|
|
9
9
|
import {
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
} from "./
|
|
10
|
+
Service46,
|
|
11
|
+
node48
|
|
12
|
+
} from "./generate-nj0qv38t.js";
|
|
13
13
|
import {
|
|
14
14
|
Service62,
|
|
15
15
|
node65
|
|
16
|
-
} from "./
|
|
16
|
+
} from "./generate-8b7vdg12.js";
|
|
17
17
|
import {
|
|
18
18
|
__export
|
|
19
|
-
} from "./
|
|
19
|
+
} from "./generate-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: () => Service32,
|
|
26
|
+
layer: () => layer14,
|
|
27
27
|
name: () => name14,
|
|
28
28
|
namespace: () => namespace2,
|
|
29
|
-
node: () =>
|
|
29
|
+
node: () => node35
|
|
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 name14 = (server, tool) => `${namespace2(server)}_${tool.replace(/[^a-zA-Z0-9_-]/g, "_")}`;
|
|
37
37
|
|
|
38
|
-
class
|
|
38
|
+
class Service32 extends Context.Service()("@opencode/McpTool") {
|
|
39
39
|
}
|
|
40
|
-
var
|
|
41
|
-
const mcp = yield*
|
|
40
|
+
var layer14 = Layer.effect(Service32, Effect.gen(function* () {
|
|
41
|
+
const mcp = yield* Service33;
|
|
42
42
|
const tools = yield* Service62;
|
|
43
43
|
const bus = yield* Service84;
|
|
44
|
-
const permission = yield*
|
|
44
|
+
const permission = yield* Service46;
|
|
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 layer16 = Layer.effect(Service38, 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 Service32.of({ flush: Effect.asVoid(Fiber.await(initial)) });
|
|
122
122
|
}));
|
|
123
|
-
var
|
|
124
|
-
service:
|
|
125
|
-
layer:
|
|
126
|
-
deps: [node65,
|
|
123
|
+
var node35 = makeLocationNode({
|
|
124
|
+
service: Service32,
|
|
125
|
+
layer: layer14,
|
|
126
|
+
deps: [node65, node36, node88, node48]
|
|
127
127
|
});
|
|
128
128
|
|
|
129
|
-
export { namespace2, name14,
|
|
129
|
+
export { namespace2, name14, Service32, layer14, node35, exports_mcp3 };
|
|
@@ -1,39 +1,39 @@
|
|
|
1
1
|
import {
|
|
2
2
|
Failed2
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./generate-hgz4x7wa.js";
|
|
4
4
|
import {
|
|
5
5
|
execDefaults2
|
|
6
|
-
} from "./
|
|
6
|
+
} from "./generate-eej6y6fw.js";
|
|
7
7
|
import {
|
|
8
8
|
Service85,
|
|
9
9
|
node89
|
|
10
|
-
} from "./
|
|
10
|
+
} from "./generate-tn5v4cx9.js";
|
|
11
11
|
import {
|
|
12
12
|
makeUnsafe2
|
|
13
|
-
} from "./
|
|
13
|
+
} from "./generate-y71avatq.js";
|
|
14
14
|
import {
|
|
15
15
|
Binding2,
|
|
16
16
|
RegistryService2,
|
|
17
|
-
|
|
18
|
-
} from "./
|
|
17
|
+
node62
|
|
18
|
+
} from "./generate-v4nfzjvf.js";
|
|
19
19
|
import {
|
|
20
20
|
WorkspaceTable2
|
|
21
|
-
} from "./
|
|
21
|
+
} from "./generate-faypxj3z.js";
|
|
22
22
|
import {
|
|
23
23
|
__export
|
|
24
|
-
} from "./
|
|
24
|
+
} from "./generate-9rqn6x4v.js";
|
|
25
25
|
|
|
26
26
|
// src/workspace.ts
|
|
27
27
|
var exports_workspace = {};
|
|
28
28
|
__export(exports_workspace, {
|
|
29
29
|
CreateConflict: () => CreateConflict2,
|
|
30
|
-
ID: () =>
|
|
31
|
-
Info: () =>
|
|
30
|
+
ID: () => ID10,
|
|
31
|
+
Info: () => Info17,
|
|
32
32
|
NotFound: () => NotFound2,
|
|
33
|
-
Service: () =>
|
|
33
|
+
Service: () => Service59,
|
|
34
34
|
Workspace: () => exports_workspace,
|
|
35
|
-
configured: () =>
|
|
36
|
-
node: () =>
|
|
35
|
+
configured: () => configured9,
|
|
36
|
+
node: () => node61
|
|
37
37
|
});
|
|
38
38
|
import { Workspace } from "@opencode/schema/workspace";
|
|
39
39
|
import { makeGlobalNode } from "@opencode/util/effect/app-node";
|
|
@@ -41,10 +41,10 @@ import { eq } from "drizzle-orm";
|
|
|
41
41
|
import { Clock, Context, Deferred, Duration, Effect, Exit, FiberSet, Layer, Ref, Schedule, Schema, Scope } from "effect";
|
|
42
42
|
import { systemError } from "effect/PlatformError";
|
|
43
43
|
import { make } from "effect/process/ChildProcessSpawner";
|
|
44
|
-
var
|
|
44
|
+
var ID10 = Workspace.ID;
|
|
45
45
|
|
|
46
|
-
class
|
|
47
|
-
id:
|
|
46
|
+
class Info17 extends Schema.Class("Workspace.Info")({
|
|
47
|
+
id: ID10,
|
|
48
48
|
provider: Schema.String,
|
|
49
49
|
binding: Binding2,
|
|
50
50
|
createdAt: Schema.Number,
|
|
@@ -52,24 +52,24 @@ class Info14 extends Schema.Class("Workspace.Info")({
|
|
|
52
52
|
}) {
|
|
53
53
|
}
|
|
54
54
|
|
|
55
|
-
class NotFound2 extends Schema.TaggedError()("Workspace.NotFound", { workspaceID:
|
|
55
|
+
class NotFound2 extends Schema.TaggedError()("Workspace.NotFound", { workspaceID: ID10 }) {
|
|
56
56
|
}
|
|
57
57
|
|
|
58
58
|
class CreateConflict2 extends Schema.TaggedError()("Workspace.CreateConflict", {
|
|
59
|
-
workspaceID:
|
|
59
|
+
workspaceID: ID10,
|
|
60
60
|
provider: Schema.String,
|
|
61
61
|
existingProvider: Schema.String
|
|
62
62
|
}) {
|
|
63
63
|
}
|
|
64
64
|
|
|
65
|
-
class
|
|
65
|
+
class Service59 extends Context.Service()("@opencode/Workspace") {
|
|
66
66
|
}
|
|
67
|
-
var
|
|
68
|
-
service:
|
|
67
|
+
var configured9 = (options = {}) => makeGlobalNode({
|
|
68
|
+
service: Service59,
|
|
69
69
|
layer: layer(options),
|
|
70
|
-
deps: [node89,
|
|
70
|
+
deps: [node89, node62]
|
|
71
71
|
});
|
|
72
|
-
var layer = (options) => Layer.effect(
|
|
72
|
+
var layer = (options) => Layer.effect(Service59, Effect.gen(function* () {
|
|
73
73
|
const db = (yield* Service85).db;
|
|
74
74
|
const registry = yield* RegistryService2;
|
|
75
75
|
const lifetime = yield* Scope.Scope;
|
|
@@ -86,7 +86,7 @@ var layer = (options) => Layer.effect(Service61, Effect.gen(function* () {
|
|
|
86
86
|
return row;
|
|
87
87
|
});
|
|
88
88
|
const saveBinding = (workspaceID, binding) => db.update(WorkspaceTable2).set({ binding }).where(eq(WorkspaceTable2.id, workspaceID)).run().pipe(Effect.orDie);
|
|
89
|
-
const info = (row, binding) => new
|
|
89
|
+
const info = (row, binding) => new Info17({
|
|
90
90
|
id: row.id,
|
|
91
91
|
provider: row.provider,
|
|
92
92
|
binding,
|
|
@@ -164,9 +164,9 @@ var layer = (options) => Layer.effect(Service61, Effect.gen(function* () {
|
|
|
164
164
|
yield* Scope.close(connection.scope, Exit.void);
|
|
165
165
|
}).pipe(Effect.catchCause((cause) => Effect.logError("workspace idle suspension failed", cause)))), { concurrency: "unbounded", discard: true });
|
|
166
166
|
}).pipe(Effect.repeat(Schedule.spaced(options.pollInterval ?? Duration.minutes(1))), Effect.forkScoped);
|
|
167
|
-
return
|
|
167
|
+
return Service59.of({
|
|
168
168
|
create: Effect.fn("Workspace.create")(function* (input) {
|
|
169
|
-
const workspaceID = input.id ??
|
|
169
|
+
const workspaceID = input.id ?? ID10.create();
|
|
170
170
|
const existing = yield* db.select({ provider: WorkspaceTable2.provider }).from(WorkspaceTable2).where(eq(WorkspaceTable2.id, workspaceID)).get().pipe(Effect.orDie);
|
|
171
171
|
if (existing) {
|
|
172
172
|
if (existing.provider === input.provider)
|
|
@@ -242,6 +242,6 @@ var layer = (options) => Layer.effect(Service61, Effect.gen(function* () {
|
|
|
242
242
|
})
|
|
243
243
|
});
|
|
244
244
|
}));
|
|
245
|
-
var
|
|
245
|
+
var node61 = configured9();
|
|
246
246
|
|
|
247
|
-
export {
|
|
247
|
+
export { ID10, Info17, NotFound2, CreateConflict2, Service59, configured9, node61, exports_workspace };
|
|
@@ -1,26 +1,26 @@
|
|
|
1
1
|
import {
|
|
2
2
|
AbsolutePath2
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./generate-z5v4ffb3.js";
|
|
4
4
|
import {
|
|
5
|
-
|
|
6
|
-
|
|
5
|
+
Info5,
|
|
6
|
+
ID4,
|
|
7
7
|
Name2
|
|
8
|
-
} from "./
|
|
8
|
+
} from "./generate-z32egz26.js";
|
|
9
9
|
import {
|
|
10
|
-
|
|
11
|
-
} from "./
|
|
10
|
+
Service37
|
|
11
|
+
} from "./generate-6ztftnmw.js";
|
|
12
12
|
import {
|
|
13
13
|
__export
|
|
14
|
-
} from "./
|
|
14
|
+
} from "./generate-9rqn6x4v.js";
|
|
15
15
|
|
|
16
16
|
// src/plugin/skill.ts
|
|
17
|
-
var
|
|
18
|
-
__export(
|
|
17
|
+
var exports_skill3 = {};
|
|
18
|
+
__export(exports_skill3, {
|
|
19
19
|
OpencodeContent: () => OpencodeContent2,
|
|
20
20
|
OpencodeDescription: () => OpencodeDescription2,
|
|
21
|
-
Plugin: () =>
|
|
21
|
+
Plugin: () => Plugin43,
|
|
22
22
|
ReportContent: () => ReportContent2,
|
|
23
|
-
SkillPlugin: () =>
|
|
23
|
+
SkillPlugin: () => exports_skill3
|
|
24
24
|
});
|
|
25
25
|
import { define } from "@opencode/plugin/effect/plugin";
|
|
26
26
|
import { Effect } from "effect";
|
|
@@ -424,20 +424,20 @@ var OpencodeContent2 = opencode_default;
|
|
|
424
424
|
var ReportContent2 = report_default;
|
|
425
425
|
var OpencodeDescription2 = "Use this skill for any question about OpenCode itself, including how OpenCode works, using or configuring it, migrating from V1 to V2, troubleshooting it, developing plugins or integrations, using the OpenCode SDK, clients, server, or API, and contributing to the OpenCode codebase. Also use it for OpenCode agents, commands, skills, tools, permissions, MCP servers, providers, models, themes, keybinds, formatters, the CLI, TUI, desktop app, and web app.";
|
|
426
426
|
var REPORT_DESCRIPTION = "Use when the user wants to report an opencode issue or bug. Collect standard diagnostics, add user-specific reproduction context, and publish the issue with GitHub CLI.";
|
|
427
|
-
var
|
|
427
|
+
var Plugin43 = define({
|
|
428
428
|
id: "opencode.skill",
|
|
429
429
|
effect: Effect.fn(function* (ctx) {
|
|
430
430
|
const reportContent = yield* reportContentWithDiagnostics(ctx.app);
|
|
431
431
|
yield* ctx.skill.transform((editor) => {
|
|
432
|
-
editor.add(
|
|
433
|
-
id:
|
|
432
|
+
editor.add(Info5.make({
|
|
433
|
+
id: ID4.make("opencode"),
|
|
434
434
|
name: Name2.make("OpenCode"),
|
|
435
435
|
description: OpencodeDescription2,
|
|
436
436
|
path: AbsolutePath2.make("/builtin/opencode.md"),
|
|
437
437
|
content: OpencodeContent2
|
|
438
438
|
}));
|
|
439
|
-
editor.add(
|
|
440
|
-
id:
|
|
439
|
+
editor.add(Info5.make({
|
|
440
|
+
id: ID4.make("report"),
|
|
441
441
|
name: Name2.make("Report"),
|
|
442
442
|
description: REPORT_DESCRIPTION,
|
|
443
443
|
path: AbsolutePath2.make("/builtin/report.md"),
|
|
@@ -466,7 +466,7 @@ var reportContentWithDiagnostics = Effect.fn("SkillPlugin.reportContentWithDiagn
|
|
|
466
466
|
`);
|
|
467
467
|
});
|
|
468
468
|
var configuredPlugins = Effect.fn("SkillPlugin.configuredPlugins")(function* () {
|
|
469
|
-
const config = yield*
|
|
469
|
+
const config = yield* Service37;
|
|
470
470
|
return (yield* config.entries()).filter((entry) => entry.type === "document").flatMap((entry) => entry.info.plugins ?? []).map((entry) => typeof entry === "string" ? entry : entry.package).toSorted();
|
|
471
471
|
});
|
|
472
472
|
function terminal() {
|
|
@@ -480,4 +480,4 @@ function shell() {
|
|
|
480
480
|
return process.env.SHELL ?? process.env.ComSpec ?? process.env.COMSPEC ?? "Unavailable: shell environment variable is not set";
|
|
481
481
|
}
|
|
482
482
|
|
|
483
|
-
export { OpencodeContent2, ReportContent2, OpencodeDescription2,
|
|
483
|
+
export { OpencodeContent2, ReportContent2, OpencodeDescription2, Plugin43, exports_skill3 };
|
|
@@ -1,16 +1,16 @@
|
|
|
1
1
|
import {
|
|
2
2
|
AbsolutePath2
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./generate-z5v4ffb3.js";
|
|
4
4
|
import {
|
|
5
5
|
__export
|
|
6
|
-
} from "./
|
|
6
|
+
} from "./generate-9rqn6x4v.js";
|
|
7
7
|
|
|
8
8
|
// src/skill/discovery.ts
|
|
9
9
|
var exports_discovery = {};
|
|
10
10
|
__export(exports_discovery, {
|
|
11
|
-
Service: () =>
|
|
11
|
+
Service: () => Service8,
|
|
12
12
|
SkillDiscovery: () => exports_discovery,
|
|
13
|
-
node: () =>
|
|
13
|
+
node: () => node10
|
|
14
14
|
});
|
|
15
15
|
import path from "path";
|
|
16
16
|
import { Context, Effect, Layer, Schedule, Schema } from "effect";
|
|
@@ -48,9 +48,9 @@ class Index extends Schema.Class("SkillDiscovery.Index")({
|
|
|
48
48
|
}) {
|
|
49
49
|
}
|
|
50
50
|
|
|
51
|
-
class
|
|
51
|
+
class Service8 extends Context.Service()("@opencode/SkillDiscovery") {
|
|
52
52
|
}
|
|
53
|
-
var layer = Layer.effect(
|
|
53
|
+
var layer = Layer.effect(Service8, Effect.gen(function* () {
|
|
54
54
|
const fs = yield* FSUtil.Service;
|
|
55
55
|
const global = yield* Global.Service;
|
|
56
56
|
const http = (yield* HttpClient.HttpClient).pipe(HttpClient.retryTransient({
|
|
@@ -63,7 +63,7 @@ var layer = Layer.effect(Service7, Effect.gen(function* () {
|
|
|
63
63
|
return true;
|
|
64
64
|
return yield* HttpClientRequest.get(url).pipe(http.execute, Effect.flatMap((response) => response.arrayBuffer), Effect.flatMap((body) => fs.writeWithDirs(destination, new Uint8Array(body))), Effect.as(true), Effect.catch((error) => Effect.logError("failed to download skill file", { url, error }).pipe(Effect.as(false))));
|
|
65
65
|
});
|
|
66
|
-
return
|
|
66
|
+
return Service8.of({
|
|
67
67
|
pull: Effect.fn("SkillDiscovery.pull")(function* (url) {
|
|
68
68
|
const base = url.endsWith("/") ? url : `${url}/`;
|
|
69
69
|
const source = new URL(base);
|
|
@@ -150,6 +150,6 @@ var layer = Layer.effect(Service7, Effect.gen(function* () {
|
|
|
150
150
|
})
|
|
151
151
|
});
|
|
152
152
|
}));
|
|
153
|
-
var
|
|
153
|
+
var node10 = makeGlobalNode({ service: Service8, layer, deps: [httpClient, FSUtil.node, Global.node] });
|
|
154
154
|
|
|
155
|
-
export {
|
|
155
|
+
export { Service8, node10, exports_discovery };
|