GV

GeezerVison

The World Wide Web, restored to 800 pixels of glory.

Home|About|Gaming cabinet|Archives|How it works|Starter sites

On this site

  • Sign in
  • ActionsCI/CD and automation
  • CodespacesCloud development environments
  • All Features
  • Documentation
  • Training
  • Certifications
  • Build with Copilot
  • Customize Copilot
  • Integrations
  • Trending repos
  • GitHub Sponsors
  • Developer articles
  • Enterprises

This view

  • Original page
  • New address

GeezerVison is showing github.com — Zed extension starts agent in wrong working dir · Issue #4029 · anomalyco/opencode

Zed extension starts agent in wrong working dir #4029

New issue
Copy link
New issue
Copy link
Closed
#4050
Closed
Zed extension starts agent in wrong working dir#4029
#4050
Copy link
Assignees
rekram1-node
Labels
bugSomething isn't working

Description

@hmps
hmps
opened on Nov 7, 2025
Issue body actions

Description

When using the new Zed extension to start a session with the agent, the working dir is set to Zed's temporary directory. If I launch the agent when configure in settings, it works as expected.

When it launches in the temporary dir, I can still tag files and it will happily make changes to them. But all the changes will be made in a copy of the file in the temporary dir. So while I don't see any changes, the agent reports that all the changes has been made and are ready for me :)

With extension

Image Image

With manual config

Image

Config

"agent_servers": {
  "opencode": {
    "command": "opencode",
    "args": ["acp"]
  }
},

OpenCode version

1.0.39

Steps to reproduce

No response

Screenshot and/or share link

No response

Operating System

macOS 26.1

Terminal

No response

Reacted by Chung Wei Leong

Activity

  1. hmps
    added
    bugSomething isn't working
    on Nov 7, 2025
  2. github-actions
    added
    opentuiThis relates to changes in v1.0, now that opencode uses opentui
    on Nov 7, 2025
  3. rekram1-node commented on Nov 7, 2025

    @rekram1-node
    rekram1-node
    on Nov 7, 2025
    Member
    More actions

    @hmps i think this is a bug in zed did you update your ide to latest? they fixed this

  4. rekram1-node
    self-assigned this
    on Nov 7, 2025
  5. rekram1-node
    removed
    opentuiThis relates to changes in v1.0, now that opencode uses opentui
    on Nov 7, 2025
  6. rekram1-node commented on Nov 7, 2025

    @rekram1-node
    rekram1-node
    on Nov 7, 2025
    Member
    More actions

    nvm zed broke something for us so I need to update the code & update extension going to do that today

  7. rekram1-node
    closed this as completedin #4050on Nov 7, 2025
  8. rekram1-node commented on Nov 7, 2025

    @rekram1-node
    rekram1-node
    on Nov 7, 2025
    Member
    More actions

    @hmps update your zed extension and it should work now

    Reacted by Hampus Persson
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

  • @rekram1-node
    rekram1-node

Labels

bugSomething isn't working

Type

No type

Projects

No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions

    You are visitor 01402775 — GeezerVison does not store the pages you look up.
    Best viewed with Netscape Navigator 4.7 or Internet Explorer 6 at 800×600. No cookies required.