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
20 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.

Chat controls, public profiles, shadcn selects, and no Docs tab in a project1import assert from "node:assert/strict";
2import { test } from "node:test";
3
4import { SESSION_STATES, sessionChip } from "./session-card.ts";
5
6test("a session card's state reads as what is happening", () => {
The site no longer has g1t's own agents. g1t is where the coding agents you already use do their work, so the Agents mode is gone from the rail, with every page under /<workspace>/-/agents: personas, faces, skills, abilities, routines, computers, sessions and agent spend. Customize (skills, connectors, plugins, marketplaces), the context hub, model providers, the AI Gateway page, the Spend page and pill, Ask g1t, and the repository's Agents, Plans and agent settings pages go too, and their addresses now answer 404.7 assert.deepEqual(sessionChip("Working"), { tone: "accent", live: false });
Chat controls, public profiles, shadcn selects, and no Docs tab in a project8 assert.deepEqual(sessionChip("Needs approval"), { tone: "warn", live: false });
9 assert.deepEqual(sessionChip("Done"), { tone: "success", live: false });
10 assert.deepEqual(sessionChip("Failed"), { tone: "danger", live: false });
11 assert.deepEqual(sessionChip("Stopped"), { tone: "neutral", live: false });
12 assert.deepEqual(sessionChip("Queued"), { tone: "neutral", live: false });
The site no longer has g1t's own agents. g1t is where the coding agents you already use do their work, so the Agents mode is gone from the rail, with every page under /<workspace>/-/agents: personas, faces, skills, abilities, routines, computers, sessions and agent spend. Customize (skills, connectors, plugins, marketplaces), the context hub, model providers, the AI Gateway page, the Spend page and pill, Ask g1t, and the repository's Agents, Plans and agent settings pages go too, and their addresses now answer 404.13 assert.equal(sessionChip("Waiting on helpers").live, false);
Chat controls, public profiles, shadcn selects, and no Docs tab in a project14});
15
16test("every state has a chip, whatever its case; an unknown one is quiet", () => {
17 for (const state of SESSION_STATES) assert.ok(sessionChip(state.toUpperCase()));
18 assert.deepEqual(sessionChip("Exploding"), { tone: "neutral", live: false });
19 assert.deepEqual(sessionChip(null), { tone: "neutral", live: false });
20});