Skip to content

Interface: CreateTerminalInput

Defined in: packages/sdk/src/terminal-service.ts:112

Input for TerminalService.create.

Properties

kind?

ts
optional kind?: TerminalKind;

Defined in: packages/sdk/src/terminal-service.ts:121

Terminal kind. Defaults to "shell".

Deprecated

Pass "shell" (or omit). The "claude" / "pi" values are kept for compatibility (RFC 0033): they create a "shell" terminal and, if a matching Agent Profile exists, launch it — otherwise the bare command is typed. Start agents via an Agent Profile instead.


cwd?

ts
optional cwd?: string;

Defined in: packages/sdk/src/terminal-service.ts:123

Working directory; falls back to the workspace folder when absent.


workspaceId?

ts
optional workspaceId?: string;

Defined in: packages/sdk/src/terminal-service.ts:125

Target workspace; defaults to the active workspace.