diff --git a/apps/web/src/dialogs/renderer-registry.ts b/apps/web/src/dialogs/renderer-registry.ts index cd4f83e68..833f26138 100644 --- a/apps/web/src/dialogs/renderer-registry.ts +++ b/apps/web/src/dialogs/renderer-registry.ts @@ -2,7 +2,7 @@ import type { ReactNode } from "react"; import type { DialogSchema, DialogType } from "./schemas"; // ponytail: defineDialogRenderer/defineDialogRendererRegistry were identity fns; inlined -export type DialogRendererEntry = { +type DialogRendererEntry = { type: T; render: (dialog: Extract) => ReactNode; }; diff --git a/apps/web/src/features/resume/builder/draft.ts b/apps/web/src/features/resume/builder/draft.ts index e1911b161..f14dac042 100644 --- a/apps/web/src/features/resume/builder/draft.ts +++ b/apps/web/src/features/resume/builder/draft.ts @@ -28,7 +28,7 @@ export type Resume = { type ResumeUpdateMutation = "sync" | "create" | "update" | "patch" | "lock" | "password" | "delete"; type ResumeUpdateEvent = { mutation: ResumeUpdateMutation }; -export type SaveStatus = "idle" | "saving" | "saved" | "error"; +type SaveStatus = "idle" | "saving" | "saved" | "error"; type ResumeStoreState = { resume: Resume | null; diff --git a/packages/api/src/features/agent/routing.ts b/packages/api/src/features/agent/routing.ts index 10324cd62..7f8a4c966 100644 --- a/packages/api/src/features/agent/routing.ts +++ b/packages/api/src/features/agent/routing.ts @@ -2,11 +2,11 @@ import type { AnyMiddleware } from "@orpc/server"; import type { UIMessage } from "ai"; import { ORPCError } from "@orpc/client"; -export function isAgentEnvironmentUnavailable(error: unknown) { +function isAgentEnvironmentUnavailable(error: unknown) { return error instanceof Error && error.message === "AGENT_ENVIRONMENT_UNAVAILABLE"; } -export function throwUnavailable(): never { +function throwUnavailable(): never { throw new ORPCError("PRECONDITION_FAILED", { message: "AI agent workspace is unavailable because REDIS_URL or ENCRYPTION_SECRET is not configured.", }); diff --git a/packages/mcp/src/tool-meta.ts b/packages/mcp/src/tool-meta.ts index d1dc6c724..bb3332ef4 100644 --- a/packages/mcp/src/tool-meta.ts +++ b/packages/mcp/src/tool-meta.ts @@ -8,7 +8,7 @@ import { MCP_TOOL_NAME as T } from "./mcp-tool-names"; import { TOOL_ANNOTATIONS } from "./tool-annotations"; // ponytail: shared schema fragment; exported so server-card can re-use without re-importing -export const resumeIdSchema = z.string().min(1).describe(`Resume ID. Use \`${T.listResumes}\` to find valid IDs.`); +const resumeIdSchema = z.string().min(1).describe(`Resume ID. Use \`${T.listResumes}\` to find valid IDs.`); export const TOOL_META = { [T.listResumes]: {