Skip to content
Source
Sign inSign up
pingdotgg/t3code

perf(effect-acp): frame large ACP stdout lines in linear time #26686

Mergedhieu-lee(GitHub profile, opens in a new tab)merged 1 commit intomain fromrefs/pull/26686/headmerged by maria-rcks View on GitHub

Showing 2 changed files with 40 additions and 32 deletions.

x
0 of 2 viewed, 2 left
31 additions and 29 deletionspackages/effect-acp/src/protocol.test.tsModified
View file
@@ -108,37 +108,39 @@
});
​
- yield* Queue.offer(
- input,
- yield* encodeJsonl(SessionUpdateNotification, {
- jsonrpc: "2.0",
- method: "session/update",
- params: {
- sessionId: "session-1",
- update: {
- sessionUpdate: "plan",
- entries: [
- {
- content: "Inspect repository",
- priority: "high",
- status: "in_progress",
- },
- ],
- },
+ const updateFrame = yield* encodeJsonl(SessionUpdateNotification, {
+ jsonrpc: "2.0",
+ method: "session/update",
+ params: {
+ sessionId: "session-1",
+ update: {
+ sessionUpdate: "plan",
+ entries: [
+ {