openclaw/extensions/acpx/runtime-api.ts
Peter Steinberger 1c40abdb63
fix: preserve ACP model switches and reply completion (#132040)
* fix: keep ACP thinking aligned after model switches

Carry published ACPX accepted control snapshots through the plugin boundary and reconcile selected thinking in the session owner. Preserve selectable pending thinking on automatic replay, persist accepted changes before later failures, and show effective thinking in command replies. Keep shipped optional-control replay and third-party void backends unchanged.

* fix: give ACP replies one completion owner

* fix: tighten ACP completion type boundaries

* fix(ui): defer native chrome and recover rendered lazy surfaces

* refactor(ui): separate native startup recovery tests

* fix: preserve explicit reply completion ownership

* test: consolidate ACP completion regression fixtures

* chore(ui): refresh boot manifest after main integration

* test: distinguish inbound ACP reply options

* test(ui): target retargeted queue clicks deterministically

* fix(ci): split UI test type graphs within the root budget
2026-08-28 16:56:29 -07:00

54 lines
1.5 KiB
TypeScript

/**
* Public runtime API barrel for ACPX. Core and plugin consumers import these
* SDK-facing ACP runtime contracts instead of reaching into ACPX internals.
*/
export type { AcpRuntimeErrorCode } from "openclaw/plugin-sdk/acp-runtime-backend";
export {
AcpRuntimeError,
getAcpRuntimeBackend,
tryDispatchAcpReplyHook,
registerAcpRuntimeBackend,
unregisterAcpRuntimeBackend,
} from "openclaw/plugin-sdk/acp-runtime-backend";
export type {
AcpRuntime,
AcpRuntimeCapabilities,
AcpRuntimeConfigOptionResult,
AcpRuntimeDoctorReport,
AcpRuntimeEnsureInput,
AcpRuntimeEvent,
AcpRuntimeHandle,
AcpRuntimeStatus,
AcpRuntimeTurn,
AcpRuntimeTurnAttachment,
AcpRuntimeTurnInput,
AcpRuntimeTurnResult,
AcpRuntimeTurnResultError,
AcpSessionUpdateTag,
} from "openclaw/plugin-sdk/acp-runtime-backend";
export type {
OpenClawPluginApi,
OpenClawPluginConfigSchema,
OpenClawPluginService,
OpenClawPluginServiceContext,
PluginLogger,
} from "openclaw/plugin-sdk/core";
export type {
PluginHookReplyDispatchContext,
PluginHookReplyDispatchEvent,
PluginHookReplyDispatchResult,
} from "openclaw/plugin-sdk/core";
export type {
WindowsSpawnProgram,
WindowsSpawnProgramCandidate,
WindowsSpawnResolution,
} from "openclaw/plugin-sdk/windows-spawn";
export {
applyWindowsSpawnProgramPolicy,
materializeWindowsSpawnProgram,
resolveWindowsSpawnProgramCandidate,
} from "openclaw/plugin-sdk/windows-spawn";
export {
listKnownProviderAuthEnvVarNames,
omitEnvKeysCaseInsensitive,
} from "openclaw/plugin-sdk/provider-env-vars";