Fix MCP terminal capture scrollback
This commit is contained in:
@@ -1,10 +1,5 @@
|
||||
import {
|
||||
captureTerminalLines,
|
||||
createTerminal,
|
||||
type CaptureTerminalLinesResult,
|
||||
type TerminalSession,
|
||||
type TerminalStateSnapshot,
|
||||
} from "./terminal.js";
|
||||
import { createTerminal, type TerminalSession, type TerminalStateSnapshot } from "./terminal.js";
|
||||
import { captureTerminalLines, type CaptureTerminalLinesResult } from "./terminal-capture.js";
|
||||
import { resolve, sep, win32, posix } from "node:path";
|
||||
|
||||
export interface TerminalListItem {
|
||||
|
||||
@@ -8,11 +8,6 @@ import { createRequire } from "node:module";
|
||||
import { fileURLToPath } from "node:url";
|
||||
import { createExternalProcessEnv } from "../server/paseo-env.js";
|
||||
import type { TerminalCell, TerminalState } from "../shared/messages.js";
|
||||
export {
|
||||
captureTerminalLines,
|
||||
type CaptureTerminalLinesOptions,
|
||||
type CaptureTerminalLinesResult,
|
||||
} from "./terminal-capture.js";
|
||||
|
||||
const { Terminal } = xterm;
|
||||
const require = createRequire(import.meta.url);
|
||||
|
||||
@@ -4,13 +4,13 @@ import { randomUUID } from "node:crypto";
|
||||
import type { TerminalState } from "../shared/messages.js";
|
||||
import type {
|
||||
ClientMessage,
|
||||
CaptureTerminalLinesResult,
|
||||
ServerMessage,
|
||||
TerminalCommandFinishedInfo,
|
||||
TerminalExitInfo,
|
||||
TerminalSession,
|
||||
TerminalStateSnapshot,
|
||||
} from "./terminal.js";
|
||||
import type { CaptureTerminalLinesResult } from "./terminal-capture.js";
|
||||
import type {
|
||||
TerminalListItem,
|
||||
TerminalManager,
|
||||
|
||||
Reference in New Issue
Block a user