apps/server/src/environment/ServerEnvironment.test.ts | 1 + apps/server/src/environment/ServerEnvironment.ts | 1 + apps/server/src/server.test.ts | 96 ++++++++ apps/server/src/ws.ts | 15 +- apps/web/src/components/BranchToolbar.tsx | 36 ++- apps/web/src/components/BranchToolbarBranchSelector.tsx | 6 +- apps/web/src/components/BranchToolbarEnvModeSelector.tsx | 18 +- apps/web/src/components/ChatView.tsx | 401 +++++++++++++++++++++++++++++++- apps/web/src/components/chat/ChatComposer.tsx | 83 ++++++- apps/web/src/components/chat/ModelListRow.tsx | 6 +- apps/web/src/components/chat/ModelPickerContent.tsx | 66 +++++- apps/web/src/components/chat/ProviderModelPicker.tsx | 72 +++++- docs/user/thread-sidebar.md | 5 + packages/client-runtime/src/errors/orchestration.test.ts | 29 ++- packages/client-runtime/src/errors/orchestration.ts | 6 + packages/contracts/src/environment.test.ts | 10 + packages/contracts/src/environment.ts | 2 + packages/contracts/src/orchestration.test.ts | 14 ++ packages/contracts/src/orchestration.ts | 3 +- 19 files changed, 814 insertions(+), 56 deletions(-)