refactor(*): 插件身份 - 将旧插件统一更名为 yingce
This commit is contained in:
@@ -1,5 +1,5 @@
|
||||
{
|
||||
"name": "infinite-canvas",
|
||||
"name": "yingce",
|
||||
"version": "0.1.0",
|
||||
"description": "Use Codex to read and operate Yingce through the local Canvas Agent MCP server.",
|
||||
"author": {
|
||||
@@ -7,7 +7,7 @@
|
||||
},
|
||||
"repository": "https://github.com/ddcat-ai/open-ai-canvas",
|
||||
"license": "MIT",
|
||||
"keywords": ["infinite-canvas", "canvas", "mcp", "agent"],
|
||||
"keywords": ["yingce", "影策", "canvas", "mcp", "agent"],
|
||||
"skills": "./skills/",
|
||||
"mcpServers": "./.mcp.json",
|
||||
"interface": {
|
||||
@@ -1,6 +1,6 @@
|
||||
{
|
||||
"mcpServers": {
|
||||
"infinite-canvas": {
|
||||
"yingce": {
|
||||
"command": "npx",
|
||||
"args": ["-y", "@ddcat666/open-ai-canvas-agent", "mcp"],
|
||||
"startup_timeout_sec": 20,
|
||||
@@ -13,9 +13,9 @@
|
||||
```text
|
||||
请从 https://github.com/ddcat-ai/open-ai-canvas.git 安装影策 Codex 插件。
|
||||
请 clone 仓库到 ~/plugins/open-ai-canvas,确认 .agents/plugins/marketplace.json 和
|
||||
plugins/infinite-canvas/.codex-plugin/plugin.json 都存在。然后运行
|
||||
plugins/yingce/.codex-plugin/plugin.json 都存在。然后运行
|
||||
codex plugin marketplace add ~/plugins/open-ai-canvas,
|
||||
再运行 codex plugin add infinite-canvas@infinite-canvas-local。
|
||||
再运行 codex plugin add yingce@yingce-local。
|
||||
安装后请校验插件,并告诉我是否需要开启一个新对话来加载新技能和 MCP 工具。
|
||||
```
|
||||
|
||||
@@ -32,7 +32,7 @@ git clone https://github.com/ddcat-ai/open-ai-canvas.git ~/plugins/open-ai-canva
|
||||
|
||||
```bash
|
||||
codex plugin marketplace add ~/plugins/open-ai-canvas
|
||||
codex plugin add infinite-canvas@infinite-canvas-local
|
||||
codex plugin add yingce@yingce-local
|
||||
```
|
||||
|
||||
安装后建议开启一个新的 Codex 对话,让新的 skill 和 MCP 工具完整加载。
|
||||
@@ -42,9 +42,9 @@ codex plugin add infinite-canvas@infinite-canvas-local
|
||||
如果你就在影策仓库中调试插件,可以直接添加当前仓库。建议使用仓库绝对路径,避免 Codex 从其他工作目录解析失败:
|
||||
|
||||
```bash
|
||||
cd /path/to/infinite-canvas
|
||||
cd /path/to/open-ai-canvas
|
||||
codex plugin marketplace add "$(pwd)"
|
||||
codex plugin add infinite-canvas@infinite-canvas-local
|
||||
codex plugin add yingce@yingce-local
|
||||
```
|
||||
|
||||
## 使用
|
||||
|
Before Width: | Height: | Size: 1.0 KiB After Width: | Height: | Size: 1.0 KiB |
@@ -5,7 +5,7 @@ description: 操作影策当前网页画布,读取节点、选区、创建文
|
||||
|
||||
# 影策画布
|
||||
|
||||
你正在帮助用户操作影策网页画布。需要理解或改动画布时,优先使用已配置的 `infinite-canvas` MCP 工具;不要让用户手动复制 JSON、URL 或 token。
|
||||
你正在帮助用户操作影策网页画布。需要理解或改动画布时,优先使用已配置的 `yingce` MCP 工具;不要让用户手动复制 JSON、URL 或 token。
|
||||
|
||||
## 工作流
|
||||
|
||||
Reference in New Issue
Block a user