Skip to content

armgit / Orkas

Public Imported from GitHub
0

Orkas is an open-source (MIT), local-first AI team for your desktop: a Commander turns your goal into to-dos and coordinates 16 built-in specialist agents plus Claude Code, Codex, OpenCode, OpenClaw and Hermes, with projects, scheduled automations and connectors. Free app for macOS & Windows; built-in models or your own keys.

Adapt sandbox env test to flat layout

wytcb4565e852f9
diff --git a/test/main/model/core-agent/client.test.ts b/test/main/model/core-agent/client.test.ts
index f8fe19b3..1dca1b2e 100644
--- a/test/main/model/core-agent/client.test.ts
+++ b/test/main/model/core-agent/client.test.ts
@@ -37,10 +37,11 @@ afterEach(() => {
describe('core-agent client skill sandbox env', () => {
it('passes the canonical workspace root through to bash skill invocations', async () => {
const client = await import('../../../../src/main/model/core-agent/client');
+ const paths = await import('../../../../src/main/paths');
expect(client.buildSkillSandboxEnv()).toMatchObject({
ELECTRON_RUN_AS_NODE: '1',
- ORKAS_PC_DIR: expect.stringMatching(/PC$/),
+ ORKAS_PC_DIR: paths.PC_ROOT,
ORKAS_WORKSPACE_ROOT: path.resolve(tmpDir),
ORKAS_VENV_ROOT: path.join(path.resolve(tmpDir), 'venv'),
ORKAS_PYTHON_VENV_ROOT: path.join(path.resolve(tmpDir), 'venv', 'python'),