Skip to content

[BUG] Multi-window failure #23994

@listky

Description

@listky

Description

Today on win11 computer, I used multiple Powershell7 windows to open two sessions in different directories, window A analyzed the bug, window B developed a new requirement task, I prevented a markdown format of the requirements document in the directory corresponding to the B window, let it analyze and give the development plan, and then execute it according to the scheme until the end of all the tasks, because the B session takes a long time, I analyze a bug in a project project at the same time in the A session, and the analysis is halfway, It suddenly told me that the xx document was not found in the current project directory, and then started making up some content; I realized that the document mentioned in session A was actually a new document I created in the project where session B was located. I'm pretty sure I didn't make a mistake in the correspondence between the session-directory-window, but window A mistakenly read the context of window B, I can't be sure if it's a bug in the subagent of oh-my-openagent, maybe the subagent found the wrong main agent when the subagent returned back? I'm also not sure that this issue cannot be reproduced stably

Plugins

oh-my-openagent

OpenCode version

1.14.20

Steps to reproduce

  1. Open two Powershell7 windows in two separate folders
  2. Run the opencode command to start the session
  3. Window B performs the long-term and time-consuming task of requirements development
  4. Window A performs the bug analysis and processing task
  5. Window A senses the context of window B

Screenshot and/or share link

No response

Operating System

win11

Terminal

Powershell7.6.1

Metadata

Metadata

Assignees

Labels

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

Type

No type
No fields configured for issues without a type.

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions