TimeAgent for VS Code
TimeAgent is an independent safety and rollback layer for coding agents. It preserves pre-existing uncommitted work and can undo filesystem changes made during protected sessions directly from VS Code.
Quick Start
TimeAgent Core is bundled with the extension. VS Code users do not need to install the TimeAgent CLI globally. Codex, Claude Code, or another selected agent must still be installed separately. Using TimeAgent from the terminalThe standalone CLI remains available for terminal-only workflows:
Installing the global CLI is optional for VS Code users. The extension always uses its bundled Core and ignores globally installed TimeAgent versions. Features
Binary files and text files larger than 1 MiB are identified without attempting to display their contents. Requirements
The extension includes TimeAgent Core 0.2.9 and does not install or modify global npm packages. Protection scopeThe Protection setting is workspace UI state. A session is protected only when it is launched with TimeAgent: Start Protected Session. The extension does not monitor or automatically protect unrelated terminals or coding-agent processes. Extension-launched agents run directly in the user's native VS Code integrated shell, preserving keyboard input, Ctrl+C, colors, prompts, and resizing. The extension uses its embedded Core to prepare the checkpoint before launch and to finalize it after normal completion. Terminal interruption or VS Code shutdown preserves an interrupted checkpoint for recovery. The sidebar refreshes when the protected command ends; TimeAgent: Refresh remains available as a manual fallback. The extension does not poll continuously. External-action monitoring is a limited, PATH-based signal rather than a complete sandbox. It can be bypassed, and effects outside the repository filesystem are not automatically reversible. Policy evaluation remains entirely in TimeAgent Core. See the repository README for the policy schema and matching semantics. Before/after contents are held only in memory behind opaque virtual-document URIs. Refreshing, starting another session, or completing Undo invalidates that cache. Local development
Open This extension is not affiliated with OpenAI, Anthropic, Microsoft, or VS Code. |