MCPcopy
hub / github.com/Eugeny/tabby / Shell

Interface Shell

tabby-local/src/api.ts:5–28  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

3export type ShellType = 'unix' | 'powershell' | 'cmd'
4
5export interface Shell {
6 id: string
7 name: string
8 command: string
9 args?: string[]
10 env: Record<string, string>
11
12 /**
13 * Base path to which shell's internal FS is relative
14 * Currently used for WSL only
15 */
16 fsBase?: string
17
18 cwd?: string
19
20 /**
21 * SVG icon
22 */
23 icon?: string
24
25 shellType?: ShellType
26
27 hidden?: boolean
28}
29
30/**
31 * Extend to add support for more shells

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected