Skip to content

Working directory recognition error #14856

@whiteS18

Description

@whiteS18

Description

I opened two IntelliJ IDEA instances, with their working directories being my frontend and backend projects: rkxch-frontend and rkxch-backend, respectively. In JetBrains AI, I used OpenCode as the worker agent. First, I had OpenCode in the frontend project modify my code, and then I had OpenCode in the backend project modify my API. However, OpenCode in the backend project indicated that my current working directory was rkxch-frontend.

Plugins

Jetbrains AI,oh-my-opencode

OpenCode version

1.1.64

Steps to reproduce

  1. Open a front-end project in IntelliJ IDEA.

  2. Open a back-end project in IntelliJ IDEA.

  3. In the front-end project within IntelliJ IDEA, use OpenCode as an agent in JetBrains AI to modify the code.

  4. In the back-end project within IntelliJ IDEA, use OpenCode as an agent in JetBrains AI to query the current working directory.

Screenshot and/or share link

No response

Operating System

windows 10

Terminal

No response

Metadata

Metadata

Assignees

Labels

bugSomething isn't workingcoreAnything pertaining to core functionality of the application (opencode server stuff)windows

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions