mirror of https://github.com/openclaw/openclaw.git
* fix(acpx): store agent session ID when session/load fails When an ACP agent (e.g. Gemini CLI) rejects the acpx-generated session ID via session/load and falls back to session/new, the agent-returned session ID was previously discarded. This caused identity stuck at pending forever, multi-turn failures, lost completion events, and persistent reconcile warnings. - Parse ACP protocol stream in runTurn() to capture agent session IDs - Flip resolveRuntimeResumeSessionId() to prefer agentSessionId - Add createIdentityFromHandleEvent() for handle-sourced identity - Layer handle event identity before status in reconcile - Add regression tests for load fallback and restart resume Closes #52182 * ACPX: prefer decoded session ids * ACPX: refresh runtime handle state from status --------- Co-authored-by: Wesley <imwyvern@users.noreply.github.com> |
||
|---|---|---|
| .. | ||
| skills/acp-router | ||
| src | ||
| index.ts | ||
| openclaw.plugin.json | ||
| package.json | ||
| register.runtime.ts | ||
| runtime-api.ts | ||