Open-source Grok Bot alternative for named AI teammates. Local-first desktop, web, and mobile clients with per-bot tools, instructions, and memory. Independent fork of T3 Code.
Add light mode support for git branch picker and default branch label
Julius Marmingee9cfe372bfaa
diff --git a/apps/web/src/components/ChatView.tsx b/apps/web/src/components/ChatView.tsxindex 3c28c7da5..128e3f2e9 100644--- a/apps/web/src/components/ChatView.tsx+++ b/apps/web/src/components/ChatView.tsx@@ -582,6 +582,17 @@ export default function ChatView() {<h2 className="text-sm font-medium text-foreground">{activeThread.title}</h2>+ {activeProject && (+ <span className="rounded-full bg-accent px-2 py-0.5 text-[10px] text-muted-foreground/50">+ {activeProject.name}+ </span>+ )}+ {activeThread.branch && (+ <span className="rounded-full bg-accent px-2 py-0.5 font-mono text-[10px] text-muted-foreground/50">+ {activeThread.branch}+ {activeThread.worktreePath ? " (worktree)" : ""}+ </span>+ )}</div><div className="flex items-center gap-3">{/* Open in editor */}diff --git a/packages/contracts/src/git.ts b/packages/contracts/src/git.tsindex 8d1f22d1d..4f312de47 100644--- a/packages/contracts/src/git.ts+++ b/packages/contracts/src/git.ts@@ -36,6 +36,7 @@ export const gitInitInputSchema = z.object({export const gitBranchSchema = z.object({name: z.string().min(1),current: z.boolean(),+ isDefault: z.boolean(),});export const gitWorktreeSchema = z.object({