IKHSAN
ENID Baca dalam Bahasa Indonesia

homeio

Public

Forked from doctor-io/homeio

Branch
main
Latest commit
958d74616 October 2026

terminal.ts

Open raw
export type TerminalOutputLine = {
  type: "output" | "error" | "info";
  content: string;
};

export type TerminalExecuteRequest = {
  command: string;
  cwd?: string;
  history?: string[];
};

export type TerminalExecuteResult = {
  cwd: string;
  lines: TerminalOutputLine[];
  exitCode: number | null;
  durationMs: number;
};

export type TerminalServiceErrorCode =
  | "invalid_request"
  | "forbidden_command"
  | "command_not_found"
  | "execution_failed"
  | "timeout";
bytes
479
lines
25
Type
ts
Latest commit
16 October 2026