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
review: drop redundant dynamic import of readState in group_chat/index.ts
wytff48abf4e09b
diff --git a/src/main/features/group_chat/index.ts b/src/main/features/group_chat/index.tsindex 509d9000..fb3592fe 100644--- a/src/main/features/group_chat/index.ts+++ b/src/main/features/group_chat/index.ts@@ -272,8 +272,7 @@ export async function markFormSubmittedAndDispatch(const ag = await agentsFeat.getAgent(agentId);const cli = ag?.runtime?.kind === 'cli' ? ag.runtime.cli : '';if (agentsFeat.cliIsCodingAgent(cli)) {- const { readState: rs } = await import('./state');- const prev = await rs(userId, cid);+ const prev = await readState(userId, cid);const oldDir = prev.coding_project_dir || '';await setCodingProjectDir(userId, cid, projDir, { explicit: true });if (oldDir && oldDir !== projDir) {