合并 AI 设计多会话客户端
整合 Enter 发送与多会话交互,保留服务端持久 Conversation Session,并补齐迁移、回归、Electron E2E 与 canonical 文档。
This commit is contained in:
@@ -32,10 +32,6 @@ import { logger } from '../utils/logger';
|
||||
import { warmupNetworkOptimization } from '../utils/uv-env';
|
||||
import { resolvePythonRuntime, resolveUvRuntime } from '../utils/python-runtime';
|
||||
import { initTelemetry } from '../utils/telemetry';
|
||||
import {
|
||||
getOrCreateAgentGatewaySessionClientId,
|
||||
rotateAgentGatewaySessionClientId,
|
||||
} from '../utils/store';
|
||||
|
||||
import { isQuitting, setQuitting } from './app-state';
|
||||
import { applyProxySettings } from './proxy';
|
||||
@@ -456,12 +452,7 @@ async function initialize(): Promise<void> {
|
||||
});
|
||||
const imageWorkspace = localImageWorkspaceEnabled
|
||||
? new LocalImageWorkspace({ userDataDir: app.getPath('userData') })
|
||||
: new WorksSquareDesignWorkspace({
|
||||
eventSessionClientIdStore: {
|
||||
getOrCreate: getOrCreateAgentGatewaySessionClientId,
|
||||
rotate: rotateAgentGatewaySessionClientId,
|
||||
},
|
||||
});
|
||||
: new WorksSquareDesignWorkspace();
|
||||
imageWorkspaceModule = imageWorkspace;
|
||||
if (consumeWorksSquareStartupRuntimeCleanupRequired()) {
|
||||
await clearManagedWorksSquareRuntimeBestEffort({
|
||||
|
||||
Reference in New Issue
Block a user