refactor: remove main session key references and enhance agent-gateway associations

This commit is contained in:
Abhimanyu Saharan
2026-02-10 02:58:58 +05:30
parent 50f71960de
commit 6f070df74b
27 changed files with 552 additions and 672 deletions

View File

@@ -20,6 +20,7 @@ export interface AgentRead {
identity_template?: string | null;
soul_template?: string | null;
id: string;
gateway_id: string;
is_board_lead?: boolean;
is_gateway_main?: boolean;
openclaw_session_id?: string | null;

View File

@@ -15,7 +15,6 @@ export interface GatewayRead {
id: string;
organization_id: string;
token?: string | null;
main_session_key: string;
created_at: string;
updated_at: string;
}

View File

@@ -10,6 +10,5 @@
*/
export interface GatewaySessionsResponse {
sessions: unknown[];
main_session_key?: string | null;
main_session?: unknown | null;
}

View File

@@ -13,7 +13,6 @@ export interface GatewaysStatusResponse {
gateway_url: string;
sessions_count?: number | null;
sessions?: unknown[] | null;
main_session_key?: string | null;
main_session?: unknown | null;
main_session_error?: string | null;
error?: string | null;