From 8e9c2ac498c0d16c773c29e4ea82d738bd218787 Mon Sep 17 00:00:00 2001 From: QQ Date: Wed, 11 Nov 2026 11:33:59 +0800 Subject: [PATCH] =?UTF-8?q?=E6=9B=B4=E6=96=B0=20src/index.ts?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/index.ts | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --git a/src/index.ts b/src/index.ts index bc99f22..4c5434e 100644 --- a/src/index.ts +++ b/src/index.ts @@ -16,7 +16,7 @@ import { createRoutes } from './routes.ts' import { join } from 'node:path' import { SettingsStore, dshHome } from './store.ts' import { SkillSync } from './skill-sync.ts' -import { SkillAdmin, skillsHoldingDir, skillsTrashDir } from './skill-admin.ts' +import { SkillAdmin, skillsHoldingDir } from './skill-admin.ts' import { createMemoryTools, createSkillTools } from './tools.ts' /** Package name; also the client bundle id. */ @@ -26,7 +26,7 @@ export const name = 'dsh-cloud-memory' 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 @@ -70,7 +70,6 @@ export function apply(ctx: CloudMemoryContext, config: unknown): void { 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),