[PR #12316] fix: ensure that github copilot plugin properly sets headers when used in other clients than tui #14163

Closed
opened 2026-02-16 18:18:58 -05:00 by yindo · 0 comments
Owner

Original Pull Request: https://github.com/anomalyco/opencode/pull/12316

State: closed
Merged: Yes


Without this change, subagent sessions for github copilot on desktop app for example, would count subagent requests against ur quota (due to that header stuff).

Issue: sdk failed to find session since the server does not run in the same working directory as the client when using the desktop app. (setting the directory param ensures that sdk will find the session linked to the session id in all clients)

**Original Pull Request:** https://github.com/anomalyco/opencode/pull/12316 **State:** closed **Merged:** Yes --- Without this change, subagent sessions for github copilot on desktop app for example, would count subagent requests against ur quota (due to that header stuff). Issue: sdk failed to find session since the server does not run in the same working directory as the client when using the desktop app. (setting the directory param ensures that sdk will find the session linked to the session id in all clients)
yindo added the pull-request label 2026-02-16 18:18:58 -05:00
yindo closed this issue 2026-02-16 18:18:58 -05:00
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: anomalyco/opencode#14163