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
43 changes: 0 additions & 43 deletions apps/server/src/agents/telemetry.ts
Original file line number Diff line number Diff line change
Expand Up @@ -33,49 +33,6 @@ export type ActivitySummaryResult = {
}>;
};

export type AgentHistoryEntry = {
id: string;
name: string;
type: string;
project: string;
status: string;
createdAt: string;
latestEventType: string | null;
latestEventMessage: string | null;
pins: Array<{ label: string; value: string; type: string }>;
git: {
branch: string | null;
worktreeBranch: string | null;
} | null;
events?: Array<{
type: string;
message: string;
createdAt: string;
}>;
feedback?: Array<{
id: number;
persona: string;
severity: string;
description: string;
filePath: string | null;
suggestion: string | null;
status: string;
}>;
reviews?: Array<{
persona: string;
status: string;
verdict: string | null;
summary: string | null;
filesReviewed: string[] | null;
}>;
};

export type AgentHistoryResult = {
agents: AgentHistoryEntry[];
total: number;
hasMore: boolean;
};

export type FeedbackSummaryResult = {
period: { start: string; end: string };
totalFindings: number;
Expand Down
2 changes: 0 additions & 2 deletions apps/server/src/applied-migrations-store.ts
Original file line number Diff line number Diff line change
Expand Up @@ -125,5 +125,3 @@ function isAppliedState(value: unknown): value is AppliedMigrationsState {
}
return true;
}

export { appliedStorePath as APPLIED_MIGRATIONS_STORE_PATH_FN };
4 changes: 0 additions & 4 deletions apps/server/src/observability/service-resources.ts
Original file line number Diff line number Diff line change
Expand Up @@ -930,7 +930,3 @@ export class ServiceResources {
);
}
}

export function isSubsystemDegraded(state: SubsystemHealthState): boolean {
return state === "degraded";
}
6 changes: 0 additions & 6 deletions apps/server/src/templates/store.ts
Original file line number Diff line number Diff line change
Expand Up @@ -5,14 +5,8 @@ import type { Pool } from "pg";

import type { AgentType } from "../agent-type-settings.js";
import { isUniqueViolation } from "../shared/lib/pg-errors.js";
import {
parseTemplateArgs,
substituteArgs,
type TemplatePromptArg as ParsedArg,
} from "./arg-parser.js";

export { parseTemplateArgs, substituteArgs } from "./arg-parser.js";
export type { TemplatePromptArg as ParsedArg } from "./arg-parser.js";

export type TemplateRecord = {
id: string;
Expand Down
4 changes: 0 additions & 4 deletions apps/web/src/hooks/use-jobs.ts
Original file line number Diff line number Diff line change
Expand Up @@ -13,10 +13,6 @@ import type {

export type { JobAgentType, JobNotifyConfig, JobReport, JobRunStatus };

export type JobRunTriggerSource = NonNullable<
JobRunRecord["config"]["triggerSource"]
>;

export type Job = JobWithLatestRun & { nextRun: string | null };

export type JobRun = JobRunRecord;
Expand Down
2 changes: 0 additions & 2 deletions apps/web/src/hooks/use-release-stream.ts
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,6 @@ import type { AssistedUpdateState } from "../../../server/src/assisted-update-st
import type {
AssistedUpdateMetadata,
AssistedUpdateMode,
RequiredCheckName,
} from "../../../server/src/release-metadata";
import type { CheckResult } from "../../../server/src/release-checks";
import type { UpdateMigrationManifest } from "../../../server/src/update-migrations";
Expand All @@ -42,7 +41,6 @@ export type {
};

// These server types carry different names; keep the names web code uses.
export type AssistedRequiredCheck = RequiredCheckName;
export type AssistedCheckResult = CheckResult;
export type PendingMigration = PendingMigrationSummary;

Expand Down
Loading