shennian 0.5.52 → 0.5.54

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/README.md CHANGED
@@ -2,13 +2,7 @@
2
2
 
3
3
  > Shennian AI Agent 控制面的本机后台服务 / CLI
4
4
  >
5
- > **架构设计** → [docs/architecture/cli/](../../docs/architecture/cli/)
6
- > - [CLI 设计哲学](../../docs/architecture/cli/design-philosophy.md) — CLI、Skill、daemon、身份与宿主适配边界
7
- > - [Daemon 架构](../../docs/architecture/cli/daemon.md) — 模块拓扑、数据流、守护进程
8
- > - [Agent Adapters](../../docs/architecture/cli/agent-adapters.md) — 5 种 agent 的适配与归一化
9
- > - [Agent Protocol](../../docs/architecture/cli/agent-protocol.md) — 第三方 agent 接入协议
10
- >
11
- > **Agent 协议 & SDK** → [packages/agent-protocol/](../agent-protocol/)
5
+ > [运行架构与安全边界](../../docs/cli-runtime.md) · [工具接入说明](../../docs/agent-adapters/README.md) · [Agent 协议与 SDK](../agent-protocol/)
12
6
 
13
7
  ## 常用命令
14
8
 
@@ -24,15 +18,15 @@
24
18
  | `shennian status` | 查看后台服务状态 |
25
19
  | `shennian logs -n 100` | 查看最近日志 |
26
20
  | `shennian config` | 查看本地配置 |
27
- | `shennian config set server cn\|global` | 切换国内 / 海外中继节点 |
21
+ | `shennian pair --server <url>` | 连接指定的自托管实例并配对;已绑定安装禁止直接换服 |
28
22
  | `shennian room create/join/status/read/send/attachment get/leave` | 创建或参与明确的神念群聊 |
29
23
  | `shennian runtime add/list/remove` | 管理自定义 Agent Runtime |
30
24
  | `shennian upgrade` | 升级 CLI |
31
25
 
32
26
  `start`、`stop`、`status`、`logout` 可选加 `--json`。`logs` 输出日志文本,不支持 `--json`。
33
- 切换节点后运行 `shennian stop && shennian start` 让后台服务重新连接。
27
+ 自托管配对时显式指定同一实例地址;同一安装不支持多个活动 Server。停止再启动不能绕过实例绑定保护。
34
28
 
35
- ## 随 Client 提供的功能指南(开发候选,尚未发布)
29
+ ## 随 Client 提供的功能指南
36
30
 
37
31
  不需要仓库、登录、联网或启动 daemon,当前 Agent 可按需查询:
38
32
 
@@ -56,7 +50,7 @@ pnpm dev # tsc --watch
56
50
  ## 测试
57
51
 
58
52
  ```bash
59
- cd packages/cli
53
+ cd open-source/packages/cli
60
54
 
61
55
  # 全部 agent E2E
62
56
  npx tsx src/__tests__/agents-e2e.ts