Skip to content

Add trajectory recording to cua do CLI - #1111

Merged
ddupont808 merged 9 commits into
mainfrom
ddupont/cua-cli-improvements
Feb 25, 2026
Merged

Add trajectory recording to cua do CLI#1111
ddupont808 merged 9 commits into
mainfrom
ddupont/cua-cli-improvements

Conversation

@ddupont808

Copy link
Copy Markdown
Collaborator

Merging PR #1110 to main

ddupont808 and others added 9 commits February 24, 2026 12:50
…ndlers from computer-server into its own SDK for reuse by our various SDKs
Every cua do action is now automatically recorded to a replayable
trajectory at ~/.cua/trajectories/{machine}/{session}/. Viewing opens
cua.ai/trajectory-viewer via a local CORS-enabled file server.

New files:
- trajectory_recorder.py: session management, turn writing, zip, clean
- trajectory.py: cua trajectory ls/view/stop/clean commands

Modified:
- do.py: --no-record flag, post-action screenshot recording in all handlers,
  session reset on switch
- main.py, __init__.py: register trajectory command
- SKILL.md: document trajectory recording

Co-authored-by: Claude Opus 4.6 <noreply@anthropic.com>
Co-authored-by: ddupont <3820588+ddupont808@users.noreply.github.com>
@vercel

vercel Bot commented Feb 25, 2026

Copy link
Copy Markdown
Contributor

The latest updates on your projects. Learn more about Vercel for GitHub.

Project Deployment Actions Updated (UTC)
docs Building Building Preview, Comment Feb 25, 2026 3:10pm

Request Review

@coderabbitai

coderabbitai Bot commented Feb 25, 2026

Copy link
Copy Markdown
Contributor

Important

Review skipped

Auto reviews are limited based on label configuration.

🏷️ Required labels (at least one) (1)
  • rabbit

Please check the settings in the CodeRabbit UI or the .coderabbit.yaml file in this repository. To trigger a single review, invoke the @coderabbitai review command.

You can disable this status message by setting the reviews.review_status to false in the CodeRabbit configuration file.

Use the checkbox below for a quick retry:

  • 🔍 Trigger review
✨ Finishing Touches
🧪 Generate unit tests (beta)
  • Create PR with unit tests
  • Post copyable unit tests in a comment
  • Commit unit tests in branch ddupont/cua-cli-improvements

Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out.

❤️ Share

Comment @coderabbitai help to get the list of available commands and usage tips.

@github-actions

Copy link
Copy Markdown
Contributor

📦 Publishable packages changed

  • pypi/cli

Add release:<service> labels to auto-release on merge (+ optional bump:minor or bump:major, default is patch).
Or add no-release to skip.

@ddupont808
ddupont808 merged commit a00ee8e into main Feb 25, 2026
29 checks passed
@sentry

sentry Bot commented Feb 25, 2026

Copy link
Copy Markdown

Codecov Report

✅ All modified and coverable lines are covered by tests.

📢 Thoughts on this report? Let us know!

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.

2 participants