AI Agents & MCPs & AI Workflow Automation • (~400 MCP servers for AI agents) • AI Automation / AI Agent with MCPs • AI Workflows & AI Agents • MCPs for AI Agents
TypeScript ai-agentai-agent-toolsai-agentsai-agents-frameworkmcpmcp-servermcp-toolsmcpsn8n-alternativeno-code-automationworkflowworkflow-automationworkflows
import { type SandboxSettings } from '@activepieces/sandbox'
import { system, WorkerSystemProp } from '../config/configs'
import { workerSettings } from '../config/worker-settings'
export const sandboxConfig = {
getCacheBasePath(): string {
return system.get(WorkerSystemProp.CACHE_BASE_PATH) ?? 'cache'
},
// The worker's runtime settings mapped to what the pool reads. REUSE_SANDBOX is an env-only
// override not present in WorkerSettings, so it is merged in here. Returns a fresh object each
// call so the pool always sees the latest settings (the worker refetches them on reconnect).
getSandboxSettings(): SandboxSettings {
return {
...workerSettings.getSettings(),
REUSE_SANDBOX: system.get(WorkerSystemProp.REUSE_SANDBOX),
}
},
}