refactor: place terminal and workspace contracts with concrete owners (#38061)

This commit is contained in:
Neil
2026-11-03 22:49:34 -08:00
committed by GitHub
parent 7854cb61b1
commit 7bf0377072
2364 changed files with 3866 additions and 3426 deletions
@@ -1,7 +1,7 @@
import { describe, expect, it } from 'vitest'
import { createHookListenerState } from '../../shared/agent-hook-listener/listener-state'
import { lookupOpenCodeSessionPane } from '../../shared/agent-hook-listener/opencode-session-registry'
import { makePaneKey } from '../../shared/stable-pane-id'
import { makePaneKey } from '../../shared/workspace-layout/stable-pane-id'
import type { ProcessIdentityRow } from './opencode-client-sweep'
import {
advanceBinderCursor,
@@ -4,7 +4,7 @@ import type { OrcaRuntimeService } from '../runtime/orca-runtime'
import type { IPtyProvider, PtySpawnResult } from '../providers/pty-provider-contract'
import { ptyIncarnationById, ptyOwnership } from '../ipc/pty/provider/ownership-state'
import { LOCAL_EXECUTION_HOST_ID } from '../../shared/execution-host'
import { isPtyIncarnationId } from '../../shared/pty-incarnation'
import { isPtyIncarnationId } from '../../shared/terminal/pty/lifecycle/pty-incarnation'
import {
OPENCODE_STARTUP_PROMPT_NONCE_ENV,
OPENCODE_STARTUP_PROMPT_SHA256_ENV