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 |
| --- | --- | --- |
| [Kuaishou Live Assistant](plugins/charlesnty612/kuaishou-live-tool/) | A desktop-style control panel for Kuaishou livestream sellers: account authorization, product sourcing, auto add/rotate, follow assistant and local run logs | [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 | 功能 | 作者 |
| --- | --- | --- |
| [快手直播助手](plugins/charlesnty612/kuaishou-live-tool/README.zh-CN.md) | 快手直播卖家的桌面式中控面板:账号授权、选品、自动添加商品与自动更换商品、跟播助手与本地运行日志 | [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,18 @@
{
"schemaVersion": 1,
"name": "kuaishou-live-tool",
"displayName": "快手直播助手",
"version": "0.2.0",
"description": "快手直播中控助手:扫码授权、登录态校验、单账号单任务、选品(关键词搜索/链接导入/本地库/固定商品区)、登录失效自动停线与本地日志统计。任务仅在 Mini App 运行期间执行。仅支持 Windows。",
"author": "charlesnty612",
"icon": "icon.png",
"category": "Business",
"exampleQueries": [
"打开快手直播助手",
"帮我接入快手直播账号并看登录状态",
"搜一批保温杯加进本地商品库"
],
"apps": [],
"mcpServers": [],
"skills": []
}
21 changes: 21 additions & 0 deletions plugins/charlesnty612/kuaishou-live-tool/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.
53 changes: 53 additions & 0 deletions plugins/charlesnty612/kuaishou-live-tool/README.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,53 @@
# Kuaishou Live Assistant (快手直播助手)

A desktop-style control panel for Kuaishou livestream sellers, rebuilt as a Mini App with a
left navigation bar and seven pages. It covers account authorization and login-state checks,
product sourcing (keyword search / link import / local catalog / fixed product area), automatic
product adding and rotation, a live-stream follow assistant, and a local run log.

This is a personal, single-user tool. It drives the Kuaishou merchant-live websites through a
local Chrome/Edge browser session. It is **Windows only**. Tasks run only while the Mini App is
running.

## Install and open

Install the package in MiniMax Code from this repository path, then open it by name
("快手直播助手" / "Kuaishou Live Assistant") or with the example query "打开快手直播助手".
The app opens on `/dashboard`.

Before first use, install Google Chrome or Microsoft Edge on the machine. Add a Kuaishou seller
account by scanning the login QR code inside the app, or import a cookie JSON exported from a
browser. Credentials are stored only in the local data directory.

## Tested environment

- MiniMax Code 3.1.23, Microsoft Windows 11 Pro (build 26200) x64.
- The package declares `engines.mcode: ">=3.1.20"`; use a client at or above that version.
- Client acceptance exercised: the seven navigation pages and their titles, the light theme
(white cards, dark sidebar, purple accents), presence of all ten original sections, and the
page-switching mechanism. Gate checks passed: 55 unit/contract tests and 6 structure checks (61 total).
- Not visually verified: the left sidebar in the declared 1180x820 desktop window. The in-chat
browser used for acceptance has a fixed 584px viewport, which collapses the sidebar into a top
bar; a real wide-window screenshot was not obtained. The sidebar layout at >=681px is supported
by CSS source only.

## Data & access

- Files read/written: under the Host-provided `dataDir` (or `.local-data` when started standalone):
`state.json`, `stats.json`, `catalog.json`, `collection.json`, `reply.json`, `jobs.log`,
`logs/`, `secrets/`, `auth-profiles/`. Login cookies are written to `secrets/` in plaintext
with restrictive file permissions; the README for the source project documents this tradeoff.
- Network hosts: `login.kwaixiaodian.com`, `cps.kwaixiaodian.com`, `zs.kwaixiaodian.com`, and
the Kuaishou livestream assistant gateways used by the seller-live pages. No other network
destination is contacted; no data is uploaded to the author.
- Spawned processes: the local Chrome or Edge browser, launched through the vendored
`playwright-core` with a persistent profile. The bundled browser driver is included in the
payload; no global npm install is required.
- Agent turns: no Agent permission is declared and the business code does not call the Agent
API; no Agent turn is started by this Mini App.
- Conversations read: none. Tools/Connectors called: none. Microphone, camera, notifications:
none. Host navigation read: none.
- File extensions handled: `.json` (cookie import). Runtime state is stored only in the local
data directory; cookies never enter exportable logs or responses.

See [README.zh-CN.md](README.zh-CN.md) for the Chinese version.
42 changes: 42 additions & 0 deletions plugins/charlesnty612/kuaishou-live-tool/README.zh-CN.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,42 @@
# 快手直播助手(Kuaishou Live Assistant)

一个面向快手直播卖家的桌面式中控面板,以 Mini App 形式重做为左侧导航、七个分页的界面。
覆盖账号授权与登录态校验、选品(关键词搜索 / 链接导入 / 本地商品库 / 固定商品区)、自动添加
商品、自动更换商品、自动跟播助手与本地运行日志。

这是个人自用的单用户工具,通过本机 Chrome/Edge 会话操作快手商家直播网页。**仅支持 Windows**。
任务仅在 Mini App 运行期间执行。

## 安装与打开

在本仓库路径下通过 MiniMax Code 安装本包,然后按名称("快手直播助手")或示例问题
"打开快手直播助手"打开。页面入口为 `/dashboard`。

首次使用前请在本机安装 Google Chrome 或 Microsoft Edge。可在应用内扫码添加快手商家账号,
或导入浏览器导出的 cookie JSON。登录态只存于本机数据目录。

## 测试环境

- MiniMax Code 3.1.23,Microsoft Windows 11 专业版(build 26200)x64。
- 本包声明 `engines.mcode: ">=3.1.20"`;请使用不低于该版本的客户端。
- 已验收的客户端表现:七个导航分页及其标题、浅色主题(白卡片 / 深色侧栏 / 紫色强调)、
十个原板块均存在、分页切换机制。门禁检查通过:55 项单元/契约测试 + 6 项结构检查(共 61 项)。
- 未做视觉验证:声明窗口 1180x820 下的左侧竖排导航。验收所用聊天内浏览器视口固定为
584px,侧栏折叠为顶部横条;未取到真实宽窗口截图。>=681px 的侧栏布局仅有 CSS 源码依据。

## 数据与访问

- 读写文件:在宿主提供的 `dataDir`(独立启动时为 `.local-data`)下:
`state.json`、`stats.json`、`catalog.json`、`collection.json`、`reply.json`、`jobs.log`、
`logs/`、`secrets/`、`auth-profiles/`。登录 cookie 以明文写入 `secrets/` 并收紧文件权限,
源项目 README 说明了这一取舍。
- 网络主机:`login.kwaixiaodian.com`、`cps.kwaixiaodian.com`、`zs.kwaixiaodian.com`,
以及商家直播页面用到的快手直播助手网关。不访问其他网络目标,不向作者上传数据。
- 启动的进程:本机 Chrome 或 Edge,经随包 `playwright-core` 以持久化 profile 启动。
浏览器驱动已随包内置,无需全局 npm 安装。
- Agent 轮次:未声明 Agent 权限,业务代码也未调用 Agent API;本 Mini App 不会发起 Agent 轮次。
- 读取的会话:无。调用的 Connector/工具:无。麦克风、摄像头、通知:无。读取宿主导航:无。
- 处理的文件类型:`.json`(cookie 导入)。运行状态只存于本机数据目录;cookie 不进入
可导出的日志或响应。

[English README](README.md)
Binary file added plugins/charlesnty612/kuaishou-live-tool/icon.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
19 changes: 19 additions & 0 deletions plugins/charlesnty612/kuaishou-live-tool/miniapp/client/api.mjs
Original file line number Diff line number Diff line change
@@ -0,0 +1,19 @@
async function api(path, { method = 'GET', body } = {}) {
const init = { method, headers: {} };
if (method === 'POST') {
init.headers['content-type'] = 'application/json';
init.headers[REQUEST_HEADER] = '1';
init.body = JSON.stringify(body || {});
}
const res = await fetch(path, init);
let payload = null;
try { payload = await res.json(); } catch { payload = null; }
if (!res.ok || !payload || payload.ok === false) {
const err = new Error((payload && payload.error) || ('请求失败(HTTP ' + res.status + ')'));
err.code = payload && payload.code;
err.status = res.status;
throw err;
}
return payload.data;
}

Loading