Skip to main content

Interface: LaunchContext

Defined in: types/session.ts:13

Context provided to command builders when launching a new session. Contains all the information a provider needs to construct the CLI command.

Properties

branch?

optional branch: string

Defined in: types/session.ts:33

Git branch name for context


mcpServers?

optional mcpServers: string[]

Defined in: types/session.ts:39

MCP server names to configure for this session


model?

optional model: string

Defined in: types/session.ts:24

AI model to use (provider-specific, e.g., 'opus', 'gpt-4o')


projectPath

projectPath: string

Defined in: types/session.ts:21

Original project path (before worktree resolution)


sessionId

sessionId: string

Defined in: types/session.ts:15

Unique Omniscribe session identifier


skipPermissions?

optional skipPermissions: boolean

Defined in: types/session.ts:30

Whether to skip permission prompts (provider-specific flag)


systemPrompt?

optional systemPrompt: string

Defined in: types/session.ts:27

System prompt to prepend


workingDirectory

workingDirectory: string

Defined in: types/session.ts:18

Working directory for the session (may be a worktree path)


worktreePath?

optional worktreePath: string

Defined in: types/session.ts:36

Git worktree path if using worktrees