diff --git a/CLAUDE.md b/CLAUDE.md index d4a473d..b0a4caa 100644 --- a/CLAUDE.md +++ b/CLAUDE.md @@ -90,6 +90,7 @@ Prettier is installed in `client/` (devDependency only, no script or config) — - **Services:** domain logic files at root level (`service.ts`, `pizza.ts`, `restaurants.ts`, `chefie.ts`, `voting.ts`, `stats.ts`, `qr.ts`, `notifikace.ts`) - **Helpers:** `mock.ts` (fake menu data for `MOCK_DATA=true`), `pushReminder.ts` (push notification reminders), `utils.ts` (shared utilities) - **Auth:** `auth.ts` — JWT + optional trusted-header authentication +- **MCP:** `mcp.ts` — read-only MCP server for AI agents on `POST /mcp` (stateless Streamable HTTP), mounted before the `/api` JWT middleware; authenticates only via its own `MCP_TOKEN` Bearer token (never the web JWT or proxy headers). Not part of `types/api.yml`. - **Storage:** `storage/index.ts` factory selects implementation; backends: `json.ts` (file-based, dev), `redis.ts` (production), `memory.ts` (tests). Data keyed by date (YYYY-MM-DD). - **Restaurant scrapers:** Cheerio-based HTML parsing for daily menus from multiple restaurants - **Pizza Chefie integration:** `chefie.ts` scrapes pizzachefie.cz for Pizza day menus and salads (only active when a Pizza day is open) diff --git a/README.md b/README.md index df17590..65e283e 100644 --- a/README.md +++ b/README.md @@ -36,5 +36,12 @@ Aplikace sestává ze tří modulů. ### Spuštení s traefik - `docker compose -f compose-traefik.yml up --build -d` +## MCP pro AI agenty (Claude Code) +Server nabízí na `POST /mcp` MCP server (Streamable HTTP, jen čtení) s nástroji `list_restaurants` a `get_menus`. +- Zapíná se proměnnou `MCP_TOKEN` (min. 32 znaků, např. `openssl rand -hex 32`), bez ní vrací `/mcp` 404. +- Agent je samostatný klient: ověřuje se jen tímto tokenem, ne webovým přihlášením. Token nefunguje na `/api`, webový JWT ani hlavička z proxy nefungují na `/mcp`. +- Na proxy musí `/mcp` vést mimo přihlášení (Authelia), ověření řeší aplikace sama. +- Připojení: `claude mcp add -s user --transport http luncher https:///mcp -H "Authorization: Bearer "` + ## TODO Dostupné [zde](TODO.md). \ No newline at end of file diff --git a/server/.env.template b/server/.env.template index 0343f99..dadbfc7 100644 --- a/server/.env.template +++ b/server/.env.template @@ -56,6 +56,11 @@ # Bez vyplnění 3× kliknutí jen čeká na kód hry, která zůstala v Luncheru (kreslení). # LOBBY_URL='https://lobby.example.com' +# Token pro MCP server na POST /mcp (AI agenti, např. Claude Code; jen čtení menu). Minimálně 32 znaků. +# Agent se ověřuje jen tímto tokenem (hlavička Authorization: Bearer ), ne webovým přihlášením. +# Bez tokenu je MCP vypnuté (/mcp vrací 404). Kratší token = server nenaběhne. +# MCP_TOKEN= + # Admin heslo pro správu seznamu obchodů na stránce /objednani. # Bez hesla nelze přidávat ani odebírat obchody ze seznamu (POST/DELETE na /api/stores vrátí 403). # ADMIN_PASSWORD= diff --git a/server/package.json b/server/package.json index 091ee1e..1593e6f 100644 --- a/server/package.json +++ b/server/package.json @@ -30,6 +30,7 @@ "typescript": "^5.9.3" }, "dependencies": { + "@modelcontextprotocol/sdk": "^1.32.1", "@sentry/node": "^10.65.0", "@socket.io/redis-adapter": "^8.3.0", "axios": "^1.13.2", @@ -42,6 +43,7 @@ "redis": "^5.9.0", "simple-json-db": "^2.0.0", "socket.io": "^4.6.1", - "web-push": "^3.6.7" + "web-push": "^3.6.7", + "zod": "^4.6.7" } } diff --git a/server/src/index.ts b/server/src/index.ts index 8b840bf..61d7990 100644 --- a/server/src/index.ts +++ b/server/src/index.ts @@ -32,6 +32,7 @@ import butterflyRoutes from "./routes/butterflyRoutes"; import { getConfettiCharacters, getConfettiImage, getHellGirlImages } from "./confetti"; import { getTrustedRemoteUser, parseTrustedIps } from "./trustedHeaders"; import { getGroupLimits } from "./limits"; +import { assertMcpConfig, handleMcpRequest, mcpMethodNotAllowed } from "./mcp"; const ENVIRONMENT = process.env.NODE_ENV ?? 'production'; dotenv.config({ path: path.resolve(__dirname, `../.env.${ENVIRONMENT}`) }); @@ -39,6 +40,7 @@ dotenv.config({ path: path.resolve(__dirname, `../.env.${ENVIRONMENT}`) }); if (!process.env.JWT_SECRET) { throw new Error("Není vyplněna proměnná prostředí JWT_SECRET"); } +assertMcpConfig(); const app = express(); const server = require("http").createServer(app); @@ -242,6 +244,11 @@ app.get("/api/confetti/image/:id", async (req, res, next) => { } catch (e: any) { next(e); } }); +// ─── MCP pro AI agenty — vlastní token (MCP_TOKEN), nezávislý na JWT i hlavičkách z proxy ─── + +app.post("/mcp", handleMcpRequest); +app.all("/mcp", mcpMethodNotAllowed); + // ─── Auth middleware ────────────────────────────────────────────────────────── app.use("/api/", (req, res, next) => { diff --git a/server/src/mcp.ts b/server/src/mcp.ts new file mode 100644 index 0000000..b9f811d --- /dev/null +++ b/server/src/mcp.ts @@ -0,0 +1,165 @@ +import crypto from "crypto"; +import type { NextFunction, Request, Response } from "express"; +import { McpServer } from "@modelcontextprotocol/sdk/server/mcp.js"; +import { StreamableHTTPServerTransport } from "@modelcontextprotocol/sdk/server/streamableHttp.js"; +import { z } from "zod"; +import { Restaurant, RestaurantDayMenu } from "../../types/gen/types.gen"; +import { getActiveRestaurants, getDateForWeekIndex, getRestaurantMenu, getToday } from "./service"; +import { CHOICE_NAMES } from "./userExport"; +import { formatDate, getHumanDate, getIsWeekend } from "./utils"; + +/** + * MCP server pro AI agenty (např. Claude Code) — jen čtení menu. + * + * Agent je samostatný klient: ověřuje se vlastním tokenem z MCP_TOKEN, ne JWT webové aplikace + * ani hlavičkou z proxy. Token proto nefunguje na /api a webový JWT nefunguje na /mcp. + * Endpoint je bezstavový (nový server pro každý požadavek), takže nevadí více replik. + */ + +const MIN_TOKEN_LENGTH = 32; + +/** Ověří konfiguraci MCP při startu serveru. Krátký token je chyba konfigurace — server nenaběhne. */ +export function assertMcpConfig() { + const token = process.env.MCP_TOKEN; + if (token && token.length < MIN_TOKEN_LENGTH) { + throw new Error(`Proměnná prostředí MCP_TOKEN musí být minimálně ${MIN_TOKEN_LENGTH} znaků`); + } +} + +/** Vrátí token MCP klienta, nebo undefined, pokud MCP není zapnuté (nebo je token příliš krátký). */ +function getMcpToken(): string | undefined { + const token = process.env.MCP_TOKEN; + return token && token.length >= MIN_TOKEN_LENGTH ? token : undefined; +} + +/** Porovná Bearer token z požadavku s MCP_TOKEN v konstantním čase (hashe mají stejnou délku). */ +function isAuthorized(req: Request, expected: string): boolean { + const header = req.headers.authorization; + if (!header?.startsWith('Bearer ')) return false; + const sha256 = (value: string) => crypto.createHash('sha256').update(value).digest(); + return crypto.timingSafeEqual(sha256(header.slice('Bearer '.length)), sha256(expected)); +} + +/** + * Určí den pro výpis menu — stejná pravidla jako GET /api/data: konkrétní datum má přednost + * a budoucnost se ořízne na dnešek, index dne se bere v aktuálním týdnu, o víkendu bez parametrů pátek. + */ +function resolveDate(date?: string, dayIndex?: number): Date { + if (date) { + const parsed = new Date(`${date}T00:00:00`); + if (isNaN(parsed.getTime())) { + throw new Error('Neplatné datum'); + } + return parsed.getTime() > getToday().getTime() ? getToday() : parsed; + } + if (dayIndex != null) { + return getDateForWeekIndex(dayIndex); + } + return getIsWeekend(getToday()) ? getDateForWeekIndex(4) : getToday(); +} + +/** Zformátuje menu jednoho podniku do čitelného textu pro agenta. */ +function formatRestaurantMenu(restaurant: Restaurant, menu?: RestaurantDayMenu): string { + const heading = `## ${CHOICE_NAMES[restaurant]} (${restaurant})`; + if (!menu) { + return `${heading}\nMenu se nepodařilo načíst.`; + } + if (menu.closed) { + return `${heading}\nZavřeno.`; + } + if (!menu.food?.length) { + return `${heading}\nMenu zatím není k dispozici.`; + } + const lines = menu.food.map(food => { + const parts = [food.isSoup ? `[polévka] ${food.name}` : food.name]; + if (food.amount && food.amount !== '-') parts.push(food.amount); + if (food.price) parts.push(food.price); + const allergens = food.allergens?.length ? ` (alergeny: ${food.allergens.join(', ')})` : ''; + return `- ${parts.join(' — ')}${allergens}`; + }); + if (menu.isStale) { + lines.push('Pozor: menu může pocházet z jiného týdne.'); + } + for (const warning of menu.warnings ?? []) { + lines.push(`Upozornění: ${warning}`); + } + return [heading, ...lines].join('\n'); +} + +/** Vytvoří MCP server s nástroji pro čtení menu. */ +export function createMcpServer(): McpServer { + const server = new McpServer({ name: 'luncher', version: '1.0.0' }); + const activeRestaurants = getActiveRestaurants(); + + server.registerTool('list_restaurants', { + title: 'Seznam podniků', + description: 'Vrátí podniky, pro které Luncher stahuje denní obědová menu (identifikátor a název).', + annotations: { readOnlyHint: true, openWorldHint: false }, + }, async () => ({ + content: [{ + type: 'text', + text: activeRestaurants.map(r => `- ${r}: ${CHOICE_NAMES[r]}`).join('\n'), + }], + })); + + server.registerTool('get_menus', { + title: 'Denní menu', + description: 'Vrátí obědová menu podniků pro daný den (jídla, gramáž, ceny, alergeny). ' + + 'Bez parametrů vrátí dnešek (o víkendu pátek). Budoucí datum se ořízne na dnešek.', + inputSchema: { + date: z.string().regex(/^\d{4}-\d{2}-\d{2}$/).optional() + .describe('Konkrétní den ve formátu YYYY-MM-DD; má přednost před dayIndex'), + dayIndex: z.number().int().min(0).max(4).optional() + .describe('Den v aktuálním týdnu: 0 = pondělí … 4 = pátek'), + restaurant: z.enum(activeRestaurants as [Restaurant, ...Restaurant[]]).optional() + .describe('Jen jeden podnik (identifikátor z list_restaurants); bez něj všechny'), + }, + annotations: { readOnlyHint: true, openWorldHint: false }, + }, async ({ date, dayIndex, restaurant }) => { + const usedDate = resolveDate(date, dayIndex); + const sections = [`# Menu na ${getHumanDate(usedDate)} (${formatDate(usedDate)})`]; + // Postupně, ne paralelně — getRestaurantMenu zapisuje do sdíleného týdenního záznamu + for (const r of restaurant ? [restaurant] : activeRestaurants) { + const menu = await getRestaurantMenu(r, usedDate).catch((e: any) => { + console.error(`MCP: nepodařilo se načíst menu ${r}`, e); + return undefined; + }); + sections.push(formatRestaurantMenu(r, menu)); + } + return { content: [{ type: 'text', text: sections.join('\n\n') }] }; + }); + + return server; +} + +/** POST /mcp — ověří MCP klienta a obslouží JSON-RPC požadavek v bezstavovém režimu. */ +export async function handleMcpRequest(req: Request, res: Response, next: NextFunction) { + const token = getMcpToken(); + if (!token) { + return res.status(404).json({ error: 'MCP není na tomto serveru zapnuté' }); + } + if (!isAuthorized(req, token)) { + return res.status(401).json({ error: 'Neplatný MCP token' }); + } + const server = createMcpServer(); + const transport = new StreamableHTTPServerTransport({ sessionIdGenerator: undefined, enableJsonResponse: true }); + res.on('close', () => { + transport.close(); + server.close(); + }); + try { + await server.connect(transport); + await transport.handleRequest(req, res, req.body); + } catch (e: any) { + next(e); + } +} + +/** Ostatní metody na /mcp — bezstavový server nenabízí SSE stream (GET) ani ukončení session (DELETE). */ +export function mcpMethodNotAllowed(_req: Request, res: Response) { + res.status(405).set('Allow', 'POST').json({ + jsonrpc: '2.0', + error: { code: -32000, message: 'Metoda není povolena' }, + id: null, + }); +} diff --git a/server/src/tests/mcp.test.ts b/server/src/tests/mcp.test.ts new file mode 100644 index 0000000..b7eaab2 --- /dev/null +++ b/server/src/tests/mcp.test.ts @@ -0,0 +1,153 @@ +const mockGetRestaurantMenu = jest.fn(); +jest.mock('../service', () => ({ + ...jest.requireActual('../service'), + getRestaurantMenu: (...args: any[]) => mockGetRestaurantMenu(...args), +})); + +import express from 'express'; +import request from 'supertest'; +import bodyParser from 'body-parser'; +import { generateToken, verify } from '../auth'; +import { assertMcpConfig, handleMcpRequest, mcpMethodNotAllowed } from '../mcp'; +import { formatDate } from '../utils'; + +const MCP_TOKEN = 'mcp-token-ktery-ma-taky-alespon-32-znaku'; + +function buildApp() { + const app = express(); + app.use(bodyParser.json()); + app.post('/mcp', handleMcpRequest); + app.all('/mcp', mcpMethodNotAllowed); + return app; +} + +/** Odešle JSON-RPC požadavek na /mcp s předaným tokenem. */ +function rpc(method: string, params: object = {}, token: string | null = MCP_TOKEN) { + const req = request(buildApp()) + .post('/mcp') + .set('Accept', 'application/json, text/event-stream') + .set('Content-Type', 'application/json'); + if (token) req.set('Authorization', `Bearer ${token}`); + return req.send({ jsonrpc: '2.0', id: 1, method, params }); +} + +const callTool = (name: string, args: object = {}) => rpc('tools/call', { name, arguments: args }); + +beforeEach(() => { + process.env.MCP_TOKEN = MCP_TOKEN; + mockGetRestaurantMenu.mockReset(); + mockGetRestaurantMenu.mockResolvedValue({ + lastUpdate: Date.now(), + closed: false, + food: [ + { amount: '0,33l', name: 'Hovězí vývar', price: '35 Kč', isSoup: true, allergens: [1, 9] }, + { amount: '150g', name: 'Svíčková na smetaně', price: '169 Kč', isSoup: false }, + ], + }); +}); + +afterAll(() => { + delete process.env.MCP_TOKEN; +}); + +describe('ověření MCP klienta', () => { + test('bez MCP_TOKEN je MCP vypnuté (404)', async () => { + delete process.env.MCP_TOKEN; + const res = await rpc('tools/list'); + expect(res.status).toBe(404); + }); + + test('požadavek bez tokenu vrátí 401', async () => { + const res = await rpc('tools/list', {}, null); + expect(res.status).toBe(401); + }); + + test('špatný token vrátí 401', async () => { + const res = await rpc('tools/list', {}, 'x'.repeat(40)); + expect(res.status).toBe(401); + }); + + test('webový JWT na /mcp nefunguje', async () => { + const res = await rpc('tools/list', {}, generateToken('testuser')); + expect(res.status).toBe(401); + }); + + test('MCP token není platný webový JWT (na /api nefunguje)', () => { + expect(verify(MCP_TOKEN)).toBe(false); + }); + + test('příliš krátký MCP_TOKEN je chyba konfigurace', () => { + process.env.MCP_TOKEN = 'kratky'; + expect(() => assertMcpConfig()).toThrow(); + }); + + test('GET /mcp vrátí 405', async () => { + const res = await request(buildApp()) + .get('/mcp') + .set('Authorization', `Bearer ${MCP_TOKEN}`); + expect(res.status).toBe(405); + }); +}); + +describe('nástroje', () => { + test('tools/list nabízí jen čtecí nástroje', async () => { + const res = await rpc('tools/list'); + expect(res.status).toBe(200); + const tools = res.body.result.tools; + expect(tools.map((t: any) => t.name).sort()).toEqual(['get_menus', 'list_restaurants']); + expect(tools.every((t: any) => t.annotations?.readOnlyHint === true)).toBe(true); + }); + + test('list_restaurants vrátí aktivní podniky', async () => { + const res = await callTool('list_restaurants'); + const text = res.body.result.content[0].text; + expect(text).toContain('SLADOVNICKA: Sladovnická'); + // Dočasně vyřazený podnik se nenabízí + expect(text).not.toContain('SENKSERIKOVA'); + }); + + test('get_menus pro konkrétní den vrátí menu všech aktivních podniků', async () => { + const res = await callTool('get_menus', { date: '2025-01-08' }); + expect(res.status).toBe(200); + const text = res.body.result.content[0].text; + expect(text).toContain('(2025-01-08)'); + expect(text).toContain('## Sladovnická (SLADOVNICKA)'); + expect(text).toContain('- [polévka] Hovězí vývar — 0,33l — 35 Kč (alergeny: 1, 9)'); + expect(text).toContain('- Svíčková na smetaně — 150g — 169 Kč'); + expect(mockGetRestaurantMenu).toHaveBeenCalledTimes(3); + expect(formatDate(mockGetRestaurantMenu.mock.calls[0][1])).toBe('2025-01-08'); + }); + + test('get_menus s filtrem podniku načte jen ten podnik', async () => { + const res = await callTool('get_menus', { date: '2025-01-08', restaurant: 'TECHTOWER' }); + const text = res.body.result.content[0].text; + expect(text).toContain('## TechTower (TECHTOWER)'); + expect(text).not.toContain('Sladovnická'); + expect(mockGetRestaurantMenu).toHaveBeenCalledTimes(1); + }); + + test('budoucí datum se ořízne na dnešek', async () => { + await callTool('get_menus', { date: '2099-01-01', restaurant: 'TECHTOWER' }); + expect(formatDate(mockGetRestaurantMenu.mock.calls[0][1])).toBe(formatDate(new Date())); + }); + + test('zavřený podnik a chybějící menu se vypíšou srozumitelně', async () => { + mockGetRestaurantMenu + .mockResolvedValueOnce({ lastUpdate: 0, closed: true, food: [] }) + .mockResolvedValueOnce({ lastUpdate: 0, closed: false, food: [] }) + .mockRejectedValueOnce(new Error('scraper spadl')); + const errorSpy = jest.spyOn(console, 'error').mockImplementation(() => { }); + const res = await callTool('get_menus', { date: '2025-01-08' }); + errorSpy.mockRestore(); + const text = res.body.result.content[0].text; + expect(text).toContain('Zavřeno.'); + expect(text).toContain('Menu zatím není k dispozici.'); + expect(text).toContain('Menu se nepodařilo načíst.'); + }); + + test('neznámý podnik je chyba vstupu', async () => { + const res = await callTool('get_menus', { restaurant: 'NEEXISTUJE' }); + expect(res.body.result.isError).toBe(true); + expect(mockGetRestaurantMenu).not.toHaveBeenCalled(); + }); +}); diff --git a/server/src/userExport.ts b/server/src/userExport.ts index 026db50..60e6745 100644 --- a/server/src/userExport.ts +++ b/server/src/userExport.ts @@ -9,7 +9,7 @@ const storage = getStorage(); const DAY_OF_WEEK_FORMAT = new Intl.DateTimeFormat('cs-CZ', { weekday: 'long' }); /** Lidsky čitelné názvy voleb stravování (serverová obdoba klientského enums.ts). */ -const CHOICE_NAMES: Record = { +export const CHOICE_NAMES: Record = { SLADOVNICKA: 'Sladovnická', TECHTOWER: 'TechTower', ZASTAVKAUMICHALA: 'Zastávka u Michala', diff --git a/server/yarn.lock b/server/yarn.lock index 92e6c93..60cf0d3 100644 --- a/server/yarn.lock +++ b/server/yarn.lock @@ -994,6 +994,11 @@ lodash.isundefined "^3.0.1" lodash.uniq "^4.5.0" +"@hono/node-server@^1.19.9 || ^2.0.5": + version "2.1.5" + resolved "https://registry.yarnpkg.com/@hono/node-server/-/node-server-2.1.5.tgz#273db93e8bfb44ef361e55f3d00048013668aa09" + integrity sha512-MgP/I06GdvsilDspMk/qmRzpk8LOUStP6jFAbSRi40W09DhoyUn+Mj7eyKICPqeYKybOjVFLVIAQzvu1bfIa7Q== + "@isaacs/cliui@^8.0.2": version "8.0.2" resolved "https://registry.yarnpkg.com/@isaacs/cliui/-/cliui-8.0.2.tgz#b37667b7bc181c168782259bab42474fbf52b550" @@ -1344,6 +1349,29 @@ "@jridgewell/resolve-uri" "^3.1.0" "@jridgewell/sourcemap-codec" "^1.4.14" +"@modelcontextprotocol/sdk@^1.32.1": + version "1.32.1" + resolved "https://registry.yarnpkg.com/@modelcontextprotocol/sdk/-/sdk-1.32.1.tgz#853286b3240b6d8143f5f8e6d58af85c77d475ab" + integrity sha512-2DdE+SJDtzLEEWzY1ZjY7Q+VcPhcV1KisD3zI4u0XZyktsjHum1mwbMI+JaulUBi2OZk+KJAi2uPXzxichPkdw== + dependencies: + "@hono/node-server" "^1.19.9 || ^2.0.5" + ajv "^8.17.1" + ajv-formats "^3.0.1" + content-type "^1.0.5" + cors "^2.8.5" + cross-spawn "^7.0.5" + eventsource "^3.0.2" + eventsource-parser "^3.0.0" + express "^5.2.1" + express-rate-limit "^8.2.1" + hono "^4.11.4" + jose "^6.1.3" + json-schema-typed "^8.0.2" + pkce-challenge "^5.0.0" + raw-body "^3.0.0" + zod "^3.25 || ^4.0" + zod-to-json-schema "^3.25.1" + "@napi-rs/wasm-runtime@^1.1.4": version "1.2.3" resolved "https://registry.yarnpkg.com/@napi-rs/wasm-runtime/-/wasm-runtime-1.2.3.tgz#97e3d45d7424dc5da1d4e32f3bf3b292f6c1b44c" @@ -2070,6 +2098,23 @@ agent-base@^7.1.2: resolved "https://registry.yarnpkg.com/agent-base/-/agent-base-7.1.4.tgz#e3cd76d4c548ee895d3c3fd8dc1f6c5b9032e7a8" integrity sha512-MnA+YT8fwfJPgBx3m60MNqakm30XOkyIoH1y6huTQvC0PwZG7ki8NacLBcrPbNoo8vEZy7Jpuk7+jMO+CUovTQ== +ajv-formats@^3.0.1: + version "3.0.1" + resolved "https://registry.yarnpkg.com/ajv-formats/-/ajv-formats-3.0.1.tgz#3d5dc762bca17679c3c2ea7e90ad6b7532309578" + integrity sha512-8iUql50EUR+uUcdRQ3HDqa6EVyo3docL8g5WJ3FNcWmu62IbkGUue/pEyLBW8VGKKucTPgqeks4fIU1DA4yowQ== + dependencies: + ajv "^8.0.0" + +ajv@^8.0.0, ajv@^8.17.1: + version "8.20.0" + resolved "https://registry.yarnpkg.com/ajv/-/ajv-8.20.0.tgz#304b3636add88ba7d936760dd50ece006dea95f9" + integrity sha512-Thbli+OlOj+iMPYFBVBfJ3OmCAnaSyNn4M1vz9T6Gka5Jt9ba/HIR56joy65tY6kx/FCF5VXNB819Y7/GUrBGA== + dependencies: + fast-deep-equal "^3.1.3" + fast-uri "^3.0.1" + json-schema-traverse "^1.0.0" + require-from-string "^2.0.2" + ansi-escapes@^4.3.2: version "4.3.2" resolved "https://registry.yarnpkg.com/ansi-escapes/-/ansi-escapes-4.3.2.tgz#6b2291d1db7d98b6521d5f1efa42d0f3a9feb65e" @@ -2365,6 +2410,21 @@ body-parser@^2.2.1: raw-body "^3.0.1" type-is "^2.0.1" +body-parser@^2.3.0: + version "2.3.0" + resolved "https://registry.yarnpkg.com/body-parser/-/body-parser-2.3.0.tgz#6d8662f4d8c336028b8ac9aa24251b0ca64ba437" + integrity sha512-2cGmJupaNgg+QUwVLAucDuWuoMZ6EX9iHDRswZ5lsNYEmwPaRknMPCLZz07yTzVq/83p4o/wzbDZbBrTvGGTIw== + dependencies: + bytes "^3.1.2" + content-type "^2.0.0" + debug "^4.4.3" + http-errors "^2.0.1" + iconv-lite "^0.7.2" + on-finished "^2.4.1" + qs "^6.15.2" + raw-body "^3.0.2" + type-is "^2.1.0" + boolbase@^1.0.0: version "1.0.0" resolved "https://registry.yarnpkg.com/boolbase/-/boolbase-1.0.0.tgz#68dff5fbe60c51eb37725ea9e3ed310dcc1e776e" @@ -2646,11 +2706,21 @@ content-disposition@^1.0.0: resolved "https://registry.yarnpkg.com/content-disposition/-/content-disposition-1.0.1.tgz#a8b7bbeb2904befdfb6787e5c0c086959f605f9b" integrity sha512-oIXISMynqSqm241k6kcQ5UwttDILMK4BiurCfGEREw6+X9jkkpEe5T9FZaApyLGGOnFuyMWZpdolTXMtvEJ08Q== +content-disposition@^2.0.1: + version "2.0.1" + resolved "https://registry.yarnpkg.com/content-disposition/-/content-disposition-2.0.1.tgz#88a75c7a52ef9c407c96035fe83a66939c2a4dc9" + integrity sha512-e+H0ZXHSWYrENhQzw1LPuP4oF5MzVKmDU6d3hxlvaPEYLLg62MxtQNPRx4SYSuYJSBUgnQIG4HIN2tEtNv7Dog== + content-type@^1.0.5: version "1.0.5" resolved "https://registry.yarnpkg.com/content-type/-/content-type-1.0.5.tgz#8b773162656d1d1086784c8f23a54ce6d73d7918" integrity sha512-nTjqfcBFEipKdXCv4YDQWCfmcLZKm81ldF0pAopTvyrFGVbcR6P/VAAd5G7N+0tTr8QqiU0tFadD6FK4NtJwOA== +content-type@^2.0.0: + version "2.1.0" + resolved "https://registry.yarnpkg.com/content-type/-/content-type-2.1.0.tgz#d9389c43c0a8cf6a355db464d21e07092a40493a" + integrity sha512-mj7UPXE0jaqaOsukNZRUEfEi2AcL7C/vwmwcHV0O97eO1E1pxBZuyjlZrx5seTaNBg1U6+o35wpa35Qfcc+7ag== + convert-source-map@^2.0.0: version "2.0.0" resolved "https://registry.yarnpkg.com/convert-source-map/-/convert-source-map-2.0.0.tgz#4b560f649fc4e918dd0ab75cf4961e8bc882d82a" @@ -2717,7 +2787,7 @@ create-require@^1.1.0: resolved "https://registry.yarnpkg.com/create-require/-/create-require-1.1.1.tgz#c1d7e8f1e5f6cfc9ff65f9cd352d37348756c333" integrity sha512-dcKFX3jn0MpIaXjisoRvexIJVEKzaq7z2rZKxf+MSr9TkdmHmsU4m2lcLojrj/FHl8mk5VxMmYA+ftRkP/3oKQ== -cross-spawn@^7.0.3, cross-spawn@^7.0.6: +cross-spawn@^7.0.3, cross-spawn@^7.0.5, cross-spawn@^7.0.6: version "7.0.6" resolved "https://registry.yarnpkg.com/cross-spawn/-/cross-spawn-7.0.6.tgz#8a58fe78f00dcd70c370451759dfbfaf03e8ee9f" integrity sha512-uV2QOWP2nWzsy2aMp8aRibhi9dlzF5Hgh5SHaB9OiTGEyDTiJJyx0uy51QXdyWbtAHNua4XJzUKca3OzKUd3vA== @@ -3021,6 +3091,18 @@ etag@^1.8.1: resolved "https://registry.yarnpkg.com/etag/-/etag-1.8.1.tgz#41ae2eeb65efa62268aebfea83ac7d79299b0887" integrity sha512-aIL5Fx7mawVa300al2BnEE4iNvo1qETxLrPI/o05L7z6go7fCw1J6EQmbK4FmJ2AS7kgVF/KEZWufBfdClMcPg== +eventsource-parser@^3.0.0, eventsource-parser@^3.0.1: + version "3.1.1" + resolved "https://registry.yarnpkg.com/eventsource-parser/-/eventsource-parser-3.1.1.tgz#b96cbb7dace4f3774f58a9e3b1ae9a4a524872e2" + integrity sha512-EKN1vKAMcZ8MlYMpaNuxN6R9yakzH6uajHcHVTqWJzvu5pWw9DyhbP35HH8MVBQ+dZjAfDxk+A8NiR9KWaXiyQ== + +eventsource@^3.0.2: + version "3.0.7" + resolved "https://registry.yarnpkg.com/eventsource/-/eventsource-3.0.7.tgz#1157622e2f5377bb6aef2114372728ba0c156989" + integrity sha512-CRT1WTyuQoD771GW56XEZFQ/ZoSfWid1alKGDYMmkt2yl8UXrVR4pspqWNEcqKvVIzg6PAltWjxcSSPrboA4iA== + dependencies: + eventsource-parser "^3.0.1" + exceljs@^4.4.0: version "4.4.0" resolved "https://registry.yarnpkg.com/exceljs/-/exceljs-4.4.0.tgz#cfb1cb8dcc82c760a9fc9faa9e52dadab66b0156" @@ -3080,6 +3162,14 @@ expect@^30.0.0: jest-mock "30.2.0" jest-util "30.2.0" +express-rate-limit@^8.2.1: + version "8.7.1" + resolved "https://registry.yarnpkg.com/express-rate-limit/-/express-rate-limit-8.7.1.tgz#cb007e811c3173a1dfa79cdb6aacb943f56e62bc" + integrity sha512-2FXbqkygil3mZiXzEtM0IjE/UBmBNot0J1GEVrJT4JbrvwOSoEtqtO+wHbiMQELWe1eNvHoYRg2dkjOid+6JkA== + dependencies: + debug "^4.4.3" + ip-address "^10.2.0" + express@^5.1.0: version "5.2.1" resolved "https://registry.yarnpkg.com/express/-/express-5.2.1.tgz#8f21d15b6d327f92b4794ecf8cb08a72f956ac04" @@ -3114,6 +3204,40 @@ express@^5.1.0: type-is "^2.0.1" vary "^1.1.2" +express@^5.2.1: + version "5.3.0" + resolved "https://registry.yarnpkg.com/express/-/express-5.3.0.tgz#ab72dace89c50c8417bd3f865dad0b4fd1ca1c73" + integrity sha512-qCqy1xSoaugxOD4IVHb1ZWdkvCF2W3aE2okKouWj8VwJ+ztskSiXoBnCSJqfKT+cVPJhuJqe9YLbY425+Zh00g== + dependencies: + accepts "^2.0.0" + body-parser "^2.3.0" + content-disposition "^2.0.1" + content-type "^2.0.0" + cookie "^0.7.1" + cookie-signature "^1.2.1" + debug "^4.4.0" + depd "^2.0.0" + encodeurl "^2.0.0" + escape-html "^1.0.3" + etag "^1.8.1" + finalhandler "^2.1.0" + fresh "^2.0.0" + http-errors "^2.0.0" + merge-descriptors "^2.0.0" + mime-types "^3.0.0" + on-finished "^2.4.1" + once "^1.4.0" + parseurl "^1.3.3" + proxy-addr "^2.0.8" + qs "^6.16.0" + range-parser "^1.2.1" + router "^2.2.0" + send "^1.1.0" + serve-static "^2.2.0" + statuses "^2.0.1" + type-is "^2.1.0" + vary "^1.1.2" + fast-csv@^4.3.1: version "4.3.6" resolved "https://registry.yarnpkg.com/fast-csv/-/fast-csv-4.3.6.tgz#70349bdd8fe4d66b1130d8c91820b64a21bc4a63" @@ -3122,6 +3246,11 @@ fast-csv@^4.3.1: "@fast-csv/format" "4.3.5" "@fast-csv/parse" "4.3.6" +fast-deep-equal@^3.1.3: + version "3.1.3" + resolved "https://registry.yarnpkg.com/fast-deep-equal/-/fast-deep-equal-3.1.3.tgz#3a7d56b559d6cbc3eb512325244e619a65c6c525" + integrity sha512-f3qQ9oQy9j2AhBe/H9VC91wLmKBCCU/gDOnKNAYG5hswO7BLKj09Hc5HYNz9cGI++xlpDCIgDaitVs03ATR84Q== + fast-json-stable-stringify@^2.1.0: version "2.1.0" resolved "https://registry.yarnpkg.com/fast-json-stable-stringify/-/fast-json-stable-stringify-2.1.0.tgz#874bf69c6f404c2b5d99c481341399fd55892633" @@ -3132,6 +3261,11 @@ fast-safe-stringify@^2.1.1: resolved "https://registry.yarnpkg.com/fast-safe-stringify/-/fast-safe-stringify-2.1.1.tgz#c406a83b6e70d9e35ce3b30a81141df30aeba884" integrity sha512-W+KJc2dmILlPplD/H4K9l9LcAHAfPtP6BY84uVLXQ6Evcz9Lcg33Y2z1IVblT6xdY54PXYVHEv+0Wpq8Io6zkA== +fast-uri@^3.0.1: + version "3.1.9" + resolved "https://registry.yarnpkg.com/fast-uri/-/fast-uri-3.1.9.tgz#f1deba822b1d6ac79da2f860e872a63470cff203" + integrity sha512-hS/0Wt3Ya043oKXs0sIxrMpKQITXhMLIrVAKKXi4gozGC9v7YRWVnXIZzjNPTO02M9BdxLCWqK1yRXgNziVyJQ== + fb-watchman@^2.0.2: version "2.0.2" resolved "https://registry.yarnpkg.com/fb-watchman/-/fb-watchman-2.0.2.tgz#e9524ee6b5c77e9e5001af0f85f3adbb8623255c" @@ -3388,6 +3522,11 @@ hasown@^2.0.2, hasown@^2.0.3, hasown@^2.0.4: dependencies: function-bind "^1.1.2" +hono@^4.11.4: + version "4.13.13" + resolved "https://registry.yarnpkg.com/hono/-/hono-4.13.13.tgz#8dd5459ce4aa44b3e297f0b350f86b0f6d4a79f0" + integrity sha512-CQ46U0ZkAGmbT/4UxdzzGJpacP2IeKgY4a5/tOI9AABbpOMfK739wfDXmv1usCk+3RkKj1hQy4/fjhiwa2xlrA== + html-escaper@^2.0.0: version "2.0.2" resolved "https://registry.yarnpkg.com/html-escaper/-/html-escaper-2.0.2.tgz#dfd60027da36a36dfcbe236262c00a5822681453" @@ -3454,6 +3593,13 @@ iconv-lite@^0.7.0, iconv-lite@~0.7.0: dependencies: safer-buffer ">= 2.1.2 < 3.0.0" +iconv-lite@^0.7.2: + version "0.7.3" + resolved "https://registry.yarnpkg.com/iconv-lite/-/iconv-lite-0.7.3.tgz#84ee12f963e7de50bc01a13e160a078b3b0f415f" + integrity sha512-IKXpvIzjnC9XTAUbVBcMfGS0EPaIXtW6v+zr+RRp+hqULEpo0owZax6wyRwPOJbWbzjYspQwusTsfVr0ifh4uQ== + dependencies: + safer-buffer ">= 2.1.2 < 3.0.0" + ieee754@^1.1.13: version "1.2.1" resolved "https://registry.yarnpkg.com/ieee754/-/ieee754-1.2.1.tgz#8eb7a10a63fff25d15a57b001586d177d1b0d352" @@ -3504,6 +3650,11 @@ inherits@2, inherits@^2.0.1, inherits@^2.0.3, inherits@^2.0.4, inherits@~2.0.0, resolved "https://registry.yarnpkg.com/inherits/-/inherits-2.0.4.tgz#0fa2c64f932917c3433a0ded55363aae37416b7c" integrity sha512-k/vGaX4/Yla3WzyMCvTQOXYeIHvqOKtnqBduzTHpzpQZzAskKMhZ2K+EnBiSM9zGSoIFeMpXKxa4dYeZIQqewQ== +ip-address@^10.2.0: + version "10.7.4" + resolved "https://registry.yarnpkg.com/ip-address/-/ip-address-10.7.4.tgz#a5e493fabce725c5d4b8b8f4d2ebb9009fbcf2e8" + integrity sha512-DWBMKyeM25D70nrIiTkgQth59/G+naKOTep6huF9j+GmeK3DMD60Zvxg5d5qQnz+38AHgou6ean2LECX+lrKDg== + ipaddr.js@1.9.1: version "1.9.1" resolved "https://registry.yarnpkg.com/ipaddr.js/-/ipaddr.js-1.9.1.tgz#bff38543eeb8984825079ff3a2a8e6cbd46781b3" @@ -4038,6 +4189,11 @@ jest@^30.2.0: import-local "^3.2.0" jest-cli "30.5.1" +jose@^6.1.3: + version "6.2.13" + resolved "https://registry.yarnpkg.com/jose/-/jose-6.2.13.tgz#4e16bf3cc81b5641ef5025cb2c9f61edfa92572f" + integrity sha512-7TIg10ZE1x82YediN+lcrPNvGMKge9yFHQD+Qho/b8y2adfugU3AsvvHfxV0fzyFllT6l9xCjf4RWY9g/Z9PJQ== + js-tokens@^4.0.0: version "4.0.0" resolved "https://registry.yarnpkg.com/js-tokens/-/js-tokens-4.0.0.tgz#19203fb59991df98e3a287050d4647cdeaf32499" @@ -4061,6 +4217,16 @@ json-parse-even-better-errors@^2.3.0: resolved "https://registry.yarnpkg.com/json-parse-even-better-errors/-/json-parse-even-better-errors-2.3.1.tgz#7c47805a94319928e05777405dc12e1f7a4ee02d" integrity sha512-xyFwyhro/JEof6Ghe2iz2NcXoj2sloNsWr/XsERDK/oiPCfaNhl5ONfp+jQdAZRQQ0IJWNzH9zIZF7li91kh2w== +json-schema-traverse@^1.0.0: + version "1.0.0" + resolved "https://registry.yarnpkg.com/json-schema-traverse/-/json-schema-traverse-1.0.0.tgz#ae7bcb3656ab77a73ba5c49bf654f38e6b6860e2" + integrity sha512-NM8/P9n3XjXhIZn1lLhkFaACTOURQXjWhV4BA/RnOv8xvgqtqpAX9IO4mRQxSx1Rlo4tqzeqb0sOlruaOy3dug== + +json-schema-typed@^8.0.2: + version "8.0.2" + resolved "https://registry.yarnpkg.com/json-schema-typed/-/json-schema-typed-8.0.2.tgz#e98ee7b1899ff4a184534d1f167c288c66bbeff4" + integrity sha512-fQhoXdcvc3V28x7C7BMs4P5+kNlgUURe2jmUT1T//oBRMDrqy1QPelJimwZGo7Hg9VPV3EQV5Bnq4hbFy2vetA== + json5@^2.2.3: version "2.2.3" resolved "https://registry.yarnpkg.com/json5/-/json5-2.2.3.tgz#78cd6f1a19bdc12b73db5ad0c61efd66c1e29283" @@ -4483,7 +4649,7 @@ object-assign@^4: resolved "https://registry.yarnpkg.com/object-assign/-/object-assign-4.1.1.tgz#2109adc7965887cfc05cbbd442cac8bfbb360863" integrity sha512-rJgTQnkUnH1sFw8yT6VSU3zD3sWmu6sZhIseY8VX+GRu3P6F7Fu+JNDoXfklElbLJSnc3FUQHVe4cU5hj+BcUg== -object-inspect@^1.13.3: +object-inspect@^1.13.3, object-inspect@^1.13.4: version "1.13.4" resolved "https://registry.yarnpkg.com/object-inspect/-/object-inspect-1.13.4.tgz#8375265e21bc20d0fa582c22e1b13485d6e00213" integrity sha512-W67iLl4J2EXEGTbfeHCffrjDfitvLANg0UlX3wFUUSTx92KXRFegMHUVgSqE+wvhAbi4WqjGg9czysTV2Epbew== @@ -4648,6 +4814,11 @@ pirates@^4.0.7: resolved "https://registry.yarnpkg.com/pirates/-/pirates-4.0.7.tgz#643b4a18c4257c8a65104b73f3049ce9a0a15e22" integrity sha512-TfySrs/5nm8fQJDcBDuUng3VOUKsd7S+zqvbOTiGXHfxX4wK31ard+hoNuvkicM/2YFzlpDgABOevKSsB4G/FA== +pkce-challenge@^5.0.0: + version "5.0.1" + resolved "https://registry.yarnpkg.com/pkce-challenge/-/pkce-challenge-5.0.1.tgz#3b4446865b17b1745e9ace2016a31f48ddf6230d" + integrity sha512-wQ0b/W4Fr01qtpHlqSqspcj3EhBvimsdh0KlHhH8HRZnMsEa0ea2fTULOXOS9ccQr3om+GcGRk4e+isrZWV8qQ== + pkg-dir@^4.2.0: version "4.2.0" resolved "https://registry.yarnpkg.com/pkg-dir/-/pkg-dir-4.2.0.tgz#f099133df7ede422e81d1d8448270eeb3e4261f3" @@ -4687,6 +4858,14 @@ proxy-addr@^2.0.7: forwarded "0.2.0" ipaddr.js "1.9.1" +proxy-addr@^2.0.8: + version "2.0.8" + resolved "https://registry.yarnpkg.com/proxy-addr/-/proxy-addr-2.0.8.tgz#624e760fd8ab06b1b8320c2f8506d4422cf8e932" + integrity sha512-5nnx0yGyVUcY6t9RnWcARWtwT9F1D8O9rt08htPvnd49W1IgZtmLkhu9WfMzQj1cFxjHIO6connUNVW5k7AVyQ== + dependencies: + forwarded "0.2.0" + ipaddr.js "1.9.1" + proxy-from-env@^2.1.0: version "2.1.0" resolved "https://registry.yarnpkg.com/proxy-from-env/-/proxy-from-env-2.1.0.tgz#a7487568adad577cfaaa7e88c49cab3ab3081aba" @@ -4709,12 +4888,20 @@ qs@^6.14.0, qs@^6.14.1: dependencies: side-channel "^1.1.0" +qs@^6.15.2, qs@^6.16.0: + version "6.16.1" + resolved "https://registry.yarnpkg.com/qs/-/qs-6.16.1.tgz#0643e17993e551759c85078e1f0bc4b9fe908020" + integrity sha512-5Px6J7rfHBAGUhNQ3es4YzcOdBBw0SDcVtThJml4RdnKw4tKs2epA0kPZ+K8X+WiHktT93RHVcQ/3ym5aTCgtg== + dependencies: + es-define-property "^1.0.1" + side-channel "^1.1.1" + range-parser@^1.2.1: version "1.2.1" resolved "https://registry.yarnpkg.com/range-parser/-/range-parser-1.2.1.tgz#3cf37023d199e1c24d1a55b84800c2f3e6468031" integrity sha512-Hrgsx+orqoygnmhFbKaHE6c296J+HTAQXoxEF6gNupROmmGJRoyzfG3ccAveqCBrwr/2yxQ5BVd/GTl5agOwSg== -raw-body@^3.0.1: +raw-body@^3.0.0, raw-body@^3.0.1, raw-body@^3.0.2: version "3.0.2" resolved "https://registry.yarnpkg.com/raw-body/-/raw-body-3.0.2.tgz#3e3ada5ae5568f9095d84376fd3a49b8fb000a51" integrity sha512-K5zQjDllxWkf7Z5xJdV0/B0WTNqx6vxG70zJE4N0kBs4LovmEYWJzQGxC9bS9RAKu3bgM40lrd5zoLJ12MQ5BA== @@ -4817,6 +5004,11 @@ require-directory@^2.1.1: resolved "https://registry.yarnpkg.com/require-directory/-/require-directory-2.1.1.tgz#8c64ad5fd30dab1c976e2344ffe7f792a6a6df42" integrity sha512-fGxEI7+wsG9xrvdjsrlmL22OMTTiHRwAMroiEeMgq8gzoLC/PQr7RsRDSTLUg/bZAZtF+TVIkHc6/4RIKrui+Q== +require-from-string@^2.0.2: + version "2.0.2" + resolved "https://registry.yarnpkg.com/require-from-string/-/require-from-string-2.0.2.tgz#89a7fdd938261267318eafe14f9c32e598c36909" + integrity sha512-Xf0nWe6RseziFMu+Ap9biiUbmplq6S9/p+7w7YXP/JBHhrUDDUhwa+vANyubuqfZWTveU//DYVGsDG7RKL/vEw== + require-in-the-middle@^8.0.0: version "8.0.1" resolved "https://registry.yarnpkg.com/require-in-the-middle/-/require-in-the-middle-8.0.1.tgz#dbde2587f669398626d56b20c868ab87bf01cce4" @@ -4954,6 +5146,14 @@ side-channel-list@^1.0.0: es-errors "^1.3.0" object-inspect "^1.13.3" +side-channel-list@^1.0.1: + version "1.0.1" + resolved "https://registry.yarnpkg.com/side-channel-list/-/side-channel-list-1.0.1.tgz#c2e0b5a14a540aebee3bbc6c3f8666cc9b509127" + integrity sha512-mjn/0bi/oUURjc5Xl7IaWi/OJJJumuoJFQJfDDyO46+hBWsfaVM65TBHq2eoZBhzl9EchxOijpkbRC8SVBQU0w== + dependencies: + es-errors "^1.3.0" + object-inspect "^1.13.4" + side-channel-map@^1.0.1: version "1.0.1" resolved "https://registry.yarnpkg.com/side-channel-map/-/side-channel-map-1.0.1.tgz#d6bb6b37902c6fef5174e5f533fab4c732a26f42" @@ -4986,6 +5186,17 @@ side-channel@^1.1.0: side-channel-map "^1.0.1" side-channel-weakmap "^1.0.2" +side-channel@^1.1.1: + version "1.1.1" + resolved "https://registry.yarnpkg.com/side-channel/-/side-channel-1.1.1.tgz#ea02c62e05dc4bea67d4442f0fb71ee192f8e0ab" + integrity sha512-6x6dK6zJdpTzF4sQeNYxwtvBzf6Eg4GtlesS94HOvTudUeyK2WXAaIfmDgsyslYrRBeFIlsi54AYsFGUuhmvrQ== + dependencies: + es-errors "^1.3.0" + object-inspect "^1.13.4" + side-channel-list "^1.0.1" + side-channel-map "^1.0.1" + side-channel-weakmap "^1.0.2" + signal-exit@^3.0.3: version "3.0.7" resolved "https://registry.yarnpkg.com/signal-exit/-/signal-exit-3.0.7.tgz#a9a1767f8af84155114eaabd73f99273c8f59ad9" @@ -5291,6 +5502,15 @@ type-is@^2.0.1: media-typer "^1.1.0" mime-types "^3.0.0" +type-is@^2.1.0: + version "2.1.0" + resolved "https://registry.yarnpkg.com/type-is/-/type-is-2.1.0.tgz#71d1a7053293582e16ac9f3ebaf1ab9aa49e5570" + integrity sha512-faYHw0anBbc/kWF3zFTEnxSFOAGUX9GFbOBthvDdLsIlEoWOFOtS0zgCiQYwIskL9iGXZL3kAXD8OoZ4GmMATA== + dependencies: + content-type "^2.0.0" + media-typer "^1.1.0" + mime-types "^3.0.0" + typescript@^5.9.3: version "5.9.3" resolved "https://registry.yarnpkg.com/typescript/-/typescript-5.9.3.tgz#5b4f59e15310ab17a216f5d6cf53ee476ede670f" @@ -5563,3 +5783,13 @@ zip-stream@^4.1.0: archiver-utils "^3.0.4" compress-commons "^4.1.2" readable-stream "^3.6.0" + +zod-to-json-schema@^3.25.1: + version "3.25.2" + resolved "https://registry.yarnpkg.com/zod-to-json-schema/-/zod-to-json-schema-3.25.2.tgz#3fa799a7badd554541472fb65843fdc460b2e5aa" + integrity sha512-O/PgfnpT1xKSDeQYSCfRI5Gy3hPf91mKVDuYLUHZJMiDFptvP41MSnWofm8dnCm0256ZNfZIM7DSzuSMAFnjHA== + +"zod@^3.25 || ^4.0", zod@^4.6.7: + version "4.6.7" + resolved "https://registry.yarnpkg.com/zod/-/zod-4.6.7.tgz#e806cf64a7f4e37635ce9f2f52c04c3766f75e5b" + integrity sha512-g8W2D2kU6a8untc053fX1uVBKzM7yqAxW/3zwk83+6RyF2+SKOuV+c0wBDhUwzV1PaGapmZH+rmcUzPf+3CGwg==