[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
+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]: {