Skip to content
Source
Sign inSign up
pingdotgg/t3code

fix(antigravity): advertise supportsBackgroundWait and honor awaited: false #39990

Mergeditsthecsguy(GitHub profile, opens in a new tab)merged 9 commits intomain fromrefs/pull/39990/headmerged by maria-rcks View on GitHub

Showing 3 changed files with 141 additions and 7 deletions (loading 1).

x
0 of 3 viewed, 3 left
140 additions and 7 deletionsapps/server/src/orchestration-v2/Adapters/AntigravityAdapterV2.test.tsModified
View file
@@ -1647,6 +1647,11 @@
options?: {
readonly profileDirectory?: string;
readonly initialToolCalls?: ReadonlyArray<EffectAcpSchema.SessionUpdate>;
+ /** Finalization pauses here between marking the turn finalized and clearing it. */
+ readonly finalizeGate?: {
+ readonly reached: Deferred.Deferred<void>;
+ readonly release: Deferred.Deferred<void>;
+ };
const childProcessSpawner = yield* ChildProcessSpawner.ChildProcessSpawner;
@@ -1760,18 +1765,30 @@
defaultModel: Effect.undefined,
...(profileDirectory === undefined ? {} : { profileDirectory }),
+ const finalizeGate = options?.finalizeGate;
const adapter =
options === undefined
? yield* makeAntigravityAdapterV2(adapterOptions)
: yield* makeAcpAdapterV2({
instanceId,
- flavor: makeAntigravityAcpAdapterFlavor({
- ...adapterOptions,
- random: crypto,
- fileSystem: yield* FileSystem.FileSystem,
- path,
- host: yield* ProviderHost.ProviderHost,
- }),