mirror of
https://github.com/stablyai/orca.git
synced 2026-09-27 16:02:35 +00:00
test(memory): repair formatted pending split proof patch
This commit is contained in:
@@ -37,7 +37,7 @@ index 4d7eaf7358..2f6ed734bb 100644
|
||||
|
||||
export type IpcPtyTransportOptions = {
|
||||
diff --git a/src/renderer/src/components/terminal-pane/pty-transport.ts b/src/renderer/src/components/terminal-pane/pty-transport.ts
|
||||
index f794b9a1e4..e0d315153a 100644
|
||||
index f794b9a1e4..7731e75eac 100644
|
||||
--- a/src/renderer/src/components/terminal-pane/pty-transport.ts
|
||||
+++ b/src/renderer/src/components/terminal-pane/pty-transport.ts
|
||||
@@ -44,6 +44,7 @@ export function createIpcPtyTransport(opts: IpcPtyTransportOptions = {}): PtyTra
|
||||
@@ -48,16 +48,15 @@ index f794b9a1e4..e0d315153a 100644
|
||||
let ptyId: string | null = null
|
||||
let lifecycleGeneration = 0
|
||||
let lastExitGeneration: number | null = null
|
||||
@@ -137,6 +138,8 @@ export function createIpcPtyTransport(opts: IpcPtyTransportOptions = {}): PtyTra
|
||||
@@ -137,6 +138,7 @@ export function createIpcPtyTransport(opts: IpcPtyTransportOptions = {}): PtyTra
|
||||
lastExitGeneration === lifecycleGeneration &&
|
||||
lifecycleGeneration === connectGeneration + 1,
|
||||
ownsPtyId: (id) => !destroyed && connected && ptyId === id,
|
||||
+ handleExplicitlyClosedConnect: (id) =>
|
||||
+ destroyed && (onAbandonedConnect?.(id) ?? false),
|
||||
+ handleExplicitlyClosedConnect: (id) => destroyed && (onAbandonedConnect?.(id) ?? false),
|
||||
bind,
|
||||
isCurrent: (id) => lifecycleGeneration === connectGeneration && connected && ptyId === id,
|
||||
setCallbacks,
|
||||
@@ -268,7 +271,8 @@ export function createIpcPtyTransport(opts: IpcPtyTransportOptions = {}): PtyTra
|
||||
@@ -268,7 +270,8 @@ export function createIpcPtyTransport(opts: IpcPtyTransportOptions = {}): PtyTra
|
||||
: { ...(opts.cwd ? { cwd: opts.cwd } : {}), ...(shellOverride ? { shellOverride } : {}) },
|
||||
resetCrossChunkParserState: outputProcessor.resetAgentStatusCarry,
|
||||
|
||||
|
||||
@@ -11,7 +11,7 @@
|
||||
},
|
||||
"src/renderer/src/components/terminal-pane/pty-transport.ts": {
|
||||
"before": "0455dba126457eb50a6075a8b265b29016aa5ed8c0730948e23d4f864bd8d5b3",
|
||||
"after": "e72c30a5342a4c92d8865097566b1dcfc103cef33a3ed69d4aaf203fea90cf41"
|
||||
"after": "b5ac687bbb5c21e94a433d4a66f9b8fca46b3004f331f128c44bfa21b32a3838"
|
||||
},
|
||||
"src/renderer/src/components/terminal-pane/use-terminal-pane-close-actions.ts": {
|
||||
"before": "978003ccd82d0af5dce5501edaa7c20c87170e590a5f3f06e55b28f9e4f0323f",
|
||||
|
||||
Reference in New Issue
Block a user