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
3 changes: 2 additions & 1 deletion apps/server/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,8 @@
"@anthropic-ai/claude-agent-sdk": "^0.2.77",
"@effect/platform-node": "catalog:",
"@effect/sql-sqlite-bun": "catalog:",
"@pierre/diffs": "1.1.13",
"@github/copilot-sdk": "^0.2.1",
"@pierre/diffs": "^1.1.0-beta.16",
"effect": "catalog:",
"node-pty": "^1.1.0",
"open": "^10.1.0",
Expand Down
11 changes: 8 additions & 3 deletions apps/server/src/doctor.ts
Original file line number Diff line number Diff line change
Expand Up @@ -10,6 +10,7 @@ import { Effect } from "effect";
import { Command } from "effect/unstable/cli";

import {
checkCopilotProviderStatus,
checkCodexProviderStatus,
checkClaudeProviderStatus,
} from "./provider/Layers/ProviderHealth";
Expand All @@ -32,6 +33,7 @@ const AUTH_LABELS: Record<string, string> = {
const PROVIDER_LABELS: Record<string, string> = {
codex: "Codex (OpenAI)",
claudeAgent: "Claude Code",
copilot: "GitHub Copilot",
};

function printStatus(status: ServerProviderStatus): void {
Expand Down Expand Up @@ -65,9 +67,12 @@ const doctorProgram = Effect.gen(function* () {
console.log("");
console.log("Checking provider health...");

const statuses = yield* Effect.all([checkCodexProviderStatus, checkClaudeProviderStatus], {
concurrency: "unbounded",
});
const statuses = yield* Effect.all(
[checkCodexProviderStatus, checkClaudeProviderStatus, checkCopilotProviderStatus],
{
concurrency: "unbounded",
},
);

for (const status of statuses) {
printStatus(status);
Expand Down
Loading