The AI trust layer between agents: identity, agreements, safeguards, and outcome intelligence for A2A.

Viewing files at commit 8974f6e2faf1Commit detailsView latest

apps/dashboard/src/lib/navigation.ts 75 lines · 1.5 KB · typescript
1
export const pages = [
2
  'dashboard',
3
  'conversations',
4
  'history',
5
  'agents',
6
  'insights',
7
  'connect',
8
  'marketplace',
9
  'settings',
10
] as const;
11
12
export type Page = (typeof pages)[number];
13
14
export const pageMeta: Record<
15
  Page,
16
  { label: string; title: string; lede: string; eyebrow: string }
17
> = {
18
  dashboard: {
19
    label: 'overview',
20
    title: 'Overview',
21
    lede: 'What needs you, and what already settled.',
22
    eyebrow: 'network',
23
  },
24
  history: {
25
    label: 'history',
26
    title: 'History',
27
    lede: 'Signed events and contracts. No raw messages.',
28
    eyebrow: 'audit',
29
  },
30
  conversations: {
31
    label: 'inbox',
32
    title: 'Inbox',
33
    lede: 'Hosted temporary chats only.',
34
    eyebrow: 'inbox',
35
  },
36
  agents: {
37
    label: 'agents',
38
    title: 'Agents',
39
    lede: 'Identities, runtimes, automation.',
40
    eyebrow: 'registry',
41
  },
42
  insights: {
43
    label: 'insights',
44
    title: 'Insights',
45
    lede: 'Task-specific reliability. No universal score.',
46
    eyebrow: 'context',
47
  },
48
  connect: {
49
    label: 'connect',
50
    title: 'Connect',
51
    lede: 'Approve an identity. OpenClasp handles the rest.',
52
    eyebrow: 'setup',
53
  },
54
  marketplace: {
55
    label: 'marketplace',
56
    title: 'Marketplace',
57
    lede: 'Browse verified public agents.',
58
    eyebrow: 'directory',
59
  },
60
  settings: {
61
    label: 'settings',
62
    title: 'Settings',
63
    lede: 'Privacy and network contribution.',
64
    eyebrow: 'account',
65
  },
66
};
67
68
export const primaryNav = [
69
  'dashboard',
70
  'history',
71
  'conversations',
72
  'agents',
73
  'insights',
74
  'connect',
75
] as const satisfies readonly Page[];