repo
stringlengths
5
53
pr_number
int32
1
321k
task_type
stringclasses
2 values
issue_text
stringlengths
0
81.2k
pr_title
stringlengths
1
319
pr_body
stringlengths
0
105k
base_sha
stringlengths
40
40
head_sha
stringlengths
40
40
gold_diff
stringlengths
0
202M
changed_files
listlengths
0
100
review_threads
listlengths
0
100
test_patch
stringlengths
0
23.4M
merged
bool
1 class
CarGuo/GSYVideoPlayer
3,349
issue_to_patch
Adopt AGP 7.0
这个 PR 的合并可以使用 squash commit 的
e3eae615ed0bf046eb0872dd073a34a2dfaed910
77390b7e028846a657e348275597b1efddc123c7
diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 647d0dc64..a6b7c5fce 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -8,11 +8,14 @@ jobs: runs-on: ubuntu-latest steps: - uses: actions/checkout@v2 - - name: set up JDK 11 - uses: actions/setup-ja...
[ ".github/workflows/ci.yml", "app/build.gradle", "build.gradle", "gradle/base.gradle", "gradle/dependencies.gradle", "gradle/lib.gradle", "gradle/wrapper/gradle-wrapper.properties", "gradlew", "gsyVideoPlayer-armv5/build.gradle", "gsyVideoPlayer-armv64/build.gradle", "gsyVideoPlayer-armv7a/build....
[]
true
CarGuo/GSYVideoPlayer
3,409
issue_to_patch
Fixed JDK version support and an OpenJDK distro to support it
When you do your CI/CD runs via GitHub Actions setup/java, if you use a fixed version, e.g., 11.0.3, as well as the most recent version, e.g., 11, you'll be able to see when a build fails what the reason might be -- if 11.0.3 is green and 11 red, you'll see that the problem is connected to the latest release specifical...
e3eae615ed0bf046eb0872dd073a34a2dfaed910
6331361dd8d53a3b12672ecf70bac1d7c9abcb9b
diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 647d0dc64..3a73d3924 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -6,25 +6,31 @@ jobs: publish: name: Publish runs-on: ubuntu-latest + strategy: + matrix: + java: [ 11, 11.0.3 ] steps: ...
[ ".github/workflows/ci.yml" ]
[]
true
CarGuo/GSYVideoPlayer
3,374
issue_to_patch
Bump github checkout action to v2
建议以后可以使用 squash commit 合并 PR.
9be0bd336d682e1f7b9d0409b34da73eac4ebc58
d2edb8ea2827dc9ef905416484c65279f01095c8
diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 494775537..647d0dc64 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -7,7 +7,7 @@ jobs: name: Publish runs-on: ubuntu-latest steps: - - uses: actions/checkout@v1 + - uses: actions/checkout@v2 -...
[ ".github/workflows/ci.yml" ]
[]
true
CarGuo/GSYVideoPlayer
3,375
issue_to_patch
Bump ExoPlayer to 2.15.0
9be0bd336d682e1f7b9d0409b34da73eac4ebc58
976a07e0300a53252c49f0cdf1b68dee1ff38f8b
diff --git a/.editorconfig b/.editorconfig index 68f680f91..2adff4ce6 100644 --- a/.editorconfig +++ b/.editorconfig @@ -1,3 +1,5 @@ +root = true + [*] charset = utf-8 indent_size = 4 @@ -7,3 +9,6 @@ trim_trailing_whitespace = true [*.yml] indent_size = 2 + +[*.java] +ij_java_use_single_class_imports = true diff...
[ ".editorconfig", "app/src/main/java/com/example/gsyvideoplayer/exosource/GSYDefaultHttpDataSource.java", "dependencies.gradle", "gsyVideoPlayer-exo_player2/src/main/java/tv/danmaku/ijk/media/exo2/IjkExo2MediaPlayer.java", "gsyVideoPlayer-exo_player2/src/main/java/tv/danmaku/ijk/media/exo2/demo/EventLogger.j...
[]
true
CarGuo/GSYVideoPlayer
3,373
issue_to_patch
Update licenses to use https
3d345e9600e3a99d7ea0811a3ee6b47b5b8e5d5b
47671ce97a0bfaa0fc13d2f728dc1f43dd99216e
diff --git a/LICENSE b/LICENSE index 261eeb9e9..20e4bd856 100644 --- a/LICENSE +++ b/LICENSE @@ -1,6 +1,6 @@ Apache License Version 2.0, January 2004 - http://www.apache.org/licenses/ + https://www.apache.org/lic...
[ "LICENSE", "app/src/main/java/com/example/gsyvideoplayer/effect/PixelationEffect.java", "app/src/main/java/com/example/gsyvideoplayer/exosource/GSYDefaultHttpDataSource.java", "app/src/main/java/com/example/gsyvideoplayer/exosource/GSYExoHttpDataSourceFactory.java", "app/src/main/java/com/example/gsyvideopl...
[]
true
CarGuo/GSYVideoPlayer
2,879
issue_to_patch
修改注释
修改注释
e253dacad9f6fa7c310d95153e5c2cf492228f15
3bfe6cb447fcfbf6ab8a81d47cf5c631b7bb39e4
diff --git a/gsyVideoPlayer-java/src/main/java/com/shuyu/gsyvideoplayer/video/base/GSYVideoControlView.java b/gsyVideoPlayer-java/src/main/java/com/shuyu/gsyvideoplayer/video/base/GSYVideoControlView.java index 2c864e555..2c914165d 100644 --- a/gsyVideoPlayer-java/src/main/java/com/shuyu/gsyvideoplayer/video/base/GSYVi...
[ "gsyVideoPlayer-java/src/main/java/com/shuyu/gsyvideoplayer/video/base/GSYVideoControlView.java" ]
[]
true
CarGuo/GSYVideoPlayer
3,372
issue_to_patch
修复设置了超时,重试后失效的问题
修复 #3370
d4c47e0b34ca8b87c3c58df5b0df12ec00d6f70a
f9e8d49414b3030201eb26e0cb210c6d81f49de1
diff --git a/app/src/main/java/com/example/gsyvideoplayer/exo/GSYExoVideoManager.java b/app/src/main/java/com/example/gsyvideoplayer/exo/GSYExoVideoManager.java index f223e3cae..a4eb821f5 100644 --- a/app/src/main/java/com/example/gsyvideoplayer/exo/GSYExoVideoManager.java +++ b/app/src/main/java/com/example/gsyvideopl...
[ "app/src/main/java/com/example/gsyvideoplayer/exo/GSYExoVideoManager.java", "app/src/main/java/com/example/gsyvideoplayer/exosubtitle/GSYExoSubTitleVideoManager.java", "gsyVideoPlayer-java/src/main/java/com/shuyu/gsyvideoplayer/GSYVideoBaseManager.java" ]
[]
true
CarGuo/GSYVideoPlayer
3,352
issue_to_patch
增加针对某些dataBinding的场景,
当context detach activity被回收会出现。
05c70edd4ecb5a130e36b55b3e96f5dbb5e63118
fddaac50a814296c3e5339c3d8a1e83d61cc6735
diff --git a/gsyVideoPlayer-java/src/main/java/com/shuyu/gsyvideoplayer/video/base/GSYBaseVideoPlayer.java b/gsyVideoPlayer-java/src/main/java/com/shuyu/gsyvideoplayer/video/base/GSYBaseVideoPlayer.java index 14648a4c3..914dbe82b 100644 --- a/gsyVideoPlayer-java/src/main/java/com/shuyu/gsyvideoplayer/video/base/GSYBase...
[ "gsyVideoPlayer-java/src/main/java/com/shuyu/gsyvideoplayer/video/base/GSYBaseVideoPlayer.java" ]
[]
true
CarGuo/GSYVideoPlayer
3,334
issue_to_patch
Refine code & format all XML files
- 所有 manifest 文件整理 - 格式化所有 xml 文件 - gsyVideoPlayer-proxy_cache 模块内的代码优化
05c70edd4ecb5a130e36b55b3e96f5dbb5e63118
7ba0af47b2ca10951eee524d7a764948e2b8ccbe
diff --git a/app/src/main/AndroidManifest.xml b/app/src/main/AndroidManifest.xml index ff2b77a12..5cd3c883b 100644 --- a/app/src/main/AndroidManifest.xml +++ b/app/src/main/AndroidManifest.xml @@ -13,18 +13,18 @@ <application android:name=".GSYApplication" - android:allowBackup="true" an...
[ "app/src/main/AndroidManifest.xml", "app/src/main/res/drawable/video_new_progress.xml", "app/src/main/res/drawable/video_new_seekbar_progress.xml", "app/src/main/res/drawable/video_new_seekbar_thumb.xml", "app/src/main/res/drawable/video_new_volume_progress_bg.xml", "app/src/main/res/drawable/video_seek_n...
[]
true
CarGuo/GSYVideoPlayer
3,347
issue_to_patch
Update dependencies & Optimize CI config
- 添加 `.gitattributes` 方便约束文件换行 - 去掉 CI 中的 `gradlew` 文件赋权这一步 - 依赖升级
830c981481980107a2007e1bf118f2e5ac4ddfa5
a2bb7804059fee5aead9f0af2e0917ea549a3b01
diff --git a/.gitattributes b/.gitattributes new file mode 100644 index 000000000..27fc7c296 --- /dev/null +++ b/.gitattributes @@ -0,0 +1,4 @@ +* text=auto eol=lf + +*.bat text eol=crlf +*.jar binary \ No newline at end of file diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 3730c0fad..494775537...
[ ".gitattributes", ".github/workflows/ci.yml", "dependencies.gradle", "gradle/wrapper/gradle-wrapper.properties" ]
[]
true
CarGuo/GSYVideoPlayer
3,328
issue_to_patch
Clean up gradle
- 引用依赖的名称整理 - 删除无效的依赖
f36a6d19ce9ca71ccef361e2e1898449634a5f69
de6fe0f9746e3303525e37266f5d1879a002a4ae
diff --git a/app/build.gradle b/app/build.gradle index b66fcef9c..98cc47dcf 100644 --- a/app/build.gradle +++ b/app/build.gradle @@ -47,7 +47,7 @@ dependencies { implementation androidDependencies.appCompat implementation androidDependencies.recyclerView implementation androidDependencies.core - imple...
[ "app/build.gradle", "dependencies.gradle", "gsyVideoPlayer-base/build.gradle", "gsyVideoPlayer-exo_player2/build.gradle", "gsyVideoPlayer-java/build.gradle", "gsyVideoPlayer/build.gradle", "settings.gradle" ]
[]
true
CarGuo/GSYVideoPlayer
3,261
issue_to_patch
Update gradle & update dependencies & add CI config
- 依赖升级,适配 ExoPlayer 2.14.0 - 部分 gradle 配置简化 - 添加 gitIgnore 规则 - 添加 github action 配置,在提交和 PR 时自动编译,验证合法性。你合进去之后可能需要在 actions 那里开启一下 - 添加可空性注解,增强推断效果 - 部分已废弃方法替换和删除 - ndk 库移入 `src/main/jniLibs` 文件夹内,这是新版 agp 支持的默认路径,不需要额外声明
4f02bbaee2176cdba1d08145bc8c2e0cf0339dc0
655eecc8c5e017518aa0b7223f94aa76d74bc53e
diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml new file mode 100644 index 000000000..e84f002b8 --- /dev/null +++ b/.github/workflows/ci.yml @@ -0,0 +1,19 @@ +name: CI + +on: [ push, pull_request ] + +jobs: + build: + name: Build + runs-on: ubuntu-latest + steps: + - uses: actions/checko...
[ ".github/workflows/ci.yml", ".gitignore", "app/build.gradle", "app/src/main/AndroidManifest.xml", "app/src/main/java/com/example/gsyvideoplayer/AudioDetailPlayer.java", "app/src/main/java/com/example/gsyvideoplayer/AutoPlayRecyclerViewActivity.java", "app/src/main/java/com/example/gsyvideoplayer/DanmkuV...
[]
true
CarGuo/GSYVideoPlayer
3,326
issue_to_patch
Adapt Gradle 7.1 for publishing
解决 #3261 升级 Gradle 7.1.1 引发的发布错误: - 添加 `publish.gradle` 使用 AGP 自带的发布脚本发布,移除 `android-maven-gradle-plugin`,参考 [使用 Maven Publish 插件](https://developer.android.com/studio/build/maven-publish-plugin) - 需要发布 aar 的模块引用 `publish.gradle`
d9b910a2a21633554a3bf729afa8aa0ac6d542c0
e958680a6c83d41af23a551375ee54a40333ccd5
diff --git a/.editorconfig b/.editorconfig new file mode 100644 index 000000000..68f680f91 --- /dev/null +++ b/.editorconfig @@ -0,0 +1,9 @@ +[*] +charset = utf-8 +indent_size = 4 +indent_style = space +insert_final_newline = true +trim_trailing_whitespace = true + +[*.yml] +indent_size = 2 diff --git a/.github/workflo...
[ ".editorconfig", ".github/workflows/ci.yml", "app/build.gradle", "build.gradle", "gradle.properties", "gradle/publish.gradle", "gradle/wrapper/gradle-wrapper.properties", "gsyVideoPlayer-armv5/build.gradle", "gsyVideoPlayer-armv64/build.gradle", "gsyVideoPlayer-armv7a/build.gradle", "gsyVideoPla...
[]
true
CarGuo/GSYVideoPlayer
3,324
issue_to_patch
Add proguard rule for StandardGSYVideoPlayer
https://github.com/CarGuo/GSYVideoPlayer/blob/9f6e4e220a1384e62c6af7ca143aa175cbab1cfc/gsyVideoPlayer-java/src/main/java/com/shuyu/gsyvideoplayer/video/base/GSYBaseVideoPlayer.java#L91-L93 All child views extend `GSYBaseVideoPlayer` which wants to show different layouts was required to override the above constructor...
6fff64ec9aad4b99a8c1ddcea886d3b1ca1189b7
3f36984b2ea6a8986830602d573bb56eb9f04872
diff --git a/README.md b/README.md index 380de2f21..64ad768ba 100644 --- a/README.md +++ b/README.md @@ -282,6 +282,7 @@ ExoSourceManager.setExoMediaSourceInterceptListener(new ExoMediaSourceInterceptL *** get*(); void set*(***); public <init>(android.content.Context); + public <init>(android.content....
[ "README.md" ]
[]
true
CarGuo/GSYVideoPlayer
3,299
issue_to_patch
fix DataSource error
1. CacheDataSource.Factory 未设置 UpstreamDataSourceFactory,导致cache命中失效时走到了默认的dataSource实现,抛异常 2. 当listener返回的dataSourceFactory为空时,没有兜底逻辑,所以将else改为对dataSourceFactory的空判断进行兜底
45b35df4a8a85d6f9f0b0a91cfaf28a931b0c856
b6f4021ff4ed62630b26fbd885102dbacd009bf5
diff --git a/gsyVideoPlayer-exo_player2/src/main/java/tv/danmaku/ijk/media/exo2/ExoSourceManager.java b/gsyVideoPlayer-exo_player2/src/main/java/tv/danmaku/ijk/media/exo2/ExoSourceManager.java index 980353614..35f5190b5 100644 --- a/gsyVideoPlayer-exo_player2/src/main/java/tv/danmaku/ijk/media/exo2/ExoSourceManager.jav...
[ "gsyVideoPlayer-exo_player2/src/main/java/tv/danmaku/ijk/media/exo2/ExoSourceManager.java" ]
[]
true
CarGuo/GSYVideoPlayer
3,254
issue_to_patch
Update gradle & dependencies
- 依赖升级 - 子模块引用 `gradle/base.gradle` 统一配置 - 删除多余的 `gitIgnore` 文件 - Jcenter 发布需要的 `bintray.gradle` 应该已经无用了,全部删掉
ad3c69f58303d6677fe6b55388828cee5a549931
c5ab68dec30c43e3e31d9ebfedb889dac3231b16
diff --git a/.gitignore b/.gitignore index d74e75c73..e2e8e70ce 100644 --- a/.gitignore +++ b/.gitignore @@ -2,7 +2,7 @@ .gradle /local.properties .DS_Store -/build +*/build /.idea /captures .externalNativeBuild diff --git a/app/.gitignore b/app/.gitignore deleted file mode 100644 index 796b96d1c..000000000 --- a...
[ ".gitignore", "app/.gitignore", "app/build.gradle", "app/src/main/java/com/example/gsyvideoplayer/GSYApplication.java", "bintray.gradle", "build.gradle", "dependencies.gradle", "gradle.properties", "gradle/base.gradle", "gradle/wrapper/gradle-wrapper.properties", "gsyVideoPlayer-armv5/.gitignore...
[]
true
CarGuo/GSYVideoPlayer
3,224
issue_to_patch
未啟用系統旋轉,但若使用鎖定螢幕後,會自動開啟
mRotateViewAuto 這屬性在 cloneParams 方法中,沒有複製到。
af3becf7c69e19da602185d00715d266f2b712e0
8dbe2ea305e7010572b2ef090948756c387b50eb
diff --git a/gsyVideoPlayer-java/src/main/java/com/shuyu/gsyvideoplayer/video/base/GSYBaseVideoPlayer.java b/gsyVideoPlayer-java/src/main/java/com/shuyu/gsyvideoplayer/video/base/GSYBaseVideoPlayer.java index 405474bf6..de8fbc51c 100644 --- a/gsyVideoPlayer-java/src/main/java/com/shuyu/gsyvideoplayer/video/base/GSYBase...
[ "gsyVideoPlayer-java/src/main/java/com/shuyu/gsyvideoplayer/video/base/GSYBaseVideoPlayer.java" ]
[]
true
CarGuo/GSYVideoPlayer
3,194
issue_to_patch
ijk的uri.getScheme的非空判断
ijk的uri.getScheme的非空判断
20d61af78655360bde0f45348ed6de2f0581b13c
70fa9e4718aac745b9ae574913f3801ae6d07254
diff --git a/gsyVideoPlayer-java/src/main/java/com/shuyu/gsyvideoplayer/player/IjkPlayerManager.java b/gsyVideoPlayer-java/src/main/java/com/shuyu/gsyvideoplayer/player/IjkPlayerManager.java index 7ff69ebff..bb767d7df 100644 --- a/gsyVideoPlayer-java/src/main/java/com/shuyu/gsyvideoplayer/player/IjkPlayerManager.java +...
[ "gsyVideoPlayer-java/src/main/java/com/shuyu/gsyvideoplayer/player/IjkPlayerManager.java" ]
[]
true
CarGuo/GSYVideoPlayer
3,142
issue_to_patch
Update UPDATE_VERSION.md
shall be 8.0.1 -> 8.1.0
beefaa09857d97f46d5f37276ac2d7866e1977de
d5206883ecd3b6ccbba05ed6410cf81b6f9a7da5
diff --git a/doc/UPDATE_VERSION.md b/doc/UPDATE_VERSION.md index b5e293681..4942fe8d9 100644 --- a/doc/UPDATE_VERSION.md +++ b/doc/UPDATE_VERSION.md @@ -1,7 +1,7 @@ ## 下方个版本说明,可以当做简单的wiki使用~,效果可参考DEMO。 -## 8.0.1 (2020-02-02) +## 8.1.0 (2020-02-02) * fix #3126 crash arm64 with Android11 * update support #3128...
[ "doc/UPDATE_VERSION.md" ]
[]
true
CarGuo/GSYVideoPlayer
2,769
issue_to_patch
防止布局文件中去掉title
防止布局文件中去掉title
333fdfeaf0acbe2d0320424c784bf7489aeb8bce
4c5accfbf6430d2938eacd76de39b42067664178
diff --git a/gsyVideoPlayer-java/src/main/java/com/shuyu/gsyvideoplayer/video/ListGSYVideoPlayer.java b/gsyVideoPlayer-java/src/main/java/com/shuyu/gsyvideoplayer/video/ListGSYVideoPlayer.java index b187aaad3..d5bd323c1 100644 --- a/gsyVideoPlayer-java/src/main/java/com/shuyu/gsyvideoplayer/video/ListGSYVideoPlayer.jav...
[ "gsyVideoPlayer-java/src/main/java/com/shuyu/gsyvideoplayer/video/ListGSYVideoPlayer.java" ]
[]
true
CarGuo/GSYVideoPlayer
2,839
issue_to_patch
更新一下注释
更新一下注释,感觉之前写错了
9df46aa7c5e062fe2c539ef048b2908557dcc0bd
ebf071dc7c9d1f4f11b8637b10e69001b582fa4b
diff --git a/gsyVideoPlayer-java/src/main/java/com/shuyu/gsyvideoplayer/video/StandardGSYVideoPlayer.java b/gsyVideoPlayer-java/src/main/java/com/shuyu/gsyvideoplayer/video/StandardGSYVideoPlayer.java index 269c8a8cf..8daa7d070 100644 --- a/gsyVideoPlayer-java/src/main/java/com/shuyu/gsyvideoplayer/video/StandardGSYVid...
[ "gsyVideoPlayer-java/src/main/java/com/shuyu/gsyvideoplayer/video/StandardGSYVideoPlayer.java" ]
[]
true
CarGuo/GSYVideoPlayer
2,619
issue_to_patch
fix android Q storage
171254f2e4c02e6dcf559debd14c715d45b6d448
8060fedcd83b0e82d118efcc6cbad2189d5a3ec9
diff --git a/gsyVideoPlayer-proxy_cache/src/main/java/com/danikula/videocache/StorageUtils.java b/gsyVideoPlayer-proxy_cache/src/main/java/com/danikula/videocache/StorageUtils.java index 9e14c2046..8b88ceecf 100644 --- a/gsyVideoPlayer-proxy_cache/src/main/java/com/danikula/videocache/StorageUtils.java +++ b/gsyVideoPl...
[ "gsyVideoPlayer-proxy_cache/src/main/java/com/danikula/videocache/StorageUtils.java" ]
[]
true
CarGuo/GSYVideoPlayer
2,531
issue_to_patch
拖动底部进度条时实时显示时间
issue:[2530](https://github.com/CarGuo/GSYVideoPlayer/issues/2530)
921dd2f6e87fbf44cf60527770440860b862cf04
8398c2c751c016f14bb69ddf259349ab4c6079cb
diff --git a/gsyVideoPlayer-java/src/main/java/com/shuyu/gsyvideoplayer/video/base/GSYVideoControlView.java b/gsyVideoPlayer-java/src/main/java/com/shuyu/gsyvideoplayer/video/base/GSYVideoControlView.java index 658177b13..6f0bf2325 100644 --- a/gsyVideoPlayer-java/src/main/java/com/shuyu/gsyvideoplayer/video/base/GSYVi...
[ "gsyVideoPlayer-java/src/main/java/com/shuyu/gsyvideoplayer/video/base/GSYVideoControlView.java" ]
[]
true
CarGuo/GSYVideoPlayer
2,051
issue_to_patch
refactor: safe check getActivityContext to avoid NPE closed #2050
e4bd4734626cb735c0ba1d8d4f94a7a291c0cce0
8f01383b0d18429f7f130229105cdac49e4d8265
diff --git a/gsyVideoPlayer-java/src/main/java/com/shuyu/gsyvideoplayer/video/base/GSYBaseVideoPlayer.java b/gsyVideoPlayer-java/src/main/java/com/shuyu/gsyvideoplayer/video/base/GSYBaseVideoPlayer.java index 8b25124e7..3d0f114ee 100644 --- a/gsyVideoPlayer-java/src/main/java/com/shuyu/gsyvideoplayer/video/base/GSYBase...
[ "gsyVideoPlayer-java/src/main/java/com/shuyu/gsyvideoplayer/video/base/GSYBaseVideoPlayer.java", "gsyVideoPlayer-java/src/main/java/com/shuyu/gsyvideoplayer/video/base/GSYVideoControlView.java", "gsyVideoPlayer-java/src/main/java/com/shuyu/gsyvideoplayer/video/base/GSYVideoView.java" ]
[]
true
CarGuo/GSYVideoPlayer
1,694
issue_to_patch
修复GSYVideoHelper切换全屏导致定时任务停止的问题
将GSYVideoHelper中通过removeview方式做全屏切换而触发GSYVideoControlView中的onDetachedFromWindow方法,导致关闭的定时任务重新开启
72b00ea7cf6a6af57b8f052215fa129a2a8ec39f
fd0459e3c13eaecd40d8955b754f88920fe163e4
diff --git a/gsyVideoPlayer-java/src/main/java/com/shuyu/gsyvideoplayer/utils/GSYVideoHelper.java b/gsyVideoPlayer-java/src/main/java/com/shuyu/gsyvideoplayer/utils/GSYVideoHelper.java index 1edd411bf..9e787e85e 100644 --- a/gsyVideoPlayer-java/src/main/java/com/shuyu/gsyvideoplayer/utils/GSYVideoHelper.java +++ b/gsyV...
[ "gsyVideoPlayer-java/src/main/java/com/shuyu/gsyvideoplayer/utils/GSYVideoHelper.java", "gsyVideoPlayer-java/src/main/java/com/shuyu/gsyvideoplayer/video/StandardGSYVideoPlayer.java" ]
[]
true
CarGuo/GSYVideoPlayer
1,311
issue_to_patch
修改对于Audio冲突时候的处理,子类可以复写方法自己自行另外处理
你好,我提交的pr是想修改对音频冲突的处理,现在是父类写死了。但是我目前遇到的需求是:播放时候的时候录音,然后把这个录音转化成文字发送弹幕,发现目前无法做到。所以就修改了对AudioManager的一些处理,可以交还给子类,根据子类需要可以复写。
0ededb6548f2b601915309c2f379933abfc554f1
8afa5198925bd5839adbfdfdfa1f2da33f34a64b
diff --git a/gsyVideoPlayer-java/src/main/java/com/shuyu/gsyvideoplayer/video/base/GSYVideoView.java b/gsyVideoPlayer-java/src/main/java/com/shuyu/gsyvideoplayer/video/base/GSYVideoView.java index cc79711bf..22de5ee51 100644 --- a/gsyVideoPlayer-java/src/main/java/com/shuyu/gsyvideoplayer/video/base/GSYVideoView.java +...
[ "gsyVideoPlayer-java/src/main/java/com/shuyu/gsyvideoplayer/video/base/GSYVideoView.java" ]
[]
true
CarGuo/GSYVideoPlayer
1,192
issue_to_patch
修复8.0+悬浮窗权限
悬浮窗口在Android 8.0+崩溃,提示没有权限(实际已获得权限) 问题代码: ``` java class FloatPhone @Override public void setView(View view) { mLayoutParams.flags = WindowManager.LayoutParams.FLAG_NOT_TOUCH_MODAL | WindowManager.LayoutParams.FLAG_NOT_FOCUSABLE; mLayoutParams.type = WindowManager.LayoutParams.TYPE_PHONE...
8d81ae5f3e3cde4c45f0baa94efb7d38911fe832
c071ef47071e397638df11e955c572ab6c6d28df
diff --git a/app/src/main/java/com/example/gsyvideoplayer/WindowActivity.java b/app/src/main/java/com/example/gsyvideoplayer/WindowActivity.java index 5a4fafde2..5ecb1c467 100644 --- a/app/src/main/java/com/example/gsyvideoplayer/WindowActivity.java +++ b/app/src/main/java/com/example/gsyvideoplayer/WindowActivity.java...
[ "app/src/main/java/com/example/gsyvideoplayer/WindowActivity.java", "app/src/main/java/com/example/gsyvideoplayer/utils/floatUtil/FloatPhone.java", "app/src/main/java/com/example/gsyvideoplayer/utils/floatUtil/Util.java" ]
[]
true
CarGuo/GSYVideoPlayer
1,057
issue_to_patch
fix android8.0 error: Only fullscreen opaque activities can request o…
…rientation
4286963b1c6571cea328e569bfffdae5efe89d97
21ca373c910398621f12626832ad7ce3ce1e935e
diff --git a/app/src/main/res/values/styles.xml b/app/src/main/res/values/styles.xml index 97fe1a9cd..19bf11bd2 100644 --- a/app/src/main/res/values/styles.xml +++ b/app/src/main/res/values/styles.xml @@ -12,7 +12,7 @@ <style name="Theme.AppCompat.Translucent" parent="AppTheme"> <item name="android:window...
[ "app/src/main/res/values/styles.xml" ]
[]
true
ChatGPTNextWeb/NextChat
6,779
issue_to_patch
docs: add OpenDeploy 'Deploy with your agent' badge to README
#### 💻 变更类型 | Change Type <!-- For change type, change [ ] to [x]. --> - [ ] feat <!-- 引入新功能 | Introduce new features --> - [ ] fix <!-- 修复 Bug | Fix a bug --> - [ ] refactor <!-- 重构代码(既不修复 Bug 也不添加新功能) | Refactor code that neither fixes a bug nor adds a feature --> - [ ] perf <!-- 提升性能的代码变更 | A c...
c3b8c1587c04fff05f7b42276a43016e87771527
0c13a4278a1ae0f909edc0769562a494b371557d
diff --git a/README.md b/README.md index 01a223d3b63..2e45c7120fa 100644 --- a/README.md +++ b/README.md @@ -29,7 +29,7 @@ English / [简体中文](./README_CN.md) [MacOS-image]: https://img.shields.io/badge/-MacOS-black?logo=apple [Linux-image]: https://img.shields.io/badge/-Linux-333?logo=ubuntu -[<img src="https://zeabu...
[ "README.md" ]
[]
true
ChatGPTNextWeb/NextChat
6,514
issue_to_patch
Add gemini-2.5-pro-preview-06-05 into constant.ts
#### 💻 变更类型 | Change Type <!-- For change type, change [ ] to [x]. --> - [x] feat <!-- 引入新功能 | Introduce new features --> - [ ] fix <!-- 修复 Bug | Fix a bug --> - [ ] refactor <!-- 重构代码(既不修复 Bug 也不添加新功能) | Refactor code that neither fixes a bug nor adds a feature --> - [ ] perf <!-- 提升性能的代码变更 | A c...
38093756946ce0d37b24668bbd711f3bed987a7b
02f7e6de983c6de50f72870b97806eccb328dd7a
diff --git a/app/constant.ts b/app/constant.ts index 9fcea11877b..54088a53284 100644 --- a/app/constant.ts +++ b/app/constant.ts @@ -546,6 +546,7 @@ const googleModels = [ "gemini-2.0-flash-thinking-exp-01-21", "gemini-2.0-pro-exp", "gemini-2.0-pro-exp-02-05", + "gemini-2.5-pro-preview-06-05", ]; const an...
[ "app/constant.ts" ]
[]
true
ChatGPTNextWeb/NextChat
45
issue_to_patch
v1.3 Stop and Retry Button
4180363f58800e427af2df5fecf90b5b4b252f05
1e89fe14ac08a87249a917b4630671c52d4f03f5
diff --git a/app/components/home.tsx b/app/components/home.tsx index 1c665f872cf..1265149a18e 100644 --- a/app/components/home.tsx +++ b/app/components/home.tsx @@ -27,6 +27,7 @@ import Locale from "../locales"; import dynamic from "next/dynamic"; import { REPO_URL } from "../constant"; +import { ControllerPool } f...
[ "app/components/home.tsx", "app/locales/cn.ts", "app/locales/en.ts", "app/requests.ts", "app/store/app.ts", "public/android-chrome-192x192.png", "public/android-chrome-512x512.png", "public/apple-touch-icon.png", "public/favicon-16x16.png", "public/favicon-32x32.png", "public/favicon.ico" ]
[]
true
ChatGPTNextWeb/NextChat
29
issue_to_patch
v1.2 bug fix and access control by code
9681fd8e1422feb83fb8731adede1d3d4b534c12
d0d1673cccac3d75edf42a8ae617cfecfac864c6
diff --git a/README.md b/README.md index bef81a1e876..6323a2c5d84 100644 --- a/README.md +++ b/README.md @@ -53,6 +53,7 @@ One-Click to deploy your own ChatGPT web UI. 如果你按照上述步骤一键部署了自己的项目,可能会发现总是提示“存在更新”的问题,这是由于 Vercel 会默认为你创建一个新项目而不是 fork 本项目,这会导致无法正确地检测更新。 推荐你按照下列步骤重新部署: + - 删除掉原先的 repo; - fork 本项目; - 前往 verce...
[ "README.md", "app/api/access.ts", "app/components/settings.tsx", "app/icons/export.svg", "app/layout.tsx", "app/locales/cn.ts", "app/locales/en.ts", "app/requests.ts", "app/store/access.ts", "app/store/app.ts", "app/store/index.ts", "app/styles/globals.scss", "app/utils.ts", "middleware.ts...
[]
true
ChatGPTNextWeb/NextChat
6,637
issue_to_patch
[Feature Request] Built-in Grok-4 support ### 🥰 Feature Description Hello, Currently I was able to use grok-4 by adding a custom xAi provider, however, can we please add this grok-4 out of the box? ### 🧐 Proposed Solution Grok-4 should be available in the list of model after installing an application or when usin...
feat: new models for xAI (#6559)
- Add Grok 4 models: grok-4-0709 (256K context) - Add Grok 4 Fast models with 2M context: grok-4-fast-non-reasoning, grok-4-fast-reasoning - Add Grok Code Fast 1 specialized for agentic coding workflows - Support models with context windows up to 2M tokens closes #6559
995bef73dec4d89c8076cdf8c1c84ee892260494
12ec11ed8a1337f8b700f74799cc87ba7a6927b6
diff --git a/app/constant.ts b/app/constant.ts index 5f36ba25c66..db9842d6027 100644 --- a/app/constant.ts +++ b/app/constant.ts @@ -673,6 +673,11 @@ const xAIModes = [ "grok-3-beta", "grok-3", "grok-3-latest", + "grok-4", + "grok-4-0709", + "grok-4-fast-non-reasoning", + "grok-4-fast-reasoning", + "grok-...
[ "app/constant.ts" ]
[]
true
ChatGPTNextWeb/NextChat
6,572
issue_to_patch
feat: Update moonshot models and fix for typo
…onshot.ai/v1/models #### 💻 变更类型 | Change Type <!-- For change type, change [ ] to [x]. --> - [x] feat <!-- 引入新功能 | Introduce new features --> - [ ] fix <!-- 修复 Bug | Fix a bug --> - [ ] refactor <!-- 重构代码(既不修复 Bug 也不添加新功能) | Refactor code that neither fixes a bug nor adds a feature --> - [ ] perf...
d958441d7f7c424b65abb7bac35c4d58dabb3a73
6a8e41758a8eae37f045540b0b612c48567c579b
diff --git a/app/constant.ts b/app/constant.ts index 2e50eee6d76..6bececb5529 100644 --- a/app/constant.ts +++ b/app/constant.ts @@ -25,7 +25,7 @@ export const ALIBABA_BASE_URL = "https://dashscope.aliyuncs.com/api/"; export const TENCENT_BASE_URL = "https://hunyuan.tencentcloudapi.com"; -export const MOONSHOT_BAS...
[ "app/constant.ts" ]
[]
true
ChatGPTNextWeb/NextChat
6,599
issue_to_patch
add: model gpt-5
#### 💻 变更类型 | Change Type <!-- For change type, change [ ] to [x]. --> - [x] feat <!-- 引入新功能 | Introduce new features --> - [ ] fix <!-- 修复 Bug | Fix a bug --> - [ ] refactor <!-- 重构代码(既不修复 Bug 也不添加新功能) | Refactor code that neither fixes a bug nor adds a feature --> - [ ] perf <!-- 提升性能的代码变更 | A c...
557a2cce357749c6fb3176d42e03ff6f7de4d355
38ac502d8008002735166ecbe7fffa150bbe922b
diff --git a/app/client/platforms/openai.ts b/app/client/platforms/openai.ts index 51ae71ea6e6..cfbff99e978 100644 --- a/app/client/platforms/openai.ts +++ b/app/client/platforms/openai.ts @@ -200,6 +200,7 @@ export class ChatGPTApi implements LLMApi { options.config.model.startsWith("o1") || options.conf...
[ "app/client/platforms/openai.ts", "app/constant.ts" ]
[ { "comment": "_💡 Verification agent_\n\n<details>\n<summary>🧩 Analysis chain</summary>\n\n**Confirm intent: forcing temperature=1 for GPT‑5**\n\nYou’re forcing temperature=1 for GPT‑5 (similar to o1/o3/o4-mini) but leaving other sampling params (top_p, penalties) unchanged. Verify this matches GPT‑5 API seman...
true
ChatGPTNextWeb/NextChat
234
issue_to_patch
快捷指令 能出个快捷指令的教程吗? 1. code不知道是怎么传参 2. 每次对话请求都带了上下文的信息,可不可不用携带
feat: support history message count to zero
close #231
dab69c7507b3dd6cf0c3036dd447586654880722
0c9add79884156e778863849bba95dd50c2b5fb0
diff --git a/app/components/settings.tsx b/app/components/settings.tsx index 43d14fc47bb..f1de4d739b9 100644 --- a/app/components/settings.tsx +++ b/app/components/settings.tsx @@ -375,7 +375,7 @@ export function Settings(props: { closeSettings: () => void }) { type="range" title={config.h...
[ "app/components/settings.tsx" ]
[]
true
ChatGPTNextWeb/NextChat
6,573
issue_to_patch
chore: Use Vite instead of Create React App
#### 💻 变更类型 | Change Type <!-- For change type, change [ ] to [x]. --> - [ ] feat <!-- 引入新功能 | Introduce new features --> - [ ] fix <!-- 修复 Bug | Fix a bug --> - [ ] refactor <!-- 重构代码(既不修复 Bug 也不添加新功能) | Refactor code that neither fixes a bug nor adds a feature --> - [ ] perf <!-- 提升性能的代码变更 | A c...
d958441d7f7c424b65abb7bac35c4d58dabb3a73
c97c1e4d3e02e7068828f38c76d94de0381aca6b
diff --git a/public/prompts.json b/public/prompts.json index 24ea3a0731d..39bb67df7f4 100644 --- a/public/prompts.json +++ b/public/prompts.json @@ -398,7 +398,7 @@ ], [ "担任高级前端开发人员", - "我希望你担任高级前端开发人员。我将描述您将使用以下工具编写项目代码的项目详细信息:Create React App、yarn、Ant Design、List、Redux Toolkit、createSlice、thunk、...
[ "public/prompts.json" ]
[]
true
ChatGPTNextWeb/NextChat
6,580
issue_to_patch
Docs: Add & Update korean docs
#### 💻 变更类型 | Change Type <!-- For change type, change [ ] to [x]. --> - [ ] feat <!-- 引入新功能 | Introduce new features --> - [ ] fix <!-- 修复 Bug | Fix a bug --> - [ ] refactor <!-- 重构代码(既不修复 Bug 也不添加新功能) | Refactor code that neither fixes a bug nor adds a feature --> - [ ] perf <!-- 提升性能的代码变更 | A c...
d958441d7f7c424b65abb7bac35c4d58dabb3a73
1374770929786b89f774d2825bf83aa7d64a50c3
diff --git a/README_KO.md b/README_KO.md new file mode 100644 index 00000000000..40ba5a6a1c4 --- /dev/null +++ b/README_KO.md @@ -0,0 +1,492 @@ +<div align="center"> + +<a href='https://nextchat.club'> + <img src="https://github.com/user-attachments/assets/83bdcc07-ae5e-4954-a53a-ac151ba6ccf3" width="1000" alt="icon"/...
[ "README_KO.md", "app/locales/ko.ts", "docs/cloudflare-pages-ko.md", "docs/vercel-ko.md" ]
[ { "comment": "_⚠️ Potential issue_\n\n**Fix duplicated Korean particle**\n\nThere's a duplicated particle \"는\" in the text.\n\n```diff\n-[302.AI](https://302.ai/)는 는 사용한 만큼만 비용을 지불하는 AI 애플리케이션 플랫폼으로, 다양한 AI API 및 온라인 애플리케이션을 제공합니다.\n+[302.AI](https://302.ai/)는 사용한 만큼만 비용을 지불하는 AI 애플리케이션 플랫폼으로, 다양한 AI API 및 온라인...
true
ChatGPTNextWeb/NextChat
6,580
comment_to_fix
Docs: Add & Update korean docs
_⚠️ Potential issue_ **Fix duplicated Korean particle** There's a duplicated particle "는" in the text. ```diff -[302.AI](https://302.ai/)는 는 사용한 만큼만 비용을 지불하는 AI 애플리케이션 플랫폼으로, 다양한 AI API 및 온라인 애플리케이션을 제공합니다. +[302.AI](https://302.ai/)는 사용한 만큼만 비용을 지불하는 AI 애플리케이션 플랫폼으로, 다양한 AI API 및 온라인 애플리케이션을 제공합니다. ``` <!-- sugges...
d958441d7f7c424b65abb7bac35c4d58dabb3a73
1374770929786b89f774d2825bf83aa7d64a50c3
diff --git a/README_KO.md b/README_KO.md new file mode 100644 index 00000000000..40ba5a6a1c4 --- /dev/null +++ b/README_KO.md @@ -0,0 +1,492 @@ +<div align="center"> + +<a href='https://nextchat.club'> + <img src="https://github.com/user-attachments/assets/83bdcc07-ae5e-4954-a53a-ac151ba6ccf3" width="1000" alt="icon"/...
[ "README_KO.md" ]
[ { "comment": "_⚠️ Potential issue_\n\n**Fix duplicated Korean particle**\n\nThere's a duplicated particle \"는\" in the text.\n\n```diff\n-[302.AI](https://302.ai/)는 는 사용한 만큼만 비용을 지불하는 AI 애플리케이션 플랫폼으로, 다양한 AI API 및 온라인 애플리케이션을 제공합니다.\n+[302.AI](https://302.ai/)는 사용한 만큼만 비용을 지불하는 AI 애플리케이션 플랫폼으로, 다양한 AI API 및 온라인...
true
ChatGPTNextWeb/NextChat
6,581
issue_to_patch
fix typo
<!-- This is an auto-generated comment: release notes by coderabbit.ai --> ## Summary by CodeRabbit * **Style** * Corrected a typo in the type name from "HTMLPreviewHander" to "HTMLPreviewHandler" across relevant components to improve consistency. <!-- end of auto-generated comment: release notes by coderabbit.a...
d958441d7f7c424b65abb7bac35c4d58dabb3a73
f6ca428a40ffa1c80f572838a4ea3ba884c2e16c
diff --git a/app/components/artifacts.tsx b/app/components/artifacts.tsx index ce187fbcb2c..7546260d92b 100644 --- a/app/components/artifacts.tsx +++ b/app/components/artifacts.tsx @@ -29,11 +29,11 @@ type HTMLPreviewProps = { onLoad?: (title?: string) => void; }; -export type HTMLPreviewHander = { +export type H...
[ "app/components/artifacts.tsx", "app/components/markdown.tsx" ]
[ { "comment": "_⚠️ Potential issue_\n\n**Same `useRef` nullability issue here.**\n\n```diff\n-const previewRef = useRef<HTMLPreviewHandler>(null);\n+const previewRef = useRef<HTMLPreviewHandler | null>(null);\n```\n\n<!-- suggestion_start -->\n\n<details>\n<summary>📝 Committable suggestion</summary>\n\n> ‼️ **I...
true
ChatGPTNextWeb/NextChat
6,570
issue_to_patch
Add gemini-2.5-pro tag, you can use free gemini-2.5-pro
#### 💻 变更类型 | Change Type <!-- For change type, change [ ] to [x]. --> - [ ] add gemini-2.5-pro <!-- 引入新功能 | Introduce new features --> #### 🔀 变更说明 | Description of Change <!-- 感谢您的 Pull Request ,请提供此 Pull Request 的变更说明 Thank you for your Pull Request. Please provide a description above. --> Add...
80d7fd9b9882a7f6a3a0ff6710f2250c3cd5a231
1600b96454cf098490098e8cd043745403f15b02
diff --git a/app/constant.ts b/app/constant.ts index ba622d97930..2e50eee6d76 100644 --- a/app/constant.ts +++ b/app/constant.ts @@ -555,6 +555,7 @@ const googleModels = [ "gemini-2.0-pro-exp", "gemini-2.0-pro-exp-02-05", "gemini-2.5-pro-preview-06-05", + "gemini-2.5-pro" ]; const anthropicModels = [
[ "app/constant.ts" ]
[]
true
ChatGPTNextWeb/NextChat
6,562
issue_to_patch
fix: Update the regular expressions to support image upload functionality for multimodal Claude 4 and Gemini 2.5 series.
fix: Update the regular expressions to support image upload functionality for multimodal Claude 4 and Gemini 2.5 series. #### 💻 变更类型 | Change Type <!-- For change type, change [ ] to [x]. --> - [ ] feat <!-- 引入新功能 | Introduce new features --> - [x] fix <!-- 修复 Bug | Fix a bug --> - [ ] refactor <!-- ...
0031544e145ac890c05d8d82f56c5fccccd76abc
e8a18d0b38baec7a5aac29773f5cf4e7022f725f
diff --git a/app/constant.ts b/app/constant.ts index 3660877e06b..ba622d97930 100644 --- a/app/constant.ts +++ b/app/constant.ts @@ -479,19 +479,20 @@ export const VISION_MODEL_REGEXES = [ /vision/, /gpt-4o/, /gpt-4\.1/, - /claude-3/, + /claude.*[34]/, /gemini-1\.5/, /gemini-exp/, - /gemini-2\.0/, + ...
[ "app/constant.ts" ]
[]
true
ChatGPTNextWeb/NextChat
6,552
issue_to_patch
Migrate to claude 4
#### 💻 变更类型 | Change Type <!-- For change type, change [ ] to [x]. --> - [x] feat <!-- 引入新功能 | Introduce new features --> - [ ] fix <!-- 修复 Bug | Fix a bug --> - [ ] refactor <!-- 重构代码(既不修复 Bug 也不添加新功能) | Refactor code that neither fixes a bug nor adds a feature --> - [ ] perf <!-- 提升性能的代码变更 | A c...
814fd2786e02f5344c42d46c9168841e1f639c30
21d39b8dd6e3e866465df65fa805d90b5d06e444
diff --git a/app/client/platforms/anthropic.ts b/app/client/platforms/anthropic.ts index 6747221a861..2377470904f 100644 --- a/app/client/platforms/anthropic.ts +++ b/app/client/platforms/anthropic.ts @@ -224,7 +224,7 @@ export class ClaudeApi implements LLMApi { let chunkJson: | undefined ...
[ "app/client/platforms/anthropic.ts", "app/constant.ts" ]
[]
true
ChatGPTNextWeb/NextChat
6,557
issue_to_patch
Feat/support 302ai provider
#### 💻 变更类型 | Change Type <!-- For change type, change [ ] to [x]. --> - [ ] feat <!-- 引入新功能 | Introduce new features --> - [ ] fix <!-- 修复 Bug | Fix a bug --> - [ ] refactor <!-- 重构代码(既不修复 Bug 也不添加新功能) | Refactor code that neither fixes a bug nor adds a feature --> - [ ] perf <!-- 提升性能的代码变更 | A c...
814fd2786e02f5344c42d46c9168841e1f639c30
666ca734ec5041a825500bce6102e48ba88348b6
diff --git a/README.md b/README.md index aaf212d4565..01a223d3b63 100644 --- a/README.md +++ b/README.md @@ -4,16 +4,13 @@ <img src="https://github.com/user-attachments/assets/83bdcc07-ae5e-4954-a53a-ac151ba6ccf3" width="1000" alt="icon"/> </a> - - <h1 align="center">NextChat</h1> English / [简体中文](./README_CN...
[ "README.md", "README_CN.md", "README_JA.md" ]
[]
true
ChatGPTNextWeb/NextChat
6,542
issue_to_patch
Feat/support 302ai provider
#### 💻 变更类型 | Change Type <!-- For change type, change [ ] to [x]. --> - [x] feat <!-- 引入新功能 | Introduce new features --> - [ ] fix <!-- 修复 Bug | Fix a bug --> - [ ] refactor <!-- 重构代码(既不修复 Bug 也不添加新功能) | Refactor code that neither fixes a bug nor adds a feature --> - [ ] perf <!-- 提升性能的代码变更 | A c...
673f907ea4e07eda8dbe479213e19b056819550d
29dbffac3ee09d4fb7e7f34fe650f93eebde883a
diff --git a/.env.template b/.env.template index 4efaa2ff8c6..96dedddc8aa 100644 --- a/.env.template +++ b/.env.template @@ -81,3 +81,9 @@ SILICONFLOW_API_KEY= ### siliconflow Api url (optional) SILICONFLOW_URL= + +### 302.AI Api key (optional) +AI302_API_KEY= + +### 302.AI Api url (optional) +AI302_URL= diff --git...
[ ".env.template", "README.md", "README_CN.md", "README_JA.md", "app/api/302ai.ts", "app/api/[provider]/[...path]/route.ts", "app/client/api.ts", "app/client/platforms/ai302.ts", "app/components/settings.tsx", "app/config/server.ts", "app/constant.ts", "app/locales/ar.ts", "app/locales/bn.ts",...
[ { "comment": "_⚠️ Potential issue_\n\n**Fix localization inconsistency**\n\nThe \"Endpoint Address\" should be translated to Portuguese to maintain consistency with other providers in this locale file.\n\n\n```diff\n- Title: \"Endpoint Address\",\n+ Title: \"Endereço do Endpoint\",\n```\n\n<!-...
true
ChatGPTNextWeb/NextChat
6,515
issue_to_patch
Removed deprecated Gemini models
#### 💻 变更类型 | Change Type <!-- For change type, change [ ] to [x]. --> - [ ] feat <!-- 引入新功能 | Introduce new features --> - [x] fix <!-- 修复 Bug | Fix a bug --> - [ ] refactor <!-- 重构代码(既不修复 Bug 也不添加新功能) | Refactor code that neither fixes a bug nor adds a feature --> - [ ] perf <!-- 提升性能的代码变更 | A c...
c30ddfbb07b9edca0b964c0902495225693ca3d6
eb193ac0ff426bd3344046f8f7351fc2710b45e1
diff --git a/app/constant.ts b/app/constant.ts index beed3e48f5d..ffbdab26ce6 100644 --- a/app/constant.ts +++ b/app/constant.ts @@ -523,20 +523,15 @@ const openaiModels = [ ]; const googleModels = [ - "gemini-1.0-pro", // Deprecated on 2/15/2025 "gemini-1.5-pro-latest", "gemini-1.5-pro", "gemini-1.5-pro-...
[ "app/constant.ts" ]
[]
true
ChatGPTNextWeb/NextChat
6,425
issue_to_patch
Fix: Encourage markdown inclusion in model responses for o1/o3
#### 💻 Change Type <!-- For change type, change [ ] to [x]. --> - [ ] feat <!-- 引入新功能 | Introduce new features --> - [x] fix <!-- 修复 Bug | Fix a bug --> - [ ] refactor <!-- 重构代码(既不修复 Bug 也不添加新功能) | Refactor code that neither fixes a bug nor adds a feature --> - [ ] perf <!-- 提升性能的代码变更 | A code cha...
48469bd8ca4b29d40db0ade61b57f9be6f601e01
c261ebc82c46d6857fe0f2addd28a18c9f44d7d9
diff --git a/app/client/platforms/openai.ts b/app/client/platforms/openai.ts index c6f3fc4253f..22953257d7c 100644 --- a/app/client/platforms/openai.ts +++ b/app/client/platforms/openai.ts @@ -56,7 +56,7 @@ export interface OpenAIListModelResponse { export interface RequestPayload { messages: { - role: "system...
[ "app/client/platforms/openai.ts" ]
[]
true
ChatGPTNextWeb/NextChat
6,460
issue_to_patch
加入Grok3模型列表
#### 💻 变更类型 | Change Type <!-- For change type, change [ ] to [x]. --> - [x] feat <!-- 引入新功能 | Introduce new features --> - [ ] fix <!-- 修复 Bug | Fix a bug --> - [ ] refactor <!-- 重构代码(既不修复 Bug 也不添加新功能) | Refactor code that neither fixes a bug nor adds a feature --> - [ ] perf <!-- 提升性能的代码变更 | A c...
705dffc6648736882f5b7b174c49a3d993cf5bdf
03d36f96edfea1dec698768045f357fdea25db7d
diff --git a/app/constant.ts b/app/constant.ts index 54088a53284..beed3e48f5d 100644 --- a/app/constant.ts +++ b/app/constant.ts @@ -633,6 +633,18 @@ const xAIModes = [ "grok-2-vision-1212", "grok-2-vision", "grok-2-vision-latest", + "grok-3-mini-fast-beta", + "grok-3-mini-fast", + "grok-3-mini-fast-latest"...
[ "app/constant.ts" ]
[]
true
ChatGPTNextWeb/NextChat
6,457
issue_to_patch
Support OpenAI o3 and o4-mini
#### 💻 变更类型 | Change Type - [x] feat <!-- 引入新功能 | Introduce new features --> - [ ] fix <!-- 修复 Bug | Fix a bug --> - [ ] refactor <!-- 重构代码(既不修复 Bug 也不添加新功能) | Refactor code that neither fixes a bug nor adds a feature --> - [ ] perf <!-- 提升性能的代码变更 | A code change that improves performance --> - [ ] ...
11b37c15bd71579ab1b67ec7cca4ad6cbabeb764
2d7229d2b8acaf90f0366bf56527357af31c7e47
diff --git a/app/client/platforms/openai.ts b/app/client/platforms/openai.ts index c6f3fc4253f..4cad6bf945f 100644 --- a/app/client/platforms/openai.ts +++ b/app/client/platforms/openai.ts @@ -198,7 +198,8 @@ export class ChatGPTApi implements LLMApi { const isDalle3 = _isDalle3(options.config.model); const i...
[ "app/client/platforms/openai.ts", "app/constant.ts" ]
[]
true
ChatGPTNextWeb/NextChat
6,458
issue_to_patch
Update README.md
#### 💻 变更类型 | Change Type <!-- For change type, change [ ] to [x]. --> - [ ] feat <!-- 引入新功能 | Introduce new features --> - [ ] fix <!-- 修复 Bug | Fix a bug --> - [ ] refactor <!-- 重构代码(既不修复 Bug 也不添加新功能) | Refactor code that neither fixes a bug nor adds a feature --> - [ ] perf <!-- 提升性能的代码变更 | A c...
11b37c15bd71579ab1b67ec7cca4ad6cbabeb764
c9ef6d58ed2103180115e3295fa7c1bb31859942
diff --git a/README.md b/README.md index 7d3f7145c0b..bd55559ed88 100644 --- a/README.md +++ b/README.md @@ -40,13 +40,12 @@ English / [简体中文](./README_CN.md) </div> -## 🥳 Cheer for DeepSeek, China's AI star! - > Purpose-Built UI for DeepSeek Reasoner Model - -<img src="https://github.com/user-attachments/assets/...
[ "README.md" ]
[]
true
ChatGPTNextWeb/NextChat
5,815
issue_to_patch
更新视觉模型匹配关键词
#### 💻 变更类型 | Change Type <!-- For change type, change [ ] to [x]. --> - [ ] feat <!-- 引入新功能 | Introduce new features --> - [ ] fix <!-- 修复 Bug | Fix a bug --> - [ ] refactor <!-- 重构代码(既不修复 Bug 也不添加新功能) | Refactor code that neither fixes a bug nor adds a feature --> - [ ] perf <!-- 提升性能的代码变更 | A c...
7cf89b53ce129ec3c51181571b34b658894673b2
8d66fedb1f5093d6e29ac06a839316edb535512d
diff --git a/app/utils.ts b/app/utils.ts index 2dd80b8a314..1c359ef9508 100644 --- a/app/utils.ts +++ b/app/utils.ts @@ -257,11 +257,11 @@ export function isVisionModel(model: string) { const excludeKeywords = ["claude-3-5-haiku-20241022"]; const visionKeywords = [ "vision", - "claude-3", - "gemini-1.5...
[ "app/utils.ts" ]
[ { "comment": "_:bulb: Codebase verification_\n\n**Found inconsistencies in model naming and references that need attention**\n\nSeveral issues need to be addressed:\n\n- The PR removes \"gpt-4o-mini\" from vision keywords but the model is still referenced in multiple files:\n - `app/constant.ts`: Used in model...
true
ChatGPTNextWeb/NextChat
6,450
issue_to_patch
Add gpt-4.1 family & gpt-4.5-preview support
#### 💻 变更类型 | Change Type <!-- For change type, change [ ] to [x]. --> - [x] feat <!-- 引入新功能 | Introduce new features --> - [ ] fix <!-- 修复 Bug | Fix a bug --> - [ ] refactor <!-- 重构代码(既不修复 Bug 也不添加新功能) | Refactor code that neither fixes a bug nor adds a feature --> - [ ] perf <!-- 提升性能的代码变更 | A c...
48469bd8ca4b29d40db0ade61b57f9be6f601e01
1d0038f17d87b82eca8cdd5d199791db20fc4b26
diff --git a/app/constant.ts b/app/constant.ts index c1b1354850a..422c426298b 100644 --- a/app/constant.ts +++ b/app/constant.ts @@ -417,6 +417,14 @@ export const KnowledgeCutOffDate: Record<string, string> = { "gpt-4-turbo": "2023-12", "gpt-4-turbo-2024-04-09": "2023-12", "gpt-4-turbo-preview": "2023-12", + ...
[ "app/constant.ts" ]
[]
true
ChatGPTNextWeb/NextChat
4,186
issue_to_patch
support \(...\) and \[...\] style math formula
解决gpt回复的公式使用 \\(...\\) 和 \\[...\\] 格式导致的渲染问题 https://github.com/ChatGPTNextWeb/ChatGPT-Next-Web/issues/3436#issuecomment-1842626873 remark-math 里有人讨论了这个问题,不过结论是不会支持这种格式 https://github.com/remarkjs/remark-math/issues/39 曾尝试用rehype-mathjax来代替rehype-katex,不过也没有正确渲染 最后参考了这里的实现,把\\(...\\) 和 \\[...\\]格式替换为美元符号: http...
f1b4c083a4b3af4a4a8827e80a132730ba59170d
524c9beee4fa02323e4dde295d64c2d224fe3186
diff --git a/app/components/markdown.tsx b/app/components/markdown.tsx index f3a916cc535..7c70fe1a5ac 100644 --- a/app/components/markdown.tsx +++ b/app/components/markdown.tsx @@ -116,9 +116,27 @@ function escapeDollarNumber(text: string) { return escapedText; } +function escapeBrackets(text: string) { + const ...
[ "app/components/markdown.tsx" ]
[ { "comment": "The original intention of the escapeDollarNumber function was to resolve latex syntax conflicts, but unfortunately, it failed to resolve the problem, so the function can be directly modified, rather than wrapped on top of it", "path": "app/components/markdown.tsx", "hunk": "@@ -116,9 +116,...
true
ChatGPTNextWeb/NextChat
6,235
issue_to_patch
Translation to danish
#### 💻 变更类型 | Change Type <!-- For change type, change [ ] to [x]. --> - [ ] feat <!-- 引入新功能 | Introduce new features --> - [ ] fix <!-- 修复 Bug | Fix a bug --> - [ ] refactor <!-- 重构代码(既不修复 Bug 也不添加新功能) | Refactor code that neither fixes a bug nor adds a feature --> - [ ] perf <!-- 提升性能的代码变更 | A c...
12863f52131bba9d75b29038970c9293f3b54cb5
90827fc593f2e756264c0d309e638491105b669b
diff --git a/app/locales/da.ts b/app/locales/da.ts new file mode 100644 index 00000000000..7090b062bb3 --- /dev/null +++ b/app/locales/da.ts @@ -0,0 +1,832 @@ +import { getClientConfig } from "../config/client"; +import { SubmitKey } from "../store/config"; +import { SAAS_CHAT_UTM_URL } from "@/app/constant"; +import {...
[ "app/locales/da.ts", "app/locales/index.ts" ]
[]
true
ChatGPTNextWeb/NextChat
6,392
issue_to_patch
Update README.md
#### 💻 变更类型 | Change Type <!-- For change type, change [ ] to [x]. --> - [ ] feat <!-- 引入新功能 | Introduce new features --> - [ ] fix <!-- 修复 Bug | Fix a bug --> - [ ] refactor <!-- 重构代码(既不修复 Bug 也不添加新功能) | Refactor code that neither fixes a bug nor adds a feature --> - [ ] perf <!-- 提升性能的代码变更 | A c...
b6f5d756567c79cb15adb2f31a0399ed868668ef
5a5e887f2b8d6433e8adc2f7619bfd003561d154
diff --git a/README.md b/README.md index 93a5289bdee..7d3f7145c0b 100644 --- a/README.md +++ b/README.md @@ -7,7 +7,7 @@ -<h1 align="center">NextChat (ChatGPT Next Web)</h1> +<h1 align="center">NextChat</h1> English / [简体中文](./README_CN.md) @@ -40,24 +40,6 @@ English / [简体中文](./README_CN.md) </div> -## ...
[ "README.md" ]
[]
true
ChatGPTNextWeb/NextChat
6,033
issue_to_patch
fix: prevent message sync between forked sessions by generating unique IDs
#### 💻 变更类型 | Change Type <!-- For change type, change [ ] to [x]. --> - [ ] feat <!-- 引入新功能 | Introduce new features --> - [x] fix <!-- 修复 Bug | Fix a bug --> - [ ] refactor <!-- 重构代码(既不修复 Bug 也不添加新功能) | Refactor code that neither fixes a bug nor adds a feature --> - [ ] perf <!-- 提升性能的代码变更 | A c...
0af04e0f2f5af2c39cdd771b2ebb496d9ca47f28
840c151ab9ea7e384be37b774ea339264b5c0dc6
diff --git a/app/store/chat.ts b/app/store/chat.ts index 63d7394ece6..7a476fa7f6e 100644 --- a/app/store/chat.ts +++ b/app/store/chat.ts @@ -214,7 +214,11 @@ export const useChatStore = createPersistStore( const newSession = createEmptySession(); newSession.topic = currentSession.topic; - new...
[ "app/store/chat.ts" ]
[]
true
ChatGPTNextWeb/NextChat
6,344
issue_to_patch
test: fix unit test failures
#### 💻 变更类型 | Change Type <!-- For change type, change [ ] to [x]. --> - [ ] feat <!-- 引入新功能 | Introduce new features --> - [ ] fix <!-- 修复 Bug | Fix a bug --> - [ ] refactor <!-- 重构代码(既不修复 Bug 也不添加新功能) | Refactor code that neither fixes a bug nor adds a feature --> - [ ] perf <!-- 提升性能的代码变更 | A c...
f7cde179193872ca39f8d826411af05419565ceb
0d41a17ef6ee0bb38a47534819a8d4ce384d2764
diff --git a/jest.config.ts b/jest.config.ts index cd25e8e7a5a..5f095dffb73 100644 --- a/jest.config.ts +++ b/jest.config.ts @@ -15,6 +15,8 @@ const config: Config = { moduleNameMapper: { "^@/(.*)$": "<rootDir>/$1", }, + extensionsToTreatAsEsm: [".ts", ".tsx"], + injectGlobals: true, }; // createJestCo...
[ "jest.config.ts", "jest.setup.ts", "package.json", "test/vision-model-checker.test.ts" ]
[]
diff --git a/test/vision-model-checker.test.ts b/test/vision-model-checker.test.ts index 734e992d829..c25d92337d7 100644 --- a/test/vision-model-checker.test.ts +++ b/test/vision-model-checker.test.ts @@ -1,3 +1,4 @@ +import { jest } from "@jest/globals"; import { isVisionModel } from "../app/utils"; describe("isVi...
true
ChatGPTNextWeb/NextChat
6,292
issue_to_patch
feat(alibaba): Added alibaba vision model and omni model support
#### 💻 变更类型 | Change Type <!-- For change type, change [ ] to [x]. --> - [x] feat <!-- 引入新功能 | Introduce new features --> - [ ] fix <!-- 修复 Bug | Fix a bug --> - [ ] refactor <!-- 重构代码(既不修复 Bug 也不添加新功能) | Refactor code that neither fixes a bug nor adds a feature --> - [ ] perf <!-- 提升性能的代码变更 | A c...
f5f3ce94f63bceadff24ca1beff3ae85d142f92e
a2c4e468a08cfe7108d30ac0e63fe43c63fb4bef
diff --git a/app/client/api.ts b/app/client/api.ts index 64ac82b2a61..f5288593d32 100644 --- a/app/client/api.ts +++ b/app/client/api.ts @@ -40,6 +40,11 @@ export interface MultimodalContent { }; } +export interface MultimodalContentForAlibaba { + text?: string; + image?: string; +} + export interface RequestM...
[ "app/client/api.ts", "app/client/platforms/alibaba.ts", "app/constant.ts", "app/utils/chat.ts" ]
[]
true
ChatGPTNextWeb/NextChat
6,307
issue_to_patch
2025年2月28日
#### 💻 变更类型 | Change Type <!-- For change type, change [ ] to [x]. --> - [ ] feat <!-- 引入新功能 | Introduce new features --> - [ ] fix <!-- 修复 Bug | Fix a bug --> - [ ] refactor <!-- 重构代码(既不修复 Bug 也不添加新功能) | Refactor code that neither fixes a bug nor adds a feature --> - [ ] perf <!-- 提升性能的代码变更 | A c...
7aa9ae0a3e26b3f1a7fb332e3efb418d40662480
7aa9ae0a3e26b3f1a7fb332e3efb418d40662480
[]
[]
true
ChatGPTNextWeb/NextChat
6,310
issue_to_patch
Remove duplicate links
#### 💻 变更类型 | Change Type <!-- For change type, change [ ] to [x]. --> - [ ] feat <!-- 引入新功能 | Introduce new features --> - [ ] fix <!-- 修复 Bug | Fix a bug --> - [ ] refactor <!-- 重构代码(既不修复 Bug 也不添加新功能) | Refactor code that neither fixes a bug nor adds a feature --> - [ ] perf <!-- 提升性能的代码变更 | A c...
216707665276fbfe795fa72dae65a8b3d18bb57b
ad6666eeafb38c1faa00ced357187138d7e09bcb
diff --git a/README.md b/README.md index fbc087697e7..93a5289bdee 100644 --- a/README.md +++ b/README.md @@ -22,7 +22,6 @@ English / [简体中文](./README_CN.md) [![MacOS][MacOS-image]][download-url] [![Linux][Linux-image]][download-url] -[NextChatAI](https://nextchat.dev/chat?utm_source=readme) / [Web App Demo](https://...
[ "README.md" ]
[]
true
ChatGPTNextWeb/NextChat
6,311
issue_to_patch
[Bug]The first message (except the system message) of deepseek-reasoner must be a user message, but an assistant message detected. ### 📦 Deployment Method Docker ### 📌 Version V2.15.8 ### 💻 Operating System Ubuntu ### 📌 System Version Ubuntu 24.04.1 LTS ### 🌐 Browser Chrome ### 📌 Browser Version 133....
fix: enforce that the first message (excluding system messages) is a …
…user message in the Deepseek API #### 💻 变更类型 | Change Type <!-- For change type, change [ ] to [x]. --> - [ ] feat <!-- 引入新功能 | Introduce new features --> - [x] fix <!-- 修复 Bug | Fix a bug --> - [ ] refactor <!-- 重构代码(既不修复 Bug 也不添加新功能) | Refactor code that neither fixes a bug nor adds a feature --...
216707665276fbfe795fa72dae65a8b3d18bb57b
2d4180f5be9639fc7a7e050834b1706ac2ee47ee
diff --git a/app/client/platforms/deepseek.ts b/app/client/platforms/deepseek.ts index b21d24cefc4..1b38b40cc64 100644 --- a/app/client/platforms/deepseek.ts +++ b/app/client/platforms/deepseek.ts @@ -75,6 +75,25 @@ export class DeepSeekApi implements LLMApi { } } + // 检测并修复消息顺序,确保除system外的第一个消息是user +...
[ "app/client/platforms/deepseek.ts" ]
[]
true
ChatGPTNextWeb/NextChat
6,295
issue_to_patch
Fix: Improve Mistral icon detection and remove redundant code.
#### 💻 变更类型 | Change Type <!-- For change type, change [ ] to [x]. --> - [ ] feat <!-- 引入新功能 | Introduce new features --> - [x] fix <!-- 修复 Bug | Fix a bug --> - [ ] refactor <!-- 重构代码(既不修复 Bug 也不添加新功能) | Refactor code that neither fixes a bug nor adds a feature --> - [ ] perf <!-- 提升性能的代码变更 | A c...
f5f3ce94f63bceadff24ca1beff3ae85d142f92e
ebcb4db245d3b7b4d34f807c5c7aaa5975ac5330
diff --git a/app/components/emoji.tsx b/app/components/emoji.tsx index 1bf39ac1d77..31d7f0ac61e 100644 --- a/app/components/emoji.tsx +++ b/app/components/emoji.tsx @@ -66,11 +66,11 @@ export function Avatar(props: { model?: ModelType; avatar?: string }) { LlmIcon = BotIconGemma; } else if (modelName.starts...
[ "app/components/emoji.tsx" ]
[]
true
ChatGPTNextWeb/NextChat
6,293
issue_to_patch
claude 3.7 support
#### 💻 变更类型 | Change Type <!-- For change type, change [ ] to [x]. --> - [x] feat <!-- 引入新功能 | Introduce new features --> - [ ] fix <!-- 修复 Bug | Fix a bug --> - [ ] refactor <!-- 重构代码(既不修复 Bug 也不添加新功能) | Refactor code that neither fixes a bug nor adds a feature --> - [ ] perf <!-- 提升性能的代码变更 | A c...
f5f3ce94f63bceadff24ca1beff3ae85d142f92e
f3154b20a559e0d5b3d0025b13827adb66e1fae0
diff --git a/app/constant.ts b/app/constant.ts index 50aaf7921b9..02ba8dc81f1 100644 --- a/app/constant.ts +++ b/app/constant.ts @@ -535,6 +535,8 @@ const anthropicModels = [ "claude-3-5-sonnet-20240620", "claude-3-5-sonnet-20241022", "claude-3-5-sonnet-latest", + "claude-3-7-sonnet-20250219", + "claude-3-7-...
[ "app/constant.ts" ]
[ { "comment": "_:bulb: Verification agent_\n\n<details>\n<summary>🧩 Analysis chain</summary>\n\n**Verify the model version date.**\n\nThe model additions follow the correct naming convention and are properly placed in the array. However, the version date \"20250219\" appears to be in the future (February 19, 20...
true
ChatGPTNextWeb/NextChat
5,850
issue_to_patch
Fix o1
#### 💻 变更类型 | Change Type <!-- For change type, change [ ] to [x]. --> - [ ] feat <!-- 引入新功能 | Introduce new features --> - [x] fix <!-- 修复 Bug | Fix a bug --> - [ ] refactor <!-- 重构代码(既不修复 Bug 也不添加新功能) | Refactor code that neither fixes a bug nor adds a feature --> - [ ] perf <!-- 提升性能的代码变更 | A c...
a2adfbbd3242cb38c685c48a1a8d2cba2c2b28cd
ef24d3e63360eea8868334f884d83f747cfd8f73
diff --git a/app/api/openai.ts b/app/api/openai.ts index bbba69e569c..2b5deca8be3 100644 --- a/app/api/openai.ts +++ b/app/api/openai.ts @@ -14,7 +14,7 @@ function getModels(remoteModelRes: OpenAIListModelResponse) { if (config.disableGPT4) { remoteModelRes.data = remoteModelRes.data.filter( (m) => - ...
[ "app/api/openai.ts", "app/client/platforms/openai.ts", "app/components/emoji.tsx", "app/config/server.ts" ]
[ { "comment": "_:bulb: Codebase verification_\n\n**The exception logic for mini variants is inconsistent and needs to be updated**\n\nBased on the codebase analysis:\n- The `o1-mini` model exists in the constants and is treated similarly to other GPT-4 class models\n- In `app/api/openai.ts`, only `gpt-4o-mini` v...
true
ChrisPritchard/FSH
22
issue_to_patch
Support for home folder Hello, I gave this project a test run on Windows. It would be great if `cd ~` worked as well. I'm guessing it would require a small change in https://github.com/ChrisPritchard/FSH/blob/master/src/Builtins.fs#L46 right? Replace any `~` with `Environment.GetFolderPath(Environment.SpecialFold...
Add support for cd ~
Fixes #21
052d8b39786e1c892abc4c3fa5056f3bac6ce707
544d762b59e3d0e3ed440b02e8236cf0915824c0
diff --git a/src/Builtins.fs b/src/Builtins.fs index 7bc32e1..ab8ce9c 100644 --- a/src/Builtins.fs +++ b/src/Builtins.fs @@ -46,6 +46,8 @@ let private dir args writeOut _ = let private cd args _ writeError = if List.isEmpty args then writeError "no path specified" elif args.[0] = "\\" && isWindows then Direc...
[ "src/Builtins.fs" ]
[]
true
ChrisPritchard/FSH
13
issue_to_patch
Terminal fixes
Not resolved entirely, but merging for now
47ded51ea134efc9ba914f3a128c9ada7a266118
02f71b48eae5be1e2d46c5251edc109df23c8a22
diff --git a/README.md b/README.md index fa205e6..6b65b74 100644 --- a/README.md +++ b/README.md @@ -23,7 +23,9 @@ For something more advanced, you could implement a simple 'grep' command (grep i (let grep (s:string) arr = arr |> Array.filter (fun line -> line.Contains(s))) -(**Note** that shift+enter will go t...
[ "README.md", "src/Common.fs", "src/External.fs", "src/FSH.fsproj", "src/LineParser.fs", "src/LineReader.fs", "src/LineWriter.fs", "src/Program.fs" ]
[]
true
ChromeDevTools/chrome-devtools-mcp
2,200
issue_to_patch
fix: Reset toolGroups before gathering toolGroups
`getToolGroups` can be called multiple times. We want to reset the `window.__dtmcp.toolGroups` array each time to prevent duplications.
228cf3936ad99d9e0c09b43d77fbbac8712f2357
bc5e51c6a0319818fbbe0939d42a92e6d334908d
diff --git a/src/McpResponse.ts b/src/McpResponse.ts index d0de129a8..a86cf69b3 100644 --- a/src/McpResponse.ts +++ b/src/McpResponse.ts @@ -113,6 +113,9 @@ async function getToolGroups(page: McpPage): Promise<ToolGroups> { } const toolGroups = await page.pptrPage.evaluate(() => { + if (window.__dtmcp) { + ...
[ "src/McpResponse.ts", "tests/tools/thirdPartyDeveloper.test.ts" ]
[]
diff --git a/tests/tools/thirdPartyDeveloper.test.ts b/tests/tools/thirdPartyDeveloper.test.ts index 9e35c0f2e..27c7905df 100644 --- a/tests/tools/thirdPartyDeveloper.test.ts +++ b/tests/tools/thirdPartyDeveloper.test.ts @@ -29,30 +29,26 @@ describe('thirdPartyDeveloperTools', () => { response.setPage(page);...
true
ChromeDevTools/chrome-devtools-mcp
2,184
issue_to_patch
chore(deps-dev): bump chrome-devtools-frontend from 1.0.1638082 to 1.0.1641723 in the bundled-devtools group
Bumps the bundled-devtools group with 1 update: [chrome-devtools-frontend](https://github.com/ChromeDevTools/devtools-frontend). Updates `chrome-devtools-frontend` from 1.0.1638082 to 1.0.1641723 <details> <summary>Commits</summary> <ul> <li><a href="https://github.com/ChromeDevTools/devtools-frontend/commit/cf513d18a...
f90f863d4b9d643ab880c9dc8cdd78b6c88ae38d
6bc44969ac68224c9ab2f35f1ed1feb99ab141ab
diff --git a/package-lock.json b/package-lock.json index 8a8433012..55723ae9c 100644 --- a/package-lock.json +++ b/package-lock.json @@ -28,7 +28,7 @@ "@types/yargs": "^17.0.33", "@typescript-eslint/eslint-plugin": "^8.43.0", "@typescript-eslint/parser": "^8.43.0", - "chrome-devtools-f...
[ "package-lock.json", "package.json" ]
[]
true
ChromeDevTools/chrome-devtools-mcp
2,185
issue_to_patch
chore(deps): bump actions/checkout from 6.0.2 to 6.0.3 in the all group
Bumps the all group with 1 update: [actions/checkout](https://github.com/actions/checkout). Updates `actions/checkout` from 6.0.2 to 6.0.3 <details> <summary>Release notes</summary> <p><em>Sourced from <a href="https://github.com/actions/checkout/releases">actions/checkout's releases</a>.</em></p> <blockquote> <h2>v6....
f90f863d4b9d643ab880c9dc8cdd78b6c88ae38d
44290f61a53babe46d380ba4e79907067b2af6db
diff --git a/.github/workflows/pre-release.yml b/.github/workflows/pre-release.yml index e0b680d00..1668e93dd 100644 --- a/.github/workflows/pre-release.yml +++ b/.github/workflows/pre-release.yml @@ -14,7 +14,7 @@ jobs: runs-on: ubuntu-latest steps: - name: Check out repository - uses: actions/...
[ ".github/workflows/pre-release.yml", ".github/workflows/presubmit.yml", ".github/workflows/publish-to-npm-on-tag.yml", ".github/workflows/run-tests.yml" ]
[]
true
ChromeDevTools/chrome-devtools-mcp
2,186
issue_to_patch
chore: install HostBindingAdapter
This PR introduces the HostBindingAdapter to utilize the functions usually available to DevTools. Additionally I moved all the DevTools related files under a `devtools` directory to better separate the extractor logic. The patch scripts for DevTools were moved under a function to remove the side-effect nature of the ...
02b4492ca605755f67f016ee1de98aa1f506168c
6efd1e0d6cde680355d4bca30b42e7889a4141ce
diff --git a/src/McpContext.ts b/src/McpContext.ts index 4346070d2..a1f80f33f 100644 --- a/src/McpContext.ts +++ b/src/McpContext.ts @@ -10,8 +10,11 @@ import os from 'node:os'; import path from 'node:path'; import {fileURLToPath, pathToFileURL} from 'node:url'; -import type {TargetUniverse} from './DevtoolsUtils.j...
[ "src/McpContext.ts", "src/PageCollector.ts", "src/devtools/DevToolsConnectionAdapter.ts", "src/devtools/DevtoolsUtils.ts", "src/devtools/McpHostBindingAdapter.ts", "src/formatters/ConsoleFormatter.ts", "tests/devtools/DevtoolsUtils.test.ts", "tests/formatters/ConsoleFormatter.test.ts", "tests/setup....
[ { "comment": "TODO revett his.", "path": "src/devtools/DevtoolsUtils.ts", "hunk": "@@ -27,90 +29,101 @@ export class FakeIssuesManager extends DevTools.Common.ObjectWrapper\n }\n }\n \n-// DevTools CDP errors can get noisy.\n-DevTools.ProtocolClient.InspectorBackend.test.suppressRequestErrors = true;\...
diff --git a/tests/DevtoolsUtils.test.ts b/tests/devtools/DevtoolsUtils.test.ts similarity index 92% rename from tests/DevtoolsUtils.test.ts rename to tests/devtools/DevtoolsUtils.test.ts index d51e6f026..a01127a4a 100644 --- a/tests/DevtoolsUtils.test.ts +++ b/tests/devtools/DevtoolsUtils.test.ts @@ -9,18 +9,17 @@ imp...
true
ChromeDevTools/chrome-devtools-mcp
2,186
comment_to_fix
chore: install HostBindingAdapter
TODO revett his.
02b4492ca605755f67f016ee1de98aa1f506168c
6efd1e0d6cde680355d4bca30b42e7889a4141ce
diff --git a/src/DevtoolsUtils.ts b/src/devtools/DevtoolsUtils.ts similarity index 84% rename from src/DevtoolsUtils.ts rename to src/devtools/DevtoolsUtils.ts index c09a1d87d..5f130a153 100644 --- a/src/DevtoolsUtils.ts +++ b/src/devtools/DevtoolsUtils.ts @@ -4,9 +4,8 @@ * SPDX-License-Identifier: Apache-2.0 */ ...
[ "src/devtools/DevtoolsUtils.ts" ]
[ { "comment": "TODO revett his.", "path": "src/devtools/DevtoolsUtils.ts", "hunk": "@@ -27,90 +29,101 @@ export class FakeIssuesManager extends DevTools.Common.ObjectWrapper\n }\n }\n \n-// DevTools CDP errors can get noisy.\n-DevTools.ProtocolClient.InspectorBackend.test.suppressRequestErrors = true;\...
true
ChromeDevTools/chrome-devtools-mcp
2,186
comment_to_fix
chore: install HostBindingAdapter
typo: ...BiNDingAdapter
02b4492ca605755f67f016ee1de98aa1f506168c
6efd1e0d6cde680355d4bca30b42e7889a4141ce
diff --git a/src/devtools/McpHostBindingAdapter.ts b/src/devtools/McpHostBindingAdapter.ts new file mode 100644 index 000000000..b4574bad5 --- /dev/null +++ b/src/devtools/McpHostBindingAdapter.ts @@ -0,0 +1,255 @@ +/** + * @license + * Copyright 2026 Google LLC + * SPDX-License-Identifier: Apache-2.0 + */ + +/* eslint...
[ "src/devtools/McpHostBindingAdapter.ts" ]
[ { "comment": "typo: ...BiNDingAdapter", "path": "src/devtools/McpHostBindingAdapter.ts", "hunk": "@@ -0,0 +1,255 @@\n+/**\n+ * @license\n+ * Copyright 2026 Google LLC\n+ * SPDX-License-Identifier: Apache-2.0\n+ */\n+\n+/* eslint-disable @typescript-eslint/no-empty-function */\n+\n+import type {DevTools}...
true
ChromeDevTools/chrome-devtools-mcp
2,186
comment_to_fix
chore: install HostBindingAdapter
typo
02b4492ca605755f67f016ee1de98aa1f506168c
6efd1e0d6cde680355d4bca30b42e7889a4141ce
diff --git a/src/devtools/McpHostBindingAdapter.ts b/src/devtools/McpHostBindingAdapter.ts new file mode 100644 index 000000000..b4574bad5 --- /dev/null +++ b/src/devtools/McpHostBindingAdapter.ts @@ -0,0 +1,255 @@ +/** + * @license + * Copyright 2026 Google LLC + * SPDX-License-Identifier: Apache-2.0 + */ + +/* eslint...
[ "src/devtools/McpHostBindingAdapter.ts" ]
[ { "comment": "typo", "path": "src/devtools/McpHostBindingAdapter.ts", "hunk": "@@ -0,0 +1,255 @@\n+/**\n+ * @license\n+ * Copyright 2026 Google LLC\n+ * SPDX-License-Identifier: Apache-2.0\n+ */\n+\n+/* eslint-disable @typescript-eslint/no-empty-function */\n+\n+import type {DevTools} from '../third_par...
true
ChromeDevTools/chrome-devtools-mcp
2,186
comment_to_fix
chore: install HostBindingAdapter
typos
02b4492ca605755f67f016ee1de98aa1f506168c
6efd1e0d6cde680355d4bca30b42e7889a4141ce
diff --git a/src/devtools/McpHostBindingAdapter.ts b/src/devtools/McpHostBindingAdapter.ts new file mode 100644 index 000000000..b4574bad5 --- /dev/null +++ b/src/devtools/McpHostBindingAdapter.ts @@ -0,0 +1,255 @@ +/** + * @license + * Copyright 2026 Google LLC + * SPDX-License-Identifier: Apache-2.0 + */ + +/* eslint...
[ "src/devtools/McpHostBindingAdapter.ts" ]
[ { "comment": "typos", "path": "src/devtools/McpHostBindingAdapter.ts", "hunk": "@@ -0,0 +1,255 @@\n+/**\n+ * @license\n+ * Copyright 2026 Google LLC\n+ * SPDX-License-Identifier: Apache-2.0\n+ */\n+\n+/* eslint-disable @typescript-eslint/no-empty-function */\n+\n+import type {DevTools} from '../third_pa...
true
ChromeDevTools/chrome-devtools-mcp
2,186
comment_to_fix
chore: install HostBindingAdapter
typo
02b4492ca605755f67f016ee1de98aa1f506168c
6efd1e0d6cde680355d4bca30b42e7889a4141ce
diff --git a/src/DevtoolsUtils.ts b/src/devtools/DevtoolsUtils.ts similarity index 84% rename from src/DevtoolsUtils.ts rename to src/devtools/DevtoolsUtils.ts index c09a1d87d..5f130a153 100644 --- a/src/DevtoolsUtils.ts +++ b/src/devtools/DevtoolsUtils.ts @@ -4,9 +4,8 @@ * SPDX-License-Identifier: Apache-2.0 */ ...
[ "src/devtools/DevtoolsUtils.ts" ]
[ { "comment": "typo", "path": "src/devtools/DevtoolsUtils.ts", "hunk": "@@ -27,90 +29,101 @@ export class FakeIssuesManager extends DevTools.Common.ObjectWrapper\n }\n }\n \n-// DevTools CDP errors can get noisy.\n-DevTools.ProtocolClient.InspectorBackend.test.suppressRequestErrors = true;\n-\n-// Stub...
true
ChromeDevTools/chrome-devtools-mcp
2,186
comment_to_fix
chore: install HostBindingAdapter
remove?
02b4492ca605755f67f016ee1de98aa1f506168c
6efd1e0d6cde680355d4bca30b42e7889a4141ce
diff --git a/src/devtools/McpHostBindingAdapter.ts b/src/devtools/McpHostBindingAdapter.ts new file mode 100644 index 000000000..b4574bad5 --- /dev/null +++ b/src/devtools/McpHostBindingAdapter.ts @@ -0,0 +1,255 @@ +/** + * @license + * Copyright 2026 Google LLC + * SPDX-License-Identifier: Apache-2.0 + */ + +/* eslint...
[ "src/devtools/McpHostBindingAdapter.ts" ]
[ { "comment": "remove?", "path": "src/devtools/McpHostBindingAdapter.ts", "hunk": "@@ -0,0 +1,255 @@\n+/**\n+ * @license\n+ * Copyright 2026 Google LLC\n+ * SPDX-License-Identifier: Apache-2.0\n+ */\n+\n+/* eslint-disable @typescript-eslint/no-empty-function */\n+\n+import type {DevTools} from '../third_...
true
ChromeDevTools/chrome-devtools-mcp
2,187
issue_to_patch
feat: Add retaining paths MCP tool
This PR adds the `get_heapsnapshot_retaining_paths` MCP tool. This can be used to find the paths from the target object to the GC roots which keep that object alive.
29e389848fd0cae1116620d44fbce508b4404137
4dc723a44c2aecfcf1e79ad59e82ae36dfbe8b4e
diff --git a/README.md b/README.md index ea3f4e962..d92c80d77 100644 --- a/README.md +++ b/README.md @@ -514,12 +514,13 @@ If you run into any issues, checkout our [troubleshooting guide](./docs/troubles - [`take_snapshot`](docs/tool-reference.md#take_snapshot) - [`screencast_start`](docs/tool-reference.md#screen...
[ "README.md", "docs/tool-reference.md", "src/HeapSnapshotManager.ts", "src/McpContext.ts", "src/McpResponse.ts", "src/bin/chrome-devtools-cli-options.ts", "src/formatters/HeapSnapshotFormatter.ts", "src/telemetry/tool_call_metrics.json", "src/tools/ToolDefinition.ts", "src/tools/memory.ts", "test...
[ { "comment": "I am curious if it make sense to provide a simple explanation of structure.\nOnce we have a proper benchmarks I think this would be worth trying.", "path": "src/McpResponse.ts", "hunk": "@@ -1070,6 +1068,26 @@ Call ${handleDialog.name} to handle it before continuing.`);\n \n struct...
diff --git a/tests/formatters/HeapSnapshotFormatter.test.ts b/tests/formatters/HeapSnapshotFormatter.test.ts index 11d0e0208..c1e3f412d 100644 --- a/tests/formatters/HeapSnapshotFormatter.test.ts +++ b/tests/formatters/HeapSnapshotFormatter.test.ts @@ -157,4 +157,41 @@ describe('HeapSnapshotFormatter', () => { a...
true
ChromeDevTools/chrome-devtools-mcp
2,187
comment_to_fix
feat: Add retaining paths MCP tool
I am curious if it make sense to provide a simple explanation of structure. Once we have a proper benchmarks I think this would be worth trying.
29e389848fd0cae1116620d44fbce508b4404137
4dc723a44c2aecfcf1e79ad59e82ae36dfbe8b4e
diff --git a/src/McpResponse.ts b/src/McpResponse.ts index 9dfea8be2..00baad2ac 100644 --- a/src/McpResponse.ts +++ b/src/McpResponse.ts @@ -219,6 +219,7 @@ export class McpResponse implements Response { stats?: DevTools.HeapSnapshotModel.HeapSnapshotModel.Statistics; staticData?: DevTools.HeapSnapshotModel.H...
[ "src/McpResponse.ts" ]
[ { "comment": "I am curious if it make sense to provide a simple explanation of structure.\nOnce we have a proper benchmarks I think this would be worth trying.", "path": "src/McpResponse.ts", "hunk": "@@ -1070,6 +1068,26 @@ Call ${handleDialog.name} to handle it before continuing.`);\n \n struct...
true
ChromeDevTools/chrome-devtools-mcp
1,915
issue_to_patch
feat: implement extension service worker logs
This PR introduces the possiblity to collect console messages from service workers.
02b4492ca605755f67f016ee1de98aa1f506168c
6e475da087fe4cbc56faee327382bfb079476ee8
diff --git a/docs/tool-reference.md b/docs/tool-reference.md index 91380a00b..f2a002f5f 100644 --- a/docs/tool-reference.md +++ b/docs/tool-reference.md @@ -394,6 +394,7 @@ so returned values have to be JSON-serializable. - **includePreservedMessages** (boolean) _(optional)_: Set to true to return the preserved messag...
[ "docs/tool-reference.md", "src/McpContext.ts", "src/McpResponse.ts", "src/PageCollector.ts", "src/ServiceWorkerCollector.ts", "src/bin/chrome-devtools-cli-options.ts", "src/telemetry/tool_call_metrics.json", "src/third_party/index.ts", "src/tools/ToolDefinition.ts", "src/tools/console.ts", "test...
[ { "comment": "I think we need to close the session in all cases.", "path": "src/ServiceWorkerCollector.ts", "hunk": "@@ -0,0 +1,202 @@\n+/**\n+ * @license\n+ * Copyright 2025 Google LLC\n+ * SPDX-License-Identifier: Apache-2.0\n+ */\n+\n+import {UncaughtError} from './PageCollector.js';\n+import type {\...
diff --git a/tests/ServiceWorkerCollector.test.ts b/tests/ServiceWorkerCollector.test.ts new file mode 100644 index 000000000..2417e7a62 --- /dev/null +++ b/tests/ServiceWorkerCollector.test.ts @@ -0,0 +1,75 @@ +/** + * @license + * Copyright 2026 Google LLC + * SPDX-License-Identifier: Apache-2.0 + */ + +import assert...
true
ChromeDevTools/chrome-devtools-mcp
1,915
comment_to_fix
feat: implement extension service worker logs
I think we need to close the session in all cases.
02b4492ca605755f67f016ee1de98aa1f506168c
6e475da087fe4cbc56faee327382bfb079476ee8
diff --git a/src/ServiceWorkerCollector.ts b/src/ServiceWorkerCollector.ts new file mode 100644 index 000000000..562ffeb35 --- /dev/null +++ b/src/ServiceWorkerCollector.ts @@ -0,0 +1,227 @@ +/** + * @license + * Copyright 2025 Google LLC + * SPDX-License-Identifier: Apache-2.0 + */ + +import {UncaughtError} from './Pa...
[ "src/ServiceWorkerCollector.ts" ]
[ { "comment": "I think we need to close the session in all cases.", "path": "src/ServiceWorkerCollector.ts", "hunk": "@@ -0,0 +1,202 @@\n+/**\n+ * @license\n+ * Copyright 2025 Google LLC\n+ * SPDX-License-Identifier: Apache-2.0\n+ */\n+\n+import {UncaughtError} from './PageCollector.js';\n+import type {\...
true
ChromeDevTools/chrome-devtools-mcp
1,915
comment_to_fix
feat: implement extension service worker logs
Do you think we should fix that upstream in Puppeteer?
02b4492ca605755f67f016ee1de98aa1f506168c
6e475da087fe4cbc56faee327382bfb079476ee8
diff --git a/tests/tools/console.test.ts b/tests/tools/console.test.ts index b68e61606..7ae59f249 100644 --- a/tests/tools/console.test.ts +++ b/tests/tools/console.test.ts @@ -5,6 +5,7 @@ */ import assert from 'node:assert'; +import path from 'node:path'; import {before, describe, it} from 'node:test'; import...
[ "tests/tools/console.test.ts" ]
[ { "comment": "Do you think we should fix that upstream in Puppeteer?", "path": "tests/tools/console.test.ts", "hunk": "@@ -13,22 +14,140 @@ import type {ParsedArguments} from '../../src/bin/chrome-devtools-mcp-cli-option\n import {loadIssueDescriptions} from '../../src/issue-descriptions.js';\n import {...
true
ChromeDevTools/chrome-devtools-mcp
1,915
comment_to_fix
feat: implement extension service worker logs
Nit: Use `assert( X, `
02b4492ca605755f67f016ee1de98aa1f506168c
6e475da087fe4cbc56faee327382bfb079476ee8
diff --git a/tests/tools/console.test.ts b/tests/tools/console.test.ts index b68e61606..7ae59f249 100644 --- a/tests/tools/console.test.ts +++ b/tests/tools/console.test.ts @@ -5,6 +5,7 @@ */ import assert from 'node:assert'; +import path from 'node:path'; import {before, describe, it} from 'node:test'; import...
[ "tests/tools/console.test.ts" ]
[ { "comment": "Nit: Use `assert( X, `", "path": "tests/tools/console.test.ts", "hunk": "@@ -13,22 +14,140 @@ import type {ParsedArguments} from '../../src/bin/chrome-devtools-mcp-cli-option\n import {loadIssueDescriptions} from '../../src/issue-descriptions.js';\n import {McpResponse} from '../../src/Mcp...
true
ChromeDevTools/chrome-devtools-mcp
1,915
comment_to_fix
feat: implement extension service worker logs
I am curious we we should move this in the extension code just to verify that we are not missing things, which I suspect we might.
02b4492ca605755f67f016ee1de98aa1f506168c
6e475da087fe4cbc56faee327382bfb079476ee8
diff --git a/tests/tools/console.test.ts b/tests/tools/console.test.ts index b68e61606..7ae59f249 100644 --- a/tests/tools/console.test.ts +++ b/tests/tools/console.test.ts @@ -5,6 +5,7 @@ */ import assert from 'node:assert'; +import path from 'node:path'; import {before, describe, it} from 'node:test'; import...
[ "tests/tools/console.test.ts" ]
[ { "comment": "I am curious we we should move this in the extension code just to verify that we are not missing things, which I suspect we might.", "path": "tests/tools/console.test.ts", "hunk": "@@ -13,22 +14,140 @@ import type {ParsedArguments} from '../../src/bin/chrome-devtools-mcp-cli-option\n impor...
true
ChromeDevTools/chrome-devtools-mcp
2,153
issue_to_patch
chore(main): release chrome-devtools-mcp 1.2.0
:robot: I have created a release *beep* *boop* --- ## [1.2.0](https://github.com/ChromeDevTools/chrome-devtools-mcp/compare/chrome-devtools-mcp-v1.1.1...chrome-devtools-mcp-v1.2.0) (2026-06-08) ### 🎉 Features * add experimental TOON support for structured content output ([#2042](https://github.com/ChromeDevTools/...
8b458f7ad194b52305b831d5bfd6c0b6f5a53376
e93f2d63b36bf459ecdfae10e62ca6fe7e975cf4
diff --git a/.claude-plugin/marketplace.json b/.claude-plugin/marketplace.json index 8d2172818..d7e4a7147 100644 --- a/.claude-plugin/marketplace.json +++ b/.claude-plugin/marketplace.json @@ -1,6 +1,6 @@ { "name": "chrome-devtools-plugins", - "version": "1.1.1", + "version": "1.2.0", "description": "Bundled p...
[ ".claude-plugin/marketplace.json", ".claude-plugin/plugin.json", ".cursor-plugin/plugin.json", ".github/plugin/plugin.json", ".release-please-manifest.json", "CHANGELOG.md", "gemini-extension.json", "package-lock.json", "package.json", "server.json", "src/version.ts" ]
[]
true
ChromeDevTools/chrome-devtools-mcp
2,194
issue_to_patch
chore: expose loadResouce HostBinding
This makes sure that if any resource that is loaded via the HostBinding will be correctly checked agains the roots object.
a97c642d43d19fc5198038a7544ff41528ddc316
c4f528f3b5116ae038c0ec5b797cfc8d1ca47b2e
diff --git a/src/McpContext.ts b/src/McpContext.ts index 061e1e5ad..756ad0071 100644 --- a/src/McpContext.ts +++ b/src/McpContext.ts @@ -113,7 +113,11 @@ export class McpContext implements Context { options: McpContextOptions, locatorClass: typeof Locator, ) { - overrideDevToolsGlobals(); + overrideD...
[ "src/McpContext.ts", "src/devtools/DevtoolsUtils.ts", "src/devtools/McpHostBindingAdapter.ts", "tests/McpContext.test.ts", "tests/setup.ts" ]
[]
diff --git a/tests/McpContext.test.ts b/tests/McpContext.test.ts index 52e2293fe..5424600c6 100644 --- a/tests/McpContext.test.ts +++ b/tests/McpContext.test.ts @@ -298,4 +298,22 @@ describe('McpContext', () => { ); }); }); + + describe('loadResource', () => { + it('file protocol calls validatePath',...
true
ChromeDevTools/chrome-devtools-mcp
2,193
issue_to_patch
feat: Use HeapSnapshotProxy.nodeIndexById
834b259eb211a98b4866a70f44b09894099e9941
14c9731d6bd23d54e47d1fefea0af3557a507aaa
diff --git a/package-lock.json b/package-lock.json index 4f4c6cdd5..0fcb6418d 100644 --- a/package-lock.json +++ b/package-lock.json @@ -29,7 +29,7 @@ "@types/yargs": "^17.0.33", "@typescript-eslint/eslint-plugin": "^8.43.0", "@typescript-eslint/parser": "^8.43.0", - "chrome-devtools-f...
[ "package-lock.json", "package.json", "src/HeapSnapshotManager.ts" ]
[]
true
ChromeDevTools/chrome-devtools-mcp
2,180
issue_to_patch
feat: Add the get_heapsnapshot_edges MCP tool
This PR adds the get_heapsnapshot_edges MCP tool. Agents can use it to look at the outgoing edges for a specifc object.
6bd8c91678035b5aa18ee40f72e1f630aa528837
51f8260561b546171934f0c31274eb6557700819
diff --git a/README.md b/README.md index d92c80d77..b155b1629 100644 --- a/README.md +++ b/README.md @@ -514,11 +514,12 @@ If you run into any issues, checkout our [troubleshooting guide](./docs/troubles - [`take_snapshot`](docs/tool-reference.md#take_snapshot) - [`screencast_start`](docs/tool-reference.md#screen...
[ "README.md", "docs/tool-reference.md", "src/HeapSnapshotManager.ts", "src/McpContext.ts", "src/bin/chrome-devtools-cli-options.ts", "src/telemetry/tool_call_metrics.json", "src/tools/ToolDefinition.ts", "src/tools/memory.ts", "tests/tools/memory.test.js.snapshot", "tests/tools/memory.test.ts" ]
[]
diff --git a/tests/tools/memory.test.js.snapshot b/tests/tools/memory.test.js.snapshot index 0d700ed0c..cef739ce2 100644 --- a/tests/tools/memory.test.js.snapshot +++ b/tests/tools/memory.test.js.snapshot @@ -175,6 +175,77 @@ id,name,count,selfSize,maxRetainedSize 108,HTMLBodyElement (internal cache) / https://example...
true
ChromeDevTools/chrome-devtools-mcp
2,196
issue_to_patch
chore(deps-dev): bump the dev-dependencies group across 1 directory with 9 updates
Bumps the dev-dependencies group with 9 updates in the / directory: | Package | From | To | | --- | --- | --- | | [@google/genai](https://github.com/googleapis/js-genai) | `2.7.0` | `2.8.0` | | [@toon-format/toon](https://github.com/toon-format/toon) | `2.2.0` | `2.3.0` | | [@types/node](https://github.com/DefinitelyT...
6bd8c91678035b5aa18ee40f72e1f630aa528837
b745b1788ccc90a9d64defe4c0657a4264fde846
diff --git a/package-lock.json b/package-lock.json index 0fcb6418d..0f606271a 100644 --- a/package-lock.json +++ b/package-lock.json @@ -39,7 +39,7 @@ "lighthouse": "13.3.0", "prettier": "^3.6.2", "puppeteer": "25.1.0", - "rollup": "4.61.0", + "rollup": "4.61.1", "rollu...
[ "package-lock.json", "package.json" ]
[]
true
ChromeDevTools/chrome-devtools-mcp
2,176
issue_to_patch
chore(deps): bump hono from 4.12.18 to 4.12.23
Bumps [hono](https://github.com/honojs/hono) from 4.12.18 to 4.12.23. <details> <summary>Release notes</summary> <p><em>Sourced from <a href="https://github.com/honojs/hono/releases">hono's releases</a>.</em></p> <blockquote> <h2>v4.12.23</h2> <h2>What's Changed</h2> <ul> <li>fix(serve-static): normalize all backslashe...
89718901174be7c0c58a1a2b29281ab2f053cd53
77081b48c48deeb179fbc5364a409814b5634054
diff --git a/package-lock.json b/package-lock.json index dfa81ca7f..8a8433012 100644 --- a/package-lock.json +++ b/package-lock.json @@ -5086,9 +5086,9 @@ } }, "node_modules/hono": { - "version": "4.12.18", - "resolved": "https://registry.npmjs.org/hono/-/hono-4.12.18.tgz", - "integrity"...
[ "package-lock.json" ]
[]
true
ChromeDevTools/chrome-devtools-mcp
2,174
issue_to_patch
feat: Adds close_heapsnapshot MCP tool
This commit adds the close_heapsnapshot MCP tool such that the coding agent can close heap snapshots again.
dfc111502fc09ef0a8b13be3640550c908b02788
6e02498039db53633d8cfb46146f319d59af76f2
diff --git a/README.md b/README.md index 1ffbafa00..b5291249e 100644 --- a/README.md +++ b/README.md @@ -514,8 +514,9 @@ If you run into any issues, checkout our [troubleshooting guide](./docs/troubles - [`take_snapshot`](docs/tool-reference.md#take_snapshot) - [`screencast_start`](docs/tool-reference.md#screenca...
[ "README.md", "docs/tool-reference.md", "src/HeapSnapshotManager.ts", "src/McpContext.ts", "src/bin/chrome-devtools-cli-options.ts", "src/telemetry/tool_call_metrics.json", "src/tools/ToolDefinition.ts", "src/tools/memory.ts", "tests/tools/memory.test.ts" ]
[ { "comment": "I am not really sure about this. I guess depending on how one interprets that flag, it might be considered `true` as well.", "path": "src/tools/memory.ts", "hunk": "@@ -154,3 +154,32 @@ export const getHeapSnapshotRetainers = defineTool({\n });\n },\n });\n+\n+export const closeHeapS...
diff --git a/tests/tools/memory.test.ts b/tests/tools/memory.test.ts index 7b047d66e..dcb32d2d8 100644 --- a/tests/tools/memory.test.ts +++ b/tests/tools/memory.test.ts @@ -17,6 +17,7 @@ import { getHeapSnapshotDetails, getHeapSnapshotClassNodes, getHeapSnapshotRetainers, + closeHeapSnapshot, } from '../../s...
true
ChromeDevTools/chrome-devtools-mcp
2,174
comment_to_fix
feat: Adds close_heapsnapshot MCP tool
I am not really sure about this. I guess depending on how one interprets that flag, it might be considered `true` as well.
dfc111502fc09ef0a8b13be3640550c908b02788
6e02498039db53633d8cfb46146f319d59af76f2
diff --git a/src/tools/memory.ts b/src/tools/memory.ts index e9cd00215..792a05996 100644 --- a/src/tools/memory.ts +++ b/src/tools/memory.ts @@ -154,3 +154,32 @@ export const getHeapSnapshotRetainers = defineTool({ }); }, }); + +export const closeHeapSnapshot = defineTool({ + name: 'close_heapsnapshot', + de...
[ "src/tools/memory.ts" ]
[ { "comment": "I am not really sure about this. I guess depending on how one interprets that flag, it might be considered `true` as well.", "path": "src/tools/memory.ts", "hunk": "@@ -154,3 +154,32 @@ export const getHeapSnapshotRetainers = defineTool({\n });\n },\n });\n+\n+export const closeHeapS...
true
ChromeDevTools/chrome-devtools-mcp
2,169
issue_to_patch
feat: memory debugging tools
Updates the flag for the memory tooling to remove the experimental bit (keep alias for backwards compatibility). And updates the SKILLs to reflected the update names and point to the available tools. Q: Should it be called `take_heapsnapshot` or `take_heap_snapshot`?
8713b93b41ce301acf0ebc555c9a1b25d29bc526
dd2c12b2593009f5fb6d21004279326fc7b22724
diff --git a/README.md b/README.md index b5291249e..cfe7dd3ea 100644 --- a/README.md +++ b/README.md @@ -609,8 +609,8 @@ The Chrome DevTools MCP server supports the following configuration option: Whether to enable coordinate-based tools such as click_at(x,y). Usually requires a computer-use model able to produce ac...
[ "README.md", "docs/tool-reference.md", "skills/chrome-devtools/SKILL.md", "skills/memory-leak-debugging/SKILL.md", "skills/memory-leak-debugging/references/memlab.md", "skills/troubleshooting/SKILL.md", "src/bin/chrome-devtools-cli-options.ts", "src/bin/chrome-devtools-mcp-cli-options.ts", "src/tele...
[]
diff --git a/tests/index.test.ts b/tests/index.test.ts index d0fb4b6be..952f1cb8b 100644 --- a/tests/index.test.ts +++ b/tests/index.test.ts @@ -171,6 +171,19 @@ describe('e2e', () => { ); }); + it('has memory debugging tools', async () => { + await withClient( + async client => { + const {too...
true
ChromeDevTools/chrome-devtools-mcp
2,178
issue_to_patch
perf: lighthouse file saves to run concurrently
💡 **What:** The optimization implemented is refactoring the sequential file save loops for Lighthouse audits in `src/tools/lighthouse.ts` to utilize concurrent execution via `Promise.allSettled`. 🎯 **Why:** Previously, the tool saved generated lighthouse reports linearly (e.g. `html` then `json`), causing unnecessa...
89718901174be7c0c58a1a2b29281ab2f053cd53
ae9591548a79b009cd249cb58b7a3f6fae7d6a2c
diff --git a/src/tools/lighthouse.ts b/src/tools/lighthouse.ts index f4e9a02c5..4fd35cb38 100644 --- a/src/tools/lighthouse.ts +++ b/src/tools/lighthouse.ts @@ -110,7 +110,7 @@ export const lighthouseAudit = definePageTool({ const reportPaths: string[] = []; const encoder = new TextEncoder(); - for (cons...
[ "src/tools/lighthouse.ts" ]
[ { "comment": "`@jules ` revert this", "path": "tests/shutdown.test.ts", "hunk": "@@ -17,7 +17,7 @@ type Server = ChildProcessByStdio<Writable, Readable, Readable>;\n // Once shutdown is signalled, the server should be fully gone within this\n // budget. The actual fast path is well under 500ms; the budg...
true
ChromeDevTools/chrome-devtools-mcp
2,132
issue_to_patch
chore: fixed typo from longtitude to longitude
1b51a520f248d809ab4383cd357cae13280735d4
a3bc6cf60c10791dbf1ed17a0099e9387b256677
diff --git a/src/McpResponse.ts b/src/McpResponse.ts index ec6857418..17d7a9f75 100644 --- a/src/McpResponse.ts +++ b/src/McpResponse.ts @@ -777,7 +777,7 @@ export class McpResponse implements Response { const geolocation = this.#page?.geolocation; if (geolocation) { response.push( - `Emulating ...
[ "src/McpResponse.ts" ]
[]
true
ChromeDevTools/chrome-devtools-mcp
2,136
issue_to_patch
refactor: remove redundant validatePath calls
We should primarily validate in the tool calls before we start invoking tool handlers. These paths are already validated by tools.
176eb695137d9c46a61e2d4d5571880c5145cf46
11c29b2640b7cfe538d5ca0de95f2e5900897139
diff --git a/src/McpContext.ts b/src/McpContext.ts index 2a4e1da9d..fe288c6cc 100644 --- a/src/McpContext.ts +++ b/src/McpContext.ts @@ -830,7 +830,6 @@ export class McpContext implements Context { } async installExtension(extensionPath: string): Promise<string> { - await this.validatePath(extensionPath); ...
[ "src/McpContext.ts", "src/tools/extensions.ts" ]
[]
true
ChromeDevTools/chrome-devtools-mcp
2,139
issue_to_patch
test: improve webmcp tests
521c388624d448c8c55ee3b5415971ebc35b1ec3
137817de0929e64e9c22e60249b3bd4e6d4fbc6d
[ "tests/McpResponse.test.ts" ]
[]
diff --git a/tests/McpResponse.test.ts b/tests/McpResponse.test.ts index f0bbd50c2..20de819a5 100644 --- a/tests/McpResponse.test.ts +++ b/tests/McpResponse.test.ts @@ -1476,12 +1476,17 @@ describe('webmcp', () => { await handlerAction(response, context); const page = context.getSelectedMcpPage().pp...
true
ChromeDevTools/chrome-devtools-mcp
2,117
issue_to_patch
Server process does not exit on stdin EOF after a page has been opened ### Description of the bug `chrome-devtools-mcp` does not exit when its stdin is closed if a `navigate_page` (or any tool that opens a Chrome instance) has been issued during the session. The MCP protocol does not define a `shutdown` RPC and conve...
fix: exit on stdin EOF and SIGTERM/SIGINT/SIGHUP, closing the browser cleanly
Fixes #2116. `chrome-devtools-mcp-main.ts` currently has no shutdown handler. After a session calls `navigate_page` (or anything else that launches Chrome), the Chrome subprocess keeps the Node event loop ref'd, so closing stdin (the stdio MCP convention for "I'm done") doesn't make the server exit. Callers that close...
2eab50938093e848ca9786f2ce0c5bf371e63619
b2311a698056f1df010003a006aec78c39e6fba4
diff --git a/src/bin/chrome-devtools-mcp-main.ts b/src/bin/chrome-devtools-mcp-main.ts index 1d03c089b..25fb69b19 100644 --- a/src/bin/chrome-devtools-mcp-main.ts +++ b/src/bin/chrome-devtools-mcp-main.ts @@ -8,6 +8,7 @@ import '../polyfill.js'; import process from 'node:process'; +import {closeBrowser} from '../b...
[ "src/bin/chrome-devtools-mcp-main.ts", "src/browser.ts", "tests/shutdown.test.ts" ]
[ { "comment": "how does this work together with signal handling installed by Puppeteer for launched browsers?", "path": "src/bin/chrome-devtools-mcp-main.ts", "hunk": "@@ -32,6 +33,44 @@ if (process.env['CHROME_DEVTOOLS_MCP_CRASH_ON_UNCAUGHT'] !== 'true') {\n });\n }\n \n+// Shutdown on stdin EOF (stdi...
diff --git a/tests/shutdown.test.ts b/tests/shutdown.test.ts new file mode 100644 index 000000000..f492f9941 --- /dev/null +++ b/tests/shutdown.test.ts @@ -0,0 +1,180 @@ +/** + * @license + * Copyright 2026 Google LLC + * SPDX-License-Identifier: Apache-2.0 + */ + +import assert from 'node:assert'; +import type {ChildP...
true
ChromeDevTools/chrome-devtools-mcp
2,117
comment_to_fix
fix: exit on stdin EOF and SIGTERM/SIGINT/SIGHUP, closing the browser cleanly
how does this work together with signal handling installed by Puppeteer for launched browsers?
2eab50938093e848ca9786f2ce0c5bf371e63619
b2311a698056f1df010003a006aec78c39e6fba4
diff --git a/src/bin/chrome-devtools-mcp-main.ts b/src/bin/chrome-devtools-mcp-main.ts index 1d03c089b..25fb69b19 100644 --- a/src/bin/chrome-devtools-mcp-main.ts +++ b/src/bin/chrome-devtools-mcp-main.ts @@ -8,6 +8,7 @@ import '../polyfill.js'; import process from 'node:process'; +import {closeBrowser} from '../b...
[ "src/bin/chrome-devtools-mcp-main.ts" ]
[ { "comment": "how does this work together with signal handling installed by Puppeteer for launched browsers?", "path": "src/bin/chrome-devtools-mcp-main.ts", "hunk": "@@ -32,6 +33,44 @@ if (process.env['CHROME_DEVTOOLS_MCP_CRASH_ON_UNCAUGHT'] !== 'true') {\n });\n }\n \n+// Shutdown on stdin EOF (stdi...
true
ChromeDevTools/chrome-devtools-mcp
2,140
issue_to_patch
build: update expected npm publish output
It appears the format has changed https://github.com/ChromeDevTools/chrome-devtools-mcp/actions/runs/26453140812/job/77879380358?pr=2086
f3ef0fb1ee6353fa86707c1fd2f555ac94336769
7254081574c6d83bec4c02186c9844bc1842ed29
diff --git a/scripts/verify-npm-package.mjs b/scripts/verify-npm-package.mjs index 44c74663e..600b3afbf 100644 --- a/scripts/verify-npm-package.mjs +++ b/scripts/verify-npm-package.mjs @@ -14,7 +14,7 @@ function verifyPackageContents() { }); // skip non-JSON output from prepare. const data = JSON.parse(o...
[ "scripts/verify-npm-package.mjs" ]
[]
true
ChromeDevTools/chrome-devtools-mcp
2,141
issue_to_patch
build: add plugins to prettier ignorelist
f3ef0fb1ee6353fa86707c1fd2f555ac94336769
f6837616cf4187fac9d1d98bea4dcb8fb88d9055
diff --git a/.prettierignore b/.prettierignore index 2e975d312..86703e37d 100644 --- a/.prettierignore +++ b/.prettierignore @@ -4,4 +4,6 @@ src/third_party/lighthouse-devtools-mcp-bundle.js # Release-please formatting brakes CI checks .claude-plugin/plugin.json +.cursor-plugin/plugin.json .github/plugin/plugin.js...
[ ".prettierignore" ]
[]
true