flagon-io/g1t

public

Where people and agents ship software together. The open-source git platform for the whole job: issues, agents, checks and deploys to the edge.

g1t/apps/web/app/routes.ts

47 lines2,161 bytesCodeBlame

Pick any line to see why it is the way it is: the commit, the pull request and issue it came from, and what the agent was thinking.

Initial g1t: services, event bus, intents and attempts1import { type RouteConfig, index, route } from "@react-router/dev/routes";
2
3export default [
4 index("routes/home.tsx"),
5 route("login", "routes/login.tsx"),
API and MCP server, Rust identity service, registration, site redesign6 route("register", "routes/register.tsx"),
Initial g1t: services, event bus, intents and attempts7 route("logout", "routes/logout.tsx"),
Email verification, password reset, and Git for AI scale positioning8 route("verify", "routes/verify.tsx"),
9 route("forgot", "routes/forgot.tsx"),
10 route("reset", "routes/reset.tsx"),
Device sign-in replaces registering and minting tokens over the API11 route("device", "routes/device.tsx"),
OAuth 2.1 sign-in for MCP clients and other applications12 route("oauth/authorize", "routes/oauth-authorize.tsx"),
Initial g1t: services, event bus, intents and attempts13 route("new", "routes/new.tsx"),
14 route("settings", "routes/settings.tsx"),
API and MCP server, Rust identity service, registration, site redesign15 route("explore", "routes/explore.tsx", { id: "explore" }),
16 route("search", "routes/explore.tsx", { id: "search" }),
Agents as a team: lifecycle, merge queue, billing and a new shell17 route("workspaces/new", "routes/workspace/new.tsx"),
18 // A workspace's own pages sit under `-`, which no repository can be named.
19 route(":owner", "routes/workspace/layout.tsx", [
20 index("routes/workspace/overview.tsx"),
21 route("-/people", "routes/workspace/people.tsx"),
22 route("-/tokens", "routes/workspace/tokens.tsx"),
Usage, like a hosting provider's: what agents cost, per day, task, repository and pull request23 route("-/usage", "routes/workspace/usage.tsx"),
Agents as a team: lifecycle, merge queue, billing and a new shell24 route("-/billing", "routes/workspace/billing.tsx"),
Integrations: your own model provider, alerts that open issues, tickets agents read25 route("-/integrations", "routes/workspace/integrations.tsx"),
Agents as a team: lifecycle, merge queue, billing and a new shell26 route("-/settings", "routes/workspace/settings.tsx"),
27 ]),
28 // Why a line is the way it is, fetched by the blame view.
29 route(":owner/:repo/why/:hash", "routes/repo/why.ts"),
Initial g1t: services, event bus, intents and attempts30 route(":owner/:repo", "routes/repo/layout.tsx", [
31 index("routes/repo/code.tsx"),
32 route("tree/:ref/*", "routes/repo/tree.tsx"),
33 route("blob/:ref/*", "routes/repo/blob.tsx"),
API and MCP server, Rust identity service, registration, site redesign34 route("commits", "routes/repo/commits.tsx"),
Agents as a team: lifecycle, merge queue, billing and a new shell35 route("commit/:hash", "routes/repo/commit.tsx"),
Issues and pull requests replace intents and attempts36 route("issues", "routes/repo/issues.tsx"),
37 route("issues/new", "routes/repo/issue-new.tsx"),
38 route("issues/:number", "routes/repo/issue.tsx"),
39 route("pulls", "routes/repo/pulls.tsx"),
Pull requests from branches40 route("pulls/new", "routes/repo/pull-new.tsx"),
Issues and pull requests replace intents and attempts41 route("pull/:number", "routes/repo/pull.tsx"),
Agents as a team: lifecycle, merge queue, billing and a new shell42 route("queue", "routes/repo/queue.tsx"),
43 route("plans", "routes/repo/plans.tsx"),
44 route("plans/:id", "routes/repo/plan.tsx"),
45 route("settings", "routes/repo/settings.tsx"),
Initial g1t: services, event bus, intents and attempts46 ]),
47] satisfies RouteConfig;