@clawos-dev/clawd 0.2.48-beta.75.1f74136 → 0.2.48-beta.76.f411c83

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.
@@ -29,14 +29,15 @@ clawd 的 OwnerProfile 是 `~/.clawd/profile.json`,schema v1 只有一个字
29
29
 
30
30
  **记录里没有时**,按顺序探测:
31
31
 
32
- 1. **自动探测常见路径**——逐个 Read 下列路径下的 `clawos.code-workspace`(这个文件是仓库根的标志),Read 成功即说明该目录是 clawos clone:
33
- - `~/Desktop/projects/clawos/clawos.code-workspace`
34
- - `~/projects/clawos/clawos.code-workspace`
35
- - `~/code/clawos/clawos.code-workspace`
36
- - `~/dev/clawos/clawos.code-workspace`
37
- - `~/clawos/clawos.code-workspace`
38
-
39
- 任意一个命中 该路径就是答案,跳到下面「拿到路径后」一节。
32
+ 1. **自动搜本机**——`clawos.code-workspace` 是仓库根的标志文件(仓库名也是 `clawos`),用 Bash 在老板 home dir 限深扫一遍:
33
+
34
+ ```bash
35
+ find ~ -maxdepth 5 -name "clawos.code-workspace" -not -path "*/node_modules/*" 2>/dev/null | head -5
36
+ ```
37
+
38
+ - **1 条结果**:取它的父目录即仓库路径,跳到下面「拿到路径后」一节
39
+ - **多条结果**(老板可能开了多个 worktree / 分支):把候选列给老板挑哪个是主要工作目录,再走「拿到路径后」
40
+ - **0 条结果**:走下面 2-3 步引导 clone
40
41
 
41
42
  2. **没命中**就问老板:「您本地有 clawos 仓库的 clone 吗?路径告诉我;没有的话我建议执行以下命令」:
42
43
  ```
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@clawos-dev/clawd",
3
- "version": "0.2.48-beta.75.1f74136",
3
+ "version": "0.2.48-beta.76.f411c83",
4
4
  "description": "Standalone clawd daemon — Claude Code (and future Codex) session server over WebSocket",
5
5
  "type": "module",
6
6
  "license": "MIT",