List metadata the web console needs to order the chat session list like pi2.nvim's :PiSessions: the tab handle, its 1-based visual tabline position, and the creation/last-activity timestamps. Never emitted by the reducer; the web normalizer and the sessions store preserve them across snapshot and live event updates.
pi2-web
React port of the pi2 web UI prototype, built into web/dist and served statically by pi2 daemon.
Development
# Start dev server with proxy to daemon (:7676)
pnpm --dir web dev
# Typecheck
pnpm --dir web typecheck
# Run test suite
pnpm --dir web exec vitest run
# Run only changed tests or specific file
pnpm --dir web exec vitest run --changed
pnpm --dir web exec vitest run tests/chat.composer.test.tsx
# Watch mode
pnpm --dir web test
For performance tuning, concurrency settings, and DOM environment details, see docs/testing.md.