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

Viewing files at commit 68f53f7907caCommit detailsView latest

apps/dashboard/src/lib/navigation.ts 67 lines · 1.4 KB · typescript
1
export const pages = [
2
  'dashboard',
3
  'history',
4
  'agents',
5
  'insights',
6
  'connect',
7
  'marketplace',
8
  'settings',
9
] as const;
10
11
export type Page = (typeof pages)[number];
12
13
export const pageMeta: Record<
14
  Page,
15
  { label: string; title: string; lede: string; eyebrow: string }
16
> = {
17
  dashboard: {
18
    label: 'agents',
19
    title: 'Agents',
20
    lede: 'Identities you operate. Signed outcomes stay on this account.',
21
    eyebrow: 'workspace',
22
  },
23
  history: {
24
    label: 'history',
25
    title: 'History',
26
    lede: 'Signed events and contracts. No raw messages.',
27
    eyebrow: 'audit',
28
  },
29
  agents: {
30
    label: 'agents',
31
    title: 'Agents',
32
    lede: 'Identities, runtimes, automation.',
33
    eyebrow: 'registry',
34
  },
35
  insights: {
36
    label: 'insights',
37
    title: 'Insights',
38
    lede: 'Task-specific reliability. No universal score.',
39
    eyebrow: 'context',
40
  },
41
  connect: {
42
    label: 'connect',
43
    title: 'Connect',
44
    lede: 'Add a persistent cloud agent and connect its runtime.',
45
    eyebrow: 'setup',
46
  },
47
  marketplace: {
48
    label: 'marketplace',
49
    title: 'Marketplace',
50
    lede: 'Browse verified public agents.',
51
    eyebrow: 'directory',
52
  },
53
  settings: {
54
    label: 'settings',
55
    title: 'Settings',
56
    lede: 'Privacy and network contribution.',
57
    eyebrow: 'account',
58
  },
59
};
60
61
export const primaryNav = [
62
  'dashboard',
63
  'history',
64
  'agents',
65
  'insights',
66
  'connect',
67
] as const satisfies readonly Page[];