fix(api-gateway): harden remote lifecycle and recovery

This commit is contained in:
imccyu committed 2026-08-07 21:47:17 +08:00
1 parent e89d078819
commit 686ee5b3f6
21 files changed
+218 -34

No files matched your search

+1
View File
@@ -187,6 +187,7 @@ export function createApiRemoteAgentResolver(
}
typeCtx.typert.lookups.configure('agent', resolveAgent)
typeCtx.typert.lookups.configure('session', async sessionId => (await resolveAgent(sessionId)).session)
typeCtx.typert.contexts.configureHost('agent', async sessionId => (await resolveAgent(sessionId)).ctx)
})
return agentFor