Skip to content

The open-source agent harness - the runtime layer that turns an LLM into a working agent.

Merge remote-tracking branch 'origin/main'

debajyoti-truefoundry0ea7ae9b4551
diff --cc packages/server/src/runtime/sandboxFactory.ts
index ac2b900c8,fd201fee7..e6a6a186e
--- a/packages/server/src/runtime/sandboxFactory.ts
+++ b/packages/server/src/runtime/sandboxFactory.ts
@@@ -13,23 -13,8 +13,8 @@@ import { createSandboxProvider, Sandbox
import type { Logger } from 'winston';
import { ZodError } from 'zod';
import { TENANT_NAME } from '../apis/sessions';
-import configuration from '../config/config';
+import configuration from '../config';
- // Python helpers ship with @truefoundry/utils under dist/sandbox-scripts.
- const require = createRequire(import.meta.url);
- const UTILS_ROOT = dirname(require.resolve('@truefoundry/utils/package.json'));
- const SCRIPTS_DIR = join(UTILS_ROOT, 'dist/sandbox-scripts');
-
- function loadSandboxScripts(): { mcpClient: string; skillDownloader: string } {
- return {
- mcpClient: readFileSync(join(SCRIPTS_DIR, 'mcp_client.py'), 'utf-8'),
- skillDownloader: readFileSync(join(SCRIPTS_DIR, 'skill_downloader.py'), 'utf-8'),
- };
- }
-
function parseSandboxSettings(rawJson: string) {
let raw: unknown;
try {