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.
JavaScript agent-collaborationagent-harnessagent-orchestrationagent-teamagent-workflowai-assistantai-automationai-employeeai-productivityai-teamai-workflowautonomous-agentsclaude-code-guiclaude-coworkdesktop-agentlocal-firstmulti-agentmulti-agent-systemself-evolving-agentstask-automation
test(projects): distinguish startup requests from local navigation
CloudTianTian82fe9a7a2b50
diff --git a/test/e2e/projects_e2e_smoke.spec.ts b/test/e2e/projects_e2e_smoke.spec.tsindex a337d2ac..ddc1ed46 100644--- a/test/e2e/projects_e2e_smoke.spec.ts+++ b/test/e2e/projects_e2e_smoke.spec.ts@@ -77,12 +77,26 @@ test.describe('projects', () => {const root = globalThis as any;root.__projectInviteExternalUrls = [];root.__projectEntryRequests = [];+ root.__projectBackgroundRequests = [];+ const backgroundRequests = new Set([+ 'GET /api/config/client',+ 'POST /api/marketplace/defaults',+ 'POST /api/marketplace/agents/list',+ 'POST /api/marketplace/agents/detail',+ 'POST /api/marketplace/skills/list',+ ]);shell.openExternal = async (url: string) => { root.__projectInviteExternalUrls.push(url); };for (const owner of [root, net]) {const original = owner.fetch;owner.fetch = function (input: any, ...args: any[]) {const url = new URL(typeof input === 'string' ? input : input.url || String(input));- root.__projectEntryRequests.push(url.origin + url.pathname);+ const method = String(args[0]?.method || input?.method || 'GET').toUpperCase();+ // Startup refreshes can overlap this local project journey. Keep every+ // other endpoint, origin and method in the prohibited-request ledger.+ const isBackground = url.origin === 'https://orkas.ai'+ && backgroundRequests.has(`${method} ${url.pathname}`);+ (isBackground ? root.__projectBackgroundRequests : root.__projectEntryRequests)+ .push(url.origin + url.pathname);return original.call(this, input, ...args);};}