Skip to content

Open-source AI teammates in Slack, Teams, Discord, Telegram and Mattermost. Self-host it, with any agent harness and any model.

chore: regenerate the e2e surface for the archived-chat routes, and drop an unused import

raullopez-sandbox8c739154a66b
diff --git a/console/packages/agent-controller/src/agent-hub.ts b/console/packages/agent-controller/src/agent-hub.ts
index 0a00c6846..80c050259 100644
--- a/console/packages/agent-controller/src/agent-hub.ts
+++ b/console/packages/agent-controller/src/agent-hub.ts
@@ -2,7 +2,6 @@ import type {
AgentBridgeEvent,
ApprovalOutcome,
SessionCommand,
- SwitchEventStreamDeps,
} from '@sandboxaq/switch-agent-runtime';
import type { AgentEventStream, AgentStreamDeps } from '@switch-console/agent-providers';
import { errorMessage, type Logger } from './log';
diff --git a/console/tooling-e2e/surface/exemptions.json b/console/tooling-e2e/surface/exemptions.json
index 2c50c93cc..abe2f44ec 100644
--- a/console/tooling-e2e/surface/exemptions.json
+++ b/console/tooling-e2e/surface/exemptions.json
@@ -4,6 +4,7 @@
"DELETE /gateway/chats/{room_id}/agents/{agent_id}": "Switch Console group chats. Covered by core's test_chats_groups.py against real Postgres; no scenario drives Console chats yet (every other /gateway/chats route is still in the backlog), and the stacks the harness builds do not turn on the group_chats flag these routes need.",
"GET /gateway/auth/oidc/callback": "Needs a live OIDC identity provider; the harness signs in with a password.",
"GET /gateway/auth/oidc/login": "Needs a live OIDC identity provider; the harness signs in with a password.",
+ "GET /gateway/chats/archived": "Switch Console archived chats. Covered by core's test_chats_routes.py against real Postgres; no scenario drives Console chats yet (every other /gateway/chats route is still in the backlog).",
"GET /gateway/chats/agent-candidates": "Switch Console group chats. Covered by core's test_chats_groups.py against real Postgres; no scenario drives Console chats yet (every other /gateway/chats route is still in the backlog), and the stacks the harness builds do not turn on the group_chats flag these routes need.",
"GET /gateway/chats/{room_id}/commands": "The commands the chat composer offers on `!`. Covered by core's test_chats_controls.py against real Postgres; no scenario drives Console chats yet, and the stacks the harness builds do not turn on the group_chats flag.",
"GET /gateway/chats/{room_id}/threads/{root_id}/messages": "Switch Console group chats. Covered by core's test_chats_groups.py against real Postgres; no scenario drives Console chats yet (every other /gateway/chats route is still in the backlog), and the stacks the harness builds do not turn on the group_chats flag these routes need.",
@@ -18,6 +19,7 @@
"GET /gateway/service-connections/{service}/flows/callback": "Needs the third-party service's own sign-in page in a browser.",
"POST /gateway/auth/oidc/exchange": "Needs a code from a live OIDC sign-in; the harness signs in with a password.",
"POST /gateway/chats/{room_id}/agents": "Switch Console group chats. Covered by core's test_chats_groups.py against real Postgres; no scenario drives Console chats yet (every other /gateway/chats route is still in the backlog), and the stacks the harness builds do not turn on the group_chats flag these routes need.",
+ "POST /gateway/chats/{room_id}/unarchive": "Switch Console archived chats. Covered by core's test_chats_routes.py against real Postgres; no scenario drives Console chats yet (every other /gateway/chats route is still in the backlog).",
"POST /gateway/hosted-controller/machines/{machine_id}/observation": "Needs a hosted controller configured (HOSTED_CONTROLLER_CONFIG_PATH), which no stack the harness builds has.",
"POST /gateway/hosted-controller/machines/{machine_id}/prepare": "Needs a hosted controller configured (HOSTED_CONTROLLER_CONFIG_PATH), which no stack the harness builds has.",
"POST /gateway/rooms/{room_id}/sync-name": "Needs a bridged room whose linked channel was renamed on the platform, which the fast lane's stacks cannot stage. Covered by core's test_room_sync_name.py against real Postgres.",
diff --git a/console/tooling-e2e/surface/server-surface.json b/console/tooling-e2e/surface/server-surface.json
index 075824ad0..71677bf8d 100644
--- a/console/tooling-e2e/surface/server-surface.json
+++ b/console/tooling-e2e/surface/server-surface.json
@@ -367,6 +367,11 @@
"auth": "session",
"flags": []
},
+ {
+ "route": "GET /gateway/chats/archived",
+ "auth": "session",
+ "flags": []
+ },
{
"route": "GET /gateway/chats/events",
"auth": "session",
@@ -992,6 +997,11 @@
"auth": "session",
"flags": []
},
+ {
+ "route": "POST /gateway/chats/{room_id}/unarchive",
+ "auth": "session",
+ "flags": []
+ },
{
"route": "POST /gateway/chats/{room_id}/warm",
"auth": "session",