Files
devvm/testdata/script
w3cjandClaude Opus 5.5 5304e9a2b7 feat(export): devvm export saves a VM's agent history
devvm export [FILE] saves this folder's VM's agents' history (the same
paths and login excludes as rm's export) to FILE, relative to the
current folder, or to a new <vm>-<date>-<time>.tar.gz in the exports
folder. A stopped VM is started for it. It needs a finished VM made for
this folder.

The export is now written to a temporary file beside its target (mode
600) and renamed into place once complete, for rm's export too: a failed
export leaves no file and an existing FILE as it was.

Messages: history_not_exported (logged) and export_failed (reason) for
devvm export; rm's is now rm_export_failed.

Tests: TestExport (default folder, a new folder for FILE, a failed
export keeping FILE); testdata/script/export.txtar (no VM, usage, a
stopped VM started, the script, a relative FILE, a failure keeping FILE
and the VM); e2e's project section exports a stopped agent VM's history
to a file, without its logins.

Docs: coding-agents.md#history, commands.md, the CLI reference.

Co-Authored-By: Claude Opus 5.5 <[email protected]>
2026-10-24 21:30:52 -06:00
..
2026-10-24 09:50:15 -06:00
2026-10-24 09:50:15 -06:00