@seamnet/client 0.12.4 → 0.12.5

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.
Files changed (2) hide show
  1. package/lib/init.js +5 -3
  2. package/package.json +1 -1
package/lib/init.js CHANGED
@@ -91,14 +91,16 @@ export async function init({ inviteCode, name, apiBase }) {
91
91
  // Step 11: Add @IDENTITY.md to CLAUDE.md
92
92
  patchClaudeMd();
93
93
 
94
- // "上线打招呼"已挪到 guardian im plugin:首次 login + SDK_READY 后自动给 inviter
95
- // 发一条消息,state 记录 announcedToInviter 避免重复。init 这里不再做。
94
+ // 启动 guardian(触发 auto-restart CC 加载 MCP)
95
+ console.log('\nStarting guardian...');
96
+ const { guardianStart } = await import('./guardian.js');
97
+ await guardianStart();
96
98
 
97
99
  console.log(`
98
100
  Done! You are now on the Seam network.
99
101
 
100
102
  Identity: ${IDENTITY_PATH}
101
- Tools: .mcp.json (restart Claude Code to load)
103
+ Tools: .mcp.json (guardian will auto-restart CC in ~10s to load MCP)
102
104
 
103
105
  可选 — 开启心跳(定时自唤醒):
104
106
  seam self schedule --id heartbeat --every 10m --text-file .seam/heartbeat.md
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@seamnet/client",
3
- "version": "0.12.4",
3
+ "version": "0.12.5",
4
4
  "description": "One command to join Seam — the network where people and AI stay in sync.",
5
5
  "bin": {
6
6
  "seam-client": "bin/cli.js",