chore: remove unused desktop app, cloud deployment infra, and monitoring stack

Deletes desktop/ (Electron wrapper), deployments/ (Helm/Kustomize/
Terraform/CI for cloud deploy), and monitoring/ (Prometheus + Grafana
stack) along with DESKTOP.md, DEPLOYMENT.md, docker-compose.full.yml,
their npm scripts, and every dangling reference across README,
ARCHITECTURE, INSTALL, SETUP, docs/, and the repeated per-file
MODULE_GUIDE "Observability" boilerplate comment. The GET /api/metrics
endpoint itself is untouched — it's the dashboard's own route, not
part of the removed monitoring stack.
This commit is contained in:
2026-08-11 12:16:54 +07:00
parent f0ae876472
commit 7357070fb9
307 changed files with 23 additions and 31257 deletions
-2
View File
@@ -1058,8 +1058,6 @@ scrape_configs:
# credentials: "<DASHBOARD_TOKEN>"
```
A ready-to-run Prometheus + Grafana stack (four auto-provisioned dashboards; default home **CCAM — Overview**) lives in [`monitoring/`](../monitoring/README.md). **npm path (no Docker):** `npm run monitoring:install` then `npm run monitoring:up` (binaries are pulled via the monitoring package's `postinstall` — there is no official `grafana`/`prometheus` server package on npm). **Docker path:** `npm run monitoring:docker:up` or `npm run docker:full:up` (set `DASHBOARD_ALLOWED_HOSTS=host.docker.internal` on the dashboard when Prometheus runs in a container). Pre-built Prometheus console: `http://localhost:9090/consoles/index.html`.
---
### Pricing
-56
View File
@@ -31,8 +31,6 @@ graph TB
Architecture --> Hooks[HOOKS.md<br/>Hook system integration]
Architecture --> MCP[MCP.md<br/>MCP server integration]
Setup --> Deploy[DEPLOYMENT.md<br/>Production deployment]
style Start fill:#3B82F6
style Setup fill:#10B981
style Architecture fill:#F59E0B
@@ -50,10 +48,8 @@ graph TB
| [DATABASE.md](./DATABASE.md) | SQLite schema, queries, performance | Database administrators |
| [HOOKS.md](./HOOKS.md) | Claude Code hook system integration | Hook developers |
| [MCP.md](./MCP.md) | MCP server setup and tool reference | MCP integrators |
| [DEPLOYMENT.md](./DEPLOYMENT.md) | Production deployment strategies | DevOps engineers |
| [I18N.md](./I18N.md) | Language architecture, locale strategy, and rollout checklist | Frontend and product teams |
| [CLI.md](./CLI.md) | `ccam` command reference — monitoring, browsing, insights, alerts, pricing, import, administration | Terminal users and CI scripting |
| [monitoring/README.md](../monitoring/README.md) | Prometheus + Grafana stack (`npm run monitoring:up` or Docker) | DevOps / observability |
---
@@ -122,27 +118,6 @@ graph TB
---
### For DevOps Engineers
```mermaid
graph TB
DevOps[DevOps Engineer] --> Deploy[DEPLOYMENT.md]
Deploy --> Docker[Docker Setup]
Deploy --> PM2[PM2 Process Manager]
Deploy --> Cloud[Cloud Deployment]
Deploy --> Monitoring[Monitoring & Logging]
style DevOps fill:#F59E0B
```
**Key Documents:**
- [DEPLOYMENT.md](./DEPLOYMENT.md) - Complete deployment guide
- [DATABASE.md](./DATABASE.md#backup-strategies) - Backup strategies
- [server/README.md](../server/README.md#performance) - Performance tuning
---
### For Integration Developers
```mermaid
@@ -378,37 +353,6 @@ erDiagram
---
## Deployment Options
```mermaid
graph TB
subgraph "Development"
Dev[npm run dev<br/>Hot reload]
end
subgraph "Production"
Docker[Docker Compose<br/>Containerized]
PM2[PM2<br/>Process manager]
Systemd[Systemd Service<br/>Linux systems]
Cloud[Cloud Platform<br/>AWS, Azure, GCP]
end
Dev -.->|Build| Docker
Dev -.->|Build| PM2
Dev -.->|Build| Systemd
Dev -.->|Build| Cloud
style Dev fill:#3B82F6
style Docker fill:#2496ED
style PM2 fill:#10B981
style Systemd fill:#F59E0B
style Cloud fill:#8B5CF6
```
**Full Reference:** [DEPLOYMENT.md](./DEPLOYMENT.md)
---
## Performance Metrics
### Benchmarks