Skip to content

Commit 539a056

Browse files
fix(acp): decide out-of-turn permission requests on resume with the resumed policy
Co-Authored-By: Claude Opus 5.5 <[email protected]>
1 parent 57e28e9 commit 539a056

1 file changed

Lines changed: 3 additions & 0 deletions

File tree

‎packages/provider-acp/src/server/adapter.ts‎

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -7927,6 +7927,9 @@ export const makeAcpAdapterV2 = Effect.fn("makeAcpAdapterV2")(function* (
79277927
loadingMessageId: null,
79287928
loadingIndex: 0,
79297929
});
7930+
if (threadInput.runtimePolicy !== undefined) {
7931+
latestRuntimePolicy = threadInput.runtimePolicy;
7932+
}
79307933
const activated = yield* activateSession(
79317934
sessionId,
79327935
threadInput.providerThread.appThreadId,

0 commit comments

Comments
 (0)