Skip to content

CLI confused about cwd on macOS terminal #1770

@drjerry

Description

@drjerry

When resuming a saved session with the goose session -r -n <name> invocation, a spurious warning message about incorrect current working directory is printed.

To Reproduce

$ mkdir issue-report && cd issue-report
$ pwd
/Users/gagelman/issue-report

$ goose session -n test-cwd
...
( O)> exit

$ goose session -r -n test-cwd
◆  WARNING: The working directory of this session was set to /Users/gagelman/issue-report. It does not match the current working directory. Would you like to change it?
│  ● Yes  / ○ No 
└  

Expected behavior: There should be no WARNING.

Please provide following information:

  • OS & Arch: macOS 15.3.1. Apple M1 Max
  • Interface: CLI
  • Version: 1.0.14
  • Extensions enabled: Developer
  • Provider & Model: Databricks

Metadata

Metadata

Assignees

Labels

No labels
No labels

Type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions