Files
Momento/memento-note/app/api/manifest/route.ts
Antigravity 8c7ca69640
All checks were successful
Deploy to Production / Build and Deploy (push) Successful in 5s
fix: brainstorm infinite loop, ghost cursor, embedding ::vector cast, semantic search, billing stats, usage meter accordion
- Fix useBrainstormSocket: stable guestId via useRef, remove setState in cleanup
- Fix GhostCursor: direct DOM manipulation via refs, no useState re-renders
- Fix all SQL embedding queries: add ::vector cast on text columns
- Fix embedding truncation to 15000 chars (under 8192 token limit)
- Fix NoteEmbedding INSERT: remove non-existent updatedAt column
- Fix billing page: show all quota stats in grid instead of single metric
- Fix usage meter: accordion expand/collapse, per-feature detail
- Fix semantic search: rebuild 103 note embeddings, ::vector cast on vectorSearch
- Fix brainstorm expand/manual-idea/create: ::vector cast on embedding SQL
2026-05-16 18:50:34 +00:00

36 lines
857 B
TypeScript

import { NextResponse } from "next/server";
export async function GET() {
return NextResponse.json(
{
name: "Memento Notes",
short_name: "Memento",
description: "A smart, local-first note taking app with AI capabilities.",
start_url: "/home",
display: "standalone",
background_color: "#F2F0E9",
theme_color: "#1C1C1C",
icons: [
{
src: "/icons/icon-192.svg",
sizes: "192x192",
type: "image/svg+xml",
purpose: "any maskable",
},
{
src: "/icons/icon-512.svg",
sizes: "512x512",
type: "image/svg+xml",
purpose: "any maskable",
},
],
},
{
headers: {
"Content-Type": "application/manifest+json",
"Cache-Control": "public, max-age=86400",
},
}
);
}