agentmesh-ai 0.5.1 → 0.5.2

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/GUIDE-EN.md CHANGED
@@ -48,8 +48,11 @@ It will ask a few questions:
48
48
  ? Your name? Alice
49
49
  ? Your role? Backend Developer
50
50
  ? Your AI coding tool? Claude Code
51
+ ? Where is your team located? 🌍 Global (Supabase)
51
52
  ```
52
53
 
54
+ > **Region selection**: Choose Global for international teams (data stored on Supabase) or China for teams in mainland China (data stored on MemFire, faster in China). Teammates who `join` automatically connect to the same region — zero configuration needed.
55
+
53
56
  You'll see:
54
57
 
55
58
  ```
@@ -384,7 +387,7 @@ Charlie's AI reads shared memory and instantly knows everything — tech stack,
384
387
 
385
388
  ### Q: Where is data stored?
386
389
 
387
- In the cloud (Supabase database). The local `.agenthub/` folder is just a cache for offline fallback. You don't need to manage it.
390
+ In the cloud. Global teams use Supabase; China teams use MemFire (domestic servers, faster in mainland China). The region is chosen during `init` and teammates automatically follow. The local `.agenthub/` folder is just a cache for offline fallback.
388
391
 
389
392
  ### Q: Do I need Git?
390
393
 
package/GUIDE.md CHANGED
@@ -48,15 +48,18 @@ npx agentmesh-ai init
48
48
  ? Your name? 小明
49
49
  ? Your role? Backend Developer
50
50
  ? Your AI coding tool? Claude Code
51
+ ? Where is your team located? 🇨🇳 China (MemFire)
51
52
  ```
52
53
 
54
+ > **区域选择**:如果团队主要在中国大陆,选 China(数据存国内 MemFire,速度更快);国际团队选 Global(数据存 Supabase)。队友加入时会自动连到同一个区域,不需要额外配置。
55
+
53
56
  完成后你会看到:
54
57
 
55
58
  ```
56
59
  ✅ Created .agenthub/
57
60
 
58
61
  Your Agent ID: xiaoming-claude-code
59
- Team ID: team-a1b2c3d4
62
+ Team ID: team-cn-a1b2c3d4
60
63
 
61
64
  ☁️ Cloud sync enabled — memories live in the cloud, no Git needed.
62
65
 
@@ -66,7 +69,7 @@ npx agentmesh-ai init
66
69
  npx agentmesh-ai join team-a1b2c3d4
67
70
  ```
68
71
 
69
- **记下 Team ID**(比如 `team-a1b2c3d4`),这是你团队的唯一标识。发给队友就能让他们加入。
72
+ **记下 Team ID**(比如 `team-cn-a1b2c3d4` 或 `team-a1b2c3d4`),这是你团队的唯一标识。发给队友就能让他们加入。
70
73
 
71
74
  > `.agenthub/` 文件夹会自动 gitignore,所有数据通过云端同步,你不需要管它。
72
75
 
@@ -402,7 +405,7 @@ npx agentmesh-ai join team-a1b2c3d4
402
405
 
403
406
  ### Q: 数据存在哪里?
404
407
 
405
- 云端(Supabase 数据库)。本地 `.agenthub/` 文件夹只是缓存,断网时兜底用。你不需要管本地文件。
408
+ 云端数据库。国际团队存在 Supabase,中国团队存在 MemFire(国内服务器,速度更快)。`init` 时选择区域,队友 `join` 时自动跟随。本地 `.agenthub/` 文件夹只是缓存,断网时兜底用。
406
409
 
407
410
  ### Q: 需要 Git 吗?
408
411
 
package/README.md CHANGED
@@ -73,7 +73,7 @@ cd your-project
73
73
  npx agentmesh-ai init
74
74
  ```
75
75
 
76
- You'll get a **Team ID** like `team-a1b2c3d4`. This is your team's cloud identifier.
76
+ You'll get a **Team ID** like `team-a1b2c3d4` (global) or `team-cn-a1b2c3d4` (China). This is your team's cloud identifier.
77
77
 
78
78
  ### 2. Configure your AI tool
79
79
 
@@ -121,7 +121,13 @@ Your AI (Claude Code) Teammate's AI (Cursor)
121
121
  +-------------------+
122
122
  ```
123
123
 
124
- - **Cloud is the source of truth** — memories and conversations persist in Supabase
124
+ **Multi-region support**: During `init`, choose your data region:
125
+ - **Global** — Supabase (recommended for international teams)
126
+ - **China** — MemFire (faster for teams in mainland China)
127
+
128
+ Region is encoded in Team ID (`team-` = global, `team-cn-` = China). Teammates who `join` automatically connect to the same region.
129
+
130
+ - **Cloud is the source of truth** — memories and conversations persist in the cloud
125
131
  - **Local files are just cache** — for offline fallback, automatically managed
126
132
  - **No Git tracking needed** — `.agenthub/` is gitignored by default
127
133
  - **No AI API calls** — AgentMesh is a protocol layer, not a model provider
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "agentmesh-ai",
3
- "version": "0.5.1",
3
+ "version": "0.5.2",
4
4
  "description": "Let your AI agents share knowledge and talk to each other",
5
5
  "type": "module",
6
6
  "main": "./dist/index.js",