@clawos-dev/clawd 0.2.124-beta.250.e1ddf93 → 0.2.124-beta.251.a58f774

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.
@@ -0,0 +1,15 @@
1
+ {
2
+ "_comment": "preinstall ship 进 daemon defaults。跟 persona-app-builder / persona-developer 同一份配置——共享同一台阿里云自建 supabase(120.26.157.138)+ 同一把阿里云 RDS AK(共享 demo 凭证,跟 .secrets/aliyun.env 同性质,PR #808 决策前提)。daemon refreshDaemonManagedDirs 把这文件同步到 ~/.clawd*/personas/persona-bug-fixer/.mcp.json。cc CLI 在 persona dir 自动加载 → assistant 直接可调 mcp__supabase__*。",
3
+ "mcpServers": {
4
+ "supabase": {
5
+ "type": "stdio",
6
+ "command": "npx",
7
+ "args": [
8
+ "@aliyun-rds/supabase-mcp-server",
9
+ "--aliyun-ak", "LTAI5tSebp9pyBLk2nxF5wDg",
10
+ "--aliyun-sk", "DnkOBhZ9pLympYlwcLuQbsaGRIitwG",
11
+ "--aliyun-region", "cn-hangzhou"
12
+ ]
13
+ }
14
+ }
15
+ }
@@ -91,32 +91,10 @@ done
91
91
 
92
92
  **ALWAYS**:增量提交可工作的代码 / 跟随项目模式 / 3 次失败停下重新评估 / 修完写回归测试 / **动手前自问"我有几成把握",< 70% 先加日志再说**
93
93
 
94
- ## 可选:按需配 MCP server
94
+ ## MCP server
95
95
 
96
- 这个 persona 没有强依赖任何 MCP server。如果修 bug 时需要操作 supabase / 其他数据源辅助复现或排查,按需在 **persona 目录**下创建 `.mcp.json`(注意是 persona 目录,不是项目目录,这样只对当前 persona 生效):
96
+ **已 preinstall:阿里云自建 supabase MCP**。daemon ship `.mcp.json` persona 目录,cc 启动时自动加载,assistant 直接可调 `mcp__supabase__*` 工具(list_tables / execute_sql / get_logs 等)操作 clawos 共享阿里云 supabase(`120.26.157.138`)—— bug 复现需要查 DB / 看日志时直接用。
97
97
 
98
- ```bash
99
- cat > ~/.clawd/personas/persona-bug-fixer/.mcp.json <<'EOF'
100
- {
101
- "mcpServers": {
102
- "supabase": {
103
- "command": "npx",
104
- "args": [
105
- "-y",
106
- "@supabase/mcp-server-supabase@latest",
107
- "--project-ref=<你的 project ref>"
108
- ],
109
- "env": {
110
- "SUPABASE_ACCESS_TOKEN": "<你的 access token>"
111
- }
112
- }
113
- }
114
- }
115
- EOF
116
- ```
117
-
118
- - `<你的 project ref>`:在 supabase dashboard 项目设置里找
119
- - `<你的 access token>`:去 https://supabase.com/dashboard/account/tokens 创建
120
- - 其他 MCP server 同理:参考各 server 自己的 npm package README
98
+ ⚠️ **`.mcp.json` 是 daemon 管理文件**(在 `DAEMON_MANAGED_PATHS` 里),每次 daemon 启动会用 bundle 版本覆盖,**不要手改本地**——要改 MCP 配置去改 daemon defaults 源 + 提 PR。
121
99
 
