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
CC Port is a local desktop resource manager for people who use more than one AI coding tool. It scans each tool's native directories, uses your Git repository as the cross-device source of truth, and produces an explicit plan before writing anything. The repository and `registry.yaml` use an open format; other consumers do not need CC Port.
12
+
CC Port is a local resource manager for people who use more than one AI coding tool. Humans keep the desktop client, while AI agents can discover and call the same capabilities through the bundled Skill, strict JSON CLI, and stdio MCP server. It scans each tool's native directories, uses your Git repository as the cross-device source of truth, and produces an explicit plan before writing anything. The repository and `registry.yaml` use an open format; other consumers do not need CC Port.
13
13
14
14
## At a glance
15
15
@@ -102,9 +102,13 @@ A missing, malformed, or linked Registry is diagnostic-only and has no Apply but
4. Start CC Port, paste the repository HTTPS URL into Settings, and verify the connection.
114
118
5. Scan local resources, then choose which items to upload or install from the Resources page.
115
119
116
-
The installer includes both the desktop applicationand its Python sidecar. End users do not need Python, Node.js, or Rust. See the [quick-start guide](docs/getting-started.en.md) for setup and uninstall details.
120
+
New Windows builds from this repository include the desktop application, Desktop API sidecar, and standalone `cc-port.exe` CLI/MCP agent. End users do not need Python, Node.js, or Rust. The already-published v0.5.4 installer predates this capability and does not contain the agent; wait for a newer release that includes it. See the [quick-start guide](docs/getting-started.en.md) for setup, AI integration, and uninstall details.
117
121
118
122
## Safety boundaries
119
123
120
124
- **You own the repository:** CC Port has no hosted cloud service; resources stay in the Git repository you choose.
121
125
- **Credentials stay with the OS:** the desktop app uses Git Credential Manager and does not read or store a GitHub token.
122
126
- **Plan before write:** desktop and CLI write operations expose targets, actions, and blockers first.
127
+
- **Machine interfaces do not expose self-approval:** recommended MCP and non-interactive CLI writes require a single-use local approval bound to the operation, plan hash, and complete scope. A user approves it in the desktop app, and stale plans require a new review.
123
128
- **Unmanaged content is protected:** ownership metadata distinguishes CC Port-managed items from manually maintained files.
124
129
- **Dangling links replace only the link itself:** when a download target is a root-level dangling native Windows symlink, CC Port removes that link and writes regular content only after explicit unmanaged-target confirmation; it never follows or modifies the link target.
125
130
- **Recoverable writes:** installation, removal, deployment, and recovery use persistent transactions, backups, and rollback.
@@ -183,12 +188,24 @@ Advanced users can add custom platform paths in `config.toml`. See the [configur
183
188
184
189
## Three interfaces
185
190
186
-
- **Desktop GUI:** daily discovery, comparison, upload, installation, and environment diagnostics; the Guide page links to the project repository and its GitHub Star action.
187
-
- **CLI:** scripting, batch operations, history recovery, and state maintenance.
188
-
- **MCP server:** exposes CC Port capabilities to compatible AI coding tools.
191
+
- **Desktop GUI:** daily discovery, comparison, upload, installation, AI integration, approval, and environment diagnostics. The human client remains supported.
192
+
- **CLI:** human scripting, strict `--non-interactive --json` machine calls, batch operations, history recovery, and state maintenance.
193
+
- **MCP server:** `cc-port mcp --stdio` exposes typed plan/apply capabilities to compatible AI coding tools.
189
194
190
195
All three interfaces share the same Python core. See the [architecture (Chinese)](docs/architecture.md) for boundaries and sync state machines.
191
196
197
+
### Let an AI use CC Port
198
+
199
+
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.
200
+
201
+
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.
202
+
203
+
This is an application-level approval boundary, not a separate Windows security
204
+
principal. The AI host must prevent the agent from directly modifying CC Port's
205
+
local state or impersonating the desktop-sidecar channel. Version 1 does not
206
+
claim an operating-system-level proof of human presence against code that has
207
+
the same unrestricted filesystem and process privileges as the human user.
208
+
192
209
## Current limitations
193
210
194
211
- The Public Beta officially supports Windows 10/11 x64 only.
@@ -209,6 +226,7 @@ For installation, sign-in, or sync failures, see [troubleshooting](docs/troubles
CC Port 是一个面向多 AI coding 工具的本地桌面资源管理器。它扫描每个工具的原生目录,以你控制的 Git 仓库作为跨设备事实源,并在真正写入前生成明确的操作计划。资源仓库和 `registry.yaml` 是开放格式,不要求其他消费者安装或理解 CC Port。
12
+
CC Port 是一个面向多 AI coding 工具的本地资源管理器。人类可以继续使用桌面客户端,AI 则可通过随安装包提供的 Skill、严格 JSON CLI 和 stdio MCP 自动发现并调用同一套能力。它扫描每个工具的原生目录,以你控制的 Git 仓库作为跨设备事实源,并在真正写入前生成明确的操作计划。资源仓库和 `registry.yaml` 是开放格式,不要求其他消费者安装或理解 CC Port。
0 commit comments