From 8160877400266839b4b0e4d7db20557d1046a609 Mon Sep 17 00:00:00 2001 From: QQ Date: Wed, 11 Nov 2026 11:33:30 +0800 Subject: [PATCH] =?UTF-8?q?=E6=9B=B4=E6=96=B0=20lib/index.js?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- lib/index.js | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --git a/lib/index.js b/lib/index.js index 1d3867c..f88d5fb 100644 --- a/lib/index.js +++ b/lib/index.js @@ -15,14 +15,14 @@ import { createRoutes } from "./routes.js"; import { join } from 'node:path'; import { SettingsStore, dshHome } from "./store.js"; import { SkillSync } from "./skill-sync.js"; -import { SkillAdmin, skillsHoldingDir, skillsTrashDir } from "./skill-admin.js"; +import { SkillAdmin, skillsHoldingDir } from "./skill-admin.js"; import { createMemoryTools, createSkillTools } from "./tools.js"; /** Package name; also the client bundle id. */ export const name = 'dsh-cloud-memory'; /** Services required before `apply` runs. */ export const inject = ['webServer']; /** Version reported by the status card. */ -const VERSION = '0.4.0'; +const VERSION = '0.4.1'; /** How often the skill directory is reconciled with the cloud center. */ const SKILL_SYNC_INTERVAL_MS = 15 * 60_000; /** How often queued reports are retried. */ @@ -59,7 +59,6 @@ export function apply(ctx, config) { const skillAdmin = new SkillAdmin({ skillsRoot: () => skillSync.skillsRoot(), holdingDir: () => skillsHoldingDir(), - trashDir: () => skillsTrashDir(), syncStatePath: () => join(dshHome(), 'cloud-memory-skills.json'), syncRunning: () => skillSync.stats().running, log: (message) => logger.info(message),