Skip to content

feat(app): add server-keyed session routes - #32570

Merged
Brendonovich merged 7 commits into
anomalyco:devfrom
Brendonovich:server-session-routes
Jun 23, 2026
Merged

Brendonovich merged 7 commits into
anomalyco:devfrom
Brendonovich:server-session-routes

Conversation

@Brendonovich

Copy link
Copy Markdown
Member

Summary

  • add /server/:serverKey/session/:id for new-layout sessions and redirect between legacy and new route shapes based on the active layout
  • split legacy and new app shells into explicit route groups, with each conditional home route nested under its corresponding server layout
  • resolve session directories before mounting directory-scoped providers so cross-server tab navigation preserves the new app shell and state
  • make session, prompt, file, comment, terminal, permission, and notification state derive from the resolved server and directory

Testing

  • bun run test:unit in packages/app (380 passed)
  • bun run build in packages/app
  • repository pre-push hook: bun turbo typecheck (23 tasks passed)

@Brendonovich
Brendonovich requested a review from Hona as a code owner June 16, 2026 14:41
# Conflicts:
#	packages/app/src/components/titlebar.tsx
#	packages/app/src/context/tabs.tsx
#	packages/app/src/pages/layout.tsx
#	packages/ui/src/components/file.tsx
#	packages/ui/src/pierre/virtualizer.ts
@Brendonovich
Brendonovich enabled auto-merge (squash) June 23, 2026 06:07
@Brendonovich
Brendonovich merged commit 0c4f508 into anomalyco:dev Jun 23, 2026
8 checks passed
BenGu3 pushed a commit to BenGu3/opencode that referenced this pull request Jun 27, 2026
rldona pushed a commit to rldona/FlupCode that referenced this pull request Sep 24, 2026
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