Skip to content

fix(app): keep nested directory for local sessions (v2) - #55578

Closed
Dante-dan wants to merge 2 commits into
anomalyco:v2from
Dante-dan:nested-session-v2
Closed

Dante-dan wants to merge 2 commits into
anomalyco:v2from
Dante-dan:nested-session-v2

Conversation

@Dante-dan

Copy link
Copy Markdown
Contributor

Issue for this PR

Closes #51191

Type of change

  • Bug fix

What does this PR do?

Keep the selected subdirectory when creating Local sessions so its .opencode/skills are discovered. Creating a worktree still uses the Git project root.

This PR targets v2; #51805 carries the same fix for dev.

How did you verify your code works?

  • New-session tests: 19 passed.
  • App typecheck passed.
  • Root lint and all 36 package typechecks passed with NODE_OPTIONS=--experimental-strip-types bun run check.
  • No new browser benchmark was run for this conflict-only update; the original production benchmark attempt timed out during app startup.

Screenshots / recordings

No visual UI change.

Checklist

  • I have tested my changes locally
  • I have not included unrelated changes in this PR

@github-actions

Copy link
Copy Markdown
Contributor

The following comment was made by an LLM, it may be inaccurate:

@opencode-agent

Copy link
Copy Markdown
Contributor

Thanks for the pull request, @Dante-dan!

The v2 branch was promoted to dev on 2026-10-10, and dev is now where all v2 work happens. This pull request targets v2, which is no longer used, so it's being closed.

Please open it again with dev as the base. You can reuse the same branch, just start a new pull request against dev.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant