chore: establish YCode replication baseline and TODO

This commit is contained in:
xiaohan.yuan committed 2026-10-17 02:43:49 +08:00
commit 6dc59f89ba
1118 files changed
+196002

No files matched your search

+25
View File
@@ -0,0 +1,25 @@
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. OMP additionally accepts `auto` and `minimal`, which this host does not
* currently surface in the selector.
*/
export type ThinkingLevel = 'off' | 'low' | 'medium' | 'high' | 'xhigh' | 'max'
export interface SessionContext {
workspaceId?: string
cwd?: string
modelId?: string
expertId?: string | null
agentMode?: import('./conversation').AgentMode
thinkingLevel?: ThinkingLevel
}