UNPKG

autosnippet

Version:

Extract code patterns into a knowledge base for AI coding assistants

23 lines (22 loc) 559 B
/** * Shared type definitions for MCP handler modules. * Runtime-free only interfaces and type aliases. */ /** Create a fresh idle IntentState */ export function createIdleIntent() { return { phase: 'idle', primeQuery: '', primeRecipeIds: [], primeAt: 0, primeLanguage: null, primeModule: null, primeScenario: 'search', toolCalls: [], searchQueries: [], mentionedFiles: [], mentionedModules: new Set(), decisions: [], driftEvents: [], }; }