feat(FN-1892): merge fusion/fn-1892

This commit is contained in:
Fusion
2026-04-16 12:53:06 -07:00
committed by gsxdsm
parent 8705cb08cf
commit 11f84151ce
14 changed files with 503 additions and 72 deletions

View File

@@ -601,6 +601,14 @@ The dashboard memory routes integrate with the pluggable memory backend system:
- `resolveMemoryBackend(settings)` — Resolve backend from settings
- `listMemoryBackendTypes()` — List registered backend types
**Memory Compaction and Auto-Summarize (FN-1892):**
- `compactMemoryWithAi(content, rootDir, provider?, modelId?)` — AI-powered memory compaction
- `createAutoSummarizeAutomation(settings)` — Creates cron-based automation for scheduled compaction
- `syncAutoSummarizeAutomation(automationStore, settings)` — Syncs automation schedule with project settings
- `POST /api/memory/compact` — API endpoint to trigger manual memory compaction
- New settings: `memoryAutoSummarizeEnabled`, `memoryAutoSummarizeThresholdChars`, `memoryAutoSummarizeSchedule`
- Automation uses "coding" tools mode (needs write access to update memory file)
## FN-1719: Lint/Type/Test Baseline Restoration
**ESLint flat config best practices:**