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 |
| --- | --- | --- |
| [广州琶洲—广州塔 3D 场景](plugins/juzicj/gz-pazhou-city/) | A third-person 3D walk through Guangzhou's Pazhou-Canton Tower waterfront built from OpenStreetMap data, with day/night lighting, traffic and a circular minimap | [juzicj](https://github.com/juzicj) |
| [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 | 功能 | 作者 |
| --- | --- | --- |
| [广州琶洲—广州塔 3D 场景](plugins/juzicj/gz-pazhou-city/README.zh-CN.md) | 按 OpenStreetMap 公开地图数据生成的广州琶洲—广州塔一带第三人称 3D 场景,含昼夜切换、车流与圆形小地图 | [juzicj](https://github.com/juzicj) |
| [工作群](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
16 changes: 16 additions & 0 deletions plugins/juzicj/gz-pazhou-city/.minimax-plugin/plugin.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,16 @@
{
"schemaVersion": 1,
"name": "gz-pazhou-city",
"displayName": "广州琶洲—广州塔 3D 场景",
"version": "1.0.0",
"description": "按公开地图数据(OpenStreetMap)生成的广州琶洲—广州塔一带三维城市场景,可第三人称走动、跑、跳,含车流、路灯、行道树、昼夜切换、小地图与数据署名。",
"author": "User",
"icon": "icon.png",
"category": "Other",
"exampleQueries": [
"打开广州琶洲—广州塔 3D 场景"
],
"apps": [],
"mcpServers": [],
"skills": []
}
21 changes: 21 additions & 0 deletions plugins/juzicj/gz-pazhou-city/LICENSE
Original file line number Diff line number Diff line change
@@ -0,0 +1,21 @@
MIT License

Copyright (c) 2026 juzicj

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.
66 changes: 66 additions & 0 deletions plugins/juzicj/gz-pazhou-city/README.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,66 @@
# 广州琶洲—广州塔 3D 场景

A third-person 3D walk through the Pazhou–Canton Tower waterfront of Guangzhou, built entirely from public map data. You move a character along real streets, cross the Pearl River on the 琶洲大桥 bridge, and watch traffic, street lights, trees and the day/night cycle run around you.

![The scene in daylight](docs/screenshot.png)

![The scene at night](docs/screenshot-night.png)

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

## What it does

- **Real map geometry** — 957 buildings, 2,833 road ways, 27 water bodies (including the Pearl River), 171 green areas and 23 named landmarks come from OpenStreetMap and are converted offline into a single bundled scene file.
- **A city you can walk** — third-person character with WASD or arrow keys, Shift to run, Space to jump, click to lock the mouse and look around, Esc to release, mouse wheel to zoom the camera.
- **Time of day** — day, dusk and night (T key or the top-right button): sun position, sky, fog, window lights, street lights and car headlights all change.
- **Ambient life** — up to 400 cars driving the road network, 1,500 street lights and 3,000 street trees.
- **Navigation aids** — a circular minimap with a compass ring, a readout cluster with the current road, longitude/latitude, speed and frame rate, and collapsible help and data-attribution panels.
- **Honest data** — buildings that are not in OpenStreetMap are generated to fill empty blocks and are drawn in a different colour; the "隐藏推测建筑" button removes them so you can see exactly what the map contains.

## Install and open

1. Download or clone this directory: `plugins/juzicj/gz-pazhou-city/`.
2. In MiniMax Code, install the plugin folder (Plugins → add a local plugin, or copy the folder into your plugin directory).
3. Open "广州琶洲—广州塔 3D 场景" from the plugin list, or ask the agent to open it.

No build step is needed: three.js r187 is vendored in `miniapp/client/vendor/`, and the map data is bundled in `miniapp/client/data/scene.json`. The app makes no network requests at runtime.

## Controls

| Action | Key |
| --- | --- |
| Move | `W` `A` `S` `D` or arrow keys |
| Run | hold `Shift` |
| Jump | `Space` |
| Look around | click the scene to lock the mouse, `Esc` to release |
| Camera distance | mouse wheel |
| Toggle minimap | `M` |
| Cycle day / dusk / night | `T` |
| Hide generated buildings | the "隐藏推测建筑" button |

## Tested environment

- MiniMax Code 3.1.23 on Windows 11 (x64), Electron desktop build.
- Client acceptance was run in the Host's FilePanel browser: the scene loads and renders, and responds to movement, the time-of-day button and key, the minimap toggle, the generated-building toggle and the collapsible panels. The page console reported no errors and no failed network requests.
- Frame rate in the tested build: 60 FPS at a 1600x900 viewport, about 1.1M triangles per frame including the shadow pass.
- Not verified: other operating systems, other client versions, touch input, pointer lock inside a popped-out window, and very narrow panels.

## Data & access

- **Map data**: © OpenStreetMap contributors, licensed under the Open Database License (ODbL) 1.0. The bundled `miniapp/client/data/scene.json` is a derived dataset and stays under the same licence, so the attribution must be kept. See `docs/ATTRIBUTION.md`.
- **Third-party code**: three.js r187 (MIT), vendored under `miniapp/client/vendor/`.
- **Files read at runtime**: none; the scene file ships with the plugin.
- **Files written at runtime**: none.
- **Network hosts**: none at runtime. The OpenStreetMap extracts used to build the scene were downloaded during authoring through the public OSM API; the recipe is in `docs/ATTRIBUTION.md` and `tools/build_scene.py`.
- **Spawned processes**: none.
- **Agent turns**: none. **Conversations read**: none. **Tools or Connectors called**: none.
- **Microphone, camera, notifications**: not used.
- **Host navigation read**: not used.
- **File extensions handled**: none.
- **State**: the app keeps no persistent state and writes nothing to the Host data directory.

## Licences

- Code in this directory: MIT, see `LICENSE`.
- Map data: ODbL 1.0, © OpenStreetMap contributors.
- three.js: MIT.
66 changes: 66 additions & 0 deletions plugins/juzicj/gz-pazhou-city/README.zh-CN.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,66 @@
# 广州琶洲—广州塔 3D 场景

按公开地图数据生成的广州琶洲—广州塔一带第三人称 3D 场景:沿着真实街道走动,从琶洲大桥过珠江,看着车流、路灯、行道树与昼夜变化在身边发生。

![白天的场景](docs/screenshot.png)

![夜晚的场景](docs/screenshot-night.png)

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

## 它能做什么

- **真实地图几何**:957 栋建筑、2833 条道路、27 个水体(含珠江)、171 块绿地、23 个具名地标,全部来自 OpenStreetMap,离线转换成一份随插件打包的场景文件。
- **能走动的城市**:第三人称角色,WASD 或方向键移动,Shift 跑,空格跳,点击画面锁定鼠标转视角,Esc 释放,滚轮调整相机距离。
- **昼夜三档**:白天、黄昏、夜晚(按 T 键或右上按钮切换),太阳位置、天空、雾、窗户灯光、路灯与车灯同步变化。
- **城市生活**:最多 400 辆车沿路网行驶、1500 盏路灯、3000 棵行道树。
- **导航辅助**:带罗盘环的圆形小地图、显示当前道路与经纬度、速度、帧率的仪表簇,以及可折叠的操作说明与数据署名面板。
- **不混淆数据**:不在 OpenStreetMap 里的楼是程序补出来的,用另一种颜色绘制;点「隐藏推测建筑」即可只看地图里真实存在的东西。

## 安装与打开

1. 下载或克隆本目录 `plugins/juzicj/gz-pazhou-city/`。
2. 在 MiniMax Code 里安装这个插件目录(插件 → 添加本地插件,或把目录复制到你的插件目录)。
3. 从插件列表打开「广州琶洲—广州塔 3D 场景」,也可以直接让 Agent 帮你打开。

不需要任何构建步骤:three.js r187 已经放在 `miniapp/client/vendor/`,地图数据在 `miniapp/client/data/scene.json`。运行时不会发起任何网络请求。

## 操作

| 动作 | 按键 |
| --- | --- |
| 移动 | `W` `A` `S` `D` 或方向键 |
| 跑 | 按住 `Shift` |
| 跳 | `Space` |
| 转视角 | 点击画面锁定鼠标,`Esc` 释放 |
| 相机距离 | 滚轮 |
| 小地图开关 | `M` |
| 白天 / 黄昏 / 夜晚 | `T` |
| 隐藏推测建筑 | 「隐藏推测建筑」按钮 |

## 测试环境

- MiniMax Code 3.1.23,Windows 11(x64)Electron 桌面版。
- 在宿主右侧面板浏览器里做的页面验收:场景能加载渲染,走动、时段按钮与按键、小地图开关、推测建筑开关、折叠面板都能响应;页面控制台无报错、无失败的网络请求。
- 测试环境下的帧率:1600×900 视口 60 FPS,每帧约 110 万三角形(含阴影 pass)。
- 未验证:其它操作系统、其它客户端版本、触摸输入、独立窗口弹出后的指针锁定,以及极窄面板。

## 数据与权限

- **地图数据**:© OpenStreetMap contributors,采用 Open Database License(ODbL)1.0。随包的 `miniapp/client/data/scene.json` 是派生数据集,同样适用该许可,因此署名必须保留,详见 `docs/ATTRIBUTION.md`。
- **第三方代码**:three.js r187(MIT),位于 `miniapp/client/vendor/`。
- **运行时读取的文件**:无,场景文件随插件分发。
- **运行时写入的文件**:无。
- **运行时访问的网络主机**:无。构建场景用的 OpenStreetMap 原始数据是在制作阶段通过 OSM 官方 API 下载的,取数方法见 `docs/ATTRIBUTION.md` 与 `tools/build_scene.py`。
- **启动的子进程**:无。
- **Agent 会话轮次**:无。**读取的对话**:无。**调用的工具或 Connector**:无。
- **麦克风、摄像头、通知**:均未使用。
- **宿主页面导航读取**:未使用。
- **处理的文件扩展名**:无。
- **状态**:应用不保存任何持久状态,也不向宿主数据目录写入内容。

## 许可

- 本目录代码:MIT,见 `LICENSE`。
- 地图数据:ODbL 1.0,© OpenStreetMap contributors。
- three.js:MIT。
15 changes: 15 additions & 0 deletions plugins/juzicj/gz-pazhou-city/docs/ATTRIBUTION.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,15 @@
# 数据来源与署名

本场景使用 OpenStreetMap 数据,© OpenStreetMap contributors,依据 ODbL 1.0(Open Database License)提供。
来源说明:https://www.openstreetmap.org/copyright
许可证:https://opendatacommons.org/licenses/odbl/1-0/

取数日期为 2026-12-04。协调员通过 `api.openstreetmap.org` 的 `/api/0.6/map` 接口分 18 块获取地图,另通过 `/api/0.6/relation/<id>/full` 获取 10 个 multipolygon 关系的完整成员。转换脚本仅离线读取这些 XML,不联网、不修改原始数据。

范围 bbox 为 `[113.312, 23.097, 113.372, 23.124]`,顺序为西、南、东、北;原点为 `[113.342, 23.1105]`。坐标以米为单位,x 向东、z 向南、y 向上,平面坐标保留到 0.1 米。

广州塔总高 600m 与广州周大福金融中心 530m 采用公开资料近似值覆盖,因为数据里没有可信高度。名称含“广州塔”的对象仍须带有 `man_made=tower` 或 `tower:type` 标签才覆盖高度并设为 `kind=tower`,以免误认广州塔站;名称含“广州周大福金融中心”的对象直接覆盖高度,`kind` 保持按建筑标签映射的结果。广州国际金融中心不覆盖高度,使用 OSM 自带的 `height` 标签(440.2m)。其他建筑高度来自 OSM `height`、`building:levels × 3.3`,缺失时按建筑类型、占地面积及确定性哈希估算,分别记录 `hSrc`。这些估算高度不代表实测值。

只有显式传入 `--infill` 才生成补充建筑。这些建筑不是真实数据,其 `src="infill"`、`hSrc="infill"`,名称为空;默认输出仅含 OSM 建筑。正式 `scene.json` 里 `src="infill"` 的建筑是程序推测生成,不是真实数据;界面会提供开关隐藏它们。

为保持相同离线输入的输出可复现,`meta.generatedAt` 使用输入 OSM 中最新的时间戳。道路分类将 `*_link` 归入主等级,`unclassified`、`living_street` 归入 `residential`,`path` 归入 `footway`,宽度遵循原类别规则。
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added plugins/juzicj/gz-pazhou-city/icon.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.

Large diffs are not rendered by default.

Loading