learning_ai_notes/backend
saravanakumardb1 9e3a7206b9 feat(backend): add note-prompts module with Smart Actions LLM integration
- Add @bytelyst/llm dependency (file: ref) + llm.ts singleton wrapper
- Add LLM env vars to config (LLM_PROVIDER, LLM_DEFAULT_MODEL, LLM_VISION_MODEL, LLM_EMBEDDING_MODEL)
- Create note-prompts module: types, repository, runner, routes, seed (20 built-in templates)
- Built-in templates: 8 transform, 3 extract, 3 generate, 2 analyze, 2 vision, 2 export
- Prompt runner supports text, image, and text+image inputs via @bytelyst/llm vision
- Upgrade copilot-transform.ts to use @bytelyst/llm directly (with local heuristic fallback)
- Add reading-time endpoint (GET /api/notes/:id/reading-time)
- Extend agent-action types with smart_action and auto_enrich
- Add note_prompts Cosmos container to cosmos-init
- Register notePromptRoutes in server.ts
- 15 new tests (CRUD, run, slug resolution, seed validation, reading-time)
2026-04-06 08:01:42 -07:00
..
src feat(backend): add note-prompts module with Smart Actions LLM integration 2026-04-06 08:01:42 -07:00
.env.example chore(backend): add FIELD_ENCRYPT env vars to .env.example 2026-03-27 23:01:36 -07:00
Dockerfile fix(docker): remove hardcoded corporate proxy and jfrog registry from Dockerfiles 2026-03-24 11:10:33 -07:00
eslint.config.js chore(backend): add eslint config and lint script 2026-03-26 23:03:09 -07:00
package.json feat(backend): add note-prompts module with Smart Actions LLM integration 2026-04-06 08:01:42 -07:00
tsconfig.json feat(docker): migrate NoteLett to Gitea registry-backed Docker pattern 2026-03-23 20:11:12 -07:00
vitest.config.ts chore(backend): add vitest.config.ts 2026-03-26 23:10:12 -07:00