@veewo/claw 0.2.3 → 0.2.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/README.md CHANGED
@@ -53,6 +53,50 @@ In a typical round, the CLI helps land this loop in a project:
53
53
 
54
54
  That project-level plan structure helps agents carry longer-running work more cleanly than leaving the task in loose chat state alone.
55
55
 
56
+ ## Persistent sessions
57
+
58
+ Open a persistent terminal with:
59
+
60
+ ```bash
61
+ claw session open <dir> <agent-session-id>
62
+ ```
63
+
64
+ The workdir is immutable for the lifetime of that session. Opening another
65
+ directory closes the prior live connection and opens the composite identity
66
+ `(canonical workdir, agent session id)`; two directories with the same agent id
67
+ remain isolated.
68
+
69
+ Inside the terminal, these commands implicitly target `currentPlan`:
70
+
71
+ ```text
72
+ plan show [--simple]
73
+ plan edit ...
74
+ plan wait
75
+ plan done --retrospective "..."
76
+ task add ...
77
+ task edit --id ...
78
+ task done --id ...
79
+ ```
80
+
81
+ Use `plan resume` to resume the retained current plan, `plan resume <planId>` to
82
+ make a specified resumable plan current, and `plan leave` to enter
83
+ `end.leave` and clear focus. Every `end.*` triggers end-state finalization;
84
+ `end.leave` remains resumable and does not set `completedAt`.
85
+
86
+ `search --dir <dir> <query>` changes only that search operation. It never
87
+ changes the session workdir or current plan.
88
+
89
+ On an interrupted connection, mutations are never replayed automatically.
90
+ Reopen with the exact command returned by the error, then inspect
91
+ `plan show --simple`. Retained v2 state expires seven days after its last
92
+ update. Legacy session caches are not migrated and canonical plans are never
93
+ deleted by v2 cleanup.
94
+
95
+ Host adapters remain compatible with the stateless CLI. They can adopt
96
+ `@veewo/claw-client` incrementally once they consume the same structured
97
+ post-commit effects; opening a persistent session does not change existing
98
+ adapter behavior.
99
+
56
100
  Codex startup workflow should rely on the session hook or startup recovery path instead of treating any extra manual recovery step as required after plan creation.
57
101
 
58
102
  ## Search and recall