Skip to content

Conversation

@JessyTsui
Copy link

@JessyTsui JessyTsui commented Jan 28, 2026

Related Issue

Resolves #766

Description

Add a pseudo‑cwd for shell mode. The shell now tracks a current directory, updates
it on cd, and passes it as cwd when running subsequent shell commands. This
keeps agent workdir unchanged while making shell usage feel consistent.

Tests:

  • Manual verification via a small script: cd then pwd outputs the new directory.

Checklist

  • I have read the CONTRIBUTING document.
  • I have linked the related issue.
  • I have added tests that prove my feature works.
  • I have run make gen-changelog to update the changelog.
  • I have run make gen-docs to update the user documentation.

Open with Devin

Copy link

@devin-ai-integration devin-ai-integration bot left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Devin Review found 1 potential issue.

View issue and 4 additional flags in Devin Review.

Open in Devin Review

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.

[feat]: Shell mode: add pseudo-cwd so cd affects subsequent commands

1 participant