mirror of
https://github.com/MBombeck/HealthLog.git
synced 2026-11-07 04:12:04 +00:00
One opt-in in AI settings reads every uploaded document with the configured provider — no per-document tap. Off by default; the vault stays local-first otherwise. Scanned PDFs and photos are read too (a PDF's pages are rendered to images so an image-only provider can read them). The background indexer now follows the same opt-in, so nothing leaves the machine automatically unless it is enabled.
75 lines
1.8 KiB
JSON
75 lines
1.8 KiB
JSON
{
|
|
"$schema": "https://unpkg.com/knip@6/schema.json",
|
|
"entry": [
|
|
"src/app/**/page.tsx",
|
|
"src/app/**/layout.tsx",
|
|
"src/app/**/route.ts",
|
|
"src/app/**/loading.tsx",
|
|
"src/app/**/not-found.tsx",
|
|
"src/app/**/error.tsx",
|
|
"src/app/**/global-error.tsx",
|
|
"src/app/**/template.tsx",
|
|
"src/app/**/opengraph-image.tsx",
|
|
"src/app/**/twitter-image.tsx",
|
|
"src/app/**/icon.tsx",
|
|
"src/app/**/apple-icon.tsx",
|
|
"src/app/**/manifest.ts",
|
|
"src/app/**/robots.ts",
|
|
"src/app/**/sitemap.ts",
|
|
"src/app/**/default.tsx",
|
|
"src/proxy.ts",
|
|
"src/instrumentation.ts",
|
|
"src/lib/jobs/**/*.ts",
|
|
"src/lib/ai/coach/eval/judge.ts",
|
|
"scripts/**/*.ts",
|
|
"scripts/**/*.mjs",
|
|
"e2e/**/*.spec.ts",
|
|
"e2e/**/*.test.ts",
|
|
"tests/**/*.test.ts",
|
|
"tests/**/setup.ts",
|
|
"vitest.config.ts",
|
|
"vitest.config.integration.ts",
|
|
"playwright.config.ts",
|
|
"next.config.ts",
|
|
"eslint.config.*",
|
|
"knip.json"
|
|
],
|
|
"project": [
|
|
"src/**/*.{ts,tsx}",
|
|
"scripts/**/*.{ts,mjs}",
|
|
"tests/**/*.ts",
|
|
"e2e/**/*.ts"
|
|
],
|
|
"ignore": [
|
|
"src/generated/**",
|
|
"prisma/**",
|
|
"public/**",
|
|
".next/**",
|
|
"**/__mocks__/**",
|
|
"e2e/setup/test-helpers.ts",
|
|
"src/components/charts/compliance-line-chart.tsx",
|
|
"src/lib/logging/index.ts"
|
|
],
|
|
"ignoreDependencies": [
|
|
"@types/node",
|
|
"@types/react",
|
|
"@types/react-dom",
|
|
"@hookform/resolvers",
|
|
"react-hook-form",
|
|
"@prisma/client",
|
|
"next-themes",
|
|
"@vitejs/plugin-react",
|
|
"shadcn",
|
|
"tailwindcss",
|
|
"testcontainers",
|
|
"tw-animate-css",
|
|
"@napi-rs/canvas"
|
|
],
|
|
"ignoreBinaries": ["docker", "docker-compose", "pg_isready", "tsx", "cosign"],
|
|
"ignoreExportsUsedInFile": true,
|
|
"ignoreIssues": {
|
|
"src/components/ui/**": ["exports", "types"],
|
|
"src/lib/validations/**": ["types"]
|
|
}
|
|
}
|