@kyun.si/codex-hongguo 0.0.21 → 0.0.22
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/.codex-plugin/plugin.json +1 -1
- package/README.en.md +26 -53
- package/README.md +26 -53
- package/dist/cli/main.mjs +14 -4
- package/dist/server/index.mjs +61 -53
- package/dist/setup/check.mjs +19 -9
- package/dist/ui/player.html +2 -2
- package/licenses/fflate-LICENSE +21 -0
- package/licenses/ffmpeg/COPYING.GPLv3 +674 -0
- package/licenses/ffmpeg/NOTICE.md +24 -0
- package/licenses/ffmpeg/ffmpeg-artifacts.json +46 -0
- package/package.json +5 -1
- package/skills/hongguo-setup/SKILL.md +1 -1
|
@@ -0,0 +1,24 @@
|
|
|
1
|
+
# Managed FFmpeg playback component
|
|
2
|
+
|
|
3
|
+
The plugin's original code is MIT licensed. FFmpeg is a separate executable,
|
|
4
|
+
automatically downloaded from the original binary distributors into the user's
|
|
5
|
+
private cache. The npm package does not contain the FFmpeg executable.
|
|
6
|
+
|
|
7
|
+
The selected builds enable GPL components (including libx264). FFmpeg and those
|
|
8
|
+
components retain their own licenses; see COPYING.GPLv3 and the distributors'
|
|
9
|
+
source, build configuration and licensing information:
|
|
10
|
+
|
|
11
|
+
- FFmpeg 9.0.2: https://github.com/FFmpeg/FFmpeg/tree/n9.0.2
|
|
12
|
+
- macOS Apple Silicon: https://www.osxexperts.net/
|
|
13
|
+
- macOS Intel: https://evermeet.cx/ffmpeg/ and https://evermeet.cx/ffmpeg/info/ffmpeg/9.0.2
|
|
14
|
+
- Linux/Windows: https://github.com/BtbN/FFmpeg-Builds/tree/master/scripts.d
|
|
15
|
+
- Pinned Linux/Windows build: https://github.com/BtbN/FFmpeg-Builds/releases/tag/autobuild-2026-10-31-12-59
|
|
16
|
+
- FFmpeg source commit for that build: https://github.com/FFmpeg/FFmpeg/tree/7adfbe40dc
|
|
17
|
+
|
|
18
|
+
Exact archive URLs, sizes and SHA-256 hashes are in ffmpeg-artifacts.json.
|
|
19
|
+
The BtbN month-end build is retained upstream for two years. Maintainers must
|
|
20
|
+
refresh and verify the manifest before that retention period expires.
|
|
21
|
+
|
|
22
|
+
Archives are verified before extracting the named executable. Cached binaries
|
|
23
|
+
are checked against their hash before reuse. Downloads never modify system
|
|
24
|
+
package managers, PATH configuration, signing settings or Hook trust records.
|
|
@@ -0,0 +1,46 @@
|
|
|
1
|
+
{
|
|
2
|
+
"darwin-arm64": {
|
|
3
|
+
"version": "9.0.2",
|
|
4
|
+
"url": "https://www.osxexperts.net/ffmpeg902arm.zip",
|
|
5
|
+
"format": "zip",
|
|
6
|
+
"entry": "ffmpeg",
|
|
7
|
+
"archiveBytes": 22665869,
|
|
8
|
+
"archiveSha256": "07e00300593799005b060c03a99fe648b1edda0f30c36b0c1adafe8e3247e586",
|
|
9
|
+
"binaryBytes": 52160568,
|
|
10
|
+
"binarySha256": "762f16b2913b8d3b8fdb8092df12b691053b035b13ae9b88205513c55cb8e71e"
|
|
11
|
+
},
|
|
12
|
+
"darwin-x64": {
|
|
13
|
+
"version": "9.0.2",
|
|
14
|
+
"url": "https://evermeet.cx/ffmpeg/ffmpeg-9.0.2.zip",
|
|
15
|
+
"format": "zip",
|
|
16
|
+
"entry": "ffmpeg",
|
|
17
|
+
"archiveBytes": 26198325,
|
|
18
|
+
"archiveSha256": "4acc0be580f9b2788029eb7bd4d645ff87968911b0a62aeeb3940d42d54558d5",
|
|
19
|
+
"binaryBytes": 80827688,
|
|
20
|
+
"binarySha256": "a45b462cf91ed89148ae218c4577e30896485d7a6792c3673bcf5f823fa01b63"
|
|
21
|
+
},
|
|
22
|
+
"linux-x64": {
|
|
23
|
+
"version": "9.0.2-20261031",
|
|
24
|
+
"url": "https://github.com/BtbN/FFmpeg-Builds/releases/download/autobuild-2026-10-31-12-59/ffmpeg-n9.0.2-39-g7adfbe40dc-linux64-gpl-9.0.tar.xz",
|
|
25
|
+
"format": "tar.xz",
|
|
26
|
+
"entry": "ffmpeg-n9.0.2-39-g7adfbe40dc-linux64-gpl-9.0/bin/ffmpeg",
|
|
27
|
+
"archiveBytes": 153175100,
|
|
28
|
+
"archiveSha256": "73e29a56974ae5a651133a04584c7483b21afe941e17dc91d79814a758b608d3"
|
|
29
|
+
},
|
|
30
|
+
"linux-arm64": {
|
|
31
|
+
"version": "9.0.2-20261031",
|
|
32
|
+
"url": "https://github.com/BtbN/FFmpeg-Builds/releases/download/autobuild-2026-10-31-12-59/ffmpeg-n9.0.2-39-g7adfbe40dc-linuxarm64-gpl-9.0.tar.xz",
|
|
33
|
+
"format": "tar.xz",
|
|
34
|
+
"entry": "ffmpeg-n9.0.2-39-g7adfbe40dc-linuxarm64-gpl-9.0/bin/ffmpeg",
|
|
35
|
+
"archiveBytes": 128664064,
|
|
36
|
+
"archiveSha256": "6cad88ae5bcec356cfc5d7979a036cc4007128201928a0cf243df3db483276cc"
|
|
37
|
+
},
|
|
38
|
+
"win32-x64": {
|
|
39
|
+
"version": "9.0.2-20261031",
|
|
40
|
+
"url": "https://github.com/BtbN/FFmpeg-Builds/releases/download/autobuild-2026-10-31-12-59/ffmpeg-n9.0.2-39-g7adfbe40dc-win64-gpl-9.0.zip",
|
|
41
|
+
"format": "zip",
|
|
42
|
+
"entry": "ffmpeg-n9.0.2-39-g7adfbe40dc-win64-gpl-9.0/bin/ffmpeg.exe",
|
|
43
|
+
"archiveBytes": 195110184,
|
|
44
|
+
"archiveSha256": "693f3e224bc184b40524a62ca47526cfebaf2504414021b92fe75f677ad868b9"
|
|
45
|
+
}
|
|
46
|
+
}
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@kyun.si/codex-hongguo",
|
|
3
|
-
"version": "0.0.
|
|
3
|
+
"version": "0.0.22",
|
|
4
4
|
"description": "在 Codex 桌面对话中观看红果短剧并跟随回合暂停。",
|
|
5
5
|
"type": "module",
|
|
6
6
|
"license": "MIT",
|
|
@@ -11,6 +11,10 @@
|
|
|
11
11
|
"darwin",
|
|
12
12
|
"linux"
|
|
13
13
|
],
|
|
14
|
+
"cpu": [
|
|
15
|
+
"x64",
|
|
16
|
+
"arm64"
|
|
17
|
+
],
|
|
14
18
|
"repository": {
|
|
15
19
|
"type": "git",
|
|
16
20
|
"url": "git+https://github.com/mreasonyang/codex-hongguo.git"
|
|
@@ -7,7 +7,7 @@ description: 配置红果短剧插件,检查本机播放环境和回合自动
|
|
|
7
7
|
|
|
8
8
|
从此 SKILL.md 的实际位置向上两级确定插件根目录。在 macOS/Linux 用 `sh "<插件根目录>/bin/run-node" check` 检查;Windows x64 试用版在 PowerShell 用 `& "<插件根目录>\bin\run-node.exe" check`。启动器自动寻找 Node,并检查版本及 SQLite。正确引用包含空格的路径。脚本只输出 Node、进度库、FFmpeg 和本插件三个 Hooks 的检查元数据,不发送模型请求。当前 npm 发行包仅开放 macOS/Linux;Windows 原生启动器随离线包提供,完整桌面验收通过前仍为试用。
|
|
9
9
|
|
|
10
|
-
-
|
|
10
|
+
- 需要 Node.js >=22.16。播放组件由插件自动下载、校验并缓存,无需用户自行安装 FFmpeg。首次需要联网;准备失败时检查网络并重新运行 `npx @kyun.si/codex-hongguo@latest setup`,或从播放器「设置 → 使用指南」重新检查。特殊安装可使用 HONGGUO_NODE、HONGGUO_FFMPEG、HONGGUO_CODEX 指定程序;不要修改用户其他插件、认证或网络配置。
|
|
11
11
|
- Hooks 的 `ready` 才表示本次回读已信任且启用。`needs_review` 或 `disabled` 时,说明在桌面 Settings → Hooks 找到「红果短剧」,审查并信任或启用 UserPromptSubmit、Stop、Interrupt。用户完成后重新检查。不要自动写入信任记录、绕过审查或把收到过回合事件当成三个 Hooks 都已配置。
|
|
12
12
|
- `missing` 时核对当前插件是否启用及是否需要新建本地对话;`unknown` 表示宿主状态未能读取,不能说已配置。CLI 不可用时可以让用户从播放器「设置 → 使用指南」重新检查,或直接查看宿主 Hooks 页面。
|
|
13
13
|
|