26 lines
764 B
TypeScript
26 lines
764 B
TypeScript
export interface WorkspaceRecord {
|
|
id: string
|
|
name: string
|
|
root: string
|
|
createdAt: number
|
|
}
|
|
export interface WorkspaceRegistryView {
|
|
workspaces: WorkspaceRecord[]
|
|
selectedWorkspaceId: string | null
|
|
}
|
|
/**
|
|
* Reasoning effort for one session. `off` disables thinking entirely; the rest mirror OMP's
|
|
* `--thinking` levels. `auto` leaves intensity to the model; `minimal` is also exposed for models declaring it in models.dev.
|
|
*/
|
|
export type ThinkingLevel = 'off' | 'auto' | 'minimal' | 'low' | 'medium' | 'high' | 'xhigh' | 'max'
|
|
|
|
export interface SessionContext {
|
|
projectId?: string
|
|
workspaceId?: string
|
|
cwd?: string
|
|
modelId?: string
|
|
expertId?: string | null
|
|
agentMode?: import('./conversation').AgentMode
|
|
thinkingLevel?: ThinkingLevel
|
|
}
|