@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.
- package/lib/init.js +5 -3
- 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
|
-
//
|
|
95
|
-
|
|
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
|
|
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
|