caelum0x ed0100a7d7 feat(apps): Phase 6.1-6.3 — agent-console live API, dashboard notifications+webhooks, admin analytics
- agent-console: /agents + /jobs now call the real /v1/agents + /v1/jobs API (server reads + register/create/advance actions), graceful demo fallback; +server-only dep.
- dashboard: webhook endpoint management + recent deliveries; in-app Notification Center (header bell) over delivery runs.
- admin: analytics/reporting page (summary cards + CSS bar charts, no new dep) + CSV export route.
- roadmap 6.1-6.3 checked. 1308 tests / 213 suites, typecheck + builds green.
2026-06-21 12:36:36 +03:00

8 lines
348 B
TypeScript

// Shared, transport-neutral config. Safe to import from BOTH client and server
// components (no server-only dependencies live here), unlike `lib/api.ts` which
// reads the server-side API key and is therefore server-only.
/** Base URL of the SettleKit API. */
export const API_URL =
process.env.NEXT_PUBLIC_API_URL ?? "http://localhost:8787";