@opencode/core 0.0.0-dev-20976 → 0.0.0-dev-20978
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 +3 -3
- package/dist/bus.js +75 -75
- package/dist/chunks/{permission-46723n3y.js → integration-02w9aj2p.js} +11 -11
- package/dist/chunks/{permission-6g7e4dd5.js → integration-0bg0bx69.js} +9 -9
- package/dist/chunks/{permission-e0aqe33g.js → integration-0mnr004b.js} +5 -5
- package/dist/chunks/{permission-4dg124c5.js → integration-0t098hqn.js} +5 -5
- package/dist/chunks/{permission-0vbcp93d.js → integration-0vbcp93d.js} +2 -2
- package/dist/chunks/{permission-nb6r85xb.js → integration-0znydvyz.js} +19 -19
- package/dist/chunks/{permission-1dpw499b.js → integration-143r1wtc.js} +4 -4
- package/dist/chunks/{permission-g9x908yp.js → integration-1d70w6ay.js} +11 -11
- package/dist/chunks/{permission-ek73hmme.js → integration-1h4g6m19.js} +13 -13
- package/dist/chunks/{permission-9wyb01wr.js → integration-1kazj788.js} +22 -22
- package/dist/chunks/{permission-yh4qhy2s.js → integration-1n9pygvy.js} +1 -1
- package/dist/chunks/{permission-w27wshyd.js → integration-1nv9sndm.js} +14 -14
- package/dist/chunks/{permission-sa5gs43e.js → integration-1wnyfqya.js} +13 -13
- package/dist/chunks/{permission-czexzjn0.js → integration-20rck29a.js} +6 -6
- package/dist/chunks/{permission-wvgf58c0.js → integration-24de4jcv.js} +24 -24
- package/dist/chunks/{permission-dhr01xvc.js → integration-2ax3e9e8.js} +22 -22
- package/dist/chunks/{permission-g4wkr54g.js → integration-2b2w9fpw.js} +11 -11
- package/dist/chunks/{permission-2mhca4eq.js → integration-2e2f6za3.js} +5 -5
- package/dist/chunks/{permission-4a0nv7mx.js → integration-2eegacq4.js} +8 -8
- package/dist/chunks/{permission-5p4tk64j.js → integration-2hnm9mt2.js} +22 -22
- package/dist/chunks/{permission-2k8khapm.js → integration-2k8khapm.js} +1 -1
- package/dist/chunks/{permission-nk59z6j8.js → integration-2pr04h36.js} +15 -15
- package/dist/chunks/{permission-2dgsj64p.js → integration-2vf0n9dc.js} +30 -30
- package/dist/chunks/{permission-40pnxt5x.js → integration-2wjpsrg9.js} +33 -33
- package/dist/chunks/{permission-6fdvwzvv.js → integration-3bf6xksf.js} +28 -28
- package/dist/chunks/{permission-3fc6dm20.js → integration-3fc6dm20.js} +1 -1
- package/dist/chunks/{permission-qrz8ys5p.js → integration-3h9b6adj.js} +9 -9
- package/dist/chunks/{permission-3hepkmqq.js → integration-3hepkmqq.js} +1 -1
- package/dist/chunks/{permission-3hwn7j4h.js → integration-3hwn7j4h.js} +2 -2
- package/dist/chunks/{permission-555jycsy.js → integration-3mfw0227.js} +22 -22
- package/dist/chunks/{permission-wcy5v1y0.js → integration-3n2sy81e.js} +47 -47
- package/dist/chunks/{permission-3smtnn6g.js → integration-3smtnn6g.js} +1 -1
- package/dist/chunks/{permission-3kkx6he2.js → integration-3tadswfh.js} +76 -76
- package/dist/chunks/{permission-3tvqynh2.js → integration-3tvqynh2.js} +1 -1
- package/dist/chunks/{permission-jmre39br.js → integration-3wcf5067.js} +11 -11
- package/dist/chunks/{permission-vxbb4fsk.js → integration-3xyzc1bb.js} +23 -23
- package/dist/chunks/{permission-3zsf4n22.js → integration-3zsf4n22.js} +1 -1
- package/dist/chunks/{permission-k7hwfthg.js → integration-43k7rrm6.js} +15 -15
- package/dist/chunks/{permission-7925b0zp.js → integration-47hb4nwt.js} +17 -17
- package/dist/chunks/{permission-143qq2q9.js → integration-48kw51zw.js} +3 -3
- package/dist/chunks/{permission-k7esa403.js → integration-4e3hx6a8.js} +11 -11
- package/dist/chunks/{permission-n3dbf3q7.js → integration-4gbbktzc.js} +54 -54
- package/dist/chunks/{permission-z0by9yed.js → integration-4gt2rfw6.js} +8 -8
- package/dist/chunks/{permission-c4hyv1xp.js → integration-4mj0xbb0.js} +12 -12
- package/dist/chunks/{permission-r5wgqceq.js → integration-4mwpykj0.js} +6 -6
- package/dist/chunks/{permission-pf2k3bs8.js → integration-4mwv8fj8.js} +6 -6
- package/dist/chunks/{permission-wh6zw745.js → integration-4xpgt2w9.js} +5 -5
- package/dist/chunks/{permission-atmnbahc.js → integration-53yxdm32.js} +3 -3
- package/dist/chunks/{permission-54ma36ye.js → integration-54ma36ye.js} +1 -1
- package/dist/chunks/{permission-ej8a7xs4.js → integration-567mnytz.js} +13 -13
- package/dist/chunks/{permission-nwddvbjb.js → integration-57vd5ddd.js} +3 -3
- package/dist/chunks/{permission-dexd023p.js → integration-5awrnk09.js} +13 -13
- package/dist/chunks/{permission-nn6fydq0.js → integration-5g19k9bb.js} +4 -4
- package/dist/chunks/{permission-39ks91xh.js → integration-5j96nkwn.js} +20 -20
- package/dist/chunks/{permission-g59wzkak.js → integration-5ka3t0tj.js} +20 -20
- package/dist/chunks/{permission-5m9w47nd.js → integration-5m9w47nd.js} +1 -1
- package/dist/chunks/{permission-4r9vf7ka.js → integration-5nwmvtjk.js} +4 -4
- package/dist/chunks/{permission-wepas144.js → integration-5pws13cc.js} +25 -25
- package/dist/chunks/{permission-tpw6cwsb.js → integration-5xtgfte3.js} +8 -8
- package/dist/chunks/{permission-ygqd36hx.js → integration-61qq7rvz.js} +10 -10
- package/dist/chunks/{permission-zngnscf9.js → integration-62w775d6.js} +20 -20
- package/dist/chunks/{permission-k0peaqd5.js → integration-67qn8gwf.js} +26 -26
- package/dist/chunks/{permission-27hanthj.js → integration-6j2hc47f.js} +5 -5
- package/dist/chunks/{permission-q33pw1x9.js → integration-6n0vcawk.js} +41 -41
- package/dist/chunks/{permission-f0bydtmg.js → integration-6n6w6600.js} +29 -29
- package/dist/chunks/{permission-6xb47vfp.js → integration-6xb47vfp.js} +1 -1
- package/dist/chunks/{permission-775gj3j1.js → integration-775gj3j1.js} +2 -2
- package/dist/chunks/{permission-qw2e43rz.js → integration-79s4533m.js} +9 -9
- package/dist/chunks/{permission-7bmhse3q.js → integration-7bmhse3q.js} +1 -1
- package/dist/chunks/{permission-40ps258j.js → integration-7bwdhhvs.js} +11 -11
- package/dist/chunks/{permission-py3kkmfq.js → integration-7fkffz83.js} +4 -4
- package/dist/chunks/{permission-9t8qvyym.js → integration-7fqrvb5h.js} +14 -14
- package/dist/chunks/{permission-9qt6ppmq.js → integration-7jeawvpq.js} +33 -33
- package/dist/chunks/{permission-q9rna58t.js → integration-7vg2c9yj.js} +4 -4
- package/dist/chunks/{permission-fes7hbcg.js → integration-7yttvvbf.js} +333 -333
- package/dist/chunks/{permission-3g8j9he4.js → integration-7zt5x37y.js} +1 -1
- package/dist/chunks/{permission-w1eejvng.js → integration-84txncab.js} +5 -5
- package/dist/chunks/{permission-xx856zts.js → integration-8bed88vs.js} +26 -26
- package/dist/chunks/{permission-gpr6dnm8.js → integration-8cvaxj6f.js} +3 -3
- package/dist/chunks/integration-8h4qvcc4.js +26 -0
- package/dist/chunks/{permission-yyx882hg.js → integration-8kg6nsf3.js} +19 -19
- package/dist/chunks/{permission-8m6m0r52.js → integration-8m6m0r52.js} +1 -1
- package/dist/chunks/{permission-6dnpj1c4.js → integration-8qx0ft9r.js} +22 -22
- package/dist/chunks/{permission-dwd7wsfz.js → integration-8s6qdbp2.js} +15 -15
- package/dist/chunks/{permission-qsc137cy.js → integration-8s8r1j5h.js} +11 -11
- package/dist/chunks/{permission-c63632sb.js → integration-8sdk6rd9.js} +19 -19
- package/dist/chunks/{permission-evxsjq3z.js → integration-8t93p44s.js} +16 -16
- package/dist/chunks/{permission-91qna3x0.js → integration-91qna3x0.js} +3 -3
- package/dist/chunks/{permission-gdbfntrv.js → integration-97rfbr3n.js} +25 -25
- package/dist/chunks/{permission-a69q51h1.js → integration-99vjn2hc.js} +13 -13
- package/dist/chunks/{permission-ck53sj1x.js → integration-9e1pmf0a.js} +17 -17
- package/dist/chunks/{permission-7cgqqjkt.js → integration-9j959tjb.js} +20 -20
- package/dist/chunks/{permission-hx3m9p7q.js → integration-9vqvxvb4.js} +16 -16
- package/dist/chunks/{permission-km4wh0ze.js → integration-a0hcwye6.js} +24 -24
- package/dist/chunks/{permission-8p2a335p.js → integration-a2ph73j8.js} +24 -24
- package/dist/chunks/{permission-10gk210z.js → integration-a5qrcbjh.js} +27 -27
- package/dist/chunks/{permission-z5460079.js → integration-ab80vq7k.js} +6 -6
- package/dist/chunks/{permission-w6p32g6m.js → integration-acxhc3d6.js} +15 -15
- package/dist/chunks/{permission-a89e0tac.js → integration-afrtgck4.js} +4 -4
- package/dist/chunks/{permission-paycay2m.js → integration-ajfq1j2n.js} +3 -3
- package/dist/chunks/{permission-dq8t4nvv.js → integration-akfjyt7n.js} +5 -5
- package/dist/chunks/{permission-g1wn1z3d.js → integration-asp8172m.js} +8 -8
- package/dist/chunks/{permission-xp1ekfrg.js → integration-b1mnze89.js} +26 -26
- package/dist/chunks/{permission-etbngak6.js → integration-b2hzcd3j.js} +9 -9
- package/dist/chunks/{permission-rz1cmwyq.js → integration-b6w8dzf3.js} +12 -12
- package/dist/chunks/{permission-grg59xc5.js → integration-bcs2vc99.js} +18 -18
- package/dist/chunks/{permission-bqy9j1nq.js → integration-bfagfvh3.js} +15 -15
- package/dist/chunks/{permission-e4g6rnfs.js → integration-bn0s77k4.js} +15 -15
- package/dist/chunks/{permission-rf6cmkn1.js → integration-bq7b46md.js} +11 -11
- package/dist/chunks/{permission-ag2ev0z1.js → integration-bxrxjfyz.js} +22 -22
- package/dist/chunks/{permission-p88md3q8.js → integration-bydnjh3t.js} +9 -9
- package/dist/chunks/{permission-c1fqxshp.js → integration-c1fqxshp.js} +3 -3
- package/dist/chunks/{permission-41v4pc89.js → integration-c1sjg8rr.js} +39 -39
- package/dist/chunks/{permission-hdwbd2aa.js → integration-c921sagg.js} +19 -19
- package/dist/chunks/{permission-3s9ygtrg.js → integration-c9xq1me2.js} +7 -7
- package/dist/chunks/{permission-61zcfxdv.js → integration-c9y7ddt1.js} +20 -20
- package/dist/chunks/{permission-vnxkf9ps.js → integration-cgw0sr81.js} +4 -4
- package/dist/chunks/{permission-939cp01q.js → integration-chm3ahxj.js} +20 -20
- package/dist/chunks/{permission-vfjhn2wd.js → integration-cp937pt4.js} +4 -4
- package/dist/chunks/{permission-sh7261r3.js → integration-csxqjt7p.js} +19 -19
- package/dist/chunks/{permission-ytq47k13.js → integration-cw1rqfwx.js} +23 -23
- package/dist/chunks/{permission-2fj84ttb.js → integration-d43rxkgb.js} +10 -10
- package/dist/chunks/{permission-te3mtjyn.js → integration-d5szz41b.js} +14 -14
- package/dist/chunks/{permission-2n00pgyg.js → integration-d7h31c5g.js} +27 -27
- package/dist/chunks/{permission-bacj9t34.js → integration-d7x0sh0y.js} +9 -9
- package/dist/chunks/{permission-jwcy2c2z.js → integration-dpkg50ah.js} +4 -4
- package/dist/chunks/{permission-dqxsqydv.js → integration-dqxsqydv.js} +1 -1
- package/dist/chunks/{permission-wgp842p2.js → integration-dx252d9n.js} +12 -12
- package/dist/chunks/{permission-t550f9t1.js → integration-eaj1djv9.js} +8 -8
- package/dist/chunks/{permission-43cazxg8.js → integration-ecp0matg.js} +9 -9
- package/dist/chunks/{permission-r2z489rp.js → integration-ed1g29hy.js} +3 -3
- package/dist/chunks/{permission-fy1gtwe1.js → integration-ee85d589.js} +42 -42
- package/dist/chunks/{permission-eej6y6fw.js → integration-eej6y6fw.js} +2 -2
- package/dist/chunks/{permission-ef5x83kb.js → integration-ef5x83kb.js} +1 -1
- package/dist/chunks/{permission-k6c6ephq.js → integration-egy07wx7.js} +33 -33
- package/dist/chunks/{permission-qa4h7c7s.js → integration-ek0npsg1.js} +24 -24
- package/dist/chunks/{permission-3ehx4npq.js → integration-fk9rnzxz.js} +6 -6
- package/dist/chunks/{permission-q3z378wc.js → integration-fq08akcr.js} +6 -6
- package/dist/chunks/{permission-t2fc4mz5.js → integration-fqb2p7cx.js} +4 -4
- package/dist/chunks/{permission-spx3y32g.js → integration-fzckcppe.js} +11 -11
- package/dist/chunks/{permission-e2nyxnjp.js → integration-g0cd9hz2.js} +43 -43
- package/dist/chunks/{permission-xhvd6t2s.js → integration-g1xztdvv.js} +13 -13
- package/dist/chunks/{permission-a2h66p53.js → integration-g2vy875s.js} +22 -22
- package/dist/chunks/{permission-nt95rfv6.js → integration-g65kktpc.js} +32 -32
- package/dist/chunks/{permission-z1m3cn8e.js → integration-gabnevyz.js} +21 -21
- package/dist/chunks/{permission-gd4qta3r.js → integration-gd4qta3r.js} +1 -1
- package/dist/chunks/{permission-9hwaqfsw.js → integration-gj71zhbs.js} +5 -5
- package/dist/chunks/{permission-x661k3y3.js → integration-gqtdsdt7.js} +4 -4
- package/dist/chunks/{permission-n1n192bv.js → integration-gw7cjrad.js} +4 -4
- package/dist/chunks/{permission-sgj191dc.js → integration-gwc9ta45.js} +180 -180
- package/dist/chunks/{permission-z2vs6q68.js → integration-h20p4cmk.js} +321 -321
- package/dist/chunks/{permission-bjb6gkye.js → integration-h4dbkbzh.js} +7 -7
- package/dist/chunks/{permission-h6vf3j39.js → integration-h6vf3j39.js} +1 -1
- package/dist/chunks/{permission-h7s7r6s9.js → integration-h7s7r6s9.js} +2 -2
- package/dist/chunks/{permission-dys7k0s0.js → integration-hcv80w8f.js} +8 -8
- package/dist/chunks/{permission-b3f8fkhc.js → integration-hdkng2sj.js} +5 -5
- package/dist/chunks/{permission-hgz4x7wa.js → integration-hgz4x7wa.js} +1 -1
- package/dist/chunks/{permission-p9tjyncr.js → integration-hj1nhez8.js} +14 -14
- package/dist/chunks/{permission-cw8sf9ms.js → integration-hvh251q6.js} +5 -5
- package/dist/chunks/{permission-a7rdvhhx.js → integration-hvzwxxe5.js} +4 -4
- package/dist/chunks/{permission-8abgwxys.js → integration-hxg598kt.js} +11 -11
- package/dist/chunks/{permission-82sy1jhk.js → integration-hy1zrb4s.js} +18 -18
- package/dist/chunks/{permission-ah0zcdvp.js → integration-hyj1ar3s.js} +21 -21
- package/dist/chunks/{permission-vzxzv64k.js → integration-j1hr602b.js} +27 -27
- package/dist/chunks/{permission-taq4cq1s.js → integration-j5qeqyf7.js} +17 -17
- package/dist/chunks/{permission-6sscbt4f.js → integration-j6bp08m6.js} +34 -34
- package/dist/chunks/{permission-x8gz1y8e.js → integration-jhpaar4x.js} +8 -8
- package/dist/chunks/{permission-jk540des.js → integration-jk540des.js} +2 -2
- package/dist/chunks/{permission-jykddemp.js → integration-jrg0f122.js} +30 -30
- package/dist/chunks/{permission-bak7vg28.js → integration-jx3w0egz.js} +45 -45
- package/dist/chunks/{permission-a093z6v6.js → integration-jz0nyn5q.js} +37 -37
- package/dist/chunks/{permission-khmqacep.js → integration-khmqacep.js} +1 -1
- package/dist/chunks/{permission-yfx22100.js → integration-km2wp4sk.js} +5 -5
- package/dist/chunks/{permission-m8enmyje.js → integration-kmk73gfw.js} +19 -19
- package/dist/chunks/{permission-74g55enf.js → integration-kpwnyztm.js} +5 -5
- package/dist/chunks/{permission-y3bw8jm5.js → integration-kqc63956.js} +15 -15
- package/dist/chunks/{permission-zsw1cca3.js → integration-kzgz5k2v.js} +8 -8
- package/dist/chunks/{permission-wkvaeh65.js → integration-m5xxn7ny.js} +22 -22
- package/dist/chunks/{permission-djszqvmq.js → integration-m8w6th39.js} +9 -9
- package/dist/chunks/{permission-m9w0rfyh.js → integration-m9w0rfyh.js} +1 -1
- package/dist/chunks/{permission-maspj1v3.js → integration-maspj1v3.js} +1 -1
- package/dist/chunks/{permission-kavmxcdj.js → integration-mde5fjw6.js} +66 -66
- package/dist/chunks/{permission-ph8cxpvy.js → integration-mqhkheas.js} +35 -35
- package/dist/chunks/{permission-ctrr6xkb.js → integration-nfyn2wym.js} +28 -28
- package/dist/chunks/{permission-fj90jbxh.js → integration-nhcf6tj5.js} +42 -42
- package/dist/chunks/{permission-zd2afdhc.js → integration-nnsxpg4r.js} +33 -33
- package/dist/chunks/{permission-3g642jy4.js → integration-npphdyeb.js} +10 -10
- package/dist/chunks/{permission-m2n2z59b.js → integration-nq6rswfa.js} +9 -9
- package/dist/chunks/{permission-3kssk2hk.js → integration-p42aq5gt.js} +32 -32
- package/dist/chunks/{permission-643tage6.js → integration-p4jvcfcz.js} +7 -7
- package/dist/chunks/{permission-58dn17xg.js → integration-p5vzfqrn.js} +20 -20
- package/dist/chunks/{permission-8t5q41fg.js → integration-p67k4s07.js} +8 -8
- package/dist/chunks/{permission-h3bj5x9a.js → integration-pc5ybacd.js} +26 -26
- package/dist/chunks/{permission-v5yxab38.js → integration-pdtnc95m.js} +13 -13
- package/dist/chunks/{permission-pjvnvgmy.js → integration-pjvnvgmy.js} +1 -1
- package/dist/chunks/{permission-pknna89w.js → integration-pknna89w.js} +1 -1
- package/dist/chunks/{permission-q0xm7vwc.js → integration-q0xm7vwc.js} +2 -2
- package/dist/chunks/{permission-rbcj0nbc.js → integration-q15769wk.js} +14 -14
- package/dist/chunks/{permission-g30vjh05.js → integration-q31de0x9.js} +11 -11
- package/dist/chunks/{permission-28ge4st1.js → integration-q6j596eh.js} +1 -1
- package/dist/chunks/{permission-1e412h6j.js → integration-qbmcevmj.js} +8 -8
- package/dist/chunks/integration-qc068m1q.js +18 -0
- package/dist/chunks/{permission-qnc92qwc.js → integration-qnc92qwc.js} +1 -1
- package/dist/chunks/{permission-xfkkasph.js → integration-qqeeq2t9.js} +7 -7
- package/dist/chunks/{permission-qsdy395h.js → integration-qsdy395h.js} +1 -1
- package/dist/chunks/{permission-gsmnq2te.js → integration-qxwajnrg.js} +19 -19
- package/dist/chunks/{permission-zz2n01x7.js → integration-r953n9w9.js} +11 -11
- package/dist/chunks/{permission-byar7hhq.js → integration-rdfnpc7e.js} +1 -1
- package/dist/chunks/{permission-rdw6cm16.js → integration-rdw6cm16.js} +1 -1
- package/dist/chunks/{permission-rert0e01.js → integration-rert0e01.js} +2 -2
- package/dist/chunks/{permission-rj3eygr5.js → integration-rj3eygr5.js} +2 -2
- package/dist/chunks/{permission-52nysfd5.js → integration-rkmnmadr.js} +50 -50
- package/dist/chunks/{permission-6bb83twy.js → integration-rq0xhyhm.js} +13 -13
- package/dist/chunks/{permission-9pa8tak9.js → integration-rqa1jxse.js} +2 -2
- package/dist/chunks/{permission-gskbysnr.js → integration-rs406pav.js} +14 -14
- package/dist/chunks/{permission-hf8z2k25.js → integration-s0pnqgv4.js} +19 -19
- package/dist/chunks/{permission-bc04rtqc.js → integration-s8g66bd6.js} +91 -91
- package/dist/chunks/{permission-sa8ekw3f.js → integration-sa8ekw3f.js} +2 -2
- package/dist/chunks/{permission-fpzf7fh8.js → integration-shrp9z6x.js} +33 -33
- package/dist/chunks/{permission-jmt4g3es.js → integration-skf2a03x.js} +6 -6
- package/dist/chunks/{permission-zdhqsas4.js → integration-spbp20tf.js} +6 -6
- package/dist/chunks/{permission-2wm6mevp.js → integration-sqhrjh3n.js} +45 -45
- package/dist/chunks/{permission-0kmfjspj.js → integration-swjdfjnv.js} +9 -9
- package/dist/chunks/{permission-syv4x271.js → integration-syv4x271.js} +1 -1
- package/dist/chunks/{permission-8n64tcb5.js → integration-t24nkpg8.js} +5 -5
- package/dist/chunks/{permission-b2x3mx84.js → integration-t7s9nfcw.js} +11 -11
- package/dist/chunks/{permission-41nskbk6.js → integration-t8ggdyye.js} +17 -17
- package/dist/chunks/{permission-2s75thz9.js → integration-tan1p1hk.js} +30 -30
- package/dist/chunks/{permission-pvg8ytya.js → integration-tawpdk3z.js} +16 -16
- package/dist/chunks/{permission-tazgh4e4.js → integration-tazgh4e4.js} +1 -1
- package/dist/chunks/{permission-tcezcvh9.js → integration-tcezcvh9.js} +1 -1
- package/dist/chunks/{permission-tdstcens.js → integration-tdstcens.js} +1 -1
- package/dist/chunks/{permission-tm0kqsz3.js → integration-tm0kqsz3.js} +1 -1
- package/dist/chunks/{permission-k5qw4hft.js → integration-tmvn36x1.js} +5 -5
- package/dist/chunks/{permission-g5zrzedj.js → integration-twafc98e.js} +20 -20
- package/dist/chunks/{permission-ktw141zw.js → integration-twwzjqdf.js} +6 -6
- package/dist/chunks/{permission-waskdk5r.js → integration-txm3e8qz.js} +4 -4
- package/dist/chunks/{permission-tyytaxap.js → integration-tyytaxap.js} +1 -1
- package/dist/chunks/{permission-dye7aydv.js → integration-v21nvywy.js} +15 -15
- package/dist/chunks/{permission-3f7fgwfr.js → integration-v3j9tc6a.js} +34 -34
- package/dist/chunks/{permission-v7p4zvkq.js → integration-v7p4zvkq.js} +2 -2
- package/dist/chunks/{permission-veqvce7d.js → integration-veqvce7d.js} +1 -1
- package/dist/chunks/{permission-c3ytybxw.js → integration-vj682sbm.js} +2 -2
- package/dist/chunks/{permission-ws54fs39.js → integration-vmbrwsbp.js} +46 -46
- package/dist/chunks/{permission-7ejbtbrg.js → integration-vwdjqckc.js} +5 -5
- package/dist/chunks/{permission-krwvspc6.js → integration-vx00sn5p.js} +9 -9
- package/dist/chunks/{permission-vzs5sf6e.js → integration-vzs5sf6e.js} +1 -1
- package/dist/chunks/{permission-w3wsvvr9.js → integration-w3wsvvr9.js} +1 -1
- package/dist/chunks/{permission-htvmne7m.js → integration-w94bxqdg.js} +11 -11
- package/dist/chunks/integration-w9fb4ef8.js +253 -0
- package/dist/chunks/{permission-bastcvc9.js → integration-wc5yctqd.js} +23 -23
- package/dist/chunks/{permission-wd87259q.js → integration-wd87259q.js} +1 -1
- package/dist/chunks/{permission-9d2k3jw1.js → integration-wdpq3wk2.js} +4 -4
- package/dist/chunks/{permission-gxt65wfy.js → integration-wey6k149.js} +11 -11
- package/dist/chunks/{permission-0b5g1ynf.js → integration-wg81ww38.js} +4 -4
- package/dist/chunks/{permission-1ffvrpkg.js → integration-wjr9rjd7.js} +9 -9
- package/dist/chunks/{permission-34asa2tn.js → integration-wpt53rg3.js} +5 -5
- package/dist/chunks/{permission-70pmsryk.js → integration-wr15ww3q.js} +19 -19
- package/dist/chunks/{permission-qf76qvkk.js → integration-xj1aydcy.js} +5 -5
- package/dist/chunks/{permission-zpnsz2a5.js → integration-xk34q5eg.js} +16 -16
- package/dist/chunks/{permission-qzjpc1xd.js → integration-xmxvq9d2.js} +3 -3
- package/dist/chunks/{permission-604t479y.js → integration-xn6qvp49.js} +55 -55
- package/dist/chunks/{permission-y1fvbwt7.js → integration-y1fvbwt7.js} +1 -1
- package/dist/chunks/{permission-5n99z23x.js → integration-y9y673vj.js} +23 -23
- package/dist/chunks/{permission-edn1n8wx.js → integration-yeff6sje.js} +4 -4
- package/dist/chunks/{permission-1acjjqhc.js → integration-yp2x3t23.js} +4 -4
- package/dist/chunks/{permission-ndc0xxd8.js → integration-yyvbvj38.js} +16 -16
- package/dist/chunks/{permission-z0bkrqjs.js → integration-z0bkrqjs.js} +1 -1
- package/dist/chunks/{permission-sfnh1csc.js → integration-z37qhwhn.js} +44 -44
- package/dist/chunks/{permission-ddy2nmax.js → integration-z5mtfwfv.js} +14 -14
- package/dist/chunks/{permission-mphgtbj1.js → integration-zab19jja.js} +9 -9
- package/dist/chunks/{permission-rwm5vee1.js → integration-zcrspsvn.js} +4 -4
- package/dist/chunks/{permission-jnbzk27g.js → integration-zhdm3a6y.js} +25 -25
- package/dist/chunks/{permission-n5w64wsn.js → integration-zk149sv1.js} +38 -38
- package/dist/chunks/{permission-gkzj1bxy.js → integration-znzasaf5.js} +46 -46
- package/dist/chunks/{permission-zr2ceqn5.js → integration-zr2ceqn5.js} +1 -1
- package/dist/chunks/{permission-zxq2ej10.js → integration-zxq2ej10.js} +1 -1
- package/dist/codemode/catalog.js +1 -1
- package/dist/codemode/instructions.js +7 -7
- package/dist/codemode/tool.js +3 -3
- package/dist/codemode/web.js +1 -1
- package/dist/command.js +83 -83
- package/dist/config/discovery.js +84 -84
- package/dist/config/markdown.js +1 -1
- package/dist/config/normalize.js +101 -101
- package/dist/config/plugin/agent.js +120 -120
- package/dist/config/plugin/command.js +209 -209
- 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 +127 -127
- 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 +121 -121
- 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 +87 -87
- 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 +368 -368
- 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 +1 -1
- package/dist/event/sql.js +1 -1
- package/dist/event-logger.js +76 -76
- 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 +1 -1
- package/dist/filesystem/search.js +99 -99
- package/dist/filesystem/watcher-binding.js +1 -1
- package/dist/filesystem/watcher.js +15 -15
- package/dist/filesystem.js +104 -104
- package/dist/form.js +86 -86
- package/dist/formatter/builtins.js +4 -4
- package/dist/formatter.js +89 -89
- package/dist/generate.js +105 -105
- package/dist/git.js +6 -6
- 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 +5 -5
- package/dist/instance.js +359 -359
- package/dist/instruction-discovery.js +84 -84
- package/dist/instructions/builtins.js +87 -87
- package/dist/instructions/index.js +5 -5
- package/dist/integration/connection.js +3 -3
- package/dist/integration.js +89 -89
- package/dist/job.js +80 -80
- package/dist/kv/sql.js +2 -2
- package/dist/kv.js +75 -75
- package/dist/location-activity.js +136 -136
- 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 +85 -85
- package/dist/managed-policy.js +8 -8
- package/dist/mcp/client.js +93 -93
- package/dist/mcp/index.js +107 -107
- package/dist/mcp/instructions.js +129 -129
- package/dist/mcp/oauth.js +80 -80
- 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 +104 -104
- package/dist/models-dev.js +109 -109
- package/dist/oauth/page.js +1 -1
- package/dist/permission/saved.js +84 -84
- package/dist/permission/sql.js +5 -5
- package/dist/permission.js +115 -115
- package/dist/persistent-pty/binary.bun.js +1 -1
- package/dist/persistent-pty/daemon.js +1 -1
- package/dist/persistent-pty/index.js +86 -86
- package/dist/persistent-pty/pty-binding.js +1 -1
- package/dist/persistent-pty.js +77 -77
- package/dist/plugin/agent.js +78 -78
- package/dist/plugin/command.js +104 -104
- 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 +117 -117
- 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 +127 -127
- 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 +125 -125
- 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 +134 -134
- 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 +5 -5
- package/dist/plugin/websearch/firecrawl.js +8 -8
- package/dist/plugin/websearch/index.js +9 -9
- package/dist/plugin/websearch/mcp.js +6 -6
- package/dist/plugin/websearch/parallel.js +8 -8
- package/dist/plugin/websearch/tavily.js +6 -6
- package/dist/plugin/websearch/tinyfish.js +8 -8
- package/dist/plugin.js +220 -220
- package/dist/project/schema.js +8 -8
- package/dist/project/sql.js +4 -4
- package/dist/project.js +86 -86
- package/dist/provider.js +103 -103
- package/dist/pty/protocol.js +1 -1
- package/dist/pty/ticket.js +1 -1
- package/dist/pty.js +95 -95
- package/dist/reference/instructions.js +89 -89
- package/dist/reference.js +91 -91
- package/dist/repository-cache.js +83 -83
- package/dist/repository.js +3 -3
- package/dist/ripgrep/binary.js +2 -2
- package/dist/ripgrep.js +97 -97
- 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 +219 -219
- package/dist/session/execution.js +129 -129
- package/dist/session/generate.js +156 -156
- package/dist/session/history.js +13 -13
- package/dist/session/inbox.js +92 -92
- 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 +3 -3
- package/dist/session/runner/llm.js +224 -224
- package/dist/session/runner/max-steps.js +1 -1
- package/dist/session/runner/model.js +100 -100
- 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 +166 -166
- 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 +15 -15
- package/dist/shell.js +132 -132
- package/dist/skill/discovery.js +6 -6
- package/dist/skill/instructions.js +107 -107
- package/dist/skill.js +112 -112
- package/dist/snapshot.js +95 -95
- 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 +120 -120
- package/dist/tool/plugin/file-diff.js +1 -1
- package/dist/tool/plugin/glob.js +126 -126
- package/dist/tool/plugin/grep.js +124 -124
- 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 +113 -113
- package/dist/tool/plugin/subagent.js +212 -212
- package/dist/tool/plugin/webfetch.js +112 -112
- package/dist/tool/plugin/websearch.js +110 -110
- package/dist/tool/plugin/write.js +124 -124
- 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 +14 -14
- package/dist/util/error-summary.js +1 -1
- package/dist/util/error.js +1 -1
- package/dist/util/git-executable.js +2 -2
- package/dist/util/iife.js +1 -1
- package/dist/util/lazy.js +1 -1
- package/dist/util/slug.js +1 -1
- package/dist/util/token.js +1 -1
- package/dist/util/which.js +1 -1
- package/dist/util/wildcard.js +1 -1
- package/dist/v1/config/agent.js +5 -5
- package/dist/v1/config/command.js +3 -3
- package/dist/v1/config/error.js +2 -2
- package/dist/v1/config/mcp.js +4 -4
- package/dist/v1/config/migrate.js +94 -94
- package/dist/v1/config/permission.js +3 -3
- package/dist/v1/config/plugin.js +1 -1
- package/dist/v1/config/provider-options.js +1 -1
- package/dist/v1/config/provider.js +4 -4
- package/dist/variant.js +95 -95
- package/dist/vcs/patch.js +1 -1
- package/dist/vcs.js +89 -89
- package/dist/websearch.js +82 -82
- package/dist/wellknown/plugin.js +78 -78
- package/dist/wellknown.js +83 -83
- package/dist/workspace/driver.js +5 -5
- package/dist/workspace/sql.js +1 -1
- package/dist/workspace.js +82 -82
- 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/permission-c2fwggw6.js +0 -253
- package/dist/chunks/permission-eqhnakww.js +0 -26
- package/dist/chunks/permission-n95b3jav.js +0 -18
- /package/dist/chunks/{permission-0qkdqm5v.js → integration-0qkdqm5v.js} +0 -0
- /package/dist/chunks/{permission-0zkw76rk.js → integration-0zkw76rk.js} +0 -0
- /package/dist/chunks/{permission-17cy0kzp.js → integration-17cy0kzp.js} +0 -0
- /package/dist/chunks/{permission-1cnp2v09.js → integration-1cnp2v09.js} +0 -0
- /package/dist/chunks/{permission-1kg9ymc8.js → integration-1kg9ymc8.js} +0 -0
- /package/dist/chunks/{permission-24dcb14g.js → integration-24dcb14g.js} +0 -0
- /package/dist/chunks/{permission-2710q6r3.js → integration-2710q6r3.js} +0 -0
- /package/dist/chunks/{permission-2axfhc9x.js → integration-2axfhc9x.js} +0 -0
- /package/dist/chunks/{permission-2bv980vf.js → integration-2bv980vf.js} +0 -0
- /package/dist/chunks/{permission-2c3vjs8z.js → integration-2c3vjs8z.js} +0 -0
- /package/dist/chunks/{permission-359p4xyc.js → integration-359p4xyc.js} +0 -0
- /package/dist/chunks/{permission-3asan66x.js → integration-3asan66x.js} +0 -0
- /package/dist/chunks/{permission-3t0ybcrp.js → integration-3t0ybcrp.js} +0 -0
- /package/dist/chunks/{permission-3v8g72cx.js → integration-3v8g72cx.js} +0 -0
- /package/dist/chunks/{permission-3wcehsnq.js → integration-3wcehsnq.js} +0 -0
- /package/dist/chunks/{permission-43n2bw4t.js → integration-43n2bw4t.js} +0 -0
- /package/dist/chunks/{permission-4knz6hnm.js → integration-4knz6hnm.js} +0 -0
- /package/dist/chunks/{permission-4vcrnpx2.js → integration-4vcrnpx2.js} +0 -0
- /package/dist/chunks/{permission-4y7fprxs.js → integration-4y7fprxs.js} +0 -0
- /package/dist/chunks/{permission-53557ph1.js → integration-53557ph1.js} +0 -0
- /package/dist/chunks/{permission-550bvhaj.js → integration-550bvhaj.js} +0 -0
- /package/dist/chunks/{permission-5qd3pb7m.js → integration-5qd3pb7m.js} +0 -0
- /package/dist/chunks/{permission-6prwharc.js → integration-6prwharc.js} +0 -0
- /package/dist/chunks/{permission-6q2bdcd1.js → integration-6q2bdcd1.js} +0 -0
- /package/dist/chunks/{permission-7akdwqpd.js → integration-7akdwqpd.js} +0 -0
- /package/dist/chunks/{permission-7m9af43g.js → integration-7m9af43g.js} +0 -0
- /package/dist/chunks/{permission-822emrt2.js → integration-822emrt2.js} +0 -0
- /package/dist/chunks/{permission-84wd9syh.js → integration-84wd9syh.js} +0 -0
- /package/dist/chunks/{permission-88xbtdfr.js → integration-88xbtdfr.js} +0 -0
- /package/dist/chunks/{permission-8n3pysct.js → integration-8n3pysct.js} +0 -0
- /package/dist/chunks/{permission-8wj87zfr.js → integration-8wj87zfr.js} +0 -0
- /package/dist/chunks/{permission-9a4afbnw.js → integration-9a4afbnw.js} +0 -0
- /package/dist/chunks/{permission-9rqn6x4v.js → integration-9rqn6x4v.js} +0 -0
- /package/dist/chunks/{permission-a6k6eb26.js → integration-a6k6eb26.js} +0 -0
- /package/dist/chunks/{permission-af5trqkr.js → integration-af5trqkr.js} +0 -0
- /package/dist/chunks/{permission-afrmfg78.js → integration-afrmfg78.js} +0 -0
- /package/dist/chunks/{permission-aqzs7mqg.js → integration-aqzs7mqg.js} +0 -0
- /package/dist/chunks/{permission-atq7p7m5.js → integration-atq7p7m5.js} +0 -0
- /package/dist/chunks/{permission-bkyjaxrp.js → integration-bkyjaxrp.js} +0 -0
- /package/dist/chunks/{permission-bmr6ed5q.js → integration-bmr6ed5q.js} +0 -0
- /package/dist/chunks/{permission-cf4snx6d.js → integration-cf4snx6d.js} +0 -0
- /package/dist/chunks/{permission-cvy3z8tj.js → integration-cvy3z8tj.js} +0 -0
- /package/dist/chunks/{permission-d9fn303g.js → integration-d9fn303g.js} +0 -0
- /package/dist/chunks/{permission-d9jj8t3e.js → integration-d9jj8t3e.js} +0 -0
- /package/dist/chunks/{permission-dajrwvna.js → integration-dajrwvna.js} +0 -0
- /package/dist/chunks/{permission-dap0rakb.js → integration-dap0rakb.js} +0 -0
- /package/dist/chunks/{permission-df08tz66.js → integration-df08tz66.js} +0 -0
- /package/dist/chunks/{permission-dy18nga0.js → integration-dy18nga0.js} +0 -0
- /package/dist/chunks/{permission-e5kj55wp.js → integration-e5kj55wp.js} +0 -0
- /package/dist/chunks/{permission-e73j6tqm.js → integration-e73j6tqm.js} +0 -0
- /package/dist/chunks/{permission-ec1grn59.js → integration-ec1grn59.js} +0 -0
- /package/dist/chunks/{permission-eh3zwz77.js → integration-eh3zwz77.js} +0 -0
- /package/dist/chunks/{permission-emrn6kk6.js → integration-emrn6kk6.js} +0 -0
- /package/dist/chunks/{permission-f0mxakyp.js → integration-f0mxakyp.js} +0 -0
- /package/dist/chunks/{permission-f6n9ztr4.js → integration-f6n9ztr4.js} +0 -0
- /package/dist/chunks/{permission-faypxj3z.js → integration-faypxj3z.js} +0 -0
- /package/dist/chunks/{permission-fd410y7t.js → integration-fd410y7t.js} +0 -0
- /package/dist/chunks/{permission-g4wezp1m.js → integration-g4wezp1m.js} +0 -0
- /package/dist/chunks/{permission-g86h250q.js → integration-g86h250q.js} +0 -0
- /package/dist/chunks/{permission-gebd4c9n.js → integration-gebd4c9n.js} +0 -0
- /package/dist/chunks/{permission-gftt206x.js → integration-gftt206x.js} +0 -0
- /package/dist/chunks/{permission-hcxmzztb.js → integration-hcxmzztb.js} +0 -0
- /package/dist/chunks/{permission-hk9envan.js → integration-hk9envan.js} +0 -0
- /package/dist/chunks/{permission-j2ntwpah.js → integration-j2ntwpah.js} +0 -0
- /package/dist/chunks/{permission-j5zkgpj8.js → integration-j5zkgpj8.js} +0 -0
- /package/dist/chunks/{permission-jjkms2e6.js → integration-jjkms2e6.js} +0 -0
- /package/dist/chunks/{permission-jr7sbwjy.js → integration-jr7sbwjy.js} +0 -0
- /package/dist/chunks/{permission-jwfs4k6c.js → integration-jwfs4k6c.js} +0 -0
- /package/dist/chunks/{permission-jze0r7bz.js → integration-jze0r7bz.js} +0 -0
- /package/dist/chunks/{permission-jzg6c2d5.js → integration-jzg6c2d5.js} +0 -0
- /package/dist/chunks/{permission-m18g726c.js → integration-m18g726c.js} +0 -0
- /package/dist/chunks/{permission-mp448xyj.js → integration-mp448xyj.js} +0 -0
- /package/dist/chunks/{permission-msx8hqn2.js → integration-msx8hqn2.js} +0 -0
- /package/dist/chunks/{permission-n05xt0ee.js → integration-n05xt0ee.js} +0 -0
- /package/dist/chunks/{permission-n3j8tn72.js → integration-n3j8tn72.js} +0 -0
- /package/dist/chunks/{permission-njntx4h6.js → integration-njntx4h6.js} +0 -0
- /package/dist/chunks/{permission-pkyv6v7h.js → integration-pkyv6v7h.js} +0 -0
- /package/dist/chunks/{permission-pyv0edze.js → integration-pyv0edze.js} +0 -0
- /package/dist/chunks/{permission-q3sfg36h.js → integration-q3sfg36h.js} +0 -0
- /package/dist/chunks/{permission-q74kybfr.js → integration-q74kybfr.js} +0 -0
- /package/dist/chunks/{permission-qaymkmh1.js → integration-qaymkmh1.js} +0 -0
- /package/dist/chunks/{permission-qb87gjwd.js → integration-qb87gjwd.js} +0 -0
- /package/dist/chunks/{permission-qfa1cgps.js → integration-qfa1cgps.js} +0 -0
- /package/dist/chunks/{permission-qg3g05ea.js → integration-qg3g05ea.js} +0 -0
- /package/dist/chunks/{permission-qrg20bc0.js → integration-qrg20bc0.js} +0 -0
- /package/dist/chunks/{permission-rcb2kzg1.js → integration-rcb2kzg1.js} +0 -0
- /package/dist/chunks/{permission-sdp7kfr6.js → integration-sdp7kfr6.js} +0 -0
- /package/dist/chunks/{permission-ssg3fenm.js → integration-ssg3fenm.js} +0 -0
- /package/dist/chunks/{permission-ve7vex1e.js → integration-ve7vex1e.js} +0 -0
- /package/dist/chunks/{permission-w803qqfp.js → integration-w803qqfp.js} +0 -0
- /package/dist/chunks/{permission-wc3fc9cn.js → integration-wc3fc9cn.js} +0 -0
- /package/dist/chunks/{permission-wer8tq1h.js → integration-wer8tq1h.js} +0 -0
- /package/dist/chunks/{permission-wjj7prxr.js → integration-wjj7prxr.js} +0 -0
- /package/dist/chunks/{permission-wtztk69x.js → integration-wtztk69x.js} +0 -0
- /package/dist/chunks/{permission-x0ckcb58.js → integration-x0ckcb58.js} +0 -0
- /package/dist/chunks/{permission-x61499pn.js → integration-x61499pn.js} +0 -0
- /package/dist/chunks/{permission-y44na4kk.js → integration-y44na4kk.js} +0 -0
- /package/dist/chunks/{permission-y8f7s663.js → integration-y8f7s663.js} +0 -0
- /package/dist/chunks/{permission-ygaqb7jw.js → integration-ygaqb7jw.js} +0 -0
- /package/dist/chunks/{permission-ym463w8f.js → integration-ym463w8f.js} +0 -0
- /package/dist/chunks/{permission-z5v4ffb3.js → integration-z5v4ffb3.js} +0 -0
- /package/dist/chunks/{permission-z9919s4g.js → integration-z9919s4g.js} +0 -0
|
@@ -1,65 +1,65 @@
|
|
|
1
1
|
import {
|
|
2
2
|
Service85,
|
|
3
3
|
node89
|
|
4
|
-
} from "./
|
|
4
|
+
} from "./integration-8cvaxj6f.js";
|
|
5
5
|
import {
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
} from "./
|
|
6
|
+
Service84,
|
|
7
|
+
node88
|
|
8
|
+
} from "./integration-4mj0xbb0.js";
|
|
9
9
|
import {
|
|
10
10
|
CredentialTable2
|
|
11
|
-
} from "./
|
|
11
|
+
} from "./integration-pknna89w.js";
|
|
12
12
|
import {
|
|
13
13
|
from2
|
|
14
|
-
} from "./
|
|
14
|
+
} from "./integration-3zsf4n22.js";
|
|
15
15
|
import {
|
|
16
16
|
__export
|
|
17
|
-
} from "./
|
|
17
|
+
} from "./integration-9rqn6x4v.js";
|
|
18
18
|
|
|
19
19
|
// src/credential.ts
|
|
20
20
|
var exports_credential = {};
|
|
21
21
|
__export(exports_credential, {
|
|
22
22
|
Credential: () => exports_credential,
|
|
23
|
-
Event: () =>
|
|
23
|
+
Event: () => Event15,
|
|
24
24
|
External: () => External2,
|
|
25
|
-
ID: () =>
|
|
26
|
-
Info: () =>
|
|
27
|
-
Key: () =>
|
|
25
|
+
ID: () => ID10,
|
|
26
|
+
Info: () => Info20,
|
|
27
|
+
Key: () => Key3,
|
|
28
28
|
OAuth: () => OAuth3,
|
|
29
|
-
Service: () =>
|
|
29
|
+
Service: () => Service71,
|
|
30
30
|
Value: () => Value2,
|
|
31
|
-
node: () =>
|
|
31
|
+
node: () => node75
|
|
32
32
|
});
|
|
33
33
|
import { asc, desc, eq } from "drizzle-orm";
|
|
34
34
|
import { Cause, Context, Effect, Layer, Schema } from "effect";
|
|
35
35
|
import { Credential } from "@opencode/schema/credential";
|
|
36
36
|
import { Integration } from "@opencode/schema/integration";
|
|
37
37
|
import { makeGlobalNode } from "@opencode/util/effect/app-node";
|
|
38
|
-
var
|
|
38
|
+
var ID10 = Credential.ID;
|
|
39
39
|
var OAuth3 = Credential.OAuth;
|
|
40
|
-
var
|
|
40
|
+
var Key3 = Credential.Key;
|
|
41
41
|
var External2 = Credential.External;
|
|
42
42
|
var Value2 = Credential.Value;
|
|
43
|
-
var
|
|
43
|
+
var Event15 = Credential.Event;
|
|
44
44
|
|
|
45
|
-
class
|
|
46
|
-
id:
|
|
45
|
+
class Info20 extends Schema.Class("Credential.Info")({
|
|
46
|
+
id: ID10,
|
|
47
47
|
integrationID: Integration.ID,
|
|
48
48
|
label: Schema.String,
|
|
49
49
|
value: Value2
|
|
50
50
|
}) {
|
|
51
51
|
}
|
|
52
52
|
|
|
53
|
-
class
|
|
53
|
+
class Service71 extends Context.Service()("@opencode/Credential") {
|
|
54
54
|
}
|
|
55
|
-
var layer = Layer.effect(
|
|
55
|
+
var layer = Layer.effect(Service71, Effect.gen(function* () {
|
|
56
56
|
const db = (yield* Service85).db;
|
|
57
|
-
const bus = yield*
|
|
57
|
+
const bus = yield* Service84;
|
|
58
58
|
const decode = Schema.decodeUnknownSync(Value2);
|
|
59
59
|
const stored = (row) => {
|
|
60
60
|
if (!row.integration_id)
|
|
61
61
|
return;
|
|
62
|
-
return new
|
|
62
|
+
return new Info20({
|
|
63
63
|
id: row.id,
|
|
64
64
|
integrationID: row.integration_id,
|
|
65
65
|
label: row.label,
|
|
@@ -70,7 +70,7 @@ var layer = Layer.effect(Service77, Effect.gen(function* () {
|
|
|
70
70
|
const credential = stored(row);
|
|
71
71
|
return credential ? [credential] : [];
|
|
72
72
|
});
|
|
73
|
-
return
|
|
73
|
+
return Service71.of({
|
|
74
74
|
all: Effect.fn("Credential.all")(() => db.select().from(CredentialTable2).orderBy(asc(CredentialTable2.active), asc(CredentialTable2.time_created), asc(CredentialTable2.id)).all().pipe(Effect.orDie, Effect.map(storedRows))),
|
|
75
75
|
list: Effect.fn("Credential.list")((integrationID) => db.select().from(CredentialTable2).where(eq(CredentialTable2.integration_id, integrationID)).orderBy(asc(CredentialTable2.active), asc(CredentialTable2.time_created), asc(CredentialTable2.id)).all().pipe(Effect.orDie, Effect.map(storedRows))),
|
|
76
76
|
get: Effect.fn("Credential.get")(function* (id) {
|
|
@@ -78,8 +78,8 @@ var layer = Layer.effect(Service77, Effect.gen(function* () {
|
|
|
78
78
|
return row ? stored(row) : undefined;
|
|
79
79
|
}),
|
|
80
80
|
create: Effect.fn("Credential.create")(function* (input) {
|
|
81
|
-
const credential = new
|
|
82
|
-
id: input.id ??
|
|
81
|
+
const credential = new Info20({
|
|
82
|
+
id: input.id ?? ID10.create(),
|
|
83
83
|
integrationID: input.integrationID,
|
|
84
84
|
label: input.label ?? "default",
|
|
85
85
|
value: input.value
|
|
@@ -110,9 +110,9 @@ var layer = Layer.effect(Service77, Effect.gen(function* () {
|
|
|
110
110
|
type: credential.value.type,
|
|
111
111
|
active: activated
|
|
112
112
|
});
|
|
113
|
-
yield* bus.publish(
|
|
113
|
+
yield* bus.publish(Event15.Updated, {}, { global: true });
|
|
114
114
|
if (activated)
|
|
115
|
-
yield* bus.publish(
|
|
115
|
+
yield* bus.publish(Event15.Switched, { integrationID: credential.integrationID, credentialID: credential.id }, { global: true });
|
|
116
116
|
return credential;
|
|
117
117
|
}),
|
|
118
118
|
activate: Effect.fn("Credential.activate")(function* (id) {
|
|
@@ -132,7 +132,7 @@ var layer = Layer.effect(Service77, Effect.gen(function* () {
|
|
|
132
132
|
})), Effect.orDie);
|
|
133
133
|
if (integrationID) {
|
|
134
134
|
yield* Effect.logInfo("credential activated", { integrationID, credentialID: id });
|
|
135
|
-
yield* bus.publish(
|
|
135
|
+
yield* bus.publish(Event15.Switched, { integrationID, credentialID: id }, { global: true });
|
|
136
136
|
}
|
|
137
137
|
}),
|
|
138
138
|
update: Effect.fn("Credential.update")(function* (id, updates) {
|
|
@@ -164,7 +164,7 @@ var layer = Layer.effect(Service77, Effect.gen(function* () {
|
|
|
164
164
|
labelChanged: updates.label !== undefined && updates.label !== credential.label
|
|
165
165
|
});
|
|
166
166
|
if (updates.label !== undefined && updates.label !== credential.label)
|
|
167
|
-
yield* bus.publish(
|
|
167
|
+
yield* bus.publish(Event15.Updated, {}, { global: true });
|
|
168
168
|
}),
|
|
169
169
|
remove: Effect.fn("Credential.remove")(function* (id) {
|
|
170
170
|
const removed = yield* db.transaction((tx) => Effect.gen(function* () {
|
|
@@ -197,12 +197,12 @@ var layer = Layer.effect(Service77, Effect.gen(function* () {
|
|
|
197
197
|
active: removed.switched,
|
|
198
198
|
...removed.switched ? { replacementID: removed.credentialID } : {}
|
|
199
199
|
});
|
|
200
|
-
yield* bus.publish(
|
|
200
|
+
yield* bus.publish(Event15.Updated, {}, { global: true });
|
|
201
201
|
if (removed.switched)
|
|
202
|
-
yield* bus.publish(
|
|
202
|
+
yield* bus.publish(Event15.Switched, { integrationID: removed.integrationID, credentialID: removed.credentialID }, { global: true });
|
|
203
203
|
})
|
|
204
204
|
});
|
|
205
205
|
}));
|
|
206
|
-
var
|
|
206
|
+
var node75 = makeGlobalNode({ service: Service71, layer, deps: [node89, node88] });
|
|
207
207
|
|
|
208
|
-
export {
|
|
208
|
+
export { ID10, OAuth3, Key3, External2, Value2, Event15, Info20, Service71, node75, exports_credential };
|
|
@@ -1,30 +1,30 @@
|
|
|
1
1
|
import {
|
|
2
2
|
match2
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./integration-y1fvbwt7.js";
|
|
4
4
|
import {
|
|
5
5
|
__export
|
|
6
|
-
} from "./
|
|
6
|
+
} from "./integration-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: () => Service23,
|
|
13
13
|
decision: () => decision2,
|
|
14
|
-
layer: () =>
|
|
15
|
-
node: () =>
|
|
14
|
+
layer: () => layer11,
|
|
15
|
+
node: () => node25,
|
|
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 Service23 extends Context.Service()("@opencode/ManagedPolicy") {
|
|
23
23
|
}
|
|
24
|
-
var
|
|
24
|
+
var layer11 = Layer.effect(Service23, Effect.gen(function* () {
|
|
25
25
|
const changes = yield* PubSub.unbounded();
|
|
26
26
|
const state = { current: { statements: [] } };
|
|
27
|
-
return
|
|
27
|
+
return Service23.of({
|
|
28
28
|
changes: () => Stream.fromPubSub(changes),
|
|
29
29
|
current: () => state.current,
|
|
30
30
|
set: (next) => Effect.gen(function* () {
|
|
@@ -36,7 +36,7 @@ var layer10 = Layer.effect(Service18, Effect.gen(function* () {
|
|
|
36
36
|
})
|
|
37
37
|
});
|
|
38
38
|
}));
|
|
39
|
-
var
|
|
39
|
+
var node25 = makeGlobalNode({ service: Service23, layer: layer11, 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 { Service23, layer11, node25, statements2, decision2, exports_managed_policy };
|
|
@@ -1,24 +1,24 @@
|
|
|
1
1
|
import {
|
|
2
2
|
useragent2
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./integration-143r1wtc.js";
|
|
4
4
|
import {
|
|
5
5
|
call2
|
|
6
|
-
} from "./
|
|
6
|
+
} from "./integration-wjr9rjd7.js";
|
|
7
7
|
import {
|
|
8
8
|
__export
|
|
9
|
-
} from "./
|
|
9
|
+
} from "./integration-9rqn6x4v.js";
|
|
10
10
|
|
|
11
11
|
// src/plugin/websearch/tinyfish.ts
|
|
12
12
|
var exports_tinyfish = {};
|
|
13
13
|
__export(exports_tinyfish, {
|
|
14
|
-
Plugin: () =>
|
|
14
|
+
Plugin: () => Plugin26,
|
|
15
15
|
WebSearchTinyFish: () => exports_tinyfish,
|
|
16
|
-
endpoint: () =>
|
|
16
|
+
endpoint: () => endpoint6
|
|
17
17
|
});
|
|
18
18
|
import { define } from "@opencode/plugin/effect/plugin";
|
|
19
19
|
import { Effect, Option, Schema } from "effect";
|
|
20
20
|
import { HttpClient } from "effect/http";
|
|
21
|
-
var
|
|
21
|
+
var endpoint6 = "https://agent.tinyfish.ai/mcp";
|
|
22
22
|
var McpInput = Schema.Struct({
|
|
23
23
|
query: Schema.String
|
|
24
24
|
});
|
|
@@ -33,7 +33,7 @@ var SearchResponse = Schema.fromJsonString(Schema.Struct({
|
|
|
33
33
|
}))
|
|
34
34
|
}));
|
|
35
35
|
var decodeSearchResponse = Schema.decodeUnknownOption(SearchResponse);
|
|
36
|
-
var
|
|
36
|
+
var Plugin26 = define({
|
|
37
37
|
id: "opencode.websearch.tinyfish",
|
|
38
38
|
effect: Effect.fn("WebSearchTinyFish.Plugin")(function* (ctx) {
|
|
39
39
|
const http = yield* HttpClient.HttpClient;
|
|
@@ -55,7 +55,7 @@ var Plugin21 = define({
|
|
|
55
55
|
execute: (input) => Effect.gen(function* () {
|
|
56
56
|
const connection = yield* ctx.integration.connection.active("tinyfish");
|
|
57
57
|
const credential = connection ? yield* ctx.integration.connection.resolve(connection) : undefined;
|
|
58
|
-
const result = yield* call2(http,
|
|
58
|
+
const result = yield* call2(http, endpoint6, "search", { input: McpInput, output: McpOutput }, { query: input.query }, {
|
|
59
59
|
"User-Agent": useragent2(ctx.app),
|
|
60
60
|
...credential?.type === "key" ? { "X-API-Key": credential.key } : { "X-TinyFish-Access-Mode": "keyless" }
|
|
61
61
|
});
|
|
@@ -73,4 +73,4 @@ var Plugin21 = define({
|
|
|
73
73
|
})
|
|
74
74
|
});
|
|
75
75
|
|
|
76
|
-
export {
|
|
76
|
+
export { endpoint6, Plugin26, exports_tinyfish };
|
|
@@ -1,99 +1,99 @@
|
|
|
1
1
|
import {
|
|
2
2
|
AmazonBedrockPlugin2
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./integration-0mnr004b.js";
|
|
4
4
|
import {
|
|
5
5
|
AzurePlugin2
|
|
6
|
-
} from "./
|
|
6
|
+
} from "./integration-3n2sy81e.js";
|
|
7
7
|
import {
|
|
8
8
|
CerebrasPlugin2
|
|
9
|
-
} from "./
|
|
9
|
+
} from "./integration-wc3fc9cn.js";
|
|
10
10
|
import {
|
|
11
11
|
ChatGPTPlugin2
|
|
12
|
-
} from "./
|
|
12
|
+
} from "./integration-wc5yctqd.js";
|
|
13
13
|
import {
|
|
14
14
|
CloudflareAIGatewayPlugin2
|
|
15
|
-
} from "./
|
|
15
|
+
} from "./integration-wdpq3wk2.js";
|
|
16
16
|
import {
|
|
17
17
|
CloudflareWorkersAIPlugin2
|
|
18
|
-
} from "./
|
|
18
|
+
} from "./integration-wpt53rg3.js";
|
|
19
19
|
import {
|
|
20
20
|
CoherePlugin2
|
|
21
|
-
} from "./
|
|
21
|
+
} from "./integration-z0bkrqjs.js";
|
|
22
22
|
import {
|
|
23
23
|
DatabricksPlugin2
|
|
24
|
-
} from "./
|
|
24
|
+
} from "./integration-wjj7prxr.js";
|
|
25
25
|
import {
|
|
26
26
|
DigitalOceanPlugin2
|
|
27
|
-
} from "./
|
|
27
|
+
} from "./integration-j5qeqyf7.js";
|
|
28
28
|
import {
|
|
29
29
|
DynamicProviderPlugin2
|
|
30
|
-
} from "./
|
|
30
|
+
} from "./integration-5m9w47nd.js";
|
|
31
31
|
import {
|
|
32
32
|
GithubCopilotPlugin2
|
|
33
|
-
} from "./
|
|
33
|
+
} from "./integration-zk149sv1.js";
|
|
34
34
|
import {
|
|
35
35
|
GitLabPlugin2
|
|
36
|
-
} from "./
|
|
36
|
+
} from "./integration-g2vy875s.js";
|
|
37
37
|
import {
|
|
38
38
|
GoogleVertexPlugin2
|
|
39
|
-
} from "./
|
|
39
|
+
} from "./integration-c9y7ddt1.js";
|
|
40
40
|
import {
|
|
41
41
|
KiloPlugin2
|
|
42
|
-
} from "./
|
|
42
|
+
} from "./integration-qg3g05ea.js";
|
|
43
43
|
import {
|
|
44
44
|
LLMGatewayPlugin2
|
|
45
|
-
} from "./
|
|
45
|
+
} from "./integration-akfjyt7n.js";
|
|
46
46
|
import {
|
|
47
47
|
LMStudioPlugin2
|
|
48
|
-
} from "./
|
|
48
|
+
} from "./integration-5nwmvtjk.js";
|
|
49
49
|
import {
|
|
50
50
|
ModalPlugin2
|
|
51
|
-
} from "./
|
|
51
|
+
} from "./integration-csxqjt7p.js";
|
|
52
52
|
import {
|
|
53
53
|
NeonPlugin2
|
|
54
|
-
} from "./
|
|
54
|
+
} from "./integration-ve7vex1e.js";
|
|
55
55
|
import {
|
|
56
56
|
NvidiaPlugin2
|
|
57
|
-
} from "./
|
|
57
|
+
} from "./integration-24dcb14g.js";
|
|
58
58
|
import {
|
|
59
59
|
OllamaPlugin2
|
|
60
|
-
} from "./
|
|
60
|
+
} from "./integration-q6j596eh.js";
|
|
61
61
|
import {
|
|
62
62
|
OpenAIPlugin2
|
|
63
|
-
} from "./
|
|
63
|
+
} from "./integration-hyj1ar3s.js";
|
|
64
64
|
import {
|
|
65
65
|
SnowflakeCortexPlugin2
|
|
66
|
-
} from "./
|
|
66
|
+
} from "./integration-wr15ww3q.js";
|
|
67
67
|
import {
|
|
68
68
|
OpencodePlugin2
|
|
69
|
-
} from "./
|
|
69
|
+
} from "./integration-3mfw0227.js";
|
|
70
70
|
import {
|
|
71
71
|
OpenRouterPlugin2
|
|
72
|
-
} from "./
|
|
72
|
+
} from "./integration-53yxdm32.js";
|
|
73
73
|
import {
|
|
74
74
|
PerplexityPlugin2
|
|
75
|
-
} from "./
|
|
75
|
+
} from "./integration-veqvce7d.js";
|
|
76
76
|
import {
|
|
77
77
|
PoePlugin2
|
|
78
|
-
} from "./
|
|
78
|
+
} from "./integration-t24nkpg8.js";
|
|
79
79
|
import {
|
|
80
80
|
PromptCacheKeyPlugin2
|
|
81
|
-
} from "./
|
|
81
|
+
} from "./integration-hcxmzztb.js";
|
|
82
82
|
import {
|
|
83
83
|
SapAICorePlugin2
|
|
84
|
-
} from "./
|
|
84
|
+
} from "./integration-vwdjqckc.js";
|
|
85
85
|
import {
|
|
86
86
|
VercelPlugin2
|
|
87
|
-
} from "./
|
|
87
|
+
} from "./integration-1n9pygvy.js";
|
|
88
88
|
import {
|
|
89
89
|
VLLMPlugin2
|
|
90
|
-
} from "./
|
|
90
|
+
} from "./integration-yeff6sje.js";
|
|
91
91
|
import {
|
|
92
92
|
XAIPlugin2
|
|
93
|
-
} from "./
|
|
93
|
+
} from "./integration-w94bxqdg.js";
|
|
94
94
|
import {
|
|
95
95
|
ZenmuxPlugin2
|
|
96
|
-
} from "./
|
|
96
|
+
} from "./integration-jjkms2e6.js";
|
|
97
97
|
|
|
98
98
|
// src/plugin/provider.ts
|
|
99
99
|
var ProviderPlugins2 = [
|
|
@@ -7,21 +7,21 @@ import {
|
|
|
7
7
|
deletePatch2,
|
|
8
8
|
countPatch2,
|
|
9
9
|
chunksByFile2
|
|
10
|
-
} from "./
|
|
10
|
+
} from "./integration-tazgh4e4.js";
|
|
11
11
|
import {
|
|
12
12
|
Service79
|
|
13
|
-
} from "./
|
|
13
|
+
} from "./integration-2e2f6za3.js";
|
|
14
14
|
import {
|
|
15
15
|
DiffError2
|
|
16
|
-
} from "./
|
|
16
|
+
} from "./integration-bcs2vc99.js";
|
|
17
17
|
import {
|
|
18
18
|
__export
|
|
19
|
-
} from "./
|
|
19
|
+
} from "./integration-9rqn6x4v.js";
|
|
20
20
|
|
|
21
21
|
// src/plugin/vcs/hg.ts
|
|
22
22
|
var exports_hg = {};
|
|
23
23
|
__export(exports_hg, {
|
|
24
|
-
Plugin: () =>
|
|
24
|
+
Plugin: () => Plugin21,
|
|
25
25
|
VcsHgPlugin: () => exports_hg
|
|
26
26
|
});
|
|
27
27
|
import path from "path";
|
|
@@ -30,7 +30,7 @@ import { ChildProcess } from "effect/process";
|
|
|
30
30
|
import { define } from "@opencode/plugin/effect/plugin";
|
|
31
31
|
import { FSUtil } from "@opencode/util/fs-util";
|
|
32
32
|
import { AppProcess } from "@opencode/util/process";
|
|
33
|
-
var
|
|
33
|
+
var Plugin21 = define({
|
|
34
34
|
id: "opencode.vcs.hg",
|
|
35
35
|
effect: Effect.fn("VcsHgPlugin")(function* (ctx) {
|
|
36
36
|
const location = yield* Service79;
|
|
@@ -198,4 +198,4 @@ function makeHg(proc, worktree) {
|
|
|
198
198
|
return { status, diff, branch, ancestor, cat };
|
|
199
199
|
}
|
|
200
200
|
|
|
201
|
-
export {
|
|
201
|
+
export { Plugin21, exports_hg };
|
|
@@ -1,23 +1,23 @@
|
|
|
1
1
|
import {
|
|
2
2
|
llmClient2
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./integration-775gj3j1.js";
|
|
4
4
|
import {
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
} from "./
|
|
5
|
+
Service50,
|
|
6
|
+
node52
|
|
7
|
+
} from "./integration-sqhrjh3n.js";
|
|
8
8
|
import {
|
|
9
9
|
__export
|
|
10
|
-
} from "./
|
|
10
|
+
} from "./integration-9rqn6x4v.js";
|
|
11
11
|
|
|
12
12
|
// src/generate.ts
|
|
13
|
-
var
|
|
14
|
-
__export(
|
|
15
|
-
Generate: () =>
|
|
13
|
+
var exports_generate2 = {};
|
|
14
|
+
__export(exports_generate2, {
|
|
15
|
+
Generate: () => exports_generate2,
|
|
16
16
|
ModelSelectionError: () => ModelSelectionError2,
|
|
17
|
-
Service: () =>
|
|
17
|
+
Service: () => Service49,
|
|
18
18
|
UnavailableError: () => UnavailableError3,
|
|
19
|
-
layer: () =>
|
|
20
|
-
node: () =>
|
|
19
|
+
layer: () => layer22,
|
|
20
|
+
node: () => node51
|
|
21
21
|
});
|
|
22
22
|
import { LLM, LLMClient } from "@opencode/ai";
|
|
23
23
|
import { SessionID } from "@opencode/schema/session-id";
|
|
@@ -34,11 +34,11 @@ class UnavailableError3 extends Schema.TaggedError()("Generate.UnavailableError"
|
|
|
34
34
|
}) {
|
|
35
35
|
}
|
|
36
36
|
|
|
37
|
-
class
|
|
37
|
+
class Service49 extends Context.Service()("@opencode/Generate") {
|
|
38
38
|
}
|
|
39
|
-
var
|
|
39
|
+
var layer22 = Layer.effect(Service49, Effect.gen(function* () {
|
|
40
40
|
const llm = yield* LLMClient.Service;
|
|
41
|
-
const resolver = yield*
|
|
41
|
+
const resolver = yield* Service50;
|
|
42
42
|
const runText = Effect.fn("Generate.text")(function* (input) {
|
|
43
43
|
const resolved = yield* resolver.resolve(input.model).pipe(Effect.catchTag([
|
|
44
44
|
"SessionRunnerModel.VariantUnavailableError",
|
|
@@ -68,12 +68,12 @@ var layer12 = Layer.effect(Service29, Effect.gen(function* () {
|
|
|
68
68
|
const text = (input) => runText(input).pipe(Effect.catchTag("Integration.Authorization", () => new UnavailableError3({
|
|
69
69
|
message: "Generation credentials are unavailable"
|
|
70
70
|
})));
|
|
71
|
-
return
|
|
71
|
+
return Service49.of({ text });
|
|
72
72
|
}));
|
|
73
|
-
var
|
|
74
|
-
service:
|
|
75
|
-
layer:
|
|
76
|
-
deps: [
|
|
73
|
+
var node51 = makeLocationNode({
|
|
74
|
+
service: Service49,
|
|
75
|
+
layer: layer22,
|
|
76
|
+
deps: [node52, llmClient2]
|
|
77
77
|
});
|
|
78
78
|
|
|
79
|
-
export { ModelSelectionError2, UnavailableError3,
|
|
79
|
+
export { ModelSelectionError2, UnavailableError3, Service49, layer22, node51, exports_generate2 };
|
|
@@ -5,24 +5,24 @@ import {
|
|
|
5
5
|
emptyPatch2,
|
|
6
6
|
splitGitPatch2,
|
|
7
7
|
chunksByFile2
|
|
8
|
-
} from "./
|
|
8
|
+
} from "./integration-tazgh4e4.js";
|
|
9
9
|
import {
|
|
10
10
|
gitExecutable2
|
|
11
|
-
} from "./
|
|
11
|
+
} from "./integration-ef5x83kb.js";
|
|
12
12
|
import {
|
|
13
13
|
Service79
|
|
14
|
-
} from "./
|
|
14
|
+
} from "./integration-2e2f6za3.js";
|
|
15
15
|
import {
|
|
16
16
|
DiffError2
|
|
17
|
-
} from "./
|
|
17
|
+
} from "./integration-bcs2vc99.js";
|
|
18
18
|
import {
|
|
19
19
|
__export
|
|
20
|
-
} from "./
|
|
20
|
+
} from "./integration-9rqn6x4v.js";
|
|
21
21
|
|
|
22
22
|
// src/plugin/vcs/git.ts
|
|
23
23
|
var exports_git = {};
|
|
24
24
|
__export(exports_git, {
|
|
25
|
-
Plugin: () =>
|
|
25
|
+
Plugin: () => Plugin27,
|
|
26
26
|
VcsGitPlugin: () => exports_git
|
|
27
27
|
});
|
|
28
28
|
import { randomUUID } from "crypto";
|
|
@@ -33,7 +33,7 @@ import { define } from "@opencode/plugin/effect/plugin";
|
|
|
33
33
|
import { Effect } from "effect";
|
|
34
34
|
import { ChildProcess } from "effect/process";
|
|
35
35
|
import { AppProcess } from "@opencode/util/process";
|
|
36
|
-
var
|
|
36
|
+
var Plugin27 = define({
|
|
37
37
|
id: "opencode.vcs.git",
|
|
38
38
|
effect: Effect.fn("VcsGitPlugin")(function* (ctx) {
|
|
39
39
|
const location = yield* Service79;
|
|
@@ -553,4 +553,4 @@ var track = Effect.fnUntraced(function* (ctx, ref, options) {
|
|
|
553
553
|
return yield* diffAgainstRef(ctx, ref, options);
|
|
554
554
|
});
|
|
555
555
|
|
|
556
|
-
export {
|
|
556
|
+
export { Plugin27, exports_git };
|
|
@@ -1,21 +1,21 @@
|
|
|
1
1
|
import {
|
|
2
2
|
ephemeral2,
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
} from "./
|
|
3
|
+
Service84,
|
|
4
|
+
node88
|
|
5
|
+
} from "./integration-4mj0xbb0.js";
|
|
6
6
|
import {
|
|
7
|
-
|
|
7
|
+
Key4,
|
|
8
8
|
unavailable3,
|
|
9
9
|
removed2,
|
|
10
|
-
|
|
10
|
+
make21,
|
|
11
11
|
diffByKey2
|
|
12
|
-
} from "./
|
|
12
|
+
} from "./integration-eaj1djv9.js";
|
|
13
13
|
import {
|
|
14
14
|
create3
|
|
15
|
-
} from "./
|
|
15
|
+
} from "./integration-rdw6cm16.js";
|
|
16
16
|
import {
|
|
17
17
|
__export
|
|
18
|
-
} from "./
|
|
18
|
+
} from "./integration-9rqn6x4v.js";
|
|
19
19
|
|
|
20
20
|
// src/instruction-discovery.ts
|
|
21
21
|
var exports_instruction_discovery = {};
|
|
@@ -23,11 +23,11 @@ __export(exports_instruction_discovery, {
|
|
|
23
23
|
Event: () => Event8,
|
|
24
24
|
File: () => File2,
|
|
25
25
|
InstructionDiscovery: () => exports_instruction_discovery,
|
|
26
|
-
Options: () =>
|
|
27
|
-
Service: () =>
|
|
28
|
-
configured: () =>
|
|
29
|
-
layer: () =>
|
|
30
|
-
node: () =>
|
|
26
|
+
Options: () => Options6,
|
|
27
|
+
Service: () => Service47,
|
|
28
|
+
configured: () => configured6,
|
|
29
|
+
layer: () => layer21,
|
|
30
|
+
node: () => node49
|
|
31
31
|
});
|
|
32
32
|
import { Context, Effect, Layer, Schema } from "effect";
|
|
33
33
|
import { makeLocationNode } from "@opencode/util/effect/app-node";
|
|
@@ -38,19 +38,19 @@ class File2 extends Schema.Class("InstructionDiscovery.File")({
|
|
|
38
38
|
}) {
|
|
39
39
|
}
|
|
40
40
|
var Files = Schema.Array(File2);
|
|
41
|
-
var key =
|
|
41
|
+
var key = Key4.make("core/instructions");
|
|
42
42
|
var Event8 = {
|
|
43
43
|
Updated: ephemeral2({ type: "instruction-discovery.updated", schema: {} })
|
|
44
44
|
};
|
|
45
|
-
var
|
|
45
|
+
var Options6 = Schema.Struct({
|
|
46
46
|
project: Schema.optional(Schema.Boolean),
|
|
47
47
|
global: Schema.optional(Schema.Boolean)
|
|
48
48
|
});
|
|
49
49
|
|
|
50
|
-
class
|
|
50
|
+
class Service47 extends Context.Service()("@opencode/InstructionDiscovery") {
|
|
51
51
|
}
|
|
52
|
-
var
|
|
53
|
-
const bus = yield*
|
|
52
|
+
var layer21 = (options) => Layer.effect(Service47, Effect.gen(function* () {
|
|
53
|
+
const bus = yield* Service84;
|
|
54
54
|
const state = create3({
|
|
55
55
|
name: "instruction-discovery",
|
|
56
56
|
initial: () => ({ files: new Map, available: true }),
|
|
@@ -71,7 +71,7 @@ var layer18 = (options) => Layer.effect(Service45, Effect.gen(function* () {
|
|
|
71
71
|
}),
|
|
72
72
|
notify: () => bus.publish(Event8.Updated, {}).pipe(Effect.asVoid)
|
|
73
73
|
});
|
|
74
|
-
const source = (value) =>
|
|
74
|
+
const source = (value) => make21({
|
|
75
75
|
key,
|
|
76
76
|
codec: Schema.toCodecJson(Files),
|
|
77
77
|
read: Effect.succeed(value),
|
|
@@ -87,7 +87,7 @@ var layer18 = (options) => Layer.effect(Service45, Effect.gen(function* () {
|
|
|
87
87
|
return unavailable3;
|
|
88
88
|
return Array.from(current.files.values());
|
|
89
89
|
});
|
|
90
|
-
return
|
|
90
|
+
return Service47.of({
|
|
91
91
|
project: options?.project !== false,
|
|
92
92
|
global: options?.global !== false,
|
|
93
93
|
transform: state.transform,
|
|
@@ -101,14 +101,14 @@ var layer18 = (options) => Layer.effect(Service45, Effect.gen(function* () {
|
|
|
101
101
|
})
|
|
102
102
|
});
|
|
103
103
|
}));
|
|
104
|
-
function
|
|
104
|
+
function configured6(options) {
|
|
105
105
|
return makeLocationNode({
|
|
106
|
-
service:
|
|
107
|
-
layer:
|
|
108
|
-
deps: [
|
|
106
|
+
service: Service47,
|
|
107
|
+
layer: layer21(options),
|
|
108
|
+
deps: [node88]
|
|
109
109
|
});
|
|
110
110
|
}
|
|
111
|
-
var
|
|
111
|
+
var node49 = configured6();
|
|
112
112
|
function render(files) {
|
|
113
113
|
return files.map((file) => `Instructions from: ${file.path}
|
|
114
114
|
${file.content}`).join(`
|
|
@@ -139,4 +139,4 @@ ${render([after])}`;
|
|
|
139
139
|
`);
|
|
140
140
|
}
|
|
141
141
|
|
|
142
|
-
export { File2, Event8,
|
|
142
|
+
export { File2, Event8, Options6, Service47, layer21, configured6, node49, exports_instruction_discovery };
|