background_task and look_at is error in desktop of windows #7429

Open
opened 2026-02-16 18:07:08 -05:00 by yindo · 1 comment
Owner

Originally created by @BingLi37 on GitHub (Jan 24, 2026).

Originally assigned to: @adamdotdevin on GitHub.

Description

When opened on the desktop, it comes with OPENCODE_SERVER_ and OPENCODE_SERVER_PASSWORD by default, which causes the background agent to be unable to call and result in an error: Failed to create background session: Unauthorized

Plugins

omo\opencode auth antigravity

OpenCode version

1.1.34

Steps to reproduce

No response

Screenshot and/or share link

No response

Operating System

win10

Terminal

desktop

Originally created by @BingLi37 on GitHub (Jan 24, 2026). Originally assigned to: @adamdotdevin on GitHub. ### Description When opened on the desktop, it comes with OPENCODE_SERVER_ and OPENCODE_SERVER_PASSWORD by default, which causes the background agent to be unable to call and result in an error: Failed to create background session: Unauthorized ### Plugins omo\opencode auth antigravity ### OpenCode version 1.1.34 ### Steps to reproduce _No response_ ### Screenshot and/or share link _No response_ ### Operating System win10 ### Terminal desktop
yindo added the windowsbugweb labels 2026-02-16 18:07:08 -05:00
Author
Owner

@github-actions[bot] commented on GitHub (Jan 24, 2026):

This issue might be a duplicate of existing issues. Please check:

  • #10182: [Bug] Desktop: Background exploration agent fails with "Unauthorized" error - Same "Unauthorized" error with background agents on Windows
  • #9706: [BUG] Plugin client missing Authorization header when OPENCODE_SERVER_PASSWORD is set - Directly addresses the issue with OPENCODE_SERVER_PASSWORD not being included in authorization headers, affecting look_at tool and background sessions

Feel free to ignore if none of these address your specific case.

@github-actions[bot] commented on GitHub (Jan 24, 2026): This issue might be a duplicate of existing issues. Please check: - #10182: [Bug] Desktop: Background exploration agent fails with "Unauthorized" error - Same "Unauthorized" error with background agents on Windows - #9706: [BUG] Plugin client missing Authorization header when OPENCODE_SERVER_PASSWORD is set - Directly addresses the issue with OPENCODE_SERVER_PASSWORD not being included in authorization headers, affecting look_at tool and background sessions Feel free to ignore if none of these address your specific case.
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: anomalyco/opencode#7429