@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,32 +1,32 @@
|
|
|
1
1
|
import {
|
|
2
2
|
Service85,
|
|
3
3
|
node89
|
|
4
|
-
} from "./
|
|
4
|
+
} from "./generate-tn5v4cx9.js";
|
|
5
5
|
import {
|
|
6
6
|
Key4,
|
|
7
7
|
removed2,
|
|
8
8
|
make21,
|
|
9
9
|
combine2
|
|
10
|
-
} from "./
|
|
10
|
+
} from "./generate-eaj1djv9.js";
|
|
11
11
|
import {
|
|
12
12
|
InstructionEntryTable2
|
|
13
|
-
} from "./
|
|
13
|
+
} from "./generate-c1fqxshp.js";
|
|
14
14
|
import {
|
|
15
15
|
__export
|
|
16
|
-
} from "./
|
|
16
|
+
} from "./generate-9rqn6x4v.js";
|
|
17
17
|
|
|
18
18
|
// src/session/instruction-entry.ts
|
|
19
19
|
var exports_instruction_entry = {};
|
|
20
20
|
__export(exports_instruction_entry, {
|
|
21
|
-
Info: () =>
|
|
21
|
+
Info: () => Info4,
|
|
22
22
|
InstructionEntry: () => exports_instruction_entry,
|
|
23
23
|
Key: () => Key2,
|
|
24
24
|
MaxValueBytes: () => MaxValueBytes2,
|
|
25
|
-
Service: () =>
|
|
25
|
+
Service: () => Service24,
|
|
26
26
|
Snapshot: () => Snapshot2,
|
|
27
27
|
ValueTooLargeError: () => ValueTooLargeError2,
|
|
28
28
|
initialize: () => initialize2,
|
|
29
|
-
node: () =>
|
|
29
|
+
node: () => node28,
|
|
30
30
|
snapshot: () => snapshot2
|
|
31
31
|
});
|
|
32
32
|
import { and, asc, eq, isNotNull, isNull, ne, or } from "drizzle-orm";
|
|
@@ -34,7 +34,7 @@ import { Context, Effect, Layer, Schema } from "effect";
|
|
|
34
34
|
import { InstructionEntry } from "@opencode/schema/instruction-entry";
|
|
35
35
|
import { makeLocationNode } from "@opencode/util/effect/app-node";
|
|
36
36
|
var Key2 = InstructionEntry.Key;
|
|
37
|
-
var
|
|
37
|
+
var Info4 = InstructionEntry.Info;
|
|
38
38
|
var Snapshot2 = InstructionEntry.Snapshot;
|
|
39
39
|
var MaxValueBytes2 = InstructionEntry.MaxValueBytes;
|
|
40
40
|
var ValueTooLargeError2 = InstructionEntry.ValueTooLargeError;
|
|
@@ -56,7 +56,7 @@ var initialize2 = Effect.fn("InstructionEntry.initialize")(function* (db, sessio
|
|
|
56
56
|
}))).run().pipe(Effect.orDie), { discard: true });
|
|
57
57
|
});
|
|
58
58
|
|
|
59
|
-
class
|
|
59
|
+
class Service24 extends Context.Service()("@opencode/InstructionEntry") {
|
|
60
60
|
}
|
|
61
61
|
var renderValue = (value) => typeof value === "string" ? value : JSON.stringify(value, null, 2);
|
|
62
62
|
var renderBlock = (key, value) => [`<context key="${key}">`, renderValue(value), "</context>"].join(`
|
|
@@ -75,7 +75,7 @@ var source = (entry) => make21({
|
|
|
75
75
|
removed: () => `The context under "${entry.key}" no longer applies. Disregard it.`
|
|
76
76
|
}
|
|
77
77
|
});
|
|
78
|
-
var layer = Layer.effect(
|
|
78
|
+
var layer = Layer.effect(Service24, Effect.gen(function* () {
|
|
79
79
|
const { db } = yield* Service85;
|
|
80
80
|
const rows = Effect.fnUntraced(function* (sessionID, includeRemoved) {
|
|
81
81
|
return yield* db.select({
|
|
@@ -108,8 +108,8 @@ var layer = Layer.effect(Service34, Effect.gen(function* () {
|
|
|
108
108
|
const load = Effect.fn("InstructionEntry.load")(function* (sessionID) {
|
|
109
109
|
return combine2((yield* rows(sessionID, true)).map(source));
|
|
110
110
|
});
|
|
111
|
-
return
|
|
111
|
+
return Service24.of({ list, put, remove, load });
|
|
112
112
|
}));
|
|
113
|
-
var
|
|
113
|
+
var node28 = makeLocationNode({ service: Service24, layer, deps: [node89] });
|
|
114
114
|
|
|
115
|
-
export { Key2,
|
|
115
|
+
export { Key2, Info4, Snapshot2, MaxValueBytes2, ValueTooLargeError2, snapshot2, initialize2, Service24, node28, exports_instruction_entry };
|
|
@@ -1,18 +1,18 @@
|
|
|
1
1
|
import {
|
|
2
2
|
webSocketConstructor2
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./generate-775gj3j1.js";
|
|
4
4
|
import {
|
|
5
5
|
__export
|
|
6
|
-
} from "./
|
|
6
|
+
} from "./generate-9rqn6x4v.js";
|
|
7
7
|
|
|
8
8
|
// src/session/model-transport.ts
|
|
9
9
|
var exports_model_transport = {};
|
|
10
10
|
__export(exports_model_transport, {
|
|
11
|
-
Service: () =>
|
|
11
|
+
Service: () => Service27,
|
|
12
12
|
SessionModelTransport: () => exports_model_transport,
|
|
13
|
-
layer: () =>
|
|
13
|
+
layer: () => layer12,
|
|
14
14
|
makeLayer: () => makeLayer2,
|
|
15
|
-
node: () =>
|
|
15
|
+
node: () => node31
|
|
16
16
|
});
|
|
17
17
|
import {
|
|
18
18
|
WebSocketTransport
|
|
@@ -33,7 +33,7 @@ var events = Metric.counter("opencode_session_websocket_events_total", {
|
|
|
33
33
|
});
|
|
34
34
|
var metric = (event, attributes = {}) => Metric.update(events.pipe(Metric.withAttributes({ event, ...attributes })), 1);
|
|
35
35
|
|
|
36
|
-
class
|
|
36
|
+
class Service27 extends Context.Service()("@opencode/SessionModelTransport") {
|
|
37
37
|
}
|
|
38
38
|
var transportError = (message, input) => new AIError({
|
|
39
39
|
reason: new TransportError({ message, transport: "websocket", ...input })
|
|
@@ -57,7 +57,7 @@ var observationFrame = (observation) => {
|
|
|
57
57
|
return Effect.fail(observation.error);
|
|
58
58
|
};
|
|
59
59
|
var observationTerminal = (observation) => observation.type !== "frame";
|
|
60
|
-
var makeLayer2 = (connector) => Layer.effect(
|
|
60
|
+
var makeLayer2 = (connector) => Layer.effect(Service27, Effect.gen(function* () {
|
|
61
61
|
const scope = yield* Scope.Scope;
|
|
62
62
|
const states = new Map;
|
|
63
63
|
const state = (sessionID) => {
|
|
@@ -367,11 +367,11 @@ var makeLayer2 = (connector) => Layer.effect(Service36, Effect.gen(function* ()
|
|
|
367
367
|
}, { discard: true });
|
|
368
368
|
});
|
|
369
369
|
yield* Effect.addFinalizer(() => closeAll);
|
|
370
|
-
return
|
|
370
|
+
return Service27.of({ bind, close, closeAll });
|
|
371
371
|
}));
|
|
372
|
-
var
|
|
372
|
+
var layer12 = Layer.unwrap(Effect.map(Socket.WebSocketConstructor, (constructor) => makeLayer2({
|
|
373
373
|
open: (input) => WebSocketTransport.open(input).pipe(Effect.provideService(Socket.WebSocketConstructor, constructor))
|
|
374
374
|
})));
|
|
375
|
-
var
|
|
375
|
+
var node31 = makeGlobalNode({ service: Service27, layer: layer12, deps: [webSocketConstructor2] });
|
|
376
376
|
|
|
377
|
-
export {
|
|
377
|
+
export { Service27, makeLayer2, layer12, node31, exports_model_transport };
|
|
@@ -1,12 +1,12 @@
|
|
|
1
1
|
import {
|
|
2
2
|
aisdk2
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./generate-77pskh4q.js";
|
|
4
4
|
import {
|
|
5
5
|
VariantID2
|
|
6
|
-
} from "./
|
|
6
|
+
} from "./generate-c80hh747.js";
|
|
7
7
|
import {
|
|
8
8
|
__export
|
|
9
|
-
} from "./
|
|
9
|
+
} from "./generate-9rqn6x4v.js";
|
|
10
10
|
|
|
11
11
|
// src/variant.ts
|
|
12
12
|
var exports_variant = {};
|
|
@@ -1,21 +1,21 @@
|
|
|
1
1
|
import {
|
|
2
2
|
useragent2
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./generate-frnezgjg.js";
|
|
4
4
|
import {
|
|
5
5
|
__export
|
|
6
|
-
} from "./
|
|
6
|
+
} from "./generate-9rqn6x4v.js";
|
|
7
7
|
|
|
8
8
|
// src/plugin/websearch/tavily.ts
|
|
9
9
|
var exports_tavily = {};
|
|
10
10
|
__export(exports_tavily, {
|
|
11
|
-
Plugin: () =>
|
|
11
|
+
Plugin: () => Plugin36,
|
|
12
12
|
WebSearchTavily: () => exports_tavily,
|
|
13
|
-
endpoint: () =>
|
|
13
|
+
endpoint: () => endpoint4
|
|
14
14
|
});
|
|
15
15
|
import { define } from "@opencode/plugin/effect/plugin";
|
|
16
16
|
import { Duration, Effect, Schema } from "effect";
|
|
17
17
|
import { HttpClient, HttpClientRequest, HttpClientResponse } from "effect/http";
|
|
18
|
-
var
|
|
18
|
+
var endpoint4 = "https://api.tavily.com/search";
|
|
19
19
|
var SearchRequest = Schema.Struct({
|
|
20
20
|
query: Schema.String,
|
|
21
21
|
search_depth: Schema.Literal("basic"),
|
|
@@ -29,7 +29,7 @@ var SearchResponse = Schema.Struct({
|
|
|
29
29
|
content: Schema.String
|
|
30
30
|
}))
|
|
31
31
|
});
|
|
32
|
-
var
|
|
32
|
+
var Plugin36 = define({
|
|
33
33
|
id: "opencode.websearch.tavily",
|
|
34
34
|
effect: Effect.fn("WebSearchTavily.Plugin")(function* (ctx) {
|
|
35
35
|
const http = yield* HttpClient.HttpClient;
|
|
@@ -51,7 +51,7 @@ var Plugin23 = define({
|
|
|
51
51
|
execute: (input) => Effect.gen(function* () {
|
|
52
52
|
const connection = yield* ctx.integration.connection.active("tavily");
|
|
53
53
|
const credential = connection ? yield* ctx.integration.connection.resolve(connection) : undefined;
|
|
54
|
-
const request = yield* HttpClientRequest.post(
|
|
54
|
+
const request = yield* HttpClientRequest.post(endpoint4).pipe(HttpClientRequest.acceptJson, HttpClientRequest.setHeaders({
|
|
55
55
|
"User-Agent": useragent2(ctx.app),
|
|
56
56
|
"X-Client-Name": "opencode2",
|
|
57
57
|
...credential?.type === "key" ? { Authorization: `Bearer ${credential.key}` } : { "X-Tavily-Access-Mode": "keyless" }
|
|
@@ -77,4 +77,4 @@ var Plugin23 = define({
|
|
|
77
77
|
})
|
|
78
78
|
});
|
|
79
79
|
|
|
80
|
-
export {
|
|
80
|
+
export { endpoint4, Plugin36, exports_tavily };
|
|
@@ -1,12 +1,12 @@
|
|
|
1
1
|
import {
|
|
2
2
|
cleanup3
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./generate-gd4qta3r.js";
|
|
4
4
|
import {
|
|
5
5
|
create3
|
|
6
|
-
} from "./
|
|
6
|
+
} from "./generate-rdw6cm16.js";
|
|
7
7
|
import {
|
|
8
8
|
__export
|
|
9
|
-
} from "./
|
|
9
|
+
} from "./generate-9rqn6x4v.js";
|
|
10
10
|
|
|
11
11
|
// src/tool-output.ts
|
|
12
12
|
var exports_tool_output2 = {};
|
|
@@ -15,10 +15,10 @@ __export(exports_tool_output2, {
|
|
|
15
15
|
MAX_BYTES: () => MAX_BYTES2,
|
|
16
16
|
MAX_LINES: () => MAX_LINES2,
|
|
17
17
|
RETENTION: () => RETENTION3,
|
|
18
|
-
Service: () =>
|
|
18
|
+
Service: () => Service78,
|
|
19
19
|
ToolOutput: () => exports_tool_output2,
|
|
20
20
|
fileName: () => fileName2,
|
|
21
|
-
node: () =>
|
|
21
|
+
node: () => node82
|
|
22
22
|
});
|
|
23
23
|
import path from "path";
|
|
24
24
|
import { Context, Duration, Effect, Layer, Schedule } from "effect";
|
|
@@ -32,13 +32,13 @@ var RETENTION3 = Duration.days(7);
|
|
|
32
32
|
var DIRECTORY3 = "tool-output";
|
|
33
33
|
var fileName2 = (timestamp) => "tool_" + Identifier.create(false, timestamp);
|
|
34
34
|
|
|
35
|
-
class
|
|
35
|
+
class Service78 extends Context.Service()("@opencode/ToolOutput") {
|
|
36
36
|
}
|
|
37
37
|
var cleanup = Effect.fn("ToolOutput.cleanup")(function* (fs, directory) {
|
|
38
38
|
const entries = yield* fs.readDirectory(directory).pipe(Effect.map((entries) => entries.filter((entry) => /^tool_[0-9a-f]{12}/.test(entry))), Effect.orElseSucceed(() => []));
|
|
39
39
|
yield* cleanup3(fs, entries.map((entry) => path.join(directory, entry)), RETENTION3);
|
|
40
40
|
});
|
|
41
|
-
var layer = Layer.effect(
|
|
41
|
+
var layer = Layer.effect(Service78, Effect.gen(function* () {
|
|
42
42
|
const fs = yield* FSUtil.Service;
|
|
43
43
|
const global = yield* Global.Service;
|
|
44
44
|
const directory = path.join(global.data, DIRECTORY3);
|
|
@@ -116,7 +116,7 @@ var layer = Layer.effect(Service56, Effect.gen(function* () {
|
|
|
116
116
|
metadata: { ...result.metadata, truncated: true, outputPath: file }
|
|
117
117
|
};
|
|
118
118
|
});
|
|
119
|
-
return
|
|
119
|
+
return Service78.of({
|
|
120
120
|
transform: state.transform,
|
|
121
121
|
reload: state.reload,
|
|
122
122
|
truncate,
|
|
@@ -133,10 +133,10 @@ var cleanupNode = makeGlobalNode({
|
|
|
133
133
|
layer: cleanupLayer,
|
|
134
134
|
deps: [FSUtil.node, Global.node]
|
|
135
135
|
});
|
|
136
|
-
var
|
|
137
|
-
service:
|
|
136
|
+
var node82 = makeLocationNode({
|
|
137
|
+
service: Service78,
|
|
138
138
|
layer,
|
|
139
139
|
deps: [FSUtil.node, Global.node, cleanupNode]
|
|
140
140
|
});
|
|
141
141
|
|
|
142
|
-
export { MAX_LINES2, MAX_BYTES2, RETENTION3, DIRECTORY3, fileName2,
|
|
142
|
+
export { MAX_LINES2, MAX_BYTES2, RETENTION3, DIRECTORY3, fileName2, Service78, node82, exports_tool_output2 };
|
|
@@ -1,54 +1,54 @@
|
|
|
1
1
|
import {
|
|
2
2
|
Service84,
|
|
3
3
|
node88
|
|
4
|
-
} from "./
|
|
4
|
+
} from "./generate-q6bbd52s.js";
|
|
5
5
|
import {
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
} from "./
|
|
6
|
+
Service82,
|
|
7
|
+
node86
|
|
8
|
+
} from "./generate-agxmfjyz.js";
|
|
9
9
|
import {
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
} from "./
|
|
10
|
+
Service80,
|
|
11
|
+
node84
|
|
12
|
+
} from "./generate-am1pfj1j.js";
|
|
13
13
|
import {
|
|
14
14
|
awaitActivation2
|
|
15
|
-
} from "./
|
|
15
|
+
} from "./generate-9zdhvgqs.js";
|
|
16
16
|
import {
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
} from "./
|
|
17
|
+
Service38,
|
|
18
|
+
node41
|
|
19
|
+
} from "./generate-mnbgc3d3.js";
|
|
20
20
|
import {
|
|
21
|
-
|
|
22
|
-
} from "./
|
|
21
|
+
node23
|
|
22
|
+
} from "./generate-g04d7ddn.js";
|
|
23
23
|
import {
|
|
24
|
-
|
|
25
|
-
|
|
26
|
-
} from "./
|
|
24
|
+
Service9,
|
|
25
|
+
node11
|
|
26
|
+
} from "./generate-qmqgtz8f.js";
|
|
27
27
|
import {
|
|
28
28
|
__export
|
|
29
|
-
} from "./
|
|
29
|
+
} from "./generate-9rqn6x4v.js";
|
|
30
30
|
|
|
31
31
|
// src/filesystem/location-watcher.ts
|
|
32
|
-
var
|
|
33
|
-
__export(
|
|
34
|
-
LocationWatcher: () =>
|
|
35
|
-
Service: () =>
|
|
36
|
-
node: () =>
|
|
32
|
+
var exports_location_watcher = {};
|
|
33
|
+
__export(exports_location_watcher, {
|
|
34
|
+
LocationWatcher: () => exports_location_watcher,
|
|
35
|
+
Service: () => Service3,
|
|
36
|
+
node: () => node4
|
|
37
37
|
});
|
|
38
38
|
import { makeLocationNode } from "@opencode/util/effect/app-node";
|
|
39
39
|
import { Cause, Context, Effect, Exit, Layer, Scope, Semaphore, Stream } from "effect";
|
|
40
40
|
import { FileSystem } from "@opencode/schema/filesystem";
|
|
41
41
|
import path from "path";
|
|
42
42
|
import { FSUtil } from "@opencode/util/fs-util";
|
|
43
|
-
class
|
|
43
|
+
class Service3 extends Context.Service()("@opencode/LocationWatcher") {
|
|
44
44
|
}
|
|
45
|
-
var layer = Layer.effect(
|
|
46
|
-
const location = yield*
|
|
47
|
-
const watcher = yield*
|
|
45
|
+
var layer = Layer.effect(Service3, Effect.gen(function* () {
|
|
46
|
+
const location = yield* Service80;
|
|
47
|
+
const watcher = yield* Service38;
|
|
48
48
|
const bus = yield* Service84;
|
|
49
49
|
const fs = yield* FSUtil.Service;
|
|
50
|
-
const git = yield*
|
|
51
|
-
const policy = yield*
|
|
50
|
+
const git = yield* Service82;
|
|
51
|
+
const policy = yield* Service9;
|
|
52
52
|
const publish = (update) => bus.publish(FileSystem.Event.Changed, {
|
|
53
53
|
file: update.path,
|
|
54
54
|
event: update.type === "create" ? "add" : update.type === "update" ? "change" : "unlink"
|
|
@@ -100,12 +100,12 @@ var layer = Layer.effect(Service13, Effect.gen(function* () {
|
|
|
100
100
|
yield* awaitActivation2;
|
|
101
101
|
yield* reconcile();
|
|
102
102
|
}).pipe(Effect.catchCauseIf((cause) => !Cause.hasInterrupts(cause), (cause) => Effect.logError("failed to start location watcher", { cause })), Effect.forkScoped({ startImmediately: true }));
|
|
103
|
-
return
|
|
103
|
+
return Service3.of({});
|
|
104
104
|
}));
|
|
105
|
-
var
|
|
106
|
-
service:
|
|
105
|
+
var node4 = makeLocationNode({
|
|
106
|
+
service: Service3,
|
|
107
107
|
layer,
|
|
108
|
-
deps: [
|
|
108
|
+
deps: [node41, FSUtil.node, node84, node86, node88, node23, node11]
|
|
109
109
|
});
|
|
110
110
|
|
|
111
|
-
export {
|
|
111
|
+
export { Service3, node4, exports_location_watcher };
|
|
@@ -1,13 +1,13 @@
|
|
|
1
1
|
import {
|
|
2
2
|
__export
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./generate-9rqn6x4v.js";
|
|
4
4
|
|
|
5
5
|
// src/session/system-prompt.ts
|
|
6
6
|
var exports_system_prompt = {};
|
|
7
7
|
__export(exports_system_prompt, {
|
|
8
8
|
SessionSystemPrompt: () => exports_system_prompt,
|
|
9
|
-
make: () =>
|
|
10
|
-
render: () =>
|
|
9
|
+
make: () => make14,
|
|
10
|
+
render: () => render3
|
|
11
11
|
});
|
|
12
12
|
|
|
13
13
|
// src/session/runner/prompt/system.txt
|
|
@@ -29,10 +29,10 @@ var system_default = `You are an AI agent running in OpenCode, a coding agent ha
|
|
|
29
29
|
`;
|
|
30
30
|
|
|
31
31
|
// src/session/system-prompt.ts
|
|
32
|
-
function
|
|
33
|
-
return
|
|
32
|
+
function make14(tools) {
|
|
33
|
+
return render3(system_default, tools);
|
|
34
34
|
}
|
|
35
|
-
function
|
|
35
|
+
function render3(prompt, tools) {
|
|
36
36
|
const instructions = [];
|
|
37
37
|
if (tools.includes("shell")) {
|
|
38
38
|
instructions.push("- Prefer dedicated tools over shell commands; fall back to the shell when a tool cannot do what you need.", "- Do not chain shell commands with separators like `echo \"====\";` or `printf '---'`; the output becomes noisy in a way that makes the user's side of the conversation worse.");
|
|
@@ -47,4 +47,4 @@ function render2(prompt, tools) {
|
|
|
47
47
|
`));
|
|
48
48
|
}
|
|
49
49
|
|
|
50
|
-
export {
|
|
50
|
+
export { make14, render3, exports_system_prompt };
|
|
@@ -1,18 +1,18 @@
|
|
|
1
1
|
import {
|
|
2
2
|
codeInterpreterArgsSchema2
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./generate-eh3zwz77.js";
|
|
4
4
|
import {
|
|
5
5
|
fileSearchArgsSchema2
|
|
6
|
-
} from "./
|
|
6
|
+
} from "./generate-e73j6tqm.js";
|
|
7
7
|
import {
|
|
8
8
|
webSearchArgsSchema2
|
|
9
|
-
} from "./
|
|
9
|
+
} from "./generate-3wcehsnq.js";
|
|
10
10
|
import {
|
|
11
11
|
webSearchPreviewArgsSchema2
|
|
12
|
-
} from "./
|
|
12
|
+
} from "./generate-dap0rakb.js";
|
|
13
13
|
import {
|
|
14
14
|
imageGenerationArgsSchema2
|
|
15
|
-
} from "./
|
|
15
|
+
} from "./generate-4y7fprxs.js";
|
|
16
16
|
|
|
17
17
|
// src/github-copilot/responses/openai-responses-prepare-tools.ts
|
|
18
18
|
import {
|
|
@@ -1,10 +1,10 @@
|
|
|
1
1
|
import {
|
|
2
2
|
resolveNullableObjectPaths2,
|
|
3
3
|
mapResultRow2
|
|
4
|
-
} from "./
|
|
4
|
+
} from "./generate-emrn6kk6.js";
|
|
5
5
|
import {
|
|
6
6
|
SQLiteEffectDatabase2
|
|
7
|
-
} from "./
|
|
7
|
+
} from "./generate-veh1f6j0.js";
|
|
8
8
|
|
|
9
9
|
// src/database/drizzle/sqlite-core/effect/session.ts
|
|
10
10
|
import * as Cause from "effect/Cause";
|
|
@@ -1,59 +1,59 @@
|
|
|
1
1
|
import {
|
|
2
2
|
Service84,
|
|
3
3
|
node88
|
|
4
|
-
} from "./
|
|
4
|
+
} from "./generate-q6bbd52s.js";
|
|
5
5
|
import {
|
|
6
6
|
Service72,
|
|
7
|
-
|
|
8
|
-
} from "./
|
|
7
|
+
node75
|
|
8
|
+
} from "./generate-eddengze.js";
|
|
9
9
|
import {
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
} from "./
|
|
10
|
+
Service81,
|
|
11
|
+
node85
|
|
12
|
+
} from "./generate-rgnm4ne9.js";
|
|
13
13
|
import {
|
|
14
14
|
Ref4,
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
} from "./
|
|
15
|
+
Service80,
|
|
16
|
+
node84
|
|
17
|
+
} from "./generate-am1pfj1j.js";
|
|
18
18
|
import {
|
|
19
19
|
canonical3
|
|
20
|
-
} from "./
|
|
20
|
+
} from "./generate-v6fdb8n6.js";
|
|
21
21
|
import {
|
|
22
22
|
SessionEvent2
|
|
23
|
-
} from "./
|
|
23
|
+
} from "./generate-ec1grn59.js";
|
|
24
24
|
import {
|
|
25
|
-
|
|
26
|
-
|
|
27
|
-
} from "./
|
|
25
|
+
Service46,
|
|
26
|
+
node48
|
|
27
|
+
} from "./generate-nj0qv38t.js";
|
|
28
28
|
import {
|
|
29
|
-
|
|
30
|
-
|
|
31
|
-
} from "./
|
|
29
|
+
Service50,
|
|
30
|
+
node52
|
|
31
|
+
} from "./generate-qv7zpqjy.js";
|
|
32
32
|
import {
|
|
33
33
|
__export
|
|
34
|
-
} from "./
|
|
34
|
+
} from "./generate-9rqn6x4v.js";
|
|
35
35
|
|
|
36
36
|
// src/location-lifecycle.ts
|
|
37
37
|
var exports_location_lifecycle = {};
|
|
38
38
|
__export(exports_location_lifecycle, {
|
|
39
39
|
LocationLifecycle: () => exports_location_lifecycle,
|
|
40
|
-
Service: () =>
|
|
41
|
-
node: () =>
|
|
40
|
+
Service: () => Service18,
|
|
41
|
+
node: () => node20
|
|
42
42
|
});
|
|
43
43
|
import { Context, Deferred, Effect, Layer, Schema } from "effect";
|
|
44
44
|
import { makeLocationNode } from "@opencode/util/effect/app-node";
|
|
45
45
|
import { LocationEvent } from "@opencode/schema/location-event";
|
|
46
46
|
var isSessionEvent = Schema.is(SessionEvent2.Durable);
|
|
47
47
|
|
|
48
|
-
class
|
|
48
|
+
class Service18 extends Context.Service()("@opencode/LocationLifecycle") {
|
|
49
49
|
}
|
|
50
|
-
var layer = Layer.effect(
|
|
50
|
+
var layer = Layer.effect(Service18, Effect.gen(function* () {
|
|
51
51
|
const bus = yield* Service84;
|
|
52
|
-
const location = yield*
|
|
53
|
-
const permission = yield*
|
|
52
|
+
const location = yield* Service80;
|
|
53
|
+
const permission = yield* Service46;
|
|
54
54
|
const forms = yield* Service72;
|
|
55
|
-
const rpc = yield*
|
|
56
|
-
const project = yield*
|
|
55
|
+
const rpc = yield* Service50;
|
|
56
|
+
const project = yield* Service81;
|
|
57
57
|
const scope = yield* Effect.scope;
|
|
58
58
|
yield* project.activate(location.project.id);
|
|
59
59
|
const unsubscribe = yield* bus.listen((event) => {
|
|
@@ -80,15 +80,15 @@ var layer = Layer.effect(Service12, Effect.gen(function* () {
|
|
|
80
80
|
});
|
|
81
81
|
}).pipe(Effect.ensuring(Deferred.succeed(done, undefined)));
|
|
82
82
|
}).pipe(Effect.uninterruptible);
|
|
83
|
-
return
|
|
83
|
+
return Service18.of({
|
|
84
84
|
isClosed: () => closed,
|
|
85
85
|
shutdown
|
|
86
86
|
});
|
|
87
87
|
}));
|
|
88
|
-
var
|
|
89
|
-
service:
|
|
88
|
+
var node20 = makeLocationNode({
|
|
89
|
+
service: Service18,
|
|
90
90
|
layer,
|
|
91
|
-
deps: [node88,
|
|
91
|
+
deps: [node88, node84, node48, node85, node75, node52]
|
|
92
92
|
});
|
|
93
93
|
|
|
94
|
-
export {
|
|
94
|
+
export { Service18, node20, exports_location_lifecycle };
|
|
@@ -1,32 +1,32 @@
|
|
|
1
1
|
import {
|
|
2
2
|
useragent2
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./generate-frnezgjg.js";
|
|
4
4
|
import {
|
|
5
5
|
Service84
|
|
6
|
-
} from "./
|
|
6
|
+
} from "./generate-q6bbd52s.js";
|
|
7
7
|
import {
|
|
8
8
|
OAuth3,
|
|
9
|
-
|
|
10
|
-
} from "./
|
|
9
|
+
Event16
|
|
10
|
+
} from "./generate-zawpzr3y.js";
|
|
11
11
|
import {
|
|
12
|
-
|
|
12
|
+
ID13,
|
|
13
13
|
MethodID2
|
|
14
|
-
} from "./
|
|
14
|
+
} from "./generate-7097t0y6.js";
|
|
15
15
|
import {
|
|
16
16
|
success2,
|
|
17
17
|
error2
|
|
18
|
-
} from "./
|
|
18
|
+
} from "./generate-pjvnvgmy.js";
|
|
19
19
|
import {
|
|
20
|
-
|
|
20
|
+
ID12,
|
|
21
21
|
mergeOverlay2,
|
|
22
22
|
mergeHeaders2
|
|
23
|
-
} from "./
|
|
23
|
+
} from "./generate-77pskh4q.js";
|
|
24
24
|
import {
|
|
25
25
|
get5
|
|
26
|
-
} from "./
|
|
26
|
+
} from "./generate-54ma36ye.js";
|
|
27
27
|
import {
|
|
28
28
|
configuredSettings2
|
|
29
|
-
} from "./
|
|
29
|
+
} from "./generate-9ebxg8jx.js";
|
|
30
30
|
|
|
31
31
|
// src/plugin/provider/openai.ts
|
|
32
32
|
import { define } from "@opencode/plugin/effect/plugin";
|
|
@@ -50,7 +50,7 @@ var Claims = Schema.fromJsonString(Schema.Struct({
|
|
|
50
50
|
}));
|
|
51
51
|
var decodeClaims = Schema.decodeUnknownOption(Claims);
|
|
52
52
|
var browser = (app) => ({
|
|
53
|
-
integrationID:
|
|
53
|
+
integrationID: ID13.make("openai"),
|
|
54
54
|
method: {
|
|
55
55
|
id: browserMethodID,
|
|
56
56
|
type: "oauth",
|
|
@@ -123,7 +123,7 @@ function addressInUse(error) {
|
|
|
123
123
|
return "code" in error && error.code === "EADDRINUSE";
|
|
124
124
|
}
|
|
125
125
|
var headless = (app) => ({
|
|
126
|
-
integrationID:
|
|
126
|
+
integrationID: ID13.make("openai"),
|
|
127
127
|
method: {
|
|
128
128
|
id: headlessMethodID,
|
|
129
129
|
type: "oauth",
|
|
@@ -183,9 +183,9 @@ var OpenAIPlugin2 = define({
|
|
|
183
183
|
editor.method.update(headless(ctx.app));
|
|
184
184
|
});
|
|
185
185
|
yield* load();
|
|
186
|
-
const configured = yield* configuredSettings2(
|
|
186
|
+
const configured = yield* configuredSettings2(ID12.openai);
|
|
187
187
|
yield* ctx.provider.transform((providers) => {
|
|
188
|
-
const item = providers.get(
|
|
188
|
+
const item = providers.get(ID12.openai);
|
|
189
189
|
if (!item)
|
|
190
190
|
return;
|
|
191
191
|
const account = chatgpt?.metadata?.accountID;
|
|
@@ -205,7 +205,7 @@ var OpenAIPlugin2 = define({
|
|
|
205
205
|
});
|
|
206
206
|
});
|
|
207
207
|
yield* ctx.model.transform((models) => {
|
|
208
|
-
for (const model of models.list(
|
|
208
|
+
for (const model of models.list(ID12.openai)) {
|
|
209
209
|
models.update(model.providerID, model.id, (draft) => {
|
|
210
210
|
if (!chatgpt)
|
|
211
211
|
return;
|
|
@@ -236,14 +236,14 @@ var OpenAIPlugin2 = define({
|
|
|
236
236
|
}));
|
|
237
237
|
evt.headers.originator = "opencode";
|
|
238
238
|
evt.headers["session-id"] = session ? get5(session) : evt.sessionID;
|
|
239
|
-
}), { providerID:
|
|
239
|
+
}), { providerID: ID12.openai });
|
|
240
240
|
const omitOutputLimit = (evt) => Effect.sync(() => {
|
|
241
241
|
delete evt.options.maxTokens;
|
|
242
242
|
});
|
|
243
243
|
for (const name of ["context", "compaction"])
|
|
244
|
-
yield* ctx.session.hook(name, omitOutputLimit, { providerID:
|
|
244
|
+
yield* ctx.session.hook(name, omitOutputLimit, { providerID: ID12.openai });
|
|
245
245
|
const refresh = () => loading.withPermit(load().pipe(Effect.andThen(ctx.provider.reload())));
|
|
246
|
-
yield* bus.subscribe(
|
|
246
|
+
yield* bus.subscribe(Event16.Switched).pipe(Stream.filter((event) => event.data.integrationID === ID13.make("openai")), Stream.runForEach(refresh), Effect.forkScoped({ startImmediately: true }));
|
|
247
247
|
})
|
|
248
248
|
});
|
|
249
249
|
function headers(contentType, app) {
|