- app/agents/: new Agents page showing per-agent status + workspace files - app/knowledge/: Knowledge base viewer - app/api/tiger/: proxy routes for cron, file-tasks, file-projects, keys, agents - components/agent-strip.tsx: agent status bar for dashboard home - components/command-bar.tsx: command palette - components/digest-card.tsx + schedule-card.tsx: weekly digest + cron schedule - components/status-footer.tsx: system status footer - tasks page: dual-source (TASKS.md JSON block + SQLite) with fallback - projects page: PROJECTS.md reader with kanban board integration
21 lines
689 B
TypeScript
21 lines
689 B
TypeScript
/**
|
|
* /api/tiger/file-projects — Tiger Workspace Projects Proxy
|
|
*
|
|
* Reads projects from Tiger's PROJECTS.md (via /tiger/file-tasks/projects bridge endpoint).
|
|
*/
|
|
|
|
import { NextResponse } from "next/server";
|
|
import { bridgeGet } from "@/lib/bridge";
|
|
|
|
export const dynamic = "force-dynamic";
|
|
|
|
// GET /api/tiger/file-projects — all projects from PROJECTS.md
|
|
export async function GET() {
|
|
try {
|
|
const result = await bridgeGet("/tiger/file-tasks/projects");
|
|
return NextResponse.json(result);
|
|
} catch (err: unknown) {
|
|
const message = err instanceof Error ? err.message : "Unknown error";
|
|
return NextResponse.json({ ok: false, error: message }, { status: 502 });
|
|
}
|
|
}
|