ORD Overlay Editor
React components for viewing and editing ORD Overlay 0.1 documents.
接入你的智能体
發布者自己的指令。不是 PlugMCP 端點。
用我們的金鑰與日誌託管一份副本。
npx -y @open-resource-discovery/[email protected]Claude Code 沒有本機指令的安裝連結。複製下方指令並在終端機中執行。
claude mcp add open-resource-discovery-overlay-editor -- npx -y @open-resource-discovery/overlay-editor@0.2.3在終端機中執行。
{ "mcpServers": { "open-resource-discovery-overlay-editor": { "command": "npx", "args": [ "-y", "@open-resource-discovery/[email protected]" ] } }}claude_desktop_config.json
遠端 URL 還是本機指令? 兩種安裝方式的差異
來自發布者
React components for viewing and editing ORD Overlay 0.1 documents.
React components for viewing and editing ORD Overlay 0.1 documents.
OverlayCardView — read-only React component that renders an ORD Overlay 0.1 document (overview, target, patch list with merge/replace/remove payloads, deep links).useOverlayStore — Zustand store the host pushes raw JSON into.useTheme — module-level dark/light hook with localStorage persistence.OverlayCardViewProps, OverlayState, Theme, ResolvedTheme, OrdOverlay, OverlayAction, OverlayPatch, OverlayPerspective, OverlaySelector, OverlayTarget, OverlayVisibility.The library's public surface — entry points, subpaths, and bundled CSS — is declared in package.json exports.
Requires Node.js ≥ 22, npm ≥ 10, and React 18 or 19.
npm install @open-resource-discovery/overlay-editor
import { OverlayCardView } from "@open-resource-discovery/overlay-editor";
import "@open-resource-discovery/overlay-editor/styles";
export function MyView({ overlay }: { overlay: string }) {
// `content` is the overlay document as JSON or YAML text.
return <OverlayCardView content={overlay} />;
}
The styles import is side-effecting and must appear once in your application entry file.
src/lib/ Library source (Vite lib build target)
index.ts Top-level entry
card-view.ts Renderer-host entry
card-view/ OverlayCardView + store + useTheme + helpers
styles.css Bundled CSS
website/ Docusaurus site (docs + interactive playground)
src/pages/ Home + playground
src/components/Playground/ Selector + Monaco editor + live card renderer
docs/ Getting started / overview / API reference
static/ Bundled overlay examples + manifest
npm install # root (library) dependencies
npm --prefix website ci # website dependencies (separate; run once per checkout)
npm run website:start # Rebuilds the lib, then runs Docusaurus on http://localhost:3000
npm run check # typecheck + lint + Vitest
npm run build:lib # Vite library build → dist/
npm run website:build # Static site build → website/build
The website consumes the library via
file:..and rebuilds it automatically (prestart/prebuild). When changingsrc/lib, re-run the library build (orwebsite:start) to see updates on the site.
Please see CONTRIBUTING.md for details on how to contribute to this project.
Please see our LICENSE for copyright and license information. Detailed information including third-party components and their licensing/copyright information is available via the REUSE tool.
React components for viewing and editing ORD Overlay 0.1 documents.
{ "mcpServers": { "open-resource-discovery-overlay-editor": { "command": "npx", "args": [ "-y", "@open-resource-discovery/[email protected]" ] } }}工具
尚無工具清單。遠端伺服器會在首次健康檢查後取得工具清單。
常見問題
在本頁複製適用於 Cursor、Claude Desktop、Claude Code 或 VS Code 的 stdio 設定。它使用發布者的安裝方式,而不是 PlugMCP 代理伺服器。
這筆記錄未列出必要的環境變數。
@open Resource Discovery/overlay Editor 透過 stdio 在本機執行。
上次檢查時間:2026-11-16。 React components for viewing and editing ORD Overlay 0.1 documents.