AI tracker: /trackers/ai with public news, owner-only bots and usage; ai schema (news_items, bot_status, usage_entries); idempotent import scripts; preflight ai grants check
Deploy production / deploy (push) Has been cancelled

This commit is contained in:
stan committed 2026-10-25 23:58:39 +00:00
1 parent 9b21220280
commit cf0fec973c
24 files changed
+38866 -3

No files matched your search

+5 -1
View File
@@ -27,6 +27,9 @@ export const ownerOnlyPrefixes = [
'/trackers/houses',
'/trackers/data-holders',
'/trackers/books/files',
// AI tracker: the news tab (/trackers/ai) is public, bots and usage are mine only.
'/trackers/ai/bots',
'/trackers/ai/usage',
'/lists/db',
// Spotify OAuth for the listening tracker (connect + callback 404 for everyone else).
'/api/spotify'
@@ -55,7 +58,8 @@ export const ownerWritePrefixes = [
'/trackers/trains',
'/trackers/wildlife',
'/trackers/music',
'/trackers/pc'
'/trackers/pc',
'/trackers/ai'
] as const;
const normalise = (pathname: string) => pathname.toLowerCase().replace(/\/+$/, '');