@pilio/gemini-watermark-remover 1.0.32 → 1.0.34
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/README.md +2 -1
- package/README_zh.md +2 -1
- package/dist/video-app.js +1 -1
- package/package.json +4 -2
- package/src/core/candidateSelector.js +3349 -3274
- package/src/core/imageWatermarkPipeline.js +329 -319
- package/src/core/outputResidualLocalization.js +351 -0
- package/src/core/pipelineAcceptedExecutor.js +77 -21
- package/src/core/pipelineAcceptedExecutorRequest.js +46 -44
- package/src/core/pipelineCandidateQuality.js +366 -5
- package/src/core/pipelineCandidateRunner.js +109 -107
- package/src/core/pipelineInitialSelection.js +1271 -796
- package/src/core/pipelineRepairStageSpecs.js +25 -1
- package/src/core/watermarkDisplay.js +29 -0
- package/src/core/watermarkProcessor.js +1865 -1534
- package/src/sdk/image-data.js +14 -3
- package/src/sdk/index.d.ts +191 -171
package/README.md
CHANGED
|
@@ -187,6 +187,7 @@ Notes:
|
|
|
187
187
|
- The root path `/` is now a lightweight entry page that points to the official website, the userscript artifact, and the retained internal preview page.
|
|
188
188
|
- The internal browser preview harness lives at `/dev-preview.html`, is now kept as a static Chinese-only single-image compare harness for local algorithm/UI debugging, and no longer maintains public-facing locale or theme-switching features.
|
|
189
189
|
- `pnpm dev` / `pnpm serve` still host the userscript, probe pages, and these static assets.
|
|
190
|
+
- For GitHub issues with Release-hosted samples, `pnpm issue:verify -- --issue <number>` reuses the `gh` login, caches and verifies the samples, and generates a reviewable comment draft. See [GitHub issue sample verification](docs/github-issue-verification.zh.md).
|
|
190
191
|
|
|
191
192
|
### Tampermonkey Debugging on macOS
|
|
192
193
|
|
|
@@ -303,7 +304,7 @@ Local files under `src/assets/samples/fix/` are optional snapshot outputs for ma
|
|
|
303
304
|
|
|
304
305
|
## Release Notes
|
|
305
306
|
|
|
306
|
-
See [CHANGELOG.md](CHANGELOG.md) for release history and [RELEASE.md](RELEASE.md) for the local release checklist. The latest post-release closeout is documented in [docs/release-1.0.29-post-release.md](docs/release-1.0.29-post-release.md).
|
|
307
|
+
See [CHANGELOG.md](CHANGELOG.md) for release history and [RELEASE.md](RELEASE.md) for the local release checklist. The latest post-release closeout is documented in [docs/release-1.0.29-post-release.md](docs/release-1.0.29-post-release.md).
|
|
307
308
|
|
|
308
309
|
## How Gemini Watermark Removal Works
|
|
309
310
|
|
package/README_zh.md
CHANGED
|
@@ -187,6 +187,7 @@ pnpm serve
|
|
|
187
187
|
- 根路径 `/` 现在是轻量入口页,只负责引导到官网、userscript 安装地址和仓库内保留的内部预览页。
|
|
188
188
|
- 内部浏览器预览页位于 `/dev-preview.html`,当前保留为中文静态单图对比 harness,用于本地算法/UI 调试,不再作为对外开发者预览站,也不再维护多语言和主题切换。
|
|
189
189
|
- `pnpm dev` / `pnpm serve` 仍会提供 userscript、probe 页面和这些静态资产。
|
|
190
|
+
- 跟进附带 Release 样本的 GitHub issue 时,可用 `pnpm issue:verify -- --issue <编号>` 复用登录态、缓存样本、核验摘要并生成评论草稿;详见 [GitHub Issue 样本复核](docs/github-issue-verification.zh.md)。
|
|
190
191
|
|
|
191
192
|
### macOS 下调试油猴固定 Profile
|
|
192
193
|
|
|
@@ -303,7 +304,7 @@ pnpm test
|
|
|
303
304
|
|
|
304
305
|
## 发版说明
|
|
305
306
|
|
|
306
|
-
版本变更请看 [CHANGELOG_zh.md](CHANGELOG_zh.md),本地发版清单见 [RELEASE_zh.md](RELEASE_zh.md)。最新发布收尾记录见 [docs/release-1.0.29-post-release.md](docs/release-1.0.29-post-release.md)。
|
|
307
|
+
版本变更请看 [CHANGELOG_zh.md](CHANGELOG_zh.md),本地发版清单见 [RELEASE_zh.md](RELEASE_zh.md)。最新发布收尾记录见 [docs/release-1.0.29-post-release.md](docs/release-1.0.29-post-release.md)。
|
|
307
308
|
|
|
308
309
|
## Gemini 水印去除算法原理
|
|
309
310
|
|
package/dist/video-app.js
CHANGED
package/package.json
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@pilio/gemini-watermark-remover",
|
|
3
3
|
"description": "Automatically removes watermarks from Gemini AI generated images",
|
|
4
|
-
"version": "1.0.
|
|
4
|
+
"version": "1.0.34",
|
|
5
5
|
"author": "GargantuaX",
|
|
6
6
|
"sideEffects": false,
|
|
7
7
|
"files": [
|
|
@@ -69,7 +69,7 @@
|
|
|
69
69
|
}
|
|
70
70
|
},
|
|
71
71
|
"peerDependencies": {
|
|
72
|
-
"sharp": "^0.34.5"
|
|
72
|
+
"sharp": "^0.34.5 || ^0.35.0"
|
|
73
73
|
},
|
|
74
74
|
"peerDependenciesMeta": {
|
|
75
75
|
"sharp": {
|
|
@@ -96,6 +96,7 @@
|
|
|
96
96
|
"diagnose:same-anchor-imperfection": "node scripts/run-same-anchor-imperfection-review.js",
|
|
97
97
|
"report:same-anchor-imperfection": "node scripts/summarize-same-anchor-imperfection-review.js",
|
|
98
98
|
"test": "node --test tests/**/*.test.js",
|
|
99
|
+
"test:serial": "node --test --test-concurrency=1 tests/**/*.test.js",
|
|
99
100
|
"test:sdk-smoke": "node --test tests/sdk/packageMetadata.test.js tests/sdk/packagePack.test.js tests/sdk/typeDeclarations.test.js tests/sdk/consumerRuntime.test.js tests/sdk/typescriptConsumer.test.js tests/sdk/smokeAutomation.test.js",
|
|
100
101
|
"probe:tm": "node scripts/tampermonkey-smoke.js run",
|
|
101
102
|
"probe:tm:freshness": "node scripts/tampermonkey-freshness.js",
|
|
@@ -105,6 +106,7 @@
|
|
|
105
106
|
"probe:real-page:copy-download": "node scripts/real-page-copy-download-probe.js",
|
|
106
107
|
"benchmark:samples": "node scripts/sample-benchmark.js",
|
|
107
108
|
"benchmark:userscript": "node scripts/userscript-benchmark.js",
|
|
109
|
+
"issue:verify": "node scripts/verify-github-issue.js",
|
|
108
110
|
"benchmark:online-sample:gate": "node scripts/gate-online-gemini-watermark-sample-benchmark.js",
|
|
109
111
|
"report:online-sample:remaining-audit": "node scripts/audit-online-tier-a-remaining.js",
|
|
110
112
|
"report:online-sample:remaining-taxonomy": "node scripts/create-online-sample-remaining-failure-taxonomy.js",
|