/** * src/tools/user-preferences.ts — handler for `skillfm_user_preferences`. * * Get / set client-side UserPreferences (frequency limits, quiet hours, * disabled categories). Persisted to ~/.skillfm/beacon-mcp/user-prefs.json. * * Phase 0: fully working (no brain dependency for read; brain push is * best-effort fire-and-forget). * * TODO Week 5: * - Validation: maxPerSession 1-20, maxPerDay 1-100, timezone is IANA. * - When prefs change, also push to brain so other devices (mobile app * in Phase 2) sync. * - Atomic write via .tmp + rename to survive MCP server kill. */ import { type SkillFmUserPreferencesInput, type SkillFmUserPreferencesOutput, type SkillFmToolResult } from '../_vendored-contracts/beacon-mcp-tools-v1.js'; import type { BrainClient } from '../brain-client.js'; export interface UserPreferencesDeps { brain: BrainClient; } export declare function handleUserPreferences(input: SkillFmUserPreferencesInput, deps: UserPreferencesDeps): Promise>; //# sourceMappingURL=user-preferences.d.ts.map