feat: multi-account provider accounts + account-aware session persistence#23711
feat: multi-account provider accounts + account-aware session persistence#23711knightfolk wants to merge 14 commits intoanomalyco:devfrom
Conversation
Reduce hardcoded panel minimum widths and make defaults relative to viewport so sidebars remain usable when zoomed in. Clamp stored widths in accessor memos to prevent overflow on small viewports. Add one-time migration that parses JWT access tokens to populate _accountEmail for existing OAuth accounts.
chore: sync fork dev with upstream/dev
…-account-shipping feat: multi-account session/accountKey persistence and shipping runbook
|
This PR doesn't fully meet our contributing guidelines and PR template. What needs to be fixed:
Please edit this PR description to address the above within 2 hours, or it will be automatically closed. If you believe this was flagged incorrectly, please let a maintainer know. |
|
The following comment was made by an LLM, it may be inaccurate: Based on my search, I found one potentially related PR: Related PR:
However, #11832 appears to be an older PR focused specifically on OAuth support with auto-relogin, while the current PR (#23711) is a broader feature that includes multi-account provider accounts, account-aware session persistence, and is described as a sync from a fork with merged multi-account work. The searches primarily returned the current PR itself (#23711), suggesting there are no exact duplicate PRs actively open for these features. The #11832 PR is tangentially related but appears to address a different aspect of multi-account functionality. |
|
Quick update from branch owner: this is ready to merge from my side and all visible checks are passing. I attempted merge via CLI but branch policy blocked it for my permission level. Happy to make any follow-up tweaks immediately if needed. |
|
Closing this; I’m continuing this as a private fork-only project. |
Summary
knightfolk/opencode-upstream-sync:devinto upstreamanomalyco/opencode:devKey Changes
accountKeypersistence through prompt/session metadata and restore history pathsNEXT_STEPS.mdandTESTS.mdValidation
bun test --preload ./happydom.ts src/components/prompt-input/submit.test.ts src/pages/session/session-model-helpers.test.ts(frompackages/app)bun --cwd packages/opencode test test/session/structured-output.test.tsNote
Direct push to
upstream/devis restricted for this account, so this PR is the upstream publish path.