fix(platform): Codex 插件 - 补全仓库 marketplace 安装入口

This commit is contained in:
Hao OUYANG committed 2026-07-22 23:04:22 +08:00
1 parent 24f5484445
commit 778b97300b
4 files changed
+34 -36

No files matched your search

@@ -17,7 +17,7 @@ const MAX_ATTACHMENTS = 6;
const MAX_ATTACHMENT_PAYLOAD_BYTES = 28 * 1024 * 1024;
const DEFAULT_AGENT_URL = "http://127.0.0.1:17371";
const AGENT_CONNECT_STEPS = [
{ title: "安装 Codex 插件", text: "在 Codex app 安装 Infinite Canvas 插件后,首次使用插件会自动启动本地 Agent。" },
{ title: "从仓库安装插件", text: "插件暂未上架公共目录,请按项目 README 添加仓库 marketplace;安装后新建 Codex 对话。" },
{ title: "打开画布连接", text: "回到这里点击连接,网页会自动读取本机 Agent 配置。" },
{ title: "手动启动备用", text: "如果自动发现失败,请按插件说明启动本地 Agent 后再回到这里连接。" },
];
@@ -641,7 +641,7 @@ function AgentConnectView({ theme, url, token, enabled, connected, activity, con
<div>
<div className="text-base font-semibold leading-6">连接本地 Agent</div>
<div className="mt-1 text-xs leading-5" style={{ color: theme.node.muted }}>
安装 Codex 插件后,画布会优先自动连接本机 Agent。
安装仓库自带的 Codex 插件后,画布会优先自动连接本机 Agent。
</div>
</div>
<div className="space-y-2">