@pls-compile-owo/fisheye 0.7.2 → 0.7.3
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/CHANGELOG.md +8 -0
- package/README.en.md +10 -0
- package/README.md +19 -0
- package/package.json +1 -1
package/CHANGELOG.md
CHANGED
|
@@ -2,6 +2,14 @@
|
|
|
2
2
|
|
|
3
3
|
本项目遵循 [Keep a Changelog](https://keepachangelog.com/zh-CN/1.1.0/) 规范与 [语义化版本](https://semver.org/lang/zh-CN/)。
|
|
4
4
|
|
|
5
|
+
## [0.7.3] - 2026-11-14
|
|
6
|
+
|
|
7
|
+
### Docs
|
|
8
|
+
|
|
9
|
+
纯文档同步版本(功能与 0.7.2 一致)。
|
|
10
|
+
|
|
11
|
+
- README 新增「自检」专节:selftest 检查项、输出标记([OK]/[--]/[!!])、--deep 说明。
|
|
12
|
+
|
|
5
13
|
## [0.7.2] - 2026-11-14
|
|
6
14
|
|
|
7
15
|
### Docs
|
package/README.en.md
CHANGED
|
@@ -79,6 +79,16 @@ node fisheye.mjs clean [--target out] [--yes] # clean artifacts
|
|
|
79
79
|
`auto --resume` reuses existing grids and skips frame extraction; `--force` re-runs everything.
|
|
80
80
|
Optional integrations: whisper.cpp (audio), tesseract (OCR), yt-dlp (any URL), and `mcp-video-server.js` (MCP tools, needs `npm i @modelcontextprotocol/sdk zod`).
|
|
81
81
|
|
|
82
|
+
## Self-check
|
|
83
|
+
|
|
84
|
+
```bash
|
|
85
|
+
node fisheye.mjs selftest # dependencies / credentials / APIs / optional tools / disk
|
|
86
|
+
node fisheye.mjs selftest --deep # plus frame-extraction and subtitle-band probes
|
|
87
|
+
```
|
|
88
|
+
|
|
89
|
+
Marks: `[OK]` pass, `[--]` skipped (optional tool missing / no data), `[!!]` failed.
|
|
90
|
+
Failures print fix hints at the end.
|
|
91
|
+
|
|
82
92
|
## Docs
|
|
83
93
|
|
|
84
94
|
- `docs/DESIGN.md` — design rationale
|
package/README.md
CHANGED
|
@@ -283,6 +283,25 @@ node fisheye.mjs clean # 预览将清理的缓存/产物(dr
|
|
|
283
283
|
node fisheye.mjs clean --target out --yes # 实际删除 out/
|
|
284
284
|
```
|
|
285
285
|
|
|
286
|
+
## 自检
|
|
287
|
+
|
|
288
|
+
```bash
|
|
289
|
+
node fisheye.mjs selftest # 快速检查依赖 / 凭证 / API / 可选组件 / 磁盘
|
|
290
|
+
node fisheye.mjs selftest --deep # 额外做抽帧 + 字幕带实测(需缓存视频)
|
|
291
|
+
```
|
|
292
|
+
|
|
293
|
+
检查项:
|
|
294
|
+
|
|
295
|
+
| 类别 | 检查内容 |
|
|
296
|
+
|---|---|
|
|
297
|
+
| 基础 | Node 版本、ffmpeg、python(可选)、analyze_subs.py |
|
|
298
|
+
| 环境 | 输出目录可写、B站 凭证、缓存目录、磁盘剩余 |
|
|
299
|
+
| API | 视频 API、弹幕 API、官方字幕 API(含翻译轨) |
|
|
300
|
+
| 可选组件 | 音频转写(whisper)、OCR(tesseract)、yt-dlp |
|
|
301
|
+
|
|
302
|
+
输出标记:`[OK]` 通过、`[--]` 跳过(可选依赖未装/无数据)、`[!!]` 失败。
|
|
303
|
+
失败时末尾会打印修复提示;`--deep` 会额外实测抽帧与字幕带检测。
|
|
304
|
+
|
|
286
305
|
## MCP server(可选)
|
|
287
306
|
|
|
288
307
|
`mcp-video-server.js` 把 fisheye 包装成 [MCP](https://modelcontextprotocol.io/)(Model Context Protocol)工具,让支持 MCP 的 agent 环境(DSH / Claude Code / Cursor 等)**不必自己拼命令行**就能看视频。
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@pls-compile-owo/fisheye",
|
|
3
|
-
"version": "0.7.
|
|
3
|
+
"version": "0.7.3",
|
|
4
4
|
"description": "Token-budget-aware video understanding for AI agents: official subtitles -> burned-in subtitle band -> danmaku highlights -> adaptive keyframe grids -> targeted refine.",
|
|
5
5
|
"type": "module",
|
|
6
6
|
"bin": {
|