Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
1 change: 1 addition & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -57,6 +57,7 @@ The MiniMax Code Agent communicates through the host MCP client. Business reques

| MiniApp | What it does | Author |
| --- | --- | --- |
| [Live Stream Recorder](plugins/charlesnty612/live-stream-recorder/) | A native workbench for multi-platform livestream recording, danmaku analysis and highlight clipping; the recording engine is downloaded on demand after you agree | [charlesnty612](https://github.com/charlesnty612) |
| [Work Group](plugins/liuhaolin07/miniapp-af37075b-6a0d-41c1-bc4e-8817be9656b8/) | A chat-style work group where several MiniMax Code Agents reply in one thread, mention each other to hand work over, and ask you for tool approvals and answers as cards in the page | [liuhaolin07](https://github.com/liuhaolin07) |
| [Prompt Enhancer](plugins/skypata/prompt-enhancer/) | Rewrite a one-line request into a complete prompt for a coding assistant; the model list and reasoning levels come from MiniMax Code's own configuration, and the rewrite runs on your signed-in account | [skypata](https://github.com/skypata) |
| [Postman Lite](plugins/ssugarr/postman-lite/) | A lightweight local API request tool: build requests, send them through a local proxy that sidesteps browser CORS limits, and inspect responses, with collections kept as plain JSON | [ssugarr](https://github.com/ssugarr) |
Expand Down
1 change: 1 addition & 0 deletions README.zh-CN.md
Original file line number Diff line number Diff line change
Expand Up @@ -57,6 +57,7 @@ MiniMax Code Agent 通过宿主 MCP 客户端与 MiniApp 协作。业务请求

| MiniApp | 功能 | 作者 |
| --- | --- | --- |
| [Live Stream Recorder](plugins/charlesnty612/live-stream-recorder/) | 多平台直播录制、弹幕分析与高能切片原生工作台;录制引擎在你同意后按需下载 | [charlesnty612](https://github.com/charlesnty612) |
| [工作群](plugins/liuhaolin07/miniapp-af37075b-6a0d-41c1-bc4e-8817be9656b8/README.zh-CN.md) | 聊天式工作群:多个 MiniMax Code Agent 在同一个群里回复、互相 @ 接力,工具审批和提问以卡片形式在页面里完成 | [liuhaolin07](https://github.com/liuhaolin07) |
| [提示词增强器](plugins/skypata/prompt-enhancer/) | 把一句话改写成可以直接交给编码助手的完整提示词,模型清单与推理等级取自 MiniMax Code 自己的配置,改写走你已登录的账号 | [skypata](https://github.com/skypata) |
| [Postman Lite](plugins/ssugarr/postman-lite/README.zh-CN.md) | 轻量的本地 API 请求工具:构建请求、通过本地代理转发(绕过浏览器 CORS 限制)、查看响应,集合以纯 JSON 保存 | [ssugarr](https://github.com/ssugarr) |
Expand Down
Original file line number Diff line number Diff line change
@@ -0,0 +1,17 @@
{
"schemaVersion": 1,
"name": "live-stream-recorder",
"displayName": "Live Stream Recorder",
"version": "1.0.0",
"description": "多平台直播自动录制、弹幕分析、高能切片与短视频备份工作台。",
"author": "charlesnty612",
"icon": "icon.png",
"category": "Productivity",
"exampleQueries": [
"打开 Live Stream Recorder",
"查看当前正在录制的直播间状态"
],
"apps": [],
"mcpServers": [],
"skills": []
}
21 changes: 21 additions & 0 deletions plugins/charlesnty612/live-stream-recorder/LICENSE
Original file line number Diff line number Diff line change
@@ -0,0 +1,21 @@
MIT License

Copyright (c) 2026 charlesnty612

Permission is hereby granted, free of charge, to any person obtaining a copy
of this software and associated documentation files (the "Software"), to deal
in the Software without restriction, including without limitation the rights
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
copies of the Software, and to permit persons to whom the Software is
furnished to do so, subject to the following conditions:

The above copyright notice and this permission notice shall be included in all
copies or substantial portions of the Software.

THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
SOFTWARE.
119 changes: 119 additions & 0 deletions plugins/charlesnty612/live-stream-recorder/NOTICE
Original file line number Diff line number Diff line change
@@ -0,0 +1,119 @@
# Live Stream Recorder — 第三方组件出处与声明(NOTICE)

本项目(Live Stream Recorder)自身代码采用 MIT 许可证,见仓库根 `LICENSE`,
版权所有 (c) 2026 charlesnty612。该 MIT 许可仅覆盖本项目自有代码,
不覆盖下列捆绑或派生的第三方组件。各组件原许可证文件已随仓库原样保留,
再分发时请一并保留。

## 1. biliup(上游项目)
- 出处:https://github.com/biliup/biliup (历史仓库 https://github.com/ForgQi/bilibiliupload)
- 许可:MIT
- 需保留声明:Copyright (c) 2019 ForgQi
- 说明:根 `LICENSE` 的版权行按本项目口径调整为 charlesnty612;
上游 ForgQi 的原始 MIT 版权声明在此保留,以符合 MIT 第 1 条的保留要求。

## 2. DanmakuFactory(弹幕 XML→ASS 排版算法来源)
- 出处:https://github.com/hihkm/DanmakuFactory
- 参考提交:3813e93b13b087e95901d1822baf9c3540e3f3f6
- 许可:MIT
- 需保留声明:Copyright (c) 2022 hkm / hihkm
- 许可文件:`crates/danmaku-factory/LICENSE-DanmakuFactory`(Copyright (c) 2022 hihkm)
- 声明文件:`crates/danmaku-factory/THIRD-PARTY-NOTICES.txt`、
`crates/biliup-cli/assets/render-tools/THIRD-PARTY-NOTICES.txt`(Copyright (c) 2022 hkm)
- 说明:生产转换为原生 Rust 实现,未包含 DanmakuFactory 的 C 实现及其 PCRE2 依赖。

## 3. stream-gears
- 许可:MIT
- 需保留声明:Copyright (c) 2019 ForgQi
- 许可文件:`crates/stream-gears/LICENSE`

## 4. rust-srec(mesio 下载 / 修复管线,7 个包以固定 rev 引入)
- 出处:https://github.com/hua0512/rust-srec
- 固定修订:dcdb80ee607ff6a991e5ddd86a0084a01bd945ac(2026-09-19)
- 声明许可:MIT OR Apache-2.0;本分发按 Apache-2.0 提供合规材料
- 需保留声明:Copyright (c) 2025 the rust-srec project authors
- 上游 NOTICE:该修订下不存在(404),无从收录
- 许可文件:`licenses/rust-srec/LICENSE-APACHE-2.0.txt`、
`licenses/rust-srec/LICENSE-MIT.txt`
- 归属说明:`licenses/rust-srec/ATTRIBUTION.md`;机器可读清单:`licenses/rust-srec/NOTICES.json`
- 说明:本项目未修改 rust-srec 源码,仅以 git 依赖按固定 rev 原样构建链接。

## 5. Uncut(编辑器资源与声明来源)
- 出处:https://github.com/blazejkustra/uncut
- 固定修订:218be7f3aa23bc896c291acfc1d6b4820ea758d0
- 许可:MIT
- 需保留声明:Copyright (c) 2026 Błażej Kustra and Uncut contributors
- 许可文件:`licenses/uncut/LICENSE`
- 随附声明:`licenses/uncut/THIRD_PARTY_NOTICES`,其中列出随 Uncut 分发的第三方组件;
DM Sans / DM Mono 字体采用 SIL Open Font License 1.1,声明原文随该文件保留。
- 澄清:该文件所述 FFmpeg / ffprobe 为 LGPL 2.1+ 或 GPL,但明确标注 “not bundled”
(由用户自行安装、作为独立程序运行),其许可不适用于本项目,不属于捆绑组件。

## 6. three.js
- 许可:MIT
- 需保留声明:Copyright (c) 2010-2024 three.js authors
- 许可文件:`resources/editor/graphic-libs/three.LICENSE.txt`

## 7. 前端打包依赖(随 Mini App 客户端载荷分发)

以下库被 Vite 实际打进 `miniapp/client/` 的 JS/CSS 产物,随包分发;出处、许可证、版权行与
许可文本落点的逐项审计见 `licenses/frontend/MANIFEST.md`。本节属于随包分发的第三方声明,
与 README 的 References / 引用一节(只讲按需下载引擎链接的 rust-srec、Uncut)用途不同。

- vue 3.5.45、@vue/runtime-core / @vue/runtime-dom / @vue/reactivity / @vue/shared 3.5.45
- 出处:https://github.com/vuejs/core
- 许可:MIT;版权:Copyright (c) 2018-present, Yuxi (Evan) You
- 文本:`licenses/frontend/vue/LICENSE` 与各 `licenses/frontend/vue--*/LICENSE`
- vue-router 4.6.4
- 出处:https://github.com/vuejs/router
- 许可:MIT;版权:Copyright (c) 2019-present Eduardo San Martin Morote
- 文本:`licenses/frontend/vue-router/LICENSE`
- naive-ui 2.45.3
- 出处:https://github.com/tusen-ai/naive-ui
- 许可:MIT;版权:Copyright (c) 2021 TuSimple
- 文本:`licenses/frontend/naive-ui/LICENSE`
- @vicons/ionicons5 0.13.0
- 出处:https://github.com/07akioni/vicons
- 许可:MIT(package.json license 字段;包内未随附 LICENSE 文件)
- 版权:author=07akioni;文本:`licenses/frontend/vicons--ionicons5/LICENSE`
- @css-render/plugin-bem / @css-render/vue3-ssr / css-render 0.15.14、vdirs 0.1.8、
vooks 0.2.12、vueuc 0.4.66、evtd 0.2.4、seemly 0.3.10、treemate 0.3.11
- 出处:https://github.com/07akioni/css-render 及各自仓库
- 许可:MIT(package.json license 字段;前四个包未随附 LICENSE 文件)
- 版权:Copyright (c) 2020/2024 07akioni(逐项见审计表)
- 文本:`licenses/frontend/<pkg>/LICENSE`
- async-validator 4.2.5
- 出处:https://github.com/yiminghe/async-validator
- 许可:MIT;版权:Copyright (c) 2014-present yiminghe
- 文本:`licenses/frontend/async-validator/LICENSE.md`
- lodash-es 4.18.1
- 出处:https://github.com/lodash/lodash
- 许可:MIT;版权:Copyright OpenJS Foundation and other contributors
- 文本:`licenses/frontend/lodash-es/LICENSE`
- date-fns 4.4.0
- 出处:https://github.com/date-fns/date-fns
- 许可:MIT;版权:Copyright (c) 2021 Sasha Koss and Lesha Koss
- 文本:`licenses/frontend/date-fns/LICENSE.md`
- @emotion/hash 0.8.0
- 出处:https://github.com/emotion-js/emotion/tree/master/packages/hash
- 许可:MIT;版权:Copyright (c) Emotion team and other contributors
- 文本:`licenses/frontend/emotion--hash/LICENSE`
- **@juggle/resize-observer 3.4.0 — Apache-2.0(非 MIT,唯一例外)**
- 出处:https://github.com/juggle/resize-observer
- 许可:Apache-2.0;版权:Copyright 2019 JUGGLE LTD(随附 LICENSE 原文附录)
- 文本:`licenses/frontend/juggle--resize-observer/LICENSE`
- 影响:按 Apache-2.0 原文随包提供并保留声明;本项目未修改其源码,故无「标明修改」义务。

## Cargo.lock 直接依赖
Cargo.lock 中经 crates.io / git 引入的直接依赖,声明许可均为 MIT、Apache-2.0、
BSD-3-Clause、ISC、Unlicense 等 MIT 兼容的宽松许可(详见本报告的差异说明),
无 GPL / AGPL / MPL / EPL。本项目未 vendor 这些 crate 的源码副本,
其版权与许可声明由各自发布物携带,无需在仓库内新增署名文件。
若后续将任一 crate 源码 vendored 进本仓库,须同步补入其许可原文。

## 本次整理核实(遗留 Next.js 前端移除)

原遗留 Next.js 前端(app/ui、app/(app)、app/(auth) 等非编辑器部分)已移除;
其使用的 Semi UI(@douyinfe/semi-ui、@douyinfe/semi-icons)既未出现在本 NOTICE 原文清单,
也未以源码副本 vendored 进本仓库,随上述目录删除后不再随本项目分发,故此处无需新增或保留其许可条目。
编辑器运行时已迁至 `editor-runtime/`,第 5 节 Uncut 与第 6 节 three.js 的声明义务按实际剩余内容继续有效。
66 changes: 66 additions & 0 deletions plugins/charlesnty612/live-stream-recorder/README.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,66 @@
# Live Stream Recorder

[简体中文](README.zh-CN.md)

A native MiniMax Code Mini App that turns the recording engine into a desktop-style workbench: monitor multiple livestream rooms, record them with danmaku capture, replay and clip recordings, back up short videos, and manage relay tasks -- all inside the chat client.

This package is a **client/workbench only**. It does not bundle the recording engine. You must supply a recording-engine binary (sidecar mode) or point it at a running engine server (remote mode). Without an engine the pages still open and show an `engine not ready` state instead of crashing.

## Install and open

1. Copy this directory into the `plugins/` folder of your MiniMax Code workspace (or install the packaged plugin from the plugin list). Keep the hidden `.minimax-plugin/` directory and `miniapp/` together.
2. Restart MiniMax Code so the plugin is discovered.
3. Ask the Agent "Open Live Stream Recorder", or select it from the plugin list. The UI is served at `/app`.

## Engine setup

On the **Settings** page choose one of two modes:

- **Sidecar (default).** Set `binaryPath` to your recording-engine executable, or place the engine executable under its original filename in `<context.dataDir>/bin/`, or put it on `PATH`. The app launches the engine in server mode with `-b 127.0.0.1 -p <free-port> --no-fleet --shutdown-on-stdin-eof` (older engines fall back to `--relay-listen 127.0.0.1:0`) and proxies the UI to it over loopback.
- **Remote.** Set `remote.baseUrl` to the `http(s)` address of an already-running engine server, with optional none / cookie / Bearer-token authentication. Link-local and cloud-metadata addresses are rejected.

Optional external transcoding and stream-download tools are used by the recording engine itself, not by this Mini App.

## Tested environment

- MiniMax Code 3.1.23 (exe 3.1.23.240) on Windows 11 Pro (build 26200) x64. The package declares `engines.mcode: ">=3.1.20"` and `permissions`, which first require that client version.
- Client acceptance (2026-12-05, FilePanel Browser) exercised: cold start and readiness in 400-465 ms; Host-reserved `/__mavis/` returning 401 with no SPA fallback; private-route 404 interception; loopback-only network activity with zero external requests; the 584 px narrow-screen layout and both themes; the Settings diagnostics and notification permission controls. Two defects found during acceptance were fixed and re-verified. No recording engine or live stream source was available, so engine-dependent behavior was not exercised at runtime.
- Source-project structural gates: `--fast` 11/11 and `--full` 14/14. Community-repository `npm run check` result is recorded in the pull request.
- Not verified at runtime: real recording, process-tree teardown with a live engine, multi-session / sleep recovery, remote 401 handling, large-file range playback, and local-file open routing. See the pull request for the full list.

## Data & access

- **Files read/written (Node):** `context.dataDir/miniapp-config.json` is created (mode `0600` where supported) and written when configuration changes. It stores `mode`, optional `binaryPath`, `ffmpegPath`, `renderToolsDir`, `desktopToken`, and `remote.{baseUrl, authMode, username, appPassword, token}`. Secret fields are blanked in the API response and replaced with `has*` flags. The binary is probed for existence at the configured path, inside `<dataDir>/bin/` under its original filename, and on `PATH`; no file there is copied into the package.
- **Files read (client payload):** the package's own `miniapp/client/` static assets, served read-only. A local recording is read only when you open a supported file in MiniMax Code: the Host delivers its path, Node registers it as an opaque in-memory token (10-minute TTL), and the page reads it by token only -- the path is never echoed back.
- **File types handled:** `.flv`, `.mp4`, `.mkv`, `.webm`, `.xml` (declared in `fileHandlers`).
- **Network:** the Node entry listens only on the Host-assigned `context.listen` (loopback, dynamic port). In sidecar mode it connects to `http://127.0.0.1:<free-port>`; in remote mode to the user-configured `baseUrl`. Outbound requests go only to that engine: a reverse proxy for `/v1/`, `/bili/`, `/static/`, WebSocket `/v1/ws/*`, and a 3-second `/v1/activity-events` poll. No third-party host is contacted directly by the page. There is no telemetry, update check, or analytics.
- **Spawned processes:** the recording-engine executable as a sidecar, including a startup `--help` capability probe, a `where` / `which` PATH lookup for the engine executable, and `taskkill /PID /T /F` or `kill(-pid)` only as a shutdown fallback. Optional external transcoding and stream-download tools, if used, are launched by the recording engine, not by this Mini App.
- **Agent turns / conversations:** none automatically. Two buttons call `window.miniapp.host.composer.append` to place text into the chat input for you to review and send: "Send diagnostics to Agent" (redacted log lines) and "Generate clip plan" (recording metadata and danmaku density peaks). Those prompts mention MCP tool names, but this package declares no MCP servers and calls no tools itself. No conversation is read.
- **Tools / Connectors:** none. `apps`, `mcpServers`, `skills`, and every `permissions` grant except `device.notifications` are empty.
- **Microphone / camera / Host navigation:** none.
- **Notifications:** yes. The Settings page reads `Notification.permission` and calls `Notification.requestPermission()` when you click "Enable system notifications"; this is declared as `permissions.device: ["notifications"]`. Delivery of livestream events depends on a running engine and was not verified.
- **State location:** durable config in `context.dataDir/miniapp-config.json`; opened-file tokens live in memory only and are cleared on dispose. When the Host provides no data directory (standalone start), config falls back to `.data/` inside the package directory. No other state is written anywhere, and no environment variable can change these locations.

## Third-party notices

This project's own code is MIT licensed (see `LICENSE`). Bundled and derived third-party components, their licenses, and attribution are listed in `NOTICE` and under `licenses/`. No recording engine, external transcoding tool, or other executable binary is included in this package.

## References

The recording engine that is downloaded on demand links the following third-party components. Their license texts and notices are included under `licenses/`.

- **rust-srec**
- Source: https://github.com/hua0512/rust-srec
- License: MIT OR Apache-2.0 (distributed here under Apache-2.0)
- Copyright: Copyright (c) 2025 the rust-srec project authors
- **Uncut**
- Source: https://github.com/blazejkustra/uncut
- License: MIT
- Copyright: Copyright (c) 2026 Błażej Kustra and Uncut contributors

The recording engine is downloaded on demand instead of being shipped inside this package. When the Mini App detects that the engine is missing, it asks whether to download it; the same action is available from the engine panel in Settings. The download uses this project's own GitHub Release over HTTPS and is verified against a fixed SHA-256 before installation. Nothing is downloaded until you choose to, and no other network requests or telemetry are made.

## Model

This package was produced with MiniMax-M4.

Loading