You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
In a recent patch, the TerminalRegistry was patched to require a terminal that matches the task's directory. However, the registry does not track changes within the task, thus, the following sequence of actions will always fail:
execute_command cd subdirexecute_command command_from_subdir
💥 Outcome Summary
The TerminalRegistry should track the changes in the Task's working directory based on the cwd of the last terminal that was used. Instead, it always assumes the root directory of the project, so the above sequence will always spawn a new terminal on the second execute_command call, reading to failure.
In a wider scope, this means that whenever any cd something && action commands are performed, a new terminal is spawned every time after this happens, since the only matching terminals are the ones that match the root directory of the project.
App Version
3.26.3
API Provider
Google Gemini
Model Used
gemini-pro-2.5
Roo Code Task Links (Optional)
No response
🔁 Steps to Reproduce
In a recent patch, the TerminalRegistry was patched to require a terminal that matches the task's directory. However, the registry does not track changes within the task, thus, the following sequence of actions will always fail:
💥 Outcome Summary
The
TerminalRegistryshould track the changes in the Task's working directory based on thecwdof the last terminal that was used. Instead, it always assumes the root directory of the project, so the above sequence will always spawn a new terminal on the secondexecute_commandcall, reading to failure.In a wider scope, this means that whenever any
cd something && actioncommands are performed, a new terminal is spawned every time after this happens, since the only matching terminals are the ones that match the root directory of the project.📄 Relevant Logs or Errors (Optional)