Skip to content
Source
Sign inSign up
pingdotgg/t3code

perf(server): store a subagent's record and its item in one commit #37624

ClosedVantrongs(GitHub profile, opens in a new tab)wants to merge 6 commits intomain fromrefs/pull/37624/headopened View on GitHub

Showing 19 changed files with 31 additions and 7 deletions (loading 16).

x
0 of 19 viewed, 19 left
18 additions and 6 deletionsapps/server/src/orchestration-v2/Adapters/AcpAdapterV2.test.tsModified
View file
@@ -8042,7 +8042,9 @@
const events = yield* Queue.unbounded<ProviderAdapter.ProviderAdapterV2Event>();
yield* runtime.events.pipe(
- Stream.runForEach((event) => Queue.offer(events, event)),
+ Stream.runForEach((event) =>
+ Queue.offerAll(events, ProviderAdapter.providerEventMembers(event)),
+ ),
Effect.forkScoped,
const providerThread = yield* runtime.ensureThread({
@@ -8223,7 +8225,9 @@
const hasPendingBackgroundWork = runtime.hasPendingBackgroundWork;
const events = yield* Queue.unbounded<ProviderAdapter.ProviderAdapterV2Event>();
yield* runtime.events.pipe(
- Stream.runForEach((event) => Queue.offer(events, event)),
+ Stream.runForEach((event) =>
+ Queue.offerAll(events, ProviderAdapter.providerEventMembers(event)),
+ ),
Effect.forkScoped,
const providerThread = yield* runtime.ensureThread({
@@ -8411,7 +8415,9 @@
const hasPendingBackgroundWork = runtime.hasPendingBackgroundWork;
const events = yield* Queue.unbounded<ProviderAdapter.ProviderAdapterV2Event>();
yield* runtime.events.pipe(
- Stream.runForEach((event) => Queue.offer(events, event)),
+ Stream.runForEach((event) =>