Management operator:Stable(@
@fellow.work/client≥ 0.5.65)— Console 覆盖实例、Integration App、模型、用户、用量与策略管理;产品 UI 能力仍以部署版本为准。
Console 是独立于 Gateway 的运维与管理平面,用于实例、Integration App、模型、用户、用量和部分策略。Desktop 本机 Settings 覆盖个人模型等本地配置,但不与 Console 的多实例和组织能力完全等价。
部署形态
| 模式 | 说明 |
|---|---|
| 桌面版 | 本机 Gateway + SQLite,个人/试点 |
| Cloud / Server | 数据库、沙箱与认证由实例 Profile 决定 |
| 私有化 Docker | 在客户网络运行;数据边界仍取决于模型和集成配置 |
| Fellow Console | 管理多个 fellow/cloud 实例(见 deploy/console) |
Console 通过宿主机 Docker 拉起 fellow/cloud 实例;浏览器访问 Console UI(默认 :8788)管理实例与 应用(登记软件产品并授权调用数字员工或连接器)。
Integration App 管理
Console 应用 页提供:
| 能力 | 说明 |
|---|---|
| 创建 / 禁用 App | 获得 app_ 与一次性 fkey_ |
| 轮换 Key | 泄露或离职流程 |
| allowed_origins | Embed CORS 与 JWT origin 校验 |
| allowed_agents / default_agent / runtimeUserId | 专家白名单与 harness 账号(可跨用户 binding) |
| API scopes 预设 | 标准嵌入 / 含 Control / 只读;可 应用实例策略默认(Gateway GET /api/console/policy/snapshot) |
| 用量与对话 | 按 App 查看 thread / 消息(非 Web Inbox) |
产品与 Console 运维 API 分工见下文 与 Gateway 的分工。Operator 契约见 Management Protocol 与 spec/management.openapi.yaml(193 ops · Stable · @fellow.work/client ≥ 0.5.65)。边界 adapter 见 Interfaces Protocol(Stable · ≥ 0.7.1)。
与 Gateway 的分工
| 平面 | 路径 | 凭证 | 用途 |
|---|---|---|---|
| 产品会话 | Gateway /api/threads … | Integration App Key | 日常 Interaction |
| 实例 operator | Gateway /api/console/* | Console Bearer | 单实例治理 |
| Platform Console | Console /api/* | Session Cookie | Fleet、部署、审计、实例代理 |
Console Web / Server 已接 @fellow.work/client/management。Conformance:Gateway 69 + Console 38;tarball contracts:test-management-sdk-package。Runbook 见 SDK spec/operations/management-runbook.md。
产品 Session Token 不能调 /api/console/*;Console Token 不能替代 Integration App Key 做 embed。
Fellow Desktop: 设置 → Agent → Gateway 运维 — 保存 FELLOW_CONSOLE_TOKEN 并探测 health / policy snapshot(Experimental)。
Workbench 边界: Workbench 数据面(线程、技能、项目、Connectors 等)经 @fellow.work/client 的 createClient;Management / Platform operator 仍走专用 client 或 lib/api.ts,不并入 createClient 根导出。
本地启动 Console(开发)
cp deploy/console/.env.example deploy/console/.env
# 修改 FELLOW_CONSOLE_PASSWORD 和 FELLOW_CONSOLE_SECRET
pnpm docker:console:build
pnpm docker:console:up
写入生效
Console 可通过 Gateway 的 /api/console/* 管理模型、Skills、用户、配额、认证、接入应用、用量与可观测数据。数据库驱动、Sandbox、Stream Bridge 和部分 Channel 开关仍由 Profile 或环境变量控制,修改后可能需要重启或重新部署。
相关文档
- Management Protocol
- 接入应用
- 商业许可 — Server 部署许可
- 安全与合规