Skip to content
Merged
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 |
| --- | --- | --- |
| [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) |
| [Weekly Planner](plugins/alanhean/weekly-planner/) | A local weekly planner: add tasks with a date and a priority, review them day by day, tick them off, and track the week's completion rate | [Alanhean](https://github.com/Alanhean) |
| [DeepSeek Chat Migration](plugins/danielwalnut/deepseek-chat-migration/) | Preview official DeepSeek web exports locally, restore branches and attachments, and import selected conversations as native MiniMax Code sessions with a bundled importer | [DanielWalnut](https://github.com/DanielWalnut) |
| [OpenFilm](plugins/cristinamadureira353-svg/openfilm/) | Run OpenFilm inside MiniMax Code with the desktop interface: Studio editor, chat column and local agents, with a web-Studio fallback | [最爱双皮奶](https://github.com/cristinamadureira353-svg) |
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 | 功能 | 作者 |
| --- | --- | --- |
| [Postman Lite](plugins/ssugarr/postman-lite/README.zh-CN.md) | 轻量的本地 API 请求工具:构建请求、通过本地代理转发(绕过浏览器 CORS 限制)、查看响应,集合以纯 JSON 保存 | [ssugarr](https://github.com/ssugarr) |
| [周计划](plugins/alanhean/weekly-planner/README.zh-CN.md) | 本地周计划:手动录入任务、日期与优先级,按天查看安排,勾选完成并跟踪本周完成率 | [Alanhean](https://github.com/Alanhean) |
| [DeepSeek 会话迁移](plugins/danielwalnut/deepseek-chat-migration/README_ZH.md) | 在本机预览 DeepSeek 网页版官方导出包,恢复分支和附件,并用自带的导入脚本把选中对话导入成 MiniMax Code 原生会话 | [DanielWalnut](https://github.com/DanielWalnut) |
| [OpenFilm](plugins/cristinamadureira353-svg/openfilm/) | 把 OpenFilm 装进 MiniMax Code:桌面版界面(Studio 编辑器 + 聊天栏 + 本地 agent),桌面模式不可用时回落网页版 | [最爱双皮奶](https://github.com/cristinamadureira353-svg) |
Expand Down
17 changes: 17 additions & 0 deletions plugins/ssugarr/postman-lite/.minimax-plugin/plugin.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,17 @@
{
"schemaVersion": 1,
"name": "postman-lite",
"displayName": "Postman Lite",
"version": "1.0.0",
"description": "本地 API 请求工具:构建请求、查看响应、管理集合。",
"author": "ssugarr",
"icon": "icon.png",
"category": "Code",
"exampleQueries": [
"打开 API 请求面板",
"用 Postman Lite 调一个接口"
],
"apps": [],
"mcpServers": [],
"skills": []
}
21 changes: 21 additions & 0 deletions plugins/ssugarr/postman-lite/LICENSE
Original file line number Diff line number Diff line change
@@ -0,0 +1,21 @@
MIT License

Copyright (c) 2026 ssugarr

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.
81 changes: 81 additions & 0 deletions plugins/ssugarr/postman-lite/README.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,81 @@
# Postman Lite (`postman-lite`)

A lightweight, local-first API request tool. Build a request in the page, send it through a Node
proxy that sidesteps browser CORS limits, and read the response — status, timing, size, headers,
body, and an HTML preview — with collections kept as plain JSON on disk.

The Mini App hosts the Node runtime, so there is nothing to install and no service to start: open
the panel and send requests.

## Install

Copy this directory, including the hidden `.minimax-plugin/`, into the MiniMax Code plugins
directory as `postman-lite/` (`~/.minimax/plugins/postman-lite/` by default; the root README's
Install section explains where that directory is). Restart MiniMax Code and ask the Agent to
"Open Postman Lite".

## What it does

- **Request builder** — method, URL, query parameters, request headers, and a body in
`none` / `raw` / JSON / `x-www-form-urlencoded` / `form-data` form. Redirect following and
the timeout are switchable per request.
- **Response viewer** — status code, elapsed time, and byte size; body as pretty JSON, raw text, or
an HTML preview in an iframe; binary responses preview inline or download.
- **Collections** — collections, folders, and requests in a tree; create, rename, delete, and
automatic persistence.

## Tested environment

- MiniMax Code 3.1.2 or later on Windows 11. The package uses `surface.window`, whose minimum
client version is 3.1.2; the Agent cannot read the exact client build number in this session.
- Client acceptance exercised: initial render and structure, light and dark themes, creating a
collection, sending GET and POST JSON through the proxy, error handling for an unresolvable host,
and collection persistence across a page reload.
- Runtime diagnostics: no console errors and no failed or 4xx/5xx network requests.
- Requests were exercised against a local echo server as the target.

Not verified: requests against third-party hosts that need credentials or are unreachable from this
network; behaviour on macOS and Linux.

## Data & access

- **Files** — reads its own `miniapp/client/` payload and `miniapp/node/` code. Writes
`state.json` in the Host-assigned data directory.
- **Network** — the host the user explicitly requests through the proxy, plus whatever
host a redirect points to: redirect following is on by default, so a response can send the request
on to a different host than the one in the address bar. Turning off "Follow redirects" keeps the
request on the original host. No telemetry.
- **Processes** — none.
- **Agent turns** — none.
- **Conversations read** — none.
- **Tools called** — none.
- **Microphone / camera / notifications** — not used.
- **Host navigation read** — not declared.
- **State** — the Host-assigned plugin data directory. `state.json` holds the collection tree and is
replaced atomically, so a forced stop never leaves a half-written file. Request headers are stored
as written, so credentials such as `Authorization`, `Cookie`, or `X-Api-Key` are kept in
plaintext in `state.json` and are returned by `GET /api/state`. Clearing that directory resets
every collection.

## Files

```text
.minimax-plugin/plugin.json Plugin manifest
package.json Mini App declaration
miniapp/miniapp.json Payload roots, Node entry, page route
miniapp/client/index.html The page served at /
miniapp/client/assets/ Built front-end bundle
miniapp/node/server.mjs Node entry: start(context) -> { dispose }
miniapp/node/miniapp-api.ts Type declarations for the runtime context
miniapp/node/api.js Routes: /api/send, /api/state, /api/health
miniapp/node/proxy.js Request forwarding, timing, binary handling
miniapp/node/store.js Atomic JSON persistence
miniapp/node/static.js Static file serving
miniapp/node/config.js Data directory and limits
miniapp/node/shared/ Shared request-building logic
icon.png Plugin icon
```

## License

[MIT](./LICENSE)
73 changes: 73 additions & 0 deletions plugins/ssugarr/postman-lite/README.zh-CN.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,73 @@
# Postman Lite (`postman-lite`)

轻量的本地 API 请求工具。在页面里构建请求,由 Node 代理转发(绕过浏览器的 CORS 限制),再读取响应——
状态码、耗时、字节数、响应头、响应体,以及 HTML 预览;集合以纯 JSON 形式保存在本地磁盘。

Mini App 自身托管 Node 运行时,不用安装任何依赖,也不用另外起服务:打开面板就能发请求。

[English](./README.md)

## 安装

把这个目录(含隐藏的 `.minimax-plugin/`)复制到 MiniMax Code 的插件目录,命名为 `postman-lite/`
(默认 `~/.minimax/plugins/postman-lite/`;根 README 的 Install 一节说明了该目录的位置)。
重启 MiniMax Code,然后让 Agent「打开 Postman Lite」。

## 功能

- **请求构建器** —— 方法、地址、Query 参数、请求头,请求体支持 `无` / `raw` / JSON /
`x-www-form-urlencoded` / `form-data`。是否跟随跳转、超时时长可按请求切换。
- **响应查看器** —— 状态码、耗时、字节数;响应体可看美化后的 JSON、原文,或用 iframe 预览 HTML;
二进制响应直接预览或下载。
- **集合** —— 集合 / 文件夹 / 请求三层树,可新建、重命名、删除,改动自动落盘。

## 测试环境

- MiniMax Code 3.1.2 及以上,Windows 11。本包用到 `surface.window`,其最低客户端版本为 3.1.2;
本次会话中 Agent 无法读取客户端的具体构建号。
- 客户端验收覆盖:首屏渲染与结构、浅色与深色主题、新建集合、通过代理发送 GET 与 POST JSON、
无法解析的域名时的错误处理,以及刷新页面后集合仍然存在。
- 运行时诊断:无 console 错误,无失败或 4xx/5xx 的网络请求。
- 请求以本地回显服务器为目标验证。

未验证:需要凭据或在本网络下不可达的第三方接口;macOS 与 Linux 上的行为。

## 数据与访问

- **文件** —— 读取自己的 `miniapp/client/` 产物与 `miniapp/node/` 代码;在 Host 分配的数据目录里
写入 `state.json`。
- **网络** —— 用户明确请求的目标地址,以及重定向所指向的主机:默认跟随跳转,因此响应
可能把请求转发到地址栏之外的主机。关掉「跟随跳转」可让请求始终留在原始主机上。无任何遥测。
- **进程** —— 无。
- **Agent 对话轮次** —— 无。
- **读取的会话** —— 无。
- **调用的工具** —— 无。
- **麦克风 / 摄像头 / 通知** —— 未使用。
- **Host 导航读取** —— 未声明。
- **状态位置** —— Host 分配的插件数据目录。`state.json` 保存集合树,采用原子替换写入,
进程被强制终止也不会留下半截文件。请求头按原样保存,因此 `Authorization`、`Cookie`、
`X-Api-Key` 等凭据会以明文存在 `state.json` 里,并由 `GET /api/state` 返回;
清空该目录即重置所有集合。

## 文件

```text
.minimax-plugin/plugin.json 插件清单
package.json Mini App 声明
miniapp/miniapp.json 产物根目录、Node 入口、页面路由
miniapp/client/index.html 在 / 上提供的页面
miniapp/client/assets/ 前端构建产物
miniapp/node/server.mjs Node 入口:start(context) -> { dispose }
miniapp/node/miniapp-api.ts 运行时上下文的类型声明
miniapp/node/api.js 路由:/api/send、/api/state、/api/health
miniapp/node/proxy.js 请求转发、计时、二进制处理
miniapp/node/store.js 原子 JSON 持久化
miniapp/node/static.js 静态文件服务
miniapp/node/config.js 数据目录与各项限制
miniapp/node/shared/ 共享的请求构建逻辑
icon.png 插件图标
```

## 许可

[MIT](./LICENSE)
Binary file added plugins/ssugarr/postman-lite/icon.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading