@kyun.si/codex-hongguo 0.0.0-stage → 0.0.21

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.
Files changed (136) hide show
  1. package/.codex-plugin/plugin.json +19 -0
  2. package/.mcp.json +11 -0
  3. package/LICENSE +21 -0
  4. package/README.en.md +131 -0
  5. package/README.md +129 -2
  6. package/bin/codex-hongguo.mjs +3 -0
  7. package/bin/run-node +29 -0
  8. package/bin/run-node.exe +0 -0
  9. package/dist/cli/main.mjs +8 -0
  10. package/dist/hooks/write.mjs +46 -0
  11. package/dist/server/index.mjs +147 -0
  12. package/dist/setup/check.mjs +47 -0
  13. package/dist/ui/player.html +2067 -0
  14. package/dist/vendor/openhongguo/GO_LICENSE +27 -0
  15. package/dist/vendor/openhongguo/LICENSE +202 -0
  16. package/dist/vendor/openhongguo/README.md +283 -0
  17. package/dist/vendor/openhongguo/dist/openhongguo.wasm +0 -0
  18. package/dist/vendor/openhongguo/dist/wasm_exec.js +575 -0
  19. package/dist/vendor/openhongguo/index.d.ts +212 -0
  20. package/dist/vendor/openhongguo/index.js +297 -0
  21. package/dist/vendor/openhongguo/package.json +46 -0
  22. package/dist/vendor/openhongguo/types.d.ts +887 -0
  23. package/docs/images/codex-hongguo-catalog.png +0 -0
  24. package/docs/images/codex-hongguo-player.png +0 -0
  25. package/hooks/hooks.json +40 -0
  26. package/licenses/@babel-runtime-LICENSE +22 -0
  27. package/licenses/@hono-node-server-LICENSE +21 -0
  28. package/licenses/@modelcontextprotocol-ext-apps-LICENSE +216 -0
  29. package/licenses/@modelcontextprotocol-sdk-LICENSE +21 -0
  30. package/licenses/@standard-schema-spec-LICENSE +21 -0
  31. package/licenses/@videojs-vhs-utils-LICENSE +19 -0
  32. package/licenses/@xmldom-xmldom-LICENSE +8 -0
  33. package/licenses/PROJECT-NOTICE.txt +1 -0
  34. package/licenses/accepts-LICENSE +23 -0
  35. package/licenses/ajv-LICENSE +22 -0
  36. package/licenses/ajv-formats-LICENSE +21 -0
  37. package/licenses/body-parser-LICENSE +23 -0
  38. package/licenses/body-parser-content-type-LICENSE +22 -0
  39. package/licenses/bytes-LICENSE +23 -0
  40. package/licenses/call-bind-apply-helpers-LICENSE +21 -0
  41. package/licenses/call-bound-LICENSE +21 -0
  42. package/licenses/content-disposition-LICENSE +22 -0
  43. package/licenses/content-type-LICENSE +22 -0
  44. package/licenses/cookie-LICENSE +24 -0
  45. package/licenses/cookie-signature-LICENSE +22 -0
  46. package/licenses/cors-LICENSE +22 -0
  47. package/licenses/cross-spawn-LICENSE +21 -0
  48. package/licenses/debug-LICENSE +20 -0
  49. package/licenses/depd-LICENSE +22 -0
  50. package/licenses/dom-walk-LICENCE +19 -0
  51. package/licenses/dunder-proto-LICENSE +21 -0
  52. package/licenses/ee-first-LICENSE +22 -0
  53. package/licenses/encodeurl-LICENSE +22 -0
  54. package/licenses/es-define-property-LICENSE +21 -0
  55. package/licenses/es-errors-LICENSE +21 -0
  56. package/licenses/es-object-atoms-LICENSE +21 -0
  57. package/licenses/escape-html-LICENSE +24 -0
  58. package/licenses/etag-LICENSE +22 -0
  59. package/licenses/eventsource-LICENSE +22 -0
  60. package/licenses/eventsource-parser-LICENSE +21 -0
  61. package/licenses/express-LICENSE +24 -0
  62. package/licenses/express-content-type-LICENSE +22 -0
  63. package/licenses/express-rate-limit-license +21 -0
  64. package/licenses/fast-deep-equal-LICENSE +21 -0
  65. package/licenses/fast-uri-LICENSE +30 -0
  66. package/licenses/finalhandler-LICENSE +22 -0
  67. package/licenses/forwarded-LICENSE +22 -0
  68. package/licenses/fresh-LICENSE +23 -0
  69. package/licenses/function-bind-LICENSE +20 -0
  70. package/licenses/get-intrinsic-LICENSE +21 -0
  71. package/licenses/get-proto-LICENSE +21 -0
  72. package/licenses/global-LICENSE +19 -0
  73. package/licenses/gopd-LICENSE +21 -0
  74. package/licenses/has-symbols-LICENSE +21 -0
  75. package/licenses/hasown-LICENSE +21 -0
  76. package/licenses/hls.js-LICENSE +28 -0
  77. package/licenses/hono-LICENSE +21 -0
  78. package/licenses/http-errors-LICENSE +23 -0
  79. package/licenses/iconv-lite-LICENSE +21 -0
  80. package/licenses/inherits-LICENSE +16 -0
  81. package/licenses/ip-address-LICENSE +19 -0
  82. package/licenses/ipaddr.js-LICENSE +19 -0
  83. package/licenses/is-promise-LICENSE +19 -0
  84. package/licenses/isexe-LICENSE +15 -0
  85. package/licenses/jose-LICENSE.md +21 -0
  86. package/licenses/json-schema-traverse-LICENSE +21 -0
  87. package/licenses/json-schema-typed-LICENSE.md +57 -0
  88. package/licenses/m3u8-parser-LICENSE +13 -0
  89. package/licenses/math-intrinsics-LICENSE +21 -0
  90. package/licenses/media-typer-LICENSE +22 -0
  91. package/licenses/merge-descriptors-license +11 -0
  92. package/licenses/mime-db-LICENSE +23 -0
  93. package/licenses/mime-types-LICENSE +23 -0
  94. package/licenses/min-document-LICENCE +19 -0
  95. package/licenses/mpd-parser-LICENSE +13 -0
  96. package/licenses/ms-license.md +21 -0
  97. package/licenses/negotiator-LICENSE +24 -0
  98. package/licenses/negotiator-content-type-LICENSE +22 -0
  99. package/licenses/object-assign-license +21 -0
  100. package/licenses/object-inspect-LICENSE +21 -0
  101. package/licenses/on-finished-LICENSE +23 -0
  102. package/licenses/once-LICENSE +15 -0
  103. package/licenses/openhongguo-LICENSE +202 -0
  104. package/licenses/parseurl-LICENSE +24 -0
  105. package/licenses/path-key-license +9 -0
  106. package/licenses/path-to-regexp-LICENSE +21 -0
  107. package/licenses/pkce-challenge-LICENSE +21 -0
  108. package/licenses/process-LICENSE +22 -0
  109. package/licenses/proxy-addr-LICENSE +22 -0
  110. package/licenses/qs-LICENSE.md +29 -0
  111. package/licenses/range-parser-LICENSE +23 -0
  112. package/licenses/raw-body-LICENSE +22 -0
  113. package/licenses/require-from-string-license +21 -0
  114. package/licenses/router-LICENSE +23 -0
  115. package/licenses/safer-buffer-LICENSE +21 -0
  116. package/licenses/send-LICENSE +23 -0
  117. package/licenses/serve-static-LICENSE +25 -0
  118. package/licenses/setprototypeof-LICENSE +13 -0
  119. package/licenses/shebang-command-license +9 -0
  120. package/licenses/shebang-regex-license +9 -0
  121. package/licenses/side-channel-LICENSE +21 -0
  122. package/licenses/side-channel-list-LICENSE +21 -0
  123. package/licenses/side-channel-map-LICENSE +21 -0
  124. package/licenses/side-channel-weakmap-LICENSE +21 -0
  125. package/licenses/statuses-LICENSE +23 -0
  126. package/licenses/toidentifier-LICENSE +21 -0
  127. package/licenses/type-is-LICENSE +23 -0
  128. package/licenses/type-is-content-type-LICENSE +22 -0
  129. package/licenses/unpipe-LICENSE +22 -0
  130. package/licenses/vary-LICENSE +22 -0
  131. package/licenses/which-LICENSE +15 -0
  132. package/licenses/wrappy-LICENSE +15 -0
  133. package/licenses/zod-LICENSE +21 -0
  134. package/licenses/zod-to-json-schema-LICENSE +15 -0
  135. package/package.json +37 -4
  136. package/skills/hongguo-setup/SKILL.md +16 -0
