Skip to content
This repository was archived by the owner on May 15, 2026. It is now read-only.

fix(cli): scope sessions and resume flags to current workspace - #11774

Merged
cte merged 2 commits into
mainfrom
cte/cli-workspace-scoped-sessions
Feb 27, 2026
Merged

fix(cli): scope sessions and resume flags to current workspace#11774
cte merged 2 commits into
mainfrom
cte/cli-workspace-scoped-sessions

Conversation

@cte

@ctecte commented Feb 27, 2026

Copy link
Copy Markdown
Contributor

Summary

  • scope session lookup to the active workspace for --continue and --session-id
  • scope roo list sessions to the active workspace
  • include a top-level workspace field in roo list sessions --format json output
  • add a shared CLI task-history helper with workspace filtering/resume-id resolution and tests
  • update list command tests for workspace-scoped output

Validation

  • pnpm --filter @roo-code/cli test -- src/lib/task-history/tests/index.test.ts src/commands/cli/tests/list.test.ts
  • pnpm --filter @roo-code/cli check-types
  • pnpm --filter @roo-code/cli lint
  • manual: pnpm dev --print --provider openrouter --api-key test --session-id <id-from-other-workspace> now errors with "Session not found in current workspace"

Interactively review PR in Roo Code Cloud

@cte
cte requested a review from daniel-lxs as a code ownerFebruary 27, 2026 00:01
@dosubotdosubotBot added size:L This PR changes 100-499 lines, ignoring generated files. bug Something isn't working labels Feb 27, 2026
@cte
cte merged commit 81047a6 into mainFeb 27, 2026
7 checks passed
@cte
cte deleted the cte/cli-workspace-scoped-sessions branch February 27, 2026 05:32
@github-actionsgithub-actionsBot mentioned this pull request Mar 4, 2026
Sign up for freeto subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

bugSomething isn't workingsize:LThis PR changes 100-499 lines, ignoring generated files.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant

@cte