You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: README.en.md
+21-7Lines changed: 21 additions & 7 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -198,19 +198,33 @@ All three interfaces share the same Python core. See the [architecture (Chinese)
198
198
199
199
### Let an AI use CC Port
200
200
201
-
In a new build that includes this capability, open **Settings → AI automation** and review an enable plan for an exact profile. After approval, CC Port installs only its packaged `cc-port` Skill into that profile's Skill directory and adds a local `cc-port.exe mcp --stdio` entry to the tool's native configuration. It does not remove the desktop client or rewrite unrelated MCP servers. Schema v1 automatically bootstraps native Windows profiles only. A WSL profile is explicitly blocked at this Skill-plus-MCP registration step instead of treating a Windows process as a verified WSL connection; the existing profile-aware WSL asset inventory and plan/apply workflows remain available.
201
+
AI automation lets Codex, Claude Code, Cursor, and other AI coding tools call the local CC Port service to scan resources, compare local and remote state, upload local resources, or install remote resources into an exact tool profile. It is not unattended background sync: the AI can inspect and prepare a plan automatically, while every write still requires your approval in the CC Port desktop app.
202
202
203
-
The AI prefers MCP discovery and follows `status → inventory(scan_local=true) → diff → plan → approval → apply → verify`; it uses the single-envelope non-interactive CLI only when MCP is unavailable. Reads and plans can run automatically. A write plan appears under **Pending AI approvals** in the desktop app and cannot apply until the user grants a one-time approval. Approvals expire and can be consumed only once. Any target drift produces a fresh stale plan and invalidates the old authorization. See the [AI agent discovery, approval, and invocation specification (Chinese)](docs/specs/ai-agent-interface.md) for commands, schemas, and security boundaries.
203
+
CC Port does not call a language model, so you do not provide a separate OpenAI, Anthropic, or other model API key. The AI coding tool must already be signed in. Git Credential Manager handles private GitHub repository login, and real secrets used by third-party MCP servers remain machine-local.
204
204
205
-
Read-only inventory and synchronization advice is provided by the external
205
+
The shortest workflow is:
206
+
207
+
1. Open **Settings → AI automation**, select **Review enable plan** for the Windows profile that should use CC Port, then approve and enable it.
208
+
2. In the AI chat, enter: `Use CC Port to scan every configured profile and compare local and remote state. Read only; do not modify anything.`
209
+
3. After choosing a direction, enter: `Upload skill:example from codex-windows to the repository. Handle only this item and show the plan first.`
210
+
4. Review and approve it under **Settings → AI automation → Pending AI approvals**, then return to the chat and say: `I approved the plan in the CC Port desktop app. Continue and run a fresh inventory to verify the result.`
211
+
212
+
If you do not know the profile id or resource key, ask the AI to list them from a fresh inventory. Prefer an explicit direction such as "upload to the repository" or "install into this profile" instead of the ambiguous word "sync." Every approval is bound to the current operation, `plan_hash`, and complete scope, expires automatically, and can be consumed once. State changes require review of a new plan.
213
+
214
+
During enablement, CC Port installs only its packaged `cc-port` Skill into the selected profile and registers local `cc-port.exe mcp --stdio` in that tool's native configuration. It does not remove the desktop client or rewrite unrelated MCP servers. Schema v1 automatically bootstraps native Windows profiles only; existing WSL inventory and plan/apply workflows remain available. See [Getting started: let an AI manage resources with CC Port](docs/getting-started.en.md#5-let-an-ai-manage-resources-with-cc-port) for the complete beginner workflow and copyable prompts, or the [AI agent discovery, approval, and invocation specification (Chinese)](docs/specs/ai-agent-interface.md) for commands, schemas, and security boundaries.
215
+
216
+
#### Optional: read-only Advisor
217
+
218
+
Most users do not need the Advisor. Install the external
4. 在“设置 → AI 自动化 → 待处理 AI 审批”中核对并批准,再回到对话说:`我已在 CC Port 桌面端批准,请继续执行并重新扫描验证。`
206
+
207
+
如果不知道 profile id 或资源 key,先让 AI 从最新扫描结果中列出来。尽量使用“上传到仓库”或“安装到某个 profile”明确方向,不要只说含义不确定的“同步”。每次审批只绑定当前 operation、`plan_hash` 和完整范围,会自动过期且只能使用一次;状态变化后必须审阅新计划。
208
+
209
+
启用时,CC Port 只把内置 `cc-port` Skill 安装到选定 profile,并在该工具的原生配置中注册本机 `cc-port.exe mcp --stdio`;不会删除桌面客户端或改写其他 MCP Server。当前 schema v1 只自动引导 Windows 原生 profile,WSL profile 仍可参与已有的资源扫描和 plan/apply。完整的新手步骤和可复制话术见[快速开始:让 AI 帮你管理资源](docs/getting-started.md#5-让-ai-帮你管理资源ai-自动化),底层命令、schema 和安全边界见 [AI Agent 自动发现、审批与调用规格](docs/specs/ai-agent-interface.md)。
210
+
211
+
#### 可选:只读 Advisor
212
+
213
+
普通用户不需要安装 Advisor。只有希望“先让 AI 汇总全部差异并给出建议、但绝不创建写入计划”的用户,
Copy file name to clipboardExpand all lines: desktop/src/app/i18n/catalog.ts
+16Lines changed: 16 additions & 0 deletions
Original file line number
Diff line number
Diff line change
@@ -145,6 +145,7 @@ export const en = {
145
145
"message.asset.blocker.read_only_download": "Read-only references cannot be downloaded from the private asset snapshot.",
146
146
"message.asset.blocker.read_only_reference": "This registry item is a read-only reference in asset sync.",
147
147
"message.asset.blocker.registry_unavailable": "The remote registry is unavailable; remote resource actions are blocked.",
148
+
"message.asset.blocker.registry_upgrade_required": "The remote repository still uses Registry v7. Upgrade it to Registry v1 to restore remote asset operations.",
148
149
"message.asset.blocker.remote_asset_missing": "The remote asset does not exist.",
149
150
"message.asset.blocker.remote_name_exists": "The new name already exists in the remote registry for this kind.",
150
151
"message.asset.blocker.remote_read_only": "The matching remote item is read-only; save it under a new remote name.",
@@ -188,6 +189,8 @@ export const en = {
188
189
"message.asset.platform_diff.target_conflict": "Multiple resources resolve to the same platform target.",
189
190
"message.asset.platform_diff.uncomparable": "The content cannot be compared safely.",
190
191
"message.asset.remote.not_configured": "No remote resource repository is configured; remote writes are blocked.",
192
+
"message.asset.remote.registry_unavailable": "The remote Registry is unavailable. Remote asset operations remain blocked.",
193
+
"message.asset.remote.registry_upgrade_required": "The remote repository uses Registry v7. Upgrade it to Registry v1 before using remote assets.",
191
194
"message.asset.remote.refresh_failed_cached": "Remote refresh failed. Showing the cached snapshot from {cached_at}: {detail}",
192
195
"message.asset.remote.refresh_failed_legacy": "Remote refresh failed. Showing the legacy local snapshot read-only: {detail}",
193
196
"message.asset.remote.refresh_skipped_cached": "Remote refresh was skipped. Showing the cached snapshot from {cached_at}.",
"registry.unchanged": "registry.yaml is already unchanged.",
392
396
"registry.updatePreview": "Update preview",
397
+
"registry.upgradeAction": "Upgrade to Registry v1",
398
+
"registry.upgradeDescription": "This repository still uses Registry v7, which CC Port keeps read-only. Review the migration to rebuild registry.yaml from current repository content and restore asset details, uploads, and installs.",
399
+
"registry.upgradeRequiredShort": "Upgrade the remote repository to Registry v1 before collecting or importing assets.",
400
+
"registry.upgradeTitle": "Remote Registry needs an upgrade",
393
401
"message.registry.issue.duplicate_key": "Multiple entries use the same resource identity {resource_key}. Select the entry to keep.",
394
402
"message.registry.issue.duplicate_path": "Multiple entries use the same repository path {path}. Select the entry to keep.",
395
403
"message.registry.issue.invalid_resource": "The resource at {path} does not satisfy its content format.",
0 commit comments