fix(agents): surface provider errors structurally instead of raw dumps (#1653)

This commit is contained in:
Will Pfleger
2026-07-08 17:32:48 -04:00
committed by GitHub
parent b2c63291f1
commit 9b244ff22b
32 changed files with 373 additions and 35 deletions
+2
View File
@@ -226,6 +226,7 @@ export type RawManagedAgent = {
last_stopped_at: string | null;
last_exit_code: number | null;
last_error: string | null;
last_error_code: number | null;
log_path: string;
start_on_app_launch: boolean;
auto_restart_on_config_change?: boolean;
@@ -1004,6 +1005,7 @@ export function fromRawManagedAgent(agent: RawManagedAgent): ManagedAgent {
lastStoppedAt: agent.last_stopped_at,
lastExitCode: agent.last_exit_code,
lastError: agent.last_error,
lastErrorCode: agent.last_error_code ?? null,
logPath: agent.log_path,
startOnAppLaunch: agent.start_on_app_launch,
autoRestartOnConfigChange: agent.auto_restart_on_config_change ?? true,
+1
View File
@@ -416,6 +416,7 @@ export type ManagedAgent = {
lastStoppedAt: string | null;
lastExitCode: number | null;
lastError: string | null;
lastErrorCode: number | null;
logPath: string;
startOnAppLaunch: boolean;
autoRestartOnConfigChange: boolean;