Skip to content

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.sh
26 linesCodeBlameRaw

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.

Compare diffs from where the two branches last agreed, as a pull request would1/**
2 * The tabs under the header. Each shows its own part of the sidebar: the
Merge the docs' new look: tabs for each section with their own short sidebar, a larger title under its section, a lavender pill for the current page, links in the text's colour on a lavender underline, On this page on a rail, and a header whose right side is g1t.sh, Source, Sign up and one theme button.3 * groups named in its `groups`, in the sidebar's order. A page belongs to
4 * the tab holding its group; the home page, in no group, to the first.
5 * The API reference tab takes every group not named here, since the
6 * operations' groups are named after the API's tags.
Compare diffs from where the two branches last agreed, as a pull request would7 */
Merge the docs' new look: tabs for each section with their own short sidebar, a larger title under its section, a lavender pill for the current page, links in the text's colour on a lavender underline, On this page on a rail, and a header whose right side is g1t.sh, Source, Sign up and one theme button.8export type Tab = { label: string; groups: string[] };
Compare diffs from where the two branches last agreed, as a pull request would9
10export const TABS: Tab[] = [
Merge the docs' new look: tabs for each section with their own short sidebar, a larger title under its section, a lavender pill for the current page, links in the text's colour on a lavender underline, On this page on a rail, and a header whose right side is g1t.sh, Source, Sign up and one theme button.11 { label: 'Get started', groups: ['Get started', 'About'] },
The docs describe g1t as the place your coding agents work, not as an agent of its own. The guides to g1t's hosted agents are gone: agents, their abilities, access, budgets, memory, routines, sessions and skills, talking to agents, working with g1t, Customize, model providers, the AI Gateway, the context hub, spend, plans and the chat app's agent pages. Each old address redirects to the page that now covers what is left of it.12 { label: 'Coding agents', groups: ['Coding agents'] },
13 { label: 'Chat', groups: ['Chat'] },
Merge the docs' new look: tabs for each section with their own short sidebar, a larger title under its section, a lavender pill for the current page, links in the text's colour on a lavender underline, On this page on a rail, and a header whose right side is g1t.sh, Source, Sign up and one theme button.14 { label: 'Code', groups: ['Landing changes', 'Security'] },
15 { label: 'Projects', groups: ['Projects'] },
16 { label: 'Workspaces', groups: ['Workspaces', 'Connect your tools'] },
17 { label: 'Self-hosting', groups: ['Run g1t yourself'] },
18 { label: 'API reference', groups: [] },
Compare diffs from where the two branches last agreed, as a pull request would19];
20
Merge the docs' new look: tabs for each section with their own short sidebar, a larger title under its section, a lavender pill for the current page, links in the text's colour on a lavender underline, On this page on a rail, and a header whose right side is g1t.sh, Source, Sign up and one theme button.21const API = TABS[TABS.length - 1];
22
23/** The tab that holds the sidebar group with this label. */
24export function tabForGroup(label: string): Tab {
25 return TABS.find((tab) => tab.groups.includes(label)) ?? API;
Compare diffs from where the two branches last agreed, as a pull request would26}

This file's history is long; its oldest lines are credited to the oldest commit read.