Skip to content

feat(vscode): add agent action timeline undo - #887

Open
AryanNandanwar wants to merge 5 commits into
Nano-Collective:mainfrom
AryanNandanwar:agent-action-timeline-undo
Open

feat(vscode): add agent action timeline undo#887
AryanNandanwar wants to merge 5 commits into
Nano-Collective:mainfrom
AryanNandanwar:agent-action-timeline-undo

Conversation

@AryanNandanwar

Copy link
Copy Markdown
Contributor

Description

Adds an action timeline to the VS Code sidebar chat so users can click a prior mutating tool step and revert workspace files plus conversation history back to that checkpoint. Closes #809.

Type of Change

  • Bug fix
  • New feature
  • Breaking change
  • Documentation update

Changeset

  • Added a changeset (pnpm changeset) describing this change for the changelog

Docs-only or internal chores need no changeset (or run pnpm changeset --empty to note that intentionally).

Testing

Automated Tests

  • New features include passing tests in .spec.ts/tsx files
  • All existing tests pass (pnpm test:all completes successfully)
  • Tests cover both success and error scenarios

Manual Testing

  • Tested with Ollama
  • Tested with OpenRouter
  • Tested with OpenAI-compatible API
  • Tested MCP integration (if applicable)

Checklist

  • If this was for an open issue, I was assigned to it
  • Code follows project style guidelines
  • Self-review completed
  • Documentation updated (if needed)
  • No breaking changes (or clearly documented)
  • Appropriate logging added using structured logging (see CONTRIBUTING.md)

AryanNandanwar and others added 2 commits August 18, 2026 02:00
Session snapshots and the scratch test.txt were captured during manual testing and should not ship with the feature.

Co-authored-by: Cursor <cursoragent@cursor.com>
AryanNandanwar and others added 3 commits August 18, 2026 02:27
Timeline capture now calls toolManager.isReadOnly() during tool execution.
The queued-tools spec mock omitted that method, so four tests failed in CI
with "isReadOnly is not a function".

Co-authored-by: Cursor Agent <cursoragent@cursor.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

[Feature] Agent Action Timeline & "Time-Travel" Undo

1 participant