@opencode-ai/core 0.0.0-beta-19234 → 0.0.0-beta-19266
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 +79 -79
- package/dist/aisdk-native.js +2 -2
- package/dist/aisdk.js +6 -6
- package/dist/app.js +7 -7
- package/dist/bus.js +67 -67
- package/dist/catalog.js +83 -83
- package/dist/chunks/{worktree-41mncz27.js → schema-01w7s3hf.js} +5 -5
- package/dist/chunks/{worktree-0e0xafbb.js → schema-0e0xafbb.js} +2 -2
- package/dist/chunks/{worktree-0paq2nw3.js → schema-0paq2nw3.js} +1 -1
- package/dist/chunks/{worktree-0q0f95c6.js → schema-0q0f95c6.js} +1 -1
- package/dist/chunks/{worktree-mtd0mgtt.js → schema-0qvt9njx.js} +34 -34
- package/dist/chunks/{worktree-vqfj6rgg.js → schema-0r9t8f77.js} +18 -18
- package/dist/chunks/{worktree-0s9ayhjt.js → schema-0s9ayhjt.js} +1 -1
- package/dist/chunks/{worktree-mq9r6drf.js → schema-0vqp07g5.js} +3 -3
- package/dist/chunks/{worktree-cfsc9srb.js → schema-17hja9f4.js} +8 -8
- package/dist/chunks/{worktree-9g259f3c.js → schema-1awmdn6g.js} +8 -8
- package/dist/chunks/{worktree-1ct4r87x.js → schema-1ct4r87x.js} +1 -1
- package/dist/chunks/{worktree-s6z4mph6.js → schema-1hnatcq2.js} +6 -6
- package/dist/chunks/{worktree-zn2cbnfs.js → schema-1nt798q2.js} +11 -11
- package/dist/chunks/{worktree-hevn35yy.js → schema-1s4vv42h.js} +7 -7
- package/dist/chunks/{worktree-fj906p38.js → schema-1v896bp7.js} +15 -15
- package/dist/chunks/{worktree-zh2rh6rn.js → schema-20evr3mp.js} +17 -17
- package/dist/chunks/{worktree-21r38tys.js → schema-21r38tys.js} +1 -1
- package/dist/chunks/{worktree-m9xhrdze.js → schema-234pz9hm.js} +11 -11
- package/dist/chunks/{worktree-dssx1y55.js → schema-23bjxdcp.js} +24 -24
- package/dist/chunks/{worktree-kg8hghrp.js → schema-23r2qrzy.js} +23 -23
- package/dist/chunks/{worktree-2402vzrj.js → schema-2402vzrj.js} +1 -1
- package/dist/chunks/{worktree-29x78va6.js → schema-29x78va6.js} +2 -2
- package/dist/chunks/{worktree-ajphwd6y.js → schema-2a1acymz.js} +8 -8
- package/dist/chunks/{worktree-2a5m3afh.js → schema-2a5m3afh.js} +1 -1
- package/dist/chunks/{worktree-t5h4rs02.js → schema-2cr5jxfp.js} +6 -6
- package/dist/chunks/{worktree-pq5hrpmt.js → schema-2g49wpqd.js} +10 -10
- package/dist/chunks/{worktree-2ht70gj7.js → schema-2ht70gj7.js} +1 -1
- package/dist/chunks/{worktree-fmanbg8s.js → schema-2t24vjmc.js} +24 -24
- package/dist/chunks/{worktree-8dff8bqa.js → schema-35ng7dkh.js} +5 -5
- package/dist/chunks/{worktree-wt966625.js → schema-39k66fkr.js} +20 -20
- package/dist/chunks/{worktree-gdvy8fx6.js → schema-3fc6dm20.js} +4 -4
- package/dist/chunks/{worktree-5r8w58wp.js → schema-3g0e3esv.js} +20 -20
- package/dist/chunks/{worktree-3hepkmqq.js → schema-3hepkmqq.js} +1 -1
- package/dist/chunks/{worktree-r98e92ep.js → schema-3j8sdtpz.js} +4 -4
- package/dist/chunks/{worktree-3qzbfqsy.js → schema-3qzbfqsy.js} +2 -2
- package/dist/chunks/{worktree-3smtnn6g.js → schema-3smtnn6g.js} +1 -1
- package/dist/chunks/{worktree-3tvqynh2.js → schema-3tvqynh2.js} +1 -1
- package/dist/chunks/{worktree-7214vx64.js → schema-418ebam3.js} +4 -4
- package/dist/chunks/{worktree-454k5vzh.js → schema-454k5vzh.js} +1 -1
- package/dist/chunks/{worktree-eg4pr325.js → schema-46e97tr7.js} +10 -10
- package/dist/chunks/{worktree-f8pec4ch.js → schema-4a774hnm.js} +17 -17
- package/dist/chunks/{worktree-5agnkr4h.js → schema-4jtjn2gj.js} +18 -18
- package/dist/chunks/{worktree-xgqr5ys9.js → schema-4p7snnyp.js} +24 -24
- package/dist/chunks/{worktree-4r2nyarf.js → schema-4r2nyarf.js} +1 -1
- package/dist/chunks/{worktree-ge7ds67b.js → schema-525tn4kx.js} +2 -2
- package/dist/chunks/{worktree-410zfba8.js → schema-54m6nc3n.js} +2 -2
- package/dist/chunks/schema-54v3xmsq.js +22 -0
- package/dist/chunks/{worktree-7dz4r7mk.js → schema-54y1e3qg.js} +8 -8
- package/dist/chunks/{worktree-5daktx2q.js → schema-5daktx2q.js} +1 -1
- package/dist/chunks/{worktree-5fmxt4p5.js → schema-5fmxt4p5.js} +1 -1
- package/dist/chunks/{worktree-5jvc5tg2.js → schema-5jvc5tg2.js} +1 -1
- package/dist/chunks/{worktree-1n116cmy.js → schema-637qq8n2.js} +9 -9
- package/dist/chunks/{worktree-pr0pn8m6.js → schema-686b062j.js} +15 -15
- package/dist/chunks/{worktree-bsv171pv.js → schema-6926ty5t.js} +8 -8
- package/dist/chunks/{worktree-tq32dsfx.js → schema-6bsa9frc.js} +15 -15
- package/dist/chunks/{worktree-28pcbh69.js → schema-6e958v7x.js} +4 -4
- package/dist/chunks/{worktree-wjy58fct.js → schema-6fpeds7j.js} +10 -10
- package/dist/chunks/{worktree-g6njkj82.js → schema-6gdx6h15.js} +15 -15
- package/dist/chunks/{worktree-dng5ka12.js → schema-6qptncg2.js} +4 -4
- package/dist/chunks/{worktree-c83taev4.js → schema-6y0247yb.js} +9 -9
- package/dist/chunks/{worktree-711hfp6y.js → schema-711hfp6y.js} +2 -2
- package/dist/chunks/{worktree-72nftnjy.js → schema-72nftnjy.js} +2 -2
- package/dist/chunks/{worktree-ckfw619d.js → schema-74y2dvrh.js} +41 -41
- package/dist/chunks/{worktree-cnvcdvk7.js → schema-7a2q0zfc.js} +6 -6
- package/dist/chunks/{worktree-7bmhse3q.js → schema-7bmhse3q.js} +1 -1
- package/dist/chunks/{worktree-sy2xv61m.js → schema-7d8vear2.js} +1 -1
- package/dist/chunks/{worktree-2k8khapm.js → schema-7dqw4kz8.js} +5 -5
- package/dist/chunks/{worktree-ce9ncmzb.js → schema-7e1496vv.js} +27 -4
- package/dist/chunks/{worktree-wx13dy4y.js → schema-7gg2m3zr.js} +15 -12
- package/dist/chunks/{worktree-6yybv5x8.js → schema-7gq8qbc1.js} +17 -17
- package/dist/chunks/{worktree-62mr7g8a.js → schema-7rv5x4wn.js} +11 -11
- package/dist/chunks/{worktree-b1chm04x.js → schema-7sd9q442.js} +7 -7
- package/dist/chunks/{worktree-vspn1zx3.js → schema-7w1c3z11.js} +25 -25
- package/dist/chunks/schema-7zk4hah4.js +4 -0
- package/dist/chunks/{worktree-yfdj9tfx.js → schema-7zsnkm1p.js} +37 -45
- package/dist/chunks/{worktree-bpnz08mb.js → schema-809xf7e2.js} +2 -2
- package/dist/chunks/{worktree-0rkdmzyv.js → schema-81ggxfts.js} +9 -9
- package/dist/chunks/{worktree-yfbd16n1.js → schema-81htp2jj.js} +7 -5
- package/dist/chunks/{worktree-qafexnn6.js → schema-85jr47cf.js} +13 -9
- package/dist/chunks/{worktree-m7nj5h8z.js → schema-8ak5gdn6.js} +14 -14
- package/dist/chunks/{worktree-tqmakht3.js → schema-8aw20fxv.js} +186 -91
- package/dist/chunks/{worktree-7er3jcv0.js → schema-8ay24fmk.js} +26 -26
- package/dist/chunks/{worktree-cnze8n7v.js → schema-8d0pmt0f.js} +10 -10
- package/dist/chunks/{worktree-vhjdrq5e.js → schema-8da146zc.js} +5 -5
- package/dist/chunks/{worktree-mw548jxj.js → schema-8gsst550.js} +18 -18
- package/dist/chunks/{worktree-qvk768dr.js → schema-8h2x3rhz.js} +11 -11
- package/dist/chunks/{worktree-ybjzef57.js → schema-8jn5w37c.js} +5 -5
- package/dist/chunks/{worktree-avwxaxy8.js → schema-8mvvefrh.js} +19 -19
- package/dist/chunks/{worktree-t5ad4xaj.js → schema-8x2kyzb6.js} +6 -6
- package/dist/chunks/{worktree-ex625ka3.js → schema-92mcpazx.js} +5 -5
- package/dist/chunks/{worktree-zh93cpfk.js → schema-934rg3e5.js} +18 -18
- package/dist/chunks/{worktree-y2cqme3r.js → schema-93a8yfjt.js} +5 -5
- package/dist/chunks/{worktree-s06dat1t.js → schema-9c51rpw1.js} +9 -9
- package/dist/chunks/{worktree-pjw83wd2.js → schema-9k252bfj.js} +25 -25
- package/dist/chunks/{worktree-xk6kcd15.js → schema-9qkzxvef.js} +3 -3
- package/dist/chunks/{worktree-9qm9egsn.js → schema-9qm9egsn.js} +2 -2
- package/dist/chunks/{worktree-dpdxxwta.js → schema-9tjsbxxt.js} +4 -4
- package/dist/chunks/{worktree-z1sr0xrs.js → schema-9tk8rzfb.js} +4 -4
- package/dist/chunks/{worktree-h08w630h.js → schema-a35es3dn.js} +50 -59
- package/dist/chunks/{worktree-1gvs4d4m.js → schema-a6h88whx.js} +20 -20
- package/dist/chunks/{worktree-aaet6srn.js → schema-aaet6srn.js} +2 -2
- package/dist/chunks/{worktree-2hth30a0.js → schema-ah4q1w3j.js} +8 -8
- package/dist/chunks/schema-ahspyapp.js +247 -0
- package/dist/chunks/{worktree-ajtjthsy.js → schema-ajtjthsy.js} +2 -2
- package/dist/chunks/{worktree-ze4dnq9c.js → schema-axmvebxj.js} +5 -5
- package/dist/chunks/{worktree-b6gygkdw.js → schema-b6gygkdw.js} +2 -2
- package/dist/chunks/{worktree-b9wsbatv.js → schema-b9wsbatv.js} +1 -1
- package/dist/chunks/{worktree-t9qj8c83.js → schema-be3ps6fk.js} +12 -12
- package/dist/chunks/{worktree-hnyf01b0.js → schema-bnfahk6g.js} +22 -6
- package/dist/chunks/{worktree-tmjhps6z.js → schema-bpxz7ydq.js} +11 -11
- package/dist/chunks/{worktree-xwsmtwfv.js → schema-c7jvcatc.js} +5 -5
- package/dist/chunks/{worktree-q8qsy7xy.js → schema-cm19gqaq.js} +17 -17
- package/dist/chunks/{worktree-ht963k40.js → schema-cv95fcmp.js} +5 -5
- package/dist/chunks/{worktree-nz4zy0sw.js → schema-cy23n0eh.js} +19 -19
- package/dist/chunks/{worktree-61k64wys.js → schema-cyjkg8gk.js} +18 -18
- package/dist/chunks/{worktree-edz5pbw5.js → schema-d5agjf18.js} +27 -56
- package/dist/chunks/{worktree-d72308c8.js → schema-d72308c8.js} +2 -2
- package/dist/chunks/{worktree-acbvwaxg.js → schema-d73w0rgx.js} +15 -15
- package/dist/chunks/{worktree-7w74e5nf.js → schema-d910tjb6.js} +9 -9
- package/dist/chunks/{worktree-660eg1b9.js → schema-dcxg8drc.js} +28 -28
- package/dist/chunks/{worktree-ypyh08m6.js → schema-dged69jn.js} +4 -4
- package/dist/chunks/{worktree-mh0thj4x.js → schema-e51fc25h.js} +18 -18
- package/dist/chunks/{worktree-x4ndt50x.js → schema-e8qch614.js} +14 -14
- package/dist/chunks/{worktree-vxz7khjw.js → schema-ecpey84z.js} +35 -42
- package/dist/chunks/{worktree-jm1y8vkw.js → schema-ehj7vx0b.js} +11 -11
- package/dist/chunks/{worktree-vy8y55ac.js → schema-ep3g8qaw.js} +21 -21
- package/dist/chunks/{worktree-j1yqv9s7.js → schema-es1szyat.js} +15 -15
- package/dist/chunks/{worktree-2sz5zasg.js → schema-ey2qyrhf.js} +21 -21
- package/dist/chunks/{worktree-k1rzh40r.js → schema-f00jbxzz.js} +19 -18
- package/dist/chunks/{worktree-hbxp6gk0.js → schema-f7502g1v.js} +6 -6
- package/dist/chunks/{worktree-ht4ejyw1.js → schema-fee8q97m.js} +13 -13
- package/dist/chunks/{worktree-tgpzk4tr.js → schema-fk6yh78j.js} +10 -10
- package/dist/chunks/{worktree-mtq6xxnx.js → schema-fm2qvscf.js} +7 -7
- package/dist/chunks/{worktree-ne4zyw3a.js → schema-fnxm8qas.js} +12 -12
- package/dist/chunks/{worktree-d4w17cfe.js → schema-fv0bxyhd.js} +3 -3
- package/dist/chunks/{worktree-fxbjtjnd.js → schema-fxbjtjnd.js} +1 -1
- package/dist/chunks/{worktree-fxypknc8.js → schema-fxypknc8.js} +1 -1
- package/dist/chunks/{worktree-63nctvwe.js → schema-fygtvtfb.js} +53 -53
- package/dist/chunks/{worktree-e2xpxj6j.js → schema-g1bsba7w.js} +15 -15
- package/dist/chunks/{worktree-87hmtf6v.js → schema-g608hw24.js} +16 -16
- package/dist/chunks/{worktree-0n1w7scn.js → schema-g8qt226p.js} +5 -5
- package/dist/chunks/{worktree-b08spypp.js → schema-ga3x3tkz.js} +8 -8
- package/dist/chunks/{worktree-gd4qta3r.js → schema-gd4qta3r.js} +1 -1
- package/dist/chunks/{worktree-94pmskv9.js → schema-gjk5sn8n.js} +4 -4
- package/dist/chunks/{worktree-g89m0qrn.js → schema-gnwcgnjb.js} +33 -33
- package/dist/chunks/{worktree-qyza05bp.js → schema-h5fs3t0a.js} +26 -26
- package/dist/chunks/{worktree-h6vf3j39.js → schema-h6vf3j39.js} +1 -1
- package/dist/chunks/{worktree-m9asb4sr.js → schema-he4jbf8x.js} +30 -30
- package/dist/chunks/{worktree-heyhwy2w.js → schema-heyhwy2w.js} +1 -1
- package/dist/chunks/{worktree-tza14zss.js → schema-hf6ertck.js} +34 -34
- package/dist/chunks/{worktree-e82z9tr0.js → schema-hjt4xg1x.js} +7 -7
- package/dist/chunks/{worktree-hrvm11jt.js → schema-hrvm11jt.js} +3 -3
- package/dist/chunks/{worktree-471a560f.js → schema-hsq9qkqb.js} +51 -51
- package/dist/chunks/{worktree-30e1hbbk.js → schema-hys3c6ky.js} +26 -25
- package/dist/chunks/{worktree-v6s3zgrk.js → schema-j53fc2s1.js} +6 -6
- package/dist/chunks/{worktree-gqvj11y0.js → schema-j8bjgp0m.js} +20 -20
- package/dist/chunks/{worktree-adv3g3q6.js → schema-jdcvk5y7.js} +11 -11
- package/dist/chunks/{worktree-z168y132.js → schema-jdd7wz44.js} +35 -44
- package/dist/chunks/{worktree-hctjcsn3.js → schema-jhzxqtm7.js} +68 -63
- package/dist/chunks/{worktree-wgc064dh.js → schema-jp934b96.js} +10 -10
- package/dist/chunks/{worktree-k4bwy1x5.js → schema-k4bwy1x5.js} +1 -1
- package/dist/chunks/{worktree-rd9hzb43.js → schema-k7e3e2sr.js} +16 -16
- package/dist/chunks/{worktree-1pdtxp2d.js → schema-kaqw06zw.js} +1 -1
- package/dist/chunks/{worktree-kg06axw8.js → schema-kg06axw8.js} +1 -1
- package/dist/chunks/{worktree-3cj33xev.js → schema-kh25xj5f.js} +37 -44
- package/dist/chunks/{worktree-06x8he3q.js → schema-kne8f3cn.js} +4 -4
- package/dist/chunks/{worktree-6v6snzyf.js → schema-kqtq9r6d.js} +20 -20
- package/dist/chunks/{worktree-kvsjn1dr.js → schema-kvsjn1dr.js} +2 -2
- package/dist/chunks/{worktree-842v7csv.js → schema-kwt11tv7.js} +17 -17
- package/dist/chunks/{worktree-sxrnkw1n.js → schema-m2dwvqty.js} +9 -9
- package/dist/chunks/{worktree-4tyxcf8v.js → schema-m9hdf67d.js} +30 -30
- package/dist/chunks/{worktree-gvcph31s.js → schema-m9p8h4jk.js} +12 -12
- package/dist/chunks/{worktree-m9w0rfyh.js → schema-m9w0rfyh.js} +1 -1
- package/dist/chunks/{worktree-xy07edwq.js → schema-mbj5j0dx.js} +41 -41
- package/dist/chunks/{worktree-cjrs1hef.js → schema-me8n0gqn.js} +17 -17
- package/dist/chunks/{worktree-56gdpj1q.js → schema-mfqp6xfm.js} +6 -6
- package/dist/chunks/{worktree-73tb2d7t.js → schema-mhkvc446.js} +3 -3
- package/dist/chunks/{worktree-bj3t22s0.js → schema-mj8wbps0.js} +57 -41
- package/dist/chunks/{worktree-7g2k4w5v.js → schema-ne1yvy6p.js} +43 -43
- package/dist/chunks/{worktree-35bk7ths.js → schema-njdd8kjn.js} +83 -83
- package/dist/chunks/{worktree-bg50jbb6.js → schema-npx3gdza.js} +84 -81
- package/dist/chunks/{worktree-g43vvm86.js → schema-ntvpvfq2.js} +7 -7
- package/dist/chunks/{worktree-yh9c67q5.js → schema-p6rz0yzk.js} +4 -4
- package/dist/chunks/{worktree-qyv79zw0.js → schema-p7v84xw5.js} +33 -33
- package/dist/chunks/{worktree-tppvcy65.js → schema-p7xgpz7y.js} +9 -9
- package/dist/chunks/{worktree-nnad2ash.js → schema-p9071pdt.js} +46 -46
- package/dist/chunks/{worktree-7nmnk1wx.js → schema-pac8pssg.js} +20 -20
- package/dist/chunks/{worktree-b9e4evd2.js → schema-pe5crvt1.js} +28 -20
- package/dist/chunks/{worktree-kmcjptjm.js → schema-pfvd2csc.js} +1 -1
- package/dist/chunks/{worktree-pjvnvgmy.js → schema-pjvnvgmy.js} +1 -1
- package/dist/chunks/{worktree-pknna89w.js → schema-pknna89w.js} +1 -1
- package/dist/chunks/{worktree-q3yxb0xv.js → schema-pkqzam1k.js} +11 -11
- package/dist/chunks/{worktree-y14y9keq.js → schema-ps2ypmnz.js} +1 -1
- package/dist/chunks/{worktree-5nygvj5f.js → schema-pt07xbnp.js} +18 -18
- package/dist/chunks/{worktree-rh7y5xh0.js → schema-pydn0w3e.js} +1 -1
- package/dist/chunks/{worktree-nhfc898y.js → schema-q1nkzk48.js} +32 -25
- package/dist/chunks/{worktree-qqt43bp1.js → schema-q1q8dpek.js} +20 -20
- package/dist/chunks/{worktree-yywg80z9.js → schema-q2cdtxy5.js} +6 -6
- package/dist/chunks/{worktree-rfedyjyh.js → schema-qb2yjf91.js} +15 -15
- package/dist/chunks/{worktree-zgsac5yt.js → schema-qk9vesgb.js} +10 -10
- package/dist/chunks/{worktree-qsdy395h.js → schema-qsdy395h.js} +1 -1
- package/dist/chunks/{worktree-qbddy52q.js → schema-qwh8c2js.js} +7 -7
- package/dist/chunks/{worktree-zht09bnk.js → schema-qwxk75cg.js} +8 -8
- package/dist/chunks/{worktree-3883t5g1.js → schema-r1dq9xr8.js} +5 -5
- package/dist/chunks/{worktree-gcaq7q8d.js → schema-r25t3ann.js} +4 -4
- package/dist/chunks/{worktree-r8dhm0tv.js → schema-r8dhm0tv.js} +1 -1
- package/dist/chunks/{worktree-1459npmt.js → schema-r9pjqsyf.js} +31 -39
- package/dist/chunks/{worktree-040j8z8f.js → schema-raa16g9g.js} +3 -3
- package/dist/chunks/{worktree-rap9a73h.js → schema-rap9a73h.js} +1 -1
- package/dist/chunks/{worktree-srxvp5n6.js → schema-raxsvy8j.js} +14 -14
- package/dist/chunks/{worktree-066kw2xy.js → schema-rbhd1hv4.js} +3 -3
- package/dist/chunks/{worktree-45aqx2pr.js → schema-rm3yzcsd.js} +4 -4
- package/dist/chunks/{worktree-qqtwvk4z.js → schema-rp8jz6x1.js} +4 -4
- package/dist/chunks/{worktree-8k6sjvxx.js → schema-rqa18smj.js} +11 -11
- package/dist/chunks/schema-rqdcv1n1.js +55 -0
- package/dist/chunks/{worktree-a29r829w.js → schema-s2e3zm9h.js} +50 -50
- package/dist/chunks/{worktree-r226ndvg.js → schema-s53bq4vw.js} +33 -33
- package/dist/chunks/{worktree-t8vr1kn7.js → schema-s698gkv6.js} +9 -9
- package/dist/chunks/{worktree-sba4qhjf.js → schema-sba4qhjf.js} +1 -1
- package/dist/chunks/{worktree-j6jsstpv.js → schema-sdygzg6k.js} +30 -30
- package/dist/chunks/{worktree-sdm57bgr.js → schema-se2vkk77.js} +19 -19
- package/dist/chunks/{worktree-jw9vr5cv.js → schema-sn3nkvtj.js} +8 -8
- package/dist/chunks/{worktree-tgz6nsmd.js → schema-spftfn4p.js} +47 -47
- package/dist/chunks/{worktree-m7w02m4e.js → schema-sr948aj6.js} +19 -19
- package/dist/chunks/{worktree-enw72f67.js → schema-sy7czwgb.js} +6 -6
- package/dist/chunks/{worktree-a8g0fabb.js → schema-sz9840t7.js} +9 -9
- package/dist/chunks/{worktree-7h10aajm.js → schema-t0dq411k.js} +3 -3
- package/dist/chunks/{worktree-5zcapbqz.js → schema-tan6veb8.js} +29 -29
- package/dist/chunks/{worktree-tazgh4e4.js → schema-tazgh4e4.js} +1 -1
- package/dist/chunks/{worktree-tcezcvh9.js → schema-tcezcvh9.js} +1 -1
- package/dist/chunks/{worktree-tjykrgmx.js → schema-tjykrgmx.js} +1 -1
- package/dist/chunks/{worktree-58hqrsnb.js → schema-tnn3pxdz.js} +26 -26
- package/dist/chunks/{worktree-kk0awzkj.js → schema-trhjdf47.js} +24 -24
- package/dist/chunks/{worktree-1ytn6e3p.js → schema-ts04ntb8.js} +11 -11
- package/dist/chunks/{worktree-9mtg8gdn.js → schema-ttmf2k06.js} +11 -11
- package/dist/chunks/{worktree-wga61mrz.js → schema-v45en8pj.js} +17 -16
- package/dist/chunks/{worktree-pfzksdxq.js → schema-v610d21f.js} +22 -22
- package/dist/chunks/{worktree-zbjnn3ac.js → schema-v72m8j26.js} +7 -0
- package/dist/chunks/{worktree-xpxmebhh.js → schema-vecstcyh.js} +39 -39
- package/dist/chunks/{worktree-9kwyppn5.js → schema-vmv31r6s.js} +19 -19
- package/dist/chunks/{worktree-vynk1gtr.js → schema-vpwgshky.js} +13 -13
- package/dist/chunks/{worktree-najyedn1.js → schema-vrwt7trm.js} +8 -8
- package/dist/chunks/{worktree-prrfs6yw.js → schema-vt9wfr9s.js} +18 -18
- package/dist/chunks/{worktree-fgdwx9dj.js → schema-vwd3d859.js} +24 -24
- package/dist/chunks/{worktree-w3wsvvr9.js → schema-w3wsvvr9.js} +1 -1
- package/dist/chunks/{worktree-jkzajkdb.js → schema-w7xrk89n.js} +18 -18
- package/dist/chunks/{worktree-1wfjb4fb.js → schema-wa8a7neb.js} +1 -1
- package/dist/chunks/{worktree-wvbw7nq4.js → schema-wabsntfg.js} +17 -17
- package/dist/chunks/{worktree-fss4j797.js → schema-wb2q69yx.js} +27 -27
- package/dist/chunks/{worktree-52vxm64v.js → schema-wbvdvtzj.js} +15 -15
- package/dist/chunks/{worktree-wd87259q.js → schema-wd87259q.js} +1 -1
- package/dist/chunks/{worktree-rj2f5sk2.js → schema-wf52tegj.js} +38 -38
- package/dist/chunks/{worktree-7gkmedy0.js → schema-whnf76s8.js} +12 -25
- package/dist/chunks/{worktree-smk292jk.js → schema-wpa91s1b.js} +167 -167
- package/dist/chunks/{worktree-cs4zqdxc.js → schema-wvycr4s3.js} +4 -4
- package/dist/chunks/{worktree-adacqx41.js → schema-wwqw8y3k.js} +17 -17
- package/dist/chunks/{worktree-x1ezjp6w.js → schema-x1ezjp6w.js} +1 -1
- package/dist/chunks/{worktree-mfpdf0ta.js → schema-x71fjkw5.js} +7 -7
- package/dist/chunks/{worktree-2yb0w078.js → schema-x8z6j3kk.js} +3 -3
- package/dist/chunks/{worktree-zkj92s1w.js → schema-xfrwv263.js} +6 -6
- package/dist/chunks/{worktree-xgjy9czn.js → schema-xgjy9czn.js} +2 -2
- package/dist/chunks/{worktree-xr5vwsd4.js → schema-xr5vwsd4.js} +2 -2
- package/dist/chunks/{worktree-b3kfkjj6.js → schema-xrtvrd4c.js} +8 -5
- package/dist/chunks/{worktree-sn5ar8h4.js → schema-xvjj1qqy.js} +1 -1
- package/dist/chunks/{worktree-6y2e0e4e.js → schema-xzzg2aw3.js} +6 -6
- package/dist/chunks/{worktree-y1fvbwt7.js → schema-y1fvbwt7.js} +1 -1
- package/dist/chunks/{worktree-3g2y1byn.js → schema-y4nzzd5t.js} +5 -5
- package/dist/chunks/{worktree-y71avatq.js → schema-y71avatq.js} +1 -1
- package/dist/chunks/{worktree-gq1q1b4e.js → schema-yf1d8svm.js} +11 -11
- package/dist/chunks/schema-yjw6p547.js +114 -0
- package/dist/chunks/{worktree-yp2x3t23.js → schema-yp2x3t23.js} +1 -1
- package/dist/chunks/{worktree-k3skpd5n.js → schema-yx2cz2pp.js} +12 -12
- package/dist/chunks/{worktree-z1k01bn4.js → schema-z1k01bn4.js} +2 -2
- package/dist/chunks/{worktree-rqqsyksf.js → schema-z44293nx.js} +24 -24
- package/dist/chunks/{worktree-txt2cax8.js → schema-za2svx48.js} +286 -284
- package/dist/chunks/{worktree-5d98etyc.js → schema-zmgxegv8.js} +15 -15
- package/dist/chunks/{worktree-kxf02bzq.js → schema-zs79rajt.js} +24 -24
- package/dist/chunks/{worktree-zxq2ej10.js → schema-zxq2ej10.js} +1 -1
- package/dist/chunks/{worktree-c047tdby.js → schema-zy7s2m3e.js} +18 -14
- package/dist/codemode/catalog.js +3 -3
- package/dist/codemode/instructions.js +11 -11
- 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 +115 -115
- package/dist/config/plugin/command.js +207 -206
- package/dist/config/plugin/compaction.js +155 -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 +115 -115
- package/dist/config/plugin/mcp.js +124 -124
- 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 +118 -118
- package/dist/config/plugin/skill-file.js +97 -96
- package/dist/config/plugin/skill.js +136 -135
- package/dist/config/plugin/snapshot.js +115 -115
- package/dist/config/plugin/source.js +111 -111
- package/dist/config/plugin/tool-output.js +117 -117
- package/dist/config/plugin/websearch.js +115 -115
- 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 +115 -115
- package/dist/credential/sql.js +2 -2
- package/dist/credential.js +81 -81
- package/dist/database/database.js +64 -64
- package/dist/database/drizzle/effect-sqlite/driver.js +12 -12
- package/dist/database/drizzle/effect-sqlite/index.js +12 -12
- package/dist/database/drizzle/effect-sqlite/session.js +11 -11
- package/dist/database/drizzle/index.js +13 -13
- 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 +14 -14
- 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 +360 -359
- package/dist/effect/app-node-platform.js +2 -2
- package/dist/effect/keyed-mutex.js +1 -1
- 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 +68 -68
- package/dist/file-access.js +112 -0
- 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 +220 -219
- package/dist/filesystem/protected.js +1 -1
- package/dist/filesystem/search.js +99 -99
- package/dist/filesystem/watcher-binding.js +1 -1
- package/dist/filesystem/watcher.js +13 -13
- package/dist/filesystem.js +96 -96
- package/dist/form.js +82 -82
- package/dist/formatter/builtins.js +4 -4
- package/dist/formatter.js +84 -84
- package/dist/generate.js +89 -89
- package/dist/git.js +7 -7
- 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 +351 -350
- package/dist/instruction-discovery.js +83 -83
- 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 +84 -84
- package/dist/job.js +77 -77
- package/dist/kv/sql.js +2 -2
- package/dist/kv.js +71 -71
- package/dist/location-activity.js +130 -129
- package/dist/location-mutation.js +102 -83
- package/dist/location-service-map.js +83 -83
- package/dist/location-services.js +348 -347
- package/dist/location.js +84 -84
- package/dist/mcp/client.js +86 -86
- package/dist/mcp/index.js +103 -103
- package/dist/mcp/instructions.js +120 -119
- package/dist/mcp/oauth.js +24 -4
- 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 +88 -86
- 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 +80 -80
- package/dist/permission/sql.js +5 -5
- package/dist/permission.js +106 -105
- package/dist/persistent-pty/binary.bun.js +1 -1
- package/dist/persistent-pty/daemon.js +1 -1
- package/dist/persistent-pty/index.js +82 -82
- package/dist/persistent-pty/pty-binding.js +1 -1
- package/dist/persistent-pty.js +73 -73
- package/dist/plugin/agent.js +97 -96
- package/dist/plugin/command.js +94 -94
- package/dist/plugin/hooks.js +5 -5
- package/dist/plugin/host.js +213 -212
- package/dist/plugin/instance.js +5 -5
- package/dist/plugin/internal.js +322 -321
- package/dist/plugin/mcp-codemode-exclusion.js +3 -3
- package/dist/plugin/models-dev.js +75 -75
- package/dist/plugin/module.js +7 -7
- package/dist/plugin/optimize.js +4 -4
- package/dist/plugin/plan.js +97 -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 +80 -80
- 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 +70 -70
- package/dist/plugin/service.js +1 -1
- package/dist/plugin/skill.js +133 -132
- package/dist/plugin/source-directory.js +1 -1
- package/dist/plugin/supervisor.js +337 -336
- package/dist/plugin/update.js +2 -2
- 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 +4 -4
- package/dist/plugin/websearch/parallel.js +6 -6
- package/dist/plugin/websearch/tavily.js +6 -6
- package/dist/plugin.js +222 -221
- package/dist/project/schema.js +8 -8
- package/dist/project/sql.js +4 -4
- package/dist/project.js +83 -83
- 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 +90 -90
- package/dist/reference/instructions.js +84 -84
- package/dist/reference.js +86 -86
- package/dist/repository-cache.js +76 -76
- package/dist/repository.js +1 -1
- package/dist/ripgrep/binary.js +2 -2
- package/dist/ripgrep.js +91 -91
- package/dist/rpc.js +81 -81
- package/dist/schema.js +1 -1
- package/dist/session/command.js +72 -72
- package/dist/session/compaction.js +131 -128
- package/dist/session/context.js +147 -146
- 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 +216 -215
- package/dist/session/execution.js +122 -121
- package/dist/session/generate.js +146 -145
- package/dist/session/history.js +13 -12
- package/dist/session/inbox.js +84 -84
- 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 +92 -91
- package/dist/session/message-updater.js +4 -4
- package/dist/session/message.js +1 -1
- package/dist/session/model-request.js +109 -108
- package/dist/session/model-transport.js +9 -9
- package/dist/session/move.js +126 -125
- package/dist/session/projector.js +82 -82
- package/dist/session/prompt.js +100 -99
- package/dist/session/provider-context.js +20 -0
- 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 +225 -224
- package/dist/session/runner/max-steps.js +1 -1
- package/dist/session/runner/model.js +88 -86
- package/dist/session/runner/publish-llm-event.js +3 -3
- package/dist/session/runner/retry.js +113 -5
- package/dist/session/runner/step.js +119 -118
- package/dist/session/runner/to-llm-message.js +2 -1
- package/dist/session/schema.js +5 -5
- package/dist/session/session.js +169 -168
- package/dist/session/shell.js +131 -131
- package/dist/session/skill.js +98 -97
- package/dist/session/sql.js +5 -5
- package/dist/session/stats.js +71 -71
- package/dist/session/store.js +85 -84
- package/dist/session/subagent-completion.js +1 -1
- package/dist/session/subagent-job.js +205 -204
- package/dist/session/system-prompt.js +5 -5
- package/dist/session/title.js +147 -146
- package/dist/session/to-session-error.js +107 -106
- package/dist/session/transfer.js +212 -211
- package/dist/session/usage.js +1 -1
- package/dist/session.js +211 -210
- package/dist/shell/parse.js +6 -6
- package/dist/shell/result.js +1 -1
- package/dist/shell/scan.js +1 -1
- package/dist/shell/select.js +11 -11
- package/dist/shell.js +133 -133
- package/dist/skill/discovery.js +2 -2
- package/dist/skill/instructions.js +102 -101
- package/dist/skill.js +101 -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 +119 -118
- package/dist/tool/plugin/edit.js +115 -114
- package/dist/tool/plugin/file-diff.js +1 -1
- package/dist/tool/plugin/glob.js +120 -119
- package/dist/tool/plugin/grep.js +120 -119
- package/dist/tool/plugin/opencode.js +5 -3
- package/dist/tool/plugin/patch.js +113 -112
- package/dist/tool/plugin/question.js +96 -95
- package/dist/tool/plugin/read.js +119 -118
- package/dist/tool/plugin/shell.js +212 -211
- package/dist/tool/plugin/skill.js +108 -107
- package/dist/tool/plugin/subagent.js +214 -213
- package/dist/tool/plugin/webfetch.js +105 -104
- package/dist/tool/plugin/websearch.js +109 -108
- package/dist/tool/plugin/write.js +115 -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/types/file-access.d.ts +52 -0
- package/dist/types/file-mutation.d.ts +2 -4
- package/dist/types/instance.d.ts +2 -2
- package/dist/types/location-activity.d.ts +1 -1
- package/dist/types/location-mutation.d.ts +3 -52
- package/dist/types/mcp/oauth.d.ts +10 -1
- package/dist/types/model-resolver.d.ts +25 -3
- package/dist/types/model.d.ts +11 -0
- package/dist/types/plugin/host.d.ts +2 -2
- package/dist/types/plugin/internal.d.ts +3 -3
- package/dist/types/provider.d.ts +11 -0
- package/dist/types/session/compaction.d.ts +11 -2
- package/dist/types/session/execution/restart.d.ts +1 -1
- package/dist/types/session/execution.d.ts +1 -1
- package/dist/types/session/generate.d.ts +1 -1
- package/dist/types/session/history.d.ts +59 -4
- package/dist/types/session/provider-context.d.ts +46 -0
- package/dist/types/session/runner/model.d.ts +4 -0
- package/dist/types/session/runner/retry.d.ts +5 -0
- package/dist/types/session/session.d.ts +3 -3
- package/dist/types/session/sql.d.ts +3 -3
- package/dist/types/session/transfer.d.ts +47 -0
- package/dist/types/tool/mcp.d.ts +1 -1
- package/dist/types/tool/plugin/edit.d.ts +2 -2
- package/dist/types/tool/plugin/glob.d.ts +2 -2
- package/dist/types/tool/plugin/grep.d.ts +2 -2
- package/dist/types/tool/plugin/opencode.d.ts +7 -0
- package/dist/types/tool/plugin/patch.d.ts +2 -2
- package/dist/types/tool/plugin/read.d.ts +2 -3
- package/dist/types/tool/plugin/shell.d.ts +2 -2
- package/dist/types/tool/plugin/websearch.d.ts +1 -1
- package/dist/types/tool/plugin/write.d.ts +2 -2
- package/dist/types/v1/config/agent.d.ts +4 -4
- package/dist/types/v1/config/config.d.ts +46 -46
- package/dist/types/v1/config/migrate.d.ts +19 -7
- package/dist/types/v1/config/permission.d.ts +3 -3
- 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 +5 -5
- 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 +3 -3
- 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 +78 -78
- package/dist/wellknown/plugin.js +74 -74
- package/dist/wellknown.js +77 -77
- 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 +340 -339
- package/dist/worktree/sql.js +5 -5
- package/dist/worktree.js +89 -89
- package/package.json +8 -7
- package/dist/chunks/worktree-b5q5y4vk.js +0 -4
- package/dist/chunks/worktree-hcs930pp.js +0 -22
- package/dist/chunks/worktree-ynqmrvb3.js +0 -84
- package/dist/chunks/worktree-yrf23g47.js +0 -247
- /package/dist/chunks/{worktree-0fabt78z.js → schema-0fabt78z.js} +0 -0
- /package/dist/chunks/{worktree-0qkdqm5v.js → schema-0qkdqm5v.js} +0 -0
- /package/dist/chunks/{worktree-0zkw76rk.js → schema-0zkw76rk.js} +0 -0
- /package/dist/chunks/{worktree-17cy0kzp.js → schema-17cy0kzp.js} +0 -0
- /package/dist/chunks/{worktree-1cnp2v09.js → schema-1cnp2v09.js} +0 -0
- /package/dist/chunks/{worktree-1kg9ymc8.js → schema-1kg9ymc8.js} +0 -0
- /package/dist/chunks/{worktree-2710q6r3.js → schema-2710q6r3.js} +0 -0
- /package/dist/chunks/{worktree-2axfhc9x.js → schema-2axfhc9x.js} +0 -0
- /package/dist/chunks/{worktree-2c3vjs8z.js → schema-2c3vjs8z.js} +0 -0
- /package/dist/chunks/{worktree-359p4xyc.js → schema-359p4xyc.js} +0 -0
- /package/dist/chunks/{worktree-3asan66x.js → schema-3asan66x.js} +0 -0
- /package/dist/chunks/{worktree-3t738kvx.js → schema-3t738kvx.js} +0 -0
- /package/dist/chunks/{worktree-3v8g72cx.js → schema-3v8g72cx.js} +0 -0
- /package/dist/chunks/{worktree-3wcehsnq.js → schema-3wcehsnq.js} +0 -0
- /package/dist/chunks/{worktree-41nvscxy.js → schema-41nvscxy.js} +0 -0
- /package/dist/chunks/{worktree-43n2bw4t.js → schema-43n2bw4t.js} +0 -0
- /package/dist/chunks/{worktree-4knz6hnm.js → schema-4knz6hnm.js} +0 -0
- /package/dist/chunks/{worktree-4y7fprxs.js → schema-4y7fprxs.js} +0 -0
- /package/dist/chunks/{worktree-53557ph1.js → schema-53557ph1.js} +0 -0
- /package/dist/chunks/{worktree-550bvhaj.js → schema-550bvhaj.js} +0 -0
- /package/dist/chunks/{worktree-6prwharc.js → schema-6prwharc.js} +0 -0
- /package/dist/chunks/{worktree-7akdwqpd.js → schema-7akdwqpd.js} +0 -0
- /package/dist/chunks/{worktree-7m9af43g.js → schema-7m9af43g.js} +0 -0
- /package/dist/chunks/{worktree-822emrt2.js → schema-822emrt2.js} +0 -0
- /package/dist/chunks/{worktree-88xbtdfr.js → schema-88xbtdfr.js} +0 -0
- /package/dist/chunks/{worktree-8n3pysct.js → schema-8n3pysct.js} +0 -0
- /package/dist/chunks/{worktree-982e01ww.js → schema-982e01ww.js} +0 -0
- /package/dist/chunks/{worktree-9a4afbnw.js → schema-9a4afbnw.js} +0 -0
- /package/dist/chunks/{worktree-9rqn6x4v.js → schema-9rqn6x4v.js} +0 -0
- /package/dist/chunks/{worktree-a1tpkmh4.js → schema-a1tpkmh4.js} +0 -0
- /package/dist/chunks/{worktree-af5trqkr.js → schema-af5trqkr.js} +0 -0
- /package/dist/chunks/{worktree-afrmfg78.js → schema-afrmfg78.js} +0 -0
- /package/dist/chunks/{worktree-aqzs7mqg.js → schema-aqzs7mqg.js} +0 -0
- /package/dist/chunks/{worktree-atq7p7m5.js → schema-atq7p7m5.js} +0 -0
- /package/dist/chunks/{worktree-bkyjaxrp.js → schema-bkyjaxrp.js} +0 -0
- /package/dist/chunks/{worktree-bmr6ed5q.js → schema-bmr6ed5q.js} +0 -0
- /package/dist/chunks/{worktree-cf4snx6d.js → schema-cf4snx6d.js} +0 -0
- /package/dist/chunks/{worktree-cvy3z8tj.js → schema-cvy3z8tj.js} +0 -0
- /package/dist/chunks/{worktree-d9fn303g.js → schema-d9fn303g.js} +0 -0
- /package/dist/chunks/{worktree-d9jj8t3e.js → schema-d9jj8t3e.js} +0 -0
- /package/dist/chunks/{worktree-dajrwvna.js → schema-dajrwvna.js} +0 -0
- /package/dist/chunks/{worktree-dap0rakb.js → schema-dap0rakb.js} +0 -0
- /package/dist/chunks/{worktree-df08tz66.js → schema-df08tz66.js} +0 -0
- /package/dist/chunks/{worktree-dy18nga0.js → schema-dy18nga0.js} +0 -0
- /package/dist/chunks/{worktree-e5kj55wp.js → schema-e5kj55wp.js} +0 -0
- /package/dist/chunks/{worktree-e73j6tqm.js → schema-e73j6tqm.js} +0 -0
- /package/dist/chunks/{worktree-eh3zwz77.js → schema-eh3zwz77.js} +0 -0
- /package/dist/chunks/{worktree-emrn6kk6.js → schema-emrn6kk6.js} +0 -0
- /package/dist/chunks/{worktree-f0mxakyp.js → schema-f0mxakyp.js} +0 -0
- /package/dist/chunks/{worktree-f6n9ztr4.js → schema-f6n9ztr4.js} +0 -0
- /package/dist/chunks/{worktree-faypxj3z.js → schema-faypxj3z.js} +0 -0
- /package/dist/chunks/{worktree-fd410y7t.js → schema-fd410y7t.js} +0 -0
- /package/dist/chunks/{worktree-fxgpk5d8.js → schema-fxgpk5d8.js} +0 -0
- /package/dist/chunks/{worktree-g4wezp1m.js → schema-g4wezp1m.js} +0 -0
- /package/dist/chunks/{worktree-g86h250q.js → schema-g86h250q.js} +0 -0
- /package/dist/chunks/{worktree-gebd4c9n.js → schema-gebd4c9n.js} +0 -0
- /package/dist/chunks/{worktree-hk9envan.js → schema-hk9envan.js} +0 -0
- /package/dist/chunks/{worktree-j2ntwpah.js → schema-j2ntwpah.js} +0 -0
- /package/dist/chunks/{worktree-j5zkgpj8.js → schema-j5zkgpj8.js} +0 -0
- /package/dist/chunks/{worktree-j935v87r.js → schema-j935v87r.js} +0 -0
- /package/dist/chunks/{worktree-jr7sbwjy.js → schema-jr7sbwjy.js} +0 -0
- /package/dist/chunks/{worktree-jwfs4k6c.js → schema-jwfs4k6c.js} +0 -0
- /package/dist/chunks/{worktree-jzg6c2d5.js → schema-jzg6c2d5.js} +0 -0
- /package/dist/chunks/{worktree-mntxs535.js → schema-mntxs535.js} +0 -0
- /package/dist/chunks/{worktree-mp448xyj.js → schema-mp448xyj.js} +0 -0
- /package/dist/chunks/{worktree-msx8hqn2.js → schema-msx8hqn2.js} +0 -0
- /package/dist/chunks/{worktree-n05xt0ee.js → schema-n05xt0ee.js} +0 -0
- /package/dist/chunks/{worktree-n3j8tn72.js → schema-n3j8tn72.js} +0 -0
- /package/dist/chunks/{worktree-njntx4h6.js → schema-njntx4h6.js} +0 -0
- /package/dist/chunks/{worktree-p8qxwesx.js → schema-p8qxwesx.js} +0 -0
- /package/dist/chunks/{worktree-q3sfg36h.js → schema-q3sfg36h.js} +0 -0
- /package/dist/chunks/{worktree-q74kybfr.js → schema-q74kybfr.js} +0 -0
- /package/dist/chunks/{worktree-qaymkmh1.js → schema-qaymkmh1.js} +0 -0
- /package/dist/chunks/{worktree-qb87gjwd.js → schema-qb87gjwd.js} +0 -0
- /package/dist/chunks/{worktree-qfa1cgps.js → schema-qfa1cgps.js} +0 -0
- /package/dist/chunks/{worktree-qrg20bc0.js → schema-qrg20bc0.js} +0 -0
- /package/dist/chunks/{worktree-rcb2kzg1.js → schema-rcb2kzg1.js} +0 -0
- /package/dist/chunks/{worktree-sdp7kfr6.js → schema-sdp7kfr6.js} +0 -0
- /package/dist/chunks/{worktree-se0s1eqw.js → schema-se0s1eqw.js} +0 -0
- /package/dist/chunks/{worktree-sk3qaz4a.js → schema-sk3qaz4a.js} +0 -0
- /package/dist/chunks/{worktree-ssg3fenm.js → schema-ssg3fenm.js} +0 -0
- /package/dist/chunks/{worktree-twg0f83k.js → schema-twg0f83k.js} +0 -0
- /package/dist/chunks/{worktree-w803qqfp.js → schema-w803qqfp.js} +0 -0
- /package/dist/chunks/{worktree-wer8tq1h.js → schema-wer8tq1h.js} +0 -0
- /package/dist/chunks/{worktree-wtztk69x.js → schema-wtztk69x.js} +0 -0
- /package/dist/chunks/{worktree-x0ckcb58.js → schema-x0ckcb58.js} +0 -0
- /package/dist/chunks/{worktree-x1b8g1yb.js → schema-x1b8g1yb.js} +0 -0
- /package/dist/chunks/{worktree-x61499pn.js → schema-x61499pn.js} +0 -0
- /package/dist/chunks/{worktree-y44na4kk.js → schema-y44na4kk.js} +0 -0
- /package/dist/chunks/{worktree-y8cydn3q.js → schema-y8cydn3q.js} +0 -0
- /package/dist/chunks/{worktree-ygaqb7jw.js → schema-ygaqb7jw.js} +0 -0
- /package/dist/chunks/{worktree-z9919s4g.js → schema-z9919s4g.js} +0 -0
|
@@ -1,27 +1,27 @@
|
|
|
1
1
|
import {
|
|
2
2
|
create3
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./schema-kg06axw8.js";
|
|
4
4
|
import {
|
|
5
5
|
which2
|
|
6
|
-
} from "./
|
|
6
|
+
} from "./schema-qaymkmh1.js";
|
|
7
7
|
import {
|
|
8
8
|
__export
|
|
9
|
-
} from "./
|
|
9
|
+
} from "./schema-9rqn6x4v.js";
|
|
10
10
|
|
|
11
11
|
// src/shell/select.ts
|
|
12
12
|
var exports_select = {};
|
|
13
13
|
__export(exports_select, {
|
|
14
|
-
Options: () =>
|
|
15
|
-
Service: () =>
|
|
14
|
+
Options: () => Options10,
|
|
15
|
+
Service: () => Service75,
|
|
16
16
|
ShellSelect: () => exports_select,
|
|
17
17
|
args: () => args2,
|
|
18
|
-
configured: () =>
|
|
18
|
+
configured: () => configured11,
|
|
19
19
|
environment: () => environment2,
|
|
20
20
|
gitbash: () => gitbash2,
|
|
21
21
|
list: () => list4,
|
|
22
22
|
login: () => login2,
|
|
23
23
|
name: () => name15,
|
|
24
|
-
node: () =>
|
|
24
|
+
node: () => node80,
|
|
25
25
|
ps: () => ps2,
|
|
26
26
|
resolve: () => resolve2
|
|
27
27
|
});
|
|
@@ -43,11 +43,11 @@ var META = {
|
|
|
43
43
|
sh: { login: true },
|
|
44
44
|
zsh: { login: true }
|
|
45
45
|
};
|
|
46
|
-
var
|
|
46
|
+
var Options10 = Schema.Struct({
|
|
47
47
|
gitbash: Schema.optional(Schema.String)
|
|
48
48
|
});
|
|
49
49
|
|
|
50
|
-
class
|
|
50
|
+
class Service75 extends Context.Service()("@opencode/ShellSelect") {
|
|
51
51
|
}
|
|
52
52
|
function stat(file) {
|
|
53
53
|
return statSync(file, { throwIfNoEntry: false }) ?? undefined;
|
|
@@ -188,7 +188,7 @@ async function list4(options, bin) {
|
|
|
188
188
|
const shells = process.platform === "win32" ? win(options, bin) : await unix();
|
|
189
189
|
return shells.filter((shell) => executable(shell, options, bin)).map((shell) => info(shell, options, bin));
|
|
190
190
|
}
|
|
191
|
-
var layer = (options) => Layer.effect(
|
|
191
|
+
var layer = (options) => Layer.effect(Service75, Effect.gen(function* () {
|
|
192
192
|
const global = yield* Global.Service;
|
|
193
193
|
const state = create3({
|
|
194
194
|
name: "shell-select",
|
|
@@ -199,15 +199,15 @@ var layer = (options) => Layer.effect(Service60, Effect.gen(function* () {
|
|
|
199
199
|
}
|
|
200
200
|
})
|
|
201
201
|
});
|
|
202
|
-
return
|
|
202
|
+
return Service75.of({
|
|
203
203
|
transform: state.transform,
|
|
204
204
|
reload: state.reload,
|
|
205
205
|
resolve: (input) => Effect.sync(() => resolve2(input, state.get().shell, options, global.bin))
|
|
206
206
|
});
|
|
207
207
|
}));
|
|
208
|
-
function
|
|
209
|
-
return makeLocationNode({ service:
|
|
208
|
+
function configured11(options) {
|
|
209
|
+
return makeLocationNode({ service: Service75, layer: layer(options), deps: [Global.node] });
|
|
210
210
|
}
|
|
211
|
-
var
|
|
211
|
+
var node80 = configured11();
|
|
212
212
|
|
|
213
|
-
export {
|
|
213
|
+
export { Options10, Service75, gitbash2, name15, login2, ps2, args2, environment2, resolve2, list4, configured11, node80, exports_select };
|
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
import {
|
|
2
2
|
create3
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./schema-kg06axw8.js";
|
|
4
4
|
import {
|
|
5
5
|
__export
|
|
6
|
-
} from "./
|
|
6
|
+
} from "./schema-9rqn6x4v.js";
|
|
7
7
|
|
|
8
8
|
// src/image.ts
|
|
9
9
|
var exports_image2 = {};
|
|
@@ -11,9 +11,9 @@ __export(exports_image2, {
|
|
|
11
11
|
DecodeError: () => DecodeError2,
|
|
12
12
|
Image: () => exports_image2,
|
|
13
13
|
ResizerUnavailableError: () => ResizerUnavailableError2,
|
|
14
|
-
Service: () =>
|
|
14
|
+
Service: () => Service53,
|
|
15
15
|
SizeError: () => SizeError2,
|
|
16
|
-
node: () =>
|
|
16
|
+
node: () => node56
|
|
17
17
|
});
|
|
18
18
|
import { makeLocationNode } from "@opencode-ai/util/effect/app-node";
|
|
19
19
|
import { Context, Effect, Layer, Schema } from "effect";
|
|
@@ -42,9 +42,9 @@ class SizeError2 extends Schema.TaggedError()("Image.SizeError", {
|
|
|
42
42
|
}
|
|
43
43
|
}
|
|
44
44
|
|
|
45
|
-
class
|
|
45
|
+
class Service53 extends Context.Service()("@opencode/Image") {
|
|
46
46
|
}
|
|
47
|
-
var layer = Layer.effect(
|
|
47
|
+
var layer = Layer.effect(Service53, Effect.gen(function* () {
|
|
48
48
|
const state = create3({
|
|
49
49
|
name: "image",
|
|
50
50
|
initial: () => ({
|
|
@@ -74,8 +74,8 @@ var layer = Layer.effect(Service46, Effect.gen(function* () {
|
|
|
74
74
|
const normalize = yield* loadAdapter;
|
|
75
75
|
return yield* normalize(resource, content, state.get());
|
|
76
76
|
});
|
|
77
|
-
return
|
|
77
|
+
return Service53.of({ transform: state.transform, reload: state.reload, normalize });
|
|
78
78
|
}));
|
|
79
|
-
var
|
|
79
|
+
var node56 = makeLocationNode({ service: Service53, layer, deps: [] });
|
|
80
80
|
|
|
81
|
-
export { ResizerUnavailableError2, DecodeError2, SizeError2,
|
|
81
|
+
export { ResizerUnavailableError2, DecodeError2, SizeError2, Service53, node56, exports_image2 };
|
|
@@ -1,63 +1,63 @@
|
|
|
1
1
|
import {
|
|
2
2
|
Service80,
|
|
3
3
|
node85
|
|
4
|
-
} from "./
|
|
4
|
+
} from "./schema-fv0bxyhd.js";
|
|
5
5
|
import {
|
|
6
6
|
Service79,
|
|
7
7
|
node84
|
|
8
|
-
} from "./
|
|
8
|
+
} from "./schema-6qptncg2.js";
|
|
9
9
|
import {
|
|
10
10
|
CredentialTable2
|
|
11
|
-
} from "./
|
|
11
|
+
} from "./schema-pknna89w.js";
|
|
12
12
|
import {
|
|
13
13
|
from2
|
|
14
|
-
} from "./
|
|
14
|
+
} from "./schema-0q0f95c6.js";
|
|
15
15
|
import {
|
|
16
16
|
__export
|
|
17
|
-
} from "./
|
|
17
|
+
} from "./schema-9rqn6x4v.js";
|
|
18
18
|
|
|
19
19
|
// src/credential.ts
|
|
20
20
|
var exports_credential = {};
|
|
21
21
|
__export(exports_credential, {
|
|
22
22
|
Credential: () => exports_credential,
|
|
23
|
-
Event: () =>
|
|
24
|
-
ID: () =>
|
|
25
|
-
Info: () =>
|
|
23
|
+
Event: () => Event20,
|
|
24
|
+
ID: () => ID18,
|
|
25
|
+
Info: () => Info33,
|
|
26
26
|
Key: () => Key4,
|
|
27
27
|
OAuth: () => OAuth3,
|
|
28
|
-
Service: () =>
|
|
28
|
+
Service: () => Service78,
|
|
29
29
|
Value: () => Value2,
|
|
30
|
-
node: () =>
|
|
30
|
+
node: () => node83
|
|
31
31
|
});
|
|
32
32
|
import { asc, desc, eq } from "drizzle-orm";
|
|
33
33
|
import { Cause, Context, Effect, Layer, Schema } from "effect";
|
|
34
34
|
import { Credential } from "@opencode-ai/schema/credential";
|
|
35
35
|
import { Integration } from "@opencode-ai/schema/integration";
|
|
36
36
|
import { makeGlobalNode } from "@opencode-ai/util/effect/app-node";
|
|
37
|
-
var
|
|
37
|
+
var ID18 = Credential.ID;
|
|
38
38
|
var OAuth3 = Credential.OAuth;
|
|
39
39
|
var Key4 = Credential.Key;
|
|
40
40
|
var Value2 = Credential.Value;
|
|
41
|
-
var
|
|
41
|
+
var Event20 = Credential.Event;
|
|
42
42
|
|
|
43
|
-
class
|
|
44
|
-
id:
|
|
43
|
+
class Info33 extends Schema.Class("Credential.Info")({
|
|
44
|
+
id: ID18,
|
|
45
45
|
integrationID: Integration.ID,
|
|
46
46
|
label: Schema.String,
|
|
47
47
|
value: Value2
|
|
48
48
|
}) {
|
|
49
49
|
}
|
|
50
50
|
|
|
51
|
-
class
|
|
51
|
+
class Service78 extends Context.Service()("@opencode/Credential") {
|
|
52
52
|
}
|
|
53
|
-
var layer = Layer.effect(
|
|
53
|
+
var layer = Layer.effect(Service78, Effect.gen(function* () {
|
|
54
54
|
const db = (yield* Service80).db;
|
|
55
55
|
const bus = yield* Service79;
|
|
56
56
|
const decode = Schema.decodeUnknownSync(Value2);
|
|
57
57
|
const stored = (row) => {
|
|
58
58
|
if (!row.integration_id)
|
|
59
59
|
return;
|
|
60
|
-
return new
|
|
60
|
+
return new Info33({
|
|
61
61
|
id: row.id,
|
|
62
62
|
integrationID: row.integration_id,
|
|
63
63
|
label: row.label,
|
|
@@ -68,7 +68,7 @@ var layer = Layer.effect(Service64, Effect.gen(function* () {
|
|
|
68
68
|
const credential = stored(row);
|
|
69
69
|
return credential ? [credential] : [];
|
|
70
70
|
});
|
|
71
|
-
return
|
|
71
|
+
return Service78.of({
|
|
72
72
|
all: Effect.fn("Credential.all")(() => db.select().from(CredentialTable2).orderBy(asc(CredentialTable2.active), asc(CredentialTable2.time_created), asc(CredentialTable2.id)).all().pipe(Effect.orDie, Effect.map(storedRows))),
|
|
73
73
|
list: Effect.fn("Credential.list")((integrationID) => db.select().from(CredentialTable2).where(eq(CredentialTable2.integration_id, integrationID)).orderBy(asc(CredentialTable2.active), asc(CredentialTable2.time_created), asc(CredentialTable2.id)).all().pipe(Effect.orDie, Effect.map(storedRows))),
|
|
74
74
|
get: Effect.fn("Credential.get")(function* (id) {
|
|
@@ -76,8 +76,8 @@ var layer = Layer.effect(Service64, Effect.gen(function* () {
|
|
|
76
76
|
return row ? stored(row) : undefined;
|
|
77
77
|
}),
|
|
78
78
|
create: Effect.fn("Credential.create")(function* (input) {
|
|
79
|
-
const credential = new
|
|
80
|
-
id:
|
|
79
|
+
const credential = new Info33({
|
|
80
|
+
id: ID18.create(),
|
|
81
81
|
integrationID: input.integrationID,
|
|
82
82
|
label: input.label ?? "default",
|
|
83
83
|
value: input.value
|
|
@@ -101,8 +101,8 @@ var layer = Layer.effect(Service64, Effect.gen(function* () {
|
|
|
101
101
|
integrationID: credential.integrationID,
|
|
102
102
|
type: credential.value.type
|
|
103
103
|
});
|
|
104
|
-
yield* bus.publish(
|
|
105
|
-
yield* bus.publish(
|
|
104
|
+
yield* bus.publish(Event20.Updated, {}, { global: true });
|
|
105
|
+
yield* bus.publish(Event20.Switched, { integrationID: credential.integrationID, credentialID: credential.id }, { global: true });
|
|
106
106
|
return credential;
|
|
107
107
|
}),
|
|
108
108
|
activate: Effect.fn("Credential.activate")(function* (id) {
|
|
@@ -122,7 +122,7 @@ var layer = Layer.effect(Service64, Effect.gen(function* () {
|
|
|
122
122
|
})), Effect.orDie);
|
|
123
123
|
if (integrationID) {
|
|
124
124
|
yield* Effect.logInfo("credential activated", { integrationID, credentialID: id });
|
|
125
|
-
yield* bus.publish(
|
|
125
|
+
yield* bus.publish(Event20.Switched, { integrationID, credentialID: id }, { global: true });
|
|
126
126
|
}
|
|
127
127
|
}),
|
|
128
128
|
update: Effect.fn("Credential.update")(function* (id, updates) {
|
|
@@ -154,7 +154,7 @@ var layer = Layer.effect(Service64, Effect.gen(function* () {
|
|
|
154
154
|
labelChanged: updates.label !== undefined && updates.label !== credential.label
|
|
155
155
|
});
|
|
156
156
|
if (updates.label !== undefined && updates.label !== credential.label)
|
|
157
|
-
yield* bus.publish(
|
|
157
|
+
yield* bus.publish(Event20.Updated, {}, { global: true });
|
|
158
158
|
}),
|
|
159
159
|
remove: Effect.fn("Credential.remove")(function* (id) {
|
|
160
160
|
const removed = yield* db.transaction((tx) => Effect.gen(function* () {
|
|
@@ -187,12 +187,12 @@ var layer = Layer.effect(Service64, Effect.gen(function* () {
|
|
|
187
187
|
active: removed.switched,
|
|
188
188
|
...removed.switched ? { replacementID: removed.credentialID } : {}
|
|
189
189
|
});
|
|
190
|
-
yield* bus.publish(
|
|
190
|
+
yield* bus.publish(Event20.Updated, {}, { global: true });
|
|
191
191
|
if (removed.switched)
|
|
192
|
-
yield* bus.publish(
|
|
192
|
+
yield* bus.publish(Event20.Switched, { integrationID: removed.integrationID, credentialID: removed.credentialID }, { global: true });
|
|
193
193
|
})
|
|
194
194
|
});
|
|
195
195
|
}));
|
|
196
|
-
var
|
|
196
|
+
var node83 = makeGlobalNode({ service: Service78, layer, deps: [node85, node84] });
|
|
197
197
|
|
|
198
|
-
export {
|
|
198
|
+
export { ID18, OAuth3, Key4, Value2, Event20, Info33, Service78, node83, exports_credential };
|
|
@@ -1,15 +1,15 @@
|
|
|
1
1
|
import {
|
|
2
2
|
openaiFailedResponseHandler2
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./schema-550bvhaj.js";
|
|
4
4
|
import {
|
|
5
5
|
convertToOpenAIResponsesInput2
|
|
6
|
-
} from "./
|
|
6
|
+
} from "./schema-j5zkgpj8.js";
|
|
7
7
|
import {
|
|
8
8
|
mapOpenAIResponseFinishReason2
|
|
9
|
-
} from "./
|
|
9
|
+
} from "./schema-3asan66x.js";
|
|
10
10
|
import {
|
|
11
11
|
prepareResponsesTools2
|
|
12
|
-
} from "./
|
|
12
|
+
} from "./schema-35ng7dkh.js";
|
|
13
13
|
|
|
14
14
|
// src/github-copilot/responses/openai-responses-language-model.ts
|
|
15
15
|
import {
|
|
@@ -1,25 +1,25 @@
|
|
|
1
1
|
import {
|
|
2
2
|
Key3,
|
|
3
3
|
removed2,
|
|
4
|
-
|
|
4
|
+
make19,
|
|
5
5
|
diffByKey2
|
|
6
|
-
} from "./
|
|
6
|
+
} from "./schema-6e958v7x.js";
|
|
7
7
|
import {
|
|
8
8
|
Summary2,
|
|
9
9
|
summarize2,
|
|
10
10
|
namespaceLine2
|
|
11
|
-
} from "./
|
|
11
|
+
} from "./schema-3fc6dm20.js";
|
|
12
12
|
import {
|
|
13
13
|
__export
|
|
14
|
-
} from "./
|
|
14
|
+
} from "./schema-9rqn6x4v.js";
|
|
15
15
|
|
|
16
16
|
// src/codemode/instructions.ts
|
|
17
|
-
var
|
|
18
|
-
__export(
|
|
19
|
-
CodeModeInstructions: () =>
|
|
20
|
-
make: () =>
|
|
21
|
-
render: () =>
|
|
22
|
-
update: () =>
|
|
17
|
+
var exports_instructions2 = {};
|
|
18
|
+
__export(exports_instructions2, {
|
|
19
|
+
CodeModeInstructions: () => exports_instructions2,
|
|
20
|
+
make: () => make13,
|
|
21
|
+
render: () => render2,
|
|
22
|
+
update: () => update2
|
|
23
23
|
});
|
|
24
24
|
import { searchSignature, toolExpression } from "@opencode-ai/codemode";
|
|
25
25
|
import { Effect, Schema } from "effect";
|
|
@@ -34,7 +34,7 @@ Call \`search(...)\` to discover exact paths and signatures for additional tools
|
|
|
34
34
|
- ${searchSignature}` : ""}
|
|
35
35
|
|
|
36
36
|
## Available tools`;
|
|
37
|
-
function
|
|
37
|
+
function render2(catalog) {
|
|
38
38
|
if (catalog.total === 0)
|
|
39
39
|
return "No Code Mode tools are currently available. Later Code Mode catalog updates may add or remove tools. Do not call `execute` unless there is at least one available Code Mode tool.";
|
|
40
40
|
const tools = catalog.namespaces.flatMap((namespace) => {
|
|
@@ -45,10 +45,10 @@ function render3(catalog) {
|
|
|
45
45
|
${tools.join(`
|
|
46
46
|
`)}`;
|
|
47
47
|
}
|
|
48
|
-
function
|
|
48
|
+
function update2(previous, current) {
|
|
49
49
|
const replacement = `The Code Mode tool catalog has changed. This catalog supersedes the previous Code Mode tool catalog.
|
|
50
50
|
|
|
51
|
-
${
|
|
51
|
+
${render2(current)}`;
|
|
52
52
|
if (current.total === 0)
|
|
53
53
|
return replacement;
|
|
54
54
|
const previousComplete = previous.shown === previous.total;
|
|
@@ -113,18 +113,18 @@ ${render3(current)}`;
|
|
|
113
113
|
}
|
|
114
114
|
var key = Key3.make("core/codemode");
|
|
115
115
|
var codec = Schema.toCodecJson(Summary2);
|
|
116
|
-
var
|
|
116
|
+
var make13 = (inventory) => {
|
|
117
117
|
const catalog = inventory === undefined ? removed2 : summarize2(inventory);
|
|
118
|
-
return
|
|
118
|
+
return make19({
|
|
119
119
|
key,
|
|
120
120
|
codec,
|
|
121
121
|
read: Effect.succeed(catalog),
|
|
122
122
|
render: {
|
|
123
|
-
initial:
|
|
124
|
-
changed:
|
|
123
|
+
initial: render2,
|
|
124
|
+
changed: update2,
|
|
125
125
|
removed: () => "Code Mode tools are no longer available. Do not use any previously listed Code Mode tools."
|
|
126
126
|
}
|
|
127
127
|
});
|
|
128
128
|
};
|
|
129
129
|
|
|
130
|
-
export {
|
|
130
|
+
export { render2, update2, make13, exports_instructions2 };
|
|
@@ -1,32 +1,32 @@
|
|
|
1
1
|
import {
|
|
2
2
|
Service79,
|
|
3
3
|
node84
|
|
4
|
-
} from "./
|
|
4
|
+
} from "./schema-6qptncg2.js";
|
|
5
5
|
import {
|
|
6
6
|
create3
|
|
7
|
-
} from "./
|
|
7
|
+
} from "./schema-kg06axw8.js";
|
|
8
8
|
import {
|
|
9
9
|
evaluate2
|
|
10
|
-
} from "./
|
|
10
|
+
} from "./schema-hsq9qkqb.js";
|
|
11
11
|
import {
|
|
12
12
|
__export
|
|
13
|
-
} from "./
|
|
13
|
+
} from "./schema-9rqn6x4v.js";
|
|
14
14
|
|
|
15
15
|
// src/skill.ts
|
|
16
16
|
var exports_skill5 = {};
|
|
17
17
|
__export(exports_skill5, {
|
|
18
18
|
DirectorySource: () => DirectorySource2,
|
|
19
19
|
EmbeddedSource: () => EmbeddedSource2,
|
|
20
|
-
Event: () =>
|
|
20
|
+
Event: () => Event8,
|
|
21
21
|
ID: () => ID5,
|
|
22
22
|
Info: () => Info7,
|
|
23
23
|
Name: () => Name2,
|
|
24
|
-
Service: () =>
|
|
24
|
+
Service: () => Service40,
|
|
25
25
|
Skill: () => exports_skill5,
|
|
26
26
|
Source: () => Source3,
|
|
27
27
|
UrlSource: () => UrlSource2,
|
|
28
28
|
available: () => available2,
|
|
29
|
-
node: () =>
|
|
29
|
+
node: () => node44,
|
|
30
30
|
prepare: () => prepare3,
|
|
31
31
|
toModelOutput: () => toModelOutput3
|
|
32
32
|
});
|
|
@@ -34,7 +34,7 @@ import { makeLocationNode } from "@opencode-ai/util/effect/app-node";
|
|
|
34
34
|
import path from "path";
|
|
35
35
|
import { Context, Effect, Layer } from "effect";
|
|
36
36
|
import { Skill } from "@opencode-ai/schema/skill";
|
|
37
|
-
import { Event as
|
|
37
|
+
import { Event as Event8 } from "@opencode-ai/schema/skill";
|
|
38
38
|
var DirectorySource2 = Skill.DirectorySource;
|
|
39
39
|
var UrlSource2 = Skill.UrlSource;
|
|
40
40
|
var EmbeddedSource2 = Skill.EmbeddedSource;
|
|
@@ -71,9 +71,9 @@ var prepare3 = Effect.fn("Skill.prepare")(function* (fs, skill) {
|
|
|
71
71
|
};
|
|
72
72
|
});
|
|
73
73
|
|
|
74
|
-
class
|
|
74
|
+
class Service40 extends Context.Service()("@opencode/Skill") {
|
|
75
75
|
}
|
|
76
|
-
var layer = Layer.effect(
|
|
76
|
+
var layer = Layer.effect(Service40, Effect.gen(function* () {
|
|
77
77
|
const bus = yield* Service79;
|
|
78
78
|
const state = create3({
|
|
79
79
|
name: "skill",
|
|
@@ -97,7 +97,7 @@ var layer = Layer.effect(Service47, Effect.gen(function* () {
|
|
|
97
97
|
}),
|
|
98
98
|
notify: () => bus.publish(Skill.Event.Updated, {}).pipe(Effect.asVoid)
|
|
99
99
|
});
|
|
100
|
-
return
|
|
100
|
+
return Service40.of({
|
|
101
101
|
transform: state.transform,
|
|
102
102
|
reload: state.reload,
|
|
103
103
|
get: Effect.fn("Skill.get")(function* (id) {
|
|
@@ -108,10 +108,10 @@ var layer = Layer.effect(Service47, Effect.gen(function* () {
|
|
|
108
108
|
})
|
|
109
109
|
});
|
|
110
110
|
}));
|
|
111
|
-
var
|
|
112
|
-
service:
|
|
111
|
+
var node44 = makeLocationNode({
|
|
112
|
+
service: Service40,
|
|
113
113
|
layer,
|
|
114
114
|
deps: [node84]
|
|
115
115
|
});
|
|
116
116
|
|
|
117
|
-
export { DirectorySource2, UrlSource2, EmbeddedSource2, Source3, Info7, ID5, Name2, available2, toModelOutput3, prepare3,
|
|
117
|
+
export { DirectorySource2, UrlSource2, EmbeddedSource2, Source3, Info7, ID5, Name2, available2, toModelOutput3, prepare3, Service40, node44, exports_skill5, Event8 };
|
|
@@ -2,45 +2,44 @@ import {
|
|
|
2
2
|
NotFound2,
|
|
3
3
|
WrongKind2,
|
|
4
4
|
Failed2
|
|
5
|
-
} from "./
|
|
5
|
+
} from "./schema-2a5m3afh.js";
|
|
6
6
|
import {
|
|
7
|
-
|
|
8
|
-
} from "./
|
|
9
|
-
import {
|
|
10
|
-
Service57
|
|
11
|
-
} from "./worktree-kk0awzkj.js";
|
|
7
|
+
Service72
|
|
8
|
+
} from "./schema-kwt11tv7.js";
|
|
12
9
|
import {
|
|
13
10
|
Service70
|
|
14
|
-
} from "./
|
|
11
|
+
} from "./schema-trhjdf47.js";
|
|
15
12
|
import {
|
|
16
|
-
|
|
13
|
+
Service20
|
|
14
|
+
} from "./schema-w7xrk89n.js";
|
|
15
|
+
import {
|
|
16
|
+
Service18,
|
|
17
17
|
readText2,
|
|
18
18
|
syncTextBom2
|
|
19
|
-
} from "./
|
|
19
|
+
} from "./schema-fee8q97m.js";
|
|
20
20
|
import {
|
|
21
|
-
|
|
22
|
-
|
|
23
|
-
Service22
|
|
24
|
-
} from "./worktree-ynqmrvb3.js";
|
|
21
|
+
Service54
|
|
22
|
+
} from "./schema-hsq9qkqb.js";
|
|
25
23
|
import {
|
|
26
|
-
|
|
27
|
-
|
|
24
|
+
Service19,
|
|
25
|
+
resolvePath2
|
|
26
|
+
} from "./schema-yjw6p547.js";
|
|
28
27
|
import {
|
|
29
28
|
fileDiff2
|
|
30
|
-
} from "./
|
|
29
|
+
} from "./schema-6prwharc.js";
|
|
31
30
|
import {
|
|
32
31
|
__export
|
|
33
|
-
} from "./
|
|
32
|
+
} from "./schema-9rqn6x4v.js";
|
|
34
33
|
|
|
35
34
|
// src/tool/plugin/patch.ts
|
|
36
35
|
var exports_patch = {};
|
|
37
36
|
__export(exports_patch, {
|
|
38
37
|
Applied: () => Applied2,
|
|
39
|
-
Input: () =>
|
|
38
|
+
Input: () => Input9,
|
|
40
39
|
Output: () => Output6,
|
|
41
40
|
PatchTool: () => exports_patch,
|
|
42
|
-
Plugin: () =>
|
|
43
|
-
name: () =>
|
|
41
|
+
Plugin: () => Plugin41,
|
|
42
|
+
name: () => name9,
|
|
44
43
|
toModelContent: () => toModelContent5
|
|
45
44
|
});
|
|
46
45
|
import { ToolFailure } from "@opencode-ai/ai";
|
|
@@ -86,8 +85,8 @@ It is important to remember:
|
|
|
86
85
|
`;
|
|
87
86
|
|
|
88
87
|
// src/tool/plugin/patch.ts
|
|
89
|
-
var
|
|
90
|
-
var
|
|
88
|
+
var name9 = "patch";
|
|
89
|
+
var Input9 = Schema.Struct({
|
|
91
90
|
patchText: Schema.String.annotate({
|
|
92
91
|
description: "The full patch text describing add, update, and delete operations"
|
|
93
92
|
})
|
|
@@ -106,20 +105,20 @@ var toModelContent5 = (output) => [
|
|
|
106
105
|
...output.applied.map((item) => `${item.type === "add" ? "A" : item.type === "delete" ? "D" : "M"} ${item.resource}`)
|
|
107
106
|
].join(`
|
|
108
107
|
`);
|
|
109
|
-
var
|
|
108
|
+
var Plugin41 = {
|
|
110
109
|
id: "opencode.tool.patch",
|
|
111
110
|
effect: Effect.fn("PatchTool.Plugin")(function* (ctx) {
|
|
112
|
-
const environment = yield*
|
|
113
|
-
const
|
|
114
|
-
const fileMutation = yield*
|
|
115
|
-
const formatter = yield*
|
|
116
|
-
const location = yield*
|
|
117
|
-
const permission = yield*
|
|
111
|
+
const environment = yield* Service70;
|
|
112
|
+
const access = yield* Service19;
|
|
113
|
+
const fileMutation = yield* Service18;
|
|
114
|
+
const formatter = yield* Service20;
|
|
115
|
+
const location = yield* Service72;
|
|
116
|
+
const permission = yield* Service54;
|
|
118
117
|
yield* ctx.tool.transform((editor) => editor.add({
|
|
119
|
-
name:
|
|
118
|
+
name: name9,
|
|
120
119
|
options: { codemode: false, permission: "edit" },
|
|
121
120
|
description: patch_default,
|
|
122
|
-
input:
|
|
121
|
+
input: Input9,
|
|
123
122
|
output: Output6,
|
|
124
123
|
execute: (input, context) => {
|
|
125
124
|
const applied = [];
|
|
@@ -149,18 +148,12 @@ var Plugin11 = {
|
|
|
149
148
|
const prepared = [];
|
|
150
149
|
const updates = new Map;
|
|
151
150
|
const resolveTarget = Effect.fnUntraced(function* (value) {
|
|
152
|
-
const target = yield*
|
|
151
|
+
const target = yield* access.resolve({ path: value, kind: "file" });
|
|
153
152
|
if (!target.externalDirectory)
|
|
154
153
|
return target;
|
|
155
|
-
yield*
|
|
156
|
-
|
|
157
|
-
|
|
158
|
-
filepath: target.absolute,
|
|
159
|
-
parentDir: target.externalDirectory.directory
|
|
160
|
-
},
|
|
161
|
-
sessionID: context.sessionID,
|
|
162
|
-
agent: context.agent,
|
|
163
|
-
source
|
|
154
|
+
yield* access.authorizeExternal([target], context, {
|
|
155
|
+
filepath: target.absolute,
|
|
156
|
+
parentDir: target.externalDirectory.directory
|
|
164
157
|
});
|
|
165
158
|
return target;
|
|
166
159
|
});
|
|
@@ -330,4 +323,4 @@ function trimDiff(diff) {
|
|
|
330
323
|
`);
|
|
331
324
|
}
|
|
332
325
|
|
|
333
|
-
export {
|
|
326
|
+
export { name9, Input9, Applied2, Output6, toModelContent5, Plugin41, exports_patch };
|
|
@@ -1,30 +1,30 @@
|
|
|
1
1
|
import {
|
|
2
2
|
latest2,
|
|
3
|
-
|
|
4
|
-
} from "./
|
|
3
|
+
Service66
|
|
4
|
+
} from "./schema-vecstcyh.js";
|
|
5
5
|
import {
|
|
6
|
-
|
|
7
|
-
} from "./
|
|
6
|
+
Service68
|
|
7
|
+
} from "./schema-m9p8h4jk.js";
|
|
8
8
|
import {
|
|
9
9
|
observe2
|
|
10
|
-
} from "./
|
|
10
|
+
} from "./schema-qsdy395h.js";
|
|
11
11
|
import {
|
|
12
12
|
__export
|
|
13
|
-
} from "./
|
|
13
|
+
} from "./schema-9rqn6x4v.js";
|
|
14
14
|
|
|
15
15
|
// src/config/plugin/tool-output.ts
|
|
16
16
|
var exports_tool_output = {};
|
|
17
17
|
__export(exports_tool_output, {
|
|
18
18
|
ConfigToolOutputPlugin: () => exports_tool_output,
|
|
19
|
-
Plugin: () =>
|
|
19
|
+
Plugin: () => Plugin7
|
|
20
20
|
});
|
|
21
21
|
import { define } from "@opencode-ai/plugin/effect/plugin";
|
|
22
22
|
import { Effect } from "effect";
|
|
23
|
-
var
|
|
23
|
+
var Plugin7 = define({
|
|
24
24
|
id: "opencode.config.tool-output",
|
|
25
25
|
effect: Effect.fn(function* (ctx) {
|
|
26
|
-
const config = yield*
|
|
27
|
-
const output = yield*
|
|
26
|
+
const config = yield* Service66;
|
|
27
|
+
const output = yield* Service68;
|
|
28
28
|
const loaded = yield* observe2(config, ctx.event, output.reload());
|
|
29
29
|
yield* output.transform((editor) => {
|
|
30
30
|
const configured = latest2(loaded.entries, "tool_output");
|
|
@@ -38,4 +38,4 @@ var Plugin19 = define({
|
|
|
38
38
|
})
|
|
39
39
|
});
|
|
40
40
|
|
|
41
|
-
export {
|
|
41
|
+
export { Plugin7, exports_tool_output };
|