[PR #9531] fix: (web UI / API) show sandbox sessions created in project subdirectories #13143

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

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

State: closed
Merged: No


Related to #9366

Web UI does not show sessions that are created in a project's subdirectory

If you start opencode in a subdirectory of a project - it will set session.directory to that pwd. Allowing a different external_directory permission setup.

The web UI doesn't currently show these, so you're unable to access these sessions via web (they are shown in TUI),

Fix:

  • Compare on API side (GET /session) via contains instead of a direct match
  • Remove filtering on web side
**Original Pull Request:** https://github.com/anomalyco/opencode/pull/9531 **State:** closed **Merged:** No --- Related to #9366 ## Web UI does not show sessions that are created in a project's subdirectory If you start opencode in a subdirectory of a project - it will set `session.directory` to that pwd. Allowing a different `external_directory` permission setup. The web UI doesn't currently show these, so you're unable to access these sessions via web (they are shown in TUI), ## Fix: - Compare on API side (`GET /session`) via `contains` instead of a direct match - Remove filtering on web side
yindo added the pull-request label 2026-02-16 18:18:01 -05:00
yindo closed this issue 2026-02-16 18:18:01 -05:00
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: anomalyco/opencode#13143