cloud / core / lib / src / dash-routes.fixture.jsonmain at aacbc74
[
{
"name": "root",
"href": "/",
"keys": {},
"link": { "view": "home" }
},
{
"name": "secrets page",
"href": "/secrets",
"keys": { "page": "secrets" },
"link": { "view": "secrets" }
},
{
"name": "integrations page",
"href": "/integrations",
"keys": { "page": "integrations" },
"link": { "view": "integrations" }
},
{
"name": "analytics page",
"href": "/analytics",
"keys": { "page": "analytics" },
"link": { "view": "analytics" }
},
{
"name": "agents overview",
"href": "/agents",
"keys": { "page": "agents" },
"link": { "view": "agents" }
},
{
"name": "agent under /agents/",
"href": "/agents/agents/onboarding",
"keys": { "agent": "/agents/onboarding" },
"link": { "view": "agent", "contextPath": "/agents/onboarding" }
},
{
"name": "agent outside /agents/",
"href": "/agents/people/ada",
"keys": { "agent": "/people/ada" },
"link": { "view": "agent", "contextPath": "/people/ada" }
},
{
"name": "agent at root",
"href": "/agents?contextPath=/",
"keys": { "agent": "/" },
"link": { "view": "agent", "contextPath": "/" }
},
{
"name": "unsayable agent with dot-dot segment",
"href": "/agents?contextPath=/a/../b",
"keys": { "agent": "/a/../b" },
"link": { "view": "agent", "contextPath": "/a/../b" }
},
{
"name": "agent with special characters",
"href": "/agents/agents/ada+notes@example.com/a:b,c;d=e&f%23g%3Fh%2520i'j%20k",
"keys": { "agent": "/agents/ada+notes@example.com/a:b,c;d=e&f#g?h%20i'j k" },
"link": {
"view": "agent",
"contextPath": "/agents/ada+notes@example.com/a:b,c;d=e&f#g?h%20i'j k"
}
},
{
"name": "agent with trailing dot",
"href": "/agents/agents/a%2E",
"keys": { "agent": "/agents/a." },
"link": { "view": "agent", "contextPath": "/agents/a." }
},
{
"name": "agent with trailing comma",
"href": "/agents/agents/a%2C",
"keys": { "agent": "/agents/a," },
"link": { "view": "agent", "contextPath": "/agents/a," }
},
{
"name": "agent with trailing colon",
"href": "/agents/agents/a%3A",
"keys": { "agent": "/agents/a:" },
"link": { "view": "agent", "contextPath": "/agents/a:" }
},
{
"name": "contexts overview",
"href": "/contexts",
"keys": { "page": "contexts" },
"link": { "view": "contexts" }
},
{
"name": "context path",
"href": "/contexts/repos/config",
"keys": { "page": "contexts", "context": "/repos/config" },
"link": { "view": "context", "contextPath": "/repos/config" }
},
{
"name": "context with page's name",
"href": "/contexts/secrets",
"keys": { "page": "contexts", "context": "/secrets" },
"link": { "view": "context", "contextPath": "/secrets" }
},
{
"name": "context with email and dot",
"href": "/contexts/agents/canvas2/ada@example.com/notes.md",
"keys": { "page": "contexts", "context": "/agents/canvas2/ada@example.com/notes.md" },
"link": { "view": "context", "contextPath": "/agents/canvas2/ada@example.com/notes.md" }
},
{
"name": "context with trailing dot",
"href": "/contexts/agents/a%2E",
"keys": { "page": "contexts", "context": "/agents/a." },
"link": { "view": "context", "contextPath": "/agents/a." }
},
{
"name": "root context",
"href": "/contexts?contextPath=/",
"keys": { "page": "contexts", "context": "/" },
"link": { "view": "context", "contextPath": "/" }
},
{
"name": "unsayable context with dot-dot segment",
"href": "/contexts?contextPath=/a/../b",
"keys": { "page": "contexts", "context": "/a/../b" },
"link": { "view": "context", "contextPath": "/a/../b" }
},
{
"name": "default repos",
"href": "/repos",
"keys": { "page": "repos" },
"link": { "view": "repos" }
},
{
"name": "explicit config repo",
"href": "/repos/config",
"keys": { "page": "repos", "repo": "config" },
"link": { "view": "repos", "repo": "config" }
},
{
"name": "other repo",
"href": "/repos/docs",
"keys": { "page": "repos", "repo": "docs" },
"link": { "view": "repos", "repo": "docs" }
},
{
"name": "repo file with dot",
"href": "/repos/config/worker.ts",
"keys": { "page": "repos", "repo": "config" },
"view": { "file": "worker.ts" },
"link": { "view": "repos", "repo": "config", "file": "worker.ts" }
},
{
"name": "nested repo file named like a static asset",
"href": "/repos/config/apps/dash/app.js",
"keys": { "page": "repos", "repo": "config" },
"view": { "file": "apps/dash/app.js" },
"link": { "view": "repos", "repo": "config", "file": "apps/dash/app.js" }
},
{
"name": "custom page with remainder",
"href": "/notes/2026/standup",
"keys": { "page": "notes", "rest": "2026/standup" },
"link": { "view": "page", "page": "notes", "rest": "2026/standup" }
}
]