122
- **安全**:`.mcp.json` secret,**禁止** commit git / 上传到任何分享通道。persona 目录默认不在 git 仓库里,但如果老板把整个 `~/.clawd/` 同步到云盘/备份,注意排除 `.mcp.json`。
100
+ **要加别的 MCP server**(项目专属 / 个人用):在**项目目录**(不是 persona 目录)下加 `.mcp.json`,跟 persona 这份不冲突。或者扩 daemon defaults 给所有用户。
@@ -0,0 +1,15 @@
1
+ {
2
+ "_comment": "preinstall ship 进 daemon defaults。跟 persona-app-builder / persona-bug-fixer 同一份配置——共享同一台阿里云自建 supabase(120.26.157.138)+ 同一把阿里云 RDS AK(共享 demo 凭证,跟 .secrets/aliyun.env 同性质,PR #808 决策前提)。daemon refreshDaemonManagedDirs 把这文件同步到 ~/.clawd*/personas/persona-developer/.mcp.json。cc CLI 在 persona dir 自动加载 → assistant 直接可调 mcp__supabase__*。",
3
+ "mcpServers": {
4
+ "supabase": {
5
+ "type": "stdio",
6
+ "command": "npx",
7
+ "args": [
8
+ "@aliyun-rds/supabase-mcp-server",
9
+ "--aliyun-ak", "LTAI5tSebp9pyBLk2nxF5wDg",
10
+ "--aliyun-sk", "DnkOBhZ9pLympYlwcLuQbsaGRIitwG",
11
+ "--aliyun-region", "cn-hangzhou"
12
+ ]
13
+ }
14
+ }
15
+ }
@@ -95,32 +95,10 @@ done
95
95
 
96
96
  **ALWAYS**:增量提交可工作的代码 / 从既有实现学 / 3 次失败停下重新评估 / 错误处理快速失败 + 描述清楚 + 不静默吞异常
97
97
 
98
- ## 可选:按需配 MCP server
98
+ ## MCP server
99
99
 
100
- 这个 persona 没有强依赖任何 MCP server。如果老板的项目需要操作 supabase / 其他数据源,按需在 **persona 目录**下创建 `.mcp.json`(注意是 persona 目录,不是项目目录,这样只对当前 persona 生效):
100
+ **已 preinstall:阿里云自建 supabase MCP**。daemon ship `.mcp.json` persona 目录,cc 启动时自动加载,assistant 直接可调 `mcp__supabase__*` 工具(list_tables / execute_sql / apply_migration 等)操作 clawos 共享阿里云 supabase(`120.26.157.138`)。
101
101
 
102
- ```bash
103
- cat > ~/.clawd/personas/persona-developer/.mcp.json <<'EOF'
104
- {
105
- "mcpServers": {
106
- "supabase": {
107
- "command": "npx",
108
- "args": [
109
- "-y",
110
- "@supabase/mcp-server-supabase@latest",
111
- "--project-ref=<你的 project ref>"
112
- ],
113
- "env": {
114
- "SUPABASE_ACCESS_TOKEN": "<你的 access token>"
115
- }
116
- }
117
- }
118
- }
119
- EOF
120
- ```
121
-
122
- - `<你的 project ref>`:在 supabase dashboard 项目设置里找
123
- - `<你的 access token>`:去 https://supabase.com/dashboard/account/tokens 创建
124
- - 其他 MCP server 同理:参考各 server 自己的 npm package README
102
+ ⚠️ **`.mcp.json` 是 daemon 管理文件**(在 `DAEMON_MANAGED_PATHS` 里),每次 daemon 启动会用 bundle 版本覆盖,**不要手改本地**——要改 MCP 配置去改 daemon defaults 源 + 提 PR。
125
103
 
126
- **安全**:`.mcp.json` secret,**禁止** commit git / 上传到任何分享通道。persona 目录默认不在 git 仓库里,但如果老板把整个 `~/.clawd/` 同步到云盘/备份,注意排除 `.mcp.json`。
104
+ **要加别的 MCP server**(项目专属 / 个人用):在**项目目录**(不是 persona 目录)下加 `.mcp.json`,跟 persona 这份不冲突。或者扩 daemon defaults 给所有用户。
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@clawos-dev/clawd",
3
- "version": "0.2.124-beta.250.e1ddf93",
3
+ "version": "0.2.124-beta.251.a58f774",
4
4
  "description": "Standalone clawd daemon — Claude Code (and future Codex) session server over WebSocket",
5
5
  "type": "module",
6
6
  "license": "MIT",