@opencode-ai/core 0.0.0-beta-19228 → 0.0.0-beta-19234
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 +83 -83
- package/dist/chunks/{integration-13gt56f3.js → worktree-040j8z8f.js} +6 -6
- package/dist/chunks/{integration-zkn0w8ks.js → worktree-066kw2xy.js} +3 -3
- package/dist/chunks/{integration-baaqp4zd.js → worktree-06x8he3q.js} +4 -4
- package/dist/chunks/{integration-0e0xafbb.js → worktree-0e0xafbb.js} +2 -2
- package/dist/chunks/{integration-es2wkwv6.js → worktree-0n1w7scn.js} +5 -5
- package/dist/chunks/{integration-0paq2nw3.js → worktree-0paq2nw3.js} +1 -1
- package/dist/chunks/{integration-0q0f95c6.js → worktree-0q0f95c6.js} +1 -1
- package/dist/chunks/{integration-z4btfpw8.js → worktree-0rkdmzyv.js} +9 -9
- package/dist/chunks/{integration-0s9ayhjt.js → worktree-0s9ayhjt.js} +1 -1
- package/dist/chunks/{integration-wr27bwq7.js → worktree-1459npmt.js} +29 -29
- package/dist/chunks/{integration-1ct4r87x.js → worktree-1ct4r87x.js} +1 -1
- package/dist/chunks/{integration-cqvb8n3q.js → worktree-1gvs4d4m.js} +20 -20
- package/dist/chunks/{integration-1n116cmy.js → worktree-1n116cmy.js} +2 -2
- package/dist/chunks/{integration-ga2g4a2e.js → worktree-1pdtxp2d.js} +1 -1
- package/dist/chunks/{integration-gks1q0wj.js → worktree-1wfjb4fb.js} +1 -1
- package/dist/chunks/{integration-k2gqysrh.js → worktree-1ytn6e3p.js} +11 -11
- package/dist/chunks/{integration-21r38tys.js → worktree-21r38tys.js} +1 -1
- package/dist/chunks/{integration-6h73sxmp.js → worktree-2402vzrj.js} +5 -5
- package/dist/chunks/{integration-mtcjf44p.js → worktree-28pcbh69.js} +4 -4
- package/dist/chunks/{integration-z63w68vq.js → worktree-29x78va6.js} +6 -6
- package/dist/chunks/{integration-2a5m3afh.js → worktree-2a5m3afh.js} +1 -1
- package/dist/chunks/{integration-2ht70gj7.js → worktree-2ht70gj7.js} +1 -1
- package/dist/chunks/{integration-jgx0heh4.js → worktree-2hth30a0.js} +8 -8
- package/dist/chunks/{integration-2k8khapm.js → worktree-2k8khapm.js} +1 -1
- package/dist/chunks/{integration-0zbay0d2.js → worktree-2sz5zasg.js} +17 -17
- package/dist/chunks/{integration-a1w1fpj3.js → worktree-2yb0w078.js} +3 -3
- package/dist/chunks/{integration-9r8ws15v.js → worktree-30e1hbbk.js} +28 -28
- package/dist/chunks/{integration-zw0t7b2b.js → worktree-35bk7ths.js} +81 -81
- package/dist/chunks/{integration-nkd0m12v.js → worktree-3883t5g1.js} +5 -5
- package/dist/chunks/{integration-knh3mbp0.js → worktree-3cj33xev.js} +21 -21
- package/dist/chunks/{integration-3g2y1byn.js → worktree-3g2y1byn.js} +2 -2
- package/dist/chunks/{integration-3hepkmqq.js → worktree-3hepkmqq.js} +1 -1
- package/dist/chunks/{integration-3qzbfqsy.js → worktree-3qzbfqsy.js} +2 -2
- package/dist/chunks/{integration-3smtnn6g.js → worktree-3smtnn6g.js} +1 -1
- package/dist/chunks/{integration-3tvqynh2.js → worktree-3tvqynh2.js} +1 -1
- package/dist/chunks/{integration-rke5v8gv.js → worktree-410zfba8.js} +2 -2
- package/dist/chunks/{integration-sh7bh2kf.js → worktree-41mncz27.js} +5 -5
- package/dist/chunks/{integration-454k5vzh.js → worktree-454k5vzh.js} +1 -1
- package/dist/chunks/{integration-xg3vtz5h.js → worktree-45aqx2pr.js} +4 -4
- package/dist/chunks/{integration-h8zz2ecm.js → worktree-471a560f.js} +48 -48
- package/dist/chunks/{integration-4r2nyarf.js → worktree-4r2nyarf.js} +1 -1
- package/dist/chunks/{integration-krtzpnj6.js → worktree-4tyxcf8v.js} +32 -32
- package/dist/chunks/{integration-cp2fwpzt.js → worktree-52vxm64v.js} +25 -25
- package/dist/chunks/{integration-1ygqh575.js → worktree-56gdpj1q.js} +9 -9
- package/dist/chunks/{integration-588w1t3p.js → worktree-58hqrsnb.js} +27 -27
- package/dist/chunks/{integration-a8z03gk5.js → worktree-5agnkr4h.js} +19 -19
- package/dist/chunks/{integration-bjp14p5h.js → worktree-5d98etyc.js} +14 -14
- package/dist/chunks/{integration-5daktx2q.js → worktree-5daktx2q.js} +1 -1
- package/dist/chunks/{integration-5fmxt4p5.js → worktree-5fmxt4p5.js} +1 -1
- package/dist/chunks/{integration-5jvc5tg2.js → worktree-5jvc5tg2.js} +1 -1
- package/dist/chunks/{integration-1kjrg5h4.js → worktree-5nygvj5f.js} +20 -20
- package/dist/chunks/{integration-sspp9p5y.js → worktree-5r8w58wp.js} +23 -23
- package/dist/chunks/{integration-6kzsdjmr.js → worktree-5zcapbqz.js} +35 -35
- package/dist/chunks/{integration-kzzvpjj3.js → worktree-61k64wys.js} +18 -18
- package/dist/chunks/{integration-7s54ph47.js → worktree-62mr7g8a.js} +14 -14
- package/dist/chunks/{integration-0bhrx1x9.js → worktree-63nctvwe.js} +56 -56
- package/dist/chunks/{integration-wp8mzxcn.js → worktree-660eg1b9.js} +27 -27
- package/dist/chunks/{integration-6w2ebves.js → worktree-6v6snzyf.js} +24 -24
- package/dist/chunks/{integration-53b1td34.js → worktree-6y2e0e4e.js} +13 -13
- package/dist/chunks/{integration-y3c3mzvm.js → worktree-6yybv5x8.js} +13 -13
- package/dist/chunks/{integration-711hfp6y.js → worktree-711hfp6y.js} +2 -2
- package/dist/chunks/{integration-zbp985em.js → worktree-7214vx64.js} +4 -4
- package/dist/chunks/{integration-72nftnjy.js → worktree-72nftnjy.js} +2 -2
- package/dist/chunks/{integration-73tb2d7t.js → worktree-73tb2d7t.js} +1 -1
- package/dist/chunks/{integration-7bmhse3q.js → worktree-7bmhse3q.js} +1 -1
- package/dist/chunks/{integration-327n2tt7.js → worktree-7dz4r7mk.js} +8 -8
- package/dist/chunks/{integration-0arvn5f6.js → worktree-7er3jcv0.js} +26 -26
- package/dist/chunks/{integration-433q4afj.js → worktree-7g2k4w5v.js} +41 -41
- package/dist/chunks/{integration-g3by5vjq.js → worktree-7gkmedy0.js} +13 -13
- package/dist/chunks/{integration-w0968pv7.js → worktree-7h10aajm.js} +5 -5
- package/dist/chunks/{integration-re8qbn3m.js → worktree-7nmnk1wx.js} +21 -21
- package/dist/chunks/{integration-051qdrr2.js → worktree-7w74e5nf.js} +9 -9
- package/dist/chunks/{integration-rbqj5q8p.js → worktree-842v7csv.js} +7 -7
- package/dist/chunks/{integration-gr0yca18.js → worktree-87hmtf6v.js} +16 -16
- package/dist/chunks/{integration-5nrew705.js → worktree-8dff8bqa.js} +5 -5
- package/dist/chunks/{integration-a7pjgb0j.js → worktree-8k6sjvxx.js} +11 -11
- package/dist/chunks/{integration-n4q030rw.js → worktree-94pmskv9.js} +4 -4
- package/dist/chunks/{integration-e1rfyyrx.js → worktree-9g259f3c.js} +8 -8
- package/dist/chunks/{integration-tq9bnbkc.js → worktree-9kwyppn5.js} +20 -20
- package/dist/chunks/{integration-0t8hhwgh.js → worktree-9mtg8gdn.js} +11 -11
- package/dist/chunks/{integration-9qm9egsn.js → worktree-9qm9egsn.js} +2 -2
- package/dist/chunks/{integration-pg4tqg4j.js → worktree-a29r829w.js} +49 -49
- package/dist/chunks/{integration-cv4ckjj3.js → worktree-a8g0fabb.js} +7 -7
- package/dist/chunks/{integration-aaet6srn.js → worktree-aaet6srn.js} +2 -2
- package/dist/chunks/{integration-hdd17qa4.js → worktree-acbvwaxg.js} +19 -19
- package/dist/chunks/{integration-10fgs14z.js → worktree-adacqx41.js} +17 -17
- package/dist/chunks/{integration-3mygrb37.js → worktree-adv3g3q6.js} +11 -11
- package/dist/chunks/{integration-qja7rspw.js → worktree-ajphwd6y.js} +8 -8
- package/dist/chunks/{integration-ajtjthsy.js → worktree-ajtjthsy.js} +2 -2
- package/dist/chunks/{integration-56kfp8bc.js → worktree-avwxaxy8.js} +24 -24
- package/dist/chunks/{integration-26bs89kh.js → worktree-b08spypp.js} +11 -11
- package/dist/chunks/{integration-7w3s9kd0.js → worktree-b1chm04x.js} +9 -9
- package/dist/chunks/{integration-gzx0b0mt.js → worktree-b3kfkjj6.js} +4 -4
- package/dist/chunks/worktree-b5q5y4vk.js +4 -0
- package/dist/chunks/{integration-b6gygkdw.js → worktree-b6gygkdw.js} +2 -2
- package/dist/chunks/{integration-0dh1sqzr.js → worktree-b9e4evd2.js} +10 -10
- package/dist/chunks/{integration-b9wsbatv.js → worktree-b9wsbatv.js} +1 -1
- package/dist/chunks/{integration-sz4gjawx.js → worktree-bg50jbb6.js} +84 -84
- package/dist/chunks/{integration-js3a5baj.js → worktree-bj3t22s0.js} +40 -40
- package/dist/chunks/{integration-bpnz08mb.js → worktree-bpnz08mb.js} +2 -2
- package/dist/chunks/{integration-pgaw07cd.js → worktree-bsv171pv.js} +8 -8
- package/dist/chunks/{integration-5t9nxpj3.js → worktree-c047tdby.js} +13 -13
- package/dist/chunks/{integration-mmb49dvx.js → worktree-c83taev4.js} +7 -7
- package/dist/chunks/{integration-gdkjhw4h.js → worktree-ce9ncmzb.js} +4 -4
- package/dist/chunks/{integration-a4rgs0hc.js → worktree-cfsc9srb.js} +4 -4
- package/dist/chunks/{integration-wzny3sya.js → worktree-cjrs1hef.js} +17 -17
- package/dist/chunks/{integration-p8j18qeb.js → worktree-ckfw619d.js} +42 -42
- package/dist/chunks/{integration-ezt9sm97.js → worktree-cnvcdvk7.js} +6 -6
- package/dist/chunks/{integration-tm74we8j.js → worktree-cnze8n7v.js} +10 -10
- package/dist/chunks/{integration-fn34x8gt.js → worktree-cs4zqdxc.js} +4 -4
- package/dist/chunks/{integration-gny0aj3z.js → worktree-d4w17cfe.js} +11 -11
- package/dist/chunks/{integration-d72308c8.js → worktree-d72308c8.js} +2 -2
- package/dist/chunks/{integration-scmtthwv.js → worktree-dng5ka12.js} +16 -16
- package/dist/chunks/{integration-kx2gvdct.js → worktree-dpdxxwta.js} +4 -4
- package/dist/chunks/{integration-amcb702e.js → worktree-dssx1y55.js} +22 -22
- package/dist/chunks/{integration-p8zhn1ry.js → worktree-e2xpxj6j.js} +15 -15
- package/dist/chunks/{integration-hjt4xg1x.js → worktree-e82z9tr0.js} +7 -7
- package/dist/chunks/{integration-9sftbbn6.js → worktree-edz5pbw5.js} +27 -27
- package/dist/chunks/{integration-5vxncqj9.js → worktree-eg4pr325.js} +9 -9
- package/dist/chunks/{integration-2h194s0m.js → worktree-enw72f67.js} +6 -6
- package/dist/chunks/{integration-1jp9daeg.js → worktree-ex625ka3.js} +3 -3
- package/dist/chunks/{integration-xtrrbz3n.js → worktree-f8pec4ch.js} +13 -13
- package/dist/chunks/{integration-w8ztvw7q.js → worktree-fgdwx9dj.js} +28 -28
- package/dist/chunks/{integration-tkhgbb47.js → worktree-fj906p38.js} +15 -15
- package/dist/chunks/{integration-vmb983vf.js → worktree-fmanbg8s.js} +28 -28
- package/dist/chunks/{integration-5ajcezws.js → worktree-fss4j797.js} +24 -24
- package/dist/chunks/{integration-fxbjtjnd.js → worktree-fxbjtjnd.js} +1 -1
- package/dist/chunks/{integration-fxypknc8.js → worktree-fxypknc8.js} +1 -1
- package/dist/chunks/{integration-y1sxvda5.js → worktree-g43vvm86.js} +7 -7
- package/dist/chunks/{integration-5phv6q8y.js → worktree-g6njkj82.js} +15 -15
- package/dist/chunks/{integration-00th4a5r.js → worktree-g89m0qrn.js} +35 -35
- package/dist/chunks/{integration-m6jbwjsh.js → worktree-gcaq7q8d.js} +4 -4
- package/dist/chunks/{integration-gd4qta3r.js → worktree-gd4qta3r.js} +1 -1
- package/dist/chunks/{integration-3fc6dm20.js → worktree-gdvy8fx6.js} +4 -4
- package/dist/chunks/{integration-m1rpt5yb.js → worktree-ge7ds67b.js} +2 -2
- package/dist/chunks/{integration-02gvdgew.js → worktree-gq1q1b4e.js} +8 -8
- package/dist/chunks/{integration-nqh50ffv.js → worktree-gqvj11y0.js} +9 -9
- package/dist/chunks/{integration-7dwyp953.js → worktree-gvcph31s.js} +12 -12
- package/dist/chunks/{integration-z8145smf.js → worktree-h08w630h.js} +34 -34
- package/dist/chunks/{integration-h6vf3j39.js → worktree-h6vf3j39.js} +1 -1
- package/dist/chunks/{integration-e82pn39z.js → worktree-hbxp6gk0.js} +6 -6
- package/dist/chunks/worktree-hcs930pp.js +22 -0
- package/dist/chunks/{integration-n3scjepk.js → worktree-hctjcsn3.js} +64 -64
- package/dist/chunks/{integration-30z9ekqv.js → worktree-hevn35yy.js} +7 -7
- package/dist/chunks/{integration-heyhwy2w.js → worktree-heyhwy2w.js} +1 -1
- package/dist/chunks/{integration-bphmvjfp.js → worktree-hnyf01b0.js} +5 -5
- package/dist/chunks/{integration-hrvm11jt.js → worktree-hrvm11jt.js} +3 -3
- package/dist/chunks/{integration-axrkenmh.js → worktree-ht4ejyw1.js} +13 -13
- package/dist/chunks/{integration-4sxg11az.js → worktree-ht963k40.js} +5 -5
- package/dist/chunks/{integration-xxht2zme.js → worktree-j1yqv9s7.js} +13 -13
- package/dist/chunks/{integration-6k1x2hq7.js → worktree-j6jsstpv.js} +19 -19
- package/dist/chunks/{integration-paphc93g.js → worktree-j935v87r.js} +2 -2
- package/dist/chunks/{integration-h6phs3m3.js → worktree-jkzajkdb.js} +16 -16
- package/dist/chunks/{integration-h63taqsq.js → worktree-jm1y8vkw.js} +11 -11
- package/dist/chunks/{integration-reyds50y.js → worktree-jw9vr5cv.js} +11 -11
- package/dist/chunks/{integration-0naqfmpk.js → worktree-k1rzh40r.js} +17 -17
- package/dist/chunks/{integration-ey04d52n.js → worktree-k3skpd5n.js} +14 -14
- package/dist/chunks/{integration-k4bwy1x5.js → worktree-k4bwy1x5.js} +1 -1
- package/dist/chunks/{integration-kg06axw8.js → worktree-kg06axw8.js} +1 -1
- package/dist/chunks/{integration-4qnq6xhv.js → worktree-kg8hghrp.js} +33 -33
- package/dist/chunks/{integration-wd5ma2ph.js → worktree-kk0awzkj.js} +22 -22
- package/dist/chunks/{integration-pvg228j8.js → worktree-kmcjptjm.js} +1 -1
- package/dist/chunks/{integration-hw4pv20g.js → worktree-kvsjn1dr.js} +2 -2
- package/dist/chunks/{integration-432pw3c5.js → worktree-kxf02bzq.js} +22 -22
- package/dist/chunks/{integration-tpg9ytbh.js → worktree-m7nj5h8z.js} +8 -8
- package/dist/chunks/{integration-21pvg7kt.js → worktree-m7w02m4e.js} +12 -12
- package/dist/chunks/{integration-089r6rfv.js → worktree-m9asb4sr.js} +29 -29
- package/dist/chunks/{integration-m9w0rfyh.js → worktree-m9w0rfyh.js} +1 -1
- package/dist/chunks/{integration-8aa81zbh.js → worktree-m9xhrdze.js} +12 -12
- package/dist/chunks/{integration-5fex8bb2.js → worktree-mfpdf0ta.js} +7 -7
- package/dist/chunks/{integration-3qbt326n.js → worktree-mh0thj4x.js} +13 -13
- package/dist/chunks/{integration-az4t7x9p.js → worktree-mtd0mgtt.js} +40 -40
- package/dist/chunks/{integration-ryr25ayn.js → worktree-mtq6xxnx.js} +7 -7
- package/dist/chunks/{integration-radpzgs0.js → worktree-mw548jxj.js} +18 -18
- package/dist/chunks/{integration-sgv69984.js → worktree-najyedn1.js} +5 -5
- package/dist/chunks/{integration-b5nf4epv.js → worktree-ne4zyw3a.js} +15 -15
- package/dist/chunks/{integration-ava0yb97.js → worktree-nhfc898y.js} +29 -29
- package/dist/chunks/{integration-vzvx7g7e.js → worktree-nnad2ash.js} +46 -46
- package/dist/chunks/{integration-80nx285x.js → worktree-nz4zy0sw.js} +19 -19
- package/dist/chunks/{integration-ag62pq98.js → worktree-pfzksdxq.js} +24 -24
- package/dist/chunks/{integration-pjvnvgmy.js → worktree-pjvnvgmy.js} +1 -1
- package/dist/chunks/{integration-vjxchawq.js → worktree-pjw83wd2.js} +32 -32
- package/dist/chunks/{integration-pknna89w.js → worktree-pknna89w.js} +1 -1
- package/dist/chunks/{integration-m5kbf3jc.js → worktree-pq5hrpmt.js} +11 -11
- package/dist/chunks/{integration-2gk5cp3r.js → worktree-pr0pn8m6.js} +13 -13
- package/dist/chunks/{integration-r7ddtr8e.js → worktree-prrfs6yw.js} +23 -23
- package/dist/chunks/{integration-pdp8j59c.js → worktree-q3yxb0xv.js} +11 -11
- package/dist/chunks/{integration-gart8bfz.js → worktree-q8qsy7xy.js} +16 -16
- package/dist/chunks/{integration-4ktjq5jv.js → worktree-qafexnn6.js} +9 -9
- package/dist/chunks/{integration-wqpfxacs.js → worktree-qbddy52q.js} +11 -11
- package/dist/chunks/{integration-wjzbj88c.js → worktree-qqt43bp1.js} +23 -23
- package/dist/chunks/{integration-r33ff4dw.js → worktree-qqtwvk4z.js} +6 -6
- package/dist/chunks/{integration-qsdy395h.js → worktree-qsdy395h.js} +1 -1
- package/dist/chunks/{integration-0khar44x.js → worktree-qvk768dr.js} +11 -11
- package/dist/chunks/{integration-5xzsz4y7.js → worktree-qyv79zw0.js} +30 -30
- package/dist/chunks/{integration-skm6vzx1.js → worktree-qyza05bp.js} +27 -27
- package/dist/chunks/{integration-ebbs9ney.js → worktree-r226ndvg.js} +36 -36
- package/dist/chunks/{integration-r8dhm0tv.js → worktree-r8dhm0tv.js} +1 -1
- package/dist/chunks/{integration-j83byb14.js → worktree-r98e92ep.js} +4 -4
- package/dist/chunks/worktree-rap9a73h.js +18 -0
- package/dist/chunks/{integration-pdxe2edq.js → worktree-rd9hzb43.js} +14 -14
- package/dist/chunks/{integration-68y46v3g.js → worktree-rfedyjyh.js} +20 -20
- package/dist/chunks/{integration-p9vx44pc.js → worktree-rh7y5xh0.js} +1 -1
- package/dist/chunks/{integration-gej0j4pk.js → worktree-rj2f5sk2.js} +17 -17
- package/dist/chunks/{integration-7nzzgtdj.js → worktree-rqqsyksf.js} +24 -24
- package/dist/chunks/{integration-dz86g41b.js → worktree-s06dat1t.js} +9 -9
- package/dist/chunks/{integration-hf3t0h2k.js → worktree-s6z4mph6.js} +6 -6
- package/dist/chunks/{integration-sba4qhjf.js → worktree-sba4qhjf.js} +1 -1
- package/dist/chunks/{integration-a5n2dake.js → worktree-sdm57bgr.js} +23 -23
- package/dist/chunks/{integration-pfwd1k69.js → worktree-smk292jk.js} +152 -152
- package/dist/chunks/{integration-d1qjg7yf.js → worktree-sn5ar8h4.js} +1 -1
- package/dist/chunks/{integration-sz4dw7gm.js → worktree-srxvp5n6.js} +11 -11
- package/dist/chunks/{integration-0zgbz30q.js → worktree-sxrnkw1n.js} +9 -9
- package/dist/chunks/{integration-9exd6xtw.js → worktree-sy2xv61m.js} +1 -1
- package/dist/chunks/{integration-3jwyfetg.js → worktree-t5ad4xaj.js} +8 -8
- package/dist/chunks/{integration-pe587v0q.js → worktree-t5h4rs02.js} +9 -9
- package/dist/chunks/{integration-ba8a6aak.js → worktree-t8vr1kn7.js} +9 -9
- package/dist/chunks/{integration-9x9phxhw.js → worktree-t9qj8c83.js} +10 -10
- package/dist/chunks/{integration-tazgh4e4.js → worktree-tazgh4e4.js} +1 -1
- package/dist/chunks/{integration-tcezcvh9.js → worktree-tcezcvh9.js} +1 -1
- package/dist/chunks/{integration-6g5h5enh.js → worktree-tgpzk4tr.js} +13 -13
- package/dist/chunks/{integration-x8nhbgtx.js → worktree-tgz6nsmd.js} +48 -48
- package/dist/chunks/{integration-tjykrgmx.js → worktree-tjykrgmx.js} +1 -1
- package/dist/chunks/{integration-npjzd5yf.js → worktree-tmjhps6z.js} +11 -11
- package/dist/chunks/{integration-tppvcy65.js → worktree-tppvcy65.js} +2 -2
- package/dist/chunks/{integration-gmfar029.js → worktree-tq32dsfx.js} +9 -9
- package/dist/chunks/{integration-wy76m6zk.js → worktree-tqmakht3.js} +25 -25
- package/dist/chunks/{integration-pmbgjyp9.js → worktree-txt2cax8.js} +284 -284
- package/dist/chunks/{integration-x9ktxn4p.js → worktree-tza14zss.js} +32 -32
- package/dist/chunks/{integration-jyprvyx1.js → worktree-v6s3zgrk.js} +6 -6
- package/dist/chunks/{integration-5fq934vj.js → worktree-vhjdrq5e.js} +5 -5
- package/dist/chunks/{integration-jp7d3tsh.js → worktree-vqfj6rgg.js} +15 -15
- package/dist/chunks/{integration-kfrje9nb.js → worktree-vspn1zx3.js} +26 -26
- package/dist/chunks/{integration-7tzxs4gx.js → worktree-vxz7khjw.js} +34 -34
- package/dist/chunks/{integration-e3ntb6n0.js → worktree-vy8y55ac.js} +27 -27
- package/dist/chunks/{integration-qgj1bmkg.js → worktree-vynk1gtr.js} +11 -11
- package/dist/chunks/{integration-w3wsvvr9.js → worktree-w3wsvvr9.js} +1 -1
- package/dist/chunks/{integration-wd87259q.js → worktree-wd87259q.js} +1 -1
- package/dist/chunks/{integration-rkar1xve.js → worktree-wga61mrz.js} +16 -16
- package/dist/chunks/{integration-avsd5b6b.js → worktree-wgc064dh.js} +10 -10
- package/dist/chunks/{integration-2pvtkfrt.js → worktree-wjy58fct.js} +12 -12
- package/dist/chunks/{integration-rn3ywvk5.js → worktree-wt966625.js} +17 -17
- package/dist/chunks/{integration-nngpx1ez.js → worktree-wvbw7nq4.js} +20 -20
- package/dist/chunks/{integration-xzhshwgm.js → worktree-wx13dy4y.js} +11 -11
- package/dist/chunks/{integration-x1ezjp6w.js → worktree-x1ezjp6w.js} +1 -1
- package/dist/chunks/{integration-5hy0rtfk.js → worktree-x4ndt50x.js} +18 -18
- package/dist/chunks/{integration-mjzw1bzx.js → worktree-xgjy9czn.js} +9 -9
- package/dist/chunks/{integration-czarjmjc.js → worktree-xgqr5ys9.js} +27 -27
- package/dist/chunks/{integration-sv1bgkh6.js → worktree-xk6kcd15.js} +3 -3
- package/dist/chunks/{integration-d7rthvks.js → worktree-xpxmebhh.js} +43 -43
- package/dist/chunks/{integration-n38qs1ar.js → worktree-xr5vwsd4.js} +9 -9
- package/dist/chunks/{integration-rtyzczqf.js → worktree-xwsmtwfv.js} +5 -5
- package/dist/chunks/{integration-nhczefgv.js → worktree-xy07edwq.js} +41 -41
- package/dist/chunks/{integration-w19w1qkx.js → worktree-y14y9keq.js} +1 -1
- package/dist/chunks/{integration-y1fvbwt7.js → worktree-y1fvbwt7.js} +1 -1
- package/dist/chunks/{integration-93a8yfjt.js → worktree-y2cqme3r.js} +5 -5
- package/dist/chunks/{integration-jwcy2c2z.js → worktree-y71avatq.js} +4 -4
- package/dist/chunks/{integration-2571w2b0.js → worktree-ybjzef57.js} +5 -5
- package/dist/chunks/{integration-yfbd16n1.js → worktree-yfbd16n1.js} +2 -2
- package/dist/chunks/{integration-r4e2f98f.js → worktree-yfdj9tfx.js} +31 -31
- package/dist/chunks/{integration-n8295sxz.js → worktree-yh9c67q5.js} +4 -4
- package/dist/chunks/{integration-3nf7bh68.js → worktree-ynqmrvb3.js} +14 -14
- package/dist/chunks/{integration-yp2x3t23.js → worktree-yp2x3t23.js} +1 -1
- package/dist/chunks/{integration-psgkh1f7.js → worktree-ypyh08m6.js} +4 -4
- package/dist/chunks/worktree-yrf23g47.js +247 -0
- package/dist/chunks/{integration-sxnbked4.js → worktree-yywg80z9.js} +6 -6
- package/dist/chunks/{integration-6a04dbgb.js → worktree-z168y132.js} +24 -24
- package/dist/chunks/{integration-z1k01bn4.js → worktree-z1k01bn4.js} +2 -2
- package/dist/chunks/{integration-t89cxbfz.js → worktree-z1sr0xrs.js} +4 -4
- package/dist/chunks/{integration-hha4zry8.js → worktree-ze4dnq9c.js} +20 -20
- package/dist/chunks/{integration-k2en0fft.js → worktree-zgsac5yt.js} +10 -10
- package/dist/chunks/{integration-n0tc3be6.js → worktree-zh2rh6rn.js} +17 -17
- package/dist/chunks/{integration-4ha7507h.js → worktree-zh93cpfk.js} +23 -23
- package/dist/chunks/{integration-whyqf77n.js → worktree-zht09bnk.js} +8 -8
- package/dist/chunks/{integration-chtrmnkp.js → worktree-zkj92s1w.js} +11 -6
- package/dist/chunks/{integration-t3jgv66k.js → worktree-zn2cbnfs.js} +11 -11
- package/dist/chunks/{integration-zxq2ej10.js → worktree-zxq2ej10.js} +1 -1
- package/dist/codemode/catalog.js +3 -3
- package/dist/codemode/instructions.js +7 -7
- 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 +117 -117
- package/dist/config/plugin/command.js +208 -208
- package/dist/config/plugin/compaction.js +154 -154
- package/dist/config/plugin/entry-observer.js +1 -1
- package/dist/config/plugin/formatter.js +117 -117
- package/dist/config/plugin/image.js +115 -115
- package/dist/config/plugin/instruction.js +85 -85
- package/dist/config/plugin/location-watcher.js +117 -117
- package/dist/config/plugin/mcp.js +126 -126
- package/dist/config/plugin/policy.js +114 -114
- package/dist/config/plugin/provider.js +113 -113
- package/dist/config/plugin/reference.js +117 -117
- package/dist/config/plugin/shell.js +116 -116
- package/dist/config/plugin/skill-file.js +96 -96
- package/dist/config/plugin/skill.js +135 -135
- package/dist/config/plugin/snapshot.js +115 -115
- package/dist/config/plugin/source.js +117 -117
- package/dist/config/plugin/tool-output.js +117 -117
- package/dist/config/plugin/websearch.js +113 -113
- package/dist/config/plugin/worktree.js +118 -118
- package/dist/config/variable.js +3 -3
- package/dist/config/watch.js +1 -1
- package/dist/config.js +119 -119
- package/dist/credential/sql.js +2 -2
- package/dist/credential.js +77 -77
- 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 +359 -359
- 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 +2 -2
- package/dist/filesystem/location-watcher.js +221 -221
- package/dist/filesystem/protected.js +1 -1
- package/dist/filesystem/search.js +95 -95
- package/dist/filesystem/watcher-binding.js +3 -3
- package/dist/filesystem/watcher.js +15 -15
- package/dist/filesystem.js +94 -94
- package/dist/form.js +82 -82
- package/dist/formatter/builtins.js +2 -2
- package/dist/formatter.js +84 -84
- package/dist/generate.js +89 -89
- 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 +5 -5
- package/dist/instance.js +350 -350
- package/dist/instruction-discovery.js +79 -79
- package/dist/instructions/builtins.js +82 -82
- package/dist/instructions/index.js +3 -3
- package/dist/integration/connection.js +1 -1
- package/dist/integration.js +86 -86
- package/dist/job.js +77 -77
- package/dist/kv/sql.js +2 -2
- package/dist/kv.js +71 -71
- package/dist/location-activity.js +132 -132
- package/dist/location-mutation.js +81 -81
- package/dist/location-service-map.js +83 -83
- package/dist/location-services.js +347 -347
- package/dist/location.js +78 -78
- package/dist/mcp/client.js +86 -86
- package/dist/mcp/index.js +101 -101
- package/dist/mcp/instructions.js +121 -121
- package/dist/mcp/oauth.js +3 -3
- 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 +86 -86
- package/dist/model.js +10 -10
- package/dist/models-dev.js +86 -86
- package/dist/oauth/page.js +1 -1
- package/dist/permission/saved.js +76 -76
- package/dist/permission/sql.js +5 -5
- package/dist/permission.js +105 -105
- package/dist/persistent-pty/binary.bun.js +1 -1
- package/dist/persistent-pty/daemon.js +1 -1
- package/dist/persistent-pty/index.js +78 -78
- 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 +96 -96
- package/dist/plugin/hooks.js +5 -5
- package/dist/plugin/host.js +212 -212
- package/dist/plugin/instance.js +5 -5
- package/dist/plugin/internal.js +321 -321
- 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 +2 -2
- 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 +118 -118
- package/dist/plugin/provider/cerebras.js +2 -2
- package/dist/plugin/provider/cloudflare-ai-gateway.js +117 -117
- package/dist/plugin/provider/cloudflare-workers-ai.js +117 -117
- package/dist/plugin/provider/cohere.js +2 -2
- package/dist/plugin/provider/configured.js +114 -114
- 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 +80 -80
- 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 +76 -76
- package/dist/plugin/provider/lmstudio.js +117 -117
- package/dist/plugin/provider/mistral.js +2 -2
- package/dist/plugin/provider/modal.js +79 -79
- package/dist/plugin/provider/nvidia.js +2 -2
- package/dist/plugin/provider/ollama.js +117 -117
- package/dist/plugin/provider/openai-compatible.js +1 -1
- package/dist/plugin/provider/openai.js +78 -78
- package/dist/plugin/provider/opencode.js +76 -76
- 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 +117 -117
- package/dist/plugin/provider/xai.js +77 -77
- package/dist/plugin/provider/zenmux.js +2 -2
- package/dist/plugin/provider.js +155 -155
- package/dist/plugin/sdk.js +74 -74
- package/dist/plugin/service.js +3 -3
- package/dist/plugin/skill.js +132 -132
- package/dist/plugin/source-directory.js +1 -1
- package/dist/plugin/supervisor.js +336 -336
- 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 +112 -112
- package/dist/plugin/websearch/exa.js +5 -5
- package/dist/plugin/websearch/firecrawl.js +8 -8
- 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 +6 -6
- package/dist/plugin.js +215 -215
- 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 +74 -74
- package/dist/repository.js +3 -3
- package/dist/ripgrep/binary.js +2 -2
- package/dist/ripgrep.js +87 -87
- package/dist/rpc.js +77 -77
- package/dist/schema.js +1 -1
- package/dist/session/command.js +72 -72
- package/dist/session/compaction.js +128 -128
- package/dist/session/context.js +146 -146
- package/dist/session/environment.js +5 -5
- package/dist/session/error.js +7 -7
- package/dist/session/event.js +1 -1
- package/dist/session/execution/restart.js +218 -218
- package/dist/session/execution.js +123 -123
- package/dist/session/generate.js +145 -145
- package/dist/session/history.js +14 -14
- package/dist/session/inbox.js +86 -86
- package/dist/session/info.js +3 -3
- package/dist/session/instruction-entry.js +75 -75
- package/dist/session/instruction-state.js +8 -8
- package/dist/session/instructions.js +91 -91
- package/dist/session/message-updater.js +2 -2
- 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 +125 -125
- 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 +1 -1
- 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 +86 -86
- package/dist/session/runner/publish-llm-event.js +3 -3
- package/dist/session/runner/retry.js +4 -4
- package/dist/session/runner/step.js +118 -118
- package/dist/session/runner/to-llm-message.js +1 -1
- package/dist/session/schema.js +1 -1
- package/dist/session/session.js +168 -168
- package/dist/session/shell.js +131 -131
- 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 +82 -82
- package/dist/session/subagent-completion.js +1 -1
- package/dist/session/subagent-job.js +204 -204
- package/dist/session/system-prompt.js +5 -5
- package/dist/session/title.js +146 -146
- package/dist/session/to-session-error.js +106 -106
- package/dist/session/transfer.js +211 -211
- package/dist/session/usage.js +1 -1
- package/dist/session.js +206 -206
- 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 +13 -13
- package/dist/shell.js +133 -133
- package/dist/skill/discovery.js +6 -6
- package/dist/skill/instructions.js +99 -99
- package/dist/skill.js +100 -100
- package/dist/snapshot.js +88 -88
- 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 +120 -120
- package/dist/tool/plugin/edit.js +110 -110
- package/dist/tool/plugin/file-diff.js +1 -1
- package/dist/tool/plugin/glob.js +119 -119
- package/dist/tool/plugin/grep.js +113 -113
- 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 +205 -205
- package/dist/tool/plugin/skill.js +107 -107
- package/dist/tool/plugin/subagent.js +213 -213
- package/dist/tool/plugin/webfetch.js +106 -106
- package/dist/tool/plugin/websearch.js +106 -106
- package/dist/tool/plugin/write.js +114 -114
- package/dist/tool/read-filesystem.js +92 -92
- package/dist/tool/runtime.js +1 -1
- package/dist/tool-output.js +8 -8
- package/dist/tool.js +11 -11
- package/dist/util/error-summary.js +1 -1
- 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 +4 -4
- package/dist/v1/config/formatter.js +7 -7
- package/dist/v1/config/layout.js +1 -1
- package/dist/v1/config/lsp.js +5 -5
- package/dist/v1/config/mcp.js +2 -2
- package/dist/v1/config/migrate.js +4 -4
- package/dist/v1/config/permission.js +7 -7
- 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/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 +76 -76
- package/dist/wellknown/plugin.js +74 -74
- package/dist/wellknown.js +79 -79
- package/dist/workspace/driver.js +7 -7
- 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 +339 -339
- package/dist/worktree/sql.js +5 -5
- package/dist/worktree.js +91 -91
- package/package.json +7 -7
- package/dist/chunks/integration-4y7bcn0g.js +0 -4
- package/dist/chunks/integration-e62b8887.js +0 -22
- package/dist/chunks/integration-h8c5g50t.js +0 -247
- package/dist/chunks/integration-pf31ssb9.js +0 -18
- /package/dist/chunks/{integration-0fabt78z.js → worktree-0fabt78z.js} +0 -0
- /package/dist/chunks/{integration-0qkdqm5v.js → worktree-0qkdqm5v.js} +0 -0
- /package/dist/chunks/{integration-0zkw76rk.js → worktree-0zkw76rk.js} +0 -0
- /package/dist/chunks/{integration-17cy0kzp.js → worktree-17cy0kzp.js} +0 -0
- /package/dist/chunks/{integration-1cnp2v09.js → worktree-1cnp2v09.js} +0 -0
- /package/dist/chunks/{integration-1kg9ymc8.js → worktree-1kg9ymc8.js} +0 -0
- /package/dist/chunks/{integration-2710q6r3.js → worktree-2710q6r3.js} +0 -0
- /package/dist/chunks/{integration-2axfhc9x.js → worktree-2axfhc9x.js} +0 -0
- /package/dist/chunks/{integration-2c3vjs8z.js → worktree-2c3vjs8z.js} +0 -0
- /package/dist/chunks/{integration-359p4xyc.js → worktree-359p4xyc.js} +0 -0
- /package/dist/chunks/{integration-3asan66x.js → worktree-3asan66x.js} +0 -0
- /package/dist/chunks/{integration-3t738kvx.js → worktree-3t738kvx.js} +0 -0
- /package/dist/chunks/{integration-3v8g72cx.js → worktree-3v8g72cx.js} +0 -0
- /package/dist/chunks/{integration-3wcehsnq.js → worktree-3wcehsnq.js} +0 -0
- /package/dist/chunks/{integration-41nvscxy.js → worktree-41nvscxy.js} +0 -0
- /package/dist/chunks/{integration-43n2bw4t.js → worktree-43n2bw4t.js} +0 -0
- /package/dist/chunks/{integration-4knz6hnm.js → worktree-4knz6hnm.js} +0 -0
- /package/dist/chunks/{integration-4y7fprxs.js → worktree-4y7fprxs.js} +0 -0
- /package/dist/chunks/{integration-53557ph1.js → worktree-53557ph1.js} +0 -0
- /package/dist/chunks/{integration-550bvhaj.js → worktree-550bvhaj.js} +0 -0
- /package/dist/chunks/{integration-6prwharc.js → worktree-6prwharc.js} +0 -0
- /package/dist/chunks/{integration-7akdwqpd.js → worktree-7akdwqpd.js} +0 -0
- /package/dist/chunks/{integration-7m9af43g.js → worktree-7m9af43g.js} +0 -0
- /package/dist/chunks/{integration-822emrt2.js → worktree-822emrt2.js} +0 -0
- /package/dist/chunks/{integration-88xbtdfr.js → worktree-88xbtdfr.js} +0 -0
- /package/dist/chunks/{integration-8n3pysct.js → worktree-8n3pysct.js} +0 -0
- /package/dist/chunks/{integration-982e01ww.js → worktree-982e01ww.js} +0 -0
- /package/dist/chunks/{integration-9a4afbnw.js → worktree-9a4afbnw.js} +0 -0
- /package/dist/chunks/{integration-9rqn6x4v.js → worktree-9rqn6x4v.js} +0 -0
- /package/dist/chunks/{integration-a1tpkmh4.js → worktree-a1tpkmh4.js} +0 -0
- /package/dist/chunks/{integration-af5trqkr.js → worktree-af5trqkr.js} +0 -0
- /package/dist/chunks/{integration-afrmfg78.js → worktree-afrmfg78.js} +0 -0
- /package/dist/chunks/{integration-aqzs7mqg.js → worktree-aqzs7mqg.js} +0 -0
- /package/dist/chunks/{integration-atq7p7m5.js → worktree-atq7p7m5.js} +0 -0
- /package/dist/chunks/{integration-bkyjaxrp.js → worktree-bkyjaxrp.js} +0 -0
- /package/dist/chunks/{integration-bmr6ed5q.js → worktree-bmr6ed5q.js} +0 -0
- /package/dist/chunks/{integration-cf4snx6d.js → worktree-cf4snx6d.js} +0 -0
- /package/dist/chunks/{integration-cvy3z8tj.js → worktree-cvy3z8tj.js} +0 -0
- /package/dist/chunks/{integration-d9fn303g.js → worktree-d9fn303g.js} +0 -0
- /package/dist/chunks/{integration-d9jj8t3e.js → worktree-d9jj8t3e.js} +0 -0
- /package/dist/chunks/{integration-dajrwvna.js → worktree-dajrwvna.js} +0 -0
- /package/dist/chunks/{integration-dap0rakb.js → worktree-dap0rakb.js} +0 -0
- /package/dist/chunks/{integration-df08tz66.js → worktree-df08tz66.js} +0 -0
- /package/dist/chunks/{integration-dy18nga0.js → worktree-dy18nga0.js} +0 -0
- /package/dist/chunks/{integration-e5kj55wp.js → worktree-e5kj55wp.js} +0 -0
- /package/dist/chunks/{integration-e73j6tqm.js → worktree-e73j6tqm.js} +0 -0
- /package/dist/chunks/{integration-eh3zwz77.js → worktree-eh3zwz77.js} +0 -0
- /package/dist/chunks/{integration-emrn6kk6.js → worktree-emrn6kk6.js} +0 -0
- /package/dist/chunks/{integration-f0mxakyp.js → worktree-f0mxakyp.js} +0 -0
- /package/dist/chunks/{integration-f6n9ztr4.js → worktree-f6n9ztr4.js} +0 -0
- /package/dist/chunks/{integration-faypxj3z.js → worktree-faypxj3z.js} +0 -0
- /package/dist/chunks/{integration-fd410y7t.js → worktree-fd410y7t.js} +0 -0
- /package/dist/chunks/{integration-fxgpk5d8.js → worktree-fxgpk5d8.js} +0 -0
- /package/dist/chunks/{integration-g4wezp1m.js → worktree-g4wezp1m.js} +0 -0
- /package/dist/chunks/{integration-g86h250q.js → worktree-g86h250q.js} +0 -0
- /package/dist/chunks/{integration-gebd4c9n.js → worktree-gebd4c9n.js} +0 -0
- /package/dist/chunks/{integration-hk9envan.js → worktree-hk9envan.js} +0 -0
- /package/dist/chunks/{integration-j2ntwpah.js → worktree-j2ntwpah.js} +0 -0
- /package/dist/chunks/{integration-j5zkgpj8.js → worktree-j5zkgpj8.js} +0 -0
- /package/dist/chunks/{integration-jr7sbwjy.js → worktree-jr7sbwjy.js} +0 -0
- /package/dist/chunks/{integration-jwfs4k6c.js → worktree-jwfs4k6c.js} +0 -0
- /package/dist/chunks/{integration-jzg6c2d5.js → worktree-jzg6c2d5.js} +0 -0
- /package/dist/chunks/{integration-mntxs535.js → worktree-mntxs535.js} +0 -0
- /package/dist/chunks/{integration-mp448xyj.js → worktree-mp448xyj.js} +0 -0
- /package/dist/chunks/{integration-mq9r6drf.js → worktree-mq9r6drf.js} +0 -0
- /package/dist/chunks/{integration-msx8hqn2.js → worktree-msx8hqn2.js} +0 -0
- /package/dist/chunks/{integration-n05xt0ee.js → worktree-n05xt0ee.js} +0 -0
- /package/dist/chunks/{integration-n3j8tn72.js → worktree-n3j8tn72.js} +0 -0
- /package/dist/chunks/{integration-njntx4h6.js → worktree-njntx4h6.js} +0 -0
- /package/dist/chunks/{integration-p8qxwesx.js → worktree-p8qxwesx.js} +0 -0
- /package/dist/chunks/{integration-q3sfg36h.js → worktree-q3sfg36h.js} +0 -0
- /package/dist/chunks/{integration-q74kybfr.js → worktree-q74kybfr.js} +0 -0
- /package/dist/chunks/{integration-qaymkmh1.js → worktree-qaymkmh1.js} +0 -0
- /package/dist/chunks/{integration-qb87gjwd.js → worktree-qb87gjwd.js} +0 -0
- /package/dist/chunks/{integration-qfa1cgps.js → worktree-qfa1cgps.js} +0 -0
- /package/dist/chunks/{integration-qrg20bc0.js → worktree-qrg20bc0.js} +0 -0
- /package/dist/chunks/{integration-rcb2kzg1.js → worktree-rcb2kzg1.js} +0 -0
- /package/dist/chunks/{integration-sdp7kfr6.js → worktree-sdp7kfr6.js} +0 -0
- /package/dist/chunks/{integration-se0s1eqw.js → worktree-se0s1eqw.js} +0 -0
- /package/dist/chunks/{integration-sk3qaz4a.js → worktree-sk3qaz4a.js} +0 -0
- /package/dist/chunks/{integration-ssg3fenm.js → worktree-ssg3fenm.js} +0 -0
- /package/dist/chunks/{integration-twg0f83k.js → worktree-twg0f83k.js} +0 -0
- /package/dist/chunks/{integration-w803qqfp.js → worktree-w803qqfp.js} +0 -0
- /package/dist/chunks/{integration-wer8tq1h.js → worktree-wer8tq1h.js} +0 -0
- /package/dist/chunks/{integration-wtztk69x.js → worktree-wtztk69x.js} +0 -0
- /package/dist/chunks/{integration-x0ckcb58.js → worktree-x0ckcb58.js} +0 -0
- /package/dist/chunks/{integration-x1b8g1yb.js → worktree-x1b8g1yb.js} +0 -0
- /package/dist/chunks/{integration-x61499pn.js → worktree-x61499pn.js} +0 -0
- /package/dist/chunks/{integration-y44na4kk.js → worktree-y44na4kk.js} +0 -0
- /package/dist/chunks/{integration-y8cydn3q.js → worktree-y8cydn3q.js} +0 -0
- /package/dist/chunks/{integration-ygaqb7jw.js → worktree-ygaqb7jw.js} +0 -0
- /package/dist/chunks/{integration-z9919s4g.js → worktree-z9919s4g.js} +0 -0
- /package/dist/chunks/{integration-zbjnn3ac.js → worktree-zbjnn3ac.js} +0 -0
|
@@ -1,55 +1,55 @@
|
|
|
1
1
|
import {
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
} from "./
|
|
2
|
+
Service79,
|
|
3
|
+
node84
|
|
4
|
+
} from "./worktree-dng5ka12.js";
|
|
5
5
|
import {
|
|
6
|
-
|
|
6
|
+
parse4,
|
|
7
7
|
parseRemote2,
|
|
8
8
|
validateBranch3,
|
|
9
9
|
isRemote2,
|
|
10
10
|
cachePath2
|
|
11
|
-
} from "./
|
|
11
|
+
} from "./worktree-2402vzrj.js";
|
|
12
12
|
import {
|
|
13
13
|
AbsolutePath2
|
|
14
|
-
} from "./
|
|
14
|
+
} from "./worktree-p8qxwesx.js";
|
|
15
15
|
import {
|
|
16
16
|
Service69,
|
|
17
|
-
|
|
18
|
-
} from "./
|
|
17
|
+
node73
|
|
18
|
+
} from "./worktree-wt966625.js";
|
|
19
19
|
import {
|
|
20
20
|
create3
|
|
21
|
-
} from "./
|
|
21
|
+
} from "./worktree-kg06axw8.js";
|
|
22
22
|
import {
|
|
23
23
|
__export
|
|
24
|
-
} from "./
|
|
24
|
+
} from "./worktree-9rqn6x4v.js";
|
|
25
25
|
|
|
26
26
|
// src/reference.ts
|
|
27
27
|
var exports_reference2 = {};
|
|
28
28
|
__export(exports_reference2, {
|
|
29
|
-
Event: () =>
|
|
29
|
+
Event: () => Event17,
|
|
30
30
|
GitSource: () => GitSource2,
|
|
31
|
-
Info: () =>
|
|
31
|
+
Info: () => Info25,
|
|
32
32
|
LocalSource: () => LocalSource2,
|
|
33
33
|
Reference: () => exports_reference2,
|
|
34
|
-
Service: () =>
|
|
34
|
+
Service: () => Service68,
|
|
35
35
|
Source: () => Source5,
|
|
36
|
-
node: () =>
|
|
36
|
+
node: () => node72
|
|
37
37
|
});
|
|
38
38
|
import { makeLocationNode } from "@opencode-ai/util/effect/app-node";
|
|
39
39
|
import { Context, Effect, Layer, Scope } from "effect";
|
|
40
40
|
import { Reference } from "@opencode-ai/schema/reference";
|
|
41
41
|
import { Global } from "@opencode-ai/util/global";
|
|
42
|
-
import { Event as
|
|
42
|
+
import { Event as Event17 } from "@opencode-ai/schema/reference";
|
|
43
43
|
var LocalSource2 = Reference.LocalSource;
|
|
44
44
|
var GitSource2 = Reference.GitSource;
|
|
45
45
|
var Source5 = Reference.Source;
|
|
46
|
-
var
|
|
46
|
+
var Info25 = Reference.Info;
|
|
47
47
|
|
|
48
|
-
class
|
|
48
|
+
class Service68 extends Context.Service()("@opencode/Reference") {
|
|
49
49
|
}
|
|
50
|
-
var layer = Layer.effect(
|
|
50
|
+
var layer = Layer.effect(Service68, Effect.gen(function* () {
|
|
51
51
|
const global = yield* Global.Service;
|
|
52
|
-
const bus = yield*
|
|
52
|
+
const bus = yield* Service79;
|
|
53
53
|
const cache = yield* Service69;
|
|
54
54
|
const scope = yield* Scope.Scope;
|
|
55
55
|
const list = () => Array.from(state.get().sources).flatMap(([name, source]) => {
|
|
@@ -60,8 +60,8 @@ var layer = Layer.effect(Service61, Effect.gen(function* () {
|
|
|
60
60
|
...source.hidden === undefined ? {} : { hidden: source.hidden }
|
|
61
61
|
};
|
|
62
62
|
if (source.type === "local")
|
|
63
|
-
return [
|
|
64
|
-
const repository =
|
|
63
|
+
return [Info25.make({ ...info, path: source.path })];
|
|
64
|
+
const repository = parse4(source.repository);
|
|
65
65
|
if (!repository || !isRemote2(repository))
|
|
66
66
|
return [];
|
|
67
67
|
if (source.branch) {
|
|
@@ -72,7 +72,7 @@ var layer = Layer.effect(Service61, Effect.gen(function* () {
|
|
|
72
72
|
}
|
|
73
73
|
}
|
|
74
74
|
return [
|
|
75
|
-
|
|
75
|
+
Info25.make({
|
|
76
76
|
...info,
|
|
77
77
|
path: AbsolutePath2.make(cachePath2(global.repos, repository, source.branch))
|
|
78
78
|
})
|
|
@@ -104,7 +104,7 @@ var layer = Layer.effect(Service61, Effect.gen(function* () {
|
|
|
104
104
|
})
|
|
105
105
|
});
|
|
106
106
|
yield* Effect.sleep("1 hour").pipe(Effect.andThen(refresh()), Effect.forever, Effect.forkScoped);
|
|
107
|
-
return
|
|
107
|
+
return Service68.of({
|
|
108
108
|
transform: state.transform,
|
|
109
109
|
reload: state.reload,
|
|
110
110
|
list: Effect.fn("Reference.list")(function* () {
|
|
@@ -112,10 +112,10 @@ var layer = Layer.effect(Service61, Effect.gen(function* () {
|
|
|
112
112
|
})
|
|
113
113
|
});
|
|
114
114
|
}));
|
|
115
|
-
var
|
|
116
|
-
service:
|
|
115
|
+
var node72 = makeLocationNode({
|
|
116
|
+
service: Service68,
|
|
117
117
|
layer,
|
|
118
|
-
deps: [Global.node,
|
|
118
|
+
deps: [Global.node, node84, node73]
|
|
119
119
|
});
|
|
120
120
|
|
|
121
|
-
export { LocalSource2, GitSource2, Source5,
|
|
121
|
+
export { LocalSource2, GitSource2, Source5, Info25, Service68, node72, exports_reference2, Event17 };
|
|
@@ -1,24 +1,24 @@
|
|
|
1
1
|
import {
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
} from "./
|
|
2
|
+
Service79,
|
|
3
|
+
node84
|
|
4
|
+
} from "./worktree-dng5ka12.js";
|
|
5
5
|
import {
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
} from "./
|
|
6
|
+
Service73,
|
|
7
|
+
node78
|
|
8
|
+
} from "./worktree-pq5hrpmt.js";
|
|
9
9
|
import {
|
|
10
10
|
create3
|
|
11
|
-
} from "./
|
|
11
|
+
} from "./worktree-kg06axw8.js";
|
|
12
12
|
import {
|
|
13
13
|
__export
|
|
14
|
-
} from "./
|
|
14
|
+
} from "./worktree-9rqn6x4v.js";
|
|
15
15
|
|
|
16
16
|
// src/websearch.ts
|
|
17
17
|
var exports_websearch3 = {};
|
|
18
18
|
__export(exports_websearch3, {
|
|
19
19
|
DisabledError: () => DisabledError2,
|
|
20
|
-
Event: () =>
|
|
21
|
-
ID: () =>
|
|
20
|
+
Event: () => Event5,
|
|
21
|
+
ID: () => ID4,
|
|
22
22
|
Input: () => Input13,
|
|
23
23
|
Provider: () => Provider2,
|
|
24
24
|
ProviderKey: () => ProviderKey2,
|
|
@@ -37,20 +37,20 @@ import { SessionEvent } from "@opencode-ai/schema/session-event";
|
|
|
37
37
|
import { Clock, Context, Effect, Layer, Option, Schema, Stream } from "effect";
|
|
38
38
|
import { HttpClientError } from "effect/unstable/http";
|
|
39
39
|
import { makeLocationNode } from "@opencode-ai/util/effect/app-node";
|
|
40
|
-
import { Event as
|
|
41
|
-
var
|
|
40
|
+
import { Event as Event5 } from "@opencode-ai/schema/websearch";
|
|
41
|
+
var ID4 = WebSearch.ID;
|
|
42
42
|
var Provider2 = WebSearch.Provider;
|
|
43
43
|
var Input13 = WebSearch.Input;
|
|
44
44
|
var Result2 = WebSearch.Result;
|
|
45
45
|
var Response2 = WebSearch.Response;
|
|
46
46
|
var ProviderKey2 = "websearch:provider";
|
|
47
|
-
var Selection2 = Schema.Union([
|
|
47
|
+
var Selection2 = Schema.Union([ID4, Schema.Literal("random"), Schema.Literal(false)]);
|
|
48
48
|
|
|
49
49
|
class ProviderRequiredError2 extends Schema.TaggedError()("WebSearch.ProviderRequired", {}) {
|
|
50
50
|
}
|
|
51
51
|
|
|
52
52
|
class ProviderNotFoundError2 extends Schema.TaggedError()("WebSearch.ProviderNotFound", {
|
|
53
|
-
providerID:
|
|
53
|
+
providerID: ID4
|
|
54
54
|
}) {
|
|
55
55
|
}
|
|
56
56
|
|
|
@@ -58,7 +58,7 @@ class DisabledError2 extends Schema.TaggedError()("WebSearch.Disabled", {}) {
|
|
|
58
58
|
}
|
|
59
59
|
|
|
60
60
|
class RequestError2 extends Schema.TaggedError()("WebSearch.Request", {
|
|
61
|
-
providerID:
|
|
61
|
+
providerID: ID4,
|
|
62
62
|
cause: Schema.Defect()
|
|
63
63
|
}) {
|
|
64
64
|
}
|
|
@@ -66,8 +66,8 @@ class RequestError2 extends Schema.TaggedError()("WebSearch.Request", {
|
|
|
66
66
|
class Service21 extends Context.Service()("@opencode/WebSearch") {
|
|
67
67
|
}
|
|
68
68
|
var layer = Layer.effect(Service21, Effect.gen(function* () {
|
|
69
|
-
const bus = yield*
|
|
70
|
-
const kv = yield*
|
|
69
|
+
const bus = yield* Service79;
|
|
70
|
+
const kv = yield* Service73;
|
|
71
71
|
const decodeResults = Schema.decodeUnknownEffect(Schema.Array(Result2));
|
|
72
72
|
const cooldowns = new Map;
|
|
73
73
|
const preferred = new Map;
|
|
@@ -187,7 +187,7 @@ function cooldownMillis(value, now) {
|
|
|
187
187
|
var node25 = makeLocationNode({
|
|
188
188
|
service: Service21,
|
|
189
189
|
layer,
|
|
190
|
-
deps: [
|
|
190
|
+
deps: [node84, node78]
|
|
191
191
|
});
|
|
192
192
|
|
|
193
|
-
export {
|
|
193
|
+
export { ID4, Provider2, Input13, Result2, Response2, ProviderKey2, Selection2, ProviderRequiredError2, ProviderNotFoundError2, DisabledError2, RequestError2, Service21, node25, exports_websearch3, Event5 };
|
|
@@ -1,19 +1,19 @@
|
|
|
1
1
|
import {
|
|
2
2
|
Service80,
|
|
3
|
-
|
|
4
|
-
} from "./
|
|
3
|
+
node85
|
|
4
|
+
} from "./worktree-d4w17cfe.js";
|
|
5
5
|
import {
|
|
6
6
|
Key3,
|
|
7
7
|
removed2,
|
|
8
|
-
|
|
8
|
+
make17,
|
|
9
9
|
combine2
|
|
10
|
-
} from "./
|
|
10
|
+
} from "./worktree-28pcbh69.js";
|
|
11
11
|
import {
|
|
12
12
|
InstructionEntryTable2
|
|
13
|
-
} from "./
|
|
13
|
+
} from "./worktree-hrvm11jt.js";
|
|
14
14
|
import {
|
|
15
15
|
__export
|
|
16
|
-
} from "./
|
|
16
|
+
} from "./worktree-9rqn6x4v.js";
|
|
17
17
|
|
|
18
18
|
// src/session/instruction-entry.ts
|
|
19
19
|
var exports_instruction_entry = {};
|
|
@@ -22,11 +22,11 @@ __export(exports_instruction_entry, {
|
|
|
22
22
|
InstructionEntry: () => exports_instruction_entry,
|
|
23
23
|
Key: () => Key2,
|
|
24
24
|
MaxValueBytes: () => MaxValueBytes2,
|
|
25
|
-
Service: () =>
|
|
25
|
+
Service: () => Service29,
|
|
26
26
|
Snapshot: () => Snapshot2,
|
|
27
27
|
ValueTooLargeError: () => ValueTooLargeError2,
|
|
28
28
|
initialize: () => initialize2,
|
|
29
|
-
node: () =>
|
|
29
|
+
node: () => node34,
|
|
30
30
|
snapshot: () => snapshot2
|
|
31
31
|
});
|
|
32
32
|
import { and, asc, eq, isNotNull, isNull, ne, or } from "drizzle-orm";
|
|
@@ -56,12 +56,12 @@ var initialize2 = Effect.fn("InstructionEntry.initialize")(function* (db, sessio
|
|
|
56
56
|
}))).run().pipe(Effect.orDie), { discard: true });
|
|
57
57
|
});
|
|
58
58
|
|
|
59
|
-
class
|
|
59
|
+
class Service29 extends Context.Service()("@opencode/InstructionEntry") {
|
|
60
60
|
}
|
|
61
61
|
var renderValue = (value) => typeof value === "string" ? value : JSON.stringify(value, null, 2);
|
|
62
62
|
var renderBlock = (key, value) => [`<context key="${key}">`, renderValue(value), "</context>"].join(`
|
|
63
63
|
`);
|
|
64
|
-
var source = (entry) =>
|
|
64
|
+
var source = (entry) => make17({
|
|
65
65
|
key: Key3.make(`api/${entry.key}`),
|
|
66
66
|
codec: Schema.toCodecJson(Schema.Json),
|
|
67
67
|
read: Effect.succeed(entry.removed ? removed2 : entry.value),
|
|
@@ -75,7 +75,7 @@ var source = (entry) => make18({
|
|
|
75
75
|
removed: () => `The context under "${entry.key}" no longer applies. Disregard it.`
|
|
76
76
|
}
|
|
77
77
|
});
|
|
78
|
-
var layer = Layer.effect(
|
|
78
|
+
var layer = Layer.effect(Service29, Effect.gen(function* () {
|
|
79
79
|
const { db } = yield* Service80;
|
|
80
80
|
const rows = Effect.fnUntraced(function* (sessionID, includeRemoved) {
|
|
81
81
|
return yield* db.select({
|
|
@@ -108,8 +108,8 @@ var layer = Layer.effect(Service28, Effect.gen(function* () {
|
|
|
108
108
|
const load = Effect.fn("InstructionEntry.load")(function* (sessionID) {
|
|
109
109
|
return combine2((yield* rows(sessionID, true)).map(source));
|
|
110
110
|
});
|
|
111
|
-
return
|
|
111
|
+
return Service29.of({ list, put, remove, load });
|
|
112
112
|
}));
|
|
113
|
-
var
|
|
113
|
+
var node34 = makeLocationNode({ service: Service29, layer, deps: [node85] });
|
|
114
114
|
|
|
115
|
-
export { Key2, Info5, Snapshot2, MaxValueBytes2, ValueTooLargeError2, snapshot2, initialize2,
|
|
115
|
+
export { Key2, Info5, Snapshot2, MaxValueBytes2, ValueTooLargeError2, snapshot2, initialize2, Service29, node34, exports_instruction_entry };
|
|
@@ -1,34 +1,34 @@
|
|
|
1
1
|
import {
|
|
2
|
-
|
|
3
|
-
} from "./
|
|
2
|
+
Service79
|
|
3
|
+
} from "./worktree-dng5ka12.js";
|
|
4
4
|
import {
|
|
5
|
-
|
|
6
|
-
} from "./
|
|
5
|
+
ID14
|
|
6
|
+
} from "./worktree-zkj92s1w.js";
|
|
7
7
|
import {
|
|
8
|
-
|
|
9
|
-
} from "./
|
|
8
|
+
ID13
|
|
9
|
+
} from "./worktree-k3skpd5n.js";
|
|
10
10
|
import {
|
|
11
|
-
|
|
12
|
-
} from "./
|
|
11
|
+
Event14
|
|
12
|
+
} from "./worktree-660eg1b9.js";
|
|
13
13
|
import {
|
|
14
|
-
|
|
15
|
-
} from "./
|
|
14
|
+
ID9
|
|
15
|
+
} from "./worktree-fgdwx9dj.js";
|
|
16
16
|
import {
|
|
17
|
-
|
|
18
|
-
} from "./
|
|
17
|
+
Service52
|
|
18
|
+
} from "./worktree-30e1hbbk.js";
|
|
19
19
|
import {
|
|
20
|
-
|
|
21
|
-
} from "./
|
|
20
|
+
get3
|
|
21
|
+
} from "./worktree-61k64wys.js";
|
|
22
22
|
|
|
23
23
|
// src/plugin/provider/modal.ts
|
|
24
24
|
import { Effect, Semaphore, Stream } from "effect";
|
|
25
25
|
import { define } from "@opencode-ai/plugin/effect/plugin";
|
|
26
|
-
var providerID =
|
|
26
|
+
var providerID = ID14.make("modal");
|
|
27
27
|
var ModalPlugin2 = define({
|
|
28
28
|
id: "opencode.provider.modal",
|
|
29
29
|
effect: Effect.fn(function* (ctx) {
|
|
30
|
-
const catalog = yield*
|
|
31
|
-
const bus = yield*
|
|
30
|
+
const catalog = yield* Service52;
|
|
31
|
+
const bus = yield* Service79;
|
|
32
32
|
const loading = Semaphore.makeUnsafe(1);
|
|
33
33
|
const loaded = {};
|
|
34
34
|
const load = Effect.fn("ModalPlugin.load")(function* () {
|
|
@@ -47,7 +47,7 @@ var ModalPlugin2 = define({
|
|
|
47
47
|
loaded.baseURL = baseURL;
|
|
48
48
|
const existing = (yield* catalog.model.all()).filter((model) => model.providerID === providerID);
|
|
49
49
|
loaded.models = yield* Effect.tryPromise({
|
|
50
|
-
try: () =>
|
|
50
|
+
try: () => get3(baseURL, apiKey, existing),
|
|
51
51
|
catch: (cause) => cause
|
|
52
52
|
}).pipe(Effect.catch((cause) => Effect.logWarning("failed to sync Modal models", { cause }).pipe(Effect.as(undefined))));
|
|
53
53
|
});
|
|
@@ -58,7 +58,7 @@ var ModalPlugin2 = define({
|
|
|
58
58
|
if (!loaded.models)
|
|
59
59
|
return;
|
|
60
60
|
for (const id of item.models.keys()) {
|
|
61
|
-
if (!loaded.models.has(
|
|
61
|
+
if (!loaded.models.has(ID13.make(id)))
|
|
62
62
|
evt.model.remove(item.provider.id, id);
|
|
63
63
|
}
|
|
64
64
|
for (const [id, model] of loaded.models) {
|
|
@@ -66,7 +66,7 @@ var ModalPlugin2 = define({
|
|
|
66
66
|
}
|
|
67
67
|
});
|
|
68
68
|
const refresh = () => loading.withPermit(load().pipe(Effect.andThen(ctx.catalog.reload())));
|
|
69
|
-
yield* bus.subscribe(
|
|
69
|
+
yield* bus.subscribe(Event14.Switched).pipe(Stream.filter((event) => event.data.integrationID === ID9.make("modal")), Stream.runForEach(refresh), Effect.forkScoped({ startImmediately: true }));
|
|
70
70
|
yield* refresh().pipe(Effect.forkScoped);
|
|
71
71
|
})
|
|
72
72
|
});
|
|
@@ -1,44 +1,44 @@
|
|
|
1
1
|
import {
|
|
2
|
-
|
|
3
|
-
} from "./
|
|
2
|
+
Service48
|
|
3
|
+
} from "./worktree-471a560f.js";
|
|
4
4
|
import {
|
|
5
5
|
MAX_MARKDOWN_BYTES2,
|
|
6
6
|
convertHTMLToMarkdown2
|
|
7
|
-
} from "./
|
|
7
|
+
} from "./worktree-a1tpkmh4.js";
|
|
8
8
|
import {
|
|
9
9
|
collectBoundedResponseBody2
|
|
10
|
-
} from "./
|
|
10
|
+
} from "./worktree-3v8g72cx.js";
|
|
11
11
|
import {
|
|
12
12
|
__export
|
|
13
|
-
} from "./
|
|
13
|
+
} from "./worktree-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: () => Input7,
|
|
20
|
+
MAX_RESPONSE_BYTES: () => MAX_RESPONSE_BYTES2,
|
|
21
21
|
MAX_TIMEOUT_SECONDS: () => MAX_TIMEOUT_SECONDS2,
|
|
22
|
-
Plugin: () =>
|
|
22
|
+
Plugin: () => Plugin7,
|
|
23
23
|
WebFetchTool: () => exports_webfetch,
|
|
24
24
|
convertHTMLToMarkdown: () => convertHTMLToMarkdown2,
|
|
25
|
-
description: () =>
|
|
25
|
+
description: () => description4,
|
|
26
26
|
extractTextFromHTML: () => extractTextFromHTML2,
|
|
27
|
-
name: () =>
|
|
27
|
+
name: () => name7
|
|
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 name7 = "webfetch";
|
|
34
|
+
var MAX_RESPONSE_BYTES2 = MAX_MARKDOWN_BYTES2;
|
|
35
35
|
var DEFAULT_TIMEOUT_SECONDS2 = 30;
|
|
36
36
|
var MAX_TIMEOUT_SECONDS2 = 120;
|
|
37
|
-
var
|
|
37
|
+
var description4 = `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 Input7 = 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 Input4 = Schema.Struct({
|
|
|
48
48
|
var Output = Schema.Struct({
|
|
49
49
|
url: Schema.String,
|
|
50
50
|
contentType: Schema.String,
|
|
51
|
-
format:
|
|
51
|
+
format: Input7.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 Plugin7 = {
|
|
96
96
|
id: "opencode.tool.webfetch",
|
|
97
97
|
effect: Effect.fn("WebFetchTool.Plugin")(function* (ctx) {
|
|
98
98
|
const http = yield* HttpClient.HttpClient;
|
|
99
|
-
const permission = yield*
|
|
99
|
+
const permission = yield* Service48;
|
|
100
100
|
yield* ctx.tool.transform((editor) => editor.add({
|
|
101
|
-
name:
|
|
101
|
+
name: name7,
|
|
102
102
|
options: { codemode: false },
|
|
103
|
-
description:
|
|
104
|
-
input:
|
|
103
|
+
description: description4,
|
|
104
|
+
input: Input7,
|
|
105
105
|
output: Output,
|
|
106
106
|
execute: (input, context) => Effect.gen(function* () {
|
|
107
107
|
yield* Effect.try({
|
|
@@ -109,7 +109,7 @@ var Plugin17 = {
|
|
|
109
109
|
catch: (error) => error
|
|
110
110
|
});
|
|
111
111
|
yield* permission.assert({
|
|
112
|
-
action:
|
|
112
|
+
action: name7,
|
|
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 { name7, MAX_RESPONSE_BYTES2, DEFAULT_TIMEOUT_SECONDS2, MAX_TIMEOUT_SECONDS2, description4, Input7, Plugin7, extractTextFromHTML2, exports_webfetch };
|
|
@@ -1,66 +1,66 @@
|
|
|
1
1
|
import {
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
} from "./
|
|
2
|
+
Service79,
|
|
3
|
+
node84
|
|
4
|
+
} from "./worktree-dng5ka12.js";
|
|
5
5
|
import {
|
|
6
6
|
Service76,
|
|
7
|
-
|
|
8
|
-
} from "./
|
|
7
|
+
node81
|
|
8
|
+
} from "./worktree-842v7csv.js";
|
|
9
9
|
import {
|
|
10
|
-
|
|
11
|
-
} from "./
|
|
10
|
+
ID3
|
|
11
|
+
} from "./worktree-b5q5y4vk.js";
|
|
12
12
|
import {
|
|
13
|
-
|
|
13
|
+
Service60,
|
|
14
14
|
login2,
|
|
15
|
-
|
|
16
|
-
} from "./
|
|
15
|
+
node63
|
|
16
|
+
} from "./worktree-acbvwaxg.js";
|
|
17
17
|
import {
|
|
18
18
|
lazy2
|
|
19
|
-
} from "./
|
|
19
|
+
} from "./worktree-88xbtdfr.js";
|
|
20
20
|
import {
|
|
21
21
|
__export
|
|
22
|
-
} from "./
|
|
22
|
+
} from "./worktree-9rqn6x4v.js";
|
|
23
23
|
|
|
24
24
|
// src/pty.ts
|
|
25
25
|
var exports_pty = {};
|
|
26
26
|
__export(exports_pty, {
|
|
27
|
-
CreateInput: () =>
|
|
28
|
-
Event: () =>
|
|
27
|
+
CreateInput: () => CreateInput2,
|
|
28
|
+
Event: () => Event4,
|
|
29
29
|
ExitedError: () => ExitedError2,
|
|
30
|
-
Info: () =>
|
|
31
|
-
NotFoundError: () =>
|
|
30
|
+
Info: () => Info3,
|
|
31
|
+
NotFoundError: () => NotFoundError2,
|
|
32
32
|
Pty: () => exports_pty,
|
|
33
|
-
Service: () =>
|
|
33
|
+
Service: () => Service16,
|
|
34
34
|
UpdateInput: () => UpdateInput2,
|
|
35
|
-
node: () =>
|
|
35
|
+
node: () => node20
|
|
36
36
|
});
|
|
37
37
|
import { makeLocationNode } from "@opencode-ai/util/effect/app-node";
|
|
38
38
|
import { Context, Effect, Layer, Schema } from "effect";
|
|
39
39
|
import { Pty } from "@opencode-ai/schema/pty";
|
|
40
|
-
import { Event as
|
|
40
|
+
import { Event as Event4 } from "@opencode-ai/schema/pty";
|
|
41
41
|
var BUFFER_LIMIT = 1024 * 1024 * 2;
|
|
42
42
|
var EXITED_LIMIT = 25;
|
|
43
43
|
var pty = lazy2(() => import("#pty"));
|
|
44
|
-
var
|
|
45
|
-
var
|
|
44
|
+
var Info3 = Pty.Info;
|
|
45
|
+
var CreateInput2 = Pty.CreateInput;
|
|
46
46
|
var UpdateInput2 = Pty.UpdateInput;
|
|
47
47
|
|
|
48
|
-
class
|
|
49
|
-
ptyID:
|
|
48
|
+
class NotFoundError2 extends Schema.TaggedError()("Pty.NotFoundError", {
|
|
49
|
+
ptyID: ID3
|
|
50
50
|
}) {
|
|
51
51
|
}
|
|
52
52
|
|
|
53
53
|
class ExitedError2 extends Schema.TaggedError()("Pty.ExitedError", {
|
|
54
|
-
ptyID:
|
|
54
|
+
ptyID: ID3
|
|
55
55
|
}) {
|
|
56
56
|
}
|
|
57
57
|
|
|
58
|
-
class
|
|
58
|
+
class Service16 extends Context.Service()("@opencode/Pty") {
|
|
59
59
|
}
|
|
60
|
-
var layer = Layer.effect(
|
|
61
|
-
const bus = yield*
|
|
60
|
+
var layer = Layer.effect(Service16, Effect.gen(function* () {
|
|
61
|
+
const bus = yield* Service79;
|
|
62
62
|
const location = yield* Service76;
|
|
63
|
-
const shell = yield*
|
|
63
|
+
const shell = yield* Service60;
|
|
64
64
|
const context = yield* Effect.context();
|
|
65
65
|
const runFork = Effect.runForkWith(context);
|
|
66
66
|
const sessions = new Map;
|
|
@@ -97,7 +97,7 @@ var layer = Layer.effect(Service67, Effect.gen(function* () {
|
|
|
97
97
|
const requireSession = Effect.fn("Pty.requireSession")(function* (id) {
|
|
98
98
|
const session = sessions.get(id);
|
|
99
99
|
if (!session)
|
|
100
|
-
return yield* new
|
|
100
|
+
return yield* new NotFoundError2({ ptyID: id });
|
|
101
101
|
return session;
|
|
102
102
|
});
|
|
103
103
|
const removeSession = Effect.fnUntraced(function* (id) {
|
|
@@ -123,7 +123,7 @@ var layer = Layer.effect(Service67, Effect.gen(function* () {
|
|
|
123
123
|
return (yield* requireSession(id)).info;
|
|
124
124
|
});
|
|
125
125
|
const create = Effect.fn("Pty.create")(function* (input) {
|
|
126
|
-
const id =
|
|
126
|
+
const id = ID3.ascending();
|
|
127
127
|
const command = input.command || (yield* shell.resolve({ priority: "config" }));
|
|
128
128
|
const args = login2(command) ? [...input.args ?? [], "-l"] : [...input.args ?? []];
|
|
129
129
|
const cwd = input.cwd || location.directory;
|
|
@@ -268,12 +268,12 @@ var layer = Layer.effect(Service67, Effect.gen(function* () {
|
|
|
268
268
|
}
|
|
269
269
|
};
|
|
270
270
|
});
|
|
271
|
-
return
|
|
271
|
+
return Service16.of({ list, get, create, update, remove, write, attach });
|
|
272
272
|
}));
|
|
273
|
-
var
|
|
274
|
-
service:
|
|
273
|
+
var node20 = makeLocationNode({
|
|
274
|
+
service: Service16,
|
|
275
275
|
layer,
|
|
276
|
-
deps: [
|
|
276
|
+
deps: [node84, node81, node63]
|
|
277
277
|
});
|
|
278
278
|
|
|
279
|
-
export {
|
|
279
|
+
export { Info3, CreateInput2, UpdateInput2, NotFoundError2, ExitedError2, Service16, node20, exports_pty, Event4 };
|