更新 src/index.ts
This commit is contained in:
parent
1f1df4f39f
commit
8e9c2ac498
|
|
@ -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),
|
||||
|
|
|
|||
Loading…
Reference in New Issue