learning_ai_clock/web
saravanakumardb1 c80c1e4462 feat(ai-context): Phase A.4 — context-aware AI messages with LLM fallback
Add AI-enriched context message generation:

- backend/src/lib/ai-context.ts: LLM-powered context generator with keyword fallback
  - Calls extraction-service timer-context task when EXTRACTION_SERVICE_URL is set
  - Falls back to keyword rules, then generic message
  - Gated behind isFeatureEnabled('ai_context_messages.enabled')
- backend/src/lib/config.ts: Add EXTRACTION_SERVICE_URL env var
- backend/src/server.ts: POST /api/context-message route
- web/src/lib/context-messages.ts: fetchEnrichedMessage() with graceful degradation
- Updated AGENTIC_AI_ROADMAP.md checkboxes for Phase A.1 + A.2

All 219 backend tests + 394 web tests pass. No breaking changes.
2026-03-31 23:46:00 -07:00
..
e2e fix(e2e): fix escaped backticks in visual-regression template literals 2026-03-29 01:01:14 -07:00
public chore(web): add Dockerfile, service worker, and e2e test scaffolds 2026-03-27 11:28:33 -07:00
scripts ci: update CI/CD configuration 2026-03-04 20:01:34 -08:00
src feat(ai-context): Phase A.4 — context-aware AI messages with LLM fallback 2026-03-31 23:46:00 -07:00
.env.example fix(tests): stats.test.ts topCategory test broken on Sundays — wrong Monday calculation 2026-03-01 16:37:07 -08:00
.gitignore chore: add docker-prep script + gitignore entries for portable builds 2026-02-28 12:32:28 -08:00
Dockerfile chore(web): add Dockerfile, service worker, and e2e test scaffolds 2026-03-27 11:28:33 -07:00
env.example feat: fix web build, add repo infra, port iOS engine modules, add routine screens 2026-02-28 01:50:35 -08:00
eslint.config.mjs fix(ci): fix ESLint flat config plugin resolution 2026-03-22 21:20:23 -07:00
netlify.toml feat(deploy): Phase 1 polish — analytics, install prompt, a11y, PWA icons 2026-02-27 21:57:43 -08:00
next.config.ts feat(repo): migrate chronomind workspace to pnpm 2026-03-22 19:11:01 -07:00
package.json feat(ecosystem): Phase 0 — kill-switch, feedback, accessibility, feature flags, telemetry events 2026-03-31 23:26:37 -07:00
playwright.config.ts feat(web): add Playwright E2E tests, service worker, package updates 2026-02-27 22:37:04 -08:00
postcss.config.mjs feat: add timer engine, cascade system, urgency system with 40 passing tests 2026-02-27 20:50:36 -08:00
README.md feat: add timer engine, cascade system, urgency system with 40 passing tests 2026-02-27 20:50:36 -08:00
tsconfig.json fix(web): exclude e2e/ from tsconfig to prevent false typecheck errors 2026-03-29 02:19:06 -07:00
vitest.config.ts feat: add timer engine, cascade system, urgency system with 40 passing tests 2026-02-27 20:50:36 -08:00

This is a Next.js project bootstrapped with create-next-app.

Getting Started

First, run the development server:

npm run dev
# or
yarn dev
# or
pnpm dev
# or
bun dev

Open http://localhost:3000 with your browser to see the result.

You can start editing the page by modifying app/page.tsx. The page auto-updates as you edit the file.

This project uses next/font to automatically optimize and load Geist, a new font family for Vercel.

Learn More

To learn more about Next.js, take a look at the following resources:

You can check out the Next.js GitHub repository - your feedback and contributions are welcome!

Deploy on Vercel

The easiest way to deploy your Next.js app is to use the Vercel Platform from the creators of Next.js.

Check out our Next.js deployment documentation for more details.