index.ts 923 B

12345678910111213141516171819202122232425262728293031323334
  1. /**
  2. * Prompt System - Simplified prompt management
  3. *
  4. * Features:
  5. * - File-based prompt storage in templates/
  6. * - Snippet composition via {{snippet:name}} syntax
  7. * - Variable interpolation via {{variable}} syntax
  8. */
  9. // Types
  10. export type { PromptId, SnippetId, LoadedPrompt } from './types';
  11. // Loader functions
  12. export {
  13. loadPrompt,
  14. loadSnippet,
  15. buildPrompt,
  16. interpolateVariables,
  17. clearPromptCache,
  18. } from './loader';
  19. // Prompt IDs constant
  20. export const PROMPT_IDS = {
  21. REQUIREMENTS_TO_OUTLINES: 'requirements-to-outlines',
  22. WEB_SEARCH_QUERY_REWRITE: 'web-search-query-rewrite',
  23. SLIDE_CONTENT: 'slide-content',
  24. QUIZ_CONTENT: 'quiz-content',
  25. SLIDE_ACTIONS: 'slide-actions',
  26. QUIZ_ACTIONS: 'quiz-actions',
  27. INTERACTIVE_SCIENTIFIC_MODEL: 'interactive-scientific-model',
  28. INTERACTIVE_HTML: 'interactive-html',
  29. INTERACTIVE_ACTIONS: 'interactive-actions',
  30. PBL_ACTIONS: 'pbl-actions',
  31. } as const;