@opencode-ai/core 0.0.0-dev-19183 → 0.0.0-dev-19184
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 +81 -81
- package/dist/aisdk-native.js +2 -2
- package/dist/aisdk.js +6 -6
- package/dist/app.js +9 -9
- package/dist/bus.js +73 -73
- package/dist/catalog.js +82 -82
- package/dist/chunks/{integration-3yrmrd6r.js → job-02bxyhdh.js} +9 -9
- package/dist/chunks/{integration-nfptqm75.js → job-09s42jda.js} +7 -7
- package/dist/chunks/{integration-0e0xafbb.js → job-0e0xafbb.js} +2 -2
- package/dist/chunks/{integration-0t8hhwgh.js → job-0f1c069v.js} +11 -11
- package/dist/chunks/{integration-ze4dnq9c.js → job-0k72pry1.js} +4 -4
- package/dist/chunks/{integration-0paq2nw3.js → job-0paq2nw3.js} +1 -1
- package/dist/chunks/{integration-t9r1bwan.js → job-0q6xrvgj.js} +35 -35
- package/dist/chunks/{integration-0s9ayhjt.js → job-0s9ayhjt.js} +1 -1
- package/dist/chunks/{integration-3tqssqdx.js → job-0z9wyxgm.js} +18 -18
- package/dist/chunks/{integration-1ct4r87x.js → job-1ct4r87x.js} +1 -1
- package/dist/chunks/{integration-skb9nfw3.js → job-1hzxw0tj.js} +77 -77
- package/dist/chunks/{integration-venc2rs3.js → job-1twky2jm.js} +14 -14
- package/dist/chunks/{integration-5msmqgkp.js → job-2064z0jh.js} +15 -15
- package/dist/chunks/{integration-21r38tys.js → job-21r38tys.js} +1 -1
- package/dist/chunks/{integration-n3zymk0x.js → job-22et5zeg.js} +29 -29
- package/dist/chunks/{integration-zxp8b8eb.js → job-27ccdvw2.js} +7 -7
- package/dist/chunks/{integration-29x78va6.js → job-29x78va6.js} +2 -2
- package/dist/chunks/{integration-m8cag8em.js → job-2a1cv4k1.js} +23 -23
- package/dist/chunks/{integration-2a5m3afh.js → job-2a5m3afh.js} +1 -1
- package/dist/chunks/{integration-p0b4ytnr.js → job-2d57kztd.js} +6 -6
- package/dist/chunks/{integration-b3n2eqtx.js → job-2db6y7ze.js} +6 -6
- package/dist/chunks/{integration-5787aseb.js → job-2dhcxaw1.js} +20 -20
- package/dist/chunks/{integration-2ht70gj7.js → job-2ht70gj7.js} +1 -1
- package/dist/chunks/{integration-4fgge01k.js → job-2zryskc1.js} +4 -4
- package/dist/chunks/{integration-0bzn7x5n.js → job-3a95v3xn.js} +19 -19
- package/dist/chunks/{integration-a91j8w2g.js → job-3dbe24dq.js} +11 -11
- package/dist/chunks/{integration-hprgscy4.js → job-3eskwthn.js} +39 -39
- package/dist/chunks/{integration-3fc6dm20.js → job-3fc6dm20.js} +1 -1
- package/dist/chunks/{integration-8k0hjzhj.js → job-3gwyd720.js} +29 -29
- package/dist/chunks/{integration-3hepkmqq.js → job-3hepkmqq.js} +1 -1
- package/dist/chunks/{integration-9cf39x6z.js → job-3kwfatbg.js} +11 -11
- package/dist/chunks/{integration-3qzbfqsy.js → job-3qzbfqsy.js} +2 -2
- package/dist/chunks/{integration-3smtnn6g.js → job-3smtnn6g.js} +1 -1
- package/dist/chunks/{integration-3tvqynh2.js → job-3tvqynh2.js} +1 -1
- package/dist/chunks/{integration-n0tc3be6.js → job-3vv4p4vn.js} +17 -17
- package/dist/chunks/{integration-bc8a5m6h.js → job-3xkqgm7n.js} +32 -32
- package/dist/chunks/{integration-44kf892n.js → job-3yjpcw2x.js} +13 -13
- package/dist/chunks/{integration-454k5vzh.js → job-454k5vzh.js} +1 -1
- package/dist/chunks/{integration-hgd1ysgg.js → job-4dce09ht.js} +30 -30
- package/dist/chunks/{integration-bacej541.js → job-4dd5a8sw.js} +15 -15
- package/dist/chunks/{integration-ey04d52n.js → job-4dxz6g2t.js} +12 -12
- package/dist/chunks/{integration-m1rpt5yb.js → job-4n8qc73g.js} +2 -2
- package/dist/chunks/{integration-wqa3gkgw.js → job-4nrv6rf6.js} +18 -18
- package/dist/chunks/{integration-4r2nyarf.js → job-4r2nyarf.js} +1 -1
- package/dist/chunks/{integration-xxbz0p1r.js → job-4tj0308d.js} +40 -40
- package/dist/chunks/{integration-hx4xtyj4.js → job-4vcv65ph.js} +28 -28
- package/dist/chunks/{integration-n38qs1ar.js → job-4z9ne5jz.js} +9 -9
- package/dist/chunks/{integration-hwexc6y2.js → job-5429z1bt.js} +15 -15
- package/dist/chunks/{integration-5daktx2q.js → job-5daktx2q.js} +1 -1
- package/dist/chunks/{integration-5fmxt4p5.js → job-5fmxt4p5.js} +1 -1
- package/dist/chunks/{integration-5jvc5tg2.js → job-5jvc5tg2.js} +1 -1
- package/dist/chunks/{integration-1s8ztpfy.js → job-5q3ervc3.js} +13 -13
- package/dist/chunks/{integration-edqq9k7w.js → job-5thnz3gh.js} +9 -9
- package/dist/chunks/{integration-fd9gvbrd.js → job-5tvenq5z.js} +11 -11
- package/dist/chunks/{integration-5fex8bb2.js → job-609h7r9w.js} +7 -7
- package/dist/chunks/{integration-zdfgkaf6.js → job-65zrdwzm.js} +21 -21
- package/dist/chunks/{integration-28n3apsg.js → job-66mvy4rh.js} +14 -14
- package/dist/chunks/{integration-6z5bwd8g.js → job-6abnk40k.js} +9 -9
- package/dist/chunks/{integration-cejxp29k.js → job-6gvvk2ba.js} +6 -6
- package/dist/chunks/{integration-gvwgzmjs.js → job-6h1jvax1.js} +15 -15
- package/dist/chunks/{integration-6h73sxmp.js → job-6h73sxmp.js} +1 -1
- package/dist/chunks/{integration-x1d412zs.js → job-6m5v218x.js} +27 -27
- package/dist/chunks/{integration-chtrmnkp.js → job-6qb1jm5z.js} +6 -6
- package/dist/chunks/{integration-dxvw2y3n.js → job-6xsmrfqj.js} +8 -8
- package/dist/chunks/{integration-p1mbbqbm.js → job-6y7j49bw.js} +13 -13
- package/dist/chunks/{integration-711hfp6y.js → job-711hfp6y.js} +2 -2
- package/dist/chunks/{integration-72nftnjy.js → job-72nftnjy.js} +2 -2
- package/dist/chunks/{integration-7bmhse3q.js → job-7bmhse3q.js} +1 -1
- package/dist/chunks/{integration-prxfmcr4.js → job-7db7x6xf.js} +16 -16
- package/dist/chunks/{integration-84m8dmka.js → job-7dz4r7mk.js} +8 -8
- package/dist/chunks/{integration-1f1wzhgc.js → job-7grmgsg7.js} +4 -4
- package/dist/chunks/{integration-j6z63tth.js → job-7m12h8nb.js} +8 -8
- package/dist/chunks/{integration-wdfg1vjb.js → job-7p7j7gh5.js} +64 -64
- package/dist/chunks/{integration-zme7t2a3.js → job-7sp2pcg7.js} +10 -10
- package/dist/chunks/job-7zk4hah4.js +4 -0
- package/dist/chunks/{integration-t01161th.js → job-87zxc0hn.js} +9 -9
- package/dist/chunks/{integration-ygqh11pf.js → job-8pfq4m20.js} +9 -9
- package/dist/chunks/{integration-j3pkw2j5.js → job-8pm7xw7g.js} +27 -27
- package/dist/chunks/{integration-8dfnvz07.js → job-8ykh7x82.js} +18 -18
- package/dist/chunks/{integration-r4qxe6h4.js → job-980sga6b.js} +19 -19
- package/dist/chunks/{integration-evyj72xz.js → job-9hsfhq9z.js} +28 -28
- package/dist/chunks/{integration-ga2g4a2e.js → job-9k8ga460.js} +1 -1
- package/dist/chunks/{integration-9qm9egsn.js → job-9qm9egsn.js} +2 -2
- package/dist/chunks/{integration-5fq934vj.js → job-9v7rjn4h.js} +5 -5
- package/dist/chunks/{integration-b97n4k24.js → job-a332ga15.js} +24 -24
- package/dist/chunks/{integration-rew5xft6.js → job-a9qpe8qh.js} +6 -6
- package/dist/chunks/{integration-aaet6srn.js → job-aaet6srn.js} +2 -2
- package/dist/chunks/{integration-vgnfmg5d.js → job-afs33nb8.js} +24 -24
- package/dist/chunks/{integration-0z4800pn.js → job-agt1qkvz.js} +9 -9
- package/dist/chunks/{integration-gks1q0wj.js → job-ah84y693.js} +1 -1
- package/dist/chunks/{integration-ajtjthsy.js → job-ajtjthsy.js} +2 -2
- package/dist/chunks/{integration-x79x2n7a.js → job-aph3fsn5.js} +28 -28
- package/dist/chunks/{integration-m7ex9x4h.js → job-b5wgn8bf.js} +36 -36
- package/dist/chunks/{integration-wr86h51b.js → job-b6f7s0g4.js} +17 -17
- package/dist/chunks/{integration-b6gygkdw.js → job-b6gygkdw.js} +2 -2
- package/dist/chunks/{integration-t89cxbfz.js → job-b75ft6nf.js} +4 -4
- package/dist/chunks/{integration-b9wsbatv.js → job-b9wsbatv.js} +1 -1
- package/dist/chunks/{integration-4h703e2n.js → job-bg4dxgdr.js} +7 -7
- package/dist/chunks/{integration-dqq1y8bk.js → job-bkmt26be.js} +15 -15
- package/dist/chunks/{integration-b2cp5hap.js → job-bntmfpb4.js} +12 -12
- package/dist/chunks/{integration-qja7rspw.js → job-bw6y50md.js} +8 -8
- package/dist/chunks/{integration-4txqqg0r.js → job-c87dbwev.js} +4 -4
- package/dist/chunks/{integration-f6tnmf0r.js → job-ca8ntzdc.js} +7 -7
- package/dist/chunks/{integration-apstjsj8.js → job-cfb4ez1f.js} +11 -11
- package/dist/chunks/job-cfn9rvpv.js +18 -0
- package/dist/chunks/{integration-stxyg5sw.js → job-cm8d67t9.js} +12 -12
- package/dist/chunks/{integration-1qrrvbyh.js → job-csd1199e.js} +41 -41
- package/dist/chunks/{integration-ag4rn41e.js → job-cxmh4q5b.js} +4 -4
- package/dist/chunks/{integration-n8295sxz.js → job-cy44mvmp.js} +4 -4
- package/dist/chunks/{integration-3taryhav.js → job-cyaaer0t.js} +18 -18
- package/dist/chunks/{integration-d72308c8.js → job-d72308c8.js} +2 -2
- package/dist/chunks/{integration-m2rb4t0p.js → job-d890h9sp.js} +5 -5
- package/dist/chunks/{integration-bdqrk2vk.js → job-dg5bcj4q.js} +6 -6
- package/dist/chunks/{integration-d1qjg7yf.js → job-djybk775.js} +1 -1
- package/dist/chunks/{integration-q4x1ybx4.js → job-dz7wbq1s.js} +22 -22
- package/dist/chunks/{integration-7zp0dc1g.js → job-e0tgremq.js} +26 -26
- package/dist/chunks/{integration-3krqs39v.js → job-e1b3d454.js} +22 -22
- package/dist/chunks/{integration-572e70gx.js → job-e9egqfbd.js} +22 -22
- package/dist/chunks/{integration-3a2re2wf.js → job-ebsvjtbn.js} +11 -11
- package/dist/chunks/{integration-5vxncqj9.js → job-eg4pr325.js} +9 -9
- package/dist/chunks/{integration-t45px7ec.js → job-ejqghcay.js} +3 -3
- package/dist/chunks/{integration-4sxg11az.js → job-evfdbawk.js} +5 -5
- package/dist/chunks/{integration-p33re43j.js → job-ey8rdeqq.js} +24 -24
- package/dist/chunks/{integration-sadd05d1.js → job-f0vdmdj0.js} +18 -18
- package/dist/chunks/{integration-a1w1fpj3.js → job-f4wpndmk.js} +3 -3
- package/dist/chunks/{integration-8tm69f6q.js → job-f575bfnr.js} +48 -48
- package/dist/chunks/{integration-zs2c7fj5.js → job-f5jghqe5.js} +19 -19
- package/dist/chunks/{integration-whttz7sn.js → job-f6bxf1y3.js} +27 -27
- package/dist/chunks/{integration-afp62h5k.js → job-f7fp4m8t.js} +16 -16
- package/dist/chunks/{integration-26bs89kh.js → job-fjtpgy32.js} +11 -11
- package/dist/chunks/{integration-fxbjtjnd.js → job-fxbjtjnd.js} +1 -1
- package/dist/chunks/{integration-fxypknc8.js → job-fxypknc8.js} +1 -1
- package/dist/chunks/job-fy8tftem.js +247 -0
- package/dist/chunks/{integration-1n116cmy.js → job-fz1pdqz4.js} +9 -9
- package/dist/chunks/{integration-13gt56f3.js → job-g0t53x8k.js} +6 -6
- package/dist/chunks/{integration-g7csxrs7.js → job-g7csxrs7.js} +4 -4
- package/dist/chunks/{integration-gd4qta3r.js → job-gd4qta3r.js} +1 -1
- package/dist/chunks/{integration-hdd17qa4.js → job-gpvbfbv1.js} +13 -13
- package/dist/chunks/{integration-bzpbtns2.js → job-gw6z9r46.js} +17 -17
- package/dist/chunks/{integration-m5zrz0fb.js → job-gxw5qzxr.js} +14 -14
- package/dist/chunks/{integration-9wk5k1v9.js → job-gzhrch6w.js} +21 -21
- package/dist/chunks/{integration-cwmray7q.js → job-h14evann.js} +4 -4
- package/dist/chunks/{integration-750a2xxn.js → job-h2f3z6kt.js} +7 -7
- package/dist/chunks/{integration-1zv5y1gd.js → job-h5ekgej8.js} +25 -25
- package/dist/chunks/{integration-h6vf3j39.js → job-h6vf3j39.js} +1 -1
- package/dist/chunks/{integration-rkzs5vy1.js → job-h78209bt.js} +38 -38
- package/dist/chunks/{integration-heyhwy2w.js → job-heyhwy2w.js} +1 -1
- package/dist/chunks/{integration-rkj8rr3q.js → job-hp9tz1t0.js} +15 -15
- package/dist/chunks/{integration-hrvm11jt.js → job-hrvm11jt.js} +3 -3
- package/dist/chunks/job-htjzpxps.js +22 -0
- package/dist/chunks/{integration-68d4cgwb.js → job-hyh8v8zs.js} +13 -13
- package/dist/chunks/{integration-tnv1rg40.js → job-j3s4xfhb.js} +35 -35
- package/dist/chunks/{integration-jwzkj8fp.js → job-j4cdj4qy.js} +14 -14
- package/dist/chunks/{integration-nb76kee5.js → job-jbr8yybr.js} +19 -19
- package/dist/chunks/{integration-029hz4z1.js → job-je2a8yvd.js} +13 -13
- package/dist/chunks/{integration-a1wa5wkg.js → job-jn9a8690.js} +25 -25
- package/dist/chunks/{integration-g8ay8k9b.js → job-jnphjmd7.js} +12 -12
- package/dist/chunks/{integration-ekm6zah0.js → job-jqg8ax99.js} +21 -21
- package/dist/chunks/{integration-pah7pk43.js → job-jrpeh8d2.js} +4 -4
- package/dist/chunks/{integration-0pe3gf3s.js → job-js768sr4.js} +7 -7
- package/dist/chunks/{integration-754bw2w2.js → job-js8ve4g5.js} +7 -7
- package/dist/chunks/{integration-67247g37.js → job-jx5vaz62.js} +11 -11
- package/dist/chunks/{integration-vb74x0he.js → job-k0sqxq8y.js} +6 -6
- package/dist/chunks/{integration-pxjsvhpz.js → job-k0t36p8t.js} +11 -11
- package/dist/chunks/{integration-k4bwy1x5.js → job-k4bwy1x5.js} +1 -1
- package/dist/chunks/{integration-mq9r6drf.js → job-k6300pcm.js} +2 -2
- package/dist/chunks/{integration-v5dkyp31.js → job-k8962brh.js} +7 -7
- package/dist/chunks/{integration-kg06axw8.js → job-kg06axw8.js} +1 -1
- package/dist/chunks/{integration-yfbd16n1.js → job-kk3rr3qh.js} +5 -5
- package/dist/chunks/{integration-p9vx44pc.js → job-kkm1c4fb.js} +1 -1
- package/dist/chunks/{integration-4ck4bjxq.js → job-knzj16bx.js} +36 -36
- package/dist/chunks/job-kpe4sfyz.js +20 -0
- package/dist/chunks/{integration-kvsjn1dr.js → job-kvsjn1dr.js} +2 -2
- package/dist/chunks/{integration-bwd9hhtf.js → job-kwz9fzca.js} +13 -13
- package/dist/chunks/{integration-f45bjead.js → job-m61kp2d9.js} +22 -22
- package/dist/chunks/{integration-m9w0rfyh.js → job-m9w0rfyh.js} +1 -1
- package/dist/chunks/{integration-q2jffrft.js → job-mj72xa1v.js} +41 -41
- package/dist/chunks/{integration-fajehsyw.js → job-mqact3bs.js} +37 -37
- package/dist/chunks/{integration-mtcjf44p.js → job-mtcjf44p.js} +1 -1
- package/dist/chunks/job-mya7jach.js +460 -0
- package/dist/chunks/{integration-t5h4rs02.js → job-n0zzw4by.js} +6 -6
- package/dist/chunks/{integration-kk4d7wd3.js → job-n1m3pdym.js} +43 -43
- package/dist/chunks/{integration-ev9jfjwy.js → job-n541m3ke.js} +6 -6
- package/dist/chunks/{integration-mjzw1bzx.js → job-n5f15nnr.js} +9 -9
- package/dist/chunks/{integration-k1x6xnzd.js → job-n7e39qm9.js} +33 -33
- package/dist/chunks/{integration-w0k1he6w.js → job-na3y75gh.js} +5 -5
- package/dist/chunks/{integration-erahty33.js → job-nbyzd2fq.js} +32 -32
- package/dist/chunks/{integration-yfwze208.js → job-njjgymf9.js} +25 -25
- package/dist/chunks/{integration-2e0smsfx.js → job-p57kafe0.js} +10 -10
- package/dist/chunks/{integration-hydkmr7z.js → job-p8yecnf8.js} +52 -52
- package/dist/chunks/{integration-3vtxc0nj.js → job-p9pg2hvv.js} +24 -24
- package/dist/chunks/{integration-w19w1qkx.js → job-pjncx1t8.js} +1 -1
- package/dist/chunks/{integration-pjvnvgmy.js → job-pjvnvgmy.js} +1 -1
- package/dist/chunks/{integration-pknna89w.js → job-pknna89w.js} +1 -1
- package/dist/chunks/{integration-mwc26w7d.js → job-pr20j1nj.js} +19 -19
- package/dist/chunks/{integration-x3qw5t49.js → job-pvfwsgm1.js} +6 -6
- package/dist/chunks/{integration-3mygrb37.js → job-pw8dfkn0.js} +11 -11
- package/dist/chunks/{integration-jk1ageym.js → job-pxmke92c.js} +20 -20
- package/dist/chunks/{integration-nghvs6yj.js → job-q6xhv6e5.js} +10 -10
- package/dist/chunks/{integration-2k8khapm.js → job-qgn6gcr1.js} +5 -5
- package/dist/chunks/{integration-g3afw5yt.js → job-qhvqyjy9.js} +27 -27
- package/dist/chunks/{integration-72rbz3at.js → job-qm8hf8xg.js} +11 -11
- package/dist/chunks/{integration-fn34x8gt.js → job-qqvc5avd.js} +4 -4
- package/dist/chunks/{integration-qsdy395h.js → job-qsdy395h.js} +1 -1
- package/dist/chunks/{integration-q9yh5vvh.js → job-qsftxw63.js} +27 -27
- package/dist/chunks/{integration-19chzbrm.js → job-qz6y97rf.js} +11 -11
- package/dist/chunks/{integration-trb5x967.js → job-r2tnwzf5.js} +7 -7
- package/dist/chunks/{integration-aeysr3c7.js → job-r4vzq1gz.js} +17 -17
- package/dist/chunks/{integration-73tb2d7t.js → job-r5x6zcsm.js} +3 -3
- package/dist/chunks/{integration-r8dhm0tv.js → job-r8dhm0tv.js} +1 -1
- package/dist/chunks/{integration-f0v448q8.js → job-r9hy8h05.js} +5 -5
- package/dist/chunks/{integration-ezt9sm97.js → job-rd5jvw8m.js} +6 -6
- package/dist/chunks/{integration-8w6m0tk1.js → job-rmj7f2b7.js} +19 -19
- package/dist/chunks/{integration-1jek20vj.js → job-rms9ppq5.js} +5 -5
- package/dist/chunks/{integration-9exd6xtw.js → job-rs7d7ay9.js} +1 -1
- package/dist/chunks/{integration-87epq991.js → job-s13jwd54.js} +26 -26
- package/dist/chunks/{integration-sba4qhjf.js → job-sba4qhjf.js} +1 -1
- package/dist/chunks/{integration-62aq25ah.js → job-sbbdavyt.js} +5 -5
- package/dist/chunks/{integration-5gkpy6h2.js → job-sdx8r7mr.js} +8 -8
- package/dist/chunks/{integration-bpnz08mb.js → job-sfgd47vq.js} +2 -2
- package/dist/chunks/{integration-zhbaktmz.js → job-sp18p0y7.js} +27 -27
- package/dist/chunks/{integration-zkn0w8ks.js → job-srsjt1nn.js} +3 -3
- package/dist/chunks/{integration-3pcfg1k3.js → job-stbyx3mv.js} +24 -24
- package/dist/chunks/{integration-9p2yhpf5.js → job-t1thndgd.js} +82 -82
- package/dist/chunks/{integration-dywvj8k1.js → job-t656rjz2.js} +6 -6
- package/dist/chunks/{integration-tazgh4e4.js → job-tazgh4e4.js} +1 -1
- package/dist/chunks/{integration-tcezcvh9.js → job-tcezcvh9.js} +1 -1
- package/dist/chunks/{integration-bphmvjfp.js → job-thfv75je.js} +5 -5
- package/dist/chunks/{integration-tjykrgmx.js → job-tjykrgmx.js} +1 -1
- package/dist/chunks/{integration-m0m4b3vz.js → job-tmgm3j45.js} +5 -5
- package/dist/chunks/{integration-tppvcy65.js → job-tppvcy65.js} +2 -2
- package/dist/chunks/{integration-e1rfyyrx.js → job-ttbkqz8v.js} +4 -4
- package/dist/chunks/{integration-w0968pv7.js → job-ty41k21p.js} +5 -5
- package/dist/chunks/{integration-n4q030rw.js → job-v4pbsw3g.js} +4 -4
- package/dist/chunks/{integration-96te9d4b.js → job-v6ghzfeb.js} +5 -5
- package/dist/chunks/{integration-4jv2kp1d.js → job-v6p69a6j.js} +11 -11
- package/dist/chunks/{integration-sgesr4kp.js → job-v98339m9.js} +3 -3
- package/dist/chunks/{integration-djtdz80w.js → job-vep9yay1.js} +4 -4
- package/dist/chunks/{integration-6tv6bcvk.js → job-vgxv8r92.js} +42 -42
- package/dist/chunks/{integration-pmr4s4kc.js → job-vncycja5.js} +4 -4
- package/dist/chunks/{integration-8dxcby2a.js → job-vpyax6jy.js} +10 -10
- package/dist/chunks/{integration-00v47x1e.js → job-vqfqq7df.js} +26 -26
- package/dist/chunks/{integration-w3wsvvr9.js → job-w3wsvvr9.js} +1 -1
- package/dist/chunks/{integration-83k7kjyf.js → job-w4q2nban.js} +12 -12
- package/dist/chunks/{integration-1ddsfqzv.js → job-w51an37d.js} +34 -34
- package/dist/chunks/{integration-kzzvpjj3.js → job-w59a6phg.js} +18 -18
- package/dist/chunks/{integration-gnndsqct.js → job-wa9thkz4.js} +22 -22
- package/dist/chunks/{integration-56nan9ps.js → job-wd2f12th.js} +13 -13
- package/dist/chunks/{integration-wd87259q.js → job-wd87259q.js} +1 -1
- package/dist/chunks/{integration-pvg228j8.js → job-wwr3ad35.js} +1 -1
- package/dist/chunks/{integration-ct6ttrxz.js → job-wybz6hrf.js} +9 -9
- package/dist/chunks/{integration-x1ezjp6w.js → job-x1ezjp6w.js} +1 -1
- package/dist/chunks/{integration-81b8kvam.js → job-xf9mnr3x.js} +10 -10
- package/dist/chunks/{integration-082zmtg6.js → job-xhcaseqn.js} +11 -11
- package/dist/chunks/{integration-ecj1d35v.js → job-xhtgrbvc.js} +5 -5
- package/dist/chunks/{integration-rke5v8gv.js → job-xsmkv770.js} +2 -2
- package/dist/chunks/{integration-9cnpj473.js → job-xspyb9m3.js} +8 -8
- package/dist/chunks/{integration-r3myhqa0.js → job-xt1f22df.js} +20 -20
- package/dist/chunks/{integration-y1fvbwt7.js → job-y1fvbwt7.js} +1 -1
- package/dist/chunks/{integration-93a8yfjt.js → job-y2cqme3r.js} +5 -5
- package/dist/chunks/{integration-p4z4263z.js → job-y3b1dp8q.js} +20 -20
- package/dist/chunks/{integration-qq41xq3t.js → job-y6mxwddf.js} +152 -152
- package/dist/chunks/{integration-jwcy2c2z.js → job-y71avatq.js} +4 -4
- package/dist/chunks/{integration-p6yzb5ay.js → job-ygkvt82s.js} +4 -4
- package/dist/chunks/{integration-w2s7jr3f.js → job-yhaeervb.js} +11 -11
- package/dist/chunks/{integration-c4tx9p0z.js → job-yht60hk8.js} +13 -13
- package/dist/chunks/{integration-gxamhekz.js → job-yxt9m8zd.js} +15 -15
- package/dist/chunks/{integration-hzqp28w6.js → job-yz70yf3b.js} +20 -20
- package/dist/chunks/{integration-famd3pv6.js → job-yzd93mfj.js} +5 -5
- package/dist/chunks/{integration-z1k01bn4.js → job-z1k01bn4.js} +2 -2
- package/dist/chunks/{integration-drh5aenh.js → job-z1pvxdba.js} +31 -31
- package/dist/chunks/{integration-xfcjyfjf.js → job-z235z5bk.js} +11 -11
- package/dist/chunks/{integration-m0q20d73.js → job-z36s3nfk.js} +46 -46
- package/dist/chunks/{integration-792x03jk.js → job-z5c620kp.js} +11 -11
- package/dist/chunks/{integration-98xyt05b.js → job-zvbn7w68.js} +28 -28
- package/dist/chunks/{integration-zxq2ej10.js → job-zxq2ej10.js} +1 -1
- package/dist/codemode/catalog.js +1 -1
- package/dist/codemode/instructions.js +9 -9
- package/dist/codemode/tool.js +2 -2
- package/dist/command.js +83 -83
- package/dist/config/discovery.js +77 -77
- package/dist/config/markdown.js +1 -1
- package/dist/config/normalize.js +19 -19
- package/dist/config/plugin/agent.js +116 -116
- package/dist/config/plugin/command.js +207 -207
- package/dist/config/plugin/compaction.js +153 -153
- package/dist/config/plugin/entry-observer.js +1 -1
- package/dist/config/plugin/formatter.js +116 -116
- package/dist/config/plugin/image.js +114 -114
- package/dist/config/plugin/instruction.js +85 -85
- package/dist/config/plugin/location-watcher.js +114 -114
- package/dist/config/plugin/mcp.js +125 -125
- package/dist/config/plugin/policy.js +113 -113
- package/dist/config/plugin/provider.js +112 -112
- package/dist/config/plugin/reference.js +116 -116
- package/dist/config/plugin/shell.js +115 -115
- package/dist/config/plugin/skill-file.js +96 -96
- package/dist/config/plugin/skill.js +134 -134
- package/dist/config/plugin/snapshot.js +114 -114
- package/dist/config/plugin/source.js +116 -116
- package/dist/config/plugin/tool-output.js +116 -116
- package/dist/config/plugin/websearch.js +112 -112
- package/dist/config/plugin/worktree.js +117 -117
- package/dist/config/variable.js +3 -3
- package/dist/config/watch.js +1 -1
- package/dist/config.js +112 -112
- package/dist/credential/sql.js +2 -2
- package/dist/credential.js +74 -74
- package/dist/database/database.js +70 -70
- 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.gen.js +47 -47
- package/dist/database/migration.js +49 -49
- 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 +74 -74
- package/dist/database/v1-migration.js +1 -1
- package/dist/effect/app-node-builder.js +358 -358
- 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 +88 -88
- package/dist/environment/exec-defaults.js +2 -2
- package/dist/environment/files.js +1 -1
- package/dist/environment/index.js +90 -90
- 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 +72 -72
- package/dist/file-mutation.js +89 -89
- package/dist/file-retention.js +1 -1
- package/dist/file.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/ignore.js +1 -1
- package/dist/filesystem/location-watcher-policy.js +6 -6
- package/dist/filesystem/location-watcher.js +218 -218
- package/dist/filesystem/protected.js +1 -1
- package/dist/filesystem/search.js +95 -95
- package/dist/filesystem/watcher-binding.js +1 -1
- package/dist/filesystem/watcher.js +11 -11
- package/dist/filesystem.js +96 -96
- package/dist/form.js +82 -82
- package/dist/formatter/builtins.js +4 -4
- package/dist/formatter.js +82 -82
- package/dist/generate.js +90 -90
- package/dist/git.js +5 -5
- 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 +7 -7
- 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/id/id.js +1 -1
- package/dist/image/photon.js +2 -2
- package/dist/image.js +6 -6
- package/dist/instance/service.js +7 -7
- package/dist/instance.js +349 -349
- package/dist/instruction-discovery.js +79 -79
- package/dist/instructions/builtins.js +82 -82
- package/dist/instructions/index.js +1 -1
- package/dist/integration/connection.js +1 -1
- package/dist/integration.js +83 -83
- package/dist/job.js +77 -77
- package/dist/kv/sql.js +2 -2
- package/dist/kv.js +71 -71
- package/dist/location-activity.js +86 -86
- package/dist/location-mutation.js +81 -81
- package/dist/location-service-map.js +83 -83
- package/dist/location-services.js +346 -346
- package/dist/location.js +78 -78
- package/dist/mcp/client.js +86 -86
- package/dist/mcp/index.js +96 -96
- package/dist/mcp/instructions.js +120 -120
- package/dist/mcp/oauth.js +2 -2
- package/dist/mcp/stdio.js +85 -85
- package/dist/mime.js +1 -1
- package/dist/modal/models.js +7 -7
- package/dist/model-resolver.js +85 -85
- package/dist/model.js +8 -8
- package/dist/models-dev.js +86 -86
- package/dist/oauth/page.js +1 -1
- package/dist/permission/saved.js +74 -74
- package/dist/permission/sql.js +5 -5
- package/dist/permission.js +99 -99
- package/dist/persistent-pty/binary.bun.js +1 -1
- package/dist/persistent-pty/daemon.js +1 -1
- package/dist/persistent-pty/index.js +84 -84
- package/dist/persistent-pty/pty-binding.js +1 -1
- package/dist/persistent-pty.js +73 -73
- package/dist/plugin/agent.js +98 -98
- package/dist/plugin/command.js +95 -95
- package/dist/plugin/hooks.js +5 -5
- package/dist/plugin/host.js +211 -211
- package/dist/plugin/instance.js +5 -5
- package/dist/plugin/internal.js +320 -320
- package/dist/plugin/mcp-codemode-exclusion.js +3 -3
- package/dist/plugin/models-dev.js +75 -75
- package/dist/plugin/module.js +5 -5
- package/dist/plugin/optimize.js +4 -4
- package/dist/plugin/plan.js +96 -96
- package/dist/plugin/promise.js +1 -1
- package/dist/plugin/provider/alibaba.js +2 -2
- package/dist/plugin/provider/amazon-bedrock.js +2 -2
- package/dist/plugin/provider/anthropic.js +2 -2
- package/dist/plugin/provider/azure.js +117 -117
- package/dist/plugin/provider/cerebras.js +2 -2
- package/dist/plugin/provider/cloudflare-ai-gateway.js +116 -116
- package/dist/plugin/provider/cloudflare-workers-ai.js +116 -116
- package/dist/plugin/provider/cohere.js +2 -2
- package/dist/plugin/provider/configured.js +113 -113
- package/dist/plugin/provider/dynamic.js +2 -2
- package/dist/plugin/provider/factory.js +1 -1
- package/dist/plugin/provider/gateway.js +2 -2
- package/dist/plugin/provider/github-copilot.js +79 -79
- package/dist/plugin/provider/gitlab.js +3 -3
- package/dist/plugin/provider/google-vertex.js +2 -2
- package/dist/plugin/provider/kilo.js +2 -2
- package/dist/plugin/provider/llmgateway.js +75 -75
- package/dist/plugin/provider/lmstudio.js +116 -116
- package/dist/plugin/provider/mistral.js +2 -2
- package/dist/plugin/provider/modal.js +78 -78
- package/dist/plugin/provider/nvidia.js +2 -2
- package/dist/plugin/provider/ollama.js +116 -116
- package/dist/plugin/provider/openai-compatible.js +1 -1
- package/dist/plugin/provider/openai.js +79 -79
- package/dist/plugin/provider/opencode.js +75 -75
- package/dist/plugin/provider/openrouter.js +3 -3
- package/dist/plugin/provider/perplexity.js +2 -2
- package/dist/plugin/provider/sap-ai-core.js +3 -3
- package/dist/plugin/provider/sdk-factory.js +1 -1
- package/dist/plugin/provider/snowflake-cortex.js +2 -2
- package/dist/plugin/provider/venice.js +2 -2
- package/dist/plugin/provider/vercel.js +2 -2
- package/dist/plugin/provider/vllm.js +116 -116
- package/dist/plugin/provider/xai.js +76 -76
- package/dist/plugin/provider/zenmux.js +2 -2
- package/dist/plugin/provider.js +154 -154
- package/dist/plugin/sdk.js +74 -74
- package/dist/plugin/service.js +5 -5
- package/dist/plugin/skill.js +131 -131
- package/dist/plugin/source-directory.js +1 -1
- package/dist/plugin/supervisor.js +337 -337
- package/dist/plugin/update.js +6 -6
- package/dist/plugin/variant.js +4 -4
- package/dist/plugin/vcs/git.js +82 -82
- package/dist/plugin/vcs/hg.js +82 -82
- package/dist/plugin/warming.js +111 -111
- package/dist/plugin/websearch/exa.js +5 -5
- package/dist/plugin/websearch/firecrawl.js +6 -6
- package/dist/plugin/websearch/index.js +8 -8
- package/dist/plugin/websearch/mcp.js +6 -6
- package/dist/plugin/websearch/parallel.js +6 -6
- package/dist/plugin/websearch/tavily.js +4 -4
- package/dist/plugin.js +222 -222
- package/dist/project/schema.js +2 -2
- package/dist/project/sql.js +4 -4
- package/dist/project.js +77 -77
- package/dist/provider.js +5 -5
- package/dist/pty/protocol.js +1 -1
- package/dist/pty/schema.js +3 -3
- package/dist/pty/ticket.js +1 -1
- package/dist/pty.js +94 -94
- package/dist/reference/instructions.js +84 -84
- package/dist/reference.js +84 -84
- package/dist/repository-cache.js +76 -76
- package/dist/repository.js +1 -1
- package/dist/ripgrep/binary.js +2 -2
- package/dist/ripgrep.js +89 -89
- package/dist/rpc.js +81 -81
- package/dist/schema.js +1 -1
- package/dist/session/command.js +72 -72
- package/dist/session/compaction.js +125 -125
- package/dist/session/context.js +145 -145
- 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 +214 -214
- package/dist/session/execution.js +120 -120
- package/dist/session/generate.js +146 -146
- package/dist/session/history.js +12 -12
- package/dist/session/inbox.js +86 -86
- package/dist/session/info.js +3 -3
- package/dist/session/instruction-entry.js +77 -77
- package/dist/session/instruction-state.js +8 -8
- package/dist/session/instructions.js +91 -91
- package/dist/session/message-updater.js +4 -4
- package/dist/session/message.js +1 -1
- package/dist/session/model-request.js +112 -112
- package/dist/session/model-transport.js +9 -9
- package/dist/session/move.js +124 -124
- package/dist/session/projector.js +84 -84
- package/dist/session/prompt.js +99 -99
- package/dist/session/revert.js +85 -85
- package/dist/session/run-coordinator.js +3 -3
- package/dist/session/runner/index.js +3 -3
- package/dist/session/runner/llm.js +223 -223
- package/dist/session/runner/max-steps.js +1 -1
- package/dist/session/runner/model.js +85 -85
- package/dist/session/runner/publish-llm-event.js +3 -3
- package/dist/session/runner/retry.js +4 -4
- package/dist/session/runner/step.js +117 -117
- package/dist/session/runner/to-llm-message.js +1 -1
- package/dist/session/schema.js +3 -3
- package/dist/session/session.js +167 -167
- package/dist/session/shell.js +130 -130
- package/dist/session/skill.js +97 -97
- package/dist/session/sql.js +5 -5
- package/dist/session/stats.js +71 -71
- package/dist/session/store.js +78 -78
- package/dist/session/subagent-completion.js +1 -1
- package/dist/session/subagent-job.js +203 -203
- package/dist/session/system-prompt.js +3 -3
- package/dist/session/title.js +147 -147
- package/dist/session/to-session-error.js +105 -105
- package/dist/session/transfer.js +212 -212
- package/dist/session/usage.js +1 -1
- package/dist/session.js +207 -207
- 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 +9 -9
- package/dist/shell.js +132 -132
- package/dist/skill/discovery.js +6 -6
- package/dist/skill/instructions.js +99 -99
- package/dist/skill.js +100 -100
- package/dist/snapshot.js +84 -84
- 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 +117 -117
- package/dist/tool/plugin/edit.js +114 -114
- package/dist/tool/plugin/file-diff.js +1 -1
- package/dist/tool/plugin/glob.js +119 -119
- package/dist/tool/plugin/grep.js +119 -119
- package/dist/tool/plugin/opencode.js +3 -3
- package/dist/tool/plugin/patch.js +116 -116
- package/dist/tool/plugin/question.js +97 -97
- package/dist/tool/plugin/read.js +120 -120
- package/dist/tool/plugin/shell.js +208 -208
- package/dist/tool/plugin/skill.js +105 -105
- package/dist/tool/plugin/subagent.js +210 -210
- package/dist/tool/plugin/webfetch.js +104 -104
- package/dist/tool/plugin/websearch.js +100 -100
- package/dist/tool/plugin/write.js +114 -114
- package/dist/tool/read-filesystem.js +96 -96
- package/dist/tool/runtime.js +1 -1
- package/dist/tool-output.js +8 -8
- package/dist/tool.js +13 -13
- package/dist/util/error.js +1 -1
- package/dist/util/iife.js +1 -1
- package/dist/util/lazy.js +1 -1
- package/dist/util/slug.js +1 -1
- package/dist/util/token.js +1 -1
- package/dist/util/which.js +1 -1
- package/dist/util/wildcard.js +1 -1
- package/dist/v1/config/agent.js +7 -7
- package/dist/v1/config/attachment.js +4 -4
- package/dist/v1/config/command.js +5 -5
- package/dist/v1/config/config.js +16 -16
- package/dist/v1/config/error.js +2 -2
- package/dist/v1/config/formatter.js +5 -5
- package/dist/v1/config/layout.js +1 -1
- package/dist/v1/config/lsp.js +5 -5
- package/dist/v1/config/mcp.js +4 -4
- package/dist/v1/config/migrate.js +4 -4
- 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 +4 -4
- package/dist/v1/config/server.js +2 -2
- package/dist/v1/config/skills.js +3 -3
- package/dist/v1/permission.js +1 -1
- package/dist/vcs/patch.js +1 -1
- package/dist/vcs.js +85 -85
- package/dist/websearch.js +82 -82
- package/dist/wellknown/plugin.js +74 -74
- package/dist/wellknown.js +77 -77
- package/dist/workspace/driver.js +3 -3
- package/dist/workspace/sql.js +1 -1
- package/dist/workspace.js +78 -78
- package/dist/worktree/directory.js +4 -4
- package/dist/worktree/git.js +7 -7
- package/dist/worktree/refresh.js +338 -338
- package/dist/worktree/sql.js +5 -5
- package/dist/worktree.js +91 -91
- package/package.json +7 -7
- package/dist/chunks/integration-15e969hj.js +0 -22
- package/dist/chunks/integration-4y7bcn0g.js +0 -4
- package/dist/chunks/integration-594z7tyx.js +0 -247
- package/dist/chunks/integration-dxj72tfx.js +0 -18
- package/dist/chunks/integration-n9mr47st.js +0 -20
- package/dist/chunks/integration-pt2y317t.js +0 -460
- /package/dist/chunks/{integration-0fabt78z.js → job-0fabt78z.js} +0 -0
- /package/dist/chunks/{integration-0qkdqm5v.js → job-0qkdqm5v.js} +0 -0
- /package/dist/chunks/{integration-0zkw76rk.js → job-0zkw76rk.js} +0 -0
- /package/dist/chunks/{integration-17cy0kzp.js → job-17cy0kzp.js} +0 -0
- /package/dist/chunks/{integration-1cnp2v09.js → job-1cnp2v09.js} +0 -0
- /package/dist/chunks/{integration-1kg9ymc8.js → job-1kg9ymc8.js} +0 -0
- /package/dist/chunks/{integration-2710q6r3.js → job-2710q6r3.js} +0 -0
- /package/dist/chunks/{integration-2axfhc9x.js → job-2axfhc9x.js} +0 -0
- /package/dist/chunks/{integration-2c3vjs8z.js → job-2c3vjs8z.js} +0 -0
- /package/dist/chunks/{integration-359p4xyc.js → job-359p4xyc.js} +0 -0
- /package/dist/chunks/{integration-3asan66x.js → job-3asan66x.js} +0 -0
- /package/dist/chunks/{integration-3t738kvx.js → job-3t738kvx.js} +0 -0
- /package/dist/chunks/{integration-3v8g72cx.js → job-3v8g72cx.js} +0 -0
- /package/dist/chunks/{integration-3wcehsnq.js → job-3wcehsnq.js} +0 -0
- /package/dist/chunks/{integration-41nvscxy.js → job-41nvscxy.js} +0 -0
- /package/dist/chunks/{integration-43n2bw4t.js → job-43n2bw4t.js} +0 -0
- /package/dist/chunks/{integration-4knz6hnm.js → job-4knz6hnm.js} +0 -0
- /package/dist/chunks/{integration-4y7fprxs.js → job-4y7fprxs.js} +0 -0
- /package/dist/chunks/{integration-53557ph1.js → job-53557ph1.js} +0 -0
- /package/dist/chunks/{integration-550bvhaj.js → job-550bvhaj.js} +0 -0
- /package/dist/chunks/{integration-6prwharc.js → job-6prwharc.js} +0 -0
- /package/dist/chunks/{integration-7akdwqpd.js → job-7akdwqpd.js} +0 -0
- /package/dist/chunks/{integration-7m9af43g.js → job-7m9af43g.js} +0 -0
- /package/dist/chunks/{integration-822emrt2.js → job-822emrt2.js} +0 -0
- /package/dist/chunks/{integration-88xbtdfr.js → job-88xbtdfr.js} +0 -0
- /package/dist/chunks/{integration-8n3pysct.js → job-8n3pysct.js} +0 -0
- /package/dist/chunks/{integration-982e01ww.js → job-982e01ww.js} +0 -0
- /package/dist/chunks/{integration-9a4afbnw.js → job-9a4afbnw.js} +0 -0
- /package/dist/chunks/{integration-9rqn6x4v.js → job-9rqn6x4v.js} +0 -0
- /package/dist/chunks/{integration-a1tpkmh4.js → job-a1tpkmh4.js} +0 -0
- /package/dist/chunks/{integration-af5trqkr.js → job-af5trqkr.js} +0 -0
- /package/dist/chunks/{integration-afrmfg78.js → job-afrmfg78.js} +0 -0
- /package/dist/chunks/{integration-aqzs7mqg.js → job-aqzs7mqg.js} +0 -0
- /package/dist/chunks/{integration-atq7p7m5.js → job-atq7p7m5.js} +0 -0
- /package/dist/chunks/{integration-bkyjaxrp.js → job-bkyjaxrp.js} +0 -0
- /package/dist/chunks/{integration-bmr6ed5q.js → job-bmr6ed5q.js} +0 -0
- /package/dist/chunks/{integration-cf4snx6d.js → job-cf4snx6d.js} +0 -0
- /package/dist/chunks/{integration-cvy3z8tj.js → job-cvy3z8tj.js} +0 -0
- /package/dist/chunks/{integration-d9fn303g.js → job-d9fn303g.js} +0 -0
- /package/dist/chunks/{integration-d9jj8t3e.js → job-d9jj8t3e.js} +0 -0
- /package/dist/chunks/{integration-dajrwvna.js → job-dajrwvna.js} +0 -0
- /package/dist/chunks/{integration-dap0rakb.js → job-dap0rakb.js} +0 -0
- /package/dist/chunks/{integration-df08tz66.js → job-df08tz66.js} +0 -0
- /package/dist/chunks/{integration-dy18nga0.js → job-dy18nga0.js} +0 -0
- /package/dist/chunks/{integration-e5kj55wp.js → job-e5kj55wp.js} +0 -0
- /package/dist/chunks/{integration-e73j6tqm.js → job-e73j6tqm.js} +0 -0
- /package/dist/chunks/{integration-eh3zwz77.js → job-eh3zwz77.js} +0 -0
- /package/dist/chunks/{integration-emrn6kk6.js → job-emrn6kk6.js} +0 -0
- /package/dist/chunks/{integration-f0mxakyp.js → job-f0mxakyp.js} +0 -0
- /package/dist/chunks/{integration-f6n9ztr4.js → job-f6n9ztr4.js} +0 -0
- /package/dist/chunks/{integration-faypxj3z.js → job-faypxj3z.js} +0 -0
- /package/dist/chunks/{integration-fd410y7t.js → job-fd410y7t.js} +0 -0
- /package/dist/chunks/{integration-fxgpk5d8.js → job-fxgpk5d8.js} +0 -0
- /package/dist/chunks/{integration-g4wezp1m.js → job-g4wezp1m.js} +0 -0
- /package/dist/chunks/{integration-g86h250q.js → job-g86h250q.js} +0 -0
- /package/dist/chunks/{integration-gebd4c9n.js → job-gebd4c9n.js} +0 -0
- /package/dist/chunks/{integration-hk9envan.js → job-hk9envan.js} +0 -0
- /package/dist/chunks/{integration-j2ntwpah.js → job-j2ntwpah.js} +0 -0
- /package/dist/chunks/{integration-j5zkgpj8.js → job-j5zkgpj8.js} +0 -0
- /package/dist/chunks/{integration-j935v87r.js → job-j935v87r.js} +0 -0
- /package/dist/chunks/{integration-jr7sbwjy.js → job-jr7sbwjy.js} +0 -0
- /package/dist/chunks/{integration-jwfs4k6c.js → job-jwfs4k6c.js} +0 -0
- /package/dist/chunks/{integration-jzg6c2d5.js → job-jzg6c2d5.js} +0 -0
- /package/dist/chunks/{integration-mntxs535.js → job-mntxs535.js} +0 -0
- /package/dist/chunks/{integration-mp448xyj.js → job-mp448xyj.js} +0 -0
- /package/dist/chunks/{integration-msx8hqn2.js → job-msx8hqn2.js} +0 -0
- /package/dist/chunks/{integration-n05xt0ee.js → job-n05xt0ee.js} +0 -0
- /package/dist/chunks/{integration-n3j8tn72.js → job-n3j8tn72.js} +0 -0
- /package/dist/chunks/{integration-njntx4h6.js → job-njntx4h6.js} +0 -0
- /package/dist/chunks/{integration-p8qxwesx.js → job-p8qxwesx.js} +0 -0
- /package/dist/chunks/{integration-q3sfg36h.js → job-q3sfg36h.js} +0 -0
- /package/dist/chunks/{integration-q74kybfr.js → job-q74kybfr.js} +0 -0
- /package/dist/chunks/{integration-qaymkmh1.js → job-qaymkmh1.js} +0 -0
- /package/dist/chunks/{integration-qb87gjwd.js → job-qb87gjwd.js} +0 -0
- /package/dist/chunks/{integration-qfa1cgps.js → job-qfa1cgps.js} +0 -0
- /package/dist/chunks/{integration-qrg20bc0.js → job-qrg20bc0.js} +0 -0
- /package/dist/chunks/{integration-rcb2kzg1.js → job-rcb2kzg1.js} +0 -0
- /package/dist/chunks/{integration-sdp7kfr6.js → job-sdp7kfr6.js} +0 -0
- /package/dist/chunks/{integration-se0s1eqw.js → job-se0s1eqw.js} +0 -0
- /package/dist/chunks/{integration-sk3qaz4a.js → job-sk3qaz4a.js} +0 -0
- /package/dist/chunks/{integration-ssg3fenm.js → job-ssg3fenm.js} +0 -0
- /package/dist/chunks/{integration-twg0f83k.js → job-twg0f83k.js} +0 -0
- /package/dist/chunks/{integration-w803qqfp.js → job-w803qqfp.js} +0 -0
- /package/dist/chunks/{integration-wer8tq1h.js → job-wer8tq1h.js} +0 -0
- /package/dist/chunks/{integration-wtztk69x.js → job-wtztk69x.js} +0 -0
- /package/dist/chunks/{integration-x0ckcb58.js → job-x0ckcb58.js} +0 -0
- /package/dist/chunks/{integration-x1b8g1yb.js → job-x1b8g1yb.js} +0 -0
- /package/dist/chunks/{integration-x61499pn.js → job-x61499pn.js} +0 -0
- /package/dist/chunks/{integration-y44na4kk.js → job-y44na4kk.js} +0 -0
- /package/dist/chunks/{integration-y8cydn3q.js → job-y8cydn3q.js} +0 -0
- /package/dist/chunks/{integration-ygaqb7jw.js → job-ygaqb7jw.js} +0 -0
- /package/dist/chunks/{integration-z9919s4g.js → job-z9919s4g.js} +0 -0
- /package/dist/chunks/{integration-zbjnn3ac.js → job-zbjnn3ac.js} +0 -0
|
@@ -1,62 +1,62 @@
|
|
|
1
1
|
import {
|
|
2
2
|
NonNegativeInt2
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./job-p8qxwesx.js";
|
|
4
4
|
import {
|
|
5
5
|
latest2,
|
|
6
|
-
|
|
7
|
-
} from "./
|
|
6
|
+
Service56
|
|
7
|
+
} from "./job-j3s4xfhb.js";
|
|
8
8
|
import {
|
|
9
9
|
typeFollowing2
|
|
10
|
-
} from "./
|
|
10
|
+
} from "./job-2a5m3afh.js";
|
|
11
11
|
import {
|
|
12
|
-
|
|
13
|
-
} from "./
|
|
12
|
+
Service66
|
|
13
|
+
} from "./job-m61kp2d9.js";
|
|
14
14
|
import {
|
|
15
|
-
|
|
16
|
-
} from "./
|
|
15
|
+
Service69
|
|
16
|
+
} from "./job-gw6z9r46.js";
|
|
17
17
|
import {
|
|
18
18
|
resolvePath2,
|
|
19
|
-
|
|
20
|
-
} from "./
|
|
19
|
+
Service75
|
|
20
|
+
} from "./job-1twky2jm.js";
|
|
21
21
|
import {
|
|
22
22
|
Service47
|
|
23
|
-
} from "./
|
|
23
|
+
} from "./job-mqact3bs.js";
|
|
24
24
|
import {
|
|
25
25
|
output2,
|
|
26
26
|
notice2,
|
|
27
27
|
metadata2,
|
|
28
28
|
notification2
|
|
29
|
-
} from "./
|
|
29
|
+
} from "./job-fxbjtjnd.js";
|
|
30
30
|
import {
|
|
31
|
-
|
|
31
|
+
Service72,
|
|
32
32
|
name15
|
|
33
|
-
} from "./
|
|
33
|
+
} from "./job-gpvbfbv1.js";
|
|
34
34
|
import {
|
|
35
|
-
|
|
36
|
-
|
|
37
|
-
} from "./
|
|
35
|
+
NotFoundError6,
|
|
36
|
+
Service54
|
|
37
|
+
} from "./job-f575bfnr.js";
|
|
38
38
|
import {
|
|
39
|
-
|
|
40
|
-
} from "./
|
|
39
|
+
Service20
|
|
40
|
+
} from "./job-1hzxw0tj.js";
|
|
41
41
|
import {
|
|
42
42
|
scan2
|
|
43
|
-
} from "./
|
|
43
|
+
} from "./job-qqvc5avd.js";
|
|
44
44
|
import {
|
|
45
45
|
__export
|
|
46
|
-
} from "./
|
|
46
|
+
} from "./job-9rqn6x4v.js";
|
|
47
47
|
|
|
48
48
|
// src/tool/plugin/shell.ts
|
|
49
49
|
var exports_shell = {};
|
|
50
50
|
__export(exports_shell, {
|
|
51
51
|
DEFAULT_TIMEOUT_MS: () => DEFAULT_TIMEOUT_MS2,
|
|
52
|
-
Input: () =>
|
|
53
|
-
Plugin: () =>
|
|
52
|
+
Input: () => Input12,
|
|
53
|
+
Plugin: () => Plugin13,
|
|
54
54
|
ShellTool: () => exports_shell,
|
|
55
|
-
name: () =>
|
|
55
|
+
name: () => name12
|
|
56
56
|
});
|
|
57
57
|
import { ToolFailure } from "@opencode-ai/ai";
|
|
58
58
|
import { Deferred, Effect, Schema, Scope } from "effect";
|
|
59
|
-
var
|
|
59
|
+
var name12 = "shell";
|
|
60
60
|
var DEFAULT_TIMEOUT_MS2 = 2 * 60 * 1000;
|
|
61
61
|
var BACKGROUND_INSTRUCTION = "You will be notified automatically when the command finishes. The notification will include the command's output. DO NOT run sleep commands or poll the output file to check for completion. You can read from the file when its current output would be useful, such as when inspecting logs from a background server. Otherwise, continue with other work or end your response.";
|
|
62
62
|
var OS = process.platform === "darwin" ? "macOS" : process.platform === "win32" ? "Windows" : process.platform === "linux" ? "Linux" : process.platform;
|
|
@@ -70,7 +70,7 @@ var description = (shell) => [
|
|
|
70
70
|
"Commands accept an optional timeout, background commands have no timeout by default.",
|
|
71
71
|
"Background commands return immediately, and you will be notified when they complete."
|
|
72
72
|
].join(" ");
|
|
73
|
-
var
|
|
73
|
+
var Input12 = Schema.Struct({
|
|
74
74
|
command: Schema.String.annotate({ description: "Shell command string to execute" }),
|
|
75
75
|
workdir: Schema.optionalKey(Schema.String).annotate({
|
|
76
76
|
description: "Working directory to execute the command in. Defaults to the current working directory. When possible, avoid changing directories in the command and set the working directory here instead."
|
|
@@ -115,19 +115,19 @@ Output is streaming to: ${file}`,
|
|
|
115
115
|
truncated: false,
|
|
116
116
|
status: "running"
|
|
117
117
|
});
|
|
118
|
-
var
|
|
118
|
+
var Plugin13 = {
|
|
119
119
|
id: "opencode.tool.shell",
|
|
120
120
|
effect: Effect.fn("ShellTool.Plugin")(function* (ctx) {
|
|
121
|
-
const sessions = yield*
|
|
122
|
-
const jobs = yield*
|
|
121
|
+
const sessions = yield* Service20;
|
|
122
|
+
const jobs = yield* Service69;
|
|
123
123
|
const scope = yield* Scope.Scope;
|
|
124
|
-
const environment = yield*
|
|
125
|
-
const mutation = yield*
|
|
126
|
-
const shell = yield*
|
|
127
|
-
const shellSelect = yield*
|
|
124
|
+
const environment = yield* Service66;
|
|
125
|
+
const mutation = yield* Service75;
|
|
126
|
+
const shell = yield* Service54;
|
|
127
|
+
const shellSelect = yield* Service72;
|
|
128
128
|
const compatibleShell = shellSelect.resolve({ priority: "compat" });
|
|
129
129
|
const permission = yield* Service47;
|
|
130
|
-
const config = yield*
|
|
130
|
+
const config = yield* Service56;
|
|
131
131
|
const prepare = Effect.fn("ShellTool.prepare")(function* (invocation, context) {
|
|
132
132
|
const source = {
|
|
133
133
|
type: "tool",
|
|
@@ -155,7 +155,7 @@ var Plugin21 = {
|
|
|
155
155
|
});
|
|
156
156
|
if (parsed.commands.length > 0)
|
|
157
157
|
yield* permission.assert({
|
|
158
|
-
action:
|
|
158
|
+
action: name12,
|
|
159
159
|
resources: parsed.commands.map((command) => command.resource),
|
|
160
160
|
save: parsed.commands.map((command) => command.save),
|
|
161
161
|
sessionID: context.sessionID,
|
|
@@ -192,10 +192,10 @@ var Plugin21 = {
|
|
|
192
192
|
yield* jobs.completeBackground(info.notificationID);
|
|
193
193
|
}, Effect.forkIn(scope, { startImmediately: true }));
|
|
194
194
|
yield* ctx.tool.transform((editor) => editor.add({
|
|
195
|
-
name:
|
|
195
|
+
name: name12,
|
|
196
196
|
options: { codemode: false },
|
|
197
197
|
description: description(),
|
|
198
|
-
input:
|
|
198
|
+
input: Input12,
|
|
199
199
|
output: Output,
|
|
200
200
|
execute: (input, context) => Effect.gen(function* () {
|
|
201
201
|
const timeout = input.background === true ? input.timeout ?? 0 : input.timeout ?? DEFAULT_TIMEOUT_MS2;
|
|
@@ -214,7 +214,7 @@ var Plugin21 = {
|
|
|
214
214
|
const run = Effect.gen(function* () {
|
|
215
215
|
const result = yield* shell.result(info);
|
|
216
216
|
if (!result.capture)
|
|
217
|
-
return yield* new
|
|
217
|
+
return yield* new NotFoundError6({ id: info.id });
|
|
218
218
|
const output = output2(result);
|
|
219
219
|
return {
|
|
220
220
|
...output,
|
|
@@ -228,7 +228,7 @@ Command exceeded timeout of ${finalTimeout} ms. Retry with a larger timeout if t
|
|
|
228
228
|
`)), Effect.onInterrupt(() => shell.remove(info.id).pipe(Effect.ignore)));
|
|
229
229
|
const job = yield* jobs.start({
|
|
230
230
|
id: info.id,
|
|
231
|
-
type:
|
|
231
|
+
type: name12,
|
|
232
232
|
title: info.command,
|
|
233
233
|
metadata: { sessionID: context.sessionID, shellID: info.id },
|
|
234
234
|
recovery: {
|
|
@@ -258,7 +258,7 @@ Command exceeded timeout of ${finalTimeout} ms. Retry with a larger timeout if t
|
|
|
258
258
|
}).pipe(Effect.map(toolResult), Effect.mapError((error) => new ToolFailure({ message: `Unable to execute command: ${input.command}`, error })))
|
|
259
259
|
})).pipe(Effect.orDie);
|
|
260
260
|
yield* ctx.session.hook("context", (event) => Effect.gen(function* () {
|
|
261
|
-
const tool = event.tools[
|
|
261
|
+
const tool = event.tools[name12];
|
|
262
262
|
if (!tool)
|
|
263
263
|
return;
|
|
264
264
|
tool.description = description(name15(yield* compatibleShell));
|
|
@@ -266,4 +266,4 @@ Command exceeded timeout of ${finalTimeout} ms. Retry with a larger timeout if t
|
|
|
266
266
|
})
|
|
267
267
|
};
|
|
268
268
|
|
|
269
|
-
export {
|
|
269
|
+
export { name12, DEFAULT_TIMEOUT_MS2, Input12, Plugin13, exports_shell };
|
|
@@ -1,18 +1,18 @@
|
|
|
1
1
|
import {
|
|
2
2
|
__export
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./job-9rqn6x4v.js";
|
|
4
4
|
|
|
5
5
|
// src/session/runner/index.ts
|
|
6
6
|
var exports_runner = {};
|
|
7
7
|
__export(exports_runner, {
|
|
8
8
|
DrainResult: () => DrainResult2,
|
|
9
|
-
Service: () =>
|
|
9
|
+
Service: () => Service30,
|
|
10
10
|
SessionRunner: () => exports_runner
|
|
11
11
|
});
|
|
12
12
|
import { Context, Data } from "effect";
|
|
13
13
|
var DrainResult2 = Data.taggedEnum();
|
|
14
14
|
|
|
15
|
-
class
|
|
15
|
+
class Service30 extends Context.Service()("@opencode/SessionRunner") {
|
|
16
16
|
}
|
|
17
17
|
|
|
18
|
-
export { DrainResult2,
|
|
18
|
+
export { DrainResult2, Service30, exports_runner };
|
|
@@ -1,10 +1,10 @@
|
|
|
1
1
|
import {
|
|
2
2
|
isAISDK2,
|
|
3
3
|
packageName2
|
|
4
|
-
} from "./
|
|
4
|
+
} from "./job-6qb1jm5z.js";
|
|
5
5
|
import {
|
|
6
|
-
|
|
7
|
-
} from "./
|
|
6
|
+
ID13
|
|
7
|
+
} from "./job-4dxz6g2t.js";
|
|
8
8
|
|
|
9
9
|
// src/plugin/provider/openrouter.ts
|
|
10
10
|
import { Effect } from "effect";
|
|
@@ -21,7 +21,7 @@ var OpenRouterPlugin2 = define({
|
|
|
21
21
|
evt.provider.update(item.provider.id, (provider) => {
|
|
22
22
|
provider.headers = { ...provider.headers, "HTTP-Referer": "https://opencode.ai/", "X-Title": "opencode" };
|
|
23
23
|
});
|
|
24
|
-
for (const modelID of [
|
|
24
|
+
for (const modelID of [ID13.make("gpt-5-chat-latest"), ID13.make("openai/gpt-5-chat")]) {
|
|
25
25
|
if (!item.models.has(modelID))
|
|
26
26
|
continue;
|
|
27
27
|
evt.model.update(item.provider.id, modelID, (model) => {
|
|
@@ -1,44 +1,44 @@
|
|
|
1
1
|
import {
|
|
2
2
|
Service47
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./job-mqact3bs.js";
|
|
4
4
|
import {
|
|
5
5
|
MAX_MARKDOWN_BYTES2,
|
|
6
6
|
convertHTMLToMarkdown2
|
|
7
|
-
} from "./
|
|
7
|
+
} from "./job-a1tpkmh4.js";
|
|
8
8
|
import {
|
|
9
9
|
collectBoundedResponseBody2
|
|
10
|
-
} from "./
|
|
10
|
+
} from "./job-3v8g72cx.js";
|
|
11
11
|
import {
|
|
12
12
|
__export
|
|
13
|
-
} from "./
|
|
13
|
+
} from "./job-9rqn6x4v.js";
|
|
14
14
|
|
|
15
15
|
// src/tool/plugin/webfetch.ts
|
|
16
16
|
var exports_webfetch = {};
|
|
17
17
|
__export(exports_webfetch, {
|
|
18
18
|
DEFAULT_TIMEOUT_SECONDS: () => DEFAULT_TIMEOUT_SECONDS2,
|
|
19
|
-
Input: () =>
|
|
20
|
-
MAX_RESPONSE_BYTES: () =>
|
|
19
|
+
Input: () => Input10,
|
|
20
|
+
MAX_RESPONSE_BYTES: () => MAX_RESPONSE_BYTES2,
|
|
21
21
|
MAX_TIMEOUT_SECONDS: () => MAX_TIMEOUT_SECONDS2,
|
|
22
|
-
Plugin: () =>
|
|
22
|
+
Plugin: () => Plugin11,
|
|
23
23
|
WebFetchTool: () => exports_webfetch,
|
|
24
24
|
convertHTMLToMarkdown: () => convertHTMLToMarkdown2,
|
|
25
25
|
description: () => description5,
|
|
26
26
|
extractTextFromHTML: () => extractTextFromHTML2,
|
|
27
|
-
name: () =>
|
|
27
|
+
name: () => name10
|
|
28
28
|
});
|
|
29
29
|
import { ToolFailure } from "@opencode-ai/ai";
|
|
30
30
|
import { Duration, Effect, Schema } from "effect";
|
|
31
31
|
import { HttpClient, HttpClientRequest, HttpClientResponse } from "effect/unstable/http";
|
|
32
32
|
import { Parser } from "htmlparser2";
|
|
33
|
-
var
|
|
34
|
-
var
|
|
33
|
+
var name10 = "webfetch";
|
|
34
|
+
var MAX_RESPONSE_BYTES2 = MAX_MARKDOWN_BYTES2;
|
|
35
35
|
var DEFAULT_TIMEOUT_SECONDS2 = 30;
|
|
36
36
|
var MAX_TIMEOUT_SECONDS2 = 120;
|
|
37
37
|
var description5 = `Fetch content from an HTTP or HTTPS URL and return it as text, markdown, or HTML. Markdown is the default.
|
|
38
38
|
|
|
39
39
|
Use a more targeted tool when one is available. This tool is read-only. Large text results may be replaced with a preview while the complete output is retained in managed storage.`;
|
|
40
40
|
var Timeout = Schema.Finite.check(Schema.isGreaterThan(0), Schema.isLessThanOrEqualTo(MAX_TIMEOUT_SECONDS2));
|
|
41
|
-
var
|
|
41
|
+
var Input10 = Schema.Struct({
|
|
42
42
|
url: Schema.String.annotate({ description: "The HTTP or HTTPS URL to fetch content from" }),
|
|
43
43
|
format: Schema.Literals(["text", "markdown", "html"]).annotate({ description: "The format to return the content in. Defaults to markdown." }).pipe(Schema.withDecodingDefaultKey(Effect.succeed("markdown"))),
|
|
44
44
|
timeout: Schema.optionalKey(Timeout).annotate({
|
|
@@ -48,7 +48,7 @@ var Input12 = Schema.Struct({
|
|
|
48
48
|
var Output = Schema.Struct({
|
|
49
49
|
url: Schema.String,
|
|
50
50
|
contentType: Schema.String,
|
|
51
|
-
format:
|
|
51
|
+
format: Input10.fields.format,
|
|
52
52
|
output: Schema.String
|
|
53
53
|
});
|
|
54
54
|
var acceptHeader = (format) => {
|
|
@@ -79,7 +79,7 @@ var assertHttpUrl = (url) => {
|
|
|
79
79
|
throw new Error("URL must use http:// or https://");
|
|
80
80
|
};
|
|
81
81
|
var execute = (http, url, format, userAgent = openCodeUserAgent) => http.execute(request(url, format, userAgent)).pipe(Effect.flatMap(HttpClientResponse.filterStatusOk));
|
|
82
|
-
var collectBody = (response) => collectBoundedResponseBody2(response,
|
|
82
|
+
var collectBody = (response) => collectBoundedResponseBody2(response, MAX_RESPONSE_BYTES2, () => new Error(`Response too large (exceeds ${MAX_RESPONSE_BYTES2} byte limit)`));
|
|
83
83
|
var mimeFrom = (contentType) => contentType.split(";", 1)[0]?.trim().toLowerCase() ?? "";
|
|
84
84
|
var isImageAttachment = (mime) => mime.startsWith("image/") && mime !== "image/svg+xml" && mime !== "image/vnd.fastbidsheet";
|
|
85
85
|
var isTextualMime = (mime) => !mime || mime.startsWith("text/") || mime === "application/json" || mime.endsWith("+json") || mime === "application/xml" || mime.endsWith("+xml") || mime === "application/javascript" || mime === "application/x-javascript";
|
|
@@ -92,16 +92,16 @@ var convert = (content, contentType, format) => {
|
|
|
92
92
|
return extractTextFromHTML2(content);
|
|
93
93
|
return content;
|
|
94
94
|
};
|
|
95
|
-
var
|
|
95
|
+
var Plugin11 = {
|
|
96
96
|
id: "opencode.tool.webfetch",
|
|
97
97
|
effect: Effect.fn("WebFetchTool.Plugin")(function* (ctx) {
|
|
98
98
|
const http = yield* HttpClient.HttpClient;
|
|
99
99
|
const permission = yield* Service47;
|
|
100
100
|
yield* ctx.tool.transform((editor) => editor.add({
|
|
101
|
-
name:
|
|
101
|
+
name: name10,
|
|
102
102
|
options: { codemode: false },
|
|
103
103
|
description: description5,
|
|
104
|
-
input:
|
|
104
|
+
input: Input10,
|
|
105
105
|
output: Output,
|
|
106
106
|
execute: (input, context) => Effect.gen(function* () {
|
|
107
107
|
yield* Effect.try({
|
|
@@ -109,7 +109,7 @@ var Plugin26 = {
|
|
|
109
109
|
catch: (error) => error
|
|
110
110
|
});
|
|
111
111
|
yield* permission.assert({
|
|
112
|
-
action:
|
|
112
|
+
action: name10,
|
|
113
113
|
resources: [input.url],
|
|
114
114
|
save: ["*"],
|
|
115
115
|
metadata: input,
|
|
@@ -167,4 +167,4 @@ function extractTextFromHTML2(html) {
|
|
|
167
167
|
parser.end();
|
|
168
168
|
return text.trim();
|
|
169
169
|
}
|
|
170
|
-
export {
|
|
170
|
+
export { name10, MAX_RESPONSE_BYTES2, DEFAULT_TIMEOUT_SECONDS2, MAX_TIMEOUT_SECONDS2, description5, Input10, Plugin11, extractTextFromHTML2, exports_webfetch };
|
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
import {
|
|
2
2
|
Timestamps2
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./job-qfa1cgps.js";
|
|
4
4
|
import {
|
|
5
5
|
ProjectTable2
|
|
6
|
-
} from "./
|
|
6
|
+
} from "./job-9qm9egsn.js";
|
|
7
7
|
|
|
8
8
|
// src/permission/sql.ts
|
|
9
9
|
import { sqliteTable, text, uniqueIndex } from "drizzle-orm/sqlite-core";
|
|
@@ -1,14 +1,14 @@
|
|
|
1
1
|
import {
|
|
2
2
|
useragent2
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./job-fjtpgy32.js";
|
|
4
4
|
import {
|
|
5
5
|
__export
|
|
6
|
-
} from "./
|
|
6
|
+
} from "./job-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: () => Plugin37,
|
|
12
12
|
WebSearchTavily: () => exports_tavily,
|
|
13
13
|
endpoint: () => endpoint5
|
|
14
14
|
});
|
|
@@ -29,7 +29,7 @@ var SearchResponse = Schema.Struct({
|
|
|
29
29
|
content: Schema.String
|
|
30
30
|
}))
|
|
31
31
|
});
|
|
32
|
-
var
|
|
32
|
+
var Plugin37 = define({
|
|
33
33
|
id: "opencode.websearch.tavily",
|
|
34
34
|
effect: Effect.fn("WebSearchTavily.Plugin")(function* (ctx) {
|
|
35
35
|
const http = yield* HttpClient.HttpClient;
|
|
@@ -77,4 +77,4 @@ var Plugin5 = define({
|
|
|
77
77
|
})
|
|
78
78
|
});
|
|
79
79
|
|
|
80
|
-
export { endpoint5,
|
|
80
|
+
export { endpoint5, Plugin37, exports_tavily };
|
|
@@ -1,21 +1,21 @@
|
|
|
1
1
|
import {
|
|
2
2
|
__export
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./job-9rqn6x4v.js";
|
|
4
4
|
|
|
5
5
|
// src/v1/config/formatter.ts
|
|
6
6
|
var exports_formatter3 = {};
|
|
7
7
|
__export(exports_formatter3, {
|
|
8
8
|
ConfigFormatterV1: () => exports_formatter3,
|
|
9
|
-
Entry: () =>
|
|
10
|
-
Info: () =>
|
|
9
|
+
Entry: () => Entry4,
|
|
10
|
+
Info: () => Info18
|
|
11
11
|
});
|
|
12
12
|
import { Schema } from "effect";
|
|
13
|
-
var
|
|
13
|
+
var Entry4 = Schema.Struct({
|
|
14
14
|
disabled: Schema.optional(Schema.Boolean),
|
|
15
15
|
command: Schema.optional(Schema.mutable(Schema.Array(Schema.String))),
|
|
16
16
|
environment: Schema.optional(Schema.Record(Schema.String, Schema.String)),
|
|
17
17
|
extensions: Schema.optional(Schema.mutable(Schema.Array(Schema.String)))
|
|
18
18
|
});
|
|
19
|
-
var
|
|
19
|
+
var Info18 = Schema.Union([Schema.Boolean, Schema.Record(Schema.String, Entry4)]);
|
|
20
20
|
|
|
21
|
-
export {
|
|
21
|
+
export { Entry4, Info18, exports_formatter3 };
|
|
@@ -1,25 +1,25 @@
|
|
|
1
1
|
import {
|
|
2
2
|
Service80,
|
|
3
|
-
|
|
4
|
-
} from "./
|
|
3
|
+
node85
|
|
4
|
+
} from "./job-z235z5bk.js";
|
|
5
5
|
import {
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
} from "./
|
|
6
|
+
Service79,
|
|
7
|
+
node84
|
|
8
|
+
} from "./job-f7fp4m8t.js";
|
|
9
9
|
import {
|
|
10
10
|
CredentialTable2
|
|
11
|
-
} from "./
|
|
11
|
+
} from "./job-pknna89w.js";
|
|
12
12
|
import {
|
|
13
13
|
__export
|
|
14
|
-
} from "./
|
|
14
|
+
} from "./job-9rqn6x4v.js";
|
|
15
15
|
|
|
16
16
|
// src/credential.ts
|
|
17
17
|
var exports_credential = {};
|
|
18
18
|
__export(exports_credential, {
|
|
19
19
|
Credential: () => exports_credential,
|
|
20
|
-
Event: () =>
|
|
20
|
+
Event: () => Event18,
|
|
21
21
|
ID: () => ID12,
|
|
22
|
-
Info: () =>
|
|
22
|
+
Info: () => Info24,
|
|
23
23
|
Key: () => Key4,
|
|
24
24
|
OAuth: () => OAuth3,
|
|
25
25
|
Service: () => Service65,
|
|
@@ -35,9 +35,9 @@ var ID12 = Credential.ID;
|
|
|
35
35
|
var OAuth3 = Credential.OAuth;
|
|
36
36
|
var Key4 = Credential.Key;
|
|
37
37
|
var Value2 = Credential.Value;
|
|
38
|
-
var
|
|
38
|
+
var Event18 = Credential.Event;
|
|
39
39
|
|
|
40
|
-
class
|
|
40
|
+
class Info24 extends Schema.Class("Credential.Info")({
|
|
41
41
|
id: ID12,
|
|
42
42
|
integrationID: Integration.ID,
|
|
43
43
|
label: Schema.String,
|
|
@@ -49,12 +49,12 @@ class Service65 extends Context.Service()("@opencode/Credential") {
|
|
|
49
49
|
}
|
|
50
50
|
var layer = Layer.effect(Service65, Effect.gen(function* () {
|
|
51
51
|
const db = (yield* Service80).db;
|
|
52
|
-
const bus = yield*
|
|
52
|
+
const bus = yield* Service79;
|
|
53
53
|
const decode = Schema.decodeUnknownSync(Value2);
|
|
54
54
|
const stored = (row) => {
|
|
55
55
|
if (!row.integration_id)
|
|
56
56
|
return;
|
|
57
|
-
return new
|
|
57
|
+
return new Info24({
|
|
58
58
|
id: row.id,
|
|
59
59
|
integrationID: row.integration_id,
|
|
60
60
|
label: row.label,
|
|
@@ -73,7 +73,7 @@ var layer = Layer.effect(Service65, Effect.gen(function* () {
|
|
|
73
73
|
return row ? stored(row) : undefined;
|
|
74
74
|
}),
|
|
75
75
|
create: Effect.fn("Credential.create")(function* (input) {
|
|
76
|
-
const credential = new
|
|
76
|
+
const credential = new Info24({
|
|
77
77
|
id: ID12.create(),
|
|
78
78
|
integrationID: input.integrationID,
|
|
79
79
|
label: input.label ?? "default",
|
|
@@ -89,8 +89,8 @@ var layer = Layer.effect(Service65, Effect.gen(function* () {
|
|
|
89
89
|
active: true
|
|
90
90
|
}).run();
|
|
91
91
|
})).pipe(Effect.orDie);
|
|
92
|
-
yield* bus.publish(
|
|
93
|
-
yield* bus.publish(
|
|
92
|
+
yield* bus.publish(Event18.Updated, {}, { global: true });
|
|
93
|
+
yield* bus.publish(Event18.Switched, { integrationID: credential.integrationID, credentialID: credential.id }, { global: true });
|
|
94
94
|
return credential;
|
|
95
95
|
}),
|
|
96
96
|
activate: Effect.fn("Credential.activate")(function* (id) {
|
|
@@ -106,7 +106,7 @@ var layer = Layer.effect(Service65, Effect.gen(function* () {
|
|
|
106
106
|
return credential.integration_id;
|
|
107
107
|
})).pipe(Effect.orDie);
|
|
108
108
|
if (integrationID)
|
|
109
|
-
yield* bus.publish(
|
|
109
|
+
yield* bus.publish(Event18.Switched, { integrationID, credentialID: id }, { global: true });
|
|
110
110
|
}),
|
|
111
111
|
update: Effect.fn("Credential.update")(function* (id, updates) {
|
|
112
112
|
if (updates.label === undefined && updates.value === undefined)
|
|
@@ -118,7 +118,7 @@ var layer = Layer.effect(Service65, Effect.gen(function* () {
|
|
|
118
118
|
return;
|
|
119
119
|
yield* db.update(CredentialTable2).set({ label: updates.label, value: updates.value }).where(eq(CredentialTable2.id, id)).run().pipe(Effect.orDie);
|
|
120
120
|
if (updates.label !== undefined && updates.label !== credential.label)
|
|
121
|
-
yield* bus.publish(
|
|
121
|
+
yield* bus.publish(Event18.Updated, {}, { global: true });
|
|
122
122
|
}),
|
|
123
123
|
remove: Effect.fn("Credential.remove")(function* (id) {
|
|
124
124
|
const removed = yield* db.transaction((tx) => Effect.gen(function* () {
|
|
@@ -142,12 +142,12 @@ var layer = Layer.effect(Service65, Effect.gen(function* () {
|
|
|
142
142
|
})).pipe(Effect.orDie);
|
|
143
143
|
if (!removed)
|
|
144
144
|
return;
|
|
145
|
-
yield* bus.publish(
|
|
145
|
+
yield* bus.publish(Event18.Updated, {}, { global: true });
|
|
146
146
|
if (removed.switched)
|
|
147
|
-
yield* bus.publish(
|
|
147
|
+
yield* bus.publish(Event18.Switched, { integrationID: removed.integrationID, credentialID: removed.credentialID }, { global: true });
|
|
148
148
|
})
|
|
149
149
|
});
|
|
150
150
|
}));
|
|
151
|
-
var node68 = makeGlobalNode({ service: Service65, layer, deps: [
|
|
151
|
+
var node68 = makeGlobalNode({ service: Service65, layer, deps: [node85, node84] });
|
|
152
152
|
|
|
153
|
-
export { ID12, OAuth3, Key4, Value2,
|
|
153
|
+
export { ID12, OAuth3, Key4, Value2, Event18, Info24, Service65, node68, exports_credential };
|
|
@@ -1,35 +1,35 @@
|
|
|
1
1
|
import {
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
} from "./
|
|
2
|
+
ID9,
|
|
3
|
+
Service50
|
|
4
|
+
} from "./job-8pm7xw7g.js";
|
|
5
5
|
import {
|
|
6
6
|
Service76
|
|
7
|
-
} from "./
|
|
7
|
+
} from "./job-ca8ntzdc.js";
|
|
8
8
|
import {
|
|
9
|
-
|
|
10
|
-
} from "./
|
|
9
|
+
Service56
|
|
10
|
+
} from "./job-j3s4xfhb.js";
|
|
11
11
|
import {
|
|
12
|
-
|
|
12
|
+
Service72,
|
|
13
13
|
args2
|
|
14
|
-
} from "./
|
|
14
|
+
} from "./job-gpvbfbv1.js";
|
|
15
15
|
import {
|
|
16
|
-
|
|
17
|
-
} from "./
|
|
16
|
+
Service20
|
|
17
|
+
} from "./job-1hzxw0tj.js";
|
|
18
18
|
import {
|
|
19
|
-
|
|
20
|
-
} from "./
|
|
19
|
+
make6
|
|
20
|
+
} from "./job-jx5vaz62.js";
|
|
21
21
|
import {
|
|
22
22
|
parseOption2
|
|
23
|
-
} from "./
|
|
23
|
+
} from "./job-5daktx2q.js";
|
|
24
24
|
import {
|
|
25
25
|
__export
|
|
26
|
-
} from "./
|
|
26
|
+
} from "./job-9rqn6x4v.js";
|
|
27
27
|
|
|
28
28
|
// src/config/plugin/command.ts
|
|
29
|
-
var
|
|
30
|
-
__export(
|
|
31
|
-
ConfigCommandPlugin: () =>
|
|
32
|
-
Plugin: () =>
|
|
29
|
+
var exports_command = {};
|
|
30
|
+
__export(exports_command, {
|
|
31
|
+
ConfigCommandPlugin: () => exports_command,
|
|
32
|
+
Plugin: () => Plugin26
|
|
33
33
|
});
|
|
34
34
|
import { define } from "@opencode-ai/plugin/effect/plugin";
|
|
35
35
|
import { ConfigCommand } from "@opencode-ai/schema/config/command";
|
|
@@ -41,10 +41,10 @@ import { Effect, Option, PubSub, Schema, Stream } from "effect";
|
|
|
41
41
|
import { ChildProcess } from "effect/unstable/process";
|
|
42
42
|
import { FSUtil } from "@opencode-ai/util/fs-util";
|
|
43
43
|
var decodeCommand = Schema.decodeUnknownOption(ConfigCommand.Info);
|
|
44
|
-
var
|
|
44
|
+
var Plugin26 = define({
|
|
45
45
|
id: "opencode.config.command",
|
|
46
46
|
effect: Effect.fn(function* (ctx) {
|
|
47
|
-
const config = yield*
|
|
47
|
+
const config = yield* Service56;
|
|
48
48
|
const fs = yield* FSUtil.Service;
|
|
49
49
|
const loadEntry = Effect.fnUntraced(function* (entry) {
|
|
50
50
|
if (entry.type === "document")
|
|
@@ -56,10 +56,10 @@ var Plugin32 = define({
|
|
|
56
56
|
});
|
|
57
57
|
const location = yield* Service76;
|
|
58
58
|
const processes = yield* AppProcess.Service;
|
|
59
|
-
const shell = yield*
|
|
60
|
-
const sessions = yield*
|
|
61
|
-
const agents = yield*
|
|
62
|
-
const subagents = yield*
|
|
59
|
+
const shell = yield* Service72;
|
|
60
|
+
const sessions = yield* Service20;
|
|
61
|
+
const agents = yield* Service50;
|
|
62
|
+
const subagents = yield* make6;
|
|
63
63
|
const load = Effect.fn("ConfigCommandPlugin.load")(function* () {
|
|
64
64
|
return yield* Effect.forEach(yield* config.entries(), loadEntry).pipe(Effect.map((documents) => documents.flat()));
|
|
65
65
|
});
|
|
@@ -80,7 +80,7 @@ var Plugin32 = define({
|
|
|
80
80
|
name,
|
|
81
81
|
description: command.description,
|
|
82
82
|
execute: (input) => Effect.gen(function* () {
|
|
83
|
-
const agent = command.agent === undefined ? undefined :
|
|
83
|
+
const agent = command.agent === undefined ? undefined : ID9.make(command.agent);
|
|
84
84
|
const commandAgent = agent === undefined ? undefined : (yield* ctx.agent.get({ agentID: agent })).data;
|
|
85
85
|
const model = command.model === undefined ? commandAgent?.model : {
|
|
86
86
|
id: Model.ID.make(command.model.model),
|
|
@@ -204,4 +204,4 @@ var placeholderRegex = /\$(\d+)/g;
|
|
|
204
204
|
var quoteTrimRegex = /^["']|["']$/g;
|
|
205
205
|
var shellRegex = /!`([^`]+)`/g;
|
|
206
206
|
|
|
207
|
-
export {
|
|
207
|
+
export { Plugin26, exports_command };
|