diff --git a/apps/server/src/agents/telemetry.ts b/apps/server/src/agents/telemetry.ts index 1dff06b9..73f03a89 100644 --- a/apps/server/src/agents/telemetry.ts +++ b/apps/server/src/agents/telemetry.ts @@ -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; diff --git a/apps/server/src/applied-migrations-store.ts b/apps/server/src/applied-migrations-store.ts index a3695bc5..dc794588 100644 --- a/apps/server/src/applied-migrations-store.ts +++ b/apps/server/src/applied-migrations-store.ts @@ -125,5 +125,3 @@ function isAppliedState(value: unknown): value is AppliedMigrationsState { } return true; } - -export { appliedStorePath as APPLIED_MIGRATIONS_STORE_PATH_FN }; diff --git a/apps/server/src/observability/service-resources.ts b/apps/server/src/observability/service-resources.ts index 1fb6a82d..df5ed6f2 100644 --- a/apps/server/src/observability/service-resources.ts +++ b/apps/server/src/observability/service-resources.ts @@ -930,7 +930,3 @@ export class ServiceResources { ); } } - -export function isSubsystemDegraded(state: SubsystemHealthState): boolean { - return state === "degraded"; -} diff --git a/apps/server/src/templates/store.ts b/apps/server/src/templates/store.ts index c66495de..103d453b 100644 --- a/apps/server/src/templates/store.ts +++ b/apps/server/src/templates/store.ts @@ -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; diff --git a/apps/web/src/hooks/use-jobs.ts b/apps/web/src/hooks/use-jobs.ts index ac03fd04..a0dd723b 100644 --- a/apps/web/src/hooks/use-jobs.ts +++ b/apps/web/src/hooks/use-jobs.ts @@ -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; diff --git a/apps/web/src/hooks/use-release-stream.ts b/apps/web/src/hooks/use-release-stream.ts index e4ae257c..bf7d2fe9 100644 --- a/apps/web/src/hooks/use-release-stream.ts +++ b/apps/web/src/hooks/use-release-stream.ts @@ -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"; @@ -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;