Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
13 changes: 12 additions & 1 deletion apps/web/src/components/chat/providerIconUtils.ts
Original file line number Diff line number Diff line change
@@ -1,5 +1,14 @@
import { ProviderDriverKind } from "@t3tools/contracts";
import { ClaudeAI, CursorIcon, GrokIcon, Icon, OpenAI, OpenCodeIcon } from "../Icons";
import {
ClaudeAI,
CursorIcon,
Gemini,
GithubCopilotIcon,
GrokIcon,
Icon,
OpenAI,
OpenCodeIcon,
} from "../Icons";
import { PROVIDER_OPTIONS } from "../../session-logic";

export const PROVIDER_ICON_BY_PROVIDER: Partial<Record<ProviderDriverKind, Icon>> = {
Expand All @@ -8,6 +17,8 @@ export const PROVIDER_ICON_BY_PROVIDER: Partial<Record<ProviderDriverKind, Icon>
[ProviderDriverKind.make("opencode")]: OpenCodeIcon,
[ProviderDriverKind.make("cursor")]: CursorIcon,
[ProviderDriverKind.make("grok")]: GrokIcon,
[ProviderDriverKind.make("copilot")]: GithubCopilotIcon,
[ProviderDriverKind.make("geminiCli")]: Gemini,
};

function isAvailableProviderOption(option: (typeof PROVIDER_OPTIONS)[number]): option is {
Expand Down
12 changes: 12 additions & 0 deletions apps/web/src/session-logic.ts
Original file line number Diff line number Diff line change
Expand Up @@ -51,6 +51,18 @@ export const PROVIDER_OPTIONS: Array<{
available: true,
pickerSidebarBadge: "new",
},
{
value: ProviderDriverKind.make("copilot"),
label: "Copilot",
available: true,
pickerSidebarBadge: "new",
},
{
value: ProviderDriverKind.make("geminiCli"),
label: "Gemini CLI",
available: true,
pickerSidebarBadge: "new",
},
];

export type WorkLogToolLifecycleStatus =
Expand Down
4 changes: 4 additions & 0 deletions packages/contracts/src/model.ts
Original file line number Diff line number Diff line change
Expand Up @@ -132,6 +132,8 @@ const CLAUDE_DRIVER_KIND = ProviderDriverKind.make("claudeAgent");
const CURSOR_DRIVER_KIND = ProviderDriverKind.make("cursor");
const GROK_DRIVER_KIND = ProviderDriverKind.make("grok");
const OPENCODE_DRIVER_KIND = ProviderDriverKind.make("opencode");
const COPILOT_DRIVER_KIND = ProviderDriverKind.make("copilot");
const GEMINI_CLI_DRIVER_KIND = ProviderDriverKind.make("geminiCli");

export const DEFAULT_MODEL = "gpt-5.6-sol";

Expand Down Expand Up @@ -218,4 +220,6 @@ export const PROVIDER_DISPLAY_NAMES: Partial<Record<ProviderDriverKind, string>>
[CURSOR_DRIVER_KIND]: "Cursor",
[GROK_DRIVER_KIND]: "Grok",
[OPENCODE_DRIVER_KIND]: "OpenCode",
[COPILOT_DRIVER_KIND]: "GitHub Copilot",
[GEMINI_CLI_DRIVER_KIND]: "Gemini CLI",
};