@@ -0,0 +1,21 @@
1
+ MIT License
2
+
3
+ Copyright (c) 2019 Jordan Harband
4
+
5
+ Permission is hereby granted, free of charge, to any person obtaining a copy
6
+ of this software and associated documentation files (the "Software"), to deal
7
+ in the Software without restriction, including without limitation the rights
8
+ to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
9
+ copies of the Software, and to permit persons to whom the Software is
10
+ furnished to do so, subject to the following conditions:
11
+
12
+ The above copyright notice and this permission notice shall be included in all
13
+ copies or substantial portions of the Software.
14
+
15
+ THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
16
+ IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
17
+ FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
18
+ AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
19
+ LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
20
+ OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
21
+ SOFTWARE.
@@ -0,0 +1,21 @@
1
+ MIT License
2
+
3
+ Copyright (c) 2024 Jordan Harband
4
+
5
+ Permission is hereby granted, free of charge, to any person obtaining a copy
6
+ of this software and associated documentation files (the "Software"), to deal
7
+ in the Software without restriction, including without limitation the rights
8
+ to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
9
+ copies of the Software, and to permit persons to whom the Software is
10
+ furnished to do so, subject to the following conditions:
11
+
12
+ The above copyright notice and this permission notice shall be included in all
13
+ copies or substantial portions of the Software.
14
+
15
+ THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
16
+ IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
17
+ FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
18
+ AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
19
+ LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
20
+ OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
21
+ SOFTWARE.
@@ -0,0 +1,21 @@
1
+ MIT License
2
+
3
+ Copyright (c) 2024 Jordan Harband
4
+
5
+ Permission is hereby granted, free of charge, to any person obtaining a copy
6
+ of this software and associated documentation files (the "Software"), to deal
7
+ in the Software without restriction, including without limitation the rights
8
+ to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
9
+ copies of the Software, and to permit persons to whom the Software is
10
+ furnished to do so, subject to the following conditions:
11
+
12
+ The above copyright notice and this permission notice shall be included in all
13
+ copies or substantial portions of the Software.
14
+
15
+ THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
16
+ IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
17
+ FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
18
+ AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
19
+ LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
20
+ OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
21
+ SOFTWARE.
@@ -0,0 +1,21 @@
1
+ MIT License
2
+
3
+ Copyright (c) 2019 Jordan Harband
4
+
5
+ Permission is hereby granted, free of charge, to any person obtaining a copy
6
+ of this software and associated documentation files (the "Software"), to deal
7
+ in the Software without restriction, including without limitation the rights
8
+ to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
9
+ copies of the Software, and to permit persons to whom the Software is
10
+ furnished to do so, subject to the following conditions:
11
+
12
+ The above copyright notice and this permission notice shall be included in all
13
+ copies or substantial portions of the Software.
14
+
15
+ THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
16
+ IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
17
+ FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
18
+ AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
19
+ LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
20
+ OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
21
+ SOFTWARE.
@@ -0,0 +1,23 @@
1
+
2
+ The MIT License (MIT)
3
+
4
+ Copyright (c) 2014 Jonathan Ong <me@jongleberry.com>
5
+ Copyright (c) 2016 Douglas Christopher Wilson <doug@somethingdoug.com>
6
+
7
+ Permission is hereby granted, free of charge, to any person obtaining a copy
8
+ of this software and associated documentation files (the "Software"), to deal
9
+ in the Software without restriction, including without limitation the rights
10
+ to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
11
+ copies of the Software, and to permit persons to whom the Software is
12
+ furnished to do so, subject to the following conditions:
13
+
14
+ The above copyright notice and this permission notice shall be included in
15
+ all copies or substantial portions of the Software.
16
+
17
+ THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
18
+ IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
19
+ FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
20
+ AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
21
+ LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
22
+ OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN
23
+ THE SOFTWARE.
@@ -0,0 +1,21 @@
1
+ MIT License
2
+
3
+ Copyright (c) 2016 Douglas Christopher Wilson <doug@somethingdoug.com>
4
+
5
+ Permission is hereby granted, free of charge, to any person obtaining a copy
6
+ of this software and associated documentation files (the "Software"), to deal
7
+ in the Software without restriction, including without limitation the rights
8
+ to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
9
+ copies of the Software, and to permit persons to whom the Software is
10
+ furnished to do so, subject to the following conditions:
11
+
12
+ The above copyright notice and this permission notice shall be included in all
13
+ copies or substantial portions of the Software.
14
+
15
+ THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
16
+ IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
17
+ FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
18
+ AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
19
+ LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
20
+ OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
21
+ SOFTWARE.
@@ -0,0 +1,23 @@
1
+ (The MIT License)
2
+
3
+ Copyright (c) 2014 Jonathan Ong <me@jongleberry.com>
4
+ Copyright (c) 2014-2015 Douglas Christopher Wilson <doug@somethingdoug.com>
5
+
6
+ Permission is hereby granted, free of charge, to any person obtaining
7
+ a copy of this software and associated documentation files (the
8
+ 'Software'), to deal in the Software without restriction, including
9
+ without limitation the rights to use, copy, modify, merge, publish,
10
+ distribute, sublicense, and/or sell copies of the Software, and to
11
+ permit persons to whom the Software is furnished to do so, subject to
12
+ the following conditions:
13
+
14
+ The above copyright notice and this permission notice shall be
15
+ included in all copies or substantial portions of the Software.
16
+
17
+ THE SOFTWARE IS PROVIDED 'AS IS', WITHOUT WARRANTY OF ANY KIND,
18
+ EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF
19
+ MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT.
20
+ IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY
21
+ CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT,
22
+ TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE
23
+ SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
@@ -0,0 +1,22 @@
1
+ (The MIT License)
2
+
3
+ Copyright (c) 2015 Douglas Christopher Wilson
4
+
5
+ Permission is hereby granted, free of charge, to any person obtaining
6
+ a copy of this software and associated documentation files (the
7
+ 'Software'), to deal in the Software without restriction, including
8
+ without limitation the rights to use, copy, modify, merge, publish,
9
+ distribute, sublicense, and/or sell copies of the Software, and to
10
+ permit persons to whom the Software is furnished to do so, subject to
11
+ the following conditions:
12
+
13
+ The above copyright notice and this permission notice shall be
14
+ included in all copies or substantial portions of the Software.
15
+
16
+ THE SOFTWARE IS PROVIDED 'AS IS', WITHOUT WARRANTY OF ANY KIND,
17
+ EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF
18
+ MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT.
19
+ IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY
20
+ CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT,
21
+ TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE
22
+ SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
@@ -0,0 +1,22 @@
1
+ (The MIT License)
2
+
3
+ Copyright (c) 2015 Douglas Christopher Wilson <doug@somethingdoug.com>
4
+
5
+ Permission is hereby granted, free of charge, to any person obtaining
6
+ a copy of this software and associated documentation files (the
7
+ 'Software'), to deal in the Software without restriction, including
8
+ without limitation the rights to use, copy, modify, merge, publish,
9
+ distribute, sublicense, and/or sell copies of the Software, and to
10
+ permit persons to whom the Software is furnished to do so, subject to
11
+ the following conditions:
12
+
13
+ The above copyright notice and this permission notice shall be
14
+ included in all copies or substantial portions of the Software.
15
+
16
+ THE SOFTWARE IS PROVIDED 'AS IS', WITHOUT WARRANTY OF ANY KIND,
17
+ EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF
18
+ MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT.
19
+ IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY
20
+ CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT,
21
+ TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE
22
+ SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
@@ -0,0 +1,22 @@
1
+ (The MIT License)
2
+
3
+ Copyright (c) 2014-2017 Douglas Christopher Wilson
4
+
5
+ Permission is hereby granted, free of charge, to any person obtaining
6
+ a copy of this software and associated documentation files (the
7
+ 'Software'), to deal in the Software without restriction, including
8
+ without limitation the rights to use, copy, modify, merge, publish,
9
+ distribute, sublicense, and/or sell copies of the Software, and to
10
+ permit persons to whom the Software is furnished to do so, subject to
11
+ the following conditions:
12
+
13
+ The above copyright notice and this permission notice shall be
14
+ included in all copies or substantial portions of the Software.
15
+
16
+ THE SOFTWARE IS PROVIDED 'AS IS', WITHOUT WARRANTY OF ANY KIND,
17
+ EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF
18
+ MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT.
19
+ IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY
20
+ CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT,
21
+ TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE
22
+ SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
@@ -0,0 +1,15 @@
1
+ The ISC License
2
+
3
+ Copyright (c) Isaac Z. Schlueter and Contributors
4
+
5
+ Permission to use, copy, modify, and/or distribute this software for any
6
+ purpose with or without fee is hereby granted, provided that the above
7
+ copyright notice and this permission notice appear in all copies.
8
+
9
+ THE SOFTWARE IS PROVIDED "AS IS" AND THE AUTHOR DISCLAIMS ALL WARRANTIES
10
+ WITH REGARD TO THIS SOFTWARE INCLUDING ALL IMPLIED WARRANTIES OF
11
+ MERCHANTABILITY AND FITNESS. IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR
12
+ ANY SPECIAL, DIRECT, INDIRECT, OR CONSEQUENTIAL DAMAGES OR ANY DAMAGES
13
+ WHATSOEVER RESULTING FROM LOSS OF USE, DATA OR PROFITS, WHETHER IN AN
14
+ ACTION OF CONTRACT, NEGLIGENCE OR OTHER TORTIOUS ACTION, ARISING OUT OF OR
15
+ IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE.
@@ -0,0 +1,15 @@
1
+ The ISC License
2
+
3
+ Copyright (c) Isaac Z. Schlueter and Contributors
4
+
5
+ Permission to use, copy, modify, and/or distribute this software for any
6
+ purpose with or without fee is hereby granted, provided that the above
7
+ copyright notice and this permission notice appear in all copies.
8
+
9
+ THE SOFTWARE IS PROVIDED "AS IS" AND THE AUTHOR DISCLAIMS ALL WARRANTIES
10
+ WITH REGARD TO THIS SOFTWARE INCLUDING ALL IMPLIED WARRANTIES OF
11
+ MERCHANTABILITY AND FITNESS. IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR
12
+ ANY SPECIAL, DIRECT, INDIRECT, OR CONSEQUENTIAL DAMAGES OR ANY DAMAGES
13
+ WHATSOEVER RESULTING FROM LOSS OF USE, DATA OR PROFITS, WHETHER IN AN
14
+ ACTION OF CONTRACT, NEGLIGENCE OR OTHER TORTIOUS ACTION, ARISING OUT OF OR
15
+ IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE.
@@ -0,0 +1,21 @@
1
+ MIT License
2
+
3
+ Copyright (c) 2025 Colin McDonnell
4
+
5
+ Permission is hereby granted, free of charge, to any person obtaining a copy
6
+ of this software and associated documentation files (the "Software"), to deal
7
+ in the Software without restriction, including without limitation the rights
8
+ to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
9
+ copies of the Software, and to permit persons to whom the Software is
10
+ furnished to do so, subject to the following conditions:
11
+
12
+ The above copyright notice and this permission notice shall be included in all
13
+ copies or substantial portions of the Software.
14
+
15
+ THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
16
+ IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
17
+ FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
18
+ AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
19
+ LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
20
+ OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
21
+ SOFTWARE.
@@ -0,0 +1,15 @@
1
+ ISC License
2
+
3
+ Copyright (c) 2020, Stefan Terdell
4
+
5
+ Permission to use, copy, modify, and/or distribute this software for any
6
+ purpose with or without fee is hereby granted, provided that the above
7
+ copyright notice and this permission notice appear in all copies.
8
+
9
+ THE SOFTWARE IS PROVIDED "AS IS" AND THE AUTHOR DISCLAIMS ALL WARRANTIES
10
+ WITH REGARD TO THIS SOFTWARE INCLUDING ALL IMPLIED WARRANTIES OF
11
+ MERCHANTABILITY AND FITNESS. IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR
12
+ ANY SPECIAL, DIRECT, INDIRECT, OR CONSEQUENTIAL DAMAGES OR ANY DAMAGES
13
+ WHATSOEVER RESULTING FROM LOSS OF USE, DATA OR PROFITS, WHETHER IN AN
14
+ ACTION OF CONTRACT, NEGLIGENCE OR OTHER TORTIOUS ACTION, ARISING OUT OF
15
+ OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE.
package/package.json CHANGED
@@ -1,6 +1,39 @@
1
1
  {
2
2
  "name": "@kyun.si/codex-hongguo",
3
- "version": "0.0.0-stage",
4
- "stub": true,
5
- "description": "Temporary package placeholder for staged publishing"
6
- }
3
+ "version": "0.0.21",
4
+ "description": "在 Codex 桌面对话中观看红果短剧并跟随回合暂停。",
5
+ "type": "module",
6
+ "license": "MIT",
7
+ "engines": {
8
+ "node": ">=22.16"
9
+ },
10
+ "os": [
11
+ "darwin",
12
+ "linux"
13
+ ],
14
+ "repository": {
15
+ "type": "git",
16
+ "url": "git+https://github.com/mreasonyang/codex-hongguo.git"
17
+ },
18
+ "homepage": "https://github.com/mreasonyang/codex-hongguo#readme",
19
+ "bin": {
20
+ "codex-hongguo": "./bin/codex-hongguo.mjs"
21
+ },
22
+ "files": [
23
+ ".codex-plugin/",
24
+ ".mcp.json",
25
+ "hooks/",
26
+ "skills/",
27
+ "bin/",
28
+ "dist/",
29
+ "licenses/",
30
+ "LICENSE",
31
+ "README.md",
32
+ "README.en.md",
33
+ "docs/images/"
34
+ ],
35
+ "publishConfig": {
36
+ "access": "public",
37
+ "registry": "https://registry.npmjs.org"
38
+ }
39
+ }
@@ -0,0 +1,16 @@
1
+ ---
2
+ name: hongguo-setup
3
+ description: 配置红果短剧插件,检查本机播放环境和回合自动暂停,带用户完成安装后的首次使用。适用于红果设置、安装后不会用或自动暂停不生效。
4
+ ---
5
+
6
+ 帮助用户在当前安装环境完成红果短剧配置。该插件用于本机执行的 Codex 对话,不需要红果账号、API Key 或浏览器自动化权限。
7
+
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
+
10
+ - 播放环境缺失时,按当前操作系统说明缺少什么。需要 Node.js >=22.16 和 FFmpeg(建议 >=8)。安装依赖后重开 Codex 并重新检查,启动器会重新发现程序。特殊安装可使用 HONGGUO_NODE、HONGGUO_FFMPEG、HONGGUO_CODEX 指定程序;不要修改用户其他插件、认证或网络配置。
11
+ - Hooks 的 `ready` 才表示本次回读已信任且启用。`needs_review` 或 `disabled` 时,说明在桌面 Settings → Hooks 找到「红果短剧」,审查并信任或启用 UserPromptSubmit、Stop、Interrupt。用户完成后重新检查。不要自动写入信任记录、绕过审查或把收到过回合事件当成三个 Hooks 都已配置。
12
+ - `missing` 时核对当前插件是否启用及是否需要新建本地对话;`unknown` 表示宿主状态未能读取,不能说已配置。CLI 不可用时可以让用户从播放器「设置 → 使用指南」重新检查,或直接查看宿主 Hooks 页面。
13
+
14
+ 告诉用户从新本地对话的右侧 + 搜索“红果”,或在“更多工具”的“插件和 MCP”分组打开红果短剧。首次打开有使用指南,之后可从设置重开。点击推荐或搜索结果即可开播,默认静音;打开扬声器出声。未完成 Hooks 配置时仍可手动观看。
15
+
16
+ 当用户选择验证回合联动时,在真实本地对话进行中打开面板并点播,观察回合结束或中断后是否暂停,再点普通播放键检查能否从原处继续。没有实际观察到视频暂停,就将这一项保留为待验证。结束时简短说明播放环境、Hooks 状态与尚未完成的动作,避免把检查通过当成完整桌面 E2E。