mirror of
https://github.com/tiennm99/ccs.git
synced 2026-10-11 12:09:03 +00:00
docs(architecture): document marketplace registry ownership
This commit is contained in:
1 parent
54ea36fd18
commit
242a095edb
3 files changed
+26
-3
No files matched your search
@@ -1,6 +1,6 @@
|
|||||||
# CCS Codebase Summary
|
# CCS Codebase Summary
|
||||||
|
|
||||||
Last Updated: 2026-03-17
|
Last Updated: 2026-03-18
|
||||||
|
|
||||||
Comprehensive overview of the modularized CCS codebase structure following the Phase 9 modularization effort (Settings, Analytics, Auth Monitor splits + Test Infrastructure), v7.1 Remote CLIProxy feature, v7.2 Kiro + GitHub Copilot (ghcp) OAuth providers, v7.14 Hybrid Quota Management, v7.34 Image Analysis Hook, and account-context validation hardening.
|
Comprehensive overview of the modularized CCS codebase structure following the Phase 9 modularization effort (Settings, Analytics, Auth Monitor splits + Test Infrastructure), v7.1 Remote CLIProxy feature, v7.2 Kiro + GitHub Copilot (ghcp) OAuth providers, v7.14 Hybrid Quota Management, v7.34 Image Analysis Hook, and account-context validation hardening.
|
||||||
|
|
||||||
@@ -222,6 +222,13 @@ src/
|
|||||||
- API route rejects `context_group`/`continuity_mode` when mode is not `shared`
|
- API route rejects `context_group`/`continuity_mode` when mode is not `shared`
|
||||||
- registry normalization drops malformed persisted `context_group` values
|
- registry normalization drops malformed persisted `context_group` values
|
||||||
|
|
||||||
|
### Shared Plugin Layout
|
||||||
|
|
||||||
|
- Shared payload owner: `src/management/shared-manager.ts`.
|
||||||
|
- Profile entry point: `src/management/instance-manager.ts`.
|
||||||
|
- `plugins/marketplaces/`, `plugins/cache/`, and `installed_plugins.json` stay shared through the `~/.ccs/shared/` topology.
|
||||||
|
- `known_marketplaces.json` is now instance-local under `~/.ccs/instances/<profile>/plugins/` so Claude Code validates `installLocation` against the active `CLAUDE_CONFIG_DIR` instead of a last-writer-wins shared file.
|
||||||
|
|
||||||
### Target Adapter Module
|
### Target Adapter Module
|
||||||
|
|
||||||
The targets module provides an extensible interface for dispatching profiles to different CLI implementations.
|
The targets module provides an extensible interface for dispatching profiles to different CLI implementations.
|
||||||
|
|||||||
@@ -1,6 +1,6 @@
|
|||||||
# CCS Project Roadmap
|
# CCS Project Roadmap
|
||||||
|
|
||||||
Last Updated: 2026-03-17
|
Last Updated: 2026-03-18
|
||||||
|
|
||||||
Forward-looking roadmap documenting current priorities, GitHub issues, and future feature plans.
|
Forward-looking roadmap documenting current priorities, GitHub issues, and future feature plans.
|
||||||
|
|
||||||
@@ -41,6 +41,7 @@ All major modularization work is complete. The codebase evolved from monolithic
|
|||||||
|
|
||||||
### Recent Fixes
|
### Recent Fixes
|
||||||
|
|
||||||
|
- **2026-03-18**: **#755** Marketplace refresh no longer reuses one shared `known_marketplaces.json` across isolated instances. CCS now keeps marketplace payload directories shared while reconciling per-instance marketplace metadata so Claude Code validation succeeds for alternating or concurrent profiles, including Windows copy fallback.
|
||||||
- **2026-03-17**: Deprecated user-facing GLMT discovery across CLI help, completions, presets, and docs. Existing `glmt` profiles now run through a compatibility path that normalizes legacy proxy settings to the direct GLM endpoint.
|
- **2026-03-17**: Deprecated user-facing GLMT discovery across CLI help, completions, presets, and docs. Existing `glmt` profiles now run through a compatibility path that normalizes legacy proxy settings to the direct GLM endpoint.
|
||||||
- **#748**: API profile creation now keeps provider selection compact by collapsing advanced presets behind an explicit toggle, shrinking chooser cards so the form fields stay visually primary, and giving `llama.cpp` a dedicated provider logo.
|
- **#748**: API profile creation now keeps provider selection compact by collapsing advanced presets behind an explicit toggle, shrinking chooser cards so the form fields stay visually primary, and giving `llama.cpp` a dedicated provider logo.
|
||||||
- **#744**: API profile creation now keeps featured providers in a horizontal rail with scroll fallback, moves Anthropic Direct API to the end, reuses the shared Claude logo, and separates the custom-endpoint entry point from advanced template discovery.
|
- **#744**: API profile creation now keeps featured providers in a horizontal rail with scroll fallback, moves Anthropic Direct API to the end, reuses the shared Claude logo, and separates the custom-endpoint entry point from advanced template discovery.
|
||||||
|
|||||||
@@ -1,6 +1,6 @@
|
|||||||
# CCS System Architecture
|
# CCS System Architecture
|
||||||
|
|
||||||
Last Updated: 2026-03-02
|
Last Updated: 2026-03-18
|
||||||
|
|
||||||
High-level architecture overview for the CCS (Claude Code Switch) system.
|
High-level architecture overview for the CCS (Claude Code Switch) system.
|
||||||
|
|
||||||
@@ -233,12 +233,27 @@ For detailed provider flows (CLIProxyAPI, legacy GLMT compatibility, quota manag
|
|||||||
+---> commands/ # Claude Code commands
|
+---> commands/ # Claude Code commands
|
||||||
+---> skills/ # Custom skills
|
+---> skills/ # Custom skills
|
||||||
+---> agents/ # Agent configurations
|
+---> agents/ # Agent configurations
|
||||||
|
+---> plugins/
|
||||||
|
|
|
||||||
|
+---> cache/ # Shared plugin payload/cache data
|
||||||
|
+---> marketplaces/ # Shared marketplace payload directories
|
||||||
|
+---> installed_plugins.json
|
||||||
|
|
||||||
|
~/.ccs/instances/<profile>/
|
||||||
|
|
|
||||||
|
+---> plugins/
|
||||||
|
|
|
||||||
|
+---> known_marketplaces.json # Instance-local registry for active CLAUDE_CONFIG_DIR validation
|
||||||
|
|
||||||
~/.factory/ (Droid CLI)
|
~/.factory/ (Droid CLI)
|
||||||
|
|
|
|
||||||
+---> settings.json # Droid config (custom models)
|
+---> settings.json # Droid config (custom models)
|
||||||
```
|
```
|
||||||
|
|
||||||
|
Plugin ownership note:
|
||||||
|
- `commands/`, `skills/`, `agents/`, and `settings.json` remain shared through the existing symlink/copy flow.
|
||||||
|
- Marketplace payload directories stay shared, but `known_marketplaces.json` is reconciled per instance so Claude Code can validate `installLocation` against that instance's `CLAUDE_CONFIG_DIR/plugins/marketplaces`.
|
||||||
|
|
||||||
### Config Loading Order
|
### Config Loading Order
|
||||||
|
|
||||||
```
|
```
|
||||||
|
|||||||
Reference in new issue
Block a user