- Add /web install|upgrade|status|uninstall slash command (privileged) - Auto-install cc-connect-web via npm into ~/.cc-connect/web/ - Auto-configure [bridge] and [management] in config.toml with random tokens - Management server serves SPA static files from dist/ with fallback to index.html - Add config.EnableWebAdmin() for atomic bridge+management setup - Add core/web_manager.go with npm registry integration - Prepare web/package.json for npm publish as cc-connect-web (files: dist/) - Add i18n translations for all /web messages (en, zh, zh-TW, ja, es) Made-with: Cursor
63 lines
1.5 KiB
JSON
63 lines
1.5 KiB
JSON
{
|
|
"name": "cc-connect-web",
|
|
"version": "0.1.0",
|
|
"description": "Web admin dashboard for CC-Connect — bridge AI coding agents with messaging platforms",
|
|
"type": "module",
|
|
"keywords": [
|
|
"cc-connect",
|
|
"admin",
|
|
"dashboard",
|
|
"ai-agent",
|
|
"claude",
|
|
"codex",
|
|
"feishu",
|
|
"telegram",
|
|
"discord",
|
|
"slack"
|
|
],
|
|
"homepage": "https://github.com/chenhg5/cc-connect",
|
|
"repository": {
|
|
"type": "git",
|
|
"url": "https://github.com/chenhg5/cc-connect.git",
|
|
"directory": "web"
|
|
},
|
|
"license": "MIT",
|
|
"author": "chenhg5",
|
|
"files": [
|
|
"dist"
|
|
],
|
|
"main": "dist/index.html",
|
|
"scripts": {
|
|
"dev": "vite",
|
|
"build": "tsc -b && vite build",
|
|
"preview": "vite preview",
|
|
"prepublishOnly": "npm run build"
|
|
},
|
|
"dependencies": {
|
|
"@tailwindcss/typography": "^0.5.19",
|
|
"clsx": "^2.1.1",
|
|
"highlight.js": "^11.11.1",
|
|
"i18next": "^25.1.2",
|
|
"lucide-react": "^0.487.0",
|
|
"qrcode.react": "^4.2.0",
|
|
"react": "^19.1.0",
|
|
"react-dom": "^19.1.0",
|
|
"react-i18next": "^15.5.1",
|
|
"react-markdown": "^10.1.0",
|
|
"react-router-dom": "^7.5.0",
|
|
"rehype-highlight": "^7.0.2",
|
|
"remark-gfm": "^4.0.1",
|
|
"zustand": "^5.0.5"
|
|
},
|
|
"devDependencies": {
|
|
"@types/react": "^19.1.2",
|
|
"@types/react-dom": "^19.1.2",
|
|
"@vitejs/plugin-react": "^4.4.1",
|
|
"autoprefixer": "^10.4.21",
|
|
"postcss": "^8.5.3",
|
|
"tailwindcss": "^3.4.17",
|
|
"typescript": "~5.8.3",
|
|
"vite": "^6.3.2"
|
|
}
|
|
}
|