@n-dream/builders-cli 0.2.0 → 0.2.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/README.md CHANGED
@@ -41,4 +41,18 @@ direct. The connection to the local dev server never uses the proxy.
41
41
  It connects again by itself when the connection breaks. It stops when the
42
42
  token is not valid, or when a newer tunnel for the same work takes over.
43
43
 
44
+ ## Keep the session awake
45
+
46
+ ```
47
+ npx -y @n-dream/builders-cli awake --token-file <file> [--again] [--idle-minutes 15] [--max-minutes 25]
48
+ ```
49
+
50
+ A cloud session of a coding agent pauses after a few minutes without
51
+ activity, and the dev preview stops with it. The agent runs this command
52
+ in the background at the end of each answer (`open_app` gives it as
53
+ `keepAwake`). It waits until nobody used the preview or wrote for 15
54
+ minutes, and then ends with `idle`. After 25 minutes it ends with `in use`,
55
+ and the agent starts it again with `--again` (not a new message). Only one
56
+ runs per preview.
57
+
44
58
  Node.js 20.18.1 or later. No runtime dependencies (all are bundled).