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
{{ message }}
Repository navigation
Commit 5cd92ed
Browse filesBrowse the repository at this point in the historyBrowse files
|`--model <model>`|| Override the configured LLM model |
@@ -347,8 +349,18 @@ Skills are discovered from:
347
349
348
350
See [Agent Skills Documentation](docs/agent-skills.md) for creating custom skills.
349
351
352
+
## Automatic commits
353
+
354
+
`--auto-commit` snapshots the repository before the agent starts editing. It commits only session changes and lists pre-existing edits and untracked files as `left uncommitted (yours)`. An initially dirty file stays uncommitted even if the agent edits it again. Your existing staging is preserved. Automatic commits are disabled if a safe baseline cannot be captured.
355
+
356
+
## Proxy settings
357
+
358
+
Node installs use `HTTPS_PROXY`, `HTTP_PROXY` and `NO_PROXY` for requests, including provider SDK calls. Lowercase variables take precedence; Bun binaries use Bun's native proxy support. Corporate certificate bundles can be supplied with `NODE_EXTRA_CA_CERTS`.
359
+
350
360
## Slash Commands
351
361
362
+
`/undo` restores every recorded agent file change from the last turn, newest first. It stops on the first unsafe restore and keeps the turn. Shell commands are not undone; restored sessions without a file journal are kept. `/export` redacts credentials and saves bare filenames under `~/.autohand/exports/` (or `$AUTOHAND_HOME/exports/`). Use an absolute or `./`-prefixed path to choose another location.
The picker supports arrow keys, Enter, and page navigation for older sessions. Escape or Ctrl+C cancels without starting a session. `--last` uses the last activity time, falling back to creation time for older session metadata. Without a terminal, provide `--last` or an explicit reference. References cannot be combined with `--last` or `--all`; `-c` remains auto-commit.
629
+
The picker supports arrow keys, Enter, and page navigation for older sessions. Escape or Ctrl+C cancels without starting a session. `--last` uses the last activity time, falling back to creation time for older session metadata. Without a terminal, provide `--last` or an explicit reference. References cannot be combined with `--last` or `--all`.
630
+
631
+
`autohand -c` continues the most recently active session in this folder. If none exists, it starts a new one. Use `autohand -c -p "Continue the fix"` for a headless continuation, or `autohand -r <id>` to select a session directly. `autohand -r` opens the folder picker. `--ephemeral` cannot be combined with `--continue`, `--resume`, or `--fork`.
-**All agent operations** (file reads, writes, commands) happen in the worktree
217
189
-**Checkpoints** create commits in the automode branch at regular intervals
218
-
-**Merge happens once** at the end on successful completion
190
+
-**Merge is manual**: completed runs keep their branch and worktree for review. The summary prints the merge and safe cleanup commands.
219
191
-**Preserved on failure** so you can inspect, recover, or cherry-pick changes
220
192
221
193
**Benefits:**
@@ -237,16 +209,16 @@ This prevents getting stuck in unproductive loops.
237
209
238
210
## State File
239
211
240
-
Auto-mode maintains state in `.autohand/automode.local.md`:
212
+
Each run stores its state in `$AUTOHAND_HOME/automode/<workspace-id>/<run-id>/automode.local.md` (`~/.autohand` is the default home). State stays outside the project and is private to the current user. Legacy `.autohand/automode.local.md` files are ignored and do not activate a later interactive session:
241
213
242
214
```markdown
243
215
# Auto-Mode State
244
216
245
217
## Session
246
218
-**Started:** 2026-01-06T14:30:00Z
247
219
-**Prompt:** Build a REST API for todos with CRUD operations
0 commit comments