refactor: rename daemon to runner throughout codebase

This commit is contained in:
weishu
2026-01-19 11:12:48 +08:00
parent ccdcb3d75d
commit 0228146b99
53 changed files with 812 additions and 714 deletions
+2 -2
View File
@@ -18,7 +18,7 @@ export class Session extends AgentSessionBase<EnhancedMode> {
readonly mcpServers: Record<string, any>;
readonly allowedTools?: string[];
readonly hookSettingsPath: string;
readonly startedBy: 'daemon' | 'terminal';
readonly startedBy: 'runner' | 'terminal';
readonly startingMode: 'local' | 'remote';
localLaunchFailure: LocalLaunchFailure | null = null;
@@ -35,7 +35,7 @@ export class Session extends AgentSessionBase<EnhancedMode> {
onModeChange: (mode: 'local' | 'remote') => void;
allowedTools?: string[];
mode?: 'local' | 'remote';
startedBy: 'daemon' | 'terminal';
startedBy: 'runner' | 'terminal';
startingMode: 'local' | 'remote';
hookSettingsPath: string;
permissionMode?: PermissionMode;