@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,48 +1,48 @@
|
|
|
1
1
|
import {
|
|
2
2
|
Service84
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./generate-q6bbd52s.js";
|
|
4
4
|
import {
|
|
5
|
-
|
|
6
|
-
} from "./
|
|
5
|
+
Service77
|
|
6
|
+
} from "./generate-f81ndarb.js";
|
|
7
7
|
import {
|
|
8
8
|
group2,
|
|
9
9
|
batch2,
|
|
10
10
|
shutdown2,
|
|
11
11
|
inherit2
|
|
12
|
-
} from "./
|
|
12
|
+
} from "./generate-rdw6cm16.js";
|
|
13
13
|
import {
|
|
14
|
-
|
|
14
|
+
Service30,
|
|
15
15
|
awaitActivation2
|
|
16
|
-
} from "./
|
|
16
|
+
} from "./generate-9zdhvgqs.js";
|
|
17
17
|
import {
|
|
18
18
|
make11,
|
|
19
19
|
requirements3,
|
|
20
20
|
storage2
|
|
21
|
-
} from "./
|
|
21
|
+
} from "./generate-p1kn5vhn.js";
|
|
22
22
|
import {
|
|
23
23
|
__export
|
|
24
|
-
} from "./
|
|
24
|
+
} from "./generate-9rqn6x4v.js";
|
|
25
25
|
|
|
26
26
|
// src/plugin.ts
|
|
27
27
|
var exports_plugin2 = {};
|
|
28
28
|
__export(exports_plugin2, {
|
|
29
|
-
Event: () =>
|
|
29
|
+
Event: () => Event4,
|
|
30
30
|
ID: () => ID3,
|
|
31
31
|
Info: () => Info3,
|
|
32
32
|
Plugin: () => exports_plugin2,
|
|
33
|
-
Service: () =>
|
|
33
|
+
Service: () => Service30,
|
|
34
34
|
Source: () => Source2,
|
|
35
35
|
State: () => State2,
|
|
36
36
|
awaitActivation: () => awaitActivation2,
|
|
37
|
-
node: () =>
|
|
37
|
+
node: () => node23
|
|
38
38
|
});
|
|
39
|
-
import { Event as
|
|
39
|
+
import { Event as Event4, ID as ID3, Info as Info3, Source as Source2, State as State2 } from "@opencode/schema/plugin";
|
|
40
40
|
import { Plugin } from "@opencode/schema/plugin";
|
|
41
41
|
import { Node } from "@opencode/util/effect/app-node";
|
|
42
42
|
import { Cause, Context, Effect, Exit, Latch, Layer, Logger, Queue, References, Scope, Semaphore } from "effect";
|
|
43
|
-
var layer = Layer.effect(
|
|
43
|
+
var layer = Layer.effect(Service30, Effect.gen(function* () {
|
|
44
44
|
const bus = yield* Service84;
|
|
45
|
-
const kv = yield*
|
|
45
|
+
const kv = yield* Service77;
|
|
46
46
|
const scope = yield* Scope.make();
|
|
47
47
|
const active = new Map;
|
|
48
48
|
const lock = Semaphore.makeUnsafe(1);
|
|
@@ -205,7 +205,7 @@ var layer = Layer.effect(Service37, Effect.gen(function* () {
|
|
|
205
205
|
yield* shutdown2(Scope.close(scope, exit));
|
|
206
206
|
}));
|
|
207
207
|
yield* Effect.addFinalizer(close);
|
|
208
|
-
return
|
|
208
|
+
return Service30.of({
|
|
209
209
|
activate,
|
|
210
210
|
close,
|
|
211
211
|
awaitActivation: ready.await,
|
|
@@ -222,10 +222,10 @@ function slotInfo(slot) {
|
|
|
222
222
|
features: { server: true, ...slot.plugin.features }
|
|
223
223
|
};
|
|
224
224
|
}
|
|
225
|
-
var
|
|
226
|
-
service:
|
|
225
|
+
var node23 = Node.makeLocationNode({
|
|
226
|
+
service: Service30,
|
|
227
227
|
layer,
|
|
228
228
|
deps: [requirements3]
|
|
229
229
|
});
|
|
230
230
|
|
|
231
|
-
export {
|
|
231
|
+
export { node23, exports_plugin2, Event4, ID3, Info3, Source2, State2 };
|
|
@@ -1,51 +1,51 @@
|
|
|
1
1
|
import {
|
|
2
2
|
typeFollowing2
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./generate-hgz4x7wa.js";
|
|
4
4
|
import {
|
|
5
5
|
RelativePath2
|
|
6
|
-
} from "./
|
|
6
|
+
} from "./generate-z5v4ffb3.js";
|
|
7
7
|
import {
|
|
8
|
-
|
|
9
|
-
} from "./
|
|
8
|
+
Service80
|
|
9
|
+
} from "./generate-am1pfj1j.js";
|
|
10
10
|
import {
|
|
11
|
-
|
|
12
|
-
} from "./
|
|
11
|
+
Service58
|
|
12
|
+
} from "./generate-2hy9kqsr.js";
|
|
13
13
|
import {
|
|
14
14
|
InvalidPatternError2,
|
|
15
|
-
|
|
16
|
-
} from "./
|
|
15
|
+
Service57
|
|
16
|
+
} from "./generate-t64a1aj0.js";
|
|
17
17
|
import {
|
|
18
18
|
DEFAULT_SEARCH_LIMIT2,
|
|
19
19
|
DEFAULT_SEARCH_TIMEOUT_MS2,
|
|
20
20
|
GrepInput2,
|
|
21
21
|
Entry2,
|
|
22
22
|
Match2
|
|
23
|
-
} from "./
|
|
23
|
+
} from "./generate-5q337x67.js";
|
|
24
24
|
import {
|
|
25
|
-
|
|
26
|
-
} from "./
|
|
25
|
+
Service46
|
|
26
|
+
} from "./generate-nj0qv38t.js";
|
|
27
27
|
import {
|
|
28
|
-
|
|
29
|
-
} from "./
|
|
28
|
+
Service14
|
|
29
|
+
} from "./generate-qsz0pak0.js";
|
|
30
30
|
import {
|
|
31
31
|
__export
|
|
32
|
-
} from "./
|
|
32
|
+
} from "./generate-9rqn6x4v.js";
|
|
33
33
|
|
|
34
34
|
// src/tool/plugin/grep.ts
|
|
35
35
|
var exports_grep = {};
|
|
36
36
|
__export(exports_grep, {
|
|
37
37
|
GrepTool: () => exports_grep,
|
|
38
|
-
Input: () =>
|
|
39
|
-
Output: () =>
|
|
40
|
-
Plugin: () =>
|
|
41
|
-
name: () =>
|
|
42
|
-
toModelContent: () =>
|
|
38
|
+
Input: () => Input12,
|
|
39
|
+
Output: () => Output8,
|
|
40
|
+
Plugin: () => Plugin15,
|
|
41
|
+
name: () => name12,
|
|
42
|
+
toModelContent: () => toModelContent6
|
|
43
43
|
});
|
|
44
44
|
import { ToolFailure } from "@opencode/ai";
|
|
45
45
|
import { Effect, Schema } from "effect";
|
|
46
46
|
import path from "path";
|
|
47
|
-
var
|
|
48
|
-
var
|
|
47
|
+
var name12 = "grep";
|
|
48
|
+
var Input12 = Schema.Struct({
|
|
49
49
|
pattern: GrepInput2.fields.pattern.check(Schema.isMinLength(1, { message: "Pattern must not be empty" })).annotate({
|
|
50
50
|
description: "Regular expression or literal text to match in file contents."
|
|
51
51
|
}),
|
|
@@ -65,8 +65,8 @@ var Input10 = Schema.Struct({
|
|
|
65
65
|
description: `Maximum number of matching lines to return (default: ${DEFAULT_SEARCH_LIMIT2})`
|
|
66
66
|
})
|
|
67
67
|
});
|
|
68
|
-
var
|
|
69
|
-
var
|
|
68
|
+
var Output8 = Schema.Array(Match2);
|
|
69
|
+
var toModelContent6 = (matches, truncated = false) => {
|
|
70
70
|
const lines = matches.length === 0 ? ["No matches found"] : [`Found ${matches.length} matches`];
|
|
71
71
|
let current = "";
|
|
72
72
|
for (const match of matches) {
|
|
@@ -83,26 +83,26 @@ var toModelContent5 = (matches, truncated = false) => {
|
|
|
83
83
|
return lines.join(`
|
|
84
84
|
`);
|
|
85
85
|
};
|
|
86
|
-
var
|
|
86
|
+
var Plugin15 = {
|
|
87
87
|
id: "opencode.tool.grep",
|
|
88
88
|
effect: Effect.fn("GrepTool.Plugin")(function* (ctx) {
|
|
89
|
-
const environment = yield*
|
|
90
|
-
const ripgrep = yield*
|
|
91
|
-
const location = yield*
|
|
92
|
-
const access = yield*
|
|
93
|
-
const permission = yield*
|
|
89
|
+
const environment = yield* Service58;
|
|
90
|
+
const ripgrep = yield* Service57;
|
|
91
|
+
const location = yield* Service80;
|
|
92
|
+
const access = yield* Service14;
|
|
93
|
+
const permission = yield* Service46;
|
|
94
94
|
yield* ctx.tool.transform((editor) => editor.add({
|
|
95
|
-
name:
|
|
95
|
+
name: name12,
|
|
96
96
|
options: { codemode: false },
|
|
97
97
|
description: "Search file contents using ripgrep's regular expression syntax or literal text matching. Use it to locate specific code, symbols, or text patterns, and narrow searches with `path` or `include`. Returns matching file paths, line numbers, and line previews.",
|
|
98
|
-
input:
|
|
99
|
-
output:
|
|
98
|
+
input: Input12,
|
|
99
|
+
output: Output8,
|
|
100
100
|
execute: (input, context) => Effect.gen(function* () {
|
|
101
101
|
const source = { type: "tool", messageID: context.messageID, id: context.id };
|
|
102
102
|
const target = yield* access.resolve({ path: input.path ?? "." });
|
|
103
103
|
yield* access.authorizeExternal([target], context);
|
|
104
104
|
yield* permission.assert({
|
|
105
|
-
action:
|
|
105
|
+
action: name12,
|
|
106
106
|
resources: [input.pattern],
|
|
107
107
|
save: ["*"],
|
|
108
108
|
metadata: {
|
|
@@ -144,7 +144,7 @@ var Plugin47 = {
|
|
|
144
144
|
return { matches: matches.slice(0, limit), truncated: matches.length > limit };
|
|
145
145
|
}).pipe(Effect.map((result) => ({
|
|
146
146
|
output: result.matches,
|
|
147
|
-
content:
|
|
147
|
+
content: toModelContent6(result.matches.map((match) => ({
|
|
148
148
|
...match,
|
|
149
149
|
entry: { ...match.entry, path: path.resolve(location.directory, match.entry.path) }
|
|
150
150
|
})), result.truncated),
|
|
@@ -154,4 +154,4 @@ var Plugin47 = {
|
|
|
154
154
|
})
|
|
155
155
|
};
|
|
156
156
|
|
|
157
|
-
export {
|
|
157
|
+
export { name12, Input12, Output8, toModelContent6, Plugin15, exports_grep };
|
|
@@ -1,23 +1,23 @@
|
|
|
1
1
|
import {
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
} from "./
|
|
2
|
+
Service60,
|
|
3
|
+
node63
|
|
4
|
+
} from "./generate-cw4qzwxd.js";
|
|
5
5
|
import {
|
|
6
6
|
Key4,
|
|
7
7
|
removed2,
|
|
8
8
|
make21,
|
|
9
9
|
diffByKey2
|
|
10
|
-
} from "./
|
|
10
|
+
} from "./generate-eaj1djv9.js";
|
|
11
11
|
import {
|
|
12
12
|
__export
|
|
13
|
-
} from "./
|
|
13
|
+
} from "./generate-9rqn6x4v.js";
|
|
14
14
|
|
|
15
15
|
// src/reference/instructions.ts
|
|
16
|
-
var
|
|
17
|
-
__export(
|
|
18
|
-
ReferenceInstructions: () =>
|
|
19
|
-
Service: () =>
|
|
20
|
-
node: () =>
|
|
16
|
+
var exports_instructions4 = {};
|
|
17
|
+
__export(exports_instructions4, {
|
|
18
|
+
ReferenceInstructions: () => exports_instructions4,
|
|
19
|
+
Service: () => Service28,
|
|
20
|
+
node: () => node32
|
|
21
21
|
});
|
|
22
22
|
import { makeLocationNode } from "@opencode/util/effect/app-node";
|
|
23
23
|
import { Context, Effect, Layer, Schema } from "effect";
|
|
@@ -57,11 +57,11 @@ var update = (previous, current) => {
|
|
|
57
57
|
`);
|
|
58
58
|
};
|
|
59
59
|
|
|
60
|
-
class
|
|
60
|
+
class Service28 extends Context.Service()("@opencode/ReferenceInstructions") {
|
|
61
61
|
}
|
|
62
|
-
var layer = Layer.effect(
|
|
63
|
-
const references = yield*
|
|
64
|
-
return
|
|
62
|
+
var layer = Layer.effect(Service28, Effect.gen(function* () {
|
|
63
|
+
const references = yield* Service60;
|
|
64
|
+
return Service28.of({
|
|
65
65
|
load: Effect.fn("ReferenceInstructions.load")(function* () {
|
|
66
66
|
const available = (yield* references.list()).filter((reference) => reference.description !== undefined).map((reference) => ({
|
|
67
67
|
name: reference.name,
|
|
@@ -81,6 +81,6 @@ var layer = Layer.effect(Service30, Effect.gen(function* () {
|
|
|
81
81
|
})
|
|
82
82
|
});
|
|
83
83
|
}));
|
|
84
|
-
var
|
|
84
|
+
var node32 = makeLocationNode({ service: Service28, layer, deps: [node63] });
|
|
85
85
|
|
|
86
|
-
export {
|
|
86
|
+
export { Service28, node32, exports_instructions4 };
|
|
@@ -1,18 +1,18 @@
|
|
|
1
1
|
import {
|
|
2
|
-
|
|
3
|
-
} from "./
|
|
2
|
+
ID12
|
|
3
|
+
} from "./generate-77pskh4q.js";
|
|
4
4
|
import {
|
|
5
5
|
iife2
|
|
6
|
-
} from "./
|
|
6
|
+
} from "./generate-1kg9ymc8.js";
|
|
7
7
|
import {
|
|
8
8
|
configuredSettings2
|
|
9
|
-
} from "./
|
|
9
|
+
} from "./generate-9ebxg8jx.js";
|
|
10
10
|
|
|
11
11
|
// src/plugin/provider/cloudflare-workers-ai.ts
|
|
12
12
|
import { Effect } from "effect";
|
|
13
13
|
import { define } from "@opencode/plugin/effect/plugin";
|
|
14
14
|
import { Form } from "@opencode/schema/form";
|
|
15
|
-
var providerID =
|
|
15
|
+
var providerID = ID12.make("cloudflare-workers-ai");
|
|
16
16
|
var CloudflareWorkersAIPlugin2 = define({
|
|
17
17
|
id: "opencode.provider.cloudflare.workers.ai",
|
|
18
18
|
effect: Effect.fn(function* (ctx) {
|
|
@@ -1,25 +1,25 @@
|
|
|
1
1
|
import {
|
|
2
2
|
WorktreeError2
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./generate-agxmfjyz.js";
|
|
4
4
|
import {
|
|
5
|
-
|
|
6
|
-
} from "./
|
|
5
|
+
Service46
|
|
6
|
+
} from "./generate-nj0qv38t.js";
|
|
7
7
|
import {
|
|
8
|
-
|
|
9
|
-
} from "./
|
|
8
|
+
Service14
|
|
9
|
+
} from "./generate-qsz0pak0.js";
|
|
10
10
|
import {
|
|
11
11
|
DirectoryUnavailableError2
|
|
12
|
-
} from "./
|
|
12
|
+
} from "./generate-0vbcp93d.js";
|
|
13
13
|
import {
|
|
14
|
-
|
|
14
|
+
Info25,
|
|
15
15
|
List2,
|
|
16
16
|
InvalidDirectoryError2,
|
|
17
17
|
StrategyUnavailableError2,
|
|
18
18
|
OperationError2
|
|
19
|
-
} from "./
|
|
19
|
+
} from "./generate-8xvsaz5v.js";
|
|
20
20
|
import {
|
|
21
21
|
__export
|
|
22
|
-
} from "./
|
|
22
|
+
} from "./generate-9rqn6x4v.js";
|
|
23
23
|
|
|
24
24
|
// src/tool/plugin/opencode.ts
|
|
25
25
|
var exports_opencode = {};
|
|
@@ -27,7 +27,7 @@ __export(exports_opencode, {
|
|
|
27
27
|
ModelsInput: () => ModelsInput2,
|
|
28
28
|
MoveInput: () => MoveInput2,
|
|
29
29
|
OpenCodeTools: () => exports_opencode,
|
|
30
|
-
Plugin: () =>
|
|
30
|
+
Plugin: () => Plugin14,
|
|
31
31
|
RenameInput: () => RenameInput2,
|
|
32
32
|
WorktreeCreateInput: () => WorktreeCreateInput2,
|
|
33
33
|
WorktreeRemoveInput: () => WorktreeRemoveInput2
|
|
@@ -97,11 +97,11 @@ var ModelsOutput = Schema.Struct({
|
|
|
97
97
|
total: Schema.Int.annotate({ description: "Number of matching models across all pages." }),
|
|
98
98
|
next: Schema.NullOr(Schema.Int).annotate({ description: "Offset of the next page, or null on the last page." })
|
|
99
99
|
});
|
|
100
|
-
var
|
|
100
|
+
var Plugin14 = {
|
|
101
101
|
id: "opencode.tools",
|
|
102
102
|
effect: Effect.fn("OpenCodeTools.Plugin")(function* (ctx) {
|
|
103
|
-
const access = yield*
|
|
104
|
-
const permission = yield*
|
|
103
|
+
const access = yield* Service14;
|
|
104
|
+
const permission = yield* Service46;
|
|
105
105
|
const hook = (event) => Effect.sync(() => {
|
|
106
106
|
event.system.push(SystemPart.make("When you create a worktree outside the current working directory and intend to use it as your primary working directory, consider using `execute` to call `tools.opencode.session_move` and make the worktree the session's working directory."));
|
|
107
107
|
});
|
|
@@ -153,7 +153,7 @@ var Plugin41 = {
|
|
|
153
153
|
name: "worktree_create",
|
|
154
154
|
description: "Create a named worktree. Returns its directory.",
|
|
155
155
|
input: WorktreeCreateInput2,
|
|
156
|
-
output:
|
|
156
|
+
output: Info25,
|
|
157
157
|
options: { namespace: "opencode", codemode: true, pinned: true },
|
|
158
158
|
execute: (input) => ctx.worktree.create({ projectID: ctx.location.project.id, name: input.name }).pipe(Effect.map((output) => ({ output, content: `Created worktree in ${output.directory}.` })), Effect.mapError((error) => new ToolFailure({ message: `Unable to create worktree ${input.name}`, error })))
|
|
159
159
|
});
|
|
@@ -250,4 +250,4 @@ function removeFailure(directory, error) {
|
|
|
250
250
|
return `Unable to remove worktree ${directory}.`;
|
|
251
251
|
}
|
|
252
252
|
|
|
253
|
-
export { RenameInput2, MoveInput2, WorktreeCreateInput2, WorktreeRemoveInput2, ModelsInput2,
|
|
253
|
+
export { RenameInput2, MoveInput2, WorktreeCreateInput2, WorktreeRemoveInput2, ModelsInput2, Plugin14, exports_opencode };
|
|
@@ -1,36 +1,36 @@
|
|
|
1
1
|
import {
|
|
2
2
|
Service85,
|
|
3
3
|
node89
|
|
4
|
-
} from "./
|
|
4
|
+
} from "./generate-tn5v4cx9.js";
|
|
5
5
|
import {
|
|
6
6
|
latestSequence2,
|
|
7
7
|
Service84,
|
|
8
8
|
node88
|
|
9
|
-
} from "./
|
|
9
|
+
} from "./generate-q6bbd52s.js";
|
|
10
10
|
import {
|
|
11
11
|
llmClient2
|
|
12
|
-
} from "./
|
|
12
|
+
} from "./generate-775gj3j1.js";
|
|
13
13
|
import {
|
|
14
14
|
SessionEvent2
|
|
15
|
-
} from "./
|
|
15
|
+
} from "./generate-ec1grn59.js";
|
|
16
16
|
import {
|
|
17
17
|
firstUserMessage2
|
|
18
|
-
} from "./
|
|
18
|
+
} from "./generate-38f9ca5d.js";
|
|
19
19
|
import {
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
} from "./
|
|
20
|
+
Service47,
|
|
21
|
+
node49
|
|
22
|
+
} from "./generate-wf3n0qmy.js";
|
|
23
23
|
import {
|
|
24
|
-
|
|
25
|
-
|
|
26
|
-
} from "./
|
|
24
|
+
Service23,
|
|
25
|
+
node27
|
|
26
|
+
} from "./generate-j99q5vv1.js";
|
|
27
27
|
import {
|
|
28
28
|
record2,
|
|
29
29
|
add2
|
|
30
|
-
} from "./
|
|
30
|
+
} from "./generate-tdstcens.js";
|
|
31
31
|
import {
|
|
32
32
|
__export
|
|
33
|
-
} from "./
|
|
33
|
+
} from "./generate-9rqn6x4v.js";
|
|
34
34
|
|
|
35
35
|
// src/session/title.ts
|
|
36
36
|
var exports_title = {};
|
|
@@ -61,8 +61,8 @@ var isUntitled2 = (session) => isExactRootFallback({
|
|
|
61
61
|
var layer3 = Layer.effect(Service2, Effect.gen(function* () {
|
|
62
62
|
const bus = yield* Service84;
|
|
63
63
|
const llm = yield* LLMClient.Service;
|
|
64
|
-
const context = yield*
|
|
65
|
-
const store = yield*
|
|
64
|
+
const context = yield* Service23;
|
|
65
|
+
const store = yield* Service47;
|
|
66
66
|
const db = (yield* Service85).db;
|
|
67
67
|
const attempt = Effect.fn("SessionTitle.attempt")(function* (input) {
|
|
68
68
|
const chunks = [];
|
|
@@ -150,7 +150,7 @@ Recent conversation:
|
|
|
150
150
|
var node3 = makeLocationNode({
|
|
151
151
|
service: Service2,
|
|
152
152
|
layer: layer3,
|
|
153
|
-
deps: [node88, llmClient2,
|
|
153
|
+
deps: [node88, llmClient2, node27, node49, node89]
|
|
154
154
|
});
|
|
155
155
|
|
|
156
156
|
export { Service2, isUntitled2, layer3, node3, exports_title };
|
|
@@ -1,15 +1,15 @@
|
|
|
1
1
|
import {
|
|
2
2
|
BlockedError2
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./generate-nj0qv38t.js";
|
|
4
4
|
import {
|
|
5
5
|
__export
|
|
6
|
-
} from "./
|
|
6
|
+
} from "./generate-9rqn6x4v.js";
|
|
7
7
|
|
|
8
8
|
// src/plugin/plan.ts
|
|
9
9
|
var exports_plan = {};
|
|
10
10
|
__export(exports_plan, {
|
|
11
11
|
PlanPlugin: () => exports_plan,
|
|
12
|
-
Plugin: () =>
|
|
12
|
+
Plugin: () => Plugin45
|
|
13
13
|
});
|
|
14
14
|
import { Message, ToolFailure } from "@opencode/ai";
|
|
15
15
|
import { define } from "@opencode/plugin/effect/plugin";
|
|
@@ -29,7 +29,7 @@ You remain in Plan mode until the user switches agents. If the user asks you to
|
|
|
29
29
|
var leave = `<system-reminder>
|
|
30
30
|
You are NO LONGER in Plan mode. The previous Plan restrictions no longer apply. Any Plan mode instructions from earlier in this conversation are no longer active.
|
|
31
31
|
</system-reminder>`;
|
|
32
|
-
var
|
|
32
|
+
var Plugin45 = define({
|
|
33
33
|
id: "opencode.plan",
|
|
34
34
|
effect: Effect.fn(function* (ctx) {
|
|
35
35
|
const global = yield* Global.Service;
|
|
@@ -105,4 +105,4 @@ function lastReminder(messages, enterReminder) {
|
|
|
105
105
|
}, undefined);
|
|
106
106
|
}
|
|
107
107
|
|
|
108
|
-
export {
|
|
108
|
+
export { Plugin45, exports_plan };
|
|
@@ -1,27 +1,27 @@
|
|
|
1
1
|
import {
|
|
2
2
|
Service84
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./generate-q6bbd52s.js";
|
|
4
4
|
import {
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
} from "./
|
|
5
|
+
Service54,
|
|
6
|
+
Event10
|
|
7
|
+
} from "./generate-3wv0f6jd.js";
|
|
8
8
|
import {
|
|
9
9
|
__export
|
|
10
|
-
} from "./
|
|
10
|
+
} from "./generate-9rqn6x4v.js";
|
|
11
11
|
|
|
12
12
|
// src/wellknown/plugin.ts
|
|
13
13
|
var exports_plugin = {};
|
|
14
14
|
__export(exports_plugin, {
|
|
15
|
-
Plugin: () =>
|
|
15
|
+
Plugin: () => Plugin2,
|
|
16
16
|
WellKnownPlugin: () => exports_plugin
|
|
17
17
|
});
|
|
18
18
|
import { define } from "@opencode/plugin/effect/plugin";
|
|
19
19
|
import { Effect, Stream } from "effect";
|
|
20
|
-
var
|
|
20
|
+
var Plugin2 = define({
|
|
21
21
|
id: "opencode.wellknown",
|
|
22
22
|
effect: Effect.fn(function* (ctx) {
|
|
23
23
|
const bus = yield* Service84;
|
|
24
|
-
const wellknown = yield*
|
|
24
|
+
const wellknown = yield* Service54;
|
|
25
25
|
yield* wellknown.entries().pipe(Effect.orDie);
|
|
26
26
|
yield* ctx.integration.transform((editor) => {
|
|
27
27
|
wellknown.snapshot().forEach((entry) => {
|
|
@@ -41,8 +41,8 @@ var Plugin20 = define({
|
|
|
41
41
|
});
|
|
42
42
|
});
|
|
43
43
|
});
|
|
44
|
-
yield* bus.subscribe(
|
|
44
|
+
yield* bus.subscribe(Event10.Updated).pipe(Stream.runForEach(() => ctx.integration.reload()), Effect.forkScoped({ startImmediately: true }));
|
|
45
45
|
})
|
|
46
46
|
});
|
|
47
47
|
|
|
48
|
-
export {
|
|
48
|
+
export { Plugin2, exports_plugin };
|
|
@@ -1,30 +1,30 @@
|
|
|
1
1
|
import {
|
|
2
2
|
match2
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./generate-y1fvbwt7.js";
|
|
4
4
|
import {
|
|
5
5
|
__export
|
|
6
|
-
} from "./
|
|
6
|
+
} from "./generate-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: () => Service16,
|
|
13
13
|
decision: () => decision2,
|
|
14
|
-
layer: () =>
|
|
15
|
-
node: () =>
|
|
14
|
+
layer: () => layer9,
|
|
15
|
+
node: () => node18,
|
|
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 Service16 extends Context.Service()("@opencode/ManagedPolicy") {
|
|
23
23
|
}
|
|
24
|
-
var
|
|
24
|
+
var layer9 = Layer.effect(Service16, Effect.gen(function* () {
|
|
25
25
|
const changes = yield* PubSub.unbounded();
|
|
26
26
|
const state = { current: { statements: [] } };
|
|
27
|
-
return
|
|
27
|
+
return Service16.of({
|
|
28
28
|
changes: () => Stream.fromPubSub(changes),
|
|
29
29
|
current: () => state.current,
|
|
30
30
|
set: (next) => Effect.gen(function* () {
|
|
@@ -36,7 +36,7 @@ var layer11 = Layer.effect(Service23, Effect.gen(function* () {
|
|
|
36
36
|
})
|
|
37
37
|
});
|
|
38
38
|
}));
|
|
39
|
-
var
|
|
39
|
+
var node18 = makeGlobalNode({ service: Service16, layer: layer9, deps: [] });
|
|
40
40
|
function statements2(entries, organization) {
|
|
41
41
|
return [
|
|
42
42
|
...entries.filter((entry) => entry.type === "document").toReversed().flatMap((entry) => entry.info.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 { Service16, layer9, node18, statements2, decision2, exports_managed_policy };
|