Repository navigation
Commit 4f50b2c
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
File tree
- plugins/openviking/mini-studio
- .minimax-plugin
- miniapp
- client
- static/assets
- node
- src
- assets
- components/ui
- legacy
- lib
- tests
Some content is hidden
Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
77 | 77 | | |
78 | 78 | | |
79 | 79 | | |
| 80 | + | |
80 | 81 | | |
81 | 82 | | |
82 | 83 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
77 | 77 | | |
78 | 78 | | |
79 | 79 | | |
| 80 | + | |
80 | 81 | | |
81 | 82 | | |
82 | 83 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
| 1 | + | |
| 2 | + | |
| 3 | + | |
| 4 | + | |
| 5 | + | |
| 6 | + | |
| 7 | + | |
| 8 | + | |
| 9 | + | |
| 10 | + | |
| 11 | + | |
| 12 | + | |
| 13 | + | |
| 14 | + | |
| 15 | + | |
| 16 | + | |
| 17 | + | |
0 commit comments