Skip to content

fix subagent workspace navigation#1140

Draft
Victorzinn704 wants to merge 1 commit into
getpaseo:mainfrom
Victorzinn704:fix/subagent-workspace-navigation
Draft

fix subagent workspace navigation#1140
Victorzinn704 wants to merge 1 commit into
getpaseo:mainfrom
Victorzinn704:fix/subagent-workspace-navigation

Conversation

@Victorzinn704
Copy link
Copy Markdown

Fixes #1130.

Summary

  • Resolve subagent rows to the parent workspace when the child cwd is nested under that workspace.
  • Keep the existing host-agent fallback when no workspace can be resolved.
  • Add a regression test for nested subagent cwd navigation.

Test plan

  • npm run build:workspace-deps --workspace=@getpaseo/app
  • npm run test --workspace=@getpaseo/app -- src/utils/navigate-to-agent.test.ts
  • npm run typecheck --workspace=@getpaseo/app
  • npm run lint -- packages/app/src/utils/navigate-to-agent.ts packages/app/src/utils/navigate-to-agent.test.ts

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.

Subagent composer row can navigate to open project screen

1 participant