feat(canvas): cut over design agent to living form v2
This commit is contained in:
@@ -12,7 +12,6 @@ import { tmpdir } from 'node:os';
|
||||
import { basename, join, resolve } from 'node:path';
|
||||
|
||||
export type LaunchElectronOptions = {
|
||||
imageWorkspaceMode?: 'local';
|
||||
skipSetup?: boolean;
|
||||
};
|
||||
|
||||
@@ -80,7 +79,6 @@ function buildElectronEnvironment(
|
||||
resources: ElectronTestResources,
|
||||
skipSetup: boolean,
|
||||
hostApiPort: number,
|
||||
imageWorkspaceMode?: 'local',
|
||||
): Record<string, string> {
|
||||
const env: Record<string, string> = {};
|
||||
for (const key of PASSTHROUGH_ENVIRONMENT_KEYS) {
|
||||
@@ -105,9 +103,6 @@ function buildElectronEnvironment(
|
||||
if (skipSetup) {
|
||||
env.NIANCODE_E2E_SKIP_SETUP = '1';
|
||||
}
|
||||
if (imageWorkspaceMode) {
|
||||
env.NIANCODE_IMAGE_WORKSPACE_MODE = imageWorkspaceMode;
|
||||
}
|
||||
if (process.platform === 'linux') {
|
||||
env.ELECTRON_DISABLE_SANDBOX = '1';
|
||||
}
|
||||
@@ -128,7 +123,6 @@ async function launchMakeloreElectron(
|
||||
resources,
|
||||
skipSetup,
|
||||
hostApiPort,
|
||||
options.imageWorkspaceMode,
|
||||
),
|
||||
timeout: 90_000,
|
||||
});
|
||||
|
||||
Reference in New Issue
Block a user