fix(migration): correct import path for DEFAULT_CATEGORIES

The import was pointing to non-existent sisyphus-task/constants,
updated to delegate-task/constants where DEFAULT_CATEGORIES is defined.

Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
This commit is contained in:
qwertystars
2026-01-16 23:42:41 +05:30
parent 0b9cf32190
commit 374083fa0e

View File

@@ -107,7 +107,7 @@ export function shouldDeleteAgentConfig(
config: Record<string, unknown>, config: Record<string, unknown>,
category: string category: string
): boolean { ): boolean {
const { DEFAULT_CATEGORIES } = require("../tools/sisyphus-task/constants") const { DEFAULT_CATEGORIES } = require("../tools/delegate-task/constants")
const defaults = DEFAULT_CATEGORIES[category] const defaults = DEFAULT_CATEGORIES[category]
if (!defaults) return false if (!defaults) return false