Adds a Notion-style pill toggle at the top of the always-visible sidebar that switches between Workspaces (current tree) and Sessions (flat live-updating list of agents across the daemon). Sessions are sorted by createdAt desc (stable, tie-broken by id) and filtered to agents whose cwd maps to an opened workspace; clicking a row focuses the matching workspace tab via prepareWorkspaceTab + navigateToPreparedWorkspaceTab. The existing "Sessions" sidebar row is renamed to "History" (same destination). Lives in its own module at packages/app/src/sidebar-sessions/ with the sidebar shell pieces extracted to packages/app/src/components/sidebar/. Render performance is treated as first-class: parent subscribes to an ordered id list with shallow array equality (useAggregatedAgentIds), each row uses a per-agent shallow Zustand selector, the inactive view is unmounted on toggle, and the filter dropdown subscription is gated to Sessions mode. Filter state resets on host change. Agents whose cwd doesn't map to an opened workspace are hidden from both list and dropdown options. Includes a Playwright user-journey spec and unit/integration tests for the new ids hook, slice selector, render boundaries, navigation, filtering, and the sidebar-sessions controller.
Welcome to your Expo app 👋
This is an Expo project created with create-expo-app.
Get started
-
Install dependencies
npm install -
Start the app
npx expo start
In the output, you'll find options to open the app in a
- development build
- Android emulator
- iOS simulator
- Expo Go, a limited sandbox for trying out app development with Expo
You can start developing by editing the files inside the app directory. This project uses file-based routing.
Get a fresh project
When you're ready, run:
npm run reset-project
This command will move the starter code to the app-example directory and create a blank app directory where you can start developing.
Learn more
To learn more about developing your project with Expo, look at the following resources:
- Expo documentation: Learn fundamentals, or go into advanced topics with our guides.
- Learn Expo tutorial: Follow a step-by-step tutorial where you'll create a project that runs on Android, iOS, and the web.
Join the community
Join our community of developers creating universal apps.
- Expo on GitHub: View our open source platform and contribute.
- Discord community: Chat with Expo users and ask questions.
Dictation debugging
Set EXPO_PUBLIC_ENABLE_AUDIO_DEBUG=1 before running npx expo start to render the in-app audio debug card. Pair it with the server-side STT_DEBUG_AUDIO_DIR flag so every dictation includes a copyable path to the saved raw audio file.