From 97bee1e767e89bf13e7ed890b6719b287e38a3d7 Mon Sep 17 00:00:00 2001 From: dazhi Date: Mon, 26 Oct 2026 18:47:28 +0800 Subject: [PATCH] minimax-video 1.0.4: declare the microphone so voiceover recording works on MiniMax Code 3.1.5+ MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit The timeline's voiceover button records with getUserMedia({ audio: true }). From MiniMax Code 3.1.5 the Host denies microphone requests a Mini App does not declare, so recording failed with "麦克风权限被拒绝" on current clients. miniapp.json now declares deviceAccess ["microphone"]. Declaring deviceAccess raises the minimum client to 3.1.5: earlier clients reject the field. Both READMEs state the new minimum and describe the microphone use under data access. The runtime buildId stays unchanged because no runtime file changed, so existing caches remain valid. Assisted-by: Claude Opus 5.5 (OpenCode) --- plugins/webguhui/minimax-video/.minimax-plugin/plugin.json | 2 +- plugins/webguhui/minimax-video/README.md | 6 ++++-- plugins/webguhui/minimax-video/README.zh-CN.md | 6 ++++-- plugins/webguhui/minimax-video/miniapp/miniapp.json | 1 + 4 files changed, 10 insertions(+), 5 deletions(-) diff --git a/plugins/webguhui/minimax-video/.minimax-plugin/plugin.json b/plugins/webguhui/minimax-video/.minimax-plugin/plugin.json index a49a9a39..aef1007d 100644 --- a/plugins/webguhui/minimax-video/.minimax-plugin/plugin.json +++ b/plugins/webguhui/minimax-video/.minimax-plugin/plugin.json @@ -2,7 +2,7 @@ "schemaVersion": 1, "name": "minimax-video", "displayName": "MiniMax Video", - "version": "1.0.3", + "version": "1.0.4", "description": "本地优先的视频编辑工作室:多轨剪辑、字幕、特效、Agent 与视频导出。基于 OpenChatCut(AGPL-3.0-or-later)移植。", "author": "WebGuHui (MiniMax Video adaptation); OpenChatCut contributors", "icon": "icon.png", diff --git a/plugins/webguhui/minimax-video/README.md b/plugins/webguhui/minimax-video/README.md index 42ed6585..ba7c7c06 100644 --- a/plugins/webguhui/minimax-video/README.md +++ b/plugins/webguhui/minimax-video/README.md @@ -6,7 +6,7 @@ A local video editing workspace for MiniMax Code, adapted from [OpenChatCut](htt ## Install and use -Requires MiniMax Code **3.1.2 or later**. Copy this entire `minimax-video` directory, including `.minimax-plugin`, into `/plugins/minimax-video/`, then restart the client and ask it to open **MiniMax Video**. The plugin ID is `minimax-video`. This is a new installation identity; existing `openchatcut` projects are not automatically migrated. Keep the previous installation and its data until your projects have been transferred and verified. +Requires MiniMax Code **3.1.5 or later** (1.0.3 and earlier need 3.1.2). Copy this entire `minimax-video` directory, including `.minimax-plugin`, into `/plugins/minimax-video/`, then restart the client and ask it to open **MiniMax Video**. The plugin ID is `minimax-video`. This is a new installation identity; existing `openchatcut` projects are not automatically migrated. Keep the previous installation and its data until your projects have been transferred and verified. On first launch, choose China mainland or global download sources. Media dependencies are downloaded for the current platform and verified against pinned checksums. You do not need to install Node, FFmpeg, or npm yourself. Open **Settings & About** to change download sources later. Cached downloads are reused; missing resources need network access. @@ -20,10 +20,11 @@ For generated media, configure a suitable tool in MiniMax Code first. Ask for on ## Tested environment -- MiniMax Code **3.1.3-preview.4675** (Internal Code), macOS Apple Silicon, 2026-10-19. Minimum supported manifest version: MiniMax Code 3.1.2. +- MiniMax Code **3.1.3-preview.4675** (Internal Code), macOS Apple Silicon, 2026-10-19. Minimum supported manifest version: MiniMax Code 3.1.5, because 1.0.4 declares `deviceAccess`. - Native host: sample creation/playback, project preservation, assistant history recovery, China/global source switching, MP3 export, and Agent image generation → import → draft frame inspection → preview → apply → MP4 export. - Export evidence: a 12-second non-silent MP3 and a 15-second 1280×720, 30 fps H.264/AAC MP4; complete decode and inspection of the generated ending frame passed. - Platform manifests include macOS arm64/x64, Windows x64 and Linux glibc x64/arm64. **Only macOS arm64 was tested.** Windows ARM64 and Linux musl are not supported. Platform selection uses the host process architecture. +- 1.0.4 only adds `deviceAccess: ["microphone"]`, so that voiceover recording keeps working on MiniMax Code 3.1.5 and later, which deny microphone requests a Mini App does not declare. Voiceover recording has not been tested inside MiniMax Code with this change; `npm run check` passes. - Windows, every advanced effect/export format, all generation providers, and a completely offline first installation are unverified. - UI is primarily Chinese. Local assistant history is tied to browser storage/origin and can be lost when that storage is cleared or the origin changes. Use the full Agent conversation to check interrupted work; never regenerate paid media merely because a reply timed out. @@ -35,6 +36,7 @@ For generated media, configure a suitable tool in MiniMax Code first. Ask for on - Native downloads use `registry.npmjs.org`, `registry.npmmirror.com`, `github.com` / GitHub release redirects (`release-assets.githubusercontent.com`), and `npmmirror.com` binary mirrors. Exact versions and integrity values are in `miniapp/node/native-dependencies.json` and the installer. Optional fonts, sounds and browser AI assets use `filecdn.minimax.chat` (China) or `file.cdn.minimax.io` (global); exact URLs and hashes are in `resource-manifest.json`. - User-requested URL imports contact the URL's host. Optional upstream browser inference/stock integrations can contact their configured services (including Hugging Face, jsDelivr and stock providers); these are separate from the mirrored bundled resources and are not all verified. Do not assume every online feature works offline or has a China mirror. - **This app runs Agent turns** using `session.run`. The assistant asks the host Agent to inspect projects, generate/import media using configured tools, and prepare edits. That Agent can read/write files, run shell commands and call MCP tools under the user's Host permissions. Requests may send prompts, representative frames or media to the configured model/provider. No provider keys are bundled or requested in chat. Host approval/question cards remain user decisions. +- **Microphone** (`deviceAccess: ["microphone"]`): the timeline's voiceover button records from the microphone only while recording is on. The recording becomes a `旁白.webm` (or `.ogg`) file, imported into the project like any other media and placed on track A1 at the playhead. Like other project media, it can be sent to a model/provider when you ask the assistant to work with it. You can switch the microphone off for this app in the MiniMax Code plugin details. - The plugin exposes its own `openchatcut` MCP tools. Manual drafts require review before application. Concurrent edits require fresh draft reads; conflicting project changes are not silently overwritten. ## Updating, source and license diff --git a/plugins/webguhui/minimax-video/README.zh-CN.md b/plugins/webguhui/minimax-video/README.zh-CN.md index b888bd42..56e5d012 100644 --- a/plugins/webguhui/minimax-video/README.zh-CN.md +++ b/plugins/webguhui/minimax-video/README.zh-CN.md @@ -6,7 +6,7 @@ ## 安装与上手 -需要 MiniMax Code 3.1.2 或更新版本。把本目录连同隐藏的 `.minimax-plugin` 复制到 `/plugins/minimax-video/`,重启客户端后让 Agent 打开 MiniMax Video。插件 ID 为 `minimax-video`。宿主将其视为新插件,旧 `openchatcut` 工程不会自动迁移。请保留旧插件和数据,完成工程转移并确认可用后再处理旧安装。 +需要 MiniMax Code 3.1.5 或更新版本(1.0.3 及更早版本需要 3.1.2)。把本目录连同隐藏的 `.minimax-plugin` 复制到 `/plugins/minimax-video/`,重启客户端后让 Agent 打开 MiniMax Video。插件 ID 为 `minimax-video`。宿主将其视为新插件,旧 `openchatcut` 工程不会自动迁移。请保留旧插件和数据,完成工程转移并确认可用后再处理旧安装。 首次启动选择中国大陆或海外下载源,自动安装经过摘要校验的媒体依赖,无需手动安装 Node、npm 或 FFmpeg。后续可在“设置与关于”切换来源。已有缓存可复用,未下载的资源需要联网。 @@ -22,11 +22,13 @@ 2026-10-19 在 macOS Apple Silicon、MiniMax Code 3.1.3-preview.4675 原生窗口实测:示例创建和播放、工程保留、助手记录恢复、下载源切换、MP3 导出,以及 AI 真实生图、导入、抽帧、预览、应用、MP4 导出。导出的 12 秒 MP3 非静音;15 秒 720p/30fps MP4 完整解码,结尾可见生成图片。 +1.0.4 只新增了 `deviceAccess: ["microphone"]` 声明,让旁白录音在 MiniMax Code 3.1.5 及更高版本上继续可用(这些版本会拒绝未声明的麦克风请求);这次改动后的旁白录音尚未在 MiniMax Code 内实测,`npm run check` 已通过。 + Windows、全部高级特效和导出格式、每种生成服务未逐一验收。平台清单支持范围和数据访问说明见 [English README](README.md#data--access)。首次离线安装不可用;本地聊天显示记录可能因清缓存或访问地址变化而丢失,恢复时先检查完整对话,不自动重复生成。 ## 数据、权限和许可证 -工程、素材和依赖缓存保存在宿主提供的应用数据目录。导入读取你选择的文件,导出写入你选择的位置;系统字体读取本机已安装字体。会按需启动 FFmpeg、FFprobe、Remotion 和 Chromium。网络来源、生成服务与 Agent 权限详见 [Data & access](README.md#data--access)。本应用运行的宿主 Agent 可以使用文件、Shell 和 MCP 能力,确认请求由用户处理。 +工程、素材和依赖缓存保存在宿主提供的应用数据目录。导入读取你选择的文件,导出写入你选择的位置;系统字体读取本机已安装字体。会按需启动 FFmpeg、FFprobe、Remotion 和 Chromium。网络来源、生成服务与 Agent 权限详见 [Data & access](README.md#data--access)。本应用运行的宿主 Agent 可以使用文件、Shell 和 MCP 能力,确认请求由用户处理。时间线的旁白按钮会在录音期间使用麦克风,录音作为 `旁白.webm`(或 `.ogg`)导入工程,放在 A1 轨的播放头位置;和其他素材一样,你让助手处理它时可能发送给模型服务。可以在 MiniMax Code 插件详情里关闭本应用的麦克风权限。 更新时先关闭应用并退出客户端,再替换完整插件目录,保留独立的工程数据。不要为清缓存删除整个数据目录。 diff --git a/plugins/webguhui/minimax-video/miniapp/miniapp.json b/plugins/webguhui/minimax-video/miniapp/miniapp.json index d9bf48eb..8557dbe3 100644 --- a/plugins/webguhui/minimax-video/miniapp/miniapp.json +++ b/plugins/webguhui/minimax-video/miniapp/miniapp.json @@ -19,5 +19,6 @@ }, "agentAccess": ["session.run"], "agentConcurrency": 1, + "deviceAccess": ["microphone"], "mcpEndpoints": [{ "server": "openchatcut", "path": "/mcp/openchatcut" }] }