Go to file
2026-04-01 16:20:41 +08:00
.agent feat: add security scrubbing skill documentation. 2026-02-06 12:26:57 +08:00
.github/ISSUE_TEMPLATE move workflows -> cloud-neutral-toolkit org repo 2026-03-19 09:18:45 +08:00
config 2026-01-30 11:18:28 +08:00
deploy/single-node fix(deploy): serve console static assets correctly 2026-04-01 16:20:41 +08:00
docs feat(docs): finish docs service frontend switch 2026-03-20 00:11:44 +08:00
mcp Update MFA UI flags and lint guidance 2026-01-25 19:07:57 +08:00
public feat: add comprehensive SEO metadata, structured data, a custom 404 page, and SEO audit tooling. 2026-01-29 12:57:22 +08:00
Runbook feat: update homepage tagline and tech stack 2026-01-26 15:49:56 +08:00
scripts feat(docs): finish docs service frontend switch 2026-03-20 00:11:44 +08:00
skills chore: update github org references to x-evor 2026-03-19 23:57:54 +08:00
src fix(user-center): fallback legacy agent node endpoint 2026-04-01 16:20:41 +08:00
tests fix(auth): guard self-referential account proxy 2026-03-20 22:45:13 +08:00
types Add configurable OpenClaw origin override 2026-03-12 18:54:30 +08:00
.config_summary.txt git commit -m "chore: split dashboard into standalone repository from XControl" 2025-12-14 22:33:14 +08:00
.cursorrules style: fix user menu alignment and spacing, and codify UI standards in skill 2026-02-02 13:06:09 +08:00
.dockerignore feat(console): add single-node frontend release flow 2026-03-18 22:54:44 +08:00
.env.example fix(auth): guard self-referential account proxy 2026-03-20 22:45:13 +08:00
.eslintrc.json git commit -m "chore: split dashboard into standalone repository from XControl" 2025-12-14 22:33:14 +08:00
.gitignore chore(gitignore): ignore prepared knowledge workspace 2026-03-19 07:44:09 +08:00
.mcp.json Add Dev MCP setup 2026-01-13 23:40:34 +08:00
.nvmrc git commit -m "chore: split dashboard into standalone repository from XControl" 2025-12-14 22:33:14 +08:00
.yarnrc fix: pin yarn registry and package manager 2026-03-19 23:46:35 +08:00
.yarnrc.yml fix: pin yarn registry and package manager 2026-03-19 23:46:35 +08:00
agent.md feat: Introduce agent operating rules and internal documentation, and refactor UI styling with design tokens. 2026-01-25 17:41:02 +08:00
AGENTS.md Update MFA UI flags and lint guidance 2026-01-25 19:07:57 +08:00
contentlayer.config.ts chore: commit all local changes after local verification 2026-02-05 17:05:43 +08:00
dev.log feat: replace GatewayHero with new dashboard layout 2026-03-19 04:52:43 +00:00
Dockerfile fix(docker): stop bundling docs content into frontend image (#66) 2026-03-31 14:34:08 +08:00
frontend.log feat: refine registration UX and migrate middleware CORS 2026-01-25 12:02:06 +08:00
LICENSE Update project license from GPLv3 to MIT and remove package-lock.json. 2026-02-01 23:33:50 +08:00
Makefile fix: pin yarn registry and package manager 2026-03-19 23:46:35 +08:00
next_output.log feat(xworkmate): redesign console to a minimalist layout with chat input at bottom 2026-03-18 04:08:22 +00:00
next-env.d.ts feat: replace GatewayHero with new dashboard layout 2026-03-19 04:52:43 +00:00
next.config.mjs feat(docs): redirect console docs to docs site 2026-03-20 22:46:21 +08:00
package.json feat(ui): update AI Assistant button and unify layout width 2026-03-19 07:32:57 +00:00
postcss.config.mjs git commit -m "chore: split dashboard into standalone repository from XControl" 2025-12-14 22:33:14 +08:00
README.md chore: update github org references to x-evor 2026-03-19 23:57:54 +08:00
run-api-test.sh chore: add E2E registration tests and helper scripts 2026-01-25 12:07:00 +08:00
run-ui-test.sh chore: add E2E registration tests and helper scripts 2026-01-25 12:07:00 +08:00
start-dev.js feat: replace GatewayHero with new dashboard layout 2026-03-19 04:52:43 +00:00
start.sh fix: pin yarn registry and package manager 2026-03-19 23:46:35 +08:00
tailwind.config.js feat: fine-tune user account dropdown menu with Radix UI and custom animations 2026-02-02 12:39:17 +08:00
test-esm.js git commit -m "chore: split dashboard into standalone repository from XControl" 2025-12-14 22:33:14 +08:00
tsconfig.json Ensure contentlayer build artifacts and fix blog rendering 2025-12-22 12:56:21 +08:00
update_layout.patch feat(xworkmate): redesign console to a minimalist layout with chat input at bottom 2026-03-18 04:08:22 +00:00
X_ANNOUNCEMENT_DRAFT.md chore: checkpoint current branch changes 2026-02-04 19:56:11 +08:00
yarn.lock feat(ui): update AI Assistant button and unify layout width 2026-03-19 07:32:57 +00:00

console.svc.plus

Cloud Neutral Toolkit 的开放云控制面板 (Open Cloud Control Panel).

面向 Ops / Infra / AI 的统一前端仪表盘,强调技术自由与可迁移性。

A unified dashboard for Ops / Infra / AI, built for technical freedom and portability.

部署要求 (Deployment Requirements)

维度 要求 / 规格 说明
Node.js >=18.17 <25 推荐使用 .nvmrc
包管理 Yarn (推荐) 或 npm Yarn 推荐配合 Corepack
Git 必需 用于拉取仓库
部署 (可选) Vercel / 自建 部署方式见 docs/usage/deployment.md

快速开始 (Quickstart)

一键初始化 (Setup Script)

curl -fsSL "https://raw.githubusercontent.com/x-evor/console.svc.plus/main/scripts/setup.sh?$(date +%s)" \
  | bash -s -- console.svc.plus

本地运行 (Local Dev)

yarn dev

如果需要环境变量:

cp .env.example .env

如果你的工作区同时包含 openclaw-deploy-example,建议参考 ../openclaw-deploy-example/.env 填写 AI 助手联调配置,并同时查看 docs/getting-started/installation.md

主要入口 (Key Routes)

  • /services:服务导航页,保留现有控制台布局。
  • /xworkmate:原生 Next.js 的 XWorkmate 在线工作区,底层通过 OpenClaw gateway 接入。
  • /panel/api:融合设置与集成页,用于配置和探测 OpenClaw Gateway、Vault Server、APISIX AI Gateway。

AI 助手与集成能力 (Assistant & Integrations)

当前主页 AI 辅助功能已经基于本仓库原生实现,核心行为如下:

  • 侧栏助手模式保留现有交互方式,但底层改为对接 OpenClaw gateway。
  • 最大化助手页面统一收敛到 /xworkmate,旧的 /services/openclaw 只保留兼容跳转,不再继续使用旧的 control UI 套壳。
  • 页面截图通过 assistant chat 附件模式发送,而不是单独的浏览器控制壳。
  • /panel/api 提供 OpenClaw、Vault、APISIX 三类集成的默认值预填与连通性探测。
  • 网关地址与令牌从服务端环境变量读取,前端组件不硬编码敏感配置。

环境变量 (Environment Variables)

以下变量用于主页 AI 助手和集成页的服务端默认值预填:

变量 用途
OPENCLAW_GATEWAY_REMOTE_URL OpenClaw gateway 远端 WebSocket 地址
OPENCLAW_GATEWAY_TOKEN OpenClaw gateway 访问令牌
VAULT_SERVER_URL Vault 服务地址
VAULT_NAMESPACE Vault namespace可选
VAULT_TOKEN Vault 探测令牌
APISIX_AI_GATEWAY_URL APISIX AI Gateway 地址
AI_GATEWAY_ACCESS_TOKEN APISIX AI Gateway 探测令牌

更多说明见 docs/getting-started/installation.md.env.example

Stripe 配置 (Stripe Billing Setup)

/prices、产品页和账户中心的购买入口现在统一读取前端公开的 Stripe price_id

变量 用途
NEXT_PUBLIC_STRIPE_PRICE_XSTREAM_PAYGO Xstream 按量购买
NEXT_PUBLIC_STRIPE_PRICE_XSTREAM_SUBSCRIPTION Xstream 订阅
NEXT_PUBLIC_STRIPE_PRICE_XSCOPEHUB_PAYGO XScopeHub 按量购买
NEXT_PUBLIC_STRIPE_PRICE_XSCOPEHUB_SUBSCRIPTION XScopeHub 订阅
NEXT_PUBLIC_STRIPE_PRICE_XCLOUDFLOW_PAYGO XCloudFlow 按量购买
NEXT_PUBLIC_STRIPE_PRICE_XCLOUDFLOW_SUBSCRIPTION XCloudFlow 订阅

这些值应填写为 Stripe Dashboard 中对应套餐的 price_... 标识。联调步骤见 docs/integrations/stripe-billing.md

核心特性 & 技术栈 (Features & Tech Stack)

核心特性:

  • 统一控制面:汇聚 Cloud Neutral Toolkit 各微服务入口
  • 原生 AI 助手工作区OpenClaw gateway 驱动的聊天、截图附件与会话体验
  • 融合集成设置:在 /panel/api 统一管理 OpenClaw、Vault、APISIX AI Gateway
  • 文档与内容系统Contentlayer 驱动的 docs/content pipeline
  • 可扩展集成OIDC、Cloudflare Web Analytics 等

技术栈:

  • Next.js + TypeScript
  • Tailwind CSS + Radix UI
  • Zustand
  • Contentlayer

开发命令 (Useful Commands)

yarn dev
yarn build
yarn typecheck
./node_modules/.bin/eslint . --no-eslintrc --config .eslintrc.json --resolve-plugins-relative-to .

说明文档 (Docs)

入口:

  • EN: docs/README.md
  • ZH: docs/zh/README.md

常用链接:

  • OIDC: docs/integrations/oidc-auth.md
  • Cloudflare Web Analytics: docs/integrations/cloudflare-web-analytics.md
  • Stripe billing: docs/integrations/stripe-billing.md
  • Assistant / Integrations env setup: docs/getting-started/installation.md
  • Chinese installation guide: docs/zh/getting-started/installation.md

其他:

  • Agent rules: AGENTS.md