[autofix.ci] apply automated fixes

This commit is contained in:
autofix-ci[bot]
2026-07-04 20:29:16 +00:00
committed by GitHub
parent d32227ff43
commit d5b177aa89
4 changed files with 5 additions and 5 deletions
+1 -1
View File
@@ -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<T extends DialogType = DialogType> = {
type DialogRendererEntry<T extends DialogType = DialogType> = {
type: T;
render: (dialog: Extract<DialogSchema, { type: T }>) => ReactNode;
};
@@ -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;
+2 -2
View File
@@ -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.",
});
+1 -1
View File
@@ -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]: {