From f85cab192aa5d024b65b84ec4197f0f854b3baf8 Mon Sep 17 00:00:00 2001 From: Nexus Dev Date: Sat, 4 Apr 2026 03:58:39 +0000 Subject: [PATCH] =?UTF-8?q?[nexus]=20fix:=20resolve=20rebase=20artifacts?= =?UTF-8?q?=20=E2=80=94=20duplicate=20function,=20missing=20import,=20stal?= =?UTF-8?q?e=20SDK=20types?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- server/src/index.ts | 1 + server/src/routes/skill-registry-groups.ts | 18 ------------------ 2 files changed, 1 insertion(+), 18 deletions(-) diff --git a/server/src/index.ts b/server/src/index.ts index 5703a4cc..d9957d79 100644 --- a/server/src/index.ts +++ b/server/src/index.ts @@ -30,6 +30,7 @@ import { loadConfig } from "./config.js"; import { logger } from "./middleware/logger.js"; import { setupLiveEventsWebSocketServer } from "./realtime/live-events-ws.js"; import { + agentService, feedbackService, heartbeatService, reconcilePersistedRuntimeServicesOnStartup, diff --git a/server/src/routes/skill-registry-groups.ts b/server/src/routes/skill-registry-groups.ts index 35073699..06ade9b7 100644 --- a/server/src/routes/skill-registry-groups.ts +++ b/server/src/routes/skill-registry-groups.ts @@ -25,24 +25,6 @@ async function resolveSkillsDirForAgent(db: Db, agentId: string): Promise { - const agent = await agentService(db).getById(agentId); - if (!agent) throw Object.assign(new Error("Agent not found"), { status: 404 }); - const config = resolveAdapterSkillConfig(agent.adapterType); - if (!config.supportsInstall || !config.skillDir) { - throw Object.assign( - new Error(config.unsupportedReason ?? "Adapter does not support skill install"), - { status: 422 }, - ); - } - return config.skillDir.replace(/^~/, os.homedir()); -} - /** * REST routes for skill groups. *