Skip to content

Commit 4f50b2c

Browse files
ZaynJarvisclaude
andauthored
feat: add OpenViking Mini Studio (#72)
* feat: add OpenViking Studio MiniApp integration * openviking-context-workspace 2.0.0: lean Atlas-based read-only navigator Rework per owner decision and the PR #72 review: - Remove hooks/, skills/, servers.mcp.json and the MCP endpoint: no session capture, no writes outside dataDir. Capture/recall go through the OpenViking Context Gateway as a model provider instead. - Replace the 19 MiB Studio bundle with Atlas (ZaynJarvis/atlas-fs, 8be0cf1): JSX precompiled with esbuild (src/ + scripts/build.mjs), React 18.3.1 UMD vendored, no CDN or Google Fonts. - Node runtime keeps URL/API key in dataDir/connection.json (0600), never returns it to the page, no root-key or ~/.openviking fallback. - /ov-api proxy allows only ten read-only routes, fixed query keys and viking:// URIs; redirects refused. - "+ URI" / "+ Content" add the selection to the chat via message.append. - Dev server binds 127.0.0.1; README (en/zh) Data & access rewritten; THIRD_PARTY_NOTICES covers Atlas and React; in-plugin node:test suite. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com> * mini-studio: move to plugins/openviking/mini-studio, add first-run connection dialog Renames the plugin id openviking-context-workspace -> mini-studio (directory must match plugin.json name), updates root README tables, and shows a modal asking for the OpenViking URL and API key when no connection is stored. The key is PUT to the Node runtime and never read back by the page. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com> * mini-studio: follow MiniMax Code host theme; icons on add-to-chat buttons - Theme defaults to 'system': follows the host light/dark appearance via prefers-color-scheme and updates live on change. The toolbar button cycles system -> light -> dark; a manual choice overrides until set back to system. Uses --mcode-accent as the accent when the host page defines it. - + URI / + Content buttons rendered empty in the narrow side panel because the <=900px rule hid .sort-label, their only content. They now carry link/file SVG icons, keep labels down to 560px, and expose aria-label + tooltip. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com> * mini-studio: rebuild the Client on OpenViking Studio components - Replace the vendored Atlas client with the Studio-components build (base-ui + Tailwind, Studio tokens, OpenViking wordmark): tree only, preview L0/L1/L2, find/grep/glob dialog, theme following prefers-color-scheme with manual override, vertical tree/preview split below 720px, icon-only URI / Content actions via window.mcode.miniapp.message.append. - Settings and first-run dialog edit the connection through the existing /ov/connection endpoints (dataDir/connection.json 0600, key never returned); new POST /ov/test checks GET /health and a root listing without saving. - Built with Vite into miniapp/client (index.html + static/assets, no CDN, no inline script); tests cover built assets, test connection and its errors. - READMEs and THIRD_PARTY_NOTICES updated (OpenViking Studio, AGPL-3.0). Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com> --------- Co-authored-by: Claude Opus 5.5 <noreply@anthropic.com>
1 parent de7d8a9 commit 4f50b2c

41 files changed

Lines changed: 5778 additions & 0 deletions

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

‎README.md‎

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -77,6 +77,7 @@ The MiniMax Code Agent communicates through the host MCP client. Business reques
7777
| [MoMo Collab](plugins/amszuidas/momo-collab/) | A project steward that turns stray thoughts, screenshots, and links into ideas, writes clear ideas up as tasks, runs each task in its own Agent session with a full handoff, checks the result against your done criteria, and tracks everything on a board. Requires MiniMax Code 3.1.2 or later | [amszuidas](https://github.com/amszuidas) |
7878
| [Anatomy Gallery](plugins/zch0227/anatomy-gallery/) | A gallery for interactive isometric figures made with the anatomy skill: hang them in rooms you organize, view light and dark editions full screen, keep every version, and have an Agent create or edit figures from the gallery with a per-run process log. The anatomy skill is bundled. Requires MiniMax Code 3.1.2 or later | [zch0227](https://github.com/zch0227) |
7979
| [仓库透视 / Repo X-Ray](plugins/yujiachen-y/repo-xray/) | Understand a codebase from its Git history: a code map you can drill into, hotspots and bug magnets, high-risk files, owners and knowledge loss, commit rhythm and firefighting, and the tech stack. Works with GitHub, GitLab, and local repositories; analysis runs on your machine | [yujiachen-y](https://github.com/yujiachen-y) |
80+
| [OpenViking Mini Studio](plugins/openviking/mini-studio/) | Browse and search your OpenViking context read-only, preview it, and add selected URIs or content to the chat | OpenViking |
8081
| [Disk Insight](plugins/zch0227/disk-insight/) | See where disk space went on macOS and Windows with a sunburst space map, find junk files sorted into three safety tiers, large and duplicate files, and how much code repositories and Git worktrees take; ask an Agent about any item, and permanently delete what you select after a confirmation that lists every item. Requires MiniMax Code 3.1.2 or later | [zch0227](https://github.com/zch0227) |
8182
| [A/时差保安 / Timezone Guard](plugins/liuchen19960902/timezone-guard/) | Check the other side's local time before you message: the target city's clock turns into a green "now is fine", yellow "keep it short", or red "go to sleep" verdict. Requires MiniMax Code 3.1.2 or later | [FineCat](https://github.com/LiuChen19960902) |
8283
| [AI Node Canvas](plugins/antianqi/ai-node-canvas/) | An infinite-canvas node graph for MiniMax Code: wire text, image, video and audio runs into a graph, let each result flow downstream, and run media tools on any result | [antianqi](https://github.com/antianqi) |

‎README.zh-CN.md‎

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -77,6 +77,7 @@ MiniMax Code Agent 通过宿主 MCP 客户端与 MiniApp 协作。业务请求
7777
| [协作 · MoMo](plugins/amszuidas/momo-collab/README.zh-CN.md) | 项目管家 MoMo:把随手的想法、截图和链接攒成想法,写清后变成任务,派 Agent 会话带着完整背景去执行,按验收标准核对结果后交你审核,进展在看板上一眼可见。需要 MiniMax Code 3.1.2 或更高版本 | [amszuidas](https://github.com/amszuidas) |
7878
| [Anatomy 画廊](plugins/zch0227/anatomy-gallery/README.zh-CN.md) | 集中展示 anatomy 技能做出的交互式等距图解:按自建展区挂墙,全屏查看明暗两版,保留全部历史版本;在画廊里让 Agent 新建或修改作品,每次运行都有过程记录。自带 anatomy 技能。需要 MiniMax Code 3.1.2 或更高版本 | [zch0227](https://github.com/zch0227) |
7979
| [仓库透视](plugins/yujiachen-y/repo-xray/README.zh-CN.md) | 从 Git 历史看懂一个代码仓库:可逐层下钻的代码地图、热点与 Bug 磁铁、高风险文件、负责人与知识流失、提交节奏与救火记录、技术栈;支持 GitHub、GitLab 和本机仓库,全部在本机分析 | [yujiachen-y](https://github.com/yujiachen-y) |
80+
| [OpenViking Mini Studio](plugins/openviking/mini-studio/) | 只读浏览和搜索 OpenViking 上下文、预览内容,并把选中的 URI 或内容加入对话 | OpenViking |
8081
| [磁盘透视](plugins/zch0227/disk-insight/README.zh-CN.md) | 查看 macOS 和 Windows 的磁盘空间去向:旭日图空间地图,按三档风险分类的垃圾文件,大文件和重复文件,代码仓库和 Git worktree 的占用;任何条目都可以问 Agent,选中的条目在确认框里逐一列出,确认后直接永久删除。需要 MiniMax Code 3.1.2 或更高版本 | [zch0227](https://github.com/zch0227) |
8182
| [A/时差保安](plugins/liuchen19960902/timezone-guard/README.zh-CN.md) | 发消息前先看对方那边几点:按对方城市当地时间给出「现在可以聊 / 短聊就好 / 先睡,别发」三档判定。需要 MiniMax Code 3.1.2 或更高版本 | [FineCat](https://github.com/LiuChen19960902) |
8283
| [AI 节点画布](plugins/antianqi/ai-node-canvas/README.zh-CN.md) | MiniMax Code 里的无限画布节点图:把文本、图片、视频、音频的生成接成一张图,结果顺着连线往下传,任何一张结果都能直接做二次处理 | [antianqi](https://github.com/antianqi) |
Lines changed: 17 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,17 @@
1+
{
2+
"schemaVersion": 1,
3+
"name": "mini-studio",
4+
"displayName": "OpenViking Mini Studio",
5+
"version": "2.0.0",
6+
"description": "Browse and search your OpenViking context, preview it, and add selected URIs or content to the MiniMax Code chat.",
7+
"author": "OpenViking",
8+
"icon": "icon.png",
9+
"category": "Productivity",
10+
"exampleQueries": [
11+
"Open OpenViking Mini Studio",
12+
"Browse my OpenViking context"
13+
],
14+
"apps": [],
15+
"mcpServers": [],
16+
"skills": []
17+
}

0 commit comments

Comments
 (0)