You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
-**WSL Windows mounts** (`/mnt/c`, `/mnt/c/Users/<user>`)
174
+
175
+
This check cannot be bypassed. If you try to run autohand in a dangerous directory, you'll see an error and must specify a safe project directory.
176
+
177
+
```bash
178
+
# This will be blocked
179
+
cd~&& autohand
180
+
# Error: Unsafe Workspace Directory
181
+
182
+
# This works
183
+
cd~/projects/my-app && autohand
184
+
```
185
+
186
+
See [Workspace Safety](./workspace-safety.md) for full details.
187
+
166
188
---
167
189
168
190
## UI Settings
@@ -283,7 +305,8 @@ Control agent behavior and iteration limits.
283
305
{
284
306
"agent": {
285
307
"maxIterations": 100,
286
-
"enableRequestQueue": true
308
+
"enableRequestQueue": true,
309
+
"debug": false
287
310
}
288
311
}
289
312
```
@@ -292,6 +315,17 @@ Control agent behavior and iteration limits.
292
315
|-------|------|---------|-------------|
293
316
|`maxIterations`| number |`100`| Maximum tool iterations per user request before stopping |
294
317
|`enableRequestQueue`| boolean |`true`| Allow users to type and queue requests while agent is working |
318
+
|`debug`| boolean |`false`| Enable verbose debug output (logs agent internal state to stderr) |
319
+
320
+
### Debug Mode
321
+
322
+
Enable debug mode to see verbose logging of agent internal state (react loop iterations, prompt building, session details). Output goes to stderr to avoid interfering with normal output.
323
+
324
+
Three ways to enable debug mode (in order of precedence):
325
+
326
+
1.**CLI flag**: `autohand -d` or `autohand --debug`
327
+
2.**Environment variable**: `AUTOHAND_DEBUG=1`
328
+
3.**Config file**: Set `agent.debug: true`
295
329
296
330
### Request Queue
297
331
@@ -888,7 +922,8 @@ When hooks execute, these environment variables are available:
888
922
},
889
923
"agent": {
890
924
"maxIterations": 100,
891
-
"enableRequestQueue": true
925
+
"enableRequestQueue": true,
926
+
"debug": false
892
927
},
893
928
"permissions": {
894
929
"mode": "interactive",
@@ -968,6 +1003,7 @@ ui:
968
1003
agent:
969
1004
maxIterations: 100
970
1005
enableRequestQueue: true
1006
+
debug: false
971
1007
972
1008
permissions:
973
1009
mode: interactive
@@ -1060,6 +1096,7 @@ These flags override config file settings:
1060
1096
| `--temperature <n>` | Set temperature (0-1) |
1061
1097
| `--yes` | Auto-confirm prompts |
1062
1098
| `--dry-run` | Preview without executing |
1099
+
| `-d, --debug` | Enable verbose debug output |
1063
1100
| `--unrestricted` | No approval prompts |
1064
1101
| `--restricted` | Deny dangerous operations |
1065
1102
| `--permissions` | Display current permission settings and exit |
Copy file name to clipboardExpand all lines: docs/telemetry.md
+49-47Lines changed: 49 additions & 47 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -11,6 +11,7 @@
11
11
Autohand CLI includes an optional telemetry system designed to help improve the product while respecting user privacy. This document outlines what data is collected, how it's handled, and how users can control their data.
12
12
13
13
**Guiding Principles:**
14
+
14
15
1.**Privacy First** - No personally identifiable information (PII) is ever collected
0 commit comments